@frequencyads/components 0.1.10 → 0.1.11

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