@factorialco/f0-react 12.1.0 → 12.3.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 (33) hide show
  1. package/dist/{ChatPostComposerDialog-NEIFDJib.js → ChatPostComposerDialog-DxjgJvww.js} +3 -3
  2. package/dist/{CoachmarkProvider-BR6fdrrh.js → CoachmarkProvider-DxxTrrK0.js} +27397 -27397
  3. package/dist/{DocumentToolbar-Cb3E9RnA.js → DocumentToolbar-MbpAP2xa.js} +5 -5
  4. package/dist/{DocxViewer-pfu-5v_l.js → DocxViewer-DLnunbBn.js} +2 -2
  5. package/dist/{F0AiProcessingOverlay-O9SpiZk4.js → F0AiProcessingOverlay-cNJdJNme.js} +1058 -1042
  6. package/dist/{F0CanvasPanel-Dn-Gkmsz.js → F0CanvasPanel-d0ARNvCs.js} +7890 -7886
  7. package/dist/F0DocumentViewer-CMTc9-v6.js +3 -0
  8. package/dist/{F0DocumentViewer-CRPMDWGj.js → F0DocumentViewer-DU0u8sE9.js} +37 -37
  9. package/dist/{F0Map-toEYLWLQ.js → F0Map-Ytutlfjd.js} +100 -100
  10. package/dist/{F0Select-BMzj1oyt.js → F0Select-DKCy1C1n.js} +1030 -1030
  11. package/dist/{F0Text-CjR98zwA.js → F0Text-BtzfLrwP.js} +10 -10
  12. package/dist/F0VideoPlayer-BZmP3fGi.js +1 -0
  13. package/dist/{F0VideoPlayer-BmbFZEII.js → F0VideoPlayer-DWE0J3NR.js} +290 -290
  14. package/dist/{Map-Cakv1wM4.js → Map-DyNfwVdY.js} +20 -20
  15. package/dist/{PdfThumbnail-Bxzk7G0u.js → PdfThumbnail-C-F-aujX.js} +1 -1
  16. package/dist/{SheetViewer-zNoFISP0.js → SheetViewer-BRTqhc5o.js} +6 -6
  17. package/dist/{TextViewer-BTRJxwwJ.js → TextViewer-_rXZwM4E.js} +2 -2
  18. package/dist/ai.js +4 -4
  19. package/dist/component-status.js +2 -2
  20. package/dist/{dist-UTTWm0CV.js → dist-DvxtFKDL.js} +1 -1
  21. package/dist/experimental.d.ts +7 -1
  22. package/dist/experimental.js +4531 -4704
  23. package/dist/f0.d.ts +1 -1
  24. package/dist/f0.js +477 -477
  25. package/dist/{maplibre-C5htrHET.js → maplibre-BMdn9aMc.js} +1 -1
  26. package/dist/{pdfWorker-B4yvX0G-.js → pdfWorker-YDigL1gB.js} +1 -1
  27. package/dist/{popover-B-ET_Kay.js → popover-BjrPOMeQ.js} +1 -1
  28. package/dist/styles.css +1 -1
  29. package/dist/{types-CUKMWWRC.d.ts → types-DiDeZRzi.d.ts} +4 -0
  30. package/dist/{useData-DWwEymV5.js → useData-BPTvQHGp.js} +291 -291
  31. package/package.json +1 -1
  32. package/dist/F0DocumentViewer-DzZu9sCO.js +0 -3
  33. package/dist/F0VideoPlayer-DsHl-sBd.js +0 -1
package/dist/f0.js CHANGED
@@ -1,17 +1,17 @@
1
1
  import { o as e } from "./rolldown-runtime-BItFwnF5.js";
2
- import { $n as t, A as n, An as r, Bn as i, Br as a, C as o, Cn as s, Cr as c, D as l, Dn as u, E as d, En as f, Er as p, Fn as m, Ft as h, Gn as g, Gr as _, Gt as v, Hn as y, Hr as b, Ht as x, In as S, It as C, Jn as w, Jt as T, Kn as E, Kr as D, Kt as O, Ln as k, Lr as A, Lt as j, M, Mn as N, N as P, Nn as F, O as I, On as ee, P as te, Pn as L, Pt as ne, Qn as re, Qr as ie, Qt as ae, Rn as oe, Rt as se, S as ce, Sn as le, Sr as ue, St as de, T as fe, Tn as pe, Tr as me, Un as he, Ut as ge, Vn as _e, Vr as ve, Vt as ye, Wr as be, Wt as xe, X as Se, Xn as Ce, Xr as we, Yn as Te, Yr as Ee, Yt as De, Z as Oe, Zn as ke, Zr as Ae, Zt as je, _ as Me, _n as Ne, _r as Pe, _t as Fe, ar as Ie, b as Le, bn as Re, br as ze, bt as Be, c as Ve, cn as He, cr as Ue, d as We, di as Ge, dn as Ke, dr as qe, en as Je, er as Ye, f as Xe, fi as Ze, fn as Qe, fr as $e, g as et, gn as tt, gr as nt, gt as rt, h as it, hi as at, hn as ot, hr as st, ht as ct, i as lt, ii as ut, ir as dt, j as ft, jn as pt, k as mt, kn as ht, kt as gt, l as _t, ln as vt, lr as yt, mn as bt, mr as xt, ni as St, nn as Ct, nr as wt, on as Tt, or as Et, ot as Dt, p as Ot, pn as kt, pr as At, qn as jt, qr as Mt, qt as Nt, ri as Pt, rn as Ft, rr as It, s as Lt, sn as Rt, sr as zt, t as Bt, tn as Vt, tr as Ht, u as Ut, ui as Wt, un as Gt, ur as Kt, ut as qt, v as Jt, vn as Yt, vr as Xt, vt as Zt, w as Qt, wn as $t, wr as en, x as tn, xn as nn, xr as rn, xt as an, y as on, yn as sn, yr as cn, yt as ln, zn as un, zr as dn, zt as fn } from "./CoachmarkProvider-BR6fdrrh.js";
3
- import { $t as pn, A as mn, At as hn, B as gn, Bt as _n, F as vn, Ft as yn, M as bn, Mt as xn, N as Sn, Nt as Cn, P as wn, Pt as Tn, Qt as En, R as Dn, St as On, U as kn, V as An, Wt as jn, Xt as Mn, Zt as Nn, a as Pn, an as Fn, at as In, b as R, bt as Ln, cn as Rn, cr as z, dn as zn, dt as Bn, er as Vn, fn as Hn, ft as Un, gt as Wn, i as Gn, in as Kn, j as qn, ln as Jn, lr as Yn, mn as Xn, on as B, or as Zn, pt as Qn, sn as V, sr as $n, t as er, un as tr, vn as nr, vt as rr, xt as ir, yn as ar, yt as or, z as sr, zt as cr } from "./popover-B-ET_Kay.js";
2
+ import { $n as t, A as n, An as r, Bn as i, Br as a, C as o, Cn as s, Cr as c, D as l, Dn as u, E as d, En as f, Er as p, Fn as m, Ft as h, Gn as g, Gr as _, Gt as v, Hn as y, Hr as b, Ht as x, In as S, It as C, Jn as w, Jt as T, Kn as E, Kr as D, Kt as O, Ln as k, Lr as A, Lt as j, M, Mn as N, N as P, Nn as F, O as I, On as ee, P as te, Pn as L, Pt as ne, Qn as re, Qr as ie, Qt as ae, Rn as oe, Rt as se, S as ce, Sn as le, Sr as ue, St as de, T as fe, Tn as pe, Tr as me, Un as he, Ut as ge, Vn as _e, Vr as ve, Vt as ye, Wr as be, Wt as xe, X as Se, Xn as Ce, Xr as we, Yn as Te, Yr as Ee, Yt as De, Z as Oe, Zn as ke, Zr as Ae, Zt as je, _ as Me, _n as Ne, _r as Pe, _t as Fe, ar as Ie, b as Le, bn as Re, br as ze, bt as Be, c as Ve, cn as He, cr as Ue, d as We, di as Ge, dn as Ke, dr as qe, en as Je, er as Ye, f as Xe, fi as Ze, fn as Qe, fr as $e, g as et, gn as tt, gr as nt, gt as rt, h as it, hi as at, hn as ot, hr as st, ht as ct, i as lt, ii as ut, ir as dt, j as ft, jn as pt, k as mt, kn as ht, kt as gt, l as _t, ln as vt, lr as yt, mn as bt, mr as xt, ni as St, nn as Ct, nr as wt, on as Tt, or as Et, ot as Dt, p as Ot, pn as kt, pr as At, qn as jt, qr as Mt, qt as Nt, ri as Pt, rn as Ft, rr as It, s as Lt, sn as Rt, sr as zt, t as Bt, tn as Vt, tr as Ht, u as Ut, ui as Wt, un as Gt, ur as Kt, ut as qt, v as Jt, vn as Yt, vr as Xt, vt as Zt, w as Qt, wn as $t, wr as en, x as tn, xn as nn, xr as rn, xt as an, y as on, yn as sn, yr as cn, yt as ln, zn as un, zr as dn, zt as fn } from "./CoachmarkProvider-DxxTrrK0.js";
3
+ import { A as pn, At as mn, B as hn, Dt as gn, F as _n, It as vn, Jt as yn, Lt as bn, M as xn, Mt as Sn, N as Cn, P as wn, R as Tn, U as En, V as Dn, Vt as On, Xt as kn, Yt as An, Zn as jn, _t as Mn, a as Nn, an as Pn, ar as R, b as z, cn as Fn, ct as In, dn as Ln, gn as Rn, gt as zn, hn as Bn, ht as Vn, i as Hn, in as B, ir as Un, j as Wn, jt as Gn, kt as Kn, ln as qn, lt as Jn, nn as Yn, nt as Xn, on as Zn, or as Qn, pt as $n, qt as er, rn as V, rr as tr, sn as nr, t as rr, tn as ir, ut as ar, vt as or, yt as sr, z as cr } from "./popover-BjrPOMeQ.js";
4
4
  import { A as lr, C as ur, D as dr, F as fr, I as pr, L as H, M as mr, N as hr, O as gr, P as _r, R as vr, S as yr, _ as br, b as xr, c as Sr, f as Cr, g as wr, h as Tr, j as Er, k as Dr, l as Or, m as kr, p as Ar, v as jr, w as Mr, x as Nr, y as Pr } from "./tooltip-BX4dSfeL.js";
5
- import { n as Fr, t as Ir } from "./F0Text-CjR98zwA.js";
6
- import { A as Lr, C as Rr, D as zr, E as Br, F as Vr, I as Hr, L as Ur, M as Wr, N as Gr, O as Kr, P as qr, R as Jr, S as Yr, T as Xr, _ as Zr, a as Qr, b as $r, c as ei, d as ti, f as ni, g as ri, h as ii, i as ai, j as oi, k as si, l as ci, m as li, n as ui, o as di, p as fi, r as pi, s as mi, t as hi, u as gi, v as _i, w as vi, x as yi, y as bi, z as xi } from "./F0AiProcessingOverlay-O9SpiZk4.js";
7
- import { $n as Si, $o as Ci, $s as wi, A as Ti, At as Ei, Ba as Di, Bn as Oi, Br as ki, Bs as Ai, Cr as ji, D as Mi, Ds as Ni, E as Pi, Fa as Fi, Fr as Ii, Gn as Li, Gr as Ri, Gs as zi, Hn as Bi, Hs as Vi, Ia as Hi, Ir as Ui, It as Wi, Jn as Gi, Js as Ki, Jt as qi, Kn as Ji, Kr as Yi, Ks as Xi, Kt as Zi, Lo as Qi, Lt as $i, M as ea, Ma as ta, Mr as na, Mt as ra, N as ia, Nr as aa, Ns as oa, Nt as sa, O as ca, Ot as la, Pa as ua, Pt as da, Qt as fa, Rr as pa, Rt as ma, T as ha, Tr as ga, Un as _a, Uo as va, Ur as ya, Us as ba, V as xa, Va as Sa, Vn as Ca, Vs as wa, Wn as Ta, Wr as Ea, Ws as Da, Xa as Oa, Xo as ka, Xt as Aa, Yn as ja, Yr as Ma, Yt as Na, Za as Pa, Zt as Fa, _a as Ia, ac as La, br as Ra, cc as za, er as Ba, es as Va, fo as Ha, fs as Ua, hr as Wa, io as Ga, ir as Ka, j as qa, jr as Ja, jt as Ya, k as Xa, ka as Za, ks as Qa, mr as $a, n as eo, nr as to, ns as no, oo as ro, os as io, po as ao, qt as oo, rr as so, sa as co, ss as lo, t as uo, tr as fo, tt as po, uo as mo, va as ho, xo as go, xr as _o, yr as vo, z as yo, zr as bo } from "./F0CanvasPanel-Dn-Gkmsz.js";
5
+ import { n as Fr, t as Ir } from "./F0Text-BtzfLrwP.js";
6
+ import { A as Lr, C as Rr, D as zr, E as Br, F as Vr, I as Hr, L as Ur, M as Wr, N as Gr, O as Kr, P as qr, R as Jr, S as Yr, T as Xr, _ as Zr, a as Qr, b as $r, c as ei, d as ti, f as ni, g as ri, h as ii, i as ai, j as oi, k as si, l as ci, m as li, n as ui, o as di, p as fi, r as pi, s as mi, t as hi, u as gi, v as _i, w as vi, x as yi, y as bi, z as xi } from "./F0AiProcessingOverlay-cNJdJNme.js";
7
+ import { $n as Si, $o as Ci, A as wi, Ar as Ti, At as Ei, B as Di, Ba as Oi, Bn as ki, Bs as Ai, D as ji, Dt as Mi, E as Ni, Es as Pi, Fa as Fi, Fr as Ii, Ft as Li, Gn as Ri, Gr as zi, Gs as Bi, Gt as Vi, Hn as Hi, Ho as Ui, Hr as Wi, Hs as Gi, Io as Ki, It as qi, Jn as Ji, Jr as Yi, Jt as Xi, Kt as Zi, Lr as Qi, Lt as $i, M as ea, Mr as ta, Ms as na, Mt as ra, Na as ia, Nt as aa, O as oa, Oa as sa, Os as ca, Pa as la, Pr as ua, Qn as da, Qo as fa, Qs as pa, R as ma, Rr as ha, Sr as ga, T as _a, Un as va, Ur as ya, Us as ba, Vn as xa, Vs as Sa, Wn as Ca, Wr as wa, Ws as Ta, Xa as Ea, Xt as Da, Ya as Oa, Yo as ka, Yt as Aa, Zt as ja, _a as Ma, ao as Na, as as Pa, bo as Fa, br as Ia, do as La, ds as Ra, er as za, et as Ba, fo as Va, ga as Ha, ic as Ua, j as Wa, ja as Ga, jr as Ka, jt as qa, k as Ja, kt as Ya, lo as Xa, mr as Za, n as Qa, nr as $a, oa as eo, os as to, pr as no, qn as ro, qs as io, qt as ao, ro as oo, rr as so, sc as co, t as lo, tr as uo, ts as fo, vr as po, w as mo, wr as ho, yr as go, za as _o, zn as vo, zr as yo, zs as bo } from "./F0CanvasPanel-d0ARNvCs.js";
8
8
  import { t as xo } from "./i18n-provider-defaults-p0UGTA_k.js";
9
- import { C as So, D as Co, F as wo, I as To, N as Eo, O as Do, S as Oo, V as ko, X as Ao, Z as jo, _ as Mo, a as No, d as Po, f as Fo, i as Io, k as Lo, l as Ro, n as zo, r as Bo, t as Vo, x as Ho, y as Uo } from "./useData-DWwEymV5.js";
10
- import { $ as Wo, B as Go, Bt as Ko, Ct as qo, Dn as Jo, Dr as Yo, Dt as Xo, Er as Zo, Fn as Qo, Ft as $o, G as es, H as ts, It as ns, J as rs, K as is, L as as, Ln as os, Lt as ss, Mr as cs, Mt as ls, Nr as us, Nt as ds, On as fs, Or as ps, Ot as ms, Pt as hs, Rt as gs, U as _s, V as vs, W as ys, X as bs, Z as xs, _ as Ss, _t as Cs, a as ws, an as Ts, c as Es, ct as Ds, dr as Os, et as ks, fr as As, g as js, gt as Ms, h as Ns, ht as Ps, i as Fs, jr as Is, jt as Ls, kn as Rs, kr as zs, kt as Bs, l as Vs, lr as Hs, m as Us, mr as Ws, mt as Gs, nt as Ks, o as qs, p as Js, pt as Ys, q as Xs, r as Zs, rn as Qs, s as $s, st as ec, t as tc, tt as nc, u as rc, v as ic, vr as ac, w as oc, wt as sc, xt as cc, y as lc, yt as uc, z as dc } from "./F0Select-BMzj1oyt.js";
9
+ import { C as So, D as Co, F as wo, I as To, N as Eo, O as Do, S as Oo, V as ko, X as Ao, Z as jo, _ as Mo, a as No, d as Po, f as Fo, i as Io, k as Lo, l as Ro, n as zo, r as Bo, t as Vo, x as Ho, y as Uo } from "./useData-BPTvQHGp.js";
10
+ import { $ as Wo, B as Go, Bt as Ko, Ct as qo, Dn as Jo, Dr as Yo, Dt as Xo, Er as Zo, Fn as Qo, Ft as $o, G as es, H as ts, It as ns, J as rs, K as is, L as as, Ln as os, Lt as ss, Mr as cs, Mt as ls, Nr as us, Nt as ds, On as fs, Or as ps, Ot as ms, Pt as hs, Rt as gs, U as _s, V as vs, W as ys, X as bs, Z as xs, _ as Ss, _t as Cs, a as ws, an as Ts, c as Es, ct as Ds, dr as Os, et as ks, fr as As, g as js, gt as Ms, h as Ns, ht as Ps, i as Fs, jr as Is, jt as Ls, kn as Rs, kr as zs, kt as Bs, l as Vs, lr as Hs, m as Us, mr as Ws, mt as Gs, nt as Ks, o as qs, p as Js, pt as Ys, q as Xs, r as Zs, rn as Qs, s as $s, st as ec, t as tc, tt as nc, u as rc, v as ic, vr as ac, w as oc, wt as sc, xt as cc, y as lc, yt as uc, z as dc } from "./F0Select-DKCy1C1n.js";
11
11
  import { t as fc } from "./Check-DAp9gCRh.js";
12
- import { a as pc, i as mc, n as hc, r as gc, t as _c } from "./F0VideoPlayer-BmbFZEII.js";
13
- import { t as vc } from "./pdfWorker-B4yvX0G-.js";
14
- import { n as yc, t as bc } from "./F0DocumentViewer-CRPMDWGj.js";
12
+ import { a as pc, i as mc, n as hc, r as gc, t as _c } from "./F0VideoPlayer-DWE0J3NR.js";
13
+ import { t as vc } from "./pdfWorker-YDigL1gB.js";
14
+ import { n as yc, t as bc } from "./F0DocumentViewer-DU0u8sE9.js";
15
15
  import * as U from "react";
16
16
  import xc, { Children as Sc, Fragment as Cc, createContext as wc, forwardRef as Tc, isValidElement as Ec, memo as Dc, useCallback as W, useContext as Oc, useEffect as G, useId as kc, useImperativeHandle as Ac, useLayoutEffect as jc, useMemo as K, useRef as q, useState as J, useSyncExternalStore as Mc } from "react";
17
17
  import { Fragment as Y, jsx as X, jsxs as Z } from "react/jsx-runtime";
@@ -35,7 +35,7 @@ var Ic = {
35
35
  className: "h-full @5xl:h-auto [&>div]:h-full",
36
36
  children: e
37
37
  }, t));
38
- return /* @__PURE__ */ X(Sa, {
38
+ return /* @__PURE__ */ X(Oi, {
39
39
  layout: "home",
40
40
  children: /* @__PURE__ */ Z("div", {
41
41
  ref: r,
@@ -66,10 +66,10 @@ var Ic = {
66
66
  })]
67
67
  })
68
68
  });
