@factorialco/f0-react 6.88.3 → 6.88.5

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.
package/dist/f0.js CHANGED
@@ -1,18 +1,18 @@
1
- import { h_ as wN, w as ct, e4 as N_, ct as gn, ho as SN, fT as rF, bY as Nn, fn as nF, h$ as iF, i0 as CN, r as rr, c4 as yf, i1 as Fw, i2 as Nr, i3 as Qa, i4 as aF, u as Ge, bW as up, i5 as Ki, i6 as Ql, i7 as oF, i8 as TN, bV as bl, hk as jy, i9 as sF, S as ie, s as I_, ia as lF, ib as uF, ic as Gw, cz as cF, id as fF, ie as dF, ig as DN, ih as hF, t as bf, v as _f, m as at, x as xf, y as $r, O as vF, Q as pF, z as es, A as ts, ay as Pa, B as rs, gv as Ky, d4 as Ct, V as it, ah as Nl, d5 as Ra, da as AN, di as k_, ii as gF, cm as mF, cn as Hw, n as MN, o as Il, bX as Rc, co as yF, eC as zh, d_ as LN, ij as bF, hn as Ww, d7 as _F, ik as $w, dd as xF, il as wF, c1 as EN, e3 as NN, ge as Qy, dm as SF, a7 as Jy, a6 as P_, gR as Jl, gS as wf, gU as IN, hu as CF, gt as kN, gs as TF, im as cp, b4 as R_, h7 as DF, c9 as PN, f$ as AF, av as MF, hV as O_, b7 as RN, c5 as LF, c6 as EF, c7 as NF, d as IF, bC as ON, ai as hs, bI as BN, b3 as zN, ag as B_, bK as VN, X as z_, G as _l, H as xl, K as wl, L as Sl, gw as Ei, $ as FN, j as kF, b1 as Vh, at as kl, J as Pr, el as PF, bT as V_, b5 as e0, cq as Oc, cj as RF, aT as Sf, ar as eu, dH as GN, du as HN, h1 as Vr, io as OF, ip as BF, iq as WN, ir as fp, is as zF, it as VF, cE as ti, R as $N, U as UN, ci as FF, iu as GF, cb as YN, e1 as HF, e2 as WF, bQ as $o, db as tu, e7 as ru, e_ as Cf, bL as $F, e5 as UF, bs as YF, ak as XN, dg as XF, aj as qF, aX as Uw, bG as Bc, hs as ZF, aP as jF, iv as KF, iw as QF, ix as JF, b as qN, eY as F_, ch as e5, a_ as t5, l as ZN, a8 as r5, a5 as n5, iy as i5, iz as a5, iA as o5, hr as s5, cF as jN, cN as l5, c3 as u5, iB as KN, iC as c5, iD as f5, I as d5, iE as h5, iF as v5, iG as p5, iH as g5 } from "./F0CanvasPanel-CpgOQnbI.js";
2
- import { iY as rhe, C as nhe, D as ihe, dB as ahe, c as ohe, F as she, a as lhe, iR as uhe, f as che, cx as fhe, dC as dhe, e9 as hhe, cc as vhe, cd as phe, cv as ghe, ca as mhe, cw as yhe, dp as bhe, eh as _he, g as xhe, c8 as whe, bZ as She, iM as Che, j1 as The, bS as Dhe, e as Ahe, e0 as Mhe, k as Lhe, cy as Ehe, iT as Nhe, dL as Ihe, iU as khe, iW as Phe, iX as Rhe, eF as Ohe, i_ as Bhe, ey as zhe, ez as Vhe, P as Fhe, eD as Ghe, iV as Hhe, eA as Whe, iZ as $he, j2 as Uhe, iJ as Yhe, iK as Xhe, iL as qhe, iI as Zhe, eB as jhe, j0 as Khe, iS as Qhe, iP as Jhe, iO as eve, eE as tve, gq as rve, h8 as nve, i$ as ive, dE as ave, ex as ove, eu as sve, ew as lve, es as uve, iQ as cve, ha as fve, h4 as dve, gV as hve, j5 as vve, ed as pve, ev as gve, j4 as mve, dT as yve, et as bve, cf as _ve, gp as xve, gW as wve, dW as Sve, ht as Cve, dD as Tve, cg as Dve, iN as Ave, h6 as Mve, h5 as Lve, j3 as Eve } from "./F0CanvasPanel-CpgOQnbI.js";
1
+ import { h_ as wN, w as ct, e4 as N_, ct as gn, ho as SN, fT as rF, bY as Nn, fn as nF, h$ as iF, i0 as CN, r as rr, c4 as yf, i1 as Fw, i2 as Nr, i3 as Qa, i4 as aF, u as Ge, bW as up, i5 as Ki, i6 as Ql, i7 as oF, i8 as TN, bV as bl, hk as jy, i9 as sF, S as ie, s as I_, ia as lF, ib as uF, ic as Gw, cz as cF, id as fF, ie as dF, ig as DN, ih as hF, t as bf, v as _f, m as at, x as xf, y as $r, O as vF, Q as pF, z as es, A as ts, ay as Pa, B as rs, gv as Ky, d4 as Ct, V as it, ah as Nl, d5 as Ra, da as AN, di as k_, ii as gF, cm as mF, cn as Hw, n as MN, o as Il, bX as Rc, co as yF, eC as zh, d_ as LN, ij as bF, hn as Ww, d7 as _F, ik as $w, dd as xF, il as wF, c1 as EN, e3 as NN, ge as Qy, dm as SF, a7 as Jy, a6 as P_, gR as Jl, gS as wf, gU as IN, hu as CF, gt as kN, gs as TF, im as cp, b4 as R_, h7 as DF, c9 as PN, f$ as AF, av as MF, hV as O_, b7 as RN, c5 as LF, c6 as EF, c7 as NF, d as IF, bC as ON, ai as hs, bI as BN, b3 as zN, ag as B_, bK as VN, X as z_, G as _l, H as xl, K as wl, L as Sl, gw as Ei, $ as FN, j as kF, b1 as Vh, at as kl, J as Pr, el as PF, bT as V_, b5 as e0, cq as Oc, cj as RF, aT as Sf, ar as eu, dH as GN, du as HN, h1 as Vr, io as OF, ip as BF, iq as WN, ir as fp, is as zF, it as VF, cE as ti, R as $N, U as UN, ci as FF, iu as GF, cb as YN, e1 as HF, e2 as WF, bQ as $o, db as tu, e7 as ru, e_ as Cf, bL as $F, e5 as UF, bs as YF, ak as XN, dg as XF, aj as qF, aX as Uw, bG as Bc, hs as ZF, aP as jF, iv as KF, iw as QF, ix as JF, b as qN, eY as F_, ch as e5, a_ as t5, l as ZN, a8 as r5, a5 as n5, iy as i5, iz as a5, iA as o5, hr as s5, cF as jN, cN as l5, c3 as u5, iB as KN, iC as c5, iD as f5, I as d5, iE as h5, iF as v5, iG as p5, iH as g5 } from "./F0CanvasPanel-VDUWMSmw.js";
2
+ import { iY as rhe, C as nhe, D as ihe, dB as ahe, c as ohe, F as she, a as lhe, iR as uhe, f as che, cx as fhe, dC as dhe, e9 as hhe, cc as vhe, cd as phe, cv as ghe, ca as mhe, cw as yhe, dp as bhe, eh as _he, g as xhe, c8 as whe, bZ as She, iM as Che, j1 as The, bS as Dhe, e as Ahe, e0 as Mhe, k as Lhe, cy as Ehe, iT as Nhe, dL as Ihe, iU as khe, iW as Phe, iX as Rhe, eF as Ohe, i_ as Bhe, ey as zhe, ez as Vhe, P as Fhe, eD as Ghe, iV as Hhe, eA as Whe, iZ as $he, j2 as Uhe, iJ as Yhe, iK as Xhe, iL as qhe, iI as Zhe, eB as jhe, j0 as Khe, iS as Qhe, iP as Jhe, iO as eve, eE as tve, gq as rve, he as nve, i$ as ive, dE as ave, ex as ove, eu as sve, ew as lve, es as uve, iQ as cve, h9 as fve, h4 as dve, gV as hve, j5 as vve, ed as pve, ev as gve, j4 as mve, dT as yve, et as bve, cf as _ve, gp as xve, gW as wve, dW as Sve, ht as Cve, dD as Tve, cg as Dve, iN as Ave, h6 as Mve, h5 as Lve, j3 as Eve } from "./F0CanvasPanel-VDUWMSmw.js";
3
3
  import { jsx as x, jsxs as B, Fragment as ot } from "react/jsx-runtime";
4
- import { C as m5, W as y5, H as b5, I as _5, J as x5, K as Yw, aU as w5, aV as S5, _ as C5, N as T5, T as D5, X as A5, Z as M5, s as L5, a3 as QN, aW as E5, aX as N5, aY as I5, aZ as k5, a_ as P5, a$ as JN, b0 as R5, n as G_, b1 as Ja, b2 as Ls, b3 as O5, D as H_, b4 as W_, ag as B5, b5 as z5, b6 as eI, b7 as V5, b8 as F5, b9 as G5, ba as H5, bb as W5, bc as $5, at as U5, aJ as Y5, bd as X5, ao as q5, E as Z5, a as j5, k as dp, R as $_, l as U_, ar as tI, O as Y_, be as rI, bf as Xw, bg as X_, a4 as K5, bh as qw, F as Q5, m as nI, ax as iI, bi as J5, bj as eG, bk as tG, bl as Es, bm as rG, aK as nG, M as iG } from "./CoachmarkProvider-CoPINK6_.js";
5
- import { a6 as Ive, a7 as kve, ah as Pve, a8 as Rve, ad as Ove, bI as Bve, bH as zve, bA as Vve, bo as Fve, bn as Gve, bp as Hve, bq as Wve, bs as $ve, G as Uve, aM as Yve, aL as Xve, aP as qve, aq as Zve, al as jve, aR as Kve, am as Qve, a9 as Jve, bJ as epe, aN as tpe, aO as rpe, an as npe, aa as ipe, P as ape, ac as ope, ae as spe, aQ as lpe, ap as upe, aS as cpe, ab as fpe, af as dpe, bL as hpe, a2 as vpe, a0 as ppe, a1 as gpe, bz as mpe, bF as ype, bF as bpe, bG as _pe, bv as xpe, bu as wpe, bK as Spe, aH as Cpe, bx as Tpe, by as Dpe, ak as Ape, aj as Mpe, bM as Lpe, bN as Epe, Y as Npe, o as Ipe, bB as kpe, bC as Ppe, bD as Rpe, br as Ope, bw as Bpe, q as zpe, bE as Vpe, bt as Fpe, bO as Gpe } from "./CoachmarkProvider-CoPINK6_.js";
4
+ import { C as m5, W as y5, H as b5, I as _5, J as x5, K as Yw, aU as w5, aV as S5, _ as C5, N as T5, T as D5, X as A5, Z as M5, s as L5, a3 as QN, aW as E5, aX as N5, aY as I5, aZ as k5, a_ as P5, a$ as JN, b0 as R5, n as G_, b1 as Ja, b2 as Ls, b3 as O5, D as H_, b4 as W_, ag as B5, b5 as z5, b6 as eI, b7 as V5, b8 as F5, b9 as G5, ba as H5, bb as W5, bc as $5, at as U5, aJ as Y5, bd as X5, ao as q5, E as Z5, a as j5, k as dp, R as $_, l as U_, ar as tI, O as Y_, be as rI, bf as Xw, bg as X_, a4 as K5, bh as qw, F as Q5, m as nI, ax as iI, bi as J5, bj as eG, bk as tG, bl as Es, bm as rG, aK as nG, M as iG } from "./CoachmarkProvider-FhruFtJe.js";
5
+ import { a6 as Ive, a7 as kve, ah as Pve, a8 as Rve, ad as Ove, bI as Bve, bH as zve, bA as Vve, bo as Fve, bn as Gve, bp as Hve, bq as Wve, bs as $ve, G as Uve, aM as Yve, aL as Xve, aP as qve, aq as Zve, al as jve, aR as Kve, am as Qve, a9 as Jve, bJ as epe, aN as tpe, aO as rpe, an as npe, aa as ipe, P as ape, ac as ope, ae as spe, aQ as lpe, ap as upe, aS as cpe, ab as fpe, af as dpe, bL as hpe, a2 as vpe, a0 as ppe, a1 as gpe, bz as mpe, bF as ype, bF as bpe, bG as _pe, bv as xpe, bu as wpe, bK as Spe, aH as Cpe, bx as Tpe, by as Dpe, ak as Ape, aj as Mpe, bM as Lpe, bN as Epe, Y as Npe, o as Ipe, bB as kpe, bC as Ppe, bD as Rpe, br as Ope, bw as Bpe, q as zpe, bE as Vpe, bt as Fpe, bO as Gpe } from "./CoachmarkProvider-FhruFtJe.js";
6
6
  import * as Tt from "react";
7
7
  import aG, { forwardRef as Mr, useRef as ae, useImperativeHandle as oG, Children as Fh, createContext as $a, useContext as Ua, useState as le, useMemo as me, useEffect as be, useCallback as he, useLayoutEffect as zc, isValidElement as aI, Fragment as nu, memo as q_, useSyncExternalStore as Pl, useId as Cl } from "react";
8
8
  import { createPortal as Tf } from "react-dom";
9
9
  import { d as oe, g as Df, h as sG, i as fl, P as Af, u as iu, j as lG, f as Qi } from "./tooltip-CMBdJvJA.js";
10
- import { l as t0, c as oI, d as Gh, r as r0 } from "./F0VideoPlayer-CXAjfSnS.js";
11
- import { F as Wpe } from "./F0VideoPlayer-CXAjfSnS.js";
12
- import { F as Upe, p as Ype } from "./index-BP9845Kl.js";
13
- import { c as qpe } from "./pdfWorker-wHv_aPH2.js";
14
- import { D as uG, E as Hh, G as Z_, H as sI, I as lI, J as cG, K as fG, L as dG, M as hG, N as vG, F as pG } from "./F0AiProcessingOverlay-CwJG6TgU.js";
15
- import { A as jpe, C as Kpe, t as Qpe, s as Jpe, v as ege, y as tge, l as rge, i as nge, q as ige, z as age, B as oge, p as sge, r as lge, j as uge, e as cge, g as fge, k as dge, T as hge, w as vge, h as pge, a as gge, n as mge, m as yge, o as bge, b as _ge, f as xge, x as wge, c as Sge, d as Cge, u as Tge } from "./F0AiProcessingOverlay-CwJG6TgU.js";
10
+ import { l as t0, c as oI, d as Gh, r as r0 } from "./F0VideoPlayer-CxWjT4fA.js";
11
+ import { F as Wpe } from "./F0VideoPlayer-CxWjT4fA.js";
12
+ import { F as Upe, p as Ype } from "./index-DfeNTo6-.js";
13
+ import { c as qpe } from "./pdfWorker-38_nmvOc.js";
14
+ import { D as uG, E as Hh, G as Z_, H as sI, I as lI, J as cG, K as fG, L as dG, M as hG, N as vG, F as pG } from "./F0AiProcessingOverlay-ByIJjCN4.js";
15
+ import { A as jpe, C as Kpe, t as Qpe, s as Jpe, v as ege, y as tge, l as rge, i as nge, q as ige, z as age, B as oge, p as sge, r as lge, j as uge, e as cge, g as fge, k as dge, T as hge, w as vge, h as pge, a as gge, n as mge, m as yge, o as bge, b as _ge, f as xge, x as wge, c as Sge, d as Cge, u as Tge } from "./F0AiProcessingOverlay-ByIJjCN4.js";
16
16
  import { utils as Tl, write as uI } from "./xlsx-CzlURDDb.js";
17
17
  import { defaultTranslations as Age } from "./i18n-provider-defaults.js";
18
18
  import './f0.css';const gG = {
@@ -529,7 +529,7 @@ function LG() {
529
529
  const { _reactContentMap: r } = dI(), { getWidgetContainer: e } = AG();
530
530
  return /* @__PURE__ */ x(ot, { children: Array.from(r.value.entries()).map(([t, n]) => {
531
531
  const i = e(t);
532
- return i ? /* @__PURE__ */ x(MG.Provider, { value: { widget: { id: t } }, children: n && Tf(n, i) }, t) : (console.error(`Widget container not found for widget ${t}`), null);
532
+ return i ? /* @__PURE__ */ x(MG.Provider, { value: { widget: { id: t } }, children: n ? Tf(n, i) : null }, t) : (console.error(`Widget container not found for widget ${t}`), null);
533
533
  }) });
534
534
  }
535
535
  function EG(r, e, t, n, i) {
@@ -4330,16 +4330,16 @@ const VG = BG("Dashboard", pI), ade = ct(
4330
4330
  "data-drag-id": s,
4331
4331
  ...u,
4332
4332
  children: [
4333
- h && /* @__PURE__ */ B("div", { className: "absolute right-0 top-0 flex items-center justify-end gap-2 p-4", children: [
4334
- !!l && l,
4335
- d.length > 0 && /* @__PURE__ */ x(
4333
+ h ? /* @__PURE__ */ B("div", { className: "absolute right-0 top-0 flex items-center justify-end gap-2 p-4", children: [
4334
+ l || null,
4335
+ d.length > 0 ? /* @__PURE__ */ x(
4336
4336
  yf,
4337
4337
  {
4338
4338
  items: GG(f),
4339
4339
  "data-testid": "actions-dropdown"
4340
4340
  }
4341
- )
4342
- ] }),
4341
+ ) : null
4342
+ ] }) : null,
4343
4343
  /* @__PURE__ */ x("div", { "data-testid": "content", children: r })
4344
4344
  ]
4345
4345
  }
@@ -4375,7 +4375,7 @@ const WG = ({
4375
4375
  children: r
4376
4376
  }
4377
4377
  ),
4378
- e && /* @__PURE__ */ x("p", { className: "text-sm text-f1-foreground-secondary", children: e })
4378
+ e ? /* @__PURE__ */ x("p", { className: "text-sm text-f1-foreground-secondary", children: e }) : null
4379
4379
  ] }),
