@factorialco/f0-react 10.13.0 → 10.16.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 (43) hide show
  1. package/dist/{ChatPostComposerDialog-Dxf_Nbbb.js → ChatPostComposerDialog-CuX3o_oh.js} +3 -3
  2. package/dist/{CoachmarkProvider-ByfCE0-j.js → CoachmarkProvider-CIV3QGRl.js} +16122 -16128
  3. package/dist/{DocumentToolbar-UFkOiw8e.js → DocumentToolbar-B7Ogfhbf.js} +5 -5
  4. package/dist/{DocxViewer-BjmzL4sn.js → DocxViewer-Bi5IBCVR.js} +2 -2
  5. package/dist/{F0AiProcessingOverlay-B2kWuLdK.js → F0AiProcessingOverlay-CXtHszCl.js} +467 -466
  6. package/dist/{F0CanvasPanel-9PijExob.js → F0CanvasPanel-BwiuYNuv.js} +7447 -7408
  7. package/dist/F0DocumentViewer-COyn9iCi.js +3 -0
  8. package/dist/{F0DocumentViewer-hMDS3Kpg.js → F0DocumentViewer-_gFXfngB.js} +9 -9
  9. package/dist/{F0Map-CznQg3YF.js → F0Map-iRiXTNz0.js} +845 -607
  10. package/dist/{F0Select-By_QpX1S.js → F0Select-CFbVOJB3.js} +73 -73
  11. package/dist/{F0Box-CYL5_Zhb.js → F0Text-eOwHoc51.js} +104 -96
  12. package/dist/{F0VideoPlayer-BByW1cIV.js → F0VideoPlayer-BQ7uYpjS.js} +279 -279
  13. package/dist/F0VideoPlayer-DXYd-l_R.js +1 -0
  14. package/dist/{Map-DZ1yBUGL.js → Map-YThRZm6N.js} +53 -52
  15. package/dist/{PdfThumbnail-Dkwm6GDn.js → PdfThumbnail-C6ZtNGG7.js} +1 -1
  16. package/dist/{SheetViewer-DT6WypD8.js → SheetViewer-BRaB_JYe.js} +4 -4
  17. package/dist/{TextViewer-D8MLMNev.js → TextViewer-TgTOiUHO.js} +2 -2
  18. package/dist/ai.d.ts +3 -3
  19. package/dist/ai.js +4 -4
  20. package/dist/component-status.js +28 -28
  21. package/dist/{dist-CUsub1Mu.js → dist-Ck_UA8Lz.js} +1 -1
  22. package/dist/{dist-CSP_0yKt.js → dist-Cuwaibqg.js} +2 -1
  23. package/dist/experimental.d.ts +240 -115
  24. package/dist/experimental.js +6128 -4839
  25. package/dist/{exports-0B2luDkl.d.ts → exports-BaPJp_sC.d.ts} +3 -1
  26. package/dist/f0.d.ts +12 -7
  27. package/dist/f0.js +704 -704
  28. package/dist/{google-B7uAYsxU.js → google-D1V0swd7.js} +1 -1
  29. package/dist/{i18n-provider-defaults-BA2_-hRH.js → i18n-provider-defaults-Ch0JDGbK.js} +12 -3
  30. package/dist/{i18n-provider-defaults-m88KkXdP.d.ts → i18n-provider-defaults-D1lWzbYx.d.ts} +14 -1
  31. package/dist/i18n-provider-defaults.d.ts +1 -1
  32. package/dist/i18n-provider-defaults.js +1 -1
  33. package/dist/{index-Bdpf44A3.d.ts → index--CBjax6U.d.ts} +2 -2
  34. package/dist/{index-s5SdT3uE.d.ts → index-2J8R9Uml.d.ts} +3 -1
  35. package/dist/{maplibre-GffVTD0r.js → maplibre-BTZrvtMK.js} +2 -2
  36. package/dist/{pdfWorker-C3UVNtZV.js → pdfWorker-DvhMae6d.js} +2 -2
  37. package/dist/{popover-B7fqB9lu.js → popover-DNcAIP25.js} +20 -20
  38. package/dist/styles.css +1 -1
  39. package/dist/{tooltip-TOvfXq9F.js → tooltip-BX4dSfeL.js} +338 -247
  40. package/dist/{useData-CAl9SKtE.js → useData-zygrn6e-.js} +950 -949
  41. package/package.json +2 -2
  42. package/dist/F0DocumentViewer-DDaXV0U3.js +0 -3
  43. package/dist/F0VideoPlayer-DerqL5g5.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, $t as n, A as r, An as i, Ar as a, Bn as o, Br as s, Bt as c, C as l, Cn as u, D as d, Dn as f, Dr as p, E as m, En as h, Fn as g, Fr as _, Ft as v, Gn as y, Gt as b, Hn as x, Hr as S, Ht as C, In as w, Ir as T, It as E, Jn as D, Jr as O, Jt as k, Kn as A, Kr as j, Kt as ee, Ln as M, Lr as N, Lt as P, M as te, Mn as ne, Mr as re, N as F, Nn as ie, Nt as I, O as ae, On as oe, P as se, Pn as ce, Pr as le, Pt as ue, Qn as de, Rn as fe, Rt as pe, S as me, Sn as he, St as ge, T as _e, Tn as ve, Ut as ye, Vn as be, Vr as xe, Vt as Se, Wn as Ce, Wt as we, X as Te, Xn as Ee, Xt as De, Yn as Oe, Z as ke, Zn as Ae, Zt as je, _ as Me, _n as Ne, _r as Pe, _t as Fe, ai as Ie, an as Le, ar as Re, b as ze, bn as Be, bt as Ve, c as He, cn as Ue, cr as We, d as Ge, dn as Ke, dr as qe, ei as Je, en as Ye, er as Xe, f as Ze, fn as Qe, fr as $e, g as et, gn as tt, gr as nt, gt as rt, h as it, hn as at, hr as ot, ht as st, i as ct, ir as lt, j as ut, jn as dt, jr as ft, k as pt, kn as mt, kr as ht, l as gt, ln as _t, lr as vt, mn as yt, mr as bt, ni as xt, nn as St, nr as Ct, on as wt, or as Tt, ot as Et, p as Dt, pn as Ot, pr as kt, qn as At, qr as jt, qt as Mt, rr as Nt, s as Pt, sn as Ft, sr as It, t as Lt, ti as Rt, tn as zt, tr as Bt, u as Vt, un as Ht, ur as Ut, ut as Wt, v as Gt, vn as Kt, vr as qt, vt as Jt, w as Yt, wn as Xt, x as Zt, xn as Qt, xt as $t, y as en, yn as tn, yt as nn, zn as rn, zr as an } from "./CoachmarkProvider-ByfCE0-j.js";
3
- import { A as on, At as sn, B as cn, Dt as ln, F as un, It as dn, Jt as fn, Lt as pn, M as mn, Mt as hn, N as gn, P as _n, R as vn, U as yn, V as bn, Vt as xn, Xt as Sn, Yt as Cn, Zn as wn, _t as Tn, a as En, an as Dn, ar as L, b as R, cn as On, ct as kn, dn as An, gn as jn, gt as Mn, hn as Nn, ht as Pn, i as Fn, in as z, ir as In, j as Ln, jt as Rn, kt as zn, ln as B, lt as Bn, nn as Vn, nt as Hn, on as Un, or as Wn, pt as Gn, qt as Kn, rn as V, rr as qn, sn as Jn, t as Yn, tn as Xn, ut as Zn, vt as Qn, yt as $n, z as er } from "./popover-B7fqB9lu.js";
4
- import { A as tr, C as nr, D as rr, E as ir, F as ar, I as H, L as or, M as sr, N as cr, O as lr, P as ur, S as dr, _ as fr, b as pr, c as mr, d as hr, f as gr, g as _r, h as vr, j as yr, k as br, m as xr, p as Sr, s as Cr, v as wr, x as Tr, y as Er } from "./tooltip-TOvfXq9F.js";
5
- import { n as Dr, t as Or } from "./F0Box-CYL5_Zhb.js";
6
- import { A as kr, C as Ar, D as jr, E as Mr, F as Nr, I as Pr, L as Fr, M as Ir, N as Lr, O as Rr, P as zr, R as Br, S as Vr, T as Hr, _ as Ur, a as Wr, b as Gr, c as Kr, d as qr, f as Jr, g as Yr, h as Xr, i as Zr, j as Qr, k as $r, l as ei, m as ti, n as ni, o as ri, p as ii, r as ai, s as oi, t as si, u as ci, v as li, w as ui, x as di, y as fi, z as pi } from "./F0AiProcessingOverlay-B2kWuLdK.js";
7
- import { $n as mi, A as hi, Aa as gi, Ar as _i, At as vi, B as yi, Bn as bi, Bs as xi, D as Si, Ds as Ci, Dt as wi, E as Ti, Fo as Ei, Fr as Di, Ft as Oi, Gn as ki, Gr as Ai, Gt as ji, Hn as Mi, Hr as Ni, Hs as Pi, It as Fi, Ja as Ii, Jn as Li, Jo as Ri, Jr as zi, Jt as Bi, Ks as Vi, Kt as Hi, Lr as Ui, Lt as Wi, M as Gi, Ma as Ki, Mr as qi, Mt as Ji, Na as Yi, Nt as Xi, O as Zi, Oa as Qi, Pa as $i, Pr as ea, Qn as ta, Qo as na, R as ra, Ra as ia, Rr as aa, Rs as oa, Sr as sa, T as ca, Ts as la, Un as ua, Ur as da, Us as fa, Vn as pa, Vo as ma, Vs as ha, Wn as ga, Wr as _a, Ws as va, Xt as ya, Ya as ba, Yt as xa, Zo as Sa, Zs as Ca, Zt as wa, _a as Ta, as as Ea, br as Da, co as Oa, do as ka, er as Aa, es as ja, et as Ma, ga as Na, io as Pa, is as Fa, j as Ia, jr as La, js as Ra, jt as za, k as Ba, kt as Va, mr as Ha, n as Ua, no as Wa, nr as Ga, oa as Ka, oc as qa, pr as Ja, qn as Ya, qt as Xa, rc as Za, rr as Qa, t as $a, tr as eo, uo as to, us as no, vr as ro, w as io, wr as ao, yo as oo, yr as so, za as co, zn as lo, zr as uo, zs as fo } from "./F0CanvasPanel-9PijExob.js";
8
- import { t as po } from "./i18n-provider-defaults-BA2_-hRH.js";
9
- import { A as mo, C as ho, F as go, J as _o, L as vo, R as yo, T as bo, a as xo, d as So, i as Co, j as wo, k as To, m as Eo, n as Do, p as Oo, q as ko, r as Ao, t as jo, w as Mo, x as No, y as Po } from "./useData-CAl9SKtE.js";
10
- import { $ as Fo, B as Io, Bt as Lo, Ct as Ro, Dn as zo, Dr as Bo, Dt as Vo, Er as Ho, Fn as Uo, Ft as Wo, G as Go, H as Ko, It as qo, J as Jo, K as Yo, L as Xo, Ln as Zo, Lt as Qo, Mr as $o, Mt as es, Nr as ts, Nt as ns, On as rs, Or as is, Ot as as, Pt as os, Rt as ss, U as cs, V as ls, W as us, X as ds, Z as fs, _ as ps, _t as ms, a as hs, an as gs, c as _s, ct as vs, dr as ys, et as bs, fr as xs, g as Ss, gt as Cs, h as ws, ht as Ts, i as Es, jr as Ds, jt as Os, kn as ks, kr as As, kt as js, l as Ms, lr as Ns, m as Ps, mr as Fs, mt as Is, nt as Ls, o as Rs, p as zs, pt as Bs, q as Vs, r as Hs, rn as Us, s as Ws, st as Gs, t as Ks, tt as qs, u as Js, v as Ys, vr as Xs, w as Zs, wt as Qs, xt as $s, y as ec, yt as tc, z as nc } from "./F0Select-By_QpX1S.js";
2
+ import { $n as t, $r as n, $t as r, A as i, An as a, Ar as o, Bn as s, Br as c, Bt as l, C as u, Cn as d, D as f, Dn as p, E as m, En as h, Er as g, Fn as _, Fr as v, Ft as y, Gn as b, Gr as x, Gt as S, Hn as C, Ht as w, In as T, Ir as E, It as D, Jn as O, Jt as k, Kn as A, Kr as j, Kt as ee, Ln as M, Lt as N, M as P, Mn as te, N as ne, Nn as re, Nr as F, Nt as ie, O as I, On as ae, Or as oe, P as se, Pn as ce, Pr as le, Pt as ue, Qn as de, Rn as fe, Rr as pe, Rt as me, S as he, Sn as ge, St as _e, T as ve, Tn as ye, Ut as be, Vn as xe, Vr as Se, Vt as Ce, Wn as we, Wt as Te, X as Ee, Xn as De, Xt as Oe, Yn as ke, Z as Ae, Zn as je, Zt as Me, _ as Ne, _n as Pe, _r as Fe, _t as Ie, an as Le, ar as Re, b as ze, bn as Be, bt as Ve, c as He, cn as Ue, cr as We, d as Ge, dn as Ke, dr as qe, ei as Je, en as Ye, er as Xe, f as Ze, fn as Qe, fr as $e, g as et, gn as tt, gr as nt, gt as rt, h as it, hn as at, hr as ot, ht as st, i as ct, ii as lt, ir as ut, j as dt, jn as ft, jr as pt, k as mt, kn as ht, kr as gt, l as _t, ln as vt, lr as yt, mn as bt, mr as xt, nn as St, nr as Ct, on as wt, or as Tt, ot as Et, p as Dt, pn as Ot, pr as kt, qn as At, qr as jt, qt as Mt, rr as Nt, s as Pt, sn as Ft, sr as It, t as Lt, ti as Rt, tn as zt, tr as Bt, u as Vt, un as Ht, ur as Ut, ut as Wt, v as Gt, vn as Kt, vt as qt, w as Jt, wn as Yt, x as Xt, xn as Zt, xt as Qt, y as $t, yn as en, yt as tn, zn as nn, zr as rn } from "./CoachmarkProvider-CIV3QGRl.js";
3
+ import { A as an, At as on, B as sn, Dt as cn, F as ln, It as un, Jt as dn, Lt as fn, M as pn, Mt as mn, N as hn, P as gn, R as _n, U as vn, V as yn, Vt as bn, Xt as xn, Yt as Sn, Zn as Cn, _t as wn, a as Tn, an as En, ar as L, b as R, cn as Dn, ct as On, dn as kn, gn as An, gt as jn, hn as Mn, ht as Nn, i as Pn, in as z, ir as Fn, j as In, jt as Ln, kt as Rn, ln as B, lt as zn, nn as Bn, nt as Vn, on as Hn, or as Un, pt as Wn, qt as Gn, rn as V, rr as Kn, sn as qn, t as Jn, tn as Yn, ut as Xn, vt as Zn, yt as Qn, z as $n } from "./popover-DNcAIP25.js";
4
+ import { A as er, C as tr, D as nr, F as rr, I as ir, L as H, M as ar, N as or, O as sr, P as cr, R as lr, S as ur, _ as dr, b as fr, c as pr, f as mr, g as hr, h as gr, j as _r, k as vr, l as yr, m as br, p as xr, v as Sr, w as Cr, x as wr, y as Tr } from "./tooltip-BX4dSfeL.js";
5
+ import { n as Er, r as Dr, t as Or } from "./F0Text-eOwHoc51.js";
6
+ import { A as kr, C as Ar, D as jr, E as Mr, F as Nr, I as Pr, L as Fr, M as Ir, N as Lr, O as Rr, P as zr, R as Br, S as Vr, T as Hr, _ as Ur, a as Wr, b as Gr, c as Kr, d as qr, f as Jr, g as Yr, h as Xr, i as Zr, j as Qr, k as $r, l as ei, m as ti, n as ni, o as ri, p as ii, r as ai, s as oi, t as si, u as ci, v as li, w as ui, x as di, y as fi, z as pi } from "./F0AiProcessingOverlay-CXtHszCl.js";
7
+ import { $n as mi, $o as hi, A as gi, Ar as _i, At as vi, B as yi, Ba as bi, Bn as xi, Bs as Si, D as Ci, Dt as wi, E as Ti, Es as Ei, Fa as Di, Fr as Oi, Ft as ki, Gn as Ai, Gr as ji, Gs as Mi, Gt as Ni, Hn as Pi, Ho as Fi, Hr as Ii, Hs as Li, Io as Ri, It as zi, Jn as Bi, Jr as Vi, Jt as Hi, Kt as Ui, Lr as Wi, Lt as Gi, M as Ki, Mr as qi, Ms as Ji, Mt as Yi, Na as Xi, Nt as Zi, O as Qi, Oa as $i, Os as ea, Pa as ta, Pr as na, Qn as ra, Qo as ia, Qs as aa, R as oa, Rr as sa, Sr as ca, T as la, Un as ua, Ur as da, Us as fa, Vn as pa, Vs as ma, Wn as ha, Wr as ga, Ws as _a, Xa as va, Xt as ya, Ya as ba, Yo as xa, Yt as Sa, Zt as Ca, _a as wa, ao as Ta, as as Ea, bo as Da, br as Oa, do as ka, ds as Aa, er as ja, et as Ma, fo as Na, ga as Pa, ic as Fa, j as Ia, ja as La, jr as Ra, jt as za, k as Ba, kt as Va, lo as Ha, mr as Ua, n as Wa, nr as Ga, oa as Ka, os as qa, pr as Ja, qn as Ya, qs as Xa, qt as Za, ro as Qa, rr as $a, sc as eo, t as to, tr as no, ts as ro, vr as io, w as ao, wr as oo, yr as so, za as co, zn as lo, zr as uo, zs as fo } from "./F0CanvasPanel-BwiuYNuv.js";
8
+ import { t as po } from "./i18n-provider-defaults-Ch0JDGbK.js";
9
+ import { C as mo, D as ho, F as go, I as _o, J as vo, N as yo, O as bo, S as xo, _ as So, a as Co, d as wo, f as To, i as Eo, k as Do, l as Oo, n as ko, q as Ao, r as jo, t as Mo, x as No, y as Po } from "./useData-zygrn6e-.js";
10
+ import { $ as Fo, B as Io, Bt as Lo, Ct as Ro, Dn as zo, Dr as Bo, Dt as Vo, Er as Ho, Fn as Uo, Ft as Wo, G as Go, H as Ko, It as qo, J as Jo, K as Yo, L as Xo, Ln as Zo, Lt as Qo, Mr as $o, Mt as es, Nr as ts, Nt as ns, On as rs, Or as is, Ot as as, Pt as os, Rt as ss, U as cs, V as ls, W as us, X as ds, Z as fs, _ as ps, _t as ms, a as hs, an as gs, c as _s, ct as vs, dr as ys, et as bs, fr as xs, g as Ss, gt as Cs, h as ws, ht as Ts, i as Es, jr as Ds, jt as Os, kn as ks, kr as As, kt as js, l as Ms, lr as Ns, m as Ps, mr as Fs, mt as Is, nt as Ls, o as Rs, p as zs, pt as Bs, q as Vs, r as Hs, rn as Us, s as Ws, st as Gs, t as Ks, tt as qs, u as Js, v as Ys, vr as Xs, w as Zs, wt as Qs, xt as $s, y as ec, yt as tc, z as nc } from "./F0Select-CFbVOJB3.js";
11
11
  import { t as rc } from "./Check-DAp9gCRh.js";
12
- import { a as ic, i as ac, n as oc, r as sc, t as cc } from "./F0VideoPlayer-BByW1cIV.js";
13
- import { t as lc } from "./pdfWorker-C3UVNtZV.js";
14
- import { n as uc, t as dc } from "./F0DocumentViewer-hMDS3Kpg.js";
12
+ import { a as ic, i as ac, n as oc, r as sc, t as cc } from "./F0VideoPlayer-BQ7uYpjS.js";
13
+ import { t as lc } from "./pdfWorker-DvhMae6d.js";
14
+ import { n as uc, t as dc } from "./F0DocumentViewer-_gFXfngB.js";
15
15
  import * as U from "react";
16
16
  import fc, { Children as pc, Fragment as mc, createContext as hc, forwardRef as gc, isValidElement as _c, memo as vc, useCallback as W, useContext as yc, useEffect as G, useId as bc, useImperativeHandle as xc, useLayoutEffect as Sc, useMemo as K, useRef as q, useState as J, useSyncExternalStore as Cc } from "react";
17
17
  import { Fragment as Y, jsx as X, jsxs as Z } from "react/jsx-runtime";
@@ -19,7 +19,7 @@ import * as wc from "react-dom";
19
19
  import { createPortal as Tc } from "react-dom";
20
20
  import './f0.css';//#region ../../node_modules/.pnpm/@base-ui+utils@0.4.0_@types+react@18.3.18_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@base-ui/utils/inertValue.mjs
21
21
  function Ec(e) {
22
- return xr(19) ? e : e ? "true" : void 0;
22
+ return gr(19) ? e : e ? "true" : void 0;
23
23
  }
24
24
  //#endregion
25
25
  //#region src/blocks/layouts/HomeLayout/HomeLayout.tsx
@@ -35,14 +35,14 @@ var Dc = {
35
35
  className: "h-full @5xl:h-auto [&>div]:h-full",
36
36
  children: e
37
37
  }, t));
