@factorialco/f0-react 1.414.1 → 1.416.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,9 +1,7 @@
1
1
  import { jsxs as H, jsx as _, Fragment as Ct } from "react/jsx-runtime";
2
2
  import * as Ie from "react";
3
3
  import T, { useRef as $e, useState as ve, useCallback as xt, useEffect as ut, useLayoutEffect as fg, isValidElement as Jn, Children as ua, PureComponent as qn, forwardRef as ii, useImperativeHandle as lg, useMemo as yi, cloneElement as bt, createElement as cg, useContext as Hn, createContext as Ei, Component as R6, useId as j6, Fragment as uf, useDebugValue as L6, createRef as KC, memo as B6, version as yb } from "react";
4
- import { B as ki, b$ as GC, t as fe, bW as F6, av as YC, w as z6, y as Ai, N as $r, eA as eo, eB as XC, eC as JC, eD as ZC, eE as vb, eF as gb, eG as bb, eH as xb, ef as kb, eI as q6, eJ as yc, eK as QC, eL as eT, eM as tT, cy as df, aA as Ye, R as Ee, cm as nT, T as Ki, U as Zn, bQ as iT, bR as rT, bS as aT, bV as oT, eN as H6, G as nn, aS as sT, F as Le, ar as hl, aa as fT, dl as Ut, aE as lT, aF as cT, M as ug, aG as uT, aJ as dT, aH as hT, aI as wb, aK as _b, at as W6, aM as pT, aN as mT, aO as yT, aP as vT, x as wd, u as ir, an as V6, K as gn, z as nt, J as gT, O as U6, au as bT, a4 as dg, bI as xT, dj as kT, a6 as wT, dk as hg, be as hf, P as K6, cr as G6, ad as _T, eO as ST, em as OT, cv as pl, eP as _d, eQ as Sd, cx as ml, a2 as ET, a3 as AT, a5 as CT, bf as pg, d3 as TT, cJ as Y6, ct as MT, e3 as PT, aB as DT, dI as NT, cu as $T, bc as IT, cw as RT, dJ as jT, aq as X6, c0 as Vy, L as LT, D as J6, E as hn, eR as BT, ah as Sb, cM as FT, C as Z6, b9 as zT, ab as qT, b7 as mg, aW as HT, aX as WT, aY as VT, de as Ob, ak as UT, cB as KT, bp as GT, aT as Eb, ba as YT, aU as XT, d9 as JT } from "./F0Input-C9w04Jpr.js";
5
- import { W as ZT, aC as QT, aD as eM, a1 as tM, aO as Q6, ak as nM, Q as Ab, aP as iM, aQ as Uy, aR as e5, aS as t5, aT as n5, aU as rM, aV as aM, aW as oM, aX as sM, al as fM, am as lM, an as cM, ao as uM, Z as dM, ar as hM, as as pM, _ as mM, aY as yM, a5 as vM, a6 as gM, aZ as bM } from "./F0AiChat-CBy7rZCW.js";
6
- import { r as yl, p as vl, q as ri, s as xM, t as i5, v as kM, w as ts, x as wM, y as r5, z as yg, A as a5, B as o5, C as _M, E as SM, G as s5, H as OM, I as EM, J as AM, K as Od, N as CM, P as TM, Q as MM, T as PM, i as Sa, V as DM, W as NM, g as $M, X as f5, Y as Cb, Z as IM, d as RM, e as jM, f as LM, _ as BM, F as l5, $ as FM, a0 as zM, a1 as qM } from "./useDataCollectionSource-BzzlFsAB.js";
4
+ import { U as ki, cX as GC, K as fe, cS as F6, aU as YC, aT as XC, L as z6, P as Ai, a3 as $r, f4 as eo, f5 as JC, f6 as ZC, f7 as QC, f8 as vb, f9 as gb, fa as bb, fb as xb, fc as kb, fd as q6, fe as yc, ff as eT, fg as tT, fh as nT, dJ as df, fi as hl, fj as pl, fk as ri, fl as iT, fm as H6, b0 as Ye, fn as rT, fo as ts, a7 as Ee, fp as aT, fq as W6, fr as ug, fs as V6, ft as U6, fu as oT, fv as sT, fw as K6, fx as fT, fy as lT, fz as cT, fA as wd, fB as uT, fC as dT, fD as hT, fE as pT, a6 as Sa, fF as mT, fG as yT, di as vT, a8 as Ki, a9 as Zn, cK as gT, cL as bT, cM as xT, cP as kT, fH as G6, _ as nn, bx as wT, M as Le, aL as ml, aq as _T, eS as Ut, b9 as ST, ba as OT, a2 as dg, bb as ET, bf as AT, bc as CT, bd as wb, bh as _b, aO as Y6, bj as TT, bk as MT, bm as PT, bn as DT, N as _d, u as ir, aF as X6, a0 as gn, R as nt, $ as NT, W as J6, aS as $T, ak as hg, cs as IT, fI as Z6, fJ as Sb, fK as RT, cx as jT, eo as LT, ep as BT, cp as FT, cq as zT, cr as qT, eM as HT, am as WT, eN as pg, b_ as hf, a4 as Q6, dn as e5, be as VT, fL as UT, au as KT, fM as GT, fN as YT, fO as t5, dG as yl, fP as Sd, fQ as Od, dI as vl, ai as XT, aj as JT, dw as ZT, al as QT, b$ as mg, aQ as Ob, el as eM, fR as tM, dV as n5, dq as nM, fS as iM, fT as Vy, fU as i5, fV as r5, fW as a5, fX as rM, fY as aM, fZ as oM, f_ as sM, dx as fM, dy as lM, dz as cM, b4 as uM, dA as dM, b2 as hM, f$ as pM, dD as mM, dF as yM, dE as vM, bY as gM, dH as bM, g0 as xM, at as o5, aK as s5, cY as Uy, a1 as kM, b3 as wM, g1 as _M, bt as SM, bu as OM, Y as f5, Z as hn, g2 as EM, az as Eb, dY as AM, Q as l5, bV as CM, ar as TM, bT as yg, bB as MM, bC as PM, g3 as DM, bD as NM, g4 as $M, g5 as IM, eB as Ab, aC as RM, dM as jM, c9 as LM, by as Cb, bW as BM, bz as FM, ev as zM, g6 as qM } from "./registry-BAlv1mKf.js";
7
5
  import vg from "react-dom";
8
6
  import './index.css';const HM = {
9
7
  active: !0,
@@ -2010,7 +2008,7 @@ const g5 = Ie.forwardRef(
2010
2008
  onClick: a,
2011
2009
  ...n,
2012
2010
  label: "Next",
2013
- icon: ZT,
2011
+ icon: XC,
2014
2012
  hideLabel: !0
2015
2013
  }
2016
2014
  )
@@ -2269,7 +2267,7 @@ const GP = ({
2269
2267
  ] })
2270
2268
  }
2271
2269
  ) : /* @__PURE__ */ _(UP, { children: t });
2272
- }, Oae = Ai(
2270
+ }, _ae = Ai(
2273
2271
  $r("Carousel", GP)
2274
2272
  );
