@spash/frontlib 0.0.15-beta.2 → 0.0.15-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/main.js +460 -457
  2. package/package.json +1 -1
package/dist/main.js CHANGED
@@ -1,5 +1,5 @@
1
- import { pushScopeId as pg, popScopeId as vg, defineComponent as me, nextTick as yg, openBlock as D, createBlock as ye, createElementBlock as W, normalizeClass as he, renderSlot as yt, normalizeProps as Eg, guardReactiveProps as Ag, withScopeId as xg, resolveComponent as xe, normalizeStyle as Rt, withKeys as Rg, createElementVNode as z, Fragment as Ot, createCommentVNode as Le, withCtx as Oe, createVNode as Se, ref as H, createApp as Sg, h as jn, mergeProps as hl, toDisplayString as we, getCurrentInstance as Xs, inject as Tg, onMounted as tn, onUnmounted as ml, shallowRef as hf, computed as re, onBeforeMount as Cg, watch as St, effectScope as bg, isRef as gl, Text as Ig, toRefs as Ke, Transition as Lg, unref as G, createStaticVNode as pl, resolveDynamicComponent as oo, Teleport as vl, getCurrentScope as wg, onScopeDispose as Og, toRef as Pg, readonly as Fg, customRef as kg, reactive as Sa, useCssVars as mf, createTextVNode as ht, renderList as er, resolveDirective as Mg, withDirectives as Gs, vShow as Ar, withModifiers as Dg, onUpdated as gf, onBeforeUnmount as Ng } from "vue";
2
- const Ug = ["top", "right", "bottom", "left"], hc = ["start", "end"], mc = /* @__PURE__ */ Ug.reduce((n, e) => n.concat(e, e + "-" + hc[0], e + "-" + hc[1]), []), Lr = Math.min, is = Math.max, zg = {
1
+ import { pushScopeId as pg, popScopeId as vg, defineComponent as me, nextTick as yg, openBlock as D, createBlock as ye, createElementBlock as W, normalizeClass as he, renderSlot as yt, normalizeProps as Eg, guardReactiveProps as Ag, withScopeId as xg, resolveComponent as xe, normalizeStyle as Rt, withKeys as Rg, createElementVNode as z, Fragment as Ot, createCommentVNode as Le, withCtx as Oe, createVNode as Se, ref as H, createApp as Sg, h as jn, mergeProps as hl, toDisplayString as we, getCurrentInstance as qs, inject as Tg, onMounted as tn, onUnmounted as ml, shallowRef as hf, computed as re, onBeforeMount as Cg, watch as St, effectScope as bg, isRef as gl, Text as Ig, toRefs as Ke, Transition as Lg, unref as G, createStaticVNode as pl, resolveDynamicComponent as oo, Teleport as vl, getCurrentScope as wg, onScopeDispose as Og, toRef as Pg, readonly as Fg, customRef as kg, reactive as Sa, useCssVars as mf, createTextVNode as ht, renderList as tr, resolveDirective as Mg, withDirectives as Gs, vShow as xr, withModifiers as Dg, onUpdated as gf, onBeforeUnmount as Ng } from "vue";
2
+ const Ug = ["top", "right", "bottom", "left"], hc = ["start", "end"], mc = /* @__PURE__ */ Ug.reduce((n, e) => n.concat(e, e + "-" + hc[0], e + "-" + hc[1]), []), wr = Math.min, is = Math.max, zg = {
3
3
  left: "right",
4
4
  right: "left",
5
5
  bottom: "top",
@@ -9,7 +9,7 @@ const Ug = ["top", "right", "bottom", "left"], hc = ["start", "end"], mc = /* @_
9
9
  end: "start"
10
10
  };
11
11
  function Ta(n, e, t) {
12
- return is(n, Lr(e, t));
12
+ return is(n, wr(e, t));
13
13
  }
14
14
  function As(n, e) {
15
15
  return typeof n == "function" ? n(e) : n;
@@ -83,7 +83,7 @@ function yf(n) {
83
83
  left: n
84
84
  };
85
85
  }
86
- function xr(n) {
86
+ function Rr(n) {
87
87
  const {
88
88
  x: e,
89
89
  y: t,
@@ -226,7 +226,7 @@ async function ao(n, e) {
226
226
  elementContext: d = "floating",
227
227
  altBoundary: f = !1,
228
228
  padding: h = 0
229
- } = As(e, n), m = yf(h), p = a[f ? d === "floating" ? "reference" : "floating" : d], y = xr(await i.getClippingRect({
229
+ } = As(e, n), m = yf(h), p = a[f ? d === "floating" ? "reference" : "floating" : d], y = Rr(await i.getClippingRect({
230
230
  element: (t = await (i.isElement == null ? void 0 : i.isElement(p))) == null || t ? p : p.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(a.floating)),
231
231
  boundary: c,
232
232
  rootBoundary: u,
@@ -242,7 +242,7 @@ async function ao(n, e) {
242
242
  } : {
243
243
  x: 1,
244
244
  y: 1
245
- }, x = xr(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
245
+ }, x = Rr(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
246
246
  elements: a,
247
247
  rect: E,
248
248
  offsetParent: v,
@@ -279,7 +279,7 @@ const Kg = (n) => ({
279
279
  }, h = El(r), m = yl(h), g = await o.getDimensions(c), p = h === "y", y = p ? "top" : "left", E = p ? "bottom" : "right", v = p ? "clientHeight" : "clientWidth", R = i.reference[m] + i.reference[h] - f[h] - i.floating[m], x = f[h] - i.reference[h], S = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(c));
280
280
  let T = S ? S[v] : 0;
281
281
  (!T || !await (o.isElement == null ? void 0 : o.isElement(S))) && (T = a.floating[v] || i.floating[m]);
282
- const C = R / 2 - x / 2, I = T / 2 - g[m] / 2 - 1, w = Lr(d[y], I), O = Lr(d[E], I), N = w, k = T - g[m] - O, K = T / 2 - g[m] / 2 + C, _ = Ta(N, K, k), $ = !l.arrow && _t(r) != null && K !== _ && i.reference[m] / 2 - (K < N ? w : O) - g[m] / 2 < 0, Y = $ ? K < N ? K - N : K - k : 0;
282
+ const C = R / 2 - x / 2, I = T / 2 - g[m] / 2 - 1, w = wr(d[y], I), O = wr(d[E], I), N = w, F = T - g[m] - O, K = T / 2 - g[m] / 2 + C, _ = Ta(N, K, F), $ = !l.arrow && _t(r) != null && K !== _ && i.reference[m] / 2 - (K < N ? w : O) - g[m] / 2 < 0, Y = $ ? K < N ? K - N : K - F : 0;
283
283
  return {
284
284
  [h]: f[h] + Y,
285
285
  data: {
@@ -342,7 +342,7 @@ const qg = function(n) {
342
342
  const O = _t(w.placement);
343
343
  return [w.placement, O && u ? (
344
344
  // Check along the mainAxis and main crossAxis side.
345
- w.overflows.slice(0, 2).reduce((N, k) => N + k, 0)
345
+ w.overflows.slice(0, 2).reduce((N, F) => N + F, 0)
346
346
  ) : (
347
347
  // Check only the mainAxis.
348
348
  w.overflows[0]
@@ -416,8 +416,8 @@ const qg = function(n) {
416
416
  if (!$)
417
417
  switch (h) {
418
418
  case "bestFit": {
419
- var k;
420
- const Y = (k = w.filter((ne) => {
419
+ var F;
420
+ const Y = (F = w.filter((ne) => {
421
421
  if (S) {
422
422
  const X = fs(ne.placement);
423
423
  return X === E || // Create a bias to the `y` side axis due to horizontal
@@ -425,7 +425,7 @@ const qg = function(n) {
425
425
  X === "y";
426
426
  }
427
427
  return !0;
428
- }).map((ne) => [ne.placement, ne.overflows.filter((X) => X > 0).reduce((X, q) => X + q, 0)]).sort((ne, X) => ne[1] - X[1])[0]) == null ? void 0 : k[0];
428
+ }).map((ne) => [ne.placement, ne.overflows.filter((X) => X > 0).reduce((X, q) => X + q, 0)]).sort((ne, X) => ne[1] - X[1])[0]) == null ? void 0 : F[0];
429
429
  Y && ($ = Y);
430
430
  break;
431
431
  }
@@ -570,11 +570,11 @@ const Zg = function(n) {
570
570
  } = i.floating;
571
571
  let p, y;
572
572
  d === "top" || d === "bottom" ? (p = d, y = f === (await (o.isRTL == null ? void 0 : o.isRTL(a.floating)) ? "start" : "end") ? "left" : "right") : (y = d, p = f === "end" ? "top" : "bottom");
573
- const E = g - u.top - u.bottom, v = m - u.left - u.right, R = Lr(g - u[p], E), x = Lr(m - u[y], v), S = !e.middlewareData.shift;
573
+ const E = g - u.top - u.bottom, v = m - u.left - u.right, R = wr(g - u[p], E), x = wr(m - u[y], v), S = !e.middlewareData.shift;
574
574
  let T = R, C = x;
575
575
  if ((t = e.middlewareData.shift) != null && t.enabled.x && (C = v), (s = e.middlewareData.shift) != null && s.enabled.y && (T = E), S && !f) {
576
- const w = is(u.left, 0), O = is(u.right, 0), N = is(u.top, 0), k = is(u.bottom, 0);
577
- h ? C = m - 2 * (w !== 0 || O !== 0 ? w + O : is(u.left, u.right)) : T = g - 2 * (N !== 0 || k !== 0 ? N + k : is(u.top, u.bottom));
576
+ const w = is(u.left, 0), O = is(u.right, 0), N = is(u.top, 0), F = is(u.bottom, 0);
577
+ h ? C = m - 2 * (w !== 0 || O !== 0 ? w + O : is(u.left, u.right)) : T = g - 2 * (N !== 0 || F !== 0 ? N + F : is(u.top, u.bottom));
578
578
  }
579
579
  await l({
580
580
  ...e,
@@ -597,7 +597,7 @@ function zt(n) {
597
597
  function fn(n) {
598
598
  return zt(n).getComputedStyle(n);
599
599
  }
600
- const pc = Math.min, Rr = Math.max, Ni = Math.round;
600
+ const pc = Math.min, Sr = Math.max, Ni = Math.round;
601
601
  function Ef(n) {
602
602
  const e = fn(n);
603
603
  let t = parseFloat(e.width), s = parseFloat(e.height);
@@ -656,7 +656,7 @@ function Bs(n) {
656
656
  let o = (i ? Ni(t.width) : t.width) / s, a = (i ? Ni(t.height) : t.height) / r;
657
657
  return o && Number.isFinite(o) || (o = 1), a && Number.isFinite(a) || (a = 1), { x: o, y: a };
658
658
  }
659
- function wr(n, e, t, s) {
659
+ function Or(n, e, t, s) {
660
660
  var r, i;
661
661
  e === void 0 && (e = !1), t === void 0 && (t = !1);
662
662
  const o = n.getBoundingClientRect(), a = Sf(n);
@@ -681,15 +681,15 @@ function co(n) {
681
681
  return Wn(n) ? { scrollLeft: n.scrollLeft, scrollTop: n.scrollTop } : { scrollLeft: n.pageXOffset, scrollTop: n.pageYOffset };
682
682
  }
683
683
  function Cf(n) {
684
- return wr(Kn(n)).left + co(n).scrollLeft;
684
+ return Or(Kn(n)).left + co(n).scrollLeft;
685
685
  }
686
- function Or(n) {
686
+ function Pr(n) {
687
687
  if (qn(n) === "html") return n;
688
688
  const e = n.assignedSlot || n.parentNode || vc(n) && n.host || Kn(n);
689
689
  return vc(e) ? e.host : e;
690
690
  }
691
691
  function bf(n) {
692
- const e = Or(n);
692
+ const e = Pr(n);
693
693
  return Al(e) ? e.ownerDocument.body : hn(e) && lo(e) ? e : bf(e);
694
694
  }
695
695
  function Ui(n, e) {
@@ -699,7 +699,7 @@ function Ui(n, e) {
699
699
  return r ? e.concat(i, i.visualViewport || [], lo(s) ? s : []) : e.concat(s, Ui(s));
700
700
  }
701
701
  function yc(n, e, t) {
702
- return e === "viewport" ? xr(function(s, r) {
702
+ return e === "viewport" ? Rr(function(s, r) {
703
703
  const i = zt(s), o = Kn(s), a = i.visualViewport;
704
704
  let l = o.clientWidth, c = o.clientHeight, u = 0, d = 0;
705
705
  if (a) {
@@ -708,14 +708,14 @@ function yc(n, e, t) {
708
708
  (f || !f && r === "fixed") && (u = a.offsetLeft, d = a.offsetTop);
709
709
  }
710
710
  return { width: l, height: c, x: u, y: d };
711
- }(n, t)) : Wn(e) ? xr(function(s, r) {
712
- const i = wr(s, !0, r === "fixed"), o = i.top + s.clientTop, a = i.left + s.clientLeft, l = hn(s) ? Bs(s) : { x: 1, y: 1 };
711
+ }(n, t)) : Wn(e) ? Rr(function(s, r) {
712
+ const i = Or(s, !0, r === "fixed"), o = i.top + s.clientTop, a = i.left + s.clientLeft, l = hn(s) ? Bs(s) : { x: 1, y: 1 };
713
713
  return { width: s.clientWidth * l.x, height: s.clientHeight * l.y, x: a * l.x, y: o * l.y };
714
- }(e, t)) : xr(function(s) {
715
- const r = Kn(s), i = co(s), o = s.ownerDocument.body, a = Rr(r.scrollWidth, r.clientWidth, o.scrollWidth, o.clientWidth), l = Rr(r.scrollHeight, r.clientHeight, o.scrollHeight, o.clientHeight);
714
+ }(e, t)) : Rr(function(s) {
715
+ const r = Kn(s), i = co(s), o = s.ownerDocument.body, a = Sr(r.scrollWidth, r.clientWidth, o.scrollWidth, o.clientWidth), l = Sr(r.scrollHeight, r.clientHeight, o.scrollHeight, o.clientHeight);
716
716
  let c = -i.scrollLeft + Cf(s);
717
717
  const u = -i.scrollTop;
718
- return fn(o).direction === "rtl" && (c += Rr(r.clientWidth, o.clientWidth) - a), { width: a, height: l, x: c, y: u };
718
+ return fn(o).direction === "rtl" && (c += Sr(r.clientWidth, o.clientWidth) - a), { width: a, height: l, x: c, y: u };
719
719
  }(Kn(n)));
720
720
  }
721
721
  function Ec(n) {
@@ -726,20 +726,20 @@ function Ac(n) {
726
726
  let t = Ec(n);
727
727
  for (; t && $g(t) && fn(t).position === "static"; ) t = Ec(t);
728
728
  return t && (qn(t) === "html" || qn(t) === "body" && fn(t).position === "static" && !Ca(t)) ? e : t || function(s) {
729
- let r = Or(s);
729
+ let r = Pr(s);
730
730
  for (; hn(r) && !Al(r); ) {
731
731
  if (Ca(r)) return r;
732
- r = Or(r);
732
+ r = Pr(r);
733
733
  }
734
734
  return null;
735
735
  }(n) || e;
736
736
  }
737
737
  function ep(n, e, t) {
738
- const s = hn(e), r = Kn(e), i = wr(n, !0, t === "fixed", e);
738
+ const s = hn(e), r = Kn(e), i = Or(n, !0, t === "fixed", e);
739
739
  let o = { scrollLeft: 0, scrollTop: 0 };
740
740
  const a = { x: 0, y: 0 };
741
741
  if (s || !s && t !== "fixed") if ((qn(e) !== "body" || lo(r)) && (o = co(e)), hn(e)) {
742
- const l = wr(e, !0);
742
+ const l = Or(e, !0);
743
743
  a.x = l.x + e.clientLeft, a.y = l.y + e.clientTop;
744
744
  } else r && (a.x = Cf(r));
745
745
  return { x: i.left + o.scrollLeft - a.x, y: i.top + o.scrollTop - a.y, width: i.width, height: i.height };
@@ -751,15 +751,15 @@ const tp = { getClippingRect: function(n) {
751
751
  if (d) return d;
752
752
  let f = Ui(c).filter((p) => Wn(p) && qn(p) !== "body"), h = null;
753
753
  const m = fn(c).position === "fixed";
754
- let g = m ? Or(c) : c;
754
+ let g = m ? Pr(c) : c;
755
755
  for (; Wn(g) && !Al(g); ) {
756
756
  const p = fn(g), y = Ca(g);
757
- (m ? y || h : y || p.position !== "static" || !h || !["absolute", "fixed"].includes(h.position)) ? h = p : f = f.filter((E) => E !== g), g = Or(g);
757
+ (m ? y || h : y || p.position !== "static" || !h || !["absolute", "fixed"].includes(h.position)) ? h = p : f = f.filter((E) => E !== g), g = Pr(g);
758
758
  }
759
759
  return u.set(c, f), f;
760
760
  }(e, this._c) : [].concat(t), o = [...i, s], a = o[0], l = o.reduce((c, u) => {
761
761
  const d = yc(e, u, r);
762
- return c.top = Rr(d.top, c.top), c.right = pc(d.right, c.right), c.bottom = pc(d.bottom, c.bottom), c.left = Rr(d.left, c.left), c;
762
+ return c.top = Sr(d.top, c.top), c.right = pc(d.right, c.right), c.bottom = pc(d.bottom, c.bottom), c.left = Sr(d.left, c.left), c;
763
763
  }, yc(e, a, r));
764
764
  return { width: l.right - l.left, height: l.bottom - l.top, x: l.left, y: l.top };
765
765
  }, convertOffsetParentRelativeRectToViewportRelativeRect: function(n) {
@@ -769,7 +769,7 @@ const tp = { getClippingRect: function(n) {
769
769
  let o = { scrollLeft: 0, scrollTop: 0 }, a = { x: 1, y: 1 };
770
770
  const l = { x: 0, y: 0 };
771
771
  if ((r || !r && s !== "fixed") && ((qn(t) !== "body" || lo(i)) && (o = co(t)), hn(t))) {
772
- const c = wr(t);
772
+ const c = Or(t);
773
773
  a = Bs(t), l.x = c.x + t.clientLeft, l.y = c.y + t.clientTop;
774
774
  }
775
775
  return { width: e.width * a.x, height: e.height * a.y, x: e.x * a.x - o.scrollLeft * a.x + l.x, y: e.y * a.y - o.scrollTop * a.y + l.y };
@@ -862,7 +862,7 @@ const In = {
862
862
  }
863
863
  }
864
864
  };
865
- function Pr(n, e) {
865
+ function Fr(n, e) {
866
866
  let t = In.themes[n] || {}, s;
867
867
  do
868
868
  s = t[e], typeof s > "u" ? t.$extend ? t = In.themes[t.$extend] || {} : (t = null, s = In[e]) : t = null;
@@ -938,7 +938,7 @@ let ba = function() {
938
938
  typeof window < "u" && (ba = window.Element);
939
939
  function Te(n) {
940
940
  return function(e) {
941
- return Pr(e.theme, n);
941
+ return Fr(e.theme, n);
942
942
  };
943
943
  }
944
944
  const Mo = "__floating-vue__popper", Of = () => me({
@@ -1489,8 +1489,8 @@ const Mo = "__floating-vue__popper", Of = () => me({
1489
1489
  },
1490
1490
  $_isAimingPopper() {
1491
1491
  const n = this.$_referenceNode.getBoundingClientRect();
1492
- if (Sr >= n.left && Sr <= n.right && Tr >= n.top && Tr <= n.bottom) {
1493
- const e = this.$_popperNode.getBoundingClientRect(), t = Sr - zn, s = Tr - Vn, r = e.left + e.width / 2 - zn + (e.top + e.height / 2) - Vn + e.width + e.height, i = zn + t * r, o = Vn + s * r;
1492
+ if (Tr >= n.left && Tr <= n.right && Cr >= n.top && Cr <= n.bottom) {
1493
+ const e = this.$_popperNode.getBoundingClientRect(), t = Tr - zn, s = Cr - Vn, r = e.left + e.width / 2 - zn + (e.top + e.height / 2) - Vn + e.width + e.height, i = zn + t * r, o = Vn + s * r;
1494
1494
  return Jr(zn, Vn, i, o, e.left, e.top, e.left, e.bottom) || // Left edge
1495
1495
  Jr(zn, Vn, i, o, e.left, e.top, e.right, e.top) || // Top edge
1496
1496
  Jr(zn, Vn, i, o, e.right, e.top, e.right, e.bottom) || // Right edge
@@ -1567,9 +1567,9 @@ function lp(n) {
1567
1567
  for (let e = 0; e < Yt.length; e++)
1568
1568
  Yt[e].$_computePosition(n);
1569
1569
  }
1570
- let zn = 0, Vn = 0, Sr = 0, Tr = 0;
1570
+ let zn = 0, Vn = 0, Tr = 0, Cr = 0;
1571
1571
  typeof window < "u" && window.addEventListener("mousemove", (n) => {
1572
- zn = Sr, Vn = Tr, Sr = n.clientX, Tr = n.clientY;
1572
+ zn = Tr, Vn = Cr, Tr = n.clientX, Cr = n.clientY;
1573
1573
  }, hs ? {
1574
1574
  passive: !0
1575
1575
  } : void 0);
@@ -1898,7 +1898,7 @@ const xl = /* @__PURE__ */ uo(Sp, [["render", Tp]]), Cp = {
1898
1898
  },
1899
1899
  html: {
1900
1900
  type: Boolean,
1901
- default: (n) => Pr(n.theme, "html")
1901
+ default: (n) => Fr(n.theme, "html")
1902
1902
  },
1903
1903
  content: {
1904
1904
  type: [String, Number, Function],
@@ -1906,7 +1906,7 @@ const xl = /* @__PURE__ */ uo(Sp, [["render", Tp]]), Cp = {
1906
1906
  },
1907
1907
  loadingContent: {
1908
1908
  type: String,
1909
- default: (n) => Pr(n.theme, "loadingContent")
1909
+ default: (n) => Fr(n.theme, "loadingContent")
1910
1910
  },
1911
1911
  targetNodes: {
1912
1912
  type: Function,
@@ -2021,22 +2021,22 @@ function kp(n, e) {
2021
2021
  if (!t && e)
2022
2022
  for (const s of wf)
2023
2023
  e[s] && (t = s);
2024
- return t || (t = Pr(n.theme || "tooltip", "placement")), t;
2024
+ return t || (t = Fr(n.theme || "tooltip", "placement")), t;
2025
2025
  }
2026
2026
  function Nf(n, e, t) {
2027
2027
  let s;
2028
2028
  const r = typeof e;
2029
2029
  return r === "string" ? s = { content: e } : e && r === "object" ? s = e : s = { content: !1 }, s.placement = kp(s, t), s.targetNodes = () => [n], s.referenceNode = () => n, s;
2030
2030
  }
2031
- let Do, Fr, Mp = 0;
2031
+ let Do, kr, Mp = 0;
2032
2032
  function Dp() {
2033
2033
  if (Do)
2034
2034
  return;
2035
- Fr = H([]), Do = Sg({
2035
+ kr = H([]), Do = Sg({
2036
2036
  name: "VTooltipDirectiveApp",
2037
2037
  setup() {
2038
2038
  return {
2039
- directives: Fr
2039
+ directives: kr
2040
2040
  };
2041
2041
  },
2042
2042
  render() {
@@ -2060,7 +2060,7 @@ function Np(n, e, t) {
2060
2060
  options: s,
2061
2061
  shown: r
2062
2062
  };
2063
- return Fr.value.push(i), n.classList && n.classList.add(Df), n.$_popper = {
2063
+ return kr.value.push(i), n.classList && n.classList.add(Df), n.$_popper = {
2064
2064
  options: s,
2065
2065
  item: i,
2066
2066
  show() {
@@ -2073,14 +2073,14 @@ function Np(n, e, t) {
2073
2073
  }
2074
2074
  function Uf(n) {
2075
2075
  if (n.$_popper) {
2076
- const e = Fr.value.indexOf(n.$_popper.item);
2077
- e !== -1 && Fr.value.splice(e, 1), delete n.$_popper, delete n.$_popperOldShown, delete n.$_popperMountTarget;
2076
+ const e = kr.value.indexOf(n.$_popper.item);
2077
+ e !== -1 && kr.value.splice(e, 1), delete n.$_popper, delete n.$_popperOldShown, delete n.$_popperMountTarget;
2078
2078
  }
2079
2079
  n.classList && n.classList.remove(Df);
2080
2080
  }
2081
2081
  function wc(n, { value: e, modifiers: t }) {
2082
2082
  const s = Nf(n, e, t);
2083
- if (!s.content || Pr(s.theme || "tooltip", "disabled"))
2083
+ if (!s.content || Fr(s.theme || "tooltip", "disabled"))
2084
2084
  Uf(n);
2085
2085
  else {
2086
2086
  let r;
@@ -2329,7 +2329,7 @@ const ce = {
2329
2329
  // minimizer error messages
2330
2330
  [ce.UNHANDLED_MINIFIER_NODE_TYPE]: "unhandled mimifier node type: '{0}'"
2331
2331
  };
2332
- function tr(n, e, t = {}) {
2332
+ function nr(n, e, t = {}) {
2333
2333
  const { domain: s, messages: r, args: i } = t, o = Kf((r || tv)[n] || "", ...i || []), a = new SyntaxError(String(o));
2334
2334
  return a.code = n, e && (a.location = e), a.domain = s, a;
2335
2335
  }
@@ -2393,7 +2393,7 @@ function dv(n, e = {}) {
2393
2393
  function d(b, L, j, ...ie) {
2394
2394
  const qe = c();
2395
2395
  if (L.column += j, L.offset += j, u) {
2396
- const Be = t ? Vi(qe.startLoc, L) : null, Ue = tr(b, Be, {
2396
+ const Be = t ? Vi(qe.startLoc, L) : null, Ue = nr(b, Be, {
2397
2397
  domain: uv,
2398
2398
  args: ie
2399
2399
  });
@@ -2514,7 +2514,7 @@ function dv(n, e = {}) {
2514
2514
  }, ie = j();
2515
2515
  return L && b.resetPeek(), ie;
2516
2516
  }
2517
- function k(b, L) {
2517
+ function F(b, L) {
2518
2518
  const j = b.currentChar();
2519
2519
  return j === Fn ? Fn : L(j) ? (b.next(), j) : null;
2520
2520
  }
@@ -2527,7 +2527,7 @@ function dv(n, e = {}) {
2527
2527
  L === 36;
2528
2528
  }
2529
2529
  function _(b) {
2530
- return k(b, K);
2530
+ return F(b, K);
2531
2531
  }
2532
2532
  function $(b) {
2533
2533
  const L = b.charCodeAt(0);
@@ -2539,14 +2539,14 @@ function dv(n, e = {}) {
2539
2539
  L === 45;
2540
2540
  }
2541
2541
  function Y(b) {
2542
- return k(b, $);
2542
+ return F(b, $);
2543
2543
  }
2544
2544
  function ne(b) {
2545
2545
  const L = b.charCodeAt(0);
2546
2546
  return L >= 48 && L <= 57;
2547
2547
  }
2548
2548
  function X(b) {
2549
- return k(b, ne);
2549
+ return F(b, ne);
2550
2550
  }
2551
2551
  function q(b) {
2552
2552
  const L = b.charCodeAt(0);
@@ -2555,7 +2555,7 @@ function dv(n, e = {}) {
2555
2555
  L >= 97 && L <= 102;
2556
2556
  }
2557
2557
  function ve(b) {
2558
- return k(b, q);
2558
+ return F(b, q);
2559
2559
  }
2560
2560
  function le(b) {
2561
2561
  let L = "", j = "";
@@ -2610,7 +2610,7 @@ function dv(n, e = {}) {
2610
2610
  function sn(b) {
2611
2611
  p(b), m(b, "'");
2612
2612
  let L = "", j = "";
2613
- for (; L = k(b, at); )
2613
+ for (; L = F(b, at); )
2614
2614
  L === "\\" ? j += En(b) : j += L;
2615
2615
  const ie = b.currentChar();
2616
2616
  return ie === Et || ie === Fn ? (d(ce.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, i(), 0), ie === Et && (b.next(), m(b, "'")), j) : (m(b, "'"), j);
@@ -2642,17 +2642,17 @@ function dv(n, e = {}) {
2642
2642
  }
2643
2643
  return `\\${L}${ie}`;
2644
2644
  }
2645
- function lr(b) {
2645
+ function cr(b) {
2646
2646
  return b !== "{" && b !== "}" && b !== An && b !== Et;
2647
2647
  }
2648
- function cr(b) {
2648
+ function ur(b) {
2649
2649
  p(b);
2650
2650
  let L = "", j = "";
2651
- for (; L = k(b, lr); )
2651
+ for (; L = F(b, cr); )
2652
2652
  j += L;
2653
2653
  return j;
2654
2654
  }
2655
- function ur(b) {
2655
+ function dr(b) {
2656
2656
  let L = "", j = "";
2657
2657
  for (; L = _(b); )
2658
2658
  j += L;
@@ -2674,7 +2674,7 @@ function dv(n, e = {}) {
2674
2674
  );
2675
2675
  return p(b), L;
2676
2676
  }
2677
- function dr(b, L) {
2677
+ function fr(b, L) {
2678
2678
  let j = null;
2679
2679
  switch (b.currentChar()) {
2680
2680
  case "{":
@@ -2698,7 +2698,7 @@ function dv(n, e = {}) {
2698
2698
  if (w(b))
2699
2699
  return L.braceNest > 0 && d(ce.UNTERMINATED_CLOSING_BRACE, i(), 0), j = f(L, 1, ke(b)), L.braceNest = 0, L.inLinked = !1, j;
2700
2700
  if (L.braceNest > 0 && (L.currentType === 5 || L.currentType === 6 || L.currentType === 7))
2701
- return d(ce.UNTERMINATED_CLOSING_BRACE, i(), 0), L.braceNest = 0, fr(b, L);
2701
+ return d(ce.UNTERMINATED_CLOSING_BRACE, i(), 0), L.braceNest = 0, hr(b, L);
2702
2702
  if (qe = v(b, L))
2703
2703
  return j = f(L, 5, Xe(b)), p(b), j;
2704
2704
  if (Be = R(b, L))
@@ -2706,7 +2706,7 @@ function dv(n, e = {}) {
2706
2706
  if (Ue = x(b, L))
2707
2707
  return j = f(L, 7, sn(b)), p(b), j;
2708
2708
  if (!qe && !Be && !Ue)
2709
- return j = f(L, 13, cr(b)), d(ce.INVALID_TOKEN_IN_PLACEHOLDER, i(), 0, j.value), p(b), j;
2709
+ return j = f(L, 13, ur(b)), d(ce.INVALID_TOKEN_IN_PLACEHOLDER, i(), 0, j.value), p(b), j;
2710
2710
  break;
2711
2711
  }
2712
2712
  }
@@ -2739,21 +2739,21 @@ function dv(n, e = {}) {
2739
2739
  /* TokenChars.LinkedDelimiter */
2740
2740
  );
2741
2741
  default:
2742
- return w(b) ? (ie = f(L, 1, ke(b)), L.braceNest = 0, L.inLinked = !1, ie) : S(b, L) || C(b, L) ? (p(b), Jn(b, L)) : T(b, L) ? (p(b), f(L, 12, ur(b))) : I(b, L) ? (p(b), qe === "{" ? dr(b, L) || ie : f(L, 11, Z(b))) : (j === 8 && d(ce.INVALID_LINKED_FORMAT, i(), 0), L.braceNest = 0, L.inLinked = !1, fr(b, L));
2742
+ return w(b) ? (ie = f(L, 1, ke(b)), L.braceNest = 0, L.inLinked = !1, ie) : S(b, L) || C(b, L) ? (p(b), Jn(b, L)) : T(b, L) ? (p(b), f(L, 12, dr(b))) : I(b, L) ? (p(b), qe === "{" ? fr(b, L) || ie : f(L, 11, Z(b))) : (j === 8 && d(ce.INVALID_LINKED_FORMAT, i(), 0), L.braceNest = 0, L.inLinked = !1, hr(b, L));
2743
2743
  }
2744
2744
  }
2745
- function fr(b, L) {
2745
+ function hr(b, L) {
2746
2746
  let j = {
2747
2747
  type: 14
2748
2748
  /* TokenTypes.EOF */
2749
2749
  };
2750
2750
  if (L.braceNest > 0)
2751
- return dr(b, L) || h(L);
2751
+ return fr(b, L) || h(L);
2752
2752
  if (L.inLinked)
2753
2753
  return Jn(b, L) || h(L);
2754
2754
  switch (b.currentChar()) {
2755
2755
  case "{":
2756
- return dr(b, L) || h(L);
2756
+ return fr(b, L) || h(L);
2757
2757
  case "}":
2758
2758
  return d(ce.UNBALANCED_CLOSING_BRACE, i(), 0), b.next(), f(
2759
2759
  L,
@@ -2782,7 +2782,7 @@ function dv(n, e = {}) {
2782
2782
  l,
2783
2783
  14
2784
2784
  /* TokenTypes.EOF */
2785
- ) : fr(s, l);
2785
+ ) : hr(s, l);
2786
2786
  }
2787
2787
  return {
2788
2788
  nextToken: Fo,
@@ -2809,7 +2809,7 @@ function gv(n = {}) {
2809
2809
  function r(v, R, x, S, ...T) {
2810
2810
  const C = v.currentPosition();
2811
2811
  if (C.offset += S, C.column += S, t) {
2812
- const I = e ? Vi(x, C) : null, w = tr(R, I, {
2812
+ const I = e ? Vi(x, C) : null, w = nr(R, I, {
2813
2813
  domain: fv,
2814
2814
  args: T
2815
2815
  });
@@ -2915,8 +2915,8 @@ function gv(n = {}) {
2915
2915
  N.value == null && r(v, ce.UNEXPECTED_LEXICAL_ANALYSIS, R.lastStartLoc, 0, Ht(N)), T.items.push(d(v, N.value || ""));
2916
2916
  break;
2917
2917
  case 8: {
2918
- const k = m(v);
2919
- T.items.push(k.node), C = k.nextConsumeToken || null;
2918
+ const F = m(v);
2919
+ T.items.push(F.node), C = F.nextConsumeToken || null;
2920
2920
  break;
2921
2921
  }
2922
2922
  }
@@ -3083,7 +3083,7 @@ function ks(n) {
3083
3083
  break;
3084
3084
  }
3085
3085
  default:
3086
- throw tr(ce.UNHANDLED_MINIFIER_NODE_TYPE, null, {
3086
+ throw nr(ce.UNHANDLED_MINIFIER_NODE_TYPE, null, {
3087
3087
  domain: Ev,
3088
3088
  args: [n.type]
3089
3089
  });
@@ -3138,7 +3138,7 @@ function Rv(n, e) {
3138
3138
  n.push(`${t(
3139
3139
  "linked"
3140
3140
  /* HelperNameMap.LINKED */
3141
- )}(`), qs(n, e.key), e.modifier ? (n.push(", "), qs(n, e.modifier), n.push(", _type")) : n.push(", undefined, _type"), n.push(")");
3141
+ )}(`), Ys(n, e.key), e.modifier ? (n.push(", "), Ys(n, e.modifier), n.push(", _type")) : n.push(", undefined, _type"), n.push(")");
3142
3142
  }
3143
3143
  function Sv(n, e) {
3144
3144
  const { helper: t, needIndent: s } = n;
@@ -3147,7 +3147,7 @@ function Sv(n, e) {
3147
3147
  /* HelperNameMap.NORMALIZE */
3148
3148
  )}([`), n.indent(s());
3149
3149
  const r = e.items.length;
3150
- for (let i = 0; i < r && (qs(n, e.items[i]), i !== r - 1); i++)
3150
+ for (let i = 0; i < r && (Ys(n, e.items[i]), i !== r - 1); i++)
3151
3151
  n.push(", ");
3152
3152
  n.deindent(s()), n.push("])");
3153
3153
  }
@@ -3159,15 +3159,15 @@ function Tv(n, e) {
3159
3159
  /* HelperNameMap.PLURAL */
3160
3160
  )}([`), n.indent(s());
3161
3161
  const r = e.cases.length;
3162
- for (let i = 0; i < r && (qs(n, e.cases[i]), i !== r - 1); i++)
3162
+ for (let i = 0; i < r && (Ys(n, e.cases[i]), i !== r - 1); i++)
3163
3163
  n.push(", ");
3164
3164
  n.deindent(s()), n.push("])");
3165
3165
  }
3166
3166
  }
3167
3167
  function Cv(n, e) {
3168
- e.body ? qs(n, e.body) : n.push("null");
3168
+ e.body ? Ys(n, e.body) : n.push("null");
3169
3169
  }
3170
- function qs(n, e) {
3170
+ function Ys(n, e) {
3171
3171
  const { helper: t } = n;
3172
3172
  switch (e.type) {
3173
3173
  case 0:
@@ -3213,7 +3213,7 @@ function qs(n, e) {
3213
3213
  n.push(JSON.stringify(e.value), e);
3214
3214
  break;
3215
3215
  default:
3216
- throw tr(ce.UNHANDLED_CODEGEN_NODE_TYPE, null, {
3216
+ throw nr(ce.UNHANDLED_CODEGEN_NODE_TYPE, null, {
3217
3217
  domain: Av,
3218
3218
  args: [e.type]
3219
3219
  });
@@ -3228,7 +3228,7 @@ const bv = (n, e = {}) => {
3228
3228
  breakLineCode: i,
3229
3229
  needIndent: o
3230
3230
  });
3231
- l.push(t === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), l.indent(o), a.length > 0 && (l.push(`const { ${qf(a.map((d) => `${d}: _${d}`), ", ")} } = ctx`), l.newline()), l.push("return "), qs(l, n), l.deindent(o), l.push("}"), delete n.helpers;
3231
+ l.push(t === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), l.indent(o), a.length > 0 && (l.push(`const { ${qf(a.map((d) => `${d}: _${d}`), ", ")} } = ctx`), l.newline()), l.push("return "), Ys(l, n), l.deindent(o), l.push("}"), delete n.helpers;
3232
3232
  const { code: c, map: u } = l.context();
3233
3233
  return {
3234
3234
  ast: n,
@@ -3564,12 +3564,12 @@ function Wv(n = {}) {
3564
3564
  };
3565
3565
  return p;
3566
3566
  }
3567
- let kr = null;
3567
+ let Mr = null;
3568
3568
  function Kv(n) {
3569
- kr = n;
3569
+ Mr = n;
3570
3570
  }
3571
3571
  function Xv(n, e, t) {
3572
- kr && kr.emit("i18n:init", {
3572
+ Mr && Mr.emit("i18n:init", {
3573
3573
  timestamp: Date.now(),
3574
3574
  i18n: n,
3575
3575
  version: e,
@@ -3581,7 +3581,7 @@ const qv = /* @__PURE__ */ Yv(
3581
3581
  /* IntlifyDevToolsHooks.FunctionTranslate */
3582
3582
  );
3583
3583
  function Yv(n) {
3584
- return (e) => kr && kr.emit(n, e);
3584
+ return (e) => Mr && Mr.emit(n, e);
3585
3585
  }
3586
3586
  const Yf = go.__EXTEND_POINT__, es = mo(Yf), At = {
3587
3587
  NOT_FOUND_KEY: Yf,
@@ -3631,7 +3631,7 @@ const Qf = ce.__EXTEND_POINT__, ts = mo(Qf), ct = {
3631
3631
  // 24
3632
3632
  };
3633
3633
  function cn(n) {
3634
- return tr(n, null, process.env.NODE_ENV !== "production" ? { messages: Zv } : void 0);
3634
+ return nr(n, null, process.env.NODE_ENV !== "production" ? { messages: Zv } : void 0);
3635
3635
  }
3636
3636
  const Zv = {
3637
3637
  [ct.INVALID_ARGUMENT]: "Invalid arguments",
@@ -3669,7 +3669,7 @@ function Jv(n, e, t) {
3669
3669
  ])];
3670
3670
  }
3671
3671
  function Zf(n, e, t) {
3672
- const s = J(t) ? t : Ys, r = n;
3672
+ const s = J(t) ? t : Qs, r = n;
3673
3673
  r.__localeChainCache || (r.__localeChainCache = /* @__PURE__ */ new Map());
3674
3674
  let i = r.__localeChainCache.get(s);
3675
3675
  if (!i) {
@@ -3708,7 +3708,7 @@ function $v(n, e, t) {
3708
3708
  }
3709
3709
  return s;
3710
3710
  }
3711
- const ey = "9.14.0", po = -1, Ys = "en-US", Gi = "", Wc = (n) => `${n.charAt(0).toLocaleUpperCase()}${n.substr(1)}`;
3711
+ const ey = "9.14.0", po = -1, Qs = "en-US", Gi = "", Wc = (n) => `${n.charAt(0).toLocaleUpperCase()}${n.substr(1)}`;
3712
3712
  function ty() {
3713
3713
  return {
3714
3714
  upper: (n, e) => e === "text" && J(n) ? n.toUpperCase() : e === "vnode" && Fe(n) && "__v_isVNode" in n ? n.children.toUpperCase() : n,
@@ -3738,7 +3738,7 @@ const Xc = (n) => {
3738
3738
  }, oy = () => th;
3739
3739
  let qc = 0;
3740
3740
  function ay(n = {}) {
3741
- const e = Ve(n.onWarn) ? n.onWarn : it, t = J(n.version) ? n.version : ey, s = J(n.locale) || Ve(n.locale) ? n.locale : Ys, r = Ve(s) ? Ys : s, i = We(n.fallbackLocale) || fe(n.fallbackLocale) || J(n.fallbackLocale) || n.fallbackLocale === !1 ? n.fallbackLocale : r, o = fe(n.messages) ? n.messages : { [r]: {} }, a = fe(n.datetimeFormats) ? n.datetimeFormats : { [r]: {} }, l = fe(n.numberFormats) ? n.numberFormats : { [r]: {} }, c = mt({}, n.modifiers || {}, ty()), u = n.pluralRules || {}, d = Ve(n.missing) ? n.missing : null, f = Ee(n.missingWarn) || Yn(n.missingWarn) ? n.missingWarn : !0, h = Ee(n.fallbackWarn) || Yn(n.fallbackWarn) ? n.fallbackWarn : !0, m = !!n.fallbackFormat, g = !!n.unresolving, p = Ve(n.postTranslation) ? n.postTranslation : null, y = fe(n.processor) ? n.processor : null, E = Ee(n.warnHtmlMessage) ? n.warnHtmlMessage : !0, v = !!n.escapeParameter, R = Ve(n.messageCompiler) ? n.messageCompiler : Jf;
3741
+ const e = Ve(n.onWarn) ? n.onWarn : it, t = J(n.version) ? n.version : ey, s = J(n.locale) || Ve(n.locale) ? n.locale : Qs, r = Ve(s) ? Qs : s, i = We(n.fallbackLocale) || fe(n.fallbackLocale) || J(n.fallbackLocale) || n.fallbackLocale === !1 ? n.fallbackLocale : r, o = fe(n.messages) ? n.messages : { [r]: {} }, a = fe(n.datetimeFormats) ? n.datetimeFormats : { [r]: {} }, l = fe(n.numberFormats) ? n.numberFormats : { [r]: {} }, c = mt({}, n.modifiers || {}, ty()), u = n.pluralRules || {}, d = Ve(n.missing) ? n.missing : null, f = Ee(n.missingWarn) || Yn(n.missingWarn) ? n.missingWarn : !0, h = Ee(n.fallbackWarn) || Yn(n.fallbackWarn) ? n.fallbackWarn : !0, m = !!n.fallbackFormat, g = !!n.unresolving, p = Ve(n.postTranslation) ? n.postTranslation : null, y = fe(n.processor) ? n.processor : null, E = Ee(n.warnHtmlMessage) ? n.warnHtmlMessage : !0, v = !!n.escapeParameter, R = Ve(n.messageCompiler) ? n.messageCompiler : Jf;
3742
3742
  process.env.NODE_ENV !== "production" && Ve(n.messageCompiler) && Wf(gs(At.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
3743
3743
  const x = Ve(n.messageResolver) ? n.messageResolver : _f || Dv, S = Ve(n.localeFallbacker) ? n.localeFallbacker : $f || Jv, T = Fe(n.fallbackContext) ? n.fallbackContext : void 0, C = n, I = Fe(C.__datetimeFormatters) ? C.__datetimeFormatters : /* @__PURE__ */ new Map(), w = Fe(C.__numberFormatters) ? C.__numberFormatters : /* @__PURE__ */ new Map(), O = Fe(C.__meta) ? C.__meta : {};
3744
3744
  qc++;
@@ -3791,7 +3791,7 @@ function bl(n, e, t, s, r) {
3791
3791
  } else
3792
3792
  return process.env.NODE_ENV !== "production" && nh(s, e) && o(gs(At.NOT_FOUND_KEY, { key: e, locale: t })), e;
3793
3793
  }
3794
- function hr(n, e, t) {
3794
+ function mr(n, e, t) {
3795
3795
  const s = n;
3796
3796
  s.__localeChainCache = /* @__PURE__ */ new Map(), n.localeFallbacker(n, t, e);
3797
3797
  }
@@ -3943,14 +3943,14 @@ function Zc(n, ...e) {
3943
3943
  return R;
3944
3944
  const I = vy(n, E, v, c), w = Wv(I), O = my(n, C, w), N = s ? s(O, l) : O;
3945
3945
  if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
3946
- const k = {
3946
+ const F = {
3947
3947
  timestamp: Date.now(),
3948
3948
  key: J(l) ? l : Ut(R) ? R.key : "",
3949
3949
  locale: E || (Ut(R) ? R.locale : ""),
3950
3950
  format: J(R) ? R : Ut(R) ? R.source : "",
3951
3951
  message: N
3952
3952
  };
3953
- k.meta = mt({}, n.__meta, /* @__PURE__ */ iy() || {}), qv(k);
3953
+ F.meta = mt({}, n.__meta, /* @__PURE__ */ iy() || {}), qv(F);
3954
3954
  }
3955
3955
  return N;
3956
3956
  }
@@ -4458,7 +4458,7 @@ const gh = ct.__EXTEND_POINT__, Tt = mo(gh), Ie = {
4458
4458
  // 38
4459
4459
  };
4460
4460
  function ot(n, ...e) {
4461
- return tr(n, null, process.env.NODE_ENV !== "production" ? { messages: wy, args: e } : void 0);
4461
+ return nr(n, null, process.env.NODE_ENV !== "production" ? { messages: wy, args: e } : void 0);
4462
4462
  }
4463
4463
  const wy = {
4464
4464
  [Ie.UNEXPECTED_RETURN_TYPE]: "Unexpected return type in composer",
@@ -4475,14 +4475,14 @@ const wy = {
4475
4475
  [Ie.BRIDGE_SUPPORT_VUE_2_ONLY]: "vue-i18n-bridge support Vue 2.x only",
4476
4476
  [Ie.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION]: "Must define ‘i18n’ option or custom block in Composition API with using local scope in Legacy API mode",
4477
4477
  [Ie.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]: "Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"
4478
- }, ka = /* @__PURE__ */ yn("__translateVNode"), Ma = /* @__PURE__ */ yn("__datetimeParts"), Da = /* @__PURE__ */ yn("__numberParts"), ps = /* @__PURE__ */ yn("__enableEmitter"), Mr = /* @__PURE__ */ yn("__disableEmitter"), ph = yn("__setPluralRules"), vh = /* @__PURE__ */ yn("__injectWithOption"), Na = /* @__PURE__ */ yn("__dispose");
4479
- function Dr(n) {
4478
+ }, ka = /* @__PURE__ */ yn("__translateVNode"), Ma = /* @__PURE__ */ yn("__datetimeParts"), Da = /* @__PURE__ */ yn("__numberParts"), ps = /* @__PURE__ */ yn("__enableEmitter"), Dr = /* @__PURE__ */ yn("__disableEmitter"), ph = yn("__setPluralRules"), vh = /* @__PURE__ */ yn("__injectWithOption"), Na = /* @__PURE__ */ yn("__dispose");
4479
+ function Nr(n) {
4480
4480
  if (!Fe(n))
4481
4481
  return n;
4482
4482
  for (const e in n)
4483
4483
  if (zi(n, e))
4484
4484
  if (!e.includes("."))
4485
- Fe(n[e]) && Dr(n[e]);
4485
+ Fe(n[e]) && Nr(n[e]);
4486
4486
  else {
4487
4487
  const t = e.split("."), s = t.length - 1;
4488
4488
  let r = n, i = !1;
@@ -4495,7 +4495,7 @@ function Dr(n) {
4495
4495
  }
4496
4496
  r = r[t[o]];
4497
4497
  }
4498
- i || (r[t[s]] = n[e], delete n[e]), Fe(r[t[s]]) && Dr(r[t[s]]);
4498
+ i || (r[t[s]] = n[e], delete n[e]), Fe(r[t[s]]) && Nr(r[t[s]]);
4499
4499
  }
4500
4500
  return n;
4501
4501
  }
@@ -4509,7 +4509,7 @@ function yo(n, e) {
4509
4509
  J(a) && yi(JSON.parse(a), o);
4510
4510
  }), r == null && i)
4511
4511
  for (const a in o)
4512
- zi(o, a) && Dr(o[a]);
4512
+ zi(o, a) && Nr(o[a]);
4513
4513
  return o;
4514
4514
  }
4515
4515
  function yh(n) {
@@ -4546,10 +4546,10 @@ function nu(n) {
4546
4546
  const su = "__INTLIFY_META__", ru = () => [], Oy = () => !1;
4547
4547
  let iu = 0;
4548
4548
  function ou(n) {
4549
- return (e, t, s, r) => n(t, s, Xs() || void 0, r);
4549
+ return (e, t, s, r) => n(t, s, qs() || void 0, r);
4550
4550
  }
4551
4551
  const Py = /* @__NO_SIDE_EFFECTS__ */ () => {
4552
- const n = Xs();
4552
+ const n = qs();
4553
4553
  let e = null;
4554
4554
  return n && (e = yh(n)[su]) ? { [su]: e } : null;
4555
4555
  };
@@ -4559,7 +4559,7 @@ function Il(n = {}, e) {
4559
4559
  let l = Ee(n.inheritLocale) ? n.inheritLocale : !0;
4560
4560
  const c = o(
4561
4561
  // prettier-ignore
4562
- t && l ? t.locale.value : J(n.locale) ? n.locale : Ys
4562
+ t && l ? t.locale.value : J(n.locale) ? n.locale : Qs
4563
4563
  ), u = o(
4564
4564
  // prettier-ignore
4565
4565
  t && l ? t.fallbackLocale.value : J(n.fallbackLocale) || We(n.fallbackLocale) || fe(n.fallbackLocale) || n.fallbackLocale === !1 ? n.fallbackLocale : c.value
@@ -4591,7 +4591,7 @@ function Il(n = {}, e) {
4591
4591
  V.datetimeFormats = f.value, V.numberFormats = h.value, V.__datetimeFormatters = fe(I) ? I.__datetimeFormatters : void 0, V.__numberFormatters = fe(I) ? I.__numberFormatters : void 0, process.env.NODE_ENV !== "production" && (V.__v_emitter = fe(I) ? I.__v_emitter : void 0);
4592
4592
  const Q = ay(V);
4593
4593
  return r && Xc(Q), Q;
4594
- })(), hr(I, c.value, u.value);
4594
+ })(), mr(I, c.value, u.value);
4595
4595
  function O() {
4596
4596
  return [
4597
4597
  c.value,
@@ -4606,10 +4606,10 @@ function Il(n = {}, e) {
4606
4606
  set: (V) => {
4607
4607
  c.value = V, I.locale = c.value;
4608
4608
  }
4609
- }), k = re({
4609
+ }), F = re({
4610
4610
  get: () => u.value,
4611
4611
  set: (V) => {
4612
- u.value = V, I.fallbackLocale = u.value, hr(I, c.value, V);
4612
+ u.value = V, I.fallbackLocale = u.value, mr(I, c.value, V);
4613
4613
  }
4614
4614
  }), K = re(() => d.value), _ = /* @__PURE__ */ re(() => f.value), $ = /* @__PURE__ */ re(() => h.value);
4615
4615
  function Y() {
@@ -4700,7 +4700,7 @@ function Il(n = {}, e) {
4700
4700
  (Q) => We(Q)
4701
4701
  );
4702
4702
  }
4703
- function lr(...V) {
4703
+ function cr(...V) {
4704
4704
  return le(
4705
4705
  (Q) => Reflect.apply(eu, null, [Q, ...V]),
4706
4706
  () => Pa(...V),
@@ -4711,7 +4711,7 @@ function Il(n = {}, e) {
4711
4711
  (Q) => J(Q) || We(Q)
4712
4712
  );
4713
4713
  }
4714
- function cr(...V) {
4714
+ function ur(...V) {
4715
4715
  return le(
4716
4716
  (Q) => Reflect.apply(_c, null, [Q, ...V]),
4717
4717
  () => Oa(...V),
@@ -4722,7 +4722,7 @@ function Il(n = {}, e) {
4722
4722
  (Q) => J(Q) || We(Q)
4723
4723
  );
4724
4724
  }
4725
- function ur(V) {
4725
+ function dr(V) {
4726
4726
  C = V, I.pluralRules = C;
4727
4727
  }
4728
4728
  function Z(V, Q) {
@@ -4745,18 +4745,18 @@ function Il(n = {}, e) {
4745
4745
  }
4746
4746
  return Q;
4747
4747
  }
4748
- function dr(V) {
4748
+ function fr(V) {
4749
4749
  const Q = ke(V);
4750
4750
  return Q ?? (t ? t.tm(V) || {} : {});
4751
4751
  }
4752
4752
  function Jn(V) {
4753
4753
  return d.value[V] || {};
4754
4754
  }
4755
- function fr(V, Q) {
4755
+ function hr(V, Q) {
4756
4756
  if (i) {
4757
4757
  const Me = { [V]: Q };
4758
4758
  for (const $e in Me)
4759
- zi(Me, $e) && Dr(Me[$e]);
4759
+ zi(Me, $e) && Nr(Me[$e]);
4760
4760
  Q = Me[V];
4761
4761
  }
4762
4762
  d.value[V] = Q, I.messages = d.value;
@@ -4766,7 +4766,7 @@ function Il(n = {}, e) {
4766
4766
  const Me = { [V]: Q };
4767
4767
  if (i)
4768
4768
  for (const $e in Me)
4769
- zi(Me, $e) && Dr(Me[$e]);
4769
+ zi(Me, $e) && Nr(Me[$e]);
4770
4770
  Q = Me[V], yi(Q, d.value[V]), I.messages = d.value;
4771
4771
  }
4772
4772
  function b(V) {
@@ -4788,19 +4788,19 @@ function Il(n = {}, e) {
4788
4788
  h.value[V] = mt(h.value[V] || {}, Q), I.numberFormats = h.value, tu(I, V, Q);
4789
4789
  }
4790
4790
  iu++, t && $t && (St(t.locale, (V) => {
4791
- l && (c.value = V, I.locale = V, hr(I, c.value, u.value));
4791
+ l && (c.value = V, I.locale = V, mr(I, c.value, u.value));
4792
4792
  }), St(t.fallbackLocale, (V) => {
4793
- l && (u.value = V, I.fallbackLocale = V, hr(I, c.value, u.value));
4793
+ l && (u.value = V, I.fallbackLocale = V, mr(I, c.value, u.value));
4794
4794
  }));
4795
4795
  const Ue = {
4796
4796
  id: iu,
4797
4797
  locale: N,
4798
- fallbackLocale: k,
4798
+ fallbackLocale: F,
4799
4799
  get inheritLocale() {
4800
4800
  return l;
4801
4801
  },
4802
4802
  set inheritLocale(V) {
4803
- l = V, V && t && (c.value = t.locale.value, u.value = t.fallbackLocale.value, hr(I, c.value, u.value));
4803
+ l = V, V && t && (c.value = t.locale.value, u.value = t.fallbackLocale.value, mr(I, c.value, u.value));
4804
4804
  },
4805
4805
  get availableLocales() {
4806
4806
  return Object.keys(d.value).sort();
@@ -4853,22 +4853,22 @@ function Il(n = {}, e) {
4853
4853
  },
4854
4854
  t: Re,
4855
4855
  getLocaleMessage: Jn,
4856
- setLocaleMessage: fr,
4856
+ setLocaleMessage: hr,
4857
4857
  mergeLocaleMessage: Fo,
4858
4858
  getPostTranslationHandler: Y,
4859
4859
  setPostTranslationHandler: ne,
4860
4860
  getMissingHandler: X,
4861
4861
  setMissingHandler: q,
4862
- [ph]: ur
4862
+ [ph]: dr
4863
4863
  };
4864
- return Ue.datetimeFormats = _, Ue.numberFormats = $, Ue.rt = Ge, Ue.te = Z, Ue.tm = dr, Ue.d = Xe, Ue.n = Qe, Ue.getDateTimeFormat = b, Ue.setDateTimeFormat = L, Ue.mergeDateTimeFormat = j, Ue.getNumberFormat = ie, Ue.setNumberFormat = qe, Ue.mergeNumberFormat = Be, Ue[vh] = s, Ue[ka] = Rs, Ue[Ma] = cr, Ue[Da] = lr, process.env.NODE_ENV !== "production" && (Ue[ps] = (V) => {
4864
+ return Ue.datetimeFormats = _, Ue.numberFormats = $, Ue.rt = Ge, Ue.te = Z, Ue.tm = fr, Ue.d = Xe, Ue.n = Qe, Ue.getDateTimeFormat = b, Ue.setDateTimeFormat = L, Ue.mergeDateTimeFormat = j, Ue.getNumberFormat = ie, Ue.setNumberFormat = qe, Ue.mergeNumberFormat = Be, Ue[vh] = s, Ue[ka] = Rs, Ue[Ma] = ur, Ue[Da] = cr, process.env.NODE_ENV !== "production" && (Ue[ps] = (V) => {
4865
4865
  I.__v_emitter = V;
4866
- }, Ue[Mr] = () => {
4866
+ }, Ue[Dr] = () => {
4867
4867
  I.__v_emitter = void 0;
4868
4868
  }), Ue;
4869
4869
  }
4870
4870
  function Fy(n) {
4871
- const e = J(n.locale) ? n.locale : Ys, t = J(n.fallbackLocale) || We(n.fallbackLocale) || fe(n.fallbackLocale) || n.fallbackLocale === !1 ? n.fallbackLocale : e, s = Ve(n.missing) ? n.missing : void 0, r = Ee(n.silentTranslationWarn) || Yn(n.silentTranslationWarn) ? !n.silentTranslationWarn : !0, i = Ee(n.silentFallbackWarn) || Yn(n.silentFallbackWarn) ? !n.silentFallbackWarn : !0, o = Ee(n.fallbackRoot) ? n.fallbackRoot : !0, a = !!n.formatFallbackMessages, l = fe(n.modifiers) ? n.modifiers : {}, c = n.pluralizationRules, u = Ve(n.postTranslation) ? n.postTranslation : void 0, d = J(n.warnHtmlInMessage) ? n.warnHtmlInMessage !== "off" : !0, f = !!n.escapeParameterHtml, h = Ee(n.sync) ? n.sync : !0;
4871
+ const e = J(n.locale) ? n.locale : Qs, t = J(n.fallbackLocale) || We(n.fallbackLocale) || fe(n.fallbackLocale) || n.fallbackLocale === !1 ? n.fallbackLocale : e, s = Ve(n.missing) ? n.missing : void 0, r = Ee(n.silentTranslationWarn) || Yn(n.silentTranslationWarn) ? !n.silentTranslationWarn : !0, i = Ee(n.silentFallbackWarn) || Yn(n.silentFallbackWarn) ? !n.silentFallbackWarn : !0, o = Ee(n.fallbackRoot) ? n.fallbackRoot : !0, a = !!n.formatFallbackMessages, l = fe(n.modifiers) ? n.modifiers : {}, c = n.pluralizationRules, u = Ve(n.postTranslation) ? n.postTranslation : void 0, d = J(n.warnHtmlInMessage) ? n.warnHtmlInMessage !== "off" : !0, f = !!n.escapeParameterHtml, h = Ee(n.sync) ? n.sync : !0;
4872
4872
  process.env.NODE_ENV !== "production" && n.formatter && it(It(Ye.NOT_SUPPORTED_FORMATTER)), process.env.NODE_ENV !== "production" && n.preserveDirectiveContent && it(It(Ye.NOT_SUPPORTED_PRESERVE_DIRECTIVE));
4873
4873
  let m = n.messages;
4874
4874
  if (fe(n.sharedMessages)) {
@@ -5115,7 +5115,7 @@ function Ua(n = {}, e) {
5115
5115
  o[ps] && o[ps](i);
5116
5116
  }, r.__disableEmitter = () => {
5117
5117
  const i = t;
5118
- i[Mr] && i[Mr]();
5118
+ i[Dr] && i[Dr]();
5119
5119
  }), r;
5120
5120
  }
5121
5121
  }
@@ -5565,7 +5565,7 @@ function _y(n) {
5565
5565
  }
5566
5566
  return e;
5567
5567
  }
5568
- function Nr(n, e) {
5568
+ function Ur(n, e) {
5569
5569
  if (za) {
5570
5570
  let t;
5571
5571
  e && "groupId" in e && (t = e.groupId, delete e.groupId), za.addTimelineEvent({
@@ -5591,7 +5591,7 @@ function $y(n, e) {
5591
5591
  function e1(n, e, t) {
5592
5592
  return {
5593
5593
  beforeCreate() {
5594
- const s = Xs();
5594
+ const s = qs();
5595
5595
  if (!s)
5596
5596
  throw ot(Ie.UNEXPECTED_ERROR);
5597
5597
  const r = this.$options;
@@ -5626,15 +5626,15 @@ function e1(n, e, t) {
5626
5626
  const s = this.$i18n;
5627
5627
  this.$el.__VUE_I18N__ = s.__composer;
5628
5628
  const r = this.__v_emitter = Sl();
5629
- s.__enableEmitter && s.__enableEmitter(r), r.on("*", Nr);
5629
+ s.__enableEmitter && s.__enableEmitter(r), r.on("*", Ur);
5630
5630
  }
5631
5631
  },
5632
5632
  unmounted() {
5633
- const s = Xs();
5633
+ const s = qs();
5634
5634
  if (!s)
5635
5635
  throw ot(Ie.UNEXPECTED_ERROR);
5636
5636
  const r = this.$i18n;
5637
- process.env.NODE_ENV !== "production" && this.$el && this.$el.__VUE_I18N__ && (this.__v_emitter && (this.__v_emitter.off("*", Nr), delete this.__v_emitter), this.$i18n && (r.__disableEmitter && r.__disableEmitter(), delete this.$el.__VUE_I18N__)), delete this.$t, delete this.$rt, delete this.$tc, delete this.$te, delete this.$d, delete this.$n, delete this.$tm, r.__disposer && (r.__disposer(), delete r.__disposer, delete r.__extender), t.__deleteInstance(s), delete this.$i18n;
5637
+ process.env.NODE_ENV !== "production" && this.$el && this.$el.__VUE_I18N__ && (this.__v_emitter && (this.__v_emitter.off("*", Ur), delete this.__v_emitter), this.$i18n && (r.__disableEmitter && r.__disableEmitter(), delete this.$el.__VUE_I18N__)), delete this.$t, delete this.$rt, delete this.$tc, delete this.$te, delete this.$d, delete this.$n, delete this.$tm, r.__disposer && (r.__disposer(), delete r.__disposer, delete r.__extender), t.__deleteInstance(s), delete this.$i18n;
5638
5638
  }
5639
5639
  };
5640
5640
  }
@@ -5691,7 +5691,7 @@ function n1(n = {}, e) {
5691
5691
  const v = a;
5692
5692
  v[ps] && v[ps](E);
5693
5693
  }
5694
- E.on("*", Nr);
5694
+ E.on("*", Ur);
5695
5695
  }
5696
5696
  },
5697
5697
  // global accessor
@@ -5714,7 +5714,7 @@ function n1(n = {}, e) {
5714
5714
  }
5715
5715
  }
5716
5716
  function On(n = {}) {
5717
- const e = Xs();
5717
+ const e = qs();
5718
5718
  if (e == null)
5719
5719
  throw ot(Ie.MUST_BE_CALL_SETUP_TOP);
5720
5720
  if (!e.isCE && e.appContext.app != null && !e.appContext.app.__VUE_I18N_SYMBOL__)
@@ -5789,11 +5789,11 @@ function c1(n, e, t) {
5789
5789
  if (process.env.NODE_ENV !== "production" && e.vnode.el) {
5790
5790
  e.vnode.el.__VUE_I18N__ = t, s = Sl();
5791
5791
  const r = t;
5792
- r[ps] && r[ps](s), s.on("*", Nr);
5792
+ r[ps] && r[ps](s), s.on("*", Ur);
5793
5793
  }
5794
5794
  }, e), ml(() => {
5795
5795
  const r = t;
5796
- process.env.NODE_ENV !== "production" && e.vnode.el && e.vnode.el.__VUE_I18N__ && (s && s.off("*", Nr), r[Mr] && r[Mr](), delete e.vnode.el.__VUE_I18N__), n.__deleteInstance(e);
5796
+ process.env.NODE_ENV !== "production" && e.vnode.el && e.vnode.el.__VUE_I18N__ && (s && s.off("*", Ur), r[Dr] && r[Dr](), delete e.vnode.el.__VUE_I18N__), n.__deleteInstance(e);
5797
5797
  const i = r[Na];
5798
5798
  i && (i(), delete r[Na]);
5799
5799
  }, e);
@@ -5804,7 +5804,7 @@ function u1(n, e, t, s = {}) {
5804
5804
  throw ot(Ie.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);
5805
5805
  const o = Ee(s.inheritLocale) ? s.inheritLocale : !J(s.locale), a = H(
5806
5806
  // prettier-ignore
5807
- !r || o ? t.locale.value : J(s.locale) ? s.locale : Ys
5807
+ !r || o ? t.locale.value : J(s.locale) ? s.locale : Qs
5808
5808
  ), l = H(
5809
5809
  // prettier-ignore
5810
5810
  !r || o ? t.fallbackLocale.value : J(s.fallbackLocale) || We(s.fallbackLocale) || fe(s.fallbackLocale) || s.fallbackLocale === !1 ? s.fallbackLocale : a.value
@@ -5832,7 +5832,7 @@ function u1(n, e, t, s = {}) {
5832
5832
  function N() {
5833
5833
  return i.value ? i.value.getPostTranslationHandler() : y;
5834
5834
  }
5835
- function k(Z) {
5835
+ function F(Z) {
5836
5836
  i.value && i.value.setPostTranslationHandler(Z);
5837
5837
  }
5838
5838
  function K() {
@@ -5886,10 +5886,10 @@ function u1(n, e, t, s = {}) {
5886
5886
  function Rs(Z, ke) {
5887
5887
  i.value && (i.value.setNumberFormat(Z, ke), d.value[Z] = ke);
5888
5888
  }
5889
- function lr(Z, ke) {
5889
+ function cr(Z, ke) {
5890
5890
  i.value && i.value.mergeNumberFormat(Z, ke);
5891
5891
  }
5892
- const cr = {
5892
+ const ur = {
5893
5893
  get id() {
5894
5894
  return i.value ? i.value.id : -1;
5895
5895
  },
@@ -5954,7 +5954,7 @@ function u1(n, e, t, s = {}) {
5954
5954
  },
5955
5955
  t: Y,
5956
5956
  getPostTranslationHandler: N,
5957
- setPostTranslationHandler: k,
5957
+ setPostTranslationHandler: F,
5958
5958
  getMissingHandler: K,
5959
5959
  setMissingHandler: _,
5960
5960
  rt: ne,
@@ -5970,9 +5970,9 @@ function u1(n, e, t, s = {}) {
5970
5970
  mergeDateTimeFormat: sn,
5971
5971
  getNumberFormat: En,
5972
5972
  setNumberFormat: Rs,
5973
- mergeNumberFormat: lr
5973
+ mergeNumberFormat: cr
5974
5974
  };
5975
- function ur(Z) {
5975
+ function dr(Z) {
5976
5976
  Z.locale.value = a.value, Z.fallbackLocale.value = l.value, Object.keys(c.value).forEach((ke) => {
5977
5977
  Z.mergeLocaleMessage(ke, c.value[ke]);
5978
5978
  }), Object.keys(u.value).forEach((ke) => {
@@ -5985,8 +5985,8 @@ function u1(n, e, t, s = {}) {
5985
5985
  if (n.proxy == null || n.proxy.$i18n == null)
5986
5986
  throw ot(Ie.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);
5987
5987
  const Z = i.value = n.proxy.$i18n.__composer;
5988
- e === "global" ? (a.value = Z.locale.value, l.value = Z.fallbackLocale.value, c.value = Z.messages.value, u.value = Z.datetimeFormats.value, d.value = Z.numberFormats.value) : r && ur(Z);
5989
- }), cr;
5988
+ e === "global" ? (a.value = Z.locale.value, l.value = Z.fallbackLocale.value, c.value = Z.messages.value, u.value = Z.datetimeFormats.value, d.value = Z.numberFormats.value) : r && dr(Z);
5989
+ }), ur;
5990
5990
  }
5991
5991
  const d1 = [
5992
5992
  "locale",
@@ -6340,7 +6340,7 @@ function U1(n) {
6340
6340
  return (e = t == null ? void 0 : t.$el) != null ? e : t;
6341
6341
  }
6342
6342
  const Pl = Ol ? window : void 0;
6343
- function Cr(...n) {
6343
+ function br(...n) {
6344
6344
  let e, t, s, r;
6345
6345
  if (typeof n[0] == "string" || Array.isArray(n[0]) ? ([t, s, r] = n, e = Pl) : [e, t, s, r] = n, !e)
6346
6346
  return mn;
@@ -6384,8 +6384,8 @@ function G1(n = V1, e = {}) {
6384
6384
  if (i) {
6385
6385
  const f = i.document;
6386
6386
  for (const h of r)
6387
- Cr(i, h, d, { passive: !0 });
6388
- s && Cr(f, "visibilitychange", () => {
6387
+ br(i, h, d, { passive: !0 });
6388
+ s && br(f, "visibilitychange", () => {
6389
6389
  f.hidden || d();
6390
6390
  }), u();
6391
6391
  }
@@ -6414,20 +6414,20 @@ function B1(n, e = {}) {
6414
6414
  const S = (I) => {
6415
6415
  g.value && (r == null || r(I, p.value)), g.value = !1;
6416
6416
  }, T = [
6417
- Cr(n, "touchstart", (I) => {
6417
+ br(n, "touchstart", (I) => {
6418
6418
  if (I.touches.length !== 1)
6419
6419
  return;
6420
6420
  R.capture && !R.passive && I.preventDefault();
6421
6421
  const [w, O] = y(I);
6422
6422
  E(w, O), v(w, O), i == null || i(I);
6423
6423
  }, R),
6424
- Cr(n, "touchmove", (I) => {
6424
+ br(n, "touchmove", (I) => {
6425
6425
  if (I.touches.length !== 1)
6426
6426
  return;
6427
6427
  const [w, O] = y(I);
6428
6428
  v(w, O), !g.value && m.value && (g.value = !0), g.value && (s == null || s(I));
6429
6429
  }, R),
6430
- Cr(n, ["touchend", "touchcancel"], S, R)
6430
+ br(n, ["touchend", "touchcancel"], S, R)
6431
6431
  ];
6432
6432
  return {
6433
6433
  isPassiveEventSupported: x,
@@ -6492,7 +6492,7 @@ const j1 = { class: "h-full" }, W1 = { class: "flex items-end" }, K1 = { class:
6492
6492
  ref: a,
6493
6493
  class: "flex h-full gap-5 z-1 text-text text-7xl"
6494
6494
  }, [
6495
- (D(!0), W(Ot, null, er(G(i), (y) => (D(), W("div", {
6495
+ (D(!0), W(Ot, null, tr(G(i), (y) => (D(), W("div", {
6496
6496
  class: he([
6497
6497
  y.key === G(o) ? "animate-spash-carousel-mode-expanded overflow-hidden" : "animate-spash-carousel-mode-collapsed w-56 overflow-hidden"
6498
6498
  ]),
@@ -6754,7 +6754,7 @@ const j1 = { class: "h-full" }, W1 = { class: "flex items-end" }, K1 = { class:
6754
6754
  style: Rt([{ width: a.value }])
6755
6755
  }, [
6756
6756
  m.options.length ? Le("", !0) : (D(), W("li", oE, we(m.emptyMessage), 1)),
6757
- (D(!0), W(Ot, null, er(m.options, (v) => Gs((D(), W("li", {
6757
+ (D(!0), W(Ot, null, tr(m.options, (v) => Gs((D(), W("li", {
6758
6758
  key: v[m.itemKey],
6759
6759
  class: he([[u(v[m.itemKey]) ? "text-red-500" : ""], "flex items-center py-4 cursor-pointer rounded-t-lg text-sm p-6 hover:text-red-500 hover:bg-red-100 font-medium"]),
6760
6760
  onClick: (R) => h(v)
@@ -7435,7 +7435,7 @@ const Nx = { class: "flex flex-col gap-12 w-full" }, Ux = ["onClick"], zx = /* @
7435
7435
  ]])
7436
7436
  }, [
7437
7437
  z("div", Nx, [
7438
- (D(!0), W(Ot, null, er(G(r), (d) => (D(), W("div", {
7438
+ (D(!0), W(Ot, null, tr(G(r), (d) => (D(), W("div", {
7439
7439
  class: he(["flex gap-4 items-center justify-center px-2 py-4 text-3xl transition-transform duration-100 rounded-r-2xl", [d === o.value ? "bg-white text-black scale-125" : "bg-black text-text"]]),
7440
7440
  onClick: (f) => a(d)
7441
7441
  }, [
@@ -7603,14 +7603,14 @@ const os = function() {
7603
7603
  info: os,
7604
7604
  error: os
7605
7605
  };
7606
- let br = Va;
7606
+ let Ir = Va;
7607
7607
  function Kx(n) {
7608
7608
  const e = self.console[n];
7609
7609
  return e ? e.bind(self.console, `[${n}] >`) : os;
7610
7610
  }
7611
7611
  function Xx(n, ...e) {
7612
7612
  e.forEach(function(t) {
7613
- br[t] = n[t] ? n[t].bind(n) : Kx(t);
7613
+ Ir[t] = n[t] ? n[t].bind(n) : Kx(t);
7614
7614
  });
7615
7615
  }
7616
7616
  function qx(n, e) {
@@ -7626,14 +7626,14 @@ function qx(n, e) {
7626
7626
  "error"
7627
7627
  );
7628
7628
  try {
7629
- br.log(`Debug logs enabled for "${e}" in hls.js version 1.5.15`);
7629
+ Ir.log(`Debug logs enabled for "${e}" in hls.js version 1.5.15`);
7630
7630
  } catch {
7631
- br = Va;
7631
+ Ir = Va;
7632
7632
  }
7633
7633
  } else
7634
- br = Va;
7634
+ Ir = Va;
7635
7635
  }
7636
- const P = br, Yx = /^(\d+)x(\d+)$/, yu = /(.+?)=(".*?"|.*?)(?:,|$)/g;
7636
+ const P = Ir, Yx = /^(\d+)x(\d+)$/, yu = /(.+?)=(".*?"|.*?)(?:,|$)/g;
7637
7637
  class Ze {
7638
7638
  constructor(e) {
7639
7639
  typeof e == "string" && (e = Ze.parseAttrList(e)), tt(this, e);
@@ -7971,7 +7971,7 @@ function nR(n) {
7971
7971
  function Ga(n) {
7972
7972
  return Uint8Array.from(unescape(encodeURIComponent(n)), (e) => e.charCodeAt(0));
7973
7973
  }
7974
- const Qs = typeof self < "u" ? self : void 0;
7974
+ const Zs = typeof self < "u" ? self : void 0;
7975
7975
  var je = {
7976
7976
  CLEARKEY: "org.w3.clearkey",
7977
7977
  FAIRPLAY: "com.apple.fps",
@@ -7995,7 +7995,7 @@ function Eu(n) {
7995
7995
  return je.CLEARKEY;
7996
7996
  }
7997
7997
  }
7998
- var vr = {
7998
+ var yr = {
7999
7999
  CENC: "1077efecc0b24d02ace33c1e52e2fb4b",
8000
8000
  CLEARKEY: "e2719d58a985b3c9781ab030af78d30e",
8001
8001
  FAIRPLAY: "94ce86fb07ff4f43adb893d2fa968ca2",
@@ -8003,11 +8003,11 @@ var vr = {
8003
8003
  WIDEVINE: "edef8ba979d64acea3c827dcd51d21ed"
8004
8004
  };
8005
8005
  function Au(n) {
8006
- if (n === vr.WIDEVINE)
8006
+ if (n === yr.WIDEVINE)
8007
8007
  return je.WIDEVINE;
8008
- if (n === vr.PLAYREADY)
8008
+ if (n === yr.PLAYREADY)
8009
8009
  return je.PLAYREADY;
8010
- if (n === vr.CENC || n === vr.CLEARKEY)
8010
+ if (n === yr.CENC || n === yr.CLEARKEY)
8011
8011
  return je.CLEARKEY;
8012
8012
  }
8013
8013
  function xu(n) {
@@ -8030,7 +8030,7 @@ function Bo(n) {
8030
8030
  return !s[je.WIDEVINE] && t && s.push(je.WIDEVINE), s;
8031
8031
  }
8032
8032
  const Fh = function(n) {
8033
- return Qs != null && (n = Qs.navigator) != null && n.requestMediaKeySystemAccess ? self.navigator.requestMediaKeySystemAccess.bind(self.navigator) : null;
8033
+ return Zs != null && (n = Zs.navigator) != null && n.requestMediaKeySystemAccess ? self.navigator.requestMediaKeySystemAccess.bind(self.navigator) : null;
8034
8034
  }();
8035
8035
  function sR(n, e, t, s) {
8036
8036
  let r;
@@ -8071,7 +8071,7 @@ function rR(n, e, t, s) {
8071
8071
  function us(n, e, t) {
8072
8072
  return Uint8Array.prototype.slice ? n.slice(e, t) : new Uint8Array(Array.prototype.slice.call(n, e, t));
8073
8073
  }
8074
- const Ml = (n, e) => e + 10 <= n.length && n[e] === 73 && n[e + 1] === 68 && n[e + 2] === 51 && n[e + 3] < 255 && n[e + 4] < 255 && n[e + 6] < 128 && n[e + 7] < 128 && n[e + 8] < 128 && n[e + 9] < 128, kh = (n, e) => e + 10 <= n.length && n[e] === 51 && n[e + 1] === 68 && n[e + 2] === 73 && n[e + 3] < 255 && n[e + 4] < 255 && n[e + 6] < 128 && n[e + 7] < 128 && n[e + 8] < 128 && n[e + 9] < 128, Ur = (n, e) => {
8074
+ const Ml = (n, e) => e + 10 <= n.length && n[e] === 73 && n[e + 1] === 68 && n[e + 2] === 51 && n[e + 3] < 255 && n[e + 4] < 255 && n[e + 6] < 128 && n[e + 7] < 128 && n[e + 8] < 128 && n[e + 9] < 128, kh = (n, e) => e + 10 <= n.length && n[e] === 51 && n[e + 1] === 68 && n[e + 2] === 73 && n[e + 3] < 255 && n[e + 4] < 255 && n[e + 6] < 128 && n[e + 7] < 128 && n[e + 8] < 128 && n[e + 9] < 128, zr = (n, e) => {
8075
8075
  const t = e;
8076
8076
  let s = 0;
8077
8077
  for (; Ml(n, e); ) {
@@ -8601,7 +8601,7 @@ function Su(n, e) {
8601
8601
  m === i && (p && (T += 8), y && (T += 4), E && (v = oe(h, T), T += 4), R && (x = oe(h, T), T += 4), S && (T += 4), e.type === "video" && (o = SR(e.codec)), ge(d, ["trun"]).map((C) => {
8602
8602
  const I = C[0], w = oe(C, 0) & 16777215, O = (w & 1) !== 0;
8603
8603
  let N = 0;
8604
- const k = (w & 4) !== 0, K = (w & 256) !== 0;
8604
+ const F = (w & 4) !== 0, K = (w & 256) !== 0;
8605
8605
  let _ = 0;
8606
8606
  const $ = (w & 512) !== 0;
8607
8607
  let Y = 0;
@@ -8609,7 +8609,7 @@ function Su(n, e) {
8609
8609
  let q = 0;
8610
8610
  const ve = oe(C, 4);
8611
8611
  let le = 8;
8612
- O && (N = oe(C, le), le += 4), k && (le += 4);
8612
+ O && (N = oe(C, le), le += 4), F && (le += 4);
8613
8613
  let Re = N + c;
8614
8614
  for (let Ge = 0; Ge < ve; Ge++) {
8615
8615
  if (K ? (_ = oe(C, le), le += 4) : _ = v, $ ? (Y = oe(C, le), le += 4) : Y = x, ne && (le += 4), X && (I === 0 ? q = oe(C, le) : q = zh(C, le), le += 4), e.type === ze.VIDEO) {
@@ -8852,7 +8852,7 @@ function wR(n) {
8852
8852
  };
8853
8853
  }
8854
8854
  let ei = {};
8855
- class zr {
8855
+ class Vr {
8856
8856
  static clearKeyUriToKeyIdMap() {
8857
8857
  ei = {};
8858
8858
  }
@@ -8881,7 +8881,7 @@ class zr {
8881
8881
  if (this.method === "AES-128" && this.uri && !this.iv) {
8882
8882
  typeof e != "number" && (this.method === "AES-128" && !this.iv && P.warn(`missing IV for initialization segment with method="${this.method}" - compliance issue`), e = 0);
8883
8883
  const s = OR(e);
8884
- return new zr(this.method, this.uri, "identity", this.keyFormatVersions, s);
8884
+ return new Vr(this.method, this.uri, "identity", this.keyFormatVersions, s);
8885
8885
  }
8886
8886
  const t = nR(this.uri);
8887
8887
  if (t)
@@ -9071,9 +9071,9 @@ function Ko(n, e, t = !0) {
9071
9071
  function Wh(n, e, t = !0) {
9072
9072
  var s;
9073
9073
  const r = vs(t);
9074
- return (s = r == null ? void 0 : r.isTypeSupported(Vr(n, e))) != null ? s : !1;
9074
+ return (s = r == null ? void 0 : r.isTypeSupported(Gr(n, e))) != null ? s : !1;
9075
9075
  }
9076
- function Vr(n, e) {
9076
+ function Gr(n, e) {
9077
9077
  return `${e}/mp4;codecs="${n}"`;
9078
9078
  }
9079
9079
  function bu(n) {
@@ -9290,16 +9290,16 @@ class un {
9290
9290
  u = a.startSN = parseInt(O);
9291
9291
  break;
9292
9292
  case "SKIP": {
9293
- const k = new Ze(O);
9294
- Ct(a, k, ["RECENTLY-REMOVED-DATERANGES"]);
9295
- const K = k.decimalInteger("SKIPPED-SEGMENTS");
9293
+ const F = new Ze(O);
9294
+ Ct(a, F, ["RECENTLY-REMOVED-DATERANGES"]);
9295
+ const K = F.decimalInteger("SKIPPED-SEGMENTS");
9296
9296
  if (te(K)) {
9297
9297
  a.skippedSegments = K;
9298
9298
  for (let $ = K; $--; )
9299
9299
  l.unshift(null);
9300
9300
  u += K;
9301
9301
  }
9302
- const _ = k.enumeratedString("RECENTLY-REMOVED-DATERANGES");
9302
+ const _ = F.enumeratedString("RECENTLY-REMOVED-DATERANGES");
9303
9303
  _ && (a.recentlyRemovedDateranges = _.split(" "));
9304
9304
  break;
9305
9305
  }
@@ -9328,16 +9328,16 @@ class un {
9328
9328
  g.tagList.push([w, O]);
9329
9329
  break;
9330
9330
  case "DATERANGE": {
9331
- const k = new Ze(O);
9332
- Ct(a, k, ["ID", "CLASS", "START-DATE", "END-DATE", "SCTE35-CMD", "SCTE35-OUT", "SCTE35-IN"]), Ct(a, k, k.clientAttrs);
9333
- const K = new Oh(k, a.dateRanges[k.ID]);
9331
+ const F = new Ze(O);
9332
+ Ct(a, F, ["ID", "CLASS", "START-DATE", "END-DATE", "SCTE35-CMD", "SCTE35-OUT", "SCTE35-IN"]), Ct(a, F, F.clientAttrs);
9333
+ const K = new Oh(F, a.dateRanges[F.ID]);
9334
9334
  K.isValid || a.skippedSegments ? a.dateRanges[K.id] = K : P.warn(`Ignoring invalid DATERANGE tag: "${O}"`), g.tagList.push(["EXT-X-DATERANGE", O]);
9335
9335
  break;
9336
9336
  }
9337
9337
  case "DEFINE": {
9338
9338
  {
9339
- const k = new Ze(O);
9340
- Ct(a, k, ["NAME", "VALUE", "IMPORT", "QUERYPARAM"]), "IMPORT" in k ? PR(a, k, o) : Cu(a, k, t);
9339
+ const F = new Ze(O);
9340
+ Ct(a, F, ["NAME", "VALUE", "IMPORT", "QUERYPARAM"]), "IMPORT" in F ? PR(a, F, o) : Cu(a, F, t);
9341
9341
  }
9342
9342
  break;
9343
9343
  }
@@ -9345,13 +9345,13 @@ class un {
9345
9345
  h = parseInt(O);
9346
9346
  break;
9347
9347
  case "KEY": {
9348
- const k = Pu(O, t, a);
9349
- if (k.isSupported()) {
9350
- if (k.method === "NONE") {
9348
+ const F = Pu(O, t, a);
9349
+ if (F.isSupported()) {
9350
+ if (F.method === "NONE") {
9351
9351
  E = void 0;
9352
9352
  break;
9353
9353
  }
9354
- E || (E = {}), E[k.keyFormat] && (E = tt({}, E)), E[k.keyFormat] = k;
9354
+ E || (E = {}), E[F.keyFormat] && (E = tt({}, E)), E[F.keyFormat] = F;
9355
9355
  } else
9356
9356
  P.warn(`[Keys] Ignoring invalid EXT-X-KEY tag: "${O}"`);
9357
9357
  break;
@@ -9360,10 +9360,10 @@ class un {
9360
9360
  a.startTimeOffset = Fu(O);
9361
9361
  break;
9362
9362
  case "MAP": {
9363
- const k = new Ze(O);
9364
- if (Ct(a, k, ["BYTERANGE", "URI"]), g.duration) {
9363
+ const F = new Ze(O);
9364
+ if (Ct(a, F, ["BYTERANGE", "URI"]), g.duration) {
9365
9365
  const K = new Go(r, t);
9366
- Du(K, k, s, E), c = K, g.initSegment = c, c.rawProgramDateTime && !g.rawProgramDateTime && (g.rawProgramDateTime = c.rawProgramDateTime);
9366
+ Du(K, F, s, E), c = K, g.initSegment = c, c.rawProgramDateTime && !g.rawProgramDateTime && (g.rawProgramDateTime = c.rawProgramDateTime);
9367
9367
  } else {
9368
9368
  const K = g.byteRangeEndOffset;
9369
9369
  if (K) {
@@ -9371,37 +9371,37 @@ class un {
9371
9371
  x = `${K - _}@${_}`;
9372
9372
  } else
9373
9373
  x = null;
9374
- Du(g, k, s, E), c = g, R = !0;
9374
+ Du(g, F, s, E), c = g, R = !0;
9375
9375
  }
9376
9376
  break;
9377
9377
  }
9378
9378
  case "SERVER-CONTROL": {
9379
- const k = new Ze(O);
9380
- a.canBlockReload = k.bool("CAN-BLOCK-RELOAD"), a.canSkipUntil = k.optionalFloat("CAN-SKIP-UNTIL", 0), a.canSkipDateRanges = a.canSkipUntil > 0 && k.bool("CAN-SKIP-DATERANGES"), a.partHoldBack = k.optionalFloat("PART-HOLD-BACK", 0), a.holdBack = k.optionalFloat("HOLD-BACK", 0);
9379
+ const F = new Ze(O);
9380
+ a.canBlockReload = F.bool("CAN-BLOCK-RELOAD"), a.canSkipUntil = F.optionalFloat("CAN-SKIP-UNTIL", 0), a.canSkipDateRanges = a.canSkipUntil > 0 && F.bool("CAN-SKIP-DATERANGES"), a.partHoldBack = F.optionalFloat("PART-HOLD-BACK", 0), a.holdBack = F.optionalFloat("HOLD-BACK", 0);
9381
9381
  break;
9382
9382
  }
9383
9383
  case "PART-INF": {
9384
- const k = new Ze(O);
9385
- a.partTarget = k.decimalFloatingPoint("PART-TARGET");
9384
+ const F = new Ze(O);
9385
+ a.partTarget = F.decimalFloatingPoint("PART-TARGET");
9386
9386
  break;
9387
9387
  }
9388
9388
  case "PART": {
9389
- let k = a.partList;
9390
- k || (k = a.partList = []);
9391
- const K = d > 0 ? k[k.length - 1] : void 0, _ = d++, $ = new Ze(O);
9389
+ let F = a.partList;
9390
+ F || (F = a.partList = []);
9391
+ const K = d > 0 ? F[F.length - 1] : void 0, _ = d++, $ = new Ze(O);
9392
9392
  Ct(a, $, ["BYTERANGE", "URI"]);
9393
9393
  const Y = new Jx($, g, t, _, K);
9394
- k.push(Y), g.duration += Y.duration;
9394
+ F.push(Y), g.duration += Y.duration;
9395
9395
  break;
9396
9396
  }
9397
9397
  case "PRELOAD-HINT": {
9398
- const k = new Ze(O);
9399
- Ct(a, k, ["URI"]), a.preloadHint = k;
9398
+ const F = new Ze(O);
9399
+ Ct(a, F, ["URI"]), a.preloadHint = F;
9400
9400
  break;
9401
9401
  }
9402
9402
  case "RENDITION-REPORT": {
9403
- const k = new Ze(O);
9404
- Ct(a, k, ["URI"]), a.renditionReports = a.renditionReports || [], a.renditionReports.push(k);
9403
+ const F = new Ze(O);
9404
+ Ct(a, F, ["URI"]), a.renditionReports = a.renditionReports || [], a.renditionReports.push(F);
9405
9405
  break;
9406
9406
  }
9407
9407
  default:
@@ -9428,7 +9428,7 @@ function Pu(n, e, t) {
9428
9428
  const o = (s = i.METHOD) != null ? s : "", a = i.URI, l = i.hexadecimalInteger("IV"), c = i.KEYFORMATVERSIONS, u = (r = i.KEYFORMAT) != null ? r : "identity";
9429
9429
  a && i.IV && !l && P.error(`Invalid IV: ${i.IV}`);
9430
9430
  const d = a ? un.resolve(a, e) : "", f = (c || "1").split("/").map(Number).filter(Number.isFinite);
9431
- return new zr(o, d, u, f, l);
9431
+ return new Vr(o, d, u, f, l);
9432
9432
  }
9433
9433
  function Fu(n) {
9434
9434
  const t = new Ze(n).decimalFloatingPoint("TIME-OFFSET");
@@ -10330,7 +10330,7 @@ class Gu {
10330
10330
  return this.msn !== void 0 && t.searchParams.set("_HLS_msn", this.msn.toString()), this.part !== void 0 && t.searchParams.set("_HLS_part", this.part.toString()), this.skip && t.searchParams.set("_HLS_skip", this.skip), t.href;
10331
10331
  }
10332
10332
  }
10333
- class Zs {
10333
+ class Js {
10334
10334
  constructor(e) {
10335
10335
  this._attrs = void 0, this.audioCodec = void 0, this.bitrate = void 0, this.codecSet = void 0, this.url = void 0, this.frameRate = void 0, this.height = void 0, this.id = void 0, this.name = void 0, this.videoCodec = void 0, this.width = void 0, this.details = void 0, this.fragmentError = 0, this.loadError = 0, this.loaded = void 0, this.realBitrate = 0, this.supportedPromise = void 0, this.supportedResult = void 0, this._avgBitrate = 0, this._audioGroups = void 0, this._subtitleGroups = void 0, this._urlId = 0, this.url = [e.url], this._attrs = [e.attrs], this.bitrate = e.bitrate, e.details && (this.details = e.details), this.id = e.id || 0, this.name = e.name, this.width = e.width || 0, this.height = e.height || 0, this.frameRate = e.attrs.optionalFloat("FRAME-RATE", 0), this._avgBitrate = e.attrs.decimalInteger("AVERAGE-BANDWIDTH"), this.audioCodec = e.audioCodec, this.videoCodec = e.videoCodec, this.codecSet = [e.videoCodec, e.audioCodec].filter((t) => !!t).map((t) => t.substring(0, 4)).join(","), this.addGroupId("audio", e.attrs.AUDIO), this.addGroupId("text", e.attrs.SUBTITLES);
10336
10336
  }
@@ -11135,7 +11135,7 @@ function uS(n, e, t) {
11135
11135
  const a = s.split(",").map((l) => ({
11136
11136
  type: "media-source",
11137
11137
  video: dt(dt({}, i), {}, {
11138
- contentType: Vr(l, "video")
11138
+ contentType: Gr(l, "video")
11139
11139
  })
11140
11140
  }));
11141
11141
  return r && n.audioGroups && n.audioGroups.forEach((l) => {
@@ -11146,7 +11146,7 @@ function uS(n, e, t) {
11146
11146
  te(f) && f > 2 && a.push.apply(a, r.split(",").map((h) => ({
11147
11147
  type: "media-source",
11148
11148
  audio: {
11149
- contentType: Vr(h, "audio"),
11149
+ contentType: Gr(h, "audio"),
11150
11150
  channels: "" + f
11151
11151
  // spatialRendering:
11152
11152
  // audioCodec === 'ec-3' && channels.indexOf('JOC'),
@@ -11385,8 +11385,8 @@ class ES {
11385
11385
  const I = T ? T * 8 : E;
11386
11386
  let w = Number.POSITIVE_INFINITY, O;
11387
11387
  for (O = t.level - 1; O > d; O--) {
11388
- const k = v[O].maxBitrate;
11389
- if (w = this.getTimeToLoadFrag(h / 1e3, I, c * k, !v[O].details), w < g)
11388
+ const F = v[O].maxBitrate;
11389
+ if (w = this.getTimeToLoadFrag(h / 1e3, I, c * F, !v[O].details), w < g)
11390
11390
  break;
11391
11391
  }
11392
11392
  if (w >= C || w > c * 10)
@@ -11624,7 +11624,7 @@ class ES {
11624
11624
  x = Y, S = ve ? ne[ne.length - 1] : ne[0], T = X, e = Math.max(e, q), P.log(`[abr] picked start tier ${JSON.stringify($)}`);
11625
11625
  } else
11626
11626
  x = E == null ? void 0 : E.codecSet, S = E == null ? void 0 : E.videoRange;
11627
- const O = h ? h.duration : f ? f.duration : 0, N = this.bwEstimator.getEstimateTTFB() / 1e3, k = [];
11627
+ const O = h ? h.duration : f ? f.duration : 0, N = this.bwEstimator.getEstimateTTFB() / 1e3, F = [];
11628
11628
  for (let _ = s; _ >= t; _--) {
11629
11629
  var K;
11630
11630
  const $ = m[_], Y = _ > d;
@@ -11641,7 +11641,7 @@ class ES {
11641
11641
  })) : $.supportedResult = _h;
11642
11642
  }
11643
11643
  if (x && $.codecSet !== x || S && $.videoRange !== S || Y && T > $.frameRate || !Y && T > 0 && T < $.frameRate || $.supportedResult && !((K = $.supportedResult.decodingInfoResults) != null && K[0].smooth)) {
11644
- k.push(_);
11644
+ F.push(_);
11645
11645
  continue;
11646
11646
  }
11647
11647
  const ne = $.details, X = (h ? ne == null ? void 0 : ne.partTarget : ne == null ? void 0 : ne.averagetargetduration) || O;
@@ -11657,7 +11657,7 @@ class ES {
11657
11657
  (le <= N || !te(le) || v && !this.bitrateTestDelay || le < c)
11658
11658
  ) {
11659
11659
  const Ge = this.forcedAutoLevel;
11660
- return _ !== p && (Ge === -1 || Ge !== p) && (k.length && P.trace(`[abr] Skipped level(s) ${k.join(",")} of ${s} max with CODECS and VIDEO-RANGE:"${m[k[0]].codecs}" ${m[k[0]].videoRange}; not compatible with "${E.codecs}" ${S}`), P.info(`[abr] switch candidate:${d}->${_} adjustedbw(${Math.round(q)})-bitrate=${Math.round(q - ve)} ttfb:${N.toFixed(1)} avgDuration:${X.toFixed(1)} maxFetchDuration:${c.toFixed(1)} fetchDuration:${le.toFixed(1)} firstSelection:${R} codecSet:${x} videoRange:${S} hls.loadLevel:${p}`)), R && (this.firstSelection = _), _;
11660
+ return _ !== p && (Ge === -1 || Ge !== p) && (F.length && P.trace(`[abr] Skipped level(s) ${F.join(",")} of ${s} max with CODECS and VIDEO-RANGE:"${m[F[0]].codecs}" ${m[F[0]].videoRange}; not compatible with "${E.codecs}" ${S}`), P.info(`[abr] switch candidate:${d}->${_} adjustedbw(${Math.round(q)})-bitrate=${Math.round(q - ve)} ttfb:${N.toFixed(1)} avgDuration:${X.toFixed(1)} maxFetchDuration:${c.toFixed(1)} fetchDuration:${le.toFixed(1)} firstSelection:${R} codecSet:${x} videoRange:${S} hls.loadLevel:${p}`)), R && (this.firstSelection = _), _;
11661
11661
  }
11662
11662
  }
11663
11663
  return -1;
@@ -12446,12 +12446,12 @@ class PS {
12446
12446
  const r = this.keySize + 6, i = this.invKeySchedule, o = this.invSBox, a = this.invSubMix, l = a[0], c = a[1], u = a[2], d = a[3], f = this.uint8ArrayToUint32Array_(s);
12447
12447
  let h = f[0], m = f[1], g = f[2], p = f[3];
12448
12448
  const y = new Int32Array(e), E = new Int32Array(y.length);
12449
- let v, R, x, S, T, C, I, w, O, N, k, K, _, $;
12449
+ let v, R, x, S, T, C, I, w, O, N, F, K, _, $;
12450
12450
  const Y = this.networkToHostOrderSwap;
12451
12451
  for (; t < y.length; ) {
12452
- for (O = Y(y[t]), N = Y(y[t + 1]), k = Y(y[t + 2]), K = Y(y[t + 3]), T = O ^ i[0], C = K ^ i[1], I = k ^ i[2], w = N ^ i[3], _ = 4, $ = 1; $ < r; $++)
12452
+ for (O = Y(y[t]), N = Y(y[t + 1]), F = Y(y[t + 2]), K = Y(y[t + 3]), T = O ^ i[0], C = K ^ i[1], I = F ^ i[2], w = N ^ i[3], _ = 4, $ = 1; $ < r; $++)
12453
12453
  v = l[T >>> 24] ^ c[C >> 16 & 255] ^ u[I >> 8 & 255] ^ d[w & 255] ^ i[_], R = l[C >>> 24] ^ c[I >> 16 & 255] ^ u[w >> 8 & 255] ^ d[T & 255] ^ i[_ + 1], x = l[I >>> 24] ^ c[w >> 16 & 255] ^ u[T >> 8 & 255] ^ d[C & 255] ^ i[_ + 2], S = l[w >>> 24] ^ c[T >> 16 & 255] ^ u[C >> 8 & 255] ^ d[I & 255] ^ i[_ + 3], T = v, C = R, I = x, w = S, _ = _ + 4;
12454
- v = o[T >>> 24] << 24 ^ o[C >> 16 & 255] << 16 ^ o[I >> 8 & 255] << 8 ^ o[w & 255] ^ i[_], R = o[C >>> 24] << 24 ^ o[I >> 16 & 255] << 16 ^ o[w >> 8 & 255] << 8 ^ o[T & 255] ^ i[_ + 1], x = o[I >>> 24] << 24 ^ o[w >> 16 & 255] << 16 ^ o[T >> 8 & 255] << 8 ^ o[C & 255] ^ i[_ + 2], S = o[w >>> 24] << 24 ^ o[T >> 16 & 255] << 16 ^ o[C >> 8 & 255] << 8 ^ o[I & 255] ^ i[_ + 3], E[t] = Y(v ^ h), E[t + 1] = Y(S ^ m), E[t + 2] = Y(x ^ g), E[t + 3] = Y(R ^ p), h = O, m = N, g = k, p = K, t = t + 4;
12454
+ v = o[T >>> 24] << 24 ^ o[C >> 16 & 255] << 16 ^ o[I >> 8 & 255] << 8 ^ o[w & 255] ^ i[_], R = o[C >>> 24] << 24 ^ o[I >> 16 & 255] << 16 ^ o[w >> 8 & 255] << 8 ^ o[T & 255] ^ i[_ + 1], x = o[I >>> 24] << 24 ^ o[w >> 16 & 255] << 16 ^ o[T >> 8 & 255] << 8 ^ o[C & 255] ^ i[_ + 2], S = o[w >>> 24] << 24 ^ o[T >> 16 & 255] << 16 ^ o[C >> 8 & 255] << 8 ^ o[I & 255] ^ i[_ + 3], E[t] = Y(v ^ h), E[t + 1] = Y(S ^ m), E[t + 2] = Y(x ^ g), E[t + 3] = Y(R ^ p), h = O, m = N, g = F, p = K, t = t + 4;
12455
12455
  }
12456
12456
  return E.buffer;
12457
12457
  }
@@ -13333,7 +13333,7 @@ class Bl {
13333
13333
  // feed incoming data to the front of the parsing pipeline
13334
13334
  demux(e, t) {
13335
13335
  this.cachedData && (e = Bt(this.cachedData, e), this.cachedData = null);
13336
- let s = Ur(e, 0), r = s ? s.length : 0, i;
13336
+ let s = zr(e, 0), r = s ? s.length : 0, i;
13337
13337
  const o = this._audioTrack, a = this._id3Track, l = s ? Dl(s) : void 0, c = e.length;
13338
13338
  for ((this.basePTS === null || this.frameIndex === 0 && te(l)) && (this.basePTS = zS(l, t, this.initPTS), this.lastPTS = this.basePTS), this.lastPTS === null && (this.lastPTS = this.basePTS), s && s.length > 0 && a.samples.push({
13339
13339
  pts: this.lastPTS,
@@ -13345,7 +13345,7 @@ class Bl {
13345
13345
  if (this.canParse(e, r)) {
13346
13346
  const u = this.appendFrame(o, e, r);
13347
13347
  u ? (this.frameIndex++, this.lastPTS = u.sample.pts, r += u.length, i = r) : r = c;
13348
- } else iR(e, r) ? (s = Ur(e, r), a.samples.push({
13348
+ } else iR(e, r) ? (s = zr(e, r), a.samples.push({
13349
13349
  pts: this.lastPTS,
13350
13350
  dts: this.lastPTS,
13351
13351
  data: s,
@@ -13622,7 +13622,7 @@ class QS extends Bl {
13622
13622
  static probe(e) {
13623
13623
  if (!e)
13624
13624
  return !1;
13625
- const t = Ur(e, 0);
13625
+ const t = zr(e, 0);
13626
13626
  let s = (t == null ? void 0 : t.length) || 0;
13627
13627
  if (cm(e, s))
13628
13628
  return !1;
@@ -13781,7 +13781,7 @@ class _S extends Bl {
13781
13781
  static probe(e) {
13782
13782
  if (!e)
13783
13783
  return !1;
13784
- const t = Ur(e, 0);
13784
+ const t = zr(e, 0);
13785
13785
  if (!t)
13786
13786
  return !1;
13787
13787
  const s = t.length;
@@ -14641,7 +14641,7 @@ class rT extends Bl {
14641
14641
  static probe(e) {
14642
14642
  if (!e)
14643
14643
  return !1;
14644
- const t = Ur(e, 0);
14644
+ const t = zr(e, 0);
14645
14645
  let s = (t == null ? void 0 : t.length) || 0;
14646
14646
  if (t && e[s] === 11 && e[s + 1] === 119 && Dl(t) !== void 0 && // check the bsid to confirm ac-3 or ec-3 (not mp3)
14647
14647
  um(e, s) <= 16)
@@ -14688,9 +14688,9 @@ class _u {
14688
14688
  }
14689
14689
  }
14690
14690
  const kn = Math.pow(2, 32) - 1;
14691
- class F {
14691
+ class k {
14692
14692
  static init() {
14693
- F.types = {
14693
+ k.types = {
14694
14694
  avc1: [],
14695
14695
  // codingname
14696
14696
  avcC: [],
@@ -14732,8 +14732,8 @@ class F {
14732
14732
  smhd: []
14733
14733
  };
14734
14734
  let e;
14735
- for (e in F.types)
14736
- F.types.hasOwnProperty(e) && (F.types[e] = [e.charCodeAt(0), e.charCodeAt(1), e.charCodeAt(2), e.charCodeAt(3)]);
14735
+ for (e in k.types)
14736
+ k.types.hasOwnProperty(e) && (k.types[e] = [e.charCodeAt(0), e.charCodeAt(1), e.charCodeAt(2), e.charCodeAt(3)]);
14737
14737
  const t = new Uint8Array([
14738
14738
  0,
14739
14739
  // version 0
@@ -14827,7 +14827,7 @@ class F {
14827
14827
  0
14828
14828
  // name: 'SoundHandler'
14829
14829
  ]);
14830
- F.HDLR_TYPES = {
14830
+ k.HDLR_TYPES = {
14831
14831
  video: t,
14832
14832
  audio: s
14833
14833
  };
@@ -14872,7 +14872,7 @@ class F {
14872
14872
  0
14873
14873
  // entry_count
14874
14874
  ]);
14875
- F.STTS = F.STSC = F.STCO = i, F.STSZ = new Uint8Array([
14875
+ k.STTS = k.STSC = k.STCO = i, k.STSZ = new Uint8Array([
14876
14876
  0,
14877
14877
  // version
14878
14878
  0,
@@ -14889,7 +14889,7 @@ class F {
14889
14889
  0,
14890
14890
  0
14891
14891
  // sample_count
14892
- ]), F.VMHD = new Uint8Array([
14892
+ ]), k.VMHD = new Uint8Array([
14893
14893
  0,
14894
14894
  // version
14895
14895
  0,
@@ -14906,7 +14906,7 @@ class F {
14906
14906
  0,
14907
14907
  0
14908
14908
  // opcolor
14909
- ]), F.SMHD = new Uint8Array([
14909
+ ]), k.SMHD = new Uint8Array([
14910
14910
  0,
14911
14911
  // version
14912
14912
  0,
@@ -14919,7 +14919,7 @@ class F {
14919
14919
  0,
14920
14920
  0
14921
14921
  // reserved
14922
- ]), F.STSD = new Uint8Array([
14922
+ ]), k.STSD = new Uint8Array([
14923
14923
  0,
14924
14924
  // version 0
14925
14925
  0,
@@ -14932,7 +14932,7 @@ class F {
14932
14932
  1
14933
14933
  ]);
14934
14934
  const o = new Uint8Array([105, 115, 111, 109]), a = new Uint8Array([97, 118, 99, 49]), l = new Uint8Array([0, 0, 0, 1]);
14935
- F.FTYP = F.box(F.types.ftyp, o, l, o, a), F.DINF = F.box(F.types.dinf, F.box(F.types.dref, r));
14935
+ k.FTYP = k.box(k.types.ftyp, o, l, o, a), k.DINF = k.box(k.types.dinf, k.box(k.types.dref, r));
14936
14936
  }
14937
14937
  static box(e, ...t) {
14938
14938
  let s = 8, r = t.length;
@@ -14945,15 +14945,15 @@ class F {
14945
14945
  return o;
14946
14946
  }
14947
14947
  static hdlr(e) {
14948
- return F.box(F.types.hdlr, F.HDLR_TYPES[e]);
14948
+ return k.box(k.types.hdlr, k.HDLR_TYPES[e]);
14949
14949
  }
14950
14950
  static mdat(e) {
14951
- return F.box(F.types.mdat, e);
14951
+ return k.box(k.types.mdat, e);
14952
14952
  }
14953
14953
  static mdhd(e, t) {
14954
14954
  t *= e;
14955
14955
  const s = Math.floor(t / (kn + 1)), r = Math.floor(t % (kn + 1));
14956
- return F.box(F.types.mdhd, new Uint8Array([
14956
+ return k.box(k.types.mdhd, new Uint8Array([
14957
14957
  1,
14958
14958
  // version 1
14959
14959
  0,
@@ -14999,10 +14999,10 @@ class F {
14999
14999
  ]));
15000
15000
  }
15001
15001
  static mdia(e) {
15002
- return F.box(F.types.mdia, F.mdhd(e.timescale, e.duration), F.hdlr(e.type), F.minf(e));
15002
+ return k.box(k.types.mdia, k.mdhd(e.timescale, e.duration), k.hdlr(e.type), k.minf(e));
15003
15003
  }
15004
15004
  static mfhd(e) {
15005
- return F.box(F.types.mfhd, new Uint8Array([
15005
+ return k.box(k.types.mfhd, new Uint8Array([
15006
15006
  0,
15007
15007
  0,
15008
15008
  0,
@@ -15016,24 +15016,24 @@ class F {
15016
15016
  ]));
15017
15017
  }
15018
15018
  static minf(e) {
15019
- return e.type === "audio" ? F.box(F.types.minf, F.box(F.types.smhd, F.SMHD), F.DINF, F.stbl(e)) : F.box(F.types.minf, F.box(F.types.vmhd, F.VMHD), F.DINF, F.stbl(e));
15019
+ return e.type === "audio" ? k.box(k.types.minf, k.box(k.types.smhd, k.SMHD), k.DINF, k.stbl(e)) : k.box(k.types.minf, k.box(k.types.vmhd, k.VMHD), k.DINF, k.stbl(e));
15020
15020
  }
15021
15021
  static moof(e, t, s) {
15022
- return F.box(F.types.moof, F.mfhd(e), F.traf(s, t));
15022
+ return k.box(k.types.moof, k.mfhd(e), k.traf(s, t));
15023
15023
  }
15024
15024
  static moov(e) {
15025
15025
  let t = e.length;
15026
15026
  const s = [];
15027
15027
  for (; t--; )
15028
- s[t] = F.trak(e[t]);
15029
- return F.box.apply(null, [F.types.moov, F.mvhd(e[0].timescale, e[0].duration)].concat(s).concat(F.mvex(e)));
15028
+ s[t] = k.trak(e[t]);
15029
+ return k.box.apply(null, [k.types.moov, k.mvhd(e[0].timescale, e[0].duration)].concat(s).concat(k.mvex(e)));
15030
15030
  }
15031
15031
  static mvex(e) {
15032
15032
  let t = e.length;
15033
15033
  const s = [];
15034
15034
  for (; t--; )
15035
- s[t] = F.trex(e[t]);
15036
- return F.box.apply(null, [F.types.mvex, ...s]);
15035
+ s[t] = k.trex(e[t]);
15036
+ return k.box.apply(null, [k.types.mvex, ...s]);
15037
15037
  }
15038
15038
  static mvhd(e, t) {
15039
15039
  t *= e;
@@ -15164,17 +15164,17 @@ class F {
15164
15164
  255
15165
15165
  // next_track_ID
15166
15166
  ]);
15167
- return F.box(F.types.mvhd, i);
15167
+ return k.box(k.types.mvhd, i);
15168
15168
  }
15169
15169
  static sdtp(e) {
15170
15170
  const t = e.samples || [], s = new Uint8Array(4 + t.length);
15171
15171
  let r, i;
15172
15172
  for (r = 0; r < t.length; r++)
15173
15173
  i = t[r].flags, s[r + 4] = i.dependsOn << 4 | i.isDependedOn << 2 | i.hasRedundancy;
15174
- return F.box(F.types.sdtp, s);
15174
+ return k.box(k.types.sdtp, s);
15175
15175
  }
15176
15176
  static stbl(e) {
15177
- return F.box(F.types.stbl, F.stsd(e), F.box(F.types.stts, F.STTS), F.box(F.types.stsc, F.STSC), F.box(F.types.stsz, F.STSZ), F.box(F.types.stco, F.STCO));
15177
+ return k.box(k.types.stbl, k.stsd(e), k.box(k.types.stts, k.STTS), k.box(k.types.stsc, k.STSC), k.box(k.types.stsz, k.STSZ), k.box(k.types.stco, k.STCO));
15178
15178
  }
15179
15179
  static avc1(e) {
15180
15180
  let t = [], s = [], r, i, o;
@@ -15182,7 +15182,7 @@ class F {
15182
15182
  i = e.sps[r], o = i.byteLength, t.push(o >>> 8 & 255), t.push(o & 255), t = t.concat(Array.prototype.slice.call(i));
15183
15183
  for (r = 0; r < e.pps.length; r++)
15184
15184
  i = e.pps[r], o = i.byteLength, s.push(o >>> 8 & 255), s.push(o & 255), s = s.concat(Array.prototype.slice.call(i));
15185
- const a = F.box(F.types.avcC, new Uint8Array([
15185
+ const a = k.box(k.types.avcC, new Uint8Array([
15186
15186
  1,
15187
15187
  // version
15188
15188
  t[3],
@@ -15199,8 +15199,8 @@ class F {
15199
15199
  e.pps.length
15200
15200
  // numOfPictureParameterSets
15201
15201
  ]).concat(s))), l = e.width, c = e.height, u = e.pixelRatio[0], d = e.pixelRatio[1];
15202
- return F.box(
15203
- F.types.avc1,
15202
+ return k.box(
15203
+ k.types.avc1,
15204
15204
  new Uint8Array([
15205
15205
  0,
15206
15206
  0,
@@ -15298,7 +15298,7 @@ class F {
15298
15298
  ]),
15299
15299
  // pre_defined = -1
15300
15300
  a,
15301
- F.box(F.types.btrt, new Uint8Array([
15301
+ k.box(k.types.btrt, new Uint8Array([
15302
15302
  0,
15303
15303
  28,
15304
15304
  156,
@@ -15315,7 +15315,7 @@ class F {
15315
15315
  192
15316
15316
  ])),
15317
15317
  // avgBitrate
15318
- F.box(F.types.pasp, new Uint8Array([
15318
+ k.box(k.types.pasp, new Uint8Array([
15319
15319
  u >> 24,
15320
15320
  // hSpacing
15321
15321
  u >> 16 & 255,
@@ -15415,20 +15415,20 @@ class F {
15415
15415
  ]);
15416
15416
  }
15417
15417
  static mp4a(e) {
15418
- return F.box(F.types.mp4a, F.audioStsd(e), F.box(F.types.esds, F.esds(e)));
15418
+ return k.box(k.types.mp4a, k.audioStsd(e), k.box(k.types.esds, k.esds(e)));
15419
15419
  }
15420
15420
  static mp3(e) {
15421
- return F.box(F.types[".mp3"], F.audioStsd(e));
15421
+ return k.box(k.types[".mp3"], k.audioStsd(e));
15422
15422
  }
15423
15423
  static ac3(e) {
15424
- return F.box(F.types["ac-3"], F.audioStsd(e), F.box(F.types.dac3, e.config));
15424
+ return k.box(k.types["ac-3"], k.audioStsd(e), k.box(k.types.dac3, e.config));
15425
15425
  }
15426
15426
  static stsd(e) {
15427
- return e.type === "audio" ? e.segmentCodec === "mp3" && e.codec === "mp3" ? F.box(F.types.stsd, F.STSD, F.mp3(e)) : e.segmentCodec === "ac3" ? F.box(F.types.stsd, F.STSD, F.ac3(e)) : F.box(F.types.stsd, F.STSD, F.mp4a(e)) : F.box(F.types.stsd, F.STSD, F.avc1(e));
15427
+ return e.type === "audio" ? e.segmentCodec === "mp3" && e.codec === "mp3" ? k.box(k.types.stsd, k.STSD, k.mp3(e)) : e.segmentCodec === "ac3" ? k.box(k.types.stsd, k.STSD, k.ac3(e)) : k.box(k.types.stsd, k.STSD, k.mp4a(e)) : k.box(k.types.stsd, k.STSD, k.avc1(e));
15428
15428
  }
15429
15429
  static tkhd(e) {
15430
15430
  const t = e.id, s = e.duration * e.timescale, r = e.width, i = e.height, o = Math.floor(s / (kn + 1)), a = Math.floor(s % (kn + 1));
15431
- return F.box(F.types.tkhd, new Uint8Array([
15431
+ return k.box(k.types.tkhd, new Uint8Array([
15432
15432
  1,
15433
15433
  // version 1
15434
15434
  0,
@@ -15542,10 +15542,10 @@ class F {
15542
15542
  ]));
15543
15543
  }
15544
15544
  static traf(e, t) {
15545
- const s = F.sdtp(e), r = e.id, i = Math.floor(t / (kn + 1)), o = Math.floor(t % (kn + 1));
15546
- return F.box(
15547
- F.types.traf,
15548
- F.box(F.types.tfhd, new Uint8Array([
15545
+ const s = k.sdtp(e), r = e.id, i = Math.floor(t / (kn + 1)), o = Math.floor(t % (kn + 1));
15546
+ return k.box(
15547
+ k.types.traf,
15548
+ k.box(k.types.tfhd, new Uint8Array([
15549
15549
  0,
15550
15550
  // version 0
15551
15551
  0,
@@ -15558,7 +15558,7 @@ class F {
15558
15558
  r & 255
15559
15559
  // track_ID
15560
15560
  ])),
15561
- F.box(F.types.tfdt, new Uint8Array([
15561
+ k.box(k.types.tfdt, new Uint8Array([
15562
15562
  1,
15563
15563
  // version 1
15564
15564
  0,
@@ -15574,7 +15574,7 @@ class F {
15574
15574
  o >> 8 & 255,
15575
15575
  o & 255
15576
15576
  ])),
15577
- F.trun(e, s.length + 16 + // tfhd
15577
+ k.trun(e, s.length + 16 + // tfhd
15578
15578
  20 + // tfdt
15579
15579
  8 + // traf header
15580
15580
  16 + // mfhd
@@ -15589,11 +15589,11 @@ class F {
15589
15589
  * @param track a track definition
15590
15590
  */
15591
15591
  static trak(e) {
15592
- return e.duration = e.duration || 4294967295, F.box(F.types.trak, F.tkhd(e), F.mdia(e));
15592
+ return e.duration = e.duration || 4294967295, k.box(k.types.trak, k.tkhd(e), k.mdia(e));
15593
15593
  }
15594
15594
  static trex(e) {
15595
15595
  const t = e.id;
15596
- return F.box(F.types.trex, new Uint8Array([
15596
+ return k.box(k.types.trex, new Uint8Array([
15597
15597
  0,
15598
15598
  // version 0
15599
15599
  0,
@@ -15670,25 +15670,25 @@ class F {
15670
15670
  f & 255
15671
15671
  // sample_composition_time_offset
15672
15672
  ], 12 + 16 * a);
15673
- return F.box(F.types.trun, o);
15673
+ return k.box(k.types.trun, o);
15674
15674
  }
15675
15675
  static initSegment(e) {
15676
- F.types || F.init();
15677
- const t = F.moov(e);
15678
- return Bt(F.FTYP, t);
15679
- }
15680
- }
15681
- F.types = void 0;
15682
- F.HDLR_TYPES = void 0;
15683
- F.STTS = void 0;
15684
- F.STSC = void 0;
15685
- F.STCO = void 0;
15686
- F.STSZ = void 0;
15687
- F.VMHD = void 0;
15688
- F.SMHD = void 0;
15689
- F.STSD = void 0;
15690
- F.FTYP = void 0;
15691
- F.DINF = void 0;
15676
+ k.types || k.init();
15677
+ const t = k.moov(e);
15678
+ return Bt(k.FTYP, t);
15679
+ }
15680
+ }
15681
+ k.types = void 0;
15682
+ k.HDLR_TYPES = void 0;
15683
+ k.STTS = void 0;
15684
+ k.STSC = void 0;
15685
+ k.STCO = void 0;
15686
+ k.STSZ = void 0;
15687
+ k.VMHD = void 0;
15688
+ k.SMHD = void 0;
15689
+ k.STSD = void 0;
15690
+ k.FTYP = void 0;
15691
+ k.DINF = void 0;
15692
15692
  const fm = 9e4;
15693
15693
  function Wl(n, e, t = 1, s = !1) {
15694
15694
  const r = n * e * t;
@@ -15697,7 +15697,7 @@ function Wl(n, e, t = 1, s = !1) {
15697
15697
  function iT(n, e, t = 1, s = !1) {
15698
15698
  return Wl(n, e, 1 / t, s);
15699
15699
  }
15700
- function mr(n, e = !1) {
15700
+ function gr(n, e = !1) {
15701
15701
  return Wl(n, 1e3, 1 / fm, e);
15702
15702
  }
15703
15703
  function oT(n, e = 1) {
@@ -15747,12 +15747,12 @@ class Ri {
15747
15747
  } else
15748
15748
  d = this.generateIS(e, t, i, o);
15749
15749
  const O = this.isVideoContiguous;
15750
- let N = -1, k;
15750
+ let N = -1, F;
15751
15751
  if (x && (N = uT(t.samples), !O && this.config.forceKeyFrameOnDiscontinuity))
15752
15752
  if (m = !0, N > 0) {
15753
15753
  P.warn(`[mp4-remuxer]: Dropped ${N} out of ${v} video samples due to a missing keyframe`);
15754
15754
  const K = this.getVideoStartPts(t.samples);
15755
- t.samples = t.samples.slice(N), t.dropped += N, p += (t.samples[0].pts - K) / t.inputTimeScale, k = p;
15755
+ t.samples = t.samples.slice(N), t.dropped += N, p += (t.samples[0].pts - K) / t.inputTimeScale, F = p;
15756
15756
  } else N === -1 && (P.warn(`[mp4-remuxer]: No keyframe found out of ${v} video samples`), m = !1);
15757
15757
  if (this.ISGenerated) {
15758
15758
  if (R && x) {
@@ -15765,7 +15765,7 @@ class Ri {
15765
15765
  t.inputTimeScale || (P.warn("[mp4-remuxer]: regenerate InitSegment as video detected"), d = this.generateIS(e, t, i, o)), c = this.remuxVideo(t, p, O, K);
15766
15766
  }
15767
15767
  } else x && (c = this.remuxVideo(t, p, O, 0));
15768
- c && (c.firstKeyFrame = N, c.independent = N !== -1, c.firstKeyFramePTS = k);
15768
+ c && (c.firstKeyFrame = N, c.independent = N !== -1, c.firstKeyFramePTS = F);
15769
15769
  }
15770
15770
  }
15771
15771
  return this.ISGenerated && this._initPTS && this._initDTS && (s.samples.length && (h = hm(s, i, this._initPTS, this._initDTS)), r.samples.length && (f = mm(r, i, this._initPTS))), {
@@ -15793,7 +15793,7 @@ class Ri {
15793
15793
  id: "audio",
15794
15794
  container: d,
15795
15795
  codec: e.codec,
15796
- initSegment: e.segmentCodec === "mp3" && a.mpeg ? new Uint8Array(0) : F.initSegment([e]),
15796
+ initSegment: e.segmentCodec === "mp3" && a.mpeg ? new Uint8Array(0) : k.initSegment([e]),
15797
15797
  metadata: {
15798
15798
  channelCount: e.channelCount
15799
15799
  }
@@ -15804,7 +15804,7 @@ class Ri {
15804
15804
  id: "main",
15805
15805
  container: "video/mp4",
15806
15806
  codec: t.codec,
15807
- initSegment: F.initSegment([t]),
15807
+ initSegment: k.initSegment([t]),
15808
15808
  metadata: {
15809
15809
  width: t.width,
15810
15810
  height: t.height
@@ -15853,7 +15853,7 @@ class Ri {
15853
15853
  const v = m - h, R = v ? Math.round(v / (l - 1)) : f || e.inputTimeScale / 30;
15854
15854
  if (s) {
15855
15855
  const X = h - u, q = X > R, ve = X < -1;
15856
- if ((q || ve) && (q ? P.warn(`AVC: ${mr(X, !0)} ms (${X}dts) hole between fragments detected at ${t.toFixed(3)}`) : P.warn(`AVC: ${mr(-X, !0)} ms (${X}dts) overlapping between fragments detected at ${t.toFixed(3)}`), !ve || u >= o[0].pts || ws)) {
15856
+ if ((q || ve) && (q ? P.warn(`AVC: ${gr(X, !0)} ms (${X}dts) hole between fragments detected at ${t.toFixed(3)}`) : P.warn(`AVC: ${gr(-X, !0)} ms (${X}dts) overlapping between fragments detected at ${t.toFixed(3)}`), !ve || u >= o[0].pts || ws)) {
15857
15857
  h = u;
15858
15858
  const le = o[0].pts - X;
15859
15859
  if (q)
@@ -15861,7 +15861,7 @@ class Ri {
15861
15861
  else
15862
15862
  for (let Re = 0; Re < o.length && !(o[Re].dts > le); Re++)
15863
15863
  o[Re].dts -= X, o[Re].pts -= X;
15864
- P.log(`Video: Initial PTS/DTS adjusted: ${mr(le, !0)}/${mr(h, !0)}, delta: ${mr(X, !0)} ms`);
15864
+ P.log(`Video: Initial PTS/DTS adjusted: ${gr(le, !0)}/${gr(h, !0)}, delta: ${gr(X, !0)} ms`);
15865
15865
  }
15866
15866
  }
15867
15867
  h = Math.max(0, h);
@@ -15890,8 +15890,8 @@ class Ri {
15890
15890
  return;
15891
15891
  }
15892
15892
  const w = new DataView(I.buffer);
15893
- w.setUint32(0, C), I.set(F.types.mdat, 4);
15894
- let O = !1, N = Number.POSITIVE_INFINITY, k = Number.POSITIVE_INFINITY, K = Number.NEGATIVE_INFINITY, _ = Number.NEGATIVE_INFINITY;
15893
+ w.setUint32(0, C), I.set(k.types.mdat, 4);
15894
+ let O = !1, N = Number.POSITIVE_INFINITY, F = Number.POSITIVE_INFINITY, K = Number.NEGATIVE_INFINITY, _ = Number.NEGATIVE_INFINITY;
15895
15895
  for (let X = 0; X < l; X++) {
15896
15896
  const q = o[X], ve = q.units;
15897
15897
  let le = 0;
@@ -15911,7 +15911,7 @@ class Ri {
15911
15911
  f = Qe;
15912
15912
  }
15913
15913
  const Ge = Math.round(q.pts - q.dts);
15914
- N = Math.min(N, f), K = Math.max(K, f), k = Math.min(k, Re), _ = Math.max(_, Re), a.push(new ed(q.key, f, le, Ge));
15914
+ N = Math.min(N, f), K = Math.max(K, f), F = Math.min(F, Re), _ = Math.max(_, Re), a.push(new ed(q.key, f, le, Ge));
15915
15915
  }
15916
15916
  if (a.length) {
15917
15917
  if (ws) {
@@ -15919,7 +15919,7 @@ class Ri {
15919
15919
  const X = a[0].flags;
15920
15920
  X.dependsOn = 2, X.isNonSync = 0;
15921
15921
  }
15922
- } else if (Jo && _ - k < K - N && R / K < 0.025 && a[0].cts === 0) {
15922
+ } else if (Jo && _ - F < K - N && R / K < 0.025 && a[0].cts === 0) {
15923
15923
  P.warn("Found irregular gaps in sample duration. Using PTS instead of DTS to determine MP4 sample duration.");
15924
15924
  let X = h;
15925
15925
  for (let q = 0, ve = a.length; q < ve; q++) {
@@ -15935,7 +15935,7 @@ class Ri {
15935
15935
  }
15936
15936
  f = O || !f ? R : f, this.nextAvcDts = u = m + f, this.videoSampleDuration = f, this.isVideoContiguous = !0;
15937
15937
  const ne = {
15938
- data1: F.moof(e.sequenceNumber++, h, tt({}, e, {
15938
+ data1: k.moof(e.sequenceNumber++, h, tt({}, e, {
15939
15939
  samples: a
15940
15940
  })),
15941
15941
  data2: I,
@@ -16017,7 +16017,7 @@ class Ri {
16017
16017
  });
16018
16018
  return;
16019
16019
  }
16020
- f || (new DataView(S.buffer).setUint32(0, T), S.set(F.types.mdat, 4));
16020
+ f || (new DataView(S.buffer).setUint32(0, T), S.set(k.types.mdat, 4));
16021
16021
  } else
16022
16022
  return;
16023
16023
  S.set(X, p);
@@ -16029,17 +16029,17 @@ class Ri {
16029
16029
  return;
16030
16030
  const w = h[h.length - 1];
16031
16031
  this.nextAudioPts = y = x + l * w.duration;
16032
- const O = f ? new Uint8Array(0) : F.moof(e.sequenceNumber++, R / l, tt({}, e, {
16032
+ const O = f ? new Uint8Array(0) : k.moof(e.sequenceNumber++, R / l, tt({}, e, {
16033
16033
  samples: h
16034
16034
  }));
16035
16035
  e.samples = [];
16036
- const N = R / o, k = y / o, _ = {
16036
+ const N = R / o, F = y / o, _ = {
16037
16037
  data1: O,
16038
16038
  data2: S,
16039
16039
  startPTS: N,
16040
- endPTS: k,
16040
+ endPTS: F,
16041
16041
  startDTS: N,
16042
- endDTS: k,
16042
+ endDTS: F,
16043
16043
  type: "audio",
16044
16044
  hasAudio: !0,
16045
16045
  hasVideo: !1,
@@ -16238,7 +16238,7 @@ let Cn;
16238
16238
  try {
16239
16239
  Cn = self.performance.now.bind(self.performance);
16240
16240
  } catch {
16241
- P.debug("Unable to use Performance API on this environment"), Cn = Qs == null ? void 0 : Qs.Date.now;
16241
+ P.debug("Unable to use Performance API on this environment"), Cn = Zs == null ? void 0 : Zs.Date.now;
16242
16242
  }
16243
16243
  const Si = [{
16244
16244
  demux: JS,
@@ -16746,11 +16746,11 @@ function vm(n, e) {
16746
16746
  if (n.length !== e.length)
16747
16747
  return !1;
16748
16748
  for (let t = 0; t < n.length; t++)
16749
- if (!Js(n[t].attrs, e[t].attrs))
16749
+ if (!_s(n[t].attrs, e[t].attrs))
16750
16750
  return !1;
16751
16751
  return !0;
16752
16752
  }
16753
- function Js(n, e, t) {
16753
+ function _s(n, e, t) {
16754
16754
  const s = n["STABLE-RENDITION-ID"];
16755
16755
  return s && !t ? s === e["STABLE-RENDITION-ID"] : !(t || ["LANGUAGE", "NAME", "CHARACTERISTICS", "AUTOSELECT", "DEFAULT", "FORCED", "ASSOC-LANGUAGE"]).some((r) => n[r] !== e[r]);
16756
16756
  }
@@ -16906,7 +16906,7 @@ class vT extends Gl {
16906
16906
  let y = this.flushing ? this.getLoadPosition() : c.end;
16907
16907
  if (d && s) {
16908
16908
  const x = this.getLoadPosition();
16909
- u && !Js(d.attrs, u.attrs) && (y = x), a.PTSKnown && x < p && (c.end > p || c.nextStart) && (this.log("Alt audio track ahead of main track, seek to start of alt audio track"), s.currentTime = p + 0.05);
16909
+ u && !_s(d.attrs, u.attrs) && (y = x), a.PTSKnown && x < p && (c.end > p || c.nextStart) && (this.log("Alt audio track ahead of main track, seek to start of alt audio track"), s.currentTime = p + 0.05);
16910
16910
  }
16911
16911
  if (h >= m && !d && y < g[g.length - 1].start)
16912
16912
  return;
@@ -16934,7 +16934,7 @@ class vT extends Gl {
16934
16934
  onAudioTracksUpdated(e, {
16935
16935
  audioTracks: t
16936
16936
  }) {
16937
- this.resetTransmuxer(), this.levels = t.map((s) => new Zs(s));
16937
+ this.resetTransmuxer(), this.levels = t.map((s) => new Js(s));
16938
16938
  }
16939
16939
  onAudioTrackSwitching(e, t) {
16940
16940
  const s = !!t.url;
@@ -17413,12 +17413,12 @@ class yT extends Ul {
17413
17413
  }
17414
17414
  for (let c = 0; c < t.length; c++) {
17415
17415
  const u = t[c];
17416
- if (Js(e.attrs, u.attrs, ["LANGUAGE", "ASSOC-LANGUAGE", "CHARACTERISTICS"]))
17416
+ if (_s(e.attrs, u.attrs, ["LANGUAGE", "ASSOC-LANGUAGE", "CHARACTERISTICS"]))
17417
17417
  return c;
17418
17418
  }
17419
17419
  for (let c = 0; c < t.length; c++) {
17420
17420
  const u = t[c];
17421
- if (Js(e.attrs, u.attrs, ["LANGUAGE"]))
17421
+ if (_s(e.attrs, u.attrs, ["LANGUAGE"]))
17422
17422
  return c;
17423
17423
  }
17424
17424
  }
@@ -17539,11 +17539,11 @@ class ET extends Gl {
17539
17539
  subtitleTracks: t
17540
17540
  }) {
17541
17541
  if (this.levels && vm(this.levels, t)) {
17542
- this.levels = t.map((s) => new Zs(s));
17542
+ this.levels = t.map((s) => new Js(s));
17543
17543
  return;
17544
17544
  }
17545
17545
  this.tracksBuffered = [], this.levels = t.map((s) => {
17546
- const r = new Zs(s);
17546
+ const r = new Js(s);
17547
17547
  return this.tracksBuffered[r.id] = [], r;
17548
17548
  }), this.fragmentTracker.removeFragmentsInRange(0, Number.POSITIVE_INFINITY, ae.SUBTITLE), this.fragPrevious = null, this.mediaBuffer = null;
17549
17549
  }
@@ -17813,12 +17813,12 @@ class xT extends Ul {
17813
17813
  if (e) {
17814
17814
  for (let r = 0; r < t.length; r++) {
17815
17815
  const i = t[r];
17816
- if (Js(e.attrs, i.attrs, ["LANGUAGE", "ASSOC-LANGUAGE", "CHARACTERISTICS"]))
17816
+ if (_s(e.attrs, i.attrs, ["LANGUAGE", "ASSOC-LANGUAGE", "CHARACTERISTICS"]))
17817
17817
  return r;
17818
17818
  }
17819
17819
  for (let r = 0; r < t.length; r++) {
17820
17820
  const i = t[r];
17821
- if (Js(e.attrs, i.attrs, ["LANGUAGE"]))
17821
+ if (_s(e.attrs, i.attrs, ["LANGUAGE"]))
17822
17822
  return r;
17823
17823
  }
17824
17824
  }
@@ -19354,7 +19354,7 @@ class oi {
19354
19354
  }
19355
19355
  }
19356
19356
  var Xl = function() {
19357
- if (Qs != null && Qs.VTTCue)
19357
+ if (Zs != null && Zs.VTTCue)
19358
19358
  return self.VTTCue;
19359
19359
  const n = ["", "lr", "rl"], e = ["start", "middle", "end", "left", "right"];
19360
19360
  function t(a, l) {
@@ -20726,7 +20726,7 @@ class js {
20726
20726
  return;
20727
20727
  }
20728
20728
  } else {
20729
- const d = LR(s), f = d.filter((h) => h.systemId === vr.WIDEVINE)[0];
20729
+ const d = LR(s), f = d.filter((h) => h.systemId === yr.WIDEVINE)[0];
20730
20730
  if (!f) {
20731
20731
  d.length === 0 || d.some((h) => !h.systemId) ? this.warn(`${r} contains incomplete or invalid pssh data`) : this.log(`ignoring ${r} for ${d.map((h) => Au(h.systemId)).join(",")} pssh data in favor of playlist keys`);
20732
20732
  return;
@@ -20761,7 +20761,7 @@ class js {
20761
20761
  }) => {
20762
20762
  var h;
20763
20763
  this.throwIfDestroyed();
20764
- const m = new zr("ISO-23001-7", a, (h = xu(d)) != null ? h : "");
20764
+ const m = new Vr("ISO-23001-7", a, (h = xu(d)) != null ? h : "");
20765
20765
  return m.pssh = new Uint8Array(s), m.keyId = i, this.attemptSetMediaKeys(d, f).then(() => {
20766
20766
  this.throwIfDestroyed();
20767
20767
  const g = this.createMediaKeySessionContext({
@@ -21027,7 +21027,7 @@ class js {
21027
21027
  }
21028
21028
  onMediaDetached() {
21029
21029
  const e = this.media, t = this.mediaKeySessions;
21030
- e && (e.removeEventListener("encrypted", this.onMediaEncrypted), e.removeEventListener("waitingforkey", this.onWaitingForKey), this.media = null), this._requestLicenseFailureCount = 0, this.setMediaKeysQueue = [], this.mediaKeySessions = [], this.keyIdToKeySessionPromise = {}, zr.clearKeyUriToKeyIdMap();
21030
+ e && (e.removeEventListener("encrypted", this.onMediaEncrypted), e.removeEventListener("waitingforkey", this.onWaitingForKey), this.media = null), this._requestLicenseFailureCount = 0, this.setMediaKeysQueue = [], this.mediaKeySessions = [], this.keyIdToKeySessionPromise = {}, Vr.clearKeyUriToKeyIdMap();
21031
21031
  const s = t.length;
21032
21032
  js.CDMCleanupPromise = Promise.all(t.map((r) => this.removeSession(r)).concat(e == null ? void 0 : e.setMediaKeys(null).catch((r) => {
21033
21033
  this.log(`Could not clear media keys: ${r}`);
@@ -21088,9 +21088,9 @@ const _T = {
21088
21088
  [as.SESSION]: ["cid", "pr", "sf", "sid", "st", "v"],
21089
21089
  [as.STATUS]: ["bs", "rtp"]
21090
21090
  };
21091
- class _s {
21091
+ class $s {
21092
21092
  constructor(e, t) {
21093
- this.value = void 0, this.params = void 0, Array.isArray(e) && (e = e.map((s) => s instanceof _s ? s : new _s(s))), this.value = e, this.params = t;
21093
+ this.value = void 0, this.params = void 0, Array.isArray(e) && (e = e.map((s) => s instanceof $s ? s : new $s(s))), this.value = e, this.params = t;
21094
21094
  }
21095
21095
  }
21096
21096
  class Im {
@@ -21200,7 +21200,7 @@ function Ql(n) {
21200
21200
  return n == null ? "" : Object.entries(n).map(([e, t]) => t === !0 ? `;${_a(e)}` : `;${_a(e)}=${Ja(t)}`).join("");
21201
21201
  }
21202
21202
  function Om(n) {
21203
- return n instanceof _s ? `${Ja(n.value)}${Ql(n.params)}` : Ja(n);
21203
+ return n instanceof $s ? `${Ja(n.value)}${Ql(n.params)}` : Ja(n);
21204
21204
  }
21205
21205
  function yC(n) {
21206
21206
  return `(${n.value.map(Om).join(" ")})${Ql(n.params)}`;
@@ -21212,7 +21212,7 @@ function EC(n, e = {
21212
21212
  throw vn(n, $T);
21213
21213
  const t = n instanceof Map ? n.entries() : Object.entries(n), s = e != null && e.whitespace ? " " : "";
21214
21214
  return Array.from(t).map(([r, i]) => {
21215
- i instanceof _s || (i = new _s(i));
21215
+ i instanceof $s || (i = new $s(i));
21216
21216
  let o = _a(r);
21217
21217
  return i.value === !0 ? o += Ql(i.params) : (o += "=", Array.isArray(i.value) ? o += yC(i) : o += Om(i)), o;
21218
21218
  }).join(`,${s}`);
@@ -21634,7 +21634,7 @@ class DC {
21634
21634
  d["PATHWAY-ID"] = o;
21635
21635
  const f = d.AUDIO && `${d.AUDIO}_clone_${o}`, h = d.SUBTITLES && `${d.SUBTITLES}_clone_${o}`;
21636
21636
  f && (s[d.AUDIO] = f, d.AUDIO = f), h && (r[d.SUBTITLES] = h, d.SUBTITLES = h);
21637
- const m = Fm(u.uri, d["STABLE-VARIANT-ID"], "PER-VARIANT-URIS", l), g = new Zs({
21637
+ const m = Fm(u.uri, d["STABLE-VARIANT-ID"], "PER-VARIANT-URIS", l), g = new Js({
21638
21638
  attrs: d,
21639
21639
  audioCodec: u.audioCodec,
21640
21640
  bitrate: u.bitrate,
@@ -22419,12 +22419,12 @@ class ZC extends Ul {
22419
22419
  if (i[w].uri !== u.url && !u.attrs["PATHWAY-ID"]) {
22420
22420
  const O = o[w] += 1;
22421
22421
  u.attrs["PATHWAY-ID"] = new Array(O + 1).join(".");
22422
- const N = new Zs(u);
22422
+ const N = new Js(u);
22423
22423
  i[w] = N, r.push(N);
22424
22424
  } else
22425
22425
  i[w].addGroupId("audio", h.AUDIO), i[w].addGroupId("text", h.SUBTITLES);
22426
22426
  else {
22427
- const O = new Zs(u);
22427
+ const O = new Js(u);
22428
22428
  i[w] = O, o[w] = 1, r.push(O);
22429
22429
  }
22430
22430
  }), this.filterAndSortMediaOptions(r, t, a, l, c);
@@ -22875,7 +22875,7 @@ function _C() {
22875
22875
  if (!Nm())
22876
22876
  return !1;
22877
22877
  const n = vs();
22878
- return typeof (n == null ? void 0 : n.isTypeSupported) == "function" && (["avc1.42E01E,mp4a.40.2", "av01.0.01M.08", "vp09.00.50.08"].some((e) => n.isTypeSupported(Vr(e, "video"))) || ["mp4a.40.2", "fLaC"].some((e) => n.isTypeSupported(Vr(e, "audio"))));
22878
+ return typeof (n == null ? void 0 : n.isTypeSupported) == "function" && (["avc1.42E01E,mp4a.40.2", "av01.0.01M.08", "vp09.00.50.08"].some((e) => n.isTypeSupported(Gr(e, "video"))) || ["mp4a.40.2", "fLaC"].some((e) => n.isTypeSupported(Gr(e, "audio"))));
22879
22879
  }
22880
22880
  function $C() {
22881
22881
  var n;
@@ -24629,7 +24629,7 @@ function Rb(...n) {
24629
24629
  return Eo(c), c;
24630
24630
  }
24631
24631
  function Sb() {
24632
- const n = H(!1), e = Xs();
24632
+ const n = H(!1), e = qs();
24633
24633
  return e && tn(() => {
24634
24634
  n.value = !0;
24635
24635
  }, e), n;
@@ -24771,51 +24771,51 @@ const wb = {
24771
24771
  const s = n, r = t, { videoUrl: i, use: o, controlsEnabled: a } = Ke(s), l = H(null), c = H({}), u = H(!1), d = H(!1), f = H(!1), h = H({ width: "" }), m = H(0), g = H(0), p = H(!1), y = H(!1), E = () => {
24772
24772
  o.value === "hls" ? v() : o.value;
24773
24773
  }, v = () => {
24774
- var k;
24774
+ var F;
24775
24775
  Zt.isSupported() ? (l.value = new Zt(), p.value = !1, l.value.loadSource(i.value), l.value.attachMedia(c.value), l.value.on(Zt.Events.FRAG_BUFFERED, () => {
24776
24776
  const K = localStorage.getItem("cameraTimecode");
24777
24777
  K && (localStorage.removeItem("cameraTimecode"), c.value.currentTime = parseInt(K)), u.value = !0, c.value.play();
24778
24778
  }), l.value.on(Zt.Events.LEVEL_LOADED, (K, _) => {
24779
24779
  g.value = Math.floor(_.details.totalduration), f.value = !0;
24780
24780
  }), l.value.on(Zt.Events.ERROR, (K, _) => {
24781
- console.log(K, _), p.value = !0, r("player:error", { type: K, error: _ });
24782
- }), (k = c.value) == null || k.addEventListener("timeupdate", (K) => {
24781
+ p.value = !0, r("player:error", { type: K, error: _ });
24782
+ }), (F = c.value) == null || F.addEventListener("timeupdate", (K) => {
24783
24783
  m.value = Math.round(K.target.currentTime), r("player:timecode", m.value);
24784
24784
  })) : console.error("HLS js is not supported");
24785
24785
  }, R = () => {
24786
- var k;
24787
- (k = l.value) == null || k.destroy();
24788
- }, x = (k) => {
24789
- k === Qt.PLAY ? c.value.play() : k === Qt.PAUSE && c.value.pause(), r("player:state", k);
24790
- }, S = (k) => {
24791
- c.value.currentTime = c.value.currentTime + k, r("player:left-timecode", c.value.currentTime);
24792
- }, T = (k) => {
24793
- c.value.currentTime = k, r("player:bar-timecode", k);
24794
- }, C = (k) => {
24795
- c.value.playbackRate = k, r("player:reading-peed", k);
24796
- }, I = (k) => {
24797
- y.value = k, r("player:fullscreen", k);
24786
+ var F;
24787
+ (F = l.value) == null || F.destroy();
24788
+ }, x = (F) => {
24789
+ F === Qt.PLAY ? c.value.play() : F === Qt.PAUSE && c.value.pause(), r("player:state", F);
24790
+ }, S = (F) => {
24791
+ c.value.currentTime = c.value.currentTime + F, r("player:left-timecode", c.value.currentTime);
24792
+ }, T = (F) => {
24793
+ c.value.currentTime = F, r("player:bar-timecode", F);
24794
+ }, C = (F) => {
24795
+ c.value.playbackRate = F, r("player:reading-peed", F);
24796
+ }, I = (F) => {
24797
+ y.value = F, r("player:fullscreen", F);
24798
24798
  }, w = () => {
24799
24799
  r("click:timecode");
24800
- }, O = (k) => {
24800
+ }, O = (F) => {
24801
24801
  h.value = {
24802
- width: k
24802
+ width: F
24803
24803
  };
24804
- }, N = ([{ isIntersecting: k }]) => {
24805
- k && !d.value && (d.value = !0, r("player:loaded", {
24804
+ }, N = ([{ isIntersecting: F }]) => {
24805
+ F && !d.value && (d.value = !0, r("player:loaded", {
24806
24806
  width: c.value.clientWidth,
24807
24807
  height: c.value.clientHeight
24808
24808
  }));
24809
24809
  };
24810
24810
  return tn(() => {
24811
- const k = setTimeout(() => {
24812
- E(), clearTimeout(k);
24811
+ const F = setTimeout(() => {
24812
+ E(), clearTimeout(F);
24813
24813
  }, 1500);
24814
24814
  }), e({
24815
24815
  destroyPlayer: R,
24816
24816
  onUpdateVideoPlayerBarTimecode: T,
24817
24817
  setControlWidth: O
24818
- }), (k, K) => {
24818
+ }), (F, K) => {
24819
24819
  const _ = xe("SpashAnimation"), $ = xe("SpashProgressCircular");
24820
24820
  return D(), W("div", {
24821
24821
  class: he(["spash-video-player w-full h-full", [y.value ? "absolute top-0 left-0 z-2" : ""]])
@@ -24825,10 +24825,10 @@ const wb = {
24825
24825
  muted: "",
24826
24826
  ref_key: "videoPlayerEl",
24827
24827
  ref: c,
24828
- class: he([k.spashMode === "landscape" ? "h-full mx-auto" : "w-full"])
24828
+ class: he([F.spashMode === "landscape" ? "h-full mx-auto" : "w-full"])
24829
24829
  }, null, 2), [
24830
24830
  [G(Cb), N],
24831
- [Ar, u.value]
24831
+ [xr, u.value]
24832
24832
  ]),
24833
24833
  Se(_, null, {
24834
24834
  default: Oe(() => [
@@ -24859,9 +24859,9 @@ const wb = {
24859
24859
  ])) : Le("", !0),
24860
24860
  !u.value && p.value ? (D(), W("div", {
24861
24861
  key: 1,
24862
- class: he(["w-full h-full text-white flex items-center justify-center bg-black bg-opacity-70 text-4xl font-bold", [k.spashMode === "landscape" ? "" : "min-h-[600px]"]]),
24862
+ class: he(["w-full h-full text-white flex items-center justify-center bg-black bg-opacity-70 text-4xl font-bold", [F.spashMode === "landscape" ? "" : "min-h-[600px]"]]),
24863
24863
  style: { padding: "0 300px" }
24864
- }, we(k.$t("components.SpashVideo.SpashVideoPlayer.videoError")), 3)) : Le("", !0)
24864
+ }, we(F.$t("components.SpashVideo.SpashVideoPlayer.videoError")), 3)) : Le("", !0)
24865
24865
  ], 2);
24866
24866
  };
24867
24867
  }
@@ -25103,7 +25103,7 @@ const Xb = /* @__PURE__ */ Ae(jb, [["render", Kb]]), qb = { class: "relative min
25103
25103
  ]),
25104
25104
  z("div", iI, [
25105
25105
  m.value.length ? (D(), W("div", oI, [
25106
- (D(!0), W(Ot, null, er(m.value, (C, I) => (D(), ye(tI, {
25106
+ (D(!0), W(Ot, null, tr(m.value, (C, I) => (D(), ye(tI, {
25107
25107
  class: he([u.value && d.value === I ? "border-2 border-primary" : ""]),
25108
25108
  key: C.id,
25109
25109
  event: C,
@@ -25173,7 +25173,7 @@ const Xb = /* @__PURE__ */ Ae(jb, [["render", Kb]]), qb = { class: "relative min
25173
25173
  class: "absolute top-1/2 -translate-y-1/2 left-0",
25174
25174
  style: Rt(`height: ${r.value}px; width: ${i.value}px;`)
25175
25175
  }, [
25176
- (D(!0), W(Ot, null, er(o.value, (f) => (D(), W("div", {
25176
+ (D(!0), W(Ot, null, tr(o.value, (f) => (D(), W("div", {
25177
25177
  key: f.label,
25178
25178
  class: "absolute w-full h-full",
25179
25179
  style: Rt([
@@ -25184,32 +25184,32 @@ const Xb = /* @__PURE__ */ Ae(jb, [["render", Kb]]), qb = { class: "relative min
25184
25184
  ], 4));
25185
25185
  }
25186
25186
  });
25187
- var Gr = /* @__PURE__ */ ((n) => (n.PORTRAIT = "portrait", n.LANDSCAPE = "landscape", n))(Gr || {});
25187
+ var Ws = /* @__PURE__ */ ((n) => (n.PORTRAIT = "portrait", n.LANDSCAPE = "landscape", n))(Ws || {});
25188
25188
  const pI = /* @__PURE__ */ me({
25189
25189
  __name: "SpashVideoOptionsDraw",
25190
25190
  props: {
25191
25191
  color: { default: "--color-black" },
25192
25192
  isOpen: { type: Boolean, default: !1 },
25193
25193
  isOpenField2d: { type: Boolean, default: !1 },
25194
- spashMode: { default: Gr.LANDSCAPE }
25194
+ spashMode: { default: Ws.LANDSCAPE }
25195
25195
  },
25196
25196
  setup(n, { expose: e }) {
25197
25197
  const t = n, { color: s, isOpenField2d: r, spashMode: i } = Ke(t), o = H(), a = H(), l = H(!1), c = H([]), u = H([]), d = H(0), f = H("draw"), h = H(5), m = H(!1), g = re(() => f.value), p = re(() => d.value), y = re(() => u.value.length), E = re(() => f.value === "draw" ? !1 : f.value === "prev" ? !0 : f.value === "next" ? u.value.length !== c.value.length : !1), v = (N) => {
25198
- const k = o.value.getBoundingClientRect();
25198
+ const F = o.value.getBoundingClientRect();
25199
25199
  let K = { x: 0, y: 0 };
25200
25200
  return N instanceof MouseEvent ? K = {
25201
- x: N.clientX - k.left,
25202
- y: N.clientY - k.top
25201
+ x: N.clientX - F.left,
25202
+ y: N.clientY - F.top
25203
25203
  } : N instanceof TouchEvent && (K = {
25204
- x: N.changedTouches[0].clientX - k.left,
25205
- y: N.changedTouches[0].clientY - k.top
25204
+ x: N.changedTouches[0].clientX - F.left,
25205
+ y: N.changedTouches[0].clientY - F.top
25206
25206
  }), K;
25207
25207
  }, R = (N) => {
25208
25208
  if (l.value) {
25209
- const { x: k, y: K } = v(N);
25210
- a.value.lineTo(k, K), a.value.stroke(), c.value[d.value - 1].points = [
25209
+ const { x: F, y: K } = v(N);
25210
+ a.value.lineTo(F, K), a.value.stroke(), c.value[d.value - 1].points = [
25211
25211
  ...c.value[d.value - 1].points,
25212
- { x: k, y: K }
25212
+ { x: F, y: K }
25213
25213
  ];
25214
25214
  }
25215
25215
  }, x = () => {
@@ -25218,9 +25218,9 @@ const pI = /* @__PURE__ */ me({
25218
25218
  l.value = !1, u.value = c.value;
25219
25219
  }, T = (N) => {
25220
25220
  a.value.clearRect(0, 0, o.value.width, o.value.height);
25221
- for (const k of N) {
25222
- a.value.beginPath(), a.value.strokeStyle = k.color, a.value.lineWidth = h.value;
25223
- for (const K of k.points)
25221
+ for (const F of N) {
25222
+ a.value.beginPath(), a.value.strokeStyle = F.color, a.value.lineWidth = h.value;
25223
+ for (const K of F.points)
25224
25224
  a.value.lineTo(K.x, K.y), a.value.stroke();
25225
25225
  }
25226
25226
  };
@@ -25241,11 +25241,14 @@ const pI = /* @__PURE__ */ me({
25241
25241
  c.value[d.value - 1]
25242
25242
  ], T(u.value);
25243
25243
  },
25244
- createCanvas: ({ width: N, height: k }) => {
25245
- m.value || (o.value.width = N, o.value.height = k - 100, i.value === Gr.PORTRAIT && (o.value.width = 1080, o.value.height = 1920), a.value = o.value.getContext("2d"), m.value = !0);
25246
- }
25247
- }), (N, k) => (D(), W("canvas", hl({
25248
- class: ["absolute top-1/2 -translate-y-1/2 left-1/2 -translate-x-1/2", [G(r) ? "z-2" : ""]],
25244
+ createCanvas: ({ width: N, height: F }) => {
25245
+ m.value || (o.value.width = N, o.value.height = F - 100, i.value === Ws.PORTRAIT && (o.value.width = 1080, o.value.height = F + 300), a.value = o.value.getContext("2d"), m.value = !0);
25246
+ }
25247
+ }), (N, F) => (D(), W("canvas", hl({
25248
+ class: ["absolute top-1/2 -translate-y-1/2 left-1/2 -translate-x-1/2", [
25249
+ G(r) ? "z-2" : "",
25250
+ G(i) === G(Ws).PORTRAIT && G(r) ? "mt-[150px]" : ""
25251
+ ]],
25249
25252
  ref_key: "canvasEl",
25250
25253
  ref: o
25251
25254
  }, N.$attrs, {
@@ -25344,7 +25347,7 @@ const pI = /* @__PURE__ */ me({
25344
25347
  fullWidth: { type: Boolean, default: !1 },
25345
25348
  selectedCamera: { default: 1 },
25346
25349
  timecode: { default: 0 },
25347
- spashMode: { default: Gr.LANDSCAPE }
25350
+ spashMode: { default: Ws.LANDSCAPE }
25348
25351
  },
25349
25352
  emits: ["update:timecode", "update:optionsSelected"],
25350
25353
  setup(n, { expose: e, emit: t }) {
@@ -25429,7 +25432,7 @@ const pI = /* @__PURE__ */ me({
25429
25432
  }, N = () => {
25430
25433
  var Y;
25431
25434
  S.value && ((Y = E.value) == null || Y.previousStroke());
25432
- }, k = () => {
25435
+ }, F = () => {
25433
25436
  var Y;
25434
25437
  T.value && ((Y = E.value) == null || Y.nextStroke());
25435
25438
  }, K = () => {
@@ -25455,7 +25458,7 @@ const pI = /* @__PURE__ */ me({
25455
25458
  ]])
25456
25459
  }, [
25457
25460
  z("div", SI, [
25458
- (D(!0), W(Ot, null, er(x.value, (q) => (D(), W("div", {
25461
+ (D(!0), W(Ot, null, tr(x.value, (q) => (D(), W("div", {
25459
25462
  key: q.key,
25460
25463
  class: he(["relative flex gap-4 items-center justify-center p-2 text-3xl transition-transform duration-100 rounded-l-2xl h-20", [
25461
25464
  p.value.includes(q.key) ? "bg-white text-black w-[122px]" : "bg-black text-text",
@@ -25482,7 +25485,7 @@ const pI = /* @__PURE__ */ me({
25482
25485
  }, ["stop"])),
25483
25486
  onClose: (ve) => C(q.key),
25484
25487
  "onDraw:prev": N,
25485
- "onDraw:next": k,
25488
+ "onDraw:next": F,
25486
25489
  "onDraw:delete": K
25487
25490
  }, null, 8, ["color", "total-strokes", "enable-next", "onClose"])) : Le("", !0)
25488
25491
  ]),
@@ -25506,7 +25509,7 @@ const pI = /* @__PURE__ */ me({
25506
25509
  "onUpdate:timecode": ne[2] || (ne[2] = (q) => Y.$emit("update:timecode", q)),
25507
25510
  onClose: ne[3] || (ne[3] = (q) => C(G(Ce).buzz))
25508
25511
  }, null, 8, ["events", "timecode", "session-event-types"]), [
25509
- [Ar, p.value.includes(G(Ce).buzz)]
25512
+ [xr, p.value.includes(G(Ce).buzz)]
25510
25513
  ])
25511
25514
  ]),
25512
25515
  _: 1
@@ -25528,7 +25531,7 @@ const pI = /* @__PURE__ */ me({
25528
25531
  ref: v,
25529
25532
  field: G(u)
25530
25533
  }, null, 8, ["field"]), [
25531
- [Ar, p.value.includes(G(Ce).layer)]
25534
+ [xr, p.value.includes(G(Ce).layer)]
25532
25535
  ])
25533
25536
  ]),
25534
25537
  _: 1
@@ -25543,7 +25546,7 @@ const pI = /* @__PURE__ */ me({
25543
25546
  "is-open-field2d": p.value.includes(G(Ce).field2D),
25544
25547
  "spash-mode": Y.spashMode
25545
25548
  }, null, 8, ["color", "is-open", "is-open-field2d", "spash-mode"]), [
25546
- [Ar, p.value.includes(G(Ce).draw)]
25549
+ [xr, p.value.includes(G(Ce).draw)]
25547
25550
  ])
25548
25551
  ]),
25549
25552
  _: 1
@@ -25562,14 +25565,14 @@ const pI = /* @__PURE__ */ me({
25562
25565
  optionsSelected: { default: () => [] },
25563
25566
  controlsEnabled: { default: () => [] },
25564
25567
  fullWidth: { type: Boolean, default: !1 },
25565
- spashMode: { default: Gr.LANDSCAPE },
25568
+ spashMode: { default: Ws.LANDSCAPE },
25566
25569
  cUrls: { default: () => [] }
25567
25570
  },
25568
25571
  emits: ["update:optionsSelected", "error"],
25569
25572
  setup(n, { expose: e, emit: t }) {
25570
25573
  const s = n, r = t, { session: i, use: o, optionsSelected: a, cUrls: l } = Ke(s), c = H(), u = H(1), d = H(null), f = H(!1), h = H(!0), m = H(a.value), g = H(!1), p = H(0), y = H(0), E = (O) => {
25571
- var k;
25572
- h.value = !1, (k = c.value) == null || k.destroyPlayer(), u.value = O, localStorage.setItem("selectedCamera", O.toString()), localStorage.setItem("cameraTimecode", p.value.toString());
25574
+ var F;
25575
+ h.value = !1, (F = c.value) == null || F.destroyPlayer(), u.value = O, localStorage.setItem("selectedCamera", O.toString()), localStorage.setItem("cameraTimecode", p.value.toString());
25573
25576
  const N = setTimeout(() => {
25574
25577
  h.value = !0, clearTimeout(N);
25575
25578
  }, 500);
@@ -25582,8 +25585,8 @@ const pI = /* @__PURE__ */ me({
25582
25585
  O = [...O, `/data/ngtv_sessions/${i.value.reference}/video${N}.m3u8`];
25583
25586
  return O;
25584
25587
  }), R = re(() => v.value[u.value - 1]), x = (O) => {
25585
- var N, k, K;
25586
- (N = d.value) == null || N.createCanvas({ width: +O.width, height: +O.height }), (k = c.value) == null || k.setControlWidth(`${+O.width}px`), (K = d.value) == null || K.createLayerContainer({ width: +O.width, height: +O.height }), f.value = !0;
25588
+ var N, F, K;
25589
+ (N = d.value) == null || N.createCanvas({ width: +O.width, height: +O.height }), (F = c.value) == null || F.setControlWidth(`${+O.width}px`), (K = d.value) == null || K.createLayerContainer({ width: +O.width, height: +O.height }), f.value = !0;
25587
25590
  }, S = (O) => {
25588
25591
  var N;
25589
25592
  (N = c.value) == null || N.onUpdateVideoPlayerBarTimecode(O);
@@ -25606,7 +25609,7 @@ const pI = /* @__PURE__ */ me({
25606
25609
  }
25607
25610
  }), (O, N) => {
25608
25611
  var K;
25609
- const k = xe("SpashProgressCircular");
25612
+ const F = xe("SpashProgressCircular");
25610
25613
  return D(), W(Ot, null, [
25611
25614
  z("div", {
25612
25615
  class: he(["flex", [
@@ -25643,7 +25646,7 @@ const pI = /* @__PURE__ */ me({
25643
25646
  key: 2,
25644
25647
  class: he(["absolute top-1/2 left-1/2 -translate-y-1/2 -translate-x-1/2", [(O.spashMode === "landscape", "")]])
25645
25648
  }, [
25646
- Se(k, {
25649
+ Se(F, {
25647
25650
  color: "#ffffff",
25648
25651
  indeterminate: "",
25649
25652
  size: "64"
@@ -25669,7 +25672,7 @@ const pI = /* @__PURE__ */ me({
25669
25672
  "spash-mode": O.spashMode,
25670
25673
  "onUpdate:timecode": S
25671
25674
  }, null, 8, ["optionsSelected", "full-width", "session", "field", "timecode", "selected-camera", "cameras-total", "options-enabled", "events", "session-event-types", "spash-mode"]), [
25672
- [Ar, !g.value]
25675
+ [xr, !g.value]
25673
25676
  ])
25674
25677
  ], 2),
25675
25678
  N[3] || (N[3] = z("div", { id: "spash-video-options-container" }, null, -1))
@@ -25805,11 +25808,11 @@ var ys;
25805
25808
  r(R.length <= O), t(0, Math.min(4, O - R.length), R), t(0, (8 - R.length % 8) % 8, R), r(R.length % 8 == 0);
25806
25809
  for (var N = 236; R.length < O; N ^= 253)
25807
25810
  t(N, 8, R);
25808
- for (var k = []; k.length * 8 < R.length; )
25809
- k.push(0);
25811
+ for (var F = []; F.length * 8 < R.length; )
25812
+ F.push(0);
25810
25813
  return R.forEach(function(K, _) {
25811
- return k[_ >>> 3] |= K << 7 - (_ & 7);
25812
- }), new o(h, l, k, d);
25814
+ return F[_ >>> 3] |= K << 7 - (_ & 7);
25815
+ }), new o(h, l, F, d);
25813
25816
  }, o.prototype.getModule = function(a, l) {
25814
25817
  return 0 <= a && a < this.size && 0 <= l && l < this.size && this.modules[l][a];
25815
25818
  }, o.prototype.getModules = function() {
@@ -26360,7 +26363,7 @@ function Hm(n, e) {
26360
26363
  const { toString: WI } = Object.prototype, { getPrototypeOf: _l } = Object, Ro = /* @__PURE__ */ ((n) => (e) => {
26361
26364
  const t = WI.call(e);
26362
26365
  return n[t] || (n[t] = t.slice(8, -1).toLowerCase());
26363
- })(/* @__PURE__ */ Object.create(null)), nn = (n) => (n = n.toLowerCase(), (e) => Ro(e) === n), So = (n) => (e) => typeof e === n, { isArray: nr } = Array, Br = So("undefined");
26366
+ })(/* @__PURE__ */ Object.create(null)), nn = (n) => (n = n.toLowerCase(), (e) => Ro(e) === n), So = (n) => (e) => typeof e === n, { isArray: sr } = Array, Br = So("undefined");
26364
26367
  function KI(n) {
26365
26368
  return n !== null && !Br(n) && n.constructor !== null && !Br(n.constructor) && Ft(n.constructor.isBuffer) && n.constructor.isBuffer(n);
26366
26369
  }
@@ -26383,7 +26386,7 @@ function jr(n, e, { allOwnKeys: t = !1 } = {}) {
26383
26386
  if (n === null || typeof n > "u")
26384
26387
  return;
26385
26388
  let s, r;
26386
- if (typeof n != "object" && (n = [n]), nr(n))
26389
+ if (typeof n != "object" && (n = [n]), sr(n))
26387
26390
  for (s = 0, r = n.length; s < r; s++)
26388
26391
  e.call(null, n[s], s, n);
26389
26392
  else {
@@ -26406,7 +26409,7 @@ const ls = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typ
26406
26409
  function el() {
26407
26410
  const { caseless: n } = Xm(this) && this || {}, e = {}, t = (s, r) => {
26408
26411
  const i = n && Km(e, r) || r;
26409
- Li(e[i]) && Li(s) ? e[i] = el(e[i], s) : Li(s) ? e[i] = el({}, s) : nr(s) ? e[i] = s.slice() : e[i] = s;
26412
+ Li(e[i]) && Li(s) ? e[i] = el(e[i], s) : Li(s) ? e[i] = el({}, s) : sr(s) ? e[i] = s.slice() : e[i] = s;
26410
26413
  };
26411
26414
  for (let s = 0, r = arguments.length; s < r; s++)
26412
26415
  arguments[s] && jr(arguments[s], t);
@@ -26434,7 +26437,7 @@ const aL = (n, e, t, { allOwnKeys: s } = {}) => (jr(e, (r, i) => {
26434
26437
  return s !== -1 && s === t;
26435
26438
  }, fL = (n) => {
26436
26439
  if (!n) return null;
26437
- if (nr(n)) return n;
26440
+ if (sr(n)) return n;
26438
26441
  let e = n.length;
26439
26442
  if (!Wm(e)) return null;
26440
26443
  const t = new Array(e);
@@ -26486,7 +26489,7 @@ const aL = (n, e, t, { allOwnKeys: s } = {}) => (jr(e, (r, i) => {
26486
26489
  t[i] = !0;
26487
26490
  });
26488
26491
  };
26489
- return nr(n) ? s(n) : s(String(n).split(e)), t;
26492
+ return sr(n) ? s(n) : s(String(n).split(e)), t;
26490
26493
  }, xL = () => {
26491
26494
  }, RL = (n, e) => n != null && Number.isFinite(n = +n) ? n : e, ca = "abcdefghijklmnopqrstuvwxyz", Rd = "0123456789", Ym = {
26492
26495
  DIGIT: Rd,
@@ -26509,7 +26512,7 @@ const CL = (n) => {
26509
26512
  return;
26510
26513
  if (!("toJSON" in s)) {
26511
26514
  e[r] = s;
26512
- const i = nr(s) ? [] : {};
26515
+ const i = sr(s) ? [] : {};
26513
26516
  return jr(s, (o, a) => {
26514
26517
  const l = t(o, r + 1);
26515
26518
  !Br(l) && (i[a] = l);
@@ -26527,7 +26530,7 @@ const CL = (n) => {
26527
26530
  typeof setImmediate == "function",
26528
26531
  Ft(ls.postMessage)
26529
26532
  ), LL = typeof queueMicrotask < "u" ? queueMicrotask.bind(ls) : typeof process < "u" && process.nextTick || Qm, U = {
26530
- isArray: nr,
26533
+ isArray: sr,
26531
26534
  isArrayBuffer: jm,
26532
26535
  isBuffer: KI,
26533
26536
  isFormData: eL,
@@ -26975,7 +26978,7 @@ const KL = U.toObjectSet([
26975
26978
  r = o.indexOf(":"), t = o.substring(0, r).trim().toLowerCase(), s = o.substring(r + 1).trim(), !(!t || e[t] && KL[t]) && (t === "set-cookie" ? e[t] ? e[t].push(s) : e[t] = [s] : e[t] = e[t] ? e[t] + ", " + s : s);
26976
26979
  }), e;
26977
26980
  }, bd = Symbol("internals");
26978
- function gr(n) {
26981
+ function pr(n) {
26979
26982
  return n && String(n).trim().toLowerCase();
26980
26983
  }
26981
26984
  function wi(n) {
@@ -27020,7 +27023,7 @@ class wt {
27020
27023
  set(e, t, s) {
27021
27024
  const r = this;
27022
27025
  function i(a, l, c) {
27023
- const u = gr(l);
27026
+ const u = pr(l);
27024
27027
  if (!u)
27025
27028
  throw new Error("header name must be a non-empty string");
27026
27029
  const d = U.findKey(r, u);
@@ -27039,7 +27042,7 @@ class wt {
27039
27042
  return this;
27040
27043
  }
27041
27044
  get(e, t) {
27042
- if (e = gr(e), e) {
27045
+ if (e = pr(e), e) {
27043
27046
  const s = U.findKey(this, e);
27044
27047
  if (s) {
27045
27048
  const r = this[s];
@@ -27056,7 +27059,7 @@ class wt {
27056
27059
  }
27057
27060
  }
27058
27061
  has(e, t) {
27059
- if (e = gr(e), e) {
27062
+ if (e = pr(e), e) {
27060
27063
  const s = U.findKey(this, e);
27061
27064
  return !!(s && this[s] !== void 0 && (!t || ua(this, this[s], s, t)));
27062
27065
  }
@@ -27066,7 +27069,7 @@ class wt {
27066
27069
  const s = this;
27067
27070
  let r = !1;
27068
27071
  function i(o) {
27069
- if (o = gr(o), o) {
27072
+ if (o = pr(o), o) {
27070
27073
  const a = U.findKey(s, o);
27071
27074
  a && (!t || ua(s, s[a], a, t)) && (delete s[a], r = !0);
27072
27075
  }
@@ -27125,7 +27128,7 @@ class wt {
27125
27128
  accessors: {}
27126
27129
  }).accessors, r = this.prototype;
27127
27130
  function i(o) {
27128
- const a = gr(o);
27131
+ const a = pr(o);
27129
27132
  s[a] || (ZL(r, o), s[a] = !0);
27130
27133
  }
27131
27134
  return U.isArray(e) ? e.forEach(i) : i(e), this;
@@ -27152,10 +27155,10 @@ function da(n, e) {
27152
27155
  function s0(n) {
27153
27156
  return !!(n && n.__CANCEL__);
27154
27157
  }
27155
- function sr(n, e, t) {
27158
+ function rr(n, e, t) {
27156
27159
  pe.call(this, n ?? "canceled", pe.ERR_CANCELED, e, t), this.name = "CanceledError";
27157
27160
  }
27158
- U.inherits(sr, pe, {
27161
+ U.inherits(rr, pe, {
27159
27162
  __CANCEL__: !0
27160
27163
  });
27161
27164
  function r0(n, e, t) {
@@ -27427,7 +27430,7 @@ const o0 = (n) => {
27427
27430
  }, i === void 0 && o.setContentType(null), "setRequestHeader" in p && U.forEach(o.toJSON(), function(R, x) {
27428
27431
  p.setRequestHeader(x, R);
27429
27432
  }), U.isUndefined(r.withCredentials) || (p.withCredentials = !!r.withCredentials), a && a !== "json" && (p.responseType = r.responseType), c && ([f, m] = eo(c, !0), p.addEventListener("progress", f)), l && p.upload && ([d, h] = eo(l), p.upload.addEventListener("progress", d), p.upload.addEventListener("loadend", h)), (r.cancelToken || r.signal) && (u = (v) => {
27430
- p && (s(!v || v.type ? new sr(null, n, p) : v), p.abort(), p = null);
27433
+ p && (s(!v || v.type ? new rr(null, n, p) : v), p.abort(), p = null);
27431
27434
  }, r.cancelToken && r.cancelToken.subscribe(u), r.signal && (r.signal.aborted ? u() : r.signal.addEventListener("abort", u)));
27432
27435
  const E = JL(r.url);
27433
27436
  if (E && Lt.protocols.indexOf(E) === -1) {
@@ -27444,7 +27447,7 @@ const o0 = (n) => {
27444
27447
  if (!r) {
27445
27448
  r = !0, a();
27446
27449
  const u = c instanceof Error ? c : this.reason;
27447
- s.abort(u instanceof pe ? u : new sr(u instanceof Error ? u.message : u));
27450
+ s.abort(u instanceof pe ? u : new rr(u instanceof Error ? u.message : u));
27448
27451
  }
27449
27452
  };
27450
27453
  let o = e && setTimeout(() => {
@@ -27691,7 +27694,7 @@ const Fd = (n) => `- ${n}`, gw = (n) => U.isFunction(n) || n === null || n === !
27691
27694
  };
27692
27695
  function fa(n) {
27693
27696
  if (n.cancelToken && n.cancelToken.throwIfRequested(), n.signal && n.signal.aborted)
27694
- throw new sr(null, n);
27697
+ throw new rr(null, n);
27695
27698
  }
27696
27699
  function kd(n) {
27697
27700
  return fa(n), n.headers = wt.from(n.headers), n.data = da.call(
@@ -27902,7 +27905,7 @@ class nc {
27902
27905
  s.unsubscribe(i);
27903
27906
  }, o;
27904
27907
  }, e(function(i, o, a) {
27905
- s.reason || (s.reason = new sr(i, o, a), t(s.reason));
27908
+ s.reason || (s.reason = new rr(i, o, a), t(s.reason));
27906
27909
  });
27907
27910
  }
27908
27911
  /**
@@ -28035,7 +28038,7 @@ function d0(n) {
28035
28038
  }
28036
28039
  const nt = d0(Wr);
28037
28040
  nt.Axios = ds;
28038
- nt.CanceledError = sr;
28041
+ nt.CanceledError = rr;
28039
28042
  nt.CancelToken = nc;
28040
28043
  nt.isCancel = s0;
28041
28044
  nt.VERSION = u0;
@@ -29029,7 +29032,7 @@ class Io extends Kr {
29029
29032
  }
29030
29033
  /** @override **/
29031
29034
  formatOffset(e, t) {
29032
- return Ir(this.offset(e), t);
29035
+ return Lr(this.offset(e), t);
29033
29036
  }
29034
29037
  /** @override **/
29035
29038
  offset(e) {
@@ -29172,7 +29175,7 @@ class wn extends Kr {
29172
29175
  * @return {string}
29173
29176
  */
29174
29177
  formatOffset(e, t) {
29175
- return Ir(this.offset(e), t);
29178
+ return Lr(this.offset(e), t);
29176
29179
  }
29177
29180
  /**
29178
29181
  * Return the offset in minutes for this zone at the specified timestamp.
@@ -29241,9 +29244,9 @@ function Kw(n, e = {}) {
29241
29244
  let i = ul[r];
29242
29245
  return i || (i = new Intl.RelativeTimeFormat(n, e), ul[r] = i), i;
29243
29246
  }
29244
- let yr = null;
29247
+ let Er = null;
29245
29248
  function Xw() {
29246
- return yr || (yr = new Intl.DateTimeFormat().resolvedOptions().locale, yr);
29249
+ return Er || (Er = new Intl.DateTimeFormat().resolvedOptions().locale, Er);
29247
29250
  }
29248
29251
  let Ud = {};
29249
29252
  function qw(n) {
@@ -29384,7 +29387,7 @@ class Ne {
29384
29387
  return new Ne(a, l, c, u, o);
29385
29388
  }
29386
29389
  static resetCache() {
29387
- yr = null, al = {}, cl = {}, ul = {};
29390
+ Er = null, al = {}, cl = {}, ul = {};
29388
29391
  }
29389
29392
  static fromObject({ locale: e, numberingSystem: t, outputCalendar: s, weekSettings: r } = {}) {
29390
29393
  return Ne.create(e, t, s, r);
@@ -29542,7 +29545,7 @@ class xt extends Kr {
29542
29545
  * @type {string}
29543
29546
  */
29544
29547
  get name() {
29545
- return this.fixed === 0 ? "UTC" : `UTC${Ir(this.fixed, "narrow")}`;
29548
+ return this.fixed === 0 ? "UTC" : `UTC${Lr(this.fixed, "narrow")}`;
29546
29549
  }
29547
29550
  /**
29548
29551
  * The IANA name of this zone, i.e. `Etc/UTC` or `Etc/GMT+/-nn`
@@ -29551,7 +29554,7 @@ class xt extends Kr {
29551
29554
  * @type {string}
29552
29555
  */
29553
29556
  get ianaName() {
29554
- return this.fixed === 0 ? "Etc/UTC" : `Etc/GMT${Ir(-this.fixed, "narrow")}`;
29557
+ return this.fixed === 0 ? "Etc/UTC" : `Etc/GMT${Lr(-this.fixed, "narrow")}`;
29555
29558
  }
29556
29559
  /**
29557
29560
  * Returns the offset's common name at the specified timestamp.
@@ -29571,7 +29574,7 @@ class xt extends Kr {
29571
29574
  * @return {string}
29572
29575
  */
29573
29576
  formatOffset(e, t) {
29574
- return Ir(this.fixed, t);
29577
+ return Lr(this.fixed, t);
29575
29578
  }
29576
29579
  /**
29577
29580
  * Returns whether the offset is known to be fixed for the whole year:
@@ -29904,9 +29907,9 @@ function so(n, e = 4, t = 1) {
29904
29907
  return l < 1 ? (c = s - 1, l = Hr(c, e, t)) : l > Hr(s, e, t) ? (c = s + 1, l = 1) : c = s, { weekYear: c, weekNumber: l, weekday: a, ...Po(n) };
29905
29908
  }
29906
29909
  function qd(n, e = 4, t = 1) {
29907
- const { weekYear: s, weekNumber: r, weekday: i } = n, o = oc(ic(s, 1, e), t), a = Ws(s);
29910
+ const { weekYear: s, weekNumber: r, weekday: i } = n, o = oc(ic(s, 1, e), t), a = Ks(s);
29908
29911
  let l = r * 7 + i - o - 7 + e, c;
29909
- l < 1 ? (c = s - 1, l += Ws(c)) : l > a ? (c = s + 1, l -= Ws(s)) : c = s;
29912
+ l < 1 ? (c = s - 1, l += Ks(c)) : l > a ? (c = s + 1, l -= Ks(s)) : c = s;
29910
29913
  const { month: u, day: d } = N0(c, l);
29911
29914
  return { year: c, month: u, day: d, ...Po(n) };
29912
29915
  }
@@ -29940,7 +29943,7 @@ function aO(n, e = 4, t = 1) {
29940
29943
  return s ? r ? i ? !1 : Vt("weekday", n.weekday) : Vt("week", n.weekNumber) : Vt("weekYear", n.weekYear);
29941
29944
  }
29942
29945
  function lO(n) {
29943
- const e = Lo(n.year), t = Gt(n.ordinal, 1, Ws(n.year));
29946
+ const e = Lo(n.year), t = Gt(n.ordinal, 1, Ks(n.year));
29944
29947
  return e ? t ? !1 : Vt("ordinal", n.ordinal) : Vt("year", n.year);
29945
29948
  }
29946
29949
  function U0(n) {
@@ -29993,7 +29996,7 @@ function Zd(n, e, t) {
29993
29996
  function fO(n, e) {
29994
29997
  return e.reduce((t, s) => (t[s] = n[s], t), {});
29995
29998
  }
29996
- function $s(n, e) {
29999
+ function er(n, e) {
29997
30000
  return Object.prototype.hasOwnProperty.call(n, e);
29998
30001
  }
29999
30002
  function dl(n) {
@@ -30041,7 +30044,7 @@ function lc(n, e, t = !1) {
30041
30044
  function Xr(n) {
30042
30045
  return n % 4 === 0 && (n % 100 !== 0 || n % 400 === 0);
30043
30046
  }
30044
- function Ws(n) {
30047
+ function Ks(n) {
30045
30048
  return Xr(n) ? 366 : 365;
30046
30049
  }
30047
30050
  function ro(n, e) {
@@ -30065,7 +30068,7 @@ function Jd(n, e, t) {
30065
30068
  }
30066
30069
  function Hr(n, e = 4, t = 1) {
30067
30070
  const s = Jd(n, e, t), r = Jd(n + 1, e, t);
30068
- return (Ws(n) - s + r) / 7;
30071
+ return (Ks(n) - s + r) / 7;
30069
30072
  }
30070
30073
  function fl(n) {
30071
30074
  return n > 99 ? n : n > _e.twoDigitCutoffYear ? 1900 + n : 2e3 + n;
@@ -30098,14 +30101,14 @@ function H0(n) {
30098
30101
  function io(n, e) {
30099
30102
  const t = {};
30100
30103
  for (const s in n)
30101
- if ($s(n, s)) {
30104
+ if (er(n, s)) {
30102
30105
  const r = n[s];
30103
30106
  if (r == null) continue;
30104
30107
  t[e(s)] = H0(r);
30105
30108
  }
30106
30109
  return t;
30107
30110
  }
30108
- function Ir(n, e) {
30111
+ function Lr(n, e) {
30109
30112
  const t = Math.trunc(Math.abs(n / 60)), s = Math.trunc(Math.abs(n % 60)), r = n >= 0 ? "+" : "-";
30110
30113
  switch (e) {
30111
30114
  case "short":
@@ -30477,11 +30480,11 @@ class vt {
30477
30480
  }
30478
30481
  }
30479
30482
  const Z0 = /[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;
30480
- function rr(...n) {
30483
+ function ir(...n) {
30481
30484
  const e = n.reduce((t, s) => t + s.source, "");
30482
30485
  return RegExp(`^${e}$`);
30483
30486
  }
30484
- function ir(...n) {
30487
+ function or(...n) {
30485
30488
  return (e) => n.reduce(
30486
30489
  ([t, s, r], i) => {
30487
30490
  const [o, a, l] = i(e, r);
@@ -30490,7 +30493,7 @@ function ir(...n) {
30490
30493
  [{}, null, 1]
30491
30494
  ).slice(0, 2);
30492
30495
  }
30493
- function or(n, ...e) {
30496
+ function ar(n, ...e) {
30494
30497
  if (n == null)
30495
30498
  return [null, null];
30496
30499
  for (const [t, s] of e) {
@@ -30512,22 +30515,22 @@ function J0(...n) {
30512
30515
  const _0 = /(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/, bO = `(?:${_0.source}?(?:\\[(${Z0.source})\\])?)?`, cc = /(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/, $0 = RegExp(`${cc.source}${bO}`), uc = RegExp(`(?:T${$0.source})?`), IO = /([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/, LO = /(\d{4})-?W(\d\d)(?:-?(\d))?/, wO = /(\d{4})-?(\d{3})/, OO = J0("weekYear", "weekNumber", "weekDay"), PO = J0("year", "ordinal"), FO = /(\d{4})-(\d\d)-(\d\d)/, eg = RegExp(
30513
30516
  `${cc.source} ?(?:${_0.source}|(${Z0.source}))?`
30514
30517
  ), kO = RegExp(`(?: ${eg.source})?`);
30515
- function Ks(n, e, t) {
30518
+ function Xs(n, e, t) {
30516
30519
  const s = n[e];
30517
30520
  return de(s) ? t : Bn(s);
30518
30521
  }
30519
30522
  function MO(n, e) {
30520
30523
  return [{
30521
- year: Ks(n, e),
30522
- month: Ks(n, e + 1, 1),
30523
- day: Ks(n, e + 2, 1)
30524
+ year: Xs(n, e),
30525
+ month: Xs(n, e + 1, 1),
30526
+ day: Xs(n, e + 2, 1)
30524
30527
  }, null, e + 3];
30525
30528
  }
30526
- function ar(n, e) {
30529
+ function lr(n, e) {
30527
30530
  return [{
30528
- hours: Ks(n, e, 0),
30529
- minutes: Ks(n, e + 1, 0),
30530
- seconds: Ks(n, e + 2, 0),
30531
+ hours: Xs(n, e, 0),
30532
+ minutes: Xs(n, e + 1, 0),
30533
+ seconds: Xs(n, e + 2, 0),
30531
30534
  milliseconds: ac(n[e + 3])
30532
30535
  }, null, e + 4];
30533
30536
  }
@@ -30607,28 +30610,28 @@ function KO(n) {
30607
30610
  const [, e, t, s, r, i, o, a] = n;
30608
30611
  return [dc(e, a, t, s, r, i, o), xt.utcInstance];
30609
30612
  }
30610
- const XO = rr(IO, uc), qO = rr(LO, uc), YO = rr(wO, uc), QO = rr($0), tg = ir(
30613
+ const XO = ir(IO, uc), qO = ir(LO, uc), YO = ir(wO, uc), QO = ir($0), tg = or(
30611
30614
  MO,
30612
- ar,
30615
+ lr,
30613
30616
  qr,
30614
30617
  Yr
30615
- ), ZO = ir(
30618
+ ), ZO = or(
30616
30619
  OO,
30617
- ar,
30620
+ lr,
30618
30621
  qr,
30619
30622
  Yr
30620
- ), JO = ir(
30623
+ ), JO = or(
30621
30624
  PO,
30622
- ar,
30625
+ lr,
30623
30626
  qr,
30624
30627
  Yr
30625
- ), _O = ir(
30626
- ar,
30628
+ ), _O = or(
30629
+ lr,
30627
30630
  qr,
30628
30631
  Yr
30629
30632
  );
30630
30633
  function $O(n) {
30631
- return or(
30634
+ return ar(
30632
30635
  n,
30633
30636
  [XO, tg],
30634
30637
  [qO, ZO],
@@ -30637,10 +30640,10 @@ function $O(n) {
30637
30640
  );
30638
30641
  }
30639
30642
  function e3(n) {
30640
- return or(BO(n), [VO, GO]);
30643
+ return ar(BO(n), [VO, GO]);
30641
30644
  }
30642
30645
  function t3(n) {
30643
- return or(
30646
+ return ar(
30644
30647
  n,
30645
30648
  [HO, $d],
30646
30649
  [jO, $d],
@@ -30648,19 +30651,19 @@ function t3(n) {
30648
30651
  );
30649
30652
  }
30650
30653
  function n3(n) {
30651
- return or(n, [NO, UO]);
30654
+ return ar(n, [NO, UO]);
30652
30655
  }
30653
- const s3 = ir(ar);
30656
+ const s3 = or(lr);
30654
30657
  function r3(n) {
30655
- return or(n, [DO, s3]);
30658
+ return ar(n, [DO, s3]);
30656
30659
  }
30657
- const i3 = rr(FO, kO), o3 = rr(eg), a3 = ir(
30658
- ar,
30660
+ const i3 = ir(FO, kO), o3 = ir(eg), a3 = or(
30661
+ lr,
30659
30662
  qr,
30660
30663
  Yr
30661
30664
  );
30662
30665
  function l3(n) {
30663
- return or(
30666
+ return ar(
30664
30667
  n,
30665
30668
  [i3, tg],
30666
30669
  [o3, a3]
@@ -31115,7 +31118,7 @@ class Pe {
31115
31118
  if (!this.isValid) return this;
31116
31119
  const t = Pe.fromDurationLike(e), s = {};
31117
31120
  for (const r of cs)
31118
- ($s(t.values, r) || $s(this.values, r)) && (s[r] = t.get(r) + this.get(r));
31121
+ (er(t.values, r) || er(this.values, r)) && (s[r] = t.get(r) + this.get(r));
31119
31122
  return Un(this, { values: s }, !0);
31120
31123
  }
31121
31124
  /**
@@ -31408,7 +31411,7 @@ class Je {
31408
31411
  * @return {Interval}
31409
31412
  */
31410
31413
  static fromDateTimes(e, t) {
31411
- const s = pr(e), r = pr(t), i = h3(s, r);
31414
+ const s = vr(e), r = vr(t), i = h3(s, r);
31412
31415
  return i ?? new Je({
31413
31416
  start: s,
31414
31417
  end: r
@@ -31421,7 +31424,7 @@ class Je {
31421
31424
  * @return {Interval}
31422
31425
  */
31423
31426
  static after(e, t) {
31424
- const s = Pe.fromDurationLike(t), r = pr(e);
31427
+ const s = Pe.fromDurationLike(t), r = vr(e);
31425
31428
  return Je.fromDateTimes(r, r.plus(s));
31426
31429
  }
31427
31430
  /**
@@ -31431,7 +31434,7 @@ class Je {
31431
31434
  * @return {Interval}
31432
31435
  */
31433
31436
  static before(e, t) {
31434
- const s = Pe.fromDurationLike(t), r = pr(e);
31437
+ const s = Pe.fromDurationLike(t), r = vr(e);
31435
31438
  return Je.fromDateTimes(r.minus(s), r);
31436
31439
  }
31437
31440
  /**
@@ -31593,7 +31596,7 @@ class Je {
31593
31596
  */
31594
31597
  splitAt(...e) {
31595
31598
  if (!this.isValid) return [];
31596
- const t = e.map(pr).filter((o) => this.contains(o)).sort((o, a) => o.toMillis() - a.toMillis()), s = [];
31599
+ const t = e.map(vr).filter((o) => this.contains(o)).sort((o, a) => o.toMillis() - a.toMillis()), s = [];
31597
31600
  let { s: r } = this, i = 0;
31598
31601
  for (; r < this.e; ) {
31599
31602
  const o = t[i] || this.e, a = +o > +this.e ? this.e : o;
@@ -32239,7 +32242,7 @@ function T3(n, e, t) {
32239
32242
  const r = {};
32240
32243
  let i = 1;
32241
32244
  for (const o in t)
32242
- if ($s(t, o)) {
32245
+ if (er(t, o)) {
32243
32246
  const a = t[o], l = a.groups ? a.groups + 1 : 1;
32244
32247
  !a.literal && a.token && (r[a.token.val[0]] = a.deser(s.slice(i, i + l))), i += l;
32245
32248
  }
@@ -32310,7 +32313,7 @@ class ag {
32310
32313
  explainFromTokens(e) {
32311
32314
  if (this.isValid) {
32312
32315
  const [t, s] = T3(e, this.regex, this.handlers), [r, i, o] = s ? C3(s) : [null, null, void 0];
32313
- if ($s(s, "a") && $s(s, "H"))
32316
+ if (er(s, "a") && er(s, "H"))
32314
32317
  throw new Vs(
32315
32318
  "Can't include meridiem when specifying 24-hour format"
32316
32319
  );
@@ -32348,7 +32351,7 @@ function cg(n, e) {
32348
32351
  return r.map((o) => R3(o, n, i));
32349
32352
  }
32350
32353
  const ya = "Invalid DateTime", of = 864e13;
32351
- function Er(n) {
32354
+ function Ar(n) {
32352
32355
  return new Jt("unsupported zone", `the zone "${n.name}" is not supported`);
32353
32356
  }
32354
32357
  function Ea(n) {
@@ -32526,7 +32529,7 @@ function M3(n) {
32526
32529
  function uf(n, e) {
32527
32530
  const t = Hn(e.zone, _e.defaultZone);
32528
32531
  if (!t.isValid)
32529
- return se.invalid(Er(t));
32532
+ return se.invalid(Ar(t));
32530
32533
  const s = Ne.fromObject(e);
32531
32534
  let r, i;
32532
32535
  if (de(n.year))
@@ -32564,7 +32567,7 @@ class se {
32564
32567
  */
32565
32568
  constructor(e) {
32566
32569
  const t = e.zone || _e.defaultZone;
32567
- let s = e.invalid || (Number.isNaN(e.ts) ? new Jt("invalid input") : null) || (t.isValid ? null : Er(t));
32570
+ let s = e.invalid || (Number.isNaN(e.ts) ? new Jt("invalid input") : null) || (t.isValid ? null : Ar(t));
32568
32571
  this.ts = de(e.ts) ? _e.now() : e.ts;
32569
32572
  let r = null, i = null;
32570
32573
  if (!s)
@@ -32657,7 +32660,7 @@ class se {
32657
32660
  ts: s,
32658
32661
  zone: r,
32659
32662
  loc: Ne.fromObject(t)
32660
- }) : se.invalid(Er(r));
32663
+ }) : se.invalid(Ar(r));
32661
32664
  }
32662
32665
  /**
32663
32666
  * Create a DateTime from a number of milliseconds since the epoch (meaning since 1 January 1970 00:00:00 UTC). Uses the default zone.
@@ -32738,7 +32741,7 @@ class se {
32738
32741
  e = e || {};
32739
32742
  const s = Hn(t.zone, _e.defaultZone);
32740
32743
  if (!s.isValid)
32741
- return se.invalid(Er(s));
32744
+ return se.invalid(Ar(s));
32742
32745
  const r = Ne.fromObject(t), i = io(e, cf), { minDaysInFirstWeek: o, startOfWeek: a } = Qd(i, r), l = _e.now(), c = de(t.specificOffset) ? s.offset(l) : t.specificOffset, u = !de(i.ordinal), d = !de(i.year), f = !de(i.month) || !de(i.day), h = d || f, m = i.weekYear || i.weekNumber;
32743
32746
  if ((h || u) && m)
32744
32747
  throw new Vs(
@@ -33255,7 +33258,7 @@ class se {
33255
33258
  * @type {number}
33256
33259
  */
33257
33260
  get daysInYear() {
33258
- return this.isValid ? Ws(this.year) : NaN;
33261
+ return this.isValid ? Ks(this.year) : NaN;
33259
33262
  }
33260
33263
  /**
33261
33264
  * Returns the number of weeks in this DateTime's year
@@ -33334,7 +33337,7 @@ class se {
33334
33337
  }
33335
33338
  return rs(this, { ts: r, zone: e });
33336
33339
  } else
33337
- return se.invalid(Er(e));
33340
+ return se.invalid(Ar(e));
33338
33341
  }
33339
33342
  /**
33340
33343
  * "Set" the locale, numberingSystem, or outputCalendar. Returns a newly-constructed DateTime.
@@ -34109,7 +34112,7 @@ class se {
34109
34112
  return F0;
34110
34113
  }
34111
34114
  }
34112
- function pr(n) {
34115
+ function vr(n) {
34113
34116
  if (se.isDateTime(n))
34114
34117
  return n;
34115
34118
  if (n && n.valueOf && Xn(n.valueOf()))