38
- return /* @__PURE__ */ X(co, {
38
+ return /* @__PURE__ */ X(bi, {
39
39
  layout: "home",
40
40
  children: /* @__PURE__ */ Z("div", {
41
41
  ref: r,
42
42
  className: "@container",
43
43
  children: [/* @__PURE__ */ Z("div", {
44
44
  className: "flex flex-col gap-6 px-5 pt-4 @md:pt-2 @5xl:hidden",
45
- children: [/* @__PURE__ */ X(O, {
45
+ children: [/* @__PURE__ */ X(jt, {
46
46
  columns: Dc,
47
47
  showArrows: !1,
48
48
  children: i
@@ -66,10 +66,10 @@ var Dc = {
66
66
  })]
67
67
  })
68
68
  });
69
- }), kc = Nn({
69
+ }), kc = Mn({
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
- }), Ac = fc.forwardRef(({ children: e, variant: t, scrollable: n = !0, className: r, ...i }, a) => /* @__PURE__ */ X(co, {
72
+ }), Ac = fc.forwardRef(({ children: e, variant: t, scrollable: n = !0, className: r, ...i }, a) => /* @__PURE__ */ X(bi, {
73
73
  layout: "standard",
74
74
  children: /* @__PURE__ */ X("section", {
75
75
  ref: a,
@@ -82,7 +82,7 @@ var Dc = {
82
82
  })
83
83
  }));
84
84
  Ac.displayName = "StandardLayout";
85
- var jc = L(Un({
85
+ var jc = L(Hn({
86
86
  name: "StandardLayout",
87
87
  type: "layout"
88
88
  }, Ac)), Mc = gc(function({ children: e, sideContent: t, mainColumnPosition: n = "left", sticky: r = !1, responsiveStackOrder: i = "side" }, a) {
@@ -101,7 +101,7 @@ var jc = L(Un({
101
101
  })]
102
102
  })
103
103
  });
104
- }), Nc = L(Un({
104
+ }), Nc = L(Hn({
105
105
  name: "TwoColumnLayout",
106
106
  type: "layout"
107
107
  }, Mc)), Pc = ({ children: e, className: t }) => /* @__PURE__ */ X("aside", {
@@ -254,7 +254,7 @@ function Hc({ 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 = ln.sanitize(Vc(t))), n.set(e, /* @__PURE__ */ X(jn.div, {
257
+ t && (r = cn.sanitize(Vc(t))), n.set(e, /* @__PURE__ */ X(An.div, {
258
258
  className: "h-full w-full",
259
259
  initial: {
260
260
  opacity: 1,
@@ -2718,8 +2718,8 @@ var _l = ({ options: e, widgets: t, onChange: n, className: r, static: i, forceP
2718
2718
  });
2719
2719
  };
2720
2720
  _l.displayName = "F0GridStack";
2721
- var vl = L(qn("F0GridStack", _l)), yl = (e, t, n) => /* @__PURE__ */ X("div", { children: e }), bl = ({ widgets: e = [], editMode: t = !1, onChange: n = () => {}, WidgetWrapper: r = yl, main: i = !1, deps: a }) => {
2722
- let o = W((e, t, n) => /* @__PURE__ */ X(jn.div, {
2721
+ var vl = L(Kn("F0GridStack", _l)), yl = (e, t, n) => /* @__PURE__ */ X("div", { children: e }), bl = ({ widgets: e = [], editMode: t = !1, onChange: n = () => {}, WidgetWrapper: r = yl, main: i = !1, deps: a }) => {
2722
+ let o = W((e, t, n) => /* @__PURE__ */ X(An.div, {
2723
2723
  className: "h-full w-full",
2724
2724
  initial: {
2725
2725
  opacity: 0,
@@ -2902,7 +2902,7 @@ var xl = (e, t) => {
2902
2902
  }, Sl = (e, t) => {
2903
2903
  let n = t;
2904
2904
  return n.displayName = e, n.__isPageLayoutGroup = !0, n;
2905
- }, Cl = Kn.filter((e) => e !== "ai"), wl = Cn, Tl = ({ children: e, title: t, draggable: n = !1, actions: r, aiButton: i }) => /* @__PURE__ */ X(S, {
2905
+ }, Cl = Gn.filter((e) => e !== "ai"), wl = Sn, Tl = ({ children: e, title: t, draggable: n = !1, actions: r, aiButton: i }) => /* @__PURE__ */ X(Se, {
2906
2906
  header: { title: t },
2907
2907
  draggable: n,
2908
2908
  actions: r,
@@ -2924,7 +2924,7 @@ var xl = (e, t) => {
2924
2924
  })
2925
2925
  });
2926
2926
  El.displayName = "Dashboard";
2927
- var Dl = Sl("Dashboard", El), Ol = L(qn("Dashboard", Dl)), kl = Nn({
2927
+ var Dl = Sl("Dashboard", El), Ol = L(Kn("Dashboard", Dl)), kl = Mn({
2928
2928
  base: "flex w-full flex-col p-4",
2929
2929
  variants: { variant: {
2930
2930
  default: "",
@@ -2944,7 +2944,7 @@ var Dl = Sl("Dashboard", El), Ol = L(qn("Dashboard", Dl)), kl = Nn({
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(Ta, {
2947
+ children: [c || null, f.length > 0 ? /* @__PURE__ */ X(wa, {
2948
2948
  items: Al(d),
2949
2949
  "data-testid": "actions-dropdown"
2950
2950
  }) : null]
@@ -3002,8 +3002,8 @@ Ll.displayName = "GroupLinear", Ll.__isPageLayoutGroup = !0;
3002
3002
  //#endregion
3003
3003
  //#region src/blocks/layouts/Layout/groups/GroupMasonry/components/SortableBlock.tsx
3004
3004
  var Rl = ({ id: e, children: t }) => {
3005
- let { attributes: n, listeners: r, setNodeRef: i, transform: a, transition: o } = re({ id: e }), s = {
3006
- transform: xe.Translate.toString(a),
3005
+ let { attributes: n, listeners: r, setNodeRef: i, transform: a, transition: o } = pt({ id: e }), s = {
3006
+ transform: c.Translate.toString(a),
3007
3007
  transition: o,
3008
3008
  flex: "1 1",
3009
3009
  display: "flex",
@@ -3017,37 +3017,37 @@ var Rl = ({ id: e, children: t }) => {
3017
3017
  children: t
3018
3018
  });
3019
3019
  }, zl = ({ blocks: e, sortable: t = !1, onSort: n = () => {}, main: r = !1 }) => {
3020
- let [i, o] = J([]);
3020
+ let [i, a] = J([]);
3021
3021
  Ns(() => {
3022
- o(e.map((e, t) => ({
3022
+ a(e.map((e, t) => ({
3023
3023
  id: e.id ?? t.toString(),
3024
3024
  render: e.render
3025
3025
  })));
3026
3026
  }, [e]);
3027
- let [c, l] = J(null), u = s(an(N), an(T, { coordinateGetter: ft }));
3027
+ let [s, c] = J(null), l = rn(pe(E), pe(v, { coordinateGetter: o }));
3028
3028
  return /* @__PURE__ */ X("div", {
3029
3029
  className: H("flex flex-wrap items-stretch gap-4", r && "flex-1"),
3030
- children: /* @__PURE__ */ Z(le, {
3031
- sensors: u,
3030
+ children: /* @__PURE__ */ Z(F, {
3031
+ sensors: l,
3032
3032
  onDragStart: (e) => {
3033
- l(e.active.id);
3033
+ c(e.active.id);
3034
3034
  },
3035
3035
  onDragEnd: (e) => {
3036
3036
  let { active: t, over: n } = e;
3037
- l(null), n && t.id !== n.id && o((e) => {
3037
+ c(null), n && t.id !== n.id && a((e) => {
3038
3038
  let r = e.findIndex((e) => e.id === t.id), i = e.findIndex((e) => e.id === n.id);
3039
- return a(e, r, i);
3039
+ return gt(e, r, i);
3040
3040
  });
3041
3041
  },
3042
- children: [/* @__PURE__ */ X(ht, {
3042
+ children: [/* @__PURE__ */ X(oe, {
3043
3043
  items: i,
3044
3044
  children: i.map((e) => /* @__PURE__ */ X(Rl, {
3045
3045
  id: e.id,
3046
3046
  children: e.render
3047
3047
  }, e.id))
3048
- }), /* @__PURE__ */ X(_, { children: c ? /* @__PURE__ */ X(Rl, {
3049
- id: c,
3050
- children: i.find((e) => e.id === c)?.render
3048
+ }), /* @__PURE__ */ X(le, { children: s ? /* @__PURE__ */ X(Rl, {
3049
+ id: s,
3050
+ children: i.find((e) => e.id === s)?.render
3051
3051
  }) : null })]
3052
3052
  })
3053
3053
  });
@@ -3077,13 +3077,13 @@ var Bl = gc(function({ children: e, aside: t, header: n, variant: r = "main-asid
3077
3077
  })
3078
3078
  });
3079
3079
  }), Vl = {
3080
- Page: L(qn("Page", Bl)),
3081
- Block: L(qn("Block", Ml)),
3082
- BlockContent: L(qn("BlockContent", Nl)),
3083
- Group: L(qn("Group", Ll)),
3084
- GroupGrid: L(qn("GroupGrid", bl)),
3085
- GroupMasonry: L(qn("GroupMasonry", zl))
3086
- }, Hl = jc, Ul = Nc, Wl = L(Un({
3080
+ Page: L(Kn("Page", Bl)),
3081
+ Block: L(Kn("Block", Ml)),
3082
+ BlockContent: L(Kn("BlockContent", Nl)),
3083
+ Group: L(Kn("Group", Ll)),
3084
+ GroupGrid: L(Kn("GroupGrid", bl)),
3085
+ GroupMasonry: L(Kn("GroupMasonry", zl))
3086
+ }, Hl = jc, Ul = Nc, Wl = L(Hn({
3087
3087
  name: "HomeLayout",
3088
3088
  type: "layout"
3089
3089
  }, Oc)), Gl = [
@@ -3783,11 +3783,11 @@ var au = (e) => typeof e == "boolean" || !e ? {
3783
3783
  })]
3784
3784
  });
3785
3785
  ou.displayName = "F0BigNumber";
3786
- var cu = Qi(ou, su), lu = L(cu), uu = [
3786
+ var cu = $i(ou, su), lu = L(cu), uu = [
3787
3787
  "default",
3788
3788
  "outline",
3789
3789
  "neutral"
3790
- ], du = Cn, fu = ["split", "dropdown"], pu = ["sm", "md"], mu = (e) => Object.fromEntries(Object.entries(e).filter(([e]) => e.startsWith("data-"))), hu = (e) => {
3790
+ ], du = Sn, fu = ["split", "dropdown"], pu = ["sm", "md"], mu = (e) => Object.fromEntries(Object.entries(e).filter(([e]) => e.startsWith("data-"))), hu = (e) => {
3791
3791
  (!Number.isFinite(e) || e < 0) && (e = 0);
3792
3792
  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");
3793
3793
  return n > 0 ? `${n}:${a(r)}:${a(i)}` : `${r}:${a(i)}`;
@@ -3889,8 +3889,8 @@ var cu = Qi(ou, su), lu = L(cu), uu = [
3889
3889
  "ArrowUp",
3890
3890
  "ArrowLeft"
3891
3891
  ]
3892
- }, Eu = "Slider", [Du, Ou, ku] = Bn(Eu), [Au, ju] = Pn(Eu, [ku]), [Mu, Nu] = Au(Eu), Pu = U.forwardRef((e, t) => {
3893
- 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" ? Lu : Ru, [y = [], b] = Gn({
3892
+ }, Eu = "Slider", [Du, Ou, ku] = zn(Eu), [Au, ju] = Nn(Eu, [ku]), [Mu, Nu] = Au(Eu), Pu = U.forwardRef((e, t) => {
3893
+ 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" ? Lu : Ru, [y = [], b] = Wn({
3894
3894
  prop: u,
3895
3895
  defaultProp: l,
3896
3896
  onChange: (e) => {
@@ -3939,7 +3939,7 @@ var cu = Qi(ou, su), lu = L(cu), uu = [
3939
3939
  "data-disabled": s ? "" : void 0,
3940
3940
  ...h,
3941
3941
  ref: t,
3942
- onPointerDown: Mn(h.onPointerDown, () => {
3942
+ onPointerDown: jn(h.onPointerDown, () => {
3943
3943
  s || (x.current = y);
3944
3944
  }),
3945
3945
  min: r,
@@ -3968,7 +3968,7 @@ var [Fu, Iu] = Au(Eu, {
3968
3968
  size: "width",
3969
3969
  direction: 1
3970
3970
  }), Lu = U.forwardRef((e, t) => {
3971
- 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 = Tn(t, (e) => f(e)), m = U.useRef(void 0), h = kn(i), g = h === "ltr", _ = g && !a || !g && a;
3971
+ 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 = wn(t, (e) => f(e)), m = U.useRef(void 0), h = On(i), g = h === "ltr", _ = g && !a || !g && a;
3972
3972
  function v(e) {
3973
3973
  let t = m.current || d.getBoundingClientRect(), i = nd([0, t.width], _ ? [n, r] : [r, n]);
3974
3974
  return m.current = t, i(e - t.left);
@@ -4009,7 +4009,7 @@ var [Fu, Iu] = Au(Eu, {
4009
4009
  })
4010
4010
  });
4011
4011
  }), Ru = U.forwardRef((e, t) => {
4012
- let { min: n, max: r, inverted: i, onSlideStart: a, onSlideMove: o, onSlideEnd: s, onStepKeyDown: c, ...l } = e, u = U.useRef(null), d = Tn(t, u), f = U.useRef(void 0), p = !i;
4012
+ let { min: n, max: r, inverted: i, onSlideStart: a, onSlideMove: o, onSlideEnd: s, onStepKeyDown: c, ...l } = e, u = U.useRef(null), d = wn(t, u), f = U.useRef(void 0), p = !i;
4013
4013
  function m(e) {
4014
4014
  let t = f.current || u.current.getBoundingClientRect(), i = nd([0, t.height], p ? [r, n] : [n, r]);
4015
4015
  return f.current = t, i(e - t.top);
@@ -4050,27 +4050,27 @@ var [Fu, Iu] = Au(Eu, {
4050
4050
  });
4051
4051
  }), zu = U.forwardRef((e, t) => {
4052
4052
  let { __scopeSlider: n, onSlideStart: r, onSlideMove: i, onSlideEnd: a, onHomeKeyDown: o, onEndKeyDown: s, onStepKeyDown: c, ...l } = e, u = Nu(Eu, n);
4053
- return /* @__PURE__ */ X(Zn.span, {
4053
+ return /* @__PURE__ */ X(Xn.span, {
4054
4054
  ...l,
4055
4055
  ref: t,
4056
- onKeyDown: Mn(e.onKeyDown, (e) => {
4056
+ onKeyDown: jn(e.onKeyDown, (e) => {
4057
4057
  e.key === "Home" ? (o(e), e.preventDefault()) : e.key === "End" ? (s(e), e.preventDefault()) : Cu.concat(wu).includes(e.key) && (c(e), e.preventDefault());
4058
4058
  }),
4059
- onPointerDown: Mn(e.onPointerDown, (e) => {
4059
+ onPointerDown: jn(e.onPointerDown, (e) => {
4060
4060
  let t = e.target;
4061
4061
  t.setPointerCapture(e.pointerId), e.preventDefault(), u.thumbs.has(t) ? t.focus() : r(e);
4062
4062
  }),
4063
- onPointerMove: Mn(e.onPointerMove, (e) => {
4063
+ onPointerMove: jn(e.onPointerMove, (e) => {
4064
4064
  e.target.hasPointerCapture(e.pointerId) && i(e);
4065
4065
  }),
4066
- onPointerUp: Mn(e.onPointerUp, (e) => {
4066
+ onPointerUp: jn(e.onPointerUp, (e) => {
4067
4067
  let t = e.target;
4068
4068
  t.hasPointerCapture(e.pointerId) && (t.releasePointerCapture(e.pointerId), a(e));
4069
4069
  })
4070
4070
  });
4071
4071
  }), Bu = "SliderTrack", Vu = U.forwardRef((e, t) => {
4072
4072
  let { __scopeSlider: n, ...r } = e, i = Nu(Bu, n);
4073
- return /* @__PURE__ */ X(Zn.span, {
4073
+ return /* @__PURE__ */ X(Xn.span, {
4074
4074
  "data-disabled": i.disabled ? "" : void 0,
4075
4075
  "data-orientation": i.orientation,
4076
4076
  ...r,
@@ -4079,8 +4079,8 @@ var [Fu, Iu] = Au(Eu, {
4079
4079
  });
4080
4080
  Vu.displayName = Bu;
4081
4081
  var Hu = "SliderRange", Uu = U.forwardRef((e, t) => {
4082
- let { __scopeSlider: n, ...r } = e, i = Nu(Hu, n), a = Iu(Hu, n), o = U.useRef(null), s = Tn(t, o), c = i.values.length, l = i.values.map((e) => Xu(e, i.min, i.max)), u = c > 1 ? Math.min(...l) : 0, d = 100 - Math.max(...l);
4083
- return /* @__PURE__ */ X(Zn.span, {
4082
+ let { __scopeSlider: n, ...r } = e, i = Nu(Hu, n), a = Iu(Hu, n), o = U.useRef(null), s = wn(t, o), c = i.values.length, l = i.values.map((e) => Xu(e, i.min, i.max)), u = c > 1 ? Math.min(...l) : 0, d = 100 - Math.max(...l);
4083
+ return /* @__PURE__ */ X(Xn.span, {
4084
4084
  "data-orientation": i.orientation,
4085
4085
  "data-disabled": i.disabled ? "" : void 0,
4086
4086
  ...r,
@@ -4094,14 +4094,14 @@ var Hu = "SliderRange", Uu = U.forwardRef((e, t) => {
4094
4094
  });
4095
4095
  Uu.displayName = Hu;
4096
4096
  var Wu = "SliderThumb", Gu = U.forwardRef((e, t) => {
4097
- let n = Ou(e.__scopeSlider), [r, i] = U.useState(null), a = Tn(t, (e) => i(e)), o = U.useMemo(() => r ? n().findIndex((e) => e.ref.current === r) : -1, [n, r]);
4097
+ let n = Ou(e.__scopeSlider), [r, i] = U.useState(null), a = wn(t, (e) => i(e)), o = U.useMemo(() => r ? n().findIndex((e) => e.ref.current === r) : -1, [n, r]);
4098
4098
  return /* @__PURE__ */ X(Ku, {
4099
4099
  ...e,
4100
4100
  ref: a,
4101
4101
  index: o
4102
4102
  });
4103
4103
  }), Ku = U.forwardRef((e, t) => {
4104
- let { __scopeSlider: n, index: r, name: i, ...a } = e, o = Nu(Wu, n), s = Iu(Wu, n), [c, l] = U.useState(null), u = Tn(t, (e) => l(e)), d = !c || o.form || !!c.closest("form"), f = Hn(c), p = o.values[r], m = p === void 0 ? 0 : Xu(p, o.min, o.max), h = Zu(r, o.values.length), g = f?.[s.size], _ = g ? $u(g, m, s.direction) : 0;
4104
+ let { __scopeSlider: n, index: r, name: i, ...a } = e, o = Nu(Wu, n), s = Iu(Wu, n), [c, l] = U.useState(null), u = wn(t, (e) => l(e)), d = !c || o.form || !!c.closest("form"), f = Vn(c), p = o.values[r], m = p === void 0 ? 0 : Xu(p, o.min, o.max), h = Zu(r, o.values.length), g = f?.[s.size], _ = g ? $u(g, m, s.direction) : 0;
4105
4105
  return U.useEffect(() => {
4106
4106
  if (c) return o.thumbs.add(c), () => {
4107
4107
  o.thumbs.delete(c);
@@ -4114,7 +4114,7 @@ var Wu = "SliderThumb", Gu = U.forwardRef((e, t) => {
4114
4114
  },
4115
4115
  children: [/* @__PURE__ */ X(Du.ItemSlot, {
4116
4116
  scope: e.__scopeSlider,
4117
- children: /* @__PURE__ */ X(Zn.span, {
4117
+ children: /* @__PURE__ */ X(Xn.span, {
4118
4118
  role: "slider",
4119
4119
  "aria-label": e["aria-label"] || h,
4120
4120
  "aria-valuemin": o.min,
@@ -4127,7 +4127,7 @@ var Wu = "SliderThumb", Gu = U.forwardRef((e, t) => {
4127
4127
  ...a,
4128
4128
  ref: u,
4129
4129
  style: p === void 0 ? { display: "none" } : e.style,
4130
- onFocus: Mn(e.onFocus, () => {
4130
+ onFocus: jn(e.onFocus, () => {
4131
4131
  o.valueIndexToChangeRef.current = r;
4132
4132
  })
4133
4133
  })
@@ -4140,7 +4140,7 @@ var Wu = "SliderThumb", Gu = U.forwardRef((e, t) => {
4140
4140
  });
4141
4141
  Gu.displayName = Wu;
4142
4142
  var qu = "RadioBubbleInput", Ju = U.forwardRef(({ __scopeSlider: e, value: t, ...n }, r) => {
4143
- let i = U.useRef(null), a = Tn(i, r), o = Uo(t);
4143
+ let i = U.useRef(null), a = wn(i, r), o = Uo(t);
4144
4144
  return U.useEffect(() => {
4145
4145
  let e = i.current;
4146
4146
  if (!e) return;
@@ -4149,7 +4149,7 @@ var qu = "RadioBubbleInput", Ju = U.forwardRef(({ __scopeSlider: e, value: t, ..
4149
4149
  let n = new Event("input", { bubbles: !0 });
4150
4150
  r.call(e, t), e.dispatchEvent(n);
4151
4151
  }
4152
- }, [o, t]), /* @__PURE__ */ X(Zn.input, {
4152
+ }, [o, t]), /* @__PURE__ */ X(Xn.input, {
4153
4153
  style: { display: "none" },
4154
4154
  ...n,
4155
4155
  ref: a,
@@ -4271,10 +4271,10 @@ var ad = Pu, od = Vu, sd = Uu, cd = Gu, ld = ad, ud = od, dd = sd, fd = cd, pd =
4271
4271
  //#region src/blocks/F0AudioPlayer/components/LanguageSelect.tsx
4272
4272
  function md({ value: e, options: t, onChange: n, kind: r }) {
4273
4273
  let [i, a] = J(!1), o = t.find((t) => t.locale === e), s = o ? ac(o) : e;
4274
- return /* @__PURE__ */ Z(Yn, {
4274
+ return /* @__PURE__ */ Z(Jn, {
4275
4275
  open: i,
4276
4276
  onOpenChange: a,
4277
- children: [/* @__PURE__ */ X(En, {
4277
+ children: [/* @__PURE__ */ X(Tn, {
4278
4278
  asChild: !0,
4279
4279
  children: /* @__PURE__ */ X(R, {
4280
4280
  variant: "outline",
@@ -4283,7 +4283,7 @@ function md({ value: e, options: t, onChange: n, kind: r }) {
4283
4283
  "aria-label": `${r}: ${s}`,
4284
4284
  tooltip: r
4285
4285
  })
4286
- }), /* @__PURE__ */ X(Fn, {
4286
+ }), /* @__PURE__ */ X(Pn, {
4287
4287
  align: "end",
4288
4288
  sideOffset: 4,
4289
4289
  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"),
@@ -4331,7 +4331,7 @@ function md({ value: e, options: t, onChange: n, kind: r }) {
4331
4331
  }
4332
4332
  //#endregion
4333
4333
  //#region src/blocks/F0AudioPlayer/components/PlaybackTime.tsx
4334
- var hd = Nn({
4334
+ var hd = Mn({
4335
4335
  base: "shrink-0 font-medium tabular-nums text-f1-foreground-secondary",
4336
4336
  variants: { size: {
4337
4337
  sm: "text-xs",
@@ -4345,37 +4345,37 @@ var hd = Nn({
4345
4345
  hu(t)
4346
4346
  ]
4347
4347
  }), _d = ({ isPlaying: e, disabled: t, size: n = "md", onToggle: r }) => {
4348
- let i = V(), a = e ? ka : to;
4348
+ let i = V(), a = e ? Na : ka;
4349
4349
  return /* @__PURE__ */ X("button", {
4350
4350
  type: "button",
4351
4351
  "aria-label": e ? i.audioPlayer.pause : i.audioPlayer.play,
4352
4352
  disabled: t,
4353
4353
  onClick: r,
4354
- className: H("flex shrink-0 items-center justify-center rounded-xl border border-solid border-f1-border-secondary bg-f1-background-inverse-secondary text-f1-foreground-secondary transition-colors dark:bg-f1-background-tertiary", "hover:bg-f1-background-secondary disabled:cursor-not-allowed disabled:opacity-50", n === "sm" ? "size-8" : "size-10", or()),
4354
+ className: H("flex shrink-0 items-center justify-center rounded-xl border border-solid border-f1-border-secondary bg-f1-background-inverse-secondary text-f1-foreground-secondary transition-colors dark:bg-f1-background-tertiary", "hover:bg-f1-background-secondary disabled:cursor-not-allowed disabled:opacity-50", n === "sm" ? "size-8" : "size-10", lr()),
4355
4355
  children: /* @__PURE__ */ X(a, { className: n === "sm" ? "size-5" : "size-6" })
4356
4356
  });
4357
4357
  }, vd = ({ playbackRate: e, playbackRates: t, onRateChange: n, disabled: r, extraItems: i = [], audioLanguages: a = [], audioLanguage: o, onAudioLanguageChange: s }) => {
4358
4358
  let c = V(), l = t.length > 0, u = a.length > 1;
4359
- return /* @__PURE__ */ Z(on, { children: [/* @__PURE__ */ X(yn, {
4359
+ return /* @__PURE__ */ Z(an, { children: [/* @__PURE__ */ X(vn, {
4360
4360
  asChild: !0,
4361
4361
  children: /* @__PURE__ */ X(R, {
4362
4362
  variant: "ghost",
4363
4363
  size: "sm",
4364
- icon: la,
4364
+ icon: Ei,
4365
4365
  label: c.audioPlayer.options,
4366
4366
  hideLabel: !0,
4367
4367
  disabled: r
4368
4368
  })
4369
- }), /* @__PURE__ */ Z(Ln, {
4369
+ }), /* @__PURE__ */ Z(In, {
4370
4370
  align: "end",
4371
4371
  className: "flex min-w-44 flex-col gap-0.5",
4372
4372
  children: [
4373
- l ? /* @__PURE__ */ Z(Y, { children: [/* @__PURE__ */ X(_n, {
4373
+ l ? /* @__PURE__ */ Z(Y, { children: [/* @__PURE__ */ X(gn, {
4374
4374
  className: "text-f1-foreground-secondary",
4375
4375
  children: c.audioPlayer.playbackSpeed
4376
4376
  }), t.map((t) => {
4377
4377
  let r = t === e;
4378
- return /* @__PURE__ */ Z(gn, {
4378
+ return /* @__PURE__ */ Z(hn, {
4379
4379
  onSelect: () => n(t),
4380
4380
  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"),
4381
4381
  children: [/* @__PURE__ */ Z("span", {
@@ -4391,14 +4391,14 @@ var hd = Nn({
4391
4391
  }, t);
4392
4392
  })] }) : null,
4393
4393
  u ? /* @__PURE__ */ Z(Y, { children: [
4394
- l ? /* @__PURE__ */ X(vn, {}) : null,
4395
- /* @__PURE__ */ X(_n, {
4394
+ l ? /* @__PURE__ */ X(_n, {}) : null,
4395
+ /* @__PURE__ */ X(gn, {
4396
4396
  className: "text-f1-foreground-secondary",
4397
4397
  children: c.audioPlayer.audio
4398
4398
  }),
4399
4399
  a.map((e) => {
4400
4400
  let t = e.locale === o;
4401
- return /* @__PURE__ */ Z(gn, {
4401
+ return /* @__PURE__ */ Z(hn, {
4402
4402
  onSelect: () => s?.(e.locale),
4403
4403
  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"),
4404
4404
  children: [/* @__PURE__ */ X("span", {
@@ -4414,7 +4414,7 @@ var hd = Nn({
4414
4414
  }, e.locale);
4415
4415
  })
4416
4416
  ] }) : null,
4417
- i.length > 0 ? /* @__PURE__ */ Z(Y, { children: [l || u ? /* @__PURE__ */ X(vn, {}) : null, i.map((e) => /* @__PURE__ */ Z(gn, {
4417
+ i.length > 0 ? /* @__PURE__ */ Z(Y, { children: [l || u ? /* @__PURE__ */ X(_n, {}) : null, i.map((e) => /* @__PURE__ */ Z(hn, {
4418
4418
  onSelect: () => e.onClick(),
4419
4419
  className: H("gap-2 px-3 text-sm", e.critical ? "text-f1-foreground-critical" : "text-f1-foreground"),
4420
4420
  children: [e.icon ? /* @__PURE__ */ X("span", {
@@ -4430,28 +4430,28 @@ var hd = Nn({
4430
4430
  }, e.label))] }) : null
4431
4431
  ]
4432
4432
  })] });
4433
- }, yd = (e) => H("block w-full rounded px-2 py-1 text-left transition-colors", e ? "bg-f1-background-selected-secondary font-medium" : "bg-transparent"), bd = vc(function({ cue: e, index: n, isActive: r, onSeek: i, cueRefs: a }) {
4434
- let o = V(), { startTime: s } = e, c = i && s !== void 0, l = W((e) => {
4435
- a?.current && (a.current[n] = e);
4436
- }, [a, n]), u = W(() => {
4437
- s !== void 0 && i?.(s);
4438
- }, [i, s]);
4433
+ }, yd = (e) => H("block w-full rounded px-2 py-1 text-left transition-colors", e ? "bg-f1-background-selected-secondary font-medium" : "bg-transparent"), bd = vc(function({ cue: e, index: t, isActive: n, onSeek: r, cueRefs: i }) {
4434
+ let a = V(), { startTime: o } = e, s = r && o !== void 0, c = W((e) => {
4435
+ i?.current && (i.current[t] = e);
4436
+ }, [i, t]), l = W(() => {
4437
+ o !== void 0 && r?.(o);
4438
+ }, [r, o]);
4439
4439
  return /* @__PURE__ */ X("li", {
4440
- ref: l,
4441
- children: c ? /* @__PURE__ */ X("button", {
4440
+ ref: c,
4441
+ children: s ? /* @__PURE__ */ X("button", {
4442
4442
  type: "button",
4443
- onClick: u,
4444
- "aria-current": r || void 0,
4445
- title: o.t("audioPlayer.jumpTo", { time: hu(s) }),
4446
- className: H(yd(r), or(), !r && "hover:bg-f1-background-secondary"),
4447
- children: /* @__PURE__ */ X(t, {
4443
+ onClick: l,
4444
+ "aria-current": n || void 0,
4445
+ title: a.t("audioPlayer.jumpTo", { time: hu(o) }),
4446
+ className: H(yd(n), lr(), !n && "hover:bg-f1-background-secondary"),
4447
+ children: /* @__PURE__ */ X(Or, {
4448
4448
  as: "span",
4449
4449
  variant: "body",
4450
4450
  content: e.text
4451
4451
  })
4452
4452
  }) : /* @__PURE__ */ X("div", {
4453
- className: yd(r),
4454
- children: /* @__PURE__ */ X(t, {
4453
+ className: yd(n),
4454
+ children: /* @__PURE__ */ X(Or, {
4455
4455
  as: "span",
4456
4456
  variant: "body",
4457
4457
  content: e.text
@@ -4518,7 +4518,7 @@ var wd = (e) => {
4518
4518
  d,
4519
4519
  f,
4520
4520
  C
4521
- ]), E = Bt(m, {
4521
+ ]), E = Xe(m, {
4522
4522
  onPlay: w,
4523
4523
  onPause: s,
4524
4524
  onSeek: c,
@@ -4588,24 +4588,24 @@ var wd = (e) => {
4588
4588
  "Home",
4589
4589
  "End",
4590
4590
  " "
4591
- ]), Ed = gc((e, t) => {
4592
- 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 = Sd(o, p), x = wd({
4591
+ ]), Ed = gc((e, n) => {
4592
+ let { title: r, subtitle: i, actions: a, className: o, src: s, preload: c, autoPlay: l = !1, disabled: u = !1, ariaLabel: d, size: f = "md", content: p, defaultLanguage: m, details: h, expanded: g, defaultExpanded: _ = !1, onExpandedChange: v, detailsMaxHeight: y = 200 } = e, b = V(), x = Sd(s, m), S = wd({
4593
4593
  ...e,
4594
- src: b.resolvedSrc
4595
- }), S = mu(e), C = hn(), w = (e) => {
4596
- Cd(x.audioRef.current), b.setLocale(e);
4597
- }, T = !f && !!(m && m.length > 0), E = K(() => oc(f?.summary, f?.transcription), [f?.summary, f?.transcription]), [D, O] = J(() => sc(E, p)), k = E.some((e) => e.locale === D) ? D : sc(E, p), A = ic(f?.summary, k), j = ic(f?.transcription, k), ee = Su(x.audioRef, x.currentSrc, !j), M = j ?? ee, N = Array.isArray(M) ? M : void 0, P = typeof M == "string" ? M : void 0, te = !!(P || N?.length), ne = K(() => N ? gu(N) : [], [N]), re = ne.length > 0, F = x.pendingTime ?? x.currentTime, ie = K(() => re ? _u(ne, F) : -1, [
4594
+ src: x.resolvedSrc
4595
+ }), C = mu(e), w = mn(), T = (e) => {
4596
+ Cd(S.audioRef.current), x.setLocale(e);
4597
+ }, E = !p && !!(h && h.length > 0), D = K(() => oc(p?.summary, p?.transcription), [p?.summary, p?.transcription]), [O, k] = J(() => sc(D, m)), A = D.some((e) => e.locale === O) ? O : sc(D, m), j = ic(p?.summary, A), ee = ic(p?.transcription, A), M = Su(S.audioRef, S.currentSrc, !ee), N = ee ?? M, P = Array.isArray(N) ? N : void 0, te = typeof N == "string" ? N : void 0, ne = !!(te || P?.length), re = K(() => P ? gu(P) : [], [P]), F = re.length > 0, ie = S.pendingTime ?? S.currentTime, I = K(() => F ? _u(re, ie) : -1, [
4598
+ F,
4598
4599
  re,
4599
- ne,
4600
- F
4601
- ]), I = q(null), ae = q([]), oe = q(!1), se = W((e) => {
4602
- oe.current = !1, x.seek(e);
4603
- }, [x.seek]);
4600
+ ie
4601
+ ]), ae = q(null), oe = q([]), se = q(!1), ce = W((e) => {
4602
+ se.current = !1, S.seek(e);
4603
+ }, [S.seek]);
4604
4604
  G(() => {
4605
- let e = I.current;
4605
+ let e = ae.current;
4606
4606
  if (!e) return;
4607
4607
  let t = () => {
4608
- oe.current = !0;
4608
+ se.current = !0;
4609
4609
  }, n = (e) => {
4610
4610
  Td.has(e.key) && t();
4611
4611
  }, r = (n) => {
@@ -4614,141 +4614,141 @@ var wd = (e) => {
4614
4614
  return e.addEventListener("wheel", t, { passive: !0 }), e.addEventListener("touchmove", t, { passive: !0 }), e.addEventListener("keydown", n), i?.addEventListener("pointerdown", r), () => {
4615
4615
  e.removeEventListener("wheel", t), e.removeEventListener("touchmove", t), e.removeEventListener("keydown", n), i?.removeEventListener("pointerdown", r);
4616
4616
  };
4617
- }, [te]);
4618
- let ce = K(() => {
4619
- if (T) return m ?? [];
4617
+ }, [ne]);
4618
+ let le = K(() => {
4619
+ if (E) return h ?? [];
4620
4620
  let e = [];
4621
- return A && e.push({
4621
+ return j && e.push({
4622
4622
  value: "summary",
4623
- label: y.audioPlayer.summary,
4623
+ label: b.audioPlayer.summary,
4624
4624
  content: /* @__PURE__ */ X("p", {
4625
4625
  className: "whitespace-pre-line",
4626
- children: A
4626
+ children: j
4627
4627
  })
4628
- }), te && e.push({
4628
+ }), ne && e.push({
4629
4629
  value: "transcription",
4630
- label: y.audioPlayer.transcription,
4631
- content: N ? /* @__PURE__ */ X(xd, {
4632
- cues: N,
4633
- activeIndex: ie,
4634
- onSeek: re ? se : void 0,
4635
- cueRefs: ae
4630
+ label: b.audioPlayer.transcription,
4631
+ content: P ? /* @__PURE__ */ X(xd, {
4632
+ cues: P,
4633
+ activeIndex: I,
4634
+ onSeek: F ? ce : void 0,
4635
+ cueRefs: oe
4636
4636
  }) : /* @__PURE__ */ X("p", {
4637
4637
  className: "whitespace-pre-line",
4638
- children: P
4638
+ children: te
4639
4639
  })
4640
4640
  }), e;
4641
4641
  }, [
4642
- T,
4643
- m,
4644
- A,
4645
- te,
4646
- N,
4642
+ E,
4643
+ h,
4644
+ j,
4645
+ ne,
4647
4646
  P,
4648
- ie,
4649
- re,
4650
- se,
4651
- y.audioPlayer.summary,
4652
- y.audioPlayer.transcription
4653
- ]), le = te ? "available" : "missing", ue = ce.length > 0, de = ce.length === 1 ? ce[0] : void 0, fe = (e) => de?.value === "transcription" ? e ? y.audioPlayer.hideTranscription : y.audioPlayer.viewTranscription : de?.value === "summary" ? e ? y.audioPlayer.hideSummary : y.audioPlayer.viewSummary : e ? y.audioPlayer.hideDetail : y.audioPlayer.viewDetail, [pe = !1, me] = Gn({
4654
- prop: h,
4655
- defaultProp: g,
4656
- onChange: _
4647
+ te,
4648
+ I,
4649
+ F,
4650
+ ce,
4651
+ b.audioPlayer.summary,
4652
+ b.audioPlayer.transcription
4653
+ ]), ue = ne ? "available" : "missing", de = le.length > 0, fe = le.length === 1 ? le[0] : void 0, pe = (e) => fe?.value === "transcription" ? e ? b.audioPlayer.hideTranscription : b.audioPlayer.viewTranscription : fe?.value === "summary" ? e ? b.audioPlayer.hideSummary : b.audioPlayer.viewSummary : e ? b.audioPlayer.hideDetail : b.audioPlayer.viewDetail, [me = !1, he] = Wn({
4654
+ prop: g,
4655
+ defaultProp: _,
4656
+ onChange: v
4657
4657
  });
4658
4658
  G(() => {
4659
- if (!pe || ie < 0 || oe.current) return;
4660
- let e = I.current, t = ae.current[ie];
4659
+ if (!me || I < 0 || se.current) return;
4660
+ let e = ae.current, t = oe.current[I];
4661
4661
  if (!e || !t) return;
4662
4662
  let n = e.getBoundingClientRect(), r = t.getBoundingClientRect(), i = r.top - n.top, a = r.bottom - n.bottom;
4663
4663
  i >= 0 && a <= 0 || e.scrollTo({
4664
4664
  top: e.scrollTop + (i < 0 ? i : a),
4665
- behavior: C ? "auto" : "smooth"
4665
+ behavior: w ? "auto" : "smooth"
4666
4666
  });
4667
4667
  }, [
4668
- ie,
4669
- pe,
4670
- C
4668
+ I,
4669
+ me,
4670
+ w
4671
4671
  ]);
4672
- let [he, ge] = J(ce[0]?.value), _e = ce.some((e) => e.value === he) ? he : ce[0]?.value, ve = ce.find((e) => e.value === _e)?.content;
4672
+ let [ge, _e] = J(le[0]?.value), ve = le.some((e) => e.value === ge) ? ge : le[0]?.value, ye = le.find((e) => e.value === ve)?.content;
4673
4673
  return /* @__PURE__ */ Z("div", {
4674
- ref: t,
4674
+ ref: n,
4675
4675
  role: "group",
4676
- "aria-label": u ?? n,
4677
- "data-audio-transcription": le,
4678
- className: H("flex flex-col gap-2.5 rounded-2xl border border-solid border-f1-border-secondary bg-f1-background p-3", a),
4679
- ...S,
4676
+ "aria-label": d ?? r,
4677
+ "data-audio-transcription": ue,
4678
+ className: H("flex flex-col gap-2.5 rounded-2xl border border-solid border-f1-border-secondary bg-f1-background p-3", o),
4679
+ ...C,
4680
4680
  children: [
4681
4681
  /* @__PURE__ */ X("audio", {
4682
- ref: x.audioRef,
4683
- src: x.currentSrc,
4684
- preload: s ?? (typeof b.resolvedSrc == "function" ? "none" : "metadata"),
4685
- autoPlay: c
4682
+ ref: S.audioRef,
4683
+ src: S.currentSrc,
4684
+ preload: c ?? (typeof x.resolvedSrc == "function" ? "none" : "metadata"),
4685
+ autoPlay: l
4686
4686
  }),
4687
4687
  /* @__PURE__ */ Z("div", {
4688
4688
  className: "flex items-start justify-between gap-2",
4689
4689
  children: [/* @__PURE__ */ Z("div", {
4690
4690
  className: "flex min-w-0 flex-1 items-center gap-2.5",
4691
4691
  children: [/* @__PURE__ */ X(_d, {
4692
- isPlaying: x.isPlaying,
4693
- disabled: l,
4694
- size: d,
4695
- onToggle: x.toggle
4692
+ isPlaying: S.isPlaying,
4693
+ disabled: u,
4694
+ size: f,
4695
+ onToggle: S.toggle
4696
4696
  }), /* @__PURE__ */ Z("div", {
4697
4697
  className: "flex min-w-0 flex-col",
4698
4698
  children: [/* @__PURE__ */ X("span", {
4699
4699
  className: "truncate text-base font-medium text-f1-foreground",
4700
- children: n
4701
- }), r ? /* @__PURE__ */ X("span", {
4702
- className: "truncate text-base text-f1-foreground-secondary",
4703
4700
  children: r
4701
+ }), i ? /* @__PURE__ */ X("span", {
4702
+ className: "truncate text-base text-f1-foreground-secondary",
4703
+ children: i
4704
4704
  }) : null]
4705
4705
  })]
4706
- }), ue || x.playbackRates.length > 0 || b.languages.length > 1 || i ? /* @__PURE__ */ Z("div", {
4706
+ }), de || S.playbackRates.length > 0 || x.languages.length > 1 || a ? /* @__PURE__ */ Z("div", {
4707
4707
  className: "flex shrink-0 items-center gap-2",
4708
- children: [ue ? /* @__PURE__ */ X(R, {
4708
+ children: [de ? /* @__PURE__ */ X(R, {
4709
4709
  variant: "outline",
4710
4710
  size: "sm",
4711
- label: fe(pe),
4712
- onClick: () => me(!pe),
4713
- "aria-expanded": pe
4714
- }) : null, x.playbackRates.length > 0 || b.languages.length > 1 || i ? /* @__PURE__ */ X(vd, {
4715
- playbackRate: x.playbackRate,
4716
- playbackRates: x.playbackRates,
4717
- onRateChange: x.setPlaybackRate,
4718
- disabled: l,
4719
- extraItems: i,
4720
- audioLanguages: b.languages,
4721
- audioLanguage: b.activeLocale,
4722
- onAudioLanguageChange: w
4711
+ label: pe(me),
4712
+ onClick: () => he(!me),
4713
+ "aria-expanded": me
4714
+ }) : null, S.playbackRates.length > 0 || x.languages.length > 1 || a ? /* @__PURE__ */ X(vd, {
4715
+ playbackRate: S.playbackRate,
4716
+ playbackRates: S.playbackRates,
4717
+ onRateChange: S.setPlaybackRate,
4718
+ disabled: u,
4719
+ extraItems: a,
4720
+ audioLanguages: x.languages,
4721
+ audioLanguage: x.activeLocale,
4722
+ onAudioLanguageChange: T
4723
4723
  }) : null]
4724
4724
  }) : null]
4725
4725
  }),
4726
4726
  /* @__PURE__ */ Z("div", {
4727
4727
  className: "flex w-full items-center gap-2",
4728
4728
  children: [/* @__PURE__ */ X(pd, {
4729
- currentTime: x.currentTime,
4730
- duration: x.duration,
4731
- buffered: x.buffered,
4732
- disabled: l,
4733
- onSeek: se
4729
+ currentTime: S.currentTime,
4730
+ duration: S.duration,
4731
+ buffered: S.buffered,
4732
+ disabled: u,
4733
+ onSeek: ce
4734
4734
  }), /* @__PURE__ */ X(gd, {
4735
- currentTime: x.currentTime,
4736
- duration: x.duration,
4737
- size: d
4735
+ currentTime: S.currentTime,
4736
+ duration: S.duration,
4737
+ size: f
4738
4738
  })]
4739
4739
  }),
4740
- ue ? /* @__PURE__ */ Z(jn.div, {
4740
+ de ? /* @__PURE__ */ Z(An.div, {
4741
4741
  role: "region",
4742
- "aria-label": de ? de.label : y.audioPlayer.details,
4742
+ "aria-label": fe ? fe.label : b.audioPlayer.details,
4743
4743
  initial: !1,
4744
4744
  animate: {
4745
- height: pe ? "auto" : 0,
4746
- marginTop: pe ? 0 : "-0.625rem",
4747
- opacity: +!!pe,
4748
- visibility: pe ? "visible" : "hidden"
4745
+ height: me ? "auto" : 0,
4746
+ marginTop: me ? 0 : "-0.625rem",
4747
+ opacity: +!!me,
4748
+ visibility: me ? "visible" : "hidden"
4749
4749
  },
4750
4750
  transition: {
4751
- duration: C ? 0 : .15,
4751
+ duration: w ? 0 : .15,
4752
4752
  ease: [
4753
4753
  .165,
4754
4754
  .84,
@@ -4758,34 +4758,34 @@ var wd = (e) => {
4758
4758
  },
4759
4759
  className: "overflow-hidden",
4760
4760
  children: [
4761
- E.length > 1 && k ? /* @__PURE__ */ X("div", {
4761
+ D.length > 1 && A ? /* @__PURE__ */ X("div", {
4762
4762
  className: "flex justify-end pb-2.5",
4763
4763
  children: /* @__PURE__ */ X(md, {
4764
- value: k,
4765
- options: E,
4766
- onChange: O,
4767
- kind: y.audioPlayer.language
4764
+ value: A,
4765
+ options: D,
4766
+ onChange: k,
4767
+ kind: b.audioPlayer.language
4768
4768
  })
4769
4769
  }) : null,
4770
- de ? null : /* @__PURE__ */ X(Xe, {
4770
+ fe ? null : /* @__PURE__ */ X(t, {
4771
4771
  fullWidth: !0,
4772
- ariaLabel: y.audioPlayer.details,
4773
- value: _e,
4774
- onChange: ge,
4775
- items: ce.map((e) => ({
4772
+ ariaLabel: b.audioPlayer.details,
4773
+ value: ve,
4774
+ onChange: _e,
4775
+ items: le.map((e) => ({
4776
4776
  value: e.value,
4777
4777
  label: e.label
4778
4778
  }))
4779
4779
  }),
4780
4780
  /* @__PURE__ */ X("div", {
4781
- className: de ? void 0 : "pt-2.5",
4782
- children: /* @__PURE__ */ X(Oo, {
4783
- viewportRef: I,
4784
- style: { "--audio-details-max-h": `${v}px` },
4781
+ className: fe ? void 0 : "pt-2.5",
4782
+ children: /* @__PURE__ */ X(wo, {
4783
+ viewportRef: ae,
4784
+ style: { "--audio-details-max-h": `${y}px` },
4785
4785
  className: "[&_[data-scroll-container]]:max-h-[var(--audio-details-max-h)]",
4786
4786
  children: /* @__PURE__ */ X("div", {
4787
4787
  className: "break-words pr-1 text-base text-f1-foreground",
4788
- children: ve
4788
+ children: ye
4789
4789
  })
4790
4790
  })
4791
4791
  })
@@ -4797,7 +4797,7 @@ var wd = (e) => {
4797
4797
  Ed.displayName = "F0AudioPlayerCard";
4798
4798
  //#endregion
4799
4799
  //#region src/blocks/F0AudioPlayer/F0AudioPlayer.tsx
4800
- var Dd = Nn({
4800
+ var Dd = Mn({
4801
4801
  base: "flex w-full items-center",
4802
4802
  variants: { size: {
4803
4803
  sm: "gap-2",
@@ -4851,34 +4851,34 @@ var Dd = Nn({
4851
4851
  });
4852
4852
  });
4853
4853
  Od.displayName = "F0AudioPlayer";
4854
- var kd = qn("F0AudioPlayer", L(Od)), Ad = qn("F0AudioPlayerCard", L(Ed)), jd = fn, Md = ({ actions: e }) => /* @__PURE__ */ X("div", {
4854
+ var kd = Kn("F0AudioPlayer", L(Od)), Ad = Kn("F0AudioPlayerCard", L(Ed)), jd = dn, Md = ({ actions: e }) => /* @__PURE__ */ X("div", {
4855
4855
  className: "flex items-center gap-2",
4856
- children: e.map((e, t) => {
4856
+ children: e.map((e, n) => {
4857
4857
  switch (e.type) {
4858
- case "segmentedControl": return /* @__PURE__ */ X(Xe, {
4858
+ case "segmentedControl": return /* @__PURE__ */ X(t, {
4859
4859
  items: e.items,
4860
4860
  value: e.value,
4861
4861
  onChange: e.onChange,
4862
4862
  disabled: e.disabled,
4863
4863
  ariaLabel: e.ariaLabel
4864
- }, t);
4865
- case "dropdown": return /* @__PURE__ */ X(Ta, {
4864
+ }, n);
4865
+ case "dropdown": return /* @__PURE__ */ X(wa, {
4866
4866
  items: e.items,
4867
4867
  disabled: e.disabled,
4868
4868
  children: /* @__PURE__ */ X(R, {
4869
4869
  variant: "outline",
4870
4870
  size: "sm",
4871
- icon: la,
4871
+ icon: Ei,
4872
4872
  label: e.ariaLabel,
4873
4873
  hideLabel: !0,
4874
4874
  disabled: e.disabled
4875
4875
  })
4876
- }, t);
4876
+ }, n);
4877
4877
  }
4878
4878
  })
4879
4879
  }), Nd = ({ item: e, open: t, onOpenChange: n }) => {
4880
- let r = hn(), i = V().t(t ? "actions.collapseItem" : "actions.expandItem", { title: e.title }), a = !!e.actions && e.actions.length > 0;
4881
- return /* @__PURE__ */ X(Ni, {
4880
+ let r = mn(), i = V().t(t ? "actions.collapseItem" : "actions.expandItem", { title: e.title }), a = !!e.actions && e.actions.length > 0;
4881
+ return /* @__PURE__ */ X(Ii, {
4882
4882
  open: t,
4883
4883
  onOpenChange: n,
4884
4884
  asChild: !0,
@@ -4886,11 +4886,11 @@ var kd = qn("F0AudioPlayer", L(Od)), Ad = qn("F0AudioPlayerCard", L(Ed)), jd = f
4886
4886
  className: "flex flex-col",
4887
4887
  children: [/* @__PURE__ */ Z("div", {
4888
4888
  className: "flex items-center",
4889
- children: [/* @__PURE__ */ X(_a, {
4889
+ children: [/* @__PURE__ */ X(ga, {
4890
4890
  asChild: !0,
4891
4891
  children: /* @__PURE__ */ X("button", {
4892
4892
  type: "button",
4893
- className: H("flex flex-1 min-w-0 items-center py-3 pl-4 pr-2 text-left", or()),
4893
+ className: H("flex flex-1 min-w-0 items-center py-3 pl-4 pr-2 text-left", lr()),
4894
4894
  children: /* @__PURE__ */ X("span", {
4895
4895
  className: "flex-1 truncate font-medium text-f1-foreground",
4896
4896
  children: e.title
@@ -4904,21 +4904,21 @@ var kd = qn("F0AudioPlayer", L(Od)), Ad = qn("F0AudioPlayerCard", L(Ed)), jd = f
4904
4904
  children: e.summary
4905
4905
  }) : null,
4906
4906
  a ? /* @__PURE__ */ X(Md, { actions: e.actions }) : null,
4907
- /* @__PURE__ */ X(_a, {
4907
+ /* @__PURE__ */ X(ga, {
4908
4908
  asChild: !0,
4909
4909
  children: /* @__PURE__ */ X(R, {
4910
4910
  variant: "outline",
4911
4911
  size: "sm",
4912
- icon: t ? Ho : ko,
4912
+ icon: t ? Ho : Ao,
4913
4913
  label: i,
4914
4914
  hideLabel: !0
4915
4915
  })
4916
4916
  })
4917
4917
  ]
4918
4918
  })]
4919
- }), /* @__PURE__ */ X(wn, {
4919
+ }), /* @__PURE__ */ X(Cn, {
4920
4920
  initial: !1,
4921
- children: t ? /* @__PURE__ */ X(jn.div, {
4921
+ children: t ? /* @__PURE__ */ X(An.div, {
4922
4922
  initial: {
4923
4923
  height: 0,
4924
4924
  opacity: 0
@@ -4957,7 +4957,7 @@ var kd = qn("F0AudioPlayer", L(Od)), Ad = qn("F0AudioPlayerCard", L(Ed)), jd = f
4957
4957
  children: [/* @__PURE__ */ X(B, { className: "h-4 flex-1 max-w-48" }), /* @__PURE__ */ X(B, { className: "ml-auto h-7 w-7 shrink-0 rounded" })]
4958
4958
  })] }, t))
4959
4959
  }), Fd = gc((e, t) => {
4960
- 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] = Gn({
4960
+ 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({
4961
4961
  prop: r,
4962
4962
  defaultProp: s,
4963
4963
  onChange: a
@@ -4977,31 +4977,31 @@ var kd = qn("F0AudioPlayer", L(Od)), Ad = qn("F0AudioPlayerCard", L(Ed)), jd = f
4977
4977
  });
4978
4978
  });
4979
4979
  Fd.displayName = "F0Accordion";
4980
- var Id = L(qn("F0Accordion", Qi(Fd, Pd))), Ld = [
4980
+ var Id = L(Kn("F0Accordion", $i(Fd, Pd))), Ld = [
4981
4981
  "info",
4982
4982
  "warning",
4983
4983
  "critical",
4984
4984
  "positive"
4985
4985
  ], Rd = ({ count: e, list: t }) => {
4986
4986
  let [n, r] = J(!1), i = /* @__PURE__ */ X(Ro, { label: `+${e}` });
4987
- return t?.length ? /* @__PURE__ */ Z(Yn, {
4987
+ return t?.length ? /* @__PURE__ */ Z(Jn, {
4988
4988
  open: n,
4989
4989
  onOpenChange: r,
4990
- children: [/* @__PURE__ */ X(En, {
4990
+ children: [/* @__PURE__ */ X(Tn, {
4991
4991
  asChild: !0,
4992
4992
  children: /* @__PURE__ */ X("button", {
4993
- className: or("inline-flex flex-shrink-0 items-center"),
4993
+ className: lr("inline-flex flex-shrink-0 items-center"),
4994
4994
  children: i
4995
4995
  })
4996
- }), /* @__PURE__ */ X(Fn, {
4996
+ }), /* @__PURE__ */ X(Pn, {
4997
4997
  className: "rounded-md border border-solid border-f1-border-secondary p-1 shadow-md",
4998
4998
  align: "end",
4999
- children: /* @__PURE__ */ Z(Oo, {
4999
+ children: /* @__PURE__ */ Z(wo, {
5000
5000
  className: "[*[data-state=visible]_div]:bg-f1-background flex max-h-[172px] flex-col",
5001
5001
  children: [t.map((e, t) => /* @__PURE__ */ X("div", {
5002
5002
  className: "flex w-[220px] min-w-0 items-center gap-1.5 px-2 py-1 [&:first-child]:pt-2 [&:last-child]:pb-2",
5003
5003
  children: /* @__PURE__ */ X(Ro, { ...e })
5004
- }, t)), /* @__PURE__ */ X(Eo, {
5004
+ }, t)), /* @__PURE__ */ X(To, {
5005
5005
  orientation: "vertical",
5006
5006
  className: "[&_div]:bg-f1-background"
5007
5007
  })]
@@ -5013,7 +5013,7 @@ Rd.displayName = "ChipCounter";
5013
5013
  //#endregion
5014
5014
  //#region src/elements/F0ChipList/F0ChipList.tsx
5015
5015
  var zd = ({ chips: e, max: t = 4, remainingCount: n, layout: r = "compact" }) => {
5016
- if (r === "fill") return /* @__PURE__ */ X(Po, {
5016
+ if (r === "fill") return /* @__PURE__ */ X(So, {
5017
5017
  items: e,
5018
5018
  renderListItem: (e) => /* @__PURE__ */ X(Ro, { ...e }),
5019
5019
  renderDropdownItem: () => null,
@@ -5035,7 +5035,7 @@ var zd = ({ chips: e, max: t = 4, remainingCount: n, layout: r = "compact" }) =>
5035
5035
  });
5036
5036
  };
5037
5037
  zd.displayName = "F0ChipList";
5038
- var Bd = L(qn("F0ChipList", zd)), Vd = [
5038
+ var Bd = L(Kn("F0ChipList", zd)), Vd = [
5039
5039
  "blur",
5040
5040
  "escape",
5041
5041
  "commit",
@@ -5048,17 +5048,17 @@ var Bd = L(qn("F0ChipList", zd)), Vd = [
5048
5048
  "positive",
5049
5049
  "transparent"
5050
5050
  ], Wd = {
5051
- get: async (e) => JSON.parse(localStorage.getItem(ao(e)) ?? "{}"),
5051
+ get: async (e) => JSON.parse(localStorage.getItem(oo(e)) ?? "{}"),
5052
5052
  set: async (e, t) => {
5053
- localStorage.setItem(ao(e), JSON.stringify(t));
5053
+ localStorage.setItem(oo(e), JSON.stringify(t));
5054
5054
  }
5055
- }, Gd = ({ disableClose: e = !1, onClose: t, isOpen: n, children: r, 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 }) => {
5055
+ }, Gd = ({ disableClose: e = !1, onClose: t, isOpen: n, children: r, position: i = "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 }) => {
5056
5056
  let [b, x] = J(n);
5057
5057
  G(() => {
5058
5058
  x(n);
5059
5059
  }, [n]);
5060
5060
  let S = K(() => /* @__PURE__ */ Z(Y, { children: [
5061
- /* @__PURE__ */ X(i, {
5061
+ /* @__PURE__ */ X(a, {
5062
5062
  title: l,
5063
5063
  description: u,
5064
5064
  module: d,
@@ -5068,11 +5068,11 @@ var Bd = L(qn("F0ChipList", zd)), Vd = [
5068
5068
  setActiveTabId: g,
5069
5069
  disableClose: e
5070
5070
  }),
5071
- /* @__PURE__ */ X(ne, {
5071
+ /* @__PURE__ */ X(te, {
5072
5072
  disableContentPadding: _ ?? !1,
5073
5073
  children: r
5074
5074
  }),
5075
- /* @__PURE__ */ X(dt, {
5075
+ /* @__PURE__ */ X(ft, {
5076
5076
  primaryAction: s ?? [],
5077
5077
  secondaryAction: c ?? [],
5078
5078
  onClose: () => x(!1)
@@ -5091,10 +5091,10 @@ var Bd = L(qn("F0ChipList", zd)), Vd = [
5091
5091
  s,
5092
5092
  c
5093
5093
  ]);
5094
- return /* @__PURE__ */ X(mt, {
5094
+ return /* @__PURE__ */ X(ht, {
5095
5095
  isOpen: b,
5096
5096
  onClose: t,
5097
- position: a,
5097
+ position: i,
5098
5098
  size: o,
5099
5099
  modal: m,
5100
5100
  showOverlay: m,
@@ -5104,7 +5104,7 @@ var Bd = L(qn("F0ChipList", zd)), Vd = [
5104
5104
  onWidthChange: y,
5105
5105
  children: S
5106
5106
  });
5107
- }, Kd = ie, qd = (e) => {
5107
+ }, Kd = re, qd = (e) => {
5108
5108
  let t = Kd.reduce((e, t) => {
5109
5109
  let { [t]: n, ...r } = e;
5110
5110
  return r;
@@ -5112,7 +5112,7 @@ var Bd = L(qn("F0ChipList", zd)), Vd = [
5112
5112
  return /* @__PURE__ */ X(Gd, { ...t });
5113
5113
  };
5114
5114
  qd.displayName = "F0Drawer";
5115
- var Jd = qn("F0Drawer", qd), Yd = 388;
5115
+ var Jd = Kn("F0Drawer", qd), Yd = 388;
5116
5116
  function Xd({ filters: e, value: t, onChange: n, height: r, width: i = 600, className: a, showApplyButton: o = !0, applyButtonLabel: s, dataTestId: c }) {
5117
5117
  let l = V(), u = Object.keys(e)[0] ?? null, [d, f] = J(u), [p, m] = J(t);
5118
5118
  G(() => {
@@ -5149,7 +5149,7 @@ function Xd({ filters: e, value: t, onChange: n, height: r, width: i = 600, clas
5149
5149
  let r = Js(n.type);
5150
5150
  return Math.max(e, r?.formHeight || Yd);
5151
5151
  }, 0), [e, r]);
5152
- return !e || Object.keys(e).length === 0 ? null : /* @__PURE__ */ X(In, {
5152
+ return !e || Object.keys(e).length === 0 ? null : /* @__PURE__ */ X(Fn, {
5153
5153
  dataTestId: c,
5154
5154
  children: /* @__PURE__ */ X("div", {
5155
5155
  className: H("overflow-hidden rounded-xl border border-solid border-f1-border-secondary bg-f1-background", a),
@@ -5175,9 +5175,9 @@ var Zd = Xd;
5175
5175
  function Qd(e) {
5176
5176
  let t = ya(e).shape, n = [];
5177
5177
  for (let [e, r] of Object.entries(t)) {
5178
- let t = r, i = Hi(t);
5178
+ let t = r, i = Ui(t);
5179
5179
  if (!i) continue;
5180
- let a = Bi(t, i), o = Be(t, a), s = {
5180
+ let a = Hi(t, i), o = Be(t, a), s = {
5181
5181
  name: e,
5182
5182
  type: a,
5183
5183
  label: i.label,
@@ -5251,8 +5251,8 @@ function ef(e) {
5251
5251
  ...e
5252
5252
  }, i = ya(t), a = [];
5253
5253
  for (let [e, t] of Object.entries(i.shape)) {
5254
- let n = Hi(t);
5255
- n?.renderIf ? Ne(n.renderIf, r) && a.push(e) : a.push(e);
5254
+ let n = Ui(t);
5255
+ n?.renderIf ? Pe(n.renderIf, r) && a.push(e) : a.push(e);
5256
5256
  }
5257
5257
  return a;
5258
5258
  },
@@ -5295,12 +5295,12 @@ var nf = ({ isOpen: e = !1, onClose: t = () => {}, type: n, title: r, descriptio
5295
5295
  modal: !0,
5296
5296
  children: /* @__PURE__ */ Z("div", {
5297
5297
  className: "flex flex-col gap-4 py-2",
5298
- children: [/* @__PURE__ */ X(Na, {
5298
+ children: [/* @__PURE__ */ X(Pa, {
5299
5299
  type: n,
5300
5300
  size: "lg"
5301
5301
  }), /* @__PURE__ */ Z("div", {
5302
5302
  className: "flex flex-col gap-0.5",
5303
- children: [/* @__PURE__ */ X(La, {
5303
+ children: [/* @__PURE__ */ X(Ra, {
5304
5304
  className: "text-xl sm:text-lg",
5305
5305
  children: r
5306
5306
  }), /* @__PURE__ */ X(M, {
@@ -5426,12 +5426,12 @@ var nf = ({ isOpen: e = !1, onClose: t = () => {}, type: n, title: r, descriptio
5426
5426
  });
5427
5427
  }, [n]), /* @__PURE__ */ Z(Y, { children: [o && typeof document < "u" ? Tc(/* @__PURE__ */ X(of, { items: t }), document.body) : null, e] });
5428
5428
  }, cf = 200, lf = ({ children: e }) => {
5429
- let t = Cc(ye.subscribe, ye.getSnapshot, ye.getServerSnapshot), [n, r] = J(null);
5429
+ let t = Cc(be.subscribe, be.getSnapshot, be.getServerSnapshot), [n, r] = J(null);
5430
5430
  G(() => {
5431
- let e = ye.acquireRenderer();
5431
+ let e = be.acquireRenderer();
5432
5432
  return r(e.id), e.release;
5433
5433
  }, []);
5434
- let i = Cc(ye.subscribeRenderer, ye.getActiveRendererId, () => null);
5434
+ let i = Cc(be.subscribeRenderer, be.getActiveRendererId, () => null);
5435
5435
  return /* @__PURE__ */ Z(Y, { children: [n !== null && n === i && typeof document < "u" ? Tc(/* @__PURE__ */ X(uf, { items: t }), document.body) : null, e] });
5436
5436
  }, uf = ({ items: e }) => {
5437
5437
  let [t, n] = J(e), r = q(e), i = q(/* @__PURE__ */ new Map());
@@ -5472,9 +5472,9 @@ function df({ children: e }) {
5472
5472
  registerInlineRow: void 0,
5473
5473
  nullableEmptyFields: void 0
5474
5474
  }, [t]);
5475
- return /* @__PURE__ */ X(yt.Provider, {
5475
+ return /* @__PURE__ */ X(bt.Provider, {
5476
5476
  value: n,
5477
- children: /* @__PURE__ */ X(je.Provider, {
5477
+ children: /* @__PURE__ */ X(Me.Provider, {
5478
5478
  value: null,
5479
5479
  children: e
5480
5480
  })
@@ -5502,7 +5502,7 @@ function ff({ field: e, value: t, onChange: n, onBlur: r, error: i, errorMessage
5502
5502
  }, b = e.type === "file" ? d : void 0;
5503
5503
  return f ? /* @__PURE__ */ X(df, { children: /* @__PURE__ */ X("div", {
5504
5504
  id: p,
5505
- children: /* @__PURE__ */ X(Ot, { children: /* @__PURE__ */ X(ae, {
5505
+ children: /* @__PURE__ */ X(Ot, { children: /* @__PURE__ */ X(I, {
5506
5506
  field: y,
5507
5507
  formField: g,
5508
5508
  fieldState: _,
@@ -5527,7 +5527,7 @@ function ff({ field: e, value: t, onChange: n, onBlur: r, error: i, errorMessage
5527
5527
  children: "*"
5528
5528
  }) : null]
5529
5529
  }) : null,
5530
- pt({
5530
+ mt({
5531
5531
  field: y,
5532
5532
  formField: g,
5533
5533
  fieldState: _,
@@ -5562,7 +5562,7 @@ function hf({ children: e, ...t }) {
5562
5562
  }
5563
5563
  //#endregion
5564
5564
  //#region src/blocks/F0Wizard/components/WizardSteps.tsx
5565
- var gf = Nn({
5565
+ var gf = Mn({
5566
5566
  base: "flex-1 text-base font-medium leading-5 tracking-[-0.005em]",
5567
5567
  variants: { state: {
5568
5568
  active: "text-f1-foreground",
@@ -5577,7 +5577,7 @@ function vf({ state: e, index: t }) {
5577
5577
  return e === "completed" ? /* @__PURE__ */ X("span", {
5578
5578
  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",
5579
5579
  children: /* @__PURE__ */ X(rc, { className: "h-3 w-3" })
5580
- }) : /* @__PURE__ */ X(xn, {
5580
+ }) : /* @__PURE__ */ X(bn, {
5581
5581
  value: t + 1,
5582
5582
  type: e === "active" ? "selected" : "default",
5583
5583
  size: "md"
@@ -5600,7 +5600,7 @@ function yf() {
5600
5600
  },
5601
5601
  disabled: !u && a !== t,
5602
5602
  "aria-current": a === t ? "step" : void 0,
5603
- className: H(or(), "flex cursor-pointer items-center gap-2 rounded p-2 text-left", s === "active" && "bg-f1-background-selected", u && "hover:bg-f1-background-secondary-hover", !u && a !== t && "cursor-default opacity-70"),
5603
+ className: H(lr(), "flex cursor-pointer items-center gap-2 rounded p-2 text-left", s === "active" && "bg-f1-background-selected", u && "hover:bg-f1-background-secondary-hover", !u && a !== t && "cursor-default opacity-70"),
5604
5604
  children: [/* @__PURE__ */ X(vf, {
5605
5605
  state: s,
5606
5606
  index: a
@@ -5687,7 +5687,7 @@ var xf = () => {}, Sf = ({ steps: e, children: t, isOpen: n, onClose: r = xf, ti
5687
5687
  onClose: r
5688
5688
  }), g = V(), _ = e[h.currentStep], v = h.currentStep === 0, y = h.currentStep === e.length - 1, b = y ? _?.nextLabel ?? l ?? g.wizard.submit : _?.nextLabel ?? s ?? g.wizard.next, x = _?.previousLabel ?? c ?? g.wizard.previous, S = K(() => ({
5689
5689
  label: b,
5690
- icon: y ? void 0 : Ca,
5690
+ icon: y ? void 0 : aa,
5691
5691
  onClick: () => void h.goNext(),
5692
5692
  disabled: _?.isCompleted?.() === !1 || _?.hasErrors?.() === !0,
5693
5693
  loading: h.loading
@@ -5706,7 +5706,7 @@ var xf = () => {}, Sf = ({ steps: e, children: t, isOpen: n, onClose: r = xf, ti
5706
5706
  x,
5707
5707
  h
5708
5708
  ]);
5709
- return /* @__PURE__ */ X(we, {
5709
+ return /* @__PURE__ */ X(Te, {
5710
5710
  isOpen: n,
5711
5711
  onClose: r,
5712
5712
  size: a,
@@ -5745,13 +5745,13 @@ Sf.displayName = "F0Wizard", L(Sf);
5745
5745
  //#region src/blocks/F0WizardForm/F0WizardForm.tsx
5746
5746
  function Cf(e) {
5747
5747
  let t = ya(e).shape, n = Object.entries(t);
5748
- return n.length !== 0 && n.every(([, e]) => Hi(e)?.disabled === !0);
5748
+ return n.length !== 0 && n.every(([, e]) => Ui(e)?.disabled === !0);
5749
5749
  }
5750
5750
  function wf(e, t) {
5751
5751
  if (t) return Object.keys(t);
5752
5752
  let n = ya(e).shape, r = /* @__PURE__ */ new Set();
5753
5753
  for (let e of Object.values(n)) {
5754
- let t = Hi(e);
5754
+ let t = Ui(e);
5755
5755
  t?.section && r.add(t.section);
5756
5756
  }
5757
5757
  return Array.from(r);
@@ -5759,7 +5759,7 @@ function wf(e, t) {
5759
5759
  function Tf(e, t) {
5760
5760
  let n = e.shape, r = {};
5761
5761
  for (let [e, i] of Object.entries(n)) {
5762
- let n = Hi(i);
5762
+ let n = Ui(i);
5763
5763
  n?.section && t.includes(n.section) && (r[e] = i);
5764
5764
  }
5765
5765
  return ua(r);
@@ -5787,7 +5787,7 @@ function Of() {
5787
5787
  }, []), s = t === "success" ? r ?? e.actionBar.saved : void 0;
5788
5788
  return {
5789
5789
  showSuccess: o,
5790
- ActionBar: K(() => /* @__PURE__ */ X(Ct, {
5790
+ ActionBar: K(() => /* @__PURE__ */ X(Bt, {
5791
5791
  isOpen: t === "success",
5792
5792
  variant: "light",
5793
5793
  status: t,
@@ -5963,7 +5963,7 @@ function jf({ formDefinition: e, steps: t, isOpen: n, onClose: r, title: i, widt
5963
5963
  }
5964
5964
  });
5965
5965
  }
5966
- function Mf({ sectionId: e, formName: t, schema: n, sectionConfig: r, defaultValues: i, onSubmit: a, submitConfig: o, errorTriggerMode: s, sectionForms: c, onErrorStateChange: l, renderCustomField: u, isLoading: f }) {
5966
+ function Mf({ sectionId: e, formName: t, schema: n, sectionConfig: r, defaultValues: i, onSubmit: a, submitConfig: o, errorTriggerMode: s, sectionForms: c, onErrorStateChange: l, renderCustomField: u, isLoading: d }) {
5967
5967
  let p = Ke();
5968
5968
  G(() => (c[e] = p, () => {
5969
5969
  c[e] = null;
@@ -5975,7 +5975,7 @@ function Mf({ sectionId: e, formName: t, schema: n, sectionConfig: r, defaultVal
5975
5975
  let m = q(l);
5976
5976
  return m.current = l, G(() => {
5977
5977
  m.current(p.hasErrors);
5978
- }, [p.hasErrors]), /* @__PURE__ */ X(d, {
5978
+ }, [p.hasErrors]), /* @__PURE__ */ X(f, {
5979
5979
  formName: t,
5980
5980
  sectionId: e,
5981
5981
  schema: n,
@@ -5989,7 +5989,7 @@ function Mf({ sectionId: e, formName: t, schema: n, sectionConfig: r, defaultVal
5989
5989
  errorTriggerMode: s,
5990
5990
  formRef: p.formRef,
5991
5991
  renderCustomField: u,
5992
- isLoading: f
5992
+ isLoading: d
5993
5993
  });
5994
5994
  }
5995
5995
  function Nf({ formDefinition: e, steps: t, isOpen: n, onClose: r, title: i, width: a, size: o, defaultStepIndex: s, nextLabel: c, previousLabel: l, onStepChanged: u, allowStepSkipping: d, autoCloseOnLastStepSubmit: f, linkAfterLastStepSubmit: p, autoSkipCompletedSteps: h = !1, renderCustomField: g }) {
@@ -6144,10 +6144,10 @@ function Rf({ options: e, isOpen: t, onResolve: n }) {
6144
6144
  }
6145
6145
  function zf(e) {
6146
6146
  return new Promise((t) => {
6147
- let n = e.id ?? p(), r = !1, i = (e) => {
6148
- r || (r = !0, t(e), C(n));
6147
+ let n = e.id ?? g(), r = !1, i = (e) => {
6148
+ r || (r = !0, t(e), w(n));
6149
6149
  };
6150
- Se({
6150
+ Ce({
6151
6151
  id: n,
6152
6152
  onDismiss: () => i({ completed: !1 }),
6153
6153
  render: ({ isOpen: t }) => /* @__PURE__ */ X(Rf, {
@@ -6162,7 +6162,7 @@ function zf(e) {
6162
6162
  //#region src/facade/forms/forms.ts
6163
6163
  function Bf(e) {
6164
6164
  let { mode: t, ...n } = e;
6165
- return t === "wizard" ? zf(n) : c(n);
6165
+ return t === "wizard" ? zf(n) : l(n);
6166
6166
  }
6167
6167
  var Vf = { open: Bf }, Hf = [
6168
6168
  "page-width",
@@ -6188,8 +6188,8 @@ var Vf = { open: Bf }, Hf = [
6188
6188
  className: "flex justify-between text-sm text-f1-foreground-secondary",
6189
6189
  children: [/* @__PURE__ */ X("span", { children: e }), /* @__PURE__ */ X("span", { children: t })]
6190
6190
  }), Kf = ({ visible: e, content: t, style: n }) => {
6191
- let r = hn() ? 0 : .15;
6192
- return /* @__PURE__ */ X(wn, { children: e ? /* @__PURE__ */ X(jn.div, {
6191
+ let r = mn() ? 0 : .15;
6192
+ return /* @__PURE__ */ X(Cn, { children: e ? /* @__PURE__ */ X(An.div, {
6193
6193
  initial: {
6194
6194
  opacity: 0,
6195
6195
  x: "-50%",
@@ -6221,7 +6221,7 @@ var Vf = { open: Bf }, Hf = [
6221
6221
  className: "flex items-center py-2",
6222
6222
  children: /* @__PURE__ */ X(B, { className: "h-1.5 w-full rounded-full" })
6223
6223
  })]
6224
- }), Jf = Nn({
6224
+ }), Jf = Mn({
6225
6225
  base: "relative h-1.5 grow overflow-hidden rounded-full bg-f1-background-tertiary",
6226
6226
  variants: { status: {
6227
6227
  default: "",
@@ -6229,7 +6229,7 @@ var Vf = { open: Bf }, Hf = [
6229
6229
  info: "",
6230
6230
  error: ""
6231
6231
  } }
6232
- }), Yf = Nn({
6232
+ }), Yf = Mn({
6233
6233
  base: "absolute h-full",
6234
6234
  variants: {
6235
6235
  status: {
@@ -6243,7 +6243,7 @@ var Vf = { open: Bf }, Hf = [
6243
6243
  false: ""
6244
6244
  }
6245
6245
  }
6246
- }), Xf = 20, Zf = Nn({
6246
+ }), Xf = 20, Zf = Mn({
6247
6247
  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"),
6248
6248
  variants: {
6249
6249
  status: {
@@ -6262,7 +6262,7 @@ var Vf = { open: Bf }, Hf = [
6262
6262
  G(() => {
6263
6263
  process.env.NODE_ENV !== "production" && !T && console.warn("F0Slider: provide a non-empty `label` or `ariaLabel` for accessibility.");
6264
6264
  }, [T]);
6265
- let [E, D] = Gn({
6265
+ let [E, D] = Wn({
6266
6266
  prop: u,
6267
6267
  defaultProp: d ?? m,
6268
6268
  onChange: f
@@ -6330,7 +6330,7 @@ var Vf = { open: Bf }, Hf = [
6330
6330
  className: H(Zf({
6331
6331
  status: I,
6332
6332
  disabled: c
6333
- }), or("focus-visible:ring-offset-1")),
6333
+ }), lr("focus-visible:ring-offset-1")),
6334
6334
  onFocus: () => te(!F.current),
6335
6335
  onBlur: () => te(!1)
6336
6336
  }),
@@ -6355,7 +6355,7 @@ var Vf = { open: Bf }, Hf = [
6355
6355
  });
6356
6356
  });
6357
6357
  Qf.displayName = "F0Slider";
6358
- var $f = qn("F0Slider", Qi(L(Qf), qf)), ep = [
6358
+ var $f = Kn("F0Slider", $i(L(Qf), qf)), ep = [
6359
6359
  "completed",
6360
6360
  "in-progress",
6361
6361
  "not-started"
@@ -6375,7 +6375,7 @@ var $f = qn("F0Slider", Qi(L(Qf), qf)), ep = [
6375
6375
  "grey",
6376
6376
  "orange",
6377
6377
  "radical"
6378
- ], np = 16, rp = Nn({
6378
+ ], np = 16, rp = Mn({
6379
6379
  base: "h-0.5 rounded-full bg-f1-foreground cursor-pointer",
6380
6380
  variants: {
6381
6381
  depth: {
@@ -6472,7 +6472,7 @@ function cp(e, t) {
6472
6472
  }
6473
6473
  //#endregion
6474
6474
  //#region src/blocks/F0TableOfContentPopover/F0TableOfContentPopover.tsx
6475
- var lp = 300, up = 0, dp = Nn({
6475
+ var lp = 300, up = 0, dp = Mn({
6476
6476
  base: "w-auto overflow-y-auto rounded-lg border border-solid border-f1-border-secondary bg-f1-background p-0 shadow-lg",
6477
6477
  variants: { size: {
6478
6478
  sm: "max-h-[240px]",
@@ -6500,7 +6500,7 @@ function fp({ title: e, items: t, className: n, activeItem: r, collapsible: i =
6500
6500
  children: [/* @__PURE__ */ X(ms, {
6501
6501
  asChild: !0,
6502
6502
  children: /* @__PURE__ */ X("button", {
6503
- className: H(or(), "flex cursor-pointer items-center rounded-md px-1.5 py-1", n),
6503
+ className: H(lr(), "flex cursor-pointer items-center rounded-md px-1.5 py-1", n),
6504
6504
  "aria-label": e ?? "Menu",
6505
6505
  children: /* @__PURE__ */ X(op, {
6506
6506
  items: t,
@@ -6529,7 +6529,7 @@ function fp({ title: e, items: t, className: n, activeItem: r, collapsible: i =
6529
6529
  })]
6530
6530
  });
6531
6531
  }
6532
- var pp = L(qn("F0TableOfContentPopover", fp));
6532
+ var pp = L(Kn("F0TableOfContentPopover", fp));
6533
6533
  //#endregion
6534
6534
  //#region src/domains/talent/surveys/surveys/SurveyFormBuilder/Form/utils.ts
6535
6535
  function mp(e) {
@@ -6609,7 +6609,7 @@ function _p(e) {
6609
6609
  }
6610
6610
  //#endregion
6611
6611
  //#region src/domains/talent/surveys/surveys/SurveyFormBuilder/ApplyingChangesTag/ApplyingChangesTag.tsx
6612
- var vp = jn.create(wi), yp = vc(() => {
6612
+ var vp = An.create(wi), yp = vc(() => {
6613
6613
  let e = V();
6614
6614
  return /* @__PURE__ */ Z("div", {
6615
6615
  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",
@@ -6961,12 +6961,12 @@ var Pp = () => {
6961
6961
  let { isQuestionTypeAllowed: e, datasets: t } = Ap(), { t: n } = V(), r = [
6962
6962
  {
6963
6963
  label: n("surveyFormBuilder.questionTypes.rating"),
6964
- icon: Oa,
6964
+ icon: Ha,
6965
6965
  questionType: "rating"
6966
6966
  },
6967
6967
  {
6968
6968
  label: n("surveyFormBuilder.questionTypes.multipleChoice"),
6969
- icon: oa,
6969
+ icon: fo,
6970
6970
  questionType: "multi-select"
6971
6971
  },
6972
6972
  {
@@ -6976,32 +6976,32 @@ var Pp = () => {
6976
6976
  },
6977
6977
  {
6978
6978
  label: n("surveyFormBuilder.questionTypes.text"),
6979
- icon: Wa,
6979
+ icon: Qa,
6980
6980
  questionType: "text"
6981
6981
  },
6982
6982
  {
6983
6983
  label: n("surveyFormBuilder.questionTypes.longText"),
6984
- icon: Sa,
6984
+ icon: ia,
6985
6985
  questionType: "longText"
6986
6986
  },
6987
6987
  {
6988
6988
  label: n("surveyFormBuilder.questionTypes.numeric"),
6989
- icon: Ei,
6989
+ icon: Ri,
6990
6990
  questionType: "numeric"
6991
6991
  },
6992
6992
  {
6993
6993
  label: n("surveyFormBuilder.questionTypes.link"),
6994
- icon: na,
6994
+ icon: hi,
6995
6995
  questionType: "link"
6996
6996
  },
6997
6997
  {
6998
6998
  label: n("surveyFormBuilder.questionTypes.date"),
6999
- icon: Vi,
6999
+ icon: Xa,
7000
7000
  questionType: "date"
7001
7001
  },
7002
7002
  {
7003
7003
  label: n("surveyFormBuilder.questionTypes.file"),
7004
- icon: ba,
7004
+ icon: va,
7005
7005
  questionType: "file"
7006
7006
  },
7007
7007
  {
@@ -7011,23 +7011,23 @@ var Pp = () => {
7011
7011
  }
7012
7012
  ].filter((t) => e(t.questionType)), i = e("dropdown-single") ? Object.entries(t ?? {}).map(([e, t]) => ({
7013
7013
  label: t.title,
7014
- icon: t.icon ?? ko,
7014
+ icon: t.icon ?? Ao,
7015
7015
  questionType: "dropdown-single",
7016
7016
  datasetKey: e
7017
7017
  })) : [];
7018
7018
  return [...r, ...i];
7019
7019
  }, Fp = {
7020
- rating: Oa,
7021
- "multi-select": oa,
7020
+ rating: Ha,
7021
+ "multi-select": fo,
7022
7022
  select: rc,
7023
- text: Wa,
7024
- longText: Sa,
7025
- numeric: Ei,
7026
- link: na,
7027
- date: Vi,
7028
- "dropdown-single": ko,
7029
- "dropdown-multi": ko,
7030
- file: ba,
7023
+ text: Qa,
7024
+ longText: ia,
7025
+ numeric: Ri,
7026
+ link: hi,
7027
+ date: Xa,
7028
+ "dropdown-single": Ao,
7029
+ "dropdown-multi": Ao,
7030
+ file: va,
7031
7031
  checkbox: As
7032
7032
  }, Ip = () => {
7033
7033
  let { disabled: e, answering: t, onAddNewElement: n, isQuestionTypeAllowed: r, labels: i } = Ap(), [a, o] = J(!1), s = Pp(), { t: c } = V(), l = i?.addQuestion ?? c("surveyFormBuilder.actions.addQuestion"), u = (e, t) => {
@@ -7040,28 +7040,28 @@ var Pp = () => {
7040
7040
  }, f = s.filter((e) => !e.datasetKey), p = Array.from(new Set(s.filter((e) => !!e.datasetKey).map((e) => e.datasetKey)));
7041
7041
  return e || t ? null : /* @__PURE__ */ X("div", {
7042
7042
  className: "ml-6 flex justify-center",
7043
- children: /* @__PURE__ */ Z(on, {
7043
+ children: /* @__PURE__ */ Z(an, {
7044
7044
  open: a,
7045
7045
  onOpenChange: o,
7046
- children: [/* @__PURE__ */ X(yn, {
7046
+ children: [/* @__PURE__ */ X(vn, {
7047
7047
  asChild: !0,
7048
7048
  children: /* @__PURE__ */ X(R, {
7049
- icon: _o,
7049
+ icon: vo,
7050
7050
  label: l,
7051
7051
  size: "md",
7052
7052
  variant: "outline",
7053
7053
  hideLabel: !0
7054
7054
  })
7055
- }), /* @__PURE__ */ Z(Ln, {
7055
+ }), /* @__PURE__ */ Z(In, {
7056
7056
  align: "center",
7057
7057
  className: "w-80",
7058
7058
  children: [
7059
- /* @__PURE__ */ X(gn, {
7059
+ /* @__PURE__ */ X(hn, {
7060
7060
  onClick: d,
7061
7061
  children: /* @__PURE__ */ Z("div", {
7062
7062
  className: "flex w-full flex-row items-center gap-2",
7063
7063
  children: [/* @__PURE__ */ X(z, {
7064
- icon: qa,
7064
+ icon: eo,
7065
7065
  color: "default"
7066
7066
  }), /* @__PURE__ */ X("span", {
7067
7067
  className: "flex-1 text-base font-medium",
@@ -7069,8 +7069,8 @@ var Pp = () => {
7069
7069
  })]
7070
7070
  })
7071
7071
  }),
7072
- /* @__PURE__ */ X(vn, {}),
7073
- f.map((e) => /* @__PURE__ */ X(gn, {
7072
+ /* @__PURE__ */ X(_n, {}),
7073
+ f.map((e) => /* @__PURE__ */ X(hn, {
7074
7074
  onClick: () => u(e.questionType),
7075
7075
  children: /* @__PURE__ */ Z("div", {
7076
7076
  className: "flex w-full flex-row items-center gap-2",
@@ -7083,9 +7083,9 @@ var Pp = () => {
7083
7083
  })]
7084
7084
  })
7085
7085
  }, e.questionType)),
7086
- p.length > 0 ? /* @__PURE__ */ Z(Y, { children: [/* @__PURE__ */ X(vn, {}), p.map((e) => {
7086
+ p.length > 0 ? /* @__PURE__ */ Z(Y, { children: [/* @__PURE__ */ X(_n, {}), p.map((e) => {
7087
7087
  let t = s.find((t) => t.datasetKey === e && t.questionType === "dropdown-single");
7088
- return /* @__PURE__ */ Z(er, { children: [/* @__PURE__ */ X(bn, {
7088
+ return /* @__PURE__ */ Z($n, { children: [/* @__PURE__ */ X(yn, {
7089
7089
  className: "mx-1 px-2 data-[state=open]:rounded-sm data-[state=closed]:bg-transparent data-[state=open]:bg-f1-background-hover",
7090
7090
  children: /* @__PURE__ */ Z("div", {
7091
7091
  className: "flex w-full flex-row items-center gap-2",
@@ -7097,7 +7097,7 @@ var Pp = () => {
7097
7097
  children: t?.label ?? e
7098
7098
  })]
7099
7099
  })
7100
- }), /* @__PURE__ */ X(un, { children: /* @__PURE__ */ Z(cn, { children: [r("dropdown-single") ? /* @__PURE__ */ X(gn, {
7100
+ }), /* @__PURE__ */ X(ln, { children: /* @__PURE__ */ Z(sn, { children: [r("dropdown-single") ? /* @__PURE__ */ X(hn, {
7101
7101
  onClick: () => u("dropdown-single", e),
7102
7102
  children: /* @__PURE__ */ Z("div", {
7103
7103
  className: "flex w-full flex-row items-center gap-2",
@@ -7109,12 +7109,12 @@ var Pp = () => {
7109
7109
  children: c("surveyFormBuilder.labels.singleSelection")
7110
7110
  })]
7111
7111
  })
7112
- }) : null, r("dropdown-multi") ? /* @__PURE__ */ X(gn, {
7112
+ }) : null, r("dropdown-multi") ? /* @__PURE__ */ X(hn, {
7113
7113
  onClick: () => u("dropdown-multi", e),
7114
7114
  children: /* @__PURE__ */ Z("div", {
7115
7115
  className: "flex w-full flex-row items-center gap-2",
7116
7116
  children: [/* @__PURE__ */ X(z, {
7117
- icon: oa,
7117
+ icon: fo,
7118
7118
  color: "default"
7119
7119
  }), /* @__PURE__ */ X("span", {
7120
7120
  className: "flex-1",
@@ -7262,7 +7262,7 @@ function Hp({ questionId: e, questionType: t, canDelete: n = !0 }) {
7262
7262
  }
7263
7263
  //#endregion
7264
7264
  //#region src/domains/talent/surveys/surveys/SurveyFormBuilder/QuestionTypes/BaseQuestion/ActionsMenu/ActionsMenu.tsx
7265
- var Up = ({ label: e, icon: t, checked: n, onChange: r }) => /* @__PURE__ */ X(gn, {
7265
+ var Up = ({ label: e, icon: t, checked: n, onChange: r }) => /* @__PURE__ */ X(hn, {
7266
7266
  className: "!pb-2.5 pr-4",
7267
7267
  onClick: (e) => {
7268
7268
  e.preventDefault(), r(!n);
@@ -7270,7 +7270,7 @@ var Up = ({ label: e, icon: t, checked: n, onChange: r }) => /* @__PURE__ */ X(g
7270
7270
  children: /* @__PURE__ */ Z("div", {
7271
7271
  className: "flex w-full flex-row items-center gap-2",
7272
7272
  children: [
7273
- /* @__PURE__ */ X(Dn, {
7273
+ /* @__PURE__ */ X(En, {
7274
7274
  icon: t,
7275
7275
  color: "default"
7276
7276
  }),
@@ -7288,13 +7288,13 @@ var Up = ({ label: e, icon: t, checked: n, onChange: r }) => /* @__PURE__ */ X(g
7288
7288
  })
7289
7289
  }), Wp = ({ label: e, value: t, currentDatasetKey: n, questionTypes: r, currentRatingType: i, isQuestionTypeAllowed: a, onSelectQuestionType: o, onSelectRatingType: s }) => {
7290
7290
  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;
7291
- return /* @__PURE__ */ Z(er, { children: [/* @__PURE__ */ X(bn, {
7291
+ return /* @__PURE__ */ Z($n, { children: [/* @__PURE__ */ X(yn, {
7292
7292
  className: "mx-1 px-2 data-[state=open]:rounded-sm data-[state=closed]:bg-transparent data-[state=open]:bg-f1-background-hover",
7293
7293
  children: /* @__PURE__ */ Z("div", {
7294
7294
  className: "flex w-full flex-row items-center gap-2",
7295
7295
  children: [
7296
- /* @__PURE__ */ X(Dn, {
7297
- icon: Ea,
7296
+ /* @__PURE__ */ X(En, {
7297
+ icon: qa,
7298
7298
  color: "default"
7299
7299
  }),
7300
7300
  /* @__PURE__ */ X("span", {
@@ -7307,14 +7307,14 @@ var Up = ({ label: e, icon: t, checked: n, onChange: r }) => /* @__PURE__ */ X(g
7307
7307
  }) : null
7308
7308
  ]
7309
7309
  })
7310
- }), /* @__PURE__ */ X(un, { children: /* @__PURE__ */ Z(cn, { children: [l.map((e) => {
7310
+ }), /* @__PURE__ */ X(ln, { children: /* @__PURE__ */ Z(sn, { children: [l.map((e) => {
7311
7311
  let r = e.questionType === "rating", a = t === e.questionType && !n;
7312
- return r ? /* @__PURE__ */ Z(er, { children: [/* @__PURE__ */ X(bn, {
7312
+ return r ? /* @__PURE__ */ Z($n, { children: [/* @__PURE__ */ X(yn, {
7313
7313
  className: "mx-1 mt-1 px-2 data-[state=open]:rounded-sm data-[state=closed]:bg-transparent data-[state=open]:bg-f1-background-hover",
7314
7314
  children: /* @__PURE__ */ Z("div", {
7315
7315
  className: "flex w-full flex-row items-center gap-2 text-base font-medium",
7316
7316
  children: [
7317
- /* @__PURE__ */ X(Dn, {
7317
+ /* @__PURE__ */ X(En, {
7318
7318
  icon: e.icon,
7319
7319
  color: "default"
7320
7320
  }),
@@ -7328,24 +7328,24 @@ var Up = ({ label: e, icon: t, checked: n, onChange: r }) => /* @__PURE__ */ X(g
7328
7328
  }) : null
7329
7329
  ]
7330
7330
  })
7331
- }), /* @__PURE__ */ X(un, { children: /* @__PURE__ */ X(cn, { children: Rp.map((e) => /* @__PURE__ */ X(gn, {
7331
+ }), /* @__PURE__ */ X(ln, { children: /* @__PURE__ */ X(sn, { children: Rp.map((e) => /* @__PURE__ */ X(hn, {
7332
7332
  onClick: () => s(e.value),
7333
7333
  children: /* @__PURE__ */ Z("div", {
7334
7334
  className: "flex w-full flex-row items-center gap-2 pl-2",
7335
7335
  children: [/* @__PURE__ */ X("span", {
7336
7336
  className: "flex-1",
7337
7337
  children: e.label
7338
- }), i === e.value ? /* @__PURE__ */ X(Dn, {
7338
+ }), i === e.value ? /* @__PURE__ */ X(En, {
7339
7339
  icon: rc,
7340
7340
  color: "default"
7341
7341
  }) : null]
7342
7342
  })
7343
- }, e.value)) }) })] }, e.questionType) : /* @__PURE__ */ X(gn, {
7343
+ }, e.value)) }) })] }, e.questionType) : /* @__PURE__ */ X(hn, {
7344
7344
  onClick: () => o(e.questionType),
7345
7345
  children: /* @__PURE__ */ Z("div", {
7346
7346
  className: "flex w-full flex-row items-center gap-2",
7347
7347
  children: [
7348
- /* @__PURE__ */ X(Dn, {
7348
+ /* @__PURE__ */ X(En, {
7349
7349
  icon: e.icon,
7350
7350
  color: "default"
7351
7351
  }),
@@ -7353,21 +7353,21 @@ var Up = ({ label: e, icon: t, checked: n, onChange: r }) => /* @__PURE__ */ X(g
7353
7353
  className: "flex-1",
7354
7354
  children: e.label
7355
7355
  }),
7356
- a ? /* @__PURE__ */ X(Dn, {
7356
+ a ? /* @__PURE__ */ X(En, {
7357
7357
  icon: rc,
7358
7358
  color: "default"
7359
7359
  }) : null
7360
7360
  ]
7361
7361
  })
7362
7362
  }, e.questionType);
7363
- }), u.length > 0 ? /* @__PURE__ */ Z(Y, { children: [/* @__PURE__ */ X(vn, {}), u.map((e) => {
7363
+ }), u.length > 0 ? /* @__PURE__ */ Z(Y, { children: [/* @__PURE__ */ X(_n, {}), u.map((e) => {
7364
7364
  let i = r.find((t) => t.datasetKey === e && t.questionType === "dropdown-single");
7365
- return /* @__PURE__ */ Z(er, { children: [/* @__PURE__ */ X(bn, {
7365
+ return /* @__PURE__ */ Z($n, { children: [/* @__PURE__ */ X(yn, {
7366
7366
  className: "mx-1 px-2 data-[state=open]:rounded-sm data-[state=closed]:bg-transparent data-[state=open]:bg-f1-background-hover",
7367
7367
  children: /* @__PURE__ */ Z("div", {
7368
7368
  className: "flex w-full flex-row items-center gap-2",
7369
7369
  children: [
7370
- i ? /* @__PURE__ */ X(Dn, {
7370
+ i ? /* @__PURE__ */ X(En, {
7371
7371
  icon: i.icon,
7372
7372
  color: "default"
7373
7373
  }) : null,
@@ -7375,18 +7375,18 @@ var Up = ({ label: e, icon: t, checked: n, onChange: r }) => /* @__PURE__ */ X(g
7375
7375
  className: "flex-1 text-base font-medium",
7376
7376
  children: i?.label ?? e
7377
7377
  }),
7378
- n === e ? /* @__PURE__ */ X(Dn, {
7378
+ n === e ? /* @__PURE__ */ X(En, {
7379
7379
  icon: rc,
7380
7380
  color: "default"
7381
7381
  }) : null
7382
7382
  ]
7383
7383
  })
7384
- }), /* @__PURE__ */ X(un, { children: /* @__PURE__ */ Z(cn, { children: [a("dropdown-single") ? /* @__PURE__ */ X(gn, {
7384
+ }), /* @__PURE__ */ X(ln, { children: /* @__PURE__ */ Z(sn, { children: [a("dropdown-single") ? /* @__PURE__ */ X(hn, {
7385
7385
  onClick: () => o("dropdown-single", e),
7386
7386
  children: /* @__PURE__ */ Z("div", {
7387
7387
  className: "flex w-full flex-row items-center gap-2",
7388
7388
  children: [
7389
- /* @__PURE__ */ X(Dn, {
7389
+ /* @__PURE__ */ X(En, {
7390
7390
  icon: rc,
7391
7391
  color: "default"
7392
7392
  }),
@@ -7394,26 +7394,26 @@ var Up = ({ label: e, icon: t, checked: n, onChange: r }) => /* @__PURE__ */ X(g
7394
7394
  className: "flex-1",
7395
7395
  children: c("surveyFormBuilder.labels.singleSelection")
7396
7396
  }),
7397
- n === e && t === "dropdown-single" ? /* @__PURE__ */ X(Dn, {
7397
+ n === e && t === "dropdown-single" ? /* @__PURE__ */ X(En, {
7398
7398
  icon: rc,
7399
7399
  color: "default"
7400
7400
  }) : null
7401
7401
  ]
7402
7402
  })
7403
- }) : null, a("dropdown-multi") ? /* @__PURE__ */ X(gn, {
7403
+ }) : null, a("dropdown-multi") ? /* @__PURE__ */ X(hn, {
7404
7404
  onClick: () => o("dropdown-multi", e),
7405
7405
  children: /* @__PURE__ */ Z("div", {
7406
7406
  className: "flex w-full flex-row items-center gap-2",
7407
7407
  children: [
7408
- /* @__PURE__ */ X(Dn, {
7409
- icon: oa,
7408
+ /* @__PURE__ */ X(En, {
7409
+ icon: fo,
7410
7410
  color: "default"
7411
7411
  }),
7412
7412
  /* @__PURE__ */ X("span", {
7413
7413
  className: "flex-1",
7414
7414
  children: c("surveyFormBuilder.labels.multiSelection")
7415
7415
  }),
7416
- n === e && t === "dropdown-multi" ? /* @__PURE__ */ X(Dn, {
7416
+ n === e && t === "dropdown-multi" ? /* @__PURE__ */ X(En, {
7417
7417
  icon: rc,
7418
7418
  color: "default"
7419
7419
  }) : null
@@ -7421,25 +7421,25 @@ var Up = ({ label: e, icon: t, checked: n, onChange: r }) => /* @__PURE__ */ X(g
7421
7421
  })
7422
7422
  }) : null] }) })] }, e);
7423
7423
  })] }) : null] }) })] });
7424
- }, Gp = ({ label: e, icon: t, onClick: n, critical: r }) => /* @__PURE__ */ X(gn, {
7424
+ }, Gp = ({ label: e, icon: t, onClick: n, critical: r }) => /* @__PURE__ */ X(hn, {
7425
7425
  onClick: n,
7426
7426
  className: H(r ? "text-f1-foreground-critical" : void 0),
7427
7427
  children: /* @__PURE__ */ Z("div", {
7428
7428
  className: "flex w-full flex-row items-center gap-2",
7429
- children: [/* @__PURE__ */ X(Dn, { icon: t }), /* @__PURE__ */ X("span", {
7429
+ children: [/* @__PURE__ */ X(En, { icon: t }), /* @__PURE__ */ X("span", {
7430
7430
  className: "flex-1",
7431
7431
  children: e
7432
7432
  })]
7433
7433
  })
7434
7434
  }), Kp = ({ showDuplicate: e, showDelete: t, withSeparator: n, onDuplicate: r, onDelete: i }) => {
7435
7435
  let { t: a } = V(), { labels: o } = Ap();
7436
- return !e && !t ? null : /* @__PURE__ */ Z(Y, { children: [n ? /* @__PURE__ */ X(vn, {}) : null, /* @__PURE__ */ Z(mn, { children: [e ? /* @__PURE__ */ X(Gp, {
7436
+ return !e && !t ? null : /* @__PURE__ */ Z(Y, { children: [n ? /* @__PURE__ */ X(_n, {}) : null, /* @__PURE__ */ Z(pn, { children: [e ? /* @__PURE__ */ X(Gp, {
7437
7437
  label: o?.duplicateQuestion ?? a("surveyFormBuilder.actions.duplicateQuestion"),
7438
- icon: ja,
7438
+ icon: ro,
7439
7439
  onClick: r
7440
7440
  }) : null, t ? /* @__PURE__ */ X(Gp, {
7441
7441
  label: o?.deleteQuestion ?? a("surveyFormBuilder.actions.deleteQuestion"),
7442
- icon: Ra,
7442
+ icon: Ji,
7443
7443
  onClick: i,
7444
7444
  critical: !0
7445
7445
  }) : null] })] });
@@ -7450,47 +7450,47 @@ function qp({ open: e, setOpen: t, questionId: n, questionType: r, canDeleteQues
7450
7450
  questionType: r,
7451
7451
  canDelete: i
7452
7452
  }), 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");
7453
- return !T && !E && !D && !O && !k && !A ? null : /* @__PURE__ */ Z(on, {
7453
+ return !T && !E && !D && !O && !k && !A ? null : /* @__PURE__ */ Z(an, {
7454
7454
  open: e,
7455
7455
  onOpenChange: t,
7456
- children: [/* @__PURE__ */ X(yn, {
7456
+ children: [/* @__PURE__ */ X(vn, {
7457
7457
  tabIndex: -1,
7458
7458
  asChild: !0,
7459
7459
  children: /* @__PURE__ */ X(R, {
7460
- icon: la,
7460
+ icon: Ei,
7461
7461
  label: o("surveyFormBuilder.labels.actions"),
7462
7462
  size: "md",
7463
7463
  variant: "ghost",
7464
7464
  tooltip: !1,
7465
7465
  hideLabel: !0
7466
7466
  })
7467
- }), /* @__PURE__ */ Z(Ln, {
7467
+ }), /* @__PURE__ */ Z(In, {
7468
7468
  className: "w-80",
7469
7469
  align: "start",
7470
7470
  children: [
7471
- /* @__PURE__ */ X(_n, {
7471
+ /* @__PURE__ */ X(gn, {
7472
7472
  className: "p-4 pb-2 font-medium text-f1-foreground-secondary",
7473
7473
  children: c?.questionOptions ?? o("surveyFormBuilder.labels.questionOptions")
7474
7474
  }),
7475
- T ? /* @__PURE__ */ X(mn, { children: /* @__PURE__ */ X(Up, {
7475
+ T ? /* @__PURE__ */ X(pn, { children: /* @__PURE__ */ X(Up, {
7476
7476
  label: o("surveyFormBuilder.labels.required"),
7477
- icon: Za,
7477
+ icon: Fa,
7478
7478
  checked: !!l?.required,
7479
7479
  onChange: _
7480
7480
  }) }) : null,
7481
- E ? /* @__PURE__ */ X(mn, { children: /* @__PURE__ */ X(Up, {
7481
+ E ? /* @__PURE__ */ X(pn, { children: /* @__PURE__ */ X(Up, {
7482
7482
  label: o("surveyFormBuilder.labels.allowMultiSelection"),
7483
- icon: oa,
7483
+ icon: fo,
7484
7484
  checked: p,
7485
7485
  onChange: b
7486
7486
  }) }) : null,
7487
- D ? /* @__PURE__ */ X(mn, { children: /* @__PURE__ */ X(Up, {
7487
+ D ? /* @__PURE__ */ X(pn, { children: /* @__PURE__ */ X(Up, {
7488
7488
  label: o("surveyFormBuilder.labels.allowCreate"),
7489
7489
  icon: ys,
7490
7490
  checked: m,
7491
7491
  onChange: x
7492
7492
  }) }) : null,
7493
- O ? /* @__PURE__ */ X(mn, { children: /* @__PURE__ */ X(Wp, {
7493
+ O ? /* @__PURE__ */ X(pn, { children: /* @__PURE__ */ X(Wp, {
7494
7494
  label: c?.questionType ?? o("surveyFormBuilder.labels.questionType"),
7495
7495
  value: r,
7496
7496
  currentDatasetKey: f,
@@ -7518,12 +7518,12 @@ var Jp = ({ notice: e, className: t, children: n }) => {
7518
7518
  className: t,
7519
7519
  children: n
7520
7520
  });
7521
- return e ? /* @__PURE__ */ X(Sn, {
7521
+ return e ? /* @__PURE__ */ X(xn, {
7522
7522
  instant: !0,
7523
7523
  ...e,
7524
7524
  children: r
7525
7525
  }) : r;
7526
- }, Yp = ({ id: e, title: t, description: r, children: i, required: a, type: o, hiddenActions: s, locked: c, lockedFields: l, lockedNote: u }) => {
7526
+ }, Yp = ({ id: e, title: t, description: n, children: i, required: a, type: o, hiddenActions: s, locked: c, lockedFields: l, lockedNote: u }) => {
7527
7527
  let { onQuestionChange: d, onAddNewElement: f, disabled: p, answering: m, getIsSingleQuestionInSection: h, getSectionContainingQuestion: g, isQuestionTypeAllowed: _, placeholders: v, labels: y } = Ap(), b = g(e), x = !!b?.locked || !!c, S = x || !!l?.includes("title"), C = x || !!l?.includes("description"), w = !x && (S || C), T = !!b, [E, D] = J(!1), [O, k] = J(!1), { isDragging: A } = Np(), { t: j } = V(), ee = v?.questionTitle ?? j("surveyFormBuilder.labels.titlePlaceholder"), M = y?.addQuestion ?? j("surveyFormBuilder.actions.addQuestion"), N = v?.questionDescription ?? j("surveyFormBuilder.labels.questionDescriptionPlaceholder"), P = (t) => {
7528
7528
  d?.({
7529
7529
  id: e,
@@ -7551,7 +7551,7 @@ var Jp = ({ notice: e, className: t, children: n }) => {
7551
7551
  G(() => {
7552
7552
  se.current && oe.current?.focus({ preventScroll: !0 });
7553
7553
  }, []);
7554
- let ce = p || S || m, le = p || C || m, ue = !le || !!r, de = x || w ? { description: u?.description ?? b?.lockedNote?.description ?? j("surveyFormBuilder.labels.lockedQuestionNotice") } : null;
7554
+ let ce = p || S || m, le = p || C || m, ue = !le || !!n, de = x || w ? { description: u?.description ?? b?.lockedNote?.description ?? j("surveyFormBuilder.labels.lockedQuestionNotice") } : null;
7555
7555
  return /* @__PURE__ */ Z("div", {
7556
7556
  id: `co-creation-question-${e}`,
7557
7557
  className: H("group/question relative flex w-full flex-col rounded-xl border border-solid border-f1-border bg-f1-background px-3 py-3", x && !m && "cursor-not-allowed [&_*]:!cursor-not-allowed", !A && !m && !x && "hover:border-f1-border-hover", ue ? "gap-4" : "gap-2"),
@@ -7589,7 +7589,7 @@ var Jp = ({ notice: e, className: t, children: n }) => {
7589
7589
  }) : null]
7590
7590
  })] })
7591
7591
  }),
7592
- !m && x ? /* @__PURE__ */ X("div", { children: de ? /* @__PURE__ */ X(Sn, {
7592
+ !m && x ? /* @__PURE__ */ X("div", { children: de ? /* @__PURE__ */ X(xn, {
7593
7593
  instant: !0,
7594
7594
  ...de,
7595
7595
  children: /* @__PURE__ */ X("span", {
@@ -7627,13 +7627,13 @@ var Jp = ({ notice: e, className: t, children: n }) => {
7627
7627
  })
7628
7628
  }) : null
7629
7629
  ]
7630
- }), m ? r ? /* @__PURE__ */ X("p", {
7630
+ }), m ? n ? /* @__PURE__ */ X("p", {
7631
7631
  className: "w-full whitespace-pre-wrap break-words px-2 text-f1-foreground-secondary",
7632
- children: r
7632
+ children: n
7633
7633
  }) : null : ue ? /* @__PURE__ */ X(Jp, {
7634
7634
  notice: w && C ? de : null,
7635
7635
  children: /* @__PURE__ */ X("textarea", {
7636
- value: r,
7636
+ value: n,
7637
7637
  "aria-label": j("surveyFormBuilder.labels.description"),
7638
7638
  placeholder: N,
7639
7639
  onChange: te,
@@ -7643,42 +7643,42 @@ var Jp = ({ notice: e, className: t, children: n }) => {
7643
7643
  }) : null]
7644
7644
  }),
7645
7645
  i,
7646
- m ? /* @__PURE__ */ X(n, {
7646
+ m ? /* @__PURE__ */ X(r, {
7647
7647
  className: "-mt-2",
7648
7648
  fallback: j(a ? "forms.validation.required" : "forms.validation.invalidType")
7649
7649
  }) : null,
7650
7650
  !p && !m && !x ? /* @__PURE__ */ X("div", {
7651
7651
  className: H("absolute bottom-0 left-1/2 translate-x-[-50%] translate-y-[50%] bg-f1-background opacity-0 group-hover/question:opacity-100", E && "opacity-100"),
7652
- children: /* @__PURE__ */ Z(on, {
7652
+ children: /* @__PURE__ */ Z(an, {
7653
7653
  open: E,
7654
7654
  onOpenChange: D,
7655
- children: [/* @__PURE__ */ X(yn, {
7655
+ children: [/* @__PURE__ */ X(vn, {
7656
7656
  asChild: !0,
7657
7657
  children: /* @__PURE__ */ X(R, {
7658
- icon: _o,
7658
+ icon: vo,
7659
7659
  label: M,
7660
7660
  size: "sm",
7661
7661
  variant: "outline",
7662
7662
  hideLabel: !0
7663
7663
  })
7664
- }), /* @__PURE__ */ Z(Ln, {
7664
+ }), /* @__PURE__ */ Z(In, {
7665
7665
  align: "center",
7666
7666
  className: "w-80",
7667
7667
  children: [
7668
- T ? null : /* @__PURE__ */ Z(Y, { children: [/* @__PURE__ */ X(gn, {
7668
+ T ? null : /* @__PURE__ */ Z(Y, { children: [/* @__PURE__ */ X(hn, {
7669
7669
  onClick: re,
7670
7670
  children: /* @__PURE__ */ Z("div", {
7671
7671
  className: "flex w-full flex-row items-center gap-2",
7672
7672
  children: [/* @__PURE__ */ X(z, {
7673
- icon: qa,
7673
+ icon: eo,
7674
7674
  color: "default"
7675
7675
  }), /* @__PURE__ */ X("span", {
7676
7676
  className: "flex-1 text-base font-medium",
7677
7677
  children: j("surveyFormBuilder.questionTypes.section")
7678
7678
  })]
7679
7679
  })
7680
- }), /* @__PURE__ */ X(vn, {})] }),
7681
- ie.map((e) => /* @__PURE__ */ X(gn, {
7680
+ }), /* @__PURE__ */ X(_n, {})] }),
7681
+ ie.map((e) => /* @__PURE__ */ X(hn, {
7682
7682
  onClick: () => ne(e.questionType),
7683
7683
  children: /* @__PURE__ */ Z("div", {
7684
7684
  className: "flex w-full flex-row items-center gap-2",
@@ -7691,9 +7691,9 @@ var Jp = ({ notice: e, className: t, children: n }) => {
7691
7691
  })]
7692
7692
  })
7693
7693
  }, e.questionType)),
7694
- I.length > 0 ? /* @__PURE__ */ Z(Y, { children: [/* @__PURE__ */ X(vn, {}), I.map((e) => {
7694
+ I.length > 0 ? /* @__PURE__ */ Z(Y, { children: [/* @__PURE__ */ X(_n, {}), I.map((e) => {
7695
7695
  let t = F.find((t) => t.datasetKey === e && t.questionType === "dropdown-single");
7696
- return /* @__PURE__ */ Z(er, { children: [/* @__PURE__ */ X(bn, {
7696
+ return /* @__PURE__ */ Z($n, { children: [/* @__PURE__ */ X(yn, {
7697
7697
  className: "mx-1 px-2 data-[state=open]:rounded-sm data-[state=closed]:bg-transparent data-[state=open]:bg-f1-background-hover",
7698
7698
  children: /* @__PURE__ */ Z("div", {
7699
7699
  className: "flex w-full flex-row items-center gap-2",
@@ -7705,7 +7705,7 @@ var Jp = ({ notice: e, className: t, children: n }) => {
7705
7705
  children: t?.label ?? e
7706
7706
  })]
7707
7707
  })
7708
- }), /* @__PURE__ */ X(un, { children: /* @__PURE__ */ Z(cn, { children: [_("dropdown-single") ? /* @__PURE__ */ X(gn, {
7708
+ }), /* @__PURE__ */ X(ln, { children: /* @__PURE__ */ Z(sn, { children: [_("dropdown-single") ? /* @__PURE__ */ X(hn, {
7709
7709
  onClick: () => ne("dropdown-single", e),
7710
7710
  children: /* @__PURE__ */ Z("div", {
7711
7711
  className: "flex w-full flex-row items-center gap-2",
@@ -7717,12 +7717,12 @@ var Jp = ({ notice: e, className: t, children: n }) => {
7717
7717
  children: j("surveyFormBuilder.labels.singleSelection")
7718
7718
  })]
7719
7719
  })
7720
- }) : null, _("dropdown-multi") ? /* @__PURE__ */ X(gn, {
7720
+ }) : null, _("dropdown-multi") ? /* @__PURE__ */ X(hn, {
7721
7721
  onClick: () => ne("dropdown-multi", e),
7722
7722
  children: /* @__PURE__ */ Z("div", {
7723
7723
  className: "flex w-full flex-row items-center gap-2",
7724
7724
  children: [/* @__PURE__ */ X(z, {
7725
- icon: oa,
7725
+ icon: fo,
7726
7726
  color: "default"
7727
7727
  }), /* @__PURE__ */ X("span", {
7728
7728
  className: "flex-1",
@@ -7956,7 +7956,7 @@ var Zp = ({ value: e, label: t, ...n }) => {
7956
7956
  required: t.required,
7957
7957
  maxDecimals: 0,
7958
7958
  placeholder: s,
7959
- icon: Ei
7959
+ icon: Ri
7960
7960
  }) : /* @__PURE__ */ X(Ya, {
7961
7961
  type: "text",
7962
7962
  size: "md",
@@ -7965,7 +7965,7 @@ var Zp = ({ value: e, label: t, ...n }) => {
7965
7965
  disabled: !0,
7966
7966
  label: n("surveyFormBuilder.answer.label"),
7967
7967
  hideLabel: !0,
7968
- icon: Ei
7968
+ icon: Ri
7969
7969
  })
7970
7970
  });
7971
7971
  }, am = ({ option: e, selected: t, onClick: n, onChangeLabel: r, disabled: i, isEmojiMode: a = !1 }) => {
@@ -7978,10 +7978,10 @@ var Zp = ({ value: e, label: t, ...n }) => {
7978
7978
  onClick: () => {
7979
7979
  i || n(o);
7980
7980
  },
7981
- children: a ? /* @__PURE__ */ Z(Yn, {
7981
+ children: a ? /* @__PURE__ */ Z(Jn, {
7982
7982
  open: !i && c,
7983
7983
  onOpenChange: i ? void 0 : l,
7984
- children: [/* @__PURE__ */ X(En, {
7984
+ children: [/* @__PURE__ */ X(Tn, {
7985
7985
  asChild: !0,
7986
7986
  children: /* @__PURE__ */ X(R, {
7987
7987
  emoji: s,
@@ -7991,15 +7991,15 @@ var Zp = ({ value: e, label: t, ...n }) => {
7991
7991
  withoutDisabledAppearance: !0,
7992
7992
  hideLabel: !0
7993
7993
  })
7994
- }), /* @__PURE__ */ X(Fn, {
7994
+ }), /* @__PURE__ */ X(Pn, {
7995
7995
  side: "bottom",
7996
7996
  align: "center",
7997
7997
  className: "w-fit border-none bg-transparent p-2 shadow-none",
7998
7998
  onClick: (e) => {
7999
7999
  e.preventDefault(), e.stopPropagation();
8000
8000
  },
8001
- children: /* @__PURE__ */ X(Te, {
8002
- data: ke,
8001
+ children: /* @__PURE__ */ X(Ee, {
8002
+ data: Ae,
8003
8003
  onEmojiSelect: (e) => {
8004
8004
  r?.(o, e.native), l(!1);
8005
8005
  },
@@ -8084,93 +8084,93 @@ function lm({ checked: e, disabled: t }) {
8084
8084
  children: e ? /* @__PURE__ */ X("div", { className: "h-2 w-2 rounded-full bg-f1-background" }) : null
8085
8085
  });
8086
8086
  }
8087
- var um = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i, disabled: a, answering: o, selected: s, correct: c, locked: l, type: u }) => {
8088
- let { value: d, label: f } = t, { isDragging: p, setIsDragging: m, setDraggedItemId: h, draggedItemId: g } = Np(), { t: _ } = V(), v = p && g === d, y = () => {
8089
- (a || o) && n(d);
8090
- }, b = (t) => {
8091
- r({
8092
- value: d,
8087
+ var um = ({ index: e, option: t, onClick: r, onClickAction: i, onChangeLabel: a, disabled: o, answering: s, selected: c, correct: l, locked: u, type: d }) => {
8088
+ let { value: f, label: p } = t, { isDragging: m, setIsDragging: h, setDraggedItemId: g, draggedItemId: _ } = Np(), { t: v } = V(), y = m && _ === f, b = () => {
8089
+ (o || s) && r(f);
8090
+ }, x = (t) => {
8091
+ i({
8092
+ value: f,
8093
8093
  index: e,
8094
8094
  action: t
8095
8095
  });
8096
- }, x = (e) => {
8097
- e.stopPropagation(), b("mark-as-correct");
8098
8096
  }, S = (e) => {
8099
- e.stopPropagation(), b("remove");
8100
- }, C = (t) => {
8097
+ e.stopPropagation(), x("mark-as-correct");
8098
+ }, C = (e) => {
8099
+ e.stopPropagation(), x("remove");
8100
+ }, w = (t) => {
8101
8101
  let n = t.target.value;
8102
- i({
8103
- value: d,
8102
+ a({
8103
+ value: f,
8104
8104
  index: e,
8105
8105
  newLabel: n
8106
8106
  });
8107
- }, w = () => {
8108
- m(!0), h(d);
8109
8107
  }, T = () => {
8110
- m(!1), h(null);
8111
- }, E = p ? v : !a && !o, D = !a && !o && !l;
8112
- return /* @__PURE__ */ X(Je, {
8108
+ h(!0), g(f);
8109
+ }, E = () => {
8110
+ h(!1), g(null);
8111
+ }, D = m ? y : !o && !s, O = !o && !s && !u;
8112
+ return /* @__PURE__ */ X(n, {
8113
8113
  value: t,
8114
- onDragStart: w,
8115
- onDragEnd: T,
8116
- dragListener: D,
8114
+ onDragStart: T,
8115
+ onDragEnd: E,
8116
+ dragListener: O,
8117
8117
  layout: "position",
8118
8118
  as: "div",
8119
8119
  children: /* @__PURE__ */ Z("div", {
8120
- className: H("group relative flex min-h-9 items-center gap-3 rounded-md bg-f1-background py-0.5 pl-2 pr-0.5 hover:bg-f1-background-hover", (a || o) && "cursor-pointer", p && "!cursor-grabbing active:!cursor-grabbing"),
8121
- onClick: y,
8120
+ className: H("group relative flex min-h-9 items-center gap-3 rounded-md bg-f1-background py-0.5 pl-2 pr-0.5 hover:bg-f1-background-hover", (o || s) && "cursor-pointer", m && "!cursor-grabbing active:!cursor-grabbing"),
8121
+ onClick: b,
8122
8122
  children: [
8123
8123
  /* @__PURE__ */ X("div", {
8124
- className: H("block", E ? "group-hover:hidden" : "cursor-default", p && "cursor-grabbing [&_button]:cursor-grabbing"),
8125
- children: u === "multi-select" ? /* @__PURE__ */ X(vs, {
8126
- title: f,
8127
- checked: o ? !!s : !1,
8128
- onCheckedChange: y,
8129
- disabled: !o,
8130
- presentational: !o,
8124
+ className: H("block", D ? "group-hover:hidden" : "cursor-default", m && "cursor-grabbing [&_button]:cursor-grabbing"),
8125
+ children: d === "multi-select" ? /* @__PURE__ */ X(vs, {
8126
+ title: p,
8127
+ checked: s ? !!c : !1,
8128
+ onCheckedChange: b,
8129
+ disabled: !s,
8130
+ presentational: !s,
8131
8131
  hideLabel: !0
8132
8132
  }) : /* @__PURE__ */ X(lm, {
8133
- checked: o ? !!s : !1,
8134
- disabled: !o
8133
+ checked: s ? !!c : !1,
8134
+ disabled: !s
8135
8135
  })
8136
8136
  }),
8137
8137
  /* @__PURE__ */ X("div", {
8138
- className: H("hidden scale-75 cursor-grab", D && "active:cursor-grabbing", E && "group-hover:block", p && "cursor-grabbing", !D && "cursor-not-allowed"),
8138
+ className: H("hidden scale-75 cursor-grab", O && "active:cursor-grabbing", D && "group-hover:block", m && "cursor-grabbing", !O && "cursor-not-allowed"),
8139
8139
  children: /* @__PURE__ */ X("div", {
8140
- className: H("flex aspect-square scale-90 items-center justify-center", u === "multi-select" ? "w-6" : "w-5"),
8141
- children: /* @__PURE__ */ X(Dn, {
8142
- icon: no,
8140
+ className: H("flex aspect-square scale-90 items-center justify-center", d === "multi-select" ? "w-6" : "w-5"),
8141
+ children: /* @__PURE__ */ X(En, {
8142
+ icon: Aa,
8143
8143
  size: "sm"
8144
8144
  })
8145
8145
  })
8146
8146
  }),
8147
- !a && !o && !l ? /* @__PURE__ */ X("textarea", {
8148
- placeholder: _("surveyFormBuilder.selectQuestion.optionPlaceholder"),
8149
- value: f,
8150
- onChange: C,
8147
+ !o && !s && !u ? /* @__PURE__ */ X("textarea", {
8148
+ placeholder: v("surveyFormBuilder.selectQuestion.optionPlaceholder"),
8149
+ value: p,
8150
+ onChange: w,
8151
8151
  className: "flex-1 [field-sizing:content] resize-none font-medium text-f1-foreground placeholder:text-f1-foreground-tertiary"
8152
8152
  }) : /* @__PURE__ */ X("p", {
8153
8153
  className: "flex-1 font-medium",
8154
- children: f
8154
+ children: p
8155
8155
  }),
8156
- !a && !o && c ? /* @__PURE__ */ X("span", {
8156
+ !o && !s && l ? /* @__PURE__ */ X("span", {
8157
8157
  className: "text-sm font-medium text-f1-foreground-positive",
8158
- children: _("surveyFormBuilder.selectQuestion.correct")
8158
+ children: v("surveyFormBuilder.selectQuestion.correct")
8159
8159
  }) : null,
8160
- !a && !o && !l ? /* @__PURE__ */ Z("div", {
8160
+ !o && !s && !u ? /* @__PURE__ */ Z("div", {
8161
8161
  className: "hidden flex-row items-center gap-1 group-hover:inline-block",
8162
8162
  children: [/* @__PURE__ */ X(R, {
8163
- label: _("surveyFormBuilder.selectQuestion.markAsCorrect"),
8163
+ label: v("surveyFormBuilder.selectQuestion.markAsCorrect"),
8164
8164
  variant: "ghost",
8165
- icon: c ? Dr : fo,
8166
- onClick: x,
8165
+ icon: l ? Dr : Si,
8166
+ onClick: S,
8167
8167
  hideLabel: !0
8168
8168
  }), /* @__PURE__ */ X(R, {
8169
- label: _("surveyFormBuilder.selectQuestion.remove"),
8169
+ label: v("surveyFormBuilder.selectQuestion.remove"),
8170
8170
  variant: "ghost",
8171
- icon: Ra,
8171
+ icon: Ji,
8172
8172
  hideLabel: !0,
8173
- onClick: S
8173
+ onClick: C
8174
8174
  })]
8175
8175
  }) : /* @__PURE__ */ X("div", { className: "min-h-8" })
8176
8176
  ]
@@ -8197,7 +8197,7 @@ var um = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
8197
8197
  }, a = new Set(r.map((e) => e.value)).size !== r.length;
8198
8198
  a && (r = r.map((e) => ({
8199
8199
  ...e,
8200
- value: p()
8200
+ value: g()
8201
8201
  })), a && n?.({
8202
8202
  ...i,
8203
8203
  options: r
@@ -8249,7 +8249,7 @@ var um = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
8249
8249
  ...l,
8250
8250
  options: r
8251
8251
  });
8252
- }, m = () => {
8252
+ }, p = () => {
8253
8253
  let t = e.length, r = {
8254
8254
  value: `new-option-${t + 1}`,
8255
8255
  label: c("surveyFormBuilder.selectQuestion.newOption", { number: t + 1 })
@@ -8258,7 +8258,7 @@ var um = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
8258
8258
  ...l,
8259
8259
  options: [...e, r]
8260
8260
  });
8261
- }, h = (e) => {
8261
+ }, m = (e) => {
8262
8262
  n?.({
8263
8263
  ...l,
8264
8264
  options: e
@@ -8268,10 +8268,10 @@ var um = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
8268
8268
  ...t,
8269
8269
  children: /* @__PURE__ */ Z("div", {
8270
8270
  className: "-mx-0.5 flex flex-col items-start [&>div]:w-full",
8271
- children: [/* @__PURE__ */ X(Mp, { children: /* @__PURE__ */ X(Rt, {
8271
+ children: [/* @__PURE__ */ X(Mp, { children: /* @__PURE__ */ X(Je, {
8272
8272
  axis: "y",
8273
8273
  values: e,
8274
- onReorder: h,
8274
+ onReorder: m,
8275
8275
  as: "div",
8276
8276
  children: e.map((e, n) => {
8277
8277
  let a = t.type === "select" ? t.value === e.value : Array.isArray(t.value) && t.value.includes(e.value);
@@ -8297,8 +8297,8 @@ var um = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
8297
8297
  children: /* @__PURE__ */ X(R, {
8298
8298
  label: c("surveyFormBuilder.selectQuestion.addOption"),
8299
8299
  variant: "ghost",
8300
- icon: _o,
8301
- onClick: m
8300
+ icon: vo,
8301
+ onClick: p
8302
8302
  })
8303
8303
  }) : null]
8304
8304
  })
@@ -8367,35 +8367,35 @@ var um = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
8367
8367
  /* @__PURE__ */ X("div", { className: "h-px flex-1 bg-f1-border-secondary" })
8368
8368
  ]
8369
8369
  });
8370
- }, hm = ({ item: e, showEndOfSection: t, className: n }) => {
8371
- let { isDragging: r, setIsDragging: i, setDraggedItemId: a, draggedItemId: o } = Np(), s = xt(), { disabled: c, answering: l, getSectionContainingQuestion: u } = Ap(), d = u(e.question.id), f = !!d && o === d.id, p = () => {
8372
- i(!0), a(e.question.id);
8373
- }, m = () => {
8374
- i(!1), a(null);
8375
- }, h = d?.locked, g = !c && !l && !h;
8376
- return /* @__PURE__ */ Z(Je, {
8370
+ }, hm = ({ item: e, showEndOfSection: t, className: r }) => {
8371
+ let { isDragging: i, setIsDragging: a, setDraggedItemId: o, draggedItemId: s } = Np(), c = Rt(), { disabled: l, answering: u, getSectionContainingQuestion: d } = Ap(), f = d(e.question.id), p = !!f && s === f.id, m = () => {
8372
+ a(!0), o(e.question.id);
8373
+ }, h = () => {
8374
+ a(!1), o(null);
8375
+ }, g = f?.locked, _ = !l && !u && !g;
8376
+ return /* @__PURE__ */ Z(n, {
8377
8377
  value: e,
8378
- onDragStart: p,
8379
- onDragEnd: m,
8378
+ onDragStart: m,
8379
+ onDragEnd: h,
8380
8380
  dragListener: !1,
8381
- dragControls: s,
8381
+ dragControls: c,
8382
8382
  layout: "position",
8383
8383
  as: "div",
8384
- className: H(n, f && "invisible h-0 overflow-hidden"),
8384
+ className: H(r, p && "invisible h-0 overflow-hidden"),
8385
8385
  children: [/* @__PURE__ */ X("div", {
8386
8386
  className: "w-full",
8387
8387
  children: /* @__PURE__ */ Z("div", {
8388
- className: H("group/element flex flex-row items-start gap-1", !c && !l && "pr-7", r && "cursor-grabbing"),
8389
- children: [!c && !l ? h ? /* @__PURE__ */ X("div", {
8388
+ className: H("group/element flex flex-row items-start gap-1", !l && !u && "pr-7", i && "cursor-grabbing"),
8389
+ children: [!l && !u ? g ? /* @__PURE__ */ X("div", {
8390
8390
  className: "mt-2 aspect-square w-6 scale-75",
8391
8391
  "aria-hidden": !0
8392
8392
  }) : /* @__PURE__ */ X("div", {
8393
- className: H("mt-2 flex aspect-square w-6 scale-75 items-center opacity-0 hover:opacity-40 group-hover/element:opacity-40", !r && "cursor-grab"),
8393
+ className: H("mt-2 flex aspect-square w-6 scale-75 items-center opacity-0 hover:opacity-40 group-hover/element:opacity-40", !i && "cursor-grab"),
8394
8394
  onPointerDown: (e) => {
8395
- g && s.start(e);
8395
+ _ && c.start(e);
8396
8396
  },
8397
8397
  children: /* @__PURE__ */ X(z, {
8398
- icon: no,
8398
+ icon: Aa,
8399
8399
  size: "sm"
8400
8400
  })
8401
8401
  }) : null, /* @__PURE__ */ X(pm, { ...e.question })]
@@ -8403,29 +8403,29 @@ var um = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
8403
8403
  }), t ? /* @__PURE__ */ X(mm, {}) : null]
8404
8404
  });
8405
8405
  }, gm = ({ question: e }) => {
8406
- let { isDragging: t, setIsDragging: n, setDraggedItemId: r } = Np(), i = xt(), { disabled: a, answering: o, getSectionContainingQuestion: s } = Ap(), c = s(e.id), l = () => {
8407
- n(!0), r(e.id);
8408
- }, u = () => {
8409
- n(!1), r(null);
8410
- }, d = c?.locked, f = !a && !o && !d;
8411
- return /* @__PURE__ */ X(Je, {
8406
+ let { isDragging: t, setIsDragging: r, setDraggedItemId: i } = Np(), a = Rt(), { disabled: o, answering: s, getSectionContainingQuestion: c } = Ap(), l = c(e.id), u = () => {
8407
+ r(!0), i(e.id);
8408
+ }, d = () => {
8409
+ r(!1), i(null);
8410
+ }, f = l?.locked, p = !o && !s && !f;
8411
+ return /* @__PURE__ */ X(n, {
8412
8412
  value: e,
8413
8413
  as: "div",
8414
- onDragStart: l,
8415
- onDragEnd: u,
8414
+ onDragStart: u,
8415
+ onDragEnd: d,
8416
8416
  dragListener: !1,
8417
- dragControls: i,
8417
+ dragControls: a,
8418
8418
  layout: "position",
8419
8419
  children: /* @__PURE__ */ Z("div", {
8420
8420
  className: H("group/question-element flex flex-row items-start gap-1", t && "cursor-grabbing"),
8421
- style: { marginLeft: a || o ? 0 : -27 },
8422
- children: [!a && !o ? /* @__PURE__ */ X("div", {
8423
- className: H("mt-2 flex aspect-square w-6 scale-75 items-center opacity-0 hover:opacity-40 group-hover/question-element:opacity-40", !t && "cursor-grab", !f && "cursor-not-allowed"),
8421
+ style: { marginLeft: o || s ? 0 : -27 },
8422
+ children: [!o && !s ? /* @__PURE__ */ X("div", {
8423
+ className: H("mt-2 flex aspect-square w-6 scale-75 items-center opacity-0 hover:opacity-40 group-hover/question-element:opacity-40", !t && "cursor-grab", !p && "cursor-not-allowed"),
8424
8424
  onPointerDown: (e) => {
8425
- f && i.start(e);
8425
+ p && a.start(e);
8426
8426
  },
8427
8427
  children: /* @__PURE__ */ X(z, {
8428
- icon: no,
8428
+ icon: Aa,
8429
8429
  size: "sm"
8430
8430
  })
8431
8431
  }) : null, /* @__PURE__ */ X(pm, { ...e })]
@@ -8457,7 +8457,7 @@ var um = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
8457
8457
  });
8458
8458
  }, x = [{
8459
8459
  label: h("surveyFormBuilder.actions.duplicateSection"),
8460
- icon: ja,
8460
+ icon: ro,
8461
8461
  onClick: () => {
8462
8462
  d?.({
8463
8463
  elementId: e,
@@ -8466,7 +8466,7 @@ var um = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
8466
8466
  }
8467
8467
  }, {
8468
8468
  label: h("surveyFormBuilder.actions.deleteSection"),
8469
- icon: Ra,
8469
+ icon: Ji,
8470
8470
  onClick: () => {
8471
8471
  u(e);
8472
8472
  },
@@ -8500,7 +8500,7 @@ var um = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
8500
8500
  }) : null,
8501
8501
  D ? /* @__PURE__ */ X("div", {
8502
8502
  className: "ml-auto flex shrink-0 items-center",
8503
- children: /* @__PURE__ */ X(Sn, {
8503
+ children: /* @__PURE__ */ X(xn, {
8504
8504
  description: E,
8505
8505
  instant: !0,
8506
8506
  children: /* @__PURE__ */ X("span", {
@@ -8511,14 +8511,14 @@ var um = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
8511
8511
  }) : null,
8512
8512
  !c && !l && !a ? /* @__PURE__ */ X("div", {
8513
8513
  className: H("opacity-0 group-hover/section:opacity-100", p && "opacity-100"),
8514
- children: /* @__PURE__ */ X(Ta, {
8514
+ children: /* @__PURE__ */ X(wa, {
8515
8515
  items: x,
8516
- icon: la,
8516
+ icon: Ei,
8517
8517
  open: p,
8518
8518
  onOpenChange: m,
8519
8519
  align: "start",
8520
8520
  children: /* @__PURE__ */ X(R, {
8521
- icon: la,
8521
+ icon: Ei,
8522
8522
  label: h("surveyFormBuilder.actions.actions"),
8523
8523
  size: "md",
8524
8524
  variant: "ghost",
@@ -8536,7 +8536,7 @@ var um = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
8536
8536
  disabled: S,
8537
8537
  className: H("w-full [field-sizing:content] resize-none text-f1-foreground-secondary placeholder:text-f1-foreground-tertiary disabled:text-f1-foreground-secondary [&::-webkit-search-cancel-button]:hidden", S && "cursor-not-allowed")
8538
8538
  }) : null]
8539
- }) : null, o ? null : /* @__PURE__ */ Z(Y, { children: [/* @__PURE__ */ X(Mp, { children: /* @__PURE__ */ X(Rt, {
8539
+ }) : null, o ? null : /* @__PURE__ */ Z(Y, { children: [/* @__PURE__ */ X(Mp, { children: /* @__PURE__ */ X(Je, {
8540
8540
  axis: "y",
8541
8541
  values: i,
8542
8542
  onReorder: b,
@@ -8558,17 +8558,17 @@ var um = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
8558
8558
  })] })]
8559
8559
  });
8560
8560
  }, vm = ({ item: e, className: t }) => {
8561
- let { isDragging: n, setIsDragging: r, setDraggedItemId: i, draggedItemId: a } = Np(), o = xt(), { disabled: s, answering: c } = Ap(), l = a === e.section.id;
8562
- return /* @__PURE__ */ X(Je, {
8561
+ let { isDragging: r, setIsDragging: i, setDraggedItemId: a, draggedItemId: o } = Np(), s = Rt(), { disabled: c, answering: l } = Ap(), u = o === e.section.id;
8562
+ return /* @__PURE__ */ X(n, {
8563
8563
  value: e,
8564
8564
  onDragStart: () => {
8565
- r(!0), i(e.section.id);
8565
+ i(!0), a(e.section.id);
8566
8566
  },
8567
8567
  onDragEnd: () => {
8568
- r(!1), i(null);
8568
+ i(!1), a(null);
8569
8569
  },
8570
8570
  dragListener: !1,
8571
- dragControls: o,
8571
+ dragControls: s,
8572
8572
  layout: "position",
8573
8573
  as: "div",
8574
8574
  className: t,
@@ -8577,24 +8577,24 @@ var um = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
8577
8577
  children: /* @__PURE__ */ Z("div", {
8578
8578
  className: "group/element w-full",
8579
8579
  children: [/* @__PURE__ */ Z("div", {
8580
- className: H("flex flex-row items-start gap-1 w-full", !s && !c && "pr-7", n && "cursor-grabbing"),
8581
- children: [!s && !c ? e.section.locked ? /* @__PURE__ */ X("div", {
8580
+ className: H("flex flex-row items-start gap-1 w-full", !c && !l && "pr-7", r && "cursor-grabbing"),
8581
+ children: [!c && !l ? e.section.locked ? /* @__PURE__ */ X("div", {
8582
8582
  className: "mt-2 aspect-square w-6 scale-75",
8583
8583
  "aria-hidden": !0
8584
8584
  }) : /* @__PURE__ */ X("div", {
8585
- className: H("mt-2 flex aspect-square w-6 scale-75 items-center opacity-0 hover:opacity-40 group-hover/element:opacity-40", !n && "cursor-grab"),
8585
+ className: H("mt-2 flex aspect-square w-6 scale-75 items-center opacity-0 hover:opacity-40 group-hover/element:opacity-40", !r && "cursor-grab"),
8586
8586
  onPointerDown: (e) => {
8587
- o.start(e);
8587
+ s.start(e);
8588
8588
  },
8589
8589
  children: /* @__PURE__ */ X(z, {
8590
- icon: no,
8590
+ icon: Aa,
8591
8591
  size: "sm"
8592
8592
  })
8593
8593
  }) : null, /* @__PURE__ */ X(_m, {
8594
8594
  ...e.section,
8595
8595
  hideQuestions: !0
8596
8596
  })]
8597
- }), l && (e.section.questions ?? []).length > 0 ? /* @__PURE__ */ Z("div", {
8597
+ }), u && (e.section.questions ?? []).length > 0 ? /* @__PURE__ */ Z("div", {
8598
8598
  className: "flex flex-col gap-4 w-full mt-4 ml-7",
8599
8599
  children: [(e.section.questions ?? []).map((e) => /* @__PURE__ */ X(pm, { ...e }, e.id)), /* @__PURE__ */ X(mm, {})]
8600
8600
  }) : null]
@@ -8617,7 +8617,7 @@ var um = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
8617
8617
  p || x.push({
8618
8618
  type: "toggle",
8619
8619
  label: l,
8620
- icon: Za,
8620
+ icon: Fa,
8621
8621
  checked: !!r?.required,
8622
8622
  onCheckedChange: m
8623
8623
  });
@@ -8662,7 +8662,7 @@ var um = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
8662
8662
  selected: s === e && t === "dropdown-single"
8663
8663
  }, {
8664
8664
  label: f,
8665
- icon: oa,
8665
+ icon: fo,
8666
8666
  onClick: () => h("dropdown-multi", e),
8667
8667
  selected: s === e && t === "dropdown-multi"
8668
8668
  }]
@@ -8676,16 +8676,16 @@ var um = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
8676
8676
  return x.push({
8677
8677
  type: "submenu",
8678
8678
  label: u,
8679
- icon: Ea,
8679
+ icon: qa,
8680
8680
  selectedLabel: E,
8681
8681
  children: w
8682
8682
  }), x.push({ type: "separator" }), x.push({
8683
8683
  label: i,
8684
- icon: ja,
8684
+ icon: ro,
8685
8685
  onClick: y
8686
8686
  }), n && x.push({
8687
8687
  label: a,
8688
- icon: Ra,
8688
+ icon: Ji,
8689
8689
  onClick: b,
8690
8690
  critical: !0
8691
8691
  }), x;
@@ -8706,12 +8706,12 @@ var um = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
8706
8706
  return {
8707
8707
  id: i,
8708
8708
  label: t.title || n,
8709
- icon: qa,
8709
+ icon: eo,
8710
8710
  onClick: y,
8711
8711
  ...!h && !g && !t.locked && { otherActions: [
8712
8712
  {
8713
8713
  label: o,
8714
- icon: ja,
8714
+ icon: ro,
8715
8715
  onClick: () => m?.({
8716
8716
  elementId: t.id,
8717
8717
  type: "section"
@@ -8720,7 +8720,7 @@ var um = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
8720
8720
  { type: "separator" },
8721
8721
  {
8722
8722
  label: s,
8723
- icon: Ra,
8723
+ icon: Ji,
8724
8724
  onClick: () => p(t.id),
8725
8725
  critical: !0
8726
8726
  }
@@ -8977,12 +8977,12 @@ var Om = (e, t, n) => {
8977
8977
  onChange: n
8978
8978
  }) : null, /* @__PURE__ */ Z("div", {
8979
8979
  className: "relative flex flex-1 flex-col",
8980
- children: [/* @__PURE__ */ Z(jn.div, {
8980
+ children: [/* @__PURE__ */ Z(An.div, {
8981
8981
  className: H("flex w-full max-w-[750px] self-center flex-col gap-6", a && "pointer-events-none"),
8982
8982
  initial: { filter: "blur(0px)" },
8983
8983
  animate: { filter: a ? "blur(2px)" : "none" },
8984
8984
  exit: { filter: "blur(0px)" },
8985
- children: [/* @__PURE__ */ X(Rt, {
8985
+ children: [/* @__PURE__ */ X(Je, {
8986
8986
  axis: "y",
8987
8987
  values: m,
8988
8988
  onReorder: v,
@@ -8997,7 +8997,7 @@ var Om = (e, t, n) => {
8997
8997
  })
8998
8998
  })
8999
8999
  }), d ? /* @__PURE__ */ X(Ip, {}) : null]
9000
- }), a ? /* @__PURE__ */ X(jn.div, {
9000
+ }), a ? /* @__PURE__ */ X(An.div, {
9001
9001
  className: "sticky bottom-1/2 left-0 z-50 flex w-full items-center justify-center",
9002
9002
  initial: {
9003
9003
  opacity: 0,
@@ -9239,7 +9239,7 @@ function Wm({ value: e, onChange: t, onBlur: n, config: r }) {
9239
9239
  u ? /* @__PURE__ */ X("div", {
9240
9240
  className: "min-h-8 p-1",
9241
9241
  children: /* @__PURE__ */ X(z, {
9242
- icon: t.correct ? fo : Dr,
9242
+ icon: t.correct ? Si : Dr,
9243
9243
  color: t.correct ? "positive" : "critical",
9244
9244
  "aria-hidden": !0
9245
9245
  })
@@ -9261,7 +9261,7 @@ var Gm = /^(https?:\/\/)?[\w.-]+\.[a-z]{2,}(:\d+)?(\/[^\s]*)?$/i, Km = () => ({
9261
9261
  status: "idle"
9262
9262
  });
9263
9263
  function qm(e, t) {
9264
- return ga().optional().superRefine((n, r) => {
9264
+ return ha().optional().superRefine((n, r) => {
9265
9265
  e && (!n || n.trim() === "") && r.addIssue({
9266
9266
  code: "custom",
9267
9267
  message: t("forms.validation.required")
@@ -9269,7 +9269,7 @@ function qm(e, t) {
9269
9269
  });
9270
9270
  }
9271
9271
  function Jm(e, t) {
9272
- return ga().optional().superRefine((n, r) => {
9272
+ return ha().optional().superRefine((n, r) => {
9273
9273
  e && (!n || n.trim() === "") ? r.addIssue({
9274
9274
  code: "custom",
9275
9275
  message: t("forms.validation.required")
@@ -9280,7 +9280,7 @@ function Jm(e, t) {
9280
9280
  });
9281
9281
  }
9282
9282
  function Ym(e, t) {
9283
- return Mi().optional().superRefine((n, r) => {
9283
+ return Pi().optional().superRefine((n, r) => {
9284
9284
  e && n == null && r.addIssue({
9285
9285
  code: "custom",
9286
9286
  message: t("forms.validation.required")
@@ -9288,7 +9288,7 @@ function Ym(e, t) {
9288
9288
  });
9289
9289
  }
9290
9290
  function Xm(e, t) {
9291
- return lo(ga()).optional().superRefine((n, r) => {
9291
+ return lo(ha()).optional().superRefine((n, r) => {
9292
9292
  e && (!n || n.length === 0) && r.addIssue({
9293
9293
  code: "custom",
9294
9294
  message: t("forms.validation.required")
@@ -9305,7 +9305,7 @@ function Zm(e, t) {
9305
9305
  }
9306
9306
  var Qm = Xm;
9307
9307
  function $m(e, t) {
9308
- return bi().optional().superRefine((n, r) => {
9308
+ return xi().optional().superRefine((n, r) => {
9309
9309
  e && !n && r.addIssue({
9310
9310
  code: "custom",
9311
9311
  message: t("forms.validation.required")
@@ -9355,7 +9355,7 @@ function nh({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
9355
9355
  placeholder: t("surveyFormBuilder.answer.textPlaceholder"),
9356
9356
  disabled: i
9357
9357
  };
9358
- return ji(qm(!!e.required, t), {
9358
+ return Ni(qm(!!e.required, t), {
9359
9359
  ...c,
9360
9360
  fieldType: "custom",
9361
9361
  render: ({ value: e, onChange: t, onBlur: r, error: i }) => /* @__PURE__ */ X(Yp, {
@@ -9383,7 +9383,7 @@ function nh({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
9383
9383
  rows: 4,
9384
9384
  disabled: i
9385
9385
  };
9386
- return ji(qm(!!e.required, t), {
9386
+ return Ni(qm(!!e.required, t), {
9387
9387
  ...c,
9388
9388
  fieldType: "custom",
9389
9389
  render: ({ value: e, onChange: t, onBlur: r, error: i }) => /* @__PURE__ */ X(Yp, {
@@ -9410,7 +9410,7 @@ function nh({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
9410
9410
  placeholder: t("surveyFormBuilder.answer.numericPlaceholder"),
9411
9411
  disabled: i
9412
9412
  };
9413
- return ji(Ym(!!e.required, t), {
9413
+ return Ni(Ym(!!e.required, t), {
9414
9414
  ...c,
9415
9415
  fieldType: "custom",
9416
9416
  render: ({ value: e, onChange: t, onBlur: r, error: i }) => /* @__PURE__ */ X(Yp, {
@@ -9438,7 +9438,7 @@ function nh({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
9438
9438
  placeholder: t("surveyFormBuilder.answer.linkPlaceholder"),
9439
9439
  disabled: i
9440
9440
  };
9441
- return ji(Jm(!!e.required, t), {
9441
+ return Ni(Jm(!!e.required, t), {
9442
9442
  ...c,
9443
9443
  fieldType: "custom",
9444
9444
  render: ({ value: e, onChange: t, onBlur: r, error: i }) => /* @__PURE__ */ X(Yp, {
@@ -9465,7 +9465,7 @@ function nh({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
9465
9465
  clearable: !e.required,
9466
9466
  disabled: i
9467
9467
  };
9468
- return ji(Zm(!!e.required, t), {
9468
+ return Ni(Zm(!!e.required, t), {
9469
9469
  ...c,
9470
9470
  fieldType: "custom",
9471
9471
  render: ({ value: e, onChange: t, onBlur: r, error: i }) => /* @__PURE__ */ X(Yp, {
@@ -9501,7 +9501,7 @@ function nh({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
9501
9501
  showSearchBox: r,
9502
9502
  searchBoxPlaceholder: e.searchBoxPlaceholder
9503
9503
  };
9504
- return ji(qm(!!e.required, t), {
9504
+ return Ni(qm(!!e.required, t), {
9505
9505
  ...c,
9506
9506
  fieldType: "custom",
9507
9507
  render: ({ value: t, onChange: r, onBlur: i, error: o }) => {
@@ -9550,7 +9550,7 @@ function nh({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
9550
9550
  showSearchBox: r,
9551
9551
  searchBoxPlaceholder: e.searchBoxPlaceholder
9552
9552
  };
9553
- return ji(Xm(!!e.required, t), {
9553
+ return Ni(Xm(!!e.required, t), {
9554
9554
  ...c,
9555
9555
  fieldType: "custom",
9556
9556
  render: ({ value: e, onChange: t, onBlur: n, error: r }) => /* @__PURE__ */ X(Yp, {
@@ -9577,7 +9577,7 @@ function nh({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
9577
9577
  disabled: i,
9578
9578
  showAnswerValidation: r
9579
9579
  };
9580
- return ji(qm(!!e.required, t), {
9580
+ return Ni(qm(!!e.required, t), {
9581
9581
  ...c,
9582
9582
  fieldType: "custom",
9583
9583
  fieldConfig: n,
@@ -9600,7 +9600,7 @@ function nh({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
9600
9600
  disabled: i,
9601
9601
  showAnswerValidation: r
9602
9602
  };
9603
- return ji(Xm(!!e.required, t), {
9603
+ return Ni(Xm(!!e.required, t), {
9604
9604
  ...c,
9605
9605
  fieldType: "custom",
9606
9606
  fieldConfig: n,
@@ -9622,7 +9622,7 @@ function nh({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
9622
9622
  maxLabel: n.maxLabel,
9623
9623
  disabled: i
9624
9624
  };
9625
- return ji(Ym(!!e.required, t), {
9625
+ return Ni(Ym(!!e.required, t), {
9626
9626
  ...c,
9627
9627
  fieldType: "custom",
9628
9628
  fieldConfig: r,
@@ -9648,7 +9648,7 @@ function nh({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
9648
9648
  useUpload: r ?? Km,
9649
9649
  disabled: i || !r
9650
9650
  };
9651
- return ji(Qm(!!e.required, t), {
9651
+ return Ni(Qm(!!e.required, t), {
9652
9652
  ...c,
9653
9653
  fieldType: "custom",
9654
9654
  render: ({ value: e, onChange: t, onBlur: n, error: r }) => /* @__PURE__ */ X(Yp, {
@@ -9674,7 +9674,7 @@ function nh({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
9674
9674
  label: n.label || s,
9675
9675
  disabled: i
9676
9676
  };
9677
- return ji($m(!!e.required, t), {
9677
+ return Ni($m(!!e.required, t), {
9678
9678
  ...c,
9679
9679
  fieldType: "custom",
9680
9680
  render: ({ value: e, onChange: t, onBlur: n, error: i }) => /* @__PURE__ */ X(Yp, {
@@ -9693,7 +9693,7 @@ function nh({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
9693
9693
  })
9694
9694
  });
9695
9695
  }
9696
- default: return ji(ki(), {
9696
+ default: return Ni(Ai(), {
9697
9697
  ...c,
9698
9698
  fieldType: "custom",
9699
9699
  render: () => null
@@ -9823,12 +9823,12 @@ function sh({ elements: e, onSubmit: t, mode: n, title: r, description: i, resou
9823
9823
  }, A.goToPrevious();
9824
9824
  }, [w, A.goToPrevious]), de = u && !p ? [{
9825
9825
  label: y(S ? "surveyAnsweringForm.actions.collapse" : "surveyAnsweringForm.actions.expand"),
9826
- icon: S ? ma : Ri,
9826
+ icon: S ? Fi : xa,
9827
9827
  onClick: () => C((e) => !e)
9828
9828
  }] : void 0, fe = j ? p || N ? void 0 : P ? M && !A.isLastStep ? {
9829
9829
  label: y("surveyAnsweringForm.actions.next"),
9830
9830
  onClick: A.goToNext,
9831
- icon: Ca
9831
+ icon: aa
9832
9832
  } : {
9833
9833
  label: y("surveyAnsweringForm.actions.submit"),
9834
9834
  onClick: ih,
@@ -9836,7 +9836,7 @@ function sh({ elements: e, onSubmit: t, mode: n, title: r, description: i, resou
9836
9836
  } : M && !A.isLastStep ? {
9837
9837
  label: y("surveyAnsweringForm.actions.next"),
9838
9838
  onClick: ce,
9839
- icon: Ca
9839
+ icon: aa
9840
9840
  } : {
9841
9841
  label: y("surveyAnsweringForm.actions.submit"),
9842
9842
  onClick: ce,
@@ -9847,7 +9847,7 @@ function sh({ elements: e, onSubmit: t, mode: n, title: r, description: i, resou
9847
9847
  onClick: le,
9848
9848
  icon: $o
9849
9849
  } : void 0 : void 0, me = n === "all-questions" && j && !p, he = M && j && !p, ge = M && !!A.currentQuestion?.sectionTitle && !p, _e = F === "center" || F === "fullscreen";
9850
- return /* @__PURE__ */ X(Qa, {
9850
+ return /* @__PURE__ */ X($a, {
9851
9851
  isOpen: o,
9852
9852
  onClose: s,
9853
9853
  title: r,
@@ -9884,13 +9884,13 @@ function sh({ elements: e, onSubmit: t, mode: n, title: r, description: i, resou
9884
9884
  children: [
9885
9885
  /* @__PURE__ */ X("div", {
9886
9886
  className: "mb-6",
9887
- children: /* @__PURE__ */ X(Me, {
9887
+ children: /* @__PURE__ */ X(Ne, {
9888
9888
  title: r,
9889
9889
  description: i,
9890
9890
  ...a
9891
9891
  })
9892
9892
  }),
9893
- p ? X(n === "stepped" ? Bm : zm, {}) : j ? null : /* @__PURE__ */ X(Or, {
9893
+ p ? X(n === "stepped" ? Bm : zm, {}) : j ? null : /* @__PURE__ */ X(Er, {
9894
9894
  display: "flex",
9895
9895
  flexDirection: "column",
9896
9896
  height: "full",
@@ -9954,7 +9954,7 @@ function ch({ elements: e, title: t, description: n, resourceHeader: r, defaultV
9954
9954
  className: "mx-auto flex w-full max-w-3xl flex-col",
9955
9955
  children: [l ? null : /* @__PURE__ */ X("div", {
9956
9956
  className: "mb-6",
9957
- children: /* @__PURE__ */ X(Me, {
9957
+ children: /* @__PURE__ */ X(Ne, {
9958
9958
  title: t,
9959
9959
  description: n,
9960
9960
  ...r
@@ -9969,7 +9969,7 @@ function ch({ elements: e, title: t, description: n, resourceHeader: r, defaultV
9969
9969
  hideActionBar: !0
9970
9970
  },
9971
9971
  sections: g
9972
- }) : /* @__PURE__ */ X(Or, {
9972
+ }) : /* @__PURE__ */ X(Er, {
9973
9973
  display: "flex",
9974
9974
  flexDirection: "column",
9975
9975
  justifyContent: "center",
@@ -9987,7 +9987,7 @@ function ch({ elements: e, title: t, description: n, resourceHeader: r, defaultV
9987
9987
  //#endregion
9988
9988
  //#region src/domains/talent/surveys/surveys/SurveySampleQuestion/SurveySampleQuestion.tsx
9989
9989
  function lh(e) {
9990
- return /* @__PURE__ */ Z(Or, {
9990
+ return /* @__PURE__ */ Z(Er, {
9991
9991
  display: "flex",
9992
9992
  flexDirection: "column",
9993
9993
  gap: "lg",
@@ -10005,21 +10005,21 @@ function lh(e) {
10005
10005
  });
10006
10006
  }
10007
10007
  function uh({ steps: e, minLabel: t, maxLabel: n }) {
10008
- return /* @__PURE__ */ Z(Or, {
10008
+ return /* @__PURE__ */ Z(Er, {
10009
10009
  display: "flex",
10010
10010
  flexDirection: "column",
10011
10011
  gap: "sm",
10012
- children: [/* @__PURE__ */ X(Or, {
10012
+ children: [/* @__PURE__ */ X(Er, {
10013
10013
  display: "grid",
10014
10014
  columns: String(e),
10015
10015
  gap: "sm",
10016
- children: Array.from({ length: e }).map((e, t) => /* @__PURE__ */ X(Or, {
10016
+ children: Array.from({ length: e }).map((e, t) => /* @__PURE__ */ X(Er, {
10017
10017
  height: "8",
10018
10018
  border: "default",
10019
10019
  borderRadius: "md",
10020
10020
  background: "primary"
10021
10021
  }, t))
10022
- }), t || n ? /* @__PURE__ */ Z(Or, {
10022
+ }), t || n ? /* @__PURE__ */ Z(Er, {
10023
10023
  display: "flex",
10024
10024
  justifyContent: "between",
10025
10025
  alignItems: "center",
@@ -10034,11 +10034,11 @@ function uh({ steps: e, minLabel: t, maxLabel: n }) {
10034
10034
  });
10035
10035
  }
10036
10036
  function dh({ options: e }) {
10037
- return /* @__PURE__ */ X(Or, {
10037
+ return /* @__PURE__ */ X(Er, {
10038
10038
  display: "flex",
10039
10039
  flexDirection: "column",
10040
10040
  gap: "md",
10041
- children: e.map((e) => /* @__PURE__ */ Z(Or, {
10041
+ children: e.map((e) => /* @__PURE__ */ Z(Er, {
10042
10042
  display: "flex",
10043
10043
  alignItems: "center",
10044
10044
  gap: "md",
@@ -10047,7 +10047,7 @@ function dh({ options: e }) {
10047
10047
  border: "default",
10048
10048
  borderRadius: "md",
10049
10049
  background: "primary",
10050
- children: [/* @__PURE__ */ X(Or, {
10050
+ children: [/* @__PURE__ */ X(Er, {
10051
10051
  shrink: !1,
10052
10052
  width: "4",
10053
10053
  height: "4",
@@ -10091,7 +10091,7 @@ var fh = ({ benefits: e }) => /* @__PURE__ */ X("div", {
10091
10091
  children: [
10092
10092
  /* @__PURE__ */ Z("div", {
10093
10093
  className: "flex flex-row items-center gap-2",
10094
- children: [a ? /* @__PURE__ */ X(vo, { module: a }) : null, o ? /* @__PURE__ */ X("p", {
10094
+ children: [a ? /* @__PURE__ */ X(go, { module: a }) : null, o ? /* @__PURE__ */ X("p", {
10095
10095
  className: "text-base font-medium text-f1-foreground",
10096
10096
  children: o
10097
10097
  }) : null]
@@ -10137,22 +10137,22 @@ function gh({ isOpen: e, onClose: t, title: n, children: r, module: i, portalCon
10137
10137
  container: a,
10138
10138
  children: [/* @__PURE__ */ Z("div", {
10139
10139
  className: "flex flex-row items-center justify-between px-4 py-4",
10140
- children: [/* @__PURE__ */ Z(La, {
10140
+ children: [/* @__PURE__ */ Z(Ra, {
10141
10141
  className: "flex flex-row items-center gap-2 text-lg font-semibold text-f1-foreground",
10142
- children: [i ? /* @__PURE__ */ X(vo, {
10142
+ children: [i ? /* @__PURE__ */ X(go, {
10143
10143
  module: i,
10144
10144
  size: "md"
10145
10145
  }) : null, n]
10146
- }), /* @__PURE__ */ X(Qn, {
10146
+ }), /* @__PURE__ */ X(Zn, {
10147
10147
  variant: "outline",
10148
10148
  icon: Dr,
10149
10149
  onClick: t,
10150
10150
  label: "Close modal",
10151
10151
  hideLabel: !0
10152
10152
  })]
10153
- }), /* @__PURE__ */ Z(Oo, {
10153
+ }), /* @__PURE__ */ Z(wo, {
10154
10154
  className: "[*[data-state=visible]_div]:bg-f1-background flex max-h-[512px] flex-col",
10155
- children: [r, /* @__PURE__ */ X(Eo, {
10155
+ children: [r, /* @__PURE__ */ X(To, {
10156
10156
  orientation: "vertical",
10157
10157
  className: "[&_div]:bg-f1-background"
10158
10158
  })]
@@ -10176,7 +10176,7 @@ function _h({ isOpen: e, onClose: t, title: n, image: r, benefits: i, errorMessa
10176
10176
  }
10177
10177
  }, T = () => {
10178
10178
  y(!1), t?.();
10179
- }, D = S;
10179
+ }, E = S;
10180
10180
  return /* @__PURE__ */ Z(Y, { children: [/* @__PURE__ */ X(gh, {
10181
10181
  isOpen: v,
10182
10182
  onClose: T,
@@ -10196,7 +10196,7 @@ function _h({ isOpen: e, onClose: t, title: n, image: r, benefits: i, errorMessa
10196
10196
  className: "flex gap-3",
10197
10197
  children: [u ? /* @__PURE__ */ X(R, {
10198
10198
  variant: u.variant,
10199
- label: D ? s.label : u.label,
10199
+ label: E ? s.label : u.label,
10200
10200
  icon: u.icon || void 0,
10201
10201
  onClick: w,
10202
10202
  loading: u.loading,
@@ -10211,7 +10211,7 @@ function _h({ isOpen: e, onClose: t, title: n, image: r, benefits: i, errorMessa
10211
10211
  })
10212
10212
  })
10213
10213
  })
10214
- }), b && _ ? /* @__PURE__ */ X(E, {
10214
+ }), b && _ ? /* @__PURE__ */ X(D, {
10215
10215
  open: !0,
10216
10216
  onClose: () => {
10217
10217
  T(), x(null);
@@ -10235,10 +10235,10 @@ function yh({ mediaUrl: e, title: t, description: n, onClose: r, dismissible: i,
10235
10235
  o && o(!l);
10236
10236
  }, [o, l]);
10237
10237
  let f = e?.includes(".mp4");
10238
- return /* @__PURE__ */ X(Y, { children: l ? null : /* @__PURE__ */ Z(gi, {
10238
+ return /* @__PURE__ */ X(Y, { children: l ? null : /* @__PURE__ */ Z(La, {
10239
10239
  style: { width: a },
10240
10240
  className: "relative bg-f1-background p-1",
10241
- children: [/* @__PURE__ */ Z(Ki, { children: [i ? /* @__PURE__ */ X("div", {
10241
+ children: [/* @__PURE__ */ Z(Xi, { children: [i ? /* @__PURE__ */ X("div", {
10242
10242
  className: "absolute right-2 top-2 z-10",
10243
10243
  children: /* @__PURE__ */ X(R, {
10244
10244
  variant: "ghost",
@@ -10268,9 +10268,9 @@ function yh({ mediaUrl: e, title: t, description: n, onClose: r, dismissible: i,
10268
10268
  className: "line-clamp-3 text-base font-normal text-f1-foreground-secondary",
10269
10269
  children: n
10270
10270
  })]
10271
- })] })] }), s ? /* @__PURE__ */ X(Yi, {
10271
+ })] })] }), s ? /* @__PURE__ */ X(ta, {
10272
10272
  className: "p-3",
10273
- children: s.map((e) => e.type === "upsell" ? /* @__PURE__ */ X(v, {
10273
+ children: s.map((e) => e.type === "upsell" ? /* @__PURE__ */ X(y, {
10274
10274
  label: e.label,
10275
10275
  onRequest: e.onClick,
10276
10276
  errorMessage: e.errorMessage,
@@ -10330,7 +10330,7 @@ function Sh({ icon: e, title: t, description: n, action: r, onDismiss: i }) {
10330
10330
  })]
10331
10331
  }), /* @__PURE__ */ X("div", {
10332
10332
  className: H("flex flex-shrink-0 @xs:pl-0", e && "pl-8"),
10333
- children: /* @__PURE__ */ X(v, {
10333
+ children: /* @__PURE__ */ X(y, {
10334
10334
  label: r.label,
10335
10335
  onRequest: r.onRequest,
10336
10336
  errorMessage: r.errorMessage,
@@ -10352,7 +10352,7 @@ function Sh({ icon: e, title: t, description: n, action: r, onDismiss: i }) {
10352
10352
  });
10353
10353
  }
10354
10354
  var Ch = L(Sh), wh = gc(function({ primaryAction: e, secondaryAction: t, ...n }, r) {
10355
- let i = (e) => e.variant === "promote" ? /* @__PURE__ */ X(v, {
10355
+ let i = (e) => e.variant === "promote" ? /* @__PURE__ */ X(y, {
10356
10356
  label: e.label,
10357
10357
  onRequest: e.onClick,
10358
10358
  errorMessage: e.errorMessage,
@@ -10382,7 +10382,7 @@ wh.displayName = "UpsellingBanner";
10382
10382
  var Th = L(wh);
10383
10383
  //#endregion
10384
10384
  //#region src/domains/growth/upselling/UpsellingKit/UpsellingPopover/UpsellingPopover.tsx
10385
- function Eh({ isOpen: e, setIsOpen: t, label: n, variant: r = "promote", size: i = "md", showIcon: a = !0, side: o = "right", align: s = "center", icon: c = Ii, mediaUrl: l, title: u, description: d, width: f = "300px", trackVisibility: p, actions: m, onClick: h, hideLabel: g = !1 }) {
10385
+ function Eh({ isOpen: e, setIsOpen: t, label: n, variant: r = "promote", size: i = "md", showIcon: a = !0, side: o = "right", align: s = "center", icon: c = ba, mediaUrl: l, title: u, description: d, width: f = "300px", trackVisibility: p, actions: m, onClick: h, hideLabel: g = !1 }) {
10386
10386
  let [_, v] = J(!1), [y, b] = J(null), [x, S] = J(null), C = (e) => {
10387
10387
  t(e), h && h();
10388
10388
  }, w = async (e) => {
@@ -10396,14 +10396,14 @@ function Eh({ isOpen: e, setIsOpen: t, label: n, variant: r = "promote", size: i
10396
10396
  }
10397
10397
  }, T = () => {
10398
10398
  b(null), v(!1), S(null), t(!1);
10399
- }, D = e && !_, O = m?.map((e) => e.type === "upsell" ? {
10399
+ }, E = e && !_, O = m?.map((e) => e.type === "upsell" ? {
10400
10400
  ...e,
10401
10401
  onClick: () => w(e)
10402
10402
  } : e);
10403
- return /* @__PURE__ */ Z(Y, { children: [/* @__PURE__ */ Z(Yn, {
10404
- open: D,
10403
+ return /* @__PURE__ */ Z(Y, { children: [/* @__PURE__ */ Z(Jn, {
10404
+ open: E,
10405
10405
  onOpenChange: C,
10406
- children: [/* @__PURE__ */ X(En, {
10406
+ children: [/* @__PURE__ */ X(Tn, {
10407
10407
  asChild: !0,
10408
10408
  children: /* @__PURE__ */ X(R, {
10409
10409
  variant: r,
@@ -10413,7 +10413,7 @@ function Eh({ isOpen: e, setIsOpen: t, label: n, variant: r = "promote", size: i
10413
10413
  onClick: () => t(e),
10414
10414
  hideLabel: g
10415
10415
  })
10416
- }), /* @__PURE__ */ X(Fn, {
10416
+ }), /* @__PURE__ */ X(Pn, {
10417
10417
  side: o,
10418
10418
  align: s,
10419
10419
  className: "w-fit border-none bg-transparent p-2 shadow-none",
@@ -10429,7 +10429,7 @@ function Eh({ isOpen: e, setIsOpen: t, label: n, variant: r = "promote", size: i
10429
10429
  showConfirmation: !1
10430
10430
  })
10431
10431
  })]
10432
- }), x?.type === "upsell" && x.showConfirmation && y ? /* @__PURE__ */ X(E, {
10432
+ }), x?.type === "upsell" && x.showConfirmation && y ? /* @__PURE__ */ X(D, {
10433
10433
  open: !0,
10434
10434
  onClose: T,
10435
10435
  success: y === "success",
@@ -10442,9 +10442,9 @@ function Eh({ isOpen: e, setIsOpen: t, label: n, variant: r = "promote", size: i
10442
10442
  }
10443
10443
  var Dh = L(Eh), Oh = ({ preview: e, moduleName: t, description: n, onAction: r, actionHref: i }) => {
10444
10444
  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);
10445
- return /* @__PURE__ */ Z(gi, {
10445
+ return /* @__PURE__ */ Z(La, {
10446
10446
  className: "flex flex-col overflow-hidden",
10447
- children: [/* @__PURE__ */ Z(Ki, {
10447
+ children: [/* @__PURE__ */ Z(Xi, {
10448
10448
  className: "flex flex-col gap-4 p-0",
10449
10449
  children: [/* @__PURE__ */ X("div", {
10450
10450
  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"),
@@ -10459,7 +10459,7 @@ var Dh = L(Eh), Oh = ({ preview: e, moduleName: t, description: n, onAction: r,
10459
10459
  children: n
10460
10460
  })]
10461
10461
  })]
10462
- }), /* @__PURE__ */ X(Yi, {
10462
+ }), /* @__PURE__ */ X(ta, {
10463
10463
  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",
10464
10464
  children: i ? /* @__PURE__ */ X(R, {
10465
10465
  variant: "default",
@@ -10490,7 +10490,7 @@ var Dh = L(Eh), Oh = ({ preview: e, moduleName: t, description: n, onAction: r,
10490
10490
  }), /* @__PURE__ */ X("span", {
10491
10491
  className: "mt-0.5 flex-shrink-0 text-f1-foreground-secondary",
10492
10492
  children: /* @__PURE__ */ X(z, {
10493
- icon: t ? ko : Bo,
10493
+ icon: t ? Ao : Bo,
10494
10494
  size: "sm",
10495
10495
  className: H("transition-transform duration-200", t && "text-f1-foreground")
10496
10496
  })
@@ -10506,7 +10506,7 @@ var Dh = L(Eh), Oh = ({ preview: e, moduleName: t, description: n, onAction: r,
10506
10506
  })
10507
10507
  })]
10508
10508
  }), Ah = ({ headerIcon: e, items: t, defaultExpandedId: n, expandedId: r, onExpandedChange: i, allowMultiple: a = !1 }) => {
10509
- let o = V()?.ai?.growth?.faqCard?.title ?? "Questions before getting started", s = e ?? oo, [c, l] = J(() => new Set(n ? [n] : [])), u = r !== void 0, d = W((e) => u ? r === e : c.has(e), [
10509
+ let o = V()?.ai?.growth?.faqCard?.title ?? "Questions before getting started", s = e ?? Da, [c, l] = J(() => new Set(n ? [n] : [])), u = r !== void 0, d = W((e) => u ? r === e : c.has(e), [
10510
10510
  u,
10511
10511
  r,
10512
10512
  c
@@ -10521,9 +10521,9 @@ var Dh = L(Eh), Oh = ({ preview: e, moduleName: t, description: n, onAction: r,
10521
10521
  i,
10522
10522
  a
10523
10523
  ]);
10524
- return t.length === 0 ? null : /* @__PURE__ */ Z(gi, {
10524
+ return t.length === 0 ? null : /* @__PURE__ */ Z(La, {
10525
10525
  className: "flex flex-col overflow-hidden",
10526
- children: [/* @__PURE__ */ Z($i, {
10526
+ children: [/* @__PURE__ */ Z(Di, {
10527
10527
  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",
10528
10528
  children: [/* @__PURE__ */ X("div", {
10529
10529
  className: "flex h-6 w-6 items-center justify-center rounded-full border border-f1-border-secondary",
@@ -10536,7 +10536,7 @@ var Dh = L(Eh), Oh = ({ preview: e, moduleName: t, description: n, onAction: r,
10536
10536
  className: "text-base font-semibold text-f1-foreground",
10537
10537
  children: o
10538
10538
  })]
10539
- }), /* @__PURE__ */ X(Ki, {
10539
+ }), /* @__PURE__ */ X(Xi, {
10540
10540
  className: "flex flex-col divide-y divide-f1-border p-0",
10541
10541
  children: t.map((e) => /* @__PURE__ */ X(kh, {
10542
10542
  item: e,
@@ -10547,13 +10547,13 @@ var Dh = L(Eh), Oh = ({ preview: e, moduleName: t, description: n, onAction: r,
10547
10547
  });
10548
10548
  }, jh = ({ moduleName: e, description: t, onAction: n, actionHref: r, imageSrc: i }) => {
10549
10549
  let a = V()?.ai?.growth?.moduleCard?.actionLabel ?? "Learn more";
10550
- return /* @__PURE__ */ Z(gi, {
10550
+ return /* @__PURE__ */ Z(La, {
10551
10551
  className: "flex flex-col overflow-hidden",
10552
- children: [/* @__PURE__ */ X(Ki, {
10552
+ children: [/* @__PURE__ */ X(Xi, {
10553
10553
  className: "flex flex-col gap-3 p-0",
10554
10554
  children: /* @__PURE__ */ Z("div", {
10555
10555
  className: "flex items-start gap-3",
10556
- children: [/* @__PURE__ */ X(No, {
10556
+ children: [/* @__PURE__ */ X(Po, {
10557
10557
  avatar: {
10558
10558
  type: "company",
10559
10559
  name: e || "",
@@ -10571,7 +10571,7 @@ var Dh = L(Eh), Oh = ({ preview: e, moduleName: t, description: n, onAction: r,
10571
10571
  })]
10572
10572
  })]
10573
10573
  })
10574
- }), /* @__PURE__ */ X(Yi, {
10574
+ }), /* @__PURE__ */ X(ta, {
10575
10575
  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",
10576
10576
  children: r ? /* @__PURE__ */ X(R, {
10577
10577
  variant: "outline",
@@ -10589,12 +10589,12 @@ var Dh = L(Eh), Oh = ({ preview: e, moduleName: t, description: n, onAction: r,
10589
10589
  });
10590
10590
  }, Mh = ({ onAction: e, actionHref: t }) => {
10591
10591
  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";
10592
- return /* @__PURE__ */ Z(gi, {
10592
+ return /* @__PURE__ */ Z(La, {
10593
10593
  className: "flex flex-col overflow-hidden",
10594
- children: [/* @__PURE__ */ Z(Ki, {
10594
+ children: [/* @__PURE__ */ Z(Xi, {
10595
10595
  className: "flex flex-col gap-3 p-0",
10596
10596
  children: [/* @__PURE__ */ X(z, {
10597
- icon: Vi,
10597
+ icon: Xa,
10598
10598
  size: "lg"
10599
10599
  }), /* @__PURE__ */ Z("div", {
10600
10600
  className: "flex flex-col gap-0.5",
@@ -10606,7 +10606,7 @@ var Dh = L(Eh), Oh = ({ preview: e, moduleName: t, description: n, onAction: r,
10606
10606
  children: i
10607
10607
  })]
10608
10608
  })]
10609
- }), /* @__PURE__ */ X(Yi, {
10609
+ }), /* @__PURE__ */ X(ta, {
10610
10610
  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",
10611
10611
  children: t ? /* @__PURE__ */ X(R, {
10612
10612
  variant: "default",
@@ -10652,9 +10652,9 @@ var Dh = L(Eh), Oh = ({ preview: e, moduleName: t, description: n, onAction: r,
10652
10652
  e,
10653
10653
  t
10654
10654
  ]), g = a === u - 1, _ = u > 1, v = n != null;
10655
- return u === 0 || !d ? null : /* @__PURE__ */ Z(gi, {
10655
+ return u === 0 || !d ? null : /* @__PURE__ */ Z(La, {
10656
10656
  className: "flex flex-col overflow-hidden",
10657
- children: [/* @__PURE__ */ Z(Ki, {
10657
+ children: [/* @__PURE__ */ Z(Xi, {
10658
10658
  className: "flex flex-col gap-4",
10659
10659
  children: [/* @__PURE__ */ X("h3", {
10660
10660
  className: "text-base font-semibold text-f1-foreground",
@@ -10671,7 +10671,7 @@ var Dh = L(Eh), Oh = ({ preview: e, moduleName: t, description: n, onAction: r,
10671
10671
  })
10672
10672
  }, e.id))
10673
10673
  })]
10674
- }), /* @__PURE__ */ Z(Yi, {
10674
+ }), /* @__PURE__ */ Z(ta, {
10675
10675
  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",
10676
10676
  children: [/* @__PURE__ */ X("div", {
10677
10677
  className: "flex min-w-[7.5rem] items-center justify-start gap-1",
@@ -11135,7 +11135,7 @@ function mg(e, t) {
11135
11135
  n.href = URL.createObjectURL(e), n.download = t, n.click(), URL.revokeObjectURL(n.href);
11136
11136
  }
11137
11137
  async function hg(e, t, n, { keys: r, preamble: i } = {}) {
11138
- mg(await io([{
11138
+ mg(await ao([{
11139
11139
  name: "Data",
11140
11140
  rows: fg({
11141
11141
  columns: e,
@@ -11157,7 +11157,7 @@ function _g(e, t, n) {
11157
11157
  r.href = e, r.download = `${t}.${n}`, r.click();
11158
11158
  }
11159
11159
  async function vg(e, t) {
11160
- mg(await io(e.map((e) => ({
11160
+ mg(await ao(e.map((e) => ({
11161
11161
  name: e.name,
11162
11162
  rows: fg(e)
11163
11163
  }))), `${t}.xlsx`);
@@ -11166,10 +11166,10 @@ async function vg(e, t) {
11166
11166
  //#region src/domains/platform/ai/analytics/F0AnalyticsDashboard/hooks/useChartDownloadActions.ts
11167
11167
  function yg(e) {
11168
11168
  let t = e.current?.querySelector(":scope > div");
11169
- return t ? Tt(t) ?? null : null;
11169
+ return t ? Re(t) ?? null : null;
11170
11170
  }
11171
11171
  function bg(e, t, n) {
11172
- let r = It(document.createElement("div"), void 0, {
11172
+ let r = Tt(document.createElement("div"), void 0, {
11173
11173
  renderer: "canvas",
11174
11174
  width: e.getWidth(),
11175
11175
  height: e.getHeight()
@@ -11218,23 +11218,23 @@ function xg({ chartContainerRef: e, chartConfig: t, data: n, title: r }) {
11218
11218
  return K(() => n ? [
11219
11219
  {
11220
11220
  label: i("ai.dataDownload.download", { format: "PNG" }),
11221
- icon: Fa,
11221
+ icon: Ea,
11222
11222
  onClick: () => a("png")
11223
11223
  },
11224
11224
  {
11225
11225
  label: i("ai.dataDownload.download", { format: "JPG" }),
11226
- icon: Fa,
11226
+ icon: Ea,
11227
11227
  onClick: () => a("jpg")
11228
11228
  },
11229
11229
  { type: "separator" },
11230
11230
  {
11231
11231
  label: i("ai.dataDownload.download", { format: "Excel" }),
11232
- icon: Pa,
11232
+ icon: Ta,
11233
11233
  onClick: s
11234
11234
  },
11235
11235
  {
11236
11236
  label: i("ai.dataDownload.download", { format: "CSV" }),
11237
- icon: Pa,
11237
+ icon: Ta,
11238
11238
  onClick: c
11239
11239
  }
11240
11240
  ] : [], [
@@ -11321,16 +11321,16 @@ function Cg({ filters: e, value: t, onChange: n, onOpenChange: r }) {
11321
11321
  let e = o.current?.querySelector("[aria-invalid=\"true\"]");
11322
11322
  e ? e.focus() : f(null);
11323
11323
  };
11324
- return Object.keys(_).length === 0 ? null : /* @__PURE__ */ Z(Yn, {
11324
+ return Object.keys(_).length === 0 ? null : /* @__PURE__ */ Z(Jn, {
11325
11325
  open: l,
11326
11326
  onOpenChange: (e) => {
11327
11327
  u(e), r?.(e), !e && (f(null), m(t));
11328
11328
  },
11329
11329
  modal: !1,
11330
11330
  children: [
11331
- /* @__PURE__ */ X(En, {
11331
+ /* @__PURE__ */ X(Tn, {
11332
11332
  asChild: !0,
11333
- children: /* @__PURE__ */ X(Qn, {
11333
+ children: /* @__PURE__ */ X(Zn, {
11334
11334
  label: i.filters.label,
11335
11335
  icon: Xs,
11336
11336
  variant: "ghost",
@@ -11355,7 +11355,7 @@ function Cg({ filters: e, value: t, onChange: n, onOpenChange: r }) {
11355
11355
  ")"
11356
11356
  ]
11357
11357
  }) : null,
11358
- /* @__PURE__ */ X(Fn, {
11358
+ /* @__PURE__ */ X(Pn, {
11359
11359
  ref: o,
11360
11360
  "aria-label": i.filters.label,
11361
11361
  className: "w-[380px] max-w-[calc(100vw-1rem)] rounded-xl border border-solid border-f1-border-secondary p-0 shadow-md",
@@ -11464,7 +11464,7 @@ function Eg({ title: e, enabled: t, actionsCollapse: n }) {
11464
11464
  //#endregion
11465
11465
  //#region src/domains/platform/ai/analytics/F0AnalyticsDashboard/components/DashboardItem/DashboardItem.tsx
11466
11466
  function Dg({ title: e, description: t, info: n, isLoading: r, error: i, onRetry: a, skeleton: o, children: s, actions: c = [], itemFilters: l, editMode: u, readOnly: d = !1, handleDelete: f, onAskAi: p, onAskAiTarget: m, itemId: h, chartTypeOptions: g, explanation: _, isFullscreen: v = !1, descriptionAction: y, headerLines: b = 2, fitContent: x = !1, onFullscreenChange: S }) {
11467
- let [C, w] = J(!1), [T, E] = J(!1), D = q(!1), [O, k] = J(!1), A = V(), { enabled: j, setPendingQuote: ee, setOpen: M, focusChatInput: N } = ra(), P = (e) => {
11467
+ let [C, w] = J(!1), [T, E] = J(!1), D = q(!1), [O, k] = J(!1), A = V(), { enabled: j, setPendingQuote: ee, setOpen: M, focusChatInput: N } = oa(), P = (e) => {
11468
11468
  w(e), e || k(!1);
11469
11469
  }, te = c.filter((e) => !("type" in e) || e.type === "item" || e.type === void 0), ne = te.length > 0, re = u && f && h, F = g && g.length > 0, ie = !!_ && _.trim().length > 0, I = !!S, ae = !d && e.trim().length > 0 && (p ? !!h : j), oe = ae || ne || re || F || ie, se = !!l || I || !!oe, ce = !v && (C || T), le = H("flex flex-shrink-0 gap-0.5", !v && "opacity-100 transition-opacity delay-150 duration-150 focus-within:delay-0 group-hover/dashitem:delay-0 sm:[@media(hover:hover)]:opacity-0 focus-within:sm:opacity-100 group-hover/dashitem:sm:opacity-100", ce && "delay-0 !opacity-100"), de = H("-my-2 -mr-0.5 isolate grid flex-shrink-0", !v && "transition-[grid-template-columns] delay-150 duration-150 focus-within:delay-0 group-hover/dashitem:delay-0 motion-reduce:duration-0 sm:[@media(hover:hover)]:grid-cols-[0fr] focus-within:sm:grid-cols-[1fr] group-hover/dashitem:sm:grid-cols-[1fr]", ce && "delay-0 !grid-cols-[1fr]"), fe = Eg({
11470
11470
  title: e,
@@ -11488,11 +11488,11 @@ function Dg({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
11488
11488
  }), ee(t), M(!0);
11489
11489
  }, ge = (e) => {
11490
11490
  D.current && (D.current = !1, N() && e.preventDefault());
11491
- }, _e = ae ? /* @__PURE__ */ X(mn, { children: /* @__PURE__ */ X(gn, {
11491
+ }, _e = ae ? /* @__PURE__ */ X(pn, { children: /* @__PURE__ */ X(hn, {
11492
11492
  onClick: he,
11493
11493
  children: /* @__PURE__ */ Z("div", {
11494
11494
  className: "flex w-full flex-row items-center gap-2",
11495
- children: [/* @__PURE__ */ X(z, { icon: ia }), /* @__PURE__ */ X("span", {
11495
+ children: [/* @__PURE__ */ X(z, { icon: co }), /* @__PURE__ */ X("span", {
11496
11496
  className: "flex-1",
11497
11497
  children: A.ai.dashboardItem.askOne
11498
11498
  })]
@@ -11511,7 +11511,7 @@ function Dg({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
11511
11511
  children: e
11512
11512
  }), n ? /* @__PURE__ */ X("div", {
11513
11513
  className: "flex shrink-0 items-center text-f1-foreground-secondary",
11514
- children: /* @__PURE__ */ X(De, { info: n })
11514
+ children: /* @__PURE__ */ X(Oe, { info: n })
11515
11515
  }) : null]
11516
11516
  }), t ? /* @__PURE__ */ X("p", {
11517
11517
  className: "text-base text-f1-foreground-secondary",
@@ -11522,14 +11522,14 @@ function Dg({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
11522
11522
  children: [l ? /* @__PURE__ */ X(Cg, {
11523
11523
  ...l,
11524
11524
  onOpenChange: E
11525
- }) : null, ae ? /* @__PURE__ */ Z(on, {
11525
+ }) : null, ae ? /* @__PURE__ */ Z(an, {
11526
11526
  open: C,
11527
11527
  onOpenChange: P,
11528
- children: [/* @__PURE__ */ X(yn, {
11528
+ children: [/* @__PURE__ */ X(vn, {
11529
11529
  asChild: !0,
11530
- children: /* @__PURE__ */ X(Qn, {
11530
+ children: /* @__PURE__ */ X(Zn, {
11531
11531
  label: A.actions.other,
11532
- icon: la,
11532
+ icon: Ei,
11533
11533
  variant: "ghost",
11534
11534
  size: "md",
11535
11535
  hideLabel: !0,
@@ -11537,7 +11537,7 @@ function Dg({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
11537
11537
  compact: !0,
11538
11538
  onClick: (e) => e.stopPropagation()
11539
11539
  })
11540
- }), /* @__PURE__ */ X(Ln, {
11540
+ }), /* @__PURE__ */ X(In, {
11541
11541
  align: "end",
11542
11542
  className: "py-1",
11543
11543
  onCloseAutoFocus: ge,
@@ -11564,14 +11564,14 @@ function Dg({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
11564
11564
  "aria-live": r ? "polite" : void 0,
11565
11565
  children: [/* @__PURE__ */ Z("div", {
11566
11566
  className: H("flex flex-col px-4 py-3", se && "min-h-14"),
11567
- children: [/* @__PURE__ */ Z(Or, {
11567
+ children: [/* @__PURE__ */ Z(Er, {
11568
11568
  ref: fe.rowRef,
11569
11569
  display: "flex",
11570
11570
  minWidth: "0",
11571
11571
  alignItems: pe > 1 ? "start" : "center",
11572
11572
  children: [/* @__PURE__ */ Z("div", {
11573
11573
  className: H("flex min-w-0 flex-1 gap-1", pe > 1 ? "items-start" : "items-center"),
11574
- children: [/* @__PURE__ */ X($n, {
11574
+ children: [/* @__PURE__ */ X(Qn, {
11575
11575
  tag: "h3",
11576
11576
  lines: pe,
11577
11577
  className: H("text-base font-semibold text-f1-foreground", pe > 1 && "hyphens-auto"),
@@ -11579,7 +11579,7 @@ function Dg({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
11579
11579
  }), n ? /* @__PURE__ */ X("div", {
11580
11580
  ref: fe.infoRef,
11581
11581
  className: "flex h-5 shrink-0 items-center text-f1-foreground-secondary",
11582
- children: /* @__PURE__ */ X(De, { info: n })
11582
+ children: /* @__PURE__ */ X(Oe, { info: n })
11583
11583
  }) : null]
11584
11584
  }), se ? /* @__PURE__ */ X("div", {
11585
11585
  ref: fe.actionsRef,
@@ -11593,23 +11593,23 @@ function Dg({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
11593
11593
  ...l,
11594
11594
  onOpenChange: E
11595
11595
  }) : null,
11596
- I ? /* @__PURE__ */ X(Qn, {
11596
+ I ? /* @__PURE__ */ X(Zn, {
11597
11597
  label: v ? A.actions.collapse : A.actions.expand,
11598
- icon: v ? ma : Ri,
11598
+ icon: v ? Fi : xa,
11599
11599
  variant: "ghost",
11600
11600
  size: "md",
11601
11601
  hideLabel: !0,
11602
11602
  compact: !0,
11603
11603
  onClick: () => S?.(!v)
11604
11604
  }) : null,
11605
- oe ? /* @__PURE__ */ Z(on, {
11605
+ oe ? /* @__PURE__ */ Z(an, {
11606
11606
  open: C,
11607
11607
  onOpenChange: P,
11608
- children: [/* @__PURE__ */ X(yn, {
11608
+ children: [/* @__PURE__ */ X(vn, {
11609
11609
  asChild: !0,
11610
- children: /* @__PURE__ */ X(Qn, {
11610
+ children: /* @__PURE__ */ X(Zn, {
11611
11611
  label: A.actions.other,
11612
- icon: la,
11612
+ icon: Ei,
11613
11613
  variant: "ghost",
11614
11614
  size: "md",
11615
11615
  hideLabel: !0,
@@ -11617,7 +11617,7 @@ function Dg({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
11617
11617
  compact: !0,
11618
11618
  onClick: (e) => e.stopPropagation()
11619
11619
  })
11620
- }), /* @__PURE__ */ X(Ln, {
11620
+ }), /* @__PURE__ */ X(In, {
11621
11621
  align: "end",
11622
11622
  className: H("py-1", O && "w-96 max-w-[90vw]"),
11623
11623
  onCloseAutoFocus: ge,
@@ -11630,7 +11630,7 @@ function Dg({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
11630
11630
  }) : /* @__PURE__ */ Z(Y, { children: [
11631
11631
  F ? /* @__PURE__ */ Z("div", {
11632
11632
  className: "mb-1 flex flex-col items-start gap-2 border-0 border-b border-solid border-f1-border-secondary p-3",
11633
- children: [/* @__PURE__ */ X($n, {
11633
+ children: [/* @__PURE__ */ X(Qn, {
11634
11634
  className: "text-base font-medium text-f1-foreground-tertiary",
11635
11635
  children: A.ai.dashboardItem.chartType
11636
11636
  }), /* @__PURE__ */ X(Dt, {
@@ -11649,7 +11649,7 @@ function Dg({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
11649
11649
  fullWidth: !0
11650
11650
  })]
11651
11651
  }) : null,
11652
- ie ? /* @__PURE__ */ X(mn, { children: /* @__PURE__ */ X(gn, {
11652
+ ie ? /* @__PURE__ */ X(pn, { children: /* @__PURE__ */ X(hn, {
11653
11653
  onSelect: (e) => {
11654
11654
  e.preventDefault(), k(!0);
11655
11655
  },
@@ -11662,16 +11662,16 @@ function Dg({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
11662
11662
  })
11663
11663
  }) }) : null,
11664
11664
  _e,
11665
- ne ? /* @__PURE__ */ X(mn, { children: /* @__PURE__ */ Z(er, { children: [/* @__PURE__ */ X(bn, {
11665
+ ne ? /* @__PURE__ */ X(pn, { children: /* @__PURE__ */ Z($n, { children: [/* @__PURE__ */ X(yn, {
11666
11666
  className: "mx-1 rounded-sm px-2",
11667
11667
  children: /* @__PURE__ */ Z("div", {
11668
11668
  className: "flex w-full flex-row items-center gap-2 pr-2",
11669
- children: [/* @__PURE__ */ X(z, { icon: Ci }), /* @__PURE__ */ X("span", {
11669
+ children: [/* @__PURE__ */ X(z, { icon: ea }), /* @__PURE__ */ X("span", {
11670
11670
  className: "flex-1 text-base font-medium",
11671
11671
  children: A.ai.dataDownload.title
11672
11672
  })]
11673
11673
  })
11674
- }), /* @__PURE__ */ X(un, { children: /* @__PURE__ */ X(cn, { children: te.map((e) => /* @__PURE__ */ X(gn, {
11674
+ }), /* @__PURE__ */ X(ln, { children: /* @__PURE__ */ X(sn, { children: te.map((e) => /* @__PURE__ */ X(hn, {
11675
11675
  onClick: e.onClick,
11676
11676
  children: /* @__PURE__ */ Z("div", {
11677
11677
  className: "flex w-full flex-row items-center gap-2",
@@ -11681,14 +11681,14 @@ function Dg({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
11681
11681
  })]
11682
11682
  })
11683
11683
  }, e.label)) }) })] }) }) : null,
11684
- re ? /* @__PURE__ */ X(mn, { children: /* @__PURE__ */ X(gn, {
11684
+ re ? /* @__PURE__ */ X(pn, { children: /* @__PURE__ */ X(hn, {
11685
11685
  onClick: () => {
11686
11686
  v && S?.(!1), f(h);
11687
11687
  },
11688
11688
  className: H("text-f1-foreground-critical"),
11689
11689
  children: /* @__PURE__ */ Z("div", {
11690
11690
  className: "flex w-full flex-row items-center gap-2",
11691
- children: [/* @__PURE__ */ X(z, { icon: Ra }), /* @__PURE__ */ X("span", {
11691
+ children: [/* @__PURE__ */ X(z, { icon: Ji }), /* @__PURE__ */ X("span", {
11692
11692
  className: "flex-1",
11693
11693
  children: A.actions.delete
11694
11694
  })]
@@ -11703,7 +11703,7 @@ function Dg({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
11703
11703
  }) : null]
11704
11704
  }), t || y ? /* @__PURE__ */ Z("div", {
11705
11705
  className: "relative flex items-baseline gap-1",
11706
- children: [t ? /* @__PURE__ */ X($n, {
11706
+ children: [t ? /* @__PURE__ */ X(Qn, {
11707
11707
  lines: me,
11708
11708
  className: "text-base text-f1-foreground-secondary",
11709
11709
  children: t
@@ -11775,11 +11775,11 @@ function Ag({ anchor: e, onAsk: t, onDismiss: n, returnFocusTo: r }) {
11775
11775
  visibility: o ? "visible" : "hidden"
11776
11776
  },
11777
11777
  className: H("z-50 rounded-md bg-f1-background p-1 border border-solid border-f1-border-secondary", "drop-shadow"),
11778
- children: /* @__PURE__ */ X(Qn, {
11778
+ children: /* @__PURE__ */ X(Zn, {
11779
11779
  type: "button",
11780
11780
  variant: "ghost",
11781
11781
  label: i.ai.dashboardItem.askOne,
11782
- icon: ia,
11782
+ icon: co,
11783
11783
  onClick: t
11784
11784
  })
11785
11785
  }), document.body);
@@ -11787,7 +11787,7 @@ function Ag({ anchor: e, onAsk: t, onDismiss: n, returnFocusTo: r }) {
11787
11787
  //#endregion
11788
11788
  //#region src/domains/platform/ai/analytics/F0AnalyticsDashboard/components/ChartItem/pointQuote.ts
11789
11789
  function jg(e, t, n, r = "y") {
11790
- return t === null ? n : r === "x" && e.type === "scatter" ? Re(e.xTooltipValueFormatter, e.xValueFormatter)(t) : Re(e.tooltipValueFormatter, e.valueFormatter)(t);
11790
+ return t === null ? n : r === "x" && e.type === "scatter" ? ut(e.xTooltipValueFormatter, e.xValueFormatter)(t) : ut(e.tooltipValueFormatter, e.valueFormatter)(t);
11791
11791
  }
11792
11792
  function Mg(e, t) {
11793
11793
  return t ? `${e} — ${t}` : e;
@@ -11822,39 +11822,39 @@ function zg(e) {
11822
11822
  {
11823
11823
  label: e.dataChart.barChartVertical,
11824
11824
  value: "bar-vertical",
11825
- icon: xi,
11825
+ icon: ma,
11826
11826
  type: "bar",
11827
11827
  orientation: "vertical"
11828
11828
  },
11829
11829
  {
11830
11830
  label: e.dataChart.barChartHorizontal,
11831
11831
  value: "bar-horizontal",
11832
- icon: fa,
11832
+ icon: _a,
11833
11833
  type: "bar",
11834
11834
  orientation: "horizontal"
11835
11835
  },
11836
11836
  {
11837
11837
  label: e.dataChart.lineChart,
11838
11838
  value: "line",
11839
- icon: Pi,
11839
+ icon: fa,
11840
11840
  type: "line"
11841
11841
  },
11842
11842
  {
11843
11843
  label: e.dataChart.funnel,
11844
11844
  value: "funnel",
11845
- icon: va,
11845
+ icon: Mi,
11846
11846
  type: "funnel"
11847
11847
  },
11848
11848
  {
11849
11849
  label: e.dataChart.pieChart,
11850
11850
  value: "pie",
11851
- icon: ha,
11851
+ icon: Li,
11852
11852
  type: "pie"
11853
11853
  },
11854
11854
  {
11855
11855
  label: e.dataChart.table,
11856
11856
  value: "table",
11857
- icon: Pa,
11857
+ icon: Ta,
11858
11858
  type: "table"
11859
11859
  }
11860
11860
  ];
@@ -12005,7 +12005,7 @@ function Gg({ config: e, data: t }) {
12005
12005
  label: e,
12006
12006
  id: e
12007
12007
  }))
12008
- }), [i]), o = P(a, [i]), s = K(() => [{
12008
+ }), [i]), o = N(a, [i]), s = K(() => [{
12009
12009
  type: "table",
12010
12010
  options: { columns: i.columns.map((e, t) => ({
12011
12011
  label: e,
@@ -12022,7 +12022,7 @@ function Kg(e) {
12022
12022
  return Vh(e.chart) && e.chart.type === "bar" && "orientation" in e.chart && e.chart.orientation === "horizontal";
12023
12023
  }
12024
12024
  function qg({ item: e, filters: t, actions: n, itemFilters: r, editMode: i, readOnly: a, handleDelete: o, onAskAi: s, onAskAiTarget: c, onTransformChart: l, isFullscreen: u, onFullscreenChange: d }) {
12025
- let f = V(), [p, m] = J("chart"), { enabled: h, setPendingQuote: g, setOpen: _, focusChatInput: v } = ra(), y = !Vh(e.chart), b = y ? Bg : e.chart, [x, S] = J(null), C = e.useDashboardFilters !== !1, w = JSON.stringify(r?.value ?? {}), { data: T, isLoading: E, error: D, retry: O } = Sg(e.fetchData, t, C, w), k = q(null), A = K(() => T && !y ? Ug(e, T) : void 0, [
12025
+ let f = V(), [p, m] = J("chart"), { enabled: h, setPendingQuote: g, setOpen: _, focusChatInput: v } = oa(), y = !Vh(e.chart), b = y ? Bg : e.chart, [x, S] = J(null), C = e.useDashboardFilters !== !1, w = JSON.stringify(r?.value ?? {}), { data: T, isLoading: E, error: D, retry: O } = Sg(e.fetchData, t, C, w), k = q(null), A = K(() => T && !y ? Ug(e, T) : void 0, [
12026
12026
  e,
12027
12027
  T,
12028
12028
  y
@@ -12120,8 +12120,8 @@ function qg({ item: e, filters: t, actions: n, itemFilters: r, editMode: i, read
12120
12120
  }) : /* @__PURE__ */ Z("div", {
12121
12121
  ref: k,
12122
12122
  tabIndex: -1,
12123
- className: H("relative h-full w-full px-4 py-3", or("rounded-sm focus-visible:ring-inset focus-visible:ring-offset-0")),
12124
- children: [/* @__PURE__ */ X(lt, {
12123
+ className: H("relative h-full w-full px-4 py-3", lr("rounded-sm focus-visible:ring-inset focus-visible:ring-offset-0")),
12124
+ children: [/* @__PURE__ */ X(Nt, {
12125
12125
  ...A,
12126
12126
  ariaLabel: e.title,
12127
12127
  onPointClick: ee ? (e) => S(e) : void 0,
@@ -12140,7 +12140,7 @@ function qg({ item: e, filters: t, actions: n, itemFilters: r, editMode: i, read
12140
12140
  })]
12141
12141
  }) : E ? null : /* @__PURE__ */ X("div", {
12142
12142
  className: "h-full w-full px-4 py-3",
12143
- children: /* @__PURE__ */ X(vt, {})
12143
+ children: /* @__PURE__ */ X(We, {})
12144
12144
  })
12145
12145
  });
12146
12146
  }
@@ -12247,11 +12247,11 @@ function t_({ source: e, title: t, description: n, columns: r, tableSettings: i
12247
12247
  ]), l = W(() => c("excel"), [c]), u = W(() => c("csv"), [c]);
12248
12248
  return K(() => e ? [{
12249
12249
  label: a("ai.dataDownload.download", { format: "Excel" }),
12250
- icon: Pa,
12250
+ icon: Ta,
12251
12251
  onClick: l
12252
12252
  }, {
12253
12253
  label: a("ai.dataDownload.download", { format: "CSV" }),
12254
- icon: Pa,
12254
+ icon: Ta,
12255
12255
  onClick: u
12256
12256
  }] : [], [
12257
12257
  e,
@@ -12263,7 +12263,7 @@ function t_({ source: e, title: t, description: n, columns: r, tableSettings: i
12263
12263
  //#endregion
12264
12264
  //#region src/domains/platform/ai/analytics/F0AnalyticsDashboard/components/CollectionItem/CollectionItem.tsx
12265
12265
  function n_({ item: e, filters: t, actions: n, itemFilters: r, editMode: i, readOnly: a, handleDelete: o, onAskAi: s, onAskAiTarget: c, isFullscreen: l, onFullscreenChange: u }) {
12266
- let d = e.useDashboardFilters === !1 ? {} : t, f = JSON.stringify(d), p = JSON.stringify(r?.value ?? {}), m = K(() => e.createSource(d), [f, p]), h = P(m, [f, p]), [g, _] = J(), v = K(() => Jg(e.visualizations), [e]), y = t_({
12266
+ let d = e.useDashboardFilters === !1 ? {} : t, f = JSON.stringify(d), p = JSON.stringify(r?.value ?? {}), m = K(() => e.createSource(d), [f, p]), h = N(m, [f, p]), [g, _] = J(), v = K(() => Jg(e.visualizations), [e]), y = t_({
12267
12267
  source: h,
12268
12268
  title: e.title,
12269
12269
  description: e.description,
@@ -12345,7 +12345,7 @@ function a_(e, t) {
12345
12345
  };
12346
12346
  }
12347
12347
  function o_({ value: e, trend: t, comparison: n }) {
12348
- let r = q(null), { height: i, width: a } = We(r), [o, s] = J(!1), c = i > 220;
12348
+ let r = q(null), { height: i, width: a } = It(r), [o, s] = J(!1), c = i > 220;
12349
12349
  return Sc(() => {
12350
12350
  let e = r.current;
12351
12351
  s(e !== null && (e.scrollWidth > e.clientWidth || e.scrollHeight > e.clientHeight));
@@ -12360,7 +12360,7 @@ function o_({ value: e, trend: t, comparison: n }) {
12360
12360
  ]), /* @__PURE__ */ X("div", {
12361
12361
  ref: r,
12362
12362
  tabIndex: o ? 0 : void 0,
12363
- className: H("flex h-full min-h-0 overflow-auto px-4 pb-4", c ? "items-center" : "items-end", o && or("rounded-sm focus-visible:ring-inset focus-visible:ring-offset-0")),
12363
+ className: H("flex h-full min-h-0 overflow-auto px-4 pb-4", c ? "items-center" : "items-end", o && lr("rounded-sm focus-visible:ring-inset focus-visible:ring-offset-0")),
12364
12364
  children: /* @__PURE__ */ Z("div", {
12365
12365
  className: H("flex flex-col gap-1", c && "mx-auto -translate-y-2"),
12366
12366
  children: [/* @__PURE__ */ Z("div", {
@@ -12406,7 +12406,7 @@ function o_({ value: e, trend: t, comparison: n }) {
12406
12406
  " ",
12407
12407
  n.value
12408
12408
  ]
12409
- }), n.info ? /* @__PURE__ */ X(De, {
12409
+ }), n.info ? /* @__PURE__ */ X(Oe, {
12410
12410
  info: n.info,
12411
12411
  label: n.label
12412
12412
  }) : null]
@@ -12579,7 +12579,7 @@ function g_({ items: e, itemFilters: t, filters: n, editMode: r, readOnly: i, on
12579
12579
  if (Math.hypot(t.clientX - n, t.clientY - r) < d_) return;
12580
12580
  i = !0, T(e), M.current = Array.from(document.querySelectorAll("[data-ai-chat-dropzone]"));
12581
12581
  let a = k.current.get(e)?.title ?? "";
12582
- a && window.dispatchEvent(new CustomEvent(Zi, { detail: {
12582
+ a && window.dispatchEvent(new CustomEvent(Qi, { detail: {
12583
12583
  id: e,
12584
12584
  title: a,
12585
12585
  onAskAi: c,
@@ -12593,7 +12593,7 @@ function g_({ items: e, itemFilters: t, filters: n, editMode: r, readOnly: i, on
12593
12593
  }, o = (e) => {
12594
12594
  document.removeEventListener("pointermove", a), document.removeEventListener("pointerup", s), document.removeEventListener("pointercancel", u), N.current = null;
12595
12595
  let t = A.current, n = j.current;
12596
- e && i && t && n && P(t, n), A.current = null, j.current = null, M.current = [], T(null), D(null), i && window.dispatchEvent(new CustomEvent(Si));
12596
+ e && i && t && n && P(t, n), A.current = null, j.current = null, M.current = [], T(null), D(null), i && window.dispatchEvent(new CustomEvent(Ci));
12597
12597
  }, s = (e) => {
12598
12598
  i && (M.current = Array.from(document.querySelectorAll("[data-ai-chat-dropzone]")), j.current = te(e.clientX, e.clientY)), o(!0);
12599
12599
  }, u = () => o(!1);
@@ -12771,7 +12771,7 @@ function __({ id: e, isDragging: t, showIndicatorBefore: n, showIndicatorAfter:
12771
12771
  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",
12772
12772
  "aria-label": "Drag to reorder",
12773
12773
  children: /* @__PURE__ */ X(z, {
12774
- icon: no,
12774
+ icon: Aa,
12775
12775
  size: "xs"
12776
12776
  })
12777
12777
  }) : null, s]
@@ -12941,13 +12941,13 @@ function j_({ item: e, filters: t, actions: n, itemFilters: r, editMode: i, read
12941
12941
  //#region src/domains/platform/ai/analytics/F0AnalyticsDashboard/components/ExportDropdown/ExportDropdown.tsx
12942
12942
  function M_({ onExportExcel: e, isExporting: t }) {
12943
12943
  let { t: n } = V();
12944
- return /* @__PURE__ */ X(Ta, {
12944
+ return /* @__PURE__ */ X(wa, {
12945
12945
  items: [{
12946
12946
  label: t ? n("ai.dataDownload.exporting") : n("ai.dataDownload.exportDashboard", { format: "Excel" }),
12947
- icon: Ci,
12947
+ icon: ea,
12948
12948
  onClick: t ? () => {} : e
12949
12949
  }],
12950
- icon: la
12950
+ icon: Ei
12951
12951
  });
12952
12952
  }
12953
12953
  //#endregion
@@ -13098,14 +13098,14 @@ function B_({ items: e, filters: t, filename: n = "dashboard" }) {
13098
13098
  //#endregion
13099
13099
  //#region src/domains/platform/ai/analytics/F0AnalyticsDashboard/F0AnalyticsDashboard.tsx
13100
13100
  var V_ = ({ 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 }) => {
13101
- let y = V(), [b = {}, x] = Gn({
13101
+ let y = V(), [b = {}, x] = Wn({
13102
13102
  prop: r,
13103
13103
  defaultProp: n ?? {},
13104
13104
  onChange: i
13105
13105
  }), S = K(() => {
13106
13106
  if (!_) return {};
13107
13107
  let e = {};
13108
- for (let [t, n] of Object.entries(_)) e[t] = pe[n.type].valueConverter?.(n.defaultValue, n, y) ?? n.defaultValue;
13108
+ for (let [t, n] of Object.entries(_)) e[t] = me[n.type].valueConverter?.(n.defaultValue, n, y) ?? n.defaultValue;
13109
13109
  return e;
13110
13110
  }, []), [C, w] = J(S), { exportAsExcel: T, isExporting: E } = B_({
13111
13111
  items: a,
@@ -13136,7 +13136,7 @@ var V_ = ({ filters: e, presets: t, defaultFilters: n, filtersValue: r, onFilter
13136
13136
  }) : v ? /* @__PURE__ */ X(F_, {}) : null
13137
13137
  }), /* @__PURE__ */ Z("div", {
13138
13138
  className: "flex shrink-0 items-center gap-2",
13139
- children: [_ ? /* @__PURE__ */ X(I, {
13139
+ children: [_ ? /* @__PURE__ */ X(ie, {
13140
13140
  navigationFilters: _,
13141
13141
  currentNavigationFilters: C,
13142
13142
  onChangeNavigationFilters: w,
@@ -13168,7 +13168,7 @@ var V_ = ({ filters: e, presets: t, defaultFilters: n, filtersValue: r, onFilter
13168
13168
  });
13169
13169
  };
13170
13170
  V_.displayName = "F0AnalyticsDashboard";
13171
- var H_ = qn("F0AnalyticsDashboard", V_), U_ = () => pn("(min-width: 640px)", { initializeWithValue: !1 }), W_ = () => pn("(max-width: 639px)", { initializeWithValue: !1 }), G_ = /*#__PURE__*/ U.createContext(void 0);
13171
+ var H_ = Kn("F0AnalyticsDashboard", V_), U_ = () => fn("(min-width: 640px)", { initializeWithValue: !1 }), W_ = () => fn("(max-width: 639px)", { initializeWithValue: !1 }), G_ = /*#__PURE__*/ U.createContext(void 0);
13172
13172
  process.env.NODE_ENV !== "production" && (G_.displayName = "ToastContext");
13173
13173
  function K_() {
13174
13174
  let e = U.useContext(G_);
@@ -13221,7 +13221,7 @@ var X_ = {
13221
13221
  expanded: (e) => e.hovering || e.focused,
13222
13222
  expandedOrOutOfFocus: (e) => e.hovering || e.focused || !e.isWindowFocused,
13223
13223
  prevFocusElement: (e) => e.prevFocusElement
13224
- }, Z_ = class extends mr {
13224
+ }, Z_ = class extends yr {
13225
13225
  timers = /* @__PURE__ */ new Map();
13226
13226
  areTimersPaused = !1;
13227
13227
  constructor(e) {
@@ -13342,7 +13342,7 @@ var X_ = {
13342
13342
  }
13343
13343
  resumeTimers() {
13344
13344
  this.areTimersPaused && (this.areTimersPaused = !1, this.timers.forEach((e, t) => {
13345
- e.remaining = e.remaining > 0 ? e.remaining : e.delay, e.timeout ??= tr.create(), e.timeout.start(e.remaining, () => {
13345
+ e.remaining = e.remaining > 0 ? e.remaining : e.delay, e.timeout ??= _r.create(), e.timeout.start(e.remaining, () => {
13346
13346
  this.handleTimerFired(t), e.callback();
13347
13347
  }), e.start = Date.now();
13348
13348
  }));
@@ -13352,14 +13352,14 @@ var X_ = {
13352
13352
  }
13353
13353
  handleDocumentPointerDown = (e) => {
13354
13354
  if (e.pointerType !== "touch") return;
13355
- let t = lr(e);
13356
- rr(this.state.viewport, t) || (this.resumeTimers(), this.update({
13355
+ let t = vr(e);
13356
+ sr(this.state.viewport, t) || (this.resumeTimers(), this.update({
13357
13357
  hovering: !1,
13358
13358
  focused: !1
13359
13359
  }));
13360
13360
  };
13361
13361
  scheduleTimer(e, t, n) {
13362
- let r = Date.now(), i = X_.expandedOrOutOfFocus(this.state) ? void 0 : tr.create();
13362
+ let r = Date.now(), i = X_.expandedOrOutOfFocus(this.state) ? void 0 : _r.create();
13363
13363
  i?.start(t, () => {
13364
13364
  this.handleTimerFired(e), n();
13365
13365
  }), this.timers.set(e, {
@@ -13392,8 +13392,8 @@ var X_ = {
13392
13392
  t && (n.hovering = !1, n.focused = !1), this.update(n);
13393
13393
  }
13394
13394
  handleFocusManagement(e) {
13395
- let t = ir(wr(this.state.viewport));
13396
- if (!this.state.viewport || !rr(this.state.viewport, t) || !dr(t)) return;
13395
+ let t = nr(Tr(this.state.viewport));
13396
+ if (!this.state.viewport || !sr(this.state.viewport, t) || !tr(t)) return;
13397
13397
  if (e === void 0) {
13398
13398
  this.restoreFocusToPrevElement();
13399
13399
  return;
@@ -13405,7 +13405,7 @@ var X_ = {
13405
13405
  a ? a.ref?.current?.focus() : this.restoreFocusToPrevElement();
13406
13406
  }
13407
13407
  }, Q_ = function(e) {
13408
- let { children: t, timeout: n = 5e3, limit: r = 3, toastManager: i } = e, a = ar(() => new Z_({
13408
+ let { children: t, timeout: n = 5e3, limit: r = 3, toastManager: i } = e, a = ir(() => new Z_({
13409
13409
  timeout: n,
13410
13410
  limit: r,
13411
13411
  viewport: null,
@@ -13415,7 +13415,7 @@ var X_ = {
13415
13415
  isWindowFocused: !0,
13416
13416
  prevFocusElement: null
13417
13417
  })).current;
13418
- return sr(a.disposeEffect), U.useEffect(function() {
13418
+ return or(a.disposeEffect), U.useEffect(function() {
13419
13419
  if (i) return i[" subscribe"](({ action: e, options: t }) => {
13420
13420
  let n = t.id;
13421
13421
  e === "promise" && t.promise ? a.promiseToast(t.promise, t) : e === "update" && n ? a.updateToast(n, t.updates) : e === "close" ? a.closeToast(n) : a.addToast(t);
@@ -13432,7 +13432,7 @@ var X_ = {
13432
13432
  process.env.NODE_ENV !== "production" && (Q_.displayName = "ToastProvider");
13433
13433
  function $_(e) {
13434
13434
  let { store: t, timeout: n, limit: r } = e;
13435
- return ur(() => {
13435
+ return rr(() => {
13436
13436
  t.syncProviderProps(n, r);
13437
13437
  }, [
13438
13438
  t,
@@ -13443,23 +13443,23 @@ function $_(e) {
13443
13443
  //#endregion
13444
13444
  //#region ../../node_modules/.pnpm/@base-ui+react@1.8.0_@types+react@18.3.18_date-fns@3.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@base-ui/react/toast/viewport/ToastViewportCssVars.mjs
13445
13445
  var ev = "--toast-frontmost-height", tv = /*#__PURE__*/ U.forwardRef(function(e, t) {
13446
- let { render: n, className: r, style: i, children: a, ...o } = e, s = K_(), c = yr(), l = U.useRef(!1), u = U.useRef(!1), d = U.useRef(!1), f = s.useState("isEmpty"), p = s.useState("toasts"), m = s.useState("focused"), h = s.useState("expanded"), g = s.useState("prevFocusElement"), _ = p[0]?.height, v = p.some((e) => e.transitionStatus === "ending"), y = p.filter((e) => e.priority === "high");
13446
+ let { render: n, className: r, style: i, children: a, ...o } = e, s = K_(), c = ar(), l = U.useRef(!1), u = U.useRef(!1), d = U.useRef(!1), f = s.useState("isEmpty"), p = s.useState("toasts"), m = s.useState("focused"), h = s.useState("expanded"), g = s.useState("prevFocusElement"), _ = p[0]?.height, v = p.some((e) => e.transitionStatus === "ending"), y = p.filter((e) => e.priority === "high");
13447
13447
  U.useEffect(() => {
13448
13448
  let e = s.state.viewport;
13449
13449
  if (!e || f) return;
13450
- let t = br(e), n = wr(e);
13450
+ let t = er(e), n = Tr(e);
13451
13451
  function r(t) {
13452
- t.key === "F6" && lr(t) !== e && (t.preventDefault(), s.set("prevFocusElement", ir(n)), e?.focus({ preventScroll: !0 }), s.pauseTimers(), s.set("focused", !0));
13452
+ t.key === "F6" && vr(t) !== e && (t.preventDefault(), s.set("prevFocusElement", nr(n)), e?.focus({ preventScroll: !0 }), s.pauseTimers(), s.set("focused", !0));
13453
13453
  }
13454
13454
  function i(e) {
13455
- lr(e) === t && (s.set("isWindowFocused", !1), s.pauseTimers());
13455
+ vr(e) === t && (s.set("isWindowFocused", !1), s.pauseTimers());
13456
13456
  }
13457
13457
  function a(n) {
13458
13458
  if (n.relatedTarget) return;
13459
- let r = lr(n), i = ir(wr(e));
13460
- (r === t || !rr(e, r) || !dr(i)) && s.resumeTimers(), c.start(0, () => s.set("isWindowFocused", !0));
13459
+ let r = vr(n), i = nr(Tr(e));
13460
+ (r === t || !sr(e, r) || !tr(i)) && s.resumeTimers(), c.start(0, () => s.set("isWindowFocused", !0));
13461
13461
  }
13462
- return pr(Tr(t, "keydown", r), Tr(t, "blur", i, !0), Tr(t, "focus", a, !0), Tr(n, "pointerdown", s.handleDocumentPointerDown, !0));
13462
+ return wr(ur(t, "keydown", r), ur(t, "blur", i, !0), ur(t, "focus", a, !0), ur(n, "pointerdown", s.handleDocumentPointerDown, !0));
13463
13463
  }, [
13464
13464
  s,
13465
13465
  c,
@@ -13471,7 +13471,7 @@ var ev = "--toast-frontmost-height", tv = /*#__PURE__*/ U.forwardRef(function(e,
13471
13471
  t ? t.ref?.current?.focus() : s.restoreFocusToPrevElement();
13472
13472
  }
13473
13473
  function x(e) {
13474
- e.key === "Tab" && e.shiftKey && lr(e.nativeEvent) === s.state.viewport && (e.preventDefault(), s.restoreFocusToPrevElement());
13474
+ e.key === "Tab" && e.shiftKey && vr(e.nativeEvent) === s.state.viewport && (e.preventDefault(), s.restoreFocusToPrevElement());
13475
13475
  }
13476
13476
  function S() {
13477
13477
  s.state.toasts.some((e) => e.transitionStatus === "ending") || d.current || !u.current || (s.state.isWindowFocused && s.resumeTimers(), s.set("hovering", !1), u.current = !1);
@@ -13493,10 +13493,10 @@ var ev = "--toast-frontmost-height", tv = /*#__PURE__*/ U.forwardRef(function(e,
13493
13493
  e.pointerType === "touch" && (d.current = !1, S());
13494
13494
  }
13495
13495
  function O() {
13496
- l.current ? l.current = !1 : m || dr(ir(wr(s.state.viewport))) && (s.set("focused", !0), s.pauseTimers());
13496
+ l.current ? l.current = !1 : m || tr(nr(Tr(s.state.viewport))) && (s.set("focused", !0), s.pauseTimers());
13497
13497
  }
13498
13498
  function k(e) {
13499
- m && !rr(s.state.viewport, e.relatedTarget) && (s.set("focused", !1), w());
13499
+ m && !sr(s.state.viewport, e.relatedTarget) && (s.set("focused", !1), w());
13500
13500
  }
13501
13501
  let A = {
13502
13502
  tabIndex: -1,
@@ -13516,7 +13516,7 @@ var ev = "--toast-frontmost-height", tv = /*#__PURE__*/ U.forwardRef(function(e,
13516
13516
  onPointerUp: D,
13517
13517
  onPointerCancel: D,
13518
13518
  style: { [ev]: _ ? `${_}px` : void 0 }
13519
- }, j = { expanded: h }, ee = !f && g && /*#__PURE__*/ X(_r, { onFocus: b }), M = Sr("div", e, {
13519
+ }, j = { expanded: h }, ee = !f && g && /*#__PURE__*/ X(dr, { onFocus: b }), M = br("div", e, {
13520
13520
  ref: [t, s.setViewport],
13521
13521
  state: j,
13522
13522
  props: [
@@ -13533,7 +13533,7 @@ var ev = "--toast-frontmost-height", tv = /*#__PURE__*/ U.forwardRef(function(e,
13533
13533
  ee,
13534
13534
  M,
13535
13535
  !m && y.length > 0 && /*#__PURE__*/ X("div", {
13536
- style: fr,
13536
+ style: Sr,
13537
13537
  children: y.map((e) => /*#__PURE__*/ Z("div", {
13538
13538
  role: "alert",
13539
13539
  "aria-atomic": !0,
@@ -13555,7 +13555,7 @@ function rv() {
13555
13555
  //#endregion
13556
13556
  //#region ../../node_modules/.pnpm/@base-ui+react@1.8.0_@types+react@18.3.18_date-fns@3.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@base-ui/react/utils/getElementTransform.mjs
13557
13557
  function iv(e, t) {
13558
- let n = (t ?? br(e).getComputedStyle(e)).transform, r = 0, i = 0, a = 1;
13558
+ let n = (t ?? er(e).getComputedStyle(e)).transform, r = 0, i = 0, a = 1;
13559
13559
  if (n && n !== "none") {
13560
13560
  let e = n.match(/matrix(?:3d)?\(([^)]+)\)/);
13561
13561
  if (e) {
@@ -13583,11 +13583,11 @@ function av(e, t, n) {
13583
13583
  //#endregion
13584
13584
  //#region ../../node_modules/.pnpm/@base-ui+react@1.8.0_@types+react@18.3.18_date-fns@3.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@base-ui/react/toast/root/ToastRootCssVars.mjs
13585
13585
  var ov = "--toast-index", sv = "--toast-offset-y", cv = "--toast-height", lv = "--toast-swipe-movement-x", uv = "--toast-swipe-movement-y", dv = "data-swipe-direction", fv = {
13586
- ...nr,
13586
+ ...Cr,
13587
13587
  swipeDirection(e) {
13588
13588
  return e ? { [dv]: e } : null;
13589
13589
  }
13590
- }, pv = 40, mv = 10, hv = .5, gv = 1, _v = `${hr},${gr}`, vv = /*#__PURE__*/ U.forwardRef(function(e, t) {
13590
+ }, pv = 40, mv = 10, hv = .5, gv = 1, _v = `${mr},${xr}`, vv = /*#__PURE__*/ U.forwardRef(function(e, t) {
13591
13591
  let { toast: n, render: r, className: i, swipeDirection: a = ["down", "right"], style: o, ...s } = e, c = n.positionerProps?.anchor !== void 0, l = [];
13592
13592
  c || (l = Array.isArray(a) ? a : [a]);
13593
13593
  let u = l.length > 0, d = K_(), [f, p] = U.useState(void 0), [m, h] = U.useState(!1), [g, _] = U.useState(!1), [v, y] = U.useState({
@@ -13611,14 +13611,14 @@ var ov = "--toast-index", sv = "--toast-offset-y", cv = "--toast-height", lv = "
13611
13611
  x: 0,
13612
13612
  y: 0
13613
13613
  }), re = U.useRef(null), F = U.useRef(null), ie = d.useState("toastIndex", n.id), I = d.useState("toastVisibleIndex", n.id), ae = d.useState("toastOffsetY", n.id), oe = d.useState("focused"), se = d.useState("expanded");
13614
- Cr({
13614
+ pr({
13615
13615
  open: n.transitionStatus !== "ending",
13616
13616
  ref: O,
13617
13617
  onComplete() {
13618
13618
  n.transitionStatus === "ending" && d.removeToast(n.id);
13619
13619
  }
13620
13620
  });
13621
- let ce = Er((e = !1) => {
13621
+ let ce = fr((e = !1) => {
13622
13622
  let t = O.current;
13623
13623
  if (!t) return;
13624
13624
  let r = t.style.height;
@@ -13634,7 +13634,7 @@ var ov = "--toast-index", sv = "--toast-offset-y", cv = "--toast-height", lv = "
13634
13634
  }
13635
13635
  e ? wc.flushSync(a) : a();
13636
13636
  });
13637
- ur(() => {
13637
+ rr(() => {
13638
13638
  let e = k.current;
13639
13639
  (n.transitionStatus === "starting" || e !== n.id) && (e !== void 0 && (p(void 0), x({
13640
13640
  x: 0,
@@ -13652,7 +13652,7 @@ var ov = "--toast-index", sv = "--toast-offset-y", cv = "--toast-height", lv = "
13652
13652
  function le(e) {
13653
13653
  ne.current = e, y(e);
13654
13654
  }
13655
- ur(() => () => {
13655
+ rr(() => () => {
13656
13656
  F.current?.abort();
13657
13657
  }, []);
13658
13658
  function ue(e, t) {
@@ -13662,7 +13662,7 @@ var ov = "--toast-index", sv = "--toast-offset-y", cv = "--toast-height", lv = "
13662
13662
  y: i ? n(t) : t
13663
13663
  };
13664
13664
  }
13665
- let de = Er((e) => {
13665
+ let de = fr((e) => {
13666
13666
  if (e.pointerId !== re.current) return;
13667
13667
  re.current = null, F.current?.abort(), F.current = null, h(!1), _(!1), D(null);
13668
13668
  let t = j.current;
@@ -13684,7 +13684,7 @@ var ov = "--toast-index", sv = "--toast-offset-y", cv = "--toast-height", lv = "
13684
13684
  }), p(void 0));
13685
13685
  });
13686
13686
  function fe(e) {
13687
- if (e.button !== 0 || (e.pointerType === "touch" && d.pauseTimers(), lr(e.nativeEvent)?.closest(`button,a,input,textarea,[role="button"],${_v}`))) return;
13687
+ if (e.button !== 0 || (e.pointerType === "touch" && d.pauseTimers(), vr(e.nativeEvent)?.closest(`button,a,input,textarea,[role="button"],${_v}`))) return;
13688
13688
  N.current = !1, ee.current = void 0, M.current = 0, re.current = e.pointerId, A.current = {
13689
13689
  x: e.clientX,
13690
13690
  y: e.clientY
@@ -13696,7 +13696,7 @@ var ov = "--toast-index", sv = "--toast-offset-y", cv = "--toast-height", lv = "
13696
13696
  }), d.set("hovering", !0), h(!0), _(!1), D(null), te.current = !0, F.current?.abort();
13697
13697
  let r = new AbortController();
13698
13698
  F.current = r;
13699
- let i = wr(t);
13699
+ let i = Tr(t);
13700
13700
  i.addEventListener("pointerup", de, { signal: r.signal }), i.addEventListener("pointercancel", de, { signal: r.signal }), t.setPointerCapture?.(e.pointerId);
13701
13701
  }
13702
13702
  function pe(e) {
@@ -13733,7 +13733,7 @@ var ov = "--toast-index", sv = "--toast-offset-y", cv = "--toast-height", lv = "
13733
13733
  }
13734
13734
  function me(e) {
13735
13735
  if (e.key === "Escape") {
13736
- if (!O.current || !rr(O.current, ir(wr(O.current)))) return;
13736
+ if (!O.current || !sr(O.current, nr(Tr(O.current)))) return;
13737
13737
  d.closeToast(n.id);
13738
13738
  }
13739
13739
  }
@@ -13741,9 +13741,9 @@ var ov = "--toast-index", sv = "--toast-offset-y", cv = "--toast-height", lv = "
13741
13741
  let e = O.current;
13742
13742
  if (!u || !e) return;
13743
13743
  function t(t) {
13744
- re.current !== null && rr(e, lr(t)) && t.preventDefault();
13744
+ re.current !== null && sr(e, vr(t)) && t.preventDefault();
13745
13745
  }
13746
- return Tr(e, "touchmove", t, { passive: !1 });
13746
+ return ur(e, "touchmove", t, { passive: !1 });
13747
13747
  }, [u]);
13748
13748
  function he() {
13749
13749
  let e = v.x - b.x, t = v.y - b.y;
@@ -13794,7 +13794,7 @@ var ov = "--toast-index", sv = "--toast-offset-y", cv = "--toast-height", lv = "
13794
13794
  type: n.type,
13795
13795
  swiping: m,
13796
13796
  swipeDirection: f
13797
- }, be = Sr("div", e, {
13797
+ }, be = br("div", e, {
13798
13798
  ref: [t, O],
13799
13799
  state: ye,
13800
13800
  stateAttributesMapping: fv,
@@ -13810,7 +13810,7 @@ process.env.NODE_ENV !== "production" && (vv.displayName = "ToastRoot");
13810
13810
  //#region ../../node_modules/.pnpm/@base-ui+react@1.8.0_@types+react@18.3.18_date-fns@3.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@base-ui/react/toast/content/ToastContent.mjs
13811
13811
  var yv = /*#__PURE__*/ U.forwardRef(function(e, t) {
13812
13812
  let { render: n, className: r, style: i, ...a } = e, { visibleIndex: o, expanded: s, recalculateHeight: c } = rv(), l = U.useRef(null);
13813
- return ur(() => {
13813
+ return rr(() => {
13814
13814
  c();
13815
13815
  let e = l.current;
13816
13816
  if (!e || typeof ResizeObserver != "function" || typeof MutationObserver != "function") return;
@@ -13822,7 +13822,7 @@ var yv = /*#__PURE__*/ U.forwardRef(function(e, t) {
13822
13822
  }), () => {
13823
13823
  t.disconnect(), n.disconnect();
13824
13824
  };
13825
- }, [c]), Sr("div", e, {
13825
+ }, [c]), br("div", e, {
13826
13826
  ref: [t, l],
13827
13827
  state: {
13828
13828
  expanded: s,
@@ -13845,7 +13845,7 @@ function xv(e) {
13845
13845
  function Sv(e, t, n) {
13846
13846
  let { toast: r, setTitleId: i, setDescriptionId: a } = rv(), o = n === "title" ? i : a, s = t ?? (n === "title" ? r.title : r.description);
13847
13847
  return {
13848
- id: vr(e),
13848
+ id: hr(e),
13849
13849
  children: s,
13850
13850
  type: r.type,
13851
13851
  setId: o
@@ -13853,7 +13853,7 @@ function Sv(e, t, n) {
13853
13853
  }
13854
13854
  function Cv(e, t, n) {
13855
13855
  let r = xv(e);
13856
- return ur(() => {
13856
+ return rr(() => {
13857
13857
  if (r) return n(t), () => {
13858
13858
  n((e) => e === t ? void 0 : e);
13859
13859
  };
@@ -13867,7 +13867,7 @@ function Cv(e, t, n) {
13867
13867
  //#region ../../node_modules/.pnpm/@base-ui+react@1.8.0_@types+react@18.3.18_date-fns@3.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@base-ui/react/toast/description/ToastDescription.mjs
13868
13868
  var wv = /*#__PURE__*/ U.forwardRef(function(e, t) {
13869
13869
  let { render: n, className: r, style: i, id: a, children: o, ...s } = e, { id: c, children: l, type: u, setId: d } = Sv(a, o, "description");
13870
- return Cv(Sr("p", e, {
13870
+ return Cv(br("p", e, {
13871
13871
  ref: t,
13872
13872
  state: { type: u },
13873
13873
  props: {
@@ -13882,7 +13882,7 @@ process.env.NODE_ENV !== "production" && (wv.displayName = "ToastDescription");
13882
13882
  //#region ../../node_modules/.pnpm/@base-ui+react@1.8.0_@types+react@18.3.18_date-fns@3.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@base-ui/react/toast/title/ToastTitle.mjs
13883
13883
  var Tv = /*#__PURE__*/ U.forwardRef(function(e, t) {
13884
13884
  let { render: n, className: r, style: i, id: a, children: o, ...s } = e, { id: c, children: l, type: u, setId: d } = Sv(a, o, "title");
13885
- return Cv(Sr("h2", e, {
13885
+ return Cv(br("h2", e, {
13886
13886
  ref: t,
13887
13887
  state: { type: u },
13888
13888
  props: {
@@ -13930,7 +13930,7 @@ var Dv = ({ onClose: e }) => {
13930
13930
  className: "dark flex flex-shrink-0 flex-row flex-wrap items-center gap-3",
13931
13931
  children: [e.map((e) => /* @__PURE__ */ X("div", {
13932
13932
  onClick: () => n(e),
13933
- children: /* @__PURE__ */ X(Ai, {
13933
+ children: /* @__PURE__ */ X(ji, {
13934
13934
  href: e.href,
13935
13935
  children: e.label
13936
13936
  })
@@ -13961,7 +13961,7 @@ var Dv = ({ onClose: e }) => {
13961
13961
  children: t
13962
13962
  }),
13963
13963
  inStack: !1
13964
- }), Mv = () => yc(jv), Nv = (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"), Pv = Nn({
13964
+ }), Mv = () => yc(jv), Nv = (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"), Pv = Mn({
13965
13965
  base: "text-base font-medium text-f1-foreground-inverse",
13966
13966
  variants: { hasIcon: {
13967
13967
  true: "pt-[3px]",
@@ -13998,7 +13998,7 @@ var Dv = ({ onClose: e }) => {
13998
13998
  }) : g && /* @__PURE__ */ X("div", {
13999
13999
  className: "flex-shrink-0",
14000
14000
  "aria-hidden": "true",
14001
- children: /* @__PURE__ */ X(Na, {
14001
+ children: /* @__PURE__ */ X(Pa, {
14002
14002
  type: g,
14003
14003
  size: "sm"
14004
14004
  })
@@ -14051,14 +14051,14 @@ var zv = (e) => e instanceof Element && e.closest("button, a") !== null, Bv = gc
14051
14051
  type: "button",
14052
14052
  "aria-label": d.actions.view,
14053
14053
  onClick: h,
14054
- className: H("pointer-events-none absolute inset-0 rounded-lg", or("focus-visible:ring-inset"))
14054
+ className: H("pointer-events-none absolute inset-0 rounded-lg", lr("focus-visible:ring-inset"))
14055
14055
  }) : null,
14056
14056
  /* @__PURE__ */ Z("div", {
14057
14057
  className: "flex flex-row items-start gap-3",
14058
14058
  children: [
14059
14059
  /* @__PURE__ */ X("div", {
14060
14060
  className: "flex-shrink-0",
14061
- children: /* @__PURE__ */ X(No, {
14061
+ children: /* @__PURE__ */ X(Po, {
14062
14062
  avatar: e,
14063
14063
  size: "md"
14064
14064
  })
@@ -14102,7 +14102,7 @@ var zv = (e) => e instanceof Element && e.closest("button, a") !== null, Bv = gc
14102
14102
  Bv.displayName = "F0MessageToast";
14103
14103
  //#endregion
14104
14104
  //#region src/elements/Toast/stack/ToastItem.tsx
14105
- var Vv = H("group/toast pointer-events-auto absolute bottom-0 left-0 right-0 flex w-full origin-bottom select-none flex-col justify-end rounded-lg", or(), "before:pointer-events-none before:absolute before:inset-x-0 before:bottom-0 before:-z-10 before:rounded-lg before:shadow-lg before:content-['']", "before:border before:border-solid before:border-f1-border-inverse", "before:bg-f1-background-inverse before:bg-[linear-gradient(hsl(var(--neutral-90)),hsl(var(--neutral-90)))]", "dark:before:bg-f1-background-tertiary dark:before:bg-[linear-gradient(hsl(var(--neutral-5)),hsl(var(--neutral-5)))]", "before:h-[var(--height)] data-[expanded]:before:h-[var(--toast-height)]", "data-[ending-style]:before:h-full data-[expanded]:data-[ending-style]:before:h-full", "before:[transition:height_0.3s_cubic-bezier(0.22,1,0.36,1)] motion-reduce:before:[transition:none]", "[--gap:0.75rem] [--peek:6px]", "[--scale:calc(max(0,1_-_var(--toast-index)*0.05))] [--shrink:calc(1_-_var(--scale))]", "[--height:var(--toast-frontmost-height,var(--toast-height))]", "[--offset-y:calc(var(--toast-offset-y)*-1_-_var(--toast-index)*var(--gap)_+_var(--toast-swipe-movement-y))]", "z-[calc(1000_-_var(--toast-index))]", "h-[var(--height)] data-[expanded]:h-[var(--toast-height)]", "[interpolate-size:numeric-only]", "[transform:translateX(var(--toast-swipe-movement-x))_translateY(calc(var(--toast-swipe-movement-y)_-_var(--toast-index)*var(--peek)_-_var(--shrink)*var(--height)))_scale(var(--scale))]", "data-[expanded]:[transform:translateX(var(--toast-swipe-movement-x))_translateY(var(--offset-y))]", "after:absolute after:left-0 after:top-full after:h-[calc(var(--gap)_+_1px)] after:w-full after:content-['']", "data-[buried]:invisible data-[buried]:opacity-0 data-[expanded]:data-[buried]:visible data-[expanded]:data-[buried]:opacity-100", "data-[starting-style]:[transform:translateY(150%)]", "data-[ending-style]:opacity-0 group-data-[clearing]/toasts:data-[ending-style]:opacity-100", "[--exit-drop:100%]", "[&[data-ending-style]:not([data-limited]):not([data-swipe-direction])]:[transform:translateY(calc(var(--toast-swipe-movement-y)_-_var(--toast-index)*var(--peek)_-_var(--shrink)*var(--height,0px)_+_var(--exit-drop)))_scale(var(--scale))]", "[&[data-ending-style][data-expanded]:not([data-limited]):not([data-swipe-direction])]:[transform:translateY(calc(var(--offset-y)_+_var(--exit-drop)))]", "data-[ending-style]:data-[swipe-direction=down]:[transform:translateY(calc(var(--toast-swipe-movement-y)_+_150%))]", "data-[ending-style]:data-[swipe-direction=right]:[transform:translateX(calc(var(--toast-swipe-movement-x)_+_150%))_translateY(var(--offset-y))]", "[transition:transform_0.5s_cubic-bezier(0.22,1,0.36,1),opacity_0.5s]", "motion-reduce:[transition:opacity_0.2s]"), Hv = H("shrink-0 overflow-hidden rounded-lg", "[--content-shift:calc(var(--toast-height,var(--height))_-_var(--height))]", "group-data-[ending-style]/toast:h-full", "[transform:translateY(var(--content-shift))] [clip-path:inset(0_0_max(0px,var(--content-shift))_0_round_theme(borderRadius.lg))]", "data-[expanded]:[transform:none] data-[expanded]:[clip-path:inset(0_0_0_0_round_theme(borderRadius.lg))]", "[transition:opacity_250ms_cubic-bezier(0.22,1,0.36,1),transform_0.3s_cubic-bezier(0.22,1,0.36,1),clip-path_0.3s_cubic-bezier(0.22,1,0.36,1)]", "data-[behind]:opacity-0 data-[expanded]:opacity-100", "data-[behind]:[transition:opacity_250ms_cubic-bezier(0.22,1,0.36,1)_300ms,transform_0.3s_cubic-bezier(0.22,1,0.36,1),clip-path_0.3s_cubic-bezier(0.22,1,0.36,1)]", "data-[expanded]:data-[behind]:[transition:opacity_250ms_cubic-bezier(0.22,1,0.36,1),transform_0.3s_cubic-bezier(0.22,1,0.36,1),clip-path_0.3s_cubic-bezier(0.22,1,0.36,1)]", "motion-reduce:[transition:opacity_250ms] motion-reduce:data-[behind]:[transition:opacity_250ms]"), Uv = ["down", "right"], Wv = {
14105
+ var Vv = H("group/toast pointer-events-auto absolute bottom-0 left-0 right-0 flex w-full origin-bottom select-none flex-col justify-end rounded-lg", lr(), "before:pointer-events-none before:absolute before:inset-x-0 before:bottom-0 before:-z-10 before:rounded-lg before:shadow-lg before:content-['']", "before:border before:border-solid before:border-f1-border-inverse", "before:bg-f1-background-inverse before:bg-[linear-gradient(hsl(var(--neutral-90)),hsl(var(--neutral-90)))]", "dark:before:bg-f1-background-tertiary dark:before:bg-[linear-gradient(hsl(var(--neutral-5)),hsl(var(--neutral-5)))]", "before:h-[var(--height)] data-[expanded]:before:h-[var(--toast-height)]", "data-[ending-style]:before:h-full data-[expanded]:data-[ending-style]:before:h-full", "before:[transition:height_0.3s_cubic-bezier(0.22,1,0.36,1)] motion-reduce:before:[transition:none]", "[--gap:0.75rem] [--peek:6px]", "[--scale:calc(max(0,1_-_var(--toast-index)*0.05))] [--shrink:calc(1_-_var(--scale))]", "[--height:var(--toast-frontmost-height,var(--toast-height))]", "[--offset-y:calc(var(--toast-offset-y)*-1_-_var(--toast-index)*var(--gap)_+_var(--toast-swipe-movement-y))]", "z-[calc(1000_-_var(--toast-index))]", "h-[var(--height)] data-[expanded]:h-[var(--toast-height)]", "[interpolate-size:numeric-only]", "[transform:translateX(var(--toast-swipe-movement-x))_translateY(calc(var(--toast-swipe-movement-y)_-_var(--toast-index)*var(--peek)_-_var(--shrink)*var(--height)))_scale(var(--scale))]", "data-[expanded]:[transform:translateX(var(--toast-swipe-movement-x))_translateY(var(--offset-y))]", "after:absolute after:left-0 after:top-full after:h-[calc(var(--gap)_+_1px)] after:w-full after:content-['']", "data-[buried]:invisible data-[buried]:opacity-0 data-[expanded]:data-[buried]:visible data-[expanded]:data-[buried]:opacity-100", "data-[starting-style]:[transform:translateY(150%)]", "data-[ending-style]:opacity-0 group-data-[clearing]/toasts:data-[ending-style]:opacity-100", "[--exit-drop:100%]", "[&[data-ending-style]:not([data-limited]):not([data-swipe-direction])]:[transform:translateY(calc(var(--toast-swipe-movement-y)_-_var(--toast-index)*var(--peek)_-_var(--shrink)*var(--height,0px)_+_var(--exit-drop)))_scale(var(--scale))]", "[&[data-ending-style][data-expanded]:not([data-limited]):not([data-swipe-direction])]:[transform:translateY(calc(var(--offset-y)_+_var(--exit-drop)))]", "data-[ending-style]:data-[swipe-direction=down]:[transform:translateY(calc(var(--toast-swipe-movement-y)_+_150%))]", "data-[ending-style]:data-[swipe-direction=right]:[transform:translateX(calc(var(--toast-swipe-movement-x)_+_150%))_translateY(var(--offset-y))]", "[transition:transform_0.5s_cubic-bezier(0.22,1,0.36,1),opacity_0.5s]", "motion-reduce:[transition:opacity_0.2s]"), Hv = H("shrink-0 overflow-hidden rounded-lg", "[--content-shift:calc(var(--toast-height,var(--height))_-_var(--height))]", "group-data-[ending-style]/toast:h-full", "[transform:translateY(var(--content-shift))] [clip-path:inset(0_0_max(0px,var(--content-shift))_0_round_theme(borderRadius.lg))]", "data-[expanded]:[transform:none] data-[expanded]:[clip-path:inset(0_0_0_0_round_theme(borderRadius.lg))]", "[transition:opacity_250ms_cubic-bezier(0.22,1,0.36,1),transform_0.3s_cubic-bezier(0.22,1,0.36,1),clip-path_0.3s_cubic-bezier(0.22,1,0.36,1)]", "data-[behind]:opacity-0 data-[expanded]:opacity-100", "data-[behind]:[transition:opacity_250ms_cubic-bezier(0.22,1,0.36,1)_300ms,transform_0.3s_cubic-bezier(0.22,1,0.36,1),clip-path_0.3s_cubic-bezier(0.22,1,0.36,1)]", "data-[expanded]:data-[behind]:[transition:opacity_250ms_cubic-bezier(0.22,1,0.36,1),transform_0.3s_cubic-bezier(0.22,1,0.36,1),clip-path_0.3s_cubic-bezier(0.22,1,0.36,1)]", "motion-reduce:[transition:opacity_250ms] motion-reduce:data-[behind]:[transition:opacity_250ms]"), Uv = ["down", "right"], Wv = {
14106
14106
  Title: ({ className: e, children: t }) => /* @__PURE__ */ X(Tv, {
14107
14107
  className: e,
14108
14108
  render: /* @__PURE__ */ X("p", {}),
@@ -14229,7 +14229,7 @@ var Vv = H("group/toast pointer-events-auto absolute bottom-0 left-0 right-0 fle
14229
14229
  });
14230
14230
  }, iy = "#content", ay = (e) => {
14231
14231
  let [t, n] = J({ inset: 0 });
14232
- return dn(function() {
14232
+ return un(function() {
14233
14233
  if (!e || typeof document > "u") return;
14234
14234
  let t = document.querySelector(iy);
14235
14235
  if (!t) {
@@ -14307,24 +14307,24 @@ var Vv = H("group/toast pointer-events-auto absolute bottom-0 left-0 right-0 fle
14307
14307
  t?.desktop
14308
14308
  ]), /* @__PURE__ */ Z(Y, { children: [i && o != null ? Tc(/* @__PURE__ */ X(mc, { children: /* @__PURE__ */ X(cy, {
14309
14309
  messages: Vt,
14310
- app: gt
14310
+ app: _t
14311
14311
  }) }, c), o) : null, e] });
14312
- }, uy = ({ 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(Ie, {
14312
+ }, uy = ({ 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(lt, {
14313
14313
  reducedMotion: "user",
14314
- children: /* @__PURE__ */ X(Wn, {
14314
+ children: /* @__PURE__ */ X(Un, {
14315
14315
  isDev: s,
14316
14316
  showExperimentalWarnings: c,
14317
14317
  renderDataTestIdAttribute: l,
14318
14318
  hourCycle: o,
14319
14319
  children: /* @__PURE__ */ X(Us, {
14320
14320
  ...a,
14321
- children: /* @__PURE__ */ X(Xn, {
14321
+ children: /* @__PURE__ */ X(Yn, {
14322
14322
  ...i,
14323
- children: /* @__PURE__ */ X(An, {
14323
+ children: /* @__PURE__ */ X(kn, {
14324
14324
  ...t,
14325
- children: /* @__PURE__ */ X(Jn, { children: /* @__PURE__ */ X(j, {
14325
+ children: /* @__PURE__ */ X(qn, { children: /* @__PURE__ */ X(x, {
14326
14326
  initiallyEnabled: n,
14327
- children: /* @__PURE__ */ X(go, {
14327
+ children: /* @__PURE__ */ X(yo, {
14328
14328
  ...r,
14329
14329
  children: e
14330
14330
  })
@@ -14335,7 +14335,7 @@ var Vv = H("group/toast pointer-events-auto absolute bottom-0 left-0 right-0 fle
14335
14335
  })
14336
14336
  }), dy = hc(null), fy = ({ children: e, fullScreen: t = !0 }) => {
14337
14337
  let n = q(null), [r, i] = J(n.current);
14338
- return dn(() => {
14338
+ return un(() => {
14339
14339
  i(n.current);
14340
14340
  }, []), /* @__PURE__ */ X(dy.Provider, {
14341
14341
  value: { element: r },
@@ -14361,7 +14361,7 @@ var Vv = H("group/toast pointer-events-auto absolute bottom-0 left-0 right-0 fle
14361
14361
  renderDataTestIdAttribute: d,
14362
14362
  children: /* @__PURE__ */ X(fy, {
14363
14363
  ...t,
14364
- children: /* @__PURE__ */ X(sa, {
14364
+ children: /* @__PURE__ */ X(ca, {
14365
14365
  handler: l,
14366
14366
  children: /* @__PURE__ */ X(Mr, { children: /* @__PURE__ */ X(ct, {
14367
14367
  ...p,
@@ -14380,4 +14380,4 @@ var Vv = H("group/toast pointer-events-auto absolute bottom-0 left-0 right-0 fle
14380
14380
  })
14381
14381
  });
14382
14382
  //#endregion
14383
- export { Gr as AiChatTranslationsProvider, Ut as AreaChart, nc as Await, qe as BarChart, ql as BarChartSkeleton, de as CardSelectableContainer, $e as CategoryBarChart, Xi as ChatSpinner, Ro as Chip, ri as CollapsibleGroup, kt as ComboChart, st as DATA_COLLECTION_URL_PARAMS, rt as DATA_COLLECTION_URL_PARAM_PREFIX, Ol as Dashboard, vt as DataChartEmptyStateView, In as DataTestIdWrapper, Ue as DndProvider, Ia as DropOverlay, zn as EmojiImage, Id as F0Accordion, Ct as F0ActionBar, Ji as F0ActionItem, ca as F0AiChat, Kr as F0AiChatCreditsButton, ei as F0AiChatHeader, Zr as F0AiChatHistory, Ti as F0AiChatProvider, Nr as F0AiChatTextArea, Fr as F0AiChatUsageLimitsButton, Hr as F0AiFileAttachments, Ma as F0AiFilePreviewsProvider, Oi as F0AiFormRegistryProvider, ti as F0AiInsightCard, Ur as F0AiMask, qr as F0AiMessageSources, Ar as F0AiMessagesContainer, Ba as F0AiPong, si as F0AiProcessingOverlay, Jr as F0AiProposalCard, ci as F0AiTableCard, fe as F0Alert, H_ as F0AnalyticsDashboard, kd as F0AudioPlayer, Ad as F0AudioPlayerCard, Yr as F0AuraVoiceAnimation, No as F0Avatar, Na as F0AvatarAlert, wo as F0AvatarCompany, Ka as F0AvatarDate, mo as F0AvatarEmoji, To as F0AvatarFile, bo as F0AvatarIcon, So as F0AvatarList, vo as F0AvatarModule, Mo as F0AvatarPerson, ho as F0AvatarTeam, lu as F0BigNumber, Mh as F0BookAMeetingCard, Or as F0Box, R as F0Button, zi as F0ButtonDropdown, $s as F0ButtonToggle, $r as F0CanvasCard, $a as F0CanvasPanel, Di as F0Card, Gi as F0CardRow, yi as F0ChatComposer, vs as F0Checkbox, Bd as F0ChipList, li as F0ClarifyingPanel, lt as F0DataChart, o as F0DatePicker, rn as F0DatePickerInline, Oh as F0DemoCard, Qa as F0Dialog, ce as F0DialogAlikeContext, g as F0DialogAlikeProvider, Yo as F0DialogContext, Vs as F0DialogProvider, dc as F0DocumentViewer, Jd as F0Drawer, oe as F0DurationInput, Zs as F0EventCatcherProvider, Ah as F0FAQCard, Va as F0FileItem, Zd as F0FilterPickerContent, _e as F0Form, ff as F0FormField, vl as F0GridStack, Xr as F0HILActionConfirmation, Yt as F0Heading, z as F0Icon, Ai as F0Link, jh as F0ModuleCard, en as F0NotesTextEditor, ze as F0NotesTextEditorSkeleton, h as F0NumberInput, ve as F0NumberInputInline, wi as F0OneIcon, Ua as F0OneSwitch, uc as F0PdfViewer, hy as F0Provider, Nh as F0QuestionCardMultiStep, Ja as F0RichTextDisplay, ut as F0RichTextEditor, Ps as F0SearchInput, Ks as F0Select, r as F0SelectInline, $f as F0Slider, pp as F0TableOfContentPopover, rs as F0TagAlert, Wo as F0TagBalance, os as F0TagCompany, ns as F0TagDot, Bs as F0TagList, es as F0TagPerson, ks as F0TagRaw, zo as F0TagStatus, Os as F0TagTeam, t as F0Text, u as F0TextAreaInput, he as F0TextAreaInputInline, Ya as F0TextInput, Qt as F0TextInputInline, l as F0TimelineRow, cc as F0VideoPlayer, Ff as F0WizardForm, ws as F1SearchBox, F as FILE_TYPES, vi as FileItem, Mr as FormCardValueFormatterProvider, eu as FunnelChartSkeleton, xo as GROUP_ID_SYMBOL, jo as GROUP_KEY_SEPARATOR, ru as GaugeChartSkeleton, iu as HeatmapChartSkeleton, Wl as HomeLayout, Qe as InlineFieldRow, Ot as InlineFieldRowList, Li as Input, Vl as Layout, bt as LineChart, Xl as LineChartSkeleton, Fe as MAX_URL_FILTER_VALUES, Zt as NotesTextEditor, me as NotesTextEditorSkeleton, f as NumberInput, Ss as OneCalendar, ps as OneCalendarInternal, $n as OneEllipsis, ue as OneEmptyState, Hs as OneFilterPicker, ot as PieChart, tu as PieChartSkeleton, hi as PongBall, j as PrivacyModeProvider, hh as ProductBlankslate, et as ProductCard, vh as ProductModal, bh as ProductWidget, nt as ProgressBarChart, Pe as RadarChart, nu as RadarChartSkeleton, Ha as RichTextDisplay, te as RichTextEditor, Ql as ScatterChartSkeleton, Hl as StandardLayout, zm as SurveyAllQuestionsLoadingSkeleton, oh as SurveyAnsweringForm, jm as SurveyFormBuilder, lh as SurveySampleQuestion, Bm as SurveySteppedLoadingSkeleton, js as Tag, Is as TagCounter, Xt as Textarea, oi as ThreadItem, Wr as ThreadListSkeleton, ly as ToastProvider, Ul as TwoColumnLayout, se as UPLOAD_INPUT_ID, E as UpsellRequestResponseDialog, Ch as UpsellingAlert, Th as UpsellingBanner, v as UpsellingButton, Dh as UpsellingPopover, qt as VerticalBarChart, gs as WeekStartDay, Nt as actionBarStatuses, pi as actionItemStatuses, ea as adaptDataAdapterToInfiniteScroll, kr as aiChatFileFromShowFilesItem, Qr as aiChatFileFromUploadedFile, Ir as aiChatFilesFromMessage, Lr as aiChatMessageText, Vr as aiTranslations, Ud as alertVariantOptions, pu as audioPlayerSizes, Gl as avatarVariants, Jt as buildDataCollectionUrlParams, Vn as buildTranslations, fu as buttonDropdownModes, du as buttonDropdownSizes, uu as buttonDropdownVariants, wl as buttonSizes, Oe as buttonToggleColors, Ee as buttonToggleSizes, Ae as buttonToggleVariants, Cl as buttonVariants, Ld as cardAlertVariants, Ui as cardImageAspectRatios, aa as cardImageFits, uo as cardImageSizes, Lo as chartColorTokens, Qs as chipVariants, _p as computeSectionEndIds, lc as configurePdfWorker, ii as contentTypes, _t as createAtlaskitDriver, cs as createDataSourceDefinition, tf as createF0FormDefinitionTester, ef as createF0FormTester, xl as createPageLayoutBlock, Sl as createPageLayoutBlockGroup, Pr as createPersonMentionSource, Wd as dataCollectionLocalStorageHandler, Vd as datePickerInlineDismissReasons, Hd as datepickerSizes, po as defaultTranslations, Fi as defineAvailableForm, Qd as describeFormSchema, b as dialog, b as dialogs, ee as drawers, eo as durationInputSizes, Ga as durationUnits, Ne as evaluateRenderIf, qn as experimental, za as f0FileItemSizes, ji as f0FormField, ta as fieldsToSeconds, mp as flattenElements, hu as formatPlaybackTime, Vf as forms, at as generateAnchorId, ls as getAnimationVariants, ao as getDataCollectionStorageKey, us as getDataSourcePaginationType, sn as getEmojiLabel, Hi as getF0Config, Ys as getGranularityDefinition, bs as getGranularityDefinitions, ec as getGranularitySimpleDefinition, Kt as getSchemaDefinition, qs as granularityDefinitions, Xa as hasF0Config, Bi as inferFieldType, gp as injectSectionEnds, Do as isInfiniteScrollPagination, Ao as isPageBasedPagination, xa as isZodType, jd as linkVariants, zr as markdownRenderers, ro as mergeDataCollectionFilters, yo as modules, Br as oneIconSizes, nn as parseDataCollectionUrlParams, Hf as pdfScales, D as predefinedPresets, Gs as rangeSeparator, so as readDataCollectionStorage, hp as reconstructElements, Da as resolveDataCollectionFilters, Ls as resolveGranularityDefinition, At as resolveItemNeighbors, y as resolveWindowNeighbors, mi as secondsToFields, Aa as secondsToVisibleFields, Uf as selectInlineDismissReasons, be as selectSizes, x as selectVariants, Ve as setDataCollectionUrlParams, Wf as sliderTooltipModes, $t as syncDataCollectionUrlParams, tp as tagDotColors, ep as timelineRowStatuses, Pt as toasts, wa as unwrapZodSchema, ni as usageLimitsPopoverSides, ra as useAiChat, di as useAiChatTranslations, Bt as useAudioPlayer, fi as useCanvasEntity, ai as useChatHistory, Co as useData, Go as useDataSource, Ce as useDataSourceItemNavigation, Su as useDerivedTranscription, Le as useDndEvents, wt as useDraggable, Ft as useDroppableList, Rn as useEmojiConfetti, Wi as useF0AiFormRegistry, Jo as useF0Dialog, w as useF0DialogAlikeContext, Ke as useF0Form, zt as useF0FormDefinition, jr as useFormCardValueFormatter, my as useFormComponent, Ko as useGroups, U_ as useIsDesktop, W_ as useIsMobile, A as useItemNeighbors, jt as usePrivacyMode, hn as useReducedMotion, tn as useSchemaDefinition, Io as useSelectable, Rr as useSetFormCardValueFormatter, ui as useToolCallId, On as useXRay, L as withDataTestId, ge as writeDataCollectionStorage };
14383
+ export { Gr as AiChatTranslationsProvider, yt as AreaChart, nc as Await, Ut as BarChart, ql as BarChartSkeleton, de as CardSelectableContainer, qe as CategoryBarChart, Zi as ChatSpinner, Ro as Chip, ri as CollapsibleGroup, $e as ComboChart, st as DATA_COLLECTION_URL_PARAMS, rt as DATA_COLLECTION_URL_PARAM_PREFIX, Ol as Dashboard, We as DataChartEmptyStateView, Fn as DataTestIdWrapper, Ue as DndProvider, Ia as DropOverlay, Rn as EmojiImage, Id as F0Accordion, Bt as F0ActionBar, Yi as F0ActionItem, la as F0AiChat, Kr as F0AiChatCreditsButton, ei as F0AiChatHeader, Zr as F0AiChatHistory, Ti as F0AiChatProvider, Nr as F0AiChatTextArea, Fr as F0AiChatUsageLimitsButton, Hr as F0AiFileAttachments, Ma as F0AiFilePreviewsProvider, ki as F0AiFormRegistryProvider, ti as F0AiInsightCard, Ur as F0AiMask, qr as F0AiMessageSources, Ar as F0AiMessagesContainer, Ba as F0AiPong, si as F0AiProcessingOverlay, Jr as F0AiProposalCard, ci as F0AiTableCard, fe as F0Alert, H_ as F0AnalyticsDashboard, kd as F0AudioPlayer, Ad as F0AudioPlayerCard, Yr as F0AuraVoiceAnimation, Po as F0Avatar, Pa as F0AvatarAlert, Do as F0AvatarCompany, Ka as F0AvatarDate, bo as F0AvatarEmoji, ho as F0AvatarFile, mo as F0AvatarIcon, Oo as F0AvatarList, go as F0AvatarModule, xo as F0AvatarPerson, No as F0AvatarTeam, lu as F0BigNumber, Mh as F0BookAMeetingCard, Er as F0Box, R as F0Button, Vi as F0ButtonDropdown, $s as F0ButtonToggle, $r as F0CanvasCard, to as F0CanvasPanel, Oi as F0Card, Ki as F0CardRow, yi as F0ChatComposer, vs as F0Checkbox, Bd as F0ChipList, li as F0ClarifyingPanel, Nt as F0DataChart, s as F0DatePicker, nn as F0DatePickerInline, Oh as F0DemoCard, $a as F0Dialog, ce as F0DialogAlikeContext, _ as F0DialogAlikeProvider, Yo as F0DialogContext, Vs as F0DialogProvider, dc as F0DocumentViewer, Jd as F0Drawer, ae as F0DurationInput, Zs as F0EventCatcherProvider, Ah as F0FAQCard, Va as F0FileItem, Zd as F0FilterPickerContent, ve as F0Form, ff as F0FormField, vl as F0GridStack, Xr as F0HILActionConfirmation, Jt as F0Heading, z as F0Icon, ji as F0Link, jh as F0ModuleCard, $t as F0NotesTextEditor, ze as F0NotesTextEditorSkeleton, h as F0NumberInput, ye as F0NumberInputInline, wi as F0OneIcon, Wa as F0OneSwitch, uc as F0PdfViewer, hy as F0Provider, Nh as F0QuestionCardMultiStep, Ja as F0RichTextDisplay, dt as F0RichTextEditor, Ps as F0SearchInput, Ks as F0Select, i as F0SelectInline, $f as F0Slider, pp as F0TableOfContentPopover, rs as F0TagAlert, Wo as F0TagBalance, os as F0TagCompany, ns as F0TagDot, Bs as F0TagList, es as F0TagPerson, ks as F0TagRaw, zo as F0TagStatus, Os as F0TagTeam, Or as F0Text, d as F0TextAreaInput, ge as F0TextAreaInputInline, Ya as F0TextInput, Zt as F0TextInputInline, u as F0TimelineRow, cc as F0VideoPlayer, Ff as F0WizardForm, ws as F1SearchBox, ne as FILE_TYPES, vi as FileItem, Mr as FormCardValueFormatterProvider, eu as FunnelChartSkeleton, Co as GROUP_ID_SYMBOL, Mo as GROUP_KEY_SEPARATOR, ru as GaugeChartSkeleton, iu as HeatmapChartSkeleton, Wl as HomeLayout, Qe as InlineFieldRow, Ot as InlineFieldRowList, Bi as Input, Vl as Layout, kt as LineChart, Xl as LineChartSkeleton, Ie as MAX_URL_FILTER_VALUES, Xt as NotesTextEditor, he as NotesTextEditorSkeleton, p as NumberInput, Ss as OneCalendar, ps as OneCalendarInternal, Qn as OneEllipsis, ue as OneEmptyState, Hs as OneFilterPicker, xt as PieChart, tu as PieChartSkeleton, gi as PongBall, x as PrivacyModeProvider, hh as ProductBlankslate, et as ProductCard, vh as ProductModal, bh as ProductWidget, ot as ProgressBarChart, nt as RadarChart, nu as RadarChartSkeleton, Ua as RichTextDisplay, P as RichTextEditor, Ql as ScatterChartSkeleton, Hl as StandardLayout, zm as SurveyAllQuestionsLoadingSkeleton, oh as SurveyAnsweringForm, jm as SurveyFormBuilder, lh as SurveySampleQuestion, Bm as SurveySteppedLoadingSkeleton, js as Tag, Is as TagCounter, Yt as Textarea, oi as ThreadItem, Wr as ThreadListSkeleton, ly as ToastProvider, Ul as TwoColumnLayout, se as UPLOAD_INPUT_ID, D as UpsellRequestResponseDialog, Ch as UpsellingAlert, Th as UpsellingBanner, y as UpsellingButton, Dh as UpsellingPopover, Fe as VerticalBarChart, gs as WeekStartDay, Ct as actionBarStatuses, pi as actionItemStatuses, na as adaptDataAdapterToInfiniteScroll, kr as aiChatFileFromShowFilesItem, Qr as aiChatFileFromUploadedFile, Ir as aiChatFilesFromMessage, Lr as aiChatMessageText, Vr as aiTranslations, Ud as alertVariantOptions, pu as audioPlayerSizes, Gl as avatarVariants, qt as buildDataCollectionUrlParams, Bn as buildTranslations, fu as buttonDropdownModes, du as buttonDropdownSizes, uu as buttonDropdownVariants, wl as buttonSizes, ke as buttonToggleColors, De as buttonToggleSizes, je as buttonToggleVariants, Cl as buttonVariants, Ld as cardAlertVariants, Wi as cardImageAspectRatios, sa as cardImageFits, uo as cardImageSizes, Lo as chartColorTokens, Qs as chipVariants, _p as computeSectionEndIds, lc as configurePdfWorker, ii as contentTypes, vt as createAtlaskitDriver, cs as createDataSourceDefinition, tf as createF0FormDefinitionTester, ef as createF0FormTester, xl as createPageLayoutBlock, Sl as createPageLayoutBlockGroup, Pr as createPersonMentionSource, Wd as dataCollectionLocalStorageHandler, Vd as datePickerInlineDismissReasons, Hd as datepickerSizes, po as defaultTranslations, zi as defineAvailableForm, Qd as describeFormSchema, S as dialog, S as dialogs, ee as drawers, no as durationInputSizes, Ga as durationUnits, Pe as evaluateRenderIf, Kn as experimental, za as f0FileItemSizes, Ni as f0FormField, ra as fieldsToSeconds, mp as flattenElements, hu as formatPlaybackTime, Vf as forms, at as generateAnchorId, ls as getAnimationVariants, oo as getDataCollectionStorageKey, us as getDataSourcePaginationType, on as getEmojiLabel, Ui as getF0Config, Ys as getGranularityDefinition, bs as getGranularityDefinitions, ec as getGranularitySimpleDefinition, Kt as getSchemaDefinition, qs as granularityDefinitions, Za as hasF0Config, Hi as inferFieldType, gp as injectSectionEnds, ko as isInfiniteScrollPagination, jo as isPageBasedPagination, Sa as isZodType, jd as linkVariants, zr as markdownRenderers, io as mergeDataCollectionFilters, _o as modules, Br as oneIconSizes, tn as parseDataCollectionUrlParams, Hf as pdfScales, O as predefinedPresets, Gs as rangeSeparator, so as readDataCollectionStorage, hp as reconstructElements, Oa as resolveDataCollectionFilters, Ls as resolveGranularityDefinition, At as resolveItemNeighbors, b as resolveWindowNeighbors, mi as secondsToFields, ja as secondsToVisibleFields, Uf as selectInlineDismissReasons, xe as selectSizes, C as selectVariants, Ve as setDataCollectionUrlParams, Wf as sliderTooltipModes, Qt as syncDataCollectionUrlParams, tp as tagDotColors, ep as timelineRowStatuses, Pt as toasts, Ca as unwrapZodSchema, ni as usageLimitsPopoverSides, oa as useAiChat, di as useAiChatTranslations, Xe as useAudioPlayer, fi as useCanvasEntity, ai as useChatHistory, Eo as useData, Go as useDataSource, we as useDataSourceItemNavigation, Su as useDerivedTranscription, Le as useDndEvents, wt as useDraggable, Ft as useDroppableList, Ln as useEmojiConfetti, Gi as useF0AiFormRegistry, Jo as useF0Dialog, T as useF0DialogAlikeContext, Ke as useF0Form, zt as useF0FormDefinition, jr as useFormCardValueFormatter, my as useFormComponent, Ko as useGroups, U_ as useIsDesktop, W_ as useIsMobile, A as useItemNeighbors, j as usePrivacyMode, mn as useReducedMotion, en as useSchemaDefinition, Io as useSelectable, Rr as useSetFormCardValueFormatter, ui as useToolCallId, Dn as useXRay, L as withDataTestId, _e as writeDataCollectionStorage };