markdown-flow-ui 0.1.112-beta.0 → 0.1.112-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/index.cjs10.js +1 -1
- package/dist/_virtual/index.cjs4.js +1 -1
- package/dist/_virtual/index.cjs6.js +1 -1
- package/dist/_virtual/index.cjs7.js +1 -1
- package/dist/_virtual/index.cjs9.js +1 -1
- package/dist/_virtual/index.es10.js +2 -2
- package/dist/_virtual/index.es4.js +4 -4
- package/dist/_virtual/index.es6.js +2 -5
- package/dist/_virtual/index.es6.js.map +1 -1
- package/dist/_virtual/index.es7.js +5 -2
- package/dist/_virtual/index.es7.js.map +1 -1
- package/dist/_virtual/index.es9.js +2 -2
- package/dist/components/Slide/Slide.cjs.js +1 -1
- package/dist/components/Slide/Slide.cjs.js.map +1 -1
- package/dist/components/Slide/Slide.es.js +550 -495
- package/dist/components/Slide/Slide.es.js.map +1 -1
- package/dist/components/ui/inputGroup/textarea.cjs.js +1 -1
- package/dist/components/ui/inputGroup/textarea.es.js +1 -1
- package/dist/markdown-flow-ui/node_modules/.pnpm/@braintree_sanitize-url@7.1.1/node_modules/@braintree/sanitize-url/dist/index.cjs.js +1 -1
- package/dist/markdown-flow-ui/node_modules/.pnpm/@braintree_sanitize-url@7.1.1/node_modules/@braintree/sanitize-url/dist/index.cjs.js.map +1 -1
- package/dist/markdown-flow-ui/node_modules/.pnpm/@braintree_sanitize-url@7.1.1/node_modules/@braintree/sanitize-url/dist/index.es.js +1 -1
- package/dist/markdown-flow-ui/node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.cjs.js +1 -1
- package/dist/markdown-flow-ui/node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.es.js +1 -1
- package/dist/markdown-flow-ui/node_modules/.pnpm/hast-util-to-jsx-runtime@2.3.6/node_modules/hast-util-to-jsx-runtime/lib/index.cjs.js +1 -1
- package/dist/markdown-flow-ui/node_modules/.pnpm/hast-util-to-jsx-runtime@2.3.6/node_modules/hast-util-to-jsx-runtime/lib/index.es.js +1 -1
- package/dist/markdown-flow-ui/node_modules/.pnpm/rc-input@1.8.0_react-dom@19.0.1_react@19.0.1__react@19.0.1/node_modules/rc-input/es/BaseInput.cjs.js +1 -1
- package/dist/markdown-flow-ui/node_modules/.pnpm/rc-input@1.8.0_react-dom@19.0.1_react@19.0.1__react@19.0.1/node_modules/rc-input/es/BaseInput.es.js +1 -1
- package/dist/markdown-flow-ui/node_modules/.pnpm/rc-textarea@1.10.2_react-dom@19.0.1_react@19.0.1__react@19.0.1/node_modules/rc-textarea/es/ResizableTextArea.cjs.js +1 -1
- package/dist/markdown-flow-ui/node_modules/.pnpm/rc-textarea@1.10.2_react-dom@19.0.1_react@19.0.1__react@19.0.1/node_modules/rc-textarea/es/ResizableTextArea.es.js +1 -1
- package/dist/markdown-flow-ui/node_modules/.pnpm/rc-textarea@1.10.2_react-dom@19.0.1_react@19.0.1__react@19.0.1/node_modules/rc-textarea/es/TextArea.cjs.js +1 -1
- package/dist/markdown-flow-ui/node_modules/.pnpm/rc-textarea@1.10.2_react-dom@19.0.1_react@19.0.1__react@19.0.1/node_modules/rc-textarea/es/TextArea.es.js +1 -1
- package/dist/markdown-flow-ui/node_modules/.pnpm/rc-textarea@1.10.2_react-dom@19.0.1_react@19.0.1__react@19.0.1/node_modules/rc-textarea/es/index.cjs.js +1 -1
- package/dist/markdown-flow-ui/node_modules/.pnpm/rc-textarea@1.10.2_react-dom@19.0.1_react@19.0.1__react@19.0.1/node_modules/rc-textarea/es/index.es.js +1 -1
- package/dist/markdown-flow-ui/node_modules/.pnpm/style-to-object@1.0.11/node_modules/style-to-object/cjs/index.cjs.js +1 -1
- package/dist/markdown-flow-ui/node_modules/.pnpm/style-to-object@1.0.11/node_modules/style-to-object/cjs/index.es.js +1 -1
- package/package.json +1 -1
|
@@ -1,54 +1,54 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import
|
|
3
|
-
import { isSandboxInteractionMessage as
|
|
1
|
+
import { j as r } from "../../_virtual/jsx-runtime.es.js";
|
|
2
|
+
import wn, { memo as _n, useRef as v, useMemo as c, useState as y, useCallback as n, useEffect as a } from "react";
|
|
3
|
+
import { isSandboxInteractionMessage as Tn } from "../../lib/sandboxInteraction.es.js";
|
|
4
4
|
import { cn as Z } from "../../lib/utils.es.js";
|
|
5
|
-
import
|
|
6
|
-
import
|
|
5
|
+
import En from "../ui/loading-overlay-card.es.js";
|
|
6
|
+
import Cn from "../ContentRender/ContentRender.es.js";
|
|
7
7
|
import Ot from "../ContentRender/IframeSandbox.es.js";
|
|
8
8
|
import "../ui/inputGroup/input-group.es.js";
|
|
9
|
-
import { getInteractionDefaultValues as
|
|
10
|
-
import { isMobileDevice as
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import { DEFAULT_SLIDE_PLAYER_TEXTS as
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import { DEFAULT_MOBILE_VIEW_MODE as
|
|
9
|
+
import { getInteractionDefaultValues as Rn, getInteractionDefaultSelectedValues as Pn } from "../../lib/interaction-defaults.es.js";
|
|
10
|
+
import { isMobileDevice as Mn, isLandscapeViewport as kt, subscribeMobileDeviceChange as Fn } from "../../lib/mobileDevice.es.js";
|
|
11
|
+
import On from "./Player.es.js";
|
|
12
|
+
import kn from "./SubtitleOverlay.es.js";
|
|
13
|
+
import { DEFAULT_SLIDE_PLAYER_TEXTS as Nn, DEFAULT_STREAM_INACTIVITY_TIMEOUT_MS as Bn, SLIDE_ERROR_CODES as jn } from "./constants.es.js";
|
|
14
|
+
import Ln from "./SlideFullscreenHint.es.js";
|
|
15
|
+
import Kn from "./useSlide.es.js";
|
|
16
|
+
import Vn from "./useWakePlayerFromIframe.es.js";
|
|
17
|
+
import { DEFAULT_MOBILE_VIEW_MODE as Re, resolveMobileViewModeState as qn } from "./utils/mobileScreenMode.es.js";
|
|
18
18
|
import { shouldPresentInteractionOverlay as Dn } from "./utils/interactionPlayback.es.js";
|
|
19
|
-
import { shouldAutoAdvanceIntoAppendedMarker as
|
|
20
|
-
import { getPlaybackSequenceTransition as
|
|
21
|
-
import { resolvePlayerCustomActionElement as
|
|
22
|
-
import { createPlaybackTimeStore as
|
|
23
|
-
import { shouldUseAutoAdvanceToggle as
|
|
19
|
+
import { shouldAutoAdvanceIntoAppendedMarker as Hn } from "./utils/appendedMarkerAdvance.es.js";
|
|
20
|
+
import { getPlaybackSequenceTransition as Un } from "./utils/playbackSequence.es.js";
|
|
21
|
+
import { resolvePlayerCustomActionElement as $n, getPlayerCustomActionCount as zn } from "./utils/playerCustomActions.es.js";
|
|
22
|
+
import { createPlaybackTimeStore as Gn } from "./utils/playbackTimeStore.es.js";
|
|
23
|
+
import { shouldUseAutoAdvanceToggle as Wn } from "./utils/playerToggleMode.es.js";
|
|
24
24
|
/* empty css */
|
|
25
|
-
import
|
|
26
|
-
const
|
|
25
|
+
import Yn from "../../markdown-flow-ui/node_modules/.pnpm/lucide-react@0.525.0_react@19.0.1/node_modules/lucide-react/dist/esm/icons/chevron-left.es.js";
|
|
26
|
+
const Xn = 2e3, Jn = 300, Qn = 160, Zn = 16, Nt = _n(
|
|
27
27
|
({
|
|
28
|
-
content:
|
|
29
|
-
title:
|
|
28
|
+
content: i,
|
|
29
|
+
title: o,
|
|
30
30
|
defaultButtonText: F,
|
|
31
31
|
defaultInputText: O,
|
|
32
|
-
defaultSelectedValues:
|
|
33
|
-
confirmButtonText:
|
|
34
|
-
copyButtonText:
|
|
32
|
+
defaultSelectedValues: V,
|
|
33
|
+
confirmButtonText: q,
|
|
34
|
+
copyButtonText: U,
|
|
35
35
|
copiedButtonText: ee,
|
|
36
|
-
onSend:
|
|
37
|
-
readonly:
|
|
38
|
-
}) => /* @__PURE__ */
|
|
39
|
-
/* @__PURE__ */
|
|
40
|
-
/* @__PURE__ */
|
|
41
|
-
|
|
36
|
+
onSend: Pe,
|
|
37
|
+
readonly: Me = !1
|
|
38
|
+
}) => /* @__PURE__ */ r.jsxs("div", { className: "slide-player__interaction-card", children: [
|
|
39
|
+
/* @__PURE__ */ r.jsx("div", { className: "slide-player__interaction-header", children: /* @__PURE__ */ r.jsx("p", { className: "slide-player__interaction-title", children: o }) }),
|
|
40
|
+
/* @__PURE__ */ r.jsx("div", { className: "slide-player__interaction-body", children: /* @__PURE__ */ r.jsx(
|
|
41
|
+
Cn,
|
|
42
42
|
{
|
|
43
|
-
content:
|
|
43
|
+
content: i,
|
|
44
44
|
defaultButtonText: F,
|
|
45
45
|
defaultInputText: O,
|
|
46
|
-
defaultSelectedValues:
|
|
47
|
-
confirmButtonText:
|
|
48
|
-
copyButtonText:
|
|
46
|
+
defaultSelectedValues: V,
|
|
47
|
+
confirmButtonText: q,
|
|
48
|
+
copyButtonText: U,
|
|
49
49
|
copiedButtonText: ee,
|
|
50
|
-
onSend:
|
|
51
|
-
readonly:
|
|
50
|
+
onSend: Pe,
|
|
51
|
+
readonly: Me,
|
|
52
52
|
enableTypewriter: !1,
|
|
53
53
|
sandboxMode: "content"
|
|
54
54
|
}
|
|
@@ -56,49 +56,49 @@ const Yn = 2e3, Xn = 300, Jn = 160, Qn = 16, Nt = wn(
|
|
|
56
56
|
] })
|
|
57
57
|
);
|
|
58
58
|
Nt.displayName = "InteractionOverlayCard";
|
|
59
|
-
const
|
|
60
|
-
const
|
|
61
|
-
return F.sequence_number ===
|
|
62
|
-
}),
|
|
63
|
-
(
|
|
64
|
-
String(
|
|
65
|
-
|
|
66
|
-
String(
|
|
67
|
-
String(
|
|
68
|
-
String(
|
|
59
|
+
const er = (i, o) => i.length === o.length && i.every((F, O) => {
|
|
60
|
+
const V = o[O];
|
|
61
|
+
return F.sequence_number === V?.sequence_number && F.type === V?.type && F.content === V?.content;
|
|
62
|
+
}), tr = (i) => typeof i == "string" ? `string:${i.length}:${i.slice(-32)}` : typeof i == "number" || typeof i == "boolean" ? `primitive:${String(i)}` : wn.isValidElement(i) ? `element:${String(i.key ?? "")}` : Array.isArray(i) ? `array:${i.length}` : i == null ? "null" : `object:${typeof i}`, nr = (i) => (i ?? []).map(
|
|
63
|
+
(o) => [
|
|
64
|
+
String(o.segment_index ?? "none"),
|
|
65
|
+
o.is_final ? "1" : "0",
|
|
66
|
+
String(o.duration_ms ?? 0),
|
|
67
|
+
String(o.audio_url ?? ""),
|
|
68
|
+
String(o.audio_data?.length ?? 0)
|
|
69
69
|
].join(":")
|
|
70
|
-
).join(","),
|
|
71
|
-
(
|
|
72
|
-
String(
|
|
73
|
-
String(
|
|
74
|
-
|
|
75
|
-
String(
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
String(
|
|
81
|
-
|
|
70
|
+
).join(","), rr = (i) => i.map(
|
|
71
|
+
(o, F) => [
|
|
72
|
+
String(o.sequence_number ?? F),
|
|
73
|
+
String(o.type),
|
|
74
|
+
tr(o.content),
|
|
75
|
+
String(o.audio_url ?? ""),
|
|
76
|
+
nr(o.audio_segments),
|
|
77
|
+
o.is_renderable === !1 ? "hidden" : "visible",
|
|
78
|
+
o.is_new ? "new" : "stable",
|
|
79
|
+
o.is_speakable ? "speakable" : "silent",
|
|
80
|
+
String(o.user_input ?? ""),
|
|
81
|
+
o.readonly ? "readonly" : "editable"
|
|
82
82
|
].join("|")
|
|
83
|
-
).join("||"),
|
|
84
|
-
elementList:
|
|
85
|
-
isStreaming:
|
|
83
|
+
).join("||"), Mr = ({
|
|
84
|
+
elementList: i = [],
|
|
85
|
+
isStreaming: o = !1,
|
|
86
86
|
showPlayer: F = !0,
|
|
87
87
|
playerAlwaysVisible: O = !1,
|
|
88
|
-
playerClassName:
|
|
89
|
-
fullscreenHeader:
|
|
90
|
-
playerCustomActions:
|
|
88
|
+
playerClassName: V,
|
|
89
|
+
fullscreenHeader: q,
|
|
90
|
+
playerCustomActions: U,
|
|
91
91
|
playerCustomActionPauseOnActive: ee = !0,
|
|
92
|
-
bufferingText:
|
|
93
|
-
interactionTitle:
|
|
94
|
-
interactionTexts:
|
|
92
|
+
bufferingText: Pe = "Buffering...",
|
|
93
|
+
interactionTitle: Me,
|
|
94
|
+
interactionTexts: he,
|
|
95
95
|
playerTexts: Xe,
|
|
96
|
-
playerAutoHideDelay:
|
|
97
|
-
markerAutoAdvanceDelay: Je =
|
|
98
|
-
streamInactivityTimeoutMs:
|
|
99
|
-
interactionDefaultValueOptions:
|
|
96
|
+
playerAutoHideDelay: Fe = 3e3,
|
|
97
|
+
markerAutoAdvanceDelay: Je = Xn,
|
|
98
|
+
streamInactivityTimeoutMs: Oe = Bn,
|
|
99
|
+
interactionDefaultValueOptions: ve,
|
|
100
100
|
onSend: Qe,
|
|
101
|
-
onPlayerVisibilityChange:
|
|
101
|
+
onPlayerVisibilityChange: ke,
|
|
102
102
|
onMobileViewModeChange: Ze,
|
|
103
103
|
onError: et,
|
|
104
104
|
onStepChange: tt,
|
|
@@ -107,135 +107,160 @@ const Zn = (o, s) => o.length === s.length && o.every((F, O) => {
|
|
|
107
107
|
onPointerDown: nt,
|
|
108
108
|
...Lt
|
|
109
109
|
}) => {
|
|
110
|
-
const
|
|
110
|
+
const ye = v(null), rt = v(null), Ne = v(null), ot = v(null), te = v(null), ne = v(null), re = v(null), oe = v(null), ie = v(null), it = v(null), lt = v([]), Be = v(null), ge = v(!1), je = v(!1), le = v(!1), $ = v(null), st = v(null), at = v({
|
|
111
111
|
markerCount: 0,
|
|
112
112
|
currentIndex: -1,
|
|
113
113
|
canGoNext: !1
|
|
114
114
|
}), {
|
|
115
115
|
currentElementList: k,
|
|
116
|
-
stepElementLists:
|
|
116
|
+
stepElementLists: ut,
|
|
117
117
|
slideElementList: N,
|
|
118
|
-
currentIndex:
|
|
119
|
-
audioList:
|
|
118
|
+
currentIndex: f,
|
|
119
|
+
audioList: b,
|
|
120
120
|
currentAudioSequenceIndexes: Se,
|
|
121
|
-
currentStepHasSpeakableElement:
|
|
122
|
-
currentInteractionElement:
|
|
121
|
+
currentStepHasSpeakableElement: S,
|
|
122
|
+
currentInteractionElement: h,
|
|
123
123
|
canGoPrev: Kt,
|
|
124
124
|
canGoNext: I,
|
|
125
|
-
handlePrev:
|
|
126
|
-
handleNext:
|
|
127
|
-
} =
|
|
128
|
-
if (!(
|
|
129
|
-
return N[
|
|
130
|
-
}, [
|
|
125
|
+
handlePrev: ct,
|
|
126
|
+
handleNext: E
|
|
127
|
+
} = Kn(i), se = c(() => {
|
|
128
|
+
if (!(f < 0))
|
|
129
|
+
return N[f];
|
|
130
|
+
}, [f, N]), Vt = N.filter(
|
|
131
131
|
(e) => e.is_renderable !== !1
|
|
132
|
-
).length === 1,
|
|
133
|
-
() => Se.map((e) =>
|
|
134
|
-
[
|
|
135
|
-
), [dt,
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
] =
|
|
139
|
-
|
|
140
|
-
), [ht,
|
|
132
|
+
).length === 1, _ = F && (N.length > 0 || b.length > 0 || !!h), C = c(
|
|
133
|
+
() => Se.map((e) => b[e]?.audioKey).filter((e) => !!e),
|
|
134
|
+
[b, Se]
|
|
135
|
+
), [dt, be] = y(!0), [Ae, ae] = y(!1), [ue, ft] = y(!0), [g, z] = y(null), [qt, Dt] = y(!1), [j, Le] = y(!1), [w, mt] = y(!1), [Ht, Ke] = y(!1), [pt, Ut] = y(!0), [Ve, qe] = y(!1), [s, De] = y(), [xe, Ie] = y(!1), [
|
|
136
|
+
$t,
|
|
137
|
+
ce
|
|
138
|
+
] = y(0), [zt, Gt] = y(!1), R = c(() => Mn(), []), [we, He] = y(
|
|
139
|
+
Re
|
|
140
|
+
), [ht, Ue] = y(!1), [$e, vt] = y(
|
|
141
141
|
() => R ? kt() : !1
|
|
142
|
-
), [
|
|
143
|
-
effectiveMobileViewMode:
|
|
144
|
-
isImmersiveMobileFullscreen:
|
|
142
|
+
), [Wt, _e] = y(!1), G = c(() => Gn(), []), {
|
|
143
|
+
effectiveMobileViewMode: L,
|
|
144
|
+
isImmersiveMobileFullscreen: W,
|
|
145
145
|
isNativeMobileFullscreen: yt,
|
|
146
|
-
shouldRotateFullscreenViewport:
|
|
147
|
-
} =
|
|
148
|
-
() =>
|
|
146
|
+
shouldRotateFullscreenViewport: Yt
|
|
147
|
+
} = c(
|
|
148
|
+
() => qn({
|
|
149
149
|
hasManualMobileViewMode: ht,
|
|
150
150
|
isMobileDevice: R,
|
|
151
|
-
mobileViewMode:
|
|
151
|
+
mobileViewMode: we
|
|
152
152
|
}),
|
|
153
153
|
[
|
|
154
154
|
ht,
|
|
155
155
|
R,
|
|
156
|
-
|
|
157
|
-
|
|
156
|
+
$e,
|
|
157
|
+
we
|
|
158
158
|
]
|
|
159
|
-
),
|
|
160
|
-
() =>
|
|
161
|
-
[
|
|
162
|
-
),
|
|
159
|
+
), gt = v(L), P = _ && (O || dt), Xt = W && P, Jt = W && P, Qt = W || yt, Zt = Xe?.fullscreenHintText ?? Nn.fullscreenHintText, de = c(
|
|
160
|
+
() => rr(i),
|
|
161
|
+
[i]
|
|
162
|
+
), d = n(
|
|
163
|
+
(e, t, l) => {
|
|
164
|
+
Dt((m) => (console.log("[Slide buffering loading]", {
|
|
165
|
+
reason: t,
|
|
166
|
+
previousVisible: m,
|
|
167
|
+
nextVisible: e,
|
|
168
|
+
currentIndex: f,
|
|
169
|
+
currentAudioKey: g,
|
|
170
|
+
currentStepHasSpeakableElement: S,
|
|
171
|
+
hasCompletedCurrentStepAudio: w,
|
|
172
|
+
hasStreamInactivityTimedOut: j,
|
|
173
|
+
isStreaming: o,
|
|
174
|
+
streamActivityKey: de,
|
|
175
|
+
...l
|
|
176
|
+
}), e));
|
|
177
|
+
},
|
|
178
|
+
[
|
|
179
|
+
g,
|
|
180
|
+
f,
|
|
181
|
+
S,
|
|
182
|
+
w,
|
|
183
|
+
j,
|
|
184
|
+
o,
|
|
185
|
+
de
|
|
186
|
+
]
|
|
187
|
+
), en = n(
|
|
163
188
|
(e) => {
|
|
164
|
-
|
|
189
|
+
Ue(!0), He(e);
|
|
165
190
|
},
|
|
166
191
|
[]
|
|
167
|
-
),
|
|
168
|
-
|
|
169
|
-
}, []),
|
|
170
|
-
|
|
171
|
-
}, [
|
|
172
|
-
|
|
173
|
-
}, []), bt =
|
|
174
|
-
|
|
175
|
-
}, []),
|
|
176
|
-
|
|
177
|
-
}, []), { mountedStepStates:
|
|
192
|
+
), St = n(() => {
|
|
193
|
+
Ue(!1), He(Re);
|
|
194
|
+
}, []), tn = n(() => {
|
|
195
|
+
St(), q?.onBack?.();
|
|
196
|
+
}, [q, St]), nn = n(() => {
|
|
197
|
+
_e(!1);
|
|
198
|
+
}, []), bt = n((e) => {
|
|
199
|
+
qe(e);
|
|
200
|
+
}, []), At = n(() => {
|
|
201
|
+
qe((e) => !e);
|
|
202
|
+
}, []), { mountedStepStates: rn, currentMountedStateIndex: on } = c(() => {
|
|
178
203
|
const e = [], t = /* @__PURE__ */ new Map();
|
|
179
|
-
return
|
|
180
|
-
const
|
|
181
|
-
(
|
|
182
|
-
|
|
204
|
+
return ut.forEach((l, m) => {
|
|
205
|
+
const u = e.findIndex(
|
|
206
|
+
(p) => er(
|
|
207
|
+
p.elementList,
|
|
183
208
|
l
|
|
184
209
|
)
|
|
185
210
|
);
|
|
186
|
-
if (
|
|
187
|
-
e[
|
|
211
|
+
if (u >= 0) {
|
|
212
|
+
e[u]?.sourceStepIndexes.push(m), t.set(m, u);
|
|
188
213
|
return;
|
|
189
214
|
}
|
|
190
215
|
e.push({
|
|
191
216
|
elementList: l,
|
|
192
|
-
sourceStepIndexes: [
|
|
193
|
-
}), t.set(
|
|
217
|
+
sourceStepIndexes: [m]
|
|
218
|
+
}), t.set(m, e.length - 1);
|
|
194
219
|
}), {
|
|
195
220
|
mountedStepStates: e,
|
|
196
|
-
currentMountedStateIndex:
|
|
221
|
+
currentMountedStateIndex: f >= 0 ? t.get(f) ?? -1 : -1
|
|
197
222
|
};
|
|
198
|
-
}, [
|
|
199
|
-
(e) => (e.audioKey ?? "") ===
|
|
200
|
-
) : -1, [
|
|
201
|
-
() =>
|
|
202
|
-
[
|
|
203
|
-
),
|
|
204
|
-
() =>
|
|
205
|
-
[
|
|
206
|
-
), Ge =
|
|
223
|
+
}, [f, ut]), xt = c(() => String(f), [f]), A = c(() => g ? b.findIndex(
|
|
224
|
+
(e) => (e.audioKey ?? "") === g
|
|
225
|
+
) : -1, [b, g]), ze = c(
|
|
226
|
+
() => A >= 0 ? b[A] : void 0,
|
|
227
|
+
[b, A]
|
|
228
|
+
), ln = ze?.element?.subtitle_cues ?? [], Te = c(
|
|
229
|
+
() => C[0] ?? "none",
|
|
230
|
+
[C]
|
|
231
|
+
), Ge = c(
|
|
207
232
|
() => ({
|
|
208
|
-
currentElement:
|
|
209
|
-
currentAudioIndex:
|
|
233
|
+
currentElement: $n({
|
|
234
|
+
currentAudioIndex: A,
|
|
210
235
|
currentAudioSequenceIndexes: Se,
|
|
211
|
-
audioList:
|
|
212
|
-
currentInteractionElement:
|
|
213
|
-
currentStepElement:
|
|
236
|
+
audioList: b,
|
|
237
|
+
currentInteractionElement: s,
|
|
238
|
+
currentStepElement: se
|
|
214
239
|
}),
|
|
215
|
-
currentIndex:
|
|
216
|
-
currentStepElement:
|
|
217
|
-
isActive:
|
|
240
|
+
currentIndex: f,
|
|
241
|
+
currentStepElement: se,
|
|
242
|
+
isActive: Ve,
|
|
218
243
|
setActive: bt,
|
|
219
|
-
toggleActive:
|
|
244
|
+
toggleActive: At
|
|
220
245
|
}),
|
|
221
246
|
[
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
247
|
+
s,
|
|
248
|
+
b,
|
|
249
|
+
A,
|
|
225
250
|
Se,
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
251
|
+
f,
|
|
252
|
+
se,
|
|
253
|
+
Ve,
|
|
229
254
|
bt,
|
|
230
|
-
|
|
255
|
+
At
|
|
231
256
|
]
|
|
232
|
-
), We =
|
|
233
|
-
() =>
|
|
234
|
-
|
|
257
|
+
), We = c(
|
|
258
|
+
() => zn(
|
|
259
|
+
U,
|
|
235
260
|
Ge
|
|
236
261
|
),
|
|
237
|
-
[Ge,
|
|
238
|
-
), sn =
|
|
262
|
+
[Ge, U]
|
|
263
|
+
), sn = c(
|
|
239
264
|
() => ({
|
|
240
265
|
"--slide-player-custom-action-count": String(We),
|
|
241
266
|
"--slide-player-mobile-control-count": String(
|
|
@@ -243,124 +268,126 @@ const Zn = (o, s) => o.length === s.length && o.every((F, O) => {
|
|
|
243
268
|
)
|
|
244
269
|
}),
|
|
245
270
|
[We]
|
|
246
|
-
), It =
|
|
247
|
-
|
|
248
|
-
)}` : "none", [
|
|
249
|
-
() => [
|
|
250
|
-
[wt,
|
|
251
|
-
),
|
|
271
|
+
), It = C.length > 0, wt = c(() => h ? `${h.sequence_number ?? "none"}:${String(
|
|
272
|
+
h.content ?? ""
|
|
273
|
+
)}` : "none", [h]), fe = c(
|
|
274
|
+
() => [xt, wt].join("|"),
|
|
275
|
+
[wt, xt]
|
|
276
|
+
), an = c(
|
|
252
277
|
() => [
|
|
253
|
-
|
|
278
|
+
fe,
|
|
254
279
|
ze?.audioKey ?? "none",
|
|
255
|
-
String(
|
|
280
|
+
String(A)
|
|
256
281
|
].join("|"),
|
|
257
|
-
[
|
|
258
|
-
), _t = !!
|
|
259
|
-
(t) => t.audioKey ===
|
|
260
|
-
)?.audioUrl?.trim() ?? "", [
|
|
261
|
-
() =>
|
|
282
|
+
[A, ze?.audioKey, fe]
|
|
283
|
+
), _t = !!c(() => !Te || Te === "none" ? "" : b.find(
|
|
284
|
+
(t) => t.audioKey === Te
|
|
285
|
+
)?.audioUrl?.trim() ?? "", [b, Te]), K = ee && !!U && Ve, me = c(
|
|
286
|
+
() => Wn({
|
|
262
287
|
canGoNext: I,
|
|
263
|
-
currentAudioIndex:
|
|
264
|
-
currentStepHasSpeakableElement:
|
|
265
|
-
hasInteraction: !!
|
|
288
|
+
currentAudioIndex: A,
|
|
289
|
+
currentStepHasSpeakableElement: S,
|
|
290
|
+
hasInteraction: !!h
|
|
266
291
|
}),
|
|
267
292
|
[
|
|
268
293
|
I,
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
294
|
+
A,
|
|
295
|
+
h,
|
|
296
|
+
S
|
|
272
297
|
]
|
|
273
|
-
), D =
|
|
298
|
+
), D = n(() => {
|
|
274
299
|
te.current !== null && (window.clearTimeout(te.current), te.current = null);
|
|
275
|
-
}, []), B =
|
|
300
|
+
}, []), B = n(() => {
|
|
276
301
|
re.current !== null && (window.clearTimeout(re.current), re.current = null);
|
|
277
|
-
}, []), M =
|
|
302
|
+
}, []), M = n(() => {
|
|
278
303
|
oe.current !== null && (window.clearTimeout(oe.current), oe.current = null);
|
|
279
|
-
}, []),
|
|
304
|
+
}, []), Y = n(() => {
|
|
280
305
|
ne.current !== null && (window.clearTimeout(ne.current), ne.current = null);
|
|
281
|
-
}, []),
|
|
282
|
-
|
|
283
|
-
}, []),
|
|
284
|
-
|
|
306
|
+
}, []), X = n(() => {
|
|
307
|
+
ie.current !== null && (window.clearTimeout(ie.current), ie.current = null);
|
|
308
|
+
}, []), J = n(() => {
|
|
309
|
+
Y(), B(), M(), z(null), G.reset(), d(!1, "reset-audio-sequence"), mt(!1), Ke(!1), De(void 0), Ie(!1), ce(0);
|
|
285
310
|
}, [
|
|
286
|
-
|
|
311
|
+
Y,
|
|
287
312
|
B,
|
|
288
313
|
M,
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
314
|
+
G,
|
|
315
|
+
d
|
|
316
|
+
]), Q = n(() => {
|
|
317
|
+
const e = C[0];
|
|
318
|
+
return e ? (z(e), !0) : !1;
|
|
319
|
+
}, [C]), Ee = n(() => {
|
|
320
|
+
B(), M(), Ie(!1), ce(0), !Q() && I && E();
|
|
295
321
|
}, [
|
|
296
322
|
I,
|
|
297
323
|
B,
|
|
298
324
|
M,
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
]), Tt =
|
|
325
|
+
E,
|
|
326
|
+
Q
|
|
327
|
+
]), Tt = n(
|
|
302
328
|
(e) => {
|
|
303
329
|
if (M(), !e)
|
|
304
330
|
return;
|
|
305
331
|
const t = () => {
|
|
306
|
-
oe.current = null,
|
|
307
|
-
|
|
308
|
-
),
|
|
332
|
+
oe.current = null, ce(
|
|
333
|
+
Qn
|
|
334
|
+
), Ie(!0), $.current = null;
|
|
309
335
|
};
|
|
310
336
|
oe.current = window.setTimeout(
|
|
311
337
|
t,
|
|
312
|
-
|
|
338
|
+
Jn
|
|
313
339
|
);
|
|
314
340
|
},
|
|
315
341
|
[M]
|
|
316
|
-
),
|
|
317
|
-
(e =
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
},
|
|
342
|
+
), x = n(
|
|
343
|
+
(e = Ae) => {
|
|
344
|
+
_ && (be(!0), D(), !(O || !e || Fe <= 0) && (te.current = window.setTimeout(() => {
|
|
345
|
+
be(!1), te.current = null;
|
|
346
|
+
}, Fe)));
|
|
321
347
|
},
|
|
322
348
|
[
|
|
323
349
|
D,
|
|
324
|
-
|
|
350
|
+
Ae,
|
|
325
351
|
O,
|
|
326
|
-
|
|
327
|
-
|
|
352
|
+
Fe,
|
|
353
|
+
_
|
|
328
354
|
]
|
|
329
|
-
),
|
|
355
|
+
), pe = !!(h?.readonly || h?.user_input?.trim()), H = !!h && !pe;
|
|
330
356
|
a(() => {
|
|
331
|
-
ft(!0), ee &&
|
|
332
|
-
}, [
|
|
333
|
-
|
|
357
|
+
ft(!0), ee && qe(!1);
|
|
358
|
+
}, [f, ee]), a(() => () => {
|
|
359
|
+
Y(), D(), B(), M(), X();
|
|
334
360
|
}, [
|
|
335
|
-
|
|
361
|
+
Y,
|
|
336
362
|
B,
|
|
337
363
|
M,
|
|
338
364
|
D,
|
|
339
|
-
|
|
365
|
+
X
|
|
340
366
|
]), a(() => {
|
|
341
|
-
if (!
|
|
342
|
-
|
|
367
|
+
if (!o || Oe <= 0) {
|
|
368
|
+
X(), Be.current = null, je.current = !1, le.current = !1, Le(!1);
|
|
343
369
|
return;
|
|
344
370
|
}
|
|
345
|
-
const e = !
|
|
346
|
-
return
|
|
347
|
-
|
|
348
|
-
code:
|
|
371
|
+
const e = !je.current, t = Be.current !== de;
|
|
372
|
+
return je.current = !0, (e || t) && (Be.current = de, le.current && (le.current = !1, Le(!1))), X(), ie.current = window.setTimeout(() => {
|
|
373
|
+
ie.current = null, !le.current && (le.current = !0, Le(!0), d(!1, "stream-inactivity-timeout"), et?.({
|
|
374
|
+
code: jn.STREAM_INACTIVITY_TIMEOUT
|
|
349
375
|
}));
|
|
350
|
-
},
|
|
351
|
-
|
|
376
|
+
}, Oe), () => {
|
|
377
|
+
X();
|
|
352
378
|
};
|
|
353
379
|
}, [
|
|
354
|
-
|
|
355
|
-
|
|
380
|
+
X,
|
|
381
|
+
o,
|
|
356
382
|
et,
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
383
|
+
de,
|
|
384
|
+
Oe,
|
|
385
|
+
d
|
|
386
|
+
]), a(() => (ke?.(P), () => {
|
|
387
|
+
ke?.(!1);
|
|
388
|
+
}), [ke, P]), a(() => {
|
|
389
|
+
R || we === Re || (Ue(!1), He(Re));
|
|
390
|
+
}, [R, we]), a(() => {
|
|
364
391
|
if (!R) {
|
|
365
392
|
vt(!1);
|
|
366
393
|
return;
|
|
@@ -368,237 +395,248 @@ const Zn = (o, s) => o.length === s.length && o.every((F, O) => {
|
|
|
368
395
|
const e = () => {
|
|
369
396
|
vt(kt());
|
|
370
397
|
};
|
|
371
|
-
return e(),
|
|
398
|
+
return e(), Fn(e);
|
|
372
399
|
}, [R]), a(() => {
|
|
373
|
-
Ze?.(
|
|
374
|
-
}, [
|
|
375
|
-
const l =
|
|
376
|
-
if (
|
|
377
|
-
|
|
400
|
+
Ze?.(L);
|
|
401
|
+
}, [L, Ze]), a(() => {
|
|
402
|
+
const l = gt.current !== "fullscreen" && L === "fullscreen" && !$e;
|
|
403
|
+
if (gt.current = L, !R) {
|
|
404
|
+
_e(!1);
|
|
378
405
|
return;
|
|
379
406
|
}
|
|
380
407
|
if (l) {
|
|
381
|
-
|
|
408
|
+
_e(!0);
|
|
382
409
|
return;
|
|
383
410
|
}
|
|
384
|
-
|
|
385
|
-
}, [
|
|
386
|
-
tt?.(
|
|
387
|
-
}, [
|
|
388
|
-
const e = at.current, t =
|
|
411
|
+
L !== "fullscreen" && _e(!1);
|
|
412
|
+
}, [L, R, $e]), a(() => {
|
|
413
|
+
tt?.(se, f);
|
|
414
|
+
}, [f, se, tt]), a(() => {
|
|
415
|
+
const e = at.current, t = Hn(
|
|
389
416
|
{
|
|
390
417
|
previousMarkerCount: e.markerCount,
|
|
391
418
|
nextMarkerCount: N.length,
|
|
392
419
|
previousIndex: e.currentIndex,
|
|
393
420
|
previousCanGoNext: e.canGoNext,
|
|
394
421
|
nextCanGoNext: I,
|
|
395
|
-
currentAudioKey:
|
|
396
|
-
hasCompletedCurrentStepAudio:
|
|
397
|
-
hasResolvedCurrentInteraction:
|
|
398
|
-
currentStepHasSpeakableElement:
|
|
399
|
-
currentInteractionElement:
|
|
400
|
-
isAutoAdvanceEnabled:
|
|
401
|
-
shouldUseSilentStepAutoAdvanceToggle:
|
|
422
|
+
currentAudioKey: g,
|
|
423
|
+
hasCompletedCurrentStepAudio: w,
|
|
424
|
+
hasResolvedCurrentInteraction: pe,
|
|
425
|
+
currentStepHasSpeakableElement: S,
|
|
426
|
+
currentInteractionElement: h,
|
|
427
|
+
isAutoAdvanceEnabled: ue,
|
|
428
|
+
shouldUseSilentStepAutoAdvanceToggle: me
|
|
402
429
|
}
|
|
403
430
|
);
|
|
404
431
|
at.current = {
|
|
405
432
|
markerCount: N.length,
|
|
406
|
-
currentIndex:
|
|
433
|
+
currentIndex: f,
|
|
407
434
|
canGoNext: I
|
|
408
|
-
}, t &&
|
|
435
|
+
}, t && E();
|
|
409
436
|
}, [
|
|
410
437
|
I,
|
|
411
|
-
|
|
412
|
-
p,
|
|
438
|
+
g,
|
|
413
439
|
f,
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
440
|
+
h,
|
|
441
|
+
S,
|
|
442
|
+
E,
|
|
443
|
+
w,
|
|
444
|
+
pe,
|
|
445
|
+
ue,
|
|
417
446
|
me,
|
|
418
|
-
ce,
|
|
419
|
-
fe,
|
|
420
447
|
N.length
|
|
421
448
|
]), a(() => {
|
|
422
|
-
if (!
|
|
423
|
-
D(),
|
|
449
|
+
if (!_) {
|
|
450
|
+
D(), be(!1);
|
|
424
451
|
return;
|
|
425
452
|
}
|
|
426
453
|
if (O) {
|
|
427
|
-
D(),
|
|
454
|
+
D(), be(!0);
|
|
428
455
|
return;
|
|
429
456
|
}
|
|
430
|
-
|
|
457
|
+
Ae || x(!0);
|
|
431
458
|
}, [
|
|
432
459
|
D,
|
|
433
|
-
|
|
460
|
+
Ae,
|
|
434
461
|
O,
|
|
435
|
-
|
|
436
|
-
|
|
462
|
+
_,
|
|
463
|
+
x
|
|
437
464
|
]), a(() => {
|
|
438
465
|
if (typeof window > "u")
|
|
439
466
|
return;
|
|
440
467
|
const e = (t) => {
|
|
441
|
-
t.origin === window.location.origin &&
|
|
468
|
+
t.origin === window.location.origin && Tn(t.data) && t.data.eventType === "click" && _ && (ae(!0), x(!0));
|
|
442
469
|
};
|
|
443
470
|
return window.addEventListener("message", e), () => {
|
|
444
471
|
window.removeEventListener("message", e);
|
|
445
472
|
};
|
|
446
|
-
}, [
|
|
447
|
-
sectionRef:
|
|
448
|
-
enabled:
|
|
473
|
+
}, [_, x]), Vn({
|
|
474
|
+
sectionRef: ye,
|
|
475
|
+
enabled: _,
|
|
449
476
|
onWake: () => {
|
|
450
|
-
ae(!0),
|
|
477
|
+
ae(!0), x(!0);
|
|
451
478
|
}
|
|
452
479
|
}), a(() => {
|
|
453
|
-
const { hasPlaybackContextChanged: e, shouldInitializeAudioSequence: t } =
|
|
454
|
-
previousResetKey:
|
|
455
|
-
nextResetKey:
|
|
456
|
-
currentAudioKey:
|
|
457
|
-
hasCompletedCurrentStepAudio:
|
|
480
|
+
const { hasPlaybackContextChanged: e, shouldInitializeAudioSequence: t } = Un({
|
|
481
|
+
previousResetKey: st.current,
|
|
482
|
+
nextResetKey: fe,
|
|
483
|
+
currentAudioKey: g,
|
|
484
|
+
hasCompletedCurrentStepAudio: w
|
|
458
485
|
});
|
|
459
|
-
|
|
460
|
-
const l =
|
|
461
|
-
hasInteraction: !!
|
|
462
|
-
shouldBlockPlaybackForInteraction:
|
|
486
|
+
st.current = fe;
|
|
487
|
+
const l = $.current === f && !!h, m = Dn({
|
|
488
|
+
hasInteraction: !!h,
|
|
489
|
+
shouldBlockPlaybackForInteraction: H,
|
|
463
490
|
shouldOpenInteractionOverlayAfterAudio: l,
|
|
464
491
|
hasPlaybackContextChanged: e,
|
|
465
|
-
hasResolvedCurrentInteraction:
|
|
466
|
-
currentStepHasSpeakableElement:
|
|
492
|
+
hasResolvedCurrentInteraction: pe,
|
|
493
|
+
currentStepHasSpeakableElement: S
|
|
467
494
|
});
|
|
468
|
-
if (e &&
|
|
469
|
-
if (
|
|
470
|
-
Tt(
|
|
495
|
+
if (e && J(), !(k.length === 0 && !h) && !K) {
|
|
496
|
+
if (h && De(h), m) {
|
|
497
|
+
Tt(h);
|
|
471
498
|
return;
|
|
472
499
|
}
|
|
473
|
-
if (M(),
|
|
474
|
-
if (
|
|
475
|
-
if (
|
|
476
|
-
|
|
500
|
+
if (M(), $.current = null, !!t && !Q()) {
|
|
501
|
+
if (S) {
|
|
502
|
+
if (j) {
|
|
503
|
+
d(
|
|
504
|
+
!1,
|
|
505
|
+
"step-wait-suppressed-after-timeout"
|
|
506
|
+
);
|
|
477
507
|
return;
|
|
478
508
|
}
|
|
479
|
-
|
|
509
|
+
d(!0, "step-waiting-for-first-audio");
|
|
480
510
|
return;
|
|
481
511
|
}
|
|
482
|
-
if (I && !(
|
|
512
|
+
if (I && !(me && !ue))
|
|
483
513
|
return ne.current = window.setTimeout(() => {
|
|
484
|
-
ne.current = null,
|
|
514
|
+
ne.current = null, E();
|
|
485
515
|
}, Je), () => {
|
|
486
|
-
|
|
516
|
+
Y();
|
|
487
517
|
};
|
|
488
518
|
}
|
|
489
519
|
}
|
|
490
520
|
}, [
|
|
491
521
|
I,
|
|
492
|
-
|
|
522
|
+
Y,
|
|
493
523
|
k.length,
|
|
494
|
-
|
|
524
|
+
h,
|
|
525
|
+
g,
|
|
526
|
+
fe,
|
|
495
527
|
S,
|
|
496
|
-
de,
|
|
497
|
-
b,
|
|
498
528
|
Je,
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
529
|
+
E,
|
|
530
|
+
w,
|
|
531
|
+
j,
|
|
532
|
+
ue,
|
|
533
|
+
pe,
|
|
534
|
+
H,
|
|
505
535
|
M,
|
|
506
|
-
X,
|
|
507
|
-
Tt,
|
|
508
536
|
J,
|
|
509
|
-
|
|
510
|
-
|
|
537
|
+
Tt,
|
|
538
|
+
Q,
|
|
539
|
+
K,
|
|
540
|
+
me,
|
|
541
|
+
d
|
|
511
542
|
]), a(() => {
|
|
512
|
-
if (
|
|
513
|
-
|
|
543
|
+
if (j || K || !S || H) {
|
|
544
|
+
d(!1, "loading-hidden-blocked-state", {
|
|
545
|
+
shouldPausePlaybackForCustomAction: K,
|
|
546
|
+
shouldBlockPlaybackForInteraction: H
|
|
547
|
+
});
|
|
514
548
|
return;
|
|
515
549
|
}
|
|
516
|
-
if (
|
|
517
|
-
|
|
550
|
+
if (w) {
|
|
551
|
+
d(
|
|
552
|
+
!1,
|
|
553
|
+
"loading-hidden-step-audio-completed"
|
|
554
|
+
);
|
|
518
555
|
return;
|
|
519
556
|
}
|
|
520
557
|
if (It) {
|
|
521
|
-
|
|
558
|
+
d(!1, "loading-hidden-audio-available");
|
|
522
559
|
return;
|
|
523
560
|
}
|
|
524
|
-
|
|
561
|
+
d(!0, "loading-visible-awaiting-step-audio");
|
|
525
562
|
}, [
|
|
526
|
-
|
|
563
|
+
j,
|
|
527
564
|
It,
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
565
|
+
S,
|
|
566
|
+
w,
|
|
567
|
+
K,
|
|
568
|
+
H,
|
|
569
|
+
d
|
|
532
570
|
]), a(() => {
|
|
533
|
-
|
|
571
|
+
g || C.length === 0 || K || !S || H || w || Q();
|
|
534
572
|
}, [
|
|
535
|
-
|
|
536
|
-
E,
|
|
537
|
-
b,
|
|
573
|
+
g,
|
|
538
574
|
C,
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
575
|
+
S,
|
|
576
|
+
w,
|
|
577
|
+
K,
|
|
578
|
+
H,
|
|
579
|
+
Q
|
|
542
580
|
]), a(() => {
|
|
543
|
-
!
|
|
544
|
-
}, [
|
|
545
|
-
|
|
546
|
-
}, [
|
|
547
|
-
|
|
548
|
-
}, [
|
|
549
|
-
const Et =
|
|
550
|
-
if (!
|
|
581
|
+
!g || A >= 0 || z(null);
|
|
582
|
+
}, [A, g]), a(() => {
|
|
583
|
+
A >= 0 || G.reset();
|
|
584
|
+
}, [A, G]), a(() => {
|
|
585
|
+
Ke(!1);
|
|
586
|
+
}, [an]);
|
|
587
|
+
const Et = c(() => {
|
|
588
|
+
if (!s)
|
|
551
589
|
return {};
|
|
552
|
-
const e = !!
|
|
553
|
-
return
|
|
554
|
-
typeof
|
|
555
|
-
|
|
556
|
-
e ? void 0 :
|
|
590
|
+
const e = !!s.user_input?.trim();
|
|
591
|
+
return Rn(
|
|
592
|
+
typeof s.content == "string" ? s.content : void 0,
|
|
593
|
+
s.user_input,
|
|
594
|
+
e ? void 0 : ve
|
|
557
595
|
);
|
|
558
|
-
}, [
|
|
559
|
-
if (!
|
|
596
|
+
}, [s, ve]), un = c(() => {
|
|
597
|
+
if (!s)
|
|
560
598
|
return;
|
|
561
|
-
const e = !!
|
|
562
|
-
return
|
|
563
|
-
typeof
|
|
564
|
-
|
|
565
|
-
e ? void 0 :
|
|
599
|
+
const e = !!s.user_input?.trim();
|
|
600
|
+
return Pn(
|
|
601
|
+
typeof s.content == "string" ? s.content : void 0,
|
|
602
|
+
s.user_input,
|
|
603
|
+
e ? void 0 : ve
|
|
566
604
|
);
|
|
567
|
-
}, [
|
|
605
|
+
}, [s, ve]), Ct = !!s?.user_input?.trim(), Rt = !!s?.readonly || Ct, Pt = Rt || Ct, Ye = !!s && xe, cn = n(
|
|
568
606
|
(e) => {
|
|
569
607
|
const l = [
|
|
570
608
|
...e.selectedValues ?? [],
|
|
571
609
|
e.inputText?.trim() ?? "",
|
|
572
610
|
e.buttonText?.trim() ?? ""
|
|
573
611
|
].filter(Boolean).join(", ");
|
|
574
|
-
De((
|
|
575
|
-
...
|
|
612
|
+
De((m) => !m || !l ? m : {
|
|
613
|
+
...m,
|
|
576
614
|
user_input: l
|
|
577
|
-
}), Qe?.(e,
|
|
615
|
+
}), Qe?.(e, s), Ee();
|
|
578
616
|
},
|
|
579
|
-
[
|
|
617
|
+
[s, Ee, Qe]
|
|
580
618
|
);
|
|
581
619
|
a(() => {
|
|
582
620
|
const e = () => {
|
|
583
|
-
|
|
621
|
+
Gt(document.fullscreenElement === ye.current);
|
|
584
622
|
};
|
|
585
623
|
return e(), document.addEventListener("fullscreenchange", e), () => {
|
|
586
624
|
document.removeEventListener("fullscreenchange", e);
|
|
587
625
|
};
|
|
588
626
|
}, []), a(() => {
|
|
589
627
|
if (!Ye) {
|
|
590
|
-
|
|
628
|
+
ce(0);
|
|
591
629
|
return;
|
|
592
630
|
}
|
|
593
|
-
const e =
|
|
631
|
+
const e = it.current;
|
|
594
632
|
if (!e)
|
|
595
633
|
return;
|
|
596
634
|
const t = () => {
|
|
597
|
-
const
|
|
635
|
+
const m = Math.ceil(
|
|
598
636
|
e.getBoundingClientRect().height
|
|
599
637
|
);
|
|
600
|
-
|
|
601
|
-
|
|
638
|
+
ce(
|
|
639
|
+
m + Zn
|
|
602
640
|
);
|
|
603
641
|
};
|
|
604
642
|
if (t(), typeof ResizeObserver > "u")
|
|
@@ -612,17 +650,17 @@ const Zn = (o, s) => o.length === s.length && o.every((F, O) => {
|
|
|
612
650
|
}, [Ye]), a(() => {
|
|
613
651
|
if (B(), !(!xe || !Pt))
|
|
614
652
|
return re.current = window.setTimeout(() => {
|
|
615
|
-
re.current = null,
|
|
653
|
+
re.current = null, Ee();
|
|
616
654
|
}, 2e3), () => {
|
|
617
655
|
B();
|
|
618
656
|
};
|
|
619
657
|
}, [
|
|
620
658
|
B,
|
|
621
|
-
|
|
659
|
+
Ee,
|
|
622
660
|
xe,
|
|
623
661
|
Pt
|
|
624
662
|
]);
|
|
625
|
-
const
|
|
663
|
+
const dn = (e, t = {}) => e ? e.type === "slot" ? /* @__PURE__ */ r.jsx(r.Fragment, { children: e.content }) : e.type === "html" ? /* @__PURE__ */ r.jsx(
|
|
626
664
|
Ot,
|
|
627
665
|
{
|
|
628
666
|
className: "content-render-iframe",
|
|
@@ -633,7 +671,7 @@ const Zn = (o, s) => o.length === s.length && o.every((F, O) => {
|
|
|
633
671
|
content: e.content,
|
|
634
672
|
enableScaling: Bt
|
|
635
673
|
}
|
|
636
|
-
) : /* @__PURE__ */
|
|
674
|
+
) : /* @__PURE__ */ r.jsx(
|
|
637
675
|
Ot,
|
|
638
676
|
{
|
|
639
677
|
className: "content-render-iframe",
|
|
@@ -642,36 +680,36 @@ const Zn = (o, s) => o.length === s.length && o.every((F, O) => {
|
|
|
642
680
|
type: "markdown",
|
|
643
681
|
content: e.content
|
|
644
682
|
}
|
|
645
|
-
) : null,
|
|
683
|
+
) : null, fn = (e = [], t = !1) => {
|
|
646
684
|
if (e.length === 0)
|
|
647
685
|
return null;
|
|
648
686
|
const l = e.filter(
|
|
649
|
-
(
|
|
650
|
-
).length,
|
|
651
|
-
(
|
|
687
|
+
(u) => u.is_renderable !== !1
|
|
688
|
+
).length, m = e.reduce(
|
|
689
|
+
(u, p, T) => p.is_renderable !== !1 ? T : u,
|
|
652
690
|
-1
|
|
653
691
|
);
|
|
654
|
-
return /* @__PURE__ */
|
|
655
|
-
const
|
|
656
|
-
return /* @__PURE__ */
|
|
692
|
+
return /* @__PURE__ */ r.jsx("div", { className: "slide-stage__content flex w-full flex-col gap-4", children: e.map((u, p) => {
|
|
693
|
+
const T = u.type === "html" && u.is_renderable === !1;
|
|
694
|
+
return /* @__PURE__ */ r.jsx(
|
|
657
695
|
"div",
|
|
658
696
|
{
|
|
659
|
-
ref: t &&
|
|
660
|
-
"aria-hidden":
|
|
697
|
+
ref: t && p === m ? ot : null,
|
|
698
|
+
"aria-hidden": T || void 0,
|
|
661
699
|
className: Z(
|
|
662
700
|
"w-full shrink-0",
|
|
663
|
-
l === 1 &&
|
|
664
|
-
|
|
701
|
+
l === 1 && u.is_renderable !== !1 && "slide-element--single",
|
|
702
|
+
T ? "pointer-events-none fixed left-[-200vw] top-0 -z-10 h-[100dvh] w-[100vw] overflow-hidden opacity-0" : u.is_renderable === !1 && "hidden"
|
|
665
703
|
),
|
|
666
|
-
children:
|
|
667
|
-
replaceRootScreenHeightWithFull: l === 1 &&
|
|
704
|
+
children: dn(u, {
|
|
705
|
+
replaceRootScreenHeightWithFull: l === 1 && u.type === "html" && u.is_renderable !== !1
|
|
668
706
|
})
|
|
669
707
|
},
|
|
670
|
-
|
|
708
|
+
u.sequence_number ?? `${u.type}-${p}`
|
|
671
709
|
);
|
|
672
710
|
}) });
|
|
673
|
-
},
|
|
674
|
-
const e =
|
|
711
|
+
}, mn = n(() => {
|
|
712
|
+
const e = ye.current;
|
|
675
713
|
if (e) {
|
|
676
714
|
if (document.fullscreenElement === e) {
|
|
677
715
|
document.exitFullscreen().catch(() => {
|
|
@@ -681,102 +719,119 @@ const Zn = (o, s) => o.length === s.length && o.every((F, O) => {
|
|
|
681
719
|
e.requestFullscreen?.().catch(() => {
|
|
682
720
|
});
|
|
683
721
|
}
|
|
684
|
-
}, []), Mt =
|
|
685
|
-
const e =
|
|
722
|
+
}, []), Mt = n(() => {
|
|
723
|
+
const e = Ne.current;
|
|
686
724
|
e && e.scrollTo({
|
|
687
725
|
top: e.scrollHeight,
|
|
688
726
|
behavior: "smooth"
|
|
689
727
|
});
|
|
690
|
-
}, []),
|
|
691
|
-
|
|
692
|
-
}, [
|
|
693
|
-
|
|
694
|
-
|
|
728
|
+
}, []), pn = n(() => {
|
|
729
|
+
ge.current = !0, $.current = null, ae(!0), d(!1, "player-prev"), x(!0), J(), ct();
|
|
730
|
+
}, [
|
|
731
|
+
ct,
|
|
732
|
+
J,
|
|
733
|
+
x,
|
|
734
|
+
d
|
|
735
|
+
]), hn = n(() => {
|
|
736
|
+
ge.current = !0, $.current = null, ae(!0), d(!1, "player-next"), x(!0), J(), E();
|
|
737
|
+
}, [
|
|
738
|
+
E,
|
|
739
|
+
J,
|
|
740
|
+
x,
|
|
741
|
+
d
|
|
742
|
+
]), vn = n(
|
|
695
743
|
(e) => {
|
|
696
|
-
if (
|
|
697
|
-
|
|
744
|
+
if (j || !S || w) {
|
|
745
|
+
d(!1, "player-loading-change-ignored", {
|
|
746
|
+
loading: e
|
|
747
|
+
});
|
|
698
748
|
return;
|
|
699
749
|
}
|
|
700
|
-
|
|
750
|
+
d(
|
|
751
|
+
e,
|
|
752
|
+
e ? "player-reported-loading" : "player-reported-ready"
|
|
753
|
+
);
|
|
701
754
|
},
|
|
702
755
|
[
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
756
|
+
S,
|
|
757
|
+
w,
|
|
758
|
+
j,
|
|
759
|
+
d
|
|
706
760
|
]
|
|
707
|
-
),
|
|
761
|
+
), yn = n(
|
|
708
762
|
(e) => {
|
|
709
|
-
const t =
|
|
710
|
-
if (!t || !
|
|
763
|
+
const t = b[e]?.audioKey;
|
|
764
|
+
if (!t || !g || t !== g)
|
|
711
765
|
return;
|
|
712
|
-
const l =
|
|
713
|
-
(
|
|
766
|
+
const l = C.findIndex(
|
|
767
|
+
(p) => p === t
|
|
714
768
|
);
|
|
715
769
|
if (l < 0) {
|
|
716
|
-
|
|
770
|
+
z(null);
|
|
717
771
|
return;
|
|
718
772
|
}
|
|
719
|
-
const
|
|
720
|
-
if (
|
|
721
|
-
|
|
773
|
+
const m = l + 1, u = C[m];
|
|
774
|
+
if (u) {
|
|
775
|
+
z(u);
|
|
722
776
|
return;
|
|
723
777
|
}
|
|
724
|
-
if (
|
|
725
|
-
const
|
|
726
|
-
_t &&
|
|
778
|
+
if (z(null), mt(!0), d(!1, "player-ended-step-complete"), I) {
|
|
779
|
+
const p = f + 1, T = N[p];
|
|
780
|
+
_t && T?.type === "interaction" && ($.current = p), E();
|
|
727
781
|
}
|
|
728
782
|
},
|
|
729
783
|
[
|
|
730
|
-
|
|
784
|
+
b,
|
|
731
785
|
I,
|
|
732
|
-
|
|
733
|
-
|
|
786
|
+
f,
|
|
787
|
+
g,
|
|
788
|
+
C,
|
|
734
789
|
E,
|
|
735
|
-
T,
|
|
736
790
|
_t,
|
|
737
|
-
N
|
|
791
|
+
N,
|
|
792
|
+
d
|
|
738
793
|
]
|
|
739
|
-
),
|
|
740
|
-
|
|
741
|
-
}, [
|
|
794
|
+
), gn = n(() => {
|
|
795
|
+
s && Ie((e) => !e);
|
|
796
|
+
}, [s]), Ft = n(
|
|
742
797
|
(e) => {
|
|
743
|
-
e.stopPropagation(), P &&
|
|
798
|
+
e.stopPropagation(), P && x(!0);
|
|
744
799
|
},
|
|
745
|
-
[dt,
|
|
746
|
-
), Sn =
|
|
800
|
+
[dt, x]
|
|
801
|
+
), Sn = n(
|
|
747
802
|
(e) => {
|
|
748
803
|
nt?.(e);
|
|
749
804
|
},
|
|
750
805
|
[nt]
|
|
751
|
-
),
|
|
752
|
-
ae(!0),
|
|
753
|
-
}, [
|
|
806
|
+
), bn = n(() => {
|
|
807
|
+
ae(!0), x(!0);
|
|
808
|
+
}, [x]), Ce = c(
|
|
754
809
|
() => k.map(
|
|
755
810
|
(e, t) => `${e.sequence_number ?? `${e.type}-${t}`}:${String(e.is_new ?? "")}`
|
|
756
811
|
),
|
|
757
812
|
[k]
|
|
758
813
|
);
|
|
759
814
|
return a(() => {
|
|
760
|
-
const e =
|
|
761
|
-
(
|
|
815
|
+
const e = lt.current, m = (e.length > 0 && e.length < Ce.length && e.every((p, T) => p === Ce[T]) ? k.slice(e.length) : []).some(
|
|
816
|
+
(p) => p.is_new === !1
|
|
762
817
|
);
|
|
763
|
-
if (
|
|
818
|
+
if (lt.current = Ce, !m)
|
|
764
819
|
return;
|
|
765
|
-
const
|
|
766
|
-
const
|
|
767
|
-
if (!
|
|
820
|
+
const u = window.requestAnimationFrame(() => {
|
|
821
|
+
const p = Ne.current, T = ot.current;
|
|
822
|
+
if (!p || !T)
|
|
768
823
|
return;
|
|
769
|
-
const
|
|
770
|
-
|
|
771
|
-
top: Math.max(
|
|
824
|
+
const An = p.getBoundingClientRect(), xn = T.getBoundingClientRect(), In = p.scrollTop + (xn.top - An.top);
|
|
825
|
+
p.scrollTo({
|
|
826
|
+
top: Math.max(In, 0),
|
|
772
827
|
behavior: "smooth"
|
|
773
828
|
});
|
|
774
829
|
});
|
|
775
830
|
return () => {
|
|
776
|
-
window.cancelAnimationFrame(
|
|
831
|
+
window.cancelAnimationFrame(u);
|
|
777
832
|
};
|
|
778
|
-
}, [k,
|
|
779
|
-
if (!
|
|
833
|
+
}, [k, Ce]), a(() => {
|
|
834
|
+
if (!ge.current || (ge.current = !1, k.length === 0))
|
|
780
835
|
return;
|
|
781
836
|
const e = window.requestAnimationFrame(() => {
|
|
782
837
|
Mt();
|
|
@@ -784,69 +839,69 @@ const Zn = (o, s) => o.length === s.length && o.every((F, O) => {
|
|
|
784
839
|
return () => {
|
|
785
840
|
window.cancelAnimationFrame(e);
|
|
786
841
|
};
|
|
787
|
-
}, [k, Mt]), /* @__PURE__ */
|
|
842
|
+
}, [k, Mt]), /* @__PURE__ */ r.jsxs(
|
|
788
843
|
"section",
|
|
789
844
|
{
|
|
790
|
-
ref:
|
|
845
|
+
ref: ye,
|
|
791
846
|
className: Z(
|
|
792
847
|
"relative h-full w-full",
|
|
793
848
|
R && "slide--mobile-device",
|
|
794
|
-
|
|
849
|
+
W && "slide--mobile-landscape",
|
|
795
850
|
yt && "slide--mobile-landscape-native",
|
|
796
851
|
jt
|
|
797
852
|
),
|
|
798
|
-
onClick:
|
|
853
|
+
onClick: bn,
|
|
799
854
|
onPointerDown: Sn,
|
|
800
855
|
...Lt,
|
|
801
856
|
children: [
|
|
802
|
-
|
|
857
|
+
Qt ? /* @__PURE__ */ r.jsx(
|
|
803
858
|
"div",
|
|
804
859
|
{
|
|
805
860
|
"aria-hidden": "true",
|
|
806
861
|
className: "pointer-events-none fixed left-0 top-0 z-[9999] h-[100vh] max-h-[100vh] w-[100vw]"
|
|
807
862
|
}
|
|
808
863
|
) : null,
|
|
809
|
-
/* @__PURE__ */
|
|
864
|
+
/* @__PURE__ */ r.jsxs(
|
|
810
865
|
"div",
|
|
811
866
|
{
|
|
812
867
|
ref: rt,
|
|
813
868
|
className: Z(
|
|
814
869
|
"slide__viewport relative h-full min-h-0 w-full",
|
|
815
|
-
|
|
816
|
-
|
|
870
|
+
W && "slide__viewport--mobile-landscape",
|
|
871
|
+
W && !Yt && "slide__viewport--mobile-landscape-native"
|
|
817
872
|
),
|
|
818
873
|
children: [
|
|
819
|
-
|
|
820
|
-
/* @__PURE__ */
|
|
874
|
+
Xt ? /* @__PURE__ */ r.jsxs("div", { className: "slide-landscape-header", children: [
|
|
875
|
+
/* @__PURE__ */ r.jsx(
|
|
821
876
|
"button",
|
|
822
877
|
{
|
|
823
|
-
"aria-label":
|
|
878
|
+
"aria-label": q?.backAriaLabel ?? "Back",
|
|
824
879
|
className: "slide-landscape-header__back",
|
|
825
|
-
onClick:
|
|
880
|
+
onClick: tn,
|
|
826
881
|
type: "button",
|
|
827
|
-
children: /* @__PURE__ */
|
|
882
|
+
children: /* @__PURE__ */ r.jsx(Yn, { className: "h-6 w-6 text-white", strokeWidth: 2.25 })
|
|
828
883
|
}
|
|
829
884
|
),
|
|
830
|
-
|
|
885
|
+
q?.content ? /* @__PURE__ */ r.jsx("div", { className: "min-w-0 flex-1 overflow-hidden", children: q.content }) : null
|
|
831
886
|
] }) : null,
|
|
832
|
-
/* @__PURE__ */
|
|
887
|
+
/* @__PURE__ */ r.jsx(
|
|
833
888
|
"div",
|
|
834
889
|
{
|
|
835
890
|
className: Z(
|
|
836
891
|
"h-full min-h-0 w-full",
|
|
837
|
-
|
|
892
|
+
Jt && "slide__viewport-content--with-header",
|
|
838
893
|
Vt ? "slide-content--single" : "grid gap-4"
|
|
839
894
|
),
|
|
840
|
-
children: k.length > 0 ? /* @__PURE__ */
|
|
895
|
+
children: k.length > 0 ? /* @__PURE__ */ r.jsx("div", { className: "slide-stage", children: /* @__PURE__ */ r.jsx("div", { ref: Ne, className: "slide-stage__layer w-full", children: rn.map(
|
|
841
896
|
(e, t) => {
|
|
842
|
-
const l = t ===
|
|
843
|
-
return /* @__PURE__ */
|
|
897
|
+
const l = t === on;
|
|
898
|
+
return /* @__PURE__ */ r.jsx(
|
|
844
899
|
"div",
|
|
845
900
|
{
|
|
846
901
|
"aria-hidden": !l || void 0,
|
|
847
902
|
className: "w-full h-full",
|
|
848
903
|
style: { display: l ? void 0 : "none" },
|
|
849
|
-
children:
|
|
904
|
+
children: fn(
|
|
850
905
|
e.elementList,
|
|
851
906
|
l
|
|
852
907
|
)
|
|
@@ -857,101 +912,101 @@ const Zn = (o, s) => o.length === s.length && o.every((F, O) => {
|
|
|
857
912
|
) }) }) : null
|
|
858
913
|
}
|
|
859
914
|
),
|
|
860
|
-
|
|
861
|
-
|
|
915
|
+
qt ? /* @__PURE__ */ r.jsx(
|
|
916
|
+
En,
|
|
862
917
|
{
|
|
863
|
-
message:
|
|
918
|
+
message: Pe,
|
|
864
919
|
className: "absolute left-1/2 top-1/2 z-[3] -translate-x-1/2 -translate-y-1/2"
|
|
865
920
|
}
|
|
866
921
|
) : null,
|
|
867
|
-
/* @__PURE__ */
|
|
868
|
-
|
|
922
|
+
/* @__PURE__ */ r.jsx(
|
|
923
|
+
Ln,
|
|
869
924
|
{
|
|
870
|
-
onClose:
|
|
871
|
-
open:
|
|
872
|
-
text:
|
|
925
|
+
onClose: nn,
|
|
926
|
+
open: Wt,
|
|
927
|
+
text: Zt
|
|
873
928
|
}
|
|
874
929
|
),
|
|
875
|
-
/* @__PURE__ */
|
|
876
|
-
|
|
930
|
+
/* @__PURE__ */ r.jsx(
|
|
931
|
+
kn,
|
|
877
932
|
{
|
|
878
|
-
extraBottomOffset:
|
|
933
|
+
extraBottomOffset: $t,
|
|
879
934
|
hasPlayerGap: P,
|
|
880
|
-
isEnabled: pt &&
|
|
881
|
-
isPlayerHidden:
|
|
882
|
-
playbackTimeStore:
|
|
883
|
-
subtitleCues:
|
|
935
|
+
isEnabled: pt && Ht,
|
|
936
|
+
isPlayerHidden: _ && !P,
|
|
937
|
+
playbackTimeStore: G,
|
|
938
|
+
subtitleCues: ln
|
|
884
939
|
}
|
|
885
940
|
),
|
|
886
|
-
Ye ? /* @__PURE__ */
|
|
941
|
+
Ye ? /* @__PURE__ */ r.jsx(
|
|
887
942
|
"div",
|
|
888
943
|
{
|
|
889
|
-
ref:
|
|
944
|
+
ref: it,
|
|
890
945
|
className: Z(
|
|
891
946
|
"slide-interaction-overlay",
|
|
892
|
-
P &&
|
|
947
|
+
P && _ ? "slide-interaction-overlay--with-player" : "slide-interaction-overlay--standalone"
|
|
893
948
|
),
|
|
894
949
|
onClick: Ft,
|
|
895
950
|
onPointerDown: Ft,
|
|
896
951
|
style: sn,
|
|
897
|
-
children: /* @__PURE__ */
|
|
952
|
+
children: /* @__PURE__ */ r.jsx(
|
|
898
953
|
Nt,
|
|
899
954
|
{
|
|
900
|
-
content: String(
|
|
955
|
+
content: String(s?.content ?? ""),
|
|
901
956
|
defaultButtonText: Et.buttonText ?? "",
|
|
902
957
|
defaultInputText: Et.inputText ?? "",
|
|
903
|
-
defaultSelectedValues:
|
|
904
|
-
confirmButtonText:
|
|
905
|
-
copyButtonText:
|
|
906
|
-
copiedButtonText:
|
|
958
|
+
defaultSelectedValues: un,
|
|
959
|
+
confirmButtonText: he?.confirmButtonText,
|
|
960
|
+
copyButtonText: he?.copyButtonText,
|
|
961
|
+
copiedButtonText: he?.copiedButtonText,
|
|
907
962
|
onSend: cn,
|
|
908
963
|
readonly: Rt,
|
|
909
|
-
title:
|
|
964
|
+
title: he?.title ?? Me ?? "Submit the content below to continue."
|
|
910
965
|
}
|
|
911
966
|
)
|
|
912
967
|
}
|
|
913
968
|
) : null,
|
|
914
|
-
|
|
915
|
-
|
|
969
|
+
_ ? /* @__PURE__ */ r.jsx(
|
|
970
|
+
On,
|
|
916
971
|
{
|
|
917
|
-
audioList:
|
|
972
|
+
audioList: b,
|
|
918
973
|
className: Z(
|
|
919
974
|
"absolute left-1/2 bottom-6 z-[2] -translate-x-1/2",
|
|
920
|
-
|
|
975
|
+
V,
|
|
921
976
|
!P && "pointer-events-none opacity-0"
|
|
922
977
|
),
|
|
923
|
-
currentAudioIndex:
|
|
978
|
+
currentAudioIndex: A,
|
|
924
979
|
defaultPlaying: !0,
|
|
925
|
-
isPlaybackPaused:
|
|
926
|
-
isAutoAdvanceEnabled:
|
|
927
|
-
hasInteraction: !!
|
|
980
|
+
isPlaybackPaused: K,
|
|
981
|
+
isAutoAdvanceEnabled: ue,
|
|
982
|
+
hasInteraction: !!s,
|
|
928
983
|
isInteractionOpen: xe,
|
|
929
984
|
isSubtitleEnabled: pt,
|
|
930
985
|
onAutoAdvanceToggle: ft,
|
|
931
|
-
onLoadingChange:
|
|
986
|
+
onLoadingChange: vn,
|
|
932
987
|
onPlaybackStarted: () => {
|
|
933
|
-
|
|
988
|
+
Ke(!0);
|
|
934
989
|
},
|
|
935
|
-
onPlaybackTimeChange:
|
|
990
|
+
onPlaybackTimeChange: G.setTime,
|
|
936
991
|
onSubtitleToggle: () => {
|
|
937
|
-
|
|
992
|
+
Ut((e) => !e);
|
|
938
993
|
},
|
|
939
994
|
nextDisabled: !I,
|
|
940
|
-
onEnded:
|
|
941
|
-
onFullscreen:
|
|
942
|
-
isFullscreen:
|
|
943
|
-
mobileViewMode:
|
|
995
|
+
onEnded: yn,
|
|
996
|
+
onFullscreen: mn,
|
|
997
|
+
isFullscreen: zt,
|
|
998
|
+
mobileViewMode: L,
|
|
944
999
|
settingsPortalContainer: rt.current,
|
|
945
|
-
onMobileViewModeChange:
|
|
946
|
-
onInteractionToggle:
|
|
947
|
-
onNext:
|
|
948
|
-
onPrev:
|
|
1000
|
+
onMobileViewModeChange: en,
|
|
1001
|
+
onInteractionToggle: gn,
|
|
1002
|
+
onNext: hn,
|
|
1003
|
+
onPrev: pn,
|
|
949
1004
|
prevDisabled: !Kt,
|
|
950
1005
|
showControls: P,
|
|
951
1006
|
texts: Xe,
|
|
952
1007
|
customActionContext: Ge,
|
|
953
|
-
customActions:
|
|
954
|
-
useAutoAdvanceToggle:
|
|
1008
|
+
customActions: U,
|
|
1009
|
+
useAutoAdvanceToggle: me
|
|
955
1010
|
}
|
|
956
1011
|
) : null
|
|
957
1012
|
]
|
|
@@ -962,6 +1017,6 @@ const Zn = (o, s) => o.length === s.length && o.every((F, O) => {
|
|
|
962
1017
|
);
|
|
963
1018
|
};
|
|
964
1019
|
export {
|
|
965
|
-
|
|
1020
|
+
Mr as default
|
|
966
1021
|
};
|
|
967
1022
|
//# sourceMappingURL=Slide.es.js.map
|