@factorialco/f0-react 16.39.1 → 16.40.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. package/dist/{ArchiveThumbnail-BuomQ0jm.js → ArchiveThumbnail-fx1k9zF5.js} +1 -1
  2. package/dist/{ArchiveViewer-Cb1a_yK5.js → ArchiveViewer-4mkxdXyf.js} +2 -2
  3. package/dist/{ChatPostComposerDialog-BoMZ0Olp.js → ChatPostComposerDialog-ZGoAsax9.js} +2 -2
  4. package/dist/{CoachmarkProvider-w30wNBNx.js → CoachmarkProvider-BwLQ3v9f.js} +14091 -14093
  5. package/dist/{CodeThumbnail-bnwIB0Q2.js → CodeThumbnail-DIRVdTYf.js} +1 -1
  6. package/dist/{CodeViewer-DVL3P-jF.js → CodeViewer-BHA1Osng.js} +4 -4
  7. package/dist/{DocumentToolbar-7s9QNMWY.js → DocumentToolbar-C8_A4Bhd.js} +5 -5
  8. package/dist/{DocxViewer-Bn22Gst6.js → DocxViewer-C-UaGNXG.js} +1 -1
  9. package/dist/{F0AiProcessingOverlay-B6DLMrO7.js → F0AiProcessingOverlay-BQGg-wTQ.js} +502 -504
  10. package/dist/{F0Alert-m54uY33f.js → F0Alert-Cj4ufDl7.js} +3 -3
  11. package/dist/F0AudioPlayer-C5CokjE_.js +2 -0
  12. package/dist/{F0CanvasPanel-CfPdTW_o.js → F0CanvasPanel-D4PhLARb.js} +8987 -9185
  13. package/dist/{F0DocumentViewer-FuhnkhM-.js → F0DocumentViewer-382b-101.js} +1 -1
  14. package/dist/{F0DocumentViewer-C_E6pFUZ.js → F0DocumentViewer-De5STCB5.js} +2 -2
  15. package/dist/{F0Map-BwRUOPzu.js → F0Map-Dz_-4gAZ.js} +764 -697
  16. package/dist/{F0Select-BCUynP2p.js → F0Select-BQMaDPcg.js} +8266 -8522
  17. package/dist/{Ellipsis-Bxq1iUUk.js → F0Text-DmUg-CLb.js} +22 -14
  18. package/dist/F0VideoPlayer-AXw_DAL_.js +1 -0
  19. package/dist/{F0VideoPlayer-DGHxduSr.js → F0VideoPlayer-Dsna4Es9.js} +306 -307
  20. package/dist/{HtmlViewer-Q3xUMpkP.js → HtmlViewer-CIAxNnvP.js} +4 -4
  21. package/dist/{Map-Dt3tV3na.js → Map-DGd3Cl-3.js} +13 -13
  22. package/dist/{PdfThumbnail-QkmwtnOA.js → PdfThumbnail-BtzXcGHN.js} +1 -1
  23. package/dist/{PdfViewer-D4NjCixG.js → PdfViewer-BZVnaYKF.js} +6 -6
  24. package/dist/{SheetViewer-RsRTbw7A.js → SheetViewer-Bn3N9G4D.js} +3 -3
  25. package/dist/{TextViewer-BvwaMVDG.js → TextViewer-C9NBnJvl.js} +1 -1
  26. package/dist/ai.d.ts +2 -2
  27. package/dist/ai.js +2 -2
  28. package/dist/component-status.js +1 -1
  29. package/dist/{dist-CngBJJ6S.js → dist-CWrWx4g2.js} +4 -4
  30. package/dist/{dist-CUKjZKvr.js → dist-CZnQ15Wl.js} +1 -1
  31. package/dist/{dist-CGYo25BY.js → dist-DCb1475M.js} +151 -142
  32. package/dist/{dist-D83RDDAb.js → dist-DNltp03U.js} +6 -15
  33. package/dist/{dist-DDAe_kuu.js → dist-DxwodHyk.js} +1 -1
  34. package/dist/experimental.d.ts +2 -2
  35. package/dist/experimental.js +819 -821
  36. package/dist/{exports-DYl7Pf17.d.ts → exports-CbmGLzn6.d.ts} +1 -1
  37. package/dist/f0.d.ts +3 -3
  38. package/dist/f0.js +318 -320
  39. package/dist/{highlight-CJDVXMe_.js → highlight-u9A6kwy7.js} +1 -1
  40. package/dist/{index-DA_a_mE2.d.ts → index-CcbdFJRr.d.ts} +1 -1
  41. package/dist/{index-DOU2q_xI.d.ts → index-D0QIgPoz.d.ts} +7 -0
  42. package/dist/internal-CGrF2KLC.js +261 -0
  43. package/dist/{maplibre-BFO6CAl9.js → maplibre-Dqb2AOHT.js} +12 -13
  44. package/dist/{pdfWorker-BlDYyNbC.js → pdfWorker-C_2eH-2_.js} +1 -1
  45. package/dist/{popover-BGv1b-fc.js → popover-Y2y9anVX.js} +1282 -1247
  46. package/dist/styles.css +1 -1
  47. package/dist/{useData-CmFkOA0P.js → useData-OLWBwcfd.js} +5129 -4873
  48. package/package.json +1 -1
  49. package/tailwind.config.ts +4 -0
  50. package/dist/Check-Cg2vvL5g.js +0 -39
  51. package/dist/F0AudioPlayer-Ck9Vyjrb.js +0 -2
  52. package/dist/F0Text-CnmiWNAg.js +0 -14
  53. package/dist/F0VideoPlayer-BshnHziC.js +0 -1
  54. package/dist/LayoutGroup-OcrcUDNP.js +0 -57
@@ -5,8 +5,17 @@ import * as i from "react";
5
5
  import { createElement as a, forwardRef as o, useEffect as s, useRef as c } from "react";
6
6
  import { Fragment as l, jsx as u, jsxs as d } from "react/jsx-runtime";
7
7
  import * as f from "react-dom";
8
+ //#region ../../node_modules/.bun/@radix-ui+react-use-previous@1.1.1+ec078f7ced36dfee/node_modules/@radix-ui/react-use-previous/dist/index.mjs
9
+ function p(e) {
10
+ let t = i.useRef({
11
+ value: e,
12
+ previous: e
13
+ });
14
+ return i.useMemo(() => (t.current.value !== e && (t.current.previous = t.current.value, t.current.value = e), t.current.previous), [e]);
15
+ }
16
+ //#endregion
8
17
  //#region src/elements/Text/variants.ts
