@factorialco/f0-react 2.43.0 → 2.45.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,7 +1,7 @@
1
1
  import { jsxs as f, jsx as o, Fragment as Ge } from "react/jsx-runtime";
2
2
  import * as ps from "react";
3
3
  import { useInsertionEffect as ms, forwardRef as m, useRef as O, useState as U, useCallback as Q, useEffect as ie, useMemo as de, createContext as $t, useContext as kt, useLayoutEffect as po, useId as mo, createElement as gs } from "react";
4
- import { c3 as vs, c4 as Cs, c5 as ws, c6 as xs, c7 as go, c8 as ks, c9 as ys, ca as bs, cb as Ls, cc as Ms, cd as vo, ce as Es, cf as _s, cg as Rs, ch as Ss, ci as Ns, cj as Ts, ck as As, cl as Ut, cm as Vs, cn as Fs, co as Ps, cp as $s, cq as Is, cr as Hs, W as Co, cs as js, ct as Os, cu as Ds, cv as Zs, cw as Bs, cx as wo, cy as Us, cz as zs, a4 as Vr, cA as Ws, aG as Gs, cB as qs, cC as Xs, cD as Ys, ae as Ks, cE as Qs, bB as Js, a8 as Fr, ab as ea, cF as ta, a2 as Pr, _ as xo, N as Jt, a1 as ko, b2 as ra, cG as na, aY as oa, bA as sa, Y as Xe, as as aa, b6 as yo, cH as ia, by as bo, cI as tt, bu as ca, cJ as la, cK as Lo, aX as Mo, cL as da, cM as ua, cN as fa, cO as ha, cP as Eo, bn as pa, bo as ma, cQ as ga, cR as va, cS as Ca, cT as wa, cU as xa, cV as ka, cW as ya, cX as ba, cY as La, cZ as Ma, c_ as Ea, c$ as _a, d0 as Ra, bz as Sa, a9 as Na, bj as Ta, d1 as Aa, d2 as Va, d3 as Fa, d4 as Pa, d5 as $a, d6 as Ia, d7 as Ha, an as ja, d8 as _o, J as Oa, Z as Da, d9 as Ro, da as Za, b5 as Ba, b4 as Ua, db as za, dc as So, dd as Wa, aW as Ga, aw as qa, de as Xa, aq as Ya, b0 as Ka, df as No, dg as Qa, dh as Ja, ba as $r, di as Ir, bw as ei, bv as ti, bx as To, dj as ri, z as ni, y as oi, dk as si, dl as ai, dm as ii, dn as ci, dp as li, dq as Ao, dr as di, aa as ui, ds as fi, H as Le, m as F, o as st, bd as hi, dt as Vo, aj as pi, du as mi, dv as gi, A as Ze, n as we, ar as Qr, M as Me, u as pe, dw as vi, dx as Ci, bS as wi, l as xi, k as ki, i as yi, w as Fo, dy as Jr, dz as bi, dA as Li, dB as Mi, dC as Ei, dD as _i, a6 as Po, a7 as Ri, S as Pe, c1 as $o, C as be, s as Te, $ as Si, dE as Ni, ac as Ee, aL as Ue, aB as Hr, dF as Ti, aC as jr, aD as Or, b as Ye, br as Ai, O as Vi, aV as Fi, a3 as Dr, dG as Pi, dH as $i, dI as Ii, dJ as en, a0 as Hi, ai as Io, aN as Ho, dK as ji, bN as Oi, aS as jo, bH as Di, dL as Zi, aP as At, b8 as Oo, dM as Do, b9 as Zo, dN as Bo, dO as Bi, bc as Ui, dP as zi, b1 as Zr, bk as Wi, dQ as Gi, dR as qi, dS as Xi, dT as Yi, dU as Ki, ad as Qi, x as Ji, dV as Uo, dW as zo, dX as ec, ah as tn, dY as tc, ag as rc, dZ as nc, d_ as oc } from "./F0CanvasPanel-Czxg0RlQ.js";
4
+ import { c9 as vs, ca as Cs, cb as ws, cc as xs, cd as go, ce as ks, cf as ys, cg as bs, ch as Ls, ci as Ms, cj as vo, ck as Es, cl as _s, cm as Rs, cn as Ss, co as Ns, cp as Ts, cq as As, cr as Ut, cs as Vs, ct as Fs, cu as Ps, cv as $s, cw as Is, cx as Hs, W as Co, cy as js, cz as Os, cA as Ds, cB as Zs, cC as Bs, cD as wo, cE as Us, cF as zs, a4 as Vr, cG as Ws, aH as Gs, cH as qs, cI as Ys, cJ as Xs, ae as Ks, cK as Qs, bH as Js, a8 as Fr, ab as ea, cL as ta, a2 as Pr, _ as xo, N as Jt, a1 as ko, b7 as ra, cM as na, b0 as oa, bG as sa, Y as Ye, as as aa, bb as yo, cN as ia, bE as bo, cO as tt, bA as ca, cP as la, cQ as Lo, a$ as Mo, cR as da, cS as ua, cT as fa, cU as ha, cV as Eo, bs as pa, bt as ma, cW as ga, cX as va, cY as Ca, cZ as wa, c_ as xa, c$ as ka, d0 as ya, d1 as ba, d2 as La, d3 as Ma, d4 as Ea, d5 as _a, d6 as Ra, bF as Sa, a9 as Na, bo as Ta, d7 as Aa, d8 as Va, d9 as Fa, da as Pa, db as $a, dc as Ia, dd as Ha, an as ja, de as _o, J as Oa, Z as Da, df as Ro, dg as Za, ba as Ba, b9 as Ua, dh as za, di as So, dj as Wa, a_ as Ga, aw as qa, dk as Ya, aq as Xa, b5 as Ka, dl as No, dm as Qa, dn as Ja, bf as $r, dp as Ir, bC as ei, bB as ti, bD as To, dq as ri, z as ni, y as oi, dr as si, ds as ai, dt as ii, du as ci, dv as li, dw as Ao, dx as di, aa as ui, dy as fi, H as Le, m as F, o as st, bi as hi, dz as Vo, aj as pi, dA as mi, dB as gi, A as Ze, n as we, ar as Qr, M as Me, u as pe, dC as vi, dD as Ci, bY as wi, l as xi, k as ki, i as yi, w as Fo, dE as Jr, dF as bi, dG as Li, dH as Mi, dI as Ei, dJ as _i, a6 as Po, a7 as Ri, S as Pe, c7 as $o, C as be, s as Te, $ as Si, dK as Ni, ac as Ee, aN as Ue, aB as Hr, dL as Ti, aC as jr, aD as Or, b as Xe, bw as Ai, O as Vi, aZ as Fi, a3 as Dr, dM as Pi, dN as $i, dO as Ii, dP as en, a0 as Hi, ai as Io, aQ as Ho, dQ as ji, bT as Oi, aV as jo, bN as Di, dR as Zi, aS as At, bd as Oo, dS as Do, be as Zo, dT as Bo, dU as Bi, bh as Ui, dV as zi, b6 as Zr, bp as Wi, dW as Gi, dX as qi, dY as Yi, dZ as Xi, d_ as Ki, ad as Qi, x as Ji, d$ as Uo, e0 as zo, e1 as ec, ah as tn, e2 as tc, ag as rc, e3 as nc, e4 as oc } from "./F0CanvasPanel-DMLQMGBW.js";
5
5
  import { createPortal as Wo } from "react-dom";
6
6
  import { defaultTranslations as sc } from "./i18n-provider-defaults.js";
7
7
  import { useTrackVolume as ac } from "@livekit/components-react";
