@frequencyads/components 0.1.8 → 0.1.10

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/index.mjs CHANGED
@@ -1,10 +1,10 @@
1
1
  'use client';
2
- import { useMantineColorScheme as Le, Anchor as Se, Text as v, Box as x, Container as Ge, Title as se, SimpleGrid as re, Card as _e, Stack as Y, Group as z, Image as te, Paper as K, ThemeIcon as Re, Badge as Pe, Avatar as qe, Button as ae, Portal as Oe, Notification as Ve, useComputedColorScheme as He, ActionIcon as Z, Slider as Ue, Transition as Xe, Tooltip as Ye } from "@mantine/core";
3
- import { Anchor as Lo, Badge as So, Box as Po, Button as Eo, Card as Fo, Container as Wo, Divider as Ao, Flex as jo, Grid as Go, Group as Ro, Image as qo, SimpleGrid as Oo, Stack as Vo, Text as Ho, Title as Uo } from "@mantine/core";
4
- import { jsx as e, jsxs as l, Fragment as Ee } from "react/jsx-runtime";
2
+ import { useMantineColorScheme as Le, Anchor as Se, Text as v, Box as x, Container as Ge, Title as te, SimpleGrid as se, Card as _e, Stack as A, Group as I, Image as oe, Paper as X, ThemeIcon as Pe, Button as J, Badge as Ee, Avatar as Re, Portal as Oe, Notification as Ve, useComputedColorScheme as He, ActionIcon as ee, Slider as Ue, Transition as Xe, Tooltip as Ye } from "@mantine/core";
3
+ import { Anchor as So, AspectRatio as Po, Badge as Eo, Box as Fo, Button as Wo, Card as qo, Center as Ao, Container as jo, Divider as Go, Flex as Ro, Grid as Oo, Group as Vo, Image as Ho, Paper as Uo, SimpleGrid as Xo, Stack as Yo, Text as Ko, ThemeIcon as Jo, Title as Qo } from "@mantine/core";
4
+ import { jsx as e, jsxs as l, Fragment as Fe } from "react/jsx-runtime";
5
5
  import { fonts as be } from "@frequencyads/brand/typography";
6
- import { useRef as A, useState as T, useEffect as S, forwardRef as Fe, useImperativeHandle as Ke, useCallback as L } from "react";
7
- import { IconX as Je, IconCheck as Qe, IconQuote as Ze, IconPlayerPauseFilled as We, IconPlayerPlayFilled as Ae, IconVolumeOff as et, IconVolume as tt, IconDownload as nt, IconPlus as ve } from "@tabler/icons-react";
6
+ import { useRef as q, useState as T, useEffect as S, forwardRef as We, useImperativeHandle as Ke, useCallback as L } from "react";
7
+ import { IconX as Je, IconCheck as Qe, IconQuote as Ze, IconPlayerPauseFilled as qe, IconPlayerPlayFilled as Ae, IconVolumeOff as et, IconVolume as tt, IconDownload as nt, IconPlus as ve } from "@tabler/icons-react";
8
8
  import { motion as D } from "framer-motion";
9
9
  import ot from "@frequencyads/brand/assets/frequency-mark-white.svg";
10
10
  import { gradients as rt } from "@frequencyads/brand/colors";
@@ -14,15 +14,15 @@ const at = "_container_4mojd_1", st = "_appName_4mojd_7", ye = {
14
14
  };
