markdown-flow-ui 0.1.108-beta.4 → 0.1.109
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/components/Slide/Player.cjs.js +1 -1
- package/dist/components/Slide/Player.cjs.js.map +1 -1
- package/dist/components/Slide/Player.es.js +70 -70
- package/dist/components/Slide/Player.es.js.map +1 -1
- package/dist/components/Slide/Slide.cjs.js.map +1 -1
- package/dist/components/Slide/Slide.es.js.map +1 -1
- package/dist/components/Slide/SubtitleOverlay.cjs.js.map +1 -1
- package/dist/components/Slide/SubtitleOverlay.es.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { j as r } from "../../_virtual/jsx-runtime.es.js";
|
|
2
|
-
import
|
|
2
|
+
import Je, { memo as Qe, useRef as c, useState as ke, useMemo as O, useEffect as b, useCallback as l } from "react";
|
|
3
3
|
import { cn as Ae } from "../../lib/utils.es.js";
|
|
4
|
-
import
|
|
5
|
-
import { DEFAULT_SLIDE_PLAYER_TEXTS as
|
|
6
|
-
import { DEFAULT_MOBILE_VIEW_MODE as
|
|
7
|
-
import { toPlayerCustomActionList as
|
|
4
|
+
import Ie from "./MobilePlayerSettingsSheet.es.js";
|
|
5
|
+
import { DEFAULT_SLIDE_PLAYER_TEXTS as er } from "./constants.es.js";
|
|
6
|
+
import { DEFAULT_MOBILE_VIEW_MODE as rr } from "./utils/mobileScreenMode.es.js";
|
|
7
|
+
import { toPlayerCustomActionList as tr } from "./utils/playerCustomActions.es.js";
|
|
8
8
|
/* empty css */
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
9
|
+
import nr from "../../markdown-flow-ui/node_modules/.pnpm/lucide-react@0.525.0_react@19.0.1/node_modules/lucide-react/dist/esm/icons/ellipsis-vertical.es.js";
|
|
10
|
+
import sr from "../../markdown-flow-ui/node_modules/.pnpm/lucide-react@0.525.0_react@19.0.1/node_modules/lucide-react/dist/esm/icons/volume-2.es.js";
|
|
11
|
+
import lr from "../../markdown-flow-ui/node_modules/.pnpm/lucide-react@0.525.0_react@19.0.1/node_modules/lucide-react/dist/esm/icons/captions.es.js";
|
|
12
|
+
import ur from "../../markdown-flow-ui/node_modules/.pnpm/lucide-react@0.525.0_react@19.0.1/node_modules/lucide-react/dist/esm/icons/captions-off.es.js";
|
|
13
|
+
import ar from "../../markdown-flow-ui/node_modules/.pnpm/lucide-react@0.525.0_react@19.0.1/node_modules/lucide-react/dist/esm/icons/rotate-ccw.es.js";
|
|
14
|
+
import cr from "../../markdown-flow-ui/node_modules/.pnpm/lucide-react@0.525.0_react@19.0.1/node_modules/lucide-react/dist/esm/icons/rotate-cw.es.js";
|
|
15
|
+
import ir from "../../markdown-flow-ui/node_modules/.pnpm/lucide-react@0.525.0_react@19.0.1/node_modules/lucide-react/dist/esm/icons/scan-line.es.js";
|
|
16
|
+
import or from "../../markdown-flow-ui/node_modules/.pnpm/lucide-react@0.525.0_react@19.0.1/node_modules/lucide-react/dist/esm/icons/maximize.es.js";
|
|
17
|
+
import fr from "../../markdown-flow-ui/node_modules/.pnpm/lucide-react@0.525.0_react@19.0.1/node_modules/lucide-react/dist/esm/icons/file-pen-line.es.js";
|
|
18
18
|
const Ee = /* @__PURE__ */ new Map(), Ne = (R) => {
|
|
19
19
|
if (typeof window > "u" || !R || Ee.has(R))
|
|
20
20
|
return;
|
|
21
21
|
const v = window.document.createElement("audio");
|
|
22
22
|
v.preload = "auto", v.setAttribute("playsinline", "true"), v.src = R, v.load(), Ee.set(R, v);
|
|
23
|
-
},
|
|
23
|
+
}, dr = () => /* @__PURE__ */ r.jsxs(
|
|
24
24
|
"svg",
|
|
25
25
|
{
|
|
26
26
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -39,7 +39,7 @@ const Ee = /* @__PURE__ */ new Map(), Ne = (R) => {
|
|
|
39
39
|
/* @__PURE__ */ r.jsx("path", { d: "M12 10H16V24H12V10ZM18 10H22V24H18V10Z", fill: "white" })
|
|
40
40
|
]
|
|
41
41
|
}
|
|
42
|
-
),
|
|
42
|
+
), mr = () => /* @__PURE__ */ r.jsxs(
|
|
43
43
|
"svg",
|
|
44
44
|
{
|
|
45
45
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -58,7 +58,7 @@ const Ee = /* @__PURE__ */ new Map(), Ne = (R) => {
|
|
|
58
58
|
/* @__PURE__ */ r.jsx("path", { d: "M13.3333 10L23.3333 16.6667L13.3333 23.3333V10Z", fill: "white" })
|
|
59
59
|
]
|
|
60
60
|
}
|
|
61
|
-
),
|
|
61
|
+
), pr = ({
|
|
62
62
|
audioList: R = [],
|
|
63
63
|
className: v,
|
|
64
64
|
currentAudioIndex: m = -1,
|
|
@@ -74,14 +74,14 @@ const Ee = /* @__PURE__ */ new Map(), Ne = (R) => {
|
|
|
74
74
|
onNext: Te,
|
|
75
75
|
onFullscreen: le,
|
|
76
76
|
isFullscreen: ue = !1,
|
|
77
|
-
mobileViewMode: Ce =
|
|
77
|
+
mobileViewMode: Ce = rr,
|
|
78
78
|
settingsPortalContainer: ve,
|
|
79
79
|
onMobileViewModeChange: ae,
|
|
80
80
|
onEnded: ce,
|
|
81
81
|
onAutoAdvanceToggle: Le,
|
|
82
82
|
onInteractionToggle: Ue,
|
|
83
83
|
hasInteraction: Fe = !1,
|
|
84
|
-
isInteractionOpen:
|
|
84
|
+
isInteractionOpen: Z = !1,
|
|
85
85
|
isSubtitleEnabled: J = !0,
|
|
86
86
|
prevDisabled: Pe = !1,
|
|
87
87
|
nextDisabled: We = !1,
|
|
@@ -91,33 +91,33 @@ const Ee = /* @__PURE__ */ new Map(), Ne = (R) => {
|
|
|
91
91
|
texts: fe,
|
|
92
92
|
...Ve
|
|
93
93
|
}) => {
|
|
94
|
-
const h = c(null), de = c(
|
|
94
|
+
const h = c(null), de = c(Z), M = c(null), me = c(null), x = c(0), a = c(null), z = c(void 0), k = c([]), $ = c(!1), pe = c(!1), y = c(!1), U = c(null), S = c(!1), s = c(!1), p = c(null), w = c(!1), F = c(null), I = c(0), T = c("unknown"), [ee, i] = ke(j), [he, B] = ke(!1), f = m >= 0 ? R[m] : void 0, K = f?.audioUrl, A = O(
|
|
95
95
|
() => [...f?.audioSegments ?? []].sort(
|
|
96
96
|
(e, t) => e.segment_index - t.segment_index
|
|
97
97
|
),
|
|
98
98
|
[f?.audioSegments]
|
|
99
|
-
), ye =
|
|
100
|
-
() =>
|
|
99
|
+
), ye = O(
|
|
100
|
+
() => tr(ie, oe),
|
|
101
101
|
[oe, ie]
|
|
102
|
-
), ge = ye.length + 5,
|
|
102
|
+
), ge = ye.length + 5, Be = O(
|
|
103
103
|
() => ({
|
|
104
104
|
"--slide-player-mobile-control-count": String(ge)
|
|
105
105
|
}),
|
|
106
106
|
[ge]
|
|
107
|
-
), P =
|
|
107
|
+
), P = O(
|
|
108
108
|
() => ({
|
|
109
|
-
...
|
|
109
|
+
...er,
|
|
110
110
|
...fe
|
|
111
111
|
}),
|
|
112
112
|
[fe]
|
|
113
|
-
), re =
|
|
113
|
+
), re = O(() => f ? f.audioKey ?? `${String(f.sequenceNumber ?? "none")}:${String(f.audioUrl ?? "")}` : "none", [f]), Ke = G ? Y : ee, Ze = G ? Y ? "Pause autoplay" : "Play autoplay" : ee ? "Pause" : "Play";
|
|
114
114
|
b(() => {
|
|
115
115
|
z.current = f;
|
|
116
116
|
}, [f]), b(() => {
|
|
117
117
|
Q || B(!1);
|
|
118
118
|
}, [Q]), b(() => {
|
|
119
|
-
!de.current &&
|
|
120
|
-
}, [
|
|
119
|
+
!de.current && Z && B(!1), de.current = Z;
|
|
120
|
+
}, [Z]), b(() => {
|
|
121
121
|
k.current = A;
|
|
122
122
|
}, [A]), b(() => {
|
|
123
123
|
const e = f?.audioUrl, t = m >= 0 ? R[m + 1]?.audioUrl : void 0;
|
|
@@ -163,9 +163,9 @@ const Ee = /* @__PURE__ */ new Map(), Ne = (R) => {
|
|
|
163
163
|
F.current = window.requestAnimationFrame(e);
|
|
164
164
|
};
|
|
165
165
|
F.current = window.requestAnimationFrame(e);
|
|
166
|
-
}, [o]),
|
|
166
|
+
}, [o]), H = l(() => {
|
|
167
167
|
const e = h.current;
|
|
168
|
-
e && (d(), s.current = !1, y.current = !1,
|
|
168
|
+
e && (d(), s.current = !1, y.current = !1, $.current = !1, U.current = null, p.current = null, S.current = !1, w.current = !1, e.pause(), e.removeAttribute("src"), e.load(), M.current = null, x.current = 0, a.current = null, g(0), i(!1), n(!1));
|
|
169
169
|
}, [g, d, n]), _ = l(
|
|
170
170
|
(e) => {
|
|
171
171
|
const t = h.current;
|
|
@@ -188,8 +188,8 @@ const Ee = /* @__PURE__ */ new Map(), Ne = (R) => {
|
|
|
188
188
|
x.current = e, a.current = null, S.current = !1, w.current = !0, g(W(e));
|
|
189
189
|
const X = C();
|
|
190
190
|
s.current = X, n(!1);
|
|
191
|
-
const
|
|
192
|
-
return U.current = "segment",
|
|
191
|
+
const Ge = M.current !== N;
|
|
192
|
+
return U.current = "segment", Ge && (u.pause(), u.removeAttribute("src"), u.load(), M.current = N, u.src = N, u.load()), p.current = 0, u.readyState > 0 && (u.currentTime = 0, p.current = null), X ? _(`start-segment:${t}`) : (s.current = !1, w.current = !1, u.pause(), i(!1), !0);
|
|
193
193
|
},
|
|
194
194
|
[
|
|
195
195
|
C,
|
|
@@ -232,7 +232,7 @@ const Ee = /* @__PURE__ */ new Map(), Ne = (R) => {
|
|
|
232
232
|
b(() => {
|
|
233
233
|
if (me.current === re)
|
|
234
234
|
return;
|
|
235
|
-
me.current = re, x.current = 0, a.current = null, S.current = !1, y.current = !1,
|
|
235
|
+
me.current = re, x.current = 0, a.current = null, S.current = !1, y.current = !1, $.current = !1, s.current = !1, w.current = !1, U.current = null, M.current = null, d(), g(0), n(!1);
|
|
236
236
|
const e = h.current;
|
|
237
237
|
e && (e.pause(), e.removeAttribute("src"), e.load(), i(!1));
|
|
238
238
|
}, [
|
|
@@ -247,11 +247,11 @@ const Ee = /* @__PURE__ */ new Map(), Ne = (R) => {
|
|
|
247
247
|
const e = h.current;
|
|
248
248
|
if (e) {
|
|
249
249
|
if (L) {
|
|
250
|
-
|
|
250
|
+
$.current = !!(z.current && !y.current && (!e.paused || s.current || a.current !== null)), s.current = !1, n(!1), e.pause(), i(!1);
|
|
251
251
|
return;
|
|
252
252
|
}
|
|
253
|
-
if (!(
|
|
254
|
-
if (
|
|
253
|
+
if (!(!$.current || !z.current || y.current)) {
|
|
254
|
+
if ($.current = !1, a.current !== null) {
|
|
255
255
|
if (a.current < k.current.length) {
|
|
256
256
|
E(a.current, "external-resume");
|
|
257
257
|
return;
|
|
@@ -281,7 +281,7 @@ const Ee = /* @__PURE__ */ new Map(), Ne = (R) => {
|
|
|
281
281
|
const e = h.current;
|
|
282
282
|
if (e) {
|
|
283
283
|
if (!f) {
|
|
284
|
-
|
|
284
|
+
H();
|
|
285
285
|
return;
|
|
286
286
|
}
|
|
287
287
|
if (L) {
|
|
@@ -326,7 +326,7 @@ const Ee = /* @__PURE__ */ new Map(), Ne = (R) => {
|
|
|
326
326
|
a.current = x.current, S.current = !0, s.current = C(), i(!1), n(C());
|
|
327
327
|
return;
|
|
328
328
|
}
|
|
329
|
-
|
|
329
|
+
H();
|
|
330
330
|
return;
|
|
331
331
|
}
|
|
332
332
|
if (!M.current) {
|
|
@@ -354,12 +354,12 @@ const Ee = /* @__PURE__ */ new Map(), Ne = (R) => {
|
|
|
354
354
|
L,
|
|
355
355
|
C,
|
|
356
356
|
g,
|
|
357
|
-
|
|
357
|
+
H,
|
|
358
358
|
E,
|
|
359
359
|
_,
|
|
360
360
|
xe,
|
|
361
361
|
n
|
|
362
|
-
]), b(() =>
|
|
362
|
+
]), b(() => H, [H]), b(() => d, [d]);
|
|
363
363
|
const $e = l(() => {
|
|
364
364
|
o(), we(), i(!0), n(!1), ne?.();
|
|
365
365
|
}, [
|
|
@@ -369,7 +369,7 @@ const Ee = /* @__PURE__ */ new Map(), Ne = (R) => {
|
|
|
369
369
|
n
|
|
370
370
|
]), He = l(() => {
|
|
371
371
|
S.current || w.current || (d(), o(), i(!1));
|
|
372
|
-
}, [m, d, o]),
|
|
372
|
+
}, [m, d, o]), Oe = l(() => {
|
|
373
373
|
const e = h.current;
|
|
374
374
|
e && p.current !== null && (e.currentTime = p.current, p.current = null), o(), !(!s.current || !j) && _("canplay");
|
|
375
375
|
}, [
|
|
@@ -377,29 +377,29 @@ const Ee = /* @__PURE__ */ new Map(), Ne = (R) => {
|
|
|
377
377
|
j,
|
|
378
378
|
o,
|
|
379
379
|
_
|
|
380
|
-
]),
|
|
380
|
+
]), qe = l(() => {
|
|
381
381
|
const e = h.current;
|
|
382
382
|
e && p.current !== null && (e.currentTime = p.current, p.current = null), o();
|
|
383
|
-
}, [m, o]),
|
|
383
|
+
}, [m, o]), ze = l(() => {
|
|
384
384
|
o();
|
|
385
385
|
}, [o]), Me = l(() => {
|
|
386
386
|
o();
|
|
387
|
-
}, [o]),
|
|
387
|
+
}, [o]), De = l(() => {
|
|
388
388
|
const e = U.current === "url" || k.current.length === 0;
|
|
389
389
|
if (d(), w.current = !1, e) {
|
|
390
390
|
D("url-ended");
|
|
391
391
|
return;
|
|
392
392
|
}
|
|
393
393
|
je();
|
|
394
|
-
}, [D, je, d]),
|
|
394
|
+
}, [D, je, d]), Xe = l(() => {
|
|
395
395
|
d(), o(), i(!1), n(!1);
|
|
396
|
-
}, [d, o, n]),
|
|
396
|
+
}, [d, o, n]), Ye = l(
|
|
397
397
|
(e) => {
|
|
398
398
|
ae?.(e), B(!1);
|
|
399
399
|
},
|
|
400
400
|
[ae]
|
|
401
401
|
);
|
|
402
|
-
return
|
|
402
|
+
return b(() => {
|
|
403
403
|
q?.(I.current);
|
|
404
404
|
}, [q]), /* @__PURE__ */ r.jsxs("div", { className: Ae("slide-player", v), ...Ve, children: [
|
|
405
405
|
/* @__PURE__ */ r.jsx(
|
|
@@ -408,20 +408,20 @@ const Ee = /* @__PURE__ */ new Map(), Ne = (R) => {
|
|
|
408
408
|
ref: h,
|
|
409
409
|
preload: "auto",
|
|
410
410
|
playsInline: !0,
|
|
411
|
-
onLoadedMetadata:
|
|
412
|
-
onCanPlay:
|
|
411
|
+
onLoadedMetadata: qe,
|
|
412
|
+
onCanPlay: Oe,
|
|
413
413
|
onPlay: $e,
|
|
414
414
|
onPause: He,
|
|
415
415
|
onSeeking: Me,
|
|
416
416
|
onSeeked: Me,
|
|
417
|
-
onTimeUpdate:
|
|
418
|
-
onEnded:
|
|
419
|
-
onError:
|
|
417
|
+
onTimeUpdate: ze,
|
|
418
|
+
onEnded: De,
|
|
419
|
+
onError: Xe
|
|
420
420
|
}
|
|
421
421
|
),
|
|
422
422
|
Q ? /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
|
|
423
423
|
/* @__PURE__ */ r.jsx(
|
|
424
|
-
|
|
424
|
+
Ie,
|
|
425
425
|
{
|
|
426
426
|
container: ve,
|
|
427
427
|
labels: {
|
|
@@ -437,12 +437,12 @@ const Ee = /* @__PURE__ */ new Map(), Ne = (R) => {
|
|
|
437
437
|
onOpenChange: B,
|
|
438
438
|
onSubtitleToggle: se ?? (() => {
|
|
439
439
|
}),
|
|
440
|
-
onViewModeChange:
|
|
440
|
+
onViewModeChange: Ye,
|
|
441
441
|
open: he,
|
|
442
442
|
viewMode: Ce
|
|
443
443
|
}
|
|
444
444
|
),
|
|
445
|
-
/* @__PURE__ */ r.jsxs("div", { className: "slide-player__controls", style:
|
|
445
|
+
/* @__PURE__ */ r.jsxs("div", { className: "slide-player__controls", style: Be, children: [
|
|
446
446
|
/* @__PURE__ */ r.jsxs("div", { className: "slide-player__group", children: [
|
|
447
447
|
/* @__PURE__ */ r.jsx(
|
|
448
448
|
"button",
|
|
@@ -456,7 +456,7 @@ const Ee = /* @__PURE__ */ new Map(), Ne = (R) => {
|
|
|
456
456
|
},
|
|
457
457
|
type: "button",
|
|
458
458
|
children: /* @__PURE__ */ r.jsx(
|
|
459
|
-
|
|
459
|
+
nr,
|
|
460
460
|
{
|
|
461
461
|
className: "slide-player__icon",
|
|
462
462
|
strokeWidth: 2.25
|
|
@@ -464,7 +464,7 @@ const Ee = /* @__PURE__ */ new Map(), Ne = (R) => {
|
|
|
464
464
|
)
|
|
465
465
|
}
|
|
466
466
|
),
|
|
467
|
-
/* @__PURE__ */ r.jsx("button", { "aria-label": "Volume", className: "hidden", type: "button", children: /* @__PURE__ */ r.jsx(
|
|
467
|
+
/* @__PURE__ */ r.jsx("button", { "aria-label": "Volume", className: "hidden", type: "button", children: /* @__PURE__ */ r.jsx(sr, { className: "slide-player__icon", strokeWidth: 2.25 }) }),
|
|
468
468
|
/* @__PURE__ */ r.jsx(
|
|
469
469
|
"button",
|
|
470
470
|
{
|
|
@@ -473,8 +473,8 @@ const Ee = /* @__PURE__ */ new Map(), Ne = (R) => {
|
|
|
473
473
|
className: "slide-player__action slide-player__action--subtitle",
|
|
474
474
|
onClick: se,
|
|
475
475
|
type: "button",
|
|
476
|
-
children: J ? /* @__PURE__ */ r.jsx(
|
|
477
|
-
|
|
476
|
+
children: J ? /* @__PURE__ */ r.jsx(lr, { className: "slide-player__icon", strokeWidth: 2.25 }) : /* @__PURE__ */ r.jsx(
|
|
477
|
+
ur,
|
|
478
478
|
{
|
|
479
479
|
className: "slide-player__icon",
|
|
480
480
|
strokeWidth: 2.25
|
|
@@ -490,7 +490,7 @@ const Ee = /* @__PURE__ */ new Map(), Ne = (R) => {
|
|
|
490
490
|
disabled: Pe,
|
|
491
491
|
onClick: Re,
|
|
492
492
|
type: "button",
|
|
493
|
-
children: /* @__PURE__ */ r.jsx(
|
|
493
|
+
children: /* @__PURE__ */ r.jsx(ar, { className: "slide-player__icon", strokeWidth: 2.25 })
|
|
494
494
|
}
|
|
495
495
|
),
|
|
496
496
|
/* @__PURE__ */ r.jsx(
|
|
@@ -531,7 +531,7 @@ const Ee = /* @__PURE__ */ new Map(), Ne = (R) => {
|
|
|
531
531
|
}
|
|
532
532
|
},
|
|
533
533
|
type: "button",
|
|
534
|
-
children:
|
|
534
|
+
children: Ke ? /* @__PURE__ */ r.jsx(dr, {}) : /* @__PURE__ */ r.jsx(mr, {})
|
|
535
535
|
}
|
|
536
536
|
),
|
|
537
537
|
/* @__PURE__ */ r.jsx(
|
|
@@ -542,7 +542,7 @@ const Ee = /* @__PURE__ */ new Map(), Ne = (R) => {
|
|
|
542
542
|
disabled: We,
|
|
543
543
|
onClick: Te,
|
|
544
544
|
type: "button",
|
|
545
|
-
children: /* @__PURE__ */ r.jsx(
|
|
545
|
+
children: /* @__PURE__ */ r.jsx(cr, { className: "slide-player__icon", strokeWidth: 2.25 })
|
|
546
546
|
}
|
|
547
547
|
),
|
|
548
548
|
le ? /* @__PURE__ */ r.jsx(
|
|
@@ -553,13 +553,13 @@ const Ee = /* @__PURE__ */ new Map(), Ne = (R) => {
|
|
|
553
553
|
onClick: le,
|
|
554
554
|
type: "button",
|
|
555
555
|
children: ue ? /* @__PURE__ */ r.jsx(
|
|
556
|
-
|
|
556
|
+
ir,
|
|
557
557
|
{
|
|
558
558
|
className: "slide-player__icon",
|
|
559
559
|
strokeWidth: 2.25
|
|
560
560
|
}
|
|
561
561
|
) : /* @__PURE__ */ r.jsx(
|
|
562
|
-
|
|
562
|
+
or,
|
|
563
563
|
{
|
|
564
564
|
className: "slide-player__icon",
|
|
565
565
|
strokeWidth: 2.25
|
|
@@ -570,20 +570,20 @@ const Ee = /* @__PURE__ */ new Map(), Ne = (R) => {
|
|
|
570
570
|
] }),
|
|
571
571
|
/* @__PURE__ */ r.jsx("div", { className: "slide-player__separator" }),
|
|
572
572
|
/* @__PURE__ */ r.jsxs("div", { className: "slide-player__group", children: [
|
|
573
|
-
ye.map((e, t) => /* @__PURE__ */ r.jsx(
|
|
573
|
+
ye.map((e, t) => /* @__PURE__ */ r.jsx(Je.Fragment, { children: e }, `custom-action-${t}`)),
|
|
574
574
|
/* @__PURE__ */ r.jsx(
|
|
575
575
|
"button",
|
|
576
576
|
{
|
|
577
577
|
"aria-label": "Notes",
|
|
578
578
|
className: Ae(
|
|
579
579
|
"slide-player__action slide-player__action--notes",
|
|
580
|
-
|
|
580
|
+
Z && "slide-player__action--active"
|
|
581
581
|
),
|
|
582
582
|
disabled: !Fe,
|
|
583
583
|
onClick: Ue,
|
|
584
584
|
type: "button",
|
|
585
585
|
children: /* @__PURE__ */ r.jsx(
|
|
586
|
-
|
|
586
|
+
fr,
|
|
587
587
|
{
|
|
588
588
|
className: "slide-player__icon",
|
|
589
589
|
strokeWidth: 2.25
|
|
@@ -595,9 +595,9 @@ const Ee = /* @__PURE__ */ new Map(), Ne = (R) => {
|
|
|
595
595
|
] })
|
|
596
596
|
] }) : null
|
|
597
597
|
] });
|
|
598
|
-
},
|
|
599
|
-
|
|
598
|
+
}, hr = Qe(pr);
|
|
599
|
+
hr.displayName = "Player";
|
|
600
600
|
export {
|
|
601
|
-
|
|
601
|
+
hr as default
|
|
602
602
|
};
|
|
603
603
|
//# sourceMappingURL=Player.es.js.map
|