@instructure/studio-player 0.2.1 → 0.2.2

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.
@@ -1,14 +1,14 @@
1
- import './index-DAjo9xqJ.css';var Re = Object.defineProperty;
2
- var Ae = (e, n, o) => n in e ? Re(e, n, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[n] = o;
3
- var N = (e, n, o) => Ae(e, typeof n != "symbol" ? n + "" : n, o);
1
+ import './index-CMD6Esae.css';var Ae = Object.defineProperty;
2
+ var Ee = (e, n, o) => n in e ? Ae(e, n, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[n] = o;
3
+ var N = (e, n, o) => Ee(e, typeof n != "symbol" ? n + "" : n, o);
4
4
  import { jsx as t, jsxs as s, Fragment as J } from "react/jsx-runtime";
5
5
  import { createContext as X, useContext as y, useState as P, useCallback as p, useEffect as V, useMemo as F, useRef as he } from "react";
6
- import { useMediaPlayer as ee, Spinner as G, useMediaRemote as Z, useMediaState as v, isTrackCaptionKind as Ee, Track as Oe, Captions as Fe, usePlaybackRateOptions as Ze, useCaptionOptions as $e, useVideoQualityOptions as Ke, useMediaStore as _e, FullscreenButton as pe, PlayButton as De, Poster as ze, Time as ae, TimeSlider as A, MuteButton as je, VolumeSlider as j, MediaPlayer as Ue, MediaProvider as qe } from "@vidstack/react";
7
- import { initReactI18next as We, useTranslation as C } from "react-i18next";
8
- import Ge from "i18next";
9
- import Qe from "i18next-resources-to-backend";
10
- import { useFloating as ve, autoUpdate as fe, flip as Ce, arrow as ge, useDismiss as be, useInteractions as ke, FloatingFocusManager as Ye, FloatingArrow as ye, shift as Je, offset as Xe } from "@floating-ui/react";
11
- const et = (e, n, o) => {
6
+ import { useMediaPlayer as ee, Spinner as G, useMediaRemote as Z, useMediaState as f, isTrackCaptionKind as Oe, Track as Fe, Captions as Ze, usePlaybackRateOptions as $e, useCaptionOptions as ze, useVideoQualityOptions as Ke, useMediaStore as _e, FullscreenButton as pe, PlayButton as De, Poster as je, Time as ae, TimeSlider as A, MuteButton as Ue, VolumeSlider as j, MediaPlayer as qe, MediaProvider as We } from "@vidstack/react";
7
+ import { initReactI18next as Ge, useTranslation as b } from "react-i18next";
8
+ import Qe from "i18next";
9
+ import Ye from "i18next-resources-to-backend";
10
+ import { useFloating as fe, autoUpdate as ve, flip as be, arrow as Ce, useDismiss as ge, useInteractions as ke, FloatingFocusManager as Je, FloatingArrow as ye, shift as Xe, offset as et } from "@floating-ui/react";
11
+ const tt = (e, n, o) => {
12
12
  const i = e[n];
13
13
  return i ? typeof i == "function" ? i() : Promise.resolve(i) : new Promise((a, c) => {
14
14
  (typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(
@@ -21,9 +21,9 @@ const et = (e, n, o) => {
21
21
  );
22
22
  });
23
23
  };
24
- Ge.use(We).use(
25
- Qe(
26
- (e) => et(/* @__PURE__ */ Object.assign({ "./locales/en.json": () => import("./en-DFSgRHa0.js"), "./locales/kl.json": () => import("./kl-dmbsz-te.js") }), `./locales/${e}.json`, 3)
24
+ Qe.use(Ge).use(
25
+ Ye(
26
+ (e) => tt(/* @__PURE__ */ Object.assign({ "./locales/en.json": () => import("./en-DFSgRHa0.js"), "./locales/kl.json": () => import("./kl-dmbsz-te.js") }), `./locales/${e}.json`, 3)
27
27
  )
28
28
  ).init({
29
29
  fallbackLng: "en",
@@ -35,13 +35,13 @@ Ge.use(We).use(
35
35
  }
36
36
  });
37
37
  const we = X(null);
38
- function tt({
38
+ function nt({
39
39
  children: e,
40
40
  contextValue: n
41
41
  }) {
42
42
  return /* @__PURE__ */ t(we.Provider, { value: n, children: e });
43
43
  }
44
- function g() {
44
+ function C() {
45
45
  const e = y(we);
46
46
  if (!e)
47
47
  throw new Error(
@@ -50,7 +50,7 @@ function g() {
50
50
  return e;
51
51
  }
52
52
  const Le = X(null);
53
- function nt({
53
+ function ot({
54
54
  hideFullScreen: e,
55
55
  comments: n,
56
56
  annotations: o,
@@ -60,9 +60,10 @@ function nt({
60
60
  onQuizMarkerClick: l,
61
61
  onInteractivePinClick: u,
62
62
  interactiveMenuElements: _,
63
- children: f
63
+ darkMode: v,
64
+ children: g
64
65
  }) {
65
- const b = {
66
+ const d = {
66
67
  hideFullScreen: e,
67
68
  comments: n,
68
69
  annotations: o,
@@ -72,11 +73,12 @@ function nt({
72
73
  onQuizMarkerClick: l,
73
74
  onInteractivePinClick: u,
74
75
  interactiveMenuElements: _,
76
+ darkMode: v,
75
77
  hasComments: n.length > 0,
76
78
  hasAnnotations: o.length > 0,
77
79
  hasQuizmarkers: i.length > 0
78
80
  };
79
- return /* @__PURE__ */ t(Le.Provider, { value: b, children: f });
81
+ return /* @__PURE__ */ t(Le.Provider, { value: d, children: g });
80
82
  }
81
83
  function B() {
82
84
  const e = y(Le);
@@ -86,18 +88,18 @@ function B() {
86
88
  );
87
89
  return e;
88
90
  }
89
- const ot = "_annotation-overlay_1kxzn_1", it = {
91
+ const it = "_annotation-overlay_1kxzn_1", at = {
90
92
  "annotation-overlay": "_annotation-overlay_1kxzn_1",
91
- annotationOverlay: ot
92
- }, se = 0.25, at = (e, n) => {
93
+ annotationOverlay: it
94
+ }, se = 0.25, st = (e, n) => {
93
95
  let o = !1;
94
96
  return (i) => {
95
97
  const a = i.detail.currentTime;
96
98
  a >= e.time && a < e.time + se && !o && (o = !0, n(e)), (a < e.time || a >= e.time + se) && o && (o = !1);
97
99
  };
98
100
  };
99
- function st({ annotations: e }) {
100
- const n = ee(), o = g(), [i, a] = P(
101
+ function ct({ annotations: e }) {
102
+ const n = ee(), o = C(), [i, a] = P(
101
103
  null
102
104
  ), c = p(
103
105
  (u) => {
@@ -112,28 +114,28 @@ function st({ annotations: e }) {
112
114
  return;
113
115
  const u = [];
114
116
  for (const _ of e) {
115
- const f = at(_, c);
116
- n.addEventListener("time-update", f), u.push(f);
117
+ const v = st(_, c);
118
+ n.addEventListener("time-update", v), u.push(v);
117
119
  }
118
120
  return () => {
119
121
  for (const _ of u)
120
122
  n.removeEventListener("time-update", _);
121
123
  };
122
- }, [n, e]), i ? /* @__PURE__ */ t("div", { className: it.annotationOverlay, children: i.render(l) }) : null;
124
+ }, [n, e]), i ? /* @__PURE__ */ t("div", { className: at.annotationOverlay, children: i.render(l) }) : null;
123
125
  }
124
- const ct = "_media-buffering-indicator_1fwjr_1", lt = "_media-buffering-spinner_1fwjr_17", rt = "_media-buffering-spin_1fwjr_17", ut = "_media-buffering-track_1fwjr_22", dt = "_media-buffering-track-fill_1fwjr_27", U = {
126
+ const lt = "_media-buffering-indicator_1fwjr_1", rt = "_media-buffering-spinner_1fwjr_17", ut = "_media-buffering-spin_1fwjr_17", dt = "_media-buffering-track_1fwjr_22", mt = "_media-buffering-track-fill_1fwjr_27", U = {
125
127
  "media-buffering-indicator": "_media-buffering-indicator_1fwjr_1",
126
- mediaBufferingIndicator: ct,
128
+ mediaBufferingIndicator: lt,
127
129
  "media-buffering-spinner": "_media-buffering-spinner_1fwjr_17",
128
- mediaBufferingSpinner: lt,
130
+ mediaBufferingSpinner: rt,
129
131
  "media-buffering-spin": "_media-buffering-spin_1fwjr_17",
130
- mediaBufferingSpin: rt,
132
+ mediaBufferingSpin: ut,
131
133
  "media-buffering-track": "_media-buffering-track_1fwjr_22",
132
- mediaBufferingTrack: ut,
134
+ mediaBufferingTrack: dt,
133
135
  "media-buffering-track-fill": "_media-buffering-track-fill_1fwjr_27",
134
- mediaBufferingTrackFill: dt
136
+ mediaBufferingTrackFill: mt
135
137
  };
136
- function mt() {
138
+ function ht() {
137
139
  return /* @__PURE__ */ t("div", { className: U.mediaBufferingIndicator, children: /* @__PURE__ */ s(G.Root, { className: U.mediaBufferingSpinner, size: 96, children: [
138
140
  /* @__PURE__ */ t(G.Track, { className: U.mediaBufferingTrack, width: 8 }),
139
141
  /* @__PURE__ */ t(
@@ -152,8 +154,8 @@ const Pe = (e) => /* @__PURE__ */ s("svg", { width: 24, height: 24, viewBox: "0
152
154
  /* @__PURE__ */ t("defs", { children: /* @__PURE__ */ t("clipPath", { id: "clip0_149_104406", children: /* @__PURE__ */ t("rect", { width: 24, height: 24, fill: "white" }) }) }),
153
155
  /* @__PURE__ */ t("g", { clipPath: "url(#clip0_149_104406)", children: /* @__PURE__ */ t("path", { d: "M21.3333 0H2.66666C1.18666 0 0 1.35 0 3V21C0 22.65 1.18666 24 2.66666 24H21.3333C22.8 24 24 22.65 24 21V3C24 1.35 22.8 0 21.3333 0ZM10.6667 10.6667H8.66666V10H6V14H8.66666V13.3333H10.6667V14.6667C10.6667 15.4 10.0667 16 9.33334 16H5.33334C4.6 16 4 15.4 4 14.6667V9.33334C4 8.6 4.6 8 5.33334 8H9.33334C10.0667 8 10.6667 8.6 10.6667 9.33334V10.6667ZM20.0042 10.6667H18.0042V10H15.3375V14H18.0042V13.3333H20.0042V14.6667C20.0042 15.4 19.4042 16 18.6708 16H14.6708C13.9375 16 13.3375 15.4 13.3375 14.6667V9.33334C13.3375 8.6 13.9375 8 14.6708 8H18.6708C19.4042 8 20.0042 8.6 20.0042 9.33334V10.6667Z", fill: "currentColor" }) })
154
156
  ] });
155
- function ht() {
156
- const e = Z(), n = v("textTrack"), o = v("hasCaptions"), i = n && Ee(n), a = g(), c = p(
157
+ function _t() {
158
+ const e = Z(), n = f("textTrack"), o = f("hasCaptions"), i = n && Oe(n), a = C(), c = p(
157
159
  (l) => {
158
160
  e.toggleCaptions(l.nativeEvent);
159
161
  },
@@ -171,14 +173,14 @@ function ht() {
171
173
  }
172
174
  ) : null;
173
175
  }
174
- const _t = "_captions_13epz_1", pt = {
175
- captions: _t
176
+ const pt = "_captions_13epz_1", ft = {
177
+ captions: pt
176
178
  };
177
179
  function vt({ captions: e }) {
178
- const n = v("hasCaptions"), o = g();
180
+ const n = f("hasCaptions"), o = C();
179
181
  return /* @__PURE__ */ s(J, { children: [
180
182
  e.map((i) => /* @__PURE__ */ t(
181
- Oe,
183
+ Fe,
182
184
  {
183
185
  kind: "subtitles",
184
186
  type: i.type,
@@ -198,12 +200,12 @@ function vt({ captions: e }) {
198
200
  "--captions-color": o.state.captionsInvertColors ? "rgba(22, 22, 22)" : "white",
199
201
  "--captions-background-color": o.state.captionsInvertColors ? "rgba(255, 255, 255, 0.75)" : "rgba(22, 22, 22, 0.75)"
200
202
  },
201
- children: /* @__PURE__ */ t(Fe, { className: pt.captions })
203
+ children: /* @__PURE__ */ t(Ze, { className: ft.captions })
202
204
  }
203
205
  ) : null
204
206
  ] });
205
207
  }
206
- const S = [0.5, 0.75, 1, 1.25, 1.5, 2], ft = [0.5, 1, 2, 3, 4], xe = 5, Ct = (e) => {
208
+ const S = [0.5, 0.75, 1, 1.25, 1.5, 2], bt = [0.5, 1, 2, 3, 4], xe = 5, Ct = (e) => {
207
209
  const [, n] = P({});
208
210
  return F(() => {
209
211
  let o = [];
@@ -225,7 +227,7 @@ const S = [0.5, 0.75, 1, 1.25, 1.5, 2], ft = [0.5, 1, 2, 3, 4], xe = 5, Ct = (e)
225
227
  const c = a.detail.currentTime;
226
228
  c >= e.timestamp && c < e.timestamp + n && !i && (o.add(e), i = !0), (c < e.timestamp || c >= e.timestamp + n) && i && (o.remove(e), i = !1);
227
229
  };
228
- }, bt = (e, n = 5) => {
230
+ }, kt = (e, n = 5) => {
229
231
  const o = ee(), i = Ct(n);
230
232
  return V(() => {
231
233
  if (!o)
@@ -240,20 +242,20 @@ const S = [0.5, 0.75, 1, 1.25, 1.5, 2], ft = [0.5, 1, 2, 3, 4], xe = 5, Ct = (e)
240
242
  o.removeEventListener("time-update", c);
241
243
  };
242
244
  }, [o, i, e]), i;
243
- }, kt = "_comments-overlay_agbjl_1", yt = "_comments-container_agbjl_9", wt = "_comment_agbjl_1", Lt = "_comment-text_agbjl_44", Pt = "_comment-author-avatar_agbjl_67", Nt = "_comment-author-name_agbjl_86", H = {
245
+ }, yt = "_comments-overlay_agbjl_1", wt = "_comments-container_agbjl_9", Lt = "_comment_agbjl_1", Pt = "_comment-text_agbjl_44", Nt = "_comment-author-avatar_agbjl_67", xt = "_comment-author-name_agbjl_86", H = {
244
246
  "comments-overlay": "_comments-overlay_agbjl_1",
245
- commentsOverlay: kt,
247
+ commentsOverlay: yt,
246
248
  "comments-container": "_comments-container_agbjl_9",
247
- commentsContainer: yt,
248
- comment: wt,
249
+ commentsContainer: wt,
250
+ comment: Lt,
249
251
  "comment-text": "_comment-text_agbjl_44",
250
- commentText: Lt,
252
+ commentText: Pt,
251
253
  "comment-author-avatar": "_comment-author-avatar_agbjl_67",
252
- commentAuthorAvatar: Pt,
254
+ commentAuthorAvatar: Nt,
253
255
  "comment-author-name": "_comment-author-name_agbjl_86",
254
- commentAuthorName: Nt
256
+ commentAuthorName: xt
255
257
  };
256
- function xt({ comment: e }) {
258
+ function Mt({ comment: e }) {
257
259
  return /* @__PURE__ */ s("div", { className: H.comment, onClick: e.onClick, children: [
258
260
  /* @__PURE__ */ t(
259
261
  "img",
@@ -268,8 +270,8 @@ function xt({ comment: e }) {
268
270
  ] });
269
271
  }
270
272
  const ce = 5;
271
- function Mt({ comments: e }) {
272
- const n = g(), o = bt(e, ce), i = !!v("textTrack"), a = o.map((c) => /* @__PURE__ */ t(xt, { comment: c }, c.id));
273
+ function Tt({ comments: e }) {
274
+ const n = C(), o = kt(e, ce), i = !!f("textTrack"), a = o.map((c) => /* @__PURE__ */ t(Mt, { comment: c }, c.id));
273
275
  return e.length > 0 && n.state.commentsEnabled ? /* @__PURE__ */ t(
274
276
  "div",
275
277
  {
@@ -281,55 +283,55 @@ function Mt({ comments: e }) {
281
283
  }
282
284
  ) : null;
283
285
  }
284
- const Tt = "_root_1mh1r_1", It = "_left-controls_1mh1r_27", St = "_right-controls_1mh1r_33", Ht = "_indicators_1mh1r_39", Vt = "_normal-timeline_1mh1r_48", Bt = "_compact-timeline_1mh1r_54", I = {
285
- root: Tt,
286
- "left-controls": "_left-controls_1mh1r_27",
287
- leftControls: It,
288
- "right-controls": "_right-controls_1mh1r_33",
289
- rightControls: St,
290
- indicators: Ht,
291
- "normal-timeline": "_normal-timeline_1mh1r_48",
292
- normalTimeline: Vt,
293
- "compact-timeline": "_compact-timeline_1mh1r_54",
294
- compactTimeline: Bt
286
+ const It = "_root_fph0z_1", St = "_left-controls_fph0z_28", Ht = "_right-controls_fph0z_34", Vt = "_indicators_fph0z_40", Bt = "_normal-timeline_fph0z_49", Rt = "_compact-timeline_fph0z_55", I = {
287
+ root: It,
288
+ "left-controls": "_left-controls_fph0z_28",
289
+ leftControls: St,
290
+ "right-controls": "_right-controls_fph0z_34",
291
+ rightControls: Ht,
292
+ indicators: Vt,
293
+ "normal-timeline": "_normal-timeline_fph0z_49",
294
+ normalTimeline: Bt,
295
+ "compact-timeline": "_compact-timeline_fph0z_55",
296
+ compactTimeline: Rt
295
297
  };
296
- function Rt() {
297
- return /* @__PURE__ */ s("div", { className: I.root, children: [
298
+ function At({ darkMode: e }) {
299
+ return /* @__PURE__ */ s("div", { "data-darkmode": e, className: I.root, children: [
298
300
  /* @__PURE__ */ t(ue, { className: I.normalTimeline }),
299
301
  /* @__PURE__ */ s("div", { className: I.leftControls, children: [
300
- /* @__PURE__ */ t(to, {}),
301
- /* @__PURE__ */ t(ai, {})
302
+ /* @__PURE__ */ t(no, {}),
303
+ /* @__PURE__ */ t(si, {})
302
304
  ] }),
303
- /* @__PURE__ */ t("div", { className: I.indicators, children: /* @__PURE__ */ t(po, {}) }),
305
+ /* @__PURE__ */ t("div", { className: I.indicators, children: /* @__PURE__ */ t(fo, {}) }),
304
306
  /* @__PURE__ */ t(ue, { className: I.compactTimeline }),
305
307
  /* @__PURE__ */ s("div", { className: I.rightControls, children: [
306
- /* @__PURE__ */ t(ht, {}),
307
- /* @__PURE__ */ t(xn, {}),
308
+ /* @__PURE__ */ t(_t, {}),
309
+ /* @__PURE__ */ t(Mn, {}),
308
310
  /* @__PURE__ */ t(Dn, {})
309
311
  ] })
310
312
  ] });
311
313
  }
312
- const w = X(null), At = (e) => /* @__PURE__ */ t("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ t("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M6 3.03704L7.03704 2L14.037 9L7.03704 16L6 14.963L11.963 9L6 3.03704Z", fill: "currentColor" }) }), Et = "_menu-hint_k49ve_1", Ot = "_menu-button_k49ve_5", Ft = "_menu-label_k49ve_37", Zt = "_menu-icon_k49ve_42", q = {
314
+ const w = X(null), Et = (e) => /* @__PURE__ */ t("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ t("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M6 3.03704L7.03704 2L14.037 9L7.03704 16L6 14.963L11.963 9L6 3.03704Z", fill: "currentColor" }) }), Ot = "_menu-hint_k49ve_1", Ft = "_menu-button_k49ve_5", Zt = "_menu-label_k49ve_37", $t = "_menu-icon_k49ve_42", q = {
313
315
  "menu-hint": "_menu-hint_k49ve_1",
314
- menuHint: Et,
316
+ menuHint: Ot,
315
317
  "menu-button": "_menu-button_k49ve_5",
316
- menuButton: Ot,
318
+ menuButton: Ft,
317
319
  "menu-label": "_menu-label_k49ve_37",
318
- menuLabel: Ft,
320
+ menuLabel: Zt,
319
321
  "menu-icon": "_menu-icon_k49ve_42",
320
- menuIcon: Zt
322
+ menuIcon: $t
321
323
  };
322
324
  function $({ label: e, hint: n, onClick: o, Icon: i }) {
323
325
  return /* @__PURE__ */ s("button", { type: "button", className: q.menuButton, onClick: o, children: [
324
326
  i && /* @__PURE__ */ t(i, { className: q.menuIcon }),
325
327
  /* @__PURE__ */ t("span", { className: q.menuLabel, children: e }),
326
328
  /* @__PURE__ */ t("span", { className: q.menuHint, children: n }),
327
- /* @__PURE__ */ t(At, {})
329
+ /* @__PURE__ */ t(Et, {})
328
330
  ] });
329
331
  }
330
- const $t = (e) => /* @__PURE__ */ t("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ t("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M3.42229 2.82911C4.71149 1.83006 6.23876 1.19768 7.8383 1L7.96797 2.05432C6.55867 2.22862 5.21101 2.7866 4.07273 3.66874L3.42229 2.82911ZM5.44493 6.71393L9.49745 10.7665L17.0924 3.1705L17.8438 3.92297L9.49745 12.2693L4.69352 7.46534L5.44493 6.71393ZM17.932 8.83829C17.8618 8.27074 17.7364 7.70745 17.5589 7.16222L16.5482 7.49276C16.7055 7.97209 16.816 8.46843 16.8766 8.96689C16.917 9.29742 16.9372 9.6269 16.9372 9.96594C16.9372 10.305 16.917 10.6344 16.8777 10.9639C16.7033 12.3732 16.1454 13.7209 15.2632 14.8592L16.1029 15.5096C17.1019 14.2204 17.7343 12.6931 17.932 11.0925C17.9766 10.7205 18 10.3486 18 9.96594C18 9.58332 17.9766 9.21134 17.932 8.83829ZM1.05432 8.96795L0 8.83829C0.197684 7.23874 0.830061 5.71147 1.82911 4.42228L2.66874 5.07272C1.7866 6.211 1.22862 7.55865 1.05432 8.96795ZM0 11.0936C0.197684 12.6931 0.830061 14.2204 1.82911 15.5096L2.66874 14.8591C1.7866 13.7209 1.22862 12.3732 1.05432 10.9639L0 11.0936ZM10.0939 1.00011C11.6935 1.19673 13.2207 1.83017 14.5099 2.82922L13.8595 3.66884C12.7202 2.7867 11.3736 2.22872 9.96426 2.05442L10.0939 1.00011Z", fill: "currentColor" }) });
332
+ const zt = (e) => /* @__PURE__ */ t("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ t("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M3.42229 2.82911C4.71149 1.83006 6.23876 1.19768 7.8383 1L7.96797 2.05432C6.55867 2.22862 5.21101 2.7866 4.07273 3.66874L3.42229 2.82911ZM5.44493 6.71393L9.49745 10.7665L17.0924 3.1705L17.8438 3.92297L9.49745 12.2693L4.69352 7.46534L5.44493 6.71393ZM17.932 8.83829C17.8618 8.27074 17.7364 7.70745 17.5589 7.16222L16.5482 7.49276C16.7055 7.97209 16.816 8.46843 16.8766 8.96689C16.917 9.29742 16.9372 9.6269 16.9372 9.96594C16.9372 10.305 16.917 10.6344 16.8777 10.9639C16.7033 12.3732 16.1454 13.7209 15.2632 14.8592L16.1029 15.5096C17.1019 14.2204 17.7343 12.6931 17.932 11.0925C17.9766 10.7205 18 10.3486 18 9.96594C18 9.58332 17.9766 9.21134 17.932 8.83829ZM1.05432 8.96795L0 8.83829C0.197684 7.23874 0.830061 5.71147 1.82911 4.42228L2.66874 5.07272C1.7866 6.211 1.22862 7.55865 1.05432 8.96795ZM0 11.0936C0.197684 12.6931 0.830061 14.2204 1.82911 15.5096L2.66874 14.8591C1.7866 13.7209 1.22862 12.3732 1.05432 10.9639L0 11.0936ZM10.0939 1.00011C11.6935 1.19673 13.2207 1.83017 14.5099 2.82922L13.8595 3.66884C12.7202 2.7867 11.3736 2.22872 9.96426 2.05442L10.0939 1.00011Z", fill: "currentColor" }) });
331
333
  function Kt() {
332
- const e = y(w), n = v("playbackRate"), { t: o } = C(), i = p(() => {
334
+ const e = y(w), n = f("playbackRate"), { t: o } = b(), i = p(() => {
333
335
  e && e.setPage("speed");
334
336
  }, [e]);
335
337
  return e ? /* @__PURE__ */ t(
@@ -338,12 +340,12 @@ function Kt() {
338
340
  label: o("PLAYBACK_SPEED"),
339
341
  hint: `${n}x`,
340
342
  onClick: i,
341
- Icon: $t
343
+ Icon: zt
342
344
  }
343
345
  ) : null;
344
346
  }
345
347
  function Dt() {
346
- const e = y(w), n = v("hasCaptions"), o = v("textTrack"), { t: i } = C(), a = p(() => {
348
+ const e = y(w), n = f("hasCaptions"), o = f("textTrack"), { t: i } = b(), a = p(() => {
347
349
  e && e.setPage("captions");
348
350
  }, [e]);
349
351
  return e && n ? /* @__PURE__ */ t(
@@ -356,7 +358,7 @@ function Dt() {
356
358
  }
357
359
  ) : null;
358
360
  }
359
- const zt = (e) => /* @__PURE__ */ s("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: [
361
+ const jt = (e) => /* @__PURE__ */ s("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: [
360
362
  /* @__PURE__ */ t("defs", { children: /* @__PURE__ */ t("clipPath", { id: "clip0_412_23039", children: /* @__PURE__ */ t("rect", { width: 18, height: 18, fill: "white" }) }) }),
361
363
  /* @__PURE__ */ s("g", { clipPath: "url(#clip0_412_23039)", children: [
362
364
  /* @__PURE__ */ t("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M2.46326 3.85039H0V2.65039H2.46326C2.7388 1.36449 3.88181 0.400391 5.24999 0.400391C6.61818 0.400391 7.76119 1.36449 8.03673 2.65039H18V3.85039H8.03673C7.76119 5.13629 6.61818 6.10039 5.24999 6.10039C3.88181 6.10039 2.7388 5.13629 2.46326 3.85039ZM3.59999 3.25039C3.59999 2.33912 4.33872 1.60039 5.24999 1.60039C6.16126 1.60039 6.89999 2.33912 6.89999 3.25039C6.89999 4.16166 6.16126 4.90039 5.24999 4.90039C4.33872 4.90039 3.59999 4.16166 3.59999 3.25039Z", fill: "currentColor" }),
@@ -364,8 +366,8 @@ const zt = (e) => /* @__PURE__ */ s("svg", { width: 18, height: 18, viewBox: "0
364
366
  /* @__PURE__ */ t("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M5.24999 17.6004C6.61818 17.6004 7.76119 16.6363 8.03673 15.3504H18V14.1504H8.03673C7.76119 12.8645 6.61818 11.9004 5.24999 11.9004C3.88181 11.9004 2.7388 12.8645 2.46326 14.1504H0V15.3504H2.46326C2.7388 16.6363 3.88181 17.6004 5.24999 17.6004ZM5.24999 13.1004C4.33872 13.1004 3.59999 13.8391 3.59999 14.7504C3.59999 15.6617 4.33872 16.4004 5.24999 16.4004C6.16126 16.4004 6.89999 15.6617 6.89999 14.7504C6.89999 13.8391 6.16126 13.1004 5.24999 13.1004Z", fill: "currentColor" })
365
367
  ] })
366
368
  ] });
367
- function jt() {
368
- const e = y(w), n = v("autoQuality"), o = v("quality"), { t: i } = C(), a = p(() => {
369
+ function Ut() {
370
+ const e = y(w), n = f("autoQuality"), o = f("quality"), { t: i } = b(), a = p(() => {
369
371
  e && e.setPage("quality");
370
372
  }, [e]);
371
373
  return e && o ? /* @__PURE__ */ t(
@@ -374,23 +376,23 @@ function jt() {
374
376
  label: i("QUALITY"),
375
377
  hint: n ? i("AUTO", { quality: o.height }) : `${o.height}p`,
376
378
  onClick: a,
377
- Icon: zt
379
+ Icon: jt
378
380
  }
379
381
  ) : null;
380
382
  }
381
- const Ut = (e) => /* @__PURE__ */ t("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ t("path", { d: "M 21.798373,3.342155 8.8843977,16.256145 2.2000774,9.571825 0,11.771895 8.8843977,20.657845 24,5.543795 Z", fill: "currentColor" }) }), qt = (e) => /* @__PURE__ */ t("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ t("path", { d: "M 9.64706,12 4,17.64706 6.35293,20 12,14.35293 17.64706,20 20,17.64706 14.35293,12 20,6.35293 17.64706,4 12,9.64706 6.35293,4 4,6.35293 Z", fill: "currentColor" }) }), Wt = "_switch-track_vptv3_1", Gt = "_switch-thumb_vptv3_11", Qt = "_switch-icon_vptv3_25", Yt = "_switch-body_vptv3_31", Jt = "_switch-label_vptv3_68", Xt = "_menu-icon_vptv3_72", M = {
383
+ const qt = (e) => /* @__PURE__ */ t("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ t("path", { d: "M 21.798373,3.342155 8.8843977,16.256145 2.2000774,9.571825 0,11.771895 8.8843977,20.657845 24,5.543795 Z", fill: "currentColor" }) }), Wt = (e) => /* @__PURE__ */ t("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ t("path", { d: "M 9.64706,12 4,17.64706 6.35293,20 12,14.35293 17.64706,20 20,17.64706 14.35293,12 20,6.35293 17.64706,4 12,9.64706 6.35293,4 4,6.35293 Z", fill: "currentColor" }) }), Gt = "_switch-track_vptv3_1", Qt = "_switch-thumb_vptv3_11", Yt = "_switch-icon_vptv3_25", Jt = "_switch-body_vptv3_31", Xt = "_switch-label_vptv3_68", en = "_menu-icon_vptv3_72", M = {
382
384
  "switch-track": "_switch-track_vptv3_1",
383
- switchTrack: Wt,
385
+ switchTrack: Gt,
384
386
  "switch-thumb": "_switch-thumb_vptv3_11",
385
- switchThumb: Gt,
387
+ switchThumb: Qt,
386
388
  "switch-icon": "_switch-icon_vptv3_25",
387
- switchIcon: Qt,
389
+ switchIcon: Yt,
388
390
  "switch-body": "_switch-body_vptv3_31",
389
- switchBody: Yt,
391
+ switchBody: Jt,
390
392
  "switch-label": "_switch-label_vptv3_68",
391
- switchLabel: Jt,
393
+ switchLabel: Xt,
392
394
  "menu-icon": "_menu-icon_vptv3_72",
393
- menuIcon: Xt
395
+ menuIcon: en
394
396
  };
395
397
  function te({
396
398
  label: e,
@@ -416,18 +418,18 @@ function te({
416
418
  children: [
417
419
  i && /* @__PURE__ */ t(i, { className: M.menuIcon }),
418
420
  /* @__PURE__ */ t("span", { className: M.switchLabel, children: e }),
419
- /* @__PURE__ */ t("div", { className: M.switchTrack, children: /* @__PURE__ */ t("div", { className: M.switchThumb, children: n ? /* @__PURE__ */ t(Ut, { className: M.switchIcon }) : /* @__PURE__ */ t(qt, { className: M.switchIcon }) }) })
421
+ /* @__PURE__ */ t("div", { className: M.switchTrack, children: /* @__PURE__ */ t("div", { className: M.switchThumb, children: n ? /* @__PURE__ */ t(qt, { className: M.switchIcon }) : /* @__PURE__ */ t(Wt, { className: M.switchIcon }) }) })
420
422
  ]
421
423
  }
422
424
  );
423
425
  }
424
- const en = (e) => /* @__PURE__ */ t("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ t("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M1 0V12.7489H5.44V18L10.5007 12.7489H16.582V0H1ZM2 1H15.58V11.7339H9.98655L6.52667 15.25V11.7339H2V1ZM5.24963 5.35011H12.3323V4.24835H5.24963V5.35011ZM5.24963 8.18462H9.50067V7.08285H5.24963V8.18462Z", fill: "currentColor" }) });
425
- function tn() {
426
- const { t: e } = C(), n = B(), o = g();
426
+ const tn = (e) => /* @__PURE__ */ t("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ t("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M1 0V12.7489H5.44V18L10.5007 12.7489H16.582V0H1ZM2 1H15.58V11.7339H9.98655L6.52667 15.25V11.7339H2V1ZM5.24963 5.35011H12.3323V4.24835H5.24963V5.35011ZM5.24963 8.18462H9.50067V7.08285H5.24963V8.18462Z", fill: "currentColor" }) });
427
+ function nn() {
428
+ const { t: e } = b(), n = B(), o = C();
427
429
  return n.hasComments ? /* @__PURE__ */ t(
428
430
  te,
429
431
  {
430
- Icon: en,
432
+ Icon: tn,
431
433
  label: e("COMMENTS"),
432
434
  onClick: o.toggleComments,
433
435
  checked: o.state.commentsEnabled
@@ -444,40 +446,40 @@ function T(e) {
444
446
  };
445
447
  }, []);
446
448
  }
447
- const nn = "_main-menu_7h96l_1", on = {
449
+ const on = "_main-menu_7h96l_1", an = {
448
450
  "main-menu": "_main-menu_7h96l_1",
449
- mainMenu: nn
451
+ mainMenu: on
450
452
  };
451
- function an() {
453
+ function sn() {
452
454
  const e = y(w);
453
- return T(e == null ? void 0 : e.toggle), /* @__PURE__ */ s("div", { className: on.mainMenu, children: [
455
+ return T(e == null ? void 0 : e.toggle), /* @__PURE__ */ s("div", { className: an.mainMenu, children: [
454
456
  /* @__PURE__ */ t(Kt, {}),
455
457
  /* @__PURE__ */ t(Dt, {}),
456
- /* @__PURE__ */ t(tn, {}),
457
- /* @__PURE__ */ t(jt, {})
458
+ /* @__PURE__ */ t(nn, {}),
459
+ /* @__PURE__ */ t(Ut, {})
458
460
  ] });
459
461
  }
460
- const W = (e) => /* @__PURE__ */ t("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ t("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M17.1347 3.00061L6.55157 13.5825L0.865302 7.89624L0 8.76154L6.55157 15.3131L17.9988 3.86469L17.1347 3.00061Z", fill: "currentColor" }) }), K = (e) => /* @__PURE__ */ t("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ t("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M12.037 3.03704L6.07407 9L12.037 14.963L11 16L4 9L11 2L12.037 3.03704Z", fill: "currentColor" }) }), sn = "_menu-container_1bjr3_1", cn = "_menu-options_1bjr3_6", ln = "_menu-heading_1bjr3_11", rn = "_check-icon_1bjr3_27", un = "_menu-item-label_1bjr3_33", dn = "_menu-item_1bjr3_33", mn = "_menu-back-button_1bjr3_66", r = {
462
+ const W = (e) => /* @__PURE__ */ t("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ t("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M17.1347 3.00061L6.55157 13.5825L0.865302 7.89624L0 8.76154L6.55157 15.3131L17.9988 3.86469L17.1347 3.00061Z", fill: "currentColor" }) }), z = (e) => /* @__PURE__ */ t("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ t("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M12.037 3.03704L6.07407 9L12.037 14.963L11 16L4 9L11 2L12.037 3.03704Z", fill: "currentColor" }) }), cn = "_menu-container_1bjr3_1", ln = "_menu-options_1bjr3_6", rn = "_menu-heading_1bjr3_11", un = "_check-icon_1bjr3_27", dn = "_menu-item-label_1bjr3_33", mn = "_menu-item_1bjr3_33", hn = "_menu-back-button_1bjr3_66", r = {
461
463
  "menu-container": "_menu-container_1bjr3_1",
462
- menuContainer: sn,
464
+ menuContainer: cn,
463
465
  "menu-options": "_menu-options_1bjr3_6",
464
- menuOptions: cn,
466
+ menuOptions: ln,
465
467
  "menu-heading": "_menu-heading_1bjr3_11",
466
- menuHeading: ln,
468
+ menuHeading: rn,
467
469
  "check-icon": "_check-icon_1bjr3_27",
468
- checkIcon: rn,
470
+ checkIcon: un,
469
471
  "menu-item-label": "_menu-item-label_1bjr3_33",
470
- menuItemLabel: un,
472
+ menuItemLabel: dn,
471
473
  "menu-item": "_menu-item_1bjr3_33",
472
- menuItem: dn,
474
+ menuItem: mn,
473
475
  "menu-back-button": "_menu-back-button_1bjr3_66",
474
- menuBackButton: mn
476
+ menuBackButton: hn
475
477
  };
476
- function hn() {
477
- const e = y(w), n = Ze({
478
+ function _n() {
479
+ const e = y(w), n = $e({
478
480
  rates: S,
479
481
  normalLabel: "1x"
480
- }), { t: o } = C();
482
+ }), { t: o } = b();
481
483
  return T(e == null ? void 0 : e.backToMain), e ? /* @__PURE__ */ s("div", { className: r.menuContainer, children: [
482
484
  /* @__PURE__ */ s(
483
485
  "button",
@@ -486,7 +488,7 @@ function hn() {
486
488
  className: r.menuBackButton,
487
489
  onClick: e.backToMain,
488
490
  children: [
489
- /* @__PURE__ */ t(K, {}),
491
+ /* @__PURE__ */ t(z, {}),
490
492
  /* @__PURE__ */ t("span", { children: o("BACK") })
491
493
  ]
492
494
  }
@@ -511,8 +513,8 @@ function hn() {
511
513
  )) })
512
514
  ] }) : null;
513
515
  }
514
- function _n() {
515
- const e = y(w), n = v("textTrack"), { t: o } = C(), i = p(() => {
516
+ function pn() {
517
+ const e = y(w), n = f("textTrack"), { t: o } = b(), i = p(() => {
516
518
  e && e.setPage("captionLanguage");
517
519
  }, [e]);
518
520
  return e ? /* @__PURE__ */ t(
@@ -524,8 +526,8 @@ function _n() {
524
526
  }
525
527
  ) : null;
526
528
  }
527
- function pn() {
528
- const { t: e } = C(), n = g(), o = y(w), i = p(() => {
529
+ function fn() {
530
+ const { t: e } = b(), n = C(), o = y(w), i = p(() => {
529
531
  o && o.setPage("captionFontSize");
530
532
  }, [o]);
531
533
  return o ? /* @__PURE__ */ t(
@@ -538,7 +540,7 @@ function pn() {
538
540
  ) : null;
539
541
  }
540
542
  function vn() {
541
- const { t: e } = C(), n = g();
543
+ const { t: e } = b(), n = C();
542
544
  return /* @__PURE__ */ t(
543
545
  te,
544
546
  {
@@ -548,8 +550,8 @@ function vn() {
548
550
  }
549
551
  );
550
552
  }
551
- function fn() {
552
- const { t: e } = C(), n = g();
553
+ function bn() {
554
+ const { t: e } = b(), n = C();
553
555
  return /* @__PURE__ */ t(
554
556
  te,
555
557
  {
@@ -560,7 +562,7 @@ function fn() {
560
562
  );
561
563
  }
562
564
  function Cn() {
563
- const e = y(w), { t: n } = C();
565
+ const e = y(w), { t: n } = b();
564
566
  return T(e == null ? void 0 : e.backToMain), e ? /* @__PURE__ */ s("div", { className: r.menuContainer, children: [
565
567
  /* @__PURE__ */ s(
566
568
  "button",
@@ -569,20 +571,20 @@ function Cn() {
569
571
  className: r.menuBackButton,
570
572
  onClick: e.backToMain,
571
573
  children: [
572
- /* @__PURE__ */ t(K, {}),
574
+ /* @__PURE__ */ t(z, {}),
573
575
  /* @__PURE__ */ t("span", { children: n("BACK") })
574
576
  ]
575
577
  }
576
578
  ),
577
579
  /* @__PURE__ */ t("strong", { className: r.menuHeading, children: n("CAPTIONS") }),
578
- /* @__PURE__ */ t(_n, {}),
579
580
  /* @__PURE__ */ t(pn, {}),
581
+ /* @__PURE__ */ t(fn, {}),
580
582
  /* @__PURE__ */ t(vn, {}),
581
- /* @__PURE__ */ t(fn, {})
583
+ /* @__PURE__ */ t(bn, {})
582
584
  ] }) : null;
583
585
  }
584
586
  function gn() {
585
- const e = y(w), n = $e(), { t: o } = C();
587
+ const e = y(w), n = ze(), { t: o } = b();
586
588
  return T(e == null ? void 0 : e.backToCaptions), e ? /* @__PURE__ */ s("div", { className: r.menuContainer, children: [
587
589
  /* @__PURE__ */ s(
588
590
  "button",
@@ -591,7 +593,7 @@ function gn() {
591
593
  className: r.menuBackButton,
592
594
  onClick: e.backToCaptions,
593
595
  children: [
594
- /* @__PURE__ */ t(K, {}),
596
+ /* @__PURE__ */ t(z, {}),
595
597
  /* @__PURE__ */ t("span", { children: o("BACK") })
596
598
  ]
597
599
  }
@@ -616,8 +618,8 @@ function gn() {
616
618
  )) })
617
619
  ] }) : null;
618
620
  }
619
- function bn() {
620
- const e = g(), n = y(w), { t: o } = C();
621
+ function kn() {
622
+ const e = C(), n = y(w), { t: o } = b();
621
623
  return T(n == null ? void 0 : n.backToCaptions), n ? /* @__PURE__ */ s("div", { className: r.menuContainer, children: [
622
624
  /* @__PURE__ */ s(
623
625
  "button",
@@ -626,13 +628,13 @@ function bn() {
626
628
  className: r.menuBackButton,
627
629
  onClick: n.backToCaptions,
628
630
  children: [
629
- /* @__PURE__ */ t(K, {}),
631
+ /* @__PURE__ */ t(z, {}),
630
632
  /* @__PURE__ */ t("span", { children: o("BACK") })
631
633
  ]
632
634
  }
633
635
  ),
634
636
  /* @__PURE__ */ t("strong", { className: r.menuHeading, children: o("CAPTIONS") }),
635
- /* @__PURE__ */ t("div", { role: "menu", className: r.menuOptions, children: ft.map((i) => /* @__PURE__ */ s(
637
+ /* @__PURE__ */ t("div", { role: "menu", className: r.menuOptions, children: bt.map((i) => /* @__PURE__ */ s(
636
638
  "button",
637
639
  {
638
640
  type: "button",
@@ -654,8 +656,8 @@ function bn() {
654
656
  )) })
655
657
  ] }) : null;
656
658
  }
657
- function kn() {
658
- const e = y(w), n = Ke({ sort: "descending" }), o = v("autoQuality"), { t: i } = C();
659
+ function yn() {
660
+ const e = y(w), n = Ke({ sort: "descending" }), o = f("autoQuality"), { t: i } = b();
659
661
  return T(e == null ? void 0 : e.backToMain), e ? /* @__PURE__ */ s("div", { className: r.menuContainer, children: [
660
662
  /* @__PURE__ */ s(
661
663
  "button",
@@ -664,7 +666,7 @@ function kn() {
664
666
  className: r.menuBackButton,
665
667
  onClick: e.backToMain,
666
668
  children: [
667
- /* @__PURE__ */ t(K, {}),
669
+ /* @__PURE__ */ t(z, {}),
668
670
  /* @__PURE__ */ t("span", { children: i("BACK") })
669
671
  ]
670
672
  }
@@ -689,15 +691,15 @@ function kn() {
689
691
  )) })
690
692
  ] }) : null;
691
693
  }
692
- const yn = {
693
- main: an,
694
- speed: hn,
694
+ const wn = {
695
+ main: sn,
696
+ speed: _n,
695
697
  captions: Cn,
696
698
  captionLanguage: gn,
697
- captionFontSize: bn,
698
- quality: kn
699
+ captionFontSize: kn,
700
+ quality: yn
699
701
  };
700
- function wn() {
702
+ function Ln() {
701
703
  const [e, n] = P("main"), [o, i] = P(!1), a = p(() => {
702
704
  i((x) => !x);
703
705
  }, []), c = p((x) => {
@@ -706,20 +708,20 @@ function wn() {
706
708
  n("captions");
707
709
  }, []), u = p(() => {
708
710
  n("main");
709
- }, []), _ = F(() => yn[e], [e]), f = he(null), { refs: b, floatingStyles: m, context: h } = ve({
711
+ }, []), _ = F(() => wn[e], [e]), v = he(null), { refs: g, floatingStyles: d, context: h } = fe({
710
712
  open: o,
711
713
  onOpenChange: (x) => {
712
714
  i(x), u();
713
715
  },
714
716
  placement: "top-end",
715
- whileElementsMounted: fe,
717
+ whileElementsMounted: ve,
716
718
  middleware: [
717
- Ce(),
718
- ge({
719
- element: f
719
+ be(),
720
+ Ce({
721
+ element: v
720
722
  })
721
723
  ]
722
- }), L = be(h, { escapeKey: !1 }), { getReferenceProps: R, getFloatingProps: D } = ke([L]);
724
+ }), L = ge(h, { escapeKey: !1 }), { getReferenceProps: R, getFloatingProps: K } = ke([L]);
723
725
  return {
724
726
  Page: _,
725
727
  open: o,
@@ -727,20 +729,20 @@ function wn() {
727
729
  setPage: c,
728
730
  backToCaptions: l,
729
731
  backToMain: u,
730
- arrowRef: f,
731
- refs: b,
732
- floatingStyles: m,
732
+ arrowRef: v,
733
+ refs: g,
734
+ floatingStyles: d,
733
735
  context: h,
734
736
  getReferenceProps: R,
735
- getFloatingProps: D
737
+ getFloatingProps: K
736
738
  };
737
739
  }
738
- const Ln = (e) => /* @__PURE__ */ t("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ t("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M21.0692 12C21.0692 11.4776 21.0212 10.944 20.9238 10.4104L23.5511 8.13318L21.0579 3.87247L17.7431 4.97788C16.9059 4.28329 15.9515 3.73553 14.9449 3.37271L14.2616 0H9.28941L8.60612 3.37129C7.58823 3.73553 6.65082 4.27482 5.80659 4.97647L2.49318 3.87247L0 8.13318L2.62729 10.4104C2.52988 10.944 2.48188 11.4776 2.48188 12C2.48188 12.5224 2.52988 13.056 2.62729 13.5896L0 15.8668L2.49318 20.1275L5.808 19.0221C6.64518 19.7167 7.59953 20.2645 8.60612 20.6273L9.28941 24H14.2616L14.9449 20.6287C15.9614 20.2645 16.9002 19.7252 17.7445 19.0235L21.0579 20.1289L23.5511 15.8682L20.9238 13.5911C21.0212 13.056 21.0692 12.5224 21.0692 12ZM11.7755 16.9412C9.05082 16.9412 6.83435 14.7247 6.83435 12C6.83435 9.2753 9.05082 7.05883 11.7755 7.05883C14.5002 7.05883 16.7167 9.2753 16.7167 12C16.7167 14.7247 14.5002 16.9412 11.7755 16.9412Z", fill: "currentColor" }) }), Pn = "_settings-menu_hxlsv_1", Nn = "_arrow_hxlsv_15", le = {
740
+ const Pn = (e) => /* @__PURE__ */ t("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ t("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M21.0692 12C21.0692 11.4776 21.0212 10.944 20.9238 10.4104L23.5511 8.13318L21.0579 3.87247L17.7431 4.97788C16.9059 4.28329 15.9515 3.73553 14.9449 3.37271L14.2616 0H9.28941L8.60612 3.37129C7.58823 3.73553 6.65082 4.27482 5.80659 4.97647L2.49318 3.87247L0 8.13318L2.62729 10.4104C2.52988 10.944 2.48188 11.4776 2.48188 12C2.48188 12.5224 2.52988 13.056 2.62729 13.5896L0 15.8668L2.49318 20.1275L5.808 19.0221C6.64518 19.7167 7.59953 20.2645 8.60612 20.6273L9.28941 24H14.2616L14.9449 20.6287C15.9614 20.2645 16.9002 19.7252 17.7445 19.0235L21.0579 20.1289L23.5511 15.8682L20.9238 13.5911C21.0212 13.056 21.0692 12.5224 21.0692 12ZM11.7755 16.9412C9.05082 16.9412 6.83435 14.7247 6.83435 12C6.83435 9.2753 9.05082 7.05883 11.7755 7.05883C14.5002 7.05883 16.7167 9.2753 16.7167 12C16.7167 14.7247 14.5002 16.9412 11.7755 16.9412Z", fill: "currentColor" }) }), Nn = "_settings-menu_hxlsv_1", xn = "_arrow_hxlsv_15", le = {
739
741
  "settings-menu": "_settings-menu_hxlsv_1",
740
- settingsMenu: Pn,
741
- arrow: Nn
742
+ settingsMenu: Nn,
743
+ arrow: xn
742
744
  };
743
- function xn() {
745
+ function Mn() {
744
746
  const {
745
747
  Page: e,
746
748
  arrowRef: n,
@@ -751,37 +753,37 @@ function xn() {
751
753
  getFloatingProps: l,
752
754
  getReferenceProps: u,
753
755
  open: _,
754
- refs: f,
755
- setPage: b,
756
- toggle: m
757
- } = wn(), h = g(), { t: L } = C();
756
+ refs: v,
757
+ setPage: g,
758
+ toggle: d
759
+ } = Ln(), h = C(), { t: L } = b();
758
760
  return /* @__PURE__ */ s(J, { children: [
759
761
  /* @__PURE__ */ t(
760
762
  "button",
761
763
  {
762
- ref: f.setReference,
764
+ ref: v.setReference,
763
765
  type: "button",
764
766
  className: "controls-button",
765
767
  "aria-label": L("SETTINGS"),
766
- onClick: m,
768
+ onClick: d,
767
769
  "aria-expanded": _,
768
770
  tabIndex: h != null && h.state.interactionsDisabled ? -1 : 0,
769
771
  ...u(),
770
- children: /* @__PURE__ */ t(Ln, { className: "controls-button-icon icon-rotate" })
772
+ children: /* @__PURE__ */ t(Pn, { className: "controls-button-icon icon-rotate" })
771
773
  }
772
774
  ),
773
- _ && /* @__PURE__ */ t(Ye, { context: a, initialFocus: -1, modal: !1, children: /* @__PURE__ */ s(
775
+ _ && /* @__PURE__ */ t(Je, { context: a, initialFocus: -1, modal: !1, children: /* @__PURE__ */ s(
774
776
  "div",
775
777
  {
776
778
  className: le.settingsMenu,
777
- ref: f.setFloating,
779
+ ref: v.setFloating,
778
780
  style: c,
779
781
  ...l(),
780
782
  children: [
781
783
  /* @__PURE__ */ t(
782
784
  w.Provider,
783
785
  {
784
- value: { setPage: b, backToMain: i, backToCaptions: o, toggle: m },
786
+ value: { setPage: g, backToMain: i, backToCaptions: o, toggle: d },
785
787
  children: /* @__PURE__ */ t(e, {})
786
788
  }
787
789
  ),
@@ -800,7 +802,7 @@ function xn() {
800
802
  }
801
803
  function Me(e, n = 1e3) {
802
804
  return function() {
803
- const i = v("lastKeyboardAction"), [a, c] = P(!1), l = p(() => c(!1), []);
805
+ const i = f("lastKeyboardAction"), [a, c] = P(!1), l = p(() => c(!1), []);
804
806
  return V(() => {
805
807
  c(!!i);
806
808
  const u = setTimeout(l, n);
@@ -808,17 +810,17 @@ function Me(e, n = 1e3) {
808
810
  }, [i, n]), a ? /* @__PURE__ */ t(e, {}) : null;
809
811
  };
810
812
  }
811
- const ne = (e) => /* @__PURE__ */ t("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ t("path", { d: "M 11,21 H 5 V 3 h 6 z m 8,0 H 13 V 3 h 6 z", fill: "currentColor" }) }), oe = (e) => /* @__PURE__ */ t("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ t("path", { d: "M 5,2 V 22 L 21,12.000665 Z", fill: "currentColor" }) }), Te = (e) => /* @__PURE__ */ t("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ t("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M14.1179 1.41211V22.589H11.2943L5.64717 16.9418V7.05928L11.2943 1.41211H14.1179ZM4.23537 7.05928V16.9418H2.11769C0.957618 16.9418 0.0189406 16.0147 0.00028305 14.8592L0 14.8241V9.17696C0 8.01689 0.927077 7.07822 2.0826 7.05956L2.11769 7.05928H4.23537ZM22.3744 7.93711L24 9.56119L21.5623 11.9988L24 14.4365L22.3744 16.0621L19.9383 13.6245L17.5006 16.0621L15.875 14.4365L18.3127 11.9988L15.875 9.56119L17.5006 7.93711L19.9383 10.3748L22.3744 7.93711Z", fill: "currentColor" }) }), Ie = (e) => /* @__PURE__ */ t("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ t("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M5.64714 6.98017V16.8627L11.2943 22.5099H14.1179V1.33301H11.2943L5.64714 6.98017ZM0 9.09785V14.745C0 15.9168 0.945899 16.8627 2.11768 16.8627H4.23537V6.98017H2.11768C0.945899 6.98017 0 7.92607 0 9.09785ZM18.3527 11.9207C18.3527 10.6134 17.8388 9.36962 16.9056 8.4209L17.9094 7.43123C19.1066 8.64396 19.7645 10.2393 19.7645 11.9207C19.7645 13.6036 19.1066 15.1989 17.9094 16.4116L16.9056 15.422C17.8388 14.4732 18.3527 13.2295 18.3527 11.9207Z", fill: "currentColor" }) }), Se = (e) => /* @__PURE__ */ t("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ t("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M5.64714 16.8627V6.98017L11.2943 1.33301H14.1179V22.5099H11.2943L5.64714 16.8627ZM0 14.745V9.09785C0 7.92607 0.945899 6.98017 2.11768 6.98017H4.23537V16.8627H2.11768C0.945899 16.8627 0 15.9168 0 14.745ZM16.9056 8.4209C17.8388 9.36962 18.3527 10.6134 18.3527 11.9207C18.3527 13.2295 17.8388 14.4732 16.9056 15.422L17.9094 16.4116C19.1066 15.1989 19.7645 13.6036 19.7645 11.9207C19.7645 10.2393 19.1066 8.64396 17.9094 7.43123L16.9056 8.4209ZM19.9016 5.43185L20.8997 4.43372C22.9002 6.43422 24 9.09403 24 11.9219C24 14.7497 22.9002 17.4081 20.8997 19.4086L19.9016 18.4104C21.6353 16.6782 22.5882 14.3727 22.5882 11.9219C22.5882 9.46957 21.6353 7.16553 19.9016 5.43185Z", fill: "currentColor" }) }), Mn = (e) => /* @__PURE__ */ t("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ t("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M10.691 3.99987V10.5281L0 4.00655V20.2596L10.691 13.7367V20.2663L23.9987 12.1331L10.691 3.99987Z", fill: "currentColor" }) }), Tn = (e) => /* @__PURE__ */ t("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ t("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M13.309 3.99987L0 12.1331L13.309 20.2663V13.7367L23.9987 20.2596V4.00655L13.309 10.5281V3.99987Z", fill: "currentColor" }) }), In = "_feedback-overlay_v4lbu_1", Sn = "_feedback-message_v4lbu_14", Hn = "_feedback-icon_v4lbu_30", Vn = "_feedback-icon-animation_v4lbu_1", k = {
813
+ const ne = (e) => /* @__PURE__ */ t("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ t("path", { d: "M 11,21 H 5 V 3 h 6 z m 8,0 H 13 V 3 h 6 z", fill: "currentColor" }) }), oe = (e) => /* @__PURE__ */ t("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ t("path", { d: "M 5,2 V 22 L 21,12.000665 Z", fill: "currentColor" }) }), Te = (e) => /* @__PURE__ */ t("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ t("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M14.1179 1.41211V22.589H11.2943L5.64717 16.9418V7.05928L11.2943 1.41211H14.1179ZM4.23537 7.05928V16.9418H2.11769C0.957618 16.9418 0.0189406 16.0147 0.00028305 14.8592L0 14.8241V9.17696C0 8.01689 0.927077 7.07822 2.0826 7.05956L2.11769 7.05928H4.23537ZM22.3744 7.93711L24 9.56119L21.5623 11.9988L24 14.4365L22.3744 16.0621L19.9383 13.6245L17.5006 16.0621L15.875 14.4365L18.3127 11.9988L15.875 9.56119L17.5006 7.93711L19.9383 10.3748L22.3744 7.93711Z", fill: "currentColor" }) }), Ie = (e) => /* @__PURE__ */ t("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ t("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M5.64714 6.98017V16.8627L11.2943 22.5099H14.1179V1.33301H11.2943L5.64714 6.98017ZM0 9.09785V14.745C0 15.9168 0.945899 16.8627 2.11768 16.8627H4.23537V6.98017H2.11768C0.945899 6.98017 0 7.92607 0 9.09785ZM18.3527 11.9207C18.3527 10.6134 17.8388 9.36962 16.9056 8.4209L17.9094 7.43123C19.1066 8.64396 19.7645 10.2393 19.7645 11.9207C19.7645 13.6036 19.1066 15.1989 17.9094 16.4116L16.9056 15.422C17.8388 14.4732 18.3527 13.2295 18.3527 11.9207Z", fill: "currentColor" }) }), Se = (e) => /* @__PURE__ */ t("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ t("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M5.64714 16.8627V6.98017L11.2943 1.33301H14.1179V22.5099H11.2943L5.64714 16.8627ZM0 14.745V9.09785C0 7.92607 0.945899 6.98017 2.11768 6.98017H4.23537V16.8627H2.11768C0.945899 16.8627 0 15.9168 0 14.745ZM16.9056 8.4209C17.8388 9.36962 18.3527 10.6134 18.3527 11.9207C18.3527 13.2295 17.8388 14.4732 16.9056 15.422L17.9094 16.4116C19.1066 15.1989 19.7645 13.6036 19.7645 11.9207C19.7645 10.2393 19.1066 8.64396 17.9094 7.43123L16.9056 8.4209ZM19.9016 5.43185L20.8997 4.43372C22.9002 6.43422 24 9.09403 24 11.9219C24 14.7497 22.9002 17.4081 20.8997 19.4086L19.9016 18.4104C21.6353 16.6782 22.5882 14.3727 22.5882 11.9219C22.5882 9.46957 21.6353 7.16553 19.9016 5.43185Z", fill: "currentColor" }) }), Tn = (e) => /* @__PURE__ */ t("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ t("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M10.691 3.99987V10.5281L0 4.00655V20.2596L10.691 13.7367V20.2663L23.9987 12.1331L10.691 3.99987Z", fill: "currentColor" }) }), In = (e) => /* @__PURE__ */ t("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ t("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M13.309 3.99987L0 12.1331L13.309 20.2663V13.7367L23.9987 20.2596V4.00655L13.309 10.5281V3.99987Z", fill: "currentColor" }) }), Sn = "_feedback-overlay_v4lbu_1", Hn = "_feedback-message_v4lbu_14", Vn = "_feedback-icon_v4lbu_30", Bn = "_feedback-icon-animation_v4lbu_1", k = {
812
814
  "feedback-overlay": "_feedback-overlay_v4lbu_1",
813
- feedbackOverlay: In,
815
+ feedbackOverlay: Sn,
814
816
  "feedback-message": "_feedback-message_v4lbu_14",
815
- feedbackMessage: Sn,
817
+ feedbackMessage: Hn,
816
818
  "feedback-icon": "_feedback-icon_v4lbu_30",
817
- feedbackIcon: Hn,
819
+ feedbackIcon: Vn,
818
820
  "feedback-icon-animation": "_feedback-icon-animation_v4lbu_1",
819
- feedbackIconAnimation: Vn
821
+ feedbackIconAnimation: Bn
820
822
  };
821
- function Bn() {
823
+ function Rn() {
822
824
  var o;
823
825
  const e = _e();
824
826
  switch ((o = e.lastKeyboardAction) == null ? void 0 : o.action) {
@@ -834,17 +836,17 @@ function Bn() {
834
836
  return /* @__PURE__ */ t("i", { className: k.feedbackIcon, children: e.muted || e.volume === 0 ? /* @__PURE__ */ t(Te, {}) : e.volume >= 0.5 ? /* @__PURE__ */ t(Se, {}) : /* @__PURE__ */ t(Ie, {}) });
835
837
  case "seekForward":
836
838
  case "seekForward10":
837
- return /* @__PURE__ */ t("i", { className: k.feedbackIcon, children: /* @__PURE__ */ t(Mn, { className: "right" }) });
839
+ return /* @__PURE__ */ t("i", { className: k.feedbackIcon, children: /* @__PURE__ */ t(Tn, { className: "right" }) });
838
840
  case "seekBackward":
839
841
  case "seekBackward10":
840
- return /* @__PURE__ */ t("i", { className: k.feedbackIcon, children: /* @__PURE__ */ t(Tn, { className: "left" }) });
842
+ return /* @__PURE__ */ t("i", { className: k.feedbackIcon, children: /* @__PURE__ */ t(In, { className: "left" }) });
841
843
  default:
842
844
  return null;
843
845
  }
844
846
  }
845
- function Rn() {
847
+ function An() {
846
848
  var i;
847
- const { t: e } = C(), n = _e();
849
+ const { t: e } = b(), n = _e();
848
850
  switch ((i = n.lastKeyboardAction) == null ? void 0 : i.action) {
849
851
  case "toggleCaptions":
850
852
  case "nextCaptionLanguage":
@@ -870,49 +872,49 @@ function Rn() {
870
872
  return null;
871
873
  }
872
874
  }
873
- const An = Me(Bn, 500), En = Me(Rn, 1e3);
874
- function On() {
875
+ const En = Me(Rn, 500), On = Me(An, 1e3);
876
+ function Fn() {
875
877
  return /* @__PURE__ */ s("div", { className: k.feedbackOverlay, children: [
876
- /* @__PURE__ */ t(An, {}),
877
- /* @__PURE__ */ t(En, {})
878
+ /* @__PURE__ */ t(En, {}),
879
+ /* @__PURE__ */ t(On, {})
878
880
  ] });
879
881
  }
880
- const Fn = (e) => /* @__PURE__ */ t("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ t("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M14.1383 0.999867V3.66268H18.4561L3.66281 18.4546V14.1382H1V23H9.86449V20.3372H5.54542L20.3387 5.54528V9.86303H23.0001V0.999867H14.1383Z", fill: "currentColor" }) }), Zn = (e) => /* @__PURE__ */ t("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ t("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M15.562 6.58944L22.1514 0L24.0005 1.84907L17.4111 8.43851H21.6506V11.0552H12.9453V2.34861H15.562V6.58944ZM2.34861 15.5615V12.9461H11.0539V21.6501H8.43982V17.4106L1.84907 24L0 22.1509L6.59075 15.5615H2.34861Z", fill: "currentColor" }) }), $n = "_full-screen-button_1xm32_2", Kn = {
882
+ const Zn = (e) => /* @__PURE__ */ t("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ t("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M14.1383 0.999867V3.66268H18.4561L3.66281 18.4546V14.1382H1V23H9.86449V20.3372H5.54542L20.3387 5.54528V9.86303H23.0001V0.999867H14.1383Z", fill: "currentColor" }) }), $n = (e) => /* @__PURE__ */ t("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ t("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M15.562 6.58944L22.1514 0L24.0005 1.84907L17.4111 8.43851H21.6506V11.0552H12.9453V2.34861H15.562V6.58944ZM2.34861 15.5615V12.9461H11.0539V21.6501H8.43982V17.4106L1.84907 24L0 22.1509L6.59075 15.5615H2.34861Z", fill: "currentColor" }) }), zn = "_full-screen-button_1xm32_2", Kn = {
881
883
  "full-screen-button": "_full-screen-button_1xm32_2",
882
- fullScreenButton: $n
884
+ fullScreenButton: zn
883
885
  };
884
886
  function Dn() {
885
- const e = v("fullscreen"), n = g();
887
+ const e = f("fullscreen"), n = C();
886
888
  return B().hideFullScreen ? null : /* @__PURE__ */ t(
887
889
  pe,
888
890
  {
889
891
  tabIndex: n.state.interactionsDisabled ? -1 : 0,
890
892
  className: `controls-button ${Kn.fullScreenButton}`,
891
- children: e ? /* @__PURE__ */ t(Zn, { className: "controls-button-icon" }) : /* @__PURE__ */ t(Fn, { className: "controls-button-icon" })
893
+ children: e ? /* @__PURE__ */ t($n, { className: "controls-button-icon" }) : /* @__PURE__ */ t(Zn, { className: "controls-button-icon" })
892
894
  }
893
895
  );
894
896
  }
895
- const zn = "_gestures-container_1fn3b_1", jn = "_gesture_1fn3b_1", re = {
897
+ const jn = "_gestures-container_1fn3b_1", Un = "_gesture_1fn3b_1", re = {
896
898
  "gestures-container": "_gestures-container_1fn3b_1",
897
- gesturesContainer: zn,
898
- gesture: jn
899
+ gesturesContainer: jn,
900
+ gesture: Un
899
901
  };
900
- function Un() {
902
+ function qn() {
901
903
  const e = Z(), n = () => {
902
904
  e.togglePaused();
903
905
  };
904
906
  return /* @__PURE__ */ t("div", { className: re.gesturesContainer, children: /* @__PURE__ */ t("div", { "aria-hidden": !0, className: re.gesture, onClick: n }) });
905
907
  }
906
- const qn = (e) => /* @__PURE__ */ t("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ t("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M4.76472 10.5294C5.05696 10.5294 5.29413 10.2922 5.29413 9.99999V8.94117C5.29413 8.64893 5.05696 8.41175 4.76472 8.41175H3.7059C3.41366 8.41175 3.17649 8.64893 3.17649 8.94117V9.99999C3.17649 10.2922 3.41366 10.5294 3.7059 10.5294H4.76472ZM11.1177 10.5294C11.4099 10.5294 11.6471 10.2922 11.6471 9.99999V8.94117C11.6471 8.64893 11.4099 8.41175 11.1177 8.41175H10.0588C9.76661 8.41175 9.52944 8.64893 9.52944 8.94117V9.99999C9.52944 10.2922 9.76661 10.5294 10.0588 10.5294H11.1177ZM14.8235 9.99999C14.8235 10.2922 14.5864 10.5294 14.2941 10.5294H13.2353C12.9431 10.5294 12.7059 10.2922 12.7059 9.99999V8.94117C12.7059 8.64893 12.9431 8.41175 13.2353 8.41175H14.2941C14.5864 8.41175 14.8235 8.64893 14.8235 8.94117V9.99999ZM14.8235 13.1765C14.8235 13.4687 14.5864 13.7059 14.2941 13.7059H13.2353C12.9431 13.7059 12.7059 13.4687 12.7059 13.1765V12.1176C12.7059 11.8254 12.9431 11.5882 13.2353 11.5882H14.2941C14.5864 11.5882 14.8235 11.8254 14.8235 12.1176V13.1765ZM11.6471 13.1765C11.6471 13.4687 11.4099 13.7059 11.1177 13.7059H6.88239C6.59015 13.7059 6.35297 13.4687 6.35297 13.1765V12.1176C6.35297 11.8254 6.59015 11.5882 6.88239 11.5882H11.1177C11.4099 11.5882 11.6471 11.8254 11.6471 12.1176V13.1765ZM5.29413 13.1765C5.29413 13.4687 5.05696 13.7059 4.76472 13.7059H3.7059C3.41366 13.7059 3.17649 13.4687 3.17649 13.1765V12.1176C3.17649 11.8254 3.41366 11.5882 3.7059 11.5882H4.76472C5.05696 11.5882 5.29413 11.8254 5.29413 12.1176V13.1765ZM6.88238 8.41175C6.59015 8.41175 6.35297 8.64893 6.35297 8.94117V9.99999C6.35297 10.2922 6.59015 10.5294 6.88238 10.5294H7.94121C8.23344 10.5294 8.47062 10.2922 8.47062 9.99999V8.94117C8.47062 8.64893 8.23344 8.41175 7.94121 8.41175H6.88238ZM16.4118 5.23529H9.57494C9.71471 4.42 10.1933 4.17118 10.8254 3.85565C11.6629 3.43741 12.7059 2.91541 12.7059 1H11.6471C11.6471 2.26106 11.1039 2.53212 10.3511 2.90906C9.59824 3.28494 8.68659 3.75506 8.50871 5.23529H1.58824C0.712588 5.23529 0 5.94788 0 6.82353V15.2941C0 16.1698 0.712588 16.8824 1.58824 16.8824H16.4118C17.2874 16.8824 18 16.1698 18 15.2941V6.82353C18 5.94788 17.2874 5.23529 16.4118 5.23529Z", fill: "currentColor" }) }), He = (e) => /* @__PURE__ */ t("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ t("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M8.94968 7.74766L3.99993 2.79791L2.79785 3.99999L7.7476 8.94974L2.79785 13.8995L3.99993 15.1016L8.94968 10.1518L13.8994 15.1016L15.1015 13.8995L10.1518 8.94974L15.1015 3.99999L13.8994 2.79791L8.94968 7.74766Z", fill: "currentColor" }) }), Wn = "_keyboard-shortcuts-overlay_y5kv6_1", Gn = "_keyboard-shortcuts-button_y5kv6_67", Qn = "_close-button_y5kv6_93", Y = {
908
+ const Wn = (e) => /* @__PURE__ */ t("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ t("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M4.76472 10.5294C5.05696 10.5294 5.29413 10.2922 5.29413 9.99999V8.94117C5.29413 8.64893 5.05696 8.41175 4.76472 8.41175H3.7059C3.41366 8.41175 3.17649 8.64893 3.17649 8.94117V9.99999C3.17649 10.2922 3.41366 10.5294 3.7059 10.5294H4.76472ZM11.1177 10.5294C11.4099 10.5294 11.6471 10.2922 11.6471 9.99999V8.94117C11.6471 8.64893 11.4099 8.41175 11.1177 8.41175H10.0588C9.76661 8.41175 9.52944 8.64893 9.52944 8.94117V9.99999C9.52944 10.2922 9.76661 10.5294 10.0588 10.5294H11.1177ZM14.8235 9.99999C14.8235 10.2922 14.5864 10.5294 14.2941 10.5294H13.2353C12.9431 10.5294 12.7059 10.2922 12.7059 9.99999V8.94117C12.7059 8.64893 12.9431 8.41175 13.2353 8.41175H14.2941C14.5864 8.41175 14.8235 8.64893 14.8235 8.94117V9.99999ZM14.8235 13.1765C14.8235 13.4687 14.5864 13.7059 14.2941 13.7059H13.2353C12.9431 13.7059 12.7059 13.4687 12.7059 13.1765V12.1176C12.7059 11.8254 12.9431 11.5882 13.2353 11.5882H14.2941C14.5864 11.5882 14.8235 11.8254 14.8235 12.1176V13.1765ZM11.6471 13.1765C11.6471 13.4687 11.4099 13.7059 11.1177 13.7059H6.88239C6.59015 13.7059 6.35297 13.4687 6.35297 13.1765V12.1176C6.35297 11.8254 6.59015 11.5882 6.88239 11.5882H11.1177C11.4099 11.5882 11.6471 11.8254 11.6471 12.1176V13.1765ZM5.29413 13.1765C5.29413 13.4687 5.05696 13.7059 4.76472 13.7059H3.7059C3.41366 13.7059 3.17649 13.4687 3.17649 13.1765V12.1176C3.17649 11.8254 3.41366 11.5882 3.7059 11.5882H4.76472C5.05696 11.5882 5.29413 11.8254 5.29413 12.1176V13.1765ZM6.88238 8.41175C6.59015 8.41175 6.35297 8.64893 6.35297 8.94117V9.99999C6.35297 10.2922 6.59015 10.5294 6.88238 10.5294H7.94121C8.23344 10.5294 8.47062 10.2922 8.47062 9.99999V8.94117C8.47062 8.64893 8.23344 8.41175 7.94121 8.41175H6.88238ZM16.4118 5.23529H9.57494C9.71471 4.42 10.1933 4.17118 10.8254 3.85565C11.6629 3.43741 12.7059 2.91541 12.7059 1H11.6471C11.6471 2.26106 11.1039 2.53212 10.3511 2.90906C9.59824 3.28494 8.68659 3.75506 8.50871 5.23529H1.58824C0.712588 5.23529 0 5.94788 0 6.82353V15.2941C0 16.1698 0.712588 16.8824 1.58824 16.8824H16.4118C17.2874 16.8824 18 16.1698 18 15.2941V6.82353C18 5.94788 17.2874 5.23529 16.4118 5.23529Z", fill: "currentColor" }) }), He = (e) => /* @__PURE__ */ t("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ t("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M8.94968 7.74766L3.99993 2.79791L2.79785 3.99999L7.7476 8.94974L2.79785 13.8995L3.99993 15.1016L8.94968 10.1518L13.8994 15.1016L15.1015 13.8995L10.1518 8.94974L15.1015 3.99999L13.8994 2.79791L8.94968 7.74766Z", fill: "currentColor" }) }), Gn = "_keyboard-shortcuts-overlay_y5kv6_1", Qn = "_keyboard-shortcuts-button_y5kv6_67", Yn = "_close-button_y5kv6_93", Y = {
907
909
  "keyboard-shortcuts-overlay": "_keyboard-shortcuts-overlay_y5kv6_1",
908
- keyboardShortcutsOverlay: Wn,
910
+ keyboardShortcutsOverlay: Gn,
909
911
  "keyboard-shortcuts-button": "_keyboard-shortcuts-button_y5kv6_67",
910
- keyboardShortcutsButton: Gn,
912
+ keyboardShortcutsButton: Qn,
911
913
  "close-button": "_close-button_y5kv6_93",
912
- closeButton: Qn
914
+ closeButton: Yn
913
915
  };
914
- function Yn({ onClose: e }) {
915
- const { t: n } = C();
916
+ function Jn({ onClose: e }) {
917
+ const { t: n } = b();
916
918
  T(e);
917
919
  const o = (i) => {
918
920
  i && i.focus();
@@ -1024,39 +1026,39 @@ function Yn({ onClose: e }) {
1024
1026
  }
1025
1027
  );
1026
1028
  }
1027
- function Jn() {
1028
- const [e, n] = P(!1), [o, i] = P(!1), [a, c] = P(!1), l = g(), u = v("playing"), _ = Z(), { t: f } = C(), b = p(() => {
1029
+ function Xn() {
1030
+ const [e, n] = P(!1), [o, i] = P(!1), [a, c] = P(!1), l = C(), u = f("playing"), _ = Z(), { t: v } = b(), g = p(() => {
1029
1031
  n(!0), l.disableInteractions(), u && (c(!0), _.pause());
1030
- }, [u, _, l]), m = p(() => {
1032
+ }, [u, _, l]), d = p(() => {
1031
1033
  n(!1), i(!0), l.enableInteractions(), a && (c(!1), _.play());
1032
1034
  }, [a, _, l]), h = p(
1033
1035
  (L) => o && (L == null ? void 0 : L.focus()),
1034
1036
  [o]
1035
1037
  );
1036
- return e ? /* @__PURE__ */ t(Yn, { onClose: m }) : /* @__PURE__ */ t(
1038
+ return e ? /* @__PURE__ */ t(Jn, { onClose: d }) : /* @__PURE__ */ t(
1037
1039
  "button",
1038
1040
  {
1039
1041
  ref: h,
1040
- "aria-label": f("KEYBOARD_SHORTCUTS"),
1042
+ "aria-label": v("KEYBOARD_SHORTCUTS"),
1041
1043
  type: "button",
1042
1044
  className: Y.keyboardShortcutsButton,
1043
- onClick: b,
1045
+ onClick: g,
1044
1046
  tabIndex: l.state.interactionsDisabled ? -1 : 0,
1045
- children: /* @__PURE__ */ t(qn, {})
1047
+ children: /* @__PURE__ */ t(Wn, {})
1046
1048
  }
1047
1049
  );
1048
1050
  }
1049
- const Xn = "_play-pause-button_kyuc5_1", eo = {
1051
+ const eo = "_play-pause-button_kyuc5_1", to = {
1050
1052
  "play-pause-button": "_play-pause-button_kyuc5_1",
1051
- playPauseButton: Xn
1053
+ playPauseButton: eo
1052
1054
  };
1053
- function to() {
1054
- const e = ee(), n = g(), o = v("paused");
1055
+ function no() {
1056
+ const e = ee(), n = C(), o = f("paused");
1055
1057
  return e ? /* @__PURE__ */ t(
1056
1058
  De,
1057
1059
  {
1058
1060
  tabIndex: n.state.interactionsDisabled ? -1 : 0,
1059
- className: `${eo.playPauseButton} controls-button`,
1061
+ className: `${to.playPauseButton} controls-button`,
1060
1062
  onKeyDown: (i) => {
1061
1063
  i.key === " " && (e == null || e.$state.lastKeyboardAction.set({
1062
1064
  action: "togglePaused",
@@ -1067,28 +1069,28 @@ function to() {
1067
1069
  }
1068
1070
  ) : null;
1069
1071
  }
1070
- const no = "_poster_195hi_1", oo = {
1071
- poster: no
1072
+ const oo = "_poster_195hi_1", io = {
1073
+ poster: oo
1072
1074
  };
1073
- function io({ src: e }) {
1074
- const n = v("source");
1075
- return n.type === "video/youtube" || n.type === "video/vimeo" ? null : /* @__PURE__ */ t(ze, { src: e, className: oo.poster });
1075
+ function ao({ src: e }) {
1076
+ const n = f("source");
1077
+ return n.type === "video/youtube" || n.type === "video/vimeo" ? null : /* @__PURE__ */ t(je, { src: e, className: io.poster });
1076
1078
  }
1077
- const ao = "_small-layout-overlay_1vli4_1", so = "_small-layout-button_1vli4_14", co = "_small-layout-icon-play_1vli4_24", lo = "_small-layout-icon-pause_1vli4_30", ro = "_full-screen-close-icon_1vli4_36", uo = "_fade-out_1vli4_1", E = {
1079
+ const so = "_small-layout-overlay_1vli4_1", co = "_small-layout-button_1vli4_14", lo = "_small-layout-icon-play_1vli4_24", ro = "_small-layout-icon-pause_1vli4_30", uo = "_full-screen-close-icon_1vli4_36", mo = "_fade-out_1vli4_1", E = {
1078
1080
  "small-layout-overlay": "_small-layout-overlay_1vli4_1",
1079
- smallLayoutOverlay: ao,
1081
+ smallLayoutOverlay: so,
1080
1082
  "small-layout-button": "_small-layout-button_1vli4_14",
1081
- smallLayoutButton: so,
1083
+ smallLayoutButton: co,
1082
1084
  "small-layout-icon-play": "_small-layout-icon-play_1vli4_24",
1083
- smallLayoutIconPlay: co,
1085
+ smallLayoutIconPlay: lo,
1084
1086
  "small-layout-icon-pause": "_small-layout-icon-pause_1vli4_30",
1085
- smallLayoutIconPause: lo,
1087
+ smallLayoutIconPause: ro,
1086
1088
  "full-screen-close-icon": "_full-screen-close-icon_1vli4_36",
1087
- fullScreenCloseIcon: ro,
1089
+ fullScreenCloseIcon: uo,
1088
1090
  "fade-out": "_fade-out_1vli4_1",
1089
- fadeOut: uo
1091
+ fadeOut: mo
1090
1092
  };
1091
- function mo() {
1093
+ function ho() {
1092
1094
  return /* @__PURE__ */ s("div", { className: E.smallLayoutOverlay, children: [
1093
1095
  /* @__PURE__ */ t(pe, { className: E.fullScreenCloseIcon, children: /* @__PURE__ */ t(He, {}) }),
1094
1096
  /* @__PURE__ */ s("i", { className: E.smallLayoutButton, children: [
@@ -1097,63 +1099,63 @@ function mo() {
1097
1099
  ] })
1098
1100
  ] });
1099
1101
  }
1100
- const ho = "_time-indicator_1ght2_1", _o = {
1101
- "time-indicator": "_time-indicator_1ght2_1",
1102
- timeIndicator: ho
1102
+ const _o = "_time-indicator_1rlpb_1", po = {
1103
+ "time-indicator": "_time-indicator_1rlpb_1",
1104
+ timeIndicator: _o
1103
1105
  };
1104
- function po() {
1105
- return /* @__PURE__ */ s("div", { className: _o.timeIndicator, children: [
1106
+ function fo() {
1107
+ return /* @__PURE__ */ s("div", { className: po.timeIndicator, children: [
1106
1108
  /* @__PURE__ */ t(ae, { type: "current" }),
1107
1109
  "/",
1108
1110
  /* @__PURE__ */ t(ae, { type: "duration" })
1109
1111
  ] });
1110
1112
  }
1111
- const vo = "_comment-markers_1k8rn_1", fo = "_comment-marker_1k8rn_1", Co = "_timeline-wrapper_1k8rn_21", go = "_track_1k8rn_35", bo = "_thumb_1k8rn_48", ko = "_root_1k8rn_62", yo = "_track-inner_1k8rn_92", wo = "_progress_1k8rn_98", Lo = "_track-fill_1k8rn_104", Po = "_pins_1k8rn_120", No = "_pin-button_1k8rn_133", xo = "_annotation-pin_1k8rn_153", Mo = "_quiz-pin_1k8rn_158", To = "_annotation-pin-child_1k8rn_163", Io = "_quiz-pin-child_1k8rn_167", So = "_interactive-pin-container_1k8rn_172", Ho = "_interactive-pin-wrapper_1k8rn_182", Vo = "_interactive-pin-icon_1k8rn_188", Bo = "_interactive-pin_1k8rn_172", Ro = "_bg_1k8rn_202", Ao = "_symbol_1k8rn_206", Eo = "_interactive-pin-button_1k8rn_211", Oo = "_interactive-pin-menu_1k8rn_231", Fo = "_interactive-pin-menu-item_1k8rn_245", Zo = "_arrow_1k8rn_266", d = {
1112
- "comment-markers": "_comment-markers_1k8rn_1",
1113
+ const vo = "_comment-markers_19b45_1", bo = "_comment-marker_19b45_1", Co = "_timeline-wrapper_19b45_21", go = "_track_19b45_35", ko = "_thumb_19b45_48", yo = "_root_19b45_62", wo = "_track-inner_19b45_92", Lo = "_progress_19b45_98", Po = "_track-fill_19b45_104", No = "_pins_19b45_121", xo = "_pin-button_19b45_134", Mo = "_annotation-pin_19b45_154", To = "_quiz-pin_19b45_159", Io = "_annotation-pin-child_19b45_164", So = "_quiz-pin-child_19b45_168", Ho = "_interactive-pin-container_19b45_173", Vo = "_interactive-pin-wrapper_19b45_183", Bo = "_interactive-pin-icon_19b45_189", Ro = "_interactive-pin_19b45_173", Ao = "_bg_19b45_203", Eo = "_symbol_19b45_207", Oo = "_interactive-pin-button_19b45_212", Fo = "_interactive-pin-menu_19b45_232", Zo = "_interactive-pin-menu-item_19b45_246", $o = "_arrow_19b45_267", m = {
1114
+ "comment-markers": "_comment-markers_19b45_1",
1113
1115
  commentMarkers: vo,
1114
- "comment-marker": "_comment-marker_1k8rn_1",
1115
- commentMarker: fo,
1116
- "timeline-wrapper": "_timeline-wrapper_1k8rn_21",
1116
+ "comment-marker": "_comment-marker_19b45_1",
1117
+ commentMarker: bo,
1118
+ "timeline-wrapper": "_timeline-wrapper_19b45_21",
1117
1119
  timelineWrapper: Co,
1118
1120
  track: go,
1119
- thumb: bo,
1120
- root: ko,
1121
- "track-inner": "_track-inner_1k8rn_92",
1122
- trackInner: yo,
1123
- progress: wo,
1124
- "track-fill": "_track-fill_1k8rn_104",
1125
- trackFill: Lo,
1126
- pins: Po,
1127
- "pin-button": "_pin-button_1k8rn_133",
1128
- pinButton: No,
1129
- "annotation-pin": "_annotation-pin_1k8rn_153",
1130
- annotationPin: xo,
1131
- "quiz-pin": "_quiz-pin_1k8rn_158",
1132
- quizPin: Mo,
1133
- "annotation-pin-child": "_annotation-pin-child_1k8rn_163",
1134
- annotationPinChild: To,
1135
- "quiz-pin-child": "_quiz-pin-child_1k8rn_167",
1136
- quizPinChild: Io,
1137
- "interactive-pin-container": "_interactive-pin-container_1k8rn_172",
1138
- interactivePinContainer: So,
1139
- "interactive-pin-wrapper": "_interactive-pin-wrapper_1k8rn_182",
1140
- interactivePinWrapper: Ho,
1141
- "interactive-pin-icon": "_interactive-pin-icon_1k8rn_188",
1142
- interactivePinIcon: Vo,
1143
- "interactive-pin": "_interactive-pin_1k8rn_172",
1144
- interactivePin: Bo,
1145
- bg: Ro,
1146
- symbol: Ao,
1147
- "interactive-pin-button": "_interactive-pin-button_1k8rn_211",
1148
- interactivePinButton: Eo,
1149
- "interactive-pin-menu": "_interactive-pin-menu_1k8rn_231",
1150
- interactivePinMenu: Oo,
1151
- "interactive-pin-menu-item": "_interactive-pin-menu-item_1k8rn_245",
1152
- interactivePinMenuItem: Fo,
1153
- arrow: Zo
1154
- }, $o = {
1155
- annotation: d.annotationPin,
1156
- quiz: d.quizPin
1121
+ thumb: ko,
1122
+ root: yo,
1123
+ "track-inner": "_track-inner_19b45_92",
1124
+ trackInner: wo,
1125
+ progress: Lo,
1126
+ "track-fill": "_track-fill_19b45_104",
1127
+ trackFill: Po,
1128
+ pins: No,
1129
+ "pin-button": "_pin-button_19b45_134",
1130
+ pinButton: xo,
1131
+ "annotation-pin": "_annotation-pin_19b45_154",
1132
+ annotationPin: Mo,
1133
+ "quiz-pin": "_quiz-pin_19b45_159",
1134
+ quizPin: To,
1135
+ "annotation-pin-child": "_annotation-pin-child_19b45_164",
1136
+ annotationPinChild: Io,
1137
+ "quiz-pin-child": "_quiz-pin-child_19b45_168",
1138
+ quizPinChild: So,
1139
+ "interactive-pin-container": "_interactive-pin-container_19b45_173",
1140
+ interactivePinContainer: Ho,
1141
+ "interactive-pin-wrapper": "_interactive-pin-wrapper_19b45_183",
1142
+ interactivePinWrapper: Vo,
1143
+ "interactive-pin-icon": "_interactive-pin-icon_19b45_189",
1144
+ interactivePinIcon: Bo,
1145
+ "interactive-pin": "_interactive-pin_19b45_173",
1146
+ interactivePin: Ro,
1147
+ bg: Ao,
1148
+ symbol: Eo,
1149
+ "interactive-pin-button": "_interactive-pin-button_19b45_212",
1150
+ interactivePinButton: Oo,
1151
+ "interactive-pin-menu": "_interactive-pin-menu_19b45_232",
1152
+ interactivePinMenu: Fo,
1153
+ "interactive-pin-menu-item": "_interactive-pin-menu-item_19b45_246",
1154
+ interactivePinMenuItem: Zo,
1155
+ arrow: $o
1156
+ }, zo = {
1157
+ annotation: m.annotationPin,
1158
+ quiz: m.quizPin
1157
1159
  };
1158
1160
  function Ve({
1159
1161
  type: e,
@@ -1161,19 +1163,19 @@ function Ve({
1161
1163
  children: o,
1162
1164
  onClick: i
1163
1165
  }) {
1164
- const a = g();
1166
+ const a = C();
1165
1167
  return /* @__PURE__ */ t(
1166
1168
  "button",
1167
1169
  {
1168
1170
  type: "button",
1169
1171
  tabIndex: a.state.interactionsDisabled ? -1 : 0,
1170
- className: d.pinButton,
1172
+ className: m.pinButton,
1171
1173
  style: { left: `${n}%` },
1172
1174
  onClick: i,
1173
1175
  children: /* @__PURE__ */ s(
1174
1176
  "svg",
1175
1177
  {
1176
- className: $o[e],
1178
+ className: zo[e],
1177
1179
  width: "26",
1178
1180
  height: "32",
1179
1181
  viewBox: "0 0 26 32",
@@ -1191,7 +1193,7 @@ function Ko(e) {
1191
1193
  return /* @__PURE__ */ t(Ve, { type: "annotation", ...e, children: /* @__PURE__ */ t(
1192
1194
  "path",
1193
1195
  {
1194
- className: d.annotationPinChild,
1196
+ className: m.annotationPinChild,
1195
1197
  fillRule: "evenodd",
1196
1198
  clipRule: "evenodd",
1197
1199
  d: "M7 8V19.25H8.875V18.875C8.875 17.8415 9.7165 17 10.75 17H19V8H7ZM10 11.75H16V11H10V11.75ZM14.5 14H10V13.25H14.5V14Z",
@@ -1201,10 +1203,10 @@ function Ko(e) {
1201
1203
  ) });
1202
1204
  }
1203
1205
  function Do(e) {
1204
- return /* @__PURE__ */ t(Ve, { type: "quiz", ...e, children: e.multiple ? /* @__PURE__ */ t("circle", { className: d.quizPinChild, cx: "13", cy: "13", r: "6" }) : /* @__PURE__ */ t(
1206
+ return /* @__PURE__ */ t(Ve, { type: "quiz", ...e, children: e.multiple ? /* @__PURE__ */ t("circle", { className: m.quizPinChild, cx: "13", cy: "13", r: "6" }) : /* @__PURE__ */ t(
1205
1207
  "text",
1206
1208
  {
1207
- className: d.quizPinChild,
1209
+ className: m.quizPinChild,
1208
1210
  x: "50%",
1209
1211
  y: "56%",
1210
1212
  textAnchor: "middle",
@@ -1214,7 +1216,7 @@ function Do(e) {
1214
1216
  }
1215
1217
  ) });
1216
1218
  }
1217
- function zo(e, n) {
1219
+ function jo(e, n) {
1218
1220
  return e.map((o, i) => ({
1219
1221
  id: o.id,
1220
1222
  time: o.time,
@@ -1223,7 +1225,7 @@ function zo(e, n) {
1223
1225
  onClick: () => n(o)
1224
1226
  }));
1225
1227
  }
1226
- function jo(e, n) {
1228
+ function Uo(e, n) {
1227
1229
  const o = /* @__PURE__ */ new Map();
1228
1230
  e.forEach((c) => {
1229
1231
  var u;
@@ -1243,7 +1245,7 @@ function jo(e, n) {
1243
1245
  }), a++;
1244
1246
  }), i;
1245
1247
  }
1246
- function Uo(e, n, o, i) {
1248
+ function qo(e, n, o, i) {
1247
1249
  switch (e.type) {
1248
1250
  case "annotation": {
1249
1251
  const a = () => i ? e.onClick() : o.seek(e.time);
@@ -1271,22 +1273,22 @@ function Uo(e, n, o, i) {
1271
1273
  return null;
1272
1274
  }
1273
1275
  }
1274
- function qo() {
1275
- const e = Z(), n = v("duration"), o = B(), i = F(() => [
1276
- ...zo(
1276
+ function Wo() {
1277
+ const e = Z(), n = f("duration"), o = B(), i = F(() => [
1278
+ ...jo(
1277
1279
  o.annotations,
1278
1280
  o.onAnnotationClick
1279
1281
  ),
1280
- ...jo(o.quizMarkers, o.onQuizMarkerClick)
1281
- ].sort((c, l) => c.time - l.time).map((c) => Uo(c, n, e, o.interactive)), [o.annotations, o.quizMarkers, n, e]);
1282
- return /* @__PURE__ */ t("div", { className: d.pins, children: i });
1282
+ ...Uo(o.quizMarkers, o.onQuizMarkerClick)
1283
+ ].sort((c, l) => c.time - l.time).map((c) => qo(c, n, e, o.interactive)), [o.annotations, o.quizMarkers, n, e]);
1284
+ return /* @__PURE__ */ t("div", { className: m.pins, children: i });
1283
1285
  }
1284
- function Wo() {
1285
- const e = v("duration"), n = B(), o = g();
1286
- return n.hasComments && o.state.commentsEnabled ? /* @__PURE__ */ t("div", { className: d.commentMarkers, children: n.comments.map((i) => /* @__PURE__ */ t(
1286
+ function Go() {
1287
+ const e = f("duration"), n = B(), o = C();
1288
+ return n.hasComments && o.state.commentsEnabled ? /* @__PURE__ */ t("div", { className: m.commentMarkers, children: n.comments.map((i) => /* @__PURE__ */ t(
1287
1289
  "span",
1288
1290
  {
1289
- className: d.commentMarker,
1291
+ className: m.commentMarker,
1290
1292
  style: {
1291
1293
  left: `${i.timestamp / e * 100}%`,
1292
1294
  width: `${xe / e * 100}%`
@@ -1295,39 +1297,39 @@ function Wo() {
1295
1297
  i.id
1296
1298
  )) }) : null;
1297
1299
  }
1298
- function Go({ position: e }) {
1300
+ function Qo({ position: e }) {
1299
1301
  const [n, o] = P(!1), i = B(), a = p(() => i.interactiveMenuElements.length > 0 ? o((h) => !h) : i.onInteractivePinClick(e), [
1300
1302
  i.interactiveMenuElements,
1301
1303
  i.onInteractivePinClick,
1302
1304
  e
1303
- ]), c = he(null), { refs: l, floatingStyles: u, context: _ } = ve({
1305
+ ]), c = he(null), { refs: l, floatingStyles: u, context: _ } = fe({
1304
1306
  open: n,
1305
1307
  onOpenChange: o,
1306
- whileElementsMounted: fe,
1308
+ whileElementsMounted: ve,
1307
1309
  placement: "top",
1308
1310
  middleware: [
1309
- Je(),
1310
- Xe(6),
1311
- Ce(),
1312
- ge({
1311
+ Xe(),
1312
+ et(6),
1313
+ be(),
1314
+ Ce({
1313
1315
  element: c
1314
1316
  })
1315
1317
  ]
1316
- }), f = be(_), { getReferenceProps: b, getFloatingProps: m } = ke([f]);
1318
+ }), v = ge(_), { getReferenceProps: g, getFloatingProps: d } = ke([v]);
1317
1319
  return /* @__PURE__ */ s(J, { children: [
1318
1320
  /* @__PURE__ */ t(
1319
1321
  "button",
1320
1322
  {
1321
1323
  type: "button",
1322
1324
  onClick: a,
1323
- className: d.interactivePinButton,
1325
+ className: m.interactivePinButton,
1324
1326
  ref: l.setReference,
1325
1327
  style: { left: `${e}%` },
1326
- ...b(),
1328
+ ...g(),
1327
1329
  children: /* @__PURE__ */ s(
1328
1330
  "svg",
1329
1331
  {
1330
- className: d.interactivePin,
1332
+ className: m.interactivePin,
1331
1333
  width: "36",
1332
1334
  height: "44",
1333
1335
  fill: "none",
@@ -1337,21 +1339,21 @@ function Go({ position: e }) {
1337
1339
  /* @__PURE__ */ t(
1338
1340
  "path",
1339
1341
  {
1340
- className: d.bg,
1342
+ className: m.bg,
1341
1343
  d: "M 33.1703,27.499961 C 34.9615,24.721661 36,21.418761 36,17.874961 36,8.0028612 27.9411,-3.8819277e-5 18,-3.8819277e-5 8.0588999,-3.8819277e-5 -1.5e-7,8.0028612 -1.5e-7,17.874961 c 0,3.5438 1.03844995,6.8467 2.82964995,9.625 4.5447501,6.8094 10.1600502,10.1014 15.2487502,16.5 5.0364,-6.3985 10.5573,-9.7259 15.0919,-16.5 z"
1342
1344
  }
1343
1345
  ),
1344
1346
  /* @__PURE__ */ t(
1345
1347
  "path",
1346
1348
  {
1347
- className: d.symbol,
1349
+ className: m.symbol,
1348
1350
  d: "m 35.499961,17.877772 c 0,3.443549 -1.008198,6.652061 -2.747494,9.351891 -2.235095,3.338633 -4.71529,5.832631 -7.286584,8.306425 -0.277599,0.267143 -0.556499,0.534085 -0.836198,0.801928 -2.174595,2.082232 -4.40389,4.216673 -6.553385,6.870196 -2.158995,-2.636621 -4.40379,-4.754859 -6.591985,-6.819788 -0.2979,-0.281145 -0.594699,-0.561289 -0.890198,-0.841534 C 7.9918219,33.077896 5.4869279,30.584698 3.2477829,27.230063 1.5082968,24.530133 0.50003905,21.321521 0.50003905,17.877772 0.50003905,8.2835422 8.3317219,0.50000048 18,0.50000048 c 9.668278,0 17.499961,7.78354172 17.499961,17.37777152 z"
1349
1351
  }
1350
1352
  ),
1351
1353
  /* @__PURE__ */ t(
1352
1354
  "path",
1353
1355
  {
1354
- className: d.interactivePinIcon,
1356
+ className: m.interactivePinIcon,
1355
1357
  "data-open": n,
1356
1358
  fillRule: "evenodd",
1357
1359
  clipRule: "evenodd",
@@ -1369,14 +1371,14 @@ function Go({ position: e }) {
1369
1371
  {
1370
1372
  ref: l.setFloating,
1371
1373
  style: u,
1372
- className: d.interactivePinMenu,
1373
- ...m(),
1374
+ className: m.interactivePinMenu,
1375
+ ...d(),
1374
1376
  children: [
1375
1377
  i.interactiveMenuElements.map(({ id: h, text: L, onClick: R }) => /* @__PURE__ */ s(
1376
1378
  "button",
1377
1379
  {
1378
1380
  type: "button",
1379
- className: d.interactivePinMenuItem,
1381
+ className: m.interactivePinMenuItem,
1380
1382
  onClick: () => {
1381
1383
  R(h, e), o(!1);
1382
1384
  },
@@ -1410,7 +1412,7 @@ function Go({ position: e }) {
1410
1412
  {
1411
1413
  ref: c,
1412
1414
  context: _,
1413
- className: d.arrow
1415
+ className: m.arrow
1414
1416
  }
1415
1417
  )
1416
1418
  ]
@@ -1418,50 +1420,50 @@ function Go({ position: e }) {
1418
1420
  )
1419
1421
  ] });
1420
1422
  }
1421
- function Qo() {
1422
- const e = v("duration"), o = v("currentTime") / e * 100;
1423
- return /* @__PURE__ */ t("div", { className: d.interactivePinContainer, children: /* @__PURE__ */ t("div", { className: d.interactivePinWrapper, children: /* @__PURE__ */ t(Go, { position: o }) }) });
1424
- }
1425
1423
  function Yo() {
1426
- const e = v("paused"), n = g();
1427
- return e && !n.state.interactionsDisabled ? /* @__PURE__ */ t(Qo, {}) : null;
1424
+ const e = f("duration"), o = f("currentTime") / e * 100;
1425
+ return /* @__PURE__ */ t("div", { className: m.interactivePinContainer, children: /* @__PURE__ */ t("div", { className: m.interactivePinWrapper, children: /* @__PURE__ */ t(Qo, { position: o }) }) });
1426
+ }
1427
+ function Jo() {
1428
+ const e = f("paused"), n = C();
1429
+ return e && !n.state.interactionsDisabled ? /* @__PURE__ */ t(Yo, {}) : null;
1428
1430
  }
1429
- const Jo = `${d.progress} ${d.trackInner}`, Xo = `${d.trackFill} ${d.trackInner}`;
1431
+ const Xo = `${m.progress} ${m.trackInner}`, ei = `${m.trackFill} ${m.trackInner}`;
1430
1432
  function ue({ className: e }) {
1431
- const n = g(), { hasAnnotations: o, hasQuizmarkers: i, interactive: a } = B(), c = e ? `${d.timelineWrapper} ${e}` : d.timelineWrapper;
1433
+ const n = C(), { hasAnnotations: o, hasQuizmarkers: i, interactive: a } = B(), c = e ? `${m.timelineWrapper} ${e}` : m.timelineWrapper;
1432
1434
  return /* @__PURE__ */ s("div", { className: c, children: [
1433
- a ? /* @__PURE__ */ t(Yo, {}) : null,
1434
- a || o || i ? /* @__PURE__ */ t(qo, {}) : null,
1435
+ a ? /* @__PURE__ */ t(Jo, {}) : null,
1436
+ a || o || i ? /* @__PURE__ */ t(Wo, {}) : null,
1435
1437
  /* @__PURE__ */ s(
1436
1438
  A.Root,
1437
1439
  {
1438
- className: d.root,
1440
+ className: m.root,
1439
1441
  tabIndex: n.state.interactionsDisabled ? -1 : 0,
1440
1442
  children: [
1441
- /* @__PURE__ */ s(A.Track, { className: d.track, children: [
1442
- /* @__PURE__ */ t(A.Progress, { className: Jo }),
1443
- /* @__PURE__ */ t(A.TrackFill, { className: Xo })
1443
+ /* @__PURE__ */ s(A.Track, { className: m.track, children: [
1444
+ /* @__PURE__ */ t(A.Progress, { className: Xo }),
1445
+ /* @__PURE__ */ t(A.TrackFill, { className: ei })
1444
1446
  ] }),
1445
- /* @__PURE__ */ t(A.Thumb, { className: d.thumb })
1447
+ /* @__PURE__ */ t(A.Thumb, { className: m.thumb })
1446
1448
  ]
1447
1449
  }
1448
1450
  ),
1449
- /* @__PURE__ */ t(Wo, {})
1451
+ /* @__PURE__ */ t(Go, {})
1450
1452
  ] });
1451
1453
  }
1452
- const ei = "_wrapper_d2nt6_1", ti = "_track_d2nt6_6", ni = "_thumb_d2nt6_16", oi = "_track-fill_d2nt6_30", ii = "_root_d2nt6_48", O = {
1453
- wrapper: ei,
1454
- track: ti,
1455
- thumb: ni,
1456
- "track-fill": "_track-fill_d2nt6_30",
1457
- trackFill: oi,
1458
- root: ii
1454
+ const ti = "_wrapper_12cb0_1", ni = "_track_12cb0_6", oi = "_thumb_12cb0_18", ii = "_track-fill_12cb0_32", ai = "_root_12cb0_51", O = {
1455
+ wrapper: ti,
1456
+ track: ni,
1457
+ thumb: oi,
1458
+ "track-fill": "_track-fill_12cb0_32",
1459
+ trackFill: ii,
1460
+ root: ai
1459
1461
  };
1460
- function ai() {
1461
- const e = v("volume"), n = v("muted"), o = g();
1462
+ function si() {
1463
+ const e = f("volume"), n = f("muted"), o = C();
1462
1464
  return /* @__PURE__ */ s("div", { className: O.wrapper, children: [
1463
1465
  /* @__PURE__ */ t(
1464
- je,
1466
+ Ue,
1465
1467
  {
1466
1468
  tabIndex: o.state.interactionsDisabled ? -1 : 0,
1467
1469
  className: "controls-button",
@@ -1564,7 +1566,7 @@ const de = {
1564
1566
  }
1565
1567
  }
1566
1568
  };
1567
- function si(e, n = 1e3) {
1569
+ function ci(e, n = 1e3) {
1568
1570
  let o = !1;
1569
1571
  return () => {
1570
1572
  o || (e(), o = !0, setTimeout(() => {
@@ -1583,7 +1585,7 @@ const me = {
1583
1585
  invert: !1,
1584
1586
  comments: !1
1585
1587
  };
1586
- class ci {
1588
+ class li {
1587
1589
  constructor() {
1588
1590
  N(this, "playerId", "studio-player");
1589
1591
  N(this, "mediaId", null);
@@ -1594,7 +1596,7 @@ class ci {
1594
1596
  const n = (this.time ?? 0).toString();
1595
1597
  localStorage.setItem(this.mediaId, n);
1596
1598
  });
1597
- N(this, "saveTimeThrottled", si(this.saveTime, 1e3));
1599
+ N(this, "saveTimeThrottled", ci(this.saveTime, 1e3));
1598
1600
  // only used for useStudioPlayer hook's state initialization
1599
1601
  N(this, "initializeState", () => {
1600
1602
  const n = localStorage.getItem(this.playerId);
@@ -1681,52 +1683,52 @@ class ci {
1681
1683
  localStorage.setItem(this.playerId, n);
1682
1684
  }
1683
1685
  }
1684
- function li(e) {
1685
- const n = F(() => new ci(), []), [o, i] = P(
1686
+ function ri(e) {
1687
+ const n = F(() => new li(), []), [o, i] = P(
1686
1688
  n.initializeState
1687
1689
  ), a = p(
1688
- (m) => {
1689
- i((h) => (n.saveData("multiplier", m), {
1690
+ (d) => {
1691
+ i((h) => (n.saveData("multiplier", d), {
1690
1692
  ...h,
1691
- captionsFontSizeMultiplier: m
1693
+ captionsFontSizeMultiplier: d
1692
1694
  }));
1693
1695
  },
1694
1696
  [n]
1695
1697
  ), c = p(() => {
1696
- i((m) => {
1697
- const h = !m.captionPositionOnTop;
1698
+ i((d) => {
1699
+ const h = !d.captionPositionOnTop;
1698
1700
  return n.saveData("ontop", h), {
1699
- ...m,
1701
+ ...d,
1700
1702
  captionPositionOnTop: h
1701
1703
  };
1702
1704
  });
1703
1705
  }, [n]), l = p(() => {
1704
- i((m) => {
1705
- const h = !m.captionsInvertColors;
1706
+ i((d) => {
1707
+ const h = !d.captionsInvertColors;
1706
1708
  return n.saveData("invert", h), {
1707
- ...m,
1709
+ ...d,
1708
1710
  captionsInvertColors: h
1709
1711
  };
1710
1712
  });
1711
1713
  }, [n]), u = p(() => {
1712
- i((m) => {
1713
- const h = !m.commentsEnabled;
1714
+ i((d) => {
1715
+ const h = !d.commentsEnabled;
1714
1716
  return n.saveData("comments", h), {
1715
- ...m,
1717
+ ...d,
1716
1718
  commentsEnabled: h
1717
1719
  };
1718
1720
  });
1719
1721
  }, [n]), _ = p(() => {
1720
- i((m) => ({
1721
- ...m,
1722
+ i((d) => ({
1723
+ ...d,
1722
1724
  interactionsDisabled: !1
1723
1725
  }));
1724
- }, []), f = p(() => {
1725
- i((m) => ({
1726
- ...m,
1726
+ }, []), v = p(() => {
1727
+ i((d) => ({
1728
+ ...d,
1727
1729
  interactionsDisabled: !0
1728
1730
  }));
1729
- }, []), b = F(() => e ? {
1731
+ }, []), g = F(() => e ? {
1730
1732
  ...de,
1731
1733
  toggleFullscreen: []
1732
1734
  } : de, [e]);
@@ -1737,14 +1739,14 @@ function li(e) {
1737
1739
  toggleCaptionPositionOnTop: c,
1738
1740
  toggleCaptionsInvertColors: l,
1739
1741
  enableInteractions: _,
1740
- disableInteractions: f,
1742
+ disableInteractions: v,
1741
1743
  toggleComments: u
1742
1744
  },
1743
- shortcuts: b,
1745
+ shortcuts: g,
1744
1746
  storage: n
1745
1747
  };
1746
1748
  }
1747
- const ri = {}, Q = () => {
1749
+ const ui = {}, Q = () => {
1748
1750
  };
1749
1751
  function Ci({
1750
1752
  title: e,
@@ -1756,52 +1758,54 @@ function Ci({
1756
1758
  comments: l = [],
1757
1759
  locale: u = "en",
1758
1760
  annotations: _ = [],
1759
- quizMarkers: f = [],
1760
- interactive: b = !1,
1761
- onAnnotationClick: m = Q,
1761
+ quizMarkers: v = [],
1762
+ interactive: g = !1,
1763
+ onAnnotationClick: d = Q,
1762
1764
  onQuizMarkerClick: h = Q,
1763
1765
  onInteractivePinClick: L = Q,
1764
- interactiveMenuElements: R = []
1766
+ interactiveMenuElements: R = [],
1767
+ darkMode: K = !1
1765
1768
  }) {
1766
- const { contextValue: D, shortcuts: x, storage: Be } = li(c), { i18n: ie } = C(), z = Z();
1769
+ const { contextValue: x, shortcuts: Be, storage: Re } = ri(c), { i18n: ie } = b(), D = Z();
1767
1770
  return V(() => {
1768
- z && n && (z.pauseControls(), n.current = z);
1769
- }, [z, n]), V(() => {
1771
+ D && n && (D.pauseControls(), n.current = D);
1772
+ }, [D, n]), V(() => {
1770
1773
  ie.changeLanguage(u);
1771
1774
  }, [ie, u]), /* @__PURE__ */ t(
1772
- nt,
1775
+ ot,
1773
1776
  {
1774
1777
  hideFullScreen: c,
1775
1778
  comments: l,
1776
1779
  annotations: _,
1777
- quizMarkers: f,
1778
- interactive: b,
1779
- onAnnotationClick: m,
1780
+ quizMarkers: v,
1781
+ interactive: g,
1782
+ onAnnotationClick: d,
1780
1783
  onQuizMarkerClick: h,
1781
1784
  onInteractivePinClick: L,
1782
1785
  interactiveMenuElements: R,
1783
- children: /* @__PURE__ */ t(tt, { contextValue: D, children: /* @__PURE__ */ s(
1784
- Ue,
1786
+ darkMode: K,
1787
+ children: /* @__PURE__ */ t(nt, { contextValue: x, children: /* @__PURE__ */ s(
1788
+ qe,
1785
1789
  {
1786
- storage: Be,
1790
+ storage: Re,
1787
1791
  title: e,
1788
1792
  src: o,
1789
- keyShortcuts: x,
1793
+ keyShortcuts: Be,
1790
1794
  playsInline: !0,
1791
- keyDisabled: D.state.interactionsDisabled,
1795
+ keyDisabled: x.state.interactionsDisabled,
1792
1796
  children: [
1793
- /* @__PURE__ */ t(Jn, {}),
1794
- /* @__PURE__ */ s(qe, { className: ri.mediaProvider, children: [
1795
- /* @__PURE__ */ t(io, { src: a }),
1796
- /* @__PURE__ */ t(On, {}),
1797
- /* @__PURE__ */ t(mt, {}),
1797
+ /* @__PURE__ */ t(Xn, {}),
1798
+ /* @__PURE__ */ s(We, { className: ui.mediaProvider, children: [
1799
+ /* @__PURE__ */ t(ao, { src: a }),
1800
+ /* @__PURE__ */ t(Fn, {}),
1801
+ /* @__PURE__ */ t(ht, {}),
1798
1802
  /* @__PURE__ */ t(vt, { captions: i }),
1799
- /* @__PURE__ */ t(Mt, { comments: l }),
1800
- /* @__PURE__ */ t(mo, {}),
1801
- /* @__PURE__ */ t(Un, {})
1803
+ /* @__PURE__ */ t(Tt, { comments: l }),
1804
+ /* @__PURE__ */ t(ho, {}),
1805
+ /* @__PURE__ */ t(qn, {})
1802
1806
  ] }),
1803
- /* @__PURE__ */ t(Rt, {}),
1804
- /* @__PURE__ */ t(st, { annotations: _ })
1807
+ /* @__PURE__ */ t(At, { darkMode: K }),
1808
+ /* @__PURE__ */ t(ct, { annotations: _ })
1805
1809
  ]
1806
1810
  }
1807
1811
  ) })
@@ -1809,7 +1813,7 @@ function Ci({
1809
1813
  );
1810
1814
  }
1811
1815
  export {
1812
- ft as CAPTION_FONT_SIZE_MULTIPLIERS,
1816
+ bt as CAPTION_FONT_SIZE_MULTIPLIERS,
1813
1817
  xe as COMMENT_DURATION,
1814
1818
  S as PLAYBACK_RATES,
1815
1819
  Ci as StudioPlayer