nexi-agent 0.1.1 → 0.3.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.
package/dist/demo.cjs CHANGED
@@ -22,33 +22,190 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
22
22
  var demo_exports = {};
23
23
  __export(demo_exports, {
24
24
  agentScreenDemo: () => agentScreenDemo,
25
+ animatedModalDemo: () => animatedModalDemo,
26
+ animatedTabsDemo: () => animatedTabsDemo,
27
+ animatedTestimonialsDemo: () => animatedTestimonialsDemo,
28
+ animatedTooltipDemo: () => animatedTooltipDemo,
25
29
  approvalCardDemo: () => approvalCardDemo,
30
+ arcGlobeDemo: () => arcGlobeDemo,
31
+ asciiArtDemo: () => asciiArtDemo,
32
+ auroraBackgroundDemo: () => auroraBackgroundDemo,
33
+ backgroundBeamsDemo: () => backgroundBeamsDemo,
34
+ backgroundBoxesDemo: () => backgroundBoxesDemo,
35
+ backgroundCubesGridDemo: () => backgroundCubesGridDemo,
36
+ backgroundGradientAnimationDemo: () => backgroundGradientAnimationDemo,
37
+ backgroundGradientDemo: () => backgroundGradientDemo,
38
+ backgroundLinesDemo: () => backgroundLinesDemo,
39
+ backgroundRippleEffectDemo: () => backgroundRippleEffectDemo,
40
+ beamsWithCollisionDemo: () => beamsWithCollisionDemo,
41
+ bentoGridDemo: () => bentoGridDemo,
42
+ bentoGridItemDemo: () => bentoGridItemDemo,
43
+ blendCursorDemo: () => blendCursorDemo,
44
+ burstIconDemo: () => burstIconDemo,
45
+ canvasRevealEffectDemo: () => canvasRevealEffectDemo,
46
+ canvasTextDemo: () => canvasTextDemo,
47
+ captionHoverDemo: () => captionHoverDemo,
48
+ card3DDemo: () => card3DDemo,
49
+ card3DItemDemo: () => card3DItemDemo,
50
+ cardHoverEffectDemo: () => cardHoverEffectDemo,
51
+ cardStackDemo: () => cardStackDemo,
52
+ cardsCarouselDemo: () => cardsCarouselDemo,
53
+ carousel3DDemo: () => carousel3DDemo,
26
54
  chatComposerDemo: () => chatComposerDemo,
55
+ chromaticImageDemo: () => chromaticImageDemo,
56
+ cipherCardDemo: () => cipherCardDemo,
57
+ circularTextDemo: () => circularTextDemo,
58
+ cloudShaderDemo: () => cloudShaderDemo,
27
59
  codeBlockDemo: () => codeBlockDemo,
60
+ colourfulTextDemo: () => colourfulTextDemo,
61
+ cometCardDemo: () => cometCardDemo,
62
+ compareDemo: () => compareDemo,
63
+ containerCoverDemo: () => containerCoverDemo,
64
+ containerScrollAnimationDemo: () => containerScrollAnimationDemo,
65
+ containerTextFlipDemo: () => containerTextFlipDemo,
28
66
  contextCardsDemo: () => contextCardsDemo,
67
+ countUpDemo: () => countUpDemo,
29
68
  dialogDemo: () => dialogDemo,
30
69
  diffTableDemo: () => diffTableDemo,
70
+ directionAwareHoverDemo: () => directionAwareHoverDemo,
71
+ ditherShaderDemo: () => ditherShaderDemo,
72
+ dottedGlowBackgroundDemo: () => dottedGlowBackgroundDemo,
73
+ draggableCardsDemo: () => draggableCardsDemo,
74
+ draggableGridDemo: () => draggableGridDemo,
75
+ drawPathDemo: () => drawPathDemo,
76
+ effectButtonDemo: () => effectButtonDemo,
31
77
  emptyStateDemo: () => emptyStateDemo,
78
+ encryptedTextDemo: () => encryptedTextDemo,
32
79
  errorStateDemo: () => errorStateDemo,
80
+ expandableCardDemo: () => expandableCardDemo,
81
+ expandingPanelsDemo: () => expandingPanelsDemo,
82
+ fileUploadDemo: () => fileUploadDemo,
33
83
  filterTableDemo: () => filterTableDemo,
34
84
  fineTuneCardDemo: () => fineTuneCardDemo,
85
+ flipGridDemo: () => flipGridDemo,
86
+ flipWordsDemo: () => flipWordsDemo,
87
+ floatingDockDemo: () => floatingDockDemo,
88
+ floatingNavbarDemo: () => floatingNavbarDemo,
35
89
  flowchartDemo: () => flowchartDemo,
90
+ focusCardsDemo: () => focusCardsDemo,
91
+ followingPointerDemo: () => followingPointerDemo,
92
+ glareCardDemo: () => glareCardDemo,
93
+ glitchImageDemo: () => glitchImageDemo,
94
+ glitchTextDemo: () => glitchTextDemo,
95
+ globeDemo: () => globeDemo,
96
+ glowInputDemo: () => glowInputDemo,
97
+ glowingEffectDemo: () => glowingEffectDemo,
98
+ glowingStarsDemo: () => glowingStarsDemo,
99
+ gooeyInputDemo: () => gooeyInputDemo,
100
+ gooeyStickyMenuDemo: () => gooeyStickyMenuDemo,
101
+ gravityTagsDemo: () => gravityTagsDemo,
102
+ gridBackgroundDemo: () => gridBackgroundDemo,
103
+ heroHighlightDemo: () => heroHighlightDemo,
104
+ heroParallaxDemo: () => heroParallaxDemo,
105
+ highlightDemo: () => highlightDemo,
106
+ horizontalScrollDemo: () => horizontalScrollDemo,
107
+ hoverBorderGradientDemo: () => hoverBorderGradientDemo,
108
+ hoverRevealListDemo: () => hoverRevealListDemo,
109
+ imageDistortHoverDemo: () => imageDistortHoverDemo,
110
+ imageGenerationLoaderDemo: () => imageGenerationLoaderDemo,
111
+ imageSequenceDemo: () => imageSequenceDemo,
112
+ imageTrailDemo: () => imageTrailDemo,
113
+ imagesBadgeDemo: () => imagesBadgeDemo,
114
+ imagesSliderDemo: () => imagesSliderDemo,
115
+ inertiaSliderDemo: () => inertiaSliderDemo,
116
+ infiniteMovingCardsDemo: () => infiniteMovingCardsDemo,
36
117
  insightCardsDemo: () => insightCardsDemo,
118
+ keyboardDemo: () => keyboardDemo,
119
+ lampEffectDemo: () => lampEffectDemo,
120
+ laptopScrollDemo: () => laptopScrollDemo,
121
+ layoutGridDemo: () => layoutGridDemo,
122
+ layoutTextFlipDemo: () => layoutTextFlipDemo,
123
+ lensDemo: () => lensDemo,
124
+ linkHoverDemo: () => linkHoverDemo,
125
+ linkPreviewDemo: () => linkPreviewDemo,
126
+ liquidGlassDemo: () => liquidGlassDemo,
37
127
  loadingStateDemo: () => loadingStateDemo,
128
+ loopSliderDemo: () => loopSliderDemo,
129
+ magneticButtonDemo: () => magneticButtonDemo,
130
+ magneticCursorDemo: () => magneticCursorDemo,
38
131
  markdownDemo: () => markdownDemo,
132
+ marquee3DDemo: () => marquee3DDemo,
133
+ marqueeMenuDemo: () => marqueeMenuDemo,
39
134
  messageThreadDemo: () => messageThreadDemo,
135
+ meteorsDemo: () => meteorsDemo,
136
+ morphingBlobDemo: () => morphingBlobDemo,
137
+ motionPathDemo: () => motionPathDemo,
138
+ movingBorderDemo: () => movingBorderDemo,
139
+ navbarMenuDemo: () => navbarMenuDemo,
140
+ noiseBackgroundDemo: () => noiseBackgroundDemo,
141
+ notchDemo: () => notchDemo,
142
+ offCanvasMenuDemo: () => offCanvasMenuDemo,
143
+ pageTransitionDemo: () => pageTransitionDemo,
144
+ parallaxHeroImagesDemo: () => parallaxHeroImagesDemo,
145
+ parallaxScrollDemo: () => parallaxScrollDemo,
146
+ particleButtonDemo: () => particleButtonDemo,
147
+ particleTextDemo: () => particleTextDemo,
148
+ pin3DDemo: () => pin3DDemo,
149
+ pixelatedCanvasDemo: () => pixelatedCanvasDemo,
150
+ pointerHighlightDemo: () => pointerHighlightDemo,
151
+ preloaderCounterDemo: () => preloaderCounterDemo,
40
152
  promptBarDemo: () => promptBarDemo,
153
+ rainGlassDemo: () => rainGlassDemo,
41
154
  recommendationCardDemo: () => recommendationCardDemo,
42
155
  recordsTableDemo: () => recordsTableDemo,
156
+ resizableNavbarDemo: () => resizableNavbarDemo,
157
+ rollingTextDemo: () => rollingTextDemo,
158
+ scalesDemo: () => scalesDemo,
159
+ scrollGridDemo: () => scrollGridDemo,
160
+ scrollLayoutSwitchDemo: () => scrollLayoutSwitchDemo,
161
+ scrollPathsEffectDemo: () => scrollPathsEffectDemo,
162
+ scrollToTopDemo: () => scrollToTopDemo,
163
+ scrollTypographyDemo: () => scrollTypographyDemo,
164
+ scrollZoomImageDemo: () => scrollZoomImageDemo,
165
+ seamTransitionDemo: () => seamTransitionDemo,
43
166
  searchListDemo: () => searchListDemo,
44
167
  selectionActionsDemo: () => selectionActionsDemo,
168
+ shapeMorphDemo: () => shapeMorphDemo,
169
+ shootingStarsDemo: () => shootingStarsDemo,
45
170
  sidebarNavDemo: () => sidebarNavDemo,
171
+ signupFormDemo: () => signupFormDemo,
172
+ smoothScrollDemo: () => smoothScrollDemo,
173
+ sparklesDemo: () => sparklesDemo,
174
+ splitTextRevealDemo: () => splitTextRevealDemo,
175
+ spotlightCardDemo: () => spotlightCardDemo,
176
+ spotlightDemo: () => spotlightDemo,
177
+ spotlightNewDemo: () => spotlightNewDemo,
178
+ squigglyTextDemo: () => squigglyTextDemo,
179
+ stackedScrollCardsDemo: () => stackedScrollCardsDemo,
180
+ staggerGridDemo: () => staggerGridDemo,
181
+ statefulButtonDemo: () => statefulButtonDemo,
182
+ stickyBannerDemo: () => stickyBannerDemo,
183
+ stickyScrollRevealDemo: () => stickyScrollRevealDemo,
46
184
  streamingTextDemo: () => streamingTextDemo,
185
+ svgMaskEffectDemo: () => svgMaskEffectDemo,
186
+ swipeSectionsDemo: () => swipeSectionsDemo,
47
187
  taskRowsDemo: () => taskRowsDemo,
188
+ terminalDemo: () => terminalDemo,
189
+ textFlippingBoardDemo: () => textFlippingBoardDemo,
190
+ textHoverEffectDemo: () => textHoverEffectDemo,
191
+ textOnPathDemo: () => textOnPathDemo,
192
+ textRevealCardDemo: () => textRevealCardDemo,
48
193
  thinkingStateDemo: () => thinkingStateDemo,
49
194
  thinkingStateDemos: () => thinkingStateDemos,
195
+ tileRevealDemo: () => tileRevealDemo,
196
+ timelineDemo: () => timelineDemo,
50
197
  toolChipsDemo: () => toolChipsDemo,
51
- usageMeterDemo: () => usageMeterDemo
198
+ tooltipCardDemo: () => tooltipCardDemo,
199
+ tracingBeamDemo: () => tracingBeamDemo,
200
+ transitionOverlayDemo: () => transitionOverlayDemo,
201
+ typewriterDemo: () => typewriterDemo,
202
+ usageMeterDemo: () => usageMeterDemo,
203
+ velocityMarqueeDemo: () => velocityMarqueeDemo,
204
+ vortexDemo: () => vortexDemo,
205
+ wavyBackgroundDemo: () => wavyBackgroundDemo,
206
+ webcamPixelGridDemo: () => webcamPixelGridDemo,
207
+ wobbleCardDemo: () => wobbleCardDemo,
208
+ worldMapDemo: () => worldMapDemo
52
209
  });
53
210
  module.exports = __toCommonJS(demo_exports);
54
211
 
@@ -318,8 +475,8 @@ function chartIndexFromPointer(event, pointCount) {
318
475
  const progress = Math.max(0, Math.min(1, (event.clientX - rect.left) / rect.width));
319
476
  return Math.round(progress * (pointCount - 1));
320
477
  }
