@factorialco/f0-react 16.39.1 → 16.40.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. package/dist/{ArchiveThumbnail-BuomQ0jm.js → ArchiveThumbnail-fx1k9zF5.js} +1 -1
  2. package/dist/{ArchiveViewer-Cb1a_yK5.js → ArchiveViewer-4mkxdXyf.js} +2 -2
  3. package/dist/{ChatPostComposerDialog-BoMZ0Olp.js → ChatPostComposerDialog-ZGoAsax9.js} +2 -2
  4. package/dist/{CoachmarkProvider-w30wNBNx.js → CoachmarkProvider-BwLQ3v9f.js} +14091 -14093
  5. package/dist/{CodeThumbnail-bnwIB0Q2.js → CodeThumbnail-DIRVdTYf.js} +1 -1
  6. package/dist/{CodeViewer-DVL3P-jF.js → CodeViewer-BHA1Osng.js} +4 -4
  7. package/dist/{DocumentToolbar-7s9QNMWY.js → DocumentToolbar-C8_A4Bhd.js} +5 -5
  8. package/dist/{DocxViewer-Bn22Gst6.js → DocxViewer-C-UaGNXG.js} +1 -1
  9. package/dist/{F0AiProcessingOverlay-B6DLMrO7.js → F0AiProcessingOverlay-BQGg-wTQ.js} +502 -504
  10. package/dist/{F0Alert-m54uY33f.js → F0Alert-Cj4ufDl7.js} +3 -3
  11. package/dist/F0AudioPlayer-C5CokjE_.js +2 -0
  12. package/dist/{F0CanvasPanel-CfPdTW_o.js → F0CanvasPanel-D4PhLARb.js} +8987 -9185
  13. package/dist/{F0DocumentViewer-FuhnkhM-.js → F0DocumentViewer-382b-101.js} +1 -1
  14. package/dist/{F0DocumentViewer-C_E6pFUZ.js → F0DocumentViewer-De5STCB5.js} +2 -2
  15. package/dist/{F0Map-BwRUOPzu.js → F0Map-Dz_-4gAZ.js} +764 -697
  16. package/dist/{F0Select-BCUynP2p.js → F0Select-BQMaDPcg.js} +8266 -8522
  17. package/dist/{Ellipsis-Bxq1iUUk.js → F0Text-DmUg-CLb.js} +22 -14
  18. package/dist/F0VideoPlayer-AXw_DAL_.js +1 -0
  19. package/dist/{F0VideoPlayer-DGHxduSr.js → F0VideoPlayer-Dsna4Es9.js} +306 -307
  20. package/dist/{HtmlViewer-Q3xUMpkP.js → HtmlViewer-CIAxNnvP.js} +4 -4
  21. package/dist/{Map-Dt3tV3na.js → Map-DGd3Cl-3.js} +13 -13
  22. package/dist/{PdfThumbnail-QkmwtnOA.js → PdfThumbnail-BtzXcGHN.js} +1 -1
  23. package/dist/{PdfViewer-D4NjCixG.js → PdfViewer-BZVnaYKF.js} +6 -6
  24. package/dist/{SheetViewer-RsRTbw7A.js → SheetViewer-Bn3N9G4D.js} +3 -3
  25. package/dist/{TextViewer-BvwaMVDG.js → TextViewer-C9NBnJvl.js} +1 -1
  26. package/dist/ai.d.ts +2 -2
  27. package/dist/ai.js +2 -2
  28. package/dist/component-status.js +1 -1
  29. package/dist/{dist-CngBJJ6S.js → dist-CWrWx4g2.js} +4 -4
  30. package/dist/{dist-CUKjZKvr.js → dist-CZnQ15Wl.js} +1 -1
  31. package/dist/{dist-CGYo25BY.js → dist-DCb1475M.js} +151 -142
  32. package/dist/{dist-D83RDDAb.js → dist-DNltp03U.js} +6 -15
  33. package/dist/{dist-DDAe_kuu.js → dist-DxwodHyk.js} +1 -1
  34. package/dist/experimental.d.ts +2 -2
  35. package/dist/experimental.js +819 -821
  36. package/dist/{exports-DYl7Pf17.d.ts → exports-CbmGLzn6.d.ts} +1 -1
  37. package/dist/f0.d.ts +3 -3
  38. package/dist/f0.js +318 -320
  39. package/dist/{highlight-CJDVXMe_.js → highlight-u9A6kwy7.js} +1 -1
  40. package/dist/{index-DA_a_mE2.d.ts → index-CcbdFJRr.d.ts} +1 -1
  41. package/dist/{index-DOU2q_xI.d.ts → index-D0QIgPoz.d.ts} +7 -0
  42. package/dist/internal-CGrF2KLC.js +261 -0
  43. package/dist/{maplibre-BFO6CAl9.js → maplibre-Dqb2AOHT.js} +12 -13
  44. package/dist/{pdfWorker-BlDYyNbC.js → pdfWorker-C_2eH-2_.js} +1 -1
  45. package/dist/{popover-BGv1b-fc.js → popover-Y2y9anVX.js} +1282 -1247
  46. package/dist/styles.css +1 -1
  47. package/dist/{useData-CmFkOA0P.js → useData-OLWBwcfd.js} +5129 -4873
  48. package/package.json +1 -1
  49. package/tailwind.config.ts +4 -0
  50. package/dist/Check-Cg2vvL5g.js +0 -39
  51. package/dist/F0AudioPlayer-Ck9Vyjrb.js +0 -2
  52. package/dist/F0Text-CnmiWNAg.js +0 -14
  53. package/dist/F0VideoPlayer-BshnHziC.js +0 -1
  54. package/dist/LayoutGroup-OcrcUDNP.js +0 -57
package/dist/f0.js CHANGED
@@ -1,27 +1,25 @@
1
1
  import { o as e } from "./rolldown-runtime-BItFwnF5.js";
2
- import { $ as t, $n as n, $r as r, A as i, An as a, Ar as o, Bn as s, C as c, Cn as l, Cr as u, D as d, Dn as f, Dr as p, E as m, En as h, Er as g, F as _, Fn as v, Ft as y, Gn as b, Gr as x, Gt as S, Hn as C, Ht as w, I as T, In as E, It as D, Jn as O, Jr as k, Jt as A, Kn as j, Kr as M, Kt as ee, Ln as N, Lt as P, M as te, Mn as ne, Mr as re, N as F, Nn as ie, Nr as ae, O as oe, On as se, Or as ce, Ot as le, P as ue, Pn as de, Pr as fe, Pt as pe, Q as me, Qr as he, Qt as ge, Rn as _e, Rt as ve, S as ye, Sn as be, Sr as xe, T as Se, Tn as Ce, Tr as we, Un as Te, Ut as Ee, Vn as De, Vt as Oe, Wn as ke, Wt as Ae, Xn as je, Yn as Me, Yr as Ne, Yt as Pe, Zn as Fe, Zr as Ie, Zt as Le, _ as Re, _r as ze, _t as Be, ai as Ve, ar as He, b as Ue, bi as We, br as Ge, bt as Ke, c as qe, cn as Je, cr as Ye, d as Xe, di as Ze, dr as Qe, ei as $e, en as et, er as tt, et as nt, f as rt, fi as it, fr as at, ft as ot, gr as st, gt as ct, h as lt, hr as ut, ht as dt, i as ft, ii as pt, ir as mt, j as ht, jn as gt, jr as _t, k as vt, kn as yt, kr as bt, l as xt, ln as St, lr as Ct, lt as wt, m as Tt, mr as Et, mt as Dt, ni as Ot, nn as kt, nr as At, on as jt, or as Mt, pi as Nt, pr as Pt, qn as Ft, qr as It, qt as Lt, ri as Rt, rn as zt, rr as Bt, s as Vt, sn as Ht, sr as Ut, t as Wt, tn as Gt, tr as Kt, u as qt, un as Jt, ur as Yt, v as Xt, vr as Zt, vt as Qt, w as $t, wi as en, wn as tn, wr as nn, x as rn, xi as an, xn as on, xr as sn, xt as cn, y as ln, yi as un, yr as dn, yt as fn, zn as pn, zt as mn } from "./CoachmarkProvider-w30wNBNx.js";
2
+ import { $ as t, $n as n, $r as r, A as i, An as a, Ar as o, Bn as s, C as c, Cn as l, Cr as u, D as d, Dn as f, Dr as p, E as m, En as h, Er as g, F as _, Fn as v, Ft as y, Gn as b, Gr as x, Gt as S, Hn as C, Ht as w, I as T, In as E, It as D, Jn as O, Jr as k, Jt as A, Kn as j, Kr as M, Kt as ee, Ln as N, Lt as P, M as te, Mn as ne, Mr as re, N as F, Nn as ie, Nr as ae, O as oe, On as se, Or as ce, Ot as le, P as ue, Pn as de, Pr as fe, Pt as pe, Q as me, Qr as he, Qt as ge, Rn as _e, Rt as ve, S as ye, Sn as be, Sr as xe, T as Se, Tn as Ce, Tr as we, Un as Te, Ut as Ee, Vn as De, Vt as Oe, Wn as ke, Wt as Ae, Xn as je, Yn as Me, Yr as Ne, Yt as Pe, Zn as Fe, Zr as Ie, Zt as Le, _ as Re, _r as ze, _t as Be, ai as Ve, ar as He, b as Ue, bi as We, br as Ge, bt as Ke, c as qe, cn as Je, cr as Ye, d as Xe, di as Ze, dr as Qe, ei as $e, en as et, er as tt, et as nt, f as rt, fi as it, fr as at, ft as ot, gr as st, gt as ct, h as lt, hr as ut, ht as dt, i as ft, ii as pt, ir as mt, j as ht, jn as gt, jr as _t, k as vt, kn as yt, kr as bt, l as xt, ln as St, lr as Ct, lt as wt, m as Tt, mr as Et, mt as Dt, ni as Ot, nn as kt, nr as At, on as jt, or as Mt, pi as Nt, pr as Pt, qn as Ft, qr as It, qt as Lt, ri as Rt, rn as zt, rr as Bt, s as Vt, sn as Ht, sr as Ut, t as Wt, tn as Gt, tr as Kt, u as qt, un as Jt, ur as Yt, v as Xt, vr as Zt, vt as Qt, w as $t, wi as en, wn as tn, wr as nn, x as rn, xi as an, xn as on, xr as sn, xt as cn, y as ln, yi as un, yr as dn, yt as fn, zn as pn, zt as mn } from "./CoachmarkProvider-BwLQ3v9f.js";
3
3
  import { a as I, i as hn, n as gn, o as _n, r as L, t as vn } from "./i18n-provider-Bx71VZQH.js";
4
4
  import { n as yn, t as R } from "./skeleton-BsSrazKY.js";
5
5
  import { A as bn, C as xn, D as Sn, F as Cn, I as wn, L as z, M as Tn, N as En, O as Dn, P as On, R as kn, S as An, _ as jn, b as Mn, c as Nn, f as Pn, g as Fn, h as In, j as Ln, k as Rn, l as zn, m as Bn, p as Vn, v as Hn, w as Un, x as Wn, y as Gn } from "./tooltip-NXXT56H4.js";
6
6
  import { E as Kn, F as qn, I as Jn, L as Yn, P as Xn, U as Zn, X as Qn, b as $n, f as er, h as tr, m as nr, n as rr, p as ir, q as ar, r as or, t as B, v as sr, x as cr } from "./F0Button-fMxOyyNk.js";
7
- import { $i as lr, $n as ur, At as dr, B as fr, Bc as pr, Bi as mr, Bo as hr, Bs as gr, Ca as _r, Cl as vr, Cs as yr, Da as br, Dl as xr, El as Sr, Fc as Cr, G as wr, Gi as Tr, H as Er, Hs as Dr, Ic as Or, Jn as kr, Jt as Ar, K as jr, Kc as Mr, Kn as Nr, Ks as Pr, Ll as Fr, Mi as Ir, Ms as Lr, Ns as Rr, Ol as zr, Pc as Br, Qi as Vr, Qo as Hr, Sa as Ur, Tl as Wr, U as Gr, Ui as Kr, V as qr, Vc as Jr, Vi as Yr, W as Xr, Wl as Zr, Wn as Qr, Yn as $r, Zi as ei, Zn as ti, Zo as ni, _a as ri, _i as ii, a as ai, aa as oi, ai as si, ba as ci, bi as li, bs as ui, ci as di, di as fi, dn as pi, dr as mi, er as hi, fa as gi, fi as _i, fr as vi, fs as yi, ga as bi, gi as xi, gs as Si, ha as Ci, hl as wi, hr as Ti, i as Ei, ia as Di, ii as Oi, jc as ki, ji as Ai, jl as ji, kl as Mi, li as Ni, lr as Pi, ma as Fi, ml as Ii, mr as Li, na as Ri, nc as zi, oa as Bi, oi as Vi, pa as Hi, pr as Ui, ql as Wi, qn as Gi, ri as Ki, sa as qi, si as Ji, t as Yi, ta as Xi, tr as Zi, ua as Qi, ul as $i, ur as ea, va as ta, vc as na, vi as ra, vs as ia, wa as aa, wc as oa, wl as sa, xa as ca, xi as la, ya as ua, yi as da, ys as fa, z as pa, zi as ma } from "./F0CanvasPanel-CfPdTW_o.js";
8
- import { A as ha, B as ga, C as _a, D as va, E as ya, F as ba, H as xa, I as Sa, L as Ca, M as wa, N as Ta, O as Ea, P as Da, R as Oa, S as ka, T as Aa, V as ja, _ as Ma, a as Na, b as Pa, c as Fa, d as Ia, f as La, g as Ra, h as za, i as Ba, j as Va, k as Ha, l as Ua, m as Wa, n as Ga, o as Ka, p as qa, r as Ja, s as Ya, t as Xa, u as Za, v as Qa, w as $a, x as eo, y as to, z as no } from "./F0AiProcessingOverlay-B6DLMrO7.js";
7
+ import { $i as lr, $n as ur, $s as dr, As as fr, At as pr, B as mr, Bi as hr, Bo as gr, Ca as _r, Cl as vr, Da as yr, El as br, G as xr, Gi as Sr, H as Cr, Jn as wr, Jt as Tr, K as Er, Kn as Dr, Lc as Or, Ls as kr, Mc as Ar, Mi as jr, Nc as Mr, Oc as Nr, Ol as Pr, Pl as Fr, Qi as Ir, Qo as Lr, Rc as Rr, Sa as zr, Sl as Br, Tl as Vr, U as Hr, Uc as Ur, Ui as Wr, Us as Gr, V as Kr, Vi as qr, Vl as Jr, W as Yr, Wl as Xr, Wn as Zr, Yn as Qr, Zi as $r, Zn as ei, Zo as ti, _a as ni, _i as ri, _s as ii, a as ai, aa as oi, ai as si, ba as ci, bi as li, bl as ui, bs as di, ci as fi, di as pi, dl as mi, dn as hi, dr as gi, er as _i, fa as vi, fi as yi, fl as bi, fr as xi, fs as Si, ga as Ci, gi as wi, gs as Ti, ha as Ei, hc as Di, hr as Oi, hs as ki, i as Ai, ia as ji, ii as Mi, jc as Ni, ji as Pi, ks as Fi, li as Ii, lr as Li, ma as Ri, mr as zi, na as Bi, oa as Vi, oi as Hi, pa as Ui, pr as Wi, ps as Gi, qn as Ki, ri as qi, sa as Ji, si as Yi, sl as Xi, t as Zi, ta as Qi, tr as $i, ua as ea, ur as ta, va as na, vi as ra, wa as ia, wl as aa, xa as oa, xc as sa, xi as ca, xl as la, ya as ua, yi as da, z as fa, zi as pa, zs as ma } from "./F0CanvasPanel-D4PhLARb.js";
8
+ import { A as ha, B as ga, C as _a, D as va, E as ya, F as ba, H as xa, I as Sa, L as Ca, M as wa, N as Ta, O as Ea, P as Da, R as Oa, S as ka, T as Aa, V as ja, _ as Ma, a as Na, b as Pa, c as Fa, d as Ia, f as La, g as Ra, h as za, i as Ba, j as Va, k as Ha, l as Ua, m as Wa, n as Ga, o as Ka, p as qa, r as Ja, s as Ya, t as Xa, u as Za, v as Qa, w as $a, x as eo, y as to, z as no } from "./F0AiProcessingOverlay-BQGg-wTQ.js";
9
9
  import { a as V, c as ro, i as io, l as ao, n as oo, o as so, r as co, s as lo, u as uo } from "./createIcon-iM5M-dE_.js";
10
10
  import { t as fo } from "./i18n-provider-defaults-Dlzuk_lt.js";
11
- import { A as po, C as mo, D as ho, H as go, N as H, S as _o, U as vo, _ as yo, a as bo, b as xo, d as So, f as Co, g as wo, h as To, i as Eo, k as Do, n as Oo, o as ko, p as Ao, r as jo, t as Mo, u as No } from "./useData-CmFkOA0P.js";
12
- import { $ as Po, Ar as Fo, B as Io, Br as Lo, Bt as Ro, Cr as zo, Dr as Bo, Et as Vo, G as Ho, Gt as Uo, H as Wo, Hn as Go, Hr as Ko, Ht as qo, J as Jo, Jt as Yo, K as Xo, Kt as Zo, Lt as Qo, Q as $o, Qt as es, R as ts, Rr as ns, St as rs, Tr as is, U as as, Ur as os, Ut as ss, Vn as cs, Vt as ls, W as us, Wn as ds, Wr as fs, X as ps, Xt as ms, Y as hs, Yt as gs, Zn as _s, Zt as vs, _ as ys, a as bs, bn as xs, bt as Ss, c as Cs, d as ws, dt as Ts, en as Es, ft as Ds, g as Os, h as ks, it as As, l as js, m as Ms, nt as Ns, o as Ps, q as Fs, qt as Is, r as Ls, rt as Rs, s as zs, t as Bs, tn as Vs, tt as Hs, u as Us, v as Ws, vn as Gs, vt as Ks, w as qs, xt as Js, y as Ys, yt as Xs, zr as Zs, zt as Qs } from "./F0Select-BCUynP2p.js";
13
- import { t as $s } from "./Check-Cg2vvL5g.js";
14
- import { a as ec } from "./dist-D83RDDAb.js";
15
- import { t as tc } from "./Ellipsis-Bxq1iUUk.js";
16
- import { t as nc } from "./LockLocked-BmvISDv1.js";
17
- import { t as rc } from "./purify.es-CJ7gZxxn.js";
18
- import { J as ic, S as ac, a as oc, b as sc, d as cc, f as lc, g as uc, h as dc, i as fc, m as pc, p as mc, t as hc, w as gc, x as _c, y as vc } from "./popover-BGv1b-fc.js";
19
- import { i as yc, r as bc } from "./dist-CGYo25BY.js";
20
- import { t as xc } from "./F0Text-CnmiWNAg.js";
21
- import { t as Sc } from "./F0Alert-m54uY33f.js";
22
- import { n as Cc, r as wc, t as Tc } from "./F0DocumentViewer-C_E6pFUZ.js";
11
+ import { A as po, C as mo, E as ho, I as H, J as go, M as _o, N as vo, Q as yo, T as bo, Z as xo, a as So, b as Co, d as wo, f as To, g as Eo, i as Do, m as Oo, n as ko, o as Ao, r as jo, t as Mo, u as No, v as Po, y as Fo } from "./useData-OLWBwcfd.js";
12
+ import { $ as Io, Ar as Lo, B as Ro, Bt as zo, Et as Bo, Fr as Vo, G as Ho, Gt as Uo, H as Wo, Hn as Go, Ht as Ko, Ir as qo, J as Jo, Jt as Yo, K as Xo, Kt as Zo, Lt as Qo, Mr as $o, Pr as es, Q as ts, Qt as ns, R as rs, Sr as is, St as as, U as os, Ut as ss, Vn as cs, Vt as ls, W as us, Wn as ds, X as fs, Xt as ps, Y as ms, Yt as hs, Zt as gs, _ as _s, a as vs, bn as ys, bt as bs, c as xs, d as Ss, dt as Cs, en as ws, ft as Ts, g as Es, gr as Ds, h as Os, it as ks, jr as As, l as js, m as Ms, nt as Ns, o as Ps, q as Fs, qt as Is, r as Ls, rt as Rs, s as zs, t as Bs, tn as Vs, tt as Hs, u as Us, v as Ws, vn as Gs, vr as Ks, vt as qs, w as Js, xt as Ys, y as Xs, yt as Zs, zt as Qs } from "./F0Select-BQMaDPcg.js";
13
+ import { J as $s, S as ec, a as tc, b as nc, d as rc, et as ic, f as ac, g as oc, h as sc, i as cc, m as lc, p as uc, t as dc, w as fc, x as pc, y as mc } from "./popover-Y2y9anVX.js";
14
+ import { i as hc } from "./dist-DNltp03U.js";
15
+ import { n as gc, t as _c } from "./F0Text-DmUg-CLb.js";
16
+ import { t as vc } from "./LockLocked-BmvISDv1.js";
17
+ import { t as yc } from "./purify.es-CJ7gZxxn.js";
18
+ import { i as bc, r as xc } from "./dist-DCb1475M.js";
19
+ import { t as Sc } from "./F0Alert-Cj4ufDl7.js";
20
+ import { n as Cc, r as wc, t as Tc } from "./F0DocumentViewer-De5STCB5.js";
23
21
  import { t as Ec } from "./pdfWorkerConfig-BwllKt1K.js";
24
- import { t as Dc } from "./F0VideoPlayer-DGHxduSr.js";
22
+ import { t as Dc } from "./F0VideoPlayer-Dsna4Es9.js";
25
23
  import * as U from "react";
