@factorialco/f0-react 12.19.0 → 12.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/dist/{ArchiveThumbnail-C6VAmA8m.js → ArchiveThumbnail-B3rbpXVF.js} +1 -1
  2. package/dist/{ArchiveViewer-BazW1aiB.js → ArchiveViewer-e1fxWtqq.js} +2 -2
  3. package/dist/{ChatPostComposerDialog-B0y-__Ze.js → ChatPostComposerDialog-B7KUyMhn.js} +2 -2
  4. package/dist/{CoachmarkProvider-DLRXLziQ.js → CoachmarkProvider-CPaXTd-j.js} +258 -246
  5. package/dist/{CodeThumbnail-CWieoY1L.js → CodeThumbnail-Y5t2jitc.js} +1 -1
  6. package/dist/{CodeViewer-TxnjmBpq.js → CodeViewer-CVZL3m1j.js} +3 -3
  7. package/dist/{DocumentToolbar-DahGBwqk.js → DocumentToolbar-BxucP3u-.js} +1 -1
  8. package/dist/{DocxViewer-D0Y18q6_.js → DocxViewer-BkcBPKQ9.js} +1 -1
  9. package/dist/{F0AiProcessingOverlay-ohDfa0Py.js → F0AiProcessingOverlay-CBkyL1_h.js} +52 -52
  10. package/dist/{F0Alert-jXXSuKRF.js → F0Alert-Rklc_Vxl.js} +1 -1
  11. package/dist/F0AudioPlayer-C4597ZNk.js +2 -0
  12. package/dist/{F0CanvasPanel-CnonRuvY.js → F0CanvasPanel-BuTcey0-.js} +8 -8
  13. package/dist/{F0DocumentViewer-D7haXuNZ.js → F0DocumentViewer-BofWB9ez.js} +1 -1
  14. package/dist/{F0DocumentViewer-Dg4NWXCa.js → F0DocumentViewer-DMutXRO1.js} +2 -2
  15. package/dist/{F0Map-BDieutRV.js → F0Map-moAdMP9K.js} +3 -3
  16. package/dist/{F0VideoPlayer-qlCZpqK5.js → F0VideoPlayer-BF6JEDD9.js} +1 -1
  17. package/dist/F0VideoPlayer-DT-pLuut.js +1 -0
  18. package/dist/{HtmlViewer-CcIgTEz4.js → HtmlViewer-GGtMSGvj.js} +3 -3
  19. package/dist/{Map-Bcgnkg1N.js → Map-1iG6fqM7.js} +3 -3
  20. package/dist/{PdfThumbnail-Bb_lyqOG.js → PdfThumbnail-DXCNIgMo.js} +1 -1
  21. package/dist/{PdfViewer-D6cxjRu6.js → PdfViewer-BFbpiCYO.js} +2 -2
  22. package/dist/{SheetViewer-BYBFxR76.js → SheetViewer-DkxEJy-a.js} +2 -2
  23. package/dist/{TextViewer-BnG61rah.js → TextViewer-C-ciXmbv.js} +1 -1
  24. package/dist/ai.d.ts +2 -2
  25. package/dist/ai.js +2 -2
  26. package/dist/component-status.js +16 -16
  27. package/dist/experimental.d.ts +5 -5
  28. package/dist/experimental.js +6 -6
  29. package/dist/{exports-C7jMRUms.d.ts → exports-uEdbdS0t.d.ts} +32 -32
  30. package/dist/f0.d.ts +3 -3
  31. package/dist/f0.js +6 -6
  32. package/dist/{highlight-pN8V_hHA.js → highlight-CLTEoOBu.js} +1 -1
  33. package/dist/{index-DhHqqZvu.d.ts → index-CeS2Wdhj.d.ts} +21 -21
  34. package/dist/{maplibre-BpImIhom.js → maplibre-53AFhR3J.js} +1 -1
  35. package/dist/{pdfWorker-BnuMhHAU.js → pdfWorker-CbtWjaTA.js} +1 -1
  36. package/dist/{types-zDD6DPqU.d.ts → types-BY2VUBWt.d.ts} +10 -1
  37. package/package.json +1 -1
  38. package/dist/F0AudioPlayer-CH1sHdho.js +0 -2
  39. package/dist/F0VideoPlayer-BOMjuJ6J.js +0 -1
@@ -1,5 +1,5 @@
1
1
  import { L as e } from "./tooltip-BX4dSfeL.js";
2
- import { i as t, t as n } from "./highlight-pN8V_hHA.js";
2
+ import { i as t, t as n } from "./highlight-CLTEoOBu.js";
3
3
  import { t as r } from "./useThumbnailText-DwXQvLIe.js";
4
4
  import { useEffect as i, useState as a } from "react";
5
5
  import { jsx as o } from "react/jsx-runtime";
@@ -1,11 +1,11 @@
1
1
  import { r as e } from "./i18n-provider-Bdgo-LeP.js";
2
2
  import { t } from "./skeleton-AC0Fb8zj.js";
3
3
  import { L as n } from "./tooltip-BX4dSfeL.js";
4
- import { Pc as r, Rr as i } from "./F0CanvasPanel-CnonRuvY.js";
4
+ import { Pc as r, Rr as i } from "./F0CanvasPanel-BuTcey0-.js";
5
5
  import { St as a } from "./F0Select-CvMv06GW.js";
6
6
  import { t as o } from "./purify.es-ZpfdAuNV.js";
7
- import { n as s, t as c } from "./DocumentToolbar-DahGBwqk.js";
8
- import { a as l, i as u, n as d, o as f, r as p, t as m } from "./highlight-pN8V_hHA.js";
7
+ import { n as s, t as c } from "./DocumentToolbar-BxucP3u-.js";
8
+ import { a as l, i as u, n as d, o as f, r as p, t as m } from "./highlight-CLTEoOBu.js";
9
9
  import { t as h } from "./useFetchedText-BR3_KLXx.js";
10
10
  import { useEffect as g, useMemo as _, useState as v } from "react";
11
11
  import { Fragment as y, jsx as b, jsxs as x } from "react/jsx-runtime";
@@ -1,5 +1,5 @@
1
1
  import { r as e } from "./i18n-provider-Bdgo-LeP.js";
2
- import { ac as t } from "./F0CanvasPanel-CnonRuvY.js";
2
+ import { ac as t } from "./F0CanvasPanel-BuTcey0-.js";
3
3
  import { z as n } from "./useData-BYkiGUHX.js";
4
4
  import { cr as r, t as i } from "./F0Select-CvMv06GW.js";
5
5
  import { a, c as o, n as s, o as c, r as l, s as u, t as d } from "./toolbarStyles-lTj_42zD.js";
@@ -1,6 +1,6 @@
1
1
  import { r as e } from "./i18n-provider-Bdgo-LeP.js";
2
2
  import { t } from "./skeleton-AC0Fb8zj.js";
3
- import { n, t as r } from "./DocumentToolbar-DahGBwqk.js";
3
+ import { n, t as r } from "./DocumentToolbar-BxucP3u-.js";
4
4
  import { t as i } from "./renderDocx-BW-uDyaZ.js";
5
5
  import { useEffect as a, useRef as o, useState as s } from "react";
6
6
  import { jsx as c, jsxs as l } from "react/jsx-runtime";
@@ -2,7 +2,7 @@ import { a as e, r as t } from "./i18n-provider-Bdgo-LeP.js";
2
2
  import { n, t as r } from "./skeleton-AC0Fb8zj.js";
3
3
  import { L as i, R as a } from "./tooltip-BX4dSfeL.js";
4
4
  import { R as o, T as s, U as c, h as l, n as u, r as d, t as f, wt as p, y as m } from "./F0Button-d91IgOnc.js";
