@factorialco/f0-react 16.38.0 → 16.39.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.
- package/dist/{ArchiveThumbnail-B8XK-LZk.js → ArchiveThumbnail-BuomQ0jm.js} +7 -7
- package/dist/{ArchiveViewer-CXfdI0uI.js → ArchiveViewer-Cb1a_yK5.js} +6 -6
- package/dist/{ChatPostComposerDialog-CbvkAit4.js → ChatPostComposerDialog-BgqLmmZS.js} +3 -3
- package/dist/{Check-C_yDxMGY.js → Check-Cg2vvL5g.js} +1 -1
- package/dist/{CoachmarkProvider-Df1JEhKz.js → CoachmarkProvider-DXJ3wMBS.js} +14114 -14114
- package/dist/{CodeThumbnail-CSOT4JDe.js → CodeThumbnail-bnwIB0Q2.js} +1 -1
- package/dist/{CodeViewer-Ly_oYLDq.js → CodeViewer-DVL3P-jF.js} +6 -6
- package/dist/{DocumentToolbar-CdJDzgeV.js → DocumentToolbar-7s9QNMWY.js} +5 -5
- package/dist/{DocxViewer-RuTmnDdK.js → DocxViewer-Bn22Gst6.js} +3 -3
- package/dist/{Ellipsis-CQUxNnJr.js → Ellipsis-Bxq1iUUk.js} +1 -1
- package/dist/{ExternalLink-Fo1hQrhp.js → ExternalLink-0G_eeFcn.js} +1 -1
- package/dist/{F0AiProcessingOverlay-CqnORV1-.js → F0AiProcessingOverlay-B6DLMrO7.js} +466 -466
- package/dist/{F0Alert-B3l2GepI.js → F0Alert-m54uY33f.js} +6 -6
- package/dist/F0AudioPlayer-Ck9Vyjrb.js +2 -0
- package/dist/{F0Button-CRX5bM7l.js → F0Button-fMxOyyNk.js} +3 -3
- package/dist/{F0CanvasPanel-D4PRzR6z.js → F0CanvasPanel-CfPdTW_o.js} +8790 -8744
- package/dist/{F0DocumentViewer-DQdiz2r2.js → F0DocumentViewer-C_E6pFUZ.js} +4 -4
- package/dist/{F0DocumentViewer-zhzHWXwJ.js → F0DocumentViewer-FuhnkhM-.js} +1 -1
- package/dist/{F0Map-CQNVmnmS.js → F0Map-ByX3wxFv.js} +70 -70
- package/dist/{F0Select-D_AGBj4P.js → F0Select-BCUynP2p.js} +11 -11
- package/dist/{F0Text-nln_5mr_.js → F0Text-CnmiWNAg.js} +2 -2
- package/dist/F0VideoPlayer-BshnHziC.js +1 -0
- package/dist/{F0VideoPlayer-DMHRZZuF.js → F0VideoPlayer-DGHxduSr.js} +23 -23
- package/dist/{HtmlThumbnail-DLR_pxKp.js → HtmlThumbnail-Bo575heu.js} +1 -1
- package/dist/{HtmlViewer-CwKTV6lj.js → HtmlViewer-Q3xUMpkP.js} +9 -9
- package/dist/{LayoutGroup-DjozJ14S.js → LayoutGroup-OcrcUDNP.js} +1 -1
- package/dist/{LockLocked-eJV3xZDn.js → LockLocked-BmvISDv1.js} +1 -1
- package/dist/{Map-B4_fbQhT.js → Map-FBPV6r6b.js} +12 -12
- package/dist/{PdfThumbnail-CyiV_FU5.js → PdfThumbnail-QkmwtnOA.js} +1 -1
- package/dist/{PdfViewer-CMSygETW.js → PdfViewer-D4NjCixG.js} +8 -8
- package/dist/{SandboxedHtmlFrame-BVvitEn4.js → SandboxedHtmlFrame-4npl5pHT.js} +3 -3
- package/dist/{SheetViewer-CBalTGTj.js → SheetViewer-RsRTbw7A.js} +6 -6
- package/dist/{TextViewer-C3gcA1GD.js → TextViewer-BvwaMVDG.js} +4 -4
- package/dist/ai.d.ts +3 -3
- package/dist/ai.js +5 -5
- package/dist/component-status.js +3 -3
- package/dist/{createIcon-DRrxxnkK.js → createIcon-iM5M-dE_.js} +1 -1
- package/dist/{dist-CFLvAnX2.js → dist-CGYo25BY.js} +2 -2
- package/dist/{dist-CDjojOPL.js → dist-CUKjZKvr.js} +1 -1
- package/dist/{dist-B9Q5wICd.js → dist-CngBJJ6S.js} +4 -4
- package/dist/{dist-BB49d7CP.js → dist-D83RDDAb.js} +2 -2
- package/dist/{dist-BlR9WJJ8.js → dist-DDAe_kuu.js} +1 -1
- package/dist/experimental.d.ts +136 -30
- package/dist/experimental.js +7291 -6592
- package/dist/{exports-B363KqBU.d.ts → exports-DYl7Pf17.d.ts} +1 -1
- package/dist/f0.d.ts +4 -4
- package/dist/f0.js +1639 -1637
- package/dist/{highlight-mPkJel_v.js → highlight-CJDVXMe_.js} +7 -7
- package/dist/{i18n-provider-CnVpBH9I.js → i18n-provider-Bx71VZQH.js} +1 -1
- package/dist/{i18n-provider-defaults-Bh7XGTvG.d.ts → i18n-provider-defaults-BhcttUkN.d.ts} +44 -3
- package/dist/{i18n-provider-defaults-DCJs6SOs.js → i18n-provider-defaults-Dlzuk_lt.js} +38 -3
- package/dist/i18n-provider-defaults.d.ts +1 -1
- package/dist/i18n-provider-defaults.js +1 -1
- package/dist/{index-BETDM9pa.d.ts → index-C7sLtTlR.d.ts} +2 -2
- package/dist/{index-BPqcoGhj.d.ts → index-DOU2q_xI.d.ts} +19 -8
- package/dist/{localized-7ETR3yDx.js → localized-DkdWx-Vy.js} +1 -1
- package/dist/{maplibre-IhyDvm3-.js → maplibre-Dgbj9gtn.js} +1 -1
- package/dist/{pdfWorker-B3r9FIqr.js → pdfWorker-BlDYyNbC.js} +1 -1
- package/dist/{popover-gRMsK8nl.js → popover-BGv1b-fc.js} +1 -1
- package/dist/{skeleton-B2Nqp_5d.js → skeleton-BsSrazKY.js} +1 -1
- package/dist/{toolbarStyles-fzsbc4zM.js → toolbarStyles-DGeMchhq.js} +1 -1
- package/dist/{useData-i0Sxq9o0.js → useData-CmFkOA0P.js} +6 -6
- package/package.json +1 -1
- package/dist/F0AudioPlayer-C5W5cAtb.js +0 -2
- package/dist/F0VideoPlayer-Die8iN9j.js +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as e, r as t } from "./i18n-provider-
|
|
2
|
-
import { n, t as r } from "./skeleton-
|
|
1
|
+
import { a as e, r as t } from "./i18n-provider-Bx71VZQH.js";
|
|
2
|
+
import { n, t as r } from "./skeleton-BsSrazKY.js";
|
|
3
3
|
import { L as i } from "./tooltip-NXXT56H4.js";
|
|
4
|
-
import {
|
|
4
|
+
import { fs as a } from "./F0CanvasPanel-CfPdTW_o.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-
|
|
39
|
+
}, p = c(() => import("./PdfViewer-D4NjCixG.js")), m = c(() => import("./SheetViewer-RsRTbw7A.js")), h = c(() => import("./DocxViewer-Bn22Gst6.js")), g = c(() => import("./TextViewer-BvwaMVDG.js")), _ = c(() => import("./CodeViewer-DVL3P-jF.js")), v = c(() => import("./HtmlViewer-Q3xUMpkP.js")), y = c(() => import("./ArchiveViewer-Cb1a_yK5.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,3 +1,3 @@
|
|
|
1
|
-
import { n as e, r as t, t as n } from "./F0DocumentViewer-
|
|
1
|
+
import { n as e, r as t, t as n } from "./F0DocumentViewer-C_E6pFUZ.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,10 +1,10 @@
|
|
|
1
|
-
import { Si as e, a as t, o as n } from "./CoachmarkProvider-
|
|
2
|
-
import { i as r, r as i } from "./i18n-provider-
|
|
1
|
+
import { Si as e, a as t, o as n } from "./CoachmarkProvider-DXJ3wMBS.js";
|
|
2
|
+
import { i as r, r as i } from "./i18n-provider-Bx71VZQH.js";
|
|
3
3
|
import { L as a, R as o } from "./tooltip-NXXT56H4.js";
|
|
4
|
-
import { K as s, O as c, X as l, h as u, q as d, t as f, x as p } from "./F0Button-
|
|
5
|
-
import {
|
|
6
|
-
import { a as
|
|
7
|
-
import { N as
|
|
4
|
+
import { K as s, O as c, X as l, h as u, q as d, t as f, x as p } from "./F0Button-fMxOyyNk.js";
|
|
5
|
+
import { Vs as m, Zc as h, _c as g, hl as _, in as v, p as y, r as b, un as x } from "./F0CanvasPanel-CfPdTW_o.js";
|
|
6
|
+
import { a as S } from "./createIcon-iM5M-dE_.js";
|
|
7
|
+
import { N as C, T as w, U as ee, p as T, z as E } from "./useData-CmFkOA0P.js";
|
|
8
8
|
import { n as te, o as D, s as O, t as k } from "./dist-DMTFO2gF.js";
|
|
9
9
|
import { createContext as A, forwardRef as j, useCallback as M, useContext as ne, useEffect as N, useId as re, useImperativeHandle as ie, useLayoutEffect as P, useMemo as F, useRef as I, useState as L } from "react";
|
|
10
10
|
import { Fragment as ae, jsx as R, jsxs as z } from "react/jsx-runtime";
|
|
@@ -145,7 +145,7 @@ var se = (e, t) => ({
|
|
|
145
145
|
let e = V.xl;
|
|
146
146
|
return -(e.d - e.caretOverlap + e.caretH + H + U) + 3;
|
|
147
147
|
}, G = "hsl(var(--white-100))", K = j(function(t, n) {
|
|
148
|
-
let { size: i = "md", selected: s = !1, collapsed: c = !1, label: u, showLabel: f = !0, labelPlacement: p = "right", onClick: m, ariaLabel: h, presentational: g = !1, dataTestId: _, className: v } = t, y = t.variant ?? "color", b = V[s ? "xl" : i],
|
|
148
|
+
let { size: i = "md", selected: s = !1, collapsed: c = !1, label: u, showLabel: f = !0, labelPlacement: p = "right", onClick: m, ariaLabel: h, presentational: g = !1, dataTestId: _, className: v } = t, y = t.variant ?? "color", b = V[s ? "xl" : i], x = !!m, C = y === "color" || y === "icon" || y === "letter", ee = y === "person" && "firstName" in t ? t.firstName + t.lastName : (y === "team" || y === "company") && "name" in t ? t.name : null, E = C ? t.color ?? "radical" : ee ? y === "person" && "src" in t && t.src ? "grey" : w(ee) ?? "grey" : "neutral", te = e(), D = s ? 32 : {
|
|
149
149
|
xs: 12,
|
|
150
150
|
sm: 16,
|
|
151
151
|
md: 20,
|
|
@@ -159,7 +159,7 @@ var se = (e, t) => ({
|
|
|
159
159
|
className: "flex shrink-0 items-center justify-center transition-transform duration-200 ease-out",
|
|
160
160
|
style: { transform: `scale(${A})` },
|
|
161
161
|
children: e
|
|
162
|
-
}), M = y === "color" ? null : y === "icon" && "icon" in t ? /* @__PURE__ */ R(
|
|
162
|
+
}), M = y === "color" ? null : y === "icon" && "icon" in t ? /* @__PURE__ */ R(S, {
|
|
163
163
|
icon: t.icon,
|
|
164
164
|
size: b.icon,
|
|
165
165
|
color: "#ffffff",
|
|
@@ -211,7 +211,7 @@ var se = (e, t) => ({
|
|
|
211
211
|
borderRadius: ne ? Math.round(b.d * .3) : 9999,
|
|
212
212
|
borderWidth: b.border,
|
|
213
213
|
borderColor: G,
|
|
214
|
-
backgroundColor:
|
|
214
|
+
backgroundColor: C ? ve(E) : G
|
|
215
215
|
},
|
|
216
216
|
children: y === "color" ? /* @__PURE__ */ R("span", {
|
|
217
217
|
className: "rounded-full transition-all duration-200 ease-out",
|
|
@@ -322,7 +322,7 @@ var se = (e, t) => ({
|
|
|
322
322
|
] });
|
|
323
323
|
return /* @__PURE__ */ R(r, {
|
|
324
324
|
dataTestId: _,
|
|
325
|
-
children:
|
|
325
|
+
children: x ? /* @__PURE__ */ R("button", {
|
|
326
326
|
ref: n,
|
|
327
327
|
type: "button",
|
|
328
328
|
...g ? {
|
|
@@ -385,7 +385,7 @@ var Se = K, Ce = (e, t) => `hsl(${be(e, t).replace(/ /g, ", ")})`, we = (e, t) =
|
|
|
385
385
|
}
|
|
386
386
|
}, Ae = ({ children: e }) => /* @__PURE__ */ R("div", {
|
|
387
387
|
className: q(De.control),
|
|
388
|
-
children: /* @__PURE__ */ R(
|
|
388
|
+
children: /* @__PURE__ */ R(C, {
|
|
389
389
|
...Ee,
|
|
390
390
|
borderRadius: De.control,
|
|
391
391
|
padding: "none",
|
|
@@ -408,21 +408,21 @@ var Se = K, Ce = (e, t) => `hsl(${be(e, t).replace(/ /g, ", ")})`, we = (e, t) =
|
|
|
408
408
|
variant: "ghost",
|
|
409
409
|
size: "md",
|
|
410
410
|
label: o?.fit ?? l.map.controls.fit,
|
|
411
|
-
icon:
|
|
411
|
+
icon: h,
|
|
412
412
|
hideLabel: !0,
|
|
413
413
|
onClick: n
|
|
414
414
|
}) : null, a ? /* @__PURE__ */ R(f, {
|
|
415
415
|
variant: "ghost",
|
|
416
416
|
size: "md",
|
|
417
417
|
label: o?.locate ?? l.map.controls.locate,
|
|
418
|
-
icon:
|
|
418
|
+
icon: m,
|
|
419
419
|
hideLabel: !0,
|
|
420
420
|
onClick: a
|
|
421
421
|
}) : null] })) : null, d ? p(/* @__PURE__ */ z(ae, { children: [e ? /* @__PURE__ */ R(f, {
|
|
422
422
|
variant: "ghost",
|
|
423
423
|
size: "md",
|
|
424
424
|
label: o?.zoomIn ?? l.map.controls.zoomIn,
|
|
425
|
-
icon:
|
|
425
|
+
icon: ee,
|
|
426
426
|
hideLabel: !0,
|
|
427
427
|
onClick: e
|
|
428
428
|
}) : null, t ? /* @__PURE__ */ R(f, {
|
|
@@ -734,7 +734,7 @@ var Pe = ({ 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:
|
|
737
|
+
icon: g
|
|
738
738
|
},
|
|
739
739
|
color: qe
|
|
740
740
|
};
|
|
@@ -937,7 +937,7 @@ var $ = rt, it = 16, at = (e, t, n, r) => {
|
|
|
937
937
|
m.singles,
|
|
938
938
|
p,
|
|
939
939
|
t
|
|
940
|
-
]), _ = Ge(e, it) ? "lg" : "md", v = Ue(e, g, _), y = new Map(t.map((e) => [e.id, e])), b = h.length > 0,
|
|
940
|
+
]), _ = Ge(e, it) ? "lg" : "md", v = Ue(e, g, _), y = new Map(t.map((e) => [e.id, e])), b = h.length > 0, x = ot(e, n ? y.get(n) : void 0, g, _);
|
|
941
941
|
return /* @__PURE__ */ z(l, { children: [h.map((t) => /* @__PURE__ */ R(ct, {
|
|
942
942
|
adapter: e,
|
|
943
943
|
coordinates: t.coordinates,
|
|
@@ -973,7 +973,7 @@ var $ = rt, it = 16, at = (e, t, n, r) => {
|
|
|
973
973
|
})
|
|
974
974
|
})
|
|
975
975
|
}, t.id)), g.map((t) => {
|
|
976
|
-
let i = v[t.id], c =
|
|
976
|
+
let i = v[t.id], c = x?.has(t.id) ?? !1, f = r === t.id;
|
|
977
977
|
return /* @__PURE__ */ R(ct, {
|
|
978
978
|
adapter: e,
|
|
979
979
|
coordinates: t.coordinates,
|
|
@@ -1062,7 +1062,7 @@ var $ = rt, it = 16, at = (e, t, n, r) => {
|
|
|
1062
1062
|
transitionDuration: g.duration,
|
|
1063
1063
|
transitionTimingFunction: g.easing
|
|
1064
1064
|
},
|
|
1065
|
-
children: /* @__PURE__ */ R(
|
|
1065
|
+
children: /* @__PURE__ */ R(C, {
|
|
1066
1066
|
...Ee,
|
|
1067
1067
|
borderRadius: De.panel,
|
|
1068
1068
|
padding: "none",
|
|
@@ -1117,7 +1117,7 @@ function xt({ enabled: e, children: t, ...n }) {
|
|
|
1117
1117
|
});
|
|
1118
1118
|
}
|
|
1119
1119
|
function St({ hasSecondarySidebar: e, topBarHeight: t, children: n }) {
|
|
1120
|
-
let { isInstant: r, landInstantly: i } = yt(), a = bt(), [o, s] = L(O.panel), [c, l] =
|
|
1120
|
+
let { isInstant: r, landInstantly: i } = yt(), a = bt(), [o, s] = L(O.panel), [c, l] = v({
|
|
1121
1121
|
key: mt,
|
|
1122
1122
|
fallback: null,
|
|
1123
1123
|
validate: gt,
|
|
@@ -1128,27 +1128,27 @@ function St({ hasSecondarySidebar: e, topBarHeight: t, children: n }) {
|
|
|
1128
1128
|
i(), l(e);
|
|
1129
1129
|
}, [i, l]), _ = M(function() {
|
|
1130
1130
|
i(), l(null);
|
|
1131
|
-
}, [i, l]),
|
|
1132
|
-
|
|
1131
|
+
}, [i, l]), y = p(`(max-width: ${ht + (e ? d : O.panel) + D.mainMin - 1}px)`, { initializeWithValue: !0 }) ? "overlay" : "docked", [b, x] = L(!1), S = I(0), C = M(function() {
|
|
1132
|
+
x(!1);
|
|
1133
1133
|
}, []);
|
|
1134
1134
|
P(function() {
|
|
1135
|
-
i(),
|
|
1135
|
+
i(), y === "docked" && C();
|
|
1136
1136
|
}, [
|
|
1137
|
-
|
|
1137
|
+
y,
|
|
1138
1138
|
i,
|
|
1139
|
-
|
|
1139
|
+
C
|
|
1140
1140
|
]);
|
|
1141
|
-
let
|
|
1141
|
+
let w = y === "overlay" && b && e;
|
|
1142
1142
|
P(function() {
|
|
1143
|
-
i(), e ||
|
|
1143
|
+
i(), e || C();
|
|
1144
1144
|
}, [
|
|
1145
1145
|
e,
|
|
1146
1146
|
i,
|
|
1147
|
-
|
|
1147
|
+
C
|
|
1148
1148
|
]);
|
|
1149
|
-
let
|
|
1149
|
+
let ee = I(e);
|
|
1150
1150
|
P(function() {
|
|
1151
|
-
|
|
1151
|
+
ee.current = e;
|
|
1152
1152
|
});
|
|
1153
1153
|
let T = I(null);
|
|
1154
1154
|
N(function() {
|
|
@@ -1157,21 +1157,21 @@ function St({ hasSecondarySidebar: e, topBarHeight: t, children: n }) {
|
|
|
1157
1157
|
};
|
|
1158
1158
|
}, []);
|
|
1159
1159
|
let E = M(function() {
|
|
1160
|
-
|
|
1161
|
-
|
|
1160
|
+
y !== "docked" && (S.current = Date.now(), x(!0), T.current && clearTimeout(T.current), T.current = setTimeout(function() {
|
|
1161
|
+
ee.current || x(!1);
|
|
1162
1162
|
}, pt));
|
|
1163
|
-
}, [
|
|
1164
|
-
|
|
1165
|
-
}, [
|
|
1163
|
+
}, [y]), te = C, k = M(function() {
|
|
1164
|
+
w || (S.current = Date.now()), x(!w);
|
|
1165
|
+
}, [w]);
|
|
1166
1166
|
N(function() {
|
|
1167
|
-
if (!
|
|
1167
|
+
if (!w) return;
|
|
1168
1168
|
let e = (e) => {
|
|
1169
|
-
e.key === "Escape" && !e.defaultPrevented &&
|
|
1169
|
+
e.key === "Escape" && !e.defaultPrevented && x(!1);
|
|
1170
1170
|
};
|
|
1171
1171
|
return window.addEventListener("keydown", e), () => window.removeEventListener("keydown", e);
|
|
1172
|
-
}, [
|
|
1172
|
+
}, [w]);
|
|
1173
1173
|
let A = M(function() {
|
|
1174
|
-
Date.now() -
|
|
1174
|
+
Date.now() - S.current < pt || x(!1);
|
|
1175
1175
|
}, []), j = F(function() {
|
|
1176
1176
|
return {
|
|
1177
1177
|
primarySidebarWidth: ht,
|
|
@@ -1181,8 +1181,8 @@ function St({ hasSecondarySidebar: e, topBarHeight: t, children: n }) {
|
|
|
1181
1181
|
declareSecondarySidebarWidth: h,
|
|
1182
1182
|
resizeSecondarySidebar: g,
|
|
1183
1183
|
resetSecondarySidebarWidth: _,
|
|
1184
|
-
navigationMode:
|
|
1185
|
-
isOpenOverPage:
|
|
1184
|
+
navigationMode: y,
|
|
1185
|
+
isOpenOverPage: w,
|
|
1186
1186
|
openOverPage: E,
|
|
1187
1187
|
toggleOverPage: k,
|
|
1188
1188
|
closeOverPage: te,
|
|
@@ -1198,8 +1198,8 @@ function St({ hasSecondarySidebar: e, topBarHeight: t, children: n }) {
|
|
|
1198
1198
|
h,
|
|
1199
1199
|
g,
|
|
1200
1200
|
_,
|
|
1201
|
-
|
|
1202
|
-
|
|
1201
|
+
y,
|
|
1202
|
+
w,
|
|
1203
1203
|
E,
|
|
1204
1204
|
k,
|
|
1205
1205
|
te,
|
|
@@ -1241,9 +1241,9 @@ function It({ children: e }) {
|
|
|
1241
1241
|
let { currentPath: t } = s(), n = vt(), [r, i] = L(!1), [a, o] = L(!1), c = p(`(max-width: ${te.md}px)`, { initializeWithValue: !0 }), l = p(`(max-width: ${te.xl}px)`, { initializeWithValue: !0 }), u = r ? l : c, [d, f] = L(() => {
|
|
1242
1242
|
let e = localStorage.getItem(Ct);
|
|
1243
1243
|
return e === null || !!e;
|
|
1244
|
-
}), [m, h] = L(!1), g =
|
|
1244
|
+
}), [m, h] = L(!1), g = x(), [_, v] = L(null), [y, b] = L(null), S = g && n?.hasSecondarySidebar === !0 && n.navigationMode === "docked" && d && y !== _ ? _ : null, C = M(function(e) {
|
|
1245
1245
|
v(e), o(!1);
|
|
1246
|
-
}, []), [
|
|
1246
|
+
}, []), [w, ee] = L(null), T = I(null), E = I(null), D = M(function() {
|
|
1247
1247
|
T.current && clearTimeout(T.current), T.current = null, E.current = null;
|
|
1248
1248
|
}, []), O = M(function(e, t) {
|
|
1249
1249
|
E.current !== e && (D(), E.current = e, T.current = setTimeout(() => {
|
|
@@ -1254,14 +1254,14 @@ function It({ children: e }) {
|
|
|
1254
1254
|
let k = M(function() {
|
|
1255
1255
|
n ? n.closeOverPage() : (D(), h(!1));
|
|
1256
1256
|
}, [n, D]), A = M(function({ isInvokedByUser: e } = { isInvokedByUser: !0 }) {
|
|
1257
|
-
n?.navigationMode === "overlay" ? n.toggleOverPage() : (o(e ?? !0),
|
|
1257
|
+
n?.navigationMode === "overlay" ? n.toggleOverPage() : (o(e ?? !0), b(_), !S && (u && !n && h(!m), f(!d)));
|
|
1258
1258
|
}, [
|
|
1259
1259
|
n,
|
|
1260
1260
|
u,
|
|
1261
1261
|
m,
|
|
1262
1262
|
d,
|
|
1263
1263
|
_,
|
|
1264
|
-
|
|
1264
|
+
S
|
|
1265
1265
|
]), j = M(function(e) {
|
|
1266
1266
|
u || n || d || (jt.has(e.nativeEvent) ? D() : !m && e.clientX < wt ? O(!0, Tt) : m && e.clientX > Et ? O(!1, Dt) : D());
|
|
1267
1267
|
}, [
|
|
@@ -1273,7 +1273,7 @@ function It({ children: e }) {
|
|
|
1273
1273
|
D
|
|
1274
1274
|
]), ne = M(function() {
|
|
1275
1275
|
E.current && D();
|
|
1276
|
-
}, [D]), re = n ? Pt(n, d &&
|
|
1276
|
+
}, [D]), re = n ? Pt(n, d && S === null) : Ft(u, d, m), ie = n?.closeOverPageAfterRouteChange;
|
|
1277
1277
|
N(function() {
|
|
1278
1278
|
D(), h(!1), ie?.();
|
|
1279
1279
|
}, [
|
|
@@ -1284,13 +1284,13 @@ function It({ children: e }) {
|
|
|
1284
1284
|
a && localStorage.setItem(Ct, d ? "1" : "");
|
|
1285
1285
|
}, [d, a]), N(function() {
|
|
1286
1286
|
return () => {
|
|
1287
|
-
|
|
1287
|
+
ee({
|
|
1288
1288
|
sidebarState: re,
|
|
1289
1289
|
locked: d
|
|
1290
1290
|
});
|
|
1291
1291
|
};
|
|
1292
1292
|
}, [re, d]);
|
|
1293
|
-
let P =
|
|
1293
|
+
let P = w?.sidebarState ?? null, ae = a && w?.sidebarState === "hidden" && !w.locked && re === "locked", z = n !== null, oe = !z && l, se = F(function() {
|
|
1294
1294
|
return {
|
|
1295
1295
|
isSmallScreen: u,
|
|
1296
1296
|
isLastToggleInvokedByUser: a,
|
|
@@ -1315,10 +1315,10 @@ function It({ children: e }) {
|
|
|
1315
1315
|
z
|
|
1316
1316
|
]), ce = F(function() {
|
|
1317
1317
|
return {
|
|
1318
|
-
steppedAsideFor:
|
|
1319
|
-
takeCard:
|
|
1318
|
+
steppedAsideFor: S,
|
|
1319
|
+
takeCard: C
|
|
1320
1320
|
};
|
|
1321
|
-
}, [
|
|
1321
|
+
}, [S, C]);
|
|
1322
1322
|
return /* @__PURE__ */ R(Ot.Provider, {
|
|
1323
1323
|
value: se,
|
|
1324
1324
|
children: /* @__PURE__ */ R(kt.Provider, {
|
|
@@ -1382,20 +1382,20 @@ function Bt({ isExpanded: e, isHovered: t = !1 }) {
|
|
|
1382
1382
|
strokeWidth: "1.3",
|
|
1383
1383
|
strokeLinecap: "round",
|
|
1384
1384
|
strokeLinejoin: "round",
|
|
1385
|
-
className: a("stroke-current", zt,
|
|
1385
|
+
className: a("stroke-current", zt, y, "origin-[10.5835px_10px]", e ? "scale-x-100" : "-scale-x-100", n.arrow)
|
|
1386
1386
|
}),
|
|
1387
1387
|
/* @__PURE__ */ R("path", {
|
|
1388
1388
|
id: "line",
|
|
1389
1389
|
d: "M7.5 5L7.5 15",
|
|
1390
1390
|
strokeWidth: "1.3",
|
|
1391
1391
|
strokeLinecap: "round",
|
|
1392
|
-
className: a("stroke-current", zt,
|
|
1392
|
+
className: a("stroke-current", zt, y, n.line)
|
|
1393
1393
|
})
|
|
1394
1394
|
]
|
|
1395
1395
|
});
|
|
1396
1396
|
}
|
|
1397
1397
|
function Vt() {
|
|
1398
|
-
let { prevSidebarState: e, sidebarState: t, toggleSidebar: n, isLastToggleInvokedByUser: r } = Nt(), a = I(null), [o, s] = L(!1), l =
|
|
1398
|
+
let { prevSidebarState: e, sidebarState: t, toggleSidebar: n, isLastToggleInvokedByUser: r } = Nt(), a = I(null), [o, s] = L(!1), l = b() === "two-level";
|
|
1399
1399
|
N(function() {
|
|
1400
1400
|
l && e === "hidden" && (t === "unlocked" || t === "locked" && r) && a.current?.focus();
|
|
1401
1401
|
}, [
|
|
@@ -1478,8 +1478,8 @@ function Ut() {
|
|
|
1478
1478
|
children: /* @__PURE__ */ R(Ht, { isExpanded: t === "locked" })
|
|
1479
1479
|
}), /* @__PURE__ */ R("div", {
|
|
1480
1480
|
className: a("hidden", { flex: r }),
|
|
1481
|
-
children: /* @__PURE__ */ R(
|
|
1482
|
-
icon:
|
|
1481
|
+
children: /* @__PURE__ */ R(S, {
|
|
1482
|
+
icon: _,
|
|
1483
1483
|
size: "md"
|
|
1484
1484
|
})
|
|
1485
1485
|
})]
|
|
@@ -1630,7 +1630,7 @@ var Qt = {
|
|
|
1630
1630
|
isDark: e
|
|
1631
1631
|
};
|
|
1632
1632
|
}, rn = {
|
|
1633
|
-
maplibre: async () => (await import("./maplibre-
|
|
1633
|
+
maplibre: async () => (await import("./maplibre-Dgbj9gtn.js")).createMaplibreAdapter,
|
|
1634
1634
|
google: async (e) => (await import("./google-DDQ7XfPD.js")).loadGoogleAdapter(e)
|
|
1635
1635
|
}, an = /* @__PURE__ */ new Map(), on = (e, t) => {
|
|
1636
1636
|
let n = an.get(e);
|
|
@@ -11784,15 +11784,15 @@ var Qt = {
|
|
|
11784
11784
|
maxZoom: u
|
|
11785
11785
|
});
|
|
11786
11786
|
d && (n ? e.easeTo(d, { animate: n }) : e.jumpTo(d, { animate: n }));
|
|
11787
|
-
}, Sn = (e) => `${e.top},${e.right},${e.bottom},${e.left}`, Cn = j(function({ markers: e = [], routes: o = [], arcs: s = [], areas: c = [], onRouteClick: l, onArcClick: d, selectedMarkerId: f, defaultSelectedMarkerId: p = null, onMarkerSelect: m, onMarkerDrag: h, onMarkerDragEnd: g, highlightedId: _ = null, viewportInset: v, centerOnMarkerClick: y = !1, fitToMarkers: b, initialViewport:
|
|
11788
|
-
let be =
|
|
11787
|
+
}, Sn = (e) => `${e.top},${e.right},${e.bottom},${e.left}`, Cn = j(function({ markers: e = [], routes: o = [], arcs: s = [], areas: c = [], onRouteClick: l, onArcClick: d, selectedMarkerId: f, defaultSelectedMarkerId: p = null, onMarkerSelect: m, onMarkerDrag: h, onMarkerDragEnd: g, highlightedId: _ = null, viewportInset: v, centerOnMarkerClick: y = !1, fitToMarkers: b, initialViewport: x, mapStyle: S, interactive: C = !0, gestureHandling: w, minZoom: ee, maxZoom: T = 18, showControls: E = !0, controlLabels: te, showCurrentLocation: D = !1, fullScreen: O = !1, onSidebarToggle: k, sidebarExpanded: A = !1, sidebarToggleAddon: j, sidebarHeaderStart: ne, sidebar: P, detail: F, detailOpen: oe = !1, clearSelectionOnBackgroundClick: fe = !0, projection: pe = "mercator", provider: me, loading: he = !1, ariaLabel: ge, dataTestId: _e, className: ve }, ye) {
|
|
11788
|
+
let be = w ?? (O ? "greedy" : "cooperative"), B = i(), V = t(me), xe = n(), H = I(null), U = I(null), [W, G] = L(null), [K, Se] = L(!1), [Ce, we] = L(!1), [Ee, De] = L(0), Oe = re(), q = u(), { containerRef: ke, isDark: Me } = nn(), Pe = M((e) => {
|
|
11789
11789
|
H.current = e, ke(e);
|
|
11790
|
-
}, [ke]), Fe = Me, Ie = !
|
|
11790
|
+
}, [ke]), Fe = Me, Ie = !S || S.provider === V, Le = Ie ? S ?? gn(V) : gn(V), Re = Fe ? Le.dark : Le.light, ze = I(!1);
|
|
11791
11791
|
N(() => {
|
|
11792
|
-
Ie || ze.current || (ze.current = !0, console.warn(`F0Map: ignoring a "${
|
|
11792
|
+
Ie || ze.current || (ze.current = !0, console.warn(`F0Map: ignoring a "${S?.provider}" mapStyle on the "${V}" engine - the shapes are not interchangeable. Pass a "${V}" style, or none for its default look.`));
|
|
11793
11793
|
}, [
|
|
11794
11794
|
Ie,
|
|
11795
|
-
|
|
11795
|
+
S?.provider,
|
|
11796
11796
|
V
|
|
11797
11797
|
]);
|
|
11798
11798
|
let [Be, Ve] = L(p), He = f === void 0 ? Be : f, Ue = M((e) => {
|
|
@@ -11815,7 +11815,7 @@ var Qt = {
|
|
|
11815
11815
|
tt.current = Je;
|
|
11816
11816
|
let nt = I(fe);
|
|
11817
11817
|
nt.current = fe;
|
|
11818
|
-
let Q = I(null), rt = b ??
|
|
11818
|
+
let Q = I(null), rt = b ?? x === void 0, $ = M(() => {
|
|
11819
11819
|
let e = {
|
|
11820
11820
|
width: H.current?.clientWidth ?? 0,
|
|
11821
11821
|
height: H.current?.clientHeight ?? 0
|
|
@@ -11924,7 +11924,7 @@ var Qt = {
|
|
|
11924
11924
|
yt.current = Re;
|
|
11925
11925
|
let bt = I(xe);
|
|
11926
11926
|
bt.current = xe;
|
|
11927
|
-
let xt = I(null), St = I(
|
|
11927
|
+
let xt = I(null), St = I(x ?? vn);
|
|
11928
11928
|
N(() => {
|
|
11929
11929
|
if (he) return;
|
|
11930
11930
|
let e = H.current;
|
|
@@ -11939,9 +11939,9 @@ var Qt = {
|
|
|
11939
11939
|
style: yt.current,
|
|
11940
11940
|
center: t.center,
|
|
11941
11941
|
zoom: t.zoom ?? vn.zoom,
|
|
11942
|
-
minZoom:
|
|
11942
|
+
minZoom: ee,
|
|
11943
11943
|
maxZoom: T,
|
|
11944
|
-
interactive:
|
|
11944
|
+
interactive: C,
|
|
11945
11945
|
cooperativeGestures: be === "cooperative"
|
|
11946
11946
|
});
|
|
11947
11947
|
} catch {
|
|
@@ -11976,9 +11976,9 @@ var Qt = {
|
|
|
11976
11976
|
}
|
|
11977
11977
|
}, [
|
|
11978
11978
|
he,
|
|
11979
|
-
|
|
11979
|
+
C,
|
|
11980
11980
|
be,
|
|
11981
|
-
|
|
11981
|
+
ee,
|
|
11982
11982
|
T,
|
|
11983
11983
|
rt,
|
|
11984
11984
|
V,
|
|
@@ -12119,7 +12119,7 @@ var Qt = {
|
|
|
12119
12119
|
}),
|
|
12120
12120
|
children: P
|
|
12121
12121
|
}) : null,
|
|
12122
|
-
!K && W && E &&
|
|
12122
|
+
!K && W && E && C ? /* @__PURE__ */ R("div", {
|
|
12123
12123
|
className: a("absolute left-2 z-10", V === "google" ? "bottom-8" : "bottom-2"),
|
|
12124
12124
|
style: {
|
|
12125
12125
|
transform: `translateX(${Dt}px)`,
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { o as e, r as t, t as n } from "./rolldown-runtime-BItFwnF5.js";
|
|
2
|
-
import { a as r, i, r as a } from "./i18n-provider-
|
|
3
|
-
import { n as o, t as s } from "./skeleton-
|
|
2
|
+
import { a as r, i, r as a } from "./i18n-provider-Bx71VZQH.js";
|
|
3
|
+
import { n as o, t as s } from "./skeleton-BsSrazKY.js";
|
|
4
4
|
import { L as c, R as l, d as u, i as d, n as f, r as p, t as m } from "./tooltip-NXXT56H4.js";
|
|
5
|
-
import { A as h, E as g, H as _, L as v, O as y, X as b, d as x, h as S, j as C, k as w, n as ee, q as T, r as E, t as D, z as O } from "./F0Button-
|
|
6
|
-
import { a as k, o as A, t as j, u as te } from "./createIcon-
|
|
7
|
-
import { H as ne, I as re, N as ie, P as ae, R as oe, U as se, V as ce, a as M, b as N, f as le, i as ue, m as de, o as fe, p as pe, u as me, v as he, z as ge } from "./useData-
|
|
8
|
-
import { t as _e } from "./Check-
|
|
9
|
-
import { a as ve, i as ye, r as be, t as xe } from "./dist-
|
|
10
|
-
import { t as Se } from "./ExternalLink-
|
|
11
|
-
import { n as Ce, t as we } from "./LockLocked-
|
|
5
|
+
import { A as h, E as g, H as _, L as v, O as y, X as b, d as x, h as S, j as C, k as w, n as ee, q as T, r as E, t as D, z as O } from "./F0Button-fMxOyyNk.js";
|
|
6
|
+
import { a as k, o as A, t as j, u as te } from "./createIcon-iM5M-dE_.js";
|
|
7
|
+
import { H as ne, I as re, N as ie, P as ae, R as oe, U as se, V as ce, a as M, b as N, f as le, i as ue, m as de, o as fe, p as pe, u as me, v as he, z as ge } from "./useData-CmFkOA0P.js";
|
|
8
|
+
import { t as _e } from "./Check-Cg2vvL5g.js";
|
|
9
|
+
import { a as ve, i as ye, r as be, t as xe } from "./dist-D83RDDAb.js";
|
|
10
|
+
import { t as Se } from "./ExternalLink-0G_eeFcn.js";
|
|
11
|
+
import { n as Ce, t as we } from "./LockLocked-BmvISDv1.js";
|
|
12
12
|
import "./purify.es-CJ7gZxxn.js";
|
|
13
|
-
import { $ as Te, A as Ee, B as De, D as Oe, E as ke, F as Ae, G as je, H as Me, I as Ne, J as Pe, L as Fe, M as Ie, N as Le, O as Re, P as ze, Q as Be, R as Ve, U as He, V as Ue, W as We, Y as Ge, Z as Ke, a as qe, i as Je, j as Ye, k as Xe, q as Ze, t as Qe, z as $e } from "./popover-
|
|
14
|
-
import { b as et, c as tt, d as nt, g as rt, h as it, n as at, r as ot, t as st, u as ct, v as lt, y as ut } from "./dist-
|
|
13
|
+
import { $ as Te, A as Ee, B as De, D as Oe, E as ke, F as Ae, G as je, H as Me, I as Ne, J as Pe, L as Fe, M as Ie, N as Le, O as Re, P as ze, Q as Be, R as Ve, U as He, V as Ue, W as We, Y as Ge, Z as Ke, a as qe, i as Je, j as Ye, k as Xe, q as Ze, t as Qe, z as $e } from "./popover-BGv1b-fc.js";
|
|
14
|
+
import { b as et, c as tt, d as nt, g as rt, h as it, n as at, r as ot, t as st, u as ct, v as lt, y as ut } from "./dist-CGYo25BY.js";
|
|
15
15
|
import { t as dt } from "./dist-DMTFO2gF.js";
|
|
16
16
|
import * as P from "react";
|
|
17
17
|
import ft, { Children as pt, Component as mt, Fragment as ht, cloneElement as gt, createContext as _t, forwardRef as F, useCallback as I, useContext as vt, useEffect as L, useId as yt, useImperativeHandle as bt, useLayoutEffect as xt, useMemo as R, useReducer as St, useRef as z, useState as B } from "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as e } from "./i18n-provider-
|
|
2
|
-
import { y as t } from "./dist-
|
|
1
|
+
import { a as e } from "./i18n-provider-Bx71VZQH.js";
|
|
2
|
+
import { y as t } from "./dist-CGYo25BY.js";
|
|
3
3
|
import { forwardRef as n } from "react";
|
|
4
4
|
import { jsx as r } from "react/jsx-runtime";
|
|
5
5
|
//#region src/elements/F0Text/F0Text.tsx
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as F0VideoPlayer } from "./F0VideoPlayer-DGHxduSr.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { a as e, r as t } from "./i18n-provider-
|
|
2
|
-
import { n } from "./skeleton-
|
|
1
|
+
import { a as e, r as t } from "./i18n-provider-Bx71VZQH.js";
|
|
2
|
+
import { n } from "./skeleton-BsSrazKY.js";
|
|
3
3
|
import { L as r, R as i } from "./tooltip-NXXT56H4.js";
|
|
4
|
-
import { t as a } from "./F0Button-
|
|
5
|
-
import {
|
|
6
|
-
import { a as m, o as h } from "./createIcon-
|
|
7
|
-
import { t as g } from "./Check-
|
|
8
|
-
import { a as _, i as v, n as y, o as b, r as x, t as S } from "./localized-
|
|
9
|
-
import { S as C, _ as w, a as T, b as E, d as D, f as O, g as k, i as A, t as j, v as M, w as ee, x as te } from "./popover-
|
|
4
|
+
import { t as a } from "./F0Button-fMxOyyNk.js";
|
|
5
|
+
import { Ds as o, Es as s, Os as c, Xs as l, jc as u, qc as d, ul as f, wc as p } from "./F0CanvasPanel-CfPdTW_o.js";
|
|
6
|
+
import { a as m, o as h } from "./createIcon-iM5M-dE_.js";
|
|
7
|
+
import { t as g } from "./Check-Cg2vvL5g.js";
|
|
8
|
+
import { a as _, i as v, n as y, o as b, r as x, t as S } from "./localized-DkdWx-Vy.js";
|
|
9
|
+
import { S as C, _ as w, a as T, b as E, d as D, f as O, g as k, i as A, t as j, v as M, w as ee, x as te } from "./popover-BGv1b-fc.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";
|
|
@@ -323,7 +323,7 @@ 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:
|
|
326
|
+
function de({ containerRef: e, audioLanguages: n, audioLanguage: r, onAudioLanguageChange: i, captionLanguages: o, captionLanguage: s, captionsOn: c, onCaptionLanguageChange: u, onCaptionsOff: f, audioDescriptionLanguages: p, audioDescriptionLanguage: m, audioDescriptionOn: h, onAudioDescriptionLanguageChange: g, onAudioDescriptionOff: _ }) {
|
|
327
327
|
let { t: v } = t(), y = e.current, b = v("videoPlayer.off");
|
|
328
328
|
return /* @__PURE__ */ V(D, { children: [/* @__PURE__ */ B(ee, {
|
|
329
329
|
asChild: !0,
|
|
@@ -331,7 +331,7 @@ function de({ containerRef: e, audioLanguages: n, audioLanguage: r, onAudioLangu
|
|
|
331
331
|
variant: "ghost",
|
|
332
332
|
size: "sm",
|
|
333
333
|
hideLabel: !0,
|
|
334
|
-
icon:
|
|
334
|
+
icon: l,
|
|
335
335
|
label: v("videoPlayer.settings")
|
|
336
336
|
})
|
|
337
337
|
}), /* @__PURE__ */ V(O, {
|
|
@@ -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:
|
|
344
|
+
icon: d,
|
|
345
345
|
label: v("videoPlayer.audio"),
|
|
346
346
|
container: y,
|
|
347
347
|
options: n,
|
|
@@ -356,7 +356,7 @@ function de({ containerRef: e, audioLanguages: n, audioLanguage: r, onAudioLangu
|
|
|
356
356
|
options: o,
|
|
357
357
|
value: s,
|
|
358
358
|
on: c,
|
|
359
|
-
onLanguageChange:
|
|
359
|
+
onLanguageChange: u,
|
|
360
360
|
onOff: f,
|
|
361
361
|
offLabel: b
|
|
362
362
|
}) : null,
|
|
@@ -380,16 +380,16 @@ 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 ?
|
|
383
|
+
return t || e === 0 ? s : e <= .5 ? o : c;
|
|
384
384
|
}
|
|
385
|
-
function me({ volume: e, isMuted: n, onToggleMute: r, onVolumeChange: i, silent:
|
|
385
|
+
function me({ volume: e, isMuted: n, onToggleMute: r, onVolumeChange: i, silent: o = !1 }) {
|
|
386
386
|
let { t: c } = t(), l = n || e === 0;
|
|
387
|
-
return
|
|
387
|
+
return o ? /* @__PURE__ */ B(a, {
|
|
388
388
|
variant: "ghost",
|
|
389
389
|
size: "sm",
|
|
390
390
|
hideLabel: !0,
|
|
391
391
|
disabled: !0,
|
|
392
|
-
icon:
|
|
392
|
+
icon: s,
|
|
393
393
|
label: c("videoPlayer.noAudio")
|
|
394
394
|
}) : /* @__PURE__ */ V("div", {
|
|
395
395
|
className: "flex items-center gap-1",
|
|
@@ -470,7 +470,7 @@ 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: o, isMuted:
|
|
473
|
+
function ge({ isPlaying: e, currentTime: n, duration: i, volume: o, isMuted: s, playbackRate: c, isFullscreen: l, markerTime: d, blockSeekPastMarker: m, containerRef: h, captionsAvailable: g, captionsOn: v, audioDescriptionAvailable: y, audioDescriptionOn: x, silent: S, persist: C, audioLanguages: w, audioLanguage: T, onAudioLanguageChange: E, captionLanguages: D, captionLanguage: O, onCaptionLanguageChange: k, onCaptionsOff: A, audioDescriptionLanguages: j, audioDescriptionLanguage: M, onAudioDescriptionLanguageChange: ee, onAudioDescriptionOff: te, onTogglePlay: ne, onToggleMute: N, onVolumeChange: P, onPlaybackRateChange: F, onToggleFullscreen: I, onToggleCaptions: L, onToggleAudioDescription: R, onSeek: z, download: H }) {
|
|
474
474
|
let { t: U } = t(), re = g && D.length <= 1, W = y && j.length <= 1, G = fe({
|
|
475
475
|
audioLanguages: w.length,
|
|
476
476
|
captionLanguages: D.length,
|
|
@@ -490,7 +490,7 @@ function ge({ isPlaying: e, currentTime: n, duration: i, volume: o, isMuted: c,
|
|
|
490
490
|
/* @__PURE__ */ B(se, {
|
|
491
491
|
currentTime: n,
|
|
492
492
|
duration: i,
|
|
493
|
-
markerTime:
|
|
493
|
+
markerTime: d,
|
|
494
494
|
blockSeekPastMarker: m,
|
|
495
495
|
onSeek: z
|
|
496
496
|
}),
|
|
@@ -504,13 +504,13 @@ function ge({ isPlaying: e, currentTime: n, duration: i, volume: o, isMuted: c,
|
|
|
504
504
|
}),
|
|
505
505
|
/* @__PURE__ */ B(me, {
|
|
506
506
|
volume: o,
|
|
507
|
-
isMuted:
|
|
507
|
+
isMuted: s,
|
|
508
508
|
onToggleMute: N,
|
|
509
509
|
onVolumeChange: P,
|
|
510
510
|
silent: S
|
|
511
511
|
}),
|
|
512
512
|
/* @__PURE__ */ B(oe, {
|
|
513
|
-
value:
|
|
513
|
+
value: c,
|
|
514
514
|
onChange: F,
|
|
515
515
|
containerRef: h
|
|
516
516
|
}),
|
|
@@ -552,7 +552,7 @@ function ge({ isPlaying: e, currentTime: n, duration: i, volume: o, isMuted: c,
|
|
|
552
552
|
variant: "ghost",
|
|
553
553
|
size: "sm",
|
|
554
554
|
hideLabel: !0,
|
|
555
|
-
icon:
|
|
555
|
+
icon: f,
|
|
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: o, isMuted: c,
|
|
|
560
560
|
variant: "ghost",
|
|
561
561
|
size: "sm",
|
|
562
562
|
hideLabel: !0,
|
|
563
|
-
icon:
|
|
564
|
-
label: U(
|
|
563
|
+
icon: l ? p : u,
|
|
564
|
+
label: U(l ? "videoPlayer.exitFullscreen" : "videoPlayer.enterFullscreen"),
|
|
565
565
|
onClick: I
|
|
566
566
|
})
|
|
567
567
|
]
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as e } from "./SandboxedHtmlFrame-
|
|
1
|
+
import { n as e } from "./SandboxedHtmlFrame-4npl5pHT.js";
|
|
2
2
|
import { t } from "./useThumbnailText-DwXQvLIe.js";
|
|
3
3
|
import { useEffect as n, useMemo as r, useState as i } from "react";
|
|
4
4
|
import { jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { r as e } from "./i18n-provider-
|
|
2
|
-
import { t } from "./skeleton-
|
|
1
|
+
import { r as e } from "./i18n-provider-Bx71VZQH.js";
|
|
2
|
+
import { t } from "./skeleton-BsSrazKY.js";
|
|
3
3
|
import { L as n } from "./tooltip-NXXT56H4.js";
|
|
4
|
-
import {
|
|
5
|
-
import { a as i } from "./createIcon-
|
|
6
|
-
import { Dr as a } from "./F0Select-
|
|
7
|
-
import { t as o } from "./F0Alert-
|
|
8
|
-
import { r as s } from "./toolbarStyles-
|
|
9
|
-
import { t as c } from "./DocumentToolbar-
|
|
4
|
+
import { Rl as r } from "./F0CanvasPanel-CfPdTW_o.js";
|
|
5
|
+
import { a as i } from "./createIcon-iM5M-dE_.js";
|
|
6
|
+
import { Dr as a } from "./F0Select-BCUynP2p.js";
|
|
7
|
+
import { t as o } from "./F0Alert-m54uY33f.js";
|
|
8
|
+
import { r as s } from "./toolbarStyles-DGeMchhq.js";
|
|
9
|
+
import { t as c } from "./DocumentToolbar-7s9QNMWY.js";
|
|
10
10
|
import { t as l } from "./useFetchedText-BR3_KLXx.js";
|
|
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-
|
|
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-4npl5pHT.js";
|
|
12
12
|
import { useEffect as b, useMemo as x, useRef as S, useState as C } from "react";
|
|
13
13
|
import { Fragment as w, jsx as T, jsxs as E } from "react/jsx-runtime";
|
|
14
14
|
//#region src/addons/documents/lib/html-sandbox/UserContentFrame.tsx
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { It as e, Rt as t, wt as n } from "./F0Button-
|
|
1
|
+
import { It as e, Rt as t, wt as n } from "./F0Button-fMxOyyNk.js";
|
|
2
2
|
import { createContext as r, useCallback as i, useContext as a, useMemo as o, useRef as s, useState as c } from "react";
|
|
3
3
|
import { jsx as l } from "react/jsx-runtime";
|
|
4
4
|
//#region ../../node_modules/.bun/motion-dom@12.43.0/node_modules/motion-dom/dist/es/projection/node/group.mjs
|