@evercam/ui 0.0.55-beta.26 → 0.0.55-beta.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -1,8 +1,8 @@
1
- import ve from "vue";
1
+ import Ee from "vue";
2
2
  import * as I from "d3";
3
3
  import He from "moment-timezone";
4
4
  var Y = /* @__PURE__ */ ((s) => (s.dot = "dot", s.xs = "xs", s.sm = "sm", s.md = "base", s.base = "base", s.lg = "lg", s.xl = "xl", s["2xl"] = "2xl", s["3xl"] = "3xl", s["4xl"] = "4xl", s["5xl"] = "5xl", s["6xl"] = "6xl", s["7xl"] = "7xl", s["8xl"] = "8xl", s["9xl"] = "9xl", s))(Y || {}), ge = /* @__PURE__ */ ((s) => (s.warning = "warning", s.error = "error", s.info = "info", s.success = "success", s.primary = "primary", s.brand = "brand", s.default = "default", s))(ge || {}), kt = /* @__PURE__ */ ((s) => (s.overview = "overview", s.detailed = "detailed", s.detailedBackground = "detailedBackground", s))(kt || {}), Re = /* @__PURE__ */ ((s) => (s.bars = "bars", s.dots = "dots", s.lineGraph = "lineGraph", s.barChart = "barGraph", s.milestones = "milestones", s))(Re || {}), Pt = /* @__PURE__ */ ((s) => (s.zoom = "zoom", s.autoPan = "autoPan", s.initial = "initial", s))(Pt || {});
5
- const va = ve.extend({
5
+ const pa = Ee.extend({
6
6
  name: "EBadge",
7
7
  props: {
8
8
  text: {
@@ -52,7 +52,7 @@ const va = ve.extend({
52
52
  }
53
53
  }
54
54
  });
55
- function Ee(s, e, t, i, r, n, a, o) {
55
+ function Te(s, e, t, i, r, n, a, o) {
56
56
  var l = typeof s == "function" ? s.options : s;
57
57
  e && (l.render = e, l.staticRenderFns = t, l._compiled = !0), i && (l.functional = !0), n && (l._scopeId = "data-v-" + n);
58
58
  var c;
@@ -81,23 +81,23 @@ function Ee(s, e, t, i, r, n, a, o) {
81
81
  options: l
82
82
  };
83
83
  }
84
- var xa = function() {
84
+ var ya = function() {
85
85
  var e = this, t = e._self._c;
86
86
  return t("span", { staticClass: "e-badge", class: e.badgeClasses }, [e.showText ? t("span", [e._v(e._s(e.text))]) : e._e()]);
87
- }, Ta = [], Ea = /* @__PURE__ */ Ee(
87
+ }, va = [], xa = /* @__PURE__ */ Te(
88
+ pa,
89
+ ya,
88
90
  va,
89
- xa,
90
- Ta,
91
91
  !1,
92
92
  null,
93
93
  null,
94
94
  null,
95
95
  null
96
96
  );
97
- const Nr = Ea.exports, Sa = ve.extend({
97
+ const Mr = xa.exports, Ta = Ee.extend({
98
98
  name: "EAvatar",
99
99
  components: {
100
- Badge: Nr
100
+ Badge: Mr
101
101
  },
102
102
  props: {
103
103
  size: {
@@ -146,28 +146,28 @@ const Nr = Ea.exports, Sa = ve.extend({
146
146
  }
147
147
  }
148
148
  });
149
- var ba = function() {
149
+ var Ea = function() {
150
150
  var e = this, t = e._self._c;
151
151
  return t("div", { staticClass: "e-avatar e-relative", class: e.avatarClasses }, [e._t("default", function() {
152
152
  return [e.image ? t("img", { staticClass: "e-avatar__image e-w-full e-h-full e-object-cover e-rounded-full", attrs: { src: e.image } }) : e._e()];
153
153
  }), e.showBadge ? t("div", { staticClass: "e-avatar__badge e-absolute e-top-0 e-right-0" }, [e._t("badge", function() {
154
154
  return [t("Badge", { attrs: { text: e.badgeText, color: e.badgeColor, size: e.badgeSize } })];
155
155
  })], 2) : e._e()], 2);
156
- }, Aa = [], La = /* @__PURE__ */ Ee(
156
+ }, Sa = [], ba = /* @__PURE__ */ Te(
157
+ Ta,
158
+ Ea,
157
159
  Sa,
158
- ba,
159
- Aa,
160
160
  !1,
161
161
  null,
162
162
  null,
163
163
  null,
164
164
  null
165
165
  );
166
- const Ra = La.exports;
167
- function Ca(s) {
166
+ const Aa = ba.exports;
167
+ function La(s) {
168
168
  return s && s.__esModule && Object.prototype.hasOwnProperty.call(s, "default") ? s.default : s;
169
169
  }
170
- var Br = {}, $r = {}, ji = {};
170
+ var Nr = {}, Br = {}, ji = {};
171
171
  (function(s) {
172
172
  Object.defineProperty(s, "__esModule", {
173
173
  value: !0
@@ -194,7 +194,7 @@ var Br = {}, $r = {}, ji = {};
194
194
  return `calc(${t} * -1)`;
195
195
  }
196
196
  })(ji);
197
- var Ur = {};
197
+ var $r = {};
198
198
  (function(s) {
199
199
  Object.defineProperty(s, "__esModule", {
200
200
  value: !0
@@ -381,8 +381,8 @@ var Ur = {};
381
381
  "willChange",
382
382
  "content"
383
383
  ];
384
- })(Ur);
385
- var Gr = {};
384
+ })($r);
385
+ var Ur = {};
386
386
  (function(s) {
387
387
  Object.defineProperty(s, "__esModule", {
388
388
  value: !0
@@ -397,13 +397,13 @@ var Gr = {};
397
397
  ...new Set(i.filter((n) => t !== !1 && t[n] !== !1).concat(Object.keys(t).filter((n) => t[n] !== !1)))
398
398
  ];
399
399
  }
400
- })(Gr);
401
- var qi = {}, Qt = {}, Xi = { exports: {} }, se = String, Hr = function() {
400
+ })(Ur);
401
+ var qi = {}, Qt = {}, Xi = { exports: {} }, se = String, Gr = function() {
402
402
  return { isColorSupported: !1, reset: se, bold: se, dim: se, italic: se, underline: se, inverse: se, hidden: se, strikethrough: se, black: se, red: se, green: se, yellow: se, blue: se, magenta: se, cyan: se, white: se, gray: se, bgBlack: se, bgRed: se, bgGreen: se, bgYellow: se, bgBlue: se, bgMagenta: se, bgCyan: se, bgWhite: se };
403
403
  };
404
- Xi.exports = Hr();
405
- Xi.exports.createColors = Hr;
406
- var Vr = Xi.exports;
404
+ Xi.exports = Gr();
405
+ Xi.exports.createColors = Gr;
406
+ var Hr = Xi.exports;
407
407
  (function(s) {
408
408
  Object.defineProperty(s, "__esModule", {
409
409
  value: !0
@@ -423,7 +423,7 @@ var Vr = Xi.exports;
423
423
  return o;
424
424
  }
425
425
  });
426
- const t = /* @__PURE__ */ i(Vr);
426
+ const t = /* @__PURE__ */ i(Hr);
427
427
  function i(l) {
428
428
  return l && l.__esModule ? l : {
429
429
  default: l
@@ -813,7 +813,7 @@ var Vr = Xi.exports;
813
813
  }
814
814
  };
815
815
  })(qi);
816
- var Kr = {};
816
+ var Vr = {};
817
817
  (function(s) {
818
818
  Object.defineProperty(s, "__esModule", {
819
819
  value: !0
@@ -836,8 +836,8 @@ var Kr = {};
836
836
  }
837
837
  return t;
838
838
  }
839
- })(Kr);
840
- var Wr = {};
839
+ })(Vr);
840
+ var Kr = {};
841
841
  (function(s) {
842
842
  Object.defineProperty(s, "__esModule", {
843
843
  value: !0
@@ -855,8 +855,8 @@ var Wr = {};
855
855
  throw new Error(`Path is invalid. Has unbalanced brackets: ${t}`);
856
856
  return t.split(/\.(?![^\[]*\])|[\[\]]/g).filter(Boolean);
857
857
  }
858
- })(Wr);
859
- var zr = {}, Jt = {};
858
+ })(Kr);
859
+ var Wr = {}, Jt = {};
860
860
  (function(s) {
861
861
  Object.defineProperty(s, "__esModule", {
862
862
  value: !0
@@ -879,7 +879,7 @@ var zr = {}, Jt = {};
879
879
  return u;
880
880
  }
881
881
  });
882
- const t = /* @__PURE__ */ r(Vr), i = /* @__PURE__ */ r(Qt);
882
+ const t = /* @__PURE__ */ r(Hr), i = /* @__PURE__ */ r(Qt);
883
883
  function r(h) {
884
884
  return h && h.__esModule ? h : {
885
885
  default: h
@@ -1082,8 +1082,8 @@ var zr = {}, Jt = {};
1082
1082
  }
1083
1083
  return a;
1084
1084
  }
1085
- })(zr);
1086
- var Yr = {};
1085
+ })(Wr);
1086
+ var zr = {};
1087
1087
  (function(s) {
1088
1088
  Object.defineProperty(s, "__esModule", {
1089
1089
  value: !0
@@ -1099,8 +1099,8 @@ var Yr = {};
1099
1099
  const i = Object.getPrototypeOf(t);
1100
1100
  return i === null || i === Object.prototype;
1101
1101
  }
1102
- })(Yr);
1103
- var jr = {};
1102
+ })(zr);
1103
+ var Yr = {};
1104
1104
  (function(s) {
1105
1105
  Object.defineProperty(s, "__esModule", {
1106
1106
  value: !0
@@ -1116,8 +1116,8 @@ var jr = {};
1116
1116
  e(r)
1117
1117
  ])) : t;
1118
1118
  }
1119
- })(jr);
1120
- var qr = {}, Xr = {};
1119
+ })(Yr);
1120
+ var jr = {}, qr = {};
1121
1121
  (function(s) {
1122
1122
  Object.defineProperty(s, "__esModule", {
1123
1123
  value: !0
@@ -1130,8 +1130,8 @@ var qr = {}, Xr = {};
1130
1130
  function e(t) {
1131
1131
  return t.replace(/\\,/g, "\\2c ");
1132
1132
  }
1133
- })(Xr);
1134
- var Zi = {}, Qi = {}, Zr = {};
1133
+ })(qr);
1134
+ var Zi = {}, Qi = {}, Xr = {};
1135
1135
  (function(s) {
1136
1136
  Object.defineProperty(s, "__esModule", {
1137
1137
  value: !0
@@ -1883,7 +1883,7 @@ var Zi = {}, Qi = {}, Zr = {};
1883
1883
  50
1884
1884
  ]
1885
1885
  };
1886
- })(Zr);
1886
+ })(Xr);
1887
1887
  (function(s) {
1888
1888
  Object.defineProperty(s, "__esModule", {
1889
1889
  value: !0
@@ -1903,7 +1903,7 @@ var Zi = {}, Qi = {}, Zr = {};
1903
1903
  return f;
1904
1904
  }
1905
1905
  });
1906
- const t = /* @__PURE__ */ i(Zr);
1906
+ const t = /* @__PURE__ */ i(Xr);
1907
1907
  function i(m) {
1908
1908
  return m && m.__esModule ? m : {
1909
1909
  default: m
@@ -2040,7 +2040,7 @@ var Zi = {}, Qi = {}, Zr = {};
2040
2040
  };
2041
2041
  }
2042
2042
  })(Zi);
2043
- var Ji = {}, Qr = {}, ei = {};
2043
+ var Ji = {}, Zr = {}, ei = {};
2044
2044
  (function(s) {
2045
2045
  Object.defineProperty(s, "__esModule", {
2046
2046
  value: !0
@@ -2106,7 +2106,7 @@ var Ji = {}, Qr = {}, ei = {};
2106
2106
  c.color
2107
2107
  ].filter(Boolean).join(" ") : c.raw).join(", ");
2108
2108
  }
2109
- })(Qr);
2109
+ })(Zr);
2110
2110
  (function(s) {
2111
2111
  Object.defineProperty(s, "__esModule", {
2112
2112
  value: !0
@@ -2165,7 +2165,7 @@ var Ji = {}, Qr = {}, ei = {};
2165
2165
  return U;
2166
2166
  }
2167
2167
  });
2168
- const t = Qi, i = Qr, r = ei;
2168
+ const t = Qi, i = Zr, r = ei;
2169
2169
  let n = [
2170
2170
  "min",
2171
2171
  "max",
@@ -2329,7 +2329,7 @@ var Ji = {}, Qr = {}, ei = {};
2329
2329
  return O.has(F);
2330
2330
  }
2331
2331
  })(Ji);
2332
- var Jr = {};
2332
+ var Qr = {};
2333
2333
  (function(s) {
2334
2334
  Object.defineProperty(s, "__esModule", {
2335
2335
  value: !0
@@ -2350,7 +2350,7 @@ var Jr = {};
2350
2350
  return o.length === 1 && n.includes(o[0]) ? !0 : o.length !== 1 && o.length !== 2 ? !1 : o.every((l) => (0, e.length)(l) || (0, e.percentage)(l) || l === "auto");
2351
2351
  });
2352
2352
  }
2353
- })(Jr);
2353
+ })(Qr);
2354
2354
  (function(s) {
2355
2355
  Object.defineProperty(s, "__esModule", {
2356
2356
  value: !0
@@ -2388,7 +2388,7 @@ var Jr = {};
2388
2388
  return B;
2389
2389
  }
2390
2390
  });
2391
- const t = /* @__PURE__ */ l(Xr), i = Zi, r = Ji, n = /* @__PURE__ */ l(ji), a = Jr, o = Jt;
2391
+ const t = /* @__PURE__ */ l(qr), i = Zi, r = Ji, n = /* @__PURE__ */ l(ji), a = Qr, o = Jt;
2392
2392
  function l(C) {
2393
2393
  return C && C.__esModule ? C : {
2394
2394
  default: C
@@ -2548,8 +2548,8 @@ var Jr = {};
2548
2548
  ]);
2549
2549
  }
2550
2550
  }
2551
- })(qr);
2552
- var en = {};
2551
+ })(jr);
2552
+ var Jr = {};
2553
2553
  (function(s) {
2554
2554
  Object.defineProperty(s, "__esModule", {
2555
2555
  value: !0
@@ -2562,7 +2562,7 @@ var en = {};
2562
2562
  function e(t) {
2563
2563
  return typeof t == "function" ? t({}) : t;
2564
2564
  }
2565
- })(en);
2565
+ })(Jr);
2566
2566
  (function(s) {
2567
2567
  Object.defineProperty(s, "__esModule", {
2568
2568
  value: !0
@@ -2572,7 +2572,7 @@ var en = {};
2572
2572
  return _;
2573
2573
  }
2574
2574
  });
2575
- const e = /* @__PURE__ */ f(ji), t = /* @__PURE__ */ f(Ur), i = /* @__PURE__ */ f(Gr), r = /* @__PURE__ */ f(qi), n = Kr, a = Wr, o = zr, l = /* @__PURE__ */ f(Yr), c = jr, u = qr, h = Zi, d = /* @__PURE__ */ f(en);
2575
+ const e = /* @__PURE__ */ f(ji), t = /* @__PURE__ */ f($r), i = /* @__PURE__ */ f(Ur), r = /* @__PURE__ */ f(qi), n = Vr, a = Kr, o = Wr, l = /* @__PURE__ */ f(zr), c = Yr, u = jr, h = Zi, d = /* @__PURE__ */ f(Jr);
2576
2576
  function f(P) {
2577
2577
  return P && P.__esModule ? P : {
2578
2578
  default: P
@@ -2727,8 +2727,8 @@ var en = {};
2727
2727
  plugins: b(P.map((U) => (O = U == null ? void 0 : U.plugins) !== null && O !== void 0 ? O : []))
2728
2728
  }, ...w));
2729
2729
  }
2730
- })($r);
2731
- var tn = {}, _a = {
2730
+ })(Br);
2731
+ var en = {}, Ra = {
2732
2732
  content: [],
2733
2733
  presets: [],
2734
2734
  darkMode: "media",
@@ -3728,7 +3728,7 @@ var tn = {}, _a = {
3728
3728
  return r;
3729
3729
  }
3730
3730
  });
3731
- const e = /* @__PURE__ */ i(_a), t = Jt;
3731
+ const e = /* @__PURE__ */ i(Ra), t = Jt;
3732
3732
  function i(n) {
3733
3733
  return n && n.__esModule ? n : {
3734
3734
  default: n
@@ -3765,7 +3765,7 @@ var tn = {}, _a = {
3765
3765
  ...o
3766
3766
  ];
3767
3767
  }
3768
- })(tn);
3768
+ })(en);
3769
3769
  (function(s) {
3770
3770
  Object.defineProperty(s, "__esModule", {
3771
3771
  value: !0
@@ -3775,7 +3775,7 @@ var tn = {}, _a = {
3775
3775
  return r;
3776
3776
  }
3777
3777
  });
3778
- const e = /* @__PURE__ */ i($r), t = /* @__PURE__ */ i(tn);
3778
+ const e = /* @__PURE__ */ i(Br), t = /* @__PURE__ */ i(en);
3779
3779
  function i(n) {
3780
3780
  return n && n.__esModule ? n : {
3781
3781
  default: n
@@ -3788,13 +3788,13 @@ var tn = {}, _a = {
3788
3788
  ...a
3789
3789
  ]);
3790
3790
  }
3791
- })(Br);
3792
- let ri = Br;
3793
- var Da = (ri.__esModule ? ri : { default: ri }).default;
3794
- const Ia = /* @__PURE__ */ Ca(Da);
3791
+ })(Nr);
3792
+ let ri = Nr;
3793
+ var Ca = (ri.__esModule ? ri : { default: ri }).default;
3794
+ const _a = /* @__PURE__ */ La(Ca);
3795
3795
  let ni = qi;
3796
3796
  var ke = (ni.__esModule ? ni : { default: ni }).default;