4380
4380
  /* @__PURE__ */ x("div", { className: "flex-1", children: n })
4381
4381
  ] });
@@ -4478,7 +4478,7 @@ const XG = Mr(function({ children: e, aside: t, header: n, variant: i = "main-as
4478
4478
  "border-t border-solid border-t-f1-border-secondary sm:border-t-0"
4479
4479
  ),
4480
4480
  children: [
4481
- n && /* @__PURE__ */ x(
4481
+ n ? /* @__PURE__ */ x(
4482
4482
  "header",
4483
4483
  {
4484
4484
  className: oe(
@@ -4486,12 +4486,12 @@ const XG = Mr(function({ children: e, aside: t, header: n, variant: i = "main-as
4486
4486
  ),
4487
4487
  children: n
4488
4488
  }
4489
- ),
4489
+ ) : null,
4490
4490
  /* @__PURE__ */ x("div", { className: "flex-1", children: e })
4491
4491
  ]
4492
4492
  }
4493
4493
  ),
4494
- t && /* @__PURE__ */ x(
4494
+ t ? /* @__PURE__ */ x(
4495
4495
  "aside",
4496
4496
  {
4497
4497
  className: oe(
@@ -4501,7 +4501,7 @@ const XG = Mr(function({ children: e, aside: t, header: n, variant: i = "main-as
4501
4501
  ),
4502
4502
  children: t
4503
4503
  }
4504
- )
4504
+ ) : null
4505
4505
  ]
4506
4506
  }
4507
4507
  ) });
@@ -53536,7 +53536,7 @@ const Loe = (r) => {
53536
53536
  className: "relative flex h-full w-full items-center justify-center overflow-hidden",
53537
53537
  children: /* @__PURE__ */ B("div", { className: "relative flex flex-col items-center gap-1 px-6 text-center", children: [
53538
53538
  /* @__PURE__ */ x("p", { className: "text-lg font-medium text-f1-foreground", children: e }),
53539
- t && /* @__PURE__ */ x("p", { className: "text-md max-w-sm text-f1-foreground-secondary", children: t })
53539
+ t ? /* @__PURE__ */ x("p", { className: "text-md max-w-sm text-f1-foreground-secondary", children: t }) : null
53540
53540
  ] })
53541
53541
  }
53542
53542
  );
@@ -53716,7 +53716,7 @@ const Poe = (r) => {
53716
53716
  Ka(u, r.onPointClick), xu(u, r.onLegendSelectionChange);
53717
53717
  const c = koe(e.data ?? [], t), f = c[0]?.value ?? 0, d = n === "horizontal";
53718
53718
  return /* @__PURE__ */ B("div", { className: "relative h-full w-full", children: [
53719
- a && /* @__PURE__ */ x(
53719
+ a ? /* @__PURE__ */ x(
53720
53720
  "div",
53721
53721
  {
53722
53722
  className: `pointer-events-none absolute inset-0 z-10 flex ${d ? "" : "flex-col"}`,
@@ -53748,7 +53748,7 @@ const Poe = (r) => {
53748
53748
  children: v
53749
53749
  }
53750
53750
  ),
53751
- p && /* @__PURE__ */ x(jy, { tag: { type: "raw", text: p } })
53751
+ p ? /* @__PURE__ */ x(jy, { tag: { type: "raw", text: p } }) : null
53752
53752
  ] }) : /* @__PURE__ */ B(ot, { children: [
53753
53753
  /* @__PURE__ */ x(
53754
53754
  bl,
@@ -53758,7 +53758,7 @@ const Poe = (r) => {
53758
53758
  children: v
53759
53759
  }
53760
53760
  ),
53761
- p && /* @__PURE__ */ x(jy, { tag: { type: "raw", text: p } })
53761
+ p ? /* @__PURE__ */ x(jy, { tag: { type: "raw", text: p } }) : null
53762
53762
  ] })
53763
53763
  ]
53764
53764
  }
@@ -53768,7 +53768,7 @@ const Poe = (r) => {
53768
53768
  );
53769
53769
  })
53770
53770
  }
53771
- ),
53771
+ ) : null,
53772
53772
  /* @__PURE__ */ x("div", { ref: s, className: "h-full w-full" })
53773
53773
  ] });
53774
53774
  };
@@ -54069,7 +54069,7 @@ const Hoe = (r) => {
54069
54069
  className: "h-full w-full data-[axis-hover=true]:[&_canvas]:!cursor-default"
54070
54070
  }
54071
54071
  ),
54072
- i === "sm" && /* @__PURE__ */ x("div", { className: "absolute inset-0 flex items-center justify-center bg-f1-background p-3 text-center text-sm font-medium text-f1-foreground-tertiary", children: e.dataChart.heatmapNotSupported })
54072
+ i === "sm" ? /* @__PURE__ */ x("div", { className: "absolute inset-0 flex items-center justify-center bg-f1-background p-3 text-center text-sm font-medium text-f1-foreground-tertiary", children: e.dataChart.heatmapNotSupported }) : null
54073
54073
  ] });
54074
54074
  };
54075
54075
  function Fz(r) {
@@ -54752,7 +54752,7 @@ function Pc({
54752
54752
  /* @__PURE__ */ x(ie, { className: "h-2.5 w-5 rounded-sm" }),
54753
54753
  /* @__PURE__ */ x(ie, { className: "h-2.5 w-7 rounded-sm" })
54754
54754
  ] }),
54755
- e && /* @__PURE__ */ B("div", { className: "flex items-center justify-center gap-4 pt-3", children: [
54755
+ e ? /* @__PURE__ */ B("div", { className: "flex items-center justify-center gap-4 pt-3", children: [
54756
54756
  /* @__PURE__ */ B("div", { className: "flex items-center gap-1.5", children: [
54757
54757
  /* @__PURE__ */ x(ie, { className: "size-2.5 rounded-full" }),
54758
54758
  /* @__PURE__ */ x(ie, { className: "h-2.5 w-10 rounded-sm" })
@@ -54761,7 +54761,7 @@ function Pc({
54761
54761
  /* @__PURE__ */ x(ie, { className: "size-2.5 rounded-full" }),
54762
54762
  /* @__PURE__ */ x(ie, { className: "h-2.5 w-12 rounded-sm" })
54763
54763
  ] })
54764
- ] })
54764
+ ] }) : null
54765
54765
  ] }) : /* @__PURE__ */ B("div", { className: "flex h-full animate-pulse flex-col px-4 py-3", children: [
54766
54766
  /* @__PURE__ */ B("div", { className: "flex min-h-0 flex-1 gap-2", children: [
54767
54767
  /* @__PURE__ */ B("div", { className: "flex flex-col justify-between py-1", children: [
@@ -54780,7 +54780,7 @@ function Pc({
54780
54780
  /* @__PURE__ */ x(ie, { className: "h-2.5 w-6 rounded-sm" }),
54781
54781
  /* @__PURE__ */ x(ie, { className: "h-2.5 w-5 rounded-sm" })
54782
54782
  ] }),
54783
- e && /* @__PURE__ */ B("div", { className: "flex items-center justify-center gap-4 pt-3", children: [
54783
+ e ? /* @__PURE__ */ B("div", { className: "flex items-center justify-center gap-4 pt-3", children: [
54784
54784
  /* @__PURE__ */ B("div", { className: "flex items-center gap-1.5", children: [
54785
54785
  /* @__PURE__ */ x(ie, { className: "size-2.5 rounded-full" }),
54786
54786
  /* @__PURE__ */ x(ie, { className: "h-2.5 w-10 rounded-sm" })
@@ -54789,7 +54789,7 @@ function Pc({
54789
54789
  /* @__PURE__ */ x(ie, { className: "size-2.5 rounded-full" }),
54790
54790
  /* @__PURE__ */ x(ie, { className: "h-2.5 w-12 rounded-sm" })
54791
54791
  ] })
54792
- ] })
54792
+ ] }) : null
54793
54793
  ] });
54794
54794
  }
54795
54795
  function dse({
@@ -54890,7 +54890,7 @@ function pse({
54890
54890
  preserveAspectRatio: "none",
54891
54891
  className: "h-full w-full",
54892
54892
  children: [
54893
- e && /* @__PURE__ */ x("defs", { children: /* @__PURE__ */ B("linearGradient", { id: o, x1: "0", y1: "0", x2: "0", y2: "1", children: [
54893
+ e ? /* @__PURE__ */ x("defs", { children: /* @__PURE__ */ B("linearGradient", { id: o, x1: "0", y1: "0", x2: "0", y2: "1", children: [
54894
54894
  /* @__PURE__ */ x(
54895
54895
  "stop",
54896
54896
  {
@@ -54901,8 +54901,8 @@ function pse({
54901
54901
  }
54902
54902
  ),
54903
54903
  /* @__PURE__ */ x("stop", { offset: "100%", stopColor: "currentColor", stopOpacity: "0" })
54904
- ] }) }),
54905
- e && /* @__PURE__ */ x("path", { d: a, fill: `url(#${o})` }),
54904
+ ] }) }) : null,
54905
+ e ? /* @__PURE__ */ x("path", { d: a, fill: `url(#${o})` }) : null,
54906
54906
  /* @__PURE__ */ x(
54907
54907
  "path",
54908
54908
  {
@@ -54918,7 +54918,7 @@ function pse({
54918
54918
  ]
54919
54919
  }
54920
54920
  ),
54921
- t && vse.map(([s, l]) => /* @__PURE__ */ x(
54921
+ t ? vse.map(([s, l]) => /* @__PURE__ */ x(
54922
54922
  ie,
54923
54923
  {
54924
54924
  className: "absolute size-2 rounded-full",
@@ -54929,7 +54929,7 @@ function pse({
54929
54929
  }
54930
54930
  },
54931
54931
  `${s}-${l}`
54932
- ))
54932
+ )) : null
54933
54933
  ] }) });
54934
54934
  }
54935
54935
  const gse = [
@@ -55010,10 +55010,10 @@ function yse({
55010
55010
  },
55011
55011
  u
55012
55012
  )) }),
55013
- t && /* @__PURE__ */ x("div", { className: "flex items-center justify-center gap-4 pt-1.5", children: /* @__PURE__ */ B("div", { className: "flex items-center gap-1.5", children: [
55013
+ t ? /* @__PURE__ */ x("div", { className: "flex items-center justify-center gap-4 pt-1.5", children: /* @__PURE__ */ B("div", { className: "flex items-center gap-1.5", children: [
55014
55014
  /* @__PURE__ */ x(ie, { className: "size-2.5 rounded-full" }),
55015
55015
  /* @__PURE__ */ x(ie, { className: "h-2.5 w-14 rounded-sm" })
55016
- ] }) })
55016
+ ] }) }) : null
55017
55017
  ] });
55018
55018
  }
55019
55019
  const i = 3, a = (100 - i * (n.length - 1)) / n.length;
@@ -55047,10 +55047,10 @@ function yse({
55047
55047
  className: `h-2.5 flex-shrink-0 rounded-sm ${o.label}`
55048
55048
  }
55049
55049
  ) }, s)) }),
55050
- t && /* @__PURE__ */ x("div", { className: "flex items-center justify-center gap-4 pt-1.5", children: /* @__PURE__ */ B("div", { className: "flex items-center gap-1.5", children: [
55050
+ t ? /* @__PURE__ */ x("div", { className: "flex items-center justify-center gap-4 pt-1.5", children: /* @__PURE__ */ B("div", { className: "flex items-center gap-1.5", children: [
55051
55051
  /* @__PURE__ */ x(ie, { className: "size-2.5 rounded-full" }),
55052
55052
  /* @__PURE__ */ x(ie, { className: "h-2.5 w-14 rounded-sm" })
55053
- ] }) })
55053
+ ] }) }) : null
55054
55054
  ] });
55055
55055
  }
55056
55056
  function bse({
@@ -55122,11 +55122,11 @@ function bse({
55122
55122
  className: "text-f1-background"
55123
55123
  }
55124
55124
  ),
55125
- n > 0 && /* @__PURE__ */ x("circle", { cx: "50", cy: "50", r: n, className: "fill-f1-background" })
55125
+ n > 0 ? /* @__PURE__ */ x("circle", { cx: "50", cy: "50", r: n, className: "fill-f1-background" }) : null
55126
55126
  ]
55127
55127
  }
55128
55128
  ) }),
55129
- r && /* @__PURE__ */ B("div", { className: "flex items-center justify-center gap-4 pt-3", children: [
55129
+ r ? /* @__PURE__ */ B("div", { className: "flex items-center justify-center gap-4 pt-3", children: [
55130
55130
  /* @__PURE__ */ B("div", { className: "flex items-center gap-1.5", children: [
55131
55131
  /* @__PURE__ */ x(ie, { className: "size-2.5 rounded-full" }),
55132
55132
  /* @__PURE__ */ x(ie, { className: "h-2.5 w-10 rounded-sm" })
@@ -55139,7 +55139,7 @@ function bse({
55139
55139
  /* @__PURE__ */ x(ie, { className: "size-2.5 rounded-full" }),
55140
55140
  /* @__PURE__ */ x(ie, { className: "h-2.5 w-8 rounded-sm" })
55141
55141
  ] })
55142
- ] })
55142
+ ] }) : null
55143
55143
  ] });
55144
55144
  }
55145
55145
  function _se({
@@ -55201,7 +55201,7 @@ function _se({
55201
55201
  ]
55202
55202
  }
55203
55203
  ) }),
55204
- r && /* @__PURE__ */ B("div", { className: "flex items-center justify-center gap-4 pt-3", children: [
55204
+ r ? /* @__PURE__ */ B("div", { className: "flex items-center justify-center gap-4 pt-3", children: [
55205
55205
  /* @__PURE__ */ B("div", { className: "flex items-center gap-1.5", children: [
55206
55206
  /* @__PURE__ */ x(ie, { className: "size-2.5 rounded-full" }),
55207
55207
  /* @__PURE__ */ x(ie, { className: "h-2.5 w-10 rounded-sm" })
@@ -55210,7 +55210,7 @@ function _se({
55210
55210
  /* @__PURE__ */ x(ie, { className: "size-2.5 rounded-full" }),
55211
55211
  /* @__PURE__ */ x(ie, { className: "h-2.5 w-12 rounded-sm" })
55212
55212
  ] })
55213
- ] })
55213
+ ] }) : null
55214
55214
  ] });
55215
55215
  }
55216
55216
  function xse() {
@@ -55340,10 +55340,10 @@ const Sse = rr(
55340
55340
  return (l - s) / s * 100;
55341
55341
  }, [l, s, i.show]);
