markdown-flow-ui 0.3.10 → 0.3.11
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/index6.cjs +1 -1
- package/dist/_virtual/index6.es.js +3 -5
- package/dist/_virtual/index6.es.js.map +1 -1
- package/dist/_virtual/index7.cjs +1 -1
- package/dist/_virtual/index7.es.js +5 -3
- package/dist/_virtual/index7.es.js.map +1 -1
- package/dist/_virtual/index8.cjs +1 -1
- package/dist/_virtual/index8.es.js +2 -2
- package/dist/_virtual/index9.cjs +1 -1
- package/dist/_virtual/index9.es.js +2 -2
- package/dist/assets/markdown-flow-ui.css +1 -1
- package/dist/components/ContentRender/locales/contentRender.json.cjs +1 -1
- package/dist/components/ContentRender/locales/contentRender.json.d.ts +1 -1
- package/dist/components/ContentRender/locales/contentRender.json.es.js +1 -1
- package/dist/components/Slide/Player.cjs +1 -1
- package/dist/components/Slide/Player.cjs.map +1 -1
- package/dist/components/Slide/Player.es.js +319 -321
- package/dist/components/Slide/Player.es.js.map +1 -1
- package/dist/components/Slide/Slide.cjs +1 -1
- package/dist/components/Slide/Slide.cjs.map +1 -1
- package/dist/components/Slide/Slide.es.js +446 -452
- package/dist/components/Slide/Slide.es.js.map +1 -1
- package/dist/components/Slide/useWakePlayerFromIframe.cjs +1 -1
- package/dist/components/Slide/useWakePlayerFromIframe.cjs.map +1 -1
- package/dist/components/Slide/useWakePlayerFromIframe.es.js +32 -32
- package/dist/components/Slide/useWakePlayerFromIframe.es.js.map +1 -1
- package/dist/components/Slide/utils/playerKeyboardShortcuts.cjs +1 -1
- package/dist/components/Slide/utils/playerKeyboardShortcuts.cjs.map +1 -1
- package/dist/components/Slide/utils/playerKeyboardShortcuts.d.ts +2 -1
- package/dist/components/Slide/utils/playerKeyboardShortcuts.es.js +71 -25
- package/dist/components/Slide/utils/playerKeyboardShortcuts.es.js.map +1 -1
- package/dist/markdown-flow-ui.css +1 -1
- package/dist/node_modules/@braintree/sanitize-url/dist/index.cjs +1 -1
- package/dist/node_modules/@braintree/sanitize-url/dist/index.es.js +1 -1
- package/dist/node_modules/classnames/index.cjs +1 -1
- package/dist/node_modules/classnames/index.es.js +1 -1
- package/dist/node_modules/hast-util-to-jsx-runtime/lib/index.cjs +1 -1
- package/dist/node_modules/hast-util-to-jsx-runtime/lib/index.es.js +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-6MUBBAK2.cjs +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-6MUBBAK2.es.js +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-HFQBQIA3.cjs +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-HFQBQIA3.es.js +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-MALGAFMO.cjs +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-MALGAFMO.es.js +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-23REXITY.cjs +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-23REXITY.es.js +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-5NDRBG5M.cjs +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-5NDRBG5M.es.js +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/swimlanesDiagram-OMPLPG4O.cjs +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/swimlanesDiagram-OMPLPG4O.es.js +1 -1
- package/package.json +1 -1
- package/dist/node_modules/lucide-react/dist/esm/icons/grip-horizontal.cjs +0 -2
- package/dist/node_modules/lucide-react/dist/esm/icons/grip-horizontal.cjs.map +0 -1
- package/dist/node_modules/lucide-react/dist/esm/icons/grip-horizontal.es.js +0 -20
- package/dist/node_modules/lucide-react/dist/esm/icons/grip-horizontal.es.js.map +0 -1
|
@@ -1,278 +1,272 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { memo as
|
|
3
|
-
import { isSandboxInteractionMessage as
|
|
1
|
+
import { jsxs as It, jsx as p, Fragment as zr } from "react/jsx-runtime";
|
|
2
|
+
import { memo as Xr, useMemo as d, useId as Jr, useRef as f, useCallback as r, useState as m, useEffect as s, useLayoutEffect as Wr } from "react";
|
|
3
|
+
import { isSandboxInteractionMessage as jr } from "../../lib/sandboxInteraction.es.js";
|
|
4
4
|
import { cn as Pe } from "../../lib/utils.es.js";
|
|
5
|
-
import { useResolvedDirection as
|
|
6
|
-
import { getMarkdownFlowDirection as
|
|
7
|
-
import
|
|
8
|
-
import
|
|
5
|
+
import { useResolvedDirection as Qr } from "../../lib/useResolvedDirection.es.js";
|
|
6
|
+
import { getMarkdownFlowDirection as Zr, getMarkdownFlowLanguage as eo } from "../../lib/locale.es.js";
|
|
7
|
+
import to from "../ui/loading-overlay-card.es.js";
|
|
8
|
+
import no from "../ContentRender/ContentRender.es.js";
|
|
9
9
|
import Dn from "../ContentRender/IframeSandbox.es.js";
|
|
10
10
|
import "../ContentRender/utils/inline-code-ranges.es.js";
|
|
11
11
|
import "../ui/inputGroup/input-group.es.js";
|
|
12
|
-
import { isMobileDevice as
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
12
|
+
import { isMobileDevice as ro, isLandscapeViewport as Nn, subscribeMobileDeviceChange as oo } from "../../lib/mobileDevice.es.js";
|
|
13
|
+
import io from "./Player.es.js";
|
|
14
|
+
import lo from "./MarkdownSlideScaling.es.js";
|
|
15
|
+
import ao from "./SubtitleOverlay.es.js";
|
|
16
|
+
import so from "./useSlide.es.js";
|
|
17
17
|
import uo from "./useWakePlayerFromIframe.es.js";
|
|
18
|
-
import { PlayerKeyboardShortcutContext as
|
|
19
|
-
import { activatePlayerKeyboardShortcutOwner as
|
|
20
|
-
import { DEFAULT_MOBILE_VIEW_MODE as
|
|
21
|
-
import { clampInteractionOverlayDragOffset as
|
|
22
|
-
import { resolveMarkdownScalingMode as
|
|
18
|
+
import { PlayerKeyboardShortcutContext as co } from "./utils/playerKeyboardShortcutContext.es.js";
|
|
19
|
+
import { activatePlayerKeyboardShortcutOwner as fo } from "./utils/playerKeyboardShortcuts.es.js";
|
|
20
|
+
import { DEFAULT_MOBILE_VIEW_MODE as vt, resolveMobileViewModeState as mo } from "./utils/mobileScreenMode.es.js";
|
|
21
|
+
import { clampInteractionOverlayDragOffset as Bn, shouldPresentInteractionOverlay as po, shouldRenderInteractionOverlay as yo } from "./utils/interactionPlayback.es.js";
|
|
22
|
+
import { resolveMarkdownScalingMode as ho } from "./utils/markdownScaling.es.js";
|
|
23
23
|
import { shouldWakePlayerControlsAfterNavigation as zt } from "./utils/playerNavigationContext.es.js";
|
|
24
|
-
import { shouldAutoAdvanceIntoAppendedMarker as
|
|
25
|
-
import { resolvePendingStepAudioKey as
|
|
26
|
-
import { getPlaybackSequenceTransition as
|
|
27
|
-
import { hasResolvedInteractionElement as
|
|
28
|
-
import { resolvePlayerCustomActionElement as
|
|
29
|
-
import { createPlaybackTimeStore as
|
|
30
|
-
import { resolveSlideInteractionState as
|
|
31
|
-
import { shouldUseAutoAdvanceToggle as
|
|
32
|
-
import { DEFAULT_IMAGE_ONLY_VISUAL_READY_TIMEOUT_MS as
|
|
33
|
-
import { resolveSilentStepAutoAdvanceBehavior as
|
|
34
|
-
import { resolveSlidePlayerVisibility as
|
|
35
|
-
import { getSlideLocaleTexts as
|
|
24
|
+
import { shouldAutoAdvanceIntoAppendedMarker as go } from "./utils/appendedMarkerAdvance.es.js";
|
|
25
|
+
import { resolvePendingStepAudioKey as vo, hasUnplayedStepAudio as So } from "./utils/stepAudioProgress.es.js";
|
|
26
|
+
import { getPlaybackSequenceTransition as Io, shouldStartDefaultAudioSequence as bo } from "./utils/playbackSequence.es.js";
|
|
27
|
+
import { hasResolvedInteractionElement as Ao, canReachSubtitleJumpTarget as Vn } from "./utils/subtitleJumpNavigation.es.js";
|
|
28
|
+
import { resolvePlayerCustomActionElement as wo, getPlayerCustomActionCount as xo } from "./utils/playerCustomActions.es.js";
|
|
29
|
+
import { createPlaybackTimeStore as Po } from "./utils/playbackTimeStore.es.js";
|
|
30
|
+
import { resolveSlideInteractionState as Eo } from "./utils/interactionResolution.es.js";
|
|
31
|
+
import { shouldUseAutoAdvanceToggle as Co } from "./utils/playerToggleMode.es.js";
|
|
32
|
+
import { DEFAULT_IMAGE_ONLY_VISUAL_READY_TIMEOUT_MS as To, areImageOnlyStepIframeVisualsReady as Ro } from "./utils/imageOnlyStepVisualReady.es.js";
|
|
33
|
+
import { resolveSilentStepAutoAdvanceBehavior as _o } from "./utils/silentStepAutoAdvance.es.js";
|
|
34
|
+
import { resolveSlidePlayerVisibility as Oo, resolveSlidePlayerLayoutState as Mo } from "./utils/playerVisibility.es.js";
|
|
35
|
+
import { getSlideLocaleTexts as ko, DEFAULT_SLIDE_BUFFERING_TEXTS as Lo } from "./slideI18n.es.js";
|
|
36
36
|
/* empty css */
|
|
37
|
-
import
|
|
38
|
-
|
|
39
|
-
const Do = 2e3, Bo = 300, Vo = 160, Ko = 16, qn = 3e3, It = {
|
|
37
|
+
import Fo from "../../node_modules/lucide-react/dist/esm/icons/chevron-left.es.js";
|
|
38
|
+
const Do = 2e3, No = 300, Bo = 160, Vo = 16, Kn = 3e3, St = {
|
|
40
39
|
x: 0,
|
|
41
40
|
y: 0
|
|
42
|
-
},
|
|
41
|
+
}, Jt = 0.5, Ko = typeof window > "u" ? s : Wr, qo = [
|
|
43
42
|
"button",
|
|
44
43
|
"input",
|
|
45
44
|
"textarea",
|
|
46
45
|
'[contenteditable=""]',
|
|
47
46
|
'[contenteditable="true"]',
|
|
48
47
|
'[contenteditable="plaintext-only"]'
|
|
49
|
-
].join(", "),
|
|
50
|
-
x:
|
|
51
|
-
y:
|
|
48
|
+
].join(", "), Wt = "waitingForAudio", Uo = ({
|
|
49
|
+
x: u,
|
|
50
|
+
y: c
|
|
52
51
|
}) => ({
|
|
53
|
-
x: Number(
|
|
54
|
-
y: Number(
|
|
55
|
-
}),
|
|
56
|
-
...
|
|
57
|
-
...
|
|
58
|
-
},
|
|
52
|
+
x: Number(u.toFixed(2)),
|
|
53
|
+
y: Number(c.toFixed(2))
|
|
54
|
+
}), qn = (u) => Math.abs(u) >= Jt, Un = (u, c) => Math.abs(u.x - c.x) < Jt && Math.abs(u.y - c.y) < Jt, Ho = (u, c) => typeof u == "string" ? u : u[c] ?? u[Wt] ?? Lo[c], Yo = (u, c) => typeof u == "string" ? u : {
|
|
55
|
+
...c,
|
|
56
|
+
...u
|
|
57
|
+
}, Go = (u, c) => c ? u !== "loadingAudio" : !1, Hn = Xr(
|
|
59
58
|
({
|
|
60
|
-
content:
|
|
61
|
-
title:
|
|
59
|
+
content: u,
|
|
60
|
+
title: c,
|
|
62
61
|
dragHandleAriaLabel: z,
|
|
63
62
|
locale: Ee,
|
|
64
63
|
dir: X,
|
|
65
64
|
lang: J,
|
|
66
65
|
defaultButtonText: Ce,
|
|
67
|
-
defaultInputText:
|
|
68
|
-
defaultSelectedValues:
|
|
66
|
+
defaultInputText: ue,
|
|
67
|
+
defaultSelectedValues: Ge,
|
|
69
68
|
confirmButtonText: bt,
|
|
70
69
|
copyButtonText: W,
|
|
71
70
|
copiedButtonText: At,
|
|
72
71
|
onSend: Te,
|
|
73
|
-
onPlaceholderAccepted:
|
|
74
|
-
onDragHandlePointerCancel:
|
|
72
|
+
onPlaceholderAccepted: $e,
|
|
73
|
+
onDragHandlePointerCancel: ze,
|
|
75
74
|
onDragHandlePointerDown: wt,
|
|
76
|
-
onDragHandlePointerMove:
|
|
77
|
-
onDragHandlePointerUp:
|
|
78
|
-
readonly:
|
|
79
|
-
}) => /* @__PURE__ */
|
|
80
|
-
/* @__PURE__ */
|
|
75
|
+
onDragHandlePointerMove: Xe,
|
|
76
|
+
onDragHandlePointerUp: Je,
|
|
77
|
+
readonly: We = !1
|
|
78
|
+
}) => /* @__PURE__ */ It("div", { className: "slide-player__interaction-card", children: [
|
|
79
|
+
/* @__PURE__ */ p(
|
|
81
80
|
"button",
|
|
82
81
|
{
|
|
83
82
|
type: "button",
|
|
84
83
|
className: "slide-player__interaction-drag-handle",
|
|
85
84
|
"aria-label": z,
|
|
86
|
-
onPointerCancel:
|
|
85
|
+
onPointerCancel: ze,
|
|
87
86
|
onPointerDown: wt,
|
|
88
|
-
onPointerMove:
|
|
89
|
-
onPointerUp:
|
|
90
|
-
children: /* @__PURE__ */ Ge("span", { className: "slide-player__interaction-drag-handle-icon", children: [
|
|
91
|
-
/* @__PURE__ */ u(Xt, { "aria-hidden": "true" }),
|
|
92
|
-
/* @__PURE__ */ u(Xt, { "aria-hidden": "true" }),
|
|
93
|
-
/* @__PURE__ */ u(Xt, { "aria-hidden": "true" })
|
|
94
|
-
] })
|
|
87
|
+
onPointerMove: Xe,
|
|
88
|
+
onPointerUp: Je
|
|
95
89
|
}
|
|
96
90
|
),
|
|
97
|
-
/* @__PURE__ */
|
|
98
|
-
/* @__PURE__ */
|
|
99
|
-
|
|
91
|
+
/* @__PURE__ */ p("div", { className: "slide-player__interaction-header", children: /* @__PURE__ */ p("p", { className: "slide-player__interaction-title", children: c }) }),
|
|
92
|
+
/* @__PURE__ */ p("div", { className: "slide-player__interaction-body", children: /* @__PURE__ */ p(
|
|
93
|
+
no,
|
|
100
94
|
{
|
|
101
|
-
content:
|
|
95
|
+
content: u,
|
|
102
96
|
locale: Ee,
|
|
103
97
|
dir: X,
|
|
104
98
|
lang: J,
|
|
105
99
|
defaultButtonText: Ce,
|
|
106
|
-
defaultInputText:
|
|
107
|
-
defaultSelectedValues:
|
|
100
|
+
defaultInputText: ue,
|
|
101
|
+
defaultSelectedValues: Ge,
|
|
108
102
|
confirmButtonText: bt,
|
|
109
103
|
copyButtonText: W,
|
|
110
104
|
copiedButtonText: At,
|
|
111
105
|
onSend: Te,
|
|
112
|
-
onPlaceholderAccepted:
|
|
113
|
-
readonly:
|
|
106
|
+
onPlaceholderAccepted: $e,
|
|
107
|
+
readonly: We,
|
|
114
108
|
sandboxMode: "content"
|
|
115
109
|
}
|
|
116
110
|
) })
|
|
117
111
|
] })
|
|
118
112
|
);
|
|
119
|
-
|
|
120
|
-
const
|
|
121
|
-
const X =
|
|
113
|
+
Hn.displayName = "InteractionOverlayCard";
|
|
114
|
+
const $o = (u, c) => u.length === c.length && u.every((z, Ee) => {
|
|
115
|
+
const X = c[Ee];
|
|
122
116
|
return z.sequence_number === X?.sequence_number && z.type === X?.type && z.content === X?.content;
|
|
123
|
-
}),
|
|
124
|
-
elementList:
|
|
125
|
-
locale:
|
|
117
|
+
}), Xt = (u) => u instanceof HTMLElement && !!u.closest(qo), Oi = ({
|
|
118
|
+
elementList: u = [],
|
|
119
|
+
locale: c,
|
|
126
120
|
playerEnabled: z,
|
|
127
121
|
playerControlsVisibility: Ee,
|
|
128
122
|
playerClassName: X,
|
|
129
123
|
fullscreenHeader: J,
|
|
130
124
|
playerCustomActions: Ce,
|
|
131
|
-
playerCustomActionPauseOnActive:
|
|
132
|
-
bufferingText:
|
|
125
|
+
playerCustomActionPauseOnActive: ue = !0,
|
|
126
|
+
bufferingText: Ge,
|
|
133
127
|
interactionTitle: bt,
|
|
134
128
|
interactionTexts: W,
|
|
135
129
|
playerTexts: At,
|
|
136
130
|
playerAutoHideDelay: Te = 3e3,
|
|
137
|
-
markerAutoAdvanceDelay:
|
|
138
|
-
showSlideProgress:
|
|
131
|
+
markerAutoAdvanceDelay: $e = Do,
|
|
132
|
+
showSlideProgress: ze = !1,
|
|
139
133
|
isSlideProgressGenerating: wt = !1,
|
|
140
|
-
onSlideProgressNavigate:
|
|
141
|
-
interactionDefaultValueOptions:
|
|
142
|
-
onSend:
|
|
143
|
-
onPlaceholderAccepted:
|
|
134
|
+
onSlideProgressNavigate: Xe,
|
|
135
|
+
interactionDefaultValueOptions: Je,
|
|
136
|
+
onSend: We,
|
|
137
|
+
onPlaceholderAccepted: Yn,
|
|
144
138
|
onPlayerVisibilityChange: xt,
|
|
145
|
-
onMobileViewModeChange:
|
|
146
|
-
onStepChange:
|
|
147
|
-
onPlaybackCheckpoint:
|
|
139
|
+
onMobileViewModeChange: jt,
|
|
140
|
+
onStepChange: Qt,
|
|
141
|
+
onPlaybackCheckpoint: Gn,
|
|
148
142
|
playbackRestoreRequest: U = null,
|
|
149
|
-
enableKeyboardShortcuts:
|
|
150
|
-
enableIframeScaling:
|
|
151
|
-
enableMarkdownScaling:
|
|
143
|
+
enableKeyboardShortcuts: ce = !0,
|
|
144
|
+
enableIframeScaling: $n = !0,
|
|
145
|
+
enableMarkdownScaling: zn = !0,
|
|
152
146
|
disableLoadingOverlay: F = !1,
|
|
153
|
-
className:
|
|
154
|
-
dir:
|
|
155
|
-
lang:
|
|
156
|
-
onPointerDown:
|
|
157
|
-
onFocusCapture:
|
|
158
|
-
...
|
|
147
|
+
className: Xn,
|
|
148
|
+
dir: Jn,
|
|
149
|
+
lang: Wn,
|
|
150
|
+
onPointerDown: Zt,
|
|
151
|
+
onFocusCapture: en,
|
|
152
|
+
...jn
|
|
159
153
|
}) => {
|
|
160
|
-
const j =
|
|
161
|
-
() =>
|
|
162
|
-
|
|
163
|
-
|
|
154
|
+
const j = Jn ?? Zr(c), Re = Wn ?? eo(c), D = d(() => ko(c), [c]), Qn = d(
|
|
155
|
+
() => Yo(
|
|
156
|
+
Ge,
|
|
157
|
+
D.bufferingText
|
|
164
158
|
),
|
|
165
|
-
[
|
|
159
|
+
[Ge, D.bufferingText]
|
|
166
160
|
), {
|
|
167
|
-
playerEnabled:
|
|
161
|
+
playerEnabled: Zn,
|
|
168
162
|
playerControlsVisibility: Q
|
|
169
|
-
} =
|
|
163
|
+
} = Oo({
|
|
170
164
|
playerEnabled: z,
|
|
171
165
|
playerControlsVisibility: Ee
|
|
172
|
-
}),
|
|
166
|
+
}), je = Jr(), de = f(null), { resolvedDirection: er } = Qr(de, j), Pt = f(null), Qe = f(null), tn = f(null), fe = f(null), Ze = f(!1), _e = f(null), et = f(null), Z = f(null), Oe = f(null), Me = f(null), me = f(null), ke = f(null), nn = f([]), pe = f(!1), H = f(null), Le = f(null), rn = f(0), Et = f(null), on = f({
|
|
173
167
|
markerCount: 0,
|
|
174
168
|
currentIndex: -1,
|
|
175
169
|
canGoNext: !1
|
|
176
|
-
}), Ct =
|
|
170
|
+
}), Ct = f(!1), {
|
|
177
171
|
currentElementList: T,
|
|
178
|
-
stepElementLists:
|
|
172
|
+
stepElementLists: ln,
|
|
179
173
|
slideElementList: S,
|
|
180
174
|
currentIndex: a,
|
|
181
175
|
audioList: y,
|
|
182
176
|
audioSlideIndexes: ee,
|
|
183
|
-
currentAudioSequenceIndexes:
|
|
177
|
+
currentAudioSequenceIndexes: tt,
|
|
184
178
|
currentStepHasSpeakableElement: w,
|
|
185
179
|
currentInteractionElement: h,
|
|
186
|
-
canGoPrev:
|
|
180
|
+
canGoPrev: tr,
|
|
187
181
|
canGoNext: R,
|
|
188
|
-
handlePrev:
|
|
189
|
-
handleNext:
|
|
182
|
+
handlePrev: an,
|
|
183
|
+
handleNext: N,
|
|
190
184
|
handleGoTo: ye
|
|
191
|
-
} =
|
|
185
|
+
} = so(u), Fe = d(() => {
|
|
192
186
|
if (!(a < 0))
|
|
193
187
|
return S[a];
|
|
194
|
-
}, [a, S]), he =
|
|
188
|
+
}, [a, S]), he = d(
|
|
195
189
|
() => T.map(
|
|
196
190
|
(e, t) => `${e.sequence_number ?? `${e.type}-${t}`}:${String(e.is_new ?? "")}`
|
|
197
191
|
),
|
|
198
192
|
[T]
|
|
199
|
-
),
|
|
193
|
+
), sn = S.length, nr = sn === 1, x = Zn && (S.length > 0 || y.length > 0 || !!h), rr = d(
|
|
200
194
|
() => ({
|
|
201
|
-
enabled:
|
|
202
|
-
ownerId:
|
|
195
|
+
enabled: ce,
|
|
196
|
+
ownerId: je
|
|
203
197
|
}),
|
|
204
|
-
[
|
|
198
|
+
[ce, je]
|
|
205
199
|
), Y = r(() => {
|
|
206
|
-
!
|
|
207
|
-
}, [
|
|
208
|
-
() =>
|
|
209
|
-
[y,
|
|
210
|
-
), [
|
|
200
|
+
!ce || !x || fo(je);
|
|
201
|
+
}, [ce, je, x]), _ = d(
|
|
202
|
+
() => tt.map((e) => y[e]?.audioKey).filter((e) => !!e),
|
|
203
|
+
[y, tt]
|
|
204
|
+
), [or, De] = m(!0), [nt, te] = m(!1), [Tt, Rt] = m(!0), [Ne, un] = m(!0), [P, B] = m(null), [rt, cn] = m(null), Be = f(
|
|
211
205
|
null
|
|
212
|
-
),
|
|
213
|
-
It
|
|
214
|
-
), [Ft, Nt] = p(!1), [
|
|
215
|
-
dr,
|
|
216
|
-
ve
|
|
217
|
-
] = p(0), [hn, fr] = p(!1), V = f(() => oo(), []), [ut, Dt] = p(
|
|
206
|
+
), dn = f(null), [ir, fn] = m(null), [lr, I] = m(!1), [ar, _t] = m(Wt), [O, ot] = m(!1), it = f(/* @__PURE__ */ new Set()), [sr, lt] = m(!1), [mn, ur] = m(!0), [Ot, Mt] = m(!1), [b, kt] = m(), [ge, at] = m(!1), [pn, st] = m(!1), [E, Lt] = m(
|
|
218
207
|
St
|
|
219
|
-
), [
|
|
220
|
-
|
|
221
|
-
|
|
208
|
+
), [Ft, Dt] = m(!1), [
|
|
209
|
+
cr,
|
|
210
|
+
ve
|
|
211
|
+
] = m(0), [yn, dr] = m(!1), V = d(() => ro(), []), [ut, Nt] = m(
|
|
212
|
+
vt
|
|
213
|
+
), [hn, Bt] = m(!1), [fr, gn] = m(
|
|
214
|
+
() => V ? Nn() : !1
|
|
215
|
+
), Se = d(() => Po(), []), {
|
|
222
216
|
effectiveMobileViewMode: ne,
|
|
223
217
|
isImmersiveMobileFullscreen: Ie,
|
|
224
|
-
isNativeMobileFullscreen:
|
|
225
|
-
shouldRotateFullscreenViewport:
|
|
226
|
-
} =
|
|
227
|
-
() =>
|
|
228
|
-
hasManualMobileViewMode:
|
|
218
|
+
isNativeMobileFullscreen: vn,
|
|
219
|
+
shouldRotateFullscreenViewport: mr
|
|
220
|
+
} = d(
|
|
221
|
+
() => mo({
|
|
222
|
+
hasManualMobileViewMode: hn,
|
|
229
223
|
isMobileDevice: V,
|
|
230
224
|
mobileViewMode: ut
|
|
231
225
|
}),
|
|
232
226
|
[
|
|
233
|
-
|
|
227
|
+
hn,
|
|
234
228
|
V,
|
|
235
|
-
|
|
229
|
+
fr,
|
|
236
230
|
ut
|
|
237
231
|
]
|
|
238
|
-
),
|
|
232
|
+
), Sn = f(ne), {
|
|
239
233
|
controlsVisible: K,
|
|
240
|
-
layoutReserved:
|
|
241
|
-
} =
|
|
242
|
-
isAutoVisible:
|
|
234
|
+
layoutReserved: ct
|
|
235
|
+
} = Mo({
|
|
236
|
+
isAutoVisible: or,
|
|
243
237
|
playerControlsVisibility: Q,
|
|
244
238
|
shouldMountPlayer: x
|
|
245
|
-
}),
|
|
239
|
+
}), pr = Ie && K, yr = Ie && ct, hr = Ie || vn, In = yn && !V, gr = r(
|
|
246
240
|
(e) => {
|
|
247
|
-
Bt(!0),
|
|
241
|
+
Bt(!0), Nt(e);
|
|
248
242
|
},
|
|
249
243
|
[]
|
|
250
|
-
),
|
|
251
|
-
Bt(!1),
|
|
252
|
-
}, []),
|
|
253
|
-
|
|
254
|
-
}, [J,
|
|
244
|
+
), bn = r(() => {
|
|
245
|
+
Bt(!1), Nt(vt);
|
|
246
|
+
}, []), vr = r(() => {
|
|
247
|
+
bn(), J?.onBack?.();
|
|
248
|
+
}, [J, bn]), M = r(() => {
|
|
255
249
|
Z.current !== null && (window.clearTimeout(Z.current), Z.current = null);
|
|
256
250
|
}, []), k = r(() => {
|
|
257
251
|
Oe.current !== null && (window.clearTimeout(Oe.current), Oe.current = null);
|
|
258
|
-
}, []),
|
|
259
|
-
M(), k(),
|
|
260
|
-
}, [M, k]),
|
|
252
|
+
}, []), dt = r(() => {
|
|
253
|
+
M(), k(), at(!1), ve(0);
|
|
254
|
+
}, [M, k]), ft = r(
|
|
261
255
|
(e) => {
|
|
262
|
-
e &&
|
|
256
|
+
e && dt(), Mt(e);
|
|
263
257
|
},
|
|
264
|
-
[
|
|
265
|
-
),
|
|
266
|
-
|
|
267
|
-
}, [
|
|
258
|
+
[dt]
|
|
259
|
+
), An = r(() => {
|
|
260
|
+
dt(), Mt((e) => !e);
|
|
261
|
+
}, [dt]), re = r(() => {
|
|
268
262
|
Lt(
|
|
269
|
-
(e) => e.x ===
|
|
270
|
-
),
|
|
271
|
-
}, []), { mountedStepStates:
|
|
263
|
+
(e) => e.x === St.x && e.y === St.y ? e : St
|
|
264
|
+
), Dt(!1), ke.current = null, me.current = null;
|
|
265
|
+
}, []), { mountedStepStates: Sr, currentMountedStateIndex: Ir } = d(() => {
|
|
272
266
|
const e = [], t = /* @__PURE__ */ new Map();
|
|
273
|
-
return
|
|
267
|
+
return ln.forEach((n, i) => {
|
|
274
268
|
const l = e.findIndex(
|
|
275
|
-
(o) =>
|
|
269
|
+
(o) => $o(
|
|
276
270
|
o.elementList,
|
|
277
271
|
n
|
|
278
272
|
)
|
|
@@ -289,14 +283,14 @@ const zo = (c, d) => c.length === d.length && c.every((z, Ee) => {
|
|
|
289
283
|
mountedStepStates: e,
|
|
290
284
|
currentMountedStateIndex: a >= 0 ? t.get(a) ?? -1 : -1
|
|
291
285
|
};
|
|
292
|
-
}, [a,
|
|
286
|
+
}, [a, ln]), wn = d(() => String(a), [a]), C = d(() => P ? y.findIndex(
|
|
293
287
|
(e) => (e.audioKey ?? "") === P
|
|
294
|
-
) : -1, [y, P]),
|
|
288
|
+
) : -1, [y, P]), mt = d(
|
|
295
289
|
() => C >= 0 ? y[C] : void 0,
|
|
296
290
|
[y, C]
|
|
297
291
|
);
|
|
298
292
|
s(() => {
|
|
299
|
-
if (!U || U.id ===
|
|
293
|
+
if (!U || U.id === dn.current)
|
|
300
294
|
return;
|
|
301
295
|
const e = y.findIndex(
|
|
302
296
|
(n) => n.audioKey === U.audioKey
|
|
@@ -304,7 +298,7 @@ const zo = (c, d) => c.length === d.length && c.every((z, Ee) => {
|
|
|
304
298
|
if (e < 0)
|
|
305
299
|
return;
|
|
306
300
|
const t = ee[e];
|
|
307
|
-
t != null && (
|
|
301
|
+
t != null && (dn.current = U.id, Rt(!0), B(U.audioKey), Be.current = U, cn(U), a !== t && ye(t));
|
|
308
302
|
}, [
|
|
309
303
|
y,
|
|
310
304
|
ee,
|
|
@@ -312,14 +306,14 @@ const zo = (c, d) => c.length === d.length && c.every((z, Ee) => {
|
|
|
312
306
|
ye,
|
|
313
307
|
U
|
|
314
308
|
]);
|
|
315
|
-
const
|
|
309
|
+
const br = mt?.element?.subtitle_cues ?? [], pt = d(
|
|
316
310
|
() => _[0] ?? "none",
|
|
317
311
|
[_]
|
|
318
|
-
), Vt =
|
|
312
|
+
), Vt = d(
|
|
319
313
|
() => ({
|
|
320
|
-
currentElement:
|
|
314
|
+
currentElement: wo({
|
|
321
315
|
currentAudioIndex: C,
|
|
322
|
-
currentAudioSequenceIndexes:
|
|
316
|
+
currentAudioSequenceIndexes: tt,
|
|
323
317
|
audioList: y,
|
|
324
318
|
currentInteractionElement: b,
|
|
325
319
|
currentStepElement: Fe
|
|
@@ -327,31 +321,31 @@ const zo = (c, d) => c.length === d.length && c.every((z, Ee) => {
|
|
|
327
321
|
currentIndex: a,
|
|
328
322
|
currentStepElement: Fe,
|
|
329
323
|
isActive: Ot,
|
|
330
|
-
setActive:
|
|
331
|
-
toggleActive:
|
|
324
|
+
setActive: ft,
|
|
325
|
+
toggleActive: An
|
|
332
326
|
}),
|
|
333
327
|
[
|
|
334
328
|
b,
|
|
335
329
|
y,
|
|
336
330
|
C,
|
|
337
|
-
|
|
331
|
+
tt,
|
|
338
332
|
a,
|
|
339
333
|
Fe,
|
|
340
334
|
Ot,
|
|
341
|
-
|
|
342
|
-
|
|
335
|
+
ft,
|
|
336
|
+
An
|
|
343
337
|
]
|
|
344
|
-
),
|
|
345
|
-
() =>
|
|
338
|
+
), yt = d(
|
|
339
|
+
() => xo(
|
|
346
340
|
Ce,
|
|
347
341
|
Vt
|
|
348
342
|
),
|
|
349
343
|
[Vt, Ce]
|
|
350
|
-
), Kt =
|
|
344
|
+
), Kt = yt > 0, qt = Kt && Ot, Ar = d(
|
|
351
345
|
() => ({
|
|
352
|
-
"--slide-player-custom-action-count": String(
|
|
346
|
+
"--slide-player-custom-action-count": String(yt),
|
|
353
347
|
"--slide-player-mobile-control-count": String(
|
|
354
|
-
|
|
348
|
+
yt + 4
|
|
355
349
|
),
|
|
356
350
|
"--slide-interaction-drag-x": `${E.x}px`,
|
|
357
351
|
"--slide-interaction-drag-y": `${E.y}px`
|
|
@@ -359,24 +353,24 @@ const zo = (c, d) => c.length === d.length && c.every((z, Ee) => {
|
|
|
359
353
|
[
|
|
360
354
|
E.x,
|
|
361
355
|
E.y,
|
|
362
|
-
|
|
356
|
+
yt
|
|
363
357
|
]
|
|
364
|
-
),
|
|
358
|
+
), xn = _.length > 0, Pn = d(() => h ? `${h.sequence_number ?? "none"}:${String(
|
|
365
359
|
h.content ?? ""
|
|
366
|
-
)}` : "none", [h]), be =
|
|
367
|
-
() => [
|
|
368
|
-
[
|
|
369
|
-
),
|
|
360
|
+
)}` : "none", [h]), be = d(
|
|
361
|
+
() => [wn, Pn].join("|"),
|
|
362
|
+
[Pn, wn]
|
|
363
|
+
), wr = d(
|
|
370
364
|
() => [
|
|
371
365
|
be,
|
|
372
|
-
|
|
366
|
+
mt?.audioKey ?? "none",
|
|
373
367
|
String(C)
|
|
374
368
|
].join("|"),
|
|
375
|
-
[C,
|
|
376
|
-
),
|
|
377
|
-
(t) => t.audioKey ===
|
|
378
|
-
)?.audioUrl?.trim() ?? "", [y,
|
|
379
|
-
() =>
|
|
369
|
+
[C, mt?.audioKey, be]
|
|
370
|
+
), En = !!d(() => !pt || pt === "none" ? "" : y.find(
|
|
371
|
+
(t) => t.audioKey === pt
|
|
372
|
+
)?.audioUrl?.trim() ?? "", [y, pt]), oe = ue && qt, Ve = d(
|
|
373
|
+
() => Co({
|
|
380
374
|
canGoNext: R,
|
|
381
375
|
currentAudioIndex: C,
|
|
382
376
|
currentStepHasSpeakableElement: w,
|
|
@@ -388,31 +382,31 @@ const zo = (c, d) => c.length === d.length && c.every((z, Ee) => {
|
|
|
388
382
|
h,
|
|
389
383
|
w
|
|
390
384
|
]
|
|
391
|
-
),
|
|
392
|
-
() =>
|
|
385
|
+
), Cn = d(
|
|
386
|
+
() => _o({
|
|
393
387
|
currentElementList: T,
|
|
394
388
|
currentStepHasSpeakableElement: w,
|
|
395
389
|
currentInteractionElement: h,
|
|
396
|
-
markerAutoAdvanceDelay:
|
|
390
|
+
markerAutoAdvanceDelay: $e
|
|
397
391
|
}),
|
|
398
392
|
[
|
|
399
393
|
T,
|
|
400
394
|
h,
|
|
401
395
|
w,
|
|
402
|
-
|
|
396
|
+
$e
|
|
403
397
|
]
|
|
404
|
-
),
|
|
398
|
+
), Tn = Cn.delayMs, Ke = Cn.usesImageOnlyDelay, Ut = d(
|
|
405
399
|
() => `${a}:${he.join("|")}`,
|
|
406
400
|
[a, he]
|
|
407
|
-
), [
|
|
401
|
+
), [xr, Pr] = m(null), Rn = !Ke || xr === Ut, q = r(() => {
|
|
408
402
|
fe.current !== null && (window.clearTimeout(fe.current), fe.current = null);
|
|
409
403
|
}, []), Ae = r(() => {
|
|
410
404
|
_e.current !== null && (window.clearTimeout(_e.current), _e.current = null);
|
|
411
405
|
}, []), G = r(() => {
|
|
412
|
-
|
|
406
|
+
et.current !== null && (window.clearTimeout(et.current), et.current = null);
|
|
413
407
|
}, []), L = r(
|
|
414
408
|
(e = {}) => {
|
|
415
|
-
Ae(), M(), k(), G(), B(null), Se.reset(), I(!1), _t(
|
|
409
|
+
Ae(), M(), k(), G(), B(null), Se.reset(), I(!1), _t(Wt), ot(!1), it.current = /* @__PURE__ */ new Set(), lt(!1), fn(null), e.preservePendingSubtitleJump || (Le.current = null), kt(void 0), at(!1), ve(0);
|
|
416
410
|
},
|
|
417
411
|
[
|
|
418
412
|
Ae,
|
|
@@ -421,65 +415,65 @@ const zo = (c, d) => c.length === d.length && c.every((z, Ee) => {
|
|
|
421
415
|
k,
|
|
422
416
|
Se
|
|
423
417
|
]
|
|
424
|
-
),
|
|
418
|
+
), ht = r(
|
|
425
419
|
(e) => {
|
|
426
|
-
|
|
420
|
+
rn.current += 1, fn({
|
|
427
421
|
...e,
|
|
428
|
-
id:
|
|
422
|
+
id: rn.current
|
|
429
423
|
});
|
|
430
424
|
},
|
|
431
425
|
[]
|
|
432
426
|
), we = r(() => {
|
|
433
|
-
const e =
|
|
427
|
+
const e = vo(
|
|
434
428
|
_,
|
|
435
|
-
|
|
429
|
+
it.current
|
|
436
430
|
);
|
|
437
431
|
return e ? (B(e), !0) : !1;
|
|
438
432
|
}, [_]), qe = r(() => {
|
|
439
|
-
M(), k(),
|
|
433
|
+
M(), k(), at(!1), ve(0), !we() && R && N();
|
|
440
434
|
}, [
|
|
441
435
|
R,
|
|
442
436
|
M,
|
|
443
437
|
k,
|
|
444
|
-
|
|
438
|
+
N,
|
|
445
439
|
we
|
|
446
|
-
]),
|
|
440
|
+
]), _n = r(
|
|
447
441
|
(e) => {
|
|
448
442
|
if (k(), !e)
|
|
449
443
|
return;
|
|
450
444
|
const t = () => {
|
|
451
445
|
Oe.current = null, ve(
|
|
452
|
-
|
|
453
|
-
),
|
|
446
|
+
Bo
|
|
447
|
+
), at(!0), H.current = null;
|
|
454
448
|
};
|
|
455
449
|
Oe.current = window.setTimeout(
|
|
456
450
|
t,
|
|
457
|
-
|
|
451
|
+
No
|
|
458
452
|
);
|
|
459
453
|
},
|
|
460
454
|
[k]
|
|
461
455
|
), Ht = r(
|
|
462
|
-
() =>
|
|
456
|
+
() => Ze.current || !!de.current?.querySelector(".slide-player__controls:hover"),
|
|
463
457
|
[]
|
|
464
458
|
), g = r(
|
|
465
|
-
(e =
|
|
466
|
-
!x || Q === "hidden" || (
|
|
459
|
+
(e = nt) => {
|
|
460
|
+
!x || Q === "hidden" || (De(!0), q(), !(Q === "visible" || !e || Te <= 0 || Ht()) && (fe.current = window.setTimeout(() => {
|
|
467
461
|
if (Ht()) {
|
|
468
462
|
fe.current = null;
|
|
469
463
|
return;
|
|
470
464
|
}
|
|
471
|
-
|
|
465
|
+
De(!1), fe.current = null;
|
|
472
466
|
}, Te)));
|
|
473
467
|
},
|
|
474
468
|
[
|
|
475
469
|
q,
|
|
476
|
-
|
|
470
|
+
nt,
|
|
477
471
|
Ht,
|
|
478
472
|
Te,
|
|
479
473
|
Q,
|
|
480
474
|
x
|
|
481
475
|
]
|
|
482
|
-
), Ue = !!
|
|
476
|
+
), Ue = !!Ao(h), ie = !!h && !Ue, Er = r((e) => {
|
|
483
477
|
Rt(e);
|
|
484
478
|
}, []), $ = r(
|
|
485
479
|
(e) => {
|
|
@@ -489,12 +483,12 @@ const zo = (c, d) => c.length === d.length && c.every((z, Ee) => {
|
|
|
489
483
|
);
|
|
490
484
|
s(() => {
|
|
491
485
|
un(Tt);
|
|
492
|
-
}, [a, Tt,
|
|
493
|
-
|
|
486
|
+
}, [a, Tt, ue]), s(() => {
|
|
487
|
+
ue && ft(!1);
|
|
494
488
|
}, [
|
|
495
489
|
a,
|
|
496
|
-
|
|
497
|
-
|
|
490
|
+
ue,
|
|
491
|
+
ft
|
|
498
492
|
]), s(() => {
|
|
499
493
|
Kt || Mt(!1);
|
|
500
494
|
}, [Kt]), s(() => () => {
|
|
@@ -514,12 +508,12 @@ const zo = (c, d) => c.length === d.length && c.every((z, Ee) => {
|
|
|
514
508
|
const i = () => {
|
|
515
509
|
n?.(), n = null;
|
|
516
510
|
}, l = () => {
|
|
517
|
-
e || (i(), G(),
|
|
511
|
+
e || (i(), G(), Pr(Ut));
|
|
518
512
|
}, o = () => {
|
|
519
513
|
if (e)
|
|
520
514
|
return;
|
|
521
515
|
i();
|
|
522
|
-
const v =
|
|
516
|
+
const v = Qe.current?.querySelector(
|
|
523
517
|
'[data-active-step="true"]'
|
|
524
518
|
);
|
|
525
519
|
if (!v)
|
|
@@ -527,7 +521,7 @@ const zo = (c, d) => c.length === d.length && c.every((z, Ee) => {
|
|
|
527
521
|
const A = Array.from(
|
|
528
522
|
v.querySelectorAll("iframe")
|
|
529
523
|
);
|
|
530
|
-
if (A.length === 0 ||
|
|
524
|
+
if (A.length === 0 || Ro(A)) {
|
|
531
525
|
l();
|
|
532
526
|
return;
|
|
533
527
|
}
|
|
@@ -555,9 +549,9 @@ const zo = (c, d) => c.length === d.length && c.every((z, Ee) => {
|
|
|
555
549
|
};
|
|
556
550
|
return t = window.requestAnimationFrame(() => {
|
|
557
551
|
t = null, o();
|
|
558
|
-
}),
|
|
552
|
+
}), et.current = window.setTimeout(() => {
|
|
559
553
|
l();
|
|
560
|
-
},
|
|
554
|
+
}, To), () => {
|
|
561
555
|
e = !0, i(), G(), t !== null && window.cancelAnimationFrame(t);
|
|
562
556
|
};
|
|
563
557
|
}, [
|
|
@@ -569,16 +563,16 @@ const zo = (c, d) => c.length === d.length && c.every((z, Ee) => {
|
|
|
569
563
|
]), s(() => (xt?.(K), () => {
|
|
570
564
|
xt?.(!1);
|
|
571
565
|
}), [xt, K]), s(() => {
|
|
572
|
-
K || (
|
|
566
|
+
K || (Ze.current = !1);
|
|
573
567
|
}, [K]), s(() => {
|
|
574
|
-
V || ut ===
|
|
568
|
+
V || ut === vt || (Bt(!1), Nt(vt));
|
|
575
569
|
}, [V, ut]), s(() => {
|
|
576
570
|
if (!V) {
|
|
577
|
-
|
|
571
|
+
gn(!1);
|
|
578
572
|
return;
|
|
579
573
|
}
|
|
580
574
|
const e = () => {
|
|
581
|
-
|
|
575
|
+
gn(Nn()), re();
|
|
582
576
|
}, t = () => {
|
|
583
577
|
re();
|
|
584
578
|
};
|
|
@@ -586,7 +580,7 @@ const zo = (c, d) => c.length === d.length && c.every((z, Ee) => {
|
|
|
586
580
|
"change",
|
|
587
581
|
t
|
|
588
582
|
);
|
|
589
|
-
const n =
|
|
583
|
+
const n = oo(
|
|
590
584
|
e
|
|
591
585
|
);
|
|
592
586
|
return () => {
|
|
@@ -596,13 +590,13 @@ const zo = (c, d) => c.length === d.length && c.every((z, Ee) => {
|
|
|
596
590
|
);
|
|
597
591
|
};
|
|
598
592
|
}, [V, re]), s(() => {
|
|
599
|
-
|
|
600
|
-
}, [ne,
|
|
601
|
-
|
|
593
|
+
jt?.(ne);
|
|
594
|
+
}, [ne, jt]), s(() => {
|
|
595
|
+
Sn.current !== ne && re(), Sn.current = ne;
|
|
602
596
|
}, [ne, re]), s(() => {
|
|
603
|
-
|
|
604
|
-
}, [a, Fe,
|
|
605
|
-
const e =
|
|
597
|
+
Qt?.(Fe, a);
|
|
598
|
+
}, [a, Fe, Qt]), s(() => {
|
|
599
|
+
const e = on.current, t = go(
|
|
606
600
|
{
|
|
607
601
|
previousMarkerCount: e.markerCount,
|
|
608
602
|
nextMarkerCount: S.length,
|
|
@@ -614,40 +608,40 @@ const zo = (c, d) => c.length === d.length && c.every((z, Ee) => {
|
|
|
614
608
|
hasResolvedCurrentInteraction: Ue,
|
|
615
609
|
currentStepHasSpeakableElement: w,
|
|
616
610
|
currentInteractionElement: h,
|
|
617
|
-
isAutoAdvanceEnabled:
|
|
611
|
+
isAutoAdvanceEnabled: Ne,
|
|
618
612
|
shouldUseSilentStepAutoAdvanceToggle: Ve
|
|
619
613
|
}
|
|
620
614
|
);
|
|
621
|
-
|
|
615
|
+
on.current = {
|
|
622
616
|
markerCount: S.length,
|
|
623
617
|
currentIndex: a,
|
|
624
618
|
canGoNext: R
|
|
625
|
-
}, t &&
|
|
619
|
+
}, t && N();
|
|
626
620
|
}, [
|
|
627
621
|
R,
|
|
628
622
|
P,
|
|
629
623
|
a,
|
|
630
624
|
h,
|
|
631
625
|
w,
|
|
632
|
-
|
|
626
|
+
N,
|
|
633
627
|
O,
|
|
634
628
|
Ue,
|
|
635
|
-
|
|
629
|
+
Ne,
|
|
636
630
|
Ve,
|
|
637
631
|
S.length
|
|
638
632
|
]), s(() => {
|
|
639
633
|
if (!x || Q === "hidden") {
|
|
640
|
-
q(),
|
|
634
|
+
q(), De(!1);
|
|
641
635
|
return;
|
|
642
636
|
}
|
|
643
637
|
if (Q === "visible") {
|
|
644
|
-
q(),
|
|
638
|
+
q(), De(!0);
|
|
645
639
|
return;
|
|
646
640
|
}
|
|
647
|
-
|
|
641
|
+
nt || g(!0);
|
|
648
642
|
}, [
|
|
649
643
|
q,
|
|
650
|
-
|
|
644
|
+
nt,
|
|
651
645
|
Q,
|
|
652
646
|
x,
|
|
653
647
|
g
|
|
@@ -655,7 +649,7 @@ const zo = (c, d) => c.length === d.length && c.every((z, Ee) => {
|
|
|
655
649
|
if (typeof window > "u")
|
|
656
650
|
return;
|
|
657
651
|
const e = (t) => {
|
|
658
|
-
t.origin === window.location.origin &&
|
|
652
|
+
t.origin === window.location.origin && jr(t.data) && t.data.eventType === "click" && x && (Y(), te(!0), g(!0));
|
|
659
653
|
};
|
|
660
654
|
return window.addEventListener("message", e), () => {
|
|
661
655
|
window.removeEventListener("message", e);
|
|
@@ -663,7 +657,7 @@ const zo = (c, d) => c.length === d.length && c.every((z, Ee) => {
|
|
|
663
657
|
}, [Y, x, g]), uo({
|
|
664
658
|
sectionRef: de,
|
|
665
659
|
enabled: x,
|
|
666
|
-
keyboardShortcutsEnabled:
|
|
660
|
+
keyboardShortcutsEnabled: ce,
|
|
667
661
|
onKeyboardShortcut: Y,
|
|
668
662
|
onWake: () => {
|
|
669
663
|
Y(), te(!0), g(!0);
|
|
@@ -677,14 +671,14 @@ const zo = (c, d) => c.length === d.length && c.every((z, Ee) => {
|
|
|
677
671
|
Et.current = be;
|
|
678
672
|
return;
|
|
679
673
|
}
|
|
680
|
-
const { hasPlaybackContextChanged: e, shouldInitializeAudioSequence: t } =
|
|
674
|
+
const { hasPlaybackContextChanged: e, shouldInitializeAudioSequence: t } = Io({
|
|
681
675
|
previousResetKey: Et.current,
|
|
682
676
|
nextResetKey: be,
|
|
683
677
|
currentAudioKey: P,
|
|
684
678
|
hasCompletedCurrentStepAudio: O
|
|
685
679
|
});
|
|
686
680
|
Et.current = be;
|
|
687
|
-
const n = H.current === a && !!h, i =
|
|
681
|
+
const n = H.current === a && !!h, i = po({
|
|
688
682
|
hasInteraction: !!h,
|
|
689
683
|
shouldBlockPlaybackForInteraction: ie,
|
|
690
684
|
shouldOpenInteractionOverlayAfterAudio: n,
|
|
@@ -696,20 +690,20 @@ const zo = (c, d) => c.length === d.length && c.every((z, Ee) => {
|
|
|
696
690
|
if (e && L({
|
|
697
691
|
preservePendingSubtitleJump: o
|
|
698
692
|
}), !(T.length === 0 && !h) && !oe) {
|
|
699
|
-
if (l?.slideIndex === a &&
|
|
693
|
+
if (l?.slideIndex === a && Vn({
|
|
700
694
|
currentIndex: a,
|
|
701
695
|
resolvedCurrentInteractionElement: b,
|
|
702
696
|
slideElementList: S,
|
|
703
697
|
targetSlideIndex: l.slideIndex
|
|
704
698
|
})) {
|
|
705
|
-
Le.current = null, Ct.current = !0, B(l.audioKey),
|
|
699
|
+
Le.current = null, Ct.current = !0, B(l.audioKey), ht({
|
|
706
700
|
audioIndex: l.audioIndex,
|
|
707
701
|
timeMs: l.timeMs
|
|
708
702
|
});
|
|
709
703
|
return;
|
|
710
704
|
}
|
|
711
705
|
if (h && kt(h), i) {
|
|
712
|
-
|
|
706
|
+
_n(h);
|
|
713
707
|
return;
|
|
714
708
|
}
|
|
715
709
|
if (k(), H.current = null, !ie && t && !we()) {
|
|
@@ -721,10 +715,10 @@ const zo = (c, d) => c.length === d.length && c.every((z, Ee) => {
|
|
|
721
715
|
I(!0);
|
|
722
716
|
return;
|
|
723
717
|
}
|
|
724
|
-
if (R && !(Ve && !
|
|
718
|
+
if (R && !(Ve && !Ne) && !(Ke && !Rn))
|
|
725
719
|
return _e.current = window.setTimeout(() => {
|
|
726
|
-
_e.current = null,
|
|
727
|
-
},
|
|
720
|
+
_e.current = null, N();
|
|
721
|
+
}, Tn), () => {
|
|
728
722
|
Ae();
|
|
729
723
|
};
|
|
730
724
|
}
|
|
@@ -740,19 +734,19 @@ const zo = (c, d) => c.length === d.length && c.every((z, Ee) => {
|
|
|
740
734
|
be,
|
|
741
735
|
w,
|
|
742
736
|
Ke,
|
|
743
|
-
_n,
|
|
744
737
|
Rn,
|
|
745
|
-
|
|
738
|
+
Tn,
|
|
739
|
+
N,
|
|
746
740
|
O,
|
|
747
741
|
F,
|
|
748
|
-
|
|
742
|
+
Ne,
|
|
749
743
|
Ue,
|
|
750
744
|
qt,
|
|
751
745
|
ie,
|
|
752
746
|
k,
|
|
753
747
|
L,
|
|
754
|
-
|
|
755
|
-
|
|
748
|
+
ht,
|
|
749
|
+
_n,
|
|
756
750
|
x,
|
|
757
751
|
S,
|
|
758
752
|
we,
|
|
@@ -767,28 +761,28 @@ const zo = (c, d) => c.length === d.length && c.every((z, Ee) => {
|
|
|
767
761
|
I(!1);
|
|
768
762
|
return;
|
|
769
763
|
}
|
|
770
|
-
if (
|
|
764
|
+
if (xn) {
|
|
771
765
|
I(!1);
|
|
772
766
|
return;
|
|
773
767
|
}
|
|
774
768
|
_t("waitingForAudio"), I(!0);
|
|
775
769
|
}, [
|
|
776
|
-
|
|
770
|
+
xn,
|
|
777
771
|
w,
|
|
778
772
|
O,
|
|
779
773
|
F,
|
|
780
774
|
oe,
|
|
781
775
|
ie
|
|
782
776
|
]), s(() => {
|
|
783
|
-
O &&
|
|
777
|
+
O && So(
|
|
784
778
|
_,
|
|
785
|
-
|
|
786
|
-
) &&
|
|
779
|
+
it.current
|
|
780
|
+
) && ot(!1);
|
|
787
781
|
}, [_, O]), s(() => {
|
|
788
782
|
if (Be.current)
|
|
789
783
|
return;
|
|
790
784
|
const e = Ct.current;
|
|
791
|
-
Ct.current = !1,
|
|
785
|
+
Ct.current = !1, bo({
|
|
792
786
|
currentAudioKey: P,
|
|
793
787
|
currentAudioSequenceLength: _.length,
|
|
794
788
|
currentStepHasSpeakableElement: w,
|
|
@@ -810,23 +804,23 @@ const zo = (c, d) => c.length === d.length && c.every((z, Ee) => {
|
|
|
810
804
|
}, [C, P]), s(() => {
|
|
811
805
|
C >= 0 || Se.reset();
|
|
812
806
|
}, [C, Se]), s(() => {
|
|
813
|
-
|
|
814
|
-
}, [
|
|
807
|
+
lt(!1);
|
|
808
|
+
}, [wr]);
|
|
815
809
|
const {
|
|
816
|
-
interactionDefaults:
|
|
817
|
-
interactionDefaultSelectedValues:
|
|
818
|
-
hasResolvedInteractionInput:
|
|
819
|
-
isInteractionReadonly:
|
|
820
|
-
shouldAutoContinueInteraction:
|
|
821
|
-
} =
|
|
822
|
-
() =>
|
|
823
|
-
interactionDefaultValueOptions:
|
|
810
|
+
interactionDefaults: On,
|
|
811
|
+
interactionDefaultSelectedValues: Cr,
|
|
812
|
+
hasResolvedInteractionInput: Mn,
|
|
813
|
+
isInteractionReadonly: Tr,
|
|
814
|
+
shouldAutoContinueInteraction: kn
|
|
815
|
+
} = d(
|
|
816
|
+
() => Eo(b, {
|
|
817
|
+
interactionDefaultValueOptions: Je
|
|
824
818
|
}),
|
|
825
|
-
[b,
|
|
826
|
-
),
|
|
819
|
+
[b, Je]
|
|
820
|
+
), Rr = !!b?.readonly || Tr, He = yo({
|
|
827
821
|
hasActiveInteraction: !!b,
|
|
828
822
|
isInteractionOverlayOpen: ge
|
|
829
|
-
}),
|
|
823
|
+
}), _r = r(
|
|
830
824
|
(e) => {
|
|
831
825
|
const n = [
|
|
832
826
|
...e.selectedValues ?? [],
|
|
@@ -836,19 +830,19 @@ const zo = (c, d) => c.length === d.length && c.every((z, Ee) => {
|
|
|
836
830
|
kt((i) => !i || !n ? i : {
|
|
837
831
|
...i,
|
|
838
832
|
user_input: n
|
|
839
|
-
}),
|
|
833
|
+
}), We?.(e, b), qe();
|
|
840
834
|
},
|
|
841
|
-
[b, qe,
|
|
835
|
+
[b, qe, We]
|
|
842
836
|
);
|
|
843
837
|
s(() => {
|
|
844
838
|
const e = () => {
|
|
845
|
-
|
|
839
|
+
dr(document.fullscreenElement === de.current);
|
|
846
840
|
};
|
|
847
841
|
return e(), document.addEventListener("fullscreenchange", e), () => {
|
|
848
842
|
document.removeEventListener("fullscreenchange", e);
|
|
849
843
|
};
|
|
850
844
|
}, []), s(() => {
|
|
851
|
-
b && ge ||
|
|
845
|
+
b && ge || st(!1);
|
|
852
846
|
}, [b, ge]), s(() => {
|
|
853
847
|
re();
|
|
854
848
|
}, [b, re]), s(() => {
|
|
@@ -864,7 +858,7 @@ const zo = (c, d) => c.length === d.length && c.every((z, Ee) => {
|
|
|
864
858
|
e.getBoundingClientRect().height
|
|
865
859
|
);
|
|
866
860
|
ve(
|
|
867
|
-
i +
|
|
861
|
+
i + Vo
|
|
868
862
|
);
|
|
869
863
|
};
|
|
870
864
|
if (t(), typeof ResizeObserver > "u")
|
|
@@ -877,82 +871,82 @@ const zo = (c, d) => c.length === d.length && c.every((z, Ee) => {
|
|
|
877
871
|
};
|
|
878
872
|
}, [He]), s(() => {
|
|
879
873
|
if (M(), !!ge) {
|
|
880
|
-
if (
|
|
874
|
+
if (kn)
|
|
881
875
|
return Z.current = window.setTimeout(() => {
|
|
882
876
|
Z.current = null, qe();
|
|
883
|
-
},
|
|
877
|
+
}, Kn), () => {
|
|
884
878
|
M();
|
|
885
879
|
};
|
|
886
|
-
if (!(
|
|
880
|
+
if (!(pn || !Mn))
|
|
887
881
|
return Z.current = window.setTimeout(() => {
|
|
888
882
|
Z.current = null, qe();
|
|
889
|
-
},
|
|
883
|
+
}, Kn), () => {
|
|
890
884
|
M();
|
|
891
885
|
};
|
|
892
886
|
}
|
|
893
887
|
}, [
|
|
894
888
|
M,
|
|
895
889
|
qe,
|
|
896
|
-
|
|
897
|
-
|
|
890
|
+
pn,
|
|
891
|
+
Mn,
|
|
898
892
|
ge,
|
|
899
|
-
|
|
893
|
+
kn
|
|
900
894
|
]);
|
|
901
|
-
const
|
|
895
|
+
const Or = (e, t = {}) => e ? e.type === "slot" ? /* @__PURE__ */ p(zr, { children: e.content }) : e.type === "html" ? /* @__PURE__ */ p(
|
|
902
896
|
Dn,
|
|
903
897
|
{
|
|
904
898
|
className: "content-render-iframe",
|
|
905
899
|
disableLoadingOverlay: F,
|
|
906
900
|
hideFullScreen: !0,
|
|
907
|
-
locale:
|
|
901
|
+
locale: c,
|
|
908
902
|
dir: j,
|
|
909
903
|
lang: Re,
|
|
910
904
|
mode: "blackboard",
|
|
911
905
|
replaceRootScreenHeightWithFull: t.replaceRootScreenHeightWithFull,
|
|
912
906
|
type: "sandbox",
|
|
913
907
|
content: e.content,
|
|
914
|
-
enableScaling:
|
|
908
|
+
enableScaling: $n
|
|
915
909
|
}
|
|
916
|
-
) : /* @__PURE__ */
|
|
910
|
+
) : /* @__PURE__ */ p(
|
|
917
911
|
Dn,
|
|
918
912
|
{
|
|
919
913
|
className: "content-render-iframe",
|
|
920
914
|
disableLoadingOverlay: F,
|
|
921
915
|
hideFullScreen: !0,
|
|
922
|
-
locale:
|
|
916
|
+
locale: c,
|
|
923
917
|
dir: j,
|
|
924
918
|
lang: Re,
|
|
925
919
|
mode: "blackboard",
|
|
926
920
|
type: "markdown",
|
|
927
921
|
content: e.content
|
|
928
922
|
}
|
|
929
|
-
) : null,
|
|
923
|
+
) : null, Mr = (e = [], t = !1) => {
|
|
930
924
|
if (e.length === 0)
|
|
931
925
|
return null;
|
|
932
926
|
const n = e.filter(
|
|
933
927
|
(o) => o.is_renderable !== !1
|
|
934
|
-
).length, i = t &&
|
|
928
|
+
).length, i = t && zn ? ho(e) : "disabled", l = e.reduce(
|
|
935
929
|
(o, v, A) => v.is_renderable !== !1 ? A : o,
|
|
936
930
|
-1
|
|
937
931
|
);
|
|
938
|
-
return /* @__PURE__ */
|
|
939
|
-
|
|
932
|
+
return /* @__PURE__ */ p(
|
|
933
|
+
lo,
|
|
940
934
|
{
|
|
941
935
|
className: "slide-stage__content flex w-full flex-col gap-4",
|
|
942
936
|
mode: i,
|
|
943
937
|
children: e.map((o, v) => {
|
|
944
938
|
const A = o.type === "html" && o.is_renderable === !1;
|
|
945
|
-
return /* @__PURE__ */
|
|
939
|
+
return /* @__PURE__ */ p(
|
|
946
940
|
"div",
|
|
947
941
|
{
|
|
948
|
-
ref: t && v === l ?
|
|
942
|
+
ref: t && v === l ? tn : null,
|
|
949
943
|
"aria-hidden": A || void 0,
|
|
950
944
|
className: Pe(
|
|
951
945
|
"w-full shrink-0",
|
|
952
946
|
n === 1 && o.is_renderable !== !1 && "slide-element--single",
|
|
953
947
|
A ? "pointer-events-none fixed left-[-200vw] top-0 -z-10 h-[100dvh] w-[100vw] overflow-hidden opacity-0" : o.is_renderable === !1 && "hidden"
|
|
954
948
|
),
|
|
955
|
-
children:
|
|
949
|
+
children: Or(o, {
|
|
956
950
|
replaceRootScreenHeightWithFull: n === 1 && o.type === "html" && o.is_renderable !== !1
|
|
957
951
|
})
|
|
958
952
|
},
|
|
@@ -961,7 +955,7 @@ const zo = (c, d) => c.length === d.length && c.every((z, Ee) => {
|
|
|
961
955
|
})
|
|
962
956
|
}
|
|
963
957
|
);
|
|
964
|
-
},
|
|
958
|
+
}, kr = r(() => {
|
|
965
959
|
const e = de.current;
|
|
966
960
|
if (e) {
|
|
967
961
|
if (document.fullscreenElement === e) {
|
|
@@ -972,14 +966,14 @@ const zo = (c, d) => c.length === d.length && c.every((z, Ee) => {
|
|
|
972
966
|
e.requestFullscreen?.().catch(() => {
|
|
973
967
|
});
|
|
974
968
|
}
|
|
975
|
-
}, []),
|
|
976
|
-
const e =
|
|
969
|
+
}, []), Ln = r(() => {
|
|
970
|
+
const e = Qe.current;
|
|
977
971
|
e && e.scrollTo({
|
|
978
972
|
top: e.scrollHeight,
|
|
979
973
|
behavior: "smooth"
|
|
980
974
|
});
|
|
981
975
|
}, []), Yt = r(
|
|
982
|
-
(e) =>
|
|
976
|
+
(e) => Vn({
|
|
983
977
|
currentIndex: a,
|
|
984
978
|
resolvedCurrentInteractionElement: b,
|
|
985
979
|
slideElementList: S,
|
|
@@ -991,10 +985,10 @@ const zo = (c, d) => c.length === d.length && c.every((z, Ee) => {
|
|
|
991
985
|
a,
|
|
992
986
|
S
|
|
993
987
|
]
|
|
994
|
-
),
|
|
988
|
+
), Lr = r(
|
|
995
989
|
(e, t) => {
|
|
996
990
|
const i = y[e.audioIndex]?.audioKey, l = ee[e.audioIndex];
|
|
997
|
-
return !i || l == null || !Yt(e) ? !1 : ($(t), H.current = null, I(!1),
|
|
991
|
+
return !i || l == null || !Yt(e) ? !1 : ($(t), H.current = null, I(!1), ot(!1), lt(!1), zt(t) && (te(!0), g(!0)), l === a ? (Le.current = null, L(), B(i), ht(e), !0) : (pe.current = !0, L(), Le.current = {
|
|
998
992
|
audioIndex: e.audioIndex,
|
|
999
993
|
audioKey: i,
|
|
1000
994
|
slideIndex: l,
|
|
@@ -1007,45 +1001,45 @@ const zo = (c, d) => c.length === d.length && c.every((z, Ee) => {
|
|
|
1007
1001
|
Yt,
|
|
1008
1002
|
a,
|
|
1009
1003
|
ye,
|
|
1010
|
-
|
|
1004
|
+
ht,
|
|
1011
1005
|
L,
|
|
1012
1006
|
g,
|
|
1013
1007
|
$
|
|
1014
1008
|
]
|
|
1015
|
-
),
|
|
1009
|
+
), Fr = r(
|
|
1016
1010
|
(e) => {
|
|
1017
|
-
$(e), pe.current = !0, H.current = null, I(!1), zt(e) && (te(!0), g(!0)), L(),
|
|
1011
|
+
$(e), pe.current = !0, H.current = null, I(!1), zt(e) && (te(!0), g(!0)), L(), an();
|
|
1018
1012
|
},
|
|
1019
1013
|
[
|
|
1020
|
-
|
|
1014
|
+
an,
|
|
1021
1015
|
L,
|
|
1022
1016
|
g,
|
|
1023
1017
|
$
|
|
1024
1018
|
]
|
|
1025
1019
|
), Dr = r(
|
|
1026
1020
|
(e) => {
|
|
1027
|
-
$(e), pe.current = !0, H.current = null, I(!1), zt(e) && (te(!0), g(!0)), L(),
|
|
1021
|
+
$(e), pe.current = !0, H.current = null, I(!1), zt(e) && (te(!0), g(!0)), L(), N();
|
|
1028
1022
|
},
|
|
1029
1023
|
[
|
|
1030
|
-
|
|
1024
|
+
N,
|
|
1031
1025
|
L,
|
|
1032
1026
|
g,
|
|
1033
1027
|
$
|
|
1034
1028
|
]
|
|
1035
|
-
),
|
|
1029
|
+
), Nr = r(
|
|
1036
1030
|
(e, t) => {
|
|
1037
|
-
e < 0 || e >= S.length || e === a || ($(t), pe.current = !0, H.current = null, I(!1), te(!0), g(!0), L(), ye(e),
|
|
1031
|
+
e < 0 || e >= S.length || e === a || ($(t), pe.current = !0, H.current = null, I(!1), te(!0), g(!0), L(), ye(e), Xe?.(S[e], e));
|
|
1038
1032
|
},
|
|
1039
1033
|
[
|
|
1040
1034
|
a,
|
|
1041
1035
|
ye,
|
|
1042
|
-
|
|
1036
|
+
Xe,
|
|
1043
1037
|
L,
|
|
1044
1038
|
g,
|
|
1045
1039
|
S,
|
|
1046
1040
|
$
|
|
1047
1041
|
]
|
|
1048
|
-
),
|
|
1042
|
+
), Br = r(
|
|
1049
1043
|
({
|
|
1050
1044
|
loading: e,
|
|
1051
1045
|
reason: t
|
|
@@ -1058,7 +1052,7 @@ const zo = (c, d) => c.length === d.length && c.every((z, Ee) => {
|
|
|
1058
1052
|
I(!1);
|
|
1059
1053
|
return;
|
|
1060
1054
|
}
|
|
1061
|
-
e && t && _t(t), I(
|
|
1055
|
+
e && t && _t(t), I(Go(t, e));
|
|
1062
1056
|
},
|
|
1063
1057
|
[
|
|
1064
1058
|
w,
|
|
@@ -1069,12 +1063,12 @@ const zo = (c, d) => c.length === d.length && c.every((z, Ee) => {
|
|
|
1069
1063
|
s(() => {
|
|
1070
1064
|
F && I(!1);
|
|
1071
1065
|
}, [F]);
|
|
1072
|
-
const
|
|
1066
|
+
const Vr = r(
|
|
1073
1067
|
(e) => {
|
|
1074
1068
|
const t = y[e]?.audioKey;
|
|
1075
1069
|
if (!t || !P || t !== P)
|
|
1076
1070
|
return;
|
|
1077
|
-
|
|
1071
|
+
it.current.add(t);
|
|
1078
1072
|
const n = _.findIndex(
|
|
1079
1073
|
(o) => o === t
|
|
1080
1074
|
);
|
|
@@ -1087,9 +1081,9 @@ const zo = (c, d) => c.length === d.length && c.every((z, Ee) => {
|
|
|
1087
1081
|
B(l);
|
|
1088
1082
|
return;
|
|
1089
1083
|
}
|
|
1090
|
-
if (B(null),
|
|
1084
|
+
if (B(null), ot(!0), I(!1), R) {
|
|
1091
1085
|
const o = a + 1, v = S[o];
|
|
1092
|
-
|
|
1086
|
+
En && v?.type === "interaction" && (H.current = o), N();
|
|
1093
1087
|
return;
|
|
1094
1088
|
}
|
|
1095
1089
|
},
|
|
@@ -1099,20 +1093,20 @@ const zo = (c, d) => c.length === d.length && c.every((z, Ee) => {
|
|
|
1099
1093
|
a,
|
|
1100
1094
|
P,
|
|
1101
1095
|
_,
|
|
1102
|
-
|
|
1103
|
-
|
|
1096
|
+
N,
|
|
1097
|
+
En,
|
|
1104
1098
|
S
|
|
1105
1099
|
]
|
|
1106
|
-
),
|
|
1107
|
-
|
|
1108
|
-
}, [q, x]),
|
|
1109
|
-
|
|
1100
|
+
), Kr = r(() => {
|
|
1101
|
+
Ze.current = !0, q(), x && De(!0);
|
|
1102
|
+
}, [q, x]), qr = r(() => {
|
|
1103
|
+
Ze.current = !1, g(!0);
|
|
1110
1104
|
}, [g]), Gt = r(
|
|
1111
1105
|
(e) => {
|
|
1112
1106
|
e.stopPropagation(), K && g(!0);
|
|
1113
1107
|
},
|
|
1114
1108
|
[K, g]
|
|
1115
|
-
),
|
|
1109
|
+
), gt = r(
|
|
1116
1110
|
(e, t) => {
|
|
1117
1111
|
const n = Pt.current;
|
|
1118
1112
|
if (!n)
|
|
@@ -1127,7 +1121,7 @@ const zo = (c, d) => c.length === d.length && c.every((z, Ee) => {
|
|
|
1127
1121
|
},
|
|
1128
1122
|
[]
|
|
1129
1123
|
);
|
|
1130
|
-
|
|
1124
|
+
Ko(() => {
|
|
1131
1125
|
const e = Me.current;
|
|
1132
1126
|
if (!He || !e) {
|
|
1133
1127
|
me.current = null;
|
|
@@ -1142,7 +1136,7 @@ const zo = (c, d) => c.length === d.length && c.every((z, Ee) => {
|
|
|
1142
1136
|
return;
|
|
1143
1137
|
}
|
|
1144
1138
|
const i = t.left - n.left, l = t.top - n.top;
|
|
1145
|
-
if (!
|
|
1139
|
+
if (!qn(i) && !qn(l)) {
|
|
1146
1140
|
me.current = {
|
|
1147
1141
|
left: n.left,
|
|
1148
1142
|
top: n.top
|
|
@@ -1152,33 +1146,33 @@ const zo = (c, d) => c.length === d.length && c.every((z, Ee) => {
|
|
|
1152
1146
|
const o = {
|
|
1153
1147
|
x: E.x + i,
|
|
1154
1148
|
y: E.y + l
|
|
1155
|
-
}, v =
|
|
1149
|
+
}, v = gt(
|
|
1156
1150
|
e,
|
|
1157
1151
|
E
|
|
1158
|
-
), A =
|
|
1159
|
-
v ?
|
|
1152
|
+
), A = Uo(
|
|
1153
|
+
v ? Bn(o, v) : o
|
|
1160
1154
|
);
|
|
1161
1155
|
me.current = {
|
|
1162
1156
|
left: n.left + A.x - E.x,
|
|
1163
1157
|
top: n.top + A.y - E.y
|
|
1164
|
-
},
|
|
1158
|
+
}, Un(
|
|
1165
1159
|
A,
|
|
1166
1160
|
E
|
|
1167
1161
|
) || Lt(
|
|
1168
|
-
(le) =>
|
|
1162
|
+
(le) => Un(le, A) ? le : A
|
|
1169
1163
|
);
|
|
1170
1164
|
}, [
|
|
1171
|
-
|
|
1165
|
+
gt,
|
|
1172
1166
|
E,
|
|
1173
1167
|
Ft,
|
|
1174
|
-
|
|
1168
|
+
ct,
|
|
1175
1169
|
He
|
|
1176
1170
|
]);
|
|
1177
|
-
const
|
|
1171
|
+
const Ur = r(
|
|
1178
1172
|
(e) => {
|
|
1179
1173
|
if (Gt(e), e.button !== 0 || !e.currentTarget.isConnected || !Me.current)
|
|
1180
1174
|
return;
|
|
1181
|
-
const t =
|
|
1175
|
+
const t = gt(
|
|
1182
1176
|
Me.current,
|
|
1183
1177
|
E
|
|
1184
1178
|
);
|
|
@@ -1188,18 +1182,18 @@ const zo = (c, d) => c.length === d.length && c.every((z, Ee) => {
|
|
|
1188
1182
|
startClientY: e.clientY,
|
|
1189
1183
|
startOffset: E,
|
|
1190
1184
|
bounds: t
|
|
1191
|
-
},
|
|
1185
|
+
}, Dt(!0));
|
|
1192
1186
|
},
|
|
1193
1187
|
[
|
|
1194
|
-
|
|
1188
|
+
gt,
|
|
1195
1189
|
E,
|
|
1196
1190
|
Gt
|
|
1197
1191
|
]
|
|
1198
|
-
),
|
|
1192
|
+
), Hr = r(
|
|
1199
1193
|
(e) => {
|
|
1200
1194
|
const t = ke.current;
|
|
1201
1195
|
!t || t.pointerId !== e.pointerId || (e.preventDefault(), e.stopPropagation(), Lt(
|
|
1202
|
-
|
|
1196
|
+
Bn(
|
|
1203
1197
|
{
|
|
1204
1198
|
x: t.startOffset.x + e.clientX - t.startClientX,
|
|
1205
1199
|
y: t.startOffset.y + e.clientY - t.startClientY
|
|
@@ -1209,33 +1203,33 @@ const zo = (c, d) => c.length === d.length && c.every((z, Ee) => {
|
|
|
1209
1203
|
));
|
|
1210
1204
|
},
|
|
1211
1205
|
[]
|
|
1212
|
-
),
|
|
1206
|
+
), Fn = r(
|
|
1213
1207
|
(e) => {
|
|
1214
1208
|
const t = ke.current;
|
|
1215
|
-
!t || t.pointerId !== e.pointerId || (e.stopPropagation(), e.currentTarget.hasPointerCapture(e.pointerId) && e.currentTarget.releasePointerCapture(e.pointerId), ke.current = null,
|
|
1209
|
+
!t || t.pointerId !== e.pointerId || (e.stopPropagation(), e.currentTarget.hasPointerCapture(e.pointerId) && e.currentTarget.releasePointerCapture(e.pointerId), ke.current = null, Dt(!1));
|
|
1216
1210
|
},
|
|
1217
1211
|
[]
|
|
1212
|
+
), Yr = r(
|
|
1213
|
+
(e) => {
|
|
1214
|
+
Y(), Zt?.(e);
|
|
1215
|
+
},
|
|
1216
|
+
[Y, Zt]
|
|
1218
1217
|
), Gr = r(
|
|
1219
1218
|
(e) => {
|
|
1220
1219
|
Y(), en?.(e);
|
|
1221
1220
|
},
|
|
1222
1221
|
[Y, en]
|
|
1223
|
-
), $r = r(
|
|
1224
|
-
(e) => {
|
|
1225
|
-
Y(), tn?.(e);
|
|
1226
|
-
},
|
|
1227
|
-
[Y, tn]
|
|
1228
|
-
), zr = r(() => {
|
|
1222
|
+
), $r = r(() => {
|
|
1229
1223
|
te(!0), g(!0);
|
|
1230
1224
|
}, [g]);
|
|
1231
1225
|
return s(() => {
|
|
1232
|
-
const e =
|
|
1226
|
+
const e = nn.current, i = (e.length > 0 && e.length < he.length && e.every((o, v) => o === he[v]) ? T.slice(e.length) : []).some(
|
|
1233
1227
|
(o) => o.is_new === !1
|
|
1234
1228
|
);
|
|
1235
|
-
if (
|
|
1229
|
+
if (nn.current = he, !i)
|
|
1236
1230
|
return;
|
|
1237
1231
|
const l = window.requestAnimationFrame(() => {
|
|
1238
|
-
const o =
|
|
1232
|
+
const o = Qe.current, v = tn.current;
|
|
1239
1233
|
if (!o || !v)
|
|
1240
1234
|
return;
|
|
1241
1235
|
const A = o.getBoundingClientRect(), le = v.getBoundingClientRect(), Ye = o.scrollTop + (le.top - A.top);
|
|
@@ -1251,57 +1245,57 @@ const zo = (c, d) => c.length === d.length && c.every((z, Ee) => {
|
|
|
1251
1245
|
if (!pe.current || (pe.current = !1, T.length === 0))
|
|
1252
1246
|
return;
|
|
1253
1247
|
const e = window.requestAnimationFrame(() => {
|
|
1254
|
-
|
|
1248
|
+
Ln();
|
|
1255
1249
|
});
|
|
1256
1250
|
return () => {
|
|
1257
1251
|
window.cancelAnimationFrame(e);
|
|
1258
1252
|
};
|
|
1259
|
-
}, [T,
|
|
1253
|
+
}, [T, Ln]), /* @__PURE__ */ It(
|
|
1260
1254
|
"section",
|
|
1261
1255
|
{
|
|
1262
1256
|
ref: de,
|
|
1263
1257
|
className: Pe(
|
|
1264
1258
|
"relative h-full w-full",
|
|
1265
1259
|
V && "slide--mobile-device",
|
|
1266
|
-
|
|
1260
|
+
In && "slide--browser-fullscreen",
|
|
1267
1261
|
Ie && "slide--mobile-landscape",
|
|
1268
|
-
|
|
1269
|
-
|
|
1262
|
+
vn && "slide--mobile-landscape-native",
|
|
1263
|
+
Xn
|
|
1270
1264
|
),
|
|
1271
1265
|
dir: j,
|
|
1272
1266
|
lang: Re,
|
|
1273
|
-
onClick:
|
|
1274
|
-
onFocusCapture:
|
|
1275
|
-
onPointerDown:
|
|
1276
|
-
...
|
|
1267
|
+
onClick: $r,
|
|
1268
|
+
onFocusCapture: Gr,
|
|
1269
|
+
onPointerDown: Yr,
|
|
1270
|
+
...jn,
|
|
1277
1271
|
children: [
|
|
1278
|
-
|
|
1272
|
+
hr ? /* @__PURE__ */ p(
|
|
1279
1273
|
"div",
|
|
1280
1274
|
{
|
|
1281
1275
|
"aria-hidden": "true",
|
|
1282
1276
|
className: "pointer-events-none fixed left-0 top-0 z-[9999] h-[100vh] max-h-[100vh] w-[100vw]"
|
|
1283
1277
|
}
|
|
1284
1278
|
) : null,
|
|
1285
|
-
/* @__PURE__ */
|
|
1279
|
+
/* @__PURE__ */ It(
|
|
1286
1280
|
"div",
|
|
1287
1281
|
{
|
|
1288
1282
|
ref: Pt,
|
|
1289
1283
|
className: Pe(
|
|
1290
1284
|
"slide__viewport relative h-full min-h-0 w-full",
|
|
1291
1285
|
Ie && "slide__viewport--mobile-landscape",
|
|
1292
|
-
Ie && !
|
|
1286
|
+
Ie && !mr && "slide__viewport--mobile-landscape-native"
|
|
1293
1287
|
),
|
|
1294
1288
|
children: [
|
|
1295
|
-
|
|
1296
|
-
/* @__PURE__ */
|
|
1289
|
+
pr ? /* @__PURE__ */ It("div", { className: "slide-landscape-header", children: [
|
|
1290
|
+
/* @__PURE__ */ p(
|
|
1297
1291
|
"button",
|
|
1298
1292
|
{
|
|
1299
|
-
"aria-label": J?.backAriaLabel ??
|
|
1293
|
+
"aria-label": J?.backAriaLabel ?? D.fullscreenBackAriaLabel,
|
|
1300
1294
|
className: "slide-landscape-header__back",
|
|
1301
|
-
onClick:
|
|
1295
|
+
onClick: vr,
|
|
1302
1296
|
type: "button",
|
|
1303
|
-
children: /* @__PURE__ */
|
|
1304
|
-
|
|
1297
|
+
children: /* @__PURE__ */ p(
|
|
1298
|
+
Fo,
|
|
1305
1299
|
{
|
|
1306
1300
|
className: "slide-landscape-header__icon h-6 w-6",
|
|
1307
1301
|
strokeWidth: 2.25
|
|
@@ -1309,27 +1303,27 @@ const zo = (c, d) => c.length === d.length && c.every((z, Ee) => {
|
|
|
1309
1303
|
)
|
|
1310
1304
|
}
|
|
1311
1305
|
),
|
|
1312
|
-
J?.content ? /* @__PURE__ */
|
|
1306
|
+
J?.content ? /* @__PURE__ */ p("div", { className: "min-w-0 flex-1 overflow-hidden", children: J.content }) : null
|
|
1313
1307
|
] }) : null,
|
|
1314
|
-
/* @__PURE__ */
|
|
1308
|
+
/* @__PURE__ */ p(
|
|
1315
1309
|
"div",
|
|
1316
1310
|
{
|
|
1317
1311
|
className: Pe(
|
|
1318
1312
|
"h-full min-h-0 w-full",
|
|
1319
|
-
|
|
1320
|
-
|
|
1313
|
+
yr && "slide__viewport-content--with-header",
|
|
1314
|
+
nr ? "slide-content--single" : "grid gap-4"
|
|
1321
1315
|
),
|
|
1322
|
-
children: T.length > 0 ? /* @__PURE__ */
|
|
1316
|
+
children: T.length > 0 ? /* @__PURE__ */ p("div", { className: "slide-stage", children: /* @__PURE__ */ p("div", { ref: Qe, className: "slide-stage__layer w-full", children: Sr.map(
|
|
1323
1317
|
(e, t) => {
|
|
1324
|
-
const n = t ===
|
|
1325
|
-
return /* @__PURE__ */
|
|
1318
|
+
const n = t === Ir;
|
|
1319
|
+
return /* @__PURE__ */ p(
|
|
1326
1320
|
"div",
|
|
1327
1321
|
{
|
|
1328
1322
|
"data-active-step": n ? "true" : void 0,
|
|
1329
1323
|
"aria-hidden": !n || void 0,
|
|
1330
1324
|
className: "w-full h-full",
|
|
1331
1325
|
style: { display: n ? void 0 : "none" },
|
|
1332
|
-
children:
|
|
1326
|
+
children: Mr(
|
|
1333
1327
|
e.elementList,
|
|
1334
1328
|
n
|
|
1335
1329
|
)
|
|
@@ -1340,107 +1334,107 @@ const zo = (c, d) => c.length === d.length && c.every((z, Ee) => {
|
|
|
1340
1334
|
) }) }) : null
|
|
1341
1335
|
}
|
|
1342
1336
|
),
|
|
1343
|
-
|
|
1344
|
-
|
|
1337
|
+
lr ? /* @__PURE__ */ p(
|
|
1338
|
+
to,
|
|
1345
1339
|
{
|
|
1346
|
-
message:
|
|
1347
|
-
|
|
1348
|
-
|
|
1340
|
+
message: Ho(
|
|
1341
|
+
Qn,
|
|
1342
|
+
ar
|
|
1349
1343
|
),
|
|
1350
1344
|
className: "absolute left-1/2 top-1/2 z-[3] -translate-x-1/2 -translate-y-1/2"
|
|
1351
1345
|
}
|
|
1352
1346
|
) : null,
|
|
1353
|
-
/* @__PURE__ */
|
|
1354
|
-
|
|
1347
|
+
/* @__PURE__ */ p(
|
|
1348
|
+
ao,
|
|
1355
1349
|
{
|
|
1356
|
-
extraBottomOffset:
|
|
1357
|
-
hasPlayerGap:
|
|
1358
|
-
isEnabled:
|
|
1350
|
+
extraBottomOffset: cr,
|
|
1351
|
+
hasPlayerGap: ct,
|
|
1352
|
+
isEnabled: mn && sr,
|
|
1359
1353
|
playbackTimeStore: Se,
|
|
1360
|
-
subtitleCues:
|
|
1354
|
+
subtitleCues: br
|
|
1361
1355
|
}
|
|
1362
1356
|
),
|
|
1363
|
-
He ? /* @__PURE__ */
|
|
1357
|
+
He ? /* @__PURE__ */ p(
|
|
1364
1358
|
"div",
|
|
1365
1359
|
{
|
|
1366
1360
|
ref: Me,
|
|
1367
1361
|
"data-player-keyboard-shortcuts-ignore": "true",
|
|
1368
1362
|
className: Pe(
|
|
1369
1363
|
"slide-interaction-overlay",
|
|
1370
|
-
|
|
1364
|
+
ct ? "slide-interaction-overlay--with-player" : "slide-interaction-overlay--standalone",
|
|
1371
1365
|
Ft && "slide-interaction-overlay--dragging"
|
|
1372
1366
|
),
|
|
1373
1367
|
onClick: Gt,
|
|
1374
1368
|
onPointerDownCapture: (e) => {
|
|
1375
|
-
|
|
1369
|
+
Xt(e.target) && st(!0);
|
|
1376
1370
|
},
|
|
1377
1371
|
onFocusCapture: (e) => {
|
|
1378
|
-
|
|
1372
|
+
Xt(e.target) && st(!0);
|
|
1379
1373
|
},
|
|
1380
1374
|
onInputCapture: (e) => {
|
|
1381
|
-
|
|
1375
|
+
Xt(e.target) && st(!0);
|
|
1382
1376
|
},
|
|
1383
|
-
style:
|
|
1384
|
-
children: /* @__PURE__ */
|
|
1385
|
-
|
|
1377
|
+
style: Ar,
|
|
1378
|
+
children: /* @__PURE__ */ p(
|
|
1379
|
+
Hn,
|
|
1386
1380
|
{
|
|
1387
1381
|
dir: j,
|
|
1388
1382
|
lang: Re,
|
|
1389
1383
|
content: String(b?.content ?? ""),
|
|
1390
|
-
dragHandleAriaLabel: W?.dragHandleAriaLabel ??
|
|
1391
|
-
locale:
|
|
1392
|
-
defaultButtonText:
|
|
1393
|
-
defaultInputText:
|
|
1394
|
-
defaultSelectedValues:
|
|
1395
|
-
confirmButtonText: W?.confirmButtonText ??
|
|
1396
|
-
copyButtonText: W?.copyButtonText ??
|
|
1397
|
-
copiedButtonText: W?.copiedButtonText ??
|
|
1398
|
-
onSend:
|
|
1399
|
-
onPlaceholderAccepted:
|
|
1400
|
-
onDragHandlePointerCancel:
|
|
1401
|
-
onDragHandlePointerDown:
|
|
1402
|
-
onDragHandlePointerMove:
|
|
1403
|
-
onDragHandlePointerUp:
|
|
1404
|
-
readonly:
|
|
1405
|
-
title: W?.title ?? bt ??
|
|
1384
|
+
dragHandleAriaLabel: W?.dragHandleAriaLabel ?? D.interactionTexts.dragHandleAriaLabel,
|
|
1385
|
+
locale: c,
|
|
1386
|
+
defaultButtonText: On.buttonText ?? "",
|
|
1387
|
+
defaultInputText: On.inputText ?? "",
|
|
1388
|
+
defaultSelectedValues: Cr,
|
|
1389
|
+
confirmButtonText: W?.confirmButtonText ?? D.interactionTexts.confirmButtonText,
|
|
1390
|
+
copyButtonText: W?.copyButtonText ?? D.interactionTexts.copyButtonText,
|
|
1391
|
+
copiedButtonText: W?.copiedButtonText ?? D.interactionTexts.copiedButtonText,
|
|
1392
|
+
onSend: _r,
|
|
1393
|
+
onPlaceholderAccepted: Yn,
|
|
1394
|
+
onDragHandlePointerCancel: Fn,
|
|
1395
|
+
onDragHandlePointerDown: Ur,
|
|
1396
|
+
onDragHandlePointerMove: Hr,
|
|
1397
|
+
onDragHandlePointerUp: Fn,
|
|
1398
|
+
readonly: Rr,
|
|
1399
|
+
title: W?.title ?? bt ?? D.interactionTexts.title
|
|
1406
1400
|
}
|
|
1407
1401
|
)
|
|
1408
1402
|
}
|
|
1409
1403
|
) : null,
|
|
1410
|
-
x ? /* @__PURE__ */
|
|
1411
|
-
|
|
1404
|
+
x ? /* @__PURE__ */ p(
|
|
1405
|
+
co.Provider,
|
|
1412
1406
|
{
|
|
1413
|
-
value:
|
|
1414
|
-
children: /* @__PURE__ */
|
|
1415
|
-
|
|
1407
|
+
value: rr,
|
|
1408
|
+
children: /* @__PURE__ */ p(
|
|
1409
|
+
io,
|
|
1416
1410
|
{
|
|
1417
|
-
dir: j === "auto" ?
|
|
1411
|
+
dir: j === "auto" ? er : j,
|
|
1418
1412
|
lang: Re,
|
|
1419
1413
|
audioList: y,
|
|
1420
1414
|
className: Pe(
|
|
1421
1415
|
"absolute left-1/2 z-[2] -translate-x-1/2",
|
|
1422
|
-
|
|
1416
|
+
ze ? "bottom-9" : In ? "bottom-3" : "-bottom-3",
|
|
1423
1417
|
X,
|
|
1424
1418
|
!K && "pointer-events-none opacity-0"
|
|
1425
1419
|
),
|
|
1426
1420
|
currentAudioIndex: C,
|
|
1427
1421
|
defaultPlaying: Tt,
|
|
1428
|
-
enableKeyboardShortcuts:
|
|
1422
|
+
enableKeyboardShortcuts: ce,
|
|
1429
1423
|
isPlaybackPaused: oe,
|
|
1430
|
-
isAutoAdvanceEnabled:
|
|
1431
|
-
locale:
|
|
1424
|
+
isAutoAdvanceEnabled: Ne,
|
|
1425
|
+
locale: c,
|
|
1432
1426
|
isInteractionOpen: ge,
|
|
1433
|
-
isSubtitleEnabled:
|
|
1427
|
+
isSubtitleEnabled: mn,
|
|
1434
1428
|
onAutoAdvanceToggle: un,
|
|
1435
|
-
onLoadingChange:
|
|
1429
|
+
onLoadingChange: Br,
|
|
1436
1430
|
onPlaybackStarted: () => {
|
|
1437
|
-
|
|
1431
|
+
lt(!0);
|
|
1438
1432
|
},
|
|
1439
1433
|
onPlaybackCheckpoint: ({ audioKey: e, isComplete: t, timeMs: n }) => {
|
|
1440
1434
|
const i = y.findIndex(
|
|
1441
1435
|
(o) => o.audioKey === e
|
|
1442
1436
|
), l = i >= 0 ? y[i] : void 0;
|
|
1443
|
-
!l?.audioKey || !l.element ||
|
|
1437
|
+
!l?.audioKey || !l.element || Gn?.({
|
|
1444
1438
|
audioKey: l.audioKey,
|
|
1445
1439
|
element: l.element,
|
|
1446
1440
|
isComplete: t,
|
|
@@ -1448,41 +1442,41 @@ const zo = (c, d) => c.length === d.length && c.every((z, Ee) => {
|
|
|
1448
1442
|
timeMs: n
|
|
1449
1443
|
});
|
|
1450
1444
|
},
|
|
1451
|
-
onPlaybackPreferenceChange:
|
|
1445
|
+
onPlaybackPreferenceChange: Er,
|
|
1452
1446
|
onPlaybackTimeChange: Se.setTime,
|
|
1453
1447
|
onSubtitleToggle: () => {
|
|
1454
1448
|
ur((e) => !e);
|
|
1455
1449
|
},
|
|
1456
1450
|
nextDisabled: !R,
|
|
1457
|
-
onEnded:
|
|
1458
|
-
onFullscreen:
|
|
1459
|
-
isFullscreen:
|
|
1451
|
+
onEnded: Vr,
|
|
1452
|
+
onFullscreen: kr,
|
|
1453
|
+
isFullscreen: yn,
|
|
1460
1454
|
mobileViewMode: ne,
|
|
1461
1455
|
settingsPortalContainer: Pt.current,
|
|
1462
|
-
onMobileViewModeChange:
|
|
1463
|
-
onControlsPointerEnter:
|
|
1464
|
-
onControlsPointerLeave:
|
|
1456
|
+
onMobileViewModeChange: gr,
|
|
1457
|
+
onControlsPointerEnter: Kr,
|
|
1458
|
+
onControlsPointerLeave: qr,
|
|
1465
1459
|
onNext: Dr,
|
|
1466
|
-
onPrev:
|
|
1467
|
-
onSubtitleJump:
|
|
1460
|
+
onPrev: Fr,
|
|
1461
|
+
onSubtitleJump: Lr,
|
|
1468
1462
|
canJumpToSubtitleTarget: Yt,
|
|
1469
|
-
prevDisabled: !
|
|
1463
|
+
prevDisabled: !tr,
|
|
1470
1464
|
showControls: K,
|
|
1471
|
-
slideProgress:
|
|
1472
|
-
ariaLabel:
|
|
1465
|
+
slideProgress: ze ? {
|
|
1466
|
+
ariaLabel: D.slideProgressAriaLabel,
|
|
1473
1467
|
currentIndex: a,
|
|
1474
|
-
generatingLabel:
|
|
1468
|
+
generatingLabel: D.slideProgressGeneratingLabel,
|
|
1475
1469
|
isGenerating: wt,
|
|
1476
|
-
onNavigate:
|
|
1477
|
-
totalSteps:
|
|
1470
|
+
onNavigate: Nr,
|
|
1471
|
+
totalSteps: sn
|
|
1478
1472
|
} : null,
|
|
1479
|
-
subtitleSeekRequest:
|
|
1480
|
-
playbackRestoreRequest:
|
|
1481
|
-
id:
|
|
1482
|
-
timeMs:
|
|
1473
|
+
subtitleSeekRequest: ir,
|
|
1474
|
+
playbackRestoreRequest: rt && rt.audioKey === mt?.audioKey ? {
|
|
1475
|
+
id: rt.id,
|
|
1476
|
+
timeMs: rt.timeMs
|
|
1483
1477
|
} : null,
|
|
1484
1478
|
onPlaybackRestoreComplete: (e) => {
|
|
1485
|
-
Be.current?.id === e && (Be.current = null,
|
|
1479
|
+
Be.current?.id === e && (Be.current = null, cn(null));
|
|
1486
1480
|
},
|
|
1487
1481
|
texts: At,
|
|
1488
1482
|
customActionContext: Vt,
|
|
@@ -1500,6 +1494,6 @@ const zo = (c, d) => c.length === d.length && c.every((z, Ee) => {
|
|
|
1500
1494
|
);
|
|
1501
1495
|
};
|
|
1502
1496
|
export {
|
|
1503
|
-
|
|
1497
|
+
Oi as default
|
|
1504
1498
|
};
|
|
1505
1499
|
//# sourceMappingURL=Slide.es.js.map
|