@@ -66,7 +66,7 @@ function gc(t, { defaultTransition: e = {}, ...r } = {}, n, s) {
66
66
  L.at !== void 0 && (h = rn(h, L.at, u, d));
67
67
  let j = 0;
68
68
  const V = (T, w, C, y = 0, R = 0) => {
69
- const _ = vc(T), { delay: b = 0, times: M = ks(_), type: S = "keyframes", repeat: B, repeatType: X, repeatDelay: J = 0, ...te } = w;
69
+ const _ = vc(T), { delay: b = 0, times: M = ks(_), type: S = "keyframes", repeat: B, repeatType: Y, repeatDelay: J = 0, ...te } = w;
70
70
  let { ease: oe = e.ease || "easeOut", duration: ee } = w;
71
71
  const E = typeof b == "function" ? b(y, R) : b, W = _.length, H = Ls(S) ? S : s?.[S];
72
72
  if (W <= 2 && H) {
@@ -81,7 +81,7 @@ function gc(t, { defaultTransition: e = {}, ...r } = {}, n, s) {
81
81
  oe = le.ease, ee = le.duration;
82
82
  }
83
83
  ee ?? (ee = a);
84
- const Y = h + E;
84
+ const X = h + E;
85
85
  M.length === 1 && M[0] === 0 && (M[1] = 1);
86
86
  const ve = M.length - _.length;
87
87
  if (ve > 0 && bs(M, ve), _.length === 1 && _.unshift(null), B) {
@@ -96,8 +96,8 @@ function gc(t, { defaultTransition: e = {}, ...r } = {}, n, s) {
96
96
  }
97
97
  fc(M, B);
98
98
  }
99
- const me = Y + ee;
100
- uc(C, _, oe, M, Y, me), j = Math.max(E + ee, j), v = Math.max(me, v);
99
+ const me = X + ee;
100
+ uc(C, _, oe, M, X, me), j = Math.max(E + ee, j), v = Math.max(me, v);
101
101
  };
102
102
  if (go(x)) {
103
103
  const T = nn(x, l);
@@ -218,7 +218,7 @@ function Lc(t) {
218
218
  function Mc(t, e) {
219
219
  return go(t) || typeof t == "number" || typeof t == "string" && !Br(e);
220
220
  }
221
- function Xo(t, e, r, n) {
221
+ function Yo(t, e, r, n) {
222
222
  const s = [];
223
223
  if (Mc(t, e))
224
224
  s.push(Vs(t, Br(e) && e.default || e, r && (r.default || r)));
@@ -237,7 +237,7 @@ function Xo(t, e, r, n) {
237
237
  function Ec(t, e, r) {
238
238
  const n = [];
239
239
  return gc(t, e, r, { spring: Ps }).forEach(({ keyframes: a, transition: i }, l) => {
240
- n.push(...Xo(l, a, i));
240
+ n.push(...Yo(l, a, i));
241
241
  }), n;
242
242
  }
243
243
  class _c {
@@ -317,7 +317,7 @@ function Sc(t) {
317
317
  function Nc(t) {
318
318
  function e(r, n, s) {
319
319
  let a = [];
320
- return Sc(r) ? a = Ec(r, n, t) : a = Xo(r, n, s, t), new Rc(a);
320
+ return Sc(r) ? a = Ec(r, n, t) : a = Yo(r, n, s, t), new Rc(a);
321
321
  }
322
322
  return e;
323
323
  }
@@ -703,7 +703,7 @@ const Tc = Nc(), Ac = (t, e) => /* @__PURE__ */ f(
703
703
  }
704
704
  )
705
705
  }
706
- ), Xc = m(qc), Yc = (t, e) => /* @__PURE__ */ o(
706
+ ), Yc = m(qc), Xc = (t, e) => /* @__PURE__ */ o(
707
707
  "svg",
708
708
  {
709
709
  xmlns: "http://www.w3.org/2000/svg",
@@ -722,7 +722,7 @@ const Tc = Nc(), Ac = (t, e) => /* @__PURE__ */ f(
722
722
  }
723
723
  )
724
724
  }
725
- ), Kc = m(Yc), Qc = (t, e) => /* @__PURE__ */ f(
725
+ ), Kc = m(Xc), Qc = (t, e) => /* @__PURE__ */ f(
726
726
  "svg",
727
727
  {
728
728
  xmlns: "http://www.w3.org/2000/svg",
@@ -1651,7 +1651,7 @@ const Tc = Nc(), Ac = (t, e) => /* @__PURE__ */ f(
1651
1651
  }
1652
1652
  )
1653
1653
  }
1654
- ), Xl = m(ql), Yl = (t, e) => /* @__PURE__ */ o(
1654
+ ), Yl = m(ql), Xl = (t, e) => /* @__PURE__ */ o(
1655
1655
  "svg",
1656
1656
  {
1657
1657
  xmlns: "http://www.w3.org/2000/svg",
@@ -1670,7 +1670,7 @@ const Tc = Nc(), Ac = (t, e) => /* @__PURE__ */ f(
1670
1670
  }
1671
1671
  )
1672
1672
  }
1673
- ), Kl = m(Yl), Ql = (t, e) => /* @__PURE__ */ o(
1673
+ ), Kl = m(Xl), Ql = (t, e) => /* @__PURE__ */ o(
1674
1674
  "svg",
1675
1675
  {
1676
1676
  xmlns: "http://www.w3.org/2000/svg",
@@ -2502,7 +2502,7 @@ const Tc = Nc(), Ac = (t, e) => /* @__PURE__ */ f(
2502
2502
  }
2503
2503
  )
2504
2504
  }
2505
- ), X0 = m(q0), Y0 = (t, e) => /* @__PURE__ */ f(
2505
+ ), Y0 = m(q0), X0 = (t, e) => /* @__PURE__ */ f(
2506
2506
  "svg",
2507
2507
  {
2508
2508
  xmlns: "http://www.w3.org/2000/svg",
@@ -2565,7 +2565,7 @@ const Tc = Nc(), Ac = (t, e) => /* @__PURE__ */ f(
2565
2565
  )
2566
2566
  ]
2567
2567
  }
2568
- ), K0 = m(Y0), Q0 = (t, e) => /* @__PURE__ */ f(
2568
+ ), K0 = m(X0), Q0 = (t, e) => /* @__PURE__ */ f(
2569
2569
  "svg",
2570
2570
  {
2571
2571
  xmlns: "http://www.w3.org/2000/svg",
@@ -2830,7 +2830,7 @@ const Tc = Nc(), Ac = (t, e) => /* @__PURE__ */ f(
2830
2830
  )
2831
2831
  ]
2832
2832
  }
2833
- ), Yo = m(cd), ld = (t, e) => /* @__PURE__ */ f(
2833
+ ), Xo = m(cd), ld = (t, e) => /* @__PURE__ */ f(
2834
2834
  "svg",
2835
2835
  {
2836
2836
  xmlns: "http://www.w3.org/2000/svg",
@@ -3668,7 +3668,7 @@ const Tc = Nc(), Ac = (t, e) => /* @__PURE__ */ f(
3668
3668
  )
3669
3669
  ]
3670
3670
  }
3671
- ), qd = m(Gd), Xd = (t, e) => /* @__PURE__ */ f(
3671
+ ), qd = m(Gd), Yd = (t, e) => /* @__PURE__ */ f(
3672
3672
  "svg",
3673
3673
  {
3674
3674
  xmlns: "http://www.w3.org/2000/svg",
@@ -3814,7 +3814,7 @@ const Tc = Nc(), Ac = (t, e) => /* @__PURE__ */ f(
3814
3814
  )
3815
3815
  ]
3816
3816
  }
3817
- ), Yd = m(Xd), Kd = (t, e) => /* @__PURE__ */ o(
3817
+ ), Xd = m(Yd), Kd = (t, e) => /* @__PURE__ */ o(
3818
3818
  "svg",
3819
3819
  {
3820
3820
  xmlns: "http://www.w3.org/2000/svg",
@@ -4793,7 +4793,7 @@ const Tc = Nc(), Ac = (t, e) => /* @__PURE__ */ f(
4793
4793
  }
4794
4794
  )
4795
4795
  }
4796
- ), X5 = m(q5), Y5 = (t, e) => /* @__PURE__ */ f(
4796
+ ), Y5 = m(q5), X5 = (t, e) => /* @__PURE__ */ f(
4797
4797
  "svg",
4798
4798
  {
4799
4799
  xmlns: "http://www.w3.org/2000/svg",
@@ -4824,7 +4824,7 @@ const Tc = Nc(), Ac = (t, e) => /* @__PURE__ */ f(
4824
4824
  )
4825
4825
  ]
4826
4826
  }
4827
- ), K5 = m(Y5), Q5 = (t, e) => /* @__PURE__ */ f(
4827
+ ), K5 = m(X5), Q5 = (t, e) => /* @__PURE__ */ f(
4828
4828
  "svg",
4829
4829
  {
4830
4830
  xmlns: "http://www.w3.org/2000/svg",
@@ -5837,7 +5837,7 @@ const l2 = (t, e) => /* @__PURE__ */ f(
5837
5837
  /* @__PURE__ */ o("path", { d: "M8.5 16.429a5 5 0 0 1 7 0", vectorEffect: "non-scaling-stroke" })
5838
5838
  ]
5839
5839
  }
5840
- ), q2 = m(G2), X2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5840
+ ), q2 = m(G2), Y2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5841
5841
  __proto__: null,
5842
5842
  AcademicCap: Vc,
5843
5843
  Add: $s,