55342
55342
  return /* @__PURE__ */ B("div", { className: "flex flex-col gap-2", children: [
55343
- r && /* @__PURE__ */ x("div", { children: r }),
55343
+ r ? /* @__PURE__ */ x("div", { children: r }) : null,
55344
55344
  /* @__PURE__ */ B("div", { className: "flex flex-row flex-wrap items-center gap-2", children: [
55345
55345
  /* @__PURE__ */ x("span", { className: "font-bold text-2xl", children: o }),
55346
- s !== void 0 && /* @__PURE__ */ x(
55346
+ s !== void 0 ? /* @__PURE__ */ x(
55347
55347
  cF,
55348
55348
  {
55349
55349
  percentage: u,
@@ -55351,7 +55351,7 @@ const Sse = rr(
55351
55351
  invertStatus: i.invertStatus,
55352
55352
  hint: e.comparisonHint
55353
55353
  }
55354
- )
55354
+ ) : null
55355
55355
  ] })
55356
55356
  ] });
55357
55357
  }, Tse = () => /* @__PURE__ */ B("div", { className: "relative flex h-full w-full cursor-progress flex-col gap-2", children: [
@@ -55861,7 +55861,7 @@ const rV = Hse, nV = Wse, Yse = $se, iV = Use, aV = (r) => Object.fromEntries(
55861
55861
  ]
55862
55862
  }
55863
55863
  ),
55864
- !h && /* @__PURE__ */ x(
55864
+ h ? null : /* @__PURE__ */ x(
55865
55865
  "span",
55866
55866
  {
55867
55867
  "aria-hidden": !0,
@@ -55964,7 +55964,7 @@ function sV({
55964
55964
  t(u.locale), a(!1);
55965
55965
  },
55966
55966
  children: [
55967
- c && /* @__PURE__ */ x("span", { className: "absolute left-2.5 inline-flex items-center", children: /* @__PURE__ */ x($r, {}) }),
55967
+ c ? /* @__PURE__ */ x("span", { className: "absolute left-2.5 inline-flex items-center", children: /* @__PURE__ */ x($r, {}) }) : null,
55968
55968
  t0(u)
55969
55969
  ]
55970
55970
  },
@@ -56198,7 +56198,7 @@ const dV = (r) => {
56198
56198
  size: s
56199
56199
  }
56200
56200
  ),
56201
- f.languages.length > 1 && f.activeLocale && /* @__PURE__ */ x(
56201
+ f.languages.length > 1 && f.activeLocale ? /* @__PURE__ */ x(
56202
56202
  sV,
56203
56203
  {
56204
56204
  value: f.activeLocale,
@@ -56206,7 +56206,7 @@ const dV = (r) => {
56206
56206
  onChange: v,
56207
56207
  kind: c.audioPlayer.audio
56208
56208
  }
56209
- )
56209
+ ) : null
56210
56210
  ]
56211
56211
  }
56212
56212
  );
@@ -56242,7 +56242,7 @@ const Kse = ({
56242
56242
  align: "end",
56243
56243
  className: "flex min-w-44 flex-col gap-0.5",
56244
56244
  children: [
56245
- u && /* @__PURE__ */ B(ot, { children: [
56245
+ u ? /* @__PURE__ */ B(ot, { children: [
56246
56246
  /* @__PURE__ */ x(Ky, { className: "text-f1-foreground-secondary", children: l.audioPlayer.playbackSpeed }),
56247
56247
  e.map((f) => {
56248
56248
  const d = f === r;
@@ -56259,15 +56259,15 @@ const Kse = ({
56259
56259
  f,
56260
56260
  "x"
56261
56261
  ] }),
56262
- d && /* @__PURE__ */ x("span", { className: "relative flex text-f1-icon-selected", children: /* @__PURE__ */ x(it, { icon: Nl, size: "md" }) })
56262
+ d ? /* @__PURE__ */ x("span", { className: "relative flex text-f1-icon-selected", children: /* @__PURE__ */ x(it, { icon: Nl, size: "md" }) }) : null
56263
56263
  ]
56264
56264
  },
56265
56265
  f
56266
56266
  );
56267
56267
  })
56268
- ] }),
56269
- c && /* @__PURE__ */ B(ot, { children: [
56270
- u && /* @__PURE__ */ x(Ra, {}),
56268
+ ] }) : null,
56269
+ c ? /* @__PURE__ */ B(ot, { children: [
56270
+ u ? /* @__PURE__ */ x(Ra, {}) : null,
56271
56271
  /* @__PURE__ */ x(Ky, { className: "text-f1-foreground-secondary", children: l.audioPlayer.audio }),
56272
56272
  a.map((f) => {
56273
56273
  const d = f.locale === o;
@@ -56281,15 +56281,15 @@ const Kse = ({
56281
56281
  ),
56282
56282
  children: [
56283
56283
  /* @__PURE__ */ x("span", { className: "relative", children: t0(f) }),
56284
- d && /* @__PURE__ */ x("span", { className: "relative flex text-f1-icon-selected", children: /* @__PURE__ */ x(it, { icon: Nl, size: "md" }) })
56284
+ d ? /* @__PURE__ */ x("span", { className: "relative flex text-f1-icon-selected", children: /* @__PURE__ */ x(it, { icon: Nl, size: "md" }) }) : null
56285
56285
  ]
56286
56286
  },
56287
56287
  f.locale
56288
56288
  );
56289
56289
  })
56290
- ] }),
56291
- i.length > 0 && /* @__PURE__ */ B(ot, { children: [
56292
- (u || c) && /* @__PURE__ */ x(Ra, {}),
56290
+ ] }) : null,
56291
+ i.length > 0 ? /* @__PURE__ */ B(ot, { children: [
56292
+ u || c ? /* @__PURE__ */ x(Ra, {}) : null,
56293
56293
  i.map((f) => /* @__PURE__ */ B(
56294
56294
  Ct,
56295
56295
  {
@@ -56299,7 +56299,7 @@ const Kse = ({
56299
56299
  f.critical ? "text-f1-foreground-critical" : "text-f1-foreground"
56300
56300
  ),
56301
56301
  children: [
56302
- f.icon && /* @__PURE__ */ x(
56302
+ f.icon ? /* @__PURE__ */ x(
56303
56303
  "span",
56304
56304
  {
56305
56305
  className: oe(
@@ -56308,13 +56308,13 @@ const Kse = ({
56308
56308
  ),
56309
56309
  children: /* @__PURE__ */ x(it, { icon: f.icon, size: "md" })
56310
56310
  }
56311
- ),
56311
+ ) : null,
56312
56312
  /* @__PURE__ */ x("span", { className: "relative", children: f.label })
56313
56313
  ]
56314
56314
  },
56315
56315
  f.label
56316
56316
  ))
56317
- ] })
56317
+ ] }) : null
56318
56318
  ]
56319
56319
  }
56320
56320
  )
@@ -56364,7 +56364,7 @@ const Kl = ct(vV), XE = (r) => oe(
56364
56364
  }) {
56365
56365
  const a = Ge();
56366
56366
  return /* @__PURE__ */ B(ot, { children: [
56367
- n && /* @__PURE__ */ x("p", { className: "sr-only", children: a.audioPlayer.transcriptHint }),
56367
+ n ? /* @__PURE__ */ x("p", { className: "sr-only", children: a.audioPlayer.transcriptHint }) : null,
56368
56368
  /* @__PURE__ */ x("ol", { className: "flex list-none flex-col gap-1 p-0", children: e.map((o, s) => /* @__PURE__ */ x(
56369
56369
  Qse,
56370
56370
  {
@@ -56596,11 +56596,11 @@ const Kl = ct(vV), XE = (r) => oe(
56596
56596
  ),
56597
56597
  /* @__PURE__ */ B("div", { className: "flex min-w-0 flex-col", children: [
56598
56598
  /* @__PURE__ */ x("span", { className: "truncate text-base font-medium text-f1-foreground", children: t }),
56599
- n && /* @__PURE__ */ x("span", { className: "truncate text-base text-f1-foreground-secondary", children: n })
56599
+ n ? /* @__PURE__ */ x("span", { className: "truncate text-base text-f1-foreground-secondary", children: n }) : null
56600
56600
  ] })
56601
56601
  ] }),
56602
- (U || S.playbackRates.length > 0 || _.languages.length > 1 || i) && /* @__PURE__ */ B("div", { className: "flex shrink-0 items-center gap-2", children: [
56603
- U && /* @__PURE__ */ x(
56602
+ U || S.playbackRates.length > 0 || _.languages.length > 1 || i ? /* @__PURE__ */ B("div", { className: "flex shrink-0 items-center gap-2", children: [
56603
+ U ? /* @__PURE__ */ x(
56604
56604
  at,
56605
56605
  {
56606
56606
  variant: "outline",
@@ -56609,8 +56609,8 @@ const Kl = ct(vV), XE = (r) => oe(
56609
56609
  onClick: () => we(!fe),
56610
56610
  "aria-expanded": fe
56611
56611
  }
56612
- ),
56613
- (S.playbackRates.length > 0 || _.languages.length > 1 || i) && /* @__PURE__ */ x(
56612
+ ) : null,
56613
+ S.playbackRates.length > 0 || _.languages.length > 1 || i ? /* @__PURE__ */ x(
56614
56614
  Kse,
56615
56615
  {
56616
56616
  playbackRate: S.playbackRate,
@@ -56622,8 +56622,8 @@ const Kl = ct(vV), XE = (r) => oe(
56622
56622
  audioLanguage: _.activeLocale,
56623
56623
  onAudioLanguageChange: T
56624
56624
  }
56625
- )
56626
- ] })
56625
+ ) : null
56626
+ ] }) : null
56627
56627
  ] }),
56628
56628
  /* @__PURE__ */ B("div", { className: "flex w-full items-center gap-2", children: [
56629
56629
  /* @__PURE__ */ x(
@@ -56645,7 +56645,7 @@ const Kl = ct(vV), XE = (r) => oe(
56645
56645
  }
56646
56646
  )
56647
56647
  ] }),
56648
- U && /* @__PURE__ */ B(
56648
+ U ? /* @__PURE__ */ B(
56649
56649
  Nn.div,
56650
56650
  {
56651
56651
  role: "region",
@@ -56663,7 +56663,7 @@ const Kl = ct(vV), XE = (r) => oe(
56663
56663
  },
56664
56664
  className: "overflow-hidden",
56665
56665
  children: [
56666
- A.length > 1 && L && /* @__PURE__ */ x("div", { className: "flex justify-end pb-2.5", children: /* @__PURE__ */ x(
56666
+ A.length > 1 && L ? /* @__PURE__ */ x("div", { className: "flex justify-end pb-2.5", children: /* @__PURE__ */ x(
56667
56667
  sV,
56668
56668
  {
56669
56669
  value: L,
@@ -56671,8 +56671,8 @@ const Kl = ct(vV), XE = (r) => oe(
56671
56671
  onChange: E,
56672
56672
  kind: b.audioPlayer.language
56673
56673
  }
56674
- ) }),
56675
- !te && /* @__PURE__ */ x(
56674
+ ) }) : null,
56675
+ te ? null : /* @__PURE__ */ x(
56676
56676
  QN,
56677
56677
  {
56678
56678
  fullWidth: !0,
@@ -56698,7 +56698,7 @@ const Kl = ct(vV), XE = (r) => oe(
56698
56698
  ) })
56699
56699
  ]
56700
56700
  }
56701
- )
56701
+ ) : null
56702
56702
  ]
56703
56703
  }
56704
56704
  );
@@ -56768,7 +56768,7 @@ const pde = ["sm", "md"], gde = rr(
56768
56768
  }
56769
56769
  ) }),
56770
56770
  /* @__PURE__ */ B("div", { className: "flex items-center gap-2 py-3 pl-2 pr-4", children: [
56771
- o && /* @__PURE__ */ x(ale, { actions: r.actions }),
56771
+ o ? /* @__PURE__ */ x(ale, { actions: r.actions }) : null,
56772
56772
  /* @__PURE__ */ x(Hw, { asChild: !0, children: /* @__PURE__ */ x(
56773
56773
  at,
56774
56774
  {
@@ -56781,7 +56781,7 @@ const pde = ["sm", "md"], gde = rr(
56781
56781
  ) })
56782
56782
  ] })
56783
56783
  ] }),
56784
- /* @__PURE__ */ x(Rc, { initial: !1, children: e && /* @__PURE__ */ x(
56784
+ /* @__PURE__ */ x(Rc, { initial: !1, children: e ? /* @__PURE__ */ x(
56785
56785
  Nn.div,
56786
56786
  {
56787
56787
  initial: { height: 0, opacity: 0 },
@@ -56791,7 +56791,7 @@ const pde = ["sm", "md"], gde = rr(
56791
56791
  className: "overflow-hidden",
56792
56792
  children: /* @__PURE__ */ x(yF, { forceMount: !0, asChild: !0, children: /* @__PURE__ */ x("div", { className: "px-4 pb-4 text-f1-foreground-secondary", children: r.description }) })
56793
56793
  }
56794
- ) })
56794
+ ) : null })
56795
56795
  ] }) });