5
- import { $ as h, $o as g, $t as _, A as v, At as y, B as b, C as x, Ct as S, Ds as C, Fo as w, G as T, Go as E, Gt as D, H as O, Hc as ee, Io as k, K as A, Ka as j, Kt as M, Lt as N, M as P, Mc as F, Ms as te, Mt as ne, Ni as re, No as I, Nt as ie, O as L, Ot as R, Po as ae, Pt as oe, Rr as se, Rt as ce, S as le, So as ue, St as de, Tr as fe, Tt as pe, U as me, V as he, Vc as ge, Vt as _e, W as ve, Wt as ye, X as be, Xt as xe, Yo as Se, Z as Ce, Za as we, Zo as Te, Zt as Ee, _i as De, _t as Oe, a as ke, ac as z, b as Ae, bs as je, bt as Me, co as Ne, cs as Pe, es as Fe, g as Ie, gi as Le, gt as Re, h as ze, hi as Be, hs as Ve, in as He, j as Ue, ji as We, k as Ge, ki as Ke, ko as qe, kr as Je, lc as Ye, ln as Xe, m as Ze, mi as Qe, nt as $e, q as et, qa as tt, qt as nt, r as rt, rt as it, si as at, tt as B, uc as ot, ut as st, va as ct, vo as lt, vs as ut, x as dt, y as ft, yr as pt, yt as mt, zr as ht } from "./F0CanvasPanel-CnonRuvY.js";
5
+ import { $ as h, $o as g, $t as _, A as v, At as y, B as b, C as x, Ct as S, Ds as C, Fo as w, G as T, Go as E, Gt as D, H as O, Hc as ee, Io as k, K as A, Ka as j, Kt as M, Lt as N, M as P, Mc as F, Ms as te, Mt as ne, Ni as re, No as I, Nt as ie, O as L, Ot as R, Po as ae, Pt as oe, Rr as se, Rt as ce, S as le, So as ue, St as de, Tr as fe, Tt as pe, U as me, V as he, Vc as ge, Vt as _e, W as ve, Wt as ye, X as be, Xt as xe, Yo as Se, Z as Ce, Za as we, Zo as Te, Zt as Ee, _i as De, _t as Oe, a as ke, ac as z, b as Ae, bs as je, bt as Me, co as Ne, cs as Pe, es as Fe, g as Ie, gi as Le, gt as Re, h as ze, hi as Be, hs as Ve, in as He, j as Ue, ji as We, k as Ge, ki as Ke, ko as qe, kr as Je, lc as Ye, ln as Xe, m as Ze, mi as Qe, nt as $e, q as et, qa as tt, qt as nt, r as rt, rt as it, si as at, tt as B, uc as ot, ut as st, va as ct, vo as lt, vs as ut, x as dt, y as ft, yr as pt, yt as mt, zr as ht } from "./F0CanvasPanel-BuTcey0-.js";
6
6
  import { o as gt, t as V } from "./F0Icon-DmCBV0gK.js";
7
7
  import { t as _t } from "./i18n-provider-defaults-B9vdZZeS.js";
8
8
  import { C as vt, H as yt, I as bt, N as xt, U as St, b as Ct, g as wt, h as Tt, k as Et, l as Dt, m as Ot } from "./useData-BYkiGUHX.js";
@@ -43,7 +43,7 @@ function yn(e, t) {
43
43
  return a + gn(e.slice(o, r));
44
44
  }
45
45
  //#endregion
