@factorialco/f0-react 11.9.0 → 11.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. package/dist/{ChatPostComposerDialog-4tkKtztM.js → ChatPostComposerDialog-s4prfEkC.js} +2 -2
  2. package/dist/{CoachmarkProvider-BNWfnrT1.js → CoachmarkProvider-DxDuinVA.js} +2 -2
  3. package/dist/{DocumentToolbar-Bje4tVB_.js → DocumentToolbar-BuctnVHN.js} +2 -2
  4. package/dist/{DocxViewer-BDFFylFv.js → DocxViewer-CAGBzliC.js} +1 -1
  5. package/dist/{F0AiProcessingOverlay-BdPY38Zv.js → F0AiProcessingOverlay-Dl_56dL9.js} +1 -1
  6. package/dist/{F0CanvasPanel-Dx9os0A-.js → F0CanvasPanel-C8MuYy_8.js} +541 -536
  7. package/dist/{F0DocumentViewer-evuq7vey.js → F0DocumentViewer-C9gCxjxk.js} +3 -3
  8. package/dist/F0DocumentViewer-CUkiuREP.js +3 -0
  9. package/dist/{F0Map-C2xvlx3b.js → F0Map-D4esyFFE.js} +3 -3
  10. package/dist/{F0VideoPlayer-DEbffC7L.js → F0VideoPlayer-CUUQmvVm.js} +1 -1
  11. package/dist/F0VideoPlayer-rLZ5qvuq.js +1 -0
  12. package/dist/{Map-DP1TxvNC.js → Map-DFCc5qR0.js} +3 -3
  13. package/dist/{PdfThumbnail-ChSb97op.js → PdfThumbnail-D09QDkNP.js} +1 -1
  14. package/dist/{SheetViewer-DZetwBx5.js → SheetViewer-Cvd2xwE5.js} +3 -3
  15. package/dist/{TextViewer-B82aLSSM.js → TextViewer-Bk0Xz1nv.js} +1 -1
  16. package/dist/ai.d.ts +2 -2
  17. package/dist/ai.js +2 -2
  18. package/dist/component-status.js +1 -1
  19. package/dist/experimental.d.ts +18 -2
  20. package/dist/experimental.js +646 -641
  21. package/dist/{exports-CEXBjcFr.d.ts → exports-DsGJH4CD.d.ts} +1 -1
  22. package/dist/f0.d.ts +3 -3
  23. package/dist/f0.js +6 -6
  24. package/dist/{index-CcW099M2.d.ts → index-CL4pclEl.d.ts} +12 -0
  25. package/dist/{maplibre-2JuTLOrK.js → maplibre-B5inXAW8.js} +1 -1
  26. package/dist/{pdfWorker-B4pu3I7O.js → pdfWorker-5t9rytw2.js} +1 -1
  27. package/dist/styles.css +1 -1
  28. package/dist/{types-5-4xFFDx.d.ts → types-Di2cYBLz.d.ts} +1 -1
  29. package/package.json +1 -1
  30. package/dist/F0DocumentViewer-DtrTLkWs.js +0 -3
  31. package/dist/F0VideoPlayer-CAgvYcAY.js +0 -1
@@ -1,9 +1,9 @@
1
1
  import { o as e } from "./rolldown-runtime-BItFwnF5.js";
2
- import { $ as t, $n as n, $r as r, $t as i, Ar as a, At as o, B as s, Br as c, Bt as l, C as u, Cn as d, Cr as f, Ct as p, Dn as m, Dr as h, Dt as g, En as _, Er as v, Et as y, F as b, Fr as x, Ft as S, G as C, Gn as w, Gr as T, H as E, Hn as D, Hr as O, I as k, Ir as A, It as j, J as M, Jr as N, K as P, Kt as F, L as I, Lr as ee, M as te, Mr as ne, Mt as re, N as ie, Nr as ae, On as L, Or as oe, Ot as se, P as ce, Pr as le, Q as ue, Qn as de, Qr as fe, R as pe, Rr as me, Rt as he, S as R, Sn as ge, Sr as _e, T as ve, Tn as ye, Tr as be, Tt as xe, U as Se, Un as Ce, Ur as we, V as Te, W as Ee, Wn as De, Wr as Oe, X as ke, Xn as Ae, Xr as je, Xt as Me, Y as Ne, Yn as Pe, Yr as Fe, Z as Ie, Zn as Le, Zr as Re, _ as ze, ai as Be, an as Ve, at as He, b as Ue, br as We, ci as Ge, ct as Ke, d as qe, di as Je, dr as Ye, dt as Xe, ei as Ze, er as Qe, et as $e, fi as et, fn as tt, fr as nt, ft as rt, g as it, gr as at, h as ot, hi as st, hr as ct, ii as lt, in as ut, ir as dt, it as ft, j as pt, jr as mt, jt as ht, kr as gt, li as _t, lr as vt, lt as yt, m as bt, mi as xt, mr as St, mt as Ct, n as wt, nr as Tt, nt as Et, oi as Dt, ot as Ot, p as kt, pr as At, pt as jt, q as Mt, qn as Nt, qr as Pt, r as Ft, ri as It, rn as Lt, rr as Rt, rt as zt, s as Bt, si as Vt, st as Ht, t as Ut, ti as Wt, tr as Gt, tt as Kt, ui as qt, ur as Jt, ut as Yt, v as Xt, vr as Zt, w as Qt, wn as $t, wr as en, wt as tn, x as nn, xr as rn, y as an, yr as on, z as sn, zr as cn } from "./CoachmarkProvider-BNWfnrT1.js";
2
+ import { $ as t, $n as n, $r as r, $t as i, Ar as a, At as o, B as s, Br as c, Bt as l, C as u, Cn as d, Cr as f, Ct as p, Dn as m, Dr as h, Dt as g, En as _, Er as v, Et as y, F as b, Fr as x, Ft as S, G as C, Gn as w, Gr as T, H as E, Hn as D, Hr as O, I as k, Ir as A, It as j, J as M, Jr as N, K as P, Kt as F, L as I, Lr as ee, M as te, Mr as ne, Mt as re, N as ie, Nr as ae, On as L, Or as oe, Ot as se, P as ce, Pr as le, Q as ue, Qn as de, Qr as fe, R as pe, Rr as me, Rt as he, S as R, Sn as ge, Sr as _e, T as ve, Tn as ye, Tr as be, Tt as xe, U as Se, Un as Ce, Ur as we, V as Te, W as Ee, Wn as De, Wr as Oe, X as ke, Xn as Ae, Xr as je, Xt as Me, Y as Ne, Yn as Pe, Yr as Fe, Z as Ie, Zn as Le, Zr as Re, _ as ze, ai as Be, an as Ve, at as He, b as Ue, br as We, ci as Ge, ct as Ke, d as qe, di as Je, dr as Ye, dt as Xe, ei as Ze, er as Qe, et as $e, fi as et, fn as tt, fr as nt, ft as rt, g as it, gr as at, h as ot, hi as st, hr as ct, ii as lt, in as ut, ir as dt, it as ft, j as pt, jr as mt, jt as ht, kr as gt, li as _t, lr as vt, lt as yt, m as bt, mi as xt, mr as St, mt as Ct, n as wt, nr as Tt, nt as Et, oi as Dt, ot as Ot, p as kt, pr as At, pt as jt, q as Mt, qn as Nt, qr as Pt, r as Ft, ri as It, rn as Lt, rr as Rt, rt as zt, s as Bt, si as Vt, st as Ht, t as Ut, ti as Wt, tr as Gt, tt as Kt, ui as qt, ur as Jt, ut as Yt, v as Xt, vr as Zt, w as Qt, wn as $t, wr as en, wt as tn, x as nn, xr as rn, y as an, yr as on, z as sn, zr as cn } from "./CoachmarkProvider-DxDuinVA.js";
3
3
  import { $t as ln, A as un, At as dn, Bt as fn, Ft as pn, G as mn, Ht as hn, K as gn, Lt as _n, M as vn, Mt as yn, N as bn, Ot as xn, P as Sn, Pt as Cn, Qt as wn, R as Tn, St as En, U as Dn, Ut as On, Vt as kn, Wt as An, Xt as jn, Zn as Mn, Zt as Nn, _t as Pn, a as Fn, an as In, ar as Ln, b as z, cr as Rn, fn as zn, gn as B, hn as Bn, i as Vn, in as V, ir as Hn, j as Un, jt as Wn, kt as Gn, ln as H, lr as Kn, mn as qn, n as Jn, on as Yn, pn as Xn, pt as Zn, rn as U, rr as Qn, t as $n, un as er, vt as tr, wt as nr, yt as rr, zt as ir } from "./popover-DquDnBKd.js";
4
4
  import { L as W, R as G, a as ar, i as or, o as sr, r as cr, t as lr } from "./tooltip-BX4dSfeL.js";
5
5
  import { i as ur, n as dr, r as fr, t as pr } from "./F0Text-D0_mpu2P.js";
6
- import { $ as mr, $a as hr, $s as gr, Aa as _r, Ar as vr, As as yr, At as br, Ba as xr, Bi as Sr, Bo as Cr, Co as wr, D as Tr, Do as Er, Dr, Ds as Or, Dt as kr, E as Ar, Eo as jr, Er as Mr, F as Nr, Fs as Pr, G as Fr, Go as Ir, Gr as Lr, I as Rr, Ia as zr, Ir as Br, J as Vr, Ja as Hr, Jn as Ur, Jo as Wr, Js as Gr, K as Kr, Ko as qr, Kr as Jr, L as Yr, Ls as Xr, Ma as Zr, Mo as Qr, Mr as $r, Mt as ei, N as ti, No as ni, Nr as ri, Ns as ii, Oa as ai, Oo as oi, Or as si, Os as ci, P as li, Pa as ui, Ps as di, Qo as fi, R as pi, Ra as mi, Ri as hi, Rs as gi, So as _i, Sr as vi, T as yi, Tt as bi, U as xi, Ua as Si, Ui as Ci, Uo as wi, Ur as Ti, V as Ei, Vr as Di, Vs as Oi, W as ki, Wo as Ai, Wr as ji, X as Mi, Xa as Ni, Xo as Pi, Y as Fi, Yn as Ii, Yr as Li, Ys as Ri, Z as zi, Za as Bi, Zo as Vi, Zs as Hi, _ as Ui, _a as Wi, _r as Gi, _t as Ki, a as qi, ac as Ji, an as Yi, ar as Xi, as as Zi, at as Qi, b as $i, bs as ea, c as ta, ca as na, cr as ra, ct as ia, d as aa, da as oa, do as sa, ds as ca, ec as la, es as ua, et as da, f as fa, fa as pa, fo as ma, ft as ha, g as ga, ga as _a, go as va, gr as ya, gs as ba, gt as xa, h as Sa, ha as Ca, hr as wa, hs as Ta, ht as Ea, i as Da, in as Oa, ir as ka, it as Aa, ja, jo as Ma, jr as Na, js as Pa, jt as Fa, ka as Ia, ko as La, kr as Ra, ks as za, l as Ba, la as Va, lc as Ha, lo as Ua, m as Wa, mo as Ga, mr as Ka, ms as qa, mt as Ja, n as Ya, o as Xa, or as Za, os as Qa, p as $a, po as eo, ps as to, pt as no, q as ro, qa as io, qo as ao, qs as oo, r as so, s as co, sa as lo, sc as uo, so as fo, sr as po, t as mo, u as ho, ua as go, uc as _o, uo as vo, v as yo, va as bo, vo as xo, vr as So, vs as Co, vt as wo, wr as To, wt as Eo, x as Do, xo as Oo, xr as ko, y as Ao, ya as jo, yo as Mo, ys as No, z as Po, zo as Fo, zs as Io } from "./F0CanvasPanel-Dx9os0A-.js";
6
+ import { $ as mr, $a as hr, $s as gr, Aa as _r, Ar as vr, As as yr, At as br, Ba as xr, Bi as Sr, Bo as Cr, Co as wr, D as Tr, Do as Er, Dr, Ds as Or, Dt as kr, E as Ar, Eo as jr, Er as Mr, F as Nr, Fs as Pr, G as Fr, Go as Ir, Gr as Lr, I as Rr, Ia as zr, Ir as Br, J as Vr, Ja as Hr, Jn as Ur, Jo as Wr, Js as Gr, K as Kr, Ko as qr, Kr as Jr, L as Yr, Ls as Xr, Ma as Zr, Mo as Qr, Mr as $r, Mt as ei, N as ti, No as ni, Nr as ri, Ns as ii, Oa as ai, Oo as oi, Or as si, Os as ci, P as li, Pa as ui, Ps as di, Qo as fi, R as pi, Ra as mi, Ri as hi, Rs as gi, So as _i, Sr as vi, T as yi, Tt as bi, U as xi, Ua as Si, Ui as Ci, Uo as wi, Ur as Ti, V as Ei, Vr as Di, Vs as Oi, W as ki, Wo as Ai, Wr as ji, X as Mi, Xa as Ni, Xo as Pi, Y as Fi, Yn as Ii, Yr as Li, Ys as Ri, Z as zi, Za as Bi, Zo as Vi, Zs as Hi, _ as Ui, _a as Wi, _r as Gi, _t as Ki, a as qi, ac as Ji, an as Yi, ar as Xi, as as Zi, at as Qi, b as $i, bs as ea, c as ta, ca as na, cr as ra, ct as ia, d as aa, da as oa, do as sa, ds as ca, ec as la, es as ua, et as da, f as fa, fa as pa, fo as ma, ft as ha, g as ga, ga as _a, go as va, gr as ya, gs as ba, gt as xa, h as Sa, ha as Ca, hr as wa, hs as Ta, ht as Ea, i as Da, in as Oa, ir as ka, it as Aa, ja, jo as Ma, jr as Na, js as Pa, jt as Fa, ka as Ia, ko as La, kr as Ra, ks as za, l as Ba, la as Va, lc as Ha, lo as Ua, m as Wa, mo as Ga, mr as Ka, ms as qa, mt as Ja, n as Ya, o as Xa, or as Za, os as Qa, p as $a, po as eo, ps as to, pt as no, q as ro, qa as io, qo as ao, qs as oo, r as so, s as co, sa as lo, sc as uo, so as fo, sr as po, t as mo, u as ho, ua as go, uc as _o, uo as vo, v as yo, va as bo, vo as xo, vr as So, vs as Co, vt as wo, wr as To, wt as Eo, x as Do, xo as Oo, xr as ko, y as Ao, ya as jo, yo as Mo, ys as No, z as Po, zo as Fo, zs as Io } from "./F0CanvasPanel-C8MuYy_8.js";
7
7
  import { A as Lo, C as Ro, F as zo, G as Bo, I as Vo, J as Ho, L as Uo, M as Wo, O as Go, P as Ko, R as qo, S as Jo, U as Yo, V as Xo, W as Zo, Y as Qo, d as $o, f as es, h as ts, i as ns, j as rs, k as is, l as as, m as os, p as ss, q as cs, u as ls, y as us, z as ds } from "./useData-BEZesy_8.js";
8
8
  import { $ as fs, A as ps, An as ms, Ct as hs, Dn as gs, Dr as _s, En as vs, Er as ys, F as bs, In as xs, K as Ss, Mr as Cs, N as ws, Nn as Ts, Nr as Es, Nt as Ds, On as Os, Or as ks, Ot as As, P as js, Pn as Ms, Pr as Ns, St as Ps, X as Fs, Y as Is, Z as Ls, _ as Rs, _t as zs, an as Bs, dr as Vs, et as Hs, g as Us, gt as Ws, h as Gs, hr as Ks, ht as qs, in as Js, jr as Ys, kn as Xs, kr as Zs, lt as Qs, m as $s, mn as ec, mr as tc, nn as nc, nt as rc, p as ic, rt as ac, st as oc, t as sc, tn as cc, tt as lc, un as uc, ur as dc, v as fc, vt as pc, wn as mc, wt as hc, xt as gc, y as _c, yn as vc } from "./F0Select-dBwkgMBc.js";
9
9
  import { t as yc } from "./Check-DAp9gCRh.js";
@@ -11,7 +11,7 @@ import { n as bc } from "./dist-r1yM6TIs.js";
11
11
  import { a as xc, i as Sc, n as Cc, r as wc, s as Tc } from "./dist-Cuwaibqg.js";
12
12
  import './maplibre-gl.css';import './RichText.css';/* empty css */
13
13
  import { t as Ec } from "./useFullscreen-CNwpzjpz.js";
14
- import { C as Dc, D as Oc, E as kc, O as Ac, S as jc, T as Mc, _ as Nc, a as Pc, b as Fc, c as Ic, d as Lc, f as Rc, g as zc, h as Bc, i as Vc, k as Hc, l as Uc, m as Wc, n as Gc, o as Kc, p as qc, r as Jc, t as Yc, u as Xc, v as Zc, w as Qc, x as $c, y as el } from "./F0Map-C2xvlx3b.js";
14
+ import { C as Dc, D as Oc, E as kc, O as Ac, S as jc, T as Mc, _ as Nc, a as Pc, b as Fc, c as Ic, d as Lc, f as Rc, g as zc, h as Bc, i as Vc, k as Hc, l as Uc, m as Wc, n as Gc, o as Kc, p as qc, r as Jc, t as Yc, u as Xc, v as Zc, w as Qc, x as $c, y as el } from "./F0Map-D4esyFFE.js";
15
15
  import { _ as tl, a as nl, c as rl, d as il, f as al, g as ol, h as sl, i as cl, l as ll, m as ul, n as dl, o as fl, p as pl, r as ml, s as hl, t as gl, u as _l } from "./posts-DgzHTT_B.js";
16
16
  /* empty css */
17
17
  import vl, { Children as yl, Fragment as bl, Suspense as xl, cloneElement as Sl, createContext as Cl, forwardRef as wl, isValidElement as Tl, lazy as El, memo as Dl, useCallback as K, useContext as Ol, useEffect as q, useId as kl, useImperativeHandle as Al, useLayoutEffect as jl, useMemo as J, useReducer as Ml, useRef as Y, useState as X, useSyncExternalStore as Nl, useTransition as Pl } from "react";
@@ -19352,7 +19352,7 @@ var BN = ({ channel: e }) => {
19352
19352
  onJumpToBottom: Se
19353
19353
  }) : null]
19354
19354
  });