56796
56796
  }, sle = ({
56797
56797
  items: r = 4
@@ -56805,7 +56805,7 @@ const pde = ["sm", "md"], gde = rr(
56805
56805
  "overflow-hidden bg-f1-background"
56806
56806
  ),
56807
56807
  children: Array.from({ length: r }).map((e, t) => /* @__PURE__ */ B(nu, { children: [
56808
- t > 0 && /* @__PURE__ */ x("div", { className: "h-px w-full bg-f1-border-secondary" }),
56808
+ t > 0 ? /* @__PURE__ */ x("div", { className: "h-px w-full bg-f1-border-secondary" }) : null,
56809
56809
  /* @__PURE__ */ B("div", { className: "flex items-center gap-3 px-4 py-3", children: [
56810
56810
  /* @__PURE__ */ x(ie, { className: "h-4 flex-1 max-w-48" }),
56811
56811
  /* @__PURE__ */ x(ie, { className: "ml-auto h-7 w-7 shrink-0 rounded" })
@@ -56832,7 +56832,7 @@ const pde = ["sm", "md"], gde = rr(
56832
56832
  "overflow-hidden bg-f1-background"
56833
56833
  ),
56834
56834
  children: t.map((f, d) => /* @__PURE__ */ B(nu, { children: [
56835
- d > 0 && /* @__PURE__ */ x("div", { className: "h-px w-full bg-f1-border-secondary" }),
56835
+ d > 0 ? /* @__PURE__ */ x("div", { className: "h-px w-full bg-f1-border-secondary" }) : null,
56836
56836
  /* @__PURE__ */ x(
56837
56837
  ole,
56838
56838
  {
@@ -56916,13 +56916,13 @@ const mV = ({
56916
56916
  const i = r.slice(0, e), a = r.slice(e), o = t ?? r.length - e, s = o > 0;
56917
56917
  return /* @__PURE__ */ B("div", { className: "flex items-center gap-2", children: [
56918
56918
  i.map((l, u) => /* @__PURE__ */ x(zh, { ...l }, u)),
56919
- s && /* @__PURE__ */ x(
56919
+ s ? /* @__PURE__ */ x(
56920
56920
  T_,
56921
56921
  {
56922
56922
  count: o,
56923
56923
  list: t ? void 0 : a
56924
56924
  }
56925
- )
56925
+ ) : null
56926
56926
  ] });
56927
56927
  };
56928
56928
  mV.displayName = "F0ChipList";
@@ -57278,7 +57278,7 @@ const Dde = _V, cle = ({
57278
57278
  cancel: t.actions.cancel
57279
57279
  });
57280
57280
  }, [t]), /* @__PURE__ */ B(ot, { children: [
57281
- o && typeof document < "u" && Tf(/* @__PURE__ */ x(hle, { items: e }), document.body),
57281
+ o && typeof document < "u" ? Tf(/* @__PURE__ */ x(hle, { items: e }), document.body) : null,
57282
57282
  r
57283
57283
  ] });
57284
57284
  }, ple = 200, gle = ({
@@ -57299,7 +57299,7 @@ const Dde = _V, cle = ({
57299
57299
  () => null
57300
57300
  );
57301
57301
  return /* @__PURE__ */ B(ot, { children: [
57302
- t !== null && t === i && typeof document < "u" && Tf(/* @__PURE__ */ x(mle, { items: e }), document.body),
57302
+ t !== null && t === i && typeof document < "u" ? Tf(/* @__PURE__ */ x(mle, { items: e }), document.body) : null,
57303
57303
  r
57304
57304
  ] });
57305
57305
  }, mle = ({ items: r }) => {
@@ -58189,17 +58189,17 @@ function yr({
58189
58189
  isValidating: !!s
58190
58190
  }, m = i ? { type: "error", message: a } : o, y = u !== void 0 ? { ...r, disabled: u } : r, b = r.type === "file" ? f : void 0;
58191
58191
  return /* @__PURE__ */ B("div", { className: "space-y-2", id: d, children: [
58192
- v && /* @__PURE__ */ B(
58192
+ v ? /* @__PURE__ */ B(
58193
58193
  "label",
58194
58194
  {
58195
58195
  htmlFor: r.id,
58196
58196
  className: "text-base font-medium leading-normal text-f1-foreground-secondary",
58197
58197
  children: [
58198
58198
  r.label,
58199
- h && /* @__PURE__ */ x("span", { className: "ml-0.5 text-f1-foreground-critical", children: "*" })
58199
+ h ? /* @__PURE__ */ x("span", { className: "ml-0.5 text-f1-foreground-critical", children: "*" }) : null
58200
58200
  ]
58201
58201
  }
58202
- ),
58202
+ ) : null,
58203
58203
  G5({
58204
58204
  field: y,
58205
58205
  formField: p,
@@ -58210,7 +58210,7 @@ function yr({
58210
58210
  initialFiles: b,
58211
58211
  fieldStatus: m
58212
58212
  }),
58213
- r.helpText && /* @__PURE__ */ x("p", { className: "text-base text-f1-foreground-secondary", children: r.helpText }),
58213
+ r.helpText ? /* @__PURE__ */ x("p", { className: "text-base text-f1-foreground-secondary", children: r.helpText }) : null,
58214
58214
  /* @__PURE__ */ x(kN, { status: m })
58215
58215
  ] });
58216
58216
  }
@@ -58299,7 +58299,7 @@ const Ede = ct(DV), Vle = ({
58299
58299
  style: t
58300
58300
  }) => {
58301
58301
  const i = up() ? 0 : 0.15;
58302
- return /* @__PURE__ */ x(Rc, { children: r && /* @__PURE__ */ x(
58302
+ return /* @__PURE__ */ x(Rc, { children: r ? /* @__PURE__ */ x(
58303
58303
  Nn.div,
58304
58304
  {
58305
58305
  initial: { opacity: 0, x: "-50%", y: 2 },
@@ -58316,7 +58316,7 @@ const Ede = ct(DV), Vle = ({
58316
58316
  role: "tooltip",
58317
58317
  children: e
58318
58318
  }
58319
- ) });
58319
+ ) : null });
58320
58320
  }, Gle = gn({
58321
58321
  base: "relative h-1.5 grow overflow-hidden rounded-full bg-f1-background-tertiary",
58322
58322
  variants: {
@@ -58418,7 +58418,7 @@ const Ede = ct(DV), Vle = ({
58418
58418
  J.current = !1;
58419
58419
  },
58420
58420
  children: [
58421
- ve && /* @__PURE__ */ x(
58421
+ ve ? /* @__PURE__ */ x(
58422
58422
  TF,
58423
58423
  {
58424
58424
  label: t,
@@ -58427,7 +58427,7 @@ const Ede = ct(DV), Vle = ({
58427
58427
  id: C,
58428
58428
  disabled: l
58429
58429
  }
58430
- ),
58430
+ ) : null,
58431
58431
  /* @__PURE__ */ B(
58432
58432
  rV,
58433
58433
  {
@@ -58472,14 +58472,14 @@ const Ede = ct(DV), Vle = ({
58472
58472
  onBlur: () => F(!1)
58473
58473
  }
58474
58474
  ),
58475
- _ !== "never" && /* @__PURE__ */ x(
58475
+ _ !== "never" ? /* @__PURE__ */ x(
58476
58476
  Fle,
58477
58477
  {
58478
58478
  visible: q,
58479
58479
  content: b(E),
58480
58480
  style: { left: `calc(${I}% + ${P}px)` }
58481
58481
  }
58482
- )
58482
+ ) : null
58483
58483
  ]
58484
58484
  }
58485
58485
  ),
@@ -58499,7 +58499,7 @@ const $le = ({ hideLabel: r = !1 }) => /* @__PURE__ */ B(
58499
58499
  "aria-busy": "true",
58500
58500
  "aria-live": "polite",
58501
58501
  children: [
58502
- !r && /* @__PURE__ */ x(ie, { className: "h-4 w-24 rounded-md" }),
58502
+ r ? null : /* @__PURE__ */ x(ie, { className: "h-4 w-24 rounded-md" }),
58503
58503
  /* @__PURE__ */ x("div", { className: "flex items-center py-2", children: /* @__PURE__ */ x(ie, { className: "h-1.5 w-full rounded-full" }) })
58504
58504
  ]
58505
58505
  }
@@ -58523,13 +58523,13 @@ const $le = ({ hideLabel: r = !1 }) => /* @__PURE__ */ B(
58523
58523
  showOpenChange: !0
58524
58524
  }
58525
58525
  ),
58526
- i !== void 0 && /* @__PURE__ */ x(
58526
+ i !== void 0 ? /* @__PURE__ */ x(
58527
58527
  PN,
58528
58528
  {
58529
58529
  text: `${i}/${n}`,
58530
58530
  variant: e === "completed" ? "positive" : "warning"
58531
58531
  }
58532
- )
58532
+ ) : null
58533
58533
  ] })
58534
58534
  ] });
58535
58535
  }, MV = ({
@@ -58539,7 +58539,7 @@ const $le = ({ hideLabel: r = !1 }) => /* @__PURE__ */ B(
58539
58539
  }) => {
58540
58540
  const n = e && e.length > 0, i = t && t.length > 0;
58541
58541
  return /* @__PURE__ */ B("div", { className: "flex flex-col gap-2 xs:flex-row xs:items-center [&>*]:w-full [&>*]:xs:w-auto", children: [
58542
- i && /* @__PURE__ */ x(yf, { items: t, size: "md" }),
58542
+ i ? /* @__PURE__ */ x(yf, { items: t, size: "md" }) : null,
58543
58543
  e?.map((a, o) => /* @__PURE__ */ x(
58544
58544
  at,
58545
58545
  {
@@ -58553,8 +58553,8 @@ const $le = ({ hideLabel: r = !1 }) => /* @__PURE__ */ B(
58553
58553
  },
58554
58554
  `${a.label}-${o}`
58555
58555
  )),
58556
- r && (i || n) && /* @__PURE__ */ x("div", { className: "mx-1 hidden h-4 w-px bg-f1-background-secondary-hover xs:block" }),
58557
- r && /* @__PURE__ */ x(
58556
+ r && (i || n) ? /* @__PURE__ */ x("div", { className: "mx-1 hidden h-4 w-px bg-f1-background-secondary-hover xs:block" }) : null,
58557
+ r ? /* @__PURE__ */ x(
58558
58558
  at,
58559
58559
  {
58560
58560
  label: r.label,
@@ -58565,7 +58565,7 @@ const $le = ({ hideLabel: r = !1 }) => /* @__PURE__ */ B(
58565
58565
  disabled: r.disabled,
58566
58566
  loading: r.loading
58567
58567
  }
58568
- )
58568
+ ) : null
58569
58569
  ] });
58570
58570
  }, Yle = ({
58571
58571
  props: r,
@@ -58609,7 +58609,7 @@ const $le = ({ hideLabel: r = !1 }) => /* @__PURE__ */ B(
58609
58609
  children: i
58610
58610
  }
58611
58611
  ),
58612
- a && /* @__PURE__ */ x(Kl, { content: a, variant: "description", as: "span" }),
58612
+ a ? /* @__PURE__ */ x(Kl, { content: a, variant: "description", as: "span" }) : null,
58613
58613
  /* @__PURE__ */ x(
58614
58614
  it,
58615
58615
  {
@@ -58631,9 +58631,9 @@ const $le = ({ hideLabel: r = !1 }) => /* @__PURE__ */ B(
58631
58631
  children: i
58632
58632
  }
58633
58633
  ),
58634
- a && /* @__PURE__ */ x(Kl, { content: a, variant: "description", as: "span" })
58634
+ a ? /* @__PURE__ */ x(Kl, { content: a, variant: "description", as: "span" }) : null
58635
58635
  ] }),
58636
- s !== void 0 && o !== void 0 && /* @__PURE__ */ B(
58636
+ s !== void 0 && o !== void 0 ? /* @__PURE__ */ B(
58637
58637
  "div",
58638
58638
  {
58639
58639
  className: "flex items-center gap-2",
@@ -58654,7 +58654,7 @@ const $le = ({ hideLabel: r = !1 }) => /* @__PURE__ */ B(
58654
58654
  ] })
58655
58655
  ]
58656
58656
  }
58657
- )
58657
+ ) : null
58658
58658
  ] })
58659
58659
  ] });
58660
58660
  }, Xle = ({ status: r }) => /* @__PURE__ */ x(
@@ -58678,7 +58678,7 @@ const $le = ({ hideLabel: r = !1 }) => /* @__PURE__ */ B(
58678
58678
  hideStatus: t,
58679
58679
  children: n
58680
58680
  }) => /* @__PURE__ */ B("div", { className: "flex gap-4", children: [
58681
- !t && /* @__PURE__ */ B("div", { className: "flex flex-col items-center", children: [
58681
+ t ? null : /* @__PURE__ */ B("div", { className: "flex flex-col items-center", children: [
58682
58682
  /* @__PURE__ */ x(
58683
58683
  "div",
58684
58684
  {
@@ -58687,7 +58687,7 @@ const $le = ({ hideLabel: r = !1 }) => /* @__PURE__ */ B(
58687
58687
  children: qle[r]
58688
58688
  }
58689
58689
  ),
58690
- !e && /* @__PURE__ */ x(Xle, { status: r })
58690
+ e ? null : /* @__PURE__ */ x(Xle, { status: r })
58691
58691
  ] }),
58692
58692
  /* @__PURE__ */ x("div", { className: "flex flex-1 flex-col gap-3 pb-5", children: n })
58693
58693
  ] }), Zle = ({ props: r }) => {
@@ -58704,7 +58704,7 @@ const $le = ({ hideLabel: r = !1 }) => /* @__PURE__ */ B(
58704
58704
  children: n
58705
58705
  }
58706
58706
  ),
58707
- i && /* @__PURE__ */ x(Kl, { content: i, variant: "description" })
58707
+ i ? /* @__PURE__ */ x(Kl, { content: i, variant: "description" }) : null
58708
58708
  ] });
58709
58709
  }, LV = ({
58710
58710
  props: r
@@ -58724,29 +58724,29 @@ const $le = ({ hideLabel: r = !1 }) => /* @__PURE__ */ B(
58724
58724
  } = r, d = Cl(), h = a ? i : !0, v = l?.some(Boolean), p = u || c && c.length > 0 || f && f.length > 0;
58725
58725
  return /* @__PURE__ */ B(Aw, { status: e, isLast: t, hideStatus: n, children: [
58726
58726
  /* @__PURE__ */ x("div", { className: "flex min-h-8 items-center gap-3", children: /* @__PURE__ */ x(Yle, { props: r, contentId: d }) }),
58727
- l && v && /* @__PURE__ */ x("div", { className: "pl-9", children: /* @__PURE__ */ x(O_, { items: l }) }),
58728
- h && /* @__PURE__ */ x("div", { id: d, role: "region", className: "flex flex-col gap-0 pl-4", children: s !== void 0 ? s : o?.map((g, m) => /* @__PURE__ */ x(Zle, { props: g }, `${g.title}-${m}`)) }),
58729
- p && /* @__PURE__ */ x("div", { className: "pl-9", children: /* @__PURE__ */ x(
58727
+ l && v ? /* @__PURE__ */ x("div", { className: "pl-9", children: /* @__PURE__ */ x(O_, { items: l }) }) : null,
58728
+ h ? /* @__PURE__ */ x("div", { id: d, role: "region", className: "flex flex-col gap-0 pl-4", children: s !== void 0 ? s : o?.map((g, m) => /* @__PURE__ */ x(Zle, { props: g }, `${g.title}-${m}`)) }) : null,
58729
+ p ? /* @__PURE__ */ x("div", { className: "pl-9", children: /* @__PURE__ */ x(
58730
58730
  MV,
58731
58731
  {
58732
58732
  primaryAction: u,
58733
58733
  secondaryActions: c,
58734
58734
  otherActions: f
58735
58735
  }
58736
- ) })
58736
+ ) }) : null
58737
58737
  ] });
58738
58738
  }, jle = ({ props: r }) => {
58739
58739
  const { metadata: e, primaryAction: t, secondaryActions: n, otherActions: i } = r, a = e?.some(Boolean), o = t || n && n.length > 0 || i && i.length > 0;
58740
58740
  return /* @__PURE__ */ B("div", { className: "pl-9", children: [
58741
- e && a && /* @__PURE__ */ x("div", { className: "mb-3", children: /* @__PURE__ */ x(O_, { items: e }) }),
58742
- o && /* @__PURE__ */ x("div", { className: "mb-3", children: /* @__PURE__ */ x(
58741
+ e && a ? /* @__PURE__ */ x("div", { className: "mb-3", children: /* @__PURE__ */ x(O_, { items: e }) }) : null,
58742
+ o ? /* @__PURE__ */ x("div", { className: "mb-3", children: /* @__PURE__ */ x(
58743
58743
  MV,
58744
58744
  {
58745
58745
  primaryAction: t,
58746
58746
  secondaryActions: n,
58747
58747
  otherActions: i
58748
58748
  }
58749
- ) })
58749
+ ) }) : null
58750
58750
  ] });
58751
58751
  }, Kle = ({ props: r }) => {
58752
58752
  const { status: e, icon: t = RN, title: n, description: i, metadata: a } = r, o = a?.some(Boolean);
@@ -58763,15 +58763,15 @@ const $le = ({ hideLabel: r = !1 }) => /* @__PURE__ */ B(
58763
58763
  children: n
58764
58764
  }
58765
58765
  ),
58766
- i && /* @__PURE__ */ x(Kl, { content: i, variant: "description" })
58766
+ i ? /* @__PURE__ */ x(Kl, { content: i, variant: "description" }) : null
58767
58767
  ] }),
58768
- /* @__PURE__ */ x("div", { className: "flex justify-end items-center gap-3 pl-9", children: e === "completed" && a && o && /* @__PURE__ */ x(O_, { items: a }) })
58768
+ /* @__PURE__ */ x("div", { className: "flex justify-end items-center gap-3 pl-9", children: e === "completed" && a && o ? /* @__PURE__ */ x(O_, { items: a }) : null })
58769
58769
  ] });
58770
58770
  }, EV = ({ props: r }) => {
58771
58771
  const { status: e, isLast: t = !1, hideStatus: n = !1 } = r;
58772
58772
  return /* @__PURE__ */ B(Aw, { status: e, isLast: t, hideStatus: n, children: [
58773
58773
  /* @__PURE__ */ x("div", { className: "flex min-h-8 items-center gap-2", children: /* @__PURE__ */ x(Kle, { props: r }) }),
58774
- e !== "completed" && /* @__PURE__ */ x(jle, { props: r })
58774
+ e !== "completed" ? /* @__PURE__ */ x(jle, { props: r }) : null
58775
58775
  ] });
58776
58776
  }, Qle = (r) => "icon" in r && r.icon !== void 0 && ("items" in r || "content" in r), Jle = ({
58777
58777
  props: r
@@ -58779,7 +58779,7 @@ const $le = ({ hideLabel: r = !1 }) => /* @__PURE__ */ B(
58779
58779
  const { status: e, isLast: t = !1, hideStatus: n = !1, expanded: i, items: a } = r;
58780
58780
  return /* @__PURE__ */ B(Aw, { status: e, isLast: t, hideStatus: n, children: [
58781
58781
  /* @__PURE__ */ x("div", { className: "flex min-h-8 items-center gap-2", children: /* @__PURE__ */ x(Ule, { props: r }) }),
58782
- i && /* @__PURE__ */ x("div", { className: "flex flex-col pl-4", children: a.map(
58782
+ i ? /* @__PURE__ */ x("div", { className: "flex flex-col pl-4", children: a.map(
58783
58783
  (o, s) => Qle(o) ? /* @__PURE__ */ x(
58784
58784
  LV,
58785
58785
  {
@@ -58801,7 +58801,7 @@ const $le = ({ hideLabel: r = !1 }) => /* @__PURE__ */ B(
58801
58801
  },
58802
58802
  `${o.title}-${s}`
58803
58803
  )
58804
- ) })
58804
+ ) }) : null
58805
58805
  ] });
58806
58806
  }, eue = (r) => ("items" in r || "content" in r) && "icon" in r && r.icon !== void 0, tue = (r) => "items" in r && !("icon" in r && r.icon !== void 0), rue = (r) => eue(r) ? /* @__PURE__ */ x(LV, { props: r }) : tue(r) ? /* @__PURE__ */ x(Jle, { props: r }) : /* @__PURE__ */ x(EV, { props: r }), kde = [
58807
58807
  "completed",
@@ -59551,7 +59551,7 @@ const Ew = () => {
59551
59551
  },
59552
59552
  v.questionType
59553
59553
  )),
59554
- h.length > 0 && /* @__PURE__ */ B(ot, { children: [
59554
+ h.length > 0 ? /* @__PURE__ */ B(ot, { children: [
59555
59555
  /* @__PURE__ */ x(Ra, {}),
59556
59556
  h.map((v) => {
59557
59557
  const p = s.find(
@@ -59559,11 +59559,11 @@ const Ew = () => {
59559
59559
  );
59560
59560
  return /* @__PURE__ */ B(_l, { children: [
59561
59561
  /* @__PURE__ */ x(xl, { className: "mx-1 px-2 data-[state=open]:rounded-sm data-[state=closed]:bg-transparent data-[state=open]:bg-f1-background-hover", children: /* @__PURE__ */ B("div", { className: "flex w-full flex-row items-center gap-2", children: [
59562
- p && /* @__PURE__ */ x(it, { icon: p.icon, color: "default" }),
59562
+ p ? /* @__PURE__ */ x(it, { icon: p.icon, color: "default" }) : null,
59563
59563
  /* @__PURE__ */ x("span", { className: "flex-1 text-base font-medium", children: p?.label ?? v })
59564
59564
  ] }) }),
59565
59565
  /* @__PURE__ */ x(wl, { children: /* @__PURE__ */ B(Sl, { children: [
59566
- n("dropdown-single") && /* @__PURE__ */ x(
59566
+ n("dropdown-single") ? /* @__PURE__ */ x(
59567
59567
  Ct,
59568
59568
  {
59569
59569
  onClick: () => c("dropdown-single", v),
@@ -59572,8 +59572,8 @@ const Ew = () => {
59572
59572
  /* @__PURE__ */ x("span", { className: "flex-1", children: l("surveyFormBuilder.labels.singleSelection") })
59573
59573
  ] })
59574
59574
  }
59575
- ),
59576
- n("dropdown-multi") && /* @__PURE__ */ x(
59575
+ ) : null,
59576
+ n("dropdown-multi") ? /* @__PURE__ */ x(
59577
59577
  Ct,
59578
59578
  {
59579
59579
  onClick: () => c("dropdown-multi", v),
@@ -59582,11 +59582,11 @@ const Ew = () => {
59582
59582
  /* @__PURE__ */ x("span", { className: "flex-1", children: l("surveyFormBuilder.labels.multiSelection") })
59583
59583
  ] })
59584
59584
  }
59585
- )
59585
+ ) : null
59586
59586
  ] }) })
59587
59587
  ] }, v);
59588
59588
  })
59589
- ] })
59589
+ ] }) : null
59590
59590
  ] })
59591
59591
  ] }) });
