bynana-ui 1.4.0 → 1.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (113) hide show
  1. package/dist/animated-circular-progress/index.js +2 -0
  2. package/dist/animated-circular-progress/index.js.map +1 -0
  3. package/dist/animated-circular-progress/index.mjs +2 -0
  4. package/dist/animated-circular-progress/index.mjs.map +1 -0
  5. package/dist/contribution-graph/index.js +2 -0
  6. package/dist/contribution-graph/index.js.map +1 -0
  7. package/dist/contribution-graph/index.mjs +2 -0
  8. package/dist/contribution-graph/index.mjs.map +1 -0
  9. package/dist/crosshair/index.js +2 -0
  10. package/dist/crosshair/index.js.map +1 -0
  11. package/dist/crosshair/index.mjs +2 -0
  12. package/dist/crosshair/index.mjs.map +1 -0
  13. package/dist/decay-card/index.js +3 -0
  14. package/dist/decay-card/index.js.map +1 -0
  15. package/dist/decay-card/index.mjs +3 -0
  16. package/dist/decay-card/index.mjs.map +1 -0
  17. package/dist/elastic-slider/index.js +2 -0
  18. package/dist/elastic-slider/index.js.map +1 -0
  19. package/dist/elastic-slider/index.mjs +2 -0
  20. package/dist/elastic-slider/index.mjs.map +1 -0
  21. package/dist/flowing-menu/index.js +3 -0
  22. package/dist/flowing-menu/index.js.map +1 -0
  23. package/dist/flowing-menu/index.mjs +3 -0
  24. package/dist/flowing-menu/index.mjs.map +1 -0
  25. package/dist/gooey-nav/index.js +2 -0
  26. package/dist/gooey-nav/index.js.map +1 -0
  27. package/dist/gooey-nav/index.mjs +2 -0
  28. package/dist/gooey-nav/index.mjs.map +1 -0
  29. package/dist/hamburger-3d/index.js +2 -0
  30. package/dist/hamburger-3d/index.js.map +1 -0
  31. package/dist/hamburger-3d/index.mjs +2 -0
  32. package/dist/hamburger-3d/index.mjs.map +1 -0
  33. package/dist/hamburger-elastic/index.js +2 -0
  34. package/dist/hamburger-elastic/index.js.map +1 -0
  35. package/dist/hamburger-elastic/index.mjs +2 -0
  36. package/dist/hamburger-elastic/index.mjs.map +1 -0
  37. package/dist/hamburger-morph/index.js +2 -0
  38. package/dist/hamburger-morph/index.js.map +1 -0
  39. package/dist/hamburger-morph/index.mjs +2 -0
  40. package/dist/hamburger-morph/index.mjs.map +1 -0
  41. package/dist/hamburger-spring/index.js +2 -0
  42. package/dist/hamburger-spring/index.js.map +1 -0
  43. package/dist/hamburger-spring/index.mjs +2 -0
  44. package/dist/hamburger-spring/index.mjs.map +1 -0
  45. package/dist/hamburger-stagger/index.js +2 -0
  46. package/dist/hamburger-stagger/index.js.map +1 -0
  47. package/dist/hamburger-stagger/index.mjs +2 -0
  48. package/dist/hamburger-stagger/index.mjs.map +1 -0
  49. package/dist/hamburger-wave/index.js +2 -0
  50. package/dist/hamburger-wave/index.js.map +1 -0
  51. package/dist/hamburger-wave/index.mjs +2 -0
  52. package/dist/hamburger-wave/index.mjs.map +1 -0
  53. package/dist/index.js +14 -11
  54. package/dist/index.js.map +1 -1
  55. package/dist/index.mjs +14 -11
  56. package/dist/index.mjs.map +1 -1
  57. package/dist/liquid-glass-card/index.js +2 -0
  58. package/dist/liquid-glass-card/index.js.map +1 -0
  59. package/dist/liquid-glass-card/index.mjs +2 -0
  60. package/dist/liquid-glass-card/index.mjs.map +1 -0
  61. package/dist/loader/index.js +2 -0
  62. package/dist/loader/index.js.map +1 -0
  63. package/dist/loader/index.mjs +2 -0
  64. package/dist/loader/index.mjs.map +1 -0
  65. package/dist/loading-invert/index.js +4 -0
  66. package/dist/loading-invert/index.js.map +1 -0
  67. package/dist/loading-invert/index.mjs +4 -0
  68. package/dist/loading-invert/index.mjs.map +1 -0
  69. package/dist/pill-nav/index.js +2 -0
  70. package/dist/pill-nav/index.js.map +1 -0
  71. package/dist/pill-nav/index.mjs +2 -0
  72. package/dist/pill-nav/index.mjs.map +1 -0
  73. package/dist/scroll-text/index.js +2 -0
  74. package/dist/scroll-text/index.js.map +1 -0
  75. package/dist/scroll-text/index.mjs +2 -0
  76. package/dist/scroll-text/index.mjs.map +1 -0
  77. package/dist/scroll-velocity/index.js +2 -0
  78. package/dist/scroll-velocity/index.js.map +1 -0
  79. package/dist/scroll-velocity/index.mjs +2 -0
  80. package/dist/scroll-velocity/index.mjs.map +1 -0
  81. package/dist/shimmer-effect/index.js +2 -0
  82. package/dist/shimmer-effect/index.js.map +1 -0
  83. package/dist/shimmer-effect/index.mjs +2 -0
  84. package/dist/shimmer-effect/index.mjs.map +1 -0
  85. package/dist/smooth-drawer/index.js +2 -0
  86. package/dist/smooth-drawer/index.js.map +1 -0
  87. package/dist/smooth-drawer/index.mjs +2 -0
  88. package/dist/smooth-drawer/index.mjs.map +1 -0
  89. package/dist/smooth-tab/index.js +2 -0
  90. package/dist/smooth-tab/index.js.map +1 -0
  91. package/dist/smooth-tab/index.mjs +2 -0
  92. package/dist/smooth-tab/index.mjs.map +1 -0
  93. package/dist/social-button/index.js +2 -0
  94. package/dist/social-button/index.js.map +1 -0
  95. package/dist/social-button/index.mjs +2 -0
  96. package/dist/social-button/index.mjs.map +1 -0
  97. package/dist/target-cursor/index.js +2 -0
  98. package/dist/target-cursor/index.js.map +1 -0
  99. package/dist/target-cursor/index.mjs +2 -0
  100. package/dist/target-cursor/index.mjs.map +1 -0
  101. package/dist/text-cursor/index.js +2 -0
  102. package/dist/text-cursor/index.js.map +1 -0
  103. package/dist/text-cursor/index.mjs +2 -0
  104. package/dist/text-cursor/index.mjs.map +1 -0
  105. package/dist/theme-toggler/index.js +2 -0
  106. package/dist/theme-toggler/index.js.map +1 -0
  107. package/dist/theme-toggler/index.mjs +2 -0
  108. package/dist/theme-toggler/index.mjs.map +1 -0
  109. package/dist/v0-button/index.js +2 -0
  110. package/dist/v0-button/index.js.map +1 -0
  111. package/dist/v0-button/index.mjs +2 -0
  112. package/dist/v0-button/index.mjs.map +1 -0
  113. package/package.json +29 -2