@@ -5861,12 +5861,12 @@ const l2 = (t, e) => /* @__PURE__ */ f(
5861
5861
  Balance: Bc,
5862
5862
  Bank: zc,
5863
5863
  BarGraph: Gc,
5864
- Basket: Xc,
5864
+ Basket: Yc,
5865
5865
  Bell: Gs,
5866
5866
  Bold: qs,
5867
5867
  BookOpen: Kc,
5868
- Bookmark: Xs,
5869
- BookmarkFilled: Ys,
5868
+ Bookmark: Ys,
5869
+ BookmarkFilled: Xs,
5870
5870
  Briefcase: Jc,
5871
5871
  Bucket: tl,
5872
5872
  Building: nl,
@@ -5906,10 +5906,10 @@ const l2 = (t, e) => /* @__PURE__ */ f(
5906
5906
  Contactless: Bl,
5907
5907
  CornerHandle: zl,
5908
5908
  CreditCard: Gl,
5909
- Cross: Xe,
5909
+ Cross: Ye,
5910
5910
  CrossedCircle: aa,
5911
5911
  Crown: Kl,
5912
- CursorClick: Xl,
5912
+ CursorClick: Yl,
5913
5913
  Delete: yo,
5914
5914
  Deny: Jl,
5915
5915
  Descending: ia,
@@ -5962,7 +5962,7 @@ const l2 = (t, e) => /* @__PURE__ */ f(
5962
5962
  Headset: B0,
5963
5963
  Heart: z0,
5964
5964
  HoldHeart: G0,
5965
- Home: X0,
5965
+ Home: Y0,
5966
5966
  Hub: K0,
5967
5967
  Image: Ra,
5968
5968
  InProgressTask: Sa,
@@ -5977,7 +5977,7 @@ const l2 = (t, e) => /* @__PURE__ */ f(
5977
5977
  Laptop: id,
5978
5978
  LayersFront: Fa,
5979
5979
  Less: Pa,
5980
- Lightbulb: Yo,
5980
+ Lightbulb: Xo,
5981
5981
  Link: $a,
5982
5982
  LinkRemove: dd,
5983
5983
  List: Ia,
@@ -6010,7 +6010,7 @@ const l2 = (t, e) => /* @__PURE__ */ f(
6010
6010
  MoveDown: Ba,
6011
6011
  MoveTop: qd,
6012
6012
  MoveUp: Ua,
6013
- Multitask: Yd,
6013
+ Multitask: Xd,
6014
6014
  New: Ur,
6015
6015
  Numbers: Jd,
6016
6016
  Office: t5,
@@ -6031,9 +6031,9 @@ const l2 = (t, e) => /* @__PURE__ */ f(
6031
6031
  Pig: k5,
6032
6032
  Pin: b5,
6033
6033
  PixBrazil: M5,
6034
- Placeholder: Xa,
6034
+ Placeholder: Ya,
6035
6035
  Plane: _5,
6036
- Plus: Ya,
6036
+ Plus: Xa,
6037
6037
  Present: S5,
6038
6038
  Printer: T5,
6039
6039
  Proyector: V5,
@@ -6049,7 +6049,7 @@ const l2 = (t, e) => /* @__PURE__ */ f(
6049
6049
  Reply: zr,
6050
6050
  Reset: Ja,
6051
6051
  Rocket: G5,
6052
- Salad: X5,
6052
+ Salad: Y5,
6053
6053
  Save: K5,
6054
6054
  Schedule: J5,
6055
6055
  Search: $r,
@@ -6096,7 +6096,7 @@ const l2 = (t, e) => /* @__PURE__ */ f(
6096
6096
  WhatsappChat: W2,
6097
6097
  Wifi: q2,
6098
6098
  Windows: fi
6099
- }, Symbol.toStringTag, { value: "Module" })), Y2 = (t, e) => /* @__PURE__ */ o(
6099
+ }, Symbol.toStringTag, { value: "Module" })), X2 = (t, e) => /* @__PURE__ */ o(
6100
6100
  "svg",
6101
6101
  {
6102
6102
  xmlns: "http://www.w3.org/2000/svg",
@@ -6113,7 +6113,7 @@ const l2 = (t, e) => /* @__PURE__ */ f(
6113
6113
  }
6114
6114
  )
6115
6115
  }
6116
- ), K2 = m(Y2), Q2 = [
6116
+ ), K2 = m(X2), Q2 = [
6117
6117
  "append",
6118
6118
  "className",
6119
6119
  "pressed",
@@ -7012,6 +7012,7 @@ const a1 = {
7012
7012
  }, du = {}, uu = {
7013
7013
  boxShadow: {
7014
7014
  none: "shadow-none",
7015
+ sm: "shadow",
7015
7016
  md: "shadow-md",
7016
7017
  lg: "shadow-lg",
7017
7018
  xl: "shadow-xl"
@@ -7116,7 +7117,7 @@ const mu = st({
7116
7117
  width: M,
7117
7118
  height: S,
7118
7119
  minWidth: B,
7119
- minHeight: X,
7120
+ minHeight: Y,
7120
7121
  maxWidth: J,
7121
7122
  maxHeight: te,
7122
7123
  // Background
@@ -7126,7 +7127,7 @@ const mu = st({
7126
7127
  border: E,
7127
7128
  borderTop: W,
7128
7129
  borderBottom: H,
7129
- borderLeft: Y,
7130
+ borderLeft: X,
7130
7131
  borderRight: ve,
7131
7132
  borderRadius: me,
7132
7133
  borderRadiusTopLeft: D,
@@ -7156,7 +7157,7 @@ const mu = st({
7156
7157
  xl: rr,
7157
7158
  ...lt
7158
7159
  }, Ht) => {
7159
- const bt = W && W !== "none" || H && H !== "none" || Y && Y !== "none" || ve && ve !== "none", nr = E && E !== "none" || bt, or = { sm: er, md: It, lg: tr, xl: rr }, sr = gu.map((jt) => {
7160
+ const bt = W && W !== "none" || H && H !== "none" || X && X !== "none" || ve && ve !== "none", nr = E && E !== "none" || bt, or = { sm: er, md: It, lg: tr, xl: rr }, sr = gu.map((jt) => {
7160
7161
  const Lt = or[jt];
7161
7162
  return Lt ? pu(jt, Lt) : "";
7162
7163
  }).filter(Boolean).join(" ");
@@ -7197,7 +7198,7 @@ const mu = st({
7197
7198
  width: M,
7198
7199
  height: S,
7199
7200
  minWidth: B,
7200
- minHeight: X,
7201
+ minHeight: Y,
7201
7202
  maxWidth: J,
7202
7203
  maxHeight: te,
7203
7204
  background: oe,
@@ -7205,7 +7206,7 @@ const mu = st({
7205
7206
  border: E,
7206
7207
  borderTop: W,
7207
7208
  borderBottom: H,
7208
- borderLeft: Y,
7209
+ borderLeft: X,
7209
7210
  borderRight: ve,
7210
7211
  borderRadius: me,
7211
7212
  borderRadiusTopLeft: D,
@@ -7430,7 +7431,7 @@ const ir = hi(
7430
7431
  Le,
7431
7432
  {
7432
7433
  variant: "outline",
7433
- icon: Xe,
7434
+ icon: Ye,
7434
7435
  onClick: c,
7435
7436
  label: l.actions.close,
7436
7437
  hideLabel: !0
@@ -8241,7 +8242,7 @@ function qu(t, e) {
8241
8242
  return !1;
8242
8243
  }
8243
8244
  }
8244
- function Xu(t, e) {
8245
+ function Yu(t, e) {
8245
8246
  return !!((e === "v4" || !e) && ju.test(t) || (e === "v6" || !e) && Du.test(t));
8246
8247
  }
8247
8248
  class et extends ce {
@@ -8384,7 +8385,7 @@ class et extends ce {
8384
8385
  validation: "jwt",
8385
8386
  code: A.invalid_string,
8386
8387
  message: a.message
8387
- }), n.dirty()) : a.kind === "cidr" ? Xu(e.data, a.version) || (s = this._getOrReturnCtx(e, s), Z(s, {
8388
+ }), n.dirty()) : a.kind === "cidr" ? Yu(e.data, a.version) || (s = this._getOrReturnCtx(e, s), Z(s, {
8388
8389
  validation: "cidr",
8389
8390
  code: A.invalid_string,
8390
8391
  message: a.message
@@ -8627,7 +8628,7 @@ et.create = (t) => new et({
8627
8628
  coerce: t?.coerce ?? !1,
8628
8629
  ...ae(t)
8629
8630
  });
8630
- function Yu(t, e) {
8631
+ function Xu(t, e) {
8631
8632
  const r = (t.toString().split(".")[1] || "").length, n = (e.toString().split(".")[1] || "").length, s = r > n ? r : n, a = Number.parseInt(t.toFixed(s).replace(".", "")), i = Number.parseInt(e.toFixed(s).replace(".", ""));
8632
8633
  return a % i / 10 ** s;
8633
8634
  }
@@ -8666,7 +8667,7 @@ class vt extends ce {
8666
8667
  inclusive: a.inclusive,
8667
8668
  exact: !1,
8668
8669
  message: a.message
8669
- }), s.dirty()) : a.kind === "multipleOf" ? Yu(e.data, a.value) !== 0 && (n = this._getOrReturnCtx(e, n), Z(n, {
8670
+ }), s.dirty()) : a.kind === "multipleOf" ? Xu(e.data, a.value) !== 0 && (n = this._getOrReturnCtx(e, n), Z(n, {
8670
8671
  code: A.not_multiple_of,
8671
8672
  multipleOf: a.value,
8672
8673
  message: a.message
@@ -10262,7 +10263,7 @@ function M1(t) {
10262
10263
  function vf(t) {
10263
10264
  return M1(t) !== void 0;
10264
10265
  }
10265
- function Xt(t) {
10266
+ function Yt(t) {
10266
10267
  let e = t;
10267
10268
  for (; Oe(e, "ZodOptional") || Oe(e, "ZodNullable") || Oe(e, "ZodDefault"); )
10268
10269
  e = e._def.innerType;
@@ -10273,7 +10274,7 @@ function Mn(t, e) {
10273
10274
  return e.fieldType;
10274
10275
  if ("options" in e && e.options || "source" in e && e.source)
10275
10276
  return "select";
10276
- const r = Xt(t);
10277
+ const r = Yt(t);
10277
10278
  return Oe(r, "ZodString") ? "rows" in e && e.rows ? "textarea" : "text" : Oe(r, "ZodNumber") ? "number" : Oe(r, "ZodBoolean") ? "switch" : Oe(r, "ZodDate") ? "date" : Oe(r, "ZodEnum") || Oe(r, "ZodArray") && ("options" in e && e.options || "source" in e && e.source) ? "select" : Oe(r, "ZodObject") && "render" in e && e.render ? "custom" : "text";
10278
10279
  }
10279
10280
  ((t) => {
@@ -10462,9 +10463,9 @@ function Mn(t, e) {
10462
10463
  (B) => typeof B == "object" && B !== null && "value" in B && typeof B.value == "string"
10463
10464
  ).map((B) => B.value);
10464
10465
  if (S.length > 0) {
10465
- const B = Mt(Et(S)).min(1), X = y ? B.optional() : B;
10466
+ const B = Mt(Et(S)).min(1), Y = y ? B.optional() : B;
10466
10467
  return t(
10467
- X,
10468
+ Y,
10468
10469
  { ...R, multiple: !0 }
10469
10470
  );
10470
10471
  }
@@ -11023,7 +11024,7 @@ function C4(t) {
11023
11024
  type: "null"
11024
11025
  };
11025
11026
  }
11026
- const Yt = {
11027
+ const Xt = {
11027
11028
  ZodString: "string",
11028
11029
  ZodNumber: "number",
11029
11030
  ZodBigInt: "integer",
@@ -11034,9 +11035,9 @@ function w4(t, e) {
11034
11035
  if (e.target === "openApi3")
11035
11036
  return _n(t, e);
11036
11037
  const r = t.options instanceof Map ? Array.from(t.options.values()) : t.options;
11037
- if (r.every((n) => n._def.typeName in Yt && (!n._def.checks || !n._def.checks.length))) {
11038
+ if (r.every((n) => n._def.typeName in Xt && (!n._def.checks || !n._def.checks.length))) {
11038
11039
  const n = r.reduce((s, a) => {
11039
- const i = Yt[a._def.typeName];
11040
+ const i = Xt[a._def.typeName];
11040
11041
  return i && !s.includes(i) ? [...s, i] : s;
11041
11042
  }, []);
11042
11043
  return {
@@ -11086,11 +11087,11 @@ const _n = (t, e) => {
11086
11087
  function x4(t, e) {
11087
11088
  if (["ZodString", "ZodNumber", "ZodBigInt", "ZodBoolean", "ZodNull"].includes(t.innerType._def.typeName) && (!t.innerType._def.checks || !t.innerType._def.checks.length))
11088
11089
  return e.target === "openApi3" ? {
11089
- type: Yt[t.innerType._def.typeName],
11090
+ type: Xt[t.innerType._def.typeName],
11090
11091
  nullable: !0
11091
11092
  } : {
11092
11093
  type: [
11093
- Yt[t.innerType._def.typeName],
11094
+ Xt[t.innerType._def.typeName],
11094
11095
  "null"
11095
11096
  ]
11096
11097
  };
@@ -11537,7 +11538,7 @@ function Nn(t, e = {}, r) {
11537
11538
  },
11538
11539
  trigger: async (c) => {
11539
11540
  if (c) {
11540
- const u = Xt(t).shape?.[c];
11541
+ const u = Yt(t).shape?.[c];
11541
11542
  return u ? u.safeParse(n[c]).success : !0;
11542
11543
  }
11543
11544
  return t.safeParse(n).success;
@@ -11553,7 +11554,7 @@ function Nn(t, e = {}, r) {
11553
11554
  return d;
11554
11555
  },
11555
11556
  getFieldNames: () => {
11556
- const c = Xt(t);
11557
+ const c = Yt(t);
11557
11558
  return Object.keys(c.shape ?? {});
11558
11559
  },
11559
11560
  actionBar: {
@@ -11566,7 +11567,7 @@ function Nn(t, e = {}, r) {
11566
11567
  }, dirtyFields: a };
11567
11568
  }
11568
11569
  function ur(t) {
11569
- const r = Xt(t).shape;
11570
+ const r = Yt(t).shape;
11570
11571
  if (!r) return {};
11571
11572
  const n = {};
11572
11573
  for (const [s, a] of Object.entries(r)) {
@@ -11612,7 +11613,7 @@ function wf({
11612
11613
  ), x = O(null), k = O({}), L = Q(() => {
11613
11614
  queueMicrotask(() => {
11614
11615
  const E = Array.from(n.current.entries()), W = [], H = [];
11615
- let Y = null;
11616
+ let X = null;
11616
11617
  for (const [me, D] of E) {
11617
11618
  const re = D.ref.current;
11618
11619
  if (re && (D.virtual ? H.push({
@@ -11653,7 +11654,7 @@ function wf({
11653
11654
  ...D.defaultValuesParams ? { defaultValuesParams: D.defaultValuesParams } : {}
11654
11655
  }), x.current === me)) {
11655
11656
  const le = k.current;
11656
- Y = {
11657
+ X = {
11657
11658
  formName: me,
11658
11659
  ...D.description ? { description: D.description } : {},
11659
11660
  ...D.module ? { module: D.module } : {},
@@ -11677,19 +11678,19 @@ function wf({
11677
11678
  const ve = JSON.stringify({
11678
11679
  formsOnCurrentPage: W,
11679
11680
  availableForms: H,
11680
- activeForm: Y
11681
+ activeForm: X
11681
11682
  });
11682
- ve !== s.current && (s.current = ve, u(W), v(H), g(Y));
11683
+ ve !== s.current && (s.current = ve, u(W), v(H), g(X));
11683
11684
  });
11684
11685
  }, []), j = Q(
11685
- (E, W, H, Y, ve, me, D, re) => {
11686
+ (E, W, H, X, ve, me, D, re) => {
11686
11687
  const le = n.current.get(E);
11687
11688
  n.current.set(E, {
11688
11689
  ref: W,
11689
11690
  schema: H,
11690
11691
  description: D,
11691
11692
  module: re,
11692
- sections: Y,
11693
+ sections: X,
11693
11694
  defaultValuesParamsSchema: ve ?? le?.defaultValuesParamsSchema,
11694
11695
  defaultValuesFn: me ?? le?.defaultValuesFn,
11695
11696
  defaultValuesParams: le?.defaultValuesParams,
@@ -11706,14 +11707,14 @@ function wf({
11706
11707
  if (W?.virtual) return;
11707
11708
  const H = W?.ref.current?.getValues() ?? {};
11708
11709
  n.current.delete(E);
11709
- const Y = r?.find((ve) => ve.name === E);
11710
- if (Y) {
11711
- const me = { ...typeof Y.defaultValues == "function" ? {} : Sn(Y.defaultValues), ...H }, { ref: D, dirtyFields: re } = Nn(
11712
- Y.schema,
11710
+ const X = r?.find((ve) => ve.name === E);
11711
+ if (X) {
11712
+ const me = { ...typeof X.defaultValues == "function" ? {} : Sn(X.defaultValues), ...H }, { ref: D, dirtyFields: re } = Nn(
11713
+ X.schema,
11713
11714
  me,
11714
- Y.onSubmit
11715
- ), le = typeof Y.defaultValues == "function" ? (() => {
11716
- const ye = Y.defaultValues;
11715
+ X.onSubmit
11716
+ ), le = typeof X.defaultValues == "function" ? (() => {
11717
+ const ye = X.defaultValues;
11717
11718
  return async (N) => {
11718
11719
  const $ = ye(N);
11719
11720
  return typeof $?.then == "function" ? await $ : $;
@@ -11721,19 +11722,19 @@ function wf({
11721
11722
  })() : void 0;
11722
11723
  n.current.set(E, {
11723
11724
  ref: D,
11724
- schema: Y.schema,
11725
- description: Y.description,
11726
- module: Y.module,
11727
- sections: Y.sections,
11725
+ schema: X.schema,
11726
+ description: X.description,
11727
+ module: X.module,
11728
+ sections: X.sections,
11728
11729
  virtual: !0,
11729
- defaultValuesParamsSchema: Y.defaultValuesParamsSchema,
11730
+ defaultValuesParamsSchema: X.defaultValuesParamsSchema,
11730
11731
  defaultValuesFn: le,
11731
11732
  defaultValuesParams: W?.defaultValuesParams,
11732
11733
  dirtyFields: re,
11733
- onSubmit: Y.onSubmit,
11734
- steps: Y.steps,
11735
- submitConfig: Y.submitConfig,
11736
- errorTriggerMode: Y.errorTriggerMode
11734
+ onSubmit: X.onSubmit,
11735
+ steps: X.steps,
11736
+ submitConfig: X.submitConfig,
11737
+ errorTriggerMode: X.errorTriggerMode
11737
11738
  });
11738
11739
  }
11739
11740
  L();
@@ -11743,10 +11744,10 @@ function wf({
11743
11744
  (E, W) => {
11744
11745
  const H = n.current.get(E);
11745
11746
  if (!H) {
11746
- const Y = Array.from(n.current.keys());
11747
+ const X = Array.from(n.current.keys());
11747
11748
  return {
11748
11749
  success: !1,
11749
- error: `Form "${E}" not found. Available forms: ${Y.join(", ")}`
11750
+ error: `Form "${E}" not found. Available forms: ${X.join(", ")}`
11750
11751
  };
11751
11752
  }
11752
11753
  return H.virtual ? (x.current = E, k.current = {
@@ -11773,14 +11774,14 @@ function wf({
11773
11774
  a.current.delete(E), i.current.delete(E), l.current.delete(E), c.current.delete(E);
11774
11775
  }, []), M = Q((E) => a.current.get(E) ?? 0, []), S = Q((E) => !i.current.has(E), []), B = Q((E) => {
11775
11776
  i.current.add(E);
11776
- }, []), X = Q(
11777
+ }, []), Y = Q(
11777
11778
  (E, W) => {
11778
11779
  i.current.delete(E), l.current.set(E, W ?? null);
11779
11780
  const H = c.current.get(E);
11780
11781
  if (H?.length) {
11781
11782
  c.current.delete(E);
11782
- for (const Y of H)
11783
- Y();
11783
+ for (const X of H)
11784
+ X();
11784
11785
  }
11785
11786
  L();
11786
11787
  },
@@ -11799,8 +11800,8 @@ function wf({
11799
11800
  const E = r ?? [], W = /* @__PURE__ */ new Set();
11800
11801
  for (const H of E) {
11801
11802
  W.add(H.name);
11802
- const Y = n.current.get(H.name);
11803
- if (Y && !Y.virtual || Y?.virtual) continue;
11803
+ const X = n.current.get(H.name);
11804
+ if (X && !X.virtual || X?.virtual) continue;
11804
11805
  const ve = typeof H.defaultValues == "function" ? {} : Sn(H.defaultValues), { ref: me, dirtyFields: D } = Nn(
11805
11806
  H.schema,
11806
11807
  ve,
@@ -11854,7 +11855,7 @@ function wf({
11854
11855
  getFillVersion: M,
11855
11856
  isDefaultValuesResolved: S,
11856
11857
  markDefaultValuesResolving: B,
11857
- markDefaultValuesResolved: X,
11858
+ markDefaultValuesResolved: Y,
11858
11859
  queueFillAction: J,
11859
11860
  hasDefaultValuesEverResolved: te
11860
11861
  }),
@@ -11875,7 +11876,7 @@ function wf({
11875
11876
  M,
11876
11877
  S,
11877
11878
  B,
11878
- X,
11879
+ Y,
11879
11880
  J,
11880
11881
  te
11881
11882
  ]
@@ -11982,7 +11983,7 @@ const H4 = 2, Tn = 2, j4 = 70, An = 0.08, O4 = 6, D4 = 0.6, Z4 = () => {
11982
11983
  label: x.ai.cancelRecording,
11983
11984
  hideLabel: !0,
11984
11985
  type: "button",
11985
- icon: Xe,
11986
+ icon: Ye,
11986
11987
  variant: "outline",
11987
11988
  size: "md",
11988
11989
  onClick: g
@@ -12096,7 +12097,7 @@ const H4 = 2, Tn = 2, j4 = 70, An = 0.08, O4 = 6, D4 = 0.6, Z4 = () => {
12096
12097
  actions: [
12097
12098
  {
12098
12099
  label: n,
12099
- icon: Xe,
12100
+ icon: Ye,
12100
12101
  onClick: () => r(s.id)
12101
12102
  }
12102
12103
  ]
@@ -12123,7 +12124,7 @@ function W4({
12123
12124
  "rounded-full text-f1-foreground-critical hover:text-f1-foreground-critical/80"
12124
12125
  ),
12125
12126
  onClick: () => e(t.id),
12126
- children: /* @__PURE__ */ o(be, { icon: Xe, size: "md", "aria-hidden": "true" })
12127
+ children: /* @__PURE__ */ o(be, { icon: Ye, size: "md", "aria-hidden": "true" })
12127
12128
  }
12128
12129
  )
12129
12130
  ] });
@@ -12176,7 +12177,7 @@ const G4 = {
12176
12177
  label: r.ai.creditWarning.dismiss ?? "",
12177
12178
  size: "sm",
12178
12179
  variant: "ghost",
12179
- icon: Xe,
12180
+ icon: Ye,
12180
12181
  hideLabel: !0,
12181
12182
  onClick: t.onDismiss
12182
12183
  }
@@ -12188,7 +12189,7 @@ const G4 = {
12188
12189
  }
12189
12190
  );
12190
12191
  };
12191
- function X4({
12192
+ function Y4({
12192
12193
  isOpen: t,
12193
12194
  results: e,
12194
12195
  isLoading: r,
@@ -12276,7 +12277,7 @@ function X4({
12276
12277
  }
12277
12278
  );
12278
12279
  }
12279
- const Y4 = ({
12280
+ const X4 = ({
12280
12281
  quote: t,
12281
12282
  onRemove: e
12282
12283
  }) => {
@@ -12304,7 +12305,7 @@ const Y4 = ({
12304
12305
  variant: "ghost",
12305
12306
  label: r.ai.removeQuote,
12306
12307
  onClick: e,
12307
- icon: Xe,
12308
+ icon: Ye,
12308
12309
  hideLabel: !0,
12309
12310
  size: "sm"
12310
12311
  }
@@ -12624,12 +12625,12 @@ function a6({
12624
12625
  const w = Q(() => {
12625
12626
  p.current?.getTracks().forEach((b) => b.stop()), p.current = null, v.current = null, h(null), L.current && (clearInterval(L.current), L.current = null), j.current && (clearTimeout(j.current), j.current = null);
12626
12627
  }, []), C = Q(async () => {
12627
- const { onTranscribe: b, onPartial: M, onFinal: S, onError: B } = T.current, X = g.current;
12628
- if (g.current = [], X.length === 0 || !b) {
12628
+ const { onTranscribe: b, onPartial: M, onFinal: S, onError: B } = T.current, Y = g.current;
12629
+ if (g.current = [], Y.length === 0 || !b) {
12629
12630
  i("idle"), c(0);
12630
12631
  return;
12631
12632
  }
12632
- const J = new Blob(X, { type: X[0]?.type || "audio/webm" }), te = new AbortController();
12633
+ const J = new Blob(Y, { type: Y[0]?.type || "audio/webm" }), te = new AbortController();
12633
12634
  x.current = te, i("transcribing");
12634
12635
  try {
12635
12636
  const oe = await b(J, {
@@ -12922,8 +12923,8 @@ function m6({
12922
12923
  (M) => {
12923
12924
  const S = L.current;
12924
12925
  if (S === -1) return;
12925
- const B = `${M.firstName} ${M.lastName}`.trim(), X = String(M.id), J = t.slice(0, S), te = t.slice(r), oe = `@${B} `, ee = J + oe + te, E = J.length + oe.length;
12926
- e(ee), k((W) => [...W.filter((Y) => !(Y.id === X && Y.name === B)), { id: X, name: B }]), w(), requestAnimationFrame(() => {
12926
+ const B = `${M.firstName} ${M.lastName}`.trim(), Y = String(M.id), J = t.slice(0, S), te = t.slice(r), oe = `@${B} `, ee = J + oe + te, E = J.length + oe.length;
12927
+ e(ee), k((W) => [...W.filter((X) => !(X.id === Y && X.name === B)), { id: Y, name: B }]), w(), requestAnimationFrame(() => {
12927
12928
  const W = s.current;
12928
12929
  W && (W.focus(), W.setSelectionRange(E, E));
12929
12930
  });
@@ -12962,9 +12963,9 @@ function m6({
12962
12963
  (M) => {
12963
12964
  if (x.length === 0) return M;
12964
12965
  let S = M;
12965
- const B = [...x].sort((X, J) => J.name.length - X.name.length);
12966
- for (const X of B) {
12967
- const J = `@${X.name}`, te = `<entity-ref type="person" id="${Vn(X.id)}">${Vn(X.name)}</entity-ref>`;
12966
+ const B = [...x].sort((Y, J) => J.name.length - Y.name.length);
12967
+ for (const Y of B) {
12968
+ const J = `@${Y.name}`, te = `<entity-ref type="person" id="${Vn(Y.id)}">${Vn(Y.name)}</entity-ref>`;
12968
12969
  for (; S.includes(J); )
12969
12970
  S = S.replace(J, te);
12970
12971
  }
@@ -12975,9 +12976,9 @@ function m6({
12975
12976
  ie(() => {
12976
12977
  k(
12977
12978
  (M) => M.filter((S) => {
12978
- const B = `@${S.name}`, X = t.indexOf(B);
12979
- if (X === -1) return !1;
12980
- const J = t[X + B.length];
12979
+ const B = `@${S.name}`, Y = t.indexOf(B);
12980
+ if (Y === -1) return !1;
12981
+ const J = t[Y + B.length];
12981
12982
  return J === " " || J === `
12982
12983
  ` || J === " ";
12983
12984
  })
@@ -13035,15 +13036,15 @@ const g6 = /[\\`*_{}[\]()#+\-.!|~>]/g, v6 = (t) => t.split(/(<entity-ref\b[^>]*>
13035
13036
  onSuggestionClick: T,
13036
13037
  ref: w
13037
13038
  }) => {
13038
- const C = pe(), y = Ue(), [R, _] = U(""), [b, M] = U(0), [S, B] = U(!1), [X, J] = U(!1), [te, oe] = U(null), ee = O(null), E = O(null), W = O(null), H = i != null, { tracking: Y } = Ye(), ve = Q(
13039
+ const C = pe(), y = Ue(), [R, _] = U(""), [b, M] = U(0), [S, B] = U(!1), [Y, J] = U(!1), [te, oe] = U(null), ee = O(null), E = O(null), W = O(null), H = i != null, { tracking: X } = Xe(), ve = Q(
13039
13040
  (Ce, De) => {
13040
- Y?.onWelcomeSuggestionClick?.({
13041
+ X?.onWelcomeSuggestionClick?.({
13041
13042
  item: Ce,
13042
13043
  group: De,
13043
13044
  prompt: Ce.prompt || Ce.title
13044
13045
  }), T?.(Ce, De);
13045
13046
  },
13046
- [Y, T]
13047
+ [X, T]
13047
13048
  ), {
13048
13049
  attachedFiles: me,
13049
13050
  fileInputRef: D,
@@ -13092,7 +13093,7 @@ const g6 = /[\\`*_{}[\]()#+\-.!|~>]/g, v6 = (t) => t.split(/(<entity-ref\b[^>]*>
13092
13093
  }, [g, $]);
13093
13094
  const It = Ne.status === "recording", tr = It ? C.ai.listening : C.ai.inputPlaceholder, rr = me.filter((Ce) => Ce.status === "uploaded"), lt = me.some((Ce) => Ce.status === "uploading"), Ht = me.some((Ce) => Ce.status === "error"), bt = R.trim().length > 0;
13094
13095
  ie(() => {
13095
- if (!(!X || lt)) {
13096
+ if (!(!Y || lt)) {
13096
13097
  if (J(!1), Ht) {
13097
13098
  xe(C.ai.fileUploadBlockedSubmit);
13098
13099
  return;
@@ -13100,7 +13101,7 @@ const g6 = /[\\`*_{}[\]()#+\-.!|~>]/g, v6 = (t) => t.split(/(<entity-ref\b[^>]*>
13100
13101
  ee.current?.requestSubmit();
13101
13102
  }
13102
13103
  }, [
13103
- X,
13104
+ Y,
13104
13105
  lt,
13105
13106
  Ht,
13106
13107
  xe,
@@ -13128,12 +13129,12 @@ const g6 = /[\\`*_{}[\]()#+\-.!|~>]/g, v6 = (t) => t.split(/(<entity-ref\b[^>]*>
13128
13129
  }
13129
13130
  const De = ue.transformMentions(R.trim()), ar = v6(De), Ot = rr.flatMap(
13130
13131
  (Kr) => Kr.uploadedFile ? [Kr.uploadedFile] : []
13131
- ), Xr = l, Yr = d;
13132
- Xr && c?.(null), Yr && u?.(null), await t({
13132
+ ), Yr = l, Xr = d;
13133
+ Yr && c?.(null), Xr && u?.(null), await t({
13133
13134
  text: ar,
13134
13135
  files: Ot,
13135
- context: Xr,
13136
- quote: Yr
13136
+ context: Yr,
13137
+ quote: Xr
13137
13138
  }), _(""), z();
13138
13139
  }
13139
13140
  E.current?.focus();
@@ -13197,7 +13198,7 @@ const g6 = /[\\`*_{}[\]()#+\-.!|~>]/g, v6 = (t) => t.split(/(<entity-ref\b[^>]*>
13197
13198
  onSubmit: nr,
13198
13199
  children: [
13199
13200
  /* @__PURE__ */ o(
13200
- X4,
13201
+ Y4,
13201
13202
  {
13202
13203
  isOpen: ue.isOpen,
13203
13204
  results: ue.results,
@@ -13248,7 +13249,7 @@ const g6 = /[\\`*_{}[\]()#+\-.!|~>]/g, v6 = (t) => t.split(/(<entity-ref\b[^>]*>
13248
13249
  },
13249
13250
  children: [
13250
13251
  d && /* @__PURE__ */ o(
13251
- Y4,
13252
+ X4,
13252
13253
  {
13253
13254
  quote: d,
13254
13255
  onRemove: () => u?.(null)
@@ -13323,7 +13324,7 @@ const g6 = /[\\`*_{}[\]()#+\-.!|~>]/g, v6 = (t) => t.split(/(<entity-ref\b[^>]*>
13323
13324
  handleFileSelect: I,
13324
13325
  inProgress: r,
13325
13326
  hasDataToSend: bt,
13326
- isPreSending: S || X,
13327
+ isPreSending: S || Y,
13327
13328
  canRecord: it,
13328
13329
  recordingStatus: Ne.status,
13329
13330
  recordingStream: Ne.stream,
@@ -13802,7 +13803,7 @@ function I6({
13802
13803
  id: t,
13803
13804
  label: e
13804
13805
  }) {
13805
- const { entityRefs: r } = Ye(), n = r?.resolvers?.candidate, s = pe(), a = r?.urls?.candidate?.(t), i = de(
13806
+ const { entityRefs: r } = Xe(), n = r?.resolvers?.candidate, s = pe(), a = r?.urls?.candidate?.(t), i = de(
13806
13807
  () => (c) => {
13807
13808
  const d = [];
13808
13809
  return c.source && d.push({
@@ -13874,7 +13875,7 @@ const P1 = m(
13874
13875
  );
13875
13876
  P1.displayName = "ExpenseTrigger";
13876
13877
  function H6({ id: t, label: e }) {
13877
- const { entityRefs: r } = Ye(), n = r?.resolvers?.expense, s = pe(), a = r?.urls?.expense?.(t), i = de(
13878
+ const { entityRefs: r } = Xe(), n = r?.resolvers?.expense, s = pe(), a = r?.urls?.expense?.(t), i = de(
13878
13879
  () => (c) => ({
13879
13880
  avatar: {
13880
13881
  type: "icon",
@@ -13933,7 +13934,7 @@ function j6({
13933
13934
  id: t,
13934
13935
  label: e
13935
13936
  }) {
13936
- const { entityRefs: r } = Ye(), n = r?.resolvers?.jobPosting, s = pe(), a = r?.urls?.jobPosting?.(t), i = de(
13937
+ const { entityRefs: r } = Xe(), n = r?.resolvers?.jobPosting, s = pe(), a = r?.urls?.jobPosting?.(t), i = de(
13937
13938
  () => (c) => ({
13938
13939
  title: c.title,
13939
13940
  description: [c.status, c.location].filter(Boolean).join(" · "),
@@ -13994,7 +13995,7 @@ function D6({
13994
13995
  id: t,
13995
13996
  label: e
13996
13997
  }) {
13997
- const { entityRefs: r } = Ye(), n = r?.resolvers?.requisition, s = pe(), a = r?.urls?.requisition?.(t), i = de(
13998
+ const { entityRefs: r } = Xe(), n = r?.resolvers?.requisition, s = pe(), a = r?.urls?.requisition?.(t), i = de(
13998
13999
  () => (c) => {
13999
14000
  const d = c.lineManager ? `${c.lineManager.firstName} ${c.lineManager.lastName}` : void 0, h = [
14000
14001
  c.status ? {
@@ -14087,7 +14088,7 @@ const H1 = m(
14087
14088
  );
14088
14089
  H1.displayName = "PersonTrigger";
14089
14090
  function Z6({ id: t, label: e }) {
14090
- const { entityRefs: r } = Ye(), n = r?.resolvers?.person, s = pe(), a = r?.urls?.person?.(t), i = de(
14091
+ const { entityRefs: r } = Xe(), n = r?.resolvers?.person, s = pe(), a = r?.urls?.person?.(t), i = de(
14091
14092
  () => (c) => ({
14092
14093
  avatar: {
14093
14094
  type: "person",
@@ -14145,7 +14146,7 @@ const j1 = m(
14145
14146
  );
14146
14147
  j1.displayName = "VacancyTrigger";
14147
14148
  function B6({ id: t, label: e }) {
14148
- const { entityRefs: r } = Ye(), n = r?.resolvers?.vacancy, s = pe(), a = r?.urls?.vacancy?.(t), i = de(
14149
+ const { entityRefs: r } = Xe(), n = r?.resolvers?.vacancy, s = pe(), a = r?.urls?.vacancy?.(t), i = de(
14149
14150
  () => (c) => ({
14150
14151
  title: c.name,
14151
14152
  description: [c.status, c.vacancyType].filter(Boolean).join(" · "),
@@ -14238,10 +14239,10 @@ const kf = {
14238
14239
  pathLength: [0, 1],
14239
14240
  opacity: [0, 1]
14240
14241
  }
14241
- }, X6 = {
14242
+ }, Y6 = {
14242
14243
  duration: 0.5,
14243
14244
  ease: [0.175, 0.885, 0.32, 1.275]
14244
- }, Y6 = {
14245
+ }, X6 = {
14245
14246
  normal: {
14246
14247
  scale: 1
14247
14248
  },
@@ -14268,8 +14269,8 @@ const kf = {
14268
14269
  cy: "12",
14269
14270
  r: "8",
14270
14271
  initial: "normal",
14271
- variants: Y6,
14272
- transition: X6,
14272
+ variants: X6,
14273
+ transition: Y6,
14273
14274
  animate: t,
14274
14275
  vectorEffect: "non-scaling-stroke"
14275
14276
  }
@@ -14385,8 +14386,8 @@ function Hn(t, e, r, n) {
14385
14386
  for (let C = 0; C < St; C++) {
14386
14387
  const y = a[T + C], R = a[T + C + 1], _ = a[w + C], b = a[w + C + 1];
14387
14388
  if ((y.t + R.t + _.t + b.t) * 0.25 < 1e-3) continue;
14388
- const S = (y.x + R.x + _.x + b.x) * 0.25, B = (y.y + R.y + _.y + b.y) * 0.25, X = (y.z + R.z + _.z + b.z) * 0.25, J = S * i, te = B * i, oe = y.x * i - J, ee = y.y * i - te, E = Math.sqrt(oe * oe + ee * ee), W = E > 0 ? (E + 0.9) / E : 1, H = l + J + oe * W, Y = c - te - ee * W, ve = R.x * i - J, me = R.y * i - te, D = Math.sqrt(ve * ve + me * me), re = D > 0 ? (D + 0.9) / D : 1, le = l + J + ve * re, ye = c - te - me * re, N = b.x * i - J, $ = b.y * i - te, I = Math.sqrt(N * N + $ * $), K = I > 0 ? (I + 0.9) / I : 1, z = l + J + N * K, se = c - te - $ * K, xe = _.x * i - J, ue = _.y * i - te, Re = Math.sqrt(xe * xe + ue * ue), Ie = Re > 0 ? (Re + 0.9) / Re : 1, at = l + J + xe * Ie, Ne = c - te - ue * Ie, it = s[x];
14389
- it.points = `${H},${Y} ${le},${ye} ${z},${se} ${at},${Ne}`, it.color = o9((S + 1) * 0.5), it.avgZ = X, x++;
14389
+ const S = (y.x + R.x + _.x + b.x) * 0.25, B = (y.y + R.y + _.y + b.y) * 0.25, Y = (y.z + R.z + _.z + b.z) * 0.25, J = S * i, te = B * i, oe = y.x * i - J, ee = y.y * i - te, E = Math.sqrt(oe * oe + ee * ee), W = E > 0 ? (E + 0.9) / E : 1, H = l + J + oe * W, X = c - te - ee * W, ve = R.x * i - J, me = R.y * i - te, D = Math.sqrt(ve * ve + me * me), re = D > 0 ? (D + 0.9) / D : 1, le = l + J + ve * re, ye = c - te - me * re, N = b.x * i - J, $ = b.y * i - te, I = Math.sqrt(N * N + $ * $), K = I > 0 ? (I + 0.9) / I : 1, z = l + J + N * K, se = c - te - $ * K, xe = _.x * i - J, ue = _.y * i - te, Re = Math.sqrt(xe * xe + ue * ue), Ie = Re > 0 ? (Re + 0.9) / Re : 1, at = l + J + xe * Ie, Ne = c - te - ue * Ie, it = s[x];
14390
+ it.points = `${H},${X} ${le},${ye} ${z},${se} ${at},${Ne}`, it.color = o9((S + 1) * 0.5), it.avgZ = Y, x++;
14390
14391
  }
14391
14392
  }
14392
14393
  }
@@ -14410,11 +14411,11 @@ const u9 = ({ size: t = 20, className: e, style: r, variant: n = "default" }, s)
14410
14411
  const C = (M) => {
14411
14412
  const S = p.quads;
14412
14413
  for (let B = 0; B < v.length; B++) {
14413
- const X = v[B];
14414
+ const Y = v[B];
14414
14415
  if (B < M) {
14415
14416
  const J = S[B];
14416
- X.setAttribute("points", J.points), X.setAttribute("fill", J.color), X.hasAttribute("display") && X.removeAttribute("display");
14417
- } else X.hasAttribute("display") || X.setAttribute("display", "none");
14417
+ Y.setAttribute("points", J.points), Y.setAttribute("fill", J.color), Y.hasAttribute("display") && Y.removeAttribute("display");
14418
+ } else Y.hasAttribute("display") || Y.setAttribute("display", "none");
14418
14419
  }
14419
14420
  }, y = (M) => {
14420
14421
  w || (x = M, k = M, w = !0);
@@ -14423,7 +14424,7 @@ const u9 = ({ size: t = 20, className: e, style: r, variant: n = "default" }, s)
14423
14424
  const oe = Fn * 2, ee = (M - x) % oe / oe;
14424
14425
  S = ee < 0.5 ? ee * 2 : (1 - ee) * 2, B = !1;
14425
14426
  } else V === "spin" ? (S = Math.min((M - x) / Fn, 1), S >= 1 && (S = 0, V = "pause", L = M)) : (S = 0, M - L >= K6 && (V = "spin", x = M));
14426
- const X = (M - k) / Q6 % 1, J = B ? r9(S) : S, te = Hn(p, J, t, X);
14427
+ const Y = (M - k) / Q6 % 1, J = B ? r9(S) : S, te = Hn(p, J, t, Y);
14427
14428
  C(te), g = requestAnimationFrame(y);
14428
14429
  }, R = () => {
14429
14430
  g === null && (g = requestAnimationFrame(y));
@@ -14698,7 +14699,7 @@ function q1({
14698
14699
  formValues: i,
14699
14700
  valueFormatter: l
14700
14701
  }) {
14701
- const { canvasContent: c, openCanvas: d, closeCanvas: u } = Ye(), h = f9(t), v = l ?? h, p = O(() => {
14702
+ const { canvasContent: c, openCanvas: d, closeCanvas: u } = Xe(), h = f9(t), v = l ?? h, p = O(() => {
14702
14703
  }), g = n ?? t, x = s ?? e ?? "", k = c?.type === "form" && c.formName === t, L = () => d({
14703
14704
  type: "form",
14704
14705
  title: g,
@@ -14787,7 +14788,7 @@ function w9(t, e) {
14787
14788
  const a = n.getBoundingClientRect();
14788
14789
  return { rect: a.width > 0 || a.height > 0 ? a : e.getBoundingClientRect(), text: s };
14789
14790
  }
14790
- function X1({
14791
+ function Y1({
14791
14792
  containerRef: t,
14792
14793
  enabled: e = !0
14793
14794
  }) {
@@ -14815,7 +14816,7 @@ function X1({
14815
14816
  }, [t, e]), { anchor: r, clear: s };
14816
14817
  }
14817
14818
  const zn = 8, _t = 8;
14818
- function Y1({ anchor: t, onReply: e }) {
14819
+ function X1({ anchor: t, onReply: e }) {
14819
14820
  const r = pe(), n = O(null), [s, a] = U(
14820
14821
  null
14821
14822
  );
@@ -14880,7 +14881,7 @@ const K1 = $t(void 0), Mf = () => kt(K1), x9 = (t) => /* @__PURE__ */ o(jo, { co
14880
14881
  onRendered: a,
14881
14882
  renderMarkdown: i
14882
14883
  }) => {
14883
- const l = typeof r?.content == "string" ? r.content : "", c = (r && n?.(r)) ?? r?.generativeUI?.() ?? null, d = r?.toolCalls?.[0]?.id, u = !l && !c, h = O(null), { anchor: v, clear: p } = X1({
14884
+ const l = typeof r?.content == "string" ? r.content : "", c = (r && n?.(r)) ?? r?.generativeUI?.() ?? null, d = r?.toolCalls?.[0]?.id, u = !l && !c, h = O(null), { anchor: v, clear: p } = Y1({
14884
14885
  containerRef: h,
14885
14886
  enabled: !!(r?.id && l)
14886
14887
  });
@@ -14897,7 +14898,7 @@ const K1 = $t(void 0), Mf = () => kt(K1), x9 = (t) => /* @__PURE__ */ o(jo, { co
14897
14898
  ),
14898
14899
  !!c && /* @__PURE__ */ o("div", { className: "w-full", children: c }),
14899
14900
  /* @__PURE__ */ o(
14900
- Y1,
14901
+ X1,
14901
14902
  {
14902
14903
  anchor: v,
14903
14904
  onReply: (g) => {
@@ -15141,7 +15142,7 @@ const M9 = ({
15141
15142
  return /* @__PURE__ */ o(
15142
15143
  E9,
15143
15144
  {
15144
- icon: Yo,
15145
+ icon: Xo,
15145
15146
  title: c,
15146
15147
  open: a,
15147
15148
  onOpenChange: i,
@@ -15206,7 +15207,7 @@ const es = (t) => /* @__PURE__ */ o(jo, { content: t, format: "markdown" }), N9
15206
15207
  const i = t.rawData, l = S9(
15207
15208
  t?.content,
15208
15209
  i
15209
- ), c = (R9(t?.content) ?? "").trim(), d = t?.replyQuote ?? null, u = c.length > 0, { anchor: h, clear: v } = X1({
15210
+ ), c = (R9(t?.content) ?? "").trim(), d = t?.replyQuote ?? null, u = c.length > 0, { anchor: h, clear: v } = Y1({
15210
15211
  containerRef: a,
15211
15212
  enabled: u
15212
15213
  });
@@ -15234,7 +15235,7 @@ const es = (t) => /* @__PURE__ */ o(jo, { content: t, format: "markdown" }), N9
15234
15235
  }
15235
15236
  ),
15236
15237
  /* @__PURE__ */ o(
15237
- Y1,
15238
+ X1,
15238
15239
  {
15239
15240
  anchor: h,
15240
15241
  onReply: (p) => {
@@ -15368,15 +15369,15 @@ const j9 = {
15368
15369
  ), w = pe(), C = g ?? k9, y = x ?? T9, R = de(() => {
15369
15370
  const E = n ?? w.ai.defaultInitialMessage;
15370
15371
  return (Array.isArray(E) ? E : [E]).filter((H) => typeof H == "string" && H.length > 0);
15371
- }, [n, w.ai.defaultInitialMessage]), _ = !e && t.length === 0 && R.length > 0, b = O(null), M = O(null), S = O(null), B = O(null), X = O(null), { showScrollBtn: J, turnMinHeight: te, scrollToBottom: oe } = H9({
15372
+ }, [n, w.ai.defaultInitialMessage]), _ = !e && t.length === 0 && R.length > 0, b = O(null), M = O(null), S = O(null), B = O(null), Y = O(null), { showScrollBtn: J, turnMinHeight: te, scrollToBottom: oe } = H9({
15372
15373
  viewportRef: b,
15373
15374
  contentRef: M,
15374
15375
  endRef: S,
15375
- lastTurnRef: X,
15376
+ lastTurnRef: Y,
15376
15377
  turnsCount: t.length,
15377
15378
  freezeTurnMinHeight: h
15378
15379
  }), ee = (E, W) => {
15379
- const H = W === t.length - 1, Y = {
15380
+ const H = W === t.length - 1, X = {
15380
15381
  renderToolCall: a,
15381
15382
  onReplyQuote: i,
15382
15383
  onRendered: l,
@@ -15393,7 +15394,7 @@ const j9 = {
15393
15394
  onRegenerate: k,
15394
15395
  onCopy: L,
15395
15396
  rawData: D.rawData || {},
15396
- ...Y
15397
+ ...X
15397
15398
  };
15398
15399
  return /* @__PURE__ */ o(
15399
15400
  y,
@@ -15413,7 +15414,7 @@ const j9 = {
15413
15414
  onRegenerate: k,
15414
15415
  onCopy: L,
15415
15416
  rawData: D.rawData || {},
15416
- ...Y
15417
+ ...X
15417
15418
  };
15418
15419
  return /* @__PURE__ */ o(
15419
15420
  C,
@@ -15428,7 +15429,7 @@ const j9 = {
15428
15429
  return /* @__PURE__ */ f(
15429
15430
  "div",
15430
15431
  {
15431
- ref: H ? X : void 0,
15432
+ ref: H ? Y : void 0,
15432
15433
  className: F(
15433
15434
  "flex flex-col items-start justify-start gap-2 px-1",
15434
15435
  H && "pb-5"
@@ -15574,7 +15575,7 @@ function Sf() {
15574
15575
  return t;
15575
15576
  }
15576
15577
  function Z9() {
15577
- const { canvasEntities: t } = Ye();
15578
+ const { canvasEntities: t } = Xe();
15578
15579
  return t;
15579
15580
  }
15580
15581
  function Nf(t) {
@@ -15885,7 +15886,7 @@ const z9 = ({
15885
15886
  onClick: l,
15886
15887
  label: c.actions.cancel,
15887
15888
  hideLabel: !0,
15888
- icon: Xe
15889
+ icon: Ye
15889
15890
  }
15890
15891
  )
15891
15892
  ] });
@@ -15893,12 +15894,12 @@ const z9 = ({
15893
15894
  clarifyingQuestion: t,
15894
15895
  isSubmitDisabled: e
15895
15896
  }) => /* @__PURE__ */ o(
15896
- X9,
15897
+ Y9,
15897
15898
  {
15898
15899
  clarifyingQuestion: t,
15899
15900
  isSubmitDisabled: e
15900
15901
  }
15901
- ), X9 = ({
15902
+ ), Y9 = ({
15902
15903
  clarifyingQuestion: t,
15903
15904
  isSubmitDisabled: e
15904
15905
  }) => {
@@ -15926,14 +15927,14 @@ const z9 = ({
15926
15927
  } = s, y = O(null), R = j ?? "single", _ = i > 1, b = a === 0, M = a === i - 1, S = _ ? r.t("ai.clarifyingQuestion.stepOf", {
15927
15928
  current: String(a + 1),
15928
15929
  total: String(i)
15929
- }) : void 0, B = L.length > 0, X = (w ?? "").trim().length > 0, J = B || C && X || V === !0, te = e === !0 && M, oe = () => {
15930
+ }) : void 0, B = L.length > 0, Y = (w ?? "").trim().length > 0, J = B || C && Y || V === !0, te = e === !0 && M, oe = () => {
15930
15931
  te || c();
15931
15932
  }, ee = () => {
15932
15933
  te || d();
15933
15934
  }, E = (D) => {
15934
15935
  const re = R === "single" && L.includes(D);
15935
15936
  l(D), R === "single" && !M && !re && Promise.resolve().then(c);
15936
- }, W = M ? r.ai.clarifyingQuestion.submit : r.ai.clarifyingQuestion.next, H = V === !0 && !B && !(C && X), Y = () => {
15937
+ }, W = M ? r.ai.clarifyingQuestion.submit : r.ai.clarifyingQuestion.next, H = V === !0 && !B && !(C && Y), X = () => {
15937
15938
  g(), requestAnimationFrame(() => {
15938
15939
  y.current?.focus();
15939
15940
  });
@@ -15972,13 +15973,13 @@ const z9 = ({
15972
15973
  selectedOptionIds: L,
15973
15974
  allowCustomAnswer: T,
15974
15975
  hasSelection: B,
15975
- hasCustomText: X,
15976
+ hasCustomText: Y,
15976
15977
  customAnswerText: w,
15977
15978
  isCustomAnswerActive: C,
15978
15979
  canProceed: J,
15979
15980
  customInputRef: y,
15980
15981
  onToggleOption: E,
15981
- onActivateCustom: Y,
15982
+ onActivateCustom: X,
15982
15983
  onChangeCustomText: v,
15983
15984
  onToggleCustomActive: p,
15984
15985
  onConfirm: oe
@@ -16002,7 +16003,7 @@ const z9 = ({
16002
16003
  ] });
16003
16004
  };
16004
16005
  function Gn(t, e, r, n) {
16005
- const s = Math.max(1, Math.min(t, e)), a = Math.min(r, 20), l = Math.min(a + n, s), c = Math.min(l, Math.floor(t / 2)), d = Math.min(l, Math.floor(e / 2)), u = (Y) => Y / t * 2 - 1, h = (Y) => Y / e * 2 - 1, v = 0, p = t, g = 0, x = e, k = c, L = t - c, j = d, V = e - d, T = u(v), w = u(p), C = h(g), y = h(x), R = u(k), _ = u(L), b = h(j), M = h(V), S = 0, B = 0, X = 1, J = 1, te = c / t, oe = 1 - c / t, ee = d / e, E = 1 - d / e, W = new Float32Array([
16006
+ const s = Math.max(1, Math.min(t, e)), a = Math.min(r, 20), l = Math.min(a + n, s), c = Math.min(l, Math.floor(t / 2)), d = Math.min(l, Math.floor(e / 2)), u = (X) => X / t * 2 - 1, h = (X) => X / e * 2 - 1, v = 0, p = t, g = 0, x = e, k = c, L = t - c, j = d, V = e - d, T = u(v), w = u(p), C = h(g), y = h(x), R = u(k), _ = u(L), b = h(j), M = h(V), S = 0, B = 0, Y = 1, J = 1, te = c / t, oe = 1 - c / t, ee = d / e, E = 1 - d / e, W = new Float32Array([
16006
16007
  // Top strip
16007
16008
  T,
16008
16009
  C,
@@ -16059,28 +16060,28 @@ function Gn(t, e, r, n) {
16059
16060
  // Top strip
16060
16061
  S,
16061
16062
  B,
16062
- X,
16063
+ Y,
16063
16064
  B,
16064
16065
  S,
16065
16066
  ee,
16066
16067
  S,
16067
16068
  ee,
16068
- X,
16069
+ Y,
16069
16070
  B,
16070
- X,
16071
+ Y,
16071
16072
  ee,
16072
16073
  // Bottom strip
16073
16074
  S,
16074
16075
  E,
16075
- X,
16076
+ Y,
16076
16077
  E,
16077
16078
  S,
16078
16079
  J,
16079
16080
  S,
16080
16081
  J,
16081
- X,
16082
+ Y,
16082
16083
  E,
16083
- X,
16084
+ Y,
16084
16085
  J,
16085
16086
  // Left strip
16086
16087
  S,
@@ -16098,15 +16099,15 @@ function Gn(t, e, r, n) {
16098
16099
  // Right strip
16099
16100
  oe,
16100
16101
  ee,
16101
- X,
16102
+ Y,
16102
16103
  ee,
16103
16104
  oe,
16104
16105
  E,
16105
16106
  oe,
16106
16107
  E,
16107
- X,
16108
+ Y,
16108
16109
  ee,
16109
- X,
16110
+ Y,
16110
16111
  E
16111
16112
  ]);
16112
16113
  return { positions: W, uvs: H };
@@ -16120,7 +16121,7 @@ function qn(t, e, r) {
16120
16121
  }
16121
16122
  return n;
16122
16123
  }
16123
- function Y9(t, e, r) {
16124
+ function X9(t, e, r) {
16124
16125
  const n = qn(t, t.VERTEX_SHADER, e), s = qn(t, t.FRAGMENT_SHADER, r), a = t.createProgram();
16125
16126
  if (!a) throw new Error("Failed to create program");
16126
16127
  if (t.attachShader(a, n), t.attachShader(a, s), t.linkProgram(a), !t.getProgramParameter(a, t.LINK_STATUS)) {
@@ -16512,7 +16513,7 @@ class Af {
16512
16513
  });
16513
16514
  if (!e)
16514
16515
  throw new Error("WebGL2 is required but not available.");
16515
- const r = Y9(e, Q9, K9);
16516
+ const r = X9(e, Q9, K9);
16516
16517
  this.checkGLError(e, "setupGL: after createProgram");
16517
16518
  const n = e.createVertexArray();
16518
16519
  e.bindVertexArray(n), this.checkGLError(e, "setupGL: after VAO creation");
@@ -16557,7 +16558,7 @@ class Af {
16557
16558
  r.useProgram(n), r.bindVertexArray(s), r.uniform1f(a, e), r.disable(r.DEPTH_TEST), r.disable(r.CULL_FACE), r.disable(r.BLEND), r.clearColor(0, 0, 0, 0), r.clear(r.COLOR_BUFFER_BIT), r.drawArrays(r.TRIANGLES, 0, 24), this.checkGLError(r, "render: after draw call"), r.bindVertexArray(null);
16558
16559
  }
16559
16560
  }
16560
- const Xn = ["lowp", "mediump", "highp"], t3 = `
16561
+ const Yn = ["lowp", "mediump", "highp"], t3 = `
16561
16562
  void main(void){
16562
16563
  vec4 color = vec4(0.0,0.0,0.0,1.0);
16563
16564
  mainImage( color, gl_FragCoord.xy );
@@ -16566,7 +16567,7 @@ void main(void){
16566
16567
  vec2 uv = fragCoord/iResolution.xy;
16567
16568
  vec3 col = 0.5 + 0.5*cos(iTime+uv.xyx+vec3(0,2,4));
16568
16569
  fragColor = vec4(col,1.0);
16569
- }`, Yn = `attribute vec3 aVertexPosition;
16570
+ }`, Xn = `attribute vec3 aVertexPosition;
16570
16571
  void main(void) {
16571
16572
  gl_Position = vec4(aVertexPosition, 1.0);
16572
16573
  }`, Kn = "iTime", Qn = "iTimeDelta", Jn = "iDate", eo = "iFrame", to = "iMouse", ro = "iResolution", n3 = "iChannel", no = "iChannelResolution", oo = "iDeviceOrientation";
@@ -16818,7 +16819,7 @@ const We = (t) => `react-shaders: ${t}`, co = (t) => {
16818
16819
  }, lo = (t, e, r) => t * (1 - r) + e * r, u3 = (t, e, r) => r > 0 ? t.substring(0, r) + e + t.substring(r, t.length) : e + t;
16819
16820
  function f3({
16820
16821
  fs: t,
16821
- vs: e = Yn,
16822
+ vs: e = Xn,
16822
16823
  textures: r = [],
16823
16824
  uniforms: n,
16824
16825
  clearColor: s = [0, 0, 0, 1],
@@ -16853,7 +16854,7 @@ function f3({
16853
16854
  "experimental-webgl",
16854
16855
  l
16855
16856
  ), g.current?.getExtension("OES_standard_derivatives"), g.current?.getExtension("EXT_shader_texture_lod"));
16856
- }, X = () => {
16857
+ }, Y = () => {
16857
16858
  const N = g.current;
16858
16859
  x.current = N?.createBuffer() ?? null, N?.bindBuffer(N.ARRAY_BUFFER, x.current);
16859
16860
  const $ = [
@@ -16947,7 +16948,7 @@ ${$}`));
16947
16948
  "aVertexPosition"
16948
16949
  ), I.enableVertexAttribArray(L.current);
16949
16950
  }
16950
- }, Y = () => {
16951
+ }, X = () => {
16951
16952
  if (n)
16952
16953
  for (const N of Object.keys(n)) {
16953
16954
  const $ = n[N];
@@ -16991,7 +16992,7 @@ ${$}`));
16991
16992
  });
16992
16993
  } else u && u();
16993
16994
  }, me = (N) => {
16994
- const $ = Xn.includes(a ?? "highp"), I = `precision ${$ ? a : Xn[1]} float;
16995
+ const $ = Yn.includes(a ?? "highp"), I = `precision ${$ ? a : Yn[1]} float;
16995
16996
  `;
16996
16997
  $ || v?.(
16997
16998
  We(
@@ -17149,7 +17150,7 @@ ${$}`));
17149
17150
  function $() {
17150
17151
  B();
17151
17152
  const I = g.current;
17152
- I && p.current && (I.clearColor(...s), I.clearDepth(1), I.enable(I.DEPTH_TEST), I.depthFunc(I.LEQUAL), I.viewport(0, 0, p.current.width, p.current.height), p.current.height = p.current.clientHeight, p.current.width = p.current.clientWidth, Y(), ve(), H(me(t || r3), e || Yn), X(), requestAnimationFrame(re), le(), E());
17153
+ I && p.current && (I.clearColor(...s), I.clearDepth(1), I.enable(I.DEPTH_TEST), I.depthFunc(I.LEQUAL), I.viewport(0, 0, p.current.width, p.current.height), p.current.height = p.current.clientHeight, p.current.width = p.current.clientWidth, X(), ve(), H(me(t || r3), e || Xn), Y(), requestAnimationFrame(re), le(), E());
17153
17154
  }
17154
17155
  return requestAnimationFrame($), () => {
17155
17156
  const I = g.current;
@@ -17767,7 +17768,7 @@ const S3 = ({
17767
17768
  "aria-label": `Sparkline chart showing ${a} trend`,
17768
17769
  children: [
17769
17770
  /* @__PURE__ */ o(qi, { width: "100%", height: "100%", children: /* @__PURE__ */ f(
17770
- Xi,
17771
+ Yi,
17771
17772
  {
17772
17773
  data: t,
17773
17774
  margin: { top: 4, right: 4, bottom: 0, left: 0 },
@@ -17776,7 +17777,7 @@ const S3 = ({
17776
17777
  /* @__PURE__ */ o("stop", { offset: "5%", stopColor: i.fill, stopOpacity: 0.3 }),
17777
17778
  /* @__PURE__ */ o("stop", { offset: "95%", stopColor: i.fill, stopOpacity: 0.02 })
17778
17779
  ] }) }),
17779
- /* @__PURE__ */ o(Yi, { hide: !0, domain: ["dataMin - 1", "dataMax + 1"] }),
17780
+ /* @__PURE__ */ o(Xi, { hide: !0, domain: ["dataMin - 1", "dataMax + 1"] }),
17780
17781
  /* @__PURE__ */ o(
17781
17782
  Ki,
17782
17783
  {
@@ -18078,7 +18079,7 @@ const j3 = ({
18078
18079
  ]
18079
18080
  }
18080
18081
  );
18081
- }, O3 = (t) => X2[t] ?? Eo, D3 = ({ iconName: t }) => t ? /* @__PURE__ */ o("div", { className: "mr-1 flex items-center justify-center", children: /* @__PURE__ */ o(be, { icon: O3(t), size: "md", color: "default" }) }) : null;
18082
+ }, O3 = (t) => Y2[t] ?? Eo, D3 = ({ iconName: t }) => t ? /* @__PURE__ */ o("div", { className: "mr-1 flex items-center justify-center", children: /* @__PURE__ */ o(be, { icon: O3(t), size: "md", color: "default" }) }) : null;
18082
18083
  function Z3({
18083
18084
  sources: t,
18084
18085
  title: e
@@ -18497,7 +18498,7 @@ const fo = ({
18497
18498
  variant: "ghost",
18498
18499
  hideLabel: !0,
18499
18500
  label: v.ai.closeChat,
18500
- icon: Xe,
18501
+ icon: Ye,
18501
18502
  onClick: i
18502
18503
  }
18503
18504
  );
@@ -18581,11 +18582,11 @@ function q3() {
18581
18582
  if (!(typeof navigator > "u"))
18582
18583
  return rc(navigator.language);
18583
18584
  }
18584
- function X3(t) {
18585
+ function Y3(t) {
18585
18586
  const e = new Date(t), r = /* @__PURE__ */ new Date();
18586
18587
  return Uo(e) ? "today" : zo(e) ? "yesterday" : ec(e, r) ? "thisMonth" : "older";
18587
18588
  }
18588
- function Y3(t, e) {
18589
+ function X3(t, e) {
18589
18590
  const r = new Date(t), n = q3(), s = tn(r, "p", { locale: n });
18590
18591
  if (Uo(r)) return `${e.today}, ${s}`;
18591
18592
  if (zo(r)) return `${e.yesterday}, ${s}`;
@@ -18602,7 +18603,7 @@ function K3(t) {
18602
18603
  older: []
18603
18604
  };
18604
18605
  for (const n of t) {
18605
- const s = X3(n.updatedAt);
18606
+ const s = Y3(n.updatedAt);
18606
18607
  e[s].push(n);
18607
18608
  }
18608
18609
  return ["today", "yesterday", "thisMonth", "older"].filter((n) => e[n].length > 0).map((n) => ({ key: n, threads: e[n] }));
@@ -18631,7 +18632,7 @@ function Q3({
18631
18632
  ],
18632
18633
  [e, t.id, n, s, a]
18633
18634
  ), c = de(
18634
- () => Y3(t.updatedAt, {
18635
+ () => X3(t.updatedAt, {
18635
18636
  today: i.ai.today,
18636
18637
  yesterday: i.ai.yesterday
18637
18638
  }),
@@ -18989,7 +18990,7 @@ export {
18989
18990
  pf as K,
18990
18991
  Nr as L,
18991
18992
  Oe as M,
18992
- Xt as N,
18993
+ Yt as N,
18993
18994
  Sl as O,
18994
18995
  i0 as P,
18995
18996
  Mn as Q,