(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,742056,e=>{"use strict";var t=e.i(124892);function r(){let[e,r]=(0,t.useState)({x:0,y:0});return(0,t.useEffect)(()=>{let e=e=>{r({x:e.clientX,y:e.clientY})};return window.addEventListener("mousemove",e),()=>{window.removeEventListener("mousemove",e)}},[]),e}e.s(["useMousePosition",()=>r])},648462,e=>{"use strict";var t=e.i(88636),r=e.i(742056),n=e.i(124892);e.s(["Particles",0,({className:e="",quantity:a=30,staticity:u=50,ease:s=50,refresh:i=!1,color:c="#ffffff",vx:l=0,vy:o=0})=>{let f,d=(0,n.useRef)(null),h=(0,n.useRef)(null),p=(0,n.useRef)(null),x=(0,n.useRef)([]),y=(0,r.useMousePosition)(),m=(0,n.useRef)({x:0,y:0}),g=(0,n.useRef)({w:0,h:0}),v=window.devicePixelRatio;(0,n.useEffect)(()=>(d.current&&(p.current=d.current.getContext("2d")),w(),_(),window.addEventListener("resize",w),()=>{window.removeEventListener("resize",w)}),[]);let w=(0,n.useCallback)(()=>{R(),P()},[]);(0,n.useEffect)(()=>{i&&w()},[w,i]);let b=(0,n.useCallback)(()=>{if(d.current){let e=d.current.getBoundingClientRect(),{w:t,h:r}=g.current,n=y.x-e.left-t/2,a=y.y-e.top-r/2;n<t/2&&n>-t/2&&a<r/2&&a>-r/2&&(m.current.x=n,m.current.y=a)}},[y.x,y.y]);(0,n.useEffect)(()=>{b()},[b]);let R=()=>{h.current&&d.current&&p.current&&(x.current.length=0,g.current.w=h.current.offsetWidth,g.current.h=h.current.offsetHeight,d.current.width=g.current.w*v,d.current.height=g.current.h*v,d.current.style.width=`${g.current.w}px`,d.current.style.height=`${g.current.h}px`,p.current.scale(v,v))},E=()=>{let e=Math.floor(Math.random()*g.current.w),t=Math.floor(Math.random()*g.current.h),r=Math.floor(2*Math.random())+.5;return{x:e,y:t,translateX:0,translateY:0,size:r,alpha:0,targetAlpha:Number.parseFloat((.6*Math.random()+.1).toFixed(1)),dx:(Math.random()-.5)*.2,dy:(Math.random()-.5)*.2,magnetism:.1+4*Math.random()}},M=[(f=Number.parseInt(c.replace("#",""),16))>>16&255,f>>8&255,255&f],z=(e,t=!1)=>{if(p.current){let{x:r,y:n,translateX:a,translateY:u,size:s,alpha:i}=e;p.current.translate(a,u),p.current.beginPath(),p.current.arc(r,n,s,0,2*Math.PI),p.current.fillStyle=`rgba(${M.join(", ")}, ${i})`,p.current.fill(),p.current.setTransform(v,0,0,v,0,0),t||x.current.push(e)}},C=()=>{p.current&&p.current.clearRect(0,0,g.current.w,g.current.h)},P=()=>{C();for(let e=0;e<a;e++)z(E())},_=()=>{C(),x.current.forEach((e,t)=>{let r,n=Number.parseFloat(((r=([e.x+e.translateX-e.size,g.current.w-e.x-e.translateX-e.size,e.y+e.translateY-e.size,g.current.h-e.y-e.translateY-e.size].reduce((e,t)=>Math.min(e,t))-0)*1/20+0)>0?r:0).toFixed(2));n>1?(e.alpha+=.02,e.alpha>e.targetAlpha&&(e.alpha=e.targetAlpha)):e.alpha=e.targetAlpha*n,e.x+=e.dx+l,e.y+=e.dy+o,e.translateX+=(m.current.x/(u/e.magnetism)-e.translateX)/s,e.translateY+=(m.current.y/(u/e.magnetism)-e.translateY)/s,e.x<-e.size||e.x>g.current.w+e.size||e.y<-e.size||e.y>g.current.h+e.size?(x.current.splice(t,1),z(E())):z({...e,x:e.x,y:e.y,translateX:e.translateX,translateY:e.translateY,alpha:e.alpha},!0)}),window.requestAnimationFrame(_)};return(0,t.jsx)("div",{className:e,ref:h,"aria-hidden":"true",children:(0,t.jsx)("canvas",{ref:d})})}])},816662,e=>{"use strict";var t=e.i(88636),r=e.i(742056),n=e.i(124892);e.s(["ShinyCard",0,({children:e,className:r="",shine:n="#ffffff"})=>(0,t.jsx)("div",{className:`relative bg-neutral-800 rounded-4xl p-px
    after:absolute after:inset-0 after:rounded-[inherit] after:opacity-0 after:transition-opacity after:duration-500 after:[background:_radial-gradient(250px_circle_at_var(--mouse-x)_var(--mouse-y),${n},transparent)] after:group-hover:opacity-100 after:z-10 overflow-hidden ${r}`,children:e}),"ShinyCardGroup",0,({children:e,className:a="",refresh:u=!1})=>{let s=(0,n.useRef)(null),i=(0,r.useMousePosition)(),c=(0,n.useRef)({x:0,y:0}),l=(0,n.useRef)({w:0,h:0}),[o,f]=(0,n.useState)([]);(0,n.useEffect)(()=>{s.current&&f(Array.from(s.current.children).map(e=>e))},[]),(0,n.useEffect)(()=>(d(),window.addEventListener("resize",d),()=>{window.removeEventListener("resize",d)}),[]);let d=(0,n.useCallback)(()=>{s.current&&(l.current.w=s.current.offsetWidth,l.current.h=s.current.offsetHeight)},[]),h=(0,n.useCallback)(()=>{if(s.current){let e=s.current.getBoundingClientRect(),{w:t,h:r}=l.current,n=i.x-e.left,a=i.y-e.top;n<t&&n>0&&a<r&&a>0&&(c.current.x=n,c.current.y=a,o.forEach(t=>{let r=-(t.getBoundingClientRect().left-e.left)+c.current.x,n=-(t.getBoundingClientRect().top-e.top)+c.current.y;t.style.setProperty("--mouse-x",`${r}px`),t.style.setProperty("--mouse-y",`${n}px`)}))}},[o,i.x,i.y]);return(0,n.useEffect)(()=>{h()},[h]),(0,n.useEffect)(()=>{u&&d()},[d,u]),(0,t.jsx)("div",{className:a,ref:s,children:e})},"WhiteShinyCard",0,({children:e,className:r=""})=>(0,t.jsx)("div",{className:`relative bg-neutral-800 rounded-4xl p-px
    after:absolute after:inset-0 after:rounded-[inherit] after:opacity-0 after:transition-opacity after:duration-500 after:[background:_radial-gradient(250px_circle_at_var(--mouse-x)_var(--mouse-y),theme(colors.gray.500),transparent)] after:group-hover:opacity-100 after:z-10 overflow-hidden ${r}`,children:e})])}]);