markdown-flow-ui 0.1.112-beta.1 → 0.1.112-beta.3

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