3797
- const wa = {
3797
+ const Da = {
3798
3798
  50: "#FCE3E4",
3799
3799
  100: "#F9CDCE",
3800
3800
  200: "#F39699",
@@ -3812,8 +3812,8 @@ const wa = {
3812
3812
  info: ke.cyan,
3813
3813
  success: ke.lime,
3814
3814
  primary: ke.sky,
3815
- brand: wa
3816
- }, ka = {
3815
+ brand: Da
3816
+ }, Ia = {
3817
3817
  ...pe,
3818
3818
  // Warning
3819
3819
  warning: pe.warning[500],
@@ -3840,7 +3840,7 @@ const wa = {
3840
3840
  onbackground: ke.slate[700],
3841
3841
  surface: ke.slate[50],
3842
3842
  background: ke.white
3843
- }, Pa = {
3843
+ }, wa = {
3844
3844
  prefix: "e-",
3845
3845
  corePlugins: {
3846
3846
  preflight: !1
@@ -3848,7 +3848,7 @@ const wa = {
3848
3848
  content: ["./src/**/*.{html,js,vue,ts}"],
3849
3849
  theme: {
3850
3850
  extend: {
3851
- colors: ka,
3851
+ colors: Ia,
3852
3852
  maxWidth: {
3853
3853
  "1/12": "8.333333333%",
3854
3854
  "2/12": "16.666666666%",
@@ -3916,21 +3916,21 @@ const wa = {
3916
3916
  pattern: /e-content-(around|baseline|between|center|end|evenly|normal|start|stretch)/
3917
3917
  }
3918
3918
  ]
3919
- }, sn = Ia(Pa), Oa = sn.theme.fontSize, Fa = sn.theme.colors, ld = [
3919
+ }, tn = _a(wa), ka = tn.theme.fontSize, Pa = tn.theme.colors, cd = [
3920
3920
  Y.dot,
3921
3921
  Y.xs,
3922
3922
  Y.sm,
3923
3923
  Y.md,
3924
3924
  Y.lg,
3925
3925
  Y.xl
3926
- ], cd = [
3926
+ ], ud = [
3927
3927
  Y.xs,
3928
3928
  Y.sm,
3929
3929
  Y.md,
3930
3930
  Y.lg,
3931
3931
  Y.xl,
3932
3932
  Y["2xl"]
3933
- ], Ma = [
3933
+ ], Oa = [
3934
3934
  Y.xs,
3935
3935
  Y.sm,
3936
3936
  Y.md,
@@ -3945,14 +3945,14 @@ const wa = {
3945
3945
  Y["7xl"],
3946
3946
  Y["8xl"],
3947
3947
  Y["9xl"]
3948
- ], ud = [
3948
+ ], hd = [
3949
3949
  ge.warning,
3950
3950
  ge.error,
3951
3951
  ge.info,
3952
3952
  ge.success,
3953
3953
  ge.primary,
3954
3954
  ge.default
3955
- ], hd = [
3955
+ ], dd = [
3956
3956
  "play",
3957
3957
  "pause",
3958
3958
  "ended",
@@ -3963,7 +3963,7 @@ const wa = {
3963
3963
  "canplay",
3964
3964
  "canplaythrough",
3965
3965
  "statechanged"
3966
- ], Na = ve.extend({
3966
+ ], Fa = Ee.extend({
3967
3967
  name: "EIcon",
3968
3968
  props: {
3969
3969
  icon: {
@@ -3981,7 +3981,7 @@ const wa = {
3981
3981
  },
3982
3982
  computed: {
3983
3983
  sizes() {
3984
- return Ma.reduce((s, e) => ({
3984
+ return Oa.reduce((s, e) => ({
3985
3985
  ...s,
3986
3986
  [e]: `e-text-${e}`
3987
3987
  }), {});
@@ -3998,20 +3998,20 @@ const wa = {
3998
3998
  }
3999
3999
  }
4000
4000
  });
4001
- var Ba = function() {
4001
+ var Ma = function() {
4002
4002
  var e = this, t = e._self._c;
4003
4003
  return t("div", { staticClass: "e-icon" }, [t("i", { class: e.iconClasses })]);
4004
- }, $a = [], Ua = /* @__PURE__ */ Ee(
4004
+ }, Na = [], Ba = /* @__PURE__ */ Te(
4005
+ Fa,
4006
+ Ma,
4005
4007
  Na,
4006
- Ba,
4007
- $a,
4008
4008
  !1,
4009
4009
  null,
4010
4010
  null,
4011
4011
  null,
4012
4012
  null
4013
4013
  );
4014
- const Ga = Ua.exports, Ha = ve.extend({
4014
+ const sn = Ba.exports, $a = Ee.extend({
4015
4015
  name: "ESpinner",
4016
4016
  props: {
4017
4017
  dark: {
@@ -4037,8 +4037,8 @@ const Ga = Ua.exports, Ha = ve.extend({
4037
4037
  },
4038
4038
  data() {
4039
4039
  return {
4040
- sizes: Oa,
4041
- colors: Fa
4040
+ sizes: ka,
4041
+ colors: Pa
4042
4042
  };
4043
4043
  },
4044
4044
  computed: {
@@ -4073,23 +4073,23 @@ const Ga = Ua.exports, Ha = ve.extend({
4073
4073
  }
4074
4074
  }
4075
4075
  });
4076
- var Va = function() {
4076
+ var Ua = function() {
4077
4077
  var e = this, t = e._self._c;
4078
4078
  return t("svg", { staticClass: "e-spinner e-block", class: {
4079
4079
  "e-spinner--dark": e.dark,
4080
4080
  "e-spinner--grey": !e.color
4081
4081
  }, style: { opacity: e.opacity }, attrs: { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 1629.32 1608.86", width: e.computedSize, height: e.computedSize } }, [t("path", { staticClass: "e-spinner__primary", style: e.getNthPathStyle(0), attrs: { d: "m1254.12,591.61C992.01,401.11,439.78,0,439.78,0h601.2c14.3,0,48.95,9.02,62.54,38.01,55.27,117.88,111.32,235.46,170.48,351.43,33.16,70.9-8.99,170.35-19.87,202.16" } }), t("path", { staticClass: "e-spinner__secondary", style: e.getNthPathStyle(1), attrs: { d: "m1404.65,131.67c-29.37,89.94-55.8,170.95-82.25,251.93-4.05.87-8.1,1.73-12.15,2.61-40.61-83.95-81.21-167.9-123.12-254.54h217.51Z" } }), t("path", { staticClass: "e-spinner__primary", style: e.getNthPathStyle(2), attrs: { d: "m1129.06,1093.51c100.75-307.98,312.75-956.75,312.75-956.75,0,0,180.36,558.53,184.75,572.14,4.39,13.59,6.45,49.34-16.96,71.19-95.21,88.81-189.88,178.28-282.06,270.2-57.29,53.34-164.86,43.8-198.48,43.21" } }), t("path", { staticClass: "e-spinner__secondary", style: e.getNthPathStyle(3), attrs: { d: "m1342.3,1083.06c66.6-63.43,133.22-126.86,207.93-197.98,21.51,73.55,40.3,137.81,60.64,207.37h-263.35c-1.75-3.13-3.48-6.27-5.22-9.39" } }), t("path", { staticClass: "e-spinner__primary", style: e.getNthPathStyle(4), attrs: { d: "m610.27,1137.17c324.03-.53,1006.55-1.85,1006.55-1.85,0,0-474.19,345.83-485.74,354.25-11.55,8.42-44.87,21.56-72.94,6.14-114.11-62.68-228.69-124.66-344.81-183.5-68.56-37.76-93.12-142.93-103.06-175.04" } }), t("path", { staticClass: "e-spinner__secondary", style: e.getNthPathStyle(5), attrs: { d: "m938.58,1468.29c-62.81,42.58-118.35,80.24-180.28,122.23-28.35-87.22-54.62-168.03-80.89-248.86,2.62-2.92,5.26-5.85,7.9-8.76,81.89,43.78,163.79,87.56,253.26,135.39" } }), t("path", { staticClass: "e-spinner__primary", style: e.getNthPathStyle(6), attrs: { d: "m413.07,652.86c101.35,307.77,314.99,956,314.99,956,0,0-476.23-343.04-487.83-351.39-11.58-8.36-34.44-35.93-28.52-67.4,24.07-127.96,47.3-256.13,67.09-384.8,14.54-76.9,106.84-132.96,134.28-152.42" } }), t("path", { staticClass: "e-spinner__secondary", style: e.getNthPathStyle(7), attrs: { d: "m197.48,1068.8c-62.36-47.73-115.99-88.79-176.78-135.33,75.54-54.91,146.18-106.24,216.83-157.57,3.73,2.24,7.45,4.47,11.19,6.71-16.36,91.3-32.7,182.61-51.25,286.19" } }), t("path", { staticClass: "e-spinner__primary", style: e.getNthPathStyle(8), attrs: { d: "m813.58,314.41C551.63,505.15,0,907.07,0,907.07c0,0,180.68-558.4,185.09-572.01,4.39-13.59,23.65-43.78,55.41-47.8,129.19-16.29,258.32-33.41,386.86-53.99,77.67-9.72,159.3,60.97,186.22,81.13" } }), t("path", { staticClass: "e-spinner__secondary", style: e.getNthPathStyle(9), attrs: { d: "m635.14,199.78c-91.99,12.38-183.97,24.77-288.07,38.76,25.77-73.18,48.3-137.14,73.8-209.53,76.56,55.41,147.27,106.58,217.97,157.75-1.23,4.34-2.46,8.68-3.69,13.02" } })]);
4082
- }, Ka = [], Wa = /* @__PURE__ */ Ee(
4083
- Ha,
4084
- Va,
4085
- Ka,
4082
+ }, Ga = [], Ha = /* @__PURE__ */ Te(
4083
+ $a,
4084
+ Ua,
4085
+ Ga,
4086
4086
  !1,
4087
4087
  null,
4088
4088
  "29711f67",
4089
4089
  null,
4090
4090
  null
4091
4091
  );
4092
- const rn = Wa.exports, za = ve.extend({
4092
+ const rn = Ha.exports, Va = Ee.extend({
4093
4093
  props: {
4094
4094
  align: {
4095
4095
  type: String,
@@ -4149,20 +4149,20 @@ const rn = Wa.exports, za = ve.extend({
4149
4149
  }
4150
4150
  }
4151
4151
  });
4152
- var Ya = function() {
4152
+ var Ka = function() {
4153
4153
  var e = this, t = e._self._c;
4154
4154
  return e._self._setupProxy, t("div", { staticClass: "e-row e-flex e-flex-wrap", class: e.rowClasses }, [e._t("default")], 2);
4155
- }, ja = [], qa = /* @__PURE__ */ Ee(
4156
- za,
4157
- Ya,
4158
- ja,
4155
+ }, Wa = [], za = /* @__PURE__ */ Te(
4156
+ Va,
4157
+ Ka,
4158
+ Wa,
4159
4159
  !1,
4160
4160
  null,
4161
4161
  null,
4162
4162
  null,
4163
4163
  null
4164
4164
  );
4165
- const Xa = qa.exports, Za = ve.extend({
4165
+ const Ya = za.exports, ja = Ee.extend({
4166
4166
  props: {
4167
4167
  alignSelf: {
4168
4168
  type: String,
@@ -4266,21 +4266,21 @@ const Xa = qa.exports, Za = ve.extend({
4266
4266
  }
4267
4267
  }
4268
4268
  });
4269
- var Qa = function() {
4269
+ var qa = function() {
4270
4270
  var e = this, t = e._self._c;
4271
4271
  return t("div", { staticClass: "e-col", class: e.colClasses }, [e._t("default")], 2);
4272
- }, Ja = [], eo = /* @__PURE__ */ Ee(
4273
- Za,
4274
- Qa,
4275
- Ja,
4272
+ }, Xa = [], Za = /* @__PURE__ */ Te(
4273
+ ja,
4274
+ qa,
4275
+ Xa,
4276
4276
  !1,
4277
4277
  null,
4278
4278
  null,
4279
4279
  null,
4280
4280
  null
4281
4281
  );
4282
- const to = eo.exports;
4283
- function io(s) {
4282
+ const Qa = Za.exports;
4283
+ function Ja(s) {
4284
4284
  return s && s.__esModule && Object.prototype.hasOwnProperty.call(s, "default") ? s.default : s;
4285
4285
  }
4286
4286
  var nn = { exports: {} };
@@ -4374,14 +4374,14 @@ function de(s) {
4374
4374
  for (var e = 1; e < arguments.length; e++) {
4375
4375
  var t = arguments[e] != null ? arguments[e] : {};
4376
4376
  e % 2 ? xs(Object(t), !0).forEach(function(i) {
4377
- no(s, i, t[i]);
4377
+ io(s, i, t[i]);
4378
4378
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(s, Object.getOwnPropertyDescriptors(t)) : xs(Object(t)).forEach(function(i) {
4379
4379
  Object.defineProperty(s, i, Object.getOwnPropertyDescriptor(t, i));
4380
4380
  });
4381
4381
  }
4382
4382
  return s;
4383
4383
  }
4384
- function so(s, e) {
4384
+ function eo(s, e) {
4385
4385
  if (typeof s != "object" || !s)
4386
4386
  return s;
4387
4387
  var t = s[Symbol.toPrimitive];
@@ -4393,12 +4393,12 @@ function so(s, e) {
4393
4393
  }
4394
4394
  return (e === "string" ? String : Number)(s);
4395
4395
  }
4396
- function ro(s) {
4397
- var e = so(s, "string");
4396
+ function to(s) {
4397
+ var e = eo(s, "string");
4398
4398
  return typeof e == "symbol" ? e : String(e);
4399
4399
  }
4400
- function no(s, e, t) {
4401
- return e = ro(e), e in s ? Object.defineProperty(s, e, {
4400
+ function io(s, e, t) {
4401
+ return e = to(e), e in s ? Object.defineProperty(s, e, {
4402
4402
  value: t,
4403
4403
  enumerable: !0,
4404
4404
  configurable: !0,
@@ -4417,9 +4417,9 @@ function oe() {
4417
4417
  }
4418
4418
  const W = Number.isFinite || function(s) {
4419
4419
  return typeof s == "number" && isFinite(s);
4420
- }, ao = Number.isSafeInteger || function(s) {
4421
- return typeof s == "number" && Math.abs(s) <= oo;
4422
- }, oo = Number.MAX_SAFE_INTEGER || 9007199254740991;
4420
+ }, so = Number.isSafeInteger || function(s) {
4421
+ return typeof s == "number" && Math.abs(s) <= ro;
4422
+ }, ro = Number.MAX_SAFE_INTEGER || 9007199254740991;
4423
4423
  let p = /* @__PURE__ */ function(s) {
4424
4424
  return s.MEDIA_ATTACHING = "hlsMediaAttaching", s.MEDIA_ATTACHED = "hlsMediaAttached", s.MEDIA_DETACHING = "hlsMediaDetaching", s.MEDIA_DETACHED = "hlsMediaDetached", s.BUFFER_RESET = "hlsBufferReset", s.BUFFER_CODECS = "hlsBufferCodecs", s.BUFFER_CREATED = "hlsBufferCreated", s.BUFFER_APPENDING = "hlsBufferAppending", s.BUFFER_APPENDED = "hlsBufferAppended", s.BUFFER_EOS = "hlsBufferEos", s.BUFFER_FLUSHING = "hlsBufferFlushing", s.BUFFER_FLUSHED = "hlsBufferFlushed", s.MANIFEST_LOADING = "hlsManifestLoading", s.MANIFEST_LOADED = "hlsManifestLoaded", s.MANIFEST_PARSED = "hlsManifestParsed", s.LEVEL_SWITCHING = "hlsLevelSwitching", s.LEVEL_SWITCHED = "hlsLevelSwitched", s.LEVEL_LOADING = "hlsLevelLoading", s.LEVEL_LOADED = "hlsLevelLoaded", s.LEVEL_UPDATED = "hlsLevelUpdated", s.LEVEL_PTS_UPDATED = "hlsLevelPtsUpdated", s.LEVELS_UPDATED = "hlsLevelsUpdated", s.AUDIO_TRACKS_UPDATED = "hlsAudioTracksUpdated", s.AUDIO_TRACK_SWITCHING = "hlsAudioTrackSwitching", s.AUDIO_TRACK_SWITCHED = "hlsAudioTrackSwitched", s.AUDIO_TRACK_LOADING = "hlsAudioTrackLoading", s.AUDIO_TRACK_LOADED = "hlsAudioTrackLoaded", s.SUBTITLE_TRACKS_UPDATED = "hlsSubtitleTracksUpdated", s.SUBTITLE_TRACKS_CLEARED = "hlsSubtitleTracksCleared", s.SUBTITLE_TRACK_SWITCH = "hlsSubtitleTrackSwitch", s.SUBTITLE_TRACK_LOADING = "hlsSubtitleTrackLoading", s.SUBTITLE_TRACK_LOADED = "hlsSubtitleTrackLoaded", s.SUBTITLE_FRAG_PROCESSED = "hlsSubtitleFragProcessed", s.CUES_PARSED = "hlsCuesParsed", s.NON_NATIVE_TEXT_TRACKS_FOUND = "hlsNonNativeTextTracksFound", s.INIT_PTS_FOUND = "hlsInitPtsFound", s.FRAG_LOADING = "hlsFragLoading", s.FRAG_LOAD_EMERGENCY_ABORTED = "hlsFragLoadEmergencyAborted", s.FRAG_LOADED = "hlsFragLoaded", s.FRAG_DECRYPTED = "hlsFragDecrypted", s.FRAG_PARSING_INIT_SEGMENT = "hlsFragParsingInitSegment", s.FRAG_PARSING_USERDATA = "hlsFragParsingUserdata", s.FRAG_PARSING_METADATA = "hlsFragParsingMetadata", s.FRAG_PARSED = "hlsFragParsed", s.FRAG_BUFFERED = "hlsFragBuffered", s.FRAG_CHANGED = "hlsFragChanged", s.FPS_DROP = "hlsFpsDrop", s.FPS_DROP_LEVEL_CAPPING = "hlsFpsDropLevelCapping", s.MAX_AUTO_LEVEL_UPDATED = "hlsMaxAutoLevelUpdated", s.ERROR = "hlsError", s.DESTROYING = "hlsDestroying", s.KEY_LOADING = "hlsKeyLoading", s.KEY_LOADED = "hlsKeyLoaded", s.LIVE_BACK_BUFFER_REACHED = "hlsLiveBackBufferReached", s.BACK_BUFFER_REACHED = "hlsBackBufferReached", s.STEERING_MANIFEST_LOADED = "hlsSteeringManifestLoaded", s;
4425
4425
  }({}), q = /* @__PURE__ */ function(s) {
@@ -4437,18 +4437,18 @@ const Xe = function() {
4437
4437
  error: Xe
4438
4438
  };
4439
4439
  let yt = ki;
4440
- function lo(s) {
4440
+ function no(s) {
4441
4441
  const e = self.console[s];
4442
4442
  return e ? e.bind(self.console, `[${s}] >`) : Xe;
4443
4443
  }
4444
- function co(s, ...e) {
4444
+ function ao(s, ...e) {
4445
4445
  e.forEach(function(t) {
4446
- yt[t] = s[t] ? s[t].bind(s) : lo(t);
4446
+ yt[t] = s[t] ? s[t].bind(s) : no(t);
4447
4447
  });
4448
4448
  }
4449
- function uo(s, e) {
4449
+ function oo(s, e) {
4450
4450
  if (typeof console == "object" && s === !0 || typeof s == "object") {
4451
- co(
4451
+ ao(
4452
4452
  s,
4453
4453
  // Remove out from list here to hard-disable a log-level
4454
4454
  // 'trace',
@@ -4466,7 +4466,7 @@ function uo(s, e) {
4466
4466
  } else
4467
4467
  yt = ki;
4468
4468
  }
4469
- const S = yt, ho = /^(\d+)x(\d+)$/, Ts = /(.+?)=(".*?"|.*?)(?:,|$)/g;
4469
+ const S = yt, lo = /^(\d+)x(\d+)$/, Ts = /(.+?)=(".*?"|.*?)(?:,|$)/g;
4470
4470
  class ne {
4471
4471
  constructor(e) {
4472
4472
  typeof e == "string" && (e = ne.parseAttrList(e)), oe(this, e);
@@ -4507,7 +4507,7 @@ class ne {
4507
4507
  return this[e] === "YES";
4508
4508
  }
4509
4509
  decimalResolution(e) {
4510
- const t = ho.exec(this[e]);
4510
+ const t = lo.exec(this[e]);
4511
4511
  if (t !== null)
4512
4512
  return {
4513
4513
  width: parseInt(t[1], 10),
@@ -4526,10 +4526,10 @@ class ne {
4526
4526
  return i;
4527
4527
  }
4528
4528
  }
4529
- function fo(s) {
4529
+ function co(s) {
4530
4530
  return s !== "ID" && s !== "CLASS" && s !== "START-DATE" && s !== "DURATION" && s !== "END-DATE" && s !== "END-ON-NEXT";
4531
4531
  }
4532
- function mo(s) {
4532
+ function uo(s) {
4533
4533
  return s === "SCTE35-OUT" || s === "SCTE35-IN";
4534
4534
  }
4535
4535
  class an {
@@ -4710,7 +4710,7 @@ class ai extends on {
4710
4710
  e[te.AUDIO] = null, e[te.VIDEO] = null, e[te.AUDIOVIDEO] = null;
4711
4711
  }
4712
4712
  }
4713
- class go extends on {
4713
+ class ho extends on {
4714
4714
  constructor(e, t, i, r, n) {
4715
4715
  super(i), this.fragOffset = 0, this.duration = 0, this.gap = !1, this.independent = !1, this.relurl = void 0, this.fragment = void 0, this.index = void 0, this.stats = new ti(), this.duration = e.decimalFloatingPoint("DURATION"), this.gap = e.bool("GAP"), this.independent = e.bool("INDEPENDENT"), this.relurl = e.enumeratedString("URI"), this.fragment = t, this.index = r;
4716
4716
  const a = e.enumeratedString("BYTERANGE");
@@ -4729,8 +4729,8 @@ class go extends on {
4729
4729
  return !!(e.audio || e.video || e.audiovideo);
4730
4730
  }
4731
4731
  }
4732
- const po = 10;
4733
- class yo {
4732
+ const fo = 10;
4733
+ class mo {
4734
4734
  constructor(e) {
4735
4735
  this.PTSKnown = !1, this.alignedSliding = !1, this.averagetargetduration = void 0, this.endCC = 0, this.endSN = 0, this.fragments = void 0, this.fragmentHint = void 0, this.partList = null, this.dateRanges = void 0, this.live = !0, this.ageHeader = 0, this.advancedDateTime = void 0, this.updated = !0, this.advanced = !0, this.availabilityDelay = void 0, this.misses = 0, this.startCC = 0, this.startSN = 0, this.startTimeOffset = null, this.targetduration = 0, this.totalduration = 0, this.type = null, this.url = void 0, this.m3u8 = "", this.version = null, this.canBlockReload = !1, this.canSkipUntil = 0, this.canSkipDateRanges = !1, this.skippedSegments = 0, this.recentlyRemovedDateranges = void 0, this.partHoldBack = 0, this.holdBack = 0, this.partTarget = 0, this.preloadHint = void 0, this.renditionReports = void 0, this.tuneInGoal = 0, this.deltaUpdateFailed = void 0, this.driftStartTime = 0, this.driftEndTime = 0, this.driftStart = 0, this.driftEnd = 0, this.encryptedFragments = void 0, this.playlistParsingError = null, this.variableList = null, this.hasVariableRefs = !1, this.fragments = [], this.encryptedFragments = [], this.dateRanges = {}, this.url = e;
4736
4736
  }
@@ -4746,7 +4746,7 @@ class yo {
4746
4746
  return this.fragments.length ? W(this.fragments[this.fragments.length - 1].programDateTime) : !1;
4747
4747
  }
4748
4748
  get levelTargetDuration() {
4749
- return this.averagetargetduration || this.targetduration || po;
4749
+ return this.averagetargetduration || this.targetduration || fo;
4750
4750
  }
4751
4751
  get drift() {
4752
4752
  const e = this.driftEndTime - this.driftStartTime;
@@ -4778,25 +4778,25 @@ class yo {
4778
4778
  function ts(s) {
4779
4779
  return Uint8Array.from(atob(s), (e) => e.charCodeAt(0));
4780
4780
  }
4781
- function vo(s) {
4781
+ function go(s) {
4782
4782
  const e = Pi(s).subarray(0, 16), t = new Uint8Array(16);
4783
4783
  return t.set(e, 16 - e.length), t;
4784
4784
  }
4785
- function xo(s) {
4785
+ function po(s) {
4786
4786
  const e = function(i, r, n) {
4787
4787
  const a = i[r];
4788
4788
  i[r] = i[n], i[n] = a;
4789
4789
  };
4790
4790
  e(s, 0, 3), e(s, 1, 2), e(s, 4, 5), e(s, 6, 7);
4791
4791
  }
4792
- function To(s) {
4792
+ function yo(s) {
4793
4793
  const e = s.split(":");
4794
4794
  let t = null;
4795
4795
  if (e[0] === "data" && e.length === 2) {
4796
4796
  const i = e[1].split(";"), r = i[i.length - 1].split(",");
4797
4797
  if (r.length === 2) {
4798
4798
  const n = r[0] === "base64", a = r[1];
4799
- n ? (i.splice(-1, 1), t = ts(a)) : t = vo(a);
4799
+ n ? (i.splice(-1, 1), t = ts(a)) : t = go(a);
4800
4800
  }
4801
4801
  }
4802
4802
  return t;
@@ -4810,7 +4810,7 @@ var re = {
4810
4810
  FAIRPLAY: "com.apple.fps",
4811
4811
  PLAYREADY: "com.microsoft.playready",
4812
4812
  WIDEVINE: "com.widevine.alpha"
4813
- }, Te = {
4813
+ }, xe = {
4814
4814
  CLEARKEY: "org.w3.clearkey",
4815
4815
  FAIRPLAY: "com.apple.streamingkeydelivery",
4816
4816
  PLAYREADY: "com.microsoft.playready",
@@ -4818,33 +4818,33 @@ var re = {
4818
4818
  };
4819
4819
  function Es(s) {
4820
4820
  switch (s) {
4821
- case Te.FAIRPLAY:
4821
+ case xe.FAIRPLAY:
4822
4822
  return re.FAIRPLAY;
4823
- case Te.PLAYREADY:
4823
+ case xe.PLAYREADY:
4824
4824
  return re.PLAYREADY;
4825
- case Te.WIDEVINE:
4825
+ case xe.WIDEVINE:
4826
4826
  return re.WIDEVINE;
4827
- case Te.CLEARKEY:
4827
+ case xe.CLEARKEY:
4828
4828
  return re.CLEARKEY;
4829
4829
  }
4830
4830
  }
4831
4831
  var ln = {
4832
4832
  WIDEVINE: "edef8ba979d64acea3c827dcd51d21ed"
4833
4833
  };
4834
- function Eo(s) {
4834
+ function vo(s) {
4835
4835
  if (s === ln.WIDEVINE)
4836
4836
  return re.WIDEVINE;
4837
4837
  }
4838
4838
  function Ss(s) {
4839
4839
  switch (s) {
4840
4840
  case re.FAIRPLAY:
4841
- return Te.FAIRPLAY;
4841
+ return xe.FAIRPLAY;
4842
4842
  case re.PLAYREADY:
4843
- return Te.PLAYREADY;
4843
+ return xe.PLAYREADY;
4844
4844
  case re.WIDEVINE:
4845
- return Te.WIDEVINE;
4845
+ return xe.WIDEVINE;
4846
4846
  case re.CLEARKEY:
4847
- return Te.CLEARKEY;
4847
+ return xe.CLEARKEY;
4848
4848
  }
4849
4849
  }
4850
4850
  function oi(s) {
@@ -4857,7 +4857,7 @@ function oi(s) {
4857
4857
  const cn = function(s) {
4858
4858
  return lt != null && (s = lt.navigator) != null && s.requestMediaKeySystemAccess ? self.navigator.requestMediaKeySystemAccess.bind(self.navigator) : null;
4859
4859
  }();
4860
- function So(s, e, t, i) {
4860
+ function xo(s, e, t, i) {
4861
4861
  let r;
4862
4862
  switch (s) {
4863
4863
  case re.FAIRPLAY:
@@ -4873,9 +4873,9 @@ function So(s, e, t, i) {
4873
4873
  default:
4874
4874
  throw new Error(`Unknown key-system: ${s}`);
4875
4875
  }
4876
- return bo(r, e, t, i);
4876
+ return To(r, e, t, i);
4877
4877
  }
4878
- function bo(s, e, t, i) {
4878
+ function To(s, e, t, i) {
4879
4879
  return [{
4880
4880
  initDataTypes: s,
4881
4881
  persistentState: i.persistentState || "optional",
@@ -4909,14 +4909,14 @@ const is = (s, e) => e + 10 <= s.length && s[e] === 73 && s[e + 1] === 68 && s[e
4909
4909
  }, ii = (s, e) => {
4910
4910
  let t = 0;
4911
4911
  return t = (s[e] & 127) << 21, t |= (s[e + 1] & 127) << 14, t |= (s[e + 2] & 127) << 7, t |= s[e + 3] & 127, t;
4912
- }, Ao = (s, e) => is(s, e) && ii(s, e + 6) + 10 <= s.length - e, ss = (s) => {
4912
+ }, Eo = (s, e) => is(s, e) && ii(s, e + 6) + 10 <= s.length - e, ss = (s) => {
4913
4913
  const e = dn(s);
4914
4914
  for (let t = 0; t < e.length; t++) {
4915
4915
  const i = e[t];
4916
4916
  if (hn(i))
4917
- return Io(i);
4917
+ return Co(i);
4918
4918
  }
4919
- }, hn = (s) => s && s.key === "PRIV" && s.info === "com.apple.streaming.transportStreamTimestamp", Lo = (s) => {
4919
+ }, hn = (s) => s && s.key === "PRIV" && s.info === "com.apple.streaming.transportStreamTimestamp", So = (s) => {
4920
4920
  const e = String.fromCharCode(s[0], s[1], s[2], s[3]), t = ii(s, 4), i = 10;
4921
4921
  return {
4922
4922
  type: e,
@@ -4931,13 +4931,13 @@ const is = (s, e) => e + 10 <= s.length && s[e] === 73 && s[e + 1] === 68 && s[e
4931
4931
  e += 10;
4932
4932
  const r = e + i;
4933
4933
  for (; e + 8 < r; ) {
4934
- const n = Lo(s.subarray(e)), a = Ro(n);
4934
+ const n = So(s.subarray(e)), a = bo(n);
4935
4935
  a && t.push(a), e += n.size + 10;
4936
4936
  }
4937
4937
  un(s, e) && (e += 10);
4938
4938
  }
4939
4939
  return t;
4940
- }, Ro = (s) => s.type === "PRIV" ? Co(s) : s.type[0] === "W" ? Do(s) : _o(s), Co = (s) => {
4940
+ }, bo = (s) => s.type === "PRIV" ? Ao(s) : s.type[0] === "W" ? Ro(s) : Lo(s), Ao = (s) => {
4941
4941
  if (s.size < 2)
4942
4942
  return;
4943
4943
  const e = Ne(s.data, !0), t = new Uint8Array(s.data.subarray(e.length + 1));
@@ -4946,7 +4946,7 @@ const is = (s, e) => e + 10 <= s.length && s[e] === 73 && s[e + 1] === 68 && s[e
4946
4946
  info: e,
4947
4947
  data: t.buffer
4948
4948
  };
4949
- }, _o = (s) => {
4949
+ }, Lo = (s) => {
4950
4950
  if (s.size < 2)
4951
4951
  return;
4952
4952
  if (s.type === "TXXX") {
@@ -4965,7 +4965,7 @@ const is = (s, e) => e + 10 <= s.length && s[e] === 73 && s[e + 1] === 68 && s[e
4965
4965
  key: s.type,
4966
4966
  data: e
4967
4967
  };
4968
- }, Do = (s) => {
4968
+ }, Ro = (s) => {
4969
4969
  if (s.type === "WXXX") {
4970
4970
  if (s.size < 2)
4971
4971
  return;
@@ -4984,14 +4984,14 @@ const is = (s, e) => e + 10 <= s.length && s[e] === 73 && s[e + 1] === 68 && s[e
4984
4984
  key: s.type,
4985
4985
  data: e
4986
4986
  };
4987
- }, Io = (s) => {
4987
+ }, Co = (s) => {
4988
4988
  if (s.data.byteLength === 8) {
4989
4989
  const e = new Uint8Array(s.data), t = e[3] & 1;
4990
4990
  let i = (e[4] << 23) + (e[5] << 15) + (e[6] << 7) + e[7];
4991
4991
  return i /= 45, t && (i += 4772185884e-2), Math.round(i);
4992
4992
  }
4993
4993
  }, Ne = (s, e = !1) => {
4994
- const t = wo();
4994
+ const t = _o();
4995
4995
  if (t) {
4996
4996
  const c = t.decode(s);
4997
4997
  if (e) {
@@ -5030,7 +5030,7 @@ const is = (s, e) => e + 10 <= s.length && s[e] === 73 && s[e + 1] === 68 && s[e
5030
5030
  return o;
5031
5031
  };
5032
5032
  let li;
5033
- function wo() {
5033
+ function _o() {
5034
5034
  if (!navigator.userAgent.includes("PlayStation 4"))
5035
5035
  return !li && typeof self.TextDecoder != "undefined" && (li = new self.TextDecoder("utf-8")), li;
5036
5036
  }
@@ -5043,7 +5043,7 @@ const we = {
5043
5043
  }
5044
5044
  return e;
5045
5045
  }
5046
- }, Gt = Math.pow(2, 32) - 1, ko = [].push, fn = {
5046
+ }, Gt = Math.pow(2, 32) - 1, Do = [].push, fn = {
5047
5047
  video: 1,
5048
5048
  audio: 2,
5049
5049
  id3: 3,
@@ -5070,7 +5070,7 @@ function gn(s, e) {
5070
5070
  function ci(s, e, t) {
5071
5071
  s[e] = t >> 24, s[e + 1] = t >> 16 & 255, s[e + 2] = t >> 8 & 255, s[e + 3] = t & 255;
5072
5072
  }
5073
- function Po(s) {
5073
+ function Io(s) {
5074
5074
  const e = s.byteLength;
5075
5075
  for (let t = 0; t < e; ) {
5076
5076
  const i = z(s, t);
@@ -5092,13 +5092,13 @@ function X(s, e) {
5092
5092
  t.push(s.subarray(r + 8, o));
5093
5093
  else {
5094
5094
  const l = X(s.subarray(r + 8, o), e.slice(1));
5095
- l.length && ko.apply(t, l);
5095
+ l.length && Do.apply(t, l);
5096
5096
  }
5097
5097
  r = o;
5098
5098
  }
5099
5099
  return t;
5100
5100
  }
5101
- function Oo(s) {
5101
+ function wo(s) {
5102
5102
  const e = [], t = s[0];
5103
5103
  let i = 8;
5104
5104
  const r = z(s, i);
@@ -5151,7 +5151,7 @@ function pn(s) {
5151
5151
  vide: te.VIDEO
5152
5152
  }[d];
5153
5153
  if (f) {
5154
- const m = X(n, ["mdia", "minf", "stbl", "stsd"])[0], g = Fo(m);
5154
+ const m = X(n, ["mdia", "minf", "stbl", "stsd"])[0], g = ko(m);
5155
5155
  e[l] = {
5156
5156
  timescale: u,
5157
5157
  type: f
@@ -5172,7 +5172,7 @@ function pn(s) {
5172
5172
  });
5173
5173
  }), e;
5174
5174
  }
5175
- function Fo(s) {
5175
+ function ko(s) {
5176
5176
  const e = s.subarray(8), t = e.subarray(8 + 78), i = le(e.subarray(4, 8));
5177
5177
  let r = i;
5178
5178
  const n = i === "enca" || i === "encv";
@@ -5269,7 +5269,7 @@ function St(s) {
5269
5269
  function Ie(s) {
5270
5270
  return (s < 10 ? "0" : "") + s;
5271
5271
  }
5272
- function Mo(s, e) {
5272
+ function Po(s, e) {
5273
5273
  if (!s || !e)
5274
5274
  return s;
5275
5275
  const t = e.keyId;
@@ -5298,7 +5298,7 @@ function yn(s) {
5298
5298
  }
5299
5299
  return S.error("[eme] missing 'schm' box"), null;
5300
5300
  }
5301
- function No(s, e) {
5301
+ function Oo(s, e) {
5302
5302
  return X(e, ["moof", "traf"]).reduce((t, i) => {
5303
5303
  const r = X(i, ["tfdt"])[0], n = r[0], a = X(i, ["tfhd"]).reduce((o, l) => {
5304
5304
  const c = z(l, 4), u = s[c];
@@ -5318,7 +5318,7 @@ function No(s, e) {
5318
5318
  return a !== null && W(a) && (t === null || a < t) ? a : t;
5319
5319
  }, null);
5320
5320
  }
5321
- function Bo(s, e) {
5321
+ function Fo(s, e) {
5322
5322
  let t = 0, i = 0, r = 0;
5323
5323
  const n = X(s, ["moof", "traf"]);
5324
5324
  for (let a = 0; a < n.length; a++) {
@@ -5330,7 +5330,7 @@ function Bo(s, e) {
5330
5330
  d & 8 && (d & 2 ? f = z(l, 12) : f = z(l, 8));
5331
5331
  const m = u.timescale || 9e4, g = X(o, ["trun"]);
5332
5332
  for (let y = 0; y < g.length; y++) {
5333
- if (t = $o(g[y]), !t && f) {
5333
+ if (t = Mo(g[y]), !t && f) {
5334
5334
  const v = z(g[y], 4);
5335
5335
  t = f * v;
5336
5336
  }
@@ -5341,7 +5341,7 @@ function Bo(s, e) {
5341
5341
  let a = 1 / 0, o = 0, l = 0;
5342
5342
  const c = X(s, ["sidx"]);
5343
5343
  for (let u = 0; u < c.length; u++) {
5344
- const h = Oo(c[u]);
5344
+ const h = wo(c[u]);
5345
5345
  if (h != null && h.references) {
5346
5346
  a = Math.min(a, h.earliestPresentationTime / h.timescale);
5347
5347
  const d = h.references.reduce((f, m) => f + m.info.duration || 0, 0);
@@ -5353,7 +5353,7 @@ function Bo(s, e) {
5353
5353
  }
5354
5354
  return i || r;
5355
5355
  }
5356
- function $o(s) {
5356
+ function Mo(s) {
5357
5357
  const e = z(s, 0);
5358
5358
  let t = 8;
5359
5359
  e & 1 && (t += 4), e & 4 && (t += 4);
@@ -5368,7 +5368,7 @@ function $o(s) {
5368
5368
  }
5369
5369
  return i;
5370
5370
  }
5371
- function Uo(s, e, t) {
5371
+ function No(s, e, t) {
5372
5372
  X(e, ["moof", "traf"]).forEach((i) => {
5373
5373
  X(i, ["tfhd"]).forEach((r) => {
5374
5374
  const n = z(r, 4), a = s[n];
@@ -5391,7 +5391,7 @@ function Uo(s, e, t) {
5391
5391
  });
5392
5392
  });
5393
5393
  }
5394
- function Go(s) {
5394
+ function Bo(s) {
5395
5395
  const e = {
5396
5396
  valid: null,
5397
5397
  remainder: null
@@ -5423,7 +5423,7 @@ function As(s, e) {
5423
5423
  let E = 0;
5424
5424
  const k = (g & 32) !== 0;
5425
5425
  let R = 8;
5426
- m === n && (y && (R += 8), v && (R += 4), T && (x = z(f, R), R += 4), L && (E = z(f, R), R += 4), k && (R += 4), e.type === "video" && (a = Ho(e.codec)), X(h, ["trun"]).map((B) => {
5426
+ m === n && (y && (R += 8), v && (R += 4), T && (x = z(f, R), R += 4), L && (E = z(f, R), R += 4), k && (R += 4), e.type === "video" && (a = $o(e.codec)), X(h, ["trun"]).map((B) => {
5427
5427
  const C = B[0], b = z(B, 0) & 16777215, _ = (b & 1) !== 0;
5428
5428
  let P = 0;
5429
5429
  const w = (b & 4) !== 0, $ = (b & 256) !== 0;
@@ -5441,7 +5441,7 @@ function As(s, e) {
5441
5441
  let ce = 0;
5442
5442
  for (; ce < F; ) {
5443
5443
  const fe = z(i, ee);
5444
- if (ee += 4, Vo(a, i[ee])) {
5444
+ if (ee += 4, Uo(a, i[ee])) {
5445
5445
  const Se = i.subarray(ee, ee + fe);
5446
5446
  vn(Se, a ? 2 : 1, s + M / r, t);
5447
5447
  }
@@ -5455,14 +5455,14 @@ function As(s, e) {
5455
5455
  });
5456
5456
  }), t;
5457
5457
  }
5458
- function Ho(s) {
5458
+ function $o(s) {
5459
5459
  if (!s)
5460
5460
  return !1;
5461
5461
  const e = s.indexOf("."), t = e < 0 ? s : s.substring(0, e);
5462
5462
  return t === "hvc1" || t === "hev1" || // Dolby Vision
5463
5463
  t === "dvh1" || t === "dvhe";
5464
5464
  }
5465
- function Vo(s, e) {
5465
+ function Uo(s, e) {
5466
5466
  if (s) {
5467
5467
  const t = e >> 1 & 63;
5468
5468
  return t === 39 || t === 40;
@@ -5551,7 +5551,7 @@ function xn(s) {
5551
5551
  a === t[0] && (a++, t.shift()), n[i] = s[a];
5552
5552
  return n;
5553
5553
  }
5554
- function Ko(s) {
5554
+ function Go(s) {
5555
5555
  const e = s[0];
5556
5556
  let t = "", i = "", r = 0, n = 0, a = 0, o = 0, l = 0, c = 0;
5557
5557
  if (e === 0) {
@@ -5565,7 +5565,7 @@ function Ko(s) {
5565
5565
  const h = z(s, c);
5566
5566
  c += 4;
5567
5567
  const d = z(s, c);
5568
- for (c += 4, a = 2 ** 32 * h + d, ao(a) || (a = Number.MAX_SAFE_INTEGER, S.warn("Presentation time exceeds safe integer limit and wrapped to max safe integer in parsing emsg box")), o = z(s, c), c += 4, l = z(s, c), c += 4; le(s.subarray(c, c + 1)) !== "\0"; )
5568
+ for (c += 4, a = 2 ** 32 * h + d, so(a) || (a = Number.MAX_SAFE_INTEGER, S.warn("Presentation time exceeds safe integer limit and wrapped to max safe integer in parsing emsg box")), o = z(s, c), c += 4, l = z(s, c), c += 4; le(s.subarray(c, c + 1)) !== "\0"; )
5569
5569
  t += le(s.subarray(c, c + 1)), c += 1;
5570
5570
  for (t += le(s.subarray(c, c + 1)), c += 1; le(s.subarray(c, c + 1)) !== "\0"; )
5571
5571
  i += le(s.subarray(c, c + 1)), c += 1;
@@ -5583,7 +5583,7 @@ function Ko(s) {
5583
5583
  payload: u
5584
5584
  };
5585
5585
  }
5586
- function Wo(s, ...e) {
5586
+ function Ho(s, ...e) {
5587
5587
  const t = e.length;
5588
5588
  let i = 8, r = t;
5589
5589
  for (; r--; )
@@ -5593,7 +5593,7 @@ function Wo(s, ...e) {
5593
5593
  n.set(e[r], i), i += e[r].byteLength;
5594
5594
  return n;
5595
5595
  }
5596
- function zo(s, e, t) {
5596
+ function Vo(s, e, t) {
5597
5597
  if (s.byteLength !== 16)
5598
5598
  throw new RangeError("Invalid system id");
5599
5599
  let i, r;
@@ -5610,7 +5610,7 @@ function zo(s, e, t) {
5610
5610
  let n;
5611
5611
  i > 0 ? (n = new Uint8Array(4), e.length > 0 && new DataView(n.buffer).setUint32(0, e.length, !1)) : n = new Uint8Array();
5612
5612
  const a = new Uint8Array(4);
5613
- return t && t.byteLength > 0 && new DataView(a.buffer).setUint32(0, t.byteLength, !1), Wo(
5613
+ return t && t.byteLength > 0 && new DataView(a.buffer).setUint32(0, t.byteLength, !1), Ho(
5614
5614
  [112, 115, 115, 104],
5615
5615
  new Uint8Array([
5616
5616
  i,
@@ -5627,7 +5627,7 @@ function zo(s, e, t) {
5627
5627
  t || new Uint8Array()
5628
5628
  );
5629
5629
  }
5630
- function Yo(s) {
5630
+ function Ko(s) {
5631
5631
  if (!(s instanceof ArrayBuffer) || s.byteLength < 32)
5632
5632
  return null;
5633
5633
  const e = {
@@ -5666,10 +5666,10 @@ class Tt {
5666
5666
  if (this.keyFormat === "identity")
5667
5667
  return this.method === "SAMPLE-AES";
5668
5668
  switch (this.keyFormat) {
5669
- case Te.FAIRPLAY:
5670
- case Te.WIDEVINE:
5671
- case Te.PLAYREADY:
5672
- case Te.CLEARKEY:
5669
+ case xe.FAIRPLAY:
5670
+ case xe.WIDEVINE:
5671
+ case xe.PLAYREADY:
5672
+ case xe.CLEARKEY:
5673
5673
  return ["ISO-23001-7", "SAMPLE-AES", "SAMPLE-AES-CENC", "SAMPLE-AES-CTR"].indexOf(this.method) !== -1;
5674
5674
  }
5675
5675
  }
@@ -5680,24 +5680,24 @@ class Tt {
5680
5680
  return null;
5681
5681
  if (this.method === "AES-128" && this.uri && !this.iv) {
5682
5682
  typeof e != "number" && (this.method === "AES-128" && !this.iv && S.warn(`missing IV for initialization segment with method="${this.method}" - compliance issue`), e = 0);
5683
- const i = jo(e);
5683
+ const i = Wo(e);
5684
5684
  return new Tt(this.method, this.uri, "identity", this.keyFormatVersions, i);
5685
5685
  }
5686
- const t = To(this.uri);
5686
+ const t = yo(this.uri);
5687
5687
  if (t)
5688
5688
  switch (this.keyFormat) {
5689
- case Te.WIDEVINE:
5689
+ case xe.WIDEVINE:
5690
5690
  this.pssh = t, t.length >= 22 && (this.keyId = t.subarray(t.length - 22, t.length - 6));
5691
5691
  break;
5692
- case Te.PLAYREADY: {
5692
+ case xe.PLAYREADY: {
5693
5693
  const i = new Uint8Array([154, 4, 240, 121, 152, 64, 66, 134, 171, 146, 230, 91, 224, 136, 95, 149]);
5694
- this.pssh = zo(i, null, t);
5694
+ this.pssh = Vo(i, null, t);
5695
5695
  const r = new Uint16Array(t.buffer, t.byteOffset, t.byteLength / 2), n = String.fromCharCode.apply(null, Array.from(r)), a = n.substring(n.indexOf("<"), n.length), c = new DOMParser().parseFromString(a, "text/xml").getElementsByTagName("KID")[0];
5696
5696
  if (c) {
5697
5697
  const u = c.childNodes[0] ? c.childNodes[0].nodeValue : c.getAttribute("VALUE");
5698
5698
  if (u) {
5699
5699
  const h = ts(u).subarray(0, 16);
5700
- xo(h), this.keyId = h;
5700
+ po(h), this.keyId = h;
5701
5701
  }
5702
5702
  }
5703
5703
  break;
@@ -5723,7 +5723,7 @@ class Tt {
5723
5723
  return this;
5724
5724
  }
5725
5725
  }
5726
- function jo(s) {
5726
+ function Wo(s) {
5727
5727
  const e = new Uint8Array(16);
5728
5728
  for (let t = 12; t < 16; t++)
5729
5729
  e[t] = s >> 8 * (15 - t) & 255;
@@ -5733,7 +5733,7 @@ const Tn = /\{\$([a-zA-Z0-9-_]+)\}/g;
5733
5733
  function Ls(s) {
5734
5734
  return Tn.test(s);
5735
5735
  }
5736
- function xe(s, e, t) {
5736
+ function ve(s, e, t) {
5737
5737
  if (s.variableList !== null || s.hasVariableRefs)
5738
5738
  for (let i = t.length; i--; ) {
5739
5739
  const r = t[i], n = e[r];
@@ -5769,7 +5769,7 @@ function Rs(s, e, t) {
5769
5769
  r = e.NAME, n = e.VALUE;
5770
5770
  r in i ? s.playlistParsingError || (s.playlistParsingError = new Error(`EXT-X-DEFINE duplicate Variable Name declarations: "${r}"`)) : i[r] = n || "";
5771
5771
  }
5772
- function qo(s, e, t) {
5772
+ function zo(s, e, t) {
5773
5773
  const i = e.IMPORT;
5774
5774
  if (t && i in t) {
5775
5775
  let r = s.variableList;
@@ -5858,7 +5858,7 @@ const Ht = {
5858
5858
  wvtt: 1
5859
5859
  }
5860
5860
  };
5861
- function Xo(s, e) {
5861
+ function Yo(s, e) {
5862
5862
  const t = Ht[e];
5863
5863
  return !!t && !!t[s.slice(0, 4)];
5864
5864
  }
@@ -5887,7 +5887,7 @@ function Vt(s) {
5887
5887
  }, 0);
5888
5888
  }
5889
5889
  const di = {};
5890
- function Zo(s, e = !0) {
5890
+ function jo(s, e = !0) {
5891
5891
  if (di[s])
5892
5892
  return di[s];
5893
5893
  const t = {
@@ -5899,14 +5899,14 @@ function Zo(s, e = !0) {
5899
5899
  return di[s] = t[i], t[i];
5900
5900
  return s;
5901
5901
  }
5902
- const Qo = /flac|opus/i;
5902
+ const qo = /flac|opus/i;
5903
5903
  function Kt(s, e = !0) {
5904
- return s.replace(Qo, (t) => Zo(t.toLowerCase(), e));
5904
+ return s.replace(qo, (t) => jo(t.toLowerCase(), e));
5905
5905
  }
5906
5906
  function _s(s, e) {
5907
5907
  return s && s !== "mp4a" ? s : e;
5908
5908
  }
5909
- function Jo(s) {
5909
+ function Xo(s) {
5910
5910
  const e = s.split(".");
5911
5911
  if (e.length > 2) {
5912
5912
  let t = e.shift() + ".";
@@ -5914,7 +5914,7 @@ function Jo(s) {
5914
5914
  }
5915
5915
  return s;
5916
5916
  }
5917
- const Ds = /#EXT-X-STREAM-INF:([^\r\n]*)(?:[\r\n](?:#[^\r\n]*)?)*([^\r\n]+)|#EXT-X-(SESSION-DATA|SESSION-KEY|DEFINE|CONTENT-STEERING|START):([^\r\n]*)[\r\n]+/g, Is = /#EXT-X-MEDIA:(.*)/g, el = /^#EXT(?:INF|-X-TARGETDURATION):/m, ws = new RegExp([
5917
+ const Ds = /#EXT-X-STREAM-INF:([^\r\n]*)(?:[\r\n](?:#[^\r\n]*)?)*([^\r\n]+)|#EXT-X-(SESSION-DATA|SESSION-KEY|DEFINE|CONTENT-STEERING|START):([^\r\n]*)[\r\n]+/g, Is = /#EXT-X-MEDIA:(.*)/g, Zo = /^#EXT(?:INF|-X-TARGETDURATION):/m, ws = new RegExp([
5918
5918
  /#EXTINF:\s*(\d*(?:\.\d+)?)(?:,(.*)\s+)?/.source,
5919
5919
  // duration (#EXTINF:<duration>,<title>), group 1 => duration, group 2 => title
5920
5920
  /(?!#) *(\S[\S ]*)/.source,
@@ -5925,7 +5925,7 @@ const Ds = /#EXT-X-STREAM-INF:([^\r\n]*)(?:[\r\n](?:#[^\r\n]*)?)*([^\r\n]+)|#EXT
5925
5925
  // next segment's program date/time group 5 => the datetime spec
5926
5926
  /#.*/.source
5927
5927
  // All other non-segment oriented tags will match with all groups empty
5928
- ].join("|"), "g"), tl = new RegExp([/#(EXTM3U)/.source, /#EXT-X-(DATERANGE|DEFINE|KEY|MAP|PART|PART-INF|PLAYLIST-TYPE|PRELOAD-HINT|RENDITION-REPORT|SERVER-CONTROL|SKIP|START):(.+)/.source, /#EXT-X-(BITRATE|DISCONTINUITY-SEQUENCE|MEDIA-SEQUENCE|TARGETDURATION|VERSION): *(\d+)/.source, /#EXT-X-(DISCONTINUITY|ENDLIST|GAP|INDEPENDENT-SEGMENTS)/.source, /(#)([^:]*):(.*)/.source, /(#)(.*)(?:.*)\r?\n?/.source].join("|"));
5928
+ ].join("|"), "g"), Qo = new RegExp([/#(EXTM3U)/.source, /#EXT-X-(DATERANGE|DEFINE|KEY|MAP|PART|PART-INF|PLAYLIST-TYPE|PRELOAD-HINT|RENDITION-REPORT|SERVER-CONTROL|SKIP|START):(.+)/.source, /#EXT-X-(BITRATE|DISCONTINUITY-SEQUENCE|MEDIA-SEQUENCE|TARGETDURATION|VERSION): *(\d+)/.source, /#EXT-X-(DISCONTINUITY|ENDLIST|GAP|INDEPENDENT-SEGMENTS)/.source, /(#)([^:]*):(.*)/.source, /(#)(.*)(?:.*)\r?\n?/.source].join("|"));
5929
5929
  class Oe {
5930
5930
  static findGroup(e, t) {
5931
5931
  for (let i = 0; i < e.length; i++) {
@@ -5940,7 +5940,7 @@ class Oe {
5940
5940
  });
5941
5941
  }
5942
5942
  static isMediaPlaylist(e) {
5943
- return el.test(e);
5943
+ return Zo.test(e);
5944
5944
  }
5945
5945
  static parseMasterPlaylist(e, t) {
5946
5946
  const i = Ls(e), r = {
@@ -5959,20 +5959,20 @@ class Oe {
5959
5959
  if (a[1]) {
5960
5960
  var o;
5961
5961
  const c = new ne(a[1]);
5962
- xe(r, c, ["CODECS", "SUPPLEMENTAL-CODECS", "ALLOWED-CPC", "PATHWAY-ID", "STABLE-VARIANT-ID", "AUDIO", "VIDEO", "SUBTITLES", "CLOSED-CAPTIONS", "NAME"]);
5962
+ ve(r, c, ["CODECS", "SUPPLEMENTAL-CODECS", "ALLOWED-CPC", "PATHWAY-ID", "STABLE-VARIANT-ID", "AUDIO", "VIDEO", "SUBTITLES", "CLOSED-CAPTIONS", "NAME"]);
5963
5963
  const u = Oi(r, a[2]), h = {
5964
5964
  attrs: c,
5965
5965
  bitrate: c.decimalInteger("BANDWIDTH") || c.decimalInteger("AVERAGE-BANDWIDTH"),
5966
5966
  name: c.NAME,
5967
5967
  url: Oe.resolve(u, t)
5968
5968
  }, d = c.decimalResolution("RESOLUTION");
5969
- d && (h.width = d.width, h.height = d.height), il(c.CODECS, h), (o = h.unknownCodecs) != null && o.length || n.push(h), r.levels.push(h);
5969
+ d && (h.width = d.width, h.height = d.height), Jo(c.CODECS, h), (o = h.unknownCodecs) != null && o.length || n.push(h), r.levels.push(h);
5970
5970
  } else if (a[3]) {
5971
5971
  const c = a[3], u = a[4];
5972
5972
  switch (c) {
5973
5973
  case "SESSION-DATA": {
5974
5974
  const h = new ne(u);
5975
- xe(r, h, ["DATA-ID", "LANGUAGE", "VALUE", "URI"]);
5975
+ ve(r, h, ["DATA-ID", "LANGUAGE", "VALUE", "URI"]);
5976
5976
  const d = h["DATA-ID"];
5977
5977
  d && (r.sessionData === null && (r.sessionData = {}), r.sessionData[d] = h);
5978
5978
  break;
@@ -5985,13 +5985,13 @@ class Oe {
5985
5985
  case "DEFINE": {
5986
5986
  {
5987
5987
  const h = new ne(u);
5988
- xe(r, h, ["NAME", "VALUE", "QUERYPARAM"]), Rs(r, h, t);
5988
+ ve(r, h, ["NAME", "VALUE", "QUERYPARAM"]), Rs(r, h, t);
5989
5989
  }
5990
5990
  break;
5991
5991
  }
5992
5992
  case "CONTENT-STEERING": {
5993
5993
  const h = new ne(u);
5994
- xe(r, h, ["SERVER-URI", "PATHWAY-ID"]), r.contentSteering = {
5994
+ ve(r, h, ["SERVER-URI", "PATHWAY-ID"]), r.contentSteering = {
5995
5995
  uri: Oe.resolve(h["SERVER-URI"], t),
5996
5996
  pathwayId: h["PATHWAY-ID"] || "."
5997
5997
  };
@@ -6024,7 +6024,7 @@ class Oe {
6024
6024
  const c = new ne(r[1]), u = c.TYPE;
6025
6025
  if (u) {
6026
6026
  const h = o[u], d = n[u] || [];
6027
- n[u] = d, xe(i, c, ["URI", "GROUP-ID", "LANGUAGE", "ASSOC-LANGUAGE", "STABLE-RENDITION-ID", "NAME", "INSTREAM-ID", "CHARACTERISTICS", "CHANNELS"]);
6027
+ n[u] = d, ve(i, c, ["URI", "GROUP-ID", "LANGUAGE", "ASSOC-LANGUAGE", "STABLE-RENDITION-ID", "NAME", "INSTREAM-ID", "CHARACTERISTICS", "CHANNELS"]);
6028
6028
  const f = c.LANGUAGE, m = c["ASSOC-LANGUAGE"], g = c.CHANNELS, y = c.CHARACTERISTICS, v = c["INSTREAM-ID"], T = {
6029
6029
  attrs: c,
6030
6030
  bitrate: 0,
@@ -6048,7 +6048,7 @@ class Oe {
6048
6048
  return n;
6049
6049
  }
6050
6050
  static parseLevelPlaylist(e, t, i, r, n, a) {
6051
- const o = new yo(t), l = o.fragments;
6051
+ const o = new mo(t), l = o.fragments;
6052
6052
  let c = null, u = 0, h = 0, d = 0, f = 0, m = null, g = new ai(r, t), y, v, T, x = -1, L = !1, E = null;
6053
6053
  for (ws.lastIndex = 0, o.m3u8 = e, o.hasVariableRefs = Ls(e); (y = ws.exec(e)) !== null; ) {
6054
6054
  L && (L = !1, g = new ai(r, t), g.start = d, g.sn = u, g.cc = f, g.level = i, c && (g.initSegment = c, g.rawProgramDateTime = c.rawProgramDateTime, c.rawProgramDateTime = null, E && (g.setByteRange(E), E = null)));
@@ -6069,7 +6069,7 @@ class Oe {
6069
6069
  } else if (y[5])
6070
6070
  g.rawProgramDateTime = (" " + y[5]).slice(1), g.tagList.push(["PROGRAM-DATE-TIME", g.rawProgramDateTime]), x === -1 && (x = l.length);
6071
6071
  else {
6072
- if (y = y[0].match(tl), !y) {
6072
+ if (y = y[0].match(Qo), !y) {
6073
6073
  S.warn("No matches on slow regex match for level playlist!");
6074
6074
  continue;
6075
6075
  }
@@ -6085,7 +6085,7 @@ class Oe {
6085
6085
  break;
6086
6086
  case "SKIP": {
6087
6087
  const w = new ne(_);
6088
- xe(o, w, ["RECENTLY-REMOVED-DATERANGES"]);
6088
+ ve(o, w, ["RECENTLY-REMOVED-DATERANGES"]);
6089
6089
  const $ = w.decimalInteger("SKIPPED-SEGMENTS");
6090
6090
  if (W($)) {
6091
6091
  o.skippedSegments = $;
@@ -6123,7 +6123,7 @@ class Oe {
6123
6123
  break;
6124
6124
  case "DATERANGE": {
6125
6125
  const w = new ne(_);
6126
- xe(o, w, ["ID", "CLASS", "START-DATE", "END-DATE", "SCTE35-CMD", "SCTE35-OUT", "SCTE35-IN"]), xe(o, w, w.clientAttrs);
6126
+ ve(o, w, ["ID", "CLASS", "START-DATE", "END-DATE", "SCTE35-CMD", "SCTE35-OUT", "SCTE35-IN"]), ve(o, w, w.clientAttrs);
6127
6127
  const $ = new an(w, o.dateRanges[w.ID]);
6128
6128
  $.isValid || o.skippedSegments ? o.dateRanges[$.id] = $ : S.warn(`Ignoring invalid DATERANGE tag: "${_}"`), g.tagList.push(["EXT-X-DATERANGE", _]);
6129
6129
  break;
@@ -6131,7 +6131,7 @@ class Oe {
6131
6131
  case "DEFINE": {
6132
6132
  {
6133
6133
  const w = new ne(_);
6134
- xe(o, w, ["NAME", "VALUE", "IMPORT", "QUERYPARAM"]), "IMPORT" in w ? qo(o, w, a) : Rs(o, w, t);
6134
+ ve(o, w, ["NAME", "VALUE", "IMPORT", "QUERYPARAM"]), "IMPORT" in w ? zo(o, w, a) : Rs(o, w, t);
6135
6135
  }
6136
6136
  break;
6137
6137
  }
@@ -6155,7 +6155,7 @@ class Oe {
6155
6155
  break;
6156
6156
  case "MAP": {
6157
6157
  const w = new ne(_);
6158
- if (xe(o, w, ["BYTERANGE", "URI"]), g.duration) {
6158
+ if (ve(o, w, ["BYTERANGE", "URI"]), g.duration) {
6159
6159
  const $ = new ai(r, t);
6160
6160
  Ms($, w, i, T), c = $, g.initSegment = c, c.rawProgramDateTime && !g.rawProgramDateTime && (g.rawProgramDateTime = c.rawProgramDateTime);
6161
6161
  } else {
@@ -6183,19 +6183,19 @@ class Oe {
6183
6183
  let w = o.partList;
6184
6184
  w || (w = o.partList = []);
6185
6185
  const $ = h > 0 ? w[w.length - 1] : void 0, O = h++, U = new ne(_);
6186
- xe(o, U, ["BYTERANGE", "URI"]);
6187
- const F = new go(U, g, t, O, $);
6186
+ ve(o, U, ["BYTERANGE", "URI"]);
6187
+ const F = new ho(U, g, t, O, $);
6188
6188
  w.push(F), g.duration += F.duration;
6189
6189
  break;
6190
6190
  }
6191
6191
  case "PRELOAD-HINT": {
6192
6192
  const w = new ne(_);
6193
- xe(o, w, ["URI"]), o.preloadHint = w;
6193
+ ve(o, w, ["URI"]), o.preloadHint = w;
6194
6194
  break;
6195
6195
  }
6196
6196
  case "RENDITION-REPORT": {
6197
6197
  const w = new ne(_);
6198
- xe(o, w, ["URI"]), o.renditionReports = o.renditionReports || [], o.renditionReports.push(w);
6198
+ ve(o, w, ["URI"]), o.renditionReports = o.renditionReports || [], o.renditionReports.push(w);
6199
6199
  break;
6200
6200
  }
6201
6201
  default:
@@ -6212,13 +6212,13 @@ class Oe {
6212
6212
  o.endSN = C !== "initSegment" ? C : 0, o.live || (B.endList = !0), R && (o.startCC = R.cc);
6213
6213
  } else
6214
6214
  o.endSN = 0, o.startCC = 0;
6215
- return o.fragmentHint && (d += o.fragmentHint.duration), o.totalduration = d, o.endCC = f, x > 0 && sl(l, x), o;
6215
+ return o.fragmentHint && (d += o.fragmentHint.duration), o.totalduration = d, o.endCC = f, x > 0 && el(l, x), o;
6216
6216
  }
6217
6217
  }
6218
6218
  function ks(s, e, t) {
6219
6219
  var i, r;
6220
6220
  const n = new ne(s);
6221
- xe(t, n, ["KEYFORMAT", "KEYFORMATVERSIONS", "URI", "IV", "URI"]);
6221
+ ve(t, n, ["KEYFORMAT", "KEYFORMATVERSIONS", "URI", "IV", "URI"]);
6222
6222
  const a = (i = n.METHOD) != null ? i : "", o = n.URI, l = n.hexadecimalInteger("IV"), c = n.KEYFORMATVERSIONS, u = (r = n.KEYFORMAT) != null ? r : "identity";
6223
6223
  o && n.IV && !l && S.error(`Invalid IV: ${n.IV}`);
6224
6224
  const h = o ? Oe.resolve(o, e) : "", d = (c || "1").split("/").map(Number).filter(Number.isFinite);
@@ -6228,10 +6228,10 @@ function Ps(s) {
6228
6228
  const t = new ne(s).decimalFloatingPoint("TIME-OFFSET");
6229
6229
  return W(t) ? t : null;
6230
6230
  }
6231
- function il(s, e) {
6231
+ function Jo(s, e) {
6232
6232
  let t = (s || "").split(/[ ,]+/).filter((i) => i);
6233
6233
  ["video", "audio", "text"].forEach((i) => {
6234
- const r = t.filter((n) => Xo(n, i));
6234
+ const r = t.filter((n) => Yo(n, i));
6235
6235
  r.length && (e[`${i}Codec`] = r.join(","), t = t.filter((n) => r.indexOf(n) === -1));
6236
6236
  }), e.unknownCodecs = t;
6237
6237
  }
@@ -6239,7 +6239,7 @@ function Os(s, e, t) {
6239
6239
  const i = e[t];
6240
6240
  i && (s[t] = i);
6241
6241
  }
6242
- function sl(s, e) {
6242
+ function el(s, e) {
6243
6243
  let t = s[e];
6244
6244
  for (let i = e; i--; ) {
6245
6245
  const r = s[i];
@@ -6288,7 +6288,7 @@ function fi(s, e) {
6288
6288
  let t = s.url;
6289
6289
  return (t === void 0 || t.indexOf("data:") === 0) && (t = e.url), t;
6290
6290
  }
6291
- class rl {
6291
+ class tl {
6292
6292
  constructor(e) {
6293
6293
  this.hls = void 0, this.loaders = /* @__PURE__ */ Object.create(null), this.variableList = null, this.hls = e, this.registerListeners();
6294
6294
  }
@@ -6702,13 +6702,13 @@ function nt(s) {
6702
6702
  function Fi(s, e, t, i) {
6703
6703
  const r = s.mode;
6704
6704
  if (r === "disabled" && (s.mode = "hidden"), s.cues && s.cues.length > 0) {
6705
- const n = al(s.cues, e, t);
6705
+ const n = sl(s.cues, e, t);
6706
6706
  for (let a = 0; a < n.length; a++)
6707
6707
  (!i || i(n[a])) && s.removeCue(n[a]);
6708
6708
  }
6709
6709
  r === "disabled" && (s.mode = r);
6710
6710
  }
6711
- function nl(s, e) {
6711
+ function il(s, e) {
6712
6712
  if (e < s[0].startTime)
6713
6713
  return 0;
6714
6714
  const t = s.length - 1;
@@ -6726,8 +6726,8 @@ function nl(s, e) {
6726
6726
  }
6727
6727
  return s[i].startTime - e < e - s[r].startTime ? i : r;
6728
6728
  }
6729
- function al(s, e, t) {
6730
- const i = [], r = nl(s, e);
6729
+ function sl(s, e, t) {
6730
+ const i = [], r = il(s, e);
6731
6731
  if (r > -1)
6732
6732
  for (let n = r, a = s.length; n < a; n++) {
6733
6733
  const o = s[n];
@@ -6751,7 +6751,7 @@ var De = {
6751
6751
  dateRange: "com.apple.quicktime.HLS",
6752
6752
  emsg: "https://aomedia.org/emsg/ID3"
6753
6753
  };
6754
- const ol = 0.25;
6754
+ const rl = 0.25;
6755
6755
  function Mi() {
6756
6756
  if (typeof self != "undefined")
6757
6757
  return self.VTTCue || self.TextTrackCue;
@@ -6779,10 +6779,10 @@ const At = (() => {
6779
6779
  function mi(s, e) {
6780
6780
  return s.getTime() / 1e3 - e;
6781
6781
  }
6782
- function ll(s) {
6782
+ function nl(s) {
6783
6783
  return Uint8Array.from(s.replace(/^0x/, "").replace(/([\da-fA-F]{2}) ?/g, "0x$1 ").replace(/ +$/, "").split(" ")).buffer;
6784
6784
  }
6785
- class cl {
6785
+ class al {
6786
6786
  constructor(e) {
6787
6787
  this.hls = void 0, this.id3Track = null, this.media = null, this.dateRangeCuesAppended = {}, this.hls = e, this._registerListeners();
6788
6788
  }
@@ -6852,7 +6852,7 @@ class cl {
6852
6852
  if (c) {
6853
6853
  const u = n[o].pts;
6854
6854
  let h = u + n[o].duration;
6855
- h > At && (h = At), h - u <= 0 && (h = u + ol);
6855
+ h > At && (h = At), h - u <= 0 && (h = u + rl);
6856
6856
  for (let f = 0; f < c.length; f++) {
6857
6857
  const m = c[f];
6858
6858
  if (!hn(m)) {
@@ -6940,14 +6940,14 @@ class cl {
6940
6940
  const x = Object.keys(d.attr);
6941
6941
  for (let L = 0; L < x.length; L++) {
6942
6942
  const E = x[L];
6943
- if (!fo(E))
6943
+ if (!co(E))
6944
6944
  continue;
6945
6945
  const k = g[E];
6946
6946
  if (k)
6947
6947
  y && !m.durationKnown && (k.endTime = v);
6948
6948
  else if (c) {
6949
6949
  let R = d.attr[E];
6950
- mo(E) && (R = ll(R));
6950
+ uo(E) && (R = nl(R));
6951
6951
  const B = $s(c, f, v, {
6952
6952
  key: E,
6953
6953
  data: R
@@ -6963,7 +6963,7 @@ class cl {
6963
6963
  }
6964
6964
  }
6965
6965
  }
6966
- class ul {
6966
+ class ol {
6967
6967
  constructor(e) {
6968
6968
  this.hls = void 0, this.config = void 0, this.media = null, this.levelDetails = null, this.currentTime = 0, this.stallCount = 0, this._latency = null, this.timeupdateHandler = () => this.timeupdate(), this.hls = e, this.config = e.config, this.registerListeners();
6969
6969
  }
@@ -7096,11 +7096,11 @@ class ul {
7096
7096
  }
7097
7097
  }
7098
7098
  const Ni = ["NONE", "TYPE-0", "TYPE-1", null];
7099
- function hl(s) {
7099
+ function ll(s) {
7100
7100
  return Ni.indexOf(s) > -1;
7101
7101
  }
7102
7102
  const Wt = ["SDR", "PQ", "HLG"];
7103
- function dl(s) {
7103
+ function cl(s) {
7104
7104
  return !!s && Wt.indexOf(s) > -1;
7105
7105
  }
7106
7106
  var vt = {
@@ -7108,7 +7108,7 @@ var vt = {
7108
7108
  Yes: "YES",
7109
7109
  v2: "v2"
7110
7110
  };
7111
- function fl(s, e) {
7111
+ function ul(s, e) {
7112
7112
  const {
7113
7113
  canSkipUntil: t,
7114
7114
  canSkipDateRanges: i,
@@ -7231,7 +7231,7 @@ function An(s, e, t, i, r, n) {
7231
7231
  gi(g[f], g[f + 1]);
7232
7232
  return s.fragmentHint && gi(g[g.length - 1], s.fragmentHint), s.PTSKnown = s.alignedSliding = !0, h;
7233
7233
  }
7234
- function ml(s, e) {
7234
+ function hl(s, e) {
7235
7235
  let t = null;
7236
7236
  const i = s.fragments;
7237
7237
  for (let l = i.length - 1; l >= 0; l--) {
@@ -7243,7 +7243,7 @@ function ml(s, e) {
7243
7243
  }
7244
7244
  s.fragmentHint && delete s.fragmentHint.endPTS;
7245
7245
  let r = 0, n;
7246
- if (yl(s, e, (l, c) => {
7246
+ if (ml(s, e, (l, c) => {
7247
7247
  l.relurl && (r = l.cc - c.cc), W(l.startPTS) && W(l.endPTS) && (c.start = c.startPTS = l.startPTS, c.startDTS = l.startDTS, c.maxStartPTS = l.maxStartPTS, c.endPTS = l.endPTS, c.endDTS = l.endDTS, c.minEndPTS = l.minEndPTS, c.duration = l.endPTS - l.startPTS, c.duration && (n = c), e.PTSKnown = e.alignedSliding = !0), c.elementaryStreams = l.elementaryStreams, c.loader = l.loader, c.stats = l.stats, l.initSegment && (c.initSegment = l.initSegment, t = l.initSegment);
7248
7248
  }), t && (e.fragmentHint ? e.fragments.concat(e.fragmentHint) : e.fragments).forEach((c) => {
7249
7249
  var u;
@@ -7255,14 +7255,14 @@ function ml(s, e) {
7255
7255
  e.fragments.shift();
7256
7256
  e.startSN = e.fragments[0].sn, e.startCC = e.fragments[0].cc;
7257
7257
  } else
7258
- e.canSkipDateRanges && (e.dateRanges = gl(s.dateRanges, e.dateRanges, e.recentlyRemovedDateranges));
7258
+ e.canSkipDateRanges && (e.dateRanges = dl(s.dateRanges, e.dateRanges, e.recentlyRemovedDateranges));
7259
7259
  const a = e.fragments;
7260
7260
  if (r) {
7261
7261
  S.warn("discontinuity sliding from playlist, take drift into account");
7262
7262
  for (let l = 0; l < a.length; l++)
7263
7263
  a[l].cc += r;
7264
7264
  }
7265
- e.skippedSegments && (e.startCC = e.fragments[0].cc), pl(s.partList, e.partList, (l, c) => {
7265
+ e.skippedSegments && (e.startCC = e.fragments[0].cc), fl(s.partList, e.partList, (l, c) => {
7266
7266
  c.elementaryStreams = l.elementaryStreams, c.stats = l.stats;
7267
7267
  }), n ? An(e, n, n.startPTS, n.endPTS, n.startDTS, n.endDTS) : Ln(s, e), a.length && (e.totalduration = e.edge - a[0].start), e.driftStartTime = s.driftStartTime, e.driftStart = s.driftStart;
7268
7268
  const o = e.advancedDateTime;
@@ -7272,7 +7272,7 @@ function ml(s, e) {
7272
7272
  } else
7273
7273
  e.driftEndTime = s.driftEndTime, e.driftEnd = s.driftEnd, e.advancedDateTime = s.advancedDateTime;
7274
7274
  }
7275
- function gl(s, e, t) {
7275
+ function dl(s, e, t) {
7276
7276
  const i = oe({}, s);
7277
7277
  return t && t.forEach((r) => {
7278
7278
  delete i[r];
@@ -7281,7 +7281,7 @@ function gl(s, e, t) {
7281
7281
  n.isValid ? i[r] = n : S.warn(`Ignoring invalid Playlist Delta Update DATERANGE tag: "${JSON.stringify(e[r].attr)}"`);
7282
7282
  }), i;
7283
7283
  }
7284
- function pl(s, e, t) {
7284
+ function fl(s, e, t) {
7285
7285
  if (s && e) {
7286
7286
  let i = 0;
7287
7287
  for (let r = 0, n = s.length; r <= n; r++) {
@@ -7290,7 +7290,7 @@ function pl(s, e, t) {
7290
7290
  }
7291
7291
  }
7292
7292
  }
7293
- function yl(s, e, t) {
7293
+ function ml(s, e, t) {
7294
7294
  const i = e.skippedSegments, r = Math.max(s.startSN, e.startSN) - e.startSN, n = (s.fragmentHint ? 1 : 0) + (i ? e.endSN : Math.min(s.endSN, e.endSN)) - e.startSN, a = e.startSN - s.startSN, o = e.fragmentHint ? e.fragments.concat(e.fragmentHint) : e.fragments, l = s.fragmentHint ? s.fragments.concat(s.fragmentHint) : s.fragments;
7295
7295
  for (let c = r; c <= n; c++) {
7296
7296
  const u = l[a + c];
@@ -7310,7 +7310,7 @@ function Bi(s, e) {
7310
7310
  s.fragmentHint && (s.fragmentHint.start += e);
7311
7311
  }
7312
7312
  }
7313
- function vl(s, e = 1 / 0) {
7313
+ function gl(s, e = 1 / 0) {
7314
7314
  let t = 1e3 * s.targetduration;
7315
7315
  if (s.updated) {
7316
7316
  const i = s.fragments, r = 4;
@@ -7322,7 +7322,7 @@ function vl(s, e = 1 / 0) {
7322
7322
  t /= 2;
7323
7323
  return Math.round(t);
7324
7324
  }
7325
- function xl(s, e, t) {
7325
+ function pl(s, e, t) {
7326
7326
  if (!(s != null && s.details))
7327
7327
  return null;
7328
7328
  const i = s.details;
@@ -7379,10 +7379,10 @@ function Ks(s) {
7379
7379
  function Yt(s, e, t, i) {
7380
7380
  if (!s)
7381
7381
  return !1;
7382
- const r = i == null ? void 0 : i.code, n = e < s.maxNumRetry && (Tl(r) || !!t);
7382
+ const r = i == null ? void 0 : i.code, n = e < s.maxNumRetry && (yl(r) || !!t);
7383
7383
  return s.shouldRetry ? s.shouldRetry(s, e, t, i, n) : n;
7384
7384
  }
7385
- function Tl(s) {
7385
+ function yl(s) {
7386
7386
  return s === 0 && navigator.onLine === !1 || !!s && (s < 400 || s > 499);
7387
7387
  }
7388
7388
  const _n = {
@@ -7416,7 +7416,7 @@ const _n = {
7416
7416
  return null;
7417
7417
  }
7418
7418
  };
7419
- function El(s, e, t) {
7419
+ function vl(s, e, t) {
7420
7420
  if (e === null || !Array.isArray(s) || !s.length || !W(e))
7421
7421
  return null;
7422
7422
  const i = s[0].programDateTime;
@@ -7428,7 +7428,7 @@ function El(s, e, t) {
7428
7428
  t = t || 0;
7429
7429
  for (let n = 0; n < s.length; ++n) {
7430
7430
  const a = s[n];
7431
- if (Sl(e, t, a))
7431
+ if (xl(e, t, a))
7432
7432
  return a;
7433
7433
  }
7434
7434
  return null;
@@ -7452,11 +7452,11 @@ function $i(s = 0, e = 0, t) {
7452
7452
  const i = Math.min(e, t.duration + (t.deltaPTS ? t.deltaPTS : 0));
7453
7453
  return t.start + t.duration - i <= s ? 1 : t.start - i > s && t.start ? -1 : 0;
7454
7454
  }
7455
- function Sl(s, e, t) {
7455
+ function xl(s, e, t) {
7456
7456
  const i = Math.min(e, t.duration + (t.deltaPTS ? t.deltaPTS : 0)) * 1e3;
7457
7457
  return (t.endProgramDateTime || 0) - i > s;
7458
7458
  }
7459
- function bl(s, e) {
7459
+ function Tl(s, e) {
7460
7460
  return _n.search(s, (t) => t.cc < e ? 1 : t.cc > e ? -1 : 0);
7461
7461
  }
7462
7462
  var me = {
@@ -7472,7 +7472,7 @@ var me = {
7472
7472
  MoveAllAlternatesMatchingHDCP: 2,
7473
7473
  SwitchToSDR: 4
7474
7474
  };
7475
- class Al {
7475
+ class El {
7476
7476
  constructor(e) {
7477
7477
  this.hls = void 0, this.playlistError = 0, this.penalizedRenditions = {}, this.log = void 0, this.warn = void 0, this.error = void 0, this.hls = e, this.log = S.log.bind(S, "[info]:"), this.warn = S.warn.bind(S, "[warning]:"), this.error = S.error.bind(S, "[error]:"), this.registerListeners();
7478
7478
  }
@@ -7767,7 +7767,7 @@ class ns {
7767
7767
  stats: n
7768
7768
  } = t, a = self.performance.now(), o = n.loading.first ? Math.max(0, a - n.loading.first) : 0;
7769
7769
  if (r.advancedDateTime = Date.now() - o, r.live || i != null && i.live) {
7770
- if (r.reloaded(i), i && this.log(`live playlist ${e} ${r.advanced ? "REFRESHED " + r.lastPartSn + "-" + r.lastPartIndex : r.updated ? "UPDATED" : "MISSED"}`), i && r.fragments.length > 0 && ml(i, r), !this.canLoad || !r.live)
7770
+ if (r.reloaded(i), i && this.log(`live playlist ${e} ${r.advanced ? "REFRESHED " + r.lastPartSn + "-" + r.lastPartIndex : r.updated ? "UPDATED" : "MISSED"}`), i && r.fragments.length > 0 && hl(i, r), !this.canLoad || !r.live)
7771
7771
  return;
7772
7772
  let l, c, u;
7773
7773
  if (r.canBlockReload && r.endSN && r.advanced) {
@@ -7794,7 +7794,7 @@ class ns {
7794
7794
  }
7795
7795
  } else
7796
7796
  (r.canBlockReload || r.canSkipUntil) && (l = this.getDeliveryDirectives(r, t.deliveryDirectives, c, u));
7797
- const h = this.hls.mainForwardBufferInfo, d = h ? h.end - h.len : 0, f = (r.edge - d) * 1e3, m = vl(r, f);
7797
+ const h = this.hls.mainForwardBufferInfo, d = h ? h.end - h.len : 0, f = (r.edge - d) * 1e3, m = gl(r, f);
7798
7798
  r.updated && a > this.requestScheduled + m && (this.requestScheduled = n.loading.start), c !== void 0 && r.canBlockReload ? this.requestScheduled = n.loading.first + m - (r.partTarget * 1e3 || 1e3) : this.requestScheduled === -1 || this.requestScheduled + m < a ? this.requestScheduled = a : this.requestScheduled - a <= 0 && (this.requestScheduled += m);
7799
7799
  let g = this.requestScheduled - a;
7800
7800
  g = Math.max(0, g), this.log(`reload live playlist ${e} in ${Math.round(g)} ms`), this.timer = self.setTimeout(() => this.loadPlaylist(l), g);
@@ -7802,7 +7802,7 @@ class ns {
7802
7802
  this.clearTimer();
7803
7803
  }
7804
7804
  getDeliveryDirectives(e, t, i, r) {
7805
- let n = fl(e, i);
7805
+ let n = ul(e, i);
7806
7806
  return t != null && t.skip && e.deltaUpdateFailed && (i = t.msn, r = t.part, n = vt.No), new Us(i, r, n);
7807
7807
  }
7808
7808
  checkRetry(e) {
@@ -7847,7 +7847,7 @@ class Je {
7847
7847
  return this.estimate_;
7848
7848
  }
7849
7849
  }
7850
- class Ll {
7850
+ class Sl {
7851
7851
  constructor(e, t, i, r = 100) {
7852
7852
  this.defaultEstimate_ = void 0, this.minWeight_ = void 0, this.minDelayMs_ = void 0, this.slow_ = void 0, this.fast_ = void 0, this.defaultTTFB_ = void 0, this.ttfb_ = void 0, this.defaultEstimate_ = i, this.minWeight_ = 1e-3, this.minDelayMs_ = 50, this.slow_ = new Je(e), this.fast_ = new Je(t), this.defaultTTFB_ = r, this.ttfb_ = new Je(e);
7853
7853
  }
@@ -7889,7 +7889,7 @@ const Dn = {
7889
7889
  smooth: !0
7890
7890
  }]
7891
7891
  }, Ws = {};
7892
- function Rl(s, e, t, i, r, n) {
7892
+ function bl(s, e, t, i, r, n) {
7893
7893
  const a = s.audioCodec ? s.audioGroups : null, o = n == null ? void 0 : n.audioCodec, l = n == null ? void 0 : n.channels, c = l ? parseInt(l) : o ? 1 / 0 : 2;
7894
7894
  let u = null;
7895
7895
  if (a != null && a.length)
@@ -7912,7 +7912,7 @@ function Rl(s, e, t, i, r, n) {
7912
7912
  }
7913
7913
  return s.videoCodec !== void 0 && (s.width > 1920 && s.height > 1088 || s.height > 1920 && s.width > 1088 || s.frameRate > Math.max(i, 30) || s.videoRange !== "SDR" && s.videoRange !== t || s.bitrate > Math.max(r, 8e6)) || !!u && W(c) && Object.keys(u).some((h) => parseInt(h) > c);
7914
7914
  }
7915
- function Cl(s, e, t) {
7915
+ function Al(s, e, t) {
7916
7916
  const i = s.videoCodec, r = s.audioCodec;
7917
7917
  if (!i || !r || !t)
7918
7918
  return Promise.resolve(Dn);
@@ -7947,7 +7947,7 @@ function Cl(s, e, t) {
7947
7947
  }
7948
7948
  }));
7949
7949
  }), Promise.all(o.map((l) => {
7950
- const c = _l(l);
7950
+ const c = Ll(l);
7951
7951
  return Ws[c] || (Ws[c] = t.decodingInfo(l));
7952
7952
  })).then((l) => ({
7953
7953
  supported: !l.some((c) => !c.supported),
@@ -7960,7 +7960,7 @@ function Cl(s, e, t) {
7960
7960
  error: l
7961
7961
  }));
7962
7962
  }
7963
- function _l(s) {
7963
+ function Ll(s) {
7964
7964
  const {
7965
7965
  audio: e,
7966
7966
  video: t
@@ -7974,7 +7974,7 @@ function _l(s) {
7974
7974
  }
7975
7975
  return "";
7976
7976
  }
7977
- function Dl() {
7977
+ function Rl() {
7978
7978
  if (typeof matchMedia == "function") {
7979
7979
  const s = matchMedia("(dynamic-range: high)"), e = matchMedia("bad query");
7980
7980
  if (s.media !== e.media)
@@ -7982,20 +7982,20 @@ function Dl() {
7982
7982
  }
7983
7983
  return !1;
7984
7984
  }
7985
- function Il(s, e) {
7985
+ function Cl(s, e) {
7986
7986
  let t = !1, i = [];
7987
- return s && (t = s !== "SDR", i = [s]), e && (i = e.allowedVideoRanges || Wt.slice(0), t = e.preferHDR !== void 0 ? e.preferHDR : Dl(), t ? i = i.filter((r) => r !== "SDR") : i = ["SDR"]), {
7987
+ return s && (t = s !== "SDR", i = [s]), e && (i = e.allowedVideoRanges || Wt.slice(0), t = e.preferHDR !== void 0 ? e.preferHDR : Rl(), t ? i = i.filter((r) => r !== "SDR") : i = ["SDR"]), {
7988
7988
  preferHDR: t,
7989
7989
  allowedVideoRanges: i
7990
7990
  };
7991
7991
  }
7992
- function wl(s, e, t, i, r) {
7992
+ function _l(s, e, t, i, r) {
7993
7993
  const n = Object.keys(s), a = i == null ? void 0 : i.channels, o = i == null ? void 0 : i.audioCodec, l = a && parseInt(a) === 2;
7994
7994
  let c = !0, u = !1, h = 1 / 0, d = 1 / 0, f = 1 / 0, m = 0, g = [];
7995
7995
  const {
7996
7996
  preferHDR: y,
7997
7997
  allowedVideoRanges: v
7998
- } = Il(e, r);
7998
+ } = Cl(e, r);
7999
7999
  for (let E = n.length; E--; ) {
8000
8000
  const k = s[n[E]];
8001
8001
  c = k.channels[2] > 0, h = Math.min(h, k.minHeight), d = Math.min(d, k.minFramerate), f = Math.min(f, k.minBitrate);
@@ -8031,7 +8031,7 @@ function wl(s, e, t, i, r) {
8031
8031
  function $e(s, e) {
8032
8032
  S.log(`[abr] start candidates with "${s}" ignored because ${e}`);
8033
8033
  }
8034
- function kl(s) {
8034
+ function Dl(s) {
8035
8035
  return s.reduce((e, t) => {
8036
8036
  let i = e.groups[t.groupId];
8037
8037
  i || (i = e.groups[t.groupId] = {
@@ -8050,7 +8050,7 @@ function kl(s) {
8050
8050
  groups: {}
8051
8051
  });
8052
8052
  }
8053
- function Pl(s, e, t, i) {
8053
+ function Il(s, e, t, i) {
8054
8054
  return s.slice(t, i + 1).reduce((r, n) => {
8055
8055
  if (!n.codecSet)
8056
8056
  return r;
@@ -8103,9 +8103,9 @@ function at(s, e, t) {
8103
8103
  characteristics: o,
8104
8104
  default: l
8105
8105
  } = s, c = s.forced;
8106
- return (i === void 0 || e.groupId === i) && (r === void 0 || e.name === r) && (n === void 0 || e.lang === n) && (n === void 0 || e.assocLang === a) && (l === void 0 || e.default === l) && (c === void 0 || e.forced === c) && (o === void 0 || Ol(o, e.characteristics)) && (t === void 0 || t(s, e));
8106
+ return (i === void 0 || e.groupId === i) && (r === void 0 || e.name === r) && (n === void 0 || e.lang === n) && (n === void 0 || e.assocLang === a) && (l === void 0 || e.default === l) && (c === void 0 || e.forced === c) && (o === void 0 || wl(o, e.characteristics)) && (t === void 0 || t(s, e));
8107
8107
  }
8108
- function Ol(s, e = "") {
8108
+ function wl(s, e = "") {
8109
8109
  const t = s.split(","), i = e.split(",");
8110
8110
  return t.length === i.length && !t.some((r) => i.indexOf(r) === -1);
8111
8111
  }
@@ -8116,7 +8116,7 @@ function et(s, e) {
8116
8116
  } = s;
8117
8117
  return (t === void 0 || (e.audioCodec || "").substring(0, 4) === t.substring(0, 4)) && (i === void 0 || i === (e.channels || "2"));
8118
8118
  }
8119
- function Fl(s, e, t, i, r) {
8119
+ function kl(s, e, t, i, r) {
8120
8120
  const n = e[i], o = e.reduce((d, f, m) => {
8121
8121
  const g = f.uri;
8122
8122
  return (d[g] || (d[g] = [])).push(m), d;
@@ -8142,7 +8142,7 @@ function zs(s, e, t) {
8142
8142
  return i;
8143
8143
  return -1;
8144
8144
  }
8145
- class Ml {
8145
+ class Pl {
8146
8146
  constructor(e) {
8147
8147
  this.hls = void 0, this.lastLevelLoadSec = 0, this.lastLoadedFragLevel = -1, this.firstSelection = -1, this._nextAutoLevel = -1, this.nextAutoLevelKey = "", this.audioTracksByGroup = null, this.codecTiers = null, this.timer = -1, this.fragCurrent = null, this.partCurrent = null, this.bitrateTestDelay = 0, this.bwEstimator = void 0, this._abandonRulesCheck = () => {
8148
8148
  const {
@@ -8204,7 +8204,7 @@ class Ml {
8204
8204
  }
8205
8205
  initEstimator() {
8206
8206
  const e = this.hls.config;
8207
- return new Ll(e.abrEwmaSlowVoD, e.abrEwmaFastVoD, e.abrEwmaDefaultEstimate);
8207
+ return new Sl(e.abrEwmaSlowVoD, e.abrEwmaFastVoD, e.abrEwmaDefaultEstimate);
8208
8208
  }
8209
8209
  registerListeners() {
8210
8210
  const {
@@ -8402,11 +8402,11 @@ class Ml {
8402
8402
  const {
8403
8403
  audioPreference: B,
8404
8404
  videoPreference: C
8405
- } = v, b = this.audioTracksByGroup || (this.audioTracksByGroup = kl(g));
8405
+ } = v, b = this.audioTracksByGroup || (this.audioTracksByGroup = Dl(g));
8406
8406
  if (L) {
8407
8407
  if (this.firstSelection !== -1)
8408
8408
  return this.firstSelection;
8409
- const O = this.codecTiers || (this.codecTiers = Pl(m, b, t, i)), U = wl(O, k, e, B, C), {
8409
+ const O = this.codecTiers || (this.codecTiers = Il(m, b, t, i)), U = _l(O, k, e, B, C), {
8410
8410
  codecSet: F,
8411
8411
  videoRanges: V,
8412
8412
  minFramerate: H,
@@ -8424,7 +8424,7 @@ class Ml {
8424
8424
  continue;
8425
8425
  if (v.useMediaCapabilities && !U.supportedResult && !U.supportedPromise) {
8426
8426
  const ae = navigator.mediaCapabilities;
8427
- typeof (ae == null ? void 0 : ae.decodingInfo) == "function" && Rl(U, b, k, R, e, B) ? (U.supportedPromise = Cl(U, b, ae), U.supportedPromise.then((ce) => {
8427
+ typeof (ae == null ? void 0 : ae.decodingInfo) == "function" && bl(U, b, k, R, e, B) ? (U.supportedPromise = Al(U, b, ae), U.supportedPromise.then((ce) => {
8428
8428
  if (!this.hls)
8429
8429
  return;
8430
8430
  U.supportedResult = ce;
@@ -8462,7 +8462,7 @@ class Ml {
8462
8462
  this._nextAutoLevel !== r && (this.nextAutoLevelKey = "", this._nextAutoLevel = r);
8463
8463
  }
8464
8464
  }
8465
- class Nl {
8465
+ class Ol {
8466
8466
  constructor() {
8467
8467
  this._boundTick = void 0, this._tickTimer = null, this._tickInterval = null, this._tickCallCount = 0, this._boundTick = this.tick.bind(this);
8468
8468
  }
@@ -8523,7 +8523,7 @@ var he = {
8523
8523
  PARTIAL: "PARTIAL",
8524
8524
  OK: "OK"
8525
8525
  };
8526
- class Bl {
8526
+ class Fl {
8527
8527
  constructor(e) {
8528
8528
  this.activePartLists = /* @__PURE__ */ Object.create(null), this.endListFragments = /* @__PURE__ */ Object.create(null), this.fragments = /* @__PURE__ */ Object.create(null), this.timeRanges = /* @__PURE__ */ Object.create(null), this.bufferPadding = 0.2, this.hls = void 0, this.hasGaps = !1, this.hls = e, this._registerListeners();
8529
8529
  }
@@ -8772,7 +8772,7 @@ function Lt(s) {
8772
8772
  function tt(s) {
8773
8773
  return `${s.type}_${s.level}_${s.sn}`;
8774
8774
  }
8775
- const $l = {
8775
+ const Ml = {
8776
8776
  length: 0,
8777
8777
  start: () => 0,
8778
8778
  end: () => 0
@@ -8856,7 +8856,7 @@ class ie {
8856
8856
  try {
8857
8857
  return e.buffered;
8858
8858
  } catch (t) {
8859
- return S.log("failed to get media.buffered", t), $l;
8859
+ return S.log("failed to get media.buffered", t), Ml;
8860
8860
  }
8861
8861
  }
8862
8862
  }
@@ -8885,10 +8885,10 @@ function Ft(s, e) {
8885
8885
  }
8886
8886
  return null;
8887
8887
  }
8888
- function Ul(s, e, t) {
8888
+ function Nl(s, e, t) {
8889
8889
  return !!(e && (t.endCC > t.startCC || s && s.cc < t.startCC));
8890
8890
  }
8891
- function Gl(s, e) {
8891
+ function Bl(s, e) {
8892
8892
  const t = s.fragments, i = e.fragments;
8893
8893
  if (!i.length || !t.length) {
8894
8894
  S.log("No fragments to align");
@@ -8913,12 +8913,12 @@ function In(s, e) {
8913
8913
  Ys(t[i], s);
8914
8914
  e.fragmentHint && Ys(e.fragmentHint, s), e.alignedSliding = !0;
8915
8915
  }
8916
- function Hl(s, e, t) {
8917
- e && (Vl(s, t, e), !t.alignedSliding && e && qt(t, e), !t.alignedSliding && e && !t.skippedSegments && Ln(e, t));
8916
+ function $l(s, e, t) {
8917
+ e && (Ul(s, t, e), !t.alignedSliding && e && qt(t, e), !t.alignedSliding && e && !t.skippedSegments && Ln(e, t));
8918
8918
  }
8919
- function Vl(s, e, t) {
8920
- if (Ul(s, t, e)) {
8921
- const i = Gl(t, e);
8919
+ function Ul(s, e, t) {
8920
+ if (Nl(s, t, e)) {
8921
+ const i = Bl(t, e);
8922
8922
  i && W(i.start) && (S.log(`Adjusting PTS using last level due to CC increase within current level ${e.url}`), In(i.start, e));
8923
8923
  }
8924
8924
  }
@@ -8938,7 +8938,7 @@ function qt(s, e) {
8938
8938
  In(c, s);
8939
8939
  }
8940
8940
  const js = Math.pow(2, 17);
8941
- class Kl {
8941
+ class Gl {
8942
8942
  constructor(e) {
8943
8943
  this.config = void 0, this.loader = null, this.partLoadTimeout = -1, this.config = e;
8944
8944
  }
@@ -9156,7 +9156,7 @@ class Ve extends Error {
9156
9156
  super(e.error.message), this.data = void 0, this.data = e;
9157
9157
  }
9158
9158
  }
9159
- class Wl {
9159
+ class Hl {
9160
9160
  constructor(e, t) {
9161
9161
  this.subtle = void 0, this.aesIV = void 0, this.subtle = e, this.aesIV = t;
9162
9162
  }
@@ -9167,7 +9167,7 @@ class Wl {
9167
9167
  }, t, e);
9168
9168
  }
9169
9169
  }
9170
- class zl {
9170
+ class Vl {
9171
9171
  constructor(e, t) {
9172
9172
  this.subtle = void 0, this.key = void 0, this.subtle = e, this.key = t;
9173
9173
  }
@@ -9177,11 +9177,11 @@ class zl {
9177
9177
  }, !1, ["encrypt", "decrypt"]);
9178
9178
  }
9179
9179
  }
9180
- function Yl(s) {
9180
+ function Kl(s) {
9181
9181
  const e = s.byteLength, t = e && new DataView(s.buffer).getUint8(e - 1);
9182
9182
  return t ? Qe(s, 0, e - t) : s;
9183
9183
  }
9184
- class jl {
9184
+ class Wl {
9185
9185
  constructor() {
9186
9186
  this.rcon = [0, 1, 2, 4, 8, 16, 32, 64, 128, 27, 54], this.subMix = [new Uint32Array(256), new Uint32Array(256), new Uint32Array(256), new Uint32Array(256)], this.invSubMix = [new Uint32Array(256), new Uint32Array(256), new Uint32Array(256), new Uint32Array(256)], this.sBox = new Uint32Array(256), this.invSBox = new Uint32Array(256), this.key = new Uint32Array(0), this.ksRows = 0, this.keySize = 0, this.keySchedule = void 0, this.invKeySchedule = void 0, this.initTable();
9187
9187
  }
@@ -9248,7 +9248,7 @@ class jl {
9248
9248
  return T.buffer;
9249
9249
  }
9250
9250
  }
9251
- const ql = 16;
9251
+ const zl = 16;
9252
9252
  class os {
9253
9253
  constructor(e, {
9254
9254
  removePKCS7Padding: t = !0
@@ -9275,7 +9275,7 @@ class os {
9275
9275
  if (!e || t)
9276
9276
  return this.reset(), null;
9277
9277
  const i = new Uint8Array(e);
9278
- return this.reset(), this.removePKCS7Padding ? Yl(i) : i;
9278
+ return this.reset(), this.removePKCS7Padding ? Kl(i) : i;
9279
9279
  }
9280
9280
  reset() {
9281
9281
  this.currentResult = null, this.currentIV = null, this.remainderData = null, this.softwareDecrypter && (this.softwareDecrypter = null);
@@ -9301,13 +9301,13 @@ class os {
9301
9301
  return null;
9302
9302
  r && (i = r);
9303
9303
  let l = this.softwareDecrypter;
9304
- l || (l = this.softwareDecrypter = new jl()), l.expandKey(t);
9304
+ l || (l = this.softwareDecrypter = new Wl()), l.expandKey(t);
9305
9305
  const c = n;
9306
9306
  return this.currentResult = l.decrypt(o.buffer, 0, i), this.currentIV = Qe(o, -16).buffer, c || null;
9307
9307
  }
9308
9308
  webCryptoDecrypt(e, t, i) {
9309
9309
  const r = this.subtle;
9310
- return (this.key !== t || !this.fastAesKey) && (this.key = t, this.fastAesKey = new zl(r, t)), this.fastAesKey.expandKey().then((n) => r ? (this.logOnce("WebCrypto AES decrypt"), new Wl(r, new Uint8Array(i)).decrypt(e.buffer, n)) : Promise.reject(new Error("web crypto not initialized"))).catch((n) => (S.warn(`[decrypter]: WebCrypto Error, disable WebCrypto API, ${n.name}: ${n.message}`), this.onWebCryptoError(e, t, i)));
9310
+ return (this.key !== t || !this.fastAesKey) && (this.key = t, this.fastAesKey = new Vl(r, t)), this.fastAesKey.expandKey().then((n) => r ? (this.logOnce("WebCrypto AES decrypt"), new Hl(r, new Uint8Array(i)).decrypt(e.buffer, n)) : Promise.reject(new Error("web crypto not initialized"))).catch((n) => (S.warn(`[decrypter]: WebCrypto Error, disable WebCrypto API, ${n.name}: ${n.message}`), this.onWebCryptoError(e, t, i)));
9311
9311
  }
9312
9312
  onWebCryptoError(e, t, i) {
9313
9313
  this.useSoftware = !0, this.logEnabled = !0, this.softwareDecrypt(e, t, i);
@@ -9318,14 +9318,14 @@ class os {
9318
9318
  }
9319
9319
  getValidChunk(e) {
9320
9320
  let t = e;
9321
- const i = e.length - e.length % ql;
9321
+ const i = e.length - e.length % zl;
9322
9322
  return i !== e.length && (t = Qe(e, 0, i), this.remainderData = Qe(e, i)), t;
9323
9323
  }
9324
9324
  logOnce(e) {
9325
9325
  this.logEnabled && (S.log(`[decrypter]: ${e}`), this.logEnabled = !1);
9326
9326
  }
9327
9327
  }
9328
- const Xl = {
9328
+ const Yl = {
9329
9329
  toString: function(s) {
9330
9330
  let e = "";
9331
9331
  const t = s.length;
@@ -9347,9 +9347,9 @@ const Xl = {
9347
9347
  WAITING_INIT_PTS: "WAITING_INIT_PTS",
9348
9348
  WAITING_LEVEL: "WAITING_LEVEL"
9349
9349
  };
9350
- class ls extends Nl {
9350
+ class ls extends Ol {
9351
9351
  constructor(e, t, i, r, n) {
9352
- super(), this.hls = void 0, this.fragPrevious = null, this.fragCurrent = null, this.fragmentTracker = void 0, this.transmuxer = null, this._state = N.STOPPED, this.playlistType = void 0, this.media = null, this.mediaBuffer = null, this.config = void 0, this.bitrateTest = !1, this.lastCurrentTime = 0, this.nextLoadPosition = 0, this.startPosition = 0, this.startTimeOffset = null, this.loadedmetadata = !1, this.retryDate = 0, this.levels = null, this.fragmentLoader = void 0, this.keyLoader = void 0, this.levelLastLoaded = null, this.startFragRequested = !1, this.decrypter = void 0, this.initPTS = [], this.onvseeking = null, this.onvended = null, this.logPrefix = "", this.log = void 0, this.warn = void 0, this.playlistType = n, this.logPrefix = r, this.log = S.log.bind(S, `${r}:`), this.warn = S.warn.bind(S, `${r}:`), this.hls = e, this.fragmentLoader = new Kl(e.config), this.keyLoader = i, this.fragmentTracker = t, this.config = e.config, this.decrypter = new os(e.config), e.on(p.MANIFEST_LOADED, this.onManifestLoaded, this);
9352
+ super(), this.hls = void 0, this.fragPrevious = null, this.fragCurrent = null, this.fragmentTracker = void 0, this.transmuxer = null, this._state = N.STOPPED, this.playlistType = void 0, this.media = null, this.mediaBuffer = null, this.config = void 0, this.bitrateTest = !1, this.lastCurrentTime = 0, this.nextLoadPosition = 0, this.startPosition = 0, this.startTimeOffset = null, this.loadedmetadata = !1, this.retryDate = 0, this.levels = null, this.fragmentLoader = void 0, this.keyLoader = void 0, this.levelLastLoaded = null, this.startFragRequested = !1, this.decrypter = void 0, this.initPTS = [], this.onvseeking = null, this.onvended = null, this.logPrefix = "", this.log = void 0, this.warn = void 0, this.playlistType = n, this.logPrefix = r, this.log = S.log.bind(S, `${r}:`), this.warn = S.warn.bind(S, `${r}:`), this.hls = e, this.fragmentLoader = new Gl(e.config), this.keyLoader = i, this.fragmentTracker = t, this.config = e.config, this.decrypter = new os(e.config), e.on(p.MANIFEST_LOADED, this.onManifestLoaded, this);
9353
9353
  }
9354
9354
  doTick() {
9355
9355
  this.onTickEnd();
@@ -9541,7 +9541,7 @@ class ls extends Nl {
9541
9541
  fragBufferedComplete(e, t) {
9542
9542
  var i, r, n, a;
9543
9543
  const o = this.mediaBuffer ? this.mediaBuffer : this.media;
9544
- if (this.log(`Buffered ${e.type} sn: ${e.sn}${t ? " part: " + t.index : ""} of ${this.playlistType === j.MAIN ? "level" : "track"} ${e.level} (frag:[${((i = e.startPTS) != null ? i : NaN).toFixed(3)}-${((r = e.endPTS) != null ? r : NaN).toFixed(3)}] > buffer:${o ? Xl.toString(ie.getBuffered(o)) : "(detached)"})`), e.sn !== "initSegment") {
9544
+ if (this.log(`Buffered ${e.type} sn: ${e.sn}${t ? " part: " + t.index : ""} of ${this.playlistType === j.MAIN ? "level" : "track"} ${e.level} (frag:[${((i = e.startPTS) != null ? i : NaN).toFixed(3)}-${((r = e.endPTS) != null ? r : NaN).toFixed(3)}] > buffer:${o ? Yl.toString(ie.getBuffered(o)) : "(detached)"})`), e.sn !== "initSegment") {
9545
9545
  var l;
9546
9546
  if (e.type !== j.SUBTITLE) {
9547
9547
  const u = e.elementaryStreams;
@@ -9670,7 +9670,7 @@ class ls extends Nl {
9670
9670
  } = e;
9671
9671
  if (!(t != null && t[r]))
9672
9672
  return this.warn(`Levels object was unset while buffering fragment ${n} of level ${r}. The current chunk will not be buffered.`), null;
9673
- const o = t[r], l = a > -1 ? Hs(o, n, a) : null, c = l ? l.fragment : xl(o, n, i);
9673
+ const o = t[r], l = a > -1 ? Hs(o, n, a) : null, c = l ? l.fragment : pl(o, n, i);
9674
9674
  return c ? (i && i !== c && (c.stats = i.stats), {
9675
9675
  frag: c,
9676
9676
  part: l,
@@ -9808,13 +9808,13 @@ class ls extends Nl {
9808
9808
  const i = this.fragPrevious;
9809
9809
  let r = null;
9810
9810
  if (i) {
9811
- if (e.hasProgramDateTime && (this.log(`Live playlist, switching playlist, load frag with same PDT: ${i.programDateTime}`), r = El(t, i.endProgramDateTime, this.config.maxFragLookUpTolerance)), !r) {
9811
+ if (e.hasProgramDateTime && (this.log(`Live playlist, switching playlist, load frag with same PDT: ${i.programDateTime}`), r = vl(t, i.endProgramDateTime, this.config.maxFragLookUpTolerance)), !r) {
9812
9812
  const n = i.sn + 1;
9813
9813
  if (n >= e.startSN && n <= e.endSN) {
9814
9814
  const a = t[n - e.startSN];
9815
9815
  i.cc === a.cc && (r = a, this.log(`Live playlist, switching playlist, load frag with next SN: ${r.sn}`));
9816
9816
  }
9817
- r || (r = bl(t, i.cc), r && this.log(`Live playlist, switching playlist, load frag with same CC: ${r.sn}`));
9817
+ r || (r = Tl(t, i.cc), r && this.log(`Live playlist, switching playlist, load frag with same CC: ${r.sn}`));
9818
9818
  }
9819
9819
  } else {
9820
9820
  const n = this.hls.liveSyncPosition;
@@ -9876,7 +9876,7 @@ class ls extends Nl {
9876
9876
  const {
9877
9877
  fragPrevious: l
9878
9878
  } = this;
9879
- Hl(l, i, e);
9879
+ $l(l, i, e);
9880
9880
  const c = e.fragments[0].start;
9881
9881
  return this.log(`Live playlist sliding: ${c.toFixed(2)} start-sn: ${t ? t.startSN : "na"}->${e.startSN} prev-sn: ${l ? l.sn : "na"} fragments: ${r}`), c;
9882
9882
  }
@@ -10046,7 +10046,7 @@ class wn {
10046
10046
  } = this;
10047
10047
  let i;
10048
10048
  if (e.length)
10049
- e.length === 1 ? i = e[0] : i = Zl(e, t);
10049
+ e.length === 1 ? i = e[0] : i = jl(e, t);
10050
10050
  else
10051
10051
  return new Uint8Array(0);
10052
10052
  return this.reset(), i;
@@ -10055,7 +10055,7 @@ class wn {
10055
10055
  this.chunks.length = 0, this.dataLength = 0;
10056
10056
  }
10057
10057
  }
10058
- function Zl(s, e) {
10058
+ function jl(s, e) {
10059
10059
  const t = new Uint8Array(e);
10060
10060
  let i = 0;
10061
10061
  for (let r = 0; r < s.length; r++) {
@@ -10064,10 +10064,10 @@ function Zl(s, e) {
10064
10064
  }
10065
10065
  return t;
10066
10066
  }
10067
- function Ql() {
10067
+ function ql() {
10068
10068
  return typeof __HLS_WORKER_BUNDLE__ == "function";
10069
10069
  }
10070
- function Jl() {
10070
+ function Xl() {
10071
10071
  const s = new self.Blob([`var exports={};var module={exports:exports};function define(f){f()};define.amd=true;(${__HLS_WORKER_BUNDLE__.toString()})(true);`], {
10072
10072
  type: "text/javascript"
10073
10073
  }), e = self.URL.createObjectURL(s);
@@ -10076,7 +10076,7 @@ function Jl() {
10076
10076
  objectURL: e
10077
10077
  };
10078
10078
  }
10079
- function ec(s) {
10079
+ function Zl(s) {
10080
10080
  const e = new self.URL(s, self.location.href).href;
10081
10081
  return {
10082
10082
  worker: new self.Worker(e),
@@ -10125,7 +10125,7 @@ class cs {
10125
10125
  this.cachedData && (e = Le(this.cachedData, e), this.cachedData = null);
10126
10126
  let i = xt(e, 0), r = i ? i.length : 0, n;
10127
10127
  const a = this._audioTrack, o = this._id3Track, l = i ? ss(i) : void 0, c = e.length;
10128
- for ((this.basePTS === null || this.frameIndex === 0 && W(l)) && (this.basePTS = tc(l, t, this.initPTS), this.lastPTS = this.basePTS), this.lastPTS === null && (this.lastPTS = this.basePTS), i && i.length > 0 && o.samples.push({
10128
+ for ((this.basePTS === null || this.frameIndex === 0 && W(l)) && (this.basePTS = Ql(l, t, this.initPTS), this.lastPTS = this.basePTS), this.lastPTS === null && (this.lastPTS = this.basePTS), i && i.length > 0 && o.samples.push({
10129
10129
  pts: this.lastPTS,
10130
10130
  dts: this.lastPTS,
10131
10131
  data: i,
@@ -10136,7 +10136,7 @@ class cs {
10136
10136
  const u = this.appendFrame(a, e, r);
10137
10137
  u ? (this.frameIndex++, this.lastPTS = u.sample.pts, r += u.length, n = r) : r = c;
10138
10138
  } else
10139
- Ao(e, r) ? (i = xt(e, r), o.samples.push({
10139
+ Eo(e, r) ? (i = xt(e, r), o.samples.push({
10140
10140
  pts: this.lastPTS,
10141
10141
  dts: this.lastPTS,
10142
10142
  data: i,
@@ -10170,13 +10170,13 @@ class cs {
10170
10170
  destroy() {
10171
10171
  }
10172
10172
  }
10173
- const tc = (s, e, t) => {
10173
+ const Ql = (s, e, t) => {
10174
10174
  if (W(s))
10175
10175
  return s * 90;
10176
10176
  const i = t ? t.baseTime * 9e4 / t.timescale : 0;
10177
10177
  return e * 9e4 + i;
10178
10178
  };
10179
- function ic(s, e, t, i) {
10179
+ function Jl(s, e, t, i) {
10180
10180
  let r, n, a, o;
10181
10181
  const l = navigator.userAgent.toLowerCase(), c = i, u = [96e3, 88200, 64e3, 48e3, 44100, 32e3, 24e3, 22050, 16e3, 12e3, 11025, 8e3, 7350];
10182
10182
  r = ((e[t + 2] & 192) >>> 6) + 1;
@@ -10209,16 +10209,16 @@ function Pn(s, e) {
10209
10209
  function us(s, e) {
10210
10210
  return (s[e + 3] & 3) << 11 | s[e + 4] << 3 | (s[e + 5] & 224) >>> 5;
10211
10211
  }
10212
- function sc(s, e) {
10212
+ function ec(s, e) {
10213
10213
  return e + 5 < s.length;
10214
10214
  }
10215
10215
  function Xt(s, e) {
10216
10216
  return e + 1 < s.length && kn(s, e);
10217
10217
  }
10218
- function rc(s, e) {
10219
- return sc(s, e) && kn(s, e) && us(s, e) <= s.length - e;
10218
+ function tc(s, e) {
10219
+ return ec(s, e) && kn(s, e) && us(s, e) <= s.length - e;
10220
10220
  }
10221
- function nc(s, e) {
10221
+ function ic(s, e) {
10222
10222
  if (Xt(s, e)) {
10223
10223
  const t = Pn(s, e);
10224
10224
  if (e + t >= s.length)
@@ -10233,7 +10233,7 @@ function nc(s, e) {
10233
10233
  }
10234
10234
  function On(s, e, t, i, r) {
10235
10235
  if (!s.samplerate) {
10236
- const n = ic(e, t, i, r);
10236
+ const n = Jl(e, t, i, r);
10237
10237
  if (!n)
10238
10238
  return;
10239
10239
  s.config = n.config, s.samplerate = n.samplerate, s.channelCount = n.channelCount, s.codec = n.codec, s.manifestCodec = n.manifestCodec, S.log(`parsed codec:${s.codec}, rate:${n.samplerate}, channels:${n.channelCount}`);
@@ -10242,7 +10242,7 @@ function On(s, e, t, i, r) {
10242
10242
  function Fn(s) {
10243
10243
  return 1024 * 9e4 / s;
10244
10244
  }
10245
- function ac(s, e) {
10245
+ function sc(s, e) {
10246
10246
  const t = Pn(s, e);
10247
10247
  if (e + t <= s.length) {
10248
10248
  const i = us(s, e) - t;
@@ -10254,7 +10254,7 @@ function ac(s, e) {
10254
10254
  }
10255
10255
  }
10256
10256
  function Mn(s, e, t, i, r) {
10257
- const n = Fn(s.samplerate), a = i + r * n, o = ac(e, t);
10257
+ const n = Fn(s.samplerate), a = i + r * n, o = sc(e, t);
10258
10258
  let l;
10259
10259
  if (o) {
10260
10260
  const {
@@ -10283,7 +10283,7 @@ function Mn(s, e, t, i, r) {
10283
10283
  };
10284
10284
  }
10285
10285
  let Ct = null;
10286
- const oc = [32, 64, 96, 128, 160, 192, 224, 256, 288, 320, 352, 384, 416, 448, 32, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320, 384, 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320, 32, 48, 56, 64, 80, 96, 112, 128, 144, 160, 176, 192, 224, 256, 8, 16, 24, 32, 40, 48, 56, 64, 80, 96, 112, 128, 144, 160], lc = [44100, 48e3, 32e3, 22050, 24e3, 16e3, 11025, 12e3, 8e3], cc = [
10286
+ const rc = [32, 64, 96, 128, 160, 192, 224, 256, 288, 320, 352, 384, 416, 448, 32, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320, 384, 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320, 32, 48, 56, 64, 80, 96, 112, 128, 144, 160, 176, 192, 224, 256, 8, 16, 24, 32, 40, 48, 56, 64, 80, 96, 112, 128, 144, 160], nc = [44100, 48e3, 32e3, 22050, 24e3, 16e3, 11025, 12e3, 8e3], ac = [
10287
10287
  // MPEG 2.5
10288
10288
  [
10289
10289
  0,
@@ -10328,7 +10328,7 @@ const oc = [32, 64, 96, 128, 160, 192, 224, 256, 288, 320, 352, 384, 416, 448, 3
10328
10328
  12
10329
10329
  // Layer1
10330
10330
  ]
10331
- ], uc = [
10331
+ ], oc = [
10332
10332
  0,
10333
10333
  // Reserved
10334
10334
  1,
@@ -10358,7 +10358,7 @@ function Nn(s, e, t, i, r) {
10358
10358
  function Bn(s, e) {
10359
10359
  const t = s[e + 1] >> 3 & 3, i = s[e + 1] >> 1 & 3, r = s[e + 2] >> 4 & 15, n = s[e + 2] >> 2 & 3;
10360
10360
  if (t !== 1 && r !== 0 && r !== 15 && n !== 3) {
10361
- const a = s[e + 2] >> 1 & 1, o = s[e + 3] >> 6, l = t === 3 ? 3 - i : i === 3 ? 3 : 4, c = oc[l * 14 + r - 1] * 1e3, h = lc[(t === 3 ? 0 : t === 2 ? 1 : 2) * 3 + n], d = o === 3 ? 1 : 2, f = cc[t][i], m = uc[i], g = f * 8 * m, y = Math.floor(f * c / h + a) * m;
10361
+ const a = s[e + 2] >> 1 & 1, o = s[e + 3] >> 6, l = t === 3 ? 3 - i : i === 3 ? 3 : 4, c = rc[l * 14 + r - 1] * 1e3, h = nc[(t === 3 ? 0 : t === 2 ? 1 : 2) * 3 + n], d = o === 3 ? 1 : 2, f = ac[t][i], m = oc[i], g = f * 8 * m, y = Math.floor(f * c / h + a) * m;
10362
10362
  if (Ct === null) {
10363
10363
  const x = (navigator.userAgent || "").match(/Chrome\/(\d+)/i);
10364
10364
  Ct = x ? parseInt(x[1]) : 0;
@@ -10377,7 +10377,7 @@ function hs(s, e) {
10377
10377
  function $n(s, e) {
10378
10378
  return e + 1 < s.length && hs(s, e);
10379
10379
  }
10380
- function hc(s, e) {
10380
+ function lc(s, e) {
10381
10381
  return hs(s, e) && 4 <= s.length - e;
10382
10382
  }
10383
10383
  function Un(s, e) {
@@ -10390,7 +10390,7 @@ function Un(s, e) {
10390
10390
  }
10391
10391
  return !1;
10392
10392
  }
10393
- class dc extends cs {
10393
+ class cc extends cs {
10394
10394
  constructor(e, t) {
10395
10395
  super(), this.observer = void 0, this.config = void 0, this.observer = e, this.config = t;
10396
10396
  }
@@ -10418,12 +10418,12 @@ class dc extends cs {
10418
10418
  if (Un(e, i))
10419
10419
  return !1;
10420
10420
  for (let r = e.length; i < r; i++)
10421
- if (nc(e, i))
10421
+ if (ic(e, i))
10422
10422
  return S.log("ADTS sync word found !"), !0;
10423
10423
  return !1;
10424
10424
  }
10425
10425
  canParse(e, t) {
10426
- return rc(e, t);
10426
+ return tc(e, t);
10427
10427
  }
10428
10428
  appendFrame(e, t, i) {
10429
10429
  On(e, this.observer, t, i, e.manifestCodec);
@@ -10432,8 +10432,8 @@ class dc extends cs {
10432
10432
  return r;
10433
10433
  }
10434
10434
  }
10435
- const fc = /\/emsg[-/]ID3/i;
10436
- class mc {
10435
+ const uc = /\/emsg[-/]ID3/i;
10436
+ class hc {
10437
10437
  constructor(e, t) {
10438
10438
  this.remainderData = null, this.timeOffset = 0, this.config = void 0, this.videoTrack = void 0, this.audioTrack = void 0, this.id3Track = void 0, this.txtTrack = void 0, this.config = t;
10439
10439
  }
@@ -10466,7 +10466,7 @@ class mc {
10466
10466
  this.remainderData = null;
10467
10467
  }
10468
10468
  static probe(e) {
10469
- return Po(e);
10469
+ return Io(e);
10470
10470
  }
10471
10471
  demux(e, t) {
10472
10472
  this.timeOffset = t;
@@ -10474,7 +10474,7 @@ class mc {
10474
10474
  const r = this.videoTrack, n = this.txtTrack;
10475
10475
  if (this.config.progressive) {
10476
10476
  this.remainderData && (i = Le(this.remainderData, e));
10477
- const o = Go(i);
10477
+ const o = Bo(i);
10478
10478
  this.remainderData = o.remainder, r.samples = o.valid || new Uint8Array();
10479
10479
  } else
10480
10480
  r.samples = i;
@@ -10502,8 +10502,8 @@ class mc {
10502
10502
  if (e.samples.length) {
10503
10503
  const r = X(e.samples, ["emsg"]);
10504
10504
  r && r.forEach((n) => {
10505
- const a = Ko(n);
10506
- if (fc.test(a.schemeIdUri)) {
10505
+ const a = Go(n);
10506
+ if (uc.test(a.schemeIdUri)) {
10507
10507
  const o = W(a.presentationTime) ? a.presentationTime / a.timeScale : t + a.presentationTimeDelta / a.timeScale;
10508
10508
  let l = a.eventDuration === 4294967295 ? Number.POSITIVE_INFINITY : a.eventDuration / a.timeScale;
10509
10509
  l <= 1e-3 && (l = Number.POSITIVE_INFINITY);
@@ -10538,7 +10538,7 @@ const Gn = (s, e) => {
10538
10538
  }
10539
10539
  return t;
10540
10540
  };
10541
- class gc extends cs {
10541
+ class dc extends cs {
10542
10542
  constructor(e) {
10543
10543
  super(), this.observer = void 0, this.observer = e;
10544
10544
  }
@@ -10598,7 +10598,7 @@ function Hn(s, e, t, i, r) {
10598
10598
  pts: L
10599
10599
  }), u;
10600
10600
  }
10601
- class pc {
10601
+ class fc {
10602
10602
  constructor() {
10603
10603
  this.VideoSample = null;
10604
10604
  }
@@ -10817,7 +10817,7 @@ class Zs {
10817
10817
  return this.readUByte(), this.readUEG(), this.readUEG();
10818
10818
  }
10819
10819
  }
10820
- class yc extends pc {
10820
+ class mc extends fc {
10821
10821
  parseAVCPES(e, t, i, r, n) {
10822
10822
  const a = this.parseAVCNALu(e, i.data);
10823
10823
  let o = this.VideoSample, l, c = !1;
@@ -10924,7 +10924,7 @@ class yc extends pc {
10924
10924
  return e.naluState = r, a;
10925
10925
  }
10926
10926
  }
10927
- class vc {
10927
+ class gc {
10928
10928
  constructor(e, t, i) {
10929
10929
  this.keyData = void 0, this.decrypter = void 0, this.keyData = i, this.decrypter = new os(t, {
10930
10930
  removePKCS7Padding: !1
@@ -10995,7 +10995,7 @@ class vc {
10995
10995
  const ue = 188;
10996
10996
  class ze {
10997
10997
  constructor(e, t, i) {
10998
- this.observer = void 0, this.config = void 0, this.typeSupported = void 0, this.sampleAes = null, this.pmtParsed = !1, this.audioCodec = void 0, this.videoCodec = void 0, this._duration = 0, this._pmtId = -1, this._videoTrack = void 0, this._audioTrack = void 0, this._id3Track = void 0, this._txtTrack = void 0, this.aacOverFlow = null, this.remainderData = null, this.videoParser = void 0, this.observer = e, this.config = t, this.typeSupported = i, this.videoParser = new yc();
10998
+ this.observer = void 0, this.config = void 0, this.typeSupported = void 0, this.sampleAes = null, this.pmtParsed = !1, this.audioCodec = void 0, this.videoCodec = void 0, this._duration = 0, this._pmtId = -1, this._videoTrack = void 0, this._audioTrack = void 0, this._id3Track = void 0, this._txtTrack = void 0, this.aacOverFlow = null, this.remainderData = null, this.videoParser = void 0, this.observer = e, this.config = t, this.typeSupported = i, this.videoParser = new mc();
10999
10999
  }
11000
11000
  static probe(e) {
11001
11001
  const t = ze.syncOffset(e);
@@ -11111,11 +11111,11 @@ class ze {
11111
11111
  }), g && (g.data.push(e.subarray(_, R + ue)), g.size += R + ue - _);
11112
11112
  break;
11113
11113
  case 0:
11114
- B && (_ += e[_] + 1), T = this._pmtId = xc(e, _);
11114
+ B && (_ += e[_] + 1), T = this._pmtId = pc(e, _);
11115
11115
  break;
11116
11116
  case T: {
11117
11117
  B && (_ += e[_] + 1);
11118
- const P = Tc(e, _, this.typeSupported, i);
11118
+ const P = yc(e, _, this.typeSupported, i);
11119
11119
  u = P.videoPid, u > 0 && (a.pid = u, a.segmentCodec = P.segmentVideoCodec), d = P.audioPid, d > 0 && (o.pid = d, o.segmentCodec = P.segmentAudioCodec), f = P.id3Pid, f > 0 && (l.pid = f), y !== null && !v && (S.warn(`MPEG-TS PMT found at ${R} after unknown PID '${y}'. Backtracking to sync byte @${L} to parse all TS packets.`), y = null, R = L - 188), v = this.pmtParsed = !0;
11120
11120
  break;
11121
11121
  }
@@ -11186,7 +11186,7 @@ class ze {
11186
11186
  l && (c = it(l)) ? (this.parseID3PES(r, c), r.pesData = null) : r.pesData = l;
11187
11187
  }
11188
11188
  demuxSampleAes(e, t, i) {
11189
- const r = this.demux(e, i, !0, !this.config.progressive), n = this.sampleAes = new vc(this.observer, this.config, t);
11189
+ const r = this.demux(e, i, !0, !this.config.progressive), n = this.sampleAes = new gc(this.observer, this.config, t);
11190
11190
  return this.decrypt(r, n);
11191
11191
  }
11192
11192
  decrypt(e, t) {
@@ -11305,10 +11305,10 @@ class ze {
11305
11305
  function Ui(s, e) {
11306
11306
  return ((s[e + 1] & 31) << 8) + s[e + 2];
11307
11307
  }
11308
- function xc(s, e) {
11308
+ function pc(s, e) {
11309
11309
  return (s[e + 10] & 31) << 8 | s[e + 11];
11310
11310
  }
11311
- function Tc(s, e, t, i) {
11311
+ function yc(s, e, t, i) {
11312
11312
  const r = {
11313
11313
  audioPid: -1,
11314
11314
  videoPid: -1,
@@ -11424,7 +11424,7 @@ function it(s) {
11424
11424
  }
11425
11425
  return null;
11426
11426
  }
11427
- class Ec extends cs {
11427
+ class vc extends cs {
11428
11428
  resetInitSegment(e, t, i, r) {
11429
11429
  super.resetInitSegment(e, t, i, r), this._audioTrack = {
11430
11430
  container: "audio/mpeg",
@@ -11454,7 +11454,7 @@ class Ec extends cs {
11454
11454
  return !1;
11455
11455
  }
11456
11456
  canParse(e, t) {
11457
- return hc(e, t);
11457
+ return lc(e, t);
11458
11458
  }
11459
11459
  appendFrame(e, t, i) {
11460
11460
  if (this.basePTS !== null)
@@ -12496,16 +12496,16 @@ function ds(s, e, t = 1, i = !1) {
12496
12496
  const r = s * e * t;
12497
12497
  return i ? Math.round(r) : r;
12498
12498
  }
12499
- function Sc(s, e, t = 1, i = !1) {
12499
+ function xc(s, e, t = 1, i = !1) {
12500
12500
  return ds(s, e, 1 / t, i);
12501
12501
  }
12502
12502
  function mt(s, e = !1) {
12503
12503
  return ds(s, 1e3, 1 / Vn, e);
12504
12504
  }
12505
- function bc(s, e = 1) {
12505
+ function Tc(s, e = 1) {
12506
12506
  return ds(s, Vn, 1 / e);
12507
12507
  }
12508
- const Ac = 10 * 1e3, Js = 1024, Lc = 1152, Rc = 1536;
12508
+ const Ec = 10 * 1e3, Js = 1024, Sc = 1152, bc = 1536;
12509
12509
  let st = null, yi = null;
12510
12510
  class Mt {
12511
12511
  constructor(e, t, i, r = "") {
@@ -12550,7 +12550,7 @@ class Mt {
12550
12550
  h = this.generateIS(e, t, n, a);
12551
12551
  const _ = this.isVideoContiguous;
12552
12552
  let P = -1, w;
12553
- if (E && (P = Cc(t.samples), !_ && this.config.forceKeyFrameOnDiscontinuity))
12553
+ if (E && (P = Ac(t.samples), !_ && this.config.forceKeyFrameOnDiscontinuity))
12554
12554
  if (m = !0, P > 0) {
12555
12555
  S.warn(`[mp4-remuxer]: Dropped ${P} out of ${x} video samples due to a missing keyframe`);
12556
12556
  const $ = this.getVideoStartPts(t.samples);
@@ -12758,9 +12758,9 @@ class Mt {
12758
12758
  getSamplesPerFrame(e) {
12759
12759
  switch (e.segmentCodec) {
12760
12760
  case "mp3":
12761
- return Lc;
12761
+ return Sc;
12762
12762
  case "ac3":
12763
- return Rc;
12763
+ return bc;
12764
12764
  default:
12765
12765
  return Js;
12766
12766
  }
@@ -12782,7 +12782,7 @@ class Mt {
12782
12782
  const H = g[F], M = H.pts, Q = M - V, Z = Math.abs(1e3 * Q / a);
12783
12783
  if (Q <= -U * u && m)
12784
12784
  F === 0 && (S.warn(`Audio frame @ ${(M / a).toFixed(3)}s overlaps nextAudioPts by ${Math.round(1e3 * Q / a)} ms.`), this.nextAudioPts = v = V = M);
12785
- else if (Q >= U * u && Z < Ac && m) {
12785
+ else if (Q >= U * u && Z < Ec && m) {
12786
12786
  let ee = Math.round(Q / u);
12787
12787
  V = M - ee * u, V < 0 && (ee--, V += u), F === 0 && (this.nextAudioPts = v = V), S.warn(`[mp4-remuxer]: Injecting ${ee} audio frame @ ${(V / a).toFixed(3)}s due to ${Math.round(1e3 * Q / a)} ms gap.`);
12788
12788
  for (let ae = 0; ae < ee; ae++) {
@@ -12877,7 +12877,7 @@ function Ae(s, e) {
12877
12877
  s += t;
12878
12878
  return s;
12879
12879
  }
12880
- function Cc(s) {
12880
+ function Ac(s) {
12881
12881
  for (let e = 0; e < s.length; e++)
12882
12882
  if (s[e].key)
12883
12883
  return e;
@@ -12924,7 +12924,7 @@ class er {
12924
12924
  };
12925
12925
  }
12926
12926
  }
12927
- class _c {
12927
+ class Lc {
12928
12928
  constructor() {
12929
12929
  this.emitInitSegment = !1, this.audioCodec = void 0, this.videoCodec = void 0, this.initData = void 0, this.initPTS = null, this.initTracks = void 0, this.lastEndTime = null;
12930
12930
  }
@@ -12937,7 +12937,7 @@ class _c {
12937
12937
  this.lastEndTime = null;
12938
12938
  }
12939
12939
  resetInitSegment(e, t, i, r) {
12940
- this.audioCodec = t, this.videoCodec = i, this.generateInitSegment(Mo(e, r)), this.emitInitSegment = !0;
12940
+ this.audioCodec = t, this.videoCodec = i, this.generateInitSegment(Po(e, r)), this.emitInitSegment = !0;
12941
12941
  }
12942
12942
  generateInitSegment(e) {
12943
12943
  let {
@@ -12993,13 +12993,13 @@ class _c {
12993
12993
  if ((o = m) != null && o.length || (this.generateInitSegment(d), m = this.initData), !((l = m) != null && l.length))
12994
12994
  return S.warn("[passthrough-remuxer.ts]: Failed to generate initSegment."), h;
12995
12995
  this.emitInitSegment && (f.tracks = this.initTracks, this.emitInitSegment = !1);
12996
- const g = Bo(d, m), y = No(m, d), v = y === null ? n : y;
12997
- (Dc(c, v, n, g) || f.timescale !== c.timescale && a) && (f.initPTS = v - n, c && c.timescale === 1 && S.warn(`Adjusting initPTS by ${f.initPTS - c.baseTime}`), this.initPTS = c = {
12996
+ const g = Fo(d, m), y = Oo(m, d), v = y === null ? n : y;
12997
+ (Rc(c, v, n, g) || f.timescale !== c.timescale && a) && (f.initPTS = v - n, c && c.timescale === 1 && S.warn(`Adjusting initPTS by ${f.initPTS - c.baseTime}`), this.initPTS = c = {
12998
12998
  baseTime: f.initPTS,
12999
12999
  timescale: 1
13000
13000
  });
13001
13001
  const T = e ? v - c.baseTime / c.timescale : u, x = T + g;
13002
- Uo(m, d, c.baseTime / c.timescale), g > 0 ? this.lastEndTime = x : (S.warn("Duration parsed from mp4 should be greater than zero"), this.resetNextTimestamp());
13002
+ No(m, d, c.baseTime / c.timescale), g > 0 ? this.lastEndTime = x : (S.warn("Duration parsed from mp4 should be greater than zero"), this.resetNextTimestamp());
13003
13003
  const L = !!m.audio, E = !!m.video;
13004
13004
  let k = "";
13005
13005
  L && (k += "audio"), E && (k += "video");
@@ -13018,7 +13018,7 @@ class _c {
13018
13018
  return h.audio = R.type === "audio" ? R : void 0, h.video = R.type !== "audio" ? R : void 0, h.initSegment = f, h.id3 = Kn(i, n, c, c), r.samples.length && (h.text = Wn(r, n, c)), h;
13019
13019
  }
13020
13020
  }
13021
- function Dc(s, e, t, i) {
13021
+ function Rc(s, e, t, i) {
13022
13022
  if (s === null)
13023
13023
  return !0;
13024
13024
  const r = Math.max(i, 1), n = e - s.baseTime / s.timescale;
@@ -13045,20 +13045,20 @@ try {
13045
13045
  S.debug("Unable to use Performance API on this environment"), Ke = lt == null ? void 0 : lt.Date.now;
13046
13046
  }
13047
13047
  const Nt = [{
13048
- demux: mc,
13049
- remux: _c
13048
+ demux: hc,
13049
+ remux: Lc
13050
13050
  }, {
13051
13051
  demux: ze,
13052
13052
  remux: Mt
13053
13053
  }, {
13054
- demux: dc,
13054
+ demux: cc,
13055
13055
  remux: Mt
13056
13056
  }, {
13057
- demux: Ec,
13057
+ demux: vc,
13058
13058
  remux: Mt
13059
13059
  }];
13060
13060
  Nt.splice(2, 0, {
13061
- demux: gc,
13061
+ demux: dc,
13062
13062
  remux: Mt
13063
13063
  });
13064
13064
  class ir {
@@ -13090,7 +13090,7 @@ class ir {
13090
13090
  defaultInitPts: v,
13091
13091
  duration: T,
13092
13092
  initSegmentData: x
13093
- } = l, L = Ic(a, t);
13093
+ } = l, L = Cc(a, t);
13094
13094
  if (L && L.method === "AES-128") {
13095
13095
  const B = this.getDecrypter();
13096
13096
  if (B.isSync()) {
@@ -13238,7 +13238,7 @@ class ir {
13238
13238
  return e || (e = this.decrypter = new os(this.config)), e;
13239
13239
  }
13240
13240
  }
13241
- function Ic(s, e) {
13241
+ function Cc(s, e) {
13242
13242
  let t = null;
13243
13243
  return s.byteLength > 0 && (e == null ? void 0 : e.key) != null && e.iv !== null && e.method != null && (t = e), t;
13244
13244
  }
@@ -13249,12 +13249,12 @@ const vi = (s) => ({
13249
13249
  function Bt(s) {
13250
13250
  return "then" in s && s.then instanceof Function;
13251
13251
  }
13252
- class wc {
13252
+ class _c {
13253
13253
  constructor(e, t, i, r, n) {
13254
13254
  this.audioCodec = void 0, this.videoCodec = void 0, this.initSegmentData = void 0, this.duration = void 0, this.defaultInitPts = void 0, this.audioCodec = e, this.videoCodec = t, this.initSegmentData = i, this.duration = r, this.defaultInitPts = n || null;
13255
13255
  }
13256
13256
  }
13257
- class kc {
13257
+ class Dc {
13258
13258
  constructor(e, t, i, r, n, a) {
13259
13259
  this.discontinuity = void 0, this.contiguous = void 0, this.accurateTimeOffset = void 0, this.trackSwitch = void 0, this.timeOffset = void 0, this.initSegmentChange = void 0, this.discontinuity = e, this.contiguous = t, this.accurateTimeOffset = i, this.trackSwitch = r, this.timeOffset = n, this.initSegmentChange = a;
13260
13260
  }
@@ -13370,7 +13370,7 @@ var zn = { exports: {} };
13370
13370
  return c ? (u = t ? t + c : c, this._events[u] && a(this, u)) : (this._events = new i(), this._eventsCount = 0), this;
13371
13371
  }, o.prototype.off = o.prototype.removeListener, o.prototype.addListener = o.prototype.on, o.prefixed = t, o.EventEmitter = o, s.exports = o;
13372
13372
  })(zn);
13373
- var Pc = zn.exports, fs = /* @__PURE__ */ io(Pc);
13373
+ var Ic = zn.exports, fs = /* @__PURE__ */ Ja(Ic);
13374
13374
  class Yn {
13375
13375
  constructor(e, t, i, r) {
13376
13376
  this.error = null, this.hls = void 0, this.id = void 0, this.observer = void 0, this.frag = null, this.part = null, this.useWorker = void 0, this.workerContext = null, this.onwmsg = void 0, this.transmuxer = null, this.onTransmuxComplete = void 0, this.onFlush = void 0;
@@ -13387,9 +13387,9 @@ class Yn {
13387
13387
  mp3: o.isTypeSupported('audio/mp4; codecs="mp3"'),
13388
13388
  ac3: o.isTypeSupported('audio/mp4; codecs="ac-3"')
13389
13389
  }, c = navigator.vendor;
13390
- if (this.useWorker && typeof Worker != "undefined" && (n.workerPath || Ql())) {
13390
+ if (this.useWorker && typeof Worker != "undefined" && (n.workerPath || ql())) {
13391
13391
  try {
13392
- n.workerPath ? (S.log(`loading Web Worker ${n.workerPath} for "${t}"`), this.workerContext = ec(n.workerPath)) : (S.log(`injecting Web Worker for "${t}"`), this.workerContext = Jl()), this.onwmsg = (d) => this.onWorkerMessage(d);
13392
+ n.workerPath ? (S.log(`loading Web Worker ${n.workerPath} for "${t}"`), this.workerContext = Zl(n.workerPath)) : (S.log(`injecting Web Worker for "${t}"`), this.workerContext = Xl()), this.onwmsg = (d) => this.onWorkerMessage(d);
13393
13393
  const {
13394
13394
  worker: h
13395
13395
  } = this.workerContext;
@@ -13442,7 +13442,7 @@ class Yn {
13442
13442
  transmuxer: f
13443
13443
  } = this, m = a ? a.start : n.start, g = n.decryptdata, y = this.frag, v = !(y && n.cc === y.cc), T = !(y && c.level === y.level), x = y ? c.sn - y.sn : -1, L = this.part ? c.part - this.part.index : -1, E = x === 0 && c.id > 1 && c.id === (y == null ? void 0 : y.stats.chunkCount), k = !T && (x === 1 || x === 0 && (L === 1 || E && L <= 0)), R = self.performance.now();
13444
13444
  (T || x || n.stats.parsing.start === 0) && (n.stats.parsing.start = R), a && (L || !k) && (a.stats.parsing.start = R);
13445
- const B = !(y && ((h = n.initSegment) == null ? void 0 : h.url) === ((d = y.initSegment) == null ? void 0 : d.url)), C = new kc(v, k, l, T, m, B);
13445
+ const B = !(y && ((h = n.initSegment) == null ? void 0 : h.url) === ((d = y.initSegment) == null ? void 0 : d.url)), C = new Dc(v, k, l, T, m, B);
13446
13446
  if (!k || v || B) {
13447
13447
  S.log(`[transmuxer-interface, ${n.type}]: Starting new transmux session for sn: ${c.sn} p: ${c.part} level: ${c.level} id: ${c.id}
13448
13448
  discontinuity: ${v}
@@ -13451,7 +13451,7 @@ class Yn {
13451
13451
  accurateTimeOffset: ${l}
13452
13452
  timeOffset: ${m}
13453
13453
  initSegmentChange: ${B}`);
13454
- const b = new wc(i, r, t, o, u);
13454
+ const b = new _c(i, r, t, o, u);
13455
13455
  this.configureTransmuxer(b);
13456
13456
  }
13457
13457
  if (this.frag = n, this.part = a, this.workerContext)
@@ -13561,7 +13561,7 @@ function Gi(s, e) {
13561
13561
  return e.label.toLowerCase() === s.name.toLowerCase() && (!e.language || e.language.toLowerCase() === (s.lang || "").toLowerCase());
13562
13562
  }
13563
13563
  const sr = 100;
13564
- class Oc extends ls {
13564
+ class wc extends ls {
13565
13565
  constructor(e, t, i) {
13566
13566
  super(e, t, i, "[audio-stream-controller]", j.AUDIO), this.videoBuffer = null, this.videoTrackCC = -1, this.waitingVideoCC = -1, this.bufferedTrack = null, this.switchingTrack = null, this.trackId = -1, this.waitingData = null, this.mainDetails = null, this.flushing = !1, this.bufferFlushed = !1, this.cachedTrackLoadedData = null, this._registerListeners();
13567
13567
  }
@@ -14038,7 +14038,7 @@ class Oc extends ls {
14038
14038
  this.flushAudioIfNeeded(e), this.bufferedTrack = e, this.switchingTrack = null, t.trigger(p.AUDIO_TRACK_SWITCHED, de({}, e));
14039
14039
  }
14040
14040
  }
14041
- class Fc extends ns {
14041
+ class kc extends ns {
14042
14042
  constructor(e) {
14043
14043
  super(e, "[audio-track-controller]"), this.tracks = [], this.groupIds = null, this.tracksInGroup = [], this.trackId = -1, this.currentTrack = null, this.selectDefaultTrack = !0, this.registerListeners();
14044
14044
  }
@@ -14160,7 +14160,7 @@ class Fc extends ns {
14160
14160
  } else if (r) {
14161
14161
  let a = t.loadLevel;
14162
14162
  a === -1 && (a = t.firstAutoLevel);
14163
- const o = Fl(e, t.levels, i, a, et);
14163
+ const o = kl(e, t.levels, i, a, et);
14164
14164
  if (o === -1)
14165
14165
  return null;
14166
14166
  t.nextLoadLevel = o;
@@ -14250,7 +14250,7 @@ class Fc extends ns {
14250
14250
  }
14251
14251
  }
14252
14252
  const rr = 500;
14253
- class Mc extends ls {
14253
+ class Pc extends ls {
14254
14254
  constructor(e, t, i) {
14255
14255
  super(e, t, i, "[subtitle-stream-controller]", j.SUBTITLE), this.currentTrackId = -1, this.tracksBuffered = [], this.mainDetails = null, this._registerListeners();
14256
14256
  }
@@ -14469,10 +14469,10 @@ class Mc extends ls {
14469
14469
  this.fragCurrent = e, e.sn === "initSegment" ? this._loadInitSegment(e, t) : (this.startFragRequested = !0, super.loadFragment(e, t, i));
14470
14470
  }
14471
14471
  get mediaBufferTimeRanges() {
14472
- return new Nc(this.tracksBuffered[this.currentTrackId] || []);
14472
+ return new Oc(this.tracksBuffered[this.currentTrackId] || []);
14473
14473
  }
14474
14474
  }
14475
- class Nc {
14475
+ class Oc {
14476
14476
  constructor(e) {
14477
14477
  this.buffered = void 0;
14478
14478
  const t = (i, r, n) => {
@@ -14493,7 +14493,7 @@ class Nc {
14493
14493
  };
14494
14494
  }
14495
14495
  }
14496
- class Bc extends ns {
14496
+ class Fc extends ns {
14497
14497
  constructor(e) {
14498
14498
  super(e, "[subtitle-track-controller]"), this.media = null, this.tracks = [], this.groupIds = null, this.tracksInGroup = [], this.trackId = -1, this.currentTrack = null, this.selectDefaultTrack = !0, this.queuedDefaultTrack = -1, this.asyncPollTrackChange = () => this.pollTrackChange(0), this.useTextTrackPolling = !1, this.subtitlePollingInterval = -1, this._subtitleDisplay = !0, this.onTextTracksChanged = () => {
14499
14499
  if (this.useTextTrackPolling || self.clearInterval(this.subtitlePollingInterval), !this.media || !this.hls.config.renderTextTracksNatively)
@@ -14765,7 +14765,7 @@ class Bc extends ns {
14765
14765
  this.loadPlaylist(h);
14766
14766
  }
14767
14767
  }
14768
- class $c {
14768
+ class Mc {
14769
14769
  constructor(e) {
14770
14770
  this.buffers = void 0, this.queues = {
14771
14771
  video: [],
@@ -14816,7 +14816,7 @@ class $c {
14816
14816
  }
14817
14817
  }
14818
14818
  const nr = /(avc[1234]|hvc1|hev1|dvh[1e]|vp09|av01)(?:\.[^.,]+)+/;
14819
- class Uc {
14819
+ class Nc {
14820
14820
  constructor(e) {
14821
14821
  this.details = null, this._objectUrl = null, this.operationQueue = void 0, this.listeners = void 0, this.hls = void 0, this.bufferCodecEventsExpected = 0, this._bufferCodecEventsTotal = 0, this.media = null, this.mediaSource = null, this.lastMpegAudioChunk = null, this.appendSource = void 0, this.appendErrors = {
14822
14822
  audio: 0,
@@ -14868,7 +14868,7 @@ class Uc {
14868
14868
  e.off(p.MEDIA_ATTACHING, this.onMediaAttaching, this), e.off(p.MEDIA_DETACHING, this.onMediaDetaching, this), e.off(p.MANIFEST_LOADING, this.onManifestLoading, this), e.off(p.MANIFEST_PARSED, this.onManifestParsed, this), e.off(p.BUFFER_RESET, this.onBufferReset, this), e.off(p.BUFFER_APPENDING, this.onBufferAppending, this), e.off(p.BUFFER_CODECS, this.onBufferCodecs, this), e.off(p.BUFFER_EOS, this.onBufferEos, this), e.off(p.BUFFER_FLUSHING, this.onBufferFlushing, this), e.off(p.LEVEL_UPDATED, this.onLevelUpdated, this), e.off(p.FRAG_PARSED, this.onFragParsed, this), e.off(p.FRAG_CHANGED, this.onFragChanged, this);
14869
14869
  }
14870
14870
  _initSourceBuffer() {
14871
- this.sourceBuffer = {}, this.operationQueue = new $c(this.sourceBuffer), this.listeners = {
14871
+ this.sourceBuffer = {}, this.operationQueue = new Mc(this.sourceBuffer), this.listeners = {
14872
14872
  audio: [],
14873
14873
  video: [],
14874
14874
  audiovideo: []
@@ -14896,7 +14896,7 @@ class Uc {
14896
14896
  try {
14897
14897
  i.removeAttribute("src");
14898
14898
  const l = self.ManagedMediaSource;
14899
- i.disableRemotePlayback = i.disableRemotePlayback || l && a instanceof l, ar(i), Gc(i, o), i.load();
14899
+ i.disableRemotePlayback = i.disableRemotePlayback || l && a instanceof l, ar(i), Bc(i, o), i.load();
14900
14900
  } catch {
14901
14901
  i.src = o;
14902
14902
  }
@@ -15401,7 +15401,7 @@ function ar(s) {
15401
15401
  s.removeChild(t);
15402
15402
  });
15403
15403
  }
15404
- function Gc(s, e) {
15404
+ function Bc(s, e) {
15405
15405
  const t = self.document.createElement("source");
15406
15406
  t.type = "video/mp4", t.src = e, s.appendChild(t);
15407
15407
  }
@@ -15596,7 +15596,7 @@ const or = {
15596
15596
  }, qn = function(e) {
15597
15597
  let t = e;
15598
15598
  return or.hasOwnProperty(e) && (t = or[e]), String.fromCharCode(t);
15599
- }, _e = 15, Ue = 100, Hc = {
15599
+ }, _e = 15, Ue = 100, $c = {
15600
15600
  17: 1,
15601
15601
  18: 3,
15602
15602
  21: 5,
@@ -15605,7 +15605,7 @@ const or = {
15605
15605
  16: 11,
15606
15606
  19: 12,
15607
15607
  20: 14
15608
- }, Vc = {
15608
+ }, Uc = {
15609
15609
  17: 2,
15610
15610
  18: 4,
15611
15611
  21: 6,
@@ -15613,7 +15613,7 @@ const or = {
15613
15613
  23: 10,
15614
15614
  19: 13,
15615
15615
  20: 15
15616
- }, Kc = {
15616
+ }, Gc = {
15617
15617
  25: 1,
15618
15618
  26: 3,
15619
15619
  29: 5,
@@ -15622,7 +15622,7 @@ const or = {
15622
15622
  24: 11,
15623
15623
  27: 12,
15624
15624
  28: 14
15625
- }, Wc = {
15625
+ }, Hc = {
15626
15626
  25: 2,
15627
15627
  26: 4,
15628
15628
  29: 6,
@@ -15630,8 +15630,8 @@ const or = {
15630
15630
  31: 10,
15631
15631
  27: 13,
15632
15632
  28: 15
15633
- }, zc = ["white", "green", "blue", "cyan", "red", "yellow", "magenta", "black", "transparent"];
15634
- class Yc {
15633
+ }, Vc = ["white", "green", "blue", "cyan", "red", "yellow", "magenta", "black", "transparent"];
15634
+ class Kc {
15635
15635
  constructor() {
15636
15636
  this.time = null, this.verboseLevel = 0;
15637
15637
  }
@@ -15675,7 +15675,7 @@ class Xn {
15675
15675
  return "color=" + this.foreground + ", underline=" + this.underline + ", italics=" + this.italics + ", background=" + this.background + ", flash=" + this.flash;
15676
15676
  }
15677
15677
  }
15678
- class jc {
15678
+ class Wc {
15679
15679
  constructor() {
15680
15680
  this.uchar = " ", this.penState = new Xn();
15681
15681
  }
@@ -15698,11 +15698,11 @@ class jc {
15698
15698
  return this.uchar === " " && this.penState.isDefault();
15699
15699
  }
15700
15700
  }
15701
- class qc {
15701
+ class zc {
15702
15702
  constructor(e) {
15703
15703
  this.chars = [], this.pos = 0, this.currPenState = new Xn(), this.cueStartTime = null, this.logger = void 0;
15704
15704
  for (let t = 0; t < Ue; t++)
15705
- this.chars.push(new jc());
15705
+ this.chars.push(new Wc());
15706
15706
  this.logger = e;
15707
15707
  }
15708
15708
  equals(e) {
@@ -15783,7 +15783,7 @@ class xi {
15783
15783
  constructor(e) {
15784
15784
  this.rows = [], this.currRow = _e - 1, this.nrRollUpRows = null, this.lastOutputScreen = null, this.logger = void 0;
15785
15785
  for (let t = 0; t < _e; t++)
15786
- this.rows.push(new qc(e));
15786
+ this.rows.push(new zc(e));
15787
15787
  this.logger = e;
15788
15788
  }
15789
15789
  reset() {
@@ -15999,7 +15999,7 @@ class lr {
15999
15999
  class cr {
16000
16000
  constructor(e, t, i) {
16001
16001
  this.channels = void 0, this.currentChannel = 0, this.cmdHistory = hr(), this.logger = void 0;
16002
- const r = this.logger = new Yc();
16002
+ const r = this.logger = new Kc();
16003
16003
  this.channels = [null, new lr(e, t, r), new lr(e + 1, i, r)];
16004
16004
  }
16005
16005
  getHandler(e) {
@@ -16063,7 +16063,7 @@ class cr {
16063
16063
  if (ur(e, t, r))
16064
16064
  return rt(null, null, r), !0;
16065
16065
  const o = e <= 23 ? 1 : 2;
16066
- t >= 64 && t <= 95 ? i = o === 1 ? Hc[e] : Kc[e] : i = o === 1 ? Vc[e] : Wc[e];
16066
+ t >= 64 && t <= 95 ? i = o === 1 ? $c[e] : Gc[e] : i = o === 1 ? Uc[e] : Hc[e];
16067
16067
  const l = this.channels[o];
16068
16068
  return l ? (l.setPAC(this.interpretPAC(i, t)), rt(e, t, r), this.currentChannel = o, !0) : !1;
16069
16069
  }
@@ -16109,7 +16109,7 @@ class cr {
16109
16109
  return !1;
16110
16110
  let n;
16111
16111
  const a = {};
16112
- e === 16 || e === 24 ? (n = Math.floor((t - 32) / 2), a.background = zc[n], t % 2 === 1 && (a.background = a.background + "_semi")) : t === 45 ? a.background = "transparent" : (a.foreground = "black", t === 47 && (a.underline = !0));
16112
+ e === 16 || e === 24 ? (n = Math.floor((t - 32) / 2), a.background = Vc[n], t % 2 === 1 && (a.background = a.background + "_semi")) : t === 45 ? a.background = "transparent" : (a.foreground = "black", t === 47 && (a.underline = !0));
16113
16113
  const o = e <= 23 ? 1 : 2;
16114
16114
  return this.channels[o].setBkgData(a), rt(e, t, this.cmdHistory), !0;
16115
16115
  }
@@ -16316,7 +16316,7 @@ var ms = function() {
16316
16316
  return self.WebVTT.convertCueToDOMTree(self, this.text);
16317
16317
  }, a;
16318
16318
  }();
16319
- class Xc {
16319
+ class Yc {
16320
16320
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
16321
16321
  decode(e, t) {
16322
16322
  if (!e)
@@ -16333,7 +16333,7 @@ function Zn(s) {
16333
16333
  const t = s.match(/^(?:(\d+):)?(\d{2}):(\d{2})(\.\d+)?/);
16334
16334
  return t ? parseFloat(t[2]) > 59 ? e(t[2], t[3], 0, t[4]) : e(t[1], t[2], t[3], t[4]) : null;
16335
16335
  }
16336
- class Zc {
16336
+ class jc {
16337
16337
  constructor() {
16338
16338
  this.values = /* @__PURE__ */ Object.create(null);
16339
16339
  }
@@ -16388,7 +16388,7 @@ function Qn(s, e, t, i) {
16388
16388
  }
16389
16389
  }
16390
16390
  const Hi = new ms(0, 0, ""), Dt = Hi.align === "middle" ? "middle" : "center";
16391
- function Qc(s, e, t) {
16391
+ function qc(s, e, t) {
16392
16392
  const i = s;
16393
16393
  function r() {
16394
16394
  const o = Zn(s);
@@ -16397,7 +16397,7 @@ function Qc(s, e, t) {
16397
16397
  return s = s.replace(/^[^\sa-zA-Z-]+/, ""), o;
16398
16398
  }
16399
16399
  function n(o, l) {
16400
- const c = new Zc();
16400
+ const c = new jc();
16401
16401
  Qn(o, function(d, f) {
16402
16402
  let m;
16403
16403
  switch (d) {
@@ -16441,9 +16441,9 @@ function Jn(s) {
16441
16441
  return s.replace(/<br(?: \/)?>/gi, `
16442
16442
  `);
16443
16443
  }
16444
- class Jc {
16444
+ class Xc {
16445
16445
  constructor() {
16446
- this.state = "INITIAL", this.buffer = "", this.decoder = new Xc(), this.regionList = [], this.cue = null, this.oncue = void 0, this.onparsingerror = void 0, this.onflush = void 0;
16446
+ this.state = "INITIAL", this.buffer = "", this.decoder = new Yc(), this.regionList = [], this.cue = null, this.oncue = void 0, this.onparsingerror = void 0, this.onflush = void 0;
16447
16447
  }
16448
16448
  parse(e) {
16449
16449
  const t = this;
@@ -16502,7 +16502,7 @@ class Jc {
16502
16502
  continue;
16503
16503
  }
16504
16504
  try {
16505
- Qc(n, t.cue, t.regionList);
16505
+ qc(n, t.cue, t.regionList);
16506
16506
  } catch {
16507
16507
  t.cue = null, t.state = "BADCUE";
16508
16508
  continue;
@@ -16544,9 +16544,9 @@ class Jc {
16544
16544
  return e.onflush && e.onflush(), this;
16545
16545
  }
16546
16546
  }
16547
- const eu = /\r\n|\n\r|\n|\r/g, Ti = function(e, t, i = 0) {
16547
+ const Zc = /\r\n|\n\r|\n|\r/g, Ti = function(e, t, i = 0) {
16548
16548
  return e.slice(i, i + t.length) === t;
16549
- }, tu = function(e) {
16549
+ }, Qc = function(e) {
16550
16550
  let t = parseInt(e.slice(-3));
16551
16551
  const i = parseInt(e.slice(-6, -4)), r = parseInt(e.slice(-9, -7)), n = e.length > 9 ? parseInt(e.substring(0, e.indexOf(":"))) : 0;
16552
16552
  if (!W(t) || !W(i) || !W(r) || !W(n))
@@ -16561,7 +16561,7 @@ const eu = /\r\n|\n\r|\n|\r/g, Ti = function(e, t, i = 0) {
16561
16561
  function gs(s, e, t) {
16562
16562
  return Ei(s.toString()) + Ei(e.toString()) + Ei(t);
16563
16563
  }
16564
- const iu = function(e, t, i) {
16564
+ const Jc = function(e, t, i) {
16565
16565
  let r = e[t], n = e[r.prevCC];
16566
16566
  if (!n || !n.new && r.new) {
16567
16567
  e.ccOffset = e.presentationOffset = r.start, r.new = !1;
@@ -16573,16 +16573,16 @@ const iu = function(e, t, i) {
16573
16573
  }
16574
16574
  e.presentationOffset = i;
16575
16575
  };
16576
- function su(s, e, t, i, r, n, a) {
16577
- const o = new Jc(), l = Ne(new Uint8Array(s)).trim().replace(eu, `
16576
+ function eu(s, e, t, i, r, n, a) {
16577
+ const o = new Xc(), l = Ne(new Uint8Array(s)).trim().replace(Zc, `
16578
16578
  `).split(`
16579
- `), c = [], u = e ? bc(e.baseTime, e.timescale) : 0;
16579
+ `), c = [], u = e ? Tc(e.baseTime, e.timescale) : 0;
16580
16580
  let h = "00:00.000", d = 0, f = 0, m, g = !0;
16581
16581
  o.oncue = function(y) {
16582
16582
  const v = t[i];
16583
16583
  let T = t.ccOffset;
16584
16584
  const x = (d - u) / 9e4;
16585
- if (v != null && v.new && (f !== void 0 ? T = t.ccOffset = v.start : iu(t, i, x)), x) {
16585
+ if (v != null && v.new && (f !== void 0 ? T = t.ccOffset = v.start : Jc(t, i, x)), x) {
16586
16586
  if (!e) {
16587
16587
  m = new Error("Missing initPTS for VTT MPEGTS");
16588
16588
  return;
@@ -16608,7 +16608,7 @@ function su(s, e, t, i, r, n, a) {
16608
16608
  Ti(v, "LOCAL:") ? h = v.slice(6) : Ti(v, "MPEGTS:") && (d = parseInt(v.slice(7)));
16609
16609
  });
16610
16610
  try {
16611
- f = tu(h) / 1e3;
16611
+ f = Qc(h) / 1e3;
16612
16612
  } catch (v) {
16613
16613
  m = v;
16614
16614
  }
@@ -16619,7 +16619,7 @@ function su(s, e, t, i, r, n, a) {
16619
16619
  `);
16620
16620
  }), o.flush();
16621
16621
  }
16622
- const Si = "stpp.ttml.im1t", ea = /^(\d{2,}):(\d{2}):(\d{2}):(\d{2})\.?(\d+)?$/, ta = /^(\d*(?:\.\d*)?)(h|m|s|ms|f|t)$/, ru = {
16622
+ const Si = "stpp.ttml.im1t", ea = /^(\d{2,}):(\d{2}):(\d{2}):(\d{2})\.?(\d+)?$/, ta = /^(\d*(?:\.\d*)?)(h|m|s|ms|f|t)$/, tu = {
16623
16623
  left: "start",
16624
16624
  center: "center",
16625
16625
  right: "end",
@@ -16632,14 +16632,14 @@ function dr(s, e, t, i) {
16632
16632
  i(new Error("Could not parse IMSC1 mdat"));
16633
16633
  return;
16634
16634
  }
16635
- const n = r.map((o) => Ne(o)), a = Sc(e.baseTime, 1, e.timescale);
16635
+ const n = r.map((o) => Ne(o)), a = xc(e.baseTime, 1, e.timescale);
16636
16636
  try {
16637
- n.forEach((o) => t(nu(o, a)));
16637
+ n.forEach((o) => t(iu(o, a)));
16638
16638
  } catch (o) {
16639
16639
  i(o);
16640
16640
  }
16641
16641
  }
16642
- function nu(s, e) {
16642
+ function iu(s, e) {
16643
16643
  const r = new DOMParser().parseFromString(s, "text/xml").getElementsByTagName("tt")[0];
16644
16644
  if (!r)
16645
16645
  throw new Error("Invalid ttml");
@@ -16664,11 +16664,11 @@ function nu(s, e) {
16664
16664
  }
16665
16665
  const y = new ms(f - e, g - e, d);
16666
16666
  y.id = gs(y.startTime, y.endTime, y.text);
16667
- const v = c[h.getAttribute("region")], T = l[h.getAttribute("style")], x = au(v, T, l), {
16667
+ const v = c[h.getAttribute("region")], T = l[h.getAttribute("style")], x = su(v, T, l), {
16668
16668
  textAlign: L
16669
16669
  } = x;
16670
16670
  if (L) {
16671
- const E = ru[L];
16671
+ const E = tu[L];
16672
16672
  E && (y.lineAlign = E), y.align = L;
16673
16673
  }
16674
16674
  return oe(y, x), y;
@@ -16691,7 +16691,7 @@ function ia(s, e) {
16691
16691
  ` : (n = i.childNodes) != null && n.length ? ia(i, e) : e ? t + i.textContent.trim().replace(/\s+/g, " ") : t + i.textContent;
16692
16692
  }, "");
16693
16693
  }
16694
- function au(s, e, t) {
16694
+ function su(s, e, t) {
16695
16695
  const i = "http://www.w3.org/ns/ttml#styling";
16696
16696
  let r = null;
16697
16697
  const n = [
@@ -16723,13 +16723,13 @@ function Li(s, e) {
16723
16723
  if (!s)
16724
16724
  return null;
16725
16725
  let t = Zn(s);
16726
- return t === null && (ea.test(s) ? t = ou(s, e) : ta.test(s) && (t = lu(s, e))), t;
16726
+ return t === null && (ea.test(s) ? t = ru(s, e) : ta.test(s) && (t = nu(s, e))), t;
16727
16727
  }
16728
- function ou(s, e) {
16728
+ function ru(s, e) {
16729
16729
  const t = ea.exec(s), i = (t[4] | 0) + (t[5] | 0) / e.subFrameRate;
16730
16730
  return (t[1] | 0) * 3600 + (t[2] | 0) * 60 + (t[3] | 0) + i / e.frameRate;
16731
16731
  }
16732
- function lu(s, e) {
16732
+ function nu(s, e) {
16733
16733
  const t = ta.exec(s), i = Number(t[1]);
16734
16734
  switch (t[2]) {
16735
16735
  case "h":
@@ -16745,7 +16745,7 @@ function lu(s, e) {
16745
16745
  }
16746
16746
  return i;
16747
16747
  }
16748
- class cu {
16748
+ class au {
16749
16749
  constructor(e) {
16750
16750
  this.hls = void 0, this.media = null, this.config = void 0, this.enabled = !0, this.Cues = void 0, this.textTracks = [], this.tracks = [], this.initPTS = [], this.unparsedVttFrags = [], this.captionsTracks = {}, this.nonNativeCaptionsTracks = {}, this.cea608Parser1 = void 0, this.cea608Parser2 = void 0, this.lastCc = -1, this.lastSn = -1, this.lastPartIndex = -1, this.prevCC = -1, this.vttCCs = pr(), this.captionsProperties = void 0, this.hls = e, this.config = e.config, this.Cues = e.config.cueHandler, this.captionsProperties = {
16751
16751
  textTrack1: {
@@ -16781,7 +16781,7 @@ class cu {
16781
16781
  addCues(e, t, i, r, n) {
16782
16782
  let a = !1;
16783
16783
  for (let o = n.length; o--; ) {
16784
- const l = n[o], c = uu(l[0], l[1], t, i);
16784
+ const l = n[o], c = ou(l[0], l[1], t, i);
16785
16785
  if (c >= 0 && (l[0] = Math.min(l[0], t), l[1] = Math.max(l[1], i), a = !0, c / (i - t) > 0.5))
16786
16786
  return;
16787
16787
  }
@@ -17025,7 +17025,7 @@ class cu {
17025
17025
  return;
17026
17026
  }
17027
17027
  const l = this.hls, c = (t = i.initSegment) != null && t.data ? Le(i.initSegment.data, new Uint8Array(r)) : r;
17028
- su(c, this.initPTS[i.cc], this.vttCCs, i.cc, i.start, (u) => {
17028
+ eu(c, this.initPTS[i.cc], this.vttCCs, i.cc, i.start, (u) => {
17029
17029
  this._appendCues(u, i.level), l.trigger(p.SUBTITLE_FRAG_PROCESSED, {
17030
17030
  success: !0,
17031
17031
  frag: i
@@ -17141,7 +17141,7 @@ function sa(s) {
17141
17141
  function gr(s, e) {
17142
17142
  return !!s && s.kind === sa(e) && Gi(e, s);
17143
17143
  }
17144
- function uu(s, e, t, i) {
17144
+ function ou(s, e, t, i) {
17145
17145
  return Math.min(e, i) - Math.max(s, t);
17146
17146
  }
17147
17147
  function pr() {
@@ -17279,7 +17279,7 @@ class ps {
17279
17279
  return n;
17280
17280
  }
17281
17281
  }
17282
- class hu {
17282
+ class lu {
17283
17283
  constructor(e) {
17284
17284
  this.hls = void 0, this.isVideoPlaybackQualityAvailable = !1, this.timer = void 0, this.media = null, this.lastTime = void 0, this.lastDroppedFrames = 0, this.lastDecodedFrames = 0, this.streamController = void 0, this.hls = e, this.registerListeners();
17285
17285
  }
@@ -17398,7 +17398,7 @@ class ot {
17398
17398
  return i(e, t);
17399
17399
  }
17400
17400
  getMediaKeysPromise(e, t, i) {
17401
- const r = So(e, t, i, this.config.drmSystemOptions), n = this.keySystemAccessPromises[e];
17401
+ const r = xo(e, t, i, this.config.drmSystemOptions), n = this.keySystemAccessPromises[e];
17402
17402
  let a = n == null ? void 0 : n.keySystemAccess;
17403
17403
  if (!a) {
17404
17404
  this.log(`Requesting encrypted media "${e}" key-system access with config: ${JSON.stringify(r)}`), a = this.requestMediaKeySystemAccess(e, r);
@@ -17537,10 +17537,10 @@ class ot {
17537
17537
  return;
17538
17538
  }
17539
17539
  } else {
17540
- const u = Yo(i);
17540
+ const u = Ko(i);
17541
17541
  if (u === null)
17542
17542
  return;
17543
- u.version === 0 && u.systemId === ln.WIDEVINE && u.data && (r = u.data.subarray(8, 24)), n = Eo(u.systemId);
17543
+ u.version === 0 && u.systemId === ln.WIDEVINE && u.data && (r = u.data.subarray(8, 24)), n = vo(u.systemId);
17544
17544
  }
17545
17545
  if (!n || !r)
17546
17546
  return;
@@ -17886,7 +17886,7 @@ var Ze;
17886
17886
  (function(s) {
17887
17887
  s.OBJECT = "CMCD-Object", s.REQUEST = "CMCD-Request", s.SESSION = "CMCD-Session", s.STATUS = "CMCD-Status";
17888
17888
  })(Ze || (Ze = {}));
17889
- const du = {
17889
+ const cu = {
17890
17890
  [Ze.OBJECT]: ["br", "d", "ot", "tb"],
17891
17891
  [Ze.REQUEST]: ["bl", "dl", "mtp", "nor", "nrr", "su"],
17892
17892
  [Ze.SESSION]: ["cid", "pr", "sf", "sid", "st", "v"],
@@ -17902,42 +17902,42 @@ class ra {
17902
17902
  this.description = void 0, this.description = e;
17903
17903
  }
17904
17904
  }
17905
- const fu = "Dict";
17906
- function mu(s) {
17905
+ const uu = "Dict";
17906
+ function hu(s) {
17907
17907
  return Array.isArray(s) ? JSON.stringify(s) : s instanceof Map ? "Map{}" : s instanceof Set ? "Set{}" : typeof s == "object" ? JSON.stringify(s) : String(s);
17908
17908
  }
17909
- function gu(s, e, t, i) {
17910
- return new Error(`failed to ${s} "${mu(e)}" as ${t}`, {
17909
+ function du(s, e, t, i) {
17910
+ return new Error(`failed to ${s} "${hu(e)}" as ${t}`, {
17911
17911
  cause: i
17912
17912
  });
17913
17913
  }
17914
- const yr = "Bare Item", pu = "Boolean", yu = "Byte Sequence", vu = "Decimal", xu = "Integer";
17915
- function Tu(s) {
17914
+ const yr = "Bare Item", fu = "Boolean", mu = "Byte Sequence", gu = "Decimal", pu = "Integer";
17915
+ function yu(s) {
17916
17916
  return s < -999999999999999 || 999999999999999 < s;
17917
17917
  }
17918
- const Eu = /[\x00-\x1f\x7f]+/, Su = "Token", bu = "Key";
17918
+ const vu = /[\x00-\x1f\x7f]+/, xu = "Token", Tu = "Key";
17919
17919
  function Be(s, e, t) {
17920
- return gu("serialize", s, e, t);
17920
+ return du("serialize", s, e, t);
17921
17921
  }
17922
- function Au(s) {
17922
+ function Eu(s) {
17923
17923
  if (typeof s != "boolean")
17924
- throw Be(s, pu);
17924
+ throw Be(s, fu);
17925
17925
  return s ? "?1" : "?0";
17926
17926
  }
17927
- function Lu(s) {
17927
+ function Su(s) {
17928
17928
  return btoa(String.fromCharCode(...s));
17929
17929
  }
17930
- function Ru(s) {
17930
+ function bu(s) {
17931
17931
  if (ArrayBuffer.isView(s) === !1)
17932
- throw Be(s, yu);
17933
- return `:${Lu(s)}:`;
17932
+ throw Be(s, mu);
17933
+ return `:${Su(s)}:`;
17934
17934
  }
17935
17935
  function na(s) {
17936
- if (Tu(s))
17937
- throw Be(s, xu);
17936
+ if (yu(s))
17937
+ throw Be(s, pu);
17938
17938
  return s.toString();
17939
17939
  }
17940
- function Cu(s) {
17940
+ function Au(s) {
17941
17941
  return `@${na(s.getTime() / 1e3)}`;
17942
17942
  }
17943
17943
  function aa(s, e) {
@@ -17950,26 +17950,26 @@ function aa(s, e) {
17950
17950
  } else
17951
17951
  return Math.round(s * t) / t;
17952
17952
  }
17953
- function _u(s) {
17953
+ function Lu(s) {
17954
17954
  const e = aa(s, 3);
17955
17955
  if (Math.floor(Math.abs(e)).toString().length > 12)
17956
- throw Be(s, vu);
17956
+ throw Be(s, gu);
17957
17957
  const t = e.toString();
17958
17958
  return t.includes(".") ? t : `${t}.0`;
17959
17959
  }
17960
- const Du = "String";
17961
- function Iu(s) {
17962
- if (Eu.test(s))
17963
- throw Be(s, Du);
17960
+ const Ru = "String";
17961
+ function Cu(s) {
17962
+ if (vu.test(s))
17963
+ throw Be(s, Ru);
17964
17964
  return `"${s.replace(/\\/g, "\\\\").replace(/"/g, '\\"')}"`;
17965
17965
  }
17966
- function wu(s) {
17966
+ function _u(s) {
17967
17967
  return s.description || s.toString().slice(7, -1);
17968
17968
  }
17969
17969
  function vr(s) {
17970
- const e = wu(s);
17970
+ const e = _u(s);
17971
17971
  if (/^([a-zA-Z*])([!#$%&'*+\-.^_`|~\w:/]*)$/.test(e) === !1)
17972
- throw Be(e, Su);
17972
+ throw Be(e, xu);
17973
17973
  return e;
17974
17974
  }
17975
17975
  function Ki(s) {
@@ -17977,18 +17977,18 @@ function Ki(s) {
17977
17977
  case "number":
17978
17978
  if (!W(s))
17979
17979
  throw Be(s, yr);
17980
- return Number.isInteger(s) ? na(s) : _u(s);
17980
+ return Number.isInteger(s) ? na(s) : Lu(s);
17981
17981
  case "string":
17982
- return Iu(s);
17982
+ return Cu(s);
17983
17983
  case "symbol":
17984
17984
  return vr(s);
17985
17985
  case "boolean":
17986
- return Au(s);
17986
+ return Eu(s);
17987
17987
  case "object":
17988
17988
  if (s instanceof Date)
17989
- return Cu(s);
17989
+ return Au(s);
17990
17990
  if (s instanceof Uint8Array)
17991
- return Ru(s);
17991
+ return bu(s);
17992
17992
  if (s instanceof ra)
17993
17993
  return vr(s);
17994
17994
  default:
@@ -17997,7 +17997,7 @@ function Ki(s) {
17997
17997
  }
17998
17998
  function Wi(s) {
17999
17999
  if (/^[a-z*][a-z0-9\-_.*]*$/.test(s) === !1)
18000
- throw Be(s, bu);
18000
+ throw Be(s, Tu);
18001
18001
  return s;
18002
18002
  }
18003
18003
  function ys(s) {
@@ -18006,26 +18006,26 @@ function ys(s) {
18006
18006
  function oa(s) {
18007
18007
  return s instanceof ht ? `${Ki(s.value)}${ys(s.params)}` : Ki(s);
18008
18008
  }
18009
- function ku(s) {
18009
+ function Du(s) {
18010
18010
  return `(${s.value.map(oa).join(" ")})${ys(s.params)}`;
18011
18011
  }
18012
- function Pu(s, e = {
18012
+ function Iu(s, e = {
18013
18013
  whitespace: !0
18014
18014
  }) {
18015
18015
  if (typeof s != "object")
18016
- throw Be(s, fu);
18016
+ throw Be(s, uu);
18017
18017
  const t = s instanceof Map ? s.entries() : Object.entries(s), i = e != null && e.whitespace ? " " : "";
18018
18018
  return Array.from(t).map(([r, n]) => {
18019
18019
  n instanceof ht || (n = new ht(n));
18020
18020
  let a = Wi(r);
18021
- return n.value === !0 ? a += ys(n.params) : (a += "=", Array.isArray(n.value) ? a += ku(n) : a += oa(n)), a;
18021
+ return n.value === !0 ? a += ys(n.params) : (a += "=", Array.isArray(n.value) ? a += Du(n) : a += oa(n)), a;
18022
18022
  }).join(`,${i}`);
18023
18023
  }
18024
- function Ou(s, e) {
18025
- return Pu(s, e);
18024
+ function wu(s, e) {
18025
+ return Iu(s, e);
18026
18026
  }
18027
- const Fu = (s) => s === "ot" || s === "sf" || s === "st", Mu = (s) => typeof s == "number" ? W(s) : s != null && s !== "" && s !== !1;
18028
- function Nu(s, e) {
18027
+ const ku = (s) => s === "ot" || s === "sf" || s === "st", Pu = (s) => typeof s == "number" ? W(s) : s != null && s !== "" && s !== !1;
18028
+ function Ou(s, e) {
18029
18029
  const t = new URL(s), i = new URL(e);
18030
18030
  if (t.origin !== i.origin)
18031
18031
  return s;
@@ -18036,7 +18036,7 @@ function Nu(s, e) {
18036
18036
  n.shift(), r.unshift("..");
18037
18037
  return r.join("/");
18038
18038
  }
18039
- function Bu() {
18039
+ function Fu() {
18040
18040
  try {
18041
18041
  return crypto.randomUUID();
18042
18042
  } catch {
@@ -18052,7 +18052,7 @@ function Bu() {
18052
18052
  }
18053
18053
  }
18054
18054
  }
18055
- const $t = (s) => Math.round(s), $u = (s, e) => (e != null && e.baseUrl && (s = Nu(s, e.baseUrl)), encodeURIComponent(s)), wt = (s) => $t(s / 100) * 100, Uu = {
18055
+ const $t = (s) => Math.round(s), Mu = (s, e) => (e != null && e.baseUrl && (s = Ou(s, e.baseUrl)), encodeURIComponent(s)), wt = (s) => $t(s / 100) * 100, Nu = {
18056
18056
  /**
18057
18057
  * Bitrate (kbps) rounded integer
18058
18058
  */
@@ -18076,7 +18076,7 @@ const $t = (s) => Math.round(s), $u = (s, e) => (e != null && e.baseUrl && (s =
18076
18076
  /**
18077
18077
  * Next Object Request URL encoded
18078
18078
  */
18079
- nor: $u,
18079
+ nor: Mu,
18080
18080
  /**
18081
18081
  * Requested maximum throughput (kbps) rounded nearest 100kbps
18082
18082
  */
@@ -18086,47 +18086,47 @@ const $t = (s) => Math.round(s), $u = (s, e) => (e != null && e.baseUrl && (s =
18086
18086
  */
18087
18087
  tb: $t
18088
18088
  };
18089
- function Gu(s, e) {
18089
+ function Bu(s, e) {
18090
18090
  const t = {};
18091
18091
  if (s == null || typeof s != "object")
18092
18092
  return t;
18093
- const i = Object.keys(s).sort(), r = oe({}, Uu, e == null ? void 0 : e.formatters), n = e == null ? void 0 : e.filter;
18093
+ const i = Object.keys(s).sort(), r = oe({}, Nu, e == null ? void 0 : e.formatters), n = e == null ? void 0 : e.filter;
18094
18094
  return i.forEach((a) => {
18095
18095
  if (n != null && n(a))
18096
18096
  return;
18097
18097
  let o = s[a];
18098
18098
  const l = r[a];
18099
- l && (o = l(o, e)), !(a === "v" && o === 1) && (a == "pr" && o === 1 || Mu(o) && (Fu(a) && typeof o == "string" && (o = new ra(o)), t[a] = o));
18099
+ l && (o = l(o, e)), !(a === "v" && o === 1) && (a == "pr" && o === 1 || Pu(o) && (ku(a) && typeof o == "string" && (o = new ra(o)), t[a] = o));
18100
18100
  }), t;
18101
18101
  }
18102
18102
  function la(s, e = {}) {
18103
- return s ? Ou(Gu(s, e), oe({
18103
+ return s ? wu(Bu(s, e), oe({
18104
18104
  whitespace: !1
18105
18105
  }, e)) : "";
18106
18106
  }
18107
- function Hu(s, e = {}) {
18107
+ function $u(s, e = {}) {
18108
18108
  if (!s)
18109
18109
  return {};
18110
- const t = Object.entries(s), i = Object.entries(du).concat(Object.entries((e == null ? void 0 : e.customHeaderMap) || {})), r = t.reduce((n, a) => {
18110
+ const t = Object.entries(s), i = Object.entries(cu).concat(Object.entries((e == null ? void 0 : e.customHeaderMap) || {})), r = t.reduce((n, a) => {
18111
18111
  var o, l;
18112
18112
  const [c, u] = a, h = ((o = i.find((d) => d[1].includes(c))) == null ? void 0 : o[0]) || Ze.REQUEST;
18113
18113
  return (l = n[h]) != null || (n[h] = {}), n[h][c] = u, n;
18114
18114
  }, {});
18115
18115
  return Object.entries(r).reduce((n, [a, o]) => (n[a] = la(o, e), n), {});
18116
18116
  }
18117
- function Vu(s, e, t) {
18118
- return oe(s, Hu(e, t));
18117
+ function Uu(s, e, t) {
18118
+ return oe(s, $u(e, t));
18119
18119
  }
18120
- const Ku = "CMCD";
18121
- function Wu(s, e = {}) {
18120
+ const Gu = "CMCD";
18121
+ function Hu(s, e = {}) {
18122
18122
  if (!s)
18123
18123
  return "";
18124
18124
  const t = la(s, e);
18125
- return `${Ku}=${encodeURIComponent(t)}`;
18125
+ return `${Gu}=${encodeURIComponent(t)}`;
18126
18126
  }
18127
18127
  const xr = /CMCD=[^&#]+/;
18128
- function zu(s, e, t) {
18129
- const i = Wu(e, t);
18128
+ function Vu(s, e, t) {
18129
+ const i = Hu(e, t);
18130
18130
  if (!i)
18131
18131
  return s;
18132
18132
  if (xr.test(s))
@@ -18134,7 +18134,7 @@ function zu(s, e, t) {
18134
18134
  const r = s.includes("?") ? "&" : "?";
18135
18135
  return `${s}${r}${i}`;
18136
18136
  }
18137
- class Yu {
18137
+ class Ku {
18138
18138
  // eslint-disable-line no-restricted-globals
18139
18139
  constructor(e) {
18140
18140
  this.hls = void 0, this.config = void 0, this.media = void 0, this.sid = void 0, this.cid = void 0, this.useHeaders = !1, this.includeKeys = void 0, this.initialized = !1, this.starved = !1, this.buffering = !0, this.audioBuffer = void 0, this.videoBuffer = void 0, this.onWaiting = () => {
@@ -18164,7 +18164,7 @@ class Yu {
18164
18164
  const t = this.config = e.config, {
18165
18165
  cmcd: i
18166
18166
  } = t;
18167
- i != null && (t.pLoader = this.createPlaylistLoader(), t.fLoader = this.createFragmentLoader(), this.sid = i.sessionId || Bu(), this.cid = i.contentId, this.useHeaders = i.useHeaders === !0, this.includeKeys = i.includeKeys, this.registerListeners());
18167
+ i != null && (t.pLoader = this.createPlaylistLoader(), t.fLoader = this.createFragmentLoader(), this.sid = i.sessionId || Fu(), this.cid = i.contentId, this.useHeaders = i.useHeaders === !0, this.includeKeys = i.includeKeys, this.registerListeners());
18168
18168
  }
18169
18169
  registerListeners() {
18170
18170
  const e = this.hls;
@@ -18211,7 +18211,7 @@ class Yu {
18211
18211
  const {
18212
18212
  includeKeys: r
18213
18213
  } = this;
18214
- r && (t = Object.keys(t).reduce((n, a) => (r.includes(a) && (n[a] = t[a]), n), {})), this.useHeaders ? (e.headers || (e.headers = {}), Vu(e.headers, t)) : e.url = zu(e.url, t);
18214
+ r && (t = Object.keys(t).reduce((n, a) => (r.includes(a) && (n[a] = t[a]), n), {})), this.useHeaders ? (e.headers || (e.headers = {}), Uu(e.headers, t)) : e.url = Vu(e.url, t);
18215
18215
  }
18216
18216
  /**
18217
18217
  * The CMCD object type.
@@ -18309,8 +18309,8 @@ class Yu {
18309
18309
  };
18310
18310
  }
18311
18311
  }
18312
- const ju = 3e5;
18313
- class qu {
18312
+ const Wu = 3e5;
18313
+ class zu {
18314
18314
  constructor(e) {
18315
18315
  this.hls = void 0, this.log = void 0, this.loader = null, this.uri = null, this.pathwayId = ".", this.pathwayPriority = null, this.timeToLoad = 300, this.reloadTimer = -1, this.updated = 0, this.started = !1, this.enabled = !0, this.levels = null, this.audioTracks = null, this.subtitleTracks = null, this.penalizedPathways = {}, this.hls = e, this.log = S.log.bind(S, "[content-steering]:"), this.registerListeners();
18316
18316
  }
@@ -18394,7 +18394,7 @@ class qu {
18394
18394
  let t;
18395
18395
  const i = this.penalizedPathways, r = performance.now();
18396
18396
  Object.keys(i).forEach((n) => {
18397
- r - i[n] > ju && delete i[n];
18397
+ r - i[n] > Wu && delete i[n];
18398
18398
  });
18399
18399
  for (let n = 0; n < e.length; n++) {
18400
18400
  const a = e[n];
@@ -18567,7 +18567,7 @@ function ca(s, e, t, i) {
18567
18567
  c && l.searchParams.set(c, n[c]);
18568
18568
  }), l.href;
18569
18569
  }
18570
- const Xu = /^age:\s*[\d.]+\s*$/im;
18570
+ const Yu = /^age:\s*[\d.]+\s*$/im;
18571
18571
  class ua {
18572
18572
  constructor(e) {
18573
18573
  this.xhrSetup = void 0, this.requestTimeout = void 0, this.retryTimeout = void 0, this.retryDelay = void 0, this.config = null, this.callbacks = null, this.context = null, this.loader = null, this.stats = void 0, this.xhrSetup = e && e.xhrSetup || null, this.stats = new ti(), this.retryDelay = 0;
@@ -18685,7 +18685,7 @@ class ua {
18685
18685
  }
18686
18686
  getCacheAge() {
18687
18687
  let e = null;
18688
- if (this.loader && Xu.test(this.loader.getAllResponseHeaders())) {
18688
+ if (this.loader && Yu.test(this.loader.getAllResponseHeaders())) {
18689
18689
  const t = this.loader.getResponseHeader("age");
18690
18690
  e = t ? parseFloat(t) : null;
18691
18691
  }
@@ -18695,7 +18695,7 @@ class ua {
18695
18695
  return this.loader && new RegExp(`^${e}:\\s*[\\d.]+\\s*$`, "im").test(this.loader.getAllResponseHeaders()) ? this.loader.getResponseHeader(e) : null;
18696
18696
  }
18697
18697
  }
18698
- function Zu() {
18698
+ function ju() {
18699
18699
  if (
18700
18700
  // @ts-ignore
18701
18701
  self.fetch && self.AbortController && self.ReadableStream && self.Request
@@ -18706,10 +18706,10 @@ function Zu() {
18706
18706
  }
18707
18707
  return !1;
18708
18708
  }
18709
- const Qu = /(\d+)-(\d+)\/(\d+)/;
18709
+ const qu = /(\d+)-(\d+)\/(\d+)/;
18710
18710
  class Er {
18711
18711
  constructor(e) {
18712
- this.fetchSetup = void 0, this.requestTimeout = void 0, this.request = null, this.response = null, this.controller = void 0, this.context = null, this.config = null, this.callbacks = null, this.stats = void 0, this.loader = null, this.fetchSetup = e.fetchSetup || ih, this.controller = new self.AbortController(), this.stats = new ti();
18712
+ this.fetchSetup = void 0, this.requestTimeout = void 0, this.request = null, this.response = null, this.controller = void 0, this.context = null, this.config = null, this.callbacks = null, this.stats = void 0, this.loader = null, this.fetchSetup = e.fetchSetup || Ju, this.controller = new self.AbortController(), this.stats = new ti();
18713
18713
  }
18714
18714
  destroy() {
18715
18715
  this.loader = this.callbacks = this.context = this.config = this.request = null, this.abortInternal(), this.response = null, this.fetchSetup = this.controller = this.stats = null;
@@ -18726,7 +18726,7 @@ class Er {
18726
18726
  if (r.loading.start)
18727
18727
  throw new Error("Loader can only be used once.");
18728
18728
  r.loading.start = self.performance.now();
18729
- const n = Ju(e, this.controller.signal), a = i.onProgress, o = e.responseType === "arraybuffer", l = o ? "byteLength" : "length", {
18729
+ const n = Xu(e, this.controller.signal), a = i.onProgress, o = e.responseType === "arraybuffer", l = o ? "byteLength" : "length", {
18730
18730
  maxTimeToFirstByteMs: c,
18731
18731
  maxLoadTimeMs: u
18732
18732
  } = t.loadPolicy;
@@ -18742,9 +18742,9 @@ class Er {
18742
18742
  status: f,
18743
18743
  statusText: m
18744
18744
  } = h;
18745
- throw new sh(m || "fetch, bad network response", f, h);
18745
+ throw new eh(m || "fetch, bad network response", f, h);
18746
18746
  }
18747
- return r.loading.first = d, r.total = th(h.headers) || r.total, a && W(t.highWaterMark) ? this.loadProgressively(h, r, e, t.highWaterMark, a) : o ? h.arrayBuffer() : e.responseType === "json" ? h.json() : h.text();
18747
+ return r.loading.first = d, r.total = Qu(h.headers) || r.total, a && W(t.highWaterMark) ? this.loadProgressively(h, r, e, t.highWaterMark, a) : o ? h.arrayBuffer() : e.responseType === "json" ? h.json() : h.text();
18748
18748
  }).then((h) => {
18749
18749
  const d = this.response;
18750
18750
  if (!d)
@@ -18789,7 +18789,7 @@ class Er {
18789
18789
  return l();
18790
18790
  }
18791
18791
  }
18792
- function Ju(s, e) {
18792
+ function Xu(s, e) {
18793
18793
  const t = {
18794
18794
  method: "GET",
18795
18795
  mode: "cors",
@@ -18799,15 +18799,15 @@ function Ju(s, e) {
18799
18799
  };
18800
18800
  return s.rangeEnd && t.headers.set("Range", "bytes=" + s.rangeStart + "-" + String(s.rangeEnd - 1)), t;
18801
18801
  }
18802
- function eh(s) {
18803
- const e = Qu.exec(s);
18802
+ function Zu(s) {
18803
+ const e = qu.exec(s);
18804
18804
  if (e)
18805
18805
  return parseInt(e[2]) - parseInt(e[1]) + 1;
18806
18806
  }
18807
- function th(s) {
18807
+ function Qu(s) {
18808
18808
  const e = s.get("Content-Range");
18809
18809
  if (e) {
18810
- const i = eh(e);
18810
+ const i = Zu(e);
18811
18811
  if (W(i))
18812
18812
  return i;
18813
18813
  }
@@ -18815,15 +18815,15 @@ function th(s) {
18815
18815
  if (t)
18816
18816
  return parseInt(t);
18817
18817
  }
18818
- function ih(s, e) {
18818
+ function Ju(s, e) {
18819
18819
  return new self.Request(s.url, e);
18820
18820
  }
18821
- class sh extends Error {
18821
+ class eh extends Error {
18822
18822
  constructor(e, t, i) {
18823
18823
  super(e), this.code = void 0, this.details = void 0, this.code = t, this.details = i;
18824
18824
  }
18825
18825
  }
18826
- const rh = /\s/, nh = {
18826
+ const th = /\s/, ih = {
18827
18827
  newCue(s, e, t, i) {
18828
18828
  const r = [];
18829
18829
  let n, a, o, l, c;
@@ -18832,14 +18832,14 @@ const rh = /\s/, nh = {
18832
18832
  if (n = i.rows[d], o = !0, l = 0, c = "", !n.isEmpty()) {
18833
18833
  var h;
18834
18834
  for (let g = 0; g < n.chars.length; g++)
18835
- rh.test(n.chars[g].uchar) && o ? l++ : (c += n.chars[g].uchar, o = !1);
18835
+ th.test(n.chars[g].uchar) && o ? l++ : (c += n.chars[g].uchar, o = !1);
18836
18836
  n.cueStartTime = e, e === t && (t += 1e-4), l >= 16 ? l-- : l++;
18837
18837
  const f = Jn(c.trim()), m = gs(e, t, f);
18838
18838
  s != null && (h = s.cues) != null && h.getCueById(m) || (a = new u(e, t, f), a.id = m, a.line = d + 1, a.align = "left", a.position = 10 + Math.min(80, Math.floor(l * 8 / 32) * 10), r.push(a));
18839
18839
  }
18840
18840
  return s && r.length && (r.sort((d, f) => d.line === "auto" || f.line === "auto" ? 0 : d.line > 8 && f.line > 8 ? f.line - d.line : d.line - f.line), r.forEach((d) => bn(s, d))), r;
18841
18841
  }
18842
- }, ah = {
18842
+ }, sh = {
18843
18843
  maxTimeToFirstByteMs: 8e3,
18844
18844
  maxLoadTimeMs: 2e4,
18845
18845
  timeoutRetry: null,
@@ -18926,11 +18926,11 @@ const rh = /\s/, nh = {
18926
18926
  // used by eme-controller
18927
18927
  licenseResponseCallback: void 0,
18928
18928
  // used by eme-controller
18929
- abrController: Ml,
18930
- bufferController: Uc,
18929
+ abrController: Pl,
18930
+ bufferController: Nc,
18931
18931
  capLevelController: ps,
18932
- errorController: Al,
18933
- fpsController: hu,
18932
+ errorController: El,
18933
+ fpsController: lu,
18934
18934
  stretchShortVideoTrack: !1,
18935
18935
  // used by mp4-remuxer
18936
18936
  maxAudioFramesDrift: 1,
@@ -18980,7 +18980,7 @@ const rh = /\s/, nh = {
18980
18980
  enableID3MetadataCues: !0,
18981
18981
  useMediaCapabilities: !0,
18982
18982
  certLoadPolicy: {
18983
- default: ah
18983
+ default: sh
18984
18984
  },
18985
18985
  keyLoadPolicy: {
18986
18986
  default: {
@@ -19078,19 +19078,19 @@ const rh = /\s/, nh = {
19078
19078
  fragLoadingMaxRetry: 6,
19079
19079
  fragLoadingRetryDelay: 1e3,
19080
19080
  fragLoadingMaxRetryTimeout: 64e3
19081
- }, oh()), {}, {
19082
- subtitleStreamController: Mc,
19083
- subtitleTrackController: Bc,
19084
- timelineController: cu,
19085
- audioStreamController: Oc,
19086
- audioTrackController: Fc,
19081
+ }, rh()), {}, {
19082
+ subtitleStreamController: Pc,
19083
+ subtitleTrackController: Fc,
19084
+ timelineController: au,
19085
+ audioStreamController: wc,
19086
+ audioTrackController: kc,
19087
19087
  emeController: ot,
19088
- cmcdController: Yu,
19089
- contentSteeringController: qu
19088
+ cmcdController: Ku,
19089
+ contentSteeringController: zu
19090
19090
  });
19091
- function oh() {
19091
+ function rh() {
19092
19092
  return {
19093
- cueHandler: nh,
19093
+ cueHandler: ih,
19094
19094
  // used by timeline-controller
19095
19095
  enableWebVTT: !0,
19096
19096
  // used by timeline-controller
@@ -19117,7 +19117,7 @@ function oh() {
19117
19117
  renderTextTracksNatively: !0
19118
19118
  };
19119
19119
  }
19120
- function lh(s, e) {
19120
+ function nh(s, e) {
19121
19121
  if ((e.liveSyncDurationCount || e.liveMaxLatencyDurationCount) && (e.liveSyncDuration || e.liveMaxLatencyDuration))
19122
19122
  throw new Error("Illegal hls.js config: don't mix up liveSyncDurationCount/liveMaxLatencyDurationCount and liveSyncDuration/liveMaxLatencyDuration");
19123
19123
  if (e.liveMaxLatencyDurationCount !== void 0 && (e.liveSyncDurationCount === void 0 || e.liveMaxLatencyDurationCount <= e.liveSyncDurationCount))
@@ -19155,12 +19155,12 @@ function lh(s, e) {
19155
19155
  function zi(s) {
19156
19156
  return s && typeof s == "object" ? Array.isArray(s) ? s.map(zi) : Object.keys(s).reduce((e, t) => (e[t] = zi(s[t]), e), {}) : s;
19157
19157
  }
19158
- function ch(s) {
19158
+ function ah(s) {
19159
19159
  const e = s.loader;
19160
- e !== Er && e !== ua ? (S.log("[config]: Custom loader detected, cannot enable progressive streaming"), s.progressive = !1) : Zu() && (s.loader = Er, s.progressive = !0, s.enableSoftwareAES = !0, S.log("[config]: Progressive streaming enabled, using FetchLoader"));
19160
+ e !== Er && e !== ua ? (S.log("[config]: Custom loader detected, cannot enable progressive streaming"), s.progressive = !1) : ju() && (s.loader = Er, s.progressive = !0, s.enableSoftwareAES = !0, S.log("[config]: Progressive streaming enabled, using FetchLoader"));
19161
19161
  }
19162
19162
  let Ri;
19163
- class uh extends ns {
19163
+ class oh extends ns {
19164
19164
  constructor(e, t) {
19165
19165
  super(e, "[level-controller]"), this._levels = [], this._firstLevel = -1, this._maxAutoLevel = -1, this._startLevel = void 0, this.currentLevel = null, this.currentLevelIndex = -1, this.manualLevelIndex = -1, this.steering = void 0, this.onParsedComplete = void 0, this.steering = t, this._registerListeners();
19166
19166
  }
@@ -19200,7 +19200,7 @@ class uh extends ns {
19200
19200
  audioCodec: m,
19201
19201
  videoCodec: g
19202
19202
  } = u;
19203
- ((h = m) == null ? void 0 : h.indexOf("mp4a.40.34")) !== -1 && (Ri || (Ri = /chrome|firefox/i.test(navigator.userAgent)), Ri && (u.audioCodec = m = void 0)), m && (u.audioCodec = m = Kt(m, i)), ((d = g) == null ? void 0 : d.indexOf("avc1")) === 0 && (g = u.videoCodec = Jo(g));
19203
+ ((h = m) == null ? void 0 : h.indexOf("mp4a.40.34")) !== -1 && (Ri || (Ri = /chrome|firefox/i.test(navigator.userAgent)), Ri && (u.audioCodec = m = void 0)), m && (u.audioCodec = m = Kt(m, i)), ((d = g) == null ? void 0 : d.indexOf("avc1")) === 0 && (g = u.videoCodec = Xo(g));
19204
19204
  const {
19205
19205
  width: y,
19206
19206
  height: v,
@@ -19237,7 +19237,7 @@ class uh extends ns {
19237
19237
  videoRange: g,
19238
19238
  width: y,
19239
19239
  height: v
19240
- }) => (!!m || !!(y && v)) && dl(g))), l.length === 0) {
19240
+ }) => (!!m || !!(y && v)) && cl(g))), l.length === 0) {
19241
19241
  Promise.resolve().then(() => {
19242
19242
  if (this.hls) {
19243
19243
  t.levels.length && this.warn(`One or more CODECS in variant not supported: ${JSON.stringify(t.levels[0].attrs)}`);
@@ -19489,7 +19489,7 @@ function Sr(s) {
19489
19489
  t.id = e[i] = e[i] || 0, e[i]++;
19490
19490
  });
19491
19491
  }
19492
- class hh {
19492
+ class lh {
19493
19493
  constructor(e) {
19494
19494
  this.config = void 0, this.keyUriToKeyInfo = {}, this.emeController = null, this.config = e;
19495
19495
  }
@@ -19672,19 +19672,19 @@ function fa() {
19672
19672
  const e = da();
19673
19673
  return !e || e.prototype && typeof e.prototype.appendBuffer == "function" && typeof e.prototype.remove == "function";
19674
19674
  }
19675
- function dh() {
19675
+ function ch() {
19676
19676
  if (!fa())
19677
19677
  return !1;
19678
19678
  const s = dt();
19679
19679
  return typeof (s == null ? void 0 : s.isTypeSupported) == "function" && (["avc1.42E01E,mp4a.40.2", "av01.0.01M.08", "vp09.00.50.08"].some((e) => s.isTypeSupported(Et(e, "video"))) || ["mp4a.40.2", "fLaC"].some((e) => s.isTypeSupported(Et(e, "audio"))));
19680
19680
  }
19681
- function fh() {
19681
+ function uh() {
19682
19682
  var s;
19683
19683
  const e = da();
19684
19684
  return typeof (e == null || (s = e.prototype) == null ? void 0 : s.changeType) == "function";
19685
19685
  }
19686
- const mh = 250, Ut = 2, gh = 0.1, ph = 0.05;
19687
- class yh {
19686
+ const hh = 250, Ut = 2, dh = 0.1, fh = 0.05;
19687
+ class mh {
19688
19688
  constructor(e, t, i, r) {
19689
19689
  this.config = void 0, this.media = null, this.fragmentTracker = void 0, this.hls = void 0, this.nudgeRetry = 0, this.stallReported = !1, this.stalled = null, this.moved = !1, this.seeking = !1, this.config = e, this.media = t, this.fragmentTracker = i, this.hls = r;
19690
19690
  }
@@ -19750,7 +19750,7 @@ class yh {
19750
19750
  return;
19751
19751
  }
19752
19752
  const m = f - n;
19753
- if (!o && m >= mh && (this._reportStall(u), !this.media))
19753
+ if (!o && m >= hh && (this._reportStall(u), !this.media))
19754
19754
  return;
19755
19755
  const g = ie.bufferInfo(r, a, i.maxBufferHole);
19756
19756
  this._tryFixBufferStall(g, m);
@@ -19839,7 +19839,7 @@ class yh {
19839
19839
  }
19840
19840
  }
19841
19841
  }
19842
- const h = Math.max(o + ph, n + gh);
19842
+ const h = Math.max(o + fh, n + dh);
19843
19843
  if (S.warn(`skipping hole, adjusting currentTime from ${n} to ${h}`), this.moved = !0, this.stalled = null, r.currentTime = h, e && !e.gap) {
19844
19844
  const d = new Error(`fragment loaded with buffer holes, seeking from ${n} to ${h}`);
19845
19845
  i.trigger(p.ERROR, {
@@ -19889,8 +19889,8 @@ class yh {
19889
19889
  }
19890
19890
  }
19891
19891
  }
19892
- const vh = 100;
19893
- class xh extends ls {
19892
+ const gh = 100;
19893
+ class ph extends ls {
19894
19894
  constructor(e, t, i) {
19895
19895
  super(e, t, i, "[stream-controller]", j.MAIN), this.audioCodecSwap = !1, this.gapController = null, this.level = -1, this._forceStartLoad = !1, this.altAudio = !1, this.audioOnly = !1, this.fragPlaying = null, this.onvplaying = null, this.onvseeked = null, this.fragLastKbps = 0, this.couldBacktrack = !1, this.backtrackFragment = null, this.audioCodecSwitch = !1, this.videoBuffer = null, this._registerListeners();
19896
19896
  }
@@ -19915,7 +19915,7 @@ class xh extends ls {
19915
19915
  lastCurrentTime: t,
19916
19916
  hls: i
19917
19917
  } = this;
19918
- if (this.stopLoad(), this.setInterval(vh), this.level = -1, !this.startFragRequested) {
19918
+ if (this.stopLoad(), this.setInterval(gh), this.level = -1, !this.startFragRequested) {
19919
19919
  let r = i.startLevel;
19920
19920
  r === -1 && (i.config.testBandwidth && this.levels.length > 1 ? (r = 0, this.bitrateTest = !0) : r = i.firstAutoLevel), i.nextLoadLevel = r, this.level = i.loadLevel, this.loadedmetadata = !1;
19921
19921
  }
@@ -20086,7 +20086,7 @@ class xh extends ls {
20086
20086
  onMediaAttached(e, t) {
20087
20087
  super.onMediaAttached(e, t);
20088
20088
  const i = t.media;
20089
- this.onvplaying = this.onMediaPlaying.bind(this), this.onvseeked = this.onMediaSeeked.bind(this), i.addEventListener("playing", this.onvplaying), i.addEventListener("seeked", this.onvseeked), this.gapController = new yh(this.config, i, this.fragmentTracker, this.hls);
20089
+ this.onvplaying = this.onMediaPlaying.bind(this), this.onvseeked = this.onMediaSeeked.bind(this), i.addEventListener("playing", this.onvplaying), i.addEventListener("seeked", this.onvseeked), this.gapController = new mh(this.config, i, this.fragmentTracker, this.hls);
20090
20090
  }
20091
20091
  onMediaDetaching() {
20092
20092
  const {
@@ -20115,7 +20115,7 @@ class xh extends ls {
20115
20115
  t.levels.forEach((n) => {
20116
20116
  const a = n.audioCodec;
20117
20117
  a && (i = i || a.indexOf("mp4a.40.2") !== -1, r = r || a.indexOf("mp4a.40.5") !== -1);
20118
- }), this.audioCodecSwitch = i && r && !fh(), this.audioCodecSwitch && this.log("Both AAC/HE-AAC audio found in levels; declaring level codec as HE-AAC"), this.levels = t.levels, this.startFragRequested = !1;
20118
+ }), this.audioCodecSwitch = i && r && !uh(), this.audioCodecSwitch && this.log("Both AAC/HE-AAC audio found in levels; declaring level codec as HE-AAC"), this.levels = t.levels, this.startFragRequested = !1;
20119
20119
  }
20120
20120
  onLevelLoading(e, t) {
20121
20121
  const {
@@ -20544,7 +20544,7 @@ class Me {
20544
20544
  * Check if MediaSource Extensions are available and isTypeSupported checks pass for any baseline codecs.
20545
20545
  */
20546
20546
  static isSupported() {
20547
- return dh();
20547
+ return ch();
20548
20548
  }
20549
20549
  /**
20550
20550
  * Get the MediaSource global used for MSE playback (ManagedMediaSource, MediaSource, or WebKitMediaSource).
@@ -20578,16 +20578,16 @@ class Me {
20578
20578
  * @param userConfig - Configuration options applied over `Hls.DefaultConfig`
20579
20579
  */
20580
20580
  constructor(e = {}) {
20581
- this.config = void 0, this.userConfig = void 0, this.coreComponents = void 0, this.networkControllers = void 0, this.started = !1, this._emitter = new fs(), this._autoLevelCapping = -1, this._maxHdcpLevel = null, this.abrController = void 0, this.bufferController = void 0, this.capLevelController = void 0, this.latencyController = void 0, this.levelController = void 0, this.streamController = void 0, this.audioTrackController = void 0, this.subtitleTrackController = void 0, this.emeController = void 0, this.cmcdController = void 0, this._media = null, this.url = null, this.triggeringException = void 0, uo(e.debug || !1, "Hls instance");
20582
- const t = this.config = lh(Me.DefaultConfig, e);
20583
- this.userConfig = e, t.progressive && ch(t);
20581
+ this.config = void 0, this.userConfig = void 0, this.coreComponents = void 0, this.networkControllers = void 0, this.started = !1, this._emitter = new fs(), this._autoLevelCapping = -1, this._maxHdcpLevel = null, this.abrController = void 0, this.bufferController = void 0, this.capLevelController = void 0, this.latencyController = void 0, this.levelController = void 0, this.streamController = void 0, this.audioTrackController = void 0, this.subtitleTrackController = void 0, this.emeController = void 0, this.cmcdController = void 0, this._media = null, this.url = null, this.triggeringException = void 0, oo(e.debug || !1, "Hls instance");
20582
+ const t = this.config = nh(Me.DefaultConfig, e);
20583
+ this.userConfig = e, t.progressive && ah(t);
20584
20584
  const {
20585
20585
  abrController: i,
20586
20586
  bufferController: r,
20587
20587
  capLevelController: n,
20588
20588
  errorController: a,
20589
20589
  fpsController: o
20590
- } = t, l = new a(this), c = this.abrController = new i(this), u = this.bufferController = new r(this), h = this.capLevelController = new n(this), d = new o(this), f = new rl(this), m = new cl(this), g = t.contentSteeringController, y = g ? new g(this) : null, v = this.levelController = new uh(this, y), T = new Bl(this), x = new hh(this.config), L = this.streamController = new xh(this, T, x);
20590
+ } = t, l = new a(this), c = this.abrController = new i(this), u = this.bufferController = new r(this), h = this.capLevelController = new n(this), d = new o(this), f = new tl(this), m = new al(this), g = t.contentSteeringController, y = g ? new g(this) : null, v = this.levelController = new oh(this, y), T = new Fl(this), x = new lh(this.config), L = this.streamController = new ph(this, T, x);
20591
20591
  h.setStreamController(L), d.setStreamController(L);
20592
20592
  const E = [f, v, L];
20593
20593
  y && E.splice(1, 0, y), this.networkControllers = E;
@@ -20596,7 +20596,7 @@ class Me {
20596
20596
  const R = t.audioStreamController;
20597
20597
  R && E.push(new R(this, T, x)), this.subtitleTrackController = this.createController(t.subtitleTrackController, E);
20598
20598
  const B = t.subtitleStreamController;
20599
- B && E.push(new B(this, T, x)), this.createController(t.timelineController, k), x.emeController = this.emeController = this.createController(t.emeController, k), this.cmcdController = this.createController(t.cmcdController, k), this.latencyController = this.createController(ul, k), this.coreComponents = k, E.push(l);
20599
+ B && E.push(new B(this, T, x)), this.createController(t.timelineController, k), x.emeController = this.emeController = this.createController(t.emeController, k), this.cmcdController = this.createController(t.cmcdController, k), this.latencyController = this.createController(ol, k), this.coreComponents = k, E.push(l);
20600
20600
  const C = l.onErrorOut;
20601
20601
  typeof C == "function" && this.on(p.ERROR, C, l);
20602
20602
  }
@@ -20886,7 +20886,7 @@ class Me {
20886
20886
  return this._maxHdcpLevel;
20887
20887
  }
20888
20888
  set maxHdcpLevel(e) {
20889
- hl(e) && this._maxHdcpLevel !== e && (this._maxHdcpLevel = e, this.levelController.checkMaxAutoUpdated());
20889
+ ll(e) && this._maxHdcpLevel !== e && (this._maxHdcpLevel = e, this.levelController.checkMaxAutoUpdated());
20890
20890
  }
20891
20891
  /**
20892
20892
  * True when automatic level selection enabled
@@ -21111,7 +21111,7 @@ function ma() {
21111
21111
  const s = document;
21112
21112
  return !!(s.fullscreenElement || s.mozFullScreenElement || s.webkitFullscreenElement || s.msFullscreenElement);
21113
21113
  }
21114
- function Th(s) {
21114
+ function yh(s) {
21115
21115
  if (ma())
21116
21116
  return new Promise((t) => t(null));
21117
21117
  const e = s;
@@ -21124,7 +21124,7 @@ function Th(s) {
21124
21124
  if (e.msRequestFullscreen)
21125
21125
  return e == null ? void 0 : e.msRequestFullscreen();
21126
21126
  }
21127
- function Eh() {
21127
+ function vh() {
21128
21128
  if (!ma())
21129
21129
  return new Promise((e) => e(null));
21130
21130
  const s = document;
@@ -21137,7 +21137,7 @@ function Eh() {
21137
21137
  if (s.msExitFullscreen)
21138
21138
  return s.msExitFullscreen();
21139
21139
  }
21140
- function Sh(s, e) {
21140
+ function xh(s, e) {
21141
21141
  let t = null;
21142
21142
  return function(...i) {
21143
21143
  const r = this;
@@ -21165,7 +21165,7 @@ const Ci = new Intl.NumberFormat(void 0, {
21165
21165
  return i === 0 ? `${t}:${Ci.format(e)}` : `${i}:${Ci.format(
21166
21166
  t
21167
21167
  )}:${Ci.format(e)}`;
21168
- }, bh = ve.extend({
21168
+ }, Th = Ee.extend({
21169
21169
  name: "VideoPlayer",
21170
21170
  components: {
21171
21171
  ESpinner: rn
@@ -21356,13 +21356,13 @@ const Ci = new Intl.NumberFormat(void 0, {
21356
21356
  return [parseInt(s / 60 % 60, 10), parseInt(s % 60, 10)].join(":").replace(/\b(\d)\b/g, "0$1");
21357
21357
  },
21358
21358
  closeFullscreenMode() {
21359
- document.fullscreenElement && (Eh().then(() => {
21359
+ document.fullscreenElement && (vh().then(() => {
21360
21360
  this.isFullscreen = !1, console.log("Exited fullscreen");
21361
21361
  }), this.isFullscreen = !1);
21362
21362
  },
21363
21363
  openFullscreenMode() {
21364
21364
  const s = this.$refs.videoContainer;
21365
- s && (Th(s).then(() => {
21365
+ s && (yh(s).then(() => {
21366
21366
  this.isFullscreen = !0;
21367
21367
  }), this.isFullscreen = !0);
21368
21368
  },
@@ -21438,7 +21438,7 @@ const Ci = new Intl.NumberFormat(void 0, {
21438
21438
  }
21439
21439
  }
21440
21440
  });
21441
- var Ah = function() {
21441
+ var Eh = function() {
21442
21442
  var e = this, t = e._self._c;
21443
21443
  return t("div", { ref: "videoContainer", staticClass: "video-container paused", attrs: { "data-volume-level": "high" } }, [t("video", e._g(e._b({ ref: "player", attrs: { controls: !1, preload: "auto" }, on: { ended: e.handleEnded, click: e.togglePlay, loadedmetadata: e.getDuration, timeupdate: e.handleTimeUpdate, loadeddata: e.handleLoading } }, "video", e.videoOptions, !1), e.videoListeners), e._l(e.sourceItems, function(i) {
21444
21444
  return t("source", e._g({ key: i.src, attrs: { src: i.src, type: i.type }, on: { error: e.handle404Error } }, e.videoListeners));
@@ -21449,20 +21449,20 @@ var Ah = function() {
21449
21449
  "fa-expand": !e.isFullscreen,
21450
21450
  "fa-compress": e.isFullscreen
21451
21451
  }, on: { click: e.toggleFullscreenMode } })])])]);
21452
- }, Lh = [function() {
21452
+ }, Sh = [function() {
21453
21453
  var s = this, e = s._self._c;
21454
21454
  return e("div", { staticClass: "timeline" }, [e("div", { staticClass: "thumb-indicator" })]);
21455
- }], Rh = /* @__PURE__ */ Ee(
21456
- bh,
21457
- Ah,
21458
- Lh,
21455
+ }], bh = /* @__PURE__ */ Te(
21456
+ Th,
21457
+ Eh,
21458
+ Sh,
21459
21459
  !1,
21460
21460
  null,
21461
21461
  "9071f674",
21462
21462
  null,
21463
21463
  null
21464
21464
  );
21465
- const Ch = Rh.exports, Zt = (s) => {
21465
+ const Ah = bh.exports, Zt = (s) => {
21466
21466
  const e = I.utcFormat("%_d")(s), i = {
21467
21467
  1: "st",
21468
21468
  2: "nd",
@@ -21516,8 +21516,8 @@ const Ch = Rh.exports, Zt = (s) => {
21516
21516
  _300_years: 7200,
21517
21517
  infinity: 1 / 0
21518
21518
  };
21519
- var Dr, Ir, wr, kr, Pr, Or, Fr, Mr;
21520
- const _h = {
21519
+ var _r, Dr, Ir, wr, kr, Pr, Or, Fr;
21520
+ const Lh = {
21521
21521
  [kt.overview]: [
21522
21522
  {
21523
21523
  precision: K._30_seconds,
@@ -21617,12 +21617,12 @@ const _h = {
21617
21617
  },
21618
21618
  {
21619
21619
  precision: K._20_seconds,
21620
- interval: (Dr = I.utcSecond.every(20)) == null ? void 0 : Dr.filter(Rr(2)),
21620
+ interval: (_r = I.utcSecond.every(20)) == null ? void 0 : _r.filter(Rr(2)),
21621
21621
  format: Di
21622
21622
  },
21623
21623
  {
21624
21624
  precision: K._30_seconds,
21625
- interval: (Ir = I.utcSecond.every(30)) == null ? void 0 : Ir.filter(Rr(2)),
21625
+ interval: (Dr = I.utcSecond.every(30)) == null ? void 0 : Dr.filter(Rr(2)),
21626
21626
  format: Di
21627
21627
  },
21628
21628
  {
@@ -21632,22 +21632,22 @@ const _h = {
21632
21632
  },
21633
21633
  {
21634
21634
  precision: K._2_minutes,
21635
- interval: (wr = I.utcMinute.every(2)) == null ? void 0 : wr.filter(wi(10)),
21635
+ interval: (Ir = I.utcMinute.every(2)) == null ? void 0 : Ir.filter(wi(10)),
21636
21636
  format: Ye
21637
21637
  },
21638
21638
  {
21639
21639
  precision: K._5_minutes,
21640
- interval: (kr = I.utcMinute.every(5)) == null ? void 0 : kr.filter(wi(20)),
21640
+ interval: (wr = I.utcMinute.every(5)) == null ? void 0 : wr.filter(wi(20)),
21641
21641
  format: Ye
21642
21642
  },
21643
21643
  {
21644
21644
  precision: K._15_minutes,
21645
- interval: (Pr = I.utcMinute.every(15)) == null ? void 0 : Pr.filter(pt(1)),
21645
+ interval: (kr = I.utcMinute.every(15)) == null ? void 0 : kr.filter(pt(1)),
21646
21646
  format: Ye
21647
21647
  },
21648
21648
  {
21649
21649
  precision: K._30_minutes,
21650
- interval: (Or = I.utcMinute.every(30)) == null ? void 0 : Or.filter(pt(2)),
21650
+ interval: (Pr = I.utcMinute.every(30)) == null ? void 0 : Pr.filter(pt(2)),
21651
21651
  format: Ye
21652
21652
  },
21653
21653
  {
@@ -21657,12 +21657,12 @@ const _h = {
21657
21657
  },
21658
21658
  {
21659
21659
  precision: K._2_hours,
21660
- interval: (Fr = I.utcHour.every(2)) == null ? void 0 : Fr.filter(pt(6)),
21660
+ interval: (Or = I.utcHour.every(2)) == null ? void 0 : Or.filter(pt(6)),
21661
21661
  format: gt
21662
21662
  },
21663
21663
  {
21664
21664
  precision: K._3_hours,
21665
- interval: (Mr = I.utcHour.every(3)) == null ? void 0 : Mr.filter(pt(12)),
21665
+ interval: (Fr = I.utcHour.every(3)) == null ? void 0 : Fr.filter(pt(12)),
21666
21666
  format: gt
21667
21667
  },
21668
21668
  {
@@ -21906,7 +21906,7 @@ const _h = {
21906
21906
  unbind(s) {
21907
21907
  s.__resizeObserver__ && (s.__resizeObserver__.disconnect(), delete s.__resizeObserver__);
21908
21908
  }
21909
- }, Dh = [
21909
+ }, Rh = [
21910
21910
  {
21911
21911
  name: "resize-observer",
21912
21912
  definition: vs
@@ -21925,7 +21925,7 @@ const _h = {
21925
21925
  milestoneDotLine: "e-tl-milestone-dot-line",
21926
21926
  milestoneDotDot: "e-tl-milestone-dot-dot",
21927
21927
  milestoneDotHovered: "e-tl-milestone-dot--hovered"
21928
- }, Ih = ve.extend({
21928
+ }, Ch = Ee.extend({
21929
21929
  name: "ETimeline",
21930
21930
  directives: {
21931
21931
  resizeObserver: vs
@@ -22099,7 +22099,7 @@ const _h = {
22099
22099
  }
22100
22100
  }
22101
22101
  });
22102
- var wh = function() {
22102
+ var _h = function() {
22103
22103
  var e = this, t = e._self._c;
22104
22104
  return t("div", { ref: "container", class: {
22105
22105
  [e.milestoneClasses.milestone]: !0,
@@ -22110,17 +22110,17 @@ var wh = function() {
22110
22110
  }, style: e.styles, attrs: { tabindex: "0" }, on: { mouseover: (i) => e.onMilestoneMouseOver(i, e.milestone), mousemove: e.onMilestoneMouseMove, mouseleave: (i) => e.onMilestoneMouseLeave(i, e.milestone), click: (i) => e.onMilestoneClick(i, e.milestone) } }, [t("div", { class: e.milestoneClasses.milestoneContent, style: e.contentStyles }, [e._t("content", function() {
22111
22111
  return [t("span", [e._v(" " + e._s(e.milestone.text) + " ")])];
22112
22112
  })], 2), e.dot ? t("div", { class: e.milestoneClasses.milestoneDotContainer, style: e.dotContainerStyles }, [t("div", { class: e.milestoneClasses.milestoneDotLine, style: e.lineStyles }), t("div", { class: e.milestoneClasses.milestoneDotDot, style: e.dotStyles })]) : t("div", { class: e.milestoneClasses.milestoneLabel, style: e.labelStyles }, [e._t("label")], 2)]);
22113
- }, kh = [], Ph = /* @__PURE__ */ Ee(
22114
- Ih,
22115
- wh,
22116
- kh,
22113
+ }, Dh = [], Ih = /* @__PURE__ */ Te(
22114
+ Ch,
22115
+ _h,
22116
+ Dh,
22117
22117
  !1,
22118
22118
  null,
22119
22119
  null,
22120
22120
  null,
22121
22121
  null
22122
22122
  );
22123
- const Oh = Ph.exports, G = {
22123
+ const wh = Ih.exports, G = {
22124
22124
  eventGroup: "event-group",
22125
22125
  eventGroupBg: "event-group-bg",
22126
22126
  eventRect: "event-rect",
@@ -22161,13 +22161,13 @@ const Oh = Ph.exports, G = {
22161
22161
  transparencyGradientLight: "transparency-gradient-light",
22162
22162
  loadingGradient: "loading-gradient",
22163
22163
  stripedPattern: "stripedPattern"
22164
- }, Fh = ve.extend({
22164
+ }, kh = Ee.extend({
22165
22165
  name: "ETimeline",
22166
22166
  directives: {
22167
22167
  resizeObserver: vs
22168
22168
  },
22169
22169
  components: {
22170
- ETimelineMilestone: Oh
22170
+ ETimelineMilestone: wh
22171
22171
  },
22172
22172
  props: {
22173
22173
  eventsGroups: {
@@ -22176,7 +22176,7 @@ const Oh = Ph.exports, G = {
22176
22176
  },
22177
22177
  xAxesConfig: {
22178
22178
  type: Object,
22179
- default: () => _h
22179
+ default: () => Lh
22180
22180
  },
22181
22181
  dark: {
22182
22182
  type: Boolean,
@@ -22591,7 +22591,7 @@ const Oh = Ph.exports, G = {
22591
22591
  }
22592
22592
  },
22593
22593
  created() {
22594
- this.debouncedOnResize = Sh(this.handleResize, 100);
22594
+ this.debouncedOnResize = xh(this.handleResize, 100);
22595
22595
  },
22596
22596
  mounted() {
22597
22597
  this.initTimeline();
@@ -23588,7 +23588,7 @@ const Oh = Ph.exports, G = {
23588
23588
  }
23589
23589
  }
23590
23590
  });
23591
- var Mh = function() {
23591
+ var Ph = function() {
23592
23592
  var e = this, t = e._self._c;
23593
23593
  return t("div", { ref: "wrapperDiv", staticClass: "e-relative e-timeline e-border e-rounded", class: e.classes.wrapper }, [t("div", { staticClass: "e-timeline__background e-w-full e-h-full e-absolute e-top-0 e-rounded", class: e.classes.background }), e._l(e.sortedMarkers, function(i) {
23594
23594
  return t("div", { key: i.id, staticClass: "marker e-absolute e-h-full e-top-0", class: e.getMarkerClass(i), style: e.getMarkerContainerStyle(i), attrs: { "data-id": i.id }, on: { click: function(r) {
@@ -23624,17 +23624,17 @@ var Mh = function() {
23624
23624
  return t("div", { key: r }, [t("strong", [e._v(e._s(i.type) + " Count")]), e._v(": " + e._s(i.count) + " ")]);
23625
23625
  })], 2) : e.hoveredEvent ? t("div", [e.hoveredEvent.timestamp ? t("div", [t("strong", [e._v("Event time")]), e._v(": " + e._s(e.hoveredEvent.timestamp) + " ")]) : e._e(), e.hoveredEvent.startDate ? t("div", [t("strong", [e._v("From")]), e._v(":" + e._s(e.hoveredEvent.startDate) + " ")]) : e._e(), e.hoveredEvent.endDate ? t("div", [t("strong", [e._v("To")]), e._v(":" + e._s(e.hoveredEvent.endDate) + " ")]) : e._e()]) : e._e()]) : e._e()];
23626
23626
  }, { event: e.hoveredEvent, counts: e.hoveredCounts, active: e.isHoveringEvent && !e.isInteractingWithCurtain, type: e.hoveredEventType })], 2)], 2);
23627
- }, Nh = [], Bh = /* @__PURE__ */ Ee(
23628
- Fh,
23629
- Mh,
23630
- Nh,
23627
+ }, Oh = [], Fh = /* @__PURE__ */ Te(
23628
+ kh,
23629
+ Ph,
23630
+ Oh,
23631
23631
  !1,
23632
23632
  null,
23633
23633
  null,
23634
23634
  null,
23635
23635
  null
23636
23636
  );
23637
- const $h = Bh.exports, Uh = {
23637
+ const Mh = Fh.exports, Nh = {
23638
23638
  name: "EVideoEmbed",
23639
23639
  props: {
23640
23640
  videoUrl: {
@@ -23688,20 +23688,20 @@ const $h = Bh.exports, Uh = {
23688
23688
  }
23689
23689
  }
23690
23690
  };
23691
- var Gh = function() {
23691
+ var Bh = function() {
23692
23692
  var e = this, t = e._self._c;
23693
23693
  return t("div", { staticClass: "video-embed" }, [t("iframe", e._g(e._b({ attrs: { src: e.embedUrl, frameborder: "0", allowfullscreen: "", width: "100%", height: "100%", allow: "autoplay; fullscreen; picture-in-picture" } }, "iframe", e.iframeOptions, !1), e.iframeListeners))]);
23694
- }, Hh = [], Vh = /* @__PURE__ */ Ee(
23695
- Uh,
23696
- Gh,
23697
- Hh,
23694
+ }, $h = [], Uh = /* @__PURE__ */ Te(
23695
+ Nh,
23696
+ Bh,
23697
+ $h,
23698
23698
  !1,
23699
23699
  null,
23700
23700
  "0ecf4a71",
23701
23701
  null,
23702
23702
  null
23703
23703
  );
23704
- const Kh = Vh.exports, Wh = ve.extend({
23704
+ const Gh = Uh.exports, Hh = Ee.extend({
23705
23705
  name: "EHeatmapBar",
23706
23706
  props: {
23707
23707
  items: {
@@ -23753,7 +23753,7 @@ const Kh = Vh.exports, Wh = ve.extend({
23753
23753
  }
23754
23754
  }
23755
23755
  });
23756
- var zh = function() {
23756
+ var Vh = function() {
23757
23757
  var e = this, t = e._self._c;
23758
23758
  return t("div", { staticClass: "e-flex e-heatmap-bar", class: {
23759
23759
  "e-heatmap-bar--dense": e.dense
@@ -23768,17 +23768,17 @@ var zh = function() {
23768
23768
  "e-heatmap-bar__item__count--light": e.getColorIndex(n) <= 2
23769
23769
  } }, [e._v(" " + e._s(n > 0 ? n : "") + " ")]) : e._e(), e.showNames ? t("span", { staticClass: "e-heatmap-bar__item__name e-text-xs e-text-black e-truncate" }, [e._v(" " + e._s(i) + " ")]) : e._e()]);
23770
23770
  })], 2);
23771
- }, Yh = [], jh = /* @__PURE__ */ Ee(
23772
- Wh,
23773
- zh,
23774
- Yh,
23771
+ }, Kh = [], Wh = /* @__PURE__ */ Te(
23772
+ Hh,
23773
+ Vh,
23774
+ Kh,
23775
23775
  !1,
23776
23776
  null,
23777
23777
  null,
23778
23778
  null,
23779
23779
  null
23780
23780
  );
23781
- const ga = jh.exports, qh = ve.extend({
23781
+ const ga = Wh.exports, zh = Ee.extend({
23782
23782
  name: "EHoursHeatmap",
23783
23783
  components: {
23784
23784
  EHeatmapBar: ga
@@ -23836,22 +23836,22 @@ const ga = jh.exports, qh = ve.extend({
23836
23836
  }
23837
23837
  }
23838
23838
  });
23839
- var Xh = function() {
23839
+ var Yh = function() {
23840
23840
  var e = this, t = e._self._c;
23841
23841
  return e._self._setupProxy, t("EHeatmapBar", e._g({ attrs: { items: e.heatmapBarItems, "selected-value": e.selectedHour, "show-names": e.showHours, colors: e.colors, label: e.label, dense: e.dense }, scopedSlots: e._u([{ key: "label", fn: function() {
23842
23842
  return [e._t("label")];
23843
23843
  }, proxy: !0 }], null, !0) }, e.$listeners));
23844
- }, Zh = [], Qh = /* @__PURE__ */ Ee(
23845
- qh,
23846
- Xh,
23847
- Zh,
23844
+ }, jh = [], qh = /* @__PURE__ */ Te(
23845
+ zh,
23846
+ Yh,
23847
+ jh,
23848
23848
  !1,
23849
23849
  null,
23850
23850
  null,
23851
23851
  null,
23852
23852
  null
23853
23853
  );
23854
- const Jh = Qh.exports, ed = ve.extend({
23854
+ const Xh = qh.exports, Zh = Ee.extend({
23855
23855
  name: "EReadMore",
23856
23856
  props: {
23857
23857
  content: {
@@ -23929,165 +23929,106 @@ const Jh = Qh.exports, ed = ve.extend({
23929
23929
  }
23930
23930
  }
23931
23931
  });
23932
- var td = function() {
23932
+ var Qh = function() {
23933
23933
  var e = this, t = e._self._c;
23934
23934
  return e._self._setupProxy, t("span", { staticClass: "e-read-more" }, [t("span", { staticClass: "e-read-more__content mr-1", style: { "white-space": e.showAllContent ? "initial" : "nowrap" } }, [e._v(" " + e._s(e.displayContent()) + " ")]), e.isHiddenArrayContent ? t("span", { staticClass: "e-cursor-pointer e-text-primary", on: { click: e.toggleContentExpansion } }, [e._v(" " + e._s(e.computedMoreText) + " ")]) : e.isHiddenTextContent ? t("span", { staticClass: "e-cursor-pointer e-text-primary", on: { click: e.toggleContentExpansion } }, [e._v(" " + e._s(e.expandText) + " ")]) : e._e(), e.isContentExpanded ? t("span", { staticClass: "e-cursor-pointer e-text-primary", on: { click: e.toggleContentExpansion } }, [e._v(" " + e._s(e.collapseText) + " ")]) : e._e()]);
23935
- }, id = [], sd = /* @__PURE__ */ Ee(
23936
- ed,
23937
- td,
23938
- id,
23935
+ }, Jh = [], ed = /* @__PURE__ */ Te(
23936
+ Zh,
23937
+ Qh,
23938
+ Jh,
23939
23939
  !1,
23940
23940
  null,
23941
23941
  null,
23942
23942
  null,
23943
23943
  null
23944
23944
  );
23945
- const rd = sd.exports, pa = ve.extend({
23946
- data() {
23947
- return { eventListeners: [] };
23948
- },
23949
- beforeDestroy() {
23950
- this.$removeEventListeners();
23951
- },
23952
- methods: {
23953
- $addEventListener(s, e, t = window) {
23954
- t == null || t.addEventListener(s, e), this.eventListeners = [...this.eventListeners, { element: t, event: s, cb: e }];
23955
- },
23956
- $removeEventListeners() {
23957
- this.eventListeners.forEach(({ element: s, event: e, cb: t }) => {
23958
- s == null || s.removeEventListener(e, t);
23959
- }), this.eventListeners = [];
23960
- }
23961
- }
23962
- }), ya = ve.extend({
23963
- data() {
23964
- return { timeouts: [] };
23965
- },
23966
- beforeDestroy() {
23967
- this.$clearTimeouts();
23945
+ const td = ed.exports, id = Ee.extend({
23946
+ name: "ECompareSeparator",
23947
+ components: {
23948
+ EIcon: sn
23968
23949
  },
23969
- methods: {
23970
- $setTimeout(s, e = 0) {
23971
- const t = setTimeout(s, e);
23972
- return this.timeouts = [...this.timeouts, t], t;
23973
- },
23974
- $clearTimeouts() {
23975
- this.timeouts.forEach(clearTimeout);
23950
+ props: {
23951
+ xOffset: {
23952
+ type: [Number, String],
23953
+ default: 50
23976
23954
  }
23977
- }
23978
- }), nd = ve.extend({
23979
- mixins: [pa, ya],
23980
- data() {
23981
- return {
23982
- inactivityListenerTimer: void 0
23983
- };
23984
23955
  },
23985
- beforeDestroy() {
23986
- this.$removeInactivityListeners();
23987
- },
23988
- methods: {
23989
- resetInactivityListenerTimer(s = () => {
23990
- }, e = 0, t = []) {
23991
- this.clearInactivityListenerTimers(), this.setInactivityListenerTimer(s, e, t);
23992
- },
23993
- setInactivityListenerTimer(s = () => {
23994
- }, e = 0, t = []) {
23995
- s && e && (this.inactivityListenerTimer = this.$setTimeout(() => {
23996
- s(), t.length > 0 && this.setInactivityListenerReminderTimers(s, t);
23997
- }, e * 1e3));
23998
- },
23999
- setInactivityListenerReminderTimers(s = () => {
24000
- }, e = [], t = 0) {
24001
- const i = e[t];
24002
- t < e.length && (this.inactivityListenerTimer = this.$setTimeout(() => {
24003
- s(), this.setInactivityListenerReminderTimers(
24004
- s,
24005
- e,
24006
- t + 1
24007
- );
24008
- }, i * 1e3));
24009
- },
24010
- clearInactivityListenerTimers() {
24011
- clearTimeout(this.inactivityListenerTimer);
24012
- },
24013
- $registerInactivityListener({
24014
- callback: s = () => {
24015
- },
24016
- duration: e = 0,
24017
- reminders: t = []
24018
- }) {
24019
- this.resetInactivityListenerTimer(s, e, t), this.$addEventListener(
24020
- "mousemove",
24021
- () => this.resetInactivityListenerTimer(s, e, t)
24022
- );
24023
- },
24024
- $removeInactivityListeners() {
24025
- this.clearInactivityListenerTimers();
23956
+ computed: {
23957
+ separatorStyle() {
23958
+ return { left: `${this.xOffset}%` };
24026
23959
  }
24027
23960
  }
24028
- }), Cr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
24029
- __proto__: null,
24030
- eventListeners: pa,
24031
- inactivityListener: nd,
24032
- timeouts: ya
24033
- }, Symbol.toStringTag, { value: "Module" })), _r = {
24034
- EAvatar: Ra,
24035
- EBadge: Nr,
24036
- EIcon: Ga,
23961
+ });
23962
+ var sd = function() {
23963
+ var e = this, t = e._self._c;
23964
+ return e._self._setupProxy, t("div", { staticClass: "e-compare-separator" }, [t("div", { staticClass: "e-compare-separator__line", style: e.separatorStyle }), t("div", { staticClass: "e-compare-separator__icon e-flex e-justify-around e-items-center", style: e.separatorStyle }, [t("EIcon", { attrs: { icon: "caret-left", color: "e-text-white", size: "xl" } }), t("EIcon", { attrs: { icon: "caret-right", color: "e-text-white", size: "xl" } })], 1)]);
23965
+ }, rd = [], nd = /* @__PURE__ */ Te(
23966
+ id,
23967
+ sd,
23968
+ rd,
23969
+ !1,
23970
+ null,
23971
+ null,
23972
+ null,
23973
+ null
23974
+ );
23975
+ const ad = nd.exports, Cr = {
23976
+ EAvatar: Aa,
23977
+ EBadge: Mr,
23978
+ EIcon: sn,
24037
23979
  ESpinner: rn,
24038
- ERow: Xa,
24039
- ECol: to,
24040
- EVideoPlayer: Ch,
24041
- ETimeline: $h,
24042
- EVideoEmbed: Kh,
23980
+ ERow: Ya,
23981
+ ECol: Qa,
23982
+ EVideoPlayer: Ah,
23983
+ ETimeline: Mh,
23984
+ EVideoEmbed: Gh,
24043
23985
  EHeatmapBar: ga,
24044
- EHoursHeatmap: Jh,
24045
- EReadMore: rd
24046
- }, md = {
23986
+ EHoursHeatmap: Xh,
23987
+ EReadMore: td,
23988
+ ECompareSeparator: ad
23989
+ }, gd = {
24047
23990
  install(s) {
24048
- Object.keys(_r).forEach((e) => {
24049
- s.component(e, _r[e]);
24050
- }), Object.keys(Cr).forEach((e) => {
24051
- s.mixin(e, Cr[e]);
24052
- }), Dh.forEach(({ name: e, definition: t }) => {
23991
+ Object.keys(Cr).forEach((e) => {
23992
+ s.component(e, Cr[e]);
23993
+ }), Rh.forEach(({ name: e, definition: t }) => {
24053
23994
  s.directive(e, t);
24054
23995
  });
24055
23996
  }
24056
23997
  };
24057
23998
  export {
24058
- cd as AvatarSizes,
24059
- ud as BadgeColors,
24060
- ld as BadgeSizes,
23999
+ ud as AvatarSizes,
24000
+ hd as BadgeColors,
24001
+ cd as BadgeSizes,
24061
24002
  ge as BaseColor,
24062
- Fa as Colors,
24063
- Dh as DirectivesMap,
24064
- Ra as EAvatar,
24065
- Nr as EBadge,
24066
- to as ECol,
24067
- Ga as EIcon,
24068
- rd as EReadMore,
24069
- Xa as ERow,
24003
+ Pa as Colors,
24004
+ Rh as DirectivesMap,
24005
+ Aa as EAvatar,
24006
+ Mr as EBadge,
24007
+ Qa as ECol,
24008
+ ad as ECompareSeparator,
24009
+ ga as EHeatmapBar,
24010
+ Xh as EHoursHeatmap,
24011
+ sn as EIcon,
24012
+ td as EReadMore,
24013
+ Ya as ERow,
24070
24014
  rn as ESpinner,
24071
- $h as ETimeline,
24072
- hd as EVENTS,
24073
- Kh as EVideoEmbed,
24074
- Ch as EVideoPlayer,
24075
- Ma as IconSizes,
24015
+ Mh as ETimeline,
24016
+ dd as EVENTS,
24017
+ Gh as EVideoEmbed,
24018
+ Ah as EVideoPlayer,
24019
+ Oa as IconSizes,
24076
24020
  vs as ResizeObserverDirective,
24077
24021
  Y as Size,
24078
- Oa as TextSizes,
24022
+ ka as TextSizes,
24079
24023
  kt as TimelineAxis,
24080
24024
  Re as TimelineChartType,
24081
24025
  Pt as TimelineIntervalChangeTrigger,
24082
- _r as components,
24083
- Sh as debounce,
24084
- md as default,
24085
- pa as eventListeners,
24086
- Eh as exitFullScreen,
24087
- sn as fullConfig,
24088
- nd as inactivityListener,
24026
+ Cr as components,
24027
+ xh as debounce,
24028
+ gd as default,
24029
+ vh as exitFullScreen,
24030
+ tn as fullConfig,
24089
24031
  ma as isFullScreen,
24090
- Th as makeFullScreen,
24091
- ya as timeouts
24032
+ yh as makeFullScreen
24092
24033
  };
24093
24034
  //# sourceMappingURL=index.mjs.map