@webitel/ui-sdk 26.4.34 → 26.4.35
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/{index-xIzFQNd0.js → index-Roia5eMO.js} +1 -1
- package/dist/{index-7wsN-YZu.js → index-oyJmkeim.js} +1 -1
- package/dist/{install-D_goYtnz.js → install-QMIeJaQP.js} +36 -36
- package/dist/{isObject-Gt5Jm-Ug.js → isObject-47V3csS5.js} +1 -1
- package/dist/ui-sdk.css +1 -1
- package/dist/ui-sdk.js +1 -1
- package/dist/ui-sdk.umd.cjs +112 -112
- package/dist/{useVidstackSrc-CTzsUo62.js → useVidstackSrc-CGEzqvQp.js} +1 -1
- package/dist/{vidstack-Bq6c3Bam-BhMf-ZTn.js → vidstack-Bq6c3Bam-DI2seNfv.js} +3 -3
- package/dist/{vidstack-D2pY00kU-gmAgDRVT.js → vidstack-D2pY00kU-Bnd9jPy3.js} +3 -3
- package/dist/{vidstack-DDXt6fpN-CmHiuC9m.js → vidstack-DDXt6fpN-D94vez1w.js} +2 -2
- package/dist/{vidstack-D_-9AA6_-BGfLCdlb.js → vidstack-D_-9AA6_-4njHBpdi.js} +2 -2
- package/dist/{vidstack-DqAw8m9J-DO1SEzrd.js → vidstack-DqAw8m9J-DzQijIZr.js} +1 -1
- package/dist/{vidstack-audio-Bk1wmJYd.js → vidstack-audio-BmvM3Qam.js} +2 -2
- package/dist/{vidstack-dash-fN-vPQlr.js → vidstack-dash-MOhANEa2.js} +4 -4
- package/dist/{vidstack-google-cast-DzXyoIrl.js → vidstack-google-cast-0Ym-39oi.js} +4 -4
- package/dist/{vidstack-hls-BvsDlNoZ.js → vidstack-hls-hVw-GZOs.js} +4 -4
- package/dist/{vidstack-video-DVWLXMbZ.js → vidstack-video-h4GIsOmA.js} +3 -3
- package/dist/{vidstack-vimeo-C43vDg2R.js → vidstack-vimeo-BWpgnTHH.js} +4 -4
- package/dist/{vidstack-youtube-BqjBo21Z.js → vidstack-youtube-BTrv_J1m.js} +3 -3
- package/dist/{wt-action-bar-C3ZOub4E.js → wt-action-bar-DddMeUuz.js} +1 -1
- package/dist/{wt-button-select-cHYjfQdz.js → wt-button-select-F4QMC6dm.js} +1 -1
- package/dist/{wt-chat-emoji-CI3V_BeW.js → wt-chat-emoji-B3x1ns7c.js} +2 -2
- package/dist/{wt-confirm-dialog-cSeWX-p6.js → wt-confirm-dialog-Kp2ZVO86.js} +1 -1
- package/dist/{wt-context-menu-DLz_SzEn.js → wt-context-menu-m4yJ7keo.js} +1 -1
- package/dist/{wt-copy-action-B8UQn0Ex.js → wt-copy-action-Df9iBfO2.js} +1 -1
- package/dist/{wt-datepicker-BghFL7dG.js → wt-datepicker-OnFIF-X9.js} +1 -1
- package/dist/{wt-display-chip-items-BuPaJqOp.js → wt-display-chip-items-B4lLiSne.js} +1 -1
- package/dist/{wt-dual-panel-DSg_9Lq6.js → wt-dual-panel-DOna0CxV.js} +1 -1
- package/dist/{wt-dummy-DztLsixT.js → wt-dummy-9zwFlOGt.js} +1 -1
- package/dist/{wt-error-page-DdMotrHk.js → wt-error-page-D_WumGk-.js} +1 -1
- package/dist/{wt-expansion-card-DY8qL9Al.js → wt-expansion-card-Dbm7uO1A.js} +1 -1
- package/dist/{wt-expansion-panel-CTTDEN7q.js → wt-expansion-panel-BlaJf3n6.js} +1 -1
- package/dist/{wt-filters-panel-wrapper-DdcIsO1N.js → wt-filters-panel-wrapper-b5LFEGBw.js} +1 -1
- package/dist/{wt-galleria-CSbm0shh.js → wt-galleria-BT_fZLWH.js} +1 -1
- package/dist/{wt-inline-add-panel-C_UyCvRw.js → wt-inline-add-panel-DxdeUuAT.js} +1 -1
- package/dist/{wt-navigation-menu-CfWKguu2.js → wt-navigation-menu-cwEF2ijX.js} +1 -1
- package/dist/{wt-notifications-bar-Cgu2wc9v.js → wt-notifications-bar-BGrDiB8v.js} +2 -2
- package/dist/{wt-pagination-DN335p2t.js → wt-pagination-DwWIF6nl.js} +1 -1
- package/dist/{wt-player-CnJGUlag.js → wt-player-B7YgHjUK.js} +2 -2
- package/dist/{wt-screen-recordings-action-BcEdGu6w.js → wt-screen-recordings-action-DKKwRMLp.js} +1 -1
- package/dist/{wt-search-bar-u8SuElvI.js → wt-search-bar-Dtp9U0LR.js} +1 -1
- package/dist/{wt-selection-popup-BB7pO3iT.js → wt-selection-popup-CCnPMPZB.js} +1 -1
- package/dist/{wt-start-page-DdRpXVdV.js → wt-start-page-B-i-pQw3.js} +1 -1
- package/dist/{wt-status-select-GO0gtD2B.js → wt-status-select-DISQXQjg.js} +1 -1
- package/dist/{wt-stepper-DbaiOlK9.js → wt-stepper-C5yC0VYM.js} +1 -1
- package/dist/{wt-table-CAVQW_vc.js → wt-table-B4kc-ipH.js} +1 -1
- package/dist/{wt-table-actions-DrT2ZxPE.js → wt-table-actions-DntooC4W.js} +1 -1
- package/dist/{wt-table-column-select-HH02vVeu.js → wt-table-column-select-DbhHTkMe.js} +2 -2
- package/dist/{wt-tabs-B7kjsIG-.js → wt-tabs-QcPjT0wy.js} +1 -1
- package/dist/{wt-tags-input-C7PwjLAR.js → wt-tags-input-CqvTyjDV.js} +2 -2
- package/dist/{wt-timepicker-CjBjH-wE.js → wt-timepicker-DdzK-Tyi.js} +1 -1
- package/dist/{wt-tree-X0IBoelv.js → wt-tree-B1Q2YeD6.js} +2 -2
- package/dist/{wt-tree-table-DQkfKejv.js → wt-tree-table-Buj_TA4d.js} +1 -1
- package/dist/{wt-type-extension-value-input-D6qSoXP6.js → wt-type-extension-value-input-CoiLEZP5.js} +2 -2
- package/dist/{wt-vidstack-player-DJVlp2Go.js → wt-vidstack-player-DK1jhBLF.js} +287 -297
- package/package.json +1 -1
- package/src/components/wt-vidstack-player/components/panels/video-display-panel/video-display-panel.vue +6 -2
- package/src/components/wt-vidstack-player/components/toggle-button.vue +6 -27
- package/types/components/wt-vidstack-player/components/toggle-button.vue.d.ts +3 -4
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { defineComponent as lt, inject as ye, createElementBlock as
|
|
2
|
-
import { a as q, c as
|
|
3
|
-
import { T as ca, U as ua, V as pa, X as ma, _ as
|
|
1
|
+
import { defineComponent as lt, inject as ye, createElementBlock as mt, openBlock as G, normalizeClass as be, unref as ot, createElementVNode as at, renderSlot as ut, createVNode as W, computed as _i, onMounted as Ii, onBeforeUnmount as Vi, createBlock as Ut, createCommentVNode as Kt, toDisplayString as Di, createSlots as Ds, withCtx as Qt, resolveComponent as Ri, ref as us, provide as Oi, toRefs as Ni } from "vue";
|
|
2
|
+
import { a as q, c as ft, i as B, b as Ie, d as S, e as nt, f as Ve, l as O, s as Zt, g as Rs, E as Os, D as L, h as Q, o as P, j as Hi, k as f, m as l, n as M, p as Ns, q as Fi, r as oe, t as z, V as J, v as w, C as b, S as gt, w as Vt, x as p, y as rt, z as j, I as Hs, A as Bi, B as Gi, F as tt, G as Ge, H as Fs, J as ps, K as Ue, L as Bs, M as kt, N as Ke, O as de, P as Ui, Q as xt, R as Ki, U as Qi, W as Wi, X as zi, Y as ji, Z as Yi, _ as Xi, $ as Ji, a0 as Zi, a1 as Gs, a2 as T, a3 as _, a4 as ce, a5 as ta, a6 as Dt, a7 as U, a8 as ea, a9 as sa, aa as ia, ab as aa, ac as ms, ad as na, ae as ra, af as v, ag as y, ah as oa, ai as ha, T as la, u as da } from "./useVidstackSrc-CGEzqvQp.js";
|
|
3
|
+
import { T as ca, U as ua, V as pa, X as ma, _ as yt, Q as ue, C as K, Y as fa } from "./install-QMIeJaQP.js";
|
|
4
4
|
import { _ as ga } from "./wt-slider.vue_vue_type_script_setup_true_lang-DlaRDHxo.js";
|
|
5
|
-
const Us =
|
|
5
|
+
const Us = ft();
|
|
6
6
|
function $() {
|
|
7
7
|
return q(Us);
|
|
8
8
|
}
|
|
9
|
-
class
|
|
9
|
+
class he {
|
|
10
10
|
#t;
|
|
11
11
|
get length() {
|
|
12
12
|
return this.#t.length;
|
|
@@ -54,20 +54,20 @@ function ba(a, t, e) {
|
|
|
54
54
|
let s = t[0], i = t[1];
|
|
55
55
|
return e < s ? [e, -1] : e === s ? t : s === -1 ? (t[0] = e, t) : (e > s && (t[1] = e, i === -1 && a.push(t)), ya(a), t);
|
|
56
56
|
}
|
|
57
|
-
function
|
|
57
|
+
function Ph(a, t) {
|
|
58
58
|
const e = new URL(a);
|
|
59
59
|
for (const s of Object.keys(t))
|
|
60
60
|
e.searchParams.set(s, t[s] + "");
|
|
61
61
|
return e.toString();
|
|
62
62
|
}
|
|
63
|
-
function
|
|
63
|
+
function te(a, t = "preconnect") {
|
|
64
64
|
const e = document.querySelector(`link[href="${a}"]`);
|
|
65
65
|
if (!nt(e)) return !0;
|
|
66
66
|
const s = document.createElement("link");
|
|
67
67
|
return s.rel = t, s.href = a, s.crossOrigin = "true", document.head.append(s), !0;
|
|
68
68
|
}
|
|
69
69
|
const Ht = {};
|
|
70
|
-
function
|
|
70
|
+
function xh(a) {
|
|
71
71
|
if (Ht[a]) return Ht[a].promise;
|
|
72
72
|
const t = Ve(), e = document.querySelector(`script[src="${a}"]`);
|
|
73
73
|
if (!nt(e))
|
|
@@ -95,7 +95,7 @@ function ve(a, t, e) {
|
|
|
95
95
|
e(null), s = null;
|
|
96
96
|
return;
|
|
97
97
|
}
|
|
98
|
-
o.readyState == 2 ? e(o) : (e(null),
|
|
98
|
+
o.readyState == 2 ? e(o) : (e(null), Zt(() => {
|
|
99
99
|
const h = O(
|
|
100
100
|
o,
|
|
101
101
|
"load",
|
|
@@ -336,7 +336,7 @@ const Re = /* @__PURE__ */ new Set();
|
|
|
336
336
|
function Ha(a) {
|
|
337
337
|
return Re.add(a), () => Re.delete(a);
|
|
338
338
|
}
|
|
339
|
-
function
|
|
339
|
+
function E(a, t, e) {
|
|
340
340
|
a.hasAttribute(t) || a.setAttribute(t, e);
|
|
341
341
|
}
|
|
342
342
|
function bt(a, t) {
|
|
@@ -370,7 +370,7 @@ function Ws(a, t, e) {
|
|
|
370
370
|
}
|
|
371
371
|
return !1;
|
|
372
372
|
}
|
|
373
|
-
function
|
|
373
|
+
function pt(a, t) {
|
|
374
374
|
return new M(a).add("pointerup", (e) => {
|
|
375
375
|
e.button === 0 && !e.defaultPrevented && t(e);
|
|
376
376
|
}).add("keydown", (e) => {
|
|
@@ -378,11 +378,11 @@ function mt(a, t) {
|
|
|
378
378
|
});
|
|
379
379
|
}
|
|
380
380
|
function Qe(a) {
|
|
381
|
-
return
|
|
381
|
+
return oe(a) && (a.touches.length > 1 || a.changedTouches.length > 1);
|
|
382
382
|
}
|
|
383
383
|
function ht(a) {
|
|
384
384
|
let t = Rs(), e = window.requestAnimationFrame(() => {
|
|
385
|
-
|
|
385
|
+
Zt(a, t), e = -1;
|
|
386
386
|
});
|
|
387
387
|
return () => {
|
|
388
388
|
window.cancelAnimationFrame(e);
|
|
@@ -412,7 +412,7 @@ function Ys(a, t, e, {
|
|
|
412
412
|
}) {
|
|
413
413
|
if (!a) return;
|
|
414
414
|
const o = e.replace(" ", "-").replace("-center", "");
|
|
415
|
-
if (
|
|
415
|
+
if (z(a, "visibility", t ? null : "hidden"), !t) return;
|
|
416
416
|
let h = e.includes("top");
|
|
417
417
|
const d = (u) => e.includes("left") ? `calc(-1 * ${u})` : u, c = (u) => h ? `calc(-1 * ${u})` : u;
|
|
418
418
|
return ca(t, a, () => {
|
|
@@ -425,10 +425,10 @@ function Ys(a, t, e, {
|
|
|
425
425
|
],
|
|
426
426
|
...r
|
|
427
427
|
}).then(({ x: u, y: m, middlewareData: g }) => {
|
|
428
|
-
const
|
|
429
|
-
h = e.includes(
|
|
428
|
+
const C = !!g.flip?.index;
|
|
429
|
+
h = e.includes(C ? "bottom" : "top"), a.setAttribute(
|
|
430
430
|
"data-placement",
|
|
431
|
-
|
|
431
|
+
C ? e.startsWith("top") ? e.replace("top", "bottom") : e.replace("bottom", "top") : e
|
|
432
432
|
), Object.assign(a.style, {
|
|
433
433
|
top: `calc(${m + "px"} + ${c(
|
|
434
434
|
n ? n + "px" : `var(--${s}-y-offset, 0px)`
|
|
@@ -476,21 +476,21 @@ class Z extends J {
|
|
|
476
476
|
l(() => {
|
|
477
477
|
const e = new M(t);
|
|
478
478
|
if (!me()) {
|
|
479
|
-
this.#t.set(!1),
|
|
479
|
+
this.#t.set(!1), ne(t, !1), e.add("pointerenter", this.#i.bind(this)).add("pointerleave", this.#a.bind(this));
|
|
480
480
|
return;
|
|
481
481
|
}
|
|
482
482
|
const s = document.activeElement === t;
|
|
483
|
-
this.#t.set(s),
|
|
483
|
+
this.#t.set(s), ne(t, s), e.add("focus", this.#e.bind(this)).add("blur", this.#s.bind(this));
|
|
484
484
|
});
|
|
485
485
|
}
|
|
486
486
|
focused() {
|
|
487
487
|
return this.#t();
|
|
488
488
|
}
|
|
489
489
|
#e() {
|
|
490
|
-
this.#t.set(!0),
|
|
490
|
+
this.#t.set(!0), ne(this.el, !0);
|
|
491
491
|
}
|
|
492
492
|
#s() {
|
|
493
|
-
this.#t.set(!1),
|
|
493
|
+
this.#t.set(!1), ne(this.el, !1);
|
|
494
494
|
}
|
|
495
495
|
#i() {
|
|
496
496
|
ys(this.el, !0);
|
|
@@ -499,7 +499,7 @@ class Z extends J {
|
|
|
499
499
|
ys(this.el, !1);
|
|
500
500
|
}
|
|
501
501
|
}
|
|
502
|
-
function
|
|
502
|
+
function ne(a, t) {
|
|
503
503
|
f(a, "data-focus", t), f(a, "data-hocus", t);
|
|
504
504
|
}
|
|
505
505
|
function ys(a, t) {
|
|
@@ -724,7 +724,7 @@ class $e extends J {
|
|
|
724
724
|
function Ne(a) {
|
|
725
725
|
return !S(a) && "width" in a && "height" in a && Q(a.width) && Q(a.height);
|
|
726
726
|
}
|
|
727
|
-
const Js = new
|
|
727
|
+
const Js = new gt({
|
|
728
728
|
artist: "",
|
|
729
729
|
artwork: null,
|
|
730
730
|
audioTrack: null,
|
|
@@ -732,7 +732,7 @@ const Js = new yt({
|
|
|
732
732
|
autoPlay: !1,
|
|
733
733
|
autoPlayError: null,
|
|
734
734
|
audioGain: null,
|
|
735
|
-
buffered: new
|
|
735
|
+
buffered: new he(),
|
|
736
736
|
canLoad: !1,
|
|
737
737
|
canLoadPoster: !1,
|
|
738
738
|
canFullscreen: !1,
|
|
@@ -763,7 +763,7 @@ const Js = new yt({
|
|
|
763
763
|
mediaType: "unknown",
|
|
764
764
|
muted: !1,
|
|
765
765
|
paused: !0,
|
|
766
|
-
played: new
|
|
766
|
+
played: new he(),
|
|
767
767
|
playing: !1,
|
|
768
768
|
playsInline: !1,
|
|
769
769
|
pictureInPicture: !1,
|
|
@@ -776,7 +776,7 @@ const Js = new yt({
|
|
|
776
776
|
canSetPlaybackRate: !0,
|
|
777
777
|
canSetVolume: !1,
|
|
778
778
|
canSetAudioGain: !1,
|
|
779
|
-
seekable: new
|
|
779
|
+
seekable: new he(),
|
|
780
780
|
seeking: !1,
|
|
781
781
|
source: { src: "", type: "" },
|
|
782
782
|
sources: [],
|
|
@@ -1542,10 +1542,10 @@ class Ja {
|
|
|
1542
1542
|
this.#a = t(), this.#d();
|
|
1543
1543
|
}
|
|
1544
1544
|
add(t) {
|
|
1545
|
-
this.#s.push(t),
|
|
1545
|
+
this.#s.push(t), de(this.#d.bind(this));
|
|
1546
1546
|
}
|
|
1547
1547
|
remove(t) {
|
|
1548
|
-
t.detach(), this.#s.splice(this.#s.indexOf(t), 1),
|
|
1548
|
+
t.detach(), this.#s.splice(this.#s.indexOf(t), 1), de(this.#d.bind(this));
|
|
1549
1549
|
}
|
|
1550
1550
|
/** @internal */
|
|
1551
1551
|
attachVideo(t) {
|
|
@@ -2070,7 +2070,7 @@ class un {
|
|
|
2070
2070
|
return "audio";
|
|
2071
2071
|
}
|
|
2072
2072
|
async load(t) {
|
|
2073
|
-
return new (await import("./vidstack-audio-
|
|
2073
|
+
return new (await import("./vidstack-audio-BmvM3Qam.js")).AudioProvider(this.target, t);
|
|
2074
2074
|
}
|
|
2075
2075
|
}
|
|
2076
2076
|
class je {
|
|
@@ -2083,7 +2083,7 @@ class je {
|
|
|
2083
2083
|
return "video";
|
|
2084
2084
|
}
|
|
2085
2085
|
async load(t) {
|
|
2086
|
-
return new (await import("./vidstack-video-
|
|
2086
|
+
return new (await import("./vidstack-video-h4GIsOmA.js")).VideoProvider(this.target, t);
|
|
2087
2087
|
}
|
|
2088
2088
|
}
|
|
2089
2089
|
class Ye extends je {
|
|
@@ -2093,7 +2093,7 @@ class Ye extends je {
|
|
|
2093
2093
|
return Ye.supported && Ge(t);
|
|
2094
2094
|
}
|
|
2095
2095
|
async load(t) {
|
|
2096
|
-
return new (await import("./vidstack-hls-
|
|
2096
|
+
return new (await import("./vidstack-hls-hVw-GZOs.js")).HLSProvider(this.target, t);
|
|
2097
2097
|
}
|
|
2098
2098
|
}
|
|
2099
2099
|
class Xe extends je {
|
|
@@ -2103,7 +2103,7 @@ class Xe extends je {
|
|
|
2103
2103
|
return Xe.supported && Ue(t);
|
|
2104
2104
|
}
|
|
2105
2105
|
async load(t) {
|
|
2106
|
-
return new (await import("./vidstack-dash-
|
|
2106
|
+
return new (await import("./vidstack-dash-MOhANEa2.js")).DASHProvider(this.target, t);
|
|
2107
2107
|
}
|
|
2108
2108
|
}
|
|
2109
2109
|
class pn {
|
|
@@ -2116,7 +2116,7 @@ class pn {
|
|
|
2116
2116
|
"https://fresnel.vimeocdn.com"
|
|
2117
2117
|
];
|
|
2118
2118
|
for (const e of t)
|
|
2119
|
-
|
|
2119
|
+
te(e);
|
|
2120
2120
|
}
|
|
2121
2121
|
canPlay(t) {
|
|
2122
2122
|
return S(t.src) && t.type === "video/vimeo";
|
|
@@ -2125,7 +2125,7 @@ class pn {
|
|
|
2125
2125
|
return "video";
|
|
2126
2126
|
}
|
|
2127
2127
|
async load(t) {
|
|
2128
|
-
return new (await import("./vidstack-vimeo-
|
|
2128
|
+
return new (await import("./vidstack-vimeo-BWpgnTHH.js")).VimeoProvider(this.target, t);
|
|
2129
2129
|
}
|
|
2130
2130
|
async loadPoster(t, e, s) {
|
|
2131
2131
|
const { resolveVimeoVideoId: i, getVimeoVideoInfo: n } = await import("./vidstack-krOAtKMi-C50BTxmn.js");
|
|
@@ -2148,7 +2148,7 @@ class mn {
|
|
|
2148
2148
|
"https://static.doubleclick.net"
|
|
2149
2149
|
];
|
|
2150
2150
|
for (const e of t)
|
|
2151
|
-
|
|
2151
|
+
te(e);
|
|
2152
2152
|
}
|
|
2153
2153
|
canPlay(t) {
|
|
2154
2154
|
return S(t.src) && t.type === "video/youtube";
|
|
@@ -2157,7 +2157,7 @@ class mn {
|
|
|
2157
2157
|
return "video";
|
|
2158
2158
|
}
|
|
2159
2159
|
async load(t) {
|
|
2160
|
-
return new (await import("./vidstack-youtube-
|
|
2160
|
+
return new (await import("./vidstack-youtube-BTrv_J1m.js")).YouTubeProvider(this.target, t);
|
|
2161
2161
|
}
|
|
2162
2162
|
async loadPoster(t, e, s) {
|
|
2163
2163
|
const { findYouTubePoster: i, resolveYouTubeVideoId: n } = await import("./vidstack-Dm1xEU9Q-CXHNvShT.js"), r = S(t.src) && n(t.src);
|
|
@@ -2269,7 +2269,7 @@ class yn {
|
|
|
2269
2269
|
);
|
|
2270
2270
|
}
|
|
2271
2271
|
async ready(t, e) {
|
|
2272
|
-
return
|
|
2272
|
+
return de(async () => {
|
|
2273
2273
|
const { logger: s } = this.#e, {
|
|
2274
2274
|
autoPlay: i,
|
|
2275
2275
|
canPlay: n,
|
|
@@ -2283,13 +2283,13 @@ class yn {
|
|
|
2283
2283
|
source: g
|
|
2284
2284
|
} = this.#e.$state;
|
|
2285
2285
|
if (n()) return;
|
|
2286
|
-
const
|
|
2286
|
+
const C = {
|
|
2287
2287
|
duration: t?.duration ?? o(),
|
|
2288
2288
|
seekable: t?.seekable ?? h(),
|
|
2289
2289
|
buffered: t?.buffered ?? d(),
|
|
2290
2290
|
provider: this.#e.$provider()
|
|
2291
2291
|
};
|
|
2292
|
-
this.notify("can-play",
|
|
2292
|
+
this.notify("can-play", C, e), rt();
|
|
2293
2293
|
let I = this.#e.$provider(), { storage: et, qualities: os } = this.#e, { muted: Ci, volume: Ei, clipStartTime: Ai, playbackRate: Mi } = this.#e.$props;
|
|
2294
2294
|
await et?.onLoad?.(g());
|
|
2295
2295
|
const Li = m()?.currentTime, hs = m()?.paused, Pe = await et?.getTime(), ls = Li ?? Pe ?? Ai(), qi = hs === !1 || hs !== !0 && !r() && i();
|
|
@@ -2301,9 +2301,9 @@ class yn {
|
|
|
2301
2301
|
const Nt = await et?.getVideoQuality();
|
|
2302
2302
|
if (Nt && os.length) {
|
|
2303
2303
|
let Mt = null, ds = 1 / 0;
|
|
2304
|
-
for (const
|
|
2305
|
-
const cs = Math.abs(Nt.width -
|
|
2306
|
-
cs < ds && (Mt =
|
|
2304
|
+
for (const ae of os) {
|
|
2305
|
+
const cs = Math.abs(Nt.width - ae.width) + Math.abs(Nt.height - ae.height) + (Nt.bitrate ? Math.abs(Nt.bitrate - (ae.bitrate ?? 0)) : 0);
|
|
2306
|
+
cs < ds && (Mt = ae, ds = cs);
|
|
2307
2307
|
}
|
|
2308
2308
|
Mt && (Mt.selected = !0);
|
|
2309
2309
|
}
|
|
@@ -2624,8 +2624,8 @@ class vn extends Ct {
|
|
|
2624
2624
|
);
|
|
2625
2625
|
throw i.code = "CAST_NOT_AVAILABLE", i;
|
|
2626
2626
|
}
|
|
2627
|
-
if (
|
|
2628
|
-
const i = await import("./vidstack-D2pY00kU-
|
|
2627
|
+
if (te("https://www.gstatic.com"), !this.#v) {
|
|
2628
|
+
const i = await import("./vidstack-D2pY00kU-Bnd9jPy3.js").then((n) => n.v);
|
|
2629
2629
|
this.#v = new i.GoogleCastLoader();
|
|
2630
2630
|
}
|
|
2631
2631
|
await this.#v.prompt(this.#s), t && this.#e.queue.enqueue("media-google-cast-request", t);
|
|
@@ -2928,7 +2928,7 @@ class kn extends Ct {
|
|
|
2928
2928
|
handle(t) {
|
|
2929
2929
|
if (!this.scope) return;
|
|
2930
2930
|
const e = t.type;
|
|
2931
|
-
|
|
2931
|
+
de(() => this[t.type]?.(t)), Tn.has(e) && this.#s.set(e, t), this.dispatch(t);
|
|
2932
2932
|
}
|
|
2933
2933
|
#h = !1;
|
|
2934
2934
|
#l() {
|
|
@@ -3286,7 +3286,7 @@ class kn extends Ct {
|
|
|
3286
3286
|
this.#a,
|
|
3287
3287
|
this.#n,
|
|
3288
3288
|
t()
|
|
3289
|
-
), e.set(new
|
|
3289
|
+
), e.set(new he(this.#a)));
|
|
3290
3290
|
}
|
|
3291
3291
|
// Called to update time again incase duration precision has changed.
|
|
3292
3292
|
#_(t) {
|
|
@@ -3582,7 +3582,7 @@ class Lt extends b {
|
|
|
3582
3582
|
};
|
|
3583
3583
|
t.remote = this.remoteControl = new za(
|
|
3584
3584
|
void 0
|
|
3585
|
-
), t.remote.setPlayer(this), t.textTracks = new Za(), t.textTracks[k.crossOrigin] = this.$state.crossOrigin, t.textRenderers = new Ja(t), t.ariaKeys = {}, this.#t = t,
|
|
3585
|
+
), t.remote.setPlayer(this), t.textTracks = new Za(), t.textTracks[k.crossOrigin] = this.$state.crossOrigin, t.textRenderers = new Ja(t), t.ariaKeys = {}, this.#t = t, j(Us, t), this.orientation = new $e(), new Z(), new on(t);
|
|
3586
3586
|
const e = new wn();
|
|
3587
3587
|
this.#e = new kn(e, t), this.#s = new vn(this.#e, e, t), t.delegate = new yn(this.#e.handle.bind(this.#e), t), t.notify = t.delegate.notify.bind(t.delegate), typeof navigator < "u" && "mediaSession" in navigator && new Pn(), new ws("load", this.startLoading.bind(this)), new ws("posterLoad", this.startLoadingPoster.bind(this));
|
|
3588
3588
|
}
|
|
@@ -3590,7 +3590,7 @@ class Lt extends b {
|
|
|
3590
3590
|
this.#l(), l(this.#h.bind(this)), l(this.#y.bind(this)), l(this.#p.bind(this)), l(this.#w.bind(this)), l(this.#b.bind(this)), l(this.#T.bind(this)), l(this.#P.bind(this));
|
|
3591
3591
|
}
|
|
3592
3592
|
onAttach(t) {
|
|
3593
|
-
t.setAttribute("data-media-player", ""),
|
|
3593
|
+
t.setAttribute("data-media-player", ""), E(t, "tabindex", "0"), E(t, "role", "region"), l(this.#S.bind(this)), l(this.#r.bind(this)), l(this.#o.bind(this)), O(t, "find-media-player", this.#c.bind(this));
|
|
3594
3594
|
}
|
|
3595
3595
|
onConnect(t) {
|
|
3596
3596
|
Hs && f(t, "data-iphone", "");
|
|
@@ -3680,7 +3680,7 @@ class Lt extends b {
|
|
|
3680
3680
|
#u() {
|
|
3681
3681
|
if (!this.el) return;
|
|
3682
3682
|
const t = this.el.clientWidth, e = this.el.clientHeight;
|
|
3683
|
-
this.$state.width.set(t), this.$state.height.set(e),
|
|
3683
|
+
this.$state.width.set(t), this.$state.height.set(e), z(this.el, "--player-width", t + "px"), z(this.el, "--player-height", e + "px");
|
|
3684
3684
|
}
|
|
3685
3685
|
#d(t) {
|
|
3686
3686
|
const e = t.matches ? "coarse" : "fine";
|
|
@@ -4030,16 +4030,16 @@ class An {
|
|
|
4030
4030
|
this.#s = t, this.#i = e, this.#a = s;
|
|
4031
4031
|
const n = new Xe(), r = new Ye(), o = new je(), h = new un(), d = new mn(), c = new pn(), u = [d, c];
|
|
4032
4032
|
this.#e = tt(() => {
|
|
4033
|
-
const g = e.$state.remotePlaybackLoader(),
|
|
4034
|
-
return g ? [g, ...
|
|
4033
|
+
const g = e.$state.remotePlaybackLoader(), C = e.$props.preferNativeHLS() ? [o, h, n, r, ...u, ...i] : [r, o, h, n, ...u, ...i];
|
|
4034
|
+
return g ? [g, ...C] : C;
|
|
4035
4035
|
});
|
|
4036
4036
|
const { $state: m } = e;
|
|
4037
4037
|
m.sources.set(Ss(e.$props.src()));
|
|
4038
4038
|
for (const g of m.sources()) {
|
|
4039
|
-
const
|
|
4040
|
-
if (!
|
|
4041
|
-
const I =
|
|
4042
|
-
e.$state.source.set(g), e.$state.mediaType.set(I), e.$state.inferredViewType.set(I), this.#a.set(
|
|
4039
|
+
const C = this.#e().find((et) => et.canPlay(g));
|
|
4040
|
+
if (!C) continue;
|
|
4041
|
+
const I = C.mediaType(g);
|
|
4042
|
+
e.$state.source.set(g), e.$state.mediaType.set(I), e.$state.inferredViewType.set(I), this.#a.set(C), this.#t = !0;
|
|
4043
4043
|
break;
|
|
4044
4044
|
}
|
|
4045
4045
|
}
|
|
@@ -4079,14 +4079,14 @@ class An {
|
|
|
4079
4079
|
#o(t, e) {
|
|
4080
4080
|
let s = { src: "", type: "" }, i = null, n = new L("sources-change", { detail: { sources: e } }), r = this.#e(), { started: o, paused: h, currentTime: d, quality: c, savedState: u } = this.#i.$state;
|
|
4081
4081
|
for (const m of e) {
|
|
4082
|
-
const g = r.find((
|
|
4082
|
+
const g = r.find((C) => C.canPlay(m));
|
|
4083
4083
|
if (g) {
|
|
4084
4084
|
s = m, i = g;
|
|
4085
4085
|
break;
|
|
4086
4086
|
}
|
|
4087
4087
|
}
|
|
4088
4088
|
if (Ne(s)) {
|
|
4089
|
-
const m = c(), g = e.find((
|
|
4089
|
+
const m = c(), g = e.find((C) => C.src === m?.src);
|
|
4090
4090
|
p(o) ? u.set({
|
|
4091
4091
|
paused: p(h),
|
|
4092
4092
|
currentTime: p(d)
|
|
@@ -4106,7 +4106,7 @@ class An {
|
|
|
4106
4106
|
const t = this.#i.$provider();
|
|
4107
4107
|
if (!(!t || p(this.#i.$providerSetup))) {
|
|
4108
4108
|
if (this.#i.$state.canLoad()) {
|
|
4109
|
-
|
|
4109
|
+
Zt(() => t.setup(), t.scope), this.#i.$providerSetup.set(!0);
|
|
4110
4110
|
return;
|
|
4111
4111
|
}
|
|
4112
4112
|
p(() => t.preconnect?.());
|
|
@@ -4135,7 +4135,7 @@ class An {
|
|
|
4135
4135
|
}), () => n.abort();
|
|
4136
4136
|
}
|
|
4137
4137
|
try {
|
|
4138
|
-
S(e.src) &&
|
|
4138
|
+
S(e.src) && te(new URL(e.src).origin);
|
|
4139
4139
|
} catch {
|
|
4140
4140
|
}
|
|
4141
4141
|
}
|
|
@@ -4187,7 +4187,7 @@ class ai extends b {
|
|
|
4187
4187
|
static props = {
|
|
4188
4188
|
loaders: []
|
|
4189
4189
|
};
|
|
4190
|
-
static state = new
|
|
4190
|
+
static state = new gt({
|
|
4191
4191
|
loader: null
|
|
4192
4192
|
});
|
|
4193
4193
|
#t;
|
|
@@ -4237,7 +4237,7 @@ class ai extends b {
|
|
|
4237
4237
|
#h() {
|
|
4238
4238
|
if (!this.el) return;
|
|
4239
4239
|
const { player: t, $state: e } = this.#t, s = this.el.offsetWidth, i = this.el.offsetHeight;
|
|
4240
|
-
t && (e.mediaWidth.set(s), e.mediaHeight.set(i), t.el && (
|
|
4240
|
+
t && (e.mediaWidth.set(s), e.mediaHeight.set(i), t.el && (z(t.el, "--media-width", s + "px"), z(t.el, "--media-height", i + "px")));
|
|
4241
4241
|
}
|
|
4242
4242
|
#l() {
|
|
4243
4243
|
const t = [], e = [], s = this.el.children;
|
|
@@ -4393,17 +4393,17 @@ class F extends J {
|
|
|
4393
4393
|
});
|
|
4394
4394
|
}
|
|
4395
4395
|
onAttach(t) {
|
|
4396
|
-
|
|
4396
|
+
E(t, "tabindex", "0"), E(t, "role", "button"), E(t, "type", "button");
|
|
4397
4397
|
}
|
|
4398
4398
|
onConnect(t) {
|
|
4399
|
-
const e =
|
|
4399
|
+
const e = pt(t, this.#i.bind(this));
|
|
4400
4400
|
for (const s of ["click", "touchstart"])
|
|
4401
4401
|
e.add(s, this.#a.bind(this), {
|
|
4402
4402
|
passive: !0
|
|
4403
4403
|
});
|
|
4404
4404
|
}
|
|
4405
4405
|
#e() {
|
|
4406
|
-
return
|
|
4406
|
+
return ce(this.#t.isPresssed());
|
|
4407
4407
|
}
|
|
4408
4408
|
#s(t) {
|
|
4409
4409
|
ta(this.#t.isPresssed) && this.#t.isPresssed.set((e) => !e);
|
|
@@ -4646,10 +4646,10 @@ class Fn extends b {
|
|
|
4646
4646
|
});
|
|
4647
4647
|
}
|
|
4648
4648
|
onAttach(t) {
|
|
4649
|
-
|
|
4649
|
+
E(t, "tabindex", "0"), E(t, "role", "button"), E(t, "type", "button"), t.setAttribute("data-media-tooltip", "seek"), bt(t, this.#s.bind(this));
|
|
4650
4650
|
}
|
|
4651
4651
|
onConnect(t) {
|
|
4652
|
-
|
|
4652
|
+
pt(t, this.#i.bind(this));
|
|
4653
4653
|
}
|
|
4654
4654
|
#e() {
|
|
4655
4655
|
const { canSeek: t } = this.#t.$state;
|
|
@@ -4685,17 +4685,17 @@ class Bn extends b {
|
|
|
4685
4685
|
});
|
|
4686
4686
|
}
|
|
4687
4687
|
onAttach(t) {
|
|
4688
|
-
|
|
4688
|
+
E(t, "tabindex", "0"), E(t, "role", "button"), E(t, "type", "button"), t.setAttribute("data-media-tooltip", "live");
|
|
4689
4689
|
}
|
|
4690
4690
|
onConnect(t) {
|
|
4691
|
-
|
|
4691
|
+
pt(t, this.#e.bind(this));
|
|
4692
4692
|
}
|
|
4693
4693
|
#e(t) {
|
|
4694
4694
|
const { disabled: e } = this.$props, { liveEdge: s } = this.#t.$state;
|
|
4695
4695
|
e() || s() || this.#t.remote.seekToLiveEdge(t);
|
|
4696
4696
|
}
|
|
4697
4697
|
}
|
|
4698
|
-
const Et = new
|
|
4698
|
+
const Et = new gt({
|
|
4699
4699
|
min: 0,
|
|
4700
4700
|
max: 100,
|
|
4701
4701
|
value: 0,
|
|
@@ -4743,7 +4743,7 @@ class hi extends J {
|
|
|
4743
4743
|
this.#e?.disconnect(), this.#e = void 0;
|
|
4744
4744
|
}
|
|
4745
4745
|
}
|
|
4746
|
-
const Je =
|
|
4746
|
+
const Je = ft(), zt = ft();
|
|
4747
4747
|
function Gn(a, t, e, s) {
|
|
4748
4748
|
return ze(a, V(e, Ka(s)), t);
|
|
4749
4749
|
}
|
|
@@ -4769,7 +4769,7 @@ class Kn extends J {
|
|
|
4769
4769
|
super(), this.#t = t, this.#e = e;
|
|
4770
4770
|
}
|
|
4771
4771
|
onSetup() {
|
|
4772
|
-
|
|
4772
|
+
U(zt) && (this.#s = q(zt));
|
|
4773
4773
|
}
|
|
4774
4774
|
onConnect(t) {
|
|
4775
4775
|
l(this.#l.bind(this, t)), l(this.#c.bind(this, t)), this.#t.swipeGesture && l(this.#i.bind(this));
|
|
@@ -4900,7 +4900,7 @@ class Kn extends J {
|
|
|
4900
4900
|
#x(t) {
|
|
4901
4901
|
const { key: e, shiftKey: s } = t;
|
|
4902
4902
|
t.preventDefault(), t.stopPropagation();
|
|
4903
|
-
const { shiftKeyMultiplier: i } = this.$props, { min: n, max: r, value: o, pointerValue: h } = this.$state, d = this.#t.getStep(), c = this.#t.getKeyStep(), u = s ? c * i() : c, m = Number(Le[e]), g = u * m,
|
|
4903
|
+
const { shiftKeyMultiplier: i } = this.$props, { min: n, max: r, value: o, pointerValue: h } = this.$state, d = this.#t.getStep(), c = this.#t.getKeyStep(), u = s ? c * i() : c, m = Number(Le[e]), g = u * m, C = this.#f ? h() : this.#t.getValue?.() ?? o(), I = (C + g) / d;
|
|
4904
4904
|
return Math.max(n(), Math.min(r(), Number((d * I).toFixed(3))));
|
|
4905
4905
|
}
|
|
4906
4906
|
// -------------------------------------------------------------------------------------------
|
|
@@ -4923,8 +4923,8 @@ class Kn extends J {
|
|
|
4923
4923
|
{ leading: !0 }
|
|
4924
4924
|
);
|
|
4925
4925
|
}
|
|
4926
|
-
const qt =
|
|
4927
|
-
class
|
|
4926
|
+
const qt = ft(() => ({}));
|
|
4927
|
+
class Y extends J {
|
|
4928
4928
|
static props = {
|
|
4929
4929
|
hidden: !1,
|
|
4930
4930
|
disabled: !1,
|
|
@@ -4943,9 +4943,9 @@ class j extends J {
|
|
|
4943
4943
|
onSetup() {
|
|
4944
4944
|
this.#t = $();
|
|
4945
4945
|
const t = new Z();
|
|
4946
|
-
t.attach(this), this.$state.focused = t.focused.bind(t),
|
|
4946
|
+
t.attach(this), this.$state.focused = t.focused.bind(t), U(qt) || j(qt, {
|
|
4947
4947
|
default: "value"
|
|
4948
|
-
}),
|
|
4948
|
+
}), j(Je, {
|
|
4949
4949
|
orientation: this.$props.orientation,
|
|
4950
4950
|
disabled: this.#e.isDisabled,
|
|
4951
4951
|
preview: w(null)
|
|
@@ -4954,7 +4954,7 @@ class j extends J {
|
|
|
4954
4954
|
}).attach(this);
|
|
4955
4955
|
}
|
|
4956
4956
|
onAttach(t) {
|
|
4957
|
-
|
|
4957
|
+
E(t, "role", "slider"), E(t, "tabindex", "0"), E(t, "autocomplete", "off"), l(this.#u.bind(this));
|
|
4958
4958
|
}
|
|
4959
4959
|
onConnect(t) {
|
|
4960
4960
|
P(Qs(t, this.#s.set)), l(this.#n.bind(this));
|
|
@@ -4985,7 +4985,7 @@ class j extends J {
|
|
|
4985
4985
|
// ARIA
|
|
4986
4986
|
// -------------------------------------------------------------------------------------------
|
|
4987
4987
|
#l() {
|
|
4988
|
-
return
|
|
4988
|
+
return ce(this.#e.isDisabled());
|
|
4989
4989
|
}
|
|
4990
4990
|
// -------------------------------------------------------------------------------------------
|
|
4991
4991
|
// Attributes
|
|
@@ -5012,16 +5012,16 @@ class j extends J {
|
|
|
5012
5012
|
this.el?.style.setProperty("--slider-fill", t + "%"), this.el?.style.setProperty("--slider-pointer", e + "%");
|
|
5013
5013
|
});
|
|
5014
5014
|
}
|
|
5015
|
-
class
|
|
5015
|
+
class ee extends b {
|
|
5016
5016
|
static props = {
|
|
5017
|
-
...
|
|
5017
|
+
...Y.props,
|
|
5018
5018
|
min: 0,
|
|
5019
5019
|
max: 100,
|
|
5020
5020
|
value: 0
|
|
5021
5021
|
};
|
|
5022
5022
|
static state = Et;
|
|
5023
5023
|
constructor() {
|
|
5024
|
-
super(), new
|
|
5024
|
+
super(), new Y({
|
|
5025
5025
|
getStep: this.$props.step,
|
|
5026
5026
|
getKeyStep: this.$props.keyStep,
|
|
5027
5027
|
roundValue: Math.round,
|
|
@@ -5058,7 +5058,7 @@ class se extends b {
|
|
|
5058
5058
|
this.$state.min.set(t()), this.$state.max.set(e());
|
|
5059
5059
|
}
|
|
5060
5060
|
}
|
|
5061
|
-
const it = /* @__PURE__ */ new Map(),
|
|
5061
|
+
const it = /* @__PURE__ */ new Map(), re = /* @__PURE__ */ new Map();
|
|
5062
5062
|
class Ze {
|
|
5063
5063
|
#t;
|
|
5064
5064
|
#e;
|
|
@@ -5085,7 +5085,7 @@ class Ze {
|
|
|
5085
5085
|
this.$images.set(it.get(e));
|
|
5086
5086
|
} else if (S(e)) {
|
|
5087
5087
|
const s = this.#s(), i = e + "::" + s;
|
|
5088
|
-
if (!
|
|
5088
|
+
if (!re.has(i)) {
|
|
5089
5089
|
const n = new Promise(async (r, o) => {
|
|
5090
5090
|
try {
|
|
5091
5091
|
const h = await fetch(e, {
|
|
@@ -5127,11 +5127,11 @@ class Ze {
|
|
|
5127
5127
|
}).then((r) => (it.set(i, r), r)).catch((r) => {
|
|
5128
5128
|
this.#c(e, r);
|
|
5129
5129
|
}).finally(() => {
|
|
5130
|
-
S(i) &&
|
|
5130
|
+
S(i) && re.delete(i);
|
|
5131
5131
|
});
|
|
5132
|
-
|
|
5132
|
+
re.set(i, n);
|
|
5133
5133
|
}
|
|
5134
|
-
|
|
5134
|
+
re.get(i)?.then((n) => {
|
|
5135
5135
|
this.$images.set(n || []);
|
|
5136
5136
|
});
|
|
5137
5137
|
} else if (B(e))
|
|
@@ -5225,7 +5225,7 @@ class Qn extends b {
|
|
|
5225
5225
|
time: 0,
|
|
5226
5226
|
crossOrigin: null
|
|
5227
5227
|
};
|
|
5228
|
-
static state = new
|
|
5228
|
+
static state = new gt({
|
|
5229
5229
|
src: "",
|
|
5230
5230
|
img: null,
|
|
5231
5231
|
thumbnails: [],
|
|
@@ -5315,11 +5315,11 @@ class Qn extends b {
|
|
|
5315
5315
|
let m = Math.max(parseInt(h) / i, parseInt(d) / n), g = Math.min(
|
|
5316
5316
|
Math.max(parseInt(h), parseInt(r)) / i,
|
|
5317
5317
|
Math.max(parseInt(d), parseInt(o)) / n
|
|
5318
|
-
),
|
|
5319
|
-
this.#d(t, "--thumbnail-width", `${i *
|
|
5318
|
+
), C = !isNaN(g) && g < 1 ? g : m > 1 ? m : 1;
|
|
5319
|
+
this.#d(t, "--thumbnail-width", `${i * C}px`), this.#d(t, "--thumbnail-height", `${n * C}px`), this.#d(t, "--thumbnail-aspect-ratio", String(V(i / n, 5))), this.#d(e, "width", `${e.naturalWidth * C}px`), this.#d(e, "height", `${e.naturalHeight * C}px`), this.#d(
|
|
5320
5320
|
e,
|
|
5321
5321
|
"transform",
|
|
5322
|
-
s.coords ? `translate(-${s.coords.x *
|
|
5322
|
+
s.coords ? `translate(-${s.coords.x * C}px, -${s.coords.y * C}px)` : ""
|
|
5323
5323
|
), this.#d(e, "max-width", "none");
|
|
5324
5324
|
}
|
|
5325
5325
|
#d(t, e, s) {
|
|
@@ -5344,7 +5344,7 @@ class li extends b {
|
|
|
5344
5344
|
#e;
|
|
5345
5345
|
#s;
|
|
5346
5346
|
onSetup() {
|
|
5347
|
-
this.#s = Dt(
|
|
5347
|
+
this.#s = Dt(ee.state), this.#t = q(qt), this.#e = tt(this.getValueText.bind(this));
|
|
5348
5348
|
}
|
|
5349
5349
|
/**
|
|
5350
5350
|
* Returns the current value formatted as text based on prop settings.
|
|
@@ -5360,7 +5360,7 @@ class li extends b {
|
|
|
5360
5360
|
showMs: o
|
|
5361
5361
|
} = this.$props, { value: h, pointerValue: d, min: c, max: u } = this.#s, m = e?.() ?? this.#t.default, g = t() === "current" ? h() : d();
|
|
5362
5362
|
if (m === "percent") {
|
|
5363
|
-
const
|
|
5363
|
+
const C = u() - c(), I = g / C * 100;
|
|
5364
5364
|
return (this.#t.percent ?? V)(I, s()) + "%";
|
|
5365
5365
|
} else return m === "time" ? (this.#t.time ?? we)(g, {
|
|
5366
5366
|
padHrs: i(),
|
|
@@ -5380,7 +5380,7 @@ class zn extends b {
|
|
|
5380
5380
|
#t;
|
|
5381
5381
|
onSetup() {
|
|
5382
5382
|
this.#t = q(Je);
|
|
5383
|
-
const { active: t } = Dt(
|
|
5383
|
+
const { active: t } = Dt(ee.state);
|
|
5384
5384
|
this.setAttributes({
|
|
5385
5385
|
"data-visible": t
|
|
5386
5386
|
});
|
|
@@ -5442,7 +5442,7 @@ function jn(a, {
|
|
|
5442
5442
|
}
|
|
5443
5443
|
class Yn extends b {
|
|
5444
5444
|
static props = {
|
|
5445
|
-
...
|
|
5445
|
+
...Y.props,
|
|
5446
5446
|
keyStep: 5,
|
|
5447
5447
|
shiftKeyMultiplier: 2
|
|
5448
5448
|
};
|
|
@@ -5451,7 +5451,7 @@ class Yn extends b {
|
|
|
5451
5451
|
onSetup() {
|
|
5452
5452
|
this.#t = $();
|
|
5453
5453
|
const { audioGain: t } = this.#t.$state;
|
|
5454
|
-
|
|
5454
|
+
j(qt, {
|
|
5455
5455
|
default: "percent",
|
|
5456
5456
|
value(e) {
|
|
5457
5457
|
return (e * (t() ?? 1)).toFixed(2);
|
|
@@ -5459,7 +5459,7 @@ class Yn extends b {
|
|
|
5459
5459
|
percent(e) {
|
|
5460
5460
|
return Math.round(e * (t() ?? 1));
|
|
5461
5461
|
}
|
|
5462
|
-
}), new
|
|
5462
|
+
}), new Y({
|
|
5463
5463
|
getStep: this.$props.step,
|
|
5464
5464
|
getKeyStep: this.$props.keyStep,
|
|
5465
5465
|
roundValue: Math.round,
|
|
@@ -5474,7 +5474,7 @@ class Yn extends b {
|
|
|
5474
5474
|
}).attach(this), l(this.#n.bind(this));
|
|
5475
5475
|
}
|
|
5476
5476
|
onAttach(t) {
|
|
5477
|
-
t.setAttribute("data-media-volume-slider", ""),
|
|
5477
|
+
t.setAttribute("data-media-volume-slider", ""), E(t, "aria-label", "Volume");
|
|
5478
5478
|
const { canSetVolume: e } = this.#t.$state;
|
|
5479
5479
|
this.setAttributes({
|
|
5480
5480
|
"data-supported": e,
|
|
@@ -5516,7 +5516,7 @@ class Yn extends b {
|
|
|
5516
5516
|
}
|
|
5517
5517
|
let di = class extends b {
|
|
5518
5518
|
static props = {
|
|
5519
|
-
...
|
|
5519
|
+
...Y.props,
|
|
5520
5520
|
step: 0.1,
|
|
5521
5521
|
keyStep: 5,
|
|
5522
5522
|
shiftKeyMultiplier: 2,
|
|
@@ -5531,7 +5531,7 @@ let di = class extends b {
|
|
|
5531
5531
|
constructor() {
|
|
5532
5532
|
super();
|
|
5533
5533
|
const { noSwipeGesture: t } = this.$props;
|
|
5534
|
-
new
|
|
5534
|
+
new Y({
|
|
5535
5535
|
swipeGesture: () => !t(),
|
|
5536
5536
|
getValue: this.#y.bind(this),
|
|
5537
5537
|
getStep: this.#g.bind(this),
|
|
@@ -5549,7 +5549,7 @@ let di = class extends b {
|
|
|
5549
5549
|
});
|
|
5550
5550
|
}
|
|
5551
5551
|
onSetup() {
|
|
5552
|
-
this.#t = $(),
|
|
5552
|
+
this.#t = $(), j(qt, {
|
|
5553
5553
|
default: "time",
|
|
5554
5554
|
value: this.#k.bind(this),
|
|
5555
5555
|
time: this.#S.bind(this)
|
|
@@ -5560,7 +5560,7 @@ let di = class extends b {
|
|
|
5560
5560
|
}), l(this.#r.bind(this)), l(this.#n.bind(this));
|
|
5561
5561
|
}
|
|
5562
5562
|
onAttach(t) {
|
|
5563
|
-
t.setAttribute("data-media-time-slider", ""),
|
|
5563
|
+
t.setAttribute("data-media-time-slider", ""), E(t, "aria-label", "Seek");
|
|
5564
5564
|
}
|
|
5565
5565
|
onConnect(t) {
|
|
5566
5566
|
l(this.#o.bind(this)), ve(this.#t.textTracks, "chapters", this.#s.set);
|
|
@@ -5676,7 +5676,7 @@ let di = class extends b {
|
|
|
5676
5676
|
return Number.isFinite(s) ? `${r < 0 ? "-" : ""}${we(Math.abs(r), e)}` : "LIVE";
|
|
5677
5677
|
}
|
|
5678
5678
|
};
|
|
5679
|
-
const D =
|
|
5679
|
+
const D = ft();
|
|
5680
5680
|
function Xn(a, t) {
|
|
5681
5681
|
const e = sa(a, t);
|
|
5682
5682
|
for (const { el: s, top: i, left: n } of e)
|
|
@@ -5810,7 +5810,7 @@ class er {
|
|
|
5810
5810
|
return e;
|
|
5811
5811
|
}
|
|
5812
5812
|
}
|
|
5813
|
-
var sr = Object.defineProperty, ir = Object.getOwnPropertyDescriptor,
|
|
5813
|
+
var sr = Object.defineProperty, ir = Object.getOwnPropertyDescriptor, se = (a, t, e, s) => {
|
|
5814
5814
|
for (var i = ir(t, e), n = a.length - 1, r; n >= 0; n--)
|
|
5815
5815
|
(r = a[n]) && (i = r(t, e, i) || i);
|
|
5816
5816
|
return i && sr(t, e, i), i;
|
|
@@ -5852,11 +5852,11 @@ class Rt extends b {
|
|
|
5852
5852
|
content: this.#r,
|
|
5853
5853
|
showDelay: t,
|
|
5854
5854
|
listen: (e, s, i) => {
|
|
5855
|
-
|
|
5855
|
+
pt(e, (r) => {
|
|
5856
5856
|
this.#i() ? i(r) : s(r);
|
|
5857
5857
|
});
|
|
5858
5858
|
const n = this.#M();
|
|
5859
|
-
n &&
|
|
5859
|
+
n && pt(n, (r) => {
|
|
5860
5860
|
r.stopPropagation(), i(r);
|
|
5861
5861
|
});
|
|
5862
5862
|
},
|
|
@@ -5868,12 +5868,12 @@ class Rt extends b {
|
|
|
5868
5868
|
const t = ++ar;
|
|
5869
5869
|
this.#e = `media-menu-${t}`, this.#s = `media-menu-button-${t}`, this.#u = new er({
|
|
5870
5870
|
closeMenu: this.close.bind(this)
|
|
5871
|
-
}),
|
|
5871
|
+
}), U(D) && (this.#o = q(D)), this.#y(), this.setAttributes({
|
|
5872
5872
|
"data-open": this.#i,
|
|
5873
5873
|
"data-root": !this.isSubmenu,
|
|
5874
5874
|
"data-submenu": this.isSubmenu,
|
|
5875
5875
|
"data-disabled": this.#x.bind(this)
|
|
5876
|
-
}),
|
|
5876
|
+
}), j(D, {
|
|
5877
5877
|
button: this.#n,
|
|
5878
5878
|
content: this.#r,
|
|
5879
5879
|
expanded: this.#i,
|
|
@@ -5902,8 +5902,8 @@ class Rt extends b {
|
|
|
5902
5902
|
this.#n.set(null), this.#r.set(null), this.#l = null, this.#m.clear();
|
|
5903
5903
|
}
|
|
5904
5904
|
#y() {
|
|
5905
|
-
let t = -1, e =
|
|
5906
|
-
|
|
5905
|
+
let t = -1, e = U(zt) ? q(zt) : null;
|
|
5906
|
+
j(zt, {
|
|
5907
5907
|
onDragStart: () => {
|
|
5908
5908
|
e?.onDragStart?.(), window.clearTimeout(t), t = -1, this.#d = !0;
|
|
5909
5909
|
},
|
|
@@ -5918,12 +5918,12 @@ class Rt extends b {
|
|
|
5918
5918
|
const t = this.#S();
|
|
5919
5919
|
this.isSubmenu || this.#O(), this.#v(t), t && (l(() => {
|
|
5920
5920
|
const { height: e } = this.#t.$state, s = this.#r();
|
|
5921
|
-
s &&
|
|
5921
|
+
s && z(s, "--player-height", e() + "px");
|
|
5922
5922
|
}), this.#u.listen(), this.listen("pointerup", this.#A.bind(this)), O(window, "pointerup", this.#C.bind(this)));
|
|
5923
5923
|
}
|
|
5924
5924
|
#b(t) {
|
|
5925
5925
|
const e = t.el, s = this.isSubmenu, i = N(this.#x.bind(this));
|
|
5926
|
-
|
|
5926
|
+
E(e, "tabindex", s ? "-1" : "0"), E(e, "role", s ? "menuitem" : "button"), f(e, "id", this.#s), f(e, "aria-haspopup", "menu"), f(e, "aria-expanded", "false"), f(e, "data-root", !this.isSubmenu), f(e, "data-submenu", this.isSubmenu), l(() => {
|
|
5927
5927
|
f(e, "data-open", this.#i()), f(e, "aria-disabled", i());
|
|
5928
5928
|
}), this.#n.set(e), P(() => {
|
|
5929
5929
|
this.#n.set(null);
|
|
@@ -5931,7 +5931,7 @@ class Rt extends b {
|
|
|
5931
5931
|
}
|
|
5932
5932
|
#$(t) {
|
|
5933
5933
|
const e = t.el;
|
|
5934
|
-
e.style.setProperty("display", "none"), f(e, "id", this.#e),
|
|
5934
|
+
e.style.setProperty("display", "none"), f(e, "id", this.#e), E(e, "role", "menu"), E(e, "tabindex", "-1"), f(e, "data-root", !this.isSubmenu), f(e, "data-submenu", this.isSubmenu), this.#r.set(e), P(() => this.#r.set(null)), l(() => f(e, "data-open", this.#i())), this.#u.attachMenu(e), this.#v(!1);
|
|
5935
5935
|
const i = this.#B.bind(this);
|
|
5936
5936
|
this.isSubmenu ? this.#o?.onTransitionEvent(i) : (t.listen("transitionstart", i), t.listen("transitionend", i), t.listen("animationend", this.#O), t.listen("vds-menu-resize", this.#O));
|
|
5937
5937
|
}
|
|
@@ -5940,7 +5940,7 @@ class Rt extends b {
|
|
|
5940
5940
|
}
|
|
5941
5941
|
#v(t) {
|
|
5942
5942
|
const e = p(this.#r);
|
|
5943
|
-
e && f(e, "aria-hidden",
|
|
5943
|
+
e && f(e, "aria-hidden", ce(!t));
|
|
5944
5944
|
}
|
|
5945
5945
|
#P(t) {
|
|
5946
5946
|
this.#p.set(t);
|
|
@@ -5959,7 +5959,7 @@ class Rt extends b {
|
|
|
5959
5959
|
})
|
|
5960
5960
|
);
|
|
5961
5961
|
const s = this.#n(), i = this.#r();
|
|
5962
|
-
if (s && (f(s, "aria-controls", t && this.#e), f(s, "aria-expanded",
|
|
5962
|
+
if (s && (f(s, "aria-controls", t && this.#e), f(s, "aria-expanded", ce(t))), i && f(i, "aria-labelledby", t && this.#s), this.#i.set(t), this.#q(e), rt(), this.#f) {
|
|
5963
5963
|
t ? i?.focus() : s?.focus();
|
|
5964
5964
|
for (const n of [this.el, i])
|
|
5965
5965
|
n && n.setAttribute("data-keyboard", "");
|
|
@@ -6057,7 +6057,7 @@ class Rt extends b {
|
|
|
6057
6057
|
const r = getComputedStyle(n);
|
|
6058
6058
|
e += n.offsetHeight + (parseFloat(r.marginTop) || 0) + (parseFloat(r.marginBottom) || 0);
|
|
6059
6059
|
}
|
|
6060
|
-
|
|
6060
|
+
z(t, "--menu-height", e + "px");
|
|
6061
6061
|
});
|
|
6062
6062
|
#N = !1;
|
|
6063
6063
|
#B(t) {
|
|
@@ -6072,19 +6072,19 @@ class Rt extends b {
|
|
|
6072
6072
|
p(this.#i) && (this.#c.hide(t), rt());
|
|
6073
6073
|
}
|
|
6074
6074
|
}
|
|
6075
|
-
|
|
6075
|
+
se([
|
|
6076
6076
|
T
|
|
6077
6077
|
], Rt.prototype, "triggerElement");
|
|
6078
|
-
|
|
6078
|
+
se([
|
|
6079
6079
|
T
|
|
6080
6080
|
], Rt.prototype, "contentElement");
|
|
6081
|
-
|
|
6081
|
+
se([
|
|
6082
6082
|
T
|
|
6083
6083
|
], Rt.prototype, "isSubmenu");
|
|
6084
|
-
|
|
6084
|
+
se([
|
|
6085
6085
|
_
|
|
6086
6086
|
], Rt.prototype, "open");
|
|
6087
|
-
|
|
6087
|
+
se([
|
|
6088
6088
|
_
|
|
6089
6089
|
], Rt.prototype, "close");
|
|
6090
6090
|
class ts extends b {
|
|
@@ -6103,12 +6103,12 @@ class ts extends b {
|
|
|
6103
6103
|
this.#t = q(D);
|
|
6104
6104
|
}
|
|
6105
6105
|
onAttach(t) {
|
|
6106
|
-
this.#t.attachMenuButton(this), l(this.#s.bind(this)),
|
|
6106
|
+
this.#t.attachMenuButton(this), l(this.#s.bind(this)), E(t, "type", "button");
|
|
6107
6107
|
}
|
|
6108
6108
|
onConnect(t) {
|
|
6109
6109
|
l(this.#i.bind(this)), this.#a();
|
|
6110
6110
|
const e = new MutationObserver(this.#a.bind(this));
|
|
6111
|
-
e.observe(t, { attributeFilter: ["data-part"], childList: !0, subtree: !0 }), P(() => e.disconnect()),
|
|
6111
|
+
e.observe(t, { attributeFilter: ["data-part"], childList: !0, subtree: !0 }), P(() => e.disconnect()), pt(t, (s) => {
|
|
6112
6112
|
this.dispatch("select", { trigger: s });
|
|
6113
6113
|
});
|
|
6114
6114
|
}
|
|
@@ -6139,7 +6139,7 @@ class or extends b {
|
|
|
6139
6139
|
#t = null;
|
|
6140
6140
|
#e;
|
|
6141
6141
|
onSetup() {
|
|
6142
|
-
this.#e = $(),
|
|
6142
|
+
this.#e = $(), j(le, {
|
|
6143
6143
|
attach: this.#s.bind(this)
|
|
6144
6144
|
});
|
|
6145
6145
|
}
|
|
@@ -6174,7 +6174,7 @@ class or extends b {
|
|
|
6174
6174
|
return St(t) ? t : t ? document.querySelector(t) : document.body;
|
|
6175
6175
|
}
|
|
6176
6176
|
}
|
|
6177
|
-
const
|
|
6177
|
+
const le = ft();
|
|
6178
6178
|
class hr extends b {
|
|
6179
6179
|
static props = {
|
|
6180
6180
|
placement: null,
|
|
@@ -6190,9 +6190,9 @@ class hr extends b {
|
|
|
6190
6190
|
});
|
|
6191
6191
|
}
|
|
6192
6192
|
onAttach(t) {
|
|
6193
|
-
if (this.#t = q(D), this.#t.attachMenuItems(this),
|
|
6194
|
-
const e = q(
|
|
6195
|
-
e && (
|
|
6193
|
+
if (this.#t = q(D), this.#t.attachMenuItems(this), U(le)) {
|
|
6194
|
+
const e = q(le);
|
|
6195
|
+
e && (j(le, null), e.attach(t), P(() => e.attach(null)));
|
|
6196
6196
|
}
|
|
6197
6197
|
}
|
|
6198
6198
|
onConnect(t) {
|
|
@@ -6225,7 +6225,7 @@ class hr extends b {
|
|
|
6225
6225
|
return this.#t.button();
|
|
6226
6226
|
}
|
|
6227
6227
|
}
|
|
6228
|
-
const Fe =
|
|
6228
|
+
const Fe = ft();
|
|
6229
6229
|
class At extends J {
|
|
6230
6230
|
#t = /* @__PURE__ */ new Set();
|
|
6231
6231
|
#e = w("");
|
|
@@ -6241,13 +6241,13 @@ class At extends J {
|
|
|
6241
6241
|
this.#r(t);
|
|
6242
6242
|
}
|
|
6243
6243
|
onSetup() {
|
|
6244
|
-
|
|
6244
|
+
j(Fe, {
|
|
6245
6245
|
add: this.#i.bind(this),
|
|
6246
6246
|
remove: this.#a.bind(this)
|
|
6247
6247
|
});
|
|
6248
6248
|
}
|
|
6249
6249
|
onAttach(t) {
|
|
6250
|
-
|
|
6250
|
+
U(D) || E(t, "role", "radiogroup"), this.setAttributes({ value: this.#e });
|
|
6251
6251
|
}
|
|
6252
6252
|
onDestroy() {
|
|
6253
6253
|
this.#t.clear();
|
|
@@ -6298,14 +6298,14 @@ class ci extends b {
|
|
|
6298
6298
|
});
|
|
6299
6299
|
}
|
|
6300
6300
|
onAttach(t) {
|
|
6301
|
-
const e =
|
|
6302
|
-
|
|
6301
|
+
const e = U(D);
|
|
6302
|
+
E(t, "tabindex", e ? "-1" : "0"), E(t, "role", e ? "menuitemradio" : "radio"), l(this.#a.bind(this));
|
|
6303
6303
|
}
|
|
6304
6304
|
onConnect(t) {
|
|
6305
|
-
this.#i(),
|
|
6305
|
+
this.#i(), pt(t, this.#n.bind(this)), P(this.#s.bind(this));
|
|
6306
6306
|
}
|
|
6307
6307
|
#s() {
|
|
6308
|
-
|
|
6308
|
+
Zt(() => {
|
|
6309
6309
|
q(Fe).remove(this.#e);
|
|
6310
6310
|
}, this.connectScope);
|
|
6311
6311
|
}
|
|
@@ -6349,7 +6349,7 @@ class ui extends b {
|
|
|
6349
6349
|
super(), this.#s = new At(), this.#s.onValueChange = this.#o.bind(this);
|
|
6350
6350
|
}
|
|
6351
6351
|
onSetup() {
|
|
6352
|
-
this.#e = $(),
|
|
6352
|
+
this.#e = $(), U(D) && (this.#t = q(D));
|
|
6353
6353
|
}
|
|
6354
6354
|
onConnect(t) {
|
|
6355
6355
|
l(this.#i.bind(this)), l(this.#n.bind(this)), l(this.#a.bind(this));
|
|
@@ -6407,7 +6407,7 @@ class pi extends b {
|
|
|
6407
6407
|
super(), this.#s = new At(), this.#s.onValueChange = this.#o.bind(this);
|
|
6408
6408
|
}
|
|
6409
6409
|
onSetup() {
|
|
6410
|
-
this.#t = $(),
|
|
6410
|
+
this.#t = $(), U(D) && (this.#e = q(D));
|
|
6411
6411
|
}
|
|
6412
6412
|
onConnect(t) {
|
|
6413
6413
|
super.onConnect?.(t), l(this.#i.bind(this)), l(this.#n.bind(this)), l(this.#a.bind(this));
|
|
@@ -6483,7 +6483,7 @@ class mi extends b {
|
|
|
6483
6483
|
super(), this.#s = new At(), this.#s.onValueChange = this.#o.bind(this);
|
|
6484
6484
|
}
|
|
6485
6485
|
onSetup() {
|
|
6486
|
-
this.#t = $(),
|
|
6486
|
+
this.#t = $(), U(D) && (this.#e = q(D));
|
|
6487
6487
|
}
|
|
6488
6488
|
onConnect(t) {
|
|
6489
6489
|
l(this.#i.bind(this)), l(this.#a.bind(this)), l(this.#n.bind(this));
|
|
@@ -6543,7 +6543,7 @@ class fi extends b {
|
|
|
6543
6543
|
super(), this.#s = new At(), this.#s.onValueChange = this.#o.bind(this);
|
|
6544
6544
|
}
|
|
6545
6545
|
onSetup() {
|
|
6546
|
-
this.#t = $(),
|
|
6546
|
+
this.#t = $(), U(D) && (this.#e = q(D));
|
|
6547
6547
|
}
|
|
6548
6548
|
onConnect(t) {
|
|
6549
6549
|
l(this.#a.bind(this)), l(this.#r.bind(this)), l(this.#n.bind(this));
|
|
@@ -6611,7 +6611,7 @@ class cr extends b {
|
|
|
6611
6611
|
toggle: !1,
|
|
6612
6612
|
hidden: !1
|
|
6613
6613
|
};
|
|
6614
|
-
static state = new
|
|
6614
|
+
static state = new gt({
|
|
6615
6615
|
timeText: "",
|
|
6616
6616
|
hidden: !1
|
|
6617
6617
|
});
|
|
@@ -6647,7 +6647,7 @@ class cr extends b {
|
|
|
6647
6647
|
this.#e.set(null);
|
|
6648
6648
|
return;
|
|
6649
6649
|
}
|
|
6650
|
-
this.el &&
|
|
6650
|
+
this.el && pt(this.el, this.#u.bind(this));
|
|
6651
6651
|
}
|
|
6652
6652
|
#o() {
|
|
6653
6653
|
const { hidden: t, timeText: e } = this.$state, { duration: s } = this.#t.$state;
|
|
@@ -6695,7 +6695,7 @@ class ur extends b {
|
|
|
6695
6695
|
static props = {
|
|
6696
6696
|
translations: null
|
|
6697
6697
|
};
|
|
6698
|
-
static state = new
|
|
6698
|
+
static state = new gt({
|
|
6699
6699
|
label: null,
|
|
6700
6700
|
busy: !1
|
|
6701
6701
|
});
|
|
@@ -6708,7 +6708,7 @@ class ur extends b {
|
|
|
6708
6708
|
t.style.display = "contents";
|
|
6709
6709
|
}
|
|
6710
6710
|
onConnect(t) {
|
|
6711
|
-
t.setAttribute("data-media-announcer", ""),
|
|
6711
|
+
t.setAttribute("data-media-announcer", ""), E(t, "role", "status"), E(t, "aria-live", "polite");
|
|
6712
6712
|
const { busy: e } = this.$state;
|
|
6713
6713
|
this.setAttributes({
|
|
6714
6714
|
"aria-busy": () => e() ? "true" : null
|
|
@@ -6781,7 +6781,7 @@ class pr extends b {
|
|
|
6781
6781
|
}
|
|
6782
6782
|
onAttach(t) {
|
|
6783
6783
|
const { pictureInPicture: e, fullscreen: s } = this.#t.$state;
|
|
6784
|
-
|
|
6784
|
+
z(t, "pointer-events", "none"), E(t, "role", "group"), this.setAttributes({
|
|
6785
6785
|
"data-visible": this.#i.bind(this),
|
|
6786
6786
|
"data-fullscreen": s,
|
|
6787
6787
|
"data-pip": e
|
|
@@ -6790,13 +6790,13 @@ class pr extends b {
|
|
|
6790
6790
|
}), l(this.#e.bind(this)), l(() => {
|
|
6791
6791
|
const i = s();
|
|
6792
6792
|
for (const n of ["top", "right", "bottom", "left"])
|
|
6793
|
-
|
|
6793
|
+
z(t, `padding-${n}`, i && `env(safe-area-inset-${n})`);
|
|
6794
6794
|
});
|
|
6795
6795
|
}
|
|
6796
6796
|
#e() {
|
|
6797
6797
|
if (!this.el) return;
|
|
6798
6798
|
const { nativeControls: t } = this.#t.$state, e = t();
|
|
6799
|
-
f(this.el, "aria-hidden", e ? "true" : null),
|
|
6799
|
+
f(this.el, "aria-hidden", e ? "true" : null), z(this.el, "display", e ? "none" : null);
|
|
6800
6800
|
}
|
|
6801
6801
|
#s() {
|
|
6802
6802
|
const { controls: t } = this.#t.player, { hideDelay: e, hideOnMouseLeave: s } = this.$props;
|
|
@@ -6809,10 +6809,10 @@ class pr extends b {
|
|
|
6809
6809
|
}
|
|
6810
6810
|
let mr = class extends b {
|
|
6811
6811
|
onAttach(t) {
|
|
6812
|
-
t.style.pointerEvents ||
|
|
6812
|
+
t.style.pointerEvents || z(t, "pointer-events", "auto");
|
|
6813
6813
|
}
|
|
6814
6814
|
};
|
|
6815
|
-
const wt =
|
|
6815
|
+
const wt = ft();
|
|
6816
6816
|
let fr = 0;
|
|
6817
6817
|
class gr extends b {
|
|
6818
6818
|
static props = {
|
|
@@ -6841,7 +6841,7 @@ class gr extends b {
|
|
|
6841
6841
|
t.style.setProperty("display", "contents");
|
|
6842
6842
|
}
|
|
6843
6843
|
onSetup() {
|
|
6844
|
-
|
|
6844
|
+
j(wt, {
|
|
6845
6845
|
trigger: this.#e,
|
|
6846
6846
|
content: this.#s,
|
|
6847
6847
|
showing: this.#i,
|
|
@@ -6860,7 +6860,7 @@ class gr extends b {
|
|
|
6860
6860
|
t.removeAttribute("data-describedby"), t.removeAttribute("aria-describedby"), this.#e.set(null);
|
|
6861
6861
|
}
|
|
6862
6862
|
#r(t) {
|
|
6863
|
-
t.setAttribute("id", this.#t), t.style.display = "none",
|
|
6863
|
+
t.setAttribute("id", this.#t), t.style.display = "none", E(t, "role", "tooltip"), this.#s.set(t);
|
|
6864
6864
|
}
|
|
6865
6865
|
#o(t) {
|
|
6866
6866
|
t.removeAttribute("id"), t.removeAttribute("role"), this.#s.set(null);
|
|
@@ -6946,7 +6946,7 @@ class br extends b {
|
|
|
6946
6946
|
return q(wt).trigger();
|
|
6947
6947
|
}
|
|
6948
6948
|
}
|
|
6949
|
-
|
|
6949
|
+
class gi extends b {
|
|
6950
6950
|
static props = {
|
|
6951
6951
|
disabled: !1,
|
|
6952
6952
|
defaultPressed: !1
|
|
@@ -6963,7 +6963,7 @@ let gi = class extends b {
|
|
|
6963
6963
|
isPresssed: this.#t
|
|
6964
6964
|
});
|
|
6965
6965
|
}
|
|
6966
|
-
}
|
|
6966
|
+
}
|
|
6967
6967
|
const vr = gi.prototype;
|
|
6968
6968
|
T(vr, "pressed");
|
|
6969
6969
|
class $r extends b {
|
|
@@ -7009,7 +7009,7 @@ class yi extends b {
|
|
|
7009
7009
|
src: null,
|
|
7010
7010
|
crossOrigin: null
|
|
7011
7011
|
};
|
|
7012
|
-
static state = new
|
|
7012
|
+
static state = new gt({
|
|
7013
7013
|
video: null,
|
|
7014
7014
|
src: null,
|
|
7015
7015
|
crossOrigin: null,
|
|
@@ -7023,7 +7023,7 @@ class yi extends b {
|
|
|
7023
7023
|
return this.$state.video();
|
|
7024
7024
|
}
|
|
7025
7025
|
onSetup() {
|
|
7026
|
-
this.#t = $(), this.#e = Dt(
|
|
7026
|
+
this.#t = $(), this.#e = Dt(ee.state), this.#a(), this.setAttributes({
|
|
7027
7027
|
"data-loading": this.#n.bind(this),
|
|
7028
7028
|
"data-hidden": this.$state.hidden,
|
|
7029
7029
|
"data-error": this.#r.bind(this),
|
|
@@ -7078,7 +7078,7 @@ const wr = yi.prototype;
|
|
|
7078
7078
|
T(wr, "video");
|
|
7079
7079
|
class Tr extends b {
|
|
7080
7080
|
static props = {
|
|
7081
|
-
...
|
|
7081
|
+
...Y.props,
|
|
7082
7082
|
step: 25,
|
|
7083
7083
|
keyStep: 25,
|
|
7084
7084
|
shiftKeyMultiplier: 2,
|
|
@@ -7088,10 +7088,10 @@ class Tr extends b {
|
|
|
7088
7088
|
static state = Et;
|
|
7089
7089
|
#t;
|
|
7090
7090
|
onSetup() {
|
|
7091
|
-
this.#t = $(),
|
|
7091
|
+
this.#t = $(), j(qt, {
|
|
7092
7092
|
default: "percent",
|
|
7093
7093
|
percent: (t, e) => V(this.$state.value(), e) + "%"
|
|
7094
|
-
}), new
|
|
7094
|
+
}), new Y({
|
|
7095
7095
|
getStep: this.$props.step,
|
|
7096
7096
|
getKeyStep: this.$props.keyStep,
|
|
7097
7097
|
roundValue: Math.round,
|
|
@@ -7105,7 +7105,7 @@ class Tr extends b {
|
|
|
7105
7105
|
}).attach(this), l(this.#i.bind(this)), l(this.#a.bind(this));
|
|
7106
7106
|
}
|
|
7107
7107
|
onAttach(t) {
|
|
7108
|
-
t.setAttribute("data-media-audio-gain-slider", ""),
|
|
7108
|
+
t.setAttribute("data-media-audio-gain-slider", ""), E(t, "aria-label", "Audio Boost");
|
|
7109
7109
|
const { canSetAudioGain: e } = this.#t.$state;
|
|
7110
7110
|
this.setAttributes({
|
|
7111
7111
|
"data-supported": e,
|
|
@@ -7146,7 +7146,7 @@ class Tr extends b {
|
|
|
7146
7146
|
}
|
|
7147
7147
|
class kr extends b {
|
|
7148
7148
|
static props = {
|
|
7149
|
-
...
|
|
7149
|
+
...Y.props,
|
|
7150
7150
|
step: 0.25,
|
|
7151
7151
|
keyStep: 0.25,
|
|
7152
7152
|
shiftKeyMultiplier: 2,
|
|
@@ -7156,7 +7156,7 @@ class kr extends b {
|
|
|
7156
7156
|
static state = Et;
|
|
7157
7157
|
#t;
|
|
7158
7158
|
onSetup() {
|
|
7159
|
-
this.#t = $(), new
|
|
7159
|
+
this.#t = $(), new Y({
|
|
7160
7160
|
getStep: this.$props.step,
|
|
7161
7161
|
getKeyStep: this.$props.keyStep,
|
|
7162
7162
|
roundValue: this.#n,
|
|
@@ -7170,7 +7170,7 @@ class kr extends b {
|
|
|
7170
7170
|
}).attach(this), l(this.#i.bind(this)), l(this.#a.bind(this));
|
|
7171
7171
|
}
|
|
7172
7172
|
onAttach(t) {
|
|
7173
|
-
t.setAttribute("data-media-speed-slider", ""),
|
|
7173
|
+
t.setAttribute("data-media-speed-slider", ""), E(t, "aria-label", "Speed");
|
|
7174
7174
|
const { canSetPlaybackRate: e } = this.#t.$state;
|
|
7175
7175
|
this.setAttributes({
|
|
7176
7176
|
"data-supported": e,
|
|
@@ -7215,7 +7215,7 @@ class kr extends b {
|
|
|
7215
7215
|
}
|
|
7216
7216
|
class Sr extends b {
|
|
7217
7217
|
static props = {
|
|
7218
|
-
...
|
|
7218
|
+
...Y.props,
|
|
7219
7219
|
step: 1,
|
|
7220
7220
|
keyStep: 1,
|
|
7221
7221
|
shiftKeyMultiplier: 1
|
|
@@ -7227,7 +7227,7 @@ class Sr extends b {
|
|
|
7227
7227
|
return ni(t());
|
|
7228
7228
|
});
|
|
7229
7229
|
onSetup() {
|
|
7230
|
-
this.#t = $(), new
|
|
7230
|
+
this.#t = $(), new Y({
|
|
7231
7231
|
getStep: this.$props.step,
|
|
7232
7232
|
getKeyStep: this.$props.keyStep,
|
|
7233
7233
|
roundValue: Math.round,
|
|
@@ -7241,7 +7241,7 @@ class Sr extends b {
|
|
|
7241
7241
|
}).attach(this), l(this.#a.bind(this)), l(this.#n.bind(this));
|
|
7242
7242
|
}
|
|
7243
7243
|
onAttach(t) {
|
|
7244
|
-
t.setAttribute("data-media-quality-slider", ""),
|
|
7244
|
+
t.setAttribute("data-media-quality-slider", ""), E(t, "aria-label", "Video Quality");
|
|
7245
7245
|
const { qualities: e, canSetQuality: s } = this.#t.$state, i = tt(() => s() && e().length > 0);
|
|
7246
7246
|
this.setAttributes({
|
|
7247
7247
|
"data-supported": i,
|
|
@@ -7322,7 +7322,7 @@ class bi extends b {
|
|
|
7322
7322
|
if (this.#a = t, this.#s?.dispose(), this.#a.length === 1) {
|
|
7323
7323
|
const e = this.#a[0];
|
|
7324
7324
|
e.style.width = "100%", e.style.setProperty("--chapter-fill", "var(--slider-fill)"), e.style.setProperty("--chapter-progress", "var(--slider-progress)");
|
|
7325
|
-
} else this.#a.length > 0 &&
|
|
7325
|
+
} else this.#a.length > 0 && Zt(() => this.#d(), this.#s = aa());
|
|
7326
7326
|
}
|
|
7327
7327
|
#c(t) {
|
|
7328
7328
|
p(this.#n) !== t && (this.#u(), this.#n.set(t));
|
|
@@ -7548,7 +7548,7 @@ class ke extends b {
|
|
|
7548
7548
|
super(), this.#s = new At(), this.#s.onValueChange = this.#c.bind(this);
|
|
7549
7549
|
}
|
|
7550
7550
|
onSetup() {
|
|
7551
|
-
this.#t = $(),
|
|
7551
|
+
this.#t = $(), U(D) && (this.#e = q(D));
|
|
7552
7552
|
const { thumbnails: t } = this.$props;
|
|
7553
7553
|
this.setAttributes({
|
|
7554
7554
|
"data-thumbnails": () => !!t()
|
|
@@ -7601,7 +7601,7 @@ class ke extends b {
|
|
|
7601
7601
|
this.#s.value = h.toString(), h >= 0 && ht(() => {
|
|
7602
7602
|
if (!this.connectScope) return;
|
|
7603
7603
|
const d = this.#a()[h], c = this.el.querySelector("[aria-checked='true']"), u = Math.max(n, d.startTime), m = Math.min(r, d.endTime) - u, g = Math.max(0, o - u) / m * 100;
|
|
7604
|
-
c &&
|
|
7604
|
+
c && z(c, "--progress", V(g, 3) + "%");
|
|
7605
7605
|
});
|
|
7606
7606
|
}
|
|
7607
7607
|
#l() {
|
|
@@ -7642,7 +7642,7 @@ class wi extends b {
|
|
|
7642
7642
|
super(), this.#s = new At(), this.#s.onValueChange = this.#o.bind(this);
|
|
7643
7643
|
}
|
|
7644
7644
|
onSetup() {
|
|
7645
|
-
this.#t = $(),
|
|
7645
|
+
this.#t = $(), U(D) && (this.#e = q(D));
|
|
7646
7646
|
}
|
|
7647
7647
|
onConnect(t) {
|
|
7648
7648
|
l(this.#i.bind(this)), l(this.#a.bind(this)), l(this.#n.bind(this));
|
|
@@ -7714,7 +7714,7 @@ class Er extends b {
|
|
|
7714
7714
|
#i = 0;
|
|
7715
7715
|
#a = -1;
|
|
7716
7716
|
#n(t) {
|
|
7717
|
-
if (this.$props.disabled() || ms(t) && (t.button !== 0 || this.#t.activeMenu) ||
|
|
7717
|
+
if (this.$props.disabled() || ms(t) && (t.button !== 0 || this.#t.activeMenu) || oe(t) && this.#t.activeMenu || Qe(t) || !this.#o(t))
|
|
7718
7718
|
return;
|
|
7719
7719
|
if (t.MEDIA_GESTURE = !0, t.preventDefault(), !p(this.$props.event)?.startsWith("dbl"))
|
|
7720
7720
|
this.#i === 0 && setTimeout(() => {
|
|
@@ -7738,8 +7738,8 @@ class Er extends b {
|
|
|
7738
7738
|
/** Validate event occurred in gesture bounds. */
|
|
7739
7739
|
#o(t) {
|
|
7740
7740
|
if (!this.el) return !1;
|
|
7741
|
-
if (ms(t) || na(t) ||
|
|
7742
|
-
const e =
|
|
7741
|
+
if (ms(t) || na(t) || oe(t)) {
|
|
7742
|
+
const e = oe(t) ? t.changedTouches[0] ?? t.touches[0] : void 0, s = e?.clientX ?? t.clientX, i = e?.clientY ?? t.clientY, n = this.el.getBoundingClientRect(), r = i >= n.top && i <= n.bottom && s >= n.left && s <= n.right;
|
|
7743
7743
|
return t.type.includes("leave") ? !r : r;
|
|
7744
7744
|
}
|
|
7745
7745
|
return !0;
|
|
@@ -7798,7 +7798,7 @@ class Ar {
|
|
|
7798
7798
|
});
|
|
7799
7799
|
}
|
|
7800
7800
|
}
|
|
7801
|
-
class
|
|
7801
|
+
class dt extends b {
|
|
7802
7802
|
static props = {
|
|
7803
7803
|
textDir: "ltr",
|
|
7804
7804
|
exampleText: "Captions look like this."
|
|
@@ -7814,14 +7814,14 @@ class ct extends b {
|
|
|
7814
7814
|
t.style.setProperty("pointer-events", "none");
|
|
7815
7815
|
}
|
|
7816
7816
|
onConnect(t) {
|
|
7817
|
-
|
|
7817
|
+
dt.lib() || import("./prod-BoQuiIB3.js").then((e) => e.d).then((e) => dt.lib.set(e)), l(this.#s.bind(this));
|
|
7818
7818
|
}
|
|
7819
7819
|
#e() {
|
|
7820
7820
|
const { textTrack: t, remotePlaybackState: e, iOSControls: s } = this.#t.$state, i = t();
|
|
7821
7821
|
return s() || e() === "connected" || !i || !H(i);
|
|
7822
7822
|
}
|
|
7823
7823
|
#s() {
|
|
7824
|
-
if (!
|
|
7824
|
+
if (!dt.lib()) return;
|
|
7825
7825
|
const { viewType: t } = this.#t.$state;
|
|
7826
7826
|
return t() === "audio" ? this.#i() : this.#o();
|
|
7827
7827
|
}
|
|
@@ -7838,18 +7838,18 @@ class ct extends b {
|
|
|
7838
7838
|
}
|
|
7839
7839
|
#n() {
|
|
7840
7840
|
this.el.textContent = "", this.#p >= 0 && this.#y();
|
|
7841
|
-
const { realCurrentTime: t, textTrack: e } = this.#t.$state, { renderVTTCueString: s } =
|
|
7841
|
+
const { realCurrentTime: t, textTrack: e } = this.#t.$state, { renderVTTCueString: s } = dt.lib(), i = p(t), n = p(e).activeCues;
|
|
7842
7842
|
for (const r of n) {
|
|
7843
7843
|
const o = this.#g(), h = this.#b();
|
|
7844
7844
|
h.innerHTML = s(r, i), o.append(h), this.el.append(h);
|
|
7845
7845
|
}
|
|
7846
7846
|
}
|
|
7847
7847
|
#r() {
|
|
7848
|
-
const { realCurrentTime: t } = this.#t.$state, { updateTimedVTTCueNodes: e } =
|
|
7848
|
+
const { realCurrentTime: t } = this.#t.$state, { updateTimedVTTCueNodes: e } = dt.lib();
|
|
7849
7849
|
e(this.el, t());
|
|
7850
7850
|
}
|
|
7851
7851
|
#o() {
|
|
7852
|
-
const { CaptionsRenderer: t } =
|
|
7852
|
+
const { CaptionsRenderer: t } = dt.lib(), e = new t(this.el), s = new Ar(e);
|
|
7853
7853
|
return this.#t.textRenderers.add(s), l(this.#h.bind(this, e)), l(this.#l.bind(this, e)), this.#c(e), () => {
|
|
7854
7854
|
this.el.textContent = "", this.#t.textRenderers.remove(s), e.destroy();
|
|
7855
7855
|
};
|
|
@@ -7904,7 +7904,7 @@ class Mr extends b {
|
|
|
7904
7904
|
alt: null,
|
|
7905
7905
|
crossOrigin: null
|
|
7906
7906
|
};
|
|
7907
|
-
static state = new
|
|
7907
|
+
static state = new gt({
|
|
7908
7908
|
img: null,
|
|
7909
7909
|
src: null,
|
|
7910
7910
|
alt: null,
|
|
@@ -7936,7 +7936,7 @@ class Mr extends b {
|
|
|
7936
7936
|
}
|
|
7937
7937
|
#s() {
|
|
7938
7938
|
const { canLoadPoster: t, poster: e } = this.#t.$state;
|
|
7939
|
-
!t() && e() &&
|
|
7939
|
+
!t() && e() && te(e(), "preconnect");
|
|
7940
7940
|
}
|
|
7941
7941
|
#i() {
|
|
7942
7942
|
const { src: t } = this.$props, { poster: e, nativeControls: s } = this.#t.$state;
|
|
@@ -8022,7 +8022,7 @@ class Lr extends v(HTMLElement, ai) {
|
|
|
8022
8022
|
if (this.#e?.classList.contains("vds-google-cast"))
|
|
8023
8023
|
return this.#e;
|
|
8024
8024
|
const t = document.createElement("div");
|
|
8025
|
-
return t.classList.add("vds-google-cast"), import("./vidstack-D_-9AA6_-
|
|
8025
|
+
return t.classList.add("vds-google-cast"), import("./vidstack-D_-9AA6_-4njHBpdi.js").then(({ insertContent: e }) => {
|
|
8026
8026
|
e(t, this.#t.$state);
|
|
8027
8027
|
}), t;
|
|
8028
8028
|
}
|
|
@@ -8040,9 +8040,9 @@ class qr extends v(HTMLElement, Lt) {
|
|
|
8040
8040
|
y(qr);
|
|
8041
8041
|
y(Lr);
|
|
8042
8042
|
var qe;
|
|
8043
|
-
const ge = window, _t = ge.trustedTypes, Es = _t ? _t.createPolicy("lit-html", { createHTML: (a) => a }) : void 0, Be = "$lit$",
|
|
8043
|
+
const ge = window, _t = ge.trustedTypes, Es = _t ? _t.createPolicy("lit-html", { createHTML: (a) => a }) : void 0, Be = "$lit$", ct = `lit$${(Math.random() + "").slice(9)}$`, Ti = "?" + ct, _r = `<${Ti}>`, Pt = document, jt = () => Pt.createComment(""), Yt = (a) => a === null || typeof a != "object" && typeof a != "function", ki = Array.isArray, Ir = (a) => ki(a) || typeof a?.[Symbol.iterator] == "function", _e = `[
|
|
8044
8044
|
\f\r]`, Bt = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, As = /-->/g, Ms = />/g, vt = RegExp(`>|${_e}(?:([^\\s"'>=/]+)(${_e}*=${_e}*(?:[^
|
|
8045
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), Ls = /'/g, qs = /"/g, Si = /^(?:script|style|textarea|title)$/i, Vr = (a) => (t, ...e) => ({ _$litType$: a, strings: t, values: e }), Dr = Vr(1),
|
|
8045
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), Ls = /'/g, qs = /"/g, Si = /^(?:script|style|textarea|title)$/i, Vr = (a) => (t, ...e) => ({ _$litType$: a, strings: t, values: e }), Dr = Vr(1), Xt = /* @__PURE__ */ Symbol.for("lit-noChange"), R = /* @__PURE__ */ Symbol.for("lit-nothing"), _s = /* @__PURE__ */ new WeakMap(), Tt = Pt.createTreeWalker(Pt, 129, null, !1);
|
|
8046
8046
|
function Pi(a, t) {
|
|
8047
8047
|
if (!Array.isArray(a) || !a.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
8048
8048
|
return Es !== void 0 ? Es.createHTML(t) : t;
|
|
@@ -8055,17 +8055,17 @@ const Rr = (a, t) => {
|
|
|
8055
8055
|
let d, c, u = -1, m = 0;
|
|
8056
8056
|
for (; m < h.length && (r.lastIndex = m, c = r.exec(h), c !== null); ) m = r.lastIndex, r === Bt ? c[1] === "!--" ? r = As : c[1] !== void 0 ? r = Ms : c[2] !== void 0 ? (Si.test(c[2]) && (i = RegExp("</" + c[2], "g")), r = vt) : c[3] !== void 0 && (r = vt) : r === vt ? c[0] === ">" ? (r = i ?? Bt, u = -1) : c[1] === void 0 ? u = -2 : (u = r.lastIndex - c[2].length, d = c[1], r = c[3] === void 0 ? vt : c[3] === '"' ? qs : Ls) : r === qs || r === Ls ? r = vt : r === As || r === Ms ? r = Bt : (r = vt, i = void 0);
|
|
8057
8057
|
const g = r === vt && a[o + 1].startsWith("/>") ? " " : "";
|
|
8058
|
-
n += r === Bt ? h + _r : u >= 0 ? (s.push(d), h.slice(0, u) + Be + h.slice(u) +
|
|
8058
|
+
n += r === Bt ? h + _r : u >= 0 ? (s.push(d), h.slice(0, u) + Be + h.slice(u) + ct + g) : h + ct + (u === -2 ? (s.push(void 0), o) : g);
|
|
8059
8059
|
}
|
|
8060
8060
|
return [Pi(a, n + (a[e] || "<?>") + (t === 2 ? "</svg>" : "")), s];
|
|
8061
8061
|
};
|
|
8062
|
-
class
|
|
8062
|
+
class Jt {
|
|
8063
8063
|
constructor({ strings: t, _$litType$: e }, s) {
|
|
8064
8064
|
let i;
|
|
8065
8065
|
this.parts = [];
|
|
8066
8066
|
let n = 0, r = 0;
|
|
8067
8067
|
const o = t.length - 1, h = this.parts, [d, c] = Rr(t, e);
|
|
8068
|
-
if (this.el =
|
|
8068
|
+
if (this.el = Jt.createElement(d, s), Tt.currentNode = this.el.content, e === 2) {
|
|
8069
8069
|
const u = this.el.content, m = u.firstChild;
|
|
8070
8070
|
m.remove(), u.append(...m.childNodes);
|
|
8071
8071
|
}
|
|
@@ -8073,27 +8073,27 @@ class Zt {
|
|
|
8073
8073
|
if (i.nodeType === 1) {
|
|
8074
8074
|
if (i.hasAttributes()) {
|
|
8075
8075
|
const u = [];
|
|
8076
|
-
for (const m of i.getAttributeNames()) if (m.endsWith(Be) || m.startsWith(
|
|
8076
|
+
for (const m of i.getAttributeNames()) if (m.endsWith(Be) || m.startsWith(ct)) {
|
|
8077
8077
|
const g = c[r++];
|
|
8078
8078
|
if (u.push(m), g !== void 0) {
|
|
8079
|
-
const
|
|
8080
|
-
h.push({ type: 1, index: n, name: I[2], strings:
|
|
8079
|
+
const C = i.getAttribute(g.toLowerCase() + Be).split(ct), I = /([.?@])?(.*)/.exec(g);
|
|
8080
|
+
h.push({ type: 1, index: n, name: I[2], strings: C, ctor: I[1] === "." ? Nr : I[1] === "?" ? Fr : I[1] === "@" ? Br : Se });
|
|
8081
8081
|
} else h.push({ type: 6, index: n });
|
|
8082
8082
|
}
|
|
8083
8083
|
for (const m of u) i.removeAttribute(m);
|
|
8084
8084
|
}
|
|
8085
8085
|
if (Si.test(i.tagName)) {
|
|
8086
|
-
const u = i.textContent.split(
|
|
8086
|
+
const u = i.textContent.split(ct), m = u.length - 1;
|
|
8087
8087
|
if (m > 0) {
|
|
8088
8088
|
i.textContent = _t ? _t.emptyScript : "";
|
|
8089
|
-
for (let g = 0; g < m; g++) i.append(u[g],
|
|
8090
|
-
i.append(u[m],
|
|
8089
|
+
for (let g = 0; g < m; g++) i.append(u[g], jt()), Tt.nextNode(), h.push({ type: 2, index: ++n });
|
|
8090
|
+
i.append(u[m], jt());
|
|
8091
8091
|
}
|
|
8092
8092
|
}
|
|
8093
8093
|
} else if (i.nodeType === 8) if (i.data === Ti) h.push({ type: 2, index: n });
|
|
8094
8094
|
else {
|
|
8095
8095
|
let u = -1;
|
|
8096
|
-
for (; (u = i.data.indexOf(
|
|
8096
|
+
for (; (u = i.data.indexOf(ct, u + 1)) !== -1; ) h.push({ type: 7, index: n }), u += ct.length - 1;
|
|
8097
8097
|
}
|
|
8098
8098
|
n++;
|
|
8099
8099
|
}
|
|
@@ -8105,9 +8105,9 @@ class Zt {
|
|
|
8105
8105
|
}
|
|
8106
8106
|
function It(a, t, e = a, s) {
|
|
8107
8107
|
var i, n, r, o;
|
|
8108
|
-
if (t ===
|
|
8108
|
+
if (t === Xt) return t;
|
|
8109
8109
|
let h = s !== void 0 ? (i = e._$Co) === null || i === void 0 ? void 0 : i[s] : e._$Cl;
|
|
8110
|
-
const d =
|
|
8110
|
+
const d = Yt(t) ? void 0 : t._$litDirective$;
|
|
8111
8111
|
return h?.constructor !== d && ((n = h?._$AO) === null || n === void 0 || n.call(h, !1), d === void 0 ? h = void 0 : (h = new d(a), h._$AT(a, e, s)), s !== void 0 ? ((r = (o = e)._$Co) !== null && r !== void 0 ? r : o._$Co = [])[s] = h : e._$Cl = h), h !== void 0 && (t = It(a, h._$AS(a, t.values), h, s)), t;
|
|
8112
8112
|
}
|
|
8113
8113
|
class Or {
|
|
@@ -8128,7 +8128,7 @@ class Or {
|
|
|
8128
8128
|
for (; d !== void 0; ) {
|
|
8129
8129
|
if (o === d.index) {
|
|
8130
8130
|
let c;
|
|
8131
|
-
d.type === 2 ? c = new
|
|
8131
|
+
d.type === 2 ? c = new ie(r, r.nextSibling, this, t) : d.type === 1 ? c = new d.ctor(r, d.name, d.strings, this, t) : d.type === 6 && (c = new Gr(r, this, t)), this._$AV.push(c), d = i[++h];
|
|
8132
8132
|
}
|
|
8133
8133
|
o !== d?.index && (r = Tt.nextNode(), o++);
|
|
8134
8134
|
}
|
|
@@ -8139,7 +8139,7 @@ class Or {
|
|
|
8139
8139
|
for (const s of this._$AV) s !== void 0 && (s.strings !== void 0 ? (s._$AI(t, s, e), e += s.strings.length - 2) : s._$AI(t[e])), e++;
|
|
8140
8140
|
}
|
|
8141
8141
|
}
|
|
8142
|
-
class
|
|
8142
|
+
class ie {
|
|
8143
8143
|
constructor(t, e, s, i) {
|
|
8144
8144
|
var n;
|
|
8145
8145
|
this.type = 2, this._$AH = R, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM = s, this.options = i, this._$Cp = (n = i?.isConnected) === null || n === void 0 || n;
|
|
@@ -8160,7 +8160,7 @@ class ae {
|
|
|
8160
8160
|
return this._$AB;
|
|
8161
8161
|
}
|
|
8162
8162
|
_$AI(t, e = this) {
|
|
8163
|
-
t = It(this, t, e),
|
|
8163
|
+
t = It(this, t, e), Yt(t) ? t === R || t == null || t === "" ? (this._$AH !== R && this._$AR(), this._$AH = R) : t !== this._$AH && t !== Xt && this._(t) : t._$litType$ !== void 0 ? this.g(t) : t.nodeType !== void 0 ? this.$(t) : Ir(t) ? this.T(t) : this._(t);
|
|
8164
8164
|
}
|
|
8165
8165
|
k(t) {
|
|
8166
8166
|
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
|
@@ -8169,11 +8169,11 @@ class ae {
|
|
|
8169
8169
|
this._$AH !== t && (this._$AR(), this._$AH = this.k(t));
|
|
8170
8170
|
}
|
|
8171
8171
|
_(t) {
|
|
8172
|
-
this._$AH !== R &&
|
|
8172
|
+
this._$AH !== R && Yt(this._$AH) ? this._$AA.nextSibling.data = t : this.$(Pt.createTextNode(t)), this._$AH = t;
|
|
8173
8173
|
}
|
|
8174
8174
|
g(t) {
|
|
8175
8175
|
var e;
|
|
8176
|
-
const { values: s, _$litType$: i } = t, n = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el =
|
|
8176
|
+
const { values: s, _$litType$: i } = t, n = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = Jt.createElement(Pi(i.h, i.h[0]), this.options)), i);
|
|
8177
8177
|
if (((e = this._$AH) === null || e === void 0 ? void 0 : e._$AD) === n) this._$AH.v(s);
|
|
8178
8178
|
else {
|
|
8179
8179
|
const r = new Or(n, this), o = r.u(this.options);
|
|
@@ -8182,13 +8182,13 @@ class ae {
|
|
|
8182
8182
|
}
|
|
8183
8183
|
_$AC(t) {
|
|
8184
8184
|
let e = _s.get(t.strings);
|
|
8185
|
-
return e === void 0 && _s.set(t.strings, e = new
|
|
8185
|
+
return e === void 0 && _s.set(t.strings, e = new Jt(t)), e;
|
|
8186
8186
|
}
|
|
8187
8187
|
T(t) {
|
|
8188
8188
|
ki(this._$AH) || (this._$AH = [], this._$AR());
|
|
8189
8189
|
const e = this._$AH;
|
|
8190
8190
|
let s, i = 0;
|
|
8191
|
-
for (const n of t) i === e.length ? e.push(s = new
|
|
8191
|
+
for (const n of t) i === e.length ? e.push(s = new ie(this.k(jt()), this.k(jt()), this, this.options)) : s = e[i], s._$AI(n), i++;
|
|
8192
8192
|
i < e.length && (this._$AR(s && s._$AB.nextSibling, i), e.length = i);
|
|
8193
8193
|
}
|
|
8194
8194
|
_$AR(t = this._$AA.nextSibling, e) {
|
|
@@ -8216,11 +8216,11 @@ class Se {
|
|
|
8216
8216
|
_$AI(t, e = this, s, i) {
|
|
8217
8217
|
const n = this.strings;
|
|
8218
8218
|
let r = !1;
|
|
8219
|
-
if (n === void 0) t = It(this, t, e, 0), r = !
|
|
8219
|
+
if (n === void 0) t = It(this, t, e, 0), r = !Yt(t) || t !== this._$AH && t !== Xt, r && (this._$AH = t);
|
|
8220
8220
|
else {
|
|
8221
8221
|
const o = t;
|
|
8222
8222
|
let h, d;
|
|
8223
|
-
for (t = n[0], h = 0; h < n.length - 1; h++) d = It(this, o[s + h], e, h), d ===
|
|
8223
|
+
for (t = n[0], h = 0; h < n.length - 1; h++) d = It(this, o[s + h], e, h), d === Xt && (d = this._$AH[h]), r || (r = !Yt(d) || d !== this._$AH[h]), d === R ? t = R : t !== R && (t += (d ?? "") + n[h + 1]), this._$AH[h] = d;
|
|
8224
8224
|
}
|
|
8225
8225
|
r && !i && this.j(t);
|
|
8226
8226
|
}
|
|
@@ -8251,7 +8251,7 @@ class Br extends Se {
|
|
|
8251
8251
|
}
|
|
8252
8252
|
_$AI(t, e = this) {
|
|
8253
8253
|
var s;
|
|
8254
|
-
if ((t = (s = It(this, t, e, 0)) !== null && s !== void 0 ? s : R) ===
|
|
8254
|
+
if ((t = (s = It(this, t, e, 0)) !== null && s !== void 0 ? s : R) === Xt) return;
|
|
8255
8255
|
const i = this._$AH, n = t === R && i !== R || t.capture !== i.capture || t.once !== i.once || t.passive !== i.passive, r = t !== R && (i === R || n);
|
|
8256
8256
|
n && this.element.removeEventListener(this.name, this, i), r && this.element.addEventListener(this.name, this, t), this._$AH = t;
|
|
8257
8257
|
}
|
|
@@ -8272,14 +8272,14 @@ class Gr {
|
|
|
8272
8272
|
}
|
|
8273
8273
|
}
|
|
8274
8274
|
const Is = ge.litHtmlPolyfillSupport;
|
|
8275
|
-
Is?.(
|
|
8275
|
+
Is?.(Jt, ie), ((qe = ge.litHtmlVersions) !== null && qe !== void 0 ? qe : ge.litHtmlVersions = []).push("2.8.0");
|
|
8276
8276
|
const Vs = (a, t, e) => {
|
|
8277
8277
|
var s, i;
|
|
8278
8278
|
const n = (s = e?.renderBefore) !== null && s !== void 0 ? s : t;
|
|
8279
8279
|
let r = n._$litPart$;
|
|
8280
8280
|
if (r === void 0) {
|
|
8281
8281
|
const o = (i = e?.renderBefore) !== null && i !== void 0 ? i : null;
|
|
8282
|
-
n._$litPart$ = r = new
|
|
8282
|
+
n._$litPart$ = r = new ie(t.insertBefore(jt(), o), o, void 0, e ?? {});
|
|
8283
8283
|
}
|
|
8284
8284
|
return r._$AI(a), r;
|
|
8285
8285
|
};
|
|
@@ -8413,7 +8413,7 @@ class co extends xi {
|
|
|
8413
8413
|
#t;
|
|
8414
8414
|
#e;
|
|
8415
8415
|
onSetup() {
|
|
8416
|
-
super.onSetup(), this.#t = $(), this.#e = Dt(
|
|
8416
|
+
super.onSetup(), this.#t = $(), this.#e = Dt(ee.state);
|
|
8417
8417
|
}
|
|
8418
8418
|
onConnect() {
|
|
8419
8419
|
super.onConnect(), l(this.#s.bind(this));
|
|
@@ -8445,7 +8445,7 @@ class mo extends v(HTMLElement, zn) {
|
|
|
8445
8445
|
class fo extends v(HTMLElement, Yn) {
|
|
8446
8446
|
static tagName = "media-volume-slider";
|
|
8447
8447
|
}
|
|
8448
|
-
class go extends v(HTMLElement,
|
|
8448
|
+
class go extends v(HTMLElement, dt) {
|
|
8449
8449
|
static tagName = "media-captions";
|
|
8450
8450
|
}
|
|
8451
8451
|
class yo extends v(HTMLElement, Er) {
|
|
@@ -8606,7 +8606,7 @@ class Do extends v(HTMLElement, wi) {
|
|
|
8606
8606
|
class Ro extends v(HTMLElement, vi) {
|
|
8607
8607
|
static tagName = "media-radio-group";
|
|
8608
8608
|
}
|
|
8609
|
-
class Oo extends v(HTMLElement,
|
|
8609
|
+
class Oo extends v(HTMLElement, ee) {
|
|
8610
8610
|
static tagName = "media-slider";
|
|
8611
8611
|
}
|
|
8612
8612
|
const No = /* @__PURE__ */ zs(
|
|
@@ -8743,71 +8743,60 @@ const zo = { class: "controls-group__actions" }, jo = /* @__PURE__ */ lt({
|
|
|
8743
8743
|
__name: "controls-group",
|
|
8744
8744
|
setup(a) {
|
|
8745
8745
|
const { size: t } = ye("size");
|
|
8746
|
-
return (e, s) => (G(),
|
|
8746
|
+
return (e, s) => (G(), mt("media-controls-group", {
|
|
8747
8747
|
class: be(["controls-group", `controls-group--${ot(t)}`])
|
|
8748
8748
|
}, [
|
|
8749
8749
|
at("div", zo, [
|
|
8750
|
-
|
|
8750
|
+
ut(e.$slots, "default", {}, void 0, !0)
|
|
8751
8751
|
])
|
|
8752
8752
|
], 2));
|
|
8753
8753
|
}
|
|
8754
|
-
}), Yo = /* @__PURE__ */
|
|
8754
|
+
}), Yo = /* @__PURE__ */ yt(jo, [["__scopeId", "data-v-435a35bc"]]), Xo = /* @__PURE__ */ lt({
|
|
8755
8755
|
__name: "fullscreen-button",
|
|
8756
8756
|
emits: ["toggle"],
|
|
8757
8757
|
setup(a, { emit: t }) {
|
|
8758
8758
|
const e = t;
|
|
8759
|
-
return (s, i) => (G(),
|
|
8759
|
+
return (s, i) => (G(), mt("media-fullscreen-button", {
|
|
8760
8760
|
class: "fullscreen-button",
|
|
8761
8761
|
onMediaEnterFullscreenRequest: i[0] || (i[0] = (n) => e("toggle", !0)),
|
|
8762
8762
|
onMediaExitFullscreenRequest: i[1] || (i[1] = (n) => e("toggle", !1))
|
|
8763
8763
|
}, [
|
|
8764
|
-
|
|
8764
|
+
W(ue, {
|
|
8765
8765
|
icon: "player-enter-fullscreen",
|
|
8766
8766
|
color: "on-dark",
|
|
8767
8767
|
class: "fullscreen-button__enter"
|
|
8768
8768
|
}),
|
|
8769
|
-
|
|
8769
|
+
W(ue, {
|
|
8770
8770
|
icon: "player-exit-fullscreen",
|
|
8771
8771
|
color: "on-dark",
|
|
8772
8772
|
class: "fullscreen-button__exit"
|
|
8773
8773
|
})
|
|
8774
8774
|
], 32));
|
|
8775
8775
|
}
|
|
8776
|
-
}), Jo = /* @__PURE__ */
|
|
8776
|
+
}), Jo = /* @__PURE__ */ yt(Xo, [["__scopeId", "data-v-3dfe2495"]]), Zo = /* @__PURE__ */ lt({
|
|
8777
8777
|
__name: "toggle-button",
|
|
8778
8778
|
props: {
|
|
8779
|
-
|
|
8780
|
-
secondaryIcon: {},
|
|
8779
|
+
icon: {},
|
|
8781
8780
|
color: {},
|
|
8782
8781
|
disabled: { type: Boolean }
|
|
8783
8782
|
},
|
|
8784
8783
|
emits: ["toggle"],
|
|
8785
8784
|
setup(a, { emit: t }) {
|
|
8786
|
-
const e = a, s =
|
|
8787
|
-
e.disabled ||
|
|
8785
|
+
const e = a, s = t, i = () => {
|
|
8786
|
+
e.disabled || s("toggle");
|
|
8788
8787
|
};
|
|
8789
|
-
return (
|
|
8790
|
-
ref_key: "toggleButton",
|
|
8791
|
-
ref: s,
|
|
8788
|
+
return (n, r) => (G(), mt("div", {
|
|
8792
8789
|
class: "toggle-button",
|
|
8793
|
-
|
|
8794
|
-
onClick: n
|
|
8790
|
+
onClick: i
|
|
8795
8791
|
}, [
|
|
8796
|
-
|
|
8797
|
-
icon: e.
|
|
8792
|
+
W(ue, {
|
|
8793
|
+
icon: e.icon,
|
|
8798
8794
|
color: e.color,
|
|
8799
|
-
disabled: e.disabled
|
|
8800
|
-
class: "toggle-button__primary"
|
|
8801
|
-
}, null, 8, ["icon", "color", "disabled"]),
|
|
8802
|
-
U(jt, {
|
|
8803
|
-
icon: e.secondaryIcon,
|
|
8804
|
-
color: e.color,
|
|
8805
|
-
disabled: e.disabled,
|
|
8806
|
-
class: "toggle-button__secondary"
|
|
8795
|
+
disabled: e.disabled
|
|
8807
8796
|
}, null, 8, ["icon", "color", "disabled"])
|
|
8808
|
-
]
|
|
8797
|
+
]));
|
|
8809
8798
|
}
|
|
8810
|
-
}),
|
|
8799
|
+
}), th = { class: "video-display-panel__head" }, eh = { class: "video-display-panel__title" }, sh = { class: "video-display-panel__controls" }, ih = /* @__PURE__ */ lt({
|
|
8811
8800
|
__name: "video-display-panel",
|
|
8812
8801
|
props: {
|
|
8813
8802
|
title: {},
|
|
@@ -8817,54 +8806,55 @@ const zo = { class: "controls-group__actions" }, jo = /* @__PURE__ */ lt({
|
|
|
8817
8806
|
},
|
|
8818
8807
|
emits: ["close"],
|
|
8819
8808
|
setup(a, { emit: t }) {
|
|
8820
|
-
const { size: e, fullscreen: s, changeSize: i } = ye("size"), n =
|
|
8821
|
-
|
|
8822
|
-
|
|
8823
|
-
e.value
|
|
8809
|
+
const { size: e, fullscreen: s, changeSize: i } = ye("size"), n = _i(
|
|
8810
|
+
() => e.value === K.SM ? "expand" : "collapse"
|
|
8811
|
+
), r = a, o = t, h = (m) => {
|
|
8812
|
+
m ? e.value !== K.LG && (s.value = !0, i(K.LG)) : e.value === K.LG && (c(), s.value = !1, i(K.SM));
|
|
8824
8813
|
}, d = () => {
|
|
8814
|
+
e.value === K.SM ? i(K.MD) : e.value === K.MD ? i(K.SM) : e.value === K.LG && (c(), s.value = !1, i(K.MD));
|
|
8815
|
+
}, c = () => {
|
|
8825
8816
|
document.fullscreenElement && document.exitFullscreen();
|
|
8826
|
-
},
|
|
8827
|
-
|
|
8817
|
+
}, u = (m) => {
|
|
8818
|
+
m.key === "Escape" && h(!1);
|
|
8828
8819
|
};
|
|
8829
8820
|
return Ii(() => {
|
|
8830
8821
|
document.addEventListener("fullscreenchange", () => {
|
|
8831
|
-
document.fullscreenElement ||
|
|
8822
|
+
document.fullscreenElement || h(!1);
|
|
8832
8823
|
}), Vi(() => {
|
|
8833
|
-
document.removeEventListener("keyup",
|
|
8824
|
+
document.removeEventListener("keyup", u);
|
|
8834
8825
|
});
|
|
8835
|
-
}), (
|
|
8826
|
+
}), (m, g) => (G(), mt("media-controls-group", {
|
|
8836
8827
|
class: be([`video-display-panel--${ot(e)}`, "video-display-panel controls-group"])
|
|
8837
8828
|
}, [
|
|
8838
|
-
at("div",
|
|
8839
|
-
|
|
8840
|
-
|
|
8829
|
+
at("div", th, [
|
|
8830
|
+
ut(m.$slots, "avatar", {}, () => [
|
|
8831
|
+
r.username ? (G(), Ut(fa, {
|
|
8841
8832
|
key: 0,
|
|
8842
|
-
username:
|
|
8833
|
+
username: r.username,
|
|
8843
8834
|
size: "sm",
|
|
8844
8835
|
class: "video-display-panel__avatar"
|
|
8845
8836
|
}, null, 8, ["username"])) : Kt("", !0)
|
|
8846
8837
|
], !0),
|
|
8847
|
-
at("span",
|
|
8838
|
+
at("span", eh, Di(r.title || r.username), 1)
|
|
8848
8839
|
]),
|
|
8849
|
-
at("div",
|
|
8850
|
-
|
|
8851
|
-
|
|
8840
|
+
at("div", sh, [
|
|
8841
|
+
W(Jo, { onToggle: h }),
|
|
8842
|
+
r.hideExpand ? Kt("", !0) : (G(), Ut(Zo, {
|
|
8852
8843
|
key: 0,
|
|
8853
|
-
|
|
8854
|
-
"secondary-icon": "collapse",
|
|
8844
|
+
icon: n.value,
|
|
8855
8845
|
color: "on-dark",
|
|
8856
|
-
onToggle:
|
|
8857
|
-
})),
|
|
8858
|
-
|
|
8846
|
+
onToggle: d
|
|
8847
|
+
}, null, 8, ["icon"])),
|
|
8848
|
+
r.closable ? (G(), Ut(ue, {
|
|
8859
8849
|
key: 1,
|
|
8860
8850
|
icon: "close",
|
|
8861
8851
|
color: "on-dark",
|
|
8862
|
-
onClick:
|
|
8852
|
+
onClick: g[0] || (g[0] = (C) => o("close"))
|
|
8863
8853
|
})) : Kt("", !0)
|
|
8864
8854
|
])
|
|
8865
8855
|
], 2));
|
|
8866
8856
|
}
|
|
8867
|
-
}),
|
|
8857
|
+
}), ah = /* @__PURE__ */ yt(ih, [["__scopeId", "data-v-617f1fa9"]]), nh = { class: "video-display-panel-wrapper" }, rh = { class: "video-layout-content" }, oh = { class: "video-layout-controls" }, hh = /* @__PURE__ */ lt({
|
|
8868
8858
|
__name: "video-layout",
|
|
8869
8859
|
props: {
|
|
8870
8860
|
title: {},
|
|
@@ -8877,11 +8867,11 @@ const zo = { class: "controls-group__actions" }, jo = /* @__PURE__ */ lt({
|
|
|
8877
8867
|
emits: ["close-player", "close-session", "make-screenshot", "toggle-record"],
|
|
8878
8868
|
setup(a, { emit: t }) {
|
|
8879
8869
|
const { size: e } = ye("size"), s = a, i = t;
|
|
8880
|
-
return (n, r) => (G(),
|
|
8870
|
+
return (n, r) => (G(), mt("media-controls", {
|
|
8881
8871
|
class: be(["video-layout controls", `video-layout--${ot(e)}`])
|
|
8882
8872
|
}, [
|
|
8883
|
-
at("div",
|
|
8884
|
-
s.hideVideoDisplayPanel ? Kt("", !0) : (G(), Ut(
|
|
8873
|
+
at("div", nh, [
|
|
8874
|
+
s.hideVideoDisplayPanel ? Kt("", !0) : (G(), Ut(ah, {
|
|
8885
8875
|
key: 0,
|
|
8886
8876
|
title: s.title,
|
|
8887
8877
|
username: s.username,
|
|
@@ -8892,30 +8882,30 @@ const zo = { class: "controls-group__actions" }, jo = /* @__PURE__ */ lt({
|
|
|
8892
8882
|
n.$slots.avatar ? {
|
|
8893
8883
|
name: "avatar",
|
|
8894
8884
|
fn: Qt(() => [
|
|
8895
|
-
|
|
8885
|
+
ut(n.$slots, "avatar", {}, void 0, !0)
|
|
8896
8886
|
]),
|
|
8897
8887
|
key: "0"
|
|
8898
8888
|
} : void 0
|
|
8899
8889
|
]), 1032, ["title", "username", "closable", "hide-expand"]))
|
|
8900
8890
|
]),
|
|
8901
|
-
at("media-controls-group",
|
|
8902
|
-
|
|
8891
|
+
at("media-controls-group", rh, [
|
|
8892
|
+
ut(n.$slots, "content", {}, void 0, !0)
|
|
8903
8893
|
]),
|
|
8904
|
-
at("div",
|
|
8905
|
-
s.hideControlsPanel ? Kt("", !0) :
|
|
8906
|
-
|
|
8894
|
+
at("div", oh, [
|
|
8895
|
+
s.hideControlsPanel ? Kt("", !0) : ut(n.$slots, "controls-panel", { key: 0 }, () => [
|
|
8896
|
+
W(ot(yh))
|
|
8907
8897
|
], !0)
|
|
8908
8898
|
])
|
|
8909
8899
|
], 2));
|
|
8910
8900
|
}
|
|
8911
|
-
}),
|
|
8901
|
+
}), lh = /* @__PURE__ */ yt(hh, [["__scopeId", "data-v-5e27fce0"]]), dh = { class: "play-button" }, ch = /* @__PURE__ */ lt({
|
|
8912
8902
|
__name: "play-button",
|
|
8913
8903
|
setup(a) {
|
|
8914
8904
|
const { size: t } = ye("size");
|
|
8915
8905
|
return (e, s) => {
|
|
8916
8906
|
const i = Ri("wt-button");
|
|
8917
|
-
return G(),
|
|
8918
|
-
|
|
8907
|
+
return G(), mt("media-play-button", dh, [
|
|
8908
|
+
W(i, {
|
|
8919
8909
|
size: ot(t),
|
|
8920
8910
|
variant: "outlined",
|
|
8921
8911
|
color: "secondary",
|
|
@@ -8925,7 +8915,7 @@ const zo = { class: "controls-group__actions" }, jo = /* @__PURE__ */ lt({
|
|
|
8925
8915
|
"contains-icon": "",
|
|
8926
8916
|
class: "play-button__play-icon"
|
|
8927
8917
|
}, null, 8, ["size"]),
|
|
8928
|
-
|
|
8918
|
+
W(i, {
|
|
8929
8919
|
size: ot(t),
|
|
8930
8920
|
variant: "outlined",
|
|
8931
8921
|
color: "secondary",
|
|
@@ -8938,26 +8928,26 @@ const zo = { class: "controls-group__actions" }, jo = /* @__PURE__ */ lt({
|
|
|
8938
8928
|
]);
|
|
8939
8929
|
};
|
|
8940
8930
|
}
|
|
8941
|
-
}),
|
|
8931
|
+
}), uh = /* @__PURE__ */ yt(ch, [["__scopeId", "data-v-b5fb70ec"]]), ph = { class: "time-slider media-slider" }, mh = /* @__PURE__ */ lt({
|
|
8942
8932
|
__name: "time-slider",
|
|
8943
8933
|
setup(a) {
|
|
8944
|
-
return (t, e) => (G(),
|
|
8945
|
-
|
|
8934
|
+
return (t, e) => (G(), mt("media-time-slider", ph, [
|
|
8935
|
+
W(ga, { class: "time-slider__slider" })
|
|
8946
8936
|
]));
|
|
8947
8937
|
}
|
|
8948
|
-
}),
|
|
8938
|
+
}), fh = /* @__PURE__ */ yt(mh, [["__scopeId", "data-v-fbc2d9f8"]]), gh = /* @__PURE__ */ lt({
|
|
8949
8939
|
__name: "playback-controls-panel",
|
|
8950
8940
|
setup(a) {
|
|
8951
8941
|
return (t, e) => (G(), Ut(ot(Yo), { class: "playback-control-panel" }, {
|
|
8952
8942
|
default: Qt(() => [
|
|
8953
|
-
|
|
8954
|
-
|
|
8955
|
-
|
|
8943
|
+
W(uh),
|
|
8944
|
+
W(fh),
|
|
8945
|
+
W(la)
|
|
8956
8946
|
], void 0, !0),
|
|
8957
8947
|
_: 1
|
|
8958
8948
|
}));
|
|
8959
8949
|
}
|
|
8960
|
-
}),
|
|
8950
|
+
}), yh = /* @__PURE__ */ yt(gh, [["__scopeId", "data-v-e27c3292"]]), bh = ["autoplay", "muted", "src"], vh = /* @__PURE__ */ lt({
|
|
8961
8951
|
__name: "wt-vidstack-player",
|
|
8962
8952
|
props: {
|
|
8963
8953
|
src: {},
|
|
@@ -8979,7 +8969,7 @@ const zo = { class: "controls-group__actions" }, jo = /* @__PURE__ */ lt({
|
|
|
8979
8969
|
},
|
|
8980
8970
|
emits: ["close", "change-size"],
|
|
8981
8971
|
setup(a, { emit: t }) {
|
|
8982
|
-
const e = a, s = t, i = us(e.size ||
|
|
8972
|
+
const e = a, s = t, i = us(e.size || K.SM), n = us(!1);
|
|
8983
8973
|
Oi("size", {
|
|
8984
8974
|
size: i,
|
|
8985
8975
|
fullscreen: n,
|
|
@@ -8994,7 +8984,7 @@ const zo = { class: "controls-group__actions" }, jo = /* @__PURE__ */ lt({
|
|
|
8994
8984
|
}), u = (m) => {
|
|
8995
8985
|
e.autoplay && m.target?.play();
|
|
8996
8986
|
};
|
|
8997
|
-
return (m, g) => (G(),
|
|
8987
|
+
return (m, g) => (G(), mt("div", {
|
|
8998
8988
|
class: be([[
|
|
8999
8989
|
`wt-vidstack-player--${i.value}`,
|
|
9000
8990
|
`wt-vidstack-player-video-object-fit--${e.videoObjectFit}`,
|
|
@@ -9012,11 +9002,11 @@ const zo = { class: "controls-group__actions" }, jo = /* @__PURE__ */ lt({
|
|
|
9012
9002
|
class: "wt-vidstack-player__player",
|
|
9013
9003
|
"cross-origin": "",
|
|
9014
9004
|
playsinline: "",
|
|
9015
|
-
onClose: g[1] || (g[1] = (
|
|
9005
|
+
onClose: g[1] || (g[1] = (C) => s("close")),
|
|
9016
9006
|
onCanPlay: u
|
|
9017
9007
|
}, [
|
|
9018
9008
|
g[2] || (g[2] = at("media-provider", { class: "wt-vidstack-player__provider" }, null, -1)),
|
|
9019
|
-
|
|
9009
|
+
W(ot(lh), {
|
|
9020
9010
|
autoplay: e.autoplay,
|
|
9021
9011
|
closable: e.closable,
|
|
9022
9012
|
"hide-controls-panel": e.hideControlsPanel,
|
|
@@ -9024,30 +9014,30 @@ const zo = { class: "controls-group__actions" }, jo = /* @__PURE__ */ lt({
|
|
|
9024
9014
|
"hide-video-display-panel": e.hideVideoDisplayPanel,
|
|
9025
9015
|
title: e.title,
|
|
9026
9016
|
username: e.username,
|
|
9027
|
-
onClosePlayer: g[0] || (g[0] = (
|
|
9017
|
+
onClosePlayer: g[0] || (g[0] = (C) => s("close"))
|
|
9028
9018
|
}, Ds({
|
|
9029
9019
|
"controls-panel": Qt(() => [
|
|
9030
|
-
|
|
9020
|
+
ut(m.$slots, "controls-panel", { size: i.value }, void 0, !0)
|
|
9031
9021
|
]),
|
|
9032
9022
|
content: Qt(() => [
|
|
9033
|
-
|
|
9023
|
+
ut(m.$slots, "content", { size: i.value }, void 0, !0)
|
|
9034
9024
|
]),
|
|
9035
9025
|
_: 2
|
|
9036
9026
|
}, [
|
|
9037
9027
|
m.$slots.avatar ? {
|
|
9038
9028
|
name: "avatar",
|
|
9039
9029
|
fn: Qt(() => [
|
|
9040
|
-
|
|
9030
|
+
ut(m.$slots, "avatar", {}, void 0, !0)
|
|
9041
9031
|
]),
|
|
9042
9032
|
key: "0"
|
|
9043
9033
|
} : void 0
|
|
9044
9034
|
]), 1032, ["autoplay", "closable", "hide-controls-panel", "hide-expand", "hide-video-display-panel", "title", "username"])
|
|
9045
|
-
], 40,
|
|
9035
|
+
], 40, bh)
|
|
9046
9036
|
], 2));
|
|
9047
9037
|
}
|
|
9048
|
-
}),
|
|
9038
|
+
}), $h = /* @__PURE__ */ yt(vh, [["__scopeId", "data-v-c2776ce5"]]), Lh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9049
9039
|
__proto__: null,
|
|
9050
|
-
default:
|
|
9040
|
+
default: $h
|
|
9051
9041
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
9052
9042
|
export {
|
|
9053
9043
|
x as L,
|
|
@@ -9057,10 +9047,10 @@ export {
|
|
|
9057
9047
|
k as b,
|
|
9058
9048
|
js as c,
|
|
9059
9049
|
xe as d,
|
|
9060
|
-
|
|
9061
|
-
|
|
9050
|
+
he as e,
|
|
9051
|
+
Ph as f,
|
|
9062
9052
|
Ka as g,
|
|
9063
|
-
|
|
9064
|
-
|
|
9065
|
-
|
|
9053
|
+
xh as l,
|
|
9054
|
+
te as p,
|
|
9055
|
+
Lh as w
|
|
9066
9056
|
};
|