@beyondwords/player 0.0.0-beta20 → 0.0.0-beta22

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/es.js CHANGED
@@ -24,7 +24,7 @@ var gl = (t, e, i) => {
24
24
  if (!e.has(t))
25
25
  throw TypeError("Cannot " + i);
26
26
  };
27
- var Rr = (t, e, i) => (gl(t, e, "read from private field"), i ? i.call(t) : e.get(t)), ft = (t, e, i) => {
27
+ var Ir = (t, e, i) => (gl(t, e, "read from private field"), i ? i.call(t) : e.get(t)), ht = (t, e, i) => {
28
28
  if (e.has(t))
29
29
  throw TypeError("Cannot add the same private member more than once");
30
30
  e instanceof WeakSet ? e.add(t) : e.set(t, i);
@@ -192,7 +192,7 @@ function nt(t, e, i) {
192
192
  function I0(t) {
193
193
  return Array.from(t.childNodes);
194
194
  }
195
- function _r(t, e) {
195
+ function pr(t, e) {
196
196
  e = "" + e, t.data !== e && (t.data = e);
197
197
  }
198
198
  function St(t, e) {
@@ -550,7 +550,7 @@ class it {
550
550
  this.$$set && !A0(e) && (this.$$.skip_bound = !0, this.$$set(e), this.$$.skip_bound = !1);
551
551
  }
552
552
  }
553
- const q0 = "@beyondwords/player", eu = "0.0.0-beta20", er = (t, e) => {
553
+ const q0 = "@beyondwords/player", eu = "0.0.0-beta22", er = (t, e) => {
554
554
  t = [t].flat().join(`
555
555
  `);
556
556
  let i = `${q0}:
@@ -1101,7 +1101,7 @@ var nf = { exports: {} };
1101
1101
  "error"
1102
1102
  );
1103
1103
  try {
1104
- Ie.log('Debug logs enabled for "' + c + '" in hls.js version 1.4.3');
1104
+ Ie.log('Debug logs enabled for "' + c + '" in hls.js version 1.4.4');
1105
1105
  } catch (u) {
1106
1106
  Ie = we;
1107
1107
  }
@@ -1229,7 +1229,7 @@ var nf = { exports: {} };
1229
1229
  return !!this.id && !this._badValueForSameId && $(this.startDate.getTime()) && (this.duration === null || this.duration >= 0) && (!this.endOnNext || !!this.class);
1230
1230
  }
1231
1231
  }]), d;
1232
- }(), dt = function() {
1232
+ }(), ft = function() {
1233
1233
  this.aborted = !1, this.loaded = 0, this.retry = 0, this.total = 0, this.chunkCount = 0, this.bwEstimate = 0, this.loading = {
1234
1234
  start: 0,
1235
1235
  first: 0,
@@ -1285,7 +1285,7 @@ var nf = { exports: {} };
1285
1285
  k(c, d);
1286
1286
  function c(n, s) {
1287
1287
  var o;
1288
- return o = d.call(this, s) || this, o._decryptdata = null, o.rawProgramDateTime = null, o.programDateTime = null, o.tagList = [], o.duration = 0, o.sn = 0, o.levelkeys = void 0, o.type = void 0, o.loader = null, o.keyLoader = null, o.level = -1, o.cc = 0, o.startPTS = void 0, o.endPTS = void 0, o.startDTS = void 0, o.endDTS = void 0, o.start = 0, o.deltaPTS = void 0, o.maxStartPTS = void 0, o.minEndPTS = void 0, o.stats = new dt(), o.urlId = 0, o.data = void 0, o.bitrateTest = !1, o.title = null, o.initSegment = null, o.endList = void 0, o.gap = void 0, o.type = n, o;
1288
+ return o = d.call(this, s) || this, o._decryptdata = null, o.rawProgramDateTime = null, o.programDateTime = null, o.tagList = [], o.duration = 0, o.sn = 0, o.levelkeys = void 0, o.type = void 0, o.loader = null, o.keyLoader = null, o.level = -1, o.cc = 0, o.startPTS = void 0, o.endPTS = void 0, o.startDTS = void 0, o.endDTS = void 0, o.start = 0, o.deltaPTS = void 0, o.maxStartPTS = void 0, o.minEndPTS = void 0, o.stats = new ft(), o.urlId = 0, o.data = void 0, o.bitrateTest = !1, o.title = null, o.initSegment = null, o.endList = void 0, o.gap = void 0, o.type = n, o;
1289
1289
  }
1290
1290
  var u = c.prototype;
1291
1291
  return u.setKeyFormat = function(s) {
@@ -1362,7 +1362,7 @@ var nf = { exports: {} };
1362
1362
  k(c, d);
1363
1363
  function c(u, n, s, o, f) {
1364
1364
  var h;
1365
- h = d.call(this, s) || this, h.fragOffset = 0, h.duration = 0, h.gap = !1, h.independent = !1, h.relurl = void 0, h.fragment = void 0, h.index = void 0, h.stats = new dt(), h.duration = u.decimalFloatingPoint("DURATION"), h.gap = u.bool("GAP"), h.independent = u.bool("INDEPENDENT"), h.relurl = u.enumeratedString("URI"), h.fragment = n, h.index = o;
1365
+ h = d.call(this, s) || this, h.fragOffset = 0, h.duration = 0, h.gap = !1, h.independent = !1, h.relurl = void 0, h.fragment = void 0, h.index = void 0, h.stats = new ft(), h.duration = u.decimalFloatingPoint("DURATION"), h.gap = u.bool("GAP"), h.independent = u.bool("INDEPENDENT"), h.relurl = u.enumeratedString("URI"), h.fragment = n, h.index = o;
1366
1366
  var v = u.enumeratedString("BYTERANGE");
1367
1367
  return v && h.setByteRange(v, f), f && (h.fragOffset = f.fragOffset + f.duration), h;
1368
1368
  }
@@ -1461,16 +1461,16 @@ var nf = { exports: {} };
1461
1461
  }, Se = function(c, u) {
1462
1462
  for (var n = u, s = 0; lt(c, u); ) {
1463
1463
  s += 10;
1464
- var o = ht(c, u + 6);
1464
+ var o = gt(c, u + 6);
1465
1465
  s += o, kt(c, u + 10) && (s += 10), u += s;
1466
1466
  }
1467
1467
  if (s > 0)
1468
1468
  return c.subarray(n, n + s);
1469
- }, ht = function(c, u) {
1469
+ }, gt = function(c, u) {
1470
1470
  var n = 0;
1471
1471
  return n = (c[u] & 127) << 21, n |= (c[u + 1] & 127) << 14, n |= (c[u + 2] & 127) << 7, n |= c[u + 3] & 127, n;
1472
1472
  }, $t = function(c, u) {
1473
- return lt(c, u) && ht(c, u + 6) + 10 <= c.length - u;
1473
+ return lt(c, u) && gt(c, u + 6) + 10 <= c.length - u;
1474
1474
  }, Gt = function(c) {
1475
1475
  for (var u = st(c), n = 0; n < u.length; n++) {
1476
1476
  var s = u[n];
@@ -1480,7 +1480,7 @@ var nf = { exports: {} };
1480
1480
  }, Ot = function(c) {
1481
1481
  return c && c.key === "PRIV" && c.info === "com.apple.streaming.transportStreamTimestamp";
1482
1482
  }, bt = function(c) {
1483
- var u = String.fromCharCode(c[0], c[1], c[2], c[3]), n = ht(c, 4), s = 10;
1483
+ var u = String.fromCharCode(c[0], c[1], c[2], c[3]), n = gt(c, 4), s = 10;
1484
1484
  return {
1485
1485
  type: u,
1486
1486
  size: n,
@@ -1488,7 +1488,7 @@ var nf = { exports: {} };
1488
1488
  };
1489
1489
  }, st = function(c) {
1490
1490
  for (var u = 0, n = []; lt(c, u); ) {
1491
- var s = ht(c, u + 6);
1491
+ var s = gt(c, u + 6);
1492
1492
  u += 10;
1493
1493
  for (var o = u + s; u + 8 < o; ) {
1494
1494
  var f = bt(c.subarray(u)), h = Bt(f);
@@ -1848,17 +1848,17 @@ var nf = { exports: {} };
1848
1848
  return S !== void 0 && (d = S), Ze(b, ["tfhd"]).map(function(E) {
1849
1849
  var A = De(E, 4), x = De(E, 0) & 16777215, w = (x & 1) !== 0, O = (x & 2) !== 0, M = (x & 8) !== 0, D = 0, G = (x & 16) !== 0, q = 0, fe = (x & 32) !== 0, re = 8;
1850
1850
  A === o && (w && (re += 8), O && (re += 4), M && (D = De(E, re), re += 4), G && (q = De(E, re), re += 4), fe && (re += 4), c.type === "video" && (f = Ne(c.codec)), Ze(b, ["trun"]).map(function(ne) {
1851
- var ke = ne[0], Te = De(ne, 0) & 16777215, Ae = (Te & 1) !== 0, We = 0, ct = (Te & 4) !== 0, gt = (Te & 256) !== 0, mt = 0, Lt = (Te & 512) !== 0, _t = 0, jt = (Te & 1024) !== 0, Pt = (Te & 2048) !== 0, gi = 0, Lr = De(ne, 4), Jt = 8;
1851
+ var ke = ne[0], Te = De(ne, 0) & 16777215, Ae = (Te & 1) !== 0, We = 0, ct = (Te & 4) !== 0, vt = (Te & 256) !== 0, mt = 0, Lt = (Te & 512) !== 0, _t = 0, jt = (Te & 1024) !== 0, Pt = (Te & 2048) !== 0, gi = 0, Cr = De(ne, 4), Jt = 8;
1852
1852
  Ae && (We = De(ne, Jt), Jt += 4), ct && (Jt += 4);
1853
- for (var Qi = We + m, Vi = 0; Vi < Lr; Vi++) {
1854
- if (gt ? (mt = De(ne, Jt), Jt += 4) : mt = D, Lt ? (_t = De(ne, Jt), Jt += 4) : _t = q, jt && (Jt += 4), Pt && (ke === 0 ? gi = De(ne, Jt) : gi = ci(ne, Jt), Jt += 4), c.type === Ee.VIDEO)
1853
+ for (var Qi = We + m, Vi = 0; Vi < Cr; Vi++) {
1854
+ if (vt ? (mt = De(ne, Jt), Jt += 4) : mt = D, Lt ? (_t = De(ne, Jt), Jt += 4) : _t = q, jt && (Jt += 4), Pt && (ke === 0 ? gi = De(ne, Jt) : gi = ci(ne, Jt), Jt += 4), c.type === Ee.VIDEO)
1855
1855
  for (var Gr = 0; Gr < _t; ) {
1856
- var gr = De(n, Qi);
1856
+ var hr = De(n, Qi);
1857
1857
  if (Qi += 4, Mr(f, n[Qi])) {
1858
- var on = n.subarray(Qi, Qi + gr);
1858
+ var on = n.subarray(Qi, Qi + hr);
1859
1859
  Di(on, f ? 2 : 1, d + gi / s, u);
1860
1860
  }
1861
- Qi += gr, Gr += gr + 4;
1861
+ Qi += hr, Gr += hr + 4;
1862
1862
  }
1863
1863
  d += mt / s;
1864
1864
  }
@@ -1989,7 +1989,7 @@ var nf = { exports: {} };
1989
1989
  payload: S
1990
1990
  };
1991
1991
  }
1992
- var ur = /* @__PURE__ */ function() {
1992
+ var lr = /* @__PURE__ */ function() {
1993
1993
  d.clearKeyUriToKeyIdMap = function() {
1994
1994
  };
1995
1995
  function d(u, n, s, o, f) {
@@ -2096,7 +2096,7 @@ var nf = { exports: {} };
2096
2096
  wvtt: !0
2097
2097
  }
2098
2098
  }, tr = Yi();
2099
- function yr(d, c) {
2099
+ function _r(d, c) {
2100
2100
  var u = Oi[c];
2101
2101
  return !!u && u[d.slice(0, 4)] === !0;
2102
2102
  }
@@ -2104,7 +2104,7 @@ var nf = { exports: {} };
2104
2104
  var u;
2105
2105
  return (u = tr == null ? void 0 : tr.isTypeSupported((c || "video") + '/mp4;codecs="' + d + '"')) != null ? u : !1;
2106
2106
  }
2107
- var Pi = /#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, ir = /#EXT-X-MEDIA:(.*)/g, br = /^#EXT(?:INF|-X-TARGETDURATION):/m, Bi = new RegExp([
2107
+ var Pi = /#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, ir = /#EXT-X-MEDIA:(.*)/g, yr = /^#EXT(?:INF|-X-TARGETDURATION):/m, Bi = new RegExp([
2108
2108
  /#EXTINF:\s*(\d*(?:\.\d+)?)(?:,(.*)\s+)?/.source,
2109
2109
  // duration (#EXTINF:<duration>,<title>), group 1 => duration, group 2 => title
2110
2110
  /(?!#) *(\S[\S ]*)/.source,
@@ -2136,7 +2136,7 @@ var nf = { exports: {} };
2136
2136
  alwaysNormalize: !0
2137
2137
  });
2138
2138
  }, d.isMediaPlaylist = function(u) {
2139
- return br.test(u);
2139
+ return yr.test(u);
2140
2140
  }, d.parseMasterPlaylist = function(u, n) {
2141
2141
  var s = !1, o = {
2142
2142
  contentSteering: null,
@@ -2270,12 +2270,12 @@ var nf = { exports: {} };
2270
2270
  b = v.startSN = parseInt(Ae);
2271
2271
  break;
2272
2272
  case "SKIP": {
2273
- var ct = new xe(Ae), gt = ct.decimalInteger("SKIPPED-SEGMENTS");
2274
- if ($(gt)) {
2275
- v.skippedSegments = gt;
2276
- for (var mt = gt; mt--; )
2273
+ var ct = new xe(Ae), vt = ct.decimalInteger("SKIPPED-SEGMENTS");
2274
+ if ($(vt)) {
2275
+ v.skippedSegments = vt;
2276
+ for (var mt = vt; mt--; )
2277
2277
  m.unshift(null);
2278
- b += gt;
2278
+ b += vt;
2279
2279
  }
2280
2280
  var Lt = ct.enumeratedString("RECENTLY-REMOVED-DATERANGES");
2281
2281
  Lt && (v.recentlyRemovedDateranges = Lt.split(" "));
@@ -2332,8 +2332,8 @@ var nf = { exports: {} };
2332
2332
  case "MAP": {
2333
2333
  var gi = new xe(Ae);
2334
2334
  if (w.duration) {
2335
- var Lr = new Ye(o, n);
2336
- j(Lr, gi, s, D), y = Lr, w.initSegment = y, y.rawProgramDateTime && !w.rawProgramDateTime && (w.rawProgramDateTime = y.rawProgramDateTime);
2335
+ var Cr = new Ye(o, n);
2336
+ j(Cr, gi, s, D), y = Cr, w.initSegment = y, y.rawProgramDateTime && !w.rawProgramDateTime && (w.rawProgramDateTime = y.rawProgramDateTime);
2337
2337
  } else
2338
2338
  j(w, gi, s, D), y = w, q = !0;
2339
2339
  break;
@@ -2351,7 +2351,7 @@ var nf = { exports: {} };
2351
2351
  case "PART": {
2352
2352
  var Vi = v.partList;
2353
2353
  Vi || (Vi = v.partList = []);
2354
- var Gr = S > 0 ? Vi[Vi.length - 1] : void 0, gr = S++, on = new xe(Ae), En = new wt(on, w, n, gr, Gr);
2354
+ var Gr = S > 0 ? Vi[Vi.length - 1] : void 0, hr = S++, on = new xe(Ae), En = new wt(on, w, n, hr, Gr);
2355
2355
  Vi.push(En), w.duration += En.duration;
2356
2356
  break;
2357
2357
  }
@@ -2372,21 +2372,21 @@ var nf = { exports: {} };
2372
2372
  }
2373
2373
  }
2374
2374
  x && !x.relurl ? (m.pop(), E -= x.duration, v.partList && (v.fragmentHint = x)) : v.partList && (Zt(w, x), w.cc = A, v.fragmentHint = w, D && pe(w, D, v));
2375
- var Xi = m.length, sr = m[0], un = m[Xi - 1];
2376
- if (E += v.skippedSegments * v.targetduration, E > 0 && Xi && un) {
2377
- v.averagetargetduration = E / Xi;
2375
+ var Zi = m.length, nr = m[0], un = m[Zi - 1];
2376
+ if (E += v.skippedSegments * v.targetduration, E > 0 && Zi && un) {
2377
+ v.averagetargetduration = E / Zi;
2378
2378
  var xn = un.sn;
2379
- v.endSN = xn !== "initSegment" ? xn : 0, v.live || (un.endList = !0), sr && (v.startCC = sr.cc);
2379
+ v.endSN = xn !== "initSegment" ? xn : 0, v.live || (un.endList = !0), nr && (v.startCC = nr.cc);
2380
2380
  } else
2381
2381
  v.endSN = 0, v.startCC = 0;
2382
- return v.fragmentHint && (E += v.fragmentHint.duration), v.totalduration = E, v.endCC = A, G > 0 && cr(m, G), v;
2382
+ return v.fragmentHint && (E += v.fragmentHint.duration), v.totalduration = E, v.endCC = A, G > 0 && ur(m, G), v;
2383
2383
  }, d;
2384
2384
  }();
2385
2385
  function wi(d, c, u) {
2386
2386
  var n, s, o = new xe(d), f = (n = o.METHOD) != null ? n : "", h = o.URI, v = o.hexadecimalInteger("IV"), m = o.KEYFORMATVERSIONS, y = (s = o.KEYFORMAT) != null ? s : "identity";
2387
2387
  h && o.IV && !v && B.error("Invalid IV: " + o.IV);
2388
2388
  var b = h ? Mi.resolve(h, c) : "", S = (m || "1").split("/").map(Number).filter(Number.isFinite);
2389
- return new ur(f, b, y, S, v);
2389
+ return new lr(f, b, y, S, v);
2390
2390
  }
2391
2391
  function Ht(d) {
2392
2392
  var c = new xe(d), u = c.decimalFloatingPoint("TIME-OFFSET");
@@ -2395,7 +2395,7 @@ var nf = { exports: {} };
2395
2395
  function Ni(d, c) {
2396
2396
  ["video", "audio", "text"].forEach(function(u) {
2397
2397
  var n = d.filter(function(o) {
2398
- return yr(o, u);
2398
+ return _r(o, u);
2399
2399
  });
2400
2400
  if (n.length) {
2401
2401
  var s = n.filter(function(o) {
@@ -2411,7 +2411,7 @@ var nf = { exports: {} };
2411
2411
  var n = c[u];
2412
2412
  n && (d[u] = n);
2413
2413
  }
2414
- function cr(d, c) {
2414
+ function ur(d, c) {
2415
2415
  for (var u = d[c], n = c; n--; ) {
2416
2416
  var s = d[n];
2417
2417
  if (!s)
@@ -2442,7 +2442,7 @@ var nf = { exports: {} };
2442
2442
  AUDIO: "audio",
2443
2443
  SUBTITLE: "subtitle"
2444
2444
  };
2445
- function xr(d) {
2445
+ function Ar(d) {
2446
2446
  var c = d.type;
2447
2447
  switch (c) {
2448
2448
  case _e.AUDIO_TRACK:
@@ -2453,7 +2453,7 @@ var nf = { exports: {} };
2453
2453
  return ot.MAIN;
2454
2454
  }
2455
2455
  }
2456
- function Sr(d, c) {
2456
+ function br(d, c) {
2457
2457
  var u = d.url;
2458
2458
  return (u === void 0 || u.indexOf("data:") === 0) && (u = c.url), u;
2459
2459
  }
@@ -2580,7 +2580,7 @@ var nf = { exports: {} };
2580
2580
  };
2581
2581
  h.load(n, x, w);
2582
2582
  }, c.handleMasterPlaylist = function(n, s, o, f) {
2583
- var h = this.hls, v = n.data, m = Sr(n, o), y = Mi.parseMasterPlaylist(v, m);
2583
+ var h = this.hls, v = n.data, m = br(n, o), y = Mi.parseMasterPlaylist(v, m);
2584
2584
  if (y.playlistParsingError) {
2585
2585
  this.handleManifestParsingError(n, o, y.playlistParsingError, f, s);
2586
2586
  return;
@@ -2620,7 +2620,7 @@ var nf = { exports: {} };
2620
2620
  variableList: w
2621
2621
  });
2622
2622
  }, c.handleTrackOrLevelPlaylist = function(n, s, o, f, h) {
2623
- var v = this.hls, m = o.id, y = o.level, b = o.type, S = Sr(n, o), E = $(m) ? m : 0, A = $(y) ? y : E, x = xr(o), w = Mi.parseLevelPlaylist(n.data, S, A, x, E, this.variableList);
2623
+ var v = this.hls, m = o.id, y = o.level, b = o.type, S = br(n, o), E = $(m) ? m : 0, A = $(y) ? y : E, x = Ar(o), w = Mi.parseLevelPlaylist(n.data, S, A, x, E, this.variableList);
2624
2624
  if (b === _e.MANIFEST) {
2625
2625
  var O = {
2626
2626
  attrs: new xe({}),
@@ -2699,7 +2699,7 @@ var nf = { exports: {} };
2699
2699
  }
2700
2700
  this.hls.trigger(L.ERROR, E);
2701
2701
  }, c.handlePlaylistLoaded = function(n, s, o, f, h, v) {
2702
- var m = this.hls, y = f.type, b = f.level, S = f.id, E = f.groupId, A = f.deliveryDirectives, x = Sr(s, f), w = xr(f), O = typeof f.level == "number" && w === ot.MAIN ? b : void 0;
2702
+ var m = this.hls, y = f.type, b = f.level, S = f.id, E = f.groupId, A = f.deliveryDirectives, x = br(s, f), w = Ar(f), O = typeof f.level == "number" && w === ot.MAIN ? b : void 0;
2703
2703
  if (!n.fragments.length) {
2704
2704
  var M = new Error("No Segments found in Playlist");
2705
2705
  m.trigger(L.ERROR, {
@@ -2829,12 +2829,12 @@ var nf = { exports: {} };
2829
2829
  dateRange: "com.apple.quicktime.HLS",
2830
2830
  emsg: "https://aomedia.org/emsg/ID3"
2831
2831
  }, Vr = 0.25;
2832
- function Tr() {
2832
+ function Sr() {
2833
2833
  if (typeof self != "undefined")
2834
2834
  return self.WebKitDataCue || self.VTTCue || self.TextTrackCue;
2835
2835
  }
2836
- var dr = function() {
2837
- var d = Tr();
2836
+ var cr = function() {
2837
+ var d = Sr();
2838
2838
  try {
2839
2839
  new d(0, Number.POSITIVE_INFINITY, "");
2840
2840
  } catch (c) {
@@ -2885,13 +2885,13 @@ var nf = { exports: {} };
2885
2885
  if (!(!f && !h)) {
2886
2886
  var v = s.samples;
2887
2887
  this.id3Track || (this.id3Track = this.createTrack(this.media));
2888
- for (var m = Tr(), y = 0; y < v.length; y++) {
2888
+ for (var m = Sr(), y = 0; y < v.length; y++) {
2889
2889
  var b = v[y].type;
2890
2890
  if (!(b === Si.emsg && !f || !h)) {
2891
2891
  var S = st(v[y].data);
2892
2892
  if (S) {
2893
2893
  var E = v[y].pts, A = E + v[y].duration;
2894
- A > dr && (A = dr);
2894
+ A > cr && (A = cr);
2895
2895
  var x = A - E;
2896
2896
  x <= 0 && (A = E + Vr);
2897
2897
  for (var w = 0; w < S.length; w++) {
@@ -2912,7 +2912,7 @@ var nf = { exports: {} };
2912
2912
  if (o)
2913
2913
  for (var f = o.length; f--; ) {
2914
2914
  var h = o[f];
2915
- h.startTime < n && h.endTime === dr && (h.endTime = n);
2915
+ h.startTime < n && h.endTime === cr && (h.endTime = n);
2916
2916
  }
2917
2917
  }, c.onBufferFlushing = function(n, s) {
2918
2918
  var o = s.startOffset, f = s.endOffset, h = s.type, v = this.id3Track, m = this.hls;
@@ -2946,8 +2946,8 @@ var nf = { exports: {} };
2946
2946
  var A = f.fragments[f.fragments.length - 1];
2947
2947
  if (!(y.length === 0 || !$(A == null ? void 0 : A.programDateTime))) {
2948
2948
  this.id3Track || (this.id3Track = this.createTrack(this.media));
2949
- for (var x = A.programDateTime / 1e3 - A.start, w = Tr(), O = function() {
2950
- var G = y[M], q = m[G], fe = h[G], re = (fe == null ? void 0 : fe.cues) || {}, ne = (fe == null ? void 0 : fe.durationKnown) || !1, ke = bn(q.startDate, x), Te = dr, Ae = q.endDate;
2949
+ for (var x = A.programDateTime / 1e3 - A.start, w = Sr(), O = function() {
2950
+ var G = y[M], q = m[G], fe = h[G], re = (fe == null ? void 0 : fe.cues) || {}, ne = (fe == null ? void 0 : fe.durationKnown) || !1, ke = bn(q.startDate, x), Te = cr, Ae = q.endDate;
2951
2951
  if (Ae)
2952
2952
  Te = bn(Ae, x), ne = !0;
2953
2953
  else if (q.endOnNext && !ne) {
@@ -2959,8 +2959,8 @@ var nf = { exports: {} };
2959
2959
  })[0];
2960
2960
  We && (Te = bn(We.startDate, x), ne = !0);
2961
2961
  }
2962
- for (var ct = Object.keys(q.attr), gt = 0; gt < ct.length; gt++) {
2963
- var mt = ct[gt];
2962
+ for (var ct = Object.keys(q.attr), vt = 0; vt < ct.length; vt++) {
2963
+ var mt = ct[vt];
2964
2964
  if (Fe(mt)) {
2965
2965
  var Lt = re[mt];
2966
2966
  if (Lt)
@@ -2984,7 +2984,7 @@ var nf = { exports: {} };
2984
2984
  }
2985
2985
  }
2986
2986
  }, d;
2987
- }(), fr = /* @__PURE__ */ function() {
2987
+ }(), dr = /* @__PURE__ */ function() {
2988
2988
  function d(u) {
2989
2989
  var n = this;
2990
2990
  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 = function() {
@@ -3093,14 +3093,14 @@ var nf = { exports: {} };
3093
3093
  return (o ? n.buffered.end(o - 1) : s.edge) - this.currentTime;
3094
3094
  }
3095
3095
  }]), d;
3096
- }(), Sn = ["NONE", "TYPE-0", "TYPE-1", null], Pr = {
3096
+ }(), Sn = ["NONE", "TYPE-0", "TYPE-1", null], xr = {
3097
3097
  No: "",
3098
3098
  Yes: "YES",
3099
3099
  v2: "v2"
3100
3100
  };
3101
3101
  function cs(d, c) {
3102
3102
  var u = d.canSkipUntil, n = d.canSkipDateRanges, s = d.endSN, o = c !== void 0 ? c - s : 0;
3103
- return u && o < u ? n ? Pr.v2 : Pr.Yes : Pr.No;
3103
+ return u && o < u ? n ? xr.v2 : xr.Yes : xr.No;
3104
3104
  }
3105
3105
  var Wn = /* @__PURE__ */ function() {
3106
3106
  function d(u, n, s) {
@@ -3174,7 +3174,7 @@ var nf = { exports: {} };
3174
3174
  } else
3175
3175
  c.start = Math.max(d.start - c.duration, 0);
3176
3176
  }
3177
- function wr(d, c, u, n, s, o) {
3177
+ function Pr(d, c, u, n, s, o) {
3178
3178
  var f = n - u;
3179
3179
  f <= 0 && (B.warn("Fragment should have a positive duration", c), n = u + c.duration, o = s + c.duration);
3180
3180
  var h = u, v = n, m = c.startPTS, y = c.endPTS;
@@ -3231,7 +3231,7 @@ var nf = { exports: {} };
3231
3231
  }
3232
3232
  c.skippedSegments && (c.startCC = c.fragments[0].cc), Gn(d.partList, c.partList, function(A, x) {
3233
3233
  x.elementaryStreams = A.elementaryStreams, x.stats = A.stats;
3234
- }), h ? wr(c, h, h.startPTS, h.endPTS, h.startDTS, h.endDTS) : zs(d, c), y.length && (c.totalduration = c.edge - y[0].start), c.driftStartTime = d.driftStartTime, c.driftStart = d.driftStart;
3234
+ }), h ? Pr(c, h, h.startPTS, h.endPTS, h.startDTS, h.endDTS) : zs(d, c), y.length && (c.totalduration = c.edge - y[0].start), c.driftStartTime = d.driftStartTime, c.driftStart = d.driftStart;
3235
3235
  var S = c.advancedDateTime;
3236
3236
  if (c.advanced && S) {
3237
3237
  var E = c.edge;
@@ -3272,7 +3272,7 @@ var nf = { exports: {} };
3272
3272
  d.fragmentHint && (d.fragmentHint.start += c);
3273
3273
  }
3274
3274
  }
3275
- function kr(d, c) {
3275
+ function Tr(d, c) {
3276
3276
  c === void 0 && (c = 1 / 0);
3277
3277
  var u = 1e3 * d.targetduration;
3278
3278
  if (d.updated) {
@@ -3404,7 +3404,7 @@ var nf = { exports: {} };
3404
3404
  return u.cc < c ? 1 : u.cc > c ? -1 : 0;
3405
3405
  });
3406
3406
  }
3407
- var Ch = 3e5, hr = {
3407
+ var Ch = 3e5, fr = {
3408
3408
  DoNothing: 0,
3409
3409
  SendEndCallback: 1,
3410
3410
  SendAlternateToPenaltyBox: 2,
@@ -3423,10 +3423,10 @@ var nf = { exports: {} };
3423
3423
  var c = d.prototype;
3424
3424
  return c.registerListeners = function() {
3425
3425
  var n = this.hls;
3426
- n.on(L.ERROR, this.onError, this), n.on(L.MANIFEST_LOADING, this.onManifestLoading, this);
3426
+ n.on(L.ERROR, this.onError, this), n.on(L.MANIFEST_LOADING, this.onManifestLoading, this), n.on(L.LEVEL_UPDATED, this.onLevelUpdated, this);
3427
3427
  }, c.unregisterListeners = function() {
3428
3428
  var n = this.hls;
3429
- n && (n.off(L.ERROR, this.onError, this), n.off(L.ERROR, this.onErrorOut, this), n.off(L.MANIFEST_LOADING, this.onManifestLoading, this));
3429
+ n && (n.off(L.ERROR, this.onError, this), n.off(L.ERROR, this.onErrorOut, this), n.off(L.MANIFEST_LOADING, this.onManifestLoading, this), n.off(L.LEVEL_UPDATED, this.onLevelUpdated, this));
3430
3430
  }, c.destroy = function() {
3431
3431
  this.unregisterListeners(), this.hls = null, this.penalizedRenditions = {};
3432
3432
  }, c.startLoad = function(n) {
@@ -3436,6 +3436,8 @@ var nf = { exports: {} };
3436
3436
  return (n == null ? void 0 : n.type) === ot.MAIN ? n.level : this.hls.loadLevel;
3437
3437
  }, c.onManifestLoading = function() {
3438
3438
  this.playlistError = 0, this.penalizedRenditions = {};
3439
+ }, c.onLevelUpdated = function() {
3440
+ this.playlistError = 0;
3439
3441
  }, c.onError = function(n, s) {
3440
3442
  var o;
3441
3443
  if (!s.fatal) {
@@ -3450,7 +3452,7 @@ var nf = { exports: {} };
3450
3452
  case W.FRAG_GAP:
3451
3453
  case W.FRAG_PARSING_ERROR:
3452
3454
  case W.FRAG_DECRYPT_ERROR: {
3453
- s.errorAction = this.getFragRetryOrSwitchAction(s), s.errorAction.action = hr.SendAlternateToPenaltyBox;
3455
+ s.errorAction = this.getFragRetryOrSwitchAction(s), s.errorAction.action = fr.SendAlternateToPenaltyBox;
3454
3456
  return;
3455
3457
  }
3456
3458
  case W.LEVEL_EMPTY_ERROR:
@@ -3471,7 +3473,7 @@ var nf = { exports: {} };
3471
3473
  if (h) {
3472
3474
  var b = f.levels[f.loadLevel];
3473
3475
  if (b && (h.type === _e.AUDIO_TRACK && h.groupId === b.audioGroupId || h.type === _e.SUBTITLE_TRACK && h.groupId === b.textGroupId)) {
3474
- s.errorAction = this.getPlaylistRetryOrSwitchAction(s, f.loadLevel), s.errorAction.action = hr.SendAlternateToPenaltyBox, s.errorAction.flags = Wr.MoveAllAlternatesMatchingHost;
3476
+ s.errorAction = this.getPlaylistRetryOrSwitchAction(s, f.loadLevel), s.errorAction.action = fr.SendAlternateToPenaltyBox, s.errorAction.flags = Wr.MoveAllAlternatesMatchingHost;
3475
3477
  return;
3476
3478
  }
3477
3479
  }
@@ -3480,7 +3482,7 @@ var nf = { exports: {} };
3480
3482
  {
3481
3483
  var S = f.levels[f.loadLevel], E = S == null ? void 0 : S.attrs["HDCP-LEVEL"];
3482
3484
  E && (s.errorAction = {
3483
- action: hr.SendAlternateToPenaltyBox,
3485
+ action: fr.SendAlternateToPenaltyBox,
3484
3486
  flags: Wr.MoveAllAlternatesMatchingHDCP,
3485
3487
  hdcpLevel: E
3486
3488
  });
@@ -3499,7 +3501,7 @@ var nf = { exports: {} };
3499
3501
  case W.BUFFER_SEEK_OVER_HOLE:
3500
3502
  case W.BUFFER_NUDGE_ON_STALL:
3501
3503
  s.errorAction = {
3502
- action: hr.DoNothing,
3504
+ action: fr.DoNothing,
3503
3505
  flags: Wr.None
3504
3506
  };
3505
3507
  return;
@@ -3514,7 +3516,7 @@ var nf = { exports: {} };
3514
3516
  var o, f = this.hls, h = pu(f.config.playlistLoadPolicy, n), v = this.playlistError++, m = (o = n.response) == null ? void 0 : o.code, y = Ea(h, v, zn(n), m);
3515
3517
  if (y)
3516
3518
  return {
3517
- action: hr.RetryRequest,
3519
+ action: fr.RetryRequest,
3518
3520
  flags: Wr.None,
3519
3521
  retryConfig: h,
3520
3522
  retryCount: v
@@ -3531,7 +3533,7 @@ var nf = { exports: {} };
3531
3533
  var E = (S = n.response) == null ? void 0 : S.code, A = Ea(y, b, zn(n), E);
3532
3534
  if (A)
3533
3535
  return {
3534
- action: hr.RetryRequest,
3536
+ action: fr.RetryRequest,
3535
3537
  flags: Wr.None,
3536
3538
  retryConfig: y,
3537
3539
  retryCount: b
@@ -3566,22 +3568,22 @@ var nf = { exports: {} };
3566
3568
  }
3567
3569
  }
3568
3570
  if (m > -1 && o.loadLevel !== m)
3569
- return n.levelRetry = !0, {
3570
- action: hr.SendAlternateToPenaltyBox,
3571
+ return n.levelRetry = !0, this.playlistError = 0, {
3572
+ action: fr.SendAlternateToPenaltyBox,
3571
3573
  flags: Wr.None,
3572
3574
  nextAutoLevel: m
3573
3575
  };
3574
3576
  }
3575
3577
  return {
3576
- action: hr.SendAlternateToPenaltyBox,
3578
+ action: fr.SendAlternateToPenaltyBox,
3577
3579
  flags: Wr.MoveAllAlternatesMatchingHost
3578
3580
  };
3579
3581
  }, c.onErrorOut = function(n, s) {
3580
3582
  var o;
3581
3583
  switch ((o = s.errorAction) == null ? void 0 : o.action) {
3582
- case hr.DoNothing:
3584
+ case fr.DoNothing:
3583
3585
  break;
3584
- case hr.SendAlternateToPenaltyBox:
3586
+ case fr.SendAlternateToPenaltyBox:
3585
3587
  this.sendAlternateToPenaltyBox(s), !s.errorAction.resolved && s.details !== W.FRAG_GAP && (s.fatal = !0);
3586
3588
  break;
3587
3589
  }
@@ -3685,7 +3687,7 @@ var nf = { exports: {} };
3685
3687
  var E = Math.min(s.age - s.partTarget, s.targetduration);
3686
3688
  S >= 0 && E > s.partTarget && (S += 1);
3687
3689
  }
3688
- return new Wn(b, S >= 0 ? S : void 0, Pr.No);
3690
+ return new Wn(b, S >= 0 ? S : void 0, xr.No);
3689
3691
  }
3690
3692
  }
3691
3693
  }, c.loadPlaylist = function(n) {
@@ -3723,22 +3725,24 @@ var nf = { exports: {} };
3723
3725
  }
3724
3726
  } else
3725
3727
  h.canBlockReload && (b = this.getDeliveryDirectives(h, s.deliveryDirectives, S, E));
3726
- var Te = this.hls.mainForwardBufferInfo, Ae = Te ? Te.end - Te.len : 0, We = (h.edge - Ae) * 1e3, ct = kr(h, We);
3728
+ var Te = this.hls.mainForwardBufferInfo, Ae = Te ? Te.end - Te.len : 0, We = (h.edge - Ae) * 1e3, ct = Tr(h, We);
3727
3729
  h.updated && m > this.requestScheduled + ct && (this.requestScheduled = v.loading.start), S !== void 0 && h.canBlockReload ? this.requestScheduled = v.loading.first + ct - (h.partTarget * 1e3 || 1e3) : this.requestScheduled === -1 || this.requestScheduled + ct < m ? this.requestScheduled = m : this.requestScheduled - m <= 0 && (this.requestScheduled += ct);
3728
- var gt = this.requestScheduled - m;
3729
- gt = Math.max(0, gt), this.log("reload live playlist " + n + " in " + Math.round(gt) + " ms"), this.timer = self.setTimeout(function() {
3730
+ var vt = this.requestScheduled - m;
3731
+ vt = Math.max(0, vt), this.log("reload live playlist " + n + " in " + Math.round(vt) + " ms"), this.timer = self.setTimeout(function() {
3730
3732
  return f.loadPlaylist(b);
3731
- }, gt);
3733
+ }, vt);
3732
3734
  } else
3733
3735
  this.clearTimer();
3734
3736
  }, c.getDeliveryDirectives = function(n, s, o, f) {
3735
3737
  var h = cs(n, o);
3736
- return s != null && s.skip && n.deltaUpdateFailed && (o = s.msn, f = s.part, h = Pr.No), new Wn(o, f, h);
3738
+ return s != null && s.skip && n.deltaUpdateFailed && (o = s.msn, f = s.part, h = xr.No), new Wn(o, f, h);
3737
3739
  }, c.checkRetry = function(n) {
3738
- var s = this, o = n.details, f = zn(n), h = n.errorAction, v = h || {}, m = v.action, y = v.retryCount, b = y === void 0 ? 0 : y, S = v.retryConfig, E = !!h && !!S && (m === hr.RetryRequest || !h.resolved && m === hr.SendAlternateToPenaltyBox);
3740
+ var s = this, o = n.details, f = zn(n), h = n.errorAction, v = h || {}, m = v.action, y = v.retryCount, b = y === void 0 ? 0 : y, S = v.retryConfig, E = !!h && !!S && (m === fr.RetryRequest || !h.resolved && m === fr.SendAlternateToPenaltyBox);
3739
3741
  if (E) {
3740
3742
  var A;
3741
- if (this.requestScheduled = -1, f && (A = n.context) != null && A.deliveryDirectives)
3743
+ if (this.requestScheduled = -1, b >= S.maxNumRetry)
3744
+ return !1;
3745
+ if (f && (A = n.context) != null && A.deliveryDirectives)
3742
3746
  this.warn("Retrying playlist loading " + (b + 1) + "/" + S.maxNumRetry + ' after "' + o + '" without delivery-directives'), this.loadPlaylist();
3743
3747
  else {
3744
3748
  var x = Ho(S, b);
@@ -4811,10 +4815,10 @@ var nf = { exports: {} };
4811
4815
  }, c.networkToHostOrderSwap = function(n) {
4812
4816
  return n << 24 | (n & 65280) << 8 | (n & 16711680) >> 8 | n >>> 24;
4813
4817
  }, c.decrypt = function(n, s, o) {
4814
- for (var f = this.keySize + 6, h = this.invKeySchedule, v = this.invSBox, m = this.invSubMix, y = m[0], b = m[1], S = m[2], E = m[3], A = this.uint8ArrayToUint32Array_(o), x = A[0], w = A[1], O = A[2], M = A[3], D = new Int32Array(n), G = new Int32Array(D.length), q, fe, re, ne, ke, Te, Ae, We, ct, gt, mt, Lt, _t, jt, Pt = this.networkToHostOrderSwap; s < D.length; ) {
4815
- for (ct = Pt(D[s]), gt = Pt(D[s + 1]), mt = Pt(D[s + 2]), Lt = Pt(D[s + 3]), ke = ct ^ h[0], Te = Lt ^ h[1], Ae = mt ^ h[2], We = gt ^ h[3], _t = 4, jt = 1; jt < f; jt++)
4818
+ for (var f = this.keySize + 6, h = this.invKeySchedule, v = this.invSBox, m = this.invSubMix, y = m[0], b = m[1], S = m[2], E = m[3], A = this.uint8ArrayToUint32Array_(o), x = A[0], w = A[1], O = A[2], M = A[3], D = new Int32Array(n), G = new Int32Array(D.length), q, fe, re, ne, ke, Te, Ae, We, ct, vt, mt, Lt, _t, jt, Pt = this.networkToHostOrderSwap; s < D.length; ) {
4819
+ for (ct = Pt(D[s]), vt = Pt(D[s + 1]), mt = Pt(D[s + 2]), Lt = Pt(D[s + 3]), ke = ct ^ h[0], Te = Lt ^ h[1], Ae = mt ^ h[2], We = vt ^ h[3], _t = 4, jt = 1; jt < f; jt++)
4816
4820
  q = y[ke >>> 24] ^ b[Te >> 16 & 255] ^ S[Ae >> 8 & 255] ^ E[We & 255] ^ h[_t], fe = y[Te >>> 24] ^ b[Ae >> 16 & 255] ^ S[We >> 8 & 255] ^ E[ke & 255] ^ h[_t + 1], re = y[Ae >>> 24] ^ b[We >> 16 & 255] ^ S[ke >> 8 & 255] ^ E[Te & 255] ^ h[_t + 2], ne = y[We >>> 24] ^ b[ke >> 16 & 255] ^ S[Te >> 8 & 255] ^ E[Ae & 255] ^ h[_t + 3], ke = q, Te = fe, Ae = re, We = ne, _t = _t + 4;
4817
- q = v[ke >>> 24] << 24 ^ v[Te >> 16 & 255] << 16 ^ v[Ae >> 8 & 255] << 8 ^ v[We & 255] ^ h[_t], fe = v[Te >>> 24] << 24 ^ v[Ae >> 16 & 255] << 16 ^ v[We >> 8 & 255] << 8 ^ v[ke & 255] ^ h[_t + 1], re = v[Ae >>> 24] << 24 ^ v[We >> 16 & 255] << 16 ^ v[ke >> 8 & 255] << 8 ^ v[Te & 255] ^ h[_t + 2], ne = v[We >>> 24] << 24 ^ v[ke >> 16 & 255] << 16 ^ v[Te >> 8 & 255] << 8 ^ v[Ae & 255] ^ h[_t + 3], G[s] = Pt(q ^ x), G[s + 1] = Pt(ne ^ w), G[s + 2] = Pt(re ^ O), G[s + 3] = Pt(fe ^ M), x = ct, w = gt, O = mt, M = Lt, s = s + 4;
4821
+ q = v[ke >>> 24] << 24 ^ v[Te >> 16 & 255] << 16 ^ v[Ae >> 8 & 255] << 8 ^ v[We & 255] ^ h[_t], fe = v[Te >>> 24] << 24 ^ v[Ae >> 16 & 255] << 16 ^ v[We >> 8 & 255] << 8 ^ v[ke & 255] ^ h[_t + 1], re = v[Ae >>> 24] << 24 ^ v[We >> 16 & 255] << 16 ^ v[ke >> 8 & 255] << 8 ^ v[Te & 255] ^ h[_t + 2], ne = v[We >>> 24] << 24 ^ v[ke >> 16 & 255] << 16 ^ v[Te >> 8 & 255] << 8 ^ v[Ae & 255] ^ h[_t + 3], G[s] = Pt(q ^ x), G[s + 1] = Pt(ne ^ w), G[s + 2] = Pt(re ^ O), G[s + 3] = Pt(fe ^ M), x = ct, w = vt, O = mt, M = Lt, s = s + 4;
4818
4822
  }
4819
4823
  return G.buffer;
4820
4824
  }, d;
@@ -5346,7 +5350,7 @@ var nf = { exports: {} };
5346
5350
  var m = o.details === W.FRAG_GAP;
5347
5351
  m && this.fragmentTracker.fragBuffered(h, !0);
5348
5352
  var y = o.errorAction, b = y || {}, S = b.action, E = b.retryCount, A = E === void 0 ? 0 : E, x = b.retryConfig;
5349
- if (y && S === hr.RetryRequest && x) {
5353
+ if (y && S === fr.RetryRequest && x) {
5350
5354
  this.loadedmetadata || (this.startFragRequested = !1, this.nextLoadPosition = this.startPosition);
5351
5355
  var w = Ho(x, A);
5352
5356
  this.warn("Fragment " + h.sn + " of " + s + " " + h.level + " errored with " + o.details + ", retrying loading " + (A + 1) + "/" + x.maxNumRetry + " in " + w + "ms"), y.resolved = !0, this.retryDate = self.performance.now() + w, this.state = Be.FRAG_LOADING_WAITING_RETRY;
@@ -5393,7 +5397,7 @@ var nf = { exports: {} };
5393
5397
  var w = x.endPTS - x.startPTS;
5394
5398
  if (w <= 0)
5395
5399
  return v.warn("Could not parse fragment " + s.sn + " " + A + " duration reliably (" + w + ")"), E || !1;
5396
- var O = h ? 0 : wr(y, s, x.startPTS, x.endPTS, x.startDTS, x.endDTS);
5400
+ var O = h ? 0 : Pr(y, s, x.startPTS, x.endPTS, x.startDTS, x.endDTS);
5397
5401
  return v.hls.trigger(L.LEVEL_PTS_UPDATED, {
5398
5402
  details: y,
5399
5403
  level: f,
@@ -6048,7 +6052,7 @@ var nf = { exports: {} };
6048
6052
  }
6049
6053
  }
6050
6054
  }, d;
6051
- }(), nr = 188, mg = /* @__PURE__ */ function() {
6055
+ }(), Xi = 188, mg = /* @__PURE__ */ function() {
6052
6056
  function d(u, n, s) {
6053
6057
  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._avcTrack = void 0, this._audioTrack = void 0, this._id3Track = void 0, this._txtTrack = void 0, this.aacOverFlow = null, this.avcSample = null, this.remainderData = null, this.observer = u, this.config = n, this.typeSupported = s;
6054
6058
  }
@@ -6056,10 +6060,16 @@ var nf = { exports: {} };
6056
6060
  var s = d.syncOffset(n);
6057
6061
  return s > 0 && B.warn("MPEG2-TS detected but first sync word found @ offset " + s), s !== -1;
6058
6062
  }, d.syncOffset = function(n) {
6059
- for (var s = n.length, o = Math.min(nr * 5, n.length - nr) + 1, f = 0; f < o; ) {
6060
- for (var h = !1, v = f; v < s && n[v] === 71; v += nr)
6061
- if (!h && Jo(n, v) === 0 && (h = !0), h && v + nr > o)
6062
- return f;
6063
+ for (var s = n.length, o = Math.min(Xi * 5, n.length - Xi) + 1, f = 0; f < o; ) {
6064
+ for (var h = !1, v = -1, m = 0, y = f; y < s; y += Xi)
6065
+ if (n[y] === 71) {
6066
+ if (m++, v === -1 && (v = y, v !== 0 && (o = Math.min(v + Xi * 99, n.length - Xi) + 1)), h || (h = Jo(n, y) === 0), h && m > 1 && (v === 0 && m > 2 || y + Xi > o))
6067
+ return v;
6068
+ } else {
6069
+ if (m)
6070
+ return -1;
6071
+ break;
6072
+ }
6063
6073
  f++;
6064
6074
  }
6065
6075
  return -1;
@@ -6086,7 +6096,7 @@ var nf = { exports: {} };
6086
6096
  }, c.demux = function(n, s, o, f) {
6087
6097
  o === void 0 && (o = !1), f === void 0 && (f = !1), o || (this.sampleAes = null);
6088
6098
  var h, v = this._avcTrack, m = this._audioTrack, y = this._id3Track, b = this._txtTrack, S = v.pid, E = v.pesData, A = m.pid, x = y.pid, w = m.pesData, O = y.pesData, M = null, D = this.pmtParsed, G = this._pmtId, q = n.length;
6089
- if (this.remainderData && (n = Y(this.remainderData, n), q = n.length, this.remainderData = null), q < nr && !f)
6099
+ if (this.remainderData && (n = Y(this.remainderData, n), q = n.length, this.remainderData = null), q < Xi && !f)
6090
6100
  return this.remainderData = n, {
6091
6101
  audioTrack: m,
6092
6102
  videoTrack: v,
@@ -6094,12 +6104,12 @@ var nf = { exports: {} };
6094
6104
  textTrack: b
6095
6105
  };
6096
6106
  var fe = Math.max(0, d.syncOffset(n));
6097
- q -= (q - fe) % nr, q < n.byteLength && !f && (this.remainderData = new Uint8Array(n.buffer, q, n.buffer.byteLength - q));
6098
- for (var re = 0, ne = fe; ne < q; ne += nr)
6107
+ q -= (q - fe) % Xi, q < n.byteLength && !f && (this.remainderData = new Uint8Array(n.buffer, q, n.buffer.byteLength - q));
6108
+ for (var re = 0, ne = fe; ne < q; ne += Xi)
6099
6109
  if (n[ne] === 71) {
6100
6110
  var ke = !!(n[ne + 1] & 64), Te = Jo(n, ne), Ae = (n[ne + 3] & 48) >> 4, We = void 0;
6101
6111
  if (Ae > 1) {
6102
- if (We = ne + 5 + n[ne + 4], We === ne + nr)
6112
+ if (We = ne + 5 + n[ne + 4], We === ne + Xi)
6103
6113
  continue;
6104
6114
  } else
6105
6115
  We = ne + 4;
@@ -6108,7 +6118,7 @@ var nf = { exports: {} };
6108
6118
  ke && (E && (h = hs(E)) && this.parseAVCPES(v, b, h, !1), E = {
6109
6119
  data: [],
6110
6120
  size: 0
6111
- }), E && (E.data.push(n.subarray(We, ne + nr)), E.size += ne + nr - We);
6121
+ }), E && (E.data.push(n.subarray(We, ne + Xi)), E.size += ne + Xi - We);
6112
6122
  break;
6113
6123
  case A:
6114
6124
  if (ke) {
@@ -6126,13 +6136,13 @@ var nf = { exports: {} };
6126
6136
  size: 0
6127
6137
  };
6128
6138
  }
6129
- w && (w.data.push(n.subarray(We, ne + nr)), w.size += ne + nr - We);
6139
+ w && (w.data.push(n.subarray(We, ne + Xi)), w.size += ne + Xi - We);
6130
6140
  break;
6131
6141
  case x:
6132
6142
  ke && (O && (h = hs(O)) && this.parseID3PES(y, h), O = {
6133
6143
  data: [],
6134
6144
  size: 0
6135
- }), O && (O.data.push(n.subarray(We, ne + nr)), O.size += ne + nr - We);
6145
+ }), O && (O.data.push(n.subarray(We, ne + Xi)), O.size += ne + Xi - We);
6136
6146
  break;
6137
6147
  case 0:
6138
6148
  ke && (We += n[We] + 1), G = this._pmtId = pg(n, We);
@@ -6153,13 +6163,13 @@ var nf = { exports: {} };
6153
6163
  } else
6154
6164
  re++;
6155
6165
  if (re > 0) {
6156
- var gt = new Error("Found " + re + " TS packet/s that do not start with 0x47");
6166
+ var vt = new Error("Found " + re + " TS packet/s that do not start with 0x47");
6157
6167
  this.observer.emit(L.ERROR, L.ERROR, {
6158
6168
  type: ae.MEDIA_ERROR,
6159
6169
  details: W.FRAG_PARSING_ERROR,
6160
6170
  fatal: !1,
6161
- error: gt,
6162
- reason: gt.message
6171
+ error: vt,
6172
+ reason: vt.message
6163
6173
  });
6164
6174
  }
6165
6175
  v.pesData = E, m.pesData = w, y.pesData = O;
@@ -7592,7 +7602,7 @@ var nf = { exports: {} };
7592
7602
  }, c.getVideoStartPts = function(n) {
7593
7603
  var s = !1, o = n.reduce(function(f, h) {
7594
7604
  var v = h.pts - f;
7595
- return v < -4294967296 ? (s = !0, Cr(f, h.pts)) : v > 0 ? f : h.pts;
7605
+ return v < -4294967296 ? (s = !0, wr(f, h.pts)) : v > 0 ? f : h.pts;
7596
7606
  }, n[0].pts);
7597
7607
  return s && B.debug("PTS rollover detected"), o;
7598
7608
  }, c.remux = function(n, s, o, f, h, v, m, y) {
@@ -7609,7 +7619,7 @@ var nf = { exports: {} };
7609
7619
  Te === -1 && (B.warn("[mp4-remuxer]: No keyframe found out of " + q + " video samples"), w = !1);
7610
7620
  if (this.ISGenerated) {
7611
7621
  if (fe && re) {
7612
- var ct = this.getVideoStartPts(s.samples), gt = Cr(n.samples[0].pts, ct) - ct, mt = gt / s.inputTimeScale;
7622
+ var ct = this.getVideoStartPts(s.samples), vt = wr(n.samples[0].pts, ct) - ct, mt = vt / s.inputTimeScale;
7613
7623
  O += Math.max(0, mt), M += Math.max(0, -mt);
7614
7624
  }
7615
7625
  if (fe) {
@@ -7660,7 +7670,7 @@ var nf = { exports: {} };
7660
7670
  }, S))
7661
7671
  if (w = s.inputTimeScale, !b || w !== b.timescale) {
7662
7672
  var O = this.getVideoStartPts(v), M = Math.round(w * o);
7663
- x = Math.min(x, Cr(v[0].dts, O) - M), A = Math.min(A, O - M);
7673
+ x = Math.min(x, wr(v[0].dts, O) - M), A = Math.min(A, O - M);
7664
7674
  } else
7665
7675
  S = !1;
7666
7676
  if (Object.keys(y).length)
@@ -7678,12 +7688,12 @@ var nf = { exports: {} };
7678
7688
  }, c.remuxVideo = function(n, s, o, f) {
7679
7689
  var h = n.inputTimeScale, v = n.samples, m = [], y = v.length, b = this._initPTS, S = this.nextAvcDts, E = 8, A = this.videoSampleDuration, x, w, O = Number.POSITIVE_INFINITY, M = Number.NEGATIVE_INFINITY, D = !1;
7680
7690
  if (!o || S === null) {
7681
- var G = s * h, q = v[0].pts - Cr(v[0].dts, v[0].pts);
7691
+ var G = s * h, q = v[0].pts - wr(v[0].dts, v[0].pts);
7682
7692
  S = G - q;
7683
7693
  }
7684
7694
  for (var fe = b.baseTime * h / b.timescale, re = 0; re < y; re++) {
7685
7695
  var ne = v[re];
7686
- ne.pts = Cr(ne.pts - fe, S), ne.dts = Cr(ne.dts - fe, S), ne.dts < v[re > 0 ? re - 1 : re].dts && (D = !0);
7696
+ ne.pts = wr(ne.pts - fe, S), ne.dts = wr(ne.dts - fe, S), ne.dts < v[re > 0 ? re - 1 : re].dts && (D = !0);
7687
7697
  }
7688
7698
  D && v.sort(function(Da, sc) {
7689
7699
  var _0 = Da.dts - sc.dts, y0 = Da.pts - sc.pts;
@@ -7692,17 +7702,17 @@ var nf = { exports: {} };
7692
7702
  var ke = w - x, Te = ke ? Math.round(ke / (y - 1)) : A || n.inputTimeScale / 30;
7693
7703
  if (o) {
7694
7704
  var Ae = x - S, We = Ae > Te, ct = Ae < -1;
7695
- if ((We || ct) && (We ? B.warn("AVC: " + Hs(Ae, !0) + " ms (" + Ae + "dts) hole between fragments detected, filling it") : B.warn("AVC: " + Hs(-Ae, !0) + " ms (" + Ae + "dts) overlapping between fragments detected"), !ct || S > v[0].pts)) {
7705
+ if ((We || ct) && (We ? B.warn("AVC: " + Hs(Ae, !0) + " ms (" + Ae + "dts) hole between fragments detected, filling it") : B.warn("AVC: " + Hs(-Ae, !0) + " ms (" + Ae + "dts) overlapping between fragments detected"), !ct || S >= v[0].pts)) {
7696
7706
  x = S;
7697
- var gt = v[0].pts - Ae;
7698
- v[0].dts = x, v[0].pts = gt, B.log("Video: First PTS/DTS adjusted: " + Hs(gt, !0) + "/" + Hs(x, !0) + ", delta: " + Hs(Ae, !0) + " ms");
7707
+ var vt = v[0].pts - Ae;
7708
+ v[0].dts = x, v[0].pts = vt, B.log("Video: First PTS/DTS adjusted: " + Hs(vt, !0) + "/" + Hs(x, !0) + ", delta: " + Hs(Ae, !0) + " ms");
7699
7709
  }
7700
7710
  }
7701
7711
  x = Math.max(0, x);
7702
7712
  for (var mt = 0, Lt = 0, _t = 0; _t < y; _t++) {
7703
- for (var jt = v[_t], Pt = jt.units, gi = Pt.length, Lr = 0, Jt = 0; Jt < gi; Jt++)
7704
- Lr += Pt[Jt].data.length;
7705
- Lt += Lr, mt += gi, jt.length = Lr, jt.dts = Math.max(jt.dts, x), O = Math.min(jt.pts, O), M = Math.max(jt.pts, M);
7713
+ for (var jt = v[_t], Pt = jt.units, gi = Pt.length, Cr = 0, Jt = 0; Jt < gi; Jt++)
7714
+ Cr += Pt[Jt].data.length;
7715
+ Lt += Cr, mt += gi, jt.length = Cr, jt.dts = Math.max(jt.dts, x), O = Math.min(jt.pts, O), M = Math.max(jt.pts, M);
7706
7716
  }
7707
7717
  w = v[y - 1].dts;
7708
7718
  var Qi = Lt + 4 * mt + 8, Vi;
@@ -7721,24 +7731,24 @@ var nf = { exports: {} };
7721
7731
  }
7722
7732
  var Gr = new DataView(Vi.buffer);
7723
7733
  Gr.setUint32(0, Qi), Vi.set(Ui.types.mdat, 4);
7724
- for (var gr = !1, on = Number.POSITIVE_INFINITY, En = Number.POSITIVE_INFINITY, ln = Number.NEGATIVE_INFINITY, An = Number.NEGATIVE_INFINITY, Xi = 0; Xi < y; Xi++) {
7725
- for (var sr = v[Xi], un = sr.units, xn = 0, Ks = 0, ul = un.length; Ks < ul; Ks++) {
7734
+ for (var hr = !1, on = Number.POSITIVE_INFINITY, En = Number.POSITIVE_INFINITY, ln = Number.NEGATIVE_INFINITY, An = Number.NEGATIVE_INFINITY, Zi = 0; Zi < y; Zi++) {
7735
+ for (var nr = v[Zi], un = nr.units, xn = 0, Ks = 0, ul = un.length; Ks < ul; Ks++) {
7726
7736
  var cn = un[Ks], c0 = cn.data, cl = cn.data.byteLength;
7727
7737
  Gr.setUint32(E, cl), E += 4, Vi.set(c0, E), E += cl, xn += 4 + cl;
7728
7738
  }
7729
7739
  var Ia = void 0;
7730
- if (Xi < y - 1)
7731
- A = v[Xi + 1].dts - sr.dts, Ia = v[Xi + 1].pts - sr.pts;
7740
+ if (Zi < y - 1)
7741
+ A = v[Zi + 1].dts - nr.dts, Ia = v[Zi + 1].pts - nr.pts;
7732
7742
  else {
7733
- var tc = this.config, Ra = Xi > 0 ? sr.dts - v[Xi - 1].dts : Te;
7734
- if (Ia = Xi > 0 ? sr.pts - v[Xi - 1].pts : Te, tc.stretchShortVideoTrack && this.nextAudioPts !== null) {
7735
- var d0 = Math.floor(tc.maxBufferHole * h), dl = (f ? O + f * h : this.nextAudioPts) - sr.pts;
7736
- dl > d0 ? (A = dl - Ra, A < 0 ? A = Ra : gr = !0, B.log("[mp4-remuxer]: It is approximately " + dl / 90 + " ms to the next segment; using duration " + A / 90 + " ms for the last video frame.")) : A = Ra;
7743
+ var tc = this.config, Ra = Zi > 0 ? nr.dts - v[Zi - 1].dts : Te;
7744
+ if (Ia = Zi > 0 ? nr.pts - v[Zi - 1].pts : Te, tc.stretchShortVideoTrack && this.nextAudioPts !== null) {
7745
+ var d0 = Math.floor(tc.maxBufferHole * h), dl = (f ? O + f * h : this.nextAudioPts) - nr.pts;
7746
+ dl > d0 ? (A = dl - Ra, A < 0 ? A = Ra : hr = !0, B.log("[mp4-remuxer]: It is approximately " + dl / 90 + " ms to the next segment; using duration " + A / 90 + " ms for the last video frame.")) : A = Ra;
7737
7747
  } else
7738
7748
  A = Ra;
7739
7749
  }
7740
- var f0 = Math.round(sr.pts - sr.dts);
7741
- on = Math.min(on, A), ln = Math.max(ln, A), En = Math.min(En, Ia), An = Math.max(An, Ia), m.push(new zu(sr.key, A, xn, f0));
7750
+ var f0 = Math.round(nr.pts - nr.dts);
7751
+ on = Math.min(on, A), ln = Math.max(ln, A), En = Math.min(En, Ia), An = Math.max(An, Ia), m.push(new zu(nr.key, A, xn, f0));
7742
7752
  }
7743
7753
  if (m.length) {
7744
7754
  if (La) {
@@ -7748,18 +7758,18 @@ var nf = { exports: {} };
7748
7758
  }
7749
7759
  } else if ($o && An - En < ln - on && Te / ln < 0.025 && m[0].cts === 0) {
7750
7760
  B.warn("Found irregular gaps in sample duration. Using PTS instead of DTS to determine MP4 sample duration.");
7751
- for (var fl = x, Ir = 0, rc = m.length; Ir < rc; Ir++) {
7752
- var nc = fl + m[Ir].duration, h0 = fl + m[Ir].cts;
7753
- if (Ir < rc - 1) {
7754
- var g0 = nc + m[Ir + 1].cts;
7755
- m[Ir].duration = g0 - h0;
7761
+ for (var fl = x, Lr = 0, rc = m.length; Lr < rc; Lr++) {
7762
+ var nc = fl + m[Lr].duration, h0 = fl + m[Lr].cts;
7763
+ if (Lr < rc - 1) {
7764
+ var g0 = nc + m[Lr + 1].cts;
7765
+ m[Lr].duration = g0 - h0;
7756
7766
  } else
7757
- m[Ir].duration = Ir ? m[Ir - 1].duration : Te;
7758
- m[Ir].cts = 0, fl = nc;
7767
+ m[Lr].duration = Lr ? m[Lr - 1].duration : Te;
7768
+ m[Lr].cts = 0, fl = nc;
7759
7769
  }
7760
7770
  }
7761
7771
  }
7762
- A = gr || !A ? Te : A, this.nextAvcDts = S = w + A, this.videoSampleDuration = A, this.isVideoContiguous = !0;
7772
+ A = hr || !A ? Te : A, this.nextAvcDts = S = w + A, this.videoSampleDuration = A, this.isVideoContiguous = !0;
7763
7773
  var v0 = Ui.moof(n.sequenceNumber++, x, T({}, n, {
7764
7774
  samples: m
7765
7775
  })), m0 = "video", p0 = {
@@ -7778,8 +7788,8 @@ var nf = { exports: {} };
7778
7788
  return n.samples = [], n.dropped = 0, p0;
7779
7789
  }, c.remuxAudio = function(n, s, o, f, h) {
7780
7790
  var v = n.inputTimeScale, m = n.samplerate ? n.samplerate : v, y = v / m, b = n.segmentCodec === "aac" ? Wu : kg, S = b * y, E = this._initPTS, A = n.segmentCodec === "mp3" && this.typeSupported.mpeg, x = [], w = h !== void 0, O = n.samples, M = A ? 0 : 8, D = this.nextAudioPts || -1, G = s * v, q = E.baseTime * v / E.timescale;
7781
- if (this.isAudioContiguous = o = o || O.length && D > 0 && (f && Math.abs(G - D) < 9e3 || Math.abs(Cr(O[0].pts - q, G) - D) < 20 * S), O.forEach(function(cn) {
7782
- cn.pts = Cr(cn.pts - q, G);
7791
+ if (this.isAudioContiguous = o = o || O.length && D > 0 && (f && Math.abs(G - D) < 9e3 || Math.abs(wr(O[0].pts - q, G) - D) < 20 * S), O.forEach(function(cn) {
7792
+ cn.pts = wr(cn.pts - q, G);
7783
7793
  }), !o || D < 0) {
7784
7794
  if (O = O.filter(function(cn) {
7785
7795
  return cn.pts >= 0;
@@ -7795,7 +7805,7 @@ var nf = { exports: {} };
7795
7805
  else if (Ae >= fe * S && We < Tg && w) {
7796
7806
  var ct = Math.round(Ae / S);
7797
7807
  ne = Te - ct * S, ne < 0 && (ct--, ne += S), re === 0 && (this.nextAudioPts = D = ne), B.warn("[mp4-remuxer]: Injecting " + ct + " audio frame @ " + (ne / v).toFixed(3) + "s due to " + Math.round(1e3 * Ae / v) + " ms gap.");
7798
- for (var gt = 0; gt < ct; gt++) {
7808
+ for (var vt = 0; vt < ct; vt++) {
7799
7809
  var mt = Math.max(ne, 0), Lt = Vu.getSilentFrame(n.manifestCodec || n.codec, n.channelCount);
7800
7810
  Lt || (B.log("[mp4-remuxer]: Unable to get silent frame for given audio codec; duplicating last frame instead."), Lt = ke.unit.subarray()), O.splice(re, 0, {
7801
7811
  unit: Lt,
@@ -7805,14 +7815,14 @@ var nf = { exports: {} };
7805
7815
  }
7806
7816
  ke.pts = ne, ne += S;
7807
7817
  }
7808
- for (var _t = null, jt = null, Pt, gi = 0, Lr = O.length; Lr--; )
7809
- gi += O[Lr].unit.byteLength;
7818
+ for (var _t = null, jt = null, Pt, gi = 0, Cr = O.length; Cr--; )
7819
+ gi += O[Cr].unit.byteLength;
7810
7820
  for (var Jt = 0, Qi = O.length; Jt < Qi; Jt++) {
7811
- var Vi = O[Jt], Gr = Vi.unit, gr = Vi.pts;
7821
+ var Vi = O[Jt], Gr = Vi.unit, hr = Vi.pts;
7812
7822
  if (jt !== null) {
7813
7823
  var on = x[Jt - 1];
7814
- on.duration = Math.round((gr - jt) / y);
7815
- } else if (o && n.segmentCodec === "aac" && (gr = D), _t = gr, gi > 0) {
7824
+ on.duration = Math.round((hr - jt) / y);
7825
+ } else if (o && n.segmentCodec === "aac" && (hr = D), _t = hr, gi > 0) {
7816
7826
  gi += M;
7817
7827
  try {
7818
7828
  Pt = new Uint8Array(gi);
@@ -7835,18 +7845,18 @@ var nf = { exports: {} };
7835
7845
  return;
7836
7846
  Pt.set(Gr, M);
7837
7847
  var ln = Gr.byteLength;
7838
- M += ln, x.push(new zu(!0, b, ln, 0)), jt = gr;
7848
+ M += ln, x.push(new zu(!0, b, ln, 0)), jt = hr;
7839
7849
  }
7840
7850
  var An = x.length;
7841
7851
  if (An) {
7842
- var Xi = x[x.length - 1];
7843
- this.nextAudioPts = D = jt + y * Xi.duration;
7844
- var sr = A ? new Uint8Array(0) : Ui.moof(n.sequenceNumber++, _t / y, T({}, n, {
7852
+ var Zi = x[x.length - 1];
7853
+ this.nextAudioPts = D = jt + y * Zi.duration;
7854
+ var nr = A ? new Uint8Array(0) : Ui.moof(n.sequenceNumber++, _t / y, T({}, n, {
7845
7855
  samples: x
7846
7856
  }));
7847
7857
  n.samples = [];
7848
7858
  var un = _t / v, xn = D / v, Ks = "audio", ul = {
7849
- data1: sr,
7859
+ data1: nr,
7850
7860
  data2: Pt,
7851
7861
  startPTS: un,
7852
7862
  endPTS: xn,
@@ -7876,7 +7886,7 @@ var nf = { exports: {} };
7876
7886
  return n.samples = M, this.remuxAudio(n, s, o, !1);
7877
7887
  }, d;
7878
7888
  }();
7879
- function Cr(d, c) {
7889
+ function wr(d, c) {
7880
7890
  var u;
7881
7891
  if (c === null)
7882
7892
  return d;
@@ -7895,7 +7905,7 @@ var nf = { exports: {} };
7895
7905
  if (s) {
7896
7906
  for (var o = d.inputTimeScale, f = 0; f < s; f++) {
7897
7907
  var h = d.samples[f];
7898
- h.pts = Cr(h.pts - u.baseTime * 9e4 / u.timescale, c * o) / o, h.dts = Cr(h.dts - n.baseTime * 9e4 / n.timescale, c * o) / o;
7908
+ h.pts = wr(h.pts - u.baseTime * o / u.timescale, c * o) / o, h.dts = wr(h.dts - n.baseTime * o / n.timescale, c * o) / o;
7899
7909
  }
7900
7910
  var v = d.samples;
7901
7911
  return d.samples = [], {
@@ -7908,7 +7918,7 @@ var nf = { exports: {} };
7908
7918
  if (n) {
7909
7919
  for (var s = d.inputTimeScale, o = 0; o < n; o++) {
7910
7920
  var f = d.samples[o];
7911
- f.pts = Cr(f.pts - u.baseTime * 9e4 / u.timescale, c * s) / s;
7921
+ f.pts = wr(f.pts - u.baseTime * 9e4 / u.timescale, c * s) / s;
7912
7922
  }
7913
7923
  d.samples.sort(function(v, m) {
7914
7924
  return v.pts - m.pts;
@@ -8070,8 +8080,8 @@ var nf = { exports: {} };
8070
8080
  }), v.executeEnd = an(), rl(o);
8071
8081
  }
8072
8082
  (A || x || M || We) && this.resetInitSegment(re, D, G, fe, s), (A || M || We) && this.resetInitialTimestamp(q), E || this.resetContiguity();
8073
- var gt = this.transmux(m, ne, O, w, o), mt = this.currentTransmuxState;
8074
- return mt.contiguous = !0, mt.discontinuity = !1, mt.trackSwitch = !1, v.executeEnd = an(), gt;
8083
+ var vt = this.transmux(m, ne, O, w, o), mt = this.currentTransmuxState;
8084
+ return mt.contiguous = !0, mt.discontinuity = !1, mt.trackSwitch = !1, v.executeEnd = an(), vt;
8075
8085
  }, c.flush = function(n) {
8076
8086
  var s = this, o = n.transmuxing;
8077
8087
  o.executeStart = an();
@@ -8484,12 +8494,12 @@ var nf = { exports: {} };
8484
8494
  state: We
8485
8495
  }, n instanceof ArrayBuffer ? [n] : []);
8486
8496
  else if (w) {
8487
- var gt = w.push(n, M, b, We);
8488
- Hn(gt) ? (w.async = !0, gt.then(function(mt) {
8497
+ var vt = w.push(n, M, b, We);
8498
+ Hn(vt) ? (w.async = !0, vt.then(function(mt) {
8489
8499
  x.handleTransmuxComplete(mt);
8490
8500
  }).catch(function(mt) {
8491
8501
  x.transmuxerError(mt, b, "transmuxer-interface push error");
8492
- })) : (w.async = !1, this.handleTransmuxComplete(gt));
8502
+ })) : (w.async = !1, this.handleTransmuxComplete(vt));
8493
8503
  }
8494
8504
  }, c.flush = function(n) {
8495
8505
  var s = this;
@@ -9087,13 +9097,13 @@ var nf = { exports: {} };
9087
9097
  return;
9088
9098
  }
9089
9099
  if (D) {
9090
- var gt = D.startPTS, mt = D.endPTS, Lt = D.startDTS, _t = D.endDTS;
9100
+ var vt = D.startPTS, mt = D.endPTS, Lt = D.startDTS, _t = D.endDTS;
9091
9101
  S && (S.elementaryStreams[Ee.AUDIO] = {
9092
- startPTS: gt,
9102
+ startPTS: vt,
9093
9103
  endPTS: mt,
9094
9104
  startDTS: Lt,
9095
9105
  endDTS: _t
9096
- }), b.setElementaryStreamInfo(Ee.AUDIO, gt, mt, Lt, _t), this.bufferFragmentData(D, b, S, m);
9106
+ }), b.setElementaryStreamInfo(Ee.AUDIO, vt, mt, Lt, _t), this.bufferFragmentData(D, b, S, m);
9097
9107
  }
9098
9108
  if (M && w != null && (o = w.samples) != null && o.length) {
9099
9109
  var jt = {
@@ -9954,7 +9964,7 @@ var nf = { exports: {} };
9954
9964
  }, d;
9955
9965
  }(), Zg = /^age:\s*[\d.]+\s*$/im, Ju = /* @__PURE__ */ function() {
9956
9966
  function d(u) {
9957
- this.xhrSetup = void 0, this.requestTimeout = void 0, this.retryTimeout = void 0, this.retryDelay = void 0, this.config = null, this.callbacks = null, this.context = void 0, this.loader = null, this.stats = void 0, this.xhrSetup = u && u.xhrSetup || null, this.stats = new dt(), this.retryDelay = 0;
9967
+ this.xhrSetup = void 0, this.requestTimeout = void 0, this.retryTimeout = void 0, this.retryDelay = void 0, this.config = null, this.callbacks = null, this.context = void 0, this.loader = null, this.stats = void 0, this.xhrSetup = u && u.xhrSetup || null, this.stats = new ft(), this.retryDelay = 0;
9958
9968
  }
9959
9969
  var c = d.prototype;
9960
9970
  return c.destroy = function() {
@@ -10089,7 +10099,7 @@ var nf = { exports: {} };
10089
10099
  }
10090
10100
  var e0 = /(\d+)-(\d+)\/(\d+)/, Qu = /* @__PURE__ */ function() {
10091
10101
  function d(u) {
10092
- this.fetchSetup = void 0, this.requestTimeout = void 0, this.request = void 0, this.response = void 0, this.controller = void 0, this.context = void 0, this.config = null, this.callbacks = null, this.stats = void 0, this.loader = null, this.fetchSetup = u.fetchSetup || n0, this.controller = new self.AbortController(), this.stats = new dt();
10102
+ this.fetchSetup = void 0, this.requestTimeout = void 0, this.request = void 0, this.response = void 0, this.controller = void 0, this.context = void 0, this.config = null, this.callbacks = null, this.stats = void 0, this.loader = null, this.fetchSetup = u.fetchSetup || n0, this.controller = new self.AbortController(), this.stats = new ft();
10093
10103
  }
10094
10104
  var c = d.prototype;
10095
10105
  return c.destroy = function() {
@@ -10524,7 +10534,7 @@ var nf = { exports: {} };
10524
10534
  var ne = n.audioStreamController;
10525
10535
  ne && fe.push(new ne(this, D, G)), this.subtitleTrackController = this.createController(n.subtitleTrackController, fe);
10526
10536
  var ke = n.subtitleStreamController;
10527
- ke && fe.push(new ke(this, D, G)), this.createController(n.timelineController, re), G.emeController = this.emeController = this.createController(n.emeController, re), this.cmcdController = this.createController(n.cmcdController, re), this.latencyController = this.createController(fr, re), this.coreComponents = re, fe.push(m);
10537
+ ke && fe.push(new ke(this, D, G)), this.createController(n.timelineController, re), G.emeController = this.emeController = this.createController(n.emeController, re), this.cmcdController = this.createController(n.cmcdController, re), this.latencyController = this.createController(dr, re), this.coreComponents = re, fe.push(m);
10528
10538
  var Te = m.onErrorOut;
10529
10539
  typeof Te == "function" && this.on(L.ERROR, Te, m);
10530
10540
  }
@@ -10937,7 +10947,7 @@ var nf = { exports: {} };
10937
10947
  * Get the video-dev/hls.js package version.
10938
10948
  */
10939
10949
  function() {
10940
- return "1.4.3";
10950
+ return "1.4.4";
10941
10951
  }
10942
10952
  )
10943
10953
  }, {
@@ -14079,7 +14089,7 @@ function Ly(t, e, i) {
14079
14089
  description: "The media's current time was updated.",
14080
14090
  initiatedBy: "media"
14081
14091
  }));
14082
- }, dt = () => {
14092
+ }, ft = () => {
14083
14093
  we(rt({
14084
14094
  type: "CurrentSegmentUpdated",
14085
14095
  description: "The media's current segment was updated.",
@@ -14103,14 +14113,14 @@ function Ly(t, e, i) {
14103
14113
  mediaUrl: g[0].url,
14104
14114
  errorMessage: "The video tag contains sources but none are playable."
14105
14115
  }));
14106
- }, Ye = (Se, ht) => {
14107
- ht.fatal && (Oe == null || Oe.destroy(), i(31, Oe = null), we(rt({
14116
+ }, Ye = (Se, gt) => {
14117
+ gt.fatal && (Oe == null || Oe.destroy(), i(31, Oe = null), we(rt({
14108
14118
  type: "PlaybackErrored",
14109
14119
  description: "The media failed to play.",
14110
14120
  initiatedBy: "media",
14111
14121
  mediaType: "HLS",
14112
14122
  mediaUrl: g[0].url,
14113
- errorMessage: `${ht.type} ${ht.details}`
14123
+ errorMessage: `${gt.type} ${gt.details}`
14114
14124
  })));
14115
14125
  }, wt = () => {
14116
14126
  we(rt({
@@ -14120,9 +14130,9 @@ function Ly(t, e, i) {
14120
14130
  }));
14121
14131
  };
14122
14132
  $l(() => {
14123
- const Se = addEventListener("fullscreenchange", wt), ht = addEventListener("webkitfullscreenchange", wt);
14133
+ const Se = addEventListener("fullscreenchange", wt), gt = addEventListener("webkitfullscreenchange", wt);
14124
14134
  return () => {
14125
- removeEventListener("fullscreenchange", Se), removeEventListener("fullscreenchange", ht);
14135
+ removeEventListener("fullscreenchange", Se), removeEventListener("fullscreenchange", gt);
14126
14136
  };
14127
14137
  });
14128
14138
  function Tt(Se) {
@@ -14174,7 +14184,7 @@ function Ly(t, e, i) {
14174
14184
  3 && i(34, F = he === "stopped" && le === 0), t.$$.dirty[0] & /*introOrOutro, activeAdvert, currentTime*/
14175
14185
  402653186 | t.$$.dirty[1] & /*atTheStart, segments*/
14176
14186
  12 && i(32, U = H || oe || F ? -1 : ru(a, le)), t.$$.dirty[1] & /*segmentIndex*/
14177
- 2 && dt(), t.$$.dirty[0] & /*videoBehindWidget*/
14187
+ 2 && ft(), t.$$.dirty[0] & /*videoBehindWidget*/
14178
14188
  32 && L && Ke();
14179
14189
  }, [
14180
14190
  he,
@@ -14733,7 +14743,7 @@ function $y(t) {
14733
14743
  },
14734
14744
  p(p, [_]) {
14735
14745
  _ & /*speed*/
14736
- 1 && _r(
14746
+ 1 && pr(
14737
14747
  r,
14738
14748
  /*speed*/
14739
14749
  p[0]
@@ -14857,7 +14867,7 @@ function n1(t) {
14857
14867
  /*color*/
14858
14868
  p[1]
14859
14869
  ), _ & /*seconds*/
14860
- 4 && _r(
14870
+ 4 && pr(
14861
14871
  a,
14862
14872
  /*seconds*/
14863
14873
  p[2]
@@ -14969,46 +14979,46 @@ class d1 extends it {
14969
14979
  this.$$set({ color: e }), P();
14970
14980
  }
14971
14981
  }
14972
- const vr = (t, e, i) => nt(t, e, e === "style" ? h1(i) : i), f1 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, h1 = (t) => t.split(f1).map((e) => e + " !important").join(";");
14982
+ const gr = (t, e, i) => nt(t, e, e === "style" ? h1(i) : i), f1 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, h1 = (t) => t.split(f1).map((e) => e + " !important").join(";");
14973
14983
  function g1(t) {
14974
14984
  let e, i, r, a, l;
14975
14985
  return {
14976
14986
  c() {
14977
- e = $e("svg"), i = $e("path"), r = $e("path"), vr(
14987
+ e = $e("svg"), i = $e("path"), r = $e("path"), gr(
14978
14988
  i,
14979
14989
  "fill",
14980
14990
  /*color*/
14981
14991
  t[1]
14982
- ), vr(i, "d", "M0 1C0 0.447716 0.447715 0 1 0C1.55228 0 2 0.447715 2 1V13C2 13.5523 1.55228 14 1 14C0.447715 14 0 13.5523 0 13V1Z"), vr(
14992
+ ), gr(i, "d", "M0 1C0 0.447716 0.447715 0 1 0C1.55228 0 2 0.447715 2 1V13C2 13.5523 1.55228 14 1 14C0.447715 14 0 13.5523 0 13V1Z"), gr(
14983
14993
  r,
14984
14994
  "fill",
14985
14995
  /*color*/
14986
14996
  t[1]
14987
- ), vr(r, "d", "M7.25 8.29904C6.25 7.72169 6.25 6.27831 7.25 5.70096L14.75 1.37083C15.75 0.793484 17 1.51517 17 2.66987V11.3301C17 12.4848 15.75 13.2065 14.75 12.6292L7.25 8.29904Z"), vr(e, "width", a = 40 * /*scale*/
14988
- t[0]), vr(e, "height", l = 40 * /*scale*/
14989
- t[0]), vr(e, "viewBox", "-10 -10 37 34"), vr(e, "fill", "none"), vr(e, "xmlns", "http://www.w3.org/2000/svg");
14997
+ ), gr(r, "d", "M7.25 8.29904C6.25 7.72169 6.25 6.27831 7.25 5.70096L14.75 1.37083C15.75 0.793484 17 1.51517 17 2.66987V11.3301C17 12.4848 15.75 13.2065 14.75 12.6292L7.25 8.29904Z"), gr(e, "width", a = 40 * /*scale*/
14998
+ t[0]), gr(e, "height", l = 40 * /*scale*/
14999
+ t[0]), gr(e, "viewBox", "-10 -10 37 34"), gr(e, "fill", "none"), gr(e, "xmlns", "http://www.w3.org/2000/svg");
14990
15000
  },
14991
15001
  m(g, p) {
14992
15002
  ie(g, e, p), I(e, i), I(e, r);
14993
15003
  },
14994
15004
  p(g, [p]) {
14995
15005
  p & /*color*/
14996
- 2 && vr(
15006
+ 2 && gr(
14997
15007
  i,
14998
15008
  "fill",
14999
15009
  /*color*/
15000
15010
  g[1]
15001
15011
  ), p & /*color*/
15002
- 2 && vr(
15012
+ 2 && gr(
15003
15013
  r,
15004
15014
  "fill",
15005
15015
  /*color*/
15006
15016
  g[1]
15007
15017
  ), p & /*scale*/
15008
15018
  1 && a !== (a = 40 * /*scale*/
15009
- g[0]) && vr(e, "width", a), p & /*scale*/
15019
+ g[0]) && gr(e, "width", a), p & /*scale*/
15010
15020
  1 && l !== (l = 40 * /*scale*/
15011
- g[0]) && vr(e, "height", l);
15021
+ g[0]) && gr(e, "height", l);
15012
15022
  },
15013
15023
  i: Ce,
15014
15024
  o: Ce,
@@ -15318,7 +15328,7 @@ function P1(t) {
15318
15328
  /*color*/
15319
15329
  p[1]
15320
15330
  ), _ & /*seconds*/
15321
- 4 && _r(
15331
+ 4 && pr(
15322
15332
  a,
15323
15333
  /*seconds*/
15324
15334
  p[2]
@@ -15430,46 +15440,46 @@ class O1 extends it {
15430
15440
  this.$$set({ color: e }), P();
15431
15441
  }
15432
15442
  }
15433
- const mr = (t, e, i) => nt(t, e, e === "style" ? M1(i) : i), B1 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, M1 = (t) => t.split(B1).map((e) => e + " !important").join(";");
15443
+ const vr = (t, e, i) => nt(t, e, e === "style" ? M1(i) : i), B1 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, M1 = (t) => t.split(B1).map((e) => e + " !important").join(";");
15434
15444
  function N1(t) {
15435
15445
  let e, i, r, a, l;
15436
15446
  return {
15437
15447
  c() {
15438
- e = $e("svg"), i = $e("path"), r = $e("path"), mr(
15448
+ e = $e("svg"), i = $e("path"), r = $e("path"), vr(
15439
15449
  i,
15440
15450
  "fill",
15441
15451
  /*color*/
15442
15452
  t[1]
15443
- ), mr(i, "d", "M17 13C17 13.5523 16.5523 14 16 14C15.4477 14 15 13.5523 15 13V1C15 0.447716 15.4477 0 16 0C16.5523 0 17 0.447715 17 1V13Z"), mr(
15453
+ ), vr(i, "d", "M17 13C17 13.5523 16.5523 14 16 14C15.4477 14 15 13.5523 15 13V1C15 0.447716 15.4477 0 16 0C16.5523 0 17 0.447715 17 1V13Z"), vr(
15444
15454
  r,
15445
15455
  "fill",
15446
15456
  /*color*/
15447
15457
  t[1]
15448
- ), mr(r, "d", "M9.75 5.70096C10.75 6.27831 10.75 7.72169 9.75 8.29904L2.25 12.6292C1.25 13.2065 0 12.4848 0 11.3301V2.66987C0 1.51517 1.25 0.793485 2.25 1.37083L9.75 5.70096Z"), mr(e, "width", a = 40 * /*scale*/
15449
- t[0]), mr(e, "height", l = 40 * /*scale*/
15450
- t[0]), mr(e, "viewBox", "-10 -10 37 34"), mr(e, "fill", "none"), mr(e, "xmlns", "http://www.w3.org/2000/svg");
15458
+ ), vr(r, "d", "M9.75 5.70096C10.75 6.27831 10.75 7.72169 9.75 8.29904L2.25 12.6292C1.25 13.2065 0 12.4848 0 11.3301V2.66987C0 1.51517 1.25 0.793485 2.25 1.37083L9.75 5.70096Z"), vr(e, "width", a = 40 * /*scale*/
15459
+ t[0]), vr(e, "height", l = 40 * /*scale*/
15460
+ t[0]), vr(e, "viewBox", "-10 -10 37 34"), vr(e, "fill", "none"), vr(e, "xmlns", "http://www.w3.org/2000/svg");
15451
15461
  },
15452
15462
  m(g, p) {
15453
15463
  ie(g, e, p), I(e, i), I(e, r);
15454
15464
  },
15455
15465
  p(g, [p]) {
15456
15466
  p & /*color*/
15457
- 2 && mr(
15467
+ 2 && vr(
15458
15468
  i,
15459
15469
  "fill",
15460
15470
  /*color*/
15461
15471
  g[1]
15462
15472
  ), p & /*color*/
15463
- 2 && mr(
15473
+ 2 && vr(
15464
15474
  r,
15465
15475
  "fill",
15466
15476
  /*color*/
15467
15477
  g[1]
15468
15478
  ), p & /*scale*/
15469
15479
  1 && a !== (a = 40 * /*scale*/
15470
- g[0]) && mr(e, "width", a), p & /*scale*/
15480
+ g[0]) && vr(e, "width", a), p & /*scale*/
15471
15481
  1 && l !== (l = 40 * /*scale*/
15472
- g[0]) && mr(e, "height", l);
15482
+ g[0]) && vr(e, "height", l);
15473
15483
  },
15474
15484
  i: Ce,
15475
15485
  o: Ce,
@@ -15747,46 +15757,46 @@ class Y1 extends it {
15747
15757
  this.$$set({ onEvent: e }), P();
15748
15758
  }
15749
15759
  }
15750
- const ar = (t, e, i) => nt(t, e, e === "style" ? X1(i) : i), q1 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, X1 = (t) => t.split(q1).map((e) => e + " !important").join(";");
15760
+ const sr = (t, e, i) => nt(t, e, e === "style" ? X1(i) : i), q1 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, X1 = (t) => t.split(q1).map((e) => e + " !important").join(";");
15751
15761
  function Z1(t) {
15752
15762
  let e, i, r, a, l, g;
15753
15763
  return {
15754
15764
  c() {
15755
- e = $e("svg"), i = $e("path"), r = $e("g"), a = $e("path"), ar(
15765
+ e = $e("svg"), i = $e("path"), r = $e("g"), a = $e("path"), sr(
15756
15766
  i,
15757
15767
  "fill",
15758
15768
  /*color*/
15759
15769
  t[1]
15760
- ), ar(i, "d", "M1.33332 1.33333C1.14443 1.33333 0.986101 1.26944 0.858323 1.14167C0.730545 1.01389 0.666656 0.855556 0.666656 0.666667C0.666656 0.477778 0.730545 0.319444 0.858323 0.191667C0.986101 0.0638889 1.14443 0 1.33332 0H7.99999C8.18888 0 8.34721 0.0638889 8.47499 0.191667C8.60277 0.319444 8.66666 0.477778 8.66666 0.666667C8.66666 0.855556 8.60277 1.01389 8.47499 1.14167C8.34721 1.26944 8.18888 1.33333 7.99999 1.33333H1.33332ZM1.33332 4C1.14443 4 0.986101 3.93611 0.858323 3.80833C0.730545 3.68056 0.666656 3.52222 0.666656 3.33333C0.666656 3.14444 0.730545 2.98611 0.858323 2.85833C0.986101 2.73056 1.14443 2.66667 1.33332 2.66667H7.99999C8.18888 2.66667 8.34721 2.73056 8.47499 2.85833C8.60277 2.98611 8.66666 3.14444 8.66666 3.33333C8.66666 3.52222 8.60277 3.68056 8.47499 3.80833C8.34721 3.93611 8.18888 4 7.99999 4H1.33332ZM1.33332 6.66667C1.14443 6.66667 0.986101 6.60278 0.858323 6.475C0.730545 6.34722 0.666656 6.18889 0.666656 6C0.666656 5.81111 0.730545 5.65278 0.858323 5.525C0.986101 5.39722 1.14443 5.33333 1.33332 5.33333H5.33332C5.52221 5.33333 5.68055 5.39722 5.80832 5.525C5.9361 5.65278 5.99999 5.81111 5.99999 6C5.99999 6.18889 5.9361 6.34722 5.80832 6.475C5.68055 6.60278 5.52221 6.66667 5.33332 6.66667H1.33332Z"), ar(
15770
+ ), sr(i, "d", "M1.33332 1.33333C1.14443 1.33333 0.986101 1.26944 0.858323 1.14167C0.730545 1.01389 0.666656 0.855556 0.666656 0.666667C0.666656 0.477778 0.730545 0.319444 0.858323 0.191667C0.986101 0.0638889 1.14443 0 1.33332 0H7.99999C8.18888 0 8.34721 0.0638889 8.47499 0.191667C8.60277 0.319444 8.66666 0.477778 8.66666 0.666667C8.66666 0.855556 8.60277 1.01389 8.47499 1.14167C8.34721 1.26944 8.18888 1.33333 7.99999 1.33333H1.33332ZM1.33332 4C1.14443 4 0.986101 3.93611 0.858323 3.80833C0.730545 3.68056 0.666656 3.52222 0.666656 3.33333C0.666656 3.14444 0.730545 2.98611 0.858323 2.85833C0.986101 2.73056 1.14443 2.66667 1.33332 2.66667H7.99999C8.18888 2.66667 8.34721 2.73056 8.47499 2.85833C8.60277 2.98611 8.66666 3.14444 8.66666 3.33333C8.66666 3.52222 8.60277 3.68056 8.47499 3.80833C8.34721 3.93611 8.18888 4 7.99999 4H1.33332ZM1.33332 6.66667C1.14443 6.66667 0.986101 6.60278 0.858323 6.475C0.730545 6.34722 0.666656 6.18889 0.666656 6C0.666656 5.81111 0.730545 5.65278 0.858323 5.525C0.986101 5.39722 1.14443 5.33333 1.33332 5.33333H5.33332C5.52221 5.33333 5.68055 5.39722 5.80832 5.525C5.9361 5.65278 5.99999 5.81111 5.99999 6C5.99999 6.18889 5.9361 6.34722 5.80832 6.475C5.68055 6.60278 5.52221 6.66667 5.33332 6.66667H1.33332Z"), sr(
15761
15771
  a,
15762
15772
  "fill",
15763
15773
  /*color*/
15764
15774
  t[1]
15765
- ), ar(a, "d", "M10.3667 9.31667C10.1444 9.47222 9.91666 9.48333 9.68332 9.35C9.44999 9.21667 9.33332 9.01667 9.33332 8.75V5.91667C9.33332 5.65 9.44999 5.45 9.68332 5.31667C9.91666 5.18333 10.1444 5.19444 10.3667 5.35L12.5 6.78333C12.7 6.91667 12.8 7.1 12.8 7.33333C12.8 7.56667 12.7 7.75 12.5 7.88333L10.3667 9.31667Z"), ar(r, "transform", "scale(1.05) translate(-1.7 0)"), ar(e, "width", l = 20 * /*scale*/
15766
- t[0]), ar(e, "height", g = 20 * /*scale*/
15767
- t[0]), ar(e, "viewBox", "-0.6 -0.3 12 8"), ar(e, "fill", "none"), ar(e, "xmlns", "http://www.w3.org/2000/svg");
15775
+ ), sr(a, "d", "M10.3667 9.31667C10.1444 9.47222 9.91666 9.48333 9.68332 9.35C9.44999 9.21667 9.33332 9.01667 9.33332 8.75V5.91667C9.33332 5.65 9.44999 5.45 9.68332 5.31667C9.91666 5.18333 10.1444 5.19444 10.3667 5.35L12.5 6.78333C12.7 6.91667 12.8 7.1 12.8 7.33333C12.8 7.56667 12.7 7.75 12.5 7.88333L10.3667 9.31667Z"), sr(r, "transform", "scale(1.05) translate(-1.7 0)"), sr(e, "width", l = 20 * /*scale*/
15776
+ t[0]), sr(e, "height", g = 20 * /*scale*/
15777
+ t[0]), sr(e, "viewBox", "-0.6 -0.3 12 8"), sr(e, "fill", "none"), sr(e, "xmlns", "http://www.w3.org/2000/svg");
15768
15778
  },
15769
15779
  m(p, _) {
15770
15780
  ie(p, e, _), I(e, i), I(e, r), I(r, a);
15771
15781
  },
15772
15782
  p(p, [_]) {
15773
15783
  _ & /*color*/
15774
- 2 && ar(
15784
+ 2 && sr(
15775
15785
  i,
15776
15786
  "fill",
15777
15787
  /*color*/
15778
15788
  p[1]
15779
15789
  ), _ & /*color*/
15780
- 2 && ar(
15790
+ 2 && sr(
15781
15791
  a,
15782
15792
  "fill",
15783
15793
  /*color*/
15784
15794
  p[1]
15785
15795
  ), _ & /*scale*/
15786
15796
  1 && l !== (l = 20 * /*scale*/
15787
- p[0]) && ar(e, "width", l), _ & /*scale*/
15797
+ p[0]) && sr(e, "width", l), _ & /*scale*/
15788
15798
  1 && g !== (g = 20 * /*scale*/
15789
- p[0]) && ar(e, "height", g);
15799
+ p[0]) && sr(e, "height", g);
15790
15800
  },
15791
15801
  i: Ce,
15792
15802
  o: Ce,
@@ -15818,46 +15828,46 @@ class Q1 extends it {
15818
15828
  this.$$set({ color: e }), P();
15819
15829
  }
15820
15830
  }
15821
- const or = (t, e, i) => nt(t, e, e === "style" ? eb(i) : i), $1 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, eb = (t) => t.split($1).map((e) => e + " !important").join(";");
15831
+ const ar = (t, e, i) => nt(t, e, e === "style" ? eb(i) : i), $1 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, eb = (t) => t.split($1).map((e) => e + " !important").join(";");
15822
15832
  function tb(t) {
15823
15833
  let e, i, r, a, l, g;
15824
15834
  return {
15825
15835
  c() {
15826
- e = $e("svg"), i = $e("path"), r = $e("g"), a = $e("path"), or(
15836
+ e = $e("svg"), i = $e("path"), r = $e("g"), a = $e("path"), ar(
15827
15837
  i,
15828
15838
  "fill",
15829
15839
  /*color*/
15830
15840
  t[1]
15831
- ), or(i, "d", "M1.33332 1.33333C1.14443 1.33333 0.986101 1.26944 0.858323 1.14167C0.730545 1.01389 0.666656 0.855556 0.666656 0.666667C0.666656 0.477778 0.730545 0.319444 0.858323 0.191667C0.986101 0.0638889 1.14443 0 1.33332 0H7.99999C8.18888 0 8.34721 0.0638889 8.47499 0.191667C8.60277 0.319444 8.66666 0.477778 8.66666 0.666667C8.66666 0.855556 8.60277 1.01389 8.47499 1.14167C8.34721 1.26944 8.18888 1.33333 7.99999 1.33333H1.33332ZM1.33332 4C1.14443 4 0.986101 3.93611 0.858323 3.80833C0.730545 3.68056 0.666656 3.52222 0.666656 3.33333C0.666656 3.14444 0.730545 2.98611 0.858323 2.85833C0.986101 2.73056 1.14443 2.66667 1.33332 2.66667H7.99999C8.18888 2.66667 8.34721 2.73056 8.47499 2.85833C8.60277 2.98611 8.66666 3.14444 8.66666 3.33333C8.66666 3.52222 8.60277 3.68056 8.47499 3.80833C8.34721 3.93611 8.18888 4 7.99999 4H1.33332ZM1.33332 6.66667C1.14443 6.66667 0.986101 6.60278 0.858323 6.475C0.730545 6.34722 0.666656 6.18889 0.666656 6C0.666656 5.81111 0.730545 5.65278 0.858323 5.525C0.986101 5.39722 1.14443 5.33333 1.33332 5.33333H5.33332C5.52221 5.33333 5.68055 5.39722 5.80832 5.525C5.9361 5.65278 5.99999 5.81111 5.99999 6C5.99999 6.18889 5.9361 6.34722 5.80832 6.475C5.68055 6.60278 5.52221 6.66667 5.33332 6.66667H1.33332Z"), or(
15841
+ ), ar(i, "d", "M1.33332 1.33333C1.14443 1.33333 0.986101 1.26944 0.858323 1.14167C0.730545 1.01389 0.666656 0.855556 0.666656 0.666667C0.666656 0.477778 0.730545 0.319444 0.858323 0.191667C0.986101 0.0638889 1.14443 0 1.33332 0H7.99999C8.18888 0 8.34721 0.0638889 8.47499 0.191667C8.60277 0.319444 8.66666 0.477778 8.66666 0.666667C8.66666 0.855556 8.60277 1.01389 8.47499 1.14167C8.34721 1.26944 8.18888 1.33333 7.99999 1.33333H1.33332ZM1.33332 4C1.14443 4 0.986101 3.93611 0.858323 3.80833C0.730545 3.68056 0.666656 3.52222 0.666656 3.33333C0.666656 3.14444 0.730545 2.98611 0.858323 2.85833C0.986101 2.73056 1.14443 2.66667 1.33332 2.66667H7.99999C8.18888 2.66667 8.34721 2.73056 8.47499 2.85833C8.60277 2.98611 8.66666 3.14444 8.66666 3.33333C8.66666 3.52222 8.60277 3.68056 8.47499 3.80833C8.34721 3.93611 8.18888 4 7.99999 4H1.33332ZM1.33332 6.66667C1.14443 6.66667 0.986101 6.60278 0.858323 6.475C0.730545 6.34722 0.666656 6.18889 0.666656 6C0.666656 5.81111 0.730545 5.65278 0.858323 5.525C0.986101 5.39722 1.14443 5.33333 1.33332 5.33333H5.33332C5.52221 5.33333 5.68055 5.39722 5.80832 5.525C5.9361 5.65278 5.99999 5.81111 5.99999 6C5.99999 6.18889 5.9361 6.34722 5.80832 6.475C5.68055 6.60278 5.52221 6.66667 5.33332 6.66667H1.33332Z"), ar(
15832
15842
  a,
15833
15843
  "fill",
15834
15844
  /*color*/
15835
15845
  t[1]
15836
- ), or(a, "d", "M7.13333 10.2C7.01111 10.0778 6.95 9.92222 6.95 9.73333C6.95 9.54444 7.01111 9.38889 7.13333 9.26667L8.4 8L7.13333 6.73333C7.01111 6.61111 6.95 6.45555 6.95 6.26667C6.95 6.07778 7.01111 5.92222 7.13333 5.8C7.25556 5.67778 7.41111 5.61667 7.6 5.61667C7.78889 5.61667 7.94444 5.67778 8.06667 5.8L9.33333 7.06667L10.6 5.8C10.7222 5.67778 10.8778 5.61667 11.0667 5.61667C11.2556 5.61667 11.4111 5.67778 11.5333 5.8C11.6556 5.92222 11.7167 6.07778 11.7167 6.26667C11.7167 6.45555 11.6556 6.61111 11.5333 6.73333L10.2667 8L11.5333 9.26667C11.6556 9.38889 11.7167 9.54444 11.7167 9.73333C11.7167 9.92222 11.6556 10.0778 11.5333 10.2C11.4111 10.3222 11.2556 10.3833 11.0667 10.3833C10.8778 10.3833 10.7222 10.3222 10.6 10.2L9.33333 8.93333L8.06667 10.2C7.94444 10.3222 7.78889 10.3833 7.6 10.3833C7.41111 10.3833 7.25556 10.3222 7.13333 10.2Z"), or(r, "transform", "translate(0.3 0)"), or(e, "width", l = 20 * /*scale*/
15837
- t[0]), or(e, "height", g = 20 * /*scale*/
15838
- t[0]), or(e, "viewBox", "-0.6 -0.3 12 8"), or(e, "fill", "none"), or(e, "xmlns", "http://www.w3.org/2000/svg");
15846
+ ), ar(a, "d", "M7.13333 10.2C7.01111 10.0778 6.95 9.92222 6.95 9.73333C6.95 9.54444 7.01111 9.38889 7.13333 9.26667L8.4 8L7.13333 6.73333C7.01111 6.61111 6.95 6.45555 6.95 6.26667C6.95 6.07778 7.01111 5.92222 7.13333 5.8C7.25556 5.67778 7.41111 5.61667 7.6 5.61667C7.78889 5.61667 7.94444 5.67778 8.06667 5.8L9.33333 7.06667L10.6 5.8C10.7222 5.67778 10.8778 5.61667 11.0667 5.61667C11.2556 5.61667 11.4111 5.67778 11.5333 5.8C11.6556 5.92222 11.7167 6.07778 11.7167 6.26667C11.7167 6.45555 11.6556 6.61111 11.5333 6.73333L10.2667 8L11.5333 9.26667C11.6556 9.38889 11.7167 9.54444 11.7167 9.73333C11.7167 9.92222 11.6556 10.0778 11.5333 10.2C11.4111 10.3222 11.2556 10.3833 11.0667 10.3833C10.8778 10.3833 10.7222 10.3222 10.6 10.2L9.33333 8.93333L8.06667 10.2C7.94444 10.3222 7.78889 10.3833 7.6 10.3833C7.41111 10.3833 7.25556 10.3222 7.13333 10.2Z"), ar(r, "transform", "translate(0.3 0)"), ar(e, "width", l = 20 * /*scale*/
15847
+ t[0]), ar(e, "height", g = 20 * /*scale*/
15848
+ t[0]), ar(e, "viewBox", "-0.6 -0.3 12 8"), ar(e, "fill", "none"), ar(e, "xmlns", "http://www.w3.org/2000/svg");
15839
15849
  },
15840
15850
  m(p, _) {
15841
15851
  ie(p, e, _), I(e, i), I(e, r), I(r, a);
15842
15852
  },
15843
15853
  p(p, [_]) {
15844
15854
  _ & /*color*/
15845
- 2 && or(
15855
+ 2 && ar(
15846
15856
  i,
15847
15857
  "fill",
15848
15858
  /*color*/
15849
15859
  p[1]
15850
15860
  ), _ & /*color*/
15851
- 2 && or(
15861
+ 2 && ar(
15852
15862
  a,
15853
15863
  "fill",
15854
15864
  /*color*/
15855
15865
  p[1]
15856
15866
  ), _ & /*scale*/
15857
15867
  1 && l !== (l = 20 * /*scale*/
15858
- p[0]) && or(e, "width", l), _ & /*scale*/
15868
+ p[0]) && ar(e, "width", l), _ & /*scale*/
15859
15869
  1 && g !== (g = 20 * /*scale*/
15860
- p[0]) && or(e, "height", g);
15870
+ p[0]) && ar(e, "height", g);
15861
15871
  },
15862
15872
  i: Ce,
15863
15873
  o: Ce,
@@ -16703,7 +16713,7 @@ function qb(t) {
16703
16713
  p(p, [_]) {
16704
16714
  _ & /*text*/
16705
16715
  64 && i !== (i = /*text*/
16706
- (p[6] || "") + "") && _r(r, i), _ & /*playerStyle, controlsOrder*/
16716
+ (p[6] || "") + "") && pr(r, i), _ & /*playerStyle, controlsOrder*/
16707
16717
  6 && a !== (a = "advert-link " + /*playerStyle*/
16708
16718
  p[1] + " " + /*controlsOrder*/
16709
16719
  p[2] + " svelte-1iiylz1") && Kn(e, "class", a), _ & /*href*/
@@ -18342,7 +18352,7 @@ function $S(t) {
18342
18352
  },
18343
18353
  p(g, [p]) {
18344
18354
  p & /*text*/
18345
- 1 && _r(
18355
+ 1 && pr(
18346
18356
  i,
18347
18357
  /*text*/
18348
18358
  g[0]
@@ -18350,7 +18360,7 @@ function $S(t) {
18350
18360
  2 && a !== (a = Ts(
18351
18361
  /*remaining*/
18352
18362
  g[1]
18353
- ) + "") && _r(l, a), p & /*scale*/
18363
+ ) + "") && pr(l, a), p & /*scale*/
18354
18364
  4 && Ka(e, "font-size", 10 * /*scale*/
18355
18365
  g[2] + "px"), p & /*color*/
18356
18366
  8 && Ka(
@@ -18433,7 +18443,7 @@ function sT(t) {
18433
18443
  },
18434
18444
  p(a, [l]) {
18435
18445
  l & /*minutes*/
18436
- 8 && _r(
18446
+ 8 && pr(
18437
18447
  i,
18438
18448
  /*minutes*/
18439
18449
  a[3]
@@ -18525,11 +18535,11 @@ function cT(t) {
18525
18535
  1 && i !== (i = Ts(
18526
18536
  /*currentTime*/
18527
18537
  p[0]
18528
- ) + "") && _r(r, i), _ & /*duration*/
18538
+ ) + "") && pr(r, i), _ & /*duration*/
18529
18539
  2 && l !== (l = Ts(
18530
18540
  /*duration*/
18531
18541
  p[1]
18532
- ) + "") && _r(g, l), _ & /*scale*/
18542
+ ) + "") && pr(g, l), _ & /*scale*/
18533
18543
  4 && qa(e, "font-size", 10 * /*scale*/
18534
18544
  p[2] + "px"), _ & /*color*/
18535
18545
  8 && qa(
@@ -19201,7 +19211,7 @@ class BT extends it {
19201
19211
  this.$$set({ onEvent: e }), P();
19202
19212
  }
19203
19213
  }
19204
- const In = (t, e, i) => Ri(t, e, i, 1), pr = (t, e, i) => nt(t, e, e === "style" ? NT(i) : i), MT = /;(?!([^()]*\([^()]*\))*[^()]*\))/, NT = (t) => t.split(MT).map((e) => e + " !important").join(";");
19214
+ const In = (t, e, i) => Ri(t, e, i, 1), mr = (t, e, i) => nt(t, e, e === "style" ? NT(i) : i), MT = /;(?!([^()]*\([^()]*\))*[^()]*\))/, NT = (t) => t.split(MT).map((e) => e + " !important").join(";");
19205
19215
  function Lc(t, e, i) {
19206
19216
  const r = t.slice();
19207
19217
  r[18] = e[i].title, r[19] = e[i].duration, r[20] = e[i].media, r[23] = i;
@@ -19221,12 +19231,12 @@ function FT(t) {
19221
19231
  ), r;
19222
19232
  return {
19223
19233
  c() {
19224
- e = N("span"), r = Re(i), pr(e, "class", "number svelte-1d5um2m"), In(
19234
+ e = N("span"), r = Re(i), mr(e, "class", "number svelte-1d5um2m"), In(
19225
19235
  e,
19226
19236
  "color",
19227
19237
  /*textColor*/
19228
19238
  t[1]
19229
- ), pr(e, "aria-hidden", "true");
19239
+ ), mr(e, "aria-hidden", "true");
19230
19240
  },
19231
19241
  m(a, l) {
19232
19242
  ie(a, e, l), I(e, r);
@@ -19262,7 +19272,7 @@ function UT(t) {
19262
19272
  }
19263
19273
  }), {
19264
19274
  c() {
19265
- e = N("span"), He(i.$$.fragment), pr(e, "class", "speaker svelte-1d5um2m");
19275
+ e = N("span"), He(i.$$.fragment), mr(e, "class", "speaker svelte-1d5um2m");
19266
19276
  },
19267
19277
  m(a, l) {
19268
19278
  ie(a, e, l), je(i, e, null), r = !0;
@@ -19396,7 +19406,7 @@ function Rc(t) {
19396
19406
  }
19397
19407
  }), {
19398
19408
  c() {
19399
- e = N("button"), r.c(), a = Pe(), l = N("span"), He(g.$$.fragment), p = Pe(), _ = N("span"), ge && ge.c(), T = Pe(), k = N("span"), He(C.$$.fragment), F = Pe(), pr(l, "class", "title svelte-1d5um2m"), pr(_, "class", "download svelte-1d5um2m"), pr(k, "class", "duration svelte-1d5um2m"), pr(e, "type", "button"), pr(e, "class", "item svelte-1d5um2m"), pr(e, "aria-label", U = /*title*/
19409
+ e = N("button"), r.c(), a = Pe(), l = N("span"), He(g.$$.fragment), p = Pe(), _ = N("span"), ge && ge.c(), T = Pe(), k = N("span"), He(C.$$.fragment), F = Pe(), mr(l, "class", "title svelte-1d5um2m"), mr(_, "class", "download svelte-1d5um2m"), mr(k, "class", "duration svelte-1d5um2m"), mr(e, "type", "button"), mr(e, "class", "item svelte-1d5um2m"), mr(e, "aria-label", U = /*title*/
19400
19410
  t[18]), qe(
19401
19411
  e,
19402
19412
  "active",
@@ -19466,7 +19476,7 @@ function Rc(t) {
19466
19476
  2 && (ae.color = /*textColor*/
19467
19477
  t[1]), C.$set(ae), (!V || be & /*content*/
19468
19478
  16 && U !== (U = /*title*/
19469
- t[18])) && pr(e, "aria-label", U), (!V || be & /*index*/
19479
+ t[18])) && mr(e, "aria-label", U), (!V || be & /*index*/
19470
19480
  32) && qe(
19471
19481
  e,
19472
19482
  "active",
@@ -19501,7 +19511,7 @@ function VT(t) {
19501
19511
  e = N("div"), i = N("div");
19502
19512
  for (let p = 0; p < l.length; p += 1)
19503
19513
  l[p].c();
19504
- pr(i, "class", "scrollable svelte-1d5um2m"), pr(i, "tabindex", "-1"), pr(e, "class", "playlist svelte-1d5um2m"), In(
19514
+ mr(i, "class", "scrollable svelte-1d5um2m"), mr(i, "tabindex", "-1"), mr(e, "class", "playlist svelte-1d5um2m"), In(
19505
19515
  e,
19506
19516
  "--desktop-rows",
19507
19517
  /*desktopRows*/
@@ -21556,21 +21566,21 @@ function pk(t) {
21556
21566
  33554432 && X(W, 1)) : (W = Fc(te), W.c(), X(W, 1), W.m(i, l)) : W && (At(), se(W, 1, 1, () => {
21557
21567
  W = null;
21558
21568
  }), xt());
21559
- const dt = {};
21569
+ const ft = {};
21560
21570
  ve[0] & /*onEvent*/
21561
- 32768 && (dt.onEvent = /*onEvent*/
21571
+ 32768 && (ft.onEvent = /*onEvent*/
21562
21572
  te[15]), ve[0] & /*fixedPosition*/
21563
- 256 && (dt.enabled = !/*fixedPosition*/
21573
+ 256 && (ft.enabled = !/*fixedPosition*/
21564
21574
  te[8]), ve[0] & /*onEvent, isScreen, isSmall*/
21565
21575
  21004288 | ve[1] & /*progress, playPauseScale, activeIconColor, isPlaying, buttonColor*/
21566
21576
  21757954 | ve[2] & /*$$scope*/
21567
- 32768 && (dt.$$scope = { dirty: ve, ctx: te }), !_ && ve[0] & /*isVisible*/
21568
- 1 && (_ = !0, dt.isVisible = /*isVisible*/
21577
+ 32768 && (ft.$$scope = { dirty: ve, ctx: te }), !_ && ve[0] & /*isVisible*/
21578
+ 1 && (_ = !0, ft.isVisible = /*isVisible*/
21569
21579
  te[0], Je(() => _ = !1)), !T && ve[0] & /*relativeY*/
21570
- 2 && (T = !0, dt.relativeY = /*relativeY*/
21580
+ 2 && (T = !0, ft.relativeY = /*relativeY*/
21571
21581
  te[1], Je(() => T = !1)), !k && ve[0] & /*absoluteY*/
21572
- 4 && (k = !0, dt.absoluteY = /*absoluteY*/
21573
- te[2], Je(() => k = !1)), p.$set(dt), /*isStandard*/
21582
+ 4 && (k = !0, ft.absoluteY = /*absoluteY*/
21583
+ te[2], Je(() => k = !1)), p.$set(ft), /*isStandard*/
21574
21584
  te[26] && /*isStopped*/
21575
21585
  te[27] || /*isSmall*/
21576
21586
  te[22] ? K ? (K.p(te, ve), ve[0] & /*isStandard, isStopped, isSmall*/
@@ -21797,7 +21807,7 @@ function _k(t) {
21797
21807
  };
21798
21808
  }
21799
21809
  function yk(t, e, i) {
21800
- let r, a, l, g, p, _, T, k, C, F, U, V, z, H, oe, ue, he, ge, le, be, $, L, ae, W, Xe, we, Ie, Oe, K, Z, B, Ke, Me, xe, Fe, te, ve, dt, Ee, Le, { playerStyle: Ye = "standard" } = e, { callToAction: wt = void 0 } = e, { skipButtonStyle: Tt = "auto" } = e, { playlistStyle: qt = "auto-5-4" } = e, { playlistToggle: yt = "auto" } = e, { downloadFormats: Ut = [] } = e, { playerTitle: Vt = void 0 } = e, { fixedPosition: lt = void 0 } = e, { fixedWidth: kt = "auto" } = e, { content: Se = [] } = e, { contentIndex: ht = 0 } = e, { duration: $t = 0 } = e, { currentTime: Gt = 0 } = e, { playbackState: Ot = "stopped" } = e, { playbackRate: bt = 1 } = e, { activeAdvert: st = void 0 } = e, { persistentAdvert: Bt = void 0 } = e, { textColor: si = "#111" } = e, { backgroundColor: ai = "#f5f5f5" } = e, { iconColor: It = "black" } = e, { logoIconEnabled: Rt = !0 } = e, { onEvent: Dt = () => {
21810
+ let r, a, l, g, p, _, T, k, C, F, U, V, z, H, oe, ue, he, ge, le, be, $, L, ae, W, Xe, we, Ie, Oe, K, Z, B, Ke, Me, xe, Fe, te, ve, ft, Ee, Le, { playerStyle: Ye = "standard" } = e, { callToAction: wt = void 0 } = e, { skipButtonStyle: Tt = "auto" } = e, { playlistStyle: qt = "auto-5-4" } = e, { playlistToggle: yt = "auto" } = e, { downloadFormats: Ut = [] } = e, { playerTitle: Vt = void 0 } = e, { fixedPosition: lt = void 0 } = e, { fixedWidth: kt = "auto" } = e, { content: Se = [] } = e, { contentIndex: gt = 0 } = e, { duration: $t = 0 } = e, { currentTime: Gt = 0 } = e, { playbackState: Ot = "stopped" } = e, { playbackRate: bt = 1 } = e, { activeAdvert: st = void 0 } = e, { persistentAdvert: Bt = void 0 } = e, { textColor: si = "#111" } = e, { backgroundColor: ai = "#f5f5f5" } = e, { iconColor: It = "black" } = e, { logoIconEnabled: Rt = !0 } = e, { onEvent: Dt = () => {
21801
21811
  } } = e, { videoIsBehind: Wt = !1 } = e, { isVisible: ei = void 0 } = e, { relativeY: Xt = void 0 } = e, { absoluteY: ti = void 0 } = e, ui, Ct, at;
21802
21812
  const ii = () => {
21803
21813
  at && clearTimeout(at), i(34, at = setTimeout(() => i(34, at = null), 500));
@@ -21824,7 +21834,7 @@ function yk(t, e, i) {
21824
21834
  ui = this.clientWidth, i(17, ui);
21825
21835
  }
21826
21836
  return t.$$set = (me) => {
21827
- "playerStyle" in me && i(3, Ye = me.playerStyle), "callToAction" in me && i(4, wt = me.callToAction), "skipButtonStyle" in me && i(59, Tt = me.skipButtonStyle), "playlistStyle" in me && i(5, qt = me.playlistStyle), "playlistToggle" in me && i(60, yt = me.playlistToggle), "downloadFormats" in me && i(6, Ut = me.downloadFormats), "playerTitle" in me && i(7, Vt = me.playerTitle), "fixedPosition" in me && i(8, lt = me.fixedPosition), "fixedWidth" in me && i(61, kt = me.fixedWidth), "content" in me && i(9, Se = me.content), "contentIndex" in me && i(10, ht = me.contentIndex), "duration" in me && i(11, $t = me.duration), "currentTime" in me && i(12, Gt = me.currentTime), "playbackState" in me && i(62, Ot = me.playbackState), "playbackRate" in me && i(13, bt = me.playbackRate), "activeAdvert" in me && i(14, st = me.activeAdvert), "persistentAdvert" in me && i(63, Bt = me.persistentAdvert), "textColor" in me && i(64, si = me.textColor), "backgroundColor" in me && i(65, ai = me.backgroundColor), "iconColor" in me && i(66, It = me.iconColor), "logoIconEnabled" in me && i(67, Rt = me.logoIconEnabled), "onEvent" in me && i(15, Dt = me.onEvent), "videoIsBehind" in me && i(16, Wt = me.videoIsBehind), "isVisible" in me && i(0, ei = me.isVisible), "relativeY" in me && i(1, Xt = me.relativeY), "absoluteY" in me && i(2, ti = me.absoluteY);
21837
+ "playerStyle" in me && i(3, Ye = me.playerStyle), "callToAction" in me && i(4, wt = me.callToAction), "skipButtonStyle" in me && i(59, Tt = me.skipButtonStyle), "playlistStyle" in me && i(5, qt = me.playlistStyle), "playlistToggle" in me && i(60, yt = me.playlistToggle), "downloadFormats" in me && i(6, Ut = me.downloadFormats), "playerTitle" in me && i(7, Vt = me.playerTitle), "fixedPosition" in me && i(8, lt = me.fixedPosition), "fixedWidth" in me && i(61, kt = me.fixedWidth), "content" in me && i(9, Se = me.content), "contentIndex" in me && i(10, gt = me.contentIndex), "duration" in me && i(11, $t = me.duration), "currentTime" in me && i(12, Gt = me.currentTime), "playbackState" in me && i(62, Ot = me.playbackState), "playbackRate" in me && i(13, bt = me.playbackRate), "activeAdvert" in me && i(14, st = me.activeAdvert), "persistentAdvert" in me && i(63, Bt = me.persistentAdvert), "textColor" in me && i(64, si = me.textColor), "backgroundColor" in me && i(65, ai = me.backgroundColor), "iconColor" in me && i(66, It = me.iconColor), "logoIconEnabled" in me && i(67, Rt = me.logoIconEnabled), "onEvent" in me && i(15, Dt = me.onEvent), "videoIsBehind" in me && i(16, Wt = me.videoIsBehind), "isVisible" in me && i(0, ei = me.isVisible), "relativeY" in me && i(1, Xt = me.relativeY), "absoluteY" in me && i(2, ti = me.absoluteY);
21828
21838
  }, t.$$.update = () => {
21829
21839
  t.$$.dirty[0] & /*playerStyle*/
21830
21840
  8 && i(22, r = Ye === "small"), t.$$.dirty[0] & /*playerStyle*/
@@ -21838,7 +21848,7 @@ function yk(t, e, i) {
21838
21848
  134234112 && i(25, C = st && !k), t.$$.dirty[0] & /*content*/
21839
21849
  512 && i(68, F = Se.length > 1), t.$$.dirty[0] & /*playerStyle, width*/
21840
21850
  131080 && i(30, U = tk({ playerStyle: Ye, width: ui })), t.$$.dirty[0] & /*content, contentIndex*/
21841
- 1536 && i(29, V = Se[ht] || {}), t.$$.dirty[0] & /*currentTime, duration*/
21851
+ 1536 && i(29, V = Se[gt] || {}), t.$$.dirty[0] & /*currentTime, duration*/
21842
21852
  6144 && i(53, z = Gt / $t), t.$$.dirty[0] & /*isAdvert, activeAdvert*/
21843
21853
  33570816 | t.$$.dirty[2] & /*textColor*/
21844
21854
  4 && i(52, H = C && (st == null ? void 0 : st.textColor) || si), t.$$.dirty[0] & /*isAdvert, activeAdvert*/
@@ -21885,7 +21895,7 @@ function yk(t, e, i) {
21885
21895
  32 && i(38, te = Rt && (!C || g) && !(lt && r) && !Me), t.$$.dirty[0] & /*playlistStyle*/
21886
21896
  32 && i(69, ve = qt.split("-")), t.$$.dirty[0] & /*isSmall*/
21887
21897
  4194304 | t.$$.dirty[2] & /*playlistParts, isPlaylist*/
21888
- 192 && i(37, dt = (ve[0] === "show" || ve[0] === "auto" && F) && !r), t.$$.dirty[0] & /*isSmall*/
21898
+ 192 && i(37, ft = (ve[0] === "show" || ve[0] === "auto" && F) && !r), t.$$.dirty[0] & /*isSmall*/
21889
21899
  4194304 | t.$$.dirty[1] & /*playlistToggle*/
21890
21900
  536870912 | t.$$.dirty[2] & /*isPlaylist*/
21891
21901
  64 && i(36, Ee = (yt === "show" || yt === "auto" && F) && !r), t.$$.dirty[0] & /*playerStyle, positionClasses, controlsOrder*/
@@ -21903,7 +21913,7 @@ function yk(t, e, i) {
21903
21913
  Vt,
21904
21914
  lt,
21905
21915
  Se,
21906
- ht,
21916
+ gt,
21907
21917
  $t,
21908
21918
  Gt,
21909
21919
  bt,
@@ -21930,7 +21940,7 @@ function yk(t, e, i) {
21930
21940
  at,
21931
21941
  Le,
21932
21942
  Ee,
21933
- dt,
21943
+ ft,
21934
21944
  te,
21935
21945
  Fe,
21936
21946
  xe,
@@ -22288,7 +22298,7 @@ function Qc(t) {
22288
22298
  p(p, _) {
22289
22299
  _[1] & /*adverts*/
22290
22300
  1024 && a !== (a = /*item*/
22291
- p[84].placement + "") && _r(l, a);
22301
+ p[84].placement + "") && pr(l, a);
22292
22302
  },
22293
22303
  d(p) {
22294
22304
  p && ee(e);
@@ -22315,7 +22325,7 @@ function wk(t) {
22315
22325
  };
22316
22326
  }
22317
22327
  function $c(t) {
22318
- let e, i, r, a, l, g, p, _, T, k, C, F, U, V, z, H, oe, ue, he, ge, le, be, $, L, ae, W, Xe, we, Ie, Oe, K, Z, B, Ke, Me, xe, Fe, te, ve, dt, Ee, Le, Ye, wt, Tt, qt, yt, Ut, Vt, lt, kt, Se, ht, $t, Gt, Ot, bt, st, Bt, si, ai, It, Rt, Dt, Wt, ei, Xt, ti, ui, Ct, at, ii, De, ci, zt, Ze, bi, Mt, me, di, fi, _i, hi, Ai, Ue, Y, J, Ne, Mr, Di, Nr, ri, ur, Ki, Yi, Oi, tr, yr, xi, Pi, ir, br, Bi, yi, Mi, wi = (
22328
+ let e, i, r, a, l, g, p, _, T, k, C, F, U, V, z, H, oe, ue, he, ge, le, be, $, L, ae, W, Xe, we, Ie, Oe, K, Z, B, Ke, Me, xe, Fe, te, ve, ft, Ee, Le, Ye, wt, Tt, qt, yt, Ut, Vt, lt, kt, Se, gt, $t, Gt, Ot, bt, st, Bt, si, ai, It, Rt, Dt, Wt, ei, Xt, ti, ui, Ct, at, ii, De, ci, zt, Ze, bi, Mt, me, di, fi, _i, hi, Ai, Ue, Y, J, Ne, Mr, Di, Nr, ri, lr, Ki, Yi, Oi, tr, _r, xi, Pi, ir, yr, Bi, yi, Mi, wi = (
22319
22329
  /*content*/
22320
22330
  t[39]
22321
22331
  ), Ht = [];
@@ -22327,12 +22337,12 @@ function $c(t) {
22327
22337
  ), Kt = [];
22328
22338
  for (let j = 0; j < Ni.length; j += 1)
22329
22339
  Kt[j] = td(Xc(t, Ni, j));
22330
- let cr = (
22340
+ let ur = (
22331
22341
  /*adverts*/
22332
22342
  t[41]
22333
22343
  ), Zt = [];
22334
- for (let j = 0; j < cr.length; j += 1)
22335
- Zt[j] = id(qc(t, cr, j));
22344
+ for (let j = 0; j < ur.length; j += 1)
22345
+ Zt[j] = id(qc(t, ur, j));
22336
22346
  return {
22337
22347
  c() {
22338
22348
  e = N("br"), i = Pe(), r = N("strong"), r.textContent = "Advanced settings:", a = Pe(), l = N("br"), g = N("br"), p = Pe(), _ = N("div"), T = Re(`projectId:
@@ -22342,7 +22352,7 @@ function $c(t) {
22342
22352
  `), be = N("input"), $ = Pe(), L = N("div"), ae = Re(`sourceUrl:
22343
22353
  `), W = N("input"), Xe = Pe(), we = N("div"), Ie = Re(`showUserInterface:
22344
22354
  `), Oe = N("select"), K = N("option"), K.textContent = `${!1}`, Z = N("option"), Z.textContent = `${!0}`, B = Pe(), Ke = N("div"), Me = Re(`mediaSession:
22345
- `), xe = N("select"), Fe = N("option"), Fe.textContent = "auto", te = N("option"), te.textContent = "override", ve = N("option"), ve.textContent = "none", dt = Pe(), Ee = N("div"), Le = Re(`contentIndex:
22355
+ `), xe = N("select"), Fe = N("option"), Fe.textContent = "auto", te = N("option"), te.textContent = "override", ve = N("option"), ve.textContent = "none", ft = Pe(), Ee = N("div"), Le = Re(`contentIndex:
22346
22356
  `), Ye = N("select");
22347
22357
  for (let j = 0; j < Ht.length; j += 1)
22348
22358
  Ht[j].c();
@@ -22351,7 +22361,7 @@ function $c(t) {
22351
22361
  for (let j = 0; j < Kt.length; j += 1)
22352
22362
  Kt[j].c();
22353
22363
  Vt = Pe(), lt = N("div"), kt = Re(`persistentAdImage:
22354
- `), Se = N("select"), ht = N("option"), ht.textContent = `${!1}`, $t = N("option"), $t.textContent = `${!0}`, Gt = Pe(), Ot = N("div"), bt = Re(`persistentIndex:
22364
+ `), Se = N("select"), gt = N("option"), gt.textContent = `${!1}`, $t = N("option"), $t.textContent = `${!0}`, Gt = Pe(), Ot = N("div"), bt = Re(`persistentIndex:
22355
22365
  `), st = N("select"), Bt = N("option"), Bt.textContent = "-1 (none)";
22356
22366
  for (let j = 0; j < Zt.length; j += 1)
22357
22367
  Zt[j].c();
@@ -22362,8 +22372,8 @@ function $c(t) {
22362
22372
  `), zt = N("input"), Ze = Pe(), bi = N("div"), Mt = Re(`logoIconEnabled:
22363
22373
  `), me = N("select"), di = N("option"), di.textContent = `${!1}`, fi = N("option"), fi.textContent = `${!0}`, _i = Pe(), hi = N("div"), Ai = Re(`advertConsent:
22364
22374
  `), Ue = N("select"), Y = N("option"), Y.textContent = "personalized", J = N("option"), J.textContent = "non-personalized", Ne = N("option"), Ne.textContent = "under-the-age-of-consent", Mr = Pe(), Di = N("div"), Nr = Re(`analyticsConsent:
22365
- `), ri = N("select"), ur = N("option"), ur.textContent = "allowed", Ki = N("option"), Ki.textContent = "without-local-storage", Yi = N("option"), Yi.textContent = "none", Oi = Pe(), tr = N("div"), yr = Re(`analyticsCustomUrl:
22366
- `), xi = N("input"), Pi = Pe(), ir = N("div"), br = Re(`analyticsTag:
22375
+ `), ri = N("select"), lr = N("option"), lr.textContent = "allowed", Ki = N("option"), Ki.textContent = "without-local-storage", Yi = N("option"), Yi.textContent = "none", Oi = Pe(), tr = N("div"), _r = Re(`analyticsCustomUrl:
22376
+ `), xi = N("input"), Pi = Pe(), ir = N("div"), yr = Re(`analyticsTag:
22367
22377
  `), Bi = N("input"), Q(r, "class", "svelte-g76q0j"), Q(k, "tabindex", -1), Q(k, "type", "text"), Q(k, "class", "svelte-g76q0j"), Q(_, "class", "control svelte-g76q0j"), Q(V, "tabindex", -1), Q(V, "type", "text"), Q(V, "class", "svelte-g76q0j"), Q(F, "class", "control svelte-g76q0j"), Q(ue, "tabindex", -1), Q(ue, "type", "text"), Q(ue, "class", "svelte-g76q0j"), Q(H, "class", "control svelte-g76q0j"), Q(be, "tabindex", -1), Q(be, "type", "text"), Q(be, "class", "svelte-g76q0j"), Q(ge, "class", "control svelte-g76q0j"), Q(W, "tabindex", -1), Q(W, "type", "text"), Q(W, "class", "svelte-g76q0j"), Q(L, "class", "control svelte-g76q0j"), K.__value = !1, K.value = K.__value, Z.__value = !0, Z.value = Z.__value, Q(Oe, "tabindex", -1), Q(Oe, "class", "svelte-g76q0j"), /*showUserInterface*/
22368
22378
  t[5] === void 0 && Ft(() => (
22369
22379
  /*select0_change_handler_1*/
@@ -22380,7 +22390,7 @@ function $c(t) {
22380
22390
  t[14] === void 0 && Ft(() => (
22381
22391
  /*select3_change_handler_1*/
22382
22392
  t[70].call(yt)
22383
- )), Q(Tt, "class", "control svelte-g76q0j"), ht.__value = !1, ht.value = ht.__value, $t.__value = !0, $t.value = $t.__value, Q(Se, "tabindex", -1), Q(Se, "class", "svelte-g76q0j"), /*persistentAdImage*/
22393
+ )), Q(Tt, "class", "control svelte-g76q0j"), gt.__value = !1, gt.value = gt.__value, $t.__value = !0, $t.value = $t.__value, Q(Se, "tabindex", -1), Q(Se, "class", "svelte-g76q0j"), /*persistentAdImage*/
22384
22394
  t[16] === void 0 && Ft(() => (
22385
22395
  /*select4_change_handler_1*/
22386
22396
  t[71].call(Se)
@@ -22396,7 +22406,7 @@ function $c(t) {
22396
22406
  t[35] === void 0 && Ft(() => (
22397
22407
  /*select7_change_handler_1*/
22398
22408
  t[78].call(Ue)
22399
- )), Q(hi, "class", "control svelte-g76q0j"), ur.__value = "allowed", ur.value = ur.__value, Ki.__value = "without-local-storage", Ki.value = Ki.__value, Yi.__value = "none", Yi.value = Yi.__value, Q(ri, "tabindex", -1), Q(ri, "class", "svelte-g76q0j"), /*analyticsConsent*/
22409
+ )), Q(hi, "class", "control svelte-g76q0j"), lr.__value = "allowed", lr.value = lr.__value, Ki.__value = "without-local-storage", Ki.value = Ki.__value, Yi.__value = "none", Yi.value = Yi.__value, Q(ri, "tabindex", -1), Q(ri, "class", "svelte-g76q0j"), /*analyticsConsent*/
22400
22410
  t[36] === void 0 && Ft(() => (
22401
22411
  /*select8_change_handler_1*/
22402
22412
  t[79].call(ri)
@@ -22433,7 +22443,7 @@ function $c(t) {
22433
22443
  /*mediaSession*/
22434
22444
  t[12],
22435
22445
  !0
22436
- ), ie(j, dt, pe), ie(j, Ee, pe), I(Ee, Le), I(Ee, Ye);
22446
+ ), ie(j, ft, pe), ie(j, Ee, pe), I(Ee, Le), I(Ee, Ye);
22437
22447
  for (let _e = 0; _e < Ht.length; _e += 1)
22438
22448
  Ht[_e] && Ht[_e].m(Ye, null);
22439
22449
  ut(
@@ -22449,7 +22459,7 @@ function $c(t) {
22449
22459
  /*introsOutrosIndex*/
22450
22460
  t[14],
22451
22461
  !0
22452
- ), ie(j, Vt, pe), ie(j, lt, pe), I(lt, kt), I(lt, Se), I(Se, ht), I(Se, $t), ut(
22462
+ ), ie(j, Vt, pe), ie(j, lt, pe), I(lt, kt), I(lt, Se), I(Se, gt), I(Se, $t), ut(
22453
22463
  Se,
22454
22464
  /*persistentAdImage*/
22455
22465
  t[16],
@@ -22488,16 +22498,16 @@ function $c(t) {
22488
22498
  /*advertConsent*/
22489
22499
  t[35],
22490
22500
  !0
22491
- ), ie(j, Mr, pe), ie(j, Di, pe), I(Di, Nr), I(Di, ri), I(ri, ur), I(ri, Ki), I(ri, Yi), ut(
22501
+ ), ie(j, Mr, pe), ie(j, Di, pe), I(Di, Nr), I(Di, ri), I(ri, lr), I(ri, Ki), I(ri, Yi), ut(
22492
22502
  ri,
22493
22503
  /*analyticsConsent*/
22494
22504
  t[36],
22495
22505
  !0
22496
- ), ie(j, Oi, pe), ie(j, tr, pe), I(tr, yr), I(tr, xi), St(
22506
+ ), ie(j, Oi, pe), ie(j, tr, pe), I(tr, _r), I(tr, xi), St(
22497
22507
  xi,
22498
22508
  /*analyticsCustomUrl*/
22499
22509
  t[37]
22500
- ), ie(j, Pi, pe), ie(j, ir, pe), I(ir, br), I(ir, Bi), St(
22510
+ ), ie(j, Pi, pe), ie(j, ir, pe), I(ir, yr), I(ir, Bi), St(
22501
22511
  Bi,
22502
22512
  /*analyticsTag*/
22503
22513
  t[38]
@@ -22708,16 +22718,16 @@ function $c(t) {
22708
22718
  j[16]
22709
22719
  ), pe[1] & /*adverts*/
22710
22720
  1024) {
22711
- cr = /*adverts*/
22721
+ ur = /*adverts*/
22712
22722
  j[41];
22713
22723
  let _e;
22714
- for (_e = 0; _e < cr.length; _e += 1) {
22715
- const ot = qc(j, cr, _e);
22724
+ for (_e = 0; _e < ur.length; _e += 1) {
22725
+ const ot = qc(j, ur, _e);
22716
22726
  Zt[_e] ? Zt[_e].p(ot, pe) : (Zt[_e] = id(ot), Zt[_e].c(), Zt[_e].m(st, null));
22717
22727
  }
22718
22728
  for (; _e < Zt.length; _e += 1)
22719
22729
  Zt[_e].d(1);
22720
- Zt.length = cr.length;
22730
+ Zt.length = ur.length;
22721
22731
  }
22722
22732
  pe[0] & /*persistentIndex*/
22723
22733
  131072 && ut(
@@ -22778,7 +22788,7 @@ function $c(t) {
22778
22788
  );
22779
22789
  },
22780
22790
  d(j) {
22781
- j && ee(e), j && ee(i), j && ee(r), j && ee(a), j && ee(l), j && ee(g), j && ee(p), j && ee(_), j && ee(C), j && ee(F), j && ee(z), j && ee(H), j && ee(he), j && ee(ge), j && ee($), j && ee(L), j && ee(Xe), j && ee(we), j && ee(B), j && ee(Ke), j && ee(dt), j && ee(Ee), Nn(Ht, j), j && ee(wt), j && ee(Tt), Nn(Kt, j), j && ee(Vt), j && ee(lt), j && ee(Gt), j && ee(Ot), Nn(Zt, j), j && ee(si), j && ee(ai), j && ee(Dt), j && ee(Wt), j && ee(ti), j && ee(ui), j && ee(ii), j && ee(De), j && ee(Ze), j && ee(bi), j && ee(_i), j && ee(hi), j && ee(Mr), j && ee(Di), j && ee(Oi), j && ee(tr), j && ee(Pi), j && ee(ir), yi = !1, li(Mi);
22791
+ j && ee(e), j && ee(i), j && ee(r), j && ee(a), j && ee(l), j && ee(g), j && ee(p), j && ee(_), j && ee(C), j && ee(F), j && ee(z), j && ee(H), j && ee(he), j && ee(ge), j && ee($), j && ee(L), j && ee(Xe), j && ee(we), j && ee(B), j && ee(Ke), j && ee(ft), j && ee(Ee), Nn(Ht, j), j && ee(wt), j && ee(Tt), Nn(Kt, j), j && ee(Vt), j && ee(lt), j && ee(Gt), j && ee(Ot), Nn(Zt, j), j && ee(si), j && ee(ai), j && ee(Dt), j && ee(Wt), j && ee(ti), j && ee(ui), j && ee(ii), j && ee(De), j && ee(Ze), j && ee(bi), j && ee(_i), j && ee(hi), j && ee(Mr), j && ee(Di), j && ee(Oi), j && ee(tr), j && ee(Pi), j && ee(ir), yi = !1, li(Mi);
22782
22792
  }
22783
22793
  };
22784
22794
  }
@@ -22801,7 +22811,7 @@ function ed(t) {
22801
22811
  p(p, _) {
22802
22812
  _[1] & /*content*/
22803
22813
  256 && a !== (a = /*item*/
22804
- p[84].title + "") && _r(l, a);
22814
+ p[84].title + "") && pr(l, a);
22805
22815
  },
22806
22816
  d(p) {
22807
22817
  p && ee(e);
@@ -22827,7 +22837,7 @@ function td(t) {
22827
22837
  p(g, p) {
22828
22838
  p[1] & /*introsOutros*/
22829
22839
  512 && a !== (a = /*item*/
22830
- g[84].placement + "") && _r(l, a);
22840
+ g[84].placement + "") && pr(l, a);
22831
22841
  },
22832
22842
  d(g) {
22833
22843
  g && ee(e);
@@ -22853,7 +22863,7 @@ function id(t) {
22853
22863
  p(g, p) {
22854
22864
  p[1] & /*adverts*/
22855
22865
  1024 && a !== (a = /*item*/
22856
- g[84].placement + "") && _r(l, a);
22866
+ g[84].placement + "") && pr(l, a);
22857
22867
  },
22858
22868
  d(g) {
22859
22869
  g && ee(e);
@@ -22901,12 +22911,12 @@ function Lk(t) {
22901
22911
  };
22902
22912
  }
22903
22913
  function Ik(t) {
22904
- let e, i, r, a, l, g, p, _, T, k, C, F, U, V, z, H, oe, ue, he, ge, le, be, $, L, ae, W, Xe, we, Ie, Oe, K, Z, B, Ke, Me, xe, Fe, te, ve, dt, Ee, Le, Ye, wt, Tt, qt, yt, Ut, Vt, lt, kt, Se, ht, $t, Gt, Ot, bt, st, Bt, si, ai, It, Rt, Dt, Wt, ei, Xt, ti, ui, Ct, at, ii, De, ci, zt, Ze, bi, Mt, me, di, fi, _i, hi, Ai, Ue, Y, J, Ne, Mr, Di, Nr, ri, ur, Ki, Yi, Oi, tr, yr, xi, Pi, ir, br, Bi, yi, Mi, wi, Ht, Ni, Kt, cr, Zt, j, pe, _e, ot, xr, Sr, Fr, os, rn, ls, Fi, Ur, Si, Vr, Tr, dr, bn, nn, us, fr, Sn, Pr, cs, Wn, jn, Tn, wr = (
22914
+ let e, i, r, a, l, g, p, _, T, k, C, F, U, V, z, H, oe, ue, he, ge, le, be, $, L, ae, W, Xe, we, Ie, Oe, K, Z, B, Ke, Me, xe, Fe, te, ve, ft, Ee, Le, Ye, wt, Tt, qt, yt, Ut, Vt, lt, kt, Se, gt, $t, Gt, Ot, bt, st, Bt, si, ai, It, Rt, Dt, Wt, ei, Xt, ti, ui, Ct, at, ii, De, ci, zt, Ze, bi, Mt, me, di, fi, _i, hi, Ai, Ue, Y, J, Ne, Mr, Di, Nr, ri, lr, Ki, Yi, Oi, tr, _r, xi, Pi, ir, yr, Bi, yi, Mi, wi, Ht, Ni, Kt, ur, Zt, j, pe, _e, ot, Ar, br, Fr, os, rn, ls, Fi, Ur, Si, Vr, Sr, cr, bn, nn, us, dr, Sn, xr, cs, Wn, jn, Tn, Pr = (
22905
22915
  /*adverts*/
22906
22916
  t[41]
22907
22917
  ), R = [];
22908
- for (let ze = 0; ze < wr.length; ze += 1)
22909
- R[ze] = Qc(Jc(t, wr, ze));
22918
+ for (let ze = 0; ze < Pr.length; ze += 1)
22919
+ R[ze] = Qc(Jc(t, Pr, ze));
22910
22920
  let zo = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12], Gn = [];
22911
22921
  for (let ze = 0; ze < 12; ze += 1)
22912
22922
  Gn[ze] = wk(Pk(t, zo, ze));
@@ -22920,7 +22930,7 @@ function Ik(t) {
22920
22930
  ze[42] ? Lk : Ck
22921
22931
  );
22922
22932
  }
22923
- let ds = zs(t), kr = ds(t);
22933
+ let ds = zs(t), Tr = ds(t);
22924
22934
  return {
22925
22935
  c() {
22926
22936
  e = N("div"), i = N("div"), i.innerHTML = `<strong class="svelte-g76q0j">Player settings:</strong>
@@ -22930,9 +22940,9 @@ function Ik(t) {
22930
22940
  `), H = N("select"), oe = N("option"), oe.textContent = "stopped", ue = N("option"), ue.textContent = "playing", he = N("option"), he.textContent = "paused", ge = Pe(), le = N("div"), be = Re(`playerTitle:
22931
22941
  `), $ = N("input"), L = Pe(), ae = N("div"), W = Re(`callToAction:
22932
22942
  `), Xe = N("input"), we = Pe(), Ie = N("div"), Oe = Re(`skipButtonStyle:
22933
- `), K = N("select"), Z = N("option"), Z.textContent = "auto", B = N("option"), B.textContent = "segments", Ke = N("option"), Ke.textContent = "seconds", Me = N("option"), Me.textContent = "seconds-15", xe = N("option"), xe.textContent = "seconds-15-30", Fe = N("option"), Fe.textContent = "tracks", te = Pe(), ve = N("div"), dt = Re(`playlistStyle:
22943
+ `), K = N("select"), Z = N("option"), Z.textContent = "auto", B = N("option"), B.textContent = "segments", Ke = N("option"), Ke.textContent = "seconds", Me = N("option"), Me.textContent = "seconds-15", xe = N("option"), xe.textContent = "seconds-15-30", Fe = N("option"), Fe.textContent = "tracks", te = Pe(), ve = N("div"), ft = Re(`playlistStyle:
22934
22944
  `), Ee = N("select"), Le = N("option"), Le.textContent = "auto", Ye = N("option"), Ye.textContent = "show", wt = N("option"), wt.textContent = "show-3", Tt = N("option"), Tt.textContent = "show-999", qt = N("option"), qt.textContent = "hide", yt = Pe(), Ut = N("div"), Vt = Re(`playlistToggle:
22935
- `), lt = N("select"), kt = N("option"), kt.textContent = "auto", Se = N("option"), Se.textContent = "show", ht = N("option"), ht.textContent = "hide", $t = Pe(), Gt = N("div"), Ot = Re(`advertIndex:
22945
+ `), lt = N("select"), kt = N("option"), kt.textContent = "auto", Se = N("option"), Se.textContent = "show", gt = N("option"), gt.textContent = "hide", $t = Pe(), Gt = N("div"), Ot = Re(`advertIndex:
22936
22946
  `), bt = N("select"), st = N("option"), st.textContent = "-1 (none)";
22937
22947
  for (let ze = 0; ze < R.length; ze += 1)
22938
22948
  R[ze].c();
@@ -22941,16 +22951,16 @@ function Ik(t) {
22941
22951
  `), Ct = N("select"), at = N("option"), at.textContent = "auto", ii = N("option"), ii.textContent = "left", De = N("option"), De.textContent = "center", ci = N("option"), ci.textContent = "right", zt = Pe(), Ze = N("div"), bi = Re(`widgetWidth:
22942
22952
  `), Mt = N("select"), me = N("option"), me.textContent = "auto", di = N("option"), di.textContent = "400px", fi = N("option"), fi.textContent = "30rem", _i = N("option"), _i.textContent = "fit-content", hi = N("option"), hi.textContent = "initial", Ai = N("option"), Ai.textContent = "0", Ue = Pe(), Y = N("div"), J = Re(`textColor:
22943
22953
  `), Ne = N("input"), Mr = Pe(), Di = N("div"), Nr = Re(`backgroundColor:
22944
- `), ri = N("input"), ur = Pe(), Ki = N("div"), Yi = Re(`iconColor:
22945
- `), Oi = N("input"), tr = Pe(), yr = N("div"), xi = Re(`highlightColor:
22946
- `), Pi = N("input"), ir = Pe(), br = N("div"), Bi = Re(`highlightSections:
22947
- `), yi = N("select"), Mi = N("option"), Mi.textContent = "all", wi = N("option"), wi.textContent = "body", Ht = N("option"), Ht.textContent = "none", Ni = N("option"), Ni.textContent = "all-none", Kt = N("option"), Kt.textContent = "none-all", cr = Pe(), Zt = N("div"), j = Re(`clickableSections:
22948
- `), pe = N("select"), _e = N("option"), _e.textContent = "all", ot = N("option"), ot.textContent = "body", xr = N("option"), xr.textContent = "none", Sr = N("option"), Sr.textContent = "all-none", Fr = N("option"), Fr.textContent = "none-all", os = Pe(), rn = N("div"), ls = Re(`segmentWidgetSections:
22949
- `), Fi = N("select"), Ur = N("option"), Ur.textContent = "all", Si = N("option"), Si.textContent = "body", Vr = N("option"), Vr.textContent = "none", Tr = N("option"), Tr.textContent = "all-none", dr = N("option"), dr.textContent = "none-all", bn = Pe(), nn = N("div"), us = Re(`segmentWidgetPosition:
22950
- `), fr = N("select");
22954
+ `), ri = N("input"), lr = Pe(), Ki = N("div"), Yi = Re(`iconColor:
22955
+ `), Oi = N("input"), tr = Pe(), _r = N("div"), xi = Re(`highlightColor:
22956
+ `), Pi = N("input"), ir = Pe(), yr = N("div"), Bi = Re(`highlightSections:
22957
+ `), yi = N("select"), Mi = N("option"), Mi.textContent = "all", wi = N("option"), wi.textContent = "body", Ht = N("option"), Ht.textContent = "none", Ni = N("option"), Ni.textContent = "all-none", Kt = N("option"), Kt.textContent = "none-all", ur = Pe(), Zt = N("div"), j = Re(`clickableSections:
22958
+ `), pe = N("select"), _e = N("option"), _e.textContent = "all", ot = N("option"), ot.textContent = "body", Ar = N("option"), Ar.textContent = "none", br = N("option"), br.textContent = "all-none", Fr = N("option"), Fr.textContent = "none-all", os = Pe(), rn = N("div"), ls = Re(`segmentWidgetSections:
22959
+ `), Fi = N("select"), Ur = N("option"), Ur.textContent = "all", Si = N("option"), Si.textContent = "body", Vr = N("option"), Vr.textContent = "none", Sr = N("option"), Sr.textContent = "all-none", cr = N("option"), cr.textContent = "none-all", bn = Pe(), nn = N("div"), us = Re(`segmentWidgetPosition:
22960
+ `), dr = N("select");
22951
22961
  for (let ze = 0; ze < 12; ze += 1)
22952
22962
  Gn[ze].c();
22953
- Sn = Pe(), qi && qi.c(), Pr = Pe(), cs = N("br"), Wn = Pe(), kr.c(), Q(i, "class", "heading svelte-g76q0j"), T.__value = "small", T.value = T.__value, k.__value = "standard", k.value = k.__value, C.__value = "large", C.value = C.__value, F.__value = "video", F.value = F.__value, Q(_, "tabindex", -1), Q(_, "class", "svelte-g76q0j"), /*playerStyle*/
22963
+ Sn = Pe(), qi && qi.c(), xr = Pe(), cs = N("br"), Wn = Pe(), Tr.c(), Q(i, "class", "heading svelte-g76q0j"), T.__value = "small", T.value = T.__value, k.__value = "standard", k.value = k.__value, C.__value = "large", C.value = C.__value, F.__value = "video", F.value = F.__value, Q(_, "tabindex", -1), Q(_, "class", "svelte-g76q0j"), /*playerStyle*/
22954
22964
  t[6] === void 0 && Ft(() => (
22955
22965
  /*select0_change_handler*/
22956
22966
  t[43].call(_)
@@ -22966,7 +22976,7 @@ function Ik(t) {
22966
22976
  t[10] === void 0 && Ft(() => (
22967
22977
  /*select3_change_handler*/
22968
22978
  t[48].call(Ee)
22969
- )), Q(ve, "class", "control svelte-g76q0j"), kt.__value = "auto", kt.value = kt.__value, Se.__value = "show", Se.value = Se.__value, ht.__value = "hide", ht.value = ht.__value, Q(lt, "tabindex", -1), Q(lt, "class", "svelte-g76q0j"), /*playlistToggle*/
22979
+ )), Q(ve, "class", "control svelte-g76q0j"), kt.__value = "auto", kt.value = kt.__value, Se.__value = "show", Se.value = Se.__value, gt.__value = "hide", gt.value = gt.__value, Q(lt, "tabindex", -1), Q(lt, "class", "svelte-g76q0j"), /*playlistToggle*/
22970
22980
  t[11] === void 0 && Ft(() => (
22971
22981
  /*select4_change_handler*/
22972
22982
  t[49].call(lt)
@@ -22986,22 +22996,22 @@ function Ik(t) {
22986
22996
  t[24] === void 0 && Ft(() => (
22987
22997
  /*select8_change_handler*/
22988
22998
  t[53].call(Mt)
22989
- )), Q(Ze, "class", "control svelte-g76q0j"), Q(Ne, "tabindex", -1), Q(Ne, "type", "text"), Q(Ne, "class", "svelte-g76q0j"), Q(Y, "class", "control svelte-g76q0j"), Q(ri, "tabindex", -1), Q(ri, "type", "text"), Q(ri, "class", "svelte-g76q0j"), Q(Di, "class", "control svelte-g76q0j"), Q(Oi, "tabindex", -1), Q(Oi, "type", "text"), Q(Oi, "class", "svelte-g76q0j"), Q(Ki, "class", "control svelte-g76q0j"), Q(Pi, "tabindex", -1), Q(Pi, "type", "text"), Q(Pi, "class", "svelte-g76q0j"), Q(yr, "class", "control svelte-g76q0j"), Mi.__value = "all", Mi.value = Mi.__value, wi.__value = "body", wi.value = wi.__value, Ht.__value = "none", Ht.value = Ht.__value, Ni.__value = "all-none", Ni.value = Ni.__value, Kt.__value = "none-all", Kt.value = Kt.__value, Q(yi, "tabindex", -1), Q(yi, "class", "svelte-g76q0j"), /*highlightSections*/
22999
+ )), Q(Ze, "class", "control svelte-g76q0j"), Q(Ne, "tabindex", -1), Q(Ne, "type", "text"), Q(Ne, "class", "svelte-g76q0j"), Q(Y, "class", "control svelte-g76q0j"), Q(ri, "tabindex", -1), Q(ri, "type", "text"), Q(ri, "class", "svelte-g76q0j"), Q(Di, "class", "control svelte-g76q0j"), Q(Oi, "tabindex", -1), Q(Oi, "type", "text"), Q(Oi, "class", "svelte-g76q0j"), Q(Ki, "class", "control svelte-g76q0j"), Q(Pi, "tabindex", -1), Q(Pi, "type", "text"), Q(Pi, "class", "svelte-g76q0j"), Q(_r, "class", "control svelte-g76q0j"), Mi.__value = "all", Mi.value = Mi.__value, wi.__value = "body", wi.value = wi.__value, Ht.__value = "none", Ht.value = Ht.__value, Ni.__value = "all-none", Ni.value = Ni.__value, Kt.__value = "none-all", Kt.value = Kt.__value, Q(yi, "tabindex", -1), Q(yi, "class", "svelte-g76q0j"), /*highlightSections*/
22990
23000
  t[31] === void 0 && Ft(() => (
22991
23001
  /*select9_change_handler*/
22992
23002
  t[58].call(yi)
22993
- )), Q(br, "class", "control svelte-g76q0j"), _e.__value = "all", _e.value = _e.__value, ot.__value = "body", ot.value = ot.__value, xr.__value = "none", xr.value = xr.__value, Sr.__value = "all-none", Sr.value = Sr.__value, Fr.__value = "none-all", Fr.value = Fr.__value, Q(pe, "tabindex", -1), Q(pe, "class", "svelte-g76q0j"), /*clickableSections*/
23003
+ )), Q(yr, "class", "control svelte-g76q0j"), _e.__value = "all", _e.value = _e.__value, ot.__value = "body", ot.value = ot.__value, Ar.__value = "none", Ar.value = Ar.__value, br.__value = "all-none", br.value = br.__value, Fr.__value = "none-all", Fr.value = Fr.__value, Q(pe, "tabindex", -1), Q(pe, "class", "svelte-g76q0j"), /*clickableSections*/
22994
23004
  t[32] === void 0 && Ft(() => (
22995
23005
  /*select10_change_handler*/
22996
23006
  t[59].call(pe)
22997
- )), Q(Zt, "class", "control svelte-g76q0j"), Ur.__value = "all", Ur.value = Ur.__value, Si.__value = "body", Si.value = Si.__value, Vr.__value = "none", Vr.value = Vr.__value, Tr.__value = "all-none", Tr.value = Tr.__value, dr.__value = "none-all", dr.value = dr.__value, Q(Fi, "tabindex", -1), Q(Fi, "class", "svelte-g76q0j"), /*segmentWidgetSections*/
23007
+ )), Q(Zt, "class", "control svelte-g76q0j"), Ur.__value = "all", Ur.value = Ur.__value, Si.__value = "body", Si.value = Si.__value, Vr.__value = "none", Vr.value = Vr.__value, Sr.__value = "all-none", Sr.value = Sr.__value, cr.__value = "none-all", cr.value = cr.__value, Q(Fi, "tabindex", -1), Q(Fi, "class", "svelte-g76q0j"), /*segmentWidgetSections*/
22998
23008
  t[33] === void 0 && Ft(() => (
22999
23009
  /*select11_change_handler*/
23000
23010
  t[60].call(Fi)
23001
- )), Q(rn, "class", "control svelte-g76q0j"), Q(fr, "tabindex", -1), Q(fr, "class", "svelte-g76q0j"), /*segmentWidgetPosition*/
23011
+ )), Q(rn, "class", "control svelte-g76q0j"), Q(dr, "tabindex", -1), Q(dr, "class", "svelte-g76q0j"), /*segmentWidgetPosition*/
23002
23012
  t[34] === void 0 && Ft(() => (
23003
23013
  /*select12_change_handler*/
23004
- t[61].call(fr)
23014
+ t[61].call(dr)
23005
23015
  )), Q(nn, "class", "control svelte-g76q0j"), Q(e, "class", "control-panel");
23006
23016
  },
23007
23017
  m(ze, Nt) {
@@ -23028,12 +23038,12 @@ function Ik(t) {
23028
23038
  /*skipButtonStyle*/
23029
23039
  t[9],
23030
23040
  !0
23031
- ), I(e, te), I(e, ve), I(ve, dt), I(ve, Ee), I(Ee, Le), I(Ee, Ye), I(Ee, wt), I(Ee, Tt), I(Ee, qt), ut(
23041
+ ), I(e, te), I(e, ve), I(ve, ft), I(ve, Ee), I(Ee, Le), I(Ee, Ye), I(Ee, wt), I(Ee, Tt), I(Ee, qt), ut(
23032
23042
  Ee,
23033
23043
  /*playlistStyle*/
23034
23044
  t[10],
23035
23045
  !0
23036
- ), I(e, yt), I(e, Ut), I(Ut, Vt), I(Ut, lt), I(lt, kt), I(lt, Se), I(lt, ht), ut(
23046
+ ), I(e, yt), I(e, Ut), I(Ut, Vt), I(Ut, lt), I(lt, kt), I(lt, Se), I(lt, gt), ut(
23037
23047
  lt,
23038
23048
  /*playlistToggle*/
23039
23049
  t[11],
@@ -23069,38 +23079,38 @@ function Ik(t) {
23069
23079
  ri,
23070
23080
  /*backgroundColor*/
23071
23081
  t[27]
23072
- ), I(e, ur), I(e, Ki), I(Ki, Yi), I(Ki, Oi), St(
23082
+ ), I(e, lr), I(e, Ki), I(Ki, Yi), I(Ki, Oi), St(
23073
23083
  Oi,
23074
23084
  /*iconColor*/
23075
23085
  t[28]
23076
- ), I(e, tr), I(e, yr), I(yr, xi), I(yr, Pi), St(
23086
+ ), I(e, tr), I(e, _r), I(_r, xi), I(_r, Pi), St(
23077
23087
  Pi,
23078
23088
  /*highlightColor*/
23079
23089
  t[29]
23080
- ), I(e, ir), I(e, br), I(br, Bi), I(br, yi), I(yi, Mi), I(yi, wi), I(yi, Ht), I(yi, Ni), I(yi, Kt), ut(
23090
+ ), I(e, ir), I(e, yr), I(yr, Bi), I(yr, yi), I(yi, Mi), I(yi, wi), I(yi, Ht), I(yi, Ni), I(yi, Kt), ut(
23081
23091
  yi,
23082
23092
  /*highlightSections*/
23083
23093
  t[31],
23084
23094
  !0
23085
- ), I(e, cr), I(e, Zt), I(Zt, j), I(Zt, pe), I(pe, _e), I(pe, ot), I(pe, xr), I(pe, Sr), I(pe, Fr), ut(
23095
+ ), I(e, ur), I(e, Zt), I(Zt, j), I(Zt, pe), I(pe, _e), I(pe, ot), I(pe, Ar), I(pe, br), I(pe, Fr), ut(
23086
23096
  pe,
23087
23097
  /*clickableSections*/
23088
23098
  t[32],
23089
23099
  !0
23090
- ), I(e, os), I(e, rn), I(rn, ls), I(rn, Fi), I(Fi, Ur), I(Fi, Si), I(Fi, Vr), I(Fi, Tr), I(Fi, dr), ut(
23100
+ ), I(e, os), I(e, rn), I(rn, ls), I(rn, Fi), I(Fi, Ur), I(Fi, Si), I(Fi, Vr), I(Fi, Sr), I(Fi, cr), ut(
23091
23101
  Fi,
23092
23102
  /*segmentWidgetSections*/
23093
23103
  t[33],
23094
23104
  !0
23095
- ), I(e, bn), I(e, nn), I(nn, us), I(nn, fr);
23105
+ ), I(e, bn), I(e, nn), I(nn, us), I(nn, dr);
23096
23106
  for (let ni = 0; ni < 12; ni += 1)
23097
- Gn[ni] && Gn[ni].m(fr, null);
23107
+ Gn[ni] && Gn[ni].m(dr, null);
23098
23108
  ut(
23099
- fr,
23109
+ dr,
23100
23110
  /*segmentWidgetPosition*/
23101
23111
  t[34],
23102
23112
  !0
23103
- ), I(e, Sn), qi && qi.m(e, null), I(e, Pr), I(e, cs), I(e, Wn), kr.m(e, null), jn || (Tn = [
23113
+ ), I(e, Sn), qi && qi.m(e, null), I(e, xr), I(e, cs), I(e, Wn), Tr.m(e, null), jn || (Tn = [
23104
23114
  ye(
23105
23115
  _,
23106
23116
  "change",
@@ -23210,7 +23220,7 @@ function Ik(t) {
23210
23220
  t[60]
23211
23221
  ),
23212
23222
  ye(
23213
- fr,
23223
+ dr,
23214
23224
  "change",
23215
23225
  /*select12_change_handler*/
23216
23226
  t[61]
@@ -23257,16 +23267,16 @@ function Ik(t) {
23257
23267
  ze[11]
23258
23268
  ), Nt[1] & /*adverts*/
23259
23269
  1024) {
23260
- wr = /*adverts*/
23270
+ Pr = /*adverts*/
23261
23271
  ze[41];
23262
23272
  let ni;
23263
- for (ni = 0; ni < wr.length; ni += 1) {
23264
- const zn = Jc(ze, wr, ni);
23273
+ for (ni = 0; ni < Pr.length; ni += 1) {
23274
+ const zn = Jc(ze, Pr, ni);
23265
23275
  R[ni] ? R[ni].p(zn, Nt) : (R[ni] = Qc(zn), R[ni].c(), R[ni].m(bt, null));
23266
23276
  }
23267
23277
  for (; ni < R.length; ni += 1)
23268
23278
  R[ni].d(1);
23269
- R.length = wr.length;
23279
+ R.length = Pr.length;
23270
23280
  }
23271
23281
  Nt[0] & /*advertIndex*/
23272
23282
  32768 && ut(
@@ -23329,21 +23339,21 @@ function Ik(t) {
23329
23339
  ze[33]
23330
23340
  ), Nt[1] & /*segmentWidgetPosition*/
23331
23341
  8 && ut(
23332
- fr,
23342
+ dr,
23333
23343
  /*segmentWidgetPosition*/
23334
23344
  ze[34]
23335
23345
  ), /*showAdvancedSettings*/
23336
- ze[42] ? qi ? qi.p(ze, Nt) : (qi = $c(ze), qi.c(), qi.m(e, Pr)) : qi && (qi.d(1), qi = null), ds === (ds = zs(ze)) && kr ? kr.p(ze, Nt) : (kr.d(1), kr = ds(ze), kr && (kr.c(), kr.m(e, null)));
23346
+ ze[42] ? qi ? qi.p(ze, Nt) : (qi = $c(ze), qi.c(), qi.m(e, xr)) : qi && (qi.d(1), qi = null), ds === (ds = zs(ze)) && Tr ? Tr.p(ze, Nt) : (Tr.d(1), Tr = ds(ze), Tr && (Tr.c(), Tr.m(e, null)));
23337
23347
  },
23338
23348
  i: Ce,
23339
23349
  o: Ce,
23340
23350
  d(ze) {
23341
- ze && ee(e), Nn(R, ze), Nn(Gn, ze), qi && qi.d(), kr.d(), jn = !1, li(Tn);
23351
+ ze && ee(e), Nn(R, ze), Nn(Gn, ze), qi && qi.d(), Tr.d(), jn = !1, li(Tn);
23342
23352
  }
23343
23353
  };
23344
23354
  }
23345
23355
  function Rk(t, e, i) {
23346
- let { projectId: r } = e, { contentId: a } = e, { playlistId: l } = e, { sourceId: g } = e, { sourceUrl: p } = e, { showUserInterface: _ } = e, { playerStyle: T } = e, { playerTitle: k } = e, { callToAction: C } = e, { skipButtonStyle: F } = e, { playlistStyle: U } = e, { playlistToggle: V } = e, { mediaSession: z } = e, { content: H } = e, { contentIndex: oe } = e, { introsOutros: ue } = e, { introsOutrosIndex: he } = e, { adverts: ge } = e, { advertIndex: le } = e, { persistentAdImage: be } = e, { persistentIndex: $ } = e, { duration: L } = e, { currentTime: ae } = e, { playbackState: W } = e, { playbackRate: Xe } = e, { widgetStyle: we } = e, { widgetPosition: Ie } = e, { widgetWidth: Oe } = e, { widgetTarget: K } = e, { textColor: Z } = e, { backgroundColor: B } = e, { iconColor: Ke } = e, { highlightColor: Me } = e, { logoIconEnabled: xe } = e, { highlightSections: Fe } = e, { clickableSections: te } = e, { segmentWidgetSections: ve } = e, { segmentWidgetPosition: dt } = e, { advertConsent: Ee } = e, { analyticsConsent: Le } = e, { analyticsCustomUrl: Ye } = e, { analyticsTag: wt } = e, Tt = !1;
23356
+ let { projectId: r } = e, { contentId: a } = e, { playlistId: l } = e, { sourceId: g } = e, { sourceUrl: p } = e, { showUserInterface: _ } = e, { playerStyle: T } = e, { playerTitle: k } = e, { callToAction: C } = e, { skipButtonStyle: F } = e, { playlistStyle: U } = e, { playlistToggle: V } = e, { mediaSession: z } = e, { content: H } = e, { contentIndex: oe } = e, { introsOutros: ue } = e, { introsOutrosIndex: he } = e, { adverts: ge } = e, { advertIndex: le } = e, { persistentAdImage: be } = e, { persistentIndex: $ } = e, { duration: L } = e, { currentTime: ae } = e, { playbackState: W } = e, { playbackRate: Xe } = e, { widgetStyle: we } = e, { widgetPosition: Ie } = e, { widgetWidth: Oe } = e, { widgetTarget: K } = e, { textColor: Z } = e, { backgroundColor: B } = e, { iconColor: Ke } = e, { highlightColor: Me } = e, { logoIconEnabled: xe } = e, { highlightSections: Fe } = e, { clickableSections: te } = e, { segmentWidgetSections: ve } = e, { segmentWidgetPosition: ft } = e, { advertConsent: Ee } = e, { analyticsConsent: Le } = e, { analyticsCustomUrl: Ye } = e, { analyticsTag: wt } = e, Tt = !1;
23347
23357
  function qt() {
23348
23358
  T = vi(this), i(6, T);
23349
23359
  }
@@ -23365,7 +23375,7 @@ function Rk(t, e, i) {
23365
23375
  function Se() {
23366
23376
  V = vi(this), i(11, V);
23367
23377
  }
23368
- function ht() {
23378
+ function gt() {
23369
23379
  le = vi(this), i(15, le);
23370
23380
  }
23371
23381
  function $t() {
@@ -23399,7 +23409,7 @@ function Rk(t, e, i) {
23399
23409
  ve = vi(this), i(33, ve);
23400
23410
  }
23401
23411
  function Dt() {
23402
- dt = vi(this), i(34, dt);
23412
+ ft = vi(this), i(34, ft);
23403
23413
  }
23404
23414
  function Wt() {
23405
23415
  r = this.value, i(0, r);
@@ -23463,7 +23473,7 @@ function Rk(t, e, i) {
23463
23473
  }
23464
23474
  const Ue = () => i(42, Tt = !1), Y = () => i(42, Tt = !0);
23465
23475
  return t.$$set = (J) => {
23466
- "projectId" in J && i(0, r = J.projectId), "contentId" in J && i(1, a = J.contentId), "playlistId" in J && i(2, l = J.playlistId), "sourceId" in J && i(3, g = J.sourceId), "sourceUrl" in J && i(4, p = J.sourceUrl), "showUserInterface" in J && i(5, _ = J.showUserInterface), "playerStyle" in J && i(6, T = J.playerStyle), "playerTitle" in J && i(7, k = J.playerTitle), "callToAction" in J && i(8, C = J.callToAction), "skipButtonStyle" in J && i(9, F = J.skipButtonStyle), "playlistStyle" in J && i(10, U = J.playlistStyle), "playlistToggle" in J && i(11, V = J.playlistToggle), "mediaSession" in J && i(12, z = J.mediaSession), "content" in J && i(39, H = J.content), "contentIndex" in J && i(13, oe = J.contentIndex), "introsOutros" in J && i(40, ue = J.introsOutros), "introsOutrosIndex" in J && i(14, he = J.introsOutrosIndex), "adverts" in J && i(41, ge = J.adverts), "advertIndex" in J && i(15, le = J.advertIndex), "persistentAdImage" in J && i(16, be = J.persistentAdImage), "persistentIndex" in J && i(17, $ = J.persistentIndex), "duration" in J && i(18, L = J.duration), "currentTime" in J && i(19, ae = J.currentTime), "playbackState" in J && i(20, W = J.playbackState), "playbackRate" in J && i(21, Xe = J.playbackRate), "widgetStyle" in J && i(22, we = J.widgetStyle), "widgetPosition" in J && i(23, Ie = J.widgetPosition), "widgetWidth" in J && i(24, Oe = J.widgetWidth), "widgetTarget" in J && i(25, K = J.widgetTarget), "textColor" in J && i(26, Z = J.textColor), "backgroundColor" in J && i(27, B = J.backgroundColor), "iconColor" in J && i(28, Ke = J.iconColor), "highlightColor" in J && i(29, Me = J.highlightColor), "logoIconEnabled" in J && i(30, xe = J.logoIconEnabled), "highlightSections" in J && i(31, Fe = J.highlightSections), "clickableSections" in J && i(32, te = J.clickableSections), "segmentWidgetSections" in J && i(33, ve = J.segmentWidgetSections), "segmentWidgetPosition" in J && i(34, dt = J.segmentWidgetPosition), "advertConsent" in J && i(35, Ee = J.advertConsent), "analyticsConsent" in J && i(36, Le = J.analyticsConsent), "analyticsCustomUrl" in J && i(37, Ye = J.analyticsCustomUrl), "analyticsTag" in J && i(38, wt = J.analyticsTag);
23476
+ "projectId" in J && i(0, r = J.projectId), "contentId" in J && i(1, a = J.contentId), "playlistId" in J && i(2, l = J.playlistId), "sourceId" in J && i(3, g = J.sourceId), "sourceUrl" in J && i(4, p = J.sourceUrl), "showUserInterface" in J && i(5, _ = J.showUserInterface), "playerStyle" in J && i(6, T = J.playerStyle), "playerTitle" in J && i(7, k = J.playerTitle), "callToAction" in J && i(8, C = J.callToAction), "skipButtonStyle" in J && i(9, F = J.skipButtonStyle), "playlistStyle" in J && i(10, U = J.playlistStyle), "playlistToggle" in J && i(11, V = J.playlistToggle), "mediaSession" in J && i(12, z = J.mediaSession), "content" in J && i(39, H = J.content), "contentIndex" in J && i(13, oe = J.contentIndex), "introsOutros" in J && i(40, ue = J.introsOutros), "introsOutrosIndex" in J && i(14, he = J.introsOutrosIndex), "adverts" in J && i(41, ge = J.adverts), "advertIndex" in J && i(15, le = J.advertIndex), "persistentAdImage" in J && i(16, be = J.persistentAdImage), "persistentIndex" in J && i(17, $ = J.persistentIndex), "duration" in J && i(18, L = J.duration), "currentTime" in J && i(19, ae = J.currentTime), "playbackState" in J && i(20, W = J.playbackState), "playbackRate" in J && i(21, Xe = J.playbackRate), "widgetStyle" in J && i(22, we = J.widgetStyle), "widgetPosition" in J && i(23, Ie = J.widgetPosition), "widgetWidth" in J && i(24, Oe = J.widgetWidth), "widgetTarget" in J && i(25, K = J.widgetTarget), "textColor" in J && i(26, Z = J.textColor), "backgroundColor" in J && i(27, B = J.backgroundColor), "iconColor" in J && i(28, Ke = J.iconColor), "highlightColor" in J && i(29, Me = J.highlightColor), "logoIconEnabled" in J && i(30, xe = J.logoIconEnabled), "highlightSections" in J && i(31, Fe = J.highlightSections), "clickableSections" in J && i(32, te = J.clickableSections), "segmentWidgetSections" in J && i(33, ve = J.segmentWidgetSections), "segmentWidgetPosition" in J && i(34, ft = J.segmentWidgetPosition), "advertConsent" in J && i(35, Ee = J.advertConsent), "analyticsConsent" in J && i(36, Le = J.analyticsConsent), "analyticsCustomUrl" in J && i(37, Ye = J.analyticsCustomUrl), "analyticsTag" in J && i(38, wt = J.analyticsTag);
23467
23477
  }, [
23468
23478
  r,
23469
23479
  a,
@@ -23499,7 +23509,7 @@ function Rk(t, e, i) {
23499
23509
  Fe,
23500
23510
  te,
23501
23511
  ve,
23502
- dt,
23512
+ ft,
23503
23513
  Ee,
23504
23514
  Le,
23505
23515
  Ye,
@@ -23515,7 +23525,7 @@ function Rk(t, e, i) {
23515
23525
  lt,
23516
23526
  kt,
23517
23527
  Se,
23518
- ht,
23528
+ gt,
23519
23529
  $t,
23520
23530
  Gt,
23521
23531
  Ot,
@@ -24021,7 +24031,7 @@ function zk(t, e, i) {
24021
24031
  } } = e, xe = [], Fe = /* @__PURE__ */ new Set(), te = L.map(() => {
24022
24032
  }), ve = L.map(() => {
24023
24033
  });
24024
- const dt = () => i(15, Fe = Fe.add(H));
24034
+ const ft = () => i(15, Fe = Fe.add(H));
24025
24035
  function Ee(Le, Ye) {
24026
24036
  Ve[Le ? "unshift" : "push"](() => {
24027
24037
  te[Ye] = Le, i(0, te);
@@ -24060,7 +24070,7 @@ function zk(t, e, i) {
24060
24070
  1610612736 | t.$$.dirty[1] & /*pngArtworks*/
24061
24071
  1 && i(26, ge = Promise.all([...oe, ...ue, ...he])), t.$$.dirty[0] & /*contentItem*/
24062
24072
  134217728 && i(25, le = (g == null ? void 0 : g.title) || ""), t.$$.dirty[0] & /*artworks*/
24063
- 67108864 && ge.then((Le) => i(14, xe = Le)).catch(dt), t.$$.dirty[0] & /*title, artist, album, artwork*/
24073
+ 67108864 && ge.then((Le) => i(14, xe = Le)).catch(ft), t.$$.dirty[0] & /*title, artist, album, artwork*/
24064
24074
  58736640 && (navigator.mediaSession.metadata = new MediaMetadata({ title: le, artist: be, album: $, artwork: xe })), t.$$.dirty[0] & /*onEvent*/
24065
24075
  8192 && navigator.mediaSession.setActionHandler("play", () => {
24066
24076
  Me(rt({
@@ -24322,8 +24332,8 @@ var ha, Ol, po, cf;
24322
24332
  class ou {
24323
24333
  constructor(e, i) {
24324
24334
  // private
24325
- ft(this, ha);
24326
- ft(this, po);
24335
+ ht(this, ha);
24336
+ ht(this, po);
24327
24337
  this.onSelected = e, this.onDeselected = i, this.consumers = {};
24328
24338
  }
24329
24339
  addInterest(e, i, ...r) {
@@ -24361,7 +24371,7 @@ var ga, _o, df, yo, ff;
24361
24371
  const Es = class {
24362
24372
  update(e, i, r, a) {
24363
24373
  const l = oa(e, i, r), g = this[`prev${e}`], p = l ? i == null ? void 0 : i.marker : null;
24364
- p && Rr(Es, ga).addInterest(p, this, a), g && Rr(Es, ga).removeInterest(g, this), this[`prev${e}`] = p;
24374
+ p && Ir(Es, ga).addInterest(p, this, a), g && Ir(Es, ga).removeInterest(g, this), this[`prev${e}`] = p;
24365
24375
  }
24366
24376
  };
24367
24377
  let ys = Es;
@@ -24386,13 +24396,13 @@ ga = new WeakMap(), _o = new WeakSet(), df = function(e, i) {
24386
24396
  for (const g of l.childNodes)
24387
24397
  l.parentNode.insertBefore(g, l), l.remove();
24388
24398
  }
24389
- }, ft(ys, _o), ft(ys, yo), ft(ys, ga, new ou(ce(Es, _o, df), ce(Es, yo, ff)));
24399
+ }, ht(ys, _o), ht(ys, yo), ht(ys, ga, new ou(ce(Es, _o, df), ce(Es, yo, ff)));
24390
24400
  const ld = ["beyondwords-clickable", "bwp"];
24391
24401
  var va, bo, hf, So, gf;
24392
24402
  const As = class {
24393
24403
  update(e, i) {
24394
24404
  const r = oa("hovered", e, i), a = this.previous, l = r ? e == null ? void 0 : e.marker : null;
24395
- l && Rr(As, va).addInterest(l, this), a && Rr(As, va).removeInterest(a, this), this.previous = l;
24405
+ l && Ir(As, va).addInterest(l, this), a && Ir(As, va).removeInterest(a, this), this.previous = l;
24396
24406
  }
24397
24407
  };
24398
24408
  let bs = As;
@@ -24404,7 +24414,7 @@ va = new WeakMap(), bo = new WeakSet(), hf = function(e) {
24404
24414
  const i = document.querySelectorAll(`[${Un}="${e}"]`);
24405
24415
  for (const r of i)
24406
24416
  vf(r, ld);
24407
- }, ft(bs, bo), ft(bs, So), ft(bs, va, new ou(ce(As, bo, hf), ce(As, So, gf)));
24417
+ }, ht(bs, bo), ht(bs, So), ht(bs, va, new ou(ce(As, bo, hf), ce(As, So, gf)));
24408
24418
  const vf = (t, e) => {
24409
24419
  if (!t)
24410
24420
  return;
@@ -24418,7 +24428,7 @@ const xs = class {
24418
24428
  }
24419
24429
  update(e, i, r, a) {
24420
24430
  const l = i.includes("all") || i.includes("body"), g = this.previous, p = (e == null ? void 0 : e.marker) || l && (g == null ? void 0 : g.marker);
24421
- p && Rr(xs, ma).addInterest(p, this, this, r, a), g && Rr(xs, ma).removeInterest(g, this), this.previous = p;
24431
+ p && Ir(xs, ma).addInterest(p, this, this, r, a), g && Ir(xs, ma).removeInterest(g, this), this.previous = p;
24422
24432
  }
24423
24433
  reset() {
24424
24434
  this.update(null, "none");
@@ -24441,7 +24451,7 @@ ma = new WeakMap(), To = new WeakSet(), mf = function(e, i, r, a) {
24441
24451
  vf(_, cd), i.containers[g].remove(), i.containers.splice(g, 1), g -= 1;
24442
24452
  }
24443
24453
  i.onUpdate(i.containers);
24444
- }, ft(Ss, To), ft(Ss, ko), ft(Ss, ma, new ou(ce(xs, To, mf), ce(xs, ko, pf)));
24454
+ }, ht(Ss, To), ht(Ss, ko), ht(Ss, ma, new ou(ce(xs, To, mf), ce(xs, ko, pf)));
24445
24455
  const Qk = () => rt({
24446
24456
  type: "IdentifiersChanged",
24447
24457
  description: "The Player's content identifiers changed.",
@@ -24463,7 +24473,7 @@ var Eo, _f;
24463
24473
  class e2 {
24464
24474
  constructor(e, i, r) {
24465
24475
  // private
24466
- ft(this, Eo);
24476
+ ht(this, Eo);
24467
24477
  this.baseUrl = ce(this, Eo, _f).call(this, e), this.projectId = i, this.writeToken = r;
24468
24478
  }
24469
24479
  getWebSocketToken() {
@@ -25110,7 +25120,7 @@ function vd(t) {
25110
25120
  };
25111
25121
  }
25112
25122
  function p2(t) {
25113
- let e, i, r, a, l, g, p, _, T, k, C, F, U, V, z, H, oe, ue, he, ge, le, be, $, L, ae, W, Xe, we, Ie, Oe, K, Z, B, Ke, Me, xe, Fe, te, ve, dt, Ee, Le, Ye;
25123
+ let e, i, r, a, l, g, p, _, T, k, C, F, U, V, z, H, oe, ue, he, ge, le, be, $, L, ae, W, Xe, we, Ie, Oe, K, Z, B, Ke, Me, xe, Fe, te, ve, ft, Ee, Le, Ye;
25114
25124
  function wt(Y) {
25115
25125
  t[93](Y);
25116
25126
  }
@@ -25138,7 +25148,7 @@ function p2(t) {
25138
25148
  function Se(Y) {
25139
25149
  t[101](Y);
25140
25150
  }
25141
- function ht(Y) {
25151
+ function gt(Y) {
25142
25152
  t[102](Y);
25143
25153
  }
25144
25154
  function $t(Y) {
@@ -25331,7 +25341,7 @@ function p2(t) {
25331
25341
  t[40] !== void 0 && (Ue.analyticsCustomUrl = /*analyticsCustomUrl*/
25332
25342
  t[40]), /*analyticsTag*/
25333
25343
  t[41] !== void 0 && (Ue.analyticsTag = /*analyticsTag*/
25334
- t[41]), e = new Dk({ props: Ue }), Ve.push(() => Qe(e, "projectId", wt)), Ve.push(() => Qe(e, "contentId", Tt)), Ve.push(() => Qe(e, "playlistId", qt)), Ve.push(() => Qe(e, "sourceId", yt)), Ve.push(() => Qe(e, "sourceUrl", Ut)), Ve.push(() => Qe(e, "showUserInterface", Vt)), Ve.push(() => Qe(e, "playerStyle", lt)), Ve.push(() => Qe(e, "playerTitle", kt)), Ve.push(() => Qe(e, "callToAction", Se)), Ve.push(() => Qe(e, "skipButtonStyle", ht)), Ve.push(() => Qe(e, "playlistStyle", $t)), Ve.push(() => Qe(e, "playlistToggle", Gt)), Ve.push(() => Qe(e, "mediaSession", Ot)), Ve.push(() => Qe(e, "contentIndex", bt)), Ve.push(() => Qe(e, "introsOutrosIndex", st)), Ve.push(() => Qe(e, "advertIndex", Bt)), Ve.push(() => Qe(e, "persistentAdImage", si)), Ve.push(() => Qe(e, "persistentIndex", ai)), Ve.push(() => Qe(e, "duration", It)), Ve.push(() => Qe(e, "currentTime", Rt)), Ve.push(() => Qe(e, "playbackState", Dt)), Ve.push(() => Qe(e, "playbackRate", Wt)), Ve.push(() => Qe(e, "widgetStyle", ei)), Ve.push(() => Qe(e, "widgetPosition", Xt)), Ve.push(() => Qe(e, "widgetWidth", ti)), Ve.push(() => Qe(e, "widgetTarget", ui)), Ve.push(() => Qe(e, "textColor", Ct)), Ve.push(() => Qe(e, "backgroundColor", at)), Ve.push(() => Qe(e, "iconColor", ii)), Ve.push(() => Qe(e, "highlightColor", De)), Ve.push(() => Qe(e, "logoIconEnabled", ci)), Ve.push(() => Qe(e, "highlightSections", zt)), Ve.push(() => Qe(e, "clickableSections", Ze)), Ve.push(() => Qe(e, "segmentWidgetSections", bi)), Ve.push(() => Qe(e, "segmentWidgetPosition", Mt)), Ve.push(() => Qe(e, "currentSegment", me)), Ve.push(() => Qe(e, "hoveredSegment", di)), Ve.push(() => Qe(e, "advertConsent", fi)), Ve.push(() => Qe(e, "analyticsConsent", _i)), Ve.push(() => Qe(e, "analyticsCustomUrl", hi)), Ve.push(() => Qe(e, "analyticsTag", Ai)), {
25344
+ t[41]), e = new Dk({ props: Ue }), Ve.push(() => Qe(e, "projectId", wt)), Ve.push(() => Qe(e, "contentId", Tt)), Ve.push(() => Qe(e, "playlistId", qt)), Ve.push(() => Qe(e, "sourceId", yt)), Ve.push(() => Qe(e, "sourceUrl", Ut)), Ve.push(() => Qe(e, "showUserInterface", Vt)), Ve.push(() => Qe(e, "playerStyle", lt)), Ve.push(() => Qe(e, "playerTitle", kt)), Ve.push(() => Qe(e, "callToAction", Se)), Ve.push(() => Qe(e, "skipButtonStyle", gt)), Ve.push(() => Qe(e, "playlistStyle", $t)), Ve.push(() => Qe(e, "playlistToggle", Gt)), Ve.push(() => Qe(e, "mediaSession", Ot)), Ve.push(() => Qe(e, "contentIndex", bt)), Ve.push(() => Qe(e, "introsOutrosIndex", st)), Ve.push(() => Qe(e, "advertIndex", Bt)), Ve.push(() => Qe(e, "persistentAdImage", si)), Ve.push(() => Qe(e, "persistentIndex", ai)), Ve.push(() => Qe(e, "duration", It)), Ve.push(() => Qe(e, "currentTime", Rt)), Ve.push(() => Qe(e, "playbackState", Dt)), Ve.push(() => Qe(e, "playbackRate", Wt)), Ve.push(() => Qe(e, "widgetStyle", ei)), Ve.push(() => Qe(e, "widgetPosition", Xt)), Ve.push(() => Qe(e, "widgetWidth", ti)), Ve.push(() => Qe(e, "widgetTarget", ui)), Ve.push(() => Qe(e, "textColor", Ct)), Ve.push(() => Qe(e, "backgroundColor", at)), Ve.push(() => Qe(e, "iconColor", ii)), Ve.push(() => Qe(e, "highlightColor", De)), Ve.push(() => Qe(e, "logoIconEnabled", ci)), Ve.push(() => Qe(e, "highlightSections", zt)), Ve.push(() => Qe(e, "clickableSections", Ze)), Ve.push(() => Qe(e, "segmentWidgetSections", bi)), Ve.push(() => Qe(e, "segmentWidgetPosition", Mt)), Ve.push(() => Qe(e, "currentSegment", me)), Ve.push(() => Qe(e, "hoveredSegment", di)), Ve.push(() => Qe(e, "advertConsent", fi)), Ve.push(() => Qe(e, "analyticsConsent", _i)), Ve.push(() => Qe(e, "analyticsCustomUrl", hi)), Ve.push(() => Qe(e, "analyticsTag", Ai)), {
25335
25345
  c() {
25336
25346
  He(e.$$.fragment);
25337
25347
  },
@@ -25422,9 +25432,9 @@ function p2(t) {
25422
25432
  1048576 && (te = !0, Ne.hoveredSegment = /*hoveredSegment*/
25423
25433
  Y[20], Je(() => te = !1)), !ve && J[1] & /*advertConsent*/
25424
25434
  128 && (ve = !0, Ne.advertConsent = /*advertConsent*/
25425
- Y[38], Je(() => ve = !1)), !dt && J[1] & /*analyticsConsent*/
25426
- 256 && (dt = !0, Ne.analyticsConsent = /*analyticsConsent*/
25427
- Y[39], Je(() => dt = !1)), !Ee && J[1] & /*analyticsCustomUrl*/
25435
+ Y[38], Je(() => ve = !1)), !ft && J[1] & /*analyticsConsent*/
25436
+ 256 && (ft = !0, Ne.analyticsConsent = /*analyticsConsent*/
25437
+ Y[39], Je(() => ft = !1)), !Ee && J[1] & /*analyticsCustomUrl*/
25428
25438
  512 && (Ee = !0, Ne.analyticsCustomUrl = /*analyticsCustomUrl*/
25429
25439
  Y[40], Je(() => Ee = !1)), !Le && J[1] & /*analyticsTag*/
25430
25440
  1024 && (Le = !0, Ne.analyticsTag = /*analyticsTag*/
@@ -25751,7 +25761,7 @@ function _2(t) {
25751
25761
  };
25752
25762
  }
25753
25763
  function y2(t, e, i) {
25754
- let r, a, l, g, p, _, T, k, C, F, U, V, z, { playerApiUrl: H = "https://api.beyondwords.io/v1/projects/{id}/player" } = e, { projectId: oe = void 0 } = e, { contentId: ue = void 0 } = e, { playlistId: he = void 0 } = e, { sourceId: ge = void 0 } = e, { sourceUrl: le = void 0 } = e, { playlist: be = [] } = e, { showUserInterface: $ = !0 } = e, { playerStyle: L = "standard" } = e, { playerTitle: ae = void 0 } = e, { callToAction: W = void 0 } = e, { skipButtonStyle: Xe = "auto" } = e, { playlistStyle: we = "auto-5-4" } = e, { playlistToggle: Ie = "auto" } = e, { downloadFormats: Oe = [] } = e, { mediaSession: K = "auto" } = e, { content: Z = [] } = e, { contentIndex: B = 0 } = e, { introsOutros: Ke = [] } = e, { introsOutrosIndex: Me = -1 } = e, { adverts: xe = [] } = e, { advertIndex: Fe = -1 } = e, { persistentAdImage: te = !1 } = e, { persistentIndex: ve = -1 } = e, { duration: dt = 0 } = e, { currentTime: Ee = 0 } = e, { playbackState: Le = "stopped" } = e, { playbackRate: Ye = 1 } = e, { widgetStyle: wt = "standard" } = e, { widgetPosition: Tt = "auto" } = e, { widgetWidth: qt = "auto" } = e, { widgetTarget: yt = void 0 } = e, { textColor: Ut = "#111" } = e, { backgroundColor: Vt = "#f5f5f5" } = e, { iconColor: lt = "rgba(0, 0, 0, 0.8)" } = e, { highlightColor: kt = "#eee" } = e, { logoIconEnabled: Se = !0 } = e, { highlightSections: ht = "all" } = e, { clickableSections: $t = "all" } = e, { segmentWidgetSections: Gt = "body" } = e, { segmentWidgetPosition: Ot = "7-oclock" } = e, { currentSegment: bt = void 0 } = e, { hoveredSegment: st = void 0 } = e, { advertConsent: Bt = "personalized" } = e, { analyticsConsent: si = "allowed" } = e, { analyticsCustomUrl: ai = void 0 } = e, { analyticsTag: It = void 0 } = e, { writeToken: Rt = void 0 } = e, { captureErrors: Dt = !0 } = e, { transitions: Wt = [] } = e, { controlPanel: ei = void 0 } = e;
25764
+ let r, a, l, g, p, _, T, k, C, F, U, V, z, { playerApiUrl: H = "https://api.beyondwords.io/v1/projects/{id}/player" } = e, { projectId: oe = void 0 } = e, { contentId: ue = void 0 } = e, { playlistId: he = void 0 } = e, { sourceId: ge = void 0 } = e, { sourceUrl: le = void 0 } = e, { playlist: be = [] } = e, { showUserInterface: $ = !0 } = e, { playerStyle: L = "standard" } = e, { playerTitle: ae = void 0 } = e, { callToAction: W = void 0 } = e, { skipButtonStyle: Xe = "auto" } = e, { playlistStyle: we = "auto-5-4" } = e, { playlistToggle: Ie = "auto" } = e, { downloadFormats: Oe = [] } = e, { mediaSession: K = "auto" } = e, { content: Z = [] } = e, { contentIndex: B = 0 } = e, { introsOutros: Ke = [] } = e, { introsOutrosIndex: Me = -1 } = e, { adverts: xe = [] } = e, { advertIndex: Fe = -1 } = e, { persistentAdImage: te = !1 } = e, { persistentIndex: ve = -1 } = e, { duration: ft = 0 } = e, { currentTime: Ee = 0 } = e, { playbackState: Le = "stopped" } = e, { playbackRate: Ye = 1 } = e, { widgetStyle: wt = "standard" } = e, { widgetPosition: Tt = "auto" } = e, { widgetWidth: qt = "auto" } = e, { widgetTarget: yt = void 0 } = e, { textColor: Ut = "#111" } = e, { backgroundColor: Vt = "#f5f5f5" } = e, { iconColor: lt = "rgba(0, 0, 0, 0.8)" } = e, { highlightColor: kt = "#eee" } = e, { logoIconEnabled: Se = !0 } = e, { highlightSections: gt = "all" } = e, { clickableSections: $t = "all" } = e, { segmentWidgetSections: Gt = "body" } = e, { segmentWidgetPosition: Ot = "7-oclock" } = e, { currentSegment: bt = void 0 } = e, { hoveredSegment: st = void 0 } = e, { advertConsent: Bt = "personalized" } = e, { analyticsConsent: si = "allowed" } = e, { analyticsCustomUrl: ai = void 0 } = e, { analyticsTag: It = void 0 } = e, { writeToken: Rt = void 0 } = e, { captureErrors: Dt = !0 } = e, { transitions: Wt = [] } = e, { controlPanel: ei = void 0 } = e;
25755
25765
  const Xt = (...R) => Ze.addEventListener(...R), ti = (...R) => Ze.removeEventListener(...R);
25756
25766
  let { initialProps: ui = {} } = e, { showBottomWidget: Ct = !1 } = e, { showMediaSession: at = !1 } = e, { isFullScreen: ii = !1 } = e, { mediaElement: De = void 0 } = e, { userInterface: ci = void 0 } = e, { widgetInterface: zt = void 0 } = e, { controller: Ze = void 0 } = e, { analyticsUrl: bi = void 0 } = e, { analyticsId: Mt = void 0 } = e, { listenSessionId: me = void 0 } = e, { sessionCreatedAt: di = void 0 } = e, { emitPlayEvent: fi = void 0 } = e, { prevPercentage: _i = 0 } = e, { segmentWidgets: hi = [] } = e, { segmentContainers: Ai = new Ss((R) => i(46, hi = R)) } = e, { segmentClickables: Ue = new bs() } = e, { segmentHighlights: Y = new ys() } = e;
25757
25767
  const J = (R) => Ze.processEvent(de({ emittedFrom: p }, R)), Ne = () => i(82, k = st);
@@ -25764,12 +25774,12 @@ function y2(t, e, i) {
25764
25774
  Le = R, i(30, Le);
25765
25775
  }
25766
25776
  function Nr(R) {
25767
- dt = R, i(29, dt);
25777
+ ft = R, i(29, ft);
25768
25778
  }
25769
25779
  function ri(R) {
25770
25780
  Ee = R, i(11, Ee);
25771
25781
  }
25772
- function ur(R) {
25782
+ function lr(R) {
25773
25783
  Ye = R, i(31, Ye);
25774
25784
  }
25775
25785
  function Ki(R) {
@@ -25790,7 +25800,7 @@ function y2(t, e, i) {
25790
25800
  widgetSegment: U,
25791
25801
  widgetIsCurrent: V
25792
25802
  }));
25793
- function yr(R) {
25803
+ function _r(R) {
25794
25804
  oe = R, i(0, oe);
25795
25805
  }
25796
25806
  function xi(R) {
@@ -25802,7 +25812,7 @@ function y2(t, e, i) {
25802
25812
  function ir(R) {
25803
25813
  ge = R, i(3, ge);
25804
25814
  }
25805
- function br(R) {
25815
+ function yr(R) {
25806
25816
  le = R, i(4, le);
25807
25817
  }
25808
25818
  function Bi(R) {
@@ -25826,7 +25836,7 @@ function y2(t, e, i) {
25826
25836
  function Kt(R) {
25827
25837
  Ie = R, i(26, Ie);
25828
25838
  }
25829
- function cr(R) {
25839
+ function ur(R) {
25830
25840
  K = R, i(27, K);
25831
25841
  }
25832
25842
  function Zt(R) {
@@ -25844,10 +25854,10 @@ function y2(t, e, i) {
25844
25854
  function ot(R) {
25845
25855
  ve = R, i(10, ve);
25846
25856
  }
25847
- function xr(R) {
25848
- dt = R, i(29, dt);
25857
+ function Ar(R) {
25858
+ ft = R, i(29, ft);
25849
25859
  }
25850
- function Sr(R) {
25860
+ function br(R) {
25851
25861
  Ee = R, i(11, Ee);
25852
25862
  }
25853
25863
  function Fr(R) {
@@ -25874,28 +25884,28 @@ function y2(t, e, i) {
25874
25884
  function Vr(R) {
25875
25885
  Vt = R, i(35, Vt);
25876
25886
  }
25877
- function Tr(R) {
25887
+ function Sr(R) {
25878
25888
  lt = R, i(36, lt);
25879
25889
  }
25880
- function dr(R) {
25890
+ function cr(R) {
25881
25891
  kt = R, i(14, kt);
25882
25892
  }
25883
25893
  function bn(R) {
25884
25894
  Se = R, i(37, Se);
25885
25895
  }
25886
25896
  function nn(R) {
25887
- ht = R, i(15, ht);
25897
+ gt = R, i(15, gt);
25888
25898
  }
25889
25899
  function us(R) {
25890
25900
  $t = R, i(16, $t);
25891
25901
  }
25892
- function fr(R) {
25902
+ function dr(R) {
25893
25903
  Gt = R, i(17, Gt);
25894
25904
  }
25895
25905
  function Sn(R) {
25896
25906
  Ot = R, i(18, Ot);
25897
25907
  }
25898
- function Pr(R) {
25908
+ function xr(R) {
25899
25909
  bt = R, i(19, bt);
25900
25910
  }
25901
25911
  function cs(R) {
@@ -25910,11 +25920,11 @@ function y2(t, e, i) {
25910
25920
  function Tn(R) {
25911
25921
  ai = R, i(40, ai);
25912
25922
  }
25913
- function wr(R) {
25923
+ function Pr(R) {
25914
25924
  It = R, i(41, It);
25915
25925
  }
25916
25926
  return t.$$set = (R) => {
25917
- "playerApiUrl" in R && i(63, H = R.playerApiUrl), "projectId" in R && i(0, oe = R.projectId), "contentId" in R && i(1, ue = R.contentId), "playlistId" in R && i(2, he = R.playlistId), "sourceId" in R && i(3, ge = R.sourceId), "sourceUrl" in R && i(4, le = R.sourceUrl), "playlist" in R && i(64, be = R.playlist), "showUserInterface" in R && i(5, $ = R.showUserInterface), "playerStyle" in R && i(6, L = R.playerStyle), "playerTitle" in R && i(22, ae = R.playerTitle), "callToAction" in R && i(23, W = R.callToAction), "skipButtonStyle" in R && i(24, Xe = R.skipButtonStyle), "playlistStyle" in R && i(25, we = R.playlistStyle), "playlistToggle" in R && i(26, Ie = R.playlistToggle), "downloadFormats" in R && i(47, Oe = R.downloadFormats), "mediaSession" in R && i(27, K = R.mediaSession), "content" in R && i(48, Z = R.content), "contentIndex" in R && i(7, B = R.contentIndex), "introsOutros" in R && i(49, Ke = R.introsOutros), "introsOutrosIndex" in R && i(8, Me = R.introsOutrosIndex), "adverts" in R && i(50, xe = R.adverts), "advertIndex" in R && i(9, Fe = R.advertIndex), "persistentAdImage" in R && i(28, te = R.persistentAdImage), "persistentIndex" in R && i(10, ve = R.persistentIndex), "duration" in R && i(29, dt = R.duration), "currentTime" in R && i(11, Ee = R.currentTime), "playbackState" in R && i(30, Le = R.playbackState), "playbackRate" in R && i(31, Ye = R.playbackRate), "widgetStyle" in R && i(12, wt = R.widgetStyle), "widgetPosition" in R && i(32, Tt = R.widgetPosition), "widgetWidth" in R && i(33, qt = R.widgetWidth), "widgetTarget" in R && i(13, yt = R.widgetTarget), "textColor" in R && i(34, Ut = R.textColor), "backgroundColor" in R && i(35, Vt = R.backgroundColor), "iconColor" in R && i(36, lt = R.iconColor), "highlightColor" in R && i(14, kt = R.highlightColor), "logoIconEnabled" in R && i(37, Se = R.logoIconEnabled), "highlightSections" in R && i(15, ht = R.highlightSections), "clickableSections" in R && i(16, $t = R.clickableSections), "segmentWidgetSections" in R && i(17, Gt = R.segmentWidgetSections), "segmentWidgetPosition" in R && i(18, Ot = R.segmentWidgetPosition), "currentSegment" in R && i(19, bt = R.currentSegment), "hoveredSegment" in R && i(20, st = R.hoveredSegment), "advertConsent" in R && i(38, Bt = R.advertConsent), "analyticsConsent" in R && i(39, si = R.analyticsConsent), "analyticsCustomUrl" in R && i(40, ai = R.analyticsCustomUrl), "analyticsTag" in R && i(41, It = R.analyticsTag), "writeToken" in R && i(65, Rt = R.writeToken), "captureErrors" in R && i(66, Dt = R.captureErrors), "transitions" in R && i(67, Wt = R.transitions), "controlPanel" in R && i(21, ei = R.controlPanel), "initialProps" in R && i(70, ui = R.initialProps), "showBottomWidget" in R && i(51, Ct = R.showBottomWidget), "showMediaSession" in R && i(52, at = R.showMediaSession), "isFullScreen" in R && i(71, ii = R.isFullScreen), "mediaElement" in R && i(42, De = R.mediaElement), "userInterface" in R && i(43, ci = R.userInterface), "widgetInterface" in R && i(44, zt = R.widgetInterface), "controller" in R && i(72, Ze = R.controller), "analyticsUrl" in R && i(73, bi = R.analyticsUrl), "analyticsId" in R && i(74, Mt = R.analyticsId), "listenSessionId" in R && i(75, me = R.listenSessionId), "sessionCreatedAt" in R && i(76, di = R.sessionCreatedAt), "emitPlayEvent" in R && i(77, fi = R.emitPlayEvent), "prevPercentage" in R && i(45, _i = R.prevPercentage), "segmentWidgets" in R && i(46, hi = R.segmentWidgets), "segmentContainers" in R && i(78, Ai = R.segmentContainers), "segmentClickables" in R && i(79, Ue = R.segmentClickables), "segmentHighlights" in R && i(80, Y = R.segmentHighlights);
25927
+ "playerApiUrl" in R && i(63, H = R.playerApiUrl), "projectId" in R && i(0, oe = R.projectId), "contentId" in R && i(1, ue = R.contentId), "playlistId" in R && i(2, he = R.playlistId), "sourceId" in R && i(3, ge = R.sourceId), "sourceUrl" in R && i(4, le = R.sourceUrl), "playlist" in R && i(64, be = R.playlist), "showUserInterface" in R && i(5, $ = R.showUserInterface), "playerStyle" in R && i(6, L = R.playerStyle), "playerTitle" in R && i(22, ae = R.playerTitle), "callToAction" in R && i(23, W = R.callToAction), "skipButtonStyle" in R && i(24, Xe = R.skipButtonStyle), "playlistStyle" in R && i(25, we = R.playlistStyle), "playlistToggle" in R && i(26, Ie = R.playlistToggle), "downloadFormats" in R && i(47, Oe = R.downloadFormats), "mediaSession" in R && i(27, K = R.mediaSession), "content" in R && i(48, Z = R.content), "contentIndex" in R && i(7, B = R.contentIndex), "introsOutros" in R && i(49, Ke = R.introsOutros), "introsOutrosIndex" in R && i(8, Me = R.introsOutrosIndex), "adverts" in R && i(50, xe = R.adverts), "advertIndex" in R && i(9, Fe = R.advertIndex), "persistentAdImage" in R && i(28, te = R.persistentAdImage), "persistentIndex" in R && i(10, ve = R.persistentIndex), "duration" in R && i(29, ft = R.duration), "currentTime" in R && i(11, Ee = R.currentTime), "playbackState" in R && i(30, Le = R.playbackState), "playbackRate" in R && i(31, Ye = R.playbackRate), "widgetStyle" in R && i(12, wt = R.widgetStyle), "widgetPosition" in R && i(32, Tt = R.widgetPosition), "widgetWidth" in R && i(33, qt = R.widgetWidth), "widgetTarget" in R && i(13, yt = R.widgetTarget), "textColor" in R && i(34, Ut = R.textColor), "backgroundColor" in R && i(35, Vt = R.backgroundColor), "iconColor" in R && i(36, lt = R.iconColor), "highlightColor" in R && i(14, kt = R.highlightColor), "logoIconEnabled" in R && i(37, Se = R.logoIconEnabled), "highlightSections" in R && i(15, gt = R.highlightSections), "clickableSections" in R && i(16, $t = R.clickableSections), "segmentWidgetSections" in R && i(17, Gt = R.segmentWidgetSections), "segmentWidgetPosition" in R && i(18, Ot = R.segmentWidgetPosition), "currentSegment" in R && i(19, bt = R.currentSegment), "hoveredSegment" in R && i(20, st = R.hoveredSegment), "advertConsent" in R && i(38, Bt = R.advertConsent), "analyticsConsent" in R && i(39, si = R.analyticsConsent), "analyticsCustomUrl" in R && i(40, ai = R.analyticsCustomUrl), "analyticsTag" in R && i(41, It = R.analyticsTag), "writeToken" in R && i(65, Rt = R.writeToken), "captureErrors" in R && i(66, Dt = R.captureErrors), "transitions" in R && i(67, Wt = R.transitions), "controlPanel" in R && i(21, ei = R.controlPanel), "initialProps" in R && i(70, ui = R.initialProps), "showBottomWidget" in R && i(51, Ct = R.showBottomWidget), "showMediaSession" in R && i(52, at = R.showMediaSession), "isFullScreen" in R && i(71, ii = R.isFullScreen), "mediaElement" in R && i(42, De = R.mediaElement), "userInterface" in R && i(43, ci = R.userInterface), "widgetInterface" in R && i(44, zt = R.widgetInterface), "controller" in R && i(72, Ze = R.controller), "analyticsUrl" in R && i(73, bi = R.analyticsUrl), "analyticsId" in R && i(74, Mt = R.analyticsId), "listenSessionId" in R && i(75, me = R.listenSessionId), "sessionCreatedAt" in R && i(76, di = R.sessionCreatedAt), "emitPlayEvent" in R && i(77, fi = R.emitPlayEvent), "prevPercentage" in R && i(45, _i = R.prevPercentage), "segmentWidgets" in R && i(46, hi = R.segmentWidgets), "segmentContainers" in R && i(78, Ai = R.segmentContainers), "segmentClickables" in R && i(79, Ue = R.segmentClickables), "segmentHighlights" in R && i(80, Y = R.segmentHighlights);
25918
25928
  }, t.$$.update = () => {
25919
25929
  t.$$.dirty[0] & /*introsOutrosIndex*/
25920
25930
  256 | t.$$.dirty[1] & /*introsOutros*/
@@ -25957,9 +25967,9 @@ function y2(t, e, i) {
25957
25967
  1114112 | t.$$.dirty[2] & /*segmentClickables*/
25958
25968
  131072 && Ue.update(st, $t), t.$$.dirty[0] & /*currentSegment, highlightSections, highlightColor*/
25959
25969
  573440 | t.$$.dirty[2] & /*segmentHighlights*/
25960
- 262144 && Y.update("current", bt, ht, kt), t.$$.dirty[0] & /*hoveredSegment, highlightSections, highlightColor*/
25970
+ 262144 && Y.update("current", bt, gt, kt), t.$$.dirty[0] & /*hoveredSegment, highlightSections, highlightColor*/
25961
25971
  1097728 | t.$$.dirty[2] & /*segmentHighlights*/
25962
- 262144 && Y.update("hovered", st, ht, kt), t.$$.dirty[0] & /*currentTime*/
25972
+ 262144 && Y.update("hovered", st, gt, kt), t.$$.dirty[0] & /*currentTime*/
25963
25973
  2048 | t.$$.dirty[2] & /*transitions, controller*/
25964
25974
  1056 && o2(Wt, Ze, Ee);
25965
25975
  }, [
@@ -25978,7 +25988,7 @@ function y2(t, e, i) {
25978
25988
  wt,
25979
25989
  yt,
25980
25990
  kt,
25981
- ht,
25991
+ gt,
25982
25992
  $t,
25983
25993
  Gt,
25984
25994
  Ot,
@@ -25992,7 +26002,7 @@ function y2(t, e, i) {
25992
26002
  Ie,
25993
26003
  K,
25994
26004
  te,
25995
- dt,
26005
+ ft,
25996
26006
  Le,
25997
26007
  Ye,
25998
26008
  Tt,
@@ -26051,16 +26061,16 @@ function y2(t, e, i) {
26051
26061
  Di,
26052
26062
  Nr,
26053
26063
  ri,
26054
- ur,
26064
+ lr,
26055
26065
  Ki,
26056
26066
  Yi,
26057
26067
  Oi,
26058
26068
  tr,
26059
- yr,
26069
+ _r,
26060
26070
  xi,
26061
26071
  Pi,
26062
26072
  ir,
26063
- br,
26073
+ yr,
26064
26074
  Bi,
26065
26075
  yi,
26066
26076
  Mi,
@@ -26068,14 +26078,14 @@ function y2(t, e, i) {
26068
26078
  Ht,
26069
26079
  Ni,
26070
26080
  Kt,
26071
- cr,
26081
+ ur,
26072
26082
  Zt,
26073
26083
  j,
26074
26084
  pe,
26075
26085
  _e,
26076
26086
  ot,
26077
- xr,
26078
- Sr,
26087
+ Ar,
26088
+ br,
26079
26089
  Fr,
26080
26090
  os,
26081
26091
  rn,
@@ -26084,19 +26094,19 @@ function y2(t, e, i) {
26084
26094
  Ur,
26085
26095
  Si,
26086
26096
  Vr,
26087
- Tr,
26088
- dr,
26097
+ Sr,
26098
+ cr,
26089
26099
  bn,
26090
26100
  nn,
26091
26101
  us,
26092
- fr,
26102
+ dr,
26093
26103
  Sn,
26094
- Pr,
26104
+ xr,
26095
26105
  cs,
26096
26106
  Wn,
26097
26107
  jn,
26098
26108
  Tn,
26099
- wr
26109
+ Pr
26100
26110
  ];
26101
26111
  }
26102
26112
  let b2 = class extends it {
@@ -26662,6 +26672,7 @@ const Ml = (t) => typeof t != "object" || t === null ? t : Array.isArray(t) ? t.
26662
26672
  id: g.id,
26663
26673
  title: g.title,
26664
26674
  imageUrl: a && (((p = e.playlist) == null ? void 0 : p.image_url) || g.image_url || e.settings.image_url),
26675
+ sourceId: g.source_id,
26665
26676
  sourceUrl: g.source_url,
26666
26677
  adsEnabled: g.ads_enabled,
26667
26678
  duration: g.audio[0] ? g.audio[0].duration / 1e3 : 0,
@@ -26858,37 +26869,37 @@ const Ml = (t) => typeof t != "object" || t === null ? t : Array.isArray(t) ? t.
26858
26869
  for (const l of t.instances())
26859
26870
  l.showBottomWidget = l === i;
26860
26871
  }, $2 = { playing: 2, paused: 1, stopped: 0 };
26861
- var Ao, xf, xo, Pf, pa, Nl, Po, wf, wo, Cf, Dr, hn, vn, qn, lr, Er, Co, Lf, es, Js, mn, Xn, Lo, If, _a, Fl, $r, Cn, ya, Ul, pn, Zn, Li, Zi, _n, Jn, en, Ln, Io, Rf, Ro, Df, ts, Qs, ba, Vl, Do, Of, Oo, Bf, Bo, Mf, Mo, Nf;
26872
+ var Ao, xf, xo, Pf, pa, Nl, Po, wf, wo, Cf, Rr, hn, vn, qn, or, kr, Co, Lf, es, Js, mn, Xn, Lo, If, _a, Fl, $r, Cn, ya, Ul, pn, Zn, Li, Ji, _n, Jn, en, Ln, Io, Rf, Ro, Df, ts, Qs, ba, Vl, Do, Of, Oo, Bf, Bo, Mf, Mo, Nf;
26862
26873
  class e3 {
26863
26874
  constructor(e, i) {
26864
26875
  // private
26865
- ft(this, Ao);
26866
- ft(this, xo);
26867
- ft(this, pa);
26868
- ft(this, Po);
26869
- ft(this, wo);
26870
- ft(this, Dr);
26871
- ft(this, vn);
26872
- ft(this, lr);
26873
- ft(this, Co);
26874
- ft(this, es);
26875
- ft(this, mn);
26876
- ft(this, Lo);
26877
- ft(this, _a);
26878
- ft(this, $r);
26879
- ft(this, ya);
26880
- ft(this, pn);
26881
- ft(this, Li);
26882
- ft(this, _n);
26883
- ft(this, en);
26884
- ft(this, Io);
26885
- ft(this, Ro);
26886
- ft(this, ts);
26887
- ft(this, ba);
26888
- ft(this, Do);
26889
- ft(this, Oo);
26890
- ft(this, Bo);
26891
- ft(this, Mo);
26876
+ ht(this, Ao);
26877
+ ht(this, xo);
26878
+ ht(this, pa);
26879
+ ht(this, Po);
26880
+ ht(this, wo);
26881
+ ht(this, Rr);
26882
+ ht(this, vn);
26883
+ ht(this, or);
26884
+ ht(this, Co);
26885
+ ht(this, es);
26886
+ ht(this, mn);
26887
+ ht(this, Lo);
26888
+ ht(this, _a);
26889
+ ht(this, $r);
26890
+ ht(this, ya);
26891
+ ht(this, pn);
26892
+ ht(this, Li);
26893
+ ht(this, _n);
26894
+ ht(this, en);
26895
+ ht(this, Io);
26896
+ ht(this, Ro);
26897
+ ht(this, ts);
26898
+ ht(this, ba);
26899
+ ht(this, Do);
26900
+ ht(this, Oo);
26901
+ ht(this, Bo);
26902
+ ht(this, Mo);
26892
26903
  this.player = e, this.PlayerClass = i, this.eventListeners = { "<any>": {} };
26893
26904
  }
26894
26905
  addEventListener(e, i) {
@@ -26937,10 +26948,10 @@ class e3 {
26937
26948
  ce(this, ya, Ul).call(this, (e) => e + 1);
26938
26949
  }
26939
26950
  handlePressedSeekBack({ seconds: e }) {
26940
- ce(this, Li, Zi).call(this, (i) => i - e);
26951
+ ce(this, Li, Ji).call(this, (i) => i - e);
26941
26952
  }
26942
26953
  handlePressedSeekAhead({ seconds: e }) {
26943
- ce(this, Li, Zi).call(this, (i) => i + e);
26954
+ ce(this, Li, Ji).call(this, (i) => i + e);
26944
26955
  }
26945
26956
  handlePressedPrevTrack() {
26946
26957
  ce(this, pn, Zn).call(this, (e) => e - 1);
@@ -26989,22 +27000,22 @@ class e3 {
26989
27000
  ce(this, mn, Xn).call(this);
26990
27001
  }
26991
27002
  handlePressedLeftOnProgressBar() {
26992
- ce(this, Li, Zi).call(this, (e) => e - 5);
27003
+ ce(this, Li, Ji).call(this, (e) => e - 5);
26993
27004
  }
26994
27005
  handlePressedRightOnProgressBar() {
26995
- ce(this, Li, Zi).call(this, (e) => e + 5);
27006
+ ce(this, Li, Ji).call(this, (e) => e + 5);
26996
27007
  }
26997
27008
  handlePressedLeftOnProgressCircle() {
26998
- ce(this, Li, Zi).call(this, (e) => e - 5);
27009
+ ce(this, Li, Ji).call(this, (e) => e - 5);
26999
27010
  }
27000
27011
  handlePressedRightOnProgressCircle() {
27001
- ce(this, Li, Zi).call(this, (e) => e + 5);
27012
+ ce(this, Li, Ji).call(this, (e) => e + 5);
27002
27013
  }
27003
27014
  handlePressedProgressBar({ ratio: e }) {
27004
- this.preScrubState = this.player.playbackState, ce(this, Lo, If).call(this), ce(this, Li, Zi).call(this, (i, r) => e * r), e !== 0 && (this.segmentPlayed = !0);
27015
+ this.preScrubState = this.player.playbackState, ce(this, Lo, If).call(this), ce(this, Li, Ji).call(this, (i, r) => e * r), e !== 0 && (this.segmentPlayed = !0);
27005
27016
  }
27006
27017
  handleScrubbedProgressBar({ ratio: e }) {
27007
- ce(this, Li, Zi).call(this, (i, r) => e * r), e !== 0 && (this.segmentPlayed = !0);
27018
+ ce(this, Li, Ji).call(this, (i, r) => e * r), e !== 0 && (this.segmentPlayed = !0);
27008
27019
  }
27009
27020
  handleFinishedScrubbingProgressBar() {
27010
27021
  this.player.playbackState = this.preScrubState, delete this.preScrubState;
@@ -27025,11 +27036,11 @@ class e3 {
27025
27036
  }
27026
27037
  handlePlaybackEnded() {
27027
27038
  ce(this, Co, Lf).call(this) && (this.midrollPlayed = !0), this.segmentPlayed = !1;
27028
- const e = ce(this, Dr, hn).call(this), i = ce(this, lr, Er).call(this);
27029
- ce(this, en, Ln).call(this, { atTheEnd: !0, wasIntro: e }), !i && (ce(this, _n, Jn).call(this, { atTheEnd: !0 }), !e && (ce(this, vn, qn).call(this) || ce(this, lr, Er).call(this) || ce(this, pn, Zn).call(this, (r) => r + 1)));
27039
+ const e = ce(this, Rr, hn).call(this), i = ce(this, or, kr).call(this);
27040
+ ce(this, en, Ln).call(this, { atTheEnd: !0, wasIntro: e }), !i && (ce(this, _n, Jn).call(this, { atTheEnd: !0 }), !e && (ce(this, vn, qn).call(this) || ce(this, or, kr).call(this) || ce(this, pn, Zn).call(this, (r) => r + 1)));
27030
27041
  }
27031
27042
  handlePlaybackErrored({ mediaType: e, mediaUrl: i, errorMessage: r }) {
27032
- console.error(`${e} playback error: ${r} (requesting ${i})`), ce(this, Dr, hn).call(this) || ce(this, vn, qn).call(this) ? ce(this, _n, Jn).call(this, { errored: !0 }) : ce(this, lr, Er).call(this) ? ce(this, en, Ln).call(this, { errored: !0 }) : this.handlePlaybackEnded();
27043
+ console.error(`${e} playback error: ${r} (requesting ${i})`), ce(this, Rr, hn).call(this) || ce(this, vn, qn).call(this) ? ce(this, _n, Jn).call(this, { errored: !0 }) : ce(this, or, kr).call(this) ? ce(this, en, Ln).call(this, { errored: !0 }) : this.handlePlaybackEnded();
27033
27044
  }
27034
27045
  handlePressedMaximize() {
27035
27046
  Dc() ? ak() : sk(this.player.target);
@@ -27068,7 +27079,7 @@ class e3 {
27068
27079
  handlePressedSegment({ segment: e, segmentIndex: i, contentIndex: r }) {
27069
27080
  if (!oa("hovered", e, this.player.clickableSections))
27070
27081
  return;
27071
- if (!ce(this, Mo, Nf).call(this, { contentIndex: r, segmentIndex: i }) && !ce(this, lr, Er).call(this)) {
27082
+ if (!ce(this, Mo, Nf).call(this, { contentIndex: r, segmentIndex: i }) && !ce(this, or, kr).call(this)) {
27072
27083
  ce(this, mn, Xn).call(this);
27073
27084
  return;
27074
27085
  }
@@ -27076,7 +27087,7 @@ class e3 {
27076
27087
  }
27077
27088
  }
27078
27089
  Ao = new WeakSet(), xf = function({ type: e }) {
27079
- return ce(this, lr, Er).call(this) && (e.includes("ChangeSpeed") || e.includes("PrevSegment") || e.includes("NextSegment") || e.includes("SeekBack") || e.includes("SeekAhead") || e.includes("Progress") && !e.includes("Space") && !e.includes("Enter"));
27090
+ return ce(this, or, kr).call(this) && (e.includes("ChangeSpeed") || e.includes("PrevSegment") || e.includes("NextSegment") || e.includes("SeekBack") || e.includes("SeekAhead") || e.includes("Progress") && !e.includes("Space") && !e.includes("Enter"));
27080
27091
  }, xo = new WeakSet(), Pf = function({ type: e }) {
27081
27092
  return this.preScrubState && (e.includes("CurrentTimeUpdated") || e.includes("PlaybackEnded"));
27082
27093
  }, pa = new WeakSet(), Nl = function(e, i) {
@@ -27086,41 +27097,41 @@ Ao = new WeakSet(), xf = function({ type: e }) {
27086
27097
  return this.player.introsOutros.some((e) => e.placement === "pre-roll");
27087
27098
  }, wo = new WeakSet(), Cf = function() {
27088
27099
  return this.player.introsOutros.some((e) => e.placement === "post-roll");
27089
- }, Dr = new WeakSet(), hn = function(e = this.player.introsOutrosIndex) {
27100
+ }, Rr = new WeakSet(), hn = function(e = this.player.introsOutrosIndex) {
27090
27101
  var i, r, a;
27091
27102
  return ((a = (r = (i = this.player) == null ? void 0 : i.introsOutros) == null ? void 0 : r[e]) == null ? void 0 : a.placement) === "pre-roll";
27092
27103
  }, vn = new WeakSet(), qn = function(e = this.player.introsOutrosIndex) {
27093
27104
  var i, r, a;
27094
27105
  return ((a = (r = (i = this.player) == null ? void 0 : i.introsOutros) == null ? void 0 : r[e]) == null ? void 0 : a.placement) === "post-roll";
27095
- }, lr = new WeakSet(), Er = function() {
27106
+ }, or = new WeakSet(), kr = function() {
27096
27107
  return this.player.advertIndex !== -1;
27097
27108
  }, Co = new WeakSet(), Lf = function() {
27098
27109
  var e;
27099
27110
  return ((e = this.player.adverts[this.player.advertIndex]) == null ? void 0 : e.placement) === "mid-roll";
27100
27111
  }, es = new WeakSet(), Js = function() {
27101
- return !ce(this, Dr, hn).call(this) && !ce(this, vn, qn).call(this) && !ce(this, lr, Er).call(this);
27112
+ return !ce(this, Rr, hn).call(this) && !ce(this, vn, qn).call(this) && !ce(this, or, kr).call(this);
27102
27113
  }, mn = new WeakSet(), Xn = function() {
27103
27114
  this.player.playbackState === "playing" ? this.player.playbackState = "paused" : this.player.playbackState = "playing";
27104
27115
  }, Lo = new WeakSet(), If = function() {
27105
27116
  this.player.playbackState === "playing" && (this.player.playbackState = "paused");
27106
27117
  }, _a = new WeakSet(), Fl = function(a) {
27107
27118
  var l = a, { segmentIndex: e, contentIndex: i } = l, r = hl(l, ["segmentIndex", "contentIndex"]);
27108
- ce(this, Li, Zi).call(this, () => r.startTime, i), this.player.currentSegment = de({ segmentIndex: e, contentIndex: i }, r), this.player.playbackState = "playing", this.segmentPlayed = !0;
27119
+ ce(this, Li, Ji).call(this, () => r.startTime, i), this.player.currentSegment = de({ segmentIndex: e, contentIndex: i }, r), this.player.playbackState = "playing", this.segmentPlayed = !0;
27109
27120
  }, $r = new WeakSet(), Cn = function(e, { cycle: i } = {}) {
27110
27121
  const r = [0.5, 0.6, 0.7, 0.8, 0.9, 1, 1.1, 1.2, 1.3, 1.4, 1.5, 2, 2.5, 3], a = r.length - 1, l = r.indexOf(this.player.playbackRate), g = e(l);
27111
27122
  let p;
27112
27123
  i ? p = g % r.length : p = Math.max(0, Math.min(a, g)), this.player.playbackRate = r[p] || 1;
27113
27124
  }, ya = new WeakSet(), Ul = function(e) {
27114
27125
  const i = this.player.content[this.player.contentIndex].segments, r = ru(i, this.player.currentTime), a = e(r);
27115
- ce(this, Dr, hn).call(this) && a >= 0 ? this.handlePlaybackEnded() : ce(this, vn, qn).call(this) && a < 0 ? (ce(this, ts, Qs).call(this, -1), ce(this, Li, Zi).call(this, () => {
27126
+ ce(this, Rr, hn).call(this) && a >= 0 ? this.handlePlaybackEnded() : ce(this, vn, qn).call(this) && a < 0 ? (ce(this, ts, Qs).call(this, -1), ce(this, Li, Ji).call(this, () => {
27116
27127
  var l;
27117
27128
  return ((l = i[i.length - 1]) == null ? void 0 : l.startTime) || 0.01;
27118
- }), this.player.playbackState = "playing") : ce(this, es, Js).call(this) && a < 0 && ce(this, Po, wf).call(this) ? (ce(this, Li, Zi).call(this, () => 0), ce(this, _n, Jn).call(this, { atTheStart: !0 })) : ce(this, es, Js).call(this) && a === i.length && ce(this, wo, Cf).call(this) ? ce(this, Li, Zi).call(this, () => this.player.duration - 0.01) : ce(this, es, Js).call(this) && a >= 0 && a < i.length && ce(this, Li, Zi).call(this, () => i[a].startTime);
27129
+ }), this.player.playbackState = "playing") : ce(this, es, Js).call(this) && a < 0 && ce(this, Po, wf).call(this) ? (ce(this, Li, Ji).call(this, () => 0), ce(this, _n, Jn).call(this, { atTheStart: !0 })) : ce(this, es, Js).call(this) && a === i.length && ce(this, wo, Cf).call(this) ? ce(this, Li, Ji).call(this, () => this.player.duration - 0.01) : ce(this, es, Js).call(this) && a >= 0 && a < i.length && ce(this, Li, Ji).call(this, () => i[a].startTime);
27119
27130
  }, pn = new WeakSet(), Zn = function(e) {
27120
27131
  const i = e(this.player.contentIndex), r = i < 0 || i >= this.player.content.length;
27121
- r ? (this.player.playbackState = "stopped", ce(this, Li, Zi).call(this, () => 0)) : (this.player.contentIndex = i, ce(this, lr, Er).call(this) || (ce(this, Li, Zi).call(this, () => 0), this.midrollPlayed = !1)), ce(this, ts, Qs).call(this, -1), ce(this, _n, Jn).call(this, { atTheStart: !0 }), r || ce(this, en, Ln).call(this, { atTheStart: !0 });
27122
- }, Li = new WeakSet(), Zi = function(e, i) {
27123
- if (ce(this, lr, Er).call(this))
27132
+ r ? (this.player.playbackState = "stopped", ce(this, Li, Ji).call(this, () => 0)) : (this.player.contentIndex = i, ce(this, or, kr).call(this) || (ce(this, Li, Ji).call(this, () => 0), this.midrollPlayed = !1)), ce(this, ts, Qs).call(this, -1), ce(this, _n, Jn).call(this, { atTheStart: !0 }), r || ce(this, en, Ln).call(this, { atTheStart: !0 });
27133
+ }, Li = new WeakSet(), Ji = function(e, i) {
27134
+ if (ce(this, or, kr).call(this))
27124
27135
  this.prevTime = e(), this.prevContent = i;
27125
27136
  else {
27126
27137
  const r = this.player.duration || 0;
@@ -27146,13 +27157,13 @@ Ao = new WeakSet(), xf = function({ type: e }) {
27146
27157
  return;
27147
27158
  } else
27148
27159
  delete this.nextIntroOutro;
27149
- if (!(this.player.contentIndex === 0 && this.player.currentTime === 0) && ce(this, Dr, hn).call(this, e)) {
27160
+ if (!(this.player.contentIndex === 0 && this.player.currentTime === 0) && ce(this, Rr, hn).call(this, e)) {
27150
27161
  this.player.introsOutrosIndex = -1, ce(this, en, Ln).call(this, { atTheStart: !0 });
27151
27162
  return;
27152
27163
  }
27153
- const l = ce(this, Dr, hn).call(this), g = ce(this, vn, qn).call(this);
27164
+ const l = ce(this, Rr, hn).call(this), g = ce(this, vn, qn).call(this);
27154
27165
  this.player.introsOutrosIndex = e;
27155
- const p = l && !ce(this, Dr, hn).call(this), _ = g && !ce(this, vn, qn).call(this);
27166
+ const p = l && !ce(this, Rr, hn).call(this), _ = g && !ce(this, vn, qn).call(this);
27156
27167
  p && (this.player.currentTime = 0), _ && ce(this, pn, Zn).call(this, () => 1 / 0);
27157
27168
  }, ba = new WeakSet(), Vl = function(e) {
27158
27169
  if (this.player.playbackState !== "playing" && e !== -1) {
@@ -27160,12 +27171,12 @@ Ao = new WeakSet(), xf = function({ type: e }) {
27160
27171
  return;
27161
27172
  } else
27162
27173
  delete this.nextAdvert;
27163
- const r = ce(this, lr, Er).call(this);
27174
+ const r = ce(this, or, kr).call(this);
27164
27175
  this.player.advertIndex = e;
27165
- const a = !r && ce(this, lr, Er).call(this), l = r && !ce(this, lr, Er).call(this);
27176
+ const a = !r && ce(this, or, kr).call(this), l = r && !ce(this, or, kr).call(this);
27166
27177
  a && ce(this, Do, Of).call(this), l && ce(this, Oo, Bf).call(this);
27167
27178
  }, Do = new WeakSet(), Of = function() {
27168
- ce(this, Dr, hn).call(this) || (this.prevTime = this.player.currentTime), this.prevRate = this.player.playbackRate, this.prevContent = this.player.contentIndex, this.player.currentTime = 0, this.player.playbackRate = 1;
27179
+ ce(this, Rr, hn).call(this) || (this.prevTime = this.player.currentTime), this.prevRate = this.player.playbackRate, this.prevContent = this.player.contentIndex, this.player.currentTime = 0, this.player.playbackRate = 1;
27169
27180
  }, Oo = new WeakSet(), Bf = function() {
27170
27181
  this.player.playbackRate = this.prevRate || 1, this.player.contentIndex !== this.prevContent || (this.player.currentTime = this.prevTime), delete this.prevTime, delete this.prevRate, delete this.prevContent;
27171
27182
  }, Bo = new WeakSet(), Mf = function({ contentId: e, legacyId: i, sourceId: r, sourceUrl: a }) {
@@ -27241,15 +27252,15 @@ function Gs(t, e) {
27241
27252
  function Xa(t) {
27242
27253
  return t && t.Math == Math ? t : void 0;
27243
27254
  }
27244
- const Ar = typeof globalThis == "object" && Xa(globalThis) || // eslint-disable-next-line no-restricted-globals
27255
+ const Er = typeof globalThis == "object" && Xa(globalThis) || // eslint-disable-next-line no-restricted-globals
27245
27256
  typeof window == "object" && Xa(window) || typeof self == "object" && Xa(self) || typeof global == "object" && Xa(global) || function() {
27246
27257
  return this;
27247
27258
  }() || {};
27248
27259
  function Sa() {
27249
- return Ar;
27260
+ return Er;
27250
27261
  }
27251
27262
  function cu(t, e, i) {
27252
- const r = i || Ar, a = r.__SENTRY__ = r.__SENTRY__ || {};
27263
+ const r = i || Er, a = r.__SENTRY__ = r.__SENTRY__ || {};
27253
27264
  return a[t] || (a[t] = e());
27254
27265
  }
27255
27266
  const so = Sa(), o3 = 80;
@@ -27297,68 +27308,11 @@ function u3() {
27297
27308
  function c3(t) {
27298
27309
  return so.document && so.document.querySelector ? so.document.querySelector(t) : null;
27299
27310
  }
27300
- class Ji extends Error {
27301
- /** Display name of this error instance. */
27302
- constructor(e, i = "warn") {
27303
- super(e), this.message = e, this.name = new.target.prototype.constructor.name, Object.setPrototypeOf(this, new.target.prototype), this.logLevel = i;
27304
- }
27305
- }
27306
- const d3 = /^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;
27307
- function f3(t) {
27308
- return t === "http" || t === "https";
27309
- }
27310
- function Fo(t, e = !1) {
27311
- const { host: i, path: r, pass: a, port: l, projectId: g, protocol: p, publicKey: _ } = t;
27312
- return `${p}://${_}${e && a ? `:${a}` : ""}@${i}${l ? `:${l}` : ""}/${r && `${r}/`}${g}`;
27313
- }
27314
- function h3(t) {
27315
- const e = d3.exec(t);
27316
- if (!e)
27317
- throw new Ji(`Invalid Sentry Dsn: ${t}`);
27318
- const [i, r, a = "", l, g = "", p] = e.slice(1);
27319
- let _ = "", T = p;
27320
- const k = T.split("/");
27321
- if (k.length > 1 && (_ = k.slice(0, -1).join("/"), T = k.pop()), T) {
27322
- const C = T.match(/^\d+/);
27323
- C && (T = C[0]);
27324
- }
27325
- return jf({ host: l, pass: a, path: _, projectId: T, port: g, protocol: i, publicKey: r });
27326
- }
27311
+ const d3 = "Sentry Logger ", ho = ["debug", "info", "warn", "error", "log", "assert", "trace"];
27327
27312
  function jf(t) {
27328
- return {
27329
- protocol: t.protocol,
27330
- publicKey: t.publicKey || "",
27331
- pass: t.pass || "",
27332
- host: t.host,
27333
- port: t.port || "",
27334
- path: t.path || "",
27335
- projectId: t.projectId
27336
- };
27337
- }
27338
- function g3(t) {
27339
- if (!(typeof __SENTRY_DEBUG__ == "undefined" || __SENTRY_DEBUG__))
27340
- return;
27341
- const { port: e, projectId: i, protocol: r } = t;
27342
- if (["protocol", "publicKey", "host", "projectId"].forEach((l) => {
27343
- if (!t[l])
27344
- throw new Ji(`Invalid Sentry Dsn: ${l} missing`);
27345
- }), !i.match(/^\d+$/))
27346
- throw new Ji(`Invalid Sentry Dsn: Invalid projectId ${i}`);
27347
- if (!f3(r))
27348
- throw new Ji(`Invalid Sentry Dsn: Invalid protocol ${r}`);
27349
- if (e && isNaN(parseInt(e, 10)))
27350
- throw new Ji(`Invalid Sentry Dsn: Invalid port ${e}`);
27351
- return !0;
27352
- }
27353
- function v3(t) {
27354
- const e = typeof t == "string" ? h3(t) : jf(t);
27355
- return g3(e), e;
27356
- }
27357
- const m3 = "Sentry Logger ", ho = ["debug", "info", "warn", "error", "log", "assert", "trace"];
27358
- function Gf(t) {
27359
- if (!("console" in Ar))
27313
+ if (!("console" in Er))
27360
27314
  return t();
27361
- const e = Ar.console, i = {};
27315
+ const e = Er.console, i = {};
27362
27316
  ho.forEach((r) => {
27363
27317
  const a = e[r] && e[r].__sentry_original__;
27364
27318
  r in e && a && (i[r] = e[r], e[r] = a);
@@ -27383,8 +27337,8 @@ function Sd() {
27383
27337
  };
27384
27338
  return typeof __SENTRY_DEBUG__ == "undefined" || __SENTRY_DEBUG__ ? ho.forEach((i) => {
27385
27339
  e[i] = (...r) => {
27386
- t && Gf(() => {
27387
- Ar.console[i](`${m3}[${i}]:`, ...r);
27340
+ t && jf(() => {
27341
+ Er.console[i](`${d3}[${i}]:`, ...r);
27388
27342
  });
27389
27343
  };
27390
27344
  }) : ho.forEach((i) => {
@@ -27392,8 +27346,59 @@ function Sd() {
27392
27346
  };
27393
27347
  }), e;
27394
27348
  }
27395
- let vt;
27396
- typeof __SENTRY_DEBUG__ == "undefined" || __SENTRY_DEBUG__ ? vt = cu("logger", Sd) : vt = Sd();
27349
+ let dt;
27350
+ typeof __SENTRY_DEBUG__ == "undefined" || __SENTRY_DEBUG__ ? dt = cu("logger", Sd) : dt = Sd();
27351
+ const f3 = /^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;
27352
+ function h3(t) {
27353
+ return t === "http" || t === "https";
27354
+ }
27355
+ function Fo(t, e = !1) {
27356
+ const { host: i, path: r, pass: a, port: l, projectId: g, protocol: p, publicKey: _ } = t;
27357
+ return `${p}://${_}${e && a ? `:${a}` : ""}@${i}${l ? `:${l}` : ""}/${r && `${r}/`}${g}`;
27358
+ }
27359
+ function g3(t) {
27360
+ const e = f3.exec(t);
27361
+ if (!e) {
27362
+ console.error(`Invalid Sentry Dsn: ${t}`);
27363
+ return;
27364
+ }
27365
+ const [i, r, a = "", l, g = "", p] = e.slice(1);
27366
+ let _ = "", T = p;
27367
+ const k = T.split("/");
27368
+ if (k.length > 1 && (_ = k.slice(0, -1).join("/"), T = k.pop()), T) {
27369
+ const C = T.match(/^\d+/);
27370
+ C && (T = C[0]);
27371
+ }
27372
+ return Gf({ host: l, pass: a, path: _, projectId: T, port: g, protocol: i, publicKey: r });
27373
+ }
27374
+ function Gf(t) {
27375
+ return {
27376
+ protocol: t.protocol,
27377
+ publicKey: t.publicKey || "",
27378
+ pass: t.pass || "",
27379
+ host: t.host,
27380
+ port: t.port || "",
27381
+ path: t.path || "",
27382
+ projectId: t.projectId
27383
+ };
27384
+ }
27385
+ function v3(t) {
27386
+ if (!(typeof __SENTRY_DEBUG__ == "undefined" || __SENTRY_DEBUG__))
27387
+ return !0;
27388
+ const { port: e, projectId: i, protocol: r } = t;
27389
+ return ["protocol", "publicKey", "host", "projectId"].find((g) => t[g] ? !1 : (dt.error(`Invalid Sentry Dsn: ${g} missing`), !0)) ? !1 : i.match(/^\d+$/) ? h3(r) ? e && isNaN(parseInt(e, 10)) ? (dt.error(`Invalid Sentry Dsn: Invalid port ${e}`), !1) : !0 : (dt.error(`Invalid Sentry Dsn: Invalid protocol ${r}`), !1) : (dt.error(`Invalid Sentry Dsn: Invalid projectId ${i}`), !1);
27390
+ }
27391
+ function m3(t) {
27392
+ const e = typeof t == "string" ? g3(t) : Gf(t);
27393
+ if (!(!e || !v3(e)))
27394
+ return e;
27395
+ }
27396
+ class Dr extends Error {
27397
+ /** Display name of this error instance. */
27398
+ constructor(e, i = "warn") {
27399
+ super(e), this.message = e, this.name = new.target.prototype.constructor.name, Object.setPrototypeOf(this, new.target.prototype), this.logLevel = i;
27400
+ }
27401
+ }
27397
27402
  function ra(t, e = 0) {
27398
27403
  return typeof t != "string" || e === 0 || t.length <= e ? t : `${t.slice(0, e)}...`;
27399
27404
  }
@@ -27590,7 +27595,7 @@ function T3() {
27590
27595
  const i = e.createElement("iframe");
27591
27596
  i.hidden = !0, e.head.appendChild(i), i.contentWindow && i.contentWindow.fetch && (t = zl(i.contentWindow.fetch)), e.head.removeChild(i);
27592
27597
  } catch (i) {
27593
- (typeof __SENTRY_DEBUG__ == "undefined" || __SENTRY_DEBUG__) && vt.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ", i);
27598
+ (typeof __SENTRY_DEBUG__ == "undefined" || __SENTRY_DEBUG__) && dt.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ", i);
27594
27599
  }
27595
27600
  return t;
27596
27601
  }
@@ -27625,7 +27630,7 @@ function E3(t) {
27625
27630
  B3();
27626
27631
  break;
27627
27632
  default:
27628
- (typeof __SENTRY_DEBUG__ == "undefined" || __SENTRY_DEBUG__) && vt.warn("unknown instrumentation type:", t);
27633
+ (typeof __SENTRY_DEBUG__ == "undefined" || __SENTRY_DEBUG__) && dt.warn("unknown instrumentation type:", t);
27629
27634
  return;
27630
27635
  }
27631
27636
  }
@@ -27638,7 +27643,7 @@ function Or(t, e) {
27638
27643
  try {
27639
27644
  i(e);
27640
27645
  } catch (r) {
27641
- (typeof __SENTRY_DEBUG__ == "undefined" || __SENTRY_DEBUG__) && vt.error(
27646
+ (typeof __SENTRY_DEBUG__ == "undefined" || __SENTRY_DEBUG__) && dt.error(
27642
27647
  `Error while triggering instrumentation handler.
27643
27648
  Type: ${t}
27644
27649
  Name: ${Vn(i)}
@@ -27906,7 +27911,7 @@ function M3() {
27906
27911
  return [i, r];
27907
27912
  }
27908
27913
  function Cs() {
27909
- const t = Ar, e = t.crypto || t.msCrypto;
27914
+ const t = Er, e = t.crypto || t.msCrypto;
27910
27915
  if (e && e.randomUUID)
27911
27916
  return e.randomUUID().replace(/-/g, "");
27912
27917
  const i = e && e.getRandomValues ? () => e.getRandomValues(new Uint8Array(1))[0] : () => Math.random() * 16;
@@ -28183,7 +28188,7 @@ function H3(t) {
28183
28188
  }
28184
28189
  function a(g) {
28185
28190
  if (!i())
28186
- return go(new Ji("Not adding Promise because buffer limit was reached."));
28191
+ return go(new Dr("Not adding Promise because buffer limit was reached."));
28187
28192
  const p = g();
28188
28193
  return e.indexOf(p) === -1 && e.push(p), p.then(() => r(p)).then(
28189
28194
  null,
@@ -28692,7 +28697,7 @@ class is {
28692
28697
  l(i);
28693
28698
  else {
28694
28699
  const _ = p(de({}, i), r);
28695
- (typeof __SENTRY_DEBUG__ == "undefined" || __SENTRY_DEBUG__) && p.id && _ === null && vt.log(`Event processor "${p.id}" dropped event`), uu(_) ? _.then((T) => this._notifyEventProcessors(e, T, r, a + 1).then(l)).then(null, g) : this._notifyEventProcessors(e, _, r, a + 1).then(l).then(null, g);
28700
+ (typeof __SENTRY_DEBUG__ == "undefined" || __SENTRY_DEBUG__) && p.id && _ === null && dt.log(`Event processor "${p.id}" dropped event`), uu(_) ? _.then((T) => this._notifyEventProcessors(e, T, r, a + 1).then(l)).then(null, g) : this._notifyEventProcessors(e, _, r, a + 1).then(l).then(null, g);
28696
28701
  }
28697
28702
  });
28698
28703
  }
@@ -28853,7 +28858,7 @@ class nh {
28853
28858
  const { beforeBreadcrumb: l = null, maxBreadcrumbs: g = fE } = a.getOptions && a.getOptions() || {};
28854
28859
  if (g <= 0)
28855
28860
  return;
28856
- const p = Vo(), _ = de({ timestamp: p }, e), T = l ? Gf(() => l(_, i)) : _;
28861
+ const p = Vo(), _ = de({ timestamp: p }, e), T = l ? jf(() => l(_, i)) : _;
28857
28862
  T !== null && (a.emit && a.emit("beforeAddBreadcrumb", T, i), r.addBreadcrumb(T, g));
28858
28863
  }
28859
28864
  /**
@@ -28921,7 +28926,7 @@ class nh {
28921
28926
  try {
28922
28927
  return i.getIntegration(e);
28923
28928
  } catch (r) {
28924
- return (typeof __SENTRY_DEBUG__ == "undefined" || __SENTRY_DEBUG__) && vt.warn(`Cannot retrieve integration ${e.id} from the current Hub`), null;
28929
+ return (typeof __SENTRY_DEBUG__ == "undefined" || __SENTRY_DEBUG__) && dt.warn(`Cannot retrieve integration ${e.id} from the current Hub`), null;
28925
28930
  }
28926
28931
  }
28927
28932
  /**
@@ -28959,7 +28964,7 @@ Sentry.init({...});
28959
28964
  * @inheritDoc
28960
28965
  */
28961
28966
  startSession(e) {
28962
- const { scope: i, client: r } = this.getStackTop(), { release: a, environment: l = th } = r && r.getOptions() || {}, { userAgent: g } = Ar.navigator || {}, p = lE(de(de({
28967
+ const { scope: i, client: r } = this.getStackTop(), { release: a, environment: l = th } = r && r.getOptions() || {}, { userAgent: g } = Er.navigator || {}, p = lE(de(de({
28963
28968
  release: a,
28964
28969
  environment: l,
28965
28970
  user: i.getUser()
@@ -29000,14 +29005,14 @@ Sentry.init({...});
29000
29005
  const a = jo().__SENTRY__;
29001
29006
  if (a && a.extensions && typeof a.extensions[e] == "function")
29002
29007
  return a.extensions[e].apply(this, i);
29003
- (typeof __SENTRY_DEBUG__ == "undefined" || __SENTRY_DEBUG__) && vt.warn(`Extension method ${e} couldn't be found, doing nothing.`);
29008
+ (typeof __SENTRY_DEBUG__ == "undefined" || __SENTRY_DEBUG__) && dt.warn(`Extension method ${e} couldn't be found, doing nothing.`);
29004
29009
  }
29005
29010
  }
29006
29011
  function jo() {
29007
- return Ar.__SENTRY__ = Ar.__SENTRY__ || {
29012
+ return Er.__SENTRY__ = Er.__SENTRY__ || {
29008
29013
  extensions: {},
29009
29014
  hub: void 0
29010
- }, Ar;
29015
+ }, Er;
29011
29016
  }
29012
29017
  function Dd(t) {
29013
29018
  const e = jo(), i = Zl(e);
@@ -29069,7 +29074,7 @@ function SE(t, e) {
29069
29074
  function TE(t, e, i, r) {
29070
29075
  const a = eh(i), l = de(de({
29071
29076
  sent_at: (/* @__PURE__ */ new Date()).toISOString()
29072
- }, a && { sdk: a }), !!r && { dsn: Fo(e) }), g = "aggregates" in t ? [{ type: "sessions" }, t] : [{ type: "session" }, t];
29077
+ }, a && { sdk: a }), !!r && { dsn: Fo(e) }), g = "aggregates" in t ? [{ type: "sessions" }, t] : [{ type: "session" }, t.toJSON()];
29073
29078
  return Ta(l, [g]);
29074
29079
  }
29075
29080
  function kE(t, e, i, r) {
@@ -29107,7 +29112,7 @@ function xE(t) {
29107
29112
  }), e;
29108
29113
  }
29109
29114
  function oh(t, e) {
29110
- e[t.name] = t, Od.indexOf(t.name) === -1 && (t.setupOnce(Wo, Ii), Od.push(t.name), (typeof __SENTRY_DEBUG__ == "undefined" || __SENTRY_DEBUG__) && vt.log(`Integration installed: ${t.name}`));
29115
+ e[t.name] = t, Od.indexOf(t.name) === -1 && (t.setupOnce(Wo, Ii), Od.push(t.name), (typeof __SENTRY_DEBUG__ == "undefined" || __SENTRY_DEBUG__) && dt.log(`Integration installed: ${t.name}`));
29111
29116
  }
29112
29117
  function PE(t, e) {
29113
29118
  for (let i = 0; i < t.length; i++)
@@ -29143,7 +29148,7 @@ function CE(t, e) {
29143
29148
  }
29144
29149
  const Bd = /* @__PURE__ */ new WeakMap();
29145
29150
  function LE(t, e) {
29146
- const i = Ar._sentryDebugIds;
29151
+ const i = Er._sentryDebugIds;
29147
29152
  if (!i)
29148
29153
  return;
29149
29154
  let r;
@@ -29229,16 +29234,14 @@ class $n {
29229
29234
  * @param options Options for the client.
29230
29235
  */
29231
29236
  constructor(e) {
29232
- if ($n.prototype.__init.call(this), $n.prototype.__init2.call(this), $n.prototype.__init3.call(this), $n.prototype.__init4.call(this), $n.prototype.__init5.call(this), this._options = e, e.dsn) {
29233
- this._dsn = v3(e.dsn);
29237
+ if ($n.prototype.__init.call(this), $n.prototype.__init2.call(this), $n.prototype.__init3.call(this), $n.prototype.__init4.call(this), $n.prototype.__init5.call(this), this._options = e, e.dsn ? this._dsn = m3(e.dsn) : (typeof __SENTRY_DEBUG__ == "undefined" || __SENTRY_DEBUG__) && dt.warn("No DSN provided, client will not do anything."), this._dsn) {
29234
29238
  const i = bE(this._dsn, e);
29235
29239
  this._transport = e.transport(Qt(de({
29236
29240
  recordDroppedEvent: this.recordDroppedEvent.bind(this)
29237
29241
  }, e.transportOptions), {
29238
29242
  url: i
29239
29243
  }));
29240
- } else
29241
- (typeof __SENTRY_DEBUG__ == "undefined" || __SENTRY_DEBUG__) && vt.warn("No DSN provided, client will not do anything.");
29244
+ }
29242
29245
  }
29243
29246
  /**
29244
29247
  * @inheritDoc
@@ -29246,7 +29249,7 @@ class $n {
29246
29249
  // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types
29247
29250
  captureException(e, i, r) {
29248
29251
  if (Cd(e)) {
29249
- (typeof __SENTRY_DEBUG__ == "undefined" || __SENTRY_DEBUG__) && vt.log(Md);
29252
+ (typeof __SENTRY_DEBUG__ == "undefined" || __SENTRY_DEBUG__) && dt.log(Md);
29250
29253
  return;
29251
29254
  }
29252
29255
  let a = i && i.event_id;
@@ -29273,7 +29276,7 @@ class $n {
29273
29276
  */
29274
29277
  captureEvent(e, i, r) {
29275
29278
  if (i && i.originalException && Cd(i.originalException)) {
29276
- (typeof __SENTRY_DEBUG__ == "undefined" || __SENTRY_DEBUG__) && vt.log(Md);
29279
+ (typeof __SENTRY_DEBUG__ == "undefined" || __SENTRY_DEBUG__) && dt.log(Md);
29277
29280
  return;
29278
29281
  }
29279
29282
  let a = i && i.event_id;
@@ -29288,10 +29291,10 @@ class $n {
29288
29291
  */
29289
29292
  captureSession(e) {
29290
29293
  if (!this._isEnabled()) {
29291
- (typeof __SENTRY_DEBUG__ == "undefined" || __SENTRY_DEBUG__) && vt.warn("SDK not enabled, will not capture session.");
29294
+ (typeof __SENTRY_DEBUG__ == "undefined" || __SENTRY_DEBUG__) && dt.warn("SDK not enabled, will not capture session.");
29292
29295
  return;
29293
29296
  }
29294
- typeof e.release != "string" ? (typeof __SENTRY_DEBUG__ == "undefined" || __SENTRY_DEBUG__) && vt.warn("Discarded session because of missing or non-string release") : (this.sendSession(e), Bs(e, { init: !1 }));
29297
+ typeof e.release != "string" ? (typeof __SENTRY_DEBUG__ == "undefined" || __SENTRY_DEBUG__) && dt.warn("Discarded session because of missing or non-string release") : (this.sendSession(e), Bs(e, { init: !1 }));
29295
29298
  }
29296
29299
  /**
29297
29300
  * @inheritDoc
@@ -29353,7 +29356,7 @@ class $n {
29353
29356
  try {
29354
29357
  return this._integrations[e.id] || null;
29355
29358
  } catch (i) {
29356
- return (typeof __SENTRY_DEBUG__ == "undefined" || __SENTRY_DEBUG__) && vt.warn(`Cannot retrieve integration ${e.id} from the current Client`), null;
29359
+ return (typeof __SENTRY_DEBUG__ == "undefined" || __SENTRY_DEBUG__) && dt.warn(`Cannot retrieve integration ${e.id} from the current Client`), null;
29357
29360
  }
29358
29361
  }
29359
29362
  /**
@@ -29395,7 +29398,7 @@ class $n {
29395
29398
  recordDroppedEvent(e, i, r) {
29396
29399
  if (this._options.sendClientReports) {
29397
29400
  const a = `${e}:${i}`;
29398
- (typeof __SENTRY_DEBUG__ == "undefined" || __SENTRY_DEBUG__) && vt.log(`Adding outcome: "${a}"`), this._outcomes[a] = this._outcomes[a] + 1 || 1;
29401
+ (typeof __SENTRY_DEBUG__ == "undefined" || __SENTRY_DEBUG__) && dt.log(`Adding outcome: "${a}"`), this._outcomes[a] = this._outcomes[a] + 1 || 1;
29399
29402
  }
29400
29403
  }
29401
29404
  // Keep on() & emit() signatures in sync with types' client.ts interface
@@ -29480,7 +29483,7 @@ class $n {
29480
29483
  (a) => {
29481
29484
  if (typeof __SENTRY_DEBUG__ == "undefined" || __SENTRY_DEBUG__) {
29482
29485
  const l = a;
29483
- l.logLevel === "log" ? vt.log(l.message) : vt.warn(l);
29486
+ l.logLevel === "log" ? dt.log(l.message) : dt.warn(l);
29484
29487
  }
29485
29488
  }
29486
29489
  );
@@ -29501,11 +29504,11 @@ class $n {
29501
29504
  _processEvent(e, i, r) {
29502
29505
  const a = this.getOptions(), { sampleRate: l } = a;
29503
29506
  if (!this._isEnabled())
29504
- return go(new Ji("SDK not enabled, will not capture event.", "log"));
29507
+ return go(new Dr("SDK not enabled, will not capture event.", "log"));
29505
29508
  const g = uh(e), p = lh(e), _ = e.type || "error", T = `before send for type \`${_}\``;
29506
29509
  if (p && typeof l == "number" && Math.random() > l)
29507
29510
  return this.recordDroppedEvent("sample_rate", "error", e), go(
29508
- new Ji(
29511
+ new Dr(
29509
29512
  `Discarding event because it's not included in the random sample (sampling rate = ${l})`,
29510
29513
  "log"
29511
29514
  )
@@ -29513,14 +29516,14 @@ class $n {
29513
29516
  const k = _ === "replay_event" ? "replay" : _;
29514
29517
  return this._prepareEvent(e, i, r).then((C) => {
29515
29518
  if (C === null)
29516
- throw this.recordDroppedEvent("event_processor", k, e), new Ji("An event processor returned `null`, will not send event.", "log");
29519
+ throw this.recordDroppedEvent("event_processor", k, e), new Dr("An event processor returned `null`, will not send event.", "log");
29517
29520
  if (i.data && i.data.__sentry__ === !0)
29518
29521
  return C;
29519
29522
  const U = OE(a, C, i);
29520
29523
  return DE(U, T);
29521
29524
  }).then((C) => {
29522
29525
  if (C === null)
29523
- throw this.recordDroppedEvent("before_send", k, e), new Ji(`${T} returned \`null\`, will not send event.`, "log");
29526
+ throw this.recordDroppedEvent("before_send", k, e), new Dr(`${T} returned \`null\`, will not send event.`, "log");
29524
29527
  const F = r && r.getSession();
29525
29528
  !g && F && this._updateSessionFromEvent(F, C);
29526
29529
  const U = C.transaction_info;
@@ -29532,12 +29535,12 @@ class $n {
29532
29535
  }
29533
29536
  return this.sendEvent(C, i), C;
29534
29537
  }).then(null, (C) => {
29535
- throw C instanceof Ji ? C : (this.captureException(C, {
29538
+ throw C instanceof Dr ? C : (this.captureException(C, {
29536
29539
  data: {
29537
29540
  __sentry__: !0
29538
29541
  },
29539
29542
  originalException: C
29540
- }), new Ji(
29543
+ }), new Dr(
29541
29544
  `Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.
29542
29545
  Reason: ${C}`
29543
29546
  ));
@@ -29558,9 +29561,9 @@ Reason: ${C}`
29558
29561
  _sendEnvelope(e) {
29559
29562
  if (this._transport && this._dsn)
29560
29563
  return this.emit("beforeEnvelope", e), this._transport.send(e).then(null, (i) => {
29561
- (typeof __SENTRY_DEBUG__ == "undefined" || __SENTRY_DEBUG__) && vt.error("Error while sending event:", i);
29564
+ (typeof __SENTRY_DEBUG__ == "undefined" || __SENTRY_DEBUG__) && dt.error("Error while sending event:", i);
29562
29565
  });
29563
- (typeof __SENTRY_DEBUG__ == "undefined" || __SENTRY_DEBUG__) && vt.error("Transport disabled");
29566
+ (typeof __SENTRY_DEBUG__ == "undefined" || __SENTRY_DEBUG__) && dt.error("Transport disabled");
29564
29567
  }
29565
29568
  /**
29566
29569
  * Clears outcomes on this client and returns them.
@@ -29587,15 +29590,15 @@ function DE(t, e) {
29587
29590
  return t.then(
29588
29591
  (r) => {
29589
29592
  if (!Os(r) && r !== null)
29590
- throw new Ji(i);
29593
+ throw new Dr(i);
29591
29594
  return r;
29592
29595
  },
29593
29596
  (r) => {
29594
- throw new Ji(`${e} rejected with ${r}`);
29597
+ throw new Dr(`${e} rejected with ${r}`);
29595
29598
  }
29596
29599
  );
29597
29600
  if (!Os(t) && t !== null)
29598
- throw new Ji(i);
29601
+ throw new Dr(i);
29599
29602
  return t;
29600
29603
  }
29601
29604
  function OE(t, e, i) {
@@ -29609,7 +29612,7 @@ function uh(t) {
29609
29612
  return t.type === "transaction";
29610
29613
  }
29611
29614
  function BE(t, e) {
29612
- e.debug === !0 && (typeof __SENTRY_DEBUG__ == "undefined" || __SENTRY_DEBUG__ ? vt.enable() : console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle."));
29615
+ e.debug === !0 && (typeof __SENTRY_DEBUG__ == "undefined" || __SENTRY_DEBUG__ ? dt.enable() : console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle."));
29613
29616
  const i = Ii();
29614
29617
  i.getScope().update(e.initialScope);
29615
29618
  const a = new t(e);
@@ -29638,7 +29641,7 @@ function ch(t, e, i = H3(
29638
29641
  t.recordDroppedEvent(C, Rd(U), V);
29639
29642
  });
29640
29643
  }, k = () => e({ body: J3(_, t.textEncoder) }).then(
29641
- (C) => (C.statusCode !== void 0 && (C.statusCode < 200 || C.statusCode >= 300) && (typeof __SENTRY_DEBUG__ == "undefined" || __SENTRY_DEBUG__) && vt.warn(`Sentry responded with status code ${C.statusCode} to sent event.`), r = oE(r, C), C),
29644
+ (C) => (C.statusCode !== void 0 && (C.statusCode < 200 || C.statusCode >= 300) && (typeof __SENTRY_DEBUG__ == "undefined" || __SENTRY_DEBUG__) && dt.warn(`Sentry responded with status code ${C.statusCode} to sent event.`), r = oE(r, C), C),
29642
29645
  (C) => {
29643
29646
  throw T("network_error"), C;
29644
29647
  }
@@ -29646,8 +29649,8 @@ function ch(t, e, i = H3(
29646
29649
  return i.add(k).then(
29647
29650
  (C) => C,
29648
29651
  (C) => {
29649
- if (C instanceof Ji)
29650
- return (typeof __SENTRY_DEBUG__ == "undefined" || __SENTRY_DEBUG__) && vt.error("Skipped sending event because buffer is full."), T("queue_overflow"), ss();
29652
+ if (C instanceof Dr)
29653
+ return (typeof __SENTRY_DEBUG__ == "undefined" || __SENTRY_DEBUG__) && dt.error("Skipped sending event because buffer is full."), T("queue_overflow"), ss();
29651
29654
  throw C;
29652
29655
  }
29653
29656
  );
@@ -29661,7 +29664,7 @@ function Nd(t, e) {
29661
29664
  if (!(e !== "event" && e !== "transaction"))
29662
29665
  return Array.isArray(t) ? t[1] : void 0;
29663
29666
  }
29664
- const vo = "7.52.1";
29667
+ const vo = "7.53.1";
29665
29668
  let Fd;
29666
29669
  class ca {
29667
29670
  constructor() {
@@ -29744,20 +29747,20 @@ function FE(t = {}, e = {}) {
29744
29747
  };
29745
29748
  }
29746
29749
  function UE(t, e) {
29747
- return e.ignoreInternal && HE(t) ? ((typeof __SENTRY_DEBUG__ == "undefined" || __SENTRY_DEBUG__) && vt.warn(`Event dropped due to being internal Sentry Error.
29748
- Event: ${Bn(t)}`), !0) : VE(t, e.ignoreErrors) ? ((typeof __SENTRY_DEBUG__ == "undefined" || __SENTRY_DEBUG__) && vt.warn(
29750
+ return e.ignoreInternal && HE(t) ? ((typeof __SENTRY_DEBUG__ == "undefined" || __SENTRY_DEBUG__) && dt.warn(`Event dropped due to being internal Sentry Error.
29751
+ Event: ${Bn(t)}`), !0) : VE(t, e.ignoreErrors) ? ((typeof __SENTRY_DEBUG__ == "undefined" || __SENTRY_DEBUG__) && dt.warn(
29749
29752
  `Event dropped due to being matched by \`ignoreErrors\` option.
29750
29753
  Event: ${Bn(t)}`
29751
- ), !0) : WE(t, e.ignoreTransactions) ? ((typeof __SENTRY_DEBUG__ == "undefined" || __SENTRY_DEBUG__) && vt.warn(
29754
+ ), !0) : WE(t, e.ignoreTransactions) ? ((typeof __SENTRY_DEBUG__ == "undefined" || __SENTRY_DEBUG__) && dt.warn(
29752
29755
  `Event dropped due to being matched by \`ignoreTransactions\` option.
29753
29756
  Event: ${Bn(t)}`
29754
- ), !0) : jE(t, e.denyUrls) ? ((typeof __SENTRY_DEBUG__ == "undefined" || __SENTRY_DEBUG__) && vt.warn(
29757
+ ), !0) : jE(t, e.denyUrls) ? ((typeof __SENTRY_DEBUG__ == "undefined" || __SENTRY_DEBUG__) && dt.warn(
29755
29758
  `Event dropped due to being matched by \`denyUrls\` option.
29756
29759
  Event: ${Bn(
29757
29760
  t
29758
29761
  )}.
29759
29762
  Url: ${mo(t)}`
29760
- ), !0) : GE(t, e.allowUrls) ? !1 : ((typeof __SENTRY_DEBUG__ == "undefined" || __SENTRY_DEBUG__) && vt.warn(
29763
+ ), !0) : GE(t, e.allowUrls) ? !1 : ((typeof __SENTRY_DEBUG__ == "undefined" || __SENTRY_DEBUG__) && dt.warn(
29761
29764
  `Event dropped due to not being matched by \`allowUrls\` option.
29762
29765
  Event: ${Bn(
29763
29766
  t
@@ -29795,7 +29798,7 @@ function zE(t) {
29795
29798
  const { type: i = "", value: r = "" } = e && e[e.length - 1] || {};
29796
29799
  return [`${r}`, `${i}: ${r}`];
29797
29800
  } catch (i) {
29798
- return (typeof __SENTRY_DEBUG__ == "undefined" || __SENTRY_DEBUG__) && vt.error(`Cannot extract message for event ${Bn(t)}`), [];
29801
+ return (typeof __SENTRY_DEBUG__ == "undefined" || __SENTRY_DEBUG__) && dt.error(`Cannot extract message for event ${Bn(t)}`), [];
29799
29802
  }
29800
29803
  }
29801
29804
  return [];
@@ -29824,10 +29827,10 @@ function mo(t) {
29824
29827
  }
29825
29828
  return e ? KE(e) : null;
29826
29829
  } catch (e) {
29827
- return (typeof __SENTRY_DEBUG__ == "undefined" || __SENTRY_DEBUG__) && vt.error(`Cannot extract url for event ${Bn(t)}`), null;
29830
+ return (typeof __SENTRY_DEBUG__ == "undefined" || __SENTRY_DEBUG__) && dt.error(`Cannot extract url for event ${Bn(t)}`), null;
29828
29831
  }
29829
29832
  }
29830
- const Yt = Ar;
29833
+ const Yt = Er;
29831
29834
  let Jl = 0;
29832
29835
  function dh() {
29833
29836
  return Jl > 0;
@@ -30038,7 +30041,7 @@ da.__initStatic();
30038
30041
  function eA(t) {
30039
30042
  function e(i) {
30040
30043
  let r, a = typeof t == "object" ? t.serializeAttribute : void 0, l = typeof t == "object" && typeof t.maxStringLength == "number" ? t.maxStringLength : void 0;
30041
- l && l > io && ((typeof __SENTRY_DEBUG__ == "undefined" || __SENTRY_DEBUG__) && vt.warn(
30044
+ l && l > io && ((typeof __SENTRY_DEBUG__ == "undefined" || __SENTRY_DEBUG__) && dt.warn(
30042
30045
  `\`dom.maxStringLength\` cannot exceed ${io}, but a value of ${l} was configured. Sentry will use ${io} instead.`
30043
30046
  ), l = io), typeof a == "string" && (a = [a]);
30044
30047
  try {
@@ -30229,7 +30232,7 @@ class lA extends $n {
30229
30232
  */
30230
30233
  captureUserFeedback(e) {
30231
30234
  if (!this._isEnabled()) {
30232
- (typeof __SENTRY_DEBUG__ == "undefined" || __SENTRY_DEBUG__) && vt.warn("SDK not enabled, will not capture user feedback.");
30235
+ (typeof __SENTRY_DEBUG__ == "undefined" || __SENTRY_DEBUG__) && dt.warn("SDK not enabled, will not capture user feedback.");
30233
30236
  return;
30234
30237
  }
30235
30238
  const i = aA(e, {
@@ -30251,14 +30254,14 @@ class lA extends $n {
30251
30254
  _flushOutcomes() {
30252
30255
  const e = this._clearOutcomes();
30253
30256
  if (e.length === 0) {
30254
- (typeof __SENTRY_DEBUG__ == "undefined" || __SENTRY_DEBUG__) && vt.log("No outcomes to send");
30257
+ (typeof __SENTRY_DEBUG__ == "undefined" || __SENTRY_DEBUG__) && dt.log("No outcomes to send");
30255
30258
  return;
30256
30259
  }
30257
30260
  if (!this._dsn) {
30258
- (typeof __SENTRY_DEBUG__ == "undefined" || __SENTRY_DEBUG__) && vt.log("No dsn provided, will not send outcomes");
30261
+ (typeof __SENTRY_DEBUG__ == "undefined" || __SENTRY_DEBUG__) && dt.log("No dsn provided, will not send outcomes");
30259
30262
  return;
30260
30263
  }
30261
- (typeof __SENTRY_DEBUG__ == "undefined" || __SENTRY_DEBUG__) && vt.log("Sending outcomes:", e);
30264
+ (typeof __SENTRY_DEBUG__ == "undefined" || __SENTRY_DEBUG__) && dt.log("Sending outcomes:", e);
30262
30265
  const i = iE(e, this._options.tunnel && Fo(this._dsn));
30263
30266
  this._sendEnvelope(i);
30264
30267
  }
@@ -30278,7 +30281,7 @@ function uA() {
30278
30281
  const r = i.contentWindow;
30279
30282
  r && r.fetch && (e = r.fetch), t.head.removeChild(i);
30280
30283
  } catch (i) {
30281
- (typeof __SENTRY_DEBUG__ == "undefined" || __SENTRY_DEBUG__) && vt.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ", i);
30284
+ (typeof __SENTRY_DEBUG__ == "undefined" || __SENTRY_DEBUG__) && dt.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ", i);
30282
30285
  }
30283
30286
  return ea = e.bind(Yt);
30284
30287
  }
@@ -30507,7 +30510,7 @@ function vh(t, e, i, r) {
30507
30510
  }), t;
30508
30511
  }
30509
30512
  function OA(t) {
30510
- (typeof __SENTRY_DEBUG__ == "undefined" || __SENTRY_DEBUG__) && vt.log(`Global Handler attached: ${t}`);
30513
+ (typeof __SENTRY_DEBUG__ == "undefined" || __SENTRY_DEBUG__) && dt.log(`Global Handler attached: ${t}`);
30511
30514
  }
30512
30515
  function mh(t, e, i, r) {
30513
30516
  ua(i, {
@@ -30803,7 +30806,7 @@ class Ds {
30803
30806
  if (l) {
30804
30807
  try {
30805
30808
  if (jA(a, l._previousEvent))
30806
- return (typeof __SENTRY_DEBUG__ == "undefined" || __SENTRY_DEBUG__) && vt.warn("Event dropped due to being a duplicate of previously captured event."), null;
30809
+ return (typeof __SENTRY_DEBUG__ == "undefined" || __SENTRY_DEBUG__) && dt.warn("Event dropped due to being a duplicate of previously captured event."), null;
30807
30810
  } catch (g) {
30808
30811
  return l._previousEvent = a;
30809
30812
  }
@@ -30888,7 +30891,7 @@ function jd(t) {
30888
30891
  }
30889
30892
  function YA() {
30890
30893
  if (typeof Yt.document == "undefined") {
30891
- (typeof __SENTRY_DEBUG__ == "undefined" || __SENTRY_DEBUG__) && vt.warn("Session tracking in non-browser environment with @sentry/browser is not supported.");
30894
+ (typeof __SENTRY_DEBUG__ == "undefined" || __SENTRY_DEBUG__) && dt.warn("Session tracking in non-browser environment with @sentry/browser is not supported.");
30892
30895
  return;
30893
30896
  }
30894
30897
  const t = Ii();
@@ -31112,7 +31115,7 @@ const _6 = (t, e) => {
31112
31115
  if (!t.listenSessionId && t.duration)
31113
31116
  return "load";
31114
31117
  if (e === "PlaybackPlaying" && (t.emitPlayEvent = "CurrentTimeUpdated"), e === t.emitPlayEvent)
31115
- return delete t.emitPlayEvent, "play";
31118
+ return t.emitPlayEvent = null, "play";
31116
31119
  if (e === "CurrentTimeUpdated" && T6(t))
31117
31120
  return "play_progress";
31118
31121
  if (e.startsWith("PressedAdvert"))
@@ -31129,6 +31132,7 @@ const _6 = (t, e) => {
31129
31132
  media_type: r ? "ad" : "content",
31130
31133
  project_id: t.projectId,
31131
31134
  content_id: a == null ? void 0 : a.id,
31135
+ source_id: a == null ? void 0 : a.sourceId,
31132
31136
  analytics_id: t.analyticsId,
31133
31137
  ad_id: r == null ? void 0 : r.id,
31134
31138
  media_id: (_ = (p = (g = r || a) == null ? void 0 : g.media) == null ? void 0 : p[0]) == null ? void 0 : _.id,
@@ -31171,19 +31175,19 @@ const Dn = class extends b2 {
31171
31175
  const p = new e3(null, Dn);
31172
31176
  p.addEventListener("<any>", (T) => _6(this, T));
31173
31177
  const _ = de({ showUserInterface: g }, i);
31174
- super({ target: l, props: Qt(de({ controller: p }, _), { initialProps: _ }) }), p.player = this, Rr(Dn, Mn).push(this);
31178
+ super({ target: l, props: Qt(de({ controller: p }, _), { initialProps: _ }) }), p.player = this, Ir(Dn, Mn).push(this);
31175
31179
  }
31176
31180
  static get version() {
31177
31181
  return eu;
31178
31182
  }
31179
31183
  static instances() {
31180
- return [...Rr(Dn, Mn)];
31184
+ return [...Ir(Dn, Mn)];
31181
31185
  }
31182
31186
  static destroyAll() {
31183
- Rr(Dn, Mn).forEach((e) => e.destroy());
31187
+ Ir(Dn, Mn).forEach((e) => e.destroy());
31184
31188
  }
31185
31189
  destroy() {
31186
- this.$destroy(), uc(Dn, Mn, Rr(Dn, Mn).filter((e) => e !== this));
31190
+ this.$destroy(), uc(Dn, Mn, Ir(Dn, Mn).filter((e) => e !== this));
31187
31191
  }
31188
31192
  get target() {
31189
31193
  return this.$$.root;
@@ -31199,7 +31203,7 @@ const Dn = class extends b2 {
31199
31203
  }
31200
31204
  };
31201
31205
  let sa = Dn;
31202
- Mn = new WeakMap(), ft(sa, Mn, []);
31206
+ Mn = new WeakMap(), ht(sa, Mn, []);
31203
31207
  var Yd;
31204
31208
  typeof window != "undefined" && (window.BeyondWords || (window.BeyondWords = {}), (Yd = window.BeyondWords).Player || (Yd.Player = sa));
31205
31209
  const P6 = { Player: sa };