@webitel/ui-sdk 26.4.53 → 26.4.55

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/dist/{index-D1JZdn_3.js → index-DIbizsCF.js} +1 -1
  2. package/dist/{index-tq7M6jAx.js → index-DUvxbc74.js} +1 -1
  3. package/dist/{install-DONrHk5A.js → install-b3LF2l6e.js} +39 -40
  4. package/dist/{isObject-DJJamC3X.js → isObject-Df1QjwSr.js} +1 -1
  5. package/dist/ui-sdk.css +1 -1
  6. package/dist/ui-sdk.js +1 -1
  7. package/dist/ui-sdk.umd.cjs +76 -76
  8. package/dist/{useVidstackSrc-BIQgb5U6.js → useVidstackSrc-r5eaGiNI.js} +1 -1
  9. package/dist/{vidstack-Bq6c3Bam-BtKvVGwA.js → vidstack-Bq6c3Bam-DUhOSZ5b.js} +3 -3
  10. package/dist/{vidstack-D2pY00kU-FFqybhBe.js → vidstack-D2pY00kU--9OviSIY.js} +3 -3
  11. package/dist/{vidstack-DDXt6fpN-D2qipPwF.js → vidstack-DDXt6fpN-DAHT4IlN.js} +2 -2
  12. package/dist/{vidstack-D_-9AA6_-DRfMWrJI.js → vidstack-D_-9AA6_-4NXefQZ2.js} +2 -2
  13. package/dist/{vidstack-DqAw8m9J-NBrpsMcy.js → vidstack-DqAw8m9J-DykxUivk.js} +1 -1
  14. package/dist/{vidstack-audio-V8ei4YHL.js → vidstack-audio-CAtkbhyu.js} +2 -2
  15. package/dist/{vidstack-dash-C9FtEc7w.js → vidstack-dash-_VUyXBlM.js} +4 -4
  16. package/dist/{vidstack-google-cast-DcYFipDU.js → vidstack-google-cast-CjaT-bOh.js} +4 -4
  17. package/dist/{vidstack-hls-BIxWa2ki.js → vidstack-hls-BLwPZsJT.js} +4 -4
  18. package/dist/{vidstack-video-UzvbjM18.js → vidstack-video-C4Nn4Tci.js} +3 -3
  19. package/dist/{vidstack-vimeo-DGp4i2tb.js → vidstack-vimeo-BM6Grb7n.js} +4 -4
  20. package/dist/{vidstack-youtube-CWC3DhCZ.js → vidstack-youtube-DKIF9ZLF.js} +3 -3
  21. package/dist/{wt-action-bar-BgJIpjUX.js → wt-action-bar-BUTecaFM.js} +1 -1
  22. package/dist/{wt-button-select-DmMg828L.js → wt-button-select-_sP7TEjh.js} +1 -1
  23. package/dist/{wt-call-media-action-CsvyMmWB.js → wt-call-media-action-B754SWie.js} +1 -1
  24. package/dist/{wt-chat-emoji-CNC9MRVw.js → wt-chat-emoji-8kgugJp3.js} +2 -2
  25. package/dist/{wt-confirm-dialog-D-LLiacZ.js → wt-confirm-dialog-Dfn8LBqD.js} +1 -1
  26. package/dist/{wt-context-menu-Dn4UkcV-.js → wt-context-menu-CM6Uy8E_.js} +1 -1
  27. package/dist/{wt-copy-action-BsoqGERQ.js → wt-copy-action-BBCJFKTA.js} +1 -1
  28. package/dist/{wt-datepicker-BCXarBWx.js → wt-datepicker-CEg7Bz8f.js} +1 -1
  29. package/dist/{wt-display-chip-items-CD-f6qfj.js → wt-display-chip-items-i4Sofmjw.js} +1 -1
  30. package/dist/{wt-dual-panel-ChmVosEm.js → wt-dual-panel-BKHIz6GE.js} +1 -1
  31. package/dist/{wt-dummy-BsFcQNhv.js → wt-dummy-CrbQHj7e.js} +1 -1
  32. package/dist/{wt-error-page-C_K_Wl-Q.js → wt-error-page-C6Ffq5UN.js} +1 -1
  33. package/dist/{wt-expansion-card-D2MQuPbq.js → wt-expansion-card-vo-1_anD.js} +1 -1
  34. package/dist/{wt-expansion-panel-BN_VdjUv.js → wt-expansion-panel-MH-Ck5c9.js} +1 -1
  35. package/dist/{wt-filters-panel-wrapper-CalZ9q41.js → wt-filters-panel-wrapper-Cufdyl3l.js} +1 -1
  36. package/dist/{wt-galleria-BbRQxfO8.js → wt-galleria-CJA4YRIH.js} +1 -1
  37. package/dist/{wt-inline-add-panel-B_aOhIlY.js → wt-inline-add-panel-C_YL_gEc.js} +1 -1
  38. package/dist/{wt-navigation-menu-CPal9_il.js → wt-navigation-menu-Z8miYMLM.js} +1 -1
  39. package/dist/{wt-notifications-bar-iaMDZ-IT.js → wt-notifications-bar-Bi_GUm8d.js} +2 -2
  40. package/dist/{wt-pagination-C6SYOfhR.js → wt-pagination-Cr5FWOMe.js} +1 -1
  41. package/dist/{wt-player-BibTfVDu.js → wt-player-DTDnFI9y.js} +2 -2
  42. package/dist/{wt-screen-recordings-action-C3KwzABR.js → wt-screen-recordings-action-ByIvxs0u.js} +1 -1
  43. package/dist/{wt-search-bar-Ne-ttLFr.js → wt-search-bar-D9HsQwYk.js} +1 -1
  44. package/dist/{wt-selection-popup-DMp5HxrU.js → wt-selection-popup-DIEAkxye.js} +1 -1
  45. package/dist/{wt-start-page-ByixcofL.js → wt-start-page-Ccnkc45u.js} +1 -1
  46. package/dist/{wt-status-select-CFbWrJJb.js → wt-status-select-nrzAML3-.js} +1 -1
  47. package/dist/{wt-stepper-RbnZxe6B.js → wt-stepper-Cuuwczjp.js} +1 -1
  48. package/dist/{wt-table-B4GTP0rP.js → wt-table-CeV_WB5D.js} +1 -1
  49. package/dist/{wt-table-actions-BKt8RzHw.js → wt-table-actions-BQVB7ALh.js} +1 -1
  50. package/dist/wt-table-column-select-C4AY_Nyy.js +128 -0
  51. package/dist/{wt-tabs-C8V4bCVV.js → wt-tabs-D_6GZBjk.js} +1 -1
  52. package/dist/{wt-tags-input-DUWssytX.js → wt-tags-input-BhsvaOnv.js} +2 -2
  53. package/dist/{wt-timepicker-DV-v7VBW.js → wt-timepicker-g4BcXrO5.js} +1 -1
  54. package/dist/{wt-tree-D9FkgsYB.js → wt-tree-CmvdV2AP.js} +2 -2
  55. package/dist/{wt-tree-table-vRq4xzqt.js → wt-tree-table-Cy8Ps3Cw.js} +1 -1
  56. package/dist/{wt-type-extension-value-input-ClkDUR2R.js → wt-type-extension-value-input-nuNyA7mx.js} +2 -2
  57. package/dist/{wt-vidstack-player-CZwbDZJ1.js → wt-vidstack-player-CuYDziPr.js} +302 -300
  58. package/package.json +3 -2
  59. package/src/components/wt-checkbox/wt-checkbox.vue +2 -2
  60. package/src/components/wt-table-column-select/wt-table-column-select.vue +0 -1
  61. package/src/components/wt-vidstack-player/wt-vidstack-player.vue +17 -8
  62. package/src/modules/CallSession/modules/VideoCall/video-call.vue +2 -0
  63. package/types/components/wt-vidstack-player/wt-vidstack-player.vue.d.ts +1 -0
  64. package/dist/wt-table-column-select-C_UemiSa.js +0 -129
@@ -1,10 +1,10 @@
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-BIQgb5U6.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-DONrHk5A.js";
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 Ds, onMounted as Ii, onBeforeUnmount as Vi, createBlock as Ut, createCommentVNode as Kt, toDisplayString as Di, createSlots as Rs, 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 Os, E as Ns, D as L, h as Q, o as x, j as Hi, k as g, m as l, n as M, p as Hs, 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 Fs, A as Bi, B as Gi, F as tt, G as Ge, H as Bs, J as ps, K as Ue, L as Gs, 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 Us, 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-r5eaGiNI.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-b3LF2l6e.js";
4
4
  import { _ as ga } from "./wt-slider.vue_vue_type_script_setup_true_lang-DlaRDHxo.js";
5
- const Us = ft();
5
+ const Ks = ft();
6
6
  function $() {
7
- return q(Us);
7
+ return q(Ks);
8
8
  }