321
- function ChartTooltip({ rows: rows2 }) {
322
- return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { className: "insight-chart-tooltip", children: rows2.map((row) => /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("span", { className: "insight-chart-tooltip-item", children: [
478
+ function ChartTooltip({ rows: rows3 }) {
479
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { className: "insight-chart-tooltip", children: rows3.map((row) => /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("span", { className: "insight-chart-tooltip-item", children: [
323
480
  /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { className: "insight-chart-tooltip-dot", style: { background: row.color } }),
324
481
  row.value
325
482
  ] }, row.label)) });
@@ -479,7 +636,7 @@ function InsightAnomalyCard({
479
636
  }
480
637
  function InsightAllocationCard({
481
638
  title,
482
- icon: icon2,
639
+ icon: icon3,
483
640
  segments = [],
484
641
  description,
485
642
  groupLabel = "Allocation segments"
@@ -488,7 +645,7 @@ function InsightAllocationCard({
488
645
  const active = segments.find((segment) => segment.name === selected) ?? segments[0];
489
646
  return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { className: "min-h-[278px] rounded-card bg-surface p-3 shadow-hairline", children: [
490
647
  /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("span", { className: "flex items-center gap-1.5 text-[12px] font-medium text-ink", children: [
491
- icon2 !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { className: `flex size-3.5 items-center justify-center rounded-full text-[8px] font-bold text-white ${segments[0]?.cls ?? "bg-orange"}`, children: icon2 }),
648
+ icon3 !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { className: `flex size-3.5 items-center justify-center rounded-full text-[8px] font-bold text-white ${segments[0]?.cls ?? "bg-orange"}`, children: icon3 }),
492
649
  title
493
650
  ] }),
494
651
  /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { className: "mt-1 block min-h-[30px] text-[20px] font-semibold tracking-[-0.01em] text-ink tabular-nums", children: active?.amount }),
@@ -879,9 +1036,9 @@ function parseBlocks(source) {
879
1036
  if (line.includes("|") && i + 1 < lines.length && /^\s*\|?\s*:?-{2,}/.test(lines[i + 1])) {
880
1037
  const head = splitRow(line);
881
1038
  i += 2;
882
- const rows2 = [];
883
- while (i < lines.length && lines[i].includes("|") && lines[i].trim()) rows2.push(splitRow(lines[i++]));
884
- blocks.push({ kind: "table", head, rows: rows2 });
1039
+ const rows3 = [];
1040
+ while (i < lines.length && lines[i].includes("|") && lines[i].trim()) rows3.push(splitRow(lines[i++]));
1041
+ blocks.push({ kind: "table", head, rows: rows3 });
885
1042
  continue;
886
1043
  }
887
1044
  const body = [];
@@ -985,13 +1142,13 @@ function Markdown({ content = "", onLinkClick, onCopyCode, className = "" } = {}
985
1142
  var import_react4 = require("react");
986
1143
  var import_jsx_runtime6 = require("react/jsx-runtime");
987
1144
  var STAGES = [800, 600, 1800, 2600, 1600];
988
- function useSequence(steps) {
1145
+ function useSequence(steps3) {
989
1146
  const [stage, setStage] = (0, import_react4.useState)(0);
990
1147
  (0, import_react4.useEffect)(() => {
991
- if (stage >= steps.length - 1) return;
992
- const t = setTimeout(() => setStage((s) => s + 1), steps[stage]);
1148
+ if (stage >= steps3.length - 1) return;
1149
+ const t = setTimeout(() => setStage((s) => s + 1), steps3[stage]);
993
1150
  return () => clearTimeout(t);
994
- }, [stage, steps]);
1151
+ }, [stage, steps3]);
995
1152
  return stage;
996
1153
  }
997
1154
  var STATUS = {
@@ -1010,12 +1167,12 @@ var TONES = ["bg-accent", "bg-orange", "bg-green"];
1010
1167
  function ThinkingState({
1011
1168
  variant = "Steps",
1012
1169
  onSettled,
1013
- rows: rows2 = [],
1170
+ rows: rows3 = [],
1014
1171
  query,
1015
1172
  more,
1016
1173
  active,
1017
1174
  done,
1018
- icon: icon2,
1175
+ icon: icon3,
1019
1176
  className = ""
1020
1177
  } = {}) {
1021
1178
  const stage = useSequence(STAGES);
@@ -1023,7 +1180,7 @@ function ThinkingState({
1023
1180
  const [selectedTool, setSelectedTool] = (0, import_react4.useState)(null);
1024
1181
  const base = STATUS[variant] ?? STATUS.Steps;
1025
1182
  const v = {
1026
- rows: rows2,
1183
+ rows: rows3,
1027
1184
  query,
1028
1185
  active: active ?? base.active,
1029
1186
  done: done ?? base.done
@@ -1060,7 +1217,7 @@ function ThinkingState({
1060
1217
  onClick: () => setManualExpanded((current) => !(current ?? autoExpanded)),
1061
1218
  className: "-mx-1.5 flex w-fit items-center gap-2 rounded-control px-1.5 py-1\n transition-colors duration-100 hover:bg-hover-2",
1062
1219
  children: [
1063
- icon2 ? /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { className: "flex shrink-0 transition-colors duration-200", style: { color: working ? "var(--ink-2)" : "var(--ink-3)" }, children: icon2 }) : /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: working ? "var(--ink-2)" : "var(--ink-3)", children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M12 2l2.4 7.2L22 12l-7.6 2.8L12 22l-2.4-7.2L2 12l7.6-2.8z" }) }),
1220
+ icon3 ? /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { className: "flex shrink-0 transition-colors duration-200", style: { color: working ? "var(--ink-2)" : "var(--ink-3)" }, children: icon3 }) : /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: working ? "var(--ink-2)" : "var(--ink-3)", children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M12 2l2.4 7.2L22 12l-7.6 2.8L12 22l-2.4-7.2L2 12l7.6-2.8z" }) }),
1064
1221
  /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { role: "status", className: "contents", children: working ? /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1065
1222
  "span",
1066
1223
  {
@@ -1759,35 +1916,2126 @@ var usageMeterDemo = {
1759
1916
  ],
1760
1917
  hint: "Resets in 3 days"
1761
1918
  };
1919
+
1920
+ // src/demo/AnimatedTabs.tsx
1921
+ var import_jsx_runtime15 = require("react/jsx-runtime");
1922
+ function Panel({ title, tone }) {
1923
+ return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { className: "h-full w-full rounded-window p-6 text-white", style: { background: tone }, children: [
1924
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("p", { className: "text-[22px] font-bold", children: title }),
1925
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("p", { className: "mt-2 max-w-xs text-[13px] text-white/75", children: "Everything your agent needs for this stage, in one panel." })
1926
+ ] });
1927
+ }
1928
+ var animatedTabsDemo = {
1929
+ tabs: [
1930
+ { title: "Plan", value: "plan", content: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(Panel, { title: "Plan", tone: "linear-gradient(135deg,#6d5df5,#3b2fb0)" }) },
1931
+ { title: "Research", value: "research", content: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(Panel, { title: "Research", tone: "linear-gradient(135deg,#2f8f6b,#1d5e46)" }) },
1932
+ { title: "Build", value: "build", content: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(Panel, { title: "Build", tone: "linear-gradient(135deg,#e08a3c,#a85a17)" }) },
1933
+ { title: "Review", value: "review", content: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(Panel, { title: "Review", tone: "linear-gradient(135deg,#d6456a,#952442)" }) }
1934
+ ]
1935
+ };
1936
+
1937
+ // src/demo/AnimatedTooltip.ts
1938
+ var animatedTooltipDemo = {
1939
+ items: [
1940
+ { id: 1, name: "Planner", designation: "Breaks goals into steps", color: "#6d5df5" },
1941
+ { id: 2, name: "Researcher", designation: "Searches and cites sources", color: "#2f8f6b" },
1942
+ { id: 3, name: "Coder", designation: "Writes and edits code", color: "#e08a3c" },
1943
+ { id: 4, name: "Reviewer", designation: "Checks the work", color: "#d6456a" },
1944
+ { id: 5, name: "Operator", designation: "Runs tools on your behalf", color: "#2f7ad6" }
1945
+ ]
1946
+ };
1947
+
1948
+ // src/demo/BentoGrid.tsx
1949
+ var import_jsx_runtime16 = require("react/jsx-runtime");
1950
+ var icon2 = (d) => /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("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__ */ (0, import_jsx_runtime16.jsx)("path", { d }) });
1951
+ var skeleton = (tone) => /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1952
+ "div",
1953
+ {
1954
+ className: "min-h-24 w-full flex-1 rounded-card shadow-hairline",
1955
+ style: { background: `linear-gradient(135deg, var(${tone}), var(--inset))` }
1956
+ }
1957
+ );
1958
+ var bentoGridItemDemo = {
1959
+ title: "Reasoning traces",
1960
+ description: "See every step the agent took.",
1961
+ icon: icon2("M4 6h16M4 12h10M4 18h6"),
1962
+ header: skeleton("--accent-tint")
1963
+ };
1964
+ var bentoGridDemo = {
1965
+ items: [
1966
+ { ...bentoGridItemDemo, className: "md:col-span-2" },
1967
+ {
1968
+ title: "Tool calls",
1969
+ description: "Compact, expandable rows.",
1970
+ icon: icon2("M14.7 6.3a4 4 0 0 0-5.4 5.4L3 18l3 3 6.3-6.3a4 4 0 0 0 5.4-5.4"),
1971
+ header: skeleton("--green-tint")
1972
+ },
1973
+ { title: "Approvals", description: "Ask before acting.", icon: icon2("M5 12.5l4.5 4.5L19 7"), header: skeleton("--orange-tint") },
1974
+ {
1975
+ title: "Streaming",
1976
+ description: "Answers that resolve word by word, with sources.",
1977
+ icon: icon2("M4 12h4l3-8 4 16 3-8h2"),
1978
+ header: skeleton("--red-tint"),
1979
+ className: "md:col-span-2"
1980
+ }
1981
+ ]
1982
+ };
1983
+
1984
+ // src/demo/EncryptedText.ts
1985
+ var encryptedTextDemo = {
1986
+ text: "Decrypting the agent's reasoning\u2026"
1987
+ };
1988
+
1989
+ // src/demo/FileUpload.ts
1990
+ var fileUploadDemo = {
1991
+ accept: "image/*,.pdf,.csv",
1992
+ labels: { title: "Upload file", hint: "Drag or drop your files here or click to upload" }
1993
+ };
1994
+
1995
+ // src/demo/FlipWords.ts
1996
+ var flipWordsDemo = {
1997
+ words: ["reason", "plan", "search", "act"]
1998
+ };
1999
+
2000
+ // src/demo/FloatingDock.tsx
2001
+ var import_jsx_runtime17 = require("react/jsx-runtime");
2002
+ var stroke = { fill: "none", stroke: "currentColor", strokeWidth: 1.8, strokeLinecap: "round", strokeLinejoin: "round" };
2003
+ var floatingDockDemo = {
2004
+ items: [
2005
+ { title: "Home", icon: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("svg", { viewBox: "0 0 24 24", ...stroke, children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("path", { d: "M3 11l9-8 9 8v9a1 1 0 0 1-1 1h-5v-6h-6v6H4a1 1 0 0 1-1-1z" }) }) },
2006
+ { title: "Chats", icon: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("svg", { viewBox: "0 0 24 24", ...stroke, children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("path", { d: "M21 12a8 8 0 0 1-11.6 7.1L4 20l1-4.6A8 8 0 1 1 21 12z" }) }) },
2007
+ { title: "Agents", icon: /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("svg", { viewBox: "0 0 24 24", ...stroke, children: [
2008
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("rect", { x: "5", y: "8", width: "14", height: "11", rx: "3" }),
2009
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("path", { d: "M12 4v4M9 13h.01M15 13h.01" })
2010
+ ] }) },
2011
+ { title: "Tools", icon: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("svg", { viewBox: "0 0 24 24", ...stroke, children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("path", { d: "M14.7 6.3a4 4 0 0 0-5.4 5.4L3 18l3 3 6.3-6.3a4 4 0 0 0 5.4-5.4l-2.5 2.5-2.5-2.5z" }) }) },
2012
+ { title: "Files", icon: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("svg", { viewBox: "0 0 24 24", ...stroke, children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("path", { d: "M4 5a1 1 0 0 1 1-1h5l2 2h7a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1z" }) }) },
2013
+ { title: "Settings", icon: /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("svg", { viewBox: "0 0 24 24", ...stroke, children: [
2014
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("circle", { cx: "12", cy: "12", r: "3" }),
2015
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("path", { d: "M12 2v3M12 19v3M4.2 4.2l2.1 2.1M17.7 17.7l2.1 2.1M2 12h3M19 12h3M4.2 19.8l2.1-2.1M17.7 6.3l2.1-2.1" })
2016
+ ] }) }
2017
+ ]
2018
+ };
2019
+
2020
+ // src/demo/GlareCard.tsx
2021
+ var import_jsx_runtime18 = require("react/jsx-runtime");
2022
+ var glareCardDemo = {
2023
+ children: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "flex h-full flex-col justify-end bg-[linear-gradient(160deg,oklch(30%_0.06_260),oklch(16%_0.03_270))] p-6", children: [
2024
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("svg", { width: "36", height: "36", viewBox: "0 0 24 24", fill: "none", stroke: "white", strokeWidth: "1.5", "aria-hidden": true, children: [
2025
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("circle", { cx: "12", cy: "12", r: "9" }),
2026
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("path", { d: "M12 3v18M3 12h18M5.6 5.6l12.8 12.8M18.4 5.6L5.6 18.4", opacity: "0.5" })
2027
+ ] }),
2028
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("p", { className: "mt-4 text-[20px] font-semibold text-white", children: "Research agent" }),
2029
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("p", { className: "mt-1 text-[13px] text-white/60", children: "Reads, cites and summarises in seconds." })
2030
+ ] })
2031
+ };
2032
+
2033
+ // src/demo/GridBackground.tsx
2034
+ var import_jsx_runtime19 = require("react/jsx-runtime");
2035
+ var gridBackgroundDemo = {
2036
+ variant: "grid",
2037
+ children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("p", { className: "bg-gradient-to-b from-ink to-ink-3 bg-clip-text py-6 text-center text-[36px] font-bold tracking-tight text-transparent", children: "Backgrounds" })
2038
+ };
2039
+
2040
+ // src/demo/HoverBorderGradient.ts
2041
+ var hoverBorderGradientDemo = {
2042
+ children: "Ask the agent"
2043
+ };
2044
+
2045
+ // src/demo/Meteors.tsx
2046
+ var import_jsx_runtime20 = require("react/jsx-runtime");
2047
+ var meteorsDemo = {
2048
+ number: 20,
2049
+ children: /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(import_jsx_runtime20.Fragment, { children: [
2050
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("span", { className: "mb-4 flex size-8 items-center justify-center rounded-full bg-inset shadow-hairline", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("svg", { width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", className: "text-ink-2", "aria-hidden": true, children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("path", { d: "M7 17L17 7M7 7h10v10" }) }) }),
2051
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("p", { className: "text-[18px] font-semibold text-ink", children: "Meteors because they're cool" }),
2052
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("p", { className: "mt-2 text-[13px] leading-relaxed text-ink-2", children: "Shooting through the background while your agent works through the night, without a single frame of JavaScript after mount." }),
2053
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("span", { className: "mt-4 inline-flex rounded-full px-3 py-1 text-[12px] text-ink shadow-btn", children: "Explore" })
2054
+ ] })
2055
+ };
2056
+
2057
+ // src/demo/MovingBorder.ts
2058
+ var movingBorderDemo = {
2059
+ children: "Borders are cool"
2060
+ };
2061
+
2062
+ // src/demo/SpotlightCard.tsx
2063
+ var import_jsx_runtime21 = require("react/jsx-runtime");
2064
+ var steps = ["Enter your email address", "Create a strong password", "Set up two-factor auth", "Verify your identity"];
2065
+ var spotlightCardDemo = {
2066
+ children: /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(import_jsx_runtime21.Fragment, { children: [
2067
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("p", { className: "text-[17px] font-semibold text-ink", children: "Authentication steps" }),
2068
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("ul", { className: "mt-4 flex flex-col gap-2 text-[13px] text-ink-2", children: steps.map((step) => /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)("li", { className: "flex items-center gap-2", children: [
2069
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("svg", { width: "14", height: "14", viewBox: "0 0 24 24", className: "shrink-0 text-accent", fill: "currentColor", "aria-hidden": true, children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("path", { d: "M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.2 14.2l-4-4 1.4-1.4 2.6 2.6 5.6-5.6 1.4 1.4-7 7z" }) }),
2070
+ step
2071
+ ] }, step)) }),
2072
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("p", { className: "mt-4 text-[12.5px] leading-relaxed text-ink-3", children: "Your agent walks every new user through these before it can act on their behalf." })
2073
+ ] })
2074
+ };
2075
+
2076
+ // src/demo/StatefulButton.ts
2077
+ var statefulButtonDemo = {
2078
+ children: "Send message",
2079
+ // stands in for real work: the button spins until the promise settles
2080
+ onClick: () => new Promise((resolve) => setTimeout(resolve, 1600))
2081
+ };
2082
+
2083
+ // src/demo/Timeline.tsx
2084
+ var import_jsx_runtime22 = require("react/jsx-runtime");
2085
+ function Para({ children }) {
2086
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("p", { className: "mb-4 text-[13.5px] leading-relaxed text-ink-2", children });
2087
+ }
2088
+ function Tiles({ tones }) {
2089
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("div", { className: "grid grid-cols-2 gap-3", children: tones.map((t, i) => /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("div", { className: "h-20 rounded-card shadow-card md:h-32", style: { background: t } }, i)) });
2090
+ }
2091
+ var timelineDemo = {
2092
+ data: [
2093
+ {
2094
+ title: "v0.3",
2095
+ content: /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(import_jsx_runtime22.Fragment, { children: [
2096
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Para, { children: "Agents can now pause for approval before any tool that writes data." }),
2097
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Tiles, { tones: ["linear-gradient(135deg,#c7d2fe,#e0e7ff)", "linear-gradient(135deg,#bbf7d0,#dcfce7)"] })
2098
+ ] })
2099
+ },
2100
+ {
2101
+ title: "v0.2",
2102
+ content: /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(import_jsx_runtime22.Fragment, { children: [
2103
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Para, { children: "Streaming answers resolve word by word, with inline citations." }),
2104
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Tiles, { tones: ["linear-gradient(135deg,#fed7aa,#ffedd5)", "linear-gradient(135deg,#fbcfe8,#fce7f3)"] })
2105
+ ] })
2106
+ },
2107
+ {
2108
+ title: "v0.1",
2109
+ content: /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(import_jsx_runtime22.Fragment, { children: [
2110
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Para, { children: "First release: thinking traces, tool chips and the prompt bar." }),
2111
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("ul", { className: "flex flex-col gap-1.5 text-[13px] text-ink-2", children: ["ThinkingState", "ToolChips", "PromptBar"].map((c) => /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)("li", { className: "flex items-center gap-2", children: [
2112
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("span", { className: "size-1.5 rounded-full bg-green" }),
2113
+ " ",
2114
+ c
2115
+ ] }, c)) })
2116
+ ] })
2117
+ }
2118
+ ]
2119
+ };
2120
+
2121
+ // src/demo/Typewriter.ts
2122
+ var typewriterDemo = {
2123
+ words: [{ text: "Build" }, { text: "agents" }, { text: "with" }, { text: "nexi-agent.", className: "text-accent" }]
2124
+ };
2125
+
2126
+ // src/demo/AnimatedModal.tsx
2127
+ var import_jsx_runtime23 = require("react/jsx-runtime");
2128
+ var checks = ["Reads your CRM and inbox", "Drafts replies for approval", "Never sends without asking", "Full audit log"];
2129
+ var animatedModalDemo = {
2130
+ trigger: "Deploy agent",
2131
+ triggerIcon: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("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__ */ (0, import_jsx_runtime23.jsx)("path", { d: "M5 15c-1.5 1.5-2 5-2 5s3.5-.5 5-2M14 4c3 0 6 3 6 6l-7 7-6-6 7-7zM9 11l-3 1-2 3 3 1M13 15l-1 3-3 2-1-3" }) }),
2132
+ title: "Deploy the Research agent?",
2133
+ children: /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(import_jsx_runtime23.Fragment, { children: [
2134
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("div", { className: "mb-6 flex justify-center gap-3", children: ["#6d5df5", "#2f8f6b", "#e08a3c"].map((c, i) => /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
2135
+ "div",
2136
+ {
2137
+ className: "size-20 rounded-card shadow-raised",
2138
+ style: { background: c, transform: `rotate(${(i - 1) * 8}deg)` }
2139
+ },
2140
+ c
2141
+ )) }),
2142
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("ul", { className: "mx-auto grid max-w-sm grid-cols-2 gap-x-4 gap-y-2 text-[13px] text-ink-2", children: checks.map((c) => /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)("li", { className: "flex items-center gap-2", children: [
2143
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("span", { className: "size-1.5 shrink-0 rounded-full bg-green" }),
2144
+ c
2145
+ ] }, c)) })
2146
+ ] }),
2147
+ footer: (close) => /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(import_jsx_runtime23.Fragment, { children: [
2148
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("button", { type: "button", onClick: close, className: "rounded-full px-4 py-1.5 text-[13px] text-ink shadow-btn hover:bg-hover", children: "Cancel" }),
2149
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("button", { type: "button", onClick: close, className: "rounded-full bg-ink px-4 py-1.5 text-[13px] font-medium text-canvas", children: "Deploy" })
2150
+ ] })
2151
+ };
2152
+
2153
+ // src/demo/AnimatedTestimonials.ts
2154
+ var animatedTestimonialsDemo = {
2155
+ items: [
2156
+ {
2157
+ quote: "The approval cards changed how our team trusts automation. Nothing happens without a clear yes, and every step is on the record.",
2158
+ name: "Maya Chen",
2159
+ designation: "Head of Operations",
2160
+ color: "#6d5df5"
2161
+ },
2162
+ {
2163
+ quote: "We dropped the components in and had a working agent screen the same afternoon. The streaming and citations just work.",
2164
+ name: "Daniel Okafor",
2165
+ designation: "Product Lead",
2166
+ color: "#2f8f6b"
2167
+ },
2168
+ {
2169
+ quote: "Our users finally understand what the agent is doing. The thinking trace turned a black box into something they can follow.",
2170
+ name: "Priya Raman",
2171
+ designation: "Staff Engineer",
2172
+ color: "#e08a3c"
2173
+ },
2174
+ {
2175
+ quote: "It looks like we spent a year on design. We spent a week.",
2176
+ name: "Lucas Moreau",
2177
+ designation: "Design Engineer",
2178
+ color: "#d6456a"
2179
+ }
2180
+ ]
2181
+ };
2182
+
2183
+ // src/demo/AuroraBackground.tsx
2184
+ var import_jsx_runtime24 = require("react/jsx-runtime");
2185
+ var auroraBackgroundDemo = {
2186
+ children: /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("div", { className: "flex flex-col items-center gap-4 px-6 text-center", style: { animation: "fade-up 700ms cubic-bezier(0.23,1,0.32,1) both" }, children: [
2187
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("p", { className: "text-[32px] font-bold tracking-tight text-ink", children: "Your agents, working while you sleep." }),
2188
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("p", { className: "text-[15px] text-ink-2", children: "Plan, search and act \u2014 with approvals at every step." }),
2189
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("span", { className: "inline-flex rounded-full bg-ink px-4 py-2 text-[13px] font-medium text-canvas", children: "Get started" })
2190
+ ] })
2191
+ };
2192
+
2193
+ // src/demo/BackgroundBeams.tsx
2194
+ var import_jsx_runtime25 = require("react/jsx-runtime");
2195
+ var backgroundBeamsDemo = {
2196
+ children: /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("div", { className: "flex max-w-md flex-col items-center gap-3 px-6 text-center", children: [
2197
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("p", { className: "bg-gradient-to-b from-ink to-ink-3 bg-clip-text text-[34px] font-bold tracking-tight text-transparent", children: "Join the waitlist" }),
2198
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("p", { className: "text-[13.5px] leading-relaxed text-ink-2", children: "Be first to try agents that plan, search and act on your behalf, with approvals at every step." }),
2199
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { className: "mt-2 flex h-9 w-64 items-center rounded-full bg-surface px-4 text-[13px] text-ink-3 shadow-btn", children: "you@company.com" })
2200
+ ] })
2201
+ };
2202
+
2203
+ // src/effects/Card3D.tsx
2204
+ var import_react6 = require("react");
2205
+
2206
+ // src/effects/hooks.ts
2207
+ var import_react5 = require("react");
2208
+ function useReducedMotion() {
2209
+ const [reduce, setReduce] = (0, import_react5.useState)(false);
2210
+ (0, import_react5.useEffect)(() => {
2211
+ if (typeof window === "undefined" || !window.matchMedia) return;
2212
+ const mq = window.matchMedia("(prefers-reduced-motion: reduce)");
2213
+ setReduce(mq.matches);
2214
+ const onChange = (e) => setReduce(e.matches);
2215
+ mq.addEventListener("change", onChange);
2216
+ return () => mq.removeEventListener("change", onChange);
2217
+ }, []);
2218
+ return reduce;
2219
+ }
2220
+ function useInViewOnce(ref, rootMargin = "0px") {
2221
+ const [seen, setSeen] = (0, import_react5.useState)(false);
2222
+ (0, import_react5.useEffect)(() => {
2223
+ const el = ref.current;
2224
+ if (!el || seen) return;
2225
+ if (typeof IntersectionObserver === "undefined") {
2226
+ setSeen(true);
2227
+ return;
2228
+ }
2229
+ const io = new IntersectionObserver(
2230
+ (entries) => {
2231
+ if (entries.some((e) => e.isIntersecting)) {
2232
+ setSeen(true);
2233
+ io.disconnect();
2234
+ }
2235
+ },
2236
+ { rootMargin }
2237
+ );
2238
+ io.observe(el);
2239
+ return () => io.disconnect();
2240
+ }, [ref, rootMargin, seen]);
2241
+ return seen;
2242
+ }
2243
+
2244
+ // src/effects/Card3D.tsx
2245
+ var import_jsx_runtime26 = require("react/jsx-runtime");
2246
+ var HoverContext = (0, import_react6.createContext)(false);
2247
+ function Card3DItem({
2248
+ children,
2249
+ as: Tag = "div",
2250
+ translateZ = 0,
2251
+ translateX = 0,
2252
+ translateY = 0,
2253
+ rotateX = 0,
2254
+ rotateY = 0,
2255
+ rotateZ = 0,
2256
+ className,
2257
+ style
2258
+ }) {
2259
+ const hover = (0, import_react6.useContext)(HoverContext);
2260
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2261
+ Tag,
2262
+ {
2263
+ className: cn("[transform-style:preserve-3d]", className),
2264
+ style: {
2265
+ ...style,
2266
+ transform: hover ? `translate3d(${translateX}px, ${translateY}px, ${translateZ}px) rotateX(${rotateX}deg) rotateY(${rotateY}deg) rotateZ(${rotateZ}deg)` : "translate3d(0, 0, 0)",
2267
+ transition: "transform 300ms cubic-bezier(0.23, 1, 0.32, 1)"
2268
+ },
2269
+ children
2270
+ }
2271
+ );
2272
+ }
2273
+
2274
+ // src/demo/Card3D.tsx
2275
+ var import_jsx_runtime27 = require("react/jsx-runtime");
2276
+ var card3DItemDemo = {
2277
+ translateZ: 50,
2278
+ className: "text-[20px] font-bold text-ink",
2279
+ children: "Make things float in air"
2280
+ };
2281
+ var card3DDemo = {
2282
+ className: "w-[22rem] max-w-full rounded-window bg-surface p-6 shadow-card",
2283
+ children: /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(import_jsx_runtime27.Fragment, { children: [
2284
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Card3DItem, { ...card3DItemDemo }),
2285
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Card3DItem, { as: "p", translateZ: 60, className: "mt-2 max-w-sm text-[13px] text-ink-2", children: "Hover over this card to see each layer lift off by its own depth." }),
2286
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Card3DItem, { translateZ: 100, className: "mt-4 w-full", children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2287
+ "div",
2288
+ {
2289
+ className: "h-44 w-full rounded-card shadow-raised",
2290
+ style: { background: "linear-gradient(135deg, #6d5df5 0%, #2f7ad6 50%, #22d3ee 100%)" }
2291
+ }
2292
+ ) }),
2293
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: "mt-8 flex items-center justify-between [transform-style:preserve-3d]", children: [
2294
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Card3DItem, { translateZ: 20, className: "text-[12.5px] font-medium text-ink", children: "Try now \u2192" }),
2295
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Card3DItem, { translateZ: 20, className: "rounded-full bg-ink px-4 py-2 text-[12px] font-semibold text-canvas", children: "Sign up" })
2296
+ ] })
2297
+ ] })
2298
+ };
2299
+
2300
+ // src/demo/CardsCarousel.tsx
2301
+ var import_jsx_runtime28 = require("react/jsx-runtime");
2302
+ function Story({ lead }) {
2303
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { className: "flex flex-col gap-4 text-[15px] leading-relaxed text-ink-2", children: [
2304
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("p", { children: [
2305
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { className: "font-semibold text-ink", children: lead }),
2306
+ " Every step the agent takes is visible \u2014 what it read, which tools it called, and why it chose the answer it gave."
2307
+ ] }),
2308
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { className: "h-48 rounded-card shadow-hairline", style: { background: "linear-gradient(135deg, var(--accent-tint), var(--inset))" } }),
2309
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("p", { children: "When it needs to act, it asks first. You stay in control while it does the busy work." })
2310
+ ] });
2311
+ }
2312
+ var cardsCarouselDemo = {
2313
+ items: [
2314
+ {
2315
+ category: "Research",
2316
+ title: "Reading 1,200 papers so you don't have to.",
2317
+ background: "linear-gradient(160deg, #6d5df5, #1e1b4b)",
2318
+ content: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Story, { lead: "Research agents summarise and cite." })
2319
+ },
2320
+ {
2321
+ category: "Operations",
2322
+ title: "Reconcile invoices while you sleep.",
2323
+ background: "linear-gradient(160deg, #2f8f6b, #022c22)",
2324
+ content: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Story, { lead: "Operations agents run your workflows." })
2325
+ },
2326
+ {
2327
+ category: "Support",
2328
+ title: "Answer customers in seconds, not hours.",
2329
+ background: "linear-gradient(160deg, #e08a3c, #431407)",
2330
+ content: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Story, { lead: "Support agents know your docs." })
2331
+ },
2332
+ {
2333
+ category: "Coding",
2334
+ title: "Ship the fix before standup.",
2335
+ background: "linear-gradient(160deg, #2f7ad6, #0c1a3a)",
2336
+ content: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Story, { lead: "Coding agents read, edit and review." })
2337
+ },
2338
+ {
2339
+ category: "Sales",
2340
+ title: "Every lead followed up, every time.",
2341
+ background: "linear-gradient(160deg, #d6456a, #3b0a18)",
2342
+ content: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Story, { lead: "Sales agents draft and schedule." })
2343
+ }
2344
+ ]
2345
+ };
2346
+
2347
+ // src/demo/ImagesSlider.tsx
2348
+ var import_jsx_runtime29 = require("react/jsx-runtime");
2349
+ function scene(sky, hills, sun) {
2350
+ const svg = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 700" preserveAspectRatio="xMidYMid slice">
2351
+ <defs><linearGradient id="s" x1="0" y1="0" x2="0" y2="1"><stop offset="0" stop-color="${sky[0]}"/><stop offset="1" stop-color="${sky[1]}"/></linearGradient></defs>
2352
+ <rect width="1200" height="700" fill="url(#s)"/>
2353
+ <circle cx="840" cy="250" r="90" fill="${sun}" opacity="0.9"/>
2354
+ <path d="M0 470 Q200 360 420 440 T860 410 T1200 430 V700 H0Z" fill="${hills[0]}"/>
2355
+ <path d="M0 540 Q260 450 520 520 T1000 500 T1200 520 V700 H0Z" fill="${hills[1]}"/>
2356
+ <path d="M0 610 Q300 560 640 610 T1200 600 V700 H0Z" fill="${hills[2]}"/>
2357
+ </svg>`;
2358
+ return `data:image/svg+xml;charset=utf-8,${encodeURIComponent(svg)}`;
2359
+ }
2360
+ var imagesSliderDemo = {
2361
+ images: [
2362
+ scene(["#1e3a8a", "#f472b6"], ["#4c1d95", "#312e81", "#1e1b4b"], "#fde68a"),
2363
+ scene(["#0f766e", "#fef3c7"], ["#065f46", "#064e3b", "#022c22"], "#fff7ed"),
2364
+ scene(["#7c2d12", "#fdba74"], ["#9a3412", "#7c2d12", "#431407"], "#fef08a")
2365
+ ],
2366
+ children: /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)("div", { className: "flex flex-col items-center px-6 text-center", children: [
2367
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)("p", { className: "bg-gradient-to-b from-white to-white/70 bg-clip-text text-[34px] leading-tight font-bold text-transparent md:text-[48px]", children: [
2368
+ "Agents that see",
2369
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("br", {}),
2370
+ "the whole picture"
2371
+ ] }),
2372
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("span", { className: "mt-5 rounded-full border border-white/30 bg-white/10 px-4 py-2 text-[13px] text-white backdrop-blur-sm", children: "Join now \u2192" })
2373
+ ] })
2374
+ };
2375
+
2376
+ // src/demo/InfiniteMovingCards.ts
2377
+ var infiniteMovingCardsDemo = {
2378
+ speed: "slow",
2379
+ items: [
2380
+ { quote: "We replaced three internal tools with one agent panel. The approval cards alone saved our ops team hours a week.", name: "Maya Chen", title: "Head of Operations" },
2381
+ { quote: "Seeing the thinking trace made our users trust the answers. Support tickets about 'wrong' results dropped by half.", name: "Daniel Okafor", title: "Product Lead" },
2382
+ { quote: "The streaming text with citations is exactly what our research team asked for. It just dropped in.", name: "Priya Raman", title: "Staff Engineer" },
2383
+ { quote: "Tool chips turned a wall of JSON into something people actually read.", name: "Lucas Moreau", title: "Design Engineer" },
2384
+ { quote: "We shipped our agent UI in a week instead of a quarter.", name: "Sofia Alvarez", title: "CTO" }
2385
+ ]
2386
+ };
2387
+
2388
+ // src/demo/LampEffect.tsx
2389
+ var import_jsx_runtime30 = require("react/jsx-runtime");
2390
+ var lampEffectDemo = {
2391
+ children: /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("p", { className: "bg-gradient-to-br from-white to-white/50 bg-clip-text text-[36px] leading-tight font-semibold tracking-tight text-transparent md:text-[48px]", children: [
2392
+ "Build agents",
2393
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("br", {}),
2394
+ "the right way"
2395
+ ] })
2396
+ };
2397
+
2398
+ // src/demo/LinkPreview.ts
2399
+ var linkPreviewDemo = {
2400
+ url: "https://react.dev",
2401
+ children: "React",
2402
+ title: "React",
2403
+ description: "The library for web and native user interfaces."
2404
+ };
2405
+
2406
+ // src/demo/NavbarMenu.ts
2407
+ var navbarMenuDemo = {
2408
+ items: [
2409
+ {
2410
+ label: "Agents",
2411
+ links: [
2412
+ { title: "Research", href: "#research", description: "Searches, reads and cites sources for you." },
2413
+ { title: "Operations", href: "#operations", description: "Runs workflows across your tools." },
2414
+ { title: "Support", href: "#support", description: "Answers customers with your knowledge base." },
2415
+ { title: "Coding", href: "#coding", description: "Reads, edits and reviews your code." }
2416
+ ]
2417
+ },
2418
+ {
2419
+ label: "Tools",
2420
+ links: [
2421
+ { title: "Integrations", href: "#integrations" },
2422
+ { title: "Approvals", href: "#approvals" },
2423
+ { title: "Audit log", href: "#audit" },
2424
+ { title: "API", href: "#api" }
2425
+ ]
2426
+ },
2427
+ {
2428
+ label: "Pricing",
2429
+ links: [
2430
+ { title: "Hobby", href: "#hobby" },
2431
+ { title: "Team", href: "#team" },
2432
+ { title: "Enterprise", href: "#enterprise" }
2433
+ ]
2434
+ },
2435
+ { label: "Docs", href: "#docs" }
2436
+ ]
2437
+ };
2438
+
2439
+ // src/demo/Sparkles.tsx
2440
+ var import_jsx_runtime31 = require("react/jsx-runtime");
2441
+ var sparklesDemo = {
2442
+ density: 140,
2443
+ children: /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)("div", { className: "flex flex-col items-center", children: [
2444
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("p", { className: "text-center text-[44px] font-bold tracking-tight text-ink", children: "nexi-agent" }),
2445
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)("div", { className: "relative mt-1 h-6 w-72", children: [
2446
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("div", { className: "absolute inset-x-10 top-0 h-[2px] w-3/4 bg-gradient-to-r from-transparent via-accent to-transparent blur-sm" }),
2447
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("div", { className: "absolute inset-x-10 top-0 h-px w-3/4 bg-gradient-to-r from-transparent via-accent to-transparent" }),
2448
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("div", { className: "absolute inset-x-24 top-0 h-[4px] w-1/3 bg-gradient-to-r from-transparent via-[#a78bfa] to-transparent blur-sm" })
2449
+ ] })
2450
+ ] })
2451
+ };
2452
+
2453
+ // src/demo/BackgroundBoxes.tsx
2454
+ var import_jsx_runtime32 = require("react/jsx-runtime");
2455
+ var backgroundBoxesDemo = {
2456
+ children: /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: "flex max-w-lg flex-col items-center gap-3 px-6 text-center", children: [
2457
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("p", { className: "text-[32px] leading-tight font-bold tracking-tight text-ink", children: "Leave a trail" }),
2458
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("p", { className: "text-[14px] leading-relaxed text-ink-2", children: "Sweep your pointer across the floor and watch the tiles light up behind it." })
2459
+ ] })
2460
+ };
2461
+
2462
+ // src/demo/BackgroundCubesGrid.tsx
2463
+ var import_jsx_runtime33 = require("react/jsx-runtime");
2464
+ var backgroundCubesGridDemo = {
2465
+ children: /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("div", { className: "flex max-w-lg flex-col items-center gap-3 px-6 text-center", children: [
2466
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("p", { className: "text-[32px] leading-tight font-bold tracking-tight text-ink", children: "Raise the floor" }),
2467
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("p", { className: "text-[14px] leading-relaxed text-ink-2", children: "Move your pointer over the cubes and they rise to meet it." })
2468
+ ] })
2469
+ };
2470
+
2471
+ // src/demo/BackgroundGradient.tsx
2472
+ var import_jsx_runtime34 = require("react/jsx-runtime");
2473
+ var backgroundGradientDemo = {
2474
+ className: "max-w-sm p-6",
2475
+ children: /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(import_jsx_runtime34.Fragment, { children: [
2476
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { className: "h-36 rounded-card shadow-hairline", style: { background: "linear-gradient(135deg, var(--accent-tint), var(--inset))" } }),
2477
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("p", { className: "mt-5 text-[17px] font-semibold text-ink", children: "Research agent \u2014 Pro" }),
2478
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("p", { className: "mt-1.5 text-[13px] leading-relaxed text-ink-2", children: "Unlimited searches, longer reasoning and priority tool access for your hardest questions." }),
2479
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("span", { className: "mt-4 inline-flex items-center gap-2 rounded-full bg-ink px-3 py-1 text-[12px] font-semibold text-canvas", children: [
2480
+ "Upgrade",
2481
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("span", { className: "rounded-full bg-canvas/20 px-1.5 text-[11px]", children: "$20" })
2482
+ ] })
2483
+ ] })
2484
+ };
2485
+
2486
+ // src/demo/BackgroundGradientAnimation.tsx
2487
+ var import_jsx_runtime35 = require("react/jsx-runtime");
2488
+ var backgroundGradientAnimationDemo = {
2489
+ children: /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("div", { className: "flex max-w-lg flex-col items-center gap-3 px-6 text-center", children: [
2490
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("p", { className: "text-[32px] leading-tight font-bold tracking-tight text-white", children: "Gradients that follow you" }),
2491
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("p", { className: "text-[14px] leading-relaxed text-white/75", children: "Move your pointer across the panel \u2014 one of the orbs comes along." })
2492
+ ] })
2493
+ };
2494
+
2495
+ // src/demo/BackgroundLines.tsx
2496
+ var import_jsx_runtime36 = require("react/jsx-runtime");
2497
+ var backgroundLinesDemo = {
2498
+ children: /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)("div", { className: "flex max-w-lg flex-col items-center gap-3 px-6 text-center", children: [
2499
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("p", { className: "text-[32px] leading-tight font-bold tracking-tight text-ink", children: "Every thread, traced" }),
2500
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("p", { className: "text-[14px] leading-relaxed text-ink-2", children: "Follow each step your agent takes, from the first search to the final answer." })
2501
+ ] })
2502
+ };
2503
+
2504
+ // src/demo/BackgroundRippleEffect.tsx
2505
+ var import_jsx_runtime37 = require("react/jsx-runtime");
2506
+ var backgroundRippleEffectDemo = {
2507
+ children: /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("div", { className: "flex max-w-lg flex-col items-center gap-3 px-6 text-center", children: [
2508
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("p", { className: "text-[32px] leading-tight font-bold tracking-tight text-ink", children: "Click anywhere on the grid" }),
2509
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("p", { className: "text-[14px] leading-relaxed text-ink-2", children: "A ring of light spreads out from the tile you pick." })
2510
+ ] })
2511
+ };
2512
+
2513
+ // src/demo/BeamsWithCollision.tsx
2514
+ var import_jsx_runtime38 = require("react/jsx-runtime");
2515
+ var beamsWithCollisionDemo = {
2516
+ count: 9,
2517
+ children: /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("p", { className: "px-6 text-center text-[30px] leading-tight font-bold tracking-tight text-ink md:text-[40px]", children: [
2518
+ "Every request lands",
2519
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("br", {}),
2520
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("span", { className: "bg-gradient-to-r from-accent via-[#a855f7] to-[#ec4899] bg-clip-text text-transparent", children: "somewhere useful." })
2521
+ ] })
2522
+ };
2523
+
2524
+ // src/demo/DottedGlowBackground.tsx
2525
+ var import_jsx_runtime39 = require("react/jsx-runtime");
2526
+ var dottedGlowBackgroundDemo = {
2527
+ children: /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("div", { className: "flex max-w-lg flex-col items-center gap-3 px-6 text-center", children: [
2528
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("p", { className: "text-[32px] leading-tight font-bold tracking-tight text-ink", children: "Quietly alive" }),
2529
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("p", { className: "text-[14px] leading-relaxed text-ink-2", children: "A field of dots where a few breathe with light at their own pace." })
2530
+ ] })
2531
+ };
2532
+
2533
+ // src/demo/GlowingStars.tsx
2534
+ var import_jsx_runtime40 = require("react/jsx-runtime");
2535
+ var glowingStarsDemo = {
2536
+ children: /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: "flex items-end justify-between gap-4", children: [
2537
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { children: [
2538
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("p", { className: "text-[17px] font-semibold text-ink", children: "Agents that never sleep" }),
2539
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("p", { className: "mt-1 text-[13px] leading-relaxed text-ink-2", children: "Schedule runs overnight and wake up to finished work." })
2540
+ ] }),
2541
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("span", { className: "flex size-8 shrink-0 items-center justify-center rounded-full bg-hover-2 text-ink", children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("svg", { width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.2", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("path", { d: "M5 12h14M13 6l6 6-6 6" }) }) })
2542
+ ] })
2543
+ };
2544
+
2545
+ // src/demo/ShootingStars.tsx
2546
+ var import_jsx_runtime41 = require("react/jsx-runtime");
2547
+ var shootingStarsDemo = {
2548
+ children: /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("div", { className: "flex max-w-lg flex-col items-center gap-3 px-6 text-center", children: [
2549
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("p", { className: "text-[32px] leading-tight font-bold tracking-tight text-white", children: "Make a wish" }),
2550
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("p", { className: "text-[14px] leading-relaxed text-white/75", children: "Then let your agent do the work." })
2551
+ ] })
2552
+ };
2553
+
2554
+ // src/demo/Vortex.tsx
2555
+ var import_jsx_runtime42 = require("react/jsx-runtime");
2556
+ var vortexDemo = {
2557
+ children: /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { className: "flex flex-col items-center gap-5 px-6 text-center", children: [
2558
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("p", { className: "text-[34px] font-bold tracking-tight text-white", children: "Into the flow" }),
2559
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("p", { className: "max-w-md text-[14px] text-white/70", children: "Particles swirl through a flow field drawn on a canvas, leaving trails of light." }),
2560
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("span", { className: "rounded-full bg-white px-4 py-2 text-[13px] font-medium text-black", children: "Start building" })
2561
+ ] })
2562
+ };
2563
+
2564
+ // src/demo/WavyBackground.tsx
2565
+ var import_jsx_runtime43 = require("react/jsx-runtime");
2566
+ var wavyBackgroundDemo = {
2567
+ children: /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("div", { className: "flex max-w-lg flex-col items-center gap-3 px-6 text-center", children: [
2568
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("p", { className: "text-[32px] leading-tight font-bold tracking-tight text-ink", children: "Ride the wave" }),
2569
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("p", { className: "text-[14px] leading-relaxed text-ink-2", children: "Ribbons of colour drawn on a canvas \u2014 no images, no dependencies." })
2570
+ ] })
2571
+ };
2572
+
2573
+ // src/demo/CanvasRevealEffect.tsx
2574
+ var import_jsx_runtime44 = require("react/jsx-runtime");
2575
+ var canvasRevealEffectDemo = {
2576
+ children: /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("div", { className: "flex flex-col items-center gap-2 text-center", children: [
2577
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("svg", { width: "40", height: "40", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.6", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: [
2578
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("rect", { x: "5", y: "8", width: "14", height: "11", rx: "3" }),
2579
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("path", { d: "M12 4v4M9 13h.01M15 13h.01" })
2580
+ ] }),
2581
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("p", { className: "text-[18px] font-semibold", children: "Hover to wake the agent" })
2582
+ ] })
2583
+ };
2584
+
2585
+ // src/demo/art.ts
2586
+ var PALETTES = [
2587
+ ["#1e3a8a", "#6366f1", "#f472b6", "#fde68a"],
2588
+ ["#064e3b", "#10b981", "#a7f3d0", "#fef9c3"],
2589
+ ["#7c2d12", "#f97316", "#fdba74", "#fef3c7"],
2590
+ ["#4c1d95", "#a855f7", "#f0abfc", "#e0e7ff"],
2591
+ ["#0c4a6e", "#0ea5e9", "#67e8f9", "#ecfeff"],
2592
+ ["#831843", "#ec4899", "#fda4af", "#fff1f2"]
2593
+ ];
2594
+ function artImage(i, width = 600, height = 600) {
2595
+ const [deep, mid, light, glow] = PALETTES[i % PALETTES.length];
2596
+ const r = (n) => (i * 97 + n * 53) % 100 / 100;
2597
+ const svg = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 ${width} ${height}">
2598
+ <defs>
2599
+ <linearGradient id="g" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="${deep}"/><stop offset="1" stop-color="${mid}"/></linearGradient>
2600
+ <radialGradient id="o" cx="0.5" cy="0.5" r="0.5"><stop offset="0" stop-color="${glow}"/><stop offset="1" stop-color="${glow}" stop-opacity="0"/></radialGradient>
2601
+ </defs>
2602
+ <rect width="${width}" height="${height}" fill="url(#g)"/>
2603
+ <circle cx="${width * (0.2 + r(1) * 0.6)}" cy="${height * (0.2 + r(2) * 0.4)}" r="${width * 0.35}" fill="url(#o)" opacity="0.7"/>
2604
+ <circle cx="${width * (0.3 + r(3) * 0.4)}" cy="${height * (0.5 + r(4) * 0.3)}" r="${width * (0.12 + r(5) * 0.1)}" fill="${light}" opacity="0.85"/>
2605
+ <rect x="${width * r(6) * 0.6}" y="${height * (0.6 + r(7) * 0.2)}" width="${width * 0.5}" height="${height * 0.08}" rx="${height * 0.04}" fill="${glow}" opacity="0.5" transform="rotate(${-20 + r(8) * 40} ${width / 2} ${height / 2})"/>
2606
+ </svg>`;
2607
+ return `data:image/svg+xml;charset=utf-8,${encodeURIComponent(svg)}`;
2608
+ }
2609
+
2610
+ // src/demo/ChromaticImage.tsx
2611
+ var chromaticImageDemo = {
2612
+ src: artImage(3, 800, 560),
2613
+ alt: "Abstract violet composition",
2614
+ idleSplit: 2
2615
+ };
2616
+
2617
+ // src/demo/GlowingEffect.tsx
2618
+ var import_jsx_runtime45 = require("react/jsx-runtime");
2619
+ var glowingEffectDemo = {
2620
+ className: "w-full max-w-sm",
2621
+ children: /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("div", { className: "relative flex h-full flex-col gap-3 rounded-[16px] bg-surface p-6 shadow-card", children: [
2622
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("span", { className: "flex size-9 items-center justify-center rounded-card bg-inset text-ink shadow-hairline", children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("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__ */ (0, import_jsx_runtime45.jsx)("path", { d: "M12 3v3M12 18v3M3 12h3M18 12h3M5.6 5.6l2.1 2.1M16.3 16.3l2.1 2.1M5.6 18.4l2.1-2.1M16.3 7.7l2.1-2.1" }) }) }),
2623
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("p", { className: "text-[17px] font-semibold text-ink", children: "Bring the pointer close" }),
2624
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("p", { className: "text-[13px] leading-relaxed text-ink-2", children: "The border lights up on the side facing you and follows you around the card." })
2625
+ ] })
2626
+ };
2627
+
2628
+ // src/demo/ImagesBadge.tsx
2629
+ var imagesBadgeDemo = {
2630
+ images: [artImage(0, 120, 120), artImage(3, 120, 120), artImage(4, 120, 120)],
2631
+ children: "3 new screenshots"
2632
+ };
2633
+
2634
+ // src/demo/LiquidGlass.tsx
2635
+ var import_jsx_runtime46 = require("react/jsx-runtime");
2636
+ var liquidGlassDemo = {
2637
+ className: "w-72",
2638
+ children: /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)("div", { className: "flex flex-col gap-1 p-6 text-white", children: [
2639
+ /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("p", { className: "text-[12px] font-medium tracking-wide text-white/70 uppercase", children: "Now running" }),
2640
+ /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("p", { className: "text-[20px] font-semibold", children: "Research agent" }),
2641
+ /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("p", { className: "text-[13px] text-white/80", children: "Reading 42 sources, 3 min left" })
2642
+ ] })
2643
+ };
2644
+
2645
+ // src/demo/ParallaxHeroImages.tsx
2646
+ var import_jsx_runtime47 = require("react/jsx-runtime");
2647
+ var parallaxHeroImagesDemo = {
2648
+ images: [
2649
+ { src: artImage(0, 400, 300), x: 14, y: 26, width: 150, depth: 0.9, rotate: -8 },
2650
+ { src: artImage(1, 400, 300), x: 84, y: 22, width: 130, depth: 0.6, rotate: 6 },
2651
+ { src: artImage(2, 400, 300), x: 10, y: 76, width: 120, depth: 0.4, rotate: 5 },
2652
+ { src: artImage(3, 400, 300), x: 88, y: 74, width: 160, depth: 1, rotate: -5 },
2653
+ { src: artImage(4, 400, 300), x: 34, y: 12, width: 90, depth: 0.25, rotate: 3 },
2654
+ { src: artImage(5, 400, 300), x: 66, y: 88, width: 100, depth: 0.3, rotate: -4 }
2655
+ ],
2656
+ children: /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "flex flex-col items-center gap-3", children: [
2657
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("p", { className: "text-[34px] leading-tight font-bold tracking-tight text-ink md:text-[46px]", children: [
2658
+ "Everything your agent",
2659
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("br", {}),
2660
+ "has seen, at a glance"
2661
+ ] }),
2662
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("span", { className: "rounded-full bg-ink px-4 py-2 text-[13px] font-medium text-canvas", children: "Open the gallery" })
2663
+ ] })
2664
+ };
2665
+
2666
+ // src/demo/Scales.tsx
2667
+ var import_jsx_runtime48 = require("react/jsx-runtime");
2668
+ var scalesDemo = {
2669
+ children: /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "flex max-w-lg flex-col items-center gap-3 px-6 text-center", children: [
2670
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("p", { className: "text-[32px] leading-tight font-bold tracking-tight text-ink", children: "Measure twice" }),
2671
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("p", { className: "text-[14px] leading-relaxed text-ink-2", children: "Rulers along the edges track your pointer, like a design canvas." })
2672
+ ] })
2673
+ };
2674
+
2675
+ // src/demo/ScrollPathsEffect.tsx
2676
+ var import_jsx_runtime49 = require("react/jsx-runtime");
2677
+ var scrollPathsEffectDemo = {
2678
+ children: /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "flex flex-col items-center gap-3", children: [
2679
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("p", { className: "bg-gradient-to-b from-ink to-ink-3 bg-clip-text text-[36px] font-bold tracking-tight text-transparent md:text-[52px]", children: "Many inputs, one answer" }),
2680
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("p", { className: "max-w-md text-[14px] text-ink-2", children: "Scroll down: each source flows in and converges on a single response." })
2681
+ ] })
2682
+ };
2683
+
2684
+ // src/demo/Spotlight.tsx
2685
+ var import_jsx_runtime50 = require("react/jsx-runtime");
2686
+ var spotlightDemo = {
2687
+ children: /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "flex max-w-lg flex-col items-center gap-3 px-6 text-center", children: [
2688
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("p", { className: "text-[32px] leading-tight font-bold tracking-tight text-ink", children: "Center stage" }),
2689
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("p", { className: "text-[14px] leading-relaxed text-ink-2", children: "A beam of light swings in and settles on what matters." })
2690
+ ] })
2691
+ };
2692
+
2693
+ // src/demo/SpotlightNew.tsx
2694
+ var import_jsx_runtime51 = require("react/jsx-runtime");
2695
+ var spotlightNewDemo = {
2696
+ children: /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: "flex max-w-lg flex-col items-center gap-3 px-6 text-center", children: [
2697
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("p", { className: "text-[32px] leading-tight font-bold tracking-tight text-ink", children: "Lights, agents, action" }),
2698
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("p", { className: "text-[14px] leading-relaxed text-ink-2", children: "Two banks of soft stage lights sway gently over your hero." })
2699
+ ] })
2700
+ };
2701
+
2702
+ // src/demo/SvgMaskEffect.tsx
2703
+ var import_jsx_runtime52 = require("react/jsx-runtime");
2704
+ var svgMaskEffectDemo = {
2705
+ children: /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("p", { className: "max-w-2xl text-center text-[28px] leading-snug font-bold text-ink-3 md:text-[36px]", children: [
2706
+ "Your agent writes the ",
2707
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("span", { className: "text-ink", children: "first draft" }),
2708
+ ". You keep the parts you like."
2709
+ ] }),
2710
+ revealContent: /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("p", { className: "max-w-2xl text-center text-[28px] leading-snug font-bold md:text-[36px]", children: [
2711
+ "Behind every answer is ",
2712
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("span", { className: "text-accent", children: "a trace you can read" }),
2713
+ ", every search and every step."
2714
+ ] })
2715
+ };
2716
+
2717
+ // src/demo/TracingBeam.tsx
2718
+ var import_jsx_runtime53 = require("react/jsx-runtime");
2719
+ var posts = [
2720
+ { badge: "Guide", title: "Designing agents people trust", body: "Show the work. A visible reasoning trace and clear approval steps do more for trust than any accuracy number." },
2721
+ { badge: "Changelog", title: "Approvals now support bulk actions", body: "Approve or reject a whole batch of proposed edits at once, with a per-row override when you need it." },
2722
+ { badge: "Recipe", title: "Streaming answers with citations", body: "Render tokens as they arrive and resolve citation chips the moment their source is known." }
2723
+ ];
2724
+ var tracingBeamDemo = {
2725
+ children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("div", { className: "flex flex-col gap-14 py-4", children: posts.map((p) => /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("article", { children: [
2726
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("span", { className: "rounded-full bg-ink px-2.5 py-0.5 text-[11.5px] font-medium text-canvas", children: p.badge }),
2727
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("h3", { className: "mt-3 text-[20px] font-semibold text-ink", children: p.title }),
2728
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("div", { className: "mt-3 h-40 rounded-card shadow-hairline", style: { background: "linear-gradient(135deg, var(--accent-tint), var(--inset))" } }),
2729
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("p", { className: "mt-3 text-[14px] leading-relaxed text-ink-2", children: p.body })
2730
+ ] }, p.title)) })
2731
+ };
2732
+
2733
+ // src/demo/CardHoverEffect.ts
2734
+ var cardHoverEffectDemo = {
2735
+ items: [
2736
+ { title: "Research", description: "Searches the web and your files, then answers with citations you can check.", href: "#research" },
2737
+ { title: "Operations", description: "Runs multi-step workflows across your tools and asks before it changes anything.", href: "#operations" },
2738
+ { title: "Support", description: "Drafts replies from your knowledge base and hands off tricky cases to a person.", href: "#support" },
2739
+ { title: "Coding", description: "Reads the codebase, proposes edits as diffs and explains every change.", href: "#coding" },
2740
+ { title: "Analytics", description: "Turns a plain question into a query, a chart and a one-line takeaway.", href: "#analytics" },
2741
+ { title: "Sales", description: "Researches accounts and drafts follow-ups so no lead goes cold.", href: "#sales" }
2742
+ ]
2743
+ };
2744
+
2745
+ // src/demo/CardStack.tsx
2746
+ var import_jsx_runtime54 = require("react/jsx-runtime");
2747
+ var Hl = ({ children }) => /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("span", { className: "rounded bg-accent-tint px-1 font-semibold text-accent-ink", children });
2748
+ var cardStackDemo = {
2749
+ items: [
2750
+ {
2751
+ id: 1,
2752
+ name: "Maya Chen",
2753
+ designation: "Head of Operations",
2754
+ content: /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("p", { children: [
2755
+ "The approval step is the ",
2756
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Hl, { children: "reason we trust it" }),
2757
+ ". Nothing ships without a clear yes."
2758
+ ] })
2759
+ },
2760
+ {
2761
+ id: 2,
2762
+ name: "Daniel Okafor",
2763
+ designation: "Product Lead",
2764
+ content: /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("p", { children: [
2765
+ "We went from prototype to ",
2766
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Hl, { children: "production in a week" }),
2767
+ ". The components just slotted in."
2768
+ ] })
2769
+ },
2770
+ {
2771
+ id: 3,
2772
+ name: "Priya Raman",
2773
+ designation: "Staff Engineer",
2774
+ content: /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("p", { children: [
2775
+ "Seeing the ",
2776
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Hl, { children: "thinking trace" }),
2777
+ " turned the agent from a black box into a colleague."
2778
+ ] })
2779
+ }
2780
+ ]
2781
+ };
2782
+
2783
+ // src/demo/CipherCard.tsx
2784
+ var cipherCardDemo = {
2785
+ children: "secure"
2786
+ };
2787
+
2788
+ // src/demo/CometCard.tsx
2789
+ var import_jsx_runtime55 = require("react/jsx-runtime");
2790
+ var cometCardDemo = {
2791
+ children: /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: "flex w-72 flex-col bg-[#14141f] p-3", children: [
2792
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("img", { src: artImage(3, 600, 600), alt: "", className: "aspect-square w-full rounded-[12px] object-cover" }),
2793
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: "mt-3 flex items-center justify-between px-1 font-mono text-[12px] text-white/80", children: [
2794
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("span", { children: "Agent pass" }),
2795
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("span", { children: "#A-0042" })
2796
+ ] })
2797
+ ] })
2798
+ };
2799
+
2800
+ // src/demo/DraggableCards.tsx
2801
+ var import_jsx_runtime56 = require("react/jsx-runtime");
2802
+ var draggableCardsDemo = {
2803
+ items: [
2804
+ { title: "Dusk", src: artImage(0, 400, 400), x: 26, y: 34, rotate: -8 },
2805
+ { title: "Evergreen", src: artImage(1, 400, 400), x: 52, y: 28, rotate: 5 },
2806
+ { title: "Ember", src: artImage(2, 400, 400), x: 76, y: 38, rotate: -4 },
2807
+ { title: "Violet", src: artImage(3, 400, 400), x: 36, y: 72, rotate: 7 },
2808
+ { title: "Shallows", src: artImage(4, 400, 400), x: 66, y: 74, rotate: -6 }
2809
+ ],
2810
+ children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("p", { className: "max-w-sm text-[22px] font-bold text-ink-3", children: "Pick up a card and throw it. It'll land somewhere on the table." })
2811
+ };
2812
+
2813
+ // src/demo/ExpandableCard.tsx
2814
+ var import_jsx_runtime57 = require("react/jsx-runtime");
2815
+ var Body = ({ text }) => /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("div", { className: "flex flex-col gap-3", children: [
2816
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("p", { children: text }),
2817
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("p", { children: "Every run is logged with the sources it read and the tools it called, so you can see exactly how it got there." })
2818
+ ] });
2819
+ var expandableCardDemo = {
2820
+ items: [
2821
+ {
2822
+ title: "Research agent",
2823
+ description: "Reads, cites, summarises",
2824
+ src: artImage(3, 400, 400),
2825
+ ctaText: "Open",
2826
+ content: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Body, { text: "Ask a question and it searches the web and your files in parallel, then writes an answer with inline citations." })
2827
+ },
2828
+ {
2829
+ title: "Inbox agent",
2830
+ description: "Drafts replies for approval",
2831
+ src: artImage(4, 400, 400),
2832
+ ctaText: "Open",
2833
+ content: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Body, { text: "It sorts your inbox, drafts replies in your tone and waits for your approval before anything is sent." })
2834
+ },
2835
+ {
2836
+ title: "Ops agent",
2837
+ description: "Runs your workflows",
2838
+ src: artImage(1, 400, 400),
2839
+ ctaText: "Open",
2840
+ content: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Body, { text: "Connect your tools and describe the job. It plans the steps, runs them and asks when it needs a decision." })
2841
+ }
2842
+ ]
2843
+ };
2844
+
2845
+ // src/demo/FocusCards.ts
2846
+ var focusCardsDemo = {
2847
+ cards: [
2848
+ { title: "Dusk over the bay", src: artImage(0, 600, 800) },
2849
+ { title: "Evergreen", src: artImage(1, 600, 800) },
2850
+ { title: "Ember", src: artImage(2, 600, 800) },
2851
+ { title: "Violet hour", src: artImage(3, 600, 800) },
2852
+ { title: "Shallows", src: artImage(4, 600, 800) },
2853
+ { title: "Rosewater", src: artImage(5, 600, 800) }
2854
+ ]
2855
+ };
2856
+
2857
+ // src/demo/WobbleCard.tsx
2858
+ var import_jsx_runtime58 = require("react/jsx-runtime");
2859
+ var wobbleCardDemo = {
2860
+ containerClassName: "w-full max-w-2xl min-h-[300px]",
2861
+ children: /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: "max-w-sm", children: [
2862
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("p", { className: "text-[24px] leading-tight font-semibold text-balance text-white md:text-[30px]", children: "Hand off the busywork. Keep the decisions." }),
2863
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("p", { className: "mt-4 text-[14px] leading-relaxed text-white/80", children: "Agents draft, search and file. You approve what matters with one click." })
2864
+ ] })
2865
+ };
2866
+
2867
+ // src/demo/AsciiArt.ts
2868
+ var asciiArtDemo = {
2869
+ src: artImage(0, 600, 400),
2870
+ columns: 96
2871
+ };
2872
+
2873
+ // src/demo/CloudShader.tsx
2874
+ var import_jsx_runtime59 = require("react/jsx-runtime");
2875
+ var cloudShaderDemo = {
2876
+ children: /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: "flex flex-col items-center gap-2 px-6 text-center", children: [
2877
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("p", { className: "text-[34px] font-bold tracking-tight text-white drop-shadow-sm", children: "Head in the cloud" }),
2878
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("p", { className: "text-[14px] text-white/85", children: "Your agents run there, so you don't have to." })
2879
+ ] })
2880
+ };
2881
+
2882
+ // src/demo/DirectionAwareHover.tsx
2883
+ var import_jsx_runtime60 = require("react/jsx-runtime");
2884
+ var directionAwareHoverDemo = {
2885
+ src: artImage(2, 800, 800),
2886
+ alt: "Abstract amber composition",
2887
+ children: /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(import_jsx_runtime60.Fragment, { children: [
2888
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("p", { className: "text-[20px] font-bold", children: "Ember study" }),
2889
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("p", { className: "text-[13px] text-white/80", children: "Generated by the image agent" })
2890
+ ] })
2891
+ };
2892
+
2893
+ // src/demo/Keyboard.ts
2894
+ var keyboardDemo = {
2895
+ // teach a shortcut: the keys light up, and real key presses sink the keycaps
2896
+ highlight: ["MetaLeft", "KeyK"]
2897
+ };
2898
+
2899
+ // src/demo/PixelatedCanvas.ts
2900
+ var pixelatedCanvasDemo = {
2901
+ src: artImage(5, 400, 500),
2902
+ width: 360,
2903
+ height: 450,
2904
+ cellSize: 9
2905
+ };
2906
+
2907
+ // src/demo/Terminal.ts
2908
+ var terminalDemo = {
2909
+ title: "agent \u2014 zsh",
2910
+ loop: true,
2911
+ lines: [
2912
+ { type: "command", text: "npm install nexi-agent" },
2913
+ { type: "output", text: "added 1 package in 2s", delay: 500 },
2914
+ { type: "command", text: 'agent run research --question "Q3 churn drivers"' },
2915
+ { type: "output", text: "\u2192 planning 4 steps", delay: 400 },
2916
+ { type: "output", text: "\u2192 searching 3 sources", delay: 350 },
2917
+ { type: "output", text: "\u2192 waiting for approval: export report.csv", color: "#febc2e", delay: 450 },
2918
+ { type: "output", text: "\u2713 done in 41s \u2014 6 citations", color: "#7ee787", delay: 700 }
2919
+ ]
2920
+ };
2921
+
2922
+ // src/demo/TooltipCard.tsx
2923
+ var import_jsx_runtime61 = require("react/jsx-runtime");
2924
+ var tooltipCardDemo = {
2925
+ children: "approval cards",
2926
+ content: /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(import_jsx_runtime61.Fragment, { children: [
2927
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("span", { className: "block font-semibold text-ink", children: "Approval cards" }),
2928
+ "Questions the agent asks before it acts. Nothing that writes data runs until you answer."
2929
+ ] })
2930
+ };
2931
+
2932
+ // src/demo/WebcamPixelGrid.ts
2933
+ var webcamPixelGridDemo = {
2934
+ cellSize: 10,
2935
+ shape: "circle"
2936
+ };
2937
+
2938
+ // src/demo/ContainerScrollAnimation.tsx
2939
+ var import_jsx_runtime62 = require("react/jsx-runtime");
2940
+ var containerScrollAnimationDemo = {
2941
+ title: /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(import_jsx_runtime62.Fragment, { children: [
2942
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("p", { className: "text-[20px] font-semibold text-ink-2", children: "Meet your new workspace" }),
2943
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("p", { className: "mt-1 text-[44px] leading-none font-bold tracking-tight text-ink md:text-[72px]", children: "Agent Studio" })
2944
+ ] }),
2945
+ children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("img", { src: artImage(0, 1400, 900), alt: "", className: "h-full w-full object-cover", draggable: false })
2946
+ };
2947
+
2948
+ // src/effects/HeroHighlight.tsx
2949
+ var import_react7 = require("react");
2950
+ var import_jsx_runtime63 = require("react/jsx-runtime");
2951
+ function Highlight({ children, colors = ["#c4b5fd", "#93c5fd"], duration = 1.6, className }) {
2952
+ const ref = (0, import_react7.useRef)(null);
2953
+ const seen = useInViewOnce(ref);
2954
+ const reduce = useReducedMotion();
2955
+ const done = seen || reduce;
2956
+ return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
2957
+ "span",
2958
+ {
2959
+ ref,
2960
+ className: cn("relative inline rounded-[8px] px-1 pb-0.5 [box-decoration-break:clone] [-webkit-box-decoration-break:clone]", className),
2961
+ style: {
2962
+ backgroundImage: `linear-gradient(to right, ${colors[0]}, ${colors[1]})`,
2963
+ backgroundRepeat: "no-repeat",
2964
+ backgroundPosition: "left center",
2965
+ backgroundSize: done ? "100% 100%" : "0% 100%",
2966
+ transition: reduce ? void 0 : `background-size ${duration}s cubic-bezier(0.65, 0, 0.35, 1) 0.4s`
2967
+ },
2968
+ children
2969
+ }
2970
+ );
2971
+ }
2972
+
2973
+ // src/demo/HeroHighlight.tsx
2974
+ var import_jsx_runtime64 = require("react/jsx-runtime");
2975
+ var highlightDemo = {
2976
+ children: "shows its work."
2977
+ };
2978
+ var heroHighlightDemo = {
2979
+ children: /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("p", { className: "mx-auto max-w-3xl text-center text-[28px] leading-snug font-bold text-ink md:text-[40px]", children: [
2980
+ "The best agent isn't the one that never makes mistakes. It's the one that ",
2981
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Highlight, { ...highlightDemo })
2982
+ ] })
2983
+ };
2984
+
2985
+ // src/demo/HeroParallax.tsx
2986
+ var import_jsx_runtime65 = require("react/jsx-runtime");
2987
+ var names = ["Research", "Inbox", "Ops", "Coding", "Analytics", "Sales", "Support", "Docs", "Hiring", "Finance", "Legal", "Design", "QA", "Data", "Growth"];
2988
+ var heroParallaxDemo = {
2989
+ products: names.map((title, i) => ({ title: `${title} agent`, thumbnail: artImage(i, 640, 480), href: `#${title.toLowerCase()}` })),
2990
+ children: /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(import_jsx_runtime65.Fragment, { children: [
2991
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("p", { className: "text-[38px] leading-tight font-bold tracking-tight text-ink md:text-[60px]", children: [
2992
+ "One studio,",
2993
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("br", {}),
2994
+ "fifteen agents"
2995
+ ] }),
2996
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("p", { className: "mt-6 max-w-xl text-[15px] leading-relaxed text-ink-2", children: "Each one does a single job well, shows its work and asks before it acts. Start with one; add the rest when you're ready." })
2997
+ ] })
2998
+ };
2999
+
3000
+ // src/demo/LaptopScroll.tsx
3001
+ var import_jsx_runtime66 = require("react/jsx-runtime");
3002
+ var laptopScrollDemo = {
3003
+ src: artImage(4, 1200, 760),
3004
+ title: /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("p", { className: "text-[30px] leading-tight font-bold tracking-tight text-ink md:text-[42px]", children: [
3005
+ "Open the lid.",
3006
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("br", {}),
3007
+ "Your agent is already working."
3008
+ ] }),
3009
+ badge: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("span", { className: "text-[9px] font-semibold tracking-widest text-[#555] uppercase", children: "nexi" })
3010
+ };
3011
+
3012
+ // src/demo/ParallaxScroll.ts
3013
+ var parallaxScrollDemo = {
3014
+ images: Array.from({ length: 12 }, (_, i) => artImage(i, 600, 700))
3015
+ };
3016
+
3017
+ // src/demo/StickyScrollReveal.tsx
3018
+ var import_jsx_runtime67 = require("react/jsx-runtime");
3019
+ var Panel2 = ({ label }) => /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("div", { className: "flex h-full w-full items-center justify-center p-6 text-center text-[18px] font-semibold text-white", children: label });
3020
+ var stickyScrollRevealDemo = {
3021
+ items: [
3022
+ {
3023
+ title: "Plan",
3024
+ description: "Describe the outcome you want. The agent breaks it into steps, picks the tools it needs and shows you the plan before it starts.",
3025
+ content: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Panel2, { label: "Step-by-step plan" })
3026
+ },
3027
+ {
3028
+ title: "Research",
3029
+ description: "It searches the web and your own files in parallel, keeps track of every source and notes where each fact came from.",
3030
+ content: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Panel2, { label: "Sources, cited" })
3031
+ },
3032
+ {
3033
+ title: "Act",
3034
+ description: "When a step would change something, it stops and asks. You approve, edit or reject, and it carries on from there.",
3035
+ content: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Panel2, { label: "Approve before acting" })
3036
+ },
3037
+ {
3038
+ title: "Report",
3039
+ description: "You get a short answer up top, the full working underneath, and a log of every tool call for later.",
3040
+ content: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Panel2, { label: "Answer + full trace" })
3041
+ }
3042
+ ]
3043
+ };
3044
+
3045
+ // src/demo/TextHoverEffect.ts
3046
+ var textHoverEffectDemo = {
3047
+ text: "NEXI"
3048
+ };
3049
+
3050
+ // src/demo/CanvasText.ts
3051
+ var canvasTextDemo = {
3052
+ text: "LIVE",
3053
+ height: 180
3054
+ };
3055
+
3056
+ // src/demo/ColourfulText.ts
3057
+ var colourfulTextDemo = {
3058
+ text: "every colour of the run",
3059
+ className: "text-[34px] font-bold tracking-tight md:text-[48px]"
3060
+ };
3061
+
3062
+ // src/demo/ContainerTextFlip.ts
3063
+ var containerTextFlipDemo = {
3064
+ words: ["faster", "clearer", "safer", "together"],
3065
+ textClassName: "text-[32px] font-bold tracking-tight text-ink md:text-[44px]"
3066
+ };
3067
+
3068
+ // src/demo/LayoutTextFlip.ts
3069
+ var layoutTextFlipDemo = {
3070
+ text: "Agents that",
3071
+ words: ["research", "draft replies", "reconcile invoices", "ask first"]
3072
+ };
3073
+
3074
+ // src/demo/SquigglyText.tsx
3075
+ var squigglyTextDemo = {
3076
+ className: "text-[44px] font-black tracking-tight text-ink md:text-[64px]",
3077
+ children: "work in progress"
3078
+ };
3079
+
3080
+ // src/demo/TextFlippingBoard.ts
3081
+ var textFlippingBoardDemo = {
3082
+ columns: 16,
3083
+ rows: 2,
3084
+ messages: ["RESEARCH AGENT ON TIME", "INBOX AGENT BOARDING", "OPS AGENT DONE 14:02", "CODING AGENT DELAYED"]
3085
+ };
3086
+
3087
+ // src/demo/TextRevealCard.tsx
3088
+ var import_jsx_runtime68 = require("react/jsx-runtime");
3089
+ var textRevealCardDemo = {
3090
+ text: "It just answers.",
3091
+ revealText: "It shows its work.",
3092
+ children: /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(import_jsx_runtime68.Fragment, { children: [
3093
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("p", { className: "text-[17px] font-semibold text-white", children: "Look closer" }),
3094
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("p", { className: "mt-1 text-[13px] text-white/55", children: "Move your pointer across the line below." })
3095
+ ] })
3096
+ };
3097
+
3098
+ // src/demo/DitherShader.ts
3099
+ var ditherShaderDemo = {
3100
+ label: "A dithered plasma field",
3101
+ height: 300,
3102
+ pixelSize: 4
3103
+ };
3104
+
3105
+ // src/demo/EffectButton.ts
3106
+ var effectButtonDemo = {
3107
+ variant: "shimmer",
3108
+ children: "Run agent"
3109
+ };
3110
+
3111
+ // src/demo/FloatingNavbar.tsx
3112
+ var import_jsx_runtime69 = require("react/jsx-runtime");
3113
+ var floatingNavbarDemo = {
3114
+ fixed: false,
3115
+ activeHref: "#agents",
3116
+ items: [
3117
+ { label: "Agents", href: "#agents" },
3118
+ { label: "Runs", href: "#runs" },
3119
+ { label: "Tools", href: "#tools" },
3120
+ { label: "Docs", href: "#docs" }
3121
+ ],
3122
+ action: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("button", { type: "button", className: "rounded-full bg-[var(--ink)] px-3.5 py-1.5 text-[12.5px] font-semibold text-[var(--page)]", children: "Sign in" })
3123
+ };
3124
+
3125
+ // src/demo/GooeyInput.ts
3126
+ var gooeyInputDemo = {
3127
+ width: 300,
3128
+ labels: { placeholder: "Search runs, agents, tools\u2026" }
3129
+ };
3130
+
3131
+ // src/demo/ImageGenerationLoader.ts
3132
+ var imageGenerationLoaderDemo = {
3133
+ src: artImage(3, 800, 800),
3134
+ alt: "Abstract violet artwork",
3135
+ loop: true,
3136
+ className: "max-w-sm"
3137
+ };
3138
+
3139
+ // src/demo/MagneticButton.ts
3140
+ var magneticButtonDemo = {
3141
+ children: "Start a run"
3142
+ };
3143
+
3144
+ // src/demo/NoiseBackground.tsx
3145
+ var import_jsx_runtime70 = require("react/jsx-runtime");
3146
+ var noiseBackgroundDemo = {
3147
+ className: "w-full",
3148
+ innerClassName: "flex min-h-[240px] flex-col items-center justify-center gap-2 p-8 text-center",
3149
+ children: /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)(import_jsx_runtime70.Fragment, { children: [
3150
+ /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("p", { className: "text-[24px] font-bold tracking-tight text-white", children: "Quiet colour, a little texture" }),
3151
+ /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("p", { className: "max-w-sm text-[13.5px] text-white/70", children: "Drifting washes under film grain, for heroes, cards and empty states." })
3152
+ ] })
3153
+ };
3154
+
3155
+ // src/demo/Notch.tsx
3156
+ var import_jsx_runtime71 = require("react/jsx-runtime");
3157
+ var notchDemo = {
3158
+ collapsed: /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(import_jsx_runtime71.Fragment, { children: [
3159
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("span", { className: "h-2 w-2 rounded-full bg-[#34d399] shadow-[0_0_8px_#34d399]" }),
3160
+ "Agent running",
3161
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("span", { className: "font-mono text-white/55", children: "02:14" })
3162
+ ] }),
3163
+ children: /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { className: "flex h-full flex-col justify-between", children: [
3164
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { className: "flex items-start justify-between gap-3", children: [
3165
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { children: [
3166
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("p", { className: "text-[11px] tracking-wide text-white/50 uppercase", children: "Research agent" }),
3167
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("p", { className: "mt-1 text-[15px] font-semibold", children: "Comparing six vendor contracts" })
3168
+ ] }),
3169
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("span", { className: "rounded-full bg-white/10 px-2 py-0.5 font-mono text-[11px] text-white/70", children: "4 / 6" })
3170
+ ] }),
3171
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { children: [
3172
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("div", { className: "h-1.5 overflow-hidden rounded-full bg-white/10", children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("div", { className: "h-full w-2/3 rounded-full bg-[linear-gradient(90deg,#34d399,#22d3ee)]" }) }),
3173
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("p", { className: "mt-2 text-[12px] text-white/55", children: "Reading renewal terms in Northwind_MSA.pdf" })
3174
+ ] })
3175
+ ] })
3176
+ };
3177
+
3178
+ // src/demo/ResizableNavbar.tsx
3179
+ var import_jsx_runtime72 = require("react/jsx-runtime");
3180
+ var resizableNavbarDemo = {
3181
+ logo: /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)("span", { className: "flex items-center gap-2 text-[14px] font-bold text-ink", children: [
3182
+ /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("span", { className: "h-6 w-6 rounded-[7px] bg-[linear-gradient(135deg,#6366f1,#ec4899)]" }),
3183
+ "Relay"
3184
+ ] }),
3185
+ items: [
3186
+ { label: "Product", href: "#product" },
3187
+ { label: "Agents", href: "#agents" },
3188
+ { label: "Pricing", href: "#pricing" },
3189
+ { label: "Changelog", href: "#changelog" }
3190
+ ],
3191
+ actions: /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)(import_jsx_runtime72.Fragment, { children: [
3192
+ /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("button", { type: "button", className: "rounded-full px-3.5 py-1.5 text-[13px] font-medium text-ink-2 hover:text-ink", children: "Log in" }),
3193
+ /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("button", { type: "button", className: "rounded-full bg-[var(--ink)] px-4 py-1.5 text-[13px] font-semibold text-[var(--page)]", children: "Try it free" })
3194
+ ] })
3195
+ };
3196
+
3197
+ // src/demo/SignupForm.tsx
3198
+ var import_jsx_runtime73 = require("react/jsx-runtime");
3199
+ var mark = (d) => /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("svg", { viewBox: "0 0 16 16", className: "h-4 w-4", fill: "none", stroke: "currentColor", strokeWidth: "1.6", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("path", { d }) });
3200
+ var signupFormDemo = {
3201
+ title: "Create your workspace",
3202
+ description: "Set up a home for your agents. You can invite the team once you're in.",
3203
+ providers: [
3204
+ { id: "sso", label: "Continue with company SSO", icon: mark("M4 7V5a4 4 0 0 1 8 0v2M3 7h10v7H3z") },
3205
+ { id: "passkey", label: "Continue with a passkey", icon: mark("M10 6a3 3 0 1 1-3-3 3 3 0 0 1 3 3zM8.5 8.5 13 13m-2-2 1.5-1.5") }
3206
+ ],
3207
+ footer: "By creating an account you agree to the workspace terms."
3208
+ };
3209
+ var glowInputDemo = {
3210
+ type: "email",
3211
+ placeholder: "you@company.com",
3212
+ "aria-label": "Email"
3213
+ };
3214
+
3215
+ // src/demo/StickyBanner.tsx
3216
+ var import_jsx_runtime74 = require("react/jsx-runtime");
3217
+ var stickyBannerDemo = {
3218
+ children: /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("span", { children: [
3219
+ "Agents can now hand work to each other.",
3220
+ " ",
3221
+ /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("a", { href: "#handoffs", className: "font-semibold underline underline-offset-2", children: "See how handoffs work" })
3222
+ ] })
3223
+ };
3224
+
3225
+ // src/demo/ArcGlobe.ts
3226
+ var city = {
3227
+ sf: { lat: 37.8, lng: -122.4, label: "San Francisco" },
3228
+ ny: { lat: 40.7, lng: -74, label: "New York" },
3229
+ sp: { lat: -23.5, lng: -46.6, label: "S\xE3o Paulo" },
3230
+ ld: { lat: 51.5, lng: -0.1, label: "London" },
3231
+ ng: { lat: 6.5, lng: 3.4, label: "Lagos" },
3232
+ bl: { lat: 12.97, lng: 77.6, label: "Bengaluru" },
3233
+ sg: { lat: 1.35, lng: 103.8, label: "Singapore" },
3234
+ tk: { lat: 35.7, lng: 139.7, label: "Tokyo" },
3235
+ sy: { lat: -33.9, lng: 151.2, label: "Sydney" }
3236
+ };
3237
+ var arcGlobeDemo = {
3238
+ label: "Agent traffic between regions",
3239
+ arcs: [
3240
+ { from: city.sf, to: city.ld },
3241
+ { from: city.ny, to: city.sp },
3242
+ { from: city.ld, to: city.bl },
3243
+ { from: city.ld, to: city.ng },
3244
+ { from: city.bl, to: city.sg },
3245
+ { from: city.sg, to: city.tk },
3246
+ { from: city.sg, to: city.sy },
3247
+ { from: city.tk, to: city.sf }
3248
+ ]
3249
+ };
3250
+
3251
+ // src/demo/Carousel3D.ts
3252
+ var carousel3DDemo = {
3253
+ slides: [
3254
+ { src: artImage(0, 800, 880), title: "Research that cites its sources", action: "See an example" },
3255
+ { src: artImage(1, 800, 880), title: "Inbox triage while you sleep", action: "See an example" },
3256
+ { src: artImage(2, 800, 880), title: "Invoices reconciled to the cent", action: "See an example" },
3257
+ { src: artImage(3, 800, 880), title: "Reports drafted from raw data", action: "See an example" },
3258
+ { src: artImage(4, 800, 880), title: "Code reviewed before you wake", action: "See an example" }
3259
+ ]
3260
+ };
3261
+
3262
+ // src/demo/Compare.ts
3263
+ var compareDemo = {
3264
+ before: artImage(4, 1200, 750),
3265
+ after: artImage(3, 1200, 750),
3266
+ autoplay: true,
3267
+ labels: { before: "Draft", after: "Final" }
3268
+ };
3269
+
3270
+ // src/demo/ContainerCover.ts
3271
+ var containerCoverDemo = {
3272
+ children: "warp speed"
3273
+ };
3274
+
3275
+ // src/demo/FollowingPointer.tsx
3276
+ var import_jsx_runtime75 = require("react/jsx-runtime");
3277
+ var followingPointerDemo = {
3278
+ label: "Research agent",
3279
+ className: "w-full max-w-sm",
3280
+ children: /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("div", { className: "overflow-hidden rounded-window bg-[var(--surface)] shadow-card", children: [
3281
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("img", { src: artImage(5, 800, 450), alt: "", className: "aspect-video w-full object-cover" }),
3282
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("div", { className: "p-5", children: [
3283
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("p", { className: "text-[15px] font-semibold text-ink", children: "Q3 market scan" }),
3284
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("p", { className: "mt-1 text-[13px] leading-relaxed text-ink-2", children: "The agent is reading alongside you. Move your pointer over the card." })
3285
+ ] })
3286
+ ] })
3287
+ };
3288
+
3289
+ // src/demo/Globe.ts
3290
+ var globeDemo = {
3291
+ label: "Regions with running agents",
3292
+ markers: [
3293
+ { lat: 37.8, lng: -122.4, size: 1.4 },
3294
+ { lat: 40.7, lng: -74 },
3295
+ { lat: 51.5, lng: -0.1, size: 1.2 },
3296
+ { lat: 52.5, lng: 13.4, size: 0.7 },
3297
+ { lat: 12.97, lng: 77.6 },
3298
+ { lat: 1.35, lng: 103.8, size: 0.8 },
3299
+ { lat: 35.7, lng: 139.7, size: 1.1 },
3300
+ { lat: -23.5, lng: -46.6, size: 0.8 },
3301
+ { lat: -33.9, lng: 151.2, size: 0.7 }
3302
+ ]
3303
+ };
3304
+
3305
+ // src/demo/LayoutGrid.tsx
3306
+ var import_jsx_runtime76 = require("react/jsx-runtime");
3307
+ var story = (title, body) => /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)(import_jsx_runtime76.Fragment, { children: [
3308
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("p", { className: "text-[22px] font-bold tracking-tight", children: title }),
3309
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("p", { className: "mt-2 max-w-md text-[14px] leading-relaxed text-white/75", children: body })
3310
+ ] });
3311
+ var layoutGridDemo = {
3312
+ cards: [
3313
+ { src: artImage(0, 900, 600), alt: "Research", span: "wide", content: story("Research", "Reads forty sources, keeps the six that matter, and shows you exactly where each claim came from.") },
3314
+ { src: artImage(1, 600, 600), alt: "Inbox", content: story("Inbox", "Sorts, drafts and flags. Nothing is sent until you say so.") },
3315
+ { src: artImage(2, 600, 600), alt: "Finance", content: story("Finance", "Matches every invoice to a payment and explains the ones that don't line up.") },
3316
+ { src: artImage(3, 900, 600), alt: "Engineering", span: "wide", content: story("Engineering", "Opens pull requests with tests, then waits for a human to approve the merge.") }
3317
+ ]
3318
+ };
3319
+
3320
+ // src/demo/Lens.tsx
3321
+ var import_jsx_runtime77 = require("react/jsx-runtime");
3322
+ var lensDemo = {
3323
+ className: "w-full max-w-md rounded-window",
3324
+ children: /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("img", { src: artImage(1, 900, 600), alt: "Abstract green artwork", className: "block aspect-[3/2] w-full object-cover" })
3325
+ };
3326
+
3327
+ // src/demo/Marquee3D.ts
3328
+ var marquee3DDemo = {
3329
+ images: Array.from({ length: 20 }, (_, i) => artImage(i, 480, 360)),
3330
+ height: 480
3331
+ };
3332
+
3333
+ // src/demo/Pin3D.tsx
3334
+ var import_jsx_runtime78 = require("react/jsx-runtime");
3335
+ var pin3DDemo = {
3336
+ title: "/agents/research",
3337
+ href: "#research",
3338
+ children: /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: "flex w-[17rem] flex-col", children: [
3339
+ /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("p", { className: "text-[15px] font-semibold", children: "Research agent" }),
3340
+ /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("p", { className: "mt-1 text-[12.5px] leading-relaxed text-white/60", children: "Finds, reads and cites. Pinned to your workspace." }),
3341
+ /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("img", { src: artImage(4, 600, 380), alt: "", className: "mt-4 aspect-[16/10] w-full rounded-[10px] object-cover" })
3342
+ ] })
3343
+ };
3344
+
3345
+ // src/demo/PointerHighlight.ts
3346
+ var pointerHighlightDemo = {
3347
+ children: "every step it took"
3348
+ };
3349
+
3350
+ // src/demo/WorldMap.ts
3351
+ var city2 = {
3352
+ sf: { lat: 37.8, lng: -122.4, label: "San Francisco" },
3353
+ ny: { lat: 40.7, lng: -74, label: "New York" },
3354
+ sp: { lat: -23.5, lng: -46.6, label: "S\xE3o Paulo" },
3355
+ ld: { lat: 51.5, lng: -0.1, label: "London" },
3356
+ ng: { lat: 6.5, lng: 3.4, label: "Lagos" },
3357
+ bl: { lat: 12.97, lng: 77.6, label: "Bengaluru" },
3358
+ sg: { lat: 1.35, lng: 103.8, label: "Singapore" },
3359
+ tk: { lat: 35.7, lng: 139.7, label: "Tokyo" },
3360
+ sy: { lat: -33.9, lng: 151.2, label: "Sydney" }
3361
+ };
3362
+ var worldMapDemo = {
3363
+ connections: [
3364
+ { from: city2.sf, to: city2.ld },
3365
+ { from: city2.ld, to: city2.bl },
3366
+ { from: city2.bl, to: city2.sg },
3367
+ { from: city2.sg, to: city2.sy },
3368
+ { from: city2.ny, to: city2.sp },
3369
+ { from: city2.ld, to: city2.ng },
3370
+ { from: city2.sg, to: city2.tk }
3371
+ ]
3372
+ };
3373
+
3374
+ // src/demo/CircularText.tsx
3375
+ var import_jsx_runtime79 = require("react/jsx-runtime");
3376
+ var circularTextDemo = {
3377
+ text: "agents at work",
3378
+ children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("svg", { viewBox: "0 0 24 24", className: "h-7 w-7", fill: "none", stroke: "currentColor", strokeWidth: "1.8", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("path", { d: "M12 5v14M6 13l6 6 6-6" }) })
3379
+ };
3380
+
3381
+ // src/demo/GlitchText.ts
3382
+ var glitchTextDemo = {
3383
+ children: "SIGNAL LOST",
3384
+ trigger: "burst",
3385
+ every: 3,
3386
+ className: "font-mono text-[40px] font-bold tracking-tight text-ink md:text-[60px]"
3387
+ };
3388
+ var glitchImageDemo = {
3389
+ src: artImage(4, 800, 600),
3390
+ alt: "Abstract artwork that glitches on hover",
3391
+ className: "max-w-sm"
3392
+ };
3393
+
3394
+ // src/demo/HoverRevealList.ts
3395
+ var hoverRevealListDemo = {
3396
+ items: [
3397
+ { title: "Research", image: artImage(0, 640, 480), href: "#research", meta: "12 runs" },
3398
+ { title: "Inbox", image: artImage(1, 640, 480), href: "#inbox", meta: "48 runs" },
3399
+ { title: "Finance", image: artImage(2, 640, 480), href: "#finance", meta: "7 runs" },
3400
+ { title: "Engineering", image: artImage(3, 640, 480), href: "#engineering", meta: "23 runs" },
3401
+ { title: "Support", image: artImage(4, 640, 480), href: "#support", meta: "61 runs" }
3402
+ ]
3403
+ };
3404
+
3405
+ // src/demo/ImageDistortHover.ts
3406
+ var imageDistortHoverDemo = {
3407
+ image: artImage(2, 640, 800),
3408
+ hoverImage: artImage(5, 640, 800),
3409
+ alt: "Abstract artwork that changes on hover",
3410
+ className: "max-w-xs"
3411
+ };
3412
+
3413
+ // src/demo/ImageTrail.tsx
3414
+ var import_jsx_runtime80 = require("react/jsx-runtime");
3415
+ var imageTrailDemo = {
3416
+ images: Array.from({ length: 10 }, (_, i) => artImage(i, 480, 600)),
3417
+ children: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("p", { className: "text-[34px] font-bold tracking-tight text-ink md:text-[52px]", children: "Move to explore" })
3418
+ };
3419
+
3420
+ // src/demo/LinkHover.ts
3421
+ var linkHoverDemo = {
3422
+ href: "#docs",
3423
+ variant: "sweep",
3424
+ children: "Read the docs",
3425
+ className: "text-[18px]"
3426
+ };
3427
+
3428
+ // src/demo/MagneticCursor.tsx
3429
+ var import_jsx_runtime81 = require("react/jsx-runtime");
3430
+ var magneticCursorDemo = {
3431
+ className: "flex min-h-[240px] w-full flex-col items-center justify-center gap-6 rounded-window bg-[var(--canvas)] p-8",
3432
+ children: /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)(import_jsx_runtime81.Fragment, { children: [
3433
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("p", { className: "text-[13.5px] text-ink-2", children: "Move over the controls below." }),
3434
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("div", { className: "flex flex-wrap items-center justify-center gap-4", children: [
3435
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("button", { type: "button", className: "rounded-full bg-[var(--ink)] px-5 py-2.5 text-[13.5px] font-semibold text-[var(--page)]", children: "Start a run" }),
3436
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("a", { href: "#history", className: "px-2 py-1 text-[13.5px] font-medium text-ink", children: "Run history" }),
3437
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("button", { type: "button", className: "rounded-control bg-[var(--surface)] px-4 py-2.5 text-[13.5px] font-medium text-ink shadow-btn", children: "Settings" })
3438
+ ] })
3439
+ ] })
3440
+ };
3441
+
3442
+ // src/demo/ParticleText.ts
3443
+ var particleTextDemo = {
3444
+ text: "AGENTS",
3445
+ height: 220,
3446
+ colors: ["#6366f1", "#8b5cf6", "#ec4899", "#0ea5e9"]
3447
+ };
3448
+
3449
+ // src/demo/RollingText.ts
3450
+ var rollingTextDemo = {
3451
+ text: "Open the workspace",
3452
+ className: "text-[30px] font-semibold tracking-tight text-ink"
3453
+ };
3454
+
3455
+ // src/demo/ScrollTypography.ts
3456
+ var scrollTypographyDemo = {
3457
+ text: "ORCHESTRATE",
3458
+ variant: "flip",
3459
+ className: "text-[44px] font-black tracking-tight text-ink md:text-[96px]"
3460
+ };
3461
+
3462
+ // src/demo/SplitTextReveal.ts
3463
+ var splitTextRevealDemo = {
3464
+ as: "h2",
3465
+ text: "Hand it the busywork. Keep the decisions.",
3466
+ className: "max-w-2xl text-center text-[34px] leading-[1.1] font-bold tracking-tight text-ink md:text-[52px]"
3467
+ };
3468
+
3469
+ // src/demo/DraggableGrid.ts
3470
+ var draggableGridDemo = {
3471
+ images: Array.from({ length: 12 }, (_, i) => artImage(i, 400, 500))
3472
+ };
3473
+
3474
+ // src/demo/ExpandingPanels.ts
3475
+ var expandingPanelsDemo = {
3476
+ panels: [
3477
+ { image: artImage(0, 1e3, 900), title: "Research", description: "Reads widely, cites precisely." },
3478
+ { image: artImage(1, 1e3, 900), title: "Inbox", description: "Sorts and drafts; you send." },
3479
+ { image: artImage(2, 1e3, 900), title: "Finance", description: "Every invoice matched to a payment." },
3480
+ { image: artImage(3, 1e3, 900), title: "Engineering", description: "Pull requests with tests attached." },
3481
+ { image: artImage(4, 1e3, 900), title: "Support", description: "First replies in under a minute." }
3482
+ ]
3483
+ };
3484
+
3485
+ // src/demo/HorizontalScroll.tsx
3486
+ var import_jsx_runtime82 = require("react/jsx-runtime");
3487
+ var steps2 = ["Brief", "Research", "Outline", "Draft", "Review", "Ship"];
3488
+ var horizontalScrollDemo = {
3489
+ viewHeight: "80vh",
3490
+ trackClassName: "px-6",
3491
+ children: steps2.map((title, i) => /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)("figure", { className: "relative h-[52vh] w-[78vw] max-w-[380px] shrink-0 overflow-hidden rounded-window shadow-card", children: [
3492
+ /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("img", { src: artImage(i, 760, 960), alt: "", className: "absolute inset-0 h-full w-full object-cover" }),
3493
+ /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)("figcaption", { className: "absolute inset-x-0 bottom-0 bg-[linear-gradient(to_top,rgba(0,0,0,0.6),transparent)] p-5 text-white", children: [
3494
+ /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)("span", { className: "font-mono text-[12px] text-white/70", children: [
3495
+ "0",
3496
+ i + 1
3497
+ ] }),
3498
+ /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("p", { className: "text-[22px] font-bold tracking-tight", children: title })
3499
+ ] })
3500
+ ] }, title))
3501
+ };
3502
+
3503
+ // src/demo/MarqueeMenu.ts
3504
+ var marqueeMenuDemo = {
3505
+ items: [
3506
+ { label: "Agents", href: "#agents", image: artImage(0, 240, 120) },
3507
+ { label: "Runs", href: "#runs", image: artImage(2, 240, 120) },
3508
+ { label: "Tools", href: "#tools", image: artImage(4, 240, 120) },
3509
+ { label: "Docs", href: "#docs", image: artImage(5, 240, 120) }
3510
+ ]
3511
+ };
3512
+
3513
+ // src/demo/MorphingBlob.tsx
3514
+ var import_jsx_runtime83 = require("react/jsx-runtime");
3515
+ var morphingBlobDemo = {
3516
+ children: /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)(import_jsx_runtime83.Fragment, { children: [
3517
+ /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("p", { className: "text-[28px] font-bold tracking-tight text-white", children: "Always on" }),
3518
+ /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("p", { className: "text-[13px] text-white/75", children: "Agents working while you rest" })
3519
+ ] })
3520
+ };
3521
+
3522
+ // src/demo/PreloaderCounter.ts
3523
+ var preloaderCounterDemo = {
3524
+ fixed: false,
3525
+ labels: { loading: "Waking the agents" }
3526
+ };
3527
+
3528
+ // src/demo/ScrollZoomImage.tsx
3529
+ var import_jsx_runtime84 = require("react/jsx-runtime");
3530
+ var scrollZoomImageDemo = {
3531
+ src: artImage(3, 1600, 1e3),
3532
+ alt: "Abstract artwork that fills the screen as you scroll",
3533
+ viewHeight: "80vh",
3534
+ children: /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("p", { className: "max-w-xl text-[30px] leading-tight font-bold tracking-tight md:text-[48px]", children: "The whole picture, when you need it" })
3535
+ };
3536
+
3537
+ // src/demo/StackedScrollCards.ts
3538
+ var stackedScrollCardsDemo = {
3539
+ cards: [
3540
+ { title: "Plan", body: "The agent breaks your request into steps and shows you the plan before it starts.", image: artImage(0, 800, 840), color: "#eef0ff", textColor: "#1e1b4b" },
3541
+ { title: "Gather", body: "It reads the files, inboxes and dashboards it has been given access to, and nothing else.", image: artImage(1, 800, 840), color: "#e8f7ef", textColor: "#052e16" },
3542
+ { title: "Draft", body: "Work comes back as a draft with every source linked, ready for you to check.", image: artImage(2, 800, 840), color: "#fff1e6", textColor: "#431407" },
3543
+ { title: "Approve", body: "Nothing is sent, paid or merged until a person says yes.", image: artImage(5, 800, 840), color: "#fde8f1", textColor: "#500724" }
3544
+ ]
3545
+ };
3546
+
3547
+ // src/demo/TileReveal.ts
3548
+ var tileRevealDemo = {
3549
+ src: artImage(5, 1200, 900),
3550
+ alt: "Abstract pink artwork",
3551
+ mode: "pixel",
3552
+ className: "max-w-lg"
3553
+ };
3554
+
3555
+ // src/demo/TransitionOverlay.ts
3556
+ var transitionOverlayDemo = {
3557
+ trigger: 0,
3558
+ variant: "columns",
3559
+ fixed: false
3560
+ };
3561
+
3562
+ // src/demo/BurstIcon.ts
3563
+ var burstIconDemo = {
3564
+ icon: "heart",
3565
+ label: "Like this answer",
3566
+ count: 128
3567
+ };
3568
+
3569
+ // src/demo/CaptionHover.ts
3570
+ var captionHoverDemo = {
3571
+ image: artImage(1, 640, 800),
3572
+ title: "Inbox agent",
3573
+ description: "Sorts, drafts and flags. You still press send.",
3574
+ variant: "slide",
3575
+ className: "max-w-[280px]"
3576
+ };
3577
+
3578
+ // src/demo/GooeyStickyMenu.ts
3579
+ var gooeyStickyMenuDemo = {
3580
+ items: [
3581
+ { label: "Overview", href: "#overview" },
3582
+ { label: "Agents", href: "#agents" },
3583
+ { label: "Pricing", href: "#pricing" },
3584
+ { label: "FAQ", href: "#faq" }
3585
+ ],
3586
+ sticky: false
3587
+ };
3588
+
3589
+ // src/demo/OffCanvasMenu.tsx
3590
+ var import_jsx_runtime85 = require("react/jsx-runtime");
3591
+ var offCanvasMenuDemo = {
3592
+ className: "h-[380px] w-full rounded-window bg-[var(--canvas)]",
3593
+ menu: /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("nav", { className: "flex flex-col gap-1", children: [
3594
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("p", { className: "mb-3 text-[11px] font-semibold tracking-[0.18em] text-ink-3 uppercase", children: "Workspace" }),
3595
+ ["Agents", "Runs", "Tools", "Approvals", "Settings"].map((label) => /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("a", { href: `#${label.toLowerCase()}`, className: "rounded-control px-2 py-2 text-[15px] font-medium text-ink hover:bg-[var(--inset)]", children: label }, label))
3596
+ ] }),
3597
+ children: /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("div", { className: "flex h-[380px] flex-col justify-center gap-2 p-8", children: [
3598
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("p", { className: "text-[24px] font-bold tracking-tight text-ink", children: "Today" }),
3599
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("p", { className: "max-w-sm text-[13.5px] text-ink-2", children: "Three runs finished overnight and one is waiting for your approval." })
3600
+ ] })
3601
+ };
3602
+
3603
+ // src/demo/PageTransition.tsx
3604
+ var import_jsx_runtime86 = require("react/jsx-runtime");
3605
+ var pageTransitionDemo = {
3606
+ viewKey: "inbox",
3607
+ effect: "cube",
3608
+ className: "w-full rounded-window",
3609
+ children: /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)("div", { className: "flex h-[260px] flex-col justify-center gap-2 bg-[#eef0ff] p-8 text-[#1e1b4b]", children: [
3610
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("p", { className: "text-[28px] font-bold tracking-tight", children: "Inbox" }),
3611
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("p", { className: "text-[13.5px] opacity-75", children: "Twelve threads sorted, four drafts ready for review." })
3612
+ ] })
3613
+ };
3614
+
3615
+ // src/demo/ParticleButton.ts
3616
+ var particleButtonDemo = {
3617
+ children: "Discard draft"
3618
+ };
3619
+
3620
+ // src/demo/RainGlass.ts
3621
+ var rainGlassDemo = {
3622
+ src: artImage(4, 1200, 800),
3623
+ alt: "Abstract blue artwork behind a rainy window",
3624
+ height: 380
3625
+ };
3626
+
3627
+ // src/demo/ScrollGrid.ts
3628
+ var scrollGridDemo = {
3629
+ images: Array.from({ length: 12 }, (_, i) => artImage(i, 480, 600)),
3630
+ variant: "tilt"
3631
+ };
3632
+
3633
+ // src/demo/ScrollLayoutSwitch.ts
3634
+ var names2 = ["Research", "Inbox", "Finance", "Engineering", "Support", "Ops", "Sales", "Legal"];
3635
+ var scrollLayoutSwitchDemo = {
3636
+ items: names2.map((title, i) => ({ title, image: artImage(i, 480, 600) })),
3637
+ viewHeight: "80vh"
3638
+ };
3639
+
3640
+ // src/demo/SeamTransition.tsx
3641
+ var import_jsx_runtime87 = require("react/jsx-runtime");
3642
+ var seamTransitionDemo = {
3643
+ heroHeight: "80vh",
3644
+ hero: /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: "relative flex h-full items-center justify-center", children: [
3645
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("img", { src: artImage(3, 1600, 1e3), alt: "", className: "absolute inset-0 h-full w-full object-cover" }),
3646
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("p", { className: "relative max-w-2xl px-6 text-center text-[36px] leading-tight font-bold tracking-tight text-white md:text-[56px]", children: "Work that keeps going after you log off" })
3647
+ ] }),
3648
+ contentClassName: "px-6 py-16 md:px-12",
3649
+ children: /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: "mx-auto grid max-w-3xl gap-6", children: [
3650
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("p", { className: "text-[24px] font-bold tracking-tight text-ink", children: "How a run works" }),
3651
+ ["You describe the outcome.", "The agent plans and gathers.", "It drafts, with sources.", "You approve, or ask for changes."].map((step, i) => /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("p", { className: "text-[15px] text-ink-2", children: [
3652
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("span", { className: "mr-3 font-mono text-ink-3", children: [
3653
+ "0",
3654
+ i + 1
3655
+ ] }),
3656
+ step
3657
+ ] }, step))
3658
+ ] })
3659
+ };
3660
+
3661
+ // src/demo/DrawPath.ts
3662
+ var drawPathDemo = {
3663
+ viewBox: "0 0 120 90",
3664
+ label: "A chat bubble with a spark",
3665
+ paths: [
3666
+ "M20 18 H80 A10 10 0 0 1 90 28 V52 A10 10 0 0 1 80 62 H46 L34 72 V62 H20 A10 10 0 0 1 10 52 V28 A10 10 0 0 1 20 18 Z",
3667
+ "M26 34 H74",
3668
+ "M26 46 H58",
3669
+ "M104 8 L107 16 L115 19 L107 22 L104 30 L101 22 L93 19 L101 16 Z"
3670
+ ],
3671
+ strokeWidth: 2,
3672
+ duration: 1100,
3673
+ stagger: -300,
3674
+ className: "max-w-sm"
3675
+ };
3676
+
3677
+ // src/demo/FlipGrid.ts
3678
+ var rows2 = [
3679
+ ["Market scan", ["Research"]],
3680
+ ["Vendor compare", ["Research", "Finance"]],
3681
+ ["Invoice match", ["Finance"]],
3682
+ ["Payroll check", ["Finance", "Ops"]],
3683
+ ["On-call digest", ["Ops"]],
3684
+ ["Release notes", ["Ops", "Research"]],
3685
+ ["Churn review", ["Research"]],
3686
+ ["Spend alerts", ["Finance"]],
3687
+ ["Access audit", ["Ops"]]
3688
+ ];
3689
+ var flipGridDemo = {
3690
+ items: rows2.map(([title, tags], i) => ({ id: `card-${i}`, title, tags, image: artImage(i, 480, 360), meta: tags[0] }))
3691
+ };
3692
+
3693
+ // src/demo/GravityTags.ts
3694
+ var gravityTagsDemo = {
3695
+ tags: ["Search", "Calendar", "Email", "CRM", "Spreadsheets", "Slack", "Drive", "Billing", "Tickets", "Code review", "Docs", "Analytics", "Contracts", "Payroll"]
3696
+ };
3697
+
3698
+ // src/demo/InertiaSlider.tsx
3699
+ var import_jsx_runtime88 = require("react/jsx-runtime");
3700
+ var names3 = ["Research", "Inbox", "Finance", "Engineering", "Support", "Ops"];
3701
+ var inertiaSliderDemo = {
3702
+ slideWidth: 260,
3703
+ children: names3.map((name, i) => /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("figure", { className: "m-0 overflow-hidden rounded-window bg-[var(--surface)] shadow-card", children: [
3704
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("img", { src: artImage(i, 520, 620), alt: "", draggable: false, className: "aspect-[26/31] w-full object-cover" }),
3705
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("figcaption", { className: "p-3 text-[13.5px] font-semibold text-ink", children: [
3706
+ name,
3707
+ " agent"
3708
+ ] })
3709
+ ] }, name))
3710
+ };
3711
+
3712
+ // src/demo/MotionPath.ts
3713
+ var motionPathDemo = {
3714
+ path: "M10 150 C 80 20, 160 20, 200 100 S 320 180, 390 50",
3715
+ viewBox: "0 0 400 200"
3716
+ };
3717
+
3718
+ // src/demo/ScrollToTop.ts
3719
+ var scrollToTopDemo = {
3720
+ threshold: 0,
3721
+ fixed: false
3722
+ };
3723
+
3724
+ // src/demo/ShapeMorph.ts
3725
+ var shapeMorphDemo = {
3726
+ label: "A shape that morphs between a circle, a square, a star and a heart",
3727
+ shapes: [
3728
+ "M50 10 A40 40 0 1 1 49.99 10 Z",
3729
+ "M22 12 H78 Q88 12 88 22 V78 Q88 88 78 88 H22 Q12 88 12 78 V22 Q12 12 22 12 Z",
3730
+ "M50 8 L61 38 L93 38 L67 57 L77 89 L50 70 L23 89 L33 57 L7 38 L39 38 Z",
3731
+ "M50 86 C20 64 8 48 8 32 C8 18 19 9 31 9 C40 9 46 14 50 21 C54 14 60 9 69 9 C81 9 92 18 92 32 C92 48 80 64 50 86 Z"
3732
+ ],
3733
+ colors: ["#6366f1", "#0ea5e9", "#f59e0b", "#ec4899"],
3734
+ className: "max-w-[220px]"
3735
+ };
3736
+
3737
+ // src/demo/SmoothScroll.tsx
3738
+ var import_jsx_runtime89 = require("react/jsx-runtime");
3739
+ var smoothScrollDemo = {
3740
+ height: 420,
3741
+ className: "rounded-window bg-[var(--canvas)]",
3742
+ children: /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)("div", { className: "flex flex-col gap-24 px-8 py-16", children: [
3743
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("p", { className: "text-[32px] leading-tight font-bold tracking-tight text-ink", children: "Scroll inside this panel" }),
3744
+ [0, 1, 2].map((i) => /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)("div", { className: "grid grid-cols-2 items-center gap-6", children: [
3745
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("img", { "data-speed": i % 2 ? "0.85" : "1.15", src: artImage(i, 600, 700), alt: "", className: "aspect-[6/7] w-full rounded-[12px] object-cover" }),
3746
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("p", { "data-speed": i % 2 ? "1.1" : "0.9", className: "text-[15px] leading-relaxed text-ink-2", children: "Pictures and text marked with data-speed drift at their own pace for an easy parallax." })
3747
+ ] }, i))
3748
+ ] })
3749
+ };
3750
+
3751
+ // src/demo/SwipeSections.tsx
3752
+ var import_jsx_runtime90 = require("react/jsx-runtime");
3753
+ var panels = [
3754
+ { title: "Describe", body: "Tell the agent the outcome you want.", bg: "#1e1b4b" },
3755
+ { title: "Plan", body: "It breaks the work into steps you can read.", bg: "#064e3b" },
3756
+ { title: "Do", body: "It gathers, drafts and checks its own work.", bg: "#7c2d12" },
3757
+ { title: "Approve", body: "Nothing ships until you say yes.", bg: "#831843" }
3758
+ ];
3759
+ var swipeSectionsDemo = {
3760
+ height: "420px",
3761
+ effect: "stack",
3762
+ className: "rounded-window",
3763
+ children: panels.map((p, i) => /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)("div", { className: "flex h-full flex-col justify-center gap-3 p-10 text-white", style: { background: p.bg }, children: [
3764
+ /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)("span", { className: "font-mono text-[12px] text-white/60", children: [
3765
+ "0",
3766
+ i + 1,
3767
+ " / 0",
3768
+ panels.length
3769
+ ] }),
3770
+ /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("p", { className: "text-[40px] font-bold tracking-tight", children: p.title }),
3771
+ /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("p", { className: "max-w-sm text-[15px] text-white/75", children: p.body })
3772
+ ] }, p.title))
3773
+ };
3774
+
3775
+ // src/demo/VelocityMarquee.ts
3776
+ var velocityMarqueeDemo = {
3777
+ rows: ["Research agents", "Inbox agents", "Finance agents"],
3778
+ className: "text-[48px] font-black tracking-tight text-ink uppercase md:text-[80px]"
3779
+ };
3780
+
3781
+ // src/demo/BlendCursor.tsx
3782
+ var import_jsx_runtime91 = require("react/jsx-runtime");
3783
+ var blendCursorDemo = {
3784
+ className: "flex min-h-[260px] w-full flex-col justify-center gap-4 rounded-window bg-[var(--page)] p-10",
3785
+ children: /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)(import_jsx_runtime91.Fragment, { children: [
3786
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("h2", { className: "text-[44px] leading-none font-black tracking-tight text-ink md:text-[64px]", children: "Look closer" }),
3787
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("p", { className: "max-w-md text-[14px] text-ink-2", children: "The cursor inverts what it covers and grows over headings and links." }),
3788
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("a", { href: "#agents", className: "w-fit text-[15px] font-semibold text-ink underline underline-offset-4", children: "Meet the agents" })
3789
+ ] })
3790
+ };
3791
+
3792
+ // src/demo/CountUp.ts
3793
+ var countUpDemo = {
3794
+ value: 128450,
3795
+ suffix: " tasks",
3796
+ className: "text-[44px] font-bold tracking-tight text-ink"
3797
+ };
3798
+
3799
+ // src/demo/ImageSequence.tsx
3800
+ var import_jsx_runtime92 = require("react/jsx-runtime");
3801
+ var frame = (i, n) => {
3802
+ const t = i / (n - 1);
3803
+ const orbs = Array.from({ length: 12 }, (_, k) => {
3804
+ const a = k / 12 * Math.PI * 2 + t * Math.PI * 1.5;
3805
+ const rad = 210 - t * 120;
3806
+ const x = 400 + Math.cos(a) * rad;
3807
+ const y = 300 + Math.sin(a) * rad * 0.55;
3808
+ const r = 18 + 10 * Math.sin(a + t * 3) ** 2;
3809
+ const hue = 230 + k * 9 + t * 60;
3810
+ return `<circle cx="${x.toFixed(1)}" cy="${y.toFixed(1)}" r="${r.toFixed(1)}" fill="hsl(${hue} 85% 62%)"/>`;
3811
+ }).join("");
3812
+ const core = 30 + t * 70;
3813
+ const svg = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 600"><rect width="800" height="600" fill="#0b0c14"/><circle cx="400" cy="300" r="${core.toFixed(1)}" fill="hsl(${260 + t * 60} 90% 70%)" opacity="${(0.3 + t * 0.7).toFixed(2)}"/>${orbs}</svg>`;
3814
+ return `data:image/svg+xml;charset=utf-8,${encodeURIComponent(svg)}`;
3815
+ };
3816
+ var imageSequenceDemo = {
3817
+ frames: Array.from({ length: 48 }, (_, i) => frame(i, 48)),
3818
+ viewHeight: "80vh",
3819
+ length: 2,
3820
+ fit: "cover",
3821
+ label: "A ring of coloured orbs closing into a glowing core as you scroll",
3822
+ className: "rounded-window bg-[#0b0c14]",
3823
+ children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("p", { className: "absolute bottom-8 left-8 text-[13px] font-medium tracking-wide text-white/60 uppercase", children: "Scroll to play" })
3824
+ };
3825
+
3826
+ // src/demo/LoopSlider.tsx
3827
+ var import_jsx_runtime93 = require("react/jsx-runtime");
3828
+ var names4 = ["Research", "Inbox", "Finance", "Engineering", "Support", "Ops", "Sales"];
3829
+ var loopSliderDemo = {
3830
+ slideWidth: 240,
3831
+ autoplay: 3500,
3832
+ children: names4.map((name, i) => /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("figure", { className: "m-0 overflow-hidden rounded-window bg-[var(--surface)] shadow-card", children: [
3833
+ /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("img", { src: artImage(i, 480, 600), alt: "", draggable: false, className: "aspect-[4/5] w-full object-cover" }),
3834
+ /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("figcaption", { className: "p-3 text-[13.5px] font-semibold text-ink", children: [
3835
+ name,
3836
+ " agent"
3837
+ ] })
3838
+ ] }, name))
3839
+ };
3840
+
3841
+ // src/demo/StaggerGrid.ts
3842
+ var staggerGridDemo = {
3843
+ rows: 9,
3844
+ columns: 17
3845
+ };
3846
+
3847
+ // src/demo/TextOnPath.ts
3848
+ var textOnPathDemo = {
3849
+ text: "Plan \xB7 Gather \xB7 Draft \xB7 Review \xB7 Approve",
3850
+ mode: "loop",
3851
+ repeat: 2
3852
+ };
1762
3853
  // Annotate the CommonJS export names for ESM import in node:
