@golstats/gsc-landing 1.0.43 → 1.0.45

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { ref as k, onMounted as Re, onUnmounted as bt, openBlock as y, createElementBlock as b, createElementVNode as m, normalizeClass as S, toDisplayString as O, unref as ee, useCssVars as $e, createCommentVNode as T, renderSlot as at, watch as ne, createBlock as K, withCtx as re, Fragment as U, renderList as we, mergeProps as Lt, pushScopeId as ye, popScopeId as be, computed as z, defineComponent as lt, inject as te, reactive as Ce, h as oe, provide as ae, nextTick as Sa, cloneVNode as Tt, normalizeStyle as B, resolveComponent as ce, createVNode as H, onBeforeMount as Ca, Transition as ta, withDirectives as Ut, vShow as Ht, createTextVNode as Me, createStaticVNode as wd, toRef as _d, onBeforeUnmount as Sd } from "vue";
1
+ import { ref as k, onMounted as Re, onUnmounted as bt, openBlock as y, createElementBlock as b, createElementVNode as m, normalizeClass as S, toDisplayString as O, unref as ee, useCssVars as $e, createCommentVNode as T, renderSlot as at, watch as ne, createBlock as K, withCtx as le, Fragment as U, renderList as we, mergeProps as Lt, pushScopeId as ye, popScopeId as be, computed as z, defineComponent as lt, inject as te, reactive as Ce, h as oe, provide as ae, nextTick as Sa, cloneVNode as Tt, normalizeStyle as B, resolveComponent as ce, createVNode as H, onBeforeMount as Ca, Transition as ta, withDirectives as Ut, vShow as Ht, createTextVNode as Me, createStaticVNode as wd, toRef as _d, onBeforeUnmount as Sd } from "vue";
2
2
  function sl(e, a) {
3
3
  return function() {
4
4
  return e.apply(a, arguments);
@@ -320,11 +320,11 @@ function lo(e, a, t) {
320
320
  if (A.endsWith(g, "{}"))
321
321
  g = o ? g : g.slice(0, -2), p = JSON.stringify(p);
322
322
  else if (A.isArray(p) && nu(p) || (A.isFileList(p) || A.endsWith(g, "[]")) && (C = A.toArray(p)))
323
- return g = fl(g), C.forEach(function(F, J) {
324
- !(A.isUndefined(F) || F === null) && a.append(
323
+ return g = fl(g), C.forEach(function(M, q) {
324
+ !(A.isUndefined(M) || M === null) && a.append(
325
325
  // eslint-disable-next-line no-nested-ternary
326
- s === !0 ? qi([g], J, n) : s === null ? g : g + "[]",
327
- l(F)
326
+ s === !0 ? qi([g], q, n) : s === null ? g : g + "[]",
327
+ l(M)
328
328
  );
329
329
  }), !1;
330
330
  }
@@ -939,10 +939,10 @@ const Pu = typeof XMLHttpRequest < "u", Bu = Pu && function(e) {
939
939
  config: e,
940
940
  request: h
941
941
  };
942
- ku(function(F) {
943
- t(F), l();
944
- }, function(F) {
945
- o(F), l();
942
+ ku(function(M) {
943
+ t(M), l();
944
+ }, function(M) {
945
+ o(M), l();
946
946
  }, C), h = null;
947
947
  }
948
948
  if ("onloadend" in h ? h.onloadend = c : h.onreadystatechange = function() {
@@ -1776,7 +1776,7 @@ const ma = /* @__PURE__ */ Zu(Qn, [["render", im], ["__scopeId", "data-v-b548a08
1776
1776
  key: i.value,
1777
1777
  arrowsBorder: "#ddd"
1778
1778
  }, {
1779
- default: re(() => [
1779
+ default: le(() => [
1780
1780
  m("div", mm, [
1781
1781
  (y(!0), b(U, null, we(o.value, (l) => (y(), K(Ku, Lt(l, {
1782
1782
  isImgFullWidth: e.isImgFullWidth,
@@ -4575,7 +4575,7 @@ const qp = /* @__PURE__ */ Mp(ci, [["render", Gp], ["__scopeId", "data-v-fb269a1
4575
4575
  ], 6)
4576
4576
  ], 4),
4577
4577
  H(ta, null, {
4578
- default: re(() => [
4578
+ default: le(() => [
4579
4579
  Ut(m("div", Xp, [
4580
4580
  m("div", null, [
4581
4581
  m("div", {
@@ -4849,10 +4849,10 @@ var rg = lt({
4849
4849
  const f = k((i = e.modelValue) !== null && i !== void 0 ? i : 0), c = k(0), p = k(0), g = k(0), w = k(0);
4850
4850
  let C, x;
4851
4851
  ae("config", l), ae("slidesCount", u), ae("currentSlide", f), ae("maxSlide", g), ae("minSlide", w), ae("slideWidth", r);
4852
- function F() {
4853
- h = Object.assign({}, e.breakpoints), d = Object.assign(Object.assign(Object.assign({}, d), e), { i18n: Object.assign(Object.assign({}, d.i18n), e.i18n), breakpoints: void 0 }), le(d);
4852
+ function M() {
4853
+ h = Object.assign({}, e.breakpoints), d = Object.assign(Object.assign(Object.assign({}, d), e), { i18n: Object.assign(Object.assign({}, d.i18n), e.i18n), breakpoints: void 0 }), re(d);
4854
4854
  }
4855
- function J() {
4855
+ function q() {
4856
4856
  if (!h || !Object.keys(h).length)
4857
4857
  return;
4858
4858
  const _ = Object.keys(h).map((I) => Number(I)).sort((I, X) => +X - +I);
@@ -4860,13 +4860,13 @@ var rg = lt({
4860
4860
  _.some((I) => {
4861
4861
  const X = window.matchMedia(`(min-width: ${I}px)`).matches;
4862
4862
  return X && (N = Object.assign(Object.assign({}, N), h[I])), X;
4863
- }), le(N);
4863
+ }), re(N);
4864
4864
  }
4865
- function le(_) {
4865
+ function re(_) {
4866
4866
  Object.entries(_).forEach(([N, I]) => l[N] = I);
4867
4867
  }
4868
4868
  const _e = ig(() => {
4869
- J(), ie();
4869
+ q(), ie();
4870
4870
  }, 16);
4871
4871
  function ie() {
4872
4872
  if (!n.value)
@@ -4882,7 +4882,7 @@ var rg = lt({
4882
4882
  })));
4883
4883
  }
4884
4884
  Re(() => {
4885
- Sa(() => ie()), setTimeout(() => ie(), 1e3), J(), st(), window.addEventListener("resize", _e, { passive: !0 }), t("init");
4885
+ Sa(() => ie()), setTimeout(() => ie(), 1e3), q(), st(), window.addEventListener("resize", _e, { passive: !0 }), t("init");
4886
4886
  }), bt(() => {
4887
4887
  x && clearTimeout(x), C && clearInterval(C), window.removeEventListener("resize", _e, {
4888
4888
  passive: !0
@@ -4957,8 +4957,8 @@ var rg = lt({
4957
4957
  function V() {
4958
4958
  L(f.value - l.itemsToScroll);
4959
4959
  }
4960
- const q = { slideTo: L, next: W, prev: V };
4961
- ae("nav", q), ae("isSliding", R);
4960
+ const J = { slideTo: L, next: W, prev: V };
4961
+ ae("nav", J), ae("isSliding", R);
4962
4962
  const Z = z(() => og({
4963
4963
  config: l,
4964
4964
  currentSlide: f.value,
@@ -4975,13 +4975,13 @@ var rg = lt({
4975
4975
  };
4976
4976
  });
4977
4977
  function xe() {
4978
- F(), J(), Ee(), ie(), G();
4978
+ M(), q(), Ee(), ie(), G();
4979
4979
  }
4980
4980
  Object.keys(xs).forEach((_) => {
4981
4981
  ["modelValue"].includes(_) || ne(() => e[_], xe);
4982
4982
  }), ne(() => e.modelValue, (_) => {
4983
4983
  _ !== f.value && L(Number(_));
4984
- }), ne(u, Ee), t("before-init"), F();
4984
+ }), ne(u, Ee), t("before-init"), M();
4985
4985
  const Pe = {
4986
4986
  config: l,
4987
4987
  slidesCount: u,
@@ -4995,15 +4995,15 @@ var rg = lt({
4995
4995
  middleSlide: p
4996
4996
  };
4997
4997
  o({
4998
- updateBreakpointsConfigs: J,
4998
+ updateBreakpointsConfigs: q,
4999
4999
  updateSlidesData: Ee,
5000
5000
  updateSlideWidth: ie,
5001
- initDefaultConfigs: F,
5001
+ initDefaultConfigs: M,
5002
5002
  restartCarousel: xe,
5003
5003
  slideTo: L,
5004
5004
  next: W,
5005
5005
  prev: V,
5006
- nav: q,
5006
+ nav: J,
5007
5007
  data: Pe
5008
5008
  });
5009
5009
  const Je = a.default || a.slides, Ke = a.addons, ct = Ce(Pe);
@@ -5295,9 +5295,9 @@ const dg = (e, a) => {
5295
5295
  "wrap-around": e.wrapAround,
5296
5296
  onSlideStart: p
5297
5297
  }, {
5298
- default: re(() => [
5298
+ default: le(() => [
5299
5299
  (y(!0), b(U, null, we(e.items, (C, x) => (y(), K(ee(cg), { key: x }, {
5300
- default: re(() => [
5300
+ default: le(() => [
5301
5301
  at(g.$slots, "default", { item: C }, void 0, !0)
5302
5302
  ]),
5303
5303
  _: 2
@@ -5366,7 +5366,7 @@ const dg = (e, a) => {
5366
5366
  backgroundColor: `${s.value === x ? o.navigationActiveColor : o.navigationColor}`,
5367
5367
  transition: "all 0.1s ease-in-out"
5368
5368
  }),
5369
- onClick: (F) => c(x)
5369
+ onClick: (M) => c(x)
5370
5370
  }, null, 12, xg))), 128))
5371
5371
  ])) : T("", !0),
5372
5372
  e.areNavigationArrowsVisible ? (y(), b("div", {
@@ -5770,7 +5770,7 @@ const zg = /* @__PURE__ */ Eg(di, [["render", Dg], ["__scopeId", "data-v-fb269a1
5770
5770
  ], 6)
5771
5771
  ], 4),
5772
5772
  H(ta, null, {
5773
- default: re(() => [
5773
+ default: le(() => [
5774
5774
  Ut(m("div", Ug, [
5775
5775
  m("div", null, [
5776
5776
  m("div", {
@@ -5948,7 +5948,7 @@ const zg = /* @__PURE__ */ Eg(di, [["render", Dg], ["__scopeId", "data-v-fb269a1
5948
5948
  onInput: l,
5949
5949
  "onUpdate:modelValue": d
5950
5950
  }), {
5951
- default: re(({ selectedItem: c }) => [
5951
+ default: le(({ selectedItem: c }) => [
5952
5952
  m("div", Kg, [
5953
5953
  m("div", Zg, [
5954
5954
  r(c.id) ? (y(), b("img", {
@@ -5960,7 +5960,7 @@ const zg = /* @__PURE__ */ Eg(di, [["render", Dg], ["__scopeId", "data-v-fb269a1
5960
5960
  m("div", Yg, O(c.name), 1)
5961
5961
  ])
5962
5962
  ]),
5963
- availableItem: re(({ item: c }) => [
5963
+ availableItem: le(({ item: c }) => [
5964
5964
  m("div", null, O(c.name), 1)
5965
5965
  ]),
5966
5966
  _: 1
@@ -6352,7 +6352,7 @@ const mf = /* @__PURE__ */ tf(ui, [["render", uf], ["__scopeId", "data-v-fb269a1
6352
6352
  ], 6)
6353
6353
  ], 4),
6354
6354
  H(ta, null, {
6355
- default: re(() => [
6355
+ default: le(() => [
6356
6356
  Ut(m("div", ff, [
6357
6357
  m("div", null, [
6358
6358
  m("div", {
@@ -6427,12 +6427,12 @@ const mf = /* @__PURE__ */ tf(ui, [["render", uf], ["__scopeId", "data-v-fb269a1
6427
6427
  onInput: n,
6428
6428
  "onUpdate:modelValue": i
6429
6429
  }, {
6430
- default: re(({ selectedItem: u }) => [
6430
+ default: le(({ selectedItem: u }) => [
6431
6431
  m("div", _f, [
6432
6432
  m("span", null, O(u.name), 1)
6433
6433
  ])
6434
6434
  ]),
6435
- availableItem: re(({ item: u }) => [
6435
+ availableItem: le(({ item: u }) => [
6436
6436
  m("span", Sf, O(u.name), 1)
6437
6437
  ]),
6438
6438
  _: 1
@@ -6777,7 +6777,7 @@ function If(e, a, t, o, i, n) {
6777
6777
  isPaginationVisible: t.isPaginationVisible,
6778
6778
  items: i.pagesteams
6779
6779
  }, {
6780
- default: re(({ item: h }) => [
6780
+ default: le(({ item: h }) => [
6781
6781
  m("div", Bf, [
6782
6782
  (y(!0), b(U, null, we(h, (f, c) => (y(), K(l, {
6783
6783
  key: c,
@@ -7148,7 +7148,7 @@ function ty(e, a, t, o, i, n) {
7148
7148
  "arrows-radius": t.arrowsRadius,
7149
7149
  "arrows-border": t.arrowsBorder
7150
7150
  }, {
7151
- default: re(() => [
7151
+ default: le(() => [
7152
7152
  (y(!0), b(U, null, we(t.buttons, (r, u) => (y(), b("div", {
7153
7153
  class: "button-option-multi",
7154
7154
  style: B([{ height: t.height }, t.selectedOption == r ? { borderColor: t.colorOptionActive, color: t.colorFont + "!important", background: t.backgroundOptionActive } : { borderColor: t.colorOptionDisable, color: "grey !important" }]),
@@ -8842,10 +8842,10 @@ var T0 = lt({
8842
8842
  const f = k((i = e.modelValue) !== null && i !== void 0 ? i : 0), c = k(0), p = k(0), g = k(0), w = k(0);
8843
8843
  let C, x;
8844
8844
  ae("config", l), ae("slidesCount", u), ae("currentSlide", f), ae("maxSlide", g), ae("minSlide", w), ae("slideWidth", r);
8845
- function F() {
8846
- h = Object.assign({}, e.breakpoints), d = Object.assign(Object.assign(Object.assign({}, d), e), { i18n: Object.assign(Object.assign({}, d.i18n), e.i18n), breakpoints: void 0 }), le(d);
8845
+ function M() {
8846
+ h = Object.assign({}, e.breakpoints), d = Object.assign(Object.assign(Object.assign({}, d), e), { i18n: Object.assign(Object.assign({}, d.i18n), e.i18n), breakpoints: void 0 }), re(d);
8847
8847
  }
8848
- function J() {
8848
+ function q() {
8849
8849
  if (!h || !Object.keys(h).length)
8850
8850
  return;
8851
8851
  const _ = Object.keys(h).map((I) => Number(I)).sort((I, X) => +X - +I);
@@ -8853,13 +8853,13 @@ var T0 = lt({
8853
8853
  _.some((I) => {
8854
8854
  const X = window.matchMedia(`(min-width: ${I}px)`).matches;
8855
8855
  return X && (N = Object.assign(Object.assign({}, N), h[I])), X;
8856
- }), le(N);
8856
+ }), re(N);
8857
8857
  }
8858
- function le(_) {
8858
+ function re(_) {
8859
8859
  Object.entries(_).forEach(([N, I]) => l[N] = I);
8860
8860
  }
8861
8861
  const _e = k0(() => {
8862
- J(), ie();
8862
+ q(), ie();
8863
8863
  }, 16);
8864
8864
  function ie() {
8865
8865
  if (!n.value)
@@ -8875,7 +8875,7 @@ var T0 = lt({
8875
8875
  })));
8876
8876
  }
8877
8877
  Re(() => {
8878
- Sa(() => ie()), setTimeout(() => ie(), 1e3), J(), st(), window.addEventListener("resize", _e, { passive: !0 }), t("init");
8878
+ Sa(() => ie()), setTimeout(() => ie(), 1e3), q(), st(), window.addEventListener("resize", _e, { passive: !0 }), t("init");
8879
8879
  }), bt(() => {
8880
8880
  x && clearTimeout(x), C && clearInterval(C), window.removeEventListener("resize", _e, {
8881
8881
  passive: !0
@@ -8950,8 +8950,8 @@ var T0 = lt({
8950
8950
  function V() {
8951
8951
  L(f.value - l.itemsToScroll);
8952
8952
  }
8953
- const q = { slideTo: L, next: W, prev: V };
8954
- ae("nav", q), ae("isSliding", R);
8953
+ const J = { slideTo: L, next: W, prev: V };
8954
+ ae("nav", J), ae("isSliding", R);
8955
8955
  const Z = z(() => S0({
8956
8956
  config: l,
8957
8957
  currentSlide: f.value,
@@ -8968,13 +8968,13 @@ var T0 = lt({
8968
8968
  };
8969
8969
  });
8970
8970
  function xe() {
8971
- F(), J(), Ee(), ie(), G();
8971
+ M(), q(), Ee(), ie(), G();
8972
8972
  }
8973
8973
  Object.keys(qs).forEach((_) => {
8974
8974
  ["modelValue"].includes(_) || ne(() => e[_], xe);
8975
8975
  }), ne(() => e.modelValue, (_) => {
8976
8976
  _ !== f.value && L(Number(_));
8977
- }), ne(u, Ee), t("before-init"), F();
8977
+ }), ne(u, Ee), t("before-init"), M();
8978
8978
  const Pe = {
8979
8979
  config: l,
8980
8980
  slidesCount: u,
@@ -8988,15 +8988,15 @@ var T0 = lt({
8988
8988
  middleSlide: p
8989
8989
  };
8990
8990
  o({
8991
- updateBreakpointsConfigs: J,
8991
+ updateBreakpointsConfigs: q,
8992
8992
  updateSlidesData: Ee,
8993
8993
  updateSlideWidth: ie,
8994
- initDefaultConfigs: F,
8994
+ initDefaultConfigs: M,
8995
8995
  restartCarousel: xe,
8996
8996
  slideTo: L,
8997
8997
  next: W,
8998
8998
  prev: V,
8999
- nav: q,
8999
+ nav: J,
9000
9000
  data: Pe
9001
9001
  });
9002
9002
  const Je = a.default || a.slides, Ke = a.addons, ct = Ce(Pe);
@@ -9288,9 +9288,9 @@ const $0 = (e, a) => {
9288
9288
  "wrap-around": e.wrapAround,
9289
9289
  onSlideStart: p
9290
9290
  }, {
9291
- default: re(() => [
9291
+ default: le(() => [
9292
9292
  (y(!0), b(U, null, we(e.items, (C, x) => (y(), K(ee(A0), { key: x }, {
9293
- default: re(() => [
9293
+ default: le(() => [
9294
9294
  at(g.$slots, "default", { item: C }, void 0, !0)
9295
9295
  ]),
9296
9296
  _: 2
@@ -9359,7 +9359,7 @@ const $0 = (e, a) => {
9359
9359
  backgroundColor: `${s.value === x ? o.navigationActiveColor : o.navigationColor}`,
9360
9360
  transition: "all 0.1s ease-in-out"
9361
9361
  }),
9362
- onClick: (F) => c(x)
9362
+ onClick: (M) => c(x)
9363
9363
  }, null, 12, U0))), 128))
9364
9364
  ])) : T("", !0),
9365
9365
  e.areNavigationArrowsVisible ? (y(), b("div", {
@@ -9635,10 +9635,10 @@ var o1 = lt({
9635
9635
  const f = k((i = e.modelValue) !== null && i !== void 0 ? i : 0), c = k(0), p = k(0), g = k(0), w = k(0);
9636
9636
  let C, x;
9637
9637
  ae("config", l), ae("slidesCount", u), ae("currentSlide", f), ae("maxSlide", g), ae("minSlide", w), ae("slideWidth", r);
9638
- function F() {
9639
- h = Object.assign({}, e.breakpoints), d = Object.assign(Object.assign(Object.assign({}, d), e), { i18n: Object.assign(Object.assign({}, d.i18n), e.i18n), breakpoints: void 0 }), le(d);
9638
+ function M() {
9639
+ h = Object.assign({}, e.breakpoints), d = Object.assign(Object.assign(Object.assign({}, d), e), { i18n: Object.assign(Object.assign({}, d.i18n), e.i18n), breakpoints: void 0 }), re(d);
9640
9640
  }
9641
- function J() {
9641
+ function q() {
9642
9642
  if (!h || !Object.keys(h).length)
9643
9643
  return;
9644
9644
  const _ = Object.keys(h).map((I) => Number(I)).sort((I, X) => +X - +I);
@@ -9646,13 +9646,13 @@ var o1 = lt({
9646
9646
  _.some((I) => {
9647
9647
  const X = window.matchMedia(`(min-width: ${I}px)`).matches;
9648
9648
  return X && (N = Object.assign(Object.assign({}, N), h[I])), X;
9649
- }), le(N);
9649
+ }), re(N);
9650
9650
  }
9651
- function le(_) {
9651
+ function re(_) {
9652
9652
  Object.entries(_).forEach(([N, I]) => l[N] = I);
9653
9653
  }
9654
9654
  const _e = t1(() => {
9655
- J(), ie();
9655
+ q(), ie();
9656
9656
  }, 16);
9657
9657
  function ie() {
9658
9658
  if (!n.value)
@@ -9668,7 +9668,7 @@ var o1 = lt({
9668
9668
  })));
9669
9669
  }
9670
9670
  Re(() => {
9671
- Sa(() => ie()), setTimeout(() => ie(), 1e3), J(), st(), window.addEventListener("resize", _e, { passive: !0 }), t("init");
9671
+ Sa(() => ie()), setTimeout(() => ie(), 1e3), q(), st(), window.addEventListener("resize", _e, { passive: !0 }), t("init");
9672
9672
  }), bt(() => {
9673
9673
  x && clearTimeout(x), C && clearInterval(C), window.removeEventListener("resize", _e, {
9674
9674
  passive: !0
@@ -9743,8 +9743,8 @@ var o1 = lt({
9743
9743
  function V() {
9744
9744
  L(f.value - l.itemsToScroll);
9745
9745
  }
9746
- const q = { slideTo: L, next: W, prev: V };
9747
- ae("nav", q), ae("isSliding", R);
9746
+ const J = { slideTo: L, next: W, prev: V };
9747
+ ae("nav", J), ae("isSliding", R);
9748
9748
  const Z = z(() => Q0({
9749
9749
  config: l,
9750
9750
  currentSlide: f.value,
@@ -9761,13 +9761,13 @@ var o1 = lt({
9761
9761
  };
9762
9762
  });
9763
9763
  function xe() {
9764
- F(), J(), Ee(), ie(), G();
9764
+ M(), q(), Ee(), ie(), G();
9765
9765
  }
9766
9766
  Object.keys(Ks).forEach((_) => {
9767
9767
  ["modelValue"].includes(_) || ne(() => e[_], xe);
9768
9768
  }), ne(() => e.modelValue, (_) => {
9769
9769
  _ !== f.value && L(Number(_));
9770
- }), ne(u, Ee), t("before-init"), F();
9770
+ }), ne(u, Ee), t("before-init"), M();
9771
9771
  const Pe = {
9772
9772
  config: l,
9773
9773
  slidesCount: u,
@@ -9781,15 +9781,15 @@ var o1 = lt({
9781
9781
  middleSlide: p
9782
9782
  };
9783
9783
  o({
9784
- updateBreakpointsConfigs: J,
9784
+ updateBreakpointsConfigs: q,
9785
9785
  updateSlidesData: Ee,
9786
9786
  updateSlideWidth: ie,
9787
- initDefaultConfigs: F,
9787
+ initDefaultConfigs: M,
9788
9788
  restartCarousel: xe,
9789
9789
  slideTo: L,
9790
9790
  next: W,
9791
9791
  prev: V,
9792
- nav: q,
9792
+ nav: J,
9793
9793
  data: Pe
9794
9794
  });
9795
9795
  const Je = a.default || a.slides, Ke = a.addons, ct = Ce(Pe);
@@ -10136,14 +10136,14 @@ const vt = (e, a) => {
10136
10136
  ref_key: "matchDayPickerCarousel",
10137
10137
  ref: o
10138
10138
  }), {
10139
- addons: re(() => [
10139
+ addons: le(() => [
10140
10140
  H(ee(r1))
10141
10141
  ]),
10142
- default: re(() => [
10142
+ default: le(() => [
10143
10143
  (y(!0), b(U, null, we(e.matchDays, (h) => (y(), K(ee(l1), {
10144
10144
  key: h.key
10145
10145
  }, {
10146
- default: re(() => [
10146
+ default: le(() => [
10147
10147
  H(d1, Lt(t, {
10148
10148
  "match-day": h,
10149
10149
  "match-day-selected": r.value,
@@ -10941,7 +10941,7 @@ const p1 = { class: "game-info__teams" }, g1 = { class: "game-info__teams__team_
10941
10941
  ])
10942
10942
  ], 6),
10943
10943
  H(ta, null, {
10944
- default: re(() => [
10944
+ default: le(() => [
10945
10945
  Ut(m("div", mb, [
10946
10946
  hb,
10947
10947
  m("div", {
@@ -11163,7 +11163,7 @@ const p1 = { class: "game-info__teams" }, g1 = { class: "game-info__teams__team_
11163
11163
  "is-pagination-visible": e.isPaginationVisible,
11164
11164
  items: i.value
11165
11165
  }, {
11166
- default: re(({ item: d }) => [
11166
+ default: le(({ item: d }) => [
11167
11167
  m("div", Eb, [
11168
11168
  (y(!0), b(U, null, we(d, (h, f) => (y(), b("div", {
11169
11169
  key: f,
@@ -11494,11 +11494,11 @@ const p1 = { class: "game-info__teams" }, g1 = { class: "game-info__teams__team_
11494
11494
  const i = k([]), n = k({}), s = k(0), r = k(null), u = k({}), l = k(/* @__PURE__ */ new Map()), d = k(!1), h = k(null), f = k(null), c = k(null), p = z(() => t.isCup), g = z(() => t.isCupLegacy), w = z(() => ({
11495
11495
  height: t.height,
11496
11496
  width: t.width
11497
- })), C = z(() => t.games ? Ae(t.games) : l.value.get(u.value.key) || []), x = k(0), F = k("1"), J = k([]), le = k([]), _e = z(() => le.value && le.value.length ? Ee(n.value) : ie(n.value));
11497
+ })), C = z(() => t.games ? Ae(t.games) : l.value.get(u.value.key) || []), x = k(0), M = k("1"), q = k([]), re = k([]), _e = z(() => re.value && re.value.length ? Ee(n.value) : ie(n.value));
11498
11498
  ne(
11499
11499
  () => _e.value,
11500
11500
  (G) => {
11501
- x.value = J.value.findIndex((R) => R === G), F.value = G;
11501
+ x.value = q.value.findIndex((R) => R === G), M.value = G;
11502
11502
  }
11503
11503
  ), ne(
11504
11504
  () => t.seasons,
@@ -11509,22 +11509,22 @@ const p1 = { class: "game-info__teams" }, g1 = { class: "game-info__teams__team_
11509
11509
  );
11510
11510
  function ie(G) {
11511
11511
  const R = Object.entries(
11512
- Object.entries(G).reduce((V, [q, Z]) => (V[q] = [], Z.forEach((de) => {
11512
+ Object.entries(G).reduce((V, [J, Z]) => (V[J] = [], Z.forEach((de) => {
11513
11513
  de.games.forEach((xe) => {
11514
11514
  const Pe = new Date(xe.date_time_utc).getTime() + 66e5;
11515
- V[q].push(Pe);
11515
+ V[J].push(Pe);
11516
11516
  });
11517
11517
  }), V), {})
11518
11518
  );
11519
11519
  if (!R.length)
11520
11520
  return "1";
11521
11521
  const L = (/* @__PURE__ */ new Date()).getTime(), W = R.reduce(
11522
- (V, [q, Z]) => {
11522
+ (V, [J, Z]) => {
11523
11523
  let de = null;
11524
11524
  return Z.forEach((xe) => {
11525
11525
  const Pe = xe - L;
11526
11526
  Pe >= 0 && (de === null || Pe < de) && (de = Pe);
11527
- }), de && (V.shortestTime === null || de < V.shortestTime) && (V.round = q, V.shortestTime = de), V;
11527
+ }), de && (V.shortestTime === null || de < V.shortestTime) && (V.round = J, V.shortestTime = de), V;
11528
11528
  },
11529
11529
  { round: "", shortestTime: null }
11530
11530
  );
@@ -11532,11 +11532,11 @@ const p1 = { class: "game-info__teams" }, g1 = { class: "game-info__teams__team_
11532
11532
  }
11533
11533
  function Ee(G) {
11534
11534
  let R = 1;
11535
- if (le.value.length) {
11536
- const L = le.value[0];
11535
+ if (re.value.length) {
11536
+ const L = re.value[0];
11537
11537
  for (const [W, V] of Object.entries(G))
11538
- for (const q of V)
11539
- if (q.games.find((Z) => Z.game_id === L.game_id))
11538
+ for (const J of V)
11539
+ if (J.games.find((Z) => Z.game_id === L.game_id))
11540
11540
  return W;
11541
11541
  }
11542
11542
  return R;
@@ -11556,9 +11556,9 @@ const p1 = { class: "game-info__teams" }, g1 = { class: "game-info__teams__team_
11556
11556
  W += `${xe === 0 ? "" : "&"}seasons=${de}`;
11557
11557
  }));
11558
11558
  const {
11559
- data: { data: q, teams: Z }
11559
+ data: { data: J, teams: Z }
11560
11560
  } = await Gs.get(W, { headers: V });
11561
- return { seasonsAndGames: q, seasonsAndTeams: Z };
11561
+ return { seasonsAndGames: J, seasonsAndTeams: Z };
11562
11562
  } catch (V) {
11563
11563
  if (R > 0)
11564
11564
  return j(G, R - 1, W);
@@ -11589,8 +11589,8 @@ const p1 = { class: "game-info__teams" }, g1 = { class: "game-info__teams__team_
11589
11589
  }), h.value = {
11590
11590
  seasonsGames: W
11591
11591
  };
11592
- const { teams: q } = V.find((Z) => Z.season_id === L);
11593
- f.value = q, a("change-teams", q), se();
11592
+ const { teams: J } = V.find((Z) => Z.season_id === L);
11593
+ f.value = J, a("change-teams", J), se();
11594
11594
  } catch (L) {
11595
11595
  throw new Error(L);
11596
11596
  }
@@ -11598,23 +11598,23 @@ const p1 = { class: "game-info__teams" }, g1 = { class: "game-info__teams__team_
11598
11598
  function se() {
11599
11599
  if (!f.value)
11600
11600
  return;
11601
- le.value = [];
11601
+ re.value = [];
11602
11602
  const G = h.value && h.value.seasonsGames ? h.value.seasonsGames.map((R) => {
11603
11603
  const L = R.games.reduce((W, V) => {
11604
- const q = { ...V };
11605
- return q.dateTimeMillis = new Date(q.date_time_utc).valueOf(), q.home_team = f.value.find(
11604
+ const J = { ...V };
11605
+ return J.dateTimeMillis = new Date(J.date_time_utc).valueOf(), J.home_team = f.value.find(
11606
11606
  (Z) => Z.team_id === V.home_team
11607
- ), q.visiting_team = f.value.find(
11607
+ ), J.visiting_team = f.value.find(
11608
11608
  (Z) => Z.team_id === V.visiting_team
11609
- ), t.teamId && q.home_team.team_id !== t.teamId && q.visiting_team.team_id !== t.teamId || (W[V.matchday_abbreviation] ? W[V.matchday_abbreviation][V.game_status === 3 ? "canceled" : V.date] ? W[V.matchday_abbreviation][V.game_status === 3 ? "canceled" : V.date].push(q) : W[V.matchday_abbreviation][V.game_status === 3 ? "canceled" : V.date] = [q] : W[V.matchday_abbreviation] = {
11610
- [V.game_status === 3 ? "canceled" : V.date]: [q]
11611
- }, t.userTeamId && q.game_status === 4 && (q.home_team.team_id === t.userTeamId || q.visiting_team.team_id === t.userTeamId) && le.value.push(q)), W;
11609
+ ), t.teamId && J.home_team.team_id !== t.teamId && J.visiting_team.team_id !== t.teamId || (W[V.matchday_abbreviation] ? W[V.matchday_abbreviation][V.game_status === 3 ? "canceled" : V.date] ? W[V.matchday_abbreviation][V.game_status === 3 ? "canceled" : V.date].push(J) : W[V.matchday_abbreviation][V.game_status === 3 ? "canceled" : V.date] = [J] : W[V.matchday_abbreviation] = {
11610
+ [V.game_status === 3 ? "canceled" : V.date]: [J]
11611
+ }, t.userTeamId && J.game_status === 4 && (J.home_team.team_id === t.userTeamId || J.visiting_team.team_id === t.userTeamId) && re.value.push(J)), W;
11612
11612
  }, {});
11613
11613
  for (let [W, V] of Object.entries(L))
11614
- L[W] = Object.entries(V).map(([q, Z]) => ({
11615
- date: q,
11614
+ L[W] = Object.entries(V).map(([J, Z]) => ({
11615
+ date: J,
11616
11616
  games: Z.sort((de, xe) => de.dateTimeMillis - xe.dateTimeMillis)
11617
- })), L[W].sort((q, Z) => q.date < Z.date ? -1 : q.date > Z.date ? 1 : 0);
11617
+ })), L[W].sort((J, Z) => J.date < Z.date ? -1 : J.date > Z.date ? 1 : 0);
11618
11618
  return {
11619
11619
  type: R.type,
11620
11620
  weight: R.type === 0 ? 0 : R.type === 2 ? 1 : 2,
@@ -11625,25 +11625,25 @@ const p1 = { class: "game-info__teams" }, g1 = { class: "game-info__teams__team_
11625
11625
  for (const [W, V] of Object.entries(L.schedule))
11626
11626
  if (L.type === 0)
11627
11627
  if (p.value) {
11628
- const q = W.replace("M", ""), Z = q;
11629
- g.value ? R[Z0[q] || Z] = V : R[K0[W] || Z] = V;
11628
+ const J = W.replace("M", ""), Z = J;
11629
+ g.value ? R[Z0[J] || Z] = V : R[K0[W] || Z] = V;
11630
11630
  } else
11631
11631
  R[Number(W.replace("M", "")).toString()] = V;
11632
11632
  else
11633
11633
  L.type === 2 ? W.charAt(1) == "I" ? R[`PI${Number(W.replace("PI", ""))}`] = V : R[`R${Number(W.replace("PO", ""))}`] = V : L.type === 1 && (R[J0[W]] = V);
11634
11634
  return R;
11635
- }, {}), l.value = /* @__PURE__ */ new Map(), J.value = Array.from(
11635
+ }, {}), l.value = /* @__PURE__ */ new Map(), q.value = Array.from(
11636
11636
  Object.entries(n.value).reduce((R, [L, W], V) => {
11637
- const q = Number(L);
11637
+ const J = Number(L);
11638
11638
  let Z = "";
11639
- Number.isNaN(q) ? Z = L : Z = q < 10 ? `0${q}` : L, R.set(L, {
11639
+ Number.isNaN(J) ? Z = L : Z = J < 10 ? `0${J}` : L, R.set(L, {
11640
11640
  key: L,
11641
- value: q,
11641
+ value: J,
11642
11642
  valueText: Z,
11643
11643
  index: V
11644
11644
  });
11645
11645
  const de = W.reduce((Pe, Je) => (Je.games.forEach((Ke) => {
11646
- Ke.game_id === t.defaultGameId && (c.value = L), Ke.roundAbbreviation = Number.isNaN(q) ? q : `J ${q}`;
11646
+ Ke.game_id === t.defaultGameId && (c.value = L), Ke.roundAbbreviation = Number.isNaN(J) ? J : `J ${J}`;
11647
11647
  }), Pe = Pe.concat(Je.games), Pe), []), xe = Ae(de);
11648
11648
  return l.value.set(L, xe), R;
11649
11649
  }, /* @__PURE__ */ new Map()).values()
@@ -11690,7 +11690,7 @@ const p1 = { class: "game-info__teams" }, g1 = { class: "game-info__teams__team_
11690
11690
  a("action", G), it(G);
11691
11691
  }
11692
11692
  function it(G) {
11693
- const R = "PLAY_RESUME", L = "PLAY_GOALS", W = [607, 608, 12, 55, 54, 35, 14, 52, 15, 53, 466, 477], V = [12, 55, "35_r", "54_r"], { game_id: q, season_id: Z } = G.game;
11693
+ const R = "PLAY_RESUME", L = "PLAY_GOALS", W = [607, 608, 12, 55, 54, 35, 14, 52, 15, 53, 466, 477], V = [12, 55, "35_r", "54_r"], { game_id: J, season_id: Z } = G.game;
11694
11694
  let de = {
11695
11695
  seasonId: Z,
11696
11696
  tournaments: [],
@@ -11701,7 +11701,7 @@ const p1 = { class: "game-info__teams" }, g1 = { class: "game-info__teams__team_
11701
11701
  // 1 = videoplayer, 2 = my playlists
11702
11702
  playListType: 1,
11703
11703
  // 1 = partidos, 2 = jugadores, 3 = equipos
11704
- gameIds: [q],
11704
+ gameIds: [J],
11705
11705
  // array de id de partido, en caso de no ser necesario dejar en null
11706
11706
  playerIds: [],
11707
11707
  // ids de jugador, en caso de no ser necesario dejar array vacio
@@ -11766,9 +11766,9 @@ const p1 = { class: "game-info__teams" }, g1 = { class: "game-info__teams__team_
11766
11766
  "is-round-mode": e.isRoundMode,
11767
11767
  onAction: Ye
11768
11768
  }, null, 8, ["full-tournament-schedule", "team-id", "row-height", "component-width", "games-pages", "is-pagination-visible", "is-round-mode"])) : (y(), b(U, { key: 1 }, [
11769
- e.areRoundsVisible && J.value ? (y(), K(m1, {
11769
+ e.areRoundsVisible && q.value ? (y(), K(m1, {
11770
11770
  key: 0,
11771
- "match-days": J.value,
11771
+ "match-days": q.value,
11772
11772
  "is-landing-mode": e.isLandingMode,
11773
11773
  height: "48px",
11774
11774
  "items-to-show": e.itemsToShow,
@@ -11792,7 +11792,7 @@ const p1 = { class: "game-info__teams" }, g1 = { class: "game-info__teams__team_
11792
11792
  "default-item-by-prop": e.areGamesCarouselType ? { propName: "game_id", value: e.defaultGameId } : {},
11793
11793
  onInput: nt
11794
11794
  }, {
11795
- default: re(({ item: L }) => [
11795
+ default: le(({ item: L }) => [
11796
11796
  e.areGamesCarouselType ? (y(), K(c2, {
11797
11797
  key: 0,
11798
11798
  game: L
@@ -12489,10 +12489,10 @@ var _v = lt({
12489
12489
  const f = k((i = e.modelValue) !== null && i !== void 0 ? i : 0), c = k(0), p = k(0), g = k(0), w = k(0);
12490
12490
  let C, x;
12491
12491
  ae("config", l), ae("slidesCount", u), ae("currentSlide", f), ae("maxSlide", g), ae("minSlide", w), ae("slideWidth", r);
12492
- function F() {
12493
- h = Object.assign({}, e.breakpoints), d = Object.assign(Object.assign(Object.assign({}, d), e), { i18n: Object.assign(Object.assign({}, d.i18n), e.i18n), breakpoints: void 0 }), le(d);
12492
+ function M() {
12493
+ h = Object.assign({}, e.breakpoints), d = Object.assign(Object.assign(Object.assign({}, d), e), { i18n: Object.assign(Object.assign({}, d.i18n), e.i18n), breakpoints: void 0 }), re(d);
12494
12494
  }
12495
- function J() {
12495
+ function q() {
12496
12496
  if (!h || !Object.keys(h).length)
12497
12497
  return;
12498
12498
  const _ = Object.keys(h).map((I) => Number(I)).sort((I, X) => +X - +I);
@@ -12500,13 +12500,13 @@ var _v = lt({
12500
12500
  _.some((I) => {
12501
12501
  const X = window.matchMedia(`(min-width: ${I}px)`).matches;
12502
12502
  return X && (N = Object.assign(Object.assign({}, N), h[I])), X;
12503
- }), le(N);
12503
+ }), re(N);
12504
12504
  }
12505
- function le(_) {
12505
+ function re(_) {
12506
12506
  Object.entries(_).forEach(([N, I]) => l[N] = I);
12507
12507
  }
12508
12508
  const _e = vv(() => {
12509
- J(), ie();
12509
+ q(), ie();
12510
12510
  }, 16);
12511
12511
  function ie() {
12512
12512
  if (!n.value)
@@ -12522,7 +12522,7 @@ var _v = lt({
12522
12522
  })));
12523
12523
  }
12524
12524
  Re(() => {
12525
- Sa(() => ie()), setTimeout(() => ie(), 1e3), J(), st(), window.addEventListener("resize", _e, { passive: !0 }), t("init");
12525
+ Sa(() => ie()), setTimeout(() => ie(), 1e3), q(), st(), window.addEventListener("resize", _e, { passive: !0 }), t("init");
12526
12526
  }), bt(() => {
12527
12527
  x && clearTimeout(x), C && clearInterval(C), window.removeEventListener("resize", _e, {
12528
12528
  passive: !0
@@ -12597,8 +12597,8 @@ var _v = lt({
12597
12597
  function V() {
12598
12598
  L(f.value - l.itemsToScroll);
12599
12599
  }
12600
- const q = { slideTo: L, next: W, prev: V };
12601
- ae("nav", q), ae("isSliding", R);
12600
+ const J = { slideTo: L, next: W, prev: V };
12601
+ ae("nav", J), ae("isSliding", R);
12602
12602
  const Z = z(() => yv({
12603
12603
  config: l,
12604
12604
  currentSlide: f.value,
@@ -12615,13 +12615,13 @@ var _v = lt({
12615
12615
  };
12616
12616
  });
12617
12617
  function xe() {
12618
- F(), J(), Ee(), ie(), G();
12618
+ M(), q(), Ee(), ie(), G();
12619
12619
  }
12620
12620
  Object.keys(tr).forEach((_) => {
12621
12621
  ["modelValue"].includes(_) || ne(() => e[_], xe);
12622
12622
  }), ne(() => e.modelValue, (_) => {
12623
12623
  _ !== f.value && L(Number(_));
12624
- }), ne(u, Ee), t("before-init"), F();
12624
+ }), ne(u, Ee), t("before-init"), M();
12625
12625
  const Pe = {
12626
12626
  config: l,
12627
12627
  slidesCount: u,
@@ -12635,15 +12635,15 @@ var _v = lt({
12635
12635
  middleSlide: p
12636
12636
  };
12637
12637
  o({
12638
- updateBreakpointsConfigs: J,
12638
+ updateBreakpointsConfigs: q,
12639
12639
  updateSlidesData: Ee,
12640
12640
  updateSlideWidth: ie,
12641
- initDefaultConfigs: F,
12641
+ initDefaultConfigs: M,
12642
12642
  restartCarousel: xe,
12643
12643
  slideTo: L,
12644
12644
  next: W,
12645
12645
  prev: V,
12646
- nav: q,
12646
+ nav: J,
12647
12647
  data: Pe
12648
12648
  });
12649
12649
  const Je = a.default || a.slides, Ke = a.addons, ct = Ce(Pe);
@@ -12989,14 +12989,14 @@ const Ov = {
12989
12989
  ref_key: "matchDayPickerCarousel",
12990
12990
  ref: o
12991
12991
  }), {
12992
- addons: re(() => [
12992
+ addons: le(() => [
12993
12993
  H(ee(xv))
12994
12994
  ]),
12995
- default: re(() => [
12995
+ default: le(() => [
12996
12996
  (y(!0), b(U, null, we(e.matchDays, (h) => (y(), K(ee(Tv), {
12997
12997
  key: h.key
12998
12998
  }, {
12999
- default: re(() => [
12999
+ default: le(() => [
13000
13000
  H(Av, Lt({
13001
13001
  style: e.disableMatchdays && !h.avaible ? "opacity: 0.6 !important; cursor: default !important;" : ""
13002
13002
  }, t, {
@@ -13117,7 +13117,7 @@ const Ov = {
13117
13117
  arrowsRadius: "50%",
13118
13118
  arrowsBorder: "#ddd"
13119
13119
  }, {
13120
- default: re(() => [
13120
+ default: le(() => [
13121
13121
  m("div", Lv, [
13122
13122
  H(Jo, {
13123
13123
  small: "",
@@ -13171,7 +13171,7 @@ const Ov = {
13171
13171
  arrowsRadius: "50%",
13172
13172
  arrowsBorder: "#ddd"
13173
13173
  }, {
13174
- default: re(() => [
13174
+ default: le(() => [
13175
13175
  m("div", Mv, [
13176
13176
  (y(!0), b(U, null, we(e.data, (l, d) => (y(), K(Jo, {
13177
13177
  key: d,
@@ -13198,7 +13198,7 @@ const Ov = {
13198
13198
  arrowsRadius: "50%",
13199
13199
  arrowsBorder: "#ddd"
13200
13200
  }, {
13201
- default: re(() => [
13201
+ default: le(() => [
13202
13202
  m("div", Dv, [
13203
13203
  e.data[0].game_status == 4 ? (y(), K(er, {
13204
13204
  key: 0,
@@ -14406,7 +14406,7 @@ function Vw(e, a, t, o, i, n) {
14406
14406
  arrowsRadius: "50%",
14407
14407
  arrowsBorder: "#ddd"
14408
14408
  }, {
14409
- default: re(() => [
14409
+ default: le(() => [
14410
14410
  (y(!0), b(U, null, we(n.topData, (h, f) => (y(), b("div", {
14411
14411
  key: f,
14412
14412
  class: S(["gsc-best__players__item", f == 0 ? "margin-none" : ""])
@@ -14680,10 +14680,10 @@ var Zw = lt({
14680
14680
  const f = k((i = e.modelValue) !== null && i !== void 0 ? i : 0), c = k(0), p = k(0), g = k(0), w = k(0);
14681
14681
  let C, x;
14682
14682
  ae("config", l), ae("slidesCount", u), ae("currentSlide", f), ae("maxSlide", g), ae("minSlide", w), ae("slideWidth", r);
14683
- function F() {
14684
- h = Object.assign({}, e.breakpoints), d = Object.assign(Object.assign(Object.assign({}, d), e), { i18n: Object.assign(Object.assign({}, d.i18n), e.i18n), breakpoints: void 0 }), le(d);
14683
+ function M() {
14684
+ h = Object.assign({}, e.breakpoints), d = Object.assign(Object.assign(Object.assign({}, d), e), { i18n: Object.assign(Object.assign({}, d.i18n), e.i18n), breakpoints: void 0 }), re(d);
14685
14685
  }
14686
- function J() {
14686
+ function q() {
14687
14687
  if (!h || !Object.keys(h).length)
14688
14688
  return;
14689
14689
  const _ = Object.keys(h).map((I) => Number(I)).sort((I, X) => +X - +I);
@@ -14691,13 +14691,13 @@ var Zw = lt({
14691
14691
  _.some((I) => {
14692
14692
  const X = window.matchMedia(`(min-width: ${I}px)`).matches;
14693
14693
  return X && (N = Object.assign(Object.assign({}, N), h[I])), X;
14694
- }), le(N);
14694
+ }), re(N);
14695
14695
  }
14696
- function le(_) {
14696
+ function re(_) {
14697
14697
  Object.entries(_).forEach(([N, I]) => l[N] = I);
14698
14698
  }
14699
14699
  const _e = Jw(() => {
14700
- J(), ie();
14700
+ q(), ie();
14701
14701
  }, 16);
14702
14702
  function ie() {
14703
14703
  if (!n.value)
@@ -14713,7 +14713,7 @@ var Zw = lt({
14713
14713
  })));
14714
14714
  }
14715
14715
  Re(() => {
14716
- Sa(() => ie()), setTimeout(() => ie(), 1e3), J(), st(), window.addEventListener("resize", _e, { passive: !0 }), t("init");
14716
+ Sa(() => ie()), setTimeout(() => ie(), 1e3), q(), st(), window.addEventListener("resize", _e, { passive: !0 }), t("init");
14717
14717
  }), bt(() => {
14718
14718
  x && clearTimeout(x), C && clearInterval(C), window.removeEventListener("resize", _e, {
14719
14719
  passive: !0
@@ -14788,8 +14788,8 @@ var Zw = lt({
14788
14788
  function V() {
14789
14789
  L(f.value - l.itemsToScroll);
14790
14790
  }
14791
- const q = { slideTo: L, next: W, prev: V };
14792
- ae("nav", q), ae("isSliding", R);
14791
+ const J = { slideTo: L, next: W, prev: V };
14792
+ ae("nav", J), ae("isSliding", R);
14793
14793
  const Z = z(() => Gw({
14794
14794
  config: l,
14795
14795
  currentSlide: f.value,
@@ -14806,13 +14806,13 @@ var Zw = lt({
14806
14806
  };
14807
14807
  });
14808
14808
  function xe() {
14809
- F(), J(), Ee(), ie(), G();
14809
+ M(), q(), Ee(), ie(), G();
14810
14810
  }
14811
14811
  Object.keys(lr).forEach((_) => {
14812
14812
  ["modelValue"].includes(_) || ne(() => e[_], xe);
14813
14813
  }), ne(() => e.modelValue, (_) => {
14814
14814
  _ !== f.value && L(Number(_));
14815
- }), ne(u, Ee), t("before-init"), F();
14815
+ }), ne(u, Ee), t("before-init"), M();
14816
14816
  const Pe = {
14817
14817
  config: l,
14818
14818
  slidesCount: u,
@@ -14826,15 +14826,15 @@ var Zw = lt({
14826
14826
  middleSlide: p
14827
14827
  };
14828
14828
  o({
14829
- updateBreakpointsConfigs: J,
14829
+ updateBreakpointsConfigs: q,
14830
14830
  updateSlidesData: Ee,
14831
14831
  updateSlideWidth: ie,
14832
- initDefaultConfigs: F,
14832
+ initDefaultConfigs: M,
14833
14833
  restartCarousel: xe,
14834
14834
  slideTo: L,
14835
14835
  next: W,
14836
14836
  prev: V,
14837
- nav: q,
14837
+ nav: J,
14838
14838
  data: Pe
14839
14839
  });
14840
14840
  const Je = a.default || a.slides, Ke = a.addons, ct = Ce(Pe);
@@ -15126,9 +15126,9 @@ const Qw = (e, a) => {
15126
15126
  "wrap-around": e.wrapAround,
15127
15127
  onSlideStart: p
15128
15128
  }, {
15129
- default: re(() => [
15129
+ default: le(() => [
15130
15130
  (y(!0), b(U, null, we(e.items, (C, x) => (y(), K(ee(Yw), { key: x }, {
15131
- default: re(() => [
15131
+ default: le(() => [
15132
15132
  at(g.$slots, "default", { item: C }, void 0, !0)
15133
15133
  ]),
15134
15134
  _: 2
@@ -15197,7 +15197,7 @@ const Qw = (e, a) => {
15197
15197
  backgroundColor: `${s.value === x ? o.navigationActiveColor : o.navigationColor}`,
15198
15198
  transition: "all 0.1s ease-in-out"
15199
15199
  }),
15200
- onClick: (F) => c(x)
15200
+ onClick: (M) => c(x)
15201
15201
  }, null, 12, p_))), 128))
15202
15202
  ])) : T("", !0),
15203
15203
  e.areNavigationArrowsVisible ? (y(), b("div", {
@@ -15787,7 +15787,7 @@ function ko(e = 0, a = !1, t = !1) {
15787
15787
  const n = u5(e), s = m5(e);
15788
15788
  return i = a || i > 0 ? `${i}:` : "", `${t && e > 0 ? "-" : ""}${i}${o(n)}:${o(s)}`;
15789
15789
  }
15790
- const M = { getIconUrl() {
15790
+ const F = { getIconUrl() {
15791
15791
  const e = new URL(this.config.iconUrl, window.location), a = window.location.host ? window.location.host : window.top.location.host, t = e.host !== a || Xe.isIE && !window.svg4everybody;
15792
15792
  return { url: this.config.iconUrl, cors: t };
15793
15793
  }, findElements() {
@@ -15797,7 +15797,7 @@ const M = { getIconUrl() {
15797
15797
  return this.debug.warn("It looks like there is a problem with your custom controls HTML", e), this.toggleNativeControls(!0), !1;
15798
15798
  }
15799
15799
  }, createIcon(e, a) {
15800
- const t = "http://www.w3.org/2000/svg", o = M.getIconUrl.call(this), i = `${o.cors ? "" : o.url}#${this.config.iconPrefix}`, n = document.createElementNS(t, "svg");
15800
+ const t = "http://www.w3.org/2000/svg", o = F.getIconUrl.call(this), i = `${o.cors ? "" : o.url}#${this.config.iconPrefix}`, n = document.createElementNS(t, "svg");
15801
15801
  Ln(n, Ne(a, { "aria-hidden": "true", focusable: "false" }));
15802
15802
  const s = document.createElementNS(t, "use"), r = `${i}-${e}`;
15803
15803
  return "href" in s && s.setAttributeNS("http://www.w3.org/1999/xlink", "href", r), s.setAttributeNS("http://www.w3.org/1999/xlink", "xlink:href", r), n.appendChild(s), n;
@@ -15835,10 +15835,10 @@ const M = { getIconUrl() {
15835
15835
  v.empty(i.label) && (i.label = o), v.empty(i.icon) && (i.icon = e);
15836
15836
  }
15837
15837
  const n = Y(i.element);
15838
- return i.toggle ? (n.appendChild(M.createIcon.call(this, i.iconPressed, { class: "icon--pressed" })), n.appendChild(M.createIcon.call(this, i.icon, { class: "icon--not-pressed" })), n.appendChild(M.createLabel.call(this, i.labelPressed, { class: "label--pressed" })), n.appendChild(M.createLabel.call(this, i.label, { class: "label--not-pressed" }))) : (n.appendChild(M.createIcon.call(this, i.icon)), n.appendChild(M.createLabel.call(this, i.label))), Ne(t, wt(this.config.selectors.buttons[o], t)), Ln(n, t), o === "play" ? (v.array(this.elements.buttons[o]) || (this.elements.buttons[o] = []), this.elements.buttons[o].push(n)) : this.elements.buttons[o] = n, n;
15838
+ return i.toggle ? (n.appendChild(F.createIcon.call(this, i.iconPressed, { class: "icon--pressed" })), n.appendChild(F.createIcon.call(this, i.icon, { class: "icon--not-pressed" })), n.appendChild(F.createLabel.call(this, i.labelPressed, { class: "label--pressed" })), n.appendChild(F.createLabel.call(this, i.label, { class: "label--not-pressed" }))) : (n.appendChild(F.createIcon.call(this, i.icon)), n.appendChild(F.createLabel.call(this, i.label))), Ne(t, wt(this.config.selectors.buttons[o], t)), Ln(n, t), o === "play" ? (v.array(this.elements.buttons[o]) || (this.elements.buttons[o] = []), this.elements.buttons[o].push(n)) : this.elements.buttons[o] = n, n;
15839
15839
  }, createRange(e, a) {
15840
15840
  const t = Y("input", Ne(wt(this.config.selectors.inputs[e]), { type: "range", min: 0, max: 100, step: 0.01, value: 0, autocomplete: "off", role: "slider", "aria-label": Ze.get(e, this.config), "aria-valuemin": 0, "aria-valuemax": 100, "aria-valuenow": 0 }, a));
15841
- return this.elements.inputs[e] = t, M.updateRangeFill.call(this, t), R_.setup(t), t;
15841
+ return this.elements.inputs[e] = t, F.updateRangeFill.call(this, t), R_.setup(t), t;
15842
15842
  }, createProgress(e, a) {
15843
15843
  const t = Y("progress", Ne(wt(this.config.selectors.display[e]), { min: 0, max: 100, value: 0, role: "progressbar", "aria-hidden": !0 }, a));
15844
15844
  if (e !== "volume") {
@@ -15856,13 +15856,13 @@ const M = { getIconUrl() {
15856
15856
  return;
15857
15857
  const o = qt(e, '[role="menuitemradio"]');
15858
15858
  if (!o && [" ", "ArrowRight"].includes(t.key))
15859
- M.showMenuPanel.call(this, a, !0);
15859
+ F.showMenuPanel.call(this, a, !0);
15860
15860
  else {
15861
15861
  let i;
15862
15862
  t.key !== " " && (t.key === "ArrowDown" || o && t.key === "ArrowRight" ? (i = e.nextElementSibling, v.element(i) || (i = e.parentNode.firstElementChild)) : (i = e.previousElementSibling, v.element(i) || (i = e.parentNode.lastElementChild)), Ko.call(this, i, !0));
15863
15863
  }
15864
15864
  }, !1), ge.call(this, e, "keyup", (t) => {
15865
- t.key === "Return" && M.focusFirstMenuItem.call(this, null, !0);
15865
+ t.key === "Return" && F.focusFirstMenuItem.call(this, null, !0);
15866
15866
  });
15867
15867
  }, createMenuItem({ value: e, list: a, type: t, title: o, badge: i = null, checked: n = !1 }) {
15868
15868
  const s = wt(this.config.selectors.inputs[t]), r = Y("button", Ne(s, { type: "button", role: "menuitemradio", class: `${this.config.classNames.control} ${s.class ? s.class : ""}`.trim(), "aria-checked": n, value: e })), u = Y("span");
@@ -15880,17 +15880,17 @@ const M = { getIconUrl() {
15880
15880
  case "speed":
15881
15881
  this.speed = parseFloat(e);
15882
15882
  }
15883
- M.showMenuPanel.call(this, "home", v.keyboardEvent(l));
15883
+ F.showMenuPanel.call(this, "home", v.keyboardEvent(l));
15884
15884
  }
15885
- }, t, !1), M.bindMenuItemShortcuts.call(this, r, t), a.appendChild(r);
15885
+ }, t, !1), F.bindMenuItemShortcuts.call(this, r, t), a.appendChild(r);
15886
15886
  }, formatTime(e = 0, a = !1) {
15887
15887
  return v.number(e) ? ko(e, qc(this.duration) > 0, a) : e;
15888
15888
  }, updateTimeDisplay(e = null, a = 0, t = !1) {
15889
- v.element(e) && v.number(a) && (e.innerText = M.formatTime(a, t));
15889
+ v.element(e) && v.number(a) && (e.innerText = F.formatTime(a, t));
15890
15890
  }, updateVolume() {
15891
- this.supported.ui && (v.element(this.elements.inputs.volume) && M.setRange.call(this, this.elements.inputs.volume, this.muted ? 0 : this.volume), v.element(this.elements.buttons.mute) && (this.elements.buttons.mute.pressed = this.muted || this.volume === 0));
15891
+ this.supported.ui && (v.element(this.elements.inputs.volume) && F.setRange.call(this, this.elements.inputs.volume, this.muted ? 0 : this.volume), v.element(this.elements.buttons.mute) && (this.elements.buttons.mute.pressed = this.muted || this.volume === 0));
15892
15892
  }, setRange(e, a = 0) {
15893
- v.element(e) && (e.value = a, M.updateRangeFill.call(this, e));
15893
+ v.element(e) && (e.value = a, F.updateRangeFill.call(this, e));
15894
15894
  }, updateProgress(e) {
15895
15895
  if (!this.supported.ui || !v.event(e))
15896
15896
  return;
@@ -15908,7 +15908,7 @@ const M = { getIconUrl() {
15908
15908
  case "timeupdate":
15909
15909
  case "seeking":
15910
15910
  case "seeked":
15911
- a = s5(this.currentTime, this.duration), e.type === "timeupdate" && M.setRange.call(this, this.elements.inputs.seek, a);
15911
+ a = s5(this.currentTime, this.duration), e.type === "timeupdate" && F.setRange.call(this, this.elements.inputs.seek, a);
15912
15912
  break;
15913
15913
  case "playing":
15914
15914
  case "progress":
@@ -15919,7 +15919,7 @@ const M = { getIconUrl() {
15919
15919
  if (v.element(a) && a.getAttribute("type") === "range") {
15920
15920
  if (qt(a, this.config.selectors.inputs.seek)) {
15921
15921
  a.setAttribute("aria-valuenow", this.currentTime);
15922
- const t = M.formatTime(this.currentTime), o = M.formatTime(this.duration), i = Ze.get("seekLabel", this.config);
15922
+ const t = F.formatTime(this.currentTime), o = F.formatTime(this.duration), i = Ze.get("seekLabel", this.config);
15923
15923
  a.setAttribute("aria-valuetext", i.replace("{currentTime}", t).replace("{duration}", o));
15924
15924
  } else if (qt(a, this.config.selectors.inputs.volume)) {
15925
15925
  const t = 100 * a.value;
@@ -15946,12 +15946,12 @@ const M = { getIconUrl() {
15946
15946
  }
15947
15947
  s < 0 ? s = 0 : s > 100 && (s = 100);
15948
15948
  const u = this.duration / 100 * s;
15949
- o.innerText = M.formatTime(u);
15949
+ o.innerText = F.formatTime(u);
15950
15950
  const l = (a = this.config.markers) === null || a === void 0 || (t = a.points) === null || t === void 0 ? void 0 : t.find(({ time: d }) => d === Math.round(u));
15951
15951
  l && o.insertAdjacentHTML("afterbegin", `${l.label}<br>`), o.style.left = `${s}%`, v.event(e) && ["mouseenter", "mouseleave"].includes(e.type) && n(e.type === "mouseenter");
15952
15952
  }, timeUpdate(e) {
15953
15953
  const a = !v.element(this.elements.display.duration) && this.config.invertTime;
15954
- M.updateTimeDisplay.call(this, this.elements.display.currentTime, a ? this.duration - this.currentTime : this.currentTime, a), e && e.type === "timeupdate" && this.media.seeking || M.updateProgress.call(this, e);
15954
+ F.updateTimeDisplay.call(this, this.elements.display.currentTime, a ? this.duration - this.currentTime : this.currentTime, a), e && e.type === "timeupdate" && this.media.seeking || F.updateProgress.call(this, e);
15955
15955
  }, durationUpdate() {
15956
15956
  if (!this.supported.ui || !this.config.invertTime && this.currentTime)
15957
15957
  return;
@@ -15959,7 +15959,7 @@ const M = { getIconUrl() {
15959
15959
  return Gt(this.elements.display.currentTime, !0), void Gt(this.elements.progress, !0);
15960
15960
  v.element(this.elements.inputs.seek) && this.elements.inputs.seek.setAttribute("aria-valuemax", this.duration);
15961
15961
  const e = v.element(this.elements.display.duration);
15962
- !e && this.config.displayDuration && this.paused && M.updateTimeDisplay.call(this, this.elements.display.currentTime, this.duration), e && M.updateTimeDisplay.call(this, this.elements.display.duration, this.duration), this.config.markers.enabled && M.setMarkers.call(this), M.updateSeekTooltip.call(this);
15962
+ !e && this.config.displayDuration && this.paused && F.updateTimeDisplay.call(this, this.elements.display.currentTime, this.duration), e && F.updateTimeDisplay.call(this, this.elements.display.duration, this.duration), this.config.markers.enabled && F.setMarkers.call(this), F.updateSeekTooltip.call(this);
15963
15963
  }, toggleMenuButton(e, a) {
15964
15964
  Gt(this.elements.settings.buttons[e], !a);
15965
15965
  }, updateSetting(e, a, t) {
@@ -15975,7 +15975,7 @@ const M = { getIconUrl() {
15975
15975
  }
15976
15976
  if (v.element(n) || (n = o && o.querySelector('[role="menu"]')), !v.element(n))
15977
15977
  return;
15978
- this.elements.settings.buttons[e].querySelector(`.${this.config.classNames.menu.value}`).innerHTML = M.getLabel.call(this, e, i);
15978
+ this.elements.settings.buttons[e].querySelector(`.${this.config.classNames.menu.value}`).innerHTML = F.getLabel.call(this, e, i);
15979
15979
  const s = n && n.querySelector(`[value="${i}"]`);
15980
15980
  v.element(s) && (s.checked = !0);
15981
15981
  }, getLabel(e, a) {
@@ -15999,35 +15999,35 @@ const M = { getIconUrl() {
15999
15999
  const a = "quality", t = this.elements.settings.panels.quality.querySelector('[role="menu"]');
16000
16000
  v.array(e) && (this.options.quality = Mn(e).filter((n) => this.config.quality.options.includes(n)));
16001
16001
  const o = !v.empty(this.options.quality) && this.options.quality.length > 1;
16002
- if (M.toggleMenuButton.call(this, a, o), Ga(t), M.checkMenu.call(this), !o)
16002
+ if (F.toggleMenuButton.call(this, a, o), Ga(t), F.checkMenu.call(this), !o)
16003
16003
  return;
16004
16004
  const i = (n) => {
16005
16005
  const s = Ze.get(`qualityBadge.${n}`, this.config);
16006
- return s.length ? M.createBadge.call(this, s) : null;
16006
+ return s.length ? F.createBadge.call(this, s) : null;
16007
16007
  };
16008
16008
  this.options.quality.sort((n, s) => {
16009
16009
  const r = this.config.quality.options;
16010
16010
  return r.indexOf(n) > r.indexOf(s) ? 1 : -1;
16011
16011
  }).forEach((n) => {
16012
- M.createMenuItem.call(this, { value: n, list: t, type: a, title: M.getLabel.call(this, "quality", n), badge: i(n) });
16013
- }), M.updateSetting.call(this, a, t);
16012
+ F.createMenuItem.call(this, { value: n, list: t, type: a, title: F.getLabel.call(this, "quality", n), badge: i(n) });
16013
+ }), F.updateSetting.call(this, a, t);
16014
16014
  }, setCaptionsMenu() {
16015
16015
  if (!v.element(this.elements.settings.panels.captions))
16016
16016
  return;
16017
16017
  const e = "captions", a = this.elements.settings.panels.captions.querySelector('[role="menu"]'), t = fe.getTracks.call(this), o = !!t.length;
16018
- if (M.toggleMenuButton.call(this, e, o), Ga(a), M.checkMenu.call(this), !o)
16018
+ if (F.toggleMenuButton.call(this, e, o), Ga(a), F.checkMenu.call(this), !o)
16019
16019
  return;
16020
- const i = t.map((n, s) => ({ value: s, checked: this.captions.toggled && this.currentTrack === s, title: fe.getLabel.call(this, n), badge: n.language && M.createBadge.call(this, n.language.toUpperCase()), list: a, type: "language" }));
16021
- i.unshift({ value: -1, checked: !this.captions.toggled, title: Ze.get("disabled", this.config), list: a, type: "language" }), i.forEach(M.createMenuItem.bind(this)), M.updateSetting.call(this, e, a);
16020
+ const i = t.map((n, s) => ({ value: s, checked: this.captions.toggled && this.currentTrack === s, title: fe.getLabel.call(this, n), badge: n.language && F.createBadge.call(this, n.language.toUpperCase()), list: a, type: "language" }));
16021
+ i.unshift({ value: -1, checked: !this.captions.toggled, title: Ze.get("disabled", this.config), list: a, type: "language" }), i.forEach(F.createMenuItem.bind(this)), F.updateSetting.call(this, e, a);
16022
16022
  }, setSpeedMenu() {
16023
16023
  if (!v.element(this.elements.settings.panels.speed))
16024
16024
  return;
16025
16025
  const e = "speed", a = this.elements.settings.panels.speed.querySelector('[role="menu"]');
16026
16026
  this.options.speed = this.options.speed.filter((o) => o >= this.minimumSpeed && o <= this.maximumSpeed);
16027
16027
  const t = !v.empty(this.options.speed) && this.options.speed.length > 1;
16028
- M.toggleMenuButton.call(this, e, t), Ga(a), M.checkMenu.call(this), t && (this.options.speed.forEach((o) => {
16029
- M.createMenuItem.call(this, { value: o, list: a, type: e, title: M.getLabel.call(this, "speed", o) });
16030
- }), M.updateSetting.call(this, e, a));
16028
+ F.toggleMenuButton.call(this, e, t), Ga(a), F.checkMenu.call(this), t && (this.options.speed.forEach((o) => {
16029
+ F.createMenuItem.call(this, { value: o, list: a, type: e, title: F.getLabel.call(this, "speed", o) });
16030
+ }), F.updateSetting.call(this, e, a));
16031
16031
  }, checkMenu() {
16032
16032
  const { buttons: e } = this.elements.settings, a = !v.empty(e) && Object.values(e).some((t) => !t.hidden);
16033
16033
  Gt(this.elements.settings.menu, !a);
@@ -16053,7 +16053,7 @@ const M = { getIconUrl() {
16053
16053
  if (s || !s && e.target !== t && i)
16054
16054
  return;
16055
16055
  }
16056
- t.setAttribute("aria-expanded", i), Gt(a, !i), ve(this.elements.container, this.config.classNames.menu.open, i), i && v.keyboardEvent(e) ? M.focusFirstMenuItem.call(this, null, !0) : i || o || Ko.call(this, t, v.keyboardEvent(e));
16056
+ t.setAttribute("aria-expanded", i), Gt(a, !i), ve(this.elements.container, this.config.classNames.menu.open, i), i && v.keyboardEvent(e) ? F.focusFirstMenuItem.call(this, null, !0) : i || o || Ko.call(this, t, v.keyboardEvent(e));
16057
16057
  }, getMenuSize(e) {
16058
16058
  const a = e.cloneNode(!0);
16059
16059
  a.style.position = "absolute", a.style.opacity = 0, a.removeAttribute("hidden"), e.parentNode.appendChild(a);
@@ -16066,17 +16066,17 @@ const M = { getIconUrl() {
16066
16066
  const o = t.parentNode, i = Array.from(o.children).find((n) => !n.hidden);
16067
16067
  if (Le.transitions && !Le.reducedMotion) {
16068
16068
  o.style.width = `${i.scrollWidth}px`, o.style.height = `${i.scrollHeight}px`;
16069
- const n = M.getMenuSize.call(this, t), s = (r) => {
16069
+ const n = F.getMenuSize.call(this, t), s = (r) => {
16070
16070
  r.target === o && ["width", "height"].includes(r.propertyName) && (o.style.width = "", o.style.height = "", Co.call(this, o, Nn, s));
16071
16071
  };
16072
16072
  ge.call(this, o, Nn, s), o.style.width = `${n.width}px`, o.style.height = `${n.height}px`;
16073
16073
  }
16074
- Gt(i, !0), Gt(t, !1), M.focusFirstMenuItem.call(this, t, a);
16074
+ Gt(i, !0), Gt(t, !1), F.focusFirstMenuItem.call(this, t, a);
16075
16075
  }, setDownloadUrl() {
16076
16076
  const e = this.elements.buttons.download;
16077
16077
  v.element(e) && e.setAttribute("href", this.download);
16078
16078
  }, create(e) {
16079
- const { bindMenuItemShortcuts: a, createButton: t, createProgress: o, createRange: i, createTime: n, setQualityMenu: s, setSpeedMenu: r, showMenuPanel: u } = M;
16079
+ const { bindMenuItemShortcuts: a, createButton: t, createProgress: o, createRange: i, createTime: n, setQualityMenu: s, setSpeedMenu: r, showMenuPanel: u } = F;
16080
16080
  this.elements.controls = null, v.array(this.config.controls) && this.config.controls.includes("play-large") && this.elements.container.appendChild(t.call(this, "play-large"));
16081
16081
  const l = Y("div", wt(this.config.selectors.controls.wrapper));
16082
16082
  this.elements.controls = l;
@@ -16106,14 +16106,14 @@ const M = { getIconUrl() {
16106
16106
  a.call(this, x, C), ge.call(this, x, "click", () => {
16107
16107
  u.call(this, C, !1);
16108
16108
  });
16109
- const F = Y("span", null, Ze.get(C, this.config)), J = Y("span", { class: this.config.classNames.menu.value });
16110
- J.innerHTML = e[C], F.appendChild(J), x.appendChild(F), w.appendChild(x);
16111
- const le = Y("div", { id: `plyr-settings-${e.id}-${C}`, hidden: "" }), _e = Y("button", { type: "button", class: `${this.config.classNames.control} ${this.config.classNames.control}--back` });
16112
- _e.appendChild(Y("span", { "aria-hidden": !0 }, Ze.get(C, this.config))), _e.appendChild(Y("span", { class: this.config.classNames.hidden }, Ze.get("menuBack", this.config))), ge.call(this, le, "keydown", (ie) => {
16109
+ const M = Y("span", null, Ze.get(C, this.config)), q = Y("span", { class: this.config.classNames.menu.value });
16110
+ q.innerHTML = e[C], M.appendChild(q), x.appendChild(M), w.appendChild(x);
16111
+ const re = Y("div", { id: `plyr-settings-${e.id}-${C}`, hidden: "" }), _e = Y("button", { type: "button", class: `${this.config.classNames.control} ${this.config.classNames.control}--back` });
16112
+ _e.appendChild(Y("span", { "aria-hidden": !0 }, Ze.get(C, this.config))), _e.appendChild(Y("span", { class: this.config.classNames.hidden }, Ze.get("menuBack", this.config))), ge.call(this, re, "keydown", (ie) => {
16113
16113
  ie.key === "ArrowLeft" && (ie.preventDefault(), ie.stopPropagation(), u.call(this, "home", !0));
16114
16114
  }, !1), ge.call(this, _e, "click", () => {
16115
16115
  u.call(this, "home", !1);
16116
- }), le.appendChild(_e), le.appendChild(Y("div", { role: "menu" })), p.appendChild(le), this.elements.settings.buttons[C] = x, this.elements.settings.panels[C] = le;
16116
+ }), re.appendChild(_e), re.appendChild(Y("div", { role: "menu" })), p.appendChild(re), this.elements.settings.buttons[C] = x, this.elements.settings.panels[C] = re;
16117
16117
  }), c.appendChild(p), f.appendChild(c), l.appendChild(f), this.elements.settings.popup = c, this.elements.settings.menu = f;
16118
16118
  }
16119
16119
  if (h === "pip" && Le.pip && l.appendChild(t.call(this, "pip", d)), h === "airplay" && Le.airplay && l.appendChild(t.call(this, "airplay", d)), h === "download") {
@@ -16126,7 +16126,7 @@ const M = { getIconUrl() {
16126
16126
  }), this.isHTML5 && s.call(this, Wt.getQualityOptions.call(this)), r.call(this), l;
16127
16127
  }, inject() {
16128
16128
  if (this.config.loadSprite) {
16129
- const i = M.getIconUrl.call(this);
16129
+ const i = F.getIconUrl.call(this);
16130
16130
  i.cors && Gc(i.url, "sprite-plyr");
16131
16131
  }
16132
16132
  this.id = Math.floor(1e4 * Math.random());
@@ -16134,14 +16134,14 @@ const M = { getIconUrl() {
16134
16134
  this.elements.controls = null;
16135
16135
  const a = { id: this.id, seektime: this.config.seekTime, title: this.config.title };
16136
16136
  let t = !0;
16137
- v.function(this.config.controls) && (this.config.controls = this.config.controls.call(this, a)), this.config.controls || (this.config.controls = []), v.element(this.config.controls) || v.string(this.config.controls) ? e = this.config.controls : (e = M.create.call(this, { id: this.id, seektime: this.config.seekTime, speed: this.speed, quality: this.quality, captions: fe.getLabel.call(this) }), t = !1);
16137
+ v.function(this.config.controls) && (this.config.controls = this.config.controls.call(this, a)), this.config.controls || (this.config.controls = []), v.element(this.config.controls) || v.string(this.config.controls) ? e = this.config.controls : (e = F.create.call(this, { id: this.id, seektime: this.config.seekTime, speed: this.speed, quality: this.quality, captions: fe.getLabel.call(this) }), t = !1);
16138
16138
  let o;
16139
16139
  if (t && v.string(this.config.controls) && (e = ((i) => {
16140
16140
  let n = i;
16141
16141
  return Object.entries(a).forEach(([s, r]) => {
16142
16142
  n = ha(n, `{${s}}`, r);
16143
16143
  }), n;
16144
- })(e)), v.string(this.config.selectors.controls.container) && (o = document.querySelector(this.config.selectors.controls.container)), v.element(o) || (o = this.elements.container), o[v.element(e) ? "insertAdjacentElement" : "insertAdjacentHTML"]("afterbegin", e), v.element(this.elements.controls) || M.findElements.call(this), !v.empty(this.elements.buttons)) {
16144
+ })(e)), v.string(this.config.selectors.controls.container) && (o = document.querySelector(this.config.selectors.controls.container)), v.element(o) || (o = this.elements.container), o[v.element(e) ? "insertAdjacentElement" : "insertAdjacentHTML"]("afterbegin", e), v.element(this.elements.controls) || F.findElements.call(this), !v.empty(this.elements.buttons)) {
16145
16145
  const i = (n) => {
16146
16146
  const s = this.config.classNames.controlPressed;
16147
16147
  n.setAttribute("aria-pressed", "false"), Object.defineProperty(n, "pressed", { configurable: !0, enumerable: !0, get: () => ao(n, s), set(r = !1) {
@@ -16206,7 +16206,7 @@ const fe = { setup() {
16206
16206
  if (!this.supported.ui)
16207
16207
  return;
16208
16208
  if (!this.isVideo || this.isYouTube || this.isHTML5 && !Le.textTracks)
16209
- return void (v.array(this.config.controls) && this.config.controls.includes("settings") && this.config.settings.includes("captions") && M.setCaptionsMenu.call(this));
16209
+ return void (v.array(this.config.controls) && this.config.controls.includes("settings") && this.config.settings.includes("captions") && F.setCaptionsMenu.call(this));
16210
16210
  if (v.element(this.elements.captions) || (this.elements.captions = Y("div", wt(this.config.selectors.captions)), this.elements.captions.setAttribute("dir", "auto"), Q_(this.elements.captions, this.elements.wrapper)), Xe.isIE && window.URL) {
16211
16211
  const o = this.media.querySelectorAll("track");
16212
16212
  Array.from(o).forEach((i) => {
@@ -16231,7 +16231,7 @@ const fe = { setup() {
16231
16231
  const e = fe.getTracks.call(this, !0), { active: a, language: t, meta: o, currentTrackNode: i } = this.captions, n = !!e.find((s) => s.language === t);
16232
16232
  this.isHTML5 && this.isVideo && e.filter((s) => !o.get(s)).forEach((s) => {
16233
16233
  this.debug.log("Track added", s), o.set(s, { default: s.mode === "showing" }), s.mode === "showing" && (s.mode = "hidden"), ge.call(this, s, "cuechange", () => fe.updateCues.call(this));
16234
- }), (n && this.language !== t || !e.includes(i)) && (fe.setLanguage.call(this, t), fe.toggle.call(this, a && n)), this.elements && ve(this.elements.container, this.config.classNames.captions.enabled, !v.empty(e)), v.array(this.config.controls) && this.config.controls.includes("settings") && this.config.settings.includes("captions") && M.setCaptionsMenu.call(this);
16234
+ }), (n && this.language !== t || !e.includes(i)) && (fe.setLanguage.call(this, t), fe.toggle.call(this, a && n)), this.elements && ve(this.elements.container, this.config.classNames.captions.enabled, !v.empty(e)), v.array(this.config.controls) && this.config.controls.includes("settings") && this.config.settings.includes("captions") && F.setCaptionsMenu.call(this);
16235
16235
  }, toggle(e, a = !0) {
16236
16236
  if (!this.supported.ui)
16237
16237
  return;
@@ -16241,7 +16241,7 @@ const fe = { setup() {
16241
16241
  const n = fe.getTracks.call(this), s = fe.findTrack.call(this, [this.captions.language, ...this.captions.languages], !0);
16242
16242
  return this.captions.language = s.language, void fe.set.call(this, n.indexOf(s));
16243
16243
  }
16244
- this.elements.buttons.captions && (this.elements.buttons.captions.pressed = i), ve(this.elements.container, o, i), this.captions.toggled = i, M.updateSetting.call(this, "captions"), Q.call(this, this.media, i ? "captionsenabled" : "captionsdisabled");
16244
+ this.elements.buttons.captions && (this.elements.buttons.captions.pressed = i), ve(this.elements.container, o, i), this.captions.toggled = i, F.updateSetting.call(this, "captions"), Q.call(this, this.media, i ? "captionsenabled" : "captionsdisabled");
16245
16245
  }
16246
16246
  setTimeout(() => {
16247
16247
  i && this.captions.toggled && (this.captions.currentTrackNode.mode = "hidden");
@@ -16254,7 +16254,7 @@ const fe = { setup() {
16254
16254
  if (this.captions.currentTrack !== e) {
16255
16255
  this.captions.currentTrack = e;
16256
16256
  const o = t[e], { language: i } = o || {};
16257
- this.captions.currentTrackNode = o, M.updateSetting.call(this, "captions"), a || (this.captions.language = i, this.storage.set({ language: i })), this.isVimeo && this.embed.enableTextTrack(i), Q.call(this, this.media, "languagechange");
16257
+ this.captions.currentTrackNode = o, F.updateSetting.call(this, "captions"), a || (this.captions.language = i, this.storage.set({ language: i })), this.isVimeo && this.embed.enableTextTrack(i), Q.call(this, this.media, "languagechange");
16258
16258
  }
16259
16259
  fe.toggle.call(this, !0, a), this.isHTML5 && this.isVideo && fe.updateCues.call(this);
16260
16260
  } else
@@ -16418,10 +16418,10 @@ const Te = { addStyleHook() {
16418
16418
  }, build() {
16419
16419
  if (this.listeners.media(), !this.supported.ui)
16420
16420
  return this.debug.warn(`Basic support only for ${this.provider} ${this.type}`), void Te.toggleNativeControls.call(this, !0);
16421
- v.element(this.elements.controls) || (M.inject.call(this), this.listeners.controls()), Te.toggleNativeControls.call(this), this.isHTML5 && fe.setup.call(this), this.volume = null, this.muted = null, this.loop = null, this.quality = null, this.speed = null, M.updateVolume.call(this), M.timeUpdate.call(this), M.durationUpdate.call(this), Te.checkPlaying.call(this), ve(this.elements.container, this.config.classNames.pip.supported, Le.pip && this.isHTML5 && this.isVideo), ve(this.elements.container, this.config.classNames.airplay.supported, Le.airplay && this.isHTML5), ve(this.elements.container, this.config.classNames.isTouch, this.touch), this.ready = !0, setTimeout(() => {
16421
+ v.element(this.elements.controls) || (F.inject.call(this), this.listeners.controls()), Te.toggleNativeControls.call(this), this.isHTML5 && fe.setup.call(this), this.volume = null, this.muted = null, this.loop = null, this.quality = null, this.speed = null, F.updateVolume.call(this), F.timeUpdate.call(this), F.durationUpdate.call(this), Te.checkPlaying.call(this), ve(this.elements.container, this.config.classNames.pip.supported, Le.pip && this.isHTML5 && this.isVideo), ve(this.elements.container, this.config.classNames.airplay.supported, Le.airplay && this.isHTML5), ve(this.elements.container, this.config.classNames.isTouch, this.touch), this.ready = !0, setTimeout(() => {
16422
16422
  Q.call(this, this.media, "ready");
16423
16423
  }, 0), Te.setTitle.call(this), this.poster && Te.setPoster.call(this, this.poster, !1).catch(() => {
16424
- }), this.config.duration && M.durationUpdate.call(this), this.config.mediaMetadata && M.setMediaMetadata.call(this);
16424
+ }), this.config.duration && F.durationUpdate.call(this), this.config.mediaMetadata && F.setMediaMetadata.call(this);
16425
16425
  }, setTitle() {
16426
16426
  let e = Ze.get("play", this.config);
16427
16427
  if (v.string(this.config.title) && !v.empty(this.config.title) && (e += `, ${this.config.title}`), Array.from(this.elements.buttons.play || []).forEach((a) => {
@@ -16494,9 +16494,9 @@ class g5 {
16494
16494
  });
16495
16495
  }), D(this, "media", () => {
16496
16496
  const { player: t } = this, { elements: o } = t;
16497
- if (ge.call(t, t.media, "timeupdate seeking seeked", (n) => M.timeUpdate.call(t, n)), ge.call(t, t.media, "durationchange loadeddata loadedmetadata", (n) => M.durationUpdate.call(t, n)), ge.call(t, t.media, "ended", () => {
16497
+ if (ge.call(t, t.media, "timeupdate seeking seeked", (n) => F.timeUpdate.call(t, n)), ge.call(t, t.media, "durationchange loadeddata loadedmetadata", (n) => F.durationUpdate.call(t, n)), ge.call(t, t.media, "ended", () => {
16498
16498
  t.isHTML5 && t.isVideo && t.config.resetOnEnd && (t.restart(), t.pause());
16499
- }), ge.call(t, t.media, "progress playing seeking seeked", (n) => M.updateProgress.call(t, n)), ge.call(t, t.media, "volumechange", (n) => M.updateVolume.call(t, n)), ge.call(t, t.media, "playing play pause ended emptied timeupdate", (n) => Te.checkPlaying.call(t, n)), ge.call(t, t.media, "waiting canplay seeked playing", (n) => Te.checkLoading.call(t, n)), t.supported.ui && t.config.clickToPlay && !t.isAudio) {
16499
+ }), ge.call(t, t.media, "progress playing seeking seeked", (n) => F.updateProgress.call(t, n)), ge.call(t, t.media, "volumechange", (n) => F.updateVolume.call(t, n)), ge.call(t, t.media, "playing play pause ended emptied timeupdate", (n) => Te.checkPlaying.call(t, n)), ge.call(t, t.media, "waiting canplay seeked playing", (n) => Te.checkLoading.call(t, n)), t.supported.ui && t.config.clickToPlay && !t.isAudio) {
16500
16500
  const n = He.call(t, `.${t.config.classNames.video}`);
16501
16501
  if (!v.element(n))
16502
16502
  return;
@@ -16513,11 +16513,11 @@ class g5 {
16513
16513
  }, !1), ge.call(t, t.media, "volumechange", () => {
16514
16514
  t.storage.set({ volume: t.volume, muted: t.muted });
16515
16515
  }), ge.call(t, t.media, "ratechange", () => {
16516
- M.updateSetting.call(t, "speed"), t.storage.set({ speed: t.speed });
16516
+ F.updateSetting.call(t, "speed"), t.storage.set({ speed: t.speed });
16517
16517
  }), ge.call(t, t.media, "qualitychange", (n) => {
16518
- M.updateSetting.call(t, "quality", null, n.detail.quality);
16518
+ F.updateSetting.call(t, "quality", null, n.detail.quality);
16519
16519
  }), ge.call(t, t.media, "ready qualitychange", () => {
16520
- M.setDownloadUrl.call(t);
16520
+ F.setDownloadUrl.call(t);
16521
16521
  });
16522
16522
  const i = t.config.events.concat(["keyup", "keydown"]).join(" ");
16523
16523
  ge.call(t, t.media, i, (n) => {
@@ -16550,11 +16550,11 @@ class g5 {
16550
16550
  }, "fullscreen"), this.bind(o.buttons.pip, "click", () => {
16551
16551
  t.pip = "toggle";
16552
16552
  }, "pip"), this.bind(o.buttons.airplay, "click", t.airplay, "airplay"), this.bind(o.buttons.settings, "click", (n) => {
16553
- n.stopPropagation(), n.preventDefault(), M.toggleMenu.call(t, n);
16553
+ n.stopPropagation(), n.preventDefault(), F.toggleMenu.call(t, n);
16554
16554
  }, null, !1), this.bind(o.buttons.settings, "keyup", (n) => {
16555
- [" ", "Enter"].includes(n.key) && (n.key !== "Enter" ? (n.preventDefault(), n.stopPropagation(), M.toggleMenu.call(t, n)) : M.focusFirstMenuItem.call(t, null, !0));
16555
+ [" ", "Enter"].includes(n.key) && (n.key !== "Enter" ? (n.preventDefault(), n.stopPropagation(), F.toggleMenu.call(t, n)) : F.focusFirstMenuItem.call(t, null, !0));
16556
16556
  }, null, !1), this.bind(o.settings.menu, "keydown", (n) => {
16557
- n.key === "Escape" && M.toggleMenu.call(t, n);
16557
+ n.key === "Escape" && F.toggleMenu.call(t, n);
16558
16558
  }), this.bind(o.inputs.seek, "mousedown mousemove", (n) => {
16559
16559
  const s = o.progress.getBoundingClientRect(), r = 100 / s.width * (n.pageX - s.left);
16560
16560
  n.currentTarget.setAttribute("seek-value", r);
@@ -16573,7 +16573,7 @@ class g5 {
16573
16573
  const s = n.currentTarget;
16574
16574
  let r = s.getAttribute("seek-value");
16575
16575
  v.empty(r) && (r = s.value), s.removeAttribute("seek-value"), t.currentTime = r / s.max * t.duration;
16576
- }, "seek"), this.bind(o.progress, "mouseenter mouseleave mousemove", (n) => M.updateSeekTooltip.call(t, n)), this.bind(o.progress, "mousemove touchmove", (n) => {
16576
+ }, "seek"), this.bind(o.progress, "mouseenter mouseleave mousemove", (n) => F.updateSeekTooltip.call(t, n)), this.bind(o.progress, "mousemove touchmove", (n) => {
16577
16577
  const { previewThumbnails: s } = t;
16578
16578
  s && s.loaded && s.startMove(n);
16579
16579
  }), this.bind(o.progress, "mouseleave touchend click", () => {
@@ -16586,9 +16586,9 @@ class g5 {
16586
16586
  const { previewThumbnails: s } = t;
16587
16587
  s && s.loaded && s.endScrubbing(n);
16588
16588
  }), Xe.isWebKit && Array.from(ya.call(t, 'input[type="range"]')).forEach((n) => {
16589
- this.bind(n, "input", (s) => M.updateRangeFill.call(t, s.target));
16589
+ this.bind(n, "input", (s) => F.updateRangeFill.call(t, s.target));
16590
16590
  }), t.config.toggleInvert && !v.element(o.display.duration) && this.bind(o.display.currentTime, "click", () => {
16591
- t.currentTime !== 0 && (t.config.invertTime = !t.config.invertTime, M.timeUpdate.call(t));
16591
+ t.currentTime !== 0 && (t.config.invertTime = !t.config.invertTime, F.timeUpdate.call(t));
16592
16592
  }), this.bind(o.inputs.volume, i, (n) => {
16593
16593
  t.volume = n.target.value;
16594
16594
  }, "volume"), this.bind(o.controls, "mouseenter mouseleave", (n) => {
@@ -16672,7 +16672,7 @@ class g5 {
16672
16672
  }
16673
16673
  }
16674
16674
  toggleMenu(a) {
16675
- M.toggleMenu.call(this.player, a);
16675
+ F.toggleMenu.call(this.player, a);
16676
16676
  }
16677
16677
  }
16678
16678
  function f5(e, a) {
@@ -16684,9 +16684,9 @@ var y5 = f5(function(e, a) {
16684
16684
  }, o = {}, i = {}, n = {};
16685
16685
  function s(f, c) {
16686
16686
  f = f.push ? f : [f];
16687
- var p, g, w, C = [], x = f.length, F = x;
16688
- for (p = function(J, le) {
16689
- le.length && C.push(J), --F || c(C);
16687
+ var p, g, w, C = [], x = f.length, M = x;
16688
+ for (p = function(q, re) {
16689
+ re.length && C.push(q), --M || c(C);
16690
16690
  }; x--; )
16691
16691
  g = f[x], (w = i[g]) ? p(g, w) : (n[g] = n[g] || []).push(p);
16692
16692
  }
@@ -16702,8 +16702,8 @@ var y5 = f5(function(e, a) {
16702
16702
  f.call && (f = { success: f }), c.length ? (f.error || t)(c) : (f.success || t)(f);
16703
16703
  }
16704
16704
  function l(f, c, p, g) {
16705
- var w, C, x = document, F = p.async, J = (p.numRetries || 0) + 1, le = p.before || t, _e = f.replace(/[\?|#].*$/, ""), ie = f.replace(/^(css|img)!/, "");
16706
- g = g || 0, /(^css!|\.css$)/.test(_e) ? ((C = x.createElement("link")).rel = "stylesheet", C.href = ie, (w = "hideFocus" in C) && C.relList && (w = 0, C.rel = "preload", C.as = "style")) : /(^img!|\.(png|gif|jpg|svg|webp)$)/.test(_e) ? (C = x.createElement("img")).src = ie : ((C = x.createElement("script")).src = f, C.async = F === void 0 || F), C.onload = C.onerror = C.onbeforeload = function(Ee) {
16705
+ var w, C, x = document, M = p.async, q = (p.numRetries || 0) + 1, re = p.before || t, _e = f.replace(/[\?|#].*$/, ""), ie = f.replace(/^(css|img)!/, "");
16706
+ g = g || 0, /(^css!|\.css$)/.test(_e) ? ((C = x.createElement("link")).rel = "stylesheet", C.href = ie, (w = "hideFocus" in C) && C.relList && (w = 0, C.rel = "preload", C.as = "style")) : /(^img!|\.(png|gif|jpg|svg|webp)$)/.test(_e) ? (C = x.createElement("img")).src = ie : ((C = x.createElement("script")).src = f, C.async = M === void 0 || M), C.onload = C.onerror = C.onbeforeload = function(Ee) {
16707
16707
  var j = Ee.type[0];
16708
16708
  if (w)
16709
16709
  try {
@@ -16712,22 +16712,22 @@ var y5 = f5(function(e, a) {
16712
16712
  ke.code != 18 && (j = "e");
16713
16713
  }
16714
16714
  if (j == "e") {
16715
- if ((g += 1) < J)
16715
+ if ((g += 1) < q)
16716
16716
  return l(f, c, p, g);
16717
16717
  } else if (C.rel == "preload" && C.as == "style")
16718
16718
  return C.rel = "stylesheet";
16719
16719
  c(f, j, Ee.defaultPrevented);
16720
- }, le(f, C) !== !1 && x.head.appendChild(C);
16720
+ }, re(f, C) !== !1 && x.head.appendChild(C);
16721
16721
  }
16722
16722
  function d(f, c, p) {
16723
- var g, w, C = (f = f.push ? f : [f]).length, x = C, F = [];
16724
- for (g = function(J, le, _e) {
16725
- if (le == "e" && F.push(J), le == "b") {
16723
+ var g, w, C = (f = f.push ? f : [f]).length, x = C, M = [];
16724
+ for (g = function(q, re, _e) {
16725
+ if (re == "e" && M.push(q), re == "b") {
16726
16726
  if (!_e)
16727
16727
  return;
16728
- F.push(J);
16728
+ M.push(q);
16729
16729
  }
16730
- --C || c(F);
16730
+ --C || c(M);
16731
16731
  }, w = 0; w < x; w++)
16732
16732
  l(f[w], g, p);
16733
16733
  }
@@ -16738,9 +16738,9 @@ var y5 = f5(function(e, a) {
16738
16738
  throw "LoadJS";
16739
16739
  o[g] = !0;
16740
16740
  }
16741
- function C(x, F) {
16742
- d(f, function(J) {
16743
- u(w, J), x && u({ success: x, error: F }, J), r(g, J);
16741
+ function C(x, M) {
16742
+ d(f, function(q) {
16743
+ u(w, q), x && u({ success: x, error: M }, q), r(g, q);
16744
16744
  }, w);
16745
16745
  }
16746
16746
  if (w.returnPromise)
@@ -16803,8 +16803,8 @@ const Dn = { setup() {
16803
16803
  };
16804
16804
  let { currentTime: f } = e.media;
16805
16805
  Object.defineProperty(e.media, "currentTime", { get: () => f, set(x) {
16806
- const { embed: F, media: J, paused: le, volume: _e } = e, ie = le && !F.hasPlayed;
16807
- J.seeking = !0, Q.call(e, J, "seeking"), Promise.resolve(ie && F.setVolume(0)).then(() => F.setCurrentTime(x)).then(() => ie && F.pause()).then(() => ie && F.setVolume(_e)).catch(() => {
16806
+ const { embed: M, media: q, paused: re, volume: _e } = e, ie = re && !M.hasPlayed;
16807
+ q.seeking = !0, Q.call(e, q, "seeking"), Promise.resolve(ie && M.setVolume(0)).then(() => M.setCurrentTime(x)).then(() => ie && M.pause()).then(() => ie && M.setVolume(_e)).catch(() => {
16808
16808
  });
16809
16809
  } });
16810
16810
  let c = e.config.speed.selected;
@@ -16823,24 +16823,24 @@ const Dn = { setup() {
16823
16823
  } });
16824
16824
  let { muted: g } = e.config;
16825
16825
  Object.defineProperty(e.media, "muted", { get: () => g, set(x) {
16826
- const F = !!v.boolean(x) && x;
16827
- e.embed.setMuted(!!F || e.config.muted).then(() => {
16828
- g = F, Q.call(e, e.media, "volumechange");
16826
+ const M = !!v.boolean(x) && x;
16827
+ e.embed.setMuted(!!M || e.config.muted).then(() => {
16828
+ g = M, Q.call(e, e.media, "volumechange");
16829
16829
  });
16830
16830
  } });
16831
16831
  let w, { loop: C } = e.config;
16832
16832
  Object.defineProperty(e.media, "loop", { get: () => C, set(x) {
16833
- const F = v.boolean(x) ? x : e.config.loop.active;
16834
- e.embed.setLoop(F).then(() => {
16835
- C = F;
16833
+ const M = v.boolean(x) ? x : e.config.loop.active;
16834
+ e.embed.setLoop(M).then(() => {
16835
+ C = M;
16836
16836
  });
16837
16837
  } }), e.embed.getVideoUrl().then((x) => {
16838
- w = x, M.setDownloadUrl.call(e);
16838
+ w = x, F.setDownloadUrl.call(e);
16839
16839
  }).catch((x) => {
16840
16840
  this.debug.warn(x);
16841
16841
  }), Object.defineProperty(e.media, "currentSrc", { get: () => w }), Object.defineProperty(e.media, "ended", { get: () => e.currentTime === e.duration }), Promise.all([e.embed.getVideoWidth(), e.embed.getVideoHeight()]).then((x) => {
16842
- const [F, J] = x;
16843
- e.embed.ratio = Uc(F, J), Qt.call(this);
16842
+ const [M, q] = x;
16843
+ e.embed.ratio = Uc(M, q), Qt.call(this);
16844
16844
  }), e.embed.setAutopause(e.config.autopause).then((x) => {
16845
16845
  e.config.autopause = x;
16846
16846
  }), e.embed.getVideoTitle().then((x) => {
@@ -16852,8 +16852,8 @@ const Dn = { setup() {
16852
16852
  }), e.embed.getTextTracks().then((x) => {
16853
16853
  e.media.textTracks = x, fe.setup.call(e);
16854
16854
  }), e.embed.on("cuechange", ({ cues: x = [] }) => {
16855
- const F = x.map((J) => c5(J.text));
16856
- fe.updateCues.call(e, F);
16855
+ const M = x.map((q) => c5(q.text));
16856
+ fe.updateCues.call(e, M);
16857
16857
  }), e.embed.on("loaded", () => {
16858
16858
  e.embed.getPaused().then((x) => {
16859
16859
  ca.call(e, !x), x || Q.call(e, e.media, "playing");
@@ -16869,8 +16869,8 @@ const Dn = { setup() {
16869
16869
  }), e.embed.on("timeupdate", (x) => {
16870
16870
  e.media.seeking = !1, f = x.seconds, Q.call(e, e.media, "timeupdate");
16871
16871
  }), e.embed.on("progress", (x) => {
16872
- e.media.buffered = x.percent, Q.call(e, e.media, "progress"), parseInt(x.percent, 10) === 1 && Q.call(e, e.media, "canplaythrough"), e.embed.getDuration().then((F) => {
16873
- F !== e.media.duration && (e.media.duration = F, Q.call(e, e.media, "durationchange"));
16872
+ e.media.buffered = x.percent, Q.call(e, e.media, "progress"), parseInt(x.percent, 10) === 1 && Q.call(e, e.media, "canplaythrough"), e.embed.getDuration().then((M) => {
16873
+ M !== e.media.duration && (e.media.duration = M, Q.call(e, e.media, "durationchange"));
16874
16874
  });
16875
16875
  }), e.embed.on("seeked", () => {
16876
16876
  e.media.seeking = !1, Q.call(e, e.media, "seeked");
@@ -17360,7 +17360,7 @@ class wa {
17360
17360
  }), D(this, "toggleControls", (r) => {
17361
17361
  if (this.supported.ui && !this.isAudio) {
17362
17362
  const u = ao(this.elements.container, this.config.classNames.hideControls), l = r === void 0 ? void 0 : !r, d = ve(this.elements.container, this.config.classNames.hideControls, l);
17363
- if (d && v.array(this.config.controls) && this.config.controls.includes("settings") && !v.empty(this.config.settings) && M.toggleMenu.call(this, !1), d !== u) {
17363
+ if (d && v.array(this.config.controls) && this.config.controls.includes("settings") && !v.empty(this.config.settings) && F.toggleMenu.call(this, !1), d !== u) {
17364
17364
  const h = d ? "controlshidden" : "controlsshown";
17365
17365
  Q.call(this, this.media, h);
17366
17366
  }
@@ -17540,7 +17540,7 @@ class wa {
17540
17540
  return v.url(a) ? a : this.source;
17541
17541
  }
17542
17542
  set download(a) {
17543
- v.url(a) && (this.config.urls.download = a, M.setDownloadUrl.call(this));
17543
+ v.url(a) && (this.config.urls.download = a, F.setDownloadUrl.call(this));
17544
17544
  }
17545
17545
  set poster(a) {
17546
17546
  this.isVideo ? Te.setPoster.call(this, a, !1).catch(() => {
@@ -17724,7 +17724,7 @@ const k5 = { class: "carousel-video-player" }, x5 = { class: "video-container" }
17724
17724
  const p = i.get(o + c * -1), g = i.get(o);
17725
17725
  if (p && p.videoPlayer && p.videoPlayer.pause(), g && g.videoPlayer && g.videoPlayer.play(), c > 0) {
17726
17726
  const w = i.get(o + Qo), C = i.get(o + 1), x = i.get(o - Qo);
17727
- w && (r.value.find((F) => F.index === w.index) || r.value.push(w)), C && C.videoPlayer && C.videoPlayer.isDestroyed && C.plyrInit(), x && x.videoPlayer && (x.videoPlayer.pause(), x.videoPlayer.src = "", x.videoPlayer.destroy(), x.videoPlayer.isDestroyed = !0);
17727
+ w && (r.value.find((M) => M.index === w.index) || r.value.push(w)), C && C.videoPlayer && C.videoPlayer.isDestroyed && C.plyrInit(), x && x.videoPlayer && (x.videoPlayer.pause(), x.videoPlayer.src = "", x.videoPlayer.destroy(), x.videoPlayer.isDestroyed = !0);
17728
17728
  } else if (c < 0) {
17729
17729
  const w = i.get(o - 1), C = i.get(o + Qo);
17730
17730
  w && w.videoPlayer && w.videoPlayer.isDestroyed && w.plyrInit(), C && C.videoPlayer && (C.videoPlayer.pause(), C.videoPlayer.src = "", C.videoPlayer.destroy(), C.videoPlayer.isDestroyed = !0);
@@ -17761,7 +17761,7 @@ const k5 = { class: "carousel-video-player" }, x5 = { class: "video-container" }
17761
17761
  items: r.value,
17762
17762
  onInput: u
17763
17763
  }), {
17764
- default: re(({ item: c }) => [
17764
+ default: le(({ item: c }) => [
17765
17765
  I5,
17766
17766
  m("div", R5, [
17767
17767
  H(A5, {
@@ -18179,7 +18179,7 @@ const q5 = /* @__PURE__ */ M5($i, [["render", G5], ["__scopeId", "data-v-fb269a1
18179
18179
  ], 6)
18180
18180
  ], 4),
18181
18181
  H(ta, null, {
18182
- default: re(() => [
18182
+ default: le(() => [
18183
18183
  Ut(m("div", X5, [
18184
18184
  m("div", null, [
18185
18185
  m("div", {
@@ -18357,7 +18357,7 @@ const q5 = /* @__PURE__ */ M5($i, [["render", G5], ["__scopeId", "data-v-fb269a1
18357
18357
  onInput: l,
18358
18358
  "onUpdate:modelValue": d
18359
18359
  }), {
18360
- default: re(({ selectedItem: c }) => [
18360
+ default: le(({ selectedItem: c }) => [
18361
18361
  m("div", aS, [
18362
18362
  m("div", oS, [
18363
18363
  r(c.id) ? (y(), b("img", {
@@ -18369,7 +18369,7 @@ const q5 = /* @__PURE__ */ M5($i, [["render", G5], ["__scopeId", "data-v-fb269a1
18369
18369
  m("div", iS, O(c.name), 1)
18370
18370
  ])
18371
18371
  ]),
18372
- availableItem: re(({ item: c }) => [
18372
+ availableItem: le(({ item: c }) => [
18373
18373
  m("div", null, O(c.name), 1)
18374
18374
  ]),
18375
18375
  _: 1
@@ -18761,7 +18761,7 @@ const bS = /* @__PURE__ */ lS(Ei, [["render", yS], ["__scopeId", "data-v-fb269a1
18761
18761
  ], 6)
18762
18762
  ], 4),
18763
18763
  H(ta, null, {
18764
- default: re(() => [
18764
+ default: le(() => [
18765
18765
  Ut(m("div", SS, [
18766
18766
  m("div", null, [
18767
18767
  m("div", {
@@ -18836,12 +18836,12 @@ const bS = /* @__PURE__ */ lS(Ei, [["render", yS], ["__scopeId", "data-v-fb269a1
18836
18836
  onInput: n,
18837
18837
  "onUpdate:modelValue": i
18838
18838
  }, {
18839
- default: re(({ selectedItem: u }) => [
18839
+ default: le(({ selectedItem: u }) => [
18840
18840
  m("div", OS, [
18841
18841
  m("span", null, O(u.name), 1)
18842
18842
  ])
18843
18843
  ]),
18844
- availableItem: re(({ item: u }) => [
18844
+ availableItem: le(({ item: u }) => [
18845
18845
  m("span", AS, O(u.name), 1)
18846
18846
  ]),
18847
18847
  _: 1
@@ -22577,9 +22577,9 @@ const F6 = "_ptg_lp0fw_5", D6 = "_ptgtitle_lp0fw_15", z6 = "_ptgtitle450_lp0fw_4
22577
22577
  score: n.data[s].best_plays[r].score[0] + " : " + n.data[s].best_plays[r].score[1],
22578
22578
  matchday_id: n.data[s].best_plays[r].matchday_id
22579
22579
  }, this.arrayMatchdays[n.data[s].best_plays[r].matchday_id] ? this.flagGames.includes(o.game_id) || (this.arrayMatchdays[n.data[s].best_plays[r].matchday_id].push(o), this.flagGames.push(o.game_id)) : (this.arrayMatchdays[n.data[s].best_plays[r].matchday_id] = [], this.flagGames.includes(o.game_id) || (this.arrayMatchdays[n.data[s].best_plays[r].matchday_id].push(o), this.flagGames.push(o.game_id))));
22580
- t = this.arrayMatchdays[this.matchdayView].sort((s, r) => s.date_time - r.date_time);
22580
+ t = this.arrayMatchdays[this.matchdayView] ? this.arrayMatchdays[this.matchdayView].sort((s, r) => s.date_time - r.date_time) : [];
22581
22581
  } else
22582
- t = this.arrayMatchdays[this.matchdayView].sort((n, s) => n.date_time - s.date_time);
22582
+ t = this.arrayMatchdays[this.matchdayView] ? this.arrayMatchdays[this.matchdayView].sort((n, s) => n.date_time - s.date_time) : [];
22583
22583
  this.lastseason = e.season;
22584
22584
  }
22585
22585
  this.printData = t;
@@ -22589,7 +22589,7 @@ const F6 = "_ptg_lp0fw_5", D6 = "_ptgtitle_lp0fw_15", z6 = "_ptgtitle450_lp0fw_4
22589
22589
  }
22590
22590
  }, nl = () => {
22591
22591
  $e((e) => ({
22592
- "97cd96f0": e.backgroundColor
22592
+ "0c805cc5": e.backgroundColor
22593
22593
  }));
22594
22594
  }, il = Ui.setup;
22595
22595
  Ui.setup = il ? (e, a) => (nl(), il(e, a)) : nl;
@@ -22622,7 +22622,7 @@ function U6(e, a, t, o, i, n) {
22622
22622
  arrowsPosition: t.arrowsPosition,
22623
22623
  height: t.height
22624
22624
  }, {
22625
- default: re(() => [
22625
+ default: le(() => [
22626
22626
  (y(!0), b(U, null, we(i.printData, (c, p) => (y(), b("div", {
22627
22627
  key: p,
22628
22628
  class: S(n.pgtcontainercardClass),
@@ -23061,7 +23061,7 @@ const H6 = {
23061
23061
  this.$emit("openmedia", h);
23062
23062
  }
23063
23063
  }
23064
- }, J6 = (e) => (ye("data-v-88da3c53"), e = e(), be(), e), K6 = {
23064
+ }, J6 = (e) => (ye("data-v-07493628"), e = e(), be(), e), K6 = {
23065
23065
  class: "discover-videos",
23066
23066
  ref: "discoverVideosRef"
23067
23067
  }, Z6 = { class: "title-and-button" }, X6 = /* @__PURE__ */ J6(() => /* @__PURE__ */ m("div", { class: "title-value" }, "Videos", -1)), Y6 = { class: "calendar-container" }, Q6 = { class: "drop-down-innercontainer-text" }, eC = { class: "drop-down-innercontainer-arrow" };
@@ -23122,7 +23122,7 @@ function tC(e, a, t, o, i, n) {
23122
23122
  onClick: a[1] || (a[1] = (d) => i.activeDropGoals = !i.activeDropGoals)
23123
23123
  }, [
23124
23124
  m("div", Q6, [
23125
- Me("Jornada "),
23125
+ Me(" Jornada "),
23126
23126
  Object.keys(i.matchdayActive).length > 0 ? (y(), b(U, { key: 0 }, [
23127
23127
  Me(O(i.matchdayActive.valueText), 1)
23128
23128
  ], 64)) : (y(), b(U, { key: 1 }, [
@@ -23148,7 +23148,10 @@ function tC(e, a, t, o, i, n) {
23148
23148
  onChangeMatchDay: n.onChangeMatchDay,
23149
23149
  "default-match-day-key": t.defaultMatchDayKey
23150
23150
  }, null, 8, ["match-days", "onChangeMatchDay", "default-match-day-key"]), [
23151
- [Ht, (t.isLeagueSelected || i.currentTabMoreVideos == "Goles") && t.tournamentScheduleKeys && t.tournamentScheduleKeys.length && i.activeDropGoals]
23151
+ [
23152
+ Ht,
23153
+ (t.isLeagueSelected || i.currentTabMoreVideos == "Goles") && t.tournamentScheduleKeys && t.tournamentScheduleKeys.length && i.activeDropGoals
23154
+ ]
23152
23155
  ])
23153
23156
  ]),
23154
23157
  H(l, {
@@ -23156,7 +23159,7 @@ function tC(e, a, t, o, i, n) {
23156
23159
  type: 14,
23157
23160
  data: { season: t.seasonSelected.id, category: i.goalsCategory },
23158
23161
  width: "100%",
23159
- "matchday-view": Object.keys(i.matchdayActive).length > 0 ? i.matchdayActive.value : t.defaultMatchDayKey,
23162
+ "matchday-view": Object.keys(i.matchdayActive).length > 0 ? i.matchdayActive.matchDayId : t.defaultMatchDayKey,
23160
23163
  backgroundColor: "transparent",
23161
23164
  title: "",
23162
23165
  onOpenmedia: n.onOpenMedia
@@ -23207,7 +23210,7 @@ function tC(e, a, t, o, i, n) {
23207
23210
  }, null, 8, ["data", "onOpenmedia"])) : T("", !0)
23208
23211
  ], 512);
23209
23212
  }
23210
- const aC = /* @__PURE__ */ ot(q6, [["render", tC], ["__scopeId", "data-v-88da3c53"]]), oC = {
23213
+ const aC = /* @__PURE__ */ ot(q6, [["render", tC], ["__scopeId", "data-v-07493628"]]), oC = {
23211
23214
  components: {
23212
23215
  GSCSeasonSelect: ES,
23213
23216
  GSCTournamentSelect: rS,
@@ -23241,7 +23244,9 @@ const aC = /* @__PURE__ */ ot(q6, [["render", tC], ["__scopeId", "data-v-88da3c5
23241
23244
  this.selectedRoundKeyIndex = this.tournamentScheduleKeys.findIndex((a) => a === e), this.selectedRound = e;
23242
23245
  },
23243
23246
  latestRound(e) {
23244
- this.selectedRoundKeyIndexVideo = this.tournamentScheduleKeysGoals.findIndex((a) => a === e), this.selectedRoundVideos = e;
23247
+ this.selectedRoundKeyIndexVideo = this.tournamentScheduleKeysGoals.findIndex(
23248
+ (a) => a === e
23249
+ ), this.selectedRoundVideos = e;
23245
23250
  }
23246
23251
  },
23247
23252
  props: {
@@ -23392,7 +23397,9 @@ const aC = /* @__PURE__ */ ot(q6, [["render", tC], ["__scopeId", "data-v-88da3c5
23392
23397
  async onClickOpenCarouselVideos(e) {
23393
23398
  try {
23394
23399
  const a = await this.fetchGameEvents(e);
23395
- this.carouselPlayerQueue = a.filter((t) => t.event_type_id === 1 && t.video_link !== "-"), this.isCarouselFullScreenVisible = !0;
23400
+ this.carouselPlayerQueue = a.filter(
23401
+ (t) => t.event_type_id === 1 && t.video_link !== "-"
23402
+ ), this.isCarouselFullScreenVisible = !0;
23396
23403
  } catch (a) {
23397
23404
  throw new Error(a);
23398
23405
  }
@@ -23410,7 +23417,7 @@ const aC = /* @__PURE__ */ ot(q6, [["render", tC], ["__scopeId", "data-v-88da3c5
23410
23417
  this.$emit("action", e);
23411
23418
  },
23412
23419
  onOpenMedia(e) {
23413
- e.type == 0 ? this.$emit("openmedia", e) : this.onClickOpenCarouselVideos(e.gameIds[0]);
23420
+ e.type === 1 && e.gamesIds && e.gamesIds.length > 0 ? this.onClickOpenCarouselVideos(e.gameIds[0]) : this.$emit("openmedia", e);
23414
23421
  },
23415
23422
  onOpenProfile(e) {
23416
23423
  this.$emit("onOpenProfile", e);
@@ -23507,7 +23514,9 @@ const aC = /* @__PURE__ */ ot(q6, [["render", tC], ["__scopeId", "data-v-88da3c5
23507
23514
  headers: {
23508
23515
  Authorization: `${this.token}`
23509
23516
  }
23510
- }), { data: { data: n, teams: s } } = await i.get(o);
23517
+ }), {
23518
+ data: { data: n, teams: s }
23519
+ } = await i.get(o);
23511
23520
  return { seasonsAndGames: n, seasonsAndTeams: s };
23512
23521
  } catch (i) {
23513
23522
  if (a > 0)
@@ -23525,7 +23534,10 @@ const aC = /* @__PURE__ */ ot(q6, [["render", tC], ["__scopeId", "data-v-88da3c5
23525
23534
  try {
23526
23535
  this.fullTournamentSchedule = {}, this.userTeamGames = [];
23527
23536
  let t = 0;
23528
- const { seasonsAndGames: o, seasonsAndTeams: i } = await this.fetchSeasonsGamesAndTeams(e.map((d) => d.id), 3);
23537
+ const { seasonsAndGames: o, seasonsAndTeams: i } = await this.fetchSeasonsGamesAndTeams(
23538
+ e.map((d) => d.id),
23539
+ 3
23540
+ );
23529
23541
  if (a && this.areSeasonsDifferent(o))
23530
23542
  return;
23531
23543
  o.forEach((d) => {
@@ -23586,36 +23598,40 @@ const aC = /* @__PURE__ */ ot(q6, [["render", tC], ["__scopeId", "data-v-88da3c5
23586
23598
  else
23587
23599
  h.type === 2 ? ["PI1", "PI2"].includes(f) ? d[f] = c : d[`R${Number(f.replace("PO", ""))}`] = c : h.type === 1 && (d[vr[f]] = c);
23588
23600
  return d;
23589
- }, {}), this.fullTournamentScheduleFullGoals = l.reduce((d, h) => {
23590
- for (const [f, c] of Object.entries(h.schedule))
23591
- if (h.type === 0)
23592
- if (this.isCup) {
23593
- const p = f.replace("M", ""), g = `Jornada ${p}`;
23594
- this.isCupLegacy ? d[_r[p] || g] = c : d[wr[f] || g] = myArray;
23595
- } else
23596
- d[Number(f.replace("M", "")).toString()] = c;
23597
- else
23598
- h.type === 2 ? ["PI1", "PI2"].includes(f) ? d[f] = c : d[`R${Number(f.replace("PO", ""))}`] = c : h.type === 1 && (d[vr[f]] = c);
23599
- return d;
23600
- }, {}), this.tournamentScheduleKeys = Array.from(
23601
+ }, {}), this.fullTournamentScheduleFullGoals = l.reduce(
23602
+ (d, h) => {
23603
+ for (const [f, c] of Object.entries(h.schedule))
23604
+ if (h.type === 0)
23605
+ if (this.isCup) {
23606
+ const p = f.replace("M", ""), g = `Jornada ${p}`;
23607
+ this.isCupLegacy ? d[_r[p] || g] = c : d[wr[f] || g] = myArray;
23608
+ } else
23609
+ d[Number(f.replace("M", "")).toString()] = c;
23610
+ else
23611
+ h.type === 2 ? ["PI1", "PI2"].includes(f) ? d[f] = c : d[`R${Number(f.replace("PO", ""))}`] = c : h.type === 1 && (d[vr[f]] = c);
23612
+ return d;
23613
+ },
23614
+ {}
23615
+ ), this.tournamentScheduleKeys = Array.from(
23601
23616
  Object.entries(this.fullTournamentScheduleFull).reduce((d, [h, f]) => {
23602
23617
  const c = Number(h);
23603
23618
  let p = "";
23604
23619
  Number.isNaN(c) ? p = h : p = c < 10 ? `0${c}` : h;
23605
- let g = !1;
23606
- const w = f.reduce((x, F) => (F.games.forEach((J) => {
23607
- J.roundAbbreviation = Number.isNaN(c) ? c : `J ${c}`;
23608
- }), x = x.concat(F.games), x), []);
23609
- for (let x = 0; x < w.length; x++)
23610
- (w[x].game_status != 4 || w[x].is_live) && (w[x].score[0] != 0 || w[x].score[1] != 0) && (g = !0);
23620
+ let g = !1, w = null;
23621
+ const C = f.reduce((M, q) => (!w && q && q.games && q.games.length && (w = q.games[0].matchday_id), q.games.forEach((re) => {
23622
+ re.roundAbbreviation = Number.isNaN(c) ? c : `J ${c}`;
23623
+ }), M = M.concat(q.games), M), []);
23624
+ for (let M = 0; M < C.length; M++)
23625
+ (C[M].game_status != 4 || C[M].is_live) && (C[M].score[0] != 0 || C[M].score[1] != 0) && (g = !0);
23611
23626
  d.set(h, {
23612
23627
  key: h,
23613
23628
  value: c,
23614
23629
  valueText: p,
23615
- avaible: g
23630
+ avaible: g,
23631
+ matchDayId: w
23616
23632
  });
23617
- const C = this.getPages(w);
23618
- return this.gamesPages.set(h, C), d;
23633
+ const x = this.getPages(C);
23634
+ return this.gamesPages.set(h, x), d;
23619
23635
  }, /* @__PURE__ */ new Map()).values()
23620
23636
  ), this.tournamentScheduleKeysGoals = Array.from(
23621
23637
  Object.entries(this.fullTournamentScheduleFullGoals).reduce((d, [h, f]) => {
@@ -23623,9 +23639,9 @@ const aC = /* @__PURE__ */ ot(q6, [["render", tC], ["__scopeId", "data-v-88da3c5
23623
23639
  let p = "";
23624
23640
  Number.isNaN(c) ? p = h : p = c < 10 ? `0${c}` : h;
23625
23641
  let g = !1;
23626
- const w = f.reduce((x, F) => (F.games.forEach((J) => {
23627
- J.roundAbbreviation = Number.isNaN(c) ? c : `J ${c}`;
23628
- }), x = x.concat(F.games), x), []);
23642
+ const w = f.reduce((x, M) => (M.games.forEach((q) => {
23643
+ q.roundAbbreviation = Number.isNaN(c) ? c : `J ${c}`;
23644
+ }), x = x.concat(M.games), x), []);
23629
23645
  for (let x = 0; x < w.length; x++)
23630
23646
  (w[x].game_status != 4 || w[x].is_live && (w[x].score[0] != 0 || w[x].score[1] != 0)) && (g = !0);
23631
23647
  d.set(h, {
@@ -23694,7 +23710,7 @@ const aC = /* @__PURE__ */ ot(q6, [["render", tC], ["__scopeId", "data-v-88da3c5
23694
23710
  },
23695
23711
  async created() {
23696
23712
  }
23697
- }, nC = (e) => (ye("data-v-9c02ceec"), e = e(), be(), e), iC = {
23713
+ }, nC = (e) => (ye("data-v-4e58f388"), e = e(), be(), e), iC = {
23698
23714
  class: "gsclanding",
23699
23715
  ref: "landingref"
23700
23716
  }, sC = {
@@ -23864,7 +23880,7 @@ function SC(e, a, t, o, i, n) {
23864
23880
  ], 2)
23865
23881
  ], 512);
23866
23882
  }
23867
- const $C = /* @__PURE__ */ ot(oC, [["render", SC], ["__scopeId", "data-v-9c02ceec"]]);
23883
+ const $C = /* @__PURE__ */ ot(oC, [["render", SC], ["__scopeId", "data-v-4e58f388"]]);
23868
23884
  export {
23869
23885
  $C as GSCLanding
23870
23886
  };