@instructure/studio-player 1.1.11 → 1.1.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/studio-player.es.js
CHANGED
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
import './index-B3Tm5odI.css';var jl = Object.defineProperty;
|
|
2
2
|
var Yl = (re, he, Ce) => he in re ? jl(re, he, { enumerable: !0, configurable: !0, writable: !0, value: Ce }) : re[he] = Ce;
|
|
3
3
|
var Or = (re, he, Ce) => Yl(re, typeof he != "symbol" ? he + "" : he, Ce);
|
|
4
|
+
import { A as Kl, u as Dr, s as Va, a as oa, b as $n, i as zl, T as Wl, C as Ql, c as Xl, d as $l, e as Jl, F as ec, f as aa, g as Ka, t as di, v as ta, h as tc, j as Rs, k as ws, l as nc, m as ja, M as rc, n as ic } from "./vidstack-CpEp8jXV.js";
|
|
5
|
+
import { o as gh } from "./vidstack-CpEp8jXV.js";
|
|
4
6
|
import { jsx as ve, jsxs as ln, Fragment as pi } from "react/jsx-runtime";
|
|
5
|
-
import { createContext as Wa, useContext as Qa, useState as _r, useCallback as Zn, useEffect as Pr, useMemo as Mr, useRef as Nr, forwardRef as
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
|
|
11
|
-
import { useFloating as sa, autoUpdate as ua, shift as Xa, offset as $a, arrow as Ja, useMergeRefs as eo, useListNavigation as ks, useDismiss as to, useInteractions as no, FloatingFocusManager as ro, FloatingArrow as io, detectOverflow as uc } from "@floating-ui/react";
|
|
7
|
+
import { createContext as Wa, useContext as Qa, useState as _r, useCallback as Zn, useEffect as Pr, useMemo as Mr, useRef as Nr, forwardRef as ac } from "react";
|
|
8
|
+
import { initReactI18next as oc, useTranslation as Hn } from "react-i18next";
|
|
9
|
+
import sc from "i18next";
|
|
10
|
+
import uc from "i18next-resources-to-backend";
|
|
11
|
+
import { useFloating as sa, autoUpdate as ua, shift as Xa, offset as $a, arrow as Ja, useMergeRefs as eo, useListNavigation as ks, useDismiss as to, useInteractions as no, FloatingFocusManager as ro, FloatingArrow as io, detectOverflow as lc } from "@floating-ui/react";
|
|
12
|
+
Kl.add("audio/aac");
|
|
12
13
|
var Ya = { exports: {} };
|
|
13
14
|
/*! For license information please see dash.all.min.js.LICENSE.txt */
|
|
14
15
|
var Cs;
|
|
15
|
-
function
|
|
16
|
+
function cc() {
|
|
16
17
|
return Cs || (Cs = 1, function(re, he) {
|
|
17
18
|
(function(Ce, rt) {
|
|
18
19
|
re.exports = rt();
|
|
@@ -18045,8 +18046,8 @@ Actual: ` + f.attribValue);
|
|
|
18045
18046
|
});
|
|
18046
18047
|
}(Ya)), Ya.exports;
|
|
18047
18048
|
}
|
|
18048
|
-
var
|
|
18049
|
-
const
|
|
18049
|
+
var fc = cc();
|
|
18050
|
+
const dc = (re, he, Ce) => {
|
|
18050
18051
|
const rt = re[he];
|
|
18051
18052
|
return rt ? typeof rt == "function" ? rt() : Promise.resolve(rt) : new Promise((lt, Mt) => {
|
|
18052
18053
|
(typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(
|
|
@@ -18059,9 +18060,9 @@ const fc = (re, he, Ce) => {
|
|
|
18059
18060
|
);
|
|
18060
18061
|
});
|
|
18061
18062
|
};
|
|
18062
|
-
|
|
18063
|
-
|
|
18064
|
-
(re) =>
|
|
18063
|
+
sc.use(oc).use(
|
|
18064
|
+
uc(
|
|
18065
|
+
(re) => dc(/* @__PURE__ */ Object.assign({ "./locales/ar.json": () => import("./ar-DWuLBmz_.js"), "./locales/ca.json": () => import("./ca-Qqae8qG8.js"), "./locales/cy.json": () => import("./cy-BpEFkqco.js"), "./locales/da-x-k12.json": () => import("./da-x-k12-COGvNdvr.js"), "./locales/da.json": () => import("./da-wed3aJ7h.js"), "./locales/de.json": () => import("./de-nKvELG0o.js"), "./locales/en-AU-x-unimelb.json": () => import("./en-AU-x-unimelb-CkNBO1qD.js"), "./locales/en-GB-x-ukhe.json": () => import("./en-GB-x-ukhe-B4JozeRC.js"), "./locales/en.json": () => import("./en-Da2QqQzB.js"), "./locales/en_AU.json": () => import("./en_AU-MbaPa8_v.js"), "./locales/en_CY.json": () => import("./en_CY-Bic0boap.js"), "./locales/en_GB.json": () => import("./en_GB-Bic0boap.js"), "./locales/es.json": () => import("./es-BcgDzQZG.js"), "./locales/es_ES.json": () => import("./es_ES-Dpu1hibc.js"), "./locales/fi.json": () => import("./fi-BEWl8re7.js"), "./locales/fr.json": () => import("./fr-DiQce0QU.js"), "./locales/fr_CA.json": () => import("./fr_CA-zzDHXzBI.js"), "./locales/ga.json": () => import("./ga-BnfTovup.js"), "./locales/hi.json": () => import("./hi-DFgKd5Rh.js"), "./locales/ht.json": () => import("./ht-DmkZypkC.js"), "./locales/id.json": () => import("./id-D12ot73_.js"), "./locales/is.json": () => import("./is-CTl9VBTw.js"), "./locales/it.json": () => import("./it-DS73ictn.js"), "./locales/ja.json": () => import("./ja-B0B-sKEG.js"), "./locales/kl.json": () => import("./kl-CBFEKDWH.js"), "./locales/mi.json": () => import("./mi-BX_XpUQT.js"), "./locales/ms.json": () => import("./ms-C_fuUCcA.js"), "./locales/nb-x-k12.json": () => import("./nb-x-k12-LqbRKYNM.js"), "./locales/nb.json": () => import("./nb-CrJr2akb.js"), "./locales/nl.json": () => import("./nl-CrynP9Ac.js"), "./locales/pl.json": () => import("./pl-CBE8GSTo.js"), "./locales/pt.json": () => import("./pt-GnFuQolP.js"), "./locales/pt_BR.json": () => import("./pt_BR-Bw-U8Fma.js"), "./locales/ru.json": () => import("./ru-Din5Ed0v.js"), "./locales/sl.json": () => import("./sl-DOsudmDY.js"), "./locales/sv-x-k12.json": () => import("./sv-x-k12-C3MKrKJe.js"), "./locales/sv.json": () => import("./sv-CxnJbrMd.js"), "./locales/th.json": () => import("./th-DY_qsUyE.js"), "./locales/vi.json": () => import("./vi-CZWY3NLh.js"), "./locales/zh-Hans.json": () => import("./zh-Hans-C6EE8GVu.js"), "./locales/zh-Hant.json": () => import("./zh-Hant-DuAgeN0L.js"), "./locales/zh.json": () => import("./zh-Cb-utrSO.js"), "./locales/zh_HK.json": () => import("./zh_HK-BaabEC8v.js") }), `./locales/${re}.json`, 3)
|
|
18065
18066
|
)
|
|
18066
18067
|
).init({
|
|
18067
18068
|
fallbackLng: "en",
|
|
@@ -18073,7 +18074,7 @@ oc.use(ac).use(
|
|
|
18073
18074
|
}
|
|
18074
18075
|
});
|
|
18075
18076
|
const Zs = Wa(null);
|
|
18076
|
-
function
|
|
18077
|
+
function gc({
|
|
18077
18078
|
children: re,
|
|
18078
18079
|
contextValue: he
|
|
18079
18080
|
}) {
|
|
@@ -18088,7 +18089,7 @@ function Wn() {
|
|
|
18088
18089
|
return re;
|
|
18089
18090
|
}
|
|
18090
18091
|
const Us = Wa(null);
|
|
18091
|
-
function
|
|
18092
|
+
function hc({
|
|
18092
18093
|
title: re,
|
|
18093
18094
|
hideFullScreen: he,
|
|
18094
18095
|
comments: Ce,
|
|
@@ -18154,17 +18155,17 @@ function lr() {
|
|
|
18154
18155
|
);
|
|
18155
18156
|
return re;
|
|
18156
18157
|
}
|
|
18157
|
-
const
|
|
18158
|
+
const mc = "_annotation-overlay_1kxzn_1", pc = {
|
|
18158
18159
|
"annotation-overlay": "_annotation-overlay_1kxzn_1",
|
|
18159
|
-
annotationOverlay:
|
|
18160
|
-
}, Ns = 0.25,
|
|
18160
|
+
annotationOverlay: mc
|
|
18161
|
+
}, Ns = 0.25, yc = (re, he) => {
|
|
18161
18162
|
let Ce = !1;
|
|
18162
18163
|
return (rt) => {
|
|
18163
18164
|
const lt = rt.detail.currentTime;
|
|
18164
18165
|
lt >= re.time && lt < re.time + Ns && !Ce && (Ce = !0, he(re)), (lt < re.time || lt >= re.time + Ns) && Ce && (Ce = !1);
|
|
18165
18166
|
};
|
|
18166
18167
|
};
|
|
18167
|
-
function
|
|
18168
|
+
function _c({ annotations: re }) {
|
|
18168
18169
|
const he = Dr(), Ce = Wn(), rt = lr(), [lt, Mt] = _r(
|
|
18169
18170
|
null
|
|
18170
18171
|
), Pe = Zn(
|
|
@@ -18181,7 +18182,7 @@ function yc({ annotations: re }) {
|
|
|
18181
18182
|
const C = new AbortController();
|
|
18182
18183
|
return requestAnimationFrame(() => {
|
|
18183
18184
|
for (const ie of re) {
|
|
18184
|
-
const T =
|
|
18185
|
+
const T = yc(ie, Pe);
|
|
18185
18186
|
he.addEventListener("time-update", T, {
|
|
18186
18187
|
signal: C.signal
|
|
18187
18188
|
});
|
|
@@ -18193,19 +18194,19 @@ function yc({ annotations: re }) {
|
|
|
18193
18194
|
ie ? Mt(ie) : (Mt(null), Ce.enableInteractions());
|
|
18194
18195
|
}
|
|
18195
18196
|
}), () => C.abort();
|
|
18196
|
-
}, [he, re]), lt ? /* @__PURE__ */ ve("div", { className:
|
|
18197
|
+
}, [he, re]), lt ? /* @__PURE__ */ ve("div", { className: pc.annotationOverlay, children: lt.render(Ee) }) : null;
|
|
18197
18198
|
}
|
|
18198
|
-
const
|
|
18199
|
+
const Ec = "_media-buffering-indicator_1fwjr_1", vc = "_media-buffering-spinner_1fwjr_17", Tc = "_media-buffering-spin_1fwjr_17", bc = "_media-buffering-track_1fwjr_22", Sc = "_media-buffering-track-fill_1fwjr_27", na = {
|
|
18199
18200
|
"media-buffering-indicator": "_media-buffering-indicator_1fwjr_1",
|
|
18200
|
-
mediaBufferingIndicator:
|
|
18201
|
+
mediaBufferingIndicator: Ec,
|
|
18201
18202
|
"media-buffering-spinner": "_media-buffering-spinner_1fwjr_17",
|
|
18202
|
-
mediaBufferingSpinner:
|
|
18203
|
+
mediaBufferingSpinner: vc,
|
|
18203
18204
|
"media-buffering-spin": "_media-buffering-spin_1fwjr_17",
|
|
18204
|
-
mediaBufferingSpin:
|
|
18205
|
+
mediaBufferingSpin: Tc,
|
|
18205
18206
|
"media-buffering-track": "_media-buffering-track_1fwjr_22",
|
|
18206
|
-
mediaBufferingTrack:
|
|
18207
|
+
mediaBufferingTrack: bc,
|
|
18207
18208
|
"media-buffering-track-fill": "_media-buffering-track-fill_1fwjr_27",
|
|
18208
|
-
mediaBufferingTrackFill:
|
|
18209
|
+
mediaBufferingTrackFill: Sc
|
|
18209
18210
|
};
|
|
18210
18211
|
function Bs() {
|
|
18211
18212
|
return /* @__PURE__ */ ve("div", { className: na.mediaBufferingIndicator, children: /* @__PURE__ */ ln(Va.Root, { className: na.mediaBufferingSpinner, size: 96, children: [
|
|
@@ -18219,7 +18220,7 @@ function Bs() {
|
|
|
18219
18220
|
)
|
|
18220
18221
|
] }) });
|
|
18221
18222
|
}
|
|
18222
|
-
const
|
|
18223
|
+
const Ac = [
|
|
18223
18224
|
"ArrowUp",
|
|
18224
18225
|
"ArrowDown",
|
|
18225
18226
|
"ArrowLeft",
|
|
@@ -18244,7 +18245,7 @@ function ao(re, he = !1, Ce = !0) {
|
|
|
18244
18245
|
), he && window.addEventListener(
|
|
18245
18246
|
"keydown",
|
|
18246
18247
|
(lt) => {
|
|
18247
|
-
|
|
18248
|
+
Ac.includes(lt.code) && lt.preventDefault();
|
|
18248
18249
|
},
|
|
18249
18250
|
{ signal: rt.signal }
|
|
18250
18251
|
), () => {
|
|
@@ -18252,34 +18253,34 @@ function ao(re, he = !1, Ce = !0) {
|
|
|
18252
18253
|
};
|
|
18253
18254
|
}, [re, he, Ce]);
|
|
18254
18255
|
}
|
|
18255
|
-
function
|
|
18256
|
+
function Ic(re) {
|
|
18256
18257
|
const he = Mr(() => ({ Escape: re }), [re]);
|
|
18257
18258
|
return ao(he);
|
|
18258
18259
|
}
|
|
18259
|
-
const Gs = (re) => /* @__PURE__ */ ve("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...re, children: /* @__PURE__ */ ve("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" }) }),
|
|
18260
|
+
const Gs = (re) => /* @__PURE__ */ ve("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...re, children: /* @__PURE__ */ ve("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" }) }), Rc = "_controls-overlay_5ej4z_1", wc = "_keyboard-shortcuts-overlay_5ej4z_11", Cc = "_screen-reader-content_5ej4z_76", Nc = "_controls-button_5ej4z_90", Dc = "_keyboard-shortcuts-button_5ej4z_106", Oc = "_kebab-menu-button_5ej4z_116", Mc = "_kebab-menu_5ej4z_116", Pc = "_kebab-menu-item_5ej4z_145", Lc = "_close-button_5ej4z_180", xc = "_arrow_5ej4z_194", Fr = {
|
|
18260
18261
|
"controls-overlay": "_controls-overlay_5ej4z_1",
|
|
18261
|
-
controlsOverlay:
|
|
18262
|
+
controlsOverlay: Rc,
|
|
18262
18263
|
"keyboard-shortcuts-overlay": "_keyboard-shortcuts-overlay_5ej4z_11",
|
|
18263
|
-
keyboardShortcutsOverlay:
|
|
18264
|
+
keyboardShortcutsOverlay: wc,
|
|
18264
18265
|
"screen-reader-content": "_screen-reader-content_5ej4z_76",
|
|
18265
|
-
screenReaderContent:
|
|
18266
|
+
screenReaderContent: Cc,
|
|
18266
18267
|
"controls-button": "_controls-button_5ej4z_90",
|
|
18267
|
-
controlsButton:
|
|
18268
|
+
controlsButton: Nc,
|
|
18268
18269
|
"keyboard-shortcuts-button": "_keyboard-shortcuts-button_5ej4z_106",
|
|
18269
|
-
keyboardShortcutsButton:
|
|
18270
|
+
keyboardShortcutsButton: Dc,
|
|
18270
18271
|
"kebab-menu-button": "_kebab-menu-button_5ej4z_116",
|
|
18271
|
-
kebabMenuButton:
|
|
18272
|
+
kebabMenuButton: Oc,
|
|
18272
18273
|
"kebab-menu": "_kebab-menu_5ej4z_116",
|
|
18273
|
-
kebabMenu:
|
|
18274
|
+
kebabMenu: Mc,
|
|
18274
18275
|
"kebab-menu-item": "_kebab-menu-item_5ej4z_145",
|
|
18275
|
-
kebabMenuItem:
|
|
18276
|
+
kebabMenuItem: Pc,
|
|
18276
18277
|
"close-button": "_close-button_5ej4z_180",
|
|
18277
|
-
closeButton:
|
|
18278
|
-
arrow:
|
|
18278
|
+
closeButton: Lc,
|
|
18279
|
+
arrow: xc
|
|
18279
18280
|
};
|
|
18280
|
-
function
|
|
18281
|
+
function Fc({ onClose: re }) {
|
|
18281
18282
|
const { t: he } = Hn();
|
|
18282
|
-
return
|
|
18283
|
+
return Ic(re), /* @__PURE__ */ ln(
|
|
18283
18284
|
"div",
|
|
18284
18285
|
{
|
|
18285
18286
|
className: Fr.keyboardShortcutsOverlay,
|
|
@@ -18402,14 +18403,14 @@ function Ii() {
|
|
|
18402
18403
|
for (var re, he, Ce = 0, rt = "", lt = arguments.length; Ce < lt; Ce++) (re = arguments[Ce]) && (he = qs(re)) && (rt && (rt += " "), rt += he);
|
|
18403
18404
|
return rt;
|
|
18404
18405
|
}
|
|
18405
|
-
const
|
|
18406
|
-
share: /* @__PURE__ */ ve(
|
|
18407
|
-
transcript: /* @__PURE__ */ ve(
|
|
18408
|
-
media: /* @__PURE__ */ ve(
|
|
18406
|
+
const kc = (re) => /* @__PURE__ */ ve("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...re, children: /* @__PURE__ */ ve("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M8.8 3.6C9.79288 3.6 10.6 2.79288 10.6 1.8C10.6 0.80712 9.79288 0 8.8 0C7.80712 0 7 0.80712 7 1.8C7 2.79288 7.80712 3.6 8.8 3.6ZM10.6 8.99999C10.6 9.99287 9.79288 10.8 8.8 10.8C7.80712 10.8 7 9.99287 7 8.99999C7 8.00711 7.80712 7.19999 8.8 7.19999C9.79288 7.19999 10.6 8.00711 10.6 8.99999ZM10.6 16.2C10.6 17.1929 9.79288 18 8.8 18C7.80712 18 7 17.1929 7 16.2C7 15.2071 7.80712 14.4 8.8 14.4C9.79288 14.4 10.6 15.2071 10.6 16.2Z", fill: "currentColor" }) }), Zc = (re) => /* @__PURE__ */ ve("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...re, children: /* @__PURE__ */ ve("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M14.1074 16.8677C12.8638 16.8677 11.8524 15.8563 11.8524 14.6127C11.8524 14.4154 11.8862 14.2271 11.9336 14.0444C12.0317 13.6701 12.22 13.3318 12.4804 13.059C12.8908 12.6294 13.467 12.3576 14.1074 12.3576C15.3511 12.3576 16.3625 13.369 16.3625 14.6127C16.3625 15.8563 15.3511 16.8677 14.1074 16.8677ZM4.38257 11.2301C3.13891 11.2301 2.12752 10.2187 2.12752 8.97507C2.12752 7.73141 3.13891 6.72002 4.38257 6.72002C5.01623 6.72002 5.58676 6.98386 5.99718 7.40556C6.25989 7.67616 6.44819 8.01329 6.54966 8.38763C6.60153 8.57592 6.63761 8.76986 6.63761 8.97507C6.63761 9.2017 6.59364 9.41818 6.53049 9.62452C6.41887 9.99435 6.22155 10.327 5.94982 10.5908C5.54391 10.9843 4.99256 11.2301 4.38257 11.2301ZM11.8524 3.38257C11.8524 2.13891 12.8638 1.12753 14.1074 1.12753C15.3511 1.12753 16.3625 2.13891 16.3625 3.38257C16.3625 4.62622 15.3511 5.63761 14.1074 5.63761C13.4749 5.63761 12.9055 5.3749 12.4962 4.95546C12.2324 4.68485 12.0429 4.34773 11.9415 3.97339C11.8896 3.78397 11.8524 3.5889 11.8524 3.38257ZM14.1074 11.2301C13.0498 11.2301 12.1151 11.7273 11.495 12.4907L7.52722 10.1996C7.67605 9.81846 7.76513 9.40804 7.76513 8.97507C7.76513 8.56465 7.68056 8.17678 7.54639 7.8126L11.5108 5.5226C12.132 6.27466 13.0588 6.76513 14.1074 6.76513C15.9724 6.76513 17.49 5.24748 17.49 3.38256C17.49 1.51764 15.9724 0 14.1074 0C12.2425 0 10.7249 1.51764 10.7249 3.38256C10.7249 3.79411 10.8094 4.18423 10.9447 4.54842L6.9815 6.83729C6.36136 6.08411 5.43341 5.59251 4.38256 5.59251C2.51764 5.59251 1 7.11015 1 8.97507C1 10.84 2.51764 12.3576 4.38256 12.3576C5.40974 12.3576 6.32077 11.8875 6.94091 11.1625L10.9368 13.4694C10.8072 13.829 10.7249 14.2102 10.7249 14.6127C10.7249 16.4776 12.2425 17.9952 14.1074 17.9952C15.9724 17.9952 17.49 16.4776 17.49 14.6127C17.49 12.7478 15.9724 11.2301 14.1074 11.2301Z", fill: "currentColor" }) }), Uc = (re) => /* @__PURE__ */ ve("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...re, children: /* @__PURE__ */ ve("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M14.7647 16.9412H2.05882V1.05883H10.5294V5.29412H14.7647V16.9412ZM11.5882 1.278L14.5455 4.2353H11.5882V1.278ZM15.3587 3.55129L12.2722 0.464824C11.9715 0.165176 11.5724 0 11.1488 0H1V18H15.8235V4.67471C15.8235 4.25118 15.6584 3.852 15.3587 3.55129ZM1 0H15.8235V18H1V0ZM1 18H15.8235V0H1V18ZM4.17649 5.29412H8.41178V4.23529H4.17649V5.29412ZM4.17649 9.52941H10.5294V8.47059H4.17649V9.52941ZM4.17649 13.7647H8.41178V12.7059H4.17649V13.7647ZM4.17649 7.41177H12.6471V6.35294H4.17649V7.41177ZM4.17649 11.6471H11.5883V10.5882H4.17649V11.6471Z", fill: "currentColor" }) }), Bc = (re) => /* @__PURE__ */ ve("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...re, children: /* @__PURE__ */ ve("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M8.30365 10.9535V0H9.3637V10.9535L12.6986 7.61855L13.4491 8.368L8.83261 12.9824L4.21823 8.368L4.96875 7.61855L8.30365 10.9535ZM3.77376 16.94H13.9354L16.9607 13.9146L17.7091 14.6651L14.3742 18H3.3349L0 14.6651L0.749452 13.9146L3.77376 16.94Z", fill: "currentColor" }) }), Hs = (re) => /* @__PURE__ */ ve("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...re, children: /* @__PURE__ */ ve("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M14.8234 16.4118C14.8234 16.7029 14.5852 16.9412 14.294 16.9412H3.70577C3.41459 16.9412 3.17636 16.7029 3.17636 16.4118V5.29412H2.11753V16.4118C2.11753 17.2874 2.83012 18 3.70577 18H14.294C15.1697 18 15.8822 17.2874 15.8822 16.4118V5.29412H14.8234V16.4118ZM6.35284 14.8235H7.41166V6.35294H6.35284V14.8235ZM10.5881 14.8235H11.6469V6.35294H10.5881V14.8235ZM12.5682 3.17647L11.4099 0H6.51176L5.35553 3.17647H0V4.23529H18V3.17647H12.5682ZM6.48105 3.17647L7.25293 1.05882H10.6698L11.4416 3.17647H6.48105Z", fill: "currentColor" }) }), Gc = (re) => /* @__PURE__ */ ve("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...re, children: /* @__PURE__ */ ve("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M16.9412 15.2941C16.9412 15.5853 16.704 15.8235 16.4118 15.8235H1.58823C1.296 15.8235 1.05882 15.5853 1.05882 15.2941V6.82353C1.05882 6.53235 1.296 6.29412 1.58823 6.29412H16.4118C16.704 6.29412 16.9412 6.53235 16.9412 6.82353V15.2941ZM16.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.23529ZM11.1177 11.5882H6.88236C6.59013 11.5882 6.35295 11.8254 6.35295 12.1176V13.1765C6.35295 13.4687 6.59013 13.7059 6.88236 13.7059H11.1177C11.4099 13.7059 11.6471 13.4687 11.6471 13.1765V12.1176C11.6471 11.8254 11.4099 11.5882 11.1177 11.5882ZM14.2941 11.5882H13.2353C12.943 11.5882 12.7059 11.8254 12.7059 12.1176V13.1765C12.7059 13.4687 12.943 13.7059 13.2353 13.7059H14.2941C14.5863 13.7059 14.8235 13.4687 14.8235 13.1765V12.1176C14.8235 11.8254 14.5863 11.5882 14.2941 11.5882ZM4.76472 11.5882H3.7059C3.41366 11.5882 3.17649 11.8254 3.17649 12.1176V13.1765C3.17649 13.4687 3.41366 13.7059 3.7059 13.7059H4.76472C5.05696 13.7059 5.29413 13.4687 5.29413 13.1765V12.1176C5.29413 11.8254 5.05696 11.5882 4.76472 11.5882ZM4.76472 8.41176H3.7059C3.41366 8.41176 3.17649 8.64894 3.17649 8.94118V10C3.17649 10.2922 3.41366 10.5294 3.7059 10.5294H4.76472C5.05696 10.5294 5.29413 10.2922 5.29413 10V8.94118C5.29413 8.64894 5.05696 8.41176 4.76472 8.41176ZM6.88236 10.5294H7.94118C8.23342 10.5294 8.4706 10.2922 8.4706 10V8.94118C8.4706 8.64894 8.23342 8.41176 7.94118 8.41176H6.88236C6.59013 8.41176 6.35295 8.64894 6.35295 8.94118V10C6.35295 10.2922 6.59013 10.5294 6.88236 10.5294ZM11.1176 8.41176H10.0588C9.76658 8.41176 9.52941 8.64894 9.52941 8.94118V10C9.52941 10.2922 9.76658 10.5294 10.0588 10.5294H11.1176C11.4099 10.5294 11.6471 10.2922 11.6471 10V8.94118C11.6471 8.64894 11.4099 8.41176 11.1176 8.41176ZM14.2941 8.41176H13.2353C12.943 8.41176 12.7059 8.64894 12.7059 8.94118V10C12.7059 10.2922 12.943 10.5294 13.2353 10.5294H14.2941C14.5863 10.5294 14.8235 10.2922 14.8235 10V8.94118C14.8235 8.64894 14.5863 8.41176 14.2941 8.41176Z", fill: "currentColor" }) }), qc = {
|
|
18407
|
+
share: /* @__PURE__ */ ve(Zc, {}),
|
|
18408
|
+
transcript: /* @__PURE__ */ ve(Uc, {}),
|
|
18409
|
+
media: /* @__PURE__ */ ve(Bc, {}),
|
|
18409
18410
|
delete: /* @__PURE__ */ ve(Hs, {}),
|
|
18410
|
-
shortcuts: /* @__PURE__ */ ve(
|
|
18411
|
-
},
|
|
18412
|
-
function
|
|
18411
|
+
shortcuts: /* @__PURE__ */ ve(Gc, {})
|
|
18412
|
+
}, Hc = (re) => typeof re != "string";
|
|
18413
|
+
function Vc({ openShortcuts: re, shouldFocus: he }) {
|
|
18413
18414
|
const [Ce, rt] = _r(!1), [lt, Mt] = _r(null), Pe = Wn(), Ee = lr(), C = () => {
|
|
18414
18415
|
rt(!Ce), Pe.setGlobalKeysDisabled(!Ce);
|
|
18415
18416
|
}, ie = Nr(null), T = Nr([]), { refs: t, floatingStyles: e, context: p } = sa({
|
|
@@ -18460,7 +18461,7 @@ function Hc({ openShortcuts: re, shouldFocus: he }) {
|
|
|
18460
18461
|
...n({
|
|
18461
18462
|
onClick: () => C()
|
|
18462
18463
|
}),
|
|
18463
|
-
children: /* @__PURE__ */ ve(
|
|
18464
|
+
children: /* @__PURE__ */ ve(kc, {})
|
|
18464
18465
|
}
|
|
18465
18466
|
),
|
|
18466
18467
|
Ce && /* @__PURE__ */ ve(ro, { context: p, guards: !1, children: /* @__PURE__ */ ln(
|
|
@@ -18490,7 +18491,7 @@ function Hc({ openShortcuts: re, shouldFocus: he }) {
|
|
|
18490
18491
|
}
|
|
18491
18492
|
}),
|
|
18492
18493
|
children: [
|
|
18493
|
-
|
|
18494
|
+
Hc($) ? $ : qc[$],
|
|
18494
18495
|
L
|
|
18495
18496
|
]
|
|
18496
18497
|
},
|
|
@@ -18509,7 +18510,7 @@ function Hc({ openShortcuts: re, shouldFocus: he }) {
|
|
|
18509
18510
|
) })
|
|
18510
18511
|
] });
|
|
18511
18512
|
}
|
|
18512
|
-
function
|
|
18513
|
+
function jc() {
|
|
18513
18514
|
const re = Wn(), he = oa(), Ce = Nr(!1), rt = Nr(!1), lt = Zn(() => {
|
|
18514
18515
|
re.setKeyboardShortcutsOpen(!0), re.disableInteractions();
|
|
18515
18516
|
const Pe = he.getPlayer();
|
|
@@ -18517,8 +18518,8 @@ function Vc() {
|
|
|
18517
18518
|
}, [he, re]), Mt = Zn(() => {
|
|
18518
18519
|
re.setKeyboardShortcutsOpen(!1), re.enableInteractions(), Ce.current && (Ce.current = !1, he.play());
|
|
18519
18520
|
}, [he, re]);
|
|
18520
|
-
return re.state.isKeyboardShortcutsOpen ? /* @__PURE__ */ ve(
|
|
18521
|
-
|
|
18521
|
+
return re.state.isKeyboardShortcutsOpen ? /* @__PURE__ */ ve(Fc, { onClose: Mt }) : /* @__PURE__ */ ve("div", { className: Fr.controlsOverlay, children: /* @__PURE__ */ ve(
|
|
18522
|
+
Vc,
|
|
18522
18523
|
{
|
|
18523
18524
|
openShortcuts: lt,
|
|
18524
18525
|
shouldFocus: rt.current
|
|
@@ -18532,7 +18533,7 @@ const Vs = (re) => /* @__PURE__ */ ln("svg", { width: 24, height: 24, viewBox: "
|
|
|
18532
18533
|
/* @__PURE__ */ ve("defs", { children: /* @__PURE__ */ ve("clipPath", { id: "clip0_149_104406", children: /* @__PURE__ */ ve("rect", { width: 24, height: 24, fill: "white" }) }) }),
|
|
18533
18534
|
/* @__PURE__ */ ve("g", { clipPath: "url(#clip0_149_104406)", children: /* @__PURE__ */ ve("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" }) })
|
|
18534
18535
|
] });
|
|
18535
|
-
function
|
|
18536
|
+
function Yc() {
|
|
18536
18537
|
const re = oa(), he = $n("textTrack"), Ce = $n("hasCaptions"), rt = he && zl(he), lt = Wn(), { t: Mt } = Hn(), Pe = Zn(
|
|
18537
18538
|
(Ee) => {
|
|
18538
18539
|
re.toggleCaptions(Ee.nativeEvent);
|
|
@@ -18552,11 +18553,11 @@ function jc() {
|
|
|
18552
18553
|
}
|
|
18553
18554
|
) : null;
|
|
18554
18555
|
}
|
|
18555
|
-
const
|
|
18556
|
-
captions:
|
|
18557
|
-
},
|
|
18556
|
+
const Kc = "_captions_1qij2_1", zc = {
|
|
18557
|
+
captions: Kc
|
|
18558
|
+
}, Wc = (re, he) => re ? he.top : he.bottom;
|
|
18558
18559
|
function Ys({ captions: re }) {
|
|
18559
|
-
const he = re.length > 0, Ce = Wn(), { captionOffsetOverride: rt } = lr(), lt = Ce.state.captionPositionOnTop, Mt =
|
|
18560
|
+
const he = re.length > 0, Ce = Wn(), { captionOffsetOverride: rt } = lr(), lt = Ce.state.captionPositionOnTop, Mt = Wc(
|
|
18560
18561
|
lt,
|
|
18561
18562
|
rt ?? {}
|
|
18562
18563
|
);
|
|
@@ -18583,12 +18584,12 @@ function Ys({ captions: re }) {
|
|
|
18583
18584
|
"--captions-color": Ce.state.captionsInvertColors ? "rgba(22, 22, 22)" : "white",
|
|
18584
18585
|
"--captions-background-color": Ce.state.captionsInvertColors ? "rgba(255, 255, 255, 0.75)" : "rgba(22, 22, 22, 0.75)"
|
|
18585
18586
|
},
|
|
18586
|
-
children: /* @__PURE__ */ ve(Ql, { className:
|
|
18587
|
+
children: /* @__PURE__ */ ve(Ql, { className: zc.captions })
|
|
18587
18588
|
}
|
|
18588
18589
|
) : null
|
|
18589
18590
|
] });
|
|
18590
18591
|
}
|
|
18591
|
-
const mi = [0.5, 0.75, 1, 1.25, 1.5, 2],
|
|
18592
|
+
const mi = [0.5, 0.75, 1, 1.25, 1.5, 2], Qc = [0.5, 1, 2, 3, 4], Xc = 5, $c = (re) => {
|
|
18592
18593
|
const [, he] = _r({});
|
|
18593
18594
|
return Mr(() => {
|
|
18594
18595
|
let Ce = [];
|
|
@@ -18607,21 +18608,21 @@ const mi = [0.5, 0.75, 1, 1.25, 1.5, 2], Wc = [0.5, 1, 2, 3, 4], Qc = 5, Xc = (r
|
|
|
18607
18608
|
}
|
|
18608
18609
|
};
|
|
18609
18610
|
}, []);
|
|
18610
|
-
},
|
|
18611
|
+
}, Jc = (re, he, Ce) => {
|
|
18611
18612
|
let rt = !1;
|
|
18612
18613
|
return (lt) => {
|
|
18613
18614
|
const Mt = lt.detail.currentTime;
|
|
18614
18615
|
Mt >= re.timestamp && Mt < re.timestamp + he && !rt && (Ce.add(re), rt = !0), (Mt < re.timestamp || Mt >= re.timestamp + he) && rt && (Ce.remove(re), rt = !1);
|
|
18615
18616
|
};
|
|
18616
|
-
},
|
|
18617
|
-
const Ce = Dr(), rt =
|
|
18617
|
+
}, ef = (re, he = 5) => {
|
|
18618
|
+
const Ce = Dr(), rt = $c(he);
|
|
18618
18619
|
return Pr(() => {
|
|
18619
18620
|
if (!Ce)
|
|
18620
18621
|
return;
|
|
18621
18622
|
const lt = new AbortController();
|
|
18622
18623
|
return requestAnimationFrame(() => {
|
|
18623
18624
|
for (const Mt of re) {
|
|
18624
|
-
const Pe =
|
|
18625
|
+
const Pe = Jc(Mt, Xc, rt);
|
|
18625
18626
|
Ce.addEventListener("time-update", Pe, {
|
|
18626
18627
|
signal: lt.signal
|
|
18627
18628
|
});
|
|
@@ -18635,21 +18636,21 @@ const mi = [0.5, 0.75, 1, 1.25, 1.5, 2], Wc = [0.5, 1, 2, 3, 4], Qc = 5, Xc = (r
|
|
|
18635
18636
|
lt.abort(), rt.clear();
|
|
18636
18637
|
};
|
|
18637
18638
|
}, [Ce, rt, re]), rt;
|
|
18638
|
-
},
|
|
18639
|
+
}, tf = "_comments-overlay_bymws_1", nf = "_comments-container_bymws_10", rf = "_kebab_bymws_20", af = "_comment_bymws_1", of = "_comment-text_bymws_51", sf = "_comment-author-avatar_bymws_71", uf = "_comment-author-name_bymws_95", Vr = {
|
|
18639
18640
|
"comments-overlay": "_comments-overlay_bymws_1",
|
|
18640
|
-
commentsOverlay:
|
|
18641
|
+
commentsOverlay: tf,
|
|
18641
18642
|
"comments-container": "_comments-container_bymws_10",
|
|
18642
|
-
commentsContainer:
|
|
18643
|
-
kebab:
|
|
18644
|
-
comment:
|
|
18643
|
+
commentsContainer: nf,
|
|
18644
|
+
kebab: rf,
|
|
18645
|
+
comment: af,
|
|
18645
18646
|
"comment-text": "_comment-text_bymws_51",
|
|
18646
|
-
commentText:
|
|
18647
|
+
commentText: of,
|
|
18647
18648
|
"comment-author-avatar": "_comment-author-avatar_bymws_71",
|
|
18648
|
-
commentAuthorAvatar:
|
|
18649
|
+
commentAuthorAvatar: sf,
|
|
18649
18650
|
"comment-author-name": "_comment-author-name_bymws_95",
|
|
18650
|
-
commentAuthorName:
|
|
18651
|
+
commentAuthorName: uf
|
|
18651
18652
|
};
|
|
18652
|
-
function
|
|
18653
|
+
function lf({ comment: re }) {
|
|
18653
18654
|
return re.render ? re.render(re, Vr) : /* @__PURE__ */ ln("div", { className: Vr.comment, onClick: () => {
|
|
18654
18655
|
var he;
|
|
18655
18656
|
return (he = re.onClick) == null ? void 0 : he.call(re, re);
|
|
@@ -18666,12 +18667,12 @@ function uf({ comment: re }) {
|
|
|
18666
18667
|
/* @__PURE__ */ ve("span", { className: Vr.commentAuthorName, children: re.user.name })
|
|
18667
18668
|
] });
|
|
18668
18669
|
}
|
|
18669
|
-
const
|
|
18670
|
-
function
|
|
18670
|
+
const cf = 4;
|
|
18671
|
+
function ff({
|
|
18671
18672
|
comments: re,
|
|
18672
18673
|
isKebabMenuVisible: he
|
|
18673
18674
|
}) {
|
|
18674
|
-
const Ce = Wn(), rt =
|
|
18675
|
+
const Ce = Wn(), rt = ef(re, cf), lt = !!$n("textTrack"), Mt = rt.map((Pe) => /* @__PURE__ */ ve(lf, { comment: Pe }, Pe.id));
|
|
18675
18676
|
return re.length > 0 && Ce.state.commentsEnabled ? /* @__PURE__ */ ve(
|
|
18676
18677
|
"div",
|
|
18677
18678
|
{
|
|
@@ -18691,26 +18692,26 @@ function cf({
|
|
|
18691
18692
|
}
|
|
18692
18693
|
) : null;
|
|
18693
18694
|
}
|
|
18694
|
-
function
|
|
18695
|
+
function df({ renderOverlay: re }) {
|
|
18695
18696
|
const he = Wn();
|
|
18696
18697
|
return re(he);
|
|
18697
18698
|
}
|
|
18698
|
-
const
|
|
18699
|
+
const gf = (re) => /* @__PURE__ */ ve("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...re, children: /* @__PURE__ */ ve("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" }) }), hf = (re) => /* @__PURE__ */ ve("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...re, children: /* @__PURE__ */ ve("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M12.037 3.03704L6.07407 9L12.037 14.963L11 16L4 9L11 2L12.037 3.03704Z", fill: "currentColor" }) }), mf = "_settings-menu_1gbpr_1", pf = "_menu-heading_1gbpr_37", yf = "_check-icon_1gbpr_48", _f = "_trash-icon_1gbpr_49", Ef = "_menu-item-label_1gbpr_62", vf = "_menu-item_1gbpr_62", Tf = "_menu-back-button_1gbpr_99", bf = "_arrow_1gbpr_125", kr = {
|
|
18699
18700
|
"settings-menu": "_settings-menu_1gbpr_1",
|
|
18700
|
-
settingsMenu:
|
|
18701
|
+
settingsMenu: mf,
|
|
18701
18702
|
"menu-heading": "_menu-heading_1gbpr_37",
|
|
18702
|
-
menuHeading:
|
|
18703
|
+
menuHeading: pf,
|
|
18703
18704
|
"check-icon": "_check-icon_1gbpr_48",
|
|
18704
|
-
checkIcon:
|
|
18705
|
+
checkIcon: yf,
|
|
18705
18706
|
"trash-icon": "_trash-icon_1gbpr_49",
|
|
18706
|
-
trashIcon:
|
|
18707
|
+
trashIcon: _f,
|
|
18707
18708
|
"menu-item-label": "_menu-item-label_1gbpr_62",
|
|
18708
|
-
menuItemLabel:
|
|
18709
|
+
menuItemLabel: Ef,
|
|
18709
18710
|
"menu-item": "_menu-item_1gbpr_62",
|
|
18710
|
-
menuItem:
|
|
18711
|
+
menuItem: vf,
|
|
18711
18712
|
"menu-back-button": "_menu-back-button_1gbpr_99",
|
|
18712
|
-
menuBackButton:
|
|
18713
|
-
arrow:
|
|
18713
|
+
menuBackButton: Tf,
|
|
18714
|
+
arrow: bf
|
|
18714
18715
|
};
|
|
18715
18716
|
function Jr({
|
|
18716
18717
|
noBackButton: re,
|
|
@@ -18728,7 +18729,7 @@ function Jr({
|
|
|
18728
18729
|
className: kr.menuBackButton,
|
|
18729
18730
|
onClick: rt.back,
|
|
18730
18731
|
children: [
|
|
18731
|
-
/* @__PURE__ */ ve(
|
|
18732
|
+
/* @__PURE__ */ ve(hf, {}),
|
|
18732
18733
|
/* @__PURE__ */ ve("span", { children: lt("BACK") })
|
|
18733
18734
|
]
|
|
18734
18735
|
}
|
|
@@ -18745,15 +18746,15 @@ function Jr({
|
|
|
18745
18746
|
Ce
|
|
18746
18747
|
] });
|
|
18747
18748
|
}
|
|
18748
|
-
const
|
|
18749
|
+
const Sf = (re) => /* @__PURE__ */ ve("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...re, children: /* @__PURE__ */ ve("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M6 3.03704L7.03704 2L14.037 9L7.03704 16L6 14.963L11.963 9L6 3.03704Z", fill: "currentColor" }) }), Af = "_menu-hint_1wiu5_1", If = "_menu-button_1wiu5_5", Rf = "_menu-label_1wiu5_37", wf = "_menu-icon_1wiu5_42", ra = {
|
|
18749
18750
|
"menu-hint": "_menu-hint_1wiu5_1",
|
|
18750
|
-
menuHint:
|
|
18751
|
+
menuHint: Af,
|
|
18751
18752
|
"menu-button": "_menu-button_1wiu5_5",
|
|
18752
|
-
menuButton:
|
|
18753
|
+
menuButton: If,
|
|
18753
18754
|
"menu-label": "_menu-label_1wiu5_37",
|
|
18754
|
-
menuLabel:
|
|
18755
|
+
menuLabel: Rf,
|
|
18755
18756
|
"menu-icon": "_menu-icon_1wiu5_42",
|
|
18756
|
-
menuIcon:
|
|
18757
|
+
menuIcon: wf
|
|
18757
18758
|
};
|
|
18758
18759
|
function yi({ label: re, hint: he, onClick: Ce, Icon: rt }) {
|
|
18759
18760
|
return /* @__PURE__ */ ln(
|
|
@@ -18769,13 +18770,13 @@ function yi({ label: re, hint: he, onClick: Ce, Icon: rt }) {
|
|
|
18769
18770
|
rt && /* @__PURE__ */ ve(rt, { className: ra.menuIcon }),
|
|
18770
18771
|
/* @__PURE__ */ ve("span", { className: ra.menuLabel, children: re }),
|
|
18771
18772
|
he && /* @__PURE__ */ ve("span", { className: ra.menuHint, children: he }),
|
|
18772
|
-
/* @__PURE__ */ ve(
|
|
18773
|
+
/* @__PURE__ */ ve(Sf, {})
|
|
18773
18774
|
]
|
|
18774
18775
|
}
|
|
18775
18776
|
);
|
|
18776
18777
|
}
|
|
18777
|
-
const
|
|
18778
|
-
function
|
|
18778
|
+
const Cf = (re) => /* @__PURE__ */ ve("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...re, children: /* @__PURE__ */ ve("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" }) });
|
|
18779
|
+
function Nf() {
|
|
18779
18780
|
const re = jr(), he = $n("playbackRate"), { t: Ce } = Hn(), rt = Zn(() => {
|
|
18780
18781
|
re.setPage("speed");
|
|
18781
18782
|
}, [re]);
|
|
@@ -18785,11 +18786,11 @@ function Cf() {
|
|
|
18785
18786
|
label: Ce("PLAYBACK_SPEED"),
|
|
18786
18787
|
hint: `${he}x`,
|
|
18787
18788
|
onClick: rt,
|
|
18788
|
-
Icon:
|
|
18789
|
+
Icon: Cf
|
|
18789
18790
|
}
|
|
18790
18791
|
);
|
|
18791
18792
|
}
|
|
18792
|
-
const
|
|
18793
|
+
const Df = (re) => /* @__PURE__ */ ln("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...re, children: [
|
|
18793
18794
|
/* @__PURE__ */ ve("defs", { children: /* @__PURE__ */ ve("clipPath", { id: "clip0_412_23039", children: /* @__PURE__ */ ve("rect", { width: 18, height: 18, fill: "white" }) }) }),
|
|
18794
18795
|
/* @__PURE__ */ ln("g", { clipPath: "url(#clip0_412_23039)", children: [
|
|
18795
18796
|
/* @__PURE__ */ ve("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" }),
|
|
@@ -18804,7 +18805,7 @@ function Ks(re) {
|
|
|
18804
18805
|
const rt = Ce > he, lt = rt ? he : Ce, Mt = rt ? Ce : he;
|
|
18805
18806
|
return lt >= 1400 || Mt >= 2500 ? "1440p" : lt >= 1e3 || Mt >= 1800 ? "1080p" : lt >= 700 || Mt >= 1200 ? "720p" : lt >= 460 || Mt >= 800 ? "480p" : lt >= 300 || Mt >= 540 ? "360p" : lt >= 200 || Mt >= 360 ? "240p" : "144p";
|
|
18806
18807
|
}
|
|
18807
|
-
function
|
|
18808
|
+
function Of() {
|
|
18808
18809
|
const re = jr(), he = $n("autoQuality"), Ce = $n("quality"), { t: rt } = Hn(), lt = Zn(() => {
|
|
18809
18810
|
re.setPage("quality");
|
|
18810
18811
|
}, [re]);
|
|
@@ -18817,11 +18818,11 @@ function Df() {
|
|
|
18817
18818
|
label: rt("QUALITY"),
|
|
18818
18819
|
hint: he ? rt("AUTO", { quality: Mt }) : Mt,
|
|
18819
18820
|
onClick: lt,
|
|
18820
|
-
Icon:
|
|
18821
|
+
Icon: Df
|
|
18821
18822
|
}
|
|
18822
18823
|
);
|
|
18823
18824
|
}
|
|
18824
|
-
function
|
|
18825
|
+
function Mf() {
|
|
18825
18826
|
const re = jr(), he = $n("hasCaptions"), Ce = $n("textTrack"), { t: rt } = Hn(), lt = Zn(() => {
|
|
18826
18827
|
re.setPage("captions");
|
|
18827
18828
|
}, [re]);
|
|
@@ -18835,19 +18836,19 @@ function Of() {
|
|
|
18835
18836
|
}
|
|
18836
18837
|
) : null;
|
|
18837
18838
|
}
|
|
18838
|
-
const
|
|
18839
|
+
const Pf = (re) => /* @__PURE__ */ ve("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...re, children: /* @__PURE__ */ ve("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" }) }), Lf = (re) => /* @__PURE__ */ ve("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...re, children: /* @__PURE__ */ ve("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" }) }), xf = "_switch-track_7nhpo_1", Ff = "_switch-thumb_7nhpo_17", kf = "_switch-icon_7nhpo_31", Zf = "_switch-body_7nhpo_37", Uf = "_switch-label_7nhpo_78", Bf = "_menu-icon_7nhpo_82", $r = {
|
|
18839
18840
|
"switch-track": "_switch-track_7nhpo_1",
|
|
18840
|
-
switchTrack:
|
|
18841
|
+
switchTrack: xf,
|
|
18841
18842
|
"switch-thumb": "_switch-thumb_7nhpo_17",
|
|
18842
|
-
switchThumb:
|
|
18843
|
+
switchThumb: Ff,
|
|
18843
18844
|
"switch-icon": "_switch-icon_7nhpo_31",
|
|
18844
|
-
switchIcon:
|
|
18845
|
+
switchIcon: kf,
|
|
18845
18846
|
"switch-body": "_switch-body_7nhpo_37",
|
|
18846
|
-
switchBody:
|
|
18847
|
+
switchBody: Zf,
|
|
18847
18848
|
"switch-label": "_switch-label_7nhpo_78",
|
|
18848
|
-
switchLabel:
|
|
18849
|
+
switchLabel: Uf,
|
|
18849
18850
|
"menu-icon": "_menu-icon_7nhpo_82",
|
|
18850
|
-
menuIcon:
|
|
18851
|
+
menuIcon: Bf
|
|
18851
18852
|
};
|
|
18852
18853
|
function oo({
|
|
18853
18854
|
label: re,
|
|
@@ -18867,33 +18868,33 @@ function oo({
|
|
|
18867
18868
|
children: [
|
|
18868
18869
|
rt && /* @__PURE__ */ ve(rt, { className: $r.menuIcon }),
|
|
18869
18870
|
/* @__PURE__ */ ve("span", { className: $r.switchLabel, children: re }),
|
|
18870
|
-
/* @__PURE__ */ ve("div", { className: $r.switchTrack, children: /* @__PURE__ */ ve("div", { className: $r.switchThumb, children: he ? /* @__PURE__ */ ve(
|
|
18871
|
+
/* @__PURE__ */ ve("div", { className: $r.switchTrack, children: /* @__PURE__ */ ve("div", { className: $r.switchThumb, children: he ? /* @__PURE__ */ ve(Pf, { className: $r.switchIcon }) : /* @__PURE__ */ ve(Lf, { className: $r.switchIcon }) }) })
|
|
18871
18872
|
]
|
|
18872
18873
|
}
|
|
18873
18874
|
);
|
|
18874
18875
|
}
|
|
18875
|
-
const
|
|
18876
|
-
function
|
|
18876
|
+
const Gf = (re) => /* @__PURE__ */ ve("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...re, children: /* @__PURE__ */ ve("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" }) });
|
|
18877
|
+
function qf() {
|
|
18877
18878
|
const { t: re } = Hn(), he = lr(), Ce = Wn();
|
|
18878
18879
|
return !he.forceComments && he.hasComments ? /* @__PURE__ */ ve(
|
|
18879
18880
|
oo,
|
|
18880
18881
|
{
|
|
18881
|
-
Icon:
|
|
18882
|
+
Icon: Gf,
|
|
18882
18883
|
label: re("COMMENTS"),
|
|
18883
18884
|
onClick: Ce.toggleComments,
|
|
18884
18885
|
checked: Ce.state.commentsEnabled
|
|
18885
18886
|
}
|
|
18886
18887
|
) : null;
|
|
18887
18888
|
}
|
|
18888
|
-
function
|
|
18889
|
+
function Hf() {
|
|
18889
18890
|
return /* @__PURE__ */ ln(Jr, { noBackButton: !0, children: [
|
|
18890
|
-
/* @__PURE__ */ ve(
|
|
18891
|
-
/* @__PURE__ */ ve(
|
|
18892
|
-
/* @__PURE__ */ ve(
|
|
18893
|
-
/* @__PURE__ */ ve(
|
|
18891
|
+
/* @__PURE__ */ ve(Nf, {}),
|
|
18892
|
+
/* @__PURE__ */ ve(Mf, {}),
|
|
18893
|
+
/* @__PURE__ */ ve(qf, {}),
|
|
18894
|
+
/* @__PURE__ */ ve(Of, {})
|
|
18894
18895
|
] });
|
|
18895
18896
|
}
|
|
18896
|
-
const
|
|
18897
|
+
const Vf = (re) => /* @__PURE__ */ ve("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...re, children: /* @__PURE__ */ ve("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" }) });
|
|
18897
18898
|
function la({ selected: re, label: he, onClick: Ce }) {
|
|
18898
18899
|
return /* @__PURE__ */ ln(
|
|
18899
18900
|
"button",
|
|
@@ -18905,13 +18906,13 @@ function la({ selected: re, label: he, onClick: Ce }) {
|
|
|
18905
18906
|
tabIndex: -1,
|
|
18906
18907
|
className: kr.menuItem,
|
|
18907
18908
|
children: [
|
|
18908
|
-
/* @__PURE__ */ ve(
|
|
18909
|
+
/* @__PURE__ */ ve(Vf, { className: kr.checkIcon }),
|
|
18909
18910
|
/* @__PURE__ */ ve("span", { className: kr.menuItemLabel, children: he })
|
|
18910
18911
|
]
|
|
18911
18912
|
}
|
|
18912
18913
|
);
|
|
18913
18914
|
}
|
|
18914
|
-
function
|
|
18915
|
+
function jf() {
|
|
18915
18916
|
const re = Xl({
|
|
18916
18917
|
rates: mi,
|
|
18917
18918
|
normalLabel: "1x"
|
|
@@ -18926,13 +18927,13 @@ function Vf() {
|
|
|
18926
18927
|
Ce
|
|
18927
18928
|
)) });
|
|
18928
18929
|
}
|
|
18929
|
-
function
|
|
18930
|
+
function Yf() {
|
|
18930
18931
|
const re = jr(), { t: he } = Hn(), Ce = Zn(() => {
|
|
18931
18932
|
re.setPage("captionManage");
|
|
18932
18933
|
}, [re]);
|
|
18933
18934
|
return /* @__PURE__ */ ve(yi, { label: he("CAPTIONS_MANAGE"), onClick: Ce });
|
|
18934
18935
|
}
|
|
18935
|
-
function
|
|
18936
|
+
function Kf() {
|
|
18936
18937
|
const { t: re } = Hn(), he = Wn(), Ce = jr(), rt = Zn(() => {
|
|
18937
18938
|
Ce.setPage("captionFontSize");
|
|
18938
18939
|
}, [Ce]);
|
|
@@ -18945,7 +18946,7 @@ function Yf() {
|
|
|
18945
18946
|
}
|
|
18946
18947
|
);
|
|
18947
18948
|
}
|
|
18948
|
-
function
|
|
18949
|
+
function zf() {
|
|
18949
18950
|
const re = jr(), he = $n("textTrack"), { t: Ce } = Hn(), { disableCaptionSettings: rt } = Wn(), lt = Zn(() => {
|
|
18950
18951
|
re.setPage("captionLanguage");
|
|
18951
18952
|
}, [re]);
|
|
@@ -18958,7 +18959,7 @@ function Kf() {
|
|
|
18958
18959
|
}
|
|
18959
18960
|
);
|
|
18960
18961
|
}
|
|
18961
|
-
function
|
|
18962
|
+
function Wf() {
|
|
18962
18963
|
const { t: re } = Hn(), he = Wn();
|
|
18963
18964
|
return /* @__PURE__ */ ve(
|
|
18964
18965
|
oo,
|
|
@@ -18969,7 +18970,7 @@ function zf() {
|
|
|
18969
18970
|
}
|
|
18970
18971
|
);
|
|
18971
18972
|
}
|
|
18972
|
-
function
|
|
18973
|
+
function Qf() {
|
|
18973
18974
|
const { t: re } = Hn(), he = Wn();
|
|
18974
18975
|
return /* @__PURE__ */ ve(
|
|
18975
18976
|
oo,
|
|
@@ -18980,17 +18981,17 @@ function Wf() {
|
|
|
18980
18981
|
}
|
|
18981
18982
|
);
|
|
18982
18983
|
}
|
|
18983
|
-
function
|
|
18984
|
+
function Xf() {
|
|
18984
18985
|
const re = lr(), { t: he } = Hn();
|
|
18985
18986
|
return /* @__PURE__ */ ln(Jr, { heading: he("CAPTIONS"), children: [
|
|
18986
|
-
/* @__PURE__ */ ve(Kf, {}),
|
|
18987
|
-
/* @__PURE__ */ ve(Yf, {}),
|
|
18988
18987
|
/* @__PURE__ */ ve(zf, {}),
|
|
18988
|
+
/* @__PURE__ */ ve(Kf, {}),
|
|
18989
18989
|
/* @__PURE__ */ ve(Wf, {}),
|
|
18990
|
-
|
|
18990
|
+
/* @__PURE__ */ ve(Qf, {}),
|
|
18991
|
+
re.onCaptionsDelete && /* @__PURE__ */ ve(Yf, {})
|
|
18991
18992
|
] });
|
|
18992
18993
|
}
|
|
18993
|
-
function
|
|
18994
|
+
function $f() {
|
|
18994
18995
|
const re = $l(), { t: he } = Hn();
|
|
18995
18996
|
return /* @__PURE__ */ ve(Jr, { heading: he("CAPTIONS_LANGUAGE"), children: re.map(({ value: Ce, label: rt, select: lt, selected: Mt }) => /* @__PURE__ */ ve(
|
|
18996
18997
|
la,
|
|
@@ -19002,9 +19003,9 @@ function Xf() {
|
|
|
19002
19003
|
Ce
|
|
19003
19004
|
)) });
|
|
19004
19005
|
}
|
|
19005
|
-
function
|
|
19006
|
+
function Jf() {
|
|
19006
19007
|
const re = Wn(), { t: he } = Hn();
|
|
19007
|
-
return /* @__PURE__ */ ve(Jr, { heading: he("CAPTION_FONT_SIZE"), children:
|
|
19008
|
+
return /* @__PURE__ */ ve(Jr, { heading: he("CAPTION_FONT_SIZE"), children: Qc.map((Ce) => /* @__PURE__ */ ve(
|
|
19008
19009
|
la,
|
|
19009
19010
|
{
|
|
19010
19011
|
selected: Ce === re.state.captionsFontSizeMultiplier,
|
|
@@ -19024,7 +19025,7 @@ const jr = () => {
|
|
|
19024
19025
|
);
|
|
19025
19026
|
return re;
|
|
19026
19027
|
};
|
|
19027
|
-
function
|
|
19028
|
+
function ed() {
|
|
19028
19029
|
const re = jr(), he = lr(), { t: Ce } = Hn();
|
|
19029
19030
|
return Pr(() => {
|
|
19030
19031
|
he.captions.length === 0 && re.backToMain();
|
|
@@ -19047,7 +19048,7 @@ function Jf() {
|
|
|
19047
19048
|
rt.language
|
|
19048
19049
|
)) });
|
|
19049
19050
|
}
|
|
19050
|
-
function
|
|
19051
|
+
function td() {
|
|
19051
19052
|
const re = $n("autoQuality"), he = Jl({ sort: "descending" }), { t: Ce } = Hn();
|
|
19052
19053
|
return /* @__PURE__ */ ve(Jr, { heading: Ce("QUALITY"), children: he.map(({ value: rt, select: lt, selected: Mt, label: Pe, quality: Ee }) => /* @__PURE__ */ ve(
|
|
19053
19054
|
la,
|
|
@@ -19059,11 +19060,11 @@ function ed() {
|
|
|
19059
19060
|
rt
|
|
19060
19061
|
)) });
|
|
19061
19062
|
}
|
|
19062
|
-
function
|
|
19063
|
+
function nd(re, he) {
|
|
19063
19064
|
const Ce = Array.from(re.querySelectorAll("button")), rt = Ce.indexOf(he);
|
|
19064
19065
|
return Ce[rt - 1] ?? null;
|
|
19065
19066
|
}
|
|
19066
|
-
function
|
|
19067
|
+
function rd(re, he) {
|
|
19067
19068
|
const Ce = Array.from(re.querySelectorAll("button")), rt = Ce.indexOf(he);
|
|
19068
19069
|
return Ce[rt + 1] ?? null;
|
|
19069
19070
|
}
|
|
@@ -19074,14 +19075,14 @@ function Os(re) {
|
|
|
19074
19075
|
const he = Array.from(re.querySelectorAll("button"));
|
|
19075
19076
|
return he[he.length - 1] ?? null;
|
|
19076
19077
|
}
|
|
19077
|
-
function
|
|
19078
|
+
function id(re, he) {
|
|
19078
19079
|
const Ce = Nr(null), rt = Mr(
|
|
19079
19080
|
() => ({
|
|
19080
19081
|
Escape: re.toggle,
|
|
19081
19082
|
ArrowUp: () => {
|
|
19082
19083
|
const lt = document.activeElement;
|
|
19083
19084
|
if (lt && Ce.current && Ce.current.contains(lt)) {
|
|
19084
|
-
const Mt =
|
|
19085
|
+
const Mt = nd(
|
|
19085
19086
|
Ce.current,
|
|
19086
19087
|
lt
|
|
19087
19088
|
);
|
|
@@ -19099,7 +19100,7 @@ function rd(re, he) {
|
|
|
19099
19100
|
ArrowDown: () => {
|
|
19100
19101
|
const lt = document.activeElement;
|
|
19101
19102
|
if (lt && Ce.current && Ce.current.contains(lt)) {
|
|
19102
|
-
const Mt =
|
|
19103
|
+
const Mt = rd(
|
|
19103
19104
|
Ce.current,
|
|
19104
19105
|
lt
|
|
19105
19106
|
);
|
|
@@ -19124,25 +19125,25 @@ function rd(re, he) {
|
|
|
19124
19125
|
);
|
|
19125
19126
|
return ao(rt, !0, he), Ce;
|
|
19126
19127
|
}
|
|
19127
|
-
const zs = Wa(null),
|
|
19128
|
-
main:
|
|
19129
|
-
speed:
|
|
19130
|
-
captions:
|
|
19131
|
-
captionLanguage:
|
|
19132
|
-
captionFontSize:
|
|
19133
|
-
captionManage:
|
|
19134
|
-
quality:
|
|
19135
|
-
},
|
|
19128
|
+
const zs = Wa(null), ad = {
|
|
19129
|
+
main: Hf,
|
|
19130
|
+
speed: jf,
|
|
19131
|
+
captions: Xf,
|
|
19132
|
+
captionLanguage: $f,
|
|
19133
|
+
captionFontSize: Jf,
|
|
19134
|
+
captionManage: ed,
|
|
19135
|
+
quality: td
|
|
19136
|
+
}, od = {
|
|
19136
19137
|
name: "middleware",
|
|
19137
19138
|
async fn(re) {
|
|
19138
|
-
const he = await
|
|
19139
|
+
const he = await lc(re);
|
|
19139
19140
|
return {
|
|
19140
19141
|
x: re.x - he.right - 4,
|
|
19141
19142
|
y: re.y - 4
|
|
19142
19143
|
};
|
|
19143
19144
|
}
|
|
19144
19145
|
};
|
|
19145
|
-
function
|
|
19146
|
+
function sd() {
|
|
19146
19147
|
const re = Wn(), [he, Ce] = _r(["main"]), [rt, lt] = _r(!1), Mt = Zn(() => {
|
|
19147
19148
|
lt(!rt), Ce(["main"]), re.setGlobalKeysDisabled(!rt);
|
|
19148
19149
|
}, [rt]), Pe = Zn((c) => {
|
|
@@ -19151,16 +19152,16 @@ function od() {
|
|
|
19151
19152
|
Ce((c) => c.length > 1 ? c.slice(0, -1) : c);
|
|
19152
19153
|
}, []), C = Zn(() => {
|
|
19153
19154
|
Ce(["main"]);
|
|
19154
|
-
}, []), ie = Mr(() =>
|
|
19155
|
+
}, []), ie = Mr(() => ad[he[he.length - 1]], [he]), { refs: T, floatingStyles: t, context: e } = sa({
|
|
19155
19156
|
open: rt,
|
|
19156
19157
|
onOpenChange: Mt,
|
|
19157
19158
|
placement: "top-end",
|
|
19158
19159
|
whileElementsMounted: ua,
|
|
19159
|
-
middleware: [
|
|
19160
|
+
middleware: [od]
|
|
19160
19161
|
}), p = to(e, { escapeKey: !1 }), { getReferenceProps: m, getFloatingProps: o } = no([p]), E = Mr(
|
|
19161
19162
|
() => ({ setPage: Pe, back: Ee, backToMain: C, toggle: Mt }),
|
|
19162
19163
|
[Pe, Ee, C, Mt]
|
|
19163
|
-
), h =
|
|
19164
|
+
), h = id(E, rt), n = eo([T.setFloating, h]);
|
|
19164
19165
|
return {
|
|
19165
19166
|
Page: ie,
|
|
19166
19167
|
open: rt,
|
|
@@ -19178,7 +19179,7 @@ function od() {
|
|
|
19178
19179
|
contextValue: E
|
|
19179
19180
|
};
|
|
19180
19181
|
}
|
|
19181
|
-
function
|
|
19182
|
+
function ud() {
|
|
19182
19183
|
const {
|
|
19183
19184
|
Page: re,
|
|
19184
19185
|
context: he,
|
|
@@ -19189,7 +19190,7 @@ function sd() {
|
|
|
19189
19190
|
floatingRef: Pe,
|
|
19190
19191
|
referenceRef: Ee,
|
|
19191
19192
|
contextValue: C
|
|
19192
|
-
} =
|
|
19193
|
+
} = sd(), { t: ie } = Hn();
|
|
19193
19194
|
return /* @__PURE__ */ ln(pi, { children: [
|
|
19194
19195
|
/* @__PURE__ */ ve(
|
|
19195
19196
|
"button",
|
|
@@ -19202,7 +19203,7 @@ function sd() {
|
|
|
19202
19203
|
"aria-expanded": Mt,
|
|
19203
19204
|
"aria-haspopup": "true",
|
|
19204
19205
|
...lt(),
|
|
19205
|
-
children: /* @__PURE__ */ ve(
|
|
19206
|
+
children: /* @__PURE__ */ ve(gf, { className: "controls-button-icon icon-rotate" })
|
|
19206
19207
|
}
|
|
19207
19208
|
),
|
|
19208
19209
|
Mt && /* @__PURE__ */ ve(
|
|
@@ -19254,17 +19255,17 @@ function Ws(re, he = 1e3) {
|
|
|
19254
19255
|
}, [he]), lt;
|
|
19255
19256
|
};
|
|
19256
19257
|
}
|
|
19257
|
-
const so = (re) => /* @__PURE__ */ ve("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...re, children: /* @__PURE__ */ ve("path", { d: "M 11,21 H 5 V 3 h 6 z m 8,0 H 13 V 3 h 6 z", fill: "currentColor" }) }), uo = (re) => /* @__PURE__ */ ve("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...re, children: /* @__PURE__ */ ve("path", { d: "M 5,2 V 22 L 21,12.000665 Z", fill: "currentColor" }) }),
|
|
19258
|
+
const so = (re) => /* @__PURE__ */ ve("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...re, children: /* @__PURE__ */ ve("path", { d: "M 11,21 H 5 V 3 h 6 z m 8,0 H 13 V 3 h 6 z", fill: "currentColor" }) }), uo = (re) => /* @__PURE__ */ ve("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...re, children: /* @__PURE__ */ ve("path", { d: "M 5,2 V 22 L 21,12.000665 Z", fill: "currentColor" }) }), ld = (re) => /* @__PURE__ */ ve("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...re, children: /* @__PURE__ */ ve("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" }) }), cd = (re) => /* @__PURE__ */ ve("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...re, children: /* @__PURE__ */ ve("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" }) }), Qs = (re) => /* @__PURE__ */ ve("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...re, children: /* @__PURE__ */ ve("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" }) }), Xs = (re) => /* @__PURE__ */ ve("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...re, children: /* @__PURE__ */ ve("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" }) }), $s = (re) => /* @__PURE__ */ ve("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...re, children: /* @__PURE__ */ ve("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" }) }), fd = "_feedback-overlay_3kkqe_1", dd = "_feedback-message_3kkqe_14", gd = "_feedback-icon_3kkqe_30", hd = "_feedback-icon-animation_3kkqe_1", yr = {
|
|
19258
19259
|
"feedback-overlay": "_feedback-overlay_3kkqe_1",
|
|
19259
|
-
feedbackOverlay:
|
|
19260
|
+
feedbackOverlay: fd,
|
|
19260
19261
|
"feedback-message": "_feedback-message_3kkqe_14",
|
|
19261
|
-
feedbackMessage:
|
|
19262
|
+
feedbackMessage: dd,
|
|
19262
19263
|
"feedback-icon": "_feedback-icon_3kkqe_30",
|
|
19263
|
-
feedbackIcon:
|
|
19264
|
+
feedbackIcon: gd,
|
|
19264
19265
|
"feedback-icon-animation": "_feedback-icon-animation_3kkqe_1",
|
|
19265
|
-
feedbackIconAnimation:
|
|
19266
|
+
feedbackIconAnimation: hd
|
|
19266
19267
|
};
|
|
19267
|
-
function
|
|
19268
|
+
function md({ action: re }) {
|
|
19268
19269
|
const he = Dr();
|
|
19269
19270
|
if (!he)
|
|
19270
19271
|
return null;
|
|
@@ -19273,10 +19274,10 @@ function hd({ action: re }) {
|
|
|
19273
19274
|
return /* @__PURE__ */ ve("i", { className: yr.feedbackIcon, children: he.paused ? /* @__PURE__ */ ve(so, {}) : /* @__PURE__ */ ve(uo, {}) });
|
|
19274
19275
|
case "seekForward":
|
|
19275
19276
|
case "seekForward10":
|
|
19276
|
-
return /* @__PURE__ */ ve("i", { className: yr.feedbackIcon, children: /* @__PURE__ */ ve(
|
|
19277
|
+
return /* @__PURE__ */ ve("i", { className: yr.feedbackIcon, children: /* @__PURE__ */ ve(ld, { className: "right" }) });
|
|
19277
19278
|
case "seekBackward":
|
|
19278
19279
|
case "seekBackward10":
|
|
19279
|
-
return /* @__PURE__ */ ve("i", { className: yr.feedbackIcon, children: /* @__PURE__ */ ve(
|
|
19280
|
+
return /* @__PURE__ */ ve("i", { className: yr.feedbackIcon, children: /* @__PURE__ */ ve(cd, { className: "left" }) });
|
|
19280
19281
|
case "captionsChange":
|
|
19281
19282
|
return /* @__PURE__ */ ve("i", { className: yr.feedbackIcon, children: /* @__PURE__ */ ve(js, {}) });
|
|
19282
19283
|
case "volumeChange":
|
|
@@ -19285,7 +19286,7 @@ function hd({ action: re }) {
|
|
|
19285
19286
|
return null;
|
|
19286
19287
|
}
|
|
19287
19288
|
}
|
|
19288
|
-
function
|
|
19289
|
+
function pd({ action: re }) {
|
|
19289
19290
|
const { t: he } = Hn(), Ce = Dr();
|
|
19290
19291
|
if (!Ce)
|
|
19291
19292
|
return null;
|
|
@@ -19310,18 +19311,18 @@ function md({ action: re }) {
|
|
|
19310
19311
|
return null;
|
|
19311
19312
|
}
|
|
19312
19313
|
}
|
|
19313
|
-
const
|
|
19314
|
+
const yd = Ws(md, 300), _d = Ws(pd, 1e3);
|
|
19314
19315
|
function Js() {
|
|
19315
19316
|
return /* @__PURE__ */ ln("div", { className: yr.feedbackOverlay, children: [
|
|
19316
|
-
/* @__PURE__ */ ve(
|
|
19317
|
-
/* @__PURE__ */ ve(
|
|
19317
|
+
/* @__PURE__ */ ve(yd, {}),
|
|
19318
|
+
/* @__PURE__ */ ve(_d, {})
|
|
19318
19319
|
] });
|
|
19319
19320
|
}
|
|
19320
|
-
const
|
|
19321
|
+
const Ed = (re) => /* @__PURE__ */ ve("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...re, children: /* @__PURE__ */ ve("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" }) }), vd = (re) => /* @__PURE__ */ ve("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...re, children: /* @__PURE__ */ ve("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" }) }), Td = "_full-screen-button_1xm32_2", bd = {
|
|
19321
19322
|
"full-screen-button": "_full-screen-button_1xm32_2",
|
|
19322
|
-
fullScreenButton:
|
|
19323
|
+
fullScreenButton: Td
|
|
19323
19324
|
};
|
|
19324
|
-
function
|
|
19325
|
+
function Sd() {
|
|
19325
19326
|
const re = $n("fullscreen"), he = Dr(), Ce = Wn(), rt = lr(), { t: lt } = Hn();
|
|
19326
19327
|
return rt.hideFullScreen ? null : /* @__PURE__ */ ve(
|
|
19327
19328
|
"button",
|
|
@@ -19330,18 +19331,18 @@ function bd() {
|
|
|
19330
19331
|
type: "button",
|
|
19331
19332
|
"aria-label": lt(re ? "EXIT_FULLSCREEN" : "ENTER_FULLSCREEN"),
|
|
19332
19333
|
tabIndex: Ce.state.interactionsDisabled ? -1 : 0,
|
|
19333
|
-
className: `controls-button ${
|
|
19334
|
+
className: `controls-button ${bd.fullScreenButton}`,
|
|
19334
19335
|
onClick: () => {
|
|
19335
19336
|
re ? he == null || he.exitFullscreen() : he == null || he.enterFullscreen();
|
|
19336
19337
|
},
|
|
19337
|
-
children: re ? /* @__PURE__ */ ve(
|
|
19338
|
+
children: re ? /* @__PURE__ */ ve(vd, { className: "controls-button-icon" }) : /* @__PURE__ */ ve(Ed, { className: "controls-button-icon" })
|
|
19338
19339
|
}
|
|
19339
19340
|
);
|
|
19340
19341
|
}
|
|
19341
|
-
const
|
|
19342
|
+
const Ad = "_gestures-container_1fn3b_1", Id = "_gesture_1fn3b_1", Ms = {
|
|
19342
19343
|
"gestures-container": "_gestures-container_1fn3b_1",
|
|
19343
|
-
gesturesContainer:
|
|
19344
|
-
gesture:
|
|
19344
|
+
gesturesContainer: Ad,
|
|
19345
|
+
gesture: Id
|
|
19345
19346
|
};
|
|
19346
19347
|
function eu() {
|
|
19347
19348
|
const re = oa(), he = () => {
|
|
@@ -19349,18 +19350,18 @@ function eu() {
|
|
|
19349
19350
|
};
|
|
19350
19351
|
return /* @__PURE__ */ ve("div", { className: Ms.gesturesContainer, children: /* @__PURE__ */ ve("div", { "aria-hidden": !0, className: Ms.gesture, onClick: he }) });
|
|
19351
19352
|
}
|
|
19352
|
-
const
|
|
19353
|
+
const Rd = (re) => /* @__PURE__ */ ve("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...re, children: /* @__PURE__ */ ve("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M12 0V2.66667C17.1453 2.66667 21.3333 6.85333 21.3333 12C21.3333 17.1467 17.1453 21.3333 12 21.3333C6.85467 21.3333 2.66667 17.1467 2.66667 12C2.66667 9.53733 3.64667 7.21867 5.33333 5.49067V8.66667H8V1.33333H0.666667V4H3.05467C1.108 6.176 0 9.012 0 12C0 18.616 5.38267 24 12 24C18.6173 24 24 18.616 24 12C24 5.384 18.6173 0 12 0Z", fill: "currentColor" }) }), wd = "_play-pause-button_vj8da_1", Cd = {
|
|
19353
19354
|
"play-pause-button": "_play-pause-button_vj8da_1",
|
|
19354
|
-
playPauseButton:
|
|
19355
|
+
playPauseButton: wd
|
|
19355
19356
|
};
|
|
19356
|
-
function Cd(re, he) {
|
|
19357
|
-
return he ? Id : re ? uo : so;
|
|
19358
|
-
}
|
|
19359
19357
|
function Nd(re, he) {
|
|
19358
|
+
return he ? Rd : re ? uo : so;
|
|
19359
|
+
}
|
|
19360
|
+
function Dd(re, he) {
|
|
19360
19361
|
return he ? "REPLAY" : re ? "PLAY" : "PAUSE";
|
|
19361
19362
|
}
|
|
19362
|
-
function
|
|
19363
|
-
const re = Dr(), he = Wn(), Ce = $n("paused"), rt = $n("ended"), { t: lt } = Hn(), Mt = Nr(null), Pe =
|
|
19363
|
+
function Od() {
|
|
19364
|
+
const re = Dr(), he = Wn(), Ce = $n("paused"), rt = $n("ended"), { t: lt } = Hn(), Mt = Nr(null), Pe = Nd(Ce, rt);
|
|
19364
19365
|
return Pr(() => {
|
|
19365
19366
|
const Ee = new AbortController();
|
|
19366
19367
|
return re == null || re.addEventListener(
|
|
@@ -19381,8 +19382,8 @@ function Dd() {
|
|
|
19381
19382
|
ref: Mt,
|
|
19382
19383
|
role: "button",
|
|
19383
19384
|
type: "button",
|
|
19384
|
-
className: `controls-button ${
|
|
19385
|
-
"aria-label": lt(
|
|
19385
|
+
className: `controls-button ${Cd.playPauseButton}`,
|
|
19386
|
+
"aria-label": lt(Dd(Ce, rt)),
|
|
19386
19387
|
tabIndex: he.state.interactionsDisabled ? -1 : 0,
|
|
19387
19388
|
onClick: () => {
|
|
19388
19389
|
re.paused ? re.remoteControl.play() : re.remoteControl.pause();
|
|
@@ -19391,21 +19392,21 @@ function Dd() {
|
|
|
19391
19392
|
}
|
|
19392
19393
|
) : null;
|
|
19393
19394
|
}
|
|
19394
|
-
const
|
|
19395
|
+
const Md = "_small-layout-overlay_cmaq3_1", Pd = "_small-layout-button_cmaq3_14", Ld = "_small-layout-icon-play_cmaq3_24", xd = "_small-layout-icon-pause_cmaq3_30", Fd = "_small-layout-timestamp_cmaq3_36", kd = "_full-screen-close-icon_cmaq3_49", Zd = "_fade-out_cmaq3_1", gi = {
|
|
19395
19396
|
"small-layout-overlay": "_small-layout-overlay_cmaq3_1",
|
|
19396
|
-
smallLayoutOverlay:
|
|
19397
|
+
smallLayoutOverlay: Md,
|
|
19397
19398
|
"small-layout-button": "_small-layout-button_cmaq3_14",
|
|
19398
|
-
smallLayoutButton:
|
|
19399
|
+
smallLayoutButton: Pd,
|
|
19399
19400
|
"small-layout-icon-play": "_small-layout-icon-play_cmaq3_24",
|
|
19400
|
-
smallLayoutIconPlay:
|
|
19401
|
+
smallLayoutIconPlay: Ld,
|
|
19401
19402
|
"small-layout-icon-pause": "_small-layout-icon-pause_cmaq3_30",
|
|
19402
|
-
smallLayoutIconPause:
|
|
19403
|
+
smallLayoutIconPause: xd,
|
|
19403
19404
|
"small-layout-timestamp": "_small-layout-timestamp_cmaq3_36",
|
|
19404
|
-
smallLayoutTimestamp:
|
|
19405
|
+
smallLayoutTimestamp: Fd,
|
|
19405
19406
|
"full-screen-close-icon": "_full-screen-close-icon_cmaq3_49",
|
|
19406
|
-
fullScreenCloseIcon:
|
|
19407
|
+
fullScreenCloseIcon: kd,
|
|
19407
19408
|
"fade-out": "_fade-out_cmaq3_1",
|
|
19408
|
-
fadeOut:
|
|
19409
|
+
fadeOut: Zd
|
|
19409
19410
|
};
|
|
19410
19411
|
function tu() {
|
|
19411
19412
|
const re = $n("paused");
|
|
@@ -19426,65 +19427,65 @@ function tu() {
|
|
|
19426
19427
|
}
|
|
19427
19428
|
);
|
|
19428
19429
|
}
|
|
19429
|
-
const
|
|
19430
|
+
const Ud = "_time-indicator_1uygf_1", Bd = {
|
|
19430
19431
|
"time-indicator": "_time-indicator_1uygf_1",
|
|
19431
|
-
timeIndicator:
|
|
19432
|
+
timeIndicator: Ud
|
|
19432
19433
|
};
|
|
19433
|
-
function
|
|
19434
|
-
return /* @__PURE__ */ ln("div", { className:
|
|
19434
|
+
function Gd() {
|
|
19435
|
+
return /* @__PURE__ */ ln("div", { className: Bd.timeIndicator, children: [
|
|
19435
19436
|
/* @__PURE__ */ ve(aa, { type: "current" }),
|
|
19436
19437
|
"/",
|
|
19437
19438
|
/* @__PURE__ */ ve(aa, { type: "duration" })
|
|
19438
19439
|
] });
|
|
19439
19440
|
}
|
|
19440
|
-
const
|
|
19441
|
+
const qd = "_comment-markers_tqdlg_1", Hd = "_comment-marker_tqdlg_1", Vd = "_timeline-wrapper_tqdlg_23", jd = "_timeline-wrapper-compact_tqdlg_24", Yd = "_track_tqdlg_33", Kd = "_thumb_tqdlg_46", zd = "_root_tqdlg_60", Wd = "_track-inner_tqdlg_90", Qd = "_progress_tqdlg_96", Xd = "_track-fill_tqdlg_102", $d = "_pins_tqdlg_119", Jd = "_pin-button_tqdlg_127", eg = "_annotation-pin_tqdlg_153", tg = "_quiz-pin_tqdlg_162", ng = "_annotation-pin-child_tqdlg_171", rg = "_quiz-pin-child_tqdlg_175", ig = "_interactive-pin-container_tqdlg_180", ag = "_interactive-pin-wrapper_tqdlg_187", og = "_interactive-pin-icon_tqdlg_193", sg = "_interactive-pin_tqdlg_180", ug = "_bg_tqdlg_207", lg = "_symbol_tqdlg_211", cg = "_interactive-pin-button_tqdlg_216", fg = "_interactive-pin-menu_tqdlg_245", dg = "_interactive-pin-menu-item_tqdlg_266", gg = "_arrow_tqdlg_292", hg = "_tooltip_tqdlg_296", mg = "_tooltip-arrow_tqdlg_305", Mn = {
|
|
19441
19442
|
"comment-markers": "_comment-markers_tqdlg_1",
|
|
19442
|
-
commentMarkers:
|
|
19443
|
+
commentMarkers: qd,
|
|
19443
19444
|
"comment-marker": "_comment-marker_tqdlg_1",
|
|
19444
|
-
commentMarker:
|
|
19445
|
+
commentMarker: Hd,
|
|
19445
19446
|
"timeline-wrapper": "_timeline-wrapper_tqdlg_23",
|
|
19446
|
-
timelineWrapper:
|
|
19447
|
+
timelineWrapper: Vd,
|
|
19447
19448
|
"timeline-wrapper-compact": "_timeline-wrapper-compact_tqdlg_24",
|
|
19448
|
-
timelineWrapperCompact:
|
|
19449
|
-
track:
|
|
19450
|
-
thumb:
|
|
19451
|
-
root:
|
|
19449
|
+
timelineWrapperCompact: jd,
|
|
19450
|
+
track: Yd,
|
|
19451
|
+
thumb: Kd,
|
|
19452
|
+
root: zd,
|
|
19452
19453
|
"track-inner": "_track-inner_tqdlg_90",
|
|
19453
|
-
trackInner:
|
|
19454
|
-
progress:
|
|
19454
|
+
trackInner: Wd,
|
|
19455
|
+
progress: Qd,
|
|
19455
19456
|
"track-fill": "_track-fill_tqdlg_102",
|
|
19456
|
-
trackFill:
|
|
19457
|
-
pins:
|
|
19457
|
+
trackFill: Xd,
|
|
19458
|
+
pins: $d,
|
|
19458
19459
|
"pin-button": "_pin-button_tqdlg_127",
|
|
19459
|
-
pinButton:
|
|
19460
|
+
pinButton: Jd,
|
|
19460
19461
|
"annotation-pin": "_annotation-pin_tqdlg_153",
|
|
19461
|
-
annotationPin:
|
|
19462
|
+
annotationPin: eg,
|
|
19462
19463
|
"quiz-pin": "_quiz-pin_tqdlg_162",
|
|
19463
|
-
quizPin:
|
|
19464
|
+
quizPin: tg,
|
|
19464
19465
|
"annotation-pin-child": "_annotation-pin-child_tqdlg_171",
|
|
19465
|
-
annotationPinChild:
|
|
19466
|
+
annotationPinChild: ng,
|
|
19466
19467
|
"quiz-pin-child": "_quiz-pin-child_tqdlg_175",
|
|
19467
|
-
quizPinChild:
|
|
19468
|
+
quizPinChild: rg,
|
|
19468
19469
|
"interactive-pin-container": "_interactive-pin-container_tqdlg_180",
|
|
19469
|
-
interactivePinContainer:
|
|
19470
|
+
interactivePinContainer: ig,
|
|
19470
19471
|
"interactive-pin-wrapper": "_interactive-pin-wrapper_tqdlg_187",
|
|
19471
|
-
interactivePinWrapper:
|
|
19472
|
+
interactivePinWrapper: ag,
|
|
19472
19473
|
"interactive-pin-icon": "_interactive-pin-icon_tqdlg_193",
|
|
19473
|
-
interactivePinIcon:
|
|
19474
|
+
interactivePinIcon: og,
|
|
19474
19475
|
"interactive-pin": "_interactive-pin_tqdlg_180",
|
|
19475
|
-
interactivePin:
|
|
19476
|
-
bg:
|
|
19477
|
-
symbol:
|
|
19476
|
+
interactivePin: sg,
|
|
19477
|
+
bg: ug,
|
|
19478
|
+
symbol: lg,
|
|
19478
19479
|
"interactive-pin-button": "_interactive-pin-button_tqdlg_216",
|
|
19479
|
-
interactivePinButton:
|
|
19480
|
+
interactivePinButton: cg,
|
|
19480
19481
|
"interactive-pin-menu": "_interactive-pin-menu_tqdlg_245",
|
|
19481
|
-
interactivePinMenu:
|
|
19482
|
+
interactivePinMenu: fg,
|
|
19482
19483
|
"interactive-pin-menu-item": "_interactive-pin-menu-item_tqdlg_266",
|
|
19483
|
-
interactivePinMenuItem:
|
|
19484
|
-
arrow:
|
|
19485
|
-
tooltip:
|
|
19484
|
+
interactivePinMenuItem: dg,
|
|
19485
|
+
arrow: gg,
|
|
19486
|
+
tooltip: hg,
|
|
19486
19487
|
"tooltip-arrow": "_tooltip-arrow_tqdlg_305",
|
|
19487
|
-
tooltipArrow:
|
|
19488
|
+
tooltipArrow: mg
|
|
19488
19489
|
};
|
|
19489
19490
|
function Ps() {
|
|
19490
19491
|
const re = $n("duration"), he = lr(), Ce = Wn();
|
|
@@ -19499,7 +19500,7 @@ function Ps() {
|
|
|
19499
19500
|
rt.id
|
|
19500
19501
|
)) }) : null;
|
|
19501
19502
|
}
|
|
19502
|
-
const
|
|
19503
|
+
const pg = ac(function({ currentTime: he, position: Ce }, rt) {
|
|
19503
19504
|
const [lt, Mt] = _r(!1), [Pe, Ee] = _r(null), C = lr(), ie = Wn(), T = Zn(() => {
|
|
19504
19505
|
C.interactiveMenuElements.length > 0 ? Mt((L) => (ie.setGlobalKeysDisabled(!L), !L)) : C.onInteractivePinClick(he);
|
|
19505
19506
|
}, [
|
|
@@ -19644,7 +19645,7 @@ const mg = Kl(function({ currentTime: he, position: Ce }, rt) {
|
|
|
19644
19645
|
}
|
|
19645
19646
|
) })
|
|
19646
19647
|
] });
|
|
19647
|
-
}),
|
|
19648
|
+
}), yg = () => {
|
|
19648
19649
|
const re = Nr(!1), he = Nr(!1), Ce = Mr(() => ({
|
|
19649
19650
|
ArrowLeft: () => {
|
|
19650
19651
|
he.current = !0;
|
|
@@ -19664,13 +19665,13 @@ const mg = Kl(function({ currentTime: he, position: Ce }, rt) {
|
|
|
19664
19665
|
}), re.current && lt.focus());
|
|
19665
19666
|
}, []), wasPinFocused: re.current };
|
|
19666
19667
|
};
|
|
19667
|
-
function
|
|
19668
|
+
function _g() {
|
|
19668
19669
|
var Ee;
|
|
19669
19670
|
const re = $n("duration"), he = $n("currentTime"), Ce = he / re * 100, { disableInteractivePinRanges: rt } = lr(), lt = !rt.some(
|
|
19670
19671
|
([C, ie]) => he >= C && he <= ie
|
|
19671
|
-
), { wasPinFocused: Mt, focusCallback: Pe } =
|
|
19672
|
+
), { wasPinFocused: Mt, focusCallback: Pe } = yg();
|
|
19672
19673
|
return lt ? /* @__PURE__ */ ve("div", { className: Mn.interactivePinContainer, children: /* @__PURE__ */ ve("div", { className: Mn.interactivePinWrapper, children: /* @__PURE__ */ ve(
|
|
19673
|
-
|
|
19674
|
+
pg,
|
|
19674
19675
|
{
|
|
19675
19676
|
ref: Pe,
|
|
19676
19677
|
currentTime: he,
|
|
@@ -19678,14 +19679,14 @@ function yg() {
|
|
|
19678
19679
|
}
|
|
19679
19680
|
) }) }) : (Mt && ((Ee = document.querySelector("[data-media-time-slider]")) == null || Ee.focus()), null);
|
|
19680
19681
|
}
|
|
19681
|
-
function
|
|
19682
|
+
function Eg() {
|
|
19682
19683
|
const re = $n("paused"), he = Wn();
|
|
19683
|
-
return re && !he.state.interactionsDisabled ? /* @__PURE__ */ ve(
|
|
19684
|
+
return re && !he.state.interactionsDisabled ? /* @__PURE__ */ ve(_g, {}) : null;
|
|
19684
19685
|
}
|
|
19685
|
-
const
|
|
19686
|
+
const vg = {
|
|
19686
19687
|
annotation: Mn.annotationPin,
|
|
19687
19688
|
quiz: Mn.quizPin
|
|
19688
|
-
},
|
|
19689
|
+
}, Tg = (re, he, Ce, rt = !1) => he === "annotation" ? re("OPEN_ANNOTATION_AT", { time: Ka(Ce) }) : he === "quiz" ? re(rt ? "OPEN_COMPLETED_QUIZ_AT" : "OPEN_QUIZ_AT", {
|
|
19689
19690
|
time: Ka(Ce)
|
|
19690
19691
|
}) : "";
|
|
19691
19692
|
function nu({
|
|
@@ -19707,11 +19708,11 @@ function nu({
|
|
|
19707
19708
|
style: { left: `${he}%` },
|
|
19708
19709
|
onClick: rt,
|
|
19709
19710
|
"data-marker-id": lt,
|
|
19710
|
-
"aria-label":
|
|
19711
|
+
"aria-label": Tg(C, re, Mt, Pe),
|
|
19711
19712
|
children: /* @__PURE__ */ ln(
|
|
19712
19713
|
"svg",
|
|
19713
19714
|
{
|
|
19714
|
-
className:
|
|
19715
|
+
className: vg[re],
|
|
19715
19716
|
width: "26",
|
|
19716
19717
|
height: "32",
|
|
19717
19718
|
viewBox: "0 0 26 32",
|
|
@@ -19725,7 +19726,7 @@ function nu({
|
|
|
19725
19726
|
}
|
|
19726
19727
|
);
|
|
19727
19728
|
}
|
|
19728
|
-
function
|
|
19729
|
+
function bg(re) {
|
|
19729
19730
|
return /* @__PURE__ */ ve(nu, { type: "annotation", ...re, children: /* @__PURE__ */ ve(
|
|
19730
19731
|
"path",
|
|
19731
19732
|
{
|
|
@@ -19738,7 +19739,7 @@ function Tg(re) {
|
|
|
19738
19739
|
}
|
|
19739
19740
|
) });
|
|
19740
19741
|
}
|
|
19741
|
-
function
|
|
19742
|
+
function Sg(re) {
|
|
19742
19743
|
const he = re.completed ? /* @__PURE__ */ ve(
|
|
19743
19744
|
"path",
|
|
19744
19745
|
{
|
|
@@ -19764,7 +19765,7 @@ function bg(re) {
|
|
|
19764
19765
|
);
|
|
19765
19766
|
return /* @__PURE__ */ ve(nu, { type: "quiz", ...re, children: re.multiple ? /* @__PURE__ */ ve("circle", { className: Mn.quizPinChild, cx: "13", cy: "13", r: "6" }) : he });
|
|
19766
19767
|
}
|
|
19767
|
-
function
|
|
19768
|
+
function Ag(re, he) {
|
|
19768
19769
|
return re.map((Ce, rt) => ({
|
|
19769
19770
|
id: Ce.id,
|
|
19770
19771
|
time: Ce.time,
|
|
@@ -19773,7 +19774,7 @@ function Sg(re, he) {
|
|
|
19773
19774
|
onClick: () => he(Ce)
|
|
19774
19775
|
}));
|
|
19775
19776
|
}
|
|
19776
|
-
function
|
|
19777
|
+
function Ig(re, he) {
|
|
19777
19778
|
const Ce = /* @__PURE__ */ new Map();
|
|
19778
19779
|
re.forEach((Mt) => {
|
|
19779
19780
|
var Ee;
|
|
@@ -19794,12 +19795,12 @@ function Ag(re, he) {
|
|
|
19794
19795
|
}), lt++;
|
|
19795
19796
|
}), rt;
|
|
19796
19797
|
}
|
|
19797
|
-
function
|
|
19798
|
+
function Rg(re, he, Ce, rt) {
|
|
19798
19799
|
switch (re.type) {
|
|
19799
19800
|
case "annotation": {
|
|
19800
19801
|
const lt = () => rt ? re.onClick() : Ce.seek(re.time);
|
|
19801
19802
|
return /* @__PURE__ */ ve(
|
|
19802
|
-
|
|
19803
|
+
bg,
|
|
19803
19804
|
{
|
|
19804
19805
|
id: re.id,
|
|
19805
19806
|
position: re.time / he * 100,
|
|
@@ -19811,7 +19812,7 @@ function Ig(re, he, Ce, rt) {
|
|
|
19811
19812
|
}
|
|
19812
19813
|
case "quiz":
|
|
19813
19814
|
return /* @__PURE__ */ ve(
|
|
19814
|
-
|
|
19815
|
+
Sg,
|
|
19815
19816
|
{
|
|
19816
19817
|
id: re.id,
|
|
19817
19818
|
position: re.time / he * 100,
|
|
@@ -19827,20 +19828,20 @@ function Ig(re, he, Ce, rt) {
|
|
|
19827
19828
|
return null;
|
|
19828
19829
|
}
|
|
19829
19830
|
}
|
|
19830
|
-
function
|
|
19831
|
+
function wg() {
|
|
19831
19832
|
const re = oa(), he = $n("duration"), Ce = lr(), rt = Mr(() => [
|
|
19832
|
-
...
|
|
19833
|
+
...Ag(
|
|
19833
19834
|
Ce.annotations,
|
|
19834
19835
|
Ce.onAnnotationClick
|
|
19835
19836
|
),
|
|
19836
|
-
...Ce.hideQuizMarkers ? [] :
|
|
19837
|
+
...Ce.hideQuizMarkers ? [] : Ig(
|
|
19837
19838
|
Ce.quizMarkers,
|
|
19838
19839
|
Ce.onQuizMarkerClick
|
|
19839
19840
|
)
|
|
19840
|
-
].sort((Mt, Pe) => Mt.time - Pe.time).map((Mt) =>
|
|
19841
|
+
].sort((Mt, Pe) => Mt.time - Pe.time).map((Mt) => Rg(Mt, he, re, Ce.interactive)), [Ce.annotations, Ce.quizMarkers, he, re]);
|
|
19841
19842
|
return Ce.interactive || rt.length > 0 ? /* @__PURE__ */ ve("div", { className: Mn.pins, children: rt }) : null;
|
|
19842
19843
|
}
|
|
19843
|
-
const
|
|
19844
|
+
const Cg = {
|
|
19844
19845
|
normal: Mn.timelineWrapper,
|
|
19845
19846
|
compact: Mn.timelineWrapperCompact
|
|
19846
19847
|
};
|
|
@@ -19864,7 +19865,7 @@ function Ls({
|
|
|
19864
19865
|
})
|
|
19865
19866
|
]
|
|
19866
19867
|
});
|
|
19867
|
-
return /* @__PURE__ */ ln("div", { className:
|
|
19868
|
+
return /* @__PURE__ */ ln("div", { className: Cg[re], children: [
|
|
19868
19869
|
Ce,
|
|
19869
19870
|
/* @__PURE__ */ ln(
|
|
19870
19871
|
di.Root,
|
|
@@ -19916,15 +19917,15 @@ function Ls({
|
|
|
19916
19917
|
)
|
|
19917
19918
|
] });
|
|
19918
19919
|
}
|
|
19919
|
-
const
|
|
19920
|
-
wrapper:
|
|
19921
|
-
track:
|
|
19922
|
-
thumb:
|
|
19920
|
+
const Ng = "_wrapper_1ijfr_1", Dg = "_track_1ijfr_6", Og = "_thumb_1ijfr_16", Mg = "_track-fill_1ijfr_30", Pg = "_root_1ijfr_49", Ai = {
|
|
19921
|
+
wrapper: Ng,
|
|
19922
|
+
track: Dg,
|
|
19923
|
+
thumb: Og,
|
|
19923
19924
|
"track-fill": "_track-fill_1ijfr_30",
|
|
19924
|
-
trackFill:
|
|
19925
|
-
root:
|
|
19925
|
+
trackFill: Mg,
|
|
19926
|
+
root: Pg
|
|
19926
19927
|
};
|
|
19927
|
-
function
|
|
19928
|
+
function Lg() {
|
|
19928
19929
|
const re = Dr(), he = $n("volume"), Ce = $n("muted"), rt = Wn(), lt = Ce || he === 0, { t: Mt } = Hn();
|
|
19929
19930
|
return /* @__PURE__ */ ln("div", { className: Ai.wrapper, children: [
|
|
19930
19931
|
/* @__PURE__ */ ve(
|
|
@@ -20092,16 +20093,16 @@ const xs = {
|
|
|
20092
20093
|
}
|
|
20093
20094
|
}
|
|
20094
20095
|
};
|
|
20095
|
-
function
|
|
20096
|
+
function xg(re) {
|
|
20096
20097
|
return Array.isArray(re) && typeof re[0] == "object";
|
|
20097
20098
|
}
|
|
20098
|
-
function
|
|
20099
|
-
return
|
|
20099
|
+
function Fg(re) {
|
|
20100
|
+
return xg(re) && re.length === 1 ? re[0].src : re;
|
|
20100
20101
|
}
|
|
20101
20102
|
function za(re) {
|
|
20102
20103
|
return typeof re == "number" && !isNaN(re);
|
|
20103
20104
|
}
|
|
20104
|
-
function
|
|
20105
|
+
function kg(re, he = 1e3) {
|
|
20105
20106
|
let Ce = !1;
|
|
20106
20107
|
return () => {
|
|
20107
20108
|
Ce || (re(), Ce = !0, setTimeout(() => {
|
|
@@ -20120,7 +20121,7 @@ const Fs = {
|
|
|
20120
20121
|
invert: !1,
|
|
20121
20122
|
comments: !1
|
|
20122
20123
|
};
|
|
20123
|
-
class
|
|
20124
|
+
class Zg {
|
|
20124
20125
|
constructor() {
|
|
20125
20126
|
Or(this, "playerId", "studio-player");
|
|
20126
20127
|
Or(this, "mediaId", null);
|
|
@@ -20132,7 +20133,7 @@ class kg {
|
|
|
20132
20133
|
const he = (this.time ?? 0).toString();
|
|
20133
20134
|
localStorage.setItem(this.mediaId, he);
|
|
20134
20135
|
});
|
|
20135
|
-
Or(this, "saveTimeThrottled",
|
|
20136
|
+
Or(this, "saveTimeThrottled", kg(this.saveTime, 1e3));
|
|
20136
20137
|
// only used for useStudioPlayer hook's state initialization
|
|
20137
20138
|
Or(this, "initializeState", (he) => {
|
|
20138
20139
|
const Ce = localStorage.getItem(this.playerId);
|
|
@@ -20227,8 +20228,8 @@ class kg {
|
|
|
20227
20228
|
localStorage.setItem(this.playerId, he);
|
|
20228
20229
|
}
|
|
20229
20230
|
}
|
|
20230
|
-
function
|
|
20231
|
-
const lt = Mr(() => new
|
|
20231
|
+
function Ug(re, he, Ce, rt) {
|
|
20232
|
+
const lt = Mr(() => new Zg(), []), [Mt, Pe] = _r(
|
|
20232
20233
|
lt.initializeState(rt)
|
|
20233
20234
|
), Ee = Zn(
|
|
20234
20235
|
(E) => {
|
|
@@ -20306,7 +20307,7 @@ function Zg(re, he, Ce, rt) {
|
|
|
20306
20307
|
storage: lt
|
|
20307
20308
|
};
|
|
20308
20309
|
}
|
|
20309
|
-
const
|
|
20310
|
+
const Bg = (re) => /* @__PURE__ */ ve("svg", { width: 56, height: 72, viewBox: "0 0 28 36", xmlns: "http://www.w3.org/2000/svg", ...re, children: /* @__PURE__ */ ve("g", { id: "Icons", stroke: "none", strokeWidth: 1, fill: "none", fillRule: "evenodd", children: /* @__PURE__ */ ln("g", { id: "audio", children: [
|
|
20310
20311
|
/* @__PURE__ */ ln("g", { id: "icon-file-base-2", children: [
|
|
20311
20312
|
/* @__PURE__ */ ve("path", { d: "M0,2 L0,34 C0,35.105 0.899,36 1.993,36 L26.006,36 C27.107,36 28,35.11 28,34 L28,10 L18,0 L1.993,0 C0.892,0 0,0.89 0,2 Z", fill: "#FFFFFF" }),
|
|
20312
20313
|
/* @__PURE__ */ ve("path", { d: "M0,2 L0,34 C0,35.105 0.899,36 1.993,36 L26.006,36 C27.107,36 28,35.11 28,34 L28,10 L18,0 L1.993,0 C0.892,0 0,0.89 0,2 Z M1.993,35 C1.445,35 1,34.552 1,34 L1,2 C1,1.448 1.445,1 1.993,1 L16.5,1 L16.5,9 C16.5,10.379 17.621,11.5 18.999,11.5 L27,11.5 L27,34 C27,34.552 26.554,35 26.006,35 L1.993,35 Z M27,10.5 L18.999,10.5 C18.173,10.5 17.5,9.827 17.5,9 L17.5,1 L17.585,1 L27,10.414 L27,10.5 L27,10.5 Z", id: "icon-file-base", fill: "#FFFFFF" }),
|
|
@@ -20314,10 +20315,10 @@ const Ug = (re) => /* @__PURE__ */ ve("svg", { width: 56, height: 72, viewBox: "
|
|
|
20314
20315
|
] }),
|
|
20315
20316
|
/* @__PURE__ */ ve("path", { d: "M14.7142857,14.2824 L14.7142857,13 L13.2857143,13.2548 L13.2857143,23.0912 C12.8642857,22.9106 12.3785714,22.8 11.8571429,22.8 C10.2771429,22.8 9,23.7408 9,24.9 C9,26.0592 10.2771429,27 11.8571429,27 C12.3785714,27 12.8642857,26.8894 13.2857143,26.7088 C14.1371429,26.3448 14.7142857,25.6756 14.7142857,24.9 L14.7142857,17.0824 C17.5714286,17.0824 19,20 19,21.4 C19,15.8 16.1428571,14.2824 14.7142857,14.2824", id: "Fill-776", fill: "#384A58" })
|
|
20316
20317
|
] }) }) });
|
|
20317
|
-
function
|
|
20318
|
+
function Gg() {
|
|
20318
20319
|
const re = lr();
|
|
20319
20320
|
return /* @__PURE__ */ ln("div", { className: "audio-layout-wrapper", children: [
|
|
20320
|
-
/* @__PURE__ */ ve(
|
|
20321
|
+
/* @__PURE__ */ ve(Bg, {}),
|
|
20321
20322
|
/* @__PURE__ */ ve(Js, {}),
|
|
20322
20323
|
/* @__PURE__ */ ve(Bs, {}),
|
|
20323
20324
|
/* @__PURE__ */ ve(Ys, { captions: re.captions }),
|
|
@@ -20325,7 +20326,7 @@ function Bg() {
|
|
|
20325
20326
|
/* @__PURE__ */ ve(eu, {})
|
|
20326
20327
|
] });
|
|
20327
20328
|
}
|
|
20328
|
-
function
|
|
20329
|
+
function qg() {
|
|
20329
20330
|
const re = lr(), he = re.kebabMenuElements.length > 0;
|
|
20330
20331
|
return /* @__PURE__ */ ln(pi, { children: [
|
|
20331
20332
|
/* @__PURE__ */ ve(Js, {}),
|
|
@@ -20334,7 +20335,7 @@ function Gg() {
|
|
|
20334
20335
|
/* @__PURE__ */ ve(tu, {}),
|
|
20335
20336
|
/* @__PURE__ */ ve(eu, {}),
|
|
20336
20337
|
/* @__PURE__ */ ve(
|
|
20337
|
-
|
|
20338
|
+
ff,
|
|
20338
20339
|
{
|
|
20339
20340
|
comments: re.comments,
|
|
20340
20341
|
isKebabMenuVisible: he
|
|
@@ -20342,17 +20343,17 @@ function Gg() {
|
|
|
20342
20343
|
)
|
|
20343
20344
|
] });
|
|
20344
20345
|
}
|
|
20345
|
-
const
|
|
20346
|
-
root:
|
|
20347
|
-
normal:
|
|
20348
|
-
compact:
|
|
20346
|
+
const Hg = "_root_5cfhx_1", Vg = "_normal_5cfhx_14", jg = "_compact_5cfhx_21", Yg = "_left-controls_5cfhx_36", Kg = "_right-controls_5cfhx_42", zg = "_indicators_5cfhx_48", hi = {
|
|
20347
|
+
root: Hg,
|
|
20348
|
+
normal: Vg,
|
|
20349
|
+
compact: jg,
|
|
20349
20350
|
"left-controls": "_left-controls_5cfhx_36",
|
|
20350
|
-
leftControls:
|
|
20351
|
+
leftControls: Yg,
|
|
20351
20352
|
"right-controls": "_right-controls_5cfhx_42",
|
|
20352
|
-
rightControls:
|
|
20353
|
-
indicators:
|
|
20353
|
+
rightControls: Kg,
|
|
20354
|
+
indicators: zg
|
|
20354
20355
|
};
|
|
20355
|
-
function
|
|
20356
|
+
function Wg() {
|
|
20356
20357
|
const re = Dr(), he = lr();
|
|
20357
20358
|
Pr(() => {
|
|
20358
20359
|
const Ce = () => {
|
|
@@ -20364,14 +20365,14 @@ function zg() {
|
|
|
20364
20365
|
};
|
|
20365
20366
|
}, [re]);
|
|
20366
20367
|
}
|
|
20367
|
-
function
|
|
20368
|
+
function Qg({
|
|
20368
20369
|
darkMode: re,
|
|
20369
20370
|
playerRef: he,
|
|
20370
20371
|
controlsLayout: Ce,
|
|
20371
20372
|
showCaptionsButton: rt
|
|
20372
20373
|
}) {
|
|
20373
20374
|
const lt = Dr(), Mt = Wn(), { hasAnnotations: Pe, hasQuizmarkers: Ee, interactive: C } = lr(), ie = Mt.state.interactionsDisabled || Mt.state.isKeyboardShortcutsOpen;
|
|
20374
|
-
return
|
|
20375
|
+
return Wg(), Pr(() => {
|
|
20375
20376
|
lt && (lt.remoteControl.pauseControls(), he && (typeof he == "function" ? he(lt) : he.current = lt));
|
|
20376
20377
|
}, [lt, he]), /* @__PURE__ */ ln(
|
|
20377
20378
|
"div",
|
|
@@ -20389,17 +20390,17 @@ function Wg({
|
|
|
20389
20390
|
layout: "normal",
|
|
20390
20391
|
interactionsDisabled: Mt.state.interactionsDisabled,
|
|
20391
20392
|
children: [
|
|
20392
|
-
C || Pe || Ee ? /* @__PURE__ */ ve(
|
|
20393
|
-
C ? /* @__PURE__ */ ve(
|
|
20393
|
+
C || Pe || Ee ? /* @__PURE__ */ ve(wg, {}) : null,
|
|
20394
|
+
C ? /* @__PURE__ */ ve(Eg, {}) : null,
|
|
20394
20395
|
/* @__PURE__ */ ve(Ps, {})
|
|
20395
20396
|
]
|
|
20396
20397
|
}
|
|
20397
20398
|
) : null,
|
|
20398
20399
|
/* @__PURE__ */ ln("div", { className: hi.leftControls, children: [
|
|
20399
|
-
/* @__PURE__ */ ve(
|
|
20400
|
-
/* @__PURE__ */ ve(
|
|
20400
|
+
/* @__PURE__ */ ve(Od, {}),
|
|
20401
|
+
/* @__PURE__ */ ve(Lg, {})
|
|
20401
20402
|
] }),
|
|
20402
|
-
/* @__PURE__ */ ve("div", { className: hi.indicators, children: /* @__PURE__ */ ve(
|
|
20403
|
+
/* @__PURE__ */ ve("div", { className: hi.indicators, children: /* @__PURE__ */ ve(Gd, {}) }),
|
|
20403
20404
|
Ce === "compact" ? /* @__PURE__ */ ve(
|
|
20404
20405
|
Ls,
|
|
20405
20406
|
{
|
|
@@ -20409,31 +20410,31 @@ function Wg({
|
|
|
20409
20410
|
}
|
|
20410
20411
|
) : null,
|
|
20411
20412
|
/* @__PURE__ */ ln("div", { className: hi.rightControls, children: [
|
|
20412
|
-
rt && /* @__PURE__ */ ve(
|
|
20413
|
-
/* @__PURE__ */ ve(
|
|
20414
|
-
/* @__PURE__ */ ve(
|
|
20413
|
+
rt && /* @__PURE__ */ ve(Yc, {}),
|
|
20414
|
+
/* @__PURE__ */ ve(ud, {}),
|
|
20415
|
+
/* @__PURE__ */ ve(Sd, {})
|
|
20415
20416
|
] })
|
|
20416
20417
|
]
|
|
20417
20418
|
}
|
|
20418
20419
|
);
|
|
20419
20420
|
}
|
|
20420
|
-
function
|
|
20421
|
+
function Xg(re, he) {
|
|
20421
20422
|
return re.reduce((Ce, rt) => (Object.keys(he).includes(rt.id) || (Ce[rt.id] = !0), Ce), he);
|
|
20422
20423
|
}
|
|
20423
|
-
function
|
|
20424
|
+
function $g(re, he, Ce, rt, lt) {
|
|
20424
20425
|
return (Mt) => {
|
|
20425
20426
|
const Pe = Mt.detail.currentTime, Ee = !Ce.paused, C = Math.min(Ce.duration * 0.05, 2);
|
|
20426
20427
|
Pe >= re.time && Pe < re.time + C && !rt[re.id] && (lt({ ...rt, [re.id]: !0 }), he(re, Ee));
|
|
20427
20428
|
};
|
|
20428
20429
|
}
|
|
20429
|
-
function
|
|
20430
|
+
function Jg() {
|
|
20430
20431
|
const re = Dr(), { quizMarkers: he, onQuizMarkerShow: Ce } = lr(), [rt, lt] = _r(
|
|
20431
20432
|
he.reduce((Mt, Pe) => (Mt[Pe.id] = !1, Mt), {})
|
|
20432
20433
|
);
|
|
20433
20434
|
Pr(() => {
|
|
20434
20435
|
if (!re)
|
|
20435
20436
|
return;
|
|
20436
|
-
he.length > Object.keys(rt).length && lt(
|
|
20437
|
+
he.length > Object.keys(rt).length && lt(Xg(he, rt));
|
|
20437
20438
|
const Mt = [], Pe = (Ee) => {
|
|
20438
20439
|
var T;
|
|
20439
20440
|
const C = (T = Ee == null ? void 0 : Ee.request) == null ? void 0 : T.detail, ie = he.reduce((t, e) => (t[e.id] = e.time <= C, t), {});
|
|
@@ -20441,7 +20442,7 @@ function $g() {
|
|
|
20441
20442
|
};
|
|
20442
20443
|
re.addEventListener("seeked", Pe);
|
|
20443
20444
|
for (const Ee of he) {
|
|
20444
|
-
const C =
|
|
20445
|
+
const C = $g(
|
|
20445
20446
|
Ee,
|
|
20446
20447
|
Ce,
|
|
20447
20448
|
re,
|
|
@@ -20457,12 +20458,12 @@ function $g() {
|
|
|
20457
20458
|
};
|
|
20458
20459
|
}, [he, re, rt]);
|
|
20459
20460
|
}
|
|
20460
|
-
function
|
|
20461
|
-
return
|
|
20461
|
+
function eh() {
|
|
20462
|
+
return Jg(), null;
|
|
20462
20463
|
}
|
|
20463
|
-
const
|
|
20464
|
+
const th = {}, ia = () => {
|
|
20464
20465
|
};
|
|
20465
|
-
function
|
|
20466
|
+
function ch({
|
|
20466
20467
|
title: re,
|
|
20467
20468
|
playerRef: he,
|
|
20468
20469
|
src: Ce,
|
|
@@ -20494,7 +20495,7 @@ function lh({
|
|
|
20494
20495
|
controlsLayout: ae = "compact",
|
|
20495
20496
|
hideQuizMarkers: j = !1
|
|
20496
20497
|
}) {
|
|
20497
|
-
const { contextValue: ee, shortcuts: ue, storage: Ae } =
|
|
20498
|
+
const { contextValue: ee, shortcuts: ue, storage: Ae } = Ug(
|
|
20498
20499
|
Mt,
|
|
20499
20500
|
d,
|
|
20500
20501
|
S,
|
|
@@ -20510,12 +20511,12 @@ function lh({
|
|
|
20510
20511
|
[lt]
|
|
20511
20512
|
), Te = Zn(
|
|
20512
20513
|
(Oe) => {
|
|
20513
|
-
ja(Oe) ? Oe.library =
|
|
20514
|
+
ja(Oe) ? Oe.library = fc.MediaPlayer : ws(Oe) && (Oe.cookies = !0);
|
|
20514
20515
|
},
|
|
20515
20516
|
[]
|
|
20516
20517
|
);
|
|
20517
20518
|
return /* @__PURE__ */ ve(
|
|
20518
|
-
|
|
20519
|
+
hc,
|
|
20519
20520
|
{
|
|
20520
20521
|
title: re,
|
|
20521
20522
|
hideFullScreen: Mt,
|
|
@@ -20541,14 +20542,14 @@ function lh({
|
|
|
20541
20542
|
controlsLayout: ae,
|
|
20542
20543
|
startAt: B,
|
|
20543
20544
|
hideQuizMarkers: j,
|
|
20544
|
-
children: /* @__PURE__ */ ve(
|
|
20545
|
+
children: /* @__PURE__ */ ve(gc, { contextValue: ee, children: /* @__PURE__ */ ln(
|
|
20545
20546
|
rc,
|
|
20546
20547
|
{
|
|
20547
|
-
"data-version": "1.1.
|
|
20548
|
+
"data-version": "1.1.12",
|
|
20548
20549
|
crossOrigin: L,
|
|
20549
20550
|
storage: x ? null : Ae,
|
|
20550
20551
|
title: re,
|
|
20551
|
-
src:
|
|
20552
|
+
src: Fg(Ce),
|
|
20552
20553
|
keyShortcuts: ue,
|
|
20553
20554
|
playsInline: !0,
|
|
20554
20555
|
keyDisabled: ee.state.interactionsDisabled || ee.state.globalKeysDisabled,
|
|
@@ -20564,14 +20565,14 @@ function lh({
|
|
|
20564
20565
|
ja(Oe) && (Oe.ctx.qualities.items.length === 0 ? Ue("audio") : Ue("video"));
|
|
20565
20566
|
},
|
|
20566
20567
|
children: [
|
|
20567
|
-
/* @__PURE__ */ ln(ic, { className:
|
|
20568
|
-
Ne === "audio" && /* @__PURE__ */ ve(
|
|
20569
|
-
Ne === "video" && /* @__PURE__ */ ve(
|
|
20568
|
+
/* @__PURE__ */ ln(ic, { className: th.mediaProvider, children: [
|
|
20569
|
+
Ne === "audio" && /* @__PURE__ */ ve(Gg, {}),
|
|
20570
|
+
Ne === "video" && /* @__PURE__ */ ve(qg, {})
|
|
20570
20571
|
] }),
|
|
20571
|
-
/* @__PURE__ */ ve(
|
|
20572
|
-
K && /* @__PURE__ */ ve(
|
|
20572
|
+
/* @__PURE__ */ ve(jc, {}),
|
|
20573
|
+
K && /* @__PURE__ */ ve(df, { renderOverlay: K }),
|
|
20573
20574
|
/* @__PURE__ */ ve(
|
|
20574
|
-
|
|
20575
|
+
Qg,
|
|
20575
20576
|
{
|
|
20576
20577
|
darkMode: n,
|
|
20577
20578
|
playerRef: he,
|
|
@@ -20579,8 +20580,8 @@ function lh({
|
|
|
20579
20580
|
controlsLayout: ae
|
|
20580
20581
|
}
|
|
20581
20582
|
),
|
|
20582
|
-
/* @__PURE__ */ ve(
|
|
20583
|
-
!!ie.length && /* @__PURE__ */ ve(
|
|
20583
|
+
/* @__PURE__ */ ve(_c, { annotations: C }),
|
|
20584
|
+
!!ie.length && /* @__PURE__ */ ve(eh, {})
|
|
20584
20585
|
]
|
|
20585
20586
|
}
|
|
20586
20587
|
) })
|
|
@@ -20588,10 +20589,10 @@ function lh({
|
|
|
20588
20589
|
);
|
|
20589
20590
|
}
|
|
20590
20591
|
export {
|
|
20591
|
-
|
|
20592
|
-
|
|
20592
|
+
Qc as CAPTION_FONT_SIZE_MULTIPLIERS,
|
|
20593
|
+
Xc as COMMENT_DURATION,
|
|
20593
20594
|
mi as PLAYBACK_RATES,
|
|
20594
|
-
|
|
20595
|
+
ch as StudioPlayer,
|
|
20595
20596
|
$n as useMediaState,
|
|
20596
|
-
|
|
20597
|
+
gh as useMediaStore
|
|
20597
20598
|
};
|