@factorialco/f0-react 12.12.0 → 12.13.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 (38) hide show
  1. package/dist/{ArchiveThumbnail-b34U-zTc.js → ArchiveThumbnail-BZgITTo2.js} +4 -4
  2. package/dist/{ArchiveViewer-BpmryW7A.js → ArchiveViewer-BHu224N3.js} +2 -2
  3. package/dist/{ChatPostComposerDialog-Cr207fXs.js → ChatPostComposerDialog-CsxxDqxh.js} +2 -2
  4. package/dist/{CoachmarkProvider-CsytVD-X.js → CoachmarkProvider-9PVhiN-N.js} +17650 -17650
  5. package/dist/{CodeThumbnail-8NiQ3uzU.js → CodeThumbnail-ChpXV1S-.js} +1 -1
  6. package/dist/{CodeViewer-BNZqt-5s.js → CodeViewer-BKw04W0G.js} +5 -5
  7. package/dist/{DocumentToolbar-DUe9R1rU.js → DocumentToolbar-mB3bK8uS.js} +1 -1
  8. package/dist/{DocxViewer-BUMy2iL7.js → DocxViewer-Dr8WXU1s.js} +1 -1
  9. package/dist/{F0AiProcessingOverlay-CiUTeBwG.js → F0AiProcessingOverlay-BUynKfyI.js} +542 -542
  10. package/dist/{F0Alert-Ca8sBfXN.js → F0Alert-ALRcL0Af.js} +10 -10
  11. package/dist/F0AudioPlayer-Cd9nIQX5.js +2 -0
  12. package/dist/{F0AudioPlayer-BefDLQA2.js → F0AudioPlayer-vRJmmSpp.js} +423 -331
  13. package/dist/{F0CanvasPanel-BOo_mxBl.js → F0CanvasPanel-D1QmpvzX.js} +799 -780
  14. package/dist/{F0DocumentViewer-CaYAO9ok.js → F0DocumentViewer-CEuF9b_u.js} +1 -1
  15. package/dist/{F0DocumentViewer-h0XY5tgT.js → F0DocumentViewer-ChCqzIK3.js} +2 -2
  16. package/dist/{F0Map-b1uYlF_H.js → F0Map-CWhV5A03.js} +10 -10
  17. package/dist/F0VideoPlayer-DUw-DouS.js +1 -0
  18. package/dist/{F0VideoPlayer-D85XCpqh.js → F0VideoPlayer-wTc25_qN.js} +62 -62
  19. package/dist/{HtmlViewer-DxOnMV30.js → HtmlViewer-Uxb8n2vn.js} +3 -3
  20. package/dist/{Map-BOMgctnS.js → Map-95w5slTZ.js} +9 -9
  21. package/dist/{PdfThumbnail-98PDy4ud.js → PdfThumbnail-BYrhsyMw.js} +1 -1
  22. package/dist/{PdfViewer-nBnKrTYD.js → PdfViewer-DUxhQr-O.js} +5 -5
  23. package/dist/{SheetViewer-CD9SHbXJ.js → SheetViewer-C9Rbh_xJ.js} +12 -12
  24. package/dist/{TextViewer-DxRBCXzV.js → TextViewer-DP9lYxAB.js} +1 -1
  25. package/dist/ai.js +3 -3
  26. package/dist/component-status.js +1 -1
  27. package/dist/experimental.d.ts +14 -2
  28. package/dist/experimental.js +4984 -4897
  29. package/dist/f0.d.ts +6 -127
  30. package/dist/f0.js +171 -172
  31. package/dist/{highlight-CqFL-_MG.js → highlight-Bjt-wXg6.js} +7 -7
  32. package/dist/{maplibre-Ip4Qe9dM.js → maplibre-tJ3UolSF.js} +1 -1
  33. package/dist/{pdfWorker-DMjHHAyP.js → pdfWorker-BBnYtb1A.js} +1 -1
  34. package/dist/{types-geibVrTM.d.ts → types-oJKIDe-E.d.ts} +122 -1
  35. package/package.json +1 -1
  36. package/dist/F0AudioPlayer-CNb4kXOk.js +0 -3
  37. package/dist/F0SegmentedControl-DXoAzTmH.js +0 -103
  38. package/dist/F0VideoPlayer-_zLFiEIp.js +0 -1