1763
3854
  0 && (module.exports = {
1764
3855
  agentScreenDemo,
3856
+ animatedModalDemo,
3857
+ animatedTabsDemo,
3858
+ animatedTestimonialsDemo,
3859
+ animatedTooltipDemo,
1765
3860
  approvalCardDemo,
3861
+ arcGlobeDemo,
3862
+ asciiArtDemo,
3863
+ auroraBackgroundDemo,
3864
+ backgroundBeamsDemo,
3865
+ backgroundBoxesDemo,
3866
+ backgroundCubesGridDemo,
3867
+ backgroundGradientAnimationDemo,
3868
+ backgroundGradientDemo,
3869
+ backgroundLinesDemo,
3870
+ backgroundRippleEffectDemo,
3871
+ beamsWithCollisionDemo,
3872
+ bentoGridDemo,
3873
+ bentoGridItemDemo,
3874
+ blendCursorDemo,
3875
+ burstIconDemo,
3876
+ canvasRevealEffectDemo,
3877
+ canvasTextDemo,
3878
+ captionHoverDemo,
3879
+ card3DDemo,
3880
+ card3DItemDemo,
3881
+ cardHoverEffectDemo,
3882
+ cardStackDemo,
3883
+ cardsCarouselDemo,
3884
+ carousel3DDemo,
1766
3885
  chatComposerDemo,
3886
+ chromaticImageDemo,
3887
+ cipherCardDemo,
3888
+ circularTextDemo,
3889
+ cloudShaderDemo,
1767
3890
  codeBlockDemo,
3891
+ colourfulTextDemo,
3892
+ cometCardDemo,
3893
+ compareDemo,
3894
+ containerCoverDemo,
3895
+ containerScrollAnimationDemo,
3896
+ containerTextFlipDemo,
1768
3897
  contextCardsDemo,
3898
+ countUpDemo,
1769
3899
  dialogDemo,
1770
3900
  diffTableDemo,
3901
+ directionAwareHoverDemo,
3902
+ ditherShaderDemo,
3903
+ dottedGlowBackgroundDemo,
3904
+ draggableCardsDemo,
3905
+ draggableGridDemo,
3906
+ drawPathDemo,
3907
+ effectButtonDemo,
1771
3908
  emptyStateDemo,
3909
+ encryptedTextDemo,
1772
3910
  errorStateDemo,
3911
+ expandableCardDemo,
3912
+ expandingPanelsDemo,
3913
+ fileUploadDemo,
1773
3914
  filterTableDemo,
1774
3915
  fineTuneCardDemo,
3916
+ flipGridDemo,
3917
+ flipWordsDemo,
3918
+ floatingDockDemo,
3919
+ floatingNavbarDemo,
1775
3920
  flowchartDemo,
3921
+ focusCardsDemo,
3922
+ followingPointerDemo,
3923
+ glareCardDemo,
3924
+ glitchImageDemo,
3925
+ glitchTextDemo,
3926
+ globeDemo,
3927
+ glowInputDemo,
3928
+ glowingEffectDemo,
3929
+ glowingStarsDemo,
3930
+ gooeyInputDemo,
3931
+ gooeyStickyMenuDemo,
3932
+ gravityTagsDemo,
3933
+ gridBackgroundDemo,
3934
+ heroHighlightDemo,
3935
+ heroParallaxDemo,
3936
+ highlightDemo,
3937
+ horizontalScrollDemo,
3938
+ hoverBorderGradientDemo,
3939
+ hoverRevealListDemo,
3940
+ imageDistortHoverDemo,
3941
+ imageGenerationLoaderDemo,
3942
+ imageSequenceDemo,
3943
+ imageTrailDemo,
3944
+ imagesBadgeDemo,
3945
+ imagesSliderDemo,
3946
+ inertiaSliderDemo,
3947
+ infiniteMovingCardsDemo,
1776
3948
  insightCardsDemo,
3949
+ keyboardDemo,
3950
+ lampEffectDemo,
3951
+ laptopScrollDemo,
3952
+ layoutGridDemo,
3953
+ layoutTextFlipDemo,
3954
+ lensDemo,
3955
+ linkHoverDemo,
3956
+ linkPreviewDemo,
3957
+ liquidGlassDemo,
1777
3958
  loadingStateDemo,
3959
+ loopSliderDemo,
3960
+ magneticButtonDemo,
3961
+ magneticCursorDemo,
1778
3962
  markdownDemo,
3963
+ marquee3DDemo,
3964
+ marqueeMenuDemo,
1779
3965
  messageThreadDemo,
3966
+ meteorsDemo,
3967
+ morphingBlobDemo,
3968
+ motionPathDemo,
3969
+ movingBorderDemo,
3970
+ navbarMenuDemo,
3971
+ noiseBackgroundDemo,
3972
+ notchDemo,
3973
+ offCanvasMenuDemo,
3974
+ pageTransitionDemo,
3975
+ parallaxHeroImagesDemo,
3976
+ parallaxScrollDemo,
3977
+ particleButtonDemo,
3978
+ particleTextDemo,
3979
+ pin3DDemo,
3980
+ pixelatedCanvasDemo,
3981
+ pointerHighlightDemo,
3982
+ preloaderCounterDemo,
1780
3983
  promptBarDemo,
3984
+ rainGlassDemo,
1781
3985
  recommendationCardDemo,
1782
3986
  recordsTableDemo,
3987
+ resizableNavbarDemo,
3988
+ rollingTextDemo,
3989
+ scalesDemo,
3990
+ scrollGridDemo,
3991
+ scrollLayoutSwitchDemo,
3992
+ scrollPathsEffectDemo,
3993
+ scrollToTopDemo,
3994
+ scrollTypographyDemo,
3995
+ scrollZoomImageDemo,
3996
+ seamTransitionDemo,
1783
3997
  searchListDemo,
1784
3998
  selectionActionsDemo,
3999
+ shapeMorphDemo,
4000
+ shootingStarsDemo,
1785
4001
  sidebarNavDemo,
4002
+ signupFormDemo,
4003
+ smoothScrollDemo,
4004
+ sparklesDemo,
4005
+ splitTextRevealDemo,
4006
+ spotlightCardDemo,
4007
+ spotlightDemo,
4008
+ spotlightNewDemo,
4009
+ squigglyTextDemo,
4010
+ stackedScrollCardsDemo,
4011
+ staggerGridDemo,
4012
+ statefulButtonDemo,
4013
+ stickyBannerDemo,
4014
+ stickyScrollRevealDemo,
1786
4015
  streamingTextDemo,
4016
+ svgMaskEffectDemo,
4017
+ swipeSectionsDemo,
1787
4018
  taskRowsDemo,
4019
+ terminalDemo,
4020
+ textFlippingBoardDemo,
4021
+ textHoverEffectDemo,
4022
+ textOnPathDemo,
4023
+ textRevealCardDemo,
1788
4024
  thinkingStateDemo,
1789
4025
  thinkingStateDemos,
4026
+ tileRevealDemo,
4027
+ timelineDemo,
1790
4028
  toolChipsDemo,
1791
- usageMeterDemo
4029
+ tooltipCardDemo,
4030
+ tracingBeamDemo,
4031
+ transitionOverlayDemo,
4032
+ typewriterDemo,
4033
+ usageMeterDemo,
4034
+ velocityMarqueeDemo,
4035
+ vortexDemo,
4036
+ wavyBackgroundDemo,
4037
+ webcamPixelGridDemo,
4038
+ wobbleCardDemo,
4039
+ worldMapDemo
1792
4040
  });
1793
4041
  //# sourceMappingURL=demo.cjs.map