@factorialco/f0-react 2.28.0 → 2.28.2

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.
@@ -1,9 +1,9 @@
1
- import { g as da, B as ua, h as fa, i as ma, j as At, k as De, l as ha, m as p, n as J, o as ge, u as ie, T as pa, p as ga, q as ba, R as xa, r as va, s as re, t as wa, v as pt, w as rt, x as Re, A as _e, y as ya, z as Na, C as M, E as Ca, G as ka, H as ve, J as sn, K as Sa, L as Ia, M as W, N as on, S as O, O as we, Q as Fa, U as Aa, V as La, W as Ea, X as _a, Y as ke, Z as cn, _ as Oa, $ as be, a0 as $e, a1 as Da, a2 as gt, d as dn, a3 as Ce, a4 as Ta, a5 as un, a6 as ne, a7 as K, a8 as fn, a9 as mn, aa as za, ab as hn, ac as me, ad as ee, ae as Pa, af as Ba, ag as Ra, ah as $a, ai as pe, aj as Ge, ak as Wa, al as Ma, am as ja, an as Va, ao as He, ap as pn, aq as Ga, ar as Ha, as as Ua, at as We, au as Ka, av as qa, aw as Ya, ax as Za, ay as Ja, az as Xa, aA as Qa, aB as er, aC as tr, aD as nr, aE as lt, aF as it, aG as gn, aH as ar, aI as rr, aJ as lr, aK as ir, aL as Ue, aM as bt, aN as bn, aO as sr, aP as xn, aQ as or, aR as cr, aS as dr, aT as Ee, aU as ur, aV as Lt, aW as st, aX as fr, aY as mr, a as hr, b as pr, aZ as vn, a_ as gr, f as br, F as xr, a$ as wn, b0 as vr, b1 as yn, b2 as wr, b3 as yr, b4 as Nr, b5 as Cr, b6 as kr, b7 as Sr, b8 as Ir, b9 as Fr, ba as Ar, bb as Nn, bc as ue, bd as Cn, be as kn, bf as Lr, bg as Er, bh as _r, bi as Or, bj as Dr, bk as Tr, bl as zr, bm as Et, bn as _t, bo as Ot, bp as Pr, bq as Br, br as Rr, bs as $r, bt as Sn, bu as Wr, bv as Mr } from "./F0CanvasPanel-5xCiLQgH.js";
2
- import { bH as Lc, bG as Ec, bT as _c, bD as Oc, bE as Dc, bw as Tc, bx as zc, bU as Pc, by as Bc, bF as Rc, bP as $c, bQ as Wc, bz as Mc, bJ as jc, bI as Vc, bA as Gc, bB as Hc, bR as Uc, bV as Kc, bS as qc, bO as Yc, bL as Zc, bN as Jc, bK as Xc, bC as Qc, bM as ed } from "./F0CanvasPanel-5xCiLQgH.js";
1
+ import { g as da, B as ua, h as fa, i as ma, j as At, k as De, l as ha, m as p, n as X, o as ge, u as ie, T as pa, p as ga, q as ba, R as xa, r as va, s as re, t as wa, v as pt, w as rt, x as Re, A as _e, y as ya, z as Na, C as M, E as Ca, G as ka, H as ve, J as sn, K as Sa, L as Ia, M as W, N as on, S as O, O as we, Q as Fa, U as Aa, V as La, W as Ea, X as _a, Y as ke, Z as cn, _ as Oa, $ as be, a0 as $e, a1 as Da, a2 as gt, d as dn, a3 as Ce, a4 as Ta, a5 as un, a6 as ne, a7 as K, a8 as fn, a9 as mn, aa as za, ab as hn, ac as me, ad as ee, ae as Pa, af as Ba, ag as Ra, ah as $a, ai as pe, aj as Ge, ak as Wa, al as Ma, am as ja, an as Va, ao as He, ap as pn, aq as Ga, ar as Ha, as as Ua, at as We, au as Ka, av as qa, aw as Ya, ax as Za, ay as Xa, az as Ja, aA as Qa, aB as er, aC as tr, aD as nr, aE as lt, aF as it, aG as gn, aH as ar, aI as rr, aJ as lr, aK as ir, aL as Ue, aM as bt, aN as bn, aO as sr, aP as xn, aQ as or, aR as cr, aS as dr, aT as Ee, aU as ur, aV as Te, aW as Lt, aX as st, aY as fr, aZ as mr, a as hr, b as pr, a_ as vn, a$ as gr, f as br, F as xr, b0 as wn, b1 as vr, b2 as yn, b3 as wr, b4 as yr, b5 as Nr, b6 as Cr, b7 as kr, b8 as Sr, b9 as Ir, ba as Fr, bb as Ar, bc as Nn, bd as ue, be as xt, bf as vt, bg as wt, bh as Cn, bi as yt, bj as kn, bk as Sn, bl as Lr, bm as Er, bn as _r, bo as Or, bp as Dr, bq as Tr, br as zr, bs as Pr, bt as Br, bu as Rr, bv as Et, bw as _t, bx as Ot, by as $r, bz as Wr, bA as Mr, bB as jr, bC as In, bD as Vr, bE as Gr } from "./F0CanvasPanel-CKuB_a-C.js";
2
+ import { bQ as Lc, bP as Ec, c0 as _c, bM as Oc, bN as Dc, bF as Tc, bG as zc, c1 as Pc, bH as Bc, bO as Rc, bY as $c, bZ as Wc, bI as Mc, bS as jc, bR as Vc, bJ as Gc, bK as Hc, b_ as Uc, c2 as Kc, b$ as qc, bX as Yc, bU as Zc, bW as Xc, bT as Jc, bL as Qc, bV as ed } from "./F0CanvasPanel-CKuB_a-C.js";
3
3
  import { jsx as e, jsxs as o, Fragment as U } from "react/jsx-runtime";
