@instructure/studio-player 1.2.0 → 1.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,7 +7,7 @@ var y = (n, e, t) => Qw(n, typeof e != "symbol" ? e + "" : e, t), cl = (n, e, t)
7
7
  var s = (n, e, t) => (cl(n, e, "read from private field"), t ? t.call(n) : e.get(n)), c = (n, e, t) => e.has(n) ? zu("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(n) : e.set(n, t), u = (n, e, t, i) => (cl(n, e, "write to private field"), i ? i.call(n, t) : e.set(n, t), t), a = (n, e, t) => (cl(n, e, "access private method"), t);
8
8
  import { jsx as N, Fragment as zw, jsxs as Jr } from "react/jsx-runtime";
9
9
  import * as $ from "react";
10
- import { g as Yw, a as Xw, i as Yu, h as Jw, b as Zw, c as tT, d as eT, e as iT, f as sT } from "./vidstack-google-cast-BMQWFfhs.js";
10
+ import { g as Yw, a as Xw, i as Yu, h as Jw, b as Zw, c as tT, d as eT, e as iT, f as sT } from "./vidstack-google-cast-D_aHtaU6.js";
11
11
  const li = Symbol(0);
12
12
  let mh = !1, $l = !1, Qe = null, Qn = null, Ae = null, ye = 0, jn = [], $u = {};
13
13
  const nT = () => {
@@ -215,11 +215,11 @@ function bh(...n) {
215
215
  function Ki(n) {
216
216
  return n === null;
217
217
  }
218
- function At(n) {
218
+ function Et(n) {
219
219
  return typeof n > "u";
220
220
  }
221
221
  function dT(n) {
222
- return Ki(n) || At(n);
222
+ return Ki(n) || Et(n);
223
223
  }
224
224
  function fT(n) {
225
225
  return (n == null ? void 0 : n.constructor) === Object;
@@ -575,14 +575,14 @@ function ha(n) {
575
575
  }
576
576
  function Qi(n, e, t = vu()) {
577
577
  var r;
578
- const i = !At(e);
578
+ const i = !Et(e);
579
579
  hT(n.id, i ? e : (r = n.provide) == null ? void 0 : r.call(n), t);
580
580
  }
581
581
  function Me(n) {
582
582
  return Su(n.id);
583
583
  }
584
584
  function On(n) {
585
- return !At(Su(n.id));
585
+ return !Et(Su(n.id));
586
586
  }
587
587
  const ul = /* @__PURE__ */ Symbol(0), dl = /* @__PURE__ */ Symbol(0), Jh = /* @__PURE__ */ Symbol(0), fl = {};
588
588
  var Md, Xn, Jn, Ys, Zn, ci, Yd, Xd, Jd, Zd;
@@ -841,7 +841,7 @@ function ef() {
841
841
  return IT() && $e(screen.orientation.unlock);
842
842
  }
843
843
  function IT() {
844
- return !At(window.screen.orientation) && !At(window.screen.orientation.lock);
844
+ return !Et(window.screen.orientation) && !Et(window.screen.orientation.lock);
845
845
  }
846
846
  function sf(n, e) {
847
847
  return n || (n = document.createElement("audio")), n.canPlayType(e).length > 0;
@@ -870,8 +870,8 @@ function NT() {
870
870
  }
871
871
  function Mu() {
872
872
  const n = VT();
873
- if (At(n)) return !1;
874
- const e = n && $e(n.isTypeSupported) && n.isTypeSupported('video/mp4; codecs="avc1.42E01E,mp4a.40.2"'), t = NT(), i = At(t) || !At(t.prototype) && $e(t.prototype.appendBuffer) && $e(t.prototype.remove);
873
+ if (Et(n)) return !1;
874
+ const e = n && $e(n.isTypeSupported) && n.isTypeSupported('video/mp4; codecs="avc1.42E01E,mp4a.40.2"'), t = NT(), i = Et(t) || !Et(t.prototype) && $e(t.prototype.appendBuffer) && $e(t.prototype.remove);
875
875
  return !!e && !!i;
876
876
  }
877
877
  function FT() {
@@ -881,7 +881,7 @@ var vi;
881
881
  class Go {
882
882
  constructor(e, t) {
883
883
  c(this, vi);
884
- zt(e) ? u(this, vi, e) : !At(e) && !At(t) ? u(this, vi, [[e, t]]) : u(this, vi, []);
884
+ zt(e) ? u(this, vi, e) : !Et(e) && !Et(t) ? u(this, vi, [[e, t]]) : u(this, vi, []);
885
885
  }
886
886
  get length() {
887
887
  return s(this, vi).length;
@@ -980,8 +980,10 @@ function Vk(n) {
980
980
  }
981
981
  function YT(n, e) {
982
982
  const t = new URL(n);
983
- for (const i of Object.keys(e))
984
- t.searchParams.set(i, e[i] + "");
983
+ for (const i of Object.keys(e)) {
984
+ const r = e[i];
985
+ Et(r) || t.searchParams.set(i, e[i] + "");
986
+ }
985
987
  return t.toString();
986
988
  }
987
989
  function el(n, e = "preconnect") {
@@ -2483,21 +2485,21 @@ const V$ = {
2483
2485
  speedUp: ">",
2484
2486
  slowDown: "<"
2485
2487
  }, ya = /* @__PURE__ */ new Set(["Shift", "Alt", "Meta", "Ctrl"]), N$ = 'button, [role="button"]', rd = 'input, textarea, select, [contenteditable], [role^="menuitem"], [role="timer"]';
2486
- var Ot, Et, Cf, xf, Af, Mf, Ko, rn, Lf, Ei, Dl, If;
2488
+ var Ot, Ct, Cf, xf, Af, Mf, Ko, rn, Lf, Ei, Dl, If;
2487
2489
  class F$ extends _n {
2488
2490
  constructor(t) {
2489
2491
  super();
2490
- c(this, Et);
2492
+ c(this, Ct);
2491
2493
  c(this, Ot);
2492
2494
  c(this, rn);
2493
2495
  c(this, Ei, null);
2494
2496
  u(this, Ot, t);
2495
2497
  }
2496
2498
  onConnect() {
2497
- b(a(this, Et, Cf).bind(this));
2499
+ b(a(this, Ct, Cf).bind(this));
2498
2500
  }
2499
2501
  }
2500
- Ot = new WeakMap(), Et = new WeakSet(), Cf = function() {
2502
+ Ot = new WeakMap(), Ct = new WeakSet(), Cf = function() {
2501
2503
  const { keyDisabled: t, keyTarget: i } = this.$props;
2502
2504
  if (t()) return;
2503
2505
  const r = i() === "player" ? this.el : document, o = V(!1);
@@ -2507,14 +2509,14 @@ Ot = new WeakMap(), Et = new WeakSet(), Cf = function() {
2507
2509
  const l = h.composedPath().find((d) => d instanceof Element && d.localName === "media-player");
2508
2510
  l !== void 0 && o.set(this.el === l);
2509
2511
  })), b(() => {
2510
- o() && new dt(r).add("keyup", a(this, Et, xf).bind(this)).add("keydown", a(this, Et, Af).bind(this)).add("keydown", a(this, Et, Mf).bind(this), { capture: !0 });
2512
+ o() && new dt(r).add("keyup", a(this, Ct, xf).bind(this)).add("keydown", a(this, Ct, Af).bind(this)).add("keydown", a(this, Ct, Mf).bind(this), { capture: !0 });
2511
2513
  });
2512
2514
  }, xf = function(t) {
2513
2515
  var h, l;
2514
2516
  const i = document.activeElement;
2515
2517
  if (!t.key || !this.$state.canSeek() || i != null && i.matches(rd))
2516
2518
  return;
2517
- let { method: r, value: o } = a(this, Et, Ko).call(this, t);
2519
+ let { method: r, value: o } = a(this, Ct, Ko).call(this, t);
2518
2520
  if (!R(o) && !zt(o)) {
2519
2521
  (h = o == null ? void 0 : o.onKeyUp) == null || h.call(o, {
2520
2522
  event: t,
@@ -2523,7 +2525,7 @@ Ot = new WeakMap(), Et = new WeakSet(), Cf = function() {
2523
2525
  }), (l = o == null ? void 0 : o.callback) == null || l.call(o, t, s(this, Ot).remote);
2524
2526
  return;
2525
2527
  }
2526
- if (r != null && r.startsWith("seek") && (t.preventDefault(), t.stopPropagation(), s(this, Ei) ? (a(this, Et, Dl).call(this, t, r === "seekForward"), u(this, Ei, null)) : (s(this, Ot).remote.seek(s(this, rn), t), u(this, rn, void 0))), r != null && r.startsWith("volume")) {
2528
+ if (r != null && r.startsWith("seek") && (t.preventDefault(), t.stopPropagation(), s(this, Ei) ? (a(this, Ct, Dl).call(this, t, r === "seekForward"), u(this, Ei, null)) : (s(this, Ot).remote.seek(s(this, rn), t), u(this, rn, void 0))), r != null && r.startsWith("volume")) {
2527
2529
  const d = this.el.querySelector("[data-media-volume-slider]");
2528
2530
  d == null || d.dispatchEvent(
2529
2531
  new KeyboardEvent("keyup", {
@@ -2539,7 +2541,7 @@ Ot = new WeakMap(), Et = new WeakSet(), Cf = function() {
2539
2541
  const i = document.activeElement;
2540
2542
  if (i != null && i.matches(rd) || Kd(t) && (i != null && i.matches(N$)))
2541
2543
  return;
2542
- let { method: r, value: o } = a(this, Et, Ko).call(this, t), h = !t.metaKey && /^[0-9]$/.test(t.key);
2544
+ let { method: r, value: o } = a(this, Ct, Ko).call(this, t), h = !t.metaKey && /^[0-9]$/.test(t.key);
2543
2545
  if (!R(o) && !zt(o) && !h) {
2544
2546
  (l = o == null ? void 0 : o.onKeyDown) == null || l.call(o, {
2545
2547
  event: t,
@@ -2556,7 +2558,7 @@ Ot = new WeakMap(), Et = new WeakSet(), Cf = function() {
2556
2558
  switch (t.preventDefault(), t.stopPropagation(), r) {
2557
2559
  case "seekForward":
2558
2560
  case "seekBackward":
2559
- a(this, Et, If).call(this, t, r, r === "seekForward");
2561
+ a(this, Ct, If).call(this, t, r, r === "seekForward");
2560
2562
  break;
2561
2563
  case "volumeUp":
2562
2564
  case "volumeDown":
@@ -2597,7 +2599,7 @@ Ot = new WeakMap(), Et = new WeakSet(), Cf = function() {
2597
2599
  });
2598
2600
  }
2599
2601
  }, Mf = function(t) {
2600
- D$(t.target) && a(this, Et, Ko).call(this, t).method && t.preventDefault();
2602
+ D$(t.target) && a(this, Ct, Ko).call(this, t).method && t.preventDefault();
2601
2603
  }, Ko = function(t) {
2602
2604
  const i = {
2603
2605
  ...this.$props.keyShortcuts(),
@@ -2640,7 +2642,7 @@ Ot = new WeakMap(), Et = new WeakSet(), Cf = function() {
2640
2642
  })
2641
2643
  );
2642
2644
  }, If = function(t, i, r) {
2643
- this.$state.canSeek() && (s(this, Ei) || u(this, Ei, this.el.querySelector("[data-media-time-slider]")), s(this, Ei) ? a(this, Et, Dl).call(this, t, r) : s(this, Ot).remote.seeking(a(this, Et, Lf).call(this, t, i), t));
2645
+ this.$state.canSeek() && (s(this, Ei) || u(this, Ei, this.el.querySelector("[data-media-time-slider]")), s(this, Ei) ? a(this, Ct, Dl).call(this, t, r) : s(this, Ot).remote.seeking(a(this, Ct, Lf).call(this, t, i), t));
2644
2646
  };
2645
2647
  const _$ = ["!", "@", "#", "$", "%", "^", "&", "*", "(", ")"];
2646
2648
  function H$(n) {
@@ -2992,7 +2994,7 @@ class G$ {
2992
2994
  return "audio";
2993
2995
  }
2994
2996
  async load(e) {
2995
- return new (await import("./vidstack-audio-CkMeA4-b.js")).AudioProvider(this.target, e);
2997
+ return new (await import("./vidstack-audio-o6qtD3rg.js")).AudioProvider(this.target, e);
2996
2998
  }
2997
2999
  }
2998
3000
  class Du {
@@ -3007,7 +3009,7 @@ class Du {
3007
3009
  return "video";
3008
3010
  }
3009
3011
  async load(e) {
3010
- return new (await import("./vidstack-video-C_npz5Cj.js")).VideoProvider(this.target, e);
3012
+ return new (await import("./vidstack-video-CFc1rkyw.js")).VideoProvider(this.target, e);
3011
3013
  }
3012
3014
  }
3013
3015
  const Mh = class Mh extends Du {
@@ -3019,7 +3021,7 @@ const Mh = class Mh extends Du {
3019
3021
  return Mh.supported && ca(t);
3020
3022
  }
3021
3023
  async load(t) {
3022
- return new (await import("./vidstack-hls-D1a98pZ4.js")).HLSProvider(this.target, t);
3024
+ return new (await import("./vidstack-hls-BitBIC4G.js")).HLSProvider(this.target, t);
3023
3025
  }
3024
3026
  };
3025
3027
  y(Mh, "supported", Mu());
@@ -3161,7 +3163,7 @@ class Nu {
3161
3163
  u(this, Na, e);
3162
3164
  }
3163
3165
  start() {
3164
- At(s(this, Ai)) && a(this, Fa, Wl).call(this);
3166
+ Et(s(this, Ai)) && a(this, Fa, Wl).call(this);
3165
3167
  }
3166
3168
  stop() {
3167
3169
  we(s(this, Ai)) && window.cancelAnimationFrame(s(this, Ai)), u(this, Ai, void 0);
@@ -3169,7 +3171,7 @@ class Nu {
3169
3171
  }
3170
3172
  Ai = new WeakMap(), Na = new WeakMap(), Fa = new WeakSet(), Wl = function() {
3171
3173
  u(this, Ai, window.requestAnimationFrame(() => {
3172
- At(s(this, Ai)) || (s(this, Na).call(this), a(this, Fa, Wl).call(this));
3174
+ Et(s(this, Ai)) || (s(this, Na).call(this), a(this, Fa, Wl).call(this));
3173
3175
  }));
3174
3176
  };
3175
3177
  var _a, j, hs, cr, ur, ln, Ha, dr, g, J, Qf, fr, pr, zf, Yf, Xf, Jf, Ih, wu, vt, Z$, js, Zf, Gl, tp, ep, ip, Yo, sp, np, rp, ap, op, hp, lp, cp, up, dp, fp, pp, mp, gp, yp, bp, wp, Tp;
@@ -3677,7 +3679,7 @@ us = new WeakMap(), at = new WeakMap(), _ = new WeakMap(), br = new WeakMap(), w
3677
3679
  m && s(this, at).qualities[D.select](m, !0, r);
3678
3680
  }
3679
3681
  f.forEach((m, w) => {
3680
- const k = m.labels.find((B) => navigator.languages.some((xt) => B.lang && xt.toLowerCase().startsWith(B.lang.toLowerCase()))) || m.labels[0], M = {
3682
+ const k = m.labels.find((B) => navigator.languages.some((At) => B.lang && At.toLowerCase().startsWith(B.lang.toLowerCase()))) || m.labels[0], M = {
3681
3683
  id: `dash-audio-${m == null ? void 0 : m.index}`,
3682
3684
  label: (k == null ? void 0 : k.text) ?? (m.lang && hd(m.lang)) ?? m.lang ?? "",
3683
3685
  language: m.lang ?? "",
@@ -3761,7 +3763,7 @@ fn = new WeakMap(), ti = new WeakMap(), Ka = new WeakMap(), di = new WeakSet(),
3761
3763
  onLoadError: a(this, di, Xp).bind(this)
3762
3764
  };
3763
3765
  let t = await nv(s(this, fn), e);
3764
- if (At(t) && !R(s(this, fn)) && (t = await sv(s(this, fn), e)), !t) return null;
3766
+ if (Et(t) && !R(s(this, fn)) && (t = await sv(s(this, fn), e)), !t) return null;
3765
3767
  if (!window.dashjs.supportsMediaSource()) {
3766
3768
  const i = "[vidstack] `dash.js` is not supported in this environment";
3767
3769
  return s(this, ti).player.dispatch(new H("dash-unsupported")), s(this, ti).notify("error", { message: i, code: 4 }), null;
@@ -3789,7 +3791,7 @@ fn = new WeakMap(), ti = new WeakMap(), Ka = new WeakMap(), di = new WeakSet(),
3789
3791
  };
3790
3792
  async function sv(n, e = {}) {
3791
3793
  var t, i, r, o, h, l, d;
3792
- if (!At(n)) {
3794
+ if (!Et(n)) {
3793
3795
  if ((t = e.onLoadStart) == null || t.call(e), rv(n))
3794
3796
  return (i = e.onLoaded) == null || i.call(e, n), n;
3795
3797
  if (ld(n)) {
@@ -3843,7 +3845,7 @@ const qh = class qh extends Du {
3843
3845
  return qh.supported && Lu(t);
3844
3846
  }
3845
3847
  async load(t) {
3846
- return new (await import("./vidstack-dash-CMEjAqOU.js")).DASHProvider(this.target, t);
3848
+ return new (await import("./vidstack-dash-BREZS9yq.js")).DASHProvider(this.target, t);
3847
3849
  }
3848
3850
  };
3849
3851
  y(qh, "supported", FT());
@@ -3869,10 +3871,10 @@ class av {
3869
3871
  return "video";
3870
3872
  }
3871
3873
  async load(e) {
3872
- return new (await import("./vidstack-vimeo-j7LNW6Re.js").then((t) => t.p)).VimeoProvider(this.target, e);
3874
+ return new (await import("./vidstack-vimeo-Cc7TgCsS.js").then((t) => t.p)).VimeoProvider(this.target, e);
3873
3875
  }
3874
3876
  async loadPoster(e, t, i) {
3875
- const { resolveVimeoVideoId: r, getVimeoVideoInfo: o } = await import("./vidstack-vimeo-j7LNW6Re.js").then((d) => d.u);
3877
+ const { resolveVimeoVideoId: r, getVimeoVideoInfo: o } = await import("./vidstack-vimeo-Cc7TgCsS.js").then((d) => d.u);
3876
3878
  if (!R(e.src)) return null;
3877
3879
  const { videoId: h, hash: l } = r(e.src);
3878
3880
  return h ? o(h, i, l).then((d) => d ? d.poster : null) : null;
@@ -3903,10 +3905,10 @@ class ov {
3903
3905
  return "video";
3904
3906
  }
3905
3907
  async load(e) {
3906
- return new (await import("./vidstack-youtube-C_ammZWO.js").then((t) => t.p)).YouTubeProvider(this.target, e);
3908
+ return new (await import("./vidstack-youtube-NipQnFnY.js").then((t) => t.p)).YouTubeProvider(this.target, e);
3907
3909
  }
3908
3910
  async loadPoster(e, t, i) {
3909
- const { findYouTubePoster: r, resolveYouTubeVideoId: o } = await import("./vidstack-youtube-C_ammZWO.js").then((l) => l.u), h = R(e.src) && o(e.src);
3911
+ const { findYouTubePoster: r, resolveYouTubeVideoId: o } = await import("./vidstack-youtube-NipQnFnY.js").then((l) => l.u), h = R(e.src) && o(e.src);
3910
3912
  return h ? r(h, i) : null;
3911
3913
  }
3912
3914
  }
@@ -4066,11 +4068,11 @@ class cv {
4066
4068
  provider: s(this, Fe).$provider()
4067
4069
  };
4068
4070
  this.notify("can-play", P, t), Gi();
4069
- let k = s(this, Fe).$provider(), { storage: M, qualities: B } = s(this, Fe), { muted: xt, volume: Ut, clipStartTime: Xt, playbackRate: se } = s(this, Fe).$props;
4071
+ let k = s(this, Fe).$provider(), { storage: M, qualities: B } = s(this, Fe), { muted: At, volume: Ut, clipStartTime: Xt, playbackRate: se } = s(this, Fe).$props;
4070
4072
  await ((bi = M == null ? void 0 : M.onLoad) == null ? void 0 : bi.call(M, w()));
4071
4073
  const Oe = (Xi = m()) == null ? void 0 : Xi.currentTime, De = (Qt = m()) == null ? void 0 : Qt.paused, ue = await (M == null ? void 0 : M.getTime()), E = Oe ?? ue ?? Xt(), bt = De === !1 || De !== !0 && !o() && i();
4072
4074
  if (k) {
4073
- k.setVolume(await (M == null ? void 0 : M.getVolume()) ?? Ut()), k.setMuted(xt() || !!await (M == null ? void 0 : M.getMuted()));
4075
+ k.setVolume(await (M == null ? void 0 : M.getVolume()) ?? Ut()), k.setMuted(At() || !!await (M == null ? void 0 : M.getMuted()));
4074
4076
  const Ve = await (M == null ? void 0 : M.getAudioGain()) ?? 1;
4075
4077
  Ve > 1 && ((Ji = (qt = k.audioGain) == null ? void 0 : qt.setGain) == null || Ji.call(qt, Ve)), (wt = k.setPlaybackRate) == null || wt.call(k, await (M == null ? void 0 : M.getPlaybackRate()) ?? se()), (et = k.setPlaysInline) == null || et.call(k, p()), E > 0 && k.setCurrentTime(E);
4076
4078
  }
@@ -4622,7 +4624,7 @@ Li = new WeakMap(), O = new WeakMap(), Ii = new WeakMap(), mn = new WeakMap(), R
4622
4624
  t.set(i);
4623
4625
  }, gn = new WeakMap(), cm = async function(t) {
4624
4626
  const i = v(this.$props.fullscreenOrientation), r = t.detail;
4625
- if (!(At(i) || i === "none" || !s(this, Ri).supported))
4627
+ if (!(Et(i) || i === "none" || !s(this, Ri).supported))
4626
4628
  if (r) {
4627
4629
  if (s(this, Ri).locked) return;
4628
4630
  this.dispatch("media-orientation-lock-request", {
@@ -5772,10 +5774,10 @@ function xv(n) {
5772
5774
  return -1;
5773
5775
  }
5774
5776
  const $c = /* @__PURE__ */ new Map();
5775
- var Cr, xr, Ya, X, Oi, Ct, cg, ug, vc, Sc, kc, dg, fg, pg;
5777
+ var Cr, xr, Ya, X, Oi, xt, cg, ug, vc, Sc, kc, dg, fg, pg;
5776
5778
  class Av {
5777
5779
  constructor(e, t, i, r = []) {
5778
- c(this, Ct);
5780
+ c(this, xt);
5779
5781
  c(this, Cr, !1);
5780
5782
  c(this, xr);
5781
5783
  c(this, Ya);
@@ -5799,17 +5801,17 @@ class Av {
5799
5801
  }
5800
5802
  connect() {
5801
5803
  const e = s(this, Oi).call(this);
5802
- s(this, Cr) && (a(this, Ct, Sc).call(this, s(this, X).$state.source(), e), a(this, Ct, kc).call(this, e), u(this, Cr, !1)), b(a(this, Ct, cg).bind(this)), b(a(this, Ct, ug).bind(this)), b(a(this, Ct, dg).bind(this)), b(a(this, Ct, fg).bind(this)), b(a(this, Ct, pg).bind(this));
5804
+ s(this, Cr) && (a(this, xt, Sc).call(this, s(this, X).$state.source(), e), a(this, xt, kc).call(this, e), u(this, Cr, !1)), b(a(this, xt, cg).bind(this)), b(a(this, xt, ug).bind(this)), b(a(this, xt, dg).bind(this)), b(a(this, xt, fg).bind(this)), b(a(this, xt, pg).bind(this));
5803
5805
  }
5804
5806
  }
5805
- Cr = new WeakMap(), xr = new WeakMap(), Ya = new WeakMap(), X = new WeakMap(), Oi = new WeakMap(), Ct = new WeakSet(), cg = function() {
5807
+ Cr = new WeakMap(), xr = new WeakMap(), Ya = new WeakMap(), X = new WeakMap(), Oi = new WeakMap(), xt = new WeakSet(), cg = function() {
5806
5808
  s(this, X).notify("sources-change", [
5807
5809
  ...md(s(this, X).$props.src()),
5808
5810
  ...s(this, Ya).call(this)
5809
5811
  ]);
5810
5812
  }, ug = function() {
5811
5813
  var h;
5812
- const { $state: e } = s(this, X), t = e.sources(), i = v(e.source), r = a(this, Ct, vc).call(this, i, t);
5814
+ const { $state: e } = s(this, X), t = e.sources(), i = v(e.source), r = a(this, xt, vc).call(this, i, t);
5813
5815
  if (((h = t[0]) == null ? void 0 : h.src) && !r.src && !r.type) {
5814
5816
  const { crossOrigin: l } = e, d = Sa(l()), f = new AbortController();
5815
5817
  return Promise.all(
@@ -5822,7 +5824,7 @@ Cr = new WeakMap(), xr = new WeakMap(), Ya = new WeakMap(), X = new WeakMap(), O
5822
5824
  )
5823
5825
  ).then((p) => {
5824
5826
  if (f.signal.aborted) return;
5825
- const m = a(this, Ct, vc).call(this, v(e.source), p);
5827
+ const m = a(this, xt, vc).call(this, v(e.source), p);
5826
5828
  Gi(), m.src || s(this, X).notify("error", {
5827
5829
  message: "Failed to load resource.",
5828
5830
  code: 4
@@ -5848,7 +5850,7 @@ Cr = new WeakMap(), xr = new WeakMap(), Ya = new WeakMap(), X = new WeakMap(), O
5848
5850
  detail: { quality: w }
5849
5851
  }));
5850
5852
  }
5851
- return yd(e, i) || a(this, Ct, Sc).call(this, i, r, o), r !== v(s(this, Oi)) && a(this, Ct, kc).call(this, r, o), i;
5853
+ return yd(e, i) || a(this, xt, Sc).call(this, i, r, o), r !== v(s(this, Oi)) && a(this, xt, kc).call(this, r, o), i;
5852
5854
  }, Sc = function(e, t, i) {
5853
5855
  s(this, X).notify("source-change", e, i), s(this, X).notify("media-type-change", (t == null ? void 0 : t.mediaType(e)) || "unknown", i);
5854
5856
  }, kc = function(e, t) {
@@ -6396,10 +6398,10 @@ Gt = new WeakMap(), $s = new WeakMap(), Ir = new WeakMap(), C = new WeakSet(), x
6396
6398
  let i = t.key, { min: r, max: o } = this.$state;
6397
6399
  return i === "Home" || i === "PageUp" ? r() : i === "End" || i === "PageDown" ? o() : !t.metaKey && /^[0-9]$/.test(i) ? (o() - r()) / 10 * Number(i) : null;
6398
6400
  }, Lc = function(t) {
6399
- var xt, Ut;
6401
+ var At, Ut;
6400
6402
  const { key: i, shiftKey: r } = t;
6401
6403
  t.preventDefault(), t.stopPropagation();
6402
- const { shiftKeyMultiplier: o } = this.$props, { min: h, max: l, value: d, pointerValue: f } = this.$state, p = s(this, Gt).getStep(), m = s(this, Gt).getKeyStep(), w = r ? m * o() : m, P = Number(bl[i]), k = w * P, M = s(this, Ni) ? f() : ((Ut = (xt = s(this, Gt)).getValue) == null ? void 0 : Ut.call(xt)) ?? d(), B = (M + k) / p;
6404
+ const { shiftKeyMultiplier: o } = this.$props, { min: h, max: l, value: d, pointerValue: f } = this.$state, p = s(this, Gt).getStep(), m = s(this, Gt).getKeyStep(), w = r ? m * o() : m, P = Number(bl[i]), k = w * P, M = s(this, Ni) ? f() : ((Ut = (At = s(this, Gt)).getValue) == null ? void 0 : Ut.call(At)) ?? d(), B = (M + k) / p;
6403
6405
  return Math.max(h(), Math.min(l(), Number((p * B).toFixed(3))));
6404
6406
  }, // -------------------------------------------------------------------------------------------
6405
6407
  // Document (Pointer Events)
@@ -6912,7 +6914,7 @@ class Hu extends Lt {
6912
6914
  showMs: d
6913
6915
  } = this.$props, { value: f, pointerValue: p, min: m, max: w } = s(this, co), P = (i == null ? void 0 : i()) ?? s(this, ks).default, k = t() === "current" ? f() : p();
6914
6916
  if (P === "percent") {
6915
- const xt = w() - m(), Ut = k / xt * 100;
6917
+ const At = w() - m(), Ut = k / At * 100;
6916
6918
  return (s(this, ks).percent ?? le)(Ut, r()) + "%";
6917
6919
  } else return P === "time" ? (s(this, ks).time ?? Fu)(k, {
6918
6920
  padHrs: o(),
@@ -7446,7 +7448,7 @@ const Os = ha(), wd = (n) => typeof n == "object" && n != null && n.nodeType ===
7446
7448
  }
7447
7449
  k != null && k === document.body && Uo(k) && !Uo(document.documentElement) || k != null && Uo(k, p) && P.push(k);
7448
7450
  }
7449
- const M = (i = (t = window.visualViewport) == null ? void 0 : t.width) != null ? i : innerWidth, B = (o = (r = window.visualViewport) == null ? void 0 : r.height) != null ? o : innerHeight, { scrollX: xt, scrollY: Ut } = window, { height: Xt, width: se, top: Oe, right: De, bottom: ue, left: E } = n.getBoundingClientRect(), { top: bt, right: It, bottom: bi, left: Xi } = ((wt) => {
7451
+ const M = (i = (t = window.visualViewport) == null ? void 0 : t.width) != null ? i : innerWidth, B = (o = (r = window.visualViewport) == null ? void 0 : r.height) != null ? o : innerHeight, { scrollX: At, scrollY: Ut } = window, { height: Xt, width: se, top: Oe, right: De, bottom: ue, left: E } = n.getBoundingClientRect(), { top: bt, right: It, bottom: bi, left: Xi } = ((wt) => {
7450
7452
  const et = window.getComputedStyle(wt);
7451
7453
  return { top: parseFloat(et.scrollMarginTop) || 0, right: parseFloat(et.scrollMarginRight) || 0, bottom: parseFloat(et.scrollMarginBottom) || 0, left: parseFloat(et.scrollMarginLeft) || 0 };
7452
7454
  })(n);
@@ -7458,7 +7460,7 @@ const Os = ha(), wd = (n) => typeof n == "object" && n != null && n.nodeType ===
7458
7460
  const Ro = getComputedStyle(et), qo = parseInt(Ro.borderLeftWidth, 10), Oo = parseInt(Ro.borderTopWidth, 10), Do = parseInt(Ro.borderRightWidth, 10), Vo = parseInt(Ro.borderBottomWidth, 10);
7459
7461
  let Zi = 0, ts = 0;
7460
7462
  const No = "offsetWidth" in et ? et.offsetWidth - et.clientWidth - qo - Do : 0, Fo = "offsetHeight" in et ? et.offsetHeight - et.clientHeight - Oo - Vo : 0, hl = "offsetWidth" in et ? et.offsetWidth === 0 ? 0 : Bs / et.offsetWidth : 0, ll = "offsetHeight" in et ? et.offsetHeight === 0 ? 0 : Ve / et.offsetHeight : 0;
7461
- if (w === et) Zi = l === "start" ? Qt : l === "end" ? Qt - B : l === "nearest" ? Bo(Ut, Ut + B, B, Oo, Vo, Ut + Qt, Ut + Qt + Xt, Xt) : Qt - B / 2, ts = d === "start" ? qt : d === "center" ? qt - M / 2 : d === "end" ? qt - M : Bo(xt, xt + M, M, qo, Do, xt + qt, xt + qt + se, se), Zi = Math.max(0, Zi + Ut), ts = Math.max(0, ts + xt);
7463
+ if (w === et) Zi = l === "start" ? Qt : l === "end" ? Qt - B : l === "nearest" ? Bo(Ut, Ut + B, B, Oo, Vo, Ut + Qt, Ut + Qt + Xt, Xt) : Qt - B / 2, ts = d === "start" ? qt : d === "center" ? qt - M / 2 : d === "end" ? qt - M : Bo(At, At + M, M, qo, Do, At + qt, At + qt + se, se), Zi = Math.max(0, Zi + Ut), ts = Math.max(0, ts + At);
7462
7464
  else {
7463
7465
  Zi = l === "start" ? Qt - wi - Oo : l === "end" ? Qt - ol + Vo + Fo : l === "nearest" ? Bo(wi, ol, Ve, Oo, Vo + Fo, Qt, Qt + Xt, Xt) : Qt - (wi + Ve / 2) + Fo / 2, ts = d === "start" ? qt - Io - qo : d === "center" ? qt - (Io + Bs / 2) + No / 2 : d === "end" ? qt - Bn + Do + No : Bo(Io, Bn, Bs, qo, Do + No, qt, qt + se, se);
7464
7466
  const { scrollLeft: Ku, scrollTop: Qu } = et;
@@ -8383,7 +8385,7 @@ function Us(...n) {
8383
8385
  }
8384
8386
  function qS(n, e) {
8385
8387
  const t = $.forwardRef((i, r) => {
8386
- var B, xt, Ut, Xt, se, Oe, De, ue;
8388
+ var B, At, Ut, Xt, se, Oe, De, ue;
8387
8389
  let o = $.useContext(rl), h = $.useRef(null), l = $.useRef();
8388
8390
  if (!l.current) {
8389
8391
  const E = DS(), bt = Sd(n, E, i, o.current);
@@ -8422,9 +8424,9 @@ function qS(n, e) {
8422
8424
  if (e.props.has(E))
8423
8425
  p.component.$props[E].set(
8424
8426
  // If the prop was removed we'll use the default value provided on Component creation.
8425
- At(w[E]) ? (B = n.props) == null ? void 0 : B[E] : w[E]
8427
+ Et(w[E]) ? (B = n.props) == null ? void 0 : B[E] : w[E]
8426
8428
  );
8427
- else if ((xt = e.events) != null && xt.has(E) || (Ut = e.eventsRE) != null && Ut.test(E))
8429
+ else if ((At = e.events) != null && At.has(E) || (Ut = e.eventsRE) != null && Ut.test(E))
8428
8430
  p.callbacks[E] = w[E];
8429
8431
  else if ((Xt = e.domEvents) != null && Xt.has(E) || (se = e.domEventsRE) != null && se.test(E)) {
8430
8432
  let bt = Xh(E.slice(2));
@@ -8466,7 +8468,7 @@ function DS() {
8466
8468
  listening: null,
8467
8469
  onDOMEvent(e) {
8468
8470
  var i, r;
8469
- const t = At(e.detail) ? [e] : [e.detail, e];
8471
+ const t = Et(e.detail) ? [e] : [e.detail, e];
8470
8472
  (r = (i = n.domCallbacks)[e.type]) == null || r.call(i, ...t);
8471
8473
  }
8472
8474
  };
@@ -8493,7 +8495,7 @@ function uh(n) {
8493
8495
  }
8494
8496
  function VS(n) {
8495
8497
  var i, r;
8496
- let e = $d.get(n.type), t = At(n.detail) ? [n] : [n.detail, n];
8498
+ let e = $d.get(n.type), t = Et(n.detail) ? [n] : [n.detail, n];
8497
8499
  e || $d.set(n.type, e = `on${$T(n.type)}`), (r = (i = this.callbacks)[e]) == null || r.call(i, ...t);
8498
8500
  }
8499
8501
  function Sd(n, e, t, i) {
@@ -8699,7 +8701,7 @@ const KS = ke($S), QS = $.forwardRef(
8699
8701
  );
8700
8702
  QS.displayName = "MediaProvider";
8701
8703
  function mw({ provider: n, mediaProps: e, iframeProps: t }) {
8702
- const { sources: i, crossOrigin: r, poster: o, remotePlaybackInfo: h, nativeControls: l, viewType: d } = Lo(ua), { loader: f } = n.$state, { $provider: p, $providerSetup: m } = Un(), w = gt(i), P = gt(l), k = gt(r), M = gt(o), B = gt(f), xt = gt(p), Ut = gt(m), Xt = gt(h), se = B == null ? void 0 : B.mediaType(), Oe = gt(d), De = Oe === "audio", ue = (B == null ? void 0 : B.name) === "youtube", E = (B == null ? void 0 : B.name) === "vimeo", bt = ue || E, It = (B == null ? void 0 : B.name) === "remotion", bi = (B == null ? void 0 : B.name) === "google-cast", [Xi, Qt] = $.useState(""), [qt, Ji] = $.useState(!1);
8704
+ const { sources: i, crossOrigin: r, poster: o, remotePlaybackInfo: h, nativeControls: l, viewType: d } = Lo(ua), { loader: f } = n.$state, { $provider: p, $providerSetup: m } = Un(), w = gt(i), P = gt(l), k = gt(r), M = gt(o), B = gt(f), At = gt(p), Ut = gt(m), Xt = gt(h), se = B == null ? void 0 : B.mediaType(), Oe = gt(d), De = Oe === "audio", ue = (B == null ? void 0 : B.name) === "youtube", E = (B == null ? void 0 : B.name) === "vimeo", bt = ue || E, It = (B == null ? void 0 : B.name) === "remotion", bi = (B == null ? void 0 : B.name) === "google-cast", [Xi, Qt] = $.useState(""), [qt, Ji] = $.useState(!1);
8703
8705
  return $.useEffect(() => {
8704
8706
  !bi || Xi || import("./chromecast-fcYiHsj5.js").then((wt) => {
8705
8707
  Qt(wt.default);
@@ -8729,7 +8731,7 @@ function mw({ provider: n, mediaProps: e, iframeProps: t }) {
8729
8731
  ref: (wt) => {
8730
8732
  n.load(wt);
8731
8733
  },
8732
- children: GS(xt) && Ut ? $.createElement(xt.render) : null
8734
+ children: GS(At) && Ut ? $.createElement(At.render) : null
8733
8735
  }
8734
8736
  ) }) : bt ? $.createElement(
8735
8737
  $.Fragment,
@@ -9335,7 +9337,7 @@ Rn = new WeakMap(), ri = new WeakMap(), So = new WeakMap(), yi = new WeakSet(),
9335
9337
  onLoadError: a(this, yi, Vw).bind(this)
9336
9338
  };
9337
9339
  let t = await Ak(s(this, Rn), e);
9338
- if (At(t) && !R(s(this, Rn)) && (t = await xk(s(this, Rn), e)), !t) return null;
9340
+ if (Et(t) && !R(s(this, Rn)) && (t = await xk(s(this, Rn), e)), !t) return null;
9339
9341
  if (!t.isSupported()) {
9340
9342
  const i = "[vidstack] `hls.js` is not supported in this environment";
9341
9343
  return s(this, ri).player.dispatch(new H("hls-unsupported")), s(this, ri).notify("error", { message: i, code: 4 }), null;
@@ -9363,7 +9365,7 @@ Rn = new WeakMap(), ri = new WeakMap(), So = new WeakMap(), yi = new WeakSet(),
9363
9365
  };
9364
9366
  async function xk(n, e = {}) {
9365
9367
  var t, i, r, o, h;
9366
- if (!At(n)) {
9368
+ if (!Et(n)) {
9367
9369
  if ((t = e.onLoadStart) == null || t.call(e), n.prototype && n.prototype !== Function)
9368
9370
  return (i = e.onLoaded) == null || i.call(e, n), n;
9369
9371
  try {
@@ -9541,7 +9543,7 @@ class Mk {
9541
9543
  async load(e) {
9542
9544
  if (!s(this, Rs))
9543
9545
  throw Error("[vidstack] google cast player was not initialized");
9544
- return new (await import("./vidstack-google-cast-BMQWFfhs.js").then((t) => t.p)).GoogleCastProvider(s(this, Rs), e);
9546
+ return new (await import("./vidstack-google-cast-D_aHtaU6.js").then((t) => t.p)).GoogleCastProvider(s(this, Rs), e);
9545
9547
  }
9546
9548
  }
9547
9549
  Rs = new WeakMap(), Yt = new WeakSet(), _w = async function(e) {
@@ -9693,7 +9695,7 @@ bu = function(e, t) {
9693
9695
  return t.name === e.label && t.language === e.language && t.subtype.toLowerCase() === e.kind.toLowerCase();
9694
9696
  };
9695
9697
  export {
9696
- YS as $,
9698
+ Te as $,
9697
9699
  Bk as A,
9698
9700
  zt as B,
9699
9701
  gP as C,
@@ -9703,47 +9705,48 @@ export {
9703
9705
  wP as G,
9704
9706
  Gk as H,
9705
9707
  Ns as I,
9706
- fT as J,
9707
- we as K,
9708
+ Et as J,
9709
+ fT as K,
9708
9710
  D as L,
9709
- Ok as M,
9711
+ we as M,
9710
9712
  Wk as N,
9711
- hP as O,
9713
+ Ok as O,
9712
9714
  Xk as P,
9713
9715
  ie as Q,
9714
9716
  Nu as R,
9715
- rP as S,
9717
+ hP as S,
9716
9718
  Go as T,
9717
- aP as U,
9719
+ rP as U,
9718
9720
  zk as V,
9719
- oP as W,
9720
- lP as X,
9721
+ aP as W,
9722
+ oP as X,
9721
9723
  yP as Y,
9722
- sP as Z,
9723
- Te as _,
9724
+ lP as Z,
9725
+ sP as _,
9724
9726
  R as a,
9725
- kk as a0,
9726
- dP as a1,
9727
- cP as a2,
9728
- uP as a3,
9729
- JS as a4,
9730
- Ek as a5,
9731
- Fu as a6,
9732
- pk as a7,
9733
- nk as a8,
9734
- bk as a9,
9735
- rk as aa,
9736
- sk as ab,
9737
- hk as ac,
9738
- uk as ad,
9739
- Nk as ae,
9740
- Fk as af,
9741
- Hk as ag,
9742
- Uk as ah,
9743
- _k as ai,
9744
- WS as aj,
9745
- QS as ak,
9746
- nP as al,
9727
+ YS as a0,
9728
+ kk as a1,
9729
+ dP as a2,
9730
+ cP as a3,
9731
+ uP as a4,
9732
+ JS as a5,
9733
+ Ek as a6,
9734
+ Fu as a7,
9735
+ pk as a8,
9736
+ nk as a9,
9737
+ bk as aa,
9738
+ rk as ab,
9739
+ sk as ac,
9740
+ hk as ad,
9741
+ uk as ae,
9742
+ Nk as af,
9743
+ Fk as ag,
9744
+ Hk as ah,
9745
+ Uk as ai,
9746
+ _k as aj,
9747
+ WS as ak,
9748
+ QS as al,
9749
+ nP as am,
9747
9750
  Zk as b,
9748
9751
  v as c,
9749
9752
  yh as d,
@@ -1,8 +1,8 @@
1
1
  var o = Object.defineProperty;
2
2
  var a = (i, e, t) => e in i ? o(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t;
3
3
  var r = (i, e, t) => a(i, typeof e != "symbol" ? e + "" : e, t);
4
- import { s as p, H as d } from "./vidstack-CjqtyAQk.js";
5
- import { H as u } from "./vidstack-html-CPvoK3qB.js";
4
+ import { s as p, H as d } from "./vidstack-DPuv2JRL.js";
5
+ import { H as u } from "./vidstack-html-PIku4DdT.js";
6
6
  class n extends u {
7
7
  constructor(t, s) {
8
8
  super(t, s);
@@ -5,8 +5,8 @@ var u = (e) => {
5
5
  var g = (e, s, t) => s in e ? S(e, s, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[s] = t;
6
6
  var h = (e, s, t) => g(e, typeof s != "symbol" ? s + "" : s, t), d = (e, s, t) => s.has(e) || u("Cannot " + t);
7
7
  var i = (e, s, t) => (d(e, s, "read from private field"), t ? t.call(e) : s.get(e)), a = (e, s, t) => s.has(e) ? u("Cannot add the same private member more than once") : s instanceof WeakSet ? s.add(e) : s.set(e, t), p = (e, s, t, n) => (d(e, s, "write to private field"), n ? n.call(e, t) : s.set(e, t), t);
8
- import { D as f, i as m, a as l, p as y, b as D, c as x } from "./vidstack-CjqtyAQk.js";
9
- import { VideoProvider as v } from "./vidstack-video-C_npz5Cj.js";
8
+ import { D as f, i as m, a as l, p as y, b as D, c as x } from "./vidstack-DPuv2JRL.js";
9
+ import { VideoProvider as v } from "./vidstack-video-CFc1rkyw.js";
10
10
  const $ = "https://cdn.jsdelivr.net";
11
11
  var c, r, o;
12
12
  class b extends v {
@@ -5,7 +5,7 @@ var U = (r) => {
5
5
  var ct = (r, t, s) => t in r ? ht(r, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : r[t] = s;
6
6
  var _ = (r, t, s) => ct(r, typeof t != "symbol" ? t + "" : t, s), D = (r, t, s) => t.has(r) || U("Cannot " + s);
7
7
  var e = (r, t, s) => (D(r, t, "read from private field"), s ? s.call(r) : t.get(r)), d = (r, t, s) => t.has(r) ? U("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(r) : t.set(r, s), u = (r, t, s, n) => (D(r, t, "write to private field"), n ? n.call(r, s) : t.set(r, s), s), a = (r, t, s) => (D(r, t, "access private method"), s);
8
- import { l as ut, d as dt, T as E, R as lt, G as ft, k as F, o as mt, e as x, c as I, f as gt } from "./vidstack-CjqtyAQk.js";
8
+ import { l as ut, d as dt, T as E, R as lt, G as ft, k as F, o as mt, e as x, c as I, f as gt } from "./vidstack-DPuv2JRL.js";
9
9
  function Tt() {
10
10
  return "https://www.gstatic.com/cv/js/sender/v1/cast_sender.js?loadCastFramework=1";
11
11
  }
@@ -5,8 +5,8 @@ var u = (e) => {
5
5
  var g = (e, s, t) => s in e ? S(e, s, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[s] = t;
6
6
  var a = (e, s, t) => g(e, typeof s != "symbol" ? s + "" : s, t), d = (e, s, t) => s.has(e) || u("Cannot " + t);
7
7
  var i = (e, s, t) => (d(e, s, "read from private field"), t ? t.call(e) : s.get(e)), h = (e, s, t) => s.has(e) ? u("Cannot add the same private member more than once") : s instanceof WeakSet ? s.add(e) : s.set(e, t), p = (e, s, t, n) => (d(e, s, "write to private field"), n ? n.call(e, t) : s.set(e, t), t);
8
- import { g as f, h as m, a as l, p as y, j as L, c as x } from "./vidstack-CjqtyAQk.js";
9
- import { VideoProvider as v } from "./vidstack-video-C_npz5Cj.js";
8
+ import { g as f, h as m, a as l, p as y, j as L, c as x } from "./vidstack-DPuv2JRL.js";
9
+ import { VideoProvider as v } from "./vidstack-video-CFc1rkyw.js";
10
10
  const $ = "https://cdn.jsdelivr.net";
11
11
  var c, r, o;
12
12
  class j extends v {
@@ -6,7 +6,7 @@ var p = (i, e, t) => e in i ? l(i, e, { enumerable: !0, configurable: !0, writab
6
6
  var d = (i, e, t) => p(i, typeof e != "symbol" ? e + "" : e, t), S = (i, e, t) => e.has(i) || m("Cannot " + t);
7
7
  var h = (i, e, t) => e.has(i) ? m("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(i) : e.set(i, t);
8
8
  var n = (i, e, t) => (S(i, e, "access private method"), t);
9
- import { A as y, d as v, m as f, N as T, o as b, n as c, q as $, a as M } from "./vidstack-CjqtyAQk.js";
9
+ import { A as y, d as v, m as f, N as T, o as b, n as c, q as $, a as M } from "./vidstack-DPuv2JRL.js";
10
10
  var r, u;
11
11
  class g {
12
12
  constructor(e, t) {
@@ -1,8 +1,8 @@
1
1
  var n = Object.defineProperty;
2
2
  var o = (s, t, e) => t in s ? n(s, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[t] = e;
3
3
  var i = (s, t, e) => o(s, typeof t != "symbol" ? t + "" : t, e);
4
- import { s as c, H as u, r as P, V as p, F as d, P as h, t as l, u as f, v as V, w as y, o as I } from "./vidstack-CjqtyAQk.js";
5
- import { H as v } from "./vidstack-html-CPvoK3qB.js";
4
+ import { s as c, H as u, r as P, V as p, F as d, P as h, t as l, u as f, v as V, w as y, o as I } from "./vidstack-DPuv2JRL.js";
5
+ import { H as v } from "./vidstack-html-PIku4DdT.js";
6
6
  class m extends v {
7
7
  constructor(e, r) {
8
8
  super(e, r);
@@ -5,7 +5,7 @@ var W = (r) => {
5
5
  var ke = (r, c, e) => c in r ? me(r, c, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[c] = e;
6
6
  var b = (r, c, e) => ke(r, typeof c != "symbol" ? c + "" : c, e), j = (r, c, e) => c.has(r) || W("Cannot " + e);
7
7
  var s = (r, c, e) => (j(r, c, "read from private field"), e ? e.call(r) : c.get(r)), d = (r, c, e) => c.has(r) ? W("Cannot add the same private member more than once") : c instanceof WeakSet ? c.add(r) : c.set(r, e), f = (r, c, e, t) => (j(r, c, "write to private field"), t ? t.call(r, e) : c.set(r, e), e), h = (r, c, e) => (j(r, c, "access private method"), e);
8
- import { E as ve, d as we, x as Y, T as g, R as Te, p as Pe, y as x, c as A, a as Ce, z as G, L as M, l as $e, B as ge, C as Ee, I as Re, Q as J } from "./vidstack-CjqtyAQk.js";
8
+ import { E as ve, d as we, x as Y, T as g, R as Te, p as Pe, y as x, c as A, a as Ce, z as G, L as M, l as $e, B as ge, C as Ee, I as Re, Q as J } from "./vidstack-DPuv2JRL.js";
9
9
  const Ve = /(?:https:\/\/)?(?:player\.)?vimeo(?:\.com)?\/(?:video\/)?(\d+)(?:(?:\?hash=|\?h=|\/)(.*))?/, O = /* @__PURE__ */ new Map(), _ = /* @__PURE__ */ new Map();
10
10
  function K(r) {
11
11
  const c = r.match(Ve);