2275
2273
  function YP(t, e) {
@@ -2277,7 +2275,7 @@ function YP(t, e) {
2277
2275
  return r < 0 ? -1 : r > 0 ? 1 : r;
2278
2276
  }
2279
2277
  function Og(t) {
2280
- return XC(t, Date.now());
2278
+ return JC(t, Date.now());
2281
2279
  }
2282
2280
  function XP(t) {
2283
2281
  return (e) => {
@@ -2286,7 +2284,7 @@ function XP(t) {
2286
2284
  };
2287
2285
  }
2288
2286
  function JP(t, e, n) {
2289
- const i = JC(), r = n?.locale ?? i.locale ?? ZC, a = YP(t, e);
2287
+ const i = ZC(), r = n?.locale ?? i.locale ?? QC, a = YP(t, e);
2290
2288
  if (isNaN(a))
2291
2289
  throw new RangeError("Invalid time value");
2292
2290
  const o = Object.assign({}, n, {
@@ -2327,15 +2325,15 @@ function k5(t) {
2327
2325
  return q6(t, yc(Og(t), 1));
2328
2326
  }
2329
2327
  function ks(t, e) {
2330
- return QC(t, -e);
2328
+ return eT(t, -e);
2331
2329
  }
2332
2330
  function Bb(t, e) {
2333
- return eT(t, -e);
2331
+ return tT(t, -e);
2334
2332
  }
2335
- function Eae(t) {
2333
+ function Sae(t) {
2336
2334
  return df(t, "p");
2337
2335
  }
2338
- function Aae(t) {
2336
+ function Oae(t) {
2339
2337
  return df(t, "HH:mm");
2340
2338
  }
2341
2339
  function QP(t) {
@@ -2347,10 +2345,10 @@ function e8(t) {
2347
2345
  function Fb(t, e = !0) {
2348
2346
  return ZP(t, { addSuffix: e });
2349
2347
  }
2350
- function Cae(t, { yesterdayRelative: e = !0 } = {}) {
2348
+ function Eae(t, { yesterdayRelative: e = !0 } = {}) {
2351
2349
  return x5(t) ? Fb(t) : k5(t) ? e ? Fb(t) : df(t, "p") : df(t, "PPPp");
2352
2350
  }
2353
- const Tae = (t, e) => {
2351
+ const Aae = (t, e) => {
2354
2352
  const n = {
2355
2353
  today: [],
2356
2354
  yesterday: [],
@@ -2358,7 +2356,7 @@ const Tae = (t, e) => {
2358
2356
  lastMonth: []
2359
2357
  };
2360
2358
  return t.forEach((i) => {
2361
- const r = i[e], a = Math.abs(tT(r, /* @__PURE__ */ new Date()));
2359
+ const r = i[e], a = Math.abs(nT(r, /* @__PURE__ */ new Date()));
2362
2360
  x5(r) ? n.today.push(i) : k5(r) ? n.yesterday.push(i) : a <= 7 ? n.lastWeek.push(i) : a <= 30 ? n.lastMonth.push(i) : n[r.getFullYear()] = [...n[r.getFullYear()] || [], i];
2363
2361
  }), n;
2364
2362
  }, t8 = ({
@@ -2379,7 +2377,7 @@ const Tae = (t, e) => {
2379
2377
  ]
2380
2378
  }
2381
2379
  );
2382
- }, Mae = Ai(t8), n8 = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
2380
+ }, Cae = Ai(t8), n8 = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
2383
2381
  let i8 = (t = 21) => {
2384
2382
  let e = "", n = crypto.getRandomValues(new Uint8Array(t |= 0));
2385
2383
  for (; t--; )
@@ -2390,7 +2388,7 @@ var Nh, zb;
2390
2388
  function ns() {
2391
2389
  if (zb) return Nh;
2392
2390
  zb = 1;
2393
- var t = yl(), e = vl(), n = "[object Symbol]";
2391
+ var t = hl(), e = pl(), n = "[object Symbol]";
2394
2392
  function i(r) {
2395
2393
  return typeof r == "symbol" || e(r) && t(r) == n;
2396
2394
  }
@@ -2413,7 +2411,7 @@ var Ih, Hb;
2413
2411
  function w5() {
2414
2412
  if (Hb) return Ih;
2415
2413
  Hb = 1;
2416
- var t = xM(), e = "Expected a function";
2414
+ var t = iT(), e = "Expected a function";
2417
2415
  function n(i, r) {
2418
2416
  if (typeof i != "function" || r != null && typeof r != "function")
2419
2417
  throw new TypeError(e);
@@ -2468,7 +2466,7 @@ var Bh, Kb;
2468
2466
  function o8() {
2469
2467
  if (Kb) return Bh;
2470
2468
  Kb = 1;
2471
- var t = i5(), e = Ag(), n = ri(), i = ns(), r = t ? t.prototype : void 0, a = r ? r.toString : void 0;
2469
+ var t = H6(), e = Ag(), n = ri(), i = ns(), r = t ? t.prototype : void 0, a = r ? r.toString : void 0;
2472
2470
  function o(s) {
2473
2471
  if (typeof s == "string")
2474
2472
  return s;
@@ -2555,7 +2553,7 @@ var Uh, ex;
2555
2553
  function c8() {
2556
2554
  if (ex) return Uh;
2557
2555
  ex = 1;
2558
- var t = yl(), e = ri(), n = vl(), i = "[object String]";
2556
+ var t = hl(), e = ri(), n = pl(), i = "[object String]";
2559
2557
  function r(a) {
2560
2558
  return typeof a == "string" || !e(a) && n(a) && t(a) == i;
2561
2559
  }
@@ -2563,7 +2561,7 @@ function c8() {
2563
2561
  }
2564
2562
  var u8 = c8();
2565
2563
  const xl = /* @__PURE__ */ Ye(u8);
2566
- var d8 = kM();
2564
+ var d8 = rT();
2567
2565
  const xe = /* @__PURE__ */ Ye(d8);
2568
2566
  var h8 = ts();
2569
2567
  const is = /* @__PURE__ */ Ye(h8);
@@ -2735,7 +2733,7 @@ var v8 = y8(), Kh, rx;
2735
2733
  function E5() {
2736
2734
  if (rx) return Kh;
2737
2735
  rx = 1;
2738
- var t = yl(), e = vl(), n = "[object Number]";
2736
+ var t = hl(), e = pl(), n = "[object Number]";
2739
2737
  function i(r) {
2740
2738
  return typeof r == "number" || e(r) && t(r) == n;
2741
2739
  }
@@ -2803,7 +2801,7 @@ function Ac(t, e, n) {
2803
2801
  return i && (typeof e == "function" ? e(i) : bn(i, e)) === n;
2804
2802
  });
2805
2803
  }
2806
- var Pae = function(e) {
2804
+ var Tae = function(e) {
2807
2805
  if (!e || !e.length)
2808
2806
  return null;
2809
2807
  for (var n = e.length, i = 0, r = 0, a = 0, o = 0, s = 1 / 0, f = -1 / 0, l = 0, c = 0, u = 0; u < n; u++)
@@ -4554,7 +4552,7 @@ var sp, Cx;
4554
4552
  function G7() {
4555
4553
  if (Cx) return sp;
4556
4554
  Cx = 1;
4557
- var t = wM(), e = r5(), n = 1, i = 2;
4555
+ var t = aT(), e = W6(), n = 1, i = 2;
4558
4556
  function r(a, o, s, f) {
4559
4557
  var l = s.length, c = l, u = !f;
4560
4558
  if (a == null)
@@ -4596,7 +4594,7 @@ var lp, Mx;
4596
4594
  function Y7() {
4597
4595
  if (Mx) return lp;
4598
4596
  Mx = 1;
4599
- var t = G5(), e = yg();
4597
+ var t = G5(), e = ug();
4600
4598
  function n(i) {
4601
4599
  for (var r = e(i), a = r.length; a--; ) {
4602
4600
  var o = r[a], s = i[o];
@@ -4643,7 +4641,7 @@ var hp, $x;
4643
4641
  function Z7() {
4644
4642
  if ($x) return hp;
4645
4643
  $x = 1;
4646
- var t = S5(), e = a5(), n = ri(), i = o5(), r = _M(), a = Ad();
4644
+ var t = S5(), e = V6(), n = ri(), i = U6(), r = oT(), a = Ad();
4647
4645
  function o(s, f, l) {
4648
4646
  f = t(f, s);
4649
4647
  for (var c = -1, u = f.length, d = !1; ++c < u; ) {
@@ -4670,7 +4668,7 @@ var mp, Rx;
4670
4668
  function eD() {
4671
4669
  if (Rx) return mp;
4672
4670
  Rx = 1;
4673
- var t = r5(), e = O5(), n = Q7(), i = Eg(), r = G5(), a = Y5(), o = Ad(), s = 1, f = 2;
4671
+ var t = W6(), e = O5(), n = Q7(), i = Eg(), r = G5(), a = Y5(), o = Ad(), s = 1, f = 2;
4674
4672
  function l(c, u) {
4675
4673
  return i(c) && r(u) ? a(o(c), u) : function(d) {
4676
4674
  var h = e(d, c);
@@ -4809,7 +4807,7 @@ var Cp, Yx;
4809
4807
  function cD() {
4810
4808
  if (Yx) return Cp;
4811
4809
  Yx = 1;
4812
- var t = SM(), e = lD(), n = s5(), i = 1 / 0, r = t && 1 / n(new t([, -0]))[1] == i ? function(a) {
4810
+ var t = sT(), e = lD(), n = K6(), i = 1 / 0, r = t && 1 / n(new t([, -0]))[1] == i ? function(a) {
4813
4811
  return new t(a);
4814
4812
  } : e;
4815
4813
  return Cp = r, Cp;
@@ -4818,7 +4816,7 @@ var Tp, Xx;
4818
4816
  function uD() {
4819
4817
  if (Xx) return Tp;
4820
4818
  Xx = 1;
4821
- var t = OM(), e = sD(), n = fD(), i = EM(), r = cD(), a = s5(), o = 200;
4819
+ var t = fT(), e = sD(), n = fD(), i = lT(), r = cD(), a = K6(), o = 200;
4822
4820
  function s(f, l, c) {
4823
4821
  var u = -1, d = e, h = f.length, p = !0, m = [], y = m;
4824
4822
  if (c)
@@ -5106,7 +5104,7 @@ var Pp, nk;
5106
5104
  function ED() {
5107
5105
  if (nk) return Pp;
5108
5106
  nk = 1;
5109
- var t = i5(), e = a5(), n = ri(), i = t ? t.isConcatSpreadable : void 0;
5107
+ var t = H6(), e = V6(), n = ri(), i = t ? t.isConcatSpreadable : void 0;
5110
5108
  function r(a) {
5111
5109
  return n(a) || e(a) || !!(i && a && a[i]);
5112
5110
  }
@@ -5116,7 +5114,7 @@ var Dp, ik;
5116
5114
  function eS() {
5117
5115
  if (ik) return Dp;
5118
5116
  ik = 1;
5119
- var t = AM(), e = ED();
5117
+ var t = cT(), e = ED();
5120
5118
  function n(i, r, a, o, s) {
5121
5119
  var f = -1, l = i.length;
5122
5120
  for (a || (a = e), s || (s = []); ++f < l; ) {
@@ -5154,7 +5152,7 @@ var Ip, ok;
5154
5152
  function tS() {
5155
5153
  if (ok) return Ip;
5156
5154
  ok = 1;
5157
- var t = CD(), e = yg();
5155
+ var t = CD(), e = ug();
5158
5156
  function n(i, r) {
5159
5157
  return i && t(i, r, e);
5160
5158
  }
@@ -5164,7 +5162,7 @@ var Rp, sk;
5164
5162
  function TD() {
5165
5163
  if (sk) return Rp;
5166
5164
  sk = 1;
5167
- var t = Od();
5165
+ var t = wd();
5168
5166
  function e(n, i) {
5169
5167
  return function(r, a) {
5170
5168
  if (r == null)
@@ -5189,7 +5187,7 @@ var Lp, lk;
5189
5187
  function nS() {
5190
5188
  if (lk) return Lp;
5191
5189
  lk = 1;
5192
- var t = Rg(), e = Od();
5190
+ var t = Rg(), e = wd();
5193
5191
  function n(i, r) {
5194
5192
  var a = -1, o = e(i) ? Array(i.length) : [];
5195
5193
  return t(i, function(s, f, l) {
@@ -5250,7 +5248,7 @@ var qp, hk;
5250
5248
  function ND() {
5251
5249
  if (hk) return qp;
5252
5250
  hk = 1;
5253
- var t = Ag(), e = Cg(), n = Ci(), i = nS(), r = MD(), a = CM(), o = DD(), s = as(), f = ri();
5251
+ var t = Ag(), e = Cg(), n = Ci(), i = nS(), r = MD(), a = uT(), o = DD(), s = as(), f = ri();
5254
5252
  function l(c, u, d) {
5255
5253
  u.length ? u = t(u, function(m) {
5256
5254
  return f(m) ? function(y) {
@@ -5322,7 +5320,7 @@ var Up, vk;
5322
5320
  function iS() {
5323
5321
  if (vk) return Up;
5324
5322
  vk = 1;
5325
- var t = TM(), e = (function() {
5323
+ var t = dT(), e = (function() {
5326
5324
  try {
5327
5325
  var n = t(Object, "defineProperty");
5328
5326
  return n({}, "", {}), n;
@@ -5385,7 +5383,7 @@ var Jp, wk;
5385
5383
  function Nd() {
5386
5384
  if (wk) return Jp;
5387
5385
  wk = 1;
5388
- var t = MM(), e = Od(), n = o5(), i = ts();
5386
+ var t = hT(), e = wd(), n = U6(), i = ts();
5389
5387
  function r(a, o, s) {
5390
5388
  if (!i(s))
5391
5389
  return !1;
@@ -6042,7 +6040,7 @@ var em, Dk;
6042
6040
  function ON() {
6043
6041
  if (Dk) return em;
6044
6042
  Dk = 1;
6045
- var t = PM(), e = function() {
6043
+ var t = pT(), e = function() {
6046
6044
  return t.Date.now();
6047
6045
  };
6048
6046
  return em = e, em;
@@ -14255,14 +14253,14 @@ var $m, i3;
14255
14253
  function iq() {
14256
14254
  if (i3) return $m;
14257
14255
  i3 = 1;
14258
- var t = DM(), e = t(Object.getPrototypeOf, Object);
14256
+ var t = mT(), e = t(Object.getPrototypeOf, Object);
14259
14257
  return $m = e, $m;
14260
14258
  }
14261
14259
  var Im, r3;
14262
14260
  function rq() {
14263
14261
  if (r3) return Im;
14264
14262
  r3 = 1;
14265
- var t = yl(), e = iq(), n = vl(), i = "[object Object]", r = Function.prototype, a = Object.prototype, o = r.toString, s = a.hasOwnProperty, f = o.call(Object);
14263
+ var t = hl(), e = iq(), n = pl(), i = "[object Object]", r = Function.prototype, a = Object.prototype, o = r.toString, s = a.hasOwnProperty, f = o.call(Object);
14266
14264
  function l(c) {
14267
14265
  if (!n(c) || t(c) != i)
14268
14266
  return !1;
@@ -14280,7 +14278,7 @@ var Rm, a3;
14280
14278
  function sq() {
14281
14279
  if (a3) return Rm;
14282
14280
  a3 = 1;
14283
- var t = yl(), e = vl(), n = "[object Boolean]";
14281
+ var t = hl(), e = pl(), n = "[object Boolean]";
14284
14282
  function i(r) {
14285
14283
  return r === !0 || r === !1 || e(r) && t(r) == n;
14286
14284
  }
@@ -15654,7 +15652,7 @@ var Hm, S3;
15654
15652
  function oH() {
15655
15653
  if (S3) return Hm;
15656
15654
  S3 = 1;
15657
- var t = NM(), e = Ci(), n = aH(), i = ri(), r = Nd();
15655
+ var t = yT(), e = Ci(), n = aH(), i = ri(), r = Nd();
15658
15656
  function a(o, s, f) {
15659
15657
  var l = i(o) ? t : n;
15660
15658
  return f && r(o, s, f) && (s = void 0), l(o, e(s, 3));
@@ -16454,7 +16452,7 @@ var FH = function(e) {
16454
16452
  function zH() {
16455
16453
  if (R3) return Ym;
16456
16454
  R3 = 1;
16457
- var t = Ci(), e = Od(), n = yg();
16455
+ var t = Ci(), e = wd(), n = ug();
16458
16456
  function i(r) {
16459
16457
  return function(a, o, s) {
16460
16458
  var f = Object(a);
@@ -21063,7 +21061,7 @@ ${n.map(([o, s]) => {
21063
21061
  "style",
21064
21062
  {
21065
21063
  dangerouslySetInnerHTML: {
21066
- __html: nT.sanitize(i.join(`
21064
+ __html: vT.sanitize(i.join(`
21067
21065
  `))
21068
21066
  }
21069
21067
  }
@@ -21235,7 +21233,7 @@ const B9 = Ei({
21235
21233
  enable: () => null,
21236
21234
  disable: () => null,
21237
21235
  toggle: () => null
21238
- }), Dae = ({ initiallyEnabled: t = !1, children: e }) => {
21236
+ }), Mae = ({ initiallyEnabled: t = !1, children: e }) => {
21239
21237
  const [n, i] = ve(t), r = xt(() => {
21240
21238
  i(!0);
21241
21239
  }, []), a = xt(() => i(!1), []), o = xt(() => i((s) => !s), []);
@@ -21470,7 +21468,7 @@ const iK = ({
21470
21468
  ]
21471
21469
  }
21472
21470
  ) });
21473
- }, Nae = hs(rK), aK = ({
21471
+ }, Pae = hs(rK), aK = ({
21474
21472
  dataConfig: t,
21475
21473
  data: e,
21476
21474
  xAxis: n,
@@ -21607,17 +21605,17 @@ const iK = ({
21607
21605
  ]
21608
21606
  }
21609
21607
  ) });
21610
- }, $ae = hs(aK), oK = ({ data: t, legend: e = !0, hideTooltip: n = !1 }, i) => {
21608
+ }, Dae = hs(aK), oK = ({ data: t, legend: e = !0, hideTooltip: n = !1 }, i) => {
21611
21609
  const r = t.reduce((a, o) => a + o.value, 0);
21612
- return /* @__PURE__ */ H(iT, { children: [
21610
+ return /* @__PURE__ */ H(gT, { children: [
21613
21611
  /* @__PURE__ */ _("div", { className: "w-full", ref: i, children: /* @__PURE__ */ _("div", { className: "flex h-2 gap-1 overflow-hidden", children: t.map((a, o) => {
21614
21612
  const s = a.value / r * 100, f = a.color ? Ki(a.color) : Zn(o), l = (c) => {
21615
21613
  const u = c / r * 100;
21616
21614
  return u % 1 === 0 ? u.toFixed(0) : u.toFixed(1);
21617
21615
  };
21618
- return s === 0 ? null : /* @__PURE__ */ H(rT, { children: [
21616
+ return s === 0 ? null : /* @__PURE__ */ H(bT, { children: [
21619
21617
  /* @__PURE__ */ _(
21620
- aT,
21618
+ xT,
21621
21619
  {
21622
21620
  className: "h-full cursor-default overflow-hidden rounded-2xs",
21623
21621
  style: { width: `${s}%` },
@@ -21635,7 +21633,7 @@ const iK = ({
21635
21633
  )
21636
21634
  }
21637
21635
  ),
21638
- !n && /* @__PURE__ */ H(oT, { className: "flex items-center gap-1 text-sm", children: [
21636
+ !n && /* @__PURE__ */ H(kT, { className: "flex items-center gap-1 text-sm", children: [
21639
21637
  /* @__PURE__ */ _(
21640
21638
  "div",
21641
21639
  {
@@ -21682,7 +21680,7 @@ const iK = ({
21682
21680
  }
21683
21681
  )
21684
21682
  ] });
21685
- }, Iae = hs(oK), sK = ({
21683
+ }, Nae = hs(oK), sK = ({
21686
21684
  data: t,
21687
21685
  dataConfig: e,
21688
21686
  xAxis: n,
@@ -21740,7 +21738,7 @@ const iK = ({
21740
21738
  ]
21741
21739
  }
21742
21740
  ) });
21743
- }, Rae = hs(sK), fK = ({ data: t, dataConfig: e, overview: n, aspect: i, tickFormatter: r }, a) => {
21741
+ }, $ae = hs(sK), fK = ({ data: t, dataConfig: e, overview: n, aspect: i, tickFormatter: r }, a) => {
21744
21742
  const o = t.map((l, c) => ({
21745
21743
  ...l,
21746
21744
  fill: e[l.label]?.color ? Ki(e[l.label].color) : Zn(c)
@@ -21841,12 +21839,12 @@ const iK = ({
21841
21839
  ] })
21842
21840
  }
21843
21841
  );
21844
- }, jae = hs(fK);
21842
+ }, Iae = hs(fK);
21845
21843
  function lK(t) {
21846
21844
  return t.map((e) => ({ x: e.label, ...e.values }));
21847
21845
  }
21848
21846
  const cK = (t) => {
21849
- const e = H6.cloneDeep(t);
21847
+ const e = G6.cloneDeep(t);
21850
21848
  let n = "", i = 0;
21851
21849
  return e.forEach((r) => {
21852
21850
  delete r.x, Object.entries(r).forEach(
@@ -21953,7 +21951,7 @@ const cK = (t) => {
21953
21951
  ]
21954
21952
  }
21955
21953
  ) });
21956
- }, Lae = hs(uK), dK = ({
21954
+ }, Rae = hs(uK), dK = ({
21957
21955
  viewBox: t,
21958
21956
  offset: e = 0,
21959
21957
  value: n,
@@ -22081,7 +22079,7 @@ function mK({
22081
22079
  children: [
22082
22080
  /* @__PURE__ */ H(Ct, { children: [
22083
22081
  s === "one-campaign" ? /* @__PURE__ */ _("div", { className: "relative flex h-8 w-8 shrink-0 items-center justify-center", children: /* @__PURE__ */ _(nn, { icon: pK, size: "lg", className: "!h-8 !w-8" }) }) : /* @__PURE__ */ _("div", { className: "relative flex h-8 w-8 shrink-0 items-center justify-center", children: /* @__PURE__ */ _(
22084
- sT,
22082
+ wT,
22085
22083
  {
22086
22084
  module: f.module,
22087
22085
  size: "lg"
@@ -22096,7 +22094,7 @@ function mK({
22096
22094
  Le,
22097
22095
  {
22098
22096
  variant: "ghost",
22099
- icon: hl,
22097
+ icon: ml,
22100
22098
  size: "sm",
22101
22099
  hideLabel: !0,
22102
22100
  onClick: u,
@@ -22107,7 +22105,7 @@ function mK({
22107
22105
  }
22108
22106
  ) }) }) });
22109
22107
  }
22110
- const Bae = Ai(mK), Fae = fT, zae = {
22108
+ const jae = Ai(mK), Lae = _T, Bae = {
22111
22109
  today: {
22112
22110
  label: "Today",
22113
22111
  granularity: "day",
@@ -22190,10 +22188,10 @@ const Bae = Ai(mK), Fae = fT, zae = {
22190
22188
  function gv(t, e) {
22191
22189
  if ("type" in t) {
22192
22190
  if (t.type === "separator")
22193
- return /* @__PURE__ */ _(dT, {}, `sep-${e}`);
22191
+ return /* @__PURE__ */ _(AT, {}, `sep-${e}`);
22194
22192
  if (t.type === "label")
22195
22193
  return /* @__PURE__ */ _(
22196
- hT,
22194
+ CT,
22197
22195
  {
22198
22196
  className: "p-4 pb-2 font-medium text-f1-foreground-secondary",
22199
22197
  children: t.text
@@ -22212,7 +22210,7 @@ function gv(t, e) {
22212
22210
  t.icon && /* @__PURE__ */ _(nn, { icon: t.icon, color: "default" }),
22213
22211
  /* @__PURE__ */ _("span", { className: "flex-1", children: t.label }),
22214
22212
  /* @__PURE__ */ _(
22215
- W6,
22213
+ Y6,
22216
22214
  {
22217
22215
  title: t.label,
22218
22216
  checked: t.checked,
@@ -22224,13 +22222,13 @@ function gv(t, e) {
22224
22222
  }
22225
22223
  ) }, `toggle-${e}`);
22226
22224
  if (t.type === "submenu")
22227
- return /* @__PURE__ */ _(wb, { children: /* @__PURE__ */ H(pT, { children: [
22228
- /* @__PURE__ */ _(mT, { className: "mx-1 px-2 data-[state=open]:rounded-sm data-[state=closed]:bg-transparent data-[state=open]:bg-f1-background-hover", children: /* @__PURE__ */ H("div", { className: "flex w-full flex-row items-center gap-2", children: [
22225
+ return /* @__PURE__ */ _(wb, { children: /* @__PURE__ */ H(TT, { children: [
22226
+ /* @__PURE__ */ _(MT, { className: "mx-1 px-2 data-[state=open]:rounded-sm data-[state=closed]:bg-transparent data-[state=open]:bg-f1-background-hover", children: /* @__PURE__ */ H("div", { className: "flex w-full flex-row items-center gap-2", children: [
22229
22227
  t.icon && /* @__PURE__ */ _(nn, { icon: t.icon, color: "default" }),
22230
22228
  /* @__PURE__ */ _("span", { className: "flex-1 text-base font-medium", children: t.label }),
22231
22229
  t.selectedLabel && /* @__PURE__ */ _("span", { className: "mr-1 text-base text-f1-foreground-secondary", children: t.selectedLabel })
22232
22230
  ] }) }),
22233
- /* @__PURE__ */ _(yT, { children: /* @__PURE__ */ _(vT, { children: t.children.map(
22231
+ /* @__PURE__ */ _(PT, { children: /* @__PURE__ */ _(DT, { children: t.children.map(
22234
22232
  (i, r) => gv(i, r)
22235
22233
  ) }) })
22236
22234
  ] }) }, `submenu-${e}`);
@@ -22244,7 +22242,7 @@ function gv(t, e) {
22244
22242
  children: /* @__PURE__ */ H("div", { className: "flex w-full flex-row items-center gap-2", children: [
22245
22243
  n.icon && /* @__PURE__ */ _(nn, { icon: n.icon }),
22246
22244
  /* @__PURE__ */ _("span", { className: "flex-1", children: n.label }),
22247
- n.selected && /* @__PURE__ */ _(nn, { icon: wd, color: "default" })
22245
+ n.selected && /* @__PURE__ */ _(nn, { icon: _d, color: "default" })
22248
22246
  ] })
22249
22247
  },
22250
22248
  `item-${e}`
@@ -22259,11 +22257,11 @@ function yK({
22259
22257
  const r = t.some(
22260
22258
  (o) => "type" in o && (o.type === "toggle" || o.type === "submenu" || o.type === "label")
22261
22259
  );
22262
- return /* @__PURE__ */ H(lT, { open: e, onOpenChange: n, children: [
22263
- /* @__PURE__ */ _(cT, { tabIndex: -1, asChild: !0, children: /* @__PURE__ */ _(
22260
+ return /* @__PURE__ */ H(ST, { open: e, onOpenChange: n, children: [
22261
+ /* @__PURE__ */ _(OT, { tabIndex: -1, asChild: !0, children: /* @__PURE__ */ _(
22264
22262
  ki,
22265
22263
  {
22266
- icon: ug,
22264
+ icon: dg,
22267
22265
  label: "Actions",
22268
22266
  hideLabel: !0,
22269
22267
  variant: "ghost",
@@ -22272,7 +22270,7 @@ function yK({
22272
22270
  disabled: i
22273
22271
  }
22274
22272
  ) }),
22275
- /* @__PURE__ */ _(uT, { className: "w-80", align: "start", children: r ? t.map((o, s) => gv(o, s)) : t.map((o, s) => gv(o, s)) })
22273
+ /* @__PURE__ */ _(ET, { className: "w-80", align: "start", children: r ? t.map((o, s) => gv(o, s)) : t.map((o, s) => gv(o, s)) })
22276
22274
  ] });
22277
22275
  }
22278
22276
  function vK({
@@ -22307,14 +22305,14 @@ function vK({
22307
22305
  "text-f1-icon transition-all",
22308
22306
  !a && "-rotate-90"
22309
22307
  ),
22310
- icon: V6
22308
+ icon: X6
22311
22309
  }
22312
22310
  ),
22313
22311
  /* @__PURE__ */ H(
22314
22312
  "div",
22315
22313
  {
22316
22314
  className: fe(
22317
- dg("focus:border-f1-border-focus"),
22315
+ hg("focus:border-f1-border-focus"),
22318
22316
  "relative flex h-[36px] min-w-0 flex-grow items-center gap-1 rounded-[10px] border border-solid border-transparent px-1.5 text-sm transition-colors",
22319
22317
  n && "bg-f1-background-selected",
22320
22318
  p && !y && "cursor-pointer hover:bg-f1-background-hover",
@@ -22341,7 +22339,7 @@ function vK({
22341
22339
  {
22342
22340
  className: "flex flex-shrink-0 cursor-grab items-center justify-center text-f1-icon active:cursor-grabbing",
22343
22341
  "aria-label": "Drag to reorder",
22344
- children: /* @__PURE__ */ _(nn, { icon: gT, size: "xs" })
22342
+ children: /* @__PURE__ */ _(nn, { icon: NT, size: "xs" })
22345
22343
  }
22346
22344
  )
22347
22345
  },
@@ -22362,7 +22360,7 @@ function vK({
22362
22360
  "icon"
22363
22361
  ) }) }),
22364
22362
  /* @__PURE__ */ _(
22365
- U6,
22363
+ J6,
22366
22364
  {
22367
22365
  lines: 1,
22368
22366
  className: fe(
@@ -22395,7 +22393,7 @@ function vK({
22395
22393
  ease: [0.25, 0.1, 0.25, 1]
22396
22394
  },
22397
22395
  className: "flex items-center justify-center",
22398
- children: /* @__PURE__ */ _(bT, { value: e })
22396
+ children: /* @__PURE__ */ _($T, { value: e })
22399
22397
  },
22400
22398
  "counter"
22401
22399
  ) : k && /* @__PURE__ */ _(
@@ -22455,13 +22453,13 @@ function Ys({
22455
22453
  }),
22456
22454
  [t.id, d, t]
22457
22455
  );
22458
- return $M({
22456
+ return IT({
22459
22457
  ref: b,
22460
22458
  payload: E,
22461
22459
  disabled: !o
22462
22460
  }), ut(() => {
22463
22461
  if (!(!b.current || !o))
22464
- return f5({
22462
+ return Z6({
22465
22463
  element: b.current,
22466
22464
  canDrop: ({ source: O }) => {
22467
22465
  const P = O.data;
@@ -22469,7 +22467,7 @@ function Ys({
22469
22467
  },
22470
22468
  getData: ({ input: O, element: P }) => {
22471
22469
  const A = P.getBoundingClientRect(), D = O.clientY - A.top, $ = A.height * 0.6;
22472
- return u && D > $ ? { type: "toc-item-target", id: t.id, position: "inside" } : IM(
22470
+ return u && D > $ ? { type: "toc-item-target", id: t.id, position: "inside" } : RT(
22473
22471
  { type: "toc-item-target", id: t.id },
22474
22472
  {
22475
22473
  input: O,
@@ -22489,7 +22487,7 @@ function Ys({
22489
22487
  x(null), w(!1), S.current = null;
22490
22488
  return;
22491
22489
  }
22492
- const N = O.data, D = Cb(O.data);
22490
+ const N = O.data, D = Sb(O.data);
22493
22491
  if (N.position === "inside") {
22494
22492
  const M = S.current;
22495
22493
  (!M || !M.isInside || M.edge !== null) && (w(!0), x(null), S.current = { edge: null, isInside: !0 }, f?.(t.id, "inside"));
@@ -22520,7 +22518,7 @@ function Ys({
22520
22518
  onDrop: ({ self: O }) => {
22521
22519
  const P = O.data;
22522
22520
  let A = "after";
22523
- P.position === "inside" ? A = "inside" : A = Cb(O.data) === "top" ? "before" : "after", x(null), w(!1), c && c(t.id, A);
22521
+ P.position === "inside" ? A = "inside" : A = Sb(O.data) === "top" ? "before" : "after", x(null), w(!1), c && c(t.id, A);
22524
22522
  }
22525
22523
  });
22526
22524
  }, [t.id, o, u, f, l, c]), /* @__PURE__ */ _(
@@ -22573,9 +22571,9 @@ function gK({
22573
22571
  currentParentId: u,
22574
22572
  draggedItemId: d
22575
22573
  }) {
22576
- const h = xT();
22574
+ const h = jT();
22577
22575
  return /* @__PURE__ */ H(
22578
- QT,
22576
+ LT,
22579
22577
  {
22580
22578
  open: i,
22581
22579
  onOpenChange: (p) => {
@@ -22600,7 +22598,7 @@ function gK({
22600
22598
  draggedItemId: d
22601
22599
  }
22602
22600
  ),
22603
- /* @__PURE__ */ _(eM, { forceMount: !0, className: "flex flex-col gap-1", children: /* @__PURE__ */ _(
22601
+ /* @__PURE__ */ _(BT, { forceMount: !0, className: "flex flex-col gap-1", children: /* @__PURE__ */ _(
22604
22602
  nt.div,
22605
22603
  {
22606
22604
  initial: !1,
@@ -22931,7 +22929,7 @@ function p_({
22931
22929
  const o = $e(null);
22932
22930
  return ut(() => {
22933
22931
  if (o.current)
22934
- return f5({
22932
+ return Z6({
22935
22933
  element: o.current,
22936
22934
  canDrop: ({ source: s }) => {
22937
22935
  const f = s.data;
@@ -23156,7 +23154,7 @@ function _K({
23156
23154
  },
23157
23155
  [b, E]
23158
23156
  );
23159
- return LM(
23157
+ return qT(
23160
23158
  xt(
23161
23159
  (C) => {
23162
23160
  if (C.phase === "start" && C.source.kind === "toc-item")
@@ -23191,7 +23189,7 @@ function _K({
23191
23189
  children: [
23192
23190
  (t || o) && /* @__PURE__ */ H("div", { className: "shrink-0 bg-f1-background pb-2 pl-5 pr-4 pt-5", children: [
23193
23191
  o && /* @__PURE__ */ _("div", { className: "mb-4", children: /* @__PURE__ */ _(
23194
- kT,
23192
+ HT,
23195
23193
  {
23196
23194
  placeholder: s ?? u.toc.search,
23197
23195
  onChange: p,
@@ -23200,7 +23198,7 @@ function _K({
23200
23198
  }
23201
23199
  ) }),
23202
23200
  t && /* @__PURE__ */ _(
23203
- U6,
23201
+ J6,
23204
23202
  {
23205
23203
  lines: 1,
23206
23204
  tag: "h2",
@@ -23257,17 +23255,17 @@ function _K({
23257
23255
  }
23258
23256
  )
23259
23257
  ] });
23260
- return c ? /* @__PURE__ */ _(wT, { className: "min-h-0 flex-1", children: /* @__PURE__ */ _("div", { className: "px-3 pb-2", children: /* @__PURE__ */ _("div", { className: "flex flex-col gap-0.5", children: re }) }) }) : /* @__PURE__ */ _("div", { className: "min-h-0 flex-1 overflow-hidden px-2 pb-2", children: /* @__PURE__ */ _("div", { className: "flex flex-col gap-0.5", children: re }) });
23258
+ return c ? /* @__PURE__ */ _(WT, { className: "min-h-0 flex-1", children: /* @__PURE__ */ _("div", { className: "px-3 pb-2", children: /* @__PURE__ */ _("div", { className: "flex flex-col gap-0.5", children: re }) }) }) : /* @__PURE__ */ _("div", { className: "min-h-0 flex-1 overflow-hidden px-2 pb-2", children: /* @__PURE__ */ _("div", { className: "flex flex-col gap-0.5", children: re }) });
23261
23259
  })()
23262
23260
  ]
23263
23261
  }
23264
23262
  );
23265
23263
  }
23266
23264
  function SK(t) {
23267
- const e = $e(/* @__PURE__ */ Symbol("f0-table-of-contents")), n = yi(() => RM(e.current), []);
23268
- return /* @__PURE__ */ _(jM, { driver: n, children: /* @__PURE__ */ _(_K, { ...t }) });
23265
+ const e = $e(/* @__PURE__ */ Symbol("f0-table-of-contents")), n = yi(() => FT(e.current), []);
23266
+ return /* @__PURE__ */ _(zT, { driver: n, children: /* @__PURE__ */ _(_K, { ...t }) });
23269
23267
  }
23270
- const qae = Ai(
23268
+ const Fae = Ai(
23271
23269
  $r("F0TableOfContent", SK)
23272
23270
  ), OK = {
23273
23271
  duration: 0.5,
@@ -23345,7 +23343,7 @@ const MK = (t) => Array.isArray(t) ? t.every((e) => TK(e)) ? t : [
23345
23343
  status: t,
23346
23344
  isLight: e
23347
23345
  }) => t === "loading" ? /* @__PURE__ */ _(
23348
- G6,
23346
+ e5,
23349
23347
  {
23350
23348
  size: "small",
23351
23349
  className: fe(!e && "text-f1-foreground-inverse")
@@ -23359,7 +23357,7 @@ const MK = (t) => Array.isArray(t) ? t.every((e) => TK(e)) ? t : [
23359
23357
  ) : /* @__PURE__ */ _(
23360
23358
  nn,
23361
23359
  {
23362
- icon: tM,
23360
+ icon: VT,
23363
23361
  size: "md",
23364
23362
  color: e ? "currentColor" : "inverse"
23365
23363
  }
@@ -23429,7 +23427,7 @@ const MK = (t) => Array.isArray(t) ? t.every((e) => TK(e)) ? t : [
23429
23427
  "flex flex-col items-center gap-2 sm:hidden [&_button]:w-full [&_div]:w-full"
23430
23428
  ),
23431
23429
  children: /* @__PURE__ */ H(uf, { children: [
23432
- /* @__PURE__ */ _(hg, { items: e }),
23430
+ /* @__PURE__ */ _(pg, { items: e }),
23433
23431
  p ? /* @__PURE__ */ _(
23434
23432
  Le,
23435
23433
  {
@@ -23462,7 +23460,7 @@ const MK = (t) => Array.isArray(t) ? t.every((e) => TK(e)) ? t : [
23462
23460
  "hidden items-center gap-2 sm:flex"
23463
23461
  ),
23464
23462
  children: /* @__PURE__ */ H(uf, { children: [
23465
- l.length > 0 && /* @__PURE__ */ _(K6, { items: l }),
23463
+ l.length > 0 && /* @__PURE__ */ _(Q6, { items: l }),
23466
23464
  f.slice().reverse().map((v) => /* @__PURE__ */ _(
23467
23465
  Le,
23468
23466
  {
@@ -23500,14 +23498,14 @@ const MK = (t) => Array.isArray(t) ? t.every((e) => TK(e)) ? t : [
23500
23498
  ]
23501
23499
  }
23502
23500
  ) });
23503
- }, Hae = Ai(DK), NK = ({
23501
+ }, zae = Ai(DK), NK = ({
23504
23502
  title: t,
23505
23503
  description: e,
23506
23504
  action: n,
23507
23505
  link: i,
23508
23506
  separator: r
23509
23507
  }) => {
23510
- const a = BM();
23508
+ const a = UT();
23511
23509
  return /* @__PURE__ */ H(
23512
23510
  "div",
23513
23511
  {
@@ -23523,7 +23521,7 @@ const MK = (t) => Array.isArray(t) ? t.every((e) => TK(e)) ? t : [
23523
23521
  /* @__PURE__ */ _("h2", { className: "text-lg font-semibold text-f1-foreground", children: t }),
23524
23522
  /* @__PURE__ */ _("p", { className: "text-f1-foreground-secondary", children: e })
23525
23523
  ] }),
23526
- i && /* @__PURE__ */ _("div", { className: "w-fit", children: /* @__PURE__ */ _(_T, { href: i.href, target: "_blank", children: i.label }) })
23524
+ i && /* @__PURE__ */ _("div", { className: "w-fit", children: /* @__PURE__ */ _(KT, { href: i.href, target: "_blank", children: i.label }) })
23527
23525
  ] }),
23528
23526
  n && /* @__PURE__ */ H(Ct, { children: [
23529
23527
  /* @__PURE__ */ _("div", { className: "hidden md:block", children: /* @__PURE__ */ _(
@@ -23550,7 +23548,7 @@ const MK = (t) => Array.isArray(t) ? t.every((e) => TK(e)) ? t : [
23550
23548
  ]
23551
23549
  }
23552
23550
  );
23553
- }, Wae = $r(
23551
+ }, qae = $r(
23554
23552
  "SectionHeader",
23555
23553
  NK
23556
23554
  ), $K = ["buttonToggle"], IK = (t) => {
@@ -23558,8 +23556,8 @@ const MK = (t) => Array.isArray(t) ? t.every((e) => TK(e)) ? t : [
23558
23556
  const { [i]: r, ...a } = n;
23559
23557
  return a;
23560
23558
  }, t);
23561
- return /* @__PURE__ */ _(ST, { ...e });
23562
- }, Vae = $r(
23559
+ return /* @__PURE__ */ _(GT, { ...e });
23560
+ }, Hae = $r(
23563
23561
  "NumberInput",
23564
23562
  IK
23565
23563
  );
@@ -34371,7 +34369,7 @@ function qJ(t) {
34371
34369
  }
34372
34370
  return null;
34373
34371
  }
34374
- function Uae(t, e) {
34372
+ function Wae(t, e) {
34375
34373
  const n = [];
34376
34374
  return t.descendants((i, r) => {
34377
34375
  e(i) && n.push({
@@ -34408,7 +34406,7 @@ function VJ(t, e) {
34408
34406
  const n = la.resolve(t);
34409
34407
  return bA(n, e);
34410
34408
  }
34411
- function Kae(t, e) {
34409
+ function Vae(t, e) {
34412
34410
  const n = VJ(e), i = Xi.fromJSON(n, t);
34413
34411
  return vh(i.content, n);
34414
34412
  }
@@ -35875,7 +35873,7 @@ function Nr(t) {
35875
35873
  function DZ(t) {
35876
35874
  return t.replace(/[-/\\^$*+?.()|[\]{}]/g, "\\$&");
35877
35875
  }
35878
- function Gae(t) {
35876
+ function Uae(t) {
35879
35877
  return new xA({
35880
35878
  find: t.find,
35881
35879
  handler({ match: e, chain: n, range: i, pasteEvent: r }) {
@@ -38287,7 +38285,7 @@ const Dee = () => Hn(QA), Nee = (t) => {
38287
38285
  }, [t.editor, i, e]), T.createElement("div", { ref: n, className: t.className, style: { visibility: "hidden" } }, t.children);
38288
38286
  }, eC = Ei({
38289
38287
  onDragStart: void 0
38290
- }), tC = () => Hn(eC), Yae = (t) => {
38288
+ }), tC = () => Hn(eC), Kae = (t) => {
38291
38289
  const e = t.as || "div", { nodeViewContentRef: n } = tC();
38292
38290
  return (
38293
38291
  // @ts-ignore
@@ -38296,7 +38294,7 @@ const Dee = () => Hn(QA), Nee = (t) => {
38296
38294
  ...t.style
38297
38295
  } })
38298
38296
  );
38299
- }, Xae = T.forwardRef((t, e) => {
38297
+ }, Gae = T.forwardRef((t, e) => {
38300
38298
  const { onDragStart: n } = tC(), i = t.as || "div";
38301
38299
  return (
38302
38300
  // @ts-ignore
@@ -38517,7 +38515,7 @@ class jee extends PZ {
38517
38515
  }
38518
38516
  }
38519
38517
  }
38520
- function Jae(t, e) {
38518
+ function Yae(t, e) {
38521
38519
  return (n) => n.editor.contentComponent ? new jee(t, n, e) : {};
38522
38520
  }
38523
38521
  const Kv = ({ option: t, onClick: e, isSelected: n = !1 }) => /* @__PURE__ */ _(
@@ -38536,8 +38534,8 @@ const Kv = ({ option: t, onClick: e, isSelected: n = !1 }) => /* @__PURE__ */ _(
38536
38534
  onSubSelect: n,
38537
38535
  isOpen: i,
38538
38536
  onOpenChange: r
38539
- }) => /* @__PURE__ */ H(pl, { open: i, onOpenChange: r, children: [
38540
- /* @__PURE__ */ _(_d, { asChild: !0, children: /* @__PURE__ */ _("div", { children: /* @__PURE__ */ _(
38537
+ }) => /* @__PURE__ */ H(yl, { open: i, onOpenChange: r, children: [
38538
+ /* @__PURE__ */ _(Sd, { asChild: !0, children: /* @__PURE__ */ _("div", { children: /* @__PURE__ */ _(
38541
38539
  Kv,
38542
38540
  {
38543
38541
  option: t,
@@ -38545,8 +38543,8 @@ const Kv = ({ option: t, onClick: e, isSelected: n = !1 }) => /* @__PURE__ */ _(
38545
38543
  isSelected: i
38546
38544
  }
38547
38545
  ) }) }),
38548
- /* @__PURE__ */ _(Sd, { children: /* @__PURE__ */ _(
38549
- ml,
38546
+ /* @__PURE__ */ _(Od, { children: /* @__PURE__ */ _(
38547
+ vl,
38550
38548
  {
38551
38549
  side: "right",
38552
38550
  sideOffset: 8,
@@ -38599,9 +38597,9 @@ const Kv = ({ option: t, onClick: e, isSelected: n = !1 }) => /* @__PURE__ */ _(
38599
38597
  );
38600
38598
  return /* @__PURE__ */ H("div", { className: "flex max-w-80 flex-col overflow-hidden rounded-lg border border-solid border-f1-border-secondary bg-f1-background drop-shadow-sm", children: [
38601
38599
  /* @__PURE__ */ _("div", { className: "flex w-full flex-row items-center p-2 [&>div]:w-full", children: /* @__PURE__ */ _(
38602
- OT,
38600
+ YT,
38603
38601
  {
38604
- icon: Q6,
38602
+ icon: t5,
38605
38603
  label: i,
38606
38604
  hideLabel: !0,
38607
38605
  type: "text",
@@ -38646,7 +38644,7 @@ const Kv = ({ option: t, onClick: e, isSelected: n = !1 }) => /* @__PURE__ */ _(
38646
38644
  h.preventDefault(), l.current ? u((p) => !p) : u(!1);
38647
38645
  };
38648
38646
  return /* @__PURE__ */ H(
38649
- pl,
38647
+ yl,
38650
38648
  {
38651
38649
  open: c,
38652
38650
  modal: !1,
@@ -38654,13 +38652,13 @@ const Kv = ({ option: t, onClick: e, isSelected: n = !1 }) => /* @__PURE__ */ _(
38654
38652
  u(h), h || t.view.dom.classList.remove("maintain-selection");
38655
38653
  },
38656
38654
  children: [
38657
- /* @__PURE__ */ _(_d, { asChild: !0, children: /* @__PURE__ */ _(
38655
+ /* @__PURE__ */ _(Sd, { asChild: !0, children: /* @__PURE__ */ _(
38658
38656
  ki,
38659
38657
  {
38660
38658
  pressed: c,
38661
38659
  variant: "ai",
38662
38660
  ref: l,
38663
- icon: Q6,
38661
+ icon: t5,
38664
38662
  label: f.richTextEditor.ai.enhanceButtonLabel,
38665
38663
  onClick: (h) => {
38666
38664
  d(h);
@@ -38669,8 +38667,8 @@ const Kv = ({ option: t, onClick: e, isSelected: n = !1 }) => /* @__PURE__ */ _(
38669
38667
  hideLabel: a
38670
38668
  }
38671
38669
  ) }),
38672
- /* @__PURE__ */ _(Sd, { container: document.body, children: /* @__PURE__ */ _(
38673
- ml,
38670
+ /* @__PURE__ */ _(Od, { container: document.body, children: /* @__PURE__ */ _(
38671
+ vl,
38674
38672
  {
38675
38673
  side: o,
38676
38674
  align: "start",
@@ -41679,15 +41677,15 @@ function Rte({
41679
41677
  lastEmojiReaction: r
41680
41678
  }) {
41681
41679
  const [a, o] = ve(!1);
41682
- return /* @__PURE__ */ H(ET, { open: a, onOpenChange: o, children: [
41683
- /* @__PURE__ */ _(AT, { asChild: !0, children: /* @__PURE__ */ _(
41680
+ return /* @__PURE__ */ H(XT, { open: a, onOpenChange: o, children: [
41681
+ /* @__PURE__ */ _(JT, { asChild: !0, children: /* @__PURE__ */ _(
41684
41682
  ki,
41685
41683
  {
41686
41684
  variant: i,
41687
41685
  compact: !0,
41688
41686
  label: "Add reaction",
41689
41687
  size: n,
41690
- icon: r ? void 0 : nM,
41688
+ icon: r ? void 0 : ZT,
41691
41689
  emoji: r,
41692
41690
  pressed: a,
41693
41691
  onClick: (s) => {
@@ -41697,7 +41695,7 @@ function Rte({
41697
41695
  }
41698
41696
  ) }),
41699
41697
  /* @__PURE__ */ _(
41700
- CT,
41698
+ QT,
41701
41699
  {
41702
41700
  side: "bottom",
41703
41701
  align: "start",
@@ -41752,25 +41750,25 @@ const jte = ({ editor: t, disabled: e }) => {
41752
41750
  r(!1);
41753
41751
  };
41754
41752
  return /* @__PURE__ */ H(
41755
- pl,
41753
+ yl,
41756
41754
  {
41757
41755
  open: i,
41758
41756
  onOpenChange: (h) => {
41759
41757
  r(h), h && o(t.getAttributes("link").href || "");
41760
41758
  },
41761
41759
  children: [
41762
- /* @__PURE__ */ _(_d, { asChild: !0, children: /* @__PURE__ */ _(
41763
- pg,
41760
+ /* @__PURE__ */ _(Sd, { asChild: !0, children: /* @__PURE__ */ _(
41761
+ mg,
41764
41762
  {
41765
41763
  selected: t.isActive("link") || i,
41766
41764
  label: n.richTextEditor.link,
41767
- icon: Ab,
41765
+ icon: Ob,
41768
41766
  disabled: e,
41769
41767
  onSelectedChange: () => s()
41770
41768
  }
41771
41769
  ) }),
41772
- /* @__PURE__ */ _(Sd, { container: document.body, children: /* @__PURE__ */ _(
41773
- ml,
41770
+ /* @__PURE__ */ _(Od, { container: document.body, children: /* @__PURE__ */ _(
41771
+ vl,
41774
41772
  {
41775
41773
  side: "top",
41776
41774
  align: "start",
@@ -41799,7 +41797,7 @@ const jte = ({ editor: t, disabled: e }) => {
41799
41797
  className: "[&>button]:aspect-square [&>button]:px-0",
41800
41798
  label: "Close link popup",
41801
41799
  hideLabel: !0,
41802
- icon: hl
41800
+ icon: ml
41803
41801
  }
41804
41802
  ),
41805
41803
  /* @__PURE__ */ H(
@@ -41807,7 +41805,7 @@ const jte = ({ editor: t, disabled: e }) => {
41807
41805
  {
41808
41806
  className: fe(
41809
41807
  "flex w-80 appearance-none items-center gap-2 rounded border-0 bg-f1-background py-1 pl-2 pr-1 ring-1 ring-inset ring-f1-border transition-all placeholder:text-f1-foreground-tertiary",
41810
- t.isActive("link") ? "cursor-auto" : dg("focus:ring-f1-border-hover") + "hover:ring-f1-border-hover"
41808
+ t.isActive("link") ? "cursor-auto" : hg("focus:ring-f1-border-hover") + "hover:ring-f1-border-hover"
41811
41809
  ),
41812
41810
  children: [
41813
41811
  /* @__PURE__ */ _(
@@ -41818,9 +41816,9 @@ const jte = ({ editor: t, disabled: e }) => {
41818
41816
  a.length > 0 ? "w-6" : "w-4"
41819
41817
  ),
41820
41818
  children: /* @__PURE__ */ _(
41821
- TT,
41819
+ eM,
41822
41820
  {
41823
- icon: a.length > 0 ? f(a) ? wd : iM : Ab,
41821
+ icon: a.length > 0 ? f(a) ? _d : tM : Ob,
41824
41822
  type: a ? f(a) ? "positive" : "warning" : "neutral",
41825
41823
  size: a.length > 0 ? "sm" : "lg"
41826
41824
  }
@@ -41844,7 +41842,7 @@ const jte = ({ editor: t, disabled: e }) => {
41844
41842
  nn,
41845
41843
  {
41846
41844
  size: "md",
41847
- icon: Y6,
41845
+ icon: n5,
41848
41846
  className: "cursor-pointer text-f1-foreground-tertiary hover:text-f1-foreground-secondary",
41849
41847
  onClick: u
41850
41848
  }
@@ -41900,9 +41898,9 @@ const jte = ({ editor: t, disabled: e }) => {
41900
41898
  const [a, o] = ve(!1), s = () => {
41901
41899
  e || o(!a);
41902
41900
  };
41903
- return /* @__PURE__ */ H(pl, { open: a, modal: !1, onOpenChange: o, children: [
41904
- /* @__PURE__ */ _(_d, { asChild: !0, children: /* @__PURE__ */ _(
41905
- pg,
41901
+ return /* @__PURE__ */ H(yl, { open: a, modal: !1, onOpenChange: o, children: [
41902
+ /* @__PURE__ */ _(Sd, { asChild: !0, children: /* @__PURE__ */ _(
41903
+ mg,
41906
41904
  {
41907
41905
  label: n.label,
41908
41906
  icon: n.icon,
@@ -41911,8 +41909,8 @@ const jte = ({ editor: t, disabled: e }) => {
41911
41909
  onSelectedChange: s
41912
41910
  }
41913
41911
  ) }),
41914
- /* @__PURE__ */ _(Sd, { container: document.body, children: /* @__PURE__ */ _(
41915
- ml,
41912
+ /* @__PURE__ */ _(Od, { container: document.body, children: /* @__PURE__ */ _(
41913
+ vl,
41916
41914
  {
41917
41915
  side: r,
41918
41916
  align: "end",
@@ -41932,7 +41930,7 @@ const jte = ({ editor: t, disabled: e }) => {
41932
41930
  i && "dark"
41933
41931
  ),
41934
41932
  children: t.map((f, l) => /* @__PURE__ */ _(
41935
- MT,
41933
+ nM,
41936
41934
  {
41937
41935
  variant: "ghost",
41938
41936
  size: "md",
@@ -41942,7 +41940,7 @@ const jte = ({ editor: t, disabled: e }) => {
41942
41940
  disabled: e,
41943
41941
  "aria-label": f.label,
41944
41942
  className: fe(
41945
- PT({
41943
+ iM({
41946
41944
  variant: f.isActive ? "selected" : "ghost"
41947
41945
  }),
41948
41946
  "justify-start"
@@ -41959,7 +41957,7 @@ const jte = ({ editor: t, disabled: e }) => {
41959
41957
  }
41960
41958
  ) })
41961
41959
  ] });
41962
- }, Lte = (t) => t.isActive({ textAlign: "left" }) ? "Left" : t.isActive({ textAlign: "center" }) ? "Center" : t.isActive({ textAlign: "right" }) ? "Right" : t.isActive({ textAlign: "justify" }) ? "Justify" : "Left", Bte = (t) => t.isActive({ textAlign: "left" }) ? Uy : t.isActive({ textAlign: "center" }) ? e5 : t.isActive({ textAlign: "right" }) ? t5 : t.isActive({ textAlign: "justify" }) ? n5 : Uy, Fte = (t, e) => t.map((n, i) => /* @__PURE__ */ H(uf, { children: [
41960
+ }, Lte = (t) => t.isActive({ textAlign: "left" }) ? "Left" : t.isActive({ textAlign: "center" }) ? "Center" : t.isActive({ textAlign: "right" }) ? "Right" : t.isActive({ textAlign: "justify" }) ? "Justify" : "Left", Bte = (t) => t.isActive({ textAlign: "left" }) ? Vy : t.isActive({ textAlign: "center" }) ? i5 : t.isActive({ textAlign: "right" }) ? r5 : t.isActive({ textAlign: "justify" }) ? a5 : Vy, Fte = (t, e) => t.map((n, i) => /* @__PURE__ */ H(uf, { children: [
41963
41961
  n,
41964
41962
  i < t.length - 1 && e
41965
41963
  ] }, `intersperse-${i}`)), ab = ({
@@ -42054,7 +42052,7 @@ const jte = ({ editor: t, disabled: e }) => {
42054
42052
  ], u = [
42055
42053
  {
42056
42054
  key: "bulletList",
42057
- icon: DT,
42055
+ icon: uM,
42058
42056
  label: f.richTextEditor.bulletList,
42059
42057
  active: (k) => k.isActive("bulletList"),
42060
42058
  onClick: (k) => k.chain().focus().toggleBulletList().run(),
@@ -42065,7 +42063,7 @@ const jte = ({ editor: t, disabled: e }) => {
42065
42063
  },
42066
42064
  {
42067
42065
  key: "orderedList",
42068
- icon: uM,
42066
+ icon: dM,
42069
42067
  label: f.richTextEditor.orderedList,
42070
42068
  active: (k) => k.isActive("orderedList"),
42071
42069
  onClick: (k) => k.chain().focus().toggleOrderedList().run(),
@@ -42077,7 +42075,7 @@ const jte = ({ editor: t, disabled: e }) => {
42077
42075
  ...s ? [] : [
42078
42076
  {
42079
42077
  key: "taskList",
42080
- icon: dM,
42078
+ icon: hM,
42081
42079
  label: f.richTextEditor.taskList,
42082
42080
  active: (k) => k.isActive("taskList"),
42083
42081
  onClick: (k) => k.chain().focus().toggleTaskList().run(),
@@ -42088,7 +42086,7 @@ const jte = ({ editor: t, disabled: e }) => {
42088
42086
  },
42089
42087
  {
42090
42088
  key: "highlight",
42091
- icon: NT,
42089
+ icon: pM,
42092
42090
  label: f.richTextEditor.highlight,
42093
42091
  active: (k) => k.isActive("highlight"),
42094
42092
  onClick: (k) => k.chain().focus().toggleHighlight().run(),
@@ -42099,7 +42097,7 @@ const jte = ({ editor: t, disabled: e }) => {
42099
42097
  }
42100
42098
  ]
42101
42099
  ], d = (k) => /* @__PURE__ */ _("div", { className: "flex flex-row items-center gap-0.5", children: k.map((x) => /* @__PURE__ */ _(
42102
- pg,
42100
+ mg,
42103
42101
  {
42104
42102
  label: x.label,
42105
42103
  icon: x.icon,
@@ -42116,25 +42114,25 @@ const jte = ({ editor: t, disabled: e }) => {
42116
42114
  items: [
42117
42115
  {
42118
42116
  label: f.richTextEditor.left,
42119
- icon: Uy,
42117
+ icon: Vy,
42120
42118
  onClick: () => t.chain().focus().setTextAlign("left").run(),
42121
42119
  isActive: t.isActive({ textAlign: "left" }) || !t.isActive({ textAlign: "justify" }) && !t.isActive({ textAlign: "center" }) && !t.isActive({ textAlign: "right" })
42122
42120
  },
42123
42121
  {
42124
42122
  label: f.richTextEditor.center,
42125
- icon: e5,
42123
+ icon: i5,
42126
42124
  onClick: () => t.chain().focus().setTextAlign("center").run(),
42127
42125
  isActive: t.isActive({ textAlign: "center" })
42128
42126
  },
42129
42127
  {
42130
42128
  label: f.richTextEditor.right,
42131
- icon: t5,
42129
+ icon: r5,
42132
42130
  onClick: () => t.chain().focus().setTextAlign("right").run(),
42133
42131
  isActive: t.isActive({ textAlign: "right" })
42134
42132
  },
42135
42133
  {
42136
42134
  label: f.richTextEditor.justify,
42137
- icon: n5,
42135
+ icon: a5,
42138
42136
  onClick: () => t.chain().focus().setTextAlign("justify").run(),
42139
42137
  isActive: t.isActive({ textAlign: "justify" })
42140
42138
  }
@@ -42154,25 +42152,25 @@ const jte = ({ editor: t, disabled: e }) => {
42154
42152
  darkMode: a,
42155
42153
  items: [
42156
42154
  {
42157
- icon: hM,
42155
+ icon: mM,
42158
42156
  label: f.richTextEditor.codeBlock,
42159
42157
  onClick: () => t.chain().focus().toggleCodeBlock().run(),
42160
42158
  isActive: t.isActive("codeBlock")
42161
42159
  },
42162
42160
  {
42163
- icon: $T,
42161
+ icon: yM,
42164
42162
  label: f.richTextEditor.divider,
42165
42163
  onClick: () => t.chain().focus().setHorizontalRule().run(),
42166
42164
  isActive: t.isActive("horizontalRule")
42167
42165
  },
42168
42166
  {
42169
- icon: pM,
42167
+ icon: vM,
42170
42168
  label: f.richTextEditor.quote,
42171
42169
  onClick: () => t.chain().focus().toggleBlockquote().run(),
42172
42170
  isActive: t.isActive("blockquote")
42173
42171
  },
42174
42172
  {
42175
- icon: V6,
42173
+ icon: X6,
42176
42174
  label: f.richTextEditor.details,
42177
42175
  onClick: () => t.chain().focus().setDetails().run(),
42178
42176
  isActive: t.isActive("details")
@@ -42181,7 +42179,7 @@ const jte = ({ editor: t, disabled: e }) => {
42181
42179
  disabled: n,
42182
42180
  activator: {
42183
42181
  label: f.richTextEditor.moreOptions,
42184
- icon: ug
42182
+ icon: dg
42185
42183
  }
42186
42184
  }
42187
42185
  )
@@ -42195,7 +42193,7 @@ const jte = ({ editor: t, disabled: e }) => {
42195
42193
  t.chain().focus().insertContent(k).run();
42196
42194
  }
42197
42195
  }
42198
- ), b = H6.compact([
42196
+ ), b = G6.compact([
42199
42197
  y,
42200
42198
  o && !n && v,
42201
42199
  h,
@@ -42214,7 +42212,7 @@ const jte = ({ editor: t, disabled: e }) => {
42214
42212
  disabled: n,
42215
42213
  hideLabel: !0,
42216
42214
  label: f.actions.close,
42217
- icon: hl
42215
+ icon: ml
42218
42216
  }
42219
42217
  ),
42220
42218
  /* @__PURE__ */ _(
@@ -45542,7 +45540,7 @@ const hre = ({ item: t, selected: e }) => /* @__PURE__ */ H(
45542
45540
  ),
45543
45541
  children: [
45544
45542
  /* @__PURE__ */ _(
45545
- IT,
45543
+ gM,
45546
45544
  {
45547
45545
  firstName: t.label,
45548
45546
  lastName: "",
@@ -45609,7 +45607,7 @@ const P6 = ({
45609
45607
  height: 0
45610
45608
  };
45611
45609
  return /* @__PURE__ */ H(
45612
- pl,
45610
+ yl,
45613
45611
  {
45614
45612
  open: !0,
45615
45613
  modal: !1,
@@ -45618,9 +45616,9 @@ const P6 = ({
45618
45616
  },
45619
45617
  children: [
45620
45618
  /* @__PURE__ */ _("div", { style: i }),
45621
- /* @__PURE__ */ _(RT, { asChild: !0, children: /* @__PURE__ */ _("div", { style: i }) }),
45619
+ /* @__PURE__ */ _(bM, { asChild: !0, children: /* @__PURE__ */ _("div", { style: i }) }),
45622
45620
  /* @__PURE__ */ _(
45623
- ml,
45621
+ vl,
45624
45622
  {
45625
45623
  side: "top",
45626
45624
  align: "start",
@@ -45936,7 +45934,7 @@ const mre = cre.extend({
45936
45934
  },
45937
45935
  size: "sm",
45938
45936
  variant: "outline",
45939
- icon: hl
45937
+ icon: ml
45940
45938
  }
45941
45939
  ),
45942
45940
  /* @__PURE__ */ _(
@@ -45951,7 +45949,7 @@ const mre = cre.extend({
45951
45949
  },
45952
45950
  size: "sm",
45953
45951
  variant: "outline",
45954
- icon: jT
45952
+ icon: xM
45955
45953
  }
45956
45954
  ),
45957
45955
  /* @__PURE__ */ _(
@@ -45963,12 +45961,12 @@ const mre = cre.extend({
45963
45961
  },
45964
45962
  size: "sm",
45965
45963
  variant: "default",
45966
- icon: wd
45964
+ icon: _d
45967
45965
  }
45968
45966
  )
45969
45967
  ] });
45970
45968
  }, Ore = ({ label: t }) => /* @__PURE__ */ H("div", { className: "dark flex items-center gap-3 rounded-md border border-solid border-f1-border bg-f1-background px-4 py-1.5 drop-shadow-sm", children: [
45971
- /* @__PURE__ */ _(G6, { size: "small" }),
45969
+ /* @__PURE__ */ _(e5, { size: "small" }),
45972
45970
  /* @__PURE__ */ _("p", { className: "font-medium text-f1-foreground", children: t })
45973
45971
  ] }), Ere = ({
45974
45972
  isFullscreen: t = !1
@@ -46010,7 +46008,7 @@ const mre = cre.extend({
46010
46008
  const i = ir();
46011
46009
  return /* @__PURE__ */ H("div", { className: "flex w-max max-w-full items-center gap-10 rounded-md bg-f1-background-critical p-1 drop-shadow-sm", children: [
46012
46010
  /* @__PURE__ */ H("div", { className: "flex w-full flex-row items-center gap-2", children: [
46013
- /* @__PURE__ */ _("div", { className: "flex-shrink-0", children: /* @__PURE__ */ _(l5, { size: "sm", type: "critical" }) }),
46011
+ /* @__PURE__ */ _("div", { className: "flex-shrink-0", children: /* @__PURE__ */ _(o5, { size: "sm", type: "critical" }) }),
46014
46012
  /* @__PURE__ */ _(
46015
46013
  "p",
46016
46014
  {
@@ -46050,13 +46048,13 @@ const mre = cre.extend({
46050
46048
  ),
46051
46049
  ...r,
46052
46050
  children: [
46053
- /* @__PURE__ */ _(X6, { file: t }),
46054
- /* @__PURE__ */ _(Vy, { label: t.name, children: /* @__PURE__ */ _("p", { className: "text-neutral-1000 grow overflow-hidden truncate text-ellipsis text-sm font-medium", children: t.name }) }),
46051
+ /* @__PURE__ */ _(s5, { file: t }),
46052
+ /* @__PURE__ */ _(Uy, { label: t.name, children: /* @__PURE__ */ _("p", { className: "text-neutral-1000 grow overflow-hidden truncate text-ellipsis text-sm font-medium", children: t.name }) }),
46055
46053
  o && (s ? /* @__PURE__ */ _(
46056
46054
  nn,
46057
46055
  {
46058
46056
  size: "md",
46059
- icon: s.icon ?? Y6,
46057
+ icon: s.icon ?? n5,
46060
46058
  className: fe(
46061
46059
  "cursor-pointer text-f1-icon",
46062
46060
  n ? "cursor-not-allowed" : "hover:text-f1-icon-bold",
@@ -46064,7 +46062,7 @@ const mre = cre.extend({
46064
46062
  ),
46065
46063
  onClick: n ? void 0 : s.onClick
46066
46064
  }
46067
- ) : /* @__PURE__ */ _(LT, { items: f, icon: ug, size: "sm" }))
46065
+ ) : /* @__PURE__ */ _(kM, { items: f, icon: dg, size: "sm" }))
46068
46066
  ]
46069
46067
  }
46070
46068
  );
@@ -46228,7 +46226,7 @@ const Cre = Ai(HC), Cn = {
46228
46226
  o.map((l, c) => {
46229
46227
  const u = l;
46230
46228
  return /* @__PURE__ */ _(
46231
- W6,
46229
+ Y6,
46232
46230
  {
46233
46231
  title: l.label,
46234
46232
  checked: u.checked || !1,
@@ -46398,13 +46396,13 @@ const Cre = Ai(HC), Cn = {
46398
46396
  label: "Toolbar",
46399
46397
  disabled: u,
46400
46398
  hideLabel: !0,
46401
- icon: mM
46399
+ icon: wM
46402
46400
  }
46403
46401
  ), E = () => /* @__PURE__ */ H(Ct, { children: [
46404
46402
  a && /* @__PURE__ */ _(
46405
46403
  Le,
46406
46404
  {
46407
- icon: yM,
46405
+ icon: _M,
46408
46406
  onClick: w,
46409
46407
  hideLabel: !0,
46410
46408
  label: "Add Attachment",
@@ -46524,7 +46522,7 @@ const Cre = Ai(HC), Cn = {
46524
46522
  variant: "outline",
46525
46523
  hideLabel: !0,
46526
46524
  size: "sm",
46527
- icon: e ? vM : gM,
46525
+ icon: e ? SM : OM,
46528
46526
  disabled: i
46529
46527
  }
46530
46528
  ) }),
@@ -46823,7 +46821,7 @@ const Ure = ({
46823
46821
  });
46824
46822
  };
46825
46823
  if (!re) return null;
46826
- const Me = /* @__PURE__ */ _(BT, { trapped: !1, children: /* @__PURE__ */ H(
46824
+ const Me = /* @__PURE__ */ _(EM, { trapped: !1, children: /* @__PURE__ */ H(
46827
46825
  "div",
46828
46826
  {
46829
46827
  ref: E,
@@ -47009,9 +47007,9 @@ const Ure = ({
47009
47007
  }
47010
47008
  ) });
47011
47009
  return B ? vg.createPortal(
47012
- /* @__PURE__ */ _(Sb, { dataTestId: k, children: Me }),
47010
+ /* @__PURE__ */ _(Eb, { dataTestId: k, children: Me }),
47013
47011
  document.body
47014
- ) : /* @__PURE__ */ _(Sb, { dataTestId: k, children: Me });
47012
+ ) : /* @__PURE__ */ _(Eb, { dataTestId: k, children: Me });
47015
47013
  }), eae = ({ rows: t = 2 }) => {
47016
47014
  const e = ["75%", "100%", "60%", "85%", "70%"], n = Array.from(
47017
47015
  { length: t },
@@ -47031,7 +47029,7 @@ const Ure = ({
47031
47029
  ] })
47032
47030
  ] }) })
47033
47031
  ] });
47034
- }, Zae = J6(
47032
+ }, Xae = f5(
47035
47033
  Qre,
47036
47034
  eae
47037
47035
  ), WC = Ie.forwardRef(
@@ -47057,7 +47055,7 @@ const Ure = ({
47057
47055
  loading: b,
47058
47056
  ...k
47059
47057
  }, x) => /* @__PURE__ */ _(
47060
- FT,
47058
+ AM,
47061
47059
  {
47062
47060
  label: e,
47063
47061
  labelIcon: n,
@@ -47095,15 +47093,15 @@ const Ure = ({
47095
47093
  )
47096
47094
  );
47097
47095
  WC.displayName = "Textarea";
47098
- const tae = Z6(
47096
+ const tae = l5(
47099
47097
  {
47100
47098
  name: "Textarea",
47101
47099
  type: "form"
47102
47100
  },
47103
47101
  WC
47104
- ), Qae = $r("Textarea", tae);
47102
+ ), Jae = $r("Textarea", tae);
47105
47103
  function nae({ avatar: t }) {
47106
- return t.type === "emoji" ? /* @__PURE__ */ _(zT, { emoji: t.emoji, size: "md" }) : t.type === "file" ? /* @__PURE__ */ _(X6, { file: t.file, size: "md" }) : t.type === "icon" ? /* @__PURE__ */ _(qT, { icon: t.icon, size: "md" }) : /* @__PURE__ */ _(mg, { avatar: t, size: "md" });
47104
+ return t.type === "emoji" ? /* @__PURE__ */ _(CM, { emoji: t.emoji, size: "md" }) : t.type === "file" ? /* @__PURE__ */ _(s5, { file: t.file, size: "md" }) : t.type === "icon" ? /* @__PURE__ */ _(TM, { icon: t.icon, size: "md" }) : /* @__PURE__ */ _(yg, { avatar: t, size: "md" });
47107
47105
  }
47108
47106
  function iae({ checked: t }) {
47109
47107
  return /* @__PURE__ */ _(
@@ -47126,7 +47124,7 @@ function rae({ checked: t }) {
47126
47124
  "flex h-5 w-5 shrink-0 items-center justify-center rounded-xs transition-colors",
47127
47125
  t ? "bg-f1-background-selected-bold text-f1-foreground-inverse" : "border border-solid border-f1-border bg-f1-background"
47128
47126
  ),
47129
- children: t && /* @__PURE__ */ _(nn, { icon: wd, size: "sm" })
47127
+ children: t && /* @__PURE__ */ _(nn, { icon: _d, size: "sm" })
47130
47128
  }
47131
47129
  );
47132
47130
  }
@@ -47176,7 +47174,7 @@ function oae({
47176
47174
  },
47177
47175
  className: fe(
47178
47176
  "relative flex flex-1 cursor-pointer items-center gap-3 transition-colors",
47179
- dg(),
47177
+ hg(),
47180
47178
  o ? (
47181
47179
  // Grouped style: no border, just padding
47182
47180
  fe("px-4 py-3")
@@ -47284,7 +47282,7 @@ function fae(t) {
47284
47282
  }
47285
47283
  );
47286
47284
  }
47287
- const eoe = Ai(
47285
+ const Zae = Ai(
47288
47286
  fae
47289
47287
  ), VC = ii(
47290
47288
  ({ header: t, actions: e, open: n, onClose: i }, r) => {
@@ -47296,19 +47294,19 @@ const eoe = Ai(
47296
47294
  return () => clearTimeout(f);
47297
47295
  }, [i]);
47298
47296
  return /* @__PURE__ */ _(
47299
- HT,
47297
+ MM,
47300
47298
  {
47301
47299
  open: n && !a,
47302
47300
  onOpenChange: (f) => !f && s?.(),
47303
- children: /* @__PURE__ */ H(WT, { ref: r, className: "bottom-3 top-auto max-w-[400px]", children: [
47304
- /* @__PURE__ */ H(FM, { className: "flex flex-col gap-4 px-4 py-5", children: [
47305
- /* @__PURE__ */ _(l5, { type: t.type, size: "lg" }),
47301
+ children: /* @__PURE__ */ H(PM, { ref: r, className: "bottom-3 top-auto max-w-[400px]", children: [
47302
+ /* @__PURE__ */ H(DM, { className: "flex flex-col gap-4 px-4 py-5", children: [
47303
+ /* @__PURE__ */ _(o5, { type: t.type, size: "lg" }),
47306
47304
  /* @__PURE__ */ H("div", { className: "flex flex-col gap-0.5", children: [
47307
- /* @__PURE__ */ _(VT, { className: "text-xl sm:text-lg", children: t.title }),
47308
- /* @__PURE__ */ _(zM, { className: "text-lg sm:text-base", children: t.description })
47305
+ /* @__PURE__ */ _(NM, { className: "text-xl sm:text-lg", children: t.title }),
47306
+ /* @__PURE__ */ _($M, { className: "text-lg sm:text-base", children: t.description })
47309
47307
  ] })
47310
47308
  ] }),
47311
- e && /* @__PURE__ */ H(qM, { className: "px-4 pb-4 pt-2", children: [
47309
+ e && /* @__PURE__ */ H(IM, { className: "px-4 pb-4 pt-2", children: [
47312
47310
  /* @__PURE__ */ H("div", { className: "hidden sm:flex sm:flex-row sm:justify-between sm:gap-3 [&>div]:w-full", children: [
47313
47311
  /* @__PURE__ */ _(Le, { variant: "outline", ...e.secondary }),
47314
47312
  /* @__PURE__ */ _(
@@ -47337,13 +47335,13 @@ const eoe = Ai(
47337
47335
  }
47338
47336
  );
47339
47337
  VC.displayName = "Dialog";
47340
- const toe = Ai(
47341
- Z6(
47338
+ const Qae = Ai(
47339
+ l5(
47342
47340
  { name: "Dialog", type: "info" },
47343
47341
  $r("Dialog", VC)
47344
47342
  )
47345
47343
  ), lae = ({ description: t }) => {
47346
- const [e, n] = ve(!1), [i, r] = ve(!1), a = ir(), o = $e(null), s = $e(null), f = Ob({ ref: o }), l = Ob({ ref: s });
47344
+ const [e, n] = ve(!1), [i, r] = ve(!1), a = ir(), o = $e(null), s = $e(null), f = Ab({ ref: o }), l = Ab({ ref: s });
47347
47345
  return ut(() => {
47348
47346
  l.height && f.height && r(l.height > f.height);
47349
47347
  }, [l.height, f.height]), /* @__PURE__ */ H("div", { className: "flex max-w-[640px] flex-col gap-1", children: [
@@ -47397,12 +47395,12 @@ const toe = Ai(
47397
47395
  ] });
47398
47396
  }, cae = {
47399
47397
  warning: {
47400
- icon: KT,
47398
+ icon: jM,
47401
47399
  iconColor: "warning",
47402
47400
  textColor: "text-f1-foreground-warning"
47403
47401
  },
47404
47402
  critical: {
47405
- icon: UT,
47403
+ icon: RM,
47406
47404
  iconColor: "critical",
47407
47405
  textColor: "text-f1-foreground-critical"
47408
47406
  }
@@ -47417,14 +47415,14 @@ function Hy({
47417
47415
  return /* @__PURE__ */ _("span", { children: n.content });
47418
47416
  case "avatar":
47419
47417
  return /* @__PURE__ */ H("div", { className: "flex items-center gap-1", children: [
47420
- /* @__PURE__ */ _(mg, { avatar: n.variant, size: "xs" }),
47418
+ /* @__PURE__ */ _(yg, { avatar: n.variant, size: "xs" }),
47421
47419
  n.text && /* @__PURE__ */ _("span", { children: n.text })
47422
47420
  ] });
47423
47421
  case "status":
47424
- return /* @__PURE__ */ _(XT, { text: n.label, variant: n.variant });
47422
+ return /* @__PURE__ */ _(FM, { text: n.label, variant: n.variant });
47425
47423
  case "list":
47426
47424
  return /* @__PURE__ */ _(
47427
- YT,
47425
+ BM,
47428
47426
  {
47429
47427
  type: n.variant,
47430
47428
  avatars: n.avatars,
@@ -47442,7 +47440,7 @@ function Hy({
47442
47440
  ] }) : /* @__PURE__ */ _("div", { className: "flex flex-col gap-1.5", children: n.data.map((i) => /* @__PURE__ */ _("span", { children: i }, i)) });
47443
47441
  case "tag-list":
47444
47442
  return e ? /* @__PURE__ */ H("div", { className: "flex flex-wrap items-center justify-center gap-1 font-medium", children: [
47445
- /* @__PURE__ */ _(Eb, { text: n.tags[0] }),
47443
+ /* @__PURE__ */ _(Cb, { text: n.tags[0] }),
47446
47444
  n.tags.length > 1 && /* @__PURE__ */ H("span", { className: "tabular-nums text-f1-foreground-secondary", children: [
47447
47445
  "+",
47448
47446
  n.tags.length - 1
@@ -47454,11 +47452,11 @@ function Hy({
47454
47452
  "flex flex-col gap-1 [&>div]:w-fit",
47455
47453
  n.tags.length > 1 && "-mt-[3px]"
47456
47454
  ),
47457
- children: n.tags.map((i) => /* @__PURE__ */ _(Eb, { text: i }, i))
47455
+ children: n.tags.map((i) => /* @__PURE__ */ _(Cb, { text: i }, i))
47458
47456
  }
47459
47457
  );
47460
47458
  case "dot-tag":
47461
- return /* @__PURE__ */ _(GT, { text: n.label, color: n.color });
47459
+ return /* @__PURE__ */ _(LM, { text: n.label, color: n.color });
47462
47460
  case "date": {
47463
47461
  if (n.icon === void 0)
47464
47462
  return /* @__PURE__ */ _("span", { children: n.formattedDate });
@@ -47507,11 +47505,11 @@ function hae({ item: t }) {
47507
47505
  children: [
47508
47506
  t.label,
47509
47507
  t.info && /* @__PURE__ */ _("div", { className: "flex h-4 w-4 items-center text-f1-foreground-tertiary hover:cursor-help", children: /* @__PURE__ */ _(
47510
- Vy,
47508
+ Uy,
47511
47509
  {
47512
47510
  label: t.info.title,
47513
47511
  description: t.info.description,
47514
- children: /* @__PURE__ */ _(nn, { icon: JT, size: "sm" })
47512
+ children: /* @__PURE__ */ _(nn, { icon: zM, size: "sm" })
47515
47513
  }
47516
47514
  ) })
47517
47515
  ]
@@ -47540,7 +47538,7 @@ function hae({ item: t }) {
47540
47538
  }
47541
47539
  ),
47542
47540
  r && /* @__PURE__ */ _("div", { className: "w-full md:hidden", children: /* @__PURE__ */ _(
47543
- hg,
47541
+ pg,
47544
47542
  {
47545
47543
  items: t.actions?.filter(uae).map((s) => ({
47546
47544
  label: s.label,
@@ -47582,7 +47580,7 @@ function hae({ item: t }) {
47582
47580
  exit: { x: -16 },
47583
47581
  transition: { duration: 0.1 },
47584
47582
  children: t.actions?.map((s, f) => dae(s) ? /* @__PURE__ */ _(
47585
- bM,
47583
+ qM,
47586
47584
  {
47587
47585
  valueToCopy: o(
47588
47586
  t.value,
@@ -47590,7 +47588,7 @@ function hae({ item: t }) {
47590
47588
  )
47591
47589
  },
47592
47590
  `copy-${f}`
47593
- ) : /* @__PURE__ */ _(Vy, { label: s.label, children: /* @__PURE__ */ _(
47591
+ ) : /* @__PURE__ */ _(Uy, { label: s.label, children: /* @__PURE__ */ _(
47594
47592
  Le,
47595
47593
  {
47596
47594
  size: "sm",
@@ -47667,7 +47665,7 @@ function mae({
47667
47665
  ),
47668
47666
  children: [
47669
47667
  e && /* @__PURE__ */ _("div", { className: "flex items-start", children: /* @__PURE__ */ _(
47670
- mg,
47668
+ yg,
47671
47669
  {
47672
47670
  avatar: {
47673
47671
  ...e.type === "generic" ? { ...e, type: "company" } : e
@@ -47733,10 +47731,10 @@ function mae({
47733
47731
  loading: v.loading
47734
47732
  }
47735
47733
  ) }) }, v.label)),
47736
- u.length > 0 && /* @__PURE__ */ _("div", { className: "w-full [&>*]:w-full [&_button]:w-full", children: /* @__PURE__ */ _(hg, { items: u }) })
47734
+ u.length > 0 && /* @__PURE__ */ _("div", { className: "w-full [&>*]:w-full [&_button]:w-full", children: /* @__PURE__ */ _(pg, { items: u }) })
47737
47735
  ] }),
47738
47736
  /* @__PURE__ */ H("div", { className: "-m-1 hidden w-fit shrink-0 flex-wrap items-center gap-x-2 gap-y-2 p-1 md:flex md:overflow-x-auto", children: [
47739
- u.length > 0 && /* @__PURE__ */ _("div", { children: /* @__PURE__ */ _(K6, { items: u }) }),
47737
+ u.length > 0 && /* @__PURE__ */ _("div", { children: /* @__PURE__ */ _(Q6, { items: u }) }),
47740
47738
  c.map((v) => /* @__PURE__ */ _(uf, { children: /* @__PURE__ */ _("div", { className: "hidden md:block", children: /* @__PURE__ */ _(
47741
47739
  Le,
47742
47740
  {
@@ -47806,7 +47804,7 @@ const yae = ({
47806
47804
  metadata: s,
47807
47805
  deactivated: f
47808
47806
  }
47809
- ), noe = $r(
47807
+ ), eoe = $r(
47810
47808
  "ResourceHeader",
47811
47809
  yae
47812
47810
  ), vae = ii(
@@ -47889,7 +47887,7 @@ const yae = ({
47889
47887
  Le,
47890
47888
  {
47891
47889
  variant: "ghost",
47892
- icon: hl,
47890
+ icon: ml,
47893
47891
  size: "sm",
47894
47892
  hideLabel: !0,
47895
47893
  onClick: p,
@@ -47930,14 +47928,14 @@ const yae = ({
47930
47928
  );
47931
47929
  }
47932
47930
  ), gae = Ai(
47933
- J6(vae, UC)
47931
+ f5(vae, UC)
47934
47932
  );
47935
47933
  gae.displayName = "BaseBanner";
47936
47934
  export {
47937
- qae as $,
47935
+ Fae as $,
47938
47936
  ti as A,
47939
47937
  Br as B,
47940
- Oae as C,
47938
+ _ae as C,
47941
47939
  Al as D,
47942
47940
  Ol as E,
47943
47941
  ah as F,
@@ -47947,43 +47945,43 @@ export {
47947
47945
  w0 as J,
47948
47946
  rh as K,
47949
47947
  De as L,
47950
- Nae as M,
47951
- $ae as N,
47952
- Iae as O,
47953
- Rae as P,
47954
- jae as Q,
47955
- Hae as R,
47948
+ Pae as M,
47949
+ Dae as N,
47950
+ Nae as O,
47951
+ $ae as P,
47952
+ Iae as Q,
47953
+ zae as R,
47956
47954
  BO as S,
47957
- Vae as T,
47958
- Zae as U,
47959
- Lae as V,
47960
- Qae as W,
47955
+ Hae as T,
47956
+ Xae as U,
47957
+ Rae as V,
47958
+ Jae as W,
47961
47959
  or as X,
47962
47960
  sr as Y,
47963
- eoe as Z,
47964
- Wae as _,
47961
+ Zae as Z,
47962
+ qae as _,
47965
47963
  $g as a,
47966
47964
  lS as a$,
47967
- toe as a0,
47965
+ Qae as a0,
47968
47966
  Pte as a1,
47969
47967
  Wee as a2,
47970
47968
  i8 as a3,
47971
- noe as a4,
47969
+ eoe as a4,
47972
47970
  gae as a5,
47973
- Dae as a6,
47974
- Mae as a7,
47975
- zae as a8,
47976
- Fae as a9,
47971
+ Mae as a6,
47972
+ Cae as a7,
47973
+ Bae as a8,
47974
+ Lae as a9,
47977
47975
  me as aA,
47978
47976
  wE as aB,
47979
47977
  rt as aC,
47980
47978
  Ae as aD,
47981
47979
  de as aE,
47982
47980
  WJ as aF,
47983
- Jae as aG,
47984
- Xae as aH,
47985
- Yae as aI,
47986
- Kae as aJ,
47981
+ Yae as aG,
47982
+ Gae as aH,
47983
+ Kae as aI,
47984
+ Vae as aJ,
47987
47985
  Jie as aK,
47988
47986
  wne as aL,
47989
47987
  Xte as aM,
@@ -47995,13 +47993,13 @@ export {
47995
47993
  tre as aS,
47996
47994
  iie as aT,
47997
47995
  MZ as aU,
47998
- Gae as aV,
47996
+ Uae as aV,
47999
47997
  fre as aW,
48000
47998
  nC as aX,
48001
47999
  dre as aY,
48002
- Cae as aZ,
48003
- Tae as a_,
48004
- Bae as aa,
48000
+ Eae as aZ,
48001
+ Aae as a_,
48002
+ jae as aa,
48005
48003
  nK as ab,
48006
48004
  Ze as ac,
48007
48005
  El as ad,
@@ -48014,7 +48012,7 @@ export {
48014
48012
  ot as ak,
48015
48013
  vt as al,
48016
48014
  JJ as am,
48017
- Uae as an,
48015
+ Wae as an,
48018
48016
  Oe as ao,
48019
48017
  qJ as ap,
48020
48018
  Ce as aq,
@@ -48030,7 +48028,7 @@ export {
48030
48028
  Ea as b,
48031
48029
  jg as b0,
48032
48030
  Rte as b1,
48033
- Eae as b2,
48031
+ Sae as b2,
48034
48032
  kn as b3,
48035
48033
  Pu as b4,
48036
48034
  jl as b5,
@@ -48042,7 +48040,7 @@ export {
48042
48040
  ab as bb,
48043
48041
  kee as bc,
48044
48042
  zte as bd,
48045
- Aae as be,
48043
+ Oae as be,
48046
48044
  XU as bf,
48047
48045
  ar as bg,
48048
48046
  Ys as bh,
@@ -48050,7 +48048,7 @@ export {
48050
48048
  Cre as bj,
48051
48049
  Cn as bk,
48052
48050
  xn as c,
48053
- Pae as d,
48051
+ Tae as d,
48054
48052
  xe as e,
48055
48053
  pe as f,
48056
48054
  ht as g,