46
- //#region src/addons/ai/ai/F0AiChat/hooks/useRevealOnChange.ts
46
+ //#region src/addons/ai/F0AiChat/hooks/useRevealOnChange.ts
47
47
  function bn(e, t, n = .2) {
48
48
  let r = l(), [i, a] = q(!0), o = K(e);
49
49
  return m(() => {
@@ -67,7 +67,7 @@ function bn(e, t, n = .2) {
67
67
  };
68
68
  }
69
69
  //#endregion
70
- //#region src/addons/ai/ai/F0AiChatUsageLimits/components/UsageRing.tsx
70
+ //#region src/addons/ai/F0AiChatUsageLimits/components/UsageRing.tsx
71
71
  var xn = 14, Sn = 2.31, Cn = ({ percentage: e, tone: t }) => {
72
72
  let n = xn / 2, r = n - Sn / 2, a = 2 * Math.PI * r, o = (100 - (t === "unlimited" ? 100 : e)) / 100 * a;
73
73
  return /* @__PURE__ */ Y("svg", {
@@ -479,7 +479,7 @@ function Rn(e = 24) {
479
479
  };
480
480
  }
481
481
  //#endregion
482
- //#region src/addons/ai/ai/F0AiChatTextArea/components/WelcomeScreenSuggestionsRow.tsx
482
+ //#region src/addons/ai/F0AiChatTextArea/components/WelcomeScreenSuggestionsRow.tsx
483
483
  var zn = 5, Bn = 46, Vn = 400, Hn = 16, Un = 16;
484
484
  function Wn(e, t = zn) {
485
485
  return e.length <= t ? e : [...e].sort(() => .5 - Math.random()).slice(0, t);
@@ -610,7 +610,7 @@ function Kn({ item: e, onSelect: t, onHover: n }) {
610
610
  });
611
611
  }
612
612
  //#endregion
613
- //#region src/addons/ai/ai/F0AiChatTextArea/mentions/useMentionSources.ts
613
+ //#region src/addons/ai/F0AiChatTextArea/mentions/useMentionSources.ts
614
614
  function qn(e, t) {
615
615
  return {
616
616
  type: "person",
@@ -641,7 +641,7 @@ function Jn({ searchPersons: e, mentionSources: n }) {
641
641
  ]);
642
642
  }
643
643
  //#endregion
644
- //#region src/addons/ai/ai/F0AiChatTextArea/file-utils.ts
644
+ //#region src/addons/ai/F0AiChatTextArea/file-utils.ts
645
645
  function Yn(e, t) {
646
646
  if (t === "*/*") return !0;
647
647
  if (t.endsWith("/*")) {
@@ -656,7 +656,7 @@ function Xn(e, t) {
656
656
  return n.length === 0 ? e : e.filter((e) => n.some((t) => Yn(e.type, t)));
657
657
  }
658
658
  //#endregion
659
- //#region src/addons/ai/ai/F0AiChatTextArea/useFileAttachments.ts
659
+ //#region src/addons/ai/F0AiChatTextArea/useFileAttachments.ts
660
660
  var Zn = 4e3;
661
661
  function Qn(e) {
662
662
  let [n, r] = q([]), [i, a] = q(null), o = K(null), s = K(null), c = t(), l = e?.onUploadFiles, u = e?.allowedMimeTypes, d = e?.maxFiles, f = G(() => {
@@ -740,7 +740,7 @@ function Qn(e) {
740
740
  };
741
741
  }
742
742
  //#endregion
743
- //#region src/addons/ai/ai/F0AiChatTextArea/AiChatComposer.tsx
743
+ //#region src/addons/ai/F0AiChatTextArea/AiChatComposer.tsx
744
744
  var $n = ({ onSubmit: e, onStop: n, inProgress: r, onBeforeSubmit: a, placeholders: s, creditWarning: u, clarifyingUI: f, pendingContext: m = null, onPendingContextChange: h, pendingQuote: g = null, onPendingQuoteChange: v, fileAttachments: y, toolbarStart: b, composerActions: x, onComposerActionsOpenChange: S, onTranscribe: C, searchPersons: w, mentionSources: T, onProcessFilesRef: E, disclaimer: D, usageLimits: O, footer: ee, isWelcomeScreen: k = !1, fullscreen: A = !1, welcomeScreenSuggestions: j, onSuggestionClick: M, welcomeScreenSuggestionsPlacement: N = "above", welcomeScreenSuggestionsCollapsedByDefault: P = !1, welcomeScreenCards: F, padding: te = "default", name: ne, ref: re }) => {
745
745
  let I = t(), ie = l(), L = !!ie, R = K(null), [ae, oe] = q(null), [se, ce] = q(!1), [le, ue] = q({
746
746
  isEmpty: !0,
@@ -1018,7 +1018,7 @@ var $n = ({ onSubmit: e, onStop: n, inProgress: r, onBeforeSubmit: a, placeholde
1018
1018
  name: "one-ai-input"
1019
1019
  });
1020
1020
  //#endregion
1021
- //#region src/addons/ai/ai/F0AiChat/components/markdownRenderers/components/Block.tsx
1021
+ //#region src/addons/ai/F0AiChat/components/markdownRenderers/components/Block.tsx
1022
1022
  function tr({ children: e, ...t }) {
1023
1023
  return /* @__PURE__ */ J("pre", {
1024
1024
  ...t,
@@ -1047,7 +1047,7 @@ function ir({ ...e }) {
1047
1047
  });
1048
1048
  }
1049
1049
  //#endregion
1050
- //#region src/addons/ai/ai/F0AiChat/components/markdownRenderers/components/Image.tsx
1050
+ //#region src/addons/ai/F0AiChat/components/markdownRenderers/components/Image.tsx
1051
1051
  function ar({ src: e, alt: n, ...r }) {
1052
1052
  let o = t(), s = ye(), c = D(), l = nt(e || void 0), [u, d] = q(!1), [p, m] = q(!1), h = n || (e ? R(e) : "") || "image";
1053
1053
  if (!e || u || l.status === "error") return n ? /* @__PURE__ */ J("span", {
@@ -1089,7 +1089,7 @@ function ar({ src: e, alt: n, ...r }) {
1089
1089
  });
1090
1090
  }
1091
1091
  //#endregion
1092
- //#region src/addons/ai/ai/F0AiChat/components/markdownRenderers/components/Link.tsx
1092
+ //#region src/addons/ai/F0AiChat/components/markdownRenderers/components/Link.tsx
1093
1093
  function or({ children: e, ...t }) {
1094
1094
  return /* @__PURE__ */ J(De, {
1095
1095
  ...t,
@@ -1099,7 +1099,7 @@ function or({ children: e, ...t }) {
1099
1099
  });
1100
1100
  }
1101
1101
  //#endregion
1102
- //#region src/addons/ai/ai/F0AiChat/components/markdownRenderers/components/Lists.tsx
1102
+ //#region src/addons/ai/F0AiChat/components/markdownRenderers/components/Lists.tsx
1103
1103
  function sr({ children: e, ...t }) {
1104
1104
  return /* @__PURE__ */ J("ul", {
1105
1105
  ...t,
@@ -1122,7 +1122,7 @@ function lr({ children: e, ...t }) {
1122
1122
  });
1123
1123
  }
1124
1124
  //#endregion
1125
- //#region src/addons/ai/ai/F0AiChat/components/markdownRenderers/entityRef/components/EntityRefHoverCard.tsx
1125
+ //#region src/addons/ai/F0AiChat/components/markdownRenderers/entityRef/components/EntityRefHoverCard.tsx
1126
1126
  function ur({ id: e, trigger: t, resolver: n, contentClassName: r = "w-64", ...a }) {
1127
1127
  let o = K(/* @__PURE__ */ new Map()), [s, c] = q(() => o.current.get(e) ?? null), [l, u] = q(!1), [d, f] = q(!1), p = K(!0);
1128
1128
  W(() => () => {
@@ -1162,7 +1162,7 @@ function ur({ id: e, trigger: t, resolver: n, contentClassName: r = "w-64", ...a
1162
1162
  });
1163
1163
  }
1164
1164
  //#endregion
1165
- //#region src/addons/ai/ai/F0AiChat/components/markdownRenderers/entityRef/components/MentionTrigger.tsx
1165
+ //#region src/addons/ai/F0AiChat/components/markdownRenderers/entityRef/components/MentionTrigger.tsx
1166
1166
  var dr = H(({ label: e, ...t }, n) => /* @__PURE__ */ Y("button", {
1167
1167
  ref: n,
1168
1168
  type: "button",
@@ -1172,7 +1172,7 @@ var dr = H(({ label: e, ...t }, n) => /* @__PURE__ */ Y("button", {
1172
1172
  }));
1173
1173
  dr.displayName = "MentionTrigger";
1174
1174
  //#endregion
1175
- //#region src/addons/ai/ai/F0AiChat/components/markdownRenderers/entityRef/entities/custom/CustomEntityRef.tsx
1175
+ //#region src/addons/ai/F0AiChat/components/markdownRenderers/entityRef/entities/custom/CustomEntityRef.tsx
1176
1176
  function fr({ id: e, label: n, config: r }) {
1177
1177
  let i = t(), { resolve: a, avatar: o, url: s } = r, c = s?.(e), l = U((e) => ({
1178
1178
  ...e,
@@ -1195,7 +1195,7 @@ function fr({ id: e, label: n, config: r }) {
1195
1195
  });
1196
1196
  }
1197
1197
  //#endregion
1198
- //#region src/addons/ai/ai/F0AiChat/components/markdownRenderers/entityRef/entities/candidate/CandidateEntityRef.tsx
1198
+ //#region src/addons/ai/F0AiChat/components/markdownRenderers/entityRef/entities/candidate/CandidateEntityRef.tsx
1199
1199
  var pr = H(({ label: e, ...t }, n) => /* @__PURE__ */ J("button", {
1200
1200
  ref: n,
1201
1201
  type: "button",
@@ -1259,7 +1259,7 @@ function mr({ id: e, label: n }) {
1259
1259
  }) : /* @__PURE__ */ J("span", { children: n });
1260
1260
  }
1261
1261
  //#endregion
1262
- //#region src/addons/ai/ai/F0AiChat/components/markdownRenderers/entityRef/entities/expense/ExpenseEntityRef.tsx
1262
+ //#region src/addons/ai/F0AiChat/components/markdownRenderers/entityRef/entities/expense/ExpenseEntityRef.tsx
1263
1263
  var hr = H(({ label: e, ...t }, n) => /* @__PURE__ */ J("button", {
1264
1264
  ref: n,
1265
1265
  type: "button",
@@ -1300,7 +1300,7 @@ function gr({ id: e, label: n }) {
1300
1300
  }) : /* @__PURE__ */ J("span", { children: n });
1301
1301
  }
1302
1302
  //#endregion
1303
- //#region src/addons/ai/ai/F0AiChat/components/markdownRenderers/entityRef/entities/jobPosting/JobPostingEntityRef.tsx
1303
+ //#region src/addons/ai/F0AiChat/components/markdownRenderers/entityRef/entities/jobPosting/JobPostingEntityRef.tsx
1304
1304
  var _r = H(({ label: e, ...t }, n) => /* @__PURE__ */ J("button", {
1305
1305
  ref: n,
1306
1306
  type: "button",
@@ -1337,7 +1337,7 @@ function vr({ id: e, label: n }) {
1337
1337
  }) : /* @__PURE__ */ J("span", { children: n });
1338
1338
  }
1339
1339
  //#endregion
1340
- //#region src/addons/ai/ai/F0AiChat/components/markdownRenderers/entityRef/entities/person/PersonEntityRef.tsx
1340
+ //#region src/addons/ai/F0AiChat/components/markdownRenderers/entityRef/entities/person/PersonEntityRef.tsx
1341
1341
  function yr({ id: e, label: t }) {
1342
1342
  let { entityRefs: n } = B(), r = n?.resolvers?.person, i = n?.urls?.person?.(e);
1343
1343
  return r ? /* @__PURE__ */ J(ur, {
@@ -1364,7 +1364,7 @@ function yr({ id: e, label: t }) {
1364
1364
  }) : /* @__PURE__ */ J("span", { children: t });
1365
1365
  }
1366
1366
  //#endregion
1367
- //#region src/addons/ai/ai/F0AiChat/components/markdownRenderers/entityRef/components/EntityRefDetails.tsx
1367
+ //#region src/addons/ai/F0AiChat/components/markdownRenderers/entityRef/components/EntityRefDetails.tsx
1368
1368
  function br({ rows: e }) {
1369
1369
  return e.length === 0 ? null : /* @__PURE__ */ J("div", {
1370
1370
  className: "flex flex-col gap-2",
@@ -1381,7 +1381,7 @@ function br({ rows: e }) {
1381
1381
  });
1382
1382
  }
1383
1383
  //#endregion
1384
- //#region src/addons/ai/ai/F0AiChat/components/markdownRenderers/entityRef/entities/requisition/RequisitionEntityRef.tsx
1384
+ //#region src/addons/ai/F0AiChat/components/markdownRenderers/entityRef/entities/requisition/RequisitionEntityRef.tsx
1385
1385
  var xr = H(({ label: e, ...t }, n) => /* @__PURE__ */ J("button", {
1386
1386
  ref: n,
1387
1387
  type: "button",
@@ -1449,7 +1449,7 @@ function Sr({ id: e, label: n }) {
1449
1449
  }) : /* @__PURE__ */ J("span", { children: n });
1450
1450
  }
1451
1451
  //#endregion
1452
- //#region src/addons/ai/ai/F0AiChat/components/markdownRenderers/entityRef/entities/vacancy/VacancyEntityRef.tsx
1452
+ //#region src/addons/ai/F0AiChat/components/markdownRenderers/entityRef/entities/vacancy/VacancyEntityRef.tsx
1453
1453
  var Cr = H(({ label: e, ...t }, n) => /* @__PURE__ */ J("button", {
1454
1454
  ref: n,
1455
1455
  type: "button",
@@ -1486,7 +1486,7 @@ function wr({ id: e, label: n }) {
1486
1486
  }) : /* @__PURE__ */ J("span", { children: n });
1487
1487
  }
1488
1488
  //#endregion
1489
- //#region src/addons/ai/ai/F0AiChat/components/markdownRenderers/entityRef/components/entityRefRegistry.ts
1489
+ //#region src/addons/ai/F0AiChat/components/markdownRenderers/entityRef/components/entityRefRegistry.ts
1490
1490
  var Tr = /* @__PURE__ */ new Map([
1491
1491
  ["person", yr],
1492
1492
  ["candidate", mr],
@@ -1502,7 +1502,7 @@ function Dr(e, t) {
1502
1502
  return e && Object.prototype.hasOwnProperty.call(e, t) ? e[t] : void 0;
1503
1503
  }
1504
1504
  //#endregion
1505
- //#region src/addons/ai/ai/F0AiChat/components/markdownRenderers/entityRef/components/EntityRef.tsx
1505
+ //#region src/addons/ai/F0AiChat/components/markdownRenderers/entityRef/components/EntityRef.tsx
1506
1506
  function Or(e) {
1507
1507
  return typeof e == "string" ? e : typeof e == "number" ? String(e) : Array.isArray(e) ? e.map(Or).join("") : e && typeof e == "object" && "props" in e ? Or(e.props.children) : "";
1508
1508
  }
@@ -1522,7 +1522,7 @@ function kr({ type: e, id: t, children: n }) {
1522
1522
  }) : /* @__PURE__ */ J("span", { children: n });
1523
1523
  }
1524
1524
  //#endregion
1525
- //#region src/addons/ai/ai/F0AiChat/components/markdownRenderers/components/Table.tsx
1525
+ //#region src/addons/ai/F0AiChat/components/markdownRenderers/components/Table.tsx
1526
1526
  async function Ar(e, t, n) {
1527
1527
  let r = Ue(e), i = t === "xlsx" ? await P([{
1528
1528
  name: "Data",
@@ -1585,7 +1585,7 @@ function Nr({ children: e, ellipsis: t = !1, ...n }) {
1585
1585
  });
1586
1586
  }
1587
1587
  //#endregion
1588
- //#region src/addons/ai/ai/F0AiChat/components/markdownRenderers/components/Typography.tsx
1588
+ //#region src/addons/ai/F0AiChat/components/markdownRenderers/components/Typography.tsx
1589
1589
  function Pr({ children: e, ...t }) {
1590
1590
  return /* @__PURE__ */ J("p", {
1591
1591
  ...t,
@@ -1629,7 +1629,7 @@ function zr({ children: e, ...t }) {
1629
1629
  });
1630
1630
  }
1631
1631
  //#endregion
1632
- //#region src/addons/ai/ai/F0AiChat/components/markdownRenderers/MarkdownRenderers.tsx
1632
+ //#region src/addons/ai/F0AiChat/components/markdownRenderers/MarkdownRenderers.tsx
1633
1633
  var Br = {
1634
1634
  p: Pr,
1635
1635
  h1: Fr,
@@ -1773,7 +1773,7 @@ function ai({ avatar: e, title: t, description: n, isActive: r = !1, action: a,
1773
1773
  }
1774
1774
  ai.displayName = "F0CanvasCard";
1775
1775
  //#endregion
1776
- //#region src/addons/ai/ai/F0AiChat/providers/FormCardValueFormatterProvider.tsx
1776
+ //#region src/addons/ai/F0AiChat/providers/FormCardValueFormatterProvider.tsx
1777
1777
  var oi = en(null);
1778
1778
  function si({ children: e }) {
1779
1779
  let [t, n] = q(0), r = K([]), i = U((e) => {
@@ -1810,7 +1810,7 @@ function li() {
1810
1810
  return e.setFormCardValueFormatter;
1811
1811
  }
1812
1812
  //#endregion
1813
- //#region src/addons/ai/ai/F0AiMessagesContainer/components/FormCard.tsx
1813
+ //#region src/addons/ai/F0AiMessagesContainer/components/FormCard.tsx
1814
1814
  var ui = 7, di = 625, fi = /* @__PURE__ */ new Set();
1815
1815
  function pi(e) {
1816
1816
  return typeof DOMParser < "u" ? new DOMParser().parseFromString(e, "text/html").body.textContent?.replace(/\s+/g, " ").trim() ?? "" : e.replace(/<[^>]*>/g, " ").replace(/\s+/g, " ").trim();
@@ -1953,7 +1953,7 @@ function bi({ formName: e, formDescription: t, module: n, cardTitle: r, cardDesc
1953
1953
  }
1954
1954
  bi.displayName = "FormCard";
1955
1955
  //#endregion
1956
- //#region src/addons/ai/ai/F0AiMessagesContainer/components/ActiveFormCard.tsx
1956
+ //#region src/addons/ai/F0AiMessagesContainer/components/ActiveFormCard.tsx
1957
1957
  function xi() {
1958
1958
  let e = Xe(), t = e?.activeForm;
1959
1959
  if (!t) return null;
@@ -1972,7 +1972,7 @@ function xi() {
1972
1972
  });
1973
1973
  }
1974
1974
  //#endregion
1975
- //#region src/addons/ai/ai/F0AiMessagesContainer/hooks/useScrollAnchor.ts
1975
+ //#region src/addons/ai/F0AiMessagesContainer/hooks/useScrollAnchor.ts
1976
1976
  var Si = $t.settleMs, Ci = 1e3, wi = 2, Ti = "data-ai-anchor", Ei = "data-turn-index", Di = (e) => {
1977
1977
  if (!e) return null;
1978
1978
  let t = e.closest(`[${Ti}]`);
@@ -2045,7 +2045,7 @@ function Ai({ viewportRef: e, contentRef: t }) {
2045
2045
  }, [e, t]);
2046
2046
  }
2047
2047
  //#endregion
2048
- //#region src/addons/ai/ai/F0AiFileAttachments/components/FileCanvasCards.tsx
2048
+ //#region src/addons/ai/F0AiFileAttachments/components/FileCanvasCards.tsx
2049
2049
  var ji = 625, Mi = /* @__PURE__ */ new Set(), Ni = ({ documents: e, onOpenFile: t, onCanvasUnavailable: n }) => {
2050
2050
  let { canvasContent: r, tryOpenCanvas: i, closeCanvas: a, dismissCanvas: o, panelOverlays: s } = B(), c = xe(), l = ti(), u = e.map((e) => e.file), d = (r, { fallback: a = !0 } = {}) => {
2051
2051
  let o = e[r];
@@ -2366,7 +2366,7 @@ function Zi({ containerRef: e, enabled: t = !0 }) {
2366
2366
  };
2367
2367
  }
2368
2368
  //#endregion
2369
- //#region src/addons/ai/ai/F0AiMessagesContainer/components/ReplyPopover.tsx
2369
+ //#region src/addons/ai/F0AiMessagesContainer/components/ReplyPopover.tsx
2370
2370
  var Qi = 8, $i = 8;
2371
2371
  function ea({ anchor: e, onReply: n }) {
2372
2372
  let r = t(), a = K(null), [o, s] = q(null);
@@ -2407,7 +2407,7 @@ function ea({ anchor: e, onReply: n }) {
2407
2407
  }), document.body);
2408
2408
  }
2409
2409
  //#endregion
2410
- //#region src/addons/ai/ai/F0AiMessagesContainer/components/AssistantMessage.tsx
2410
+ //#region src/addons/ai/F0AiMessagesContainer/components/AssistantMessage.tsx
2411
2411
  var ta = en(void 0), na = () => rn(ta), ra = (e) => /* @__PURE__ */ J(ht, {
2412
2412
  content: e,
2413
2413
  format: "markdown"
@@ -2549,7 +2549,7 @@ function la(e) {
2549
2549
  };
2550
2550
  }
2551
2551
  //#endregion
2552
- //#region src/addons/ai/ai/F0AiMessagesContainer/components/feedback/TurnFeedback.tsx
2552
+ //#region src/addons/ai/F0AiMessagesContainer/components/feedback/TurnFeedback.tsx
2553
2553
  var ua = ({ content: e, targetMessage: n, onCopy: r }) => {
2554
2554
  let i = t(), { open: a } = ca(), [o, c] = q(null);
2555
2555
  return /* @__PURE__ */ Y("div", {
@@ -2853,7 +2853,7 @@ var ua = ({ content: e, targetMessage: n, onCopy: r }) => {
2853
2853
  }, [e, t]), n;
2854
2854
  };
2855
2855
  //#endregion
2856
- //#region src/addons/ai/ai/F0AiMessagesContainer/useMessageScroll.ts
2856
+ //#region src/addons/ai/F0AiMessagesContainer/useMessageScroll.ts
2857
2857
  function Oa({ viewportRef: e, contentRef: t, endRef: n, lastTurnRef: r, turnsCount: i, freezeTurnMinHeight: a = !1 }) {
2858
2858
  let [o, s] = q(0), [c, l] = q(!1), u = K(i), d = K(a);
2859
2859
  d.current = a;
@@ -2902,7 +2902,7 @@ function Oa({ viewportRef: e, contentRef: t, endRef: n, lastTurnRef: r, turnsCou
2902
2902
  };
2903
2903
  }
2904
2904
  //#endregion
2905
- //#region src/addons/ai/ai/F0AiMessagesContainer/F0AiMessagesContainer.tsx
2905
+ //#region src/addons/ai/F0AiMessagesContainer/F0AiMessagesContainer.tsx
2906
2906
  var ka = {
2907
2907
  threadId: "",
2908
2908
  onThumbsUp: () => {},
@@ -3106,13 +3106,13 @@ function La() {
3106
3106
  return e;
3107
3107
  }
3108
3108
  //#endregion
3109
- //#region src/addons/ai/ai/F0AiChat/providers/useCanvasEntities.ts
3109
+ //#region src/addons/ai/F0AiChat/providers/useCanvasEntities.ts
3110
3110
  function Ra() {
3111
3111
  let { canvasEntities: e } = B();
3112
3112
  return e;
3113
3113
  }
3114
3114
  //#endregion
3115
- //#region src/addons/ai/ai/canvas/registry.ts
3115
+ //#region src/addons/ai/canvas/registry.ts
3116
3116
  function za(e) {
3117
3117
  let t = Ra();
3118
3118
  if (e && t) return t[e];
@@ -3812,7 +3812,7 @@ function vo(e, t) {
3812
3812
  };
3813
3813
  }
3814
3814
  //#endregion
3815
- //#region src/addons/ai/ai/F0AuraVoiceAnimation/components/ReactShaderToy.tsx
3815
+ //#region src/addons/ai/F0AuraVoiceAnimation/components/ReactShaderToy.tsx
3816
3816
  var yo = [
3817
3817
  "lowp",
3818
3818
  "mediump",
@@ -4238,7 +4238,7 @@ function qo({ fs: e, vs: t = So, textures: n = [], uniforms: r, clearColor: i =
4238
4238
  });
4239
4239
  }
4240
4240
  //#endregion
4241
- //#region src/addons/ai/ai/F0AuraVoiceAnimation/components/shaderSource.ts
4241
+ //#region src/addons/ai/F0AuraVoiceAnimation/components/shaderSource.ts
4242
4242
  var Jo = "\nconst float TAU = 6.283185;\n\n// Noise for dithering\nvec2 randFibo(vec2 p) {\n p = fract(p * vec2(443.897, 441.423));\n p += dot(p, p.yx + 19.19);\n return fract((p.xx + p.yx) * p.xy);\n}\n\n// Tonemap\nvec3 Tonemap(vec3 x) {\n x *= 4.0;\n return x / (1.0 + x);\n}\n\n// Luma for alpha\nfloat luma(vec3 color) {\n return dot(color, vec3(0.299, 0.587, 0.114));\n}\n\n// RGB to HSV\nvec3 rgb2hsv(vec3 c) {\n vec4 K = vec4(0.0, -1.0 / 3.0, 2.0 / 3.0, -1.0);\n vec4 p = mix(vec4(c.bg, K.wz), vec4(c.gb, K.xy), step(c.b, c.g));\n vec4 q = mix(vec4(p.xyw, c.r), vec4(c.r, p.yzx), step(p.x, c.r));\n float d = q.x - min(q.w, q.y);\n float e = 1.0e-10;\n return vec3(abs(q.z + (q.w - q.y) / (6.0 * d + e)), d / (q.x + e), q.x);\n}\n\n// HSV to RGB\nvec3 hsv2rgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\n// SDF shapes\nfloat sdCircle(vec2 st, float r) {\n return length(st) - r;\n}\n\nfloat sdLine(vec2 p, float r) {\n float halfLen = r * 2.0;\n vec2 a = vec2(-halfLen, 0.0);\n vec2 b = vec2(halfLen, 0.0);\n vec2 pa = p - a;\n vec2 ba = b - a;\n float h = clamp(dot(pa, ba) / dot(ba, ba), 0.0, 1.0);\n return length(pa - ba * h);\n}\n\nfloat getSdf(vec2 st) {\n if(uShape == 1.0) return sdCircle(st, uScale);\n else if(uShape == 2.0) return sdLine(st, uScale);\n return sdCircle(st, uScale); // Default\n}\n\nvec2 turb(vec2 pos, float t, float it) {\n // Initial rotation matrix for swirl direction\n mat2 rotation = mat2(0.6, -0.25, 0.25, 0.9);\n // Secondary rotation applied each iteration (approx 53 degree rotation)\n mat2 layerRotation = mat2(0.6, -0.8, 0.8, 0.6);\n\n float frequency = mix(2.0, 15.0, uFrequency);\n float amplitude = uAmplitude;\n float frequencyGrowth = 1.4;\n float animTime = t * 0.1 * uSpeed;\n\n const int LAYERS = 4;\n for(int i = 0; i < LAYERS; i++) {\n // Calculate wave displacement for this layer\n vec2 rotatedPos = pos * rotation;\n vec2 wave = sin(frequency * rotatedPos + float(i) * animTime + it);\n\n // Apply displacement along rotation direction\n pos += (amplitude / frequency) * rotation[0] * wave;\n\n // Evolve parameters for next layer\n rotation *= layerRotation;\n amplitude *= mix(1.0, max(wave.x, wave.y), uVariance);\n frequency *= frequencyGrowth;\n }\n\n return pos;\n}\n\nconst float ITERATIONS = 36.0;\n\nvoid mainImage(out vec4 fragColor, in vec2 fragCoord) {\n vec2 uv = fragCoord / iResolution.xy;\n\n vec3 pp = vec3(0.0);\n vec3 bloom = vec3(0.0);\n float t = iTime * 0.5;\n vec2 pos = uv - 0.5;\n\n vec2 prevPos = turb(pos, t, 0.0 - 1.0 / ITERATIONS);\n float spacing = mix(1.0, TAU, uSpacing);\n\n for(float i = 1.0; i < ITERATIONS + 1.0; i++) {\n float iter = i / ITERATIONS;\n vec2 st = turb(pos, t, iter * spacing);\n float d = abs(getSdf(st));\n float pd = distance(st, prevPos);\n prevPos = st;\n float dynamicBlur = exp2(pd * 2.0 * 1.4426950408889634) - 1.0;\n float ds = smoothstep(0.0, uBlur * 0.05 + max(dynamicBlur * uSmoothing, 0.001), d);\n\n // Shift color based on iteration using uColorScale\n vec3 color = uColor;\n if(uColorShift > 0.01) {\n vec3 hsv = rgb2hsv(color);\n // Shift hue by iteration\n hsv.x = fract(hsv.x + (1.0 - iter) * uColorShift * 0.3);\n color = hsv2rgb(hsv);\n }\n\n float invd = 1.0 / max(d + dynamicBlur, 0.001);\n pp += (ds - 1.0) * color;\n bloom += clamp(invd, 0.0, 250.0) * color;\n }\n\n pp *= 1.0 / ITERATIONS;\n\n vec3 color;\n\n // Dark mode (default)\n if(uMode < 0.5) {\n // use bloom effect\n bloom = bloom / (bloom + 2e4);\n color = (-pp + bloom * 3.0 * uBloom) * 1.2;\n color += (randFibo(fragCoord).x - 0.5) / 255.0;\n color = Tonemap(color);\n float alpha = luma(color) * uMix;\n fragColor = vec4(color * uMix, alpha);\n }\n\n // Light mode\n else {\n // no bloom effect\n color = -pp;\n color += (randFibo(fragCoord).x - 0.5) / 255.0;\n\n // Preserve hue by tone mapping brightness only\n float brightness = length(color);\n vec3 direction = brightness > 0.0 ? color / brightness : color;\n\n // Reinhard on brightness\n float factor = 2.0;\n float mappedBrightness = (brightness * factor) / (1.0 + brightness * factor);\n color = direction * mappedBrightness;\n\n // Boost saturation to compensate for white background bleed-through\n // When alpha < 1.0, white bleeds through making colors look desaturated\n // So we increase saturation to maintain vibrant appearance\n float gray = dot(color, vec3(0.2, 0.5, 0.1));\n float saturationBoost = 3.0;\n color = mix(vec3(gray), color, saturationBoost);\n\n // Clamp between 0-1\n color = clamp(color, 0.0, 1.0);\n\n float alpha = mappedBrightness * clamp(uMix, 1.0, 2.0);\n fragColor = vec4(color, alpha);\n }\n}", Yo = gt({
4243
4243
  base: "aspect-square",
4244
4244
  variants: { size: {
@@ -4657,7 +4657,7 @@ var fs = ({ cx: e, cy: t, index: n, dataLength: r, color: i }) => n !== r - 1 ||
4657
4657
  });
4658
4658
  hs.displayName = "F0AiInsightCardInternal";
4659
4659
  //#endregion
4660
- //#region src/addons/ai/ai/F0AiInsightCard/F0AiInsightCard.tsx
4660
+ //#region src/addons/ai/F0AiInsightCard/F0AiInsightCard.tsx
4661
4661
  var gs = ["className"], _s = H((e, t) => {
4662
4662
  let n = gs.reduce((e, t) => {
4663
4663
  let { [t]: n, ...r } = e;
@@ -4843,7 +4843,7 @@ function ks({ sources: e, title: n }) {
4843
4843
  }
4844
4844
  ks.displayName = "F0AiMessageSources";
4845
4845
  //#endregion
4846
- //#region src/addons/ai/ai/F0AiTableCard/F0AiTableCard.tsx
4846
+ //#region src/addons/ai/F0AiTableCard/F0AiTableCard.tsx
4847
4847
  async function As(e, t, n) {
4848
4848
  let r = Ue(e), i = t === "xlsx" ? await P([{
4849
4849
  name: "Data",
@@ -4912,7 +4912,7 @@ function js({ dataset: e, title: n, filename: r }) {
4912
4912
  }
4913
4913
  js.displayName = "F0AiTableCard";
4914
4914
  //#endregion
4915
- //#region src/addons/ai/ai/F0AiChatHeader/components/CreditsPopover.tsx
4915
+ //#region src/addons/ai/F0AiChatHeader/components/CreditsPopover.tsx
4916
4916
  function Ms({ credits: e, trigger: n }) {
4917
4917
  let r = t(), [i, a] = q(!1), [o, s] = q(!1), [l, p] = q(!1), [m, h] = q(null), g = U((t) => {
4918
4918
  a(t), t && e?.fetchUsage && (s(!0), p(!1), e.fetchUsage().then((e) => {
@@ -5040,7 +5040,7 @@ function Ms({ credits: e, trigger: n }) {
5040
5040
  });
5041
5041
  }
5042
5042
  //#endregion
5043
- //#region src/addons/ai/ai/F0AiChatHeader/components/EmployeeCreditsPopover.tsx
5043
+ //#region src/addons/ai/F0AiChatHeader/components/EmployeeCreditsPopover.tsx
5044
5044
  var Ns = "linear-gradient(90deg, #E55619, #A1ADE5, #E51943, #E55619)", Ps = ({ loading: e, error: n, data: r }) => {
5045
5045
  let i = t(), a = l(), o = r && r.total > 0 ? Math.min(100, Math.round(r.used / r.total * 100)) : 0, s = r ? Math.max(0, r.total - r.used) : 0;
5046
5046
  return /* @__PURE__ */ J("div", {
@@ -5173,7 +5173,7 @@ function Fs({ employeeCredits: e, trigger: n }) {
5173
5173
  });
5174
5174
  }
5175
5175
  //#endregion
5176
- //#region src/addons/ai/ai/F0AiChatHeader/F0AiChatHeader.tsx
5176
+ //#region src/addons/ai/F0AiChatHeader/F0AiChatHeader.tsx
5177
5177
  var Is = ({ credits: e, employeeCredits: t, trigger: n }) => t ? /* @__PURE__ */ J(Fs, {
5178
5178
  employeeCredits: t,
5179
5179
  trigger: n
@@ -5297,7 +5297,7 @@ var Is = ({ credits: e, employeeCredits: t, trigger: n }) => t ? /* @__PURE__ */
5297
5297
  });
5298
5298
  };
5299
5299
  //#endregion
5300
- //#region src/addons/ai/ai/F0AiChatHistory/utils.ts
5300
+ //#region src/addons/ai/F0AiChatHistory/utils.ts
5301
5301
  function zs(e) {
5302
5302
  let t = new Date(e), n = /* @__PURE__ */ new Date();
5303
5303
  return tt(t) ? "today" : j(t) ? "yesterday" : Ut(t, n) ? "thisMonth" : "older";
@@ -5328,7 +5328,7 @@ function Vs(e) {
5328
5328
  }));
5329
5329
  }
5330
5330
  //#endregion
5331
- //#region src/addons/ai/ai/F0AiChatHistory/components/ThreadItem.tsx
5331
+ //#region src/addons/ai/F0AiChatHistory/components/ThreadItem.tsx
5332
5332
  function Hs({ thread: e, isPinned: n, isActive: r = !1, isPending: o = !1, onSelect: s, onPin: c, onUnpin: l, onDelete: f, className: p }) {
5333
5333
  let m = t(), h = Bt(), _ = G(() => [{
5334
5334
  label: n ? m.ai.unpinChat : m.ai.pinChat,
@@ -5409,7 +5409,7 @@ function Hs({ thread: e, isPinned: n, isActive: r = !1, isPending: o = !1, onSel
5409
5409
  });
5410
5410
  }
5411
5411
  //#endregion
5412
- //#region src/addons/ai/ai/F0AiChatHistory/components/CollapsibleGroup.tsx
5412
+ //#region src/addons/ai/F0AiChatHistory/components/CollapsibleGroup.tsx
5413
5413
  function Us({ label: e, threads: t, pinnedIds: n, onSelect: r, onPin: o, onUnpin: s, onDelete: c }) {
5414
5414
  let [l, u] = q(!0), d = U(() => {
5415
5415
  u((e) => !e);
@@ -5443,7 +5443,7 @@ function Us({ label: e, threads: t, pinnedIds: n, onSelect: r, onPin: o, onUnpin
5443
5443
  }) : null] });
5444
5444
  }
5445
5445
  //#endregion
5446
- //#region src/addons/ai/ai/F0AiChatHistory/components/ThreadListSkeleton.tsx
5446
+ //#region src/addons/ai/F0AiChatHistory/components/ThreadListSkeleton.tsx
5447
5447
  var Ws = [
5448
5448
  "w-3/5",
5449
5449
  "w-4/5",
@@ -5475,7 +5475,7 @@ function qs() {
5475
5475
  });
5476
5476
  }
5477
5477
  //#endregion
5478
- //#region src/addons/ai/ai/F0AiChatHistory/F0AiChatHistory.tsx
5478
+ //#region src/addons/ai/F0AiChatHistory/F0AiChatHistory.tsx
5479
5479
  var Js = ({ onClose: e, onSelectThread: n, onNewChat: r, threads: a, isLoading: o, error: c, pinnedIds: l, onPinThread: u, onUnpinThread: f, onDeleteThread: p }) => {
5480
5480
  let m = t(), [h, g] = q("");
5481
5481
  W(() => {
@@ -5656,7 +5656,7 @@ function Qs({ enabled: e = !1, fetchThreads: t, deleteThread: n, pinThread: r, u
5656
5656
  };
5657
5657
  }
5658
5658
  //#endregion
5659
- //#region src/addons/ai/ai/F0AiChatUsageLimits/types.ts
5659
+ //#region src/addons/ai/F0AiChatUsageLimits/types.ts
5660
5660
  var $s = ["top", "bottom"], ec = c.create(_), tc = ({ label: e, reduceMotion: t }) => /* @__PURE__ */ Y("div", {
5661
5661
  role: "status",
5662
5662
  "aria-live": "polite",
@@ -1,7 +1,7 @@
1
1
  import { a as e, r as t } from "./i18n-provider-Bdgo-LeP.js";
2
2
  import { L as n } from "./tooltip-BX4dSfeL.js";
3
3
  import { t as r } from "./F0Button-d91IgOnc.js";
4
- import { Xa as i, _i as a, ns as o, uc as s } from "./F0CanvasPanel-CnonRuvY.js";
4
+ import { Xa as i, _i as a, ns as o, uc as s } from "./F0CanvasPanel-BuTcey0-.js";
5
5
  import { o as c } from "./F0Icon-DmCBV0gK.js";
6
6
  import { g as l } from "./useData-BYkiGUHX.js";
7
7
  import { useRef as u } from "react";
@@ -0,0 +1,2 @@
1
+ export { vi as F0AudioPlayer } from "./F0CanvasPanel-BuTcey0-.js";
2
+ import "./f0.js";
@@ -42129,7 +42129,7 @@ var a0 = o("F0FileItem", r(i0)), o0 = a0, s0 = 2, c0 = 70, l0 = .08, u0 = 6, d0
42129
42129
  }, _4 = (e) => ({
42130
42130
  url: m4(e),
42131
42131
  name: p4(e)
42132
- }), v4 = () => import("./F0DocumentViewer-D7haXuNZ.js"), y4 = (e, t) => {
42132
+ }), v4 = () => import("./F0DocumentViewer-BofWB9ez.js"), y4 = (e, t) => {
42133
42133
  if (e.length < 2) return [];
42134
42134
  let n = s4(t, 1, e.length), r = s4(t, -1, e.length);
42135
42135
  return [.../* @__PURE__ */ new Set([n, r])].filter((e) => e !== t).map((t) => e[t]);
@@ -42168,7 +42168,7 @@ var a0 = o("F0FileItem", r(i0)), o0 = a0, s0 = 2, c0 = 70, l0 = .08, u0 = 6, d0
42168
42168
  n,
42169
42169
  r
42170
42170
  ]);
42171
- }, S4 = ci(() => v4().then((e) => ({ default: e.F0DocumentViewer }))), C4 = ci(() => import("./F0VideoPlayer-BOMjuJ6J.js").then((e) => ({ default: e.F0VideoPlayer }))), w4 = ci(() => import("./F0AudioPlayer-CH1sHdho.js").then((e) => ({ default: e.F0AudioPlayer }))), T4 = 24, E4 = () => {}, D4 = z(({ item: e, reloadKey: t = 0, direction: n, immersive: r = !1, onDownload: i, onSettled: a }, o) => {
42171
+ }, S4 = ci(() => v4().then((e) => ({ default: e.F0DocumentViewer }))), C4 = ci(() => import("./F0VideoPlayer-DT-pLuut.js").then((e) => ({ default: e.F0VideoPlayer }))), w4 = ci(() => import("./F0AudioPlayer-C4597ZNk.js").then((e) => ({ default: e.F0AudioPlayer }))), T4 = 24, E4 = () => {}, D4 = z(({ item: e, reloadKey: t = 0, direction: n, immersive: r = !1, onDownload: i, onSettled: a }, o) => {
42172
42172
  let { reducedMotion: s } = E0(), l = e.kind === "document";
42173
42173
  return /* @__PURE__ */ W("div", {
42174
42174
  ref: o,
@@ -44979,7 +44979,7 @@ var m8 = ({ children: e, className: t, lines: n = 1 }) => n > 1 ? /* @__PURE__ *
44979
44979
  }, []),
44980
44980
  shouldMount: e
44981
44981
  };
44982
- }, b8 = () => import("./PdfThumbnail-Bb_lyqOG.js"), x8 = () => import("./SheetThumbnail-HtGezPp4.js"), S8 = () => import("./DocxThumbnail-CK9vFoTB.js"), C8 = () => import("./TextThumbnail-DKNxh344.js"), w8 = () => import("./CodeThumbnail-CWieoY1L.js"), T8 = () => import("./HtmlThumbnail-BJuJkuvu.js"), E8 = () => import("./ArchiveThumbnail-C6VAmA8m.js"), D8 = ci(b8), O8 = ci(x8), k8 = ci(S8), A8 = ci(C8), j8 = ci(w8), M8 = ci(T8), N8 = ci(E8), P8 = 384, F8 = 160, I8 = ({ kind: e, file: t, url: n, width: r, onError: i, onRendered: a }) => e === "pdf" ? /* @__PURE__ */ W(D8, {
44982
+ }, b8 = () => import("./PdfThumbnail-DXCNIgMo.js"), x8 = () => import("./SheetThumbnail-HtGezPp4.js"), S8 = () => import("./DocxThumbnail-CK9vFoTB.js"), C8 = () => import("./TextThumbnail-DKNxh344.js"), w8 = () => import("./CodeThumbnail-Y5t2jitc.js"), T8 = () => import("./HtmlThumbnail-BJuJkuvu.js"), E8 = () => import("./ArchiveThumbnail-B3rbpXVF.js"), D8 = ci(b8), O8 = ci(x8), k8 = ci(S8), A8 = ci(C8), j8 = ci(w8), M8 = ci(T8), N8 = ci(E8), P8 = 384, F8 = 160, I8 = ({ kind: e, file: t, url: n, width: r, onError: i, onRendered: a }) => e === "pdf" ? /* @__PURE__ */ W(D8, {
44983
44983
  url: n,
44984
44984
  width: r,
44985
44985
  onError: i,
@@ -45944,7 +45944,7 @@ var P5 = r(o("F0CardHorizontal", hu(N5, () => /* @__PURE__ */ W(Hl, {
45944
45944
  });
45945
45945
  };
45946
45946
  //#endregion
45947
- //#region src/addons/ai/ai/F0AiPong/components/PongBall.tsx
45947
+ //#region src/addons/ai/F0AiPong/components/PongBall.tsx
45948
45948
  function I5({ size: e = 40, className: t, style: n }) {
45949
45949
  return /* @__PURE__ */ W("div", {
45950
45950
  className: c(t, "rounded-full"),
@@ -45957,7 +45957,7 @@ function I5({ size: e = 40, className: t, style: n }) {
45957
45957
  });
45958
45958
  }
45959
45959
  //#endregion
45960
- //#region src/addons/ai/ai/F0AiPong/F0AiPong.tsx
45960
+ //#region src/addons/ai/F0AiPong/F0AiPong.tsx
45961
45961
  var L5 = 40, R5 = 93, z5 = R5 * .5, B5 = 32, V5 = 24, H5 = 8, U5 = 48, W5 = 10, G5 = 7, K5 = 18, q5 = .25, J5 = .15, Y5 = 800, X5 = Math.PI / 3, Z5 = L5 / 2, Q5 = .12, $5 = 8, e7 = 5, t7 = .08;
45962
45962
  function n7(e, t, n) {
45963
45963
  return Math.max(t, Math.min(n, e));
@@ -47045,7 +47045,7 @@ var r9 = o("DataList", n9), i9 = Object.assign(r9, {
47045
47045
  s
47046
47046
  ]
47047
47047
  });
47048
- }, m9 = ci(() => import("./F0VideoPlayer-BOMjuJ6J.js").then((e) => ({ default: e.F0VideoPlayer }))), h9 = ({ file: e, cornerClass: t, className: n, surfaceClassName: r, meta: i, onDownloaded: o, testIdPrefix: s = "chat" }) => {
47048
+ }, m9 = ci(() => import("./F0VideoPlayer-DT-pLuut.js").then((e) => ({ default: e.F0VideoPlayer }))), h9 = ({ file: e, cornerClass: t, className: n, surfaceClassName: r, meta: i, onDownloaded: o, testIdPrefix: s = "chat" }) => {
47049
47049
  let u = a(), { urlCache: d } = E0(), f = B0(), [p, m] = U(!1), [h, g] = U(!1), _ = d !== null && !x0(e.url), [v, y] = U(!1), b = R0(e.url, { enabled: !_ || v }), x = R0(e.thumbnailUrl), S = x.status === "ready" ? x.url : void 0, C = e.size == null ? null : _2(e.size), w = {
47050
47050
  label: u.t("chat.downloadNamedFile", { name: e.name }),
47051
47051
  icon: xo,
@@ -47364,7 +47364,7 @@ var r9 = o("DataList", n9), i9 = Object.assign(r9, {
47364
47364
  renderContent: ({ content: e }) => /* @__PURE__ */ W(q9, { content: e })
47365
47365
  };
47366
47366
  //#endregion
47367
- //#region src/addons/ai/ai/F0AiChat/providers/useAiChatToggle.ts
47367
+ //#region src/addons/ai/F0AiChat/providers/useAiChatToggle.ts
47368
47368
  function Y9() {
47369
47369
  let { enabled: e, open: t, setOpen: n, panelContent: r, clearPanelContent: i, restoringPanelContentId: a } = p8();
47370
47370
  return {
@@ -47376,7 +47376,7 @@ function Y9() {
47376
47376
  };
47377
47377
  }
47378
47378
  //#endregion
47379
- //#region src/addons/ai/ai/F0OneSwitch/F0OneSwitch.tsx
47379
+ //#region src/addons/ai/F0OneSwitch/F0OneSwitch.tsx
47380
47380
  var X9 = ({ className: e, disabled: t, onVisible: n, tooltip: r, autoOpen: i = !1, onToggle: o, checked: s, onCheckedChange: d }) => {
47381
47381
  let m = Y9(), h = a(), g = d !== void 0, _ = g ? !0 : m.enabled, v = g ? !!s : m.open, y = g ? d : m.setOpen, [b, x] = U(!1), [S, C] = U(!1), [w, T] = U(i), E = t && r?.whenDisabled ? r?.whenDisabled : r?.whenEnabled ?? h.ai.welcome, D = i ? w : S;
47382
47382
  return V(() => {
@@ -1,3 +1,3 @@
1
- import { n as e, r as t, t as n } from "./F0DocumentViewer-Dg4NWXCa.js";
1
+ import { n as e, r as t, t as n } from "./F0DocumentViewer-DMutXRO1.js";
2
2
  import { t as r } from "./pdfWorkerConfig-BwllKt1K.js";
3
3
  export { n as F0DocumentViewer, e as F0PdfViewer, r as configurePdfWorker, t as pdfScales };
@@ -1,7 +1,7 @@
1
1
  import { a as e, r as t } from "./i18n-provider-Bdgo-LeP.js";
2
2
  import { n, t as r } from "./skeleton-AC0Fb8zj.js";
3
3
  import { L as i } from "./tooltip-BX4dSfeL.js";
4
- import { co as a } from "./F0CanvasPanel-CnonRuvY.js";
4
+ import { co as a } from "./F0CanvasPanel-BuTcey0-.js";
5
5
  import { Suspense as o, forwardRef as s, lazy as c } from "react";
6
6
  import { jsx as l, jsxs as u } from "react/jsx-runtime";
7
7
  import './F0DocumentViewer.css';//#region src/addons/documents/F0DocumentViewer/types.ts
@@ -36,7 +36,7 @@ var d = [
36
36
  children: /* @__PURE__ */ l(r, { className: "h-full w-full max-w-[600px] rounded-md" })
37
37
  })]
38
38
  });
39
- }, p = c(() => import("./PdfViewer-D6cxjRu6.js")), m = c(() => import("./SheetViewer-BYBFxR76.js")), h = c(() => import("./DocxViewer-D0Y18q6_.js")), g = c(() => import("./TextViewer-BnG61rah.js")), _ = c(() => import("./CodeViewer-TxnjmBpq.js")), v = c(() => import("./HtmlViewer-CcIgTEz4.js")), y = c(() => import("./ArchiveViewer-BazW1aiB.js")), b = s((e, t) => {
39
+ }, p = c(() => import("./PdfViewer-BFbpiCYO.js")), m = c(() => import("./SheetViewer-DkxEJy-a.js")), h = c(() => import("./DocxViewer-BkcBPKQ9.js")), g = c(() => import("./TextViewer-C-ciXmbv.js")), _ = c(() => import("./CodeViewer-CVZL3m1j.js")), v = c(() => import("./HtmlViewer-GGtMSGvj.js")), y = c(() => import("./ArchiveViewer-e1fxWtqq.js")), b = s((e, t) => {
40
40
  let { kind: n = "pdf", mimeType: i, language: a, htmlExecution: s = "auto", htmlSandbox: c, sender: d, toolbar: b = "top", hideDownload: x = !1, ...S } = e;
41
41
  if (n === "pdf") return /* @__PURE__ */ l(o, {
42
42
  fallback: /* @__PURE__ */ l(f, {}),
@@ -1,8 +1,8 @@
1
- import { a as e, fi as t, o as n } from "./CoachmarkProvider-DLRXLziQ.js";
1
+ import { a as e, fi as t, o as n } from "./CoachmarkProvider-CPaXTd-j.js";
2
2
  import { i as r, r as i } from "./i18n-provider-Bdgo-LeP.js";
3
3
  import { L as a, R as o } from "./tooltip-BX4dSfeL.js";
4
4
  import { H as s, T as c, U as l, b as u, h as d, t as f, wt as p } from "./F0Button-d91IgOnc.js";
5
- import { Js as m, Ro as h, ht as g, l as _, ps as v, uc as y } from "./F0CanvasPanel-CnonRuvY.js";
5
+ import { Js as m, Ro as h, ht as g, l as _, ps as v, uc as y } from "./F0CanvasPanel-BuTcey0-.js";
6
6
  import { t as b } from "./F0Icon-DmCBV0gK.js";
7
7
  import { N as x, T as S, U as C, f as w, z as T } from "./useData-BYkiGUHX.js";
8
8
  import { n as E, o as ee, s as te, t as D } from "./dist-Cuwaibqg.js";
@@ -1588,7 +1588,7 @@ var Kt = {
1588
1588
  isDark: e
1589
1589
  };
1590
1590
  }, Zt = {
1591
- maplibre: async () => (await import("./maplibre-BpImIhom.js")).createMaplibreAdapter,
1591
+ maplibre: async () => (await import("./maplibre-53AFhR3J.js")).createMaplibreAdapter,
1592
1592
  google: async (e) => (await import("./google-D1V0swd7.js")).loadGoogleAdapter(e)
1593
1593
  }, Qt = /* @__PURE__ */ new Map(), $t = (e, t) => {
1594
1594
  let n = Qt.get(e);