59592
59592
  }, gue = ({
@@ -59788,7 +59788,7 @@ const Uy = ({
59788
59788
  /* @__PURE__ */ x(xl, { className: "mx-1 px-2 data-[state=open]:rounded-sm data-[state=closed]:bg-transparent data-[state=open]:bg-f1-background-hover", children: /* @__PURE__ */ B("div", { className: "flex w-full flex-row items-center gap-2", children: [
59789
59789
  /* @__PURE__ */ x(Pr, { icon: sI, color: "default" }),
59790
59790
  /* @__PURE__ */ x("span", { className: "flex-1 text-base font-medium", children: r }),
59791
- !!f && /* @__PURE__ */ x("span", { className: "mr-1 text-base text-f1-foreground-secondary", children: f })
59791
+ f ? /* @__PURE__ */ x("span", { className: "mr-1 text-base text-f1-foreground-secondary", children: f }) : null
59792
59792
  ] }) }),
59793
59793
  /* @__PURE__ */ x(wl, { children: /* @__PURE__ */ B(Sl, { children: [
59794
59794
  u.map((d) => {
@@ -59797,9 +59797,9 @@ const Uy = ({
59797
59797
  /* @__PURE__ */ x(xl, { className: "mx-1 mt-1 px-2 data-[state=open]:rounded-sm data-[state=closed]:bg-transparent data-[state=open]:bg-f1-background-hover", children: /* @__PURE__ */ B("div", { className: "flex w-full flex-row items-center gap-2 text-base font-medium", children: [
59798
59798
  /* @__PURE__ */ x(Pr, { icon: d.icon, color: "default" }),
59799
59799
  /* @__PURE__ */ x("span", { className: "flex-1", children: d.label }),
59800
- i && /* @__PURE__ */ x("span", { className: "mr-1 text-base text-f1-foreground-secondary", children: sp.find(
59800
+ i ? /* @__PURE__ */ x("span", { className: "mr-1 text-base text-f1-foreground-secondary", children: sp.find(
59801
59801
  (p) => p.value === i
59802
- )?.label })
59802
+ )?.label }) : null
59803
59803
  ] }) }),
59804
59804
  /* @__PURE__ */ x(wl, { children: /* @__PURE__ */ x(Sl, { children: sp.map((p) => /* @__PURE__ */ x(
59805
59805
  Ct,
@@ -59807,7 +59807,7 @@ const Uy = ({
59807
59807
  onClick: () => s(p.value),
59808
59808
  children: /* @__PURE__ */ B("div", { className: "flex w-full flex-row items-center gap-2 pl-2", children: [
59809
59809
  /* @__PURE__ */ x("span", { className: "flex-1", children: p.label }),
59810
- i === p.value && /* @__PURE__ */ x(Pr, { icon: $r, color: "default" })
59810
+ i === p.value ? /* @__PURE__ */ x(Pr, { icon: $r, color: "default" }) : null
59811
59811
  ] })
59812
59812
  },
59813
59813
  p.value
@@ -59819,13 +59819,13 @@ const Uy = ({
59819
59819
  children: /* @__PURE__ */ B("div", { className: "flex w-full flex-row items-center gap-2", children: [
59820
59820
  /* @__PURE__ */ x(Pr, { icon: d.icon, color: "default" }),
59821
59821
  /* @__PURE__ */ x("span", { className: "flex-1", children: d.label }),
59822
- v && /* @__PURE__ */ x(Pr, { icon: $r, color: "default" })
59822
+ v ? /* @__PURE__ */ x(Pr, { icon: $r, color: "default" }) : null
59823
59823
  ] })
59824
59824
  },
59825
59825
  d.questionType
59826
59826
  );
59827
59827
  }),
59828
- c.length > 0 && /* @__PURE__ */ B(ot, { children: [
59828
+ c.length > 0 ? /* @__PURE__ */ B(ot, { children: [
59829
59829
  /* @__PURE__ */ x(Ra, {}),
59830
59830
  c.map((d) => {
59831
59831
  const h = n.find(
@@ -59833,37 +59833,37 @@ const Uy = ({
59833
59833
  );
59834
59834
  return /* @__PURE__ */ B(_l, { children: [
59835
59835
  /* @__PURE__ */ x(xl, { className: "mx-1 px-2 data-[state=open]:rounded-sm data-[state=closed]:bg-transparent data-[state=open]:bg-f1-background-hover", children: /* @__PURE__ */ B("div", { className: "flex w-full flex-row items-center gap-2", children: [
59836
- h && /* @__PURE__ */ x(Pr, { icon: h.icon, color: "default" }),
59836
+ h ? /* @__PURE__ */ x(Pr, { icon: h.icon, color: "default" }) : null,
59837
59837
  /* @__PURE__ */ x("span", { className: "flex-1 text-base font-medium", children: h?.label ?? d }),
59838
- t === d && /* @__PURE__ */ x(Pr, { icon: $r, color: "default" })
59838
+ t === d ? /* @__PURE__ */ x(Pr, { icon: $r, color: "default" }) : null
59839
59839
  ] }) }),
59840
59840
  /* @__PURE__ */ x(wl, { children: /* @__PURE__ */ B(Sl, { children: [
59841
- a("dropdown-single") && /* @__PURE__ */ x(
59841
+ a("dropdown-single") ? /* @__PURE__ */ x(
59842
59842
  Ct,
59843
59843
  {
59844
59844
  onClick: () => o("dropdown-single", d),
59845
59845
  children: /* @__PURE__ */ B("div", { className: "flex w-full flex-row items-center gap-2", children: [
59846
59846
  /* @__PURE__ */ x(Pr, { icon: $r, color: "default" }),
59847
59847
  /* @__PURE__ */ x("span", { className: "flex-1", children: l("surveyFormBuilder.labels.singleSelection") }),
59848
- t === d && e === "dropdown-single" && /* @__PURE__ */ x(Pr, { icon: $r, color: "default" })
59848
+ t === d && e === "dropdown-single" ? /* @__PURE__ */ x(Pr, { icon: $r, color: "default" }) : null
59849
59849
  ] })
59850
59850
  }
59851
- ),
59852
- a("dropdown-multi") && /* @__PURE__ */ x(
59851
+ ) : null,
59852
+ a("dropdown-multi") ? /* @__PURE__ */ x(
59853
59853
  Ct,
59854
59854
  {
59855
59855
  onClick: () => o("dropdown-multi", d),
59856
59856
  children: /* @__PURE__ */ B("div", { className: "flex w-full flex-row items-center gap-2", children: [
59857
59857
  /* @__PURE__ */ x(Pr, { icon: hs, color: "default" }),
59858
59858
  /* @__PURE__ */ x("span", { className: "flex-1", children: l("surveyFormBuilder.labels.multiSelection") }),
59859
- t === d && e === "dropdown-multi" && /* @__PURE__ */ x(Pr, { icon: $r, color: "default" })
59859
+ t === d && e === "dropdown-multi" ? /* @__PURE__ */ x(Pr, { icon: $r, color: "default" }) : null
59860
59860
  ] })
59861
59861
  }
59862
- )
59862
+ ) : null
59863
59863
  ] }) })
59864
59864
  ] }, d);
59865
59865
  })
59866
- ] })
59866
+ ] }) : null
59867
59867
  ] }) })
59868
59868
  ] });
59869
59869
  }, jE = ({
@@ -59925,7 +59925,7 @@ function xue({
59925
59925
  ) }),
59926
59926
  /* @__PURE__ */ B(rs, { className: "w-80", align: "start", children: [
59927
59927
  /* @__PURE__ */ x(Ky, { className: "p-4 pb-2 font-medium text-f1-foreground-secondary", children: o("surveyFormBuilder.labels.questionOptions") }),
59928
- T && /* @__PURE__ */ x(Ei, { children: /* @__PURE__ */ x(
59928
+ T ? /* @__PURE__ */ x(Ei, { children: /* @__PURE__ */ x(
59929
59929
  Uy,
59930
59930
  {
59931
59931
  label: o("surveyFormBuilder.labels.required"),
@@ -59933,8 +59933,8 @@ function xue({
59933
59933
  checked: !!l?.required,
59934
59934
  onChange: g
59935
59935
  }
59936
- ) }),
59937
- D && /* @__PURE__ */ x(Ei, { children: /* @__PURE__ */ x(
59936
+ ) }) : null,
59937
+ D ? /* @__PURE__ */ x(Ei, { children: /* @__PURE__ */ x(
59938
59938
  Uy,
59939
59939
  {
59940
59940
  label: o("surveyFormBuilder.labels.allowMultiSelection"),
@@ -59942,8 +59942,8 @@ function xue({
59942
59942
  checked: d,
59943
59943
  onChange: b
59944
59944
  }
59945
- ) }),
59946
- A && /* @__PURE__ */ x(Ei, { children: /* @__PURE__ */ x(
59945
+ ) }) : null,
59946
+ A ? /* @__PURE__ */ x(Ei, { children: /* @__PURE__ */ x(
59947
59947
  Uy,
59948
59948
  {
59949
59949
  label: o("surveyFormBuilder.labels.allowCreate"),
@@ -59951,8 +59951,8 @@ function xue({
59951
59951
  checked: h,
59952
59952
  onChange: _
59953
59953
  }
59954
- ) }),
59955
- M && /* @__PURE__ */ x(Ei, { children: /* @__PURE__ */ x(
59954
+ ) }) : null,
59955
+ M ? /* @__PURE__ */ x(Ei, { children: /* @__PURE__ */ x(
59956
59956
  _ue,
59957
59957
  {
59958
59958
  label: o("surveyFormBuilder.labels.questionType"),
@@ -59964,18 +59964,18 @@ function xue({
59964
59964
  onSelectQuestionType: m,
59965
59965
  onSelectRatingType: y
59966
59966
  }
59967
- ) }),
59968
- (T || D || A || M) && (E || L) && /* @__PURE__ */ x(Ra, {}),
59969
- (E || L) && /* @__PURE__ */ B(Ei, { children: [
59970
- E && /* @__PURE__ */ x(
59967
+ ) }) : null,
59968
+ (T || D || A || M) && (E || L) ? /* @__PURE__ */ x(Ra, {}) : null,
59969
+ E || L ? /* @__PURE__ */ B(Ei, { children: [
59970
+ E ? /* @__PURE__ */ x(
59971
59971
  jE,
59972
59972
  {
59973
59973
  label: o("surveyFormBuilder.actions.duplicateQuestion"),
59974
59974
  icon: Vh,
59975
59975
  onClick: S
59976
59976
  }
59977
- ),
59978
- L && /* @__PURE__ */ x(
59977
+ ) : null,
59978
+ L ? /* @__PURE__ */ x(
59979
59979
  jE,
59980
59980
  {
59981
59981
  label: o("surveyFormBuilder.actions.deleteQuestion"),
@@ -59983,8 +59983,8 @@ function xue({
59983
59983
  onClick: w,
59984
59984
  critical: !0
59985
59985
  }
59986
- )
59987
- ] })
59986
+ ) : null
59987
+ ] }) : null
59988
59988
  ] })
59989
59989
  ] });
59990
59990
  }
@@ -60084,7 +60084,7 @@ const KE = {
60084
60084
  notice: C && S ? U : null,
60085
60085
  children: h ? /* @__PURE__ */ B("div", { className: "w-full whitespace-pre-wrap break-words px-2 py-1 text-lg font-semibold text-f1-foreground", children: [
60086
60086
  e || P,
60087
- i && /* @__PURE__ */ x("span", { className: "text-f1-foreground-critical", children: " *" })
60087
+ i ? /* @__PURE__ */ x("span", { className: "text-f1-foreground-critical", children: " *" }) : null
60088
60088
  ] }) : /* @__PURE__ */ B(ot, { children: [
60089
60089
  /* @__PURE__ */ x(
60090
60090
  "textarea",
@@ -60104,7 +60104,7 @@ const KE = {
60104
60104
  ),
60105
60105
  /* @__PURE__ */ B("div", { className: "textarea-overlay pointer-events-none absolute left-0 top-0 h-full w-full whitespace-pre-wrap break-words px-2 py-1 text-lg font-semibold", children: [
60106
60106
  /* @__PURE__ */ x("span", { className: "opacity-0", children: e || P }),
60107
- i && /* @__PURE__ */ B(
60107
+ i ? /* @__PURE__ */ B(
60108
60108
  "span",
60109
60109
  {
60110
60110
  className: oe(
@@ -60116,45 +60116,47 @@ const KE = {
60116
60116
  "*"
60117
60117
  ]
60118
60118
  }
60119
- )
60119
+ ) : null
60120
60120
  ] })
60121
60121
  ] })
60122
60122
  }
60123
60123
  ),
60124
- !h && _ && // Blocked question: a static lock sits where the actions "⋯" menu
60125
- // would be, signalling the card is predefined and can't be edited.
60126
- // Hovering just the lock (not the whole card) reveals why.
60127
- //
60128
- // A partially locked question gets no lock of its own: the icon
60129
- // reads as "this card is frozen", which is exactly what it is not,
60130
- // and it would sit next to a menu that still offers delete and
60131
- // duplicate. Its notice hangs off the frozen field instead.
60132
- /* @__PURE__ */ x("div", { children: U ? /* @__PURE__ */ x(V_, { instant: !0, ...U, children: /* @__PURE__ */ x("span", { className: "inline-flex", children: /* @__PURE__ */ x(
60133
- at,
60134
- {
60135
- icon: e0,
60136
- label: I("surveyFormBuilder.labels.locked"),
60137
- size: "md",
60138
- variant: "ghost",
60139
- tooltip: !1,
60140
- hideLabel: !0,
60141
- disabled: !0,
60142
- withoutDisabledAppearance: !0
60143
- }
60144
- ) }) }) : /* @__PURE__ */ x(
60145
- at,
60146
- {
60147
- icon: e0,
60148
- label: I("surveyFormBuilder.labels.locked"),
60149
- size: "md",
60150
- variant: "ghost",
60151
- tooltip: !1,
60152
- hideLabel: !0,
60153
- disabled: !0,
60154
- withoutDisabledAppearance: !0
60155
- }
60156
- ) }),
60157
- !d && !h && !_ && /* @__PURE__ */ x(
60124
+ !h && _ ? (
60125
+ // Blocked question: a static lock sits where the actions "⋯" menu
60126
+ // would be, signalling the card is predefined and can't be edited.
60127
+ // Hovering just the lock (not the whole card) reveals why.
60128
+ //
60129
+ // A partially locked question gets no lock of its own: the icon
60130
+ // reads as "this card is frozen", which is exactly what it is not,
60131
+ // and it would sit next to a menu that still offers delete and
60132
+ // duplicate. Its notice hangs off the frozen field instead.
60133
+ /* @__PURE__ */ x("div", { children: U ? /* @__PURE__ */ x(V_, { instant: !0, ...U, children: /* @__PURE__ */ x("span", { className: "inline-flex", children: /* @__PURE__ */ x(
60134
+ at,
60135
+ {
60136
+ icon: e0,
60137
+ label: I("surveyFormBuilder.labels.locked"),
60138
+ size: "md",
60139
+ variant: "ghost",
60140
+ tooltip: !1,
60141
+ hideLabel: !0,
60142
+ disabled: !0,
60143
+ withoutDisabledAppearance: !0
60144
+ }
60145
+ ) }) }) : /* @__PURE__ */ x(
60146
+ at,
60147
+ {
60148
+ icon: e0,
60149
+ label: I("surveyFormBuilder.labels.locked"),
60150
+ size: "md",
60151
+ variant: "ghost",
60152
+ tooltip: !1,
60153
+ hideLabel: !0,
60154
+ disabled: !0,
60155
+ withoutDisabledAppearance: !0
60156
+ }
60157
+ ) })
60158
+ ) : null,
60159
+ !d && !h && !_ ? /* @__PURE__ */ x(
60158
60160
  "div",
60159
60161
  {
60160
60162
  className: oe(
@@ -60173,7 +60175,7 @@ const KE = {
60173
60175
  }
60174
60176
  )
60175
60177
  }
60176
- )
60178
+ ) : null
60177
60179
  ] }),
60178
60180
  h ? t ? /* @__PURE__ */ x("p", { className: "w-full whitespace-pre-wrap break-words px-2 text-f1-foreground-secondary", children: t }) : null : j ? /* @__PURE__ */ x(
60179
60181
  QE,
@@ -60198,14 +60200,14 @@ const KE = {
60198
60200
  ) : null
60199
60201
  ] }),
60200
60202
  n,
60201
- h && /* @__PURE__ */ x(
60203
+ h ? /* @__PURE__ */ x(
60202
60204
  X5,
60203
60205
  {
60204
60206
  className: "-mt-2",
60205
60207
  fallback: I(i ? "forms.validation.required" : "forms.validation.invalidType")
60206
60208
  }
60207
- ),
60208
- !d && !h && !_ && /* @__PURE__ */ x(
60209
+ ) : null,
60210
+ !d && !h && !_ ? /* @__PURE__ */ x(
60209
60211
  "div",
60210
60212
  {
60211
60213
  className: oe(
@@ -60229,7 +60231,7 @@ const KE = {
60229
60231
  }
60230
60232
  ) }),
60231
60233
  /* @__PURE__ */ B(rs, { align: "center", className: "w-80", children: [
60232
- !T && /* @__PURE__ */ B(ot, { children: [
60234
+ T ? null : /* @__PURE__ */ B(ot, { children: [
60233
60235
  /* @__PURE__ */ x(Ct, { onClick: F, children: /* @__PURE__ */ B("div", { className: "flex w-full flex-row items-center gap-2", children: [
60234
60236
  /* @__PURE__ */ x(it, { icon: Z_, color: "default" }),
60235
60237
  /* @__PURE__ */ x("span", { className: "flex-1 text-base font-medium", children: I("surveyFormBuilder.questionTypes.section") })
@@ -60247,7 +60249,7 @@ const KE = {
60247
60249
  },
60248
60250
  ne.questionType
60249
60251
  )),
60250
- J.length > 0 && /* @__PURE__ */ B(ot, { children: [
60252
+ J.length > 0 ? /* @__PURE__ */ B(ot, { children: [
60251
60253
  /* @__PURE__ */ x(Ra, {}),
60252
60254
  J.map((ne) => {
60253
60255
  const fe = H.find(
@@ -60255,11 +60257,11 @@ const KE = {
60255
60257
  );
60256
60258
  return /* @__PURE__ */ B(_l, { children: [
60257
60259
  /* @__PURE__ */ x(xl, { className: "mx-1 px-2 data-[state=open]:rounded-sm data-[state=closed]:bg-transparent data-[state=open]:bg-f1-background-hover", children: /* @__PURE__ */ B("div", { className: "flex w-full flex-row items-center gap-2", children: [
60258
- fe && /* @__PURE__ */ x(it, { icon: fe.icon, color: "default" }),
60260
+ fe ? /* @__PURE__ */ x(it, { icon: fe.icon, color: "default" }) : null,
60259
60261
  /* @__PURE__ */ x("span", { className: "flex-1 text-base font-medium", children: fe?.label ?? ne })
60260
60262
  ] }) }),
60261
60263
  /* @__PURE__ */ x(wl, { children: /* @__PURE__ */ B(Sl, { children: [
60262
- g("dropdown-single") && /* @__PURE__ */ x(
60264
+ g("dropdown-single") ? /* @__PURE__ */ x(
60263
60265
  Ct,
60264
60266
  {
60265
60267
  onClick: () => V("dropdown-single", ne),
@@ -60270,8 +60272,8 @@ const KE = {
60270
60272
  ) })
60271
60273
  ] })
60272
60274
  }
60273
- ),
60274
- g("dropdown-multi") && /* @__PURE__ */ x(
60275
+ ) : null,
60276
+ g("dropdown-multi") ? /* @__PURE__ */ x(
60275
60277
  Ct,
60276
60278
  {
60277
60279
  onClick: () => V("dropdown-multi", ne),
@@ -60282,17 +60284,17 @@ const KE = {
60282
60284
  ) })
60283
60285
  ] })
60284
60286
  }
60285
- )
60287
+ ) : null
60286
60288
  ] }) })
60287
60289
  ] }, ne);
60288
60290
  })
60289
- ] })
60291
+ ] }) : null
60290
60292
  ] })
60291
60293
  ]
60292
60294
  }
60293
60295
  )
60294
60296
  }
60295
- )
60297
+ ) : null
60296
60298
  ]
60297
60299
  }
60298
60300
  );
@@ -60688,7 +60690,7 @@ function kue({
60688
60690
  r ? "bg-f1-background-selected-bold" : "border border-solid border-f1-border bg-f1-background",
60689
60691
  e && "opacity-50"
60690
60692
  ),
60691
- children: r && /* @__PURE__ */ x("div", { className: "h-2 w-2 rounded-full bg-f1-background" })
60693
+ children: r ? /* @__PURE__ */ x("div", { className: "h-2 w-2 rounded-full bg-f1-background" }) : null
60692
60694
  }
60693
60695
  );
60694
60696
  }
@@ -60803,7 +60805,7 @@ const Pue = {
60803
60805
  style: Pue
60804
60806
  }
60805
60807
  ) : /* @__PURE__ */ x("p", { className: "flex-1 font-medium", children: d }),
60806
- !a && !o && l && /* @__PURE__ */ x("span", { className: "text-sm font-medium text-f1-foreground-positive", children: m("surveyFormBuilder.selectQuestion.correct") }),
60808
+ !a && !o && l ? /* @__PURE__ */ x("span", { className: "text-sm font-medium text-f1-foreground-positive", children: m("surveyFormBuilder.selectQuestion.correct") }) : null,
60807
60809
  !a && !o && !u ? /* @__PURE__ */ B("div", { className: "hidden flex-row items-center gap-1 group-hover:inline-block", children: [
60808
60810
  /* @__PURE__ */ x(
60809
60811
  at,
@@ -60954,7 +60956,7 @@ const Pue = {
60954
60956
  })
60955
60957
  }
60956
60958
  ) }),
60957
- !n && !i && !l && /* @__PURE__ */ x("div", { className: "opacity-70", children: /* @__PURE__ */ x(
60959
+ !n && !i && !l ? /* @__PURE__ */ x("div", { className: "opacity-70", children: /* @__PURE__ */ x(
60958
60960
  at,
60959
60961
  {
60960
60962
  label: u("surveyFormBuilder.selectQuestion.addOption"),
@@ -60962,7 +60964,7 @@ const Pue = {
60962
60964
  icon: z_,
60963
60965
  onClick: v
60964
60966
  }
60965
- ) })
60967
+ ) }) : null
60966
60968
  ] }) });