15
15
  function uo({
16
16
  appName: t,
17
- textColor: o,
18
- href: a = "/",
19
- ...r
17
+ textColor: n,
18
+ href: r = "/",
19
+ ...a
20
20
  }) {
21
- const { colorScheme: s } = Le(), y = s === "dark" ? "dark.0" : "gray.9";
21
+ const { colorScheme: s } = Le(), _ = s === "dark" ? "dark.0" : "gray.9";
22
22
  return /* @__PURE__ */ e(
23
23
  Se,
24
24
  {
25
- href: a,
25
+ href: r,
26
26
  className: ye.container,
27
27
  underline: "never",
28
28
  style: {
@@ -30,8 +30,8 @@ function uo({
30
30
  "--heading-font-family": be.heading.family,
31
31
  "--heading-font-weight-semibold": be.heading.weights.semibold
32
32
  },
33
- ...r,
34
- children: /* @__PURE__ */ e(v, { className: ye.appName, c: o ?? y, children: t })
33
+ ...a,
34
+ children: /* @__PURE__ */ e(v, { className: ye.appName, c: n ?? _, children: t })
35
35
  }
36
36
  );
37
37
  }
@@ -41,33 +41,33 @@ const it = "_root_6irix_1", lt = "_visible_6irix_9", ke = {
41
41
  };
42
42
  function ce({
43
43
  children: t,
44
- delay: o = 0,
45
- threshold: a = 0.1,
46
- className: r,
44
+ delay: n = 0,
45
+ threshold: r = 0.1,
46
+ className: a,
47
47
  ...s
48
48
  }) {
49
- const u = A(null), [y, _] = T(!1);
49
+ const h = q(null), [_, g] = T(!1);
50
50
  return S(() => {
51
- const g = u.current;
52
- if (!g) return;
51
+ const p = h.current;
52
+ if (!p) return;
53
53
  const m = new IntersectionObserver(
54
- ([h]) => {
55
- h.isIntersecting && (o > 0 ? setTimeout(() => _(!0), o) : _(!0));
54
+ ([u]) => {
55
+ u.isIntersecting && (n > 0 ? setTimeout(() => g(!0), n) : g(!0));
56
56
  },
57
- { threshold: a }
57
+ { threshold: r }
58
58
  );
59
- return m.observe(g), () => m.disconnect();
60
- }, [o, a]), /* @__PURE__ */ e(
59
+ return m.observe(p), () => m.disconnect();
60
+ }, [n, r]), /* @__PURE__ */ e(
61
61
  x,
62
62
  {
63
- ref: u,
64
- className: `${ke.root} ${y ? ke.visible : ""} ${r ?? ""}`,
63
+ ref: h,
64
+ className: `${ke.root} ${_ ? ke.visible : ""} ${a ?? ""}`,
65
65
  ...s,
66
66
  children: t
67
67
  }
68
68
  );
69
69
  }
70
- const ct = "_root_1bo86_1", dt = "_label_1bo86_6", mt = "_title_1bo86_11", ht = "_description_1bo86_17", ut = "_logoCard_1bo86_22", Q = {
70
+ const ct = "_root_1bo86_1", dt = "_label_1bo86_6", mt = "_title_1bo86_11", ht = "_description_1bo86_17", ut = "_logoCard_1bo86_22", Z = {
71
71
  root: ct,
72
72
  label: dt,
73
73
  title: mt,
@@ -76,19 +76,19 @@ const ct = "_root_1bo86_1", dt = "_label_1bo86_6", mt = "_title_1bo86_11", ht =
76
76
  };
77
77
  function go({
78
78
  title: t = "Our Logos",
79
- label: o = "Identity",
80
- description: a = "The Frequency identity comes in two forms — the horizontal textmark for standard use and the circular brand mark for compact spaces and hero moments."
79
+ label: n = "Identity",
80
+ description: r = "The Frequency identity comes in two forms — the horizontal textmark for standard use and the circular brand mark for compact spaces and hero moments."
81
81
  }) {
82
- return /* @__PURE__ */ e("section", { className: Q.root, children: /* @__PURE__ */ l(Ge, { size: "xl", children: [
82
+ return /* @__PURE__ */ e("section", { className: Z.root, children: /* @__PURE__ */ l(Ge, { size: "xl", children: [
83
83
  /* @__PURE__ */ l(ce, { children: [
84
- /* @__PURE__ */ e(v, { className: Q.label, size: "xs", tt: "uppercase", c: "blue.5", mb: "xs", children: o }),
85
- /* @__PURE__ */ e(se, { order: 2, className: Q.title, mb: "lg", children: t }),
86
- /* @__PURE__ */ e(v, { className: Q.description, size: "lg", c: "gray.6", mb: 60, maw: 600, children: a })
84
+ /* @__PURE__ */ e(v, { className: Z.label, size: "xs", tt: "uppercase", c: "blue.5", mb: "xs", children: n }),
85
+ /* @__PURE__ */ e(te, { order: 2, className: Z.title, mb: "lg", children: t }),
86
+ /* @__PURE__ */ e(v, { className: Z.description, size: "lg", c: "gray.6", mb: 60, maw: 600, children: r })
87
87
  ] }),
88
- /* @__PURE__ */ l(re, { cols: { base: 1, lg: 2 }, spacing: 32, mb: 48, children: [
89
- /* @__PURE__ */ e(ce, { delay: 100, children: /* @__PURE__ */ e(_e, { padding: 0, radius: "lg", className: Q.logoCard, children: /* @__PURE__ */ l(Y, { gap: 0, children: [
90
- /* @__PURE__ */ e(z, { justify: "center", align: "center", bg: "white", h: 240, children: /* @__PURE__ */ e(
91
- te,
88
+ /* @__PURE__ */ l(se, { cols: { base: 1, lg: 2 }, spacing: 32, mb: 48, children: [
89
+ /* @__PURE__ */ e(ce, { delay: 100, children: /* @__PURE__ */ e(_e, { padding: 0, radius: "lg", className: Z.logoCard, children: /* @__PURE__ */ l(A, { gap: 0, children: [
90
+ /* @__PURE__ */ e(I, { justify: "center", align: "center", bg: "white", h: 240, children: /* @__PURE__ */ e(
91
+ oe,
92
92
  {
93
93
  src: "/images/Frequency_logo-light.png",
94
94
  alt: "Frequency textmark on light",
@@ -96,8 +96,8 @@ function go({
96
96
  fit: "contain"
97
97
  }
98
98
  ) }),
99
- /* @__PURE__ */ e(z, { justify: "center", align: "center", bg: "gray.9", h: 240, children: /* @__PURE__ */ e(
100
- te,
99
+ /* @__PURE__ */ e(I, { justify: "center", align: "center", bg: "gray.9", h: 240, children: /* @__PURE__ */ e(
100
+ oe,
101
101
  {
102
102
  src: "/images/Frequency_logo-dark.png",
103
103
  alt: "Frequency textmark on dark",
@@ -107,10 +107,10 @@ function go({
107
107
  ) }),
108
108
  /* @__PURE__ */ e(x, { p: "md", bg: "gray.1", children: /* @__PURE__ */ e(v, { size: "sm", c: "gray.6", fw: 600, ff: "Montserrat, sans-serif", children: "Primary Textmark" }) })
109
109
  ] }) }) }),
110
- /* @__PURE__ */ e(ce, { delay: 200, children: /* @__PURE__ */ e(_e, { padding: 0, radius: "lg", className: Q.logoCard, children: /* @__PURE__ */ l(Y, { gap: 0, children: [
111
- /* @__PURE__ */ l(re, { cols: 3, children: [
112
- /* @__PURE__ */ e(z, { justify: "center", align: "center", bg: "white", style: { aspectRatio: "1/1" }, children: /* @__PURE__ */ e(
113
- te,
110
+ /* @__PURE__ */ e(ce, { delay: 200, children: /* @__PURE__ */ e(_e, { padding: 0, radius: "lg", className: Z.logoCard, children: /* @__PURE__ */ l(A, { gap: 0, children: [
111
+ /* @__PURE__ */ l(se, { cols: 3, children: [
112
+ /* @__PURE__ */ e(I, { justify: "center", align: "center", bg: "white", style: { aspectRatio: "1/1" }, children: /* @__PURE__ */ e(
113
+ oe,
114
114
  {
115
115
  src: "/images/new-frequency-logo.png",
116
116
  alt: "Brand mark on light",
@@ -119,8 +119,8 @@ function go({
119
119
  fit: "contain"
120
120
  }
121
121
  ) }),
122
- /* @__PURE__ */ e(z, { justify: "center", align: "center", bg: "gray.9", style: { aspectRatio: "1/1" }, children: /* @__PURE__ */ e(
123
- te,
122
+ /* @__PURE__ */ e(I, { justify: "center", align: "center", bg: "gray.9", style: { aspectRatio: "1/1" }, children: /* @__PURE__ */ e(
123
+ oe,
124
124
  {
125
125
  src: "/images/frequency-mark-white.svg",
126
126
  alt: "Brand mark on dark",
@@ -130,7 +130,7 @@ function go({
130
130
  }
131
131
  ) }),
132
132
  /* @__PURE__ */ e(
133
- z,
133
+ I,
134
134
  {
135
135
  justify: "center",
136
136
  align: "center",
@@ -139,7 +139,7 @@ function go({
139
139
  background: "linear-gradient(135deg, #169BDE 0%, #7E57C2 100%)"
140
140
  },
141
141
  children: /* @__PURE__ */ e(
142
- te,
142
+ oe,
143
143
  {
144
144
  src: "/images/frequency-mark-white.svg",
145
145
  alt: "Brand mark on gradient",
@@ -180,7 +180,40 @@ function go({
180
180
  ) })
181
181
  ] }) });
182
182
  }
183
- const gt = "_root_dzed6_1", pt = "_dont_dzed6_7", ft = "_dontIcon_dzed6_12", _t = "_dontLabel_dzed6_13", bt = "_doIcon_dzed6_22", vt = "_doLabel_dzed6_23", U = {
183
+ function po({
184
+ title: t,
185
+ description: n,
186
+ items: r,
187
+ buttonText: a,
188
+ href: s,
189
+ buttons: h
190
+ }) {
191
+ return /* @__PURE__ */ e(X, { p: "xl", radius: "md", withBorder: !0, shadow: "sm", h: "100%", children: /* @__PURE__ */ l(A, { gap: "md", justify: "space-between", h: "100%", children: [
192
+ /* @__PURE__ */ l(A, { gap: "md", children: [
193
+ /* @__PURE__ */ e(te, { order: 3, size: "h4", children: t }),
194
+ n && /* @__PURE__ */ e(v, { c: "dimmed", size: "sm", children: n }),
195
+ r && r.length > 0 && /* @__PURE__ */ e(A, { gap: "xs", children: r.map((_, g) => /* @__PURE__ */ l(I, { gap: "sm", align: "flex-start", wrap: "nowrap", children: [
196
+ /* @__PURE__ */ e(Pe, { color: "gray", size: 6, radius: "xl", mt: 8, style: { flexShrink: 0 }, children: /* @__PURE__ */ e("div", {}) }),
197
+ /* @__PURE__ */ e(v, { size: "sm", children: _ })
198
+ ] }, g)) })
199
+ ] }),
200
+ /* @__PURE__ */ e(I, { gap: "sm", mt: "md", children: h ? h.map((_, g) => /* @__PURE__ */ e(
201
+ J,
202
+ {
203
+ component: "a",
204
+ href: _.href,
205
+ download: !0,
206
+ size: "md",
207
+ radius: "md",
208
+ flex: 1,
209
+ style: { whiteSpace: "nowrap" },
210
+ children: _.label
211
+ },
212
+ g
213
+ )) : /* @__PURE__ */ e(J, { component: "a", href: s, download: !0, fullWidth: !0, size: "md", radius: "md", children: a }) })
214
+ ] }) });
215
+ }
216
+ const gt = "_root_dzed6_1", pt = "_dont_dzed6_7", ft = "_dontIcon_dzed6_12", _t = "_dontLabel_dzed6_13", bt = "_doIcon_dzed6_22", vt = "_doLabel_dzed6_23", Y = {
184
217
  root: gt,
185
218
  dont: pt,
186
219
  dontIcon: ft,
@@ -189,68 +222,68 @@ const gt = "_root_dzed6_1", pt = "_dont_dzed6_7", ft = "_dontIcon_dzed6_12", _t
189
222
  doIcon: bt,
190
223
  doLabel: vt
191
224
  };
192
- function po({ items: t }) {
193
- return /* @__PURE__ */ e("div", { className: U.root, children: t.map((o, a) => /* @__PURE__ */ l(re, { cols: { base: 1, sm: 2 }, spacing: "md", children: [
194
- /* @__PURE__ */ l(K, { className: U.dont, p: "md", radius: "md", children: [
195
- /* @__PURE__ */ l(z, { gap: 6, mb: 6, children: [
196
- /* @__PURE__ */ e(Je, { size: 16, className: U.dontIcon }),
197
- /* @__PURE__ */ e(v, { size: "sm", fw: 600, className: U.dontLabel, children: "Don't" })
225
+ function fo({ items: t }) {
226
+ return /* @__PURE__ */ e("div", { className: Y.root, children: t.map((n, r) => /* @__PURE__ */ l(se, { cols: { base: 1, sm: 2 }, spacing: "md", children: [
227
+ /* @__PURE__ */ l(X, { className: Y.dont, p: "md", radius: "md", children: [
228
+ /* @__PURE__ */ l(I, { gap: 6, mb: 6, children: [
229
+ /* @__PURE__ */ e(Je, { size: 16, className: Y.dontIcon }),
230
+ /* @__PURE__ */ e(v, { size: "sm", fw: 600, className: Y.dontLabel, children: "Don't" })
198
231
  ] }),
199
- /* @__PURE__ */ e(v, { size: "sm", children: o.dont })
232
+ /* @__PURE__ */ e(v, { size: "sm", children: n.dont })
200
233
  ] }),
201
- /* @__PURE__ */ l(K, { className: U.do, p: "md", radius: "md", children: [
202
- /* @__PURE__ */ l(z, { gap: 6, mb: 6, children: [
203
- /* @__PURE__ */ e(Qe, { size: 16, className: U.doIcon }),
204
- /* @__PURE__ */ e(v, { size: "sm", fw: 600, className: U.doLabel, children: "Do" })
234
+ /* @__PURE__ */ l(X, { className: Y.do, p: "md", radius: "md", children: [
235
+ /* @__PURE__ */ l(I, { gap: 6, mb: 6, children: [
236
+ /* @__PURE__ */ e(Qe, { size: 16, className: Y.doIcon }),
237
+ /* @__PURE__ */ e(v, { size: "sm", fw: 600, className: Y.doLabel, children: "Do" })
205
238
  ] }),
206
- /* @__PURE__ */ e(v, { size: "sm", children: o.do })
239
+ /* @__PURE__ */ e(v, { size: "sm", children: n.do })
207
240
  ] })
208
- ] }, a)) });
241
+ ] }, r)) });
209
242
  }
210
243
  const yt = "_root_xi08i_1", kt = "_inner_xi08i_6", we = {
211
244
  root: yt,
212
245
  inner: kt
213
246
  };
214
- function fo({
247
+ function _o({
215
248
  title: t,
216
- description: o,
217
- expandedContent: a,
218
- icon: r,
249
+ description: n,
250
+ expandedContent: r,
251
+ icon: a,
219
252
  color: s = "blue",
220
- iconSize: u = "lg",
221
- collapsedHeight: y = 120,
222
- threshold: _ = 0.5,
223
- delay: g = 300,
253
+ iconSize: h = "lg",
254
+ collapsedHeight: _ = 120,
255
+ threshold: g = 0.5,
256
+ delay: p = 300,
224
257
  expanded: m,
225
- onExpandedChange: h
258
+ onExpandedChange: u
226
259
  }) {
227
- const k = A(null), [i, b] = T(!1), c = m !== void 0, d = c ? m : i;
260
+ const k = q(null), [i, y] = T(!1), c = m !== void 0, d = c ? m : i;
228
261
  return S(() => {
229
262
  if (c) return;
230
263
  const w = k.current;
231
264
  if (!w) return;
232
- const n = new IntersectionObserver(
233
- ([f]) => {
234
- f.isIntersecting && setTimeout(() => {
235
- b(!0), h == null || h(!0);
236
- }, g);
265
+ const o = new IntersectionObserver(
266
+ ([b]) => {
267
+ b.isIntersecting && setTimeout(() => {
268
+ y(!0), u == null || u(!0);
269
+ }, p);
237
270
  },
238
- { threshold: _ }
271
+ { threshold: g }
239
272
  );
240
- return n.observe(w), () => n.disconnect();
241
- }, [c, _, g, h]), /* @__PURE__ */ e(
242
- K,
273
+ return o.observe(w), () => o.disconnect();
274
+ }, [c, g, p, u]), /* @__PURE__ */ e(
275
+ X,
243
276
  {
244
277
  ref: k,
245
278
  radius: 4,
246
279
  className: we.root,
247
280
  component: D.div,
248
- animate: { height: d ? "auto" : y },
281
+ animate: { height: d ? "auto" : _ },
249
282
  transition: { duration: 0.5, ease: "easeOut" },
250
- children: /* @__PURE__ */ e("div", { className: we.inner, children: /* @__PURE__ */ l(z, { align: "flex-start", justify: "space-between", gap: "lg", wrap: "nowrap", children: [
251
- /* @__PURE__ */ l(Y, { gap: "xs", style: { flex: 1 }, children: [
283
+ children: /* @__PURE__ */ e("div", { className: we.inner, children: /* @__PURE__ */ l(I, { align: "flex-start", justify: "space-between", gap: "lg", wrap: "nowrap", children: [
284
+ /* @__PURE__ */ l(A, { gap: "xs", style: { flex: 1 }, children: [
252
285
  /* @__PURE__ */ e(v, { fw: 700, size: "xl", lh: 1.3, children: t }),
253
- /* @__PURE__ */ e(v, { size: "md", c: "dimmed", children: o }),
286
+ /* @__PURE__ */ e(v, { size: "md", c: "dimmed", children: n }),
254
287
  /* @__PURE__ */ e(
255
288
  D.div,
256
289
  {
@@ -261,22 +294,22 @@ function fo({
261
294
  },
262
295
  transition: { duration: 0.4, delay: 0.2 },
263
296
  style: { overflow: "hidden" },
264
- children: typeof a == "string" ? /* @__PURE__ */ e(v, { size: "sm", c: "dimmed", mt: "sm", children: a }) : a
297
+ children: typeof r == "string" ? /* @__PURE__ */ e(v, { size: "sm", c: "dimmed", mt: "sm", children: r }) : r
265
298
  }
266
299
  )
267
300
  ] }),
268
- /* @__PURE__ */ e(D.div, { animate: { scale: d ? 1.1 : 1 }, transition: { duration: 0.3 }, children: /* @__PURE__ */ e(Re, { size: u, radius: 4, color: s, variant: "filled", children: /* @__PURE__ */ e(r, { size: 20, stroke: 1.5 }) }) })
301
+ /* @__PURE__ */ e(D.div, { animate: { scale: d ? 1.1 : 1 }, transition: { duration: 0.3 }, children: /* @__PURE__ */ e(Pe, { size: h, radius: 4, color: s, variant: "filled", children: /* @__PURE__ */ e(a, { size: 20, stroke: 1.5 }) }) })
269
302
  ] }) })
270
303
  }
271
304
  );
272
305
  }
273
- function xe({ variant: t, children: o }) {
274
- const a = t === "do";
306
+ function xe({ variant: t, children: n }) {
307
+ const r = t === "do";
275
308
  return /* @__PURE__ */ l(
276
- Pe,
309
+ Ee,
277
310
  {
278
311
  variant: "light",
279
- color: a ? "green" : "red",
312
+ color: r ? "green" : "red",
280
313
  size: "lg",
281
314
  radius: "sm",
282
315
  styles: {
@@ -285,11 +318,11 @@ function xe({ variant: t, children: o }) {
285
318
  },
286
319
  children: [
287
320
  /* @__PURE__ */ l("strong", { children: [
288
- a ? "Do" : "Don't",
321
+ r ? "Do" : "Don't",
289
322
  ":"
290
323
  ] }),
291
324
  " ",
292
- o
325
+ n
293
326
  ]
294
327
  }
295
328
  );
@@ -297,18 +330,18 @@ function xe({ variant: t, children: o }) {
297
330
  const wt = "_root_1bah1_1", xt = {
298
331
  root: wt
299
332
  };
300
- function _o({
333
+ function bo({
301
334
  accentColor: t,
302
- title: o,
303
- description: a,
304
- doHint: r,
335
+ title: n,
336
+ description: r,
337
+ doHint: a,
305
338
  dontHint: s
306
339
  }) {
307
- return /* @__PURE__ */ l(K, { className: xt.root, p: "lg", radius: "md", style: { borderLeftColor: t }, children: [
308
- /* @__PURE__ */ e(se, { order: 3, size: "h4", mb: "xs", children: o }),
309
- /* @__PURE__ */ e(v, { c: "dimmed", children: a }),
310
- (r || s) && /* @__PURE__ */ l(z, { gap: "sm", mt: "md", wrap: "wrap", children: [
311
- r && /* @__PURE__ */ e(xe, { variant: "do", children: r }),
340
+ return /* @__PURE__ */ l(X, { className: xt.root, p: "lg", radius: "md", style: { borderLeftColor: t }, children: [
341
+ /* @__PURE__ */ e(te, { order: 3, size: "h4", mb: "xs", children: n }),
342
+ /* @__PURE__ */ e(v, { c: "dimmed", children: r }),
343
+ (a || s) && /* @__PURE__ */ l(I, { gap: "sm", mt: "md", wrap: "wrap", children: [
344
+ a && /* @__PURE__ */ e(xe, { variant: "do", children: a }),
312
345
  s && /* @__PURE__ */ e(xe, { variant: "dont", children: s })
313
346
  ] })
314
347
  ] });
@@ -318,25 +351,25 @@ const Nt = "_root_ioshc_1", Tt = "_quoteIcon_ioshc_6", Ne = {
318
351
  quoteIcon: Tt
319
352
  };
320
353
  function $t(t) {
321
- return t.split(" ").map((o) => o[0]).join("").toUpperCase().slice(0, 2);
354
+ return t.split(" ").map((n) => n[0]).join("").toUpperCase().slice(0, 2);
322
355
  }
323
- function bo({
356
+ function vo({
324
357
  quote: t,
325
- name: o,
326
- role: a,
327
- company: r,
358
+ name: n,
359
+ role: r,
360
+ company: a,
328
361
  avatarSrc: s,
329
- accentColor: u = "blue"
362
+ accentColor: h = "blue"
330
363
  }) {
331
- const y = `var(--mantine-color-${u}-filled)`;
332
- return /* @__PURE__ */ l(K, { className: Ne.root, p: "lg", radius: "md", style: { borderLeftColor: y }, children: [
333
- /* @__PURE__ */ e(Ze, { size: 32, className: Ne.quoteIcon, color: y }),
364
+ const _ = `var(--mantine-color-${h}-filled)`;
365
+ return /* @__PURE__ */ l(X, { className: Ne.root, p: "lg", radius: "md", style: { borderLeftColor: _ }, children: [
366
+ /* @__PURE__ */ e(Ze, { size: 32, className: Ne.quoteIcon, color: _ }),
334
367
  /* @__PURE__ */ e(v, { fs: "italic", mt: "xs", mb: "md", children: t }),
335
- /* @__PURE__ */ l(z, { gap: "sm", children: [
336
- /* @__PURE__ */ e(qe, { src: s, alt: o, color: u, radius: "xl", size: "md", children: $t(o) }),
337
- /* @__PURE__ */ l(Y, { gap: 0, children: [
338
- /* @__PURE__ */ e(v, { fw: 600, size: "sm", children: o }),
339
- (a || r) && /* @__PURE__ */ e(v, { size: "xs", c: "dimmed", children: [a, r].filter(Boolean).join(", ") })
368
+ /* @__PURE__ */ l(I, { gap: "sm", children: [
369
+ /* @__PURE__ */ e(Re, { src: s, alt: n, color: h, radius: "xl", size: "md", children: $t(n) }),
370
+ /* @__PURE__ */ l(A, { gap: 0, children: [
371
+ /* @__PURE__ */ e(v, { fw: 600, size: "sm", children: n }),
372
+ (r || a) && /* @__PURE__ */ e(v, { size: "xs", c: "dimmed", children: [r, a].filter(Boolean).join(", ") })
340
373
  ] })
341
374
  ] })
342
375
  ] });
@@ -353,56 +386,56 @@ const Ct = "_root_1r7u3_1", It = "_chartWrapper_1r7u3_5", zt = "_circle_1r7u3_9"
353
386
  toggleThumbDark: Pt,
354
387
  swatch: Et
355
388
  };
356
- function vo() {
357
- const [t, o] = T(!1), [a, r] = T(0), s = [
389
+ function yo() {
390
+ const [t, n] = T(!1), [r, a] = T(0), s = [
358
391
  { color: "#5AB267", label: "Success" },
359
392
  { color: "#E63459", label: "Error" },
360
393
  { color: "#E79E26", label: "Warning" }
361
394
  ];
362
395
  S(() => {
363
- const c = setInterval(() => r((d) => (d + 1) % 3), 2e3);
396
+ const c = setInterval(() => a((d) => (d + 1) % 3), 2e3);
364
397
  return () => clearInterval(c);
365
398
  }, []);
366
- const u = s[a], y = [
399
+ const h = s[r], _ = [
367
400
  t ? { label: "Dark Backgrounds", pct: 50, color: "#1A1A1A", border: "1px solid #424242" } : { label: "White Backgrounds", pct: 50, color: "#ffffff", border: "1px solid #e3e3e3" },
368
401
  { label: "Primary Blue", pct: 20, color: "#169BDE" },
369
402
  t ? { label: "Light Text & UI", pct: 15, color: "#f0f0f0", border: "1px solid #bdbdbd" } : { label: "Dark Text & UI", pct: 15, color: "#212121" },
370
403
  { label: "Secondary Violet", pct: 10, color: "#7E57C2" },
371
- { label: `Semantic (${u.label})`, pct: 5, color: u.color }
372
- ], _ = 80, g = 120, m = 120, h = 36, k = 2 * Math.PI * _;
404
+ { label: `Semantic (${h.label})`, pct: 5, color: h.color }
405
+ ], g = 80, p = 120, m = 120, u = 36, k = 2 * Math.PI * g;
373
406
  let i = 0;
374
- const b = y.map((c) => {
407
+ const y = _.map((c) => {
375
408
  const d = c.pct / 100 * k, w = { ...c, dasharray: `${d} ${k - d}`, dashoffset: -i };
376
409
  return i += d, w;
377
410
  });
378
- return /* @__PURE__ */ l(z, { gap: 40, align: "center", my: "xl", className: W.root, children: [
411
+ return /* @__PURE__ */ l(I, { gap: 40, align: "center", my: "xl", className: W.root, children: [
379
412
  /* @__PURE__ */ e(x, { className: W.chartWrapper, children: /* @__PURE__ */ l("svg", { width: 240, height: 240, viewBox: "0 0 240 240", children: [
380
- b.map((c, d) => /* @__PURE__ */ e(
413
+ y.map((c, d) => /* @__PURE__ */ e(
381
414
  "circle",
382
415
  {
383
- cx: g,
416
+ cx: p,
384
417
  cy: m,
385
- r: _,
418
+ r: g,
386
419
  fill: "none",
387
420
  stroke: c.color,
388
- strokeWidth: h,
421
+ strokeWidth: u,
389
422
  strokeDasharray: c.dasharray,
390
423
  strokeDashoffset: c.dashoffset,
391
- transform: `rotate(-90 ${g} ${m})`,
424
+ transform: `rotate(-90 ${p} ${m})`,
392
425
  className: W.circle
393
426
  },
394
427
  d
395
428
  )),
396
- /* @__PURE__ */ l("text", { x: g, y: m + 6, textAnchor: "middle", className: W.centerText, children: [
429
+ /* @__PURE__ */ l("text", { x: p, y: m + 6, textAnchor: "middle", className: W.centerText, children: [
397
430
  t ? "Dark" : "Light",
398
431
  " Mode"
399
432
  ] })
400
433
  ] }) }),
401
- /* @__PURE__ */ l(Y, { gap: "lg", children: [
434
+ /* @__PURE__ */ l(A, { gap: "lg", children: [
402
435
  /* @__PURE__ */ e(
403
- ae,
436
+ J,
404
437
  {
405
- onClick: () => o(!t),
438
+ onClick: () => n(!t),
406
439
  variant: "default",
407
440
  radius: "xl",
408
441
  size: "sm",
@@ -411,7 +444,7 @@ function vo() {
411
444
  children: t ? "Dark Mode" : "Light Mode"
412
445
  }
413
446
  ),
414
- /* @__PURE__ */ e(Y, { gap: 8, children: y.map((c, d) => /* @__PURE__ */ l(z, { gap: 8, wrap: "nowrap", children: [
447
+ /* @__PURE__ */ e(A, { gap: 8, children: _.map((c, d) => /* @__PURE__ */ l(I, { gap: 8, wrap: "nowrap", children: [
415
448
  /* @__PURE__ */ e(
416
449
  x,
417
450
  {
@@ -431,22 +464,22 @@ function vo() {
431
464
  const Ft = "_root_1bq7s_1", Wt = "_svg_1bq7s_12", Te = {
432
465
  root: Ft,
433
466
  svg: Wt
434
- }, At = 140, $e = 3, Ce = 10, je = 150, X = je / 2;
467
+ }, qt = 140, $e = 3, Ce = 10, je = 150, K = je / 2;
435
468
  function Ie({
436
- barCount: t = At,
437
- duration: o = 3,
438
- repeatDelay: a = 3
469
+ barCount: t = qt,
470
+ duration: n = 3,
471
+ repeatDelay: r = 3
439
472
  }) {
440
- const [r, s] = T(!1);
473
+ const [a, s] = T(!1);
441
474
  if (S(() => {
442
475
  s(!0);
443
- }, []), !r) return null;
444
- const u = t * Ce;
476
+ }, []), !a) return null;
477
+ const h = t * Ce;
445
478
  return /* @__PURE__ */ e("div", { className: Te.root, children: /* @__PURE__ */ l(
446
479
  "svg",
447
480
  {
448
481
  className: Te.svg,
449
- viewBox: `0 0 ${u} ${je}`,
482
+ viewBox: `0 0 ${h} ${je}`,
450
483
  preserveAspectRatio: "none",
451
484
  children: [
452
485
  /* @__PURE__ */ e("defs", { children: /* @__PURE__ */ l("linearGradient", { id: "waveformBarGradient", x1: "0%", y1: "0%", x2: "100%", y2: "0%", children: [
@@ -456,17 +489,17 @@ function Ie({
456
489
  /* @__PURE__ */ e("stop", { offset: "85%", stopColor: "white", stopOpacity: "0.15" }),
457
490
  /* @__PURE__ */ e("stop", { offset: "100%", stopColor: "white", stopOpacity: "0" })
458
491
  ] }) }),
459
- [...Array(t)].map((y, _) => {
460
- const g = _ * Ce, m = 18 + Math.sin(_ * 0.4) * 6 + Math.cos(_ * 0.7) * 4, h = Math.min(_, t - 1 - _) * 0.04;
492
+ [...Array(t)].map((_, g) => {
493
+ const p = g * Ce, m = 18 + Math.sin(g * 0.4) * 6 + Math.cos(g * 0.7) * 4, u = Math.min(g, t - 1 - g) * 0.04;
461
494
  return /* @__PURE__ */ l("g", { children: [
462
495
  /* @__PURE__ */ e(
463
496
  D.rect,
464
497
  {
465
- x: g,
498
+ x: p,
466
499
  width: $e,
467
500
  rx: "1.5",
468
501
  fill: "url(#waveformBarGradient)",
469
- initial: { height: m / 2, y: X - m / 4 },
502
+ initial: { height: m / 2, y: K - m / 4 },
470
503
  animate: {
471
504
  height: [
472
505
  m / 2,
@@ -476,27 +509,27 @@ function Ie({
476
509
  m / 2
477
510
  ],
478
511
  y: [
479
- X - m / 4,
480
- X - m,
481
- X - m / 4,
482
- X - m * 0.6,
483
- X - m / 4
512
+ K - m / 4,
513
+ K - m,
514
+ K - m / 4,
515
+ K - m * 0.6,
516
+ K - m / 4
484
517
  ]
485
518
  },
486
519
  transition: {
487
- duration: o,
520
+ duration: n,
488
521
  repeat: 1 / 0,
489
522
  ease: "easeInOut",
490
- delay: h,
491
- repeatDelay: a
523
+ delay: u,
524
+ repeatDelay: r
492
525
  }
493
526
  }
494
527
  ),
495
528
  /* @__PURE__ */ e(
496
529
  D.rect,
497
530
  {
498
- x: g,
499
- y: X,
531
+ x: p,
532
+ y: K,
500
533
  width: $e,
501
534
  rx: "1.5",
502
535
  fill: "url(#waveformBarGradient)",
@@ -511,187 +544,187 @@ function Ie({
511
544
  ]
512
545
  },
513
546
  transition: {
514
- duration: o,
547
+ duration: n,
515
548
  repeat: 1 / 0,
516
549
  ease: "easeInOut",
517
- delay: h,
518
- repeatDelay: a
550
+ delay: u,
551
+ repeatDelay: r
519
552
  }
520
553
  }
521
554
  )
522
- ] }, _);
555
+ ] }, g);
523
556
  })
524
557
  ]
525
558
  }
526
559
  ) });
527
560
  }
528
- const jt = "_root_1pkxe_1", Gt = "_progressOverlay_1pkxe_9", Rt = "_bars_1pkxe_19", qt = "_bar_1pkxe_19", Ot = "_loading_1pkxe_34", ne = {
529
- root: jt,
530
- progressOverlay: Gt,
531
- bars: Rt,
532
- bar: qt,
561
+ const At = "_root_1pkxe_1", jt = "_progressOverlay_1pkxe_9", Gt = "_bars_1pkxe_19", Rt = "_bar_1pkxe_19", Ot = "_loading_1pkxe_34", re = {
562
+ root: At,
563
+ progressOverlay: jt,
564
+ bars: Gt,
565
+ bar: Rt,
533
566
  loading: Ot
534
567
  };
535
568
  function Vt(t = 100) {
536
- const o = [];
537
- for (let a = 0; a < t; a++) {
538
- const r = a / (t - 1), s = 20 + Math.sin(a * 0.1) * 15, u = (Math.random() - 0.5) * 20, y = Math.sin(r * Math.PI) * 30, _ = r > 0.2 && r < 0.8 ? Math.random() * 10 : 0, g = r < 0.05 || r > 0.95 ? Math.min(r / 0.05, (1 - r) / 0.05) : 1;
539
- o.push(Math.max(5, Math.min(90, (s + u + y + _) * g)));
569
+ const n = [];
570
+ for (let r = 0; r < t; r++) {
571
+ const a = r / (t - 1), s = 20 + Math.sin(r * 0.1) * 15, h = (Math.random() - 0.5) * 20, _ = Math.sin(a * Math.PI) * 30, g = a > 0.2 && a < 0.8 ? Math.random() * 10 : 0, p = a < 0.05 || a > 0.95 ? Math.min(a / 0.05, (1 - a) / 0.05) : 1;
572
+ n.push(Math.max(5, Math.min(90, (s + h + _ + g) * p)));
540
573
  }
541
- return o;
574
+ return n;
542
575
  }
543
- const fe = Fe(
576
+ const fe = We(
544
577
  ({
545
578
  audioRef: t,
546
- currentTime: o = 0,
547
- onSeek: a,
548
- loading: r = !1,
579
+ currentTime: n = 0,
580
+ onSeek: r,
581
+ loading: a = !1,
549
582
  waveColor: s = "#CCCCCC",
550
- progressColor: u = "#169bde",
551
- height: y = 60,
552
- barWidth: _ = 2,
553
- barGap: g = 1
583
+ progressColor: h = "#169bde",
584
+ height: _ = 60,
585
+ barWidth: g = 2,
586
+ barGap: p = 1
554
587
  }, m) => {
555
- const h = A(null), [k] = T(() => Vt()), [i, b] = T(0), [c, d] = T(0);
588
+ const u = q(null), [k] = T(() => Vt()), [i, y] = T(0), [c, d] = T(0);
556
589
  Ke(m, () => ({
557
- seekTo: (n) => {
558
- i > 0 && d(Math.max(0, Math.min(100, n / i * 100)));
590
+ seekTo: (o) => {
591
+ i > 0 && d(Math.max(0, Math.min(100, o / i * 100)));
559
592
  },
560
593
  getCurrentTime: () => c / 100 * i,
561
594
  getDuration: () => i
562
595
  })), S(() => {
563
- const n = t.current;
564
- if (!n) return;
565
- const f = () => {
566
- n.duration && !isNaN(n.duration) && b(n.duration);
596
+ const o = t.current;
597
+ if (!o) return;
598
+ const b = () => {
599
+ o.duration && !isNaN(o.duration) && y(o.duration);
567
600
  }, N = () => {
568
- n.duration > 0 && d(n.currentTime / n.duration * 100);
601
+ o.duration > 0 && d(o.currentTime / o.duration * 100);
569
602
  };
570
- return n.duration && !isNaN(n.duration) && b(n.duration), n.addEventListener("loadedmetadata", f), n.addEventListener("timeupdate", N), () => {
571
- n.removeEventListener("loadedmetadata", f), n.removeEventListener("timeupdate", N);
603
+ return o.duration && !isNaN(o.duration) && y(o.duration), o.addEventListener("loadedmetadata", b), o.addEventListener("timeupdate", N), () => {
604
+ o.removeEventListener("loadedmetadata", b), o.removeEventListener("timeupdate", N);
572
605
  };
573
606
  }, [t]), S(() => {
574
- i > 0 && typeof o == "number" && d(o / i * 100);
575
- }, [o, i]);
607
+ i > 0 && typeof n == "number" && d(n / i * 100);
608
+ }, [n, i]);
576
609
  const w = L(
577
- (n) => {
578
- if (!h.current || !a || i === 0) return;
579
- const f = h.current.getBoundingClientRect(), N = (n.clientX - f.left) / f.width * i;
580
- a(N);
610
+ (o) => {
611
+ if (!u.current || !r || i === 0) return;
612
+ const b = u.current.getBoundingClientRect(), N = (o.clientX - b.left) / b.width * i;
613
+ r(N);
581
614
  },
582
- [a, i]
615
+ [r, i]
583
616
  );
584
- return /* @__PURE__ */ l(x, { ref: h, className: ne.root, style: { height: y }, onClick: w, children: [
617
+ return /* @__PURE__ */ l(x, { ref: u, className: re.root, style: { height: _ }, onClick: w, children: [
585
618
  /* @__PURE__ */ e(
586
619
  "div",
587
620
  {
588
- className: ne.progressOverlay,
589
- style: { width: `${c}%`, backgroundColor: `${u}15` }
621
+ className: re.progressOverlay,
622
+ style: { width: `${c}%`, backgroundColor: `${h}15` }
590
623
  }
591
624
  ),
592
- /* @__PURE__ */ e("div", { className: ne.bars, style: { gap: g }, children: k.map((n, f) => {
593
- const N = f / k.length * 100 <= c;
625
+ /* @__PURE__ */ e("div", { className: re.bars, style: { gap: p }, children: k.map((o, b) => {
626
+ const N = b / k.length * 100 <= c;
594
627
  return /* @__PURE__ */ e(
595
628
  "div",
596
629
  {
597
- className: ne.bar,
630
+ className: re.bar,
598
631
  style: {
599
- width: _,
600
- height: `${n}%`,
601
- backgroundColor: N ? u : s
632
+ width: g,
633
+ height: `${o}%`,
634
+ backgroundColor: N ? h : s
602
635
  }
603
636
  },
604
- f
637
+ b
605
638
  );
606
639
  }) }),
607
- r && /* @__PURE__ */ e("div", { className: ne.loading, children: "Loading waveform..." })
640
+ a && /* @__PURE__ */ e("div", { className: re.loading, children: "Loading waveform..." })
608
641
  ] });
609
642
  }
610
643
  );
611
644
  fe.displayName = "AudioWaveform";
612
- function yo({ isActive: t = !1, height: o = 60 }) {
613
- const a = A(null), r = A(void 0), [s, u] = T(!1), y = A(null), _ = A(null), { colorScheme: g } = Le(), m = g === "dark", h = {
645
+ function ko({ isActive: t = !1, height: n = 60 }) {
646
+ const r = q(null), a = q(void 0), [s, h] = T(!1), _ = q(null), g = q(null), { colorScheme: p } = Le(), m = p === "dark", u = {
614
647
  start: m ? "#7950F2" : "#9775FA",
615
648
  mid: m ? "#BE4BDB" : "#DA77F2",
616
649
  end: m ? "#15AABF" : "#22B8CF"
617
650
  }, k = L(
618
- (i, b, c, d) => {
619
- i.clearRect(0, 0, b, c);
620
- const w = t || s, n = c * 0.65, f = t ? 5 : s ? 7 : 1.5;
621
- w && (_.current === null && (_.current = Math.random()), Math.floor(d / 500) !== Math.floor((d - 16) / 500) && (_.current = Math.random()));
622
- const N = i.createLinearGradient(0, 0, b, 0);
623
- N.addColorStop(0, h.start), N.addColorStop(0.5, h.mid), N.addColorStop(1, h.end), i.strokeStyle = N, i.lineWidth = w ? 2.5 : 1.5, i.lineCap = "round", i.lineJoin = "round", w ? (i.shadowColor = h.mid, i.shadowBlur = s ? 12 : 8) : i.shadowBlur = 0, i.beginPath();
624
- const P = 300, q = b / P, O = t ? 0.02 : s ? 0.025 : 3e-3;
651
+ (i, y, c, d) => {
652
+ i.clearRect(0, 0, y, c);
653
+ const w = t || s, o = c * 0.65, b = t ? 5 : s ? 7 : 1.5;
654
+ w && (g.current === null && (g.current = Math.random()), Math.floor(d / 500) !== Math.floor((d - 16) / 500) && (g.current = Math.random()));
655
+ const N = i.createLinearGradient(0, 0, y, 0);
656
+ N.addColorStop(0, u.start), N.addColorStop(0.5, u.mid), N.addColorStop(1, u.end), i.strokeStyle = N, i.lineWidth = w ? 2.5 : 1.5, i.lineCap = "round", i.lineJoin = "round", w ? (i.shadowColor = u.mid, i.shadowBlur = s ? 12 : 8) : i.shadowBlur = 0, i.beginPath();
657
+ const P = 300, O = y / P, V = t ? 0.02 : s ? 0.025 : 3e-3;
625
658
  for (let j = 0; j <= P; j++) {
626
- const M = j * q, C = M / b;
627
- let F = n;
659
+ const M = j * O, C = M / y;
660
+ let F = o;
628
661
  if (w) {
629
- const G = Math.sin(C * Math.PI * 6 + d * O) * f, V = Math.sin(C * Math.PI * 12 + d * O * 1.3) * (f * 0.4), H = Math.sin(C * Math.PI * 18 + d * O * 0.8) * (f * 0.2), ee = _.current ?? 0.5, p = Math.abs(C - ee), $ = p < 0.15 ? (1 - p / 0.15) * f * 1 : 0, B = Math.sin(C * Math.PI * 20 + d * O * 2) * $;
630
- let J = 0;
631
- s && (J = Math.sin(C * Math.PI * 30 + d * 0.03) * f * 0.4, J += Math.sin(C * Math.PI * 8 + d * 0.015) * f * 0.5);
632
- const ie = G + V + H + B + J, le = Math.sin(C * Math.PI);
633
- F = n + ie * le;
662
+ const G = Math.sin(C * Math.PI * 6 + d * V) * b, H = Math.sin(C * Math.PI * 12 + d * V * 1.3) * (b * 0.4), U = Math.sin(C * Math.PI * 18 + d * V * 0.8) * (b * 0.2), ne = g.current ?? 0.5, f = Math.abs(C - ne), $ = f < 0.15 ? (1 - f / 0.15) * b * 1 : 0, B = Math.sin(C * Math.PI * 20 + d * V * 2) * $;
663
+ let Q = 0;
664
+ s && (Q = Math.sin(C * Math.PI * 30 + d * 0.03) * b * 0.4, Q += Math.sin(C * Math.PI * 8 + d * 0.015) * b * 0.5);
665
+ const ie = G + H + U + B + Q, le = Math.sin(C * Math.PI);
666
+ F = o + ie * le;
634
667
  } else
635
- F += Math.sin(C * Math.PI * 2 + d * O) * f;
668
+ F += Math.sin(C * Math.PI * 2 + d * V) * b;
636
669
  j === 0 ? i.moveTo(M, F) : i.lineTo(M, F);
637
670
  }
638
671
  if (i.stroke(), t) {
639
- const C = b / 80, F = 16;
672
+ const C = y / 80, F = 16;
640
673
  i.shadowBlur = 3;
641
674
  for (let G = 0; G < 80; G++) {
642
- const V = G * C + C / 2, H = V / b, ee = Math.sin(H * Math.PI * 8 + d * 0.025) * 0.5 + Math.sin(H * Math.PI * 14 + d * 0.018) * 0.3 + Math.sin(H * Math.PI * 4 + d * 0.03) * 0.2, p = Math.sin(H * Math.PI), $ = Math.abs(ee) * F * p, B = i.createLinearGradient(
643
- V,
644
- n - $ / 2,
645
- V,
646
- n + $ / 2
675
+ const H = G * C + C / 2, U = H / y, ne = Math.sin(U * Math.PI * 8 + d * 0.025) * 0.5 + Math.sin(U * Math.PI * 14 + d * 0.018) * 0.3 + Math.sin(U * Math.PI * 4 + d * 0.03) * 0.2, f = Math.sin(U * Math.PI), $ = Math.abs(ne) * F * f, B = i.createLinearGradient(
676
+ H,
677
+ o - $ / 2,
678
+ H,
679
+ o + $ / 2
647
680
  );
648
- B.addColorStop(0, h.start + "90"), B.addColorStop(0.5, h.mid + "70"), B.addColorStop(1, h.end + "50"), i.fillStyle = B, i.fillRect(V - 2 / 2, n - $ / 2, 2, $);
681
+ B.addColorStop(0, u.start + "90"), B.addColorStop(0.5, u.mid + "70"), B.addColorStop(1, u.end + "50"), i.fillStyle = B, i.fillRect(H - 2 / 2, o - $ / 2, 2, $);
649
682
  }
650
683
  }
651
684
  if (s)
652
685
  for (let M = 0; M < 15; M++) {
653
- const C = (Math.sin(d * 1e-3 + M * 1.5) * 0.5 + 0.5) * b, F = n + Math.sin(d * 2e-3 + M) * 8, G = 1.5 + Math.sin(d * 3e-3 + M * 2) * 0.5;
654
- i.beginPath(), i.arc(C, F, G, 0, Math.PI * 2), i.fillStyle = M % 2 === 0 ? h.start + "80" : h.end + "80", i.fill();
686
+ const C = (Math.sin(d * 1e-3 + M * 1.5) * 0.5 + 0.5) * y, F = o + Math.sin(d * 2e-3 + M) * 8, G = 1.5 + Math.sin(d * 3e-3 + M * 2) * 0.5;
687
+ i.beginPath(), i.arc(C, F, G, 0, Math.PI * 2), i.fillStyle = M % 2 === 0 ? u.start + "80" : u.end + "80", i.fill();
655
688
  }
656
689
  },
657
- [t, s, h.start, h.mid, h.end]
690
+ [t, s, u.start, u.mid, u.end]
658
691
  );
659
692
  return S(() => {
660
- const i = a.current;
693
+ const i = r.current;
661
694
  if (!i) return;
662
- const b = i.getContext("2d");
663
- if (!b) return;
695
+ const y = i.getContext("2d");
696
+ if (!y) return;
664
697
  const c = () => {
665
- const n = window.devicePixelRatio || 1, f = i.getBoundingClientRect();
666
- i.width = f.width * n, i.height = f.height * n, b.scale(n, n);
698
+ const o = window.devicePixelRatio || 1, b = i.getBoundingClientRect();
699
+ i.width = b.width * o, i.height = b.height * o, y.scale(o, o);
667
700
  };
668
701
  c(), window.addEventListener("resize", c);
669
- const d = performance.now(), w = (n) => {
670
- const f = n - d, N = i.getBoundingClientRect();
671
- k(b, N.width, N.height, f), r.current = requestAnimationFrame(w);
702
+ const d = performance.now(), w = (o) => {
703
+ const b = o - d, N = i.getBoundingClientRect();
704
+ k(y, N.width, N.height, b), a.current = requestAnimationFrame(w);
672
705
  };
673
- return r.current = requestAnimationFrame(w), () => {
674
- window.removeEventListener("resize", c), r.current && cancelAnimationFrame(r.current);
706
+ return a.current = requestAnimationFrame(w), () => {
707
+ window.removeEventListener("resize", c), a.current && cancelAnimationFrame(a.current);
675
708
  };
676
709
  }, [k]), S(() => {
677
710
  if (t) {
678
- queueMicrotask(() => u(!1)), y.current = Date.now();
711
+ queueMicrotask(() => h(!1)), _.current = Date.now();
679
712
  return;
680
713
  }
681
- const b = setInterval(() => {
714
+ const y = setInterval(() => {
682
715
  const c = Date.now();
683
- y.current === null && (y.current = c);
684
- const d = c - y.current, w = 12e4 + Math.random() * 6e4;
685
- d >= w && !s && (u(!0), y.current = c, setTimeout(() => u(!1), 4e3));
716
+ _.current === null && (_.current = c);
717
+ const d = c - _.current, w = 12e4 + Math.random() * 6e4;
718
+ d >= w && !s && (h(!0), _.current = c, setTimeout(() => h(!1), 4e3));
686
719
  }, 5e3);
687
- return () => clearInterval(b);
720
+ return () => clearInterval(y);
688
721
  }, [t, s]), /* @__PURE__ */ e(
689
722
  x,
690
723
  {
691
724
  style: {
692
725
  position: "relative",
693
726
  width: "100%",
694
- height: o,
727
+ height: n,
695
728
  overflow: "hidden",
696
729
  pointerEvents: "none",
697
730
  opacity: m ? 1 : 0.8
@@ -699,7 +732,7 @@ function yo({ isActive: t = !1, height: o = 60 }) {
699
732
  children: /* @__PURE__ */ e(
700
733
  "canvas",
701
734
  {
702
- ref: a,
735
+ ref: r,
703
736
  style: {
704
737
  width: "100%",
705
738
  height: "100%",
@@ -714,22 +747,22 @@ const Ht = "_root_1vlvy_1", Ut = "_video_1vlvy_9", ze = {
714
747
  root: Ht,
715
748
  video: Ut
716
749
  };
717
- function Xt({ src: t, opacity: o = 0.3 }) {
718
- return /* @__PURE__ */ e("div", { className: ze.root, style: { opacity: o }, children: /* @__PURE__ */ e("video", { autoPlay: !0, muted: !0, loop: !0, playsInline: !0, className: ze.video, children: /* @__PURE__ */ e("source", { src: t, type: "video/mp4" }) }) });
750
+ function Xt({ src: t, opacity: n = 0.3 }) {
751
+ return /* @__PURE__ */ e("div", { className: ze.root, style: { opacity: n }, children: /* @__PURE__ */ e("video", { autoPlay: !0, muted: !0, loop: !0, playsInline: !0, className: ze.video, children: /* @__PURE__ */ e("source", { src: t, type: "video/mp4" }) }) });
719
752
  }
720
753
  const Yt = "_root_ix1b2_1", Kt = "_toast_ix1b2_5", Me = {
721
754
  root: Yt,
722
755
  toast: Kt
723
756
  };
724
- function he({ value: t, children: o }) {
725
- const [a, r] = T(null), s = L(() => {
757
+ function he({ value: t, children: n }) {
758
+ const [r, a] = T(null), s = L(() => {
726
759
  navigator.clipboard.writeText(t).then(() => {
727
- r(`Copied ${t}`), setTimeout(() => r(null), 1800);
760
+ a(`Copied ${t}`), setTimeout(() => a(null), 1800);
728
761
  });
729
762
  }, [t]);
730
- return /* @__PURE__ */ l(Ee, { children: [
731
- /* @__PURE__ */ e("span", { onClick: s, className: Me.root, title: `Click to copy ${t}`, children: o }),
732
- a && /* @__PURE__ */ e(Oe, { children: /* @__PURE__ */ e(Ve, { withCloseButton: !1, className: Me.toast, color: "blue", children: a }) })
763
+ return /* @__PURE__ */ l(Fe, { children: [
764
+ /* @__PURE__ */ e("span", { onClick: s, className: Me.root, title: `Click to copy ${t}`, children: n }),
765
+ r && /* @__PURE__ */ e(Oe, { children: /* @__PURE__ */ e(Ve, { withCloseButton: !1, className: Me.toast, color: "blue", children: r }) })
733
766
  ] });
734
767
  }
735
768
  const Jt = "_root_3ht5s_1", Qt = "_shade_3ht5s_5", Zt = "_color_3ht5s_10", en = "_main_3ht5s_20", de = {
@@ -738,19 +771,19 @@ const Jt = "_root_3ht5s_1", Qt = "_shade_3ht5s_5", Zt = "_color_3ht5s_10", en =
738
771
  color: Zt,
739
772
  main: en
740
773
  };
741
- function ko({ name: t, shades: o, mainIndex: a = 5 }) {
774
+ function wo({ name: t, shades: n, mainIndex: r = 5 }) {
742
775
  return /* @__PURE__ */ l("div", { className: de.root, children: [
743
- /* @__PURE__ */ e(se, { order: 4, size: "lg", tt: "capitalize", mb: "xs", children: t }),
744
- /* @__PURE__ */ e(re, { cols: 10, spacing: 4, children: o.map((r, s) => /* @__PURE__ */ e(he, { value: r, children: /* @__PURE__ */ l("div", { className: de.shade, children: [
776
+ /* @__PURE__ */ e(te, { order: 4, size: "lg", tt: "capitalize", mb: "xs", children: t }),
777
+ /* @__PURE__ */ e(se, { cols: 10, spacing: 4, children: n.map((a, s) => /* @__PURE__ */ e(he, { value: a, children: /* @__PURE__ */ l("div", { className: de.shade, children: [
745
778
  /* @__PURE__ */ e(
746
779
  "div",
747
780
  {
748
- className: `${de.color} ${s === a ? de.main : ""}`,
749
- style: { backgroundColor: r }
781
+ className: `${de.color} ${s === r ? de.main : ""}`,
782
+ style: { backgroundColor: a }
750
783
  }
751
784
  ),
752
785
  /* @__PURE__ */ e(v, { size: "xs", c: "dimmed", ta: "center", mt: 4, children: s }),
753
- /* @__PURE__ */ e(v, { size: "xs", c: "dimmed", ta: "center", ff: "monospace", children: r })
786
+ /* @__PURE__ */ e(v, { size: "xs", c: "dimmed", ta: "center", ff: "monospace", children: a })
754
787
  ] }) }, s)) })
755
788
  ] });
756
789
  }
@@ -759,13 +792,13 @@ const tn = "_root_1vxkx_1", nn = "_preview_1vxkx_11", on = "_info_1vxkx_15", ue
759
792
  preview: nn,
760
793
  info: on
761
794
  };
762
- function wo({ name: t, hex: o, label: a }) {
763
- return /* @__PURE__ */ e(he, { value: o, children: /* @__PURE__ */ l(K, { className: ue.root, shadow: "lg", radius: "md", withBorder: !1, children: [
764
- /* @__PURE__ */ e("div", { className: ue.preview, style: { backgroundColor: o } }),
795
+ function xo({ name: t, hex: n, label: r }) {
796
+ return /* @__PURE__ */ e(he, { value: n, children: /* @__PURE__ */ l(X, { className: ue.root, shadow: "lg", radius: "md", withBorder: !1, children: [
797
+ /* @__PURE__ */ e("div", { className: ue.preview, style: { backgroundColor: n } }),
765
798
  /* @__PURE__ */ l("div", { className: ue.info, children: [
766
799
  /* @__PURE__ */ e(v, { fw: 600, size: "sm", children: t }),
767
- /* @__PURE__ */ e(v, { size: "xs", c: "dimmed", ff: "monospace", children: o }),
768
- a && /* @__PURE__ */ e(v, { size: "xs", c: "dimmed", children: a })
800
+ /* @__PURE__ */ e(v, { size: "xs", c: "dimmed", ff: "monospace", children: n }),
801
+ r && /* @__PURE__ */ e(v, { size: "xs", c: "dimmed", children: r })
769
802
  ] })
770
803
  ] }) });
771
804
  }
@@ -774,17 +807,17 @@ const rn = "_root_9li00_1", an = "_preview_9li00_11", sn = "_info_9li00_15", ge
774
807
  preview: an,
775
808
  info: sn
776
809
  };
777
- function xo({ name: t, colors: o, description: a }) {
778
- const r = `linear-gradient(135deg, ${o[0]} 0%, ${o[1]} 100%)`;
779
- return /* @__PURE__ */ e(he, { value: r, children: /* @__PURE__ */ l(K, { className: ge.root, shadow: "lg", radius: "md", children: [
780
- /* @__PURE__ */ e("div", { className: ge.preview, style: { background: r } }),
810
+ function No({ name: t, colors: n, description: r }) {
811
+ const a = `linear-gradient(135deg, ${n[0]} 0%, ${n[1]} 100%)`;
812
+ return /* @__PURE__ */ e(he, { value: a, children: /* @__PURE__ */ l(X, { className: ge.root, shadow: "lg", radius: "md", children: [
813
+ /* @__PURE__ */ e("div", { className: ge.preview, style: { background: a } }),
781
814
  /* @__PURE__ */ l("div", { className: ge.info, children: [
782
815
  /* @__PURE__ */ e(v, { fw: 600, size: "sm", children: t }),
783
- a && /* @__PURE__ */ e(v, { size: "xs", c: "dimmed", children: a }),
816
+ r && /* @__PURE__ */ e(v, { size: "xs", c: "dimmed", children: r }),
784
817
  /* @__PURE__ */ l(v, { size: "xs", c: "dimmed", ff: "monospace", children: [
785
- o[0],
818
+ n[0],
786
819
  " → ",
787
- o[1]
820
+ n[1]
788
821
  ] })
789
822
  ] })
790
823
  ] }) });
@@ -800,10 +833,10 @@ const ln = "_toggle_1nlbe_1", cn = "_toggleTrack_1nlbe_7", dn = "_toggleTrackDar
800
833
  sampleText: pn,
801
834
  details: fn
802
835
  };
803
- function No() {
804
- const [t, o] = T(!1);
836
+ function To() {
837
+ const [t, n] = T(!1);
805
838
  He("light");
806
- const a = {
839
+ const r = {
807
840
  light: {
808
841
  bg: "#FFFFFF",
809
842
  border: "1px solid #e3e3e3",
@@ -822,12 +855,12 @@ function No() {
822
855
  { name: "Disabled Text", hex: "#424242", label: "gray[8]" }
823
856
  ]
824
857
  }
825
- }, r = t ? a.dark : a.light;
858
+ }, a = t ? r.dark : r.light;
826
859
  return /* @__PURE__ */ l(x, { my: "xl", children: [
827
860
  /* @__PURE__ */ e(x, { mb: "lg", style: { display: "flex", alignItems: "center" }, children: /* @__PURE__ */ e(
828
- ae,
861
+ J,
829
862
  {
830
- onClick: () => o(!t),
863
+ onClick: () => n(!t),
831
864
  variant: "default",
832
865
  radius: "xl",
833
866
  size: "sm",
@@ -836,12 +869,12 @@ function No() {
836
869
  children: t ? "Dark Mode" : "Light Mode"
837
870
  }
838
871
  ) }),
839
- /* @__PURE__ */ e(re, { cols: { base: 1, md: 3 }, spacing: "lg", children: r.colors.map((s) => /* @__PURE__ */ e(he, { value: s.hex, children: /* @__PURE__ */ l(x, { className: R.card, children: [
872
+ /* @__PURE__ */ e(se, { cols: { base: 1, md: 3 }, spacing: "lg", children: a.colors.map((s) => /* @__PURE__ */ e(he, { value: s.hex, children: /* @__PURE__ */ l(x, { className: R.card, children: [
840
873
  /* @__PURE__ */ e(
841
874
  x,
842
875
  {
843
876
  className: R.preview,
844
- style: { backgroundColor: r.bg, border: r.border },
877
+ style: { backgroundColor: a.bg, border: a.border },
845
878
  children: /* @__PURE__ */ e(v, { style: { color: s.hex }, className: R.sampleText, children: "Aa" })
846
879
  }
847
880
  ),
@@ -853,85 +886,85 @@ function No() {
853
886
  ] }) }, s.name + s.hex)) })
854
887
  ] });
855
888
  }
856
- const _n = "_root_n9zxy_1", bn = "_playButton_n9zxy_8", vn = "_time_n9zxy_22", yn = "_volumeGroup_n9zxy_28", oe = {
889
+ const _n = "_root_n9zxy_1", bn = "_playButton_n9zxy_8", vn = "_time_n9zxy_22", yn = "_volumeGroup_n9zxy_28", ae = {
857
890
  root: _n,
858
891
  playButton: bn,
859
892
  time: vn,
860
893
  volumeGroup: yn
861
894
  };
862
895
  function pe(t) {
863
- const o = Math.floor(t / 60), a = Math.floor(t % 60);
864
- return `${o.toString().padStart(2, "0")}:${a.toString().padStart(2, "0")}`;
896
+ const n = Math.floor(t / 60), r = Math.floor(t % 60);
897
+ return `${n.toString().padStart(2, "0")}:${r.toString().padStart(2, "0")}`;
865
898
  }
866
- function To({
899
+ function $o({
867
900
  src: t,
868
- filename: o = "audio",
869
- playButtonColor: a,
870
- playButtonSize: r = 32,
901
+ filename: n = "audio",
902
+ playButtonColor: r,
903
+ playButtonSize: a = 32,
871
904
  waveColor: s = "#D0D0D0",
872
- progressColor: u = "#a8a8a8",
873
- waveHeight: y = 64,
874
- barWidth: _ = 3,
875
- barGap: g = 2,
905
+ progressColor: h = "#a8a8a8",
906
+ waveHeight: _ = 64,
907
+ barWidth: g = 3,
908
+ barGap: p = 2,
876
909
  showVolume: m = !0,
877
- showDownload: h = !0
910
+ showDownload: u = !0
878
911
  }) {
879
- const k = A(null), [i, b] = T(!1), [c, d] = T(0), [w, n] = T("00:00"), [f, N] = T("00:00"), [P, q] = T(50), [O, j] = T(50), [M, C] = T(!1);
912
+ const k = q(null), [i, y] = T(!1), [c, d] = T(0), [w, o] = T("00:00"), [b, N] = T("00:00"), [P, O] = T(50), [V, j] = T(50), [M, C] = T(!1);
880
913
  S(() => {
881
- const p = k.current;
882
- if (!p) return;
883
- p.volume = P / 100;
914
+ const f = k.current;
915
+ if (!f) return;
916
+ f.volume = P / 100;
884
917
  const $ = () => {
885
- d(p.currentTime), n(pe(p.currentTime));
886
- }, B = () => N(pe(p.duration)), J = () => {
918
+ d(f.currentTime), o(pe(f.currentTime));
919
+ }, B = () => N(pe(f.duration)), Q = () => {
887
920
  setTimeout(() => {
888
- d(0), n("00:00"), b(!1);
921
+ d(0), o("00:00"), y(!1);
889
922
  }, 500);
890
- }, ie = () => b(!0), le = () => b(!1);
891
- return p.addEventListener("timeupdate", $), p.addEventListener("loadedmetadata", B), p.addEventListener("ended", J), p.addEventListener("play", ie), p.addEventListener("pause", le), () => {
892
- p.removeEventListener("timeupdate", $), p.removeEventListener("loadedmetadata", B), p.removeEventListener("ended", J), p.removeEventListener("play", ie), p.removeEventListener("pause", le);
923
+ }, ie = () => y(!0), le = () => y(!1);
924
+ return f.addEventListener("timeupdate", $), f.addEventListener("loadedmetadata", B), f.addEventListener("ended", Q), f.addEventListener("play", ie), f.addEventListener("pause", le), () => {
925
+ f.removeEventListener("timeupdate", $), f.removeEventListener("loadedmetadata", B), f.removeEventListener("ended", Q), f.removeEventListener("play", ie), f.removeEventListener("pause", le);
893
926
  };
894
927
  }, [t]);
895
928
  const F = L(() => {
896
- const p = k.current;
897
- p && (i ? p.pause() : p.play().catch(() => {
929
+ const f = k.current;
930
+ f && (i ? f.pause() : f.play().catch(() => {
898
931
  }));
899
- }, [i]), G = L((p) => {
932
+ }, [i]), G = L((f) => {
900
933
  const $ = k.current;
901
- $ && !isNaN(p) && isFinite(p) && ($.currentTime = p, d(p), n(pe(p)));
902
- }, []), V = L((p) => {
934
+ $ && !isNaN(f) && isFinite(f) && ($.currentTime = f, d(f), o(pe(f)));
935
+ }, []), H = L((f) => {
903
936
  const $ = k.current;
904
- $ && ($.volume = p / 100, q(p), p > 0 ? (j(p), C(!1)) : C(!0));
905
- }, []), H = L(() => {
906
- const p = k.current;
907
- if (p)
937
+ $ && ($.volume = f / 100, O(f), f > 0 ? (j(f), C(!1)) : C(!0));
938
+ }, []), U = L(() => {
939
+ const f = k.current;
940
+ if (f)
908
941
  if (M) {
909
- const $ = O || 50;
910
- p.volume = $ / 100, q($), C(!1);
942
+ const $ = V || 50;
943
+ f.volume = $ / 100, O($), C(!1);
911
944
  } else
912
- j(P), p.volume = 0, q(0), C(!0);
913
- }, [M, P, O]), ee = L(() => {
914
- fetch(t).then((p) => p.blob()).then((p) => {
915
- const $ = URL.createObjectURL(p), B = document.createElement("a");
916
- B.href = $, B.download = o, document.body.appendChild(B), B.click(), document.body.removeChild(B), URL.revokeObjectURL($);
945
+ j(P), f.volume = 0, O(0), C(!0);
946
+ }, [M, P, V]), ne = L(() => {
947
+ fetch(t).then((f) => f.blob()).then((f) => {
948
+ const $ = URL.createObjectURL(f), B = document.createElement("a");
949
+ B.href = $, B.download = n, document.body.appendChild(B), B.click(), document.body.removeChild(B), URL.revokeObjectURL($);
917
950
  }).catch(() => window.open(t, "_blank"));
918
- }, [t, o]);
919
- return /* @__PURE__ */ l(z, { gap: "sm", wrap: "nowrap", className: oe.root, children: [
951
+ }, [t, n]);
952
+ return /* @__PURE__ */ l(I, { gap: "sm", wrap: "nowrap", className: ae.root, children: [
920
953
  /* @__PURE__ */ e("audio", { ref: k, src: t, preload: "metadata" }),
921
954
  /* @__PURE__ */ e(
922
- Z,
955
+ ee,
923
956
  {
924
957
  variant: "filled",
925
958
  radius: "xl",
926
- size: r,
927
- color: a,
959
+ size: a,
960
+ color: r,
928
961
  onClick: F,
929
962
  "aria-label": i ? "Pause" : "Play",
930
- className: oe.playButton,
931
- children: i ? /* @__PURE__ */ e(We, { size: r * 0.5 }) : /* @__PURE__ */ e(Ae, { size: r * 0.5 })
963
+ className: ae.playButton,
964
+ children: i ? /* @__PURE__ */ e(qe, { size: a * 0.5 }) : /* @__PURE__ */ e(Ae, { size: a * 0.5 })
932
965
  }
933
966
  ),
934
- /* @__PURE__ */ e(v, { size: "xs", ff: "monospace", c: "dimmed", className: oe.time, children: w }),
967
+ /* @__PURE__ */ e(v, { size: "xs", ff: "monospace", c: "dimmed", className: ae.time, children: w }),
935
968
  /* @__PURE__ */ e(x, { style: { flex: 1, minWidth: 0 }, children: /* @__PURE__ */ e(
936
969
  fe,
937
970
  {
@@ -939,20 +972,20 @@ function To({
939
972
  currentTime: c,
940
973
  onSeek: G,
941
974
  waveColor: s,
942
- progressColor: u,
943
- height: y,
944
- barWidth: _,
945
- barGap: g
975
+ progressColor: h,
976
+ height: _,
977
+ barWidth: g,
978
+ barGap: p
946
979
  }
947
980
  ) }),
948
- /* @__PURE__ */ e(v, { size: "xs", ff: "monospace", c: "dimmed", className: oe.time, children: f }),
949
- m && /* @__PURE__ */ l(z, { gap: 4, wrap: "nowrap", className: oe.volumeGroup, children: [
981
+ /* @__PURE__ */ e(v, { size: "xs", ff: "monospace", c: "dimmed", className: ae.time, children: b }),
982
+ m && /* @__PURE__ */ l(I, { gap: 4, wrap: "nowrap", className: ae.volumeGroup, children: [
950
983
  /* @__PURE__ */ e(
951
- Z,
984
+ ee,
952
985
  {
953
986
  variant: "subtle",
954
987
  size: "sm",
955
- onClick: H,
988
+ onClick: U,
956
989
  "aria-label": M ? "Unmute" : "Mute",
957
990
  children: M ? /* @__PURE__ */ e(et, { size: 16 }) : /* @__PURE__ */ e(tt, { size: 16 })
958
991
  }
@@ -961,14 +994,14 @@ function To({
961
994
  Ue,
962
995
  {
963
996
  value: P,
964
- onChange: V,
997
+ onChange: H,
965
998
  size: "xs",
966
999
  w: 80,
967
1000
  "aria-label": "Volume"
968
1001
  }
969
1002
  )
970
1003
  ] }),
971
- h && /* @__PURE__ */ e(Z, { variant: "subtle", size: "sm", onClick: ee, "aria-label": "Download", children: /* @__PURE__ */ e(nt, { size: 16 }) })
1004
+ u && /* @__PURE__ */ e(ee, { variant: "subtle", size: "sm", onClick: ne, "aria-label": "Download", children: /* @__PURE__ */ e(nt, { size: 16 }) })
972
1005
  ] });
973
1006
  }
974
1007
  const kn = "_root_13w21_1", wn = "_playButton_13w21_11", Be = {
@@ -978,57 +1011,57 @@ const kn = "_root_13w21_1", wn = "_playButton_13w21_11", Be = {
978
1011
  mini: { height: 24, buttonSize: 20, iconSize: 14, waveHeight: 16, barWidth: 1, barGap: 0 },
979
1012
  small: { height: 32, buttonSize: 28, iconSize: 16, waveHeight: 20, barWidth: 1, barGap: 0 },
980
1013
  compact: { height: 40, buttonSize: 32, iconSize: 18, waveHeight: 24, barWidth: 2, barGap: 1 }
981
- }, Nn = Fe(
1014
+ }, Nn = We(
982
1015
  ({
983
1016
  audioUrl: t,
984
- size: o = "mini",
985
- waveColor: a = "#CCCCCC",
986
- progressColor: r = "#169bde",
1017
+ size: n = "mini",
1018
+ waveColor: r = "#CCCCCC",
1019
+ progressColor: a = "#169bde",
987
1020
  onPlay: s,
988
- onPause: u,
989
- className: y,
990
- style: _
991
- }, g) => {
992
- const m = A(null), [h, k] = T(!1), [i, b] = T(0), c = xn[o];
1021
+ onPause: h,
1022
+ className: _,
1023
+ style: g
1024
+ }, p) => {
1025
+ const m = q(null), [u, k] = T(!1), [i, y] = T(0), c = xn[n];
993
1026
  S(() => {
994
- const n = m.current;
995
- if (!n) return;
996
- const f = () => b(n.currentTime), N = () => {
997
- k(!1), b(0);
998
- }, P = () => k(!1), q = () => k(!0);
999
- return n.addEventListener("timeupdate", f), n.addEventListener("ended", N), n.addEventListener("pause", P), n.addEventListener("play", q), () => {
1000
- n.removeEventListener("timeupdate", f), n.removeEventListener("ended", N), n.removeEventListener("pause", P), n.removeEventListener("play", q);
1027
+ const o = m.current;
1028
+ if (!o) return;
1029
+ const b = () => y(o.currentTime), N = () => {
1030
+ k(!1), y(0);
1031
+ }, P = () => k(!1), O = () => k(!0);
1032
+ return o.addEventListener("timeupdate", b), o.addEventListener("ended", N), o.addEventListener("pause", P), o.addEventListener("play", O), () => {
1033
+ o.removeEventListener("timeupdate", b), o.removeEventListener("ended", N), o.removeEventListener("pause", P), o.removeEventListener("play", O);
1001
1034
  };
1002
1035
  }, [t]);
1003
1036
  const d = L(() => {
1004
- const n = m.current;
1005
- n && (h ? (n.pause(), u == null || u()) : (n.play().catch(() => {
1037
+ const o = m.current;
1038
+ o && (u ? (o.pause(), h == null || h()) : (o.play().catch(() => {
1006
1039
  }), s == null || s()));
1007
- }, [h, s, u]), w = L((n) => {
1008
- const f = m.current;
1009
- f && !isNaN(n) && isFinite(n) && (f.currentTime = n, b(n));
1040
+ }, [u, s, h]), w = L((o) => {
1041
+ const b = m.current;
1042
+ b && !isNaN(o) && isFinite(o) && (b.currentTime = o, y(o));
1010
1043
  }, []);
1011
1044
  return /* @__PURE__ */ l(
1012
- z,
1045
+ I,
1013
1046
  {
1014
- ref: g,
1015
- gap: o === "mini" ? 6 : o === "small" ? 8 : 10,
1047
+ ref: p,
1048
+ gap: n === "mini" ? 6 : n === "small" ? 8 : 10,
1016
1049
  wrap: "nowrap",
1017
- className: `${Be.root} ${y ?? ""}`,
1018
- style: { height: c.height, ..._ },
1050
+ className: `${Be.root} ${_ ?? ""}`,
1051
+ style: { height: c.height, ...g },
1019
1052
  children: [
1020
1053
  /* @__PURE__ */ e("audio", { ref: m, src: t, preload: "metadata" }),
1021
1054
  /* @__PURE__ */ e(
1022
- Z,
1055
+ ee,
1023
1056
  {
1024
1057
  variant: "filled",
1025
1058
  color: "blue",
1026
1059
  radius: "xl",
1027
1060
  size: c.buttonSize,
1028
1061
  onClick: d,
1029
- "aria-label": h ? "Pause" : "Play",
1062
+ "aria-label": u ? "Pause" : "Play",
1030
1063
  className: Be.playButton,
1031
- children: h ? /* @__PURE__ */ e(We, { size: c.iconSize }) : /* @__PURE__ */ e(Ae, { size: c.iconSize })
1064
+ children: u ? /* @__PURE__ */ e(qe, { size: c.iconSize }) : /* @__PURE__ */ e(Ae, { size: c.iconSize })
1032
1065
  }
1033
1066
  ),
1034
1067
  /* @__PURE__ */ e(x, { style: { flex: 1, minWidth: 80 }, children: /* @__PURE__ */ e(
@@ -1037,8 +1070,8 @@ const kn = "_root_13w21_1", wn = "_playButton_13w21_11", Be = {
1037
1070
  audioRef: m,
1038
1071
  currentTime: i,
1039
1072
  onSeek: w,
1040
- waveColor: a,
1041
- progressColor: r,
1073
+ waveColor: r,
1074
+ progressColor: a,
1042
1075
  height: c.waveHeight,
1043
1076
  barWidth: c.barWidth,
1044
1077
  barGap: c.barGap
@@ -1056,73 +1089,73 @@ const Tn = "_root_4fblk_1", $n = "_actions_4fblk_22", Cn = "_fab_4fblk_43", In =
1056
1089
  fab: Cn,
1057
1090
  actionButton: In
1058
1091
  };
1059
- function $o({
1092
+ function Co({
1060
1093
  actions: t,
1061
- icon: o,
1062
- openIcon: a,
1063
- direction: r = "up",
1094
+ icon: n,
1095
+ openIcon: r,
1096
+ direction: a = "up",
1064
1097
  color: s = "blue",
1065
- size: u = 56,
1066
- defaultOpen: y = !1,
1067
- open: _,
1068
- onOpenChange: g,
1098
+ size: h = 56,
1099
+ defaultOpen: _ = !1,
1100
+ open: g,
1101
+ onOpenChange: p,
1069
1102
  style: m,
1070
- className: h
1103
+ className: u
1071
1104
  }) {
1072
- const [k, i] = T(y), b = _ ?? k, c = L(() => {
1073
- const n = !b;
1074
- i(n), g == null || g(n);
1075
- }, [b, g]), d = L(() => {
1076
- i(!1), g == null || g(!1);
1077
- }, [g]), w = r === "up" || r === "down";
1078
- return /* @__PURE__ */ l(x, { className: `${me.root} ${h ?? ""}`, style: m, "data-direction": r, children: [
1079
- /* @__PURE__ */ e("div", { className: me.actions, "data-direction": r, children: t.map((n, f) => {
1080
- const N = r === "up" || r === "left" ? t.length - 1 - f : f;
1105
+ const [k, i] = T(_), y = g ?? k, c = L(() => {
1106
+ const o = !y;
1107
+ i(o), p == null || p(o);
1108
+ }, [y, p]), d = L(() => {
1109
+ i(!1), p == null || p(!1);
1110
+ }, [p]), w = a === "up" || a === "down";
1111
+ return /* @__PURE__ */ l(x, { className: `${me.root} ${u ?? ""}`, style: m, "data-direction": a, children: [
1112
+ /* @__PURE__ */ e("div", { className: me.actions, "data-direction": a, children: t.map((o, b) => {
1113
+ const N = a === "up" || a === "left" ? t.length - 1 - b : b;
1081
1114
  return /* @__PURE__ */ e(
1082
1115
  Xe,
1083
1116
  {
1084
- mounted: b,
1117
+ mounted: y,
1085
1118
  transition: w ? "slide-up" : "slide-right",
1086
1119
  duration: 200,
1087
1120
  timingFunction: "ease",
1088
1121
  enterDelay: N * 40,
1089
- children: (P) => /* @__PURE__ */ e(Ye, { label: n.label, position: w ? "left" : "top", children: /* @__PURE__ */ e(
1090
- Z,
1122
+ children: (P) => /* @__PURE__ */ e(Ye, { label: o.label, position: w ? "left" : "top", children: /* @__PURE__ */ e(
1123
+ ee,
1091
1124
  {
1092
1125
  variant: "filled",
1093
1126
  color: "gray",
1094
1127
  radius: "xl",
1095
- size: u * 0.7,
1128
+ size: h * 0.7,
1096
1129
  style: P,
1097
1130
  className: me.actionButton,
1098
1131
  onClick: () => {
1099
- n.onClick(), d();
1132
+ o.onClick(), d();
1100
1133
  },
1101
- "aria-label": n.label,
1102
- children: n.icon
1134
+ "aria-label": o.label,
1135
+ children: o.icon
1103
1136
  }
1104
1137
  ) })
1105
1138
  },
1106
- n.label
1139
+ o.label
1107
1140
  );
1108
1141
  }) }),
1109
1142
  /* @__PURE__ */ e(
1110
- Z,
1143
+ ee,
1111
1144
  {
1112
1145
  variant: "filled",
1113
1146
  color: s,
1114
1147
  radius: "xl",
1115
- size: u,
1148
+ size: h,
1116
1149
  onClick: c,
1117
1150
  className: me.fab,
1118
- "data-open": b || void 0,
1119
- "aria-label": b ? "Close actions" : "Open actions",
1120
- children: b ? a ?? o ?? /* @__PURE__ */ e(ve, { size: u * 0.45 }) : o ?? /* @__PURE__ */ e(ve, { size: u * 0.45 })
1151
+ "data-open": y || void 0,
1152
+ "aria-label": y ? "Close actions" : "Open actions",
1153
+ children: y ? r ?? n ?? /* @__PURE__ */ e(ve, { size: h * 0.45 }) : n ?? /* @__PURE__ */ e(ve, { size: h * 0.45 })
1121
1154
  }
1122
1155
  )
1123
1156
  ] });
1124
1157
  }
1125
- const zn = "_root_h15rs_1", Mn = "_content_h15rs_8", Bn = "_label_h15rs_21", Dn = "_vignette_h15rs_38", Ln = "_logoWrapper_h15rs_51", Sn = "_logo_h15rs_51", Pn = "_glow_h15rs_74", En = "_textWrapper_h15rs_86", Fn = "_heading_h15rs_92", Wn = "_shimmer_h15rs_126", An = "_tagline_h15rs_130", jn = "_primaryButton_h15rs_146", Gn = "_secondaryButton_h15rs_157", Rn = "_scrollIndicator_h15rs_173", qn = "_scrollLabel_h15rs_184", On = "_scrollLine_h15rs_192", I = {
1158
+ const zn = "_root_18iq7_1", Mn = "_content_18iq7_8", Bn = "_label_18iq7_21", Dn = "_vignette_18iq7_38", Ln = "_logoWrapper_18iq7_51", Sn = "_logo_18iq7_51", Pn = "_glow_18iq7_74", En = "_textWrapper_18iq7_86", Fn = "_heading_18iq7_92", Wn = "_shimmer_18iq7_126", qn = "_tagline_18iq7_130", An = "_primaryButton_18iq7_146", jn = "_secondaryButton_18iq7_158", Gn = "_scrollIndicator_18iq7_175", Rn = "_scrollLabel_18iq7_186", On = "_scrollLine_18iq7_194", z = {
1126
1159
  root: zn,
1127
1160
  content: Mn,
1128
1161
  label: Bn,
@@ -1133,41 +1166,41 @@ const zn = "_root_h15rs_1", Mn = "_content_h15rs_8", Bn = "_label_h15rs_21", Dn
1133
1166
  textWrapper: En,
1134
1167
  heading: Fn,
1135
1168
  shimmer: Wn,
1136
- tagline: An,
1137
- primaryButton: jn,
1138
- secondaryButton: Gn,
1139
- scrollIndicator: Rn,
1140
- scrollLabel: qn,
1169
+ tagline: qn,
1170
+ primaryButton: An,
1171
+ secondaryButton: jn,
1172
+ scrollIndicator: Gn,
1173
+ scrollLabel: Rn,
1141
1174
  scrollLine: On
1142
1175
  };
1143
- function Co({
1176
+ function Io({
1144
1177
  variant: t = "logo",
1145
- heading: o,
1146
- label: a,
1147
- tagline: r,
1178
+ heading: n,
1179
+ label: r,
1180
+ tagline: a,
1148
1181
  logoSrc: s = ot,
1149
- gradient: u = "frequencyAlive",
1150
- shimmer: y = !0,
1151
- primaryAction: _,
1152
- secondaryAction: g,
1182
+ gradient: h = "frequencyAlive",
1183
+ shimmer: _ = !0,
1184
+ primaryAction: g,
1185
+ secondaryAction: p,
1153
1186
  backgroundVideoSrc: m,
1154
- showWaveform: h,
1187
+ showWaveform: u,
1155
1188
  showScrollIndicator: k = !1
1156
1189
  }) {
1157
- const [i, b] = T(!1), c = typeof s == "string" ? s : s == null ? void 0 : s.src, d = o ?? (t === "text" ? "Your Message" : void 0), w = a || (t === "logo" ? "Welcome" : void 0), n = _ || g, f = h ?? !0, N = rt[u];
1190
+ const [i, y] = T(!1), c = typeof s == "string" ? s : s == null ? void 0 : s.src, d = n ?? (t === "text" ? "Your Message" : void 0), w = r || (t === "logo" ? "Welcome" : void 0), o = g || p, b = u ?? !0, N = rt[h];
1158
1191
  return S(() => {
1159
- b(!0);
1160
- }, []), /* @__PURE__ */ l(x, { component: "section", className: I.root, children: [
1192
+ y(!0);
1193
+ }, []), /* @__PURE__ */ l(x, { component: "section", className: z.root, children: [
1161
1194
  m && /* @__PURE__ */ e(Xt, { src: m }),
1162
- /* @__PURE__ */ l("div", { className: I.content, children: [
1163
- i && /* @__PURE__ */ l(Ee, { children: [
1195
+ /* @__PURE__ */ l("div", { className: z.content, children: [
1196
+ i && /* @__PURE__ */ l(Fe, { children: [
1164
1197
  w && /* @__PURE__ */ e(
1165
1198
  D.p,
1166
1199
  {
1167
1200
  initial: { opacity: 0 },
1168
1201
  animate: { opacity: 1 },
1169
1202
  transition: { duration: 0.8, delay: 0.2 },
1170
- className: I.label,
1203
+ className: z.label,
1171
1204
  children: w
1172
1205
  }
1173
1206
  ),
@@ -1177,21 +1210,21 @@ function Co({
1177
1210
  initial: { opacity: 0, scale: 0.8 },
1178
1211
  animate: { opacity: 1, scale: 1 },
1179
1212
  transition: { duration: 1.2, delay: 0.3, ease: "easeOut" },
1180
- className: I.logoWrapper,
1213
+ className: z.logoWrapper,
1181
1214
  children: [
1182
- f && /* @__PURE__ */ e(Ie, {}),
1183
- f && /* @__PURE__ */ e("div", { className: I.vignette }),
1215
+ b && /* @__PURE__ */ e(Ie, {}),
1216
+ b && /* @__PURE__ */ e("div", { className: z.vignette }),
1184
1217
  /* @__PURE__ */ e(
1185
1218
  D.img,
1186
1219
  {
1187
1220
  src: c,
1188
1221
  alt: d ?? "Frequency",
1189
- className: I.logo,
1222
+ className: z.logo,
1190
1223
  animate: { rotate: [0, 0.5, -0.5, 0] },
1191
1224
  transition: { duration: 8, repeat: 1 / 0, ease: "easeInOut" }
1192
1225
  }
1193
1226
  ),
1194
- /* @__PURE__ */ e("div", { className: I.glow })
1227
+ /* @__PURE__ */ e("div", { className: z.glow })
1195
1228
  ]
1196
1229
  }
1197
1230
  ),
@@ -1201,18 +1234,18 @@ function Co({
1201
1234
  initial: { opacity: 0, scale: 0.8 },
1202
1235
  animate: { opacity: 1, scale: 1 },
1203
1236
  transition: { duration: 1.2, delay: 0.3, ease: "easeOut" },
1204
- className: I.textWrapper,
1237
+ className: z.textWrapper,
1205
1238
  children: [
1206
- f && /* @__PURE__ */ e(Ie, {}),
1207
- f && /* @__PURE__ */ e("div", { className: I.vignette }),
1239
+ b && /* @__PURE__ */ e(Ie, {}),
1240
+ b && /* @__PURE__ */ e("div", { className: z.vignette }),
1208
1241
  /* @__PURE__ */ e(
1209
- se,
1242
+ te,
1210
1243
  {
1211
1244
  order: 1,
1212
- className: `${I.heading} ${y ? I.shimmer : ""}`,
1245
+ className: `${z.heading} ${_ ? z.shimmer : ""}`,
1213
1246
  style: {
1214
1247
  backgroundImage: `linear-gradient(135deg, ${N.from}, ${N.to}, ${N.from})`,
1215
- backgroundSize: y ? "200% 100%" : void 0
1248
+ backgroundSize: _ ? "200% 100%" : void 0
1216
1249
  },
1217
1250
  children: d
1218
1251
  }
@@ -1220,43 +1253,43 @@ function Co({
1220
1253
  ]
1221
1254
  }
1222
1255
  ),
1223
- r && /* @__PURE__ */ e(
1256
+ a && /* @__PURE__ */ e(
1224
1257
  D.div,
1225
1258
  {
1226
1259
  initial: { opacity: 0, y: 20 },
1227
1260
  animate: { opacity: 1, y: 0 },
1228
1261
  transition: { duration: 0.8, delay: 0.7 },
1229
- children: /* @__PURE__ */ e(v, { className: I.tagline, children: r })
1262
+ children: /* @__PURE__ */ e(v, { className: z.tagline, children: a })
1230
1263
  }
1231
1264
  ),
1232
- n && /* @__PURE__ */ e(
1265
+ o && /* @__PURE__ */ e(
1233
1266
  D.div,
1234
1267
  {
1235
1268
  initial: { opacity: 0, y: 20 },
1236
1269
  animate: { opacity: 1, y: 0 },
1237
1270
  transition: { duration: 0.8, delay: 0.9 },
1238
- children: /* @__PURE__ */ l(z, { gap: "xl", justify: "center", wrap: "wrap", children: [
1239
- _ && /* @__PURE__ */ e(
1240
- ae,
1271
+ children: /* @__PURE__ */ l(I, { gap: "xl", justify: "center", wrap: "wrap", children: [
1272
+ g && /* @__PURE__ */ e(
1273
+ J,
1241
1274
  {
1242
1275
  component: "a",
1243
- href: _.href,
1276
+ href: g.href,
1244
1277
  size: "lg",
1245
1278
  radius: 4,
1246
- className: I.primaryButton,
1247
- children: _.label
1279
+ className: z.primaryButton,
1280
+ children: g.label
1248
1281
  }
1249
1282
  ),
1250
- g && /* @__PURE__ */ e(
1251
- ae,
1283
+ p && /* @__PURE__ */ e(
1284
+ J,
1252
1285
  {
1253
1286
  component: "a",
1254
- href: g.href,
1287
+ href: p.href,
1255
1288
  size: "lg",
1256
1289
  radius: 4,
1257
1290
  variant: "outline",
1258
- className: I.secondaryButton,
1259
- children: g.label
1291
+ className: z.secondaryButton,
1292
+ children: p.label
1260
1293
  }
1261
1294
  )
1262
1295
  ] })
@@ -1266,16 +1299,16 @@ function Co({
1266
1299
  i && k && /* @__PURE__ */ l(
1267
1300
  D.div,
1268
1301
  {
1269
- className: I.scrollIndicator,
1302
+ className: z.scrollIndicator,
1270
1303
  initial: { opacity: 0 },
1271
1304
  animate: { opacity: 1 },
1272
1305
  transition: { duration: 1, delay: 1.4 },
1273
1306
  children: [
1274
- /* @__PURE__ */ e("span", { className: I.scrollLabel, children: "Scroll" }),
1307
+ /* @__PURE__ */ e("span", { className: z.scrollLabel, children: "Scroll" }),
1275
1308
  /* @__PURE__ */ e(
1276
1309
  D.div,
1277
1310
  {
1278
- className: I.scrollLine,
1311
+ className: z.scrollLine,
1279
1312
  animate: { scaleY: [1, 1.5, 1] },
1280
1313
  transition: { duration: 1.5, repeat: 1 / 0 }
1281
1314
  }
@@ -1299,36 +1332,36 @@ const Vn = "_container_9xj91_1", Hn = "_layout_9xj91_16", Un = "_reversed_9xj91_
1299
1332
  titleHighlight: eo,
1300
1333
  description: to
1301
1334
  };
1302
- function Io({
1335
+ function zo({
1303
1336
  badge: t,
1304
- badgeColor: o = "violet",
1305
- subtitle: a,
1306
- title: r,
1337
+ badgeColor: n = "violet",
1338
+ subtitle: r,
1339
+ title: a,
1307
1340
  titleColor: s = "blue",
1308
- preTitle: u,
1309
- description: y,
1310
- actions: _,
1311
- heading: g,
1341
+ preTitle: h,
1342
+ description: _,
1343
+ actions: g,
1344
+ heading: p,
1312
1345
  children: m,
1313
- stickyHeading: h = !1,
1346
+ stickyHeading: u = !1,
1314
1347
  py: k,
1315
1348
  reversed: i = !1,
1316
- id: b,
1349
+ id: y,
1317
1350
  className: c
1318
1351
  }) {
1319
- const d = g ?? /* @__PURE__ */ l(Y, { gap: "sm", children: [
1352
+ const d = p ?? /* @__PURE__ */ l(A, { gap: "sm", children: [
1320
1353
  t && /* @__PURE__ */ l(x, { children: [
1321
- /* @__PURE__ */ e(Pe, { color: o, variant: "filled", size: "sm", radius: 4, tt: "uppercase", fw: 700, children: t }),
1322
- a && /* @__PURE__ */ e(v, { size: "sm", c: "dimmed", mt: "xs", tt: "uppercase", style: { letterSpacing: "0.05em" }, children: a })
1354
+ /* @__PURE__ */ e(Ee, { color: n, variant: "filled", size: "sm", radius: 4, tt: "uppercase", fw: 700, children: t }),
1355
+ r && /* @__PURE__ */ e(v, { size: "sm", c: "dimmed", mt: "xs", tt: "uppercase", style: { letterSpacing: "0.05em" }, children: r })
1323
1356
  ] }),
1324
- !t && a && /* @__PURE__ */ e(v, { size: "sm", c: "dimmed", tt: "uppercase", style: { letterSpacing: "0.05em" }, children: a }),
1325
- (u || r) && /* @__PURE__ */ l(se, { order: 2, className: E.title, children: [
1326
- u && /* @__PURE__ */ e("span", { className: E.preTitle, children: u }),
1327
- u && /* @__PURE__ */ e("br", {}),
1328
- r && /* @__PURE__ */ e(v, { component: "span", inherit: !0, className: E.titleHighlight, c: s, children: r })
1357
+ !t && r && /* @__PURE__ */ e(v, { size: "sm", c: "dimmed", tt: "uppercase", style: { letterSpacing: "0.05em" }, children: r }),
1358
+ (h || a) && /* @__PURE__ */ l(te, { order: 2, className: E.title, children: [
1359
+ h && /* @__PURE__ */ e("span", { className: E.preTitle, children: h }),
1360
+ h && /* @__PURE__ */ e("br", {}),
1361
+ a && /* @__PURE__ */ e(v, { component: "span", inherit: !0, className: E.titleHighlight, c: s, children: a })
1329
1362
  ] }),
1330
- y && /* @__PURE__ */ e(v, { size: "lg", c: "dimmed", lh: 1.7, className: E.description, children: y }),
1331
- _ && /* @__PURE__ */ e(x, { mt: "md", children: _ })
1363
+ _ && /* @__PURE__ */ e(v, { size: "lg", c: "dimmed", lh: 1.7, className: E.description, children: _ }),
1364
+ g && /* @__PURE__ */ e(x, { mt: "md", children: g })
1332
1365
  ] });
1333
1366
  return /* @__PURE__ */ e(
1334
1367
  x,
@@ -1336,115 +1369,120 @@ function Io({
1336
1369
  component: "section",
1337
1370
  py: k ?? "calc(var(--mantine-spacing-xl) * 3)",
1338
1371
  pos: "relative",
1339
- id: b,
1372
+ id: y,
1340
1373
  className: c,
1341
1374
  children: /* @__PURE__ */ e(x, { className: E.container, children: /* @__PURE__ */ l(x, { className: `${E.layout} ${i ? E.reversed : ""}`, children: [
1342
- /* @__PURE__ */ e(x, { className: `${E.headingSide} ${h ? E.sticky : ""}`, children: /* @__PURE__ */ e(x, { className: h ? E.stickyInner : void 0, children: d }) }),
1375
+ /* @__PURE__ */ e(x, { className: `${E.headingSide} ${u ? E.sticky : ""}`, children: /* @__PURE__ */ e(x, { className: u ? E.stickyInner : void 0, children: d }) }),
1343
1376
  /* @__PURE__ */ e(x, { className: E.contentSide, children: m })
1344
1377
  ] }) })
1345
1378
  }
1346
1379
  );
1347
1380
  }
1348
- function zo({
1381
+ function Mo({
1349
1382
  value: t,
1350
- suffix: o = "",
1351
- prefix: a = "",
1352
- duration: r = 2e3,
1383
+ suffix: n = "",
1384
+ prefix: r = "",
1385
+ duration: a = 2e3,
1353
1386
  threshold: s = 0.5,
1354
- abbreviate: u = !0,
1355
- decimals: y,
1356
- ..._
1387
+ abbreviate: h = !0,
1388
+ decimals: _,
1389
+ ...g
1357
1390
  }) {
1358
- const [g, m] = T(0), [h, k] = T(!1), i = A(null);
1391
+ const [p, m] = T(0), [u, k] = T(!1), i = q(null);
1359
1392
  return S(() => {
1360
1393
  const c = i.current;
1361
1394
  if (!c) return;
1362
1395
  const d = new IntersectionObserver(
1363
1396
  ([w]) => {
1364
- w.isIntersecting && !h && k(!0);
1397
+ w.isIntersecting && !u && k(!0);
1365
1398
  },
1366
1399
  { threshold: s }
1367
1400
  );
1368
1401
  return d.observe(c), () => d.disconnect();
1369
- }, [h, s]), S(() => {
1370
- if (!h) return;
1402
+ }, [u, s]), S(() => {
1403
+ if (!u) return;
1371
1404
  let c, d;
1372
- const w = (n) => {
1373
- c || (c = n);
1374
- const f = Math.min((n - c) / r, 1), N = 1 - Math.pow(1 - f, 3);
1375
- m(N * t), f < 1 && (d = requestAnimationFrame(w));
1405
+ const w = (o) => {
1406
+ c || (c = o);
1407
+ const b = Math.min((o - c) / a, 1), N = 1 - Math.pow(1 - b, 3);
1408
+ m(N * t), b < 1 && (d = requestAnimationFrame(w));
1376
1409
  };
1377
1410
  return d = requestAnimationFrame(w), () => cancelAnimationFrame(d);
1378
- }, [h, t, r]), /* @__PURE__ */ l(v, { component: "span", ref: i, style: { fontVariantNumeric: "tabular-nums" }, ..._, children: [
1379
- a,
1411
+ }, [u, t, a]), /* @__PURE__ */ l(v, { component: "span", ref: i, style: { fontVariantNumeric: "tabular-nums" }, ...g, children: [
1412
+ r,
1380
1413
  (() => {
1381
- if (u && t >= 1e3) {
1382
- const c = g / 1e3;
1414
+ if (h && t >= 1e3) {
1415
+ const c = p / 1e3;
1383
1416
  return c % 1 === 0 ? `${Math.round(c)}K` : `${c.toFixed(1)}K`;
1384
1417
  }
1385
- return y !== void 0 ? g.toFixed(y) : t !== Math.floor(t) ? g.toFixed(1) : Math.round(g).toString();
1418
+ return _ !== void 0 ? p.toFixed(_) : t !== Math.floor(t) ? p.toFixed(1) : Math.round(p).toString();
1386
1419
  })(),
1387
- o
1420
+ n
1388
1421
  ] });
1389
1422
  }
1390
1423
  const no = "_root_ujac8_1", oo = "_textarea_ujac8_5", De = {
1391
1424
  root: no,
1392
1425
  textarea: oo
1393
1426
  };
1394
- function Mo({ code: t, filename: o, height: a = 384 }) {
1395
- const [r, s] = T(!1), u = L(async () => {
1427
+ function Bo({ code: t, filename: n, height: r = 384 }) {
1428
+ const [a, s] = T(!1), h = L(async () => {
1396
1429
  try {
1397
1430
  await navigator.clipboard.writeText(t), s(!0), setTimeout(() => s(!1), 2e3);
1398
1431
  } catch {
1399
1432
  }
1400
1433
  }, [t]);
1401
1434
  return /* @__PURE__ */ l(x, { className: De.root, children: [
1402
- /* @__PURE__ */ l(z, { justify: "space-between", mb: "xs", children: [
1403
- o && /* @__PURE__ */ e(v, { size: "sm", fw: 500, c: "dimmed", children: o }),
1404
- /* @__PURE__ */ e(ae, { size: "xs", radius: "md", color: r ? "green" : "blue", onClick: u, children: r ? "Copied!" : "Copy" })
1435
+ /* @__PURE__ */ l(I, { justify: "space-between", mb: "xs", children: [
1436
+ n && /* @__PURE__ */ e(v, { size: "sm", fw: 500, c: "dimmed", children: n }),
1437
+ /* @__PURE__ */ e(J, { size: "xs", radius: "md", color: a ? "green" : "blue", onClick: h, children: a ? "Copied!" : "Copy" })
1405
1438
  ] }),
1406
- /* @__PURE__ */ e("textarea", { readOnly: !0, value: t, className: De.textarea, style: { height: a } })
1439
+ /* @__PURE__ */ e("textarea", { readOnly: !0, value: t, className: De.textarea, style: { height: r } })
1407
1440
  ] });
1408
1441
  }
1409
1442
  export {
1410
- Lo as Anchor,
1411
- zo as AnimatedCounter,
1443
+ So as Anchor,
1444
+ Mo as AnimatedCounter,
1412
1445
  Ie as AnimatedWaveform,
1413
- To as AudioPlayer,
1446
+ Po as AspectRatio,
1447
+ $o as AudioPlayer,
1414
1448
  fe as AudioWaveform,
1415
- So as Badge,
1416
- Po as Box,
1449
+ Eo as Badge,
1450
+ Fo as Box,
1417
1451
  go as BrandLogos,
1418
1452
  uo as BrandedAppName,
1419
- Eo as Button,
1420
- Fo as Card,
1421
- Mo as CodeBlock,
1422
- ko as ColorPalette,
1423
- wo as ColorSwatch,
1424
- Wo as Container,
1453
+ Wo as Button,
1454
+ qo as Card,
1455
+ Ao as Center,
1456
+ Bo as CodeBlock,
1457
+ wo as ColorPalette,
1458
+ xo as ColorSwatch,
1459
+ jo as Container,
1425
1460
  he as Copyable,
1426
- Ao as Divider,
1427
- vo as DonutChart,
1428
- po as DosDonts,
1429
- fo as ExpandableCard,
1461
+ Go as Divider,
1462
+ yo as DonutChart,
1463
+ fo as DosDonts,
1464
+ po as DownloadCard,
1465
+ _o as ExpandableCard,
1430
1466
  ce as FadeInSection,
1431
- jo as Flex,
1432
- yo as FrequencyWave,
1433
- xo as GradientSwatch,
1434
- Go as Grid,
1435
- Ro as Group,
1436
- Co as Hero,
1467
+ Ro as Flex,
1468
+ ko as FrequencyWave,
1469
+ No as GradientSwatch,
1470
+ Oo as Grid,
1471
+ Vo as Group,
1472
+ Io as Hero,
1437
1473
  xe as HintBadge,
1438
- qo as Image,
1474
+ Ho as Image,
1439
1475
  Nn as MiniAudioPlayer,
1440
- _o as PrincipleCard,
1441
- Oo as SimpleGrid,
1442
- $o as SpeedDial,
1443
- Io as SplitSection,
1444
- Vo as Stack,
1445
- bo as TestimonialCard,
1446
- Ho as Text,
1447
- Uo as Title,
1448
- No as TypographyColors,
1476
+ Uo as Paper,
1477
+ bo as PrincipleCard,
1478
+ Xo as SimpleGrid,
1479
+ Co as SpeedDial,
1480
+ zo as SplitSection,
1481
+ Yo as Stack,
1482
+ vo as TestimonialCard,
1483
+ Ko as Text,
1484
+ Jo as ThemeIcon,
1485
+ Qo as Title,
1486
+ To as TypographyColors,
1449
1487
  Xt as VideoBackground
1450
1488
  };