@@ -1,3 +1,3 @@
1
- import { n as e, r as t, t as n } from "./F0DocumentViewer-h0XY5tgT.js";
1
+ import { n as e, r as t, t as n } from "./F0DocumentViewer-ChCqzIK3.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 { ja as a } from "./F0CanvasPanel-BOo_mxBl.js";
4
+ import { Ra as a } from "./F0CanvasPanel-D1QmpvzX.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-nBnKrTYD.js")), m = c(() => import("./SheetViewer-CD9SHbXJ.js")), h = c(() => import("./DocxViewer-BUMy2iL7.js")), g = c(() => import("./TextViewer-DxRBCXzV.js")), _ = c(() => import("./CodeViewer-BNZqt-5s.js")), v = c(() => import("./HtmlViewer-DxOnMV30.js")), y = c(() => import("./ArchiveViewer-BpmryW7A.js")), b = s((e, t) => {
39
+ }, p = c(() => import("./PdfViewer-DUxhQr-O.js")), m = c(() => import("./SheetViewer-C9Rbh_xJ.js")), h = c(() => import("./DocxViewer-Dr8WXU1s.js")), g = c(() => import("./TextViewer-DP9lYxAB.js")), _ = c(() => import("./CodeViewer-BKw04W0G.js")), v = c(() => import("./HtmlViewer-Uxb8n2vn.js")), y = c(() => import("./ArchiveViewer-BHu224N3.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, o as t, ui as n } from "./CoachmarkProvider-CsytVD-X.js";
1
+ import { a as e, o as t, ui as n } from "./CoachmarkProvider-9PVhiN-N.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 { Ls as m, Z as h, bs as g, co as _, zo as v } from "./F0CanvasPanel-BOo_mxBl.js";
5
+ import { $ as m, Ds as h, Ko as g, Ws as _, ho as v } from "./F0CanvasPanel-D1QmpvzX.js";
6
6
  import { t as y } from "./F0Icon-DmCBV0gK.js";
7
7
  import { N as b, T as x, U as S, f as C, z as w } from "./useData-BYkiGUHX.js";
8
8
  import { a as T, n as E, o as ee, s as te, t as D } from "./dist-Cuwaibqg.js";
@@ -408,14 +408,14 @@ var Te = V, H = (e, t) => `hsl(${be(e, t).replace(/ /g, ", ")})`, Ee = (e, t) =>
408
408
  variant: "ghost",
409
409
  size: "md",
410
410
  label: o?.fit ?? l.map.controls.fit,
411
- icon: g,
411
+ icon: h,
412
412
  hideLabel: !0,
413
413
  onClick: n
414
414
  }) : null, a ? /* @__PURE__ */ I(f, {
415
415
  variant: "ghost",
416
416
  size: "md",
417
417
  label: o?.locate ?? l.map.controls.locate,
418
- icon: _,
418
+ icon: v,
419
419
  hideLabel: !0,
420
420
  onClick: a
421
421
  }) : null] })) : null, d ? p(/* @__PURE__ */ L(ae, { children: [e ? /* @__PURE__ */ I(f, {
@@ -734,7 +734,7 @@ var Fe = ({ adapter: e, points: t, enabled: n, radius: r = 12, clusterRadius: i
734
734
  case "workplace": return {
735
735
  variant: {
736
736
  variant: "icon",
737
- icon: v
737
+ icon: g
738
738
  },
739
739
  color: qe
740
740
  };
@@ -1117,12 +1117,12 @@ function vt({ enabled: e, children: t, ...n }) {
1117
1117
  });
1118
1118
  }
1119
1119
  function yt({ hasSecondarySidebar: e, topBarHeight: t, children: n }) {
1120
- let { isInstant: r, landInstantly: i } = gt(), a = _t(), [o, s] = F(te.primary), [c, l] = F(te.panel), [d, f] = h({
1120
+ let { isInstant: r, landInstantly: i } = gt(), a = _t(), [o, s] = F(te.primary), [c, l] = F(te.panel), [d, f] = m({
1121
1121
  key: ft,
1122
1122
  fallback: null,
1123
1123
  validate: pt,
1124
1124
  debounceMs: 200
1125
- }), p = lt(a, o, Math.max(320, c)), m = Math.min(c, p), g = d === null ? m : ut(d, p), _ = A(function(e) {
1125
+ }), p = lt(a, o, Math.max(320, c)), h = Math.min(c, p), g = d === null ? h : ut(d, p), _ = A(function(e) {
1126
1126
  s(e);
1127
1127
  }, []), v = P(c), y = A(function(e) {
1128
1128
  e !== v.current && (v.current = e, i(), l(e));
@@ -1130,7 +1130,7 @@ function yt({ hasSecondarySidebar: e, topBarHeight: t, children: n }) {
1130
1130
  i(), f(e);
1131
1131
  }, [i, f]), x = A(function() {
1132
1132
  i(), f(null);
1133
- }, [i, f]), S = u(`(max-width: ${o + (e ? m : te.panel) + ee.mainMin - 1}px)`, { initializeWithValue: !0 }) ? "overlay" : "docked", [C, w] = F(!1), T = P(0), E = A(function() {
1133
+ }, [i, f]), S = u(`(max-width: ${o + (e ? h : te.panel) + ee.mainMin - 1}px)`, { initializeWithValue: !0 }) ? "overlay" : "docked", [C, w] = F(!1), T = P(0), E = A(function() {
1134
1134
  w(!1);
1135
1135
  }, []);
1136
1136
  ie(function() {
@@ -1450,7 +1450,7 @@ function Jt() {
1450
1450
  }), /* @__PURE__ */ I("div", {
1451
1451
  className: a("hidden", { flex: r }),
1452
1452
  children: /* @__PURE__ */ I(y, {
1453
- icon: m,
1453
+ icon: _,
1454
1454
  size: "md"
1455
1455
  })
1456
1456
  })]
@@ -1601,7 +1601,7 @@ var rn = {
1601
1601
  isDark: e
1602
1602
  };
1603
1603
  }, ln = {
1604
- maplibre: async () => (await import("./maplibre-Ip4Qe9dM.js")).createMaplibreAdapter,
1604
+ maplibre: async () => (await import("./maplibre-tJ3UolSF.js")).createMaplibreAdapter,
1605
1605
  google: async (e) => (await import("./google-D1V0swd7.js")).loadGoogleAdapter(e)
1606
1606
  }, un = /* @__PURE__ */ new Map(), dn = (e, t) => {
1607
1607
  let n = un.get(e);
@@ -0,0 +1 @@
1
+ export { t as F0VideoPlayer } from "./F0VideoPlayer-wTc25_qN.js";
@@ -2,11 +2,11 @@ import { a as e, r as t } from "./i18n-provider-Bdgo-LeP.js";
2
2
  import { n } from "./skeleton-AC0Fb8zj.js";
3
3
  import { L as r, R as i } from "./tooltip-BX4dSfeL.js";
4
4
  import { t as a } from "./F0Button-d91IgOnc.js";
5
- import { $o as o, Ja as s, Ko as c, Ms as l, Ya as u, go as d, gs as f, ho as p, qa as m, yo as h } from "./F0CanvasPanel-BOo_mxBl.js";
5
+ import { $o as o, Co as s, Cs as c, Eo as l, So as u, eo as d, no as f, os as p, to as m, zs as h } from "./F0CanvasPanel-D1QmpvzX.js";
6
6
  import { n as g, t as _ } from "./F0Icon-DmCBV0gK.js";
7
7
  import { t as v } from "./Check-DAp9gCRh.js";
8
- import { A as y, B as b, F as x, H as S, I as C, P as ee, R as w, a as T, i as E, k as D, t as te, z as O } from "./popover-ics24JxK.js";
9
- import { i as k, n as A, r as j, t as M } from "./localized-BrUgGMzm.js";
8
+ import { A as y, B as b, F as x, H as S, I as C, P as w, R as T, a as E, i as D, k as O, t as ee, z as k } from "./popover-ics24JxK.js";
9
+ import { i as A, n as j, r as te, t as M } from "./localized-BrUgGMzm.js";
10
10
  import { t as ne } from "./useFullscreen-CNwpzjpz.js";
11
11
  import { forwardRef as N, useCallback as P, useEffect as F, useId as I, useMemo as L, useRef as R, useState as z } from "react";
12
12
  import { jsx as B, jsxs as V } from "react/jsx-runtime";
@@ -151,10 +151,10 @@ ie.displayName = "CaptionsFilledIcon";
151
151
  //#region src/blocks/F0VideoPlayer/components/PlaybackRateMenu.tsx
152
152
  function ae({ value: e, onChange: n, containerRef: i }) {
153
153
  let { t: o } = t(), [s, c] = z(!1);
154
- return /* @__PURE__ */ V(te, {
154
+ return /* @__PURE__ */ V(ee, {
155
155
  open: s,
156
156
  onOpenChange: c,
157
- children: [/* @__PURE__ */ B(T, {
157
+ children: [/* @__PURE__ */ B(E, {
158
158
  asChild: !0,
159
159
  children: /* @__PURE__ */ B(a, {
160
160
  variant: "ghost",
@@ -162,7 +162,7 @@ function ae({ value: e, onChange: n, containerRef: i }) {
162
162
  label: q(e),
163
163
  "aria-label": o("videoPlayer.playbackSpeed", { rate: q(e) })
164
164
  })
165
- }), /* @__PURE__ */ B(E, {
165
+ }), /* @__PURE__ */ B(D, {
166
166
  container: i.current,
167
167
  side: "top",
168
168
  align: "end",
@@ -289,8 +289,8 @@ function oe({ currentTime: e, duration: n, markerTime: a, blockSeekPastMarker: o
289
289
  //#region src/blocks/F0VideoPlayer/components/SettingsMenu.tsx
290
290
  var se = "off", ce = "py-2 pr-4 text-base font-medium", le = "gap-2 py-2 pl-3 pr-2 text-base font-medium", ue = "max-h-[var(--radix-dropdown-menu-content-available-height)] min-w-[13rem] overflow-y-auto p-1";
291
291
  function $({ icon: e, label: t, container: n, options: r, value: i, onLanguageChange: a, on: o, onOff: s, offLabel: c }) {
292
- let l = s !== void 0, u = r.find((e) => e.locale === i), d = l && !o ? c : u ? j(u) : c;
293
- return /* @__PURE__ */ V(w, { children: [/* @__PURE__ */ V(b, {
292
+ let l = s !== void 0, u = r.find((e) => e.locale === i), d = l && !o ? c : u ? te(u) : c;
293
+ return /* @__PURE__ */ V(T, { children: [/* @__PURE__ */ V(b, {
294
294
  className: le,
295
295
  children: [
296
296
  /* @__PURE__ */ B(g, { icon: e }),
@@ -303,9 +303,9 @@ function $({ icon: e, label: t, container: n, options: r, value: i, onLanguageCh
303
303
  children: d
304
304
  })
305
305
  ]
306
- }), /* @__PURE__ */ B(ee, {
306
+ }), /* @__PURE__ */ B(w, {
307
307
  container: n ?? void 0,
308
- children: /* @__PURE__ */ B(O, {
308
+ children: /* @__PURE__ */ B(k, {
309
309
  className: ue,
310
310
  children: /* @__PURE__ */ V(x, {
311
311
  value: l ? o ? i : se : i,
@@ -313,7 +313,7 @@ function $({ icon: e, label: t, container: n, options: r, value: i, onLanguageCh
313
313
  children: [r.map((e) => /* @__PURE__ */ B(C, {
314
314
  value: e.locale,
315
315
  className: ce,
316
- children: j(e)
316
+ children: te(e)
317
317
  }, e.locale)), l ? /* @__PURE__ */ B(C, {
318
318
  value: se,
319
319
  className: ce,
@@ -323,15 +323,15 @@ function $({ icon: e, label: t, container: n, options: r, value: i, onLanguageCh
323
323
  })
324
324
  })] });
325
325
  }
326
- function de({ containerRef: e, audioLanguages: n, audioLanguage: r, onAudioLanguageChange: i, captionLanguages: o, captionLanguage: s, captionsOn: c, onCaptionLanguageChange: l, onCaptionsOff: u, audioDescriptionLanguages: d, audioDescriptionLanguage: p, audioDescriptionOn: m, onAudioDescriptionLanguageChange: g, onAudioDescriptionOff: _ }) {
326
+ function de({ containerRef: e, audioLanguages: n, audioLanguage: r, onAudioLanguageChange: i, captionLanguages: o, captionLanguage: s, captionsOn: u, onCaptionLanguageChange: d, onCaptionsOff: f, audioDescriptionLanguages: p, audioDescriptionLanguage: m, audioDescriptionOn: h, onAudioDescriptionLanguageChange: g, onAudioDescriptionOff: _ }) {
327
327
  let { t: v } = t(), b = e.current, x = v("videoPlayer.off");
328
- return /* @__PURE__ */ V(D, { children: [/* @__PURE__ */ B(S, {
328
+ return /* @__PURE__ */ V(O, { children: [/* @__PURE__ */ B(S, {
329
329
  asChild: !0,
330
330
  children: /* @__PURE__ */ B(a, {
331
331
  variant: "ghost",
332
332
  size: "sm",
333
333
  hideLabel: !0,
334
- icon: h,
334
+ icon: l,
335
335
  label: v("videoPlayer.settings")
336
336
  })
337
337
  }), /* @__PURE__ */ V(y, {
@@ -341,7 +341,7 @@ function de({ containerRef: e, audioLanguages: n, audioLanguage: r, onAudioLangu
341
341
  className: ue,
342
342
  children: [
343
343
  n.length > 1 ? /* @__PURE__ */ B($, {
344
- icon: f,
344
+ icon: c,
345
345
  label: v("videoPlayer.audio"),
346
346
  container: b,
347
347
  options: n,
@@ -355,18 +355,18 @@ function de({ containerRef: e, audioLanguages: n, audioLanguage: r, onAudioLangu
355
355
  container: b,
356
356
  options: o,
357
357
  value: s,
358
- on: c,
359
- onLanguageChange: l,
360
- onOff: u,
358
+ on: u,
359
+ onLanguageChange: d,
360
+ onOff: f,
361
361
  offLabel: x
362
362
  }) : null,
363
- d.length > 1 ? /* @__PURE__ */ B($, {
363
+ p.length > 1 ? /* @__PURE__ */ B($, {
364
364
  icon: X,
365
365
  label: v("videoPlayer.audioDescription"),
366
366
  container: b,
367
- options: d,
368
- value: p,
369
- on: m,
367
+ options: p,
368
+ value: m,
369
+ on: h,
370
370
  onLanguageChange: g,
371
371
  onOff: _,
372
372
  offLabel: x
@@ -380,7 +380,7 @@ function fe(e) {
380
380
  //#endregion
381
381
  //#region src/blocks/F0VideoPlayer/components/VolumeControl.tsx
382
382
  function pe(e, t) {
383
- return t || e === 0 ? m : e <= .5 ? s : u;
383
+ return t || e === 0 ? d : e <= .5 ? m : f;
384
384
  }
385
385
  function me({ volume: e, isMuted: n, onToggleMute: r, onVolumeChange: i, silent: o = !1 }) {
386
386
  let { t: s } = t(), c = n || e === 0;
@@ -389,7 +389,7 @@ function me({ volume: e, isMuted: n, onToggleMute: r, onVolumeChange: i, silent:
389
389
  size: "sm",
390
390
  hideLabel: !0,
391
391
  disabled: !0,
392
- icon: m,
392
+ icon: d,
393
393
  label: s("videoPlayer.noAudio")
394
394
  }) : /* @__PURE__ */ V("div", {
395
395
  className: "flex items-center gap-1",
@@ -470,11 +470,11 @@ function he({ value: e, onChange: n }) {
470
470
  }
471
471
  //#endregion
472
472
  //#region src/blocks/F0VideoPlayer/components/Controls.tsx
473
- function ge({ isPlaying: e, currentTime: n, duration: i, volume: s, isMuted: u, playbackRate: f, isFullscreen: m, markerTime: h, blockSeekPastMarker: g, containerRef: _, captionsAvailable: v, captionsOn: y, audioDescriptionAvailable: b, audioDescriptionOn: x, silent: S, persist: C, audioLanguages: ee, audioLanguage: w, onAudioLanguageChange: T, captionLanguages: E, captionLanguage: D, onCaptionLanguageChange: te, onCaptionsOff: O, audioDescriptionLanguages: k, audioDescriptionLanguage: A, onAudioDescriptionLanguageChange: j, onAudioDescriptionOff: M, onTogglePlay: ne, onToggleMute: N, onVolumeChange: P, onPlaybackRateChange: F, onToggleFullscreen: I, onToggleCaptions: L, onToggleAudioDescription: R, onSeek: z, download: H }) {
474
- let { t: U } = t(), re = v && E.length <= 1, W = b && k.length <= 1, G = fe({
475
- audioLanguages: ee.length,
476
- captionLanguages: E.length,
477
- audioDescriptionLanguages: k.length
473
+ function ge({ isPlaying: e, currentTime: n, duration: i, volume: c, isMuted: l, playbackRate: d, isFullscreen: f, markerTime: m, blockSeekPastMarker: g, containerRef: _, captionsAvailable: v, captionsOn: y, audioDescriptionAvailable: b, audioDescriptionOn: x, silent: S, persist: C, audioLanguages: w, audioLanguage: T, onAudioLanguageChange: E, captionLanguages: D, captionLanguage: O, onCaptionLanguageChange: ee, onCaptionsOff: k, audioDescriptionLanguages: A, audioDescriptionLanguage: j, onAudioDescriptionLanguageChange: te, onAudioDescriptionOff: M, onTogglePlay: ne, onToggleMute: N, onVolumeChange: P, onPlaybackRateChange: F, onToggleFullscreen: I, onToggleCaptions: L, onToggleAudioDescription: R, onSeek: z, download: H }) {
474
+ let { t: U } = t(), re = v && D.length <= 1, W = b && A.length <= 1, G = fe({
475
+ audioLanguages: w.length,
476
+ captionLanguages: D.length,
477
+ audioDescriptionLanguages: A.length
478
478
  });
479
479
  return /* @__PURE__ */ V("div", {
480
480
  className: r("dark absolute inset-x-0 bottom-0 z-[2] flex select-none items-center gap-2", "rounded-b-[inherit] bg-gradient-to-t from-[#000000f2] via-[#000000b3] to-transparent px-3 py-3", "[text-shadow:0_1px_2px_rgba(0,0,0,0.55)] [&_svg]:drop-shadow-[0_1px_2px_rgba(0,0,0,0.55)]", "transition-opacity duration-200 motion-reduce:transition-none", !e || C ? "opacity-100" : "opacity-0 group-hover:opacity-100 group-focus-within:opacity-100"),
@@ -483,14 +483,14 @@ function ge({ isPlaying: e, currentTime: n, duration: i, volume: s, isMuted: u,
483
483
  variant: "ghost",
484
484
  size: "sm",
485
485
  hideLabel: !0,
486
- icon: e ? d : p,
486
+ icon: e ? s : u,
487
487
  label: U(e ? "videoPlayer.pause" : "videoPlayer.play"),
488
488
  onClick: ne
489
489
  }),
490
490
  /* @__PURE__ */ B(oe, {
491
491
  currentTime: n,
492
492
  duration: i,
493
- markerTime: h,
493
+ markerTime: m,
494
494
  blockSeekPastMarker: g,
495
495
  onSeek: z
496
496
  }),
@@ -503,14 +503,14 @@ function ge({ isPlaying: e, currentTime: n, duration: i, volume: s, isMuted: u,
503
503
  ]
504
504
  }),
505
505
  /* @__PURE__ */ B(me, {
506
- volume: s,
507
- isMuted: u,
506
+ volume: c,
507
+ isMuted: l,
508
508
  onToggleMute: N,
509
509
  onVolumeChange: P,
510
510
  silent: S
511
511
  }),
512
512
  /* @__PURE__ */ B(ae, {
513
- value: f,
513
+ value: d,
514
514
  onChange: F,
515
515
  containerRef: _
516
516
  }),
@@ -534,25 +534,25 @@ function ge({ isPlaying: e, currentTime: n, duration: i, volume: s, isMuted: u,
534
534
  }) : null,
535
535
  G ? /* @__PURE__ */ B(de, {
536
536
  containerRef: _,
537
- audioLanguages: ee,
538
- audioLanguage: w,
539
- onAudioLanguageChange: T,
540
- captionLanguages: E,
541
- captionLanguage: D,
537
+ audioLanguages: w,
538
+ audioLanguage: T,
539
+ onAudioLanguageChange: E,
540
+ captionLanguages: D,
541
+ captionLanguage: O,
542
542
  captionsOn: y,
543
- onCaptionLanguageChange: te,
544
- onCaptionsOff: O,
545
- audioDescriptionLanguages: k,
546
- audioDescriptionLanguage: A,
543
+ onCaptionLanguageChange: ee,
544
+ onCaptionsOff: k,
545
+ audioDescriptionLanguages: A,
546
+ audioDescriptionLanguage: j,
547
547
  audioDescriptionOn: x,
548
- onAudioDescriptionLanguageChange: j,
548
+ onAudioDescriptionLanguageChange: te,
549
549
  onAudioDescriptionOff: M
550
550
  }) : null,
551
551
  H ? /* @__PURE__ */ B(a, {
552
552
  variant: "ghost",
553
553
  size: "sm",
554
554
  hideLabel: !0,
555
- icon: l,
555
+ icon: h,
556
556
  label: H.label,
557
557
  onClick: H.onClick
558
558
  }) : null,
@@ -560,8 +560,8 @@ function ge({ isPlaying: e, currentTime: n, duration: i, volume: s, isMuted: u,
560
560
  variant: "ghost",
561
561
  size: "sm",
562
562
  hideLabel: !0,
563
- icon: m ? c : o,
564
- label: U(m ? "videoPlayer.exitFullscreen" : "videoPlayer.enterFullscreen"),
563
+ icon: f ? o : p,
564
+ label: U(f ? "videoPlayer.exitFullscreen" : "videoPlayer.enterFullscreen"),
565
565
  onClick: I
566
566
  })
567
567
  ]
@@ -889,8 +889,8 @@ function je({ video: e, onTrackAction: t }) {
889
889
  }
890
890
  //#endregion
891
891
  //#region src/blocks/F0VideoPlayer/internal.tsx
892
- function Me({ src: e, poster: n, ariaLabel: a, silent: o = !1, persistControls: s = !1, content: c, defaultLanguage: l, autoPlay: u = !1, autoFocus: d = !1, download: f, restrictForwardSeek: m = !1, onTrackAction: h, onMilestone: g, onComplete: v, ...y }) {
893
- let { t: b } = t(), x = R(null), S = L(() => M(e), [e]), [C, ee] = z(() => A(S, l)), w = S.some((e) => e.locale === C) ? C : A(S, l), T = k(e, w) ?? "", E = L(() => M(c?.captions), [c?.captions]), [D, te] = z(() => A(E, l)), O = E.some((e) => e.locale === D) ? D : A(E, l), j = k(c?.captions, O), N = L(() => M(c?.descriptions, c?.describedSrc), [c?.descriptions, c?.describedSrc]), [I, H] = z(() => A(N, l)), U = N.some((e) => e.locale === I) ? I : A(N, l), re = k(c?.descriptions, U), W = k(c?.describedSrc, U), [G, K] = z(!1), q = G && W ? W : T, J = Ae(q), Y = Ee(J.videoElement, j), X = be(J.videoElement, {
892
+ function Me({ src: e, poster: n, ariaLabel: a, silent: o = !1, persistControls: s = !1, content: c, defaultLanguage: l, autoPlay: d = !1, autoFocus: f = !1, download: p, restrictForwardSeek: m = !1, onTrackAction: h, onMilestone: g, onComplete: v, ...y }) {
893
+ let { t: b } = t(), x = R(null), S = L(() => M(e), [e]), [C, w] = z(() => j(S, l)), T = S.some((e) => e.locale === C) ? C : j(S, l), E = A(e, T) ?? "", D = L(() => M(c?.captions), [c?.captions]), [O, ee] = z(() => j(D, l)), k = D.some((e) => e.locale === O) ? O : j(D, l), te = A(c?.captions, k), N = L(() => M(c?.descriptions, c?.describedSrc), [c?.descriptions, c?.describedSrc]), [I, H] = z(() => j(N, l)), U = N.some((e) => e.locale === I) ? I : j(N, l), re = A(c?.descriptions, U), W = A(c?.describedSrc, U), [G, K] = z(!1), q = G && W ? W : E, J = Ae(q), Y = Ee(J.videoElement, te), X = be(J.videoElement, {
894
894
  enabled: G,
895
895
  describedSrc: W,
896
896
  descriptions: re
@@ -902,11 +902,11 @@ function Me({ src: e, poster: n, ariaLabel: a, silent: o = !1, persistControls:
902
902
  };
903
903
  e.addEventListener("loadedmetadata", r);
904
904
  }, [J.videoRef]), Q = P((e) => {
905
- Z(), ee(e);
905
+ Z(), w(e);
906
906
  }, [Z]), ie = P(() => {
907
907
  W && Z(), K((e) => !e);
908
908
  }, [W, Z]), ae = P((e) => {
909
- te(e), Y.showing || Y.toggle();
909
+ ee(e), Y.showing || Y.toggle();
910
910
  }, [Y]), oe = P(() => {
911
911
  Y.showing && Y.toggle();
912
912
  }, [Y]), se = P((e) => {
@@ -920,16 +920,16 @@ function Me({ src: e, poster: n, ariaLabel: a, silent: o = !1, persistControls:
920
920
  }), ke({
921
921
  video: J.videoElement,
922
922
  onMilestone: g,
923
- resetKey: T
923
+ resetKey: E
924
924
  }), Oe({
925
925
  video: J.videoElement,
926
926
  onComplete: v,
927
- resetKey: T
927
+ resetKey: E
928
928
  });
929
929
  let { maxWatchedTime: le, clampSeek: ue } = Se({
930
930
  video: J.videoElement,
931
931
  enabled: m,
932
- resetKey: T
932
+ resetKey: E
933
933
  }), $ = P((e) => J.seekTo(ue(e)), [J, ue]), { isFullscreen: de, toggleFullscreen: fe } = ne({ targetRef: x }), pe = P(() => {}, []), me = !!(G && W);
934
934
  F(() => {
935
935
  let e = J.videoRef.current;
@@ -949,8 +949,8 @@ function Me({ src: e, poster: n, ariaLabel: a, silent: o = !1, persistControls:
949
949
  setVolume: o ? pe : J.setVolume
950
950
  });
951
951
  F(() => {
952
- d && x.current?.focus({ preventScroll: !0 });
953
- }, [d]);
952
+ f && x.current?.focus({ preventScroll: !0 });
953
+ }, [f]);
954
954
  let _e = (e) => e.preventDefault();
955
955
  return /* @__PURE__ */ V("div", {
956
956
  ref: x,
@@ -964,7 +964,7 @@ function Me({ src: e, poster: n, ariaLabel: a, silent: o = !1, persistControls:
964
964
  children: [
965
965
  /* @__PURE__ */ V("video", {
966
966
  ref: J.setVideoNode,
967
- autoPlay: u,
967
+ autoPlay: d,
968
968
  playsInline: !0,
969
969
  disablePictureInPicture: !0,
970
970
  disableRemotePlayback: !0,
@@ -999,7 +999,7 @@ function Me({ src: e, poster: n, ariaLabel: a, silent: o = !1, persistControls:
999
999
  onClick: J.togglePlay,
1000
1000
  className: "pointer-events-auto flex size-14 items-center justify-center rounded-full bg-f1-foreground/70 pl-0.5 shadow-[0_2px_8px_rgba(0,0,0,0.45)] transition-transform duration-150 hover:scale-105 motion-reduce:transition-none dark:bg-f1-background/70 [&_svg]:size-7",
1001
1001
  children: /* @__PURE__ */ B(_, {
1002
- icon: p,
1002
+ icon: u,
1003
1003
  size: "lg",
1004
1004
  color: "#fff"
1005
1005
  })
@@ -1043,10 +1043,10 @@ function Me({ src: e, poster: n, ariaLabel: a, silent: o = !1, persistControls:
1043
1043
  silent: o,
1044
1044
  persist: s,
1045
1045
  audioLanguages: S,
1046
- audioLanguage: w,
1046
+ audioLanguage: T,
1047
1047
  onAudioLanguageChange: Q,
1048
- captionLanguages: E,
1049
- captionLanguage: O,
1048
+ captionLanguages: D,
1049
+ captionLanguage: k,
1050
1050
  onCaptionLanguageChange: ae,
1051
1051
  onCaptionsOff: oe,
1052
1052
  audioDescriptionLanguages: N,
@@ -1061,7 +1061,7 @@ function Me({ src: e, poster: n, ariaLabel: a, silent: o = !1, persistControls:
1061
1061
  onToggleCaptions: Y.toggle,
1062
1062
  onToggleAudioDescription: ie,
1063
1063
  onSeek: $,
1064
- download: f
1064
+ download: p
1065
1065
  }) : null
1066
1066
  ]
1067
1067
  });
@@ -1,12 +1,12 @@
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 { ic as r } from "./F0CanvasPanel-BOo_mxBl.js";
4
+ import { dc as r } from "./F0CanvasPanel-D1QmpvzX.js";
5
5
  import { t as i } from "./F0Icon-DmCBV0gK.js";
6
6
  import { lr as a } from "./F0Select-BZ20yXKy.js";
7
- import { t as o } from "./F0Alert-Ca8sBfXN.js";
7
+ import { t as o } from "./F0Alert-ALRcL0Af.js";
8
8
  import { r as s } from "./toolbarStyles-lTj_42zD.js";
9
- import { t as c } from "./DocumentToolbar-DUe9R1rU.js";
9
+ import { t as c } from "./DocumentToolbar-mB3bK8uS.js";
10
10
  import { t as l } from "./useFetchedText-BR3_KLXx.js";
11
11
  import { a as u, c as d, i as f, l as p, n as m, o as h, r as g, s as _, t as v, u as y } from "./SandboxedHtmlFrame-B95lWsIP.js";
12
12
  import { useEffect as b, useMemo as x, useRef as S, useState as C } from "react";
@@ -1,13 +1,13 @@
1
- import { Mt as e, Nt as t } from "./CoachmarkProvider-CsytVD-X.js";
1
+ import { Mt as e, Nt as t } from "./CoachmarkProvider-9PVhiN-N.js";
2
2
  import { r as n } from "./i18n-provider-Bdgo-LeP.js";
3
3
  import { L as r, R as i } from "./tooltip-BX4dSfeL.js";
4
4
  import { w as a } from "./F0Button-d91IgOnc.js";
5
- import { Jr as o, Pa as s, Yr as c, qr as l } from "./F0CanvasPanel-BOo_mxBl.js";
5
+ import { Va as o, ei as s, ni as c, ti as l } from "./F0CanvasPanel-D1QmpvzX.js";
6
6
  import { t as u } from "./F0Icon-DmCBV0gK.js";
7
7
  import { H as d, l as f } from "./useData-BYkiGUHX.js";
8
8
  import { ft as ee } from "./popover-ics24JxK.js";
9
9
  import { c as p } from "./scrollarea-cxaFAWG5.js";
10
- import { o as m, t as h } from "./F0Map-b1uYlF_H.js";
10
+ import { o as m, t as h } from "./F0Map-CWhV5A03.js";
11
11
  import { useCallback as g, useEffect as _, useMemo as v, useRef as y, useState as b } from "react";
12
12
  import { Fragment as x, jsx as S, jsxs as C } from "react/jsx-runtime";
13
13
  //#region src/addons/data-collection/OneDataCollection/visualizations/collection/Map/components/MapNotOnMapButton.tsx
@@ -42,7 +42,7 @@ var w = 3, te = ({ title: e, count: t, ariaLabel: n, avatars: o, onClick: s, dat
42
42
  defaultProp: p,
43
43
  onChange: f
44
44
  });
45
- return /* @__PURE__ */ C(l, {
45
+ return /* @__PURE__ */ C(s, {
46
46
  open: g,
47
47
  onOpenChange: _,
48
48
  "data-testid": h,
@@ -54,7 +54,7 @@ var w = 3, te = ({ title: e, count: t, ariaLabel: n, avatars: o, onClick: s, dat
54
54
  children: [
55
55
  /* @__PURE__ */ S("span", {
56
56
  className: "min-w-0 flex-1",
57
- children: /* @__PURE__ */ S(s, {
57
+ children: /* @__PURE__ */ S(o, {
58
58
  variant: "label",
59
59
  content: e,
60
60
  markdown: !1,
@@ -74,12 +74,12 @@ var w = 3, te = ({ title: e, count: t, ariaLabel: n, avatars: o, onClick: s, dat
74
74
  })
75
75
  ]
76
76
  })
77
- }), /* @__PURE__ */ S(o, {
77
+ }), /* @__PURE__ */ S(l, {
78
78
  className: "px-0.5",
79
79
  children: m
80
80
  })]
81
81
  });
82
- }, ne = ({ rows: e, unplaced: t, placed: r, matches: i, notOnMapOpen: a, onNotOnMapOpenChange: o }) => {
82
+ }, ne = ({ rows: e, unplaced: t, placed: r, matches: i, notOnMapOpen: a, onNotOnMapOpenChange: s }) => {
83
83
  let c = n();
84
84
  return /* @__PURE__ */ S("div", {
85
85
  className: "flex h-full min-h-0 flex-col gap-1 overflow-y-auto px-1 pb-1.5 pt-0.5",
@@ -88,7 +88,7 @@ var w = 3, te = ({ title: e, count: t, ariaLabel: n, avatars: o, onClick: s, dat
88
88
  "data-testid": "map-panel-search-results",
89
89
  children: i.length > 0 ? e(i) : /* @__PURE__ */ S("div", {
90
90
  className: "px-2 py-1.5",
91
- children: /* @__PURE__ */ S(s, {
91
+ children: /* @__PURE__ */ S(o, {
92
92
  variant: "description",
93
93
  content: c.select.noResults,
94
94
  markdown: !1
@@ -98,7 +98,7 @@ var w = 3, te = ({ title: e, count: t, ariaLabel: n, avatars: o, onClick: s, dat
98
98
  title: c.collections.map.notOnMap,
99
99
  count: t.length,
100
100
  open: a,
101
- onOpenChange: o,
101
+ onOpenChange: s,
102
102
  dataTestId: "map-panel-not-on-map",
103
103
  children: e(t)
104
104
  }) : null, /* @__PURE__ */ S(T, {
@@ -1,4 +1,4 @@
1
- import { n as e, r as t, t as n } from "./pdfWorker-DMjHHAyP.js";
1
+ import { n as e, r as t, t as n } from "./pdfWorker-BBnYtb1A.js";
2
2
  import { jsx as r } from "react/jsx-runtime";
3
3
  //#region src/elements/primitives/_primitives/F0Attachments/components/thumbnails/PdfThumbnail.tsx
4
4
  n();
@@ -2,11 +2,11 @@ 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
4
  import { S as r } from "./F0Button-d91IgOnc.js";
5
- import { Do as i, Ms as a, bo as o } from "./F0CanvasPanel-BOo_mxBl.js";
5
+ import { Do as i, Po as a, zs as o } from "./F0CanvasPanel-D1QmpvzX.js";
6
6
  import { H as s, z as c } from "./useData-BYkiGUHX.js";
7
7
  import { br as l, sr as u, t as d } from "./F0Select-BZ20yXKy.js";
8
8
  import { a as f, i as p, l as ee, n as te, o as m, r as h, s as g, t as _, u as ne } from "./toolbarStyles-lTj_42zD.js";
9
- import { n as re, r as ie, t as v } from "./pdfWorker-DMjHHAyP.js";
9
+ import { n as re, r as ie, t as v } from "./pdfWorker-BBnYtb1A.js";
10
10
  import { forwardRef as y, useCallback as b, useEffect as x, useMemo as S, useRef as C, useState as w } from "react";
11
11
  import { jsx as T, jsxs as E } from "react/jsx-runtime";
12
12
  //#region src/addons/documents/F0DocumentViewer/crispCanvas.ts
@@ -99,17 +99,17 @@ var D = (e, t) => t ? (O(e, t) + .001) / t : e, O = (e, t) => Math.round(t * e),
99
99
  y ? /* @__PURE__ */ T(h, {
100
100
  label: O.rotate,
101
101
  onClick: b,
102
- icon: o
102
+ icon: i
103
103
  }) : null,
104
104
  /* @__PURE__ */ T(h, {
105
105
  label: O.print,
106
106
  onClick: x,
107
- icon: i
107
+ icon: a
108
108
  }),
109
109
  C ? null : /* @__PURE__ */ T(h, {
110
110
  label: O.download,
111
111
  onClick: S,
112
- icon: a
112
+ icon: o
113
113
  }),
114
114
  w?.map((e, t) => /* @__PURE__ */ T(h, {
115
115
  label: e.label,
@@ -1,26 +1,26 @@
1
1
  import { r as e } from "./i18n-provider-Bdgo-LeP.js";
2
2
  import { t } from "./skeleton-AC0Fb8zj.js";
3
- import { Xr as n, m as r, p as i } from "./F0CanvasPanel-BOo_mxBl.js";
3
+ import { m as n, p as r, ri as i } from "./F0CanvasPanel-D1QmpvzX.js";
4
4
  import { c as a } from "./toolbarStyles-lTj_42zD.js";
5
- import { n as o, t as s } from "./DocumentToolbar-DUe9R1rU.js";
5
+ import { n as o, t as s } from "./DocumentToolbar-mB3bK8uS.js";
6
6
  import { n as c, t as l } from "./sheetPreview-Ca0kCtSa.js";
7
7
  import { useEffect as u, useState as d } from "react";
8
8
  import { Fragment as f, jsx as p, jsxs as m } from "react/jsx-runtime";
9
9
  //#region src/addons/documents/F0DocumentViewer/components/SheetViewer.tsx
10
- var h = 1e3, g = 100, _ = ({ url: t, filename: r, withCredentials: i, hideDownload: o }) => {
10
+ var h = 1e3, g = 100, _ = ({ url: t, filename: n, withCredentials: r, hideDownload: o }) => {
11
11
  let s = e();
12
12
  return /* @__PURE__ */ m("div", {
13
13
  className: "flex shrink-0 items-center gap-2 border-0 border-t border-solid border-f1-border-secondary px-3 py-1.5 text-sm text-f1-foreground-secondary",
14
- children: [s.t("pdfViewer.showingFirstRows.other", { count: h }), o ? null : /* @__PURE__ */ p(n, {
15
- onClick: () => void a(t, r, i),
14
+ children: [s.t("pdfViewer.showingFirstRows.other", { count: h }), o ? null : /* @__PURE__ */ p(i, {
15
+ onClick: () => void a(t, n, r),
16
16
  children: s.pdfViewer.download
17
17
  })]
18
18
  });
19
- }, v = ({ url: n, filename: a, withCredentials: v = !0, actions: y, toolbar: b = "top", hideDownload: x = !1 }) => {
19
+ }, v = ({ url: i, filename: a, withCredentials: v = !0, actions: y, toolbar: b = "top", hideDownload: x = !1 }) => {
20
20
  let S = e(), C = o(), [w, T] = d(null), [E, D] = d(!1), [O, k] = d(0);
21
21
  u(() => {
22
22
  let e = !1;
23
- return T(null), D(!1), k(0), c(n, {
23
+ return T(null), D(!1), k(0), c(i, {
24
24
  maxRows: h,
25
25
  maxCols: g,
26
26
  withCredentials: v
@@ -31,16 +31,16 @@ var h = 1e3, g = 100, _ = ({ url: t, filename: r, withCredentials: i, hideDownlo
31
31
  }), () => {
32
32
  e = !0;
33
33
  };
34
- }, [n, v]);
34
+ }, [i, v]);
35
35
  let A = w ? w[Math.min(O, w.length - 1)] : null, j = A ? l(A.rows) : [], M = /* @__PURE__ */ p(s, {
36
- url: n,
36
+ url: i,
37
37
  filename: a,
38
38
  withCredentials: v,
39
39
  actions: y,
40
40
  zoom: C,
41
41
  placement: b,
42
42
  hideDownload: x,
43
- children: w && w.length > 1 ? /* @__PURE__ */ p(i, {
43
+ children: w && w.length > 1 ? /* @__PURE__ */ p(r, {
44
44
  type: "single",
45
45
  size: "sm",
46
46
  value: String(O),
@@ -48,7 +48,7 @@ var h = 1e3, g = 100, _ = ({ url: t, filename: r, withCredentials: i, hideDownlo
48
48
  e && k(Number(e));
49
49
  },
50
50
  className: "justify-start",
51
- children: w.map((e, t) => /* @__PURE__ */ p(r, {
51
+ children: w.map((e, t) => /* @__PURE__ */ p(n, {
52
52
  value: String(t),
53
53
  className: "whitespace-nowrap",
54
54
  children: e.name
@@ -79,7 +79,7 @@ var h = 1e3, g = 100, _ = ({ url: t, filename: r, withCredentials: i, hideDownlo
79
79
  }, n))] }, t)) })]
80
80
  })
81
81
  }), A.truncatedRows ? /* @__PURE__ */ p(_, {
82
- url: n,
82
+ url: i,
83
83
  filename: a,
84
84
  withCredentials: v,
85
85
  hideDownload: x
@@ -1,7 +1,7 @@
1
1
  import { r as e } from "./i18n-provider-Bdgo-LeP.js";
2
2
  import { t } from "./skeleton-AC0Fb8zj.js";
3
3
  import { a as n } from "./F0Button-d91IgOnc.js";
4
- import { n as r, t as i } from "./DocumentToolbar-DUe9R1rU.js";
4
+ import { n as r, t as i } from "./DocumentToolbar-mB3bK8uS.js";
5
5
  import { t as a } from "./fetchText-o_GOtiv3.js";
6
6
  import { useEffect as o, useState as s } from "react";
7
7
  import { jsx as c, jsxs as l } from "react/jsx-runtime";