26
24
  import Oc, { Children as kc, Fragment as Ac, createContext as jc, forwardRef as Mc, isValidElement as Nc, memo as Pc, useCallback as W, useContext as Fc, useEffect as G, useId as Ic, useImperativeHandle as Lc, useLayoutEffect as Rc, useMemo as K, useRef as q, useState as J, useSyncExternalStore as zc } from "react";
27
25
  import { Fragment as Y, jsx as X, jsxs as Z } from "react/jsx-runtime";
@@ -45,7 +43,7 @@ var Uc = {
45
43
  className: "h-full @5xl:h-auto [&>div]:h-full",
46
44
  children: e
47
45
  }, t));
48
- return /* @__PURE__ */ X(yr, {
46
+ return /* @__PURE__ */ X(di, {
49
47
  layout: "home",
50
48
  children: /* @__PURE__ */ Z("div", {
51
49
  ref: r,
@@ -79,7 +77,7 @@ var Uc = {
79
77
  }), Gc = uo({
80
78
  base: "relative flex min-h-full w-full flex-1 flex-col gap-4 place-self-center overflow-y-auto px-page py-5",
81
79
  variants: { variant: { narrow: "max-w-screen-lg" } }
82
- }), Kc = Oc.forwardRef(({ children: e, variant: t, scrollable: n = !0, className: r, ...i }, a) => /* @__PURE__ */ X(yr, {
80
+ }), Kc = Oc.forwardRef(({ children: e, variant: t, scrollable: n = !0, className: r, ...i }, a) => /* @__PURE__ */ X(di, {
83
81
  layout: "standard",
84
82
  children: /* @__PURE__ */ X("section", {
85
83
  ref: a,
@@ -187,7 +185,7 @@ function rl({ children: e, options: t, onResizeStop: n, onChange: r, widgets: i,
187
185
  for (let t of i || []) t.id && e.set(t.id, $c(t));
188
186
  return e;
189
187
  });
190
- zo(() => {
188
+ Ds(() => {
191
189
  if (!s) return;
192
190
  let e = s.save();
193
191
  if (!Array.isArray(e)) return;
@@ -238,7 +236,7 @@ function rl({ children: e, options: t, onResizeStop: n, onChange: r, widgets: i,
238
236
  return e.forEach((e) => {
239
237
  if (n.get(e)) {
240
238
  let t = s.el.querySelector(`[gs-id="${e}"] .grid-stack-item-content`), r = "";
241
- t && (r = rc.sanitize(nl(t))), n.set(e, /* @__PURE__ */ X(ar.div, {
239
+ t && (r = yc.sanitize(nl(t))), n.set(e, /* @__PURE__ */ X(ar.div, {
242
240
  className: "h-full w-full",
243
241
  initial: {
244
242
  opacity: 1,
@@ -2598,7 +2596,7 @@ Ol.renderCB = (e, t) => {
2598
2596
  }, Ol.resizeToContentParent = ".grid-stack-item-content", Ol.Utils = Q, Ol.Engine = cl, Ol.GDRev = "12.3.2";
2599
2597
  //#endregion
2600
2598
  //#region src/blocks/F0GridStack/components/grid-stack-render-provider.tsx
2601
- var kl = /* @__PURE__ */ e(_s(), 1), Al = /* @__PURE__ */ new WeakMap();
2599
+ var kl = /* @__PURE__ */ e(ds(), 1), Al = /* @__PURE__ */ new WeakMap();
2602
2600
  function jl({ children: e }) {
2603
2601
  let { _gridStack: { value: t, set: n }, options: r } = Qc(), i = q(/* @__PURE__ */ new Map()), a = q(null), o = q(r), s = W((e, t) => {
2604
2602
  if (t.id && t.grid) {
@@ -2928,7 +2926,7 @@ var Hl = Ll("Dashboard", Vl), Ul = I(yn("Dashboard", Hl)), Wl = uo({
2928
2926
  ...l,
2929
2927
  children: [p ? /* @__PURE__ */ Z("div", {
2930
2928
  className: "absolute right-0 top-0 flex items-center justify-end gap-2 p-4",
2931
- children: [c || null, f.length > 0 ? /* @__PURE__ */ X(Hr, {
2929
+ children: [c || null, f.length > 0 ? /* @__PURE__ */ X(Lr, {
2932
2930
  items: Gl(d),
2933
2931
  "data-testid": "actions-dropdown"
2934
2932
  }) : null]
@@ -3002,7 +3000,7 @@ var $l = ({ id: e, children: t }) => {
3002
3000
  });
3003
3001
  }, eu = ({ blocks: e, sortable: t = !1, onSort: n = () => {}, main: i = !1 }) => {
3004
3002
  let [a, o] = J([]);
3005
- zo(() => {
3003
+ Ds(() => {
3006
3004
  o(e.map((e, t) => ({
3007
3005
  id: e.id ?? t.toString(),
3008
3006
  render: e.render
@@ -3083,7 +3081,7 @@ function su({ label: e, orientation: t }) {
3083
3081
  return /* @__PURE__ */ Z("span", {
3084
3082
  className: z("flex shrink-0 items-center justify-center gap-1 text-sm text-f1-foreground-secondary", t === "vertical" && "rotate-180 writing-vertical"),
3085
3083
  children: [e, /* @__PURE__ */ X(V, {
3086
- icon: t === "vertical" ? fs : Fr,
3084
+ icon: t === "vertical" ? qo : Fr,
3087
3085
  size: "sm",
3088
3086
  color: "currentColor"
3089
3087
  })]
@@ -3114,7 +3112,7 @@ var du = {
3114
3112
  strong: "bg-opacity-35"
3115
3113
  };
3116
3114
  function fu(e, t) {
3117
- return `${Es[e]} ${du[t]}`;
3115
+ return `${ws[e]} ${du[t]}`;
3118
3116
  }
3119
3117
  //#endregion
3120
3118
  //#region src/addons/charts/F0MatrixChart/components/MatrixCellAvatars.tsx
@@ -3251,7 +3249,7 @@ function xu(e, t) {
3251
3249
  }
3252
3250
  var Su = 64, Cu = 4, wu = 28, Tu = 24, Eu = 20;
3253
3251
  function Du({ width: e, height: t, rowCount: n, columnCount: r, showBandLabels: i, showAxisTitles: a, showNotShown: o, showPercentage: s }) {
3254
- let c = st(e), l = c === "sm", u = i && !l, d = a && !l, f = xu(r, c), p = n > 0 ? (t - ((d ? wu : 0) + (u ? Tu : 0) + (o ? Eu : 0)) - Cu * (n - 1)) / n : 0, m = t === 0 || p >= Su + So[f] + Cu;
3252
+ let c = st(e), l = c === "sm", u = i && !l, d = a && !l, f = xu(r, c), p = n > 0 ? (t - ((d ? wu : 0) + (u ? Tu : 0) + (o ? Eu : 0)) - Cu * (n - 1)) / n : 0, m = t === 0 || p >= Su + wo[f] + Cu;
3255
3253
  return {
3256
3254
  bandLabels: u,
3257
3255
  axisTitles: d,
@@ -3328,7 +3326,7 @@ function Ou({ layout: e, itemType: t = "person", xAxisLabel: n, yAxisLabel: r, s
3328
3326
  label: n,
3329
3327
  orientation: "horizontal"
3330
3328
  }) : null,
3331
- m > 0 ? /* @__PURE__ */ X(xc, {
3329
+ m > 0 ? /* @__PURE__ */ X(_c, {
3332
3330
  variant: "small",
3333
3331
  align: "center",
3334
3332
  ellipsis: !0,
@@ -3521,7 +3519,7 @@ var Wu = (e) => typeof e == "boolean" || !e ? {
3521
3519
  show: e.show ?? !0,
3522
3520
  invertStatus: e.invertStatus ?? !1
3523
3521
  }, Gu = ({ label: e, ...t }) => {
3524
- let n = ms(), r = n(t.value, { formatterOptions: { decimalPlaces: 2 } }), i = Wu(t.trend), a = n(t.comparison), o = vs(r.numericValue, r.formatterOptions), s = es(a.numericValue), c = es(r.numericValue), l = K(() => {
3522
+ let n = ps(), r = n(t.value, { formatterOptions: { decimalPlaces: 2 } }), i = Wu(t.trend), a = n(t.comparison), o = gs(r.numericValue, r.formatterOptions), s = ns(a.numericValue), c = ns(r.numericValue), l = K(() => {
3525
3523
  if (s && i.show && s && c) return (c - s) / s * 100;
3526
3524
  }, [
3527
3525
  c,
@@ -3535,7 +3533,7 @@ var Wu = (e) => typeof e == "boolean" || !e ? {
3535
3533
  children: [/* @__PURE__ */ X("span", {
3536
3534
  className: "font-bold text-2xl",
3537
3535
  children: o
3538
- }), s === void 0 ? null : /* @__PURE__ */ X(gs, {
3536
+ }), s === void 0 ? null : /* @__PURE__ */ X(hs, {
3539
3537
  percentage: l,
3540
3538
  amount: a,
3541
3539
  invertStatus: i.invertStatus,
@@ -3551,7 +3549,7 @@ var Wu = (e) => typeof e == "boolean" || !e ? {
3551
3549
  })]
3552
3550
  });
3553
3551
  Gu.displayName = "F0BigNumber";
3554
- var qu = yi(Gu, Ku), Ju = I(qu), Yu = [
3552
+ var qu = Si(Gu, Ku), Ju = I(qu), Yu = [
3555
3553
  "default",
3556
3554
  "outline",
3557
3555
  "neutral"
@@ -3559,20 +3557,20 @@ var qu = yi(Gu, Ku), Ju = I(qu), Yu = [
3559
3557
  className: "flex items-center gap-2",
3560
3558
  children: e.map((e, t) => {
3561
3559
  switch (e.type) {
3562
- case "segmentedControl": return /* @__PURE__ */ X(ri, {
3560
+ case "segmentedControl": return /* @__PURE__ */ X(ni, {
3563
3561
  items: e.items,
3564
3562
  value: e.value,
3565
3563
  onChange: e.onChange,
3566
3564
  disabled: e.disabled,
3567
3565
  ariaLabel: e.ariaLabel
3568
3566
  }, t);
3569
- case "dropdown": return /* @__PURE__ */ X(Hr, {
3567
+ case "dropdown": return /* @__PURE__ */ X(Lr, {
3570
3568
  items: e.items,
3571
3569
  disabled: e.disabled,
3572
3570
  children: /* @__PURE__ */ X(B, {
3573
3571
  variant: "outline",
3574
3572
  size: "sm",
3575
- icon: tc,
3573
+ icon: gc,
3576
3574
  label: e.ariaLabel,
3577
3575
  hideLabel: !0,
3578
3576
  disabled: e.disabled
@@ -3582,7 +3580,7 @@ var qu = yi(Gu, Ku), Ju = I(qu), Yu = [
3582
3580
  })
3583
3581
  }), td = ({ item: e, open: t, onOpenChange: n }) => {
3584
3582
  let r = tr(), i = L().t(t ? "actions.collapseItem" : "actions.expandItem", { title: e.title }), a = !!e.actions && e.actions.length > 0;
3585
- return /* @__PURE__ */ X(gi, {
3583
+ return /* @__PURE__ */ X(vi, {
3586
3584
  open: t,
3587
3585
  onOpenChange: n,
3588
3586
  asChild: !0,
@@ -3590,7 +3588,7 @@ var qu = yi(Gu, Ku), Ju = I(qu), Yu = [
3590
3588
  className: "flex flex-col",
3591
3589
  children: [/* @__PURE__ */ Z("div", {
3592
3590
  className: "flex items-center",
3593
- children: [/* @__PURE__ */ X(Fi, {
3591
+ children: [/* @__PURE__ */ X(Ri, {
3594
3592
  asChild: !0,
3595
3593
  children: /* @__PURE__ */ X("button", {
3596
3594
  type: "button",
@@ -3608,12 +3606,12 @@ var qu = yi(Gu, Ku), Ju = I(qu), Yu = [
3608
3606
  children: e.summary
3609
3607
  }) : null,
3610
3608
  a ? /* @__PURE__ */ X(ed, { actions: e.actions }) : null,
3611
- /* @__PURE__ */ X(Fi, {
3609
+ /* @__PURE__ */ X(Ri, {
3612
3610
  asChild: !0,
3613
3611
  children: /* @__PURE__ */ X(B, {
3614
3612
  variant: "outline",
3615
3613
  size: "sm",
3616
- icon: t ? ns : go,
3614
+ icon: t ? Lo : xo,
3617
3615
  label: i,
3618
3616
  hideLabel: !0
3619
3617
  })
@@ -3637,7 +3635,7 @@ var qu = yi(Gu, Ku), Ju = I(qu), Yu = [
3637
3635
  },
3638
3636
  transition: { duration: r ? 0 : .2 },
3639
3637
  className: "overflow-hidden",
3640
- children: /* @__PURE__ */ X(Hi, {
3638
+ children: /* @__PURE__ */ X(Ui, {
3641
3639
  forceMount: !0,
3642
3640
  asChild: !0,
3643
3641
  children: /* @__PURE__ */ Z("div", {
@@ -3661,7 +3659,7 @@ var qu = yi(Gu, Ku), Ju = I(qu), Yu = [
3661
3659
  children: [/* @__PURE__ */ X(R, { className: "h-4 flex-1 max-w-48" }), /* @__PURE__ */ X(R, { className: "ml-auto h-7 w-7 shrink-0 rounded" })]
3662
3660
  })] }, t))
3663
3661
  }), rd = Mc((e, t) => {
3664
- let { items: n, value: r, defaultValue: i, onValueChange: a, ...o } = e, s = K(() => i === void 0 ? n.filter((e) => e.defaultOpen).map((e) => e.id) : i, [i, n]), [c = [], l] = ic({
3662
+ let { items: n, value: r, defaultValue: i, onValueChange: a, ...o } = e, s = K(() => i === void 0 ? n.filter((e) => e.defaultOpen).map((e) => e.id) : i, [i, n]), [c = [], l] = $s({
3665
3663
  prop: r,
3666
3664
  defaultProp: s,
3667
3665
  onChange: a
@@ -3681,26 +3679,26 @@ var qu = yi(Gu, Ku), Ju = I(qu), Yu = [
3681
3679
  });
3682
3680
  });
3683
3681
  rd.displayName = "F0Accordion";
3684
- var id = I(yn("F0Accordion", yi(rd, nd))), ad = ({ count: e, list: t }) => {
3682
+ var id = I(yn("F0Accordion", Si(rd, nd))), ad = ({ count: e, list: t }) => {
3685
3683
  let [n, r] = J(!1), i = /* @__PURE__ */ X(Qs, { label: `+${e}` });
3686
- return t?.length ? /* @__PURE__ */ Z(hc, {
3684
+ return t?.length ? /* @__PURE__ */ Z(dc, {
3687
3685
  open: n,
3688
3686
  onOpenChange: r,
3689
- children: [/* @__PURE__ */ X(oc, {
3687
+ children: [/* @__PURE__ */ X(tc, {
3690
3688
  asChild: !0,
3691
3689
  children: /* @__PURE__ */ X("button", {
3692
3690
  className: kn("inline-flex flex-shrink-0 items-center"),
3693
3691
  children: i
3694
3692
  })
3695
- }), /* @__PURE__ */ X(fc, {
3693
+ }), /* @__PURE__ */ X(cc, {
3696
3694
  className: "rounded-md border border-solid border-f1-border-secondary p-1 shadow-md",
3697
3695
  align: "end",
3698
- children: /* @__PURE__ */ Z(bc, {
3696
+ children: /* @__PURE__ */ Z(xc, {
3699
3697
  className: "[*[data-state=visible]_div]:bg-f1-background flex max-h-[172px] flex-col",
3700
3698
  children: [t.map((e, t) => /* @__PURE__ */ X("div", {
3701
3699
  className: "flex w-[220px] min-w-0 items-center gap-1.5 px-2 py-1 [&:first-child]:pt-2 [&:last-child]:pb-2",
3702
3700
  children: /* @__PURE__ */ X(Qs, { ...e })
3703
- }, t)), /* @__PURE__ */ X(yc, {
3701
+ }, t)), /* @__PURE__ */ X(bc, {
3704
3702
  orientation: "vertical",
3705
3703
  className: "[&_div]:bg-f1-background"
3706
3704
  })]
@@ -3712,7 +3710,7 @@ ad.displayName = "ChipCounter";
3712
3710
  //#endregion
3713
3711
  //#region src/elements/F0ChipList/F0ChipList.tsx
3714
3712
  var od = ({ chips: e, max: t = 4, remainingCount: n, layout: r = "compact" }) => {
3715
- if (r === "fill") return /* @__PURE__ */ X(Co, {
3713
+ if (r === "fill") return /* @__PURE__ */ X(To, {
3716
3714
  items: e,
3717
3715
  renderListItem: (e) => /* @__PURE__ */ X(Qs, { ...e }),
3718
3716
  renderDropdownItem: () => null,
@@ -3747,9 +3745,9 @@ var sd = I(yn("F0ChipList", od)), cd = [
3747
3745
  "positive",
3748
3746
  "transparent"
3749
3747
  ], dd = {
3750
- get: async (e) => JSON.parse(localStorage.getItem(Tr(e)) ?? "{}"),
3748
+ get: async (e) => JSON.parse(localStorage.getItem(Sr(e)) ?? "{}"),
3751
3749
  set: async (e, t) => {
3752
- localStorage.setItem(Tr(e), JSON.stringify(t));
3750
+ localStorage.setItem(Sr(e), JSON.stringify(t));
3753
3751
  }
3754
3752
  }, fd = ({ disableClose: e = !1, onClose: t, isOpen: n, children: r, position: i = "right", size: a = "md", primaryAction: o, secondaryAction: c, title: l, description: u, module: d, otherActions: f, tabs: p, modal: m = !1, activeTabId: h, setActiveTabId: g, disableContentPadding: _, container: v, onWidthChange: y }) => {
3755
3753
  let [b, x] = J(n);
@@ -3815,7 +3813,7 @@ function gd({ filters: e, value: t, onChange: n, height: r, width: i = 600, clas
3815
3813
  let t = Object.keys(e);
3816
3814
  if (t.length > 0) {
3817
3815
  let n = t.find((t) => {
3818
- let n = p[t], r = ws(e[t].type);
3816
+ let n = p[t], r = Ss(e[t].type);
3819
3817
  return n !== void 0 && !r.isEmpty(n, {
3820
3818
  schema: e[t],
3821
3819
  i18n: l
@@ -3839,7 +3837,7 @@ function gd({ filters: e, value: t, onChange: n, height: r, width: i = 600, clas
3839
3837
  }, g = () => {
3840
3838
  n(p);
3841
3839
  }, _ = K(() => r || Object.entries(e).reduce((e, [t, n]) => {
3842
- let r = ws(n.type);
3840
+ let r = Ss(n.type);
3843
3841
  return Math.max(e, r?.formHeight || hd);
3844
3842
  }, 0), [e, r]);
3845
3843
  return !e || Object.keys(e).length === 0 ? null : /* @__PURE__ */ X(hn, {
@@ -3866,11 +3864,11 @@ var _d = gd;
3866
3864
  //#endregion
3867
3865
  //#region src/blocks/F0Form/describeFormSchema.ts
3868
3866
  function vd(e) {
3869
- let t = Li(e).shape, n = [];
3867
+ let t = zi(e).shape, n = [];
3870
3868
  for (let [e, r] of Object.entries(t)) {
3871
- let t = r, i = ea(t);
3869
+ let t = r, i = ta(t);
3872
3870
  if (!i) continue;
3873
- let a = vi(t, i), o = gt(t, a), s = {
3871
+ let a = xi(t, i), o = gt(t, a), s = {
3874
3872
  name: e,
3875
3873
  type: a,
3876
3874
  label: i.label,
@@ -3942,9 +3940,9 @@ function bd(e) {
3942
3940
  let r = {
3943
3941
  ...n,
3944
3942
  ...e
3945
- }, i = Li(t), a = [];
3943
+ }, i = zi(t), a = [];
3946
3944
  for (let [e, t] of Object.entries(i.shape)) {
3947
- let n = ea(t);
3945
+ let n = ta(t);
3948
3946
  n?.renderIf ? se(n.renderIf, r) && a.push(e) : a.push(e);
3949
3947
  }
3950
3948
  return a;
@@ -3988,12 +3986,12 @@ var Sd = ({ isOpen: e = !1, onClose: t = () => {}, type: n, title: r, descriptio
3988
3986
  modal: !0,
3989
3987
  children: /* @__PURE__ */ Z("div", {
3990
3988
  className: "flex flex-col gap-4 py-2",
3991
- children: [/* @__PURE__ */ X(ni, {
3989
+ children: [/* @__PURE__ */ X(ti, {
3992
3990
  type: n,
3993
3991
  size: "lg"
3994
3992
  }), /* @__PURE__ */ Z("div", {
3995
3993
  className: "flex flex-col gap-0.5",
3996
- children: [/* @__PURE__ */ X(Vr, {
3994
+ children: [/* @__PURE__ */ X(Ir, {
3997
3995
  className: "text-xl sm:text-lg",
3998
3996
  children: r
3999
3997
  }), /* @__PURE__ */ X(Ft, {
@@ -4053,8 +4051,8 @@ var Sd = ({ isOpen: e = !1, onClose: t = () => {}, type: n, title: r, descriptio
4053
4051
  return r.map((t) => ({
4054
4052
  ...t,
4055
4053
  actions: {
4056
- primary: ts(t.actions.primary).map((n, r) => e(t, n, "primary", r)),
4057
- secondary: ts(t.actions.secondary).map((n, r) => e(t, n, "secondary", r))
4054
+ primary: rs(t.actions.primary).map((n, r) => e(t, n, "primary", r)),
4055
+ secondary: rs(t.actions.secondary).map((n, r) => e(t, n, "secondary", r))
4058
4056
  }
4059
4057
  }));
4060
4058
  }, [r]), d = K(() => {
@@ -4234,7 +4232,7 @@ function jd({ field: e, value: t, onChange: n, onBlur: r, error: a, errorMessage
4234
4232
  className: "text-base text-f1-foreground-secondary",
4235
4233
  children: e.helpText
4236
4234
  }) : null,
4237
- /* @__PURE__ */ X(Po, { status: y })
4235
+ /* @__PURE__ */ X(Io, { status: y })
4238
4236
  ]
4239
4237
  }) });
4240
4238
  }
@@ -4269,7 +4267,7 @@ function Id(e, t, n) {
4269
4267
  function Ld({ state: e, index: t }) {
4270
4268
  return e === "completed" ? /* @__PURE__ */ X("span", {
4271
4269
  className: "flex h-5 w-5 min-w-5 shrink-0 items-center justify-center rounded-xs bg-f1-background-secondary text-f1-foreground-secondary",
4272
- children: /* @__PURE__ */ X($s, { className: "h-3 w-3" })
4270
+ children: /* @__PURE__ */ X(ic, { className: "h-3 w-3" })
4273
4271
  }) : /* @__PURE__ */ X(Kn, {
4274
4272
  value: t + 1,
4275
4273
  type: e === "active" ? "selected" : "default",
@@ -4391,7 +4389,7 @@ var Bd = () => {}, Vd = ({ steps: e, children: t, isOpen: n, onClose: r = Bd, ti
4391
4389
  _
4392
4390
  ]), w = K(() => v ? void 0 : {
4393
4391
  label: x,
4394
- icon: os,
4392
+ icon: Vo,
4395
4393
  onClick: h.goPrevious,
4396
4394
  disabled: h.loading
4397
4395
  }, [
@@ -4437,14 +4435,14 @@ Vd.displayName = "F0Wizard", I(Vd);
4437
4435
  //#endregion
4438
4436
  //#region src/blocks/F0WizardForm/F0WizardForm.tsx
4439
4437
  function Hd(e) {
4440
- let t = Li(e).shape, n = Object.entries(t);
4441
- return n.length !== 0 && n.every(([, e]) => ea(e)?.disabled === !0);
4438
+ let t = zi(e).shape, n = Object.entries(t);
4439
+ return n.length !== 0 && n.every(([, e]) => ta(e)?.disabled === !0);
4442
4440
  }
4443
4441
  function Ud(e, t) {
4444
4442
  if (t) return Object.keys(t);
4445
- let n = Li(e).shape, r = /* @__PURE__ */ new Set();
4443
+ let n = zi(e).shape, r = /* @__PURE__ */ new Set();
4446
4444
  for (let e of Object.values(n)) {
4447
- let t = ea(e);
4445
+ let t = ta(e);
4448
4446
  t?.section && r.add(t.section);
4449
4447
  }
4450
4448
  return Array.from(r);
@@ -4452,15 +4450,15 @@ function Ud(e, t) {
4452
4450
  function Wd(e, t) {
4453
4451
  let n = e.shape, r = {};
4454
4452
  for (let [e, i] of Object.entries(n)) {
4455
- let n = ea(i);
4453
+ let n = ta(i);
4456
4454
  n?.section && t.includes(n.section) && (r[e] = i);
4457
4455
  }
4458
- return Ji(r);
4456
+ return Yi(r);
4459
4457
  }
4460
4458
  function Gd(e, t, n) {
4461
4459
  let r = t ?? {};
4462
4460
  if (n) return n({ data: r });
4463
- let i = Li(e).shape;
4461
+ let i = zi(e).shape;
4464
4462
  return Object.entries(i).every(([e, t]) => {
4465
4463
  if (t.isOptional()) return !0;
4466
4464
  let n = r[e];
@@ -4686,7 +4684,7 @@ function Zd({ sectionId: e, formName: t, schema: n, sectionConfig: r, defaultVal
4686
4684
  });
4687
4685
  }
4688
4686
  function Qd({ formDefinition: e, steps: t, isOpen: n, onClose: r, title: i, width: a, size: o, defaultStepIndex: s, nextLabel: c, previousLabel: l, onStepChanged: u, allowStepSkipping: d, autoCloseOnLastStepSubmit: f, linkAfterLastStepSubmit: p, autoSkipCompletedSteps: m = !1, renderCustomField: h }) {
4689
- let { name: g, schema: _, sections: v, defaultValues: y, onSubmit: b, submitConfig: x, errorTriggerMode: S = "on-blur" } = e, C = x?.label, w = K(() => Li(_), [_]), T = K(() => Ud(_, v), [_, v]), E = W((e) => Hd(Wd(w, e)), [w]), D = be(), O = q(y ? { ...y } : {}), k = q(s ?? 0), A = W((e) => async () => {
4687
+ let { name: g, schema: _, sections: v, defaultValues: y, onSubmit: b, submitConfig: x, errorTriggerMode: S = "on-blur" } = e, C = x?.label, w = K(() => zi(_), [_]), T = K(() => Ud(_, v), [_, v]), E = W((e) => Hd(Wd(w, e)), [w]), D = be(), O = q(y ? { ...y } : {}), k = q(s ?? 0), A = W((e) => async () => {
4690
4688
  await D.submit();
4691
4689
  }, [D]), j = W((e) => D.hasErrors, [D.hasErrors]), M = t ?? e.steps, ee = K(() => M ?? T.map((e) => ({
4692
4690
  title: v?.[e]?.title ?? e,
@@ -4944,7 +4942,7 @@ var sf = { open: of }, cf = [
4944
4942
  G(() => {
4945
4943
  process.env.NODE_ENV !== "production" && !T && console.warn("F0Slider: provide a non-empty `label` or `ariaLabel` for accessibility.");
4946
4944
  }, [T]);
4947
- let [E, D] = ic({
4945
+ let [E, D] = $s({
4948
4946
  prop: u,
4949
4947
  defaultProp: d ?? m,
4950
4948
  onChange: f
@@ -4969,14 +4967,14 @@ var sf = { open: of }, cf = [
4969
4967
  F.current = !1;
4970
4968
  },
4971
4969
  children: [
4972
- oe ? /* @__PURE__ */ X($o, {
4970
+ oe ? /* @__PURE__ */ X(ts, {
4973
4971
  label: n,
4974
4972
  required: s,
4975
4973
  htmlFor: S,
4976
4974
  id: C,
4977
4975
  disabled: c
4978
4976
  }) : null,
4979
- /* @__PURE__ */ Z(ta, {
4977
+ /* @__PURE__ */ Z(na, {
4980
4978
  value: [O],
4981
4979
  onValueChange: j,
4982
4980
  onValueCommit: M,
@@ -4991,7 +4989,7 @@ var sf = { open: of }, cf = [
4991
4989
  onMouseEnter: () => N(!0),
4992
4990
  onMouseLeave: () => N(!1),
4993
4991
  children: [
4994
- /* @__PURE__ */ X(ca, {
4992
+ /* @__PURE__ */ X(oa, {
4995
4993
  className: pf({ status: ae }),
4996
4994
  children: /* @__PURE__ */ X(ua, { className: mf({
4997
4995
  status: ae,
@@ -5031,13 +5029,13 @@ var sf = { open: of }, cf = [
5031
5029
  id: w,
5032
5030
  role: "status",
5033
5031
  "aria-live": "polite",
5034
- children: /* @__PURE__ */ X(Po, { status: se })
5032
+ children: /* @__PURE__ */ X(Io, { status: se })
5035
5033
  })
5036
5034
  ]
5037
5035
  });
5038
5036
  });
5039
5037
  _f.displayName = "F0Slider";
5040
- var vf = yn("F0Slider", yi(I(_f), ff)), yf = [
5038
+ var vf = yn("F0Slider", Si(I(_f), ff)), yf = [
5041
5039
  "completed",
5042
5040
  "in-progress",
5043
5041
  "not-started",
@@ -5187,12 +5185,12 @@ function Nf({ title: e, items: t, className: n, activeItem: r, collapsible: i =
5187
5185
  });
5188
5186
  }));
5189
5187
  }, []);
5190
- return /* @__PURE__ */ Z(Ss, {
5188
+ return /* @__PURE__ */ Z(bs, {
5191
5189
  open: f,
5192
5190
  onOpenChange: _,
5193
5191
  openDelay: jf,
5194
5192
  closeDelay: Af,
5195
- children: [/* @__PURE__ */ X(rs, {
5193
+ children: [/* @__PURE__ */ X(as, {
5196
5194
  asChild: !0,
5197
5195
  children: /* @__PURE__ */ X("button", {
5198
5196
  className: z(kn(), "flex cursor-pointer items-center rounded-md px-1.5 py-1", n),
@@ -5204,7 +5202,7 @@ function Nf({ title: e, items: t, className: n, activeItem: r, collapsible: i =
5204
5202
  variant: u
5205
5203
  })
5206
5204
  })
5207
- }), /* @__PURE__ */ X(Js, {
5205
+ }), /* @__PURE__ */ X(Ys, {
5208
5206
  ref: v,
5209
5207
  side: c === "left" ? "right" : "left",
5210
5208
  align: "center",
@@ -5318,7 +5316,7 @@ function zf(e) {
5318
5316
  }
5319
5317
  //#endregion
5320
5318
  //#region src/domains/talent/surveys/surveys/SurveyFormBuilder/ApplyingChangesTag/ApplyingChangesTag.tsx
5321
- var Bf = ar.create(Qr), Vf = Pc(() => {
5319
+ var Bf = ar.create(Zr), Vf = Pc(() => {
5322
5320
  let e = L();
5323
5321
  return /* @__PURE__ */ Z("div", {
5324
5322
  className: "flex flex-row items-center gap-1 rounded-full border border-solid border-f1-border-secondary bg-f1-background px-2 py-1.5 pr-2.5 shadow-md",
@@ -5674,74 +5672,74 @@ var np = () => {
5674
5672
  let { isQuestionTypeAllowed: e, datasets: t } = Qf(), { t: n } = L(), r = [
5675
5673
  {
5676
5674
  label: n("surveyFormBuilder.questionTypes.rating"),
5677
- icon: Pr,
5675
+ icon: Gr,
5678
5676
  questionType: "rating"
5679
5677
  },
5680
5678
  {
5681
5679
  label: n("surveyFormBuilder.questionTypes.multipleChoice"),
5682
- icon: vr,
5680
+ icon: ui,
5683
5681
  questionType: "multi-select"
5684
5682
  },
5685
5683
  {
5686
5684
  label: n("surveyFormBuilder.questionTypes.singleChoice"),
5687
- icon: $s,
5685
+ icon: ic,
5688
5686
  questionType: "select"
5689
5687
  },
5690
5688
  {
5691
5689
  label: n("surveyFormBuilder.questionTypes.text"),
5692
- icon: gr,
5690
+ icon: kr,
5693
5691
  questionType: "text"
5694
5692
  },
5695
5693
  {
5696
5694
  label: n("surveyFormBuilder.questionTypes.longText"),
5697
- icon: Br,
5695
+ icon: Ni,
5698
5696
  questionType: "longText"
5699
5697
  },
5700
5698
  {
5701
5699
  label: n("surveyFormBuilder.questionTypes.numeric"),
5702
- icon: na,
5700
+ icon: Di,
5703
5701
  questionType: "numeric"
5704
5702
  },
5705
5703
  {
5706
5704
  label: n("surveyFormBuilder.questionTypes.link"),
5707
- icon: Cr,
5705
+ icon: Ar,
5708
5706
  questionType: "link"
5709
5707
  },
5710
5708
  {
5711
5709
  label: n("surveyFormBuilder.questionTypes.date"),
5712
- icon: ji,
5710
+ icon: Pr,
5713
5711
  questionType: "date"
5714
5712
  },
5715
5713
  {
5716
5714
  label: n("surveyFormBuilder.questionTypes.file"),
5717
- icon: Rr,
5715
+ icon: fr,
5718
5716
  questionType: "file"
5719
5717
  },
5720
5718
  {
5721
5719
  label: n("surveyFormBuilder.questionTypes.checkbox"),
5722
- icon: ec,
5720
+ icon: hc,
5723
5721
  questionType: "checkbox"
5724
5722
  }
5725
5723
  ].filter((t) => e(t.questionType)), i = e("dropdown-single") ? Object.entries(t ?? {}).map(([e, t]) => ({
5726
5724
  label: t.title,
5727
- icon: t.icon ?? go,
5725
+ icon: t.icon ?? xo,
5728
5726
  questionType: "dropdown-single",
5729
5727
  datasetKey: e
5730
5728
  })) : [];
5731
5729
  return [...r, ...i];
5732
5730
  }, rp = {
5733
- rating: Pr,
5734
- "multi-select": vr,
5735
- select: $s,
5736
- text: gr,
5737
- longText: Br,
5738
- numeric: na,
5739
- link: Cr,
5740
- date: ji,
5741
- "dropdown-single": go,
5742
- "dropdown-multi": go,
5743
- file: Rr,
5744
- checkbox: ec
5731
+ rating: Gr,
5732
+ "multi-select": ui,
5733
+ select: ic,
5734
+ text: kr,
5735
+ longText: Ni,
5736
+ numeric: Di,
5737
+ link: Ar,
5738
+ date: Pr,
5739
+ "dropdown-single": xo,
5740
+ "dropdown-multi": xo,
5741
+ file: fr,
5742
+ checkbox: hc
5745
5743
  }, ip = () => {
5746
5744
  let { disabled: e, answering: t, onAddNewElement: n, isQuestionTypeAllowed: r, labels: i } = Qf(), [a, o] = J(!1), s = np(), { t: c } = L(), l = i?.addQuestion ?? c("surveyFormBuilder.actions.addQuestion"), u = (e, t) => {
5747
5745
  n?.({
@@ -5753,28 +5751,28 @@ var np = () => {
5753
5751
  }, f = s.filter((e) => !e.datasetKey), p = Array.from(new Set(s.filter((e) => !!e.datasetKey).map((e) => e.datasetKey)));
5754
5752
  return e || t ? null : /* @__PURE__ */ X("div", {
5755
5753
  className: "ml-6 flex justify-center",
5756
- children: /* @__PURE__ */ Z(cc, {
5754
+ children: /* @__PURE__ */ Z(rc, {
5757
5755
  open: a,
5758
5756
  onOpenChange: o,
5759
- children: [/* @__PURE__ */ X(gc, {
5757
+ children: [/* @__PURE__ */ X(fc, {
5760
5758
  asChild: !0,
5761
5759
  children: /* @__PURE__ */ X(B, {
5762
- icon: vo,
5760
+ icon: yo,
5763
5761
  label: l,
5764
5762
  size: "md",
5765
5763
  variant: "outline",
5766
5764
  hideLabel: !0
5767
5765
  })
5768
- }), /* @__PURE__ */ Z(lc, {
5766
+ }), /* @__PURE__ */ Z(ac, {
5769
5767
  align: "center",
5770
5768
  className: "w-80",
5771
5769
  children: [
5772
- /* @__PURE__ */ X(pc, {
5770
+ /* @__PURE__ */ X(lc, {
5773
5771
  onClick: d,
5774
5772
  children: /* @__PURE__ */ Z("div", {
5775
5773
  className: "flex w-full flex-row items-center gap-2",
5776
5774
  children: [/* @__PURE__ */ X(V, {
5777
- icon: Wi,
5775
+ icon: Xr,
5778
5776
  color: "default"
5779
5777
  }), /* @__PURE__ */ X("span", {
5780
5778
  className: "flex-1 text-base font-medium",
@@ -5782,8 +5780,8 @@ var np = () => {
5782
5780
  })]
5783
5781
  })
5784
5782
  }),
5785
- /* @__PURE__ */ X(vc, {}),
5786
- f.map((e) => /* @__PURE__ */ X(pc, {
5783
+ /* @__PURE__ */ X(mc, {}),
5784
+ f.map((e) => /* @__PURE__ */ X(lc, {
5787
5785
  onClick: () => u(e.questionType),
5788
5786
  children: /* @__PURE__ */ Z("div", {
5789
5787
  className: "flex w-full flex-row items-center gap-2",
@@ -5796,9 +5794,9 @@ var np = () => {
5796
5794
  })]
5797
5795
  })
5798
5796
  }, e.questionType)),
5799
- p.length > 0 ? /* @__PURE__ */ Z(Y, { children: [/* @__PURE__ */ X(vc, {}), p.map((e) => {
5797
+ p.length > 0 ? /* @__PURE__ */ Z(Y, { children: [/* @__PURE__ */ X(mc, {}), p.map((e) => {
5800
5798
  let t = s.find((t) => t.datasetKey === e && t.questionType === "dropdown-single");
5801
- return /* @__PURE__ */ Z(sc, { children: [/* @__PURE__ */ X(ac, {
5799
+ return /* @__PURE__ */ Z(nc, { children: [/* @__PURE__ */ X(ec, {
5802
5800
  className: "mx-1 px-2 data-[state=open]:rounded-sm data-[state=closed]:bg-transparent data-[state=open]:bg-f1-background-hover",
5803
5801
  children: /* @__PURE__ */ Z("div", {
5804
5802
  className: "flex w-full flex-row items-center gap-2",
@@ -5810,24 +5808,24 @@ var np = () => {
5810
5808
  children: t?.label ?? e
5811
5809
  })]
5812
5810
  })
5813
- }), /* @__PURE__ */ X(uc, { children: /* @__PURE__ */ Z(_c, { children: [r("dropdown-single") ? /* @__PURE__ */ X(pc, {
5811
+ }), /* @__PURE__ */ X(oc, { children: /* @__PURE__ */ Z(pc, { children: [r("dropdown-single") ? /* @__PURE__ */ X(lc, {
5814
5812
  onClick: () => u("dropdown-single", e),
5815
5813
  children: /* @__PURE__ */ Z("div", {
5816
5814
  className: "flex w-full flex-row items-center gap-2",
5817
5815
  children: [/* @__PURE__ */ X(V, {
5818
- icon: $s,
5816
+ icon: ic,
5819
5817
  color: "default"
5820
5818
  }), /* @__PURE__ */ X("span", {
5821
5819
  className: "flex-1",
5822
5820
  children: c("surveyFormBuilder.labels.singleSelection")
5823
5821
  })]
5824
5822
  })
5825
- }) : null, r("dropdown-multi") ? /* @__PURE__ */ X(pc, {
5823
+ }) : null, r("dropdown-multi") ? /* @__PURE__ */ X(lc, {
5826
5824
  onClick: () => u("dropdown-multi", e),
5827
5825
  children: /* @__PURE__ */ Z("div", {
5828
5826
  className: "flex w-full flex-row items-center gap-2",
5829
5827
  children: [/* @__PURE__ */ X(V, {
5830
- icon: vr,
5828
+ icon: ui,
5831
5829
  color: "default"
5832
5830
  }), /* @__PURE__ */ X("span", {
5833
5831
  className: "flex-1",
@@ -5975,7 +5973,7 @@ function up({ questionId: e, questionType: t, canDelete: n = !0 }) {
5975
5973
  }
5976
5974
  //#endregion
5977
5975
  //#region src/domains/talent/surveys/surveys/SurveyFormBuilder/QuestionTypes/BaseQuestion/ActionsMenu/ActionsMenu.tsx
5978
- var dp = ({ label: e, icon: t, checked: n, onChange: r }) => /* @__PURE__ */ X(pc, {
5976
+ var dp = ({ label: e, icon: t, checked: n, onChange: r }) => /* @__PURE__ */ X(lc, {
5979
5977
  className: "!pb-2.5 pr-4",
5980
5978
  onClick: (e) => {
5981
5979
  e.preventDefault(), r(!n);
@@ -6001,13 +5999,13 @@ var dp = ({ label: e, icon: t, checked: n, onChange: r }) => /* @__PURE__ */ X(p
6001
5999
  })
6002
6000
  }), fp = ({ label: e, value: t, currentDatasetKey: n, questionTypes: r, currentRatingType: i, isQuestionTypeAllowed: a, onSelectQuestionType: o, onSelectRatingType: s }) => {
6003
6001
  let { t: c } = L(), l = r.filter((e) => !e.datasetKey), u = Array.from(new Set(r.filter((e) => !!e.datasetKey).map((e) => e.datasetKey))), d = n ? r.find((e) => e.questionType === t && e.datasetKey === n)?.label ?? void 0 : r.find((e) => e.questionType === t && !e.datasetKey)?.label ?? void 0;
6004
- return /* @__PURE__ */ Z(sc, { children: [/* @__PURE__ */ X(ac, {
6002
+ return /* @__PURE__ */ Z(nc, { children: [/* @__PURE__ */ X(ec, {
6005
6003
  className: "mx-1 px-2 data-[state=open]:rounded-sm data-[state=closed]:bg-transparent data-[state=open]:bg-f1-background-hover",
6006
6004
  children: /* @__PURE__ */ Z("div", {
6007
6005
  className: "flex w-full flex-row items-center gap-2",
6008
6006
  children: [
6009
6007
  /* @__PURE__ */ X(so, {
6010
- icon: Jr,
6008
+ icon: Rr,
6011
6009
  color: "default"
6012
6010
  }),
6013
6011
  /* @__PURE__ */ X("span", {
@@ -6020,9 +6018,9 @@ var dp = ({ label: e, icon: t, checked: n, onChange: r }) => /* @__PURE__ */ X(p
6020
6018
  }) : null
6021
6019
  ]
6022
6020
  })
6023
- }), /* @__PURE__ */ X(uc, { children: /* @__PURE__ */ Z(_c, { children: [l.map((e) => {
6021
+ }), /* @__PURE__ */ X(oc, { children: /* @__PURE__ */ Z(pc, { children: [l.map((e) => {
6024
6022
  let r = e.questionType === "rating", a = t === e.questionType && !n;
6025
- return r ? /* @__PURE__ */ Z(sc, { children: [/* @__PURE__ */ X(ac, {
6023
+ return r ? /* @__PURE__ */ Z(nc, { children: [/* @__PURE__ */ X(ec, {
6026
6024
  className: "mx-1 mt-1 px-2 data-[state=open]:rounded-sm data-[state=closed]:bg-transparent data-[state=open]:bg-f1-background-hover",
6027
6025
  children: /* @__PURE__ */ Z("div", {
6028
6026
  className: "flex w-full flex-row items-center gap-2 text-base font-medium",
@@ -6041,7 +6039,7 @@ var dp = ({ label: e, icon: t, checked: n, onChange: r }) => /* @__PURE__ */ X(p
6041
6039
  }) : null
6042
6040
  ]
6043
6041
  })
6044
- }), /* @__PURE__ */ X(uc, { children: /* @__PURE__ */ X(_c, { children: op.map((e) => /* @__PURE__ */ X(pc, {
6042
+ }), /* @__PURE__ */ X(oc, { children: /* @__PURE__ */ X(pc, { children: op.map((e) => /* @__PURE__ */ X(lc, {
6045
6043
  onClick: () => s(e.value),
6046
6044
  children: /* @__PURE__ */ Z("div", {
6047
6045
  className: "flex w-full flex-row items-center gap-2 pl-2",
@@ -6049,11 +6047,11 @@ var dp = ({ label: e, icon: t, checked: n, onChange: r }) => /* @__PURE__ */ X(p
6049
6047
  className: "flex-1",
6050
6048
  children: e.label
6051
6049
  }), i === e.value ? /* @__PURE__ */ X(so, {
6052
- icon: $s,
6050
+ icon: ic,
6053
6051
  color: "default"
6054
6052
  }) : null]
6055
6053
  })
6056
- }, e.value)) }) })] }, e.questionType) : /* @__PURE__ */ X(pc, {
6054
+ }, e.value)) }) })] }, e.questionType) : /* @__PURE__ */ X(lc, {
6057
6055
  onClick: () => o(e.questionType),
6058
6056
  children: /* @__PURE__ */ Z("div", {
6059
6057
  className: "flex w-full flex-row items-center gap-2",
@@ -6067,15 +6065,15 @@ var dp = ({ label: e, icon: t, checked: n, onChange: r }) => /* @__PURE__ */ X(p
6067
6065
  children: e.label
6068
6066
  }),
6069
6067
  a ? /* @__PURE__ */ X(so, {
6070
- icon: $s,
6068
+ icon: ic,
6071
6069
  color: "default"
6072
6070
  }) : null
6073
6071
  ]
6074
6072
  })
6075
6073
  }, e.questionType);
6076
- }), u.length > 0 ? /* @__PURE__ */ Z(Y, { children: [/* @__PURE__ */ X(vc, {}), u.map((e) => {
6074
+ }), u.length > 0 ? /* @__PURE__ */ Z(Y, { children: [/* @__PURE__ */ X(mc, {}), u.map((e) => {
6077
6075
  let i = r.find((t) => t.datasetKey === e && t.questionType === "dropdown-single");
6078
- return /* @__PURE__ */ Z(sc, { children: [/* @__PURE__ */ X(ac, {
6076
+ return /* @__PURE__ */ Z(nc, { children: [/* @__PURE__ */ X(ec, {
6079
6077
  className: "mx-1 px-2 data-[state=open]:rounded-sm data-[state=closed]:bg-transparent data-[state=open]:bg-f1-background-hover",
6080
6078
  children: /* @__PURE__ */ Z("div", {
6081
6079
  className: "flex w-full flex-row items-center gap-2",
@@ -6089,18 +6087,18 @@ var dp = ({ label: e, icon: t, checked: n, onChange: r }) => /* @__PURE__ */ X(p
6089
6087
  children: i?.label ?? e
6090
6088
  }),
6091
6089
  n === e ? /* @__PURE__ */ X(so, {
6092
- icon: $s,
6090
+ icon: ic,
6093
6091
  color: "default"
6094
6092
  }) : null
6095
6093
  ]
6096
6094
  })
6097
- }), /* @__PURE__ */ X(uc, { children: /* @__PURE__ */ Z(_c, { children: [a("dropdown-single") ? /* @__PURE__ */ X(pc, {
6095
+ }), /* @__PURE__ */ X(oc, { children: /* @__PURE__ */ Z(pc, { children: [a("dropdown-single") ? /* @__PURE__ */ X(lc, {
6098
6096
  onClick: () => o("dropdown-single", e),
6099
6097
  children: /* @__PURE__ */ Z("div", {
6100
6098
  className: "flex w-full flex-row items-center gap-2",
6101
6099
  children: [
6102
6100
  /* @__PURE__ */ X(so, {
6103
- icon: $s,
6101
+ icon: ic,
6104
6102
  color: "default"
6105
6103
  }),
6106
6104
  /* @__PURE__ */ X("span", {
@@ -6108,18 +6106,18 @@ var dp = ({ label: e, icon: t, checked: n, onChange: r }) => /* @__PURE__ */ X(p
6108
6106
  children: c("surveyFormBuilder.labels.singleSelection")
6109
6107
  }),
6110
6108
  n === e && t === "dropdown-single" ? /* @__PURE__ */ X(so, {
6111
- icon: $s,
6109
+ icon: ic,
6112
6110
  color: "default"
6113
6111
  }) : null
6114
6112
  ]
6115
6113
  })
6116
- }) : null, a("dropdown-multi") ? /* @__PURE__ */ X(pc, {
6114
+ }) : null, a("dropdown-multi") ? /* @__PURE__ */ X(lc, {
6117
6115
  onClick: () => o("dropdown-multi", e),
6118
6116
  children: /* @__PURE__ */ Z("div", {
6119
6117
  className: "flex w-full flex-row items-center gap-2",
6120
6118
  children: [
6121
6119
  /* @__PURE__ */ X(so, {
6122
- icon: vr,
6120
+ icon: ui,
6123
6121
  color: "default"
6124
6122
  }),
6125
6123
  /* @__PURE__ */ X("span", {
@@ -6127,14 +6125,14 @@ var dp = ({ label: e, icon: t, checked: n, onChange: r }) => /* @__PURE__ */ X(p
6127
6125
  children: c("surveyFormBuilder.labels.multiSelection")
6128
6126
  }),
6129
6127
  n === e && t === "dropdown-multi" ? /* @__PURE__ */ X(so, {
6130
- icon: $s,
6128
+ icon: ic,
6131
6129
  color: "default"
6132
6130
  }) : null
6133
6131
  ]
6134
6132
  })
6135
6133
  }) : null] }) })] }, e);
6136
6134
  })] }) : null] }) })] });
6137
- }, pp = ({ label: e, icon: t, onClick: n, critical: r }) => /* @__PURE__ */ X(pc, {
6135
+ }, pp = ({ label: e, icon: t, onClick: n, critical: r }) => /* @__PURE__ */ X(lc, {
6138
6136
  onClick: n,
6139
6137
  className: z(r ? "text-f1-foreground-critical" : void 0),
6140
6138
  children: /* @__PURE__ */ Z("div", {
@@ -6146,13 +6144,13 @@ var dp = ({ label: e, icon: t, checked: n, onChange: r }) => /* @__PURE__ */ X(p
6146
6144
  })
6147
6145
  }), mp = ({ showDuplicate: e, showDelete: t, withSeparator: n, onDuplicate: r, onDelete: i }) => {
6148
6146
  let { t: a } = L(), { labels: o } = Qf();
6149
- return !e && !t ? null : /* @__PURE__ */ Z(Y, { children: [n ? /* @__PURE__ */ X(vc, {}) : null, /* @__PURE__ */ Z(mc, { children: [e ? /* @__PURE__ */ X(pp, {
6147
+ return !e && !t ? null : /* @__PURE__ */ Z(Y, { children: [n ? /* @__PURE__ */ X(mc, {}) : null, /* @__PURE__ */ Z(uc, { children: [e ? /* @__PURE__ */ X(pp, {
6150
6148
  label: o?.duplicateQuestion ?? a("surveyFormBuilder.actions.duplicateQuestion"),
6151
- icon: Or,
6149
+ icon: Mr,
6152
6150
  onClick: r
6153
6151
  }) : null, t ? /* @__PURE__ */ X(pp, {
6154
6152
  label: o?.deleteQuestion ?? a("surveyFormBuilder.actions.deleteQuestion"),
6155
- icon: Ii,
6153
+ icon: mi,
6156
6154
  onClick: i,
6157
6155
  critical: !0
6158
6156
  }) : null] })] });
@@ -6163,47 +6161,47 @@ function hp({ open: e, setOpen: t, questionId: n, questionType: r, canDeleteQues
6163
6161
  questionType: r,
6164
6162
  canDelete: i
6165
6163
  }), w = (e) => a?.includes(e) ?? !1, T = !g && !w("required"), E = !!f && !w("multiSelect"), D = !!f && h && r === "dropdown-single" && !w("allowCreate"), O = !w("questionType"), k = !w("duplicate"), A = i && !w("delete");
6166
- return !T && !E && !D && !O && !k && !A ? null : /* @__PURE__ */ Z(cc, {
6164
+ return !T && !E && !D && !O && !k && !A ? null : /* @__PURE__ */ Z(rc, {
6167
6165
  open: e,
6168
6166
  onOpenChange: t,
6169
- children: [/* @__PURE__ */ X(gc, {
6167
+ children: [/* @__PURE__ */ X(fc, {
6170
6168
  tabIndex: -1,
6171
6169
  asChild: !0,
6172
6170
  children: /* @__PURE__ */ X(B, {
6173
- icon: tc,
6171
+ icon: gc,
6174
6172
  label: o("surveyFormBuilder.labels.actions"),
6175
6173
  size: "md",
6176
6174
  variant: "ghost",
6177
6175
  tooltip: !1,
6178
6176
  hideLabel: !0
6179
6177
  })
6180
- }), /* @__PURE__ */ Z(lc, {
6178
+ }), /* @__PURE__ */ Z(ac, {
6181
6179
  className: "w-80",
6182
6180
  align: "start",
6183
6181
  children: [
6184
- /* @__PURE__ */ X(dc, {
6182
+ /* @__PURE__ */ X(sc, {
6185
6183
  className: "p-4 pb-2 font-medium text-f1-foreground-secondary",
6186
6184
  children: c?.questionOptions ?? o("surveyFormBuilder.labels.questionOptions")
6187
6185
  }),
6188
- T ? /* @__PURE__ */ X(mc, { children: /* @__PURE__ */ X(dp, {
6186
+ T ? /* @__PURE__ */ X(uc, { children: /* @__PURE__ */ X(dp, {
6189
6187
  label: o("surveyFormBuilder.labels.required"),
6190
- icon: Zr,
6188
+ icon: Jr,
6191
6189
  checked: !!l?.required,
6192
6190
  onChange: _
6193
6191
  }) }) : null,
6194
- E ? /* @__PURE__ */ X(mc, { children: /* @__PURE__ */ X(dp, {
6192
+ E ? /* @__PURE__ */ X(uc, { children: /* @__PURE__ */ X(dp, {
6195
6193
  label: o("surveyFormBuilder.labels.allowMultiSelection"),
6196
- icon: vr,
6194
+ icon: ui,
6197
6195
  checked: p,
6198
6196
  onChange: b
6199
6197
  }) }) : null,
6200
- D ? /* @__PURE__ */ X(mc, { children: /* @__PURE__ */ X(dp, {
6198
+ D ? /* @__PURE__ */ X(uc, { children: /* @__PURE__ */ X(dp, {
6201
6199
  label: o("surveyFormBuilder.labels.allowCreate"),
6202
- icon: is,
6200
+ icon: Ks,
6203
6201
  checked: m,
6204
6202
  onChange: x
6205
6203
  }) }) : null,
6206
- O ? /* @__PURE__ */ X(mc, { children: /* @__PURE__ */ X(fp, {
6204
+ O ? /* @__PURE__ */ X(uc, { children: /* @__PURE__ */ X(fp, {
6207
6205
  label: c?.questionType ?? o("surveyFormBuilder.labels.questionType"),
6208
6206
  value: r,
6209
6207
  currentDatasetKey: f,
@@ -6336,7 +6334,7 @@ var Tp = ({ notice: e, className: t, children: n }) => {
6336
6334
  children: /* @__PURE__ */ X("span", {
6337
6335
  className: "inline-flex",
6338
6336
  children: /* @__PURE__ */ X(B, {
6339
- icon: nc,
6337
+ icon: vc,
6340
6338
  label: A("surveyFormBuilder.labels.locked"),
6341
6339
  size: "md",
6342
6340
  variant: "ghost",
@@ -6347,7 +6345,7 @@ var Tp = ({ notice: e, className: t, children: n }) => {
6347
6345
  })
6348
6346
  })
6349
6347
  }) : /* @__PURE__ */ X(B, {
6350
- icon: nc,
6348
+ icon: vc,
6351
6349
  label: A("surveyFormBuilder.labels.locked"),
6352
6350
  size: "md",
6353
6351
  variant: "ghost",
@@ -6393,36 +6391,36 @@ var Tp = ({ notice: e, className: t, children: n }) => {
6393
6391
  }) : null,
6394
6392
  !f && !p && !b ? /* @__PURE__ */ X("div", {
6395
6393
  className: z("absolute bottom-0 left-1/2 translate-x-[-50%] translate-y-[50%] bg-f1-background opacity-0 group-hover/question:opacity-100", T && "opacity-100"),
6396
- children: /* @__PURE__ */ Z(cc, {
6394
+ children: /* @__PURE__ */ Z(rc, {
6397
6395
  open: T,
6398
6396
  onOpenChange: E,
6399
- children: [/* @__PURE__ */ X(gc, {
6397
+ children: [/* @__PURE__ */ X(fc, {
6400
6398
  asChild: !0,
6401
6399
  children: /* @__PURE__ */ X(B, {
6402
- icon: vo,
6400
+ icon: yo,
6403
6401
  label: M,
6404
6402
  size: "sm",
6405
6403
  variant: "outline",
6406
6404
  hideLabel: !0
6407
6405
  })
6408
- }), /* @__PURE__ */ Z(lc, {
6406
+ }), /* @__PURE__ */ Z(ac, {
6409
6407
  align: "center",
6410
6408
  className: "w-80",
6411
6409
  children: [
6412
- w ? null : /* @__PURE__ */ Z(Y, { children: [/* @__PURE__ */ X(pc, {
6410
+ w ? null : /* @__PURE__ */ Z(Y, { children: [/* @__PURE__ */ X(lc, {
6413
6411
  onClick: ne,
6414
6412
  children: /* @__PURE__ */ Z("div", {
6415
6413
  className: "flex w-full flex-row items-center gap-2",
6416
6414
  children: [/* @__PURE__ */ X(V, {
6417
- icon: Wi,
6415
+ icon: Xr,
6418
6416
  color: "default"
6419
6417
  }), /* @__PURE__ */ X("span", {
6420
6418
  className: "flex-1 text-base font-medium",
6421
6419
  children: A("surveyFormBuilder.questionTypes.section")
6422
6420
  })]
6423
6421
  })
6424
- }), /* @__PURE__ */ X(vc, {})] }),
6425
- F.map((e) => /* @__PURE__ */ X(pc, {
6422
+ }), /* @__PURE__ */ X(mc, {})] }),
6423
+ F.map((e) => /* @__PURE__ */ X(lc, {
6426
6424
  onClick: () => te(e.questionType),
6427
6425
  children: /* @__PURE__ */ Z("div", {
6428
6426
  className: "flex w-full flex-row items-center gap-2",
@@ -6435,9 +6433,9 @@ var Tp = ({ notice: e, className: t, children: n }) => {
6435
6433
  })]
6436
6434
  })
6437
6435
  }, e.questionType)),
6438
- ie.length > 0 ? /* @__PURE__ */ Z(Y, { children: [/* @__PURE__ */ X(vc, {}), ie.map((e) => {
6436
+ ie.length > 0 ? /* @__PURE__ */ Z(Y, { children: [/* @__PURE__ */ X(mc, {}), ie.map((e) => {
6439
6437
  let t = re.find((t) => t.datasetKey === e && t.questionType === "dropdown-single");
6440
- return /* @__PURE__ */ Z(sc, { children: [/* @__PURE__ */ X(ac, {
6438
+ return /* @__PURE__ */ Z(nc, { children: [/* @__PURE__ */ X(ec, {
6441
6439
  className: "mx-1 px-2 data-[state=open]:rounded-sm data-[state=closed]:bg-transparent data-[state=open]:bg-f1-background-hover",
6442
6440
  children: /* @__PURE__ */ Z("div", {
6443
6441
  className: "flex w-full flex-row items-center gap-2",
@@ -6449,24 +6447,24 @@ var Tp = ({ notice: e, className: t, children: n }) => {
6449
6447
  children: t?.label ?? e
6450
6448
  })]
6451
6449
  })
6452
- }), /* @__PURE__ */ X(uc, { children: /* @__PURE__ */ Z(_c, { children: [g("dropdown-single") ? /* @__PURE__ */ X(pc, {
6450
+ }), /* @__PURE__ */ X(oc, { children: /* @__PURE__ */ Z(pc, { children: [g("dropdown-single") ? /* @__PURE__ */ X(lc, {
6453
6451
  onClick: () => te("dropdown-single", e),
6454
6452
  children: /* @__PURE__ */ Z("div", {
6455
6453
  className: "flex w-full flex-row items-center gap-2",
6456
6454
  children: [/* @__PURE__ */ X(V, {
6457
- icon: $s,
6455
+ icon: ic,
6458
6456
  color: "default"
6459
6457
  }), /* @__PURE__ */ X("span", {
6460
6458
  className: "flex-1",
6461
6459
  children: A("surveyFormBuilder.labels.singleSelection")
6462
6460
  })]
6463
6461
  })
6464
- }) : null, g("dropdown-multi") ? /* @__PURE__ */ X(pc, {
6462
+ }) : null, g("dropdown-multi") ? /* @__PURE__ */ X(lc, {
6465
6463
  onClick: () => te("dropdown-multi", e),
6466
6464
  children: /* @__PURE__ */ Z("div", {
6467
6465
  className: "flex w-full flex-row items-center gap-2",
6468
6466
  children: [/* @__PURE__ */ X(V, {
6469
- icon: vr,
6467
+ icon: ui,
6470
6468
  color: "default"
6471
6469
  }), /* @__PURE__ */ X("span", {
6472
6470
  className: "flex-1",
@@ -6494,7 +6492,7 @@ var Op = ({ value: e, label: t, ...n }) => {
6494
6492
  let { onQuestionChange: r, answering: i, disabled: a, getSectionContainingQuestion: o } = Qf(), s = Dp(n), { t: c } = L();
6495
6493
  if (i) return /* @__PURE__ */ X(Ep, {
6496
6494
  ...n,
6497
- children: /* @__PURE__ */ X(Ds, {
6495
+ children: /* @__PURE__ */ X(Ts, {
6498
6496
  id: n.id,
6499
6497
  checked: e ?? !1,
6500
6498
  onCheckedChange: (e) => {
@@ -6514,7 +6512,7 @@ var Op = ({ value: e, label: t, ...n }) => {
6514
6512
  ...n,
6515
6513
  children: /* @__PURE__ */ Z("div", {
6516
6514
  className: "flex items-start",
6517
- children: [/* @__PURE__ */ X(Ds, {
6515
+ children: [/* @__PURE__ */ X(Ts, {
6518
6516
  checked: !1,
6519
6517
  disabled: !0,
6520
6518
  hideLabel: !0,
@@ -6700,8 +6698,8 @@ var Op = ({ value: e, label: t, ...n }) => {
6700
6698
  required: t.required,
6701
6699
  maxDecimals: 0,
6702
6700
  placeholder: s,
6703
- icon: na
6704
- }) : /* @__PURE__ */ X(fi, {
6701
+ icon: Di
6702
+ }) : /* @__PURE__ */ X(pi, {
6705
6703
  type: "text",
6706
6704
  size: "md",
6707
6705
  value: s,
@@ -6709,7 +6707,7 @@ var Op = ({ value: e, label: t, ...n }) => {
6709
6707
  disabled: !0,
6710
6708
  label: n("surveyFormBuilder.answer.label"),
6711
6709
  hideLabel: !0,
6712
- icon: na
6710
+ icon: Di
6713
6711
  })
6714
6712
  });
6715
6713
  }, Ip = ({ option: e, selected: n, onClick: r, onChangeLabel: i, disabled: a, isEmojiMode: o = !1 }) => {
@@ -6722,10 +6720,10 @@ var Op = ({ value: e, label: t, ...n }) => {
6722
6720
  onClick: () => {
6723
6721
  a || r(s);
6724
6722
  },
6725
- children: o ? /* @__PURE__ */ Z(hc, {
6723
+ children: o ? /* @__PURE__ */ Z(dc, {
6726
6724
  open: !a && l,
6727
6725
  onOpenChange: a ? void 0 : u,
6728
- children: [/* @__PURE__ */ X(oc, {
6726
+ children: [/* @__PURE__ */ X(tc, {
6729
6727
  asChild: !0,
6730
6728
  children: /* @__PURE__ */ X(B, {
6731
6729
  emoji: c,
@@ -6735,7 +6733,7 @@ var Op = ({ value: e, label: t, ...n }) => {
6735
6733
  withoutDisabledAppearance: !0,
6736
6734
  hideLabel: !0
6737
6735
  })
6738
- }), /* @__PURE__ */ X(fc, {
6736
+ }), /* @__PURE__ */ X(cc, {
6739
6737
  side: "bottom",
6740
6738
  align: "center",
6741
6739
  className: "w-fit border-none bg-transparent p-2 shadow-none",
@@ -6866,7 +6864,7 @@ var Vp = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
6866
6864
  children: [
6867
6865
  /* @__PURE__ */ X("div", {
6868
6866
  className: z("block", E ? "group-hover:hidden" : "cursor-default", p && "cursor-grabbing [&_button]:cursor-grabbing"),
6869
- children: u === "multi-select" ? /* @__PURE__ */ X(Ds, {
6867
+ children: u === "multi-select" ? /* @__PURE__ */ X(Ts, {
6870
6868
  title: f,
6871
6869
  checked: o ? !!s : !1,
6872
6870
  onCheckedChange: y,
@@ -6883,7 +6881,7 @@ var Vp = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
6883
6881
  children: /* @__PURE__ */ X("div", {
6884
6882
  className: z("flex aspect-square scale-90 items-center justify-center", u === "multi-select" ? "w-6" : "w-5"),
6885
6883
  children: /* @__PURE__ */ X(so, {
6886
- icon: Mr,
6884
+ icon: Ur,
6887
6885
  size: "sm"
6888
6886
  })
6889
6887
  })
@@ -6906,13 +6904,13 @@ var Vp = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
6906
6904
  children: [/* @__PURE__ */ X(B, {
6907
6905
  label: _("surveyFormBuilder.selectQuestion.markAsCorrect"),
6908
6906
  variant: "ghost",
6909
- icon: c ? wi : sa,
6907
+ icon: c ? bi : la,
6910
6908
  onClick: x,
6911
6909
  hideLabel: !0
6912
6910
  }), /* @__PURE__ */ X(B, {
6913
6911
  label: _("surveyFormBuilder.selectQuestion.remove"),
6914
6912
  variant: "ghost",
6915
- icon: Ii,
6913
+ icon: mi,
6916
6914
  hideLabel: !0,
6917
6915
  onClick: S
6918
6916
  })]
@@ -7041,7 +7039,7 @@ var Vp = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
7041
7039
  children: /* @__PURE__ */ X(B, {
7042
7040
  label: c("surveyFormBuilder.selectQuestion.addOption"),
7043
7041
  variant: "ghost",
7044
- icon: vo,
7042
+ icon: yo,
7045
7043
  onClick: p
7046
7044
  })
7047
7045
  }) : null]
@@ -7139,7 +7137,7 @@ var Vp = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
7139
7137
  h && c.start(e);
7140
7138
  },
7141
7139
  children: /* @__PURE__ */ X(V, {
7142
- icon: Mr,
7140
+ icon: Ur,
7143
7141
  size: "sm"
7144
7142
  })
7145
7143
  }) : null, /* @__PURE__ */ X(Wp, { ...e.question })]
@@ -7169,7 +7167,7 @@ var Vp = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
7169
7167
  f && i.start(e);
7170
7168
  },
7171
7169
  children: /* @__PURE__ */ X(V, {
7172
- icon: Mr,
7170
+ icon: Ur,
7173
7171
  size: "sm"
7174
7172
  })
7175
7173
  }) : null, /* @__PURE__ */ X(Wp, { ...e })]
@@ -7201,7 +7199,7 @@ var Vp = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
7201
7199
  });
7202
7200
  }, x = [{
7203
7201
  label: h("surveyFormBuilder.actions.duplicateSection"),
7204
- icon: Or,
7202
+ icon: Mr,
7205
7203
  onClick: () => {
7206
7204
  d?.({
7207
7205
  elementId: e,
@@ -7210,7 +7208,7 @@ var Vp = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
7210
7208
  }
7211
7209
  }, {
7212
7210
  label: h("surveyFormBuilder.actions.deleteSection"),
7213
- icon: Ii,
7211
+ icon: mi,
7214
7212
  onClick: () => {
7215
7213
  u(e);
7216
7214
  },
@@ -7219,9 +7217,9 @@ var Vp = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
7219
7217
  G(() => {
7220
7218
  T.current?.focus({ preventScroll: !0 });
7221
7219
  }, []);
7222
- let E = r?.description ?? h("surveyFormBuilder.labels.lockedSectionNotice"), D = a && !l ? /* @__PURE__ */ X(ds, {
7220
+ let E = r?.description ?? h("surveyFormBuilder.labels.lockedSectionNotice"), D = a && !l ? /* @__PURE__ */ X(Oo, {
7223
7221
  text: h("surveyFormBuilder.labels.locked"),
7224
- icon: nc,
7222
+ icon: vc,
7225
7223
  className: "bg-f1-background"
7226
7224
  }) : null;
7227
7225
  return /* @__PURE__ */ Z("div", {
@@ -7255,13 +7253,13 @@ var Vp = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
7255
7253
  }) : null,
7256
7254
  !c && !l && !a ? /* @__PURE__ */ X("div", {
7257
7255
  className: z("opacity-0 group-hover/section:opacity-100", p && "opacity-100"),
7258
- children: /* @__PURE__ */ X(Hr, {
7256
+ children: /* @__PURE__ */ X(Lr, {
7259
7257
  items: x,
7260
7258
  open: p,
7261
7259
  onOpenChange: m,
7262
7260
  align: "start",
7263
7261
  children: /* @__PURE__ */ X(B, {
7264
- icon: tc,
7262
+ icon: gc,
7265
7263
  label: h("surveyFormBuilder.actions.actions"),
7266
7264
  size: "md",
7267
7265
  variant: "ghost",
@@ -7333,7 +7331,7 @@ var Vp = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
7333
7331
  o.start(e);
7334
7332
  },
7335
7333
  children: /* @__PURE__ */ X(V, {
7336
- icon: Mr,
7334
+ icon: Ur,
7337
7335
  size: "sm"
7338
7336
  })
7339
7337
  }) : null, /* @__PURE__ */ X(Jp, {
@@ -7363,7 +7361,7 @@ var Vp = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
7363
7361
  p || x.push({
7364
7362
  type: "toggle",
7365
7363
  label: l,
7366
- icon: Zr,
7364
+ icon: Jr,
7367
7365
  checked: !!r?.required,
7368
7366
  onCheckedChange: m
7369
7367
  });
@@ -7403,12 +7401,12 @@ var Vp = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
7403
7401
  selectedLabel: s === e ? t === "dropdown-multi" ? f : d : void 0,
7404
7402
  children: [{
7405
7403
  label: d,
7406
- icon: $s,
7404
+ icon: ic,
7407
7405
  onClick: () => h("dropdown-single", e),
7408
7406
  selected: s === e && t === "dropdown-single"
7409
7407
  }, {
7410
7408
  label: f,
7411
- icon: vr,
7409
+ icon: ui,
7412
7410
  onClick: () => h("dropdown-multi", e),
7413
7411
  selected: s === e && t === "dropdown-multi"
7414
7412
  }]
@@ -7422,16 +7420,16 @@ var Vp = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
7422
7420
  return x.push({
7423
7421
  type: "submenu",
7424
7422
  label: u,
7425
- icon: Jr,
7423
+ icon: Rr,
7426
7424
  selectedLabel: E,
7427
7425
  children: w
7428
7426
  }), x.push({ type: "separator" }), x.push({
7429
7427
  label: i,
7430
- icon: Or,
7428
+ icon: Mr,
7431
7429
  onClick: y
7432
7430
  }), n && x.push({
7433
7431
  label: a,
7434
- icon: Ii,
7432
+ icon: mi,
7435
7433
  onClick: b,
7436
7434
  critical: !0
7437
7435
  }), x;
@@ -7452,12 +7450,12 @@ var Vp = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
7452
7450
  return {
7453
7451
  id: i,
7454
7452
  label: t.title || n,
7455
- icon: Wi,
7453
+ icon: Xr,
7456
7454
  onClick: y,
7457
7455
  ...!h && !g && !t.locked && { otherActions: [
7458
7456
  {
7459
7457
  label: o,
7460
- icon: Or,
7458
+ icon: Mr,
7461
7459
  onClick: () => m?.({
7462
7460
  elementId: t.id,
7463
7461
  type: "section"
@@ -7466,7 +7464,7 @@ var Vp = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
7466
7464
  { type: "separator" },
7467
7465
  {
7468
7466
  label: s,
7469
- icon: Ii,
7467
+ icon: mi,
7470
7468
  onClick: () => p(t.id),
7471
7469
  critical: !0
7472
7470
  }
@@ -7932,7 +7930,7 @@ function xm(e) {
7932
7930
  secondaryAction: e.isActive && e.isStepped && !e.isFirstStep ? {
7933
7931
  label: e.t("surveyAnsweringForm.actions.previous"),
7934
7932
  onClick: e.onPrevious,
7935
- icon: os
7933
+ icon: Vo
7936
7934
  } : void 0
7937
7935
  };
7938
7936
  }
@@ -7989,7 +7987,7 @@ function wm({ value: e, onChange: t, onBlur: n, config: r }) {
7989
7987
  s || a === "multi-select" && e.target.closest("input") || p(t.value);
7990
7988
  },
7991
7989
  children: [
7992
- a === "multi-select" ? /* @__PURE__ */ X(Ds, {
7990
+ a === "multi-select" ? /* @__PURE__ */ X(Ts, {
7993
7991
  title: t.label,
7994
7992
  checked: !!n,
7995
7993
  onCheckedChange: () => f(t.value),
@@ -8002,7 +8000,7 @@ function wm({ value: e, onChange: t, onBlur: n, config: r }) {
8002
8000
  u ? /* @__PURE__ */ X("div", {
8003
8001
  className: "min-h-8 p-1",
8004
8002
  children: /* @__PURE__ */ X(V, {
8005
- icon: t.correct ? sa : wi,
8003
+ icon: t.correct ? la : bi,
8006
8004
  color: t.correct ? "positive" : "critical",
8007
8005
  "aria-hidden": !0
8008
8006
  })
@@ -8024,7 +8022,7 @@ var Tm = /^(https?:\/\/)?[\w.-]+\.[a-z]{2,}(:\d+)?(\/[^\s]*)?$/i, Em = () => ({
8024
8022
  status: "idle"
8025
8023
  });
8026
8024
  function Dm(e, t) {
8027
- return di().optional().superRefine((n, r) => {
8025
+ return fi().optional().superRefine((n, r) => {
8028
8026
  e && (!n || n.trim() === "") && r.addIssue({
8029
8027
  code: "custom",
8030
8028
  message: t("forms.validation.required")
@@ -8032,7 +8030,7 @@ function Dm(e, t) {
8032
8030
  });
8033
8031
  }
8034
8032
  function Om(e, t) {
8035
- return di().optional().superRefine((n, r) => {
8033
+ return fi().optional().superRefine((n, r) => {
8036
8034
  e && (!n || n.trim() === "") ? r.addIssue({
8037
8035
  code: "custom",
8038
8036
  message: t("forms.validation.required")
@@ -8043,7 +8041,7 @@ function Om(e, t) {
8043
8041
  });
8044
8042
  }
8045
8043
  function km(e, t) {
8046
- return Vi().optional().superRefine((n, r) => {
8044
+ return Hi().optional().superRefine((n, r) => {
8047
8045
  e && n == null && r.addIssue({
8048
8046
  code: "custom",
8049
8047
  message: t("forms.validation.required")
@@ -8051,7 +8049,7 @@ function km(e, t) {
8051
8049
  });
8052
8050
  }
8053
8051
  function Am(e, t) {
8054
- return Ki(di()).optional().superRefine((n, r) => {
8052
+ return qi(fi()).optional().superRefine((n, r) => {
8055
8053
  e && (!n || n.length === 0) && r.addIssue({
8056
8054
  code: "custom",
8057
8055
  message: t("forms.validation.required")
@@ -8068,7 +8066,7 @@ function jm(e, t) {
8068
8066
  }
8069
8067
  var Mm = Am;
8070
8068
  function Nm(e, t) {
8071
- return Oi().optional().superRefine((n, r) => {
8069
+ return Mi().optional().superRefine((n, r) => {
8072
8070
  e && !n && r.addIssue({
8073
8071
  code: "custom",
8074
8072
  message: t("forms.validation.required")
@@ -8121,7 +8119,7 @@ function Rm({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
8121
8119
  placeholder: t("surveyFormBuilder.answer.textPlaceholder"),
8122
8120
  disabled: i
8123
8121
  };
8124
- return Pi(Dm(!!e.required, t), {
8122
+ return Li(Dm(!!e.required, t), {
8125
8123
  ...l,
8126
8124
  fieldType: "custom",
8127
8125
  render: ({ value: e, onChange: t, onBlur: r, error: i }) => /* @__PURE__ */ X(Ep, {
@@ -8149,7 +8147,7 @@ function Rm({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
8149
8147
  rows: 4,
8150
8148
  disabled: i
8151
8149
  };
8152
- return Pi(Dm(!!e.required, t), {
8150
+ return Li(Dm(!!e.required, t), {
8153
8151
  ...l,
8154
8152
  fieldType: "custom",
8155
8153
  render: ({ value: e, onChange: t, onBlur: r, error: i }) => /* @__PURE__ */ X(Ep, {
@@ -8176,7 +8174,7 @@ function Rm({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
8176
8174
  placeholder: t("surveyFormBuilder.answer.numericPlaceholder"),
8177
8175
  disabled: i
8178
8176
  };
8179
- return Pi(km(!!e.required, t), {
8177
+ return Li(km(!!e.required, t), {
8180
8178
  ...l,
8181
8179
  fieldType: "custom",
8182
8180
  render: ({ value: e, onChange: t, onBlur: r, error: i }) => /* @__PURE__ */ X(Ep, {
@@ -8204,7 +8202,7 @@ function Rm({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
8204
8202
  placeholder: t("surveyFormBuilder.answer.linkPlaceholder"),
8205
8203
  disabled: i
8206
8204
  };
8207
- return Pi(Om(!!e.required, t), {
8205
+ return Li(Om(!!e.required, t), {
8208
8206
  ...l,
8209
8207
  fieldType: "custom",
8210
8208
  render: ({ value: e, onChange: t, onBlur: r, error: i }) => /* @__PURE__ */ X(Ep, {
@@ -8231,7 +8229,7 @@ function Rm({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
8231
8229
  clearable: !e.required,
8232
8230
  disabled: i
8233
8231
  };
8234
- return Pi(jm(!!e.required, t), {
8232
+ return Li(jm(!!e.required, t), {
8235
8233
  ...l,
8236
8234
  fieldType: "custom",
8237
8235
  render: ({ value: e, onChange: t, onBlur: r, error: i }) => /* @__PURE__ */ X(Ep, {
@@ -8267,7 +8265,7 @@ function Rm({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
8267
8265
  showSearchBox: r,
8268
8266
  searchBoxPlaceholder: e.searchBoxPlaceholder
8269
8267
  };
8270
- return Pi(Dm(!!e.required, t), {
8268
+ return Li(Dm(!!e.required, t), {
8271
8269
  ...l,
8272
8270
  fieldType: "custom",
8273
8271
  render: ({ value: t, onChange: r, onBlur: i, error: o }) => {
@@ -8316,7 +8314,7 @@ function Rm({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
8316
8314
  showSearchBox: r,
8317
8315
  searchBoxPlaceholder: e.searchBoxPlaceholder
8318
8316
  };
8319
- return Pi(Am(!!e.required, t), {
8317
+ return Li(Am(!!e.required, t), {
8320
8318
  ...l,
8321
8319
  fieldType: "custom",
8322
8320
  render: ({ value: e, onChange: t, onBlur: n, error: r }) => /* @__PURE__ */ X(Ep, {
@@ -8343,7 +8341,7 @@ function Rm({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
8343
8341
  disabled: i,
8344
8342
  showAnswerValidation: r
8345
8343
  };
8346
- return Pi(Dm(!!e.required, t), {
8344
+ return Li(Dm(!!e.required, t), {
8347
8345
  ...l,
8348
8346
  fieldType: "custom",
8349
8347
  fieldConfig: n,
@@ -8366,7 +8364,7 @@ function Rm({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
8366
8364
  disabled: i,
8367
8365
  showAnswerValidation: r
8368
8366
  };
8369
- return Pi(Am(!!e.required, t), {
8367
+ return Li(Am(!!e.required, t), {
8370
8368
  ...l,
8371
8369
  fieldType: "custom",
8372
8370
  fieldConfig: n,
@@ -8388,7 +8386,7 @@ function Rm({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
8388
8386
  maxLabel: n.maxLabel,
8389
8387
  disabled: i
8390
8388
  };
8391
- return Pi(km(!!e.required, t), {
8389
+ return Li(km(!!e.required, t), {
8392
8390
  ...l,
8393
8391
  fieldType: "custom",
8394
8392
  fieldConfig: r,
@@ -8414,7 +8412,7 @@ function Rm({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
8414
8412
  useUpload: r ?? Em,
8415
8413
  disabled: i || !r
8416
8414
  };
8417
- return Pi(Mm(!!e.required, t), {
8415
+ return Li(Mm(!!e.required, t), {
8418
8416
  ...l,
8419
8417
  fieldType: "custom",
8420
8418
  render: ({ value: e, onChange: t, onBlur: n, error: r }) => /* @__PURE__ */ X(Ep, {
@@ -8440,7 +8438,7 @@ function Rm({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
8440
8438
  label: n.label || c,
8441
8439
  disabled: i
8442
8440
  };
8443
- return Pi(Nm(!!e.required, t), {
8441
+ return Li(Nm(!!e.required, t), {
8444
8442
  ...l,
8445
8443
  fieldType: "custom",
8446
8444
  render: ({ value: e, onChange: t, onBlur: n, error: i }) => /* @__PURE__ */ X(Ep, {
@@ -8459,7 +8457,7 @@ function Rm({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
8459
8457
  })
8460
8458
  });
8461
8459
  }
8462
- default: return Pi(Ni(), {
8460
+ default: return Li(Ii(), {
8463
8461
  ...l,
8464
8462
  fieldType: "custom",
8465
8463
  render: () => null
@@ -8506,7 +8504,7 @@ function Hm({ elements: e, mode: t, t: n, defaultValues: r, currentQuestionId: i
8506
8504
  }), f[t] = a?.[t] ?? Pm(e, r);
8507
8505
  }
8508
8506
  return {
8509
- schema: Ji(d),
8507
+ schema: Yi(d),
8510
8508
  defaultValues: f,
8511
8509
  flatQuestions: m,
8512
8510
  sections: p
@@ -8795,10 +8793,10 @@ function eh(e) {
8795
8793
  n
8796
8794
  ]), [O, k] = J(a === "fullscreen"), A = O ? "fullscreen" : a === "fullscreen" ? "center" : a, j = A === "center" ? "xl" : void 0, M = h === "stepped", ee = o && !g ? [{
8797
8795
  label: s(O ? "surveyAnsweringForm.actions.collapse" : "surveyAnsweringForm.actions.expand"),
8798
- icon: O ? oa : ki,
8796
+ icon: O ? sa : Nr,
8799
8797
  onClick: () => k((e) => !e)
8800
8798
  }] : void 0, N = h === "all-questions" && _ && !g, P = M && _ && !g, te = M && !!S?.sectionTitle && !g, ne = A === "center" || A === "fullscreen";
8801
- return /* @__PURE__ */ X(la, {
8799
+ return /* @__PURE__ */ X(ca, {
8802
8800
  isOpen: t,
8803
8801
  onClose: D,
8804
8802
  title: r,
@@ -8824,7 +8822,7 @@ function eh(e) {
8824
8822
  }) : null,
8825
8823
  P ? /* @__PURE__ */ X("div", {
8826
8824
  className: "absolute left-0 right-0 top-0 [&>div>div>div]:h-1 [&>div>div>div]:rounded-none",
8827
- children: /* @__PURE__ */ X(Vo, {
8825
+ children: /* @__PURE__ */ X(Bo, {
8828
8826
  label: "Value",
8829
8827
  value: b,
8830
8828
  hideLabel: !0
@@ -9022,7 +9020,7 @@ var oh = ({ benefits: e }) => /* @__PURE__ */ X("div", {
9022
9020
  }), sh = ({ text: e }) => /* @__PURE__ */ Z("div", {
9023
9021
  className: "flex flex-row items-start gap-2",
9024
9022
  children: [/* @__PURE__ */ X(V, {
9025
- icon: ec,
9023
+ icon: hc,
9026
9024
  size: "md",
9027
9025
  className: "text-f1-icon-positive"
9028
9026
  }), /* @__PURE__ */ X("span", { children: e })]
@@ -9045,14 +9043,14 @@ var oh = ({ benefits: e }) => /* @__PURE__ */ X("div", {
9045
9043
  children: [
9046
9044
  /* @__PURE__ */ Z("div", {
9047
9045
  className: "flex flex-row items-center gap-2",
9048
- children: [a ? /* @__PURE__ */ X(Do, { module: a }) : null, o ? /* @__PURE__ */ X("p", {
9046
+ children: [a ? /* @__PURE__ */ X(_o, { module: a }) : null, o ? /* @__PURE__ */ X("p", {
9049
9047
  className: "text-base font-medium text-f1-foreground",
9050
9048
  children: o
9051
9049
  }) : null]
9052
9050
  }),
9053
9051
  s || c ? /* @__PURE__ */ Z("div", {
9054
9052
  className: "flex justify-start gap-2",
9055
- children: [s ? /* @__PURE__ */ X(ds, {
9053
+ children: [s ? /* @__PURE__ */ X(Oo, {
9056
9054
  icon: s.icon,
9057
9055
  text: s.label
9058
9056
  }) : null, c ? /* @__PURE__ */ X(cs, {
@@ -9080,7 +9078,7 @@ function uh({ isOpen: e, onClose: t, title: n, children: r, module: i, portalCon
9080
9078
  let [o, s] = J(e);
9081
9079
  return G(() => {
9082
9080
  s(e);
9083
- }, [e]), /* @__PURE__ */ X(ei, {
9081
+ }, [e]), /* @__PURE__ */ X($r, {
9084
9082
  open: o,
9085
9083
  onOpenChange: (e) => {
9086
9084
  s(e), e || t();
@@ -9091,22 +9089,22 @@ function uh({ isOpen: e, onClose: t, title: n, children: r, module: i, portalCon
9091
9089
  container: a,
9092
9090
  children: [/* @__PURE__ */ Z("div", {
9093
9091
  className: "flex flex-row items-center justify-between px-4 py-4",
9094
- children: [/* @__PURE__ */ Z(Vr, {
9092
+ children: [/* @__PURE__ */ Z(Ir, {
9095
9093
  className: "flex flex-row items-center gap-2 text-lg font-semibold text-f1-foreground",
9096
- children: [i ? /* @__PURE__ */ X(Do, {
9094
+ children: [i ? /* @__PURE__ */ X(_o, {
9097
9095
  module: i,
9098
9096
  size: "md"
9099
9097
  }) : null, n]
9100
9098
  }), /* @__PURE__ */ X(rr, {
9101
9099
  variant: "outline",
9102
- icon: wi,
9100
+ icon: bi,
9103
9101
  onClick: t,
9104
9102
  label: "Close modal",
9105
9103
  hideLabel: !0
9106
9104
  })]
9107
- }), /* @__PURE__ */ Z(bc, {
9105
+ }), /* @__PURE__ */ Z(xc, {
9108
9106
  className: "[*[data-state=visible]_div]:bg-f1-background flex max-h-[512px] flex-col",
9109
- children: [r, /* @__PURE__ */ X(yc, {
9107
+ children: [r, /* @__PURE__ */ X(bc, {
9110
9108
  orientation: "vertical",
9111
9109
  className: "[&_div]:bg-f1-background"
9112
9110
  })]
@@ -9189,14 +9187,14 @@ function ph({ mediaUrl: e, title: t, description: n, onClose: r, dismissible: i,
9189
9187
  o && o(!l);
9190
9188
  }, [o, l]);
9191
9189
  let f = e?.includes(".mp4");
9192
- return /* @__PURE__ */ X(Y, { children: l ? null : /* @__PURE__ */ Z(Si, {
9190
+ return /* @__PURE__ */ X(Y, { children: l ? null : /* @__PURE__ */ Z(Gi, {
9193
9191
  style: { width: a },
9194
9192
  className: "relative bg-f1-background p-1",
9195
- children: [/* @__PURE__ */ Z(ia, { children: [i ? /* @__PURE__ */ X("div", {
9193
+ children: [/* @__PURE__ */ Z(ki, { children: [i ? /* @__PURE__ */ X("div", {
9196
9194
  className: "absolute right-2 top-2 z-10",
9197
9195
  children: /* @__PURE__ */ X(B, {
9198
9196
  variant: "ghost",
9199
- icon: wi,
9197
+ icon: bi,
9200
9198
  size: "sm",
9201
9199
  hideLabel: !0,
9202
9200
  onClick: d,
@@ -9222,7 +9220,7 @@ function ph({ mediaUrl: e, title: t, description: n, onClose: r, dismissible: i,
9222
9220
  className: "line-clamp-3 text-base font-normal text-f1-foreground-secondary",
9223
9221
  children: n
9224
9222
  })]
9225
- })] })] }), s ? /* @__PURE__ */ X(fa, {
9223
+ })] })] }), s ? /* @__PURE__ */ X(Ti, {
9226
9224
  className: "p-3",
9227
9225
  children: s.map((e) => e.type === "upsell" ? /* @__PURE__ */ X(D, {
9228
9226
  label: e.label,
@@ -9245,7 +9243,7 @@ function ph({ mediaUrl: e, title: t, description: n, onClose: r, dismissible: i,
9245
9243
  var mh = I(ph), hh = ({ onDismiss: e }) => {
9246
9244
  let { actions: t } = L();
9247
9245
  return /* @__PURE__ */ X(B, {
9248
- icon: wi,
9246
+ icon: bi,
9249
9247
  label: t.close,
9250
9248
  hideLabel: !0,
9251
9249
  variant: "outline",
@@ -9337,7 +9335,7 @@ vh.displayName = "UpsellingBanner";
9337
9335
  var yh = I(vh);
9338
9336
  //#endregion
9339
9337
  //#region src/domains/growth/upselling/UpsellingKit/UpsellingPopover/UpsellingPopover.tsx
9340
- function bh({ isOpen: e, setIsOpen: t, label: n, variant: r = "promote", size: i = "md", showIcon: a = !0, side: o = "right", align: s = "center", icon: c = Lr, mediaUrl: l, title: u, description: d, width: f = "300px", trackVisibility: p, actions: m, onClick: h, hideLabel: g = !1 }) {
9338
+ function bh({ isOpen: e, setIsOpen: t, label: n, variant: r = "promote", size: i = "md", showIcon: a = !0, side: o = "right", align: s = "center", icon: c = Fi, mediaUrl: l, title: u, description: d, width: f = "300px", trackVisibility: p, actions: m, onClick: h, hideLabel: g = !1 }) {
9341
9339
  let [_, v] = J(!1), [y, b] = J(null), [x, S] = J(null), C = (e) => {
9342
9340
  t(e), h && h();
9343
9341
  }, w = async (e) => {
@@ -9355,10 +9353,10 @@ function bh({ isOpen: e, setIsOpen: t, label: n, variant: r = "promote", size: i
9355
9353
  ...e,
9356
9354
  onClick: () => w(e)
9357
9355
  } : e);
9358
- return /* @__PURE__ */ Z(Y, { children: [/* @__PURE__ */ Z(hc, {
9356
+ return /* @__PURE__ */ Z(Y, { children: [/* @__PURE__ */ Z(dc, {
9359
9357
  open: E,
9360
9358
  onOpenChange: C,
9361
- children: [/* @__PURE__ */ X(oc, {
9359
+ children: [/* @__PURE__ */ X(tc, {
9362
9360
  asChild: !0,
9363
9361
  children: /* @__PURE__ */ X(B, {
9364
9362
  variant: r,
@@ -9368,7 +9366,7 @@ function bh({ isOpen: e, setIsOpen: t, label: n, variant: r = "promote", size: i
9368
9366
  onClick: () => t(e),
9369
9367
  hideLabel: g
9370
9368
  })
9371
- }), /* @__PURE__ */ X(fc, {
9369
+ }), /* @__PURE__ */ X(cc, {
9372
9370
  side: o,
9373
9371
  align: s,
9374
9372
  className: "w-fit border-none bg-transparent p-2 shadow-none",
@@ -9397,9 +9395,9 @@ function bh({ isOpen: e, setIsOpen: t, label: n, variant: r = "promote", size: i
9397
9395
  }
9398
9396
  var xh = I(bh), Sh = ({ preview: e, moduleName: t, description: n, onAction: r, actionHref: i }) => {
9399
9397
  let a = L(), o = a?.ai?.growth?.demoCard?.title ?? "Show {{moduleName}} in action", s = a?.ai?.growth?.demoCard?.actionLabel ?? "Start demo", c = o.replace("{{moduleName}}", t);
9400
- return /* @__PURE__ */ Z(Si, {
9398
+ return /* @__PURE__ */ Z(Gi, {
9401
9399
  className: "flex flex-col overflow-hidden",
9402
- children: [/* @__PURE__ */ Z(ia, {
9400
+ children: [/* @__PURE__ */ Z(ki, {
9403
9401
  className: "flex flex-col gap-4 p-0",
9404
9402
  children: [/* @__PURE__ */ X("div", {
9405
9403
  className: z("overflow-hidden rounded-lg border border-f1-border", "ring-1 ring-f1-border/50 bg-f1-background-inverse-secondary dark:bg-f1-background-tertiary"),
@@ -9414,7 +9412,7 @@ var xh = I(bh), Sh = ({ preview: e, moduleName: t, description: n, onAction: r,
9414
9412
  children: n
9415
9413
  })]
9416
9414
  })]
9417
- }), /* @__PURE__ */ X(fa, {
9415
+ }), /* @__PURE__ */ X(Ti, {
9418
9416
  className: "-mx-4 -mb-4 mt-4 flex justify-end rounded-b-xl border-0 border-t border-t-f1-border bg-f1-background-secondary px-4 py-3",
9419
9417
  children: i ? /* @__PURE__ */ X(B, {
9420
9418
  variant: "default",
@@ -9445,7 +9443,7 @@ var xh = I(bh), Sh = ({ preview: e, moduleName: t, description: n, onAction: r,
9445
9443
  }), /* @__PURE__ */ X("span", {
9446
9444
  className: "mt-0.5 flex-shrink-0 text-f1-foreground-secondary",
9447
9445
  children: /* @__PURE__ */ X(V, {
9448
- icon: t ? go : Zs,
9446
+ icon: t ? xo : As,
9449
9447
  size: "sm",
9450
9448
  className: z("transition-transform duration-200", t && "text-f1-foreground")
9451
9449
  })
@@ -9461,7 +9459,7 @@ var xh = I(bh), Sh = ({ preview: e, moduleName: t, description: n, onAction: r,
9461
9459
  })
9462
9460
  })]
9463
9461
  }), wh = ({ headerIcon: e, items: t, defaultExpandedId: n, expandedId: r, onExpandedChange: i, allowMultiple: a = !1 }) => {
9464
- let o = L()?.ai?.growth?.faqCard?.title ?? "Questions before getting started", s = e ?? zi, [c, l] = J(() => new Set(n ? [n] : [])), u = r !== void 0, d = W((e) => u ? r === e : c.has(e), [
9462
+ let o = L()?.ai?.growth?.faqCard?.title ?? "Questions before getting started", s = e ?? dr, [c, l] = J(() => new Set(n ? [n] : [])), u = r !== void 0, d = W((e) => u ? r === e : c.has(e), [
9465
9463
  u,
9466
9464
  r,
9467
9465
  c
@@ -9476,9 +9474,9 @@ var xh = I(bh), Sh = ({ preview: e, moduleName: t, description: n, onAction: r,
9476
9474
  i,
9477
9475
  a
9478
9476
  ]);
9479
- return t.length === 0 ? null : /* @__PURE__ */ Z(Si, {
9477
+ return t.length === 0 ? null : /* @__PURE__ */ Z(Gi, {
9480
9478
  className: "flex flex-col overflow-hidden",
9481
- children: [/* @__PURE__ */ Z(ui, {
9479
+ children: [/* @__PURE__ */ Z(ii, {
9482
9480
  className: "-mx-4 -mt-4 mb-2 flex flex-row items-center gap-2 rounded-t-xl bg-f1-background-secondary px-4 py-3",
9483
9481
  children: [/* @__PURE__ */ X("div", {
9484
9482
  className: "flex h-6 w-6 items-center justify-center rounded-full border border-f1-border-secondary",
@@ -9491,7 +9489,7 @@ var xh = I(bh), Sh = ({ preview: e, moduleName: t, description: n, onAction: r,
9491
9489
  className: "text-base font-semibold text-f1-foreground",
9492
9490
  children: o
9493
9491
  })]
9494
- }), /* @__PURE__ */ X(ia, {
9492
+ }), /* @__PURE__ */ X(ki, {
9495
9493
  className: "flex flex-col divide-y divide-f1-border p-0",
9496
9494
  children: t.map((e) => /* @__PURE__ */ X(Ch, {
9497
9495
  item: e,
@@ -9502,13 +9500,13 @@ var xh = I(bh), Sh = ({ preview: e, moduleName: t, description: n, onAction: r,
9502
9500
  });
9503
9501
  }, Th = ({ moduleName: e, description: t, onAction: n, actionHref: r, imageSrc: i }) => {
9504
9502
  let a = L()?.ai?.growth?.moduleCard?.actionLabel ?? "Learn more";
9505
- return /* @__PURE__ */ Z(Si, {
9503
+ return /* @__PURE__ */ Z(Gi, {
9506
9504
  className: "flex flex-col overflow-hidden",
9507
- children: [/* @__PURE__ */ X(ia, {
9505
+ children: [/* @__PURE__ */ X(ki, {
9508
9506
  className: "flex flex-col gap-3 p-0",
9509
9507
  children: /* @__PURE__ */ Z("div", {
9510
9508
  className: "flex items-start gap-3",
9511
- children: [/* @__PURE__ */ X(Ao, {
9509
+ children: [/* @__PURE__ */ X(Eo, {
9512
9510
  avatar: {
9513
9511
  type: "company",
9514
9512
  name: e || "",
@@ -9526,7 +9524,7 @@ var xh = I(bh), Sh = ({ preview: e, moduleName: t, description: n, onAction: r,
9526
9524
  })]
9527
9525
  })]
9528
9526
  })
9529
- }), /* @__PURE__ */ X(fa, {
9527
+ }), /* @__PURE__ */ X(Ti, {
9530
9528
  className: "-mx-4 -mb-4 mt-4 flex justify-end rounded-b-xl border-0 border-t border-t-f1-border bg-f1-background-secondary px-4 py-3",
9531
9529
  children: r ? /* @__PURE__ */ X(B, {
9532
9530
  variant: "outline",
@@ -9544,12 +9542,12 @@ var xh = I(bh), Sh = ({ preview: e, moduleName: t, description: n, onAction: r,
9544
9542
  });
9545
9543
  }, Eh = ({ onAction: e, actionHref: t }) => {
9546
9544
  let n = L()?.ai?.growth?.bookAMeetingCard, r = n?.title ?? "Talk with an expert", i = n?.schedule ?? "Mon-Fri · 09:00-21:00 (CEST)", a = n?.actionLabel ?? "Book a meeting";
9547
- return /* @__PURE__ */ Z(Si, {
9545
+ return /* @__PURE__ */ Z(Gi, {
9548
9546
  className: "flex flex-col overflow-hidden",
9549
- children: [/* @__PURE__ */ Z(ia, {
9547
+ children: [/* @__PURE__ */ Z(ki, {
9550
9548
  className: "flex flex-col gap-3 p-0",
9551
9549
  children: [/* @__PURE__ */ X(V, {
9552
- icon: ji,
9550
+ icon: Pr,
9553
9551
  size: "lg"
9554
9552
  }), /* @__PURE__ */ Z("div", {
9555
9553
  className: "flex flex-col gap-0.5",
@@ -9561,7 +9559,7 @@ var xh = I(bh), Sh = ({ preview: e, moduleName: t, description: n, onAction: r,
9561
9559
  children: i
9562
9560
  })]
9563
9561
  })]
9564
- }), /* @__PURE__ */ X(fa, {
9562
+ }), /* @__PURE__ */ X(Ti, {
9565
9563
  className: "-mx-4 -mb-4 mt-4 flex justify-end rounded-b-xl border-0 border-t border-t-f1-border bg-f1-background-secondary px-4 py-3",
9566
9564
  children: t ? /* @__PURE__ */ X(B, {
9567
9565
  variant: "default",
@@ -9607,9 +9605,9 @@ var xh = I(bh), Sh = ({ preview: e, moduleName: t, description: n, onAction: r,
9607
9605
  e,
9608
9606
  t
9609
9607
  ]), g = a === u - 1, _ = u > 1, v = n != null;
9610
- return u === 0 || !d ? null : /* @__PURE__ */ Z(Si, {
9608
+ return u === 0 || !d ? null : /* @__PURE__ */ Z(Gi, {
9611
9609
  className: "flex flex-col overflow-hidden",
9612
- children: [/* @__PURE__ */ Z(ia, {
9610
+ children: [/* @__PURE__ */ Z(ki, {
9613
9611
  className: "flex flex-col gap-4",
9614
9612
  children: [/* @__PURE__ */ X("h3", {
9615
9613
  className: "text-base font-semibold text-f1-foreground",
@@ -9618,7 +9616,7 @@ var xh = I(bh), Sh = ({ preview: e, moduleName: t, description: n, onAction: r,
9618
9616
  className: "flex flex-col gap-3",
9619
9617
  children: d.options.map((e) => /* @__PURE__ */ X("div", {
9620
9618
  className: "flex items-center gap-2.5",
9621
- children: /* @__PURE__ */ X(Ds, {
9619
+ children: /* @__PURE__ */ X(Ts, {
9622
9620
  id: e.id,
9623
9621
  title: e.label,
9624
9622
  checked: f.includes(e.id),
@@ -9626,7 +9624,7 @@ var xh = I(bh), Sh = ({ preview: e, moduleName: t, description: n, onAction: r,
9626
9624
  })
9627
9625
  }, e.id))
9628
9626
  })]
9629
- }), /* @__PURE__ */ Z(fa, {
9627
+ }), /* @__PURE__ */ Z(Ti, {
9630
9628
  className: "-mx-4 -mb-4 mt-4 flex items-center justify-between rounded-b-xl border-0 border-t border-t-f1-border bg-f1-background-secondary px-4 py-3",
9631
9629
  children: [/* @__PURE__ */ X("div", {
9632
9630
  className: "flex min-w-[7.5rem] items-center justify-start gap-1",
@@ -9638,7 +9636,7 @@ var xh = I(bh), Sh = ({ preview: e, moduleName: t, description: n, onAction: r,
9638
9636
  className: "flex h-8 w-8 shrink-0 items-center justify-center rounded text-f1-foreground-secondary transition-colors hover:bg-f1-background-tertiary hover:text-f1-foreground disabled:pointer-events-none disabled:opacity-50",
9639
9637
  "aria-label": "Previous",
9640
9638
  children: /* @__PURE__ */ X(V, {
9641
- icon: Lo,
9639
+ icon: $o,
9642
9640
  size: "sm"
9643
9641
  })
9644
9642
  }),
@@ -9657,7 +9655,7 @@ var xh = I(bh), Sh = ({ preview: e, moduleName: t, description: n, onAction: r,
9657
9655
  className: "flex h-8 w-8 shrink-0 items-center justify-center rounded text-f1-foreground-secondary transition-colors hover:bg-f1-background-tertiary hover:text-f1-foreground disabled:pointer-events-none disabled:opacity-50",
9658
9656
  "aria-label": "Next",
9659
9657
  children: /* @__PURE__ */ X(V, {
9660
- icon: Zs,
9658
+ icon: As,
9661
9659
  size: "sm"
9662
9660
  })
9663
9661
  })
@@ -10149,7 +10147,7 @@ function ug(e, t) {
10149
10147
  n.href = URL.createObjectURL(e), n.download = t, n.click(), URL.revokeObjectURL(n.href);
10150
10148
  }
10151
10149
  async function dg(e, t, n, { keys: r, preamble: i } = {}) {
10152
- ug(await pa([{
10150
+ ug(await fa([{
10153
10151
  name: "Data",
10154
10152
  rows: cg({
10155
10153
  columns: e,
@@ -10171,7 +10169,7 @@ function pg(e, t, n) {
10171
10169
  r.href = e, r.download = `${t}.${n}`, r.click();
10172
10170
  }
10173
10171
  async function mg(e, t) {
10174
- ug(await pa(e.map((e) => ({
10172
+ ug(await fa(e.map((e) => ({
10175
10173
  name: e.name,
10176
10174
  rows: cg(e)
10177
10175
  }))), `${t}.xlsx`);
@@ -10235,24 +10233,24 @@ function _g({ chartContainerRef: e, chartConfig: t, data: n, title: r }) {
10235
10233
  ...t.type === "matrix" ? [] : [
10236
10234
  {
10237
10235
  label: i("ai.dataDownload.download", { format: "PNG" }),
10238
- icon: pr,
10236
+ icon: Or,
10239
10237
  onClick: () => a("png")
10240
10238
  },
10241
10239
  {
10242
10240
  label: i("ai.dataDownload.download", { format: "JPG" }),
10243
- icon: pr,
10241
+ icon: Or,
10244
10242
  onClick: () => a("jpg")
10245
10243
  },
10246
10244
  { type: "separator" }
10247
10245
  ],
10248
10246
  {
10249
10247
  label: i("ai.dataDownload.download", { format: "Excel" }),
10250
- icon: Dr,
10248
+ icon: ma,
10251
10249
  onClick: s
10252
10250
  },
10253
10251
  {
10254
10252
  label: i("ai.dataDownload.download", { format: "CSV" }),
10255
- icon: Dr,
10253
+ icon: ma,
10256
10254
  onClick: c
10257
10255
  }
10258
10256
  ] : [], [
@@ -10340,18 +10338,18 @@ function yg({ filters: e, value: t, onChange: n, onOpenChange: r }) {
10340
10338
  let e = o.current?.querySelector("[aria-invalid=\"true\"]");
10341
10339
  e ? e.focus() : f(null);
10342
10340
  };
10343
- return Object.keys(_).length === 0 ? null : /* @__PURE__ */ Z(hc, {
10341
+ return Object.keys(_).length === 0 ? null : /* @__PURE__ */ Z(dc, {
10344
10342
  open: l,
10345
10343
  onOpenChange: (e) => {
10346
10344
  u(e), r?.(e), !e && (f(null), m(t));
10347
10345
  },
10348
10346
  modal: !1,
10349
10347
  children: [
10350
- /* @__PURE__ */ X(oc, {
10348
+ /* @__PURE__ */ X(tc, {
10351
10349
  asChild: !0,
10352
10350
  children: /* @__PURE__ */ X(rr, {
10353
10351
  label: i.filters.label,
10354
- icon: Fo,
10352
+ icon: is,
10355
10353
  variant: "ghost",
10356
10354
  size: "md",
10357
10355
  hideLabel: !0,
@@ -10374,7 +10372,7 @@ function yg({ filters: e, value: t, onChange: n, onOpenChange: r }) {
10374
10372
  ")"
10375
10373
  ]
10376
10374
  }) : null,
10377
- /* @__PURE__ */ X(fc, {
10375
+ /* @__PURE__ */ X(cc, {
10378
10376
  ref: o,
10379
10377
  "aria-label": i.filters.label,
10380
10378
  className: "w-[380px] max-w-[calc(100vw-1rem)] rounded-xl border border-solid border-f1-border-secondary p-0 shadow-md",
@@ -10388,7 +10386,7 @@ function yg({ filters: e, value: t, onChange: n, onOpenChange: r }) {
10388
10386
  className: "flex shrink-0 items-center gap-2 py-1.5 pl-1.5 pr-3",
10389
10387
  children: g ? /* @__PURE__ */ Z(Y, { children: [/* @__PURE__ */ X(B, {
10390
10388
  label: i.filters.availableFilters,
10391
- icon: os,
10389
+ icon: Vo,
10392
10390
  hideLabel: !0,
10393
10391
  variant: "ghost",
10394
10392
  size: "sm",
@@ -10422,7 +10420,7 @@ function yg({ filters: e, value: t, onChange: n, onOpenChange: r }) {
10422
10420
  onClick: w,
10423
10421
  label: i.filters.applySelection
10424
10422
  })
10425
- })] }) : /* @__PURE__ */ X(Cs, {
10423
+ })] }) : /* @__PURE__ */ X(xs, {
10426
10424
  definition: _,
10427
10425
  tempFilters: p,
10428
10426
  selectedFilterKey: g,
@@ -10483,7 +10481,7 @@ function Sg({ title: e, enabled: t, actionsCollapse: n }) {
10483
10481
  //#endregion
10484
10482
  //#region src/domains/platform/ai/analytics/F0AnalyticsDashboard/components/DashboardItem/DashboardItem.tsx
10485
10483
  function Cg({ title: e, description: t, info: n, isLoading: r, error: i, onRetry: a, skeleton: o, children: s, actions: c = [], itemFilters: l, editMode: u, readOnly: d = !1, handleDelete: f, onAskAi: p, onAskAiTarget: m, itemId: h, chartTypeOptions: g, explanation: _, isFullscreen: v = !1, descriptionAction: b, headerLines: x = 2, fitContent: S = !1, onFullscreenChange: C }) {
10486
- let [w, T] = J(!1), [E, D] = J(!1), O = q(!1), [k, A] = J(!1), j = L(), { enabled: M, setPendingQuote: ee, setOpen: N, focusChatInput: P } = Ar(), te = (e) => {
10484
+ let [w, T] = J(!1), [E, D] = J(!1), O = q(!1), [k, A] = J(!1), j = L(), { enabled: M, setPendingQuote: ee, setOpen: N, focusChatInput: P } = Tr(), te = (e) => {
10487
10485
  T(e), e || A(!1);
10488
10486
  }, ne = c.filter((e) => !("type" in e) || e.type === "item" || e.type === void 0), re = ne.length > 0, F = u && f && h, ie = g && g.length > 0, ae = !!_ && _.trim().length > 0, oe = !!C, se = !d && e.trim().length > 0 && (p ? !!h : M), ce = se || re || F || ie || ae, le = !!l || oe || !!ce, ue = !v && (w || E), de = z("flex flex-shrink-0 gap-0.5", !v && "opacity-100 transition-opacity delay-150 duration-150 focus-within:delay-0 group-hover/dashitem:delay-0 sm:[@media(hover:hover)]:opacity-0 focus-within:sm:opacity-100 group-hover/dashitem:sm:opacity-100", ue && "delay-0 !opacity-100"), fe = z("-my-2 -mr-0.5 isolate grid flex-shrink-0", !v && "transition-[grid-template-columns] delay-150 duration-150 focus-within:delay-0 group-hover/dashitem:delay-0 motion-reduce:duration-0 sm:[@media(hover:hover)]:grid-cols-[0fr] focus-within:sm:grid-cols-[1fr] group-hover/dashitem:sm:grid-cols-[1fr]", ue && "delay-0 !grid-cols-[1fr]"), pe = Sg({
10489
10487
  title: e,
@@ -10507,7 +10505,7 @@ function Cg({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
10507
10505
  }), ee(t), N(!0);
10508
10506
  }, _e = (e) => {
10509
10507
  O.current && (O.current = !1, P() && e.preventDefault());
10510
- }, ve = se ? /* @__PURE__ */ X(mc, { children: /* @__PURE__ */ X(pc, {
10508
+ }, ve = se ? /* @__PURE__ */ X(uc, { children: /* @__PURE__ */ X(lc, {
10511
10509
  onClick: ge,
10512
10510
  children: /* @__PURE__ */ Z("div", {
10513
10511
  className: "flex w-full flex-row items-center gap-2",
@@ -10541,14 +10539,14 @@ function Cg({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
10541
10539
  children: [l ? /* @__PURE__ */ X(yg, {
10542
10540
  ...l,
10543
10541
  onOpenChange: D
10544
- }) : null, se ? /* @__PURE__ */ Z(cc, {
10542
+ }) : null, se ? /* @__PURE__ */ Z(rc, {
10545
10543
  open: w,
10546
10544
  onOpenChange: te,
10547
- children: [/* @__PURE__ */ X(gc, {
10545
+ children: [/* @__PURE__ */ X(fc, {
10548
10546
  asChild: !0,
10549
10547
  children: /* @__PURE__ */ X(rr, {
10550
10548
  label: j.actions.other,
10551
- icon: tc,
10549
+ icon: gc,
10552
10550
  variant: "ghost",
10553
10551
  size: "md",
10554
10552
  hideLabel: !0,
@@ -10556,7 +10554,7 @@ function Cg({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
10556
10554
  compact: !0,
10557
10555
  onClick: (e) => e.stopPropagation()
10558
10556
  })
10559
- }), /* @__PURE__ */ X(lc, {
10557
+ }), /* @__PURE__ */ X(ac, {
10560
10558
  align: "end",
10561
10559
  className: "py-1",
10562
10560
  onCloseAutoFocus: _e,
@@ -10614,21 +10612,21 @@ function Cg({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
10614
10612
  }) : null,
10615
10613
  oe ? /* @__PURE__ */ X(rr, {
10616
10614
  label: v ? j.actions.collapse : j.actions.expand,
10617
- icon: v ? oa : ki,
10615
+ icon: v ? sa : Nr,
10618
10616
  variant: "ghost",
10619
10617
  size: "md",
10620
10618
  hideLabel: !0,
10621
10619
  compact: !0,
10622
10620
  onClick: () => C?.(!v)
10623
10621
  }) : null,
10624
- ce ? /* @__PURE__ */ Z(cc, {
10622
+ ce ? /* @__PURE__ */ Z(rc, {
10625
10623
  open: w,
10626
10624
  onOpenChange: te,
10627
- children: [/* @__PURE__ */ X(gc, {
10625
+ children: [/* @__PURE__ */ X(fc, {
10628
10626
  asChild: !0,
10629
10627
  children: /* @__PURE__ */ X(rr, {
10630
10628
  label: j.actions.other,
10631
- icon: tc,
10629
+ icon: gc,
10632
10630
  variant: "ghost",
10633
10631
  size: "md",
10634
10632
  hideLabel: !0,
@@ -10636,13 +10634,13 @@ function Cg({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
10636
10634
  compact: !0,
10637
10635
  onClick: (e) => e.stopPropagation()
10638
10636
  })
10639
- }), /* @__PURE__ */ X(lc, {
10637
+ }), /* @__PURE__ */ X(ac, {
10640
10638
  align: "end",
10641
10639
  className: z("py-1", k && "w-96 max-w-[90vw]"),
10642
10640
  onCloseAutoFocus: _e,
10643
10641
  children: k && ae ? /* @__PURE__ */ X("div", {
10644
10642
  className: "px-3 py-2 text-base text-f1-foreground [&>div]:flex [&>div]:flex-col [&>div]:gap-2",
10645
- children: /* @__PURE__ */ X(Ai, {
10643
+ children: /* @__PURE__ */ X(Pi, {
10646
10644
  content: _,
10647
10645
  format: "markdown"
10648
10646
  })
@@ -10668,29 +10666,29 @@ function Cg({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
10668
10666
  fullWidth: !0
10669
10667
  })]
10670
10668
  }) : null,
10671
- ae ? /* @__PURE__ */ X(mc, { children: /* @__PURE__ */ X(pc, {
10669
+ ae ? /* @__PURE__ */ X(uc, { children: /* @__PURE__ */ X(lc, {
10672
10670
  onSelect: (e) => {
10673
10671
  e.preventDefault(), A(!0);
10674
10672
  },
10675
10673
  children: /* @__PURE__ */ Z("div", {
10676
10674
  className: "flex w-full flex-row items-center gap-2",
10677
- children: [/* @__PURE__ */ X(V, { icon: Bo }), /* @__PURE__ */ X("span", {
10675
+ children: [/* @__PURE__ */ X(V, { icon: go }), /* @__PURE__ */ X("span", {
10678
10676
  className: "flex-1",
10679
10677
  children: j.ai.dashboardItem.dataExplanation
10680
10678
  })]
10681
10679
  })
10682
10680
  }) }) : null,
10683
10681
  ve,
10684
- re ? /* @__PURE__ */ X(mc, { children: /* @__PURE__ */ Z(sc, { children: [/* @__PURE__ */ X(ac, {
10682
+ re ? /* @__PURE__ */ X(uc, { children: /* @__PURE__ */ Z(nc, { children: [/* @__PURE__ */ X(ec, {
10685
10683
  className: "mx-1 rounded-sm px-2",
10686
10684
  children: /* @__PURE__ */ Z("div", {
10687
10685
  className: "flex w-full flex-row items-center gap-2 pr-2",
10688
- children: [/* @__PURE__ */ X(V, { icon: $i }), /* @__PURE__ */ X("span", {
10686
+ children: [/* @__PURE__ */ X(V, { icon: Xi }), /* @__PURE__ */ X("span", {
10689
10687
  className: "flex-1 text-base font-medium",
10690
10688
  children: j.ai.dataDownload.title
10691
10689
  })]
10692
10690
  })
10693
- }), /* @__PURE__ */ X(uc, { children: /* @__PURE__ */ X(_c, { children: ne.map((e) => /* @__PURE__ */ X(pc, {
10691
+ }), /* @__PURE__ */ X(oc, { children: /* @__PURE__ */ X(pc, { children: ne.map((e) => /* @__PURE__ */ X(lc, {
10694
10692
  onClick: e.onClick,
10695
10693
  children: /* @__PURE__ */ Z("div", {
10696
10694
  className: "flex w-full flex-row items-center gap-2",
@@ -10700,14 +10698,14 @@ function Cg({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
10700
10698
  })]
10701
10699
  })
10702
10700
  }, e.label)) }) })] }) }) : null,
10703
- F ? /* @__PURE__ */ X(mc, { children: /* @__PURE__ */ X(pc, {
10701
+ F ? /* @__PURE__ */ X(uc, { children: /* @__PURE__ */ X(lc, {
10704
10702
  onClick: () => {
10705
10703
  v && C?.(!1), f(h);
10706
10704
  },
10707
10705
  className: z("text-f1-foreground-critical"),
10708
10706
  children: /* @__PURE__ */ Z("div", {
10709
10707
  className: "flex w-full flex-row items-center gap-2",
10710
- children: [/* @__PURE__ */ X(V, { icon: Ii }), /* @__PURE__ */ X("span", {
10708
+ children: [/* @__PURE__ */ X(V, { icon: mi }), /* @__PURE__ */ X("span", {
10711
10709
  className: "flex-1",
10712
10710
  children: j.actions.delete
10713
10711
  })]
@@ -10841,39 +10839,39 @@ function Fg(e) {
10841
10839
  {
10842
10840
  label: e.dataChart.barChartVertical,
10843
10841
  value: "bar-vertical",
10844
- icon: Wr,
10842
+ icon: Br,
10845
10843
  type: "bar",
10846
10844
  orientation: "vertical"
10847
10845
  },
10848
10846
  {
10849
10847
  label: e.dataChart.barChartHorizontal,
10850
10848
  value: "bar-horizontal",
10851
- icon: zr,
10849
+ icon: Vr,
10852
10850
  type: "bar",
10853
10851
  orientation: "horizontal"
10854
10852
  },
10855
10853
  {
10856
10854
  label: e.dataChart.lineChart,
10857
10855
  value: "line",
10858
- icon: xr,
10856
+ icon: aa,
10859
10857
  type: "line"
10860
10858
  },
10861
10859
  {
10862
10860
  label: e.dataChart.funnel,
10863
10861
  value: "funnel",
10864
- icon: Mi,
10862
+ icon: br,
10865
10863
  type: "funnel"
10866
10864
  },
10867
10865
  {
10868
10866
  label: e.dataChart.pieChart,
10869
10867
  value: "pie",
10870
- icon: Sr,
10868
+ icon: vr,
10871
10869
  type: "pie"
10872
10870
  },
10873
10871
  {
10874
10872
  label: e.dataChart.table,
10875
10873
  value: "table",
10876
- icon: Dr,
10874
+ icon: ma,
10877
10875
  type: "table"
10878
10876
  }
10879
10877
  ];
@@ -11068,7 +11066,7 @@ function Ug(e) {
11068
11066
  return Ph(e.chart) && e.chart.type === "bar" && "orientation" in e.chart && e.chart.orientation === "horizontal";
11069
11067
  }
11070
11068
  function Wg({ item: e, filters: t, actions: n, itemFilters: r, editMode: i, readOnly: a, handleDelete: o, onAskAi: s, onAskAiTarget: c, onTransformChart: l, isFullscreen: u, onFullscreenChange: d }) {
11071
- let f = L(), [p, m] = J("chart"), { enabled: h, setPendingQuote: g, setOpen: _, focusChatInput: v } = Ar(), y = !Ph(e.chart), b = y ? Ig : e.chart, [x, S] = J(null), C = e.useDashboardFilters !== !1, w = JSON.stringify(r?.value ?? {}), { data: T, isLoading: E, error: D, retry: O } = vg(e.fetchData, t, C, w), k = q(null), A = K(() => T && !y ? zg(e, T) : void 0, [
11069
+ let f = L(), [p, m] = J("chart"), { enabled: h, setPendingQuote: g, setOpen: _, focusChatInput: v } = Tr(), y = !Ph(e.chart), b = y ? Ig : e.chart, [x, S] = J(null), C = e.useDashboardFilters !== !1, w = JSON.stringify(r?.value ?? {}), { data: T, isLoading: E, error: D, retry: O } = vg(e.fetchData, t, C, w), k = q(null), A = K(() => T && !y ? zg(e, T) : void 0, [
11072
11070
  e,
11073
11071
  T,
11074
11072
  y
@@ -11303,11 +11301,11 @@ function Qg({ source: e, title: t, description: n, columns: r, tableSettings: i
11303
11301
  ]), l = W(() => c("excel"), [c]), u = W(() => c("csv"), [c]);
11304
11302
  return K(() => e ? [{
11305
11303
  label: a("ai.dataDownload.download", { format: "Excel" }),
11306
- icon: Dr,
11304
+ icon: ma,
11307
11305
  onClick: l
11308
11306
  }, {
11309
11307
  label: a("ai.dataDownload.download", { format: "CSV" }),
11310
- icon: Dr,
11308
+ icon: ma,
11311
11309
  onClick: u
11312
11310
  }] : [], [
11313
11311
  e,
@@ -11428,12 +11426,12 @@ function r_({ value: e, trend: t, comparison: n }) {
11428
11426
  className: "flex shrink-0 items-center",
11429
11427
  children: [
11430
11428
  t.direction === "up" ? /* @__PURE__ */ X(V, {
11431
- icon: Ko,
11429
+ icon: es,
11432
11430
  color: "positive",
11433
11431
  size: "sm",
11434
11432
  "aria-hidden": "true"
11435
11433
  }) : /* @__PURE__ */ X(V, {
11436
- icon: fs,
11434
+ icon: qo,
11437
11435
  color: "critical",
11438
11436
  size: "sm",
11439
11437
  "aria-hidden": "true"
@@ -11635,7 +11633,7 @@ function p_({ items: e, itemFilters: t, itemDownloadActions: n, filters: r, edit
11635
11633
  if (Math.hypot(t.clientX - n, t.clientY - r) < c_) return;
11636
11634
  i = !0, E(e), N.current = Array.from(document.querySelectorAll("[data-ai-chat-dropzone]"));
11637
11635
  let a = A.current.get(e)?.title ?? "";
11638
- a && window.dispatchEvent(new CustomEvent(Gr, { detail: {
11636
+ a && window.dispatchEvent(new CustomEvent(Hr, { detail: {
11639
11637
  id: e,
11640
11638
  title: a,
11641
11639
  onAskAi: l,
@@ -11649,7 +11647,7 @@ function p_({ items: e, itemFilters: t, itemDownloadActions: n, filters: r, edit
11649
11647
  }, o = (e) => {
11650
11648
  document.removeEventListener("pointermove", a), document.removeEventListener("pointerup", s), document.removeEventListener("pointercancel", c), P.current = null;
11651
11649
  let t = j.current, n = M.current;
11652
- e && i && t && n && te(t, n), j.current = null, M.current = null, N.current = [], E(null), O(null), i && window.dispatchEvent(new CustomEvent(Er));
11650
+ e && i && t && n && te(t, n), j.current = null, M.current = null, N.current = [], E(null), O(null), i && window.dispatchEvent(new CustomEvent(Cr));
11653
11651
  }, s = (e) => {
11654
11652
  i && (N.current = Array.from(document.querySelectorAll("[data-ai-chat-dropzone]")), M.current = ne(e.clientX, e.clientY)), o(!0);
11655
11653
  }, c = () => o(!1);
@@ -11830,7 +11828,7 @@ function m_({ id: e, isDragging: t, showIndicatorBefore: n, showIndicatorAfter:
11830
11828
  className: "shadow-sm absolute -left-3 top-2.5 z-20 flex cursor-grab touch-none items-center justify-center rounded bg-f1-background p-2 opacity-0 transition-opacity hover:bg-f1-background-hover active:cursor-grabbing group-hover/rowitem:opacity-100",
11831
11829
  "aria-label": "Drag to reorder",
11832
11830
  children: /* @__PURE__ */ X(V, {
11833
- icon: Mr,
11831
+ icon: Ur,
11834
11832
  size: "xs"
11835
11833
  })
11836
11834
  }) : null, s]
@@ -12000,16 +11998,16 @@ function O_({ item: e, filters: t, actions: n, itemFilters: r, editMode: i, read
12000
11998
  //#region src/domains/platform/ai/analytics/F0AnalyticsDashboard/components/ExportDropdown/ExportDropdown.tsx
12001
11999
  function k_({ onExportExcel: e, isExporting: t }) {
12002
12000
  let { t: n } = L();
12003
- return /* @__PURE__ */ X(Hr, { items: [{
12001
+ return /* @__PURE__ */ X(Lr, { items: [{
12004
12002
  label: t ? n("ai.dataDownload.exporting") : n("ai.dataDownload.exportDashboard", { format: "Excel" }),
12005
- icon: $i,
12003
+ icon: Xi,
12006
12004
  onClick: t ? () => {} : e
12007
12005
  }] });
12008
12006
  }
12009
12007
  //#endregion
12010
12008
  //#region src/blocks/OneFilterPicker/internal/ControlledOneFilterPicker.tsx
12011
12009
  function A_(e) {
12012
- return /* @__PURE__ */ X(bs.Provider, {
12010
+ return /* @__PURE__ */ X(vs.Provider, {
12013
12011
  value: "controlled",
12014
12012
  children: /* @__PURE__ */ X(Ls, { ...e })
12015
12013
  });
@@ -12156,7 +12154,7 @@ function L_({ items: e, filters: t, filename: n = "dashboard" }) {
12156
12154
  //#endregion
12157
12155
  //#region src/domains/platform/ai/analytics/F0AnalyticsDashboard/F0AnalyticsDashboard.tsx
12158
12156
  var R_ = ({ filters: e, presets: t, defaultFilters: n, filtersValue: r, onFiltersChange: i, items: a, itemFilters: o, itemDownloadActions: s, editMode: c, readOnly: l = !1, onLayoutChange: u, enableExport: d, exportFilename: f, onExportReady: p, resetKey: m, onTransformChart: h, onAskAi: g, onAskAiTarget: _, navigationFilters: v, filtersLoading: y }) => {
12159
- let b = L(), [x = {}, S] = ic({
12157
+ let b = L(), [x = {}, S] = $s({
12160
12158
  prop: r,
12161
12159
  defaultProp: n ?? {},
12162
12160
  onChange: i
@@ -12972,7 +12970,7 @@ var wv = ({ onClose: e }) => {
12972
12970
  className: "dark flex-shrink-0",
12973
12971
  children: /* @__PURE__ */ X(B, {
12974
12972
  variant: "outline",
12975
- icon: wi,
12973
+ icon: bi,
12976
12974
  size: "sm",
12977
12975
  hideLabel: !0,
12978
12976
  onClick: e,
@@ -13001,7 +12999,7 @@ var wv = ({ onClose: e }) => {
13001
12999
  onClick: () => n(e)
13002
13000
  }, `button-${e.label}`))]
13003
13001
  }), Dv = (e, t) => {
13004
- let n = ts(e);
13002
+ let n = rs(e);
13005
13003
  return {
13006
13004
  buttonActions: n.filter((e) => e.type === "button"),
13007
13005
  linkActions: n.filter((e) => e.type === "link"),
@@ -13050,14 +13048,14 @@ var wv = ({ onClose: e }) => {
13050
13048
  _ ? /* @__PURE__ */ X("div", {
13051
13049
  className: "flex-shrink-0",
13052
13050
  "aria-hidden": "true",
13053
- children: /* @__PURE__ */ X(qo, {
13051
+ children: /* @__PURE__ */ X(Ko, {
13054
13052
  size: "small",
13055
13053
  className: "text-f1-foreground-inverse"
13056
13054
  })
13057
13055
  }) : g && /* @__PURE__ */ X("div", {
13058
13056
  className: "flex-shrink-0",
13059
13057
  "aria-hidden": "true",
13060
- children: /* @__PURE__ */ X(ni, {
13058
+ children: /* @__PURE__ */ X(ti, {
13061
13059
  type: g,
13062
13060
  size: "sm"
13063
13061
  })
@@ -13117,7 +13115,7 @@ var Iv = (e) => e instanceof Element && e.closest("button, a") !== null, Lv = Mc
13117
13115
  children: [
13118
13116
  /* @__PURE__ */ X("div", {
13119
13117
  className: "flex-shrink-0",
13120
- children: /* @__PURE__ */ X(Ao, {
13118
+ children: /* @__PURE__ */ X(Eo, {
13121
13119
  avatar: e,
13122
13120
  size: "md"
13123
13121
  })
@@ -13392,7 +13390,7 @@ var Rv = z("group/toast pointer-events-auto absolute left-0 right-0 top-0 flex w
13392
13390
  ...t,
13393
13391
  children: /* @__PURE__ */ X(ro, { children: /* @__PURE__ */ X(Ze, {
13394
13392
  initiallyEnabled: n,
13395
- children: /* @__PURE__ */ X(ho, {
13393
+ children: /* @__PURE__ */ X(po, {
13396
13394
  ...r,
13397
13395
  children: e
13398
13396
  })
@@ -13432,7 +13430,7 @@ var Rv = z("group/toast pointer-events-auto absolute left-0 right-0 top-0 flex w
13432
13430
  newButtonStyles: f,
13433
13431
  children: /* @__PURE__ */ X(cy, {
13434
13432
  ...t,
13435
- children: /* @__PURE__ */ X(Kr, {
13433
+ children: /* @__PURE__ */ X(Wr, {
13436
13434
  handler: l,
13437
13435
  children: /* @__PURE__ */ X(va, { children: /* @__PURE__ */ X(ft, {
13438
13436
  ...h,
@@ -13452,4 +13450,4 @@ var Rv = z("group/toast pointer-events-auto absolute left-0 right-0 top-0 flex w
13452
13450
  })
13453
13451
  });
13454
13452
  //#endregion
13455
- export { eo as AiChatTranslationsProvider, g as AreaChart, Io as Await, p as BarChart, ze as BarChartSkeleton, Ut as CardSelectableContainer, ce as CategoryBarChart, ti as ChatSpinner, Qs as Chip, Fa as CollapsibleGroup, bt as ComboChart, Dt as DATA_COLLECTION_URL_PARAMS, dt as DATA_COLLECTION_URL_PARAM_PREFIX, Ul as Dashboard, we as DataChartEmptyStateView, hn as DataTestIdWrapper, St as DndProvider, jr as DropOverlay, er as EmojiImage, id as F0Accordion, Ye as F0ActionBar, $r as F0ActionItem, fr as F0AiChat, Za as F0AiChatHeader, Ya as F0AiChatHistory, qr as F0AiChatProvider, Sa as F0AiChatTextArea, no as F0AiChatUsageLimitsButton, ya as F0AiFileAttachments, pi as F0AiFilePreviewsProvider, ur as F0AiFormRegistryProvider, za as F0AiInsightCard, Qa as F0AiMask, La as F0AiMessageSources, $a as F0AiMessagesContainer, Xr as F0AiPong, Xa as F0AiProcessingOverlay, qa as F0AiProposalCard, Ia as F0AiTableCard, Sc as F0Alert, z_ as F0AnalyticsDashboard, Ci as F0AudioPlayer, bi as F0AudioPlayerCard, Ma as F0AuraVoiceAnimation, Ao as F0Avatar, ni as F0AvatarAlert, mo as F0AvatarCompany, hr as F0AvatarDate, _o as F0AvatarEmoji, xo as F0AvatarFile, yo as F0AvatarIcon, No as F0AvatarList, Do as F0AvatarModule, wo as F0AvatarPerson, To as F0AvatarTeam, Ju as F0BigNumber, Eh as F0BookAMeetingCard, H as F0Box, B as F0Button, br as F0ButtonDropdown, Qo as F0ButtonToggle, ha as F0CanvasCard, Yi as F0CanvasPanel, Ri as F0Card, ai as F0CardRow, ga as F0ChatComposer, Ds as F0Checkbox, sd as F0ChipList, to as F0ClarifyingPanel, Yt as F0DataChart, Me as F0DatePicker, O as F0DatePickerInline, Sh as F0DemoCard, la as F0Dialog, ke as F0DialogAlikeContext, b as F0DialogAlikeProvider, Jo as F0DialogContext, hs as F0DialogProvider, Tc as F0DocumentViewer, md as F0Drawer, pn as F0DurationInput, qs as F0EventCatcherProvider, wh as F0FAQCard, Nr as F0FileItem, _d as F0FilterPickerContent, d as F0Form, jd as F0FormField, Nl as F0GridStack, Ra as F0HILActionConfirmation, m as F0Heading, V as F0Icon, ls as F0Link, Vu as F0MatrixChart, Th as F0ModuleCard, rn as F0NotesTextEditor, ye as F0NotesTextEditorSkeleton, N as F0NumberInput, E as F0NumberInputInline, Qr as F0OneIcon, Ei as F0OneSwitch, Cc as F0PdfViewer, dy as F0Provider, Dh as F0QuestionCardMultiStep, Ai as F0RichTextDisplay, F as F0RichTextEditor, ks as F0SearchInput, Bs as F0Select, te as F0SelectInline, vf as F0Slider, Pf as F0TableOfContentPopover, Go as F0TagAlert, gs as F0TagBalance, Yo as F0TagCompany, Is as F0TagDot, Ks as F0TagList, Zo as F0TagPerson, ds as F0TagRaw, cs as F0TagStatus, Uo as F0TagTeam, xc as F0Text, de as F0TextAreaInput, ie as F0TextAreaInputInline, fi as F0TextInput, ne as F0TextInputInline, Se as F0TimelineRow, Dc as F0VideoPlayer, ef as F0WizardForm, Os as F1SearchBox, _ as FILE_TYPES, Gi as FileItem, va as FormCardValueFormatterProvider, Zt as FunnelChartSkeleton, ko as GROUP_ID_SYMBOL, Mo as GROUP_KEY_SEPARATOR, dn as GaugeChartSkeleton, Ge as HeatmapChartSkeleton, au as HomeLayout, l as InlineFieldRow, tn as InlineFieldRowList, _i as Input, nu as Layout, o as LineChart, sn as LineChartSkeleton, ct as MAX_URL_FILTER_VALUES, Uu as MatrixChartSkeleton, c as NotesTextEditor, $t as NotesTextEditorSkeleton, _e as NumberInput, ys as OneCalendar, or as OneEllipsis, y as OneEmptyState, Ls as OneFilterPicker, _t as PieChart, xe as PieChartSkeleton, wr as PongBall, Ze as PrivacyModeProvider, lh as ProductBlankslate, Xt as ProductCard, fh as ProductModal, mh as ProductWidget, re as ProgressBarChart, ae as RadarChart, u as RadarChartSkeleton, Ir as RichTextDisplay, ue as RichTextEditor, nn as ScatterChartSkeleton, ru as StandardLayout, gm as SurveyAllQuestionsLoadingSkeleton, Qm as SurveyAnsweringForm, cm as SurveyFormBuilder, rh as SurveySampleQuestion, _m as SurveySteppedLoadingSkeleton, ss as Tag, Xs as TagCounter, v as Textarea, Ua as ThreadItem, Ka as ThreadListSkeleton, ay as ToastProvider, iu as TwoColumnLayout, T as UPLOAD_INPUT_ID, P as UpsellRequestResponseDialog, _h as UpsellingAlert, yh as UpsellingBanner, D as UpsellingButton, xh as UpsellingPopover, fe as VerticalBarChart, xs as WeekStartDay, Oa as WelcomeScreenCardsRow, Ct as actionBarStatuses, xa as actionItemStatuses, Xi as adaptDataAdapterToInfiniteScroll, Va as aiChatFileFromShowFilesItem, wa as aiChatFileFromUploadedFile, Ta as aiChatFilesFromMessage, Da as aiChatMessageText, _a as aiTranslations, ud as alertVariantOptions, Qu as audioPlayerSizes, ou as avatarVariants, Be as buildDataCollectionUrlParams, gn as buildTranslations, Zu as buttonDropdownModes, Xu as buttonDropdownSizes, Yu as buttonDropdownVariants, zl as buttonSizes, mt as buttonToggleColors, He as buttonToggleSizes, Mt as buttonToggleVariants, Rl as buttonVariants, Qi as cardAlertVariants, Di as cardImageAspectRatios, oi as cardImageFits, Bi as cardImageSizes, qi as cardLayouts, Vs as chartColorTokens, Ja as chatHistoryIndicators, Ba as chatThreadStatuses, Ro as chipVariants, zf as computeSectionEndIds, Ec as configurePdfWorker, Wa as contentTypes, Jt as createAtlaskitDriver, Ho as createDataSourceDefinition, xd as createF0FormDefinitionTester, bd as createF0FormTester, Il as createPageLayoutBlock, Ll as createPageLayoutBlockGroup, Ca as createPersonMentionSource, dd as dataCollectionLocalStorageHandler, cd as datePickerInlineDismissReasons, ld as datepickerSizes, fo as defaultTranslations, hi as defineAvailableForm, vd as describeFormSchema, ee as dialog, ee as dialogs, Lt as drawers, da as durationInputSizes, li as durationUnits, dr as escapeUserText, se as evaluateRenderIf, yn as experimental, kr as f0FileItemSizes, Pi as f0FormField, xi as fieldsToSeconds, Ff as flattenElements, aa as formatPlaybackTime, sf as forms, h as generateAnchorId, as as getAnimationVariants, Tr as getDataCollectionStorageKey, Xo as getDataSourcePaginationType, ir as getEmojiLabel, ea as getF0Config, Ws as getGranularityDefinition, Ns as getGranularityDefinitions, Ys as getGranularitySimpleDefinition, yt as getSchemaDefinition, Rs as granularityDefinitions, mi as hasF0Config, co as iconSets, vi as inferFieldType, Rf as injectSectionEnds, Oo as isInfiniteScrollPagination, jo as isPageBasedPagination, Ui as isZodType, $u as linkVariants, ba as markdownRenderers, ma as mergeDataCollectionFilters, po as modules, ja as oneIconSizes, Eo as paginationTotals, Qt as parseDataCollectionUrlParams, wc as pdfScales, Bt as predefinedPresets, Ts as rangeSeparator, mr as readDataCollectionStorage, Lf as reconstructElements, Yr as resolveDataCollectionFilters, As as resolveGranularityDefinition, At as resolveItemNeighbors, tt as resolveWindowNeighbors, ii as secondsToFields, ra as secondsToVisibleFields, cf as selectInlineDismissReasons, je as selectSizes, Fe as selectVariants, fn as setDataCollectionUrlParams, lf as sliderTooltipModes, nh as surveyDraftSaveTriggers, Ke as syncDataCollectionUrlParams, Sf as tagDotColors, bf as timelineRowApproverStatuses, yf as timelineRowStatuses, xf as timelineRowTagVariants, Vt as toasts, Ti as unwrapZodSchema, Ga as usageLimitsPopoverSides, Ar as useAiChat, ka as useAiChatTranslations, _r as useAudioPlayer, Pa as useCanvasEntity, Na as useChatHistory, bo as useData, Fs as useDataSource, n as useDataSourceItemNavigation, Ur as useDerivedTranscription, jt as useDndEvents, Ht as useDraggable, Je as useDroppableList, nr as useEmojiConfetti, Zi as useF0AiFormRegistry, ps as useF0Dialog, j as useF0DialogAlikeContext, be as useF0Form, kt as useF0FormDefinition, Ea as useFormCardValueFormatter, uy as useFormComponent, us as useGroups, io as useIconSet, B_ as useIsDesktop, V_ as useIsMobile, Kt as useItemNeighbors, it as usePrivacyMode, tr as useReducedMotion, a as useSchemaDefinition, Wo as useSelectable, Ha as useSetFormCardValueFormatter, Aa as useToolCallId, ao as useXRay, I as withDataTestId, cn as writeDataCollectionStorage };
13453
+ export { eo as AiChatTranslationsProvider, g as AreaChart, Ro as Await, p as BarChart, ze as BarChartSkeleton, Ut as CardSelectableContainer, ce as CategoryBarChart, ei as ChatSpinner, Qs as Chip, Fa as CollapsibleGroup, bt as ComboChart, Dt as DATA_COLLECTION_URL_PARAMS, dt as DATA_COLLECTION_URL_PARAM_PREFIX, Ul as Dashboard, we as DataChartEmptyStateView, hn as DataTestIdWrapper, St as DndProvider, Er as DropOverlay, er as EmojiImage, id as F0Accordion, Ye as F0ActionBar, Qr as F0ActionItem, mr as F0AiChat, Za as F0AiChatHeader, Ya as F0AiChatHistory, Kr as F0AiChatProvider, Sa as F0AiChatTextArea, no as F0AiChatUsageLimitsButton, ya as F0AiFileAttachments, hi as F0AiFilePreviewsProvider, ur as F0AiFormRegistryProvider, za as F0AiInsightCard, Qa as F0AiMask, La as F0AiMessageSources, $a as F0AiMessagesContainer, Yr as F0AiPong, Xa as F0AiProcessingOverlay, qa as F0AiProposalCard, Ia as F0AiTableCard, Sc as F0Alert, z_ as F0AnalyticsDashboard, Ei as F0AudioPlayer, Ci as F0AudioPlayerCard, Ma as F0AuraVoiceAnimation, Eo as F0Avatar, ti as F0AvatarAlert, ho as F0AvatarCompany, gr as F0AvatarDate, bo as F0AvatarEmoji, mo as F0AvatarFile, Co as F0AvatarIcon, No as F0AvatarList, _o as F0AvatarModule, Fo as F0AvatarPerson, Po as F0AvatarTeam, Ju as F0BigNumber, Eh as F0BookAMeetingCard, H as F0Box, B as F0Button, yr as F0ButtonDropdown, Qo as F0ButtonToggle, ha as F0CanvasCard, Zi as F0CanvasPanel, Bi as F0Card, ai as F0CardRow, ga as F0ChatComposer, Ts as F0Checkbox, sd as F0ChipList, to as F0ClarifyingPanel, Yt as F0DataChart, Me as F0DatePicker, O as F0DatePickerInline, Sh as F0DemoCard, ca as F0Dialog, ke as F0DialogAlikeContext, b as F0DialogAlikeProvider, Jo as F0DialogContext, ms as F0DialogProvider, Tc as F0DocumentViewer, md as F0Drawer, pn as F0DurationInput, Js as F0EventCatcherProvider, wh as F0FAQCard, Dr as F0FileItem, _d as F0FilterPickerContent, d as F0Form, jd as F0FormField, Nl as F0GridStack, Ra as F0HILActionConfirmation, m as F0Heading, V as F0Icon, ls as F0Link, Vu as F0MatrixChart, Th as F0ModuleCard, rn as F0NotesTextEditor, ye as F0NotesTextEditorSkeleton, N as F0NumberInput, E as F0NumberInputInline, Zr as F0OneIcon, Ai as F0OneSwitch, Cc as F0PdfViewer, dy as F0Provider, Dh as F0QuestionCardMultiStep, Pi as F0RichTextDisplay, F as F0RichTextEditor, Os as F0SearchInput, Bs as F0Select, te as F0SelectInline, vf as F0Slider, Pf as F0TableOfContentPopover, Go as F0TagAlert, hs as F0TagBalance, Yo as F0TagCompany, Is as F0TagDot, qs as F0TagList, Zo as F0TagPerson, Oo as F0TagRaw, cs as F0TagStatus, Uo as F0TagTeam, _c as F0Text, de as F0TextAreaInput, ie as F0TextAreaInputInline, pi as F0TextInput, ne as F0TextInputInline, Se as F0TimelineRow, Dc as F0VideoPlayer, ef as F0WizardForm, Es as F1SearchBox, _ as FILE_TYPES, Ki as FileItem, va as FormCardValueFormatterProvider, Zt as FunnelChartSkeleton, Ao as GROUP_ID_SYMBOL, Mo as GROUP_KEY_SEPARATOR, dn as GaugeChartSkeleton, Ge as HeatmapChartSkeleton, au as HomeLayout, l as InlineFieldRow, tn as InlineFieldRowList, yi as Input, nu as Layout, o as LineChart, sn as LineChartSkeleton, ct as MAX_URL_FILTER_VALUES, Uu as MatrixChartSkeleton, c as NotesTextEditor, $t as NotesTextEditorSkeleton, _e as NumberInput, _s as OneCalendar, or as OneEllipsis, y as OneEmptyState, Ls as OneFilterPicker, _t as PieChart, xe as PieChartSkeleton, xr as PongBall, Ze as PrivacyModeProvider, lh as ProductBlankslate, Xt as ProductCard, fh as ProductModal, mh as ProductWidget, re as ProgressBarChart, ae as RadarChart, u as RadarChartSkeleton, jr as RichTextDisplay, ue as RichTextEditor, nn as ScatterChartSkeleton, ru as StandardLayout, gm as SurveyAllQuestionsLoadingSkeleton, Qm as SurveyAnsweringForm, cm as SurveyFormBuilder, rh as SurveySampleQuestion, _m as SurveySteppedLoadingSkeleton, ss as Tag, Zs as TagCounter, v as Textarea, Ua as ThreadItem, Ka as ThreadListSkeleton, ay as ToastProvider, iu as TwoColumnLayout, T as UPLOAD_INPUT_ID, P as UpsellRequestResponseDialog, _h as UpsellingAlert, yh as UpsellingBanner, D as UpsellingButton, xh as UpsellingPopover, fe as VerticalBarChart, ys as WeekStartDay, Oa as WelcomeScreenCardsRow, Ct as actionBarStatuses, xa as actionItemStatuses, Qi as adaptDataAdapterToInfiniteScroll, Va as aiChatFileFromShowFilesItem, wa as aiChatFileFromUploadedFile, Ta as aiChatFilesFromMessage, Da as aiChatMessageText, _a as aiTranslations, ud as alertVariantOptions, Qu as audioPlayerSizes, ou as avatarVariants, Be as buildDataCollectionUrlParams, gn as buildTranslations, Zu as buttonDropdownModes, Xu as buttonDropdownSizes, Yu as buttonDropdownVariants, zl as buttonSizes, mt as buttonToggleColors, He as buttonToggleSizes, Mt as buttonToggleVariants, Rl as buttonVariants, ea as cardAlertVariants, ji as cardImageAspectRatios, oi as cardImageFits, Vi as cardImageSizes, Ji as cardLayouts, Vs as chartColorTokens, Ja as chatHistoryIndicators, Ba as chatThreadStatuses, zo as chipVariants, zf as computeSectionEndIds, Ec as configurePdfWorker, Wa as contentTypes, Jt as createAtlaskitDriver, Ho as createDataSourceDefinition, xd as createF0FormDefinitionTester, bd as createF0FormTester, Il as createPageLayoutBlock, Ll as createPageLayoutBlockGroup, Ca as createPersonMentionSource, dd as dataCollectionLocalStorageHandler, cd as datePickerInlineDismissReasons, ld as datepickerSizes, fo as defaultTranslations, _i as defineAvailableForm, vd as describeFormSchema, ee as dialog, ee as dialogs, Lt as drawers, da as durationInputSizes, li as durationUnits, pr as escapeUserText, se as evaluateRenderIf, yn as experimental, wr as f0FileItemSizes, Li as f0FormField, wi as fieldsToSeconds, Ff as flattenElements, ia as formatPlaybackTime, sf as forms, h as generateAnchorId, os as getAnimationVariants, Sr as getDataCollectionStorageKey, Xo as getDataSourcePaginationType, ir as getEmojiLabel, ta as getF0Config, Ws as getGranularityDefinition, Ns as getGranularityDefinitions, Xs as getGranularitySimpleDefinition, yt as getSchemaDefinition, Rs as granularityDefinitions, gi as hasF0Config, co as iconSets, xi as inferFieldType, Rf as injectSectionEnds, ko as isInfiniteScrollPagination, jo as isPageBasedPagination, Wi as isZodType, $u as linkVariants, ba as markdownRenderers, pa as mergeDataCollectionFilters, vo as modules, ja as oneIconSizes, Do as paginationTotals, Qt as parseDataCollectionUrlParams, wc as pdfScales, Bt as predefinedPresets, Cs as rangeSeparator, hr as readDataCollectionStorage, Lf as reconstructElements, qr as resolveDataCollectionFilters, ks as resolveGranularityDefinition, At as resolveItemNeighbors, tt as resolveWindowNeighbors, ri as secondsToFields, ra as secondsToVisibleFields, cf as selectInlineDismissReasons, je as selectSizes, Fe as selectVariants, fn as setDataCollectionUrlParams, lf as sliderTooltipModes, nh as surveyDraftSaveTriggers, Ke as syncDataCollectionUrlParams, Sf as tagDotColors, bf as timelineRowApproverStatuses, yf as timelineRowStatuses, xf as timelineRowTagVariants, Vt as toasts, Oi as unwrapZodSchema, Ga as usageLimitsPopoverSides, Tr as useAiChat, ka as useAiChatTranslations, _r as useAudioPlayer, Pa as useCanvasEntity, Na as useChatHistory, So as useData, Fs as useDataSource, n as useDataSourceItemNavigation, zr as useDerivedTranscription, jt as useDndEvents, Ht as useDraggable, Je as useDroppableList, nr as useEmojiConfetti, $i as useF0AiFormRegistry, fs as useF0Dialog, j as useF0DialogAlikeContext, be as useF0Form, kt as useF0FormDefinition, Ea as useFormCardValueFormatter, uy as useFormComponent, us as useGroups, io as useIconSet, B_ as useIsDesktop, V_ as useIsMobile, Kt as useItemNeighbors, it as usePrivacyMode, tr as useReducedMotion, a as useSchemaDefinition, Wo as useSelectable, Ha as useSetFormCardValueFormatter, Aa as useToolCallId, ao as useXRay, I as withDataTestId, cn as writeDataCollectionStorage };