60967
60969
  }, Bue = ({
60968
60970
  value: r,
@@ -61074,7 +61076,7 @@ const Pue = {
61074
61076
  n && "cursor-grabbing"
61075
61077
  ),
61076
61078
  children: [
61077
- !l && !u && (p ? (
61079
+ !l && !u ? p ? (
61078
61080
  // Blocked question: drop the drag affordance but keep the handle's
61079
61081
  // gutter so the card stays the same width and alignment as the
61080
61082
  // editable questions around it.
@@ -61091,7 +61093,7 @@ const Pue = {
61091
61093
  },
61092
61094
  children: /* @__PURE__ */ x(it, { icon: Sf, size: "sm" })
61093
61095
  }
61094
- )),
61096
+ ) : null,
61095
61097
  /* @__PURE__ */ x(
61096
61098
  Nw,
61097
61099
  {
@@ -61101,7 +61103,7 @@ const Pue = {
61101
61103
  ]
61102
61104
  }
61103
61105
  ) }),
61104
- e && /* @__PURE__ */ x(VV, {})
61106
+ e ? /* @__PURE__ */ x(VV, {}) : null
61105
61107
  ]
61106
61108
  }
61107
61109
  );
@@ -61130,7 +61132,7 @@ const Pue = {
61130
61132
  ),
61131
61133
  style: { marginLeft: a || o ? 0 : -27 },
