@mova-ui/react 0.1.0 → 0.2.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 (299) hide show
  1. package/README.md +68 -21
  2. package/bin/mova.mjs +22 -7
  3. package/dist/styles.css +131 -1
  4. package/package.json +62 -14
  5. package/registry/1.json +14 -0
  6. package/registry/10.json +14 -0
  7. package/registry/11.json +14 -0
  8. package/registry/12.json +14 -0
  9. package/registry/13.json +14 -0
  10. package/registry/14.json +14 -0
  11. package/registry/15.json +14 -0
  12. package/registry/16.json +14 -0
  13. package/registry/17.json +14 -0
  14. package/registry/18.json +14 -0
  15. package/registry/19.json +14 -0
  16. package/registry/2.json +14 -0
  17. package/registry/20.json +14 -0
  18. package/registry/21.json +14 -0
  19. package/registry/22.json +14 -0
  20. package/registry/23.json +14 -0
  21. package/registry/24.json +14 -0
  22. package/registry/25.json +14 -0
  23. package/registry/26.json +14 -0
  24. package/registry/27.json +14 -0
  25. package/registry/28.json +14 -0
  26. package/registry/29.json +14 -0
  27. package/registry/3.json +14 -0
  28. package/registry/30.json +14 -0
  29. package/registry/31.json +14 -0
  30. package/registry/32.json +14 -0
  31. package/registry/33.json +14 -0
  32. package/registry/34.json +14 -0
  33. package/registry/35.json +14 -0
  34. package/registry/36.json +11 -0
  35. package/registry/37.json +11 -0
  36. package/registry/4.json +14 -0
  37. package/registry/5.json +14 -0
  38. package/registry/6.json +14 -0
  39. package/registry/7.json +14 -0
  40. package/registry/8.json +14 -0
  41. package/registry/9.json +14 -0
  42. package/registry/LICENSE.third-party +283 -0
  43. package/registry/ab-segmented-tabs.json +14 -0
  44. package/registry/accordion-blind.json +14 -0
  45. package/registry/analyzing-image.json +13 -0
  46. package/registry/animated-sidebar.json +14 -0
  47. package/registry/animated-tags.json +14 -0
  48. package/registry/blur-up-char.json +14 -0
  49. package/registry/blur-up-word.json +14 -0
  50. package/registry/bookmark-corner-peel.json +14 -0
  51. package/registry/bookmark-save-pill.json +14 -0
  52. package/registry/bookmark-toggle.json +14 -0
  53. package/registry/border-trail-loading.json +13 -0
  54. package/registry/bounce-in-char.json +14 -0
  55. package/registry/btn-1.json +14 -0
  56. package/registry/btn-10.json +14 -0
  57. package/registry/btn-11.json +14 -0
  58. package/registry/btn-12.json +14 -0
  59. package/registry/btn-13.json +14 -0
  60. package/registry/btn-14.json +14 -0
  61. package/registry/btn-15.json +14 -0
  62. package/registry/btn-16.json +14 -0
  63. package/registry/btn-17.json +14 -0
  64. package/registry/btn-18.json +14 -0
  65. package/registry/btn-19.json +14 -0
  66. package/registry/btn-2.json +14 -0
  67. package/registry/btn-20.json +14 -0
  68. package/registry/btn-21.json +14 -0
  69. package/registry/btn-22.json +14 -0
  70. package/registry/btn-23.json +14 -0
  71. package/registry/btn-24.json +14 -0
  72. package/registry/btn-25.json +14 -0
  73. package/registry/btn-26.json +14 -0
  74. package/registry/btn-27.json +14 -0
  75. package/registry/btn-28.json +14 -0
  76. package/registry/btn-29.json +14 -0
  77. package/registry/btn-3.json +14 -0
  78. package/registry/btn-30.json +14 -0
  79. package/registry/btn-31.json +14 -0
  80. package/registry/btn-32.json +14 -0
  81. package/registry/btn-33.json +14 -0
  82. package/registry/btn-34.json +14 -0
  83. package/registry/btn-35.json +14 -0
  84. package/registry/btn-36.json +11 -0
  85. package/registry/btn-37.json +11 -0
  86. package/registry/btn-4.json +14 -0
  87. package/registry/btn-5.json +14 -0
  88. package/registry/btn-6.json +14 -0
  89. package/registry/btn-7.json +14 -0
  90. package/registry/btn-8.json +14 -0
  91. package/registry/btn-9.json +14 -0
  92. package/registry/button-slide-arrow.json +14 -0
  93. package/registry/cacheable-bandwidth-cost.json +14 -0
  94. package/registry/card-arc-5.json +13 -0
  95. package/registry/card-arc-7.json +13 -0
  96. package/registry/card-carousel-mono.json +14 -0
  97. package/registry/card-carousel.json +14 -0
  98. package/registry/card-cascade-stagger.json +13 -0
  99. package/registry/card-corner-fan.json +13 -0
  100. package/registry/card-cover-flow-mono.json +14 -0
  101. package/registry/card-cover-flow.json +14 -0
  102. package/registry/card-deck-cascade.json +14 -0
  103. package/registry/card-glance-preview.json +14 -0
  104. package/registry/card-linear-spread.json +13 -0
  105. package/registry/card-long-arc-5.json +13 -0
  106. package/registry/card-scatter-spread.json +13 -0
  107. package/registry/card-stack-peel.json +14 -0
  108. package/registry/card-stamp-arc.json +13 -0
  109. package/registry/card-time-machine-mono.json +13 -0
  110. package/registry/card-time-machine.json +13 -0
  111. package/registry/card-wheel-fan.json +13 -0
  112. package/registry/category-select.json +14 -0
  113. package/registry/checkbox-draw.json +14 -0
  114. package/registry/checkmark-draw.json +14 -0
  115. package/registry/circle-toggle.json +14 -0
  116. package/registry/circuit-trace-draw.json +14 -0
  117. package/registry/circular-create-button.json +11 -0
  118. package/registry/compass-needle-deflect.json +14 -0
  119. package/registry/context-menu.json +14 -0
  120. package/registry/credit-score-barcode-meter.json +14 -0
  121. package/registry/date-position-selector.json +14 -0
  122. package/registry/dia-text-reveal.json +14 -0
  123. package/registry/dislike-toggle.json +14 -0
  124. package/registry/dither-book.json +14 -0
  125. package/registry/domino-cascade.json +14 -0
  126. package/registry/double-bounce-toggle.json +14 -0
  127. package/registry/download-icons.json +14 -0
  128. package/registry/drop-in-char.json +14 -0
  129. package/registry/droplet-squish.json +14 -0
  130. package/registry/dual-magnet-dipole.json +14 -0
  131. package/registry/elastic-tag-snap.json +14 -0
  132. package/registry/error-shake.json +14 -0
  133. package/registry/expanding-icon-tabs.json +13 -0
  134. package/registry/fade-in-char.json +14 -0
  135. package/registry/fade-in-text.json +14 -0
  136. package/registry/fade-in-word.json +14 -0
  137. package/registry/file-upload-dropzone.json +14 -0
  138. package/registry/filter-tag-pill.json +14 -0
  139. package/registry/flip-x-char.json +14 -0
  140. package/registry/flip-y-char.json +14 -0
  141. package/registry/float-char.json +14 -0
  142. package/registry/float-word.json +14 -0
  143. package/registry/floating-label-input.json +14 -0
  144. package/registry/focus-blur.json +13 -0
  145. package/registry/form-submit-button.json +14 -0
  146. package/registry/french-doors-3d.json +13 -0
  147. package/registry/gear-tooth-step.json +14 -0
  148. package/registry/gelatin-wobble.json +14 -0
  149. package/registry/geometric-iris-shutter.json +14 -0
  150. package/registry/glow-text.json +14 -0
  151. package/registry/gooey-popover.json +13 -0
  152. package/registry/gradient-shimmer.json +13 -0
  153. package/registry/hex-lattice-draw.json +14 -0
  154. package/registry/hover-lift-char.json +14 -0
  155. package/registry/hover-lift-word.json +14 -0
  156. package/registry/hover-link-card.json +14 -0
  157. package/registry/hover-scale-char.json +14 -0
  158. package/registry/hover-scale-word.json +14 -0
  159. package/registry/inertia-skid-stop.json +14 -0
  160. package/registry/input-focus-glow.json +14 -0
  161. package/registry/inset-action-button.json +11 -0
  162. package/registry/inset-button.json +12 -0
  163. package/registry/kinetic-metronome-tick.json +14 -0
  164. package/registry/kinetic-tension-capsule.json +14 -0
  165. package/registry/light-dark-morph.json +14 -0
  166. package/registry/like-toggle.json +14 -0
  167. package/registry/magnetic-disks.json +14 -0
  168. package/registry/magnetic-slide-btn.json +14 -0
  169. package/registry/matrix-grid-loader.json +14 -0
  170. package/registry/modular-tile-snap.json +14 -0
  171. package/registry/mono-activity-blue.json +13 -0
  172. package/registry/mono-activity-green.json +13 -0
  173. package/registry/mono-activity-purple.json +13 -0
  174. package/registry/mono-heatmap.json +14 -0
  175. package/registry/mono-rounded-area.json +13 -0
  176. package/registry/mono-rounded-bar.json +13 -0
  177. package/registry/mono-rounded-bubble.json +13 -0
  178. package/registry/mono-rounded-bullet.json +11 -0
  179. package/registry/mono-rounded-candlestick.json +11 -0
  180. package/registry/mono-rounded-composed.json +13 -0
  181. package/registry/mono-rounded-donut.json +13 -0
  182. package/registry/mono-rounded-funnel.json +13 -0
  183. package/registry/mono-rounded-gauge-arc.json +13 -0
  184. package/registry/mono-rounded-heatmap.json +11 -0
  185. package/registry/mono-rounded-kpi.json +13 -0
  186. package/registry/mono-rounded-line.json +13 -0
  187. package/registry/mono-rounded-meter.json +13 -0
  188. package/registry/mono-rounded-polar.json +13 -0
  189. package/registry/mono-rounded-pyramid.json +11 -0
  190. package/registry/mono-rounded-radar.json +13 -0
  191. package/registry/mono-rounded-radial-gauge.json +13 -0
  192. package/registry/mono-rounded-radial-group.json +13 -0
  193. package/registry/mono-rounded-range.json +13 -0
  194. package/registry/mono-rounded-sankey.json +11 -0
  195. package/registry/mono-rounded-scatter.json +13 -0
  196. package/registry/mono-rounded-sparkline.json +13 -0
  197. package/registry/mono-rounded-stacked-bar.json +13 -0
  198. package/registry/mono-rounded-step.json +13 -0
  199. package/registry/mono-rounded-stream.json +13 -0
  200. package/registry/mono-rounded-treemap.json +11 -0
  201. package/registry/mono-rounded-waterfall.json +13 -0
  202. package/registry/mono-stock.json +14 -0
  203. package/registry/morph-action-pill.json +14 -0
  204. package/registry/morph-toggle.json +14 -0
  205. package/registry/multi-select-chips.json +14 -0
  206. package/registry/multi-tab-bar.json +14 -0
  207. package/registry/neon-sign-draw.json +14 -0
  208. package/registry/nested-orbital-gimbal.json +14 -0
  209. package/registry/network-telemetry-matrix.json +14 -0
  210. package/registry/noise-decibel-level.json +14 -0
  211. package/registry/obsidian-liquid-wave.json +11 -0
  212. package/registry/origami-envelope-unfold.json +14 -0
  213. package/registry/otp-input.json +14 -0
  214. package/registry/overview-bar-scrubber-card.json +14 -0
  215. package/registry/page-turn-curl.json +14 -0
  216. package/registry/password-toggle.json +14 -0
  217. package/registry/pendulum-bubble-level.json +14 -0
  218. package/registry/perspective-flip-stage.json +13 -0
  219. package/registry/perspective-flip.json +13 -0
  220. package/registry/perspective-layout-switcher.json +14 -0
  221. package/registry/physics-dock.json +14 -0
  222. package/registry/pill-tabs.json +14 -0
  223. package/registry/plus-minus-toggle.json +14 -0
  224. package/registry/prism-block-stack.json +14 -0
  225. package/registry/progress-indicator-piano.json +14 -0
  226. package/registry/progress-stepper.json +14 -0
  227. package/registry/pulse-char.json +14 -0
  228. package/registry/pulse-word.json +14 -0
  229. package/registry/pyramid-block-build.json +14 -0
  230. package/registry/radial-iris-mask.json +13 -0
  231. package/registry/radial-spinner.json +14 -0
  232. package/registry/radio-scale.json +14 -0
  233. package/registry/range-slider.json +14 -0
  234. package/registry/receipt-tape-print.json +14 -0
  235. package/registry/rectangle-toggle.json +14 -0
  236. package/registry/repost-toggle.json +14 -0
  237. package/registry/reveal-text.json +14 -0
  238. package/registry/ribbon-banner-slide.json +14 -0
  239. package/registry/rise-up-word.json +14 -0
  240. package/registry/roller-blind-drop.json +14 -0
  241. package/registry/rolling-tumble.json +14 -0
  242. package/registry/rotate-in-char.json +14 -0
  243. package/registry/rotating-louvers.json +14 -0
  244. package/registry/sales-analytics-dual-bars.json +14 -0
  245. package/registry/sales-overview-radial-dashboard.json +14 -0
  246. package/registry/sales-target-segmented-arc.json +14 -0
  247. package/registry/scale-in-char.json +14 -0
  248. package/registry/scale-in-text.json +14 -0
  249. package/registry/scale-in-word.json +14 -0
  250. package/registry/scramble-text.json +13 -0
  251. package/registry/scroll-canvas-unroll.json +14 -0
  252. package/registry/search-expand.json +14 -0
  253. package/registry/segmented-arc-meter.json +14 -0
  254. package/registry/segmented-link-stretch.json +14 -0
  255. package/registry/segmented-step-bar.json +14 -0
  256. package/registry/segmented-stepper-dots.json +14 -0
  257. package/registry/select-dropdown.json +14 -0
  258. package/registry/server-performance-step-bars.json +14 -0
  259. package/registry/shimmer-text.json +14 -0
  260. package/registry/shutter-slide.json +14 -0
  261. package/registry/shutter-step-slices.json +14 -0
  262. package/registry/skew-x-char.json +14 -0
  263. package/registry/slide-down-char.json +14 -0
  264. package/registry/slide-down-word.json +14 -0
  265. package/registry/slide-left-char.json +14 -0
  266. package/registry/slide-right-char.json +14 -0
  267. package/registry/slide-up-char.json +14 -0
  268. package/registry/slide-up-text.json +14 -0
  269. package/registry/slide-up-word.json +14 -0
  270. package/registry/slinky-coil.json +14 -0
  271. package/registry/smart-card-dispenser.json +14 -0
  272. package/registry/solid-switch.json +14 -0
  273. package/registry/spatial-door-portal.json +13 -0
  274. package/registry/split-gate-reveal.json +14 -0
  275. package/registry/spring-text.json +14 -0
  276. package/registry/squash-sphere.json +14 -0
  277. package/registry/stagger-text.json +14 -0
  278. package/registry/staggered-glass-curtain.json +13 -0
  279. package/registry/sticky-note-peel.json +14 -0
  280. package/registry/stretch-x-char.json +14 -0
  281. package/registry/stretch-y-char.json +14 -0
  282. package/registry/stroke-waveform.json +14 -0
  283. package/registry/submenu-flyout.json +14 -0
  284. package/registry/success-check.json +14 -0
  285. package/registry/sudden-brake.json +14 -0
  286. package/registry/swing-word.json +14 -0
  287. package/registry/textarea-auto-grow.json +14 -0
  288. package/registry/theme-toggle.json +14 -0
  289. package/registry/timer-preparation-segmented.json +14 -0
  290. package/registry/tracking-in-text.json +14 -0
  291. package/registry/tracking-out-text.json +14 -0
  292. package/registry/typewriter-text.json +13 -0
  293. package/registry/users-growth-pill-progress.json +14 -0
  294. package/registry/vertical-wheel-counter.json +14 -0
  295. package/registry/views-hourly-wave-chart.json +14 -0
  296. package/registry/wandering-eyes.json +11 -0
  297. package/registry/wave-reveal.json +13 -0
  298. package/registry/zoom-in-text.json +14 -0
  299. package/registry/zoom-out-text.json +14 -0