9
- var p = r({
18
+ var m = r({
10
19
  base: "text-base text-f1-foreground",
11
20
  variants: {
12
21
  variant: {
@@ -39,7 +48,7 @@ var p = r({
39
48
  variant: "body",
40
49
  align: "left"
41
50
  }
42
- }), m = {
51
+ }), h = {
43
52
  "heading-large": "h1",
44
53
  heading: "h2",
45
54
  body: "p",
@@ -58,8 +67,8 @@ var p = r({
58
67
  "positive-strong": "p",
59
68
  "info-strong": "p",
60
69
  code: "code"
61
- }, h = o(({ content: r, variant: i, align: o, className: s, as: c, ellipsis: l, noEllipsisTooltip: d, markdown: f, required: h, ...g }, _) => {
62
- let v = c ?? m[i ?? "body"], y = h ? /* @__PURE__ */ u("span", {
70
+ }, g = o(({ content: r, variant: i, align: o, className: s, as: c, ellipsis: l, noEllipsisTooltip: d, markdown: f, required: p, ...g }, _) => {
71
+ let v = c ?? h[i ?? "body"], y = p ? /* @__PURE__ */ u("span", {
63
72
  className: "text-f1-foreground-critical",
64
73
  "aria-hidden": "true",
65
74
  children: " *"
@@ -68,7 +77,7 @@ var p = r({
68
77
  let t = typeof l == "number" ? l : 1;
69
78
  return y ? a(v, {
70
79
  ...g,
71
- className: e(p({
80
+ className: e(m({
72
81
  variant: i,
73
82
  align: o
74
83
  }), s, "inline-flex gap-0.5"),
@@ -85,7 +94,7 @@ var p = r({
85
94
  lines: t,
86
95
  noTooltip: d,
87
96
  tag: v,
88
- className: e(p({
97
+ className: e(m({
89
98
  variant: i,
90
99
  align: o
91
100
  }), s),
@@ -98,14 +107,14 @@ var p = r({
98
107
  let n = t(r);
99
108
  return y ? a(v, {
100
109
  ...g,
101
- className: e(p({
110
+ className: e(m({
102
111
  variant: i,
103
112
  align: o
104
113
  }), s),
105
114
  ref: _
106
115
  }, /* @__PURE__ */ u("span", { dangerouslySetInnerHTML: { __html: n } }), y) : a(v, {
107
116
  ...g,
108
- className: e(p({
117
+ className: e(m({
109
118
  variant: i,
110
119
  align: o
111
120
  }), s),
@@ -115,17 +124,17 @@ var p = r({
115
124
  }
116
125
  return a(v, {
117
126
  ...g,
118
- className: e(p({
127
+ className: e(m({
119
128
  variant: i,
120
129
  align: o
121
130
  }), s),
122
131
  ref: _
123
132
  }, r, y);
124
133
  });
125
- h.displayName = "Text";
134
+ g.displayName = "Text";
126
135
  //#endregion
127
136
  //#region ../../node_modules/.bun/@radix-ui+react-context@1.1.1+ec078f7ced36dfee/node_modules/@radix-ui/react-context/dist/index.mjs
128
- function g(e, t = []) {
137
+ function _(e, t = []) {
129
138
  let n = [];
130
139
  function r(t, r) {
131
140
  let a = i.createContext(r), o = n.length;
@@ -156,9 +165,9 @@ function g(e, t = []) {
156
165
  } }), [n, r]);
157
166
  };
158
167
  };
159
- return a.scopeName = e, [r, _(a, ...t)];
168
+ return a.scopeName = e, [r, v(a, ...t)];
160
169
  }
161
- function _(...e) {
170
+ function v(...e) {
162
171
  let t = e[0];
163
172
  if (e.length === 1) return t;
164
173
  let n = () => {
@@ -181,7 +190,7 @@ function _(...e) {
181
190
  }
182
191
  //#endregion
183
192
  //#region ../../node_modules/.bun/@radix-ui+react-use-callback-ref@1.1.0+ec078f7ced36dfee/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs
184
- function v(e) {
193
+ function y(e) {
185
194
  let t = i.useRef(e);
186
195
  return i.useEffect(() => {
187
196
  t.current = e;
@@ -189,66 +198,66 @@ function v(e) {
189
198
  }
190
199
  //#endregion
191
200
  //#region ../../node_modules/.bun/@radix-ui+react-use-layout-effect@1.1.0+ec078f7ced36dfee/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs
192
- var y = globalThis?.document ? i.useLayoutEffect : () => {};
201
+ var b = globalThis?.document ? i.useLayoutEffect : () => {};
193
202
  //#endregion
194
203
  //#region ../../node_modules/.bun/@radix-ui+react-compose-refs@1.1.1+ec078f7ced36dfee/node_modules/@radix-ui/react-compose-refs/dist/index.mjs
195
- function b(e, t) {
204
+ function x(e, t) {
196
205
  if (typeof e == "function") return e(t);
197
206
  e != null && (e.current = t);
198
207
  }
199
- function x(...e) {
208
+ function S(...e) {
200
209
  return (t) => {
201
210
  let n = !1, r = e.map((e) => {
202
- let r = b(e, t);
211
+ let r = x(e, t);
203
212
  return !n && typeof r == "function" && (n = !0), r;
204
213
  });
205
214
  if (n) return () => {
206
215
  for (let t = 0; t < r.length; t++) {
207
216
  let n = r[t];
208
- typeof n == "function" ? n() : b(e[t], null);
217
+ typeof n == "function" ? n() : x(e[t], null);
209
218
  }
210
219
  };
211
220
  };
212
221
  }
213
- function S(...e) {
214
- return i.useCallback(x(...e), e);
222
+ function C(...e) {
223
+ return i.useCallback(S(...e), e);
215
224
  }
216
225
  //#endregion
217
226
  //#region ../../node_modules/.bun/@radix-ui+react-slot@1.1.1+ec078f7ced36dfee/node_modules/@radix-ui/react-slot/dist/index.mjs
218
- var C = i.forwardRef((e, t) => {
219
- let { children: n, ...r } = e, a = i.Children.toArray(n), o = a.find(E);
227
+ var w = i.forwardRef((e, t) => {
228
+ let { children: n, ...r } = e, a = i.Children.toArray(n), o = a.find(D);
220
229
  if (o) {
221
230
  let e = o.props.children, n = a.map((t) => t === o ? i.Children.count(e) > 1 ? i.Children.only(null) : i.isValidElement(e) ? e.props.children : null : t);
222
- return /* @__PURE__ */ u(w, {
231
+ return /* @__PURE__ */ u(T, {
223
232
  ...r,
224
233
  ref: t,
225
234
  children: i.isValidElement(e) ? i.cloneElement(e, void 0, n) : null
226
235
  });
227
236
  }
228
- return /* @__PURE__ */ u(w, {
237
+ return /* @__PURE__ */ u(T, {
229
238
  ...r,
230
239
  ref: t,
231
240
  children: n
232
241
  });
233
242
  });
234
- C.displayName = "Slot";
235
- var w = i.forwardRef((e, t) => {
243
+ w.displayName = "Slot";
244
+ var T = i.forwardRef((e, t) => {
236
245
  let { children: n, ...r } = e;
237
246
  if (i.isValidElement(n)) {
238
- let e = O(n);
247
+ let e = k(n);
239
248
  return i.cloneElement(n, {
240
- ...D(r, n.props),
241
- ref: t ? x(t, e) : e
249
+ ...O(r, n.props),
250
+ ref: t ? S(t, e) : e
242
251
  });
243
252
  }
244
253
  return i.Children.count(n) > 1 ? i.Children.only(null) : null;
245
254
  });
246
- w.displayName = "SlotClone";
247
- var T = ({ children: e }) => /* @__PURE__ */ u(l, { children: e });
248
- function E(e) {
249
- return i.isValidElement(e) && e.type === T;
255
+ T.displayName = "SlotClone";
256
+ var E = ({ children: e }) => /* @__PURE__ */ u(l, { children: e });
257
+ function D(e) {
258
+ return i.isValidElement(e) && e.type === E;
250
259
  }
251
- function D(e, t) {
260
+ function O(e, t) {
252
261
  let n = { ...t };
253
262
  for (let r in t) {
254
263
  let i = e[r], a = t[r];
@@ -264,13 +273,13 @@ function D(e, t) {
264
273
  ...n
265
274
  };
266
275
  }
267
- function O(e) {
276
+ function k(e) {
268
277
  let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
269
278
  return n ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
270
279
  }
271
280
  //#endregion
272
281
  //#region ../../node_modules/.bun/@radix-ui+react-primitive@2.0.1+02ec1e885677ecfa/node_modules/@radix-ui/react-primitive/dist/index.mjs
273
- var k = [
282
+ var A = [
274
283
  "a",
275
284
  "button",
276
285
  "div",
@@ -289,7 +298,7 @@ var k = [
289
298
  "ul"
290
299
  ].reduce((e, t) => {
291
300
  let n = i.forwardRef((e, n) => {
292
- let { asChild: r, ...i } = e, a = r ? C : t;
301
+ let { asChild: r, ...i } = e, a = r ? w : t;
293
302
  return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ u(a, {
294
303
  ...i,
295
304
  ref: n
@@ -300,21 +309,21 @@ var k = [
300
309
  [t]: n
301
310
  };
302
311
  }, {});
303
- function A(e, t) {
312
+ function ee(e, t) {
304
313
  e && f.flushSync(() => e.dispatchEvent(t));
305
314
  }
306
315
  //#endregion
307
316
  //#region ../../node_modules/.bun/@radix-ui+react-presence@1.1.2+02ec1e885677ecfa/node_modules/@radix-ui/react-presence/dist/index.mjs
308
- function ee(e, t) {
317
+ function te(e, t) {
309
318
  return i.useReducer((e, n) => t[e][n] ?? e, e);
310
319
  }
311
320
  var j = (e) => {
312
- let { present: t, children: n } = e, r = te(t), a = typeof n == "function" ? n({ present: r.isPresent }) : i.Children.only(n), o = S(r.ref, ne(a));
321
+ let { present: t, children: n } = e, r = ne(t), a = typeof n == "function" ? n({ present: r.isPresent }) : i.Children.only(n), o = C(r.ref, re(a));
313
322
  return typeof n == "function" || r.isPresent ? i.cloneElement(a, { ref: o }) : null;
314
323
  };
315
324
  j.displayName = "Presence";
316
- function te(e) {
317
- let [t, n] = i.useState(), r = i.useRef({}), a = i.useRef(e), o = i.useRef("none"), [s, c] = ee(e ? "mounted" : "unmounted", {
325
+ function ne(e) {
326
+ let [t, n] = i.useState(), r = i.useRef({}), a = i.useRef(e), o = i.useRef("none"), [s, c] = te(e ? "mounted" : "unmounted", {
318
327
  mounted: {
319
328
  UNMOUNT: "unmounted",
320
329
  ANIMATION_OUT: "unmountSuspended"
@@ -328,13 +337,13 @@ function te(e) {
328
337
  return i.useEffect(() => {
329
338
  let e = M(r.current);
330
339
  o.current = s === "mounted" ? e : "none";
331
- }, [s]), y(() => {
340
+ }, [s]), b(() => {
332
341
  let t = r.current, n = a.current;
333
342
  if (n !== e) {
334
343
  let r = o.current, i = M(t);
335
344
  e ? c("MOUNT") : i === "none" || t?.display === "none" ? c("UNMOUNT") : c(n && r !== i ? "ANIMATION_OUT" : "UNMOUNT"), a.current = e;
336
345
  }
337
- }, [e, c]), y(() => {
346
+ }, [e, c]), b(() => {
338
347
  if (t) {
339
348
  let e, n = t.ownerDocument.defaultView ?? window, i = (i) => {
340
349
  let o = M(r.current).includes(i.animationName);
@@ -362,20 +371,20 @@ function te(e) {
362
371
  function M(e) {
363
372
  return e?.animationName || "none";
364
373
  }
365
- function ne(e) {
374
+ function re(e) {
366
375
  let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
367
376
  return n ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
368
377
  }
369
378
  //#endregion
370
379
  //#region ../../node_modules/.bun/@radix-ui+react-direction@1.1.0+ec078f7ced36dfee/node_modules/@radix-ui/react-direction/dist/index.mjs
371
- var re = i.createContext(void 0);
380
+ var ie = i.createContext(void 0);
372
381
  function N(e) {
373
- let t = i.useContext(re);
382
+ let t = i.useContext(ie);
374
383
  return e || t || "ltr";
375
384
  }
376
385
  //#endregion
377
386
  //#region ../../node_modules/.bun/@radix-ui+number@1.1.0/node_modules/@radix-ui/number/dist/index.mjs
378
- function ie(e, [t, n]) {
387
+ function ae(e, [t, n]) {
379
388
  return Math.min(n, Math.max(t, e));
380
389
  }
381
390
  //#endregion
@@ -387,15 +396,15 @@ function P(e, t, { checkForDefaultPrevented: n = !0 } = {}) {
387
396
  }
388
397
  //#endregion
389
398
  //#region ../../node_modules/.bun/@radix-ui+react-scroll-area@1.2.2+02ec1e885677ecfa/node_modules/@radix-ui/react-scroll-area/dist/index.mjs
390
- function ae(e, t) {
399
+ function oe(e, t) {
391
400
  return i.useReducer((e, n) => t[e][n] ?? e, e);
392
401
  }
393
- var F = "ScrollArea", [oe, se] = g(F), [ce, I] = oe(F), le = i.forwardRef((e, t) => {
394
- let { __scopeScrollArea: n, type: r = "hover", dir: a, scrollHideDelay: o = 600, ...s } = e, [c, l] = i.useState(null), [d, f] = i.useState(null), [p, m] = i.useState(null), [h, g] = i.useState(null), [_, v] = i.useState(null), [y, b] = i.useState(0), [x, C] = i.useState(0), [w, T] = i.useState(!1), [E, D] = i.useState(!1), O = S(t, (e) => l(e)), A = N(a);
395
- return /* @__PURE__ */ u(ce, {
402
+ var F = "ScrollArea", [se, ce] = _(F), [le, I] = se(F), L = i.forwardRef((e, t) => {
403
+ let { __scopeScrollArea: n, type: r = "hover", dir: a, scrollHideDelay: o = 600, ...s } = e, [c, l] = i.useState(null), [d, f] = i.useState(null), [p, m] = i.useState(null), [h, g] = i.useState(null), [_, v] = i.useState(null), [y, b] = i.useState(0), [x, S] = i.useState(0), [w, T] = i.useState(!1), [E, D] = i.useState(!1), O = C(t, (e) => l(e)), k = N(a);
404
+ return /* @__PURE__ */ u(le, {
396
405
  scope: n,
397
406
  type: r,
398
- dir: A,
407
+ dir: k,
399
408
  scrollHideDelay: o,
400
409
  scrollArea: c,
401
410
  viewport: d,
@@ -411,9 +420,9 @@ var F = "ScrollArea", [oe, se] = g(F), [ce, I] = oe(F), le = i.forwardRef((e, t)
411
420
  scrollbarYEnabled: E,
412
421
  onScrollbarYEnabledChange: D,
413
422
  onCornerWidthChange: b,
414
- onCornerHeightChange: C,
415
- children: /* @__PURE__ */ u(k.div, {
416
- dir: A,
423
+ onCornerHeightChange: S,
424
+ children: /* @__PURE__ */ u(A.div, {
425
+ dir: k,
417
426
  ...s,
418
427
  ref: O,
419
428
  style: {
@@ -425,13 +434,13 @@ var F = "ScrollArea", [oe, se] = g(F), [ce, I] = oe(F), le = i.forwardRef((e, t)
425
434
  })
426
435
  });
427
436
  });
428
- le.displayName = F;
429
- var ue = "ScrollAreaViewport", de = i.forwardRef((e, t) => {
430
- let { __scopeScrollArea: n, children: r, nonce: a, ...o } = e, s = I(ue, n), c = S(t, i.useRef(null), s.onViewportChange);
437
+ L.displayName = F;
438
+ var R = "ScrollAreaViewport", ue = i.forwardRef((e, t) => {
439
+ let { __scopeScrollArea: n, children: r, nonce: a, ...o } = e, s = I(R, n), c = C(t, i.useRef(null), s.onViewportChange);
431
440
  return /* @__PURE__ */ d(l, { children: [/* @__PURE__ */ u("style", {
432
441
  dangerouslySetInnerHTML: { __html: "[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}" },
433
442
  nonce: a
434
- }), /* @__PURE__ */ u(k.div, {
443
+ }), /* @__PURE__ */ u(A.div, {
435
444
  "data-radix-scroll-area-viewport": "",
436
445
  ...o,
437
446
  ref: c,
@@ -450,35 +459,35 @@ var ue = "ScrollAreaViewport", de = i.forwardRef((e, t) => {
450
459
  })
451
460
  })] });
452
461
  });
453
- de.displayName = ue;
454
- var L = "ScrollAreaScrollbar", R = i.forwardRef((e, t) => {
455
- let { forceMount: n, ...r } = e, a = I(L, e.__scopeScrollArea), { onScrollbarXEnabledChange: o, onScrollbarYEnabledChange: s } = a, c = e.orientation === "horizontal";
462
+ ue.displayName = R;
463
+ var z = "ScrollAreaScrollbar", B = i.forwardRef((e, t) => {
464
+ let { forceMount: n, ...r } = e, a = I(z, e.__scopeScrollArea), { onScrollbarXEnabledChange: o, onScrollbarYEnabledChange: s } = a, c = e.orientation === "horizontal";
456
465
  return i.useEffect(() => (c ? o(!0) : s(!0), () => {
457
466
  c ? o(!1) : s(!1);
458
467
  }), [
459
468
  c,
460
469
  o,
461
470
  s
462
- ]), a.type === "hover" ? /* @__PURE__ */ u(fe, {
471
+ ]), a.type === "hover" ? /* @__PURE__ */ u(de, {
463
472
  ...r,
464
473
  ref: t,
465
474
  forceMount: n
466
- }) : a.type === "scroll" ? /* @__PURE__ */ u(pe, {
475
+ }) : a.type === "scroll" ? /* @__PURE__ */ u(fe, {
467
476
  ...r,
468
477
  ref: t,
469
478
  forceMount: n
470
- }) : a.type === "auto" ? /* @__PURE__ */ u(z, {
479
+ }) : a.type === "auto" ? /* @__PURE__ */ u(V, {
471
480
  ...r,
472
481
  ref: t,
473
482
  forceMount: n
474
- }) : a.type === "always" ? /* @__PURE__ */ u(B, {
483
+ }) : a.type === "always" ? /* @__PURE__ */ u(H, {
475
484
  ...r,
476
485
  ref: t
477
486
  }) : null;
478
487
  });
479
- R.displayName = L;
480
- var fe = i.forwardRef((e, t) => {
481
- let { forceMount: n, ...r } = e, a = I(L, e.__scopeScrollArea), [o, s] = i.useState(!1);
488
+ B.displayName = z;
489
+ var de = i.forwardRef((e, t) => {
490
+ let { forceMount: n, ...r } = e, a = I(z, e.__scopeScrollArea), [o, s] = i.useState(!1);
482
491
  return i.useEffect(() => {
483
492
  let e = a.scrollArea, t = 0;
484
493
  if (e) {
@@ -493,14 +502,14 @@ var fe = i.forwardRef((e, t) => {
493
502
  }
494
503
  }, [a.scrollArea, a.scrollHideDelay]), /* @__PURE__ */ u(j, {
495
504
  present: n || o,
496
- children: /* @__PURE__ */ u(z, {
505
+ children: /* @__PURE__ */ u(V, {
497
506
  "data-state": o ? "visible" : "hidden",
498
507
  ...r,
499
508
  ref: t
500
509
  })
501
510
  });
502
- }), pe = i.forwardRef((e, t) => {
503
- let { forceMount: n, ...r } = e, a = I(L, e.__scopeScrollArea), o = e.orientation === "horizontal", s = J(() => l("SCROLL_END"), 100), [c, l] = ae("hidden", {
511
+ }), fe = i.forwardRef((e, t) => {
512
+ let { forceMount: n, ...r } = e, a = I(z, e.__scopeScrollArea), o = e.orientation === "horizontal", s = Y(() => l("SCROLL_END"), 100), [c, l] = oe("hidden", {
504
513
  hidden: { SCROLL: "scrolling" },
505
514
  scrolling: {
506
515
  SCROLL_END: "idle",
@@ -541,7 +550,7 @@ var fe = i.forwardRef((e, t) => {
541
550
  s
542
551
  ]), /* @__PURE__ */ u(j, {
543
552
  present: n || c !== "hidden",
544
- children: /* @__PURE__ */ u(B, {
553
+ children: /* @__PURE__ */ u(H, {
545
554
  "data-state": c === "hidden" ? "hidden" : "visible",
546
555
  ...r,
547
556
  ref: t,
@@ -549,23 +558,23 @@ var fe = i.forwardRef((e, t) => {
549
558
  onPointerLeave: P(e.onPointerLeave, () => l("POINTER_LEAVE"))
550
559
  })
551
560
  });
552
- }), z = i.forwardRef((e, t) => {
553
- let n = I(L, e.__scopeScrollArea), { forceMount: r, ...a } = e, [o, s] = i.useState(!1), c = e.orientation === "horizontal", l = J(() => {
561
+ }), V = i.forwardRef((e, t) => {
562
+ let n = I(z, e.__scopeScrollArea), { forceMount: r, ...a } = e, [o, s] = i.useState(!1), c = e.orientation === "horizontal", l = Y(() => {
554
563
  if (n.viewport) {
555
564
  let e = n.viewport.offsetWidth < n.viewport.scrollWidth, t = n.viewport.offsetHeight < n.viewport.scrollHeight;
556
565
  s(c ? e : t);
557
566
  }
558
567
  }, 10);
559
- return Y(n.viewport, l), Y(n.content, l), /* @__PURE__ */ u(j, {
568
+ return X(n.viewport, l), X(n.content, l), /* @__PURE__ */ u(j, {
560
569
  present: r || o,
561
- children: /* @__PURE__ */ u(B, {
570
+ children: /* @__PURE__ */ u(H, {
562
571
  "data-state": o ? "visible" : "hidden",
563
572
  ...a,
564
573
  ref: t
565
574
  })
566
575
  });
567
- }), B = i.forwardRef((e, t) => {
568
- let { orientation: n = "vertical", ...r } = e, a = I(L, e.__scopeScrollArea), o = i.useRef(null), s = i.useRef(0), [c, l] = i.useState({
576
+ }), H = i.forwardRef((e, t) => {
577
+ let { orientation: n = "vertical", ...r } = e, a = I(z, e.__scopeScrollArea), o = i.useRef(null), s = i.useRef(0), [c, l] = i.useState({
569
578
  content: 0,
570
579
  viewport: 0,
571
580
  scrollbar: {
@@ -585,7 +594,7 @@ var fe = i.forwardRef((e, t) => {
585
594
  function p(e, t) {
586
595
  return xe(e, s.current, c, t);
587
596
  }
588
- return n === "horizontal" ? /* @__PURE__ */ u(me, {
597
+ return n === "horizontal" ? /* @__PURE__ */ u(pe, {
589
598
  ...f,
590
599
  ref: t,
591
600
  onThumbPositionChange: () => {
@@ -600,7 +609,7 @@ var fe = i.forwardRef((e, t) => {
600
609
  onDragScroll: (e) => {
601
610
  a.viewport && (a.viewport.scrollLeft = p(e, a.dir));
602
611
  }
603
- }) : n === "vertical" ? /* @__PURE__ */ u(he, {
612
+ }) : n === "vertical" ? /* @__PURE__ */ u(me, {
604
613
  ...f,
605
614
  ref: t,
606
615
  onThumbPositionChange: () => {
@@ -616,11 +625,11 @@ var fe = i.forwardRef((e, t) => {
616
625
  a.viewport && (a.viewport.scrollTop = p(e));
617
626
  }
618
627
  }) : null;
619
- }), me = i.forwardRef((e, t) => {
620
- let { sizes: n, onSizesChange: r, ...a } = e, o = I(L, e.__scopeScrollArea), [s, c] = i.useState(), l = i.useRef(null), d = S(t, l, o.onScrollbarXChange);
628
+ }), pe = i.forwardRef((e, t) => {
629
+ let { sizes: n, onSizesChange: r, ...a } = e, o = I(z, e.__scopeScrollArea), [s, c] = i.useState(), l = i.useRef(null), d = C(t, l, o.onScrollbarXChange);
621
630
  return i.useEffect(() => {
622
631
  l.current && c(getComputedStyle(l.current));
623
- }, [l]), /* @__PURE__ */ u(H, {
632
+ }, [l]), /* @__PURE__ */ u(W, {
624
633
  "data-orientation": "horizontal",
625
634
  ...a,
626
635
  ref: d,
@@ -629,7 +638,7 @@ var fe = i.forwardRef((e, t) => {
629
638
  bottom: 0,
630
639
  left: o.dir === "rtl" ? "var(--radix-scroll-area-corner-width)" : 0,
631
640
  right: o.dir === "ltr" ? "var(--radix-scroll-area-corner-width)" : 0,
632
- "--radix-scroll-area-thumb-width": q(n) + "px",
641
+ "--radix-scroll-area-thumb-width": J(n) + "px",
633
642
  ...e.style
634
643
  },
635
644
  onThumbPointerDown: (t) => e.onThumbPointerDown(t.x),
@@ -646,17 +655,17 @@ var fe = i.forwardRef((e, t) => {
646
655
  viewport: o.viewport.offsetWidth,
647
656
  scrollbar: {
648
657
  size: l.current.clientWidth,
649
- paddingStart: K(s.paddingLeft),
650
- paddingEnd: K(s.paddingRight)
658
+ paddingStart: q(s.paddingLeft),
659
+ paddingEnd: q(s.paddingRight)
651
660
  }
652
661
  });
653
662
  }
654
663
  });
655
- }), he = i.forwardRef((e, t) => {
656
- let { sizes: n, onSizesChange: r, ...a } = e, o = I(L, e.__scopeScrollArea), [s, c] = i.useState(), l = i.useRef(null), d = S(t, l, o.onScrollbarYChange);
664
+ }), me = i.forwardRef((e, t) => {
665
+ let { sizes: n, onSizesChange: r, ...a } = e, o = I(z, e.__scopeScrollArea), [s, c] = i.useState(), l = i.useRef(null), d = C(t, l, o.onScrollbarYChange);
657
666
  return i.useEffect(() => {
658
667
  l.current && c(getComputedStyle(l.current));
659
- }, [l]), /* @__PURE__ */ u(H, {
668
+ }, [l]), /* @__PURE__ */ u(W, {
660
669
  "data-orientation": "vertical",
661
670
  ...a,
662
671
  ref: d,
@@ -666,7 +675,7 @@ var fe = i.forwardRef((e, t) => {
666
675
  right: o.dir === "ltr" ? 0 : void 0,
667
676
  left: o.dir === "rtl" ? 0 : void 0,
668
677
  bottom: "var(--radix-scroll-area-corner-height)",
669
- "--radix-scroll-area-thumb-height": q(n) + "px",
678
+ "--radix-scroll-area-thumb-height": J(n) + "px",
670
679
  ...e.style
671
680
  },
672
681
  onThumbPointerDown: (t) => e.onThumbPointerDown(t.y),
@@ -683,14 +692,14 @@ var fe = i.forwardRef((e, t) => {
683
692
  viewport: o.viewport.offsetHeight,
684
693
  scrollbar: {
685
694
  size: l.current.clientHeight,
686
- paddingStart: K(s.paddingTop),
687
- paddingEnd: K(s.paddingBottom)
695
+ paddingStart: q(s.paddingTop),
696
+ paddingEnd: q(s.paddingBottom)
688
697
  }
689
698
  });
690
699
  }
691
700
  });
692
- }), [ge, V] = oe(L), H = i.forwardRef((e, t) => {
693
- let { __scopeScrollArea: n, sizes: r, hasThumb: a, onThumbChange: o, onThumbPointerUp: s, onThumbPointerDown: c, onThumbPositionChange: l, onDragScroll: d, onWheelScroll: f, onResize: p, ...m } = e, h = I(L, n), [g, _] = i.useState(null), y = S(t, (e) => _(e)), b = i.useRef(null), x = i.useRef(""), C = h.viewport, w = r.content - r.viewport, T = v(f), E = v(l), D = J(p, 10);
701
+ }), [he, U] = se(z), W = i.forwardRef((e, t) => {
702
+ let { __scopeScrollArea: n, sizes: r, hasThumb: a, onThumbChange: o, onThumbPointerUp: s, onThumbPointerDown: c, onThumbPositionChange: l, onDragScroll: d, onWheelScroll: f, onResize: p, ...m } = e, h = I(z, n), [g, _] = i.useState(null), v = C(t, (e) => _(e)), b = i.useRef(null), x = i.useRef(""), S = h.viewport, w = r.content - r.viewport, T = y(f), E = y(l), D = Y(p, 10);
694
703
  function O(e) {
695
704
  if (b.current) {
696
705
  let t = e.clientX - b.current.left, n = e.clientY - b.current.top;
@@ -707,21 +716,21 @@ var fe = i.forwardRef((e, t) => {
707
716
  };
708
717
  return document.addEventListener("wheel", e, { passive: !1 }), () => document.removeEventListener("wheel", e, { passive: !1 });
709
718
  }, [
710
- C,
719
+ S,
711
720
  g,
712
721
  w,
713
722
  T
714
- ]), i.useEffect(E, [r, E]), Y(g, D), Y(h.content, D), /* @__PURE__ */ u(ge, {
723
+ ]), i.useEffect(E, [r, E]), X(g, D), X(h.content, D), /* @__PURE__ */ u(he, {
715
724
  scope: n,
716
725
  scrollbar: g,
717
726
  hasThumb: a,
718
- onThumbChange: v(o),
719
- onThumbPointerUp: v(s),
727
+ onThumbChange: y(o),
728
+ onThumbPointerUp: y(s),
720
729
  onThumbPositionChange: E,
721
- onThumbPointerDown: v(c),
722
- children: /* @__PURE__ */ u(k.div, {
730
+ onThumbPointerDown: y(c),
731
+ children: /* @__PURE__ */ u(A.div, {
723
732
  ...m,
724
- ref: y,
733
+ ref: v,
725
734
  style: {
726
735
  position: "absolute",
727
736
  ...m.style
@@ -736,8 +745,8 @@ var fe = i.forwardRef((e, t) => {
736
745
  })
737
746
  })
738
747
  });
739
- }), U = "ScrollAreaThumb", W = i.forwardRef((e, t) => {
740
- let { forceMount: n, ...r } = e, i = V(U, e.__scopeScrollArea);
748
+ }), G = "ScrollAreaThumb", ge = i.forwardRef((e, t) => {
749
+ let { forceMount: n, ...r } = e, i = U(G, e.__scopeScrollArea);
741
750
  return /* @__PURE__ */ u(j, {
742
751
  present: n || i.hasThumb,
743
752
  children: /* @__PURE__ */ u(_e, {
@@ -746,7 +755,7 @@ var fe = i.forwardRef((e, t) => {
746
755
  })
747
756
  });
748
757
  }), _e = i.forwardRef((e, t) => {
749
- let { __scopeScrollArea: n, style: r, ...a } = e, o = I(U, n), s = V(U, n), { onThumbPositionChange: c } = s, l = S(t, (e) => s.onThumbChange(e)), d = i.useRef(void 0), f = J(() => {
758
+ let { __scopeScrollArea: n, style: r, ...a } = e, o = I(G, n), s = U(G, n), { onThumbPositionChange: c } = s, l = C(t, (e) => s.onThumbChange(e)), d = i.useRef(void 0), f = Y(() => {
750
759
  d.current &&= (d.current(), void 0);
751
760
  }, 100);
752
761
  return i.useEffect(() => {
@@ -764,7 +773,7 @@ var fe = i.forwardRef((e, t) => {
764
773
  o.viewport,
765
774
  f,
766
775
  c
767
- ]), /* @__PURE__ */ u(k.div, {
776
+ ]), /* @__PURE__ */ u(A.div, {
768
777
  "data-state": s.hasThumb ? "visible" : "hidden",
769
778
  ...a,
770
779
  ref: l,
@@ -783,24 +792,24 @@ var fe = i.forwardRef((e, t) => {
783
792
  onPointerUp: P(e.onPointerUp, s.onThumbPointerUp)
784
793
  });
785
794
  });
786
- W.displayName = U;
787
- var G = "ScrollAreaCorner", ve = i.forwardRef((e, t) => {
788
- let n = I(G, e.__scopeScrollArea), r = !!(n.scrollbarX && n.scrollbarY);
795
+ ge.displayName = G;
796
+ var K = "ScrollAreaCorner", ve = i.forwardRef((e, t) => {
797
+ let n = I(K, e.__scopeScrollArea), r = !!(n.scrollbarX && n.scrollbarY);
789
798
  return n.type !== "scroll" && r ? /* @__PURE__ */ u(ye, {
790
799
  ...e,
791
800
  ref: t
792
801
  }) : null;
793
802
  });
794
- ve.displayName = G;
803
+ ve.displayName = K;
795
804
  var ye = i.forwardRef((e, t) => {
796
- let { __scopeScrollArea: n, ...r } = e, a = I(G, n), [o, s] = i.useState(0), [c, l] = i.useState(0), d = !!(o && c);
797
- return Y(a.scrollbarX, () => {
805
+ let { __scopeScrollArea: n, ...r } = e, a = I(K, n), [o, s] = i.useState(0), [c, l] = i.useState(0), d = !!(o && c);
806
+ return X(a.scrollbarX, () => {
798
807
  let e = a.scrollbarX?.offsetHeight || 0;
799
808
  a.onCornerHeightChange(e), l(e);
800
- }), Y(a.scrollbarY, () => {
809
+ }), X(a.scrollbarY, () => {
801
810
  let e = a.scrollbarY?.offsetWidth || 0;
802
811
  a.onCornerWidthChange(e), s(e);
803
- }), d ? /* @__PURE__ */ u(k.div, {
812
+ }), d ? /* @__PURE__ */ u(A.div, {
804
813
  ...r,
805
814
  ref: t,
806
815
  style: {
@@ -814,23 +823,23 @@ var ye = i.forwardRef((e, t) => {
814
823
  }
815
824
  }) : null;
816
825
  });
817
- function K(e) {
826
+ function q(e) {
818
827
  return e ? parseInt(e, 10) : 0;
819
828
  }
820
829
  function be(e, t) {
821
830
  let n = e / t;
822
831
  return isNaN(n) ? 0 : n;
823
832
  }
824
- function q(e) {
833
+ function J(e) {
825
834
  let t = be(e.viewport, e.content), n = e.scrollbar.paddingStart + e.scrollbar.paddingEnd, r = (e.scrollbar.size - n) * t;
826
835
  return Math.max(r, 18);
827
836
  }
828
837
  function xe(e, t, n, r = "ltr") {
829
- let i = q(n), a = i / 2, o = t || a, s = i - o, c = n.scrollbar.paddingStart + o, l = n.scrollbar.size - n.scrollbar.paddingEnd - s, u = n.content - n.viewport, d = r === "ltr" ? [0, u] : [u * -1, 0];
838
+ let i = J(n), a = i / 2, o = t || a, s = i - o, c = n.scrollbar.paddingStart + o, l = n.scrollbar.size - n.scrollbar.paddingEnd - s, u = n.content - n.viewport, d = r === "ltr" ? [0, u] : [u * -1, 0];
830
839
  return Ce([c, l], d)(e);
831
840
  }
832
841
  function Se(e, t, n = "ltr") {
833
- let r = q(t), i = t.scrollbar.paddingStart + t.scrollbar.paddingEnd, a = t.scrollbar.size - i, o = t.content - t.viewport, s = a - r, c = ie(e, n === "ltr" ? [0, o] : [o * -1, 0]);
842
+ let r = J(t), i = t.scrollbar.paddingStart + t.scrollbar.paddingEnd, a = t.scrollbar.size - i, o = t.content - t.viewport, s = a - r, c = ae(e, n === "ltr" ? [0, o] : [o * -1, 0]);
834
843
  return Ce([0, o], [0, s])(c);
835
844
  }
836
845
  function Ce(e, t) {
@@ -856,15 +865,15 @@ var Te = (e, t = () => {}) => {
856
865
  (o || s) && t(), n = a, r = window.requestAnimationFrame(i);
857
866
  })(), () => window.cancelAnimationFrame(r);
858
867
  };
859
- function J(e, t) {
860
- let n = v(e), r = i.useRef(0);
868
+ function Y(e, t) {
869
+ let n = y(e), r = i.useRef(0);
861
870
  return i.useEffect(() => () => window.clearTimeout(r.current), []), i.useCallback(() => {
862
871
  window.clearTimeout(r.current), r.current = window.setTimeout(n, t);
863
872
  }, [n, t]);
864
873
  }
865
- function Y(e, t) {
866
- let n = v(t);
867
- y(() => {
874
+ function X(e, t) {
875
+ let n = y(t);
876
+ b(() => {
868
877
  let t = 0;
869
878
  if (e) {
870
879
  let r = new ResizeObserver(() => {
@@ -876,7 +885,7 @@ function Y(e, t) {
876
885
  }
877
886
  }, [e, n]);
878
887
  }
879
- var X = le, Z = de, Ee = ve, Q = o(({ className: t, children: n, showBar: r = !0, viewportRef: i, onScrollTop: a, onScrollBottom: o, focusableViewport: l = !0, scrollMargin: f = 0, panelScrollTimeline: p = !1, ...m }, h) => {
888
+ var Z = L, Ee = ue, De = ve, Q = o(({ className: t, children: n, showBar: r = !0, viewportRef: i, onScrollTop: a, onScrollBottom: o, focusableViewport: l = !0, scrollMargin: f = 0, panelScrollTimeline: p = !1, ...m }, h) => {
880
889
  let g = c(null), _ = i ?? g;
881
890
  return s(() => {
882
891
  let e = (e) => {
@@ -890,13 +899,13 @@ var X = le, Z = de, Ee = ve, Q = o(({ className: t, children: n, showBar: r = !0
890
899
  o,
891
900
  a,
892
901
  f
893
- ]), /* @__PURE__ */ d(X, {
902
+ ]), /* @__PURE__ */ d(Z, {
894
903
  ref: h,
895
904
  className: e("relative overflow-hidden", t),
896
905
  scrollHideDelay: 200,
897
906
  ...m,
898
907
  children: [
899
- /* @__PURE__ */ u(Z, {
908
+ /* @__PURE__ */ u(Ee, {
900
909
  ref: _,
901
910
  className: e("size-full snap-none rounded-[inherit] [&>div]:!block", p && "scroll-timeline-panel"),
902
911
  tabIndex: l ? 0 : void 0,
@@ -911,38 +920,38 @@ var X = le, Z = de, Ee = ve, Q = o(({ className: t, children: n, showBar: r = !0
911
920
  orientation: "horizontal",
912
921
  showBar: r
913
922
  }),
914
- /* @__PURE__ */ u(Ee, {})
923
+ /* @__PURE__ */ u(De, {})
915
924
  ]
916
925
  });
917
926
  });
918
927
  Q.displayName = "ScrollAreaImpl";
919
- var De = o((e, t) => /* @__PURE__ */ u(Q, {
928
+ var Oe = o((e, t) => /* @__PURE__ */ u(Q, {
920
929
  ref: t,
921
930
  ...e,
922
931
  focusableViewport: !0
923
932
  }));
924
- De.displayName = X.displayName;
925
- var Oe = o((e, t) => /* @__PURE__ */ u(Q, {
933
+ Oe.displayName = Z.displayName;
934
+ var ke = o((e, t) => /* @__PURE__ */ u(Q, {
926
935
  ref: t,
927
936
  ...e,
928
937
  focusableViewport: !1
929
938
  }));
930
- Oe.displayName = X.displayName;
931
- var $ = o(({ className: t, orientation: n = "vertical", showBar: r = !0, ...i }, a) => /* @__PURE__ */ u(R, {
939
+ ke.displayName = Z.displayName;
940
+ var $ = o(({ className: t, orientation: n = "vertical", showBar: r = !0, ...i }, a) => /* @__PURE__ */ u(B, {
932
941
  ref: a,
933
942
  orientation: n,
934
943
  className: e("group/scrollbar z-50 flex touch-none select-none p-[1px]", "transition-opacity data-[state=hidden]:pointer-events-none data-[state=visible]:pointer-events-auto data-[state=hidden]:opacity-0 data-[state=visible]:opacity-100", n === "vertical" && "h-full w-2", n === "horizontal" && "h-2 flex-col", t),
935
944
  ...i,
936
- children: r ? /* @__PURE__ */ u(W, { className: "relative flex-1 rounded-full bg-f1-background-inverse opacity-30 transition-opacity group-hover/scrollbar:opacity-50" }) : null
945
+ children: r ? /* @__PURE__ */ u(ge, { className: "relative flex-1 rounded-full bg-f1-background-inverse opacity-30 transition-opacity group-hover/scrollbar:opacity-50" }) : null
937
946
  }));
938
- $.displayName = R.displayName;
947
+ $.displayName = B.displayName;
939
948
  //#endregion
940
949
  //#region ../../node_modules/.bun/@radix-ui+react-use-controllable-state@1.1.0+ec078f7ced36dfee/node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs
941
- function ke({ prop: e, defaultProp: t, onChange: n = () => {} }) {
942
- let [r, a] = Ae({
950
+ function Ae({ prop: e, defaultProp: t, onChange: n = () => {} }) {
951
+ let [r, a] = je({
943
952
  defaultProp: t,
944
953
  onChange: n
945
- }), o = e !== void 0, s = o ? e : r, c = v(n);
954
+ }), o = e !== void 0, s = o ? e : r, c = y(n);
946
955
  return [s, i.useCallback((t) => {
947
956
  if (o) {
948
957
  let n = typeof t == "function" ? t(e) : t;
@@ -955,8 +964,8 @@ function ke({ prop: e, defaultProp: t, onChange: n = () => {} }) {
955
964
  c
956
965
  ])];
957
966
  }
958
- function Ae({ defaultProp: e, onChange: t }) {
959
- let n = i.useState(e), [r] = n, a = i.useRef(r), o = v(t);
967
+ function je({ defaultProp: e, onChange: t }) {
968
+ let n = i.useState(e), [r] = n, a = i.useRef(r), o = y(t);
960
969
  return i.useEffect(() => {
961
970
  a.current !== r && (o(r), a.current = r);
962
971
  }, [
@@ -966,4 +975,4 @@ function Ae({ defaultProp: e, onChange: t }) {
966
975
  ]), n;
967
976
  }
968
977
  //#endregion
969
- export { v as _, Ee as a, p as b, P as c, k as d, A as f, y as g, S as h, $ as i, N as l, x as m, Oe as n, X as o, C as p, De as r, Z as s, ke as t, j as u, g as v, h as y };
978
+ export { y as _, De as a, m as b, P as c, A as d, ee as f, b as g, C as h, $ as i, N as l, S as m, ke as n, Z as o, w as p, Oe as r, Ee as s, Ae as t, j as u, _ as v, p as x, g as y };