(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,846932,870014,e=>{"use strict";var t=e.i(154505);e.i(247167);var a=e.i(936091);let r=function(e,t){if("u"(0,a.createMotionComponent)(r,n,e,t);return new Proxy((e,t)=>n(e,t),{get:(i,o)=>"create"===o?n:(r.has(o)||r.set(o,(0,a.createMotionComponent)(o,void 0,e,t)),r.get(o))})}(e.i(602120).featureBundle,t.createDomVisualElement);e.s(["motion",0,r],846932);var n=e.i(947414),i=e.i(674008),o=e.i(876859),s=e.i(347834),l=e.i(965566);function u(e,t){[...t].reverse().forEach(a=>{let r=e.getVariant(a);r&&(0,s.setTarget)(e,r),e.variantChildren&&e.variantChildren.forEach(e=>{u(e,t)})})}function c(){let e=!1,t=new Set,a={subscribe:e=>(t.add(e),()=>void t.delete(e)),start(a,r){(0,l.invariant)(e,"controls.start() should only be called after a component has mounted. Consider calling within a useEffect hook.");let n=[];return t.forEach(e=>{n.push((0,o.animateVisualElement)(e,a,{transitionOverride:r}))}),Promise.all(n)},set:a=>((0,l.invariant)(e,"controls.set() should only be called after a component has mounted. Consider calling within a useEffect hook."),t.forEach(e=>{var t,r;t=e,Array.isArray(r=a)?u(t,r):"string"==typeof r?u(t,[r]):(0,s.setTarget)(t,r)})),stop(){t.forEach(e=>{e.values.forEach(e=>e.stop())})},mount:()=>(e=!0,()=>{e=!1,a.stop()})};return a}e.s(["useAnimation",0,function(){let e=(0,n.useConstant)(c);return(0,i.useIsomorphicLayoutEffect)(e.mount,[]),e}],870014)},184180,e=>{"use strict";var t=e.i(843476),a=e.i(846932),r=e.i(870014),n=e.i(271645),i=e.i(647163);let o={normal:{translateX:0,opacity:1,transition:{duration:.2}},animate:{translateX:[0,-2,2,-2,2,0],opacity:1,transition:{duration:.4,times:[0,.2,.4,.6,.8,1],ease:"easeInOut"}}},s=(0,n.forwardRef)(({onMouseEnter:e,onMouseLeave:s,className:l,size:u=28,...c},d)=>{let m=(0,r.useAnimation)(),f=(0,n.useRef)(!1);(0,n.useImperativeHandle)(d,()=>(f.current=!0,{startAnimation:()=>m.start("animate"),stopAnimation:()=>m.start("normal")}));let p=(0,n.useCallback)(t=>{f.current?e?.(t):m.start("animate")},[m,e]),v=(0,n.useCallback)(e=>{f.current?s?.(e):m.start("normal")},[m,s]);return(0,t.jsx)("div",{className:(0,i.cn)(l),onMouseEnter:p,onMouseLeave:v,...c,children:(0,t.jsxs)("svg",{fill:"none",height:u,stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"3",style:{overflow:"visible"},viewBox:"0 0 44 44",width:u,xmlns:"http://www.w3.org/2000/svg",children:[(0,t.jsx)(a.motion.path,{animate:m,d:"M17.54,34.22A47.42,47.42,0,0,1,14.68,38C7.3,37.79,4.5,33,4.5,33A44.83,44.83,0,0,1,9.31,13.48,16.47,16.47,0,0,1,18.69,10l1,2.31",initial:"normal",variants:o}),(0,t.jsx)(a.motion.path,{animate:m,d:"M17.85,22.67a3.48,3.48,0,0,0-3.37,3.9,3.38,3.38,0,0,0,3.31,3.22,3.53,3.53,0,0,0,3.43-3.9A3.45,3.45,0,0,0,17.85,22.67Z",initial:"normal",variants:o}),(0,t.jsx)(a.motion.path,{animate:m,d:"M12.2,14.37a28.19,28.19,0,0,1,8.16-2.18A23.26,23.26,0,0,1,24,12a23.26,23.26,0,0,1,3.64.21,28.19,28.19,0,0,1,8.16,2.18m-7.47-2.09l1-2.31a16.47,16.47,0,0,1,9.38,3.51A44.83,44.83,0,0,1,43.5,33S40.7,37.79,33.32,38a47.42,47.42,0,0,1-2.86-3.81",initial:"normal",variants:o}),(0,t.jsx)(a.motion.path,{animate:m,d:"M36.92,31.29a29.63,29.63,0,0,1-8.64,3.49,21.25,21.25,0,0,1-4.28.4h0a21.25,21.25,0,0,1-4.28-.4,29.63,29.63,0,0,1-8.64-3.49",initial:"normal",variants:o}),(0,t.jsx)(a.motion.path,{animate:m,d:"M30.15,22.67a3.48,3.48,0,0,1,3.37,3.9,3.38,3.38,0,0,1-3.31,3.22,3.53,3.53,0,0,1-3.43-3.9A3.45,3.45,0,0,1,30.15,22.67Z",initial:"normal",variants:o})]})})});s.displayName="DiscordIcon",e.s(["DiscordIcon",0,s])},305012,e=>{"use strict";var t=e.i(843476),a=e.i(846932),r=e.i(870014),n=e.i(271645),i=e.i(647163);let o={normal:{opacity:1,pathLength:1,scale:1,transition:{duration:.3}},animate:{opacity:[0,1],pathLength:[0,1],scale:[.9,1],transition:{duration:.4}}},s={normal:{pathLength:1,rotate:0,transition:{duration:.3}},draw:{pathLength:[0,1],rotate:0,transition:{duration:.5}},wag:{pathLength:1,rotate:[0,-15,15,-10,10,-5,5],transition:{duration:2.5,ease:"easeInOut",repeat:1/0}}},l=(0,n.forwardRef)(({onMouseEnter:e,onMouseLeave:l,className:u,size:c=28,...d},m)=>{let f=(0,r.useAnimation)(),p=(0,r.useAnimation)(),v=(0,n.useRef)(!1);(0,n.useImperativeHandle)(m,()=>(v.current=!0,{startAnimation:async()=>{f.start("animate"),await p.start("draw"),p.start("wag")},stopAnimation:()=>{f.start("normal"),p.start("normal")}}));let h=(0,n.useCallback)(async t=>{v.current?e?.(t):(f.start("animate"),await p.start("draw"),p.start("wag"))},[f,e,p]),w=(0,n.useCallback)(e=>{v.current?l?.(e):(f.start("normal"),p.start("normal"))},[f,p,l]);return(0,t.jsx)("div",{className:(0,i.cn)(u),onMouseEnter:h,onMouseLeave:w,...d,children:(0,t.jsxs)("svg",{fill:"none",height:c,stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",viewBox:"0 0 24 24",width:c,xmlns:"http://www.w3.org/2000/svg",children:[(0,t.jsx)(a.motion.path,{animate:f,d:"M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4",initial:"normal",variants:o}),(0,t.jsx)(a.motion.path,{animate:p,d:"M9 18c-4.51 2-5-2-7-2",initial:"normal",variants:s})]})})});l.displayName="GithubIcon",e.s(["GithubIcon",0,l])},755838,(e,t,a)=>{"use strict";var r=e.r(271645),n="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=r.useState,o=r.useEffect,s=r.useLayoutEffect,l=r.useDebugValue;function u(e){var t=e.getSnapshot;e=e.value;try{var a=t();return!n(e,a)}catch(e){return!0}}var c="u"{"use strict";t.exports=e.r(755838)},63270,e=>{"use strict";var t=e.i(843476),a=e.i(271645),r=e.i(30207),n=e.i(934620);e.i(174080);var i=e.i(991918),o=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,r)=>{let n=(0,i.createSlot)(`Primitive.${r}`),o=a.forwardRef((e,a)=>{let{asChild:i,...o}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,t.jsx)(i?n:r,{...o,ref:a})});return o.displayName=`Primitive.${r}`,{...e,[r]:o}},{}),s=e.i(802239);function l(){return()=>{}}var u="Avatar",[c,d]=function(e,r=[]){let n=[],i=()=>{let t=n.map(e=>a.createContext(e));return function(r){let n=r?.[e]||t;return a.useMemo(()=>({[`__scope${e}`]:{...r,[e]:n}}),[r,n])}};return i.scopeName=e,[function(r,i){let o=a.createContext(i);o.displayName=r+"Context";let s=n.length;n=[...n,i];let l=r=>{let{scope:n,children:i,...l}=r,u=n?.[e]?.[s]||o,c=a.useMemo(()=>l,Object.values(l));return(0,t.jsx)(u.Provider,{value:c,children:i})};return l.displayName=r+"Provider",[l,function(t,n){let l=n?.[e]?.[s]||o,u=a.useContext(l);if(u)return u;if(void 0!==i)return i;throw Error(`\`${t}\` must be used within \`${r}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let n=r.reduce((t,{useScope:a,scopeName:r})=>{let n=a(e)[`__scope${r}`];return{...t,...n}},{});return a.useMemo(()=>({[`__scope${t.scopeName}`]:n}),[n])}};return r.scopeName=t.scopeName,r}(i,...r)]}(u),[m,f]=c(u),p=a.forwardRef((e,r)=>{let{__scopeAvatar:n,...i}=e,[s,l]=a.useState("idle");return(0,t.jsx)(m,{scope:n,imageLoadingStatus:s,onImageLoadingStatusChange:l,children:(0,t.jsx)(o.span,{...i,ref:r})})});p.displayName=u;var v="AvatarImage",h=a.forwardRef((e,i)=>{let{__scopeAvatar:u,src:c,onLoadingStatusChange:d=()=>{},...m}=e,p=f(v,u),h=function(e,{referrerPolicy:t,crossOrigin:r}){let i=(0,s.useSyncExternalStore)(l,()=>!0,()=>!1),o=a.useRef(null),u=i?(o.current||(o.current=new window.Image),o.current):null,[c,d]=a.useState(()=>y(u,e));return(0,n.useLayoutEffect)(()=>{d(y(u,e))},[u,e]),(0,n.useLayoutEffect)(()=>{let e=e=>()=>{d(e)};if(!u)return;let a=e("loaded"),n=e("error");return u.addEventListener("load",a),u.addEventListener("error",n),t&&(u.referrerPolicy=t),"string"==typeof r&&(u.crossOrigin=r),()=>{u.removeEventListener("load",a),u.removeEventListener("error",n)}},[u,r,t]),c}(c,m),w=(0,r.useCallbackRef)(e=>{d(e),p.onImageLoadingStatusChange(e)});return(0,n.useLayoutEffect)(()=>{"idle"!==h&&w(h)},[h,w]),"loaded"===h?(0,t.jsx)(o.img,{...m,ref:i,src:c}):null});h.displayName=v;var w="AvatarFallback",g=a.forwardRef((e,r)=>{let{__scopeAvatar:n,delayMs:i,...s}=e,l=f(w,n),[u,c]=a.useState(void 0===i);return a.useEffect(()=>{if(void 0!==i){let e=window.setTimeout(()=>c(!0),i);return()=>window.clearTimeout(e)}},[i]),u&&"loaded"!==l.imageLoadingStatus?(0,t.jsx)(o.span,{...s,ref:r}):null});function y(e,t){return e?t?(e.src!==t&&(e.src=t),e.complete&&e.naturalWidth>0?"loaded":"loading"):"error":"idle"}g.displayName=w;var x=e.i(647163);let E=a.forwardRef(({className:e,...a},r)=>(0,t.jsx)(p,{ref:r,className:(0,x.cn)("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",e),...a}));E.displayName=p.displayName;let j=a.forwardRef(({className:e,...a},r)=>(0,t.jsx)(h,{ref:r,className:(0,x.cn)("aspect-square h-full w-full",e),...a}));j.displayName=h.displayName;let b=a.forwardRef(({className:e,...a},r)=>(0,t.jsx)(g,{ref:r,className:(0,x.cn)("flex h-full w-full items-center justify-center rounded-full bg-muted",e),...a}));b.displayName=g.displayName,e.s(["Avatar",0,E,"AvatarFallback",0,b,"AvatarImage",0,j],63270)}]);