@@ -0,0 +1,14 @@
1
+ {
2
+ "id": "23",
3
+ "file": "23.tsx",
4
+ "content": "// @ts-nocheck -- Generated JavaScript bundle; edit the maintained catalog source to retain TypeScript types.\n\"use client\";\n// Mova catalog component. See LICENSE.mova and LICENSE.third-party.\n// src/components/AnimatedButton.tsx\nimport React2, { useState as useState2 } from \"react\";\nimport { AnimatePresence as AnimatePresence2, motion as motion2 } from \"motion/react\";\n\n// src/components/cards/FocusBlur.tsx\nimport { useState } from \"react\";\nimport { motion, AnimatePresence } from \"motion/react\";\nimport { jsx, jsxs } from \"react/jsx-runtime\";\nfunction FocusBlur({\n items = [\n { label: \"@Twitter\", href: \"#\" },\n { label: \"@Threads\", href: \"#\" },\n { label: \"@Instagram\", href: \"#\" },\n { label: \"@GitHub\", href: \"#\" }\n ],\n blurAmount = 4,\n opacityAmount = 0.4,\n showBrackets = true,\n className = \"\"\n}) {\n const [hoveredIndex, setHoveredIndex] = useState(null);\n return /* @__PURE__ */ jsx(\"div\", { className: `flex flex-wrap justify-center items-center gap-6 py-6 px-10 cursor-default ${className}`, children: items.map((item, index) => {\n const isHovered = hoveredIndex === index;\n const isAnyHovered = hoveredIndex !== null;\n const isInactive = isAnyHovered && !isHovered;\n return /* @__PURE__ */ jsxs(\n \"a\",\n {\n href: item.href || \"#\",\n onMouseEnter: () => setHoveredIndex(index),\n onMouseLeave: () => setHoveredIndex(null),\n className: \"relative font-semibold text-lg sm:text-2xl no-underline transition-all duration-300 select-none outline-none\",\n style: {\n filter: isInactive ? `blur(${blurAmount}px)` : \"none\",\n opacity: isInactive ? opacityAmount : 1,\n color: isHovered ? \"var(--color-blue-500, #3b82f6)\" : \"inherit\"\n },\n children: [\n /* @__PURE__ */ jsx(\"span\", { className: \"relative z-10\", children: item.label }),\n showBrackets && /* @__PURE__ */ jsx(AnimatePresence, { children: isHovered && /* @__PURE__ */ jsx(\n motion.div,\n {\n initial: { opacity: 0, scale: 1.3 },\n animate: { opacity: 1, scale: 1.1 },\n exit: { opacity: 0, scale: 1.3 },\n transition: { type: \"spring\", stiffness: 350, damping: 20 },\n className: \"absolute inset-0 border-2 border-dashed border-neutral-300 dark:border-neutral-700 rounded-lg pointer-events-none z-0\",\n style: { margin: \"-4px -8px\" }\n }\n ) })\n ]\n },\n index\n );\n }) });\n}\n\n// registry/ui/hover/inset-button.tsx\nimport { Fragment, jsx as jsx2, jsxs as jsxs2 } from \"react/jsx-runtime\";\nvar insetButtonStyles = `\n.mova-inset-button {\n --surface-elevated: oklch(0.996 0.001 95);\n --surface-shell: oklch(0.963 0.003 95);\n --ink-strong: oklch(0.205 0.004 95);\n --ink-base: oklch(0.315 0.004 92);\n --border-soft: oklch(0.9 0.003 95);\n --border-base: oklch(0.84 0.004 95);\n --sidebar: color-mix(in oklab, var(--surface-shell) 94%, white);\n --sidebar-foreground: var(--ink-base);\n --sidebar-border: color-mix(in oklab, var(--border-soft) 92%, white);\n --control-hover-core: var(--surface-elevated);\n --control-hover-core-shadow: inset 0 1px 0 color-mix(in oklab, white 14%, transparent), 0 2px 7px color-mix(in oklab, var(--ink-strong) 12%, transparent), 0 0 0 1px color-mix(in oklab, var(--border-soft) 52%, transparent);\n position: relative; isolation: isolate; display: inline-flex;\n align-items: center; justify-content: center; flex-shrink: 0;\n box-sizing: border-box; height: 2.5rem; padding: 0 .95rem;\n border: 1px solid var(--border-base); border-radius: 999px;\n background: var(--surface-elevated); color: var(--ink-strong);\n font: inherit; font-size: .875rem; font-weight: 500; line-height: 1.25rem;\n white-space: nowrap; cursor: pointer; outline: none;\n transition-property: color, background-color, border-color, box-shadow, opacity, transform, scale;\n transition-duration: 150ms; transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);\n}\n.mova-inset-button[data-theme=\"dark\"] {\n --surface-elevated: oklch(0.282 0.004 95);\n --surface-shell: oklch(0.225 0.003 95);\n --ink-strong: oklch(0.955 0.001 95);\n --ink-base: oklch(0.88 0.002 95);\n --border-soft: oklch(0.35 0.004 95);\n --border-base: oklch(0.44 0.004 95);\n --sidebar: color-mix(in oklab, var(--surface-shell) 96%, black);\n --sidebar-border: color-mix(in oklab, var(--border-soft) 94%, black);\n --control-hover-core: color-mix(in oklab, var(--surface-elevated) 84%, white);\n --control-hover-core-shadow: inset 0 1px 0 color-mix(in oklab, white 9%, transparent);\n}\n.mova-inset-button::before {\n content: \"\"; position: absolute; z-index: -1; inset: 4px; border-radius: inherit;\n background: var(--control-hover-core); box-shadow: var(--control-hover-core-shadow);\n backdrop-filter: blur(16px) saturate(118%); opacity: 0; pointer-events: none;\n transform: scale(0.82);\n transition: opacity 160ms ease, transform 190ms cubic-bezier(0.2, 0.8, 0.2, 1);\n}\n.mova-inset-button:is(:hover, :focus-visible, :active, [data-state=\"open\"]):not(:disabled):not([aria-disabled=\"true\"])::before { opacity: 1; transform: scale(1); }\n.mova-inset-button:active:not(:disabled):not([aria-disabled=\"true\"])::before { transform: scale(0.95); }\n.mova-inset-button[data-theme=\"light\"][data-variant=\"text\"]::before { content: none; }\n.mova-inset-button[data-theme=\"light\"][data-variant=\"text\"]:is(:hover, :focus-visible, [data-state=\"open\"]):not(:disabled):not([aria-disabled=\"true\"]) { background: color-mix(in oklab, var(--surface-elevated) 94%, black); }\n.mova-inset-button[data-theme=\"light\"][data-variant=\"text\"]:is(:active, [data-state=\"open\"]):not(:disabled):not([aria-disabled=\"true\"]) { background: color-mix(in oklab, var(--surface-elevated) 89%, black); }\n.mova-inset-button:focus-visible { outline: 3px solid color-mix(in oklab, var(--ink-base) 25%, transparent); outline-offset: 1px; }\n.mova-inset-button[data-variant=\"create\"] {\n width: 36px; height: 36px; padding: 0; overflow: hidden; backdrop-filter: blur(22px);\n --control-hover-core: color-mix(in oklab, white 88%, transparent);\n --control-hover-core-shadow: 0 2px 6px color-mix(in oklab, var(--sidebar-foreground) 12%, transparent), 0 0 0 1px color-mix(in oklab, var(--sidebar-foreground) 4%, transparent);\n border-color: color-mix(in oklab, var(--sidebar-border) 76%, white);\n background: color-mix(in oklab, var(--sidebar-foreground) 8%, var(--sidebar));\n color: color-mix(in oklab, var(--sidebar-foreground) 88%, var(--sidebar));\n box-shadow: 0 6px 18px -16px rgb(15 23 42 / 0.55);\n}\n.mova-inset-button[data-theme=\"dark\"][data-variant=\"create\"] {\n --control-hover-core: color-mix(in oklab, var(--sidebar-foreground) 20%, var(--sidebar));\n --control-hover-core-shadow: inset 0 1px 0 color-mix(in oklab, white 10%, transparent);\n border-color: color-mix(in oklab, var(--sidebar-border) 78%, white 22%);\n background: color-mix(in oklab, var(--sidebar) 90%, white 10%);\n color: color-mix(in oklab, var(--sidebar-foreground) 88%, white 12%);\n box-shadow: 0 7px 18px -16px rgb(0 0 0 / 0.72);\n}\n.mova-inset-button:disabled, .mova-inset-button[aria-disabled=\"true\"] { pointer-events: none; opacity: .5; }\n@media (prefers-reduced-motion: reduce) {\n .mova-inset-button { transition: none !important; }\n .mova-inset-button::before { transform: scale(1) !important; transition: none !important; }\n}\n`;\nfunction InsetButton({ variant = \"text\", theme = \"dark\", children, className = \"\", type = \"button\", ...props }) {\n return /* @__PURE__ */ jsxs2(Fragment, { children: [\n /* @__PURE__ */ jsx2(\"style\", { children: insetButtonStyles }),\n /* @__PURE__ */ jsx2(\n \"button\",\n {\n type,\n \"aria-label\": variant === \"create\" ? \"Create\" : void 0,\n ...props,\n \"data-theme\": theme,\n \"data-variant\": variant,\n className: `mova-inset-button ${className}`,\n children: variant === \"create\" ? /* @__PURE__ */ jsx2(\"svg\", { width: \"16\", height: \"16\", viewBox: \"0 0 24 24\", fill: \"none\", stroke: \"currentColor\", strokeWidth: \"2\", strokeLinecap: \"round\", strokeLinejoin: \"round\", \"aria-hidden\": \"true\", children: /* @__PURE__ */ jsx2(\"path\", { d: \"M12 5v14M5 12h14\" }) }) : children\n }\n )\n ] });\n}\n\n// src/components/AnimatedButton.tsx\nimport { Fragment as Fragment2, jsx as jsx3, jsxs as jsxs3 } from \"react/jsx-runtime\";\nvar AnimatedButton = React2.memo(function AnimatedButton2({ config, layoutMode, theme = \"dark\" }) {\n const [isHovered, setIsHovered] = useState2(false);\n const [hasInteracted, setHasInteracted] = useState2(false);\n const [mouseCoords, setMouseCoords] = useState2({ x: 0, y: 0 });\n if (config.interactionType === \"inset-text\" || config.interactionType === \"circle-create\") {\n return /* @__PURE__ */ jsx3(\n InsetButton,\n {\n theme,\n variant: config.interactionType === \"circle-create\" ? \"create\" : \"text\",\n \"aria-label\": config.label,\n style: layoutMode === \"matrix\" && config.interactionType === \"inset-text\" ? { zoom: 0.55 } : void 0,\n children: config.label\n }\n );\n }\n if (config.interactionType === \"focus-blur\") {\n return /* @__PURE__ */ jsx3(\n FocusBlur,\n {\n items: [\n { label: \"@X\", href: \"#\" },\n { label: \"@Threads\", href: \"#\" },\n { label: \"@GitHub\", href: \"#\" }\n ],\n showBrackets: true,\n className: layoutMode === \"matrix\" ? \"scale-[0.5] origin-center text-[10px] gap-1 px-1 py-1\" : \"text-sm gap-4\"\n }\n );\n }\n const Icon1 = config.icon1;\n const Icon2 = config.icon2;\n const isMatrix = layoutMode === \"matrix\";\n const isLightTheme = theme === \"light\";\n const handleMouseEnter = () => {\n setIsHovered(true);\n if (config.interactionType === \"morph\" && (config.id === \"4\" || config.id === \"21\" || config.id === \"22\" || config.id === \"24\" || config.id === \"25\")) {\n setHasInteracted(true);\n }\n };\n const handleMouseMove = (e) => {\n if (config.interactionType === \"magnetic\") {\n const rect = e.currentTarget.getBoundingClientRect();\n const x = e.clientX - rect.left - rect.width / 2;\n const y = e.clientY - rect.top - rect.height / 2;\n setMouseCoords({ x: x * 0.35, y: y * 0.35 });\n }\n };\n const handleMouseLeave = () => {\n setIsHovered(false);\n if (config.interactionType === \"magnetic\") {\n setMouseCoords({ x: 0, y: 0 });\n }\n if (hasInteracted) {\n setTimeout(() => setHasInteracted(false), 500);\n }\n };\n const handleTouchStart = () => {\n setIsHovered(true);\n if (config.interactionType === \"morph\" && (config.id === \"4\" || config.id === \"21\" || config.id === \"22\" || config.id === \"24\" || config.id === \"25\")) {\n setHasInteracted(true);\n }\n };\n const handleTouchEnd = () => {\n setTimeout(() => {\n setIsHovered(false);\n if (hasInteracted) {\n setTimeout(() => setHasInteracted(false), 500);\n }\n }, 500);\n };\n const showIcon2 = hasInteracted || isHovered;\n const renderIconContent = () => {\n switch (config.interactionType) {\n case \"slide-arrow\":\n return /* @__PURE__ */ jsxs3(Fragment2, { children: [\n /* @__PURE__ */ jsx3(AnimatePresence2, { mode: \"popLayout\", children: !isHovered && /* @__PURE__ */ jsx3(\n motion2.div,\n {\n layout: true,\n initial: { opacity: 0, x: -10 },\n animate: { opacity: 1, x: 0 },\n exit: { opacity: 0, x: -10 },\n transition: { type: \"spring\", stiffness: 600, damping: 25 },\n className: `flex items-center shrink-0 ${!isMatrix ? \"mr-2.5\" : \"\"}`,\n children: /* @__PURE__ */ jsx3(Icon1, { className: `w-[16px] h-[16px] ${isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}` })\n },\n \"icon1\"\n ) }),\n !isMatrix && /* @__PURE__ */ jsx3(motion2.span, { layout: true, className: \"font-medium tracking-tight text-[13px] whitespace-nowrap\", children: config.label }),\n /* @__PURE__ */ jsx3(AnimatePresence2, { mode: \"popLayout\", children: isHovered && /* @__PURE__ */ jsx3(\n motion2.div,\n {\n layout: true,\n initial: { opacity: 0, x: 10 },\n animate: { opacity: 1, x: 0 },\n exit: { opacity: 0, x: 10 },\n transition: { type: \"spring\", stiffness: 600, damping: 25 },\n className: `flex items-center shrink-0 ${!isMatrix ? \"ml-2.5\" : \"\"}`,\n children: Icon2 && /* @__PURE__ */ jsx3(Icon2, { className: `w-[16px] h-[16px] ${isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}` })\n },\n \"icon2\"\n ) })\n ] });\n case \"sparkle\":\n return /* @__PURE__ */ jsxs3(Fragment2, { children: [\n /* @__PURE__ */ jsx3(\"div\", { className: \"relative w-[16px] h-[16px] flex items-center justify-center shrink-0\", children: /* @__PURE__ */ jsx3(AnimatePresence2, { mode: \"popLayout\", initial: false, children: !isHovered ? /* @__PURE__ */ jsx3(\n motion2.div,\n {\n initial: { y: -15, opacity: 0, scale: 0.8 },\n animate: { y: 0, opacity: 1, scale: 1 },\n exit: { y: -15, opacity: 0, scale: 0.8 },\n transition: { type: \"spring\", stiffness: 600, damping: 25 },\n className: \"absolute inset-0 flex items-center justify-center\",\n children: /* @__PURE__ */ jsx3(Icon1, { className: `w-[16px] h-[16px] ${isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}` })\n },\n \"icon1\"\n ) : /* @__PURE__ */ jsxs3(\n motion2.div,\n {\n initial: { y: 15, opacity: 0, scale: 0.8 },\n animate: { y: 0, opacity: 1, scale: 1 },\n exit: { y: 15, opacity: 0, scale: 0.8 },\n transition: { type: \"spring\", stiffness: 600, damping: 25 },\n className: \"absolute inset-0 flex items-center justify-center\",\n children: [\n Icon2 && /* @__PURE__ */ jsx3(Icon2, { className: `w-[16px] h-[16px] ${config.icon2Color || (isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\")}` }),\n /* @__PURE__ */ jsx3(\n motion2.div,\n {\n initial: { opacity: 0, scale: 0, rotate: -45, y: 10 },\n animate: { opacity: 1, scale: 1, rotate: 0, y: 0 },\n exit: { opacity: 0, scale: 0, rotate: 45, y: 10 },\n transition: { type: \"spring\", stiffness: 600, damping: 25, delay: 0.05 },\n className: \"absolute -top-3 -right-2\",\n children: /* @__PURE__ */ jsx3(\"svg\", { className: \"w-2.5 h-2.5 text-yellow-200\", viewBox: \"0 0 24 24\", fill: \"currentColor\", children: /* @__PURE__ */ jsx3(\"path\", { d: \"M12 2l2.4 7.6H22l-6.2 4.5 2.4 7.6-6.2-4.5-6.2 4.5 2.4-7.6L2 9.6h7.6z\" }) })\n }\n ),\n /* @__PURE__ */ jsx3(\n motion2.div,\n {\n initial: { opacity: 0, scale: 0, rotate: 45, x: 10 },\n animate: { opacity: 1, scale: 1, rotate: 0, x: 0 },\n exit: { opacity: 0, scale: 0, rotate: -45, x: 10 },\n transition: { type: \"spring\", stiffness: 600, damping: 25, delay: 0.1 },\n className: \"absolute -top-1 -left-3\",\n children: /* @__PURE__ */ jsx3(\"svg\", { className: \"w-1.5 h-1.5 text-yellow-400\", viewBox: \"0 0 24 24\", fill: \"currentColor\", children: /* @__PURE__ */ jsx3(\"path\", { d: \"M12 2l2.4 7.6H22l-6.2 4.5 2.4 7.6-6.2-4.5-6.2 4.5 2.4-7.6L2 9.6h7.6z\" }) })\n }\n )\n ]\n },\n \"icon2\"\n ) }) }),\n !isMatrix && /* @__PURE__ */ jsx3(motion2.span, { layout: true, className: \"font-medium tracking-tight text-[13px] whitespace-nowrap ml-2.5\", children: config.label })\n ] });\n case \"morph\":\n case \"color-morph\":\n return /* @__PURE__ */ jsxs3(Fragment2, { children: [\n /* @__PURE__ */ jsx3(\"div\", { className: \"relative w-[16px] h-[16px] flex items-center justify-center shrink-0\", children: /* @__PURE__ */ jsx3(AnimatePresence2, { mode: \"popLayout\", initial: false, children: !showIcon2 ? /* @__PURE__ */ jsx3(\n motion2.div,\n {\n initial: { scale: 0.5, opacity: 0 },\n animate: { scale: 1, opacity: 1 },\n exit: { scale: 0.5, opacity: 0 },\n transition: { type: \"spring\", stiffness: 600, damping: 25 },\n className: \"absolute inset-0 flex items-center justify-center\",\n children: /* @__PURE__ */ jsx3(Icon1, { className: `w-[16px] h-[16px] ${isHovered && config.icon1Color ? config.icon1Color : isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}` })\n },\n \"icon1\"\n ) : /* @__PURE__ */ jsx3(\n motion2.div,\n {\n initial: { scale: 0.5, opacity: 0 },\n animate: { scale: 1, opacity: 1 },\n exit: { scale: 0.5, opacity: 0 },\n transition: { type: \"spring\", stiffness: 600, damping: 25 },\n className: \"absolute inset-0 flex items-center justify-center\",\n children: Icon2 && /* @__PURE__ */ jsx3(Icon2, { className: `w-[16px] h-[16px] ${config.icon2Color || (isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\")}` })\n },\n \"icon2\"\n ) }) }),\n !isMatrix && /* @__PURE__ */ jsx3(motion2.span, { layout: true, className: \"font-medium tracking-tight text-[13px] whitespace-nowrap ml-2.5\", children: config.id === \"4\" && showIcon2 ? \"Copied\" : config.label })\n ] });\n case \"pulse\":\n return /* @__PURE__ */ jsxs3(Fragment2, { children: [\n /* @__PURE__ */ jsx3(\"div\", { className: \"relative w-[16px] h-[16px] flex items-center justify-center shrink-0\", children: /* @__PURE__ */ jsx3(\n motion2.div,\n {\n animate: { scale: isHovered ? [1, 1.25, 1] : 1 },\n transition: { duration: 0.4, ease: \"easeInOut\" },\n children: /* @__PURE__ */ jsx3(Icon1, { className: `w-[16px] h-[16px] transition-colors duration-300 ${isHovered && config.icon1Color ? `${config.icon1Color} fill-current` : isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}` })\n }\n ) }),\n !isMatrix && /* @__PURE__ */ jsx3(motion2.span, { layout: true, className: \"font-medium tracking-tight text-[13px] whitespace-nowrap ml-2.5\", children: config.label })\n ] });\n case \"rotate\":\n return /* @__PURE__ */ jsxs3(Fragment2, { children: [\n /* @__PURE__ */ jsx3(\"div\", { className: \"relative w-[16px] h-[16px] flex items-center justify-center shrink-0\", children: /* @__PURE__ */ jsx3(motion2.div, { animate: { rotate: isHovered ? 180 : 0 }, transition: { type: \"spring\", stiffness: 400, damping: 25 }, children: /* @__PURE__ */ jsx3(Icon1, { className: `w-[16px] h-[16px] ${isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}` }) }) }),\n !isMatrix && /* @__PURE__ */ jsx3(motion2.span, { layout: true, className: \"font-medium tracking-tight text-[13px] whitespace-nowrap ml-2.5\", children: config.label })\n ] });\n case \"shake\":\n return /* @__PURE__ */ jsxs3(Fragment2, { children: [\n /* @__PURE__ */ jsx3(\"div\", { className: \"relative w-[16px] h-[16px] flex items-center justify-center shrink-0\", children: /* @__PURE__ */ jsx3(\n motion2.div,\n {\n animate: {\n y: isHovered ? [0, -2, 0, -2, 0] : 0,\n rotate: isHovered ? [0, -10, 10, -10, 0] : 0\n },\n transition: { duration: 0.4 },\n children: /* @__PURE__ */ jsx3(Icon1, { className: `w-[16px] h-[16px] transition-colors duration-300 ${isHovered && config.icon1Color ? config.icon1Color : isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}` })\n }\n ) }),\n !isMatrix && /* @__PURE__ */ jsx3(motion2.span, { layout: true, className: `font-medium tracking-tight text-[13px] whitespace-nowrap transition-colors duration-300 ml-2.5 ${isHovered && config.icon1Color ? config.icon1Color : isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}`, children: config.label })\n ] });\n case \"ring\":\n return /* @__PURE__ */ jsxs3(Fragment2, { children: [\n /* @__PURE__ */ jsx3(\"div\", { className: \"relative w-[16px] h-[16px] flex items-center justify-center shrink-0\", children: /* @__PURE__ */ jsx3(AnimatePresence2, { mode: \"popLayout\", initial: false, children: !isHovered ? /* @__PURE__ */ jsx3(\n motion2.div,\n {\n initial: { rotate: -15, scale: 0.8, opacity: 0 },\n animate: { rotate: 0, scale: 1, opacity: 1 },\n exit: { rotate: 15, scale: 0.8, opacity: 0 },\n transition: { type: \"spring\", stiffness: 600, damping: 25 },\n className: \"absolute inset-0 flex items-center justify-center\",\n children: /* @__PURE__ */ jsx3(Icon1, { className: `w-[16px] h-[16px] ${isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}` })\n },\n \"icon1\"\n ) : /* @__PURE__ */ jsxs3(\n motion2.div,\n {\n initial: { rotate: -15, scale: 0.8, opacity: 0 },\n animate: { rotate: 0, scale: 1, opacity: 1 },\n exit: { rotate: 15, scale: 0.8, opacity: 0 },\n transition: { type: \"spring\", stiffness: 600, damping: 25 },\n className: \"absolute inset-0 flex items-center justify-center\",\n children: [\n Icon2 && /* @__PURE__ */ jsx3(Icon2, { className: `w-[16px] h-[16px] ${config.icon2Color || (isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\")}` }),\n /* @__PURE__ */ jsx3(\n motion2.div,\n {\n initial: { scale: 0 },\n animate: { scale: 1 },\n transition: { type: \"spring\", stiffness: 600, damping: 15, delay: 0.1 },\n className: \"absolute top-0 right-0 w-1.5 h-1.5 bg-red-500 rounded-full border border-transparent\"\n }\n )\n ]\n },\n \"icon2\"\n ) }) }),\n !isMatrix && /* @__PURE__ */ jsx3(motion2.span, { layout: true, className: \"font-medium tracking-tight text-[13px] whitespace-nowrap ml-2.5\", children: config.label })\n ] });\n case \"glare\":\n return /* @__PURE__ */ jsxs3(Fragment2, { children: [\n /* @__PURE__ */ jsx3(Icon1, { className: `w-[16px] h-[16px] ${!isMatrix ? \"mr-2.5\" : \"\"} ${isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}` }),\n !isMatrix && /* @__PURE__ */ jsx3(\"span\", { className: \"font-medium tracking-tight text-[13px] whitespace-nowrap\", children: config.label }),\n /* @__PURE__ */ jsx3(\n motion2.div,\n {\n animate: { x: isHovered ? [\"-150%\", \"150%\"] : \"-150%\" },\n transition: { duration: 0.85, ease: \"easeInOut\", repeat: isHovered ? Infinity : 0, repeatDelay: 1 },\n className: `absolute top-0 bottom-0 w-[50px] skew-x-[-20deg] pointer-events-none z-10`,\n style: {\n background: isLightTheme ? \"linear-gradient(90deg, transparent, rgba(0,0,0,0.12), transparent)\" : \"linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent)\"\n }\n }\n )\n ] });\n case \"text-reveal\":\n return /* @__PURE__ */ jsxs3(Fragment2, { children: [\n /* @__PURE__ */ jsx3(\"div\", { className: \"relative w-[16px] h-[16px] flex items-center justify-center shrink-0 mr-2.5\", children: /* @__PURE__ */ jsx3(motion2.div, { animate: { rotate: isHovered ? 45 : 0 }, transition: { type: \"spring\", stiffness: 400, damping: 25 }, children: /* @__PURE__ */ jsx3(Icon1, { className: `w-[16px] h-[16px] ${isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}` }) }) }),\n !isMatrix && /* @__PURE__ */ jsx3(\"div\", { className: \"relative h-[18px] overflow-hidden\", children: /* @__PURE__ */ jsxs3(\n motion2.div,\n {\n animate: { y: isHovered ? -18 : 0 },\n transition: { type: \"spring\", stiffness: 400, damping: 25 },\n className: \"flex flex-col\",\n children: [\n /* @__PURE__ */ jsx3(\"span\", { className: `block h-[18px] leading-[18px] font-medium tracking-tight text-[13px] whitespace-nowrap ${isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}`, children: config.label }),\n /* @__PURE__ */ jsx3(\"span\", { className: `block h-[18px] leading-[18px] font-medium tracking-tight text-[13px] whitespace-nowrap ${isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}`, children: config.label })\n ]\n }\n ) })\n ] });\n case \"magnetic\":\n return /* @__PURE__ */ jsxs3(Fragment2, { children: [\n /* @__PURE__ */ jsx3(Icon1, { className: `w-[16px] h-[16px] ${!isMatrix ? \"mr-2.5\" : \"\"} ${isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}` }),\n !isMatrix && /* @__PURE__ */ jsx3(\"span\", { className: \"font-medium tracking-tight text-[13px] whitespace-nowrap\", children: config.label })\n ] });\n case \"expand-ring\":\n return /* @__PURE__ */ jsxs3(Fragment2, { children: [\n /* @__PURE__ */ jsx3(\"div\", { className: \"relative w-[16px] h-[16px] flex items-center justify-center shrink-0\", children: /* @__PURE__ */ jsx3(\n motion2.div,\n {\n animate: { scale: isHovered ? 1.1 : 1 },\n transition: { type: \"spring\", stiffness: 400, damping: 20 },\n children: /* @__PURE__ */ jsx3(Icon1, { className: `w-[16px] h-[16px] ${isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}` })\n }\n ) }),\n !isMatrix && /* @__PURE__ */ jsx3(\"span\", { className: \"font-medium tracking-tight text-[13px] whitespace-nowrap ml-2.5\", children: config.label }),\n /* @__PURE__ */ jsx3(AnimatePresence2, { children: isHovered && /* @__PURE__ */ jsx3(\n motion2.div,\n {\n initial: { opacity: 1, scale: 1 },\n animate: { opacity: 0, scale: 1.15 },\n exit: { opacity: 0 },\n transition: { duration: 0.6, ease: \"easeOut\" },\n className: `absolute inset-0 rounded-[40px] pointer-events-none border ${isLightTheme ? \"border-black/25\" : \"border-white/25\"}`\n },\n \"expand-ring-div\"\n ) })\n ] });\n default:\n return null;\n }\n };\n return /* @__PURE__ */ jsx3(\n motion2.button,\n {\n layout: true,\n transition: { type: \"spring\", stiffness: 500, damping: 25 },\n onMouseEnter: handleMouseEnter,\n onMouseMove: handleMouseMove,\n onMouseLeave: handleMouseLeave,\n onPointerEnter: handleMouseEnter,\n onPointerLeave: handleMouseLeave,\n onPointerMove: handleMouseMove,\n onFocus: handleMouseEnter,\n onBlur: handleMouseLeave,\n onTouchStart: handleTouchStart,\n onTouchEnd: handleTouchEnd,\n animate: {\n paddingLeft: isMatrix ? 0 : isHovered ? 28 : 24,\n paddingRight: isMatrix ? 0 : isHovered ? 28 : 24,\n x: isHovered && config.interactionType === \"magnetic\" ? mouseCoords.x : 0,\n y: isHovered && config.interactionType === \"magnetic\" ? mouseCoords.y : 0,\n backgroundColor: isLightTheme ? hasInteracted && config.id === \"4\" ? \"rgba(0,0,0,0.08)\" : isHovered ? \"rgba(0,0,0,0.06)\" : \"rgba(0,0,0,0.04)\" : hasInteracted && config.id === \"4\" ? \"rgba(255,255,255,0.08)\" : isHovered ? \"rgba(255,255,255,0.06)\" : \"rgba(255,255,255,0.04)\"\n },\n whileHover: { scale: 1.02 },\n whileTap: { scale: 0.96 },\n className: `relative flex items-center justify-center rounded-[40px] border-0 cursor-pointer shadow-none transition-colors duration-150 ${isMatrix ? \"w-[36px] h-[36px] sm:w-[42px] sm:h-[42px] px-0\" : \"h-[36px] min-w-[75px]\"} ${config.interactionType === \"glare\" ? \"overflow-hidden\" : \"\"} ${isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}`,\n children: /* @__PURE__ */ jsx3(motion2.div, { layout: true, transition: { type: \"spring\", stiffness: 500, damping: 25 }, className: `flex items-center justify-center w-full ${isMatrix ? \"scale-100 sm:scale-[1.15] origin-center\" : \"\"}`, children: renderIconContent() })\n }\n );\n});\n\n// src/data/buttons.tsx\nimport {\n ArrowRight,\n Github,\n Star,\n Cloud,\n CloudUpload,\n Copy,\n Check,\n Heart,\n Link,\n Send,\n Play,\n Pause,\n Settings,\n Trash2,\n Bell,\n BellRing,\n Search,\n X,\n Moon,\n Sun,\n Mic,\n MicOff,\n Video,\n VideoOff,\n Volume2,\n VolumeX,\n Lock,\n Unlock,\n Folder,\n FolderOpen,\n Eye,\n EyeOff,\n Bookmark,\n ThumbsUp,\n Download,\n Upload,\n User,\n UserCheck,\n Pen,\n Wifi,\n WifiOff,\n Battery,\n BatteryCharging,\n Maximize,\n Minimize,\n RefreshCw,\n Plus\n} from \"lucide-react\";\nimport { jsx as jsx4 } from \"react/jsx-runtime\";\nvar AppleIcon = (props) => /* @__PURE__ */ jsx4(\"svg\", { viewBox: \"0 0 384 512\", fill: \"currentColor\", ...props, children: /* @__PURE__ */ jsx4(\"path\", { d: \"M318.7 268.7c-.2-36.7 16.4-64.4 50-84.8-18.8-26.9-47.2-41.7-84.7-44.6-35.5-2.8-74.3 20.7-88.5 20.7-15 0-49.4-19.7-76.4-19.7C63.3 141.2 4 184.8 4 273.5q0 39.3 14.4 81.2c12.8 36.7 59 126.7 107.2 125.2 25.2-.6 43-17.9 75.8-17.9 31.8 0 48.3 17.9 76.4 17.9 48.6-.7 90.4-82.5 102.6-119.3-65.2-30.7-61.7-90-61.7-91.9zm-56.6-164.2c27.3-32.4 24.8-61.9 24-72.5-24.1 1.4-52 16.4-67.9 34.9-17.5 19.8-27.8 44.3-25.6 71.9 26.1 2 49.9-11.4 69.5-34.3z\" }) });\nvar buttonsData = [\n { id: \"36\", label: \"Open Run Details\", icon1: ArrowRight, interactionType: \"inset-text\" },\n { id: \"37\", label: \"Create\", icon1: Plus, interactionType: \"circle-create\" },\n { id: \"1\", label: \"Download for Mac\", icon1: AppleIcon, icon2: ArrowRight, interactionType: \"slide-arrow\", hoverBg: \"#0a0a0a\" },\n { id: \"2\", label: \"Star on GitHub\", icon1: Github, icon2: Star, interactionType: \"sparkle\", hoverBg: \"#1f1f1f\", icon2Color: \"text-yellow-400\" },\n { id: \"3\", label: \"Deploy App\", icon1: Cloud, icon2: CloudUpload, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-blue-400\" },\n { id: \"4\", label: \"Copy Hash\", icon1: Copy, icon2: Check, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-emerald-400\" },\n { id: \"5\", label: \"Sponsor\", icon1: Heart, interactionType: \"pulse\", hoverBg: \"#1f1f1f\", icon1Color: \"text-pink-500\" },\n { id: \"6\", label: \"Share\", icon1: Link, icon2: Send, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-blue-400\" },\n { id: \"7\", label: \"Preview\", icon1: Play, icon2: Pause, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-green-400\" },\n { id: \"8\", label: \"Settings\", icon1: Settings, interactionType: \"rotate\", hoverBg: \"#1f1f1f\" },\n { id: \"9\", label: \"Delete\", icon1: Trash2, interactionType: \"shake\", hoverBg: \"#1f1f1f\", icon1Color: \"text-red-400\" },\n { id: \"10\", label: \"Subscribe\", icon1: Bell, icon2: BellRing, interactionType: \"ring\", hoverBg: \"#1f1f1f\", icon2Color: \"text-orange-400\" },\n { id: \"11\", label: \"Search\", icon1: Search, icon2: X, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-white\" },\n { id: \"12\", label: \"Theme\", icon1: Moon, icon2: Sun, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-yellow-400\" },\n { id: \"13\", label: \"Microphone\", icon1: Mic, icon2: MicOff, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-red-400\" },\n { id: \"14\", label: \"Camera\", icon1: Video, icon2: VideoOff, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-red-400\" },\n { id: \"15\", label: \"Volume\", icon1: Volume2, icon2: VolumeX, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-neutral-500\" },\n { id: \"16\", label: \"Lock\", icon1: Lock, icon2: Unlock, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-emerald-400\" },\n { id: \"17\", label: \"Directory\", icon1: Folder, icon2: FolderOpen, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-blue-400\" },\n { id: \"18\", label: \"Visibility\", icon1: Eye, icon2: EyeOff, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-neutral-500\" },\n { id: \"19\", label: \"Save Later\", icon1: Bookmark, icon2: Bookmark, interactionType: \"color-morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-blue-400 fill-blue-400\" },\n { id: \"20\", label: \"Like\", icon1: ThumbsUp, icon2: ThumbsUp, interactionType: \"color-morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-blue-500 fill-blue-500\" },\n { id: \"21\", label: \"Download\", icon1: Download, icon2: Check, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-emerald-400\" },\n { id: \"22\", label: \"Upload\", icon1: Upload, icon2: Check, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-blue-400\" },\n { id: \"23\", label: \"Account\", icon1: User, icon2: UserCheck, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-emerald-400\" },\n { id: \"24\", label: \"Submit\", icon1: Send, icon2: Check, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-emerald-400\" },\n { id: \"25\", label: \"Edit\", icon1: Pen, icon2: Check, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-emerald-400\" },\n { id: \"26\", label: \"Network\", icon1: Wifi, icon2: WifiOff, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-red-400\" },\n { id: \"27\", label: \"Power\", icon1: Battery, icon2: BatteryCharging, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-emerald-400\" },\n { id: \"28\", label: \"Expand\", icon1: Maximize, icon2: Minimize, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-white\" },\n { id: \"29\", label: \"Reload\", icon1: RefreshCw, interactionType: \"rotate\", hoverBg: \"#1f1f1f\" },\n { id: \"30\", label: \"Favorite\", icon1: Star, icon2: Star, interactionType: \"color-morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-yellow-400 fill-yellow-400\" },\n { id: \"31\", label: \"Glare Shine\", icon1: Star, interactionType: \"glare\", hoverBg: \"#1f1f1f\" },\n { id: \"32\", label: \"Text Reveal\", icon1: ArrowRight, interactionType: \"text-reveal\", hoverBg: \"#1f1f1f\" },\n { id: \"33\", label: \"Magnetic Field\", icon1: Github, interactionType: \"magnetic\", hoverBg: \"#1f1f1f\" },\n { id: \"34\", label: \"Expand Ring\", icon1: Link, interactionType: \"expand-ring\", hoverBg: \"#1f1f1f\" },\n { id: \"35\", label: \"Focus Blur Links\", icon1: Link, interactionType: \"focus-blur\", hoverBg: \"#1f1f1f\" }\n];\n\n// 23.tsx\nimport { jsx as jsx5 } from \"react/jsx-runtime\";\nfunction Demo() {\n const config = buttonsData.find((button) => button.id === \"23\");\n if (!config) return null;\n return /* @__PURE__ */ jsx5(AnimatedButton, { config, layoutMode: \"grid\", theme: \"dark\" });\n}\nexport {\n Demo as default\n};\n",
5
+ "dependencies": [
6
+ "lucide-react",
7
+ "motion"
8
+ ],
9
+ "css": "",
10
+ "usage": "import MovaComponent from './23';\n\nexport default function Demo() {\n return <MovaComponent />;\n}",
11
+ "exports": [
12
+ "default"
13
+ ]
14
+ }
@@ -0,0 +1,14 @@
1
+ {
2
+ "id": "24",
3
+ "file": "24.tsx",
4
+ "content": "// @ts-nocheck -- Generated JavaScript bundle; edit the maintained catalog source to retain TypeScript types.\n\"use client\";\n// Mova catalog component. See LICENSE.mova and LICENSE.third-party.\n// src/components/AnimatedButton.tsx\nimport React2, { useState as useState2 } from \"react\";\nimport { AnimatePresence as AnimatePresence2, motion as motion2 } from \"motion/react\";\n\n// src/components/cards/FocusBlur.tsx\nimport { useState } from \"react\";\nimport { motion, AnimatePresence } from \"motion/react\";\nimport { jsx, jsxs } from \"react/jsx-runtime\";\nfunction FocusBlur({\n items = [\n { label: \"@Twitter\", href: \"#\" },\n { label: \"@Threads\", href: \"#\" },\n { label: \"@Instagram\", href: \"#\" },\n { label: \"@GitHub\", href: \"#\" }\n ],\n blurAmount = 4,\n opacityAmount = 0.4,\n showBrackets = true,\n className = \"\"\n}) {\n const [hoveredIndex, setHoveredIndex] = useState(null);\n return /* @__PURE__ */ jsx(\"div\", { className: `flex flex-wrap justify-center items-center gap-6 py-6 px-10 cursor-default ${className}`, children: items.map((item, index) => {\n const isHovered = hoveredIndex === index;\n const isAnyHovered = hoveredIndex !== null;\n const isInactive = isAnyHovered && !isHovered;\n return /* @__PURE__ */ jsxs(\n \"a\",\n {\n href: item.href || \"#\",\n onMouseEnter: () => setHoveredIndex(index),\n onMouseLeave: () => setHoveredIndex(null),\n className: \"relative font-semibold text-lg sm:text-2xl no-underline transition-all duration-300 select-none outline-none\",\n style: {\n filter: isInactive ? `blur(${blurAmount}px)` : \"none\",\n opacity: isInactive ? opacityAmount : 1,\n color: isHovered ? \"var(--color-blue-500, #3b82f6)\" : \"inherit\"\n },\n children: [\n /* @__PURE__ */ jsx(\"span\", { className: \"relative z-10\", children: item.label }),\n showBrackets && /* @__PURE__ */ jsx(AnimatePresence, { children: isHovered && /* @__PURE__ */ jsx(\n motion.div,\n {\n initial: { opacity: 0, scale: 1.3 },\n animate: { opacity: 1, scale: 1.1 },\n exit: { opacity: 0, scale: 1.3 },\n transition: { type: \"spring\", stiffness: 350, damping: 20 },\n className: \"absolute inset-0 border-2 border-dashed border-neutral-300 dark:border-neutral-700 rounded-lg pointer-events-none z-0\",\n style: { margin: \"-4px -8px\" }\n }\n ) })\n ]\n },\n index\n );\n }) });\n}\n\n// registry/ui/hover/inset-button.tsx\nimport { Fragment, jsx as jsx2, jsxs as jsxs2 } from \"react/jsx-runtime\";\nvar insetButtonStyles = `\n.mova-inset-button {\n --surface-elevated: oklch(0.996 0.001 95);\n --surface-shell: oklch(0.963 0.003 95);\n --ink-strong: oklch(0.205 0.004 95);\n --ink-base: oklch(0.315 0.004 92);\n --border-soft: oklch(0.9 0.003 95);\n --border-base: oklch(0.84 0.004 95);\n --sidebar: color-mix(in oklab, var(--surface-shell) 94%, white);\n --sidebar-foreground: var(--ink-base);\n --sidebar-border: color-mix(in oklab, var(--border-soft) 92%, white);\n --control-hover-core: var(--surface-elevated);\n --control-hover-core-shadow: inset 0 1px 0 color-mix(in oklab, white 14%, transparent), 0 2px 7px color-mix(in oklab, var(--ink-strong) 12%, transparent), 0 0 0 1px color-mix(in oklab, var(--border-soft) 52%, transparent);\n position: relative; isolation: isolate; display: inline-flex;\n align-items: center; justify-content: center; flex-shrink: 0;\n box-sizing: border-box; height: 2.5rem; padding: 0 .95rem;\n border: 1px solid var(--border-base); border-radius: 999px;\n background: var(--surface-elevated); color: var(--ink-strong);\n font: inherit; font-size: .875rem; font-weight: 500; line-height: 1.25rem;\n white-space: nowrap; cursor: pointer; outline: none;\n transition-property: color, background-color, border-color, box-shadow, opacity, transform, scale;\n transition-duration: 150ms; transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);\n}\n.mova-inset-button[data-theme=\"dark\"] {\n --surface-elevated: oklch(0.282 0.004 95);\n --surface-shell: oklch(0.225 0.003 95);\n --ink-strong: oklch(0.955 0.001 95);\n --ink-base: oklch(0.88 0.002 95);\n --border-soft: oklch(0.35 0.004 95);\n --border-base: oklch(0.44 0.004 95);\n --sidebar: color-mix(in oklab, var(--surface-shell) 96%, black);\n --sidebar-border: color-mix(in oklab, var(--border-soft) 94%, black);\n --control-hover-core: color-mix(in oklab, var(--surface-elevated) 84%, white);\n --control-hover-core-shadow: inset 0 1px 0 color-mix(in oklab, white 9%, transparent);\n}\n.mova-inset-button::before {\n content: \"\"; position: absolute; z-index: -1; inset: 4px; border-radius: inherit;\n background: var(--control-hover-core); box-shadow: var(--control-hover-core-shadow);\n backdrop-filter: blur(16px) saturate(118%); opacity: 0; pointer-events: none;\n transform: scale(0.82);\n transition: opacity 160ms ease, transform 190ms cubic-bezier(0.2, 0.8, 0.2, 1);\n}\n.mova-inset-button:is(:hover, :focus-visible, :active, [data-state=\"open\"]):not(:disabled):not([aria-disabled=\"true\"])::before { opacity: 1; transform: scale(1); }\n.mova-inset-button:active:not(:disabled):not([aria-disabled=\"true\"])::before { transform: scale(0.95); }\n.mova-inset-button[data-theme=\"light\"][data-variant=\"text\"]::before { content: none; }\n.mova-inset-button[data-theme=\"light\"][data-variant=\"text\"]:is(:hover, :focus-visible, [data-state=\"open\"]):not(:disabled):not([aria-disabled=\"true\"]) { background: color-mix(in oklab, var(--surface-elevated) 94%, black); }\n.mova-inset-button[data-theme=\"light\"][data-variant=\"text\"]:is(:active, [data-state=\"open\"]):not(:disabled):not([aria-disabled=\"true\"]) { background: color-mix(in oklab, var(--surface-elevated) 89%, black); }\n.mova-inset-button:focus-visible { outline: 3px solid color-mix(in oklab, var(--ink-base) 25%, transparent); outline-offset: 1px; }\n.mova-inset-button[data-variant=\"create\"] {\n width: 36px; height: 36px; padding: 0; overflow: hidden; backdrop-filter: blur(22px);\n --control-hover-core: color-mix(in oklab, white 88%, transparent);\n --control-hover-core-shadow: 0 2px 6px color-mix(in oklab, var(--sidebar-foreground) 12%, transparent), 0 0 0 1px color-mix(in oklab, var(--sidebar-foreground) 4%, transparent);\n border-color: color-mix(in oklab, var(--sidebar-border) 76%, white);\n background: color-mix(in oklab, var(--sidebar-foreground) 8%, var(--sidebar));\n color: color-mix(in oklab, var(--sidebar-foreground) 88%, var(--sidebar));\n box-shadow: 0 6px 18px -16px rgb(15 23 42 / 0.55);\n}\n.mova-inset-button[data-theme=\"dark\"][data-variant=\"create\"] {\n --control-hover-core: color-mix(in oklab, var(--sidebar-foreground) 20%, var(--sidebar));\n --control-hover-core-shadow: inset 0 1px 0 color-mix(in oklab, white 10%, transparent);\n border-color: color-mix(in oklab, var(--sidebar-border) 78%, white 22%);\n background: color-mix(in oklab, var(--sidebar) 90%, white 10%);\n color: color-mix(in oklab, var(--sidebar-foreground) 88%, white 12%);\n box-shadow: 0 7px 18px -16px rgb(0 0 0 / 0.72);\n}\n.mova-inset-button:disabled, .mova-inset-button[aria-disabled=\"true\"] { pointer-events: none; opacity: .5; }\n@media (prefers-reduced-motion: reduce) {\n .mova-inset-button { transition: none !important; }\n .mova-inset-button::before { transform: scale(1) !important; transition: none !important; }\n}\n`;\nfunction InsetButton({ variant = \"text\", theme = \"dark\", children, className = \"\", type = \"button\", ...props }) {\n return /* @__PURE__ */ jsxs2(Fragment, { children: [\n /* @__PURE__ */ jsx2(\"style\", { children: insetButtonStyles }),\n /* @__PURE__ */ jsx2(\n \"button\",\n {\n type,\n \"aria-label\": variant === \"create\" ? \"Create\" : void 0,\n ...props,\n \"data-theme\": theme,\n \"data-variant\": variant,\n className: `mova-inset-button ${className}`,\n children: variant === \"create\" ? /* @__PURE__ */ jsx2(\"svg\", { width: \"16\", height: \"16\", viewBox: \"0 0 24 24\", fill: \"none\", stroke: \"currentColor\", strokeWidth: \"2\", strokeLinecap: \"round\", strokeLinejoin: \"round\", \"aria-hidden\": \"true\", children: /* @__PURE__ */ jsx2(\"path\", { d: \"M12 5v14M5 12h14\" }) }) : children\n }\n )\n ] });\n}\n\n// src/components/AnimatedButton.tsx\nimport { Fragment as Fragment2, jsx as jsx3, jsxs as jsxs3 } from \"react/jsx-runtime\";\nvar AnimatedButton = React2.memo(function AnimatedButton2({ config, layoutMode, theme = \"dark\" }) {\n const [isHovered, setIsHovered] = useState2(false);\n const [hasInteracted, setHasInteracted] = useState2(false);\n const [mouseCoords, setMouseCoords] = useState2({ x: 0, y: 0 });\n if (config.interactionType === \"inset-text\" || config.interactionType === \"circle-create\") {\n return /* @__PURE__ */ jsx3(\n InsetButton,\n {\n theme,\n variant: config.interactionType === \"circle-create\" ? \"create\" : \"text\",\n \"aria-label\": config.label,\n style: layoutMode === \"matrix\" && config.interactionType === \"inset-text\" ? { zoom: 0.55 } : void 0,\n children: config.label\n }\n );\n }\n if (config.interactionType === \"focus-blur\") {\n return /* @__PURE__ */ jsx3(\n FocusBlur,\n {\n items: [\n { label: \"@X\", href: \"#\" },\n { label: \"@Threads\", href: \"#\" },\n { label: \"@GitHub\", href: \"#\" }\n ],\n showBrackets: true,\n className: layoutMode === \"matrix\" ? \"scale-[0.5] origin-center text-[10px] gap-1 px-1 py-1\" : \"text-sm gap-4\"\n }\n );\n }\n const Icon1 = config.icon1;\n const Icon2 = config.icon2;\n const isMatrix = layoutMode === \"matrix\";\n const isLightTheme = theme === \"light\";\n const handleMouseEnter = () => {\n setIsHovered(true);\n if (config.interactionType === \"morph\" && (config.id === \"4\" || config.id === \"21\" || config.id === \"22\" || config.id === \"24\" || config.id === \"25\")) {\n setHasInteracted(true);\n }\n };\n const handleMouseMove = (e) => {\n if (config.interactionType === \"magnetic\") {\n const rect = e.currentTarget.getBoundingClientRect();\n const x = e.clientX - rect.left - rect.width / 2;\n const y = e.clientY - rect.top - rect.height / 2;\n setMouseCoords({ x: x * 0.35, y: y * 0.35 });\n }\n };\n const handleMouseLeave = () => {\n setIsHovered(false);\n if (config.interactionType === \"magnetic\") {\n setMouseCoords({ x: 0, y: 0 });\n }\n if (hasInteracted) {\n setTimeout(() => setHasInteracted(false), 500);\n }\n };\n const handleTouchStart = () => {\n setIsHovered(true);\n if (config.interactionType === \"morph\" && (config.id === \"4\" || config.id === \"21\" || config.id === \"22\" || config.id === \"24\" || config.id === \"25\")) {\n setHasInteracted(true);\n }\n };\n const handleTouchEnd = () => {\n setTimeout(() => {\n setIsHovered(false);\n if (hasInteracted) {\n setTimeout(() => setHasInteracted(false), 500);\n }\n }, 500);\n };\n const showIcon2 = hasInteracted || isHovered;\n const renderIconContent = () => {\n switch (config.interactionType) {\n case \"slide-arrow\":\n return /* @__PURE__ */ jsxs3(Fragment2, { children: [\n /* @__PURE__ */ jsx3(AnimatePresence2, { mode: \"popLayout\", children: !isHovered && /* @__PURE__ */ jsx3(\n motion2.div,\n {\n layout: true,\n initial: { opacity: 0, x: -10 },\n animate: { opacity: 1, x: 0 },\n exit: { opacity: 0, x: -10 },\n transition: { type: \"spring\", stiffness: 600, damping: 25 },\n className: `flex items-center shrink-0 ${!isMatrix ? \"mr-2.5\" : \"\"}`,\n children: /* @__PURE__ */ jsx3(Icon1, { className: `w-[16px] h-[16px] ${isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}` })\n },\n \"icon1\"\n ) }),\n !isMatrix && /* @__PURE__ */ jsx3(motion2.span, { layout: true, className: \"font-medium tracking-tight text-[13px] whitespace-nowrap\", children: config.label }),\n /* @__PURE__ */ jsx3(AnimatePresence2, { mode: \"popLayout\", children: isHovered && /* @__PURE__ */ jsx3(\n motion2.div,\n {\n layout: true,\n initial: { opacity: 0, x: 10 },\n animate: { opacity: 1, x: 0 },\n exit: { opacity: 0, x: 10 },\n transition: { type: \"spring\", stiffness: 600, damping: 25 },\n className: `flex items-center shrink-0 ${!isMatrix ? \"ml-2.5\" : \"\"}`,\n children: Icon2 && /* @__PURE__ */ jsx3(Icon2, { className: `w-[16px] h-[16px] ${isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}` })\n },\n \"icon2\"\n ) })\n ] });\n case \"sparkle\":\n return /* @__PURE__ */ jsxs3(Fragment2, { children: [\n /* @__PURE__ */ jsx3(\"div\", { className: \"relative w-[16px] h-[16px] flex items-center justify-center shrink-0\", children: /* @__PURE__ */ jsx3(AnimatePresence2, { mode: \"popLayout\", initial: false, children: !isHovered ? /* @__PURE__ */ jsx3(\n motion2.div,\n {\n initial: { y: -15, opacity: 0, scale: 0.8 },\n animate: { y: 0, opacity: 1, scale: 1 },\n exit: { y: -15, opacity: 0, scale: 0.8 },\n transition: { type: \"spring\", stiffness: 600, damping: 25 },\n className: \"absolute inset-0 flex items-center justify-center\",\n children: /* @__PURE__ */ jsx3(Icon1, { className: `w-[16px] h-[16px] ${isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}` })\n },\n \"icon1\"\n ) : /* @__PURE__ */ jsxs3(\n motion2.div,\n {\n initial: { y: 15, opacity: 0, scale: 0.8 },\n animate: { y: 0, opacity: 1, scale: 1 },\n exit: { y: 15, opacity: 0, scale: 0.8 },\n transition: { type: \"spring\", stiffness: 600, damping: 25 },\n className: \"absolute inset-0 flex items-center justify-center\",\n children: [\n Icon2 && /* @__PURE__ */ jsx3(Icon2, { className: `w-[16px] h-[16px] ${config.icon2Color || (isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\")}` }),\n /* @__PURE__ */ jsx3(\n motion2.div,\n {\n initial: { opacity: 0, scale: 0, rotate: -45, y: 10 },\n animate: { opacity: 1, scale: 1, rotate: 0, y: 0 },\n exit: { opacity: 0, scale: 0, rotate: 45, y: 10 },\n transition: { type: \"spring\", stiffness: 600, damping: 25, delay: 0.05 },\n className: \"absolute -top-3 -right-2\",\n children: /* @__PURE__ */ jsx3(\"svg\", { className: \"w-2.5 h-2.5 text-yellow-200\", viewBox: \"0 0 24 24\", fill: \"currentColor\", children: /* @__PURE__ */ jsx3(\"path\", { d: \"M12 2l2.4 7.6H22l-6.2 4.5 2.4 7.6-6.2-4.5-6.2 4.5 2.4-7.6L2 9.6h7.6z\" }) })\n }\n ),\n /* @__PURE__ */ jsx3(\n motion2.div,\n {\n initial: { opacity: 0, scale: 0, rotate: 45, x: 10 },\n animate: { opacity: 1, scale: 1, rotate: 0, x: 0 },\n exit: { opacity: 0, scale: 0, rotate: -45, x: 10 },\n transition: { type: \"spring\", stiffness: 600, damping: 25, delay: 0.1 },\n className: \"absolute -top-1 -left-3\",\n children: /* @__PURE__ */ jsx3(\"svg\", { className: \"w-1.5 h-1.5 text-yellow-400\", viewBox: \"0 0 24 24\", fill: \"currentColor\", children: /* @__PURE__ */ jsx3(\"path\", { d: \"M12 2l2.4 7.6H22l-6.2 4.5 2.4 7.6-6.2-4.5-6.2 4.5 2.4-7.6L2 9.6h7.6z\" }) })\n }\n )\n ]\n },\n \"icon2\"\n ) }) }),\n !isMatrix && /* @__PURE__ */ jsx3(motion2.span, { layout: true, className: \"font-medium tracking-tight text-[13px] whitespace-nowrap ml-2.5\", children: config.label })\n ] });\n case \"morph\":\n case \"color-morph\":\n return /* @__PURE__ */ jsxs3(Fragment2, { children: [\n /* @__PURE__ */ jsx3(\"div\", { className: \"relative w-[16px] h-[16px] flex items-center justify-center shrink-0\", children: /* @__PURE__ */ jsx3(AnimatePresence2, { mode: \"popLayout\", initial: false, children: !showIcon2 ? /* @__PURE__ */ jsx3(\n motion2.div,\n {\n initial: { scale: 0.5, opacity: 0 },\n animate: { scale: 1, opacity: 1 },\n exit: { scale: 0.5, opacity: 0 },\n transition: { type: \"spring\", stiffness: 600, damping: 25 },\n className: \"absolute inset-0 flex items-center justify-center\",\n children: /* @__PURE__ */ jsx3(Icon1, { className: `w-[16px] h-[16px] ${isHovered && config.icon1Color ? config.icon1Color : isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}` })\n },\n \"icon1\"\n ) : /* @__PURE__ */ jsx3(\n motion2.div,\n {\n initial: { scale: 0.5, opacity: 0 },\n animate: { scale: 1, opacity: 1 },\n exit: { scale: 0.5, opacity: 0 },\n transition: { type: \"spring\", stiffness: 600, damping: 25 },\n className: \"absolute inset-0 flex items-center justify-center\",\n children: Icon2 && /* @__PURE__ */ jsx3(Icon2, { className: `w-[16px] h-[16px] ${config.icon2Color || (isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\")}` })\n },\n \"icon2\"\n ) }) }),\n !isMatrix && /* @__PURE__ */ jsx3(motion2.span, { layout: true, className: \"font-medium tracking-tight text-[13px] whitespace-nowrap ml-2.5\", children: config.id === \"4\" && showIcon2 ? \"Copied\" : config.label })\n ] });\n case \"pulse\":\n return /* @__PURE__ */ jsxs3(Fragment2, { children: [\n /* @__PURE__ */ jsx3(\"div\", { className: \"relative w-[16px] h-[16px] flex items-center justify-center shrink-0\", children: /* @__PURE__ */ jsx3(\n motion2.div,\n {\n animate: { scale: isHovered ? [1, 1.25, 1] : 1 },\n transition: { duration: 0.4, ease: \"easeInOut\" },\n children: /* @__PURE__ */ jsx3(Icon1, { className: `w-[16px] h-[16px] transition-colors duration-300 ${isHovered && config.icon1Color ? `${config.icon1Color} fill-current` : isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}` })\n }\n ) }),\n !isMatrix && /* @__PURE__ */ jsx3(motion2.span, { layout: true, className: \"font-medium tracking-tight text-[13px] whitespace-nowrap ml-2.5\", children: config.label })\n ] });\n case \"rotate\":\n return /* @__PURE__ */ jsxs3(Fragment2, { children: [\n /* @__PURE__ */ jsx3(\"div\", { className: \"relative w-[16px] h-[16px] flex items-center justify-center shrink-0\", children: /* @__PURE__ */ jsx3(motion2.div, { animate: { rotate: isHovered ? 180 : 0 }, transition: { type: \"spring\", stiffness: 400, damping: 25 }, children: /* @__PURE__ */ jsx3(Icon1, { className: `w-[16px] h-[16px] ${isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}` }) }) }),\n !isMatrix && /* @__PURE__ */ jsx3(motion2.span, { layout: true, className: \"font-medium tracking-tight text-[13px] whitespace-nowrap ml-2.5\", children: config.label })\n ] });\n case \"shake\":\n return /* @__PURE__ */ jsxs3(Fragment2, { children: [\n /* @__PURE__ */ jsx3(\"div\", { className: \"relative w-[16px] h-[16px] flex items-center justify-center shrink-0\", children: /* @__PURE__ */ jsx3(\n motion2.div,\n {\n animate: {\n y: isHovered ? [0, -2, 0, -2, 0] : 0,\n rotate: isHovered ? [0, -10, 10, -10, 0] : 0\n },\n transition: { duration: 0.4 },\n children: /* @__PURE__ */ jsx3(Icon1, { className: `w-[16px] h-[16px] transition-colors duration-300 ${isHovered && config.icon1Color ? config.icon1Color : isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}` })\n }\n ) }),\n !isMatrix && /* @__PURE__ */ jsx3(motion2.span, { layout: true, className: `font-medium tracking-tight text-[13px] whitespace-nowrap transition-colors duration-300 ml-2.5 ${isHovered && config.icon1Color ? config.icon1Color : isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}`, children: config.label })\n ] });\n case \"ring\":\n return /* @__PURE__ */ jsxs3(Fragment2, { children: [\n /* @__PURE__ */ jsx3(\"div\", { className: \"relative w-[16px] h-[16px] flex items-center justify-center shrink-0\", children: /* @__PURE__ */ jsx3(AnimatePresence2, { mode: \"popLayout\", initial: false, children: !isHovered ? /* @__PURE__ */ jsx3(\n motion2.div,\n {\n initial: { rotate: -15, scale: 0.8, opacity: 0 },\n animate: { rotate: 0, scale: 1, opacity: 1 },\n exit: { rotate: 15, scale: 0.8, opacity: 0 },\n transition: { type: \"spring\", stiffness: 600, damping: 25 },\n className: \"absolute inset-0 flex items-center justify-center\",\n children: /* @__PURE__ */ jsx3(Icon1, { className: `w-[16px] h-[16px] ${isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}` })\n },\n \"icon1\"\n ) : /* @__PURE__ */ jsxs3(\n motion2.div,\n {\n initial: { rotate: -15, scale: 0.8, opacity: 0 },\n animate: { rotate: 0, scale: 1, opacity: 1 },\n exit: { rotate: 15, scale: 0.8, opacity: 0 },\n transition: { type: \"spring\", stiffness: 600, damping: 25 },\n className: \"absolute inset-0 flex items-center justify-center\",\n children: [\n Icon2 && /* @__PURE__ */ jsx3(Icon2, { className: `w-[16px] h-[16px] ${config.icon2Color || (isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\")}` }),\n /* @__PURE__ */ jsx3(\n motion2.div,\n {\n initial: { scale: 0 },\n animate: { scale: 1 },\n transition: { type: \"spring\", stiffness: 600, damping: 15, delay: 0.1 },\n className: \"absolute top-0 right-0 w-1.5 h-1.5 bg-red-500 rounded-full border border-transparent\"\n }\n )\n ]\n },\n \"icon2\"\n ) }) }),\n !isMatrix && /* @__PURE__ */ jsx3(motion2.span, { layout: true, className: \"font-medium tracking-tight text-[13px] whitespace-nowrap ml-2.5\", children: config.label })\n ] });\n case \"glare\":\n return /* @__PURE__ */ jsxs3(Fragment2, { children: [\n /* @__PURE__ */ jsx3(Icon1, { className: `w-[16px] h-[16px] ${!isMatrix ? \"mr-2.5\" : \"\"} ${isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}` }),\n !isMatrix && /* @__PURE__ */ jsx3(\"span\", { className: \"font-medium tracking-tight text-[13px] whitespace-nowrap\", children: config.label }),\n /* @__PURE__ */ jsx3(\n motion2.div,\n {\n animate: { x: isHovered ? [\"-150%\", \"150%\"] : \"-150%\" },\n transition: { duration: 0.85, ease: \"easeInOut\", repeat: isHovered ? Infinity : 0, repeatDelay: 1 },\n className: `absolute top-0 bottom-0 w-[50px] skew-x-[-20deg] pointer-events-none z-10`,\n style: {\n background: isLightTheme ? \"linear-gradient(90deg, transparent, rgba(0,0,0,0.12), transparent)\" : \"linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent)\"\n }\n }\n )\n ] });\n case \"text-reveal\":\n return /* @__PURE__ */ jsxs3(Fragment2, { children: [\n /* @__PURE__ */ jsx3(\"div\", { className: \"relative w-[16px] h-[16px] flex items-center justify-center shrink-0 mr-2.5\", children: /* @__PURE__ */ jsx3(motion2.div, { animate: { rotate: isHovered ? 45 : 0 }, transition: { type: \"spring\", stiffness: 400, damping: 25 }, children: /* @__PURE__ */ jsx3(Icon1, { className: `w-[16px] h-[16px] ${isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}` }) }) }),\n !isMatrix && /* @__PURE__ */ jsx3(\"div\", { className: \"relative h-[18px] overflow-hidden\", children: /* @__PURE__ */ jsxs3(\n motion2.div,\n {\n animate: { y: isHovered ? -18 : 0 },\n transition: { type: \"spring\", stiffness: 400, damping: 25 },\n className: \"flex flex-col\",\n children: [\n /* @__PURE__ */ jsx3(\"span\", { className: `block h-[18px] leading-[18px] font-medium tracking-tight text-[13px] whitespace-nowrap ${isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}`, children: config.label }),\n /* @__PURE__ */ jsx3(\"span\", { className: `block h-[18px] leading-[18px] font-medium tracking-tight text-[13px] whitespace-nowrap ${isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}`, children: config.label })\n ]\n }\n ) })\n ] });\n case \"magnetic\":\n return /* @__PURE__ */ jsxs3(Fragment2, { children: [\n /* @__PURE__ */ jsx3(Icon1, { className: `w-[16px] h-[16px] ${!isMatrix ? \"mr-2.5\" : \"\"} ${isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}` }),\n !isMatrix && /* @__PURE__ */ jsx3(\"span\", { className: \"font-medium tracking-tight text-[13px] whitespace-nowrap\", children: config.label })\n ] });\n case \"expand-ring\":\n return /* @__PURE__ */ jsxs3(Fragment2, { children: [\n /* @__PURE__ */ jsx3(\"div\", { className: \"relative w-[16px] h-[16px] flex items-center justify-center shrink-0\", children: /* @__PURE__ */ jsx3(\n motion2.div,\n {\n animate: { scale: isHovered ? 1.1 : 1 },\n transition: { type: \"spring\", stiffness: 400, damping: 20 },\n children: /* @__PURE__ */ jsx3(Icon1, { className: `w-[16px] h-[16px] ${isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}` })\n }\n ) }),\n !isMatrix && /* @__PURE__ */ jsx3(\"span\", { className: \"font-medium tracking-tight text-[13px] whitespace-nowrap ml-2.5\", children: config.label }),\n /* @__PURE__ */ jsx3(AnimatePresence2, { children: isHovered && /* @__PURE__ */ jsx3(\n motion2.div,\n {\n initial: { opacity: 1, scale: 1 },\n animate: { opacity: 0, scale: 1.15 },\n exit: { opacity: 0 },\n transition: { duration: 0.6, ease: \"easeOut\" },\n className: `absolute inset-0 rounded-[40px] pointer-events-none border ${isLightTheme ? \"border-black/25\" : \"border-white/25\"}`\n },\n \"expand-ring-div\"\n ) })\n ] });\n default:\n return null;\n }\n };\n return /* @__PURE__ */ jsx3(\n motion2.button,\n {\n layout: true,\n transition: { type: \"spring\", stiffness: 500, damping: 25 },\n onMouseEnter: handleMouseEnter,\n onMouseMove: handleMouseMove,\n onMouseLeave: handleMouseLeave,\n onPointerEnter: handleMouseEnter,\n onPointerLeave: handleMouseLeave,\n onPointerMove: handleMouseMove,\n onFocus: handleMouseEnter,\n onBlur: handleMouseLeave,\n onTouchStart: handleTouchStart,\n onTouchEnd: handleTouchEnd,\n animate: {\n paddingLeft: isMatrix ? 0 : isHovered ? 28 : 24,\n paddingRight: isMatrix ? 0 : isHovered ? 28 : 24,\n x: isHovered && config.interactionType === \"magnetic\" ? mouseCoords.x : 0,\n y: isHovered && config.interactionType === \"magnetic\" ? mouseCoords.y : 0,\n backgroundColor: isLightTheme ? hasInteracted && config.id === \"4\" ? \"rgba(0,0,0,0.08)\" : isHovered ? \"rgba(0,0,0,0.06)\" : \"rgba(0,0,0,0.04)\" : hasInteracted && config.id === \"4\" ? \"rgba(255,255,255,0.08)\" : isHovered ? \"rgba(255,255,255,0.06)\" : \"rgba(255,255,255,0.04)\"\n },\n whileHover: { scale: 1.02 },\n whileTap: { scale: 0.96 },\n className: `relative flex items-center justify-center rounded-[40px] border-0 cursor-pointer shadow-none transition-colors duration-150 ${isMatrix ? \"w-[36px] h-[36px] sm:w-[42px] sm:h-[42px] px-0\" : \"h-[36px] min-w-[75px]\"} ${config.interactionType === \"glare\" ? \"overflow-hidden\" : \"\"} ${isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}`,\n children: /* @__PURE__ */ jsx3(motion2.div, { layout: true, transition: { type: \"spring\", stiffness: 500, damping: 25 }, className: `flex items-center justify-center w-full ${isMatrix ? \"scale-100 sm:scale-[1.15] origin-center\" : \"\"}`, children: renderIconContent() })\n }\n );\n});\n\n// src/data/buttons.tsx\nimport {\n ArrowRight,\n Github,\n Star,\n Cloud,\n CloudUpload,\n Copy,\n Check,\n Heart,\n Link,\n Send,\n Play,\n Pause,\n Settings,\n Trash2,\n Bell,\n BellRing,\n Search,\n X,\n Moon,\n Sun,\n Mic,\n MicOff,\n Video,\n VideoOff,\n Volume2,\n VolumeX,\n Lock,\n Unlock,\n Folder,\n FolderOpen,\n Eye,\n EyeOff,\n Bookmark,\n ThumbsUp,\n Download,\n Upload,\n User,\n UserCheck,\n Pen,\n Wifi,\n WifiOff,\n Battery,\n BatteryCharging,\n Maximize,\n Minimize,\n RefreshCw,\n Plus\n} from \"lucide-react\";\nimport { jsx as jsx4 } from \"react/jsx-runtime\";\nvar AppleIcon = (props) => /* @__PURE__ */ jsx4(\"svg\", { viewBox: \"0 0 384 512\", fill: \"currentColor\", ...props, children: /* @__PURE__ */ jsx4(\"path\", { d: \"M318.7 268.7c-.2-36.7 16.4-64.4 50-84.8-18.8-26.9-47.2-41.7-84.7-44.6-35.5-2.8-74.3 20.7-88.5 20.7-15 0-49.4-19.7-76.4-19.7C63.3 141.2 4 184.8 4 273.5q0 39.3 14.4 81.2c12.8 36.7 59 126.7 107.2 125.2 25.2-.6 43-17.9 75.8-17.9 31.8 0 48.3 17.9 76.4 17.9 48.6-.7 90.4-82.5 102.6-119.3-65.2-30.7-61.7-90-61.7-91.9zm-56.6-164.2c27.3-32.4 24.8-61.9 24-72.5-24.1 1.4-52 16.4-67.9 34.9-17.5 19.8-27.8 44.3-25.6 71.9 26.1 2 49.9-11.4 69.5-34.3z\" }) });\nvar buttonsData = [\n { id: \"36\", label: \"Open Run Details\", icon1: ArrowRight, interactionType: \"inset-text\" },\n { id: \"37\", label: \"Create\", icon1: Plus, interactionType: \"circle-create\" },\n { id: \"1\", label: \"Download for Mac\", icon1: AppleIcon, icon2: ArrowRight, interactionType: \"slide-arrow\", hoverBg: \"#0a0a0a\" },\n { id: \"2\", label: \"Star on GitHub\", icon1: Github, icon2: Star, interactionType: \"sparkle\", hoverBg: \"#1f1f1f\", icon2Color: \"text-yellow-400\" },\n { id: \"3\", label: \"Deploy App\", icon1: Cloud, icon2: CloudUpload, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-blue-400\" },\n { id: \"4\", label: \"Copy Hash\", icon1: Copy, icon2: Check, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-emerald-400\" },\n { id: \"5\", label: \"Sponsor\", icon1: Heart, interactionType: \"pulse\", hoverBg: \"#1f1f1f\", icon1Color: \"text-pink-500\" },\n { id: \"6\", label: \"Share\", icon1: Link, icon2: Send, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-blue-400\" },\n { id: \"7\", label: \"Preview\", icon1: Play, icon2: Pause, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-green-400\" },\n { id: \"8\", label: \"Settings\", icon1: Settings, interactionType: \"rotate\", hoverBg: \"#1f1f1f\" },\n { id: \"9\", label: \"Delete\", icon1: Trash2, interactionType: \"shake\", hoverBg: \"#1f1f1f\", icon1Color: \"text-red-400\" },\n { id: \"10\", label: \"Subscribe\", icon1: Bell, icon2: BellRing, interactionType: \"ring\", hoverBg: \"#1f1f1f\", icon2Color: \"text-orange-400\" },\n { id: \"11\", label: \"Search\", icon1: Search, icon2: X, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-white\" },\n { id: \"12\", label: \"Theme\", icon1: Moon, icon2: Sun, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-yellow-400\" },\n { id: \"13\", label: \"Microphone\", icon1: Mic, icon2: MicOff, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-red-400\" },\n { id: \"14\", label: \"Camera\", icon1: Video, icon2: VideoOff, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-red-400\" },\n { id: \"15\", label: \"Volume\", icon1: Volume2, icon2: VolumeX, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-neutral-500\" },\n { id: \"16\", label: \"Lock\", icon1: Lock, icon2: Unlock, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-emerald-400\" },\n { id: \"17\", label: \"Directory\", icon1: Folder, icon2: FolderOpen, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-blue-400\" },\n { id: \"18\", label: \"Visibility\", icon1: Eye, icon2: EyeOff, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-neutral-500\" },\n { id: \"19\", label: \"Save Later\", icon1: Bookmark, icon2: Bookmark, interactionType: \"color-morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-blue-400 fill-blue-400\" },\n { id: \"20\", label: \"Like\", icon1: ThumbsUp, icon2: ThumbsUp, interactionType: \"color-morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-blue-500 fill-blue-500\" },\n { id: \"21\", label: \"Download\", icon1: Download, icon2: Check, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-emerald-400\" },\n { id: \"22\", label: \"Upload\", icon1: Upload, icon2: Check, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-blue-400\" },\n { id: \"23\", label: \"Account\", icon1: User, icon2: UserCheck, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-emerald-400\" },\n { id: \"24\", label: \"Submit\", icon1: Send, icon2: Check, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-emerald-400\" },\n { id: \"25\", label: \"Edit\", icon1: Pen, icon2: Check, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-emerald-400\" },\n { id: \"26\", label: \"Network\", icon1: Wifi, icon2: WifiOff, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-red-400\" },\n { id: \"27\", label: \"Power\", icon1: Battery, icon2: BatteryCharging, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-emerald-400\" },\n { id: \"28\", label: \"Expand\", icon1: Maximize, icon2: Minimize, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-white\" },\n { id: \"29\", label: \"Reload\", icon1: RefreshCw, interactionType: \"rotate\", hoverBg: \"#1f1f1f\" },\n { id: \"30\", label: \"Favorite\", icon1: Star, icon2: Star, interactionType: \"color-morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-yellow-400 fill-yellow-400\" },\n { id: \"31\", label: \"Glare Shine\", icon1: Star, interactionType: \"glare\", hoverBg: \"#1f1f1f\" },\n { id: \"32\", label: \"Text Reveal\", icon1: ArrowRight, interactionType: \"text-reveal\", hoverBg: \"#1f1f1f\" },\n { id: \"33\", label: \"Magnetic Field\", icon1: Github, interactionType: \"magnetic\", hoverBg: \"#1f1f1f\" },\n { id: \"34\", label: \"Expand Ring\", icon1: Link, interactionType: \"expand-ring\", hoverBg: \"#1f1f1f\" },\n { id: \"35\", label: \"Focus Blur Links\", icon1: Link, interactionType: \"focus-blur\", hoverBg: \"#1f1f1f\" }\n];\n\n// 24.tsx\nimport { jsx as jsx5 } from \"react/jsx-runtime\";\nfunction Demo() {\n const config = buttonsData.find((button) => button.id === \"24\");\n if (!config) return null;\n return /* @__PURE__ */ jsx5(AnimatedButton, { config, layoutMode: \"grid\", theme: \"dark\" });\n}\nexport {\n Demo as default\n};\n",
5
+ "dependencies": [
6
+ "lucide-react",
7
+ "motion"
8
+ ],
9
+ "css": "",
10
+ "usage": "import MovaComponent from './24';\n\nexport default function Demo() {\n return <MovaComponent />;\n}",
11
+ "exports": [
12
+ "default"
13
+ ]
14
+ }
@@ -0,0 +1,14 @@
1
+ {
2
+ "id": "25",
3
+ "file": "25.tsx",
4
+ "content": "// @ts-nocheck -- Generated JavaScript bundle; edit the maintained catalog source to retain TypeScript types.\n\"use client\";\n// Mova catalog component. See LICENSE.mova and LICENSE.third-party.\n// src/components/AnimatedButton.tsx\nimport React2, { useState as useState2 } from \"react\";\nimport { AnimatePresence as AnimatePresence2, motion as motion2 } from \"motion/react\";\n\n// src/components/cards/FocusBlur.tsx\nimport { useState } from \"react\";\nimport { motion, AnimatePresence } from \"motion/react\";\nimport { jsx, jsxs } from \"react/jsx-runtime\";\nfunction FocusBlur({\n items = [\n { label: \"@Twitter\", href: \"#\" },\n { label: \"@Threads\", href: \"#\" },\n { label: \"@Instagram\", href: \"#\" },\n { label: \"@GitHub\", href: \"#\" }\n ],\n blurAmount = 4,\n opacityAmount = 0.4,\n showBrackets = true,\n className = \"\"\n}) {\n const [hoveredIndex, setHoveredIndex] = useState(null);\n return /* @__PURE__ */ jsx(\"div\", { className: `flex flex-wrap justify-center items-center gap-6 py-6 px-10 cursor-default ${className}`, children: items.map((item, index) => {\n const isHovered = hoveredIndex === index;\n const isAnyHovered = hoveredIndex !== null;\n const isInactive = isAnyHovered && !isHovered;\n return /* @__PURE__ */ jsxs(\n \"a\",\n {\n href: item.href || \"#\",\n onMouseEnter: () => setHoveredIndex(index),\n onMouseLeave: () => setHoveredIndex(null),\n className: \"relative font-semibold text-lg sm:text-2xl no-underline transition-all duration-300 select-none outline-none\",\n style: {\n filter: isInactive ? `blur(${blurAmount}px)` : \"none\",\n opacity: isInactive ? opacityAmount : 1,\n color: isHovered ? \"var(--color-blue-500, #3b82f6)\" : \"inherit\"\n },\n children: [\n /* @__PURE__ */ jsx(\"span\", { className: \"relative z-10\", children: item.label }),\n showBrackets && /* @__PURE__ */ jsx(AnimatePresence, { children: isHovered && /* @__PURE__ */ jsx(\n motion.div,\n {\n initial: { opacity: 0, scale: 1.3 },\n animate: { opacity: 1, scale: 1.1 },\n exit: { opacity: 0, scale: 1.3 },\n transition: { type: \"spring\", stiffness: 350, damping: 20 },\n className: \"absolute inset-0 border-2 border-dashed border-neutral-300 dark:border-neutral-700 rounded-lg pointer-events-none z-0\",\n style: { margin: \"-4px -8px\" }\n }\n ) })\n ]\n },\n index\n );\n }) });\n}\n\n// registry/ui/hover/inset-button.tsx\nimport { Fragment, jsx as jsx2, jsxs as jsxs2 } from \"react/jsx-runtime\";\nvar insetButtonStyles = `\n.mova-inset-button {\n --surface-elevated: oklch(0.996 0.001 95);\n --surface-shell: oklch(0.963 0.003 95);\n --ink-strong: oklch(0.205 0.004 95);\n --ink-base: oklch(0.315 0.004 92);\n --border-soft: oklch(0.9 0.003 95);\n --border-base: oklch(0.84 0.004 95);\n --sidebar: color-mix(in oklab, var(--surface-shell) 94%, white);\n --sidebar-foreground: var(--ink-base);\n --sidebar-border: color-mix(in oklab, var(--border-soft) 92%, white);\n --control-hover-core: var(--surface-elevated);\n --control-hover-core-shadow: inset 0 1px 0 color-mix(in oklab, white 14%, transparent), 0 2px 7px color-mix(in oklab, var(--ink-strong) 12%, transparent), 0 0 0 1px color-mix(in oklab, var(--border-soft) 52%, transparent);\n position: relative; isolation: isolate; display: inline-flex;\n align-items: center; justify-content: center; flex-shrink: 0;\n box-sizing: border-box; height: 2.5rem; padding: 0 .95rem;\n border: 1px solid var(--border-base); border-radius: 999px;\n background: var(--surface-elevated); color: var(--ink-strong);\n font: inherit; font-size: .875rem; font-weight: 500; line-height: 1.25rem;\n white-space: nowrap; cursor: pointer; outline: none;\n transition-property: color, background-color, border-color, box-shadow, opacity, transform, scale;\n transition-duration: 150ms; transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);\n}\n.mova-inset-button[data-theme=\"dark\"] {\n --surface-elevated: oklch(0.282 0.004 95);\n --surface-shell: oklch(0.225 0.003 95);\n --ink-strong: oklch(0.955 0.001 95);\n --ink-base: oklch(0.88 0.002 95);\n --border-soft: oklch(0.35 0.004 95);\n --border-base: oklch(0.44 0.004 95);\n --sidebar: color-mix(in oklab, var(--surface-shell) 96%, black);\n --sidebar-border: color-mix(in oklab, var(--border-soft) 94%, black);\n --control-hover-core: color-mix(in oklab, var(--surface-elevated) 84%, white);\n --control-hover-core-shadow: inset 0 1px 0 color-mix(in oklab, white 9%, transparent);\n}\n.mova-inset-button::before {\n content: \"\"; position: absolute; z-index: -1; inset: 4px; border-radius: inherit;\n background: var(--control-hover-core); box-shadow: var(--control-hover-core-shadow);\n backdrop-filter: blur(16px) saturate(118%); opacity: 0; pointer-events: none;\n transform: scale(0.82);\n transition: opacity 160ms ease, transform 190ms cubic-bezier(0.2, 0.8, 0.2, 1);\n}\n.mova-inset-button:is(:hover, :focus-visible, :active, [data-state=\"open\"]):not(:disabled):not([aria-disabled=\"true\"])::before { opacity: 1; transform: scale(1); }\n.mova-inset-button:active:not(:disabled):not([aria-disabled=\"true\"])::before { transform: scale(0.95); }\n.mova-inset-button[data-theme=\"light\"][data-variant=\"text\"]::before { content: none; }\n.mova-inset-button[data-theme=\"light\"][data-variant=\"text\"]:is(:hover, :focus-visible, [data-state=\"open\"]):not(:disabled):not([aria-disabled=\"true\"]) { background: color-mix(in oklab, var(--surface-elevated) 94%, black); }\n.mova-inset-button[data-theme=\"light\"][data-variant=\"text\"]:is(:active, [data-state=\"open\"]):not(:disabled):not([aria-disabled=\"true\"]) { background: color-mix(in oklab, var(--surface-elevated) 89%, black); }\n.mova-inset-button:focus-visible { outline: 3px solid color-mix(in oklab, var(--ink-base) 25%, transparent); outline-offset: 1px; }\n.mova-inset-button[data-variant=\"create\"] {\n width: 36px; height: 36px; padding: 0; overflow: hidden; backdrop-filter: blur(22px);\n --control-hover-core: color-mix(in oklab, white 88%, transparent);\n --control-hover-core-shadow: 0 2px 6px color-mix(in oklab, var(--sidebar-foreground) 12%, transparent), 0 0 0 1px color-mix(in oklab, var(--sidebar-foreground) 4%, transparent);\n border-color: color-mix(in oklab, var(--sidebar-border) 76%, white);\n background: color-mix(in oklab, var(--sidebar-foreground) 8%, var(--sidebar));\n color: color-mix(in oklab, var(--sidebar-foreground) 88%, var(--sidebar));\n box-shadow: 0 6px 18px -16px rgb(15 23 42 / 0.55);\n}\n.mova-inset-button[data-theme=\"dark\"][data-variant=\"create\"] {\n --control-hover-core: color-mix(in oklab, var(--sidebar-foreground) 20%, var(--sidebar));\n --control-hover-core-shadow: inset 0 1px 0 color-mix(in oklab, white 10%, transparent);\n border-color: color-mix(in oklab, var(--sidebar-border) 78%, white 22%);\n background: color-mix(in oklab, var(--sidebar) 90%, white 10%);\n color: color-mix(in oklab, var(--sidebar-foreground) 88%, white 12%);\n box-shadow: 0 7px 18px -16px rgb(0 0 0 / 0.72);\n}\n.mova-inset-button:disabled, .mova-inset-button[aria-disabled=\"true\"] { pointer-events: none; opacity: .5; }\n@media (prefers-reduced-motion: reduce) {\n .mova-inset-button { transition: none !important; }\n .mova-inset-button::before { transform: scale(1) !important; transition: none !important; }\n}\n`;\nfunction InsetButton({ variant = \"text\", theme = \"dark\", children, className = \"\", type = \"button\", ...props }) {\n return /* @__PURE__ */ jsxs2(Fragment, { children: [\n /* @__PURE__ */ jsx2(\"style\", { children: insetButtonStyles }),\n /* @__PURE__ */ jsx2(\n \"button\",\n {\n type,\n \"aria-label\": variant === \"create\" ? \"Create\" : void 0,\n ...props,\n \"data-theme\": theme,\n \"data-variant\": variant,\n className: `mova-inset-button ${className}`,\n children: variant === \"create\" ? /* @__PURE__ */ jsx2(\"svg\", { width: \"16\", height: \"16\", viewBox: \"0 0 24 24\", fill: \"none\", stroke: \"currentColor\", strokeWidth: \"2\", strokeLinecap: \"round\", strokeLinejoin: \"round\", \"aria-hidden\": \"true\", children: /* @__PURE__ */ jsx2(\"path\", { d: \"M12 5v14M5 12h14\" }) }) : children\n }\n )\n ] });\n}\n\n// src/components/AnimatedButton.tsx\nimport { Fragment as Fragment2, jsx as jsx3, jsxs as jsxs3 } from \"react/jsx-runtime\";\nvar AnimatedButton = React2.memo(function AnimatedButton2({ config, layoutMode, theme = \"dark\" }) {\n const [isHovered, setIsHovered] = useState2(false);\n const [hasInteracted, setHasInteracted] = useState2(false);\n const [mouseCoords, setMouseCoords] = useState2({ x: 0, y: 0 });\n if (config.interactionType === \"inset-text\" || config.interactionType === \"circle-create\") {\n return /* @__PURE__ */ jsx3(\n InsetButton,\n {\n theme,\n variant: config.interactionType === \"circle-create\" ? \"create\" : \"text\",\n \"aria-label\": config.label,\n style: layoutMode === \"matrix\" && config.interactionType === \"inset-text\" ? { zoom: 0.55 } : void 0,\n children: config.label\n }\n );\n }\n if (config.interactionType === \"focus-blur\") {\n return /* @__PURE__ */ jsx3(\n FocusBlur,\n {\n items: [\n { label: \"@X\", href: \"#\" },\n { label: \"@Threads\", href: \"#\" },\n { label: \"@GitHub\", href: \"#\" }\n ],\n showBrackets: true,\n className: layoutMode === \"matrix\" ? \"scale-[0.5] origin-center text-[10px] gap-1 px-1 py-1\" : \"text-sm gap-4\"\n }\n );\n }\n const Icon1 = config.icon1;\n const Icon2 = config.icon2;\n const isMatrix = layoutMode === \"matrix\";\n const isLightTheme = theme === \"light\";\n const handleMouseEnter = () => {\n setIsHovered(true);\n if (config.interactionType === \"morph\" && (config.id === \"4\" || config.id === \"21\" || config.id === \"22\" || config.id === \"24\" || config.id === \"25\")) {\n setHasInteracted(true);\n }\n };\n const handleMouseMove = (e) => {\n if (config.interactionType === \"magnetic\") {\n const rect = e.currentTarget.getBoundingClientRect();\n const x = e.clientX - rect.left - rect.width / 2;\n const y = e.clientY - rect.top - rect.height / 2;\n setMouseCoords({ x: x * 0.35, y: y * 0.35 });\n }\n };\n const handleMouseLeave = () => {\n setIsHovered(false);\n if (config.interactionType === \"magnetic\") {\n setMouseCoords({ x: 0, y: 0 });\n }\n if (hasInteracted) {\n setTimeout(() => setHasInteracted(false), 500);\n }\n };\n const handleTouchStart = () => {\n setIsHovered(true);\n if (config.interactionType === \"morph\" && (config.id === \"4\" || config.id === \"21\" || config.id === \"22\" || config.id === \"24\" || config.id === \"25\")) {\n setHasInteracted(true);\n }\n };\n const handleTouchEnd = () => {\n setTimeout(() => {\n setIsHovered(false);\n if (hasInteracted) {\n setTimeout(() => setHasInteracted(false), 500);\n }\n }, 500);\n };\n const showIcon2 = hasInteracted || isHovered;\n const renderIconContent = () => {\n switch (config.interactionType) {\n case \"slide-arrow\":\n return /* @__PURE__ */ jsxs3(Fragment2, { children: [\n /* @__PURE__ */ jsx3(AnimatePresence2, { mode: \"popLayout\", children: !isHovered && /* @__PURE__ */ jsx3(\n motion2.div,\n {\n layout: true,\n initial: { opacity: 0, x: -10 },\n animate: { opacity: 1, x: 0 },\n exit: { opacity: 0, x: -10 },\n transition: { type: \"spring\", stiffness: 600, damping: 25 },\n className: `flex items-center shrink-0 ${!isMatrix ? \"mr-2.5\" : \"\"}`,\n children: /* @__PURE__ */ jsx3(Icon1, { className: `w-[16px] h-[16px] ${isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}` })\n },\n \"icon1\"\n ) }),\n !isMatrix && /* @__PURE__ */ jsx3(motion2.span, { layout: true, className: \"font-medium tracking-tight text-[13px] whitespace-nowrap\", children: config.label }),\n /* @__PURE__ */ jsx3(AnimatePresence2, { mode: \"popLayout\", children: isHovered && /* @__PURE__ */ jsx3(\n motion2.div,\n {\n layout: true,\n initial: { opacity: 0, x: 10 },\n animate: { opacity: 1, x: 0 },\n exit: { opacity: 0, x: 10 },\n transition: { type: \"spring\", stiffness: 600, damping: 25 },\n className: `flex items-center shrink-0 ${!isMatrix ? \"ml-2.5\" : \"\"}`,\n children: Icon2 && /* @__PURE__ */ jsx3(Icon2, { className: `w-[16px] h-[16px] ${isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}` })\n },\n \"icon2\"\n ) })\n ] });\n case \"sparkle\":\n return /* @__PURE__ */ jsxs3(Fragment2, { children: [\n /* @__PURE__ */ jsx3(\"div\", { className: \"relative w-[16px] h-[16px] flex items-center justify-center shrink-0\", children: /* @__PURE__ */ jsx3(AnimatePresence2, { mode: \"popLayout\", initial: false, children: !isHovered ? /* @__PURE__ */ jsx3(\n motion2.div,\n {\n initial: { y: -15, opacity: 0, scale: 0.8 },\n animate: { y: 0, opacity: 1, scale: 1 },\n exit: { y: -15, opacity: 0, scale: 0.8 },\n transition: { type: \"spring\", stiffness: 600, damping: 25 },\n className: \"absolute inset-0 flex items-center justify-center\",\n children: /* @__PURE__ */ jsx3(Icon1, { className: `w-[16px] h-[16px] ${isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}` })\n },\n \"icon1\"\n ) : /* @__PURE__ */ jsxs3(\n motion2.div,\n {\n initial: { y: 15, opacity: 0, scale: 0.8 },\n animate: { y: 0, opacity: 1, scale: 1 },\n exit: { y: 15, opacity: 0, scale: 0.8 },\n transition: { type: \"spring\", stiffness: 600, damping: 25 },\n className: \"absolute inset-0 flex items-center justify-center\",\n children: [\n Icon2 && /* @__PURE__ */ jsx3(Icon2, { className: `w-[16px] h-[16px] ${config.icon2Color || (isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\")}` }),\n /* @__PURE__ */ jsx3(\n motion2.div,\n {\n initial: { opacity: 0, scale: 0, rotate: -45, y: 10 },\n animate: { opacity: 1, scale: 1, rotate: 0, y: 0 },\n exit: { opacity: 0, scale: 0, rotate: 45, y: 10 },\n transition: { type: \"spring\", stiffness: 600, damping: 25, delay: 0.05 },\n className: \"absolute -top-3 -right-2\",\n children: /* @__PURE__ */ jsx3(\"svg\", { className: \"w-2.5 h-2.5 text-yellow-200\", viewBox: \"0 0 24 24\", fill: \"currentColor\", children: /* @__PURE__ */ jsx3(\"path\", { d: \"M12 2l2.4 7.6H22l-6.2 4.5 2.4 7.6-6.2-4.5-6.2 4.5 2.4-7.6L2 9.6h7.6z\" }) })\n }\n ),\n /* @__PURE__ */ jsx3(\n motion2.div,\n {\n initial: { opacity: 0, scale: 0, rotate: 45, x: 10 },\n animate: { opacity: 1, scale: 1, rotate: 0, x: 0 },\n exit: { opacity: 0, scale: 0, rotate: -45, x: 10 },\n transition: { type: \"spring\", stiffness: 600, damping: 25, delay: 0.1 },\n className: \"absolute -top-1 -left-3\",\n children: /* @__PURE__ */ jsx3(\"svg\", { className: \"w-1.5 h-1.5 text-yellow-400\", viewBox: \"0 0 24 24\", fill: \"currentColor\", children: /* @__PURE__ */ jsx3(\"path\", { d: \"M12 2l2.4 7.6H22l-6.2 4.5 2.4 7.6-6.2-4.5-6.2 4.5 2.4-7.6L2 9.6h7.6z\" }) })\n }\n )\n ]\n },\n \"icon2\"\n ) }) }),\n !isMatrix && /* @__PURE__ */ jsx3(motion2.span, { layout: true, className: \"font-medium tracking-tight text-[13px] whitespace-nowrap ml-2.5\", children: config.label })\n ] });\n case \"morph\":\n case \"color-morph\":\n return /* @__PURE__ */ jsxs3(Fragment2, { children: [\n /* @__PURE__ */ jsx3(\"div\", { className: \"relative w-[16px] h-[16px] flex items-center justify-center shrink-0\", children: /* @__PURE__ */ jsx3(AnimatePresence2, { mode: \"popLayout\", initial: false, children: !showIcon2 ? /* @__PURE__ */ jsx3(\n motion2.div,\n {\n initial: { scale: 0.5, opacity: 0 },\n animate: { scale: 1, opacity: 1 },\n exit: { scale: 0.5, opacity: 0 },\n transition: { type: \"spring\", stiffness: 600, damping: 25 },\n className: \"absolute inset-0 flex items-center justify-center\",\n children: /* @__PURE__ */ jsx3(Icon1, { className: `w-[16px] h-[16px] ${isHovered && config.icon1Color ? config.icon1Color : isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}` })\n },\n \"icon1\"\n ) : /* @__PURE__ */ jsx3(\n motion2.div,\n {\n initial: { scale: 0.5, opacity: 0 },\n animate: { scale: 1, opacity: 1 },\n exit: { scale: 0.5, opacity: 0 },\n transition: { type: \"spring\", stiffness: 600, damping: 25 },\n className: \"absolute inset-0 flex items-center justify-center\",\n children: Icon2 && /* @__PURE__ */ jsx3(Icon2, { className: `w-[16px] h-[16px] ${config.icon2Color || (isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\")}` })\n },\n \"icon2\"\n ) }) }),\n !isMatrix && /* @__PURE__ */ jsx3(motion2.span, { layout: true, className: \"font-medium tracking-tight text-[13px] whitespace-nowrap ml-2.5\", children: config.id === \"4\" && showIcon2 ? \"Copied\" : config.label })\n ] });\n case \"pulse\":\n return /* @__PURE__ */ jsxs3(Fragment2, { children: [\n /* @__PURE__ */ jsx3(\"div\", { className: \"relative w-[16px] h-[16px] flex items-center justify-center shrink-0\", children: /* @__PURE__ */ jsx3(\n motion2.div,\n {\n animate: { scale: isHovered ? [1, 1.25, 1] : 1 },\n transition: { duration: 0.4, ease: \"easeInOut\" },\n children: /* @__PURE__ */ jsx3(Icon1, { className: `w-[16px] h-[16px] transition-colors duration-300 ${isHovered && config.icon1Color ? `${config.icon1Color} fill-current` : isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}` })\n }\n ) }),\n !isMatrix && /* @__PURE__ */ jsx3(motion2.span, { layout: true, className: \"font-medium tracking-tight text-[13px] whitespace-nowrap ml-2.5\", children: config.label })\n ] });\n case \"rotate\":\n return /* @__PURE__ */ jsxs3(Fragment2, { children: [\n /* @__PURE__ */ jsx3(\"div\", { className: \"relative w-[16px] h-[16px] flex items-center justify-center shrink-0\", children: /* @__PURE__ */ jsx3(motion2.div, { animate: { rotate: isHovered ? 180 : 0 }, transition: { type: \"spring\", stiffness: 400, damping: 25 }, children: /* @__PURE__ */ jsx3(Icon1, { className: `w-[16px] h-[16px] ${isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}` }) }) }),\n !isMatrix && /* @__PURE__ */ jsx3(motion2.span, { layout: true, className: \"font-medium tracking-tight text-[13px] whitespace-nowrap ml-2.5\", children: config.label })\n ] });\n case \"shake\":\n return /* @__PURE__ */ jsxs3(Fragment2, { children: [\n /* @__PURE__ */ jsx3(\"div\", { className: \"relative w-[16px] h-[16px] flex items-center justify-center shrink-0\", children: /* @__PURE__ */ jsx3(\n motion2.div,\n {\n animate: {\n y: isHovered ? [0, -2, 0, -2, 0] : 0,\n rotate: isHovered ? [0, -10, 10, -10, 0] : 0\n },\n transition: { duration: 0.4 },\n children: /* @__PURE__ */ jsx3(Icon1, { className: `w-[16px] h-[16px] transition-colors duration-300 ${isHovered && config.icon1Color ? config.icon1Color : isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}` })\n }\n ) }),\n !isMatrix && /* @__PURE__ */ jsx3(motion2.span, { layout: true, className: `font-medium tracking-tight text-[13px] whitespace-nowrap transition-colors duration-300 ml-2.5 ${isHovered && config.icon1Color ? config.icon1Color : isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}`, children: config.label })\n ] });\n case \"ring\":\n return /* @__PURE__ */ jsxs3(Fragment2, { children: [\n /* @__PURE__ */ jsx3(\"div\", { className: \"relative w-[16px] h-[16px] flex items-center justify-center shrink-0\", children: /* @__PURE__ */ jsx3(AnimatePresence2, { mode: \"popLayout\", initial: false, children: !isHovered ? /* @__PURE__ */ jsx3(\n motion2.div,\n {\n initial: { rotate: -15, scale: 0.8, opacity: 0 },\n animate: { rotate: 0, scale: 1, opacity: 1 },\n exit: { rotate: 15, scale: 0.8, opacity: 0 },\n transition: { type: \"spring\", stiffness: 600, damping: 25 },\n className: \"absolute inset-0 flex items-center justify-center\",\n children: /* @__PURE__ */ jsx3(Icon1, { className: `w-[16px] h-[16px] ${isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}` })\n },\n \"icon1\"\n ) : /* @__PURE__ */ jsxs3(\n motion2.div,\n {\n initial: { rotate: -15, scale: 0.8, opacity: 0 },\n animate: { rotate: 0, scale: 1, opacity: 1 },\n exit: { rotate: 15, scale: 0.8, opacity: 0 },\n transition: { type: \"spring\", stiffness: 600, damping: 25 },\n className: \"absolute inset-0 flex items-center justify-center\",\n children: [\n Icon2 && /* @__PURE__ */ jsx3(Icon2, { className: `w-[16px] h-[16px] ${config.icon2Color || (isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\")}` }),\n /* @__PURE__ */ jsx3(\n motion2.div,\n {\n initial: { scale: 0 },\n animate: { scale: 1 },\n transition: { type: \"spring\", stiffness: 600, damping: 15, delay: 0.1 },\n className: \"absolute top-0 right-0 w-1.5 h-1.5 bg-red-500 rounded-full border border-transparent\"\n }\n )\n ]\n },\n \"icon2\"\n ) }) }),\n !isMatrix && /* @__PURE__ */ jsx3(motion2.span, { layout: true, className: \"font-medium tracking-tight text-[13px] whitespace-nowrap ml-2.5\", children: config.label })\n ] });\n case \"glare\":\n return /* @__PURE__ */ jsxs3(Fragment2, { children: [\n /* @__PURE__ */ jsx3(Icon1, { className: `w-[16px] h-[16px] ${!isMatrix ? \"mr-2.5\" : \"\"} ${isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}` }),\n !isMatrix && /* @__PURE__ */ jsx3(\"span\", { className: \"font-medium tracking-tight text-[13px] whitespace-nowrap\", children: config.label }),\n /* @__PURE__ */ jsx3(\n motion2.div,\n {\n animate: { x: isHovered ? [\"-150%\", \"150%\"] : \"-150%\" },\n transition: { duration: 0.85, ease: \"easeInOut\", repeat: isHovered ? Infinity : 0, repeatDelay: 1 },\n className: `absolute top-0 bottom-0 w-[50px] skew-x-[-20deg] pointer-events-none z-10`,\n style: {\n background: isLightTheme ? \"linear-gradient(90deg, transparent, rgba(0,0,0,0.12), transparent)\" : \"linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent)\"\n }\n }\n )\n ] });\n case \"text-reveal\":\n return /* @__PURE__ */ jsxs3(Fragment2, { children: [\n /* @__PURE__ */ jsx3(\"div\", { className: \"relative w-[16px] h-[16px] flex items-center justify-center shrink-0 mr-2.5\", children: /* @__PURE__ */ jsx3(motion2.div, { animate: { rotate: isHovered ? 45 : 0 }, transition: { type: \"spring\", stiffness: 400, damping: 25 }, children: /* @__PURE__ */ jsx3(Icon1, { className: `w-[16px] h-[16px] ${isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}` }) }) }),\n !isMatrix && /* @__PURE__ */ jsx3(\"div\", { className: \"relative h-[18px] overflow-hidden\", children: /* @__PURE__ */ jsxs3(\n motion2.div,\n {\n animate: { y: isHovered ? -18 : 0 },\n transition: { type: \"spring\", stiffness: 400, damping: 25 },\n className: \"flex flex-col\",\n children: [\n /* @__PURE__ */ jsx3(\"span\", { className: `block h-[18px] leading-[18px] font-medium tracking-tight text-[13px] whitespace-nowrap ${isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}`, children: config.label }),\n /* @__PURE__ */ jsx3(\"span\", { className: `block h-[18px] leading-[18px] font-medium tracking-tight text-[13px] whitespace-nowrap ${isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}`, children: config.label })\n ]\n }\n ) })\n ] });\n case \"magnetic\":\n return /* @__PURE__ */ jsxs3(Fragment2, { children: [\n /* @__PURE__ */ jsx3(Icon1, { className: `w-[16px] h-[16px] ${!isMatrix ? \"mr-2.5\" : \"\"} ${isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}` }),\n !isMatrix && /* @__PURE__ */ jsx3(\"span\", { className: \"font-medium tracking-tight text-[13px] whitespace-nowrap\", children: config.label })\n ] });\n case \"expand-ring\":\n return /* @__PURE__ */ jsxs3(Fragment2, { children: [\n /* @__PURE__ */ jsx3(\"div\", { className: \"relative w-[16px] h-[16px] flex items-center justify-center shrink-0\", children: /* @__PURE__ */ jsx3(\n motion2.div,\n {\n animate: { scale: isHovered ? 1.1 : 1 },\n transition: { type: \"spring\", stiffness: 400, damping: 20 },\n children: /* @__PURE__ */ jsx3(Icon1, { className: `w-[16px] h-[16px] ${isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}` })\n }\n ) }),\n !isMatrix && /* @__PURE__ */ jsx3(\"span\", { className: \"font-medium tracking-tight text-[13px] whitespace-nowrap ml-2.5\", children: config.label }),\n /* @__PURE__ */ jsx3(AnimatePresence2, { children: isHovered && /* @__PURE__ */ jsx3(\n motion2.div,\n {\n initial: { opacity: 1, scale: 1 },\n animate: { opacity: 0, scale: 1.15 },\n exit: { opacity: 0 },\n transition: { duration: 0.6, ease: \"easeOut\" },\n className: `absolute inset-0 rounded-[40px] pointer-events-none border ${isLightTheme ? \"border-black/25\" : \"border-white/25\"}`\n },\n \"expand-ring-div\"\n ) })\n ] });\n default:\n return null;\n }\n };\n return /* @__PURE__ */ jsx3(\n motion2.button,\n {\n layout: true,\n transition: { type: \"spring\", stiffness: 500, damping: 25 },\n onMouseEnter: handleMouseEnter,\n onMouseMove: handleMouseMove,\n onMouseLeave: handleMouseLeave,\n onPointerEnter: handleMouseEnter,\n onPointerLeave: handleMouseLeave,\n onPointerMove: handleMouseMove,\n onFocus: handleMouseEnter,\n onBlur: handleMouseLeave,\n onTouchStart: handleTouchStart,\n onTouchEnd: handleTouchEnd,\n animate: {\n paddingLeft: isMatrix ? 0 : isHovered ? 28 : 24,\n paddingRight: isMatrix ? 0 : isHovered ? 28 : 24,\n x: isHovered && config.interactionType === \"magnetic\" ? mouseCoords.x : 0,\n y: isHovered && config.interactionType === \"magnetic\" ? mouseCoords.y : 0,\n backgroundColor: isLightTheme ? hasInteracted && config.id === \"4\" ? \"rgba(0,0,0,0.08)\" : isHovered ? \"rgba(0,0,0,0.06)\" : \"rgba(0,0,0,0.04)\" : hasInteracted && config.id === \"4\" ? \"rgba(255,255,255,0.08)\" : isHovered ? \"rgba(255,255,255,0.06)\" : \"rgba(255,255,255,0.04)\"\n },\n whileHover: { scale: 1.02 },\n whileTap: { scale: 0.96 },\n className: `relative flex items-center justify-center rounded-[40px] border-0 cursor-pointer shadow-none transition-colors duration-150 ${isMatrix ? \"w-[36px] h-[36px] sm:w-[42px] sm:h-[42px] px-0\" : \"h-[36px] min-w-[75px]\"} ${config.interactionType === \"glare\" ? \"overflow-hidden\" : \"\"} ${isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}`,\n children: /* @__PURE__ */ jsx3(motion2.div, { layout: true, transition: { type: \"spring\", stiffness: 500, damping: 25 }, className: `flex items-center justify-center w-full ${isMatrix ? \"scale-100 sm:scale-[1.15] origin-center\" : \"\"}`, children: renderIconContent() })\n }\n );\n});\n\n// src/data/buttons.tsx\nimport {\n ArrowRight,\n Github,\n Star,\n Cloud,\n CloudUpload,\n Copy,\n Check,\n Heart,\n Link,\n Send,\n Play,\n Pause,\n Settings,\n Trash2,\n Bell,\n BellRing,\n Search,\n X,\n Moon,\n Sun,\n Mic,\n MicOff,\n Video,\n VideoOff,\n Volume2,\n VolumeX,\n Lock,\n Unlock,\n Folder,\n FolderOpen,\n Eye,\n EyeOff,\n Bookmark,\n ThumbsUp,\n Download,\n Upload,\n User,\n UserCheck,\n Pen,\n Wifi,\n WifiOff,\n Battery,\n BatteryCharging,\n Maximize,\n Minimize,\n RefreshCw,\n Plus\n} from \"lucide-react\";\nimport { jsx as jsx4 } from \"react/jsx-runtime\";\nvar AppleIcon = (props) => /* @__PURE__ */ jsx4(\"svg\", { viewBox: \"0 0 384 512\", fill: \"currentColor\", ...props, children: /* @__PURE__ */ jsx4(\"path\", { d: \"M318.7 268.7c-.2-36.7 16.4-64.4 50-84.8-18.8-26.9-47.2-41.7-84.7-44.6-35.5-2.8-74.3 20.7-88.5 20.7-15 0-49.4-19.7-76.4-19.7C63.3 141.2 4 184.8 4 273.5q0 39.3 14.4 81.2c12.8 36.7 59 126.7 107.2 125.2 25.2-.6 43-17.9 75.8-17.9 31.8 0 48.3 17.9 76.4 17.9 48.6-.7 90.4-82.5 102.6-119.3-65.2-30.7-61.7-90-61.7-91.9zm-56.6-164.2c27.3-32.4 24.8-61.9 24-72.5-24.1 1.4-52 16.4-67.9 34.9-17.5 19.8-27.8 44.3-25.6 71.9 26.1 2 49.9-11.4 69.5-34.3z\" }) });\nvar buttonsData = [\n { id: \"36\", label: \"Open Run Details\", icon1: ArrowRight, interactionType: \"inset-text\" },\n { id: \"37\", label: \"Create\", icon1: Plus, interactionType: \"circle-create\" },\n { id: \"1\", label: \"Download for Mac\", icon1: AppleIcon, icon2: ArrowRight, interactionType: \"slide-arrow\", hoverBg: \"#0a0a0a\" },\n { id: \"2\", label: \"Star on GitHub\", icon1: Github, icon2: Star, interactionType: \"sparkle\", hoverBg: \"#1f1f1f\", icon2Color: \"text-yellow-400\" },\n { id: \"3\", label: \"Deploy App\", icon1: Cloud, icon2: CloudUpload, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-blue-400\" },\n { id: \"4\", label: \"Copy Hash\", icon1: Copy, icon2: Check, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-emerald-400\" },\n { id: \"5\", label: \"Sponsor\", icon1: Heart, interactionType: \"pulse\", hoverBg: \"#1f1f1f\", icon1Color: \"text-pink-500\" },\n { id: \"6\", label: \"Share\", icon1: Link, icon2: Send, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-blue-400\" },\n { id: \"7\", label: \"Preview\", icon1: Play, icon2: Pause, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-green-400\" },\n { id: \"8\", label: \"Settings\", icon1: Settings, interactionType: \"rotate\", hoverBg: \"#1f1f1f\" },\n { id: \"9\", label: \"Delete\", icon1: Trash2, interactionType: \"shake\", hoverBg: \"#1f1f1f\", icon1Color: \"text-red-400\" },\n { id: \"10\", label: \"Subscribe\", icon1: Bell, icon2: BellRing, interactionType: \"ring\", hoverBg: \"#1f1f1f\", icon2Color: \"text-orange-400\" },\n { id: \"11\", label: \"Search\", icon1: Search, icon2: X, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-white\" },\n { id: \"12\", label: \"Theme\", icon1: Moon, icon2: Sun, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-yellow-400\" },\n { id: \"13\", label: \"Microphone\", icon1: Mic, icon2: MicOff, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-red-400\" },\n { id: \"14\", label: \"Camera\", icon1: Video, icon2: VideoOff, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-red-400\" },\n { id: \"15\", label: \"Volume\", icon1: Volume2, icon2: VolumeX, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-neutral-500\" },\n { id: \"16\", label: \"Lock\", icon1: Lock, icon2: Unlock, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-emerald-400\" },\n { id: \"17\", label: \"Directory\", icon1: Folder, icon2: FolderOpen, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-blue-400\" },\n { id: \"18\", label: \"Visibility\", icon1: Eye, icon2: EyeOff, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-neutral-500\" },\n { id: \"19\", label: \"Save Later\", icon1: Bookmark, icon2: Bookmark, interactionType: \"color-morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-blue-400 fill-blue-400\" },\n { id: \"20\", label: \"Like\", icon1: ThumbsUp, icon2: ThumbsUp, interactionType: \"color-morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-blue-500 fill-blue-500\" },\n { id: \"21\", label: \"Download\", icon1: Download, icon2: Check, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-emerald-400\" },\n { id: \"22\", label: \"Upload\", icon1: Upload, icon2: Check, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-blue-400\" },\n { id: \"23\", label: \"Account\", icon1: User, icon2: UserCheck, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-emerald-400\" },\n { id: \"24\", label: \"Submit\", icon1: Send, icon2: Check, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-emerald-400\" },\n { id: \"25\", label: \"Edit\", icon1: Pen, icon2: Check, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-emerald-400\" },\n { id: \"26\", label: \"Network\", icon1: Wifi, icon2: WifiOff, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-red-400\" },\n { id: \"27\", label: \"Power\", icon1: Battery, icon2: BatteryCharging, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-emerald-400\" },\n { id: \"28\", label: \"Expand\", icon1: Maximize, icon2: Minimize, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-white\" },\n { id: \"29\", label: \"Reload\", icon1: RefreshCw, interactionType: \"rotate\", hoverBg: \"#1f1f1f\" },\n { id: \"30\", label: \"Favorite\", icon1: Star, icon2: Star, interactionType: \"color-morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-yellow-400 fill-yellow-400\" },\n { id: \"31\", label: \"Glare Shine\", icon1: Star, interactionType: \"glare\", hoverBg: \"#1f1f1f\" },\n { id: \"32\", label: \"Text Reveal\", icon1: ArrowRight, interactionType: \"text-reveal\", hoverBg: \"#1f1f1f\" },\n { id: \"33\", label: \"Magnetic Field\", icon1: Github, interactionType: \"magnetic\", hoverBg: \"#1f1f1f\" },\n { id: \"34\", label: \"Expand Ring\", icon1: Link, interactionType: \"expand-ring\", hoverBg: \"#1f1f1f\" },\n { id: \"35\", label: \"Focus Blur Links\", icon1: Link, interactionType: \"focus-blur\", hoverBg: \"#1f1f1f\" }\n];\n\n// 25.tsx\nimport { jsx as jsx5 } from \"react/jsx-runtime\";\nfunction Demo() {\n const config = buttonsData.find((button) => button.id === \"25\");\n if (!config) return null;\n return /* @__PURE__ */ jsx5(AnimatedButton, { config, layoutMode: \"grid\", theme: \"dark\" });\n}\nexport {\n Demo as default\n};\n",
5
+ "dependencies": [
6
+ "lucide-react",
7
+ "motion"
8
+ ],
9
+ "css": "",
10
+ "usage": "import MovaComponent from './25';\n\nexport default function Demo() {\n return <MovaComponent />;\n}",
11
+ "exports": [
12
+ "default"
13
+ ]
14
+ }
@@ -0,0 +1,14 @@
1
+ {
2
+ "id": "26",
3
+ "file": "26.tsx",
4
+ "content": "// @ts-nocheck -- Generated JavaScript bundle; edit the maintained catalog source to retain TypeScript types.\n\"use client\";\n// Mova catalog component. See LICENSE.mova and LICENSE.third-party.\n// src/components/AnimatedButton.tsx\nimport React2, { useState as useState2 } from \"react\";\nimport { AnimatePresence as AnimatePresence2, motion as motion2 } from \"motion/react\";\n\n// src/components/cards/FocusBlur.tsx\nimport { useState } from \"react\";\nimport { motion, AnimatePresence } from \"motion/react\";\nimport { jsx, jsxs } from \"react/jsx-runtime\";\nfunction FocusBlur({\n items = [\n { label: \"@Twitter\", href: \"#\" },\n { label: \"@Threads\", href: \"#\" },\n { label: \"@Instagram\", href: \"#\" },\n { label: \"@GitHub\", href: \"#\" }\n ],\n blurAmount = 4,\n opacityAmount = 0.4,\n showBrackets = true,\n className = \"\"\n}) {\n const [hoveredIndex, setHoveredIndex] = useState(null);\n return /* @__PURE__ */ jsx(\"div\", { className: `flex flex-wrap justify-center items-center gap-6 py-6 px-10 cursor-default ${className}`, children: items.map((item, index) => {\n const isHovered = hoveredIndex === index;\n const isAnyHovered = hoveredIndex !== null;\n const isInactive = isAnyHovered && !isHovered;\n return /* @__PURE__ */ jsxs(\n \"a\",\n {\n href: item.href || \"#\",\n onMouseEnter: () => setHoveredIndex(index),\n onMouseLeave: () => setHoveredIndex(null),\n className: \"relative font-semibold text-lg sm:text-2xl no-underline transition-all duration-300 select-none outline-none\",\n style: {\n filter: isInactive ? `blur(${blurAmount}px)` : \"none\",\n opacity: isInactive ? opacityAmount : 1,\n color: isHovered ? \"var(--color-blue-500, #3b82f6)\" : \"inherit\"\n },\n children: [\n /* @__PURE__ */ jsx(\"span\", { className: \"relative z-10\", children: item.label }),\n showBrackets && /* @__PURE__ */ jsx(AnimatePresence, { children: isHovered && /* @__PURE__ */ jsx(\n motion.div,\n {\n initial: { opacity: 0, scale: 1.3 },\n animate: { opacity: 1, scale: 1.1 },\n exit: { opacity: 0, scale: 1.3 },\n transition: { type: \"spring\", stiffness: 350, damping: 20 },\n className: \"absolute inset-0 border-2 border-dashed border-neutral-300 dark:border-neutral-700 rounded-lg pointer-events-none z-0\",\n style: { margin: \"-4px -8px\" }\n }\n ) })\n ]\n },\n index\n );\n }) });\n}\n\n// registry/ui/hover/inset-button.tsx\nimport { Fragment, jsx as jsx2, jsxs as jsxs2 } from \"react/jsx-runtime\";\nvar insetButtonStyles = `\n.mova-inset-button {\n --surface-elevated: oklch(0.996 0.001 95);\n --surface-shell: oklch(0.963 0.003 95);\n --ink-strong: oklch(0.205 0.004 95);\n --ink-base: oklch(0.315 0.004 92);\n --border-soft: oklch(0.9 0.003 95);\n --border-base: oklch(0.84 0.004 95);\n --sidebar: color-mix(in oklab, var(--surface-shell) 94%, white);\n --sidebar-foreground: var(--ink-base);\n --sidebar-border: color-mix(in oklab, var(--border-soft) 92%, white);\n --control-hover-core: var(--surface-elevated);\n --control-hover-core-shadow: inset 0 1px 0 color-mix(in oklab, white 14%, transparent), 0 2px 7px color-mix(in oklab, var(--ink-strong) 12%, transparent), 0 0 0 1px color-mix(in oklab, var(--border-soft) 52%, transparent);\n position: relative; isolation: isolate; display: inline-flex;\n align-items: center; justify-content: center; flex-shrink: 0;\n box-sizing: border-box; height: 2.5rem; padding: 0 .95rem;\n border: 1px solid var(--border-base); border-radius: 999px;\n background: var(--surface-elevated); color: var(--ink-strong);\n font: inherit; font-size: .875rem; font-weight: 500; line-height: 1.25rem;\n white-space: nowrap; cursor: pointer; outline: none;\n transition-property: color, background-color, border-color, box-shadow, opacity, transform, scale;\n transition-duration: 150ms; transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);\n}\n.mova-inset-button[data-theme=\"dark\"] {\n --surface-elevated: oklch(0.282 0.004 95);\n --surface-shell: oklch(0.225 0.003 95);\n --ink-strong: oklch(0.955 0.001 95);\n --ink-base: oklch(0.88 0.002 95);\n --border-soft: oklch(0.35 0.004 95);\n --border-base: oklch(0.44 0.004 95);\n --sidebar: color-mix(in oklab, var(--surface-shell) 96%, black);\n --sidebar-border: color-mix(in oklab, var(--border-soft) 94%, black);\n --control-hover-core: color-mix(in oklab, var(--surface-elevated) 84%, white);\n --control-hover-core-shadow: inset 0 1px 0 color-mix(in oklab, white 9%, transparent);\n}\n.mova-inset-button::before {\n content: \"\"; position: absolute; z-index: -1; inset: 4px; border-radius: inherit;\n background: var(--control-hover-core); box-shadow: var(--control-hover-core-shadow);\n backdrop-filter: blur(16px) saturate(118%); opacity: 0; pointer-events: none;\n transform: scale(0.82);\n transition: opacity 160ms ease, transform 190ms cubic-bezier(0.2, 0.8, 0.2, 1);\n}\n.mova-inset-button:is(:hover, :focus-visible, :active, [data-state=\"open\"]):not(:disabled):not([aria-disabled=\"true\"])::before { opacity: 1; transform: scale(1); }\n.mova-inset-button:active:not(:disabled):not([aria-disabled=\"true\"])::before { transform: scale(0.95); }\n.mova-inset-button[data-theme=\"light\"][data-variant=\"text\"]::before { content: none; }\n.mova-inset-button[data-theme=\"light\"][data-variant=\"text\"]:is(:hover, :focus-visible, [data-state=\"open\"]):not(:disabled):not([aria-disabled=\"true\"]) { background: color-mix(in oklab, var(--surface-elevated) 94%, black); }\n.mova-inset-button[data-theme=\"light\"][data-variant=\"text\"]:is(:active, [data-state=\"open\"]):not(:disabled):not([aria-disabled=\"true\"]) { background: color-mix(in oklab, var(--surface-elevated) 89%, black); }\n.mova-inset-button:focus-visible { outline: 3px solid color-mix(in oklab, var(--ink-base) 25%, transparent); outline-offset: 1px; }\n.mova-inset-button[data-variant=\"create\"] {\n width: 36px; height: 36px; padding: 0; overflow: hidden; backdrop-filter: blur(22px);\n --control-hover-core: color-mix(in oklab, white 88%, transparent);\n --control-hover-core-shadow: 0 2px 6px color-mix(in oklab, var(--sidebar-foreground) 12%, transparent), 0 0 0 1px color-mix(in oklab, var(--sidebar-foreground) 4%, transparent);\n border-color: color-mix(in oklab, var(--sidebar-border) 76%, white);\n background: color-mix(in oklab, var(--sidebar-foreground) 8%, var(--sidebar));\n color: color-mix(in oklab, var(--sidebar-foreground) 88%, var(--sidebar));\n box-shadow: 0 6px 18px -16px rgb(15 23 42 / 0.55);\n}\n.mova-inset-button[data-theme=\"dark\"][data-variant=\"create\"] {\n --control-hover-core: color-mix(in oklab, var(--sidebar-foreground) 20%, var(--sidebar));\n --control-hover-core-shadow: inset 0 1px 0 color-mix(in oklab, white 10%, transparent);\n border-color: color-mix(in oklab, var(--sidebar-border) 78%, white 22%);\n background: color-mix(in oklab, var(--sidebar) 90%, white 10%);\n color: color-mix(in oklab, var(--sidebar-foreground) 88%, white 12%);\n box-shadow: 0 7px 18px -16px rgb(0 0 0 / 0.72);\n}\n.mova-inset-button:disabled, .mova-inset-button[aria-disabled=\"true\"] { pointer-events: none; opacity: .5; }\n@media (prefers-reduced-motion: reduce) {\n .mova-inset-button { transition: none !important; }\n .mova-inset-button::before { transform: scale(1) !important; transition: none !important; }\n}\n`;\nfunction InsetButton({ variant = \"text\", theme = \"dark\", children, className = \"\", type = \"button\", ...props }) {\n return /* @__PURE__ */ jsxs2(Fragment, { children: [\n /* @__PURE__ */ jsx2(\"style\", { children: insetButtonStyles }),\n /* @__PURE__ */ jsx2(\n \"button\",\n {\n type,\n \"aria-label\": variant === \"create\" ? \"Create\" : void 0,\n ...props,\n \"data-theme\": theme,\n \"data-variant\": variant,\n className: `mova-inset-button ${className}`,\n children: variant === \"create\" ? /* @__PURE__ */ jsx2(\"svg\", { width: \"16\", height: \"16\", viewBox: \"0 0 24 24\", fill: \"none\", stroke: \"currentColor\", strokeWidth: \"2\", strokeLinecap: \"round\", strokeLinejoin: \"round\", \"aria-hidden\": \"true\", children: /* @__PURE__ */ jsx2(\"path\", { d: \"M12 5v14M5 12h14\" }) }) : children\n }\n )\n ] });\n}\n\n// src/components/AnimatedButton.tsx\nimport { Fragment as Fragment2, jsx as jsx3, jsxs as jsxs3 } from \"react/jsx-runtime\";\nvar AnimatedButton = React2.memo(function AnimatedButton2({ config, layoutMode, theme = \"dark\" }) {\n const [isHovered, setIsHovered] = useState2(false);\n const [hasInteracted, setHasInteracted] = useState2(false);\n const [mouseCoords, setMouseCoords] = useState2({ x: 0, y: 0 });\n if (config.interactionType === \"inset-text\" || config.interactionType === \"circle-create\") {\n return /* @__PURE__ */ jsx3(\n InsetButton,\n {\n theme,\n variant: config.interactionType === \"circle-create\" ? \"create\" : \"text\",\n \"aria-label\": config.label,\n style: layoutMode === \"matrix\" && config.interactionType === \"inset-text\" ? { zoom: 0.55 } : void 0,\n children: config.label\n }\n );\n }\n if (config.interactionType === \"focus-blur\") {\n return /* @__PURE__ */ jsx3(\n FocusBlur,\n {\n items: [\n { label: \"@X\", href: \"#\" },\n { label: \"@Threads\", href: \"#\" },\n { label: \"@GitHub\", href: \"#\" }\n ],\n showBrackets: true,\n className: layoutMode === \"matrix\" ? \"scale-[0.5] origin-center text-[10px] gap-1 px-1 py-1\" : \"text-sm gap-4\"\n }\n );\n }\n const Icon1 = config.icon1;\n const Icon2 = config.icon2;\n const isMatrix = layoutMode === \"matrix\";\n const isLightTheme = theme === \"light\";\n const handleMouseEnter = () => {\n setIsHovered(true);\n if (config.interactionType === \"morph\" && (config.id === \"4\" || config.id === \"21\" || config.id === \"22\" || config.id === \"24\" || config.id === \"25\")) {\n setHasInteracted(true);\n }\n };\n const handleMouseMove = (e) => {\n if (config.interactionType === \"magnetic\") {\n const rect = e.currentTarget.getBoundingClientRect();\n const x = e.clientX - rect.left - rect.width / 2;\n const y = e.clientY - rect.top - rect.height / 2;\n setMouseCoords({ x: x * 0.35, y: y * 0.35 });\n }\n };\n const handleMouseLeave = () => {\n setIsHovered(false);\n if (config.interactionType === \"magnetic\") {\n setMouseCoords({ x: 0, y: 0 });\n }\n if (hasInteracted) {\n setTimeout(() => setHasInteracted(false), 500);\n }\n };\n const handleTouchStart = () => {\n setIsHovered(true);\n if (config.interactionType === \"morph\" && (config.id === \"4\" || config.id === \"21\" || config.id === \"22\" || config.id === \"24\" || config.id === \"25\")) {\n setHasInteracted(true);\n }\n };\n const handleTouchEnd = () => {\n setTimeout(() => {\n setIsHovered(false);\n if (hasInteracted) {\n setTimeout(() => setHasInteracted(false), 500);\n }\n }, 500);\n };\n const showIcon2 = hasInteracted || isHovered;\n const renderIconContent = () => {\n switch (config.interactionType) {\n case \"slide-arrow\":\n return /* @__PURE__ */ jsxs3(Fragment2, { children: [\n /* @__PURE__ */ jsx3(AnimatePresence2, { mode: \"popLayout\", children: !isHovered && /* @__PURE__ */ jsx3(\n motion2.div,\n {\n layout: true,\n initial: { opacity: 0, x: -10 },\n animate: { opacity: 1, x: 0 },\n exit: { opacity: 0, x: -10 },\n transition: { type: \"spring\", stiffness: 600, damping: 25 },\n className: `flex items-center shrink-0 ${!isMatrix ? \"mr-2.5\" : \"\"}`,\n children: /* @__PURE__ */ jsx3(Icon1, { className: `w-[16px] h-[16px] ${isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}` })\n },\n \"icon1\"\n ) }),\n !isMatrix && /* @__PURE__ */ jsx3(motion2.span, { layout: true, className: \"font-medium tracking-tight text-[13px] whitespace-nowrap\", children: config.label }),\n /* @__PURE__ */ jsx3(AnimatePresence2, { mode: \"popLayout\", children: isHovered && /* @__PURE__ */ jsx3(\n motion2.div,\n {\n layout: true,\n initial: { opacity: 0, x: 10 },\n animate: { opacity: 1, x: 0 },\n exit: { opacity: 0, x: 10 },\n transition: { type: \"spring\", stiffness: 600, damping: 25 },\n className: `flex items-center shrink-0 ${!isMatrix ? \"ml-2.5\" : \"\"}`,\n children: Icon2 && /* @__PURE__ */ jsx3(Icon2, { className: `w-[16px] h-[16px] ${isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}` })\n },\n \"icon2\"\n ) })\n ] });\n case \"sparkle\":\n return /* @__PURE__ */ jsxs3(Fragment2, { children: [\n /* @__PURE__ */ jsx3(\"div\", { className: \"relative w-[16px] h-[16px] flex items-center justify-center shrink-0\", children: /* @__PURE__ */ jsx3(AnimatePresence2, { mode: \"popLayout\", initial: false, children: !isHovered ? /* @__PURE__ */ jsx3(\n motion2.div,\n {\n initial: { y: -15, opacity: 0, scale: 0.8 },\n animate: { y: 0, opacity: 1, scale: 1 },\n exit: { y: -15, opacity: 0, scale: 0.8 },\n transition: { type: \"spring\", stiffness: 600, damping: 25 },\n className: \"absolute inset-0 flex items-center justify-center\",\n children: /* @__PURE__ */ jsx3(Icon1, { className: `w-[16px] h-[16px] ${isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}` })\n },\n \"icon1\"\n ) : /* @__PURE__ */ jsxs3(\n motion2.div,\n {\n initial: { y: 15, opacity: 0, scale: 0.8 },\n animate: { y: 0, opacity: 1, scale: 1 },\n exit: { y: 15, opacity: 0, scale: 0.8 },\n transition: { type: \"spring\", stiffness: 600, damping: 25 },\n className: \"absolute inset-0 flex items-center justify-center\",\n children: [\n Icon2 && /* @__PURE__ */ jsx3(Icon2, { className: `w-[16px] h-[16px] ${config.icon2Color || (isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\")}` }),\n /* @__PURE__ */ jsx3(\n motion2.div,\n {\n initial: { opacity: 0, scale: 0, rotate: -45, y: 10 },\n animate: { opacity: 1, scale: 1, rotate: 0, y: 0 },\n exit: { opacity: 0, scale: 0, rotate: 45, y: 10 },\n transition: { type: \"spring\", stiffness: 600, damping: 25, delay: 0.05 },\n className: \"absolute -top-3 -right-2\",\n children: /* @__PURE__ */ jsx3(\"svg\", { className: \"w-2.5 h-2.5 text-yellow-200\", viewBox: \"0 0 24 24\", fill: \"currentColor\", children: /* @__PURE__ */ jsx3(\"path\", { d: \"M12 2l2.4 7.6H22l-6.2 4.5 2.4 7.6-6.2-4.5-6.2 4.5 2.4-7.6L2 9.6h7.6z\" }) })\n }\n ),\n /* @__PURE__ */ jsx3(\n motion2.div,\n {\n initial: { opacity: 0, scale: 0, rotate: 45, x: 10 },\n animate: { opacity: 1, scale: 1, rotate: 0, x: 0 },\n exit: { opacity: 0, scale: 0, rotate: -45, x: 10 },\n transition: { type: \"spring\", stiffness: 600, damping: 25, delay: 0.1 },\n className: \"absolute -top-1 -left-3\",\n children: /* @__PURE__ */ jsx3(\"svg\", { className: \"w-1.5 h-1.5 text-yellow-400\", viewBox: \"0 0 24 24\", fill: \"currentColor\", children: /* @__PURE__ */ jsx3(\"path\", { d: \"M12 2l2.4 7.6H22l-6.2 4.5 2.4 7.6-6.2-4.5-6.2 4.5 2.4-7.6L2 9.6h7.6z\" }) })\n }\n )\n ]\n },\n \"icon2\"\n ) }) }),\n !isMatrix && /* @__PURE__ */ jsx3(motion2.span, { layout: true, className: \"font-medium tracking-tight text-[13px] whitespace-nowrap ml-2.5\", children: config.label })\n ] });\n case \"morph\":\n case \"color-morph\":\n return /* @__PURE__ */ jsxs3(Fragment2, { children: [\n /* @__PURE__ */ jsx3(\"div\", { className: \"relative w-[16px] h-[16px] flex items-center justify-center shrink-0\", children: /* @__PURE__ */ jsx3(AnimatePresence2, { mode: \"popLayout\", initial: false, children: !showIcon2 ? /* @__PURE__ */ jsx3(\n motion2.div,\n {\n initial: { scale: 0.5, opacity: 0 },\n animate: { scale: 1, opacity: 1 },\n exit: { scale: 0.5, opacity: 0 },\n transition: { type: \"spring\", stiffness: 600, damping: 25 },\n className: \"absolute inset-0 flex items-center justify-center\",\n children: /* @__PURE__ */ jsx3(Icon1, { className: `w-[16px] h-[16px] ${isHovered && config.icon1Color ? config.icon1Color : isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}` })\n },\n \"icon1\"\n ) : /* @__PURE__ */ jsx3(\n motion2.div,\n {\n initial: { scale: 0.5, opacity: 0 },\n animate: { scale: 1, opacity: 1 },\n exit: { scale: 0.5, opacity: 0 },\n transition: { type: \"spring\", stiffness: 600, damping: 25 },\n className: \"absolute inset-0 flex items-center justify-center\",\n children: Icon2 && /* @__PURE__ */ jsx3(Icon2, { className: `w-[16px] h-[16px] ${config.icon2Color || (isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\")}` })\n },\n \"icon2\"\n ) }) }),\n !isMatrix && /* @__PURE__ */ jsx3(motion2.span, { layout: true, className: \"font-medium tracking-tight text-[13px] whitespace-nowrap ml-2.5\", children: config.id === \"4\" && showIcon2 ? \"Copied\" : config.label })\n ] });\n case \"pulse\":\n return /* @__PURE__ */ jsxs3(Fragment2, { children: [\n /* @__PURE__ */ jsx3(\"div\", { className: \"relative w-[16px] h-[16px] flex items-center justify-center shrink-0\", children: /* @__PURE__ */ jsx3(\n motion2.div,\n {\n animate: { scale: isHovered ? [1, 1.25, 1] : 1 },\n transition: { duration: 0.4, ease: \"easeInOut\" },\n children: /* @__PURE__ */ jsx3(Icon1, { className: `w-[16px] h-[16px] transition-colors duration-300 ${isHovered && config.icon1Color ? `${config.icon1Color} fill-current` : isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}` })\n }\n ) }),\n !isMatrix && /* @__PURE__ */ jsx3(motion2.span, { layout: true, className: \"font-medium tracking-tight text-[13px] whitespace-nowrap ml-2.5\", children: config.label })\n ] });\n case \"rotate\":\n return /* @__PURE__ */ jsxs3(Fragment2, { children: [\n /* @__PURE__ */ jsx3(\"div\", { className: \"relative w-[16px] h-[16px] flex items-center justify-center shrink-0\", children: /* @__PURE__ */ jsx3(motion2.div, { animate: { rotate: isHovered ? 180 : 0 }, transition: { type: \"spring\", stiffness: 400, damping: 25 }, children: /* @__PURE__ */ jsx3(Icon1, { className: `w-[16px] h-[16px] ${isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}` }) }) }),\n !isMatrix && /* @__PURE__ */ jsx3(motion2.span, { layout: true, className: \"font-medium tracking-tight text-[13px] whitespace-nowrap ml-2.5\", children: config.label })\n ] });\n case \"shake\":\n return /* @__PURE__ */ jsxs3(Fragment2, { children: [\n /* @__PURE__ */ jsx3(\"div\", { className: \"relative w-[16px] h-[16px] flex items-center justify-center shrink-0\", children: /* @__PURE__ */ jsx3(\n motion2.div,\n {\n animate: {\n y: isHovered ? [0, -2, 0, -2, 0] : 0,\n rotate: isHovered ? [0, -10, 10, -10, 0] : 0\n },\n transition: { duration: 0.4 },\n children: /* @__PURE__ */ jsx3(Icon1, { className: `w-[16px] h-[16px] transition-colors duration-300 ${isHovered && config.icon1Color ? config.icon1Color : isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}` })\n }\n ) }),\n !isMatrix && /* @__PURE__ */ jsx3(motion2.span, { layout: true, className: `font-medium tracking-tight text-[13px] whitespace-nowrap transition-colors duration-300 ml-2.5 ${isHovered && config.icon1Color ? config.icon1Color : isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}`, children: config.label })\n ] });\n case \"ring\":\n return /* @__PURE__ */ jsxs3(Fragment2, { children: [\n /* @__PURE__ */ jsx3(\"div\", { className: \"relative w-[16px] h-[16px] flex items-center justify-center shrink-0\", children: /* @__PURE__ */ jsx3(AnimatePresence2, { mode: \"popLayout\", initial: false, children: !isHovered ? /* @__PURE__ */ jsx3(\n motion2.div,\n {\n initial: { rotate: -15, scale: 0.8, opacity: 0 },\n animate: { rotate: 0, scale: 1, opacity: 1 },\n exit: { rotate: 15, scale: 0.8, opacity: 0 },\n transition: { type: \"spring\", stiffness: 600, damping: 25 },\n className: \"absolute inset-0 flex items-center justify-center\",\n children: /* @__PURE__ */ jsx3(Icon1, { className: `w-[16px] h-[16px] ${isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}` })\n },\n \"icon1\"\n ) : /* @__PURE__ */ jsxs3(\n motion2.div,\n {\n initial: { rotate: -15, scale: 0.8, opacity: 0 },\n animate: { rotate: 0, scale: 1, opacity: 1 },\n exit: { rotate: 15, scale: 0.8, opacity: 0 },\n transition: { type: \"spring\", stiffness: 600, damping: 25 },\n className: \"absolute inset-0 flex items-center justify-center\",\n children: [\n Icon2 && /* @__PURE__ */ jsx3(Icon2, { className: `w-[16px] h-[16px] ${config.icon2Color || (isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\")}` }),\n /* @__PURE__ */ jsx3(\n motion2.div,\n {\n initial: { scale: 0 },\n animate: { scale: 1 },\n transition: { type: \"spring\", stiffness: 600, damping: 15, delay: 0.1 },\n className: \"absolute top-0 right-0 w-1.5 h-1.5 bg-red-500 rounded-full border border-transparent\"\n }\n )\n ]\n },\n \"icon2\"\n ) }) }),\n !isMatrix && /* @__PURE__ */ jsx3(motion2.span, { layout: true, className: \"font-medium tracking-tight text-[13px] whitespace-nowrap ml-2.5\", children: config.label })\n ] });\n case \"glare\":\n return /* @__PURE__ */ jsxs3(Fragment2, { children: [\n /* @__PURE__ */ jsx3(Icon1, { className: `w-[16px] h-[16px] ${!isMatrix ? \"mr-2.5\" : \"\"} ${isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}` }),\n !isMatrix && /* @__PURE__ */ jsx3(\"span\", { className: \"font-medium tracking-tight text-[13px] whitespace-nowrap\", children: config.label }),\n /* @__PURE__ */ jsx3(\n motion2.div,\n {\n animate: { x: isHovered ? [\"-150%\", \"150%\"] : \"-150%\" },\n transition: { duration: 0.85, ease: \"easeInOut\", repeat: isHovered ? Infinity : 0, repeatDelay: 1 },\n className: `absolute top-0 bottom-0 w-[50px] skew-x-[-20deg] pointer-events-none z-10`,\n style: {\n background: isLightTheme ? \"linear-gradient(90deg, transparent, rgba(0,0,0,0.12), transparent)\" : \"linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent)\"\n }\n }\n )\n ] });\n case \"text-reveal\":\n return /* @__PURE__ */ jsxs3(Fragment2, { children: [\n /* @__PURE__ */ jsx3(\"div\", { className: \"relative w-[16px] h-[16px] flex items-center justify-center shrink-0 mr-2.5\", children: /* @__PURE__ */ jsx3(motion2.div, { animate: { rotate: isHovered ? 45 : 0 }, transition: { type: \"spring\", stiffness: 400, damping: 25 }, children: /* @__PURE__ */ jsx3(Icon1, { className: `w-[16px] h-[16px] ${isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}` }) }) }),\n !isMatrix && /* @__PURE__ */ jsx3(\"div\", { className: \"relative h-[18px] overflow-hidden\", children: /* @__PURE__ */ jsxs3(\n motion2.div,\n {\n animate: { y: isHovered ? -18 : 0 },\n transition: { type: \"spring\", stiffness: 400, damping: 25 },\n className: \"flex flex-col\",\n children: [\n /* @__PURE__ */ jsx3(\"span\", { className: `block h-[18px] leading-[18px] font-medium tracking-tight text-[13px] whitespace-nowrap ${isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}`, children: config.label }),\n /* @__PURE__ */ jsx3(\"span\", { className: `block h-[18px] leading-[18px] font-medium tracking-tight text-[13px] whitespace-nowrap ${isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}`, children: config.label })\n ]\n }\n ) })\n ] });\n case \"magnetic\":\n return /* @__PURE__ */ jsxs3(Fragment2, { children: [\n /* @__PURE__ */ jsx3(Icon1, { className: `w-[16px] h-[16px] ${!isMatrix ? \"mr-2.5\" : \"\"} ${isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}` }),\n !isMatrix && /* @__PURE__ */ jsx3(\"span\", { className: \"font-medium tracking-tight text-[13px] whitespace-nowrap\", children: config.label })\n ] });\n case \"expand-ring\":\n return /* @__PURE__ */ jsxs3(Fragment2, { children: [\n /* @__PURE__ */ jsx3(\"div\", { className: \"relative w-[16px] h-[16px] flex items-center justify-center shrink-0\", children: /* @__PURE__ */ jsx3(\n motion2.div,\n {\n animate: { scale: isHovered ? 1.1 : 1 },\n transition: { type: \"spring\", stiffness: 400, damping: 20 },\n children: /* @__PURE__ */ jsx3(Icon1, { className: `w-[16px] h-[16px] ${isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}` })\n }\n ) }),\n !isMatrix && /* @__PURE__ */ jsx3(\"span\", { className: \"font-medium tracking-tight text-[13px] whitespace-nowrap ml-2.5\", children: config.label }),\n /* @__PURE__ */ jsx3(AnimatePresence2, { children: isHovered && /* @__PURE__ */ jsx3(\n motion2.div,\n {\n initial: { opacity: 1, scale: 1 },\n animate: { opacity: 0, scale: 1.15 },\n exit: { opacity: 0 },\n transition: { duration: 0.6, ease: \"easeOut\" },\n className: `absolute inset-0 rounded-[40px] pointer-events-none border ${isLightTheme ? \"border-black/25\" : \"border-white/25\"}`\n },\n \"expand-ring-div\"\n ) })\n ] });\n default:\n return null;\n }\n };\n return /* @__PURE__ */ jsx3(\n motion2.button,\n {\n layout: true,\n transition: { type: \"spring\", stiffness: 500, damping: 25 },\n onMouseEnter: handleMouseEnter,\n onMouseMove: handleMouseMove,\n onMouseLeave: handleMouseLeave,\n onPointerEnter: handleMouseEnter,\n onPointerLeave: handleMouseLeave,\n onPointerMove: handleMouseMove,\n onFocus: handleMouseEnter,\n onBlur: handleMouseLeave,\n onTouchStart: handleTouchStart,\n onTouchEnd: handleTouchEnd,\n animate: {\n paddingLeft: isMatrix ? 0 : isHovered ? 28 : 24,\n paddingRight: isMatrix ? 0 : isHovered ? 28 : 24,\n x: isHovered && config.interactionType === \"magnetic\" ? mouseCoords.x : 0,\n y: isHovered && config.interactionType === \"magnetic\" ? mouseCoords.y : 0,\n backgroundColor: isLightTheme ? hasInteracted && config.id === \"4\" ? \"rgba(0,0,0,0.08)\" : isHovered ? \"rgba(0,0,0,0.06)\" : \"rgba(0,0,0,0.04)\" : hasInteracted && config.id === \"4\" ? \"rgba(255,255,255,0.08)\" : isHovered ? \"rgba(255,255,255,0.06)\" : \"rgba(255,255,255,0.04)\"\n },\n whileHover: { scale: 1.02 },\n whileTap: { scale: 0.96 },\n className: `relative flex items-center justify-center rounded-[40px] border-0 cursor-pointer shadow-none transition-colors duration-150 ${isMatrix ? \"w-[36px] h-[36px] sm:w-[42px] sm:h-[42px] px-0\" : \"h-[36px] min-w-[75px]\"} ${config.interactionType === \"glare\" ? \"overflow-hidden\" : \"\"} ${isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}`,\n children: /* @__PURE__ */ jsx3(motion2.div, { layout: true, transition: { type: \"spring\", stiffness: 500, damping: 25 }, className: `flex items-center justify-center w-full ${isMatrix ? \"scale-100 sm:scale-[1.15] origin-center\" : \"\"}`, children: renderIconContent() })\n }\n );\n});\n\n// src/data/buttons.tsx\nimport {\n ArrowRight,\n Github,\n Star,\n Cloud,\n CloudUpload,\n Copy,\n Check,\n Heart,\n Link,\n Send,\n Play,\n Pause,\n Settings,\n Trash2,\n Bell,\n BellRing,\n Search,\n X,\n Moon,\n Sun,\n Mic,\n MicOff,\n Video,\n VideoOff,\n Volume2,\n VolumeX,\n Lock,\n Unlock,\n Folder,\n FolderOpen,\n Eye,\n EyeOff,\n Bookmark,\n ThumbsUp,\n Download,\n Upload,\n User,\n UserCheck,\n Pen,\n Wifi,\n WifiOff,\n Battery,\n BatteryCharging,\n Maximize,\n Minimize,\n RefreshCw,\n Plus\n} from \"lucide-react\";\nimport { jsx as jsx4 } from \"react/jsx-runtime\";\nvar AppleIcon = (props) => /* @__PURE__ */ jsx4(\"svg\", { viewBox: \"0 0 384 512\", fill: \"currentColor\", ...props, children: /* @__PURE__ */ jsx4(\"path\", { d: \"M318.7 268.7c-.2-36.7 16.4-64.4 50-84.8-18.8-26.9-47.2-41.7-84.7-44.6-35.5-2.8-74.3 20.7-88.5 20.7-15 0-49.4-19.7-76.4-19.7C63.3 141.2 4 184.8 4 273.5q0 39.3 14.4 81.2c12.8 36.7 59 126.7 107.2 125.2 25.2-.6 43-17.9 75.8-17.9 31.8 0 48.3 17.9 76.4 17.9 48.6-.7 90.4-82.5 102.6-119.3-65.2-30.7-61.7-90-61.7-91.9zm-56.6-164.2c27.3-32.4 24.8-61.9 24-72.5-24.1 1.4-52 16.4-67.9 34.9-17.5 19.8-27.8 44.3-25.6 71.9 26.1 2 49.9-11.4 69.5-34.3z\" }) });\nvar buttonsData = [\n { id: \"36\", label: \"Open Run Details\", icon1: ArrowRight, interactionType: \"inset-text\" },\n { id: \"37\", label: \"Create\", icon1: Plus, interactionType: \"circle-create\" },\n { id: \"1\", label: \"Download for Mac\", icon1: AppleIcon, icon2: ArrowRight, interactionType: \"slide-arrow\", hoverBg: \"#0a0a0a\" },\n { id: \"2\", label: \"Star on GitHub\", icon1: Github, icon2: Star, interactionType: \"sparkle\", hoverBg: \"#1f1f1f\", icon2Color: \"text-yellow-400\" },\n { id: \"3\", label: \"Deploy App\", icon1: Cloud, icon2: CloudUpload, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-blue-400\" },\n { id: \"4\", label: \"Copy Hash\", icon1: Copy, icon2: Check, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-emerald-400\" },\n { id: \"5\", label: \"Sponsor\", icon1: Heart, interactionType: \"pulse\", hoverBg: \"#1f1f1f\", icon1Color: \"text-pink-500\" },\n { id: \"6\", label: \"Share\", icon1: Link, icon2: Send, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-blue-400\" },\n { id: \"7\", label: \"Preview\", icon1: Play, icon2: Pause, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-green-400\" },\n { id: \"8\", label: \"Settings\", icon1: Settings, interactionType: \"rotate\", hoverBg: \"#1f1f1f\" },\n { id: \"9\", label: \"Delete\", icon1: Trash2, interactionType: \"shake\", hoverBg: \"#1f1f1f\", icon1Color: \"text-red-400\" },\n { id: \"10\", label: \"Subscribe\", icon1: Bell, icon2: BellRing, interactionType: \"ring\", hoverBg: \"#1f1f1f\", icon2Color: \"text-orange-400\" },\n { id: \"11\", label: \"Search\", icon1: Search, icon2: X, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-white\" },\n { id: \"12\", label: \"Theme\", icon1: Moon, icon2: Sun, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-yellow-400\" },\n { id: \"13\", label: \"Microphone\", icon1: Mic, icon2: MicOff, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-red-400\" },\n { id: \"14\", label: \"Camera\", icon1: Video, icon2: VideoOff, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-red-400\" },\n { id: \"15\", label: \"Volume\", icon1: Volume2, icon2: VolumeX, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-neutral-500\" },\n { id: \"16\", label: \"Lock\", icon1: Lock, icon2: Unlock, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-emerald-400\" },\n { id: \"17\", label: \"Directory\", icon1: Folder, icon2: FolderOpen, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-blue-400\" },\n { id: \"18\", label: \"Visibility\", icon1: Eye, icon2: EyeOff, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-neutral-500\" },\n { id: \"19\", label: \"Save Later\", icon1: Bookmark, icon2: Bookmark, interactionType: \"color-morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-blue-400 fill-blue-400\" },\n { id: \"20\", label: \"Like\", icon1: ThumbsUp, icon2: ThumbsUp, interactionType: \"color-morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-blue-500 fill-blue-500\" },\n { id: \"21\", label: \"Download\", icon1: Download, icon2: Check, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-emerald-400\" },\n { id: \"22\", label: \"Upload\", icon1: Upload, icon2: Check, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-blue-400\" },\n { id: \"23\", label: \"Account\", icon1: User, icon2: UserCheck, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-emerald-400\" },\n { id: \"24\", label: \"Submit\", icon1: Send, icon2: Check, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-emerald-400\" },\n { id: \"25\", label: \"Edit\", icon1: Pen, icon2: Check, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-emerald-400\" },\n { id: \"26\", label: \"Network\", icon1: Wifi, icon2: WifiOff, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-red-400\" },\n { id: \"27\", label: \"Power\", icon1: Battery, icon2: BatteryCharging, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-emerald-400\" },\n { id: \"28\", label: \"Expand\", icon1: Maximize, icon2: Minimize, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-white\" },\n { id: \"29\", label: \"Reload\", icon1: RefreshCw, interactionType: \"rotate\", hoverBg: \"#1f1f1f\" },\n { id: \"30\", label: \"Favorite\", icon1: Star, icon2: Star, interactionType: \"color-morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-yellow-400 fill-yellow-400\" },\n { id: \"31\", label: \"Glare Shine\", icon1: Star, interactionType: \"glare\", hoverBg: \"#1f1f1f\" },\n { id: \"32\", label: \"Text Reveal\", icon1: ArrowRight, interactionType: \"text-reveal\", hoverBg: \"#1f1f1f\" },\n { id: \"33\", label: \"Magnetic Field\", icon1: Github, interactionType: \"magnetic\", hoverBg: \"#1f1f1f\" },\n { id: \"34\", label: \"Expand Ring\", icon1: Link, interactionType: \"expand-ring\", hoverBg: \"#1f1f1f\" },\n { id: \"35\", label: \"Focus Blur Links\", icon1: Link, interactionType: \"focus-blur\", hoverBg: \"#1f1f1f\" }\n];\n\n// 26.tsx\nimport { jsx as jsx5 } from \"react/jsx-runtime\";\nfunction Demo() {\n const config = buttonsData.find((button) => button.id === \"26\");\n if (!config) return null;\n return /* @__PURE__ */ jsx5(AnimatedButton, { config, layoutMode: \"grid\", theme: \"dark\" });\n}\nexport {\n Demo as default\n};\n",
5
+ "dependencies": [
6
+ "lucide-react",
7
+ "motion"
8
+ ],
9
+ "css": "",
10
+ "usage": "import MovaComponent from './26';\n\nexport default function Demo() {\n return <MovaComponent />;\n}",
11
+ "exports": [
12
+ "default"
13
+ ]
14
+ }
@@ -0,0 +1,14 @@
1
+ {
2
+ "id": "27",
3
+ "file": "27.tsx",
4
+ "content": "// @ts-nocheck -- Generated JavaScript bundle; edit the maintained catalog source to retain TypeScript types.\n\"use client\";\n// Mova catalog component. See LICENSE.mova and LICENSE.third-party.\n// src/components/AnimatedButton.tsx\nimport React2, { useState as useState2 } from \"react\";\nimport { AnimatePresence as AnimatePresence2, motion as motion2 } from \"motion/react\";\n\n// src/components/cards/FocusBlur.tsx\nimport { useState } from \"react\";\nimport { motion, AnimatePresence } from \"motion/react\";\nimport { jsx, jsxs } from \"react/jsx-runtime\";\nfunction FocusBlur({\n items = [\n { label: \"@Twitter\", href: \"#\" },\n { label: \"@Threads\", href: \"#\" },\n { label: \"@Instagram\", href: \"#\" },\n { label: \"@GitHub\", href: \"#\" }\n ],\n blurAmount = 4,\n opacityAmount = 0.4,\n showBrackets = true,\n className = \"\"\n}) {\n const [hoveredIndex, setHoveredIndex] = useState(null);\n return /* @__PURE__ */ jsx(\"div\", { className: `flex flex-wrap justify-center items-center gap-6 py-6 px-10 cursor-default ${className}`, children: items.map((item, index) => {\n const isHovered = hoveredIndex === index;\n const isAnyHovered = hoveredIndex !== null;\n const isInactive = isAnyHovered && !isHovered;\n return /* @__PURE__ */ jsxs(\n \"a\",\n {\n href: item.href || \"#\",\n onMouseEnter: () => setHoveredIndex(index),\n onMouseLeave: () => setHoveredIndex(null),\n className: \"relative font-semibold text-lg sm:text-2xl no-underline transition-all duration-300 select-none outline-none\",\n style: {\n filter: isInactive ? `blur(${blurAmount}px)` : \"none\",\n opacity: isInactive ? opacityAmount : 1,\n color: isHovered ? \"var(--color-blue-500, #3b82f6)\" : \"inherit\"\n },\n children: [\n /* @__PURE__ */ jsx(\"span\", { className: \"relative z-10\", children: item.label }),\n showBrackets && /* @__PURE__ */ jsx(AnimatePresence, { children: isHovered && /* @__PURE__ */ jsx(\n motion.div,\n {\n initial: { opacity: 0, scale: 1.3 },\n animate: { opacity: 1, scale: 1.1 },\n exit: { opacity: 0, scale: 1.3 },\n transition: { type: \"spring\", stiffness: 350, damping: 20 },\n className: \"absolute inset-0 border-2 border-dashed border-neutral-300 dark:border-neutral-700 rounded-lg pointer-events-none z-0\",\n style: { margin: \"-4px -8px\" }\n }\n ) })\n ]\n },\n index\n );\n }) });\n}\n\n// registry/ui/hover/inset-button.tsx\nimport { Fragment, jsx as jsx2, jsxs as jsxs2 } from \"react/jsx-runtime\";\nvar insetButtonStyles = `\n.mova-inset-button {\n --surface-elevated: oklch(0.996 0.001 95);\n --surface-shell: oklch(0.963 0.003 95);\n --ink-strong: oklch(0.205 0.004 95);\n --ink-base: oklch(0.315 0.004 92);\n --border-soft: oklch(0.9 0.003 95);\n --border-base: oklch(0.84 0.004 95);\n --sidebar: color-mix(in oklab, var(--surface-shell) 94%, white);\n --sidebar-foreground: var(--ink-base);\n --sidebar-border: color-mix(in oklab, var(--border-soft) 92%, white);\n --control-hover-core: var(--surface-elevated);\n --control-hover-core-shadow: inset 0 1px 0 color-mix(in oklab, white 14%, transparent), 0 2px 7px color-mix(in oklab, var(--ink-strong) 12%, transparent), 0 0 0 1px color-mix(in oklab, var(--border-soft) 52%, transparent);\n position: relative; isolation: isolate; display: inline-flex;\n align-items: center; justify-content: center; flex-shrink: 0;\n box-sizing: border-box; height: 2.5rem; padding: 0 .95rem;\n border: 1px solid var(--border-base); border-radius: 999px;\n background: var(--surface-elevated); color: var(--ink-strong);\n font: inherit; font-size: .875rem; font-weight: 500; line-height: 1.25rem;\n white-space: nowrap; cursor: pointer; outline: none;\n transition-property: color, background-color, border-color, box-shadow, opacity, transform, scale;\n transition-duration: 150ms; transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);\n}\n.mova-inset-button[data-theme=\"dark\"] {\n --surface-elevated: oklch(0.282 0.004 95);\n --surface-shell: oklch(0.225 0.003 95);\n --ink-strong: oklch(0.955 0.001 95);\n --ink-base: oklch(0.88 0.002 95);\n --border-soft: oklch(0.35 0.004 95);\n --border-base: oklch(0.44 0.004 95);\n --sidebar: color-mix(in oklab, var(--surface-shell) 96%, black);\n --sidebar-border: color-mix(in oklab, var(--border-soft) 94%, black);\n --control-hover-core: color-mix(in oklab, var(--surface-elevated) 84%, white);\n --control-hover-core-shadow: inset 0 1px 0 color-mix(in oklab, white 9%, transparent);\n}\n.mova-inset-button::before {\n content: \"\"; position: absolute; z-index: -1; inset: 4px; border-radius: inherit;\n background: var(--control-hover-core); box-shadow: var(--control-hover-core-shadow);\n backdrop-filter: blur(16px) saturate(118%); opacity: 0; pointer-events: none;\n transform: scale(0.82);\n transition: opacity 160ms ease, transform 190ms cubic-bezier(0.2, 0.8, 0.2, 1);\n}\n.mova-inset-button:is(:hover, :focus-visible, :active, [data-state=\"open\"]):not(:disabled):not([aria-disabled=\"true\"])::before { opacity: 1; transform: scale(1); }\n.mova-inset-button:active:not(:disabled):not([aria-disabled=\"true\"])::before { transform: scale(0.95); }\n.mova-inset-button[data-theme=\"light\"][data-variant=\"text\"]::before { content: none; }\n.mova-inset-button[data-theme=\"light\"][data-variant=\"text\"]:is(:hover, :focus-visible, [data-state=\"open\"]):not(:disabled):not([aria-disabled=\"true\"]) { background: color-mix(in oklab, var(--surface-elevated) 94%, black); }\n.mova-inset-button[data-theme=\"light\"][data-variant=\"text\"]:is(:active, [data-state=\"open\"]):not(:disabled):not([aria-disabled=\"true\"]) { background: color-mix(in oklab, var(--surface-elevated) 89%, black); }\n.mova-inset-button:focus-visible { outline: 3px solid color-mix(in oklab, var(--ink-base) 25%, transparent); outline-offset: 1px; }\n.mova-inset-button[data-variant=\"create\"] {\n width: 36px; height: 36px; padding: 0; overflow: hidden; backdrop-filter: blur(22px);\n --control-hover-core: color-mix(in oklab, white 88%, transparent);\n --control-hover-core-shadow: 0 2px 6px color-mix(in oklab, var(--sidebar-foreground) 12%, transparent), 0 0 0 1px color-mix(in oklab, var(--sidebar-foreground) 4%, transparent);\n border-color: color-mix(in oklab, var(--sidebar-border) 76%, white);\n background: color-mix(in oklab, var(--sidebar-foreground) 8%, var(--sidebar));\n color: color-mix(in oklab, var(--sidebar-foreground) 88%, var(--sidebar));\n box-shadow: 0 6px 18px -16px rgb(15 23 42 / 0.55);\n}\n.mova-inset-button[data-theme=\"dark\"][data-variant=\"create\"] {\n --control-hover-core: color-mix(in oklab, var(--sidebar-foreground) 20%, var(--sidebar));\n --control-hover-core-shadow: inset 0 1px 0 color-mix(in oklab, white 10%, transparent);\n border-color: color-mix(in oklab, var(--sidebar-border) 78%, white 22%);\n background: color-mix(in oklab, var(--sidebar) 90%, white 10%);\n color: color-mix(in oklab, var(--sidebar-foreground) 88%, white 12%);\n box-shadow: 0 7px 18px -16px rgb(0 0 0 / 0.72);\n}\n.mova-inset-button:disabled, .mova-inset-button[aria-disabled=\"true\"] { pointer-events: none; opacity: .5; }\n@media (prefers-reduced-motion: reduce) {\n .mova-inset-button { transition: none !important; }\n .mova-inset-button::before { transform: scale(1) !important; transition: none !important; }\n}\n`;\nfunction InsetButton({ variant = \"text\", theme = \"dark\", children, className = \"\", type = \"button\", ...props }) {\n return /* @__PURE__ */ jsxs2(Fragment, { children: [\n /* @__PURE__ */ jsx2(\"style\", { children: insetButtonStyles }),\n /* @__PURE__ */ jsx2(\n \"button\",\n {\n type,\n \"aria-label\": variant === \"create\" ? \"Create\" : void 0,\n ...props,\n \"data-theme\": theme,\n \"data-variant\": variant,\n className: `mova-inset-button ${className}`,\n children: variant === \"create\" ? /* @__PURE__ */ jsx2(\"svg\", { width: \"16\", height: \"16\", viewBox: \"0 0 24 24\", fill: \"none\", stroke: \"currentColor\", strokeWidth: \"2\", strokeLinecap: \"round\", strokeLinejoin: \"round\", \"aria-hidden\": \"true\", children: /* @__PURE__ */ jsx2(\"path\", { d: \"M12 5v14M5 12h14\" }) }) : children\n }\n )\n ] });\n}\n\n// src/components/AnimatedButton.tsx\nimport { Fragment as Fragment2, jsx as jsx3, jsxs as jsxs3 } from \"react/jsx-runtime\";\nvar AnimatedButton = React2.memo(function AnimatedButton2({ config, layoutMode, theme = \"dark\" }) {\n const [isHovered, setIsHovered] = useState2(false);\n const [hasInteracted, setHasInteracted] = useState2(false);\n const [mouseCoords, setMouseCoords] = useState2({ x: 0, y: 0 });\n if (config.interactionType === \"inset-text\" || config.interactionType === \"circle-create\") {\n return /* @__PURE__ */ jsx3(\n InsetButton,\n {\n theme,\n variant: config.interactionType === \"circle-create\" ? \"create\" : \"text\",\n \"aria-label\": config.label,\n style: layoutMode === \"matrix\" && config.interactionType === \"inset-text\" ? { zoom: 0.55 } : void 0,\n children: config.label\n }\n );\n }\n if (config.interactionType === \"focus-blur\") {\n return /* @__PURE__ */ jsx3(\n FocusBlur,\n {\n items: [\n { label: \"@X\", href: \"#\" },\n { label: \"@Threads\", href: \"#\" },\n { label: \"@GitHub\", href: \"#\" }\n ],\n showBrackets: true,\n className: layoutMode === \"matrix\" ? \"scale-[0.5] origin-center text-[10px] gap-1 px-1 py-1\" : \"text-sm gap-4\"\n }\n );\n }\n const Icon1 = config.icon1;\n const Icon2 = config.icon2;\n const isMatrix = layoutMode === \"matrix\";\n const isLightTheme = theme === \"light\";\n const handleMouseEnter = () => {\n setIsHovered(true);\n if (config.interactionType === \"morph\" && (config.id === \"4\" || config.id === \"21\" || config.id === \"22\" || config.id === \"24\" || config.id === \"25\")) {\n setHasInteracted(true);\n }\n };\n const handleMouseMove = (e) => {\n if (config.interactionType === \"magnetic\") {\n const rect = e.currentTarget.getBoundingClientRect();\n const x = e.clientX - rect.left - rect.width / 2;\n const y = e.clientY - rect.top - rect.height / 2;\n setMouseCoords({ x: x * 0.35, y: y * 0.35 });\n }\n };\n const handleMouseLeave = () => {\n setIsHovered(false);\n if (config.interactionType === \"magnetic\") {\n setMouseCoords({ x: 0, y: 0 });\n }\n if (hasInteracted) {\n setTimeout(() => setHasInteracted(false), 500);\n }\n };\n const handleTouchStart = () => {\n setIsHovered(true);\n if (config.interactionType === \"morph\" && (config.id === \"4\" || config.id === \"21\" || config.id === \"22\" || config.id === \"24\" || config.id === \"25\")) {\n setHasInteracted(true);\n }\n };\n const handleTouchEnd = () => {\n setTimeout(() => {\n setIsHovered(false);\n if (hasInteracted) {\n setTimeout(() => setHasInteracted(false), 500);\n }\n }, 500);\n };\n const showIcon2 = hasInteracted || isHovered;\n const renderIconContent = () => {\n switch (config.interactionType) {\n case \"slide-arrow\":\n return /* @__PURE__ */ jsxs3(Fragment2, { children: [\n /* @__PURE__ */ jsx3(AnimatePresence2, { mode: \"popLayout\", children: !isHovered && /* @__PURE__ */ jsx3(\n motion2.div,\n {\n layout: true,\n initial: { opacity: 0, x: -10 },\n animate: { opacity: 1, x: 0 },\n exit: { opacity: 0, x: -10 },\n transition: { type: \"spring\", stiffness: 600, damping: 25 },\n className: `flex items-center shrink-0 ${!isMatrix ? \"mr-2.5\" : \"\"}`,\n children: /* @__PURE__ */ jsx3(Icon1, { className: `w-[16px] h-[16px] ${isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}` })\n },\n \"icon1\"\n ) }),\n !isMatrix && /* @__PURE__ */ jsx3(motion2.span, { layout: true, className: \"font-medium tracking-tight text-[13px] whitespace-nowrap\", children: config.label }),\n /* @__PURE__ */ jsx3(AnimatePresence2, { mode: \"popLayout\", children: isHovered && /* @__PURE__ */ jsx3(\n motion2.div,\n {\n layout: true,\n initial: { opacity: 0, x: 10 },\n animate: { opacity: 1, x: 0 },\n exit: { opacity: 0, x: 10 },\n transition: { type: \"spring\", stiffness: 600, damping: 25 },\n className: `flex items-center shrink-0 ${!isMatrix ? \"ml-2.5\" : \"\"}`,\n children: Icon2 && /* @__PURE__ */ jsx3(Icon2, { className: `w-[16px] h-[16px] ${isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}` })\n },\n \"icon2\"\n ) })\n ] });\n case \"sparkle\":\n return /* @__PURE__ */ jsxs3(Fragment2, { children: [\n /* @__PURE__ */ jsx3(\"div\", { className: \"relative w-[16px] h-[16px] flex items-center justify-center shrink-0\", children: /* @__PURE__ */ jsx3(AnimatePresence2, { mode: \"popLayout\", initial: false, children: !isHovered ? /* @__PURE__ */ jsx3(\n motion2.div,\n {\n initial: { y: -15, opacity: 0, scale: 0.8 },\n animate: { y: 0, opacity: 1, scale: 1 },\n exit: { y: -15, opacity: 0, scale: 0.8 },\n transition: { type: \"spring\", stiffness: 600, damping: 25 },\n className: \"absolute inset-0 flex items-center justify-center\",\n children: /* @__PURE__ */ jsx3(Icon1, { className: `w-[16px] h-[16px] ${isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}` })\n },\n \"icon1\"\n ) : /* @__PURE__ */ jsxs3(\n motion2.div,\n {\n initial: { y: 15, opacity: 0, scale: 0.8 },\n animate: { y: 0, opacity: 1, scale: 1 },\n exit: { y: 15, opacity: 0, scale: 0.8 },\n transition: { type: \"spring\", stiffness: 600, damping: 25 },\n className: \"absolute inset-0 flex items-center justify-center\",\n children: [\n Icon2 && /* @__PURE__ */ jsx3(Icon2, { className: `w-[16px] h-[16px] ${config.icon2Color || (isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\")}` }),\n /* @__PURE__ */ jsx3(\n motion2.div,\n {\n initial: { opacity: 0, scale: 0, rotate: -45, y: 10 },\n animate: { opacity: 1, scale: 1, rotate: 0, y: 0 },\n exit: { opacity: 0, scale: 0, rotate: 45, y: 10 },\n transition: { type: \"spring\", stiffness: 600, damping: 25, delay: 0.05 },\n className: \"absolute -top-3 -right-2\",\n children: /* @__PURE__ */ jsx3(\"svg\", { className: \"w-2.5 h-2.5 text-yellow-200\", viewBox: \"0 0 24 24\", fill: \"currentColor\", children: /* @__PURE__ */ jsx3(\"path\", { d: \"M12 2l2.4 7.6H22l-6.2 4.5 2.4 7.6-6.2-4.5-6.2 4.5 2.4-7.6L2 9.6h7.6z\" }) })\n }\n ),\n /* @__PURE__ */ jsx3(\n motion2.div,\n {\n initial: { opacity: 0, scale: 0, rotate: 45, x: 10 },\n animate: { opacity: 1, scale: 1, rotate: 0, x: 0 },\n exit: { opacity: 0, scale: 0, rotate: -45, x: 10 },\n transition: { type: \"spring\", stiffness: 600, damping: 25, delay: 0.1 },\n className: \"absolute -top-1 -left-3\",\n children: /* @__PURE__ */ jsx3(\"svg\", { className: \"w-1.5 h-1.5 text-yellow-400\", viewBox: \"0 0 24 24\", fill: \"currentColor\", children: /* @__PURE__ */ jsx3(\"path\", { d: \"M12 2l2.4 7.6H22l-6.2 4.5 2.4 7.6-6.2-4.5-6.2 4.5 2.4-7.6L2 9.6h7.6z\" }) })\n }\n )\n ]\n },\n \"icon2\"\n ) }) }),\n !isMatrix && /* @__PURE__ */ jsx3(motion2.span, { layout: true, className: \"font-medium tracking-tight text-[13px] whitespace-nowrap ml-2.5\", children: config.label })\n ] });\n case \"morph\":\n case \"color-morph\":\n return /* @__PURE__ */ jsxs3(Fragment2, { children: [\n /* @__PURE__ */ jsx3(\"div\", { className: \"relative w-[16px] h-[16px] flex items-center justify-center shrink-0\", children: /* @__PURE__ */ jsx3(AnimatePresence2, { mode: \"popLayout\", initial: false, children: !showIcon2 ? /* @__PURE__ */ jsx3(\n motion2.div,\n {\n initial: { scale: 0.5, opacity: 0 },\n animate: { scale: 1, opacity: 1 },\n exit: { scale: 0.5, opacity: 0 },\n transition: { type: \"spring\", stiffness: 600, damping: 25 },\n className: \"absolute inset-0 flex items-center justify-center\",\n children: /* @__PURE__ */ jsx3(Icon1, { className: `w-[16px] h-[16px] ${isHovered && config.icon1Color ? config.icon1Color : isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}` })\n },\n \"icon1\"\n ) : /* @__PURE__ */ jsx3(\n motion2.div,\n {\n initial: { scale: 0.5, opacity: 0 },\n animate: { scale: 1, opacity: 1 },\n exit: { scale: 0.5, opacity: 0 },\n transition: { type: \"spring\", stiffness: 600, damping: 25 },\n className: \"absolute inset-0 flex items-center justify-center\",\n children: Icon2 && /* @__PURE__ */ jsx3(Icon2, { className: `w-[16px] h-[16px] ${config.icon2Color || (isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\")}` })\n },\n \"icon2\"\n ) }) }),\n !isMatrix && /* @__PURE__ */ jsx3(motion2.span, { layout: true, className: \"font-medium tracking-tight text-[13px] whitespace-nowrap ml-2.5\", children: config.id === \"4\" && showIcon2 ? \"Copied\" : config.label })\n ] });\n case \"pulse\":\n return /* @__PURE__ */ jsxs3(Fragment2, { children: [\n /* @__PURE__ */ jsx3(\"div\", { className: \"relative w-[16px] h-[16px] flex items-center justify-center shrink-0\", children: /* @__PURE__ */ jsx3(\n motion2.div,\n {\n animate: { scale: isHovered ? [1, 1.25, 1] : 1 },\n transition: { duration: 0.4, ease: \"easeInOut\" },\n children: /* @__PURE__ */ jsx3(Icon1, { className: `w-[16px] h-[16px] transition-colors duration-300 ${isHovered && config.icon1Color ? `${config.icon1Color} fill-current` : isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}` })\n }\n ) }),\n !isMatrix && /* @__PURE__ */ jsx3(motion2.span, { layout: true, className: \"font-medium tracking-tight text-[13px] whitespace-nowrap ml-2.5\", children: config.label })\n ] });\n case \"rotate\":\n return /* @__PURE__ */ jsxs3(Fragment2, { children: [\n /* @__PURE__ */ jsx3(\"div\", { className: \"relative w-[16px] h-[16px] flex items-center justify-center shrink-0\", children: /* @__PURE__ */ jsx3(motion2.div, { animate: { rotate: isHovered ? 180 : 0 }, transition: { type: \"spring\", stiffness: 400, damping: 25 }, children: /* @__PURE__ */ jsx3(Icon1, { className: `w-[16px] h-[16px] ${isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}` }) }) }),\n !isMatrix && /* @__PURE__ */ jsx3(motion2.span, { layout: true, className: \"font-medium tracking-tight text-[13px] whitespace-nowrap ml-2.5\", children: config.label })\n ] });\n case \"shake\":\n return /* @__PURE__ */ jsxs3(Fragment2, { children: [\n /* @__PURE__ */ jsx3(\"div\", { className: \"relative w-[16px] h-[16px] flex items-center justify-center shrink-0\", children: /* @__PURE__ */ jsx3(\n motion2.div,\n {\n animate: {\n y: isHovered ? [0, -2, 0, -2, 0] : 0,\n rotate: isHovered ? [0, -10, 10, -10, 0] : 0\n },\n transition: { duration: 0.4 },\n children: /* @__PURE__ */ jsx3(Icon1, { className: `w-[16px] h-[16px] transition-colors duration-300 ${isHovered && config.icon1Color ? config.icon1Color : isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}` })\n }\n ) }),\n !isMatrix && /* @__PURE__ */ jsx3(motion2.span, { layout: true, className: `font-medium tracking-tight text-[13px] whitespace-nowrap transition-colors duration-300 ml-2.5 ${isHovered && config.icon1Color ? config.icon1Color : isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}`, children: config.label })\n ] });\n case \"ring\":\n return /* @__PURE__ */ jsxs3(Fragment2, { children: [\n /* @__PURE__ */ jsx3(\"div\", { className: \"relative w-[16px] h-[16px] flex items-center justify-center shrink-0\", children: /* @__PURE__ */ jsx3(AnimatePresence2, { mode: \"popLayout\", initial: false, children: !isHovered ? /* @__PURE__ */ jsx3(\n motion2.div,\n {\n initial: { rotate: -15, scale: 0.8, opacity: 0 },\n animate: { rotate: 0, scale: 1, opacity: 1 },\n exit: { rotate: 15, scale: 0.8, opacity: 0 },\n transition: { type: \"spring\", stiffness: 600, damping: 25 },\n className: \"absolute inset-0 flex items-center justify-center\",\n children: /* @__PURE__ */ jsx3(Icon1, { className: `w-[16px] h-[16px] ${isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}` })\n },\n \"icon1\"\n ) : /* @__PURE__ */ jsxs3(\n motion2.div,\n {\n initial: { rotate: -15, scale: 0.8, opacity: 0 },\n animate: { rotate: 0, scale: 1, opacity: 1 },\n exit: { rotate: 15, scale: 0.8, opacity: 0 },\n transition: { type: \"spring\", stiffness: 600, damping: 25 },\n className: \"absolute inset-0 flex items-center justify-center\",\n children: [\n Icon2 && /* @__PURE__ */ jsx3(Icon2, { className: `w-[16px] h-[16px] ${config.icon2Color || (isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\")}` }),\n /* @__PURE__ */ jsx3(\n motion2.div,\n {\n initial: { scale: 0 },\n animate: { scale: 1 },\n transition: { type: \"spring\", stiffness: 600, damping: 15, delay: 0.1 },\n className: \"absolute top-0 right-0 w-1.5 h-1.5 bg-red-500 rounded-full border border-transparent\"\n }\n )\n ]\n },\n \"icon2\"\n ) }) }),\n !isMatrix && /* @__PURE__ */ jsx3(motion2.span, { layout: true, className: \"font-medium tracking-tight text-[13px] whitespace-nowrap ml-2.5\", children: config.label })\n ] });\n case \"glare\":\n return /* @__PURE__ */ jsxs3(Fragment2, { children: [\n /* @__PURE__ */ jsx3(Icon1, { className: `w-[16px] h-[16px] ${!isMatrix ? \"mr-2.5\" : \"\"} ${isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}` }),\n !isMatrix && /* @__PURE__ */ jsx3(\"span\", { className: \"font-medium tracking-tight text-[13px] whitespace-nowrap\", children: config.label }),\n /* @__PURE__ */ jsx3(\n motion2.div,\n {\n animate: { x: isHovered ? [\"-150%\", \"150%\"] : \"-150%\" },\n transition: { duration: 0.85, ease: \"easeInOut\", repeat: isHovered ? Infinity : 0, repeatDelay: 1 },\n className: `absolute top-0 bottom-0 w-[50px] skew-x-[-20deg] pointer-events-none z-10`,\n style: {\n background: isLightTheme ? \"linear-gradient(90deg, transparent, rgba(0,0,0,0.12), transparent)\" : \"linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent)\"\n }\n }\n )\n ] });\n case \"text-reveal\":\n return /* @__PURE__ */ jsxs3(Fragment2, { children: [\n /* @__PURE__ */ jsx3(\"div\", { className: \"relative w-[16px] h-[16px] flex items-center justify-center shrink-0 mr-2.5\", children: /* @__PURE__ */ jsx3(motion2.div, { animate: { rotate: isHovered ? 45 : 0 }, transition: { type: \"spring\", stiffness: 400, damping: 25 }, children: /* @__PURE__ */ jsx3(Icon1, { className: `w-[16px] h-[16px] ${isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}` }) }) }),\n !isMatrix && /* @__PURE__ */ jsx3(\"div\", { className: \"relative h-[18px] overflow-hidden\", children: /* @__PURE__ */ jsxs3(\n motion2.div,\n {\n animate: { y: isHovered ? -18 : 0 },\n transition: { type: \"spring\", stiffness: 400, damping: 25 },\n className: \"flex flex-col\",\n children: [\n /* @__PURE__ */ jsx3(\"span\", { className: `block h-[18px] leading-[18px] font-medium tracking-tight text-[13px] whitespace-nowrap ${isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}`, children: config.label }),\n /* @__PURE__ */ jsx3(\"span\", { className: `block h-[18px] leading-[18px] font-medium tracking-tight text-[13px] whitespace-nowrap ${isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}`, children: config.label })\n ]\n }\n ) })\n ] });\n case \"magnetic\":\n return /* @__PURE__ */ jsxs3(Fragment2, { children: [\n /* @__PURE__ */ jsx3(Icon1, { className: `w-[16px] h-[16px] ${!isMatrix ? \"mr-2.5\" : \"\"} ${isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}` }),\n !isMatrix && /* @__PURE__ */ jsx3(\"span\", { className: \"font-medium tracking-tight text-[13px] whitespace-nowrap\", children: config.label })\n ] });\n case \"expand-ring\":\n return /* @__PURE__ */ jsxs3(Fragment2, { children: [\n /* @__PURE__ */ jsx3(\"div\", { className: \"relative w-[16px] h-[16px] flex items-center justify-center shrink-0\", children: /* @__PURE__ */ jsx3(\n motion2.div,\n {\n animate: { scale: isHovered ? 1.1 : 1 },\n transition: { type: \"spring\", stiffness: 400, damping: 20 },\n children: /* @__PURE__ */ jsx3(Icon1, { className: `w-[16px] h-[16px] ${isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}` })\n }\n ) }),\n !isMatrix && /* @__PURE__ */ jsx3(\"span\", { className: \"font-medium tracking-tight text-[13px] whitespace-nowrap ml-2.5\", children: config.label }),\n /* @__PURE__ */ jsx3(AnimatePresence2, { children: isHovered && /* @__PURE__ */ jsx3(\n motion2.div,\n {\n initial: { opacity: 1, scale: 1 },\n animate: { opacity: 0, scale: 1.15 },\n exit: { opacity: 0 },\n transition: { duration: 0.6, ease: \"easeOut\" },\n className: `absolute inset-0 rounded-[40px] pointer-events-none border ${isLightTheme ? \"border-black/25\" : \"border-white/25\"}`\n },\n \"expand-ring-div\"\n ) })\n ] });\n default:\n return null;\n }\n };\n return /* @__PURE__ */ jsx3(\n motion2.button,\n {\n layout: true,\n transition: { type: \"spring\", stiffness: 500, damping: 25 },\n onMouseEnter: handleMouseEnter,\n onMouseMove: handleMouseMove,\n onMouseLeave: handleMouseLeave,\n onPointerEnter: handleMouseEnter,\n onPointerLeave: handleMouseLeave,\n onPointerMove: handleMouseMove,\n onFocus: handleMouseEnter,\n onBlur: handleMouseLeave,\n onTouchStart: handleTouchStart,\n onTouchEnd: handleTouchEnd,\n animate: {\n paddingLeft: isMatrix ? 0 : isHovered ? 28 : 24,\n paddingRight: isMatrix ? 0 : isHovered ? 28 : 24,\n x: isHovered && config.interactionType === \"magnetic\" ? mouseCoords.x : 0,\n y: isHovered && config.interactionType === \"magnetic\" ? mouseCoords.y : 0,\n backgroundColor: isLightTheme ? hasInteracted && config.id === \"4\" ? \"rgba(0,0,0,0.08)\" : isHovered ? \"rgba(0,0,0,0.06)\" : \"rgba(0,0,0,0.04)\" : hasInteracted && config.id === \"4\" ? \"rgba(255,255,255,0.08)\" : isHovered ? \"rgba(255,255,255,0.06)\" : \"rgba(255,255,255,0.04)\"\n },\n whileHover: { scale: 1.02 },\n whileTap: { scale: 0.96 },\n className: `relative flex items-center justify-center rounded-[40px] border-0 cursor-pointer shadow-none transition-colors duration-150 ${isMatrix ? \"w-[36px] h-[36px] sm:w-[42px] sm:h-[42px] px-0\" : \"h-[36px] min-w-[75px]\"} ${config.interactionType === \"glare\" ? \"overflow-hidden\" : \"\"} ${isLightTheme ? \"text-black\" : \"text-[#e3e3e3]\"}`,\n children: /* @__PURE__ */ jsx3(motion2.div, { layout: true, transition: { type: \"spring\", stiffness: 500, damping: 25 }, className: `flex items-center justify-center w-full ${isMatrix ? \"scale-100 sm:scale-[1.15] origin-center\" : \"\"}`, children: renderIconContent() })\n }\n );\n});\n\n// src/data/buttons.tsx\nimport {\n ArrowRight,\n Github,\n Star,\n Cloud,\n CloudUpload,\n Copy,\n Check,\n Heart,\n Link,\n Send,\n Play,\n Pause,\n Settings,\n Trash2,\n Bell,\n BellRing,\n Search,\n X,\n Moon,\n Sun,\n Mic,\n MicOff,\n Video,\n VideoOff,\n Volume2,\n VolumeX,\n Lock,\n Unlock,\n Folder,\n FolderOpen,\n Eye,\n EyeOff,\n Bookmark,\n ThumbsUp,\n Download,\n Upload,\n User,\n UserCheck,\n Pen,\n Wifi,\n WifiOff,\n Battery,\n BatteryCharging,\n Maximize,\n Minimize,\n RefreshCw,\n Plus\n} from \"lucide-react\";\nimport { jsx as jsx4 } from \"react/jsx-runtime\";\nvar AppleIcon = (props) => /* @__PURE__ */ jsx4(\"svg\", { viewBox: \"0 0 384 512\", fill: \"currentColor\", ...props, children: /* @__PURE__ */ jsx4(\"path\", { d: \"M318.7 268.7c-.2-36.7 16.4-64.4 50-84.8-18.8-26.9-47.2-41.7-84.7-44.6-35.5-2.8-74.3 20.7-88.5 20.7-15 0-49.4-19.7-76.4-19.7C63.3 141.2 4 184.8 4 273.5q0 39.3 14.4 81.2c12.8 36.7 59 126.7 107.2 125.2 25.2-.6 43-17.9 75.8-17.9 31.8 0 48.3 17.9 76.4 17.9 48.6-.7 90.4-82.5 102.6-119.3-65.2-30.7-61.7-90-61.7-91.9zm-56.6-164.2c27.3-32.4 24.8-61.9 24-72.5-24.1 1.4-52 16.4-67.9 34.9-17.5 19.8-27.8 44.3-25.6 71.9 26.1 2 49.9-11.4 69.5-34.3z\" }) });\nvar buttonsData = [\n { id: \"36\", label: \"Open Run Details\", icon1: ArrowRight, interactionType: \"inset-text\" },\n { id: \"37\", label: \"Create\", icon1: Plus, interactionType: \"circle-create\" },\n { id: \"1\", label: \"Download for Mac\", icon1: AppleIcon, icon2: ArrowRight, interactionType: \"slide-arrow\", hoverBg: \"#0a0a0a\" },\n { id: \"2\", label: \"Star on GitHub\", icon1: Github, icon2: Star, interactionType: \"sparkle\", hoverBg: \"#1f1f1f\", icon2Color: \"text-yellow-400\" },\n { id: \"3\", label: \"Deploy App\", icon1: Cloud, icon2: CloudUpload, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-blue-400\" },\n { id: \"4\", label: \"Copy Hash\", icon1: Copy, icon2: Check, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-emerald-400\" },\n { id: \"5\", label: \"Sponsor\", icon1: Heart, interactionType: \"pulse\", hoverBg: \"#1f1f1f\", icon1Color: \"text-pink-500\" },\n { id: \"6\", label: \"Share\", icon1: Link, icon2: Send, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-blue-400\" },\n { id: \"7\", label: \"Preview\", icon1: Play, icon2: Pause, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-green-400\" },\n { id: \"8\", label: \"Settings\", icon1: Settings, interactionType: \"rotate\", hoverBg: \"#1f1f1f\" },\n { id: \"9\", label: \"Delete\", icon1: Trash2, interactionType: \"shake\", hoverBg: \"#1f1f1f\", icon1Color: \"text-red-400\" },\n { id: \"10\", label: \"Subscribe\", icon1: Bell, icon2: BellRing, interactionType: \"ring\", hoverBg: \"#1f1f1f\", icon2Color: \"text-orange-400\" },\n { id: \"11\", label: \"Search\", icon1: Search, icon2: X, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-white\" },\n { id: \"12\", label: \"Theme\", icon1: Moon, icon2: Sun, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-yellow-400\" },\n { id: \"13\", label: \"Microphone\", icon1: Mic, icon2: MicOff, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-red-400\" },\n { id: \"14\", label: \"Camera\", icon1: Video, icon2: VideoOff, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-red-400\" },\n { id: \"15\", label: \"Volume\", icon1: Volume2, icon2: VolumeX, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-neutral-500\" },\n { id: \"16\", label: \"Lock\", icon1: Lock, icon2: Unlock, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-emerald-400\" },\n { id: \"17\", label: \"Directory\", icon1: Folder, icon2: FolderOpen, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-blue-400\" },\n { id: \"18\", label: \"Visibility\", icon1: Eye, icon2: EyeOff, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-neutral-500\" },\n { id: \"19\", label: \"Save Later\", icon1: Bookmark, icon2: Bookmark, interactionType: \"color-morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-blue-400 fill-blue-400\" },\n { id: \"20\", label: \"Like\", icon1: ThumbsUp, icon2: ThumbsUp, interactionType: \"color-morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-blue-500 fill-blue-500\" },\n { id: \"21\", label: \"Download\", icon1: Download, icon2: Check, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-emerald-400\" },\n { id: \"22\", label: \"Upload\", icon1: Upload, icon2: Check, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-blue-400\" },\n { id: \"23\", label: \"Account\", icon1: User, icon2: UserCheck, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-emerald-400\" },\n { id: \"24\", label: \"Submit\", icon1: Send, icon2: Check, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-emerald-400\" },\n { id: \"25\", label: \"Edit\", icon1: Pen, icon2: Check, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-emerald-400\" },\n { id: \"26\", label: \"Network\", icon1: Wifi, icon2: WifiOff, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-red-400\" },\n { id: \"27\", label: \"Power\", icon1: Battery, icon2: BatteryCharging, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-emerald-400\" },\n { id: \"28\", label: \"Expand\", icon1: Maximize, icon2: Minimize, interactionType: \"morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-white\" },\n { id: \"29\", label: \"Reload\", icon1: RefreshCw, interactionType: \"rotate\", hoverBg: \"#1f1f1f\" },\n { id: \"30\", label: \"Favorite\", icon1: Star, icon2: Star, interactionType: \"color-morph\", hoverBg: \"#1f1f1f\", icon2Color: \"text-yellow-400 fill-yellow-400\" },\n { id: \"31\", label: \"Glare Shine\", icon1: Star, interactionType: \"glare\", hoverBg: \"#1f1f1f\" },\n { id: \"32\", label: \"Text Reveal\", icon1: ArrowRight, interactionType: \"text-reveal\", hoverBg: \"#1f1f1f\" },\n { id: \"33\", label: \"Magnetic Field\", icon1: Github, interactionType: \"magnetic\", hoverBg: \"#1f1f1f\" },\n { id: \"34\", label: \"Expand Ring\", icon1: Link, interactionType: \"expand-ring\", hoverBg: \"#1f1f1f\" },\n { id: \"35\", label: \"Focus Blur Links\", icon1: Link, interactionType: \"focus-blur\", hoverBg: \"#1f1f1f\" }\n];\n\n// 27.tsx\nimport { jsx as jsx5 } from \"react/jsx-runtime\";\nfunction Demo() {\n const config = buttonsData.find((button) => button.id === \"27\");\n if (!config) return null;\n return /* @__PURE__ */ jsx5(AnimatedButton, { config, layoutMode: \"grid\", theme: \"dark\" });\n}\nexport {\n Demo as default\n};\n",
5
+ "dependencies": [
6
+ "lucide-react",
7
+ "motion"
8
+ ],
9
+ "css": "",
10
+ "usage": "import MovaComponent from './27';\n\nexport default function Demo() {\n return <MovaComponent />;\n}",
11
+ "exports": [
12
+ "default"
13
+ ]
14
+ }