61132
61134
  children: [
61133
- !a && !o && /* @__PURE__ */ x(
61135
+ !a && !o ? /* @__PURE__ */ x(
61134
61136
  "div",
61135
61137
  {
61136
61138
  className: oe(
@@ -61143,7 +61145,7 @@ const Pue = {
61143
61145
  },
61144
61146
  children: /* @__PURE__ */ x(it, { icon: Sf, size: "sm" })
61145
61147
  }
61146
- ),
61148
+ ) : null,
61147
61149
  /* @__PURE__ */ x(
61148
61150
  Nw,
61149
61151
  {
@@ -61230,9 +61232,9 @@ const Pue = {
61230
61232
  a && !u ? "cursor-not-allowed" : "bg-f1-background"
61231
61233
  ),
61232
61234
  children: [
61233
- (D || A || a && !u) && /* @__PURE__ */ B("div", { className: "py-1 pl-5 pr-3", children: [
61234
- (D || a && !u) && /* @__PURE__ */ B("div", { className: "flex flex-row items-center gap-2", children: [
61235
- D && /* @__PURE__ */ x(
61235
+ D || A || a && !u ? /* @__PURE__ */ B("div", { className: "py-1 pl-5 pr-3", children: [
61236
+ D || a && !u ? /* @__PURE__ */ B("div", { className: "flex flex-row items-center gap-2", children: [
61237
+ D ? /* @__PURE__ */ x(
61236
61238
  "input",
61237
61239
  {
61238
61240
  ref: M,
@@ -61247,9 +61249,9 @@ const Pue = {
61247
61249
  T && "cursor-not-allowed"
61248
61250
  )
61249
61251
  }
61250
- ),
61251
- L && /* @__PURE__ */ x("div", { className: "ml-auto flex shrink-0 items-center", children: /* @__PURE__ */ x(V_, { description: E, instant: !0, children: /* @__PURE__ */ x("span", { className: "inline-flex", children: L }) }) }),
61252
- !l && !u && !a && /* @__PURE__ */ x(
61252
+ ) : null,
61253
+ L ? /* @__PURE__ */ x("div", { className: "ml-auto flex shrink-0 items-center", children: /* @__PURE__ */ x(V_, { description: E, instant: !0, children: /* @__PURE__ */ x("span", { className: "inline-flex", children: L }) }) }) : null,
61254
+ !l && !u && !a ? /* @__PURE__ */ x(
61253
61255
  "div",
61254
61256
  {
61255
61257
  className: oe(
@@ -61278,9 +61280,9 @@ const Pue = {
61278
61280
  }
61279
61281
  )
61280
61282
  }
61281
- )
61282
- ] }),
61283
- A && !(a && !u) && /* @__PURE__ */ x(
61283
+ ) : null
61284
+ ] }) : null,
61285
+ A && !(a && !u) ? /* @__PURE__ */ x(
61284
61286
  "textarea",
61285
61287
  {
61286
61288
  value: t,
@@ -61296,9 +61298,9 @@ const Pue = {
61296
61298
  T && "cursor-not-allowed"
61297
61299
  )
61298
61300
  }
61299
- )
61300
- ] }),
61301
- !o && /* @__PURE__ */ B(ot, { children: [
61301
+ ) : null
61302
+ ] }) : null,
61303
+ o ? null : /* @__PURE__ */ B(ot, { children: [
61302
61304
  /* @__PURE__ */ x(Lw, { children: /* @__PURE__ */ x(
61303
61305
  $_,
61304
61306
  {
@@ -61309,7 +61311,7 @@ const Pue = {
61309
61311
  children: /* @__PURE__ */ x("div", { className: "group/section-list flex flex-col gap-4", children: i.map((I) => /* @__PURE__ */ x(zue, { question: I }, I.id)) })
61310
61312
  }
61311
61313
  ) }),
61312
- !u && /* @__PURE__ */ B("div", { className: "mt-8 flex flex-row items-center gap-4", children: [
61314
+ u ? null : /* @__PURE__ */ B("div", { className: "mt-8 flex flex-row items-center gap-4", children: [
61313
61315
  /* @__PURE__ */ x("div", { className: "h-px flex-1 bg-f1-border-secondary" }),
61314
61316
  /* @__PURE__ */ x("span", { className: "text-base font-medium text-f1-foreground-secondary", children: p("surveyFormBuilder.labels.endOfSection") }),
61315
61317
  /* @__PURE__ */ x("div", { className: "h-px flex-1 bg-f1-border-secondary" })
@@ -61350,7 +61352,7 @@ const Pue = {
61350
61352
  t && "cursor-grabbing"
61351
61353
  ),
61352
61354
  children: [
61353
- !s && !l && (r.section.locked ? (
61355
+ !s && !l ? r.section.locked ? (
61354
61356
  // Blocked section: drop the drag affordance but keep the
61355
61357
  // handle's gutter so the header stays aligned with the
61356
61358
  // editable rows around it.
@@ -61367,15 +61369,15 @@ const Pue = {
61367
61369
  },
61368
61370
  children: /* @__PURE__ */ x(it, { icon: Sf, size: "sm" })
61369
61371
  }
61370
- )),
61372
+ ) : null,
61371
61373
  /* @__PURE__ */ x(Fue, { ...r.section, hideQuestions: !0 })
61372
61374
  ]
61373
61375
  }
61374
61376
  ),
61375
- u && (r.section.questions ?? []).length > 0 && /* @__PURE__ */ B("div", { className: "flex flex-col gap-4 w-full mt-4 ml-7", children: [
61377
+ u && (r.section.questions ?? []).length > 0 ? /* @__PURE__ */ B("div", { className: "flex flex-col gap-4 w-full mt-4 ml-7", children: [
61376
61378
  (r.section.questions ?? []).map((d) => /* @__PURE__ */ x(Nw, { ...d }, d.id)),
61377
61379
  /* @__PURE__ */ x(VV, {})
61378
- ] })
61380
+ ] }) : null
61379
61381
  ] }) })
61380
61382
  }
61381
61383
  );
@@ -61918,7 +61920,7 @@ const Zue = ({
61918
61920
  skipDefaultSection: c,
61919
61921
  children: [
61920
61922
  /* @__PURE__ */ x(Lw, { children: /* @__PURE__ */ B(que, { children: [
61921
- w && /* @__PURE__ */ x(FV, { elements: d, onChange: t }),
61923
+ w ? /* @__PURE__ */ x(FV, { elements: d, onChange: t }) : null,
61922
61924
  /* @__PURE__ */ B("div", { className: "relative flex flex-1 flex-col", children: [
61923
61925
  /* @__PURE__ */ B(
61924
61926
  Nn.div,
@@ -62004,11 +62006,11 @@ const Zue = ({
62004
62006
  })() })
62005
62007
  }
62006
62008
  ),
62007
- f && /* @__PURE__ */ x(pue, {})
62009
+ f ? /* @__PURE__ */ x(pue, {}) : null
62008
62010
  ]
62009
62011
  }
62010
62012
  ),
62011
- a && /* @__PURE__ */ x(
62013
+ a ? /* @__PURE__ */ x(
62012
62014
  Nn.div,
62013
62015
  {
62014
62016
  className: "sticky bottom-1/2 left-0 z-50 flex w-full items-center justify-center",
@@ -62017,7 +62019,7 @@ const Zue = ({
62017
62019
  exit: { opacity: 0, scale: 0.95 },
62018
62020
  children: /* @__PURE__ */ x(due, {})
62019
62021
  }
62020
- )
62022
+ ) : null
62021
62023
  ] })
62022
62024
  ] }) }),
62023
62025
  /* @__PURE__ */ x(
@@ -62040,13 +62042,13 @@ function _n({
62040
62042
  return /* @__PURE__ */ B("div", { className: "flex flex-col gap-4 rounded-xl border border-solid border-f1-border-secondary bg-f1-background p-4", children: [
62041
62043
  /* @__PURE__ */ B("div", { className: "flex flex-col gap-2", children: [
62042
62044
  /* @__PURE__ */ x(ie, { className: "h-5 rounded-sm", style: { width: r } }),
62043
- e && /* @__PURE__ */ x(
62045
+ e ? /* @__PURE__ */ x(
62044
62046
  ie,
62045
62047
  {
62046
62048
  className: "h-4 rounded-sm",
62047
62049
  style: { width: e }
62048
62050
  }
62049
- )
62051
+ ) : null
62050
62052
  ] }),
62051
62053
  t
62052
62054
  ] });
@@ -62255,7 +62257,7 @@ function rce({ checked: r }) {
62255
62257
  "flex h-5 w-5 shrink-0 items-center justify-center rounded-full transition-colors",
62256
62258
  r ? "bg-f1-background-selected-bold" : "border border-solid border-f1-border bg-f1-background"
62257
62259
  ),
62258
- children: r && /* @__PURE__ */ x("div", { className: "h-2 w-2 rounded-full bg-f1-background" })
62260
+ children: r ? /* @__PURE__ */ x("div", { className: "h-2 w-2 rounded-full bg-f1-background" }) : null
62259
62261
  }
62260
62262
  );
62261
62263
  }
@@ -62971,15 +62973,15 @@ function uce({
62971
62973
  k && !S && "min-h-[600px]"
62972
62974
  ),
62973
62975
  children: [
62974
- fe && /* @__PURE__ */ x(FV, { elements: r, onChange: Bh, answering: !0 }),
62975
- we && /* @__PURE__ */ x("div", { className: "absolute left-0 right-0 top-0 [&>div>div>div]:h-1 [&>div>div>div]:rounded-none", children: /* @__PURE__ */ x(
62976
+ fe ? /* @__PURE__ */ x(FV, { elements: r, onChange: Bh, answering: !0 }) : null,
62977
+ we ? /* @__PURE__ */ x("div", { className: "absolute left-0 right-0 top-0 [&>div>div>div]:h-1 [&>div>div>div]:rounded-none", children: /* @__PURE__ */ x(
62976
62978
  GF,
62977
62979
  {
62978
62980
  label: "Value",
62979
62981
  value: L.progress,
62980
62982
  hideLabel: !0
62981
62983
  }
62982
- ) }),
62984
+ ) }) : null,
62983
62985
  /* @__PURE__ */ B(
62984
62986
  "div",
62985
62987
  {
@@ -63015,11 +63017,11 @@ function uce({
63015
63017
  )
63016
63018
  }
63017
63019
  ),
63018
- Re && /* @__PURE__ */ B("div", { className: "py-1 pl-5", children: [
63020
+ Re ? /* @__PURE__ */ B("div", { className: "py-1 pl-5", children: [
63019
63021
  /* @__PURE__ */ x("span", { className: "text-lg font-semibold text-f1-foreground", children: L.currentQuestion?.sectionTitle }),
63020
- L.currentQuestion?.sectionDescription && /* @__PURE__ */ x("p", { className: "text-f1-foreground-secondary", children: L.currentQuestion?.sectionDescription })
63021
- ] }),
63022
- I && !h && /* @__PURE__ */ x(
63022
+ L.currentQuestion?.sectionDescription ? /* @__PURE__ */ x("p", { className: "text-f1-foreground-secondary", children: L.currentQuestion?.sectionDescription }) : null
63023
+ ] }) : null,
63024
+ I && !h ? /* @__PURE__ */ x(
63023
63025
  W_,
63024
63026
  {
63025
63027
  formRef: C,
@@ -63034,7 +63036,7 @@ function uce({
63034
63036
  sections: $
63035
63037
  },
63036
63038
  k ? L.currentStep : void 0
63037
- )
63039
+ ) : null
63038
63040
  ]
63039
63041
  }
63040
63042
  )
@@ -63089,7 +63091,7 @@ function cce({
63089
63091
  onChange: Bh,
63090
63092
  datasets: l,
63091
63093
  children: /* @__PURE__ */ B("div", { className: "mx-auto flex w-full max-w-3xl flex-col", children: [
63092
- !u && /* @__PURE__ */ x("div", { className: "mb-6", children: /* @__PURE__ */ x(
63094
+ u ? null : /* @__PURE__ */ x("div", { className: "mb-6", children: /* @__PURE__ */ x(
63093
63095
  tI,
63094
63096
  {
63095
63097
  title: e,
@@ -63173,10 +63175,10 @@ function fce({
63173
63175
  },
63174
63176
  a
63175
63177
  )) }),
63176
- (e || t) && /* @__PURE__ */ B(ti, { display: "flex", justifyContent: "between", alignItems: "center", children: [
63178
+ e || t ? /* @__PURE__ */ B(ti, { display: "flex", justifyContent: "between", alignItems: "center", children: [
63177
63179
  /* @__PURE__ */ x("span", { className: "text-xs text-f1-foreground-secondary", children: e }),
63178
63180
  /* @__PURE__ */ x("span", { className: "text-xs text-f1-foreground-secondary", children: t })
63179
- ] })
63181
+ ] }) : null
63180
63182
  ] });
63181
63183
  }
63182
63184
  function dce({ options: r }) {
@@ -63243,24 +63245,24 @@ const hce = ({ benefits: r }) => /* @__PURE__ */ x("div", { className: "flex fle
63243
63245
  /* @__PURE__ */ B("div", { className: "flex flex-col gap-5", children: [
63244
63246
  /* @__PURE__ */ B("div", { className: "flex flex-col gap-2", children: [
63245
63247
  /* @__PURE__ */ B("div", { className: "flex flex-row items-center gap-2", children: [
63246
- a && /* @__PURE__ */ x(YN, { module: a }),
63247
- o && /* @__PURE__ */ x("p", { className: "text-base font-medium text-f1-foreground", children: o })
63248
+ a ? /* @__PURE__ */ x(YN, { module: a }) : null,
63249
+ o ? /* @__PURE__ */ x("p", { className: "text-base font-medium text-f1-foreground", children: o }) : null
63248
63250
  ] }),
63249
- (s || l) && /* @__PURE__ */ B("div", { className: "flex justify-start gap-2", children: [
63250
- s && /* @__PURE__ */ x(GN, { icon: s.icon, text: s.label }),
63251
- l && /* @__PURE__ */ x(
63251
+ s || l ? /* @__PURE__ */ B("div", { className: "flex justify-start gap-2", children: [
63252
+ s ? /* @__PURE__ */ x(GN, { icon: s.icon, text: s.label }) : null,
63253
+ l ? /* @__PURE__ */ x(
63252
63254
  PN,
63253
63255
  {
63254
63256
  variant: l.variant || "positive",
63255
63257
  text: l.label
63256
63258
  }
63257
- )
63258
- ] }),
63259
+ ) : null
63260
+ ] }) : null,
63259
63261
  /* @__PURE__ */ x("h2", { className: "font-bold text-xl text-f1-foreground", children: r })
63260
63262
  ] }),
63261
63263
  /* @__PURE__ */ x(hce, { benefits: t })
63262
63264
  ] }),
63263
- n && /* @__PURE__ */ x("div", { className: "flex gap-3", children: n })
63265
+ n ? /* @__PURE__ */ x("div", { className: "flex gap-3", children: n }) : null
63264
63266
  ] })
63265
63267
  ]
63266
63268
  }
@@ -63289,7 +63291,7 @@ function gce({
63289
63291
  children: [
63290
63292
  /* @__PURE__ */ B("div", { className: "flex flex-row items-center justify-between px-4 py-4", children: [
63291
63293
  /* @__PURE__ */ B(NN, { className: "flex flex-row items-center gap-2 text-lg font-semibold text-f1-foreground", children: [
63292
- i && /* @__PURE__ */ x(YN, { module: i, size: "md" }),
63294
+ i ? /* @__PURE__ */ x(YN, { module: i, size: "md" }) : null,
63293
63295
  t
63294
63296
  ] }),
63295
63297
  /* @__PURE__ */ x(
@@ -63370,7 +63372,7 @@ function mce({
63370
63372
  tag: p,
63371
63373
  promoTag: g,
63372
63374
  actions: /* @__PURE__ */ B("div", { className: "flex gap-3", children: [
63373
- c && /* @__PURE__ */ x(
63375
+ c ? /* @__PURE__ */ x(
63374
63376
  at,
63375
63377
  {
63376
63378
  variant: c.variant,
@@ -63380,8 +63382,8 @@ function mce({
63380
63382
  loading: c.loading,
63381
63383
  size: c.size
63382
63384
  }
63383
- ),
63384
- h && /* @__PURE__ */ x(
63385
+ ) : null,
63386
+ h ? /* @__PURE__ */ x(
63385
63387
  at,
63386
63388
  {
63387
63389
  onClick: h.onClick,
@@ -63390,13 +63392,13 @@ function mce({
63390
63392
  size: h.size,
63391
63393
  icon: h.icon
63392
63394
  }
63393
- )
63395
+ ) : null
63394
63396
  ] })
63395
63397
  }
63396
63398
  ) })
63397
63399
  }
63398
63400
  ),
63399
- _ && m && /* @__PURE__ */ x(
63401
+ _ && m ? /* @__PURE__ */ x(
63400
63402
  rI,
63401
63403
  {
63402
63404
  open: !0,
@@ -63410,7 +63412,7 @@ function mce({
63410
63412
  closeLabel: u,
63411
63413
  portalContainer: v
63412
63414
  }
63413
- )
63415
+ ) : null
63414
63416
  ] });
63415
63417
  }
63416
63418
  const Gde = ct(mce);
@@ -63434,7 +63436,7 @@ function yce({
63434
63436
  const d = r?.includes(".mp4");
63435
63437
  return /* @__PURE__ */ x(ot, { children: u ? null : /* @__PURE__ */ B(tu, { style: { width: a }, className: "relative bg-f1-background p-1", children: [
63436
63438
  /* @__PURE__ */ B(ru, { children: [
63437
- i && /* @__PURE__ */ x("div", { className: "absolute right-2 top-2 z-10", children: /* @__PURE__ */ x(
63439
+ i ? /* @__PURE__ */ x("div", { className: "absolute right-2 top-2 z-10", children: /* @__PURE__ */ x(
63438
63440
  at,
63439
63441
  {
63440
63442
  variant: "ghost",
@@ -63444,9 +63446,9 @@ function yce({
63444
63446
  onClick: f,
63445
63447
  label: "Close"
63446
63448
  }
63447
- ) }),
63449
+ ) }) : null,
63448
63450
  /* @__PURE__ */ B("div", { children: [
63449
- /* @__PURE__ */ x("div", { children: r && (d ? /* @__PURE__ */ x(
63451
+ /* @__PURE__ */ x("div", { children: r ? d ? /* @__PURE__ */ x(
63450
63452
  "video",
63451
63453
  {
63452
63454
  src: r,
@@ -63463,14 +63465,14 @@ function yce({
63463
63465
  alt: e,
63464
63466
  className: "h-full w-full rounded-md"
63465
63467
  }
63466
- )) }),
63468
+ ) : null }),
63467
63469
  /* @__PURE__ */ B("div", { className: "flex flex-col gap-[2px] p-3", children: [
63468
63470
  /* @__PURE__ */ x(Xw, { className: "text-lg font-medium", children: e }),
63469
63471
  /* @__PURE__ */ x(Xw, { className: "line-clamp-3 text-base font-normal text-f1-foreground-secondary", children: t })
63470
63472
  ] })
63471
63473
  ] })
63472
63474
  ] }),
63473
- s && /* @__PURE__ */ x(Cf, { className: "p-3", children: s.map(
63475
+ s ? /* @__PURE__ */ x(Cf, { className: "p-3", children: s.map(
63474
63476
  (h) => h.type === "upsell" ? /* @__PURE__ */ x(
63475
63477
  X_,
63476
63478
  {
@@ -63494,7 +63496,7 @@ function yce({
63494
63496
  },
63495
63497
  h.label
63496
63498
  )
63497
- ) })
63499
+ ) }) : null
63498
63500
  ] }) });
63499
63501
  }
63500
63502
  const bce = ct(yce), _ce = ({ onDismiss: r }) => {
@@ -63544,10 +63546,10 @@ function xce({
63544
63546
  t ? "items-start" : "items-center"
63545
63547
  ),
63546
63548
  children: [
63547
- r && /* @__PURE__ */ x("div", { className: "flex h-6 w-6 flex-shrink-0 items-center justify-center rounded-sm border border-solid text-f1-icon-promote [background:hsl(var(--promote-50)/0.1)] [border-color:hsl(var(--promote-50)/0.1)]", children: /* @__PURE__ */ x(it, { icon: r, size: "sm" }) }),
63549
+ r ? /* @__PURE__ */ x("div", { className: "flex h-6 w-6 flex-shrink-0 items-center justify-center rounded-sm border border-solid text-f1-icon-promote [background:hsl(var(--promote-50)/0.1)] [border-color:hsl(var(--promote-50)/0.1)]", children: /* @__PURE__ */ x(it, { icon: r, size: "sm" }) }) : null,
63548
63550
  /* @__PURE__ */ B("div", { className: "flex flex-col gap-0.5", children: [
63549
63551
  /* @__PURE__ */ x("p", { className: "font-medium text-f1-foreground", children: e }),
63550
- t && /* @__PURE__ */ x("p", { className: "text-base text-f1-foreground-secondary", children: t })
63552
+ t ? /* @__PURE__ */ x("p", { className: "text-base text-f1-foreground-secondary", children: t }) : null
63551
63553
  ] })
63552
63554
  ]
63553
63555
  }
@@ -63570,7 +63572,7 @@ function xce({
63570
63572
  ]
63571
63573
  }
63572
63574
  ),
63573
- i && /* @__PURE__ */ x(
63575
+ i ? /* @__PURE__ */ x(
63574
63576
  "div",
63575
63577
  {
63576
63578
  className: oe(
@@ -63579,7 +63581,7 @@ function xce({
63579
63581
  ),
63580
63582
  children: /* @__PURE__ */ x(_ce, { onDismiss: i })
63581
63583
  }
63582
- )
63584
+ ) : null
63583
63585
  ] })
63584
63586
  }
63585
63587
  ) });
@@ -63618,8 +63620,8 @@ const Hde = ct(xce), $V = Mr(
63618
63620
  primaryAction: o,
63619
63621
  secondaryAction: s,
63620
63622
  children: [
63621
- e?.variant === "promote" && a(e),
63622
- t?.variant === "promote" && a(t)
63623
+ e?.variant === "promote" ? a(e) : null,
63624
+ t?.variant === "promote" ? a(t) : null
63623
63625
  ]
63624
63626
  }
63625
63627
  );
@@ -63699,7 +63701,7 @@ function wce({
63699
63701
  }
63700
63702
  )
63701
63703
  ] }),
63702
- S?.type === "upsell" && S.showConfirmation && b && /* @__PURE__ */ x(
63704
+ S?.type === "upsell" && S.showConfirmation && b ? /* @__PURE__ */ x(
63703
63705
  rI,
63704
63706
  {
63705
63707
  open: !0,
@@ -63711,7 +63713,7 @@ function wce({
63711
63713
  closeLabel: S.closeLabel,
63712
63714
  portalContainer: null
63713
63715
  }
63714
- )
63716
+ ) : null
63715
63717
  ] });
63716
63718
  }
63717
63719
  const $de = ct(wce), Ude = ({
@@ -63978,7 +63980,7 @@ const $de = ct(wce), Ude = ({
63978
63980
  ) }, b.id)) })
63979
63981
  ] }),
63980
63982
  /* @__PURE__ */ B(Cf, { 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", children: [
63981
- /* @__PURE__ */ x("div", { className: "flex min-w-[7.5rem] items-center justify-start gap-1", children: m && /* @__PURE__ */ B(ot, { children: [
63983
+ /* @__PURE__ */ x("div", { className: "flex min-w-[7.5rem] items-center justify-start gap-1", children: m ? /* @__PURE__ */ B(ot, { children: [
63982
63984
  /* @__PURE__ */ x(
63983
63985
  "button",
63984
63986
  {
@@ -64006,9 +64008,9 @@ const $de = ct(wce), Ude = ({
64006
64008
  children: /* @__PURE__ */ x(it, { icon: XN, size: "sm" })
64007
64009
  }
64008
64010
  )
64009
- ] }) }),
64011
+ ] }) : null }),
64010
64012
  /* @__PURE__ */ B("div", { className: "flex items-center gap-2", children: [
64011
- y && /* @__PURE__ */ x(
64013
+ y ? /* @__PURE__ */ x(
64012
64014
  at,
64013
64015
  {
64014
64016
  type: "button",
@@ -64017,7 +64019,7 @@ const $de = ct(wce), Ude = ({
64017
64019
  label: u?.ai?.growth?.questionCard?.skipLabel ?? "Skip",
64018
64020
  onClick: t
64019
64021
  }
64020
- ),
64022
+ ) : null,
64021
64023
  /* @__PURE__ */ x(
64022
64024
  at,
64023
64025
  {
@@ -64633,12 +64635,12 @@ function fN({
64633
64635
  onClick: (E) => E.stopPropagation()
64634
64636
  }
64635
64637
  ) }),
64636
- S && /* @__PURE__ */ B("span", { id: `${a}-status`, className: "sr-only", children: [
64638
+ S ? /* @__PURE__ */ B("span", { id: `${a}-status`, className: "sr-only", children: [
64637
64639
  w,
64638
64640
  " (",
64639
64641
  S,
64640
64642
  ")"
64641
- ] }),
64643
+ ] }) : null,
64642
64644
  /* @__PURE__ */ x(
64643
64645
  xf,
64644
64646
  {
@@ -64755,19 +64757,19 @@ function sg({
64755
64757
  /* @__PURE__ */ B("div", { className: "flex min-w-0 flex-1 flex-col", children: [
64756
64758
  /* @__PURE__ */ B("div", { className: "flex min-w-0 items-start gap-1", children: [
64757
64759
  /* @__PURE__ */ x("h3", { className: "text-base font-medium text-f1-foreground", children: r }),
64758
- t && /* @__PURE__ */ x("div", { className: "flex shrink-0 items-center text-f1-foreground-secondary", children: /* @__PURE__ */ x(qw, { info: t }) })
64760
+ t ? /* @__PURE__ */ x("div", { className: "flex shrink-0 items-center text-f1-foreground-secondary", children: /* @__PURE__ */ x(qw, { info: t }) }) : null
64759
64761
  ] }),
64760
- e && /* @__PURE__ */ x("p", { className: "text-base text-f1-foreground-secondary", children: e })
64762
+ e ? /* @__PURE__ */ x("p", { className: "text-base text-f1-foreground-secondary", children: e }) : null
64761
64763
  ] }),
64762
- (u || J) && /* @__PURE__ */ B("div", { className: re, children: [
64763
- u && /* @__PURE__ */ x(
64764
+ u || J ? /* @__PURE__ */ B("div", { className: re, children: [
64765
+ u ? /* @__PURE__ */ x(
64764
64766
  fN,
64765
64767
  {
64766
64768
  ...u,
64767
64769
  onOpenChange: T
64768
64770
  }
64769
- ),
64770
- J && /* @__PURE__ */ B(
64771
+ ) : null,
64772
+ J ? /* @__PURE__ */ B(
64771
64773
  es,
64772
64774
  {
64773
64775
  open: S,
@@ -64797,8 +64799,8 @@ function sg({
64797
64799
  )
64798
64800
  ]
64799
64801
  }
64800
- )
64801
- ] })
64802
+ ) : null
64803
+ ] }) : null
64802
64804
  ] }),
64803
64805
  /* @__PURE__ */ x("div", { className: "min-h-0 flex-1 overflow-auto", children: /* @__PURE__ */ x(
64804
64806
  Y_,
@@ -64843,45 +64845,49 @@ function sg({
64843
64845
  children: r
64844
64846
  }
64845
64847
  ),
64846
- t && /* @__PURE__ */ x("div", { className: "flex shrink-0 items-center text-f1-foreground-secondary", children: /* @__PURE__ */ x(qw, { info: t }) })
64848
+ t ? /* @__PURE__ */ x("div", { className: "flex shrink-0 items-center text-f1-foreground-secondary", children: /* @__PURE__ */ x(qw, { info: t }) }) : null
64847
64849
  ] }),
64848
- (e || y) && // Baseline-aligned row so the link sits on the description's own
64849
- // line; the text keeps its own truncation, the link never shrinks.
64850
- /* @__PURE__ */ B("div", { className: "flex items-baseline gap-1", children: [
64851
- e && /* @__PURE__ */ x(bl, { className: "text-base text-f1-foreground-secondary", children: e }),
64852
- y && /* @__PURE__ */ B(ot, { children: [
64853
- e && // Separator, not content: hidden from the accessibility tree
64854
- // so the description and the action read as two things rather
64855
- // than one sentence with a stray character in it.
64856
- /* @__PURE__ */ x(
64857
- "span",
64858
- {
64859
- "aria-hidden": "true",
64860
- className: "shrink-0 text-base text-f1-foreground-tertiary",
64861
- children: "·"
64862
- }
64863
- ),
64864
- /* @__PURE__ */ x(
64865
- "button",
64866
- {
64867
- type: "button",
64868
- onClick: y.onClick,
64869
- className: "shrink-0 cursor-pointer whitespace-nowrap border-0 bg-transparent p-0 text-base font-medium text-f1-foreground-secondary underline hover:text-f1-foreground",
64870
- children: y.label
64871
- }
64872
- )
64850
+ e || y ? (
64851
+ // Baseline-aligned row so the link sits on the description's own
64852
+ // line; the text keeps its own truncation, the link never shrinks.
64853
+ /* @__PURE__ */ B("div", { className: "flex items-baseline gap-1", children: [
64854
+ e ? /* @__PURE__ */ x(bl, { className: "text-base text-f1-foreground-secondary", children: e }) : null,
64855
+ y ? /* @__PURE__ */ B(ot, { children: [
64856
+ e ? (
64857
+ // Separator, not content: hidden from the accessibility tree
64858
+ // so the description and the action read as two things rather
64859
+ // than one sentence with a stray character in it.
64860
+ /* @__PURE__ */ x(
64861
+ "span",
64862
+ {
64863
+ "aria-hidden": "true",
64864
+ className: "shrink-0 text-base text-f1-foreground-tertiary",
64865
+ children: "·"
64866
+ }
64867
+ )
64868
+ ) : null,
64869
+ /* @__PURE__ */ x(
64870
+ "button",
64871
+ {
64872
+ type: "button",
64873
+ onClick: y.onClick,
64874
+ className: "shrink-0 cursor-pointer whitespace-nowrap border-0 bg-transparent p-0 text-base font-medium text-f1-foreground-secondary underline hover:text-f1-foreground",
64875
+ children: y.label
64876
+ }
64877
+ )
64878
+ ] }) : null
64873
64879
  ] })
64874
- ] })
64880
+ ) : null
64875
64881
  ] }),
64876
64882
  /* @__PURE__ */ B("div", { className: re, children: [
64877
- u && /* @__PURE__ */ x(
64883
+ u ? /* @__PURE__ */ x(
64878
64884
  fN,
64879
64885
  {
64880
64886
  ...u,
64881
64887
  onOpenChange: T
64882
64888
  }
64883
- ),
64884
- $ && /* @__PURE__ */ x(
64889
+ ) : null,
64890
+ $ ? /* @__PURE__ */ x(
64885
64891
  $o,
64886
64892
  {
64887
64893
  label: m ? E.actions.collapse : E.actions.expand,
@@ -64892,8 +64898,8 @@ function sg({
64892
64898
  compact: !0,
64893
64899
  onClick: () => _?.(!m)
64894
64900
  }
64895
- ),
64896
- q && /* @__PURE__ */ B(
64901
+ ) : null,
64902
+ q ? /* @__PURE__ */ B(
64897
64903
  es,
64898
64904
  {
64899
64905
  open: S,
@@ -64925,7 +64931,7 @@ function sg({
64925
64931
  format: "markdown"
64926
64932
  }
64927
64933
  ) }) : /* @__PURE__ */ B(ot, { children: [
64928
- F && /* @__PURE__ */ B("div", { className: "mb-1 flex flex-col items-start gap-2 border-0 border-b border-solid border-f1-border-secondary p-3", children: [
64934
+ F ? /* @__PURE__ */ B("div", { className: "mb-1 flex flex-col items-start gap-2 border-0 border-b border-solid border-f1-border-secondary p-3", children: [
64929
64935
  /* @__PURE__ */ x(bl, { className: "text-base font-medium text-f1-foreground-tertiary", children: E.ai.dashboardItem.chartType }),
64930
64936
  /* @__PURE__ */ x(
64931
64937
  Q5,
@@ -64945,8 +64951,8 @@ function sg({
64945
64951
  fullWidth: !0
64946
64952
  }
64947
64953
  )
64948
- ] }),
64949
- H && /* @__PURE__ */ x(Ei, { children: /* @__PURE__ */ x(
64954
+ ] }) : null,
64955
+ H ? /* @__PURE__ */ x(Ei, { children: /* @__PURE__ */ x(
64950
64956
  Ct,
64951
64957
  {
64952
64958
  onSelect: (j) => {
@@ -64957,9 +64963,9 @@ function sg({
64957
64963
  /* @__PURE__ */ x("span", { className: "flex-1", children: E.ai.dashboardItem.dataExplanation })
64958
64964
  ] })
64959
64965
  }
64960
- ) }),
64966
+ ) }) : null,
64961
64967
  Y,
64962
- z && /* @__PURE__ */ x(Ei, { children: /* @__PURE__ */ B(_l, { children: [
64968
+ z ? /* @__PURE__ */ x(Ei, { children: /* @__PURE__ */ B(_l, { children: [
64963
64969
  /* @__PURE__ */ x(xl, { className: "mx-1 rounded-sm px-2", children: /* @__PURE__ */ B("div", { className: "flex w-full flex-row items-center gap-2 pr-2", children: [
64964
64970
  /* @__PURE__ */ x(it, { icon: ZN }),
64965
64971
  /* @__PURE__ */ x("span", { className: "flex-1 text-base font-medium", children: E.ai.dataDownload.title })
@@ -64969,14 +64975,14 @@ function sg({
64969
64975
  {
64970
64976
  onClick: j.onClick,
64971
64977
  children: /* @__PURE__ */ B("div", { className: "flex w-full flex-row items-center gap-2", children: [
64972
- j.icon && /* @__PURE__ */ x(it, { icon: j.icon }),
64978
+ j.icon ? /* @__PURE__ */ x(it, { icon: j.icon }) : null,
64973
64979
  /* @__PURE__ */ x("span", { className: "flex-1", children: j.label })
64974
64980
  ] })
64975
64981
  },
64976
64982
  j.label
64977
64983
  )) }) })
64978
- ] }) }),
64979
- V && /* @__PURE__ */ x(Ei, { children: /* @__PURE__ */ x(
64984
+ ] }) }) : null,
64985
+ V ? /* @__PURE__ */ x(Ei, { children: /* @__PURE__ */ x(
64980
64986
  Ct,
64981
64987
  {
64982
64988
  onClick: () => {
@@ -64988,13 +64994,13 @@ function sg({
64988
64994
  /* @__PURE__ */ x("span", { className: "flex-1", children: E.actions.delete })
64989
64995
  ] })
64990
64996
  }
64991
- ) })
64997
+ ) }) : null
64992
64998
  ] })
64993
64999
  }
64994
65000
  )
64995
65001
  ]
64996
65002
  }
64997
- )
65003
+ ) : null
64998
65004
  ] })
64999
65005
  ] }),
65000
65006
  /* @__PURE__ */ x("div", { className: oe("flex-1", !b && "min-h-0"), children: n ? o : s })
@@ -65102,7 +65108,7 @@ function Qce({
65102
65108
  g.current = !1, u();
65103
65109
  },
65104
65110
  children: [
65105
- O && /* @__PURE__ */ x(
65111
+ O ? /* @__PURE__ */ x(
65106
65112
  Ct,
65107
65113
  {
65108
65114
  onSelect: (F) => {
@@ -65110,7 +65116,7 @@ function Qce({
65110
65116
  },
65111
65117
  children: a
65112
65118
  }
65113
- ),
65119
+ ) : null,
65114
65120
  R.map((F) => /* @__PURE__ */ x(
65115
65121
  Ct,
65116
65122
  {
@@ -65124,7 +65130,7 @@ function Qce({
65124
65130
  },
65125
65131
  F.key
65126
65132
  )),
65127
- z && /* @__PURE__ */ x(
65133
+ z ? /* @__PURE__ */ x(
65128
65134
  Ct,
65129
65135
  {
65130
65136
  onSelect: (F) => {
@@ -65132,7 +65138,7 @@ function Qce({
65132
65138
  },
65133
65139
  children: o
65134
65140
  }
65135
- )
65141
+ ) : null
65136
65142
  ]
65137
65143
  }
65138
65144
  )
@@ -66172,7 +66178,7 @@ function gfe({
66172
66178
  ),
66173
66179
  children: [
66174
66180
  /* @__PURE__ */ x("span", { className: "whitespace-nowrap text-3xl font-semibold leading-none tracking-tight text-f1-foreground", children: r }),
66175
- e && e.direction !== "flat" && /* @__PURE__ */ B("div", { className: "flex shrink-0 items-center", children: [
66181
+ e && e.direction !== "flat" ? /* @__PURE__ */ B("div", { className: "flex shrink-0 items-center", children: [
66176
66182
  e.direction === "up" ? /* @__PURE__ */ x(
66177
66183
  it,
66178
66184
  {
@@ -66209,7 +66215,7 @@ function gfe({
66209
66215
  ]
66210
66216
  }
66211
66217
  )
66212
- ] })
66218
+ ] }) : null
66213
66219
  ]
66214
66220
  }
66215
66221
  )
@@ -66245,13 +66251,13 @@ function mfe({
66245
66251
  onAskAi: o,
66246
66252
  onAskAiTarget: s,
66247
66253
  itemId: r.id,
66248
- children: c && /* @__PURE__ */ x(
66254
+ children: c ? /* @__PURE__ */ x(
66249
66255
  gfe,
66250
66256
  {
66251
66257
  value: r.valueFormatter ? r.valueFormatter(c.value) : vfe(c.value, r.format, r.decimals),
66252
66258
  trend: v
66253
66259
  }
66254
- )
66260
+ ) : null
66255
66261
  }
66256
66262
  );
66257
66263
  }
@@ -66544,7 +66550,7 @@ function wfe({
66544
66550
  (Y) => p.get(Y)?.type === "collection"
66545
66551
  );
66546
66552
  return /* @__PURE__ */ B("div", { className: "relative", children: [
66547
- $ && /* @__PURE__ */ x(yN, { active: !!J(re - 1) }),
66553
+ $ ? /* @__PURE__ */ x(yN, { active: !!J(re - 1) }) : null,
66548
66554
  /* @__PURE__ */ x(
66549
66555
  "div",
66550
66556
  {
@@ -66599,7 +66605,7 @@ function wfe({
66599
66605
  })
66600
66606
  }
66601
66607
  ),
66602
- $ && /* @__PURE__ */ x(
66608
+ $ ? /* @__PURE__ */ x(
66603
66609
  "div",
66604
66610
  {
66605
66611
  className: "group/resize absolute -bottom-3.5 mx-auto flex h-3 w-full items-center justify-center hover:cursor-ns-resize",
@@ -66622,11 +66628,11 @@ function wfe({
66622
66628
  },
66623
66629
  children: /* @__PURE__ */ x("div", { className: "h-1 w-16 rounded-full bg-transparent transition-colors group-hover/resize:bg-f1-foreground-tertiary" })
66624
66630
  }
66625
- )
66631
+ ) : null
66626
66632
  ] }, re);
66627
66633
  }),
66628
- $ && /* @__PURE__ */ x(yN, { active: !!J(H.length - 1) }),
66629
- C && /* @__PURE__ */ x(
66634
+ $ ? /* @__PURE__ */ x(yN, { active: !!J(H.length - 1) }) : null,
66635
+ C ? /* @__PURE__ */ x(
66630
66636
  "div",
66631
66637
  {
66632
66638
  ref: P,
@@ -66634,7 +66640,7 @@ function wfe({
66634
66640
  style: { transform: "translate(-9999px, -9999px)" },
66635
66641
  children: p.get(C)?.title ?? ""
66636
66642
  }
66637
- )
66643
+ ) : null
66638
66644
  ] });
66639
66645
  }
66640
66646
  function Sfe({
@@ -66674,7 +66680,7 @@ function Sfe({
66674
66680
  c = !0, v.disconnect(), p.disconnect();
66675
66681
  };
66676
66682
  }, [r, o]), /* @__PURE__ */ B(ot, { children: [
66677
- t && /* @__PURE__ */ x(mN, {}),
66683
+ t ? /* @__PURE__ */ x(mN, {}) : null,
66678
66684
  /* @__PURE__ */ B(
66679
66685
  "div",
66680
66686
  {
@@ -66685,26 +66691,28 @@ function Sfe({
66685
66691
  e && "opacity-40 scale-[0.97]"
66686
66692
  ),
66687
66693
  children: [
66688
- i && // Pointer-based drag (not native HTML5 DnD): a `pointerdown` on the
66689
- // grip starts a document-tracked gesture. Native drag was unusable
66690
- // here — its ghost never tracked the cursor over a chart canvas, and
66691
- // arming depended on the grip sitting inside the draggable card's
66692
- // box, so the grip's outer half and full-width charts never dragged.
66693
- // `touch-none` stops touch scrolling from stealing the gesture.
66694
- /* @__PURE__ */ x(
66695
- "div",
66696
- {
66697
- onPointerDown: (u) => a(r, u),
66698
- 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",
66699
- "aria-label": "Drag to reorder",
66700
- children: /* @__PURE__ */ x(it, { icon: Sf, size: "xs" })
66701
- }
66702
- ),
66694
+ i ? (
66695
+ // Pointer-based drag (not native HTML5 DnD): a `pointerdown` on the
66696
+ // grip starts a document-tracked gesture. Native drag was unusable
66697
+ // here — its ghost never tracked the cursor over a chart canvas, and
66698
+ // arming depended on the grip sitting inside the draggable card's
66699
+ // box, so the grip's outer half and full-width charts never dragged.
66700
+ // `touch-none` stops touch scrolling from stealing the gesture.
66701
+ /* @__PURE__ */ x(
66702
+ "div",
66703
+ {
66704
+ onPointerDown: (u) => a(r, u),
66705
+ 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",
66706
+ "aria-label": "Drag to reorder",
66707
+ children: /* @__PURE__ */ x(it, { icon: Sf, size: "xs" })
66708
+ }
66709
+ )
66710
+ ) : null,
66703
66711
  s
66704
66712
  ]
66705
66713
  }
66706
66714
  ),
66707
- n && /* @__PURE__ */ x(mN, {})
66715
+ n ? /* @__PURE__ */ x(mN, {}) : null
66708
66716
  ] });
66709
66717
  }
66710
66718
  function mN() {
@@ -67099,7 +67107,7 @@ const KV = ({
67099
67107
  {
67100
67108
  className: oe("flex flex-col gap-5 pb-10", I && "h-full pb-0"),
67101
67109
  children: [
67102
- (r || m || u || g) && /* @__PURE__ */ B("div", { className: "flex items-center justify-between gap-4 px-5", children: [
67110
+ r || m || u || g ? /* @__PURE__ */ B("div", { className: "flex items-center justify-between gap-4 px-5", children: [
67103
67111
  /* @__PURE__ */ x("div", { className: "w-full", children: r ? /* @__PURE__ */ x(
67104
67112
  Lfe,
67105
67113
  {
@@ -67110,23 +67118,23 @@ const KV = ({
67110
67118
  }
67111
67119
  ) : m ? /* @__PURE__ */ x(Efe, {}) : null }),
67112
67120
  /* @__PURE__ */ B("div", { className: "flex shrink-0 items-center gap-2", children: [
67113
- g && /* @__PURE__ */ x(
67121
+ g ? /* @__PURE__ */ x(
67114
67122
  tG,
67115
67123
  {
67116
67124
  navigationFilters: g,
67117
67125
  currentNavigationFilters: w,
67118
67126
  onChangeNavigationFilters: C
67119
67127
  }
67120
- ),
67121
- u && /* @__PURE__ */ x(
67128
+ ) : null,
67129
+ u ? /* @__PURE__ */ x(
67122
67130
  Mfe,
67123
67131
  {
67124
67132
  onExportExcel: T,
67125
67133
  isExporting: D
67126
67134
  }
67127
- )
67135
+ ) : null
67128
67136
  ] })
67129
- ] }),
67137
+ ] }) : null,
67130
67138
  /* @__PURE__ */ x(
67131
67139
  "div",
67132
67140
  {
@@ -67283,7 +67291,7 @@ const jde = rr(
67283
67291
  /* @__PURE__ */ x("div", { className: "flex-shrink-0", "aria-hidden": "true", children: /* @__PURE__ */ x(l5, { size: "small", className: "text-f1-foreground-inverse" }) })
67284
67292
  ) : y && /* @__PURE__ */ x("div", { className: "flex-shrink-0", children: /* @__PURE__ */ x(EN, { type: y, size: "sm" }) }),
67285
67293
  /* @__PURE__ */ B("div", { className: "flex flex-1 flex-col gap-1", children: [
67286
- r && /* @__PURE__ */ x(
67294
+ r ? /* @__PURE__ */ x(
67287
67295
  "p",
67288
67296
  {
67289
67297
  className: Ofe({
@@ -67292,10 +67300,10 @@ const jde = rr(
67292
67300
  }),
67293
67301
  children: r
67294
67302
  }
67295
- ),
67296
- e && /* @__PURE__ */ x("p", { className: "line-clamp-3 text-base text-f1-foreground-inverse-secondary", children: e })
67303
+ ) : null,
67304
+ e ? /* @__PURE__ */ x("p", { className: "line-clamp-3 text-base text-f1-foreground-inverse-secondary", children: e }) : null
67297
67305
  ] }),
67298
- !A && M && /* @__PURE__ */ B("div", { className: "dark flex flex-shrink-0 flex-row flex-wrap items-center gap-3", children: [
67306
+ !A && M ? /* @__PURE__ */ B("div", { className: "dark flex flex-shrink-0 flex-row flex-wrap items-center gap-3", children: [
67299
67307
  D.map((P) => /* @__PURE__ */ x(
67300
67308
  "div",
67301
67309
  {
@@ -67315,8 +67323,8 @@ const jde = rr(
67315
67323
  },
67316
67324
  `button-${P.label}`
67317
67325
  ))
67318
- ] }),
67319
- i && !A && (!M || !E) && /* @__PURE__ */ x("div", { className: "dark flex-shrink-0", children: /* @__PURE__ */ x(
67326
+ ] }) : null,
67327
+ i && !A && (!M || !E) ? /* @__PURE__ */ x("div", { className: "dark flex-shrink-0", children: /* @__PURE__ */ x(
67320
67328
  at,
67321
67329
  {
67322
67330
  variant: "outline",
@@ -67326,11 +67334,11 @@ const jde = rr(
67326
67334
  onClick: _,
67327
67335
  label: l.actions.close
67328
67336
  }
67329
- ) })
67337
+ ) }) : null
67330
67338
  ]
67331
67339
  }
67332
67340
  ),
67333
- !A && n && n > 0 && /* @__PURE__ */ x("div", { className: "absolute bottom-0 left-0 right-0 h-[3px] w-full overflow-hidden rounded-b-lg", children: /* @__PURE__ */ x(
67341
+ !A && n && n > 0 ? /* @__PURE__ */ x("div", { className: "absolute bottom-0 left-0 right-0 h-[3px] w-full overflow-hidden rounded-b-lg", children: /* @__PURE__ */ x(
67334
67342
  "div",
67335
67343
  {
67336
67344
  className: oe("h-full w-full", b),
@@ -67339,7 +67347,7 @@ const jde = rr(
67339
67347
  transition: v ? "none" : "transform 16ms linear"
67340
67348
  }
67341
67349
  }
67342
- ) })
67350
+ ) }) : null
67343
67351
  ]
67344
67352
  }
67345
67353
  );
@@ -67537,7 +67545,7 @@ const Bfe = {
67537
67545
  Bfe[e]
67538
67546
  ),
67539
67547
  style: n,
67540
- children: /* @__PURE__ */ x(Rc, { children: y && /* @__PURE__ */ B("div", { className: "flex w-full flex-col p-6 sm:w-96", children: [
67548
+ children: /* @__PURE__ */ x(Rc, { children: y ? /* @__PURE__ */ B("div", { className: "flex w-full flex-col p-6 sm:w-96", children: [
67541
67549
  /* @__PURE__ */ x("div", { ref: c, children: /* @__PURE__ */ x(
67542
67550
  Gfe,
67543
67551
  {
@@ -67577,7 +67585,7 @@ const Bfe = {
67577
67585
  }) })
67578
67586
  }
67579
67587
  )
67580
- ] }, "toast-panel") })
67588
+ ] }, "toast-panel") : null })
67581
67589
  }
67582
67590
  );
67583
67591
  }, Wfe = ({
@@ -67615,10 +67623,10 @@ const Bfe = {
67615
67623
  const v = l ? e?.mobile || "body" : e?.desktop || "body", p = document.querySelector(v) ?? document.body;
67616
67624
  h.current !== p && (h.current = p, d((g) => g + 1)), c(p);
67617
67625
  }, [l, e?.mobile, e?.desktop]), /* @__PURE__ */ B(ot, { children: [
67618
- s && n && typeof document < "u" && u != null && Tf(
67626
+ s && n && typeof document < "u" && u != null ? Tf(
67619
67627
  /* @__PURE__ */ x(nu, { children: /* @__PURE__ */ x(Hfe, { items: t }) }, f),
67620
67628
  u
67621
- ),
67629
+ ) : null,
67622
67630
  r
67623
67631
  ] });
67624
67632
  }, $fe = $a(