4
- import se, { forwardRef as j, useRef as G, useTransition as jr, useState as _, useLayoutEffect as In, useId as ot, useContext as Ke, createContext as xt, useEffect as $, useCallback as Q, useMemo as q, Fragment as Vr, isValidElement as Gr, cloneElement as Fn, Children as An } from "react";
5
- import { C as Hr, P as Ur, g as Ln, c as Kr, a as En, F as ct, f as qr, b as Te, M as Yr, d as Zr, R as Dt, e as _n, u as Jr, h as On, i as vt, j as wt, k as yt, l as Dn, m as Nt, n as Xr, o as Qr, S as el, p as tl, A as nl, B as al, L as rl, q as ll, V as il, r as sl, s as Tt, t as ol, v as cl, O as dl } from "./useDataCollectionSource-DtX_WySE.js";
6
- import { E as nd, G as ad, z as rd, X as ld, H as id, Q as sd, ae as od, W as cd, D as dd, y as ud, a1 as fd, ak as md, a2 as hd, a3 as pd, I as gd, ag as bd, ah as xd, af as vd, ai as wd, Z as yd, a4 as Nd, ab as Cd, ad as kd, J as Sd, N as Id, T as Fd, $ as Ad, aj as Ld, a0 as Ed, _ as _d, K as Od, U as Dd, w as Td, x as zd, a6 as Pd, a7 as Bd, ac as Rd, Y as $d, a8 as Wd, a9 as Md, a5 as jd, aa as Vd } from "./useDataCollectionSource-DtX_WySE.js";
4
+ import se, { forwardRef as j, useRef as G, useTransition as Hr, useState as _, useLayoutEffect as Fn, useId as ot, useContext as Ke, createContext as Nt, useEffect as $, useCallback as Q, useMemo as q, Fragment as Ur, isValidElement as Kr, cloneElement as An, Children as Ln } from "react";
5
+ import { C as qr, P as Yr, g as En, c as Zr, a as _n, F as ct, f as Xr, M as Jr, b as Qr, R as Dt, d as On, u as el, e as Dn, S as tl, A as nl, B as al, L as rl, h as ll, V as il, i as sl, j as Tt, k as ol, l as cl, O as dl } from "./useDataCollectionSource-DnxSvCSr.js";
6
+ import { r as nd, s as ad, p as rd, H as ld, t as id, z as sd, a5 as od, G as cd, q as dd, o as ud, Q as fd, ab as md, U as hd, W as pd, v as gd, a7 as bd, a8 as xd, a6 as vd, a9 as wd, N as yd, X as Nd, a2 as Cd, a4 as kd, w as Sd, y as Id, D as Fd, J as Ad, aa as Ld, K as Ed, T as _d, x as Od, E as Dd, m as Td, n as zd, Z as Pd, _ as Bd, a3 as Rd, I as $d, $ as Wd, a0 as Md, Y as jd, a1 as Vd } from "./useDataCollectionSource-DnxSvCSr.js";
7
7
  const ul = da("Search", [
8
8
  ["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
9
9
  ["path", { d: "m21 21-4.3-4.3", key: "1qie3q" }]
@@ -83,8 +83,8 @@ function pl(t, n, a = []) {
83
83
  };
84
84
  }
85
85
  function gl({ breadcrumbs: t, append: n }) {
86
- const a = G(null), r = G(null), [, l] = jr(), [i, s] = _(null), c = (i?.collapsedItems || []).length > 0;
87
- return In(() => {
86
+ const a = G(null), r = G(null), [, l] = Hr(), [i, s] = _(null), c = (i?.collapsedItems || []).length > 0;
87
+ return Fn(() => {
88
88
  const d = a.current, f = r.current;
89
89
  if (!d || !f || f.children.length < t.length) return;
90
90
  const u = () => {
@@ -236,7 +236,7 @@ const bl = ge({
236
236
  transformStyle: t ? "preserve-3d" : void 0
237
237
  },
238
238
  children: /* @__PURE__ */ o(
239
- J.svg,
239
+ X.svg,
240
240
  {
241
241
  width: "100%",
242
242
  height: "100%",
@@ -264,7 +264,7 @@ const bl = ge({
264
264
  Pt.map((b) => /* @__PURE__ */ e("clipPath", { id: `${s}-${b.id}`, children: /* @__PURE__ */ e("path", { d: b.path }) }, b.id))
265
265
  ] }),
266
266
  /* @__PURE__ */ e("g", { clipPath: `url(#${s}-circle)`, children: Pt.map((b) => /* @__PURE__ */ e(
267
- J.foreignObject,
267
+ X.foreignObject,
268
268
  {
269
269
  x: "0",
270
270
  y: "0",
@@ -330,7 +330,7 @@ const bl = ge({
330
330
  )
331
331
  }
332
332
  );
333
- }, zn = j(xl), Pn = xt(null), vl = 15, wl = ({ children: t, enabled: n, onShow: a, ...r }) => {
333
+ }, zn = j(xl), Pn = Nt(null), vl = 15, wl = ({ children: t, enabled: n, onShow: a, ...r }) => {
334
334
  const [l, i] = _(n), [s, c] = _(!1), [d, f] = _(!0), [u, m] = _(
335
335
  vl
336
336
  ), h = G(null), g = (v) => {
@@ -390,7 +390,7 @@ const Bn = ({
390
390
  const { enabled: a, setOpen: r, open: l } = qe(), i = ie(), [s, c] = _(!1);
391
391
  return a ? /* @__PURE__ */ e("div", { className: "flex items-center", children: /* @__PURE__ */ e(pa, { children: /* @__PURE__ */ o(ga, { delayDuration: 850, disableHoverableContent: !0, children: [
392
392
  /* @__PURE__ */ e(ba, { asChild: !0, children: /* @__PURE__ */ e(
393
- J.div,
393
+ X.div,
394
394
  {
395
395
  animate: {
396
396
  "--gradient-angle": ["0deg", "360deg"]
@@ -450,7 +450,7 @@ const Bn = ({
450
450
  ) }),
451
451
  !l && /* @__PURE__ */ e(wa, { side: "left", className: "font-medium", children: i.ai.welcome })
452
452
  ] }) }) }) : null;
453
- }, Bt = "one_sidebar_locked", Rn = xt(void 0);
453
+ }, Bt = "one_sidebar_locked", Rn = Nt(void 0);
454
454
  function Se() {
455
455
  const t = Ke(Rn);
456
456
  return t === void 0 ? {
@@ -506,7 +506,7 @@ function yl({ children: t }) {
506
506
  }
507
507
  );
508
508
  }
509
- const Rt = J.create(M), $t = {
509
+ const Rt = X.create(M), $t = {
510
510
  initial: { scale: 1 },
511
511
  animate: { scale: 1 },
512
512
  exit: { scale: 0.5 },
@@ -887,7 +887,7 @@ const Rt = J.create(M), $t = {
887
887
  ) })
888
888
  ] }),
889
889
  /* @__PURE__ */ e(
890
- Hr,
890
+ qr,
891
891
  {
892
892
  columns: {
893
893
  default: 1
@@ -895,7 +895,7 @@ const Rt = J.create(M), $t = {
895
895
  showDots: !0,
896
896
  showArrows: !1,
897
897
  children: a?.products.map((d) => /* @__PURE__ */ e(
898
- Ur,
898
+ Yr,
899
899
  {
900
900
  ...d,
901
901
  isVisible: !0,
@@ -963,7 +963,7 @@ function Po({
963
963
  children: [
964
964
  /* @__PURE__ */ o("div", { className: "flex flex-grow items-center", children: [
965
965
  /* @__PURE__ */ e(_e, { children: !l && u !== "locked" && /* @__PURE__ */ e(
966
- J.div,
966
+ X.div,
967
967
  {
968
968
  initial: { opacity: 0, width: 0 },
969
969
  animate: { opacity: 1, width: "auto" },
@@ -1128,7 +1128,7 @@ function _l({ action: t }) {
1128
1128
  const Ol = () => {
1129
1129
  const t = ie();
1130
1130
  return /* @__PURE__ */ o(
1131
- J.div,
1131
+ X.div,
1132
1132
  {
1133
1133
  className: p(
1134
1134
  "relative isolate m-3 mt-2 flex flex-col gap-3 rounded-lg border border-solid border-f1-border",
@@ -1205,7 +1205,7 @@ const Ol = () => {
1205
1205
  isOpen: n,
1206
1206
  autoClearMinutes: l
1207
1207
  }), /* @__PURE__ */ e(_e, { children: n && /* @__PURE__ */ e(
1208
- J.div,
1208
+ X.div,
1209
1209
  {
1210
1210
  "aria-hidden": !n,
1211
1211
  className: "relative p-1 pl-1.5 w-[360px] flex h-full flex-col overflow-hidden ",
@@ -1220,7 +1220,7 @@ const Ol = () => {
1220
1220
  a && r(!1);
1221
1221
  },
1222
1222
  children: /* @__PURE__ */ e("div", { className: "border border-solid border-f1-border-secondary bg-f1-special-page shadow xs:rounded-xl h-full w-full", children: /* @__PURE__ */ e(
1223
- J.div,
1223
+ X.div,
1224
1224
  {
1225
1225
  className: "relative flex h-full w-full flex-col overflow-x-hidden ",
1226
1226
  initial: { opacity: 0 },
@@ -2127,11 +2127,11 @@ const Vt = ({
2127
2127
  selected: !!Y,
2128
2128
  partialSelected: !!Y
2129
2129
  };
2130
- const X = (A.subItems ?? []).filter(
2130
+ const J = (A.subItems ?? []).filter(
2131
2131
  (te) => Y?.subItems?.some(
2132
2132
  (fe) => fe.subId === te.subId
2133
2133
  )
2134
- ), Z = (A.subItems?.length ?? 0) === X.length, de = !Z && X.length > 0;
2134
+ ), Z = (A.subItems?.length ?? 0) === J.length, de = !Z && J.length > 0;
2135
2135
  return { selected: Z, partialSelected: de };
2136
2136
  },
2137
2137
  [t, S]
@@ -2147,27 +2147,27 @@ const Vt = ({
2147
2147
  goToLast: N
2148
2148
  }
2149
2149
  );
2150
- const Y = L ? A.index - 1 : A.index, X = n[Y], { selected: Z, partialSelected: de } = V(X);
2150
+ const Y = L ? A.index - 1 : A.index, J = n[Y], { selected: Z, partialSelected: de } = V(J);
2151
2151
  return /* @__PURE__ */ e(
2152
2152
  Pe,
2153
2153
  {
2154
- expanded: X.expanded ?? !1,
2155
- onExpand: () => b(X, !0),
2154
+ expanded: J.expanded ?? !1,
2155
+ onExpand: () => b(J, !0),
2156
2156
  search: l,
2157
2157
  groupView: t,
2158
- entity: X,
2158
+ entity: J,
2159
2159
  onSelect: i,
2160
2160
  onRemove: s,
2161
2161
  selected: Z,
2162
2162
  partialSelected: de,
2163
- showGroupIcon: Jl(a, r),
2163
+ showGroupIcon: Xl(a, r),
2164
2164
  singleSelector: T,
2165
2165
  goToFirst: x,
2166
2166
  goToLast: N,
2167
2167
  disabled: k,
2168
2168
  hiddenAvatar: C
2169
2169
  },
2170
- X.id
2170
+ J.id
2171
2171
  );
2172
2172
  },
2173
2173
  [
@@ -2205,12 +2205,12 @@ const Vt = ({
2205
2205
  subSearchKeys: A.searchKeys
2206
2206
  }
2207
2207
  },
2208
- ...(A.subItems ?? []).map((X) => ({
2208
+ ...(A.subItems ?? []).map((J) => ({
2209
2209
  parent: {
2210
2210
  ...A,
2211
2211
  expanded: A.expanded ?? Y?.expanded ?? !1
2212
2212
  },
2213
- subItem: X
2213
+ subItem: J
2214
2214
  }))
2215
2215
  ];
2216
2216
  }).filter(
@@ -2235,8 +2235,8 @@ const Vt = ({
2235
2235
  goToLast: N
2236
2236
  }
2237
2237
  );
2238
- const Y = L ? A.index - 1 : A.index, X = le[Y].parent, Z = le[Y].subItem;
2239
- if (!X) {
2238
+ const Y = L ? A.index - 1 : A.index, J = le[Y].parent, Z = le[Y].subItem;
2239
+ if (!J) {
2240
2240
  const te = {
2241
2241
  id: Z.subId,
2242
2242
  name: Z.subName,
@@ -2278,9 +2278,9 @@ const Vt = ({
2278
2278
  if (!de) {
2279
2279
  const te = ze(
2280
2280
  h,
2281
- X.id
2281
+ J.id
2282
2282
  );
2283
- de = !!(X?.subItems ?? []).filter(
2283
+ de = !!(J?.subItems ?? []).filter(
2284
2284
  (he) => te?.subItems?.some(
2285
2285
  (Oe) => Oe.subId === he.subId
2286
2286
  )
@@ -2300,9 +2300,9 @@ const Vt = ({
2300
2300
  searchKeys: Z.subSearchKeys
2301
2301
  },
2302
2302
  onSelect: () => {
2303
- d(X, Z);
2303
+ d(J, Z);
2304
2304
  },
2305
- onRemove: () => c(X, Z),
2305
+ onRemove: () => c(J, Z),
2306
2306
  selected: !!de,
2307
2307
  partialSelected: !1,
2308
2308
  singleSelector: T,
@@ -2354,8 +2354,8 @@ const Vt = ({
2354
2354
  ).length;
2355
2355
  });
2356
2356
  }
2357
- const X = A > 0 && Y === A, Z = Y > 0;
2358
- return [X, Z];
2357
+ const J = A > 0 && Y === A, Z = Y > 0;
2358
+ return [J, Z];
2359
2359
  }, [n, S, t]), Fe = le.length, la = !T && (y || I), ia = E && E.length > 0, sa = !w && (!T && la || ia);
2360
2360
  return /* @__PURE__ */ o(
2361
2361
  "div",
@@ -2468,7 +2468,7 @@ const Vt = ({
2468
2468
  ]
2469
2469
  }
2470
2470
  );
2471
- }, ze = (t, n) => t.find((a) => a.id === n), Jl = (t, n) => t.find((a) => a.value === n)?.groupType === "team", Xl = ({
2471
+ }, ze = (t, n) => t.find((a) => a.id === n), Xl = (t, n) => t.find((a) => a.value === n)?.groupType === "team", Jl = ({
2472
2472
  entity: t,
2473
2473
  onRemove: n,
2474
2474
  disabled: a = !1,
@@ -2549,7 +2549,7 @@ const Vt = ({
2549
2549
  renderer: (f) => {
2550
2550
  const u = c[f.index];
2551
2551
  return u ? /* @__PURE__ */ e(
2552
- Xl,
2552
+ Jl,
2553
2553
  {
2554
2554
  deactivated: u.subItem.subDeactivated,
2555
2555
  entity: u.subItem,
@@ -2709,7 +2709,7 @@ const Vt = ({
2709
2709
  src: E[0].subItem.subAvatar,
2710
2710
  deactivated: E[0].subItem.subDeactivated
2711
2711
  },
2712
- append: I ?? /* @__PURE__ */ e(U, { children: /* @__PURE__ */ e(Ja, { open: R, disabled: r, size: z }) }),
2712
+ append: I ?? /* @__PURE__ */ e(U, { children: /* @__PURE__ */ e(Xa, { open: R, disabled: r, size: z }) }),
2713
2713
  children: /* @__PURE__ */ e(
2714
2714
  "span",
2715
2715
  {
@@ -2741,7 +2741,7 @@ const Vt = ({
2741
2741
  $(() => {
2742
2742
  t.defaultOpen && n && t.onOpenChange?.(!0);
2743
2743
  }, [t.defaultOpen]);
2744
- const [l, i] = _(t.entities), [s, c] = _(""), [d, f] = Xa("", 300), u = q(
2744
+ const [l, i] = _(t.entities), [s, c] = _(""), [d, f] = Ja("", 300), u = q(
2745
2745
  () => t.entities.some(
2746
2746
  (w) => w.subItems && w.subItems.length > 0
2747
2747
  ),
@@ -2967,7 +2967,7 @@ const Vt = ({
2967
2967
  i
2968
2968
  ]);
2969
2969
  const L = G(null), [H, T] = _(0);
2970
- return In(() => {
2970
+ return Fn(() => {
2971
2971
  const w = () => {
2972
2972
  L.current && T(L.current.offsetWidth);
2973
2973
  };
@@ -3139,7 +3139,7 @@ const ai = ({
3139
3139
  onChange(h) {
3140
3140
  h && d?.(t);
3141
3141
  }
3142
- }), u = Ln(n, {
3142
+ }), u = En(n, {
3143
3143
  yesterdayRelative: !1
3144
3144
  });
3145
3145
  return /* @__PURE__ */ o(
@@ -3218,7 +3218,7 @@ const ai = ({
3218
3218
  onEndReached: r,
3219
3219
  onEndReachedItemsThreshold: l = 5
3220
3220
  }) => {
3221
- const i = ie(), s = Kr(t, "createdAt"), c = Object.values(s).slice().flatMap((u) => u.map((m) => m.id)).slice(-l), d = ar((u) => {
3221
+ const i = ie(), s = Zr(t, "createdAt"), c = Object.values(s).slice().flatMap((u) => u.map((m) => m.id)).slice(-l), d = ar((u) => {
3222
3222
  c.includes(u) && r?.();
3223
3223
  }, 1e3), f = ci(
3224
3224
  Object.entries(s).filter(([u, m]) => !!m.length)
@@ -3332,7 +3332,7 @@ function hi({
3332
3332
  a ? "bottom-0.5" : "-bottom-[3px]"
3333
3333
  ),
3334
3334
  children: /* @__PURE__ */ e(
3335
- En,
3335
+ _n,
3336
3336
  {
3337
3337
  lastEmojiReaction: l,
3338
3338
  onSelect: i,
@@ -3535,7 +3535,7 @@ function vi({ items: t, onInteraction: n, locale: a, action: r }) {
3535
3535
  hideLabel: !0
3536
3536
  }
3537
3537
  ),
3538
- /* @__PURE__ */ e(En, { onSelect: n, locale: a }),
3538
+ /* @__PURE__ */ e(_n, { onSelect: n, locale: a }),
3539
3539
  t.map((l) => /* @__PURE__ */ e(
3540
3540
  xi,
3541
3541
  {
@@ -3572,7 +3572,7 @@ const yi = () => /* @__PURE__ */ o("div", { className: "flex flex-col justify-ar
3572
3572
  ] }), Un = ee(
3573
3573
  Hn,
3574
3574
  yi
3575
- ), Jt = ({ tags: t, right: n }) => /* @__PURE__ */ e(
3575
+ ), Xt = ({ tags: t, right: n }) => /* @__PURE__ */ e(
3576
3576
  "div",
3577
3577
  {
3578
3578
  className: p(
@@ -3683,8 +3683,8 @@ const yi = () => /* @__PURE__ */ o("div", { className: "flex flex-col justify-ar
3683
3683
  ] })
3684
3684
  ] }),
3685
3685
  (c || d) && /* @__PURE__ */ o("div", { className: "flex flex-row items-center justify-between", children: [
3686
- c && /* @__PURE__ */ e(Jt, { tags: c }),
3687
- d && /* @__PURE__ */ e(Jt, { tags: d, right: !0 })
3686
+ c && /* @__PURE__ */ e(Xt, { tags: c }),
3687
+ d && /* @__PURE__ */ e(Xt, { tags: d, right: !0 })
3688
3688
  ] })
3689
3689
  ] })
3690
3690
  ]
@@ -3703,7 +3703,7 @@ const yi = () => /* @__PURE__ */ o("div", { className: "flex flex-col justify-ar
3703
3703
  place: a,
3704
3704
  date: r
3705
3705
  }) => {
3706
- let l = qr(r);
3706
+ let l = Xr(r);
3707
3707
  const i = (s) => {
3708
3708
  s.stopPropagation();
3709
3709
  };
@@ -3799,7 +3799,7 @@ const yi = () => /* @__PURE__ */ o("div", { className: "flex flex-col justify-ar
3799
3799
  noReactionsButton: v = !1,
3800
3800
  descriptionExpandable: y = !1
3801
3801
  }) => {
3802
- const I = ot(), z = ot(), R = G(null), [D, E] = _(null), [L, H] = _(!1), T = [f.views, f.comments].filter(Boolean).join(" · "), w = y && D?.id === t && D.description === i, k = !w, C = Ln(r), F = () => {
3802
+ const I = ot(), z = ot(), R = G(null), [D, E] = _(null), [L, H] = _(!1), T = [f.views, f.comments].filter(Boolean).join(" · "), w = y && D?.id === t && D.description === i, k = !w, C = En(r), F = () => {
3803
3803
  s(t);
3804
3804
  }, B = (S) => {
3805
3805
  S.stopPropagation();
@@ -4148,7 +4148,7 @@ function _i({
4148
4148
  ai: r,
4149
4149
  aiPromotion: l
4150
4150
  }) {
4151
- const i = r?.enabled ? hr : l?.enabled ? $l : Vr, s = r?.enabled ? r : l?.enabled ? l : void 0;
4151
+ const i = r?.enabled ? hr : l?.enabled ? $l : Ur, s = r?.enabled ? r : l?.enabled ? l : void 0;
4152
4152
  return /* @__PURE__ */ e(i, { ...s, children: /* @__PURE__ */ e(
4153
4153
  zi,
4154
4154
  {
@@ -4222,7 +4222,7 @@ function zi({
4222
4222
  }, [u, d]), $(() => {
4223
4223
  d(R);
4224
4224
  }, [R, d]), Ti(u, F), /* @__PURE__ */ e(
4225
- Yr,
4225
+ Jr,
4226
4226
  {
4227
4227
  reducedMotion: f ? "always" : "never",
4228
4228
  transition: {
@@ -4233,7 +4233,7 @@ function zi({
4233
4233
  /* @__PURE__ */ e("div", { className: "col-[1/-1]", children: l }),
4234
4234
  /* @__PURE__ */ e(vn, { id: "ai-chat-group", children: /* @__PURE__ */ o("div", { className: "relative isolate flex h-full", children: [
4235
4235
  /* @__PURE__ */ e(_e, { children: i === "unlocked" && /* @__PURE__ */ e(
4236
- J.nav,
4236
+ X.nav,
4237
4237
  {
4238
4238
  className: p(
4239
4239
  "fixed inset-0 z-20 bg-f1-background-inverse",
@@ -4264,7 +4264,7 @@ function zi({
4264
4264
  }
4265
4265
  ),
4266
4266
  /* @__PURE__ */ o(
4267
- J.div,
4267
+ X.div,
4268
4268
  {
4269
4269
  className: "relative min-w-0 flex-1",
4270
4270
  animate: {
@@ -4273,7 +4273,7 @@ function zi({
4273
4273
  transition: { paddingRight: Li },
4274
4274
  children: [
4275
4275
  /* @__PURE__ */ e(
4276
- J.main,
4276
+ X.main,
4277
4277
  {
4278
4278
  id: "content",
4279
4279
  layoutId: "main",
@@ -4285,7 +4285,7 @@ function zi({
4285
4285
  ),
4286
4286
  layoutDependency: i,
4287
4287
  children: /* @__PURE__ */ e(
4288
- J.div,
4288
+ X.div,
4289
4289
  {
4290
4290
  className: p(
4291
4291
  "flex max-w-full flex-1",
@@ -4319,7 +4319,7 @@ function zi({
4319
4319
  }
4320
4320
  ),
4321
4321
  t?.enabled && /* @__PURE__ */ e(
4322
- J.div,
4322
+ X.div,
4323
4323
  {
4324
4324
  className: p(
4325
4325
  "pointer-events-none",
@@ -4402,7 +4402,7 @@ function Zn({
4402
4402
  ),
4403
4403
  children: [
4404
4404
  n?.onPulseClick ? /* @__PURE__ */ e(
4405
- Zr,
4405
+ Qr,
4406
4406
  {
4407
4407
  src: n.employeeAvatar,
4408
4408
  firstName: n.employeeFirstName,
@@ -4505,7 +4505,7 @@ function Ri({ label: t, options: n, hasNewUpdate: a }) {
4505
4505
  const Ko = ne(
4506
4506
  K("OmniButton", Ri)
4507
4507
  );
4508
- function Jn({ children: t, header: n, embedded: a = !1 }) {
4508
+ function Xn({ children: t, header: n, embedded: a = !1 }) {
4509
4509
  return /* @__PURE__ */ o(
4510
4510
  "div",
4511
4511
  {
@@ -4520,8 +4520,8 @@ function Jn({ children: t, header: n, embedded: a = !1 }) {
4520
4520
  }
4521
4521
  );
4522
4522
  }
4523
- Jn.displayName = "Page";
4524
- const qo = ne(K("Page", Jn));
4523
+ Xn.displayName = "Page";
4524
+ const qo = ne(K("Page", Xn));
4525
4525
  function $i({
4526
4526
  companies: t,
4527
4527
  selected: n,
@@ -4538,7 +4538,7 @@ function $i({
4538
4538
  /* @__PURE__ */ e(O, { className: "size-6" }),
4539
4539
  /* @__PURE__ */ e(O, { className: "h-3 w-14" })
4540
4540
  ] }) : t.length + (i?.length || 0) === 1 ? /* @__PURE__ */ e("div", { className: "p-1.5", style: { maxWidth: "168px" }, children: /* @__PURE__ */ e(
4541
- Xt,
4541
+ Jt,
4542
4542
  {
4543
4543
  company: s,
4544
4544
  withNotification: l
@@ -4551,7 +4551,7 @@ function $i({
4551
4551
  onChange: a,
4552
4552
  additionalOptions: i,
4553
4553
  children: /* @__PURE__ */ e(
4554
- Xt,
4554
+ Jt,
4555
4555
  {
4556
4556
  company: s,
4557
4557
  withNotification: l
@@ -4615,7 +4615,7 @@ const Wi = ({
4615
4615
  children: [
4616
4616
  r,
4617
4617
  /* @__PURE__ */ e("div", { className: "flex w-5 shrink-0 items-center justify-center", children: /* @__PURE__ */ e("div", { className: "flex h-3 w-3 items-center justify-center rounded-2xs bg-f1-background-secondary transition-all", children: /* @__PURE__ */ e(
4618
- J.div,
4618
+ X.div,
4619
4619
  {
4620
4620
  animate: { rotate: s ? 180 : 0 },
4621
4621
  transition: { duration: 0.2 },
@@ -4628,7 +4628,7 @@ const Wi = ({
4628
4628
  )
4629
4629
  }
4630
4630
  );
4631
- }, Xt = ({
4631
+ }, Jt = ({
4632
4632
  company: t,
4633
4633
  withNotification: n = !1
4634
4634
  }) => /* @__PURE__ */ o(
@@ -4805,11 +4805,11 @@ function Vi() {
4805
4805
  n(window.matchMedia("(pointer: coarse)").matches);
4806
4806
  }, []), t;
4807
4807
  }
4808
- const Xn = xt(void 0);
4808
+ const Jn = Nt(void 0);
4809
4809
  function Gi({ children: t }) {
4810
4810
  const [n, a] = _(!1), [r, l] = _(null);
4811
4811
  return /* @__PURE__ */ e(
4812
- Xn.Provider,
4812
+ Jn.Provider,
4813
4813
  {
4814
4814
  value: { isDragging: n, setIsDragging: a, draggedItemId: r, setDraggedItemId: l },
4815
4815
  children: t
@@ -4817,7 +4817,7 @@ function Gi({ children: t }) {
4817
4817
  );
4818
4818
  }
4819
4819
  function It() {
4820
- const t = Ke(Xn);
4820
+ const t = Ke(Jn);
4821
4821
  if (!t)
4822
4822
  throw new Error("useDragContext must be used within a DragProvider");
4823
4823
  return t;
@@ -4956,7 +4956,7 @@ const Hi = ({
4956
4956
  )
4957
4957
  ] }), [t, v, I, w, L, n]);
4958
4958
  return d ? /* @__PURE__ */ e(
4959
- _n,
4959
+ On,
4960
4960
  {
4961
4961
  value: t,
4962
4962
  drag: "y",
@@ -5002,7 +5002,7 @@ const Hi = ({
5002
5002
  children: [
5003
5003
  t,
5004
5004
  /* @__PURE__ */ e(
5005
- J.div,
5005
+ X.div,
5006
5006
  {
5007
5007
  initial: !1,
5008
5008
  animate: { rotate: c ? 0 : -90 },
@@ -5022,7 +5022,7 @@ const Hi = ({
5022
5022
  }
5023
5023
  ) }),
5024
5024
  /* @__PURE__ */ e(Ir, { forceMount: !0, className: "flex flex-col gap-1", children: /* @__PURE__ */ e(
5025
- J.div,
5025
+ X.div,
5026
5026
  {
5027
5027
  initial: !1,
5028
5028
  animate: {
@@ -5046,7 +5046,7 @@ const Hi = ({
5046
5046
  onDragEnd: l,
5047
5047
  currentOrder: i
5048
5048
  }) => {
5049
- const { isDragging: s, setIsDragging: c } = It(), d = G(!1), f = Jr(), u = () => {
5049
+ const { isDragging: s, setIsDragging: c } = It(), d = G(!1), f = el(), u = () => {
5050
5050
  c(!0), d.current = !0;
5051
5051
  }, m = () => {
5052
5052
  c(!1), setTimeout(() => {
@@ -5076,7 +5076,7 @@ const Hi = ({
5076
5076
  }
5077
5077
  );
5078
5078
  return n ? /* @__PURE__ */ e(
5079
- _n,
5079
+ On,
5080
5080
  {
5081
5081
  id: t.id,
5082
5082
  value: t,
@@ -5114,7 +5114,7 @@ const Hi = ({
5114
5114
  }
5115
5115
  ) : g;
5116
5116
  };
5117
- function Jo({
5117
+ function Xo({
5118
5118
  tree: t,
5119
5119
  onCollapse: n,
5120
5120
  onSort: a,
@@ -5301,7 +5301,7 @@ const Yi = ({
5301
5301
  tooltip: t,
5302
5302
  children: n
5303
5303
  }) => t ? /* @__PURE__ */ e(be, { description: t, children: n }) : n;
5304
- function Xo({
5304
+ function Jo({
5305
5305
  onClick: t,
5306
5306
  placeholder: n,
5307
5307
  shortcut: a = ["cmd", "k"],
@@ -5328,7 +5328,7 @@ function Xo({
5328
5328
  ) });
5329
5329
  }
5330
5330
  const Qt = ({ position: t }) => /* @__PURE__ */ e(
5331
- J.div,
5331
+ X.div,
5332
5332
  {
5333
5333
  initial: { opacity: 0 },
5334
5334
  animate: { opacity: 0.5 },
@@ -5362,14 +5362,14 @@ function Zi({
5362
5362
  top: { duration: s ? 0 : 0.1 },
5363
5363
  left: { duration: s ? 0 : 0.1 },
5364
5364
  default: { duration: s ? 0 : 0.2 }
5365
- }, g = () => a ? Gr(a) && r ? Fn(
5365
+ }, g = () => a ? Kr(a) && r ? An(
5366
5366
  a,
5367
5367
  {
5368
5368
  onDropdownClick: r
5369
5369
  }
5370
5370
  ) : a : null;
5371
5371
  return /* @__PURE__ */ o(
5372
- J.aside,
5372
+ X.aside,
5373
5373
  {
5374
5374
  initial: !1,
5375
5375
  "aria-label": m.navigation.sidebar.label,
@@ -5423,7 +5423,7 @@ function Zi({
5423
5423
  }
5424
5424
  );
5425
5425
  }
5426
- const Qo = ne(Zi), Ji = {
5426
+ const Qo = ne(Zi), Xi = {
5427
5427
  waiting: "neutral",
5428
5428
  pending: "neutral",
5429
5429
  approved: "positive",
@@ -5439,7 +5439,7 @@ const Qo = ne(Zi), Ji = {
5439
5439
  type: "critical",
5440
5440
  size: "sm"
5441
5441
  }
5442
- }, Xi = {
5442
+ }, Ji = {
5443
5443
  icon: wn,
5444
5444
  type: "neutral",
5445
5445
  size: "sm"
@@ -5449,7 +5449,7 @@ const Qo = ne(Zi), Ji = {
5449
5449
  critical: 2,
5450
5450
  warning: 1,
5451
5451
  neutral: 0
5452
- }, es = (t) => t in en ? en[t] : Xi;
5452
+ }, es = (t) => t in en ? en[t] : Ji;
5453
5453
  function tn(t) {
5454
5454
  return Qi[t ?? "neutral"] ?? 0;
5455
5455
  }
@@ -5479,7 +5479,7 @@ const ts = ({
5479
5479
  /* @__PURE__ */ e("p", { className: "font-medium text-f1-foreground", children: t }),
5480
5480
  /* @__PURE__ */ e("p", { className: "text-f1-foreground-secondary", children: i })
5481
5481
  ] }),
5482
- /* @__PURE__ */ e($e, { text: s, variant: Ji[a] })
5482
+ /* @__PURE__ */ e($e, { text: s, variant: Xi[a] })
5483
5483
  ] }),
5484
5484
  /* @__PURE__ */ e("div", { className: "w-full", children: /* @__PURE__ */ e(Nn, { avatars: c, layout: "fill", type: "person", size: "md" }) })
5485
5485
  ] });
@@ -5750,7 +5750,7 @@ const ts = ({
5750
5750
  },
5751
5751
  rs
5752
5752
  ), ds = ({ children: t }) => {
5753
- const { enabled: n } = On();
5753
+ const { enabled: n } = Dn();
5754
5754
  return /* @__PURE__ */ e(
5755
5755
  "div",
5756
5756
  {
@@ -5760,7 +5760,7 @@ const ts = ({
5760
5760
  ),
5761
5761
  "aria-hidden": n,
5762
5762
  children: /* @__PURE__ */ e(
5763
- J.div,
5763
+ X.div,
5764
5764
  {
5765
5765
  className: "h-full w-full",
5766
5766
  animate: {
@@ -5774,7 +5774,7 @@ const ts = ({
5774
5774
  }
5775
5775
  );
5776
5776
  }, us = () => /* @__PURE__ */ e("div", { className: "min-h-[0.15rem] min-w-[0.15rem] rounded-full bg-f1-foreground-secondary" }), fs = j(function({ header: n, children: a, action: r, summaries: l, alert: i, status: s, fullHeight: c = !1 }, d) {
5777
- const { enabled: f, toggle: u } = On();
5777
+ const { enabled: f, toggle: u } = Dn();
5778
5778
  $(() => {
5779
5779
  if (i && s)
5780
5780
  throw Error(
@@ -5785,7 +5785,7 @@ const ts = ({
5785
5785
  n?.link?.onClick?.();
5786
5786
  };
5787
5787
  return /* @__PURE__ */ o(
5788
- vt,
5788
+ xt,
5789
5789
  {
5790
5790
  className: p(
5791
5791
  c ? "h-full" : "",
@@ -5793,18 +5793,18 @@ const ts = ({
5793
5793
  ),
5794
5794
  ref: d,
5795
5795
  children: [
5796
- n && /* @__PURE__ */ e(wt, { className: "-mr-1 -mt-1", children: /* @__PURE__ */ o("div", { className: "flex w-full flex-1 flex-col gap-4", children: [
5796
+ n && /* @__PURE__ */ e(vt, { className: "-mr-1 -mt-1", children: /* @__PURE__ */ o("div", { className: "flex w-full flex-1 flex-col gap-4", children: [
5797
5797
  /* @__PURE__ */ o("div", { className: "flex flex-1 flex-row flex-nowrap items-center justify-between gap-2", children: [
5798
5798
  /* @__PURE__ */ o("div", { className: "flex min-h-6 grow flex-row items-center gap-1 truncate", children: [
5799
- n.title && /* @__PURE__ */ e(yt, { className: "truncate", children: n.title }),
5799
+ n.title && /* @__PURE__ */ e(wt, { className: "truncate", children: n.title }),
5800
5800
  n.subtitle && /* @__PURE__ */ o("div", { className: "flex flex-row items-center gap-1", children: [
5801
5801
  /* @__PURE__ */ e(us, {}),
5802
- /* @__PURE__ */ e(Dn, { className: "truncate", children: n.subtitle })
5802
+ /* @__PURE__ */ e(Cn, { className: "truncate", children: n.subtitle })
5803
5803
  ] }),
5804
5804
  n.info && /* @__PURE__ */ e(be, { label: n.info, children: /* @__PURE__ */ e(
5805
5805
  M,
5806
5806
  {
5807
- icon: Cn,
5807
+ icon: kn,
5808
5808
  size: "sm",
5809
5809
  className: "text-f1-foreground-secondary"
5810
5810
  }
@@ -5812,10 +5812,10 @@ const ts = ({
5812
5812
  n.count && /* @__PURE__ */ e("div", { className: "ml-0.5", children: /* @__PURE__ */ e(He, { value: n.count }) })
5813
5813
  ] }),
5814
5814
  /* @__PURE__ */ o("div", { className: "flex flex-row items-center gap-3", children: [
5815
- i && /* @__PURE__ */ e(kn, { text: i, level: "critical" }),
5815
+ i && /* @__PURE__ */ e(Sn, { text: i, level: "critical" }),
5816
5816
  s && /* @__PURE__ */ e($e, { text: s.text, variant: s.variant }),
5817
5817
  n.link && /* @__PURE__ */ e(
5818
- Xr,
5818
+ Lr,
5819
5819
  {
5820
5820
  onClick: h,
5821
5821
  href: n.link.url,
@@ -5826,11 +5826,11 @@ const ts = ({
5826
5826
  ] })
5827
5827
  ] }),
5828
5828
  n.comment && /* @__PURE__ */ o("div", { className: "flex flex-row items-center gap-3 overflow-visible", children: [
5829
- /* @__PURE__ */ e(ds, { children: /* @__PURE__ */ e(Qr, { children: n.comment }) }),
5829
+ /* @__PURE__ */ e(ds, { children: /* @__PURE__ */ e(Er, { children: n.comment }) }),
5830
5830
  !!n.canBeBlurred && /* @__PURE__ */ e("span", { children: /* @__PURE__ */ e(
5831
5831
  W,
5832
5832
  {
5833
- icon: f ? Lr : Er,
5833
+ icon: f ? _r : Or,
5834
5834
  hideLabel: !0,
5835
5835
  label: "hide/show",
5836
5836
  variant: "outline",
@@ -5840,7 +5840,7 @@ const ts = ({
5840
5840
  ) })
5841
5841
  ] })
5842
5842
  ] }) }),
5843
- /* @__PURE__ */ o(Nt, { className: "flex h-full flex-col gap-4", children: [
5843
+ /* @__PURE__ */ o(yt, { className: "flex h-full flex-col gap-4", children: [
5844
5844
  l && /* @__PURE__ */ e("div", { className: "flex flex-row", children: l.map((g, b) => /* @__PURE__ */ o("div", { className: "grow", children: [
5845
5845
  /* @__PURE__ */ e("div", { className: "mb-0.5 text-sm text-f1-foreground-secondary", children: g.label }),
5846
5846
  /* @__PURE__ */ o("div", { className: "flex flex-row items-end gap-0.5 text-2xl font-semibold", children: [
@@ -5850,11 +5850,11 @@ const ts = ({
5850
5850
  ] })
5851
5851
  ] }, b)) }),
5852
5852
  se.Children.toArray(a).filter(m).map((g, b) => /* @__PURE__ */ o(se.Fragment, { children: [
5853
- b > 0 && /* @__PURE__ */ e(el, { bare: !0 }),
5853
+ b > 0 && /* @__PURE__ */ e(tl, { bare: !0 }),
5854
5854
  g
5855
5855
  ] }, b))
5856
5856
  ] }),
5857
- r && /* @__PURE__ */ e(tl, { children: /* @__PURE__ */ e(W, { variant: "neutral", size: "sm", ...r }) })
5857
+ r && /* @__PURE__ */ e(Dr, { children: /* @__PURE__ */ e(W, { variant: "neutral", size: "sm", ...r }) })
5858
5858
  ]
5859
5859
  }
5860
5860
  );
@@ -5869,7 +5869,7 @@ const ts = ({
5869
5869
  }), hs = j(
5870
5870
  function({ header: n, height: a }, r) {
5871
5871
  return /* @__PURE__ */ o(
5872
- vt,
5872
+ xt,
5873
5873
  {
5874
5874
  className: p(
5875
5875
  "flex gap-4 border-f1-border-secondary",
@@ -5879,19 +5879,19 @@ const ts = ({
5879
5879
  "aria-live": "polite",
5880
5880
  "aria-busy": !0,
5881
5881
  children: [
5882
- /* @__PURE__ */ e(wt, { className: "-mr-1 -mt-1", children: /* @__PURE__ */ o(
5882
+ /* @__PURE__ */ e(vt, { className: "-mr-1 -mt-1", children: /* @__PURE__ */ o(
5883
5883
  "div",
5884
5884
  {
5885
5885
  className: "flex h-6 w-full flex-row items-center gap-1.5",
5886
5886
  "aria-hidden": !0,
5887
5887
  children: [
5888
- n?.title ? /* @__PURE__ */ e(yt, { children: n.title }) : /* @__PURE__ */ e(O, { className: "h-4 w-full max-w-16" }),
5889
- n?.subtitle && /* @__PURE__ */ e(Dn, { children: n.subtitle })
5888
+ n?.title ? /* @__PURE__ */ e(wt, { children: n.title }) : /* @__PURE__ */ e(O, { className: "h-4 w-full max-w-16" }),
5889
+ n?.subtitle && /* @__PURE__ */ e(Cn, { children: n.subtitle })
5890
5890
  ]
5891
5891
  }
5892
5892
  ) }),
5893
5893
  /* @__PURE__ */ e(
5894
- Nt,
5894
+ yt,
5895
5895
  {
5896
5896
  "aria-hidden": !0,
5897
5897
  className: p(a !== "full" && ms({ height: a })),
@@ -6350,7 +6350,7 @@ const ts = ({
6350
6350
  function({ title: n, content: a, buttonLabel: r, buttonIcon: l, buttonAction: i, type: s }, c) {
6351
6351
  const d = _s[s], f = Os[s], u = Ds[s], m = Ts[s];
6352
6352
  return /* @__PURE__ */ o(
6353
- vt,
6353
+ xt,
6354
6354
  {
6355
6355
  className: p(
6356
6356
  "relative flex gap-4 overflow-hidden border-dashed",
@@ -6358,8 +6358,8 @@ const ts = ({
6358
6358
  ),
6359
6359
  ref: c,
6360
6360
  children: [
6361
- /* @__PURE__ */ e(wt, { className: "-mt-0.5", children: /* @__PURE__ */ e(yt, { children: n }) }),
6362
- /* @__PURE__ */ o(Nt, { className: p("flex flex-col gap-4", f), children: [
6361
+ /* @__PURE__ */ e(vt, { className: "-mt-0.5", children: /* @__PURE__ */ e(wt, { children: n }) }),
6362
+ /* @__PURE__ */ o(yt, { className: p("flex flex-col gap-4", f), children: [
6363
6363
  /* @__PURE__ */ o(
6364
6364
  "div",
6365
6365
  {
@@ -6398,7 +6398,7 @@ function Ps(t, n) {
6398
6398
  visibleItems: [],
6399
6399
  overflowItems: []
6400
6400
  });
6401
- _r({
6401
+ Tr({
6402
6402
  ref: a,
6403
6403
  onResize: () => {
6404
6404
  f();
@@ -6453,7 +6453,7 @@ function Ps(t, n) {
6453
6453
  overflowItems: l.overflowItems
6454
6454
  };
6455
6455
  }
6456
- const Je = function({
6456
+ const Xe = function({
6457
6457
  items: n,
6458
6458
  renderListItem: a,
6459
6459
  className: r,
@@ -6505,14 +6505,14 @@ const Je = function({
6505
6505
  }
6506
6506
  );
6507
6507
  };
6508
- Je.displayName = "VerticalOverflowList";
6508
+ Xe.displayName = "VerticalOverflowList";
6509
6509
  const uc = ({
6510
6510
  events: t,
6511
6511
  showAllItems: n,
6512
6512
  gap: a = 8,
6513
6513
  minSize: r = 184
6514
6514
  }) => t.length ? n ? /* @__PURE__ */ e("div", { className: "flex flex-col", children: t.map((l) => /* @__PURE__ */ e(mt, { ...l }, l.title)) }) : /* @__PURE__ */ e(
6515
- Je,
6515
+ Xe,
6516
6516
  {
6517
6517
  items: t,
6518
6518
  gap: a,
@@ -6629,8 +6629,8 @@ function hc({
6629
6629
  withEmoji: "emoji" in c && !!c.emoji,
6630
6630
  withPointerCursor: i,
6631
6631
  children: [
6632
- "alert" in c && c.alert && /* @__PURE__ */ e(Or, { type: c.alert }),
6633
- "emoji" in c && c.emoji && /* @__PURE__ */ e(Dr, { emoji: c.emoji }),
6632
+ "alert" in c && c.alert && /* @__PURE__ */ e(zr, { type: c.alert }),
6633
+ "emoji" in c && c.emoji && /* @__PURE__ */ e(Pr, { emoji: c.emoji }),
6634
6634
  /* @__PURE__ */ o("div", { className: "flex-1", children: [
6635
6635
  /* @__PURE__ */ e("p", { className: "line-clamp-1 font-medium", children: n }),
6636
6636
  /* @__PURE__ */ e("p", { className: "line-clamp-1 text-f1-foreground-secondary", children: a })
@@ -6710,7 +6710,7 @@ function ht({
6710
6710
  )
6711
6711
  ] }),
6712
6712
  /* @__PURE__ */ o("div", { className: "flex flex-row items-center gap-2", children: [
6713
- a && /* @__PURE__ */ e(kn, { ...a }),
6713
+ a && /* @__PURE__ */ e(Sn, { ...a }),
6714
6714
  r && /* @__PURE__ */ e(Ee, { ...r }),
6715
6715
  !!l && /* @__PURE__ */ e(He, { value: l })
6716
6716
  ] })
@@ -6724,7 +6724,7 @@ function pc({
6724
6724
  onVisibleItemsChange: l
6725
6725
  }) {
6726
6726
  return r ? /* @__PURE__ */ e("div", { className: "flex flex-col gap-2", children: t.map((i) => /* @__PURE__ */ e(nn, { ...i, onClick: a }, i.id)) }) : /* @__PURE__ */ e(
6727
- Je,
6727
+ Xe,
6728
6728
  {
6729
6729
  items: t,
6730
6730
  minSize: n,
@@ -6742,7 +6742,7 @@ function gc({
6742
6742
  showAllItems: l
6743
6743
  }) {
6744
6744
  return l ? /* @__PURE__ */ e("div", { className: "flex flex-col", style: { minHeight: `${a}px` }, children: t.map((i) => /* @__PURE__ */ e(ht, { ...i, onClick: r }, i.id)) }) : /* @__PURE__ */ e(
6745
- Je,
6745
+ Xe,
6746
6746
  {
6747
6747
  items: t,
6748
6748
  gap: n,
@@ -6765,7 +6765,7 @@ const js = ({ title: t, info: n }) => /* @__PURE__ */ o("div", { className: "fle
6765
6765
  {
6766
6766
  label: r.label,
6767
6767
  description: r.description,
6768
- children: /* @__PURE__ */ e(M, { icon: Cn, size: "sm" })
6768
+ children: /* @__PURE__ */ e(M, { icon: kn, size: "sm" })
6769
6769
  }
6770
6770
  ) })
6771
6771
  ] }),
@@ -6938,7 +6938,7 @@ function Ks({
6938
6938
  strokeWidth: 0,
6939
6939
  isAnimationActive: !1,
6940
6940
  children: r.map((c, d) => /* @__PURE__ */ e(
6941
- Tr,
6941
+ Br,
6942
6942
  {
6943
6943
  fill: c.color,
6944
6944
  role: "presentation",
@@ -6978,7 +6978,7 @@ function qs({
6978
6978
  children: t ?? n
6979
6979
  }
6980
6980
  ),
6981
- /* @__PURE__ */ e(M, { icon: zr })
6981
+ /* @__PURE__ */ e(M, { icon: Rr })
6982
6982
  ]
6983
6983
  }
6984
6984
  );
@@ -7039,7 +7039,7 @@ function vc({
7039
7039
  /* @__PURE__ */ e("span", { className: "line-clamp-1 text-2xl font-semibold text-f1-foreground", children: E }),
7040
7040
  /* @__PURE__ */ o("div", { className: "relative aspect-square h-4", children: [
7041
7041
  /* @__PURE__ */ e(
7042
- J.div,
7042
+ X.div,
7043
7043
  {
7044
7044
  className: "absolute inset-0 rounded-full opacity-20",
7045
7045
  style: {
@@ -7179,15 +7179,15 @@ function vc({
7179
7179
  ] }) });
7180
7180
  }
7181
7181
  const Ys = {
7182
- done: Rr,
7183
- "in-progress": Br,
7184
- todo: Pr
7182
+ done: Mr,
7183
+ "in-progress": Wr,
7184
+ todo: $r
7185
7185
  }, Zs = {
7186
7186
  done: "text-f1-icon-success",
7187
7187
  "in-progress": "text-f1-icon-info",
7188
7188
  todo: "text-f1-icon"
7189
7189
  };
7190
- function Js({
7190
+ function Xs({
7191
7191
  task: t,
7192
7192
  status: n,
7193
7193
  onClick: a,
@@ -7212,7 +7212,7 @@ function Js({
7212
7212
  } : void 0,
7213
7213
  rawTag: t.badge && !t.badge.isPastDue ? {
7214
7214
  text: t.badge.text,
7215
- icon: $r
7215
+ icon: jr
7216
7216
  } : void 0,
7217
7217
  count: t.counter,
7218
7218
  onClick: l
@@ -7245,7 +7245,7 @@ function wc({
7245
7245
  }))
7246
7246
  ), c = !s.length;
7247
7247
  return /* @__PURE__ */ e("div", { className: "flex flex-col gap-0", children: c ? /* @__PURE__ */ e("p", { className: "pl-2 font-medium", children: l }) : s.slice(0, r).map((d) => /* @__PURE__ */ e(
7248
- Js,
7248
+ Xs,
7249
7249
  {
7250
7250
  task: d,
7251
7251
  status: d.status,
@@ -7255,11 +7255,11 @@ function wc({
7255
7255
  d.id
7256
7256
  )) });
7257
7257
  }
7258
- var Xs = Object.defineProperty, Qs = Object.defineProperties, eo = Object.getOwnPropertyDescriptors, Ve = Object.getOwnPropertySymbols, na = Object.prototype.hasOwnProperty, aa = Object.prototype.propertyIsEnumerable, an = (t, n, a) => n in t ? Xs(t, n, { enumerable: !0, configurable: !0, writable: !0, value: a }) : t[n] = a, oe = (t, n) => {
7258
+ var Js = Object.defineProperty, Qs = Object.defineProperties, eo = Object.getOwnPropertyDescriptors, Ve = Object.getOwnPropertySymbols, na = Object.prototype.hasOwnProperty, aa = Object.prototype.propertyIsEnumerable, an = (t, n, a) => n in t ? Js(t, n, { enumerable: !0, configurable: !0, writable: !0, value: a }) : t[n] = a, oe = (t, n) => {
7259
7259
  for (var a in n || (n = {})) na.call(n, a) && an(t, a, n[a]);
7260
7260
  if (Ve) for (var a of Ve(n)) aa.call(n, a) && an(t, a, n[a]);
7261
7261
  return t;
7262
- }, Xe = (t, n) => Qs(t, eo(n)), to = (t, n) => {
7262
+ }, Je = (t, n) => Qs(t, eo(n)), to = (t, n) => {
7263
7263
  var a = {};
7264
7264
  for (var r in t) na.call(t, r) && n.indexOf(r) < 0 && (a[r] = t[r]);
7265
7265
  if (t != null && Ve) for (var r of Ve(t)) n.indexOf(r) < 0 && aa.call(t, r) && (a[r] = t[r]);
@@ -7334,7 +7334,7 @@ var xo = ({ stones: t, containerSize: n }) => {
7334
7334
  let h = vo(t.current), g = (m = (u = n.current) == null ? void 0 : u.offsetWidth) != null ? m : 0;
7335
7335
  if (g === null) return;
7336
7336
  let b = xo({ stones: h, containerSize: g });
7337
- f(Xe(oe({}, b), { stones: h }));
7337
+ f(Je(oe({}, b), { stones: h }));
7338
7338
  }, [a, t, n, r, l]), { positions: i, containerHeight: s, stones: c, availableSpots: d };
7339
7339
  }, yo = (t) => ({ fade: `${t}ms opacity ease`, fadeMove: `
7340
7340
  ${t}ms opacity ease,
@@ -7343,7 +7343,7 @@ var xo = ({ stones: t, containerSize: n }) => {
7343
7343
  `, move: `
7344
7344
  ${t}ms top ease,
7345
7345
  ${t}ms left ease
7346
- ` }), No = ({ transition: t, transitionDuration: n }) => t ? { transition: yo(n)[t] } : null, Co = (t) => t ? Xe(oe({}, t), { opacity: 1 }) : { opacity: 0, top: 0, left: 0 }, ko = ({ style: t, position: n, transition: a, transitionDuration: r }) => oe(oe(Xe(oe({}, t), { position: "absolute" }), Co(n)), No({ transition: a, transitionDuration: r }));
7346
+ ` }), No = ({ transition: t, transitionDuration: n }) => t ? { transition: yo(n)[t] } : null, Co = (t) => t ? Je(oe({}, t), { opacity: 1 }) : { opacity: 0, top: 0, left: 0 }, ko = ({ style: t, position: n, transition: a, transitionDuration: r }) => oe(oe(Je(oe({}, t), { position: "absolute" }), Co(n)), No({ transition: a, transitionDuration: r }));
7347
7347
  function So(t, n, a) {
7348
7348
  let r;
7349
7349
  return function(...l) {
@@ -7375,15 +7375,15 @@ var Io = () => {
7375
7375
  }, Ao = (t) => {
7376
7376
  var n = t, { children: a, style: r, transition: l = !1, transitionDuration: i = 500, transitionStep: s = 50 } = n, c = to(n, ["children", "style", "transition", "transitionDuration", "transitionStep"]);
7377
7377
  let d = G([]), f = G(null), u = Io(), m = Fo(f), { positions: h, containerHeight: g } = wo({ boxesRefs: d, wrapperRef: f, children: a, windowWidth: u, wrapperWidth: m }), b = oe({ minHeight: g ?? 0, position: "relative" }, r);
7378
- return e("div", Xe(oe({ ref: f, style: b }, c), { children: An.map(a, (v, y) => {
7378
+ return e("div", Je(oe({ ref: f, style: b }, c), { children: Ln.map(a, (v, y) => {
7379
7379
  if (typeof v != "object" || !v || !("type" in v)) return v;
7380
7380
  let I = { style: ko({ style: v.props.style, position: h[y], transition: l, transitionDuration: i }), ref: (z) => d.current[y] = z };
7381
- return Fn(v, oe(oe({}, v.props), I));
7381
+ return An(v, oe(oe({}, v.props), I));
7382
7382
  }) }));
7383
7383
  };
7384
7384
  const Lo = { sm: 340, md: 480, lg: 640 }, rn = j(
7385
7385
  function({ children: n, widgetWidth: a = "sm" }, r) {
7386
- const l = Lo[a], [i, s] = _(), c = An.toArray(n), d = G(null);
7386
+ const l = Lo[a], [i, s] = _(), c = Ln.toArray(n), d = G(null);
7387
7387
  return $(() => {
7388
7388
  const f = () => {
7389
7389
  const u = d.current?.offsetWidth;
@@ -7404,11 +7404,11 @@ const Lo = { sm: 340, md: 480, lg: 640 }, rn = j(
7404
7404
  u
7405
7405
  )) }, i) }) }) });
7406
7406
  }
7407
- ), Eo = ["sm", "lg", "md", "md", "lg", "sm", "lg", "lg", "sm", "sm", "md", "md"], yc = ee(rn, () => /* @__PURE__ */ e(Sn, { children: /* @__PURE__ */ e(rn, { children: Eo.map((t, n) => /* @__PURE__ */ e(Ne.Skeleton, { height: t }, n)) }) })), ln = ({ children: t }) => /* @__PURE__ */ e("div", { className: "flex min-h-40 flex-row items-stretch gap-4 text-f1-foreground @container [&>div]:min-w-[calc(100vw-64px)] @2xl:[&>div]:min-w-[calc(50vw-48px)]", children: t }), Nc = ee(
7407
+ ), Eo = ["sm", "lg", "md", "md", "lg", "sm", "lg", "lg", "sm", "sm", "md", "md"], yc = ee(rn, () => /* @__PURE__ */ e(In, { children: /* @__PURE__ */ e(rn, { children: Eo.map((t, n) => /* @__PURE__ */ e(Ne.Skeleton, { height: t }, n)) }) })), ln = ({ children: t }) => /* @__PURE__ */ e("div", { className: "flex min-h-40 flex-row items-stretch gap-4 text-f1-foreground @container [&>div]:min-w-[calc(100vw-64px)] @2xl:[&>div]:min-w-[calc(50vw-48px)]", children: t }), Nc = ee(
7408
7408
  j(function({ children: n }, a) {
7409
7409
  return /* @__PURE__ */ e(Ge, { ref: a, showBar: !1, children: /* @__PURE__ */ e(ln, { children: n }) });
7410
7410
  }),
7411
- () => /* @__PURE__ */ e(Sn, { orientation: "horizontal", children: /* @__PURE__ */ o(ln, { children: [
7411
+ () => /* @__PURE__ */ e(In, { orientation: "horizontal", children: /* @__PURE__ */ o(ln, { children: [
7412
7412
  /* @__PURE__ */ e(Ne.Skeleton, {}),
7413
7413
  /* @__PURE__ */ e(Ne.Skeleton, {}),
7414
7414
  /* @__PURE__ */ e(Ne.Skeleton, {})
@@ -7437,7 +7437,7 @@ function _o({
7437
7437
  const Cc = ne(
7438
7438
  K("WidgetEmptyState", _o)
7439
7439
  ), ra = j(
7440
- ({ title: t, children: n }, a) => (Wr(
7440
+ ({ title: t, children: n }, a) => (Vr(
7441
7441
  t,
7442
7442
  { disallowEmpty: !0 },
7443
7443
  { componentName: "WidgetSection" }
@@ -7455,7 +7455,7 @@ const kc = ne(
7455
7455
  disallowedRoutes: a,
7456
7456
  children: r
7457
7457
  }) => {
7458
- const l = Mr(), i = window.location.pathname, s = q(() => n?.length ? n.includes(i) : a?.length ? !a.includes(i) : !0, [i, n, a]), c = q(() => {
7458
+ const l = Gr(), i = window.location.pathname, s = q(() => n?.length ? n.includes(i) : a?.length ? !a.includes(i) : !0, [i, n, a]), c = q(() => {
7459
7459
  let d = `The component ${t} is not allowed to be rendered in the current route.`;
7460
7460
  return n && n.length > 0 && (d += ` Allowed routes: ${n.join(", ")}`), a && a.length > 0 && (d += ` Disallowed routes: ${a.join(", ")}`), d;
7461
7461
  }, [t, n, a]);
@@ -7491,7 +7491,7 @@ export {
7491
7491
  mt as CalendarEvent,
7492
7492
  uc as CalendarEventList,
7493
7493
  ld as CardSelectableContainer,
7494
- Hr as Carousel,
7494
+ qr as Carousel,
7495
7495
  id as CategoryBarChart,
7496
7496
  xc as CategoryBarSection,
7497
7497
  Mo as Celebration,
@@ -7529,7 +7529,7 @@ export {
7529
7529
  pd as ItemSectionHeader,
7530
7530
  gd as LineChart,
7531
7531
  ic as LineChartWidget,
7532
- Jo as Menu,
7532
+ Xo as Menu,
7533
7533
  Rc as MobileDropdown,
7534
7534
  bd as NotesTextEditor,
7535
7535
  xd as NotesTextEditorPatchTargetNotFoundError,
@@ -7558,7 +7558,7 @@ export {
7558
7558
  dr as RichTextDisplay,
7559
7559
  Ld as RichTextEditor,
7560
7560
  Ic as ScrollArea,
7561
- Xo as SearchBar,
7561
+ Jo as SearchBar,
7562
7562
  Ed as SectionHeader,
7563
7563
  We as Select,
7564
7564
  Ar as Shortcut,
@@ -7601,8 +7601,8 @@ export {
7601
7601
  Bd as generateCSVContent,
7602
7602
  Yc as getGranularityDefinition,
7603
7603
  Zc as getGranularityDefinitions,
7604
- Jc as getGranularitySimpleDefinition,
7605
- Xc as granularityDefinitions,
7604
+ Xc as getGranularitySimpleDefinition,
7605
+ Jc as granularityDefinitions,
7606
7606
  Qc as modules,
7607
7607
  Rd as predefinedPresets,
7608
7608
  ed as rangeSeparator,