9
9
  class he {
10
10
  #t;
@@ -87,7 +87,7 @@ function De(a, t) {
87
87
  return t >= a.startTime && t < a.endTime;
88
88
  }
89
89
  function ve(a, t, e) {
90
- let s = null, i = Rs();
90
+ let s = null, i = Os();
91
91
  function n() {
92
92
  const r = S(t) ? [t] : t, o = a.toArray().find((h) => r.includes(h.kind) && h.mode === "showing");
93
93
  if (o !== s) {
@@ -131,7 +131,7 @@ const $a = /* @__PURE__ */ Symbol(0), wa = /* @__PURE__ */ Symbol(0), Ta = /* @_
131
131
  native: Pa,
132
132
  nativeHLS: xa
133
133
  };
134
- class pe extends Os {
134
+ class pe extends Ns {
135
135
  static createId(t) {
136
136
  return `vds-${t.type}-${t.kind}-${t.src ?? t.label ?? "?"}`;
137
137
  }
@@ -296,7 +296,7 @@ function Ea(a, t, e) {
296
296
  let i = [], n = [];
297
297
  return s.regions && e && (i = s.regions.map((r) => Object.assign(new e(), r))), (s.cues || B(s)) && (n = (B(s) ? s : s.cues).filter((r) => Q(r.startTime) && Q(r.endTime)).map((r) => Object.assign(new t(0, 0, ""), r))), { regions: i, cues: n };
298
298
  }
299
- const Aa = /* @__PURE__ */ Symbol(0), Ma = /* @__PURE__ */ Symbol(0), La = /* @__PURE__ */ Symbol(0), qa = /* @__PURE__ */ Symbol(0), _a = /* @__PURE__ */ Symbol(0), Ia = /* @__PURE__ */ Symbol(0), Va = /* @__PURE__ */ Symbol(0), Da = /* @__PURE__ */ Symbol(0), Ra = /* @__PURE__ */ Symbol(0), x = {
299
+ const Aa = /* @__PURE__ */ Symbol(0), Ma = /* @__PURE__ */ Symbol(0), La = /* @__PURE__ */ Symbol(0), qa = /* @__PURE__ */ Symbol(0), _a = /* @__PURE__ */ Symbol(0), Ia = /* @__PURE__ */ Symbol(0), Va = /* @__PURE__ */ Symbol(0), Da = /* @__PURE__ */ Symbol(0), Ra = /* @__PURE__ */ Symbol(0), C = {
300
300
  add: Aa,
301
301
  remove: Ma,
302
302
  reset: La,
@@ -342,25 +342,25 @@ function E(a, t, e) {
342
342
  function bt(a, t) {
343
343
  if (a.hasAttribute("aria-label") || a.hasAttribute("data-no-label")) return;
344
344
  if (!Hi(t)) {
345
- f(a, "aria-label", t);
345
+ g(a, "aria-label", t);
346
346
  return;
347
347
  }
348
348
  function e() {
349
- f(a, "aria-label", t());
349
+ g(a, "aria-label", t());
350
350
  }
351
351
  l(e);
352
352
  }
353
- function Ks(a) {
353
+ function Qs(a) {
354
354
  const t = getComputedStyle(a);
355
355
  return t.display !== "none" && parseInt(t.opacity) > 0;
356
356
  }
357
357
  function Fa(a) {
358
- return !!a && ("checkVisibility" in a ? a.checkVisibility({ checkOpacity: !0, checkVisibilityCSS: !0 }) : Ks(a));
358
+ return !!a && ("checkVisibility" in a ? a.checkVisibility({ checkOpacity: !0, checkVisibilityCSS: !0 }) : Qs(a));
359
359
  }
360
- function Qs(a, t) {
360
+ function Ws(a, t) {
361
361
  return Ha(() => t(Fa(a)));
362
362
  }
363
- function Ws(a, t, e) {
363
+ function zs(a, t, e) {
364
364
  for (; t; ) {
365
365
  if (t === a)
366
366
  return !0;
@@ -374,14 +374,14 @@ 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) => {
377
- Ns(e) && t(e);
377
+ Hs(e) && t(e);
378
378
  });
379
379
  }
380
380
  function Qe(a) {
381
381
  return oe(a) && (a.touches.length > 1 || a.changedTouches.length > 1);
382
382
  }
383
383
  function ht(a) {
384
- let t = Rs(), e = window.requestAnimationFrame(() => {
384
+ let t = Os(), e = window.requestAnimationFrame(() => {
385
385
  Zt(a, t), e = -1;
386
386
  });
387
387
  return () => {
@@ -393,18 +393,18 @@ function We(a, t, e) {
393
393
  !r && a.firstElementChild && (a.innerHTML = a.firstElementChild.outerHTML, a.firstElementChild.remove(), r = a.content.firstElementChild);
394
394
  for (let h = 0; h < t; h++)
395
395
  s = document.importNode(r, !0), e?.(s, h), n.insertBefore(s, i.nextSibling), o.push(s), i = s;
396
- return P(() => {
396
+ return x(() => {
397
397
  for (let h = 0; h < o.length; h++) o[h].remove();
398
398
  }), o;
399
399
  }
400
- function zs(a) {
400
+ function js(a) {
401
401
  const t = document.createElement("template");
402
402
  return t.innerHTML = a, t.content;
403
403
  }
404
- function js(a) {
404
+ function Ys(a) {
405
405
  return a.cloneNode(!0).firstElementChild;
406
406
  }
407
- function Ys(a, t, e, {
407
+ function Xs(a, t, e, {
408
408
  offsetVarName: s,
409
409
  xOffset: i,
410
410
  yOffset: n,
@@ -424,11 +424,11 @@ function Ys(a, t, e, {
424
424
  ma()
425
425
  ],
426
426
  ...r
427
- }).then(({ x: u, y: m, middlewareData: g }) => {
428
- const C = !!g.flip?.index;
429
- h = e.includes(C ? "bottom" : "top"), a.setAttribute(
427
+ }).then(({ x: u, y: m, middlewareData: f }) => {
428
+ const P = !!f.flip?.index;
429
+ h = e.includes(P ? "bottom" : "top"), a.setAttribute(
430
430
  "data-placement",
431
- C ? e.startsWith("top") ? e.replace("top", "bottom") : e.replace("bottom", "top") : e
431
+ P ? 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)`
@@ -500,20 +500,20 @@ class Z extends J {
500
500
  }
501
501
  }
502
502
  function ne(a, t) {
503
- f(a, "data-focus", t), f(a, "data-hocus", t);
503
+ g(a, "data-focus", t), g(a, "data-hocus", t);
504
504
  }
505
505
  function ys(a, t) {
506
- f(a, "data-hocus", t), f(a, "data-hover", t);
506
+ g(a, "data-hocus", t), g(a, "data-hover", t);
507
507
  }
508
- class Xs extends Os {
508
+ class Js extends Ns {
509
509
  items = [];
510
510
  /** @internal */
511
- [x.readonly] = !1;
511
+ [C.readonly] = !1;
512
512
  get length() {
513
513
  return this.items.length;
514
514
  }
515
515
  get readonly() {
516
- return this[x.readonly];
516
+ return this[C.readonly];
517
517
  }
518
518
  /**
519
519
  * Returns the index of the first occurrence of the given item, or -1 if it is not present.
@@ -537,7 +537,7 @@ class Xs extends Os {
537
537
  return this.items.values();
538
538
  }
539
539
  /** @internal */
540
- [x.add](t, e) {
540
+ [C.add](t, e) {
541
541
  const s = this.items.length;
542
542
  "" + s in this || Object.defineProperty(this, s, {
543
543
  get() {
@@ -546,18 +546,18 @@ class Xs extends Os {
546
546
  }), !this.items.includes(t) && (this.items.push(t), this.dispatchEvent(new L("add", { detail: t, trigger: e })));
547
547
  }
548
548
  /** @internal */
549
- [x.remove](t, e) {
549
+ [C.remove](t, e) {
550
550
  const s = this.items.indexOf(t);
551
- s >= 0 && (this[x.onRemove]?.(t, e), this.items.splice(s, 1), this.dispatchEvent(new L("remove", { detail: t, trigger: e })));
551
+ s >= 0 && (this[C.onRemove]?.(t, e), this.items.splice(s, 1), this.dispatchEvent(new L("remove", { detail: t, trigger: e })));
552
552
  }
553
553
  /** @internal */
554
- [x.reset](t) {
555
- for (const e of [...this.items]) this[x.remove](e, t);
556
- this.items = [], this[x.setReadonly](!1, t), this[x.onReset]?.();
554
+ [C.reset](t) {
555
+ for (const e of [...this.items]) this[C.remove](e, t);
556
+ this.items = [], this[C.setReadonly](!1, t), this[C.onReset]?.();
557
557
  }
558
558
  /** @internal */
559
- [x.setReadonly](t, e) {
560
- this[x.readonly] !== t && (this[x.readonly] = t, this.dispatchEvent(new L("readonly-change", { detail: t, trigger: e })));
559
+ [C.setReadonly](t, e) {
560
+ this[C.readonly] !== t && (this[C.readonly] = t, this.dispatchEvent(new L("readonly-change", { detail: t, trigger: e })));
561
561
  }
562
562
  }
563
563
  const Oe = kt.fullscreenEnabled;
@@ -576,7 +576,7 @@ class Qa extends J {
576
576
  return Oe;
577
577
  }
578
578
  onConnect() {
579
- new M(kt).add("fullscreenchange", this.#i.bind(this)).add("fullscreenerror", this.#a.bind(this)), P(this.#s.bind(this));
579
+ new M(kt).add("fullscreenchange", this.#i.bind(this)).add("fullscreenerror", this.#a.bind(this)), x(this.#s.bind(this));
580
580
  }
581
581
  async #s() {
582
582
  Oe && await this.exit();
@@ -660,7 +660,7 @@ class $e extends J {
660
660
  /**
661
661
  * Whether the native Screen Orientation API is available.
662
662
  */
663
- static supported = Bs();
663
+ static supported = Gs();
664
664
  /**
665
665
  * Whether the native Screen Orientation API is available.
666
666
  */
@@ -672,9 +672,9 @@ class $e extends J {
672
672
  O(screen.orientation, "change", this.#a.bind(this));
673
673
  else {
674
674
  const t = window.matchMedia("(orientation: landscape)");
675
- t.onchange = this.#a.bind(this), P(() => t.onchange = null);
675
+ t.onchange = this.#a.bind(this), x(() => t.onchange = null);
676
676
  }
677
- P(this.#i.bind(this));
677
+ x(this.#i.bind(this));
678
678
  }
679
679
  async #i() {
680
680
  this.supported && this.#e() && await this.unlock();
@@ -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 gt({
727
+ const Zs = new gt({
728
728
  artist: "",
729
729
  artwork: null,
730
730
  audioTrack: null,
@@ -736,14 +736,14 @@ const Js = new gt({
736
736
  canLoad: !1,
737
737
  canLoadPoster: !1,
738
738
  canFullscreen: !1,
739
- canOrientScreen: Bs(),
739
+ canOrientScreen: Gs(),
740
740
  canPictureInPicture: !1,
741
741
  canPlay: !1,
742
742
  clipStartTime: 0,
743
743
  clipEndTime: 0,
744
744
  controls: !1,
745
745
  get iOSControls() {
746
- return Hs && this.mediaType === "video" && (!this.playsInline || !kt.fullscreenEnabled && this.fullscreen);
746
+ return Fs && this.mediaType === "video" && (!this.playsInline || !kt.fullscreenEnabled && this.fullscreen);
747
747
  },
748
748
  get nativeControls() {
749
749
  return this.controls || this.iOSControls;
@@ -900,7 +900,7 @@ const Js = new gt({
900
900
  liveSyncPosition: null,
901
901
  inferredLiveDVRWindow: 0,
902
902
  savedState: null
903
- }), Zs = /* @__PURE__ */ new Set([
903
+ }), ti = /* @__PURE__ */ new Set([
904
904
  "autoPlayError",
905
905
  "autoPlaying",
906
906
  "buffered",
@@ -913,7 +913,7 @@ const Js = new gt({
913
913
  "seeking",
914
914
  "waiting"
915
915
  ]), Wa = /* @__PURE__ */ new Set([
916
- ...Zs,
916
+ ...ti,
917
917
  "ended",
918
918
  "inferredPoster",
919
919
  "inferredStreamType",
@@ -927,10 +927,10 @@ const Js = new gt({
927
927
  "userBehindLiveEdge"
928
928
  ]);
929
929
  function vs(a, t = !1) {
930
- const e = t ? Zs : Wa;
931
- Js.reset(a, (s) => e.has(s)), rt();
930
+ const e = t ? ti : Wa;
931
+ Zs.reset(a, (s) => e.has(s)), rt();
932
932
  }
933
- function ti(a, t) {
933
+ function ei(a, t) {
934
934
  const e = a + t.clipStartTime(), s = Math.floor(a) === Math.floor(t.seekableStart()), i = Math.floor(e) === Math.floor(t.seekableEnd());
935
935
  return s ? t.seekableStart() : i ? t.seekableEnd() : t.isLiveDVR() && t.liveDVRWindow() > 0 && e < t.seekableEnd() - t.liveDVRWindow() ? t.bufferedStart() : Math.min(Math.max(t.seekableStart() + 0.1, e), t.seekableEnd() - 0.1);
936
936
  }
@@ -1429,7 +1429,7 @@ class ja {
1429
1429
  }
1430
1430
  }
1431
1431
  const Ft = /* @__PURE__ */ Symbol(0);
1432
- class ei extends Xs {
1432
+ class si extends Js {
1433
1433
  get selected() {
1434
1434
  return this.items.find((t) => t.selected) ?? null;
1435
1435
  }
@@ -1437,22 +1437,22 @@ class ei extends Xs {
1437
1437
  return this.items.findIndex((t) => t.selected);
1438
1438
  }
1439
1439
  /** @internal */
1440
- [x.onRemove](t, e) {
1441
- this[x.select](t, !1, e);
1440
+ [C.onRemove](t, e) {
1441
+ this[C.select](t, !1, e);
1442
1442
  }
1443
1443
  /** @internal */
1444
- [x.add](t, e) {
1444
+ [C.add](t, e) {
1445
1445
  t[Ft] = !1, Object.defineProperty(t, "selected", {
1446
1446
  get() {
1447
1447
  return this[Ft];
1448
1448
  },
1449
1449
  set: (s) => {
1450
- this.readonly || (this[x.onUserSelect]?.(), this[x.select](t, s));
1450
+ this.readonly || (this[C.onUserSelect]?.(), this[C.select](t, s));
1451
1451
  }
1452
- }), super[x.add](t, e);
1452
+ }), super[C.add](t, e);
1453
1453
  }
1454
1454
  /** @internal */
1455
- [x.select](t, e, s) {
1455
+ [C.select](t, e, s) {
1456
1456
  if (e === t?.[Ft]) return;
1457
1457
  const i = this.selected;
1458
1458
  t && (t[Ft] = e), (e ? i !== t : i === t) && (i && (i[Ft] = !1), this.dispatchEvent(
@@ -1466,7 +1466,7 @@ class ei extends Xs {
1466
1466
  ));
1467
1467
  }
1468
1468
  }
1469
- class Ya extends ei {
1469
+ class Ya extends si {
1470
1470
  }
1471
1471
  class Xa {
1472
1472
  priority = 0;
@@ -1535,7 +1535,7 @@ class Ja {
1535
1535
  constructor(t) {
1536
1536
  this.#i = t;
1537
1537
  const e = t.textTracks;
1538
- this.#e = e, l(this.#o.bind(this)), P(this.#p.bind(this)), new M(e).add("add", this.#c.bind(this)).add("remove", this.#u.bind(this)).add("mode-change", this.#d.bind(this));
1538
+ this.#e = e, l(this.#o.bind(this)), x(this.#p.bind(this)), new M(e).add("add", this.#c.bind(this)).add("remove", this.#u.bind(this)).add("mode-change", this.#d.bind(this));
1539
1539
  }
1540
1540
  #o() {
1541
1541
  const { nativeControls: t } = this.#i.$state;
@@ -1586,7 +1586,7 @@ class Ja {
1586
1586
  this.#n?.detach(), this.#n = null, this.#r?.detach(), this.#r = null;
1587
1587
  }
1588
1588
  }
1589
- class Za extends Xs {
1589
+ class Za extends Js {
1590
1590
  #t = !1;
1591
1591
  #e = {};
1592
1592
  #s = null;
@@ -1611,11 +1611,11 @@ class Za extends Xs {
1611
1611
  }
1612
1612
  add(t, e) {
1613
1613
  const s = t instanceof pe, i = s ? t : new pe(t), n = t.kind === "captions" || t.kind === "subtitles" ? "captions" : t.kind;
1614
- return this.#e[n] && t.default && delete t.default, i.addEventListener("mode-change", this.#r), this[x.add](i, e), i[k.crossOrigin] = this[k.crossOrigin], this.#t && i[k.canLoad](), t.default && (this.#e[n] = i), this.#a(), this;
1614
+ return this.#e[n] && t.default && delete t.default, i.addEventListener("mode-change", this.#r), this[C.add](i, e), i[k.crossOrigin] = this[k.crossOrigin], this.#t && i[k.canLoad](), t.default && (this.#e[n] = i), this.#a(), this;
1615
1615
  }
1616
1616
  remove(t, e) {
1617
1617
  if (this.#n = t, !!this.items.includes(t))
1618
- return t === this.#e[t.kind] && delete this.#e[t.kind], t.mode = "disabled", t[k.onModeChange] = null, t.removeEventListener("mode-change", this.#r), this[x.remove](t, e), this.#n = null, this;
1618
+ return t === this.#e[t.kind] && delete this.#e[t.kind], t.mode = "disabled", t[k.onModeChange] = null, t.removeEventListener("mode-change", this.#r), this[C.remove](t, e), this.#n = null, this;
1619
1619
  }
1620
1620
  clear(t) {
1621
1621
  for (const e of [...this.items])
@@ -1675,7 +1675,7 @@ class Za extends Xs {
1675
1675
  this.#s = t;
1676
1676
  }
1677
1677
  }
1678
- class tn extends ei {
1678
+ class tn extends si {
1679
1679
  #t = !1;
1680
1680
  /**
1681
1681
  * Configures quality switching:
@@ -1702,11 +1702,11 @@ class tn extends ei {
1702
1702
  /** @internal */
1703
1703
  [X.enableAuto];
1704
1704
  /** @internal */
1705
- [x.onUserSelect]() {
1705
+ [C.onUserSelect]() {
1706
1706
  this[X.setAuto](!1);
1707
1707
  }
1708
1708
  /** @internal */
1709
- [x.onReset](t) {
1709
+ [C.onReset](t) {
1710
1710
  this[X.enableAuto] = void 0, this[X.setAuto](!1, t);
1711
1711
  }
1712
1712
  /**
@@ -1798,7 +1798,7 @@ class on extends Ct {
1798
1798
  #i(t) {
1799
1799
  if (!t.key || Gt.has(t.key)) return;
1800
1800
  const e = document.activeElement;
1801
- if (e?.matches($s) || Ns(t) && e?.matches(rn))
1801
+ if (e?.matches($s) || Hs(t) && e?.matches(rn))
1802
1802
  return;
1803
1803
  let { method: s, value: i } = this.#n(t), n = !t.metaKey && /^[0-9]$/.test(t.key);
1804
1804
  if (!S(i) && !B(i) && !n) {
@@ -2038,7 +2038,7 @@ class cn extends Ct {
2038
2038
  }
2039
2039
  #y(t) {
2040
2040
  // @ts-expect-error
2041
- t.MEDIA_GESTURE || this.#e || Qe(t) || (Gs(t) && (t.key === "Escape" ? (this.el?.focus(), this.#a = null) : this.#a && (t.preventDefault(), requestAnimationFrame(() => {
2041
+ t.MEDIA_GESTURE || this.#e || Qe(t) || (Us(t) && (t.key === "Escape" ? (this.el?.focus(), this.#a = null) : this.#a && (t.preventDefault(), requestAnimationFrame(() => {
2042
2042
  this.#a?.focus(), this.#a = null;
2043
2043
  }))), this.show(0, t), this.hide(this.defaultDelay, t));
2044
2044
  }
@@ -2070,7 +2070,7 @@ class un {
2070
2070
  return "audio";
2071
2071
  }
2072
2072
  async load(t) {
2073
- return new (await import("./vidstack-audio-V8ei4YHL.js")).AudioProvider(this.target, t);
2073
+ return new (await import("./vidstack-audio-CAtkbhyu.js")).AudioProvider(this.target, t);
2074
2074
  }
2075
2075
  }
2076
2076
  class je {
@@ -2083,17 +2083,17 @@ class je {
2083
2083
  return "video";
2084
2084
  }
2085
2085
  async load(t) {
2086
- return new (await import("./vidstack-video-UzvbjM18.js")).VideoProvider(this.target, t);
2086
+ return new (await import("./vidstack-video-C4Nn4Tci.js")).VideoProvider(this.target, t);
2087
2087
  }
2088
2088
  }
2089
2089
  class Ye extends je {
2090
- static supported = Fs();
2090
+ static supported = Bs();
2091
2091
  name = "hls";
2092
2092
  canPlay(t) {
2093
2093
  return Ye.supported && Ge(t);
2094
2094
  }
2095
2095
  async load(t) {
2096
- return new (await import("./vidstack-hls-BIxWa2ki.js")).HLSProvider(this.target, t);
2096
+ return new (await import("./vidstack-hls-BLwPZsJT.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-C9FtEc7w.js")).DASHProvider(this.target, t);
2106
+ return new (await import("./vidstack-dash-_VUyXBlM.js")).DASHProvider(this.target, t);
2107
2107
  }
2108
2108
  }
2109
2109
  class pn {
@@ -2125,7 +2125,7 @@ class pn {
2125
2125
  return "video";
2126
2126
  }
2127
2127
  async load(t) {
2128
- return new (await import("./vidstack-vimeo-DGp4i2tb.js")).VimeoProvider(this.target, t);
2128
+ return new (await import("./vidstack-vimeo-BM6Grb7n.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");
@@ -2157,7 +2157,7 @@ class mn {
2157
2157
  return "video";
2158
2158
  }
2159
2159
  async load(t) {
2160
- return new (await import("./vidstack-youtube-CWC3DhCZ.js")).YouTubeProvider(this.target, t);
2160
+ return new (await import("./vidstack-youtube-DKIF9ZLF.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);
@@ -2250,7 +2250,7 @@ class ws extends Ct {
2250
2250
  let s, i = new IntersectionObserver((n) => {
2251
2251
  this.scope && n[0].isIntersecting && (s?.(), s = void 0, this.#e());
2252
2252
  });
2253
- i.observe(t), s = P(() => i.disconnect());
2253
+ i.observe(t), s = x(() => i.disconnect());
2254
2254
  }
2255
2255
  }
2256
2256
  }
@@ -2280,23 +2280,23 @@ class yn {
2280
2280
  remotePlaybackInfo: c,
2281
2281
  playsInline: u,
2282
2282
  savedState: m,
2283
- source: g
2283
+ source: f
2284
2284
  } = this.#e.$state;
2285
2285
  if (n()) return;
2286
- const C = {
2286
+ const P = {
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", C, e), rt();
2293
- let I = this.#e.$provider(), { storage: et, qualities: os } = this.#e, { muted: Ci, volume: Ei, clipStartTime: Ai, playbackRate: Mi } = this.#e.$props;
2294
- await et?.onLoad?.(g());
2295
- const Li = m()?.currentTime, hs = m()?.paused, Pe = await et?.getTime(), ls = Li ?? Pe ?? Ai(), qi = hs === !1 || hs !== !0 && !r() && i();
2292
+ this.notify("can-play", P, e), rt();
2293
+ let I = this.#e.$provider(), { storage: et, qualities: os } = this.#e, { muted: Ei, volume: Ai, clipStartTime: Mi, playbackRate: Li } = this.#e.$props;
2294
+ await et?.onLoad?.(f());
2295
+ const qi = m()?.currentTime, hs = m()?.paused, Pe = await et?.getTime(), ls = qi ?? Pe ?? Mi(), _i = hs === !1 || hs !== !0 && !r() && i();
2296
2296
  if (I) {
2297
- I.setVolume(await et?.getVolume() ?? Ei()), I.setMuted(Ci() || !!await et?.getMuted());
2297
+ I.setVolume(await et?.getVolume() ?? Ai()), I.setMuted(Ei() || !!await et?.getMuted());
2298
2298
  const Mt = await et?.getAudioGain() ?? 1;
2299
- Mt > 1 && I.audioGain?.setGain?.(Mt), I.setPlaybackRate?.(await et?.getPlaybackRate() ?? Mi()), I.setPlaysInline?.(u()), ls > 0 && I.setCurrentTime(ls);
2299
+ Mt > 1 && I.audioGain?.setGain?.(Mt), I.setPlaybackRate?.(await et?.getPlaybackRate() ?? Li()), I.setPlaysInline?.(u()), ls > 0 && I.setCurrentTime(ls);
2300
2300
  }
2301
2301
  const Nt = await et?.getVideoQuality();
2302
2302
  if (Nt && os.length) {
@@ -2307,7 +2307,7 @@ class yn {
2307
2307
  }
2308
2308
  Mt && (Mt.selected = !0);
2309
2309
  }
2310
- n() && qi ? await this.#s(e) : Pe && Pe > 0 && this.notify("started", void 0, e), c.set(null);
2310
+ n() && _i ? await this.#s(e) : Pe && Pe > 0 && this.notify("started", void 0, e), c.set(null);
2311
2311
  });
2312
2312
  }
2313
2313
  async #s(t) {
@@ -2358,7 +2358,7 @@ class bn {
2358
2358
  this.#t.clear();
2359
2359
  }
2360
2360
  }
2361
- class si {
2361
+ class ii {
2362
2362
  #t = !1;
2363
2363
  #e = Ve();
2364
2364
  #s = /* @__PURE__ */ new Map();
@@ -2437,7 +2437,7 @@ class vn extends Ct {
2437
2437
  #i;
2438
2438
  #a;
2439
2439
  #n;
2440
- #r = new si();
2440
+ #r = new ii();
2441
2441
  constructor(t, e, s) {
2442
2442
  super(), this.#t = t, this.#e = e, this.#s = s, this.#n = s.$provider, this.controls = new cn(), this.#i = new Qa(), this.#a = new $e();
2443
2443
  }
@@ -2625,7 +2625,7 @@ class vn extends Ct {
2625
2625
  throw i.code = "CAST_NOT_AVAILABLE", i;
2626
2626
  }
2627
2627
  if (te("https://www.gstatic.com"), !this.#v) {
2628
- const i = await import("./vidstack-D2pY00kU-FFqybhBe.js").then((n) => n.v);
2628
+ const i = await import("./vidstack-D2pY00kU--9OviSIY.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);
@@ -2815,7 +2815,7 @@ class vn extends Ct {
2815
2815
  s() && (this.#e.replaying = !0);
2816
2816
  const h = t.type;
2817
2817
  this.#e.seeking = !1, this.#e.queue.delete(h);
2818
- const d = ti(o, this.$state);
2818
+ const d = ei(o, this.$state);
2819
2819
  !Number.isFinite(d) || !e() || (this.#e.queue.enqueue(h, t), this.#n().setCurrentTime(d), i() && t.isOriginTrusted && Math.abs(n() - d) >= 2 && r.set(!0));
2820
2820
  }
2821
2821
  "media-seeking-request"(t) {
@@ -2919,11 +2919,11 @@ class kn extends Ct {
2919
2919
  t.setAttribute("aria-busy", "true"), new M(this).add("fullscreen-change", this["fullscreen-change"].bind(this)).add("fullscreen-error", this["fullscreen-error"].bind(this)).add("orientation-change", this["orientation-change"].bind(this));
2920
2920
  }
2921
2921
  onConnect(t) {
2922
- l(this.#E.bind(this)), this.#p(), this.#m(), this.#y(), this.#l(), P(this.#c.bind(this));
2922
+ l(this.#E.bind(this)), this.#p(), this.#m(), this.#y(), this.#l(), x(this.#c.bind(this));
2923
2923
  }
2924
2924
  onDestroy() {
2925
2925
  const { audioTracks: t, qualities: e, textTracks: s } = this.#e;
2926
- t[x.reset](), e[x.reset](), s[x.reset](), this.#S();
2926
+ t[C.reset](), e[C.reset](), s[C.reset](), this.#S();
2927
2927
  }
2928
2928
  handle(t) {
2929
2929
  if (!this.scope) return;
@@ -3016,7 +3016,7 @@ class kn extends Ct {
3016
3016
  const d = Math.abs(h.width - i) + Math.abs(h.height - n);
3017
3017
  d < o && (o = d, r = h);
3018
3018
  }
3019
- r && t[x.select](
3019
+ r && t[C.select](
3020
3020
  r,
3021
3021
  !0,
3022
3022
  new L("resize", { detail: { width: i, height: n } })
@@ -3101,10 +3101,10 @@ class kn extends Ct {
3101
3101
  if (!Ne(o)) continue;
3102
3102
  if (!e.some((d) => d.src === o.src)) {
3103
3103
  const d = i.getBySrc(o.src);
3104
- d && (i[x.remove](d, s), r = !0);
3104
+ d && (i[C.remove](d, s), r = !0);
3105
3105
  }
3106
3106
  }
3107
- r && !i.length && (this.$state.savedState.set(null), i[x.reset](s));
3107
+ r && !i.length && (this.$state.savedState.set(null), i[C.reset](s));
3108
3108
  for (const o of e) {
3109
3109
  if (!Ne(o) || i.getBySrc(o.src)) continue;
3110
3110
  const h = {
@@ -3114,7 +3114,7 @@ class kn extends Ct {
3114
3114
  ...o,
3115
3115
  selected: !1
3116
3116
  };
3117
- i[x.add](h, s), n = !0;
3117
+ i[C.add](h, s), n = !0;
3118
3118
  }
3119
3119
  n && !i[X.enableAuto] && (this.#k(), i[X.enableAuto] = this.#k.bind(this), i[X.setAuto](!0, s));
3120
3120
  }
@@ -3126,7 +3126,7 @@ class kn extends Ct {
3126
3126
  #C(t, e = !1) {
3127
3127
  const { audioTracks: s, qualities: i } = this.#e;
3128
3128
  if (!e) {
3129
- this.#a = [], this.#n = [-1, -1], s[x.reset](t), i[x.reset](t), vs(this.$state, e), this.#u();
3129
+ this.#a = [], this.#n = [-1, -1], s[C.reset](t), i[C.reset](t), vs(this.$state, e), this.#u();
3130
3130
  return;
3131
3131
  }
3132
3132
  vs(this.$state, e), this.#u();
@@ -3248,8 +3248,8 @@ class kn extends Ct {
3248
3248
  return;
3249
3249
  }
3250
3250
  if (r() && !d() && c() === 0) {
3251
- const g = o() ?? h() - 2;
3252
- Number.isFinite(g) && this.#e.$provider().setCurrentTime(g);
3251
+ const f = o() ?? h() - 2;
3252
+ Number.isFinite(f) && this.#e.$provider().setCurrentTime(f);
3253
3253
  }
3254
3254
  this.started(t);
3255
3255
  }
@@ -3516,7 +3516,7 @@ class Pn extends Ct {
3516
3516
  const t = this.#i.bind(this);
3517
3517
  for (const e of ks)
3518
3518
  navigator.mediaSession.setActionHandler(e, t);
3519
- P(this.#t.bind(this));
3519
+ x(this.#t.bind(this));
3520
3520
  }
3521
3521
  #t() {
3522
3522
  for (const t of ks)
@@ -3556,11 +3556,11 @@ class Pn extends Ct {
3556
3556
  }
3557
3557
  class Lt extends b {
3558
3558
  static props = gn;
3559
- static state = Js;
3559
+ static state = Zs;
3560
3560
  #t;
3561
3561
  #e;
3562
3562
  #s;
3563
- canPlayQueue = new si();
3563
+ canPlayQueue = new ii();
3564
3564
  remoteControl;
3565
3565
  get #i() {
3566
3566
  return this.#t.$provider();
@@ -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, j(Us, t), this.orientation = new $e(), new Z(), new on(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(Ks, 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
  }
@@ -3593,7 +3593,7 @@ class Lt extends b {
3593
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
- Hs && f(t, "data-iphone", "");
3596
+ Fs && g(t, "data-iphone", "");
3597
3597
  const e = window.matchMedia("(pointer: coarse)");
3598
3598
  this.#d(e), e.onchange = this.#d.bind(this);
3599
3599
  const s = new ResizeObserver(Vt(this.#u.bind(this)));
@@ -3601,7 +3601,7 @@ class Lt extends b {
3601
3601
  detail: this,
3602
3602
  bubbles: !0,
3603
3603
  composed: !0
3604
- }), P(() => {
3604
+ }), x(() => {
3605
3605
  s.disconnect(), e.onchange = null;
3606
3606
  });
3607
3607
  }
@@ -3611,7 +3611,7 @@ class Lt extends b {
3611
3611
  #n = !1;
3612
3612
  #r() {
3613
3613
  const t = this.$el, { title: e, live: s, viewType: i, providedTitle: n } = this.$state, r = s(), o = Bi(i()), h = o !== "Unknown" ? `${r ? "Live " : ""}${o}` : r ? "Live" : "Media", d = e();
3614
- f(
3614
+ g(
3615
3615
  this.el,
3616
3616
  "aria-label",
3617
3617
  `${h} Player` + (d ? ` - ${d}` : "")
@@ -3619,7 +3619,7 @@ class Lt extends b {
3619
3619
  }
3620
3620
  #o() {
3621
3621
  const t = this.orientation.landscape ? "landscape" : "portrait";
3622
- this.$state.orientation.set(t), f(this.el, "data-orientation", t), this.#u();
3622
+ this.$state.orientation.set(t), g(this.el, "data-orientation", t), this.#u();
3623
3623
  }
3624
3624
  #h() {
3625
3625
  this.$state.canPlay() && this.#i ? this.canPlayQueue.start() : this.canPlayQueue.stop();
@@ -3684,7 +3684,7 @@ class Lt extends b {
3684
3684
  }
3685
3685
  #d(t) {
3686
3686
  const e = t.matches ? "coarse" : "fine";
3687
- f(this.el, "data-pointer", e), this.$state.pointer.set(e), this.#u();
3687
+ g(this.el, "data-pointer", e), this.$state.pointer.set(e), this.#u();
3688
3688
  }
3689
3689
  /**
3690
3690
  * The current media provider.
@@ -3796,7 +3796,7 @@ class Lt extends b {
3796
3796
  const { currentTime: e } = this.$state;
3797
3797
  t !== p(e) && p(() => {
3798
3798
  if (!this.#i) return;
3799
- const s = ti(t, this.$state);
3799
+ const s = ei(t, this.$state);
3800
3800
  Number.isFinite(s) && this.#i.setCurrentTime(s);
3801
3801
  });
3802
3802
  });
@@ -3844,7 +3844,7 @@ class Lt extends b {
3844
3844
  const { source: s } = this.$state, i = S(t) ? t : this.el?.id, n = tt(this.#x.bind(this));
3845
3845
  l(() => e.onChange(s(), n(), i || void 0));
3846
3846
  }
3847
- this.#t.storage = e, this.#t.textTracks.setStorage(e), P(() => {
3847
+ this.#t.storage = e, this.#t.textTracks.setStorage(e), x(() => {
3848
3848
  e?.onDestroy?.(), this.#t.storage = null, this.#t.textTracks.setStorage(null);
3849
3849
  });
3850
3850
  }
@@ -3991,11 +3991,11 @@ _(A, "setAudioGain");
3991
3991
  function xn(a, t) {
3992
3992
  return fetch(a, t).then((e) => e.text()).then((e) => /type="static"/.test(e) ? "on-demand" : "live");
3993
3993
  }
3994
- function ii(a, t) {
3994
+ function ai(a, t) {
3995
3995
  return fetch(a, t).then((e) => e.text()).then((e) => {
3996
3996
  const s = Cn(e);
3997
3997
  if (s)
3998
- return ii(
3998
+ return ai(
3999
3999
  /^https?:/.test(s) ? s : new URL(s, a).href,
4000
4000
  t
4001
4001
  );
@@ -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(), C = e.$props.preferNativeHLS() ? [o, h, n, r, ...u, ...i] : [r, o, h, n, ...u, ...i];
4034
- return g ? [g, ...C] : C;
4033
+ const f = e.$state.remotePlaybackLoader(), P = e.$props.preferNativeHLS() ? [o, h, n, r, ...u, ...i] : [r, o, h, n, ...u, ...i];
4034
+ return f ? [f, ...P] : P;
4035
4035
  });
4036
4036
  const { $state: m } = e;
4037
4037
  m.sources.set(Ss(e.$props.src()));
4038
- for (const g of m.sources()) {
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;
4038
+ for (const f of m.sources()) {
4039
+ const P = this.#e().find((et) => et.canPlay(f));
4040
+ if (!P) continue;
4041
+ const I = P.mediaType(f);
4042
+ e.$state.source.set(f), e.$state.mediaType.set(I), e.$state.inferredViewType.set(I), this.#a.set(P), this.#t = !0;
4043
4043
  break;
4044
4044
  }
4045
4045
  }
@@ -4079,18 +4079,18 @@ 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((C) => C.canPlay(m));
4083
- if (g) {
4084
- s = m, i = g;
4082
+ const f = r.find((P) => P.canPlay(m));
4083
+ if (f) {
4084
+ s = m, i = f;
4085
4085
  break;
4086
4086
  }
4087
4087
  }
4088
4088
  if (Ne(s)) {
4089
- const m = c(), g = e.find((C) => C.src === m?.src);
4089
+ const m = c(), f = e.find((P) => P.src === m?.src);
4090
4090
  p(o) ? u.set({
4091
4091
  paused: p(h),
4092
4092
  currentTime: p(d)
4093
- }) : u.set(null), g && (s = g, n = new L("quality-change", {
4093
+ }) : u.set(null), f && (s = f, n = new L("quality-change", {
4094
4094
  detail: { quality: m }
4095
4095
  }));
4096
4096
  }
@@ -4118,7 +4118,7 @@ class An {
4118
4118
  if (!xs(t?.currentSrc, e)) {
4119
4119
  if (this.#i.$state.canLoad()) {
4120
4120
  const n = new AbortController();
4121
- return Ge(e) ? (i || !Fs()) && ii(e.src, {
4121
+ return Ge(e) ? (i || !Bs()) && ai(e.src, {
4122
4122
  credentials: Wt(s),
4123
4123
  signal: n.signal
4124
4124
  }).then((r) => {
@@ -4183,7 +4183,7 @@ class Mn {
4183
4183
  this.#s = t;
4184
4184
  }
4185
4185
  }
4186
- class ai extends b {
4186
+ class ni extends b {
4187
4187
  static props = {
4188
4188
  loaders: []
4189
4189
  };
@@ -4211,13 +4211,13 @@ class ai extends b {
4211
4211
  const e = new ResizeObserver(Vt(this.#h.bind(this)));
4212
4212
  e.observe(t);
4213
4213
  const s = new MutationObserver(this.#l.bind(this));
4214
- s.observe(t, { attributes: !0, childList: !0 }), this.#h(), this.#l(), P(() => {
4214
+ s.observe(t, { attributes: !0, childList: !0 }), this.#h(), this.#l(), x(() => {
4215
4215
  e.disconnect(), s.disconnect();
4216
4216
  });
4217
4217
  }
4218
4218
  #n = -1;
4219
4219
  load(t) {
4220
- t?.setAttribute("aria-hidden", "true"), window.cancelAnimationFrame(this.#n), this.#n = requestAnimationFrame(() => this.#r(t)), P(() => {
4220
+ t?.setAttribute("aria-hidden", "true"), window.cancelAnimationFrame(this.#n), this.#n = requestAnimationFrame(() => this.#r(t)), x(() => {
4221
4221
  window.cancelAnimationFrame(this.#n);
4222
4222
  });
4223
4223
  }
@@ -4272,9 +4272,9 @@ class ai extends b {
4272
4272
  this.#s.set(t), this.#i.set(e), rt();
4273
4273
  }
4274
4274
  }
4275
- const Ln = ai.prototype;
4275
+ const Ln = ni.prototype;
4276
4276
  _(Ln, "load");
4277
- function ni(a, t) {
4277
+ function ri(a, t) {
4278
4278
  return [...a].sort(t ? _n : qn);
4279
4279
  }
4280
4280
  function qn(a, t) {
@@ -4291,7 +4291,7 @@ class In extends J {
4291
4291
  onAttach(t) {
4292
4292
  const { $props: e, ariaKeys: s } = $(), i = t.getAttribute("aria-keyshortcuts");
4293
4293
  if (i) {
4294
- s[this.#t] = i, P(() => {
4294
+ s[this.#t] = i, x(() => {
4295
4295
  delete s[this.#t];
4296
4296
  });
4297
4297
  return;
@@ -4311,7 +4311,7 @@ function Me(a, t) {
4311
4311
  }
4312
4312
  return e;
4313
4313
  }
4314
- function ri(a) {
4314
+ function oi(a) {
4315
4315
  const t = Math.trunc(a / 3600), e = Math.trunc(a % 3600 / 60), s = Math.trunc(a % 60), i = Number((a - Math.trunc(a)).toPrecision(3));
4316
4316
  return {
4317
4317
  hours: t,
@@ -4321,14 +4321,14 @@ function ri(a) {
4321
4321
  };
4322
4322
  }
4323
4323
  function we(a, { padHrs: t = null, padMins: e = null, showHrs: s = !1, showMs: i = !1 } = {}) {
4324
- const { hours: n, minutes: r, seconds: o, fraction: h } = ri(a), d = t ? Me(n, 2) : n, c = e || nt(e) && a >= 3600 ? Me(r, 2) : r, u = Me(o, 2), m = i && h > 0 ? `.${String(h).replace(/^0?\./, "")}` : "", g = `${c}:${u}${m}`;
4325
- return n > 0 || s ? `${d}:${g}` : g;
4324
+ const { hours: n, minutes: r, seconds: o, fraction: h } = oi(a), d = t ? Me(n, 2) : n, c = e || nt(e) && a >= 3600 ? Me(r, 2) : r, u = Me(o, 2), m = i && h > 0 ? `.${String(h).replace(/^0?\./, "")}` : "", f = `${c}:${u}${m}`;
4325
+ return n > 0 || s ? `${d}:${f}` : f;
4326
4326
  }
4327
4327
  function fe(a) {
4328
- const t = [], { hours: e, minutes: s, seconds: i } = ri(a);
4328
+ const t = [], { hours: e, minutes: s, seconds: i } = oi(a);
4329
4329
  return e > 0 && t.push(`${e} hour`), s > 0 && t.push(`${s} min`), (i > 0 || t.length === 0) && t.push(`${i} sec`), t.join(" ");
4330
4330
  }
4331
- class oi extends J {
4331
+ class hi extends J {
4332
4332
  #t;
4333
4333
  constructor(t) {
4334
4334
  super(), this.#t = t, l(this.#e.bind(this));
@@ -4725,7 +4725,7 @@ function Cs(a, t, e) {
4725
4725
  const s = t - a, i = e - a;
4726
4726
  return s > 0 ? i / s : 0;
4727
4727
  }
4728
- class hi extends J {
4728
+ class li extends J {
4729
4729
  #t;
4730
4730
  #e;
4731
4731
  constructor(t) {
@@ -4734,7 +4734,7 @@ class hi extends J {
4734
4734
  onConnect(t) {
4735
4735
  this.#e = new IntersectionObserver((e) => {
4736
4736
  this.#t.callback?.(e, this.#e);
4737
- }, this.#t), this.#e.observe(t), P(this.#s.bind(this));
4737
+ }, this.#t), this.#e.observe(t), x(this.#s.bind(this));
4738
4738
  }
4739
4739
  /**
4740
4740
  * Disconnect any active intersection observers.
@@ -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, C = this.#f ? h() : this.#t.getValue?.() ?? o(), I = (C + g) / d;
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]), f = u * m, P = this.#f ? h() : this.#t.getValue?.() ?? o(), I = (P + f) / d;
4904
4904
  return Math.max(n(), Math.min(r(), Number((d * I).toFixed(3))));
4905
4905
  }
4906
4906
  // -------------------------------------------------------------------------------------------
@@ -4949,7 +4949,7 @@ class Y extends J {
4949
4949
  orientation: this.$props.orientation,
4950
4950
  disabled: this.#e.isDisabled,
4951
4951
  preview: w(null)
4952
- }), l(this.#r.bind(this)), l(this.#o.bind(this)), l(this.#h.bind(this)), this.#c(), new Kn(this.#e, this.#t).attach(this), new hi({
4952
+ }), l(this.#r.bind(this)), l(this.#o.bind(this)), l(this.#h.bind(this)), this.#c(), new Kn(this.#e, this.#t).attach(this), new li({
4953
4953
  callback: this.#a.bind(this)
4954
4954
  }).attach(this);
4955
4955
  }
@@ -4957,7 +4957,7 @@ class Y extends J {
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
- P(Qs(t, this.#s.set)), l(this.#n.bind(this));
4960
+ x(Ws(t, this.#s.set)), l(this.#n.bind(this));
4961
4961
  }
4962
4962
  #a(t) {
4963
4963
  this.#i.set(t[0].isIntersecting);
@@ -5312,14 +5312,14 @@ class Qn extends b {
5312
5312
  height: u
5313
5313
  } = getComputedStyle(this.el);
5314
5314
  h === "100%" && (h = parseFloat(c) + ""), d === "100%" && (d = parseFloat(u) + "");
5315
- let m = Math.max(parseInt(h) / i, parseInt(d) / n), g = Math.min(
5315
+ let m = Math.max(parseInt(h) / i, parseInt(d) / n), f = Math.min(
5316
5316
  Math.max(parseInt(h), parseInt(r)) / i,
5317
5317
  Math.max(parseInt(d), parseInt(o)) / n
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(
5318
+ ), P = !isNaN(f) && f < 1 ? f : m > 1 ? m : 1;
5319
+ this.#d(t, "--thumbnail-width", `${i * P}px`), this.#d(t, "--thumbnail-height", `${n * P}px`), this.#d(t, "--thumbnail-aspect-ratio", String(V(i / n, 5))), this.#d(e, "width", `${e.naturalWidth * P}px`), this.#d(e, "height", `${e.naturalHeight * P}px`), this.#d(
5320
5320
  e,
5321
5321
  "transform",
5322
- s.coords ? `translate(-${s.coords.x * C}px, -${s.coords.y * C}px)` : ""
5322
+ s.coords ? `translate(-${s.coords.x * P}px, -${s.coords.y * P}px)` : ""
5323
5323
  ), this.#d(e, "max-width", "none");
5324
5324
  }
5325
5325
  #d(t, e, s) {
@@ -5330,7 +5330,7 @@ class Qn extends b {
5330
5330
  this.#e = [];
5331
5331
  }
5332
5332
  }
5333
- class li extends b {
5333
+ class di extends b {
5334
5334
  static props = {
5335
5335
  type: "pointer",
5336
5336
  format: null,
@@ -5358,19 +5358,19 @@ class li extends b {
5358
5358
  padMinutes: n,
5359
5359
  showHours: r,
5360
5360
  showMs: o
5361
- } = this.$props, { value: h, pointerValue: d, min: c, max: u } = this.#s, m = e?.() ?? this.#t.default, g = t() === "current" ? h() : d();
5361
+ } = this.$props, { value: h, pointerValue: d, min: c, max: u } = this.#s, m = e?.() ?? this.#t.default, f = t() === "current" ? h() : d();
5362
5362
  if (m === "percent") {
5363
- const C = u() - c(), I = g / C * 100;
5363
+ const P = u() - c(), I = f / P * 100;
5364
5364
  return (this.#t.percent ?? V)(I, s()) + "%";
5365
- } else return m === "time" ? (this.#t.time ?? we)(g, {
5365
+ } else return m === "time" ? (this.#t.time ?? we)(f, {
5366
5366
  padHrs: i(),
5367
5367
  padMins: n(),
5368
5368
  showHrs: r(),
5369
5369
  showMs: o()
5370
- }) : (this.#t.value?.(g) ?? g.toFixed(2)) + "";
5370
+ }) : (this.#t.value?.(f) ?? f.toFixed(2)) + "";
5371
5371
  }
5372
5372
  }
5373
- const Wn = li.prototype;
5373
+ const Wn = di.prototype;
5374
5374
  _(Wn, "getValueText");
5375
5375
  class zn extends b {
5376
5376
  static props = {
@@ -5395,9 +5395,9 @@ class zn extends b {
5395
5395
  }
5396
5396
  onConnect(t) {
5397
5397
  const { preview: e } = this.#t;
5398
- e.set(t), P(() => e.set(null)), l(this.#e.bind(this));
5398
+ e.set(t), x(() => e.set(null)), l(this.#e.bind(this));
5399
5399
  const s = new ResizeObserver(this.#e.bind(this));
5400
- s.observe(t), P(() => s.disconnect());
5400
+ s.observe(t), x(() => s.disconnect());
5401
5401
  }
5402
5402
  #e = Vt(() => {
5403
5403
  const { disabled: t, orientation: e } = this.#t;
@@ -5514,7 +5514,7 @@ class Yn extends b {
5514
5514
  this.#r(t);
5515
5515
  }
5516
5516
  }
5517
- let di = class extends b {
5517
+ let ci = class extends b {
5518
5518
  static props = {
5519
5519
  ...Y.props,
5520
5520
  step: 0.1,
@@ -5586,7 +5586,7 @@ let di = class extends b {
5586
5586
  }
5587
5587
  #o() {
5588
5588
  const t = this.#t.player.el, { preview: e } = q(Je);
5589
- t && e() && f(t, "data-preview", this.$state.active());
5589
+ t && e() && g(t, "data-preview", this.$state.active());
5590
5590
  }
5591
5591
  #h(t, e) {
5592
5592
  this.#t.remote.seeking(t, e);
@@ -5720,12 +5720,12 @@ class er {
5720
5720
  this.#i = t;
5721
5721
  }
5722
5722
  attachMenu(t) {
5723
- O(t, "focus", this.#r.bind(this)), this.#e = t, P(() => {
5723
+ O(t, "focus", this.#r.bind(this)), this.#e = t, x(() => {
5724
5724
  this.#e = null;
5725
5725
  });
5726
5726
  }
5727
5727
  listen() {
5728
- this.#e && (this.update(), new M(this.#e).add("keyup", this.#h.bind(this)).add("keydown", this.#l.bind(this)), P(() => {
5728
+ this.#e && (this.update(), new M(this.#e).add("keyup", this.#h.bind(this)).add("keydown", this.#l.bind(this)), x(() => {
5729
5729
  this.#t = -1, this.#s = [];
5730
5730
  }));
5731
5731
  }
@@ -5806,7 +5806,7 @@ class er {
5806
5806
  const t = this.#e.querySelectorAll(Zn), e = [], s = (i) => i.getAttribute("role") === "menu";
5807
5807
  for (const i of t)
5808
5808
  St(i) && i.offsetParent !== null && // does not have display: none
5809
- Ws(this.#e, i, s) && e.push(i);
5809
+ zs(this.#e, i, s) && e.push(i);
5810
5810
  return e;
5811
5811
  }
5812
5812
  }
@@ -5847,7 +5847,7 @@ class Rt extends b {
5847
5847
  constructor() {
5848
5848
  super();
5849
5849
  const { showDelay: t } = this.$props;
5850
- this.#c = new oi({
5850
+ this.#c = new hi({
5851
5851
  trigger: this.#n,
5852
5852
  content: this.#r,
5853
5853
  showDelay: t,
@@ -5886,7 +5886,7 @@ class Rt extends b {
5886
5886
  disableMenuButton: this.#P.bind(this),
5887
5887
  addSubmenu: this.#I.bind(this),
5888
5888
  onTransitionEvent: (e) => {
5889
- this.#m.add(e), P(() => {
5889
+ this.#m.add(e), x(() => {
5890
5890
  this.#m.delete(e);
5891
5891
  });
5892
5892
  }
@@ -5923,15 +5923,15 @@ class Rt extends b {
5923
5923
  }
5924
5924
  #b(t) {
5925
5925
  const e = t.el, s = this.isSubmenu, i = N(this.#x.bind(this));
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
- f(e, "data-open", this.#i()), f(e, "aria-disabled", i());
5928
- }), this.#n.set(e), P(() => {
5926
+ E(e, "tabindex", s ? "-1" : "0"), E(e, "role", s ? "menuitem" : "button"), g(e, "id", this.#s), g(e, "aria-haspopup", "menu"), g(e, "aria-expanded", "false"), g(e, "data-root", !this.isSubmenu), g(e, "data-submenu", this.isSubmenu), l(() => {
5927
+ g(e, "data-open", this.#i()), g(e, "aria-disabled", i());
5928
+ }), this.#n.set(e), x(() => {
5929
5929
  this.#n.set(null);
5930
5930
  });
5931
5931
  }
5932
5932
  #$(t) {
5933
5933
  const e = t.el;
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);
5934
+ e.style.setProperty("display", "none"), g(e, "id", this.#e), E(e, "role", "menu"), E(e, "tabindex", "-1"), g(e, "data-root", !this.isSubmenu), g(e, "data-submenu", this.isSubmenu), this.#r.set(e), x(() => this.#r.set(null)), l(() => g(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,14 +5940,14 @@ class Rt extends b {
5940
5940
  }
5941
5941
  #v(t) {
5942
5942
  const e = p(this.#r);
5943
- e && f(e, "aria-hidden", ce(!t));
5943
+ e && g(e, "aria-hidden", ce(!t));
5944
5944
  }
5945
5945
  #P(t) {
5946
5946
  this.#p.set(t);
5947
5947
  }
5948
5948
  #f = !1;
5949
5949
  #T(t, e) {
5950
- if (this.#f = Gs(e), e?.stopPropagation(), this.#i() === t) return;
5950
+ if (this.#f = Us(e), e?.stopPropagation(), this.#i() === t) return;
5951
5951
  if (this.#x()) {
5952
5952
  t && this.#c.hide(e);
5953
5953
  return;
@@ -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", ce(t))), i && f(i, "aria-labelledby", t && this.#s), this.#i.set(t), this.#q(e), rt(), this.#f) {
5962
+ if (s && (g(s, "aria-controls", t && this.#e), g(s, "aria-expanded", ce(t))), i && g(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", "");
@@ -6001,13 +6001,13 @@ class Rt extends b {
6001
6001
  }
6002
6002
  #M() {
6003
6003
  const t = this.el?.querySelector('[data-part="close-target"]');
6004
- return this.el && t && Ws(this.el, t, (e) => e.getAttribute("role") === "menu") ? t : null;
6004
+ return this.el && t && zs(this.el, t, (e) => e.getAttribute("role") === "menu") ? t : null;
6005
6005
  }
6006
6006
  #q(t) {
6007
6007
  this.isSubmenu || (this.#i() ? this.#t.remote.pauseControls(t) : this.#t.remote.resumeControls(t));
6008
6008
  }
6009
6009
  #I(t) {
6010
- this.#h.add(t), new M(t).add("open", this.#R).add("close", this.#H), P(this.#_);
6010
+ this.#h.add(t), new M(t).add("open", this.#R).add("close", this.#H), x(this.#_);
6011
6011
  }
6012
6012
  #_ = this.#D.bind(this);
6013
6013
  #D(t) {
@@ -6053,7 +6053,7 @@ class Rt extends b {
6053
6053
  else if (n.nodeType === 3)
6054
6054
  e += parseFloat(getComputedStyle(n).fontSize);
6055
6055
  else if (St(n)) {
6056
- if (!Ks(n)) continue;
6056
+ if (!Qs(n)) continue;
6057
6057
  const r = getComputedStyle(n);
6058
6058
  e += n.offsetHeight + (parseFloat(r.marginTop) || 0) + (parseFloat(r.marginBottom) || 0);
6059
6059
  }
@@ -6062,7 +6062,7 @@ class Rt extends b {
6062
6062
  #N = !1;
6063
6063
  #B(t) {
6064
6064
  const e = this.#r();
6065
- e && t.propertyName === "height" && (this.#N = t.type === "transitionstart", f(e, "data-transition", this.#N ? "height" : null), this.#i() && this.#k());
6065
+ e && t.propertyName === "height" && (this.#N = t.type === "transitionstart", g(e, "data-transition", this.#N ? "height" : null), this.#i() && this.#k());
6066
6066
  for (const s of this.#m) s(t);
6067
6067
  }
6068
6068
  open(t) {
@@ -6108,7 +6108,7 @@ class ts extends b {
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()), pt(t, (s) => {
6111
+ e.observe(t, { attributeFilter: ["data-part"], childList: !0, subtree: !0 }), x(() => e.disconnect()), pt(t, (s) => {
6112
6112
  this.dispatch("select", { trigger: s });
6113
6113
  });
6114
6114
  }
@@ -6168,7 +6168,7 @@ class or extends b {
6168
6168
  let e = this.#n(this.$props.container());
6169
6169
  if (!e) return;
6170
6170
  const s = this.#t.parentElement === e;
6171
- f(this.#t, "data-portal", t), t ? s || (this.#t.remove(), e.append(this.#t)) : s && this.#t.parentElement === e && (this.#t.remove(), this.el?.append(this.#t));
6171
+ g(this.#t, "data-portal", t), t ? s || (this.#t.remove(), e.append(this.#t)) : s && this.#t.parentElement === e && (this.#t.remove(), this.el?.append(this.#t));
6172
6172
  }
6173
6173
  #n(t) {
6174
6174
  return St(t) ? t : t ? document.querySelector(t) : document.body;
@@ -6192,7 +6192,7 @@ class hr extends b {
6192
6192
  onAttach(t) {
6193
6193
  if (this.#t = q(D), this.#t.attachMenuItems(this), U(le)) {
6194
6194
  const e = q(le);
6195
- e && (j(le, null), e.attach(t), P(() => e.attach(null)));
6195
+ e && (j(le, null), e.attach(t), x(() => e.attach(null)));
6196
6196
  }
6197
6197
  }
6198
6198
  onConnect(t) {
@@ -6210,13 +6210,13 @@ class hr extends b {
6210
6210
  width: "max-content"
6211
6211
  });
6212
6212
  const { offset: s, alignOffset: i } = this.$props;
6213
- P(
6214
- Ys(this.el, this.#i(), e, {
6213
+ x(
6214
+ Xs(this.el, this.#i(), e, {
6215
6215
  offsetVarName: "media-menu",
6216
6216
  xOffset: i(),
6217
6217
  yOffset: s()
6218
6218
  })
6219
- ), P(this.#s.bind(this));
6219
+ ), x(this.#s.bind(this));
6220
6220
  }
6221
6221
  #s() {
6222
6222
  this.el && (this.el.removeAttribute("style"), this.el.style.display = "none");
@@ -6271,7 +6271,7 @@ class At extends J {
6271
6271
  return null;
6272
6272
  }
6273
6273
  }
6274
- class ci extends b {
6274
+ class ui extends b {
6275
6275
  static props = {
6276
6276
  value: ""
6277
6277
  };
@@ -6302,7 +6302,7 @@ class ci extends b {
6302
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(), pt(t, this.#n.bind(this)), P(this.#s.bind(this));
6305
+ this.#i(), pt(t, this.#n.bind(this)), x(this.#s.bind(this));
6306
6306
  }
6307
6307
  #s() {
6308
6308
  Zt(() => {
@@ -6329,9 +6329,9 @@ class ci extends b {
6329
6329
  this.dispatch("select", { trigger: t });
6330
6330
  }
6331
6331
  }
6332
- const lr = ci.prototype;
6332
+ const lr = ui.prototype;
6333
6333
  T(lr, "checked");
6334
- class ui extends b {
6334
+ class pi extends b {
6335
6335
  static props = {
6336
6336
  emptyLabel: "Default"
6337
6337
  };
@@ -6385,11 +6385,11 @@ class ui extends b {
6385
6385
  }
6386
6386
  }
6387
6387
  }
6388
- const es = ui.prototype;
6388
+ const es = pi.prototype;
6389
6389
  T(es, "value");
6390
6390
  T(es, "disabled");
6391
6391
  _(es, "getOptions");
6392
- class pi extends b {
6392
+ class mi extends b {
6393
6393
  static props = {
6394
6394
  offLabel: "Off"
6395
6395
  };
@@ -6459,12 +6459,12 @@ class pi extends b {
6459
6459
  return t.id + ":" + t.kind + "-" + t.label.toLowerCase();
6460
6460
  }
6461
6461
  }
6462
- const ss = pi.prototype;
6462
+ const ss = mi.prototype;
6463
6463
  T(ss, "value");
6464
6464
  T(ss, "disabled");
6465
6465
  _(ss, "getOptions");
6466
6466
  const dr = [0.25, 0.5, 0.75, 1, 1.25, 1.5, 1.75, 2];
6467
- class mi extends b {
6467
+ class fi extends b {
6468
6468
  static props = {
6469
6469
  normalLabel: "Normal",
6470
6470
  rates: dr
@@ -6515,11 +6515,11 @@ class mi extends b {
6515
6515
  this.#t.remote.changePlaybackRate(s, e), this.dispatch("change", { detail: s, trigger: e });
6516
6516
  }
6517
6517
  }
6518
- const is = mi.prototype;
6518
+ const is = fi.prototype;
6519
6519
  T(is, "value");
6520
6520
  T(is, "disabled");
6521
6521
  _(is, "getOptions");
6522
- class fi extends b {
6522
+ class gi extends b {
6523
6523
  static props = {
6524
6524
  autoLabel: "Auto",
6525
6525
  hideBitrate: !1,
@@ -6537,7 +6537,7 @@ class fi extends b {
6537
6537
  }
6538
6538
  #i = tt(() => {
6539
6539
  const { sort: t } = this.$props, { qualities: e } = this.#t.$state;
6540
- return ni(e(), t() === "descending");
6540
+ return ri(e(), t() === "descending");
6541
6541
  });
6542
6542
  constructor() {
6543
6543
  super(), this.#s = new At(), this.#s.onValueChange = this.#o.bind(this);
@@ -6597,7 +6597,7 @@ class fi extends b {
6597
6597
  return t.height + "_" + t.bitrate;
6598
6598
  }
6599
6599
  }
6600
- const as = fi.prototype;
6600
+ const as = gi.prototype;
6601
6601
  T(as, "value");
6602
6602
  T(as, "disabled");
6603
6603
  _(as, "getOptions");
@@ -6625,7 +6625,7 @@ class cr extends b {
6625
6625
  this.setAttributes({
6626
6626
  "data-type": t,
6627
6627
  "data-remainder": this.#c.bind(this)
6628
- }), new hi({
6628
+ }), new li({
6629
6629
  callback: this.#a.bind(this)
6630
6630
  }).attach(this);
6631
6631
  }
@@ -6633,7 +6633,7 @@ class cr extends b {
6633
6633
  t.hasAttribute("role") || l(this.#h.bind(this)), l(this.#o.bind(this));
6634
6634
  }
6635
6635
  onConnect(t) {
6636
- P(Qs(t, this.#s.set)), l(this.#n.bind(this)), l(this.#r.bind(this));
6636
+ x(Ws(t, this.#s.set)), l(this.#n.bind(this)), l(this.#r.bind(this));
6637
6637
  }
6638
6638
  #a(t) {
6639
6639
  this.#i.set(t[0].isIntersecting);
@@ -6667,7 +6667,7 @@ class cr extends b {
6667
6667
  #h() {
6668
6668
  if (!this.el) return;
6669
6669
  const { toggle: t } = this.$props;
6670
- f(this.el, "role", t() ? "timer" : null), f(this.el, "tabindex", t() ? 0 : null);
6670
+ g(this.el, "role", t() ? "timer" : null), g(this.el, "tabindex", t() ? 0 : null);
6671
6671
  }
6672
6672
  #l(t) {
6673
6673
  const { bufferedEnd: e, duration: s, currentTime: i } = this.#t.$state;
@@ -6763,7 +6763,7 @@ class ur extends b {
6763
6763
  const i = window.setTimeout(() => {
6764
6764
  e.set(!1);
6765
6765
  }, 150);
6766
- return this.el && f(this.el, "aria-label", s), S(s) && this.dispatch("change", { detail: s }), () => window.clearTimeout(i);
6766
+ return this.el && g(this.el, "aria-label", s), S(s) && this.dispatch("change", { detail: s }), () => window.clearTimeout(i);
6767
6767
  }
6768
6768
  #d(t) {
6769
6769
  const { label: e } = this.$state;
@@ -6796,7 +6796,7 @@ class pr extends b {
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), z(this.el, "display", e ? "none" : null);
6799
+ g(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;
@@ -6825,7 +6825,7 @@ class gr extends b {
6825
6825
  constructor() {
6826
6826
  super(), new Z();
6827
6827
  const { showDelay: t } = this.$props;
6828
- new oi({
6828
+ new hi({
6829
6829
  trigger: this.#e,
6830
6830
  content: this.#s,
6831
6831
  showDelay: t,
@@ -6854,7 +6854,7 @@ class gr extends b {
6854
6854
  #a(t) {
6855
6855
  this.#e.set(t);
6856
6856
  let e = t.getAttribute("data-media-tooltip");
6857
- e && this.el?.setAttribute(`data-media-${e}-tooltip`, ""), f(t, "data-describedby", this.#t);
6857
+ e && this.el?.setAttribute(`data-media-${e}-tooltip`, ""), g(t, "data-describedby", this.#t);
6858
6858
  }
6859
6859
  #n(t) {
6860
6860
  t.removeAttribute("data-describedby"), t.removeAttribute("aria-describedby"), this.#e.set(null);
@@ -6867,9 +6867,9 @@ class gr extends b {
6867
6867
  }
6868
6868
  #h(t) {
6869
6869
  const e = this.#e(), s = this.#s();
6870
- e && f(e, "aria-describedby", t ? this.#t : null);
6870
+ e && g(e, "aria-describedby", t ? this.#t : null);
6871
6871
  for (const i of [this.el, e, s])
6872
- i && f(i, "data-visible", t);
6872
+ i && g(i, "data-visible", t);
6873
6873
  this.#i.set(t);
6874
6874
  }
6875
6875
  }
@@ -6878,12 +6878,12 @@ class yr extends b {
6878
6878
  super(), new Z();
6879
6879
  }
6880
6880
  onConnect(t) {
6881
- P(
6881
+ x(
6882
6882
  ht(() => {
6883
6883
  if (!this.connectScope) return;
6884
6884
  this.#t();
6885
6885
  const e = q(wt);
6886
- P(() => {
6886
+ x(() => {
6887
6887
  const s = this.#e();
6888
6888
  s && e.detachTrigger(s);
6889
6889
  });
@@ -6923,7 +6923,7 @@ class br extends b {
6923
6923
  onConnect(t) {
6924
6924
  this.#t(t);
6925
6925
  const e = q(wt);
6926
- P(() => e.detachContent(t)), P(
6926
+ x(() => e.detachContent(t)), x(
6927
6927
  ht(() => {
6928
6928
  this.connectScope && l(this.#e.bind(this));
6929
6929
  })
@@ -6936,7 +6936,7 @@ class br extends b {
6936
6936
  const { showing: t } = q(wt);
6937
6937
  if (!t()) return;
6938
6938
  const { placement: e, offset: s, alignOffset: i } = this.$props;
6939
- return Ys(this.el, this.#s(), e(), {
6939
+ return Xs(this.el, this.#s(), e(), {
6940
6940
  offsetVarName: "media-tooltip",
6941
6941
  xOffset: i(),
6942
6942
  yOffset: s()
@@ -6946,7 +6946,7 @@ class br extends b {
6946
6946
  return q(wt).trigger();
6947
6947
  }
6948
6948
  }
6949
- class gi extends b {
6949
+ class yi extends b {
6950
6950
  static props = {
6951
6951
  disabled: !1,
6952
6952
  defaultPressed: !1
@@ -6964,7 +6964,7 @@ class gi extends b {
6964
6964
  });
6965
6965
  }
6966
6966
  }
6967
- const vr = gi.prototype;
6967
+ const vr = yi.prototype;
6968
6968
  T(vr, "pressed");
6969
6969
  class $r extends b {
6970
6970
  static props = F.props;
@@ -7004,7 +7004,7 @@ class $r extends b {
7004
7004
  return `Google Cast ${t()}`;
7005
7005
  }
7006
7006
  }
7007
- class yi extends b {
7007
+ class bi extends b {
7008
7008
  static props = {
7009
7009
  src: null,
7010
7010
  crossOrigin: null
@@ -7074,7 +7074,7 @@ class yi extends b {
7074
7074
  e() && n && Number.isFinite(s()) && Number.isFinite(i()) && (n.currentTime = i() * s());
7075
7075
  }
7076
7076
  }
7077
- const wr = yi.prototype;
7077
+ const wr = bi.prototype;
7078
7078
  T(wr, "video");
7079
7079
  class Tr extends b {
7080
7080
  static props = {
@@ -7224,7 +7224,7 @@ class Sr extends b {
7224
7224
  #t;
7225
7225
  #e = tt(() => {
7226
7226
  const { qualities: t } = this.#t.$state;
7227
- return ni(t());
7227
+ return ri(t());
7228
7228
  });
7229
7229
  onSetup() {
7230
7230
  this.#t = $(), new Y({
@@ -7283,7 +7283,7 @@ class Sr extends b {
7283
7283
  this.#o(t);
7284
7284
  }
7285
7285
  }
7286
- class bi extends b {
7286
+ class vi extends b {
7287
7287
  static props = {
7288
7288
  disabled: !1
7289
7289
  };
@@ -7307,13 +7307,13 @@ class bi extends b {
7307
7307
  return this.#r()[this.#h()] || null;
7308
7308
  }
7309
7309
  onSetup() {
7310
- this.#t = $(), this.#e = Dt(di.state);
7310
+ this.#t = $(), this.#e = Dt(ci.state);
7311
7311
  }
7312
7312
  onAttach(t) {
7313
7313
  ve(this.#t.textTracks, "chapters", this.#c.bind(this)), l(this.#E.bind(this));
7314
7314
  }
7315
7315
  onConnect() {
7316
- P(() => this.#u.bind(this));
7316
+ x(() => this.#u.bind(this));
7317
7317
  }
7318
7318
  onDestroy() {
7319
7319
  this.#c(null);
@@ -7374,7 +7374,7 @@ class bi extends b {
7374
7374
  for (let i = t; i < e; i++) this.#$(this.#a[i], s);
7375
7375
  }
7376
7376
  #$(t, e) {
7377
- t && (t.style.setProperty("--chapter-fill", e + "%"), f(t, "data-active", e > 0 && e < 100), f(t, "data-ended", e === 100));
7377
+ t && (t.style.setProperty("--chapter-fill", e + "%"), g(t, "data-active", e > 0 && e < 100), g(t, "data-ended", e === 100));
7378
7378
  }
7379
7379
  #w(t, e) {
7380
7380
  let s = 0, i = this.#r();
@@ -7424,8 +7424,8 @@ class bi extends b {
7424
7424
  for (let c = 0; c < t.length - 1; c++) {
7425
7425
  const u = t[c], m = t[c + 1];
7426
7426
  if (e.push(u), m) {
7427
- const g = m.startTime - u.endTime;
7428
- g > 0 && e.push(new window.VTTCue(u.endTime, u.endTime + g, ""));
7427
+ const f = m.startTime - u.endTime;
7428
+ f > 0 && e.push(new window.VTTCue(u.endTime, u.endTime + f, ""));
7429
7429
  }
7430
7430
  }
7431
7431
  const d = t[t.length - 1];
@@ -7482,12 +7482,12 @@ class bi extends b {
7482
7482
  return t ? t.querySelector('[data-part="chapter-title"]') : null;
7483
7483
  }
7484
7484
  }
7485
- const Te = bi.prototype;
7485
+ const Te = vi.prototype;
7486
7486
  T(Te, "cues");
7487
7487
  T(Te, "activeCue");
7488
7488
  T(Te, "activePointerCue");
7489
7489
  _(Te, "setRefs");
7490
- class vi extends b {
7490
+ class $i extends b {
7491
7491
  static props = {
7492
7492
  value: ""
7493
7493
  };
@@ -7521,9 +7521,9 @@ class vi extends b {
7521
7521
  this.dispatch(s);
7522
7522
  }
7523
7523
  }
7524
- const $i = vi.prototype;
7525
- T($i, "values");
7526
- T($i, "value");
7524
+ const wi = $i.prototype;
7525
+ T(wi, "values");
7526
+ T(wi, "value");
7527
7527
  var Pr = Object.defineProperty, xr = Object.getOwnPropertyDescriptor, ns = (a, t, e, s) => {
7528
7528
  for (var i = xr(t, e), n = a.length - 1, r; n >= 0; n--)
7529
7529
  (r = a[n]) && (i = r(t, e, i) || i);
@@ -7600,8 +7600,8 @@ class ke extends b {
7600
7600
  const { realCurrentTime: e, seekableStart: s, seekableEnd: i } = this.#t.$state, n = s(), r = i(), o = e(), h = this.#a().findIndex((d) => De(d, o));
7601
7601
  this.#s.value = h.toString(), h >= 0 && ht(() => {
7602
7602
  if (!this.connectScope) return;
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 && z(c, "--progress", V(g, 3) + "%");
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, f = Math.max(0, o - u) / m * 100;
7604
+ c && z(c, "--progress", V(f, 3) + "%");
7605
7605
  });
7606
7606
  }
7607
7607
  #l() {
@@ -7623,7 +7623,7 @@ ns([
7623
7623
  _
7624
7624
  ], ke.prototype, "getOptions");
7625
7625
  const Cr = [1, 1.25, 1.5, 1.75, 2, 2.5, 3, 4];
7626
- class wi extends b {
7626
+ class Ti extends b {
7627
7627
  static props = {
7628
7628
  normalLabel: "Disabled",
7629
7629
  gains: Cr
@@ -7674,7 +7674,7 @@ class wi extends b {
7674
7674
  this.#t.remote.changeAudioGain(s, e), this.dispatch("change", { detail: s, trigger: e });
7675
7675
  }
7676
7676
  }
7677
- const rs = wi.prototype;
7677
+ const rs = Ti.prototype;
7678
7678
  T(rs, "value");
7679
7679
  T(rs, "disabled");
7680
7680
  _(rs, "getOptions");
@@ -7878,9 +7878,9 @@ class dt extends b {
7878
7878
  }
7879
7879
  #d() {
7880
7880
  const t = this.#g();
7881
- f(t, "data-example", "");
7881
+ g(t, "data-example", "");
7882
7882
  const e = this.#b();
7883
- f(e, "data-example", ""), e.textContent = this.$props.exampleText(), t?.append(e), this.el?.append(t), this.el?.setAttribute("data-example", ""), this.#m();
7883
+ g(e, "data-example", ""), e.textContent = this.$props.exampleText(), t?.append(e), this.el?.append(t), this.el?.setAttribute("data-example", ""), this.#m();
7884
7884
  }
7885
7885
  #p = -1;
7886
7886
  #m() {
@@ -7891,11 +7891,11 @@ class dt extends b {
7891
7891
  }
7892
7892
  #g() {
7893
7893
  const t = document.createElement("div");
7894
- return f(t, "data-part", "cue-display"), t;
7894
+ return g(t, "data-part", "cue-display"), t;
7895
7895
  }
7896
7896
  #b() {
7897
7897
  const t = document.createElement("div");
7898
- return f(t, "data-part", "cue"), t;
7898
+ return g(t, "data-part", "cue"), t;
7899
7899
  }
7900
7900
  }
7901
7901
  class Mr extends b {
@@ -7940,7 +7940,7 @@ class Mr extends b {
7940
7940
  }
7941
7941
  #i() {
7942
7942
  const { src: t } = this.$props, { poster: e, nativeControls: s } = this.#t.$state;
7943
- this.el && f(this.el, "display", s() ? "none" : null), this.$state.hidden.set(this.#e() || !(t() || e()) || s());
7943
+ this.el && g(this.el, "display", s() ? "none" : null), this.$state.hidden.set(this.#e() || !(t() || e()) || s());
7944
7944
  }
7945
7945
  #a() {
7946
7946
  const { loading: t, hidden: e } = this.$state;
@@ -7978,7 +7978,7 @@ class Mr extends b {
7978
7978
  e.set(!1), s.set(t);
7979
7979
  }
7980
7980
  }
7981
- class Lr extends v(HTMLElement, ai) {
7981
+ class Lr extends v(HTMLElement, ni) {
7982
7982
  static tagName = "media-provider";
7983
7983
  #t;
7984
7984
  #e = null;
@@ -7996,7 +7996,7 @@ class Lr extends v(HTMLElement, ai) {
7996
7996
  const o = this.#e?.parentElement ?? this;
7997
7997
  this.#e?.remove(), this.#e = r, r && o.prepend(r), i && r && l(() => {
7998
7998
  const { nativeControls: h, viewType: d } = this.#t.$state, c = h(), u = d() === "audio";
7999
- !c && !u ? (this.#s = this.querySelector(".vds-blocker"), this.#s || (this.#s = document.createElement("div"), this.#s.classList.add("vds-blocker"), r.after(this.#s))) : (this.#s?.remove(), this.#s = null), f(r, "data-no-controls", !c);
7999
+ !c && !u ? (this.#s = this.querySelector(".vds-blocker"), this.#s || (this.#s = document.createElement("div"), this.#s.classList.add("vds-blocker"), r.after(this.#s))) : (this.#s?.remove(), this.#s = null), g(r, "data-no-controls", !c);
8000
8000
  });
8001
8001
  }
8002
8002
  e ? r?.classList.add("vds-youtube") : s && r?.classList.add("vds-vimeo"), i || (this.#s?.remove(), this.#s = null), this.load(r);
@@ -8005,24 +8005,24 @@ class Lr extends v(HTMLElement, ai) {
8005
8005
  #i() {
8006
8006
  const t = this.#e instanceof HTMLAudioElement ? this.#e : document.createElement("audio"), { controls: e, crossOrigin: s } = this.#t.$state;
8007
8007
  return l(() => {
8008
- f(t, "controls", e()), f(t, "crossorigin", s());
8008
+ g(t, "controls", e()), g(t, "crossorigin", s());
8009
8009
  }), t;
8010
8010
  }
8011
8011
  #a() {
8012
8012
  const t = this.#e instanceof HTMLVideoElement ? this.#e : document.createElement("video"), { crossOrigin: e, poster: s, nativeControls: i } = this.#t.$state, n = tt(() => i() ? "true" : null), r = tt(() => s() && i() ? s() : null);
8013
8013
  return l(() => {
8014
- f(t, "controls", n()), f(t, "crossorigin", e()), f(t, "poster", r());
8014
+ g(t, "controls", n()), g(t, "crossorigin", e()), g(t, "poster", r());
8015
8015
  }), t;
8016
8016
  }
8017
8017
  #n() {
8018
8018
  const t = this.#e instanceof HTMLIFrameElement ? this.#e : document.createElement("iframe"), { nativeControls: e } = this.#t.$state;
8019
- return l(() => f(t, "tabindex", e() ? null : -1)), t;
8019
+ return l(() => g(t, "tabindex", e() ? null : -1)), t;
8020
8020
  }
8021
8021
  #r() {
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_-DRfMWrJI.js").then(({ insertContent: e }) => {
8025
+ return t.classList.add("vds-google-cast"), import("./vidstack-D_-9AA6_-4NXefQZ2.js").then(({ insertContent: e }) => {
8026
8026
  e(t, this.#t.$state);
8027
8027
  }), t;
8028
8028
  }
@@ -8040,10 +8040,10 @@ 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$", 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 = `[
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)}$`, ki = "?" + ct, _r = `<${ki}>`, Pt = document, jt = () => Pt.createComment(""), Yt = (a) => a === null || typeof a != "object" && typeof a != "function", Si = Array.isArray, Ir = (a) => Si(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), Xt = /* @__PURE__ */ Symbol.for("lit-noChange"), R = /* @__PURE__ */ Symbol.for("lit-nothing"), _s = /* @__PURE__ */ new WeakMap(), Tt = Pt.createTreeWalker(Pt, 129, null, !1);
8046
- function Pi(a, t) {
8045
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), Ls = /'/g, qs = /"/g, Pi = /^(?: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
+ function xi(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;
8049
8049
  }
@@ -8053,11 +8053,11 @@ const Rr = (a, t) => {
8053
8053
  for (let o = 0; o < e; o++) {
8054
8054
  const h = a[o];
8055
8055
  let d, c, u = -1, m = 0;
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
- 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) + ct + g) : h + ct + (u === -2 ? (s.push(void 0), o) : g);
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 ? (Pi.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
+ const f = 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) + ct + f) : h + ct + (u === -2 ? (s.push(void 0), o) : f);
8059
8059
  }
8060
- return [Pi(a, n + (a[e] || "<?>") + (t === 2 ? "</svg>" : "")), s];
8060
+ return [xi(a, n + (a[e] || "<?>") + (t === 2 ? "</svg>" : "")), s];
8061
8061
  };
8062
8062
  class Jt {
8063
8063
  constructor({ strings: t, _$litType$: e }, s) {
@@ -8074,23 +8074,23 @@ class Jt {
8074
8074
  if (i.hasAttributes()) {
8075
8075
  const u = [];
8076
8076
  for (const m of i.getAttributeNames()) if (m.endsWith(Be) || m.startsWith(ct)) {
8077
- const g = c[r++];
8078
- if (u.push(m), g !== void 0) {
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 });
8077
+ const f = c[r++];
8078
+ if (u.push(m), f !== void 0) {
8079
+ const P = i.getAttribute(f.toLowerCase() + Be).split(ct), I = /([.?@])?(.*)/.exec(f);
8080
+ h.push({ type: 1, index: n, name: I[2], strings: P, 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
- if (Si.test(i.tagName)) {
8085
+ if (Pi.test(i.tagName)) {
8086
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], jt()), Tt.nextNode(), h.push({ type: 2, index: ++n });
8089
+ for (let f = 0; f < m; f++) i.append(u[f], jt()), Tt.nextNode(), h.push({ type: 2, index: ++n });
8090
8090
  i.append(u[m], jt());
8091
8091
  }
8092
8092
  }
8093
- } else if (i.nodeType === 8) if (i.data === Ti) h.push({ type: 2, index: n });
8093
+ } else if (i.nodeType === 8) if (i.data === ki) h.push({ type: 2, index: n });
8094
8094
  else {
8095
8095
  let u = -1;
8096
8096
  for (; (u = i.data.indexOf(ct, u + 1)) !== -1; ) h.push({ type: 7, index: n }), u += ct.length - 1;
@@ -8173,7 +8173,7 @@ class ie {
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 = Jt.createElement(Pi(i.h, i.h[0]), this.options)), i);
8176
+ const { values: s, _$litType$: i } = t, n = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = Jt.createElement(xi(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);
@@ -8185,7 +8185,7 @@ class ie {
8185
8185
  return e === void 0 && _s.set(t.strings, e = new Jt(t)), e;
8186
8186
  }
8187
8187
  T(t) {
8188
- ki(this._$AH) || (this._$AH = [], this._$AR());
8188
+ Si(this._$AH) || (this._$AH = [], this._$AR());
8189
8189
  const e = this._$AH;
8190
8190
  let s, i = 0;
8191
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++;
@@ -8294,10 +8294,10 @@ class Ur extends HTMLElement {
8294
8294
  this.rootPart?.setConnected(!1), this.rootPart = null, Vs(null, this);
8295
8295
  }
8296
8296
  }
8297
- const Kr = /* @__PURE__ */ zs(
8297
+ const Kr = /* @__PURE__ */ js(
8298
8298
  '<img loading="eager" decoding="async" aria-hidden="true">'
8299
8299
  );
8300
- class xi extends v(HTMLElement, Qn) {
8300
+ class Ci extends v(HTMLElement, Qn) {
8301
8301
  static tagName = "media-thumbnail";
8302
8302
  static attrs = {
8303
8303
  crossOrigin: "crossorigin"
@@ -8310,11 +8310,11 @@ class xi extends v(HTMLElement, Qn) {
8310
8310
  onConnect() {
8311
8311
  const { src: t, crossOrigin: e } = this.$state;
8312
8312
  this.#e.parentNode !== this && this.prepend(this.#e), l(() => {
8313
- f(this.#e, "src", t()), f(this.#e, "crossorigin", e());
8313
+ g(this.#e, "src", t()), g(this.#e, "crossorigin", e());
8314
8314
  });
8315
8315
  }
8316
8316
  #s() {
8317
- return js(Kr);
8317
+ return Ys(Kr);
8318
8318
  }
8319
8319
  }
8320
8320
  class Qr extends v(HTMLElement, cr) {
@@ -8364,13 +8364,13 @@ function Ot(a, t) {
8364
8364
  });
8365
8365
  });
8366
8366
  }
8367
- class eo extends v(HTMLElement, ui) {
8367
+ class eo extends v(HTMLElement, pi) {
8368
8368
  static tagName = "media-audio-radio-group";
8369
8369
  onConnect() {
8370
8370
  Ot(this);
8371
8371
  }
8372
8372
  }
8373
- class so extends v(HTMLElement, pi) {
8373
+ class so extends v(HTMLElement, mi) {
8374
8374
  static tagName = "media-captions-radio-group";
8375
8375
  onConnect() {
8376
8376
  Ot(this);
@@ -8388,13 +8388,13 @@ class no extends v(HTMLElement, rr) {
8388
8388
  class ro extends v(HTMLElement, hr) {
8389
8389
  static tagName = "media-menu-items";
8390
8390
  }
8391
- class oo extends v(HTMLElement, mi) {
8391
+ class oo extends v(HTMLElement, fi) {
8392
8392
  static tagName = "media-speed-radio-group";
8393
8393
  onConnect() {
8394
8394
  Ot(this);
8395
8395
  }
8396
8396
  }
8397
- class ho extends v(HTMLElement, fi) {
8397
+ class ho extends v(HTMLElement, gi) {
8398
8398
  static tagName = "media-quality-radio-group";
8399
8399
  onConnect() {
8400
8400
  Ot(this, (t, e) => {
@@ -8405,10 +8405,10 @@ class ho extends v(HTMLElement, fi) {
8405
8405
  });
8406
8406
  }
8407
8407
  }
8408
- class lo extends v(HTMLElement, ci) {
8408
+ class lo extends v(HTMLElement, ui) {
8409
8409
  static tagName = "media-radio";
8410
8410
  }
8411
- class co extends xi {
8411
+ class co extends Ci {
8412
8412
  static tagName = "media-slider-thumbnail";
8413
8413
  #t;
8414
8414
  #e;
@@ -8423,7 +8423,7 @@ class co extends xi {
8423
8423
  this.time = e() + this.#e.pointerRate() * t();
8424
8424
  }
8425
8425
  }
8426
- class uo extends v(HTMLElement, li) {
8426
+ class uo extends v(HTMLElement, di) {
8427
8427
  static tagName = "media-slider-value";
8428
8428
  static attrs = {
8429
8429
  padMinutes: {
@@ -8436,7 +8436,7 @@ class uo extends v(HTMLElement, li) {
8436
8436
  });
8437
8437
  }
8438
8438
  }
8439
- class po extends v(HTMLElement, di) {
8439
+ class po extends v(HTMLElement, ci) {
8440
8440
  static tagName = "media-time-slider";
8441
8441
  }
8442
8442
  class mo extends v(HTMLElement, zn) {
@@ -8512,7 +8512,7 @@ class Po extends b {
8512
8512
  }
8513
8513
  #t(t, e, s) {
8514
8514
  const { size: i, trackWidth: n, fillPercent: r } = this.$props;
8515
- f(t, "width", i()), f(t, "height", i()), f(e, "stroke-width", n()), f(s, "stroke-width", n()), f(s, "stroke-dashoffset", 100 - r());
8515
+ g(t, "width", i()), g(t, "height", i()), g(e, "stroke-width", n()), g(s, "stroke-width", n()), g(s, "stroke-dashoffset", 100 - r());
8516
8516
  }
8517
8517
  }
8518
8518
  class xo extends v(Ur, Po) {
@@ -8560,7 +8560,7 @@ class Eo extends v(HTMLElement, Co) {
8560
8560
  class Ao extends v(HTMLElement, $r) {
8561
8561
  static tagName = "media-google-cast-button";
8562
8562
  }
8563
- class Mo extends v(HTMLElement, gi) {
8563
+ class Mo extends v(HTMLElement, yi) {
8564
8564
  static tagName = "media-toggle-button";
8565
8565
  }
8566
8566
  class Lo extends v(HTMLElement, gr) {
@@ -8597,22 +8597,22 @@ class Vo extends v(HTMLElement, ke) {
8597
8597
  });
8598
8598
  }
8599
8599
  }
8600
- class Do extends v(HTMLElement, wi) {
8600
+ class Do extends v(HTMLElement, Ti) {
8601
8601
  static tagName = "media-audio-gain-radio-group";
8602
8602
  onConnect() {
8603
8603
  Ot(this);
8604
8604
  }
8605
8605
  }
8606
- class Ro extends v(HTMLElement, vi) {
8606
+ class Ro extends v(HTMLElement, $i) {
8607
8607
  static tagName = "media-radio-group";
8608
8608
  }
8609
8609
  class Oo extends v(HTMLElement, ee) {
8610
8610
  static tagName = "media-slider";
8611
8611
  }
8612
- const No = /* @__PURE__ */ zs(
8612
+ const No = /* @__PURE__ */ js(
8613
8613
  '<video muted playsinline preload="none" style="max-width: unset;"></video>'
8614
8614
  );
8615
- class Ho extends v(HTMLElement, yi) {
8615
+ class Ho extends v(HTMLElement, bi) {
8616
8616
  static tagName = "media-slider-video";
8617
8617
  #t;
8618
8618
  #e = this.#s();
@@ -8622,11 +8622,11 @@ class Ho extends v(HTMLElement, yi) {
8622
8622
  onConnect() {
8623
8623
  const { canLoad: t } = this.#t.$state, { src: e, crossOrigin: s } = this.$state;
8624
8624
  this.#e.parentNode !== this && this.prepend(this.#e), l(() => {
8625
- f(this.#e, "crossorigin", s()), f(this.#e, "preload", t() ? "auto" : "none"), f(this.#e, "src", e());
8625
+ g(this.#e, "crossorigin", s()), g(this.#e, "preload", t() ? "auto" : "none"), g(this.#e, "src", e());
8626
8626
  });
8627
8627
  }
8628
8628
  #s() {
8629
- return js(No);
8629
+ return Ys(No);
8630
8630
  }
8631
8631
  }
8632
8632
  class Fo extends v(HTMLElement, Tr) {
@@ -8638,7 +8638,7 @@ class Bo extends v(HTMLElement, kr) {
8638
8638
  class Go extends v(HTMLElement, Sr) {
8639
8639
  static tagName = "media-quality-slider";
8640
8640
  }
8641
- class Uo extends v(HTMLElement, bi) {
8641
+ class Uo extends v(HTMLElement, vi) {
8642
8642
  static tagName = "media-slider-chapters";
8643
8643
  #t = null;
8644
8644
  onConnect() {
@@ -8685,7 +8685,7 @@ class Wo extends v(HTMLElement, Mr) {
8685
8685
  const { loading: i, hidden: n } = this.$state;
8686
8686
  this.#t.style.display = i() || n() ? "none" : "";
8687
8687
  }), l(() => {
8688
- f(this.#t, "alt", e()), f(this.#t, "crossorigin", s()), f(this.#t, "src", t());
8688
+ g(this.#t, "alt", e()), g(this.#t, "crossorigin", s()), g(this.#t, "src", t());
8689
8689
  }), this.#t.parentNode !== this && this.prepend(this.#t);
8690
8690
  }
8691
8691
  }
@@ -8732,7 +8732,7 @@ y(Vo);
8732
8732
  y(Ro);
8733
8733
  y(lo);
8734
8734
  y(yo);
8735
- y(xi);
8735
+ y(Ci);
8736
8736
  y(go);
8737
8737
  y(Yr);
8738
8738
  y(Qr);
@@ -8806,7 +8806,7 @@ const zo = { class: "controls-group__actions" }, jo = /* @__PURE__ */ lt({
8806
8806
  },
8807
8807
  emits: ["close"],
8808
8808
  setup(a, { emit: t }) {
8809
- const { size: e, fullscreen: s, changeSize: i } = ye("size"), n = _i(
8809
+ const { size: e, fullscreen: s, changeSize: i } = ye("size"), n = Ds(
8810
8810
  () => e.value === K.SM ? "expand" : "collapse"
8811
8811
  ), r = a, o = t, h = (m) => {
8812
8812
  m ? e.value !== K.LG && (s.value = !0, i(K.LG)) : e.value === K.LG && (c(), s.value = !1, i(K.SM));
@@ -8823,7 +8823,7 @@ const zo = { class: "controls-group__actions" }, jo = /* @__PURE__ */ lt({
8823
8823
  }), Vi(() => {
8824
8824
  document.removeEventListener("keyup", u);
8825
8825
  });
8826
- }), (m, g) => (G(), mt("media-controls-group", {
8826
+ }), (m, f) => (G(), mt("media-controls-group", {
8827
8827
  class: be([`video-display-panel--${ot(e)}`, "video-display-panel controls-group"])
8828
8828
  }, [
8829
8829
  at("div", th, [
@@ -8852,7 +8852,7 @@ const zo = { class: "controls-group__actions" }, jo = /* @__PURE__ */ lt({
8852
8852
  key: 1,
8853
8853
  icon: "close",
8854
8854
  color: "on-dark",
8855
- onClick: g[0] || (g[0] = (C) => o("close"))
8855
+ onClick: f[0] || (f[0] = (P) => o("close"))
8856
8856
  })) : Kt("", !0)
8857
8857
  ])
8858
8858
  ], 2));
@@ -8882,7 +8882,7 @@ const zo = { class: "controls-group__actions" }, jo = /* @__PURE__ */ lt({
8882
8882
  closable: s.closable,
8883
8883
  "hide-expand": s.hideExpand,
8884
8884
  onClose: r[0] || (r[0] = (o) => i("close-player"))
8885
- }, Ds({ _: 2 }, [
8885
+ }, Rs({ _: 2 }, [
8886
8886
  n.$slots.avatar ? {
8887
8887
  name: "avatar",
8888
8888
  fn: Qt(() => [
@@ -8978,7 +8978,8 @@ const zo = { class: "controls-group__actions" }, jo = /* @__PURE__ */ lt({
8978
8978
  hideBackground: { type: Boolean },
8979
8979
  hideExpand: { type: Boolean },
8980
8980
  stretch: { type: Boolean },
8981
- videoObjectFit: { default: "contain" }
8981
+ videoObjectFit: { default: "contain" },
8982
+ mirrorVideo: { type: Boolean }
8982
8983
  },
8983
8984
  emits: ["close", "change-size"],
8984
8985
  setup(a, { emit: t }) {
@@ -8986,26 +8987,27 @@ const zo = { class: "controls-group__actions" }, jo = /* @__PURE__ */ lt({
8986
8987
  Oi("size", {
8987
8988
  size: i,
8988
8989
  fullscreen: n,
8989
- changeSize: (m) => {
8990
- i.value = m, s("change-size", m);
8990
+ changeSize: (f) => {
8991
+ i.value = f, s("change-size", f);
8991
8992
  }
8992
8993
  });
8993
8994
  const { src: o, mime: h, stream: d } = Ni(e), { normalizedSrcObject: c } = da({
8994
8995
  src: o,
8995
8996
  type: h,
8996
8997
  stream: d
8997
- }), u = (m) => {
8998
- e.autoplay && m.target?.play();
8998
+ }), u = Ds(() => [
8999
+ `wt-vidstack-player--${i.value}`,
9000
+ `wt-vidstack-player-video-object-fit--${e.videoObjectFit}`,
9001
+ e.mirrorVideo && "wt-vidstack-player--mirror-video",
9002
+ n.value && "wt-vidstack-player--fullscreen",
9003
+ e.stretch && "wt-vidstack-player--stretch",
9004
+ e.static && "wt-vidstack-player--static",
9005
+ e.hideBackground && "wt-vidstack-player--hide-background"
9006
+ ]), m = (f) => {
9007
+ e.autoplay && f.target?.play();
8999
9008
  };
9000
- return (m, g) => (G(), mt("div", {
9001
- class: be([[
9002
- `wt-vidstack-player--${i.value}`,
9003
- `wt-vidstack-player-video-object-fit--${e.videoObjectFit}`,
9004
- n.value && "wt-vidstack-player--fullscreen",
9005
- a.stretch && "wt-vidstack-player--stretch",
9006
- e.static && "wt-vidstack-player--static",
9007
- e.hideBackground && "wt-vidstack-player--hide-background"
9008
- ], "wt-vidstack-player"])
9009
+ return (f, P) => (G(), mt("div", {
9010
+ class: be([u.value, "wt-vidstack-player"])
9009
9011
  }, [
9010
9012
  at("media-player", {
9011
9013
  ref: "player",
@@ -9015,10 +9017,10 @@ const zo = { class: "controls-group__actions" }, jo = /* @__PURE__ */ lt({
9015
9017
  class: "wt-vidstack-player__player",
9016
9018
  "cross-origin": "",
9017
9019
  playsinline: "",
9018
- onClose: g[1] || (g[1] = (C) => s("close")),
9019
- onCanPlay: u
9020
+ onClose: P[1] || (P[1] = (I) => s("close")),
9021
+ onCanPlay: m
9020
9022
  }, [
9021
- g[2] || (g[2] = at("media-provider", { class: "wt-vidstack-player__provider" }, null, -1)),
9023
+ P[2] || (P[2] = at("media-provider", { class: "wt-vidstack-player__provider" }, null, -1)),
9022
9024
  W(ot(lh), {
9023
9025
  autoplay: e.autoplay,
9024
9026
  closable: e.closable,
@@ -9028,20 +9030,20 @@ const zo = { class: "controls-group__actions" }, jo = /* @__PURE__ */ lt({
9028
9030
  title: e.title,
9029
9031
  username: e.username,
9030
9032
  "countdown-time-mode": e.countdownTimeMode,
9031
- onClosePlayer: g[0] || (g[0] = (C) => s("close"))
9032
- }, Ds({
9033
+ onClosePlayer: P[0] || (P[0] = (I) => s("close"))
9034
+ }, Rs({
9033
9035
  "controls-panel": Qt(() => [
9034
- ut(m.$slots, "controls-panel", { size: i.value }, void 0, !0)
9036
+ ut(f.$slots, "controls-panel", { size: i.value }, void 0, !0)
9035
9037
  ]),
9036
9038
  content: Qt(() => [
9037
- ut(m.$slots, "content", { size: i.value }, void 0, !0)
9039
+ ut(f.$slots, "content", { size: i.value }, void 0, !0)
9038
9040
  ]),
9039
9041
  _: 2
9040
9042
  }, [
9041
- m.$slots.avatar ? {
9043
+ f.$slots.avatar ? {
9042
9044
  name: "avatar",
9043
9045
  fn: Qt(() => [
9044
- ut(m.$slots, "avatar", {}, void 0, !0)
9046
+ ut(f.$slots, "avatar", {}, void 0, !0)
9045
9047
  ]),
9046
9048
  key: "0"
9047
9049
  } : void 0
@@ -9049,17 +9051,17 @@ const zo = { class: "controls-group__actions" }, jo = /* @__PURE__ */ lt({
9049
9051
  ], 40, bh)
9050
9052
  ], 2));
9051
9053
  }
9052
- }), $h = /* @__PURE__ */ yt(vh, [["__scopeId", "data-v-cb7058f6"]]), Lh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9054
+ }), $h = /* @__PURE__ */ yt(vh, [["__scopeId", "data-v-eb8362b9"]]), Lh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9053
9055
  __proto__: null,
9054
9056
  default: $h
9055
9057
  }, Symbol.toStringTag, { value: "Module" }));
9056
9058
  export {
9057
- x as L,
9059
+ C as L,
9058
9060
  X as Q,
9059
9061
  pe as T,
9060
- zs as a,
9062
+ js as a,
9061
9063
  k as b,
9062
- js as c,
9064
+ Ys as c,
9063
9065
  xe as d,
9064
9066
  he as e,
9065
9067
  Ph as f,