19355
- }, XN = El(() => import("./ChatPostComposerDialog-4tkKtztM.js").then((e) => ({ default: e.ChatPostComposerDialog }))), ZN = () => {
19355
+ }, XN = El(() => import("./ChatPostComposerDialog-s4prfEkC.js").then((e) => ({ default: e.ChatPostComposerDialog }))), ZN = () => {
19356
19356
  let e = U(), { createPost: t, composePost: n, searchMembers: r } = _l(), i = al(), [a, o] = X(!1);
19357
19357
  return !t && !n ? null : /* @__PURE__ */ $("div", {
19358
19358
  className: "pointer-events-none shrink-0 p-4 pt-0",
@@ -22590,39 +22590,42 @@ var DL = () => /* @__PURE__ */ $(dr, {
22590
22590
  default: "text-f1-foreground-secondary",
22591
22591
  warning: "text-f1-foreground-warning",
22592
22592
  critical: "text-f1-foreground-critical"
22593
- }, FL = (e) => PL[e ?? "default"];
22594
- function IL(e, t) {
22593
+ }, FL = (e) => PL[e ?? "default"], IL = (e, t) => e ?? (t ? "critical" : void 0);
22594
+ function LL(e, t) {
22595
22595
  return typeof e == "string" ? e ? [{
22596
22596
  text: e,
22597
22597
  variant: t
22598
- }] : [] : (e ?? []).filter((e) => e.text);
22598
+ }] : [] : (e ?? []).filter((e) => e.text).map((e) => ({
22599
+ text: e.text,
22600
+ variant: IL(e.variant, e.critical)
22601
+ }));
22599
22602
  }
22600
- function LL(e) {
22601
- return IL(e).map((e) => e.text).join(" · ");
22603
+ function RL(e) {
22604
+ return LL(e).map((e) => e.text).join(" · ");
22602
22605
  }
22603
- function RL({ avatar: e, avatarSize: t = "lg", left: n, title: i, subtitle: a, subtitleVariant: o, description: s, descriptionVariant: c, right: l, actions: u, unread: d = !1, href: f, showChevron: p = !1, prominent: m = !1, onActivate: h, onClick: g }) {
22604
- let _ = !!u?.length, v = r(), [y, b] = X(null), x = n ?? (e ? /* @__PURE__ */ Q(us, {
22606
+ function zL({ avatar: e, avatarSize: t = "lg", left: n, title: i, subtitle: a, subtitleVariant: o, subtitleCritical: s, description: c, descriptionVariant: l, descriptionCritical: u, right: d, actions: f, unread: p = !1, href: m, showChevron: h = !1, prominent: g = !1, onActivate: _, onClick: v }) {
22607
+ let y = !!f?.length, b = r(), [x, S] = X(null), C = n ?? (e ? /* @__PURE__ */ Q(us, {
22605
22608
  avatar: e,
22606
22609
  size: t
22607
- }) : null), S = IL(s, c), C = /* @__PURE__ */ $(Z, { children: [
22608
- x ? /* @__PURE__ */ $("div", {
22610
+ }) : null), w = LL(c, IL(l, u)), T = /* @__PURE__ */ $(Z, { children: [
22611
+ C ? /* @__PURE__ */ $("div", {
22609
22612
  className: "relative flex shrink-0",
22610
- children: [x, d ? /* @__PURE__ */ Q("span", { className: "absolute -right-0.5 -top-0.5 h-2 w-2 rounded-full bg-f1-background-accent-bold ring-2 ring-f1-background" }) : null]
22613
+ children: [C, p ? /* @__PURE__ */ Q("span", { className: "absolute -right-0.5 -top-0.5 h-2 w-2 rounded-full bg-f1-background-accent-bold ring-2 ring-f1-background" }) : null]
22611
22614
  }) : null,
22612
22615
  /* @__PURE__ */ $("div", {
22613
22616
  className: "min-w-0 flex-1",
22614
22617
  children: [/* @__PURE__ */ $("div", {
22615
22618
  className: "flex min-w-0 items-baseline gap-1",
22616
22619
  children: [/* @__PURE__ */ Q("span", {
22617
- className: W("max-w-full shrink-0 font-medium text-f1-foreground", m && "text-lg"),
22620
+ className: W("max-w-full shrink-0 font-medium text-f1-foreground", g && "text-lg"),
22618
22621
  children: i
22619
22622
  }), a ? /* @__PURE__ */ $("span", {
22620
- className: W("min-w-0 truncate", FL(o)),
22623
+ className: W("min-w-0 truncate", FL(IL(o, s))),
22621
22624
  children: ["· ", a]
22622
22625
  }) : null]
22623
- }), S.length > 0 ? /* @__PURE__ */ Q("div", {
22624
- className: W("truncate", m && "mt-0.5", FL(S.length === 1 ? S[0].variant : void 0)),
22625
- children: S.map((e, t) => /* @__PURE__ */ $(bl, { children: [t > 0 ? /* @__PURE__ */ Q("span", {
22626
+ }), w.length > 0 ? /* @__PURE__ */ Q("div", {
22627
+ className: W("truncate", g && "mt-0.5", FL(w.length === 1 ? w[0].variant : void 0)),
22628
+ children: w.map((e, t) => /* @__PURE__ */ $(bl, { children: [t > 0 ? /* @__PURE__ */ Q("span", {
22626
22629
  className: "text-f1-foreground-secondary",
22627
22630
  children: " · "
22628
22631
  }) : null, /* @__PURE__ */ Q("span", {
@@ -22631,69 +22634,69 @@ function RL({ avatar: e, avatarSize: t = "lg", left: n, title: i, subtitle: a, s
22631
22634
  })] }, t))
22632
22635
  }) : null]
22633
22636
  }),
22634
- l,
22635
- p ? /* @__PURE__ */ Q(V, {
22637
+ d,
22638
+ h ? /* @__PURE__ */ Q(V, {
22636
22639
  icon: _s,
22637
22640
  size: "sm",
22638
22641
  color: "secondary"
22639
22642
  }) : null
22640
- ] }), w = !!(f || g), T = () => {
22641
- h?.(), g?.();
22642
- }, E = W("flex w-full items-center gap-3 rounded-md p-2 text-left", w && "cursor-pointer focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-f1-special-ring", _ ? "group-hover:bg-f1-background-tertiary group-focus-within:bg-f1-background-tertiary" : w && "hover:bg-f1-background-tertiary", y && "bg-f1-background-tertiary"), D = f ? /* @__PURE__ */ Q(er, {
22643
- href: f,
22643
+ ] }), E = !!(m || v), D = () => {
22644
+ _?.(), v?.();
22645
+ }, O = W("flex w-full items-center gap-3 rounded-md p-2 text-left", E && "cursor-pointer focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-f1-special-ring", y ? "group-hover:bg-f1-background-tertiary group-focus-within:bg-f1-background-tertiary" : E && "hover:bg-f1-background-tertiary", x && "bg-f1-background-tertiary"), k = m ? /* @__PURE__ */ Q(er, {
22646
+ href: m,
22644
22647
  "data-list-row": "",
22645
- onClick: T,
22646
- className: W(E, "no-underline"),
22647
- ...zn(f) ? {
22648
+ onClick: D,
22649
+ className: W(O, "no-underline"),
22650
+ ...zn(m) ? {
22648
22651
  target: "_blank",
22649
22652
  rel: "noreferrer"
22650
22653
  } : {},
22651
- children: C
22652
- }) : g ? /* @__PURE__ */ Q("button", {
22654
+ children: T
22655
+ }) : v ? /* @__PURE__ */ Q("button", {
22653
22656
  type: "button",
22654
22657
  "data-list-row": "",
22655
- onClick: T,
22656
- className: W(E, "border-none bg-transparent"),
22657
- children: C
22658
+ onClick: D,
22659
+ className: W(O, "border-none bg-transparent"),
22660
+ children: T
22658
22661
  }) : /* @__PURE__ */ Q("div", {
22659
22662
  "data-list-row": "",
22660
- className: E,
22661
- children: C
22663
+ className: O,
22664
+ children: T
22662
22665
  });
22663
- return _ ? /* @__PURE__ */ $("div", {
22666
+ return y ? /* @__PURE__ */ $("div", {
22664
22667
  className: "group relative",
22665
- children: [D, /* @__PURE__ */ Q("div", {
22666
- className: W(ML, y && NL),
22667
- children: u?.map((e) => {
22668
+ children: [k, /* @__PURE__ */ Q("div", {
22669
+ className: W(ML, x && NL),
22670
+ children: f?.map((e) => {
22668
22671
  let t = /* @__PURE__ */ Q(z, {
22669
22672
  icon: e.icon,
22670
22673
  label: e.label,
22671
22674
  hideLabel: !!e.icon && !e.showLabel,
22672
22675
  variant: e.critical ? "critical" : "outline",
22673
- size: v ? "md" : "sm",
22676
+ size: b ? "md" : "sm",
22674
22677
  onClick: e.onClick
22675
22678
  });
22676
22679
  return e.items ? /* @__PURE__ */ Q(_r, {
22677
22680
  items: e.items,
22678
22681
  align: "end",
22679
- open: y === e.label,
22680
- onOpenChange: (t) => b((n) => t ? e.label : n === e.label ? null : n),
22682
+ open: x === e.label,
22683
+ onOpenChange: (t) => S((n) => t ? e.label : n === e.label ? null : n),
22681
22684
  children: t
22682
22685
  }, e.label) : /* @__PURE__ */ Q(bl, { children: t }, e.label);
22683
22686
  })
22684
22687
  })]
22685
- }) : D;
22688
+ }) : k;
22686
22689
  }
22687
22690
  //#endregion
22688
22691
  //#region src/domains/platform/home/Home/tracking.tsx
22689
- var zL = vl.createContext(void 0), BL = ({ tracking: e, children: t }) => /* @__PURE__ */ Q(zL.Provider, {
22692
+ var BL = vl.createContext(void 0), VL = ({ tracking: e, children: t }) => /* @__PURE__ */ Q(BL.Provider, {
22690
22693
  value: e,
22691
22694
  children: t
22692
- }), VL = vl.createContext(void 0), HL = ({ widgetId: e, children: t }) => /* @__PURE__ */ Q(VL.Provider, {
22695
+ }), HL = vl.createContext(void 0), UL = ({ widgetId: e, children: t }) => /* @__PURE__ */ Q(HL.Provider, {
22693
22696
  value: e,
22694
22697
  children: t
22695
- }), UL = () => {
22696
- let e = vl.useContext(zL), t = vl.useContext(VL);
22698
+ }), WL = () => {
22699
+ let e = vl.useContext(BL), t = vl.useContext(HL);
22697
22700
  return vl.useMemo(() => ({
22698
22701
  reportAction: (n) => {
22699
22702
  t !== void 0 && e?.onWidgetAction?.({
@@ -22709,18 +22712,18 @@ var zL = vl.createContext(void 0), BL = ({ tracking: e, children: t }) => /* @__
22709
22712
  });
22710
22713
  }
22711
22714
  }), [e, t]);
22712
- }, WL = (e) => e == null ? void 0 : typeof e == "function" ? { render: e } : e, GL = 6, KL = (e, t) => !!e.compact || !e.descriptionOptional && t > 6, qL = (e, t, n) => ({
22715
+ }, GL = (e) => e == null ? void 0 : typeof e == "function" ? { render: e } : e, KL = 6, qL = (e, t) => !!e.compact || !e.descriptionOptional && t > 6, JL = (e, t, n) => ({
22713
22716
  visualization: e,
22714
22717
  params: t,
22715
22718
  ...n
22716
- }), JL = (e, t, n) => ({
22719
+ }), YL = (e, t, n) => ({
22717
22720
  visualization: "list",
22718
22721
  params: {
22719
22722
  schema: e,
22720
22723
  items: t
22721
22724
  },
22722
22725
  ...n
22723
- }), YL = (e, t) => (e) => t(e), XL = (e, t = {}) => {
22726
+ }), XL = (e, t) => (e) => t(e), ZL = (e, t = {}) => {
22724
22727
  if (!e) return;
22725
22728
  let { title: n, info: r, ...i } = e, a = (e) => typeof e == "function" ? e(t) : e;
22726
22729
  return {
@@ -22728,14 +22731,14 @@ var zL = vl.createContext(void 0), BL = ({ tracking: e, children: t }) => /* @__
22728
22731
  title: a(n),
22729
22732
  info: a(r)
22730
22733
  };
22731
- }, ZL = (e) => XL(e.header, e.params)?.title ?? e.id, QL = (e, t) => !e || e.safeParse(t ?? {}).success, $L = [
22734
+ }, QL = (e) => ZL(e.header, e.params)?.title ?? e.id, $L = (e, t) => !e || e.safeParse(t ?? {}).success, eR = [
22732
22735
  "neutral",
22733
22736
  "accent",
22734
22737
  "critical",
22735
22738
  "warning",
22736
22739
  "promote",
22737
22740
  "positive"
22738
- ], eR = (e) => {
22741
+ ], tR = (e) => {
22739
22742
  let t = {
22740
22743
  action: e.action,
22741
22744
  summaries: e.summaries,
@@ -22750,7 +22753,7 @@ var zL = vl.createContext(void 0), BL = ({ tracking: e, children: t }) => /* @__
22750
22753
  ...t,
22751
22754
  status: "status" in e ? e.status : void 0
22752
22755
  };
22753
- }, tR = "-m-2", nR = (e) => W(tR, !e.isFirstUnderNoHeader && "mt-0", !e.isLastSlot && "mb-0"), rR = "ml-1.5 mt-1 self-start", iR = (e) => W(rR, e.isLastSlot && !e.hasFooter && "mb-1.5"), aR = "gap-2", oR = "xl", sR = (e, t, n, r) => {
22756
+ }, nR = "-m-2", rR = (e) => W(nR, !e.isFirstUnderNoHeader && "mt-0", !e.isLastSlot && "mb-0"), iR = "ml-1.5 mt-1 self-start", aR = (e) => W(iR, e.isLastSlot && !e.hasFooter && "mb-1.5"), oR = "gap-2", sR = "xl", cR = (e, t, n, r) => {
22754
22757
  if (e === "module" && t.module) return { left: /* @__PURE__ */ Q(zo, {
22755
22758
  module: t.module,
22756
22759
  size: n
@@ -22772,9 +22775,9 @@ var zL = vl.createContext(void 0), BL = ({ tracking: e, children: t }) => /* @__
22772
22775
  type: e,
22773
22776
  ...t.avatar
22774
22777
  },
22775
- avatarSize: r ? oR : n
22778
+ avatarSize: r ? sR : n
22776
22779
  } : {};
22777
- }, cR = (e, t, n, r) => {
22780
+ }, lR = (e, t, n, r) => {
22778
22781
  if (e) return e === "counter" ? t.count == null ? void 0 : /* @__PURE__ */ Q(kn, { value: t.count }) : e === "date" ? t.date ? /* @__PURE__ */ Q(lo, {
22779
22782
  date: me(t.date),
22780
22783
  size: r ? "lg" : "md"
@@ -22791,21 +22794,23 @@ var zL = vl.createContext(void 0), BL = ({ tracking: e, children: t }) => /* @__
22791
22794
  },
22792
22795
  size: n
22793
22796
  }) : void 0;
22794
- }, lR = (e, t) => t ? e ? "lg" : "md" : e ? "md" : "sm";
22795
- function uR({ params: e, ctx: t }) {
22796
- let { schema: n, items: i } = e, a = i, [o, s] = X(!1), { reportAction: c, reportItemActivate: l } = UL(), u = r(), d = n.maxVisibleItems, f = d != null && a.length > d, p = f && !o ? a.slice(0, d) : a, m = mL(p.length), h = KL(n, p.length), g = lR((!!n.descriptionRequired || !!n.descriptionOptional) && !h, u), _ = u ? "md" : "sm", v = !!n.prominent;
22797
+ }, uR = (e, t) => t ? e ? "lg" : "md" : e ? "md" : "sm";
22798
+ function dR({ params: e, ctx: t }) {
22799
+ let { schema: n, items: i } = e, a = i, [o, s] = X(!1), { reportAction: c, reportItemActivate: l } = WL(), u = r(), d = n.maxVisibleItems, f = d != null && a.length > d, p = f && !o ? a.slice(0, d) : a, m = mL(p.length), h = qL(n, p.length), g = uR((!!n.descriptionRequired || !!n.descriptionOptional) && !h, u), _ = u ? "md" : "sm", v = !!n.prominent;
22797
22800
  return /* @__PURE__ */ $("div", {
22798
- className: W(nR(t), "flex flex-col"),
22801
+ className: W(rR(t), "flex flex-col"),
22799
22802
  children: [/* @__PURE__ */ Q(hL, { children: p.map(({ href: e, description: t, ...r }, i) => {
22800
- let a = r.tooltipDescription ?? (h ? LL(t) : ""), o = /* @__PURE__ */ Q(RL, {
22803
+ let a = r.tooltipDescription ?? (h ? RL(t) : ""), o = /* @__PURE__ */ Q(zL, {
22801
22804
  title: r.title,
22802
22805
  subtitle: r.subtitle,
22803
22806
  subtitleVariant: r.subtitleVariant,
22807
+ subtitleCritical: r.subtitleCritical,
22804
22808
  description: h ? void 0 : t,
22805
22809
  descriptionVariant: r.descriptionVariant,
22810
+ descriptionCritical: r.descriptionCritical,
22806
22811
  unread: r.unread,
22807
- ...sR(n.left, r, g, v),
22808
- right: cR(n.right, r, _, v),
22812
+ ...cR(n.left, r, g, v),
22813
+ right: lR(n.right, r, _, v),
22809
22814
  actions: r.actions,
22810
22815
  href: n.clickBehavior === "link" ? e : void 0,
22811
22816
  prominent: v,
@@ -22823,7 +22828,7 @@ function uR({ params: e, ctx: t }) {
22823
22828
  }) : o
22824
22829
  }, r.id);
22825
22830
  }) }), f ? /* @__PURE__ */ Q("div", {
22826
- className: iR(t),
22831
+ className: aR(t),
22827
22832
  children: /* @__PURE__ */ Q(z, {
22828
22833
  variant: u ? "outline" : "neutral",
22829
22834
  size: u ? "md" : "sm",
@@ -22835,10 +22840,10 @@ function uR({ params: e, ctx: t }) {
22835
22840
  }) : null]
22836
22841
  });
22837
22842
  }
22838
- function dR({ params: e, ctx: t }) {
22839
- let { events: n } = e, r = mL(n.length), { reportItemActivate: i } = UL();
22843
+ function fR({ params: e, ctx: t }) {
22844
+ let { events: n } = e, r = mL(n.length), { reportItemActivate: i } = WL();
22840
22845
  return /* @__PURE__ */ Q("div", {
22841
- className: W(nR(t), "flex flex-col", aR),
22846
+ className: W(rR(t), "flex flex-col", oR),
22842
22847
  children: /* @__PURE__ */ Q(hL, { children: n.map((e, t) => /* @__PURE__ */ Q(gL, {
22843
22848
  animated: !r,
22844
22849
  children: /* @__PURE__ */ Q(im, {
@@ -22850,111 +22855,111 @@ function dR({ params: e, ctx: t }) {
22850
22855
  }, e.title)) })
22851
22856
  });
22852
22857
  }
22853
- var fR = 3, pR = "slot-skeleton-item", mR = [
22858
+ var pR = 3, mR = "slot-skeleton-item", hR = [
22854
22859
  "w-1/2",
22855
22860
  "w-2/3",
22856
22861
  "w-2/5",
22857
22862
  "w-3/5"
22858
- ], hR = {
22863
+ ], gR = {
22859
22864
  sm: "size-6",
22860
22865
  md: "size-8",
22861
22866
  lg: "size-10"
22862
- }, gR = (e) => mR[e % mR.length], _R = ({ className: e }) => /* @__PURE__ */ Q("div", {
22867
+ }, _R = (e) => hR[e % hR.length], vR = ({ className: e }) => /* @__PURE__ */ Q("div", {
22863
22868
  className: "flex h-5 items-center",
22864
22869
  children: /* @__PURE__ */ Q(H, { className: W("h-3", e) })
22865
- }), vR = ({ params: e, ctx: t }) => {
22866
- let n = e.schema ?? {}, i = r(), a = Math.max(0, Math.min(t.expectedItemsCount, n.maxVisibleItems ?? Infinity)), o = KL(n, a), s = (!!n.descriptionRequired || !!n.descriptionOptional) && !o, c = !!n.descriptionRequired && !o, l = t.expectedItemsCount > a;
22870
+ }), yR = ({ params: e, ctx: t }) => {
22871
+ let n = e.schema ?? {}, i = r(), a = Math.max(0, Math.min(t.expectedItemsCount, n.maxVisibleItems ?? Infinity)), o = qL(n, a), s = (!!n.descriptionRequired || !!n.descriptionOptional) && !o, c = !!n.descriptionRequired && !o, l = t.expectedItemsCount > a;
22867
22872
  return /* @__PURE__ */ $("div", {
22868
- className: W(nR(t), "flex flex-col"),
22873
+ className: W(rR(t), "flex flex-col"),
22869
22874
  children: [Array.from({ length: a }, (e, t) => /* @__PURE__ */ $("div", {
22870
- "data-testid": pR,
22875
+ "data-testid": mR,
22871
22876
  className: "flex w-full items-center gap-3 p-2",
22872
22877
  children: [
22873
- n.left ? /* @__PURE__ */ Q(H, { className: W("shrink-0", hR[lR(s, i)], n.left === "person" ? "rounded-full" : "rounded-sm") }) : null,
22878
+ n.left ? /* @__PURE__ */ Q(H, { className: W("shrink-0", gR[uR(s, i)], n.left === "person" ? "rounded-full" : "rounded-sm") }) : null,
22874
22879
  /* @__PURE__ */ $("div", {
22875
22880
  className: "flex min-w-0 flex-1 flex-col",
22876
- children: [/* @__PURE__ */ Q(_R, { className: gR(t) }), c ? /* @__PURE__ */ Q(_R, { className: "w-1/4" }) : null]
22881
+ children: [/* @__PURE__ */ Q(vR, { className: _R(t) }), c ? /* @__PURE__ */ Q(vR, { className: "w-1/4" }) : null]
22877
22882
  }),
22878
22883
  n.right ? /* @__PURE__ */ Q(H, { className: "h-4 w-10 shrink-0 rounded-sm" }) : null
22879
22884
  ]
22880
22885
  }, t)), l ? /* @__PURE__ */ Q("div", {
22881
- className: iR(t),
22886
+ className: aR(t),
22882
22887
  children: /* @__PURE__ */ Q(H, { className: "h-6 w-24 rounded-sm" })
22883
22888
  }) : null]
22884
22889
  });
22885
- }, yR = ({ ctx: e }) => /* @__PURE__ */ Q("div", {
22886
- className: W(nR(e), "flex flex-col", aR),
22890
+ }, bR = ({ ctx: e }) => /* @__PURE__ */ Q("div", {
22891
+ className: W(rR(e), "flex flex-col", oR),
22887
22892
  children: Array.from({ length: e.expectedItemsCount }, (e, t) => /* @__PURE__ */ $("div", {
22888
- "data-testid": pR,
22893
+ "data-testid": mR,
22889
22894
  className: "flex flex-row items-stretch gap-2.5 rounded-sm p-2",
22890
22895
  children: [
22891
22896
  /* @__PURE__ */ Q(H, { className: "min-h-10 w-1 shrink-0 rounded-2xs" }),
22892
22897
  /* @__PURE__ */ $("div", {
22893
22898
  className: "flex flex-1 flex-col justify-center",
22894
- children: [/* @__PURE__ */ Q(_R, { className: gR(t) }), /* @__PURE__ */ Q(_R, { className: "w-1/3" })]
22899
+ children: [/* @__PURE__ */ Q(vR, { className: _R(t) }), /* @__PURE__ */ Q(vR, { className: "w-1/3" })]
22895
22900
  }),
22896
22901
  /* @__PURE__ */ Q(H, { className: "size-10 shrink-0 rounded-md" })
22897
22902
  ]
22898
22903
  }, t))
22899
- }), bR = ({ ctx: e }) => /* @__PURE__ */ Q("div", {
22904
+ }), xR = ({ ctx: e }) => /* @__PURE__ */ Q("div", {
22900
22905
  className: "grid auto-cols-fr grid-flow-col items-end gap-x-3",
22901
22906
  children: Array.from({ length: e.expectedItemsCount }, (e, t) => /* @__PURE__ */ $("div", {
22902
- "data-testid": pR,
22907
+ "data-testid": mR,
22903
22908
  className: "flex flex-col gap-1",
22904
22909
  children: [/* @__PURE__ */ Q("div", {
22905
22910
  className: "flex h-8 items-center",
22906
22911
  children: /* @__PURE__ */ Q(H, { className: "h-6 w-10" })
22907
- }), /* @__PURE__ */ Q(_R, { className: "w-3/4" })]
22912
+ }), /* @__PURE__ */ Q(vR, { className: "w-3/4" })]
22908
22913
  }, t))
22909
- }), xR = (e, t) => /* @__PURE__ */ Q("div", {
22914
+ }), SR = (e, t) => /* @__PURE__ */ Q("div", {
22910
22915
  className: "flex flex-col gap-2",
22911
22916
  children: Array.from({ length: t.expectedItemsCount }, (e, t) => /* @__PURE__ */ Q("div", {
22912
- "data-testid": pR,
22913
- children: /* @__PURE__ */ Q(H, { className: W("h-6", gR(t)) })
22917
+ "data-testid": mR,
22918
+ children: /* @__PURE__ */ Q(H, { className: W("h-6", _R(t)) })
22914
22919
  }, t))
22915
- }), SR = {
22920
+ }), CR = {
22916
22921
  ...jL,
22917
22922
  list: {
22918
- render: (e, t) => /* @__PURE__ */ Q(uR, {
22923
+ render: (e, t) => /* @__PURE__ */ Q(dR, {
22919
22924
  params: e,
22920
22925
  ctx: t
22921
22926
  }),
22922
- skeleton: (e, t) => /* @__PURE__ */ Q(vR, {
22927
+ skeleton: (e, t) => /* @__PURE__ */ Q(yR, {
22923
22928
  params: e ?? {},
22924
22929
  ctx: t
22925
22930
  })
22926
22931
  },
22927
22932
  "event-list": {
22928
- render: (e, t) => /* @__PURE__ */ Q(dR, {
22933
+ render: (e, t) => /* @__PURE__ */ Q(fR, {
22929
22934
  params: e,
22930
22935
  ctx: t
22931
22936
  }),
22932
- skeleton: (e, t) => /* @__PURE__ */ Q(yR, { ctx: t })
22937
+ skeleton: (e, t) => /* @__PURE__ */ Q(bR, { ctx: t })
22933
22938
  },
22934
22939
  indicators: {
22935
22940
  render: (e) => /* @__PURE__ */ Q(ZF, { ...e }),
22936
- skeleton: (e, t) => /* @__PURE__ */ Q(bR, { ctx: t })
22941
+ skeleton: (e, t) => /* @__PURE__ */ Q(xR, { ctx: t })
22937
22942
  }
22938
- }, CR = ({ text: e, ticking: t, className: n }) => /* @__PURE__ */ Q("span", {
22943
+ }, wR = ({ text: e, ticking: t, className: n }) => /* @__PURE__ */ Q("span", {
22939
22944
  className: W("whitespace-nowrap tabular-nums", n),
22940
22945
  children: e.split(":").map((e, n) => /* @__PURE__ */ $(bl, { children: [n > 0 ? /* @__PURE__ */ Q("span", {
22941
22946
  className: W(t && "animate-clock-tick motion-reduce:animate-none"),
22942
22947
  children: ":"
22943
22948
  }) : null, e] }, n))
22944
- }), wR = 1e3, TR = (e) => {
22949
+ }), TR = 1e3, ER = (e) => {
22945
22950
  let t = yn(), [n, r] = X(!0), i = e && !t;
22946
22951
  return q(() => {
22947
22952
  if (!i) return;
22948
- let e = setInterval(() => r((e) => !e), wR);
22953
+ let e = setInterval(() => r((e) => !e), TR);
22949
22954
  return () => {
22950
22955
  clearInterval(e), r(!0);
22951
22956
  };
22952
22957
  }, [i]), !i || n;
22953
- }, ER = ({ text: e, ticking: t }) => /* @__PURE__ */ Q(CR, {
22958
+ }, DR = ({ text: e, ticking: t }) => /* @__PURE__ */ Q(wR, {
22954
22959
  text: e,
22955
22960
  ticking: t,
22956
22961
  className: "px-2 text-2xl font-semibold"
22957
- }), DR = {
22962
+ }), OR = {
22958
22963
  neutral: {
22959
22964
  pill: "bg-f1-background-inverse text-f1-foreground-inverse",
22960
22965
  button: "bg-f1-background-accent-bold hover:bg-f1-background-accent-bold-hover",
@@ -23009,7 +23014,7 @@ var fR = 3, pR = "slot-skeleton-item", mR = [
23009
23014
  soloIcon: "inverse",
23010
23015
  soloRing: "ring-f1-border-inverse"
23011
23016
  }
23012
- }, OR = (e, t) => {
23017
+ }, kR = (e, t) => {
23013
23018
  let n = yn();
23014
23019
  return {
23015
23020
  initial: {
@@ -23030,8 +23035,8 @@ var fR = 3, pR = "slot-skeleton-item", mR = [
23030
23035
  delay: YI(e, t)
23031
23036
  }, n)
23032
23037
  };
23033
- }, kR = ({ hasUpdates: e }) => e ? /* @__PURE__ */ Q("span", { className: "pointer-events-none absolute -right-0.5 -top-0.5 h-2 w-2 rounded-full bg-f1-background-accent-bold ring-2 ring-f1-background" }) : null, AR = ({ widget: e, action: t, order: n, open: r, delayMs: i, onOpen: a, onCancelOpen: o }) => {
23034
- let s = OR(n, i), c = TR(!!t.flashing && !r), l = t.text && !r ? t.text : void 0, u = DR[t.tone ?? "neutral"];
23038
+ }, AR = ({ hasUpdates: e }) => e ? /* @__PURE__ */ Q("span", { className: "pointer-events-none absolute -right-0.5 -top-0.5 h-2 w-2 rounded-full bg-f1-background-accent-bold ring-2 ring-f1-background" }) : null, jR = ({ widget: e, action: t, order: n, open: r, delayMs: i, onOpen: a, onCancelOpen: o }) => {
23039
+ let s = kR(n, i), c = ER(!!t.flashing && !r), l = t.text && !r ? t.text : void 0, u = OR[t.tone ?? "neutral"];
23035
23040
  return /* @__PURE__ */ Q(jn, {
23036
23041
  label: t.label,
23037
23042
  instant: !0,
@@ -23043,7 +23048,7 @@ var fR = 3, pR = "slot-skeleton-item", mR = [
23043
23048
  onFocus: (t) => a(e.id, t.currentTarget, !0),
23044
23049
  ...s,
23045
23050
  children: [
23046
- l ? /* @__PURE__ */ Q(ER, {
23051
+ l ? /* @__PURE__ */ Q(DR, {
23047
23052
  text: l,
23048
23053
  ticking: !!t.ticking
23049
23054
  }) : null,
@@ -23052,7 +23057,7 @@ var fR = 3, pR = "slot-skeleton-item", mR = [
23052
23057
  variant: "ghost",
23053
23058
  size: "lg",
23054
23059
  className: W("size-10 shadow-none after:hidden hover:shadow-none active:shadow-none [&_.main]:px-0", t.text ? u.button : u.solo, "ring-inset group-hover:ring-1", r && "ring-1", t.text ? u.ring : u.soloRing),
23055
- "aria-label": `${t.label}, ${ZL(e)}`,
23060
+ "aria-label": `${t.label}, ${QL(e)}`,
23056
23061
  onClick: () => t.onClick(),
23057
23062
  children: /* @__PURE__ */ Q(V, {
23058
23063
  size: "lg",
@@ -23060,13 +23065,13 @@ var fR = 3, pR = "slot-skeleton-item", mR = [
23060
23065
  icon: c || !e.icon ? t.icon : e.icon
23061
23066
  })
23062
23067
  }),
23063
- /* @__PURE__ */ Q(kR, { hasUpdates: e.hasUpdates })
23068
+ /* @__PURE__ */ Q(AR, { hasUpdates: e.hasUpdates })
23064
23069
  ]
23065
23070
  })
23066
23071
  });
23067
- }, jR = ({ widget: e, order: t, open: n, delayMs: r, onOpen: i, onCancelOpen: a, onClose: o, look: s = "tile" }) => {
23068
- let c = e.railAction, l = OR(t, r);
23069
- return c ? /* @__PURE__ */ Q(AR, {
23072
+ }, MR = ({ widget: e, order: t, open: n, delayMs: r, onOpen: i, onCancelOpen: a, onClose: o, look: s = "tile" }) => {
23073
+ let c = e.railAction, l = kR(t, r);
23074
+ return c ? /* @__PURE__ */ Q(jR, {
23070
23075
  widget: e,
23071
23076
  action: c,
23072
23077
  order: t,
@@ -23081,7 +23086,7 @@ var fR = 3, pR = "slot-skeleton-item", mR = [
23081
23086
  children: /* @__PURE__ */ Q(H, { className: "h-10 w-10 rounded-lg" })
23082
23087
  }) : /* @__PURE__ */ Q(B.button, {
23083
23088
  type: "button",
23084
- "aria-label": ZL(e),
23089
+ "aria-label": QL(e),
23085
23090
  "aria-expanded": n,
23086
23091
  "data-widget-glyph": e.id,
23087
23092
  onMouseEnter: (t) => i(e.id, t.currentTarget),
@@ -23099,19 +23104,19 @@ var fR = 3, pR = "slot-skeleton-item", mR = [
23099
23104
  color: "bold"
23100
23105
  }) : /* @__PURE__ */ Q("span", {
23101
23106
  className: "font-medium text-f1-foreground-secondary",
23102
- children: ZL(e).charAt(0)
23107
+ children: QL(e).charAt(0)
23103
23108
  })
23104
23109
  }) : e.icon ? /* @__PURE__ */ Q(Ro, {
23105
23110
  icon: e.icon,
23106
23111
  size: "lg"
23107
23112
  }) : /* @__PURE__ */ Q("span", {
23108
23113
  className: "flex h-10 w-10 items-center justify-center rounded-lg border border-solid border-f1-border-secondary bg-f1-background font-medium text-f1-foreground-secondary",
23109
- children: ZL(e).charAt(0)
23110
- }), /* @__PURE__ */ Q(kR, { hasUpdates: e.hasUpdates })]
23114
+ children: QL(e).charAt(0)
23115
+ }), /* @__PURE__ */ Q(AR, { hasUpdates: e.hasUpdates })]
23111
23116
  })
23112
23117
  });
23113
23118
  };
23114
- function MR(e = 24) {
23119
+ function NR(e = 24) {
23115
23120
  let [t, n] = X(null), [r, i] = X({
23116
23121
  top: !1,
23117
23122
  bottom: !1
@@ -23145,12 +23150,12 @@ function MR(e = 24) {
23145
23150
  }
23146
23151
  //#endregion
23147
23152
  //#region src/domains/platform/home/Home/SlotWidget/SlotWidget.tsx
23148
- var NR = "-ml-0.5 mt-2", PR = 450, FR = "cubic-bezier(0.4, 0, 0.1, 1)", IR = 1.04;
23149
- function LR({ slots: e, loading: t = !1, slotRenderers: n, ctx: r = {}, headless: i = !1 }) {
23153
+ var PR = "-ml-0.5 mt-2", FR = 450, IR = "cubic-bezier(0.4, 0, 0.1, 1)", LR = 1.04;
23154
+ function RR({ slots: e, loading: t = !1, slotRenderers: n, ctx: r = {}, headless: i = !1 }) {
23150
23155
  let a = n ? {
23151
- ...SR,
23156
+ ...CR,
23152
23157
  ...n
23153
- } : SR;
23158
+ } : CR;
23154
23159
  return /* @__PURE__ */ Q("div", {
23155
23160
  className: "flex flex-col",
23156
23161
  ...t ? {
@@ -23158,7 +23163,7 @@ function LR({ slots: e, loading: t = !1, slotRenderers: n, ctx: r = {}, headless
23158
23163
  "aria-live": "polite"
23159
23164
  } : {},
23160
23165
  children: e.map((n, o) => {
23161
- let s = WL(a[n.visualization]), c = {
23166
+ let s = GL(a[n.visualization]), c = {
23162
23167
  ...r,
23163
23168
  isLastSlot: o === e.length - 1,
23164
23169
  isFirstUnderNoHeader: i && o === 0
@@ -23168,7 +23173,7 @@ function LR({ slots: e, loading: t = !1, slotRenderers: n, ctx: r = {}, headless
23168
23173
  children: /* @__PURE__ */ Q(Ze, { bare: !0 })
23169
23174
  }) : null, t ? /* @__PURE__ */ Q("div", {
23170
23175
  "aria-hidden": "true",
23171
- children: (s?.skeleton ?? xR)(n.params, {
23176
+ children: (s?.skeleton ?? SR)(n.params, {
23172
23177
  ...c,
23173
23178
  expectedItemsCount: n.expectedItemsCount ?? 3
23174
23179
  })
@@ -23179,7 +23184,7 @@ function LR({ slots: e, loading: t = !1, slotRenderers: n, ctx: r = {}, headless
23179
23184
  })
23180
23185
  });
23181
23186
  }
23182
- function RR({ header: e, params: t, fullHeight: n, action: r, summaries: i, headerControls: a, headerActions: o, headerSelect: s, alert: c, status: l, slots: u, loading: d = !1, slotRenderers: f, actions: p, flipped: m = !1, onFlipBack: h, isDragging: g, ctx: _ = {}, headless: v = !1 }) {
23187
+ function zR({ header: e, params: t, fullHeight: n, action: r, summaries: i, headerControls: a, headerActions: o, headerSelect: s, alert: c, status: l, slots: u, loading: d = !1, slotRenderers: f, actions: p, flipped: m = !1, onFlipBack: h, isDragging: g, ctx: _ = {}, headless: v = !1 }) {
23183
23188
  let y = U(), b = yn(), [x, S] = X(!1), C = Y(!1);
23184
23189
  q(() => {
23185
23190
  if (!C.current) {
@@ -23188,7 +23193,7 @@ function RR({ header: e, params: t, fullHeight: n, action: r, summaries: i, head
23188
23193
  }
23189
23194
  if (b) return;
23190
23195
  S(!0);
23191
- let e = setTimeout(() => S(!1), PR);
23196
+ let e = setTimeout(() => S(!1), FR);
23192
23197
  return () => clearTimeout(e);
23193
23198
  }, [m, b]);
23194
23199
  let [w, T] = X(void 0), E = s ? w ?? s.value ?? s.options[0]?.value : void 0, D = s?.options.find((e) => e.value === E), O = (e) => {
@@ -23214,7 +23219,7 @@ function RR({ header: e, params: t, fullHeight: n, action: r, summaries: i, head
23214
23219
  })
23215
23220
  }) : null,
23216
23221
  a
23217
- ] }) : a, { reportAction: A } = UL(), { info: j, ...M } = v ? {} : XL(e, t) ?? {}, N = Object.values(M).some((e) => e !== void 0) || !v && p && p.length > 0 || !v && k ? M : void 0, P = N?.link === void 0 ? N : {
23222
+ ] }) : a, { reportAction: A } = WL(), { info: j, ...M } = v ? {} : ZL(e, t) ?? {}, N = Object.values(M).some((e) => e !== void 0) || !v && p && p.length > 0 || !v && k ? M : void 0, P = N?.link === void 0 ? N : {
23218
23223
  ...N,
23219
23224
  link: {
23220
23225
  ...N.link,
@@ -23229,13 +23234,13 @@ function RR({ header: e, params: t, fullHeight: n, action: r, summaries: i, head
23229
23234
  header: P,
23230
23235
  fullHeight: n,
23231
23236
  action: I,
23232
- footerClassName: NR,
23237
+ footerClassName: PR,
23233
23238
  actions: v ? void 0 : p,
23234
23239
  headerControls: v ? void 0 : k,
23235
23240
  summaries: i,
23236
23241
  ...c ? { alert: c } : { status: l },
23237
23242
  isDragging: g,
23238
- children: u.length === 0 ? null : /* @__PURE__ */ Q(LR, {
23243
+ children: u.length === 0 ? null : /* @__PURE__ */ Q(RR, {
23239
23244
  ctx: {
23240
23245
  ..._,
23241
23246
  hasFooter: !!r,
@@ -23254,14 +23259,14 @@ function RR({ header: e, params: t, fullHeight: n, action: r, summaries: i, head
23254
23259
  className: "h-full",
23255
23260
  "data-turning": x || void 0,
23256
23261
  style: {
23257
- transform: `scale(${x ? IR : 1})`,
23258
- transition: b ? void 0 : `transform ${PR / 2}ms ease-out`
23262
+ transform: `scale(${x ? LR : 1})`,
23263
+ transition: b ? void 0 : `transform ${FR / 2}ms ease-out`
23259
23264
  },
23260
23265
  children: /* @__PURE__ */ $("div", {
23261
23266
  className: "relative h-full [transform-style:preserve-3d]",
23262
23267
  style: {
23263
23268
  transform: `rotateY(${m ? 180 : 0}deg)`,
23264
- transition: b ? void 0 : `transform ${PR}ms ${FR}`
23269
+ transition: b ? void 0 : `transform ${FR}ms ${IR}`
23265
23270
  },
23266
23271
  children: [/* @__PURE__ */ Q("div", {
23267
23272
  className: W("[backface-visibility:hidden]", m && "pointer-events-none"),
@@ -23293,8 +23298,8 @@ function RR({ header: e, params: t, fullHeight: n, action: r, summaries: i, head
23293
23298
  }
23294
23299
  //#endregion
23295
23300
  //#region src/domains/platform/home/Home/WidgetPreview/WidgetPreview.tsx
23296
- var zR = "(min-width: 2200px) and (min-height: 900px)", BR = () => {
23297
- let e = _n(zR, {
23301
+ var BR = "(min-width: 2200px) and (min-height: 900px)", VR = () => {
23302
+ let e = _n(BR, {
23298
23303
  initializeWithValue: !0,
23299
23304
  defaultValue: !1
23300
23305
  }), t = _n(`(max-width: ${Cc.md}px)`, {
@@ -23308,14 +23313,14 @@ var zR = "(min-width: 2200px) and (min-height: 900px)", BR = () => {
23308
23313
  asideClassName: t ? "w-full shrink-0" : "w-80 shrink-0",
23309
23314
  stacked: t
23310
23315
  };
23311
- }, VR = "animate-in fade-in zoom-in-95 duration-300 ease-out motion-reduce:animate-none";
23312
- function HR({ previewKey: e, children: t, info: n, previewWidth: r = 396 }) {
23316
+ }, HR = "animate-in fade-in zoom-in-95 duration-300 ease-out motion-reduce:animate-none";
23317
+ function UR({ previewKey: e, children: t, info: n, previewWidth: r = 396 }) {
23313
23318
  return /* @__PURE__ */ Q("div", {
23314
23319
  className: "flex min-w-0 flex-1 flex-col overflow-y-auto rounded-lg bg-f1-background-secondary p-6",
23315
23320
  children: /* @__PURE__ */ $("div", {
23316
23321
  className: "my-auto flex w-full flex-col items-center gap-6",
23317
23322
  children: [/* @__PURE__ */ Q("div", {
23318
- className: W("w-full", VR),
23323
+ className: W("w-full", HR),
23319
23324
  style: { maxWidth: `${r}px` },
23320
23325
  children: t
23321
23326
  }, e), n ? /* @__PURE__ */ Q("p", {
@@ -23327,9 +23332,9 @@ function HR({ previewKey: e, children: t, info: n, previewWidth: r = 396 }) {
23327
23332
  }
23328
23333
  //#endregion
23329
23334
  //#region src/domains/platform/home/Home/WidgetUpdateDialog/WidgetUpdateDialog.tsx
23330
- var UR = (e, t) => typeof e == "function" ? e(t) : e, WR = 250;
23331
- function GR({ isOpen: e, onClose: t, schema: n, params: r, renderPreview: i, info: a, onSave: o, previewWidth: s = 396, title: c, saveLabel: l = "Save" }) {
23332
- let u = U(), { position: d, width: f, bodyClassName: p, asideClassName: m } = BR(), { formRef: h, getValues: g, trigger: _ } = tt(), [v, y] = X(r ?? {});
23335
+ var WR = (e, t) => typeof e == "function" ? e(t) : e, GR = 250;
23336
+ function KR({ isOpen: e, onClose: t, schema: n, params: r, renderPreview: i, info: a, onSave: o, previewWidth: s = 396, title: c, saveLabel: l = "Save" }) {
23337
+ let u = U(), { position: d, width: f, bodyClassName: p, asideClassName: m } = VR(), { formRef: h, getValues: g, trigger: _ } = tt(), [v, y] = X(r ?? {});
23333
23338
  return q(() => {
23334
23339
  e && y(r ?? {});
23335
23340
  }, [e, r]), /* @__PURE__ */ Q(ka, {
@@ -23355,15 +23360,15 @@ function GR({ isOpen: e, onClose: t, schema: n, params: r, renderPreview: i, inf
23355
23360
  defaultValues: r,
23356
23361
  submitConfig: {
23357
23362
  type: "autosubmit",
23358
- delay: WR,
23363
+ delay: GR,
23359
23364
  hideActionBar: !0
23360
23365
  },
23361
23366
  styling: { noPadding: !0 },
23362
23367
  onSubmit: (e) => (y(e), { success: !0 })
23363
23368
  })
23364
- }), /* @__PURE__ */ Q(HR, {
23369
+ }), /* @__PURE__ */ Q(UR, {
23365
23370
  previewKey: "widget-params",
23366
- info: UR(a, v),
23371
+ info: WR(a, v),
23367
23372
  previewWidth: s,
23368
23373
  children: i(v)
23369
23374
  })]
@@ -23372,10 +23377,10 @@ function GR({ isOpen: e, onClose: t, schema: n, params: r, renderPreview: i, inf
23372
23377
  }
23373
23378
  //#endregion
23374
23379
  //#region src/domains/platform/home/Home/WidgetContainer/dragGhost.ts
23375
- var KR = (e) => {
23380
+ var qR = (e) => {
23376
23381
  let t = e?.cloneNode(!0);
23377
23382
  return t instanceof HTMLElement ? (t.classList.remove("invisible"), t.style.transform = "none", t.style.transition = "none", t.removeAttribute("id"), t.querySelectorAll("[id]").forEach((e) => e.removeAttribute("id")), t.setAttribute("aria-hidden", "true"), t.setAttribute("inert", ""), t) : null;
23378
- }, qR = (e, t) => {
23383
+ }, JR = (e, t) => {
23379
23384
  if (!e || !t) return null;
23380
23385
  let n = e.cloneNode(!0);
23381
23386
  if (!(n instanceof HTMLElement)) return null;
@@ -23389,51 +23394,51 @@ var KR = (e) => {
23389
23394
  width: r.width,
23390
23395
  height: r.height
23391
23396
  },
23392
- base: YR(e)
23397
+ base: XR(e)
23393
23398
  };
23394
- }, JR = /* @__PURE__ */ new Set([
23399
+ }, YR = /* @__PURE__ */ new Set([
23395
23400
  "rgba(0, 0, 0, 0)",
23396
23401
  "transparent",
23397
23402
  ""
23398
- ]), YR = (e) => {
23403
+ ]), XR = (e) => {
23399
23404
  if (typeof getComputedStyle != "function") return null;
23400
23405
  for (let t = e; t; t = t.parentElement) {
23401
23406
  let e = getComputedStyle(t).backgroundColor;
23402
- if (!JR.has(e)) return e;
23407
+ if (!YR.has(e)) return e;
23403
23408
  }
23404
23409
  return null;
23405
- }, XR = /^(https?:\/\/|mailto:|tel:|\/|\.\/|\.\.\/|#|\?)/i, ZR = (e) => e && XR.test(e) ? e : void 0, QR = /\[([^[\]\n]+)\]\(([^)\s]+)\)/g, $R = (e) => XR.test(e), ez = (e) => {
23410
+ }, ZR = /^(https?:\/\/|mailto:|tel:|\/|\.\/|\.\.\/|#|\?)/i, QR = (e) => e && ZR.test(e) ? e : void 0, $R = /\[([^[\]\n]+)\]\(([^)\s]+)\)/g, ez = (e) => ZR.test(e), tz = (e) => {
23406
23411
  let t = [], n = 0;
23407
- for (let r of e.matchAll(QR)) {
23412
+ for (let r of e.matchAll($R)) {
23408
23413
  let i = r[1] ?? "", a = r[2] ?? "", o = r.index, s = e[o - 1] === "!", c = e.slice(n, s ? o - 1 : o);
23409
- c && t.push({ text: c }), t.push(s || !$R(a) ? { text: i } : {
23414
+ c && t.push({ text: c }), t.push(s || !ez(a) ? { text: i } : {
23410
23415
  label: i,
23411
23416
  href: a
23412
23417
  }), n = o + r[0].length;
23413
23418
  }
23414
23419
  return n < e.length && t.push({ text: e.slice(n) }), t;
23415
- }, tz = ({ text: e }) => /* @__PURE__ */ Q("div", {
23420
+ }, nz = ({ text: e }) => /* @__PURE__ */ Q("div", {
23416
23421
  className: "text-center text-f1-foreground-secondary",
23417
- children: ez(e).map((e, t) => /* @__PURE__ */ Q(bl, { children: "href" in e ? /* @__PURE__ */ Q(Jr, {
23422
+ children: tz(e).map((e, t) => /* @__PURE__ */ Q(bl, { children: "href" in e ? /* @__PURE__ */ Q(Jr, {
23418
23423
  href: e.href,
23419
23424
  children: e.label
23420
23425
  }) : e.text }, t))
23421
- }), nz = (e) => {
23426
+ }), rz = (e) => {
23422
23427
  let t = e.findIndex((e) => !e.locked);
23423
23428
  return e.slice(0, t < 0 ? e.length : t);
23424
- }, rz = (e, t, n) => {
23425
- let r = nz(e).flatMap((e) => {
23429
+ }, iz = (e, t, n) => {
23430
+ let r = rz(e).flatMap((e) => {
23426
23431
  let n = t?.querySelector(`[data-widget-id="${e.id}"]`)?.getBoundingClientRect();
23427
23432
  return n ? [n.bottom] : [];
23428
23433
  });
23429
23434
  return r.length > 0 ? Math.max(...r) + n : null;
23430
- }, iz = (e) => ({ transform: t, draggingNodeRect: n, activeNodeRect: r }) => {
23435
+ }, az = (e) => ({ transform: t, draggingNodeRect: n, activeNodeRect: r }) => {
23431
23436
  let i = e(), a = (n ?? r)?.top;
23432
23437
  return i == null || a == null ? t : {
23433
23438
  ...t,
23434
23439
  y: Math.max(t.y, i - a)
23435
23440
  };
23436
- }, az = ({ id: e, disabled: t = !1, children: n }) => {
23441
+ }, oz = ({ id: e, disabled: t = !1, children: n }) => {
23437
23442
  let { listeners: r, setNodeRef: i, transform: a, transition: o, isDragging: s } = O({
23438
23443
  id: e,
23439
23444
  disabled: t
@@ -23452,22 +23457,22 @@ var KR = (e) => {
23452
23457
  ...t ? {} : r,
23453
23458
  children: n({ isDragging: s })
23454
23459
  });
23455
- }, oz = 12, sz = 280, cz = 2, lz = /* @__PURE__ */ new Set([
23460
+ }, sz = 12, cz = 280, lz = 2, uz = /* @__PURE__ */ new Set([
23456
23461
  "auto",
23457
23462
  "scroll",
23458
23463
  "overlay"
23459
- ]), uz = (e) => {
23464
+ ]), dz = (e) => {
23460
23465
  let t = e.parentElement;
23461
23466
  for (; t && t !== document.body && t !== document.documentElement;) {
23462
- if (lz.has(getComputedStyle(t).getPropertyValue("overflow-y"))) return t;
23467
+ if (uz.has(getComputedStyle(t).getPropertyValue("overflow-y"))) return t;
23463
23468
  t = t.parentElement;
23464
23469
  }
23465
23470
  return null;
23466
23471
  };
23467
- function dz({ config: e, count: t, gap: n, pinned: r = [], paused: i = !1 }) {
23472
+ function fz({ config: e, count: t, gap: n, pinned: r = [], paused: i = !1 }) {
23468
23473
  let a = e === !1 ? null : e, [o, s] = X(null), [c, l] = X(null), u = a?.scrollElement ?? c, d = a != null && !i, f = a?.scrollElement != null;
23469
23474
  jl(() => {
23470
- d && !f && o && l(uz(o));
23475
+ d && !f && o && l(dz(o));
23471
23476
  }, [
23472
23477
  d,
23473
23478
  f,
@@ -23488,7 +23493,7 @@ function dz({ config: e, count: t, gap: n, pinned: r = [], paused: i = !1 }) {
23488
23493
  o,
23489
23494
  u
23490
23495
  ]);
23491
- let h = d && u != null && t >= (a?.threshold ?? oz), g = Y(r);
23496
+ let h = d && u != null && t >= (a?.threshold ?? sz), g = Y(r);
23492
23497
  g.current = r;
23493
23498
  let _ = r.join(","), v = K((e) => {
23494
23499
  let t = new Set(js(e));
@@ -23500,8 +23505,8 @@ function dz({ config: e, count: t, gap: n, pinned: r = [], paused: i = !1 }) {
23500
23505
  gap: n,
23501
23506
  scrollMargin: p,
23502
23507
  rangeExtractor: v,
23503
- overscan: a?.overscan ?? cz,
23504
- estimateSize: () => a?.estimateHeight ?? sz,
23508
+ overscan: a?.overscan ?? lz,
23509
+ estimateSize: () => a?.estimateHeight ?? cz,
23505
23510
  getScrollElement: () => u
23506
23511
  });
23507
23512
  return {
@@ -23518,10 +23523,10 @@ function dz({ config: e, count: t, gap: n, pinned: r = [], paused: i = !1 }) {
23518
23523
  }
23519
23524
  //#endregion
23520
23525
  //#region src/domains/platform/home/Home/WidgetContainer/verticalOnly.ts
23521
- var fz = ({ transform: e }) => ({
23526
+ var pz = ({ transform: e }) => ({
23522
23527
  ...e,
23523
23528
  x: 0
23524
- }), pz = ({ arrival: e, stow: t, fullHeight: n, widgetId: r, children: i }) => {
23529
+ }), mz = ({ arrival: e, stow: t, fullHeight: n, widgetId: r, children: i }) => {
23525
23530
  let a = yn(), o = t?.stowed ?? !1, s = e?.order ?? 0, c = a ? JI : e?.arriving ? XI(s, e.delayMs) : !t || t.instant ? JI : o ? iL : aL;
23526
23531
  return /* @__PURE__ */ Q(B.div, {
23527
23532
  "data-widget-id": r,
@@ -23537,7 +23542,7 @@ var fz = ({ transform: e }) => ({
23537
23542
  transition: c,
23538
23543
  children: i
23539
23544
  });
23540
- }, mz = ({ host: e, children: t }) => {
23545
+ }, hz = ({ host: e, children: t }) => {
23541
23546
  let n = Y();
23542
23547
  if (!n.current) {
23543
23548
  let e = document.createElement("div");
@@ -23557,7 +23562,7 @@ var fz = ({ transform: e }) => ({
23557
23562
  ref: o,
23558
23563
  className: "contents"
23559
23564
  }), Fl(t, r)] });
23560
- }, hz = [
23565
+ }, gz = [
23561
23566
  "a",
23562
23567
  "button",
23563
23568
  "input",
@@ -23571,28 +23576,28 @@ var fz = ({ transform: e }) => ({
23571
23576
  "[role='checkbox']",
23572
23577
  "[role='tab']",
23573
23578
  "[contenteditable='true']"
23574
- ].join(","), gz = class extends Pt {
23579
+ ].join(","), _z = class extends Pt {
23575
23580
  static activators = [{
23576
23581
  eventName: "onPointerDown",
23577
23582
  handler: ({ nativeEvent: e }, { onActivation: t }) => {
23578
23583
  if (!e.isPrimary || e.button !== 0) return !1;
23579
23584
  let n = e.target;
23580
- return n instanceof Element && n.closest(hz) ? !1 : (t?.({ event: e }), !0);
23585
+ return n instanceof Element && n.closest(gz) ? !1 : (t?.({ event: e }), !0);
23581
23586
  }
23582
23587
  }];
23583
- }, _z = {
23588
+ }, vz = {
23584
23589
  duration: 450,
23585
23590
  easing: "cubic-bezier(0.4, 0, 0.1, 1)"
23586
- }, vz = (e, t) => {
23591
+ }, yz = (e, t) => {
23587
23592
  for (let n = e; n; n = n.parentElement) {
23588
23593
  let e = n.querySelector(t);
23589
23594
  if (e) return e;
23590
23595
  }
23591
23596
  return null;
23592
- }, yz = {
23597
+ }, bz = {
23593
23598
  main: 24,
23594
23599
  right: 16
23595
- }, bz = ({ hidden: e, placement: t, measureRef: n, children: r }) => /* @__PURE__ */ Q("div", {
23600
+ }, xz = ({ hidden: e, placement: t, measureRef: n, children: r }) => /* @__PURE__ */ Q("div", {
23596
23601
  ref: t ? n : void 0,
23597
23602
  "data-index": t?.index,
23598
23603
  hidden: e,
@@ -23603,7 +23608,7 @@ var fz = ({ transform: e }) => ({
23603
23608
  width: "100%"
23604
23609
  } : { display: e ? void 0 : "contents" },
23605
23610
  children: r
23606
- }), xz = ({ onClick: e, label: t, side: n }) => /* @__PURE__ */ Q(jn, {
23611
+ }), Sz = ({ onClick: e, label: t, side: n }) => /* @__PURE__ */ Q(jn, {
23607
23612
  label: t,
23608
23613
  children: /* @__PURE__ */ Q("button", {
23609
23614
  type: "button",
@@ -23617,10 +23622,10 @@ var fz = ({ transform: e }) => ({
23617
23622
  })
23618
23623
  })
23619
23624
  });
23620
- function Sz({ widgets: e = [], side: t = "main", children: n, footnote: r, slotRenderers: i, renderWidget: a, disableEdition: o = !1, disableDrag: s = !1, widgetHostFor: l, afterWidgets: u, dragSurfaceSelector: d, onRemoveWidget: f, onClickAddNewWidget: p, onReorder: m, visibleWidgetId: h, entrance: g = {}, virtualized: _ = !1, stow: v, addWidgetLabel: y, onChangeWidgetParams: b, rebuildWidget: x, renderWidgetPreview: S, paramsPreviewWidth: C, removeLabel: w, editParamsLabel: E, ctx: D = {}, className: O, style: k }) {
23621
- let A = U(), j = !o, M = (e) => h !== void 0 && e.id !== h, P = j && m != null, F = e.filter((e) => !e.locked).length > 1, [I, ee] = X(null), te = je(Fe(gz, { activationConstraint: { distance: 4 } })), [ne, re] = X(null), ie = e.find((e) => e.id === ne), [ae, L] = X(null), oe = Y(null), se = Y(null), ce = Y(null), le = Y(null), ue = J(() => [fz, iz(() => le.current)], []), de = (e) => {
23625
+ function Cz({ widgets: e = [], side: t = "main", children: n, footnote: r, slotRenderers: i, renderWidget: a, disableEdition: o = !1, disableDrag: s = !1, widgetHostFor: l, afterWidgets: u, dragSurfaceSelector: d, onRemoveWidget: f, onClickAddNewWidget: p, onReorder: m, visibleWidgetId: h, entrance: g = {}, virtualized: _ = !1, stow: v, addWidgetLabel: y, onChangeWidgetParams: b, rebuildWidget: x, renderWidgetPreview: S, paramsPreviewWidth: C, removeLabel: w, editParamsLabel: E, ctx: D = {}, className: O, style: k }) {
23626
+ let A = U(), j = !o, M = (e) => h !== void 0 && e.id !== h, P = j && m != null, F = e.filter((e) => !e.locked).length > 1, [I, ee] = X(null), te = je(Fe(_z, { activationConstraint: { distance: 4 } })), [ne, re] = X(null), ie = e.find((e) => e.id === ne), [ae, L] = X(null), oe = Y(null), se = Y(null), ce = Y(null), le = Y(null), ue = J(() => [pz, az(() => le.current)], []), de = (e) => {
23622
23627
  let t = oe.current?.querySelector(`[data-widget-id="${e}"]`);
23623
- se.current = KR(t), ce.current = d ? qR(vz(oe.current, d), t) : null;
23628
+ se.current = qR(t), ce.current = d ? JR(yz(oe.current, d), t) : null;
23624
23629
  }, fe = (e) => {
23625
23630
  e && se.current && e.replaceChildren(se.current);
23626
23631
  }, pe = Y(0), me = () => cancelAnimationFrame(pe.current), he = (e) => {
@@ -23635,14 +23640,14 @@ function Sz({ widgets: e = [], side: t = "main", children: n, footnote: r, slotR
23635
23640
  e.style.transform = `translate3d(${-t}px, ${-i}px, 0)`, pe.current = requestAnimationFrame(r);
23636
23641
  };
23637
23642
  r();
23638
- }, R = dz({
23643
+ }, R = fz({
23639
23644
  config: _ === !0 ? {} : _,
23640
23645
  count: e.length,
23641
- gap: yz[t],
23646
+ gap: bz[t],
23642
23647
  pinned: I ? [e.findIndex((e) => e.id === I)] : [],
23643
23648
  paused: h !== void 0
23644
23649
  }), ge = _ !== !1 && h !== void 0, _e = ({ activatorEvent: t, delta: n, active: r }) => {
23645
- let i = r.rect.current.translated, a = t, o = a.clientX == null ? null : a.clientX + n.x, s = a.clientY == null ? null : a.clientY + n.y, c = le.current == null ? [] : nz(e);
23650
+ let i = r.rect.current.translated, a = t, o = a.clientX == null ? null : a.clientX + n.x, s = a.clientY == null ? null : a.clientY + n.y, c = le.current == null ? [] : rz(e);
23646
23651
  return e.find((e) => {
23647
23652
  if (!e.locked || c.includes(e)) return !1;
23648
23653
  let t = oe.current?.querySelector(`[data-widget-id="${e.id}"]`)?.getBoundingClientRect();
@@ -23652,7 +23657,7 @@ function Sz({ widgets: e = [], side: t = "main", children: n, footnote: r, slotR
23652
23657
  });
23653
23658
  }, ve = (e) => {
23654
23659
  let t = [...e.actions ?? []];
23655
- return XL(e.header, e.params)?.info && t.push({
23660
+ return ZL(e.header, e.params)?.info && t.push({
23656
23661
  label: A.widgets.whatThisMeans,
23657
23662
  icon: tc,
23658
23663
  onClick: () => L(e.id)
@@ -23671,7 +23676,7 @@ function Sz({ widgets: e = [], side: t = "main", children: n, footnote: r, slotR
23671
23676
  if (i) {
23672
23677
  Bt.open({
23673
23678
  variant: "warning",
23674
- title: A.widgets.cannotMoveHere.replace("{{title}}", ZL(i))
23679
+ title: A.widgets.cannotMoveHere.replace("{{title}}", QL(i))
23675
23680
  });
23676
23681
  return;
23677
23682
  }
@@ -23686,13 +23691,13 @@ function Sz({ widgets: e = [], side: t = "main", children: n, footnote: r, slotR
23686
23691
  if ([...l.values()].includes(String(r.id))) return;
23687
23692
  let u = c(a, o, s).filter((e) => !l.has(a.indexOf(e))), d = a.map((e, t) => l.get(t) ?? u.shift());
23688
23693
  m?.(d);
23689
- }, be = (e, t, n = e.params) => /* @__PURE__ */ Q(HL, {
23694
+ }, be = (e, t, n = e.params) => /* @__PURE__ */ Q(UL, {
23690
23695
  widgetId: e.id,
23691
23696
  children: xe(e, t, n)
23692
23697
  }), xe = (e, t, n = e.params) => {
23693
23698
  let r = ve(e);
23694
- if (!a) return /* @__PURE__ */ Q(RR, {
23695
- ...eR(e),
23699
+ if (!a) return /* @__PURE__ */ Q(zR, {
23700
+ ...tR(e),
23696
23701
  header: e.header,
23697
23702
  params: n,
23698
23703
  fullHeight: e.fullHeight,
@@ -23729,7 +23734,7 @@ function Sz({ widgets: e = [], side: t = "main", children: n, footnote: r, slotR
23729
23734
  instant: v.stowed
23730
23735
  }, Ee = (e, t, n, r) => {
23731
23736
  let i = n ? Te(n) : void 0;
23732
- return !Se && !i && !r ? t : /* @__PURE__ */ Q(pz, {
23737
+ return !Se && !i && !r ? t : /* @__PURE__ */ Q(mz, {
23733
23738
  arrival: Se ? {
23734
23739
  order: (Se.order ?? 0) + e,
23735
23740
  delayMs: Se.delayMs ?? 0,
@@ -23740,13 +23745,13 @@ function Sz({ widgets: e = [], side: t = "main", children: n, footnote: r, slotR
23740
23745
  widgetId: r,
23741
23746
  children: t
23742
23747
  });
23743
- }, De = (e, t, n) => /* @__PURE__ */ Q(bz, {
23748
+ }, De = (e, t, n) => /* @__PURE__ */ Q(xz, {
23744
23749
  hidden: M(e),
23745
23750
  placement: n,
23746
23751
  measureRef: R.measureRef,
23747
- children: /* @__PURE__ */ Q(mz, {
23752
+ children: /* @__PURE__ */ Q(hz, {
23748
23753
  host: l?.(e),
23749
- children: P ? /* @__PURE__ */ Q(az, {
23754
+ children: P ? /* @__PURE__ */ Q(oz, {
23750
23755
  id: e.id,
23751
23756
  disabled: e.locked || s || !F,
23752
23757
  children: (n) => Ee(t, be(e, n), e)
@@ -23772,7 +23777,7 @@ function Sz({ widgets: e = [], side: t = "main", children: n, footnote: r, slotR
23772
23777
  collisionDetection: N,
23773
23778
  modifiers: ue,
23774
23779
  onDragStart: ({ active: n }) => {
23775
- de(String(n.id)), le.current = rz(e, oe.current, yz[t]), ee(String(n.id));
23780
+ de(String(n.id)), le.current = iz(e, oe.current, bz[t]), ee(String(n.id));
23776
23781
  },
23777
23782
  onDragCancel: () => {
23778
23783
  ee(null), me(), se.current = null, ce.current = null, le.current = null;
@@ -23792,7 +23797,7 @@ function Sz({ widgets: e = [], side: t = "main", children: n, footnote: r, slotR
23792
23797
  className: "fixed inset-0 z-50 cursor-grabbing"
23793
23798
  }) : null,
23794
23799
  /* @__PURE__ */ Q(T, {
23795
- dropAnimation: _z,
23800
+ dropAnimation: vz,
23796
23801
  children: I ? /* @__PURE__ */ $("div", {
23797
23802
  className: "relative h-full w-full cursor-grabbing overflow-hidden rounded-xl bg-f1-background",
23798
23803
  children: [/* @__PURE__ */ Q("div", {
@@ -23807,13 +23812,13 @@ function Sz({ widgets: e = [], side: t = "main", children: n, footnote: r, slotR
23807
23812
  ]
23808
23813
  }) : ke,
23809
23814
  u,
23810
- r == null ? null : Ee(e.length, /* @__PURE__ */ Q(tz, { text: r })),
23811
- !o && p ? Ee(e.length + (r == null ? 0 : 1), /* @__PURE__ */ Q(xz, {
23815
+ r == null ? null : Ee(e.length, /* @__PURE__ */ Q(nz, { text: r })),
23816
+ !o && p ? Ee(e.length + (r == null ? 0 : 1), /* @__PURE__ */ Q(Sz, {
23812
23817
  onClick: p,
23813
23818
  label: y ?? A.widgets.addWidget,
23814
23819
  side: t
23815
23820
  })) : null,
23816
- ie?.paramsSchema && b ? /* @__PURE__ */ Q(GR, {
23821
+ ie?.paramsSchema && b ? /* @__PURE__ */ Q(KR, {
23817
23822
  isOpen: !0,
23818
23823
  onClose: () => re(null),
23819
23824
  schema: ie.paramsSchema,
@@ -23828,7 +23833,7 @@ function Sz({ widgets: e = [], side: t = "main", children: n, footnote: r, slotR
23828
23833
  }
23829
23834
  //#endregion
23830
23835
  //#region src/domains/platform/home/Home/NewHomeLayout/useRailMotion.ts
23831
- var Cz = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
23836
+ var wz = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
23832
23837
  let a = yn(), [o, s] = X(!1);
23833
23838
  q(() => {
23834
23839
  r && s(!0);
@@ -23858,14 +23863,14 @@ var Cz = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
23858
23863
  },
23859
23864
  glyphDelayMs: o ? 90 : 220
23860
23865
  };
23861
- }, wz = {
23866
+ }, Tz = {
23862
23867
  morning: "bg-gradient-to-bl from-[#E51943] from-20% via-[#F97316] via-35% to-transparent to-50%",
23863
23868
  afternoon: "bg-gradient-to-bl from-[#5596F6] from-20% via-[#10B881] via-35% to-transparent to-50%",
23864
23869
  evening: "bg-gradient-to-bl from-[#3739A8] from-20% via-[#CB6687] via-35% to-transparent to-50%"
23865
- }, Tz = ({ period: e, className: t }) => /* @__PURE__ */ Q("div", {
23870
+ }, Ez = ({ period: e, className: t }) => /* @__PURE__ */ Q("div", {
23866
23871
  "aria-hidden": !0,
23867
- className: W("pointer-events-none absolute inset-0 h-screen max-h-[1000px] opacity-[0.08]", wz[e], t)
23868
- }), Ez = 40, Dz = 672, Oz = "[scrollbar-width:none] [&::-webkit-scrollbar]:hidden", kz = 16, Az = 768, jz = { display: "contents" }, Mz = 150, Nz = 150, Pz = wl(function({ children: e, mainFootnote: t, leftWidgets: n = [], rightWidgets: r = [], aside: i, slotRenderers: a, renderWidget: o, editableWidgetContainers: s = ["main", "right"], addableWidgetContainers: c, virtualizedWidgetContainers: l = [], virtualization: u, onRemoveWidget: d, onChangeWidgetParams: f, rebuildWidget: p, renderWidgetPreview: m, onClickAddNewWidget: h, onReorderWidgets: g, tracking: _, period: v = "morning", asideWidth: y = 396, mainWidth: b = Dz, bleed: x = 24, stackedPinsAfter: S = 2, ctx: C = {}, className: w, oneSwitchTooltip: T, oneSwitchAutoOpen: E, hideOneSwitch: D = !1 }, O) {
23872
+ className: W("pointer-events-none absolute inset-0 h-screen max-h-[1000px] opacity-[0.08]", Tz[e], t)
23873
+ }), Dz = 40, Oz = 672, kz = "[scrollbar-width:none] [&::-webkit-scrollbar]:hidden", Az = 16, jz = 768, Mz = { display: "contents" }, Nz = 150, Pz = 150, Fz = wl(function({ children: e, mainFootnote: t, leftWidgets: n = [], rightWidgets: r = [], aside: i, slotRenderers: a, renderWidget: o, editableWidgetContainers: s = ["main", "right"], addableWidgetContainers: c, virtualizedWidgetContainers: l = [], virtualization: u, onRemoveWidget: d, onChangeWidgetParams: f, rebuildWidget: p, renderWidgetPreview: m, onClickAddNewWidget: h, onReorderWidgets: g, tracking: _, period: v = "morning", asideWidth: y = 396, mainWidth: b = Oz, bleed: x = 24, stackedPinsAfter: S = 2, ctx: C = {}, className: w, oneSwitchTooltip: T, oneSwitchAutoOpen: E, hideOneSwitch: D = !1 }, O) {
23869
23874
  let k = U(), A = yn(), j = Y(null), [M, N] = X(0), [P, F] = X(!1), [I, ee] = X(null), [te, ne] = X(0), [re, ie] = X(!1), ae = Y(null), L = Y(null);
23870
23875
  jl(function() {
23871
23876
  let e = j.current;
@@ -23878,10 +23883,10 @@ var Cz = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
23878
23883
  let n = new ResizeObserver(t);
23879
23884
  return n.observe(e), () => n.disconnect();
23880
23885
  }, []);
23881
- let [oe, se] = X(null), ce = (e) => s.includes(e), le = (e) => ce(e) && (c?.includes(e) ?? !0), ue = MR(), de = MR(), fe = MR(), pe = (e) => l.includes(e) ? {
23886
+ let [oe, se] = X(null), ce = (e) => s.includes(e), le = (e) => ce(e) && (c?.includes(e) ?? !0), ue = NR(), de = NR(), fe = NR(), pe = (e) => l.includes(e) ? {
23882
23887
  ...u,
23883
23888
  scrollElement: e === "main" ? ue.element : de.element
23884
- } : !1, me = i != null || r.length > 0 || h != null && le("right"), he = M > 0 && M < b + kz + y, R = me && r.length > 0 && (he || (oe ?? !1)), ge = R ? Ez : y, _e = R ? "Expand widgets panel" : "Collapse widgets panel", ve = me && P, ye = M > 0 && M < Az, be = ve && !ye && (R || M >= Az), xe = {
23889
+ } : !1, me = i != null || r.length > 0 || h != null && le("right"), he = M > 0 && M < b + Az + y, R = me && r.length > 0 && (he || (oe ?? !1)), ge = R ? Dz : y, _e = R ? "Expand widgets panel" : "Collapse widgets panel", ve = me && P, ye = M > 0 && M < jz, be = ve && !ye && (R || M >= jz), xe = {
23885
23890
  pinned: r.filter((e) => e.locked),
23886
23891
  rest: r.filter((e) => !e.locked)
23887
23892
  }, [Se, Ce] = X({}), we = Y(/* @__PURE__ */ new Map()), Te = (e) => {
@@ -23899,7 +23904,7 @@ var Cz = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
23899
23904
  ...De.slice(0, S).map(Oe),
23900
23905
  ...xe.pinned.map((e) => /* @__PURE__ */ Q("div", {
23901
23906
  ref: Te(e.id),
23902
- style: jz
23907
+ style: Mz
23903
23908
  }, `pin-host-${e.id}`)),
23904
23909
  ...De.slice(S).map((e, t) => Oe(e, S + t))
23905
23910
  ], Ae = R ? r.find((e) => e.id === I) : void 0;
@@ -23910,7 +23915,7 @@ var Cz = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
23910
23915
  L.current && clearTimeout(L.current), ae.current && clearTimeout(ae.current);
23911
23916
  };
23912
23917
  }, []);
23913
- let je = Cz({
23918
+ let je = wz({
23914
23919
  collapsed: R,
23915
23920
  open: Ae != null,
23916
23921
  glide: re,
@@ -23944,7 +23949,7 @@ var Cz = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
23944
23949
  }, Re = () => {
23945
23950
  L.current && clearTimeout(L.current), L.current = null;
23946
23951
  }, ze = () => {
23947
- Le(), Re(), ae.current = setTimeout(() => ee(null), Mz);
23952
+ Le(), Re(), ae.current = setTimeout(() => ee(null), Nz);
23948
23953
  }, Be = (e, t) => {
23949
23954
  Re();
23950
23955
  let n = j.current;
@@ -23954,7 +23959,7 @@ var Cz = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
23954
23959
  }
23955
23960
  ie(Pe.current != null), ee(e);
23956
23961
  }, Ve = (e, t, n = !1) => {
23957
- Le(), Re(), Pe.current !== e && (n ? Be(e, t) : L.current = setTimeout(() => Be(e, t), Nz));
23962
+ Le(), Re(), Pe.current !== e && (n ? Be(e, t) : L.current = setTimeout(() => Be(e, t), Pz));
23958
23963
  }, He = /* @__PURE__ */ $(B.div, {
23959
23964
  ref: (e) => {
23960
23965
  j.current = e, typeof O == "function" ? O(e) : O && (O.current = e);
@@ -23977,7 +23982,7 @@ var Cz = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
23977
23982
  left: -x,
23978
23983
  right: -x
23979
23984
  },
23980
- children: /* @__PURE__ */ Q(Tz, { period: v })
23985
+ children: /* @__PURE__ */ Q(Ez, { period: v })
23981
23986
  }),
23982
23987
  /* @__PURE__ */ $(_L, {
23983
23988
  order: 0,
@@ -24005,7 +24010,7 @@ var Cz = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
24005
24010
  }),
24006
24011
  /* @__PURE__ */ Q("div", {
24007
24012
  ref: ue.ref,
24008
- className: W("relative isolate min-h-0 overflow-y-auto", Oz),
24013
+ className: W("relative isolate min-h-0 overflow-y-auto", kz),
24009
24014
  style: {
24010
24015
  gridColumn: 1,
24011
24016
  gridRow: 2,
@@ -24016,17 +24021,17 @@ var Cz = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
24016
24021
  marginLeft: -x,
24017
24022
  paddingLeft: x,
24018
24023
  marginRight: be ? -16 : -x,
24019
- paddingRight: be ? kz : x,
24024
+ paddingRight: be ? Az : x,
24020
24025
  ...ue.style
24021
24026
  },
24022
- children: /* @__PURE__ */ Q(Sz, {
24027
+ children: /* @__PURE__ */ Q(Cz, {
24023
24028
  side: "main",
24024
24029
  className: "relative mx-auto w-full",
24025
24030
  style: { maxWidth: `${b}px` },
24026
24031
  widgets: n,
24027
24032
  afterWidgets: xe.rest.map((e) => /* @__PURE__ */ Q("div", {
24028
24033
  ref: Te(e.id),
24029
- style: jz
24034
+ style: Mz
24030
24035
  }, `loose-host-${e.id}`)),
24031
24036
  footnote: t,
24032
24037
  slotRenderers: a,
@@ -24048,7 +24053,7 @@ var Cz = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
24048
24053
  }),
24049
24054
  /* @__PURE__ */ Q(Mn, { children: ye || !ve || !R ? null : /* @__PURE__ */ $(B.aside, {
24050
24055
  ref: fe.ref,
24051
- className: W("-m-1 -ml-3 flex min-h-0 flex-col items-end gap-2 overflow-y-auto p-1 pl-3", "pointer-events-none z-20", Oz),
24056
+ className: W("-m-1 -ml-3 flex min-h-0 flex-col items-end gap-2 overflow-y-auto p-1 pl-3", "pointer-events-none z-20", kz),
24052
24057
  style: {
24053
24058
  gridColumn: 2,
24054
24059
  gridRow: 2,
@@ -24062,7 +24067,7 @@ var Cz = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
24062
24067
  transition: sL(tL, A),
24063
24068
  onMouseLeave: ze,
24064
24069
  onMouseEnter: Le,
24065
- children: [r.map((e, t) => /* @__PURE__ */ Q(jR, {
24070
+ children: [r.map((e, t) => /* @__PURE__ */ Q(MR, {
24066
24071
  widget: e,
24067
24072
  order: t,
24068
24073
  open: I === e.id,
@@ -24093,7 +24098,7 @@ var Cz = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
24093
24098
  ve ? /* @__PURE__ */ Q(B.aside, {
24094
24099
  ref: de.ref,
24095
24100
  hidden: ye || Me && je.panelHidden,
24096
- className: W("min-h-0 overflow-y-auto overflow-x-hidden", Oz, Me && "absolute z-10 rounded-xl bg-f1-background dark:bg-f1-background-secondary dark:backdrop-blur-[100px] dark:backdrop-saturate-150", je.mode === "retracting" && "relative z-10"),
24101
+ className: W("min-h-0 overflow-y-auto overflow-x-hidden", kz, Me && "absolute z-10 rounded-xl bg-f1-background dark:bg-f1-background-secondary dark:backdrop-blur-[100px] dark:backdrop-saturate-150", je.mode === "retracting" && "relative z-10"),
24097
24102
  style: Ie,
24098
24103
  initial: !1,
24099
24104
  animate: {
@@ -24105,7 +24110,7 @@ var Cz = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
24105
24110
  transition: je.transition,
24106
24111
  onMouseEnter: R ? Le : void 0,
24107
24112
  onMouseLeave: R ? ze : void 0,
24108
- children: /* @__PURE__ */ Q(Sz, {
24113
+ children: /* @__PURE__ */ Q(Cz, {
24109
24114
  side: "right",
24110
24115
  widgets: r,
24111
24116
  visibleWidgetId: !ye && Me ? Fe : void 0,
@@ -24143,40 +24148,40 @@ var Cz = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
24143
24148
  }) : null
24144
24149
  ]
24145
24150
  });
24146
- return /* @__PURE__ */ Q(BL, {
24151
+ return /* @__PURE__ */ Q(VL, {
24147
24152
  tracking: _,
24148
24153
  children: He
24149
24154
  });
24150
- }), Fz = (e) => e ? Si[e] : void 0, Iz = (e) => e.type === "icon" ? {
24155
+ }), Iz = (e) => e ? Si[e] : void 0, Lz = (e) => e.type === "icon" ? {
24151
24156
  ...e,
24152
- icon: Fz(e.icon) ?? Io
24153
- } : e, Lz = (e, t, n) => ({
24154
- ...e.type === "navigate" && ZR(e.href) ? { href: e.href } : {},
24157
+ icon: Iz(e.icon) ?? Io
24158
+ } : e, Rz = (e, t, n) => ({
24159
+ ...e.type === "navigate" && QR(e.href) ? { href: e.href } : {},
24155
24160
  onClick: () => n(e, t)
24156
- }), Rz = (e, t, n) => ({
24161
+ }), zz = (e, t, n) => ({
24157
24162
  label: e.label,
24158
- icon: Fz(e.icon),
24163
+ icon: Iz(e.icon),
24159
24164
  variant: e.variant,
24160
- ...Lz(e.action, t, n)
24161
- }), zz = ({ title: e, slots: t, loading: n, slotRenderers: r, fullHeight: i }) => /* @__PURE__ */ Q(RR, {
24165
+ ...Rz(e.action, t, n)
24166
+ }), Bz = ({ title: e, slots: t, loading: n, slotRenderers: r, fullHeight: i }) => /* @__PURE__ */ Q(zR, {
24162
24167
  headless: !e,
24163
24168
  header: e ? { title: e } : void 0,
24164
24169
  fullHeight: i,
24165
24170
  slots: t,
24166
24171
  loading: n,
24167
24172
  slotRenderers: r
24168
- }), Bz = "agentic-empty-state", Vz = [
24173
+ }), Vz = "agentic-empty-state", Hz = [
24169
24174
  "default",
24170
24175
  "outline",
24171
24176
  "neutral",
24172
24177
  "promote"
24173
- ], Hz = (e) => Vz.find((t) => t === e), Uz = ({ empty: e, elementId: t, onAction: n }) => {
24178
+ ], Uz = (e) => Hz.find((t) => t === e), Wz = ({ empty: e, elementId: t, onAction: n }) => {
24174
24179
  let r = U(), i = e?.title ?? r.collections.emptyStates.noData.title, a = e ? e.description : r.collections.emptyStates.noData.description, o = e?.actions?.slice(0, 2).map((e) => ({
24175
24180
  label: e.label,
24176
- icon: Fz(e.icon),
24177
- variant: Hz(e.variant),
24181
+ icon: Iz(e.icon),
24182
+ variant: Uz(e.variant),
24178
24183
  onClick: () => n(e.action, t ? { elementId: t } : {})
24179
- })), s = J(() => ({ [Bz]: () => /* @__PURE__ */ Q(S, {
24184
+ })), s = J(() => ({ [Vz]: () => /* @__PURE__ */ Q(S, {
24180
24185
  title: i,
24181
24186
  description: a,
24182
24187
  emoji: e?.emoji ?? "📭",
@@ -24187,27 +24192,27 @@ var Cz = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
24187
24192
  e?.emoji,
24188
24193
  o
24189
24194
  ]);
24190
- return /* @__PURE__ */ Q(zz, {
24195
+ return /* @__PURE__ */ Q(Bz, {
24191
24196
  slots: [{
24192
- visualization: Bz,
24197
+ visualization: Vz,
24193
24198
  params: {}
24194
24199
  }],
24195
24200
  slotRenderers: s
24196
24201
  });
24197
- }, Wz = ({ message: e }) => {
24198
- let t = U(), n = J(() => ({ [Bz]: () => /* @__PURE__ */ Q(S, {
24202
+ }, Gz = ({ message: e }) => {
24203
+ let t = U(), n = J(() => ({ [Vz]: () => /* @__PURE__ */ Q(S, {
24199
24204
  variant: "critical",
24200
24205
  title: t.collections.emptyStates.error.title,
24201
24206
  description: e ?? t.collections.emptyStates.error.description
24202
24207
  }) }), [t, e]);
24203
- return /* @__PURE__ */ Q(zz, {
24208
+ return /* @__PURE__ */ Q(Bz, {
24204
24209
  slots: [{
24205
- visualization: Bz,
24210
+ visualization: Vz,
24206
24211
  params: {}
24207
24212
  }],
24208
24213
  slotRenderers: n
24209
24214
  });
24210
- }, Gz = (e) => {
24215
+ }, Kz = (e) => {
24211
24216
  switch (e.type) {
24212
24217
  case "stats": return e.stats;
24213
24218
  case "charts": return e.charts;
@@ -24218,15 +24223,15 @@ var Cz = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
24218
24223
  case "posts": return e.posts.map(({ id: e }) => ({ id: e }));
24219
24224
  case "text": return [];
24220
24225
  }
24221
- }, Kz = (e, t, n, r) => {
24226
+ }, qz = (e, t, n, r) => {
24222
24227
  let i = t?.itemActions;
24223
- if (i) for (let t of Gz(e)) (!t.action || !i.includes(t.action.type)) && r.push({
24228
+ if (i) for (let t of Kz(e)) (!t.action || !i.includes(t.action.type)) && r.push({
24224
24229
  rule: "itemAction",
24225
24230
  ...n,
24226
24231
  itemId: t.id,
24227
24232
  expected: i
24228
24233
  });
24229
- }, qz = {
24234
+ }, Jz = {
24230
24235
  stats: 3,
24231
24236
  charts: 2,
24232
24237
  list: 3,
@@ -24234,7 +24239,7 @@ var Cz = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
24234
24239
  events: 2,
24235
24240
  posts: 1,
24236
24241
  widget: 3
24237
- }, Jz = (e) => Math.max(1, e.expectedItemsCount ?? qz[e.type]), Yz = (e) => {
24242
+ }, Yz = (e) => Math.max(1, e.expectedItemsCount ?? Jz[e.type]), Xz = (e) => {
24238
24243
  switch (e.type) {
24239
24244
  case "stats": return e.stats.length;
24240
24245
  case "charts": return e.charts.length;
@@ -24245,7 +24250,7 @@ var Cz = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
24245
24250
  case "shortcuts": return e.shortcuts.length;
24246
24251
  case "text": return 1;
24247
24252
  }
24248
- }, Xz = (e, t) => {
24253
+ }, Zz = (e, t) => {
24249
24254
  switch (e.type) {
24250
24255
  case "stats": return {
24251
24256
  ...e,
@@ -24277,22 +24282,22 @@ var Cz = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
24277
24282
  };
24278
24283
  case "text": return e;
24279
24284
  }
24280
- }, Zz = (e, t) => e.blocks?.find((e) => e.type === t), Qz = (e, t) => e.allowedBlockTypes?.includes(t) ?? !0, $z = (e, t, n, r) => {
24281
- let i = Zz(n, e.type)?.maxItems, a = Yz(e);
24285
+ }, Qz = (e, t) => e.blocks?.find((e) => e.type === t), $z = (e, t) => e.allowedBlockTypes?.includes(t) ?? !0, eB = (e, t, n, r) => {
24286
+ let i = Qz(n, e.type)?.maxItems, a = Xz(e);
24282
24287
  return i === void 0 || a <= i ? e : (r.push({
24283
24288
  rule: "maxItems",
24284
24289
  elementId: t,
24285
24290
  blockType: e.type,
24286
24291
  limit: i,
24287
24292
  count: a
24288
- }), Xz(e, i));
24289
- }, eB = (e, t) => {
24290
- let n = e.type === "widget" ? void 0 : Zz(t, e.type)?.maxItems;
24291
- return n !== void 0 && Jz(e) > n ? {
24293
+ }), Zz(e, i));
24294
+ }, tB = (e, t) => {
24295
+ let n = e.type === "widget" ? void 0 : Qz(t, e.type)?.maxItems;
24296
+ return n !== void 0 && Yz(e) > n ? {
24292
24297
  ...e,
24293
24298
  expectedItemsCount: Math.max(1, n)
24294
24299
  } : e;
24295
- }, tB = (e, t, n) => t === n || (t === "widget" || n === "widget") && !Zz(e, "widget") || (Zz(e, t)?.combinesWith?.includes(n) ?? !0) && (Zz(e, n)?.combinesWith?.includes(t) ?? !0), nB = (e, t) => {
24300
+ }, nB = (e, t, n) => t === n || (t === "widget" || n === "widget") && !Qz(e, "widget") || (Qz(e, t)?.combinesWith?.includes(n) ?? !0) && (Qz(e, n)?.combinesWith?.includes(t) ?? !0), rB = (e, t) => {
24296
24301
  let n = t ? e.lead : void 0;
24297
24302
  if (!n) return e;
24298
24303
  let r = new Set(n.blocks?.map((e) => e.type));
@@ -24300,30 +24305,30 @@ var Cz = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
24300
24305
  ...e,
24301
24306
  ...n,
24302
24307
  blocks: [...(e.blocks ?? []).filter((e) => !r.has(e.type)), ...(n.blocks ?? []).map((t) => ({
24303
- ...Zz(e, t.type),
24308
+ ...Qz(e, t.type),
24304
24309
  ...t
24305
24310
  }))]
24306
24311
  };
24307
- }, rB = (e, t) => {
24312
+ }, iB = (e, t) => {
24308
24313
  let n = Array.isArray(e.params) ? e.params : [], r = t ?? {};
24309
24314
  return {
24310
24315
  missingParams: n.filter((e) => typeof r[e] != "string" || r[e] === ""),
24311
24316
  undeclaredParams: Object.keys(r).filter((e) => !n.includes(e))
24312
24317
  };
24313
- }, iB = (e) => "type" in e && e.type === "openAccessoryView" && "id" in e && typeof e.id == "string", aB = (e) => typeof e == "object" && !!e, oB = (e) => aB(e) && "id" in e && typeof e.id == "string" ? e.id : void 0, sB = (e, t, n = []) => {
24314
- if (Array.isArray(e)) for (let r of e) sB(r, oB(r) ?? t, n);
24315
- else if (aB(e)) {
24316
- if (iB(e)) n.push(t ? {
24318
+ }, aB = (e) => "type" in e && e.type === "openAccessoryView" && "id" in e && typeof e.id == "string", oB = (e) => typeof e == "object" && !!e, sB = (e) => oB(e) && "id" in e && typeof e.id == "string" ? e.id : void 0, cB = (e, t, n = []) => {
24319
+ if (Array.isArray(e)) for (let r of e) cB(r, sB(r) ?? t, n);
24320
+ else if (oB(e)) {
24321
+ if (aB(e)) n.push(t ? {
24317
24322
  action: e,
24318
24323
  itemId: t
24319
24324
  } : { action: e });
24320
- else for (let r of Object.values(e)) sB(r, t, n);
24325
+ else for (let r of Object.values(e)) cB(r, t, n);
24321
24326
  }
24322
24327
  return n;
24323
- }, cB = (e) => [...new Map(e.map((e) => [JSON.stringify(e), e])).values()], lB = (e, t, n) => sB(e).flatMap(({ action: e, itemId: r }) => {
24328
+ }, lB = (e) => [...new Map(e.map((e) => [JSON.stringify(e), e])).values()], uB = (e, t, n) => cB(e).flatMap(({ action: e, itemId: r }) => {
24324
24329
  let i = t.find(({ id: t }) => t === e.id);
24325
24330
  if (!i) return [];
24326
- let a = rB(i, e.params);
24331
+ let a = iB(i, e.params);
24327
24332
  return !a.missingParams.length && !a.undeclaredParams.length ? [] : [{
24328
24333
  rule: "accessoryViewParams",
24329
24334
  viewId: i.id,
@@ -24332,39 +24337,39 @@ var Cz = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
24332
24337
  ...r && r !== n.elementId ? { itemId: r } : {},
24333
24338
  ...n.accessoryViewId ? { accessoryViewId: n.accessoryViewId } : {}
24334
24339
  }];
24335
- }), uB = (e, t, n) => [...lB([e.followUps, e.actions], t, { accessoryViewId: n }), ...e.elements.flatMap((e) => e.type === "shortcuts" || e.type === "text" ? lB(e, t, {
24340
+ }), dB = (e, t, n) => [...uB([e.followUps, e.actions], t, { accessoryViewId: n }), ...e.elements.flatMap((e) => e.type === "shortcuts" || e.type === "text" ? uB(e, t, {
24336
24341
  elementId: e.id,
24337
24342
  accessoryViewId: n
24338
- }) : [])], dB = (e) => {
24343
+ }) : [])], fB = (e) => {
24339
24344
  let t = e.accessoryViews ?? [];
24340
- return cB([...e.sections.flatMap((e) => uB(e, t, void 0)), ...t.flatMap((e) => [...(e.sections ?? []).flatMap((n) => uB(n, t, e.id)), ...lB(e.actions, t, { accessoryViewId: e.id })])]);
24341
- }, fB = (e, t, n) => (r, i) => r?.type !== "goToSection" || r.sectionId !== t.sectionId && e.has(r.sectionId) ? !0 : (n.push({
24345
+ return lB([...e.sections.flatMap((e) => dB(e, t, void 0)), ...t.flatMap((e) => [...(e.sections ?? []).flatMap((n) => dB(n, t, e.id)), ...uB(e.actions, t, { accessoryViewId: e.id })])]);
24346
+ }, pB = (e, t, n) => (r, i) => r?.type !== "goToSection" || r.sectionId !== t.sectionId && e.has(r.sectionId) ? !0 : (n.push({
24342
24347
  rule: "sectionLink",
24343
24348
  ...t,
24344
24349
  ...i ? { itemId: i } : {},
24345
24350
  targetSectionId: r.sectionId
24346
- }), !1), pB = (e, t) => {
24351
+ }), !1), mB = (e, t) => {
24347
24352
  if (t(e.action, e.id)) return e;
24348
24353
  let { action: n, ...r } = e;
24349
24354
  return r;
24350
- }, mB = (e, t) => {
24355
+ }, hB = (e, t) => {
24351
24356
  switch (e.type) {
24352
24357
  case "stats": return {
24353
24358
  ...e,
24354
- stats: e.stats.map((e) => pB(e, t))
24359
+ stats: e.stats.map((e) => mB(e, t))
24355
24360
  };
24356
24361
  case "charts": return {
24357
24362
  ...e,
24358
- charts: e.charts.map((e) => pB(e, t))
24363
+ charts: e.charts.map((e) => mB(e, t))
24359
24364
  };
24360
24365
  case "events": return {
24361
24366
  ...e,
24362
- events: e.events.map((e) => pB(e, t))
24367
+ events: e.events.map((e) => mB(e, t))
24363
24368
  };
24364
24369
  case "list": return {
24365
24370
  ...e,
24366
24371
  rows: e.rows.map((e) => ({
24367
- ...pB(e, t),
24372
+ ...mB(e, t),
24368
24373
  actions: e.actions?.filter((n) => t(n.action, e.id))
24369
24374
  }))
24370
24375
  };
@@ -24376,24 +24381,24 @@ var Cz = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
24376
24381
  case "posts":
24377
24382
  case "text": return e;
24378
24383
  }
24379
- }, hB = (e, t, n, r) => mB(e, fB(t, n, r)), gB = (e, t) => {
24384
+ }, gB = (e, t, n, r) => hB(e, pB(t, n, r)), _B = (e, t) => {
24380
24385
  let n = new Set(e.map((e) => e.id));
24381
24386
  return e.map((e) => {
24382
- let r = fB(n, { sectionId: e.id }, t);
24387
+ let r = pB(n, { sectionId: e.id }, t);
24383
24388
  return {
24384
24389
  ...e,
24385
24390
  actions: e.actions?.filter((e) => e.type === "separator" || r(e.action)),
24386
24391
  followUps: e.followUps?.filter((e) => r(e.action)),
24387
- elements: e.elements.map((r) => r.type === "shortcuts" ? mB(r, fB(n, {
24392
+ elements: e.elements.map((r) => r.type === "shortcuts" ? hB(r, pB(n, {
24388
24393
  sectionId: e.id,
24389
24394
  elementId: r.id
24390
24395
  }, t)) : r)
24391
24396
  };
24392
24397
  });
24393
- }, _B = (e) => e.widget ? "widget" : e.block.type, vB = (e, t) => _B(t) === e.type, yB = (e, t, n) => {
24398
+ }, vB = (e) => e.widget ? "widget" : e.block.type, yB = (e, t) => vB(t) === e.type, bB = (e, t, n) => {
24394
24399
  let r = /* @__PURE__ */ new Map();
24395
24400
  e.sections.forEach((e, n) => {
24396
- let i = nB(t, n === 0);
24401
+ let i = rB(t, n === 0);
24397
24402
  for (let t of e.elements) r.set(t.id, {
24398
24403
  element: t,
24399
24404
  rules: i,
@@ -24413,23 +24418,23 @@ var Cz = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
24413
24418
  });
24414
24419
  }
24415
24420
  return r;
24416
- }, bB = (e, t, n, r = []) => {
24417
- let i = new Set(t.sections.map((e) => e.id)), a = yB(t, n, r), o = [], s = Object.entries(e).map(([e, t]) => {
24421
+ }, xB = (e, t, n, r = []) => {
24422
+ let i = new Set(t.sections.map((e) => e.id)), a = bB(t, n, r), o = [], s = Object.entries(e).map(([e, t]) => {
24418
24423
  let n = a.get(e);
24419
24424
  if (!n || t.status !== "ready") return [e, t];
24420
24425
  let r = [], s = t;
24421
- if (!vB(n.element, t)) r.push({
24426
+ if (!yB(n.element, t)) r.push({
24422
24427
  rule: "sourceType",
24423
24428
  elementId: e,
24424
24429
  expected: n.element.type,
24425
- received: _B(t)
24430
+ received: vB(t)
24426
24431
  });
24427
24432
  else if (t.block) {
24428
24433
  let a = {
24429
24434
  sectionId: n.sectionId,
24430
24435
  elementId: e
24431
- }, o = hB($z(t.block, e, n.rules, r), i, a, r);
24432
- Kz(o, Zz(n.rules, o.type), a, r), s = {
24436
+ }, o = gB(eB(t.block, e, n.rules, r), i, a, r);
24437
+ qz(o, Qz(n.rules, o.type), a, r), s = {
24433
24438
  ...t,
24434
24439
  block: o
24435
24440
  };
@@ -24440,25 +24445,25 @@ var Cz = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
24440
24445
  } : e)), [e, s];
24441
24446
  }), c = t.accessoryViews ?? [], l = s.flatMap(([e, t]) => {
24442
24447
  let n = a.get(e);
24443
- return n && t.status === "ready" && t.block ? lB(t.block, c, {
24448
+ return n && t.status === "ready" && t.block ? uB(t.block, c, {
24444
24449
  elementId: e,
24445
24450
  accessoryViewId: n.accessoryViewId
24446
24451
  }) : [];
24447
24452
  });
24448
24453
  return {
24449
24454
  sources: Object.fromEntries(s),
24450
- violations: [...o, ...cB(l)]
24455
+ violations: [...o, ...lB(l)]
24451
24456
  };
24452
- }, xB = ({ press: e, children: t }) => /* @__PURE__ */ Q("div", {
24457
+ }, SB = ({ press: e, children: t }) => /* @__PURE__ */ Q("div", {
24453
24458
  "data-agentic-card": "",
24454
24459
  className: W("relative h-full rounded-xl", e && "transition-colors hover:bg-f1-background-hover"),
24455
24460
  children: t
24456
- }), SB = "after:absolute after:inset-0 after:z-[1] after:rounded-xl after:content-['']", CB = ({ label: e, press: t }) => {
24461
+ }), CB = "after:absolute after:inset-0 after:z-[1] after:rounded-xl after:content-['']", wB = ({ label: e, press: t }) => {
24457
24462
  if (!t) return /* @__PURE__ */ Q(pr, {
24458
24463
  variant: "label",
24459
24464
  content: e
24460
24465
  });
24461
- let n = W("border-none bg-transparent p-0 text-left font-medium text-f1-foreground no-underline", SB, G());
24466
+ let n = W("border-none bg-transparent p-0 text-left font-medium text-f1-foreground no-underline", CB, G());
24462
24467
  return t.href ? /* @__PURE__ */ Q(er, {
24463
24468
  href: t.href,
24464
24469
  onClick: t.onClick,
@@ -24474,9 +24479,9 @@ var Cz = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
24474
24479
  className: W("cursor-pointer", n),
24475
24480
  children: e
24476
24481
  });
24477
- }, wB = (e) => {
24482
+ }, TB = (e) => {
24478
24483
  if (!e) return;
24479
- let t = TB(e.type === "percent" ? {
24484
+ let t = EB(e.type === "percent" ? {
24480
24485
  style: "percent",
24481
24486
  maximumFractionDigits: 1
24482
24487
  } : e.type === "compact" ? {
@@ -24487,27 +24492,27 @@ var Cz = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
24487
24492
  currency: e.currency
24488
24493
  } : {});
24489
24494
  return (e) => t.format(e);
24490
- }, TB = (e) => {
24495
+ }, EB = (e) => {
24491
24496
  try {
24492
24497
  return new Intl.NumberFormat(void 0, e);
24493
24498
  } catch {
24494
24499
  return new Intl.NumberFormat();
24495
24500
  }
24496
- }, EB = ({ spec: e, label: t, format: n }) => {
24497
- let r = wB(n);
24501
+ }, DB = ({ spec: e, label: t, format: n }) => {
24502
+ let r = TB(n);
24498
24503
  return /* @__PURE__ */ Q(dt, {
24499
24504
  ...e,
24500
24505
  ariaLabel: t,
24501
24506
  valueFormatter: r
24502
24507
  });
24503
- }, DB = ({ chart: e, press: t }) => /* @__PURE__ */ $(dr, {
24508
+ }, OB = ({ chart: e, press: t }) => /* @__PURE__ */ $(dr, {
24504
24509
  display: "flex",
24505
24510
  flexDirection: "column",
24506
24511
  gap: "md",
24507
24512
  children: [/* @__PURE__ */ $(dr, {
24508
24513
  display: "flex",
24509
24514
  flexDirection: "column",
24510
- children: [/* @__PURE__ */ Q(CB, {
24515
+ children: [/* @__PURE__ */ Q(wB, {
24511
24516
  label: e.label,
24512
24517
  press: t
24513
24518
  }), e.caption ? /* @__PURE__ */ Q(pr, {
@@ -24516,24 +24521,24 @@ var Cz = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
24516
24521
  }) : null]
24517
24522
  }), /* @__PURE__ */ Q("div", {
24518
24523
  className: "h-48 w-full",
24519
- children: /* @__PURE__ */ Q(EB, {
24524
+ children: /* @__PURE__ */ Q(DB, {
24520
24525
  spec: e.chart,
24521
24526
  label: e.label,
24522
24527
  format: e.format
24523
24528
  })
24524
24529
  })]
24525
- }), OB = 300, kB = 7, AB = 14, jB = 5, MB = 18, NB = 3, PB = (e) => Math.max(0, ...e.map((e) => e.length)), FB = (e) => {
24530
+ }), kB = 300, AB = 7, jB = 14, MB = 5, NB = 18, PB = 3, FB = (e) => Math.max(0, ...e.map((e) => e.length)), IB = (e) => {
24526
24531
  if (e.type === "pie") {
24527
24532
  let t = e.series.data.map((e) => e.name);
24528
- return t.length > jB || PB(t) > MB;
24533
+ return t.length > MB || FB(t) > NB;
24529
24534
  }
24530
- if (e.series.length > NB) return !0;
24531
- if (e.type === "bar" && e.orientation === "horizontal") return PB(e.categories) > AB;
24532
- let t = OB / Math.max(1, e.categories.length);
24533
- return PB(e.categories) * kB > t;
24534
- }, IB = (e) => {
24535
+ if (e.series.length > PB) return !0;
24536
+ if (e.type === "bar" && e.orientation === "horizontal") return FB(e.categories) > jB;
24537
+ let t = kB / Math.max(1, e.categories.length);
24538
+ return FB(e.categories) * AB > t;
24539
+ }, LB = (e) => {
24535
24540
  if (e.length === 1) return ["full"];
24536
- let t = e.map((e) => FB(e.chart) ? "full" : "half"), n = 0;
24541
+ let t = e.map((e) => IB(e.chart) ? "full" : "half"), n = 0;
24537
24542
  return t.forEach((e, r) => {
24538
24543
  if (e === "half" && (n += 1), (e === "full" || r === t.length - 1) && n % 2 == 1) {
24539
24544
  let n = e === "half" ? r : r - 1;
@@ -24541,42 +24546,42 @@ var Cz = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
24541
24546
  }
24542
24547
  e === "full" && (n = 0);
24543
24548
  }), t;
24544
- }, LB = "agentic-chart", RB = { [LB]: (e) => /* @__PURE__ */ Q(DB, { ...e }) }, zB = ({ charts: e, elementId: t, onAction: n }) => {
24545
- let r = IB(e);
24549
+ }, RB = "agentic-chart", zB = { [RB]: (e) => /* @__PURE__ */ Q(OB, { ...e }) }, BB = ({ charts: e, elementId: t, onAction: n }) => {
24550
+ let r = LB(e);
24546
24551
  return /* @__PURE__ */ Q("div", {
24547
24552
  className: "grid w-full max-w-content grid-cols-1 gap-4 sm:grid-cols-2",
24548
24553
  children: e.map((e, i) => {
24549
- let a = e.action ? Lz(e.action, {
24554
+ let a = e.action ? Rz(e.action, {
24550
24555
  elementId: t,
24551
24556
  itemId: e.id
24552
24557
  }, n) : void 0;
24553
24558
  return /* @__PURE__ */ Q("div", {
24554
24559
  "data-chart-span": r[i],
24555
24560
  className: r[i] === "full" ? "min-w-0 sm:col-span-2" : "min-w-0",
24556
- children: /* @__PURE__ */ Q(xB, {
24561
+ children: /* @__PURE__ */ Q(SB, {
24557
24562
  press: a,
24558
- children: /* @__PURE__ */ Q(zz, {
24563
+ children: /* @__PURE__ */ Q(Bz, {
24559
24564
  fullHeight: !0,
24560
24565
  slots: [{
24561
- visualization: LB,
24566
+ visualization: RB,
24562
24567
  params: {
24563
24568
  chart: e,
24564
24569
  press: a
24565
24570
  }
24566
24571
  }],
24567
- slotRenderers: RB
24572
+ slotRenderers: zB
24568
24573
  })
24569
24574
  })
24570
24575
  }, e.id);
24571
24576
  })
24572
24577
  });
24573
- }, BB = ({ events: e, elementId: t, onAction: n }) => /* @__PURE__ */ Q(dr, {
24578
+ }, VB = ({ events: e, elementId: t, onAction: n }) => /* @__PURE__ */ Q(dr, {
24574
24579
  display: "flex",
24575
24580
  flexDirection: "column",
24576
24581
  gap: "md",
24577
- children: e.map(({ id: e, from: r, to: i, pending: a, action: o, ...s }) => /* @__PURE__ */ Q(zz, { slots: [qL("event-list", { events: [{
24582
+ children: e.map(({ id: e, from: r, to: i, pending: a, action: o, ...s }) => /* @__PURE__ */ Q(Bz, { slots: [JL("event-list", { events: [{
24578
24583
  ...s,
24579
- ...o ? Lz(o, {
24584
+ ...o ? Rz(o, {
24580
24585
  elementId: t,
24581
24586
  itemId: e
24582
24587
  }, n) : {},
@@ -24585,22 +24590,22 @@ var Cz = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
24585
24590
  fromDate: r ? new Date(r) : void 0,
24586
24591
  toDate: i ? new Date(i) : void 0
24587
24592
  }] })] }, e))
24588
- }), VB = ({ action: e, ...t }, n, r) => ({
24593
+ }), HB = ({ action: e, ...t }, n, r) => ({
24589
24594
  ...t,
24590
- href: ZR(t.href),
24595
+ href: QR(t.href),
24591
24596
  ...e ? {
24592
24597
  href: void 0,
24593
- ...Lz(e, {
24598
+ ...Rz(e, {
24594
24599
  elementId: n,
24595
24600
  itemId: t.id
24596
24601
  }, r)
24597
24602
  } : {},
24598
- avatar: t.avatar && Iz(t.avatar),
24599
- rightAvatar: t.rightAvatar && Iz(t.rightAvatar),
24600
- avatars: t.avatars?.map(Iz),
24603
+ avatar: t.avatar && Lz(t.avatar),
24604
+ rightAvatar: t.rightAvatar && Lz(t.rightAvatar),
24605
+ avatars: t.avatars?.map(Lz),
24601
24606
  actions: t.actions?.map((e) => ({
24602
24607
  label: e.label,
24603
- icon: Fz(e.icon),
24608
+ icon: Iz(e.icon),
24604
24609
  critical: e.critical,
24605
24610
  showLabel: e.showLabel,
24606
24611
  onClick: () => r(e.action, {
@@ -24608,16 +24613,16 @@ var Cz = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
24608
24613
  itemId: t.id
24609
24614
  })
24610
24615
  }))
24611
- }), HB = (e) => e.rows.some(({ action: e }) => e?.type === "navigate") ? {
24616
+ }), UB = (e) => e.rows.some(({ action: e }) => e?.type === "navigate") ? {
24612
24617
  ...e.schema,
24613
24618
  clickBehavior: "link"
24614
- } : e.schema, UB = (e, t, n) => [{
24619
+ } : e.schema, WB = (e, t, n) => [{
24615
24620
  visualization: "list",
24616
24621
  params: {
24617
- schema: HB(e),
24618
- items: e.rows.map((e) => VB(e, t, n))
24622
+ schema: UB(e),
24623
+ items: e.rows.map((e) => HB(e, t, n))
24619
24624
  }
24620
- }], WB = ({ content: e, elementId: t, onAction: n }) => /* @__PURE__ */ $(dr, {
24625
+ }], GB = ({ content: e, elementId: t, onAction: n }) => /* @__PURE__ */ $(dr, {
24621
24626
  display: "flex",
24622
24627
  flexDirection: "column",
24623
24628
  gap: "md",
@@ -24627,16 +24632,16 @@ var Cz = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
24627
24632
  children: e.title
24628
24633
  }) : null, /* @__PURE__ */ Q("div", {
24629
24634
  className: "text-lg [&_[data-list-row]]:gap-4",
24630
- children: /* @__PURE__ */ Q(LR, { slots: UB(e, t, n) })
24635
+ children: /* @__PURE__ */ Q(RR, { slots: WB(e, t, n) })
24631
24636
  })]
24632
- }), GB = ({ content: e, elementId: t, onAction: n }) => e.bare ? /* @__PURE__ */ Q(WB, {
24637
+ }), KB = ({ content: e, elementId: t, onAction: n }) => e.bare ? /* @__PURE__ */ Q(GB, {
24633
24638
  content: e,
24634
24639
  elementId: t,
24635
24640
  onAction: n
24636
- }) : /* @__PURE__ */ Q(zz, {
24641
+ }) : /* @__PURE__ */ Q(Bz, {
24637
24642
  title: e.title,
24638
- slots: UB(e, t, n)
24639
- }), KB = ({ posts: e }) => /* @__PURE__ */ Q(dr, {
24643
+ slots: WB(e, t, n)
24644
+ }), qB = ({ posts: e }) => /* @__PURE__ */ Q(dr, {
24640
24645
  display: "flex",
24641
24646
  flexDirection: "column",
24642
24647
  gap: "md",
@@ -24644,11 +24649,11 @@ var Cz = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
24644
24649
  variant: "row",
24645
24650
  post: {
24646
24651
  ...n,
24647
- href: ZR(t),
24652
+ href: QR(t),
24648
24653
  createdAt: new Date(e)
24649
24654
  }
24650
24655
  }, n.id))
24651
- }), qB = ({ shortcuts: e, elementId: t, onAction: n }) => /* @__PURE__ */ Q(dr, {
24656
+ }), JB = ({ shortcuts: e, elementId: t, onAction: n }) => /* @__PURE__ */ Q(dr, {
24652
24657
  display: "flex",
24653
24658
  flexWrap: "wrap",
24654
24659
  gap: "sm",
@@ -24656,27 +24661,27 @@ var Cz = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
24656
24661
  variant: "neutral",
24657
24662
  size: "md",
24658
24663
  label: e.label,
24659
- icon: Fz(e.icon),
24660
- ...Lz(e.action, {
24664
+ icon: Iz(e.icon),
24665
+ ...Rz(e.action, {
24661
24666
  elementId: t,
24662
24667
  itemId: e.id
24663
24668
  }, n)
24664
24669
  }, e.id))
24665
- }), JB = "agentic-stats", YB = {
24670
+ }), YB = "agentic-stats", XB = {
24666
24671
  positive: "text-f1-foreground-positive",
24667
24672
  negative: "text-f1-foreground-critical",
24668
24673
  neutral: "text-f1-foreground-secondary"
24669
- }, XB = (e, t, n) => ({
24670
- visualization: JB,
24674
+ }, ZB = (e, t, n) => ({
24675
+ visualization: YB,
24671
24676
  params: { stats: e.map((e) => ({
24672
24677
  stat: e,
24673
- press: e.action ? Lz(e.action, {
24678
+ press: e.action ? Rz(e.action, {
24674
24679
  elementId: t,
24675
24680
  itemId: e.id
24676
24681
  }, n) : void 0
24677
24682
  })) }
24678
- }), ZB = ({ stat: e, press: t }) => {
24679
- let n = Fz(e.icon);
24683
+ }), QB = ({ stat: e, press: t }) => {
24684
+ let n = Iz(e.icon);
24680
24685
  return /* @__PURE__ */ $(dr, {
24681
24686
  display: "flex",
24682
24687
  flexDirection: "column",
@@ -24700,7 +24705,7 @@ var Cz = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
24700
24705
  children: [e.eyebrow ? /* @__PURE__ */ Q(pr, {
24701
24706
  variant: "description",
24702
24707
  content: e.eyebrow
24703
- }) : null, /* @__PURE__ */ Q(CB, {
24708
+ }) : null, /* @__PURE__ */ Q(wB, {
24704
24709
  label: e.label,
24705
24710
  press: t
24706
24711
  })]
@@ -24720,7 +24725,7 @@ var Cz = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
24720
24725
  className: "size-2 shrink-0 rounded-full bg-f1-background-warning-bold"
24721
24726
  }) : null, e.value]
24722
24727
  }), e.trend ? /* @__PURE__ */ Q("span", {
24723
- className: W("text-base font-medium", YB[e.trend.tone ?? "neutral"]),
24728
+ className: W("text-base font-medium", XB[e.trend.tone ?? "neutral"]),
24724
24729
  children: e.trend.text
24725
24730
  }) : null]
24726
24731
  }), e.caption ? /* @__PURE__ */ Q(pr, {
@@ -24729,59 +24734,59 @@ var Cz = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
24729
24734
  }) : null]
24730
24735
  })]
24731
24736
  });
24732
- }, QB = "overflow-hidden rounded-t-[calc(theme(borderRadius.xl)-1px)] [:last-child>&]:rounded-b-[calc(theme(borderRadius.xl)-1px)]", $B = (e, t) => {
24737
+ }, $B = "overflow-hidden rounded-t-[calc(theme(borderRadius.xl)-1px)] [:last-child>&]:rounded-b-[calc(theme(borderRadius.xl)-1px)]", eV = (e, t) => {
24733
24738
  let n = Math.max(1, Math.floor(t / 160)), r = Math.ceil(Math.max(1, e) / n);
24734
24739
  return Math.ceil(Math.max(1, e) / r);
24735
- }, eV = ({ stats: e }) => {
24740
+ }, tV = ({ stats: e }) => {
24736
24741
  let t = Y(null), { width: n } = ir({
24737
24742
  ref: t,
24738
24743
  box: "border-box"
24739
- }), r = $B(e.length, n || 712);
24744
+ }), r = eV(e.length, n || 712);
24740
24745
  return /* @__PURE__ */ Q("div", {
24741
24746
  ref: t,
24742
- className: W("-m-4", QB),
24747
+ className: W("-m-4", $B),
24743
24748
  children: /* @__PURE__ */ Q("div", {
24744
24749
  className: "-mb-px -mr-px flex flex-wrap",
24745
24750
  children: e.map(({ stat: e, press: t }) => /* @__PURE__ */ Q("div", {
24746
24751
  "data-agentic-card": "",
24747
24752
  className: W("relative min-w-0 grow border-0 border-b border-r border-solid border-f1-border-secondary p-4", t && "transition-colors hover:bg-f1-background-hover"),
24748
24753
  style: { flexBasis: `${100 / r}%` },
24749
- children: /* @__PURE__ */ Q(ZB, {
24754
+ children: /* @__PURE__ */ Q(QB, {
24750
24755
  stat: e,
24751
24756
  press: t
24752
24757
  })
24753
24758
  }, e.id))
24754
24759
  })
24755
24760
  });
24756
- }, tV = { [JB]: (e) => /* @__PURE__ */ Q(eV, { ...e }) }, nV = ({ stats: e, elementId: t, onAction: n }) => /* @__PURE__ */ Q(zz, {
24757
- slots: [XB(e, t, n)],
24758
- slotRenderers: tV
24759
- }), rV = En().use(nr), iV = (e) => rV.parse(e), aV = (e) => e.value ?? e.alt ?? (e.children ?? []).map(aV).join(""), oV = (e) => (e ?? []).map((e, t) => sV(e, t)), sV = (e, t) => {
24761
+ }, nV = { [YB]: (e) => /* @__PURE__ */ Q(tV, { ...e }) }, rV = ({ stats: e, elementId: t, onAction: n }) => /* @__PURE__ */ Q(Bz, {
24762
+ slots: [ZB(e, t, n)],
24763
+ slotRenderers: nV
24764
+ }), iV = En().use(nr), aV = (e) => iV.parse(e), oV = (e) => e.value ?? e.alt ?? (e.children ?? []).map(oV).join(""), sV = (e) => (e ?? []).map((e, t) => cV(e, t)), cV = (e, t) => {
24760
24765
  switch (e.type) {
24761
- case "root": return oV(e.children);
24766
+ case "root": return sV(e.children);
24762
24767
  case "text": return e.value;
24763
24768
  case "paragraph": return /* @__PURE__ */ Q("p", {
24764
24769
  className: "m-0",
24765
- children: oV(e.children)
24770
+ children: sV(e.children)
24766
24771
  }, t);
24767
24772
  case "heading": return /* @__PURE__ */ Q(Qt, {
24768
24773
  as: `h${Math.min((e.depth ?? 1) + 2, 6)}`,
24769
24774
  variant: "heading",
24770
- content: aV(e)
24775
+ content: oV(e)
24771
24776
  }, t);
24772
24777
  case "list": return e.ordered ? /* @__PURE__ */ Q("ol", {
24773
24778
  className: "m-0 flex list-decimal flex-col gap-1 pl-5",
24774
- children: oV(e.children)
24779
+ children: sV(e.children)
24775
24780
  }, t) : /* @__PURE__ */ Q("ul", {
24776
24781
  className: "m-0 flex list-disc flex-col gap-1 pl-5",
24777
- children: oV(e.children)
24782
+ children: sV(e.children)
24778
24783
  }, t);
24779
- case "listItem": return /* @__PURE__ */ Q("li", { children: (e.children ?? []).map((e, t) => e.type === "paragraph" ? oV(e.children) : sV(e, t)) }, t);
24784
+ case "listItem": return /* @__PURE__ */ Q("li", { children: (e.children ?? []).map((e, t) => e.type === "paragraph" ? sV(e.children) : cV(e, t)) }, t);
24780
24785
  case "strong": return /* @__PURE__ */ Q("strong", {
24781
24786
  className: "font-semibold",
24782
- children: oV(e.children)
24787
+ children: sV(e.children)
24783
24788
  }, t);
24784
- case "emphasis": return /* @__PURE__ */ Q("em", { children: oV(e.children) }, t);
24789
+ case "emphasis": return /* @__PURE__ */ Q("em", { children: sV(e.children) }, t);
24785
24790
  case "inlineCode": return /* @__PURE__ */ Q(pr, {
24786
24791
  as: "code",
24787
24792
  variant: "code",
@@ -24797,69 +24802,69 @@ var Cz = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
24797
24802
  content: e.value ?? ""
24798
24803
  })
24799
24804
  }, t);
24800
- case "link": return e.url && $R(e.url) ? /* @__PURE__ */ Q(Jr, {
24805
+ case "link": return e.url && ez(e.url) ? /* @__PURE__ */ Q(Jr, {
24801
24806
  href: e.url,
24802
- children: aV(e)
24803
- }, t) : aV(e);
24807
+ children: oV(e)
24808
+ }, t) : oV(e);
24804
24809
  case "break": return /* @__PURE__ */ Q("br", {}, t);
24805
- default: return aV(e);
24810
+ default: return oV(e);
24806
24811
  }
24807
- }, cV = ({ text: e, lead: t = !1 }) => /* @__PURE__ */ Q("div", {
24812
+ }, lV = ({ text: e, lead: t = !1 }) => /* @__PURE__ */ Q("div", {
24808
24813
  "data-agentic-text": !0,
24809
24814
  className: W("flex flex-col gap-2 text-f1-foreground", t ? "text-lg" : "text-base"),
24810
- children: sV(iV(e), 0)
24811
- }), lV = ({ text: e, lead: t }) => /* @__PURE__ */ Q(cV, {
24815
+ children: cV(aV(e), 0)
24816
+ }), uV = ({ text: e, lead: t }) => /* @__PURE__ */ Q(lV, {
24812
24817
  text: e,
24813
24818
  lead: t
24814
- }), uV = ({ items: e }) => /* @__PURE__ */ Q(jf, { items: e.map((e) => ({
24819
+ }), dV = ({ items: e }) => /* @__PURE__ */ Q(jf, { items: e.map((e) => ({
24815
24820
  id: e.id,
24816
24821
  status: e.status ?? "completed",
24817
- icon: Fz(e.icon),
24822
+ icon: Iz(e.icon),
24818
24823
  title: e.title,
24819
24824
  description: [e.time, e.description].filter(Boolean).join(" · ") || void 0
24820
- })) }), dV = "agentic-timeline", fV = { [dV]: (e) => /* @__PURE__ */ Q(uV, { items: e.items }) }, pV = ({ items: e }) => /* @__PURE__ */ Q(zz, {
24825
+ })) }), fV = "agentic-timeline", pV = { [fV]: (e) => /* @__PURE__ */ Q(dV, { items: e.items }) }, mV = ({ items: e }) => /* @__PURE__ */ Q(Bz, {
24821
24826
  slots: [{
24822
- visualization: dV,
24827
+ visualization: fV,
24823
24828
  params: { items: e }
24824
24829
  }],
24825
- slotRenderers: fV
24826
- }), mV = ({ block: e, elementId: t, onAction: n, lead: r }) => {
24830
+ slotRenderers: pV
24831
+ }), hV = ({ block: e, elementId: t, onAction: n, lead: r }) => {
24827
24832
  switch (e.type) {
24828
- case "stats": return /* @__PURE__ */ Q(nV, {
24833
+ case "stats": return /* @__PURE__ */ Q(rV, {
24829
24834
  stats: e.stats,
24830
24835
  elementId: t,
24831
24836
  onAction: n
24832
24837
  });
24833
- case "list": return /* @__PURE__ */ Q(GB, {
24838
+ case "list": return /* @__PURE__ */ Q(KB, {
24834
24839
  content: e,
24835
24840
  elementId: t,
24836
24841
  onAction: n
24837
24842
  });
24838
- case "timeline": return /* @__PURE__ */ Q(pV, { items: e.items });
24839
- case "events": return /* @__PURE__ */ Q(BB, {
24843
+ case "timeline": return /* @__PURE__ */ Q(mV, { items: e.items });
24844
+ case "events": return /* @__PURE__ */ Q(VB, {
24840
24845
  events: e.events,
24841
24846
  elementId: t,
24842
24847
  onAction: n
24843
24848
  });
24844
- case "posts": return /* @__PURE__ */ Q(KB, { posts: e.posts });
24845
- case "shortcuts": return /* @__PURE__ */ Q(qB, {
24849
+ case "posts": return /* @__PURE__ */ Q(qB, { posts: e.posts });
24850
+ case "shortcuts": return /* @__PURE__ */ Q(JB, {
24846
24851
  shortcuts: e.shortcuts,
24847
24852
  elementId: t,
24848
24853
  onAction: n
24849
24854
  });
24850
- case "text": return /* @__PURE__ */ Q(lV, {
24855
+ case "text": return /* @__PURE__ */ Q(uV, {
24851
24856
  text: e.text,
24852
24857
  lead: r
24853
24858
  });
24854
- case "charts": return /* @__PURE__ */ Q(zB, {
24859
+ case "charts": return /* @__PURE__ */ Q(BB, {
24855
24860
  charts: e.charts,
24856
24861
  elementId: t,
24857
24862
  onAction: n
24858
24863
  });
24859
24864
  }
24860
- }, hV = (e) => e % 2 == 1 && e !== 3 || e > 4, gV = ({ cards: e }) => {
24865
+ }, gV = (e) => e % 2 == 1 && e !== 3 || e > 4, _V = ({ cards: e }) => {
24861
24866
  let t = U();
24862
- return hV(e.length) ? /* @__PURE__ */ Q(lt, {
24867
+ return gV(e.length) ? /* @__PURE__ */ Q(lt, {
24863
24868
  columns: {
24864
24869
  default: 2,
24865
24870
  xs: 2,
@@ -24884,14 +24889,14 @@ var Cz = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
24884
24889
  md: { columns: e.length === 3 ? "3" : "2" },
24885
24890
  children: e
24886
24891
  });
24887
- }, _V = ({ className: e }) => /* @__PURE__ */ Q(H, { className: W("rounded-2xs motion-reduce:animate-none", e) }), vV = "agentic-skeleton", yV = { [vV]: (e) => e.content }, bV = ({ children: e, fullHeight: t }) => /* @__PURE__ */ Q(zz, {
24892
+ }, vV = ({ className: e }) => /* @__PURE__ */ Q(H, { className: W("rounded-2xs motion-reduce:animate-none", e) }), yV = "agentic-skeleton", bV = { [yV]: (e) => e.content }, xV = ({ children: e, fullHeight: t }) => /* @__PURE__ */ Q(Bz, {
24888
24893
  fullHeight: t,
24889
24894
  slots: [{
24890
- visualization: vV,
24895
+ visualization: yV,
24891
24896
  params: { content: e }
24892
24897
  }],
24893
- slotRenderers: yV
24894
- }), xV = (e) => Array.from({ length: e }, (e, t) => t), SV = ({ count: e }) => /* @__PURE__ */ Q(gV, { cards: xV(e).map((e) => /* @__PURE__ */ Q(xB, { children: /* @__PURE__ */ Q(bV, {
24898
+ slotRenderers: bV
24899
+ }), SV = (e) => Array.from({ length: e }, (e, t) => t), CV = ({ count: e }) => /* @__PURE__ */ Q(_V, { cards: SV(e).map((e) => /* @__PURE__ */ Q(SB, { children: /* @__PURE__ */ Q(xV, {
24895
24900
  fullHeight: !0,
24896
24901
  children: /* @__PURE__ */ $(dr, {
24897
24902
  display: "flex",
@@ -24901,70 +24906,70 @@ var Cz = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
24901
24906
  display: "flex",
24902
24907
  flexDirection: "column",
24903
24908
  gap: "xs",
24904
- children: [/* @__PURE__ */ Q(_V, { className: "h-4 w-32" }), /* @__PURE__ */ Q(_V, { className: "h-3 w-24" })]
24905
- }), /* @__PURE__ */ Q(_V, { className: "h-48 w-full rounded-md" })]
24909
+ children: [/* @__PURE__ */ Q(vV, { className: "h-4 w-32" }), /* @__PURE__ */ Q(vV, { className: "h-3 w-24" })]
24910
+ }), /* @__PURE__ */ Q(vV, { className: "h-48 w-full rounded-md" })]
24906
24911
  })
24907
- }) }, e)) }), CV = ({ count: e }) => /* @__PURE__ */ Q(dr, {
24912
+ }) }, e)) }), wV = ({ count: e }) => /* @__PURE__ */ Q(dr, {
24908
24913
  display: "flex",
24909
24914
  flexDirection: "column",
24910
24915
  gap: "md",
24911
- children: xV(e).map((e) => /* @__PURE__ */ Q(bV, { children: /* @__PURE__ */ $(dr, {
24916
+ children: SV(e).map((e) => /* @__PURE__ */ Q(xV, { children: /* @__PURE__ */ $(dr, {
24912
24917
  display: "flex",
24913
24918
  alignItems: "center",
24914
24919
  gap: "md",
24915
- children: [/* @__PURE__ */ Q(_V, { className: "h-12 w-12 shrink-0 rounded-md" }), /* @__PURE__ */ $(dr, {
24920
+ children: [/* @__PURE__ */ Q(vV, { className: "h-12 w-12 shrink-0 rounded-md" }), /* @__PURE__ */ $(dr, {
24916
24921
  display: "flex",
24917
24922
  flexDirection: "column",
24918
24923
  gap: "xs",
24919
24924
  grow: !0,
24920
- children: [/* @__PURE__ */ Q(_V, { className: "h-4 w-1/2" }), /* @__PURE__ */ Q(_V, { className: "h-3 w-2/3" })]
24925
+ children: [/* @__PURE__ */ Q(vV, { className: "h-4 w-1/2" }), /* @__PURE__ */ Q(vV, { className: "h-3 w-2/3" })]
24921
24926
  })]
24922
24927
  }) }, e))
24923
- }), wV = ({ count: e, schema: t }) => {
24928
+ }), TV = ({ count: e, schema: t }) => {
24924
24929
  let n = !!(t?.descriptionRequired || t?.descriptionOptional), r = t?.left;
24925
- return /* @__PURE__ */ Q(bV, { children: /* @__PURE__ */ Q(dr, {
24930
+ return /* @__PURE__ */ Q(xV, { children: /* @__PURE__ */ Q(dr, {
24926
24931
  display: "flex",
24927
24932
  flexDirection: "column",
24928
24933
  gap: "md",
24929
- children: xV(e).map((e) => /* @__PURE__ */ $(dr, {
24934
+ children: SV(e).map((e) => /* @__PURE__ */ $(dr, {
24930
24935
  display: "flex",
24931
24936
  alignItems: "center",
24932
24937
  gap: "md",
24933
- children: [r ? /* @__PURE__ */ Q(_V, { className: W("shrink-0", n ? "h-8 w-8" : "h-6 w-6", r === "person" ? "rounded-full" : "rounded-sm") }) : null, /* @__PURE__ */ $(dr, {
24938
+ children: [r ? /* @__PURE__ */ Q(vV, { className: W("shrink-0", n ? "h-8 w-8" : "h-6 w-6", r === "person" ? "rounded-full" : "rounded-sm") }) : null, /* @__PURE__ */ $(dr, {
24934
24939
  display: "flex",
24935
24940
  flexDirection: "column",
24936
24941
  gap: "xs",
24937
24942
  grow: !0,
24938
- children: [/* @__PURE__ */ Q(_V, { className: W("h-4", e % 2 ? "w-1/2" : "w-2/3") }), n ? /* @__PURE__ */ Q(_V, { className: "h-3 w-1/3" }) : null]
24943
+ children: [/* @__PURE__ */ Q(vV, { className: W("h-4", e % 2 ? "w-1/2" : "w-2/3") }), n ? /* @__PURE__ */ Q(vV, { className: "h-3 w-1/3" }) : null]
24939
24944
  })]
24940
24945
  }, e))
24941
24946
  }) });
24942
- }, TV = ({ count: e }) => /* @__PURE__ */ Q(dr, {
24947
+ }, EV = ({ count: e }) => /* @__PURE__ */ Q(dr, {
24943
24948
  display: "flex",
24944
24949
  flexDirection: "column",
24945
24950
  gap: "md",
24946
- children: xV(e).map((e) => /* @__PURE__ */ $("div", {
24951
+ children: SV(e).map((e) => /* @__PURE__ */ $("div", {
24947
24952
  className: "flex flex-row items-stretch gap-4 rounded-xl border border-solid border-f1-border-secondary p-4",
24948
- children: [/* @__PURE__ */ Q(_V, { className: "aspect-video w-40 shrink-0 self-start rounded-md sm:w-64" }), /* @__PURE__ */ $(dr, {
24953
+ children: [/* @__PURE__ */ Q(vV, { className: "aspect-video w-40 shrink-0 self-start rounded-md sm:w-64" }), /* @__PURE__ */ $(dr, {
24949
24954
  display: "flex",
24950
24955
  flexDirection: "column",
24951
24956
  gap: "sm",
24952
24957
  grow: !0,
24953
24958
  children: [
24954
- /* @__PURE__ */ Q(_V, { className: "h-5 w-3/4" }),
24955
- /* @__PURE__ */ Q(_V, { className: "h-3 w-full" }),
24956
- /* @__PURE__ */ Q(_V, { className: "h-3 w-5/6" }),
24959
+ /* @__PURE__ */ Q(vV, { className: "h-5 w-3/4" }),
24960
+ /* @__PURE__ */ Q(vV, { className: "h-3 w-full" }),
24961
+ /* @__PURE__ */ Q(vV, { className: "h-3 w-5/6" }),
24957
24962
  /* @__PURE__ */ $(dr, {
24958
24963
  display: "flex",
24959
24964
  alignItems: "center",
24960
24965
  gap: "md",
24961
24966
  paddingTop: "sm",
24962
- children: [/* @__PURE__ */ Q(_V, { className: "h-8 w-8 shrink-0 rounded-full" }), /* @__PURE__ */ Q(_V, { className: "h-3 w-24" })]
24967
+ children: [/* @__PURE__ */ Q(vV, { className: "h-8 w-8 shrink-0 rounded-full" }), /* @__PURE__ */ Q(vV, { className: "h-3 w-24" })]
24963
24968
  })
24964
24969
  ]
24965
24970
  })]
24966
24971
  }, e))
24967
- }), EV = ({ count: e }) => /* @__PURE__ */ Q(gV, { cards: xV(e).map((e) => /* @__PURE__ */ Q(xB, { children: /* @__PURE__ */ Q(bV, {
24972
+ }), DV = ({ count: e }) => /* @__PURE__ */ Q(_V, { cards: SV(e).map((e) => /* @__PURE__ */ Q(SB, { children: /* @__PURE__ */ Q(xV, {
24968
24973
  fullHeight: !0,
24969
24974
  children: /* @__PURE__ */ $(dr, {
24970
24975
  display: "flex",
@@ -24974,53 +24979,53 @@ var Cz = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
24974
24979
  display: "flex",
24975
24980
  alignItems: "center",
24976
24981
  gap: "md",
24977
- children: [/* @__PURE__ */ Q(_V, { className: "h-10 w-10 shrink-0 rounded-md" }), /* @__PURE__ */ Q(_V, { className: "h-4 w-24" })]
24978
- }), /* @__PURE__ */ Q(_V, { className: "h-7 w-20" })]
24982
+ children: [/* @__PURE__ */ Q(vV, { className: "h-10 w-10 shrink-0 rounded-md" }), /* @__PURE__ */ Q(vV, { className: "h-4 w-24" })]
24983
+ }), /* @__PURE__ */ Q(vV, { className: "h-7 w-20" })]
24979
24984
  })
24980
- }) }, e)) }), DV = ({ count: e }) => /* @__PURE__ */ Q(bV, { children: /* @__PURE__ */ Q(dr, {
24985
+ }) }, e)) }), OV = ({ count: e }) => /* @__PURE__ */ Q(xV, { children: /* @__PURE__ */ Q(dr, {
24981
24986
  display: "flex",
24982
24987
  flexDirection: "column",
24983
- children: xV(e).map((t) => /* @__PURE__ */ $(dr, {
24988
+ children: SV(e).map((t) => /* @__PURE__ */ $(dr, {
24984
24989
  display: "flex",
24985
24990
  gap: "md",
24986
24991
  children: [/* @__PURE__ */ $(dr, {
24987
24992
  display: "flex",
24988
24993
  flexDirection: "column",
24989
24994
  alignItems: "center",
24990
- children: [/* @__PURE__ */ Q(_V, { className: "h-5 w-5 shrink-0 rounded-full" }), t < e - 1 ? /* @__PURE__ */ Q("div", { className: "min-h-4 w-px grow bg-f1-border-secondary" }) : null]
24995
+ children: [/* @__PURE__ */ Q(vV, { className: "h-5 w-5 shrink-0 rounded-full" }), t < e - 1 ? /* @__PURE__ */ Q("div", { className: "min-h-4 w-px grow bg-f1-border-secondary" }) : null]
24991
24996
  }), /* @__PURE__ */ $(dr, {
24992
24997
  display: "flex",
24993
24998
  flexDirection: "column",
24994
24999
  gap: "xs",
24995
25000
  grow: !0,
24996
25001
  paddingBottom: t < e - 1 ? "md" : void 0,
24997
- children: [/* @__PURE__ */ Q(_V, { className: "h-4 w-1/2" }), /* @__PURE__ */ Q(_V, { className: "h-3 w-1/3" })]
25002
+ children: [/* @__PURE__ */ Q(vV, { className: "h-4 w-1/2" }), /* @__PURE__ */ Q(vV, { className: "h-3 w-1/3" })]
24998
25003
  })]
24999
25004
  }, t))
25000
- }) }), OV = ({ count: e }) => /* @__PURE__ */ Q(bV, { children: /* @__PURE__ */ Q(dr, {
25005
+ }) }), kV = ({ count: e }) => /* @__PURE__ */ Q(xV, { children: /* @__PURE__ */ Q(dr, {
25001
25006
  display: "flex",
25002
25007
  flexDirection: "column",
25003
25008
  gap: "md",
25004
- children: xV(e).map((e) => /* @__PURE__ */ Q(_V, { className: W("h-4", e % 2 ? "w-1/2" : "w-3/4") }, e))
25005
- }) }), kV = (e, t) => {
25009
+ children: SV(e).map((e) => /* @__PURE__ */ Q(vV, { className: W("h-4", e % 2 ? "w-1/2" : "w-3/4") }, e))
25010
+ }) }), AV = (e, t) => {
25006
25011
  switch (e.type) {
25007
- case "stats": return /* @__PURE__ */ Q(EV, { count: t });
25008
- case "charts": return /* @__PURE__ */ Q(SV, { count: t });
25009
- case "list": return /* @__PURE__ */ Q(wV, {
25012
+ case "stats": return /* @__PURE__ */ Q(DV, { count: t });
25013
+ case "charts": return /* @__PURE__ */ Q(CV, { count: t });
25014
+ case "list": return /* @__PURE__ */ Q(TV, {
25010
25015
  count: t,
25011
25016
  schema: e.display?.schema
25012
25017
  });
25013
- case "timeline": return /* @__PURE__ */ Q(DV, { count: t });
25014
- case "events": return /* @__PURE__ */ Q(CV, { count: t });
25015
- case "posts": return /* @__PURE__ */ Q(TV, { count: t });
25016
- case "widget": return /* @__PURE__ */ Q(OV, { count: t });
25018
+ case "timeline": return /* @__PURE__ */ Q(OV, { count: t });
25019
+ case "events": return /* @__PURE__ */ Q(wV, { count: t });
25020
+ case "posts": return /* @__PURE__ */ Q(EV, { count: t });
25021
+ case "widget": return /* @__PURE__ */ Q(kV, { count: t });
25017
25022
  }
25018
- }, AV = ({ element: e }) => /* @__PURE__ */ Q("div", {
25023
+ }, jV = ({ element: e }) => /* @__PURE__ */ Q("div", {
25019
25024
  "aria-busy": "true",
25020
25025
  "aria-live": "polite",
25021
25026
  "data-agentic-skeleton": e.type,
25022
- children: kV(e, Jz(e))
25023
- }), jV = (e) => {
25027
+ children: AV(e, Yz(e))
25028
+ }), MV = (e) => {
25024
25029
  switch (e.type) {
25025
25030
  case "stats": return e.stats.length === 0;
25026
25031
  case "charts": return e.charts.length === 0;
@@ -25029,7 +25034,7 @@ var Cz = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
25029
25034
  case "events": return e.events.length === 0;
25030
25035
  case "posts": return e.posts.length === 0;
25031
25036
  }
25032
- }, MV = (e, t) => e.type !== "shortcuts" && e.type !== "text" && e.type !== "widget" && t?.status === "ready" && !t.widget && vB(e, t) && jV(t.block), NV = (e, t) => {
25037
+ }, NV = (e, t) => e.type !== "shortcuts" && e.type !== "text" && e.type !== "widget" && t?.status === "ready" && !t.widget && yB(e, t) && MV(t.block), PV = (e, t) => {
25033
25038
  let n = {
25034
25039
  ...t,
25035
25040
  empty: e.display?.empty ?? t.empty
@@ -25048,67 +25053,67 @@ var Cz = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
25048
25053
  format: r
25049
25054
  }))
25050
25055
  } : n;
25051
- }, PV = (e, t) => e.type !== "shortcuts" && e.type !== "text" && e.type !== "widget" && t?.status === "ready" && t.block && vB(e, t) ? NV(e, t.block) : void 0, FV = Cl(void 0), IV = FV.Provider, LV = () => Ol(FV), RV = ({ widget: e, bare: t = !1 }) => {
25052
- let n = LV();
25053
- return t ? /* @__PURE__ */ Q(LR, {
25056
+ }, FV = (e, t) => e.type !== "shortcuts" && e.type !== "text" && e.type !== "widget" && t?.status === "ready" && t.block && yB(e, t) ? PV(e, t.block) : void 0, IV = Cl(void 0), LV = IV.Provider, RV = () => Ol(IV), zV = ({ widget: e, bare: t = !1 }) => {
25057
+ let n = RV();
25058
+ return t ? /* @__PURE__ */ Q(RR, {
25054
25059
  headless: !0,
25055
25060
  slots: e.slots,
25056
25061
  loading: e.loading,
25057
25062
  slotRenderers: n
25058
- }) : /* @__PURE__ */ Q(RR, {
25059
- ...eR(e),
25063
+ }) : /* @__PURE__ */ Q(zR, {
25064
+ ...tR(e),
25060
25065
  headless: !0,
25061
25066
  params: e.params,
25062
25067
  slots: e.slots,
25063
25068
  loading: e.loading,
25064
25069
  slotRenderers: n
25065
25070
  });
25066
- }, zV = ({ element: e, state: t, onAction: n, lead: r }) => {
25067
- if (e.type === "shortcuts" || e.type === "text") return /* @__PURE__ */ Q(mV, {
25071
+ }, BV = ({ element: e, state: t, onAction: n, lead: r }) => {
25072
+ if (e.type === "shortcuts" || e.type === "text") return /* @__PURE__ */ Q(hV, {
25068
25073
  block: e,
25069
25074
  elementId: e.id,
25070
25075
  onAction: n,
25071
25076
  lead: r
25072
25077
  });
25073
- if (!t || t.status === "loading") return /* @__PURE__ */ Q(AV, { element: e });
25074
- if (t.status === "error") return /* @__PURE__ */ Q(Wz, { message: t.message });
25075
- if (!vB(e, t)) return /* @__PURE__ */ Q(Wz, {});
25076
- if (t.widget) return /* @__PURE__ */ Q(RV, {
25078
+ if (!t || t.status === "loading") return /* @__PURE__ */ Q(jV, { element: e });
25079
+ if (t.status === "error") return /* @__PURE__ */ Q(Gz, { message: t.message });
25080
+ if (!yB(e, t)) return /* @__PURE__ */ Q(Gz, {});
25081
+ if (t.widget) return /* @__PURE__ */ Q(zV, {
25077
25082
  widget: t.widget,
25078
25083
  bare: t.bare
25079
25084
  });
25080
- if (e.type === "widget") return /* @__PURE__ */ Q(Wz, {});
25081
- let i = NV(e, t.block);
25082
- return jV(i) ? e.display?.hideWhenEmpty ? null : /* @__PURE__ */ Q(Uz, {
25085
+ if (e.type === "widget") return /* @__PURE__ */ Q(Gz, {});
25086
+ let i = PV(e, t.block);
25087
+ return MV(i) ? e.display?.hideWhenEmpty ? null : /* @__PURE__ */ Q(Wz, {
25083
25088
  empty: i.empty,
25084
25089
  elementId: e.id,
25085
25090
  onAction: n
25086
- }) : /* @__PURE__ */ Q(mV, {
25091
+ }) : /* @__PURE__ */ Q(hV, {
25087
25092
  block: i,
25088
25093
  elementId: e.id,
25089
25094
  onAction: n
25090
25095
  });
25091
- }, BV = "agentic-list-stack", VV = ({ title: e }) => /* @__PURE__ */ Q(dr, {
25096
+ }, VV = "agentic-list-stack", HV = ({ title: e }) => /* @__PURE__ */ Q(dr, {
25092
25097
  paddingY: "sm",
25093
25098
  children: /* @__PURE__ */ Q(pr, {
25094
25099
  variant: "description",
25095
25100
  content: e
25096
25101
  })
25097
- }), HV = {
25098
- ...SR,
25099
- ...tV
25100
- }, UV = ({ entries: e, ctx: t }) => /* @__PURE__ */ Q("div", {
25102
+ }), UV = {
25103
+ ...CR,
25104
+ ...nV
25105
+ }, WV = ({ entries: e, ctx: t }) => /* @__PURE__ */ Q("div", {
25101
25106
  className: "-mx-4 flex flex-col divide-x-0 divide-y divide-solid divide-f1-border-secondary",
25102
25107
  children: e.map(({ slot: n, header: r }, i) => /* @__PURE__ */ $("div", {
25103
25108
  className: W("px-4", n.visualization === "agentic-stats" ? "pb-4" : [i > 0 && "pt-2", i < e.length - 1 && "pb-2"]),
25104
- children: [r ? /* @__PURE__ */ Q(VV, { title: r }) : null, WL(HV[n.visualization])?.render(n.params, {
25109
+ children: [r ? /* @__PURE__ */ Q(HV, { title: r }) : null, GL(UV[n.visualization])?.render(n.params, {
25105
25110
  ...t,
25106
25111
  isFirstUnderNoHeader: t.isFirstUnderNoHeader && i === 0 && !r,
25107
25112
  isLastSlot: t.isLastSlot && i === e.length - 1
25108
25113
  })]
25109
25114
  }, i))
25110
- }), WV = (e) => e.type === "list" && !e.bare || e.type === "stats", GV = (e, t) => e.reduce((e, n) => {
25111
- let r = PV(n, t?.[n.id]), i = r && WV(r) && !jV(r) ? {
25115
+ }), GV = (e) => e.type === "list" && !e.bare || e.type === "stats", KV = (e, t) => e.reduce((e, n) => {
25116
+ let r = FV(n, t?.[n.id]), i = r && GV(r) && !MV(r) ? {
25112
25117
  elementId: n.id,
25113
25118
  block: r
25114
25119
  } : void 0, a = e.at(-1);
@@ -25120,32 +25125,32 @@ var Cz = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
25120
25125
  element: n,
25121
25126
  member: i
25122
25127
  }), e;
25123
- }, []), KV = ({ elementId: e, block: t }, n, r) => {
25124
- if (t.type === "stats") return [{ slot: XB(t.stats, e, r) }];
25128
+ }, []), qV = ({ elementId: e, block: t }, n, r) => {
25129
+ if (t.type === "stats") return [{ slot: ZB(t.stats, e, r) }];
25125
25130
  let i = n > 0 ? t.title : void 0;
25126
- return UB(t, e, r).map((e, t) => ({
25131
+ return WB(t, e, r).map((e, t) => ({
25127
25132
  slot: e,
25128
25133
  header: t === 0 ? i : void 0
25129
25134
  }));
25130
- }, qV = { [BV]: (e, t) => /* @__PURE__ */ Q(UV, {
25135
+ }, JV = { [VV]: (e, t) => /* @__PURE__ */ Q(WV, {
25131
25136
  entries: e,
25132
25137
  ctx: t
25133
- }) }, JV = ({ members: e, onAction: t }) => {
25138
+ }) }, YV = ({ members: e, onAction: t }) => {
25134
25139
  let n = e[0]?.block;
25135
- return /* @__PURE__ */ Q(zz, {
25140
+ return /* @__PURE__ */ Q(Bz, {
25136
25141
  title: n?.type === "list" ? n.title : void 0,
25137
25142
  slots: [{
25138
- visualization: BV,
25139
- params: e.flatMap((e, n) => KV(e, n, t))
25143
+ visualization: VV,
25144
+ params: e.flatMap((e, n) => qV(e, n, t))
25140
25145
  }],
25141
- slotRenderers: qV
25146
+ slotRenderers: JV
25142
25147
  });
25143
- }, YV = ({ items: e, onAction: t }) => {
25148
+ }, XV = ({ items: e, onAction: t }) => {
25144
25149
  let n = U();
25145
25150
  return /* @__PURE__ */ Q(bo, {
25146
25151
  items: e.map((e) => e.type === "separator" ? { type: "separator" } : {
25147
25152
  label: e.label,
25148
- icon: Fz(e.icon),
25153
+ icon: Iz(e.icon),
25149
25154
  critical: e.critical,
25150
25155
  onClick: () => t(e.action, {})
25151
25156
  }),
@@ -25157,12 +25162,12 @@ var Cz = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
25157
25162
  label: n.actions.more
25158
25163
  })
25159
25164
  });
25160
- }, XV = Cl(void 0), ZV = XV.Provider, QV = () => Ol(XV), $V = /\*\*(.+?)\*\*/g, eH = ({ text: e }) => /* @__PURE__ */ Q(Z, { children: e.split($V).map((e, t) => t % 2 == 1 ? /* @__PURE__ */ Q("strong", {
25165
+ }, ZV = Cl(void 0), QV = ZV.Provider, $V = () => Ol(ZV), eH = /\*\*(.+?)\*\*/g, tH = ({ text: e }) => /* @__PURE__ */ Q(Z, { children: e.split(eH).map((e, t) => t % 2 == 1 ? /* @__PURE__ */ Q("strong", {
25161
25166
  className: "font-medium",
25162
25167
  children: e
25163
- }, t) : e) }), tH = /\[([^\]]+)\]\(mention:([^:)\s]+):([^)\s]+)\)/g, nH = (e) => {
25168
+ }, t) : e) }), nH = /\[([^\]]+)\]\(mention:([^:)\s]+):([^)\s]+)\)/g, rH = (e) => {
25164
25169
  let t = [], n = 0;
25165
- for (let r of e.matchAll(tH)) {
25170
+ for (let r of e.matchAll(nH)) {
25166
25171
  let [i, a, o, s] = r, c = r.index ?? 0;
25167
25172
  c > n && t.push({ text: e.slice(n, c) }), t.push({ mention: {
25168
25173
  type: o,
@@ -25171,48 +25176,48 @@ var Cz = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
25171
25176
  } }), n = c + i.length;
25172
25177
  }
25173
25178
  return n < e.length && t.push({ text: e.slice(n) }), t;
25174
- }, rH = ({ text: e }) => /* @__PURE__ */ Q(Z, { children: ez(e).map((e, t) => /* @__PURE__ */ Q(bl, { children: "href" in e ? /* @__PURE__ */ Q(Jr, {
25179
+ }, iH = ({ text: e }) => /* @__PURE__ */ Q(Z, { children: tz(e).map((e, t) => /* @__PURE__ */ Q(bl, { children: "href" in e ? /* @__PURE__ */ Q(Jr, {
25175
25180
  href: e.href,
25176
25181
  children: e.label
25177
- }) : /* @__PURE__ */ Q(eH, { text: e.text }) }, t)) }), iH = ({ text: e }) => {
25178
- let t = QV();
25179
- return /* @__PURE__ */ Q(Z, { children: nH(e).map((e, n) => /* @__PURE__ */ Q(bl, { children: "mention" in e ? t?.(e.mention) ?? e.mention.label : /* @__PURE__ */ Q(rH, { text: e.text }) }, n)) });
25180
- }, aH = ({ items: e }) => /* @__PURE__ */ Q(Z, { children: e.map((e, t) => /* @__PURE__ */ Q("li", { children: /* @__PURE__ */ Q(iH, { text: e }) }, t)) }), oH = /^\d+\.\s+/, sH = /^[-*]\s+/, cH = (e) => oH.test(e) ? "ol" : sH.test(e) ? "ul" : "p", lH = (e, t) => {
25182
+ }) : /* @__PURE__ */ Q(tH, { text: e.text }) }, t)) }), aH = ({ text: e }) => {
25183
+ let t = $V();
25184
+ return /* @__PURE__ */ Q(Z, { children: rH(e).map((e, n) => /* @__PURE__ */ Q(bl, { children: "mention" in e ? t?.(e.mention) ?? e.mention.label : /* @__PURE__ */ Q(iH, { text: e.text }) }, n)) });
25185
+ }, oH = ({ items: e }) => /* @__PURE__ */ Q(Z, { children: e.map((e, t) => /* @__PURE__ */ Q("li", { children: /* @__PURE__ */ Q(aH, { text: e }) }, t)) }), sH = /^\d+\.\s+/, cH = /^[-*]\s+/, lH = (e) => sH.test(e) ? "ol" : cH.test(e) ? "ul" : "p", uH = (e, t) => {
25181
25186
  let n = e.at(-1);
25182
25187
  t && n?.kind === "p" && n.text ? n.text = `${n.text} ${t}` : e.push({
25183
25188
  kind: "p",
25184
25189
  text: t
25185
25190
  });
25186
- }, uH = (e, t, n) => {
25187
- let r = e.at(-1), i = n.replace(t === "ol" ? oH : sH, "");
25191
+ }, dH = (e, t, n) => {
25192
+ let r = e.at(-1), i = n.replace(t === "ol" ? sH : cH, "");
25188
25193
  r?.kind === t ? r.items.push(i) : e.push({
25189
25194
  kind: t,
25190
25195
  items: [i]
25191
25196
  });
25192
- }, dH = (e) => {
25197
+ }, fH = (e) => {
25193
25198
  let t = [];
25194
25199
  for (let n of e.split("\n").map((e) => e.trim())) {
25195
- let e = cH(n);
25196
- e === "p" ? lH(t, n) : uH(t, e, n);
25200
+ let e = lH(n);
25201
+ e === "p" ? uH(t, n) : dH(t, e, n);
25197
25202
  }
25198
25203
  return t.filter((e) => e.kind !== "p" || e.text);
25199
- }, fH = ({ text: e }) => /* @__PURE__ */ Q("div", {
25204
+ }, pH = ({ text: e }) => /* @__PURE__ */ Q("div", {
25200
25205
  className: "flex flex-col gap-2 text-lg text-f1-foreground",
25201
- children: dH(e).map((e, t) => e.kind === "p" ? /* @__PURE__ */ Q("div", { children: /* @__PURE__ */ Q(iH, { text: e.text }) }, t) : e.kind === "ol" ? /* @__PURE__ */ Q("ol", {
25206
+ children: fH(e).map((e, t) => e.kind === "p" ? /* @__PURE__ */ Q("div", { children: /* @__PURE__ */ Q(aH, { text: e.text }) }, t) : e.kind === "ol" ? /* @__PURE__ */ Q("ol", {
25202
25207
  className: "m-0 list-decimal space-y-1 pl-5",
25203
- children: /* @__PURE__ */ Q(aH, { items: e.items })
25208
+ children: /* @__PURE__ */ Q(oH, { items: e.items })
25204
25209
  }, t) : /* @__PURE__ */ Q("ul", {
25205
25210
  className: "m-0 list-disc space-y-1 pl-5",
25206
- children: /* @__PURE__ */ Q(aH, { items: e.items })
25211
+ children: /* @__PURE__ */ Q(oH, { items: e.items })
25207
25212
  }, t))
25208
- }), pH = ({ title: e, size: t }) => t === "home" ? /* @__PURE__ */ Q(Qt, {
25213
+ }), mH = ({ title: e, size: t }) => t === "home" ? /* @__PURE__ */ Q(Qt, {
25209
25214
  as: "h2",
25210
25215
  variant: "heading-large",
25211
25216
  content: e
25212
25217
  }) : /* @__PURE__ */ Q("h2", {
25213
25218
  className: W("m-0 font-semibold text-f1-foreground", t === "lead" ? "text-4xl" : "text-base"),
25214
25219
  children: e
25215
- }), mH = ({ section: e, size: t, composer: n, onAction: r }) => {
25220
+ }), hH = ({ section: e, size: t, composer: n, onAction: r }) => {
25216
25221
  let i = t === "lead", a = e.actions?.length ? e.actions : void 0, o = !!(e.title || a);
25217
25222
  return !o && !e.eyebrow && !e.text && !n ? null : /* @__PURE__ */ $(dr, {
25218
25223
  display: "flex",
@@ -25234,43 +25239,43 @@ var Cz = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
25234
25239
  alignItems: "start",
25235
25240
  justifyContent: e.title ? "between" : "end",
25236
25241
  gap: "md",
25237
- children: [e.title ? /* @__PURE__ */ Q(pH, {
25242
+ children: [e.title ? /* @__PURE__ */ Q(mH, {
25238
25243
  title: e.title,
25239
25244
  size: t
25240
- }) : null, a ? /* @__PURE__ */ Q(YV, {
25245
+ }) : null, a ? /* @__PURE__ */ Q(XV, {
25241
25246
  items: a,
25242
25247
  onAction: r
25243
25248
  }) : null]
25244
25249
  }) : null]
25245
25250
  }),
25246
25251
  n,
25247
- e.text ? /* @__PURE__ */ Q(fH, { text: e.text }) : null
25252
+ e.text ? /* @__PURE__ */ Q(pH, { text: e.text }) : null
25248
25253
  ]
25249
25254
  });
25250
- }, hH = (e, t) => e.elements.length > 0 && e.elements.every((e) => MV(e, t?.[e.id])), gH = ({ section: e, sources: t, onAction: n, size: r = "home", composer: i }) => {
25255
+ }, gH = (e, t) => e.elements.length > 0 && e.elements.every((e) => NV(e, t?.[e.id])), _H = ({ section: e, sources: t, onAction: n, size: r = "home", composer: i }) => {
25251
25256
  let a = (t, r) => n(t, {
25252
25257
  ...r,
25253
25258
  sectionId: e.id
25254
- }), o = hH(e, t);
25259
+ }), o = gH(e, t);
25255
25260
  return o && e.hideWhenEmpty ? null : /* @__PURE__ */ $("section", {
25256
25261
  id: e.id,
25257
25262
  "aria-label": e.title,
25258
25263
  tabIndex: -1,
25259
25264
  className: "flex scroll-mt-10 flex-col gap-4 focus:outline-none",
25260
25265
  children: [
25261
- /* @__PURE__ */ Q(mH, {
25266
+ /* @__PURE__ */ Q(hH, {
25262
25267
  section: e,
25263
25268
  size: r,
25264
25269
  composer: i,
25265
25270
  onAction: a
25266
25271
  }),
25267
- o && e.empty ? /* @__PURE__ */ Q(Uz, {
25272
+ o && e.empty ? /* @__PURE__ */ Q(Wz, {
25268
25273
  empty: e.empty,
25269
25274
  onAction: a
25270
- }) : GV(e.elements, t).map((e) => e.kind === "stack" ? /* @__PURE__ */ Q(JV, {
25275
+ }) : KV(e.elements, t).map((e) => e.kind === "stack" ? /* @__PURE__ */ Q(YV, {
25271
25276
  members: e.members,
25272
25277
  onAction: a
25273
- }, e.members[0]?.elementId) : /* @__PURE__ */ Q(zV, {
25278
+ }, e.members[0]?.elementId) : /* @__PURE__ */ Q(BV, {
25274
25279
  element: e.element,
25275
25280
  state: t?.[e.element.id],
25276
25281
  onAction: a,
@@ -25282,16 +25287,16 @@ var Cz = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
25282
25287
  gap: "sm",
25283
25288
  children: e.followUps.map((e, t) => /* @__PURE__ */ Q(z, {
25284
25289
  size: "md",
25285
- ...Rz(e, {}, a),
25290
+ ...zz(e, {}, a),
25286
25291
  variant: e.variant ?? "neutral"
25287
25292
  }, t))
25288
25293
  }) : null
25289
25294
  ]
25290
25295
  });
25291
- }, _H = (e, t) => {
25296
+ }, vH = (e, t) => {
25292
25297
  let [n, ...r] = e ?? [], i = (e) => ({
25293
25298
  label: e.label,
25294
- icon: Fz(e.icon),
25299
+ icon: Iz(e.icon),
25295
25300
  onClick: () => t(e)
25296
25301
  });
25297
25302
  return {
@@ -25304,19 +25309,19 @@ var Cz = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
25304
25309
  value: String(t)
25305
25310
  })) : r[0] ? i(r[0]) : void 0
25306
25311
  };
25307
- }, vH = (e, t) => JSON.stringify([e, Object.entries(t).sort(([e], [t]) => e.localeCompare(t))]), yH = ({ element: e, state: t }) => {
25308
- let n = LV();
25309
- return !t || t.status === "loading" ? /* @__PURE__ */ Q(AV, { element: e }) : t.status === "error" ? /* @__PURE__ */ Q(Wz, { message: t.message }) : t.widget ? /* @__PURE__ */ Q(LR, {
25312
+ }, yH = (e, t) => JSON.stringify([e, Object.entries(t).sort(([e], [t]) => e.localeCompare(t))]), bH = ({ element: e, state: t }) => {
25313
+ let n = RV();
25314
+ return !t || t.status === "loading" ? /* @__PURE__ */ Q(jV, { element: e }) : t.status === "error" ? /* @__PURE__ */ Q(Gz, { message: t.message }) : t.widget ? /* @__PURE__ */ Q(RR, {
25310
25315
  slots: t.widget.slots,
25311
25316
  loading: t.widget.loading,
25312
25317
  slotRenderers: n
25313
- }) : /* @__PURE__ */ Q(Wz, {});
25314
- }, bH = ({ view: e, params: t = {}, presentation: n, width: r = "md", bleed: i = !1, isOpen: a, onClose: o, sources: s, onAction: c }) => {
25318
+ }) : /* @__PURE__ */ Q(Gz, {});
25319
+ }, xH = ({ view: e, params: t = {}, presentation: n, width: r = "md", bleed: i = !1, isOpen: a, onClose: o, sources: s, onAction: c }) => {
25315
25320
  let l = Object.keys(t).length > 0, u = (n, r) => c(n, {
25316
25321
  ...r,
25317
25322
  accessoryViewId: e.id,
25318
25323
  ...l ? { accessoryViewParams: t } : {}
25319
- }), d = _H(e.actions, (e) => {
25324
+ }), d = vH(e.actions, (e) => {
25320
25325
  o(), u(e.action, {});
25321
25326
  });
25322
25327
  return /* @__PURE__ */ Q(ka, {
@@ -25328,29 +25333,29 @@ var Cz = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
25328
25333
  description: e.description,
25329
25334
  disableContentPadding: i,
25330
25335
  ...d,
25331
- children: e.widget ? /* @__PURE__ */ Q(yH, {
25336
+ children: e.widget ? /* @__PURE__ */ Q(bH, {
25332
25337
  element: e.widget,
25333
25338
  state: s?.[e.widget.id]
25334
- }, vH(e.id, t)) : /* @__PURE__ */ Q(dr, {
25339
+ }, yH(e.id, t)) : /* @__PURE__ */ Q(dr, {
25335
25340
  display: "flex",
25336
25341
  flexDirection: "column",
25337
25342
  gap: "3xl",
25338
- children: e.sections.map((e) => /* @__PURE__ */ Q(gH, {
25343
+ children: e.sections.map((e) => /* @__PURE__ */ Q(_H, {
25339
25344
  size: "accessory",
25340
25345
  section: e,
25341
25346
  sources: s,
25342
25347
  onAction: u
25343
25348
  }, e.id))
25344
- }, vH(e.id, t))
25349
+ }, yH(e.id, t))
25345
25350
  });
25346
- }, xH = 150, SH = 150, CH = {
25351
+ }, SH = 150, CH = 150, wH = {
25347
25352
  neutral: "bg-f1-background-inverse",
25348
25353
  accent: "bg-f1-background-accent-bold hover:bg-f1-background-accent-bold-hover",
25349
25354
  critical: "bg-f1-background-critical-bold hover:bg-f1-background-critical-bold",
25350
25355
  warning: "bg-f1-background-warning-bold hover:bg-f1-background-warning-bold",
25351
25356
  promote: "bg-f1-background-promote-bold hover:bg-f1-background-promote-bold",
25352
25357
  positive: "bg-f1-background-positive-bold hover:bg-f1-background-positive-bold"
25353
- }, wH = "inverse", TH = ({ clockIn: e }) => {
25358
+ }, TH = "inverse", EH = ({ clockIn: e }) => {
25354
25359
  let { caption: t, text: n, ticking: r, icon: i, action: a, tone: o, title: s, content: c } = e, l = yn(), [u, d] = X(!1), f = Y(null), p = Y(null), m = Y(!1), h = kl(), g = () => {
25355
25360
  f.current && clearTimeout(f.current), f.current = null;
25356
25361
  }, _ = (e, t) => {
@@ -25358,8 +25363,8 @@ var Cz = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
25358
25363
  };
25359
25364
  return q(() => g, []), /* @__PURE__ */ $("div", {
25360
25365
  className: "relative",
25361
- onMouseEnter: () => u ? g() : _(!0, xH),
25362
- onMouseLeave: () => _(!1, SH),
25366
+ onMouseEnter: () => u ? g() : _(!0, SH),
25367
+ onMouseLeave: () => _(!1, CH),
25363
25368
  onFocus: () => {
25364
25369
  g(), m.current ? m.current = !1 : d(!0);
25365
25370
  },
@@ -25374,7 +25379,7 @@ var Cz = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
25374
25379
  children: [t ? /* @__PURE__ */ Q("span", {
25375
25380
  className: "text-sm text-f1-foreground-secondary",
25376
25381
  children: t
25377
- }) : null, /* @__PURE__ */ Q(CR, {
25382
+ }) : null, /* @__PURE__ */ Q(wR, {
25378
25383
  text: n,
25379
25384
  ticking: !!r,
25380
25385
  className: "text-base font-medium text-f1-foreground"
@@ -25387,13 +25392,13 @@ var Cz = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
25387
25392
  type: "button",
25388
25393
  variant: "ghost",
25389
25394
  size: "lg",
25390
- className: W("size-10 shadow-none after:hidden hover:shadow-none active:shadow-none [&_.main]:px-0", CH[o ?? "accent"]),
25395
+ className: W("size-10 shadow-none after:hidden hover:shadow-none active:shadow-none [&_.main]:px-0", wH[o ?? "accent"]),
25391
25396
  "aria-label": a.label,
25392
25397
  "aria-controls": u ? h : void 0,
25393
25398
  onClick: () => a.onClick(),
25394
25399
  children: /* @__PURE__ */ Q(V, {
25395
25400
  size: "lg",
25396
- color: wH,
25401
+ color: TH,
25397
25402
  icon: u ? a.icon : i ?? hr
25398
25403
  })
25399
25404
  })
@@ -25425,7 +25430,7 @@ var Cz = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
25425
25430
  })
25426
25431
  }) : null })]
25427
25432
  });
25428
- }, EH = wl(function({ children: e }, t) {
25433
+ }, DH = wl(function({ children: e }, t) {
25429
25434
  return /* @__PURE__ */ Q("div", {
25430
25435
  ref: t,
25431
25436
  className: "-m-1 p-1",
@@ -25434,7 +25439,7 @@ var Cz = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
25434
25439
  children: e
25435
25440
  })
25436
25441
  });
25437
- }), DH = ({ greeting: e }) => /* @__PURE__ */ $(dr, {
25442
+ }), OH = ({ greeting: e }) => /* @__PURE__ */ $(dr, {
25438
25443
  display: "flex",
25439
25444
  flexDirection: "column",
25440
25445
  gap: "xs",
@@ -25446,13 +25451,13 @@ var Cz = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
25446
25451
  variant: "description",
25447
25452
  content: e.subtitle
25448
25453
  }) : null]
25449
- }), OH = 180, kH = 396, AH = 8, jH = ({ glyphCenter: e, panelHeight: t, railHeight: n }) => {
25450
- let r = n - t - AH;
25451
- return r <= AH ? AH : Math.min(Math.max(e - t / 2, AH), r);
25452
- }, MH = ({ widgets: e, slotRenderers: t, clock: n, onAdd: r, onRemove: i, onChangeParams: a }) => {
25454
+ }), kH = 180, AH = 396, jH = 8, MH = ({ glyphCenter: e, panelHeight: t, railHeight: n }) => {
25455
+ let r = n - t - jH;
25456
+ return r <= jH ? jH : Math.min(Math.max(e - t / 2, jH), r);
25457
+ }, NH = ({ widgets: e, slotRenderers: t, clock: n, onAdd: r, onRemove: i, onChangeParams: a }) => {
25453
25458
  let o = U(), s = kl(), c = Y(null), l = Y(null), u = Y(null), [d, f] = X(null), [p, m] = X(null), [h, g] = X(!1), [_, v] = X(0), y = () => {
25454
25459
  u.current && clearTimeout(u.current), u.current = null;
25455
- }, b = (e = OH) => {
25460
+ }, b = (e = kH) => {
25456
25461
  y(), u.current = setTimeout(() => f(null), e);
25457
25462
  }, x = (e, t) => {
25458
25463
  y();
@@ -25469,13 +25474,13 @@ var Cz = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
25469
25474
  let t = new ResizeObserver(() => v(e.offsetHeight));
25470
25475
  return t.observe(e), () => t.disconnect();
25471
25476
  }, []);
25472
- let S = (t) => e.some((e) => e.id === t), C = S(d) ? d : null, w = Cz({
25477
+ let S = (t) => e.some((e) => e.id === t), C = S(d) ? d : null, w = wz({
25473
25478
  collapsed: !0,
25474
25479
  open: C != null,
25475
25480
  glide: h,
25476
25481
  drawn: !0,
25477
- width: kH
25478
- }), T = C ?? (!w.panelHidden && p && S(p.id) ? p.id : null), E = e.find((e) => e.id === T), D = p ? jH({
25482
+ width: AH
25483
+ }), T = C ?? (!w.panelHidden && p && S(p.id) ? p.id : null), E = e.find((e) => e.id === T), D = p ? MH({
25479
25484
  glyphCenter: p.center,
25480
25485
  panelHeight: _,
25481
25486
  railHeight: p.railHeight
@@ -25497,7 +25502,7 @@ var Cz = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
25497
25502
  className: "my-auto hidden flex-col items-end gap-2 md:flex",
25498
25503
  onMouseEnter: y,
25499
25504
  onMouseLeave: () => b(),
25500
- children: [e.map((e, t) => /* @__PURE__ */ Q(jR, {
25505
+ children: [e.map((e, t) => /* @__PURE__ */ Q(MR, {
25501
25506
  look: "ghost",
25502
25507
  widget: e,
25503
25508
  order: t,
@@ -25531,7 +25536,7 @@ var Cz = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
25531
25536
  ref: l,
25532
25537
  id: s,
25533
25538
  role: "group",
25534
- "aria-label": E ? ZL(E) : void 0,
25539
+ "aria-label": E ? QL(E) : void 0,
25535
25540
  hidden: w.panelHidden,
25536
25541
  className: W("absolute right-[68px] top-0 z-20 max-h-[calc(100%-1rem)] w-[396px] max-w-[calc(100vw-6rem)] overflow-y-auto overflow-x-hidden rounded-xl bg-f1-background shadow-lg [scrollbar-width:none] dark:bg-f1-background-secondary dark:backdrop-blur-[100px] dark:backdrop-saturate-150 [&::-webkit-scrollbar]:hidden", C ? "pointer-events-auto" : "pointer-events-none"),
25537
25542
  style: { transformOrigin: ZI },
@@ -25545,7 +25550,7 @@ var Cz = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
25545
25550
  transition: w.transition,
25546
25551
  onMouseEnter: y,
25547
25552
  onMouseLeave: () => b(),
25548
- children: /* @__PURE__ */ Q(Sz, {
25553
+ children: /* @__PURE__ */ Q(Cz, {
25549
25554
  side: "right",
25550
25555
  widgets: e,
25551
25556
  visibleWidgetId: T,
@@ -25555,24 +25560,24 @@ var Cz = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
25555
25560
  slotRenderers: t,
25556
25561
  onRemoveWidget: i,
25557
25562
  onChangeWidgetParams: a,
25558
- paramsPreviewWidth: kH
25563
+ paramsPreviewWidth: AH
25559
25564
  })
25560
25565
  })
25561
25566
  ]
25562
25567
  });
25563
- }, NH = (e, t, n) => {
25568
+ }, PH = (e, t, n) => {
25564
25569
  let r = Array.from(e.current?.querySelectorAll("section") ?? []).find((e) => e.id === t);
25565
25570
  r?.scrollIntoView({
25566
25571
  behavior: n ? "auto" : "smooth",
25567
25572
  block: "start"
25568
25573
  }), r?.focus({ preventScroll: !0 });
25569
- }, PH = (e) => {
25574
+ }, FH = (e) => {
25570
25575
  let t = yn();
25571
- return K((n) => NH(e, n, t), [e, t]);
25572
- }, FH = (e, t, n) => {
25576
+ return K((n) => PH(e, n, t), [e, t]);
25577
+ }, IH = (e, t, n) => {
25573
25578
  let r = [], i = /* @__PURE__ */ new Map(), a = [];
25574
25579
  for (let o of e.elements) {
25575
- if (!Qz(t, o.type)) {
25580
+ if (!$z(t, o.type)) {
25576
25581
  n.push({
25577
25582
  rule: "allowedBlockTypes",
25578
25583
  sectionId: e.id,
@@ -25581,7 +25586,7 @@ var Cz = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
25581
25586
  });
25582
25587
  continue;
25583
25588
  }
25584
- let s = Zz(t, o.type)?.maxPerSection, c = i.get(o.type) ?? [];
25589
+ let s = Qz(t, o.type)?.maxPerSection, c = i.get(o.type) ?? [];
25585
25590
  if (s !== void 0 && c.length >= s) {
25586
25591
  n.push({
25587
25592
  rule: "maxPerSection",
@@ -25592,14 +25597,14 @@ var Cz = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
25592
25597
  });
25593
25598
  continue;
25594
25599
  }
25595
- let l = a.find((e) => !tB(t, e, o.type));
25600
+ let l = a.find((e) => !nB(t, e, o.type));
25596
25601
  l ? n.push({
25597
25602
  rule: "combinesWith",
25598
25603
  sectionId: e.id,
25599
25604
  elementId: o.id,
25600
25605
  blockType: o.type,
25601
25606
  conflictsWith: l
25602
- }) : (i.set(o.type, [...c, o.id]), a.push(o.type), r.push(o.type === "shortcuts" || o.type === "text" ? $z(o, o.id, t, n) : eB(o, t)));
25607
+ }) : (i.set(o.type, [...c, o.id]), a.push(o.type), r.push(o.type === "shortcuts" || o.type === "text" ? eB(o, o.id, t, n) : tB(o, t)));
25603
25608
  }
25604
25609
  let o = t.maxElementsPerSection;
25605
25610
  return o !== void 0 && r.length > o ? (n.push({
@@ -25614,14 +25619,14 @@ var Cz = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
25614
25619
  ...e,
25615
25620
  elements: r
25616
25621
  };
25617
- }, IH = (e, t, n) => {
25622
+ }, LH = (e, t, n) => {
25618
25623
  let r = e;
25619
25624
  return t.maxSections !== void 0 && r.length > t.maxSections && (n.push({
25620
25625
  rule: "maxSections",
25621
25626
  limit: t.maxSections,
25622
25627
  droppedSectionIds: r.slice(t.maxSections).map((e) => e.id)
25623
- }), r = r.slice(0, t.maxSections)), r.map((e, r) => FH(e, nB(t, r === 0), n));
25624
- }, LH = (e, t, n) => {
25628
+ }), r = r.slice(0, t.maxSections)), r.map((e, r) => IH(e, rB(t, r === 0), n));
25629
+ }, RH = (e, t, n) => {
25625
25630
  if (e.type !== "text" || !t.text) return;
25626
25631
  let r = e.text.trim().length, { minLength: i, maxLength: a } = t.text;
25627
25632
  return (i === void 0 || r >= i) && (a === void 0 || r <= a) ? void 0 : {
@@ -25632,14 +25637,14 @@ var Cz = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
25632
25637
  ...i === void 0 ? {} : { minLength: i },
25633
25638
  ...a === void 0 ? {} : { maxLength: a }
25634
25639
  };
25635
- }, RH = (e, t, n) => {
25640
+ }, zH = (e, t, n) => {
25636
25641
  let r = e.flatMap((e) => e.elements), i = /* @__PURE__ */ new Set(), a = 0;
25637
25642
  t.forEach((e, t) => {
25638
25643
  let o = e.min ?? 1, s = e.max ?? 1, c = 0;
25639
25644
  for (; c < s && a < r.length && e.types.includes(r[a].type);) {
25640
25645
  let o = r[a];
25641
25646
  a += 1, c += 1;
25642
- let s = LH(o, e, t);
25647
+ let s = RH(o, e, t);
25643
25648
  s && (i.add(o.id), n.push(s));
25644
25649
  }
25645
25650
  c < o && n.push({
@@ -25658,59 +25663,59 @@ var Cz = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
25658
25663
  ...e,
25659
25664
  elements: e.elements.filter(({ id: e }) => !i.has(e))
25660
25665
  }));
25661
- }, zH = (e) => typeof e == "object" && !!e, BH = (e) => {
25666
+ }, BH = (e) => typeof e == "object" && !!e, VH = (e) => {
25662
25667
  let t = e.widget, n = Array.isArray(e.sections);
25663
- return t === void 0 ? n ? "sections" : null : zH(t) && t.type === "widget" && typeof t.id == "string" && zH(t.source) && !n ? "widget" : null;
25664
- }, VH = (e, t, n) => {
25665
- if (!BH(e)) return n.push({ rule: "accessoryViewBody" }), [];
25668
+ return t === void 0 ? n ? "sections" : null : BH(t) && t.type === "widget" && typeof t.id == "string" && BH(t.source) && !n ? "widget" : null;
25669
+ }, HH = (e, t, n) => {
25670
+ if (!VH(e)) return n.push({ rule: "accessoryViewBody" }), [];
25666
25671
  let r = t.rules ?? {};
25667
- if (e.widget) return Qz(r, "widget") ? [e] : (n.push({
25672
+ if (e.widget) return $z(r, "widget") ? [e] : (n.push({
25668
25673
  rule: "allowedBlockTypes",
25669
25674
  sectionId: e.id,
25670
25675
  elementId: e.widget.id,
25671
25676
  blockType: "widget"
25672
25677
  }), []);
25673
- let i = IH(e.sections, r, n), a = t.shape ? RH(i, t.shape, n) : i;
25678
+ let i = LH(e.sections, r, n), a = t.shape ? zH(i, t.shape, n) : i;
25674
25679
  return [{
25675
25680
  ...e,
25676
25681
  sections: a
25677
25682
  }];
25678
- }, HH = (e, t, n) => e.flatMap((e) => {
25683
+ }, UH = (e, t, n) => e.flatMap((e) => {
25679
25684
  let r = t.find((t) => t.type === e.type);
25680
25685
  if (!r) return n.push({
25681
25686
  rule: "accessoryViewType",
25682
25687
  accessoryViewId: e.id,
25683
25688
  viewType: e.type
25684
25689
  }), [];
25685
- let i = [], a = VH(e, r, i);
25690
+ let i = [], a = HH(e, r, i);
25686
25691
  return n.push(...i.map((t) => ({
25687
25692
  ...t,
25688
25693
  accessoryViewId: e.id
25689
25694
  }))), a;
25690
- }), UH = (e, t, n = []) => {
25691
- let r = [], i = gB(IH(e.sections.filter((e) => e.title?.trim() ? !0 : (r.push({
25695
+ }), WH = (e, t, n = []) => {
25696
+ let r = [], i = _B(LH(e.sections.filter((e) => e.title?.trim() ? !0 : (r.push({
25692
25697
  rule: "sectionTitle",
25693
25698
  sectionId: e.id
25694
25699
  }), !1)), t, r), r);
25695
25700
  i.forEach((e, n) => {
25696
- let i = nB(t, n === 0);
25697
- for (let t of e.elements) t.type === "shortcuts" && Kz(t, Zz(i, t.type), {
25701
+ let i = rB(t, n === 0);
25702
+ for (let t of e.elements) t.type === "shortcuts" && qz(t, Qz(i, t.type), {
25698
25703
  sectionId: e.id,
25699
25704
  elementId: t.id
25700
25705
  }, r);
25701
25706
  });
25702
- let a = e.accessoryViews ? HH(e.accessoryViews, n, r) : void 0, o = {
25707
+ let a = e.accessoryViews ? UH(e.accessoryViews, n, r) : void 0, o = {
25703
25708
  ...e,
25704
25709
  sections: i,
25705
25710
  ...a ? { accessoryViews: a } : {}
25706
25711
  };
25707
25712
  return {
25708
25713
  spec: o,
25709
- violations: [...r, ...dB(o)]
25714
+ violations: [...r, ...fB(o)]
25710
25715
  };
25711
- }, WH = ({ spec: e, sources: t, rules: n, accessoryViewTypes: r, onRulesViolation: i }) => {
25716
+ }, GH = ({ spec: e, sources: t, rules: n, accessoryViewTypes: r, onRulesViolation: i }) => {
25712
25717
  let a = J(() => {
25713
- let i = UH(e, n ?? {}, r), a = t ? bB(t, i.spec, n ?? {}, r) : {
25718
+ let i = WH(e, n ?? {}, r), a = t ? xB(t, i.spec, n ?? {}, r) : {
25714
25719
  sources: t,
25715
25720
  violations: []
25716
25721
  };
@@ -25733,7 +25738,7 @@ var Cz = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
25733
25738
  let e = JSON.parse(s);
25734
25739
  e.length !== 0 && (o.current ? o.current(e) : console.warn("F0AgenticHome: the spec breaks its rules", e));
25735
25740
  }, [s]), a;
25736
- }, GH = (e, t, n) => {
25741
+ }, KH = (e, t, n) => {
25737
25742
  let r = Y(n);
25738
25743
  q(() => {
25739
25744
  r.current = n;
@@ -25748,29 +25753,29 @@ var Cz = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
25748
25753
  t,
25749
25754
  i
25750
25755
  ]);
25751
- }, KH = (e, t) => {
25756
+ }, qH = (e, t) => {
25752
25757
  let n = Object.keys(e.params);
25753
25758
  return e.id === t.id && n.length === Object.keys(t.params).length && n.every((n) => e.params[n] === t.params[n]);
25754
- }, qH = (e, t) => {
25755
- let { missingParams: n, undeclaredParams: r } = rB(e, t);
25759
+ }, JH = (e, t) => {
25760
+ let { missingParams: n, undeclaredParams: r } = iB(e, t);
25756
25761
  return n.length === 0 && r.length === 0;
25757
- }, JH = {}, YH = (e, t, n, r) => !n || r && KH(r, t) ? e : JH, XH = "pt-[max(4rem,22vh)]", ZH = "pb-40", QH = "pb-10", $H = wl(function({ spec: e, greeting: t, clockIn: n, showSidebarToggle: r = !1, widgets: i = [], onClickAddWidget: a, onRemoveWidget: o, onChangeWidgetParams: s, sources: c, sourcesFor: l, onAccessoryViewOpen: u, onAccessoryViewClose: d, onAction: f, composer: p, onComposerVisibilityChange: m, rules: h, onRulesViolation: g, accessoryViewTypes: _, slotRenderers: v, renderMention: y }, b) {
25758
- let { spec: x, sources: S } = WH({
25762
+ }, YH = {}, XH = (e, t, n, r) => !n || r && qH(r, t) ? e : YH, ZH = "pt-[max(4rem,22vh)]", QH = "pb-40", $H = "pb-10", eU = wl(function({ spec: e, greeting: t, clockIn: n, showSidebarToggle: r = !1, widgets: i = [], onClickAddWidget: a, onRemoveWidget: o, onChangeWidgetParams: s, sources: c, sourcesFor: l, onAccessoryViewOpen: u, onAccessoryViewClose: d, onAction: f, composer: p, onComposerVisibilityChange: m, rules: h, onRulesViolation: g, accessoryViewTypes: _, slotRenderers: v, renderMention: y }, b) {
25763
+ let { spec: x, sources: S } = GH({
25759
25764
  spec: e,
25760
25765
  sources: c,
25761
25766
  rules: h,
25762
25767
  accessoryViewTypes: _,
25763
25768
  onRulesViolation: g
25764
25769
  }), C = Y(null), w = Y(null);
25765
- Al(b, () => C.current), GH(C, w, m);
25766
- let T = PH(C), E = p ? /* @__PURE__ */ Q(EH, {
25770
+ Al(b, () => C.current), KH(C, w, m);
25771
+ let T = FH(C), E = p ? /* @__PURE__ */ Q(DH, {
25767
25772
  ref: w,
25768
25773
  children: p
25769
25774
  }) : null, [D, ...O] = x.sections, [k, A] = X(), j = x.accessoryViews?.find(({ id: e }) => e === k?.id), M = _?.find(({ type: e }) => e === j?.type), N = J(() => (e, t) => {
25770
25775
  if (e.type === "goToSection" && T(e.sectionId), e.type === "openAccessoryView") {
25771
25776
  let t = x.accessoryViews?.find(({ id: t }) => t === e.id);
25772
25777
  if (!t) console.warn(`F0AgenticHome: no accessory view "${e.id}" to open`);
25773
- else if (qH(t, e.params)) {
25778
+ else if (JH(t, e.params)) {
25774
25779
  let n = {
25775
25780
  id: t.id,
25776
25781
  params: e.params ?? {}
@@ -25788,9 +25793,9 @@ var Cz = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
25788
25793
  u,
25789
25794
  x.accessoryViews
25790
25795
  ]);
25791
- return /* @__PURE__ */ Q(IV, {
25796
+ return /* @__PURE__ */ Q(LV, {
25792
25797
  value: v,
25793
- children: /* @__PURE__ */ Q(ZV, {
25798
+ children: /* @__PURE__ */ Q(QV, {
25794
25799
  value: y,
25795
25800
  children: /* @__PURE__ */ $("div", {
25796
25801
  className: "relative h-full min-h-0 w-full",
@@ -25799,24 +25804,24 @@ var Cz = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
25799
25804
  ref: C,
25800
25805
  className: W("h-full w-full overflow-y-auto bg-f1-background px-6", (i.length > 0 || a) && "md:px-20"),
25801
25806
  children: [/* @__PURE__ */ $("div", {
25802
- className: W("mx-auto flex w-full max-w-content flex-col gap-20", XH, p && m ? ZH : QH),
25807
+ className: W("mx-auto flex w-full max-w-content flex-col gap-20", ZH, p && m ? QH : $H),
25803
25808
  children: [
25804
- t ? /* @__PURE__ */ Q(DH, { greeting: t }) : null,
25809
+ t ? /* @__PURE__ */ Q(OH, { greeting: t }) : null,
25805
25810
  D ? null : E,
25806
- D ? /* @__PURE__ */ Q(gH, {
25811
+ D ? /* @__PURE__ */ Q(_H, {
25807
25812
  size: "lead",
25808
25813
  section: D,
25809
25814
  sources: S,
25810
25815
  onAction: N,
25811
25816
  composer: E
25812
25817
  }, D.id) : null,
25813
- O.map((e) => /* @__PURE__ */ Q(gH, {
25818
+ O.map((e) => /* @__PURE__ */ Q(_H, {
25814
25819
  section: e,
25815
25820
  sources: S,
25816
25821
  onAction: N
25817
25822
  }, e.id))
25818
25823
  ]
25819
- }), k && j && M ? /* @__PURE__ */ Q(bH, {
25824
+ }), k && j && M ? /* @__PURE__ */ Q(xH, {
25820
25825
  view: j,
25821
25826
  params: k.params,
25822
25827
  presentation: M.presentation,
@@ -25829,7 +25834,7 @@ var Cz = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
25829
25834
  open: !1
25830
25835
  }), d?.();
25831
25836
  },
25832
- sources: YH(S, k, !!j.params?.length, l),
25837
+ sources: XH(S, k, !!j.params?.length, l),
25833
25838
  onAction: N
25834
25839
  }) : null]
25835
25840
  }),
@@ -25837,32 +25842,32 @@ var Cz = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
25837
25842
  className: "absolute left-4 top-5 z-30 flex items-center xs:top-4",
25838
25843
  children: /* @__PURE__ */ Q(vL, {})
25839
25844
  }) : null,
25840
- n || i.length || a ? /* @__PURE__ */ Q(MH, {
25845
+ n || i.length || a ? /* @__PURE__ */ Q(NH, {
25841
25846
  widgets: i,
25842
25847
  onAdd: a,
25843
25848
  onRemove: o,
25844
25849
  onChangeParams: s,
25845
25850
  slotRenderers: v,
25846
- clock: n ? /* @__PURE__ */ Q(TH, { clockIn: n }) : void 0
25851
+ clock: n ? /* @__PURE__ */ Q(EH, { clockIn: n }) : void 0
25847
25852
  }) : null
25848
25853
  ]
25849
25854
  })
25850
25855
  })
25851
25856
  });
25852
- }), eU = Qn("F0AgenticHome", $H), tU = wl(function({ element: e, state: t, onAction: n, slotRenderers: r }, i) {
25857
+ }), tU = Qn("F0AgenticHome", eU), nU = wl(function({ element: e, state: t, onAction: n, slotRenderers: r }, i) {
25853
25858
  let a = J(() => (e, t) => n?.(e, t), [n]);
25854
25859
  return /* @__PURE__ */ Q("div", {
25855
25860
  ref: i,
25856
- children: /* @__PURE__ */ Q(IV, {
25861
+ children: /* @__PURE__ */ Q(LV, {
25857
25862
  value: r,
25858
- children: /* @__PURE__ */ Q(zV, {
25863
+ children: /* @__PURE__ */ Q(BV, {
25859
25864
  element: e,
25860
25865
  state: t,
25861
25866
  onAction: a
25862
25867
  })
25863
25868
  })
25864
25869
  });
25865
- }), nU = Qn("F0AgenticHomeBlock", tU), rU = {
25870
+ }), rU = Qn("F0AgenticHomeBlock", nU), iU = {
25866
25871
  maxSections: 12,
25867
25872
  maxElementsPerSection: 3,
25868
25873
  blocks: [
@@ -25910,18 +25915,18 @@ var Cz = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
25910
25915
  type: "list",
25911
25916
  itemActions: ["goToSection"]
25912
25917
  }] }
25913
- }, iU = 1, aU = {
25918
+ }, aU = 1, oU = {
25914
25919
  main: 672,
25915
25920
  right: 396
25916
- }, oU = 250, sU = (e) => typeof e == "object" && !!e && !Tl(e) && Array.isArray(e.slots), cU = ({ preview: e, params: t, slotRenderers: n }) => sU(e) ? /* @__PURE__ */ Q(RR, {
25917
- ...eR(e),
25921
+ }, sU = 250, cU = (e) => typeof e == "object" && !!e && !Tl(e) && Array.isArray(e.slots), lU = ({ preview: e, params: t, slotRenderers: n }) => cU(e) ? /* @__PURE__ */ Q(zR, {
25922
+ ...tR(e),
25918
25923
  header: e.header,
25919
25924
  params: t ?? e.params,
25920
25925
  fullHeight: e.fullHeight,
25921
25926
  slots: e.slots,
25922
25927
  loading: e.loading,
25923
25928
  slotRenderers: n
25924
- }) : /* @__PURE__ */ Q(Z, { children: e }), lU = (e, t, n) => e.info ?? (sU(t) ? XL(t.header, n ?? t.params)?.info : void 0), uU = (e) => e.paramsSchema ?? (sU(e.preview) ? e.preview.paramsSchema : void 0), dU = (e) => e.params ?? (sU(e.preview) ? e.preview.params : void 0) ?? {}, fU = ({ label: e, icon: t }) => /* @__PURE__ */ $("div", {
25929
+ }) : /* @__PURE__ */ Q(Z, { children: e }), uU = (e, t, n) => e.info ?? (cU(t) ? ZL(t.header, n ?? t.params)?.info : void 0), dU = (e) => e.paramsSchema ?? (cU(e.preview) ? e.preview.paramsSchema : void 0), fU = (e) => e.params ?? (cU(e.preview) ? e.preview.params : void 0) ?? {}, pU = ({ label: e, icon: t }) => /* @__PURE__ */ $("div", {
25925
25930
  className: "flex items-center gap-1.5 px-2 pb-1 pt-5 first:pt-1",
25926
25931
  children: [t ? /* @__PURE__ */ Q(V, {
25927
25932
  icon: t,
@@ -25932,10 +25937,10 @@ var Cz = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
25932
25937
  children: e
25933
25938
  })]
25934
25939
  });
25935
- function pU({ isOpen: e, onClose: t, widgets: n, onAdd: r, groups: i, area: a, previewWidth: o, slotRenderers: s, rebuildPreview: c, title: l = "Add widget" }) {
25936
- let u = U(), { position: d, width: f, bodyClassName: p, asideClassName: m } = BR(), [h, g] = X(""), [_, v] = X(null), [y, b] = X("pick"), [x, S] = X(!1), C = (e) => {
25940
+ function mU({ isOpen: e, onClose: t, widgets: n, onAdd: r, groups: i, area: a, previewWidth: o, slotRenderers: s, rebuildPreview: c, title: l = "Add widget" }) {
25941
+ let u = U(), { position: d, width: f, bodyClassName: p, asideClassName: m } = VR(), [h, g] = X(""), [_, v] = X(null), [y, b] = X("pick"), [x, S] = X(!1), C = (e) => {
25937
25942
  S(!0), b(e);
25938
- }, [w, T] = X(null), { formRef: E, getValues: D, trigger: O } = tt(), k = h.trim().toLowerCase(), A = o ?? (a ? aU[a] : aU.right), j = J(() => {
25943
+ }, [w, T] = X(null), { formRef: E, getValues: D, trigger: O } = tt(), k = h.trim().toLowerCase(), A = o ?? (a ? oU[a] : oU.right), j = J(() => {
25939
25944
  let e = a ? n.filter((e) => !e.areas || e.areas.includes(a)) : n, t = k ? e.filter((e) => e.title.toLowerCase().includes(k)) : e, r = t.filter((e) => e.recommended), o = t.filter((e) => !e.recommended), s = new Set((i ?? []).map((e) => e.id)), c = o.filter((e) => !e.group || !s.has(e.group));
25940
25945
  return [
25941
25946
  ...r.length ? [{
@@ -25960,7 +25965,7 @@ function pU({ isOpen: e, onClose: t, widgets: n, onAdd: r, groups: i, area: a, p
25960
25965
  k,
25961
25966
  a,
25962
25967
  u
25963
- ]), M = j.flatMap((e) => e.items), N = M.find((e) => e.id === _) ?? M[0] ?? null, P = N ? uU(N) : void 0, F = P !== void 0 && !(N?.addWithDefaults && QL(P, dU(N))), I = y === "configure" && F, ee = N && w?.id === N.id ? w.params : N ? dU(N) : {}, te = I && N && c ? c(N, ee) : N?.preview;
25968
+ ]), M = j.flatMap((e) => e.items), N = M.find((e) => e.id === _) ?? M[0] ?? null, P = N ? dU(N) : void 0, F = P !== void 0 && !(N?.addWithDefaults && $L(P, fU(N))), I = y === "configure" && F, ee = N && w?.id === N.id ? w.params : N ? fU(N) : {}, te = I && N && c ? c(N, ee) : N?.preview;
25964
25969
  return q(() => {
25965
25970
  e && (b("pick"), S(!1), T(null));
25966
25971
  }, [e]), q(() => {
@@ -26007,7 +26012,7 @@ function pU({ isOpen: e, onClose: t, widgets: n, onAdd: r, groups: i, area: a, p
26007
26012
  defaultValues: ee,
26008
26013
  submitConfig: {
26009
26014
  type: "autosubmit",
26010
- delay: oU,
26015
+ delay: sU,
26011
26016
  hideActionBar: !0
26012
26017
  },
26013
26018
  styling: { noPadding: !0 },
@@ -26022,7 +26027,7 @@ function pU({ isOpen: e, onClose: t, widgets: n, onAdd: r, groups: i, area: a, p
26022
26027
  placeholder: "Search widgets"
26023
26028
  }), /* @__PURE__ */ $("div", {
26024
26029
  className: "flex flex-col gap-1 overflow-y-auto",
26025
- children: [j.map((e) => /* @__PURE__ */ $(bl, { children: [e.label ? /* @__PURE__ */ Q(fU, {
26030
+ children: [j.map((e) => /* @__PURE__ */ $(bl, { children: [e.label ? /* @__PURE__ */ Q(pU, {
26026
26031
  label: e.label,
26027
26032
  icon: e.icon
26028
26033
  }) : null, e.items.map((e) => /* @__PURE__ */ $("button", {
@@ -26041,11 +26046,11 @@ function pU({ isOpen: e, onClose: t, widgets: n, onAdd: r, groups: i, area: a, p
26041
26046
  children: k ? "No widgets match your search." : "No widgets to add here."
26042
26047
  }) : null]
26043
26048
  })] })
26044
- }, y), /* @__PURE__ */ Q(HR, {
26049
+ }, y), /* @__PURE__ */ Q(UR, {
26045
26050
  previewKey: N?.id,
26046
- info: N ? lU(N, te, I ? ee : void 0) : void 0,
26051
+ info: N ? uU(N, te, I ? ee : void 0) : void 0,
26047
26052
  previewWidth: A,
26048
- children: N ? /* @__PURE__ */ Q(cU, {
26053
+ children: N ? /* @__PURE__ */ Q(lU, {
26049
26054
  preview: te,
26050
26055
  params: I ? ee : void 0,
26051
26056
  slotRenderers: s
@@ -26056,62 +26061,62 @@ function pU({ isOpen: e, onClose: t, widgets: n, onAdd: r, groups: i, area: a, p
26056
26061
  }
26057
26062
  //#endregion
26058
26063
  //#region ../../node_modules/.pnpm/react-masonry@1.0.7/node_modules/react-masonry/dist/index.js
26059
- var mU = Object.defineProperty, hU = Object.defineProperties, gU = Object.getOwnPropertyDescriptors, _U = Object.getOwnPropertySymbols, vU = Object.prototype.hasOwnProperty, yU = Object.prototype.propertyIsEnumerable, bU = (e, t, n) => t in e ? mU(e, t, {
26064
+ var hU = Object.defineProperty, gU = Object.defineProperties, _U = Object.getOwnPropertyDescriptors, vU = Object.getOwnPropertySymbols, yU = Object.prototype.hasOwnProperty, bU = Object.prototype.propertyIsEnumerable, xU = (e, t, n) => t in e ? hU(e, t, {
26060
26065
  enumerable: !0,
26061
26066
  configurable: !0,
26062
26067
  writable: !0,
26063
26068
  value: n
26064
- }) : e[t] = n, xU = (e, t) => {
26065
- for (var n in t ||= {}) vU.call(t, n) && bU(e, n, t[n]);
26066
- if (_U) for (var n of _U(t)) yU.call(t, n) && bU(e, n, t[n]);
26069
+ }) : e[t] = n, SU = (e, t) => {
26070
+ for (var n in t ||= {}) yU.call(t, n) && xU(e, n, t[n]);
26071
+ if (vU) for (var n of vU(t)) bU.call(t, n) && xU(e, n, t[n]);
26067
26072
  return e;
26068
- }, SU = (e, t) => hU(e, gU(t)), CU = (e, t) => {
26073
+ }, CU = (e, t) => gU(e, _U(t)), wU = (e, t) => {
26069
26074
  var n = {};
26070
- for (var r in e) vU.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
26071
- if (e != null && _U) for (var r of _U(e)) t.indexOf(r) < 0 && yU.call(e, r) && (n[r] = e[r]);
26075
+ for (var r in e) yU.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
26076
+ if (e != null && vU) for (var r of vU(e)) t.indexOf(r) < 0 && bU.call(e, r) && (n[r] = e[r]);
26072
26077
  return n;
26073
- }, wU = (e) => e.right - e.left < 5 || e.bottom && e.bottom - e.top < 5, TU = ({ spotsList: e, usedSpot: t }) => e.some((e) => e !== t && t.left === e.left), EU = ({ position: e, spot: t, stone: n }) => {
26078
+ }, TU = (e) => e.right - e.left < 5 || e.bottom && e.bottom - e.top < 5, EU = ({ spotsList: e, usedSpot: t }) => e.some((e) => e !== t && t.left === e.left), DU = ({ position: e, spot: t, stone: n }) => {
26074
26079
  if (e.left > t.left && t.right >= e.left && e.top + n.height > t.top) {
26075
26080
  if (t.bottom && t.bottom < e.top) return t;
26076
- let n = xU({}, t);
26081
+ let n = SU({}, t);
26077
26082
  return n.right = e.left, n;
26078
26083
  }
26079
26084
  return null;
26080
- }, DU = ({ position: e, stone: t, spot: n }) => {
26085
+ }, OU = ({ position: e, stone: t, spot: n }) => {
26081
26086
  if (e.left + t.width > n.left && e.top >= n.top) {
26082
26087
  if (n.bottom && n.bottom < e.top || n.right < e.left) return n;
26083
- let t = xU({}, n);
26088
+ let t = SU({}, n);
26084
26089
  return t.bottom = e.top, t;
26085
26090
  }
26086
26091
  return null;
26087
- }, OU = ({ stone: e, position: t, spotsList: n, optimalSpot: r }) => {
26088
- let i = xU({}, r);
26089
- return i.left = t.left + e.width, wU(i) || TU({
26092
+ }, kU = ({ stone: e, position: t, spotsList: n, optimalSpot: r }) => {
26093
+ let i = SU({}, r);
26094
+ return i.left = t.left + e.width, TU(i) || EU({
26090
26095
  usedSpot: i,
26091
26096
  spotsList: n
26092
26097
  }) ? null : i;
26093
- }, kU = ({ spots: e, position: t, optimalSpot: n, stone: r }) => e.map((e, i, a) => e === n ? OU({
26098
+ }, AU = ({ spots: e, position: t, optimalSpot: n, stone: r }) => e.map((e, i, a) => e === n ? kU({
26094
26099
  stone: r,
26095
26100
  position: t,
26096
26101
  optimalSpot: n,
26097
26102
  spotsList: a
26098
- }) : EU({
26103
+ }) : DU({
26099
26104
  position: t,
26100
26105
  spot: e,
26101
26106
  stone: r
26102
- }) || DU({
26107
+ }) || OU({
26103
26108
  position: t,
26104
26109
  stone: r,
26105
26110
  spot: e
26106
26111
  }) || e);
26107
- function AU(e, t) {
26112
+ function jU(e, t) {
26108
26113
  for (let n = 0, r = t.length; n < r; n++) {
26109
26114
  let r = t[n];
26110
26115
  if (e(r)) return r;
26111
26116
  }
26112
26117
  return null;
26113
26118
  }
26114
- var jU = (e, t) => t.filter(e), MU = (e, t) => [...t].sort(e), NU = (e, t) => e.top === t.top ? e.left < t.left ? -1 : 1 : e.top < t.top ? -1 : 1, PU = (e) => MU(NU, e), FU = ({ availableSpots: e, optimalSpot: t, containerSize: n, stone: r }) => {
26119
+ var MU = (e, t) => t.filter(e), NU = (e, t) => [...t].sort(e), PU = (e, t) => e.top === t.top ? e.left < t.left ? -1 : 1 : e.top < t.top ? -1 : 1, FU = (e) => NU(PU, e), IU = ({ availableSpots: e, optimalSpot: t, containerSize: n, stone: r }) => {
26115
26120
  let i = {
26116
26121
  right: n,
26117
26122
  top: t.top + r.height,
@@ -26126,36 +26131,36 @@ var jU = (e, t) => t.filter(e), MU = (e, t) => [...t].sort(e), NU = (e, t) => e.
26126
26131
  }
26127
26132
  }
26128
26133
  return i;
26129
- }, IU = (e, t) => {
26134
+ }, LU = (e, t) => {
26130
26135
  let n = e.right - e.left >= t.width;
26131
26136
  if (!e.bottom) return n;
26132
26137
  let r = e.bottom - e.top >= t.height;
26133
26138
  return n && r;
26134
- }, LU = ({ availableSpots: e, stone: t }) => AU((e) => IU(e, t), e);
26135
- function RU({ stone: e, availableSpots: t, containerSize: n }) {
26136
- let r = LU({
26139
+ }, RU = ({ availableSpots: e, stone: t }) => jU((e) => LU(e, t), e);
26140
+ function zU({ stone: e, availableSpots: t, containerSize: n }) {
26141
+ let r = RU({
26137
26142
  availableSpots: t,
26138
26143
  stone: e
26139
26144
  }), i = {
26140
26145
  left: r.left,
26141
26146
  top: r.top
26142
- }, a = FU({
26147
+ }, a = IU({
26143
26148
  optimalSpot: r,
26144
26149
  availableSpots: t.filter((e) => e !== r),
26145
26150
  stone: e,
26146
26151
  containerSize: n
26147
- }), o = [...t, a], s = kU({
26152
+ }), o = [...t, a], s = AU({
26148
26153
  spots: o,
26149
26154
  position: i,
26150
26155
  optimalSpot: r,
26151
26156
  stone: e
26152
26157
  });
26153
- return o = [...jU(Boolean, s)], o = PU(o), {
26158
+ return o = [...MU(Boolean, s)], o = FU(o), {
26154
26159
  position: i,
26155
26160
  availableSpots: o
26156
26161
  };
26157
26162
  }
26158
- var zU = ({ stones: e, containerSize: t }) => {
26163
+ var BU = ({ stones: e, containerSize: t }) => {
26159
26164
  let n = {
26160
26165
  positions: [],
26161
26166
  containerHeight: 0,
@@ -26168,7 +26173,7 @@ var zU = ({ stones: e, containerSize: t }) => {
26168
26173
  right: t
26169
26174
  }];
26170
26175
  for (let n of e) {
26171
- let e = RU({
26176
+ let e = zU({
26172
26177
  availableSpots: a,
26173
26178
  stone: n,
26174
26179
  containerSize: t
@@ -26180,14 +26185,14 @@ var zU = ({ stones: e, containerSize: t }) => {
26180
26185
  positions: i,
26181
26186
  containerHeight: r
26182
26187
  };
26183
- }, BU = (e) => e.reduce((e, t) => {
26188
+ }, VU = (e) => e.reduce((e, t) => {
26184
26189
  if (!t) return e;
26185
26190
  let n = t.getBoundingClientRect();
26186
26191
  return e.push({
26187
26192
  width: n.width,
26188
26193
  height: n.height
26189
26194
  }), e;
26190
- }, []), VU = ({ boxesRefs: e, wrapperRef: t, children: n, windowWidth: r, wrapperWidth: i }) => {
26195
+ }, []), HU = ({ boxesRefs: e, wrapperRef: t, children: n, windowWidth: r, wrapperWidth: i }) => {
26191
26196
  let [{ positions: a, containerHeight: o, stones: s, availableSpots: c }, l] = X({
26192
26197
  positions: [],
26193
26198
  containerHeight: null,
@@ -26195,13 +26200,13 @@ var zU = ({ stones: e, containerSize: t }) => {
26195
26200
  availableSpots: []
26196
26201
  });
26197
26202
  return q(() => {
26198
- let n = BU(e.current), r = t.current?.offsetWidth ?? 0;
26203
+ let n = VU(e.current), r = t.current?.offsetWidth ?? 0;
26199
26204
  if (r === null) return;
26200
- let i = zU({
26205
+ let i = BU({
26201
26206
  stones: n,
26202
26207
  containerSize: r
26203
26208
  });
26204
- l(SU(xU({}, i), { stones: n }));
26209
+ l(CU(SU({}, i), { stones: n }));
26205
26210
  }, [
26206
26211
  n,
26207
26212
  e,
@@ -26214,7 +26219,7 @@ var zU = ({ stones: e, containerSize: t }) => {
26214
26219
  stones: s,
26215
26220
  availableSpots: c
26216
26221
  };
26217
- }, HU = (e) => ({
26222
+ }, UU = (e) => ({
26218
26223
  fade: `${e}ms opacity ease`,
26219
26224
  fadeMove: `
26220
26225
  ${e}ms opacity ease,
@@ -26225,15 +26230,15 @@ var zU = ({ stones: e, containerSize: t }) => {
26225
26230
  ${e}ms top ease,
26226
26231
  ${e}ms left ease
26227
26232
  `
26228
- }), UU = ({ transition: e, transitionDuration: t }) => e ? { transition: HU(t)[e] } : null, WU = (e) => e ? SU(xU({}, e), { opacity: 1 }) : {
26233
+ }), WU = ({ transition: e, transitionDuration: t }) => e ? { transition: UU(t)[e] } : null, GU = (e) => e ? CU(SU({}, e), { opacity: 1 }) : {
26229
26234
  opacity: 0,
26230
26235
  top: 0,
26231
26236
  left: 0
26232
- }, GU = ({ style: e, position: t, transition: n, transitionDuration: r }) => xU(xU(SU(xU({}, e), { position: "absolute" }), WU(t)), UU({
26237
+ }, KU = ({ style: e, position: t, transition: n, transitionDuration: r }) => SU(SU(CU(SU({}, e), { position: "absolute" }), GU(t)), WU({
26233
26238
  transition: n,
26234
26239
  transitionDuration: r
26235
26240
  }));
26236
- function KU(e, t, n) {
26241
+ function qU(e, t, n) {
26237
26242
  let r;
26238
26243
  return function(...i) {
26239
26244
  r && clearTimeout(r), r = setTimeout(function() {
@@ -26241,8 +26246,8 @@ function KU(e, t, n) {
26241
26246
  }, t), n && !r && e.apply(null, i);
26242
26247
  };
26243
26248
  }
26244
- var qU = () => {
26245
- let [e, t] = X(), n = Y(KU(t, 300));
26249
+ var JU = () => {
26250
+ let [e, t] = X(), n = Y(qU(t, 300));
26246
26251
  return q(() => {
26247
26252
  let e = () => {
26248
26253
  n.current(window.innerWidth);
@@ -26251,7 +26256,7 @@ var qU = () => {
26251
26256
  window.removeEventListener("resize", e);
26252
26257
  };
26253
26258
  }, []), e;
26254
- }, JU = (e) => {
26259
+ }, YU = (e) => {
26255
26260
  let [t, n] = X(null);
26256
26261
  return q(() => {
26257
26262
  let t = new ResizeObserver((e) => {
@@ -26261,31 +26266,31 @@ var qU = () => {
26261
26266
  t.disconnect();
26262
26267
  };
26263
26268
  }, [e]), t;
26264
- }, YU = (e) => {
26265
- var t = e, { children: n, style: r, transition: i = !1, transitionDuration: a = 500, transitionStep: o = 50 } = t, s = CU(t, [
26269
+ }, XU = (e) => {
26270
+ var t = e, { children: n, style: r, transition: i = !1, transitionDuration: a = 500, transitionStep: o = 50 } = t, s = wU(t, [
26266
26271
  "children",
26267
26272
  "style",
26268
26273
  "transition",
26269
26274
  "transitionDuration",
26270
26275
  "transitionStep"
26271
26276
  ]);
26272
- let c = Y([]), l = Y(null), { positions: u, containerHeight: d } = VU({
26277
+ let c = Y([]), l = Y(null), { positions: u, containerHeight: d } = HU({
26273
26278
  boxesRefs: c,
26274
26279
  wrapperRef: l,
26275
26280
  children: n,
26276
- windowWidth: qU(),
26277
- wrapperWidth: JU(l)
26278
- }), f = xU({
26281
+ windowWidth: JU(),
26282
+ wrapperWidth: YU(l)
26283
+ }), f = SU({
26279
26284
  minHeight: d ?? 0,
26280
26285
  position: "relative"
26281
26286
  }, r);
26282
- return Q("div", SU(xU({
26287
+ return Q("div", CU(SU({
26283
26288
  ref: l,
26284
26289
  style: f
26285
26290
  }, s), { children: yl.map(n, (e, t) => {
26286
26291
  if (typeof e != "object" || !e || !("type" in e)) return e;
26287
26292
  let n = {
26288
- style: GU({
26293
+ style: KU({
26289
26294
  style: e.props.style,
26290
26295
  position: u[t],
26291
26296
  transition: i,
@@ -26293,14 +26298,14 @@ var qU = () => {
26293
26298
  }),
26294
26299
  ref: (e) => c.current[t] = e
26295
26300
  };
26296
- return Sl(e, xU(xU({}, e.props), n));
26301
+ return Sl(e, SU(SU({}, e.props), n));
26297
26302
  }) }));
26298
- }, XU = {
26303
+ }, ZU = {
26299
26304
  sm: 340,
26300
26305
  md: 480,
26301
26306
  lg: 640
26302
- }, ZU = wl(function({ children: e, widgetWidth: t = "sm" }, n) {
26303
- let r = XU[t], [i, a] = X(), o = yl.toArray(e), s = Y(null);
26307
+ }, QU = wl(function({ children: e, widgetWidth: t = "sm" }, n) {
26308
+ let r = ZU[t], [i, a] = X(), o = yl.toArray(e), s = Y(null);
26304
26309
  return q(() => {
26305
26310
  let e = () => {
26306
26311
  let e = s.current?.offsetWidth;
@@ -26319,7 +26324,7 @@ var qU = () => {
26319
26324
  children: e
26320
26325
  }) : i && i > 1 && /* @__PURE__ */ Q("div", {
26321
26326
  className: "relative -mr-4",
26322
- children: /* @__PURE__ */ Q(YU, { children: o.map((e, t) => /* @__PURE__ */ Q("div", {
26327
+ children: /* @__PURE__ */ Q(XU, { children: o.map((e, t) => /* @__PURE__ */ Q("div", {
26323
26328
  style: { width: `${Math.floor(1 / i * 1e4) / 100 - .05}%` },
26324
26329
  className: "pb-[0.01px] pr-4 *:mb-4 *:shadow",
26325
26330
  children: e
@@ -26327,7 +26332,7 @@ var qU = () => {
26327
26332
  })
26328
26333
  })
26329
26334
  });
26330
- }), QU = [
26335
+ }), $U = [
26331
26336
  "sm",
26332
26337
  "lg",
26333
26338
  "md",
@@ -26340,26 +26345,26 @@ var qU = () => {
26340
26345
  "sm",
26341
26346
  "md",
26342
26347
  "md"
26343
- ], $U = Ia(ZU, () => /* @__PURE__ */ Q(ai, { children: /* @__PURE__ */ Q(ZU, { children: QU.map((e, t) => /* @__PURE__ */ Q(fe.Skeleton, { height: e }, t)) }) })), eW = ({ children: e }) => /* @__PURE__ */ Q("div", {
26348
+ ], eW = Ia(QU, () => /* @__PURE__ */ Q(ai, { children: /* @__PURE__ */ Q(QU, { children: $U.map((e, t) => /* @__PURE__ */ Q(fe.Skeleton, { height: e }, t)) }) })), tW = ({ children: e }) => /* @__PURE__ */ Q("div", {
26344
26349
  className: "flex min-h-40 flex-row items-stretch gap-4 text-f1-foreground @container [&>div]:min-w-[calc(100vw-64px)] @2xl:[&>div]:min-w-[calc(50vw-48px)]",
26345
26350
  children: e
26346
- }), tW = Ia(wl(function({ children: e }, t) {
26351
+ }), nW = Ia(wl(function({ children: e }, t) {
26347
26352
  return /* @__PURE__ */ Q($o, {
26348
26353
  ref: t,
26349
26354
  showBar: !1,
26350
- children: /* @__PURE__ */ Q(eW, { children: e })
26355
+ children: /* @__PURE__ */ Q(tW, { children: e })
26351
26356
  });
26352
26357
  }), () => /* @__PURE__ */ Q(ai, {
26353
26358
  orientation: "horizontal",
26354
- children: /* @__PURE__ */ $(eW, { children: [
26359
+ children: /* @__PURE__ */ $(tW, { children: [
26355
26360
  /* @__PURE__ */ Q(fe.Skeleton, {}),
26356
26361
  /* @__PURE__ */ Q(fe.Skeleton, {}),
26357
26362
  /* @__PURE__ */ Q(fe.Skeleton, {})
26358
26363
  ] })
26359
- })), nW = fe;
26364
+ })), rW = fe;
26360
26365
  //#endregion
26361
26366
  //#region src/blocks/Widgets/WidgetEmptyState/WidgetEmptyState.tsx
26362
- function rW({ title: e, description: t, emoji: n, actions: r }) {
26367
+ function iW({ title: e, description: t, emoji: n, actions: r }) {
26363
26368
  if ((r?.length ?? 0) > 2) throw Error("You can only provide up to two actions for the WidgetEmptyState");
26364
26369
  return /* @__PURE__ */ Q(S, {
26365
26370
  title: e,
@@ -26370,7 +26375,7 @@ function rW({ title: e, description: t, emoji: n, actions: r }) {
26370
26375
  }
26371
26376
  //#endregion
26372
26377
  //#region src/blocks/Widgets/WidgetEmptyState/index.tsx
26373
- var iW = Ln(Qn("WidgetEmptyState", rW)), aW = ({ identifier: e, allowedRoutes: t, disallowedRoutes: n, children: r }) => {
26378
+ var aW = Ln(Qn("WidgetEmptyState", iW)), oW = ({ identifier: e, allowedRoutes: t, disallowedRoutes: n, children: r }) => {
26374
26379
  let i = Rn(), a = window.location.pathname, o = J(() => t?.length ? t.includes(a) : !n?.length || !n.includes(a), [
26375
26380
  a,
26376
26381
  t,
@@ -26384,9 +26389,9 @@ var iW = Ln(Qn("WidgetEmptyState", rW)), aW = ({ identifier: e, allowedRoutes: t
26384
26389
  n
26385
26390
  ]);
26386
26391
  return o ? r : (i && console.error(s), null);
26387
- }, oW = Ln(Yn({
26392
+ }, sW = Ln(Yn({
26388
26393
  name: "ScrollArea",
26389
26394
  type: "layout"
26390
26395
  }, $o));
26391
26396
  //#endregion
26392
- export { iU as AGENTIC_HOME_SPEC_VERSION, p as AUTO_PER_PAGE_MAX, tn as AUTO_PER_PAGE_MIN_RESERVED_ROWS, Bp as ActivityItemList, zp as ActivityItemListSkeleton, pu as AiPromotionChat, mu as AiPromotionChatProvider, BS as ApplicationFrame, Zt as AreaChart, AF as AreaChartWidget, gF as AutoGrid, Ko as Badge, on as BarChart, jF as BarChartWidget, Rp as BaseActivityItemList, ot as BaseBanner, Kp as BaseCelebration, lm as BaseCommunityPost, Za as BaseTabs, Ra as BreadcrumbSelect, sC as Breadcrumbs, im as CalendarEvent, KF as CalendarEventList, n as CardSelectableContainer, lt as Carousel, We as CategoryBarChart, pI as CategoryBarSection, Jp as Celebration, qp as CelebrationSkeleton, UF as ChartWidgetEmptyState, hs as Chip, HI as ClockInControls, Ut as CoachmarkProvider, rn as ComboChart, dm as CommunityPost, bm as CommunityPostCard, um as CommunityPostSkeleton, eT as CompanySelector, kn as Counter, fR as DEFAULT_EXPECTED_ITEMS_COUNT, $U as Dashboard, QS as DaytimePage, Ui as DetailsItem, ga as DetailsItemsList, Xt as Dialog, bo as Dropdown, aR as EVENT_LIST_GAP, ap as EntitySelect, Tt as F0ActionBar, eU as F0AgenticHome, nU as F0AgenticHomeBlock, pe as F0AiBanner, Ku as F0AiCallout, qo as F0AvatarColor, Uo as F0AvatarColorList, zo as F0AvatarModule, gc as F0ButtonToggle, ed as F0Callout, ti as F0CardHorizontal, ti as F0CardRow, of as F0CarouselDialog, ZP as F0Chat, UO as F0ChatHistoryLimitCard, rl as F0ChatProvider, HD as F0CommandPaletteProvider, Tm as F0CommunityPostsCarousel, fd as F0Confetti, iF as F0ENPSButton, Cu as F0EmojiPicker, br as F0FileItem, Me as F0FormEditableTable, He as F0LocationInput, Yc as F0Map, Hc as F0MapControls, Ac as F0MapList, kc as F0MapSidebar, Uc as F0MapSidebarToggle, Kc as F0MapSkeleton, mS as F0Meeting, Pd as F0MeetingCard, qm as F0MeetingProvider, Xx as F0MeetingRoom, hS as F0MeetingSlot, pS as F0MeetingSurface, an as F0NotesTextEditor, Ue as F0NotesTextEditorSkeleton, m as F0NumberInput, _ as F0NumberInputInline, Do as F0PersonCard, ft as F0PhoneInput, gE as F0PrimarySidebar, pc as F0ProgressSeries, zd as F0PulseDot, nf as F0Resizable, ze as F0ResourceHeader, ze as ResourceHeader, Ka as F0RichTextDisplay, pt as F0RichTextEditor, $s as F0SearchInput, yE as F0SecondarySidebar, cf as F0SegmentedBar, Qe as F0SegmentedControl, yf as F0SwipeDeck, Lt as F0TableOfContent, Op as F0TemplateTextInput, $t as F0TextAreaInput, d as F0TextAreaInputInline, Ur as F0TextInput, ge as F0TextInputInline, jf as F0Timeline, kf as F0VersionHistory, VO as F0_CHAT_HEADER_TITLE_SELECTOR, Gs as F1SearchBox, ie as FILE_TYPES, Fa as FileItem, Yp as HighlightBanner, gL as HomeSlotItem, hL as HomeSlotItems, ZF as IndicatorsList, Ii as Input, Ve as Item, ut as ItemSectionHeader, JD as LATEST, GL as LIST_COMPACT_AFTER, rR as LIST_MORE_BUTTON_CLASS, _e as LineChart, MF as LineChartWidget, OS as MeetingNotes, _S as MeetingPanelContent, DS as MeetingParticipants, yS as MeetingRoomChat, Nx as MeetingSidePanel, p_ as MeetingSurfaceProvider, SS as MeetingTranscript, vT as Menu, jo as MobileDropdown, Pz as NewHomeLayout, nn as NotesTextEditor, R as NotesTextEditorSkeleton, L as NumberInput, NC as OmniButton, NE as OneApprovalHistory, Us as OneCalendar, Rs as OneCalendarInternal, Ot as OneDataCollection, l as OneDateNavigator, S as OneEmptyState, Am as OneListItem, km as OneListItemSkeleton, ht as OnePagination, Nm as OnePersonListItem, aW as OneRestrictComponent, FC as Page, kC as PageHeader, cC as PageHeaderNavigationContext, lC as PageHeaderNavigationProvider, ya as PageNavigation, f as PieChart, NF as PieChartWidget, Wt as PrivateBox, en as ProgressBarChart, rU as RECOMMENDED_AGENTIC_HOME_RULES, Ic as RECOMMENDED_MAX_MARKERS, be as RadarChart, Qp as Reactions, wa as RichTextDisplay, te as RichTextEditor, tR as SLOT_ROW_BLEED, pR as SLOT_SKELETON_ITEM_TESTID, oW as ScrollArea, _E as SearchBar, i as SectionHeader, sc as Select, ln as Shortcut, SE as Sidebar, vw as SidebarChatBlankState, Ew as SidebarChatItem, bw as SidebarChatItemSkeleton, Iw as SidebarChatList, Sw as SidebarChatListSkeleton, GC as SidebarChatProvider, nw as SidebarCollapsibleSection, oT as SidebarFooter, cT as SidebarHeader, xT as SidebarPanelHeader, gw as SidebarTabPanel, uw as SidebarTabPanelSearch, TE as SidebarTabs, aT as SidebarUserMenu, RR as SlotWidget, LR as SlotWidgetContent, As as Spinner, hF as Split, mF as Stack, FF as SummariesWidget, ic as Switch, po as Tabs, ra as TabsSkeleton, KI as TasksList, ye as Textarea, Ao as ToggleGroup, $i as ToggleGroupItem, jn as Tooltip, Nn as TooltipGroup, fI as TwoColumnsList, ce as UPLOAD_INPUT_ID, v as VerticalBarChart, PF as VerticalBarChartWidget, Nf as VirtualList, Bs as WeekStartDay, yo as Weekdays, nW as Widget, eI as WidgetAvatarsListItem, pU as WidgetCatalog, iW as WidgetEmptyState, YF as WidgetHighlightButton, cI as WidgetInboxList, rI as WidgetInboxListItem, xL as WidgetSection, uI as WidgetSimpleList, oI as WidgetSimpleListItem, tW as WidgetStrip, Rt as actionBarStatuses, wu as aiCalloutStatuses, Id as attendeesDisplays, Og as buildTiles, Ae as buttonToggleColors, Le as buttonToggleSizes, de as buttonToggleVariants, nm as calendarEventVariants, hc as chipVariants, Jl as coachmarks, xD as commandActionRisks, ym as communityPostCardVariants, td as confettiPalette, Bb as createMeetingSignalStore, Gc as defaultMapStyle, SR as defaultSlotRenderers, xR as defaultSlotSkeleton, $l as defineStepByStepCoachmarkGuidance, Ke as downloadAsCSV, VE as downloadAsExcel, UD as f0ChatSenderColors, hu as f0EmojiPickerSizes, ei as f0FileItemSizes, Oc as f0MapMarkerVariants, Jc as f0MapStyles, Lg as f0MeetingConnectionQualities, Vg as f0MeetingCoreActionIds, Fg as f0MeetingDisconnectReasons, Ig as f0MeetingPermissions, Ng as f0MeetingPresences, Pg as f0MeetingStatuses, Rg as f0MeetingSurfaceDestinations, zg as f0MeetingSurfaceModes, Mg as f0MeetingTrackKinds, Hl as f0ProgressSeriesColors, Vl as f0ProgressSeriesSizes, Bg as f0WindowCorners, YL as fromParams, Xe as generateCSVContent, xe as getAutoPerPageMinHeight, fc as getGranularityDefinition, Hs as getGranularityDefinitions, _c as getGranularitySimpleDefinition, Vc as googleMapStyles, Pc as googlePinlessMapStyles, lc as granularityDefinitions, qL as homeSlot, Oa as isPossiblePhoneValue, qD as isPost, WD as isSystemMessage, KD as isUserMessage, Yi as isValidPhoneValue, Ab as layoutGrid, g as listIconColors, iR as listMoreButtonClass, JL as listSlot, up as locationInputSizes, dp as locationParts, Ay as matchDevice, Fd as meetingStates, Vo as modules, Yg as nearestCorner, Em as oneListItemRowClassName, fp as phoneInputSizes, Jg as placementFromRect, Pe as predefinedPresets, Bd as pulseDotVariants, $L as railActionTones, oc as rangeSeparator, wy as readMeetingMediaPreferences, Nb as reorderForSpeakers, Vd as resizableDirections, vb as resolveAutoFocus, rc as resolveGranularityDefinition, qg as resolvePlacement, WL as resolveSlotRenderer, XL as resolveWidgetHeader, Th as sanitizeMeetingReaction, FE as seedFromStorage, D as selectSizes, Ce as selectVariants, Xg as settlePlacement, nR as slotRowBleed, kb as solveGrid, Pb as solveSpotlight, Tf as swipeDirections, jg as tileAspectRatio, Eg as tileKey, Ty as updateMeetingMediaPreferences, ou as useAiPromotionChat, BD as useCommandPalette, Vp as useCompactOnScroll, ud as useConfetti, re as useDataCollectionData, IE as useDataCollectionItemNavigation, he as useDataCollectionSource, Ht as useExportAction, _l as useF0Chat, Ym as useF0Meeting, Zm as useF0MeetingRoster, Xm as useF0MeetingStable, Jm as useHasF0Meeting, o as useInfiniteScrollPagination, mL as useIsBulkChange, Ey as useMeetingMediaPreferences, Wb as useMeetingSignal, Gb as useMeetingSpeakers, m_ as useMeetingSurface, h_ as useMeetingSurfaceOptional, dC as usePageHeaderItemNavigation, uC as usePageHeaderNavigation, Mi as useSidePanel, Dc as useSidebar, YC as useSidebarChatActions, JC as useSidebarChats, wf as useSwipeDeck, eh as useTrackBinding, r as useWidgetIsWide, kS as viewportRect, eR as widgetChrome, QL as widgetParamsAreComplete, ZL as widgetTitle };
26397
+ export { aU as AGENTIC_HOME_SPEC_VERSION, p as AUTO_PER_PAGE_MAX, tn as AUTO_PER_PAGE_MIN_RESERVED_ROWS, Bp as ActivityItemList, zp as ActivityItemListSkeleton, pu as AiPromotionChat, mu as AiPromotionChatProvider, BS as ApplicationFrame, Zt as AreaChart, AF as AreaChartWidget, gF as AutoGrid, Ko as Badge, on as BarChart, jF as BarChartWidget, Rp as BaseActivityItemList, ot as BaseBanner, Kp as BaseCelebration, lm as BaseCommunityPost, Za as BaseTabs, Ra as BreadcrumbSelect, sC as Breadcrumbs, im as CalendarEvent, KF as CalendarEventList, n as CardSelectableContainer, lt as Carousel, We as CategoryBarChart, pI as CategoryBarSection, Jp as Celebration, qp as CelebrationSkeleton, UF as ChartWidgetEmptyState, hs as Chip, HI as ClockInControls, Ut as CoachmarkProvider, rn as ComboChart, dm as CommunityPost, bm as CommunityPostCard, um as CommunityPostSkeleton, eT as CompanySelector, kn as Counter, pR as DEFAULT_EXPECTED_ITEMS_COUNT, eW as Dashboard, QS as DaytimePage, Ui as DetailsItem, ga as DetailsItemsList, Xt as Dialog, bo as Dropdown, oR as EVENT_LIST_GAP, ap as EntitySelect, Tt as F0ActionBar, tU as F0AgenticHome, rU as F0AgenticHomeBlock, pe as F0AiBanner, Ku as F0AiCallout, qo as F0AvatarColor, Uo as F0AvatarColorList, zo as F0AvatarModule, gc as F0ButtonToggle, ed as F0Callout, ti as F0CardHorizontal, ti as F0CardRow, of as F0CarouselDialog, ZP as F0Chat, UO as F0ChatHistoryLimitCard, rl as F0ChatProvider, HD as F0CommandPaletteProvider, Tm as F0CommunityPostsCarousel, fd as F0Confetti, iF as F0ENPSButton, Cu as F0EmojiPicker, br as F0FileItem, Me as F0FormEditableTable, He as F0LocationInput, Yc as F0Map, Hc as F0MapControls, Ac as F0MapList, kc as F0MapSidebar, Uc as F0MapSidebarToggle, Kc as F0MapSkeleton, mS as F0Meeting, Pd as F0MeetingCard, qm as F0MeetingProvider, Xx as F0MeetingRoom, hS as F0MeetingSlot, pS as F0MeetingSurface, an as F0NotesTextEditor, Ue as F0NotesTextEditorSkeleton, m as F0NumberInput, _ as F0NumberInputInline, Do as F0PersonCard, ft as F0PhoneInput, gE as F0PrimarySidebar, pc as F0ProgressSeries, zd as F0PulseDot, nf as F0Resizable, ze as F0ResourceHeader, ze as ResourceHeader, Ka as F0RichTextDisplay, pt as F0RichTextEditor, $s as F0SearchInput, yE as F0SecondarySidebar, cf as F0SegmentedBar, Qe as F0SegmentedControl, yf as F0SwipeDeck, Lt as F0TableOfContent, Op as F0TemplateTextInput, $t as F0TextAreaInput, d as F0TextAreaInputInline, Ur as F0TextInput, ge as F0TextInputInline, jf as F0Timeline, kf as F0VersionHistory, VO as F0_CHAT_HEADER_TITLE_SELECTOR, Gs as F1SearchBox, ie as FILE_TYPES, Fa as FileItem, Yp as HighlightBanner, gL as HomeSlotItem, hL as HomeSlotItems, ZF as IndicatorsList, Ii as Input, Ve as Item, ut as ItemSectionHeader, JD as LATEST, KL as LIST_COMPACT_AFTER, iR as LIST_MORE_BUTTON_CLASS, _e as LineChart, MF as LineChartWidget, OS as MeetingNotes, _S as MeetingPanelContent, DS as MeetingParticipants, yS as MeetingRoomChat, Nx as MeetingSidePanel, p_ as MeetingSurfaceProvider, SS as MeetingTranscript, vT as Menu, jo as MobileDropdown, Fz as NewHomeLayout, nn as NotesTextEditor, R as NotesTextEditorSkeleton, L as NumberInput, NC as OmniButton, NE as OneApprovalHistory, Us as OneCalendar, Rs as OneCalendarInternal, Ot as OneDataCollection, l as OneDateNavigator, S as OneEmptyState, Am as OneListItem, km as OneListItemSkeleton, ht as OnePagination, Nm as OnePersonListItem, oW as OneRestrictComponent, FC as Page, kC as PageHeader, cC as PageHeaderNavigationContext, lC as PageHeaderNavigationProvider, ya as PageNavigation, f as PieChart, NF as PieChartWidget, Wt as PrivateBox, en as ProgressBarChart, iU as RECOMMENDED_AGENTIC_HOME_RULES, Ic as RECOMMENDED_MAX_MARKERS, be as RadarChart, Qp as Reactions, wa as RichTextDisplay, te as RichTextEditor, nR as SLOT_ROW_BLEED, mR as SLOT_SKELETON_ITEM_TESTID, sW as ScrollArea, _E as SearchBar, i as SectionHeader, sc as Select, ln as Shortcut, SE as Sidebar, vw as SidebarChatBlankState, Ew as SidebarChatItem, bw as SidebarChatItemSkeleton, Iw as SidebarChatList, Sw as SidebarChatListSkeleton, GC as SidebarChatProvider, nw as SidebarCollapsibleSection, oT as SidebarFooter, cT as SidebarHeader, xT as SidebarPanelHeader, gw as SidebarTabPanel, uw as SidebarTabPanelSearch, TE as SidebarTabs, aT as SidebarUserMenu, zR as SlotWidget, RR as SlotWidgetContent, As as Spinner, hF as Split, mF as Stack, FF as SummariesWidget, ic as Switch, po as Tabs, ra as TabsSkeleton, KI as TasksList, ye as Textarea, Ao as ToggleGroup, $i as ToggleGroupItem, jn as Tooltip, Nn as TooltipGroup, fI as TwoColumnsList, ce as UPLOAD_INPUT_ID, v as VerticalBarChart, PF as VerticalBarChartWidget, Nf as VirtualList, Bs as WeekStartDay, yo as Weekdays, rW as Widget, eI as WidgetAvatarsListItem, mU as WidgetCatalog, aW as WidgetEmptyState, YF as WidgetHighlightButton, cI as WidgetInboxList, rI as WidgetInboxListItem, xL as WidgetSection, uI as WidgetSimpleList, oI as WidgetSimpleListItem, nW as WidgetStrip, Rt as actionBarStatuses, wu as aiCalloutStatuses, Id as attendeesDisplays, Og as buildTiles, Ae as buttonToggleColors, Le as buttonToggleSizes, de as buttonToggleVariants, nm as calendarEventVariants, hc as chipVariants, Jl as coachmarks, xD as commandActionRisks, ym as communityPostCardVariants, td as confettiPalette, Bb as createMeetingSignalStore, Gc as defaultMapStyle, CR as defaultSlotRenderers, SR as defaultSlotSkeleton, $l as defineStepByStepCoachmarkGuidance, Ke as downloadAsCSV, VE as downloadAsExcel, UD as f0ChatSenderColors, hu as f0EmojiPickerSizes, ei as f0FileItemSizes, Oc as f0MapMarkerVariants, Jc as f0MapStyles, Lg as f0MeetingConnectionQualities, Vg as f0MeetingCoreActionIds, Fg as f0MeetingDisconnectReasons, Ig as f0MeetingPermissions, Ng as f0MeetingPresences, Pg as f0MeetingStatuses, Rg as f0MeetingSurfaceDestinations, zg as f0MeetingSurfaceModes, Mg as f0MeetingTrackKinds, Hl as f0ProgressSeriesColors, Vl as f0ProgressSeriesSizes, Bg as f0WindowCorners, XL as fromParams, Xe as generateCSVContent, xe as getAutoPerPageMinHeight, fc as getGranularityDefinition, Hs as getGranularityDefinitions, _c as getGranularitySimpleDefinition, Vc as googleMapStyles, Pc as googlePinlessMapStyles, lc as granularityDefinitions, JL as homeSlot, Oa as isPossiblePhoneValue, qD as isPost, WD as isSystemMessage, KD as isUserMessage, Yi as isValidPhoneValue, Ab as layoutGrid, g as listIconColors, aR as listMoreButtonClass, YL as listSlot, up as locationInputSizes, dp as locationParts, Ay as matchDevice, Fd as meetingStates, Vo as modules, Yg as nearestCorner, Em as oneListItemRowClassName, fp as phoneInputSizes, Jg as placementFromRect, Pe as predefinedPresets, Bd as pulseDotVariants, eR as railActionTones, oc as rangeSeparator, wy as readMeetingMediaPreferences, Nb as reorderForSpeakers, Vd as resizableDirections, vb as resolveAutoFocus, rc as resolveGranularityDefinition, qg as resolvePlacement, GL as resolveSlotRenderer, ZL as resolveWidgetHeader, Th as sanitizeMeetingReaction, FE as seedFromStorage, D as selectSizes, Ce as selectVariants, Xg as settlePlacement, rR as slotRowBleed, kb as solveGrid, Pb as solveSpotlight, Tf as swipeDirections, jg as tileAspectRatio, Eg as tileKey, Ty as updateMeetingMediaPreferences, ou as useAiPromotionChat, BD as useCommandPalette, Vp as useCompactOnScroll, ud as useConfetti, re as useDataCollectionData, IE as useDataCollectionItemNavigation, he as useDataCollectionSource, Ht as useExportAction, _l as useF0Chat, Ym as useF0Meeting, Zm as useF0MeetingRoster, Xm as useF0MeetingStable, Jm as useHasF0Meeting, o as useInfiniteScrollPagination, mL as useIsBulkChange, Ey as useMeetingMediaPreferences, Wb as useMeetingSignal, Gb as useMeetingSpeakers, m_ as useMeetingSurface, h_ as useMeetingSurfaceOptional, dC as usePageHeaderItemNavigation, uC as usePageHeaderNavigation, Mi as useSidePanel, Dc as useSidebar, YC as useSidebarChatActions, JC as useSidebarChats, wf as useSwipeDeck, eh as useTrackBinding, r as useWidgetIsWide, kS as viewportRect, tR as widgetChrome, $L as widgetParamsAreComplete, QL as widgetTitle };