package/dist/index.js CHANGED
@@ -1,35 +1,35 @@
1
- 'use strict';var clsx=require('clsx'),tailwindMerge=require('tailwind-merge'),jsxRuntime=require('react/jsx-runtime'),Ro=require('react'),framerMotion=require('framer-motion');function _interopDefault(e){return e&&e.__esModule?e:{default:e}}var Ro__default=/*#__PURE__*/_interopDefault(Ro);function r(...e){return tailwindMerge.twMerge(clsx.clsx(e))}function Jn({children:e,className:n,...t}){return jsxRuntime.jsxs("button",{className:r("relative overflow-hidden px-6 py-3 rounded-xl font-medium","bg-zinc-900 text-white hover:bg-zinc-800","dark:bg-zinc-800 dark:hover:bg-zinc-700 dark:text-white","transition-colors duration-200",n),...t,children:[jsxRuntime.jsx("span",{className:r("absolute inset-0 overflow-hidden rounded-[inherit]","before:absolute before:inset-0","before:-translate-x-full","before:animate-shimmer","before:bg-gradient-to-r","before:from-transparent before:via-white/40 before:to-transparent","before:skew-x-[-20deg]")}),jsxRuntime.jsx("span",{className:"relative z-10",children:e})]})}function er({children:e,className:n,onClick:t,...o}){let[a,i]=Ro.useState([]);function s(l){let d=l.currentTarget.getBoundingClientRect(),c=l.clientX-d.left,u=l.clientY-d.top,f={x:c,y:u,id:Date.now()};i(p=>[...p,f]),setTimeout(()=>{i(p=>p.filter(b=>b.id!==f.id));},1e3),t?.(l);}return jsxRuntime.jsxs("button",{className:r("relative overflow-hidden px-6 py-3 rounded-xl font-medium","bg-zinc-900 text-white hover:bg-zinc-800","dark:bg-zinc-100 dark:text-black dark:hover:bg-zinc-200","transition-colors duration-200",n),onClick:s,...o,children:[jsxRuntime.jsx(framerMotion.AnimatePresence,{children:a.map(l=>jsxRuntime.jsx(framerMotion.motion.span,{className:"absolute rounded-full pointer-events-none border-2 border-white/50 dark:border-black/50",style:{left:l.x,top:l.y,transform:"translate(-50%, -50%)"},initial:{width:0,height:0,opacity:.9},animate:{width:500,height:500,opacity:0},exit:{opacity:0},transition:{duration:1,ease:[.4,0,.2,1]}},l.id))}),jsxRuntime.jsx("span",{className:"relative z-10",children:e})]})}function ir({children:e,className:n,strength:t=.5,radius:o=200,...a}){let i=Ro.useRef(null),[s,l]=Ro.useState(false),m=framerMotion.useMotionValue(0),d=framerMotion.useMotionValue(0),c={damping:20,stiffness:300,mass:.5},u=framerMotion.useSpring(m,c),f=framerMotion.useSpring(d,c);return jsxRuntime.jsx("div",{ref:i,className:"relative inline-flex items-center justify-center",onMouseMove:g=>{if(!i.current)return;let x=i.current.getBoundingClientRect(),h=x.left+x.width/2,v=x.top+x.height/2,y=g.clientX-h,w=g.clientY-v,N=Math.sqrt(y*y+w*w);if(N<o){let C=1-N/o;m.set(y*t*C),d.set(w*t*C);}},onMouseLeave:()=>{l(false),m.set(0),d.set(0);},onMouseEnter:()=>l(true),style:{padding:o/2,margin:-o/2},children:jsxRuntime.jsx(framerMotion.motion.div,{style:{x:u,y:f},children:jsxRuntime.jsx("button",{className:r("px-6 py-3 rounded-xl font-medium","bg-zinc-900 text-white hover:bg-zinc-800","dark:bg-zinc-100 dark:text-black dark:hover:bg-zinc-200","transition-shadow duration-300",s&&"shadow-lg",n),...a,children:e})})})}function sr({children:e,className:n,onClick:t,...o}){let[a,i]=Ro.useState(false);function s(l){i(true),setTimeout(()=>i(false),1500),t?.(l);}return jsxRuntime.jsxs("div",{className:"relative inline-block",children:[jsxRuntime.jsx(framerMotion.motion.div,{className:"absolute -bottom-2 left-1/2 w-16 h-2 bg-black/20 rounded-full blur-sm",animate:a?{scaleX:[1,.8,1.2,.9,1.1,.95,1],opacity:[.3,.6,.2,.5,.3,.4,.3]}:{},style:{x:"-50%"},transition:{duration:1.5,ease:"easeOut"}}),jsxRuntime.jsx(framerMotion.motion.div,{animate:a?{y:[0,-40,-20,-35,-10,-25,-5,-15,0],rotate:[0,-5,2,-3,1,-2,.5,-1,0]}:{},transition:{duration:1.5,ease:"easeOut",times:[0,.2,.35,.5,.65,.75,.85,.95,1]},whileHover:a?{}:{y:[0,-8,0]},children:jsxRuntime.jsx("button",{className:r("px-6 py-3 rounded-xl font-medium","bg-orange-500 hover:bg-orange-600 text-white","transition-colors duration-200",n),onClick:s,disabled:a,...o,children:e})})]})}function dr({children:e,className:n,glowColor:t="rgba(59, 130, 246, 0.8)",...o}){let[a,i]=Ro.useState(false);return jsxRuntime.jsxs(framerMotion.motion.div,{className:"relative inline-block",onMouseEnter:()=>i(true),onMouseLeave:()=>i(false),animate:{filter:a?[`drop-shadow(0 0 10px ${t})`,`drop-shadow(0 0 25px ${t})`,`drop-shadow(0 0 10px ${t})`]:"drop-shadow(0 0 0px transparent)"},transition:{duration:a?1.5:.3,repeat:a?1/0:0},children:[jsxRuntime.jsx(framerMotion.motion.div,{className:"absolute inset-0 rounded-xl",animate:a?{boxShadow:[`0 0 20px ${t}`,`0 0 40px ${t}`,`0 0 20px ${t}`],scale:[1,1.05,1]}:{boxShadow:"0 0 0px transparent",scale:1},transition:{duration:2,repeat:a?1/0:0,ease:"easeInOut"}}),jsxRuntime.jsx("button",{className:r("relative px-6 py-3 rounded-xl font-medium","bg-blue-600 hover:bg-blue-700 text-white","transition-all duration-300",a&&"bg-blue-500",n),...o,children:e})]})}function ur({children:e,className:n,pulseColor:t="rgba(239, 68, 68, 0.5)",...o}){return jsxRuntime.jsxs("div",{className:"relative inline-block",children:[jsxRuntime.jsx(framerMotion.motion.div,{className:"absolute inset-0 rounded-xl",style:{backgroundColor:t},animate:{scale:[1,1.3,1,1.2,1],opacity:[.6,0,.6,0,.6]},transition:{duration:1.2,repeat:1/0,ease:"easeInOut",times:[0,.2,.4,.6,1]}}),jsxRuntime.jsx(framerMotion.motion.div,{className:"absolute inset-0 rounded-xl",style:{backgroundColor:t},animate:{scale:[1,1.5,1,1.4,1],opacity:[.4,0,.4,0,.4]},transition:{duration:1.2,delay:.1,repeat:1/0,ease:"easeInOut",times:[0,.2,.4,.6,1]}}),jsxRuntime.jsx(framerMotion.motion.div,{animate:{scale:[1,1.05,1,1.03,1]},transition:{duration:1.2,repeat:1/0,ease:"easeInOut",times:[0,.2,.4,.6,1]},children:jsxRuntime.jsx("button",{className:r("relative px-6 py-3 rounded-xl font-medium","bg-red-500 hover:bg-red-600 text-white","transition-colors duration-200",n),...o,children:e})})]})}var fr={pink:{border:"border-pink-500",text:"text-pink-400",shadow:"shadow-pink-500/50",glow:"rgba(236, 72, 153, 0.6)",bg:"hover:bg-pink-500/10"},cyan:{border:"border-cyan-500",text:"text-cyan-400",shadow:"shadow-cyan-500/50",glow:"rgba(6, 182, 212, 0.6)",bg:"hover:bg-cyan-500/10"},green:{border:"border-green-500",text:"text-green-400",shadow:"shadow-green-500/50",glow:"rgba(34, 197, 94, 0.6)",bg:"hover:bg-green-500/10"},purple:{border:"border-purple-500",text:"text-purple-400",shadow:"shadow-purple-500/50",glow:"rgba(168, 85, 247, 0.6)",bg:"hover:bg-purple-500/10"},orange:{border:"border-orange-500",text:"text-orange-400",shadow:"shadow-orange-500/50",glow:"rgba(249, 115, 22, 0.6)",bg:"hover:bg-orange-500/10"}},br={sm:"h-8 px-3 text-xs",default:"h-10 px-6 text-sm",lg:"h-12 px-8 text-base"};function gr({children:e,className:n,color:t="cyan",size:o="default",...a}){let i=fr[t];return jsxRuntime.jsxs(framerMotion.motion.button,{className:r("relative inline-flex items-center justify-center","font-semibold tracking-wide uppercase","border-2 rounded-lg","bg-transparent","transition-colors duration-200",i.border,i.text,i.bg,br[o],n),whileHover:{boxShadow:`0 0 20px ${i.glow}, 0 0 40px ${i.glow}, 0 0 60px ${i.glow}`},whileTap:{scale:.98},transition:{duration:.2},...a,children:[jsxRuntime.jsx(framerMotion.motion.span,{className:r("absolute inset-0 rounded-lg opacity-0",i.border),animate:{opacity:[.5,1,.5]},transition:{duration:2,repeat:1/0,ease:"easeInOut"},style:{boxShadow:`inset 0 0 10px ${i.glow}`}}),jsxRuntime.jsx("span",{className:"relative z-10",children:e})]})}function vr({children:e,className:n,variant:t="primary",size:o="md",onClick:a,...i}){let[s,l]=Ro.useState(false);function m(u){u.preventDefault(),u.stopPropagation(),l(true),setTimeout(()=>l(false),800),a&&a(u);}let d={sm:"px-4 py-2 text-sm",md:"px-6 py-3 text-base",lg:"px-8 py-4 text-lg"},c={primary:"bg-zinc-900 text-white border-zinc-900 dark:bg-white dark:text-zinc-900 dark:border-white",secondary:"bg-zinc-100 text-zinc-900 border-zinc-200 dark:bg-zinc-800 dark:text-white dark:border-zinc-700",outline:"bg-transparent text-zinc-900 border-zinc-300 dark:text-white dark:border-zinc-600"};return jsxRuntime.jsxs("button",{className:r("relative overflow-hidden rounded-lg font-medium border-2 transition-colors",d[o],c[t],n),onClick:m,...i,children:[jsxRuntime.jsx(framerMotion.AnimatePresence,{children:s&&jsxRuntime.jsx(framerMotion.motion.div,{className:r("absolute inset-0 origin-bottom",t==="primary"?"bg-blue-500 dark:bg-blue-400":"bg-zinc-900 dark:bg-white"),initial:{scaleY:0},animate:{scaleY:1},exit:{scaleY:0,transition:{duration:.3}},transition:{duration:.5,ease:[.4,0,.2,1]},style:{transformOrigin:"bottom"}},"liquid-fill")}),jsxRuntime.jsx(framerMotion.AnimatePresence,{children:s&&jsxRuntime.jsx(jsxRuntime.Fragment,{children:[...Array(5)].map((u,f)=>jsxRuntime.jsx(framerMotion.motion.div,{className:"absolute w-1.5 h-1.5 bg-white/60 rounded-full",style:{left:`${20+f*15}%`,bottom:"10%"},initial:{y:0,opacity:0,scale:0},animate:{y:-60,opacity:[0,1,0],scale:[0,1,.5]},transition:{duration:.6,delay:f*.08,ease:"easeOut"}},f))})}),jsxRuntime.jsx("span",{className:r("relative flex items-center justify-center gap-2 transition-colors duration-200 z-10",s&&(t==="outline"||t==="secondary"?"text-white dark:text-zinc-900":"text-white")),children:e})]})}function Nr({children:e,className:n,variant:t="primary",size:o="md",slideText:a="Go!",onClick:i,...s}){let[l,m]=Ro.useState(false),d={sm:"px-4 py-2 text-sm",md:"px-6 py-3 text-base",lg:"px-8 py-4 text-lg"},c={primary:"bg-zinc-900 text-white dark:bg-white dark:text-zinc-900",secondary:"bg-zinc-100 text-zinc-900 dark:bg-zinc-800 dark:text-white",outline:"bg-transparent text-zinc-900 border-2 border-zinc-300 dark:text-white dark:border-zinc-600"};return jsxRuntime.jsxs("button",{className:r("relative overflow-hidden rounded-lg font-medium transition-all",d[o],c[t],n),onMouseEnter:()=>m(true),onMouseLeave:()=>m(false),onClick:i,...s,children:[jsxRuntime.jsx(framerMotion.motion.div,{className:r("absolute inset-0",t==="primary"?"bg-blue-600 dark:bg-blue-500":"bg-zinc-900 dark:bg-white"),initial:{x:"-100%"},animate:{x:l?"0%":"-100%"},transition:{duration:.3,ease:"easeInOut"}}),jsxRuntime.jsx(framerMotion.motion.span,{className:"relative flex items-center justify-center gap-2 z-10",animate:{x:l?20:0,opacity:l?0:1},transition:{duration:.2},children:e}),jsxRuntime.jsxs(framerMotion.motion.span,{className:r("absolute inset-0 flex items-center justify-center gap-2 z-10",t==="outline"||t==="secondary"?"text-white dark:text-zinc-900":"text-white"),initial:{x:-20,opacity:0},animate:{x:l?0:-20,opacity:l?1:0},transition:{duration:.2},children:[a,jsxRuntime.jsx("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M14 5l7 7m0 0l-7 7m7-7H3"})})]})]})}var Tr={sunset:"from-orange-500 via-pink-500 to-purple-500",ocean:"from-cyan-500 via-blue-500 to-purple-500",forest:"from-green-500 via-emerald-500 to-teal-500",purple:"from-purple-500 via-violet-500 to-indigo-500",fire:"from-yellow-500 via-orange-500 to-red-500"},Pr={sm:"px-4 py-2 text-sm",md:"px-6 py-3 text-base",lg:"px-8 py-4 text-lg"};function Rr({children:e,className:n,variant:t="ocean",size:o="md",...a}){return jsxRuntime.jsxs(framerMotion.motion.button,{className:r("relative overflow-hidden rounded-lg font-semibold text-white","bg-gradient-to-r",Tr[t],Pr[o],n),whileHover:{scale:1.02},whileTap:{scale:.98},...a,children:[jsxRuntime.jsx(framerMotion.motion.div,{className:"absolute inset-0 bg-gradient-to-r from-white/0 via-white/25 to-white/0",initial:{x:"-100%"},whileHover:{x:"100%"},transition:{duration:.5}}),jsxRuntime.jsx("span",{className:"relative z-10",children:e})]})}function Cr({children:e,className:n,holdDuration:t=1e3,onHoldComplete:o,variant:a="primary",...i}){let[s,l]=Ro.useState(0),[m,d]=Ro.useState(false),c=Ro.useRef(null),u={primary:"bg-zinc-900 dark:bg-white",danger:"bg-red-500",success:"bg-green-500"},f={primary:"bg-blue-500",danger:"bg-red-700",success:"bg-green-700"},p=()=>{d(true);let g=Date.now();c.current=setInterval(()=>{let x=Date.now()-g,h=Math.min(x/t*100,100);l(h),h>=100&&(b(),o?.());},16);},b=()=>{d(false),l(0),c.current&&(clearInterval(c.current),c.current=null);};return jsxRuntime.jsxs(framerMotion.motion.button,{className:r("relative overflow-hidden rounded-lg px-6 py-3 font-medium text-white dark:text-zinc-900",u[a],n),onMouseDown:p,onMouseUp:b,onMouseLeave:b,onTouchStart:p,onTouchEnd:b,whileTap:{scale:.98},...i,children:[jsxRuntime.jsx(framerMotion.motion.div,{className:r("absolute inset-0 origin-left",f[a]),style:{scaleX:s/100},transition:{duration:0}}),jsxRuntime.jsx("span",{className:"relative z-10",children:e})]})}var Ir={primary:{bg:"bg-blue-500",shadow:"shadow-blue-700",hover:"hover:bg-blue-600"},secondary:{bg:"bg-zinc-700",shadow:"shadow-zinc-900",hover:"hover:bg-zinc-800"},danger:{bg:"bg-red-500",shadow:"shadow-red-700",hover:"hover:bg-red-600"}},Ar={sm:"px-4 py-2 text-sm",md:"px-6 py-3 text-base",lg:"px-8 py-4 text-lg"};function Br({children:e,className:n,variant:t="primary",size:o="md",...a}){let i=Ir[t];return jsxRuntime.jsx(framerMotion.motion.button,{className:r("relative rounded-lg font-semibold text-white","shadow-[0_6px_0_0]",i.bg,i.shadow,i.hover,Ar[o],n),whileHover:{y:-2},whileTap:{y:4,boxShadow:"0 2px 0 0"},transition:{duration:.1},...a,children:e})}function Dr({text:e="Copy",value:n,onCopy:t,className:o}){let[a,i]=Ro.useState(false);return jsxRuntime.jsx("button",{onClick:async()=>{try{n&&await navigator.clipboard.writeText(n),t?.(),i(!0),setTimeout(()=>i(!1),2e3);}catch(l){console.error("Failed to copy:",l);}},className:r("inline-flex items-center gap-2 px-4 py-2","bg-transparent hover:bg-zinc-100 dark:hover:bg-zinc-800","text-zinc-900 dark:text-zinc-100","border border-zinc-300 dark:border-zinc-700","rounded-md transition-all duration-200 font-medium text-sm",o),children:a?jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx("svg",{className:"w-4 h-4 text-green-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 13l4 4L19 7"})}),"Copied!"]}):jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M8 16H6a2 2 0 01-2-2V6a2 2 0 012-2h8a2 2 0 012 2v2m-6 12h8a2 2 0 002-2v-8a2 2 0 00-2-2h-8a2 2 0 00-2 2v8a2 2 0 002 2z"})}),e]})})}function Vr({buttonRef:e}){let n=e.current?.getBoundingClientRect();if(!n)return null;let t=n.left+n.width/2,o=n.top+n.height/2;return jsxRuntime.jsx(framerMotion.AnimatePresence,{children:[...Array(6)].map((a,i)=>jsxRuntime.jsx(framerMotion.motion.div,{className:"fixed w-1 h-1 bg-black dark:bg-white rounded-full",style:{left:t,top:o},initial:{scale:0,x:0,y:0},animate:{scale:[0,1,0],x:[0,(i%2?1:-1)*(Math.random()*50+20)],y:[0,-Math.random()*50-20]},transition:{duration:.6,delay:i*.1,ease:"easeOut"}},i))})}function Xr({children:e,onClick:n,onSuccess:t,successDuration:o=1e3,className:a,...i}){let[s,l]=Ro.useState(false),m=Ro.useRef(null);return jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[s&&jsxRuntime.jsx(Vr,{buttonRef:m}),jsxRuntime.jsx("button",{ref:m,onClick:c=>{l(true),n?.(c),t?.(),setTimeout(()=>l(false),o);},className:r("relative px-4 py-2 rounded-md bg-primary text-primary-foreground",s&&"scale-95","transition-transform duration-100",a),...i,children:e})]})}function Jr({className:e,particleCount:n=12,children:t,...o}){let[a,i]=Ro.useState(false),[s,l]=Ro.useState([]),m=framerMotion.useAnimation();Ro.useEffect(()=>{let u=Array.from({length:n},(f,p)=>({id:p,x:Math.random()*360-180,y:Math.random()*360-180}));l(u);},[n]);let d=Ro.useCallback(async()=>{i(true),await m.start({x:0,y:0,transition:{type:"spring",stiffness:50,damping:10}});},[m]),c=Ro.useCallback(async()=>{i(false),await m.start(u=>({x:s[u].x,y:s[u].y,transition:{type:"spring",stiffness:100,damping:15}}));},[m,s]);return jsxRuntime.jsxs("button",{className:r("min-w-40 relative touch-none px-4 py-2 rounded-md","bg-violet-100 dark:bg-violet-900","hover:bg-violet-200 dark:hover:bg-violet-800","text-violet-600 dark:text-violet-300","border border-violet-300 dark:border-violet-700","transition-all duration-300",e),onMouseEnter:d,onMouseLeave:c,onTouchStart:d,onTouchEnd:c,...o,children:[s.map((u,f)=>jsxRuntime.jsx(framerMotion.motion.div,{custom:f,initial:{x:s[f].x,y:s[f].y},animate:m,className:r("absolute w-1.5 h-1.5 rounded-full bg-violet-400 dark:bg-violet-300 transition-opacity duration-300",a?"opacity-100":"opacity-40")},f)),jsxRuntime.jsx("span",{className:"relative w-full flex items-center justify-center gap-2",children:t||(a?"Attracting":"Hover me")})]})}function Qr({className:e,children:n,shortcut:t="CMD + K",...o}){return jsxRuntime.jsxs("button",{...o,className:r("relative p-2 rounded-lg overflow-hidden","bg-gradient-to-b from-zinc-50 to-zinc-100 dark:from-zinc-800 dark:to-zinc-900","border border-zinc-200 dark:border-zinc-800","hover:border-zinc-300 dark:hover:border-zinc-700","transition-all duration-300 ease-out group","inline-flex items-center justify-center gap-2",e),children:[jsxRuntime.jsx("svg",{className:r("w-4 h-4 text-zinc-600 dark:text-zinc-400","transition-all duration-300","group-hover:scale-110 group-hover:rotate-[-4deg] group-active:scale-95"),fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M18 3a3 3 0 0 0-3 3v12a3 3 0 0 0 3 3 3 3 0 0 0 3-3 3 3 0 0 0-3-3H6a3 3 0 0 0-3 3 3 3 0 0 0 3 3 3 3 0 0 0 3-3V6a3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3h12a3 3 0 0 0 3-3 3 3 0 0 0-3-3z"})}),jsxRuntime.jsx("span",{className:"text-sm text-zinc-600 dark:text-zinc-400",children:n||t}),jsxRuntime.jsx("span",{className:"absolute inset-0 bg-gradient-to-r from-indigo-500/0 via-indigo-500/10 to-indigo-500/0 translate-x-[-100%] group-hover:translate-x-[100%] transition-transform duration-500 ease-out"})]})}function jr({children:e,className:n="",colors:t=["#40ffaa","#4079ff","#40ffaa","#4079ff","#40ffaa"],animationSpeed:o=8}){return jsxRuntime.jsx("span",{className:r("bg-clip-text text-transparent bg-[length:200%_auto] animate-gradient",n),style:{backgroundImage:`linear-gradient(to right, ${t.join(", ")})`,animationDuration:`${o}s`},children:e})}function to({text:e="Text Shimmer",className:n}){return jsxRuntime.jsx("div",{className:"flex items-center justify-center p-8",children:jsxRuntime.jsx(framerMotion.motion.div,{className:"relative px-4 py-2 overflow-hidden",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5},children:jsxRuntime.jsx(framerMotion.motion.h1,{className:r("text-3xl font-bold bg-gradient-to-r from-neutral-950 via-neutral-400 to-neutral-950 dark:from-white dark:via-neutral-600 dark:to-white bg-[length:200%_100%] bg-clip-text text-transparent",n),animate:{backgroundPosition:["200% center","-200% center"]},transition:{duration:2.5,ease:"linear",repeat:1/0},children:e})})})}function no({text:e="Glitch Text",className:n,glitchIntensity:t="medium",color:o="orange",isStatic:a=false,size:i="md"}){let l={rainbow:{primary:"#a855f7",before:"#22d3ee",after:"#f472b6"},blue:{primary:"#3b82f6",before:"#60a5fa",after:"#1d4ed8"},purple:{primary:"#8b5cf6",before:"#a78bfa",after:"#6d28d9"},cyan:{primary:"#06b6d4",before:"#22d3ee",after:"#0891b2"},pink:{primary:"#ec4899",before:"#f472b6",after:"#db2777"},orange:{primary:"#f97316",before:"#fb923c",after:"#ea580c"}}[o],d={light:{translateRange:2,skewRange:.5},medium:{translateRange:3,skewRange:1},heavy:{translateRange:5,skewRange:2},extreme:{translateRange:8,skewRange:3}}[t],c={sm:"text-2xl",md:"text-4xl",lg:"text-5xl",xl:"text-6xl","2xl":"text-7xl","3xl":"text-8xl"},u={animate:{x:[0,d.translateRange,-d.translateRange,0],y:[0,-d.translateRange,d.translateRange,0],skewX:[0,d.skewRange,-d.skewRange,0]},transition:{duration:.5,repeat:1/0,ease:"easeInOut"}};return jsxRuntime.jsx("div",{className:r("relative flex items-center justify-center p-8",n),children:jsxRuntime.jsxs(framerMotion.motion.div,{className:r("relative font-bold tracking-wider",c[i]),style:{color:l.primary},animate:a?void 0:u.animate,transition:u.transition,children:[e,jsxRuntime.jsx(framerMotion.motion.span,{className:"absolute inset-0 pointer-events-none",style:{color:l.before,opacity:.8},animate:a?void 0:{x:[-d.translateRange,d.translateRange,0],y:[d.translateRange,-d.translateRange,0]},transition:{duration:.5,repeat:1/0},children:e}),jsxRuntime.jsx(framerMotion.motion.span,{className:"absolute inset-0 pointer-events-none",style:{color:l.after,opacity:.8},animate:a?void 0:{x:[d.translateRange,-d.translateRange,0],y:[-d.translateRange,d.translateRange,0]},transition:{duration:.5,repeat:1/0},children:e})]})})}function io({text:e,className:n,delay:t=0,duration:o=.4}){let a=Array.from(e);return jsxRuntime.jsx("div",{className:r("flex",n),children:a.map((i,s)=>jsxRuntime.jsx(framerMotion.motion.span,{className:"inline-block",style:{whiteSpace:i===" "?"pre":"normal"},animate:{y:[0,-20,0]},transition:{delay:t+s*.03,duration:o,ease:"easeInOut",repeat:1/0,repeatDelay:.5},children:i},`${i}-${s}`))})}function uo({text:e="",delay:n=200,className:t="",animateBy:o="words",direction:a="top"}){let i=o==="words"?e.split(" "):e.split(""),[s,l]=Ro.useState(false),m=Ro.useRef(null);Ro.useEffect(()=>{if(!m.current)return;let u=new IntersectionObserver(([f])=>{f.isIntersecting&&(l(true),u.unobserve(m.current));},{threshold:.1});return u.observe(m.current),()=>u.disconnect()},[]);let d=Ro.useMemo(()=>a==="top"?{filter:"blur(10px)",opacity:0,y:-50}:{filter:"blur(10px)",opacity:0,y:50},[a]),c={filter:"blur(0px)",opacity:1,y:0};return jsxRuntime.jsx("p",{ref:m,className:r("flex flex-wrap",t),children:i.map((u,f)=>jsxRuntime.jsxs(framerMotion.motion.span,{initial:d,animate:s?c:d,transition:{duration:.5,delay:f*n/1e3,ease:"easeOut"},className:"inline-block",style:{willChange:"transform, filter, opacity"},children:[u===" "?"\xA0":u,o==="words"&&f<i.length-1&&"\xA0"]},f))})}function go({text:e="Hello World",className:n,speed:t=50,delay:o=0,cursor:a=true,loop:i=false}){let[s,l]=Ro.useState(""),[m,d]=Ro.useState(false);return Ro.useEffect(()=>{let c,u=0,f=false,p=()=>{d(true),f?u>0?(l(e.slice(0,u-1)),u--,c=setTimeout(p,t/2)):(f=false,c=setTimeout(p,500)):u<e.length?(l(e.slice(0,u+1)),u++,c=setTimeout(p,t)):(d(false),i&&(c=setTimeout(()=>{f=true,p();},2e3)));};return c=setTimeout(p,o),()=>clearTimeout(c)},[e,t,o,i]),jsxRuntime.jsxs("span",{className:r("inline-block font-mono",n),children:[s,a&&jsxRuntime.jsx("span",{className:r("ml-0.5 inline-block w-[2px] h-[1em] bg-current",m?"animate-blink":"")})]})}function yo({text:e,className:n,amplitude:t=10,frequency:o=1.5}){let a=Array.from(e);return jsxRuntime.jsx("div",{className:r("flex",n),children:a.map((i,s)=>jsxRuntime.jsx(framerMotion.motion.span,{className:"inline-block",style:{whiteSpace:i===" "?"pre":"normal"},animate:{y:[0,-t,0,t,0]},transition:{duration:o,repeat:1/0,delay:s*.08,ease:"easeInOut"},children:i},`${i}-${s}`))})}function ko({text:e,className:n,delay:t=0}){let o=Array.from(e);return jsxRuntime.jsx("div",{className:r("flex",n),style:{perspective:"1000px"},children:o.map((a,i)=>jsxRuntime.jsx(framerMotion.motion.span,{className:"inline-block origin-center",style:{whiteSpace:a===" "?"pre":"normal"},animate:{rotateX:[0,360]},transition:{duration:1.5,repeat:1/0,delay:t+i*.08,ease:"easeInOut",repeatDelay:.8},children:a},`${a}-${i}`))})}function No({text:e,disabled:n=false,speed:t=5,className:o=""}){return jsxRuntime.jsxs("span",{className:r("inline-block bg-gradient-to-r from-gray-900 via-gray-100 to-gray-900 bg-clip-text text-transparent bg-[length:200%_100%]",!n&&"animate-[shine_var(--shine-speed)_linear_infinite]",o),style:{"--shine-speed":`${t}s`,backgroundImage:"linear-gradient(90deg, #374151 25%, #f3f4f6 50%, #374151 75%)"},children:[e,jsxRuntime.jsx("style",{children:`
1
+ 'use strict';var clsx=require('clsx'),tailwindMerge=require('tailwind-merge'),jsxRuntime=require('react/jsx-runtime'),Wa=require('react'),framerMotion=require('framer-motion');function _interopDefault(e){return e&&e.__esModule?e:{default:e}}var Wa__default=/*#__PURE__*/_interopDefault(Wa);function a(...e){return tailwindMerge.twMerge(clsx.clsx(e))}function go({children:e,className:n,...t}){return jsxRuntime.jsxs("button",{className:a("relative overflow-hidden px-6 py-3 rounded-xl font-medium","bg-zinc-900 text-white hover:bg-zinc-800","dark:bg-zinc-800 dark:hover:bg-zinc-700 dark:text-white","transition-colors duration-200",n),...t,children:[jsxRuntime.jsx("span",{className:a("absolute inset-0 overflow-hidden rounded-[inherit]","before:absolute before:inset-0","before:-translate-x-full","before:animate-shimmer","before:bg-gradient-to-r","before:from-transparent before:via-white/40 before:to-transparent","before:skew-x-[-20deg]")}),jsxRuntime.jsx("span",{className:"relative z-10",children:e})]})}function yo({children:e,className:n,onClick:t,...r}){let[i,o]=Wa.useState([]);function s(l){let d=l.currentTarget.getBoundingClientRect(),c=l.clientX-d.left,m=l.clientY-d.top,g={x:c,y:m,id:Date.now()};o(p=>[...p,g]),setTimeout(()=>{o(p=>p.filter(f=>f.id!==g.id));},1e3),t?.(l);}return jsxRuntime.jsxs("button",{className:a("relative overflow-hidden px-6 py-3 rounded-xl font-medium","bg-zinc-900 text-white hover:bg-zinc-800","dark:bg-zinc-100 dark:text-black dark:hover:bg-zinc-200","transition-colors duration-200",n),onClick:s,...r,children:[jsxRuntime.jsx(framerMotion.AnimatePresence,{children:i.map(l=>jsxRuntime.jsx(framerMotion.motion.span,{className:"absolute rounded-full pointer-events-none border-2 border-white/50 dark:border-black/50",style:{left:l.x,top:l.y,transform:"translate(-50%, -50%)"},initial:{width:0,height:0,opacity:.9},animate:{width:500,height:500,opacity:0},exit:{opacity:0},transition:{duration:1,ease:[.4,0,.2,1]}},l.id))}),jsxRuntime.jsx("span",{className:"relative z-10",children:e})]})}function zo({children:e,className:n,strength:t=.5,radius:r=200,...i}){let o=Wa.useRef(null),[s,l]=Wa.useState(false),u=framerMotion.useMotionValue(0),d=framerMotion.useMotionValue(0),c={damping:20,stiffness:300,mass:.5},m=framerMotion.useSpring(u,c),g=framerMotion.useSpring(d,c);return jsxRuntime.jsx("div",{ref:o,className:"relative inline-flex items-center justify-center",onMouseMove:b=>{if(!o.current)return;let h=o.current.getBoundingClientRect(),y=h.left+h.width/2,v=h.top+h.height/2,x=b.clientX-y,w=b.clientY-v,k=Math.sqrt(x*x+w*w);if(k<r){let T=1-k/r;u.set(x*t*T),d.set(w*t*T);}},onMouseLeave:()=>{l(false),u.set(0),d.set(0);},onMouseEnter:()=>l(true),style:{padding:r/2,margin:-r/2},children:jsxRuntime.jsx(framerMotion.motion.div,{style:{x:m,y:g},children:jsxRuntime.jsx("button",{className:a("px-6 py-3 rounded-xl font-medium","bg-zinc-900 text-white hover:bg-zinc-800","dark:bg-zinc-100 dark:text-black dark:hover:bg-zinc-200","transition-shadow duration-300",s&&"shadow-lg",n),...i,children:e})})})}function Ro({children:e,className:n,onClick:t,...r}){let[i,o]=Wa.useState(false);function s(l){o(true),setTimeout(()=>o(false),1500),t?.(l);}return jsxRuntime.jsxs("div",{className:"relative inline-block",children:[jsxRuntime.jsx(framerMotion.motion.div,{className:"absolute -bottom-2 left-1/2 w-16 h-2 bg-black/20 rounded-full blur-sm",animate:i?{scaleX:[1,.8,1.2,.9,1.1,.95,1],opacity:[.3,.6,.2,.5,.3,.4,.3]}:{},style:{x:"-50%"},transition:{duration:1.5,ease:"easeOut"}}),jsxRuntime.jsx(framerMotion.motion.div,{animate:i?{y:[0,-40,-20,-35,-10,-25,-5,-15,0],rotate:[0,-5,2,-3,1,-2,.5,-1,0]}:{},transition:{duration:1.5,ease:"easeOut",times:[0,.2,.35,.5,.65,.75,.85,.95,1]},whileHover:i?{}:{y:[0,-8,0]},children:jsxRuntime.jsx("button",{className:a("px-6 py-3 rounded-xl font-medium","bg-orange-500 hover:bg-orange-600 text-white","transition-colors duration-200",n),onClick:s,disabled:i,...r,children:e})})]})}function Co({children:e,className:n,glowColor:t="rgba(59, 130, 246, 0.8)",...r}){let[i,o]=Wa.useState(false);return jsxRuntime.jsxs(framerMotion.motion.div,{className:"relative inline-block",onMouseEnter:()=>o(true),onMouseLeave:()=>o(false),animate:{filter:i?[`drop-shadow(0 0 10px ${t})`,`drop-shadow(0 0 25px ${t})`,`drop-shadow(0 0 10px ${t})`]:"drop-shadow(0 0 0px transparent)"},transition:{duration:i?1.5:.3,repeat:i?1/0:0},children:[jsxRuntime.jsx(framerMotion.motion.div,{className:"absolute inset-0 rounded-xl",animate:i?{boxShadow:[`0 0 20px ${t}`,`0 0 40px ${t}`,`0 0 20px ${t}`],scale:[1,1.05,1]}:{boxShadow:"0 0 0px transparent",scale:1},transition:{duration:2,repeat:i?1/0:0,ease:"easeInOut"}}),jsxRuntime.jsx("button",{className:a("relative px-6 py-3 rounded-xl font-medium","bg-blue-600 hover:bg-blue-700 text-white","transition-all duration-300",i&&"bg-blue-500",n),...r,children:e})]})}function Io({children:e,className:n,pulseColor:t="rgba(239, 68, 68, 0.5)",...r}){return jsxRuntime.jsxs("div",{className:"relative inline-block",children:[jsxRuntime.jsx(framerMotion.motion.div,{className:"absolute inset-0 rounded-xl",style:{backgroundColor:t},animate:{scale:[1,1.3,1,1.2,1],opacity:[.6,0,.6,0,.6]},transition:{duration:1.2,repeat:1/0,ease:"easeInOut",times:[0,.2,.4,.6,1]}}),jsxRuntime.jsx(framerMotion.motion.div,{className:"absolute inset-0 rounded-xl",style:{backgroundColor:t},animate:{scale:[1,1.5,1,1.4,1],opacity:[.4,0,.4,0,.4]},transition:{duration:1.2,delay:.1,repeat:1/0,ease:"easeInOut",times:[0,.2,.4,.6,1]}}),jsxRuntime.jsx(framerMotion.motion.div,{animate:{scale:[1,1.05,1,1.03,1]},transition:{duration:1.2,repeat:1/0,ease:"easeInOut",times:[0,.2,.4,.6,1]},children:jsxRuntime.jsx("button",{className:a("relative px-6 py-3 rounded-xl font-medium","bg-red-500 hover:bg-red-600 text-white","transition-colors duration-200",n),...r,children:e})})]})}var Ao={pink:{border:"border-pink-500",text:"text-pink-400",shadow:"shadow-pink-500/50",glow:"rgba(236, 72, 153, 0.6)",bg:"hover:bg-pink-500/10"},cyan:{border:"border-cyan-500",text:"text-cyan-400",shadow:"shadow-cyan-500/50",glow:"rgba(6, 182, 212, 0.6)",bg:"hover:bg-cyan-500/10"},green:{border:"border-green-500",text:"text-green-400",shadow:"shadow-green-500/50",glow:"rgba(34, 197, 94, 0.6)",bg:"hover:bg-green-500/10"},purple:{border:"border-purple-500",text:"text-purple-400",shadow:"shadow-purple-500/50",glow:"rgba(168, 85, 247, 0.6)",bg:"hover:bg-purple-500/10"},orange:{border:"border-orange-500",text:"text-orange-400",shadow:"shadow-orange-500/50",glow:"rgba(249, 115, 22, 0.6)",bg:"hover:bg-orange-500/10"}},Bo={sm:"h-8 px-3 text-xs",default:"h-10 px-6 text-sm",lg:"h-12 px-8 text-base"};function Ho({children:e,className:n,color:t="cyan",size:r="default",...i}){let o=Ao[t];return jsxRuntime.jsxs(framerMotion.motion.button,{className:a("relative inline-flex items-center justify-center","font-semibold tracking-wide uppercase","border-2 rounded-lg","bg-transparent","transition-colors duration-200",o.border,o.text,o.bg,Bo[r],n),whileHover:{boxShadow:`0 0 20px ${o.glow}, 0 0 40px ${o.glow}, 0 0 60px ${o.glow}`},whileTap:{scale:.98},transition:{duration:.2},...i,children:[jsxRuntime.jsx(framerMotion.motion.span,{className:a("absolute inset-0 rounded-lg opacity-0",o.border),animate:{opacity:[.5,1,.5]},transition:{duration:2,repeat:1/0,ease:"easeInOut"},style:{boxShadow:`inset 0 0 10px ${o.glow}`}}),jsxRuntime.jsx("span",{className:"relative z-10",children:e})]})}function Fo({children:e,className:n,variant:t="primary",size:r="md",onClick:i,...o}){let[s,l]=Wa.useState(false);function u(m){m.preventDefault(),m.stopPropagation(),l(true),setTimeout(()=>l(false),800),i&&i(m);}let d={sm:"px-4 py-2 text-sm",md:"px-6 py-3 text-base",lg:"px-8 py-4 text-lg"},c={primary:"bg-zinc-900 text-white border-zinc-900 dark:bg-white dark:text-zinc-900 dark:border-white",secondary:"bg-zinc-100 text-zinc-900 border-zinc-200 dark:bg-zinc-800 dark:text-white dark:border-zinc-700",outline:"bg-transparent text-zinc-900 border-zinc-300 dark:text-white dark:border-zinc-600"};return jsxRuntime.jsxs("button",{className:a("relative overflow-hidden rounded-lg font-medium border-2 transition-colors",d[r],c[t],n),onClick:u,...o,children:[jsxRuntime.jsx(framerMotion.AnimatePresence,{children:s&&jsxRuntime.jsx(framerMotion.motion.div,{className:a("absolute inset-0 origin-bottom",t==="primary"?"bg-blue-500 dark:bg-blue-400":"bg-zinc-900 dark:bg-white"),initial:{scaleY:0},animate:{scaleY:1},exit:{scaleY:0,transition:{duration:.3}},transition:{duration:.5,ease:[.4,0,.2,1]},style:{transformOrigin:"bottom"}},"liquid-fill")}),jsxRuntime.jsx(framerMotion.AnimatePresence,{children:s&&jsxRuntime.jsx(jsxRuntime.Fragment,{children:[...Array(5)].map((m,g)=>jsxRuntime.jsx(framerMotion.motion.div,{className:"absolute w-1.5 h-1.5 bg-white/60 rounded-full",style:{left:`${20+g*15}%`,bottom:"10%"},initial:{y:0,opacity:0,scale:0},animate:{y:-60,opacity:[0,1,0],scale:[0,1,.5]},transition:{duration:.6,delay:g*.08,ease:"easeOut"}},g))})}),jsxRuntime.jsx("span",{className:a("relative flex items-center justify-center gap-2 transition-colors duration-200 z-10",s&&(t==="outline"||t==="secondary"?"text-white dark:text-zinc-900":"text-white")),children:e})]})}function Xo({children:e,className:n,variant:t="primary",size:r="md",slideText:i="Go!",onClick:o,...s}){let[l,u]=Wa.useState(false),d={sm:"px-4 py-2 text-sm",md:"px-6 py-3 text-base",lg:"px-8 py-4 text-lg"},c={primary:"bg-zinc-900 text-white dark:bg-white dark:text-zinc-900",secondary:"bg-zinc-100 text-zinc-900 dark:bg-zinc-800 dark:text-white",outline:"bg-transparent text-zinc-900 border-2 border-zinc-300 dark:text-white dark:border-zinc-600"};return jsxRuntime.jsxs("button",{className:a("relative overflow-hidden rounded-lg font-medium transition-all",d[r],c[t],n),onMouseEnter:()=>u(true),onMouseLeave:()=>u(false),onClick:o,...s,children:[jsxRuntime.jsx(framerMotion.motion.div,{className:a("absolute inset-0",t==="primary"?"bg-blue-600 dark:bg-blue-500":"bg-zinc-900 dark:bg-white"),initial:{x:"-100%"},animate:{x:l?"0%":"-100%"},transition:{duration:.3,ease:"easeInOut"}}),jsxRuntime.jsx(framerMotion.motion.span,{className:"relative flex items-center justify-center gap-2 z-10",animate:{x:l?20:0,opacity:l?0:1},transition:{duration:.2},children:e}),jsxRuntime.jsxs(framerMotion.motion.span,{className:a("absolute inset-0 flex items-center justify-center gap-2 z-10",t==="outline"||t==="secondary"?"text-white dark:text-zinc-900":"text-white"),initial:{x:-20,opacity:0},animate:{x:l?0:-20,opacity:l?1:0},transition:{duration:.2},children:[i,jsxRuntime.jsx("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M14 5l7 7m0 0l-7 7m7-7H3"})})]})]})}var Go={sunset:"from-orange-500 via-pink-500 to-purple-500",ocean:"from-cyan-500 via-blue-500 to-purple-500",forest:"from-green-500 via-emerald-500 to-teal-500",purple:"from-purple-500 via-violet-500 to-indigo-500",fire:"from-yellow-500 via-orange-500 to-red-500"},Wo={sm:"px-4 py-2 text-sm",md:"px-6 py-3 text-base",lg:"px-8 py-4 text-lg"};function Yo({children:e,className:n,variant:t="ocean",size:r="md",...i}){return jsxRuntime.jsxs(framerMotion.motion.button,{className:a("relative overflow-hidden rounded-lg font-semibold text-white","bg-gradient-to-r",Go[t],Wo[r],n),whileHover:{scale:1.02},whileTap:{scale:.98},...i,children:[jsxRuntime.jsx(framerMotion.motion.div,{className:"absolute inset-0 bg-gradient-to-r from-white/0 via-white/25 to-white/0",initial:{x:"-100%"},whileHover:{x:"100%"},transition:{duration:.5}}),jsxRuntime.jsx("span",{className:"relative z-10",children:e})]})}function Jo({children:e,className:n,holdDuration:t=1e3,onHoldComplete:r,variant:i="primary",...o}){let[s,l]=Wa.useState(0),[u,d]=Wa.useState(false),c=Wa.useRef(null),m={primary:"bg-zinc-900 dark:bg-white",danger:"bg-red-500",success:"bg-green-500"},g={primary:"bg-blue-500",danger:"bg-red-700",success:"bg-green-700"},p=()=>{d(true);let b=Date.now();c.current=setInterval(()=>{let h=Date.now()-b,y=Math.min(h/t*100,100);l(y),y>=100&&(f(),r?.());},16);},f=()=>{d(false),l(0),c.current&&(clearInterval(c.current),c.current=null);};return jsxRuntime.jsxs(framerMotion.motion.button,{className:a("relative overflow-hidden rounded-lg px-6 py-3 font-medium text-white dark:text-zinc-900",m[i],n),onMouseDown:p,onMouseUp:f,onMouseLeave:f,onTouchStart:p,onTouchEnd:f,whileTap:{scale:.98},...o,children:[jsxRuntime.jsx(framerMotion.motion.div,{className:a("absolute inset-0 origin-left",g[i]),style:{scaleX:s/100},transition:{duration:0}}),jsxRuntime.jsx("span",{className:"relative z-10",children:e})]})}var Zo={primary:{bg:"bg-blue-500",shadow:"shadow-blue-700",hover:"hover:bg-blue-600"},secondary:{bg:"bg-zinc-700",shadow:"shadow-zinc-900",hover:"hover:bg-zinc-800"},danger:{bg:"bg-red-500",shadow:"shadow-red-700",hover:"hover:bg-red-600"}},jo={sm:"px-4 py-2 text-sm",md:"px-6 py-3 text-base",lg:"px-8 py-4 text-lg"};function ea({children:e,className:n,variant:t="primary",size:r="md",...i}){let o=Zo[t];return jsxRuntime.jsx(framerMotion.motion.button,{className:a("relative rounded-lg font-semibold text-white","shadow-[0_6px_0_0]",o.bg,o.shadow,o.hover,jo[r],n),whileHover:{y:-2},whileTap:{y:4,boxShadow:"0 2px 0 0"},transition:{duration:.1},...i,children:e})}function ra({text:e="Copy",value:n,onCopy:t,className:r}){let[i,o]=Wa.useState(false);return jsxRuntime.jsx("button",{onClick:async()=>{try{n&&await navigator.clipboard.writeText(n),t?.(),o(!0),setTimeout(()=>o(!1),2e3);}catch(l){console.error("Failed to copy:",l);}},className:a("inline-flex items-center gap-2 px-4 py-2","bg-transparent hover:bg-zinc-100 dark:hover:bg-zinc-800","text-zinc-900 dark:text-zinc-100","border border-zinc-300 dark:border-zinc-700","rounded-md transition-all duration-200 font-medium text-sm",r),children:i?jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx("svg",{className:"w-4 h-4 text-green-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 13l4 4L19 7"})}),"Copied!"]}):jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M8 16H6a2 2 0 01-2-2V6a2 2 0 012-2h8a2 2 0 012 2v2m-6 12h8a2 2 0 002-2v-8a2 2 0 00-2-2h-8a2 2 0 00-2 2v8a2 2 0 002 2z"})}),e]})})}function la({buttonRef:e}){let n=e.current?.getBoundingClientRect();if(!n)return null;let t=n.left+n.width/2,r=n.top+n.height/2;return jsxRuntime.jsx(framerMotion.AnimatePresence,{children:[...Array(6)].map((i,o)=>jsxRuntime.jsx(framerMotion.motion.div,{className:"fixed w-1 h-1 bg-black dark:bg-white rounded-full",style:{left:t,top:r},initial:{scale:0,x:0,y:0},animate:{scale:[0,1,0],x:[0,(o%2?1:-1)*(Math.random()*50+20)],y:[0,-Math.random()*50-20]},transition:{duration:.6,delay:o*.1,ease:"easeOut"}},o))})}function ca({children:e,onClick:n,onSuccess:t,successDuration:r=1e3,className:i,...o}){let[s,l]=Wa.useState(false),u=Wa.useRef(null);return jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[s&&jsxRuntime.jsx(la,{buttonRef:u}),jsxRuntime.jsx("button",{ref:u,onClick:c=>{l(true),n?.(c),t?.(),setTimeout(()=>l(false),r);},className:a("relative px-4 py-2 rounded-md bg-primary text-primary-foreground",s&&"scale-95","transition-transform duration-100",i),...o,children:e})]})}function ga({className:e,particleCount:n=12,children:t,...r}){let[i,o]=Wa.useState(false),[s,l]=Wa.useState([]),u=framerMotion.useAnimation();Wa.useEffect(()=>{let m=Array.from({length:n},(g,p)=>({id:p,x:Math.random()*360-180,y:Math.random()*360-180}));l(m);},[n]);let d=Wa.useCallback(async()=>{o(true),await u.start({x:0,y:0,transition:{type:"spring",stiffness:50,damping:10}});},[u]),c=Wa.useCallback(async()=>{o(false),await u.start(m=>({x:s[m].x,y:s[m].y,transition:{type:"spring",stiffness:100,damping:15}}));},[u,s]);return jsxRuntime.jsxs("button",{className:a("min-w-40 relative touch-none px-4 py-2 rounded-md","bg-violet-100 dark:bg-violet-900","hover:bg-violet-200 dark:hover:bg-violet-800","text-violet-600 dark:text-violet-300","border border-violet-300 dark:border-violet-700","transition-all duration-300",e),onMouseEnter:d,onMouseLeave:c,onTouchStart:d,onTouchEnd:c,...r,children:[s.map((m,g)=>jsxRuntime.jsx(framerMotion.motion.div,{custom:g,initial:{x:s[g].x,y:s[g].y},animate:u,className:a("absolute w-1.5 h-1.5 rounded-full bg-violet-400 dark:bg-violet-300 transition-opacity duration-300",i?"opacity-100":"opacity-40")},g)),jsxRuntime.jsx("span",{className:"relative w-full flex items-center justify-center gap-2",children:t||(i?"Attracting":"Hover me")})]})}function ha({className:e,children:n,shortcut:t="CMD + K",...r}){return jsxRuntime.jsxs("button",{...r,className:a("relative p-2 rounded-lg overflow-hidden","bg-gradient-to-b from-zinc-50 to-zinc-100 dark:from-zinc-800 dark:to-zinc-900","border border-zinc-200 dark:border-zinc-800","hover:border-zinc-300 dark:hover:border-zinc-700","transition-all duration-300 ease-out group","inline-flex items-center justify-center gap-2",e),children:[jsxRuntime.jsx("svg",{className:a("w-4 h-4 text-zinc-600 dark:text-zinc-400","transition-all duration-300","group-hover:scale-110 group-hover:rotate-[-4deg] group-active:scale-95"),fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M18 3a3 3 0 0 0-3 3v12a3 3 0 0 0 3 3 3 3 0 0 0 3-3 3 3 0 0 0-3-3H6a3 3 0 0 0-3 3 3 3 0 0 0 3 3 3 3 0 0 0 3-3V6a3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3h12a3 3 0 0 0 3-3 3 3 0 0 0-3-3z"})}),jsxRuntime.jsx("span",{className:"text-sm text-zinc-600 dark:text-zinc-400",children:n||t}),jsxRuntime.jsx("span",{className:"absolute inset-0 bg-gradient-to-r from-indigo-500/0 via-indigo-500/10 to-indigo-500/0 translate-x-[-100%] group-hover:translate-x-[100%] transition-transform duration-500 ease-out"})]})}function va({children:e,className:n="",colors:t=["#40ffaa","#4079ff","#40ffaa","#4079ff","#40ffaa"],animationSpeed:r=8}){return jsxRuntime.jsx("span",{className:a("bg-clip-text text-transparent bg-[length:200%_auto] animate-gradient",n),style:{backgroundImage:`linear-gradient(to right, ${t.join(", ")})`,animationDuration:`${r}s`},children:e})}function wa({text:e="Text Shimmer",className:n}){return jsxRuntime.jsx("div",{className:"flex items-center justify-center p-8",children:jsxRuntime.jsx(framerMotion.motion.div,{className:"relative px-4 py-2 overflow-hidden",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5},children:jsxRuntime.jsx(framerMotion.motion.h1,{className:a("text-3xl font-bold bg-gradient-to-r from-neutral-950 via-neutral-400 to-neutral-950 dark:from-white dark:via-neutral-600 dark:to-white bg-[length:200%_100%] bg-clip-text text-transparent",n),animate:{backgroundPosition:["200% center","-200% center"]},transition:{duration:2.5,ease:"linear",repeat:1/0},children:e})})})}function ka({text:e="Glitch Text",className:n,glitchIntensity:t="medium",color:r="orange",isStatic:i=false,size:o="md"}){let l={rainbow:{primary:"#a855f7",before:"#22d3ee",after:"#f472b6"},blue:{primary:"#3b82f6",before:"#60a5fa",after:"#1d4ed8"},purple:{primary:"#8b5cf6",before:"#a78bfa",after:"#6d28d9"},cyan:{primary:"#06b6d4",before:"#22d3ee",after:"#0891b2"},pink:{primary:"#ec4899",before:"#f472b6",after:"#db2777"},orange:{primary:"#f97316",before:"#fb923c",after:"#ea580c"}}[r],d={light:{translateRange:2,skewRange:.5},medium:{translateRange:3,skewRange:1},heavy:{translateRange:5,skewRange:2},extreme:{translateRange:8,skewRange:3}}[t],c={sm:"text-2xl",md:"text-4xl",lg:"text-5xl",xl:"text-6xl","2xl":"text-7xl","3xl":"text-8xl"},m={animate:{x:[0,d.translateRange,-d.translateRange,0],y:[0,-d.translateRange,d.translateRange,0],skewX:[0,d.skewRange,-d.skewRange,0]},transition:{duration:.5,repeat:1/0,ease:"easeInOut"}};return jsxRuntime.jsx("div",{className:a("relative flex items-center justify-center p-8",n),children:jsxRuntime.jsxs(framerMotion.motion.div,{className:a("relative font-bold tracking-wider",c[o]),style:{color:l.primary},animate:i?void 0:m.animate,transition:m.transition,children:[e,jsxRuntime.jsx(framerMotion.motion.span,{className:"absolute inset-0 pointer-events-none",style:{color:l.before,opacity:.8},animate:i?void 0:{x:[-d.translateRange,d.translateRange,0],y:[d.translateRange,-d.translateRange,0]},transition:{duration:.5,repeat:1/0},children:e}),jsxRuntime.jsx(framerMotion.motion.span,{className:"absolute inset-0 pointer-events-none",style:{color:l.after,opacity:.8},animate:i?void 0:{x:[d.translateRange,-d.translateRange,0],y:[-d.translateRange,d.translateRange,0]},transition:{duration:.5,repeat:1/0},children:e})]})})}function za({text:e,className:n,delay:t=0,duration:r=.4}){let i=Array.from(e);return jsxRuntime.jsx("div",{className:a("flex",n),children:i.map((o,s)=>jsxRuntime.jsx(framerMotion.motion.span,{className:"inline-block",style:{whiteSpace:o===" "?"pre":"normal"},animate:{y:[0,-20,0]},transition:{delay:t+s*.03,duration:r,ease:"easeInOut",repeat:1/0,repeatDelay:.5},children:o},`${o}-${s}`))})}function La({text:e="",delay:n=200,className:t="",animateBy:r="words",direction:i="top"}){let o=r==="words"?e.split(" "):e.split(""),[s,l]=Wa.useState(false),u=Wa.useRef(null);Wa.useEffect(()=>{if(!u.current)return;let m=new IntersectionObserver(([g])=>{g.isIntersecting&&(l(true),m.unobserve(u.current));},{threshold:.1});return m.observe(u.current),()=>m.disconnect()},[]);let d=Wa.useMemo(()=>i==="top"?{filter:"blur(10px)",opacity:0,y:-50}:{filter:"blur(10px)",opacity:0,y:50},[i]),c={filter:"blur(0px)",opacity:1,y:0};return jsxRuntime.jsx("p",{ref:u,className:a("flex flex-wrap",t),children:o.map((m,g)=>jsxRuntime.jsxs(framerMotion.motion.span,{initial:d,animate:s?c:d,transition:{duration:.5,delay:g*n/1e3,ease:"easeOut"},className:"inline-block",style:{willChange:"transform, filter, opacity"},children:[m===" "?"\xA0":m,r==="words"&&g<o.length-1&&"\xA0"]},g))})}function Ba({text:e="Hello World",className:n,speed:t=50,delay:r=0,cursor:i=true,loop:o=false}){let[s,l]=Wa.useState(""),[u,d]=Wa.useState(false);return Wa.useEffect(()=>{let c,m=0,g=false,p=()=>{d(true),g?m>0?(l(e.slice(0,m-1)),m--,c=setTimeout(p,t/2)):(g=false,c=setTimeout(p,500)):m<e.length?(l(e.slice(0,m+1)),m++,c=setTimeout(p,t)):(d(false),o&&(c=setTimeout(()=>{g=true,p();},2e3)));};return c=setTimeout(p,r),()=>clearTimeout(c)},[e,t,r,o]),jsxRuntime.jsxs("span",{className:a("inline-block font-mono",n),children:[s,i&&jsxRuntime.jsx("span",{className:a("ml-0.5 inline-block w-[2px] h-[1em] bg-current",u?"animate-blink":"")})]})}function Fa({text:e,className:n,amplitude:t=10,frequency:r=1.5}){let i=Array.from(e);return jsxRuntime.jsx("div",{className:a("flex",n),children:i.map((o,s)=>jsxRuntime.jsx(framerMotion.motion.span,{className:"inline-block",style:{whiteSpace:o===" "?"pre":"normal"},animate:{y:[0,-t,0,t,0]},transition:{duration:r,repeat:1/0,delay:s*.08,ease:"easeInOut"},children:o},`${o}-${s}`))})}function Va({text:e,className:n,delay:t=0}){let r=Array.from(e);return jsxRuntime.jsx("div",{className:a("flex",n),style:{perspective:"1000px"},children:r.map((i,o)=>jsxRuntime.jsx(framerMotion.motion.span,{className:"inline-block origin-center",style:{whiteSpace:i===" "?"pre":"normal"},animate:{rotateX:[0,360]},transition:{duration:1.5,repeat:1/0,delay:t+o*.08,ease:"easeInOut",repeatDelay:.8},children:i},`${i}-${o}`))})}function $a({text:e,disabled:n=false,speed:t=5,className:r=""}){return jsxRuntime.jsxs("span",{className:a("inline-block bg-gradient-to-r from-gray-900 via-gray-100 to-gray-900 bg-clip-text text-transparent bg-[length:200%_100%]",!n&&"animate-[shine_var(--shine-speed)_linear_infinite]",r),style:{"--shine-speed":`${t}s`,backgroundImage:"linear-gradient(90deg, #374151 25%, #f3f4f6 50%, #374151 75%)"},children:[e,jsxRuntime.jsx("style",{children:`
2
2
  @keyframes shine {
3
3
  0% { background-position: -200% 0; }
4
4
  100% { background-position: 200% 0; }
5
5
  }
6
- `})]})}function Co({children:e,fontSize:n="clamp(2rem, 8vw, 8rem)",fontWeight:t=900,fontFamily:o="inherit",color:a="#fff",enableHover:i=true,baseIntensity:s=.18,hoverIntensity:l=.5}){let m=Ro.useRef(null);return Ro.useEffect(()=>{let d,c=false,u=m.current;return u?((async()=>{if(document.fonts?.ready&&await document.fonts.ready,c)return;let p=u.getContext("2d");if(!p)return;let b=o==="inherit"?window.getComputedStyle(u).fontFamily||"sans-serif":o,g=typeof n=="number"?`${n}px`:n,x;if(typeof n=="number")x=n;else {let D=document.createElement("span");D.style.fontSize=n,document.body.appendChild(D),x=parseFloat(window.getComputedStyle(D).fontSize),document.body.removeChild(D);}let h=Ro__default.default.Children.toArray(e).join(""),v=document.createElement("canvas"),y=v.getContext("2d");if(!y)return;y.font=`${t} ${g} ${b}`,y.textBaseline="alphabetic";let w=y.measureText(h),N=w.actualBoundingBoxLeft??0,C=w.actualBoundingBoxRight??w.width,E=w.actualBoundingBoxAscent??x,L=w.actualBoundingBoxDescent??x*.2,k=Math.ceil(N+C),P=Math.ceil(E+L),A=10,S=k+A;v.width=S,v.height=P;let T=A/2;y.font=`${t} ${g} ${b}`,y.textBaseline="alphabetic",y.fillStyle=a,y.fillText(h,T-N,E);let I=50,M=0;u.width=S+I*2,u.height=P+M*2,p.translate(I,M);let R=I+T,H=M,z=R+k,$=H+P,q=false,G=30,ie=()=>{if(c)return;p.clearRect(-G,-G,S+2*G,P+2*G);let D=q?l:s;for(let O=0;O<P;O++){let Wn=Math.floor(D*(Math.random()-.5)*G);p.drawImage(v,0,O,S,1,Wn,O,S,1);}d=window.requestAnimationFrame(ie);};ie();let Yn=(D,O)=>D>=R&&D<=z&&O>=H&&O<=$,nt=D=>{if(!i)return;let O=u.getBoundingClientRect();q=Yn(D.clientX-O.left,D.clientY-O.top);},rt=()=>{q=false;};i&&(u.addEventListener("mousemove",nt),u.addEventListener("mouseleave",rt)),u.cleanupFuzzyText=()=>{window.cancelAnimationFrame(d),i&&(u.removeEventListener("mousemove",nt),u.removeEventListener("mouseleave",rt));};})(),()=>{c=true,window.cancelAnimationFrame(d),u?.cleanupFuzzyText&&u.cleanupFuzzyText();}):void 0},[e,n,t,o,a,i,s,l]),jsxRuntime.jsx("canvas",{ref:m,className:"max-w-full"})}function Io({text:e,className:n,speed:t=50,color:o="#22c55e"}){let a=Ro.useRef(null),i=Ro.useRef(null);return Ro.useEffect(()=>{let s=a.current;if(!s)return;let l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789@#$%^&*",m=e,d=0,c=()=>{if(s.innerText=m.split("").map((u,f)=>f<d?m[f]:l[Math.floor(Math.random()*l.length)]).join(""),d>=m.length){i.current&&clearInterval(i.current);return}d+=1/3;};return i.current=setInterval(c,t),()=>{i.current&&clearInterval(i.current);}},[e,t]),jsxRuntime.jsx("div",{ref:a,className:r("font-mono",n),style:{color:o},children:e})}function Bo({text:e,className:n,delay:t=0}){let o=e.split(" "),a={hidden:{opacity:0},visible:(s=1)=>({opacity:1,transition:{staggerChildren:.12,delayChildren:t*s}})},i={visible:{opacity:1,y:0,filter:"blur(0px)",transition:{type:"spring",damping:12,stiffness:100}},hidden:{opacity:0,y:20,filter:"blur(10px)",transition:{type:"spring",damping:12,stiffness:100}}};return jsxRuntime.jsx(framerMotion.motion.div,{className:r("flex flex-wrap",n),variants:a,initial:"hidden",animate:"visible",children:o.map((s,l)=>jsxRuntime.jsx(framerMotion.motion.span,{variants:i,className:"mr-2",children:s},l))})}function Eo({text:e,className:n,delay:t=0}){let o=e.split(""),a={hidden:{opacity:0},visible:{opacity:1,transition:{staggerChildren:.03,delayChildren:t}}},i={hidden:{opacity:0,x:-20,y:10,rotate:-10},visible:{opacity:1,x:0,y:0,rotate:0,transition:{type:"spring",damping:12,stiffness:200}}};return jsxRuntime.jsx(framerMotion.motion.span,{className:r("inline-flex",n),variants:a,initial:"hidden",animate:"visible",children:o.map((s,l)=>jsxRuntime.jsx(framerMotion.motion.span,{variants:i,className:"inline-block",style:{whiteSpace:s===" "?"pre":"normal"},children:s===" "?"\xA0":s},l))})}function Fo({text:e,className:n,speed:t=50,scrambleChars:o="!<>-_\\/[]{}\u2014=+*^?#________"}){let[a,i]=Ro.useState(e);return Ro.useEffect(()=>{let s=0,l=setInterval(()=>{i(e.split("").map((m,d)=>d<s?e[d]:o[Math.floor(Math.random()*o.length)]).join("")),s>=e.length&&clearInterval(l),s+=1/3;},t);return ()=>clearInterval(l)},[e,t,o]),jsxRuntime.jsx("span",{className:r("font-mono",n),children:a})}function Xo({children:e,className:n,strength:t=.5}){let o=Ro.useRef(null),[a,i]=Ro.useState({x:0,y:0}),s=c=>{let{clientX:u,clientY:f}=c,{height:p,width:b,left:g,top:x}=o.current.getBoundingClientRect(),h=u-(g+b/2),v=f-(x+p/2);i({x:h*t,y:v*t});},l=()=>{i({x:0,y:0});},{x:m,y:d}=a;return jsxRuntime.jsx(framerMotion.motion.div,{ref:o,onMouseMove:s,onMouseLeave:l,animate:{x:m,y:d},transition:{type:"spring",stiffness:150,damping:15,mass:.1},className:r("inline-block cursor-pointer",n),children:e})}function Jo({words:e,className:n,interval:t=3e3}){let[o,a]=Ro.useState(0);return Ro.useEffect(()=>{let i=setInterval(()=>{a(s=>(s+1)%e.length);},t);return ()=>clearInterval(i)},[e.length,t]),jsxRuntime.jsx("div",{className:r("relative inline-block overflow-hidden",n),children:jsxRuntime.jsx(framerMotion.AnimatePresence,{mode:"wait",children:jsxRuntime.jsx(framerMotion.motion.span,{initial:{y:20,opacity:0},animate:{y:0,opacity:1},exit:{y:-20,opacity:0},transition:{duration:.3},className:"inline-block",children:e[o]},e[o])})})}function ei({words:e,className:n,interval:t=2e3}){let[o,a]=Ro.useState(0);return Ro.useEffect(()=>{let i=setInterval(()=>{a(s=>(s+1)%e.length);},t);return ()=>clearInterval(i)},[e.length,t]),jsxRuntime.jsx("span",{className:r("inline-block relative",n),children:jsxRuntime.jsx(framerMotion.AnimatePresence,{mode:"wait",children:jsxRuntime.jsx(framerMotion.motion.span,{initial:{rotateX:-90,opacity:0},animate:{rotateX:0,opacity:1},exit:{rotateX:90,opacity:0},transition:{duration:.4},className:"inline-block",style:{transformStyle:"preserve-3d"},children:e[o]},e[o])})})}function ti({text:e,className:n,delay:t=0,staggerDelay:o=.05}){let a=e.split(""),i={hidden:{opacity:0},visible:{opacity:1,transition:{staggerChildren:o,delayChildren:t}}},s={hidden:{opacity:0,y:20},visible:{opacity:1,y:0,transition:{type:"spring",damping:12,stiffness:200}}};return jsxRuntime.jsx(framerMotion.motion.span,{className:r("inline-flex",n),variants:i,initial:"hidden",animate:"visible",children:a.map((l,m)=>jsxRuntime.jsx(framerMotion.motion.span,{variants:s,className:"inline-block",style:{whiteSpace:l===" "?"pre":"normal"},children:l===" "?"\xA0":l},m))})}function ni({children:e,className:n,speed:t=3}){return jsxRuntime.jsxs("span",{className:r("inline-block bg-gradient-to-r from-red-500 via-yellow-500 via-green-500 via-blue-500 to-purple-500 bg-clip-text text-transparent bg-[length:200%_auto] animate-[rainbow_var(--rainbow-speed)_linear_infinite]",n),style:{"--rainbow-speed":`${t}s`},children:[e,jsxRuntime.jsx("style",{children:`
6
+ `})]})}function Ua({children:e,fontSize:n="clamp(2rem, 8vw, 8rem)",fontWeight:t=900,fontFamily:r="inherit",color:i="#fff",enableHover:o=true,baseIntensity:s=.18,hoverIntensity:l=.5}){let u=Wa.useRef(null);return Wa.useEffect(()=>{let d,c=false,m=u.current;return m?((async()=>{if(document.fonts?.ready&&await document.fonts.ready,c)return;let p=m.getContext("2d");if(!p)return;let f=r==="inherit"?window.getComputedStyle(m).fontFamily||"sans-serif":r,b=typeof n=="number"?`${n}px`:n,h;if(typeof n=="number")h=n;else {let D=document.createElement("span");D.style.fontSize=n,document.body.appendChild(D),h=parseFloat(window.getComputedStyle(D).fontSize),document.body.removeChild(D);}let y=Wa__default.default.Children.toArray(e).join(""),v=document.createElement("canvas"),x=v.getContext("2d");if(!x)return;x.font=`${t} ${b} ${f}`,x.textBaseline="alphabetic";let w=x.measureText(y),k=w.actualBoundingBoxLeft??0,T=w.actualBoundingBoxRight??w.width,N=w.actualBoundingBoxAscent??h,P=w.actualBoundingBoxDescent??h*.2,z=Math.ceil(k+T),R=Math.ceil(N+P),C=10,S=z+C;v.width=S,v.height=R;let M=C/2;x.font=`${t} ${b} ${f}`,x.textBaseline="alphabetic",x.fillStyle=i,x.fillText(y,M-k,N);let A=50,E=0;m.width=S+A*2,m.height=R+E*2,p.translate(A,E);let L=A+M,H=E,I=L+z,$=H+R,oe=false,Z=30,ze=()=>{if(c)return;p.clearRect(-Z,-Z,S+2*Z,R+2*Z);let D=oe?l:s;for(let X=0;X<R;X++){let mo=Math.floor(D*(Math.random()-.5)*Z);p.drawImage(v,0,X,S,1,mo,X,S,1);}d=window.requestAnimationFrame(ze);};ze();let uo=(D,X)=>D>=L&&D<=I&&X>=H&&X<=$,jt=D=>{if(!o)return;let X=m.getBoundingClientRect();oe=uo(D.clientX-X.left,D.clientY-X.top);},en=()=>{oe=false;};o&&(m.addEventListener("mousemove",jt),m.addEventListener("mouseleave",en)),m.cleanupFuzzyText=()=>{window.cancelAnimationFrame(d),o&&(m.removeEventListener("mousemove",jt),m.removeEventListener("mouseleave",en));};})(),()=>{c=true,window.cancelAnimationFrame(d),m?.cleanupFuzzyText&&m.cleanupFuzzyText();}):void 0},[e,n,t,r,i,o,s,l]),jsxRuntime.jsx("canvas",{ref:u,className:"max-w-full"})}function Qa({text:e,className:n,speed:t=50,color:r="#22c55e"}){let i=Wa.useRef(null),o=Wa.useRef(null);return Wa.useEffect(()=>{let s=i.current;if(!s)return;let l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789@#$%^&*",u=e,d=0,c=()=>{if(s.innerText=u.split("").map((m,g)=>g<d?u[g]:l[Math.floor(Math.random()*l.length)]).join(""),d>=u.length){o.current&&clearInterval(o.current);return}d+=1/3;};return o.current=setInterval(c,t),()=>{o.current&&clearInterval(o.current);}},[e,t]),jsxRuntime.jsx("div",{ref:i,className:a("font-mono",n),style:{color:r},children:e})}function ja({text:e,className:n,delay:t=0}){let r=e.split(" "),i={hidden:{opacity:0},visible:(s=1)=>({opacity:1,transition:{staggerChildren:.12,delayChildren:t*s}})},o={visible:{opacity:1,y:0,filter:"blur(0px)",transition:{type:"spring",damping:12,stiffness:100}},hidden:{opacity:0,y:20,filter:"blur(10px)",transition:{type:"spring",damping:12,stiffness:100}}};return jsxRuntime.jsx(framerMotion.motion.div,{className:a("flex flex-wrap",n),variants:i,initial:"hidden",animate:"visible",children:r.map((s,l)=>jsxRuntime.jsx(framerMotion.motion.span,{variants:o,className:"mr-2",children:s},l))})}function ei({text:e,className:n,delay:t=0}){let r=e.split(""),i={hidden:{opacity:0},visible:{opacity:1,transition:{staggerChildren:.03,delayChildren:t}}},o={hidden:{opacity:0,x:-20,y:10,rotate:-10},visible:{opacity:1,x:0,y:0,rotate:0,transition:{type:"spring",damping:12,stiffness:200}}};return jsxRuntime.jsx(framerMotion.motion.span,{className:a("inline-flex",n),variants:i,initial:"hidden",animate:"visible",children:r.map((s,l)=>jsxRuntime.jsx(framerMotion.motion.span,{variants:o,className:"inline-block",style:{whiteSpace:s===" "?"pre":"normal"},children:s===" "?"\xA0":s},l))})}function ri({text:e,className:n,speed:t=50,scrambleChars:r="!<>-_\\/[]{}\u2014=+*^?#________"}){let[i,o]=Wa.useState(e);return Wa.useEffect(()=>{let s=0,l=setInterval(()=>{o(e.split("").map((u,d)=>d<s?e[d]:r[Math.floor(Math.random()*r.length)]).join("")),s>=e.length&&clearInterval(l),s+=1/3;},t);return ()=>clearInterval(l)},[e,t,r]),jsxRuntime.jsx("span",{className:a("font-mono",n),children:i})}function li({children:e,className:n,strength:t=.5}){let r=Wa.useRef(null),[i,o]=Wa.useState({x:0,y:0}),s=c=>{let{clientX:m,clientY:g}=c,{height:p,width:f,left:b,top:h}=r.current.getBoundingClientRect(),y=m-(b+f/2),v=g-(h+p/2);o({x:y*t,y:v*t});},l=()=>{o({x:0,y:0});},{x:u,y:d}=i;return jsxRuntime.jsx(framerMotion.motion.div,{ref:r,onMouseMove:s,onMouseLeave:l,animate:{x:u,y:d},transition:{type:"spring",stiffness:150,damping:15,mass:.1},className:a("inline-block cursor-pointer",n),children:e})}function fi({words:e,className:n,interval:t=3e3}){let[r,i]=Wa.useState(0);return Wa.useEffect(()=>{let o=setInterval(()=>{i(s=>(s+1)%e.length);},t);return ()=>clearInterval(o)},[e.length,t]),jsxRuntime.jsx("div",{className:a("relative inline-block overflow-hidden",n),children:jsxRuntime.jsx(framerMotion.AnimatePresence,{mode:"wait",children:jsxRuntime.jsx(framerMotion.motion.span,{initial:{y:20,opacity:0},animate:{y:0,opacity:1},exit:{y:-20,opacity:0},transition:{duration:.3},className:"inline-block",children:e[r]},e[r])})})}function vi({words:e,className:n,interval:t=2e3}){let[r,i]=Wa.useState(0);return Wa.useEffect(()=>{let o=setInterval(()=>{i(s=>(s+1)%e.length);},t);return ()=>clearInterval(o)},[e.length,t]),jsxRuntime.jsx("span",{className:a("inline-block relative",n),children:jsxRuntime.jsx(framerMotion.AnimatePresence,{mode:"wait",children:jsxRuntime.jsx(framerMotion.motion.span,{initial:{rotateX:-90,opacity:0},animate:{rotateX:0,opacity:1},exit:{rotateX:90,opacity:0},transition:{duration:.4},className:"inline-block",style:{transformStyle:"preserve-3d"},children:e[r]},e[r])})})}function yi({text:e,className:n,delay:t=0,staggerDelay:r=.05}){let i=e.split(""),o={hidden:{opacity:0},visible:{opacity:1,transition:{staggerChildren:r,delayChildren:t}}},s={hidden:{opacity:0,y:20},visible:{opacity:1,y:0,transition:{type:"spring",damping:12,stiffness:200}}};return jsxRuntime.jsx(framerMotion.motion.span,{className:a("inline-flex",n),variants:o,initial:"hidden",animate:"visible",children:i.map((l,u)=>jsxRuntime.jsx(framerMotion.motion.span,{variants:s,className:"inline-block",style:{whiteSpace:l===" "?"pre":"normal"},children:l===" "?"\xA0":l},u))})}function wi({children:e,className:n,speed:t=3}){return jsxRuntime.jsxs("span",{className:a("inline-block bg-gradient-to-r from-red-500 via-yellow-500 via-green-500 via-blue-500 to-purple-500 bg-clip-text text-transparent bg-[length:200%_auto] animate-[rainbow_var(--rainbow-speed)_linear_infinite]",n),style:{"--rainbow-speed":`${t}s`},children:[e,jsxRuntime.jsx("style",{children:`
7
7
  @keyframes rainbow {
8
8
  0% { background-position: 0% center; }
9
9
  100% { background-position: 200% center; }
10
10
  }
11
- `})]})}function si({end:e,start:n=0,duration:t=2e3,className:o,prefix:a="",suffix:i="",decimals:s=0}){let[l,m]=Ro.useState(n);return Ro.useEffect(()=>{let d=null,c,u=f=>{d||(d=f);let p=Math.min((f-d)/t,1),b=1-Math.pow(1-p,4),g=n+(e-n)*b;m(g),p<1&&(c=requestAnimationFrame(u));};return c=requestAnimationFrame(u),()=>cancelAnimationFrame(c)},[n,e,t]),jsxRuntime.jsxs("span",{className:r("tabular-nums",o),children:[a,l.toFixed(s),i]})}function ci({text:e,className:n,stagger:t=.04}){let o=Array.from(e),a={hidden:{opacity:0},visible:{opacity:1,transition:{staggerChildren:t,delayChildren:.02}}},i={hidden:{opacity:0,y:20},visible:{opacity:1,y:0,transition:{type:"spring",damping:12,stiffness:100}}};return jsxRuntime.jsx(framerMotion.motion.div,{className:r("flex overflow-hidden",n),variants:a,initial:"hidden",animate:"visible",children:o.map((s,l)=>jsxRuntime.jsx(framerMotion.motion.span,{variants:i,className:"inline-block",style:{whiteSpace:s===" "?"pre":"normal"},children:s===" "?"\xA0":s},`${s}-${l}`))})}function fi({text:e,className:n="",delay:t=100,duration:o=.6,splitType:a="chars",textAlign:i="center"}){let[s,l]=Ro.useState(false),m=Ro.useRef(null);Ro.useEffect(()=>{if(!m.current)return;let c=new IntersectionObserver(([u])=>{u.isIntersecting&&(l(true),c.unobserve(m.current));},{threshold:.1,rootMargin:"-100px"});return c.observe(m.current),()=>c.disconnect()},[]);let d=a==="words"?e.split(" "):e.split("");return jsxRuntime.jsx("div",{ref:m,className:r("overflow-hidden",n),style:{textAlign:i},children:d.map((c,u)=>jsxRuntime.jsx(framerMotion.motion.span,{initial:{opacity:0,y:40},animate:s?{opacity:1,y:0}:{opacity:0,y:40},transition:{duration:o,delay:u*t/1e3,ease:"easeOut"},className:"inline-block",style:{marginRight:a==="words"?"0.25em":"0"},children:c===" "?"\xA0":c},u))})}function gi({text:e,className:n}){let t=Array.from(e);return jsxRuntime.jsx("div",{className:r("flex",n),children:t.map((o,a)=>jsxRuntime.jsx(framerMotion.motion.span,{className:"inline-block",style:{whiteSpace:o===" "?"pre":"normal"},animate:{scaleY:[1,.5,1.5,.8,1],scaleX:[1,1.5,.5,1.2,1]},transition:{duration:1.5,repeat:1/0,delay:a*.08,ease:"easeInOut",repeatDelay:.3},children:o===" "?"\xA0":o},`${o}-${a}`))})}function hi({text:e,className:n}){let t=Array.from(e);return jsxRuntime.jsx("div",{className:r("flex",n),style:{perspective:"500px"},children:t.map((o,a)=>jsxRuntime.jsx(framerMotion.motion.span,{className:"inline-block",style:{whiteSpace:o===" "?"pre":"normal"},initial:{rotateY:90,opacity:0},animate:{rotateY:0,opacity:1},transition:{delay:a*.04,duration:.5,type:"spring",stiffness:120},whileHover:{rotateY:180,transition:{duration:.3}},children:o===" "?"\xA0":o},`${o}-${a}`))})}function yi({text:e,className:n}){let t=Array.from(e);return jsxRuntime.jsx("div",{className:r("flex",n),children:t.map((o,a)=>jsxRuntime.jsx(framerMotion.motion.span,{className:"inline-block cursor-pointer",style:{whiteSpace:o===" "?"pre":"normal"},whileHover:{scale:[1,1.5,.8,1.2,1],rotate:[0,10,-10,0],transition:{duration:.6,ease:"easeInOut"}},children:o===" "?"\xA0":o},`${o}-${a}`))})}function Pi({text:e,spinDuration:n=20,onHover:t="speedUp",className:o=""}){let a=Array.from(e),i=framerMotion.useAnimation(),s=framerMotion.useMotionValue(0);Ro.useEffect(()=>{let d=s.get();i.start({rotate:d+360,scale:1,transition:{rotate:{from:d,to:d+360,ease:"linear",duration:n,repeat:1/0},scale:{type:"spring",damping:20,stiffness:300}}});},[n,i,s]);let l=()=>{let d=s.get(),c=n,u=1;switch(t){case "slowDown":c=n*2;break;case "speedUp":c=n/4;break;case "pause":c=0;break;case "goBonkers":c=n/20,u=.8;break}t==="pause"?i.stop():i.start({rotate:d+360,scale:u,transition:{rotate:{from:d,to:d+360,ease:"linear",duration:c,repeat:1/0},scale:{type:"spring",damping:20,stiffness:300}}});},m=()=>{let d=s.get();i.start({rotate:d+360,scale:1,transition:{rotate:{from:d,to:d+360,ease:"linear",duration:n,repeat:1/0},scale:{type:"spring",damping:20,stiffness:300}}});};return jsxRuntime.jsx(framerMotion.motion.div,{className:r("relative w-32 h-32 cursor-pointer",o),style:{rotate:s},initial:{rotate:0},animate:i,onMouseEnter:l,onMouseLeave:m,children:a.map((d,c)=>{let u=360/a.length*c,f=60,p=u*Math.PI/180,b=Math.cos(p)*f,g=Math.sin(p)*f;return jsxRuntime.jsx("span",{className:"absolute text-lg font-bold",style:{transform:`translate(-50%, -50%) translate(${b}px, ${g}px) rotate(${u+90}deg)`,left:"50%",top:"50%"},children:d},c)})})}function Si({text:e,className:n,glowColor:t="#3b82f6",hoverColor:o="#ec4899"}){let[a,i]=Ro.useState(false),s=a?o:t;return jsxRuntime.jsx(framerMotion.motion.div,{className:r("font-bold cursor-pointer select-none",n),onMouseEnter:()=>i(true),onMouseLeave:()=>i(false),animate:{color:s,textShadow:`0 0 10px ${s}, 0 0 20px ${s}, 0 0 30px ${s}, 0 0 50px ${s}`},transition:{duration:.4,ease:"easeInOut"},children:e})}function Mi({text:e="Sliced Text",className:n="",containerClassName:t="",splitSpacing:o=2}){return jsxRuntime.jsxs(framerMotion.motion.div,{className:r("w-full text-center relative inline-block",t),whileHover:"hover",initial:"default",children:[jsxRuntime.jsx(framerMotion.motion.div,{className:r("absolute w-full text-4xl -ml-0.5",n),variants:{default:{clipPath:"inset(0 0 50% 0)",y:-o/2,opacity:1},hover:{clipPath:"inset(0 0 0 0)",y:0,opacity:0}},transition:{duration:.1},children:e}),jsxRuntime.jsx(framerMotion.motion.div,{className:r("absolute w-full text-4xl",n),variants:{default:{clipPath:"inset(50% 0 0 0)",y:o/2,opacity:1},hover:{clipPath:"inset(0 0 0 0)",y:0,opacity:1}},transition:{duration:.1},children:e}),jsxRuntime.jsx("div",{className:r("invisible text-4xl",n),children:e})]})}function Bi({text:e,speed:n=50,maxIterations:t=10,sequential:o=false,revealDirection:a="start",useOriginalCharsOnly:i=false,characters:s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz!@#$%^&*()_+",className:l="",parentClassName:m="",encryptedClassName:d="",animateOn:c="hover",...u}){let[f,p]=Ro.useState(e),[b,g]=Ro.useState(false),[x,h]=Ro.useState(false),[v,y]=Ro.useState(new Set),[w,N]=Ro.useState(false),C=Ro.useRef(null);Ro.useEffect(()=>{let L,k=0,P=T=>{let I=e.length;switch(a){case "start":return T.size;case "end":return I-1-T.size;case "center":{let M=Math.floor(I/2),R=Math.floor(T.size/2),H=T.size%2===0?M+R:M-R-1;if(H>=0&&H<I&&!T.has(H))return H;for(let z=0;z<I;z++)if(!T.has(z))return z;return 0}default:return T.size}},A=i?Array.from(new Set(e.split(""))).filter(T=>T!==" "):s.split(""),S=(T,I)=>{if(i){let M=T.split("").map((z,$)=>({char:z,isSpace:z===" ",index:$,isRevealed:I.has($)})),R=M.filter(z=>!z.isSpace&&!z.isRevealed).map(z=>z.char);for(let z=R.length-1;z>0;z--){let $=Math.floor(Math.random()*(z+1));[R[z],R[$]]=[R[$],R[z]];}let H=0;return M.map(z=>z.isSpace?" ":z.isRevealed?T[z.index]:R[H++]).join("")}else return T.split("").map((M,R)=>M===" "?" ":I.has(R)?T[R]:A[Math.floor(Math.random()*A.length)]).join("")};return b?(h(true),L=setInterval(()=>{y(T=>{if(o)if(T.size<e.length){let I=P(T),M=new Set(T);return M.add(I),p(S(e,M)),M}else return clearInterval(L),h(false),T;else return p(S(e,T)),k++,k>=t&&(clearInterval(L),h(false),p(e)),T});},n)):(p(e),y(new Set),h(false)),()=>{L&&clearInterval(L);}},[b,e,n,t,o,a,s,i]),Ro.useEffect(()=>{if(c!=="view"&&c!=="both")return;let L=A=>{A.forEach(S=>{S.isIntersecting&&!w&&(g(true),N(true));});},k=new IntersectionObserver(L,{threshold:.1}),P=C.current;return P&&k.observe(P),()=>{P&&k.unobserve(P);}},[c,w]);let E=c==="hover"||c==="both"?{onMouseEnter:()=>g(true),onMouseLeave:()=>g(false)}:{};return jsxRuntime.jsxs(framerMotion.motion.span,{className:m,ref:C,style:{display:"inline-block",whiteSpace:"pre-wrap"},...E,...u,children:[jsxRuntime.jsx("span",{className:"sr-only",children:f}),jsxRuntime.jsx("span",{"aria-hidden":"true",children:f.split("").map((L,k)=>{let P=v.has(k)||!x||!b;return jsxRuntime.jsx("span",{className:P?l:d,children:L},k)})})]})}function Di({sentence:e="True Focus",manualMode:n=false,blurAmount:t=5,borderColor:o="green",glowColor:a="rgba(0, 255, 0, 0.6)",animationDuration:i=.5,pauseBetweenAnimations:s=1,className:l}){let m=e.split(" "),[d,c]=Ro.useState(0),[u,f]=Ro.useState(null),p=Ro.useRef(null),b=Ro.useRef([]),[g,x]=Ro.useState({x:0,y:0,width:0,height:0});return Ro.useEffect(()=>{if(!n){let h=setInterval(()=>{c(v=>(v+1)%m.length);},(i+s)*1e3);return ()=>clearInterval(h)}},[n,i,s,m.length]),Ro.useEffect(()=>{let h=()=>{if(d===null||d===-1||!b.current[d]||!p.current)return;let v=p.current.getBoundingClientRect(),y=b.current[d].getBoundingClientRect();x({x:y.left-v.left,y:y.top-v.top,width:y.width,height:y.height});};return h(),window.addEventListener("resize",h),()=>window.removeEventListener("resize",h)},[d,m.length]),jsxRuntime.jsxs("div",{ref:p,className:r("relative flex flex-wrap gap-3 p-12 items-center justify-center",l),children:[m.map((h,v)=>{let y=v===d;return jsxRuntime.jsx("span",{ref:w=>{b.current[v]=w;},className:"text-4xl font-bold relative z-10",style:{filter:y?"blur(0px)":`blur(${t}px)`,transition:`all ${i}s ease`,color:y?"#000":"#666",transform:y?"scale(1.05)":"scale(1)"},onMouseEnter:()=>n&&(f(v),c(v)),onMouseLeave:()=>n&&c(u??0),children:h},v)}),jsxRuntime.jsx(framerMotion.motion.div,{className:"absolute pointer-events-none",animate:{x:g.x,y:g.y,width:g.width,height:g.height,opacity:d>=0?1:0},transition:{duration:i},style:{border:`2px solid ${o}`,boxShadow:`0 0 10px ${a}`,borderRadius:4}})]})}function _i({children:e,className:n,...t}){return jsxRuntime.jsx("div",{className:r("rounded-2xl p-6","bg-white/10 dark:bg-black/10","backdrop-blur-xl","border border-white/20 dark:border-white/10","shadow-xl",n),...t,children:e})}function Oi({children:e,className:n,...t}){return jsxRuntime.jsx("div",{className:r("rounded-2xl p-6","bg-white dark:bg-zinc-900","border border-zinc-200 dark:border-zinc-800","shadow-lg","transition-all duration-300 ease-out","hover:shadow-2xl hover:-translate-y-1","hover:border-zinc-300 dark:hover:border-zinc-700",n),...t,children:e})}function Gi({frontContent:e,backContent:n,className:t}){let[o,a]=Ro.useState(false);return jsxRuntime.jsx("div",{className:r("relative w-full h-full [perspective:1000px]",t),onMouseEnter:()=>a(true),onMouseLeave:()=>a(false),children:jsxRuntime.jsxs("div",{className:r("relative w-full h-full [transform-style:preserve-3d] transition-transform duration-700",o?"[transform:rotateY(180deg)]":""),children:[jsxRuntime.jsx("div",{className:r("absolute inset-0 w-full h-full [backface-visibility:hidden]","rounded-2xl bg-white dark:bg-zinc-900","border border-zinc-200 dark:border-zinc-800","shadow-lg p-6"),children:e}),jsxRuntime.jsx("div",{className:r("absolute inset-0 w-full h-full [backface-visibility:hidden] [transform:rotateY(180deg)]","rounded-2xl bg-zinc-100 dark:bg-zinc-800","border border-zinc-200 dark:border-zinc-700","shadow-lg p-6"),children:n})]})})}function Wi({children:e,className:n,hover:t=false}){return jsxRuntime.jsx("div",{className:r("rounded-xl p-6","bg-white dark:bg-zinc-900","border border-zinc-200 dark:border-zinc-800",t&&"transition-all duration-200 hover:shadow-lg hover:-translate-y-1",n),children:e})}function qi({children:e,className:n}){return jsxRuntime.jsx("div",{className:r("mb-4",n),children:e})}function Ui({children:e,className:n}){return jsxRuntime.jsx("h3",{className:r("text-lg font-semibold",n),children:e})}function Ji({children:e,className:n}){return jsxRuntime.jsx("p",{className:r("text-sm text-zinc-500 dark:text-zinc-400",n),children:e})}function Ki({children:e,className:n}){return jsxRuntime.jsx("div",{className:r("",n),children:e})}function Qi({children:e,className:n}){return jsxRuntime.jsx("div",{className:r("mt-4 pt-4 border-t border-zinc-200 dark:border-zinc-800",n),children:e})}function Zi({className:e,size:n="md"}){let t={sm:"w-1.5 h-1.5",md:"w-2.5 h-2.5",lg:"w-4 h-4"};return jsxRuntime.jsx("div",{className:r("flex items-center justify-center gap-1",e),children:[0,1,2].map(o=>jsxRuntime.jsx("div",{className:r(t[n],"rounded-full bg-current animate-bounce"),style:{animationDelay:`${o*.15}s`}},o))})}function ji({className:e,size:n="md"}){return jsxRuntime.jsx("div",{className:r({sm:"w-4 h-4 border-2",md:"w-8 h-8 border-3",lg:"w-12 h-12 border-4"}[n],"rounded-full border-current border-t-transparent animate-spin",e)})}function na({className:e,color:n="bg-blue-500"}){return jsxRuntime.jsx("div",{className:r("h-1 w-full overflow-hidden rounded-full bg-zinc-200 dark:bg-zinc-800",e),children:jsxRuntime.jsx(framerMotion.motion.div,{className:r("h-full rounded-full",n),initial:{x:"-100%"},animate:{x:"100%"},transition:{repeat:1/0,duration:1.5,ease:"easeInOut"},style:{width:"50%"}})})}var oa={sm:"w-8 h-8",md:"w-12 h-12",lg:"w-16 h-16"};function ia({className:e,size:n="md",color:t="bg-blue-500"}){return jsxRuntime.jsxs("div",{className:r("relative",oa[n],e),children:[jsxRuntime.jsx(framerMotion.motion.div,{className:r("absolute inset-0 rounded-full",t),animate:{scale:[1,1.5,1],opacity:[.5,0,.5]},transition:{duration:1.5,repeat:1/0,ease:"easeInOut"}}),jsxRuntime.jsx("div",{className:r("absolute inset-2 rounded-full",t)})]})}function la({className:e,color:n="bg-zinc-900 dark:bg-white"}){return jsxRuntime.jsx("div",{className:r("flex gap-1",e),children:[0,1,2].map(t=>jsxRuntime.jsx(framerMotion.motion.div,{className:r("w-3 h-3 rounded-full",n),animate:{y:[0,-10,0]},transition:{duration:.6,repeat:1/0,delay:t*.1,ease:"easeInOut"}},t))})}function ca({className:e=""}){return jsxRuntime.jsxs("div",{className:r("w-full h-full min-h-[400px] flex items-center justify-center",e),children:[jsxRuntime.jsx("div",{className:"relative",children:jsxRuntime.jsxs("div",{className:"flex items-center justify-center",children:[[...Array(8)].map((n,t)=>jsxRuntime.jsx("div",{className:"absolute w-3 h-3 rounded-full bg-black dark:bg-white",style:{transform:`rotate(${t*45}deg) translateY(-20px)`,animation:"flower-pulse 1.5s ease-in-out infinite",animationDelay:`${t*.1}s`}},t)),jsxRuntime.jsx("div",{className:"w-4 h-4 rounded-full bg-zinc-400"})]})}),jsxRuntime.jsx("style",{jsx:true,children:`
11
+ `})]})}function Pi({end:e,start:n=0,duration:t=2e3,className:r,prefix:i="",suffix:o="",decimals:s=0}){let[l,u]=Wa.useState(n);return Wa.useEffect(()=>{let d=null,c,m=g=>{d||(d=g);let p=Math.min((g-d)/t,1),f=1-Math.pow(1-p,4),b=n+(e-n)*f;u(b),p<1&&(c=requestAnimationFrame(m));};return c=requestAnimationFrame(m),()=>cancelAnimationFrame(c)},[n,e,t]),jsxRuntime.jsxs("span",{className:a("tabular-nums",r),children:[i,l.toFixed(s),o]})}function Mi({text:e,className:n,stagger:t=.04}){let r=Array.from(e),i={hidden:{opacity:0},visible:{opacity:1,transition:{staggerChildren:t,delayChildren:.02}}},o={hidden:{opacity:0,y:20},visible:{opacity:1,y:0,transition:{type:"spring",damping:12,stiffness:100}}};return jsxRuntime.jsx(framerMotion.motion.div,{className:a("flex overflow-hidden",n),variants:i,initial:"hidden",animate:"visible",children:r.map((s,l)=>jsxRuntime.jsx(framerMotion.motion.span,{variants:o,className:"inline-block",style:{whiteSpace:s===" "?"pre":"normal"},children:s===" "?"\xA0":s},`${s}-${l}`))})}function Ei({text:e,className:n="",delay:t=100,duration:r=.6,splitType:i="chars",textAlign:o="center"}){let[s,l]=Wa.useState(false),u=Wa.useRef(null);Wa.useEffect(()=>{if(!u.current)return;let c=new IntersectionObserver(([m])=>{m.isIntersecting&&(l(true),c.unobserve(u.current));},{threshold:.1,rootMargin:"-100px"});return c.observe(u.current),()=>c.disconnect()},[]);let d=i==="words"?e.split(" "):e.split("");return jsxRuntime.jsx("div",{ref:u,className:a("overflow-hidden",n),style:{textAlign:o},children:d.map((c,m)=>jsxRuntime.jsx(framerMotion.motion.span,{initial:{opacity:0,y:40},animate:s?{opacity:1,y:0}:{opacity:0,y:40},transition:{duration:r,delay:m*t/1e3,ease:"easeOut"},className:"inline-block",style:{marginRight:i==="words"?"0.25em":"0"},children:c===" "?"\xA0":c},m))})}function Bi({text:e,className:n}){let t=Array.from(e);return jsxRuntime.jsx("div",{className:a("flex",n),children:t.map((r,i)=>jsxRuntime.jsx(framerMotion.motion.span,{className:"inline-block",style:{whiteSpace:r===" "?"pre":"normal"},animate:{scaleY:[1,.5,1.5,.8,1],scaleX:[1,1.5,.5,1.2,1]},transition:{duration:1.5,repeat:1/0,delay:i*.08,ease:"easeInOut",repeatDelay:.3},children:r===" "?"\xA0":r},`${r}-${i}`))})}function _i({text:e,className:n}){let t=Array.from(e);return jsxRuntime.jsx("div",{className:a("flex",n),style:{perspective:"500px"},children:t.map((r,i)=>jsxRuntime.jsx(framerMotion.motion.span,{className:"inline-block",style:{whiteSpace:r===" "?"pre":"normal"},initial:{rotateY:90,opacity:0},animate:{rotateY:0,opacity:1},transition:{delay:i*.04,duration:.5,type:"spring",stiffness:120},whileHover:{rotateY:180,transition:{duration:.3}},children:r===" "?"\xA0":r},`${r}-${i}`))})}function Fi({text:e,className:n}){let t=Array.from(e);return jsxRuntime.jsx("div",{className:a("flex",n),children:t.map((r,i)=>jsxRuntime.jsx(framerMotion.motion.span,{className:"inline-block cursor-pointer",style:{whiteSpace:r===" "?"pre":"normal"},whileHover:{scale:[1,1.5,.8,1.2,1],rotate:[0,10,-10,0],transition:{duration:.6,ease:"easeInOut"}},children:r===" "?"\xA0":r},`${r}-${i}`))})}function Gi({text:e,spinDuration:n=20,onHover:t="speedUp",className:r=""}){let i=Array.from(e),o=framerMotion.useAnimation(),s=framerMotion.useMotionValue(0);Wa.useEffect(()=>{let d=s.get();o.start({rotate:d+360,scale:1,transition:{rotate:{from:d,to:d+360,ease:"linear",duration:n,repeat:1/0},scale:{type:"spring",damping:20,stiffness:300}}});},[n,o,s]);let l=()=>{let d=s.get(),c=n,m=1;switch(t){case "slowDown":c=n*2;break;case "speedUp":c=n/4;break;case "pause":c=0;break;case "goBonkers":c=n/20,m=.8;break}t==="pause"?o.stop():o.start({rotate:d+360,scale:m,transition:{rotate:{from:d,to:d+360,ease:"linear",duration:c,repeat:1/0},scale:{type:"spring",damping:20,stiffness:300}}});},u=()=>{let d=s.get();o.start({rotate:d+360,scale:1,transition:{rotate:{from:d,to:d+360,ease:"linear",duration:n,repeat:1/0},scale:{type:"spring",damping:20,stiffness:300}}});};return jsxRuntime.jsx(framerMotion.motion.div,{className:a("relative w-32 h-32 cursor-pointer",r),style:{rotate:s},initial:{rotate:0},animate:o,onMouseEnter:l,onMouseLeave:u,children:i.map((d,c)=>{let m=360/i.length*c,g=60,p=m*Math.PI/180,f=Math.cos(p)*g,b=Math.sin(p)*g;return jsxRuntime.jsx("span",{className:"absolute text-lg font-bold",style:{transform:`translate(-50%, -50%) translate(${f}px, ${b}px) rotate(${m+90}deg)`,left:"50%",top:"50%"},children:d},c)})})}function qi({text:e,className:n,glowColor:t="#3b82f6",hoverColor:r="#ec4899"}){let[i,o]=Wa.useState(false),s=i?r:t;return jsxRuntime.jsx(framerMotion.motion.div,{className:a("font-bold cursor-pointer select-none",n),onMouseEnter:()=>o(true),onMouseLeave:()=>o(false),animate:{color:s,textShadow:`0 0 10px ${s}, 0 0 20px ${s}, 0 0 30px ${s}, 0 0 50px ${s}`},transition:{duration:.4,ease:"easeInOut"},children:e})}function Ji({text:e="Sliced Text",className:n="",containerClassName:t="",splitSpacing:r=2}){return jsxRuntime.jsxs(framerMotion.motion.div,{className:a("w-full text-center relative inline-block",t),whileHover:"hover",initial:"default",children:[jsxRuntime.jsx(framerMotion.motion.div,{className:a("absolute w-full text-4xl -ml-0.5",n),variants:{default:{clipPath:"inset(0 0 50% 0)",y:-r/2,opacity:1},hover:{clipPath:"inset(0 0 0 0)",y:0,opacity:0}},transition:{duration:.1},children:e}),jsxRuntime.jsx(framerMotion.motion.div,{className:a("absolute w-full text-4xl",n),variants:{default:{clipPath:"inset(50% 0 0 0)",y:r/2,opacity:1},hover:{clipPath:"inset(0 0 0 0)",y:0,opacity:1}},transition:{duration:.1},children:e}),jsxRuntime.jsx("div",{className:a("invisible text-4xl",n),children:e})]})}function ji({text:e,speed:n=50,maxIterations:t=10,sequential:r=false,revealDirection:i="start",useOriginalCharsOnly:o=false,characters:s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz!@#$%^&*()_+",className:l="",parentClassName:u="",encryptedClassName:d="",animateOn:c="hover",...m}){let[g,p]=Wa.useState(e),[f,b]=Wa.useState(false),[h,y]=Wa.useState(false),[v,x]=Wa.useState(new Set),[w,k]=Wa.useState(false),T=Wa.useRef(null);Wa.useEffect(()=>{let P,z=0,R=M=>{let A=e.length;switch(i){case "start":return M.size;case "end":return A-1-M.size;case "center":{let E=Math.floor(A/2),L=Math.floor(M.size/2),H=M.size%2===0?E+L:E-L-1;if(H>=0&&H<A&&!M.has(H))return H;for(let I=0;I<A;I++)if(!M.has(I))return I;return 0}default:return M.size}},C=o?Array.from(new Set(e.split(""))).filter(M=>M!==" "):s.split(""),S=(M,A)=>{if(o){let E=M.split("").map((I,$)=>({char:I,isSpace:I===" ",index:$,isRevealed:A.has($)})),L=E.filter(I=>!I.isSpace&&!I.isRevealed).map(I=>I.char);for(let I=L.length-1;I>0;I--){let $=Math.floor(Math.random()*(I+1));[L[I],L[$]]=[L[$],L[I]];}let H=0;return E.map(I=>I.isSpace?" ":I.isRevealed?M[I.index]:L[H++]).join("")}else return M.split("").map((E,L)=>E===" "?" ":A.has(L)?M[L]:C[Math.floor(Math.random()*C.length)]).join("")};return f?(y(true),P=setInterval(()=>{x(M=>{if(r)if(M.size<e.length){let A=R(M),E=new Set(M);return E.add(A),p(S(e,E)),E}else return clearInterval(P),y(false),M;else return p(S(e,M)),z++,z>=t&&(clearInterval(P),y(false),p(e)),M});},n)):(p(e),x(new Set),y(false)),()=>{P&&clearInterval(P);}},[f,e,n,t,r,i,s,o]),Wa.useEffect(()=>{if(c!=="view"&&c!=="both")return;let P=C=>{C.forEach(S=>{S.isIntersecting&&!w&&(b(true),k(true));});},z=new IntersectionObserver(P,{threshold:.1}),R=T.current;return R&&z.observe(R),()=>{R&&z.unobserve(R);}},[c,w]);let N=c==="hover"||c==="both"?{onMouseEnter:()=>b(true),onMouseLeave:()=>b(false)}:{};return jsxRuntime.jsxs(framerMotion.motion.span,{className:u,ref:T,style:{display:"inline-block",whiteSpace:"pre-wrap"},...N,...m,children:[jsxRuntime.jsx("span",{className:"sr-only",children:g}),jsxRuntime.jsx("span",{"aria-hidden":"true",children:g.split("").map((P,z)=>{let R=v.has(z)||!h||!f;return jsxRuntime.jsx("span",{className:R?l:d,children:P},z)})})]})}function ns({sentence:e="True Focus",manualMode:n=false,blurAmount:t=5,borderColor:r="green",glowColor:i="rgba(0, 255, 0, 0.6)",animationDuration:o=.5,pauseBetweenAnimations:s=1,className:l}){let u=e.split(" "),[d,c]=Wa.useState(0),[m,g]=Wa.useState(null),p=Wa.useRef(null),f=Wa.useRef([]),[b,h]=Wa.useState({x:0,y:0,width:0,height:0});return Wa.useEffect(()=>{if(!n){let y=setInterval(()=>{c(v=>(v+1)%u.length);},(o+s)*1e3);return ()=>clearInterval(y)}},[n,o,s,u.length]),Wa.useEffect(()=>{let y=()=>{if(d===null||d===-1||!f.current[d]||!p.current)return;let v=p.current.getBoundingClientRect(),x=f.current[d].getBoundingClientRect();h({x:x.left-v.left,y:x.top-v.top,width:x.width,height:x.height});};return y(),window.addEventListener("resize",y),()=>window.removeEventListener("resize",y)},[d,u.length]),jsxRuntime.jsxs("div",{ref:p,className:a("relative flex flex-wrap gap-3 p-12 items-center justify-center",l),children:[u.map((y,v)=>{let x=v===d;return jsxRuntime.jsx("span",{ref:w=>{f.current[v]=w;},className:"text-4xl font-bold relative z-10",style:{filter:x?"blur(0px)":`blur(${t}px)`,transition:`all ${o}s ease`,color:x?"#000":"#666",transform:x?"scale(1.05)":"scale(1)"},onMouseEnter:()=>n&&(g(v),c(v)),onMouseLeave:()=>n&&c(m??0),children:y},v)}),jsxRuntime.jsx(framerMotion.motion.div,{className:"absolute pointer-events-none",animate:{x:b.x,y:b.y,width:b.width,height:b.height,opacity:d>=0?1:0},transition:{duration:o},style:{border:`2px solid ${r}`,boxShadow:`0 0 10px ${i}`,borderRadius:4}})]})}function os({children:e,className:n,...t}){return jsxRuntime.jsx("div",{className:a("rounded-2xl p-6","bg-white/10 dark:bg-black/10","backdrop-blur-xl","border border-white/20 dark:border-white/10","shadow-xl",n),...t,children:e})}function is({children:e,className:n,...t}){return jsxRuntime.jsx("div",{className:a("rounded-2xl p-6","bg-white dark:bg-zinc-900","border border-zinc-200 dark:border-zinc-800","shadow-lg","transition-all duration-300 ease-out","hover:shadow-2xl hover:-translate-y-1","hover:border-zinc-300 dark:hover:border-zinc-700",n),...t,children:e})}function cs({frontContent:e,backContent:n,className:t}){let[r,i]=Wa.useState(false);return jsxRuntime.jsx("div",{className:a("relative w-full h-full [perspective:1000px]",t),onMouseEnter:()=>i(true),onMouseLeave:()=>i(false),children:jsxRuntime.jsxs("div",{className:a("relative w-full h-full [transform-style:preserve-3d] transition-transform duration-700",r?"[transform:rotateY(180deg)]":""),children:[jsxRuntime.jsx("div",{className:a("absolute inset-0 w-full h-full [backface-visibility:hidden]","rounded-2xl bg-white dark:bg-zinc-900","border border-zinc-200 dark:border-zinc-800","shadow-lg p-6"),children:e}),jsxRuntime.jsx("div",{className:a("absolute inset-0 w-full h-full [backface-visibility:hidden] [transform:rotateY(180deg)]","rounded-2xl bg-zinc-100 dark:bg-zinc-800","border border-zinc-200 dark:border-zinc-700","shadow-lg p-6"),children:n})]})})}function us({children:e,className:n,hover:t=false}){return jsxRuntime.jsx("div",{className:a("rounded-xl p-6","bg-white dark:bg-zinc-900","border border-zinc-200 dark:border-zinc-800",t&&"transition-all duration-200 hover:shadow-lg hover:-translate-y-1",n),children:e})}function ms({children:e,className:n}){return jsxRuntime.jsx("div",{className:a("mb-4",n),children:e})}function ps({children:e,className:n}){return jsxRuntime.jsx("h3",{className:a("text-lg font-semibold",n),children:e})}function fs({children:e,className:n}){return jsxRuntime.jsx("p",{className:a("text-sm text-zinc-500 dark:text-zinc-400",n),children:e})}function gs({children:e,className:n}){return jsxRuntime.jsx("div",{className:a("",n),children:e})}function bs({children:e,className:n}){return jsxRuntime.jsx("div",{className:a("mt-4 pt-4 border-t border-zinc-200 dark:border-zinc-800",n),children:e})}function hs({className:e,size:n="md"}){let t={sm:"w-1.5 h-1.5",md:"w-2.5 h-2.5",lg:"w-4 h-4"};return jsxRuntime.jsx("div",{className:a("flex items-center justify-center gap-1",e),children:[0,1,2].map(r=>jsxRuntime.jsx("div",{className:a(t[n],"rounded-full bg-current animate-bounce"),style:{animationDelay:`${r*.15}s`}},r))})}function xs({className:e,size:n="md"}){return jsxRuntime.jsx("div",{className:a({sm:"w-4 h-4 border-2",md:"w-8 h-8 border-3",lg:"w-12 h-12 border-4"}[n],"rounded-full border-current border-t-transparent animate-spin",e)})}function ws({className:e,color:n="bg-blue-500"}){return jsxRuntime.jsx("div",{className:a("h-1 w-full overflow-hidden rounded-full bg-zinc-200 dark:bg-zinc-800",e),children:jsxRuntime.jsx(framerMotion.motion.div,{className:a("h-full rounded-full",n),initial:{x:"-100%"},animate:{x:"100%"},transition:{repeat:1/0,duration:1.5,ease:"easeInOut"},style:{width:"50%"}})})}var Ns={sm:"w-8 h-8",md:"w-12 h-12",lg:"w-16 h-16"};function Ts({className:e,size:n="md",color:t="bg-blue-500"}){return jsxRuntime.jsxs("div",{className:a("relative",Ns[n],e),children:[jsxRuntime.jsx(framerMotion.motion.div,{className:a("absolute inset-0 rounded-full",t),animate:{scale:[1,1.5,1],opacity:[.5,0,.5]},transition:{duration:1.5,repeat:1/0,ease:"easeInOut"}}),jsxRuntime.jsx("div",{className:a("absolute inset-2 rounded-full",t)})]})}function Rs({className:e,color:n="bg-zinc-900 dark:bg-white"}){return jsxRuntime.jsx("div",{className:a("flex gap-1",e),children:[0,1,2].map(t=>jsxRuntime.jsx(framerMotion.motion.div,{className:a("w-3 h-3 rounded-full",n),animate:{y:[0,-10,0]},transition:{duration:.6,repeat:1/0,delay:t*.1,ease:"easeInOut"}},t))})}function Ms({className:e=""}){return jsxRuntime.jsxs("div",{className:a("w-full h-full min-h-[400px] flex items-center justify-center",e),children:[jsxRuntime.jsx("div",{className:"relative",children:jsxRuntime.jsxs("div",{className:"flex items-center justify-center",children:[[...Array(8)].map((n,t)=>jsxRuntime.jsx("div",{className:"absolute w-3 h-3 rounded-full bg-black dark:bg-white",style:{transform:`rotate(${t*45}deg) translateY(-20px)`,animation:"flower-pulse 1.5s ease-in-out infinite",animationDelay:`${t*.1}s`}},t)),jsxRuntime.jsx("div",{className:"w-4 h-4 rounded-full bg-zinc-400"})]})}),jsxRuntime.jsx("style",{jsx:true,children:`
12
12
  @keyframes flower-pulse {
13
13
  0%, 100% { opacity: 0.3; scale: 0.8; }
14
14
  50% { opacity: 1; scale: 1.2; }
15
15
  }
16
- `})]})}function da({className:e=""}){return jsxRuntime.jsxs("div",{className:r("w-full h-full min-h-[400px] flex items-center justify-center",e),children:[jsxRuntime.jsx("div",{className:"flex justify-center items-center",children:jsxRuntime.jsxs("div",{className:"w-36 h-36 flex justify-center items-center relative",children:[jsxRuntime.jsx("div",{className:"w-4 h-16 absolute bg-zinc-600 dark:bg-zinc-400 animate-[move-h_1.2s_infinite_cubic-bezier(0.65,0.05,0.36,1)]"}),jsxRuntime.jsx("div",{className:"w-4 h-16 absolute bg-zinc-800 dark:bg-zinc-200 rotate-90 animate-[move-v_1.2s_infinite_cubic-bezier(0.65,0.05,0.36,1)]"}),jsxRuntime.jsx("div",{className:"absolute top-4 left-5 font-black text-lg text-black dark:text-white animate-[rot_0.8s_infinite_cubic-bezier(0.65,0.05,0.36,1)]",children:"X"}),jsxRuntime.jsx("div",{className:"absolute bottom-0 right-0 font-black text-3xl text-black dark:text-white animate-[scale_0.8s_infinite_cubic-bezier(0.65,0.05,0.36,1)]",children:"*"})]})}),jsxRuntime.jsx("style",{jsx:true,children:`
16
+ `})]})}function Ss({className:e=""}){return jsxRuntime.jsxs("div",{className:a("w-full h-full min-h-[400px] flex items-center justify-center",e),children:[jsxRuntime.jsx("div",{className:"flex justify-center items-center",children:jsxRuntime.jsxs("div",{className:"w-36 h-36 flex justify-center items-center relative",children:[jsxRuntime.jsx("div",{className:"w-4 h-16 absolute bg-zinc-600 dark:bg-zinc-400 animate-[move-h_1.2s_infinite_cubic-bezier(0.65,0.05,0.36,1)]"}),jsxRuntime.jsx("div",{className:"w-4 h-16 absolute bg-zinc-800 dark:bg-zinc-200 rotate-90 animate-[move-v_1.2s_infinite_cubic-bezier(0.65,0.05,0.36,1)]"}),jsxRuntime.jsx("div",{className:"absolute top-4 left-5 font-black text-lg text-black dark:text-white animate-[rot_0.8s_infinite_cubic-bezier(0.65,0.05,0.36,1)]",children:"X"}),jsxRuntime.jsx("div",{className:"absolute bottom-0 right-0 font-black text-3xl text-black dark:text-white animate-[scale_0.8s_infinite_cubic-bezier(0.65,0.05,0.36,1)]",children:"*"})]})}),jsxRuntime.jsx("style",{jsx:true,children:`
17
17
  @keyframes move-h { 0% { top: 0; opacity: 0; } 25% { opacity: 1; } 50% { top: 30%; opacity: 1; } 75% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
18
18
  @keyframes move-v { 0% { left: 0; opacity: 0; } 25% { opacity: 1; } 50% { left: 45%; opacity: 1; } 75% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
19
19
  @keyframes rot { 0% { transform: rotate(0deg); } 50% { transform: rotate(180deg); } 100% { transform: rotate(360deg); } }
20
20
  @keyframes scale { 0% { scale: 1; } 50% { scale: 1.9; } 100% { scale: 1; } }
21
- `})]})}function ma({className:e=""}){return jsxRuntime.jsx("div",{className:r("w-full h-full min-h-[400px] flex items-center justify-center",e),children:jsxRuntime.jsx("div",{className:"w-20 h-20 rounded-full border-8 border-transparent border-t-black dark:border-t-white border-r-zinc-600 dark:border-r-zinc-400 border-b-zinc-400 dark:border-b-zinc-600 border-l-zinc-200 dark:border-l-zinc-800 animate-[morph_2s_ease-in-out_infinite,rotate-color_2s_linear_infinite]",children:jsxRuntime.jsx("style",{jsx:true,children:`
21
+ `})]})}function Cs({className:e=""}){return jsxRuntime.jsx("div",{className:a("w-full h-full min-h-[400px] flex items-center justify-center",e),children:jsxRuntime.jsx("div",{className:"w-20 h-20 rounded-full border-8 border-transparent border-t-black dark:border-t-white border-r-zinc-600 dark:border-r-zinc-400 border-b-zinc-400 dark:border-b-zinc-600 border-l-zinc-200 dark:border-l-zinc-800 animate-[morph_2s_ease-in-out_infinite,rotate-color_2s_linear_infinite]",children:jsxRuntime.jsx("style",{jsx:true,children:`
22
22
  @keyframes rotate-color { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
23
23
  @keyframes morph { 0%, 100% { border-radius: 50%; width: 80px; height: 80px; } 50% { border-radius: 10%; width: 100px; height: 100px; } }
24
- `})})})}function ua({className:e=""}){return jsxRuntime.jsx("div",{className:r("w-full h-full min-h-[400px] flex items-center justify-center",e),children:jsxRuntime.jsxs("div",{className:"w-16 h-16",children:[jsxRuntime.jsx("div",{className:"box-border w-full h-full border-[10px] border-zinc-300 dark:border-zinc-800 border-t-zinc-700 dark:border-t-zinc-200 border-b-zinc-500 rounded-full animate-[rotate_5s_linear_infinite]",children:jsxRuntime.jsx("div",{className:"box-border w-full h-full border-[10px] border-zinc-300 dark:border-zinc-800 border-t-zinc-600 dark:border-t-zinc-400 border-b-black dark:border-b-white rounded-full animate-[rotate_2.5s_linear_infinite]"})}),jsxRuntime.jsx("style",{jsx:true,children:`
24
+ `})})})}function Ls({className:e=""}){return jsxRuntime.jsx("div",{className:a("w-full h-full min-h-[400px] flex items-center justify-center",e),children:jsxRuntime.jsxs("div",{className:"w-16 h-16",children:[jsxRuntime.jsx("div",{className:"box-border w-full h-full border-[10px] border-zinc-300 dark:border-zinc-800 border-t-zinc-700 dark:border-t-zinc-200 border-b-zinc-500 rounded-full animate-[rotate_5s_linear_infinite]",children:jsxRuntime.jsx("div",{className:"box-border w-full h-full border-[10px] border-zinc-300 dark:border-zinc-800 border-t-zinc-600 dark:border-t-zinc-400 border-b-black dark:border-b-white rounded-full animate-[rotate_2.5s_linear_infinite]"})}),jsxRuntime.jsx("style",{jsx:true,children:`
25
25
  @keyframes rotate { 0% { transform: scale(1) rotate(360deg); } 50% { transform: scale(0.8) rotate(-360deg); } 100% { transform: scale(1) rotate(360deg); } }
26
- `})]})})}function fa({text:e="loading",className:n=""}){return jsxRuntime.jsx("div",{className:r("w-full h-full min-h-[400px] flex items-center justify-center",n),children:jsxRuntime.jsxs("div",{className:"relative w-20 h-12",children:[jsxRuntime.jsx("span",{className:"absolute top-0 left-0 m-0 p-0 text-black dark:text-white text-sm tracking-wider animate-[loading-text_3.5s_ease_both_infinite]",children:e}),jsxRuntime.jsx("span",{className:"absolute bottom-0 left-0 block h-4 w-4 rounded-full bg-black dark:bg-white animate-[loading-bar_3.5s_ease_both_infinite]",children:jsxRuntime.jsx("span",{className:"absolute inset-0 rounded-full bg-zinc-400 dark:bg-zinc-500 animate-[loading-bar-before_3.5s_ease_both_infinite]"})}),jsxRuntime.jsx("style",{jsx:true,children:`
26
+ `})]})})}function Es({text:e="loading",className:n=""}){return jsxRuntime.jsx("div",{className:a("w-full h-full min-h-[400px] flex items-center justify-center",n),children:jsxRuntime.jsxs("div",{className:"relative w-20 h-12",children:[jsxRuntime.jsx("span",{className:"absolute top-0 left-0 m-0 p-0 text-black dark:text-white text-sm tracking-wider animate-[loading-text_3.5s_ease_both_infinite]",children:e}),jsxRuntime.jsx("span",{className:"absolute bottom-0 left-0 block h-4 w-4 rounded-full bg-black dark:bg-white animate-[loading-bar_3.5s_ease_both_infinite]",children:jsxRuntime.jsx("span",{className:"absolute inset-0 rounded-full bg-zinc-400 dark:bg-zinc-500 animate-[loading-bar-before_3.5s_ease_both_infinite]"})}),jsxRuntime.jsx("style",{jsx:true,children:`
27
27
  @keyframes loading-text { 0% { letter-spacing: 1px; transform: translateX(0px); } 40% { letter-spacing: 2px; transform: translateX(26px); } 80% { letter-spacing: 1px; transform: translateX(32px); } 90% { letter-spacing: 2px; transform: translateX(0px); } 100% { letter-spacing: 1px; transform: translateX(0px); } }
28
28
  @keyframes loading-bar { 0% { width: 16px; transform: translateX(0px); } 40% { width: 100%; transform: translateX(0px); } 80% { width: 16px; transform: translateX(64px); } 90% { width: 100%; transform: translateX(0px); } 100% { width: 16px; transform: translateX(0px); } }
29
29
  @keyframes loading-bar-before { 0% { transform: translateX(0px); width: 16px; } 40% { transform: translateX(0%); width: 80%; } 80% { width: 100%; transform: translateX(0px); } 90% { width: 80%; transform: translateX(15px); } 100% { transform: translateX(0px); width: 16px; } }
30
- `})]})})}function ga({words:e=["buttons","forms","switches","cards","loaders"],className:n=""}){return jsxRuntime.jsxs("div",{className:r("w-full h-full min-h-[400px] flex items-center justify-center",n),children:[jsxRuntime.jsxs("div",{className:"text-zinc-400 dark:text-zinc-500 font-medium text-2xl box-border h-10 px-2.5 py-2 flex items-center rounded-lg",children:[jsxRuntime.jsx("span",{className:"mr-2",children:"loading"}),jsxRuntime.jsxs("div",{className:"overflow-hidden relative h-full",children:[jsxRuntime.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-white via-transparent to-white dark:from-zinc-950 dark:via-transparent dark:to-zinc-950 z-10"}),e.map((t,o)=>jsxRuntime.jsx("span",{className:"block h-full pl-1.5 text-black dark:text-white animate-[spin-words_4s_infinite]",style:{animationDelay:`${o*.8}s`},children:t},o))]})]}),jsxRuntime.jsx("style",{jsx:true,children:`
30
+ `})]})})}function Bs({words:e=["buttons","forms","switches","cards","loaders"],className:n=""}){return jsxRuntime.jsxs("div",{className:a("w-full h-full min-h-[400px] flex items-center justify-center",n),children:[jsxRuntime.jsxs("div",{className:"text-zinc-400 dark:text-zinc-500 font-medium text-2xl box-border h-10 px-2.5 py-2 flex items-center rounded-lg",children:[jsxRuntime.jsx("span",{className:"mr-2",children:"loading"}),jsxRuntime.jsxs("div",{className:"overflow-hidden relative h-full",children:[jsxRuntime.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-white via-transparent to-white dark:from-zinc-950 dark:via-transparent dark:to-zinc-950 z-10"}),e.map((t,r)=>jsxRuntime.jsx("span",{className:"block h-full pl-1.5 text-black dark:text-white animate-[spin-words_4s_infinite]",style:{animationDelay:`${r*.8}s`},children:t},r))]})]}),jsxRuntime.jsx("style",{jsx:true,children:`
31
31
  @keyframes spin-words { 10% { transform: translateY(-102%); } 25% { transform: translateY(-100%); } 35% { transform: translateY(-202%); } 50% { transform: translateY(-200%); } 60% { transform: translateY(-302%); } 75% { transform: translateY(-300%); } 85% { transform: translateY(-402%); } 100% { transform: translateY(-400%); } }
32
- `})]})}function Na({className:e,children:n,delay:t=1e3}){let[o,a]=Ro.useState(0),i=Ro__default.default.Children.toArray(n);Ro.useEffect(()=>{let l=setInterval(()=>{a(m=>(m+1)%i.length);},t);return ()=>clearInterval(l)},[i.length,t]);let s=Ro.useMemo(()=>i.slice(0,o+1).reverse(),[o,i]);return jsxRuntime.jsx("div",{className:r("flex flex-col items-center gap-4",e),children:jsxRuntime.jsx(framerMotion.AnimatePresence,{children:s.map((l,m)=>jsxRuntime.jsx(en,{children:l},m))})})}function en({children:e}){return jsxRuntime.jsx(framerMotion.motion.div,{initial:{scale:0,opacity:0},animate:{scale:1,opacity:1},exit:{scale:0,opacity:0},transition:{type:"spring",stiffness:350,damping:40},layout:true,className:"mx-auto w-full",children:e})}function Ta({className:e,variant:n="text",width:t,height:o}){return jsxRuntime.jsx("div",{className:r("animate-pulse bg-zinc-200 dark:bg-zinc-800",{text:"h-4 rounded",circular:"rounded-full",rectangular:"rounded-lg"}[n],e),style:{width:t,height:o}})}function Ca({children:e,content:n,position:t="top",className:o}){let[a,i]=Ro.useState(false),s={top:"bottom-full left-1/2 -translate-x-1/2 mb-2",bottom:"top-full left-1/2 -translate-x-1/2 mt-2",left:"right-full top-1/2 -translate-y-1/2 mr-2",right:"left-full top-1/2 -translate-y-1/2 ml-2"},l={top:{initial:{opacity:0,y:5},animate:{opacity:1,y:0}},bottom:{initial:{opacity:0,y:-5},animate:{opacity:1,y:0}},left:{initial:{opacity:0,x:5},animate:{opacity:1,x:0}},right:{initial:{opacity:0,x:-5},animate:{opacity:1,x:0}}};return jsxRuntime.jsxs("div",{className:"relative inline-block",onMouseEnter:()=>i(true),onMouseLeave:()=>i(false),children:[e,jsxRuntime.jsx(framerMotion.AnimatePresence,{children:a&&jsxRuntime.jsx(framerMotion.motion.div,{className:r("absolute z-50 px-2 py-1 text-sm text-white bg-zinc-900 dark:bg-zinc-100 dark:text-zinc-900 rounded whitespace-nowrap",s[t],o),initial:l[t].initial,animate:l[t].animate,exit:l[t].initial,transition:{duration:.15},children:n})})]})}function Ea({content:e,children:n,position:t="top",delay:o=300,className:a}){let[i,s]=Ro.useState(false),l=Ro.useRef(void 0),m=()=>{l.current=setTimeout(()=>s(true),o);},d=()=>{l.current&&clearTimeout(l.current),s(false);},c=()=>({top:"bottom-full left-1/2 -translate-x-1/2 mb-2",bottom:"top-full left-1/2 -translate-x-1/2 mt-2",left:"right-full top-1/2 -translate-y-1/2 mr-2",right:"left-full top-1/2 -translate-y-1/2 ml-2"})[t];return jsxRuntime.jsxs("div",{className:r("relative inline-block",a),onMouseEnter:m,onMouseLeave:d,children:[n,jsxRuntime.jsx(framerMotion.AnimatePresence,{children:i&&jsxRuntime.jsx(framerMotion.motion.div,{initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.95},transition:{duration:.15},className:r("absolute z-50 px-3 py-2 text-sm bg-popover border border-border rounded-lg shadow-md whitespace-nowrap",c()),children:e})})]})}function Oa({content:e,children:n,position:t="top",delay:o=200,animation:a="slide",className:i}){let[s,l]=Ro.useState(false),m=Ro.useRef(void 0),d=()=>{m.current=setTimeout(()=>l(true),o);},c=()=>{m.current&&clearTimeout(m.current),l(false);},u=()=>({top:"bottom-full left-1/2 -translate-x-1/2 mb-3",bottom:"top-full left-1/2 -translate-x-1/2 mt-3",left:"right-full top-1/2 -translate-y-1/2 mr-3",right:"left-full top-1/2 -translate-y-1/2 ml-3"})[t],f=()=>{let b={top:{y:10},bottom:{y:-10},left:{x:10},right:{x:-10}},{x:g=0,y:x=0}=b[t];return {...{fade:{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0}},scale:{initial:{opacity:0,scale:.8},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.8}},bounce:{initial:{opacity:0,scale:.3,y:t==="top"?10:-10},animate:{opacity:1,scale:1,y:0},exit:{opacity:0,scale:.3,y:t==="top"?10:-10}},slide:{initial:{opacity:0,x:g,y:x},animate:{opacity:1,x:0,y:0},exit:{opacity:0,x:g,y:x}}}[a],transition:{type:"spring",stiffness:300,damping:25}}};return jsxRuntime.jsxs("div",{className:r("relative inline-block",i),onMouseEnter:d,onMouseLeave:c,children:[n,jsxRuntime.jsx(framerMotion.AnimatePresence,{children:s&&jsxRuntime.jsx(framerMotion.motion.div,{...f(),className:r("absolute z-50 px-4 py-2 text-sm bg-popover border border-border rounded-xl shadow-lg whitespace-nowrap backdrop-blur-sm",u()),children:e})})]})}var Xa={default:"bg-zinc-100 text-zinc-900 dark:bg-zinc-800 dark:text-zinc-100",success:"bg-green-100 text-green-800 dark:bg-green-900/30 dark:text-green-400",warning:"bg-yellow-100 text-yellow-800 dark:bg-yellow-900/30 dark:text-yellow-400",danger:"bg-red-100 text-red-800 dark:bg-red-900/30 dark:text-red-400",info:"bg-blue-100 text-blue-800 dark:bg-blue-900/30 dark:text-blue-400"},Ga={sm:"px-2 py-0.5 text-xs",md:"px-2.5 py-1 text-sm",lg:"px-3 py-1.5 text-base"};function Ya({children:e,variant:n="default",size:t="md",className:o}){return jsxRuntime.jsx("span",{className:r("inline-flex items-center font-medium rounded-full",Xa[n],Ga[t],o),children:e})}var qa={sm:"w-8 h-8 text-xs",md:"w-10 h-10 text-sm",lg:"w-12 h-12 text-base",xl:"w-16 h-16 text-lg"};function Ua({src:e,alt:n="",fallback:t,size:o="md",className:a}){let i=t||n.split(" ").map(s=>s[0]).join("").slice(0,2).toUpperCase();return jsxRuntime.jsx("div",{className:r("relative inline-flex items-center justify-center rounded-full bg-zinc-200 dark:bg-zinc-800 overflow-hidden",qa[o],a),children:e?jsxRuntime.jsx("img",{src:e,alt:n,className:"w-full h-full object-cover"}):jsxRuntime.jsx("span",{className:"font-medium text-zinc-600 dark:text-zinc-400",children:i})})}function Ka({value:e,max:n=100,className:t,color:o="bg-blue-500",showLabel:a=false}){let i=Math.min(Math.max(e/n*100,0),100);return jsxRuntime.jsxs("div",{className:r("w-full",t),children:[jsxRuntime.jsx("div",{className:"h-2 w-full overflow-hidden rounded-full bg-zinc-200 dark:bg-zinc-800",children:jsxRuntime.jsx(framerMotion.motion.div,{className:r("h-full rounded-full",o),initial:{width:0},animate:{width:`${i}%`},transition:{duration:.5,ease:"easeOut"}})}),a&&jsxRuntime.jsxs("span",{className:"mt-1 text-sm text-zinc-600 dark:text-zinc-400",children:[Math.round(i),"%"]})]})}var Za={sm:{track:"w-8 h-4",thumb:"w-3 h-3",translate:16},md:{track:"w-11 h-6",thumb:"w-5 h-5",translate:20},lg:{track:"w-14 h-7",thumb:"w-6 h-6",translate:28}};function ja({checked:e=false,onChange:n,disabled:t=false,size:o="md",className:a}){let i=Za[o];return jsxRuntime.jsx("button",{type:"button",role:"switch","aria-checked":e,disabled:t,onClick:()=>n?.(!e),className:r("relative inline-flex shrink-0 cursor-pointer rounded-full transition-colors",e?"bg-blue-500":"bg-zinc-300 dark:bg-zinc-700",t&&"opacity-50 cursor-not-allowed",i.track,a),children:jsxRuntime.jsx(framerMotion.motion.span,{className:r("pointer-events-none inline-block rounded-full bg-white shadow-lg",i.thumb),animate:{x:e?i.translate:2},transition:{type:"spring",stiffness:500,damping:30},style:{marginTop:2}})})}function ns({items:e,className:n,allowMultiple:t=false}){let[o,a]=Ro.useState([]),i=s=>{a(t?l=>l.includes(s)?l.filter(m=>m!==s):[...l,s]:l=>l.includes(s)?[]:[s]);};return jsxRuntime.jsx("div",{className:r("w-full space-y-2",n),children:e.map((s,l)=>jsxRuntime.jsxs("div",{className:"border border-zinc-200 dark:border-zinc-800 rounded-lg overflow-hidden",children:[jsxRuntime.jsxs("button",{onClick:()=>i(l),className:"w-full px-4 py-3 flex items-center justify-between text-left bg-zinc-50 dark:bg-zinc-900 hover:bg-zinc-100 dark:hover:bg-zinc-800 transition-colors",children:[jsxRuntime.jsx("span",{className:"font-medium",children:s.title}),jsxRuntime.jsx(framerMotion.motion.svg,{animate:{rotate:o.includes(l)?180:0},transition:{duration:.2},className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})]}),jsxRuntime.jsx(framerMotion.AnimatePresence,{children:o.includes(l)&&jsxRuntime.jsx(framerMotion.motion.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.2},children:jsxRuntime.jsx("div",{className:"px-4 py-3 bg-white dark:bg-zinc-950",children:s.content})})})]},l))})}function os({tabs:e,className:n,defaultIndex:t=0}){let[o,a]=Ro.useState(t);return jsxRuntime.jsxs("div",{className:r("w-full",n),children:[jsxRuntime.jsx("div",{className:"relative flex border-b border-zinc-200 dark:border-zinc-800",children:e.map((i,s)=>jsxRuntime.jsxs("button",{onClick:()=>a(s),className:r("px-4 py-2 text-sm font-medium transition-colors relative",o===s?"text-zinc-900 dark:text-white":"text-zinc-500 hover:text-zinc-700 dark:text-zinc-400 dark:hover:text-zinc-200"),children:[i.label,o===s&&jsxRuntime.jsx(framerMotion.motion.div,{layoutId:"activeTab",className:"absolute bottom-0 left-0 right-0 h-0.5 bg-zinc-900 dark:bg-white",transition:{type:"spring",stiffness:500,damping:30}})]},s))}),jsxRuntime.jsx(framerMotion.motion.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{duration:.2},className:"py-4",children:e[o].content},o)]})}function ss({isOpen:e,onClose:n,children:t,className:o,title:a}){return Ro.useEffect(()=>{let i=s=>{s.key==="Escape"&&n();};return e&&(document.addEventListener("keydown",i),document.body.style.overflow="hidden"),()=>{document.removeEventListener("keydown",i),document.body.style.overflow="unset";}},[e,n]),jsxRuntime.jsx(framerMotion.AnimatePresence,{children:e&&jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx(framerMotion.motion.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},onClick:n,className:"fixed inset-0 bg-black/50 z-50"}),jsxRuntime.jsxs(framerMotion.motion.div,{initial:{opacity:0,scale:.95,y:20},animate:{opacity:1,scale:1,y:0},exit:{opacity:0,scale:.95,y:20},transition:{type:"spring",damping:25,stiffness:300},className:r("fixed left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 z-50","w-full max-w-md p-6 rounded-xl","bg-white dark:bg-zinc-900","shadow-xl",o),children:[a&&jsxRuntime.jsxs("div",{className:"flex items-center justify-between mb-4",children:[jsxRuntime.jsx("h2",{className:"text-lg font-semibold",children:a}),jsxRuntime.jsx("button",{onClick:n,className:"p-1 rounded-lg hover:bg-zinc-100 dark:hover:bg-zinc-800 transition-colors",children:jsxRuntime.jsx("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]}),t]})]})})}function ms({isOpen:e,onClose:n,children:t,className:o,position:a="right"}){Ro.useEffect(()=>{let l=m=>{m.key==="Escape"&&n();};return e&&(document.addEventListener("keydown",l),document.body.style.overflow="hidden"),()=>{document.removeEventListener("keydown",l),document.body.style.overflow="unset";}},[e,n]);let i={left:{initial:{x:"-100%"},animate:{x:0},exit:{x:"-100%"}},right:{initial:{x:"100%"},animate:{x:0},exit:{x:"100%"}},bottom:{initial:{y:"100%"},animate:{y:0},exit:{y:"100%"}}},s={left:"left-0 top-0 h-full w-80",right:"right-0 top-0 h-full w-80",bottom:"bottom-0 left-0 right-0 h-auto max-h-[80vh]"};return jsxRuntime.jsx(framerMotion.AnimatePresence,{children:e&&jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx(framerMotion.motion.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},onClick:n,className:"fixed inset-0 bg-black/50 z-50"}),jsxRuntime.jsxs(framerMotion.motion.div,{initial:i[a].initial,animate:i[a].animate,exit:i[a].exit,transition:{type:"spring",damping:25,stiffness:300},className:r("fixed z-50 p-6","bg-white dark:bg-zinc-900","shadow-xl",s[a],o),children:[jsxRuntime.jsx("button",{onClick:n,className:"absolute top-4 right-4 p-1 rounded-lg hover:bg-zinc-100 dark:hover:bg-zinc-800 transition-colors",children:jsxRuntime.jsx("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})}),t]})]})})}function fs({className:e="",close:n=false,children:t,onClose:o}){let[a,i]=Ro__default.default.useState(true);if(!a)return null;let s=()=>{i(false),o?.();};return jsxRuntime.jsx("div",{className:r("min-h-[400px] w-full flex items-center justify-center p-4",e),children:jsxRuntime.jsx("div",{className:"flex flex-col items-center w-full lg:max-w-[75%] gap-6",children:jsxRuntime.jsxs("div",{className:"relative flex items-center gap-3 rounded-lg border border-zinc-300 dark:border-zinc-700 bg-transparent px-4 py-3 shadow-sm w-full max-w-md transition-all duration-200",children:[t,n&&jsxRuntime.jsx("button",{onClick:s,className:"absolute top-2 right-2 text-gray-500 hover:text-gray-700 dark:text-white/60 dark:hover:text-white transition-colors",children:jsxRuntime.jsx("svg",{className:"h-4 w-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]})})})}function bs({children:e,className:n}){return jsxRuntime.jsx("div",{className:r("text-primary flex-shrink-0",n),children:e})}function gs({children:e,className:n}){return jsxRuntime.jsx("span",{className:r("text-foreground font-medium text-sm flex-1",n),children:e})}function xs({children:e,className:n}){return jsxRuntime.jsx("div",{className:r("flex items-center gap-2",n),children:e})}function vs({children:e,className:n,title:t="Terminal"}){return jsxRuntime.jsxs("div",{className:r("relative w-full max-w-2xl mx-auto bg-zinc-100 dark:bg-black rounded-lg overflow-hidden shadow-2xl","border border-zinc-300 dark:border-gray-800",n),children:[jsxRuntime.jsxs("div",{className:"flex items-center justify-between px-4 py-3 bg-zinc-200 dark:bg-gray-800 border-b border-zinc-300 dark:border-gray-700",children:[jsxRuntime.jsxs("div",{className:"flex items-center space-x-2",children:[jsxRuntime.jsx("div",{className:"w-3 h-3 bg-red-500 rounded-full"}),jsxRuntime.jsx("div",{className:"w-3 h-3 bg-yellow-500 rounded-full"}),jsxRuntime.jsx("div",{className:"w-3 h-3 bg-green-500 rounded-full"})]}),jsxRuntime.jsx("div",{className:"text-zinc-600 dark:text-gray-400 text-sm font-mono",children:t}),jsxRuntime.jsx("div",{className:"w-16"})]}),jsxRuntime.jsx("div",{className:"p-4 font-mono text-sm leading-relaxed space-y-2 min-h-[300px] bg-zinc-100 dark:bg-black text-zinc-900 dark:text-white",children:e})]})}function ys({children:e,className:n,delay:t=0,speed:o=50}){let[a,i]=Ro.useState(""),[s,l]=Ro.useState(false);return Ro.useEffect(()=>{let m=setTimeout(()=>{let d=0,c=setInterval(()=>{d<=e.length?(i(e.slice(0,d)),d++):(l(true),clearInterval(c));},o);return ()=>clearInterval(c)},t);return ()=>clearTimeout(m)},[e,t,o]),jsxRuntime.jsxs("div",{className:r("flex items-center",n),children:[jsxRuntime.jsx("span",{children:a}),!s&&jsxRuntime.jsx("span",{className:"ml-1 animate-pulse bg-white w-2 h-4 inline-block"})]})}function ws({children:e,className:n,delay:t=0}){let[o,a]=Ro.useState(false);return Ro.useEffect(()=>{let i=setTimeout(()=>{a(true);},t);return ()=>clearTimeout(i)},[t]),jsxRuntime.jsx("div",{className:r("transition-all duration-500 transform",o?"opacity-100 translate-y-0":"opacity-0 translate-y-2",n),children:e})}function zs({children:e,initialStep:n=1,onStepChange:t=()=>{},onFinalStepCompleted:o=()=>{},backButtonText:a="Back",nextButtonText:i="Continue",disableStepIndicators:s=false,className:l,...m}){let[d,c]=Ro.useState(n),[u,f]=Ro.useState(0),p=Ro.Children.toArray(e),b=p.length,g=d>b,x=d===b,h=N=>{c(N),N>b?o():t(N);},v=()=>{d>1&&(f(-1),h(d-1));},y=()=>{x||(f(1),h(d+1));},w=()=>{f(1),h(b+1);};return jsxRuntime.jsxs("div",{className:r("w-full max-w-md mx-auto",l),...m,children:[jsxRuntime.jsx("div",{className:"flex items-center justify-between mb-8",children:p.map((N,C)=>{let E=C+1,L=C<b-1;return jsxRuntime.jsxs(Ro__default.default.Fragment,{children:[jsxRuntime.jsx(Ls,{step:E,disableStepIndicators:s,currentStep:d,onClickStep:k=>{f(k>d?1:-1),h(k);}}),L&&jsxRuntime.jsx(Is,{isComplete:d>E})]},E)})}),jsxRuntime.jsx(Ss,{isCompleted:g,currentStep:d,direction:u,children:p[d-1]}),!g&&jsxRuntime.jsxs("div",{className:r("flex mt-8",d!==1?"justify-between":"justify-end"),children:[d!==1&&jsxRuntime.jsx("button",{onClick:v,className:"px-4 py-2 text-sm font-medium text-zinc-400 hover:text-white transition-colors rounded-lg hover:bg-zinc-800",children:a}),jsxRuntime.jsx("button",{onClick:x?w:y,className:"px-4 py-2 text-sm font-medium bg-white text-black rounded-lg hover:bg-zinc-200 transition-colors",children:x?"Complete":i})]})]})}function Ss({isCompleted:e,currentStep:n,direction:t,children:o}){let[a,i]=Ro.useState(0);return jsxRuntime.jsx(framerMotion.motion.div,{className:"relative overflow-hidden",animate:{height:e?0:a},transition:{type:"spring",duration:.4},children:jsxRuntime.jsx(framerMotion.AnimatePresence,{initial:false,mode:"sync",custom:t,children:!e&&jsxRuntime.jsx(Cs,{direction:t,onHeightReady:s=>i(s),children:o},n)})})}function Cs({children:e,direction:n,onHeightReady:t}){let o=Ro.useRef(null);Ro.useLayoutEffect(()=>{o.current&&t(o.current.offsetHeight);},[e,t]);let a={enter:i=>({x:i>=0?"-100%":"100%",opacity:0}),center:{x:"0%",opacity:1},exit:i=>({x:i>=0?"50%":"-50%",opacity:0})};return jsxRuntime.jsx(framerMotion.motion.div,{ref:o,custom:n,variants:a,initial:"enter",animate:"center",exit:"exit",transition:{duration:.4},className:"absolute left-0 right-0 top-0",children:e})}function Ms({children:e}){return jsxRuntime.jsx("div",{className:"p-4 rounded-lg bg-zinc-900 border border-zinc-800",children:e})}function Ls({step:e,currentStep:n,onClickStep:t,disableStepIndicators:o}){let a=n===e?"active":n<e?"inactive":"complete",i=()=>{e!==n&&!o&&t(e);};return jsxRuntime.jsx(framerMotion.motion.button,{onClick:i,disabled:o,className:r("relative flex items-center justify-center w-10 h-10 rounded-full text-sm font-medium transition-all",a==="inactive"&&"bg-zinc-800 text-zinc-500 border border-zinc-700",a==="active"&&"bg-white text-black border-2 border-white",a==="complete"&&"bg-white text-black border-2 border-white",!o&&"cursor-pointer hover:opacity-80"),animate:a,initial:false,children:a==="complete"?jsxRuntime.jsx("svg",{className:"w-5 h-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2.5,children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 13l4 4L19 7"})}):jsxRuntime.jsx("span",{children:e})})}function Is({isComplete:e}){return jsxRuntime.jsx("div",{className:"flex-1 h-[2px] mx-2 bg-zinc-800 rounded-full overflow-hidden",children:jsxRuntime.jsx(framerMotion.motion.div,{className:"h-full bg-white rounded-full",initial:{width:0},animate:{width:e?"100%":"0%"},transition:{duration:.4}})})}var hn=Ro.createContext(null),vn=()=>{let e=Ro.useContext(hn);if(!e)throw new Error("useTree must be used within a TreeProvider");return e},yn=Ro.forwardRef(({data:e,initialSelectedId:n,onSelectChange:t,initialExpandedItems:o=[],elements:a,className:i,...s},l)=>{let[m,d]=Ro.useState(n),[c,u]=Ro.useState(o),f=Ro.useCallback(g=>{u(x=>x.includes(g)?x.filter(h=>h!==g):[...x,g]);},[]),p=Ro.useCallback(g=>{let x=e||a||[],h=Array.isArray(x)?x:[x],v=w=>{for(let N of w){if(N.id===g)return N;if(N.children){let C=v(N.children);if(C)return C}}},y=v(h);y?.isSelectable&&(d(g),t?.(y));},[e,a,t]),b={selectedId:m,expandedItems:c,handleExpand:f,handleSelect:p,data:e||a||[]};return jsxRuntime.jsx(hn.Provider,{value:b,children:jsxRuntime.jsx("div",{className:r("relative overflow-hidden",i),ref:l,...s,children:Ro__default.default.Children.map(s.children,g=>g)})})});yn.displayName="Tree";var wn=Ro.forwardRef(({className:e,element:n,value:t,isSelectable:o=true,children:a,...i},s)=>{let{selectedId:l,expandedItems:m,handleExpand:d,handleSelect:c}=vn();return jsxRuntime.jsxs("div",{ref:s,className:"relative",...i,children:[jsxRuntime.jsxs("div",{className:r("flex cursor-pointer items-center gap-1 rounded-md px-2 py-1 text-sm hover:bg-muted",l===t&&"bg-muted",e),onClick:()=>{d(t),o&&c(t);},children:[jsxRuntime.jsx("svg",{className:r("h-4 w-4 shrink-0 transition-transform duration-200",m.includes(t)&&"rotate-90"),fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5l7 7-7 7"})}),jsxRuntime.jsx("svg",{className:"h-4 w-4 shrink-0",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M3 7v10a2 2 0 002 2h14a2 2 0 002-2V9a2 2 0 00-2-2h-6l-2-2H5a2 2 0 00-2 2z"})}),jsxRuntime.jsx("span",{className:"truncate",children:n})]}),m.includes(t)&&jsxRuntime.jsx("div",{className:"ml-4 border-l border-muted pl-2",children:a})]})});wn.displayName="Folder";var kn=Ro.forwardRef(({className:e,value:n,isSelectable:t=true,children:o,...a},i)=>{let{selectedId:s,handleSelect:l}=vn();return jsxRuntime.jsxs("div",{ref:i,className:r("flex cursor-pointer items-center gap-1 rounded-md px-2 py-1 text-sm hover:bg-muted",s===n&&"bg-muted",e),onClick:()=>t&&l(n),...a,children:[jsxRuntime.jsx("svg",{className:"h-4 w-4 shrink-0",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"})}),jsxRuntime.jsx("div",{className:"truncate",children:o})]})});kn.displayName="File";function $s({mv:e,number:n,height:t}){let o=framerMotion.useTransform(e,a=>{let i=a%10,s=(10+n-i)%10,l=s*t;return s>5&&(l-=10*t),l});return jsxRuntime.jsx(framerMotion.motion.span,{style:{y:o,position:"absolute",inset:0,display:"flex",justifyContent:"center"},children:n})}function Os({place:e,value:n,height:t,digitStyle:o}){let a=Math.floor(n/e),i=framerMotion.useSpring(a,{stiffness:200,damping:25});return Ro.useEffect(()=>{i.set(a);},[i,a]),jsxRuntime.jsx("div",{style:{height:t,position:"relative",overflow:"hidden",...o},children:Array.from({length:10},(s,l)=>jsxRuntime.jsx($s,{mv:i,number:l,height:t},l))})}function Vs({value:e,fontSize:n=100,padding:t=0,places:o=[100,10,1],gap:a=8,textColor:i="#000000",fontWeight:s=900,containerStyle:l,digitStyle:m}){let d=n+t;return jsxRuntime.jsx("div",{style:{display:"flex",gap:a,fontSize:n,color:i,fontWeight:s,...l},children:o.map(c=>jsxRuntime.jsx(Os,{place:c,value:e,height:d,digitStyle:m},c))})}var Ys={initial:{gap:0,paddingLeft:".5rem",paddingRight:".5rem"},animate:e=>({gap:e?".5rem":0,paddingLeft:e?"1rem":".5rem",paddingRight:e?"1rem":".5rem"})},Ws={initial:{width:0,opacity:0},animate:{width:"auto",opacity:1},exit:{width:0,opacity:0}},Tn={type:"spring",bounce:0,duration:.4};function qs({className:e,items:n,defaultSelected:t,onItemClick:o}){let[a,i]=Ro.useState(t||null),s=l=>{i(a===l?null:l),o?.(l);};return jsxRuntime.jsx("div",{className:r("flex items-center gap-3 p-2 relative","bg-background border rounded-xl transition-all duration-200",e),children:jsxRuntime.jsx("div",{className:"flex items-center gap-2",children:n.map(l=>jsxRuntime.jsxs(framerMotion.motion.button,{variants:Ys,initial:false,animate:"animate",custom:a===l.id,onClick:()=>s(l.id),transition:Tn,className:r("relative flex items-center rounded-none px-3 py-2","text-sm font-medium transition-colors duration-300",a===l.id?"bg-[#1F9CFE] text-white rounded-lg":"text-muted-foreground hover:bg-muted hover:text-foreground"),children:[l.icon,jsxRuntime.jsx(framerMotion.AnimatePresence,{initial:false,children:a===l.id&&jsxRuntime.jsx(framerMotion.motion.span,{variants:Ws,initial:"initial",animate:"animate",exit:"exit",transition:Tn,className:"overflow-hidden",children:l.title})})]},l.id))})})}function js({className:e,children:n,direction:t="middle"}){let o={top:"items-start",middle:"items-center",bottom:"items-end"};return jsxRuntime.jsx(framerMotion.motion.div,{className:r("mx-auto w-max mt-8 h-[58px] p-2 flex gap-2 rounded-2xl border","supports-backdrop-blur:bg-white/10 supports-backdrop-blur:dark:bg-black/10 backdrop-blur-md","border-gray-200 bg-gray-50/80 dark:border-gray-800 dark:bg-gray-900/80",o[t],e),children:n})}function el({size:e=40,magnification:n=60,distance:t=140,children:o,className:a}){let i=Ro.useRef(null),s=framerMotion.useMotionValue(1/0),l=framerMotion.useSpring(framerMotion.useTransform(s,[-t,0,t],[e,n,e]),{mass:.1,stiffness:150,damping:12});return jsxRuntime.jsx(framerMotion.motion.div,{ref:i,style:{width:l},onMouseMove:m=>s.set(m.pageX-i.current.offsetLeft-l.get()/2),onMouseLeave:()=>s.set(1/0),className:r("flex aspect-square cursor-pointer items-center justify-center rounded-full",a),children:o})}var Sn=Ro.forwardRef(({className:e,label:n,error:t,icon:o,...a},i)=>jsxRuntime.jsxs("div",{className:"w-full",children:[n&&jsxRuntime.jsx("label",{className:"block text-sm font-medium text-zinc-700 dark:text-zinc-300 mb-1",children:n}),jsxRuntime.jsxs("div",{className:"relative",children:[o&&jsxRuntime.jsx("div",{className:"absolute left-3 top-1/2 -translate-y-1/2 text-zinc-400",children:o}),jsxRuntime.jsx("input",{ref:i,className:r("w-full px-4 py-2 rounded-lg","bg-white dark:bg-zinc-900","border border-zinc-300 dark:border-zinc-700","text-zinc-900 dark:text-zinc-100","placeholder:text-zinc-400 dark:placeholder:text-zinc-500","focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent","transition-all duration-200",o&&"pl-10",t&&"border-red-500 focus:ring-red-500",e),...a})]}),t&&jsxRuntime.jsx("p",{className:"mt-1 text-sm text-red-500",children:t})]}));Sn.displayName="Input";var Cn=Ro.forwardRef(({className:e,label:n,error:t,...o},a)=>jsxRuntime.jsxs("div",{className:"w-full",children:[n&&jsxRuntime.jsx("label",{className:"block text-sm font-medium text-zinc-700 dark:text-zinc-300 mb-1",children:n}),jsxRuntime.jsx("textarea",{ref:a,className:r("w-full px-4 py-2 rounded-lg min-h-[100px] resize-y","bg-white dark:bg-zinc-900","border border-zinc-300 dark:border-zinc-700","text-zinc-900 dark:text-zinc-100","placeholder:text-zinc-400 dark:placeholder:text-zinc-500","focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent","transition-all duration-200",t&&"border-red-500 focus:ring-red-500",e),...o}),t&&jsxRuntime.jsx("p",{className:"mt-1 text-sm text-red-500",children:t})]}));Cn.displayName="Textarea";function il({checked:e=false,onChange:n,label:t,disabled:o=false,className:a}){return jsxRuntime.jsxs("label",{className:r("inline-flex items-center gap-2 cursor-pointer",o&&"opacity-50 cursor-not-allowed",a),children:[jsxRuntime.jsx("button",{type:"button",role:"checkbox","aria-checked":e,disabled:o,onClick:()=>n?.(!e),className:r("w-5 h-5 rounded border-2 flex items-center justify-center transition-colors",e?"bg-blue-500 border-blue-500":"bg-transparent border-zinc-300 dark:border-zinc-600"),children:jsxRuntime.jsx(framerMotion.motion.svg,{initial:false,animate:{scale:e?1:0,opacity:e?1:0},transition:{duration:.15},className:"w-3 h-3 text-white",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:3,d:"M5 13l4 4L19 7"})})}),t&&jsxRuntime.jsx("span",{className:"text-sm",children:t})]})}function ll({options:e,value:n,onChange:t,name:o,className:a,direction:i="vertical"}){return jsxRuntime.jsx("div",{className:r("flex gap-3",i==="vertical"?"flex-col":"flex-row flex-wrap",a),children:e.map(s=>jsxRuntime.jsxs("label",{className:"inline-flex items-center gap-2 cursor-pointer",children:[jsxRuntime.jsx("button",{type:"button",role:"radio","aria-checked":n===s.value,onClick:()=>t?.(s.value),className:r("w-5 h-5 rounded-full border-2 flex items-center justify-center transition-colors",n===s.value?"border-blue-500":"border-zinc-300 dark:border-zinc-600"),children:jsxRuntime.jsx(framerMotion.motion.div,{initial:false,animate:{scale:n===s.value?1:0,opacity:n===s.value?1:0},transition:{duration:.15},className:"w-2.5 h-2.5 rounded-full bg-blue-500"})}),jsxRuntime.jsx("span",{className:"text-sm",children:s.label})]},s.value))})}function fl({options:e,value:n,onChange:t,placeholder:o="Select...",className:a,label:i}){let[s,l]=Ro.useState(false),m=Ro.useRef(null),d=e.find(c=>c.value===n);return Ro.useEffect(()=>{let c=u=>{m.current&&!m.current.contains(u.target)&&l(false);};return document.addEventListener("mousedown",c),()=>document.removeEventListener("mousedown",c)},[]),jsxRuntime.jsxs("div",{className:"w-full",children:[i&&jsxRuntime.jsx("label",{className:"block text-sm font-medium text-zinc-700 dark:text-zinc-300 mb-1",children:i}),jsxRuntime.jsxs("div",{ref:m,className:r("relative",a),children:[jsxRuntime.jsxs("button",{type:"button",onClick:()=>l(!s),className:r("w-full px-4 py-2 rounded-lg text-left","bg-white dark:bg-zinc-900","border border-zinc-300 dark:border-zinc-700","flex items-center justify-between","focus:outline-none focus:ring-2 focus:ring-blue-500","transition-all duration-200"),children:[jsxRuntime.jsx("span",{className:d?"":"text-zinc-400",children:d?.label||o}),jsxRuntime.jsx(framerMotion.motion.svg,{animate:{rotate:s?180:0},transition:{duration:.2},className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})]}),jsxRuntime.jsx(framerMotion.AnimatePresence,{children:s&&jsxRuntime.jsx(framerMotion.motion.div,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.15},className:r("absolute z-50 w-full mt-1 rounded-lg overflow-hidden","bg-white dark:bg-zinc-900","border border-zinc-300 dark:border-zinc-700","shadow-lg"),children:e.map(c=>jsxRuntime.jsx("button",{type:"button",onClick:()=>{t?.(c.value),l(false);},className:r("w-full px-4 py-2 text-left","hover:bg-zinc-100 dark:hover:bg-zinc-800","transition-colors",n===c.value&&"bg-blue-50 dark:bg-blue-900/20 text-blue-600"),children:c.label},c.value))})})]})]})}function hl({maxLength:e=6,onComplete:n,onChange:t,className:o=""}){let[a,i]=Ro.useState(new Array(e).fill("")),s=Ro.useRef([]);Ro.useEffect(()=>{let c=a.join("");t?.(c),c.length===e&&n?.(c);},[a,e,t,n]);let l=(c,u)=>{if(u.length>1){let f=u.slice(0,e).split(""),p=[...a];f.forEach((g,x)=>{c+x<e&&(p[c+x]=g);}),i(p);let b=Math.min(c+f.length,e-1);s.current[b]?.focus();return}if(/^\d*$/.test(u)){let f=[...a];f[c]=u,i(f),u&&c<e-1&&s.current[c+1]?.focus();}},m=(c,u)=>{if(u.key==="Backspace")if(!a[c]&&c>0)s.current[c-1]?.focus();else {let f=[...a];f[c]="",i(f);}else u.key==="ArrowLeft"&&c>0?s.current[c-1]?.focus():u.key==="ArrowRight"&&c<e-1&&s.current[c+1]?.focus();},d=c=>{s.current[c]?.select();};return jsxRuntime.jsx("div",{className:r("flex items-center gap-2",o),children:a.map((c,u)=>jsxRuntime.jsx("input",{ref:f=>{s.current[u]=f;},type:"text",inputMode:"numeric",maxLength:1,value:c,onChange:f=>l(u,f.target.value),onKeyDown:f=>m(u,f),onFocus:()=>d(u),className:r("w-12 h-12 text-center text-lg font-semibold","border-2 border-zinc-300 dark:border-zinc-600 rounded-md","focus:border-zinc-900 dark:focus:border-white focus:outline-none","bg-white dark:bg-zinc-800 text-zinc-900 dark:text-white","transition-colors")},u))})}function yl({className:e,onChange:n}){let[t,o]=Ro.useState(false),a=()=>{let i=!t;o(i),n?.(i);};return jsxRuntime.jsxs("label",{className:r("relative w-10 h-8 bg-transparent cursor-pointer block",e),htmlFor:"burger-basic",children:[jsxRuntime.jsx("input",{type:"checkbox",id:"burger-basic",className:"hidden",checked:t,onChange:a}),jsxRuntime.jsx("span",{className:r("block absolute h-1 w-full bg-black dark:bg-white rounded-lg opacity-100 left-0 transition-all duration-250 ease-in-out","top-0 origin-left",t&&"rotate-45 top-0 left-1.5")}),jsxRuntime.jsx("span",{className:r("block absolute h-1 w-full bg-black dark:bg-white rounded-lg opacity-100 left-0 transition-all duration-250 ease-in-out","top-1/2 -translate-y-1/2 origin-left",t&&"w-0 opacity-0")}),jsxRuntime.jsx("span",{className:r("block absolute h-1 w-full bg-black dark:bg-white rounded-lg opacity-100 left-0 transition-all duration-250 ease-in-out","top-full -translate-y-full origin-left",t&&"-rotate-45 top-7 left-1.5")})]})}function Nl({className:e,onChange:n}){let[t,o]=Ro.useState(false),a=()=>{let i=!t;o(i),n?.(i);};return jsxRuntime.jsxs("div",{className:r("inline-block",e),children:[jsxRuntime.jsx("input",{type:"checkbox",id:"checkbox-spin",className:"hidden",checked:t,onChange:a}),jsxRuntime.jsxs("label",{htmlFor:"checkbox-spin",className:r("relative w-10 h-10 cursor-pointer flex flex-col items-center justify-center gap-2.5 transition-all duration-500",t&&"rotate-180"),children:[jsxRuntime.jsx("div",{className:r("w-full h-1 bg-black dark:bg-white rounded-md transition-all duration-500 origin-center",t&&"scale-x-[0.6] translate-y-[1px]")}),jsxRuntime.jsx("div",{className:r("w-full h-1 bg-black dark:bg-white rounded-md transition-all duration-500 origin-center",t&&"rotate-90 scale-x-[1.2]")}),jsxRuntime.jsx("div",{className:r("w-full h-1 bg-black dark:bg-white rounded-md transition-all duration-500 origin-center",t&&"scale-x-[0.6] -translate-y-[1px]")})]})]})}function Pl({sparkColor:e="#000000",sparkSize:n=10,sparkRadius:t=15,sparkCount:o=8,duration:a=400,easing:i="ease-out",extraScale:s=1,children:l}){let m=Ro.useRef(null),d=Ro.useRef([]),c=Ro.useRef(null);Ro.useEffect(()=>{let p=m.current;if(!p)return;let b=p.parentElement;if(!b)return;let g,x=()=>{let{width:y,height:w}=b.getBoundingClientRect();(p.width!==y||p.height!==w)&&(p.width=y,p.height=w);},h=()=>{clearTimeout(g),g=setTimeout(x,100);},v=new ResizeObserver(h);return v.observe(b),x(),()=>{v.disconnect(),clearTimeout(g);}},[]);let u=Ro.useCallback(p=>{switch(i){case "linear":return p;case "ease-in":return p*p;case "ease-in-out":return p<.5?2*p*p:-1+(4-2*p)*p;default:return p*(2-p)}},[i]);return Ro.useEffect(()=>{let p=m.current;if(!p)return;let b=p.getContext("2d");if(!b)return;let g,x=h=>{c.current||(c.current=h),b.clearRect(0,0,p.width,p.height),d.current=d.current.filter(v=>{let y=h-v.startTime;if(y>=a)return false;let w=y/a,N=u(w),C=N*t*s,E=n*(1-N),L=v.x+C*Math.cos(v.angle),k=v.y+C*Math.sin(v.angle),P=v.x+(C+E)*Math.cos(v.angle),A=v.y+(C+E)*Math.sin(v.angle);return b.strokeStyle=e,b.lineWidth=2,b.beginPath(),b.moveTo(L,k),b.lineTo(P,A),b.stroke(),true}),g=requestAnimationFrame(x);};return g=requestAnimationFrame(x),()=>{cancelAnimationFrame(g);}},[e,n,t,a,u,s]),jsxRuntime.jsxs("div",{style:{position:"relative",width:"100%",height:"100%"},onClick:p=>{let b=m.current;if(!b)return;let g=b.getBoundingClientRect(),x=p.clientX-g.left,h=p.clientY-g.top,v=performance.now(),y=Array.from({length:o},(w,N)=>({x,y:h,angle:2*Math.PI*N/o,startTime:v}));d.current.push(...y);},children:[jsxRuntime.jsx("canvas",{ref:m,style:{width:"100%",height:"100%",display:"block",userSelect:"none",position:"absolute",top:0,left:0,pointerEvents:"none"}}),l]})}function Ll({className:e}){let[n,t]=Ro.useState(false),o=framerMotion.useMotionValue(-100),a=framerMotion.useMotionValue(-100),i={damping:25,stiffness:700},s=framerMotion.useSpring(o,i),l=framerMotion.useSpring(a,i);return Ro.useEffect(()=>{let m=c=>{o.set(c.clientX-16),a.set(c.clientY-16),t(true);},d=()=>{t(false);};return window.addEventListener("mousemove",m),window.addEventListener("mouseleave",d),()=>{window.removeEventListener("mousemove",m),window.removeEventListener("mouseleave",d);}},[o,a]),jsxRuntime.jsx(framerMotion.motion.div,{className:r("pointer-events-none fixed left-0 top-0 z-50 h-8 w-8 rounded-full bg-zinc-400 mix-blend-difference",n?"opacity-100":"opacity-0",e),style:{x:s,y:l},transition:{type:"spring",stiffness:500,damping:28}})}function Bl({children:e,className:n,duration:t=5,distance:o=50}){return jsxRuntime.jsx(framerMotion.motion.div,{className:r("relative",n),animate:{y:[0,-o,0]},transition:{duration:t,repeat:1/0,ease:"easeInOut"},children:e})}function Dl({children:e,className:n,glowColor:t="rgba(255, 255, 255, 0.4)",duration:o=3}){return jsxRuntime.jsx(framerMotion.motion.div,{className:r("relative p-8 rounded-3xl border-2 border-white/30",n),style:{background:"radial-gradient(circle at center, rgba(255,255,255,0.05) 0%, transparent 70%)"},animate:{boxShadow:[`0 0 40px ${t}, 0 0 80px ${t.replace("0.4","0.2")}`,`0 0 80px ${t.replace("0.4","0.8")}, 0 0 160px ${t.replace("0.4","0.5")}`,`0 0 40px ${t}, 0 0 80px ${t.replace("0.4","0.2")}`],borderColor:["rgba(255, 255, 255, 0.3)","rgba(255, 255, 255, 0.6)","rgba(255, 255, 255, 0.3)"]},transition:{duration:o,repeat:1/0,ease:"easeInOut"},children:e})}function $l({children:e,className:n,delay:t=0,duration:o=.8,blur:a=10,inView:i=false,inViewMargin:s="-50px",yOffset:l=6}){let m={hidden:{opacity:0,filter:`blur(${a}px)`,y:l},visible:{opacity:1,filter:"blur(0px)",y:0}};return jsxRuntime.jsx(framerMotion.motion.div,{className:r(n),initial:"hidden",animate:i?void 0:"visible",whileInView:i?"visible":void 0,viewport:{once:true,margin:s},variants:m,transition:{duration:o,delay:t,ease:[.25,.1,.25,1]},children:e})}var je=class{constructor(n,t,o,a,i,s,l){this.width=n.width,this.height=n.height,this.ctx=t,this.x=o,this.y=a,this.color=i,this.speed=this.getRandomValue(.1,.9)*s,this.size=0,this.sizeStep=Math.random()*.4,this.minSize=.5,this.maxSizeInteger=2,this.maxSize=this.getRandomValue(this.minSize,this.maxSizeInteger),this.delay=l,this.counter=0,this.counterStep=Math.random()*4+(this.width+this.height)*.01,this.isIdle=false,this.isReverse=false,this.isShimmer=false;}getRandomValue(n,t){return Math.random()*(t-n)+n}draw(){let n=this.maxSizeInteger*.5-this.size*.5;this.ctx.fillStyle=this.color,this.ctx.fillRect(this.x+n,this.y+n,this.size,this.size);}appear(){if(this.isIdle=false,this.counter<=this.delay){this.counter+=this.counterStep;return}this.size>=this.maxSize&&(this.isShimmer=true),this.isShimmer?this.shimmer():this.size+=this.sizeStep,this.draw();}disappear(){if(this.isShimmer=false,this.counter=0,this.size<=0){this.isIdle=true;return}else this.size-=.1;this.draw();}shimmer(){this.size>=this.maxSize?this.isReverse=true:this.size<=this.minSize&&(this.isReverse=false),this.isReverse?this.size-=this.speed:this.size+=this.speed;}},Hn={default:{gap:5,speed:35,colors:"#71717a,#a1a1aa,#d4d4d8",noFocus:false},blue:{gap:10,speed:25,colors:"#0ea5e9,#38bdf8,#7dd3fc",noFocus:false},yellow:{gap:3,speed:20,colors:"#ca8a04,#eab308,#facc15",noFocus:false},pink:{gap:6,speed:80,colors:"#be123c,#e11d48,#f43f5e",noFocus:true}};function Xl(e,n){return e<=0||n?0:e>=100?100*.001:e*.001}function Gl({variant:e="default",gap:n,speed:t,colors:o,noFocus:a,className:i="",children:s}){let l=Ro.useRef(null),m=Ro.useRef(null),d=Ro.useRef([]),c=Ro.useRef(null),u=Ro.useRef(typeof performance<"u"?performance.now():0),f=Ro.useRef(typeof window<"u"?window.matchMedia("(prefers-reduced-motion: reduce)").matches:false).current,p=Hn[e]||Hn.default,b=n??p.gap,g=t??p.speed,x=o??p.colors,h=a??p.noFocus,v=()=>{if(!l.current||!m.current)return;let k=l.current.getBoundingClientRect(),P=Math.floor(k.width)||300,A=Math.floor(k.height)||400,S=m.current.getContext("2d");if(!S)return;m.current.width=P,m.current.height=A,m.current.style.width=`${P}px`,m.current.style.height=`${A}px`;let T=x.split(",").map(R=>R.trim()),I=[],M=Math.max(parseInt(b.toString(),10),3);for(let R=0;R<P;R+=M)for(let H=0;H<A;H+=M){let z=T[Math.floor(Math.random()*T.length)],$=R-P/2,q=H-A/2,G=Math.sqrt($*$+q*q),ie=f?0:G;I.push(new je(m.current,S,R,H,z,Xl(g,f),ie));}d.current=I;},y=k=>{c.current=requestAnimationFrame(()=>y(k));let P=performance.now(),A=P-u.current,S=1e3/60;if(A<S)return;u.current=P-A%S;let T=m.current?.getContext("2d");if(!T||!m.current)return;T.clearRect(0,0,m.current.width,m.current.height);let I=true;for(let M=0;M<d.current.length;M++){let R=d.current[M];R[k](),R.isIdle||(I=false);}I&&c.current&&cancelAnimationFrame(c.current);},w=k=>{c.current!==null&&cancelAnimationFrame(c.current),c.current=requestAnimationFrame(()=>y(k));},N=()=>w("appear"),C=()=>w("disappear"),E=k=>{k.currentTarget.contains(k.relatedTarget)||w("appear");},L=k=>{k.currentTarget.contains(k.relatedTarget)||w("disappear");};return Ro.useEffect(()=>{v();let k=new ResizeObserver(()=>{v();});return l.current&&k.observe(l.current),()=>{k.disconnect(),c.current!==null&&cancelAnimationFrame(c.current);}},[b,g,x,h]),jsxRuntime.jsxs("div",{ref:l,className:r("relative overflow-hidden rounded-xl border border-zinc-200 dark:border-zinc-800 bg-zinc-100 dark:bg-zinc-900",i),onMouseEnter:N,onMouseLeave:C,onFocus:h?void 0:E,onBlur:h?void 0:L,tabIndex:h?-1:0,children:[jsxRuntime.jsx("canvas",{className:"absolute inset-0 w-full h-full pointer-events-none",ref:m}),jsxRuntime.jsx("div",{className:"relative z-10",children:s})]})}var et={damping:30,stiffness:100,mass:2};function Ul({imageSrc:e,altText:n="Tilted card image",captionText:t="",containerHeight:o="300px",containerWidth:a="100%",imageHeight:i="300px",imageWidth:s="300px",scaleOnHover:l=1.1,rotateAmplitude:m=14,showMobileWarning:d=false,showTooltip:c=true,overlayContent:u=null,displayOverlayContent:f=false,className:p}){let b=Ro.useRef(null),g=framerMotion.useMotionValue(0),x=framerMotion.useMotionValue(0),h=framerMotion.useSpring(framerMotion.useMotionValue(0),et),v=framerMotion.useSpring(framerMotion.useMotionValue(0),et),y=framerMotion.useSpring(1,et),w=framerMotion.useSpring(0),N=framerMotion.useSpring(0,{stiffness:350,damping:30,mass:1}),[C,E]=Ro.useState(0);function L(A){if(!b.current)return;let S=b.current.getBoundingClientRect(),T=A.clientX-S.left-S.width/2,I=A.clientY-S.top-S.height/2,M=I/(S.height/2)*-m,R=T/(S.width/2)*m;h.set(M),v.set(R),g.set(A.clientX-S.left),x.set(A.clientY-S.top);let H=I-C;N.set(-H*.6),E(I);}function k(){y.set(l),w.set(1);}function P(){w.set(0),y.set(1),h.set(0),v.set(0),N.set(0);}return jsxRuntime.jsxs("figure",{ref:b,className:r("relative flex items-center justify-center [perspective:800px]",p),style:{height:o,width:a},onMouseMove:L,onMouseEnter:k,onMouseLeave:P,children:[d&&jsxRuntime.jsx("div",{className:"absolute top-2 left-2 text-xs text-muted-foreground md:hidden",children:"Best viewed on desktop"}),jsxRuntime.jsxs(framerMotion.motion.div,{className:"relative [transform-style:preserve-3d]",style:{width:s,height:i,rotateX:h,rotateY:v,scale:y},children:[jsxRuntime.jsx(framerMotion.motion.img,{src:e,alt:n,className:"absolute inset-0 w-full h-full object-cover rounded-lg",style:{width:s,height:i}}),f&&u&&jsxRuntime.jsx(framerMotion.motion.div,{className:"absolute inset-0 flex items-center justify-center bg-black/50 rounded-lg",children:u})]}),c&&t&&jsxRuntime.jsx(framerMotion.motion.figcaption,{className:"pointer-events-none absolute px-3 py-1.5 text-sm bg-white dark:bg-zinc-900 rounded-full shadow-lg whitespace-nowrap",style:{x:g,y:x,opacity:w,rotate:N},children:t})]})}function Kl({children:e,speed:n=30,direction:t="left",pauseOnHover:o=true,className:a}){let i=Ro.useRef(null),s=Ro.useRef(null);return Ro.useEffect(()=>{if(!i.current||!s.current)return;Array.from(s.current.children).forEach(m=>{let d=m.cloneNode(true);s.current&&s.current.appendChild(d);}),i.current.style.setProperty("--animation-duration",`${n}s`),i.current.style.setProperty("--animation-direction",t==="left"?"forwards":"reverse");},[n,t]),jsxRuntime.jsxs("div",{ref:i,className:r("group relative flex overflow-hidden [mask-image:linear-gradient(to_right,transparent,white_20%,white_80%,transparent)]",a),children:[jsxRuntime.jsx("div",{ref:s,className:r("flex min-w-full shrink-0 gap-4 py-4 w-max flex-nowrap","animate-scroll",o&&"group-hover:[animation-play-state:paused]"),style:{animation:"scroll var(--animation-duration, 30s) var(--animation-direction, forwards) linear infinite"},children:e}),jsxRuntime.jsx("style",{jsx:true,children:`
32
+ `})]})}function $s({className:e,children:n,delay:t=1e3}){let[r,i]=Wa.useState(0),o=Wa__default.default.Children.toArray(n);Wa.useEffect(()=>{let l=setInterval(()=>{i(u=>(u+1)%o.length);},t);return ()=>clearInterval(l)},[o.length,t]);let s=Wa.useMemo(()=>o.slice(0,r+1).reverse(),[r,o]);return jsxRuntime.jsx("div",{className:a("flex flex-col items-center gap-4",e),children:jsxRuntime.jsx(framerMotion.AnimatePresence,{children:s.map((l,u)=>jsxRuntime.jsx(Zn,{children:l},u))})})}function Zn({children:e}){return jsxRuntime.jsx(framerMotion.motion.div,{initial:{scale:0,opacity:0},animate:{scale:1,opacity:1},exit:{scale:0,opacity:0},transition:{type:"spring",stiffness:350,damping:40},layout:true,className:"mx-auto w-full",children:e})}function Xs({className:e,variant:n="text",width:t,height:r}){return jsxRuntime.jsx("div",{className:a("animate-pulse bg-zinc-200 dark:bg-zinc-800",{text:"h-4 rounded",circular:"rounded-full",rectangular:"rounded-lg"}[n],e),style:{width:t,height:r}})}function Us({children:e,content:n,position:t="top",className:r}){let[i,o]=Wa.useState(false),s={top:"bottom-full left-1/2 -translate-x-1/2 mb-2",bottom:"top-full left-1/2 -translate-x-1/2 mt-2",left:"right-full top-1/2 -translate-y-1/2 mr-2",right:"left-full top-1/2 -translate-y-1/2 ml-2"},l={top:{initial:{opacity:0,y:5},animate:{opacity:1,y:0}},bottom:{initial:{opacity:0,y:-5},animate:{opacity:1,y:0}},left:{initial:{opacity:0,x:5},animate:{opacity:1,x:0}},right:{initial:{opacity:0,x:-5},animate:{opacity:1,x:0}}};return jsxRuntime.jsxs("div",{className:"relative inline-block",onMouseEnter:()=>o(true),onMouseLeave:()=>o(false),children:[e,jsxRuntime.jsx(framerMotion.AnimatePresence,{children:i&&jsxRuntime.jsx(framerMotion.motion.div,{className:a("absolute z-50 px-2 py-1 text-sm text-white bg-zinc-900 dark:bg-zinc-100 dark:text-zinc-900 rounded whitespace-nowrap",s[t],r),initial:l[t].initial,animate:l[t].animate,exit:l[t].initial,transition:{duration:.15},children:n})})]})}function el({content:e,children:n,position:t="top",delay:r=300,className:i}){let[o,s]=Wa.useState(false),l=Wa.useRef(void 0),u=()=>{l.current=setTimeout(()=>s(true),r);},d=()=>{l.current&&clearTimeout(l.current),s(false);},c=()=>({top:"bottom-full left-1/2 -translate-x-1/2 mb-2",bottom:"top-full left-1/2 -translate-x-1/2 mt-2",left:"right-full top-1/2 -translate-y-1/2 mr-2",right:"left-full top-1/2 -translate-y-1/2 ml-2"})[t];return jsxRuntime.jsxs("div",{className:a("relative inline-block",i),onMouseEnter:u,onMouseLeave:d,children:[n,jsxRuntime.jsx(framerMotion.AnimatePresence,{children:o&&jsxRuntime.jsx(framerMotion.motion.div,{initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.95},transition:{duration:.15},className:a("absolute z-50 px-3 py-2 text-sm bg-popover border border-border rounded-lg shadow-md whitespace-nowrap",c()),children:e})})]})}function il({content:e,children:n,position:t="top",delay:r=200,animation:i="slide",className:o}){let[s,l]=Wa.useState(false),u=Wa.useRef(void 0),d=()=>{u.current=setTimeout(()=>l(true),r);},c=()=>{u.current&&clearTimeout(u.current),l(false);},m=()=>({top:"bottom-full left-1/2 -translate-x-1/2 mb-3",bottom:"top-full left-1/2 -translate-x-1/2 mt-3",left:"right-full top-1/2 -translate-y-1/2 mr-3",right:"left-full top-1/2 -translate-y-1/2 ml-3"})[t],g=()=>{let f={top:{y:10},bottom:{y:-10},left:{x:10},right:{x:-10}},{x:b=0,y:h=0}=f[t];return {...{fade:{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0}},scale:{initial:{opacity:0,scale:.8},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.8}},bounce:{initial:{opacity:0,scale:.3,y:t==="top"?10:-10},animate:{opacity:1,scale:1,y:0},exit:{opacity:0,scale:.3,y:t==="top"?10:-10}},slide:{initial:{opacity:0,x:b,y:h},animate:{opacity:1,x:0,y:0},exit:{opacity:0,x:b,y:h}}}[i],transition:{type:"spring",stiffness:300,damping:25}}};return jsxRuntime.jsxs("div",{className:a("relative inline-block",o),onMouseEnter:d,onMouseLeave:c,children:[n,jsxRuntime.jsx(framerMotion.AnimatePresence,{children:s&&jsxRuntime.jsx(framerMotion.motion.div,{...g(),className:a("absolute z-50 px-4 py-2 text-sm bg-popover border border-border rounded-xl shadow-lg whitespace-nowrap backdrop-blur-sm",m()),children:e})})]})}var ll={default:"bg-zinc-100 text-zinc-900 dark:bg-zinc-800 dark:text-zinc-100",success:"bg-green-100 text-green-800 dark:bg-green-900/30 dark:text-green-400",warning:"bg-yellow-100 text-yellow-800 dark:bg-yellow-900/30 dark:text-yellow-400",danger:"bg-red-100 text-red-800 dark:bg-red-900/30 dark:text-red-400",info:"bg-blue-100 text-blue-800 dark:bg-blue-900/30 dark:text-blue-400"},cl={sm:"px-2 py-0.5 text-xs",md:"px-2.5 py-1 text-sm",lg:"px-3 py-1.5 text-base"};function dl({children:e,variant:n="default",size:t="md",className:r}){return jsxRuntime.jsx("span",{className:a("inline-flex items-center font-medium rounded-full",ll[n],cl[t],r),children:e})}var ml={sm:"w-8 h-8 text-xs",md:"w-10 h-10 text-sm",lg:"w-12 h-12 text-base",xl:"w-16 h-16 text-lg"};function pl({src:e,alt:n="",fallback:t,size:r="md",className:i}){let o=t||n.split(" ").map(s=>s[0]).join("").slice(0,2).toUpperCase();return jsxRuntime.jsx("div",{className:a("relative inline-flex items-center justify-center rounded-full bg-zinc-200 dark:bg-zinc-800 overflow-hidden",ml[r],i),children:e?jsxRuntime.jsx("img",{src:e,alt:n,className:"w-full h-full object-cover"}):jsxRuntime.jsx("span",{className:"font-medium text-zinc-600 dark:text-zinc-400",children:o})})}function gl({value:e,max:n=100,className:t,color:r="bg-blue-500",showLabel:i=false}){let o=Math.min(Math.max(e/n*100,0),100);return jsxRuntime.jsxs("div",{className:a("w-full",t),children:[jsxRuntime.jsx("div",{className:"h-2 w-full overflow-hidden rounded-full bg-zinc-200 dark:bg-zinc-800",children:jsxRuntime.jsx(framerMotion.motion.div,{className:a("h-full rounded-full",r),initial:{width:0},animate:{width:`${o}%`},transition:{duration:.5,ease:"easeOut"}})}),i&&jsxRuntime.jsxs("span",{className:"mt-1 text-sm text-zinc-600 dark:text-zinc-400",children:[Math.round(o),"%"]})]})}var hl={sm:{track:"w-8 h-4",thumb:"w-3 h-3",translate:16},md:{track:"w-11 h-6",thumb:"w-5 h-5",translate:20},lg:{track:"w-14 h-7",thumb:"w-6 h-6",translate:28}};function xl({checked:e=false,onChange:n,disabled:t=false,size:r="md",className:i}){let o=hl[r];return jsxRuntime.jsx("button",{type:"button",role:"switch","aria-checked":e,disabled:t,onClick:()=>n?.(!e),className:a("relative inline-flex shrink-0 cursor-pointer rounded-full transition-colors",e?"bg-blue-500":"bg-zinc-300 dark:bg-zinc-700",t&&"opacity-50 cursor-not-allowed",o.track,i),children:jsxRuntime.jsx(framerMotion.motion.span,{className:a("pointer-events-none inline-block rounded-full bg-white shadow-lg",o.thumb),animate:{x:e?o.translate:2},transition:{type:"spring",stiffness:500,damping:30},style:{marginTop:2}})})}function wl({items:e,className:n,allowMultiple:t=false}){let[r,i]=Wa.useState([]),o=s=>{i(t?l=>l.includes(s)?l.filter(u=>u!==s):[...l,s]:l=>l.includes(s)?[]:[s]);};return jsxRuntime.jsx("div",{className:a("w-full space-y-2",n),children:e.map((s,l)=>jsxRuntime.jsxs("div",{className:"border border-zinc-200 dark:border-zinc-800 rounded-lg overflow-hidden",children:[jsxRuntime.jsxs("button",{onClick:()=>o(l),className:"w-full px-4 py-3 flex items-center justify-between text-left bg-zinc-50 dark:bg-zinc-900 hover:bg-zinc-100 dark:hover:bg-zinc-800 transition-colors",children:[jsxRuntime.jsx("span",{className:"font-medium",children:s.title}),jsxRuntime.jsx(framerMotion.motion.svg,{animate:{rotate:r.includes(l)?180:0},transition:{duration:.2},className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})]}),jsxRuntime.jsx(framerMotion.AnimatePresence,{children:r.includes(l)&&jsxRuntime.jsx(framerMotion.motion.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.2},children:jsxRuntime.jsx("div",{className:"px-4 py-3 bg-white dark:bg-zinc-950",children:s.content})})})]},l))})}function Nl({tabs:e,className:n,defaultIndex:t=0}){let[r,i]=Wa.useState(t);return jsxRuntime.jsxs("div",{className:a("w-full",n),children:[jsxRuntime.jsx("div",{className:"relative flex border-b border-zinc-200 dark:border-zinc-800",children:e.map((o,s)=>jsxRuntime.jsxs("button",{onClick:()=>i(s),className:a("px-4 py-2 text-sm font-medium transition-colors relative",r===s?"text-zinc-900 dark:text-white":"text-zinc-500 hover:text-zinc-700 dark:text-zinc-400 dark:hover:text-zinc-200"),children:[o.label,r===s&&jsxRuntime.jsx(framerMotion.motion.div,{layoutId:"activeTab",className:"absolute bottom-0 left-0 right-0 h-0.5 bg-zinc-900 dark:bg-white",transition:{type:"spring",stiffness:500,damping:30}})]},s))}),jsxRuntime.jsx(framerMotion.motion.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{duration:.2},className:"py-4",children:e[r].content},r)]})}function Pl({isOpen:e,onClose:n,children:t,className:r,title:i}){return Wa.useEffect(()=>{let o=s=>{s.key==="Escape"&&n();};return e&&(document.addEventListener("keydown",o),document.body.style.overflow="hidden"),()=>{document.removeEventListener("keydown",o),document.body.style.overflow="unset";}},[e,n]),jsxRuntime.jsx(framerMotion.AnimatePresence,{children:e&&jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx(framerMotion.motion.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},onClick:n,className:"fixed inset-0 bg-black/50 z-50"}),jsxRuntime.jsxs(framerMotion.motion.div,{initial:{opacity:0,scale:.95,y:20},animate:{opacity:1,scale:1,y:0},exit:{opacity:0,scale:.95,y:20},transition:{type:"spring",damping:25,stiffness:300},className:a("fixed left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 z-50","w-full max-w-md p-6 rounded-xl","bg-white dark:bg-zinc-900","shadow-xl",r),children:[i&&jsxRuntime.jsxs("div",{className:"flex items-center justify-between mb-4",children:[jsxRuntime.jsx("h2",{className:"text-lg font-semibold",children:i}),jsxRuntime.jsx("button",{onClick:n,className:"p-1 rounded-lg hover:bg-zinc-100 dark:hover:bg-zinc-800 transition-colors",children:jsxRuntime.jsx("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]}),t]})]})})}function Cl({isOpen:e,onClose:n,children:t,className:r,position:i="right"}){Wa.useEffect(()=>{let l=u=>{u.key==="Escape"&&n();};return e&&(document.addEventListener("keydown",l),document.body.style.overflow="hidden"),()=>{document.removeEventListener("keydown",l),document.body.style.overflow="unset";}},[e,n]);let o={left:{initial:{x:"-100%"},animate:{x:0},exit:{x:"-100%"}},right:{initial:{x:"100%"},animate:{x:0},exit:{x:"100%"}},bottom:{initial:{y:"100%"},animate:{y:0},exit:{y:"100%"}}},s={left:"left-0 top-0 h-full w-80",right:"right-0 top-0 h-full w-80",bottom:"bottom-0 left-0 right-0 h-auto max-h-[80vh]"};return jsxRuntime.jsx(framerMotion.AnimatePresence,{children:e&&jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx(framerMotion.motion.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},onClick:n,className:"fixed inset-0 bg-black/50 z-50"}),jsxRuntime.jsxs(framerMotion.motion.div,{initial:o[i].initial,animate:o[i].animate,exit:o[i].exit,transition:{type:"spring",damping:25,stiffness:300},className:a("fixed z-50 p-6","bg-white dark:bg-zinc-900","shadow-xl",s[i],r),children:[jsxRuntime.jsx("button",{onClick:n,className:"absolute top-4 right-4 p-1 rounded-lg hover:bg-zinc-100 dark:hover:bg-zinc-800 transition-colors",children:jsxRuntime.jsx("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})}),t]})]})})}function El({className:e="",close:n=false,children:t,onClose:r}){let[i,o]=Wa__default.default.useState(true);if(!i)return null;let s=()=>{o(false),r?.();};return jsxRuntime.jsx("div",{className:a("min-h-[400px] w-full flex items-center justify-center p-4",e),children:jsxRuntime.jsx("div",{className:"flex flex-col items-center w-full lg:max-w-[75%] gap-6",children:jsxRuntime.jsxs("div",{className:"relative flex items-center gap-3 rounded-lg border border-zinc-300 dark:border-zinc-700 bg-transparent px-4 py-3 shadow-sm w-full max-w-md transition-all duration-200",children:[t,n&&jsxRuntime.jsx("button",{onClick:s,className:"absolute top-2 right-2 text-gray-500 hover:text-gray-700 dark:text-white/60 dark:hover:text-white transition-colors",children:jsxRuntime.jsx("svg",{className:"h-4 w-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]})})})}function Al({children:e,className:n}){return jsxRuntime.jsx("div",{className:a("text-primary flex-shrink-0",n),children:e})}function Bl({children:e,className:n}){return jsxRuntime.jsx("span",{className:a("text-foreground font-medium text-sm flex-1",n),children:e})}function Hl({children:e,className:n}){return jsxRuntime.jsx("div",{className:a("flex items-center gap-2",n),children:e})}function Dl({children:e,className:n,title:t="Terminal"}){return jsxRuntime.jsxs("div",{className:a("relative w-full max-w-2xl mx-auto bg-zinc-100 dark:bg-black rounded-lg overflow-hidden shadow-2xl","border border-zinc-300 dark:border-gray-800",n),children:[jsxRuntime.jsxs("div",{className:"flex items-center justify-between px-4 py-3 bg-zinc-200 dark:bg-gray-800 border-b border-zinc-300 dark:border-gray-700",children:[jsxRuntime.jsxs("div",{className:"flex items-center space-x-2",children:[jsxRuntime.jsx("div",{className:"w-3 h-3 bg-red-500 rounded-full"}),jsxRuntime.jsx("div",{className:"w-3 h-3 bg-yellow-500 rounded-full"}),jsxRuntime.jsx("div",{className:"w-3 h-3 bg-green-500 rounded-full"})]}),jsxRuntime.jsx("div",{className:"text-zinc-600 dark:text-gray-400 text-sm font-mono",children:t}),jsxRuntime.jsx("div",{className:"w-16"})]}),jsxRuntime.jsx("div",{className:"p-4 font-mono text-sm leading-relaxed space-y-2 min-h-[300px] bg-zinc-100 dark:bg-black text-zinc-900 dark:text-white",children:e})]})}function Fl({children:e,className:n,delay:t=0,speed:r=50}){let[i,o]=Wa.useState(""),[s,l]=Wa.useState(false);return Wa.useEffect(()=>{let u=setTimeout(()=>{let d=0,c=setInterval(()=>{d<=e.length?(o(e.slice(0,d)),d++):(l(true),clearInterval(c));},r);return ()=>clearInterval(c)},t);return ()=>clearTimeout(u)},[e,t,r]),jsxRuntime.jsxs("div",{className:a("flex items-center",n),children:[jsxRuntime.jsx("span",{children:i}),!s&&jsxRuntime.jsx("span",{className:"ml-1 animate-pulse bg-white w-2 h-4 inline-block"})]})}function Ol({children:e,className:n,delay:t=0}){let[r,i]=Wa.useState(false);return Wa.useEffect(()=>{let o=setTimeout(()=>{i(true);},t);return ()=>clearTimeout(o)},[t]),jsxRuntime.jsx("div",{className:a("transition-all duration-500 transform",r?"opacity-100 translate-y-0":"opacity-0 translate-y-2",n),children:e})}function Yl({children:e,initialStep:n=1,onStepChange:t=()=>{},onFinalStepCompleted:r=()=>{},backButtonText:i="Back",nextButtonText:o="Continue",disableStepIndicators:s=false,className:l,...u}){let[d,c]=Wa.useState(n),[m,g]=Wa.useState(0),p=Wa.Children.toArray(e),f=p.length,b=d>f,h=d===f,y=k=>{c(k),k>f?r():t(k);},v=()=>{d>1&&(g(-1),y(d-1));},x=()=>{h||(g(1),y(d+1));},w=()=>{g(1),y(f+1);};return jsxRuntime.jsxs("div",{className:a("w-full max-w-md mx-auto",l),...u,children:[jsxRuntime.jsx("div",{className:"flex items-center justify-between mb-8",children:p.map((k,T)=>{let N=T+1,P=T<f-1;return jsxRuntime.jsxs(Wa__default.default.Fragment,{children:[jsxRuntime.jsx(Kl,{step:N,disableStepIndicators:s,currentStep:d,onClickStep:z=>{g(z>d?1:-1),y(z);}}),P&&jsxRuntime.jsx(Ql,{isComplete:d>N})]},N)})}),jsxRuntime.jsx(ql,{isCompleted:b,currentStep:d,direction:m,children:p[d-1]}),!b&&jsxRuntime.jsxs("div",{className:a("flex mt-8",d!==1?"justify-between":"justify-end"),children:[d!==1&&jsxRuntime.jsx("button",{onClick:v,className:"px-4 py-2 text-sm font-medium text-zinc-400 hover:text-white transition-colors rounded-lg hover:bg-zinc-800",children:i}),jsxRuntime.jsx("button",{onClick:h?w:x,className:"px-4 py-2 text-sm font-medium bg-white text-black rounded-lg hover:bg-zinc-200 transition-colors",children:h?"Complete":o})]})]})}function ql({isCompleted:e,currentStep:n,direction:t,children:r}){let[i,o]=Wa.useState(0);return jsxRuntime.jsx(framerMotion.motion.div,{className:"relative overflow-hidden",animate:{height:e?0:i},transition:{type:"spring",duration:.4},children:jsxRuntime.jsx(framerMotion.AnimatePresence,{initial:false,mode:"sync",custom:t,children:!e&&jsxRuntime.jsx(Ul,{direction:t,onHeightReady:s=>o(s),children:r},n)})})}function Ul({children:e,direction:n,onHeightReady:t}){let r=Wa.useRef(null);Wa.useLayoutEffect(()=>{r.current&&t(r.current.offsetHeight);},[e,t]);let i={enter:o=>({x:o>=0?"-100%":"100%",opacity:0}),center:{x:"0%",opacity:1},exit:o=>({x:o>=0?"50%":"-50%",opacity:0})};return jsxRuntime.jsx(framerMotion.motion.div,{ref:r,custom:n,variants:i,initial:"enter",animate:"center",exit:"exit",transition:{duration:.4},className:"absolute left-0 right-0 top-0",children:e})}function Jl({children:e}){return jsxRuntime.jsx("div",{className:"p-4 rounded-lg bg-zinc-900 border border-zinc-800",children:e})}function Kl({step:e,currentStep:n,onClickStep:t,disableStepIndicators:r}){let i=n===e?"active":n<e?"inactive":"complete",o=()=>{e!==n&&!r&&t(e);};return jsxRuntime.jsx(framerMotion.motion.button,{onClick:o,disabled:r,className:a("relative flex items-center justify-center w-10 h-10 rounded-full text-sm font-medium transition-all",i==="inactive"&&"bg-zinc-800 text-zinc-500 border border-zinc-700",i==="active"&&"bg-white text-black border-2 border-white",i==="complete"&&"bg-white text-black border-2 border-white",!r&&"cursor-pointer hover:opacity-80"),animate:i,initial:false,children:i==="complete"?jsxRuntime.jsx("svg",{className:"w-5 h-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2.5,children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 13l4 4L19 7"})}):jsxRuntime.jsx("span",{children:e})})}function Ql({isComplete:e}){return jsxRuntime.jsx("div",{className:"flex-1 h-[2px] mx-2 bg-zinc-800 rounded-full overflow-hidden",children:jsxRuntime.jsx(framerMotion.motion.div,{className:"h-full bg-white rounded-full",initial:{width:0},animate:{width:e?"100%":"0%"},transition:{duration:.4}})})}var gr=Wa.createContext(null),br=()=>{let e=Wa.useContext(gr);if(!e)throw new Error("useTree must be used within a TreeProvider");return e},hr=Wa.forwardRef(({data:e,initialSelectedId:n,onSelectChange:t,initialExpandedItems:r=[],elements:i,className:o,...s},l)=>{let[u,d]=Wa.useState(n),[c,m]=Wa.useState(r),g=Wa.useCallback(b=>{m(h=>h.includes(b)?h.filter(y=>y!==b):[...h,b]);},[]),p=Wa.useCallback(b=>{let h=e||i||[],y=Array.isArray(h)?h:[h],v=w=>{for(let k of w){if(k.id===b)return k;if(k.children){let T=v(k.children);if(T)return T}}},x=v(y);x?.isSelectable&&(d(b),t?.(x));},[e,i,t]),f={selectedId:u,expandedItems:c,handleExpand:g,handleSelect:p,data:e||i||[]};return jsxRuntime.jsx(gr.Provider,{value:f,children:jsxRuntime.jsx("div",{className:a("relative overflow-hidden",o),ref:l,...s,children:Wa__default.default.Children.map(s.children,b=>b)})})});hr.displayName="Tree";var xr=Wa.forwardRef(({className:e,element:n,value:t,isSelectable:r=true,children:i,...o},s)=>{let{selectedId:l,expandedItems:u,handleExpand:d,handleSelect:c}=br();return jsxRuntime.jsxs("div",{ref:s,className:"relative",...o,children:[jsxRuntime.jsxs("div",{className:a("flex cursor-pointer items-center gap-1 rounded-md px-2 py-1 text-sm hover:bg-muted",l===t&&"bg-muted",e),onClick:()=>{d(t),r&&c(t);},children:[jsxRuntime.jsx("svg",{className:a("h-4 w-4 shrink-0 transition-transform duration-200",u.includes(t)&&"rotate-90"),fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5l7 7-7 7"})}),jsxRuntime.jsx("svg",{className:"h-4 w-4 shrink-0",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M3 7v10a2 2 0 002 2h14a2 2 0 002-2V9a2 2 0 00-2-2h-6l-2-2H5a2 2 0 00-2 2z"})}),jsxRuntime.jsx("span",{className:"truncate",children:n})]}),u.includes(t)&&jsxRuntime.jsx("div",{className:"ml-4 border-l border-muted pl-2",children:i})]})});xr.displayName="Folder";var vr=Wa.forwardRef(({className:e,value:n,isSelectable:t=true,children:r,...i},o)=>{let{selectedId:s,handleSelect:l}=br();return jsxRuntime.jsxs("div",{ref:o,className:a("flex cursor-pointer items-center gap-1 rounded-md px-2 py-1 text-sm hover:bg-muted",s===n&&"bg-muted",e),onClick:()=>t&&l(n),...i,children:[jsxRuntime.jsx("svg",{className:"h-4 w-4 shrink-0",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"})}),jsxRuntime.jsx("div",{className:"truncate",children:r})]})});vr.displayName="File";function ac({mv:e,number:n,height:t}){let r=framerMotion.useTransform(e,i=>{let o=i%10,s=(10+n-o)%10,l=s*t;return s>5&&(l-=10*t),l});return jsxRuntime.jsx(framerMotion.motion.span,{style:{y:r,position:"absolute",inset:0,display:"flex",justifyContent:"center"},children:n})}function ic({place:e,value:n,height:t,digitStyle:r}){let i=Math.floor(n/e),o=framerMotion.useSpring(i,{stiffness:200,damping:25});return Wa.useEffect(()=>{o.set(i);},[o,i]),jsxRuntime.jsx("div",{style:{height:t,position:"relative",overflow:"hidden",...r},children:Array.from({length:10},(s,l)=>jsxRuntime.jsx(ac,{mv:o,number:l,height:t},l))})}function sc({value:e,fontSize:n=100,padding:t=0,places:r=[100,10,1],gap:i=8,textColor:o="#000000",fontWeight:s=900,containerStyle:l,digitStyle:u}){let d=n+t;return jsxRuntime.jsx("div",{style:{display:"flex",gap:i,fontSize:n,color:o,fontWeight:s,...l},children:r.map(c=>jsxRuntime.jsx(ic,{place:c,value:e,height:d,digitStyle:u},c))})}var dc={initial:{gap:0,paddingLeft:".5rem",paddingRight:".5rem"},animate:e=>({gap:e?".5rem":0,paddingLeft:e?"1rem":".5rem",paddingRight:e?"1rem":".5rem"})},uc={initial:{width:0,opacity:0},animate:{width:"auto",opacity:1},exit:{width:0,opacity:0}},wr={type:"spring",bounce:0,duration:.4};function mc({className:e,items:n,defaultSelected:t,onItemClick:r}){let[i,o]=Wa.useState(t||null),s=l=>{o(i===l?null:l),r?.(l);};return jsxRuntime.jsx("div",{className:a("flex items-center gap-3 p-2 relative","bg-background border rounded-xl transition-all duration-200",e),children:jsxRuntime.jsx("div",{className:"flex items-center gap-2",children:n.map(l=>jsxRuntime.jsxs(framerMotion.motion.button,{variants:dc,initial:false,animate:"animate",custom:i===l.id,onClick:()=>s(l.id),transition:wr,className:a("relative flex items-center rounded-none px-3 py-2","text-sm font-medium transition-colors duration-300",i===l.id?"bg-[#1F9CFE] text-white rounded-lg":"text-muted-foreground hover:bg-muted hover:text-foreground"),children:[l.icon,jsxRuntime.jsx(framerMotion.AnimatePresence,{initial:false,children:i===l.id&&jsxRuntime.jsx(framerMotion.motion.span,{variants:uc,initial:"initial",animate:"animate",exit:"exit",transition:wr,className:"overflow-hidden",children:l.title})})]},l.id))})})}function xc({className:e,children:n,direction:t="middle"}){let r={top:"items-start",middle:"items-center",bottom:"items-end"};return jsxRuntime.jsx(framerMotion.motion.div,{className:a("mx-auto w-max mt-8 h-[58px] p-2 flex gap-2 rounded-2xl border","supports-backdrop-blur:bg-white/10 supports-backdrop-blur:dark:bg-black/10 backdrop-blur-md","border-gray-200 bg-gray-50/80 dark:border-gray-800 dark:bg-gray-900/80",r[t],e),children:n})}function vc({size:e=40,magnification:n=60,distance:t=140,children:r,className:i}){let o=Wa.useRef(null),s=framerMotion.useMotionValue(1/0),l=framerMotion.useSpring(framerMotion.useTransform(s,[-t,0,t],[e,n,e]),{mass:.1,stiffness:150,damping:12});return jsxRuntime.jsx(framerMotion.motion.div,{ref:o,style:{width:l},onMouseMove:u=>s.set(u.pageX-o.current.offsetLeft-l.get()/2),onMouseLeave:()=>s.set(1/0),className:a("flex aspect-square cursor-pointer items-center justify-center rounded-full",i),children:r})}var zr=Wa.forwardRef(({className:e,label:n,error:t,icon:r,...i},o)=>jsxRuntime.jsxs("div",{className:"w-full",children:[n&&jsxRuntime.jsx("label",{className:"block text-sm font-medium text-zinc-700 dark:text-zinc-300 mb-1",children:n}),jsxRuntime.jsxs("div",{className:"relative",children:[r&&jsxRuntime.jsx("div",{className:"absolute left-3 top-1/2 -translate-y-1/2 text-zinc-400",children:r}),jsxRuntime.jsx("input",{ref:o,className:a("w-full px-4 py-2 rounded-lg","bg-white dark:bg-zinc-900","border border-zinc-300 dark:border-zinc-700","text-zinc-900 dark:text-zinc-100","placeholder:text-zinc-400 dark:placeholder:text-zinc-500","focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent","transition-all duration-200",r&&"pl-10",t&&"border-red-500 focus:ring-red-500",e),...i})]}),t&&jsxRuntime.jsx("p",{className:"mt-1 text-sm text-red-500",children:t})]}));zr.displayName="Input";var Pr=Wa.forwardRef(({className:e,label:n,error:t,...r},i)=>jsxRuntime.jsxs("div",{className:"w-full",children:[n&&jsxRuntime.jsx("label",{className:"block text-sm font-medium text-zinc-700 dark:text-zinc-300 mb-1",children:n}),jsxRuntime.jsx("textarea",{ref:i,className:a("w-full px-4 py-2 rounded-lg min-h-[100px] resize-y","bg-white dark:bg-zinc-900","border border-zinc-300 dark:border-zinc-700","text-zinc-900 dark:text-zinc-100","placeholder:text-zinc-400 dark:placeholder:text-zinc-500","focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent","transition-all duration-200",t&&"border-red-500 focus:ring-red-500",e),...r}),t&&jsxRuntime.jsx("p",{className:"mt-1 text-sm text-red-500",children:t})]}));Pr.displayName="Textarea";function Tc({checked:e=false,onChange:n,label:t,disabled:r=false,className:i}){return jsxRuntime.jsxs("label",{className:a("inline-flex items-center gap-2 cursor-pointer",r&&"opacity-50 cursor-not-allowed",i),children:[jsxRuntime.jsx("button",{type:"button",role:"checkbox","aria-checked":e,disabled:r,onClick:()=>n?.(!e),className:a("w-5 h-5 rounded border-2 flex items-center justify-center transition-colors",e?"bg-blue-500 border-blue-500":"bg-transparent border-zinc-300 dark:border-zinc-600"),children:jsxRuntime.jsx(framerMotion.motion.svg,{initial:false,animate:{scale:e?1:0,opacity:e?1:0},transition:{duration:.15},className:"w-3 h-3 text-white",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:3,d:"M5 13l4 4L19 7"})})}),t&&jsxRuntime.jsx("span",{className:"text-sm",children:t})]})}function Rc({options:e,value:n,onChange:t,name:r,className:i,direction:o="vertical"}){return jsxRuntime.jsx("div",{className:a("flex gap-3",o==="vertical"?"flex-col":"flex-row flex-wrap",i),children:e.map(s=>jsxRuntime.jsxs("label",{className:"inline-flex items-center gap-2 cursor-pointer",children:[jsxRuntime.jsx("button",{type:"button",role:"radio","aria-checked":n===s.value,onClick:()=>t?.(s.value),className:a("w-5 h-5 rounded-full border-2 flex items-center justify-center transition-colors",n===s.value?"border-blue-500":"border-zinc-300 dark:border-zinc-600"),children:jsxRuntime.jsx(framerMotion.motion.div,{initial:false,animate:{scale:n===s.value?1:0,opacity:n===s.value?1:0},transition:{duration:.15},className:"w-2.5 h-2.5 rounded-full bg-blue-500"})}),jsxRuntime.jsx("span",{className:"text-sm",children:s.label})]},s.value))})}function Ec({options:e,value:n,onChange:t,placeholder:r="Select...",className:i,label:o}){let[s,l]=Wa.useState(false),u=Wa.useRef(null),d=e.find(c=>c.value===n);return Wa.useEffect(()=>{let c=m=>{u.current&&!u.current.contains(m.target)&&l(false);};return document.addEventListener("mousedown",c),()=>document.removeEventListener("mousedown",c)},[]),jsxRuntime.jsxs("div",{className:"w-full",children:[o&&jsxRuntime.jsx("label",{className:"block text-sm font-medium text-zinc-700 dark:text-zinc-300 mb-1",children:o}),jsxRuntime.jsxs("div",{ref:u,className:a("relative",i),children:[jsxRuntime.jsxs("button",{type:"button",onClick:()=>l(!s),className:a("w-full px-4 py-2 rounded-lg text-left","bg-white dark:bg-zinc-900","border border-zinc-300 dark:border-zinc-700","flex items-center justify-between","focus:outline-none focus:ring-2 focus:ring-blue-500","transition-all duration-200"),children:[jsxRuntime.jsx("span",{className:d?"":"text-zinc-400",children:d?.label||r}),jsxRuntime.jsx(framerMotion.motion.svg,{animate:{rotate:s?180:0},transition:{duration:.2},className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})]}),jsxRuntime.jsx(framerMotion.AnimatePresence,{children:s&&jsxRuntime.jsx(framerMotion.motion.div,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.15},className:a("absolute z-50 w-full mt-1 rounded-lg overflow-hidden","bg-white dark:bg-zinc-900","border border-zinc-300 dark:border-zinc-700","shadow-lg"),children:e.map(c=>jsxRuntime.jsx("button",{type:"button",onClick:()=>{t?.(c.value),l(false);},className:a("w-full px-4 py-2 text-left","hover:bg-zinc-100 dark:hover:bg-zinc-800","transition-colors",n===c.value&&"bg-blue-50 dark:bg-blue-900/20 text-blue-600"),children:c.label},c.value))})})]})]})}function _c({maxLength:e=6,onComplete:n,onChange:t,className:r=""}){let[i,o]=Wa.useState(new Array(e).fill("")),s=Wa.useRef([]);Wa.useEffect(()=>{let c=i.join("");t?.(c),c.length===e&&n?.(c);},[i,e,t,n]);let l=(c,m)=>{if(m.length>1){let g=m.slice(0,e).split(""),p=[...i];g.forEach((b,h)=>{c+h<e&&(p[c+h]=b);}),o(p);let f=Math.min(c+g.length,e-1);s.current[f]?.focus();return}if(/^\d*$/.test(m)){let g=[...i];g[c]=m,o(g),m&&c<e-1&&s.current[c+1]?.focus();}},u=(c,m)=>{if(m.key==="Backspace")if(!i[c]&&c>0)s.current[c-1]?.focus();else {let g=[...i];g[c]="",o(g);}else m.key==="ArrowLeft"&&c>0?s.current[c-1]?.focus():m.key==="ArrowRight"&&c<e-1&&s.current[c+1]?.focus();},d=c=>{s.current[c]?.select();};return jsxRuntime.jsx("div",{className:a("flex items-center gap-2",r),children:i.map((c,m)=>jsxRuntime.jsx("input",{ref:g=>{s.current[m]=g;},type:"text",inputMode:"numeric",maxLength:1,value:c,onChange:g=>l(m,g.target.value),onKeyDown:g=>u(m,g),onFocus:()=>d(m),className:a("w-12 h-12 text-center text-lg font-semibold","border-2 border-zinc-300 dark:border-zinc-600 rounded-md","focus:border-zinc-900 dark:focus:border-white focus:outline-none","bg-white dark:bg-zinc-800 text-zinc-900 dark:text-white","transition-colors")},m))})}function Fc({className:e,onChange:n}){let[t,r]=Wa.useState(false),i=()=>{let o=!t;r(o),n?.(o);};return jsxRuntime.jsxs("label",{className:a("relative w-10 h-8 bg-transparent cursor-pointer block",e),htmlFor:"burger-basic",children:[jsxRuntime.jsx("input",{type:"checkbox",id:"burger-basic",className:"hidden",checked:t,onChange:i}),jsxRuntime.jsx("span",{className:a("block absolute h-1 w-full bg-black dark:bg-white rounded-lg opacity-100 left-0 transition-all duration-250 ease-in-out","top-0 origin-left",t&&"rotate-45 top-0 left-1.5")}),jsxRuntime.jsx("span",{className:a("block absolute h-1 w-full bg-black dark:bg-white rounded-lg opacity-100 left-0 transition-all duration-250 ease-in-out","top-1/2 -translate-y-1/2 origin-left",t&&"w-0 opacity-0")}),jsxRuntime.jsx("span",{className:a("block absolute h-1 w-full bg-black dark:bg-white rounded-lg opacity-100 left-0 transition-all duration-250 ease-in-out","top-full -translate-y-full origin-left",t&&"-rotate-45 top-7 left-1.5")})]})}function $c({className:e,onChange:n}){let[t,r]=Wa.useState(false),i=()=>{let o=!t;r(o),n?.(o);};return jsxRuntime.jsxs("div",{className:a("inline-block",e),children:[jsxRuntime.jsx("input",{type:"checkbox",id:"checkbox-spin",className:"hidden",checked:t,onChange:i}),jsxRuntime.jsxs("label",{htmlFor:"checkbox-spin",className:a("relative w-10 h-10 cursor-pointer flex flex-col items-center justify-center gap-2.5 transition-all duration-500",t&&"rotate-180"),children:[jsxRuntime.jsx("div",{className:a("w-full h-1 bg-black dark:bg-white rounded-md transition-all duration-500 origin-center",t&&"scale-x-[0.6] translate-y-[1px]")}),jsxRuntime.jsx("div",{className:a("w-full h-1 bg-black dark:bg-white rounded-md transition-all duration-500 origin-center",t&&"rotate-90 scale-x-[1.2]")}),jsxRuntime.jsx("div",{className:a("w-full h-1 bg-black dark:bg-white rounded-md transition-all duration-500 origin-center",t&&"scale-x-[0.6] -translate-y-[1px]")})]})]})}function Gc(...e){return e.filter(Boolean).join(" ")}function Wc({className:e,onChange:n}){let[t,r]=Wa.useState(false);return jsxRuntime.jsxs("button",{onClick:()=>{let o=!t;r(o),n?.(o);},className:Gc("relative w-12 h-12 bg-transparent cursor-pointer flex flex-col items-center justify-center gap-2",e),"aria-label":"Toggle menu",children:[jsxRuntime.jsx(framerMotion.motion.div,{className:"w-full h-1 bg-black dark:bg-white rounded-full origin-center",animate:t?{scaleX:0}:{scaleX:1},transition:{duration:.3,type:"spring",stiffness:400,damping:30}}),jsxRuntime.jsx(framerMotion.motion.div,{className:"w-full h-1 bg-black dark:bg-white rounded-full origin-center",animate:t?{scaleX:1.2}:{scaleX:1},transition:{duration:.4,type:"spring",stiffness:200,damping:20}}),jsxRuntime.jsx(framerMotion.motion.div,{className:"w-full h-1 bg-black dark:bg-white rounded-full origin-center",animate:t?{scaleX:0}:{scaleX:1},transition:{duration:.3,delay:.05,type:"spring",stiffness:400,damping:30}})]})}function Uc(...e){return e.filter(Boolean).join(" ")}function Jc({className:e,onChange:n}){let[t,r]=Wa.useState(false);return jsxRuntime.jsxs("button",{onClick:()=>{let o=!t;r(o),n?.(o);},className:Uc("relative w-12 h-12 bg-transparent cursor-pointer flex flex-col items-center justify-center gap-2 p-2",e),"aria-label":"Toggle menu",children:[jsxRuntime.jsx(framerMotion.motion.div,{className:"w-full h-1 bg-black dark:bg-white rounded-full origin-center",animate:t?{y:-12,rotation:90,scaleX:.8}:{y:0,rotation:0,scaleX:1},transition:{duration:.5,type:"spring",stiffness:200,damping:15}}),jsxRuntime.jsx(framerMotion.motion.div,{className:"w-full h-1 bg-black dark:bg-white rounded-full origin-center",animate:t?{rotation:90,scaleX:.8}:{rotation:0,scaleX:1},transition:{duration:.5,type:"spring",stiffness:200,damping:15}}),jsxRuntime.jsx(framerMotion.motion.div,{className:"w-full h-1 bg-black dark:bg-white rounded-full origin-center",animate:t?{y:12,rotation:90,scaleX:.8}:{y:0,rotation:0,scaleX:1},transition:{duration:.5,type:"spring",stiffness:200,damping:15}})]})}function $e(...e){return e.filter(Boolean).join(" ")}function Zc({className:e,onChange:n}){let[t,r]=Wa.useState(false);return jsxRuntime.jsx("button",{onClick:()=>{let o=!t;r(o),n?.(o);},className:$e("relative w-12 h-12 bg-transparent cursor-pointer flex items-center justify-center",e),"aria-label":"Toggle menu",children:jsxRuntime.jsxs("div",{className:"relative w-8 h-8",children:[jsxRuntime.jsx("span",{className:$e("absolute w-2 h-2 bg-black dark:bg-white rounded-sm transition-all duration-300 ease-out",t?"top-0 left-0":"top-0 left-1/2 -translate-x-1/2 w-8 h-0.5 rounded-full")}),jsxRuntime.jsx("span",{className:$e("absolute w-2 h-2 bg-black dark:bg-white rounded-sm transition-all duration-300 ease-out delay-75",t?"top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2":"top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-8 h-0.5 rounded-full")}),jsxRuntime.jsx("span",{className:$e("absolute w-2 h-2 bg-black dark:bg-white rounded-sm transition-all duration-300 ease-out delay-150",t?"bottom-0 right-0":"bottom-0 left-1/2 -translate-x-1/2 w-8 h-0.5 rounded-full")})]})})}function Ge(...e){return e.filter(Boolean).join(" ")}function td({className:e,onChange:n}){let[t,r]=Wa.useState(false),i=()=>{let o=!t;r(o),n?.(o);};return jsxRuntime.jsxs("label",{className:Ge("w-12 h-8 cursor-pointer relative block",e),htmlFor:"burger-stagger",children:[jsxRuntime.jsx("input",{type:"checkbox",id:"burger-stagger",className:"hidden w-full h-full",checked:t,onChange:i}),jsxRuntime.jsx("span",{className:Ge("block absolute w-full rounded-lg border-[3px] border-black dark:border-white bg-black dark:bg-white transition-all duration-150 ease-in-out","top-0 right-0 origin-right",t&&"w-1/2 top-1/2 -translate-y-[30%] rotate-[40deg]")}),jsxRuntime.jsx("span",{className:Ge("block absolute w-full rounded-lg border-[3px] border-black dark:border-white bg-black dark:bg-white transition-all duration-150 ease-in-out","top-1/2 -translate-y-1/2")}),jsxRuntime.jsx("span",{className:Ge("block absolute w-full rounded-lg border-[3px] border-black dark:border-white bg-black dark:bg-white transition-all duration-150 ease-in-out","top-full right-0 origin-right -translate-y-full",t&&"w-1/2 top-1/2 -translate-y-[70%] -rotate-[40deg]")})]})}function od(...e){return e.filter(Boolean).join(" ")}function ad({className:e,onChange:n}){let[t,r]=Wa.useState(false);return jsxRuntime.jsxs("button",{onClick:()=>{let o=!t;r(o),n?.(o);},className:od("relative w-12 h-12 bg-transparent cursor-pointer flex flex-col items-center justify-center gap-2 p-2",e),style:{transformStyle:"preserve-3d",perspective:"800px"},"aria-label":"Toggle menu",children:[jsxRuntime.jsx(framerMotion.motion.div,{className:"w-8 h-0.5 bg-black dark:bg-white rounded",animate:t?{width:10,height:10,borderRadius:"50%",y:-6}:{width:32,height:2,borderRadius:"4px",y:0},transition:{duration:.3,ease:"easeInOut"}}),jsxRuntime.jsx(framerMotion.motion.div,{className:"w-8 h-0.5 bg-black dark:bg-white rounded",animate:t?{width:10,height:10,borderRadius:"50%",x:-8,y:6}:{width:32,height:2,borderRadius:"4px",x:0,y:0},transition:{duration:.35,ease:"easeInOut"}}),jsxRuntime.jsx(framerMotion.motion.div,{className:"w-8 h-0.5 bg-black dark:bg-white rounded",animate:t?{width:10,height:10,borderRadius:"50%",x:8,y:6}:{width:32,height:2,borderRadius:"4px",x:0,y:0},transition:{duration:.4,ease:"easeInOut"}})]})}function ld(...e){return e.filter(Boolean).join(" ")}function cd({className:e,onChange:n}){let[t,r]=Wa.useState(false);return jsxRuntime.jsxs("button",{onClick:()=>{let o=!t;r(o),n?.(o);},className:ld("relative w-12 h-12 bg-transparent cursor-pointer flex flex-col items-center justify-center gap-2",e),"aria-label":"Toggle menu",children:[jsxRuntime.jsx(framerMotion.motion.div,{className:"w-full h-1 bg-black dark:bg-white rounded-full origin-center",animate:t?{rotateX:90,y:0,opacity:0}:{rotateX:0,y:0,opacity:1},transition:{duration:.3,type:"spring",stiffness:300,damping:30}}),jsxRuntime.jsx(framerMotion.motion.div,{className:"w-full h-1 bg-black dark:bg-white rounded-full origin-center",animate:t?{scaleY:3}:{scaleY:1},transition:{duration:.6,type:"spring",stiffness:200,damping:15}}),jsxRuntime.jsx(framerMotion.motion.div,{className:"w-full h-1 bg-black dark:bg-white rounded-full origin-center",animate:t?{rotateX:90,y:0,opacity:0}:{rotateX:0,y:0,opacity:1},transition:{duration:.3,type:"spring",stiffness:300,damping:30}})]})}function md({sparkColor:e="#000000",sparkSize:n=10,sparkRadius:t=15,sparkCount:r=8,duration:i=400,easing:o="ease-out",extraScale:s=1,children:l}){let u=Wa.useRef(null),d=Wa.useRef([]),c=Wa.useRef(null);Wa.useEffect(()=>{let p=u.current;if(!p)return;let f=p.parentElement;if(!f)return;let b,h=()=>{let{width:x,height:w}=f.getBoundingClientRect();(p.width!==x||p.height!==w)&&(p.width=x,p.height=w);},y=()=>{clearTimeout(b),b=setTimeout(h,100);},v=new ResizeObserver(y);return v.observe(f),h(),()=>{v.disconnect(),clearTimeout(b);}},[]);let m=Wa.useCallback(p=>{switch(o){case "linear":return p;case "ease-in":return p*p;case "ease-in-out":return p<.5?2*p*p:-1+(4-2*p)*p;default:return p*(2-p)}},[o]);return Wa.useEffect(()=>{let p=u.current;if(!p)return;let f=p.getContext("2d");if(!f)return;let b,h=y=>{c.current||(c.current=y),f.clearRect(0,0,p.width,p.height),d.current=d.current.filter(v=>{let x=y-v.startTime;if(x>=i)return false;let w=x/i,k=m(w),T=k*t*s,N=n*(1-k),P=v.x+T*Math.cos(v.angle),z=v.y+T*Math.sin(v.angle),R=v.x+(T+N)*Math.cos(v.angle),C=v.y+(T+N)*Math.sin(v.angle);return f.strokeStyle=e,f.lineWidth=2,f.beginPath(),f.moveTo(P,z),f.lineTo(R,C),f.stroke(),true}),b=requestAnimationFrame(h);};return b=requestAnimationFrame(h),()=>{cancelAnimationFrame(b);}},[e,n,t,i,m,s]),jsxRuntime.jsxs("div",{style:{position:"relative",width:"100%",height:"100%"},onClick:p=>{let f=u.current;if(!f)return;let b=f.getBoundingClientRect(),h=p.clientX-b.left,y=p.clientY-b.top,v=performance.now(),x=Array.from({length:r},(w,k)=>({x:h,y,angle:2*Math.PI*k/r,startTime:v}));d.current.push(...x);},children:[jsxRuntime.jsx("canvas",{ref:u,style:{width:"100%",height:"100%",display:"block",userSelect:"none",position:"absolute",top:0,left:0,pointerEvents:"none"}}),l]})}function xd({className:e}){let[n,t]=Wa.useState(false),r=framerMotion.useMotionValue(-100),i=framerMotion.useMotionValue(-100),o={damping:25,stiffness:700},s=framerMotion.useSpring(r,o),l=framerMotion.useSpring(i,o);return Wa.useEffect(()=>{let u=c=>{r.set(c.clientX-16),i.set(c.clientY-16),t(true);},d=()=>{t(false);};return window.addEventListener("mousemove",u),window.addEventListener("mouseleave",d),()=>{window.removeEventListener("mousemove",u),window.removeEventListener("mouseleave",d);}},[r,i]),jsxRuntime.jsx(framerMotion.motion.div,{className:a("pointer-events-none fixed left-0 top-0 z-50 h-8 w-8 rounded-full bg-zinc-400 mix-blend-difference",n?"opacity-100":"opacity-0",e),style:{x:s,y:l},transition:{type:"spring",stiffness:500,damping:28}})}function wd({children:e,className:n,duration:t=5,distance:r=50}){return jsxRuntime.jsx(framerMotion.motion.div,{className:a("relative",n),animate:{y:[0,-r,0]},transition:{duration:t,repeat:1/0,ease:"easeInOut"},children:e})}function Td({children:e,className:n,glowColor:t="rgba(255, 255, 255, 0.4)",duration:r=3}){return jsxRuntime.jsx(framerMotion.motion.div,{className:a("relative p-8 rounded-3xl border-2 border-white/30",n),style:{background:"radial-gradient(circle at center, rgba(255,255,255,0.05) 0%, transparent 70%)"},animate:{boxShadow:[`0 0 40px ${t}, 0 0 80px ${t.replace("0.4","0.2")}`,`0 0 80px ${t.replace("0.4","0.8")}, 0 0 160px ${t.replace("0.4","0.5")}`,`0 0 40px ${t}, 0 0 80px ${t.replace("0.4","0.2")}`],borderColor:["rgba(255, 255, 255, 0.3)","rgba(255, 255, 255, 0.6)","rgba(255, 255, 255, 0.3)"]},transition:{duration:r,repeat:1/0,ease:"easeInOut"},children:e})}function Rd({children:e,className:n,delay:t=0,duration:r=.8,blur:i=10,inView:o=false,inViewMargin:s="-50px",yOffset:l=6}){let u={hidden:{opacity:0,filter:`blur(${i}px)`,y:l},visible:{opacity:1,filter:"blur(0px)",y:0}};return jsxRuntime.jsx(framerMotion.motion.div,{className:a(n),initial:"hidden",animate:o?void 0:"visible",whileInView:o?"visible":void 0,viewport:{once:true,margin:s},variants:u,transition:{duration:r,delay:t,ease:[.25,.1,.25,1]},children:e})}var Dt=class{constructor(n,t,r,i,o,s,l){this.width=n.width,this.height=n.height,this.ctx=t,this.x=r,this.y=i,this.color=o,this.speed=this.getRandomValue(.1,.9)*s,this.size=0,this.sizeStep=Math.random()*.4,this.minSize=.5,this.maxSizeInteger=2,this.maxSize=this.getRandomValue(this.minSize,this.maxSizeInteger),this.delay=l,this.counter=0,this.counterStep=Math.random()*4+(this.width+this.height)*.01,this.isIdle=false,this.isReverse=false,this.isShimmer=false;}getRandomValue(n,t){return Math.random()*(t-n)+n}draw(){let n=this.maxSizeInteger*.5-this.size*.5;this.ctx.fillStyle=this.color,this.ctx.fillRect(this.x+n,this.y+n,this.size,this.size);}appear(){if(this.isIdle=false,this.counter<=this.delay){this.counter+=this.counterStep;return}this.size>=this.maxSize&&(this.isShimmer=true),this.isShimmer?this.shimmer():this.size+=this.sizeStep,this.draw();}disappear(){if(this.isShimmer=false,this.counter=0,this.size<=0){this.isIdle=true;return}else this.size-=.1;this.draw();}shimmer(){this.size>=this.maxSize?this.isReverse=true:this.size<=this.minSize&&(this.isReverse=false),this.isReverse?this.size-=this.speed:this.size+=this.speed;}},Er={default:{gap:5,speed:35,colors:"#71717a,#a1a1aa,#d4d4d8",noFocus:false},blue:{gap:10,speed:25,colors:"#0ea5e9,#38bdf8,#7dd3fc",noFocus:false},yellow:{gap:3,speed:20,colors:"#ca8a04,#eab308,#facc15",noFocus:false},pink:{gap:6,speed:80,colors:"#be123c,#e11d48,#f43f5e",noFocus:true}};function Cd(e,n){return e<=0||n?0:e>=100?100*.001:e*.001}function Ld({variant:e="default",gap:n,speed:t,colors:r,noFocus:i,className:o="",children:s}){let l=Wa.useRef(null),u=Wa.useRef(null),d=Wa.useRef([]),c=Wa.useRef(null),m=Wa.useRef(typeof performance<"u"?performance.now():0),g=Wa.useRef(typeof window<"u"?window.matchMedia("(prefers-reduced-motion: reduce)").matches:false).current,p=Er[e]||Er.default,f=n??p.gap,b=t??p.speed,h=r??p.colors,y=i??p.noFocus,v=()=>{if(!l.current||!u.current)return;let z=l.current.getBoundingClientRect(),R=Math.floor(z.width)||300,C=Math.floor(z.height)||400,S=u.current.getContext("2d");if(!S)return;u.current.width=R,u.current.height=C,u.current.style.width=`${R}px`,u.current.style.height=`${C}px`;let M=h.split(",").map(L=>L.trim()),A=[],E=Math.max(parseInt(f.toString(),10),3);for(let L=0;L<R;L+=E)for(let H=0;H<C;H+=E){let I=M[Math.floor(Math.random()*M.length)],$=L-R/2,oe=H-C/2,Z=Math.sqrt($*$+oe*oe),ze=g?0:Z;A.push(new Dt(u.current,S,L,H,I,Cd(b,g),ze));}d.current=A;},x=z=>{c.current=requestAnimationFrame(()=>x(z));let R=performance.now(),C=R-m.current,S=1e3/60;if(C<S)return;m.current=R-C%S;let M=u.current?.getContext("2d");if(!M||!u.current)return;M.clearRect(0,0,u.current.width,u.current.height);let A=true;for(let E=0;E<d.current.length;E++){let L=d.current[E];L[z](),L.isIdle||(A=false);}A&&c.current&&cancelAnimationFrame(c.current);},w=z=>{c.current!==null&&cancelAnimationFrame(c.current),c.current=requestAnimationFrame(()=>x(z));},k=()=>w("appear"),T=()=>w("disappear"),N=z=>{z.currentTarget.contains(z.relatedTarget)||w("appear");},P=z=>{z.currentTarget.contains(z.relatedTarget)||w("disappear");};return Wa.useEffect(()=>{v();let z=new ResizeObserver(()=>{v();});return l.current&&z.observe(l.current),()=>{z.disconnect(),c.current!==null&&cancelAnimationFrame(c.current);}},[f,b,h,y]),jsxRuntime.jsxs("div",{ref:l,className:a("relative overflow-hidden rounded-xl border border-zinc-200 dark:border-zinc-800 bg-zinc-100 dark:bg-zinc-900",o),onMouseEnter:k,onMouseLeave:T,onFocus:y?void 0:N,onBlur:y?void 0:P,tabIndex:y?-1:0,children:[jsxRuntime.jsx("canvas",{className:"absolute inset-0 w-full h-full pointer-events-none",ref:u}),jsxRuntime.jsx("div",{className:"relative z-10",children:s})]})}var Ft={damping:30,stiffness:100,mass:2};function Bd({imageSrc:e,altText:n="Tilted card image",captionText:t="",containerHeight:r="300px",containerWidth:i="100%",imageHeight:o="300px",imageWidth:s="300px",scaleOnHover:l=1.1,rotateAmplitude:u=14,showMobileWarning:d=false,showTooltip:c=true,overlayContent:m=null,displayOverlayContent:g=false,className:p}){let f=Wa.useRef(null),b=framerMotion.useMotionValue(0),h=framerMotion.useMotionValue(0),y=framerMotion.useSpring(framerMotion.useMotionValue(0),Ft),v=framerMotion.useSpring(framerMotion.useMotionValue(0),Ft),x=framerMotion.useSpring(1,Ft),w=framerMotion.useSpring(0),k=framerMotion.useSpring(0,{stiffness:350,damping:30,mass:1}),[T,N]=Wa.useState(0);function P(C){if(!f.current)return;let S=f.current.getBoundingClientRect(),M=C.clientX-S.left-S.width/2,A=C.clientY-S.top-S.height/2,E=A/(S.height/2)*-u,L=M/(S.width/2)*u;y.set(E),v.set(L),b.set(C.clientX-S.left),h.set(C.clientY-S.top);let H=A-T;k.set(-H*.6),N(A);}function z(){x.set(l),w.set(1);}function R(){w.set(0),x.set(1),y.set(0),v.set(0),k.set(0);}return jsxRuntime.jsxs("figure",{ref:f,className:a("relative flex items-center justify-center [perspective:800px]",p),style:{height:r,width:i},onMouseMove:P,onMouseEnter:z,onMouseLeave:R,children:[d&&jsxRuntime.jsx("div",{className:"absolute top-2 left-2 text-xs text-muted-foreground md:hidden",children:"Best viewed on desktop"}),jsxRuntime.jsxs(framerMotion.motion.div,{className:"relative [transform-style:preserve-3d]",style:{width:s,height:o,rotateX:y,rotateY:v,scale:x},children:[jsxRuntime.jsx(framerMotion.motion.img,{src:e,alt:n,className:"absolute inset-0 w-full h-full object-cover rounded-lg",style:{width:s,height:o}}),g&&m&&jsxRuntime.jsx(framerMotion.motion.div,{className:"absolute inset-0 flex items-center justify-center bg-black/50 rounded-lg",children:m})]}),c&&t&&jsxRuntime.jsx(framerMotion.motion.figcaption,{className:"pointer-events-none absolute px-3 py-1.5 text-sm bg-white dark:bg-zinc-900 rounded-full shadow-lg whitespace-nowrap",style:{x:b,y:h,opacity:w,rotate:k},children:t})]})}function _d({children:e,speed:n=30,direction:t="left",pauseOnHover:r=true,className:i}){let o=Wa.useRef(null),s=Wa.useRef(null);return Wa.useEffect(()=>{if(!o.current||!s.current)return;Array.from(s.current.children).forEach(u=>{let d=u.cloneNode(true);s.current&&s.current.appendChild(d);}),o.current.style.setProperty("--animation-duration",`${n}s`),o.current.style.setProperty("--animation-direction",t==="left"?"forwards":"reverse");},[n,t]),jsxRuntime.jsxs("div",{ref:o,className:a("group relative flex overflow-hidden [mask-image:linear-gradient(to_right,transparent,white_20%,white_80%,transparent)]",i),children:[jsxRuntime.jsx("div",{ref:s,className:a("flex min-w-full shrink-0 gap-4 py-4 w-max flex-nowrap","animate-scroll",r&&"group-hover:[animation-play-state:paused]"),style:{animation:"scroll var(--animation-duration, 30s) var(--animation-direction, forwards) linear infinite"},children:e}),jsxRuntime.jsx("style",{jsx:true,children:`
33
33
  @keyframes scroll {
34
34
  from {
35
35
  transform: translateX(0);
@@ -38,6 +38,9 @@
38
38
  transform: translateX(calc(-50% - 0.5rem));
39
39
  }
40
40
  }
41
- `})]})}function ec({loadingStates:e,loading:n,duration:t=2e3,loop:o=true,className:a}){let[i,s]=Ro.useState(0);return Ro.useEffect(()=>{if(!n){s(0);return}let l=setInterval(()=>{s(m=>m===e.length-1?o?0:m:m+1);},t/e.length);return ()=>clearInterval(l)},[n,e.length,t,o]),jsxRuntime.jsx(framerMotion.AnimatePresence,{children:n&&jsxRuntime.jsx(framerMotion.motion.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},className:r("fixed inset-0 z-[100] flex items-center justify-center bg-black/80 backdrop-blur-sm",a),children:jsxRuntime.jsx("div",{className:"bg-white dark:bg-zinc-900 rounded-lg p-8 shadow-2xl max-w-md w-full mx-4",children:jsxRuntime.jsxs("div",{className:"text-center",children:[jsxRuntime.jsx("div",{className:"mb-4",children:jsxRuntime.jsx("div",{className:"inline-flex items-center justify-center w-16 h-16 bg-blue-100 dark:bg-blue-900/20 rounded-full mb-4",children:jsxRuntime.jsx("div",{className:"w-8 h-8 border-4 border-blue-600 border-t-transparent rounded-full animate-spin"})})}),jsxRuntime.jsx(framerMotion.AnimatePresence,{mode:"wait",children:jsxRuntime.jsx(framerMotion.motion.p,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},className:"text-lg font-medium text-zinc-900 dark:text-white",children:e[i]?.text},i)}),jsxRuntime.jsx("div",{className:"mt-6 flex justify-center",children:jsxRuntime.jsx("div",{className:"flex space-x-1",children:e.map((l,m)=>jsxRuntime.jsx("div",{className:r("h-2 w-2 rounded-full transition-colors duration-200",m===i?"bg-blue-600":m<i?"bg-green-500":"bg-zinc-300 dark:bg-zinc-600")},m))})})]})})})})}var Xn=" .:-=+*#%@";function ic({text:e,enableWaves:n=true,asciiFontSize:t=8,textFontSize:o=200,textColor:a="#ffffff",planeBaseHeight:i=.2,className:s}){let l=Ro.useRef(null),[m,d]=Ro.useState("");return Ro.useEffect(()=>{let c=document.createElement("canvas"),u=c.getContext("2d");if(!u)return;u.font=`bold ${o}px monospace`;let f=u.measureText(e),p=Math.ceil(f.width),b=o*1.2;c.width=p,c.height=b,u.fillStyle=a,u.font=`bold ${o}px monospace`,u.textBaseline="middle",u.fillText(e,0,b/2);let x=u.getImageData(0,0,p,b).data,h=Math.floor(p/t),v=Math.floor(b/t),y="";for(let w=0;w<v;w++){for(let N=0;N<h;N++){let C=N*t,L=(w*t*p+C)*4,k=(x[L]+x[L+1]+x[L+2])/3,P=Math.floor(k/255*(Xn.length-1));y+=Xn[P];}y+=`
42
- `;}d(y);},[e,t,o,a]),jsxRuntime.jsx("div",{ref:l,className:r("font-mono whitespace-pre",s),children:jsxRuntime.jsx("pre",{style:{fontSize:`${t}px`,lineHeight:1,color:a},children:m})})}function mc({text:e,highlightWords:n=[],highlightClass:t="text-primary",trigger:o="auto",delay:a=0,staggerDelay:i=.05,className:s}){let[l,m]=Ro.useState(o==="auto"),d=Ro.useRef(null),c=e.split(" ");Ro.useEffect(()=>{if(o==="scroll"&&d.current){let f=new IntersectionObserver(([p])=>{p.isIntersecting&&m(true);},{threshold:.1});return f.observe(d.current),()=>f.disconnect()}},[o]);let u=()=>{(o==="hover"||o==="click")&&m(true);};return jsxRuntime.jsx("div",{ref:d,className:r("flex flex-wrap gap-2",s),onMouseEnter:o==="hover"?u:void 0,onClick:o==="click"?u:void 0,children:jsxRuntime.jsx(framerMotion.AnimatePresence,{children:c.map((f,p)=>{let b=n.includes(f.toLowerCase());return jsxRuntime.jsx(framerMotion.motion.span,{initial:{opacity:0,y:-50,rotateX:-90},animate:l?{opacity:1,y:0,rotateX:0}:{opacity:0,y:-50,rotateX:-90},transition:{duration:.5,delay:a+p*i,ease:[.25,.46,.45,.94]},className:r(b&&t),children:f},`${f}-${p}`)})})})}exports.ASCIIText=ic;exports.Accordion=ns;exports.Alert=fs;exports.AlertIcon=bs;exports.AlertTitle=gs;exports.AlertToolbar=xs;exports.AnimatedList=Na;exports.AnimatedListItem=en;exports.AnimatedSpan=ws;exports.AttractButton=Jr;exports.Avatar=Ua;exports.Badge=Ya;exports.BlurFade=$l;exports.BlurText=uo;exports.BounceButton=sr;exports.BounceText=io;exports.Card=Wi;exports.CardContent=Ki;exports.CardDescription=Ji;exports.CardFlip=Gi;exports.CardFooter=Qi;exports.CardHeader=qi;exports.CardTitle=Ui;exports.Checkbox=il;exports.CircularText=Pi;exports.ClickSpark=Pl;exports.CommandButton=Qr;exports.CopyButton=Dr;exports.CountUp=si;exports.Counter=Vs;exports.DecryptedText=Bi;exports.Dock=js;exports.DockIcon=el;exports.Drawer=ms;exports.DynamicText=Jo;exports.ElasticText=yi;exports.FallingText=mc;exports.File=kn;exports.FlipText=ko;exports.FloatEffect=Bl;exports.Folder=wn;exports.FuzzyText=Co;exports.GlassCard=_i;exports.GlitchText=no;exports.GlowButton=dr;exports.GlowEffect=Dl;exports.GlowingText=Si;exports.GradientButton=Rr;exports.GradientText=jr;exports.HamburgerBasic=yl;exports.HamburgerSpin=Nl;exports.HoldButton=Cr;exports.HoverCard=Oi;exports.InfiniteScroll=Kl;exports.Input=Sn;exports.InputOTP=hl;exports.LiquidButton=vr;exports.LiquidText=Bo;exports.LoadingBar=na;exports.LoadingBounce=la;exports.LoadingDots=Zi;exports.LoadingFlower=ca;exports.LoadingGeometric=da;exports.LoadingMorph=ma;exports.LoadingPulse=ia;exports.LoadingRings=ua;exports.LoadingSpinner=ji;exports.LoadingText=fa;exports.LoadingWords=ga;exports.MagneticButton=ir;exports.MagneticText=Xo;exports.MatrixText=Io;exports.Modal=ss;exports.MorphText=gi;exports.MultiStepLoader=ec;exports.NeonButton=gr;exports.ParticleButton=Xr;exports.PerspectiveText=hi;exports.PixelCard=Gl;exports.Progress=Ka;exports.PulseButton=ur;exports.RadioGroup=ll;exports.RainbowText=ni;exports.RevealText=ci;exports.RippleButton=er;exports.RotatingText=ei;exports.ScrambledText=Fo;exports.Select=fl;exports.ShimmerText=to;exports.ShineButton=Jn;exports.ShinyText=No;exports.Skeleton=Ta;exports.SlicedText=Mi;exports.SlideButton=Nr;exports.SmoothCursor=Ll;exports.SplitText=fi;exports.StaggerText=ti;exports.Step=Ms;exports.Stepper=zs;exports.Switch=ja;exports.SwooshText=Eo;exports.Tabs=os;exports.Terminal=vs;exports.Textarea=Cn;exports.ThreeDButton=Br;exports.TiltedCard=Ul;exports.Toolbar=qs;exports.Tooltip=Ca;exports.TooltipAnimated=Oa;exports.TooltipMinimal=Ea;exports.Tree=yn;exports.TrueFocus=Di;exports.Typewriter=go;exports.TypingAnimation=ys;exports.WaveText=yo;exports.cn=r;//# sourceMappingURL=index.js.map
41
+ `})]})}function Vd({loadingStates:e,loading:n,duration:t=2e3,loop:r=true,className:i}){let[o,s]=Wa.useState(0);return Wa.useEffect(()=>{if(!n){s(0);return}let l=setInterval(()=>{s(u=>u===e.length-1?r?0:u:u+1);},t/e.length);return ()=>clearInterval(l)},[n,e.length,t,r]),jsxRuntime.jsx(framerMotion.AnimatePresence,{children:n&&jsxRuntime.jsx(framerMotion.motion.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},className:a("fixed inset-0 z-[100] flex items-center justify-center bg-black/80 backdrop-blur-sm",i),children:jsxRuntime.jsx("div",{className:"bg-white dark:bg-zinc-900 rounded-lg p-8 shadow-2xl max-w-md w-full mx-4",children:jsxRuntime.jsxs("div",{className:"text-center",children:[jsxRuntime.jsx("div",{className:"mb-4",children:jsxRuntime.jsx("div",{className:"inline-flex items-center justify-center w-16 h-16 bg-blue-100 dark:bg-blue-900/20 rounded-full mb-4",children:jsxRuntime.jsx("div",{className:"w-8 h-8 border-4 border-blue-600 border-t-transparent rounded-full animate-spin"})})}),jsxRuntime.jsx(framerMotion.AnimatePresence,{mode:"wait",children:jsxRuntime.jsx(framerMotion.motion.p,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},className:"text-lg font-medium text-zinc-900 dark:text-white",children:e[o]?.text},o)}),jsxRuntime.jsx("div",{className:"mt-6 flex justify-center",children:jsxRuntime.jsx("div",{className:"flex space-x-1",children:e.map((l,u)=>jsxRuntime.jsx("div",{className:a("h-2 w-2 rounded-full transition-colors duration-200",u===o?"bg-blue-600":u<o?"bg-green-500":"bg-zinc-300 dark:bg-zinc-600")},u))})})]})})})})}var Or=" .:-=+*#%@";function Yd({text:e,enableWaves:n=true,asciiFontSize:t=8,textFontSize:r=200,textColor:i="#ffffff",planeBaseHeight:o=.2,className:s}){let l=Wa.useRef(null),[u,d]=Wa.useState("");return Wa.useEffect(()=>{let c=document.createElement("canvas"),m=c.getContext("2d");if(!m)return;m.font=`bold ${r}px monospace`;let g=m.measureText(e),p=Math.ceil(g.width),f=r*1.2;c.width=p,c.height=f,m.fillStyle=i,m.font=`bold ${r}px monospace`,m.textBaseline="middle",m.fillText(e,0,f/2);let h=m.getImageData(0,0,p,f).data,y=Math.floor(p/t),v=Math.floor(f/t),x="";for(let w=0;w<v;w++){for(let k=0;k<y;k++){let T=k*t,P=(w*t*p+T)*4,z=(h[P]+h[P+1]+h[P+2])/3,R=Math.floor(z/255*(Or.length-1));x+=Or[R];}x+=`
42
+ `;}d(x);},[e,t,r,i]),jsxRuntime.jsx("div",{ref:l,className:a("font-mono whitespace-pre",s),children:jsxRuntime.jsx("pre",{style:{fontSize:`${t}px`,lineHeight:1,color:i},children:u})})}function Zd({text:e,highlightWords:n=[],highlightClass:t="text-primary",trigger:r="auto",delay:i=0,staggerDelay:o=.05,className:s}){let[l,u]=Wa.useState(r==="auto"),d=Wa.useRef(null),c=e.split(" ");Wa.useEffect(()=>{if(r==="scroll"&&d.current){let g=new IntersectionObserver(([p])=>{p.isIntersecting&&u(true);},{threshold:.1});return g.observe(d.current),()=>g.disconnect()}},[r]);let m=()=>{(r==="hover"||r==="click")&&u(true);};return jsxRuntime.jsx("div",{ref:d,className:a("flex flex-wrap gap-2",s),onMouseEnter:r==="hover"?m:void 0,onClick:r==="click"?m:void 0,children:jsxRuntime.jsx(framerMotion.AnimatePresence,{children:c.map((g,p)=>{let f=n.includes(g.toLowerCase());return jsxRuntime.jsx(framerMotion.motion.span,{initial:{opacity:0,y:-50,rotateX:-90},animate:l?{opacity:1,y:0,rotateX:0}:{opacity:0,y:-50,rotateX:-90},transition:{duration:.5,delay:i+p*o,ease:[.25,.46,.45,.94]},className:a(f&&t),children:g},`${g}-${p}`)})})})}function nu(...e){return e.filter(Boolean).join(" ")}function ru({max:e=100,min:n=0,value:t=0,gaugePrimaryColor:r="#a1a1aa",gaugeSecondaryColor:i="#27272a",className:o,size:s=200,strokeWidth:l=8,showValue:u=true,duration:d=2,autoAnimate:c=true}){let[m,g]=Wa.useState(c?n:t),p=(s-l)/2,f=2*Math.PI*p,b=framerMotion.useMotionValue(m),h=framerMotion.useSpring(b,{damping:30,stiffness:100}),y=framerMotion.useTransform(h,[n,e],[0,f]),v=framerMotion.useTransform(h,x=>Math.round(x));return Wa.useEffect(()=>{if(c){let x=setInterval(()=>{g(w=>{let k=w+1;return k>e?n:k});},d*10);return ()=>clearInterval(x)}else g(t);},[c,t,e,n,d]),Wa.useEffect(()=>{b.set(m);},[m,b]),jsxRuntime.jsxs("div",{className:nu("relative flex items-center justify-center",o),style:{width:s,height:s},children:[jsxRuntime.jsxs("svg",{width:s,height:s,className:"transform -rotate-90",children:[jsxRuntime.jsx("circle",{cx:s/2,cy:s/2,r:p,stroke:i,strokeWidth:l,fill:"none",className:"opacity-20"}),jsxRuntime.jsx(framerMotion.motion.circle,{cx:s/2,cy:s/2,r:p,stroke:r,strokeWidth:l,fill:"none",strokeLinecap:"round",strokeDasharray:f,strokeDashoffset:framerMotion.useTransform(y,x=>f-x),className:"transition-all duration-300 ease-in-out",style:{filter:"drop-shadow(0 0 6px rgba(59, 130, 246, 0.4))"}}),jsxRuntime.jsx(framerMotion.motion.circle,{cx:s/2,cy:s/2,r:p,stroke:r,strokeWidth:l/2,fill:"none",strokeLinecap:"round",strokeDasharray:f,strokeDashoffset:framerMotion.useTransform(y,x=>f-x),className:"opacity-50 blur-sm"})]}),u&&jsxRuntime.jsxs("div",{className:"absolute inset-0 flex flex-col items-center justify-center",children:[jsxRuntime.jsx(framerMotion.motion.span,{className:"text-3xl font-semibold text-zinc-900 dark:text-zinc-100",style:{fontSize:s/8},children:v}),jsxRuntime.jsx("span",{className:"text-sm text-zinc-500",style:{fontSize:s/16},children:c?"Auto":"%"})]}),jsxRuntime.jsx("div",{className:"absolute inset-0",children:[...Array(8)].map((x,w)=>{let k=w*45-90,T=s/2+(p+l)*Math.cos(k*Math.PI/180),N=s/2+(p+l)*Math.sin(k*Math.PI/180);return jsxRuntime.jsx(framerMotion.motion.div,{className:"absolute w-1 h-1 bg-zinc-500 rounded-full",style:{left:T-2,top:N-2},animate:{opacity:[.3,1,.3],scale:[.8,1.2,.8]},transition:{duration:2,repeat:1/0,delay:w*.2}},w)})})]})}function ou({text:e="Loading...",className:n=""}){return jsxRuntime.jsx("div",{className:`w-full h-full min-h-[400px] flex items-center justify-center ${n}`,children:jsxRuntime.jsxs("div",{className:"relative h-fit min-w-12 w-fit text-4xl font-bold tracking-wider text-black dark:text-white",children:[jsxRuntime.jsx("p",{className:"relative z-0",children:e}),jsxRuntime.jsx("div",{className:"absolute h-full aspect-square left-0 top-0 rounded-[20%] bg-foreground/10 backdrop-invert",style:{animation:"invert-move 2s ease-in-out infinite"}}),jsxRuntime.jsx("style",{dangerouslySetInnerHTML:{__html:`
43
+ @keyframes invert-move { 50% { left: calc(100% - 3rem); } }
44
+ `}})]})})}function ve(...e){return e.filter(Boolean).join(" ")}function iu({title:e="Configuring your account...",subtitle:n="Please wait while we prepare everything for you",size:t="md",className:r,...i}){let s={sm:{container:"size-20",titleClass:"text-sm/tight font-medium",subtitleClass:"text-xs/relaxed",spacing:"space-y-2",maxWidth:"max-w-48"},md:{container:"size-32",titleClass:"text-base/snug font-medium",subtitleClass:"text-sm/relaxed",spacing:"space-y-3",maxWidth:"max-w-56"},lg:{container:"size-40",titleClass:"text-lg/tight font-semibold",subtitleClass:"text-base/relaxed",spacing:"space-y-4",maxWidth:"max-w-64"}}[t];return jsxRuntime.jsxs("div",{className:ve("flex flex-col items-center justify-center gap-8 p-8",r),...i,children:[jsxRuntime.jsxs(framerMotion.motion.div,{className:ve("relative",s.container),animate:{scale:[1,1.02,1]},transition:{duration:4,repeat:1/0,ease:[.4,0,.6,1]},children:[jsxRuntime.jsx(framerMotion.motion.div,{className:"absolute inset-0 rounded-full",style:{background:"conic-gradient(from 0deg, transparent 0deg, rgb(0, 0, 0) 90deg, transparent 180deg)",mask:"radial-gradient(circle at 50% 50%, transparent 35%, black 37%, black 39%, transparent 41%)",WebkitMask:"radial-gradient(circle at 50% 50%, transparent 35%, black 37%, black 39%, transparent 41%)",opacity:.8},animate:{rotate:[0,360]},transition:{duration:3,repeat:1/0,ease:"linear"}}),jsxRuntime.jsx(framerMotion.motion.div,{className:"absolute inset-0 rounded-full",style:{background:"conic-gradient(from 0deg, transparent 0deg, rgb(0, 0, 0) 120deg, rgba(0, 0, 0, 0.5) 240deg, transparent 360deg)",mask:"radial-gradient(circle at 50% 50%, transparent 42%, black 44%, black 48%, transparent 50%)",WebkitMask:"radial-gradient(circle at 50% 50%, transparent 42%, black 44%, black 48%, transparent 50%)",opacity:.9},animate:{rotate:[0,360]},transition:{duration:2.5,repeat:1/0,ease:[.4,0,.6,1]}}),jsxRuntime.jsx(framerMotion.motion.div,{className:"absolute inset-0 rounded-full dark:block hidden",style:{background:"conic-gradient(from 0deg, transparent 0deg, rgb(255, 255, 255) 90deg, transparent 180deg)",mask:"radial-gradient(circle at 50% 50%, transparent 35%, black 37%, black 39%, transparent 41%)",WebkitMask:"radial-gradient(circle at 50% 50%, transparent 35%, black 37%, black 39%, transparent 41%)",opacity:.8},animate:{rotate:[0,360]},transition:{duration:3,repeat:1/0,ease:"linear"}}),jsxRuntime.jsx(framerMotion.motion.div,{className:"absolute inset-0 rounded-full dark:block hidden",style:{background:"conic-gradient(from 0deg, transparent 0deg, rgb(255, 255, 255) 120deg, rgba(255, 255, 255, 0.5) 240deg, transparent 360deg)",mask:"radial-gradient(circle at 50% 50%, transparent 42%, black 44%, black 48%, transparent 50%)",WebkitMask:"radial-gradient(circle at 50% 50%, transparent 42%, black 44%, black 48%, transparent 50%)",opacity:.9},animate:{rotate:[0,360]},transition:{duration:2.5,repeat:1/0,ease:[.4,0,.6,1]}})]}),jsxRuntime.jsxs(framerMotion.motion.div,{className:ve("text-center",s.spacing,s.maxWidth),initial:{opacity:0,y:12},animate:{opacity:1,y:0},transition:{delay:.4,duration:1,ease:[.4,0,.2,1]},children:[jsxRuntime.jsx(framerMotion.motion.h1,{className:ve(s.titleClass,"text-black/90 dark:text-white/90 font-medium tracking-[-0.02em] leading-[1.15] antialiased"),initial:{opacity:0,y:12},animate:{opacity:1,y:0},transition:{delay:.6,duration:.8,ease:[.4,0,.2,1]},children:jsxRuntime.jsx(framerMotion.motion.span,{animate:{opacity:[.9,.7,.9]},transition:{duration:3,repeat:1/0,ease:[.4,0,.6,1]},children:e})}),jsxRuntime.jsx(framerMotion.motion.p,{className:ve(s.subtitleClass,"text-black/60 dark:text-white/60 font-normal tracking-[-0.01em] leading-[1.45] antialiased"),initial:{opacity:0,y:8},animate:{opacity:1,y:0},transition:{delay:.8,duration:.8,ease:[.4,0,.2,1]},children:jsxRuntime.jsx(framerMotion.motion.span,{animate:{opacity:[.6,.4,.6]},transition:{duration:4,repeat:1/0,ease:[.4,0,.6,1]},children:n})})]})]})}function Ze(...e){return e.filter(Boolean).join(" ")}function du({className:e,size:n="md",onChange:t}){let[r,i]=Wa.useState(false);Wa.useEffect(()=>{let u=window.matchMedia("(prefers-color-scheme: dark)").matches;i(u);},[]);let o=()=>{let u=!r;i(u),u?document.documentElement.classList.add("dark"):document.documentElement.classList.remove("dark"),t?.(u);},s={sm:"w-12 h-6",md:"w-14 h-7",lg:"w-16 h-8"},l={sm:"w-4 h-4",md:"w-5 h-5",lg:"w-6 h-6"};return jsxRuntime.jsxs(framerMotion.motion.button,{onClick:o,className:Ze("relative rounded-full border transition-all duration-300 ease-in-out focus:outline-none focus:ring-2 focus:ring-zinc-500 focus:ring-offset-2 focus:ring-offset-zinc-900",s[n],r?"bg-zinc-800 border-zinc-700":"bg-zinc-700 border-zinc-600",e),whileTap:{scale:.95},initial:false,children:[jsxRuntime.jsx(framerMotion.motion.div,{className:"absolute inset-0 rounded-full",animate:{background:r?"linear-gradient(135deg, #27272a 0%, #18181b 100%)":"linear-gradient(135deg, #3f3f46 0%, #27272a 100%)"},transition:{duration:.3}}),jsxRuntime.jsx(framerMotion.motion.div,{className:Ze("absolute top-0.5 rounded-full shadow-lg flex items-center justify-center",n==="sm"?"w-5 h-5":n==="md"?"w-6 h-6":"w-7 h-7",r?"bg-zinc-300":"bg-zinc-100"),animate:{x:r?n==="sm"?24:n==="md"?28:32:2},transition:{type:"spring",stiffness:500,damping:30},children:jsxRuntime.jsx(framerMotion.AnimatePresence,{mode:"wait",children:r?jsxRuntime.jsx(framerMotion.motion.svg,{className:Ze("text-zinc-700",l[n]),fill:"currentColor",viewBox:"0 0 24 24",initial:{opacity:0,rotate:-90},animate:{opacity:1,rotate:0},exit:{opacity:0,rotate:90},transition:{duration:.2},children:jsxRuntime.jsx("path",{d:"M21.752 15.002A9.718 9.718 0 0118 15.75c-5.385 0-9.75-4.365-9.75-9.75 0-1.33.266-2.597.748-3.752A9.753 9.753 0 003 11.25C3 16.635 7.365 21 12.75 21a9.753 9.753 0 009.002-5.998z"})},"moon"):jsxRuntime.jsx(framerMotion.motion.svg,{className:Ze("text-zinc-600",l[n]),fill:"currentColor",viewBox:"0 0 24 24",initial:{opacity:0,rotate:-90},animate:{opacity:1,rotate:0},exit:{opacity:0,rotate:90},transition:{duration:.2},children:jsxRuntime.jsx("path",{d:"M12 2.25a.75.75 0 01.75.75v2.25a.75.75 0 01-1.5 0V3a.75.75 0 01.75-.75zM7.5 12a4.5 4.5 0 119 0 4.5 4.5 0 01-9 0zM18.894 6.166a.75.75 0 00-1.06-1.06l-1.591 1.59a.75.75 0 101.06 1.061l1.591-1.59zM21.75 12a.75.75 0 01-.75.75h-2.25a.75.75 0 010-1.5H21a.75.75 0 01.75.75zM17.834 18.894a.75.75 0 001.06-1.06l-1.59-1.591a.75.75 0 10-1.061 1.06l1.59 1.591zM12 18a.75.75 0 01.75.75V21a.75.75 0 01-1.5 0v-2.25A.75.75 0 0112 18zM7.758 17.303a.75.75 0 00-1.061-1.06l-1.591 1.59a.75.75 0 001.06 1.061l1.591-1.59zM6 12a.75.75 0 01-.75.75H3a.75.75 0 010-1.5h2.25A.75.75 0 016 12zM6.697 7.757a.75.75 0 001.06-1.06l-1.59-1.591a.75.75 0 00-1.061 1.06l1.59 1.591z"})},"sun")})}),jsxRuntime.jsx(framerMotion.motion.div,{className:"absolute inset-0 rounded-full opacity-20",animate:{boxShadow:r?"0 0 20px rgba(161, 161, 170, 0.2)":"0 0 20px rgba(161, 161, 170, 0.3)"},transition:{duration:.3}})]})}function mu(...e){return e.filter(Boolean).join(" ")}function pu({children:e,className:n}){return jsxRuntime.jsxs("div",{className:mu("relative w-full min-h-[500px] flex items-center justify-center overflow-hidden bg-white dark:bg-zinc-900 rounded-xl border border-zinc-200 dark:border-zinc-800",n),children:[jsxRuntime.jsx(framerMotion.motion.div,{className:"absolute inset-0",style:{background:"linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.08) 50%, transparent 100%)"},animate:{x:["-200%","200%"]},transition:{duration:2.5,repeat:1/0,ease:"linear"}}),jsxRuntime.jsx(framerMotion.motion.div,{className:"absolute inset-0",style:{background:"linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.05) 50%, transparent 100%)"},animate:{x:["-200%","200%"]},transition:{duration:3,delay:.5,repeat:1/0,ease:"linear"}}),jsxRuntime.jsx(framerMotion.motion.div,{className:"absolute inset-0",style:{background:"linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.03) 50%, transparent 100%)"},animate:{x:["-200%","200%"]},transition:{duration:3.5,delay:1,repeat:1/0,ease:"linear"}}),jsxRuntime.jsx(framerMotion.motion.div,{className:"absolute inset-0 hidden dark:block",style:{background:"linear-gradient(90deg, transparent 0%, rgba(161,161,170,0.15) 50%, transparent 100%)"},animate:{x:["-200%","200%"]},transition:{duration:2.5,repeat:1/0,ease:"linear"}}),jsxRuntime.jsx("div",{className:"absolute inset-0 opacity-10 dark:opacity-5",style:{backgroundImage:"radial-gradient(circle at 2px 2px, #71717a 1px, transparent 0)",backgroundSize:"40px 40px"}}),jsxRuntime.jsx("div",{className:"relative z-10 text-center px-8",children:e||jsxRuntime.jsxs(framerMotion.motion.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8},children:[jsxRuntime.jsx("h2",{className:"text-7xl font-bold text-zinc-900 dark:text-zinc-100 mb-4 tracking-tight",style:{fontFamily:"system-ui, -apple-system, sans-serif",letterSpacing:"-0.02em"},children:"SHIMMER WAVE"}),jsxRuntime.jsx("p",{className:"text-xl text-zinc-500 font-light tracking-wide",children:"Advanced Shimmer Effect"})]})})]})}function ku(e){let[n,t]=Wa.useState(0);return Wa.useLayoutEffect(()=>{function r(){e.current&&t(e.current.offsetWidth);}return r(),window.addEventListener("resize",r),()=>window.removeEventListener("resize",r)},[e]),n}function Nu({scrollContainerRef:e,texts:n=["Scroll Velocity","Bynana UI"],velocity:t=100,className:r="",damping:i=50,stiffness:o=400,numCopies:s=6,velocityMapping:l={input:[0,1e3],output:[0,5]}}){function u({children:d,baseVelocity:c}){let m=framerMotion.useMotionValue(0),g=e?{container:e}:{},{scrollY:p}=framerMotion.useScroll(g),f=framerMotion.useVelocity(p),b=framerMotion.useSpring(f,{damping:i,stiffness:o}),h=framerMotion.useTransform(b,l.input,l.output,{clamp:false}),y=Wa.useRef(null),v=ku(y);function x(N,P,z){let R=P-N;return ((z-N)%R+R)%R+N}let w=framerMotion.useTransform(m,N=>v===0?"0px":`${x(-v,0,N)}px`),k=Wa.useRef(1);framerMotion.useAnimationFrame((N,P)=>{let z=k.current*c*(P/1e3);h.get()<0?k.current=-1:h.get()>0&&(k.current=1),z+=k.current*z*h.get(),m.set(m.get()+z);});let T=[];for(let N=0;N<s;N++)T.push(jsxRuntime.jsx("span",{className:r,ref:N===0?y:null,children:d},N));return jsxRuntime.jsx("div",{className:"overflow-hidden whitespace-nowrap",children:jsxRuntime.jsx(framerMotion.motion.div,{className:"flex",style:{x:w},children:T})})}return jsxRuntime.jsx("section",{children:n.map((d,c)=>jsxRuntime.jsxs(u,{baseVelocity:c%2!==0?-t:t,children:[d,"\xA0"]},c))})}function Mu({text:e="\u269B\uFE0F",delay:n=.01,spacing:t=100,followMouseDirection:r=true,randomFloat:i=true,exitDuration:o=.5,removalInterval:s=30,maxPoints:l=5}){let[u,d]=Wa.useState([]),c=Wa.useRef(null),m=Wa.useRef(Date.now()),g=Wa.useRef(0),p=f=>{if(!c.current)return;let b=c.current.getBoundingClientRect(),h=f.clientX-b.left,y=f.clientY-b.top;d(v=>{let x=[...v];if(x.length===0)x.push({id:g.current++,x:h,y,angle:0,...i&&{randomX:Math.random()*10-5,randomY:Math.random()*10-5,randomRotate:Math.random()*10-5}});else {let w=x[x.length-1],k=h-w.x,T=y-w.y,N=Math.sqrt(k*k+T*T);if(N>=t){let P=Math.atan2(T,k)*180/Math.PI;P>90?P-=180:P<-90&&(P+=180);let z=r?P:0,R=Math.floor(N/t);for(let C=1;C<=R;C++){let S=t*C/N;x.push({id:g.current++,x:w.x+k*S,y:w.y+T*S,angle:z,...i&&{randomX:Math.random()*10-5,randomY:Math.random()*10-5,randomRotate:Math.random()*10-5}});}}}return x.length>l&&(x=x.slice(x.length-l)),x}),m.current=Date.now();};return Wa.useEffect(()=>{let f=c.current;if(f)return f.addEventListener("mousemove",p),()=>f.removeEventListener("mousemove",p)},[]),Wa.useEffect(()=>{let f=setInterval(()=>{Date.now()-m.current>100&&d(b=>b.length>0?b.slice(1):b);},s);return ()=>clearInterval(f)},[s]),jsxRuntime.jsxs("div",{ref:c,className:"w-full h-full min-h-[200px] relative rounded-lg bg-zinc-50 dark:bg-zinc-900/50",children:[jsxRuntime.jsx("div",{className:"absolute inset-0 flex items-center justify-center text-zinc-400 text-sm pointer-events-none",children:"Move your mouse around"}),jsxRuntime.jsx(framerMotion.AnimatePresence,{children:u.map(f=>jsxRuntime.jsx(framerMotion.motion.div,{initial:{opacity:0,scale:1,rotate:f.angle},animate:{opacity:1,scale:1,rotate:f.angle},exit:{opacity:0,scale:0},transition:{opacity:{duration:o,ease:"easeOut",delay:n}},className:"absolute text-2xl pointer-events-none",style:{left:f.x,top:f.y,transform:"translate(-50%, -50%)"},children:e},f.id))})]})}function Lu(...e){return e.filter(Boolean).join(" ")}function Iu({icon:e,label:n,href:t,onClick:r,className:i,variant:o="default"}){let s={default:"bg-zinc-900 dark:bg-zinc-100 text-white dark:text-zinc-900 hover:bg-zinc-800 dark:hover:bg-zinc-200",outline:"border border-zinc-300 dark:border-zinc-700 hover:bg-zinc-100 dark:hover:bg-zinc-800",ghost:"hover:bg-zinc-100 dark:hover:bg-zinc-800"},l=t?"a":"button";return jsxRuntime.jsx(framerMotion.motion.div,{whileHover:{scale:1.05},whileTap:{scale:.95},children:jsxRuntime.jsxs(l,{href:t,onClick:r,className:Lu("inline-flex items-center gap-2 px-4 py-2 rounded-lg font-medium transition-colors",s[o],i),target:t?"_blank":void 0,rel:t?"noopener noreferrer":void 0,children:[e,jsxRuntime.jsx("span",{children:n})]})})}function Au(...e){return e.filter(Boolean).join(" ")}function Bu({children:e,onClick:n,className:t,disabled:r=false}){return jsxRuntime.jsxs(framerMotion.motion.button,{onClick:n,disabled:r,className:Au("relative inline-flex items-center justify-center px-6 py-3 overflow-hidden font-medium rounded-xl","bg-gradient-to-r from-zinc-900 to-zinc-800 dark:from-zinc-100 dark:to-zinc-200","text-white dark:text-zinc-900","border border-zinc-700 dark:border-zinc-300","shadow-lg shadow-zinc-900/20 dark:shadow-zinc-100/20","transition-all duration-300","hover:shadow-xl hover:shadow-zinc-900/30 dark:hover:shadow-zinc-100/30","disabled:opacity-50 disabled:cursor-not-allowed",t),whileHover:{scale:r?1:1.02},whileTap:{scale:r?1:.98},children:[jsxRuntime.jsx(framerMotion.motion.span,{className:"absolute inset-0 bg-gradient-to-r from-transparent via-white/10 to-transparent",initial:{x:"-100%"},whileHover:{x:"100%"},transition:{duration:.6,ease:"easeInOut"}}),jsxRuntime.jsx("span",{className:"relative z-10 flex items-center gap-2",children:e})]})}function Kr(...e){return e.filter(Boolean).join(" ")}function Fu({data:e,weeks:n=52,className:t,colors:r=["bg-zinc-100 dark:bg-zinc-800","bg-emerald-200 dark:bg-emerald-900","bg-emerald-300 dark:bg-emerald-700","bg-emerald-400 dark:bg-emerald-500","bg-emerald-500 dark:bg-emerald-400"]}){let i=Wa.useMemo(()=>e||Array.from({length:n*7},()=>Math.floor(Math.random()*5)),[e,n]),o=s=>r[Math.min(s,r.length-1)];return jsxRuntime.jsx("div",{className:Kr("overflow-x-auto",t),children:jsxRuntime.jsx("div",{className:"flex gap-1",children:Array.from({length:n}).map((s,l)=>jsxRuntime.jsx("div",{className:"flex flex-col gap-1",children:Array.from({length:7}).map((u,d)=>{let c=l*7+d,m=i[c]||0;return jsxRuntime.jsx(framerMotion.motion.div,{className:Kr("w-3 h-3 rounded-sm",o(m)),initial:{scale:0,opacity:0},animate:{scale:1,opacity:1},transition:{delay:c*.002,type:"spring",stiffness:300,damping:20},whileHover:{scale:1.3}},d)})},l))})})}function Yt(...e){return e.filter(Boolean).join(" ")}function Ou({defaultValue:e=50,min:n=0,max:t=100,step:r=1,onChange:i,className:o,trackClassName:s,thumbClassName:l}){let[u,d]=Wa.useState(e),[c,m]=Wa.useState(false),g=(u-n)/(t-n)*100,p=f=>{let b=Number(f.target.value);d(b),i?.(b);};return jsxRuntime.jsxs("div",{className:Yt("relative w-full h-12 flex items-center",o),children:[jsxRuntime.jsx("div",{className:Yt("absolute w-full h-2 rounded-full bg-zinc-200 dark:bg-zinc-800",s),children:jsxRuntime.jsx(framerMotion.motion.div,{className:"h-full rounded-full bg-zinc-900 dark:bg-zinc-100",style:{width:`${g}%`},animate:{scaleY:c?1.5:1},transition:{type:"spring",stiffness:400,damping:25}})}),jsxRuntime.jsx(framerMotion.motion.div,{className:Yt("absolute w-6 h-6 rounded-full bg-zinc-900 dark:bg-zinc-100 shadow-lg cursor-grab","border-2 border-white dark:border-zinc-900",l),style:{left:`calc(${g}% - 12px)`},animate:{scale:c?1.3:1,y:c?-4:0},transition:{type:"spring",stiffness:500,damping:30}}),jsxRuntime.jsx("input",{type:"range",min:n,max:t,step:r,value:u,onChange:p,onMouseDown:()=>m(true),onMouseUp:()=>m(false),onTouchStart:()=>m(true),onTouchEnd:()=>m(false),className:"absolute w-full h-full opacity-0 cursor-grab active:cursor-grabbing"}),jsxRuntime.jsx(framerMotion.motion.span,{className:"absolute -top-8 left-1/2 -translate-x-1/2 text-sm font-medium text-zinc-900 dark:text-zinc-100",animate:{opacity:c?1:0,y:c?0:10},transition:{duration:.2},children:u})]})}var $u=[{link:"#",text:"About",image:"https://images.unsplash.com/photo-1618005182384-a83a8bd57fbe?w=800&q=80"},{link:"#",text:"Services",image:"https://images.unsplash.com/photo-1618556450994-a6a128ef0d9d?w=800&q=80"},{link:"#",text:"Work",image:"https://images.unsplash.com/photo-1618556450991-2f1af64e8191?w=800&q=80"},{link:"#",text:"Contact",image:"https://images.unsplash.com/photo-1618556450783-953e03f0bb7a?w=800&q=80"}];function Xu({items:e=$u,className:n=""}){let[t,r]=Wa.useState(-1),[i,o]=Wa.useState(-1);return jsxRuntime.jsxs("div",{className:a("flex gap-8",n),children:[jsxRuntime.jsxs("div",{className:"flex-1",children:[jsxRuntime.jsxs("div",{className:"mb-6",children:[jsxRuntime.jsx("h2",{className:"text-2xl font-bold text-white",children:"Menu"}),jsxRuntime.jsx("p",{className:"text-sm text-zinc-400",children:"Explore our pages"})]}),jsxRuntime.jsx("nav",{className:"flex flex-col gap-2",children:e.map((s,l)=>jsxRuntime.jsxs("a",{href:s.link,className:a("group flex items-center gap-4 py-4 px-4 rounded-lg transition-all duration-300",i===l?"bg-zinc-800 translate-x-4":"bg-transparent"),onMouseEnter:()=>o(l),onMouseLeave:()=>o(-1),onClick:()=>r(l),children:[jsxRuntime.jsx("span",{className:"text-sm text-zinc-500 font-mono",children:String(l+1).padStart(2,"0")}),jsxRuntime.jsx("span",{className:a("text-xl font-medium transition-colors",i===l?"text-white":"text-zinc-400"),children:s.text}),jsxRuntime.jsx("span",{className:a("ml-auto text-xl transition-all duration-300",i===l?"opacity-100 translate-x-0":"opacity-0 -translate-x-2"),children:"\u2192"})]},l))})]}),jsxRuntime.jsx("div",{className:a("w-80 h-80 rounded-2xl overflow-hidden transition-all duration-500",i>=0?"opacity-100 scale-100":"opacity-0 scale-95"),children:i>=0&&e[i]?.image&&jsxRuntime.jsxs("div",{className:"relative w-full h-full",children:[jsxRuntime.jsx("img",{src:e[i].image,alt:e[i].text,className:"w-full h-full object-cover"}),jsxRuntime.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/60 to-transparent"}),jsxRuntime.jsx("h3",{className:"absolute bottom-4 left-4 text-2xl font-bold text-white",children:e[i].text})]})})]})}var Wu=[{label:"Home",href:"#"},{label:"About",href:"#"},{label:"Services",href:"#"},{label:"Contact",href:"#"}];function Yu({items:e=Wu,className:n="",activeColor:t="#8b5cf6",inactiveColor:r="#a1a1aa",backgroundColor:i="#18181b"}){let[o,s]=Wa.useState(0),l=(u,d)=>{d.preventDefault(),s(u);};return jsxRuntime.jsx("div",{className:a("relative",n),children:jsxRuntime.jsx("nav",{className:"relative rounded-full px-2 py-2",style:{backgroundColor:i},children:jsxRuntime.jsx("ul",{className:"flex items-center gap-1",children:e.map((u,d)=>jsxRuntime.jsx("li",{className:"relative",children:jsxRuntime.jsxs("a",{href:u.href,className:a("relative z-10 block px-4 py-2 text-sm font-medium rounded-full transition-all duration-300",o===d&&"text-white"),style:{color:o===d?"#fff":r},onClick:c=>l(d,c),children:[u.label,o===d&&jsxRuntime.jsx("span",{className:"absolute inset-0 rounded-full -z-10 animate-pulse",style:{backgroundColor:t,boxShadow:`0 0 20px ${t}`}})]})},d))})})})}function Uu({logo:e,logoAlt:n="Logo",items:t,activeHref:r,className:i="",baseColor:o="#fff",pillColor:s="#000000",hoveredPillTextColor:l="#ffffff",pillTextColor:u,onMobileMenuClick:d}){let c=u??o,[m,g]=Wa.useState(false),[p,f]=Wa.useState(null),b=()=>{g(!m),d?.();};return jsxRuntime.jsxs("div",{className:a("relative",i),children:[jsxRuntime.jsxs("nav",{className:"flex items-center gap-4 px-4 py-2 rounded-full",style:{backgroundColor:s},"aria-label":"Primary",children:[e&&jsxRuntime.jsx("a",{href:t?.[0]?.href||"#","aria-label":"Home",className:"flex-shrink-0",children:jsxRuntime.jsx("img",{src:e,alt:n,className:"h-8 w-8 object-contain"})}),jsxRuntime.jsx("div",{className:"hidden md:flex items-center gap-1",children:jsxRuntime.jsx("ul",{className:"flex items-center gap-1",role:"menubar",children:t.map((h,y)=>jsxRuntime.jsx("li",{role:"none",children:jsxRuntime.jsx("a",{role:"menuitem",href:h.href,className:a("relative px-4 py-2 rounded-full text-sm font-medium transition-all duration-300",r===h.href&&"font-semibold"),style:{color:p===y?l:c,backgroundColor:p===y?o:"transparent"},"aria-label":h.ariaLabel||h.label,onMouseEnter:()=>f(y),onMouseLeave:()=>f(null),children:h.label})},h.href))})}),jsxRuntime.jsxs("button",{className:"md:hidden flex flex-col gap-1 p-2",onClick:b,"aria-label":"Toggle menu",children:[jsxRuntime.jsx("span",{className:a("w-5 h-0.5 transition-all duration-300",m&&"rotate-45 translate-y-1.5"),style:{backgroundColor:o}}),jsxRuntime.jsx("span",{className:a("w-5 h-0.5 transition-all duration-300",m&&"-rotate-45 -translate-y-1"),style:{backgroundColor:o}})]})]}),m&&jsxRuntime.jsx("div",{className:"md:hidden absolute top-full left-0 right-0 mt-2 rounded-xl p-4 shadow-lg",style:{backgroundColor:s},children:jsxRuntime.jsx("ul",{className:"flex flex-col gap-2",children:t.map(h=>jsxRuntime.jsx("li",{children:jsxRuntime.jsx("a",{href:h.href,className:a("block px-4 py-2 rounded-lg text-sm font-medium transition-colors",r===h.href&&"font-semibold"),style:{color:c},onClick:()=>g(false),children:h.label})},h.href))})})]})}function Qu({trigger:e,title:n="Drawer Title",description:t,children:r,className:i,side:o="right"}){let[s,l]=Wa.useState(false);return Wa.useEffect(()=>(s?document.body.style.overflow="hidden":document.body.style.overflow="",()=>{document.body.style.overflow="";}),[s]),jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx("div",{onClick:()=>l(true),className:"cursor-pointer",children:e||jsxRuntime.jsx("button",{className:"px-4 py-2 bg-zinc-900 dark:bg-white text-white dark:text-zinc-900 rounded-lg font-medium hover:opacity-90 transition-opacity",children:"Open Drawer"})}),s&&jsxRuntime.jsx("div",{className:"fixed inset-0 z-50 bg-black/50 backdrop-blur-sm transition-opacity duration-300",onClick:()=>l(false)}),jsxRuntime.jsx("div",{"data-open":s,className:a("fixed z-50 bg-white dark:bg-zinc-900 shadow-xl transition-transform duration-300 ease-out",{left:"left-0 top-0 h-full w-80 -translate-x-full data-[open=true]:translate-x-0",right:"right-0 top-0 h-full w-80 translate-x-full data-[open=true]:translate-x-0",top:"top-0 left-0 w-full h-80 -translate-y-full data-[open=true]:translate-y-0",bottom:"bottom-0 left-0 w-full h-80 translate-y-full data-[open=true]:translate-y-0"}[o],i),children:jsxRuntime.jsxs("div",{className:"flex flex-col h-full",children:[jsxRuntime.jsxs("div",{className:"flex items-center justify-between p-4 border-b border-zinc-200 dark:border-zinc-800",children:[jsxRuntime.jsxs("div",{children:[jsxRuntime.jsx("h2",{className:"text-lg font-semibold text-zinc-900 dark:text-white",children:n}),t&&jsxRuntime.jsx("p",{className:"text-sm text-zinc-500 dark:text-zinc-400",children:t})]}),jsxRuntime.jsx("button",{onClick:()=>l(false),className:"p-2 rounded-lg hover:bg-zinc-100 dark:hover:bg-zinc-800 transition-colors","aria-label":"Close drawer",children:jsxRuntime.jsx("svg",{className:"w-5 h-5 text-zinc-500",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]}),jsxRuntime.jsx("div",{className:"flex-1 overflow-auto p-4",children:r})]})})]})}var e0=[{id:"tab1",title:"Tab 1",color:"bg-blue-500"},{id:"tab2",title:"Tab 2",color:"bg-purple-500"},{id:"tab3",title:"Tab 3",color:"bg-emerald-500"},{id:"tab4",title:"Tab 4",color:"bg-amber-500"}];function t0({items:e=e0,defaultTabId:n,className:t,activeColor:r="bg-blue-500",onChange:i}){let[o,s]=Wa.useState(n||e[0]?.id||""),[l,u]=Wa.useState({width:0,left:0}),d=Wa.useRef(new Map),c=Wa.useRef(null);Wa.useLayoutEffect(()=>{let p=()=>{let f=d.current.get(o),b=c.current;if(f&&b){let h=f.getBoundingClientRect(),y=b.getBoundingClientRect();u({width:h.width,left:h.left-y.left});}};return requestAnimationFrame(p),window.addEventListener("resize",p),()=>window.removeEventListener("resize",p)},[o]);let m=p=>{s(p),i?.(p);},g=e.find(p=>p.id===o);return jsxRuntime.jsxs("div",{className:a("flex flex-col",t),children:[g?.content&&jsxRuntime.jsx("div",{className:"mb-4 p-6 bg-zinc-100 dark:bg-zinc-900 rounded-lg min-h-[200px]",children:g.content}),jsxRuntime.jsxs("div",{ref:c,role:"tablist",className:a("relative flex items-center gap-1 p-1","bg-zinc-100 dark:bg-zinc-900 rounded-xl","border border-zinc-200 dark:border-zinc-800"),children:[jsxRuntime.jsx("div",{className:a("absolute rounded-lg transition-all duration-300 ease-out",g?.color||r),style:{width:l.width-8,left:l.left+4,height:"calc(100% - 8px)",top:"4px"}}),e.map(p=>{let f=o===p.id;return jsxRuntime.jsx("button",{ref:b=>{b?d.current.set(p.id,b):d.current.delete(p.id);},type:"button",role:"tab","aria-selected":f,onClick:()=>m(p.id),className:a("relative z-10 flex-1 px-4 py-2 rounded-lg","text-sm font-medium transition-colors duration-300","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500",f?"text-white":"text-zinc-600 dark:text-zinc-400 hover:text-zinc-900 dark:hover:text-zinc-100"),children:p.title},p.id)})]})]})}function r0({width:e=300,height:n=400,image:t="https://picsum.photos/300/400?grayscale",children:r,className:i}){let o=Wa.useRef(null),s=Wa.useRef(null),l=Wa.useRef({x:0,y:0}),u=Wa.useRef({x:0,y:0}),d=Wa.useRef({x:0,y:0,rz:0}),c=Wa.useRef(0),m=Wa.useRef();Wa.useEffect(()=>{if(typeof window>"u")return;l.current={x:window.innerWidth/2,y:window.innerHeight/2},u.current={...l.current};let p=(v,x,w)=>(1-w)*v+w*x,f=(v,x,w,k,T)=>(v-x)*(T-k)/(w-x)+k,b=(v,x,w,k)=>Math.hypot(v-x,w-k),h=v=>{l.current={x:v.clientX,y:v.clientY};};window.addEventListener("mousemove",h);let y=()=>{let v=window.innerWidth,x=window.innerHeight,w=p(d.current.x,f(l.current.x,0,v,-120,120),.1),k=p(d.current.y,f(l.current.y,0,x,-120,120),.1),T=p(d.current.rz,f(l.current.x,0,v,-10,10),.1),N=50;w>N&&(w=N+(w-N)*.2),w<-N&&(w=-N+(w+N)*.2),k>N&&(k=N+(k-N)*.2),k<-N&&(k=-N+(k+N)*.2),d.current={x:w,y:k,rz:T},o.current&&(o.current.style.transform=`translate(${w}px, ${k}px) rotateZ(${T}deg)`);let P=b(u.current.x,l.current.x,u.current.y,l.current.y);c.current=p(c.current,f(P,0,200,0,400),.06),s.current&&s.current.setAttribute("scale",String(c.current)),u.current={...l.current},m.current=requestAnimationFrame(y);};return y(),()=>{window.removeEventListener("mousemove",h),m.current&&cancelAnimationFrame(m.current);}},[]);let g=`imgFilter-${Math.random().toString(36).substr(2,9)}`;return jsxRuntime.jsxs("div",{className:a("relative",i),style:{width:`${e}px`,height:`${n}px`},ref:o,children:[jsxRuntime.jsxs("svg",{viewBox:"-60 -75 720 900",preserveAspectRatio:"xMidYMid slice",className:"w-full h-full",children:[jsxRuntime.jsx("defs",{children:jsxRuntime.jsxs("filter",{id:g,children:[jsxRuntime.jsx("feTurbulence",{type:"turbulence",baseFrequency:"0.015",numOctaves:"5",seed:"4",stitchTiles:"stitch",x:"0%",y:"0%",width:"100%",height:"100%",result:"turbulence1"}),jsxRuntime.jsx("feDisplacementMap",{ref:s,in:"SourceGraphic",in2:"turbulence1",scale:"0",xChannelSelector:"R",yChannelSelector:"B",x:"0%",y:"0%",width:"100%",height:"100%",result:"displacementMap3"})]})}),jsxRuntime.jsx("g",{children:jsxRuntime.jsx("image",{href:t,x:"0",y:"0",width:"600",height:"750",filter:`url(#${g})`,preserveAspectRatio:"xMidYMid slice"})})]}),r&&jsxRuntime.jsx("div",{className:"absolute inset-0 flex items-end p-6",children:jsxRuntime.jsx("div",{className:"text-white",children:r})})]})}var oo="shadow-[0_0_6px_rgba(0,0,0,0.03),0_2px_6px_rgba(0,0,0,0.08),inset_3px_3px_0.5px_-3px_rgba(0,0,0,0.9),inset_-3px_-3px_0.5px_-3px_rgba(0,0,0,0.85),inset_1px_1px_1px_-0.5px_rgba(0,0,0,0.6),inset_-1px_-1px_1px_-0.5px_rgba(0,0,0,0.6),inset_0_0_6px_6px_rgba(0,0,0,0.12),inset_0_0_2px_2px_rgba(0,0,0,0.06),0_0_12px_rgba(255,255,255,0.15)] dark:shadow-[0_0_8px_rgba(0,0,0,0.03),0_2px_6px_rgba(0,0,0,0.08),inset_3px_3px_0.5px_-3.5px_rgba(255,255,255,0.09),inset_-3px_-3px_0.5px_-3.5px_rgba(255,255,255,0.85),inset_1px_1px_1px_-0.5px_rgba(255,255,255,0.6),inset_-1px_-1px_1px_-0.5px_rgba(255,255,255,0.6),inset_0_0_6px_6px_rgba(255,255,255,0.12),inset_0_0_2px_2px_rgba(255,255,255,0.06),0_0_12px_rgba(0,0,0,0.15)]",Kt=Wa__default.default.memo(({id:e,scale:n=30})=>jsxRuntime.jsxs("svg",{className:"hidden",children:[jsxRuntime.jsx("title",{children:"Glass Effect Filter"}),jsxRuntime.jsx("defs",{children:jsxRuntime.jsxs("filter",{colorInterpolationFilters:"sRGB",height:"200%",id:e,width:"200%",x:"-50%",y:"-50%",children:[jsxRuntime.jsx("feTurbulence",{baseFrequency:"0.05 0.05",numOctaves:"1",result:"turbulence",seed:"1",type:"fractalNoise"}),jsxRuntime.jsx("feGaussianBlur",{in:"turbulence",result:"blurredNoise",stdDeviation:"2"}),jsxRuntime.jsx("feDisplacementMap",{in:"SourceGraphic",in2:"blurredNoise",result:"displaced",scale:n,xChannelSelector:"R",yChannelSelector:"B"}),jsxRuntime.jsx("feGaussianBlur",{in:"displaced",result:"finalBlur",stdDeviation:"4"}),jsxRuntime.jsx("feComposite",{in:"finalBlur",in2:"finalBlur",operator:"over"})]})})]}));Kt.displayName="GlassFilter";function a0({className:e,glassSize:n="default",glassEffect:t=true,children:r,...i}){let o=Wa.useId();return jsxRuntime.jsxs("div",{className:a("group relative overflow-hidden rounded-lg border border-zinc-200 dark:border-zinc-800","bg-white/20 dark:bg-zinc-900/20 backdrop-blur-[2px]","transition-all duration-300",{sm:"p-4",default:"p-6",lg:"p-8"}[n],e),...i,children:[jsxRuntime.jsx("div",{className:a("pointer-events-none absolute inset-0 rounded-lg transition-all",oo)}),t&&jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx("div",{className:"-z-10 pointer-events-none absolute inset-0 overflow-hidden rounded-lg",style:{backdropFilter:`url("#${o}")`}}),jsxRuntime.jsx(Kt,{id:o,scale:30})]}),jsxRuntime.jsx("div",{className:"relative z-10",children:r}),jsxRuntime.jsx("div",{className:"pointer-events-none absolute inset-0 z-20 rounded-lg bg-gradient-to-r from-transparent via-black/5 to-transparent opacity-0 transition-opacity duration-200 group-hover:opacity-100 dark:via-white/5"})]})}function i0({className:e,variant:n="default",children:t,...r}){let i=Wa.useId();return jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsxs("button",{className:a("relative px-4 py-2 rounded-full font-medium transition-transform duration-300 hover:scale-105",n==="default"&&"bg-zinc-900 dark:bg-white text-white dark:text-zinc-900",n==="ghost"&&"bg-transparent text-zinc-700 dark:text-zinc-300 hover:bg-zinc-200/80 dark:hover:bg-zinc-800/80",e),...r,children:[jsxRuntime.jsx("div",{className:a("pointer-events-none absolute inset-0 rounded-full transition-all",oo)}),jsxRuntime.jsx("div",{className:"-z-10 pointer-events-none absolute inset-0 isolate overflow-hidden rounded-full",style:{backdropFilter:`url("#${i}")`}}),jsxRuntime.jsx("span",{className:"relative z-10",children:t})]}),jsxRuntime.jsx(Kt,{id:i,scale:70})]})}function l0({targetSelector:e=".cursor-target",spinDuration:n=2,hideDefaultCursor:t=true,color:r="#000000",className:i}){let o=Wa.useRef(null),s=Wa.useRef(null),[l,u]=Wa.useState({x:0,y:0}),[d,c]=Wa.useState(false),[m,g]=Wa.useState(0),p=Wa.useRef();Wa.useEffect(()=>{if(typeof window>"u")return;let h=document.body.style.cursor;t&&(document.body.style.cursor="none"),u({x:window.innerWidth/2,y:window.innerHeight/2});let y=T=>{u({x:T.clientX,y:T.clientY});},v=T=>{let N=T.target;(N.matches(e)||N.closest(e))&&c(true);},x=T=>{let N=T.target;(N.matches(e)||N.closest(e))&&c(false);};window.addEventListener("mousemove",y),window.addEventListener("mouseover",v),window.addEventListener("mouseout",x);let w,k=T=>{w||(w=T);let P=(T-w)/(n*1e3)*360;g(P%360),p.current=requestAnimationFrame(k);};return p.current=requestAnimationFrame(k),()=>{window.removeEventListener("mousemove",y),window.removeEventListener("mouseover",v),window.removeEventListener("mouseout",x),document.body.style.cursor=h,p.current&&cancelAnimationFrame(p.current);}},[e,n,t]);let f=12,b=3;return jsxRuntime.jsxs("div",{ref:o,className:a("fixed pointer-events-none z-[10000]",i),style:{left:l.x,top:l.y,transform:`translate(-50%, -50%) rotate(${d?0:m}deg)`,transition:d?"transform 0.2s ease":"none"},children:[jsxRuntime.jsx("div",{ref:s,className:"absolute rounded-full",style:{width:6,height:6,backgroundColor:r,left:"50%",top:"50%",transform:"translate(-50%, -50%)"}}),["tl","tr","br","bl"].map(h=>{let y=h.includes("t"),v=h.includes("l"),x=d?20:f*1.5;return jsxRuntime.jsx("div",{className:"absolute transition-all duration-200",style:{width:f,height:f,borderColor:r,borderWidth:b,borderStyle:"solid",borderTopWidth:y?b:0,borderBottomWidth:y?0:b,borderLeftWidth:v?b:0,borderRightWidth:v?0:b,left:v?-x:"auto",right:v?"auto":-x,top:y?-x:"auto",bottom:y?"auto":-x}},h)})]})}var so=(e,n,t)=>(1-t)*e+t*n;function u0({color:e="#000000",containerRef:n=null,className:t}){let r=Wa.useRef(null),i=Wa.useRef(null),o=Wa.useRef(null),s=Wa.useRef({x:0,y:0}),l=Wa.useRef({x:0,y:0}),u=Wa.useRef();return Wa.useEffect(()=>{if(typeof window>"u")return;let d=(f,b)=>{if(b){let h=b.getBoundingClientRect();return {x:f.clientX-h.left,y:f.clientY-h.top}}return {x:f.clientX,y:f.clientY}},c=f=>{if(s.current=d(f,n?.current||void 0),n?.current){let b=n.current.getBoundingClientRect(),h=f.clientX<b.left||f.clientX>b.right||f.clientY<b.top||f.clientY>b.bottom;i.current&&o.current&&(i.current.style.opacity=h?"0":"1",o.current.style.opacity=h?"0":"1");}},m=n?.current||window;m.addEventListener("mousemove",c),i.current&&o.current&&(i.current.style.opacity="0",o.current.style.opacity="0");let g=()=>{l.current={...s.current},i.current&&o.current&&(i.current.style.opacity="1",o.current.style.opacity="1"),m.removeEventListener("mousemove",g);};m.addEventListener("mousemove",g);let p=()=>{l.current.x=so(l.current.x,s.current.x,.15),l.current.y=so(l.current.y,s.current.y,.15),i.current&&o.current&&(o.current.style.transform=`translateX(${l.current.x}px)`,i.current.style.transform=`translateY(${l.current.y}px)`),u.current=requestAnimationFrame(p);};return p(),()=>{m.removeEventListener("mousemove",c),u.current&&cancelAnimationFrame(u.current);}},[n]),jsxRuntime.jsxs("div",{ref:r,className:a("pointer-events-none z-[10000]",t),style:{position:n?"absolute":"fixed",top:0,left:0,width:"100%",height:"100%"},children:[jsxRuntime.jsx("div",{ref:i,style:{position:"absolute",width:"100%",height:"1px",background:e,pointerEvents:"none",opacity:0,transition:"opacity 0.3s ease"}}),jsxRuntime.jsx("div",{ref:o,style:{position:"absolute",height:"100%",width:"1px",background:e,pointerEvents:"none",opacity:0,transition:"opacity 0.3s ease"}})]})}function g0({texts:e=["TailwindCSS","React","Next.js","TypeScript","Vercel","Motion"],className:n}){let[t,r]=Wa.useState(0),i=Wa.useRef(null),o=Wa.useRef([]);return Wa.useEffect(()=>{if(!i.current)return;let s=new IntersectionObserver(l=>{l.forEach(u=>{if(u.isIntersecting){let d=o.current.findIndex(c=>c===u.target);d!==-1&&r(d);}});},{threshold:.7,root:i.current,rootMargin:"-45% 0px -45% 0px"});return o.current.forEach(l=>{l&&s.observe(l);}),()=>s.disconnect()},[e]),jsxRuntime.jsx("div",{className:a("w-full max-w-3xl mx-auto",n),children:jsxRuntime.jsxs("div",{ref:i,className:a("h-[300px] overflow-y-auto","relative flex flex-col items-center","[&::-webkit-scrollbar]:hidden [-ms-overflow-style:none] [scrollbar-width:none]"),children:[jsxRuntime.jsx("div",{className:"h-[150px]"}),jsxRuntime.jsx("div",{className:"flex flex-col items-center w-full",children:e.map((s,l)=>jsxRuntime.jsx("div",{ref:u=>{o.current[l]=u;},className:a("text-5xl font-bold py-8 px-4 whitespace-nowrap","transition-all duration-300",t===l?"text-zinc-900 dark:text-white scale-100 opacity-100":"text-zinc-400/50 dark:text-zinc-600 scale-95 opacity-50"),children:s},`${s}-${l}`))}),jsxRuntime.jsx("div",{className:"h-[150px]"})]})})}
45
+ exports.ASCIIText=Yd;exports.Accordion=wl;exports.Alert=El;exports.AlertIcon=Al;exports.AlertTitle=Bl;exports.AlertToolbar=Hl;exports.AnimatedCircularProgressBar=ru;exports.AnimatedList=$s;exports.AnimatedListItem=Zn;exports.AnimatedSpan=Ol;exports.AnimatedThemeToggler=du;exports.AttractButton=ga;exports.Avatar=pl;exports.Badge=dl;exports.BlurFade=Rd;exports.BlurText=La;exports.BounceButton=Ro;exports.BounceText=za;exports.Card=us;exports.CardContent=gs;exports.CardDescription=fs;exports.CardFlip=cs;exports.CardFooter=bs;exports.CardHeader=ms;exports.CardTitle=ps;exports.Checkbox=Tc;exports.CircularText=Gi;exports.ClickSpark=md;exports.CommandButton=ha;exports.ContributionGraph=Fu;exports.CopyButton=ra;exports.CountUp=Pi;exports.Counter=sc;exports.Crosshair=u0;exports.DecayCard=r0;exports.DecryptedText=ji;exports.Dock=xc;exports.DockIcon=vc;exports.Drawer=Cl;exports.DynamicText=fi;exports.ElasticSlider=Ou;exports.ElasticText=Fi;exports.FallingText=Zd;exports.File=vr;exports.FlipText=Va;exports.FloatEffect=wd;exports.FlowingMenu=Xu;exports.Folder=xr;exports.FuzzyText=Ua;exports.GlassCard=os;exports.GlassLiquidButton=i0;exports.GlitchText=ka;exports.GlowButton=Co;exports.GlowEffect=Td;exports.GlowingText=qi;exports.GooeyNav=Yu;exports.GradientButton=Yo;exports.GradientText=va;exports.Hamburger3D=ad;exports.HamburgerBasic=Fc;exports.HamburgerElastic=cd;exports.HamburgerMorph=Wc;exports.HamburgerSpin=$c;exports.HamburgerSpring=Jc;exports.HamburgerStagger=td;exports.HamburgerWave=Zc;exports.HoldButton=Jo;exports.HoverCard=is;exports.InfiniteScroll=_d;exports.Input=zr;exports.InputOTP=_c;exports.LiquidButton=Fo;exports.LiquidGlassCard=a0;exports.LiquidText=ja;exports.Loader=iu;exports.LoadingBar=ws;exports.LoadingBounce=Rs;exports.LoadingDots=hs;exports.LoadingFlower=Ms;exports.LoadingGeometric=Ss;exports.LoadingInvert=ou;exports.LoadingMorph=Cs;exports.LoadingPulse=Ts;exports.LoadingRings=Ls;exports.LoadingSpinner=xs;exports.LoadingText=Es;exports.LoadingWords=Bs;exports.MagneticButton=zo;exports.MagneticText=li;exports.MatrixText=Qa;exports.Modal=Pl;exports.MorphText=Bi;exports.MultiStepLoader=Vd;exports.NeonButton=Ho;exports.ParticleButton=ca;exports.PerspectiveText=_i;exports.PillNav=Uu;exports.PixelCard=Ld;exports.Progress=gl;exports.PulseButton=Io;exports.RadioGroup=Rc;exports.RainbowText=wi;exports.RevealText=Mi;exports.RippleButton=yo;exports.RotatingText=vi;exports.ScrambledText=ri;exports.ScrollText=g0;exports.ScrollVelocity=Nu;exports.Select=Ec;exports.ShimmerEffect=pu;exports.ShimmerText=wa;exports.ShineButton=go;exports.ShinyText=$a;exports.Skeleton=Xs;exports.SlicedText=Ji;exports.SlideButton=Xo;exports.SmoothCursor=xd;exports.SmoothDrawer=Qu;exports.SmoothTab=t0;exports.SocialButton=Iu;exports.SplitText=Ei;exports.StaggerText=yi;exports.Step=Jl;exports.Stepper=Yl;exports.Switch=xl;exports.SwooshText=ei;exports.Tabs=Nl;exports.TargetCursor=l0;exports.Terminal=Dl;exports.TextCursor=Mu;exports.Textarea=Pr;exports.ThreeDButton=ea;exports.TiltedCard=Bd;exports.Toolbar=mc;exports.Tooltip=Us;exports.TooltipAnimated=il;exports.TooltipMinimal=el;exports.Tree=hr;exports.TrueFocus=ns;exports.Typewriter=Ba;exports.TypingAnimation=Fl;exports.V0Button=Bu;exports.WaveText=Fa;exports.cn=a;//# sourceMappingURL=index.js.map
43
46
  //# sourceMappingURL=index.js.map