@fileverse/ui 4.1.2-patch-10 → 4.1.3-patch-1

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.css CHANGED
@@ -1959,9 +1959,6 @@ video {
1959
1959
  .\!bg-transparent {
1960
1960
  background-color: transparent !important;
1961
1961
  }
1962
- .bg-black\/40 {
1963
- background-color: rgb(0 0 0 / 0.4);
1964
- }
1965
1962
  .bg-green-700 {
1966
1963
  --tw-bg-opacity: 1;
1967
1964
  background-color: rgb(21 128 61 / var(--tw-bg-opacity));
@@ -7,6 +7,8 @@ import * as DialogPrimitive from '@radix-ui/react-dialog';
7
7
  import { DialogProps } from '@radix-ui/react-dialog';
8
8
  import { Drawer as Drawer_2 } from 'vaul';
9
9
  import { EmojiClickData } from 'emoji-picker-react';
10
+ import { default as EmojiPicker } from 'emoji-picker-react';
11
+ import { EmojiStyle } from 'emoji-picker-react';
10
12
  import { ForwardRefExoticComponent } from 'react';
11
13
  import { GridProps as GridProps_2 } from '@radix-ui/themes';
12
14
  import * as HoverCardPrimitive from '@radix-ui/react-hover-card';
@@ -369,7 +371,7 @@ export declare interface DynamicDrawerProps {
369
371
  dismissible?: boolean;
370
372
  }
371
373
 
372
- export declare const DynamicDrawerV2: ({ title, open, onOpenChange, content, className, headerClassName, contentClassName, side, noOverlay, overlayClasses, rounded, dismissible, }: DynamicDrawerV2Props) => JSX_2.Element;
374
+ export declare const DynamicDrawerV2: ({ title, open, onOpenChange, content, className, headerClassName, contentClassName, side, rounded, dismissible, }: DynamicDrawerV2Props) => JSX_2.Element;
373
375
 
374
376
  export declare interface DynamicDrawerV2Props {
375
377
  title?: string;
@@ -379,8 +381,6 @@ export declare interface DynamicDrawerV2Props {
379
381
  className?: string;
380
382
  headerClassName?: string;
381
383
  contentClassName?: string;
382
- noOverlay?: boolean;
383
- overlayClasses?: string;
384
384
  side?: "top" | "right" | "bottom" | "left";
385
385
  rounded?: boolean;
386
386
  dismissible?: boolean;
@@ -457,6 +457,10 @@ export declare interface DynamicSelectProps {
457
457
 
458
458
  export { EmojiClickData }
459
459
 
460
+ export { EmojiPicker }
461
+
462
+ export { EmojiStyle }
463
+
460
464
  export declare type FileType = "dDoc" | "dPage" | "whiteboard" | "note" | "link" | "media";
461
465
 
462
466
  export declare const FloatingToolbar: default_2.ForwardRefExoticComponent<FloatingToolbarProps & default_2.RefAttributes<HTMLDivElement>>;
package/dist/index.es.js CHANGED
@@ -262,14 +262,14 @@ function S5() {
262
262
  } catch (st) {
263
263
  if (st && ne && typeof st.stack == "string") {
264
264
  for (var he = st.stack.split(`
265
- `), nt = ne.stack.split(`
266
- `), Oe = he.length - 1, qe = nt.length - 1; Oe >= 1 && qe >= 0 && he[Oe] !== nt[qe]; )
265
+ `), at = ne.stack.split(`
266
+ `), Oe = he.length - 1, qe = at.length - 1; Oe >= 1 && qe >= 0 && he[Oe] !== at[qe]; )
267
267
  qe--;
268
268
  for (; Oe >= 1 && qe >= 0; Oe--, qe--)
269
- if (he[Oe] !== nt[qe]) {
269
+ if (he[Oe] !== at[qe]) {
270
270
  if (Oe !== 1 || qe !== 1)
271
271
  do
272
- if (Oe--, qe--, qe < 0 || he[Oe] !== nt[qe]) {
272
+ if (Oe--, qe--, qe < 0 || he[Oe] !== at[qe]) {
273
273
  var xt = `
274
274
  ` + he[Oe].replace(" at new ", " at ");
275
275
  return C.displayName && xt.includes("<anonymous>") && (xt = xt.replace("<anonymous>", C.displayName)), typeof C == "function" && se.set(C, xt), xt;
@@ -336,8 +336,8 @@ function S5() {
336
336
  var he = void 0;
337
337
  try {
338
338
  if (typeof C[ve] != "function") {
339
- var nt = Error((ne || "React class") + ": " + U + " type `" + ve + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof C[ve] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
340
- throw nt.name = "Invariant Violation", nt;
339
+ var at = Error((ne || "React class") + ": " + U + " type `" + ve + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof C[ve] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
340
+ throw at.name = "Invariant Violation", at;
341
341
  }
342
342
  he = C[ve](R, ve, ne, U, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
343
343
  } catch (Oe) {
@@ -453,8 +453,8 @@ function S5() {
453
453
  };
454
454
  function ki(C, R, U, ne, be) {
455
455
  {
456
- var Le, ve = {}, he = null, nt = null;
457
- U !== void 0 && (pr(U), he = "" + U), mr(R) && (pr(R.key), he = "" + R.key), z1(R) && (nt = R.ref, yi(R, be));
456
+ var Le, ve = {}, he = null, at = null;
457
+ U !== void 0 && (pr(U), he = "" + U), mr(R) && (pr(R.key), he = "" + R.key), z1(R) && (at = R.ref, yi(R, be));
458
458
  for (Le in R)
459
459
  it.call(R, Le) && !fa.hasOwnProperty(Le) && (ve[Le] = R[Le]);
460
460
  if (C && C.defaultProps) {
@@ -462,11 +462,11 @@ function S5() {
462
462
  for (Le in Oe)
463
463
  ve[Le] === void 0 && (ve[Le] = Oe[Le]);
464
464
  }
465
- if (he || nt) {
465
+ if (he || at) {
466
466
  var qe = typeof C == "function" ? C.displayName || C.name || "Unknown" : C;
467
- he && mi(ve, qe), nt && vi(ve, qe);
467
+ he && mi(ve, qe), at && vi(ve, qe);
468
468
  }
469
- return gi(C, he, nt, be, ne, D1.current, ve);
469
+ return gi(C, he, at, be, ne, D1.current, ve);
470
470
  }
471
471
  }
472
472
  var $ = w.ReactCurrentOwner, we = w.ReactDebugCurrentFrame;
@@ -586,8 +586,8 @@ Check the top-level render call using <` + U + ">.");
586
586
  if (!ve) {
587
587
  var he = "";
588
588
  (C === void 0 || typeof C == "object" && C !== null && Object.keys(C).length === 0) && (he += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
589
- var nt = Ye();
590
- nt ? he += nt : he += We();
589
+ var at = Ye();
590
+ at ? he += at : he += We();
591
591
  var Oe;
592
592
  C === null ? Oe = "null" : Ja(C) ? Oe = "array" : C !== void 0 && C.$$typeof === t ? (Oe = "<" + (P(C.type) || "Unknown") + " />", he = " Did you accidentally export a JSX literal instead of a component?") : Oe = typeof C, M("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Oe, he);
593
593
  }
@@ -25832,7 +25832,7 @@ function uq(e, t) {
25832
25832
  }
25833
25833
  return n.displayName = e + "Provider", [n, r];
25834
25834
  }
25835
- function at(e, t = []) {
25835
+ function tt(e, t = []) {
25836
25836
  let a = [];
25837
25837
  function n(o, s) {
25838
25838
  const f = p.createContext(s), c = a.length;
@@ -25919,11 +25919,11 @@ function ks(e) {
25919
25919
  const t = p.useRef({ value: e, previous: e });
25920
25920
  return p.useMemo(() => (t.current.value !== e && (t.current.previous = t.current.value, t.current.value = e), t.current.previous), [e]);
25921
25921
  }
25922
- var Xe = globalThis != null && globalThis.document ? p.useLayoutEffect : () => {
25922
+ var Je = globalThis != null && globalThis.document ? p.useLayoutEffect : () => {
25923
25923
  };
25924
25924
  function Ms(e) {
25925
25925
  const [t, a] = p.useState(void 0);
25926
- return Xe(() => {
25926
+ return Je(() => {
25927
25927
  if (e) {
25928
25928
  a({ width: e.offsetWidth, height: e.offsetHeight });
25929
25929
  const n = new ResizeObserver((r) => {
@@ -25943,7 +25943,7 @@ function Ms(e) {
25943
25943
  a(void 0);
25944
25944
  }, [e]), t;
25945
25945
  }
25946
- var ws = "Switch", [yq, hae] = at(ws), [mq, vq] = yq(ws), kd = p.forwardRef(
25946
+ var ws = "Switch", [yq, hae] = tt(ws), [mq, vq] = yq(ws), kd = p.forwardRef(
25947
25947
  (e, t) => {
25948
25948
  const {
25949
25949
  __scopeSwitch: a,
@@ -26207,7 +26207,7 @@ var Sq = x1, Tq = jd, Iq = p.useId || (() => {
26207
26207
  }), Nq = 0;
26208
26208
  function At(e) {
26209
26209
  const [t, a] = p.useState(Iq());
26210
- return Xe(() => {
26210
+ return Je(() => {
26211
26211
  e || a((n) => n ?? String(Nq++));
26212
26212
  }, [e]), e || (t ? `radix-${t}` : "");
26213
26213
  }
@@ -27481,7 +27481,7 @@ var TB = "Arrow", Hd = p.forwardRef((e, t) => {
27481
27481
  );
27482
27482
  });
27483
27483
  Hd.displayName = TB;
27484
- var IB = Hd, Ss = "Popper", [Od, Yt] = at(Ss), [NB, Vd] = Od(Ss), qd = (e) => {
27484
+ var IB = Hd, Ss = "Popper", [Od, Yt] = tt(Ss), [NB, Vd] = Od(Ss), qd = (e) => {
27485
27485
  const { __scopePopper: t, children: a } = e, [n, r] = p.useState(null);
27486
27486
  return /* @__PURE__ */ d.jsx(NB, { scope: t, anchor: n, onAnchorChange: r, children: a });
27487
27487
  };
@@ -27549,11 +27549,11 @@ var Ts = "PopperContent", [DB, zB] = Od(Ts), Fd = p.forwardRef(
27549
27549
  y && AB({ strategy: "referenceHidden", ...P })
27550
27550
  ]
27551
27551
  }), [K, Ne] = Wd(B), je = ct(g);
27552
- Xe(() => {
27552
+ Je(() => {
27553
27553
  q && (je == null || je());
27554
27554
  }, [q, je]);
27555
27555
  const D = (Z = Q.arrow) == null ? void 0 : Z.x, W = (te = Q.arrow) == null ? void 0 : te.y, _ = ((ke = Q.arrow) == null ? void 0 : ke.centerOffset) !== 0, [Y, re] = p.useState();
27556
- return Xe(() => {
27556
+ return Je(() => {
27557
27557
  w && re(window.getComputedStyle(w).zIndex);
27558
27558
  }, [w]), /* @__PURE__ */ d.jsx(
27559
27559
  "div",
@@ -27681,7 +27681,7 @@ function Wd(e) {
27681
27681
  var Mo = qd, qa = Zd, Un = Fd, Wn = Ud, HB = "Portal", Ba = p.forwardRef((e, t) => {
27682
27682
  var f;
27683
27683
  const { container: a, ...n } = e, [r, o] = p.useState(!1);
27684
- Xe(() => o(!0), []);
27684
+ Je(() => o(!0), []);
27685
27685
  const s = a || r && ((f = globalThis == null ? void 0 : globalThis.document) == null ? void 0 : f.body);
27686
27686
  return s ? rd.createPortal(/* @__PURE__ */ d.jsx(X.div, { ...n, ref: t }), s) : null;
27687
27687
  });
@@ -27711,13 +27711,13 @@ function VB(e) {
27711
27711
  return p.useEffect(() => {
27712
27712
  const l = Mr(n.current);
27713
27713
  o.current = f === "mounted" ? l : "none";
27714
- }, [f]), Xe(() => {
27714
+ }, [f]), Je(() => {
27715
27715
  const l = n.current, u = r.current;
27716
27716
  if (u !== e) {
27717
27717
  const y = o.current, m = Mr(l);
27718
27718
  e ? c("MOUNT") : m === "none" || (l == null ? void 0 : l.display) === "none" ? c("UNMOUNT") : c(u && y !== m ? "ANIMATION_OUT" : "UNMOUNT"), r.current = e;
27719
27719
  }
27720
- }, [e, c]), Xe(() => {
27720
+ }, [e, c]), Je(() => {
27721
27721
  if (t) {
27722
27722
  const l = (h) => {
27723
27723
  const m = Mr(n.current).includes(h.animationName);
@@ -27769,7 +27769,7 @@ var BB = "VisuallyHidden", Yn = p.forwardRef(
27769
27769
  )
27770
27770
  );
27771
27771
  Yn.displayName = BB;
27772
- var Yd = Yn, [wo, pae] = at("Tooltip", [
27772
+ var Yd = Yn, [wo, pae] = tt("Tooltip", [
27773
27773
  Yt
27774
27774
  ]), xo = Yt(), Qd = "TooltipProvider", ZB = 700, x2 = "tooltip.open", [FB, Is] = wo(Qd), Kd = (e) => {
27775
27775
  const {
@@ -28293,8 +28293,8 @@ function gZ(e) {
28293
28293
  ...e[t]
28294
28294
  };
28295
28295
  }
28296
- const Os = St({}), kZ = Symbol.for("motionComponentSymbol"), Je = (e) => e;
28297
- let Za = Je, n1 = Je;
28296
+ const Os = St({}), kZ = Symbol.for("motionComponentSymbol"), Ke = (e) => e;
28297
+ let Za = Ke, n1 = Ke;
28298
28298
  process.env.NODE_ENV !== "production" && (Za = (e, t) => {
28299
28299
  !e && typeof console < "u" && console.warn(t);
28300
28300
  }, n1 = (e, t) => {
@@ -28430,7 +28430,7 @@ const Kn = [
28430
28430
  function cu(e, { layout: t, layoutId: a }) {
28431
28431
  return b1.has(e) || e.startsWith("origin") || (t || a !== void 0) && (!!$r[e] || e === "opacity");
28432
28432
  }
28433
- const et = (e) => !!(e && e.getVelocity), AZ = {
28433
+ const $e = (e) => !!(e && e.getVelocity), AZ = {
28434
28434
  x: "translateX",
28435
28435
  y: "translateY",
28436
28436
  z: "translateZ",
@@ -28572,7 +28572,7 @@ const Fs = () => ({
28572
28572
  });
28573
28573
  function hu(e, t, a) {
28574
28574
  for (const n in t)
28575
- !et(t[n]) && !cu(n, a) && (e[n] = t[n]);
28575
+ !$e(t[n]) && !cu(n, a) && (e[n] = t[n]);
28576
28576
  }
28577
28577
  function OZ({ transformTemplate: e }, t) {
28578
28578
  return Ge(() => {
@@ -28699,7 +28699,7 @@ function QZ(e, t, a, n) {
28699
28699
  }
28700
28700
  function KZ(e = !1) {
28701
28701
  return (a, n, r, { latestValues: o }, s) => {
28702
- const c = (Vs(a) ? QZ : qZ)(n, o, s, a), l = FZ(n, typeof a == "string", e), u = a !== ea ? { ...l, ...c, ref: r } : {}, { children: h } = n, y = Ge(() => et(h) ? h.get() : h, [h]);
28702
+ const c = (Vs(a) ? QZ : qZ)(n, o, s, a), l = FZ(n, typeof a == "string", e), u = a !== ea ? { ...l, ...c, ref: r } : {}, { children: h } = n, y = Ge(() => $e(h) ? h.get() : h, [h]);
28703
28703
  return T(a, {
28704
28704
  ...u,
28705
28705
  children: y
@@ -28745,13 +28745,13 @@ function Ws(e, t, a) {
28745
28745
  var n;
28746
28746
  const { style: r } = e, o = {};
28747
28747
  for (const s in r)
28748
- (et(r[s]) || t.style && et(t.style[s]) || cu(s, e) || ((n = a == null ? void 0 : a.getValue(s)) === null || n === void 0 ? void 0 : n.liveStyle) !== void 0) && (o[s] = r[s]);
28748
+ ($e(r[s]) || t.style && $e(t.style[s]) || cu(s, e) || ((n = a == null ? void 0 : a.getValue(s)) === null || n === void 0 ? void 0 : n.liveStyle) !== void 0) && (o[s] = r[s]);
28749
28749
  return a && r && typeof r.willChange == "string" && (a.applyWillChange = !1), o;
28750
28750
  }
28751
28751
  function ku(e, t, a) {
28752
28752
  const n = Ws(e, t, a);
28753
28753
  for (const r in e)
28754
- if (et(e[r]) || et(t[r])) {
28754
+ if ($e(e[r]) || $e(t[r])) {
28755
28755
  const o = Kn.indexOf(r) !== -1 ? "attr" + r.charAt(0).toUpperCase() + r.substring(1) : r;
28756
28756
  n[o] = e[r];
28757
28757
  }
@@ -28780,7 +28780,7 @@ function Mu(e) {
28780
28780
  }
28781
28781
  const C2 = (e) => Array.isArray(e), JZ = (e) => !!(e && typeof e == "object" && e.mix && e.toValue), XZ = (e) => C2(e) ? e[e.length - 1] || 0 : e;
28782
28782
  function Vr(e) {
28783
- const t = et(e) ? e.get() : e;
28783
+ const t = $e(e) ? e.get() : e;
28784
28784
  return JZ(t) ? t.toValue() : t;
28785
28785
  }
28786
28786
  const wu = /* @__PURE__ */ new Set([
@@ -28857,7 +28857,7 @@ function eF(e, t, a, n, r) {
28857
28857
  $Z(f, w);
28858
28858
  }), f.length && (s.willChange = f.join(","))), s;
28859
28859
  }
28860
- const { schedule: Ce, cancel: r1, state: Qe, steps: xi } = ou(typeof requestAnimationFrame < "u" ? requestAnimationFrame : Je, !0), tF = {
28860
+ const { schedule: Ce, cancel: r1, state: Qe, steps: xi } = ou(typeof requestAnimationFrame < "u" ? requestAnimationFrame : Ke, !0), tF = {
28861
28861
  useVisualState: bu({
28862
28862
  scrapeMotionValuesFromProps: ku,
28863
28863
  createRenderState: yu,
@@ -28997,7 +28997,7 @@ function bi(e, t) {
28997
28997
  }
28998
28998
  class fF extends C1 {
28999
28999
  constructor() {
29000
- super(...arguments), this.removeStartListeners = Je, this.removeEndListeners = Je, this.removeAccessibleListeners = Je, this.startPointerPress = (t, a) => {
29000
+ super(...arguments), this.removeStartListeners = Ke, this.removeEndListeners = Ke, this.removeAccessibleListeners = Ke, this.startPointerPress = (t, a) => {
29001
29001
  if (this.isPressing)
29002
29002
  return;
29003
29003
  this.removeEndListeners();
@@ -29358,7 +29358,7 @@ const S2 = {
29358
29358
  test: Js("hsl", "hue"),
29359
29359
  parse: Hu("hue", "saturation", "lightness"),
29360
29360
  transform: ({ hue: e, saturation: t, lightness: a, alpha: n = 1 }) => "hsla(" + Math.round(e) + ", " + Gt.transform(gn(t)) + ", " + Gt.transform(gn(a)) + ", " + gn(vn.transform(n)) + ")"
29361
- }, _e = {
29361
+ }, Xe = {
29362
29362
  test: (e) => G1.test(e) || S2.test(e) || ka.test(e),
29363
29363
  parse: (e) => G1.test(e) ? G1.parse(e) : ka.test(e) ? ka.parse(e) : S2.parse(e),
29364
29364
  transform: (e) => Jn(e) ? e : e.hasOwnProperty("red") ? G1.transform(e) : ka.transform(e)
@@ -29375,7 +29375,7 @@ function Nn(e) {
29375
29375
  var: []
29376
29376
  }, r = [];
29377
29377
  let o = 0;
29378
- const f = t.replace(qF, (c) => (_e.test(c) ? (n.color.push(o), r.push(Vu), a.push(_e.parse(c))) : c.startsWith(VF) ? (n.var.push(o), r.push(OF), a.push(c)) : (n.number.push(o), r.push(Ou), a.push(parseFloat(c))), ++o, tc)).split(tc);
29378
+ const f = t.replace(qF, (c) => (Xe.test(c) ? (n.color.push(o), r.push(Vu), a.push(Xe.parse(c))) : c.startsWith(VF) ? (n.var.push(o), r.push(OF), a.push(c)) : (n.number.push(o), r.push(Ou), a.push(parseFloat(c))), ++o, tc)).split(tc);
29379
29379
  return { values: a, split: f, indexes: n, types: r };
29380
29380
  }
29381
29381
  function qu(e) {
@@ -29388,7 +29388,7 @@ function Bu(e) {
29388
29388
  for (let s = 0; s < n; s++)
29389
29389
  if (o += t[s], r[s] !== void 0) {
29390
29390
  const f = a[s];
29391
- f === Ou ? o += gn(r[s]) : f === Vu ? o += _e.transform(r[s]) : o += r[s];
29391
+ f === Ou ? o += gn(r[s]) : f === Vu ? o += Xe.transform(r[s]) : o += r[s];
29392
29392
  }
29393
29393
  return o;
29394
29394
  };
@@ -29424,17 +29424,17 @@ const UF = /\b([a-z-]*)\(.*?\)/gu, T2 = {
29424
29424
  }, WF = {
29425
29425
  ...uu,
29426
29426
  // Color props
29427
- color: _e,
29428
- backgroundColor: _e,
29429
- outlineColor: _e,
29430
- fill: _e,
29431
- stroke: _e,
29427
+ color: Xe,
29428
+ backgroundColor: Xe,
29429
+ outlineColor: Xe,
29430
+ fill: Xe,
29431
+ stroke: Xe,
29432
29432
  // Border props
29433
- borderColor: _e,
29434
- borderTopColor: _e,
29435
- borderRightColor: _e,
29436
- borderBottomColor: _e,
29437
- borderLeftColor: _e,
29433
+ borderColor: Xe,
29434
+ borderTopColor: Xe,
29435
+ borderRightColor: Xe,
29436
+ borderBottomColor: Xe,
29437
+ borderLeftColor: Xe,
29438
29438
  filter: T2,
29439
29439
  WebkitFilter: T2
29440
29440
  }, Xs = (e) => WF[e];
@@ -29745,12 +29745,12 @@ function cG(e, t, a, n, r) {
29745
29745
  }
29746
29746
  function _n(e, t, a, n) {
29747
29747
  if (e === t && a === n)
29748
- return Je;
29748
+ return Ke;
29749
29749
  const r = (o) => cG(o, 0, 1, e, a);
29750
29750
  return (o) => o === 0 || o === 1 ? o : Ku(r(o), t, n);
29751
29751
  }
29752
29752
  const lG = _n(0.42, 0, 1, 1), dG = _n(0, 0, 0.58, 1), Ju = _n(0.42, 0, 0.58, 1), uG = (e) => Array.isArray(e) && typeof e[0] != "number", Xu = (e) => (t) => t <= 0.5 ? e(2 * t) / 2 : (2 - e(2 * (1 - t))) / 2, _u = (e) => (t) => 1 - e(1 - t), _s = (e) => 1 - Math.sin(Math.acos(e)), $u = _u(_s), hG = Xu(_s), e4 = _n(0.33, 1.53, 0.69, 0.99), $s = _u(e4), pG = Xu($s), yG = (e) => (e *= 2) < 1 ? 0.5 * $s(e) : 0.5 * (2 - Math.pow(2, -10 * (e - 1))), ic = {
29753
- linear: Je,
29753
+ linear: Ke,
29754
29754
  easeIn: lG,
29755
29755
  easeInOut: Ju,
29756
29756
  easeOut: dG,
@@ -29820,7 +29820,7 @@ function MG(e, t) {
29820
29820
  return (a) => Ee(e, t, a);
29821
29821
  }
29822
29822
  function e0(e) {
29823
- return typeof e == "number" ? MG : typeof e == "string" ? qs(e) ? to : _e.test(e) ? cc : bG : Array.isArray(e) ? t4 : typeof e == "object" ? _e.test(e) ? cc : wG : to;
29823
+ return typeof e == "number" ? MG : typeof e == "string" ? qs(e) ? to : Xe.test(e) ? cc : bG : Array.isArray(e) ? t4 : typeof e == "object" ? Xe.test(e) ? cc : wG : to;
29824
29824
  }
29825
29825
  function t4(e, t) {
29826
29826
  const a = [...e], n = a.length, r = e.map((o, s) => e0(o)(o, t[s]));
@@ -29861,7 +29861,7 @@ function CG(e, t, a) {
29861
29861
  for (let s = 0; s < o; s++) {
29862
29862
  let f = r(e[s], e[s + 1]);
29863
29863
  if (t) {
29864
- const c = Array.isArray(t) ? t[s] || Je : t;
29864
+ const c = Array.isArray(t) ? t[s] || Ke : t;
29865
29865
  f = _t(c, f);
29866
29866
  }
29867
29867
  n.push(f);
@@ -30205,11 +30205,11 @@ class dc extends Uu {
30205
30205
  else {
30206
30206
  const { resolved: a } = this;
30207
30207
  if (!a)
30208
- return Je;
30208
+ return Ke;
30209
30209
  const { animation: n } = a;
30210
30210
  n.timeline = t, n.onfinish = null;
30211
30211
  }
30212
- return Je;
30212
+ return Ke;
30213
30213
  }
30214
30214
  play() {
30215
30215
  if (this.isStopped)
@@ -30644,7 +30644,7 @@ class WG extends i4 {
30644
30644
  }
30645
30645
  }
30646
30646
  function YG(e) {
30647
- return !!(et(e) && e.add);
30647
+ return !!($e(e) && e.add);
30648
30648
  }
30649
30649
  function D2(e, t) {
30650
30650
  var a;
@@ -31391,11 +31391,11 @@ function SU(e, t = 10) {
31391
31391
  }
31392
31392
  class TU extends C1 {
31393
31393
  constructor(t) {
31394
- super(t), this.removeGroupControls = Je, this.removeListeners = Je, this.controls = new AU(t);
31394
+ super(t), this.removeGroupControls = Ke, this.removeListeners = Ke, this.controls = new AU(t);
31395
31395
  }
31396
31396
  mount() {
31397
31397
  const { dragControls: t } = this.node.getProps();
31398
- t && (this.removeGroupControls = t.subscribe(this.controls)), this.removeListeners = this.controls.addListeners() || Je;
31398
+ t && (this.removeGroupControls = t.subscribe(this.controls)), this.removeListeners = this.controls.addListeners() || Ke;
31399
31399
  }
31400
31400
  unmount() {
31401
31401
  this.removeGroupControls(), this.removeListeners();
@@ -31406,7 +31406,7 @@ const Nc = (e) => (t, a) => {
31406
31406
  };
31407
31407
  class IU extends C1 {
31408
31408
  constructor() {
31409
- super(...arguments), this.removePointerDownListener = Je;
31409
+ super(...arguments), this.removePointerDownListener = Ke;
31410
31410
  }
31411
31411
  onPointerDown(t) {
31412
31412
  this.session = new c4(t, this.createPanHandlers(), {
@@ -31561,7 +31561,7 @@ function RU(e, t, a, n, r, o) {
31561
31561
  function Pc(e, t) {
31562
31562
  return e[t] !== void 0 ? e[t] : e.borderRadius;
31563
31563
  }
31564
- const HU = M4(0, 0.5, $u), OU = M4(0.5, 0.95, Je);
31564
+ const HU = M4(0, 0.5, $u), OU = M4(0.5, 0.95, Ke);
31565
31565
  function M4(e, t, a) {
31566
31566
  return (n) => n < e ? 0 : n > t ? 1 : a(Dn(e, t, n));
31567
31567
  }
@@ -31704,7 +31704,7 @@ function QU(e) {
31704
31704
  return e instanceof SVGElement && e.tagName !== "svg";
31705
31705
  }
31706
31706
  function KU(e, t, a) {
31707
- const n = et(e) ? e : zn(e);
31707
+ const n = $e(e) ? e : zn(e);
31708
31708
  return n.start(n0("", n, t, a)), n.animation;
31709
31709
  }
31710
31710
  const q1 = {
@@ -32263,7 +32263,7 @@ function lW(e) {
32263
32263
  const dW = {
32264
32264
  duration: 0.45,
32265
32265
  ease: [0.4, 0, 0.1, 1]
32266
- }, Xc = (e) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(e), _c = Xc("applewebkit/") && !Xc("chrome/") ? Math.round : Je;
32266
+ }, Xc = (e) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(e), _c = Xc("applewebkit/") && !Xc("chrome/") ? Math.round : Ke;
32267
32267
  function $c(e) {
32268
32268
  e.min = _c(e.min), e.max = _c(e.max);
32269
32269
  }
@@ -32323,9 +32323,9 @@ function mW() {
32323
32323
  function vW(e, t, a) {
32324
32324
  for (const n in t) {
32325
32325
  const r = t[n], o = a[n];
32326
- if (et(r))
32326
+ if ($e(r))
32327
32327
  e.addValue(n, r), process.env.NODE_ENV === "development" && o0(r.version === "11.3.17", `Attempting to mix Framer Motion versions ${r.version} with 11.3.17 may not work as expected.`);
32328
- else if (et(o))
32328
+ else if ($e(o))
32329
32329
  e.addValue(n, zn(r, { owner: e }));
32330
32330
  else if (o !== r)
32331
32331
  if (e.hasValue(n)) {
@@ -32340,7 +32340,7 @@ function vW(e, t, a) {
32340
32340
  t[n] === void 0 && e.removeValue(n);
32341
32341
  return t;
32342
32342
  }
32343
- const el = /* @__PURE__ */ new WeakMap(), gW = [...Eu, _e, M1], kW = (e) => gW.find(zu(e)), tl = [
32343
+ const el = /* @__PURE__ */ new WeakMap(), gW = [...Eu, Xe, M1], kW = (e) => gW.find(zu(e)), tl = [
32344
32344
  "AnimationStart",
32345
32345
  "AnimationComplete",
32346
32346
  "Update",
@@ -32371,7 +32371,7 @@ class wW {
32371
32371
  const { willChange: u, ...h } = this.scrapeMotionValuesFromProps(a, {}, this);
32372
32372
  for (const y in h) {
32373
32373
  const m = h[y];
32374
- c[y] !== void 0 && et(m) && m.set(c[y], !1);
32374
+ c[y] !== void 0 && $e(m) && m.set(c[y], !1);
32375
32375
  }
32376
32376
  }
32377
32377
  mount(t) {
@@ -32520,7 +32520,7 @@ class wW {
32520
32520
  readValue(t, a) {
32521
32521
  var n;
32522
32522
  let r = this.latestValues[t] !== void 0 || !this.current ? this.latestValues[t] : (n = this.getBaseTargetFromProps(this.props, t)) !== null && n !== void 0 ? n : this.readValueFromInstance(this.current, t, this.options);
32523
- return r != null && (typeof r == "string" && (Nu(r) || Iu(r)) ? r = parseFloat(r) : !kW(r) && M1.test(a) && (r = Zu(t, a)), this.setBaseTarget(t, et(r) ? r.get() : r)), et(r) ? r.get() : r;
32523
+ return r != null && (typeof r == "string" && (Nu(r) || Iu(r)) ? r = parseFloat(r) : !kW(r) && M1.test(a) && (r = Zu(t, a)), this.setBaseTarget(t, $e(r) ? r.get() : r)), $e(r) ? r.get() : r;
32524
32524
  }
32525
32525
  /**
32526
32526
  * Set the base target to later animate back to. This is currently
@@ -32544,7 +32544,7 @@ class wW {
32544
32544
  if (n && r !== void 0)
32545
32545
  return r;
32546
32546
  const o = this.getBaseTargetFromProps(this.props, t);
32547
- return o !== void 0 && !et(o) ? o : this.initialValues[t] !== void 0 && r === void 0 ? void 0 : this.baseTarget[t];
32547
+ return o !== void 0 && !$e(o) ? o : this.initialValues[t] !== void 0 && r === void 0 ? void 0 : this.baseTarget[t];
32548
32548
  }
32549
32549
  on(t, a) {
32550
32550
  return this.events[t] || (this.events[t] = new r0()), this.events[t].add(a);
@@ -32595,7 +32595,7 @@ class bW extends S4 {
32595
32595
  handleChildMotionValue() {
32596
32596
  this.childSubscription && (this.childSubscription(), delete this.childSubscription);
32597
32597
  const { children: t } = this.props;
32598
- et(t) && (this.childSubscription = t.on("change", (a) => {
32598
+ $e(t) && (this.childSubscription = t.on("change", (a) => {
32599
32599
  this.current && (this.current.textContent = `${a}`);
32600
32600
  }));
32601
32601
  }
@@ -34349,7 +34349,7 @@ const gae = ({
34349
34349
  )
34350
34350
  ] });
34351
34351
  function Eo(e) {
34352
- const t = e + "CollectionProvider", [a, n] = at(t), [r, o] = a(
34352
+ const t = e + "CollectionProvider", [a, n] = tt(t), [r, o] = a(
34353
34353
  t,
34354
34354
  { collectionRef: { current: null }, itemMap: /* @__PURE__ */ new Map() }
34355
34355
  ), s = (m) => {
@@ -34396,7 +34396,7 @@ function $n(e) {
34396
34396
  const t = p.useContext(N4);
34397
34397
  return e || t || "ltr";
34398
34398
  }
34399
- var Hi = "rovingFocusGroup.onEntryFocus", QW = { bubbles: !1, cancelable: !0 }, Po = "RovingFocusGroup", [O2, D4, KW] = Eo(Po), [JW, Ro] = at(
34399
+ var Hi = "rovingFocusGroup.onEntryFocus", QW = { bubbles: !1, cancelable: !0 }, Po = "RovingFocusGroup", [O2, D4, KW] = Eo(Po), [JW, Ro] = tt(
34400
34400
  Po,
34401
34401
  [KW]
34402
34402
  ), [XW, _W] = JW(Po), z4 = p.forwardRef(
@@ -34557,7 +34557,7 @@ function R4(e, t = !1) {
34557
34557
  function nY(e, t) {
34558
34558
  return e.map((a, n) => e[(t + n) % e.length]);
34559
34559
  }
34560
- var H4 = z4, O4 = P4, i0 = "Tabs", [rY, kae] = at(i0, [
34560
+ var H4 = z4, O4 = P4, i0 = "Tabs", [rY, kae] = tt(i0, [
34561
34561
  Ro
34562
34562
  ]), V4 = Ro(), [oY, s0] = rY(i0), q4 = p.forwardRef(
34563
34563
  (e, t) => {
@@ -34987,14 +34987,14 @@ function il() {
34987
34987
  const e = document.createElement("span");
34988
34988
  return e.setAttribute("data-radix-focus-guard", ""), e.tabIndex = 0, e.style.cssText = "outline: none; opacity: 0; position: fixed; pointer-events: none", e;
34989
34989
  }
34990
- var $e = function() {
34991
- return $e = Object.assign || function(t) {
34990
+ var _e = function() {
34991
+ return _e = Object.assign || function(t) {
34992
34992
  for (var a, n = 1, r = arguments.length; n < r; n++) {
34993
34993
  a = arguments[n];
34994
34994
  for (var o in a) Object.prototype.hasOwnProperty.call(a, o) && (t[o] = a[o]);
34995
34995
  }
34996
34996
  return t;
34997
- }, $e.apply(this, arguments);
34997
+ }, _e.apply(this, arguments);
34998
34998
  };
34999
34999
  function c0(e, t) {
35000
35000
  var a = {};
@@ -35115,7 +35115,7 @@ function AY(e, t) {
35115
35115
  function rh(e) {
35116
35116
  e === void 0 && (e = {});
35117
35117
  var t = AY(null);
35118
- return t.options = $e({ async: !0, ssr: !1 }, e), t;
35118
+ return t.options = _e({ async: !0, ssr: !1 }, e), t;
35119
35119
  }
35120
35120
  var oh = function(e) {
35121
35121
  var t = e.sideCar, a = c0(e, ["sideCar"]);
@@ -35124,7 +35124,7 @@ var oh = function(e) {
35124
35124
  var n = t.read();
35125
35125
  if (!n)
35126
35126
  throw new Error("Sidecar medium not found");
35127
- return p.createElement(n, $e({}, a));
35127
+ return p.createElement(n, _e({}, a));
35128
35128
  };
35129
35129
  oh.isSideCarExport = !0;
35130
35130
  function ih(e, t) {
@@ -35136,12 +35136,12 @@ var sh = rh(), Zi = function() {
35136
35136
  onScrollCapture: Zi,
35137
35137
  onWheelCapture: Zi,
35138
35138
  onTouchMoveCapture: Zi
35139
- }), r = n[0], o = n[1], s = e.forwardProps, f = e.children, c = e.className, l = e.removeScrollBar, u = e.enabled, h = e.shards, y = e.sideCar, m = e.noIsolation, g = e.inert, v = e.allowPinchZoom, k = e.as, w = k === void 0 ? "div" : k, M = e.gapMode, x = c0(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), b = y, L = nh([a, t]), S = $e($e({}, x), r);
35139
+ }), r = n[0], o = n[1], s = e.forwardProps, f = e.children, c = e.className, l = e.removeScrollBar, u = e.enabled, h = e.shards, y = e.sideCar, m = e.noIsolation, g = e.inert, v = e.allowPinchZoom, k = e.as, w = k === void 0 ? "div" : k, M = e.gapMode, x = c0(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), b = y, L = nh([a, t]), S = _e(_e({}, x), r);
35140
35140
  return p.createElement(
35141
35141
  p.Fragment,
35142
35142
  null,
35143
35143
  u && p.createElement(b, { sideCar: sh, removeScrollBar: l, shards: h, noIsolation: m, inert: g, setCallbacks: o, allowPinchZoom: !!v, lockRef: a, gapMode: M }),
35144
- s ? p.cloneElement(p.Children.only(f), $e($e({}, S), { ref: L })) : p.createElement(w, $e({}, S, { className: c, ref: L }), f)
35144
+ s ? p.cloneElement(p.Children.only(f), _e(_e({}, S), { ref: L })) : p.createElement(w, _e({}, S, { className: c, ref: L }), f)
35145
35145
  );
35146
35146
  });
35147
35147
  Oo.defaultProps = {
@@ -35438,7 +35438,7 @@ function JY(e) {
35438
35438
  }
35439
35439
  const XY = ih(sh, KY);
35440
35440
  var Vo = p.forwardRef(function(e, t) {
35441
- return p.createElement(Oo, $e({}, e, { ref: t, sideCar: XY }));
35441
+ return p.createElement(Oo, _e({}, e, { ref: t, sideCar: XY }));
35442
35442
  });
35443
35443
  Vo.classNames = Oo.classNames;
35444
35444
  var _Y = function(e) {
@@ -35489,7 +35489,7 @@ var _Y = function(e) {
35489
35489
  return r ? (n.push.apply(n, Array.from(r.querySelectorAll("[aria-live]"))), eQ(n, r, a, "aria-hidden")) : function() {
35490
35490
  return null;
35491
35491
  };
35492
- }, d0 = "Dialog", [hh, Mae] = at(d0), [tQ, Bt] = hh(d0), ph = (e) => {
35492
+ }, d0 = "Dialog", [hh, Mae] = tt(d0), [tQ, Bt] = hh(d0), ph = (e) => {
35493
35493
  const {
35494
35494
  __scopeDialog: t,
35495
35495
  children: a,
@@ -35808,7 +35808,7 @@ function Nh(e, ...t) {
35808
35808
  return r.className = U1(a, e.className), r.style = ul(n, e.style), r;
35809
35809
  }
35810
35810
  const R1 = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "-1", "-2", "-3", "-4", "-5", "-6", "-7", "-8", "-9"], Dh = { m: { type: "enum | string", values: R1, responsive: !0, className: "rt-r-m", customProperties: ["--m"] }, mx: { type: "enum | string", values: R1, responsive: !0, className: "rt-r-mx", customProperties: ["--ml", "--mr"] }, my: { type: "enum | string", values: R1, responsive: !0, className: "rt-r-my", customProperties: ["--mt", "--mb"] }, mt: { type: "enum | string", values: R1, responsive: !0, className: "rt-r-mt", customProperties: ["--mt"] }, mr: { type: "enum | string", values: R1, responsive: !0, className: "rt-r-mr", customProperties: ["--mr"] }, mb: { type: "enum | string", values: R1, responsive: !0, className: "rt-r-mb", customProperties: ["--mb"] }, ml: { type: "enum | string", values: R1, responsive: !0, className: "rt-r-ml", customProperties: ["--ml"] } };
35811
- var [Zo, xae] = at("Tooltip", [
35811
+ var [Zo, xae] = tt("Tooltip", [
35812
35812
  Yt
35813
35813
  ]), M0 = Yt(), zh = "TooltipProvider", mQ = 700, hl = "tooltip.open", [vQ, Eh] = Zo(zh), Ph = (e) => {
35814
35814
  const {
@@ -36143,7 +36143,7 @@ Fh.displayName = "Grid";
36143
36143
  function yl(e, [t, a]) {
36144
36144
  return Math.min(a, Math.max(t, e));
36145
36145
  }
36146
- var Yi, b0 = "HoverCard", [Gh, Lae] = at(b0, [
36146
+ var Yi, b0 = "HoverCard", [Gh, Lae] = tt(b0, [
36147
36147
  Yt
36148
36148
  ]), Go = Yt(), [eK, C0] = Gh(b0), Uh = (e) => {
36149
36149
  const {
@@ -36301,7 +36301,7 @@ function iK(e) {
36301
36301
  for (; a.nextNode(); ) t.push(a.currentNode);
36302
36302
  return t;
36303
36303
  }
36304
- var sK = Uh, fK = Yh, Kh = Qh, L0 = "Popover", [Jh, Aae] = at(L0, [
36304
+ var sK = Uh, fK = Yh, Kh = Qh, L0 = "Popover", [Jh, Aae] = tt(L0, [
36305
36305
  Yt
36306
36306
  ]), rr = Yt(), [cK, L1] = Jh(L0), Xh = (e) => {
36307
36307
  const {
@@ -36511,7 +36511,7 @@ mK.displayName = yK;
36511
36511
  function i3(e) {
36512
36512
  return e ? "open" : "closed";
36513
36513
  }
36514
- var vK = Xh, gK = $h, kK = t3, MK = a3, s3 = n3, A0 = "Radio", [wK, f3] = at(A0), [xK, bK] = wK(A0), c3 = p.forwardRef(
36514
+ var vK = Xh, gK = $h, kK = t3, MK = a3, s3 = n3, A0 = "Radio", [wK, f3] = tt(A0), [xK, bK] = wK(A0), c3 = p.forwardRef(
36515
36515
  (e, t) => {
36516
36516
  const {
36517
36517
  __scopeRadio: a,
@@ -36604,7 +36604,7 @@ var CK = (e) => {
36604
36604
  function u3(e) {
36605
36605
  return e ? "checked" : "unchecked";
36606
36606
  }
36607
- var LK = ["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"], S0 = "RadioGroup", [jK, Sae] = at(S0, [
36607
+ var LK = ["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"], S0 = "RadioGroup", [jK, Sae] = tt(S0, [
36608
36608
  Ro,
36609
36609
  f3
36610
36610
  ]), h3 = Ro(), p3 = f3(), [AK, SK] = jK(S0), y3 = p.forwardRef(
@@ -36711,7 +36711,7 @@ var TK = "RadioGroupIndicator", g3 = p.forwardRef(
36711
36711
  }
36712
36712
  );
36713
36713
  g3.displayName = TK;
36714
- var k3 = y3, M3 = v3, IK = g3, NK = [" ", "Enter", "ArrowUp", "ArrowDown"], DK = [" ", "Enter"], or = "Select", [Uo, Wo, zK] = Eo(or), [Ua, Tae] = at(or, [
36714
+ var k3 = y3, M3 = v3, IK = g3, NK = [" ", "Enter", "ArrowUp", "ArrowDown"], DK = [" ", "Enter"], or = "Select", [Uo, Wo, zK] = Eo(or), [Ua, Tae] = tt(or, [
36715
36715
  zK,
36716
36716
  Yt
36717
36717
  ]), Yo = Yt(), [EK, j1] = Ua(or), [PK, RK] = Ua(or), w3 = (e) => {
@@ -36843,7 +36843,7 @@ b3.displayName = x3;
36843
36843
  var C3 = "SelectValue", L3 = p.forwardRef(
36844
36844
  (e, t) => {
36845
36845
  const { __scopeSelect: a, className: n, style: r, children: o, placeholder: s = "", ...f } = e, c = j1(C3, a), { onValueNodeHasChildrenChange: l } = c, u = o !== void 0, h = le(t, c.onValueNodeChange);
36846
- return Xe(() => {
36846
+ return Je(() => {
36847
36847
  l(u);
36848
36848
  }, [l, u]), /* @__PURE__ */ d.jsx(
36849
36849
  X.span,
@@ -36869,7 +36869,7 @@ A3.displayName = OK;
36869
36869
  var J1 = "SelectContent", S3 = p.forwardRef(
36870
36870
  (e, t) => {
36871
36871
  const a = j1(J1, e.__scopeSelect), [n, r] = p.useState();
36872
- if (Xe(() => {
36872
+ if (Je(() => {
36873
36873
  r(new DocumentFragment());
36874
36874
  }, []), !a.open) {
36875
36875
  const o = n;
@@ -37098,9 +37098,9 @@ var qK = "SelectItemAlignedPosition", N3 = p.forwardRef((e, t) => {
37098
37098
  o.dir,
37099
37099
  n
37100
37100
  ]);
37101
- Xe(() => x(), [x]);
37101
+ Je(() => x(), [x]);
37102
37102
  const [b, L] = p.useState();
37103
- Xe(() => {
37103
+ Je(() => {
37104
37104
  l && L(window.getComputedStyle(l).zIndex);
37105
37105
  }, [l]);
37106
37106
  const S = p.useCallback(
@@ -37329,7 +37329,7 @@ var yn = "SelectItemText", V3 = p.forwardRef(
37329
37329
  () => /* @__PURE__ */ d.jsx("option", { value: c.value, disabled: c.disabled, children: m }, c.value),
37330
37330
  [c.disabled, c.value, m]
37331
37331
  ), { onNativeOptionAdd: v, onNativeOptionRemove: k } = l;
37332
- return Xe(() => (v(g), () => k(g)), [v, k, g]), /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
37332
+ return Je(() => (v(g), () => k(g)), [v, k, g]), /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
37333
37333
  /* @__PURE__ */ d.jsx(X.span, { id: c.textId, ...o, ref: y }),
37334
37334
  c.isSelected && s.valueNode && !s.valueNodeHasChildren ? Ra.createPortal(o.children, s.valueNode) : null
37335
37335
  ] });
@@ -37345,7 +37345,7 @@ var q3 = "SelectItemIndicator", B3 = p.forwardRef(
37345
37345
  B3.displayName = q3;
37346
37346
  var U2 = "SelectScrollUpButton", Z3 = p.forwardRef((e, t) => {
37347
37347
  const a = A1(U2, e.__scopeSelect), n = T0(U2, e.__scopeSelect), [r, o] = p.useState(!1), s = le(t, n.onScrollButtonChange);
37348
- return Xe(() => {
37348
+ return Je(() => {
37349
37349
  if (a.viewport && a.isPositioned) {
37350
37350
  let f = function() {
37351
37351
  const l = c.scrollTop > 0;
@@ -37369,7 +37369,7 @@ var U2 = "SelectScrollUpButton", Z3 = p.forwardRef((e, t) => {
37369
37369
  Z3.displayName = U2;
37370
37370
  var W2 = "SelectScrollDownButton", F3 = p.forwardRef((e, t) => {
37371
37371
  const a = A1(W2, e.__scopeSelect), n = T0(W2, e.__scopeSelect), [r, o] = p.useState(!1), s = le(t, n.onScrollButtonChange);
37372
- return Xe(() => {
37372
+ return Je(() => {
37373
37373
  if (a.viewport && a.isPositioned) {
37374
37374
  let f = function() {
37375
37375
  const l = c.scrollHeight - c.clientHeight, u = Math.ceil(c.scrollTop) < l;
@@ -37395,7 +37395,7 @@ var G3 = p.forwardRef((e, t) => {
37395
37395
  const { __scopeSelect: a, onAutoScroll: n, ...r } = e, o = A1("SelectScrollButton", a), s = p.useRef(null), f = Wo(a), c = p.useCallback(() => {
37396
37396
  s.current !== null && (window.clearInterval(s.current), s.current = null);
37397
37397
  }, []);
37398
- return p.useEffect(() => () => c(), [c]), Xe(() => {
37398
+ return p.useEffect(() => () => c(), [c]), Je(() => {
37399
37399
  var u;
37400
37400
  const l = f().find((h) => h.ref.current === document.activeElement);
37401
37401
  (u = l == null ? void 0 : l.ref.current) == null || u.scrollIntoView({ block: "nearest" });
@@ -38939,7 +38939,7 @@ function FJ(e) {
38939
38939
  ...n
38940
38940
  });
38941
38941
  }
38942
- const Ke = {
38942
+ const nt = {
38943
38943
  Root: up,
38944
38944
  NestedRoot: ZJ,
38945
38945
  Content: pp,
@@ -39033,10 +39033,10 @@ xp.displayName = nr.displayName;
39033
39033
  const D0 = ({
39034
39034
  shouldScaleBackground: e = !0,
39035
39035
  ...t
39036
- }) => /* @__PURE__ */ d.jsx(Ke.Root, { shouldScaleBackground: e, ...t });
39036
+ }) => /* @__PURE__ */ d.jsx(nt.Root, { shouldScaleBackground: e, ...t });
39037
39037
  D0.displayName = "Drawer";
39038
- const Eae = Ke.Trigger, UJ = Ke.Portal, z0 = Ke.Close, bp = p.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ d.jsx(
39039
- Ke.Overlay,
39038
+ const Eae = nt.Trigger, UJ = nt.Portal, z0 = nt.Close, bp = p.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ d.jsx(
39039
+ nt.Overlay,
39040
39040
  {
39041
39041
  ref: a,
39042
39042
  className: ye(
@@ -39046,12 +39046,12 @@ const Eae = Ke.Trigger, UJ = Ke.Portal, z0 = Ke.Close, bp = p.forwardRef(({ clas
39046
39046
  ...t
39047
39047
  }
39048
39048
  ));
39049
- bp.displayName = Ke.Overlay.displayName;
39049
+ bp.displayName = nt.Overlay.displayName;
39050
39050
  const E0 = p.forwardRef(
39051
39051
  ({ className: e, children: t, hasCloseIcon: a, overlayClasses: n, onClose: r, ...o }, s) => /* @__PURE__ */ d.jsxs(UJ, { children: [
39052
39052
  /* @__PURE__ */ d.jsx(bp, { className: n }),
39053
39053
  /* @__PURE__ */ d.jsx(Ga, { trapped: !1, children: /* @__PURE__ */ d.jsxs(
39054
- Ke.Content,
39054
+ nt.Content,
39055
39055
  {
39056
39056
  ref: s,
39057
39057
  className: ye(
@@ -39086,23 +39086,23 @@ const R0 = ({
39086
39086
  }) => /* @__PURE__ */ d.jsx("div", { className: ye("flex gap-2", e), ...t });
39087
39087
  R0.displayName = "DrawerFooter";
39088
39088
  const H0 = p.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ d.jsx(
39089
- Ke.Title,
39089
+ nt.Title,
39090
39090
  {
39091
39091
  ref: a,
39092
39092
  className: ye("text-heading-md", e),
39093
39093
  ...t
39094
39094
  }
39095
39095
  ));
39096
- H0.displayName = Ke.Title.displayName;
39096
+ H0.displayName = nt.Title.displayName;
39097
39097
  const O0 = p.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ d.jsx(
39098
- Ke.Description,
39098
+ nt.Description,
39099
39099
  {
39100
39100
  ref: a,
39101
39101
  className: ye("text-body-sm color-text-secondary", e),
39102
39102
  ...t
39103
39103
  }
39104
39104
  ));
39105
- O0.displayName = Ke.Description.displayName;
39105
+ O0.displayName = nt.Description.displayName;
39106
39106
  var WJ = typeof vr == "object" && vr && vr.Object === Object && vr, YJ = typeof self == "object" && self && self.Object === Object && self;
39107
39107
  WJ || YJ || Function("return this")();
39108
39108
  var QJ = typeof window < "u" ? Fn : ie, KJ = typeof window > "u";
@@ -39250,7 +39250,7 @@ const Pae = ({
39250
39250
  ]
39251
39251
  }
39252
39252
  ) });
39253
- var V0 = "Collapsible", [XJ, Cp] = at(V0), [_J, q0] = XJ(V0), Lp = p.forwardRef(
39253
+ var V0 = "Collapsible", [XJ, Cp] = tt(V0), [_J, q0] = XJ(V0), Lp = p.forwardRef(
39254
39254
  (e, t) => {
39255
39255
  const {
39256
39256
  __scopeCollapsible: a,
@@ -39318,7 +39318,7 @@ var $J = p.forwardRef((e, t) => {
39318
39318
  return p.useEffect(() => {
39319
39319
  const M = requestAnimationFrame(() => k.current = !1);
39320
39320
  return () => cancelAnimationFrame(M);
39321
- }, []), Xe(() => {
39321
+ }, []), Je(() => {
39322
39322
  const M = l.current;
39323
39323
  if (M) {
39324
39324
  w.current = w.current || {
@@ -39349,7 +39349,7 @@ var $J = p.forwardRef((e, t) => {
39349
39349
  function Z0(e) {
39350
39350
  return e ? "open" : "closed";
39351
39351
  }
39352
- var eX = Lp, tX = Ap, aX = Sp, i1 = "Accordion", nX = ["Home", "End", "ArrowDown", "ArrowUp", "ArrowLeft", "ArrowRight"], [F0, rX, oX] = Eo(i1), [Qo, Rae] = at(i1, [
39352
+ var eX = Lp, tX = Ap, aX = Sp, i1 = "Accordion", nX = ["Home", "End", "ArrowDown", "ArrowUp", "ArrowLeft", "ArrowRight"], [F0, rX, oX] = Eo(i1), [Qo, Rae] = tt(i1, [
39353
39353
  oX,
39354
39354
  Cp
39355
39355
  ]), G0 = Cp(), Tp = z.forwardRef(
@@ -40103,61 +40103,48 @@ const Zae = ({
40103
40103
  headerClassName: o,
40104
40104
  contentClassName: s,
40105
40105
  side: f = "right",
40106
- noOverlay: c = !1,
40107
- overlayClasses: l,
40108
- rounded: u = !1,
40109
- dismissible: h = !0
40110
- }) => /* @__PURE__ */ d.jsx(
40111
- Ke.Root,
40106
+ rounded: c = !1,
40107
+ dismissible: l = !0
40108
+ }) => /* @__PURE__ */ d.jsx(nt.Root, { open: t, dismissible: !1, direction: f, children: /* @__PURE__ */ d.jsx(nt.Portal, { children: /* @__PURE__ */ d.jsx(
40109
+ nt.Content,
40112
40110
  {
40113
- open: t,
40114
- onOpenChange: () => a == null ? void 0 : a(!1),
40115
- direction: f,
40116
- children: /* @__PURE__ */ d.jsxs(Ke.Portal, { children: [
40117
- /* @__PURE__ */ d.jsx(
40118
- Ke.Overlay,
40119
- {
40120
- className: I("fixed inset-0 bg-black/40", l, {
40121
- "bg-transparent": c
40122
- })
40123
- }
40124
- ),
40125
- /* @__PURE__ */ d.jsx(
40126
- Ke.Content,
40127
- {
40128
- className: I(
40129
- "fixed z-10 outline-none flex min-w-[300px]",
40130
- {
40131
- "top-2 left-2 right-2": f === "top",
40132
- "top-2 bottom-2 right-2": f === "right",
40133
- "bottom-2 left-2 right-2": f === "bottom",
40134
- "top-2 bottom-2 left-2": f === "left"
40135
- },
40136
- r
40137
- ),
40138
- style: { "--initial-transform": "calc(100% + 8px)" },
40139
- children: /* @__PURE__ */ d.jsxs(
40140
- "div",
40111
+ className: I(
40112
+ "fixed outline-none flex min-w-[300px]",
40113
+ {
40114
+ "top-2 left-2 right-2": f === "top",
40115
+ "top-2 bottom-2 right-2": f === "right",
40116
+ "bottom-2 left-2 right-2": f === "bottom",
40117
+ "top-2 bottom-2 left-2": f === "left"
40118
+ },
40119
+ r
40120
+ ),
40121
+ style: { "--initial-transform": "calc(100% + 8px)" },
40122
+ children: /* @__PURE__ */ d.jsxs(
40123
+ "div",
40124
+ {
40125
+ className: I(
40126
+ "bg-white h-full w-full grow p-4 flex flex-col",
40127
+ {
40128
+ "rounded-[16px]": c
40129
+ },
40130
+ s
40131
+ ),
40132
+ children: [
40133
+ e && /* @__PURE__ */ d.jsx("div", { className: o, children: /* @__PURE__ */ d.jsx(nt.Title, { className: "text-heading-sm color-text-default inline-flex gap-2 items-center", children: e }) }),
40134
+ l ? /* @__PURE__ */ d.jsx("div", { className: "absolute top-[14px] right-4 rounded-sm ring-offset-white hover:color-bg-default-hover p-1 transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-focused focus-visible:ring-offset-2", children: /* @__PURE__ */ d.jsx(
40135
+ Ie,
40141
40136
  {
40142
- className: I(
40143
- "bg-white h-full w-full grow p-4 flex flex-col",
40144
- {
40145
- "rounded-[16px]": u
40146
- },
40147
- s
40148
- ),
40149
- children: [
40150
- e && /* @__PURE__ */ d.jsx("div", { className: o, children: /* @__PURE__ */ d.jsx(Ke.Title, { className: "text-heading-sm color-text-default inline-flex gap-2 items-center", children: e }) }),
40151
- h ? /* @__PURE__ */ d.jsx(Ke.Close, { className: "absolute top-[14px] right-4 rounded-sm ring-offset-white hover:color-bg-default-hover p-1 transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-focused focus-visible:ring-offset-2 disabled:pointer-events-none", children: /* @__PURE__ */ d.jsx(Ie, { name: "X", size: "md" }) }) : null,
40152
- n
40153
- ]
40137
+ name: "X",
40138
+ onClick: () => a == null ? void 0 : a(!1),
40139
+ size: "md"
40154
40140
  }
40155
- )
40156
- }
40157
- )
40158
- ] })
40141
+ ) }) : null,
40142
+ n
40143
+ ]
40144
+ }
40145
+ )
40159
40146
  }
40160
- ), Qp = vK, Kp = kK, Gae = gK, W0 = p.forwardRef(
40147
+ ) }) }), Qp = vK, Kp = kK, Gae = gK, W0 = p.forwardRef(
40161
40148
  ({ className: e, align: t = "center", sideOffset: a = 4, elevation: n, container: r, ...o }, s) => /* @__PURE__ */ d.jsx(MK, { container: r, children: /* @__PURE__ */ d.jsx(
40162
40149
  s3,
40163
40150
  {
@@ -40733,7 +40720,7 @@ var ce;
40733
40720
  (function(e) {
40734
40721
  e.hiddenOnSearch = "epr-hidden-on-search", e.searchActive = "epr-search-active", e.hidden = "epr-hidden", e.visible = "epr-visible", e.active = "epr-active", e.emoji = "epr-emoji", e.category = "epr-emoji-category", e.label = "epr-emoji-category-label", e.categoryContent = "epr-emoji-category-content", e.emojiHasVariations = "epr-emoji-has-variations", e.scrollBody = "epr-body", e.emojiList = "epr-emoji-list", e.external = "__EmojiPicker__", e.emojiPicker = "EmojiPickerReact", e.open = "epr-open", e.vertical = "epr-vertical", e.horizontal = "epr-horizontal", e.variationPicker = "epr-emoji-variation-picker", e.darkTheme = "epr-dark-theme", e.autoTheme = "epr-auto-theme";
40735
40722
  })(ce || (ce = {}));
40736
- function tt() {
40723
+ function et() {
40737
40724
  for (var e = arguments.length, t = new Array(e), a = 0; a < e; a++)
40738
40725
  t[a] = arguments[a];
40739
40726
  return t.map(function(n) {
@@ -57778,7 +57765,7 @@ function a$() {
57778
57765
  }, [e]);
57779
57766
  }
57780
57767
  function ni(e) {
57781
- if (!(!e || !W$(e)) && !e.closest(tt(ce.variationPicker))) {
57768
+ if (!(!e || !W$(e)) && !e.closest(et(ce.variationPicker))) {
57782
57769
  var t = r6(e), a = n6(e);
57783
57770
  t$(t, -(cf(I1(e)) - a));
57784
57771
  }
@@ -58485,14 +58472,14 @@ function Z$(e) {
58485
58472
  return !!e.nextElementSibling;
58486
58473
  }
58487
58474
  function F$(e) {
58488
- for (var t = Array.from(e.querySelectorAll(tt(ce.label))), a = 0, n = t; a < n.length; a++) {
58475
+ for (var t = Array.from(e.querySelectorAll(et(ce.label))), a = 0, n = t; a < n.length; a++) {
58489
58476
  var r = n[a], o = r.getBoundingClientRect().height;
58490
58477
  if (o > 0)
58491
58478
  return o;
58492
58479
  }
58493
58480
  return Jy;
58494
58481
  }
58495
- var po = "button" + /* @__PURE__ */ tt(ce.emoji), G$ = /* @__PURE__ */ [po, tt(ce.visible), ":not(" + tt(ce.hidden) + ")"].join("");
58482
+ var po = "button" + /* @__PURE__ */ et(ce.emoji), G$ = /* @__PURE__ */ [po, et(ce.visible), ":not(" + et(ce.hidden) + ")"].join("");
58496
58483
  function Ot(e) {
58497
58484
  var t;
58498
58485
  return (t = e == null ? void 0 : e.closest(po)) != null ? t : null;
@@ -58522,14 +58509,14 @@ function cf(e) {
58522
58509
  var t, a;
58523
58510
  if (!e)
58524
58511
  return 0;
58525
- var n = e.querySelector(tt(ce.categoryContent));
58512
+ var n = e.querySelector(et(ce.categoryContent));
58526
58513
  return ((t = e == null ? void 0 : e.clientHeight) != null ? t : 0) - ((a = n == null ? void 0 : n.clientHeight) != null ? a : 0);
58527
58514
  }
58528
58515
  function W$(e) {
58529
58516
  return e ? n6(e) < cf(I1(e)) : !1;
58530
58517
  }
58531
58518
  function a6(e) {
58532
- return e ? e.matches(tt(ce.scrollBody)) ? e : e.querySelector(tt(ce.scrollBody)) : null;
58519
+ return e ? e.matches(et(ce.scrollBody)) ? e : e.querySelector(et(ce.scrollBody)) : null;
58533
58520
  }
58534
58521
  function n6(e) {
58535
58522
  var t, a;
@@ -58537,7 +58524,7 @@ function n6(e) {
58537
58524
  }
58538
58525
  function r6(e) {
58539
58526
  var t;
58540
- return e && (t = e.closest(tt(ce.scrollBody))) != null ? t : null;
58527
+ return e && (t = e.closest(et(ce.scrollBody))) != null ? t : null;
58541
58528
  }
58542
58529
  function Y$(e) {
58543
58530
  var t = Ot(e), a = I1(t);
@@ -58619,10 +58606,10 @@ function ii(e) {
58619
58606
  return a ? s6(a) ? ii(a) : a : null;
58620
58607
  }
58621
58608
  function I1(e) {
58622
- return e ? e.closest(tt(ce.category)) : null;
58609
+ return e ? e.closest(et(ce.category)) : null;
58623
58610
  }
58624
58611
  function l6(e) {
58625
- return e ? e.closest(tt(ce.categoryContent)) : null;
58612
+ return e ? e.closest(et(ce.categoryContent)) : null;
58626
58613
  }
58627
58614
  function d6(e) {
58628
58615
  return e.split("-").map(function(t) {
@@ -59676,7 +59663,7 @@ function Dee(e) {
59676
59663
  }, {
59677
59664
  threshold: [0, 1]
59678
59665
  });
59679
- n == null || n.querySelectorAll(tt(ce.category)).forEach(function(o) {
59666
+ n == null || n.querySelectorAll(et(ce.category)).forEach(function(o) {
59680
59667
  r.observe(o);
59681
59668
  });
59682
59669
  }, [t, e]);
@@ -59884,7 +59871,7 @@ var Zee = {
59884
59871
  }
59885
59872
  }, /* @__PURE__ */ w1("icnClearnSearch", {
59886
59873
  backgroundPositionY: "-40px"
59887
- }), /* @__PURE__ */ w1("btnClearSearch", Zee))), n2 = /* @__PURE__ */ tt(ce.emojiPicker) + " " + /* @__PURE__ */ tt(ce.emojiList), M6 = /* @__PURE__ */ ["button", tt(ce.emoji)].join(""), Fee = /* @__PURE__ */ tt(ce.category);
59874
+ }), /* @__PURE__ */ w1("btnClearSearch", Zee))), n2 = /* @__PURE__ */ et(ce.emojiPicker) + " " + /* @__PURE__ */ et(ce.emojiList), M6 = /* @__PURE__ */ ["button", et(ce.emoji)].join(""), Fee = /* @__PURE__ */ et(ce.category);
59888
59875
  function Gee(e) {
59889
59876
  var t = e.value;
59890
59877
  if (!t)
@@ -60908,12 +60895,12 @@ var L6 = rh(), l2 = function() {
60908
60895
  onScrollCapture: l2,
60909
60896
  onWheelCapture: l2,
60910
60897
  onTouchMoveCapture: l2
60911
- }), r = n[0], o = n[1], s = e.forwardProps, f = e.children, c = e.className, l = e.removeScrollBar, u = e.enabled, h = e.shards, y = e.sideCar, m = e.noIsolation, g = e.inert, v = e.allowPinchZoom, k = e.as, w = k === void 0 ? "div" : k, M = c0(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noIsolation", "inert", "allowPinchZoom", "as"]), x = y, b = nh([a, t]), L = $e($e({}, M), r);
60898
+ }), r = n[0], o = n[1], s = e.forwardProps, f = e.children, c = e.className, l = e.removeScrollBar, u = e.enabled, h = e.shards, y = e.sideCar, m = e.noIsolation, g = e.inert, v = e.allowPinchZoom, k = e.as, w = k === void 0 ? "div" : k, M = c0(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noIsolation", "inert", "allowPinchZoom", "as"]), x = y, b = nh([a, t]), L = _e(_e({}, M), r);
60912
60899
  return p.createElement(
60913
60900
  p.Fragment,
60914
60901
  null,
60915
60902
  u && p.createElement(x, { sideCar: L6, removeScrollBar: l, shards: h, noIsolation: m, inert: g, setCallbacks: o, allowPinchZoom: !!v, lockRef: a }),
60916
- s ? p.cloneElement(p.Children.only(f), $e($e({}, L), { ref: b })) : p.createElement(w, $e({}, L, { className: c, ref: b }), f)
60903
+ s ? p.cloneElement(p.Children.only(f), _e(_e({}, L), { ref: b })) : p.createElement(w, _e({}, L, { className: c, ref: b }), f)
60917
60904
  );
60918
60905
  });
60919
60906
  li.defaultProps = {
@@ -61094,7 +61081,7 @@ function $te(e) {
61094
61081
  }
61095
61082
  const e1e = ih(L6, $te);
61096
61083
  var T6 = p.forwardRef(function(e, t) {
61097
- return p.createElement(li, $e({}, e, { ref: t, sideCar: e1e }));
61084
+ return p.createElement(li, _e({}, e, { ref: t, sideCar: e1e }));
61098
61085
  });
61099
61086
  T6.classNames = li.classNames;
61100
61087
  const I6 = "Dialog", [N6, Jae] = pte(I6), [t1e, ia] = N6(I6), a1e = (e) => {
@@ -61668,7 +61655,7 @@ const _ae = Re(({ count: e = 0 }, t) => {
61668
61655
  }
61669
61656
  ));
61670
61657
  N1e.displayName = Kh.displayName;
61671
- var gf = "ToastProvider", [kf, D1e, z1e] = Eo("Toast"), [Y6, ane] = at("Toast", [z1e]), [E1e, ui] = Y6(gf), Q6 = (e) => {
61658
+ var gf = "ToastProvider", [kf, D1e, z1e] = Eo("Toast"), [Y6, ane] = tt("Toast", [z1e]), [E1e, ui] = Y6(gf), Q6 = (e) => {
61672
61659
  const {
61673
61660
  __scopeToast: t,
61674
61661
  label: a = "Notification",
@@ -62062,7 +62049,7 @@ var $l = (e, t, a = 0) => {
62062
62049
  function W1e(e = () => {
62063
62050
  }) {
62064
62051
  const t = ct(e);
62065
- Xe(() => {
62052
+ Je(() => {
62066
62053
  let a = 0, n = 0;
62067
62054
  return a = window.requestAnimationFrame(() => n = window.requestAnimationFrame(t)), () => {
62068
62055
  window.cancelAnimationFrame(a), window.cancelAnimationFrame(n);
@@ -62496,6 +62483,8 @@ export {
62496
62483
  Pae as DynamicModal,
62497
62484
  Hae as DynamicRadio,
62498
62485
  Wae as DynamicSelect,
62486
+ nte as EmojiPicker,
62487
+ ft as EmojiStyle,
62499
62488
  mJ as FloatingToolbar,
62500
62489
  Iae as GridLayout,
62501
62490
  ene as HoverCard,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fileverse/ui",
3
- "version": "4.1.2-patch-10",
3
+ "version": "4.1.3-patch-1",
4
4
  "files": [
5
5
  "/dist"
6
6
  ],