69
- }), Rc = nr({
69
+ }), Rc = Bn({
70
70
  base: "relative flex min-h-full w-full flex-1 flex-col gap-4 place-self-center overflow-y-auto px-page py-5",
71
71
  variants: { variant: { narrow: "max-w-screen-lg" } }
72
- }), zc = xc.forwardRef(({ children: e, variant: t, scrollable: n = !0, className: r, ...i }, a) => /* @__PURE__ */ X(Sa, {
72
+ }), zc = xc.forwardRef(({ children: e, variant: t, scrollable: n = !0, className: r, ...i }, a) => /* @__PURE__ */ X(Oi, {
73
73
  layout: "standard",
74
74
  children: /* @__PURE__ */ X("section", {
75
75
  ref: a,
@@ -82,7 +82,7 @@ var Ic = {
82
82
  })
83
83
  }));
84
84
  zc.displayName = "StandardLayout";
85
- var Bc = z(Jn({
85
+ var Bc = R(Zn({
86
86
  name: "StandardLayout",
87
87
  type: "layout"
88
88
  }, zc)), Vc = Tc(function({ children: e, sideContent: t, mainColumnPosition: n = "left", sticky: r = !1, responsiveStackOrder: i = "side" }, a) {
@@ -101,7 +101,7 @@ var Bc = z(Jn({
101
101
  })]
102
102
  })
103
103
  });
104
- }), Hc = z(Jn({
104
+ }), Hc = R(Zn({
105
105
  name: "TwoColumnLayout",
106
106
  type: "layout"
107
107
  }, Vc)), Uc = ({ children: e, className: t }) => /* @__PURE__ */ X("aside", {
@@ -254,7 +254,7 @@ function Zc({ children: e, options: t, onResizeStop: n, onChange: r, widgets: i,
254
254
  return e.forEach((e) => {
255
255
  if (n.get(e)) {
256
256
  let t = s.el.querySelector(`[gs-id="${e}"] .grid-stack-item-content`), r = "";
257
- t && (r = hn.sanitize(Xc(t))), n.set(e, /* @__PURE__ */ X(ar.div, {
257
+ t && (r = gn.sanitize(Xc(t))), n.set(e, /* @__PURE__ */ X(Rn.div, {
258
258
  className: "h-full w-full",
259
259
  initial: {
260
260
  opacity: 1,
@@ -2718,8 +2718,8 @@ var El = ({ options: e, widgets: t, onChange: n, className: r, static: i, forceP
2718
2718
  });
2719
2719
  };
2720
2720
  El.displayName = "F0GridStack";
2721
- var Dl = z(Zn("F0GridStack", El)), Ol = (e, t, n) => /* @__PURE__ */ X("div", { children: e }), kl = ({ widgets: e = [], editMode: t = !1, onChange: n = () => {}, WidgetWrapper: r = Ol, main: i = !1, deps: a }) => {
2722
- let o = W((e, t, n) => /* @__PURE__ */ X(ar.div, {
2721
+ var Dl = R(tr("F0GridStack", El)), Ol = (e, t, n) => /* @__PURE__ */ X("div", { children: e }), kl = ({ widgets: e = [], editMode: t = !1, onChange: n = () => {}, WidgetWrapper: r = Ol, main: i = !1, deps: a }) => {
2722
+ let o = W((e, t, n) => /* @__PURE__ */ X(Rn.div, {
2723
2723
  className: "h-full w-full",
2724
2724
  initial: {
2725
2725
  opacity: 0,
@@ -2902,7 +2902,7 @@ var Al = (e, t) => {
2902
2902
  }, jl = (e, t) => {
2903
2903
  let n = t;
2904
2904
  return n.displayName = e, n.__isPageLayoutGroup = !0, n;
2905
- }, Ml = Mn.filter((e) => e !== "ai"), Nl = En, Pl = ({ children: e, title: t, draggable: n = !1, actions: r, aiButton: i }) => /* @__PURE__ */ X(ie, {
2905
+ }, Ml = er.filter((e) => e !== "ai"), Nl = An, Pl = ({ children: e, title: t, draggable: n = !1, actions: r, aiButton: i }) => /* @__PURE__ */ X(ie, {
2906
2906
  header: { title: t },
2907
2907
  draggable: n,
2908
2908
  actions: r,
@@ -2924,7 +2924,7 @@ var Al = (e, t) => {
2924
2924
  })
2925
2925
  });
2926
2926
  Fl.displayName = "Dashboard";
2927
- var Il = jl("Dashboard", Fl), Ll = z(Zn("Dashboard", Il)), Rl = nr({
2927
+ var Il = jl("Dashboard", Fl), Ll = R(tr("Dashboard", Il)), Rl = Bn({
2928
2928
  base: "flex w-full flex-col p-4",
2929
2929
  variants: { variant: {
2930
2930
  default: "",
@@ -2944,7 +2944,7 @@ var Il = jl("Dashboard", Fl), Ll = z(Zn("Dashboard", Il)), Rl = nr({
2944
2944
  ...l,
2945
2945
  children: [p ? /* @__PURE__ */ Z("div", {
2946
2946
  className: "absolute right-0 top-0 flex items-center justify-end gap-2 p-4",
2947
- children: [c || null, f.length > 0 ? /* @__PURE__ */ X(ho, {
2947
+ children: [c || null, f.length > 0 ? /* @__PURE__ */ X(Ma, {
2948
2948
  items: zl(d),
2949
2949
  "data-testid": "actions-dropdown"
2950
2950
  }) : null]
@@ -3077,13 +3077,13 @@ var Yl = Tc(function({ children: e, aside: t, header: n, variant: r = "main-asid
3077
3077
  })
3078
3078
  });
3079
3079
  }), Xl = {
3080
- Page: z(Zn("Page", Yl)),
3081
- Block: z(Zn("Block", Vl)),
3082
- BlockContent: z(Zn("BlockContent", Hl)),
3083
- Group: z(Zn("Group", Kl)),
3084
- GroupGrid: z(Zn("GroupGrid", kl)),
3085
- GroupMasonry: z(Zn("GroupMasonry", Jl))
3086
- }, Zl = Bc, Ql = Hc, $l = z(Jn({
3080
+ Page: R(tr("Page", Yl)),
3081
+ Block: R(tr("Block", Vl)),
3082
+ BlockContent: R(tr("BlockContent", Hl)),
3083
+ Group: R(tr("Group", Kl)),
3084
+ GroupGrid: R(tr("GroupGrid", kl)),
3085
+ GroupMasonry: R(tr("GroupMasonry", Jl))
3086
+ }, Zl = Bc, Ql = Hc, $l = R(Zn({
3087
3087
  name: "HomeLayout",
3088
3088
  type: "layout"
3089
3089
  }, Lc)), eu = [
@@ -3123,17 +3123,17 @@ var Yl = Tc(function({ children: e, aside: t, header: n, variant: r = "main-asid
3123
3123
  });
3124
3124
  }, ru = () => /* @__PURE__ */ Z("div", {
3125
3125
  className: "relative flex h-full w-full cursor-progress flex-col gap-2",
3126
- children: [/* @__PURE__ */ X(Hn, { className: "h-3 w-full max-w-16 rounded-md" }), /* @__PURE__ */ Z("div", {
3126
+ children: [/* @__PURE__ */ X(qn, { className: "h-3 w-full max-w-16 rounded-md" }), /* @__PURE__ */ Z("div", {
3127
3127
  className: "flex flex-row flex-wrap items-end gap-2",
3128
- children: [/* @__PURE__ */ X(Hn, { className: "h-8 w-full max-w-36 rounded-sm" }), /* @__PURE__ */ X(Hn, { className: "h-6 w-full max-w-18 rounded-sm" })]
3128
+ children: [/* @__PURE__ */ X(qn, { className: "h-8 w-full max-w-36 rounded-sm" }), /* @__PURE__ */ X(qn, { className: "h-6 w-full max-w-18 rounded-sm" })]
3129
3129
  })]
3130
3130
  });
3131
3131
  nu.displayName = "F0BigNumber";
3132
- var iu = Za(nu, ru), au = z(iu), ou = [
3132
+ var iu = sa(nu, ru), au = R(iu), ou = [
3133
3133
  "default",
3134
3134
  "outline",
3135
3135
  "neutral"
3136
- ], su = En, cu = ["split", "dropdown"], lu = ["sm", "md"], uu = (e) => Object.fromEntries(Object.entries(e).filter(([e]) => e.startsWith("data-"))), du = (e) => {
3136
+ ], su = An, cu = ["split", "dropdown"], lu = ["sm", "md"], uu = (e) => Object.fromEntries(Object.entries(e).filter(([e]) => e.startsWith("data-"))), du = (e) => {
3137
3137
  (!Number.isFinite(e) || e < 0) && (e = 0);
3138
3138
  let t = Math.floor(e), n = Math.floor(t / 3600), r = Math.floor(t % 3600 / 60), i = t % 60, a = (e) => String(e).padStart(2, "0");
3139
3139
  return n > 0 ? `${n}:${a(r)}:${a(i)}` : `${r}:${a(i)}`;
@@ -3235,8 +3235,8 @@ var iu = Za(nu, ru), au = z(iu), ou = [
3235
3235
  "ArrowUp",
3236
3236
  "ArrowLeft"
3237
3237
  ]
3238
- }, Su = "Slider", [Cu, wu, Tu] = Un(Su), [Eu, Du] = rr(Su, [Tu]), [Ou, ku] = Eu(Su), Au = U.forwardRef((e, t) => {
3239
- let { name: n, min: r = 0, max: i = 100, step: a = 1, orientation: o = "horizontal", disabled: s = !1, minStepsBetweenThumbs: c = 0, defaultValue: l = [r], value: u, onValueChange: d = () => {}, onValueCommit: f = () => {}, inverted: p = !1, form: m, ...h } = e, g = U.useRef(/* @__PURE__ */ new Set()), _ = U.useRef(0), v = o === "horizontal" ? Nu : Pu, [y = [], b] = Wn({
3238
+ }, Su = "Slider", [Cu, wu, Tu] = Jn(Su), [Eu, Du] = Vn(Su, [Tu]), [Ou, ku] = Eu(Su), Au = U.forwardRef((e, t) => {
3239
+ let { name: n, min: r = 0, max: i = 100, step: a = 1, orientation: o = "horizontal", disabled: s = !1, minStepsBetweenThumbs: c = 0, defaultValue: l = [r], value: u, onValueChange: d = () => {}, onValueCommit: f = () => {}, inverted: p = !1, form: m, ...h } = e, g = U.useRef(/* @__PURE__ */ new Set()), _ = U.useRef(0), v = o === "horizontal" ? Nu : Pu, [y = [], b] = $n({
3240
3240
  prop: u,
3241
3241
  defaultProp: l,
3242
3242
  onChange: (e) => {
@@ -3285,7 +3285,7 @@ var iu = Za(nu, ru), au = z(iu), ou = [
3285
3285
  "data-disabled": s ? "" : void 0,
3286
3286
  ...h,
3287
3287
  ref: t,
3288
- onPointerDown: or(h.onPointerDown, () => {
3288
+ onPointerDown: zn(h.onPointerDown, () => {
3289
3289
  s || (x.current = y);
3290
3290
  }),
3291
3291
  min: r,
@@ -3314,7 +3314,7 @@ var [ju, Mu] = Eu(Su, {
3314
3314
  size: "width",
3315
3315
  direction: 1
3316
3316
  }), Nu = U.forwardRef((e, t) => {
3317
- let { min: n, max: r, dir: i, inverted: a, onSlideStart: o, onSlideMove: s, onSlideEnd: c, onStepKeyDown: l, ...u } = e, [d, f] = U.useState(null), p = Ln(t, (e) => f(e)), m = U.useRef(void 0), h = Bn(i), g = h === "ltr", _ = g && !a || !g && a;
3317
+ let { min: n, max: r, dir: i, inverted: a, onSlideStart: o, onSlideMove: s, onSlideEnd: c, onStepKeyDown: l, ...u } = e, [d, f] = U.useState(null), p = Mn(t, (e) => f(e)), m = U.useRef(void 0), h = In(i), g = h === "ltr", _ = g && !a || !g && a;
3318
3318
  function v(e) {
3319
3319
  let t = m.current || d.getBoundingClientRect(), i = Qu([0, t.width], _ ? [n, r] : [r, n]);
3320
3320
  return m.current = t, i(e - t.left);
@@ -3355,7 +3355,7 @@ var [ju, Mu] = Eu(Su, {
3355
3355
  })
3356
3356
  });
3357
3357
  }), Pu = U.forwardRef((e, t) => {
3358
- let { min: n, max: r, inverted: i, onSlideStart: a, onSlideMove: o, onSlideEnd: s, onStepKeyDown: c, ...l } = e, u = U.useRef(null), d = Ln(t, u), f = U.useRef(void 0), p = !i;
3358
+ let { min: n, max: r, inverted: i, onSlideStart: a, onSlideMove: o, onSlideEnd: s, onStepKeyDown: c, ...l } = e, u = U.useRef(null), d = Mn(t, u), f = U.useRef(void 0), p = !i;
3359
3359
  function m(e) {
3360
3360
  let t = f.current || u.current.getBoundingClientRect(), i = Qu([0, t.height], p ? [r, n] : [n, r]);
3361
3361
  return f.current = t, i(e - t.top);
@@ -3396,27 +3396,27 @@ var [ju, Mu] = Eu(Su, {
3396
3396
  });
3397
3397
  }), Fu = U.forwardRef((e, t) => {
3398
3398
  let { __scopeSlider: n, onSlideStart: r, onSlideMove: i, onSlideEnd: a, onHomeKeyDown: o, onEndKeyDown: s, onStepKeyDown: c, ...l } = e, u = ku(Su, n);
3399
- return /* @__PURE__ */ X(Qn.span, {
3399
+ return /* @__PURE__ */ X(ar.span, {
3400
3400
  ...l,
3401
3401
  ref: t,
3402
- onKeyDown: or(e.onKeyDown, (e) => {
3402
+ onKeyDown: zn(e.onKeyDown, (e) => {
3403
3403
  e.key === "Home" ? (o(e), e.preventDefault()) : e.key === "End" ? (s(e), e.preventDefault()) : yu.concat(bu).includes(e.key) && (c(e), e.preventDefault());
3404
3404
  }),
3405
- onPointerDown: or(e.onPointerDown, (e) => {
3405
+ onPointerDown: zn(e.onPointerDown, (e) => {
3406
3406
  let t = e.target;
3407
3407
  t.setPointerCapture(e.pointerId), e.preventDefault(), u.thumbs.has(t) ? t.focus() : r(e);
3408
3408
  }),
3409
- onPointerMove: or(e.onPointerMove, (e) => {
3409
+ onPointerMove: zn(e.onPointerMove, (e) => {
3410
3410
  e.target.hasPointerCapture(e.pointerId) && i(e);
3411
3411
  }),
3412
- onPointerUp: or(e.onPointerUp, (e) => {
3412
+ onPointerUp: zn(e.onPointerUp, (e) => {
3413
3413
  let t = e.target;
3414
3414
  t.hasPointerCapture(e.pointerId) && (t.releasePointerCapture(e.pointerId), a(e));
3415
3415
  })
3416
3416
  });
3417
3417
  }), Iu = "SliderTrack", Lu = U.forwardRef((e, t) => {
3418
3418
  let { __scopeSlider: n, ...r } = e, i = ku(Iu, n);
3419
- return /* @__PURE__ */ X(Qn.span, {
3419
+ return /* @__PURE__ */ X(ar.span, {
3420
3420
  "data-disabled": i.disabled ? "" : void 0,
3421
3421
  "data-orientation": i.orientation,
3422
3422
  ...r,
@@ -3425,8 +3425,8 @@ var [ju, Mu] = Eu(Su, {
3425
3425
  });
3426
3426
  Lu.displayName = Iu;
3427
3427
  var Ru = "SliderRange", zu = U.forwardRef((e, t) => {
3428
- let { __scopeSlider: n, ...r } = e, i = ku(Ru, n), a = Mu(Ru, n), o = U.useRef(null), s = Ln(t, o), c = i.values.length, l = i.values.map((e) => Ku(e, i.min, i.max)), u = c > 1 ? Math.min(...l) : 0, d = 100 - Math.max(...l);
3429
- return /* @__PURE__ */ X(Qn.span, {
3428
+ let { __scopeSlider: n, ...r } = e, i = ku(Ru, n), a = Mu(Ru, n), o = U.useRef(null), s = Mn(t, o), c = i.values.length, l = i.values.map((e) => Ku(e, i.min, i.max)), u = c > 1 ? Math.min(...l) : 0, d = 100 - Math.max(...l);
3429
+ return /* @__PURE__ */ X(ar.span, {
3430
3430
  "data-orientation": i.orientation,
3431
3431
  "data-disabled": i.disabled ? "" : void 0,
3432
3432
  ...r,
@@ -3440,14 +3440,14 @@ var Ru = "SliderRange", zu = U.forwardRef((e, t) => {
3440
3440
  });
3441
3441
  zu.displayName = Ru;
3442
3442
  var Bu = "SliderThumb", Vu = U.forwardRef((e, t) => {
3443
- let n = wu(e.__scopeSlider), [r, i] = U.useState(null), a = Ln(t, (e) => i(e)), o = U.useMemo(() => r ? n().findIndex((e) => e.ref.current === r) : -1, [n, r]);
3443
+ let n = wu(e.__scopeSlider), [r, i] = U.useState(null), a = Mn(t, (e) => i(e)), o = U.useMemo(() => r ? n().findIndex((e) => e.ref.current === r) : -1, [n, r]);
3444
3444
  return /* @__PURE__ */ X(Hu, {
3445
3445
  ...e,
3446
3446
  ref: a,
3447
3447
  index: o
3448
3448
  });
3449
3449
  }), Hu = U.forwardRef((e, t) => {
3450
- let { __scopeSlider: n, index: r, name: i, ...a } = e, o = ku(Bu, n), s = Mu(Bu, n), [c, l] = U.useState(null), u = Ln(t, (e) => l(e)), d = !c || o.form || !!c.closest("form"), f = In(c), p = o.values[r], m = p === void 0 ? 0 : Ku(p, o.min, o.max), h = qu(r, o.values.length), g = f?.[s.size], _ = g ? Yu(g, m, s.direction) : 0;
3450
+ let { __scopeSlider: n, index: r, name: i, ...a } = e, o = ku(Bu, n), s = Mu(Bu, n), [c, l] = U.useState(null), u = Mn(t, (e) => l(e)), d = !c || o.form || !!c.closest("form"), f = Xn(c), p = o.values[r], m = p === void 0 ? 0 : Ku(p, o.min, o.max), h = qu(r, o.values.length), g = f?.[s.size], _ = g ? Yu(g, m, s.direction) : 0;
3451
3451
  return U.useEffect(() => {
3452
3452
  if (c) return o.thumbs.add(c), () => {
3453
3453
  o.thumbs.delete(c);
@@ -3460,7 +3460,7 @@ var Bu = "SliderThumb", Vu = U.forwardRef((e, t) => {
3460
3460
  },
3461
3461
  children: [/* @__PURE__ */ X(Cu.ItemSlot, {
3462
3462
  scope: e.__scopeSlider,
3463
- children: /* @__PURE__ */ X(Qn.span, {
3463
+ children: /* @__PURE__ */ X(ar.span, {
3464
3464
  role: "slider",
3465
3465
  "aria-label": e["aria-label"] || h,
3466
3466
  "aria-valuemin": o.min,
@@ -3473,7 +3473,7 @@ var Bu = "SliderThumb", Vu = U.forwardRef((e, t) => {
3473
3473
  ...a,
3474
3474
  ref: u,
3475
3475
  style: p === void 0 ? { display: "none" } : e.style,
3476
- onFocus: or(e.onFocus, () => {
3476
+ onFocus: zn(e.onFocus, () => {
3477
3477
  o.valueIndexToChangeRef.current = r;
3478
3478
  })
3479
3479
  })
@@ -3486,7 +3486,7 @@ var Bu = "SliderThumb", Vu = U.forwardRef((e, t) => {
3486
3486
  });
3487
3487
  Vu.displayName = Bu;
3488
3488
  var Uu = "RadioBubbleInput", Wu = U.forwardRef(({ __scopeSlider: e, value: t, ...n }, r) => {
3489
- let i = U.useRef(null), a = Ln(i, r), o = Qo(t);
3489
+ let i = U.useRef(null), a = Mn(i, r), o = Qo(t);
3490
3490
  return U.useEffect(() => {
3491
3491
  let e = i.current;
3492
3492
  if (!e) return;
@@ -3495,7 +3495,7 @@ var Uu = "RadioBubbleInput", Wu = U.forwardRef(({ __scopeSlider: e, value: t, ..
3495
3495
  let n = new Event("input", { bubbles: !0 });
3496
3496
  r.call(e, t), e.dispatchEvent(n);
3497
3497
  }
3498
- }, [o, t]), /* @__PURE__ */ X(Qn.input, {
3498
+ }, [o, t]), /* @__PURE__ */ X(ar.input, {
3499
3499
  style: { display: "none" },
3500
3500
  ...n,
3501
3501
  ref: a,
@@ -3549,7 +3549,7 @@ function ed(e, t) {
3549
3549
  return Math.round(e * n) / n;
3550
3550
  }
3551
3551
  var td = Au, nd = Lu, rd = zu, id = Vu, ad = td, od = nd, sd = rd, cd = id, ld = ({ currentTime: e, duration: t, buffered: n = 0, disabled: r, onSeek: i }) => {
3552
- let a = B(), [o, s] = J(null), c = q(!1), l = t > 0 ? t : 0, u = o ?? e, d = l > 0 ? Math.min(Math.max(u, 0), l) / l * 100 : 0, f = l > 0 ? Math.min(n / l * 100, 100) : 0, p = r || l === 0, m = q(null), [h, g] = J(0);
3552
+ let a = V(), [o, s] = J(null), c = q(!1), l = t > 0 ? t : 0, u = o ?? e, d = l > 0 ? Math.min(Math.max(u, 0), l) / l * 100 : 0, f = l > 0 ? Math.min(n / l * 100, 100) : 0, p = r || l === 0, m = q(null), [h, g] = J(0);
3553
3553
  G(() => {
3554
3554
  let e = m.current;
3555
3555
  if (!e) return;
@@ -3617,19 +3617,19 @@ var td = Au, nd = Lu, rd = zu, id = Vu, ad = td, od = nd, sd = rd, cd = id, ld =
3617
3617
  //#region src/blocks/F0AudioPlayer/components/LanguageSelect.tsx
3618
3618
  function ud({ value: e, options: t, onChange: n, kind: r }) {
3619
3619
  let [i, a] = J(!1), o = t.find((t) => t.locale === e), s = o ? mc(o) : e;
3620
- return /* @__PURE__ */ Z(er, {
3620
+ return /* @__PURE__ */ Z(rr, {
3621
3621
  open: i,
3622
3622
  onOpenChange: a,
3623
- children: [/* @__PURE__ */ X(Pn, {
3623
+ children: [/* @__PURE__ */ X(Nn, {
3624
3624
  asChild: !0,
3625
- children: /* @__PURE__ */ X(R, {
3625
+ children: /* @__PURE__ */ X(z, {
3626
3626
  variant: "outline",
3627
3627
  size: "sm",
3628
3628
  label: s,
3629
3629
  "aria-label": `${r}: ${s}`,
3630
3630
  tooltip: r
3631
3631
  })
3632
- }), /* @__PURE__ */ X(Gn, {
3632
+ }), /* @__PURE__ */ X(Hn, {
3633
3633
  align: "end",
3634
3634
  sideOffset: 4,
3635
3635
  className: H("flex w-auto min-w-[8rem] flex-col gap-0.5 rounded-md border", "border-solid border-f1-border-secondary bg-f1-background p-1 shadow-md"),
@@ -3677,7 +3677,7 @@ function ud({ value: e, options: t, onChange: n, kind: r }) {
3677
3677
  }
3678
3678
  //#endregion
3679
3679
  //#region src/blocks/F0AudioPlayer/components/PlaybackTime.tsx
3680
- var dd = nr({
3680
+ var dd = Bn({
3681
3681
  base: "shrink-0 font-medium tabular-nums text-f1-foreground-secondary",
3682
3682
  variants: { size: {
3683
3683
  sm: "text-xs",
@@ -3691,7 +3691,7 @@ var dd = nr({
3691
3691
  du(t)
3692
3692
  ]
3693
3693
  }), pd = ({ isPlaying: e, disabled: t, size: n = "md", onToggle: r }) => {
3694
- let i = B(), a = e ? ao : Ha;
3694
+ let i = V(), a = e ? Va : La;
3695
3695
  return /* @__PURE__ */ X("button", {
3696
3696
  type: "button",
3697
3697
  "aria-label": e ? i.audioPlayer.pause : i.audioPlayer.play,
@@ -3701,18 +3701,18 @@ var dd = nr({
3701
3701
  children: /* @__PURE__ */ X(a, { className: n === "sm" ? "size-5" : "size-6" })
3702
3702
  });
3703
3703
  }, md = ({ playbackRate: e, playbackRates: t, onRateChange: n, disabled: r, extraItems: i = [], audioLanguages: a = [], audioLanguage: o, onAudioLanguageChange: s }) => {
3704
- let c = B(), l = t.length > 0, u = a.length > 1;
3705
- return /* @__PURE__ */ Z(mn, { children: [/* @__PURE__ */ X(kn, {
3704
+ let c = V(), l = t.length > 0, u = a.length > 1;
3705
+ return /* @__PURE__ */ Z(pn, { children: [/* @__PURE__ */ X(En, {
3706
3706
  asChild: !0,
3707
- children: /* @__PURE__ */ X(R, {
3707
+ children: /* @__PURE__ */ X(z, {
3708
3708
  variant: "ghost",
3709
3709
  size: "sm",
3710
- icon: Ni,
3710
+ icon: Pi,
3711
3711
  label: c.audioPlayer.options,
3712
3712
  hideLabel: !0,
3713
3713
  disabled: r
3714
3714
  })
3715
- }), /* @__PURE__ */ Z(qn, {
3715
+ }), /* @__PURE__ */ Z(Wn, {
3716
3716
  align: "end",
3717
3717
  className: "flex min-w-44 flex-col gap-0.5",
3718
3718
  children: [
@@ -3721,7 +3721,7 @@ var dd = nr({
3721
3721
  children: c.audioPlayer.playbackSpeed
3722
3722
  }), t.map((t) => {
3723
3723
  let r = t === e;
3724
- return /* @__PURE__ */ Z(Sn, {
3724
+ return /* @__PURE__ */ Z(Cn, {
3725
3725
  onSelect: () => n(t),
3726
3726
  className: H("justify-between gap-3 px-3 text-sm text-f1-foreground", r && "before:absolute before:inset-x-1 before:inset-y-0 before:rounded before:bg-f1-background-selected-bold/10 before:content-[''] dark:before:bg-f1-background-selected-bold/20"),
3727
3727
  children: [/* @__PURE__ */ Z("span", {
@@ -3729,7 +3729,7 @@ var dd = nr({
3729
3729
  children: [t, "x"]
3730
3730
  }), r ? /* @__PURE__ */ X("span", {
3731
3731
  className: "relative flex text-f1-icon-selected",
3732
- children: /* @__PURE__ */ X(V, {
3732
+ children: /* @__PURE__ */ X(B, {
3733
3733
  icon: zs,
3734
3734
  size: "md"
3735
3735
  })
@@ -3737,14 +3737,14 @@ var dd = nr({
3737
3737
  }, t);
3738
3738
  })] }) : null,
3739
3739
  u ? /* @__PURE__ */ Z(Y, { children: [
3740
- l ? /* @__PURE__ */ X(Dn, {}) : null,
3740
+ l ? /* @__PURE__ */ X(Tn, {}) : null,
3741
3741
  /* @__PURE__ */ X(wn, {
3742
3742
  className: "text-f1-foreground-secondary",
3743
3743
  children: c.audioPlayer.audio
3744
3744
  }),
3745
3745
  a.map((e) => {
3746
3746
  let t = e.locale === o;
3747
- return /* @__PURE__ */ Z(Sn, {
3747
+ return /* @__PURE__ */ Z(Cn, {
3748
3748
  onSelect: () => s?.(e.locale),
3749
3749
  className: H("justify-between gap-3 px-3 text-sm text-f1-foreground", t && "before:absolute before:inset-x-1 before:inset-y-0 before:rounded before:bg-f1-background-selected-bold/10 before:content-[''] dark:before:bg-f1-background-selected-bold/20"),
3750
3750
  children: [/* @__PURE__ */ X("span", {
@@ -3752,7 +3752,7 @@ var dd = nr({
3752
3752
  children: mc(e)
3753
3753
  }), t ? /* @__PURE__ */ X("span", {
3754
3754
  className: "relative flex text-f1-icon-selected",
3755
- children: /* @__PURE__ */ X(V, {
3755
+ children: /* @__PURE__ */ X(B, {
3756
3756
  icon: zs,
3757
3757
  size: "md"
3758
3758
  })
@@ -3760,12 +3760,12 @@ var dd = nr({
3760
3760
  }, e.locale);
3761
3761
  })
3762
3762
  ] }) : null,
3763
- i.length > 0 ? /* @__PURE__ */ Z(Y, { children: [l || u ? /* @__PURE__ */ X(Dn, {}) : null, i.map((e) => /* @__PURE__ */ Z(Sn, {
3763
+ i.length > 0 ? /* @__PURE__ */ Z(Y, { children: [l || u ? /* @__PURE__ */ X(Tn, {}) : null, i.map((e) => /* @__PURE__ */ Z(Cn, {
3764
3764
  onSelect: () => e.onClick(),
3765
3765
  className: H("gap-2 px-3 text-sm", e.critical ? "text-f1-foreground-critical" : "text-f1-foreground"),
3766
3766
  children: [e.icon ? /* @__PURE__ */ X("span", {
3767
3767
  className: H("relative flex", e.critical ? "text-f1-icon-critical" : "text-f1-icon"),
3768
- children: /* @__PURE__ */ X(V, {
3768
+ children: /* @__PURE__ */ X(B, {
3769
3769
  icon: e.icon,
3770
3770
  size: "md"
3771
3771
  })
@@ -3777,7 +3777,7 @@ var dd = nr({
3777
3777
  ]
3778
3778
  })] });
3779
3779
  }, hd = (e) => H("block w-full rounded px-2 py-1 text-left transition-colors", e ? "bg-f1-background-selected-secondary font-medium" : "bg-transparent"), gd = Dc(function({ cue: e, index: t, isActive: n, onSeek: r, cueRefs: i }) {
3780
- let a = B(), { startTime: o } = e, s = r && o !== void 0, c = W((e) => {
3780
+ let a = V(), { startTime: o } = e, s = r && o !== void 0, c = W((e) => {
3781
3781
  i?.current && (i.current[t] = e);
3782
3782
  }, [i, t]), l = W(() => {
3783
3783
  o !== void 0 && r?.(o);
@@ -3805,7 +3805,7 @@ var dd = nr({
3805
3805
  })
3806
3806
  });
3807
3807
  }), _d = Dc(function({ cues: e, activeIndex: t, onSeek: n, cueRefs: r }) {
3808
- let i = B();
3808
+ let i = V();
3809
3809
  return /* @__PURE__ */ Z(Y, { children: [n ? /* @__PURE__ */ X("p", {
3810
3810
  className: "sr-only",
3811
3811
  children: i.audioPlayer.transcriptHint
@@ -3935,10 +3935,10 @@ var bd = (e) => {
3935
3935
  "End",
3936
3936
  " "
3937
3937
  ]), Sd = Tc((e, t) => {
3938
- let { title: n, subtitle: r, actions: i, className: a, src: o, preload: s, autoPlay: c = !1, disabled: l = !1, ariaLabel: u, size: d = "md", content: f, defaultLanguage: p, details: m, expanded: h, defaultExpanded: g = !1, onExpandedChange: _, detailsMaxHeight: v = 200 } = e, y = B(), b = vd(o, p), x = bd({
3938
+ let { title: n, subtitle: r, actions: i, className: a, src: o, preload: s, autoPlay: c = !1, disabled: l = !1, ariaLabel: u, size: d = "md", content: f, defaultLanguage: p, details: m, expanded: h, defaultExpanded: g = !1, onExpandedChange: _, detailsMaxHeight: v = 200 } = e, y = V(), b = vd(o, p), x = bd({
3939
3939
  ...e,
3940
3940
  src: b.resolvedSrc
3941
- }), S = uu(e), C = yn(), w = (e) => {
3941
+ }), S = uu(e), C = Sn(), w = (e) => {
3942
3942
  yd(x.audioRef.current), b.setLocale(e);
3943
3943
  }, T = !f && !!(m && m.length > 0), E = K(() => hc(f?.summary, f?.transcription), [f?.summary, f?.transcription]), [D, O] = J(() => gc(E, p)), k = E.some((e) => e.locale === D) ? D : gc(E, p), A = pc(f?.summary, k), j = pc(f?.transcription, k), M = vu(x.audioRef, x.currentSrc, !j), N = j ?? M, P = Array.isArray(N) ? N : void 0, F = typeof N == "string" ? N : void 0, I = !!(F || P?.length), ee = K(() => P ? fu(P) : [], [P]), te = ee.length > 0, L = x.pendingTime ?? x.currentTime, ne = K(() => te ? pu(ee, L) : -1, [
3944
3944
  te,
@@ -3996,7 +3996,7 @@ var bd = (e) => {
3996
3996
  oe,
3997
3997
  y.audioPlayer.summary,
3998
3998
  y.audioPlayer.transcription
3999
- ]), ce = I ? "available" : "missing", le = se.length > 0, ue = se.length === 1 ? se[0] : void 0, de = (e) => ue?.value === "transcription" ? e ? y.audioPlayer.hideTranscription : y.audioPlayer.viewTranscription : ue?.value === "summary" ? e ? y.audioPlayer.hideSummary : y.audioPlayer.viewSummary : e ? y.audioPlayer.hideDetail : y.audioPlayer.viewDetail, [fe = !1, pe] = Wn({
3999
+ ]), ce = I ? "available" : "missing", le = se.length > 0, ue = se.length === 1 ? se[0] : void 0, de = (e) => ue?.value === "transcription" ? e ? y.audioPlayer.hideTranscription : y.audioPlayer.viewTranscription : ue?.value === "summary" ? e ? y.audioPlayer.hideSummary : y.audioPlayer.viewSummary : e ? y.audioPlayer.hideDetail : y.audioPlayer.viewDetail, [fe = !1, pe] = $n({
4000
4000
  prop: h,
4001
4001
  defaultProp: g,
4002
4002
  onChange: _
@@ -4051,7 +4051,7 @@ var bd = (e) => {
4051
4051
  })]
4052
4052
  }), le || x.playbackRates.length > 0 || b.languages.length > 1 || i ? /* @__PURE__ */ Z("div", {
4053
4053
  className: "flex shrink-0 items-center gap-2",
4054
- children: [le ? /* @__PURE__ */ X(R, {
4054
+ children: [le ? /* @__PURE__ */ X(z, {
4055
4055
  variant: "outline",
4056
4056
  size: "sm",
4057
4057
  label: de(fe),
@@ -4083,7 +4083,7 @@ var bd = (e) => {
4083
4083
  size: d
4084
4084
  })]
4085
4085
  }),
4086
- le ? /* @__PURE__ */ Z(ar.div, {
4086
+ le ? /* @__PURE__ */ Z(Rn.div, {
4087
4087
  role: "region",
4088
4088
  "aria-label": ue ? ue.label : y.audioPlayer.details,
4089
4089
  initial: !1,
@@ -4143,14 +4143,14 @@ var bd = (e) => {
4143
4143
  Sd.displayName = "F0AudioPlayerCard";
4144
4144
  //#endregion
4145
4145
  //#region src/blocks/F0AudioPlayer/F0AudioPlayer.tsx
4146
- var Cd = nr({
4146
+ var Cd = Bn({
4147
4147
  base: "flex w-full items-center",
4148
4148
  variants: { size: {
4149
4149
  sm: "gap-2",
4150
4150
  md: "gap-3"
4151
4151
  } }
4152
4152
  }), wd = Tc((e, t) => {
4153
- let { src: n, preload: r, autoPlay: i = !1, disabled: a = !1, ariaLabel: o, size: s = "md", defaultLanguage: c, className: l } = e, u = B(), d = vd(n, c), f = bd({
4153
+ let { src: n, preload: r, autoPlay: i = !1, disabled: a = !1, ariaLabel: o, size: s = "md", defaultLanguage: c, className: l } = e, u = V(), d = vd(n, c), f = bd({
4154
4154
  ...e,
4155
4155
  src: d.resolvedSrc
4156
4156
  }), p = uu(e), m = (e) => {
@@ -4197,7 +4197,7 @@ var Cd = nr({
4197
4197
  });
4198
4198
  });
4199
4199
  wd.displayName = "F0AudioPlayer";
4200
- var Td = Zn("F0AudioPlayer", z(wd)), Ed = Zn("F0AudioPlayerCard", z(Sd)), Dd = Nn, Od = ({ actions: e }) => /* @__PURE__ */ X("div", {
4200
+ var Td = tr("F0AudioPlayer", R(wd)), Ed = tr("F0AudioPlayerCard", R(Sd)), Dd = yn, Od = ({ actions: e }) => /* @__PURE__ */ X("div", {
4201
4201
  className: "flex items-center gap-2",
4202
4202
  children: e.map((e, t) => {
4203
4203
  switch (e.type) {
@@ -4208,13 +4208,13 @@ var Td = Zn("F0AudioPlayer", z(wd)), Ed = Zn("F0AudioPlayerCard", z(Sd)), Dd = N
4208
4208
  disabled: e.disabled,
4209
4209
  ariaLabel: e.ariaLabel
4210
4210
  }, t);
4211
- case "dropdown": return /* @__PURE__ */ X(ho, {
4211
+ case "dropdown": return /* @__PURE__ */ X(Ma, {
4212
4212
  items: e.items,
4213
4213
  disabled: e.disabled,
4214
- children: /* @__PURE__ */ X(R, {
4214
+ children: /* @__PURE__ */ X(z, {
4215
4215
  variant: "outline",
4216
4216
  size: "sm",
4217
- icon: Ni,
4217
+ icon: Pi,
4218
4218
  label: e.ariaLabel,
4219
4219
  hideLabel: !0,
4220
4220
  disabled: e.disabled
@@ -4223,8 +4223,8 @@ var Td = Zn("F0AudioPlayer", z(wd)), Ed = Zn("F0AudioPlayerCard", z(Sd)), Dd = N
4223
4223
  }
4224
4224
  })
4225
4225
  }), kd = ({ item: e, open: t, onOpenChange: n }) => {
4226
- let r = yn(), i = B().t(t ? "actions.collapseItem" : "actions.expandItem", { title: e.title }), a = !!e.actions && e.actions.length > 0;
4227
- return /* @__PURE__ */ X(ya, {
4226
+ let r = Sn(), i = V().t(t ? "actions.collapseItem" : "actions.expandItem", { title: e.title }), a = !!e.actions && e.actions.length > 0;
4227
+ return /* @__PURE__ */ X(Wi, {
4228
4228
  open: t,
4229
4229
  onOpenChange: n,
4230
4230
  asChild: !0,
@@ -4232,7 +4232,7 @@ var Td = Zn("F0AudioPlayer", z(wd)), Ed = Zn("F0AudioPlayerCard", z(Sd)), Dd = N
4232
4232
  className: "flex flex-col",
4233
4233
  children: [/* @__PURE__ */ Z("div", {
4234
4234
  className: "flex items-center",
4235
- children: [/* @__PURE__ */ X(Ri, {
4235
+ children: [/* @__PURE__ */ X(wa, {
4236
4236
  asChild: !0,
4237
4237
  children: /* @__PURE__ */ X("button", {
4238
4238
  type: "button",
@@ -4250,9 +4250,9 @@ var Td = Zn("F0AudioPlayer", z(wd)), Ed = Zn("F0AudioPlayerCard", z(Sd)), Dd = N
4250
4250
  children: e.summary
4251
4251
  }) : null,
4252
4252
  a ? /* @__PURE__ */ X(Od, { actions: e.actions }) : null,
4253
- /* @__PURE__ */ X(Ri, {
4253
+ /* @__PURE__ */ X(wa, {
4254
4254
  asChild: !0,
4255
- children: /* @__PURE__ */ X(R, {
4255
+ children: /* @__PURE__ */ X(z, {
4256
4256
  variant: "outline",
4257
4257
  size: "sm",
4258
4258
  icon: t ? Zo : Ao,
@@ -4262,9 +4262,9 @@ var Td = Zn("F0AudioPlayer", z(wd)), Ed = Zn("F0AudioPlayerCard", z(Sd)), Dd = N
4262
4262
  })
4263
4263
  ]
4264
4264
  })]
4265
- }), /* @__PURE__ */ X(Vn, {
4265
+ }), /* @__PURE__ */ X(jn, {
4266
4266
  initial: !1,
4267
- children: t ? /* @__PURE__ */ X(ar.div, {
4267
+ children: t ? /* @__PURE__ */ X(Rn.div, {
4268
4268
  initial: {
4269
4269
  height: 0,
4270
4270
  opacity: 0
@@ -4279,7 +4279,7 @@ var Td = Zn("F0AudioPlayer", z(wd)), Ed = Zn("F0AudioPlayerCard", z(Sd)), Dd = N
4279
4279
  },
4280
4280
  transition: { duration: r ? 0 : .2 },
4281
4281
  className: "overflow-hidden",
4282
- children: /* @__PURE__ */ X(Ea, {
4282
+ children: /* @__PURE__ */ X(ya, {
4283
4283
  forceMount: !0,
4284
4284
  asChild: !0,
4285
4285
  children: /* @__PURE__ */ Z("div", {
@@ -4300,10 +4300,10 @@ var Td = Zn("F0AudioPlayer", z(wd)), Ed = Zn("F0AudioPlayerCard", z(Sd)), Dd = N
4300
4300
  className: H("flex flex-col rounded-md border border-solid border-f1-border-secondary", "overflow-hidden bg-f1-background"),
4301
4301
  children: Array.from({ length: e }).map((e, t) => /* @__PURE__ */ Z(Cc, { children: [t > 0 ? /* @__PURE__ */ X("div", { className: "h-px w-full bg-f1-border-secondary" }) : null, /* @__PURE__ */ Z("div", {
4302
4302
  className: "flex items-center gap-3 px-4 py-3",
4303
- children: [/* @__PURE__ */ X(Hn, { className: "h-4 flex-1 max-w-48" }), /* @__PURE__ */ X(Hn, { className: "ml-auto h-7 w-7 shrink-0 rounded" })]
4303
+ children: [/* @__PURE__ */ X(qn, { className: "h-4 flex-1 max-w-48" }), /* @__PURE__ */ X(qn, { className: "ml-auto h-7 w-7 shrink-0 rounded" })]
4304
4304
  })] }, t))
4305
4305
  }), jd = Tc((e, t) => {
4306
- 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] = Wn({
4306
+ 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] = $n({
4307
4307
  prop: r,
4308
4308
  defaultProp: s,
4309
4309
  onChange: a
@@ -4323,23 +4323,23 @@ var Td = Zn("F0AudioPlayer", z(wd)), Ed = Zn("F0AudioPlayerCard", z(Sd)), Dd = N
4323
4323
  });
4324
4324
  });
4325
4325
  jd.displayName = "F0Accordion";
4326
- var Md = z(Zn("F0Accordion", Za(jd, Ad))), Nd = [
4326
+ var Md = R(tr("F0Accordion", sa(jd, Ad))), Nd = [
4327
4327
  "info",
4328
4328
  "warning",
4329
4329
  "critical",
4330
4330
  "positive"
4331
4331
  ], Pd = ({ count: e, list: t }) => {
4332
4332
  let [n, r] = J(!1), i = /* @__PURE__ */ X(qo, { label: `+${e}` });
4333
- return t?.length ? /* @__PURE__ */ Z(er, {
4333
+ return t?.length ? /* @__PURE__ */ Z(rr, {
4334
4334
  open: n,
4335
4335
  onOpenChange: r,
4336
- children: [/* @__PURE__ */ X(Pn, {
4336
+ children: [/* @__PURE__ */ X(Nn, {
4337
4337
  asChild: !0,
4338
4338
  children: /* @__PURE__ */ X("button", {
4339
4339
  className: vr("inline-flex flex-shrink-0 items-center"),
4340
4340
  children: i
4341
4341
  })
4342
- }), /* @__PURE__ */ X(Gn, {
4342
+ }), /* @__PURE__ */ X(Hn, {
4343
4343
  className: "rounded-md border border-solid border-f1-border-secondary p-1 shadow-md",
4344
4344
  align: "end",
4345
4345
  children: /* @__PURE__ */ Z(Po, {
@@ -4381,7 +4381,7 @@ var Fd = ({ chips: e, max: t = 4, remainingCount: n, layout: r = "compact" }) =>
4381
4381
  });
4382
4382
  };
4383
4383
  Fd.displayName = "F0ChipList";
4384
- var Id = z(Zn("F0ChipList", Fd)), Ld = [
4384
+ var Id = R(tr("F0ChipList", Fd)), Ld = [
4385
4385
  "blur",
4386
4386
  "escape",
4387
4387
  "commit",
@@ -4394,9 +4394,9 @@ var Id = z(Zn("F0ChipList", Fd)), Ld = [
4394
4394
  "positive",
4395
4395
  "transparent"
4396
4396
  ], Bd = {
4397
- get: async (e) => JSON.parse(localStorage.getItem(ga(e)) ?? "{}"),
4397
+ get: async (e) => JSON.parse(localStorage.getItem(ho(e)) ?? "{}"),
4398
4398
  set: async (e, t) => {
4399
- localStorage.setItem(ga(e), JSON.stringify(t));
4399
+ localStorage.setItem(ho(e), JSON.stringify(t));
4400
4400
  }
4401
4401
  }, Vd = ({ disableClose: e = !1, onClose: t, isOpen: n, children: i, position: a = "right", size: o = "md", primaryAction: s, secondaryAction: c, title: l, description: u, module: d, otherActions: f, tabs: p, modal: m = !1, activeTabId: h, setActiveTabId: g, disableContentPadding: _, container: v, onWidthChange: y }) => {
4402
4402
  let [b, x] = J(n);
@@ -4458,9 +4458,9 @@ var Id = z(Zn("F0ChipList", Fd)), Ld = [
4458
4458
  return /* @__PURE__ */ X(Vd, { ...t });
4459
4459
  };
4460
4460
  Ud.displayName = "F0Drawer";
4461
- var Wd = Zn("F0Drawer", Ud), Gd = 388;
4461
+ var Wd = tr("F0Drawer", Ud), Gd = 388;
4462
4462
  function Kd({ filters: e, value: t, onChange: n, height: r, width: i = 600, className: a, showApplyButton: o = !0, applyButtonLabel: s, dataTestId: c }) {
4463
- let l = B(), u = Object.keys(e)[0] ?? null, [d, f] = J(u), [p, m] = J(t);
4463
+ let l = V(), u = Object.keys(e)[0] ?? null, [d, f] = J(u), [p, m] = J(t);
4464
4464
  G(() => {
4465
4465
  m(t);
4466
4466
  }, [t]), G(() => {
@@ -4495,7 +4495,7 @@ function Kd({ filters: e, value: t, onChange: n, height: r, width: i = 600, clas
4495
4495
  let r = rc(n.type);
4496
4496
  return Math.max(e, r?.formHeight || Gd);
4497
4497
  }, 0), [e, r]);
4498
- return !e || Object.keys(e).length === 0 ? null : /* @__PURE__ */ X($n, {
4498
+ return !e || Object.keys(e).length === 0 ? null : /* @__PURE__ */ X(Un, {
4499
4499
  dataTestId: c,
4500
4500
  children: /* @__PURE__ */ X("div", {
4501
4501
  className: H("overflow-hidden rounded-xl border border-solid border-f1-border-secondary bg-f1-background", a),
@@ -4519,11 +4519,11 @@ var qd = Kd;
4519
4519
  //#endregion
4520
4520
  //#region src/blocks/F0Form/describeFormSchema.ts
4521
4521
  function Jd(e) {
4522
- let t = Fa(e).shape, n = [];
4522
+ let t = Da(e).shape, n = [];
4523
4523
  for (let [e, r] of Object.entries(t)) {
4524
- let t = r, i = oo(t);
4524
+ let t = r, i = Zi(t);
4525
4525
  if (!i) continue;
4526
- let a = Na(t, i), o = nn(t, a), s = {
4526
+ let a = Xi(t, i), o = nn(t, a), s = {
4527
4527
  name: e,
4528
4528
  type: a,
4529
4529
  label: i.label,
@@ -4595,9 +4595,9 @@ function Xd(e) {
4595
4595
  let r = {
4596
4596
  ...n,
4597
4597
  ...e
4598
- }, i = Fa(t), a = [];
4598
+ }, i = Da(t), a = [];
4599
4599
  for (let [e, t] of Object.entries(i.shape)) {
4600
- let n = oo(t);
4600
+ let n = Zi(t);
4601
4601
  n?.renderIf ? Yt(n.renderIf, r) && a.push(e) : a.push(e);
4602
4602
  }
4603
4603
  return a;
@@ -4641,12 +4641,12 @@ var Qd = ({ isOpen: e = !1, onClose: t = () => {}, type: n, title: r, descriptio
4641
4641
  modal: !0,
4642
4642
  children: /* @__PURE__ */ Z("div", {
4643
4643
  className: "flex flex-col gap-4 py-2",
4644
- children: [/* @__PURE__ */ X(Ia, {
4644
+ children: [/* @__PURE__ */ X(Ha, {
4645
4645
  type: n,
4646
4646
  size: "lg"
4647
4647
  }), /* @__PURE__ */ Z("div", {
4648
4648
  className: "flex flex-col gap-0.5",
4649
- children: [/* @__PURE__ */ X(na, {
4649
+ children: [/* @__PURE__ */ X(Ka, {
4650
4650
  className: "text-xl sm:text-lg",
4651
4651
  children: r
4652
4652
  }), /* @__PURE__ */ X(oe, {
@@ -4759,7 +4759,7 @@ var Qd = ({ isOpen: e = !1, onClose: t = () => {}, type: n, title: r, descriptio
4759
4759
  children: e.content
4760
4760
  }, e.id) }, e.id)) });
4761
4761
  }, nf = ({ children: e }) => {
4762
- let t = Mc(T.subscribe, T.getSnapshot, T.getServerSnapshot), n = B(), [r, i] = J(null);
4762
+ let t = Mc(T.subscribe, T.getSnapshot, T.getServerSnapshot), n = V(), [r, i] = J(null);
4763
4763
  G(() => {
4764
4764
  let e = T.acquireRenderer();
4765
4765
  return i(e.id), e.release;
@@ -4908,7 +4908,7 @@ function df({ children: e, ...t }) {
4908
4908
  }
4909
4909
  //#endregion
4910
4910
  //#region src/blocks/F0Wizard/components/WizardSteps.tsx
4911
- var ff = nr({
4911
+ var ff = Bn({
4912
4912
  base: "flex-1 text-base font-medium leading-5 tracking-[-0.005em]",
4913
4913
  variants: { state: {
4914
4914
  active: "text-f1-foreground",
@@ -4923,7 +4923,7 @@ function mf({ state: e, index: t }) {
4923
4923
  return e === "completed" ? /* @__PURE__ */ X("span", {
4924
4924
  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",
4925
4925
  children: /* @__PURE__ */ X(fc, { className: "h-3 w-3" })
4926
- }) : /* @__PURE__ */ X(jn, {
4926
+ }) : /* @__PURE__ */ X(On, {
4927
4927
  value: t + 1,
4928
4928
  type: e === "active" ? "selected" : "default",
4929
4929
  size: "md"
@@ -5031,9 +5031,9 @@ var _f = () => {}, vf = ({ steps: e, children: t, isOpen: n, onClose: r = _f, ti
5031
5031
  allowStepSkipping: f,
5032
5032
  autoCloseOnLastStepSubmit: p,
5033
5033
  onClose: r
5034
- }), g = B(), _ = e[h.currentStep], y = h.currentStep === 0, b = h.currentStep === e.length - 1, x = b ? _?.nextLabel ?? l ?? g.wizard.submit : _?.nextLabel ?? s ?? g.wizard.next, S = _?.previousLabel ?? c ?? g.wizard.previous, C = K(() => ({
5034
+ }), g = V(), _ = e[h.currentStep], y = h.currentStep === 0, b = h.currentStep === e.length - 1, x = b ? _?.nextLabel ?? l ?? g.wizard.submit : _?.nextLabel ?? s ?? g.wizard.next, S = _?.previousLabel ?? c ?? g.wizard.previous, C = K(() => ({
5035
5035
  label: x,
5036
- icon: b ? void 0 : wi,
5036
+ icon: b ? void 0 : pa,
5037
5037
  onClick: () => void h.goNext(),
5038
5038
  disabled: _?.isCompleted?.() === !1 || _?.hasErrors?.() === !0,
5039
5039
  loading: h.loading
@@ -5086,18 +5086,18 @@ var _f = () => {}, vf = ({ steps: e, children: t, isOpen: n, onClose: r = _f, ti
5086
5086
  })
5087
5087
  });
5088
5088
  };
5089
- vf.displayName = "F0Wizard", z(vf);
5089
+ vf.displayName = "F0Wizard", R(vf);
5090
5090
  //#endregion
5091
5091
  //#region src/blocks/F0WizardForm/F0WizardForm.tsx
5092
5092
  function yf(e) {
5093
- let t = Fa(e).shape, n = Object.entries(t);
5094
- return n.length !== 0 && n.every(([, e]) => oo(e)?.disabled === !0);
5093
+ let t = Da(e).shape, n = Object.entries(t);
5094
+ return n.length !== 0 && n.every(([, e]) => Zi(e)?.disabled === !0);
5095
5095
  }
5096
5096
  function bf(e, t) {
5097
5097
  if (t) return Object.keys(t);
5098
- let n = Fa(e).shape, r = /* @__PURE__ */ new Set();
5098
+ let n = Da(e).shape, r = /* @__PURE__ */ new Set();
5099
5099
  for (let e of Object.values(n)) {
5100
- let t = oo(e);
5100
+ let t = Zi(e);
5101
5101
  t?.section && r.add(t.section);
5102
5102
  }
5103
5103
  return Array.from(r);
@@ -5105,15 +5105,15 @@ function bf(e, t) {
5105
5105
  function xf(e, t) {
5106
5106
  let n = e.shape, r = {};
5107
5107
  for (let [e, i] of Object.entries(n)) {
5108
- let n = oo(i);
5108
+ let n = Zi(i);
5109
5109
  n?.section && t.includes(n.section) && (r[e] = i);
5110
5110
  }
5111
- return Ta(r);
5111
+ return va(r);
5112
5112
  }
5113
5113
  function Sf(e, t, n) {
5114
5114
  let r = t ?? {};
5115
5115
  if (n) return n({ data: r });
5116
- let i = Fa(e).shape;
5116
+ let i = Da(e).shape;
5117
5117
  return Object.entries(i).every(([e, t]) => {
5118
5118
  if (t.isOptional()) return !0;
5119
5119
  let n = r[e];
@@ -5122,7 +5122,7 @@ function Sf(e, t, n) {
5122
5122
  }
5123
5123
  var Cf = 3e3;
5124
5124
  function wf() {
5125
- let { forms: e } = B(), [t, n] = J("idle"), [r, i] = J(), a = q(null);
5125
+ let { forms: e } = V(), [t, n] = J("idle"), [r, i] = J(), a = q(null);
5126
5126
  G(() => () => {
5127
5127
  a.current && clearTimeout(a.current);
5128
5128
  }, []);
@@ -5339,7 +5339,7 @@ function Of({ sectionId: e, formName: t, schema: n, sectionConfig: r, defaultVal
5339
5339
  });
5340
5340
  }
5341
5341
  function kf({ formDefinition: e, steps: t, isOpen: n, onClose: r, title: i, width: a, size: o, defaultStepIndex: s, nextLabel: c, previousLabel: l, onStepChanged: u, allowStepSkipping: f, autoCloseOnLastStepSubmit: p, linkAfterLastStepSubmit: m, autoSkipCompletedSteps: h = !1, renderCustomField: g }) {
5342
- let { name: _, schema: v, sections: y, defaultValues: b, onSubmit: x, submitConfig: S, errorTriggerMode: C = "on-blur" } = e, w = S?.label, T = K(() => Fa(v), [v]), E = K(() => bf(v, y), [v, y]), D = W((e) => yf(xf(T, e)), [T]), O = Qe(), k = q(b ? { ...b } : {}), A = q(s ?? 0), j = W((e) => async () => {
5342
+ let { name: _, schema: v, sections: y, defaultValues: b, onSubmit: x, submitConfig: S, errorTriggerMode: C = "on-blur" } = e, w = S?.label, T = K(() => Da(v), [v]), E = K(() => bf(v, y), [v, y]), D = W((e) => yf(xf(T, e)), [T]), O = Qe(), k = q(b ? { ...b } : {}), A = q(s ?? 0), j = W((e) => async () => {
5343
5343
  await O.submit();
5344
5344
  }, [O]), M = W((e) => O.hasErrors, [O.hasErrors]), N = t ?? e.steps, P = K(() => N ?? E.map((e) => ({
5345
5345
  title: y?.[e]?.title ?? e,
@@ -5447,7 +5447,7 @@ function Af(e) {
5447
5447
  return e.formDefinition._brand === "per-section" ? /* @__PURE__ */ X(Df, { ...e }) : /* @__PURE__ */ X(kf, { ...e });
5448
5448
  }
5449
5449
  Af.displayName = "F0WizardForm";
5450
- var jf = z(Af), Mf = Af;
5450
+ var jf = R(Af), Mf = Af;
5451
5451
  function Nf(e, t) {
5452
5452
  if (e._brand === "per-section") {
5453
5453
  let n = e;
@@ -5534,8 +5534,8 @@ var Lf = { open: If }, Rf = [
5534
5534
  className: "flex justify-between text-sm text-f1-foreground-secondary",
5535
5535
  children: [/* @__PURE__ */ X("span", { children: e }), /* @__PURE__ */ X("span", { children: t })]
5536
5536
  }), Hf = ({ visible: e, content: t, style: n }) => {
5537
- let r = yn() ? 0 : .15;
5538
- return /* @__PURE__ */ X(Vn, { children: e ? /* @__PURE__ */ X(ar.div, {
5537
+ let r = Sn() ? 0 : .15;
5538
+ return /* @__PURE__ */ X(jn, { children: e ? /* @__PURE__ */ X(Rn.div, {
5539
5539
  initial: {
5540
5540
  opacity: 0,
5541
5541
  x: "-50%",
@@ -5563,11 +5563,11 @@ var Lf = { open: If }, Rf = [
5563
5563
  "aria-label": "Loading slider",
5564
5564
  "aria-busy": "true",
5565
5565
  "aria-live": "polite",
5566
- children: [e ? null : /* @__PURE__ */ X(Hn, { className: "h-4 w-24 rounded-md" }), /* @__PURE__ */ X("div", {
5566
+ children: [e ? null : /* @__PURE__ */ X(qn, { className: "h-4 w-24 rounded-md" }), /* @__PURE__ */ X("div", {
5567
5567
  className: "flex items-center py-2",
5568
- children: /* @__PURE__ */ X(Hn, { className: "h-1.5 w-full rounded-full" })
5568
+ children: /* @__PURE__ */ X(qn, { className: "h-1.5 w-full rounded-full" })
5569
5569
  })]
5570
- }), Wf = nr({
5570
+ }), Wf = Bn({
5571
5571
  base: "relative h-1.5 grow overflow-hidden rounded-full bg-f1-background-tertiary",
5572
5572
  variants: { status: {
5573
5573
  default: "",
@@ -5575,7 +5575,7 @@ var Lf = { open: If }, Rf = [
5575
5575
  info: "",
5576
5576
  error: ""
5577
5577
  } }
5578
- }), Gf = nr({
5578
+ }), Gf = Bn({
5579
5579
  base: "absolute h-full",
5580
5580
  variants: {
5581
5581
  status: {
@@ -5589,7 +5589,7 @@ var Lf = { open: If }, Rf = [
5589
5589
  false: ""
5590
5590
  }
5591
5591
  }
5592
- }), Kf = 20, qf = nr({
5592
+ }), Kf = 20, qf = Bn({
5593
5593
  base: H("relative block rounded-full bg-f1-background border-[2px] border-solid", "transition-[transform,border-color] hover:scale-110", "motion-reduce:transition-none motion-reduce:hover:scale-100", "data-[disabled]:cursor-not-allowed data-[disabled]:hover:scale-100"),
5594
5594
  variants: {
5595
5595
  status: {
@@ -5608,7 +5608,7 @@ var Lf = { open: If }, Rf = [
5608
5608
  G(() => {
5609
5609
  process.env.NODE_ENV !== "production" && !T && console.warn("F0Slider: provide a non-empty `label` or `ariaLabel` for accessibility.");
5610
5610
  }, [T]);
5611
- let [E, D] = Wn({
5611
+ let [E, D] = $n({
5612
5612
  prop: u,
5613
5613
  defaultProp: d ?? m,
5614
5614
  onChange: f
@@ -5701,7 +5701,7 @@ var Lf = { open: If }, Rf = [
5701
5701
  });
5702
5702
  });
5703
5703
  Jf.displayName = "F0Slider";
5704
- var Yf = Zn("F0Slider", Za(z(Jf), Uf)), Xf = [
5704
+ var Yf = tr("F0Slider", sa(R(Jf), Uf)), Xf = [
5705
5705
  "completed",
5706
5706
  "in-progress",
5707
5707
  "not-started"
@@ -5721,7 +5721,7 @@ var Yf = Zn("F0Slider", Za(z(Jf), Uf)), Xf = [
5721
5721
  "grey",
5722
5722
  "orange",
5723
5723
  "radical"
5724
- ], Qf = 16, $f = nr({
5724
+ ], Qf = 16, $f = Bn({
5725
5725
  base: "h-0.5 rounded-full bg-f1-foreground cursor-pointer",
5726
5726
  variants: {
5727
5727
  depth: {
@@ -5818,7 +5818,7 @@ function ip(e, t) {
5818
5818
  }
5819
5819
  //#endregion
5820
5820
  //#region src/blocks/F0TableOfContentPopover/F0TableOfContentPopover.tsx
5821
- var ap = 300, op = 0, sp = nr({
5821
+ var ap = 300, op = 0, sp = Bn({
5822
5822
  base: "w-auto overflow-y-auto rounded-lg border border-solid border-f1-border-secondary bg-f1-background p-0 shadow-lg",
5823
5823
  variants: { size: {
5824
5824
  sm: "max-h-[240px]",
@@ -5875,7 +5875,7 @@ function cp({ title: e, items: t, className: n, activeItem: r, collapsible: i =
5875
5875
  })]
5876
5876
  });
5877
5877
  }
5878
- var lp = z(Zn("F0TableOfContentPopover", cp));
5878
+ var lp = R(tr("F0TableOfContentPopover", cp));
5879
5879
  //#endregion
5880
5880
  //#region src/domains/talent/surveys/surveys/SurveyFormBuilder/Form/utils.ts
5881
5881
  function up(e) {
@@ -5969,8 +5969,8 @@ function mp(e) {
5969
5969
  }
5970
5970
  //#endregion
5971
5971
  //#region src/domains/talent/surveys/surveys/SurveyFormBuilder/ApplyingChangesTag/ApplyingChangesTag.tsx
5972
- var hp = ar.create(la), gp = Dc(() => {
5973
- let e = B();
5972
+ var hp = Rn.create(Mi), gp = Dc(() => {
5973
+ let e = V();
5974
5974
  return /* @__PURE__ */ Z("div", {
5975
5975
  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",
5976
5976
  children: [/* @__PURE__ */ X(hp, {
@@ -6322,15 +6322,15 @@ function Ap() {
6322
6322
  //#endregion
6323
6323
  //#region src/domains/talent/surveys/surveys/SurveyFormBuilder/constants.ts
6324
6324
  var jp = () => {
6325
- let { isQuestionTypeAllowed: e, datasets: t } = Dp(), { t: n } = B(), r = [
6325
+ let { isQuestionTypeAllowed: e, datasets: t } = Dp(), { t: n } = V(), r = [
6326
6326
  {
6327
6327
  label: n("surveyFormBuilder.questionTypes.rating"),
6328
- icon: mo,
6328
+ icon: Xa,
6329
6329
  questionType: "rating"
6330
6330
  },
6331
6331
  {
6332
6332
  label: n("surveyFormBuilder.questionTypes.multipleChoice"),
6333
- icon: Ai,
6333
+ icon: bo,
6334
6334
  questionType: "multi-select"
6335
6335
  },
6336
6336
  {
@@ -6340,32 +6340,32 @@ var jp = () => {
6340
6340
  },
6341
6341
  {
6342
6342
  label: n("surveyFormBuilder.questionTypes.text"),
6343
- icon: Ga,
6343
+ icon: oo,
6344
6344
  questionType: "text"
6345
6345
  },
6346
6346
  {
6347
6347
  label: n("surveyFormBuilder.questionTypes.longText"),
6348
- icon: Ci,
6348
+ icon: fa,
6349
6349
  questionType: "longText"
6350
6350
  },
6351
6351
  {
6352
6352
  label: n("surveyFormBuilder.questionTypes.numeric"),
6353
- icon: Qi,
6353
+ icon: Ki,
6354
6354
  questionType: "numeric"
6355
6355
  },
6356
6356
  {
6357
6357
  label: n("surveyFormBuilder.questionTypes.link"),
6358
- icon: Va,
6358
+ icon: Ci,
6359
6359
  questionType: "link"
6360
6360
  },
6361
6361
  {
6362
6362
  label: n("surveyFormBuilder.questionTypes.date"),
6363
- icon: Ki,
6363
+ icon: io,
6364
6364
  questionType: "date"
6365
6365
  },
6366
6366
  {
6367
6367
  label: n("surveyFormBuilder.questionTypes.file"),
6368
- icon: Pa,
6368
+ icon: Ea,
6369
6369
  questionType: "file"
6370
6370
  },
6371
6371
  {
@@ -6381,20 +6381,20 @@ var jp = () => {
6381
6381
  })) : [];
6382
6382
  return [...r, ...i];
6383
6383
  }, Mp = {
6384
- rating: mo,
6385
- "multi-select": Ai,
6384
+ rating: Xa,
6385
+ "multi-select": bo,
6386
6386
  select: fc,
6387
- text: Ga,
6388
- longText: Ci,
6389
- numeric: Qi,
6390
- link: Va,
6391
- date: Ki,
6387
+ text: oo,
6388
+ longText: fa,
6389
+ numeric: Ki,
6390
+ link: Ci,
6391
+ date: io,
6392
6392
  "dropdown-single": Ao,
6393
6393
  "dropdown-multi": Ao,
6394
- file: Pa,
6394
+ file: Ea,
6395
6395
  checkbox: zs
6396
6396
  }, Np = () => {
6397
- let { disabled: e, answering: t, onAddNewElement: n, isQuestionTypeAllowed: r, labels: i } = Dp(), [a, o] = J(!1), s = jp(), { t: c } = B(), l = i?.addQuestion ?? c("surveyFormBuilder.actions.addQuestion"), u = (e, t) => {
6397
+ let { disabled: e, answering: t, onAddNewElement: n, isQuestionTypeAllowed: r, labels: i } = Dp(), [a, o] = J(!1), s = jp(), { t: c } = V(), l = i?.addQuestion ?? c("surveyFormBuilder.actions.addQuestion"), u = (e, t) => {
6398
6398
  n?.({
6399
6399
  type: e,
6400
6400
  datasetKey: t
@@ -6404,28 +6404,28 @@ var jp = () => {
6404
6404
  }, f = s.filter((e) => !e.datasetKey), p = Array.from(new Set(s.filter((e) => !!e.datasetKey).map((e) => e.datasetKey)));
6405
6405
  return e || t ? null : /* @__PURE__ */ X("div", {
6406
6406
  className: "ml-6 flex justify-center",
6407
- children: /* @__PURE__ */ Z(mn, {
6407
+ children: /* @__PURE__ */ Z(pn, {
6408
6408
  open: a,
6409
6409
  onOpenChange: o,
6410
- children: [/* @__PURE__ */ X(kn, {
6410
+ children: [/* @__PURE__ */ X(En, {
6411
6411
  asChild: !0,
6412
- children: /* @__PURE__ */ X(R, {
6412
+ children: /* @__PURE__ */ X(z, {
6413
6413
  icon: jo,
6414
6414
  label: l,
6415
6415
  size: "md",
6416
6416
  variant: "outline",
6417
6417
  hideLabel: !0
6418
6418
  })
6419
- }), /* @__PURE__ */ Z(qn, {
6419
+ }), /* @__PURE__ */ Z(Wn, {
6420
6420
  align: "center",
6421
6421
  className: "w-80",
6422
6422
  children: [
6423
- /* @__PURE__ */ X(Sn, {
6423
+ /* @__PURE__ */ X(Cn, {
6424
6424
  onClick: d,
6425
6425
  children: /* @__PURE__ */ Z("div", {
6426
6426
  className: "flex w-full flex-row items-center gap-2",
6427
- children: [/* @__PURE__ */ X(V, {
6428
- icon: za,
6427
+ children: [/* @__PURE__ */ X(B, {
6428
+ icon: co,
6429
6429
  color: "default"
6430
6430
  }), /* @__PURE__ */ X("span", {
6431
6431
  className: "flex-1 text-base font-medium",
@@ -6433,12 +6433,12 @@ var jp = () => {
6433
6433
  })]
6434
6434
  })
6435
6435
  }),
6436
- /* @__PURE__ */ X(Dn, {}),
6437
- f.map((e) => /* @__PURE__ */ X(Sn, {
6436
+ /* @__PURE__ */ X(Tn, {}),
6437
+ f.map((e) => /* @__PURE__ */ X(Cn, {
6438
6438
  onClick: () => u(e.questionType),
6439
6439
  children: /* @__PURE__ */ Z("div", {
6440
6440
  className: "flex w-full flex-row items-center gap-2",
6441
- children: [/* @__PURE__ */ X(V, {
6441
+ children: [/* @__PURE__ */ X(B, {
6442
6442
  icon: e.icon,
6443
6443
  color: "default"
6444
6444
  }), /* @__PURE__ */ X("span", {
@@ -6447,13 +6447,13 @@ var jp = () => {
6447
6447
  })]
6448
6448
  })
6449
6449
  }, e.questionType)),
6450
- p.length > 0 ? /* @__PURE__ */ Z(Y, { children: [/* @__PURE__ */ X(Dn, {}), p.map((e) => {
6450
+ p.length > 0 ? /* @__PURE__ */ Z(Y, { children: [/* @__PURE__ */ X(Tn, {}), p.map((e) => {
6451
6451
  let t = s.find((t) => t.datasetKey === e && t.questionType === "dropdown-single");
6452
- return /* @__PURE__ */ Z(sr, { children: [/* @__PURE__ */ X(An, {
6452
+ return /* @__PURE__ */ Z(cr, { children: [/* @__PURE__ */ X(Dn, {
6453
6453
  className: "mx-1 px-2 data-[state=open]:rounded-sm data-[state=closed]:bg-transparent data-[state=open]:bg-f1-background-hover",
6454
6454
  children: /* @__PURE__ */ Z("div", {
6455
6455
  className: "flex w-full flex-row items-center gap-2",
6456
- children: [t ? /* @__PURE__ */ X(V, {
6456
+ children: [t ? /* @__PURE__ */ X(B, {
6457
6457
  icon: t.icon,
6458
6458
  color: "default"
6459
6459
  }) : null, /* @__PURE__ */ X("span", {
@@ -6461,11 +6461,11 @@ var jp = () => {
6461
6461
  children: t?.label ?? e
6462
6462
  })]
6463
6463
  })
6464
- }), /* @__PURE__ */ X(vn, { children: /* @__PURE__ */ Z(gn, { children: [r("dropdown-single") ? /* @__PURE__ */ X(Sn, {
6464
+ }), /* @__PURE__ */ X(_n, { children: /* @__PURE__ */ Z(hn, { children: [r("dropdown-single") ? /* @__PURE__ */ X(Cn, {
6465
6465
  onClick: () => u("dropdown-single", e),
6466
6466
  children: /* @__PURE__ */ Z("div", {
6467
6467
  className: "flex w-full flex-row items-center gap-2",
6468
- children: [/* @__PURE__ */ X(V, {
6468
+ children: [/* @__PURE__ */ X(B, {
6469
6469
  icon: fc,
6470
6470
  color: "default"
6471
6471
  }), /* @__PURE__ */ X("span", {
@@ -6473,12 +6473,12 @@ var jp = () => {
6473
6473
  children: c("surveyFormBuilder.labels.singleSelection")
6474
6474
  })]
6475
6475
  })
6476
- }) : null, r("dropdown-multi") ? /* @__PURE__ */ X(Sn, {
6476
+ }) : null, r("dropdown-multi") ? /* @__PURE__ */ X(Cn, {
6477
6477
  onClick: () => u("dropdown-multi", e),
6478
6478
  children: /* @__PURE__ */ Z("div", {
6479
6479
  className: "flex w-full flex-row items-center gap-2",
6480
- children: [/* @__PURE__ */ X(V, {
6481
- icon: Ai,
6480
+ children: [/* @__PURE__ */ X(B, {
6481
+ icon: bo,
6482
6482
  color: "default"
6483
6483
  }), /* @__PURE__ */ X("span", {
6484
6484
  className: "flex-1",
@@ -6492,7 +6492,7 @@ var jp = () => {
6492
6492
  })
6493
6493
  });
6494
6494
  }, Pp = ({ open: e, onConfirm: t, onCancel: n }) => {
6495
- let { t: r } = B();
6495
+ let { t: r } = V();
6496
6496
  return /* @__PURE__ */ X(Jt, {
6497
6497
  open: e,
6498
6498
  onClose: n,
@@ -6626,7 +6626,7 @@ function zp({ questionId: e, questionType: t, canDelete: n = !0 }) {
6626
6626
  }
6627
6627
  //#endregion
6628
6628
  //#region src/domains/talent/surveys/surveys/SurveyFormBuilder/QuestionTypes/BaseQuestion/ActionsMenu/ActionsMenu.tsx
6629
- var Bp = ({ label: e, icon: t, checked: n, onChange: r }) => /* @__PURE__ */ X(Sn, {
6629
+ var Bp = ({ label: e, icon: t, checked: n, onChange: r }) => /* @__PURE__ */ X(Cn, {
6630
6630
  className: "!pb-2.5 pr-4",
6631
6631
  onClick: (e) => {
6632
6632
  e.preventDefault(), r(!n);
@@ -6634,7 +6634,7 @@ var Bp = ({ label: e, icon: t, checked: n, onChange: r }) => /* @__PURE__ */ X(S
6634
6634
  children: /* @__PURE__ */ Z("div", {
6635
6635
  className: "flex w-full flex-row items-center gap-2",
6636
6636
  children: [
6637
- /* @__PURE__ */ X(Rn, {
6637
+ /* @__PURE__ */ X(Pn, {
6638
6638
  icon: t,
6639
6639
  color: "default"
6640
6640
  }),
@@ -6651,14 +6651,14 @@ var Bp = ({ label: e, icon: t, checked: n, onChange: r }) => /* @__PURE__ */ X(S
6651
6651
  ]
6652
6652
  })
6653
6653
  }), Vp = ({ label: e, value: t, currentDatasetKey: n, questionTypes: r, currentRatingType: i, isQuestionTypeAllowed: a, onSelectQuestionType: o, onSelectRatingType: s }) => {
6654
- let { t: c } = B(), 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;
6655
- return /* @__PURE__ */ Z(sr, { children: [/* @__PURE__ */ X(An, {
6654
+ let { t: c } = V(), 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;
6655
+ return /* @__PURE__ */ Z(cr, { children: [/* @__PURE__ */ X(Dn, {
6656
6656
  className: "mx-1 px-2 data-[state=open]:rounded-sm data-[state=closed]:bg-transparent data-[state=open]:bg-f1-background-hover",
6657
6657
  children: /* @__PURE__ */ Z("div", {
6658
6658
  className: "flex w-full flex-row items-center gap-2",
6659
6659
  children: [
6660
- /* @__PURE__ */ X(Rn, {
6661
- icon: lo,
6660
+ /* @__PURE__ */ X(Pn, {
6661
+ icon: to,
6662
6662
  color: "default"
6663
6663
  }),
6664
6664
  /* @__PURE__ */ X("span", {
@@ -6671,14 +6671,14 @@ var Bp = ({ label: e, icon: t, checked: n, onChange: r }) => /* @__PURE__ */ X(S
6671
6671
  }) : null
6672
6672
  ]
6673
6673
  })
6674
- }), /* @__PURE__ */ X(vn, { children: /* @__PURE__ */ Z(gn, { children: [l.map((e) => {
6674
+ }), /* @__PURE__ */ X(_n, { children: /* @__PURE__ */ Z(hn, { children: [l.map((e) => {
6675
6675
  let r = e.questionType === "rating", a = t === e.questionType && !n;
6676
- return r ? /* @__PURE__ */ Z(sr, { children: [/* @__PURE__ */ X(An, {
6676
+ return r ? /* @__PURE__ */ Z(cr, { children: [/* @__PURE__ */ X(Dn, {
6677
6677
  className: "mx-1 mt-1 px-2 data-[state=open]:rounded-sm data-[state=closed]:bg-transparent data-[state=open]:bg-f1-background-hover",
6678
6678
  children: /* @__PURE__ */ Z("div", {
6679
6679
  className: "flex w-full flex-row items-center gap-2 text-base font-medium",
6680
6680
  children: [
6681
- /* @__PURE__ */ X(Rn, {
6681
+ /* @__PURE__ */ X(Pn, {
6682
6682
  icon: e.icon,
6683
6683
  color: "default"
6684
6684
  }),
@@ -6692,24 +6692,24 @@ var Bp = ({ label: e, icon: t, checked: n, onChange: r }) => /* @__PURE__ */ X(S
6692
6692
  }) : null
6693
6693
  ]
6694
6694
  })
6695
- }), /* @__PURE__ */ X(vn, { children: /* @__PURE__ */ X(gn, { children: Fp.map((e) => /* @__PURE__ */ X(Sn, {
6695
+ }), /* @__PURE__ */ X(_n, { children: /* @__PURE__ */ X(hn, { children: Fp.map((e) => /* @__PURE__ */ X(Cn, {
6696
6696
  onClick: () => s(e.value),
6697
6697
  children: /* @__PURE__ */ Z("div", {
6698
6698
  className: "flex w-full flex-row items-center gap-2 pl-2",
6699
6699
  children: [/* @__PURE__ */ X("span", {
6700
6700
  className: "flex-1",
6701
6701
  children: e.label
6702
- }), i === e.value ? /* @__PURE__ */ X(Rn, {
6702
+ }), i === e.value ? /* @__PURE__ */ X(Pn, {
6703
6703
  icon: fc,
6704
6704
  color: "default"
6705
6705
  }) : null]
6706
6706
  })
6707
- }, e.value)) }) })] }, e.questionType) : /* @__PURE__ */ X(Sn, {
6707
+ }, e.value)) }) })] }, e.questionType) : /* @__PURE__ */ X(Cn, {
6708
6708
  onClick: () => o(e.questionType),
6709
6709
  children: /* @__PURE__ */ Z("div", {
6710
6710
  className: "flex w-full flex-row items-center gap-2",
6711
6711
  children: [
6712
- /* @__PURE__ */ X(Rn, {
6712
+ /* @__PURE__ */ X(Pn, {
6713
6713
  icon: e.icon,
6714
6714
  color: "default"
6715
6715
  }),
@@ -6717,21 +6717,21 @@ var Bp = ({ label: e, icon: t, checked: n, onChange: r }) => /* @__PURE__ */ X(S
6717
6717
  className: "flex-1",
6718
6718
  children: e.label
6719
6719
  }),
6720
- a ? /* @__PURE__ */ X(Rn, {
6720
+ a ? /* @__PURE__ */ X(Pn, {
6721
6721
  icon: fc,
6722
6722
  color: "default"
6723
6723
  }) : null
6724
6724
  ]
6725
6725
  })
6726
6726
  }, e.questionType);
6727
- }), u.length > 0 ? /* @__PURE__ */ Z(Y, { children: [/* @__PURE__ */ X(Dn, {}), u.map((e) => {
6727
+ }), u.length > 0 ? /* @__PURE__ */ Z(Y, { children: [/* @__PURE__ */ X(Tn, {}), u.map((e) => {
6728
6728
  let i = r.find((t) => t.datasetKey === e && t.questionType === "dropdown-single");
6729
- return /* @__PURE__ */ Z(sr, { children: [/* @__PURE__ */ X(An, {
6729
+ return /* @__PURE__ */ Z(cr, { children: [/* @__PURE__ */ X(Dn, {
6730
6730
  className: "mx-1 px-2 data-[state=open]:rounded-sm data-[state=closed]:bg-transparent data-[state=open]:bg-f1-background-hover",
6731
6731
  children: /* @__PURE__ */ Z("div", {
6732
6732
  className: "flex w-full flex-row items-center gap-2",
6733
6733
  children: [
6734
- i ? /* @__PURE__ */ X(Rn, {
6734
+ i ? /* @__PURE__ */ X(Pn, {
6735
6735
  icon: i.icon,
6736
6736
  color: "default"
6737
6737
  }) : null,
@@ -6739,18 +6739,18 @@ var Bp = ({ label: e, icon: t, checked: n, onChange: r }) => /* @__PURE__ */ X(S
6739
6739
  className: "flex-1 text-base font-medium",
6740
6740
  children: i?.label ?? e
6741
6741
  }),
6742
- n === e ? /* @__PURE__ */ X(Rn, {
6742
+ n === e ? /* @__PURE__ */ X(Pn, {
6743
6743
  icon: fc,
6744
6744
  color: "default"
6745
6745
  }) : null
6746
6746
  ]
6747
6747
  })
6748
- }), /* @__PURE__ */ X(vn, { children: /* @__PURE__ */ Z(gn, { children: [a("dropdown-single") ? /* @__PURE__ */ X(Sn, {
6748
+ }), /* @__PURE__ */ X(_n, { children: /* @__PURE__ */ Z(hn, { children: [a("dropdown-single") ? /* @__PURE__ */ X(Cn, {
6749
6749
  onClick: () => o("dropdown-single", e),
6750
6750
  children: /* @__PURE__ */ Z("div", {
6751
6751
  className: "flex w-full flex-row items-center gap-2",
6752
6752
  children: [
6753
- /* @__PURE__ */ X(Rn, {
6753
+ /* @__PURE__ */ X(Pn, {
6754
6754
  icon: fc,
6755
6755
  color: "default"
6756
6756
  }),
@@ -6758,26 +6758,26 @@ var Bp = ({ label: e, icon: t, checked: n, onChange: r }) => /* @__PURE__ */ X(S
6758
6758
  className: "flex-1",
6759
6759
  children: c("surveyFormBuilder.labels.singleSelection")
6760
6760
  }),
6761
- n === e && t === "dropdown-single" ? /* @__PURE__ */ X(Rn, {
6761
+ n === e && t === "dropdown-single" ? /* @__PURE__ */ X(Pn, {
6762
6762
  icon: fc,
6763
6763
  color: "default"
6764
6764
  }) : null
6765
6765
  ]
6766
6766
  })
6767
- }) : null, a("dropdown-multi") ? /* @__PURE__ */ X(Sn, {
6767
+ }) : null, a("dropdown-multi") ? /* @__PURE__ */ X(Cn, {
6768
6768
  onClick: () => o("dropdown-multi", e),
6769
6769
  children: /* @__PURE__ */ Z("div", {
6770
6770
  className: "flex w-full flex-row items-center gap-2",
6771
6771
  children: [
6772
- /* @__PURE__ */ X(Rn, {
6773
- icon: Ai,
6772
+ /* @__PURE__ */ X(Pn, {
6773
+ icon: bo,
6774
6774
  color: "default"
6775
6775
  }),
6776
6776
  /* @__PURE__ */ X("span", {
6777
6777
  className: "flex-1",
6778
6778
  children: c("surveyFormBuilder.labels.multiSelection")
6779
6779
  }),
6780
- n === e && t === "dropdown-multi" ? /* @__PURE__ */ X(Rn, {
6780
+ n === e && t === "dropdown-multi" ? /* @__PURE__ */ X(Pn, {
6781
6781
  icon: fc,
6782
6782
  color: "default"
6783
6783
  }) : null
@@ -6785,50 +6785,50 @@ var Bp = ({ label: e, icon: t, checked: n, onChange: r }) => /* @__PURE__ */ X(S
6785
6785
  })
6786
6786
  }) : null] }) })] }, e);
6787
6787
  })] }) : null] }) })] });
6788
- }, Hp = ({ label: e, icon: t, onClick: n, critical: r }) => /* @__PURE__ */ X(Sn, {
6788
+ }, Hp = ({ label: e, icon: t, onClick: n, critical: r }) => /* @__PURE__ */ X(Cn, {
6789
6789
  onClick: n,
6790
6790
  className: H(r ? "text-f1-foreground-critical" : void 0),
6791
6791
  children: /* @__PURE__ */ Z("div", {
6792
6792
  className: "flex w-full flex-row items-center gap-2",
6793
- children: [/* @__PURE__ */ X(Rn, { icon: t }), /* @__PURE__ */ X("span", {
6793
+ children: [/* @__PURE__ */ X(Pn, { icon: t }), /* @__PURE__ */ X("span", {
6794
6794
  className: "flex-1",
6795
6795
  children: e
6796
6796
  })]
6797
6797
  })
6798
6798
  }), Up = ({ showDuplicate: e, showDelete: t, withSeparator: n, onDuplicate: r, onDelete: i }) => {
6799
- let { t: a } = B(), { labels: o } = Dp();
6800
- return !e && !t ? null : /* @__PURE__ */ Z(Y, { children: [n ? /* @__PURE__ */ X(Dn, {}) : null, /* @__PURE__ */ Z(bn, { children: [e ? /* @__PURE__ */ X(Hp, {
6799
+ let { t: a } = V(), { labels: o } = Dp();
6800
+ return !e && !t ? null : /* @__PURE__ */ Z(Y, { children: [n ? /* @__PURE__ */ X(Tn, {}) : null, /* @__PURE__ */ Z(xn, { children: [e ? /* @__PURE__ */ X(Hp, {
6801
6801
  label: o?.duplicateQuestion ?? a("surveyFormBuilder.actions.duplicateQuestion"),
6802
- icon: no,
6802
+ icon: fo,
6803
6803
  onClick: r
6804
6804
  }) : null, t ? /* @__PURE__ */ X(Hp, {
6805
6805
  label: o?.deleteQuestion ?? a("surveyFormBuilder.actions.deleteQuestion"),
6806
- icon: oa,
6806
+ icon: na,
6807
6807
  onClick: i,
6808
6808
  critical: !0
6809
6809
  }) : null] })] });
6810
6810
  };
6811
6811
  function Wp({ open: e, setOpen: t, questionId: n, questionType: r, canDeleteQuestion: i = !0, hiddenActions: a }) {
6812
- let { t: o } = B(), { isQuestionTypeAllowed: s, labels: c } = Dp(), { question: l, questionTypes: u, currentRatingType: d, currentDatasetKey: f, isMultiSelectEnabled: p, isAllowCreateEnabled: m, datasetHasOnCreate: h, disallowOptionalQuestions: g, handleChangeRequired: _, handleSelectQuestionType: v, handleSelectRatingType: y, handleToggleMultiSelect: b, handleToggleAllowCreate: x, handleDuplicate: S, handleDelete: C } = zp({
6812
+ let { t: o } = V(), { isQuestionTypeAllowed: s, labels: c } = Dp(), { question: l, questionTypes: u, currentRatingType: d, currentDatasetKey: f, isMultiSelectEnabled: p, isAllowCreateEnabled: m, datasetHasOnCreate: h, disallowOptionalQuestions: g, handleChangeRequired: _, handleSelectQuestionType: v, handleSelectRatingType: y, handleToggleMultiSelect: b, handleToggleAllowCreate: x, handleDuplicate: S, handleDelete: C } = zp({
6813
6813
  questionId: n,
6814
6814
  questionType: r,
6815
6815
  canDelete: i
6816
6816
  }), 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");
6817
- return !T && !E && !D && !O && !k && !A ? null : /* @__PURE__ */ Z(mn, {
6817
+ return !T && !E && !D && !O && !k && !A ? null : /* @__PURE__ */ Z(pn, {
6818
6818
  open: e,
6819
6819
  onOpenChange: t,
6820
- children: [/* @__PURE__ */ X(kn, {
6820
+ children: [/* @__PURE__ */ X(En, {
6821
6821
  tabIndex: -1,
6822
6822
  asChild: !0,
6823
- children: /* @__PURE__ */ X(R, {
6824
- icon: Ni,
6823
+ children: /* @__PURE__ */ X(z, {
6824
+ icon: Pi,
6825
6825
  label: o("surveyFormBuilder.labels.actions"),
6826
6826
  size: "md",
6827
6827
  variant: "ghost",
6828
6828
  tooltip: !1,
6829
6829
  hideLabel: !0
6830
6830
  })
6831
- }), /* @__PURE__ */ Z(qn, {
6831
+ }), /* @__PURE__ */ Z(Wn, {
6832
6832
  className: "w-80",
6833
6833
  align: "start",
6834
6834
  children: [
@@ -6836,25 +6836,25 @@ function Wp({ open: e, setOpen: t, questionId: n, questionType: r, canDeleteQues
6836
6836
  className: "p-4 pb-2 font-medium text-f1-foreground-secondary",
6837
6837
  children: c?.questionOptions ?? o("surveyFormBuilder.labels.questionOptions")
6838
6838
  }),
6839
- T ? /* @__PURE__ */ X(bn, { children: /* @__PURE__ */ X(Bp, {
6839
+ T ? /* @__PURE__ */ X(xn, { children: /* @__PURE__ */ X(Bp, {
6840
6840
  label: o("surveyFormBuilder.labels.required"),
6841
- icon: La,
6841
+ icon: Ua,
6842
6842
  checked: !!l?.required,
6843
6843
  onChange: _
6844
6844
  }) }) : null,
6845
- E ? /* @__PURE__ */ X(bn, { children: /* @__PURE__ */ X(Bp, {
6845
+ E ? /* @__PURE__ */ X(xn, { children: /* @__PURE__ */ X(Bp, {
6846
6846
  label: o("surveyFormBuilder.labels.allowMultiSelection"),
6847
- icon: Ai,
6847
+ icon: bo,
6848
6848
  checked: p,
6849
6849
  onChange: b
6850
6850
  }) }) : null,
6851
- D ? /* @__PURE__ */ X(bn, { children: /* @__PURE__ */ X(Bp, {
6851
+ D ? /* @__PURE__ */ X(xn, { children: /* @__PURE__ */ X(Bp, {
6852
6852
  label: o("surveyFormBuilder.labels.allowCreate"),
6853
6853
  icon: Os,
6854
6854
  checked: m,
6855
6855
  onChange: x
6856
6856
  }) }) : null,
6857
- O ? /* @__PURE__ */ X(bn, { children: /* @__PURE__ */ X(Vp, {
6857
+ O ? /* @__PURE__ */ X(xn, { children: /* @__PURE__ */ X(Vp, {
6858
6858
  label: c?.questionType ?? o("surveyFormBuilder.labels.questionType"),
6859
6859
  value: r,
6860
6860
  currentDatasetKey: f,
@@ -6882,13 +6882,13 @@ var Gp = ({ notice: e, className: t, children: n }) => {
6882
6882
  className: t,
6883
6883
  children: n
6884
6884
  });
6885
- return e ? /* @__PURE__ */ X(pn, {
6885
+ return e ? /* @__PURE__ */ X(kn, {
6886
6886
  instant: !0,
6887
6887
  ...e,
6888
6888
  children: r
6889
6889
  }) : r;
6890
6890
  }, Kp = ({ id: e, title: t, description: n, children: r, required: i, type: a, hiddenActions: o, locked: s, lockedFields: c, lockedNote: l }) => {
6891
- let { onQuestionChange: u, onAddNewElement: d, disabled: f, answering: p, getIsSingleQuestionInSection: m, getSectionContainingQuestion: h, isQuestionTypeAllowed: g, placeholders: _, labels: v } = Dp(), y = h(e), b = !!y?.locked || !!s, x = b || !!c?.includes("title"), S = b || !!c?.includes("description"), C = !b && (x || S), w = !!y, [T, E] = J(!1), [D, O] = J(!1), { isDragging: k } = Ap(), { t: A } = B(), j = _?.questionTitle ?? A("surveyFormBuilder.labels.titlePlaceholder"), M = v?.addQuestion ?? A("surveyFormBuilder.actions.addQuestion"), N = _?.questionDescription ?? A("surveyFormBuilder.labels.questionDescriptionPlaceholder"), P = (t) => {
6891
+ let { onQuestionChange: u, onAddNewElement: d, disabled: f, answering: p, getIsSingleQuestionInSection: m, getSectionContainingQuestion: h, isQuestionTypeAllowed: g, placeholders: _, labels: v } = Dp(), y = h(e), b = !!y?.locked || !!s, x = b || !!c?.includes("title"), S = b || !!c?.includes("description"), C = !b && (x || S), w = !!y, [T, E] = J(!1), [D, O] = J(!1), { isDragging: k } = Ap(), { t: A } = V(), j = _?.questionTitle ?? A("surveyFormBuilder.labels.titlePlaceholder"), M = v?.addQuestion ?? A("surveyFormBuilder.actions.addQuestion"), N = _?.questionDescription ?? A("surveyFormBuilder.labels.questionDescriptionPlaceholder"), P = (t) => {
6892
6892
  u?.({
6893
6893
  id: e,
6894
6894
  type: a,
@@ -6953,12 +6953,12 @@ var Gp = ({ notice: e, className: t, children: n }) => {
6953
6953
  }) : null]
6954
6954
  })] })
6955
6955
  }),
6956
- !p && b ? /* @__PURE__ */ X("div", { children: le ? /* @__PURE__ */ X(pn, {
6956
+ !p && b ? /* @__PURE__ */ X("div", { children: le ? /* @__PURE__ */ X(kn, {
6957
6957
  instant: !0,
6958
6958
  ...le,
6959
6959
  children: /* @__PURE__ */ X("span", {
6960
6960
  className: "inline-flex",
6961
- children: /* @__PURE__ */ X(R, {
6961
+ children: /* @__PURE__ */ X(z, {
6962
6962
  icon: As,
6963
6963
  label: A("surveyFormBuilder.labels.locked"),
6964
6964
  size: "md",
@@ -6969,7 +6969,7 @@ var Gp = ({ notice: e, className: t, children: n }) => {
6969
6969
  withoutDisabledAppearance: !0
6970
6970
  })
6971
6971
  })
6972
- }) : /* @__PURE__ */ X(R, {
6972
+ }) : /* @__PURE__ */ X(z, {
6973
6973
  icon: As,
6974
6974
  label: A("surveyFormBuilder.labels.locked"),
6975
6975
  size: "md",
@@ -7013,40 +7013,40 @@ var Gp = ({ notice: e, className: t, children: n }) => {
7013
7013
  }) : null,
7014
7014
  !f && !p && !b ? /* @__PURE__ */ X("div", {
7015
7015
  className: H("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"),
7016
- children: /* @__PURE__ */ Z(mn, {
7016
+ children: /* @__PURE__ */ Z(pn, {
7017
7017
  open: T,
7018
7018
  onOpenChange: E,
7019
- children: [/* @__PURE__ */ X(kn, {
7019
+ children: [/* @__PURE__ */ X(En, {
7020
7020
  asChild: !0,
7021
- children: /* @__PURE__ */ X(R, {
7021
+ children: /* @__PURE__ */ X(z, {
7022
7022
  icon: jo,
7023
7023
  label: M,
7024
7024
  size: "sm",
7025
7025
  variant: "outline",
7026
7026
  hideLabel: !0
7027
7027
  })
7028
- }), /* @__PURE__ */ Z(qn, {
7028
+ }), /* @__PURE__ */ Z(Wn, {
7029
7029
  align: "center",
7030
7030
  className: "w-80",
7031
7031
  children: [
7032
- w ? null : /* @__PURE__ */ Z(Y, { children: [/* @__PURE__ */ X(Sn, {
7032
+ w ? null : /* @__PURE__ */ Z(Y, { children: [/* @__PURE__ */ X(Cn, {
7033
7033
  onClick: ee,
7034
7034
  children: /* @__PURE__ */ Z("div", {
7035
7035
  className: "flex w-full flex-row items-center gap-2",
7036
- children: [/* @__PURE__ */ X(V, {
7037
- icon: za,
7036
+ children: [/* @__PURE__ */ X(B, {
7037
+ icon: co,
7038
7038
  color: "default"
7039
7039
  }), /* @__PURE__ */ X("span", {
7040
7040
  className: "flex-1 text-base font-medium",
7041
7041
  children: A("surveyFormBuilder.questionTypes.section")
7042
7042
  })]
7043
7043
  })
7044
- }), /* @__PURE__ */ X(Dn, {})] }),
7045
- L.map((e) => /* @__PURE__ */ X(Sn, {
7044
+ }), /* @__PURE__ */ X(Tn, {})] }),
7045
+ L.map((e) => /* @__PURE__ */ X(Cn, {
7046
7046
  onClick: () => I(e.questionType),
7047
7047
  children: /* @__PURE__ */ Z("div", {
7048
7048
  className: "flex w-full flex-row items-center gap-2",
7049
- children: [/* @__PURE__ */ X(V, {
7049
+ children: [/* @__PURE__ */ X(B, {
7050
7050
  icon: e.icon,
7051
7051
  color: "default"
7052
7052
  }), /* @__PURE__ */ X("span", {
@@ -7055,13 +7055,13 @@ var Gp = ({ notice: e, className: t, children: n }) => {
7055
7055
  })]
7056
7056
  })
7057
7057
  }, e.questionType)),
7058
- ne.length > 0 ? /* @__PURE__ */ Z(Y, { children: [/* @__PURE__ */ X(Dn, {}), ne.map((e) => {
7058
+ ne.length > 0 ? /* @__PURE__ */ Z(Y, { children: [/* @__PURE__ */ X(Tn, {}), ne.map((e) => {
7059
7059
  let t = te.find((t) => t.datasetKey === e && t.questionType === "dropdown-single");
7060
- return /* @__PURE__ */ Z(sr, { children: [/* @__PURE__ */ X(An, {
7060
+ return /* @__PURE__ */ Z(cr, { children: [/* @__PURE__ */ X(Dn, {
7061
7061
  className: "mx-1 px-2 data-[state=open]:rounded-sm data-[state=closed]:bg-transparent data-[state=open]:bg-f1-background-hover",
7062
7062
  children: /* @__PURE__ */ Z("div", {
7063
7063
  className: "flex w-full flex-row items-center gap-2",
7064
- children: [t ? /* @__PURE__ */ X(V, {
7064
+ children: [t ? /* @__PURE__ */ X(B, {
7065
7065
  icon: t.icon,
7066
7066
  color: "default"
7067
7067
  }) : null, /* @__PURE__ */ X("span", {
@@ -7069,11 +7069,11 @@ var Gp = ({ notice: e, className: t, children: n }) => {
7069
7069
  children: t?.label ?? e
7070
7070
  })]
7071
7071
  })
7072
- }), /* @__PURE__ */ X(vn, { children: /* @__PURE__ */ Z(gn, { children: [g("dropdown-single") ? /* @__PURE__ */ X(Sn, {
7072
+ }), /* @__PURE__ */ X(_n, { children: /* @__PURE__ */ Z(hn, { children: [g("dropdown-single") ? /* @__PURE__ */ X(Cn, {
7073
7073
  onClick: () => I("dropdown-single", e),
7074
7074
  children: /* @__PURE__ */ Z("div", {
7075
7075
  className: "flex w-full flex-row items-center gap-2",
7076
- children: [/* @__PURE__ */ X(V, {
7076
+ children: [/* @__PURE__ */ X(B, {
7077
7077
  icon: fc,
7078
7078
  color: "default"
7079
7079
  }), /* @__PURE__ */ X("span", {
@@ -7081,12 +7081,12 @@ var Gp = ({ notice: e, className: t, children: n }) => {
7081
7081
  children: A("surveyFormBuilder.labels.singleSelection")
7082
7082
  })]
7083
7083
  })
7084
- }) : null, g("dropdown-multi") ? /* @__PURE__ */ X(Sn, {
7084
+ }) : null, g("dropdown-multi") ? /* @__PURE__ */ X(Cn, {
7085
7085
  onClick: () => I("dropdown-multi", e),
7086
7086
  children: /* @__PURE__ */ Z("div", {
7087
7087
  className: "flex w-full flex-row items-center gap-2",
7088
- children: [/* @__PURE__ */ X(V, {
7089
- icon: Ai,
7088
+ children: [/* @__PURE__ */ X(B, {
7089
+ icon: bo,
7090
7090
  color: "default"
7091
7091
  }), /* @__PURE__ */ X("span", {
7092
7092
  className: "flex-1",
@@ -7111,7 +7111,7 @@ function qp(e) {
7111
7111
  //#endregion
7112
7112
  //#region src/domains/talent/surveys/surveys/SurveyFormBuilder/QuestionTypes/CheckboxQuestion/CheckboxQuestion.tsx
7113
7113
  var Jp = ({ value: e, label: t, ...n }) => {
7114
- let { onQuestionChange: r, answering: i, disabled: a, getSectionContainingQuestion: o } = Dp(), s = qp(n), { t: c } = B();
7114
+ let { onQuestionChange: r, answering: i, disabled: a, getSectionContainingQuestion: o } = Dp(), s = qp(n), { t: c } = V();
7115
7115
  if (i) return /* @__PURE__ */ X(Kp, {
7116
7116
  ...n,
7117
7117
  children: /* @__PURE__ */ X(Ds, {
@@ -7156,7 +7156,7 @@ var Jp = ({ value: e, label: t, ...n }) => {
7156
7156
  })
7157
7157
  });
7158
7158
  }, Yp = ({ value: e, ...t }) => {
7159
- let { onQuestionChange: n } = Dp(), r = qp(t), { t: i } = B(), a = {
7159
+ let { onQuestionChange: n } = Dp(), r = qp(t), { t: i } = V(), a = {
7160
7160
  id: t.id,
7161
7161
  type: "date",
7162
7162
  label: i("surveyFormBuilder.answer.label"),
@@ -7179,7 +7179,7 @@ var Jp = ({ value: e, label: t, ...n }) => {
7179
7179
  })
7180
7180
  });
7181
7181
  }, Xp = ({ datasetKey: e, showSearchBox: t, searchBoxPlaceholder: n, ...r }) => {
7182
- let { onQuestionChange: i, answering: a, datasets: o } = Dp(), s = qp(r), { t: c } = B(), l = o?.[e];
7182
+ let { onQuestionChange: i, answering: a, datasets: o } = Dp(), s = qp(r), { t: c } = V(), l = o?.[e];
7183
7183
  if (!l) throw Error(`Dataset "${e}" not found for ${r.type}`);
7184
7184
  let u = r.type === "dropdown-multi", d = t ?? !0, f = r.type === "dropdown-single" ? r.allowCreate : void 0, p = a && !u && f && l.onCreate ? async (e) => {
7185
7185
  try {
@@ -7249,7 +7249,7 @@ var Jp = ({ value: e, label: t, ...n }) => {
7249
7249
  progress: 0,
7250
7250
  status: "idle"
7251
7251
  }), $p = ({ value: e, useUpload: t, accept: n, maxSizeMB: r, ...i }) => {
7252
- let { onQuestionChange: a, useUpload: o } = Dp(), s = qp(i), { t: c } = B(), l = t ?? o, u = {
7252
+ let { onQuestionChange: a, useUpload: o } = Dp(), s = qp(i), { t: c } = V(), l = t ?? o, u = {
7253
7253
  id: i.id,
7254
7254
  type: "file",
7255
7255
  label: c("surveyFormBuilder.answer.label"),
@@ -7275,7 +7275,7 @@ var Jp = ({ value: e, label: t, ...n }) => {
7275
7275
  })
7276
7276
  });
7277
7277
  }, em = ({ value: e, ...t }) => {
7278
- let { t: n } = B(), { onQuestionChange: r, answering: i } = Dp(), a = qp(t), o = n("surveyFormBuilder.answer.linkPlaceholder"), s = {
7278
+ let { t: n } = V(), { onQuestionChange: r, answering: i } = Dp(), a = qp(t), o = n("surveyFormBuilder.answer.linkPlaceholder"), s = {
7279
7279
  id: t.id,
7280
7280
  type: "text",
7281
7281
  inputType: "url",
@@ -7300,7 +7300,7 @@ var Jp = ({ value: e, label: t, ...n }) => {
7300
7300
  })
7301
7301
  });
7302
7302
  }, tm = ({ value: e, ...t }) => {
7303
- let { t: n } = B(), { onQuestionChange: r, answering: i } = Dp(), a = qp(t), o = (e) => {
7303
+ let { t: n } = V(), { onQuestionChange: r, answering: i } = Dp(), a = qp(t), o = (e) => {
7304
7304
  r?.({
7305
7305
  ...t,
7306
7306
  type: "numeric",
@@ -7320,8 +7320,8 @@ var Jp = ({ value: e, label: t, ...n }) => {
7320
7320
  required: t.required,
7321
7321
  maxDecimals: 0,
7322
7322
  placeholder: s,
7323
- icon: Qi
7324
- }) : /* @__PURE__ */ X(Gi, {
7323
+ icon: Ki
7324
+ }) : /* @__PURE__ */ X(ro, {
7325
7325
  type: "text",
7326
7326
  size: "md",
7327
7327
  value: s,
@@ -7329,7 +7329,7 @@ var Jp = ({ value: e, label: t, ...n }) => {
7329
7329
  disabled: !0,
7330
7330
  label: n("surveyFormBuilder.answer.label"),
7331
7331
  hideLabel: !0,
7332
- icon: Qi
7332
+ icon: Ki
7333
7333
  })
7334
7334
  });
7335
7335
  }, nm = ({ option: e, selected: t, onClick: n, onChangeLabel: r, disabled: i, isEmojiMode: a = !1 }) => {
@@ -7342,12 +7342,12 @@ var Jp = ({ value: e, label: t, ...n }) => {
7342
7342
  onClick: () => {
7343
7343
  i || n(o);
7344
7344
  },
7345
- children: a ? /* @__PURE__ */ Z(er, {
7345
+ children: a ? /* @__PURE__ */ Z(rr, {
7346
7346
  open: !i && c,
7347
7347
  onOpenChange: i ? void 0 : l,
7348
- children: [/* @__PURE__ */ X(Pn, {
7348
+ children: [/* @__PURE__ */ X(Nn, {
7349
7349
  asChild: !0,
7350
- children: /* @__PURE__ */ X(R, {
7350
+ children: /* @__PURE__ */ X(z, {
7351
7351
  emoji: s,
7352
7352
  label: o.toString(),
7353
7353
  variant: "ghost",
@@ -7355,7 +7355,7 @@ var Jp = ({ value: e, label: t, ...n }) => {
7355
7355
  withoutDisabledAppearance: !0,
7356
7356
  hideLabel: !0
7357
7357
  })
7358
- }), /* @__PURE__ */ X(Gn, {
7358
+ }), /* @__PURE__ */ X(Hn, {
7359
7359
  side: "bottom",
7360
7360
  align: "center",
7361
7361
  className: "w-fit border-none bg-transparent p-2 shadow-none",
@@ -7449,7 +7449,7 @@ function om({ checked: e, disabled: t }) {
7449
7449
  });
7450
7450
  }
7451
7451
  var sm = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i, disabled: a, answering: o, selected: s, correct: c, locked: l, type: u }) => {
7452
- let { value: d, label: f } = t, { isDragging: p, setIsDragging: m, setDraggedItemId: h, draggedItemId: g } = Ap(), { t: _ } = B(), v = p && g === d, y = () => {
7452
+ let { value: d, label: f } = t, { isDragging: p, setIsDragging: m, setDraggedItemId: h, draggedItemId: g } = Ap(), { t: _ } = V(), v = p && g === d, y = () => {
7453
7453
  (a || o) && n(d);
7454
7454
  }, b = (t) => {
7455
7455
  r({
@@ -7502,8 +7502,8 @@ var sm = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
7502
7502
  className: H("hidden scale-75 cursor-grab", D && "active:cursor-grabbing", E && "group-hover:block", p && "cursor-grabbing", !D && "cursor-not-allowed"),
7503
7503
  children: /* @__PURE__ */ X("div", {
7504
7504
  className: H("flex aspect-square scale-90 items-center justify-center", u === "multi-select" ? "w-6" : "w-5"),
7505
- children: /* @__PURE__ */ X(Rn, {
7506
- icon: Ua,
7505
+ children: /* @__PURE__ */ X(Pn, {
7506
+ icon: Ra,
7507
7507
  size: "sm"
7508
7508
  })
7509
7509
  })
@@ -7523,16 +7523,16 @@ var sm = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
7523
7523
  }) : null,
7524
7524
  !a && !o && !l ? /* @__PURE__ */ Z("div", {
7525
7525
  className: "hidden flex-row items-center gap-1 group-hover:inline-block",
7526
- children: [/* @__PURE__ */ X(R, {
7526
+ children: [/* @__PURE__ */ X(z, {
7527
7527
  label: _("surveyFormBuilder.selectQuestion.markAsCorrect"),
7528
7528
  variant: "ghost",
7529
- icon: c ? Fr : wa,
7529
+ icon: c ? Fr : Ai,
7530
7530
  onClick: x,
7531
7531
  hideLabel: !0
7532
- }), /* @__PURE__ */ X(R, {
7532
+ }), /* @__PURE__ */ X(z, {
7533
7533
  label: _("surveyFormBuilder.selectQuestion.remove"),
7534
7534
  variant: "ghost",
7535
- icon: oa,
7535
+ icon: na,
7536
7536
  hideLabel: !0,
7537
7537
  onClick: S
7538
7538
  })]
@@ -7541,7 +7541,7 @@ var sm = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
7541
7541
  })
7542
7542
  });
7543
7543
  }, cm = ({ options: e, ...t }) => {
7544
- let { onQuestionChange: n, disabled: r, answering: i, getSectionContainingQuestion: a } = Dp(), o = new Set(e.map((e) => e.value)).size !== e.length, s = a(t.id)?.locked || t.locked, { t: c } = B(), l = K(() => ({
7544
+ let { onQuestionChange: n, disabled: r, answering: i, getSectionContainingQuestion: a } = Dp(), o = new Set(e.map((e) => e.value)).size !== e.length, s = a(t.id)?.locked || t.locked, { t: c } = V(), l = K(() => ({
7545
7545
  id: t.id,
7546
7546
  type: t.type,
7547
7547
  options: e
@@ -7658,7 +7658,7 @@ var sm = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
7658
7658
  })
7659
7659
  }) }), !r && !i && !s ? /* @__PURE__ */ X("div", {
7660
7660
  className: "opacity-70",
7661
- children: /* @__PURE__ */ X(R, {
7661
+ children: /* @__PURE__ */ X(z, {
7662
7662
  label: c("surveyFormBuilder.selectQuestion.addOption"),
7663
7663
  variant: "ghost",
7664
7664
  icon: jo,
@@ -7668,7 +7668,7 @@ var sm = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
7668
7668
  })
7669
7669
  });
7670
7670
  }, lm = ({ value: e, ...t }) => {
7671
- let { onQuestionChange: n, answering: r, placeholders: i } = Dp(), a = qp(t), { t: o } = B(), s = i?.answer ?? o("surveyFormBuilder.answer.textPlaceholder"), c = K(() => t.type === "text" ? {
7671
+ let { onQuestionChange: n, answering: r, placeholders: i } = Dp(), a = qp(t), { t: o } = V(), s = i?.answer ?? o("surveyFormBuilder.answer.textPlaceholder"), c = K(() => t.type === "text" ? {
7672
7672
  id: t.id,
7673
7673
  type: "text",
7674
7674
  label: o("surveyFormBuilder.answer.label"),
@@ -7719,7 +7719,7 @@ var sm = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
7719
7719
  default: throw Error("Invalid question type provided");
7720
7720
  }
7721
7721
  }, dm = () => {
7722
- let { t: e } = B();
7722
+ let { t: e } = V();
7723
7723
  return /* @__PURE__ */ Z("div", {
7724
7724
  className: "mt-8 ml-7 flex flex-row items-center gap-4",
7725
7725
  children: [
@@ -7758,8 +7758,8 @@ var sm = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
7758
7758
  onPointerDown: (e) => {
7759
7759
  h && c.start(e);
7760
7760
  },
7761
- children: /* @__PURE__ */ X(V, {
7762
- icon: Ua,
7761
+ children: /* @__PURE__ */ X(B, {
7762
+ icon: Ra,
7763
7763
  size: "sm"
7764
7764
  })
7765
7765
  }) : null, /* @__PURE__ */ X(um, { ...e.question })]
@@ -7788,15 +7788,15 @@ var sm = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
7788
7788
  onPointerDown: (e) => {
7789
7789
  f && i.start(e);
7790
7790
  },
7791
- children: /* @__PURE__ */ X(V, {
7792
- icon: Ua,
7791
+ children: /* @__PURE__ */ X(B, {
7792
+ icon: Ra,
7793
7793
  size: "sm"
7794
7794
  })
7795
7795
  }) : null, /* @__PURE__ */ X(um, { ...e })]
7796
7796
  })
7797
7797
  });
7798
7798
  }, mm = ({ id: e, title: t = "", description: n, lockedNote: r, questions: i = [], locked: a, hideQuestions: o }) => {
7799
- let { onSectionChange: s, disabled: c, answering: l, deleteElement: u, onDuplicateElement: d, placeholders: f } = Dp(), [p, m] = J(!1), { t: h } = B(), g = f?.sectionTitle ?? h("surveyFormBuilder.labels.sectionTitlePlaceholder"), _ = K(() => ({
7799
+ let { onSectionChange: s, disabled: c, answering: l, deleteElement: u, onDuplicateElement: d, placeholders: f } = Dp(), [p, m] = J(!1), { t: h } = V(), g = f?.sectionTitle ?? h("surveyFormBuilder.labels.sectionTitlePlaceholder"), _ = K(() => ({
7800
7800
  id: e,
7801
7801
  title: t,
7802
7802
  description: n
@@ -7821,7 +7821,7 @@ var sm = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
7821
7821
  });
7822
7822
  }, x = [{
7823
7823
  label: h("surveyFormBuilder.actions.duplicateSection"),
7824
- icon: no,
7824
+ icon: fo,
7825
7825
  onClick: () => {
7826
7826
  d?.({
7827
7827
  elementId: e,
@@ -7830,7 +7830,7 @@ var sm = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
7830
7830
  }
7831
7831
  }, {
7832
7832
  label: h("surveyFormBuilder.actions.deleteSection"),
7833
- icon: oa,
7833
+ icon: na,
7834
7834
  onClick: () => {
7835
7835
  u(e);
7836
7836
  },
@@ -7864,7 +7864,7 @@ var sm = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
7864
7864
  }) : null,
7865
7865
  D ? /* @__PURE__ */ X("div", {
7866
7866
  className: "ml-auto flex shrink-0 items-center",
7867
- children: /* @__PURE__ */ X(pn, {
7867
+ children: /* @__PURE__ */ X(kn, {
7868
7868
  description: E,
7869
7869
  instant: !0,
7870
7870
  children: /* @__PURE__ */ X("span", {
@@ -7875,14 +7875,14 @@ var sm = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
7875
7875
  }) : null,
7876
7876
  !c && !l && !a ? /* @__PURE__ */ X("div", {
7877
7877
  className: H("opacity-0 group-hover/section:opacity-100", p && "opacity-100"),
7878
- children: /* @__PURE__ */ X(ho, {
7878
+ children: /* @__PURE__ */ X(Ma, {
7879
7879
  items: x,
7880
- icon: Ni,
7880
+ icon: Pi,
7881
7881
  open: p,
7882
7882
  onOpenChange: m,
7883
7883
  align: "start",
7884
- children: /* @__PURE__ */ X(R, {
7885
- icon: Ni,
7884
+ children: /* @__PURE__ */ X(z, {
7885
+ icon: Pi,
7886
7886
  label: h("surveyFormBuilder.actions.actions"),
7887
7887
  size: "md",
7888
7888
  variant: "ghost",
@@ -7950,8 +7950,8 @@ var sm = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
7950
7950
  onPointerDown: (e) => {
7951
7951
  o.start(e);
7952
7952
  },
7953
- children: /* @__PURE__ */ X(V, {
7954
- icon: Ua,
7953
+ children: /* @__PURE__ */ X(B, {
7954
+ icon: Ra,
7955
7955
  size: "sm"
7956
7956
  })
7957
7957
  }) : null, /* @__PURE__ */ X(mm, {
@@ -7981,7 +7981,7 @@ var sm = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
7981
7981
  p || x.push({
7982
7982
  type: "toggle",
7983
7983
  label: l,
7984
- icon: La,
7984
+ icon: Ua,
7985
7985
  checked: !!r?.required,
7986
7986
  onCheckedChange: m
7987
7987
  });
@@ -8026,7 +8026,7 @@ var sm = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
8026
8026
  selected: s === e && t === "dropdown-single"
8027
8027
  }, {
8028
8028
  label: f,
8029
- icon: Ai,
8029
+ icon: bo,
8030
8030
  onClick: () => h("dropdown-multi", e),
8031
8031
  selected: s === e && t === "dropdown-multi"
8032
8032
  }]
@@ -8040,16 +8040,16 @@ var sm = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
8040
8040
  return x.push({
8041
8041
  type: "submenu",
8042
8042
  label: u,
8043
- icon: lo,
8043
+ icon: to,
8044
8044
  selectedLabel: E,
8045
8045
  children: w
8046
8046
  }), x.push({ type: "separator" }), x.push({
8047
8047
  label: i,
8048
- icon: no,
8048
+ icon: fo,
8049
8049
  onClick: y
8050
8050
  }), n && x.push({
8051
8051
  label: a,
8052
- icon: oa,
8052
+ icon: na,
8053
8053
  onClick: b,
8054
8054
  critical: !0
8055
8055
  }), x;
@@ -8070,12 +8070,12 @@ var sm = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
8070
8070
  return {
8071
8071
  id: i,
8072
8072
  label: t.title || n,
8073
- icon: za,
8073
+ icon: co,
8074
8074
  onClick: y,
8075
8075
  ...!h && !g && !t.locked && { otherActions: [
8076
8076
  {
8077
8077
  label: o,
8078
- icon: no,
8078
+ icon: fo,
8079
8079
  onClick: () => m?.({
8080
8080
  elementId: t.id,
8081
8081
  type: "section"
@@ -8084,7 +8084,7 @@ var sm = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
8084
8084
  { type: "separator" },
8085
8085
  {
8086
8086
  label: s,
8087
- icon: oa,
8087
+ icon: na,
8088
8088
  onClick: () => p(t.id),
8089
8089
  critical: !0
8090
8090
  }
@@ -8151,7 +8151,7 @@ function xm(e, t) {
8151
8151
  return i;
8152
8152
  }
8153
8153
  var Sm = ({ elements: e, onChange: t, answering: n }) => {
8154
- let { t: r } = B(), { disabled: i, labels: a } = Dp(), { portalContainer: o } = Oc(is), s = vm(e, {
8154
+ let { t: r } = V(), { disabled: i, labels: a } = Dp(), { portalContainer: o } = Oc(is), s = vm(e, {
8155
8155
  untitledSectionLabel: r("surveyFormBuilder.labels.sectionTitlePlaceholder"),
8156
8156
  untitledQuestionLabel: r("surveyFormBuilder.labels.titlePlaceholder"),
8157
8157
  duplicateQuestionLabel: a?.duplicateQuestion ?? r("surveyFormBuilder.actions.duplicateQuestion"),
@@ -8298,7 +8298,7 @@ var Tm = (e, t, n) => {
8298
8298
  }, s.id)), o++;
8299
8299
  }
8300
8300
  return /* @__PURE__ */ X(Y, { children: a });
8301
- }, Om = z(({ elements: e, disabled: t, onChange: n, disallowOptionalQuestions: r, allowedQuestionTypes: i, applyingChanges: a, useUpload: o, datasets: s, placeholders: c, labels: l, skipDefaultSection: u }) => {
8301
+ }, Om = R(({ elements: e, disabled: t, onChange: n, disallowOptionalQuestions: r, allowedQuestionTypes: i, applyingChanges: a, useUpload: o, datasets: s, placeholders: c, labels: l, skipDefaultSection: u }) => {
8302
8302
  let d = !t, f = K(() => e.map((e) => e.type === "question" ? {
8303
8303
  ...e,
8304
8304
  question: {
@@ -8349,7 +8349,7 @@ var Tm = (e, t, n) => {
8349
8349
  onChange: n
8350
8350
  }) : null, /* @__PURE__ */ Z("div", {
8351
8351
  className: "relative flex flex-1 flex-col",
8352
- children: [/* @__PURE__ */ Z(ar.div, {
8352
+ children: [/* @__PURE__ */ Z(Rn.div, {
8353
8353
  className: H("flex w-full max-w-[750px] self-center flex-col gap-6", a && "pointer-events-none"),
8354
8354
  initial: { filter: "blur(0px)" },
8355
8355
  animate: { filter: a ? "blur(2px)" : "none" },
@@ -8370,7 +8370,7 @@ var Tm = (e, t, n) => {
8370
8370
  })
8371
8371
  })
8372
8372
  }), d ? /* @__PURE__ */ X(Np, {}) : null]
8373
- }), a ? /* @__PURE__ */ X(ar.div, {
8373
+ }), a ? /* @__PURE__ */ X(Rn.div, {
8374
8374
  className: "sticky bottom-1/2 left-0 z-50 flex w-full items-center justify-center",
8375
8375
  initial: {
8376
8376
  opacity: 0,
@@ -8400,27 +8400,27 @@ function km({ titleWidth: e, descriptionWidth: t, answer: n }) {
8400
8400
  className: "flex flex-col gap-4 rounded-xl border border-solid border-f1-border-secondary bg-f1-background p-4",
8401
8401
  children: [/* @__PURE__ */ Z("div", {
8402
8402
  className: "flex flex-col gap-2",
8403
- children: [/* @__PURE__ */ X(Hn, {
8403
+ children: [/* @__PURE__ */ X(qn, {
8404
8404
  className: "h-5 rounded-sm",
8405
8405
  style: { width: e }
8406
- }), t ? /* @__PURE__ */ X(Hn, {
8406
+ }), t ? /* @__PURE__ */ X(qn, {
8407
8407
  className: "h-4 rounded-sm",
8408
8408
  style: { width: t }
8409
8409
  }) : null]
8410
8410
  }), n]
8411
8411
  });
8412
8412
  }
8413
- var Am = /* @__PURE__ */ X(Hn, { className: "h-10 w-full rounded-sm" }), jm = /* @__PURE__ */ X(Hn, { className: "h-24 w-full rounded-sm" }), Mm = /* @__PURE__ */ X(Hn, { className: "h-10 w-56 max-w-full rounded-sm" });
8413
+ var Am = /* @__PURE__ */ X(qn, { className: "h-10 w-full rounded-sm" }), jm = /* @__PURE__ */ X(qn, { className: "h-24 w-full rounded-sm" }), Mm = /* @__PURE__ */ X(qn, { className: "h-10 w-56 max-w-full rounded-sm" });
8414
8414
  function Nm() {
8415
8415
  return /* @__PURE__ */ X("div", {
8416
8416
  className: "grid grid-cols-5 gap-2 sm:max-w-80",
8417
- children: Array.from({ length: 5 }).map((e, t) => /* @__PURE__ */ X(Hn, { className: "h-9 rounded-sm" }, t))
8417
+ children: Array.from({ length: 5 }).map((e, t) => /* @__PURE__ */ X(qn, { className: "h-9 rounded-sm" }, t))
8418
8418
  });
8419
8419
  }
8420
8420
  function Pm({ count: e }) {
8421
8421
  return /* @__PURE__ */ X("div", {
8422
8422
  className: "flex flex-col gap-2",
8423
- children: Array.from({ length: e }).map((e, t) => /* @__PURE__ */ X(Hn, {
8423
+ children: Array.from({ length: e }).map((e, t) => /* @__PURE__ */ X(qn, {
8424
8424
  className: "h-7 w-56 max-w-full rounded-sm",
8425
8425
  style: { width: `${Math.max(52, 76 - t * 7)}%` }
8426
8426
  }, t))
@@ -8429,7 +8429,7 @@ function Pm({ count: e }) {
8429
8429
  function Fm() {
8430
8430
  return /* @__PURE__ */ X("div", {
8431
8431
  className: "flex flex-wrap gap-2",
8432
- children: Array.from({ length: 5 }).map((e, t) => /* @__PURE__ */ X(Hn, {
8432
+ children: Array.from({ length: 5 }).map((e, t) => /* @__PURE__ */ X(qn, {
8433
8433
  className: "h-8 rounded-sm",
8434
8434
  style: { width: `${18 + t * 3}%` }
8435
8435
  }, t))
@@ -8445,7 +8445,7 @@ function Im() {
8445
8445
  className: "flex flex-col gap-5",
8446
8446
  children: [/* @__PURE__ */ Z("div", {
8447
8447
  className: "flex flex-col gap-2 px-5",
8448
- children: [/* @__PURE__ */ X(Hn, { className: "h-6 w-56 rounded-sm" }), /* @__PURE__ */ X(Hn, { className: "h-4 w-80 max-w-full rounded-sm" })]
8448
+ children: [/* @__PURE__ */ X(qn, { className: "h-6 w-56 rounded-sm" }), /* @__PURE__ */ X(qn, { className: "h-4 w-80 max-w-full rounded-sm" })]
8449
8449
  }), /* @__PURE__ */ X("div", {
8450
8450
  className: "flex flex-col gap-4",
8451
8451
  children: e === 0 ? /* @__PURE__ */ Z(Y, { children: [
@@ -8513,7 +8513,7 @@ function Lm() {
8513
8513
  "aria-live": "polite",
8514
8514
  children: [/* @__PURE__ */ Z("div", {
8515
8515
  className: "flex flex-col gap-2 px-5",
8516
- children: [/* @__PURE__ */ X(Hn, { className: "h-6 w-52 rounded-sm" }), /* @__PURE__ */ X(Hn, { className: "h-4 w-72 max-w-full rounded-sm" })]
8516
+ children: [/* @__PURE__ */ X(qn, { className: "h-6 w-52 rounded-sm" }), /* @__PURE__ */ X(qn, { className: "h-4 w-72 max-w-full rounded-sm" })]
8517
8517
  }), /* @__PURE__ */ X(km, {
8518
8518
  titleWidth: "74%",
8519
8519
  descriptionWidth: "50%",
@@ -8611,8 +8611,8 @@ function Vm({ value: e, onChange: t, onBlur: n, config: r }) {
8611
8611
  }),
8612
8612
  u ? /* @__PURE__ */ X("div", {
8613
8613
  className: "min-h-8 p-1",
8614
- children: /* @__PURE__ */ X(V, {
8615
- icon: t.correct ? wa : Fr,
8614
+ children: /* @__PURE__ */ X(B, {
8615
+ icon: t.correct ? Ai : Fr,
8616
8616
  color: t.correct ? "positive" : "critical",
8617
8617
  "aria-hidden": !0
8618
8618
  })
@@ -8634,7 +8634,7 @@ var Hm = /^(https?:\/\/)?[\w.-]+\.[a-z]{2,}(:\d+)?(\/[^\s]*)?$/i, Um = () => ({
8634
8634
  status: "idle"
8635
8635
  });
8636
8636
  function Wm(e, t) {
8637
- return Li().optional().superRefine((n, r) => {
8637
+ return Ca().optional().superRefine((n, r) => {
8638
8638
  e && (!n || n.trim() === "") && r.addIssue({
8639
8639
  code: "custom",
8640
8640
  message: t("forms.validation.required")
@@ -8642,7 +8642,7 @@ function Wm(e, t) {
8642
8642
  });
8643
8643
  }
8644
8644
  function Gm(e, t) {
8645
- return Li().optional().superRefine((n, r) => {
8645
+ return Ca().optional().superRefine((n, r) => {
8646
8646
  e && (!n || n.trim() === "") ? r.addIssue({
8647
8647
  code: "custom",
8648
8648
  message: t("forms.validation.required")
@@ -8653,7 +8653,7 @@ function Gm(e, t) {
8653
8653
  });
8654
8654
  }
8655
8655
  function Km(e, t) {
8656
- return _a().optional().superRefine((n, r) => {
8656
+ return Hi().optional().superRefine((n, r) => {
8657
8657
  e && n == null && r.addIssue({
8658
8658
  code: "custom",
8659
8659
  message: t("forms.validation.required")
@@ -8661,7 +8661,7 @@ function Km(e, t) {
8661
8661
  });
8662
8662
  }
8663
8663
  function qm(e, t) {
8664
- return Oi(Li()).optional().superRefine((n, r) => {
8664
+ return vo(Ca()).optional().superRefine((n, r) => {
8665
8665
  e && (!n || n.length === 0) && r.addIssue({
8666
8666
  code: "custom",
8667
8667
  message: t("forms.validation.required")
@@ -8669,7 +8669,7 @@ function qm(e, t) {
8669
8669
  });
8670
8670
  }
8671
8671
  function Jm(e, t) {
8672
- return Bi().optional().superRefine((n, r) => {
8672
+ return xa().optional().superRefine((n, r) => {
8673
8673
  e && !n && r.addIssue({
8674
8674
  code: "custom",
8675
8675
  message: t("forms.validation.required")
@@ -8678,7 +8678,7 @@ function Jm(e, t) {
8678
8678
  }
8679
8679
  var Ym = qm;
8680
8680
  function Xm(e, t) {
8681
- return Ca().optional().superRefine((n, r) => {
8681
+ return ki().optional().superRefine((n, r) => {
8682
8682
  e && !n && r.addIssue({
8683
8683
  code: "custom",
8684
8684
  message: t("forms.validation.required")
@@ -8728,7 +8728,7 @@ function $m({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
8728
8728
  placeholder: t("surveyFormBuilder.answer.textPlaceholder"),
8729
8729
  disabled: i
8730
8730
  };
8731
- return Zi(Wm(!!e.required, t), {
8731
+ return Vi(Wm(!!e.required, t), {
8732
8732
  ...c,
8733
8733
  fieldType: "custom",
8734
8734
  render: ({ value: e, onChange: t, onBlur: r, error: i }) => /* @__PURE__ */ X(Kp, {
@@ -8756,7 +8756,7 @@ function $m({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
8756
8756
  rows: 4,
8757
8757
  disabled: i
8758
8758
  };
8759
- return Zi(Wm(!!e.required, t), {
8759
+ return Vi(Wm(!!e.required, t), {
8760
8760
  ...c,
8761
8761
  fieldType: "custom",
8762
8762
  render: ({ value: e, onChange: t, onBlur: r, error: i }) => /* @__PURE__ */ X(Kp, {
@@ -8783,7 +8783,7 @@ function $m({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
8783
8783
  placeholder: t("surveyFormBuilder.answer.numericPlaceholder"),
8784
8784
  disabled: i
8785
8785
  };
8786
- return Zi(Km(!!e.required, t), {
8786
+ return Vi(Km(!!e.required, t), {
8787
8787
  ...c,
8788
8788
  fieldType: "custom",
8789
8789
  render: ({ value: e, onChange: t, onBlur: r, error: i }) => /* @__PURE__ */ X(Kp, {
@@ -8811,7 +8811,7 @@ function $m({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
8811
8811
  placeholder: t("surveyFormBuilder.answer.linkPlaceholder"),
8812
8812
  disabled: i
8813
8813
  };
8814
- return Zi(Gm(!!e.required, t), {
8814
+ return Vi(Gm(!!e.required, t), {
8815
8815
  ...c,
8816
8816
  fieldType: "custom",
8817
8817
  render: ({ value: e, onChange: t, onBlur: r, error: i }) => /* @__PURE__ */ X(Kp, {
@@ -8838,7 +8838,7 @@ function $m({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
8838
8838
  clearable: !e.required,
8839
8839
  disabled: i
8840
8840
  };
8841
- return Zi(Jm(!!e.required, t), {
8841
+ return Vi(Jm(!!e.required, t), {
8842
8842
  ...c,
8843
8843
  fieldType: "custom",
8844
8844
  render: ({ value: e, onChange: t, onBlur: r, error: i }) => /* @__PURE__ */ X(Kp, {
@@ -8874,7 +8874,7 @@ function $m({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
8874
8874
  showSearchBox: r,
8875
8875
  searchBoxPlaceholder: e.searchBoxPlaceholder
8876
8876
  };
8877
- return Zi(Wm(!!e.required, t), {
8877
+ return Vi(Wm(!!e.required, t), {
8878
8878
  ...c,
8879
8879
  fieldType: "custom",
8880
8880
  render: ({ value: t, onChange: r, onBlur: i, error: o }) => {
@@ -8923,7 +8923,7 @@ function $m({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
8923
8923
  showSearchBox: r,
8924
8924
  searchBoxPlaceholder: e.searchBoxPlaceholder
8925
8925
  };
8926
- return Zi(qm(!!e.required, t), {
8926
+ return Vi(qm(!!e.required, t), {
8927
8927
  ...c,
8928
8928
  fieldType: "custom",
8929
8929
  render: ({ value: e, onChange: t, onBlur: n, error: r }) => /* @__PURE__ */ X(Kp, {
@@ -8950,7 +8950,7 @@ function $m({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
8950
8950
  disabled: i,
8951
8951
  showAnswerValidation: r
8952
8952
  };
8953
- return Zi(Wm(!!e.required, t), {
8953
+ return Vi(Wm(!!e.required, t), {
8954
8954
  ...c,
8955
8955
  fieldType: "custom",
8956
8956
  fieldConfig: n,
@@ -8973,7 +8973,7 @@ function $m({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
8973
8973
  disabled: i,
8974
8974
  showAnswerValidation: r
8975
8975
  };
8976
- return Zi(qm(!!e.required, t), {
8976
+ return Vi(qm(!!e.required, t), {
8977
8977
  ...c,
8978
8978
  fieldType: "custom",
8979
8979
  fieldConfig: n,
@@ -8995,7 +8995,7 @@ function $m({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
8995
8995
  maxLabel: n.maxLabel,
8996
8996
  disabled: i
8997
8997
  };
8998
- return Zi(Km(!!e.required, t), {
8998
+ return Vi(Km(!!e.required, t), {
8999
8999
  ...c,
9000
9000
  fieldType: "custom",
9001
9001
  fieldConfig: r,
@@ -9021,7 +9021,7 @@ function $m({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
9021
9021
  useUpload: r ?? Um,
9022
9022
  disabled: i || !r
9023
9023
  };
9024
- return Zi(Ym(!!e.required, t), {
9024
+ return Vi(Ym(!!e.required, t), {
9025
9025
  ...c,
9026
9026
  fieldType: "custom",
9027
9027
  render: ({ value: e, onChange: t, onBlur: n, error: r }) => /* @__PURE__ */ X(Kp, {
@@ -9047,7 +9047,7 @@ function $m({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
9047
9047
  label: n.label || s,
9048
9048
  disabled: i
9049
9049
  };
9050
- return Zi(Xm(!!e.required, t), {
9050
+ return Vi(Xm(!!e.required, t), {
9051
9051
  ...c,
9052
9052
  fieldType: "custom",
9053
9053
  render: ({ value: e, onChange: t, onBlur: n, error: i }) => /* @__PURE__ */ X(Kp, {
@@ -9066,7 +9066,7 @@ function $m({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
9066
9066
  })
9067
9067
  });
9068
9068
  }
9069
- default: return Zi(Ji(), {
9069
+ default: return Vi(Ri(), {
9070
9070
  ...c,
9071
9071
  fieldType: "custom",
9072
9072
  render: () => null
@@ -9105,7 +9105,7 @@ function eh({ elements: e, mode: t, t: n, defaultValues: r, currentQuestionId: i
9105
9105
  }), d[e.id] = a?.[e.id] ?? Zm(e, r);
9106
9106
  }
9107
9107
  return {
9108
- schema: Ta(u),
9108
+ schema: va(u),
9109
9109
  defaultValues: d,
9110
9110
  flatQuestions: p,
9111
9111
  sections: f
@@ -9134,7 +9134,7 @@ function rh(e) {
9134
9134
  return e.inline ? /* @__PURE__ */ X(ah, { ...e }) : /* @__PURE__ */ X(ih, { ...e });
9135
9135
  }
9136
9136
  function ih({ elements: e, onSubmit: t, mode: n, title: r, description: i, resourceHeader: a, isOpen: o, onClose: s, position: c = "center", module: l, allowToChangeFullscreen: u = !1, defaultValues: f, errorTriggerMode: p = "on-blur", loading: m = !1, labels: g, preview: _ = !1, useUpload: v, datasets: y }) {
9137
- let { t: b } = B(), x = c === "fullscreen", S = c === "fullscreen" ? "center" : c, [C, w] = J(x), { formRef: T, submit: E, isSubmitting: D, hasErrors: O } = Qe(), k = q({}), A = K(() => Qm(e), [e]), j = Rm(A), M = A.length > 0, N = {
9137
+ let { t: b } = V(), x = c === "fullscreen", S = c === "fullscreen" ? "center" : c, [C, w] = J(x), { formRef: T, submit: E, isSubmitting: D, hasErrors: O } = Qe(), k = q({}), A = K(() => Qm(e), [e]), j = Rm(A), M = A.length > 0, N = {
9138
9138
  title: g?.empty?.title ?? b("surveyAnsweringForm.labels.empty.title"),
9139
9139
  description: g?.empty?.description ?? b("surveyAnsweringForm.labels.empty.description"),
9140
9140
  emoji: g?.empty?.emoji ?? b("surveyAnsweringForm.labels.empty.emoji")
@@ -9196,12 +9196,12 @@ function ih({ elements: e, onSubmit: t, mode: n, title: r, description: i, resou
9196
9196
  }, j.goToPrevious();
9197
9197
  }, [T, j.goToPrevious]), ue = u && !m ? [{
9198
9198
  label: b(C ? "surveyAnsweringForm.actions.collapse" : "surveyAnsweringForm.actions.expand"),
9199
- icon: C ? va : ka,
9199
+ icon: C ? Ui : ka,
9200
9200
  onClick: () => w((e) => !e)
9201
9201
  }] : void 0, de = M ? m || F ? void 0 : I ? P && !j.isLastStep ? {
9202
9202
  label: b("surveyAnsweringForm.actions.next"),
9203
9203
  onClick: j.goToNext,
9204
- icon: wi
9204
+ icon: pa
9205
9205
  } : {
9206
9206
  label: b("surveyAnsweringForm.actions.submit"),
9207
9207
  onClick: th,
@@ -9209,7 +9209,7 @@ function ih({ elements: e, onSubmit: t, mode: n, title: r, description: i, resou
9209
9209
  } : P && !j.isLastStep ? {
9210
9210
  label: b("surveyAnsweringForm.actions.next"),
9211
9211
  onClick: ce,
9212
- icon: wi
9212
+ icon: pa
9213
9213
  } : {
9214
9214
  label: b("surveyAnsweringForm.actions.submit"),
9215
9215
  onClick: ce,
@@ -9220,7 +9220,7 @@ function ih({ elements: e, onSubmit: t, mode: n, title: r, description: i, resou
9220
9220
  onClick: le,
9221
9221
  icon: cs
9222
9222
  } : void 0 : void 0, pe = n === "all-questions" && M && !m, me = P && M && !m, he = P && !!j.currentQuestion?.sectionTitle && !m, ge = ne === "center" || ne === "fullscreen";
9223
- return /* @__PURE__ */ X(Ka, {
9223
+ return /* @__PURE__ */ X(so, {
9224
9224
  isOpen: o,
9225
9225
  onClose: s,
9226
9226
  title: r,
@@ -9304,7 +9304,7 @@ function ih({ elements: e, onSubmit: t, mode: n, title: r, description: i, resou
9304
9304
  });
9305
9305
  }
9306
9306
  function ah({ elements: e, title: t, description: n, resourceHeader: r, defaultValues: i, loading: a = !1, labels: o, useUpload: s, datasets: c, hideResourceHeader: l = !1 }) {
9307
- let { t: u } = B(), f = K(() => Qm(e), [e]).length > 0, p = {
9307
+ let { t: u } = V(), f = K(() => Qm(e), [e]).length > 0, p = {
9308
9308
  title: o?.empty?.title ?? u("surveyAnsweringForm.labels.empty.title"),
9309
9309
  description: o?.empty?.description ?? u("surveyAnsweringForm.labels.empty.description"),
9310
9310
  emoji: o?.empty?.emoji ?? u("surveyAnsweringForm.labels.empty.emoji")
@@ -9440,7 +9440,7 @@ var lh = ({ benefits: e }) => /* @__PURE__ */ X("div", {
9440
9440
  children: e.map((e, t) => /* @__PURE__ */ X(uh, { text: e }, t))
9441
9441
  }), uh = ({ text: e }) => /* @__PURE__ */ Z("div", {
9442
9442
  className: "flex flex-row items-start gap-2",
9443
- children: [/* @__PURE__ */ X(V, {
9443
+ children: [/* @__PURE__ */ X(B, {
9444
9444
  icon: zs,
9445
9445
  size: "md",
9446
9446
  className: "text-f1-icon-positive"
@@ -9492,31 +9492,31 @@ var lh = ({ benefits: e }) => /* @__PURE__ */ X("div", {
9492
9492
  })]
9493
9493
  }));
9494
9494
  dh.displayName = "ProductBlankslate";
9495
- var fh = z(dh);
9495
+ var fh = R(dh);
9496
9496
  //#endregion
9497
9497
  //#region src/domains/growth/upselling/UpsellingKit/ProductModal/components/CustomModal.tsx
9498
9498
  function ph({ isOpen: e, onClose: t, title: n, children: r, module: i, portalContainer: a }) {
9499
9499
  let [o, s] = J(e);
9500
9500
  return G(() => {
9501
9501
  s(e);
9502
- }, [e]), /* @__PURE__ */ X(Ja, {
9502
+ }, [e]), /* @__PURE__ */ X(Ti, {
9503
9503
  open: o,
9504
9504
  onOpenChange: (e) => {
9505
9505
  s(e), e || t();
9506
9506
  },
9507
9507
  modal: !0,
9508
- children: /* @__PURE__ */ Z(aa, {
9508
+ children: /* @__PURE__ */ Z(ta, {
9509
9509
  className: "max-h-[620px] w-[760px] overflow-y-auto overflow-x-hidden bg-f1-background",
9510
9510
  container: a,
9511
9511
  children: [/* @__PURE__ */ Z("div", {
9512
9512
  className: "flex flex-row items-center justify-between px-4 py-4",
9513
- children: [/* @__PURE__ */ Z(na, {
9513
+ children: [/* @__PURE__ */ Z(Ka, {
9514
9514
  className: "flex flex-row items-center gap-2 text-lg font-semibold text-f1-foreground",
9515
9515
  children: [i ? /* @__PURE__ */ X(wo, {
9516
9516
  module: i,
9517
9517
  size: "md"
9518
9518
  }) : null, n]
9519
- }), /* @__PURE__ */ X(ir, {
9519
+ }), /* @__PURE__ */ X(or, {
9520
9520
  variant: "outline",
9521
9521
  icon: Fr,
9522
9522
  onClick: t,
@@ -9567,14 +9567,14 @@ function mh({ isOpen: e, onClose: t, title: n, image: r, benefits: i, errorMessa
9567
9567
  promoTag: g,
9568
9568
  actions: /* @__PURE__ */ Z("div", {
9569
9569
  className: "flex gap-3",
9570
- children: [u ? /* @__PURE__ */ X(R, {
9570
+ children: [u ? /* @__PURE__ */ X(z, {
9571
9571
  variant: u.variant,
9572
9572
  label: E ? s.label : u.label,
9573
9573
  icon: u.icon || void 0,
9574
9574
  onClick: w,
9575
9575
  loading: u.loading,
9576
9576
  size: u.size
9577
- }) : null, p ? /* @__PURE__ */ X(R, {
9577
+ }) : null, p ? /* @__PURE__ */ X(z, {
9578
9578
  onClick: p.onClick,
9579
9579
  label: p.label,
9580
9580
  variant: p.variant,
@@ -9597,7 +9597,7 @@ function mh({ isOpen: e, onClose: t, title: n, image: r, benefits: i, errorMessa
9597
9597
  portalContainer: m
9598
9598
  }) : null] });
9599
9599
  }
9600
- var hh = z(mh);
9600
+ var hh = R(mh);
9601
9601
  //#endregion
9602
9602
  //#region src/domains/growth/upselling/UpsellingKit/ProductWidget/ProductWidget.tsx
9603
9603
  function gh({ mediaUrl: e, title: t, description: n, onClose: r, dismissible: i, width: a, trackVisibility: o, actions: s, showConfirmation: c = !0 }) {
@@ -9608,12 +9608,12 @@ function gh({ mediaUrl: e, title: t, description: n, onClose: r, dismissible: i,
9608
9608
  o && o(!l);
9609
9609
  }, [o, l]);
9610
9610
  let f = e?.includes(".mp4");
9611
- return /* @__PURE__ */ X(Y, { children: l ? null : /* @__PURE__ */ Z(ta, {
9611
+ return /* @__PURE__ */ X(Y, { children: l ? null : /* @__PURE__ */ Z(Ga, {
9612
9612
  style: { width: a },
9613
9613
  className: "relative bg-f1-background p-1",
9614
- children: [/* @__PURE__ */ Z(ua, { children: [i ? /* @__PURE__ */ X("div", {
9614
+ children: [/* @__PURE__ */ Z(ia, { children: [i ? /* @__PURE__ */ X("div", {
9615
9615
  className: "absolute right-2 top-2 z-10",
9616
- children: /* @__PURE__ */ X(R, {
9616
+ children: /* @__PURE__ */ X(z, {
9617
9617
  variant: "ghost",
9618
9618
  icon: Fr,
9619
9619
  size: "sm",
@@ -9641,7 +9641,7 @@ function gh({ mediaUrl: e, title: t, description: n, onClose: r, dismissible: i,
9641
9641
  className: "line-clamp-3 text-base font-normal text-f1-foreground-secondary",
9642
9642
  children: n
9643
9643
  })]
9644
- })] })] }), s ? /* @__PURE__ */ X(Fi, {
9644
+ })] })] }), s ? /* @__PURE__ */ X(la, {
9645
9645
  className: "p-3",
9646
9646
  children: s.map((e) => e.type === "upsell" ? /* @__PURE__ */ X(C, {
9647
9647
  label: e.label,
@@ -9653,7 +9653,7 @@ function gh({ mediaUrl: e, title: t, description: n, onClose: r, dismissible: i,
9653
9653
  closeLabel: e.closeLabel,
9654
9654
  showConfirmation: c && e.showConfirmation,
9655
9655
  variant: e.variant
9656
- }, e.label) : /* @__PURE__ */ X(R, {
9656
+ }, e.label) : /* @__PURE__ */ X(z, {
9657
9657
  label: e.label,
9658
9658
  onClick: e.onClick,
9659
9659
  variant: e.variant
@@ -9661,9 +9661,9 @@ function gh({ mediaUrl: e, title: t, description: n, onClose: r, dismissible: i,
9661
9661
  }) : null]
9662
9662
  }) });
9663
9663
  }
9664
- var _h = z(gh), vh = ({ onDismiss: e }) => {
9665
- let { actions: t } = B();
9666
- return /* @__PURE__ */ X(R, {
9664
+ var _h = R(gh), vh = ({ onDismiss: e }) => {
9665
+ let { actions: t } = V();
9666
+ return /* @__PURE__ */ X(z, {
9667
9667
  icon: Fr,
9668
9668
  label: t.close,
9669
9669
  hideLabel: !0,
@@ -9687,7 +9687,7 @@ function yh({ icon: e, title: t, description: n, action: r, onDismiss: i }) {
9687
9687
  className: H("flex flex-row gap-2", n ? "items-start" : "items-center"),
9688
9688
  children: [e ? /* @__PURE__ */ X("div", {
9689
9689
  className: "flex h-6 w-6 flex-shrink-0 items-center justify-center rounded-sm border border-solid text-f1-icon-promote [background:hsl(var(--promote-50)/0.1)] [border-color:hsl(var(--promote-50)/0.1)]",
9690
- children: /* @__PURE__ */ X(V, {
9690
+ children: /* @__PURE__ */ X(B, {
9691
9691
  icon: e,
9692
9692
  size: "sm"
9693
9693
  })
@@ -9724,7 +9724,7 @@ function yh({ icon: e, title: t, description: n, action: r, onDismiss: i }) {
9724
9724
  })
9725
9725
  });
9726
9726
  }
9727
- var bh = z(yh), xh = Tc(function({ primaryAction: e, secondaryAction: t, ...n }, r) {
9727
+ var bh = R(yh), xh = Tc(function({ primaryAction: e, secondaryAction: t, ...n }, r) {
9728
9728
  let i = (e) => e.variant === "promote" ? /* @__PURE__ */ X(C, {
9729
9729
  label: e.label,
9730
9730
  onRequest: e.onClick,
@@ -9736,7 +9736,7 @@ var bh = z(yh), xh = Tc(function({ primaryAction: e, secondaryAction: t, ...n },
9736
9736
  showIcon: e.showIcon,
9737
9737
  showConfirmation: e.showConfirmation,
9738
9738
  variant: e.variant
9739
- }) : /* @__PURE__ */ X(R, {
9739
+ }) : /* @__PURE__ */ X(z, {
9740
9740
  onClick: e.onClick,
9741
9741
  label: e.label,
9742
9742
  variant: e.variant || "default",
@@ -9752,7 +9752,7 @@ var bh = z(yh), xh = Tc(function({ primaryAction: e, secondaryAction: t, ...n },
9752
9752
  });
9753
9753
  });
9754
9754
  xh.displayName = "UpsellingBanner";
9755
- var Sh = z(xh);
9755
+ var Sh = R(xh);
9756
9756
  //#endregion
9757
9757
  //#region src/domains/growth/upselling/UpsellingKit/UpsellingPopover/UpsellingPopover.tsx
9758
9758
  function Ch({ isOpen: e, setIsOpen: t, label: n, variant: r = "promote", size: i = "md", showIcon: a = !0, side: o = "right", align: s = "center", icon: c = Oa, mediaUrl: l, title: u, description: d, width: f = "300px", trackVisibility: p, actions: m, onClick: h, hideLabel: g = !1 }) {
@@ -9773,12 +9773,12 @@ function Ch({ isOpen: e, setIsOpen: t, label: n, variant: r = "promote", size: i
9773
9773
  ...e,
9774
9774
  onClick: () => w(e)
9775
9775
  } : e);
9776
- return /* @__PURE__ */ Z(Y, { children: [/* @__PURE__ */ Z(er, {
9776
+ return /* @__PURE__ */ Z(Y, { children: [/* @__PURE__ */ Z(rr, {
9777
9777
  open: E,
9778
9778
  onOpenChange: C,
9779
- children: [/* @__PURE__ */ X(Pn, {
9779
+ children: [/* @__PURE__ */ X(Nn, {
9780
9780
  asChild: !0,
9781
- children: /* @__PURE__ */ X(R, {
9781
+ children: /* @__PURE__ */ X(z, {
9782
9782
  variant: r,
9783
9783
  label: n,
9784
9784
  size: i,
@@ -9786,7 +9786,7 @@ function Ch({ isOpen: e, setIsOpen: t, label: n, variant: r = "promote", size: i
9786
9786
  onClick: () => t(e),
9787
9787
  hideLabel: g
9788
9788
  })
9789
- }), /* @__PURE__ */ X(Gn, {
9789
+ }), /* @__PURE__ */ X(Hn, {
9790
9790
  side: o,
9791
9791
  align: s,
9792
9792
  className: "w-fit border-none bg-transparent p-2 shadow-none",
@@ -9813,11 +9813,11 @@ function Ch({ isOpen: e, setIsOpen: t, label: n, variant: r = "promote", size: i
9813
9813
  portalContainer: null
9814
9814
  }) : null] });
9815
9815
  }
9816
- var wh = z(Ch), Th = ({ preview: e, moduleName: t, description: n, onAction: r, actionHref: i }) => {
9817
- let a = B(), o = a?.ai?.growth?.demoCard?.title ?? "Show {{moduleName}} in action", s = a?.ai?.growth?.demoCard?.actionLabel ?? "Start demo", c = o.replace("{{moduleName}}", t);
9818
- return /* @__PURE__ */ Z(ta, {
9816
+ var wh = R(Ch), Th = ({ preview: e, moduleName: t, description: n, onAction: r, actionHref: i }) => {
9817
+ let a = V(), o = a?.ai?.growth?.demoCard?.title ?? "Show {{moduleName}} in action", s = a?.ai?.growth?.demoCard?.actionLabel ?? "Start demo", c = o.replace("{{moduleName}}", t);
9818
+ return /* @__PURE__ */ Z(Ga, {
9819
9819
  className: "flex flex-col overflow-hidden",
9820
- children: [/* @__PURE__ */ Z(ua, {
9820
+ children: [/* @__PURE__ */ Z(ia, {
9821
9821
  className: "flex flex-col gap-4 p-0",
9822
9822
  children: [/* @__PURE__ */ X("div", {
9823
9823
  className: H("overflow-hidden rounded-lg border border-f1-border", "ring-1 ring-f1-border/50 bg-f1-background-inverse-secondary dark:bg-f1-background-tertiary"),
@@ -9832,15 +9832,15 @@ var wh = z(Ch), Th = ({ preview: e, moduleName: t, description: n, onAction: r,
9832
9832
  children: n
9833
9833
  })]
9834
9834
  })]
9835
- }), /* @__PURE__ */ X(Fi, {
9835
+ }), /* @__PURE__ */ X(la, {
9836
9836
  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",
9837
- children: i ? /* @__PURE__ */ X(R, {
9837
+ children: i ? /* @__PURE__ */ X(z, {
9838
9838
  variant: "default",
9839
9839
  size: "md",
9840
9840
  label: s,
9841
9841
  href: i,
9842
9842
  target: "_blank"
9843
- }) : /* @__PURE__ */ X(R, {
9843
+ }) : /* @__PURE__ */ X(z, {
9844
9844
  type: "button",
9845
9845
  variant: "default",
9846
9846
  size: "md",
@@ -9862,7 +9862,7 @@ var wh = z(Ch), Th = ({ preview: e, moduleName: t, description: n, onAction: r,
9862
9862
  children: e.question
9863
9863
  }), /* @__PURE__ */ X("span", {
9864
9864
  className: "mt-0.5 flex-shrink-0 text-f1-foreground-secondary",
9865
- children: /* @__PURE__ */ X(V, {
9865
+ children: /* @__PURE__ */ X(B, {
9866
9866
  icon: t ? Ao : Yo,
9867
9867
  size: "sm",
9868
9868
  className: H("transition-transform duration-200", t && "text-f1-foreground")
@@ -9879,7 +9879,7 @@ var wh = z(Ch), Th = ({ preview: e, moduleName: t, description: n, onAction: r,
9879
9879
  })
9880
9880
  })]
9881
9881
  }), Dh = ({ headerIcon: e, items: t, defaultExpandedId: n, expandedId: r, onExpandedChange: i, allowMultiple: a = !1 }) => {
9882
- let o = B()?.ai?.growth?.faqCard?.title ?? "Questions before getting started", s = e ?? go, [c, l] = J(() => new Set(n ? [n] : [])), u = r !== void 0, d = W((e) => u ? r === e : c.has(e), [
9882
+ let o = V()?.ai?.growth?.faqCard?.title ?? "Questions before getting started", s = e ?? Fa, [c, l] = J(() => new Set(n ? [n] : [])), u = r !== void 0, d = W((e) => u ? r === e : c.has(e), [
9883
9883
  u,
9884
9884
  r,
9885
9885
  c
@@ -9894,13 +9894,13 @@ var wh = z(Ch), Th = ({ preview: e, moduleName: t, description: n, onAction: r,
9894
9894
  i,
9895
9895
  a
9896
9896
  ]);
9897
- return t.length === 0 ? null : /* @__PURE__ */ Z(ta, {
9897
+ return t.length === 0 ? null : /* @__PURE__ */ Z(Ga, {
9898
9898
  className: "flex flex-col overflow-hidden",
9899
- children: [/* @__PURE__ */ Z(Hi, {
9899
+ children: [/* @__PURE__ */ Z(Fi, {
9900
9900
  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",
9901
9901
  children: [/* @__PURE__ */ X("div", {
9902
9902
  className: "flex h-6 w-6 items-center justify-center rounded-full border border-f1-border-secondary",
9903
- children: /* @__PURE__ */ X(V, {
9903
+ children: /* @__PURE__ */ X(B, {
9904
9904
  icon: s,
9905
9905
  size: "sm",
9906
9906
  className: "text-f1-foreground-secondary"
@@ -9909,7 +9909,7 @@ var wh = z(Ch), Th = ({ preview: e, moduleName: t, description: n, onAction: r,
9909
9909
  className: "text-base font-semibold text-f1-foreground",
9910
9910
  children: o
9911
9911
  })]
9912
- }), /* @__PURE__ */ X(ua, {
9912
+ }), /* @__PURE__ */ X(ia, {
9913
9913
  className: "flex flex-col divide-y divide-f1-border p-0",
9914
9914
  children: t.map((e) => /* @__PURE__ */ X(Eh, {
9915
9915
  item: e,
@@ -9919,10 +9919,10 @@ var wh = z(Ch), Th = ({ preview: e, moduleName: t, description: n, onAction: r,
9919
9919
  })]
9920
9920
  });
9921
9921
  }, Oh = ({ moduleName: e, description: t, onAction: n, actionHref: r, imageSrc: i }) => {
9922
- let a = B()?.ai?.growth?.moduleCard?.actionLabel ?? "Learn more";
9923
- return /* @__PURE__ */ Z(ta, {
9922
+ let a = V()?.ai?.growth?.moduleCard?.actionLabel ?? "Learn more";
9923
+ return /* @__PURE__ */ Z(Ga, {
9924
9924
  className: "flex flex-col overflow-hidden",
9925
- children: [/* @__PURE__ */ X(ua, {
9925
+ children: [/* @__PURE__ */ X(ia, {
9926
9926
  className: "flex flex-col gap-3 p-0",
9927
9927
  children: /* @__PURE__ */ Z("div", {
9928
9928
  className: "flex items-start gap-3",
@@ -9944,14 +9944,14 @@ var wh = z(Ch), Th = ({ preview: e, moduleName: t, description: n, onAction: r,
9944
9944
  })]
9945
9945
  })]
9946
9946
  })
9947
- }), /* @__PURE__ */ X(Fi, {
9947
+ }), /* @__PURE__ */ X(la, {
9948
9948
  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",
9949
- children: r ? /* @__PURE__ */ X(R, {
9949
+ children: r ? /* @__PURE__ */ X(z, {
9950
9950
  variant: "outline",
9951
9951
  size: "md",
9952
9952
  label: a,
9953
9953
  href: r
9954
- }) : /* @__PURE__ */ X(R, {
9954
+ }) : /* @__PURE__ */ X(z, {
9955
9955
  type: "button",
9956
9956
  variant: "outline",
9957
9957
  size: "md",
@@ -9961,13 +9961,13 @@ var wh = z(Ch), Th = ({ preview: e, moduleName: t, description: n, onAction: r,
9961
9961
  })]
9962
9962
  });
9963
9963
  }, kh = ({ onAction: e, actionHref: t }) => {
9964
- let n = B()?.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";
9965
- return /* @__PURE__ */ Z(ta, {
9964
+ let n = V()?.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";
9965
+ return /* @__PURE__ */ Z(Ga, {
9966
9966
  className: "flex flex-col overflow-hidden",
9967
- children: [/* @__PURE__ */ Z(ua, {
9967
+ children: [/* @__PURE__ */ Z(ia, {
9968
9968
  className: "flex flex-col gap-3 p-0",
9969
- children: [/* @__PURE__ */ X(V, {
9970
- icon: Ki,
9969
+ children: [/* @__PURE__ */ X(B, {
9970
+ icon: io,
9971
9971
  size: "lg"
9972
9972
  }), /* @__PURE__ */ Z("div", {
9973
9973
  className: "flex flex-col gap-0.5",
@@ -9979,15 +9979,15 @@ var wh = z(Ch), Th = ({ preview: e, moduleName: t, description: n, onAction: r,
9979
9979
  children: i
9980
9980
  })]
9981
9981
  })]
9982
- }), /* @__PURE__ */ X(Fi, {
9982
+ }), /* @__PURE__ */ X(la, {
9983
9983
  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",
9984
- children: t ? /* @__PURE__ */ X(R, {
9984
+ children: t ? /* @__PURE__ */ X(z, {
9985
9985
  variant: "default",
9986
9986
  size: "md",
9987
9987
  label: a,
9988
9988
  href: t,
9989
9989
  target: "_blank"
9990
- }) : /* @__PURE__ */ X(R, {
9990
+ }) : /* @__PURE__ */ X(z, {
9991
9991
  type: "button",
9992
9992
  variant: "default",
9993
9993
  size: "md",
@@ -9997,7 +9997,7 @@ var wh = z(Ch), Th = ({ preview: e, moduleName: t, description: n, onAction: r,
9997
9997
  })]
9998
9998
  });
9999
9999
  }, Ah = ({ steps: e, onComplete: t, onSkip: n, sendAsMessage: r = !1, onSendMessage: i }) => {
10000
- let [a, o] = J(0), [s, c] = J({}), l = B(), u = e.length, d = e[a], f = s[a] ?? [], p = W((e, t) => {
10000
+ let [a, o] = J(0), [s, c] = J({}), l = V(), u = e.length, d = e[a], f = s[a] ?? [], p = W((e, t) => {
10001
10001
  c((n) => {
10002
10002
  let r = n[a] ?? [], i = t ? [...r, e] : r.filter((t) => t !== e);
10003
10003
  return {
@@ -10025,9 +10025,9 @@ var wh = z(Ch), Th = ({ preview: e, moduleName: t, description: n, onAction: r,
10025
10025
  e,
10026
10026
  t
10027
10027
  ]), g = a === u - 1, _ = u > 1, v = n != null;
10028
- return u === 0 || !d ? null : /* @__PURE__ */ Z(ta, {
10028
+ return u === 0 || !d ? null : /* @__PURE__ */ Z(Ga, {
10029
10029
  className: "flex flex-col overflow-hidden",
10030
- children: [/* @__PURE__ */ Z(ua, {
10030
+ children: [/* @__PURE__ */ Z(ia, {
10031
10031
  className: "flex flex-col gap-4",
10032
10032
  children: [/* @__PURE__ */ X("h3", {
10033
10033
  className: "text-base font-semibold text-f1-foreground",
@@ -10044,7 +10044,7 @@ var wh = z(Ch), Th = ({ preview: e, moduleName: t, description: n, onAction: r,
10044
10044
  })
10045
10045
  }, e.id))
10046
10046
  })]
10047
- }), /* @__PURE__ */ Z(Fi, {
10047
+ }), /* @__PURE__ */ Z(la, {
10048
10048
  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",
10049
10049
  children: [/* @__PURE__ */ X("div", {
10050
10050
  className: "flex min-w-[7.5rem] items-center justify-start gap-1",
@@ -10055,7 +10055,7 @@ var wh = z(Ch), Th = ({ preview: e, moduleName: t, description: n, onAction: r,
10055
10055
  disabled: a <= 0,
10056
10056
  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",
10057
10057
  "aria-label": "Previous",
10058
- children: /* @__PURE__ */ X(V, {
10058
+ children: /* @__PURE__ */ X(B, {
10059
10059
  icon: ps,
10060
10060
  size: "sm"
10061
10061
  })
@@ -10074,7 +10074,7 @@ var wh = z(Ch), Th = ({ preview: e, moduleName: t, description: n, onAction: r,
10074
10074
  disabled: a >= u - 1,
10075
10075
  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",
10076
10076
  "aria-label": "Next",
10077
- children: /* @__PURE__ */ X(V, {
10077
+ children: /* @__PURE__ */ X(B, {
10078
10078
  icon: Yo,
10079
10079
  size: "sm"
10080
10080
  })
@@ -10082,13 +10082,13 @@ var wh = z(Ch), Th = ({ preview: e, moduleName: t, description: n, onAction: r,
10082
10082
  ] }) : null
10083
10083
  }), /* @__PURE__ */ Z("div", {
10084
10084
  className: "flex items-center gap-2",
10085
- children: [v ? /* @__PURE__ */ X(R, {
10085
+ children: [v ? /* @__PURE__ */ X(z, {
10086
10086
  type: "button",
10087
10087
  variant: "ghost",
10088
10088
  size: "md",
10089
10089
  label: l?.ai?.growth?.questionCard?.skipLabel ?? "Skip",
10090
10090
  onClick: n
10091
- }) : null, /* @__PURE__ */ X(R, {
10091
+ }) : null, /* @__PURE__ */ X(z, {
10092
10092
  type: "button",
10093
10093
  variant: "outline",
10094
10094
  size: "md",
@@ -10508,7 +10508,7 @@ function dg(e, t) {
10508
10508
  n.href = URL.createObjectURL(e), n.download = t, n.click(), URL.revokeObjectURL(n.href);
10509
10509
  }
10510
10510
  async function fg(e, t, n, { keys: r, preamble: i } = {}) {
10511
- dg(await ha([{
10511
+ dg(await mo([{
10512
10512
  name: "Data",
10513
10513
  rows: lg({
10514
10514
  columns: e,
@@ -10530,7 +10530,7 @@ function mg(e, t, n) {
10530
10530
  r.href = e, r.download = `${t}.${n}`, r.click();
10531
10531
  }
10532
10532
  async function hg(e, t) {
10533
- dg(await ha(e.map((e) => ({
10533
+ dg(await mo(e.map((e) => ({
10534
10534
  name: e.name,
10535
10535
  rows: lg(e)
10536
10536
  }))), `${t}.xlsx`);
@@ -10561,7 +10561,7 @@ function _g(e, t, n) {
10561
10561
  }
10562
10562
  }
10563
10563
  function vg({ chartContainerRef: e, chartConfig: t, data: n, title: r }) {
10564
- let { t: i } = B(), a = W((t) => {
10564
+ let { t: i } = V(), a = W((t) => {
10565
10565
  let n = gg(e);
10566
10566
  n && mg(t === "jpg" ? _g(n, "jpeg", "#fff") : _g(n, "png"), r, t);
10567
10567
  }, [e, r]), o = K(() => {
@@ -10591,23 +10591,23 @@ function vg({ chartContainerRef: e, chartConfig: t, data: n, title: r }) {
10591
10591
  return K(() => n ? [
10592
10592
  {
10593
10593
  label: i("ai.dataDownload.download", { format: "PNG" }),
10594
- icon: io,
10594
+ icon: Pa,
10595
10595
  onClick: () => a("png")
10596
10596
  },
10597
10597
  {
10598
10598
  label: i("ai.dataDownload.download", { format: "JPG" }),
10599
- icon: io,
10599
+ icon: Pa,
10600
10600
  onClick: () => a("jpg")
10601
10601
  },
10602
10602
  { type: "separator" },
10603
10603
  {
10604
10604
  label: i("ai.dataDownload.download", { format: "Excel" }),
10605
- icon: ro,
10605
+ icon: Na,
10606
10606
  onClick: s
10607
10607
  },
10608
10608
  {
10609
10609
  label: i("ai.dataDownload.download", { format: "CSV" }),
10610
- icon: ro,
10610
+ icon: Na,
10611
10611
  onClick: c
10612
10612
  }
10613
10613
  ] : [], [
@@ -10653,7 +10653,7 @@ function yg(e, t, n, r = "") {
10653
10653
  //#endregion
10654
10654
  //#region src/domains/platform/ai/analytics/F0AnalyticsDashboard/components/DashboardItem/DashboardItemFilters.tsx
10655
10655
  function bg({ filters: e, value: t, onChange: n, onOpenChange: r }) {
10656
- let i = B(), a = kc(), o = q(null), s = q(void 0), c = q(r), [l, u] = J(!1), [d, f] = J(null), [p, m] = J(t);
10656
+ let i = V(), a = kc(), o = q(null), s = q(void 0), c = q(r), [l, u] = J(!1), [d, f] = J(null), [p, m] = J(t);
10657
10657
  G(() => {
10658
10658
  c.current = r;
10659
10659
  }, [r]), G(() => () => {
@@ -10694,16 +10694,16 @@ function bg({ filters: e, value: t, onChange: n, onOpenChange: r }) {
10694
10694
  let e = o.current?.querySelector("[aria-invalid=\"true\"]");
10695
10695
  e ? e.focus() : f(null);
10696
10696
  };
10697
- return Object.keys(_).length === 0 ? null : /* @__PURE__ */ Z(er, {
10697
+ return Object.keys(_).length === 0 ? null : /* @__PURE__ */ Z(rr, {
10698
10698
  open: l,
10699
10699
  onOpenChange: (e) => {
10700
10700
  u(e), r?.(e), !e && (f(null), m(t));
10701
10701
  },
10702
10702
  modal: !1,
10703
10703
  children: [
10704
- /* @__PURE__ */ X(Pn, {
10704
+ /* @__PURE__ */ X(Nn, {
10705
10705
  asChild: !0,
10706
- children: /* @__PURE__ */ X(ir, {
10706
+ children: /* @__PURE__ */ X(or, {
10707
10707
  label: i.filters.label,
10708
10708
  icon: ac,
10709
10709
  variant: "ghost",
@@ -10728,7 +10728,7 @@ function bg({ filters: e, value: t, onChange: n, onOpenChange: r }) {
10728
10728
  ")"
10729
10729
  ]
10730
10730
  }) : null,
10731
- /* @__PURE__ */ X(Gn, {
10731
+ /* @__PURE__ */ X(Hn, {
10732
10732
  ref: o,
10733
10733
  "aria-label": i.filters.label,
10734
10734
  className: "w-[380px] max-w-[calc(100vw-1rem)] rounded-xl border border-solid border-f1-border-secondary p-0 shadow-md",
@@ -10740,7 +10740,7 @@ function bg({ filters: e, value: t, onChange: n, onOpenChange: r }) {
10740
10740
  className: "flex h-[420px] flex-col",
10741
10741
  children: [/* @__PURE__ */ X("div", {
10742
10742
  className: "flex shrink-0 items-center gap-2 py-1.5 pl-1.5 pr-3",
10743
- children: g ? /* @__PURE__ */ Z(Y, { children: [/* @__PURE__ */ X(R, {
10743
+ children: g ? /* @__PURE__ */ Z(Y, { children: [/* @__PURE__ */ X(z, {
10744
10744
  label: i.filters.availableFilters,
10745
10745
  icon: cs,
10746
10746
  hideLabel: !0,
@@ -10772,7 +10772,7 @@ function bg({ filters: e, value: t, onChange: n, onOpenChange: r }) {
10772
10772
  })
10773
10773
  }), /* @__PURE__ */ X("div", {
10774
10774
  className: "flex shrink-0 items-center justify-end gap-2 border-0 border-t border-solid border-f1-border-secondary p-2",
10775
- children: /* @__PURE__ */ X(R, {
10775
+ children: /* @__PURE__ */ X(z, {
10776
10776
  onClick: w,
10777
10777
  label: i.filters.applySelection
10778
10778
  })
@@ -10837,7 +10837,7 @@ function Cg({ title: e, enabled: t, actionsCollapse: n }) {
10837
10837
  //#endregion
10838
10838
  //#region src/domains/platform/ai/analytics/F0AnalyticsDashboard/components/DashboardItem/DashboardItem.tsx
10839
10839
  function wg({ 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: g, chartTypeOptions: _, explanation: v, isFullscreen: y = !1, descriptionAction: b, headerLines: x = 2, fitContent: S = !1, onFullscreenChange: C }) {
10840
- let [w, T] = J(!1), [E, D] = J(!1), O = q(!1), [k, A] = J(!1), j = B(), { enabled: M, setPendingQuote: N, setOpen: P, focusChatInput: F } = yo(), I = (e) => {
10840
+ let [w, T] = J(!1), [E, D] = J(!1), O = q(!1), [k, A] = J(!1), j = V(), { enabled: M, setPendingQuote: N, setOpen: P, focusChatInput: F } = ma(), I = (e) => {
10841
10841
  T(e), e || A(!1);
10842
10842
  }, ee = c.filter((e) => !("type" in e) || e.type === "item" || e.type === void 0), te = ee.length > 0, L = u && f && g, ne = _ && _.length > 0, re = !!v && v.trim().length > 0, ie = !!C, ae = !d && e.trim().length > 0 && (p ? !!g : M), oe = ae || te || L || ne || re, se = !!l || ie || !!oe, ce = !y && (w || E), le = H("flex flex-shrink-0 gap-0.5", !y && "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", ce && "delay-0 !opacity-100"), ue = H("-my-2 -mr-0.5 isolate grid flex-shrink-0", !y && "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]", ce && "delay-0 !grid-cols-[1fr]"), de = Cg({
10843
10843
  title: e,
@@ -10861,11 +10861,11 @@ function wg({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
10861
10861
  }), N(t), P(!0);
10862
10862
  }, he = (e) => {
10863
10863
  O.current && (O.current = !1, F() && e.preventDefault());
10864
- }, ge = ae ? /* @__PURE__ */ X(bn, { children: /* @__PURE__ */ X(Sn, {
10864
+ }, ge = ae ? /* @__PURE__ */ X(xn, { children: /* @__PURE__ */ X(Cn, {
10865
10865
  onClick: me,
10866
10866
  children: /* @__PURE__ */ Z("div", {
10867
10867
  className: "flex w-full flex-row items-center gap-2",
10868
- children: [/* @__PURE__ */ X(V, { icon: Di }), /* @__PURE__ */ X("span", {
10868
+ children: [/* @__PURE__ */ X(B, { icon: _o }), /* @__PURE__ */ X("span", {
10869
10869
  className: "flex-1",
10870
10870
  children: j.ai.dashboardItem.askOne
10871
10871
  })]
@@ -10895,14 +10895,14 @@ function wg({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
10895
10895
  children: [l ? /* @__PURE__ */ X(bg, {
10896
10896
  ...l,
10897
10897
  onOpenChange: D
10898
- }) : null, ae ? /* @__PURE__ */ Z(mn, {
10898
+ }) : null, ae ? /* @__PURE__ */ Z(pn, {
10899
10899
  open: w,
10900
10900
  onOpenChange: I,
10901
- children: [/* @__PURE__ */ X(kn, {
10901
+ children: [/* @__PURE__ */ X(En, {
10902
10902
  asChild: !0,
10903
- children: /* @__PURE__ */ X(ir, {
10903
+ children: /* @__PURE__ */ X(or, {
10904
10904
  label: j.actions.other,
10905
- icon: Ni,
10905
+ icon: Pi,
10906
10906
  variant: "ghost",
10907
10907
  size: "md",
10908
10908
  hideLabel: !0,
@@ -10910,7 +10910,7 @@ function wg({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
10910
10910
  compact: !0,
10911
10911
  onClick: (e) => e.stopPropagation()
10912
10912
  })
10913
- }), /* @__PURE__ */ X(qn, {
10913
+ }), /* @__PURE__ */ X(Wn, {
10914
10914
  align: "end",
10915
10915
  className: "py-1",
10916
10916
  onCloseAutoFocus: he,
@@ -10944,7 +10944,7 @@ function wg({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
10944
10944
  alignItems: fe > 1 ? "start" : "center",
10945
10945
  children: [/* @__PURE__ */ Z("div", {
10946
10946
  className: H("flex min-w-0 flex-1 gap-1", fe > 1 ? "items-start" : "items-center"),
10947
- children: [/* @__PURE__ */ X(On, {
10947
+ children: [/* @__PURE__ */ X(sr, {
10948
10948
  tag: "h3",
10949
10949
  lines: fe,
10950
10950
  className: H("text-base font-semibold text-f1-foreground", fe > 1 && "hyphens-auto"),
@@ -10966,23 +10966,23 @@ function wg({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
10966
10966
  ...l,
10967
10967
  onOpenChange: D
10968
10968
  }) : null,
10969
- ie ? /* @__PURE__ */ X(ir, {
10969
+ ie ? /* @__PURE__ */ X(or, {
10970
10970
  label: y ? j.actions.collapse : j.actions.expand,
10971
- icon: y ? va : ka,
10971
+ icon: y ? Ui : ka,
10972
10972
  variant: "ghost",
10973
10973
  size: "md",
10974
10974
  hideLabel: !0,
10975
10975
  compact: !0,
10976
10976
  onClick: () => C?.(!y)
10977
10977
  }) : null,
10978
- oe ? /* @__PURE__ */ Z(mn, {
10978
+ oe ? /* @__PURE__ */ Z(pn, {
10979
10979
  open: w,
10980
10980
  onOpenChange: I,
10981
- children: [/* @__PURE__ */ X(kn, {
10981
+ children: [/* @__PURE__ */ X(En, {
10982
10982
  asChild: !0,
10983
- children: /* @__PURE__ */ X(ir, {
10983
+ children: /* @__PURE__ */ X(or, {
10984
10984
  label: j.actions.other,
10985
- icon: Ni,
10985
+ icon: Pi,
10986
10986
  variant: "ghost",
10987
10987
  size: "md",
10988
10988
  hideLabel: !0,
@@ -10990,20 +10990,20 @@ function wg({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
10990
10990
  compact: !0,
10991
10991
  onClick: (e) => e.stopPropagation()
10992
10992
  })
10993
- }), /* @__PURE__ */ X(qn, {
10993
+ }), /* @__PURE__ */ X(Wn, {
10994
10994
  align: "end",
10995
10995
  className: H("py-1", k && "w-96 max-w-[90vw]"),
10996
10996
  onCloseAutoFocus: he,
10997
10997
  children: k && re ? /* @__PURE__ */ X("div", {
10998
10998
  className: "px-3 py-2 text-base text-f1-foreground [&>div]:flex [&>div]:flex-col [&>div]:gap-2",
10999
- children: /* @__PURE__ */ X($a, {
10999
+ children: /* @__PURE__ */ X(no, {
11000
11000
  content: v,
11001
11001
  format: "markdown"
11002
11002
  })
11003
11003
  }) : /* @__PURE__ */ Z(Y, { children: [
11004
11004
  ne ? /* @__PURE__ */ Z("div", {
11005
11005
  className: "mb-1 flex flex-col items-start gap-2 border-0 border-b border-solid border-f1-border-secondary p-3",
11006
- children: [/* @__PURE__ */ X(On, {
11006
+ children: [/* @__PURE__ */ X(sr, {
11007
11007
  className: "text-base font-medium text-f1-foreground-tertiary",
11008
11008
  children: j.ai.dashboardItem.chartType
11009
11009
  }), /* @__PURE__ */ X(Ot, {
@@ -11022,46 +11022,46 @@ function wg({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
11022
11022
  fullWidth: !0
11023
11023
  })]
11024
11024
  }) : null,
11025
- re ? /* @__PURE__ */ X(bn, { children: /* @__PURE__ */ X(Sn, {
11025
+ re ? /* @__PURE__ */ X(xn, { children: /* @__PURE__ */ X(Cn, {
11026
11026
  onSelect: (e) => {
11027
11027
  e.preventDefault(), A(!0);
11028
11028
  },
11029
11029
  children: /* @__PURE__ */ Z("div", {
11030
11030
  className: "flex w-full flex-row items-center gap-2",
11031
- children: [/* @__PURE__ */ X(V, { icon: Ws }), /* @__PURE__ */ X("span", {
11031
+ children: [/* @__PURE__ */ X(B, { icon: Ws }), /* @__PURE__ */ X("span", {
11032
11032
  className: "flex-1",
11033
11033
  children: j.ai.dashboardItem.dataExplanation
11034
11034
  })]
11035
11035
  })
11036
11036
  }) }) : null,
11037
11037
  ge,
11038
- te ? /* @__PURE__ */ X(bn, { children: /* @__PURE__ */ Z(sr, { children: [/* @__PURE__ */ X(An, {
11038
+ te ? /* @__PURE__ */ X(xn, { children: /* @__PURE__ */ Z(cr, { children: [/* @__PURE__ */ X(Dn, {
11039
11039
  className: "mx-1 rounded-sm px-2",
11040
11040
  children: /* @__PURE__ */ Z("div", {
11041
11041
  className: "flex w-full flex-row items-center gap-2 pr-2",
11042
- children: [/* @__PURE__ */ X(V, { icon: Qa }), /* @__PURE__ */ X("span", {
11042
+ children: [/* @__PURE__ */ X(B, { icon: ca }), /* @__PURE__ */ X("span", {
11043
11043
  className: "flex-1 text-base font-medium",
11044
11044
  children: j.ai.dataDownload.title
11045
11045
  })]
11046
11046
  })
11047
- }), /* @__PURE__ */ X(vn, { children: /* @__PURE__ */ X(gn, { children: ee.map((e) => /* @__PURE__ */ X(Sn, {
11047
+ }), /* @__PURE__ */ X(_n, { children: /* @__PURE__ */ X(hn, { children: ee.map((e) => /* @__PURE__ */ X(Cn, {
11048
11048
  onClick: e.onClick,
11049
11049
  children: /* @__PURE__ */ Z("div", {
11050
11050
  className: "flex w-full flex-row items-center gap-2",
11051
- children: [e.icon ? /* @__PURE__ */ X(V, { icon: e.icon }) : null, /* @__PURE__ */ X("span", {
11051
+ children: [e.icon ? /* @__PURE__ */ X(B, { icon: e.icon }) : null, /* @__PURE__ */ X("span", {
11052
11052
  className: "flex-1",
11053
11053
  children: e.label
11054
11054
  })]
11055
11055
  })
11056
11056
  }, e.label)) }) })] }) }) : null,
11057
- L ? /* @__PURE__ */ X(bn, { children: /* @__PURE__ */ X(Sn, {
11057
+ L ? /* @__PURE__ */ X(xn, { children: /* @__PURE__ */ X(Cn, {
11058
11058
  onClick: () => {
11059
11059
  y && C?.(!1), f(g);
11060
11060
  },
11061
11061
  className: H("text-f1-foreground-critical"),
11062
11062
  children: /* @__PURE__ */ Z("div", {
11063
11063
  className: "flex w-full flex-row items-center gap-2",
11064
- children: [/* @__PURE__ */ X(V, { icon: oa }), /* @__PURE__ */ X("span", {
11064
+ children: [/* @__PURE__ */ X(B, { icon: na }), /* @__PURE__ */ X("span", {
11065
11065
  className: "flex-1",
11066
11066
  children: j.actions.delete
11067
11067
  })]
@@ -11076,7 +11076,7 @@ function wg({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
11076
11076
  }) : null]
11077
11077
  }), t || b ? /* @__PURE__ */ Z("div", {
11078
11078
  className: "relative flex items-baseline gap-1",
11079
- children: [t ? /* @__PURE__ */ X(On, {
11079
+ children: [t ? /* @__PURE__ */ X(sr, {
11080
11080
  lines: pe,
11081
11081
  className: "text-base text-f1-foreground-secondary",
11082
11082
  children: t
@@ -11101,7 +11101,7 @@ function wg({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
11101
11101
  //#region src/domains/platform/ai/analytics/F0AnalyticsDashboard/components/ChartItem/PointActionPopover.tsx
11102
11102
  var Tg = 8, Eg = 8;
11103
11103
  function Dg({ anchor: e, onAsk: t, onDismiss: n, returnFocusTo: r }) {
11104
- let i = B(), a = q(null), [o, s] = J(null);
11104
+ let i = V(), a = q(null), [o, s] = J(null);
11105
11105
  return jc(() => {
11106
11106
  if (!e) {
11107
11107
  s(null);
@@ -11148,11 +11148,11 @@ function Dg({ anchor: e, onAsk: t, onDismiss: n, returnFocusTo: r }) {
11148
11148
  visibility: o ? "visible" : "hidden"
11149
11149
  },
11150
11150
  className: H("z-50 rounded-md bg-f1-background p-1 border border-solid border-f1-border-secondary", "drop-shadow"),
11151
- children: /* @__PURE__ */ X(ir, {
11151
+ children: /* @__PURE__ */ X(or, {
11152
11152
  type: "button",
11153
11153
  variant: "ghost",
11154
11154
  label: i.ai.dashboardItem.askOne,
11155
- icon: Di,
11155
+ icon: _o,
11156
11156
  onClick: t
11157
11157
  })
11158
11158
  }), document.body);
@@ -11195,39 +11195,39 @@ function Ig(e) {
11195
11195
  {
11196
11196
  label: e.dataChart.barChartVertical,
11197
11197
  value: "bar-vertical",
11198
- icon: Vi,
11198
+ icon: Sa,
11199
11199
  type: "bar",
11200
11200
  orientation: "vertical"
11201
11201
  },
11202
11202
  {
11203
11203
  label: e.dataChart.barChartHorizontal,
11204
11204
  value: "bar-horizontal",
11205
- icon: zi,
11205
+ icon: Ta,
11206
11206
  type: "bar",
11207
11207
  orientation: "horizontal"
11208
11208
  },
11209
11209
  {
11210
11210
  label: e.dataChart.lineChart,
11211
11211
  value: "line",
11212
- icon: Da,
11212
+ icon: ba,
11213
11213
  type: "line"
11214
11214
  },
11215
11215
  {
11216
11216
  label: e.dataChart.funnel,
11217
11217
  value: "funnel",
11218
- icon: Xi,
11218
+ icon: Bi,
11219
11219
  type: "funnel"
11220
11220
  },
11221
11221
  {
11222
11222
  label: e.dataChart.pieChart,
11223
11223
  value: "pie",
11224
- icon: ba,
11224
+ icon: Gi,
11225
11225
  type: "pie"
11226
11226
  },
11227
11227
  {
11228
11228
  label: e.dataChart.table,
11229
11229
  value: "table",
11230
- icon: ro,
11230
+ icon: Na,
11231
11231
  type: "table"
11232
11232
  }
11233
11233
  ];
@@ -11395,7 +11395,7 @@ function Ug(e) {
11395
11395
  return Rh(e.chart) && e.chart.type === "bar" && "orientation" in e.chart && e.chart.orientation === "horizontal";
11396
11396
  }
11397
11397
  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 }) {
11398
- let f = B(), [p, m] = J("chart"), { enabled: h, setPendingQuote: g, setOpen: _, focusChatInput: v } = yo(), y = !Rh(e.chart), b = y ? Lg : e.chart, [x, S] = J(null), C = e.useDashboardFilters !== !1, w = JSON.stringify(r?.value ?? {}), { data: T, isLoading: E, error: D, retry: O } = yg(e.fetchData, t, C, w), k = q(null), A = K(() => T && !y ? Bg(e, T) : void 0, [
11398
+ let f = V(), [p, m] = J("chart"), { enabled: h, setPendingQuote: g, setOpen: _, focusChatInput: v } = ma(), y = !Rh(e.chart), b = y ? Lg : e.chart, [x, S] = J(null), C = e.useDashboardFilters !== !1, w = JSON.stringify(r?.value ?? {}), { data: T, isLoading: E, error: D, retry: O } = yg(e.fetchData, t, C, w), k = q(null), A = K(() => T && !y ? Bg(e, T) : void 0, [
11399
11399
  e,
11400
11400
  T,
11401
11401
  y
@@ -11595,7 +11595,7 @@ function Zg(e, t) {
11595
11595
  return o;
11596
11596
  }
11597
11597
  function Qg({ source: e, title: t, description: n, columns: r, tableSettings: i }) {
11598
- let { t: a } = B(), [o, s] = J(!1), c = W(async (a) => {
11598
+ let { t: a } = V(), [o, s] = J(!1), c = W(async (a) => {
11599
11599
  if (e && !o) {
11600
11600
  s(!0);
11601
11601
  try {
@@ -11620,11 +11620,11 @@ function Qg({ source: e, title: t, description: n, columns: r, tableSettings: i
11620
11620
  ]), l = W(() => c("excel"), [c]), u = W(() => c("csv"), [c]);
11621
11621
  return K(() => e ? [{
11622
11622
  label: a("ai.dataDownload.download", { format: "Excel" }),
11623
- icon: ro,
11623
+ icon: Na,
11624
11624
  onClick: l
11625
11625
  }, {
11626
11626
  label: a("ai.dataDownload.download", { format: "CSV" }),
11627
- icon: ro,
11627
+ icon: Na,
11628
11628
  onClick: u
11629
11629
  }] : [], [
11630
11630
  e,
@@ -11678,7 +11678,7 @@ function $g({ item: e, filters: t, actions: n, itemFilters: r, editMode: i, read
11678
11678
  function e_() {
11679
11679
  return /* @__PURE__ */ Z("div", {
11680
11680
  className: "flex h-full items-end gap-3 px-4 pb-4",
11681
- children: [/* @__PURE__ */ X(Hn, { className: "h-10 w-36 rounded" }), /* @__PURE__ */ X(Hn, { className: "h-4 w-16 rounded" })]
11681
+ children: [/* @__PURE__ */ X(qn, { className: "h-10 w-36 rounded" }), /* @__PURE__ */ X(qn, { className: "h-4 w-16 rounded" })]
11682
11682
  });
11683
11683
  }
11684
11684
  //#endregion
@@ -11744,12 +11744,12 @@ function r_({ value: e, trend: t, comparison: n }) {
11744
11744
  }), t && t.direction !== "flat" ? /* @__PURE__ */ Z("div", {
11745
11745
  className: "flex shrink-0 items-center",
11746
11746
  children: [
11747
- t.direction === "up" ? /* @__PURE__ */ X(V, {
11747
+ t.direction === "up" ? /* @__PURE__ */ X(B, {
11748
11748
  icon: Is,
11749
11749
  color: "positive",
11750
11750
  size: "sm",
11751
11751
  "aria-hidden": "true"
11752
- }) : /* @__PURE__ */ X(V, {
11752
+ }) : /* @__PURE__ */ X(B, {
11753
11753
  icon: us,
11754
11754
  color: "critical",
11755
11755
  size: "sm",
@@ -11952,7 +11952,7 @@ function p_({ items: e, itemFilters: t, filters: n, editMode: r, readOnly: i, on
11952
11952
  if (Math.hypot(t.clientX - n, t.clientY - r) < c_) return;
11953
11953
  i = !0, T(e), N.current = Array.from(document.querySelectorAll("[data-ai-chat-dropzone]"));
11954
11954
  let a = k.current.get(e)?.title ?? "";
11955
- a && window.dispatchEvent(new CustomEvent(Xa, { detail: {
11955
+ a && window.dispatchEvent(new CustomEvent(oa, { detail: {
11956
11956
  id: e,
11957
11957
  title: a,
11958
11958
  onAskAi: c,
@@ -11966,7 +11966,7 @@ function p_({ items: e, itemFilters: t, filters: n, editMode: r, readOnly: i, on
11966
11966
  }, o = (e) => {
11967
11967
  document.removeEventListener("pointermove", a), document.removeEventListener("pointerup", s), document.removeEventListener("pointercancel", u), P.current = null;
11968
11968
  let t = A.current, n = j.current;
11969
- e && i && t && n && F(t, n), A.current = null, j.current = null, N.current = [], T(null), D(null), i && window.dispatchEvent(new CustomEvent(ca));
11969
+ e && i && t && n && F(t, n), A.current = null, j.current = null, N.current = [], T(null), D(null), i && window.dispatchEvent(new CustomEvent(ji));
11970
11970
  }, s = (e) => {
11971
11971
  i && (N.current = Array.from(document.querySelectorAll("[data-ai-chat-dropzone]")), j.current = I(e.clientX, e.clientY)), o(!0);
11972
11972
  }, u = () => o(!1);
@@ -12143,8 +12143,8 @@ function m_({ id: e, isDragging: t, showIndicatorBefore: n, showIndicatorAfter:
12143
12143
  onPointerDown: (t) => a(e, t),
12144
12144
  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",
12145
12145
  "aria-label": "Drag to reorder",
12146
- children: /* @__PURE__ */ X(V, {
12147
- icon: Ua,
12146
+ children: /* @__PURE__ */ X(B, {
12147
+ icon: Ra,
12148
12148
  size: "xs"
12149
12149
  })
12150
12150
  }) : null, s]
@@ -12313,14 +12313,14 @@ function O_({ item: e, filters: t, actions: n, itemFilters: r, editMode: i, read
12313
12313
  //#endregion
12314
12314
  //#region src/domains/platform/ai/analytics/F0AnalyticsDashboard/components/ExportDropdown/ExportDropdown.tsx
12315
12315
  function k_({ onExportExcel: e, isExporting: t }) {
12316
- let { t: n } = B();
12317
- return /* @__PURE__ */ X(ho, {
12316
+ let { t: n } = V();
12317
+ return /* @__PURE__ */ X(Ma, {
12318
12318
  items: [{
12319
12319
  label: t ? n("ai.dataDownload.exporting") : n("ai.dataDownload.exportDashboard", { format: "Excel" }),
12320
- icon: Qa,
12320
+ icon: ca,
12321
12321
  onClick: t ? () => {} : e
12322
12322
  }],
12323
- icon: Ni
12323
+ icon: Pi
12324
12324
  });
12325
12325
  }
12326
12326
  //#endregion
@@ -12353,9 +12353,9 @@ function M_() {
12353
12353
  role: "status",
12354
12354
  "aria-label": "Loading filters",
12355
12355
  children: [
12356
- /* @__PURE__ */ X(Hn, { className: "h-8 w-24 rounded-md" }),
12357
- /* @__PURE__ */ X(Hn, { className: "h-8 w-20 rounded-md" }),
12358
- /* @__PURE__ */ X(Hn, { className: "h-8 w-20 rounded-md" })
12356
+ /* @__PURE__ */ X(qn, { className: "h-8 w-24 rounded-md" }),
12357
+ /* @__PURE__ */ X(qn, { className: "h-8 w-20 rounded-md" }),
12358
+ /* @__PURE__ */ X(qn, { className: "h-8 w-20 rounded-md" })
12359
12359
  ]
12360
12360
  });
12361
12361
  }
@@ -12471,7 +12471,7 @@ function L_({ items: e, filters: t, filename: n = "dashboard" }) {
12471
12471
  //#endregion
12472
12472
  //#region src/domains/platform/ai/analytics/F0AnalyticsDashboard/F0AnalyticsDashboard.tsx
12473
12473
  var R_ = ({ filters: e, presets: t, defaultFilters: n, filtersValue: r, onFiltersChange: i, items: a, itemFilters: o, editMode: s, readOnly: c = !1, onLayoutChange: l, enableExport: u, exportFilename: d, onExportReady: f, resetKey: p, onTransformChart: m, onAskAi: h, onAskAiTarget: g, navigationFilters: _, filtersLoading: v }) => {
12474
- let y = B(), [b = {}, x] = Wn({
12474
+ let y = V(), [b = {}, x] = $n({
12475
12475
  prop: r,
12476
12476
  defaultProp: n ?? {},
12477
12477
  onChange: i
@@ -12541,7 +12541,7 @@ var R_ = ({ filters: e, presets: t, defaultFilters: n, filtersValue: r, onFilter
12541
12541
  });
12542
12542
  };
12543
12543
  R_.displayName = "F0AnalyticsDashboard";
12544
- var z_ = Zn("F0AnalyticsDashboard", R_), B_ = () => _n("(min-width: 640px)", { initializeWithValue: !1 }), V_ = () => _n("(max-width: 639px)", { initializeWithValue: !1 }), H_ = /*#__PURE__*/ U.createContext(void 0);
12544
+ var z_ = tr("F0AnalyticsDashboard", R_), B_ = () => bn("(min-width: 640px)", { initializeWithValue: !1 }), V_ = () => bn("(max-width: 639px)", { initializeWithValue: !1 }), H_ = /*#__PURE__*/ U.createContext(void 0);
12545
12545
  process.env.NODE_ENV !== "production" && (H_.displayName = "ToastContext");
12546
12546
  function U_() {
12547
12547
  let e = U.useContext(H_);
@@ -13281,10 +13281,10 @@ function Cv() {
13281
13281
  //#endregion
13282
13282
  //#region src/elements/Toast/components/ToastCloseButton.tsx
13283
13283
  var wv = ({ onClose: e }) => {
13284
- let t = B();
13284
+ let t = V();
13285
13285
  return /* @__PURE__ */ X("div", {
13286
13286
  className: "dark flex-shrink-0",
13287
- children: /* @__PURE__ */ X(R, {
13287
+ children: /* @__PURE__ */ X(z, {
13288
13288
  variant: "outline",
13289
13289
  icon: Fr,
13290
13290
  size: "sm",
@@ -13303,11 +13303,11 @@ var wv = ({ onClose: e }) => {
13303
13303
  className: "dark flex flex-shrink-0 flex-row flex-wrap items-center gap-3",
13304
13304
  children: [e.map((e) => /* @__PURE__ */ X("div", {
13305
13305
  onClick: () => n(e),
13306
- children: /* @__PURE__ */ X(Yi, {
13306
+ children: /* @__PURE__ */ X(zi, {
13307
13307
  href: e.href,
13308
13308
  children: e.label
13309
13309
  })
13310
- }, `link-${e.label}`)), t.map((e) => /* @__PURE__ */ X(R, {
13310
+ }, `link-${e.label}`)), t.map((e) => /* @__PURE__ */ X(z, {
13311
13311
  label: e.label,
13312
13312
  icon: e.icon,
13313
13313
  variant: "outline",
@@ -13334,7 +13334,7 @@ var wv = ({ onClose: e }) => {
13334
13334
  children: t
13335
13335
  }),
13336
13336
  inStack: !1
13337
- }), kv = () => Oc(Ov), Av = (e) => H("pointer-events-auto relative flex w-full flex-col gap-3 overflow-hidden rounded-lg p-3", !e && "bg-f1-background-inverse dark:bg-f1-background-tertiary"), jv = nr({
13337
+ }), kv = () => Oc(Ov), Av = (e) => H("pointer-events-auto relative flex w-full flex-col gap-3 overflow-hidden rounded-lg p-3", !e && "bg-f1-background-inverse dark:bg-f1-background-tertiary"), jv = Bn({
13338
13338
  base: "text-base font-medium text-f1-foreground-inverse",
13339
13339
  variants: { hasIcon: {
13340
13340
  true: "pt-[3px]",
@@ -13371,7 +13371,7 @@ var wv = ({ onClose: e }) => {
13371
13371
  }) : g && /* @__PURE__ */ X("div", {
13372
13372
  className: "flex-shrink-0",
13373
13373
  "aria-hidden": "true",
13374
- children: /* @__PURE__ */ X(Ia, {
13374
+ children: /* @__PURE__ */ X(Ha, {
13375
13375
  type: g,
13376
13376
  size: "sm"
13377
13377
  })
@@ -13410,7 +13410,7 @@ Fv.displayName = "F0Toast";
13410
13410
  //#endregion
13411
13411
  //#region src/elements/Toast/F0MessageToast.tsx
13412
13412
  var Iv = (e) => e instanceof Element && e.closest("button, a") !== null, Lv = Tc(({ avatar: e, sender: t, topic: n, message: r, moreCount: i = 0, onClick: a, duration: o, onClose: s, countdownKey: c, contentKey: l }, u) => {
13413
- let d = B(), { Title: f, Description: p, inStack: m } = kv(), h = () => {
13413
+ let d = V(), { Title: f, Description: p, inStack: m } = kv(), h = () => {
13414
13414
  a?.(), s?.();
13415
13415
  }, g = o != null && o > 0;
13416
13416
  return /* @__PURE__ */ Z("div", {
@@ -13552,10 +13552,10 @@ var Rv = H("group/toast pointer-events-auto absolute bottom-0 left-0 right-0 fle
13552
13552
  expanded: n + (e.length > 1 ? Jv : 0)
13553
13553
  };
13554
13554
  }, Qv = ({ onClear: e }) => {
13555
- let t = B(), { close: n } = Cv();
13555
+ let t = V(), { close: n } = Cv();
13556
13556
  return /* @__PURE__ */ X("div", {
13557
13557
  className: H("pointer-events-auto absolute right-0 flex h-[var(--clear-all-row)] items-start justify-end", "bottom-[calc(var(--stack-expanded-height)_-_var(--clear-all-row))]", "invisible opacity-0 [transform:translateY(calc(var(--stack-expanded-height)_-_var(--stack-collapsed-height)))]", "group-data-[expanded]/toasts:visible group-data-[expanded]/toasts:opacity-100 group-data-[expanded]/toasts:[transform:none]", "[transition:transform_0.5s_cubic-bezier(0.22,1,0.36,1),opacity_0.5s_cubic-bezier(0.22,1,0.36,1),visibility_0.5s]", "motion-reduce:[transition:opacity_0.2s,visibility_0.2s]"),
13558
- children: /* @__PURE__ */ X(R, {
13558
+ children: /* @__PURE__ */ X(z, {
13559
13559
  variant: "outline",
13560
13560
  size: "sm",
13561
13561
  label: t.toasts.clearAll,
@@ -13602,7 +13602,7 @@ var Rv = H("group/toast pointer-events-auto absolute bottom-0 left-0 right-0 fle
13602
13602
  });
13603
13603
  }, ty = "#content", ny = (e) => {
13604
13604
  let [t, n] = J({ inset: 0 });
13605
- return cr(function() {
13605
+ return vn(function() {
13606
13606
  if (!e || typeof document > "u") return;
13607
13607
  let t = document.querySelector(ty);
13608
13608
  if (!t) {
@@ -13633,7 +13633,7 @@ var Rv = H("group/toast pointer-events-auto absolute bottom-0 left-0 right-0 fle
13633
13633
  };
13634
13634
  }, []), e;
13635
13635
  }, iy = Infinity, ay = ({ messages: e, app: t }) => {
13636
- let [n, r] = J(!1), [i, a] = J(!1), o = ny(n || i), s = ry(), c = B();
13636
+ let [n, r] = J(!1), [i, a] = J(!1), o = ny(n || i), s = ry(), c = V();
13637
13637
  return /* @__PURE__ */ X("div", {
13638
13638
  className: "pointer-events-none fixed z-[100] flex flex-col-reverse items-center overflow-y-auto overflow-x-hidden py-6",
13639
13639
  style: o,
@@ -13684,18 +13684,18 @@ var Rv = H("group/toast pointer-events-auto absolute bottom-0 left-0 right-0 fle
13684
13684
  }) }, c), o) : null, e] });
13685
13685
  }, sy = ({ children: e, link: t, privacyModeInitiallyEnabled: n, image: r, i18n: i, l10n: a, hourCycle: o, isDev: s = !1, showExperimentalWarnings: c = !1, renderDataTestIdAttribute: l = !1 }) => /* @__PURE__ */ X(at, {
13686
13686
  reducedMotion: "user",
13687
- children: /* @__PURE__ */ X(Yn, {
13687
+ children: /* @__PURE__ */ X(Qn, {
13688
13688
  isDev: s,
13689
13689
  showExperimentalWarnings: c,
13690
13690
  renderDataTestIdAttribute: l,
13691
13691
  hourCycle: o,
13692
13692
  children: /* @__PURE__ */ X(Qs, {
13693
13693
  ...a,
13694
- children: /* @__PURE__ */ X(Kn, {
13694
+ children: /* @__PURE__ */ X(ir, {
13695
13695
  ...i,
13696
- children: /* @__PURE__ */ X(Xn, {
13696
+ children: /* @__PURE__ */ X(Ln, {
13697
13697
  ...t,
13698
- children: /* @__PURE__ */ X(tr, { children: /* @__PURE__ */ X(St, {
13698
+ children: /* @__PURE__ */ X(nr, { children: /* @__PURE__ */ X(St, {
13699
13699
  initiallyEnabled: n,
13700
13700
  children: /* @__PURE__ */ X(Eo, {
13701
13701
  ...r,
@@ -13708,7 +13708,7 @@ var Rv = H("group/toast pointer-events-auto absolute bottom-0 left-0 right-0 fle
13708
13708
  })
13709
13709
  }), cy = wc(null), ly = ({ children: e, fullScreen: t = !0 }) => {
13710
13710
  let n = q(null), [r, i] = J(n.current);
13711
- return cr(() => {
13711
+ return vn(() => {
13712
13712
  i(n.current);
13713
13713
  }, []), /* @__PURE__ */ X(cy.Provider, {
13714
13714
  value: { element: r },
@@ -13734,7 +13734,7 @@ var Rv = H("group/toast pointer-events-auto absolute bottom-0 left-0 right-0 fle
13734
13734
  renderDataTestIdAttribute: d,
13735
13735
  children: /* @__PURE__ */ X(ly, {
13736
13736
  ...t,
13737
- children: /* @__PURE__ */ X(ji, {
13737
+ children: /* @__PURE__ */ X(ga, {
13738
13738
  handler: l,
13739
13739
  children: /* @__PURE__ */ X(Br, { children: /* @__PURE__ */ X(lt, {
13740
13740
  ...p,
@@ -13753,4 +13753,4 @@ var Rv = H("group/toast pointer-events-auto absolute bottom-0 left-0 right-0 fle
13753
13753
  })
13754
13754
  });
13755
13755
  //#endregion
13756
- export { $r as AiChatTranslationsProvider, Xt as AreaChart, dc as Await, cn as BarChart, yt as BarChartSkeleton, t as CardSelectableContainer, ze as CategoryBarChart, da as ChatSpinner, qo as Chip, di as CollapsibleGroup, rn as ComboChart, ct as DATA_COLLECTION_URL_PARAMS, rt as DATA_COLLECTION_URL_PARAM_PREFIX, Ll as Dashboard, Pe as DataChartEmptyStateView, $n as DataTestIdWrapper, vt as DndProvider, ea as DropOverlay, xn as EmojiImage, Md as F0Accordion, wt as F0ActionBar, sa as F0ActionItem, Pi as F0AiChat, ei as F0AiChatCreditsButton, ci as F0AiChatHeader, ai as F0AiChatHistory, Mi as F0AiChatProvider, Vr as F0AiChatTextArea, Ur as F0AiChatUsageLimitsButton, Xr as F0AiFileAttachments, po as F0AiFilePreviewsProvider, Wi as F0AiFormRegistryProvider, li as F0AiInsightCard, Zr as F0AiMask, ti as F0AiMessageSources, Rr as F0AiMessagesContainer, Ti as F0AiPong, hi as F0AiProcessingOverlay, ni as F0AiProposalCard, gi as F0AiTableCard, un as F0Alert, z_ as F0AnalyticsDashboard, Td as F0AudioPlayer, Ed as F0AudioPlayerCard, ri as F0AuraVoiceAnimation, Uo as F0Avatar, Ia as F0AvatarAlert, Lo as F0AvatarCompany, co as F0AvatarDate, Do as F0AvatarEmoji, Co as F0AvatarFile, So as F0AvatarIcon, Ro as F0AvatarList, wo as F0AvatarModule, Oo as F0AvatarPerson, Ho as F0AvatarTeam, au as F0BigNumber, kh as F0BookAMeetingCard, ko as F0Box, R as F0Button, Ma as F0ButtonDropdown, cc as F0ButtonToggle, si as F0CanvasCard, uo as F0CanvasPanel, Ui as F0Card, ia as F0CardRow, xa as F0ChatComposer, Ds as F0Checkbox, Id as F0ChipList, _i as F0ClarifyingPanel, dt as F0DataChart, _e as F0DatePicker, i as F0DatePickerInline, Th as F0DemoCard, Ka as F0Dialog, m as F0DialogAlikeContext, S as F0DialogAlikeProvider, is as F0DialogContext, Xs as F0DialogProvider, bc as F0DocumentViewer, Wd as F0Drawer, ht as F0DurationInput, oc as F0EventCatcherProvider, Dh as F0FAQCard, Ei as F0FileItem, qd as F0FilterPickerContent, fe as F0Form, cf as F0FormField, Dl as F0GridStack, ii as F0HILActionConfirmation, Qt as F0Heading, V as F0Icon, Yi as F0Link, Oh as F0ModuleCard, on as F0NotesTextEditor, Le as F0NotesTextEditorSkeleton, u as F0NumberInput, f as F0NumberInputInline, la as F0OneIcon, eo as F0OneSwitch, yc as F0PdfViewer, fy as F0Provider, Ah as F0QuestionCardMultiStep, $a as F0RichTextDisplay, ft as F0RichTextEditor, Us as F0SearchInput, tc as F0Select, n as F0SelectInline, Yf as F0Slider, lp as F0TableOfContentPopover, fs as F0TagAlert, $o as F0TagBalance, hs as F0TagCompany, ds as F0TagDot, Ys as F0TagList, ls as F0TagPerson, Rs as F0TagRaw, Jo as F0TagStatus, Ls as F0TagTeam, Ir as F0Text, $t as F0TextAreaInput, s as F0TextAreaInputInline, Gi as F0TextInput, le as F0TextInputInline, o as F0TimelineRow, _c as F0VideoPlayer, jf as F0WizardForm, Ns as F1SearchBox, P as FILE_TYPES, Ya as FileItem, Br as FormCardValueFormatterProvider, Kt as FunnelChartSkeleton, No as GROUP_ID_SYMBOL, Vo as GROUP_KEY_SEPARATOR, qe as GaugeChartSkeleton, $e as HeatmapChartSkeleton, $l as HomeLayout, kt as InlineFieldRow, bt as InlineFieldRowList, ja as Input, Xl as Layout, ue as LineChart, At as LineChartSkeleton, Fe as MAX_URL_FILTER_VALUES, tn as NotesTextEditor, ce as NotesTextEditorSkeleton, ee as NumberInput, js as OneCalendar, Ss as OneCalendarInternal, On as OneEllipsis, h as OneEmptyState, Zs as OneFilterPicker, c as PieChart, xt as PieChartSkeleton, qa as PongBall, St as PrivacyModeProvider, fh as ProductBlankslate, et as ProductCard, hh as ProductModal, _h as ProductWidget, en as ProgressBarChart, me as RadarChart, st as RadarChartSkeleton, Wa as RichTextDisplay, M as RichTextEditor, nt as ScatterChartSkeleton, Zl as StandardLayout, Im as SurveyAllQuestionsLoadingSkeleton, rh as SurveyAnsweringForm, Om as SurveyFormBuilder, oh as SurveySampleQuestion, Lm as SurveySteppedLoadingSkeleton, Bs as Tag, Gs as TagCounter, pe as Textarea, mi as ThreadItem, Qr as ThreadListSkeleton, oy as ToastProvider, Ql as TwoColumnLayout, te as UPLOAD_INPUT_ID, j as UpsellRequestResponseDialog, bh as UpsellingAlert, Sh as UpsellingBanner, C as UpsellingButton, wh as UpsellingPopover, p as VerticalBarChart, Ts as WeekStartDay, It as actionBarStatuses, xi as actionItemStatuses, Ii as adaptDataAdapterToInfiniteScroll, Lr as aiChatFileFromShowFilesItem, oi as aiChatFileFromUploadedFile, Wr as aiChatFilesFromMessage, Gr as aiChatMessageText, Yr as aiTranslations, zd as alertVariantOptions, lu as audioPlayerSizes, eu as avatarVariants, Zt as buildDataCollectionUrlParams, Fn as buildTranslations, cu as buttonDropdownModes, su as buttonDropdownSizes, ou as buttonDropdownVariants, Nl as buttonSizes, Ce as buttonToggleColors, ke as buttonToggleSizes, re as buttonToggleVariants, Ml as buttonVariants, Nd as cardAlertVariants, pa as cardImageAspectRatios, bo as cardImageFits, ki as cardImageSizes, Ko as chartColorTokens, sc as chipVariants, mp as computeSectionEndIds, vc as configurePdfWorker, fi as contentTypes, Gt as createAtlaskitDriver, _s as createDataSourceDefinition, Zd as createF0FormDefinitionTester, Xd as createF0FormTester, Al as createPageLayoutBlock, jl as createPageLayoutBlockGroup, Hr as createPersonMentionSource, Bd as dataCollectionLocalStorageHandler, Ld as datePickerInlineDismissReasons, Rd as datepickerSizes, xo as defaultTranslations, $i as defineAvailableForm, Jd as describeFormSchema, O as dialog, O as dialogs, Nt as drawers, to as durationInputSizes, so as durationUnits, Yt as evaluateRenderIf, Zn as experimental, ra as f0FileItemSizes, Zi as f0FormField, Si as fieldsToSeconds, up as flattenElements, du as formatPlaybackTime, Lf as forms, tt as generateAnchorId, vs as getAnimationVariants, ga as getDataCollectionStorageKey, ys as getDataSourcePaginationType, Cn as getEmojiLabel, oo as getF0Config, ic as getGranularityDefinition, ks as getGranularityDefinitions, lc as getGranularitySimpleDefinition, sn as getSchemaDefinition, nc as granularityDefinitions, qi as hasF0Config, Na as inferFieldType, pp as injectSectionEnds, zo as isInfiniteScrollPagination, Bo as isPageBasedPagination, Aa as isZodType, Dd as linkVariants, qr as markdownRenderers, vo as mergeDataCollectionFilters, To as modules, Jr as oneIconSizes, ln as parseDataCollectionUrlParams, Rf as pdfScales, Te as predefinedPresets, ec as rangeSeparator, Ra as readDataCollectionStorage, fp as reconstructElements, _o as resolveDataCollectionFilters, Ks as resolveGranularityDefinition, w as resolveItemNeighbors, E as resolveWindowNeighbors, Ba as secondsToFields, fo as secondsToVisibleFields, zf as selectInlineDismissReasons, y as selectSizes, he as selectVariants, Be as setDataCollectionUrlParams, Bf as sliderTooltipModes, an as syncDataCollectionUrlParams, Zf as tagDotColors, Xf as timelineRowStatuses, Lt as toasts, fa as unwrapZodSchema, ui as usageLimitsPopoverSides, yo as useAiChat, yi as useAiChatTranslations, Ht as useAudioPlayer, bi as useCanvasEntity, pi as useChatHistory, Io as useData, es as useDataSource, g as useDataSourceItemNavigation, vu as useDerivedTranscription, Tt as useDndEvents, Rt as useDraggable, He as useDroppableList, Tn as useEmojiConfetti, ma as useF0AiFormRegistry, rs as useF0Dialog, k as useF0DialogAlikeContext, Qe as useF0Form, Ct as useF0FormDefinition, zr as useFormCardValueFormatter, dy as useFormComponent, ts as useGroups, B_ as useIsDesktop, V_ as useIsMobile, jt as useItemNeighbors, Pt as usePrivacyMode, yn as useReducedMotion, Re as useSchemaDefinition, Go as useSelectable, Kr as useSetFormCardValueFormatter, vi as useToolCallId, zn as useXRay, z as withDataTestId, de as writeDataCollectionStorage };
13756
+ export { $r as AiChatTranslationsProvider, Xt as AreaChart, dc as Await, cn as BarChart, yt as BarChartSkeleton, t as CardSelectableContainer, ze as CategoryBarChart, aa as ChatSpinner, qo as Chip, di as CollapsibleGroup, rn as ComboChart, ct as DATA_COLLECTION_URL_PARAMS, rt as DATA_COLLECTION_URL_PARAM_PREFIX, Ll as Dashboard, Pe as DataChartEmptyStateView, Un as DataTestIdWrapper, vt as DndProvider, Wa as DropOverlay, Kn as EmojiImage, Md as F0Accordion, wt as F0ActionBar, ra as F0ActionItem, _a as F0AiChat, ei as F0AiChatCreditsButton, ci as F0AiChatHeader, ai as F0AiChatHistory, Ni as F0AiChatProvider, Vr as F0AiChatTextArea, Ur as F0AiChatUsageLimitsButton, Xr as F0AiFileAttachments, Ba as F0AiFilePreviewsProvider, Li as F0AiFormRegistryProvider, li as F0AiInsightCard, Zr as F0AiMask, ti as F0AiMessageSources, Rr as F0AiMessagesContainer, Ja as F0AiPong, hi as F0AiProcessingOverlay, ni as F0AiProposalCard, gi as F0AiTableCard, un as F0Alert, z_ as F0AnalyticsDashboard, Td as F0AudioPlayer, Ed as F0AudioPlayerCard, ri as F0AuraVoiceAnimation, Uo as F0Avatar, Ha as F0AvatarAlert, Lo as F0AvatarCompany, eo as F0AvatarDate, Do as F0AvatarEmoji, Co as F0AvatarFile, So as F0AvatarIcon, Ro as F0AvatarList, wo as F0AvatarModule, Oo as F0AvatarPerson, Ho as F0AvatarTeam, au as F0BigNumber, kh as F0BookAMeetingCard, ko as F0Box, z as F0Button, Yi as F0ButtonDropdown, cc as F0ButtonToggle, si as F0CanvasCard, lo as F0CanvasPanel, Ii as F0Card, ea as F0CardRow, Di as F0ChatComposer, Ds as F0Checkbox, Id as F0ChipList, _i as F0ClarifyingPanel, dt as F0DataChart, _e as F0DatePicker, i as F0DatePickerInline, Th as F0DemoCard, so as F0Dialog, m as F0DialogAlikeContext, S as F0DialogAlikeProvider, is as F0DialogContext, Xs as F0DialogProvider, bc as F0DocumentViewer, Wd as F0Drawer, ht as F0DurationInput, oc as F0EventCatcherProvider, Dh as F0FAQCard, Ya as F0FileItem, qd as F0FilterPickerContent, fe as F0Form, cf as F0FormField, Dl as F0GridStack, ii as F0HILActionConfirmation, Qt as F0Heading, B as F0Icon, zi as F0Link, Oh as F0ModuleCard, on as F0NotesTextEditor, Le as F0NotesTextEditorSkeleton, u as F0NumberInput, f as F0NumberInputInline, Mi as F0OneIcon, Qa as F0OneSwitch, yc as F0PdfViewer, fy as F0Provider, Ah as F0QuestionCardMultiStep, no as F0RichTextDisplay, ft as F0RichTextEditor, Us as F0SearchInput, tc as F0Select, n as F0SelectInline, Yf as F0Slider, lp as F0TableOfContentPopover, fs as F0TagAlert, $o as F0TagBalance, hs as F0TagCompany, ds as F0TagDot, Ys as F0TagList, ls as F0TagPerson, Rs as F0TagRaw, Jo as F0TagStatus, Ls as F0TagTeam, Ir as F0Text, $t as F0TextAreaInput, s as F0TextAreaInputInline, ro as F0TextInput, le as F0TextInputInline, o as F0TimelineRow, _c as F0VideoPlayer, jf as F0WizardForm, Ns as F1SearchBox, P as FILE_TYPES, Ei as FileItem, Br as FormCardValueFormatterProvider, Kt as FunnelChartSkeleton, No as GROUP_ID_SYMBOL, Vo as GROUP_KEY_SEPARATOR, qe as GaugeChartSkeleton, $e as HeatmapChartSkeleton, $l as HomeLayout, kt as InlineFieldRow, bt as InlineFieldRowList, Ji as Input, Xl as Layout, ue as LineChart, At as LineChartSkeleton, Fe as MAX_URL_FILTER_VALUES, tn as NotesTextEditor, ce as NotesTextEditorSkeleton, ee as NumberInput, js as OneCalendar, Ss as OneCalendarInternal, sr as OneEllipsis, h as OneEmptyState, Zs as OneFilterPicker, c as PieChart, xt as PieChartSkeleton, wi as PongBall, St as PrivacyModeProvider, fh as ProductBlankslate, et as ProductCard, hh as ProductModal, _h as ProductWidget, en as ProgressBarChart, me as RadarChart, st as RadarChartSkeleton, Za as RichTextDisplay, M as RichTextEditor, nt as ScatterChartSkeleton, Zl as StandardLayout, Im as SurveyAllQuestionsLoadingSkeleton, rh as SurveyAnsweringForm, Om as SurveyFormBuilder, oh as SurveySampleQuestion, Lm as SurveySteppedLoadingSkeleton, Bs as Tag, Gs as TagCounter, pe as Textarea, mi as ThreadItem, Qr as ThreadListSkeleton, oy as ToastProvider, Ql as TwoColumnLayout, te as UPLOAD_INPUT_ID, j as UpsellRequestResponseDialog, bh as UpsellingAlert, Sh as UpsellingBanner, C as UpsellingButton, wh as UpsellingPopover, p as VerticalBarChart, Ts as WeekStartDay, It as actionBarStatuses, xi as actionItemStatuses, ua as adaptDataAdapterToInfiniteScroll, Lr as aiChatFileFromShowFilesItem, oi as aiChatFileFromUploadedFile, Wr as aiChatFilesFromMessage, Gr as aiChatMessageText, Yr as aiTranslations, zd as alertVariantOptions, lu as audioPlayerSizes, eu as avatarVariants, Zt as buildDataCollectionUrlParams, Yn as buildTranslations, cu as buttonDropdownModes, su as buttonDropdownSizes, ou as buttonDropdownVariants, Nl as buttonSizes, Ce as buttonToggleColors, ke as buttonToggleSizes, re as buttonToggleVariants, Ml as buttonVariants, Nd as cardAlertVariants, Qi as cardImageAspectRatios, ha as cardImageFits, yo as cardImageSizes, Ko as chartColorTokens, sc as chipVariants, mp as computeSectionEndIds, vc as configurePdfWorker, fi as contentTypes, Gt as createAtlaskitDriver, _s as createDataSourceDefinition, Zd as createF0FormDefinitionTester, Xd as createF0FormTester, Al as createPageLayoutBlock, jl as createPageLayoutBlockGroup, Hr as createPersonMentionSource, Bd as dataCollectionLocalStorageHandler, Ld as datePickerInlineDismissReasons, Rd as datepickerSizes, xo as defaultTranslations, qi as defineAvailableForm, Jd as describeFormSchema, O as dialog, O as dialogs, Nt as drawers, uo as durationInputSizes, $a as durationUnits, Yt as evaluateRenderIf, tr as experimental, qa as f0FileItemSizes, Vi as f0FormField, da as fieldsToSeconds, up as flattenElements, du as formatPlaybackTime, Lf as forms, tt as generateAnchorId, vs as getAnimationVariants, ho as getDataCollectionStorageKey, ys as getDataSourcePaginationType, mn as getEmojiLabel, Zi as getF0Config, ic as getGranularityDefinition, ks as getGranularityDefinitions, lc as getGranularitySimpleDefinition, sn as getSchemaDefinition, nc as granularityDefinitions, ao as hasF0Config, Xi as inferFieldType, pp as injectSectionEnds, zo as isInfiniteScrollPagination, Bo as isPageBasedPagination, Aa as isZodType, Dd as linkVariants, qr as markdownRenderers, po as mergeDataCollectionFilters, To as modules, Jr as oneIconSizes, ln as parseDataCollectionUrlParams, Rf as pdfScales, Te as predefinedPresets, ec as rangeSeparator, go as readDataCollectionStorage, fp as reconstructElements, Ia as resolveDataCollectionFilters, Ks as resolveGranularityDefinition, w as resolveItemNeighbors, E as resolveWindowNeighbors, Si as secondsToFields, za as secondsToVisibleFields, zf as selectInlineDismissReasons, y as selectSizes, he as selectVariants, Be as setDataCollectionUrlParams, Bf as sliderTooltipModes, an as syncDataCollectionUrlParams, Zf as tagDotColors, Xf as timelineRowStatuses, Lt as toasts, ja as unwrapZodSchema, ui as usageLimitsPopoverSides, ma as useAiChat, yi as useAiChatTranslations, Ht as useAudioPlayer, bi as useCanvasEntity, pi as useChatHistory, Io as useData, es as useDataSource, g as useDataSourceItemNavigation, vu as useDerivedTranscription, Tt as useDndEvents, Rt as useDraggable, He as useDroppableList, Gn as useEmojiConfetti, $i as useF0AiFormRegistry, rs as useF0Dialog, k as useF0DialogAlikeContext, Qe as useF0Form, Ct as useF0FormDefinition, zr as useFormCardValueFormatter, dy as useFormComponent, ts as useGroups, B_ as useIsDesktop, V_ as useIsMobile, jt as useItemNeighbors, Pt as usePrivacyMode, Sn as useReducedMotion, Re as useSchemaDefinition, Go as useSelectable, Kr as useSetFormCardValueFormatter, vi as useToolCallId, Fn as useXRay, R as withDataTestId, de as writeDataCollectionStorage };