@beyondwords/player 0.0.0-beta23 → 0.0.0-beta25

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
@@ -66,7 +66,7 @@ function li(t) {
66
66
  function Ns(t) {
67
67
  return typeof t == "function";
68
68
  }
69
- function et(t, e) {
69
+ function tt(t, e) {
70
70
  return t != t ? e == e : t !== e || t && typeof t == "object" || typeof t == "function";
71
71
  }
72
72
  let Ba;
@@ -171,7 +171,7 @@ function Nn(t, e) {
171
171
  function N(t) {
172
172
  return document.createElement(t);
173
173
  }
174
- function $e(t) {
174
+ function et(t) {
175
175
  return document.createElementNS("http://www.w3.org/2000/svg", t);
176
176
  }
177
177
  function Re(t) {
@@ -183,7 +183,7 @@ function Pe() {
183
183
  function as() {
184
184
  return Re("");
185
185
  }
186
- function ye(t, e, i, r) {
186
+ function me(t, e, i, r) {
187
187
  return t.addEventListener(e, i, r), () => t.removeEventListener(e, i, r);
188
188
  }
189
189
  function nt(t, e, i) {
@@ -233,10 +233,10 @@ function D0(t, e) {
233
233
  r.setAttribute("style", "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"), r.setAttribute("aria-hidden", "true"), r.tabIndex = -1;
234
234
  const a = R0();
235
235
  let l;
236
- return a ? (r.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", l = ye(window, "message", (g) => {
236
+ return a ? (r.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", l = me(window, "message", (g) => {
237
237
  g.source === r.contentWindow && e();
238
238
  })) : (r.src = "about:blank", r.onload = () => {
239
- l = ye(r.contentWindow, "resize", e), e();
239
+ l = me(r.contentWindow, "resize", e), e();
240
240
  }), I(t, r), () => {
241
241
  (a || l && r.contentWindow) && l(), ee(r);
242
242
  };
@@ -494,7 +494,7 @@ function Ge(t, e) {
494
494
  function Y0(t, e) {
495
495
  t.$$.dirty[0] === -1 && (_s.push(t), tf(), t.$$.dirty.fill(0)), t.$$.dirty[e / 31 | 0] |= 1 << e % 31;
496
496
  }
497
- function tt(t, e, i, r, a, l, g, p = [-1]) {
497
+ function it(t, e, i, r, a, l, g, p = [-1]) {
498
498
  const _ = aa;
499
499
  ta(t);
500
500
  const T = t.$$ = {
@@ -533,7 +533,7 @@ function tt(t, e, i, r, a, l, g, p = [-1]) {
533
533
  }
534
534
  ta(_);
535
535
  }
536
- class it {
536
+ class rt {
537
537
  $destroy() {
538
538
  Ge(this, 1), this.$destroy = Ce;
539
539
  }
@@ -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-beta23", er = (t, e) => {
553
+ const q0 = "@beyondwords/player", eu = "0.0.0-beta25", er = (t, e) => {
554
554
  t = [t].flat().join(`
555
555
  `);
556
556
  let i = `${q0}:
@@ -622,7 +622,7 @@ const tu = ["user", "media", "browser", "media-session-api", "google-ima-sdk", "
622
622
  }
623
623
  }, pt = (t, e, i) => {
624
624
  Object.prototype.hasOwnProperty.call(t, e) || er(`Invalid event: missing a '${e}' property`, t), i(t[e]) || er(`Invalid event: '${e}: ${t[e]}' is invalid`, t);
625
- }, rt = (t) => {
625
+ }, $e = (t) => {
626
626
  nv(t);
627
627
  const e = lo(), i = (/* @__PURE__ */ new Date()).toISOString();
628
628
  return de({ id: e, createdAt: i, status: "pending" }, t);
@@ -654,13 +654,13 @@ function gv(t) {
654
654
  },
655
655
  m(p, _) {
656
656
  I(hv.head, e), ie(p, r, _), ie(p, a, _), t[12](a), l || (g = [
657
- ye(
657
+ me(
658
658
  e,
659
659
  "load",
660
660
  /*initializeIMA*/
661
661
  t[1]
662
662
  ),
663
- ye(
663
+ me(
664
664
  e,
665
665
  "error",
666
666
  /*onScriptError*/
@@ -693,35 +693,35 @@ function vv(t, e, i) {
693
693
  }
694
694
  }
695
695
  }, be = (Z) => {
696
- ue = Z.getAdData(), ue.updatedAt = Date.now(), C(rt({
696
+ ue = Z.getAdData(), ue.updatedAt = Date.now(), C($e({
697
697
  type: "CurrentTimeUpdated",
698
698
  description: "The media's current time was updated.",
699
699
  initiatedBy: "media"
700
- })), T !== ue.duration && (i(4, T = ue.duration), C(rt({
700
+ })), T !== ue.duration && (i(4, T = ue.duration), C($e({
701
701
  type: "DurationUpdated",
702
702
  description: "The media's duration was updated.",
703
703
  initiatedBy: "google-ima-sdk"
704
704
  })));
705
705
  }, $ = () => {
706
- C(rt({
706
+ C($e({
707
707
  type: "PressedAdvertVideo",
708
708
  description: "The video background was pressed to open the advert in a new tab.",
709
709
  initiatedBy: "user"
710
710
  }));
711
711
  }, L = () => {
712
- _ !== "paused" && (i(3, _ = "paused"), C(rt({
712
+ _ !== "paused" && (i(3, _ = "paused"), C($e({
713
713
  type: "PlaybackPaused",
714
714
  description: "The media became paused at its current playback time.",
715
715
  initiatedBy: "google-ima-sdk"
716
716
  })));
717
717
  }, ae = () => {
718
- C(rt({
718
+ C($e({
719
719
  type: "PlaybackEnded",
720
720
  description: "The media finished playing because it reached the end.",
721
721
  initiatedBy: "google-ima-sdk"
722
722
  }));
723
723
  }, W = (Z, B) => {
724
- B = B || Z.getError(), H == null || H.destroy(), C(rt({
724
+ B = B || Z.getError(), H == null || H.destroy(), C($e({
725
725
  type: "PlaybackErrored",
726
726
  description: "The media failed to play.",
727
727
  initiatedBy: "google-ima-sdk",
@@ -730,7 +730,7 @@ function vv(t, e, i) {
730
730
  errorMessage: `${B.getMessage()} (code=${B.getErrorCode()})`
731
731
  }));
732
732
  }, Xe = () => {
733
- C(rt({
733
+ C($e({
734
734
  type: "PlaybackErrored",
735
735
  description: "The media failed to play.",
736
736
  initiatedBy: "browser",
@@ -785,9 +785,9 @@ function vv(t, e, i) {
785
785
  K
786
786
  ];
787
787
  }
788
- class mv extends it {
788
+ class mv extends rt {
789
789
  constructor(e) {
790
- super(), tt(this, e, vv, gv, et, {
790
+ super(), it(this, e, vv, gv, tt, {
791
791
  vastUrl: 6,
792
792
  advertConsent: 7,
793
793
  video: 8,
@@ -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.4');
1104
+ Ie.log('Debug logs enabled for "' + c + '" in hls.js version 1.4.5');
1105
1105
  } catch (u) {
1106
1106
  Ie = we;
1107
1107
  }
@@ -1708,7 +1708,7 @@ var nf = { exports: {} };
1708
1708
  });
1709
1709
  }), c;
1710
1710
  }
1711
- function me(d, c) {
1711
+ function pe(d, c) {
1712
1712
  if (!d || !c)
1713
1713
  return d;
1714
1714
  var u = c.keyId;
@@ -2245,7 +2245,7 @@ var nf = { exports: {} };
2245
2245
  w.title = re || null, w.tagList.push(re ? ["INF", fe, re] : ["INF", fe]);
2246
2246
  } else if (O[3]) {
2247
2247
  if ($(w.duration)) {
2248
- w.start = E, D && pe(w, D, v), w.sn = b, w.level = s, w.cc = A, w.urlId = f, m.push(w);
2248
+ w.start = E, D && _e(w, D, v), w.sn = b, w.level = s, w.cc = A, w.urlId = f, m.push(w);
2249
2249
  var ne = (" " + O[3]).slice(1);
2250
2250
  w.relurl = ne, Zt(w, x), x = w, E += w.duration, b++, S = 0, q = !0;
2251
2251
  }
@@ -2371,7 +2371,7 @@ var nf = { exports: {} };
2371
2371
  }
2372
2372
  }
2373
2373
  }
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));
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 && _e(w, D, v));
2375
2375
  var Zi = m.length, nr = m[0], un = m[Zi - 1];
2376
2376
  if (E += v.skippedSegments * v.targetduration, E > 0 && Zi && un) {
2377
2377
  v.averagetargetduration = E / Zi;
@@ -2425,14 +2425,14 @@ var nf = { exports: {} };
2425
2425
  function j(d, c, u, n) {
2426
2426
  d.relurl = c.URI, c.BYTERANGE && d.setByteRange(c.BYTERANGE), d.level = u, d.sn = "initSegment", n && (d.levelkeys = n), d.initSegment = null;
2427
2427
  }
2428
- function pe(d, c, u) {
2428
+ function _e(d, c, u) {
2429
2429
  d.levelkeys = c;
2430
2430
  var n = u.encryptedFragments;
2431
2431
  (!n.length || n[n.length - 1].levelkeys !== c) && Object.keys(c).some(function(s) {
2432
2432
  return c[s].isCommonEncryption;
2433
2433
  }) && n.push(d);
2434
2434
  }
2435
- var _e = {
2435
+ var ye = {
2436
2436
  MANIFEST: "manifest",
2437
2437
  LEVEL: "level",
2438
2438
  AUDIO_TRACK: "audioTrack",
@@ -2445,9 +2445,9 @@ var nf = { exports: {} };
2445
2445
  function Ar(d) {
2446
2446
  var c = d.type;
2447
2447
  switch (c) {
2448
- case _e.AUDIO_TRACK:
2448
+ case ye.AUDIO_TRACK:
2449
2449
  return ot.AUDIO;
2450
- case _e.SUBTITLE_TRACK:
2450
+ case ye.SUBTITLE_TRACK:
2451
2451
  return ot.SUBTITLE;
2452
2452
  default:
2453
2453
  return ot.MAIN;
@@ -2491,7 +2491,7 @@ var nf = { exports: {} };
2491
2491
  id: null,
2492
2492
  level: 0,
2493
2493
  responseType: "text",
2494
- type: _e.MANIFEST,
2494
+ type: ye.MANIFEST,
2495
2495
  url: o,
2496
2496
  deliveryDirectives: null
2497
2497
  });
@@ -2501,7 +2501,7 @@ var nf = { exports: {} };
2501
2501
  id: o,
2502
2502
  level: f,
2503
2503
  responseType: "text",
2504
- type: _e.LEVEL,
2504
+ type: ye.LEVEL,
2505
2505
  url: h,
2506
2506
  deliveryDirectives: v
2507
2507
  });
@@ -2512,7 +2512,7 @@ var nf = { exports: {} };
2512
2512
  groupId: f,
2513
2513
  level: null,
2514
2514
  responseType: "text",
2515
- type: _e.AUDIO_TRACK,
2515
+ type: ye.AUDIO_TRACK,
2516
2516
  url: h,
2517
2517
  deliveryDirectives: v
2518
2518
  });
@@ -2523,7 +2523,7 @@ var nf = { exports: {} };
2523
2523
  groupId: f,
2524
2524
  level: null,
2525
2525
  responseType: "text",
2526
- type: _e.SUBTITLE_TRACK,
2526
+ type: ye.SUBTITLE_TRACK,
2527
2527
  url: h,
2528
2528
  deliveryDirectives: v
2529
2529
  });
@@ -2538,12 +2538,12 @@ var nf = { exports: {} };
2538
2538
  B.log("[playlist-loader]: aborting previous loader for type: " + n.type), h.abort();
2539
2539
  }
2540
2540
  var m;
2541
- if (n.type === _e.MANIFEST ? m = f.manifestLoadPolicy.default : m = T({}, f.playlistLoadPolicy.default, {
2541
+ if (n.type === ye.MANIFEST ? m = f.manifestLoadPolicy.default : m = T({}, f.playlistLoadPolicy.default, {
2542
2542
  timeoutRetry: null,
2543
2543
  errorRetry: null
2544
2544
  }), h = this.createInternalLoader(n), (s = n.deliveryDirectives) != null && s.part) {
2545
2545
  var y;
2546
- if (n.type === _e.LEVEL && n.level !== null ? y = this.hls.levels[n.level].details : n.type === _e.AUDIO_TRACK && n.id !== null ? y = this.hls.audioTracks[n.id].details : n.type === _e.SUBTITLE_TRACK && n.id !== null && (y = this.hls.subtitleTracks[n.id].details), y) {
2546
+ if (n.type === ye.LEVEL && n.level !== null ? y = this.hls.levels[n.level].details : n.type === ye.AUDIO_TRACK && n.id !== null ? y = this.hls.audioTracks[n.id].details : n.type === ye.SUBTITLE_TRACK && n.id !== null && (y = this.hls.subtitleTracks[n.id].details), y) {
2547
2547
  var b = y.partTarget, S = y.targetduration;
2548
2548
  if (b && S) {
2549
2549
  var E = Math.max(b * 3, S * 0.8) * 1e3;
@@ -2621,7 +2621,7 @@ var nf = { exports: {} };
2621
2621
  });
2622
2622
  }, c.handleTrackOrLevelPlaylist = function(n, s, o, f, h) {
2623
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
- if (b === _e.MANIFEST) {
2624
+ if (b === ye.MANIFEST) {
2625
2625
  var O = {
2626
2626
  attrs: new xe({}),
2627
2627
  bitrate: 0,
@@ -2647,7 +2647,7 @@ var nf = { exports: {} };
2647
2647
  this.hls.trigger(L.ERROR, {
2648
2648
  type: ae.NETWORK_ERROR,
2649
2649
  details: W.MANIFEST_PARSING_ERROR,
2650
- fatal: s.type === _e.MANIFEST,
2650
+ fatal: s.type === ye.MANIFEST,
2651
2651
  url: n.url,
2652
2652
  err: o,
2653
2653
  error: o,
@@ -2660,21 +2660,21 @@ var nf = { exports: {} };
2660
2660
  }, c.handleNetworkError = function(n, s, o, f, h) {
2661
2661
  o === void 0 && (o = !1);
2662
2662
  var v = "A network " + (o ? "timeout" : "error" + (f ? " (status " + f.code + ")" : "")) + " occurred while loading " + n.type;
2663
- n.type === _e.LEVEL ? v += ": " + n.level + " id: " + n.id : (n.type === _e.AUDIO_TRACK || n.type === _e.SUBTITLE_TRACK) && (v += " id: " + n.id + ' group-id: "' + n.groupId + '"');
2663
+ n.type === ye.LEVEL ? v += ": " + n.level + " id: " + n.id : (n.type === ye.AUDIO_TRACK || n.type === ye.SUBTITLE_TRACK) && (v += " id: " + n.id + ' group-id: "' + n.groupId + '"');
2664
2664
  var m = new Error(v);
2665
2665
  B.warn("[playlist-loader]: " + v);
2666
2666
  var y = W.UNKNOWN, b = !1, S = this.getInternalLoader(n);
2667
2667
  switch (n.type) {
2668
- case _e.MANIFEST:
2668
+ case ye.MANIFEST:
2669
2669
  y = o ? W.MANIFEST_LOAD_TIMEOUT : W.MANIFEST_LOAD_ERROR, b = !0;
2670
2670
  break;
2671
- case _e.LEVEL:
2671
+ case ye.LEVEL:
2672
2672
  y = o ? W.LEVEL_LOAD_TIMEOUT : W.LEVEL_LOAD_ERROR, b = !1;
2673
2673
  break;
2674
- case _e.AUDIO_TRACK:
2674
+ case ye.AUDIO_TRACK:
2675
2675
  y = o ? W.AUDIO_TRACK_LOAD_TIMEOUT : W.AUDIO_TRACK_LOAD_ERROR, b = !1;
2676
2676
  break;
2677
- case _e.SUBTITLE_TRACK:
2677
+ case ye.SUBTITLE_TRACK:
2678
2678
  y = o ? W.SUBTITLE_TRACK_LOAD_TIMEOUT : W.SUBTITLE_LOAD_ERROR, b = !1;
2679
2679
  break;
2680
2680
  }
@@ -2738,8 +2738,8 @@ var nf = { exports: {} };
2738
2738
  return;
2739
2739
  }
2740
2740
  switch (n.live && v && (v.getCacheAge && (n.ageHeader = v.getCacheAge() || 0), (!v.getCacheAge || isNaN(n.ageHeader)) && (n.ageHeader = 0)), y) {
2741
- case _e.MANIFEST:
2742
- case _e.LEVEL:
2741
+ case ye.MANIFEST:
2742
+ case ye.LEVEL:
2743
2743
  m.trigger(L.LEVEL_LOADED, {
2744
2744
  details: n,
2745
2745
  level: O || 0,
@@ -2749,7 +2749,7 @@ var nf = { exports: {} };
2749
2749
  deliveryDirectives: A
2750
2750
  });
2751
2751
  break;
2752
- case _e.AUDIO_TRACK:
2752
+ case ye.AUDIO_TRACK:
2753
2753
  m.trigger(L.AUDIO_TRACK_LOADED, {
2754
2754
  details: n,
2755
2755
  id: S || 0,
@@ -2759,7 +2759,7 @@ var nf = { exports: {} };
2759
2759
  deliveryDirectives: A
2760
2760
  });
2761
2761
  break;
2762
- case _e.SUBTITLE_TRACK:
2762
+ case ye.SUBTITLE_TRACK:
2763
2763
  m.trigger(L.SUBTITLE_TRACK_LOADED, {
2764
2764
  details: n,
2765
2765
  id: S || 0,
@@ -2897,7 +2897,7 @@ var nf = { exports: {} };
2897
2897
  for (var w = 0; w < S.length; w++) {
2898
2898
  var O = S[w];
2899
2899
  if (!Ot(O)) {
2900
- this.updateId3CueEnds(E);
2900
+ this.updateId3CueEnds(E, b);
2901
2901
  var M = new m(E, A, "");
2902
2902
  M.value = O, b && (M.type = b), this.id3Track.addCue(M);
2903
2903
  }
@@ -2907,12 +2907,12 @@ var nf = { exports: {} };
2907
2907
  }
2908
2908
  }
2909
2909
  }
2910
- }, c.updateId3CueEnds = function(n) {
2911
- var s, o = (s = this.id3Track) == null ? void 0 : s.cues;
2912
- if (o)
2913
- for (var f = o.length; f--; ) {
2914
- var h = o[f];
2915
- h.startTime < n && h.endTime === cr && (h.endTime = n);
2910
+ }, c.updateId3CueEnds = function(n, s) {
2911
+ var o, f = (o = this.id3Track) == null ? void 0 : o.cues;
2912
+ if (f)
2913
+ for (var h = f.length; h--; ) {
2914
+ var v = f[h];
2915
+ v.type === s && v.startTime < n && v.endTime === cr && (v.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;
@@ -3472,7 +3472,7 @@ var nf = { exports: {} };
3472
3472
  case W.SUBTITLE_TRACK_LOAD_TIMEOUT:
3473
3473
  if (h) {
3474
3474
  var b = f.levels[f.loadLevel];
3475
- if (b && (h.type === _e.AUDIO_TRACK && h.groupId === b.audioGroupId || h.type === _e.SUBTITLE_TRACK && h.groupId === b.textGroupId)) {
3475
+ if (b && (h.type === ye.AUDIO_TRACK && h.groupId === b.audioGroupId || h.type === ye.SUBTITLE_TRACK && h.groupId === b.textGroupId)) {
3476
3476
  s.errorAction = this.getPlaylistRetryOrSwitchAction(s, f.loadLevel), s.errorAction.action = fr.SendAlternateToPenaltyBox, s.errorAction.flags = Wr.MoveAllAlternatesMatchingHost;
3477
3477
  return;
3478
3478
  }
@@ -3558,7 +3558,7 @@ var nf = { exports: {} };
3558
3558
  continue;
3559
3559
  }
3560
3560
  } else {
3561
- if (E === _e.AUDIO_TRACK && A === O.audioGroupId || E === _e.SUBTITLE_TRACK && A === O.textGroupId)
3561
+ if (E === ye.AUDIO_TRACK && A === O.audioGroupId || E === ye.SUBTITLE_TRACK && A === O.textGroupId)
3562
3562
  continue;
3563
3563
  if (b === ot.AUDIO && f.audioGroupId === O.audioGroupId || b === ot.SUBTITLE && f.textGroupId === O.textGroupId)
3564
3564
  continue;
@@ -3849,7 +3849,7 @@ var nf = { exports: {} };
3849
3849
  };
3850
3850
  this.hls.trigger(L.MANIFEST_PARSED, M), (this.hls.config.autoStartLoad || this.hls.forceStartLoad) && this.hls.startLoad(this.hls.config.startPosition);
3851
3851
  }, u.onError = function(s, o) {
3852
- o.fatal || !o.context || o.context.type === _e.LEVEL && o.context.level === this.level && this.checkRetry(o);
3852
+ o.fatal || !o.context || o.context.type === ye.LEVEL && o.context.level === this.level && this.checkRetry(o);
3853
3853
  }, u.onFragLoaded = function(s, o) {
3854
3854
  var f = o.frag;
3855
3855
  if (f !== void 0 && f.type === ot.MAIN) {
@@ -7944,7 +7944,7 @@ var nf = { exports: {} };
7944
7944
  }, c.resetNextTimestamp = function() {
7945
7945
  this.lastEndTime = null;
7946
7946
  }, c.resetInitSegment = function(n, s, o, f) {
7947
- this.audioCodec = s, this.videoCodec = o, this.generateInitSegment(me(n, f)), this.emitInitSegment = !0;
7947
+ this.audioCodec = s, this.videoCodec = o, this.generateInitSegment(pe(n, f)), this.emitInitSegment = !0;
7948
7948
  }, c.generateInitSegment = function(n) {
7949
7949
  var s = this.audioCodec, o = this.videoCodec;
7950
7950
  if (!(n != null && n.byteLength)) {
@@ -8750,6 +8750,9 @@ var nf = { exports: {} };
8750
8750
  break;
8751
8751
  this.state = Be.IDLE;
8752
8752
  break;
8753
+ } else if (this.hls.nextLoadLevel !== this.level) {
8754
+ this.state = Be.IDLE;
8755
+ break;
8753
8756
  }
8754
8757
  break;
8755
8758
  }
@@ -8983,7 +8986,7 @@ var nf = { exports: {} };
8983
8986
  case W.LEVEL_LOAD_ERROR:
8984
8987
  case W.LEVEL_LOAD_TIMEOUT:
8985
8988
  case W.LEVEL_PARSING_ERROR:
8986
- !o.levelRetry && this.state === Be.WAITING_LEVEL && ((f = o.context) == null ? void 0 : f.type) === _e.LEVEL && (this.state = Be.IDLE);
8989
+ !o.levelRetry && this.state === Be.WAITING_LEVEL && ((f = o.context) == null ? void 0 : f.type) === ye.LEVEL && (this.state = Be.IDLE);
8987
8990
  break;
8988
8991
  case W.BUFFER_FULL_ERROR:
8989
8992
  if (!o.parent || o.parent !== "main")
@@ -10947,7 +10950,7 @@ var nf = { exports: {} };
10947
10950
  * Get the video-dev/hls.js package version.
10948
10951
  */
10949
10952
  function() {
10950
- return "1.4.4";
10953
+ return "1.4.5";
10951
10954
  }
10952
10955
  )
10953
10956
  }, {
@@ -13751,7 +13754,7 @@ function _c(t) {
13751
13754
  t[50]);
13752
13755
  },
13753
13756
  m(g, p) {
13754
- ie(g, e, p), a || (l = ye(
13757
+ ie(g, e, p), a || (l = me(
13755
13758
  e,
13756
13759
  "error",
13757
13760
  /*handleSourceError*/
@@ -13933,50 +13936,50 @@ function Cy(t) {
13933
13936
  t[3]
13934
13937
  ) || (r.playbackRate = /*playbackRate*/
13935
13938
  t[3]), I(i, _), oe && oe.m(i, null), I(i, T), ue && ue.m(i, null), C = !0, F || (U = [
13936
- ye(
13939
+ me(
13937
13940
  r,
13938
13941
  "durationchange",
13939
13942
  /*video_1_durationchange_handler*/
13940
13943
  t[38]
13941
13944
  ),
13942
- ye(r, "timeupdate", H),
13943
- ye(
13945
+ me(r, "timeupdate", H),
13946
+ me(
13944
13947
  r,
13945
13948
  "ratechange",
13946
13949
  /*video_1_ratechange_handler*/
13947
13950
  t[40]
13948
13951
  ),
13949
- ye(
13952
+ me(
13950
13953
  r,
13951
13954
  "play",
13952
13955
  /*handlePlay*/
13953
13956
  t[17]
13954
13957
  ),
13955
- ye(
13958
+ me(
13956
13959
  r,
13957
13960
  "pause",
13958
13961
  /*handlePause*/
13959
13962
  t[18]
13960
13963
  ),
13961
- ye(
13964
+ me(
13962
13965
  r,
13963
13966
  "ended",
13964
13967
  /*handleEnded*/
13965
13968
  t[19]
13966
13969
  ),
13967
- ye(
13970
+ me(
13968
13971
  r,
13969
13972
  "durationchange",
13970
13973
  /*handleDurationChange*/
13971
13974
  t[20]
13972
13975
  ),
13973
- ye(
13976
+ me(
13974
13977
  r,
13975
13978
  "timeupdate",
13976
13979
  /*handleTimeUpdate*/
13977
13980
  t[21]
13978
13981
  ),
13979
- ye(
13982
+ me(
13980
13983
  r,
13981
13984
  "ratechange",
13982
13985
  /*handleRateChange*/
@@ -14060,37 +14063,37 @@ function Ly(t, e, i) {
14060
14063
  const B = (Se) => i(9, Z = Se), Ke = () => {
14061
14064
  K && clearTimeout(K), i(12, K = setTimeout(() => i(12, K = null), 500));
14062
14065
  }, Me = () => {
14063
- we(rt({
14066
+ we($e({
14064
14067
  type: "PlaybackPlaying",
14065
14068
  description: "The media began playing from its current playback time.",
14066
14069
  initiatedBy: "media"
14067
14070
  }));
14068
14071
  }, xe = () => {
14069
- we(rt({
14072
+ we($e({
14070
14073
  type: "PlaybackPaused",
14071
14074
  description: "The media became paused at its current playback time.",
14072
14075
  initiatedBy: "media"
14073
14076
  }));
14074
14077
  }, Fe = () => {
14075
- we(rt({
14078
+ we($e({
14076
14079
  type: "PlaybackEnded",
14077
14080
  description: "The media finished playing because it reached the end.",
14078
14081
  initiatedBy: "media"
14079
14082
  }));
14080
14083
  }, te = () => {
14081
- we(rt({
14084
+ we($e({
14082
14085
  type: "DurationUpdated",
14083
14086
  description: "The media's duration was updated.",
14084
14087
  initiatedBy: "media"
14085
14088
  }));
14086
14089
  }, ve = () => {
14087
- p || we(rt({
14090
+ p || we($e({
14088
14091
  type: "CurrentTimeUpdated",
14089
14092
  description: "The media's current time was updated.",
14090
14093
  initiatedBy: "media"
14091
14094
  }));
14092
14095
  }, ft = () => {
14093
- we(rt({
14096
+ we($e({
14094
14097
  type: "CurrentSegmentUpdated",
14095
14098
  description: "The media's current segment was updated.",
14096
14099
  initiatedBy: "media",
@@ -14099,13 +14102,13 @@ function Ly(t, e, i) {
14099
14102
  segmentIndex: U
14100
14103
  }));
14101
14104
  }, Ee = () => {
14102
- we(rt({
14105
+ we($e({
14103
14106
  type: "PlaybackRateUpdated",
14104
14107
  description: "The media's playback rate was updated.",
14105
14108
  initiatedBy: "media"
14106
14109
  }));
14107
14110
  }, Le = (Se) => () => {
14108
- Se === g.length - 1 && we(rt({
14111
+ Se === g.length - 1 && we($e({
14109
14112
  type: "PlaybackErrored",
14110
14113
  description: "The media failed to play.",
14111
14114
  initiatedBy: "media",
@@ -14114,7 +14117,7 @@ function Ly(t, e, i) {
14114
14117
  errorMessage: "The video tag contains sources but none are playable."
14115
14118
  }));
14116
14119
  }, Ye = (Se, gt) => {
14117
- gt.fatal && (Oe == null || Oe.destroy(), i(31, Oe = null), we(rt({
14120
+ gt.fatal && (Oe == null || Oe.destroy(), i(31, Oe = null), we($e({
14118
14121
  type: "PlaybackErrored",
14119
14122
  description: "The media failed to play.",
14120
14123
  initiatedBy: "media",
@@ -14123,7 +14126,7 @@ function Ly(t, e, i) {
14123
14126
  errorMessage: `${gt.type} ${gt.details}`
14124
14127
  })));
14125
14128
  }, wt = () => {
14126
- we(rt({
14129
+ we($e({
14127
14130
  type: "FullScreenModeUpdated",
14128
14131
  description: "The browser entered or exited full screen mode.",
14129
14132
  initiatedBy: "browser"
@@ -14233,14 +14236,14 @@ function Ly(t, e, i) {
14233
14236
  kt
14234
14237
  ];
14235
14238
  }
14236
- class Iy extends it {
14239
+ class Iy extends rt {
14237
14240
  constructor(e) {
14238
- super(), tt(
14241
+ super(), it(
14239
14242
  this,
14240
14243
  e,
14241
14244
  Ly,
14242
14245
  Cy,
14243
- et,
14246
+ tt,
14244
14247
  {
14245
14248
  content: 25,
14246
14249
  contentIndex: 26,
@@ -14373,7 +14376,7 @@ function My(t) {
14373
14376
  let e, i, r, a;
14374
14377
  return {
14375
14378
  c() {
14376
- e = $e("svg"), i = $e("path"), Hr(
14379
+ e = et("svg"), i = et("path"), Hr(
14377
14380
  i,
14378
14381
  "fill",
14379
14382
  /*color*/
@@ -14411,9 +14414,9 @@ function Ny(t, e, i) {
14411
14414
  "scale" in l && i(0, r = l.scale), "color" in l && i(1, a = l.color);
14412
14415
  }, [r, a];
14413
14416
  }
14414
- class Fy extends it {
14417
+ class Fy extends rt {
14415
14418
  constructor(e) {
14416
- super(), tt(this, e, Ny, My, et, { scale: 0, color: 1 });
14419
+ super(), it(this, e, Ny, My, tt, { scale: 0, color: 1 });
14417
14420
  }
14418
14421
  get scale() {
14419
14422
  return this.$$.ctx[0];
@@ -14433,7 +14436,7 @@ function Wy(t) {
14433
14436
  let e, i, r, a;
14434
14437
  return {
14435
14438
  c() {
14436
- e = $e("svg"), i = $e("path"), Kr(
14439
+ e = et("svg"), i = et("path"), Kr(
14437
14440
  i,
14438
14441
  "fill",
14439
14442
  /*color*/
@@ -14471,9 +14474,9 @@ function jy(t, e, i) {
14471
14474
  "scale" in l && i(0, r = l.scale), "color" in l && i(1, a = l.color);
14472
14475
  }, [r, a];
14473
14476
  }
14474
- class Gy extends it {
14477
+ class Gy extends rt {
14475
14478
  constructor(e) {
14476
- super(), tt(this, e, jy, Wy, et, { scale: 0, color: 1 });
14479
+ super(), it(this, e, jy, Wy, tt, { scale: 0, color: 1 });
14477
14480
  }
14478
14481
  get scale() {
14479
14482
  return this.$$.ctx[0];
@@ -14594,13 +14597,13 @@ function qy(t) {
14594
14597
  },
14595
14598
  m(k, C) {
14596
14599
  ie(k, e, C), _[i].m(e, null), a = !0, l || (g = [
14597
- ye(
14600
+ me(
14598
14601
  e,
14599
14602
  "click",
14600
14603
  /*handleClick*/
14601
14604
  t[5]
14602
14605
  ),
14603
- ye(e, "mouseup", Br)
14606
+ me(e, "mouseup", Br)
14604
14607
  ], l = !0);
14605
14608
  },
14606
14609
  p(k, [C]) {
@@ -14640,7 +14643,7 @@ function Xy(t, e, i) {
14640
14643
  const T = (k) => {
14641
14644
  k.preventDefault();
14642
14645
  const C = a ? "Pause" : "Play";
14643
- _(rt({
14646
+ _($e({
14644
14647
  type: `Pressed${C}`,
14645
14648
  description: `The ${C.toLowerCase()} button was pressed.`,
14646
14649
  initiatedBy: "user"
@@ -14653,9 +14656,9 @@ function Xy(t, e, i) {
14653
14656
  1 && i(4, r = pi(a ? "pauseAudio" : "playAudio"));
14654
14657
  }, [a, l, g, p, r, T, _];
14655
14658
  }
14656
- class Zy extends it {
14659
+ class Zy extends rt {
14657
14660
  constructor(e) {
14658
- super(), tt(this, e, Xy, qy, et, {
14661
+ super(), it(this, e, Xy, qy, tt, {
14659
14662
  isPlaying: 0,
14660
14663
  tabindex: 1,
14661
14664
  scale: 2,
@@ -14726,14 +14729,14 @@ function $y(t) {
14726
14729
  },
14727
14730
  m(p, _) {
14728
14731
  ie(p, e, _), I(e, i), I(i, r), I(i, a), l || (g = [
14729
- ye(
14732
+ me(
14730
14733
  e,
14731
14734
  "click",
14732
14735
  /*handleClick*/
14733
14736
  t[4]
14734
14737
  ),
14735
- ye(e, "mouseup", Br),
14736
- ye(
14738
+ me(e, "mouseup", Br),
14739
+ me(
14737
14740
  e,
14738
14741
  "keydown",
14739
14742
  /*handleKeyDown*/
@@ -14784,14 +14787,14 @@ function e1(t, e, i) {
14784
14787
  let r, a, { speed: l = 1 } = e, { scale: g = 1 } = e, { color: p = "#323232" } = e, { onEvent: _ = () => {
14785
14788
  } } = e;
14786
14789
  const T = () => {
14787
- _(rt({
14790
+ _($e({
14788
14791
  type: "PressedChangeSpeed",
14789
14792
  description: "The change speed button was pressed.",
14790
14793
  initiatedBy: "user"
14791
14794
  }));
14792
14795
  }, k = (C) => {
14793
14796
  let F;
14794
- C.key === "ArrowLeft" && (F = "Left"), C.key === "ArrowRight" && (F = "Right"), C.key === "ArrowDown" && (F = "Down"), C.key === "ArrowUp" && (F = "Up"), C.key === " " && (F = "Space"), C.key === "Enter" && (F = "Enter"), F && (C.preventDefault(), _(rt({
14797
+ C.key === "ArrowLeft" && (F = "Left"), C.key === "ArrowRight" && (F = "Right"), C.key === "ArrowDown" && (F = "Down"), C.key === "ArrowUp" && (F = "Up"), C.key === " " && (F = "Space"), C.key === "Enter" && (F = "Enter"), F && (C.preventDefault(), _($e({
14795
14798
  type: `Pressed${F}OnChangeSpeed`,
14796
14799
  description: `The ${F.toLowerCase()} key was pressed while change speed was focussed.`,
14797
14800
  initiatedBy: "user"
@@ -14805,9 +14808,9 @@ function e1(t, e, i) {
14805
14808
  64 && i(2, a = `${12 * g}px`);
14806
14809
  }, [l, p, a, r, T, k, g, _];
14807
14810
  }
14808
- class t1 extends it {
14811
+ class t1 extends rt {
14809
14812
  constructor(e) {
14810
- super(), tt(this, e, e1, $y, et, { speed: 0, scale: 6, color: 1, onEvent: 7 });
14813
+ super(), it(this, e, e1, $y, tt, { speed: 0, scale: 6, color: 1, onEvent: 7 });
14811
14814
  }
14812
14815
  get speed() {
14813
14816
  return this.$$.ctx[0];
@@ -14839,7 +14842,7 @@ function n1(t) {
14839
14842
  let e, i, r, a, l, g;
14840
14843
  return {
14841
14844
  c() {
14842
- e = $e("svg"), i = $e("path"), r = $e("text"), a = Re(
14845
+ e = et("svg"), i = et("path"), r = et("text"), a = Re(
14843
14846
  /*seconds*/
14844
14847
  t[2]
14845
14848
  ), Wi(
@@ -14896,9 +14899,9 @@ function s1(t, e, i) {
14896
14899
  "scale" in g && i(0, r = g.scale), "color" in g && i(1, a = g.color), "seconds" in g && i(2, l = g.seconds);
14897
14900
  }, [r, a, l];
14898
14901
  }
14899
- class a1 extends it {
14902
+ class a1 extends rt {
14900
14903
  constructor(e) {
14901
- super(), tt(this, e, s1, n1, et, { scale: 0, color: 1, seconds: 2 });
14904
+ super(), it(this, e, s1, n1, tt, { scale: 0, color: 1, seconds: 2 });
14902
14905
  }
14903
14906
  get scale() {
14904
14907
  return this.$$.ctx[0];
@@ -14924,7 +14927,7 @@ function u1(t) {
14924
14927
  let e, i, r, a;
14925
14928
  return {
14926
14929
  c() {
14927
- e = $e("svg"), i = $e("path"), Yr(
14930
+ e = et("svg"), i = et("path"), Yr(
14928
14931
  i,
14929
14932
  "fill",
14930
14933
  /*color*/
@@ -14962,9 +14965,9 @@ function c1(t, e, i) {
14962
14965
  "scale" in l && i(0, r = l.scale), "color" in l && i(1, a = l.color);
14963
14966
  }, [r, a];
14964
14967
  }
14965
- class d1 extends it {
14968
+ class d1 extends rt {
14966
14969
  constructor(e) {
14967
- super(), tt(this, e, c1, u1, et, { scale: 0, color: 1 });
14970
+ super(), it(this, e, c1, u1, tt, { scale: 0, color: 1 });
14968
14971
  }
14969
14972
  get scale() {
14970
14973
  return this.$$.ctx[0];
@@ -14984,7 +14987,7 @@ function g1(t) {
14984
14987
  let e, i, r, a, l;
14985
14988
  return {
14986
14989
  c() {
14987
- e = $e("svg"), i = $e("path"), r = $e("path"), gr(
14990
+ e = et("svg"), i = et("path"), r = et("path"), gr(
14988
14991
  i,
14989
14992
  "fill",
14990
14993
  /*color*/
@@ -15033,9 +15036,9 @@ function v1(t, e, i) {
15033
15036
  "scale" in l && i(0, r = l.scale), "color" in l && i(1, a = l.color);
15034
15037
  }, [r, a];
15035
15038
  }
15036
- class m1 extends it {
15039
+ class m1 extends rt {
15037
15040
  constructor(e) {
15038
- super(), tt(this, e, v1, g1, et, { scale: 0, color: 1 });
15041
+ super(), it(this, e, v1, g1, tt, { scale: 0, color: 1 });
15039
15042
  }
15040
15043
  get scale() {
15041
15044
  return this.$$.ctx[0];
@@ -15200,13 +15203,13 @@ function T1(t) {
15200
15203
  },
15201
15204
  m(k, C) {
15202
15205
  ie(k, e, C), ~i && _[i].m(e, null), a = !0, l || (g = [
15203
- ye(
15206
+ me(
15204
15207
  e,
15205
15208
  "click",
15206
15209
  /*handleClick*/
15207
15210
  t[7]
15208
15211
  ),
15209
- ye(e, "mouseup", Br)
15212
+ me(e, "mouseup", Br)
15210
15213
  ], l = !0);
15211
15214
  },
15212
15215
  p(k, [C]) {
@@ -15237,7 +15240,7 @@ function k1(t, e, i) {
15237
15240
  } } = e, C;
15238
15241
  const F = () => {
15239
15242
  let U, V, z;
15240
- a ? (U = "PressedPrevSegment", V = "The previous segment button was pressed.") : l ? (U = "PressedSeekBack", V = "The seek backward button was pressed.", z = { seconds: r }) : g && (U = "PressedPrevTrack", V = "The previous track button was pressed."), k(rt(de({
15243
+ a ? (U = "PressedPrevSegment", V = "The previous segment button was pressed.") : l ? (U = "PressedSeekBack", V = "The seek backward button was pressed.", z = { seconds: r }) : g && (U = "PressedPrevTrack", V = "The previous track button was pressed."), k($e(de({
15241
15244
  type: U,
15242
15245
  description: V,
15243
15246
  initiatedBy: "user"
@@ -15266,9 +15269,9 @@ function k1(t, e, i) {
15266
15269
  k
15267
15270
  ];
15268
15271
  }
15269
- class E1 extends it {
15272
+ class E1 extends rt {
15270
15273
  constructor(e) {
15271
- super(), tt(this, e, k1, T1, et, { style: 8, scale: 0, color: 1, onEvent: 9 });
15274
+ super(), it(this, e, k1, T1, tt, { style: 8, scale: 0, color: 1, onEvent: 9 });
15272
15275
  }
15273
15276
  get style() {
15274
15277
  return this.$$.ctx[8];
@@ -15300,7 +15303,7 @@ function P1(t) {
15300
15303
  let e, i, r, a, l, g;
15301
15304
  return {
15302
15305
  c() {
15303
- e = $e("svg"), i = $e("path"), r = $e("text"), a = Re(
15306
+ e = et("svg"), i = et("path"), r = et("text"), a = Re(
15304
15307
  /*seconds*/
15305
15308
  t[2]
15306
15309
  ), ji(
@@ -15357,9 +15360,9 @@ function w1(t, e, i) {
15357
15360
  "scale" in g && i(0, r = g.scale), "color" in g && i(1, a = g.color), "seconds" in g && i(2, l = g.seconds);
15358
15361
  }, [r, a, l];
15359
15362
  }
15360
- class C1 extends it {
15363
+ class C1 extends rt {
15361
15364
  constructor(e) {
15362
- super(), tt(this, e, w1, P1, et, { scale: 0, color: 1, seconds: 2 });
15365
+ super(), it(this, e, w1, P1, tt, { scale: 0, color: 1, seconds: 2 });
15363
15366
  }
15364
15367
  get scale() {
15365
15368
  return this.$$.ctx[0];
@@ -15385,7 +15388,7 @@ function R1(t) {
15385
15388
  let e, i, r, a;
15386
15389
  return {
15387
15390
  c() {
15388
- e = $e("svg"), i = $e("path"), qr(
15391
+ e = et("svg"), i = et("path"), qr(
15389
15392
  i,
15390
15393
  "fill",
15391
15394
  /*color*/
@@ -15423,9 +15426,9 @@ function D1(t, e, i) {
15423
15426
  "scale" in l && i(0, r = l.scale), "color" in l && i(1, a = l.color);
15424
15427
  }, [r, a];
15425
15428
  }
15426
- class O1 extends it {
15429
+ class O1 extends rt {
15427
15430
  constructor(e) {
15428
- super(), tt(this, e, D1, R1, et, { scale: 0, color: 1 });
15431
+ super(), it(this, e, D1, R1, tt, { scale: 0, color: 1 });
15429
15432
  }
15430
15433
  get scale() {
15431
15434
  return this.$$.ctx[0];
@@ -15445,7 +15448,7 @@ function N1(t) {
15445
15448
  let e, i, r, a, l;
15446
15449
  return {
15447
15450
  c() {
15448
- e = $e("svg"), i = $e("path"), r = $e("path"), vr(
15451
+ e = et("svg"), i = et("path"), r = et("path"), vr(
15449
15452
  i,
15450
15453
  "fill",
15451
15454
  /*color*/
@@ -15494,9 +15497,9 @@ function F1(t, e, i) {
15494
15497
  "scale" in l && i(0, r = l.scale), "color" in l && i(1, a = l.color);
15495
15498
  }, [r, a];
15496
15499
  }
15497
- class U1 extends it {
15500
+ class U1 extends rt {
15498
15501
  constructor(e) {
15499
- super(), tt(this, e, F1, N1, et, { scale: 0, color: 1 });
15502
+ super(), it(this, e, F1, N1, tt, { scale: 0, color: 1 });
15500
15503
  }
15501
15504
  get scale() {
15502
15505
  return this.$$.ctx[0];
@@ -15661,13 +15664,13 @@ function H1(t) {
15661
15664
  },
15662
15665
  m(k, C) {
15663
15666
  ie(k, e, C), ~i && _[i].m(e, null), a = !0, l || (g = [
15664
- ye(
15667
+ me(
15665
15668
  e,
15666
15669
  "click",
15667
15670
  /*handleClick*/
15668
15671
  t[7]
15669
15672
  ),
15670
- ye(e, "mouseup", Br)
15673
+ me(e, "mouseup", Br)
15671
15674
  ], l = !0);
15672
15675
  },
15673
15676
  p(k, [C]) {
@@ -15698,7 +15701,7 @@ function K1(t, e, i) {
15698
15701
  } } = e, F;
15699
15702
  const U = () => {
15700
15703
  let V, z, H;
15701
- l ? (V = "PressedNextSegment", z = "The next segment button was pressed.") : g ? (V = "PressedSeekAhead", z = "The seek ahead button was pressed.", H = { seconds: a }) : p && (V = "PressedNextTrack", z = "The next track button was pressed."), C(rt(de({
15704
+ l ? (V = "PressedNextSegment", z = "The next segment button was pressed.") : g ? (V = "PressedSeekAhead", z = "The seek ahead button was pressed.", H = { seconds: a }) : p && (V = "PressedNextTrack", z = "The next track button was pressed."), C($e(de({
15702
15705
  type: V,
15703
15706
  description: z,
15704
15707
  initiatedBy: "user"
@@ -15728,9 +15731,9 @@ function K1(t, e, i) {
15728
15731
  r
15729
15732
  ];
15730
15733
  }
15731
- class Y1 extends it {
15734
+ class Y1 extends rt {
15732
15735
  constructor(e) {
15733
- super(), tt(this, e, K1, H1, et, { style: 8, scale: 0, color: 1, onEvent: 9 });
15736
+ super(), it(this, e, K1, H1, tt, { style: 8, scale: 0, color: 1, onEvent: 9 });
15734
15737
  }
15735
15738
  get style() {
15736
15739
  return this.$$.ctx[8];
@@ -15762,7 +15765,7 @@ function Z1(t) {
15762
15765
  let e, i, r, a, l, g;
15763
15766
  return {
15764
15767
  c() {
15765
- e = $e("svg"), i = $e("path"), r = $e("g"), a = $e("path"), sr(
15768
+ e = et("svg"), i = et("path"), r = et("g"), a = et("path"), sr(
15766
15769
  i,
15767
15770
  "fill",
15768
15771
  /*color*/
@@ -15811,9 +15814,9 @@ function J1(t, e, i) {
15811
15814
  "scale" in l && i(0, r = l.scale), "color" in l && i(1, a = l.color);
15812
15815
  }, [r, a];
15813
15816
  }
15814
- class Q1 extends it {
15817
+ class Q1 extends rt {
15815
15818
  constructor(e) {
15816
- super(), tt(this, e, J1, Z1, et, { scale: 0, color: 1 });
15819
+ super(), it(this, e, J1, Z1, tt, { scale: 0, color: 1 });
15817
15820
  }
15818
15821
  get scale() {
15819
15822
  return this.$$.ctx[0];
@@ -15833,7 +15836,7 @@ function tb(t) {
15833
15836
  let e, i, r, a, l, g;
15834
15837
  return {
15835
15838
  c() {
15836
- e = $e("svg"), i = $e("path"), r = $e("g"), a = $e("path"), ar(
15839
+ e = et("svg"), i = et("path"), r = et("g"), a = et("path"), ar(
15837
15840
  i,
15838
15841
  "fill",
15839
15842
  /*color*/
@@ -15882,9 +15885,9 @@ function ib(t, e, i) {
15882
15885
  "scale" in l && i(0, r = l.scale), "color" in l && i(1, a = l.color);
15883
15886
  }, [r, a];
15884
15887
  }
15885
- class rb extends it {
15888
+ class rb extends rt {
15886
15889
  constructor(e) {
15887
- super(), tt(this, e, ib, tb, et, { scale: 0, color: 1 });
15890
+ super(), it(this, e, ib, tb, tt, { scale: 0, color: 1 });
15888
15891
  }
15889
15892
  get scale() {
15890
15893
  return this.$$.ctx[0];
@@ -15995,13 +15998,13 @@ function lb(t) {
15995
15998
  },
15996
15999
  m(C, F) {
15997
16000
  ie(C, e, F), T[i].m(e, null), l = !0, g || (p = [
15998
- ye(
16001
+ me(
15999
16002
  e,
16000
16003
  "click",
16001
16004
  /*handleClick*/
16002
16005
  t[4]
16003
16006
  ),
16004
- ye(e, "mouseup", Br)
16007
+ me(e, "mouseup", Br)
16005
16008
  ], g = !0);
16006
16009
  },
16007
16010
  p(C, [F]) {
@@ -16029,7 +16032,7 @@ function ub(t, e, i) {
16029
16032
  let { playlistShowing: r } = e, { playerStyle: a } = e, { scale: l = 1 } = e, { color: g = "#323232" } = e, { onEvent: p = () => {
16030
16033
  } } = e;
16031
16034
  const _ = () => {
16032
- p(rt({
16035
+ p($e({
16033
16036
  type: "PressedTogglePlaylist",
16034
16037
  description: "The toggle playlist button was pressed.",
16035
16038
  initiatedBy: "user"
@@ -16039,9 +16042,9 @@ function ub(t, e, i) {
16039
16042
  "playlistShowing" in T && i(0, r = T.playlistShowing), "playerStyle" in T && i(1, a = T.playerStyle), "scale" in T && i(2, l = T.scale), "color" in T && i(3, g = T.color), "onEvent" in T && i(5, p = T.onEvent);
16040
16043
  }, [r, a, l, g, _, p];
16041
16044
  }
16042
- class cb extends it {
16045
+ class cb extends rt {
16043
16046
  constructor(e) {
16044
- super(), tt(this, e, ub, lb, et, {
16047
+ super(), it(this, e, ub, lb, tt, {
16045
16048
  playlistShowing: 0,
16046
16049
  playerStyle: 1,
16047
16050
  scale: 2,
@@ -16174,9 +16177,9 @@ function gb(t, e, i) {
16174
16177
  "playerStyle" in T && i(0, l = T.playerStyle), "isMobile" in T && i(1, g = T.isMobile), "isAdvert" in T && i(2, p = T.isAdvert), "scale" in T && i(3, _ = T.scale), "$$scope" in T && i(4, a = T.$$scope);
16175
16178
  }, [l, g, p, _, a, r];
16176
16179
  }
16177
- class vb extends it {
16180
+ class vb extends rt {
16178
16181
  constructor(e) {
16179
- super(), tt(this, e, gb, hb, et, {
16182
+ super(), it(this, e, gb, hb, tt, {
16180
16183
  playerStyle: 0,
16181
16184
  isMobile: 1,
16182
16185
  isAdvert: 2,
@@ -16213,7 +16216,7 @@ function _b(t) {
16213
16216
  let e, i, r, a;
16214
16217
  return {
16215
16218
  c() {
16216
- e = $e("svg"), i = $e("path"), Xr(
16219
+ e = et("svg"), i = et("path"), Xr(
16217
16220
  i,
16218
16221
  "fill",
16219
16222
  /*color*/
@@ -16251,9 +16254,9 @@ function yb(t, e, i) {
16251
16254
  "scale" in l && i(0, r = l.scale), "color" in l && i(1, a = l.color);
16252
16255
  }, [r, a];
16253
16256
  }
16254
- class bb extends it {
16257
+ class bb extends rt {
16255
16258
  constructor(e) {
16256
- super(), tt(this, e, yb, _b, et, { scale: 0, color: 1 });
16259
+ super(), it(this, e, yb, _b, tt, { scale: 0, color: 1 });
16257
16260
  }
16258
16261
  get scale() {
16259
16262
  return this.$$.ctx[0];
@@ -16289,13 +16292,13 @@ function kb(t) {
16289
16292
  },
16290
16293
  m(g, p) {
16291
16294
  ie(g, e, p), je(i, e, null), r = !0, a || (l = [
16292
- ye(
16295
+ me(
16293
16296
  e,
16294
16297
  "click",
16295
16298
  /*handleClick*/
16296
16299
  t[2]
16297
16300
  ),
16298
- ye(e, "mouseup", Br)
16301
+ me(e, "mouseup", Br)
16299
16302
  ], a = !0);
16300
16303
  },
16301
16304
  p(g, [p]) {
@@ -16323,7 +16326,7 @@ function Eb(t, e, i) {
16323
16326
  let { scale: r = 1 } = e, { color: a = "#323232" } = e, { onEvent: l = () => {
16324
16327
  } } = e;
16325
16328
  const g = () => {
16326
- l(rt({
16329
+ l($e({
16327
16330
  type: "PressedMaximize",
16328
16331
  description: "The maximize button was pressed.",
16329
16332
  initiatedBy: "user"
@@ -16333,9 +16336,9 @@ function Eb(t, e, i) {
16333
16336
  "scale" in p && i(0, r = p.scale), "color" in p && i(1, a = p.color), "onEvent" in p && i(3, l = p.onEvent);
16334
16337
  }, [r, a, g, l];
16335
16338
  }
16336
- class Ab extends it {
16339
+ class Ab extends rt {
16337
16340
  constructor(e) {
16338
- super(), tt(this, e, Eb, kb, et, { scale: 0, color: 1, onEvent: 3 });
16341
+ super(), it(this, e, Eb, kb, tt, { scale: 0, color: 1, onEvent: 3 });
16339
16342
  }
16340
16343
  get scale() {
16341
16344
  return this.$$.ctx[0];
@@ -16361,7 +16364,7 @@ function wb(t) {
16361
16364
  let e, i, r, a;
16362
16365
  return {
16363
16366
  c() {
16364
- e = $e("svg"), i = $e("path"), Zr(
16367
+ e = et("svg"), i = et("path"), Zr(
16365
16368
  i,
16366
16369
  "fill",
16367
16370
  /*color*/
@@ -16399,9 +16402,9 @@ function Cb(t, e, i) {
16399
16402
  "scale" in l && i(0, r = l.scale), "color" in l && i(1, a = l.color);
16400
16403
  }, [r, a];
16401
16404
  }
16402
- class Lb extends it {
16405
+ class Lb extends rt {
16403
16406
  constructor(e) {
16404
- super(), tt(this, e, Cb, wb, et, { scale: 0, color: 1 });
16407
+ super(), it(this, e, Cb, wb, tt, { scale: 0, color: 1 });
16405
16408
  }
16406
16409
  get scale() {
16407
16410
  return this.$$.ctx[0];
@@ -16437,13 +16440,13 @@ function Db(t) {
16437
16440
  },
16438
16441
  m(g, p) {
16439
16442
  ie(g, e, p), je(i, e, null), r = !0, a || (l = [
16440
- ye(
16443
+ me(
16441
16444
  e,
16442
16445
  "click",
16443
16446
  /*handleClick*/
16444
16447
  t[2]
16445
16448
  ),
16446
- ye(e, "mouseup", Br)
16449
+ me(e, "mouseup", Br)
16447
16450
  ], a = !0);
16448
16451
  },
16449
16452
  p(g, [p]) {
@@ -16471,7 +16474,7 @@ function Ob(t, e, i) {
16471
16474
  let { scale: r = 1 } = e, { color: a = "#323232" } = e, { onEvent: l = () => {
16472
16475
  } } = e;
16473
16476
  const g = () => {
16474
- l(rt({
16477
+ l($e({
16475
16478
  type: "PressedScrollToPlayer",
16476
16479
  description: "The scroll to player button was pressed.",
16477
16480
  initiatedBy: "user"
@@ -16481,9 +16484,9 @@ function Ob(t, e, i) {
16481
16484
  "scale" in p && i(0, r = p.scale), "color" in p && i(1, a = p.color), "onEvent" in p && i(3, l = p.onEvent);
16482
16485
  }, [r, a, g, l];
16483
16486
  }
16484
- class Bb extends it {
16487
+ class Bb extends rt {
16485
16488
  constructor(e) {
16486
- super(), tt(this, e, Ob, Db, et, { scale: 0, color: 1, onEvent: 3 });
16489
+ super(), it(this, e, Ob, Db, tt, { scale: 0, color: 1, onEvent: 3 });
16487
16490
  }
16488
16491
  get scale() {
16489
16492
  return this.$$.ctx[0];
@@ -16509,7 +16512,7 @@ function Fb(t) {
16509
16512
  let e, i, r, a;
16510
16513
  return {
16511
16514
  c() {
16512
- e = $e("svg"), i = $e("path"), Jr(
16515
+ e = et("svg"), i = et("path"), Jr(
16513
16516
  i,
16514
16517
  "fill",
16515
16518
  /*color*/
@@ -16547,9 +16550,9 @@ function Ub(t, e, i) {
16547
16550
  "scale" in l && i(0, r = l.scale), "color" in l && i(1, a = l.color);
16548
16551
  }, [r, a];
16549
16552
  }
16550
- class Vb extends it {
16553
+ class Vb extends rt {
16551
16554
  constructor(e) {
16552
- super(), tt(this, e, Ub, Fb, et, { scale: 0, color: 1 });
16555
+ super(), it(this, e, Ub, Fb, tt, { scale: 0, color: 1 });
16553
16556
  }
16554
16557
  get scale() {
16555
16558
  return this.$$.ctx[0];
@@ -16590,13 +16593,13 @@ function Gb(t) {
16590
16593
  },
16591
16594
  m(g, p) {
16592
16595
  ie(g, e, p), je(i, e, null), r = !0, a || (l = [
16593
- ye(
16596
+ me(
16594
16597
  e,
16595
16598
  "click",
16596
16599
  /*handleClick*/
16597
16600
  t[3]
16598
16601
  ),
16599
- ye(e, "mouseup", Br)
16602
+ me(e, "mouseup", Br)
16600
16603
  ], a = !0);
16601
16604
  },
16602
16605
  p(g, [p]) {
@@ -16630,7 +16633,7 @@ function zb(t, e, i) {
16630
16633
  let { scale: r = 1 } = e, { color: a = "#323232" } = e, { margin: l = "auto" } = e, { onEvent: g = () => {
16631
16634
  } } = e;
16632
16635
  const p = () => {
16633
- g(rt({
16636
+ g($e({
16634
16637
  type: "PressedCloseWidget",
16635
16638
  description: "The close widget button was pressed.",
16636
16639
  initiatedBy: "user"
@@ -16640,9 +16643,9 @@ function zb(t, e, i) {
16640
16643
  "scale" in _ && i(0, r = _.scale), "color" in _ && i(1, a = _.color), "margin" in _ && i(2, l = _.margin), "onEvent" in _ && i(4, g = _.onEvent);
16641
16644
  }, [r, a, l, p, g];
16642
16645
  }
16643
- class Hb extends it {
16646
+ class Hb extends rt {
16644
16647
  constructor(e) {
16645
- super(), tt(this, e, zb, Gb, et, {
16648
+ super(), it(this, e, zb, Gb, tt, {
16646
16649
  scale: 0,
16647
16650
  color: 1,
16648
16651
  margin: 2,
@@ -16703,7 +16706,7 @@ function qb(t) {
16703
16706
  );
16704
16707
  },
16705
16708
  m(p, _) {
16706
- ie(p, e, _), I(e, r), l || (g = ye(
16709
+ ie(p, e, _), I(e, r), l || (g = me(
16707
16710
  e,
16708
16711
  "click",
16709
16712
  /*handleClick*/
@@ -16749,7 +16752,7 @@ function Xb(t, e, i) {
16749
16752
  let r, a, { href: l } = e, { scale: g = 1 } = e, { color: p = "#323232" } = e, { playerStyle: _ } = e, { controlsOrder: T } = e, { largeImage: k } = e, { isMobile: C } = e, { onEvent: F = () => {
16750
16753
  } } = e;
16751
16754
  const U = () => {
16752
- F(rt({
16755
+ F($e({
16753
16756
  type: "PressedAdvertLink",
16754
16757
  description: "The advert link was pressed to open the click-through URL in a new tab.",
16755
16758
  initiatedBy: "user"
@@ -16775,9 +16778,9 @@ function Xb(t, e, i) {
16775
16778
  F
16776
16779
  ];
16777
16780
  }
16778
- class Zb extends it {
16781
+ class Zb extends rt {
16779
16782
  constructor(e) {
16780
- super(), tt(this, e, Xb, qb, et, {
16783
+ super(), it(this, e, Xb, qb, tt, {
16781
16784
  href: 0,
16782
16785
  scale: 8,
16783
16786
  color: 9,
@@ -16842,7 +16845,7 @@ function $b(t) {
16842
16845
  let e, i, r, a;
16843
16846
  return {
16844
16847
  c() {
16845
- e = $e("svg"), i = $e("path"), Ei(
16848
+ e = et("svg"), i = et("path"), Ei(
16846
16849
  i,
16847
16850
  "fill",
16848
16851
  /*color*/
@@ -16876,7 +16879,7 @@ function eS(t) {
16876
16879
  let e, i, r, a;
16877
16880
  return {
16878
16881
  c() {
16879
- e = $e("svg"), i = $e("path"), Ei(
16882
+ e = et("svg"), i = et("path"), Ei(
16880
16883
  i,
16881
16884
  "fill",
16882
16885
  /*color*/
@@ -16938,9 +16941,9 @@ function iS(t, e, i) {
16938
16941
  "scale" in g && i(0, r = g.scale), "color" in g && i(1, a = g.color), "circular" in g && i(2, l = g.circular);
16939
16942
  }, [r, a, l];
16940
16943
  }
16941
- class af extends it {
16944
+ class af extends rt {
16942
16945
  constructor(e) {
16943
- super(), tt(this, e, iS, tS, et, { scale: 0, color: 1, circular: 2 });
16946
+ super(), it(this, e, iS, tS, tt, { scale: 0, color: 1, circular: 2 });
16944
16947
  }
16945
16948
  get scale() {
16946
16949
  return this.$$.ctx[0];
@@ -17005,7 +17008,7 @@ function aS(t) {
17005
17008
  t[1] + "px"), ps(e, "aria-label", pi("visitAdvert"));
17006
17009
  },
17007
17010
  m(p, _) {
17008
- ie(p, e, _), je(i, e, null), a = !0, l || (g = ye(
17011
+ ie(p, e, _), je(i, e, null), a = !0, l || (g = me(
17009
17012
  e,
17010
17013
  "click",
17011
17014
  /*handleClick*/
@@ -17079,7 +17082,7 @@ function lS(t, e, i) {
17079
17082
  let { href: r } = e, { scale: a = 1 } = e, { color: l = "#323232" } = e, { playerStyle: g } = e, { controlsOrder: p } = e, { onEvent: _ = () => {
17080
17083
  } } = e;
17081
17084
  const T = () => {
17082
- r && _(rt({
17085
+ r && _($e({
17083
17086
  type: "PressedAdvertButton",
17084
17087
  description: "The advert button was pressed to open the click-through URL in a new tab.",
17085
17088
  initiatedBy: "user"
@@ -17089,9 +17092,9 @@ function lS(t, e, i) {
17089
17092
  "href" in k && i(0, r = k.href), "scale" in k && i(1, a = k.scale), "color" in k && i(2, l = k.color), "playerStyle" in k && i(3, g = k.playerStyle), "controlsOrder" in k && i(4, p = k.controlsOrder), "onEvent" in k && i(6, _ = k.onEvent);
17090
17093
  }, [r, a, l, g, p, T, _];
17091
17094
  }
17092
- class uS extends it {
17095
+ class uS extends rt {
17093
17096
  constructor(e) {
17094
- super(), tt(this, e, lS, oS, et, {
17097
+ super(), it(this, e, lS, oS, tt, {
17095
17098
  href: 0,
17096
17099
  scale: 1,
17097
17100
  color: 2,
@@ -17142,7 +17145,7 @@ function fS(t) {
17142
17145
  let e, i, r, a, l, g, p, _, T;
17143
17146
  return {
17144
17147
  c() {
17145
- e = $e("svg"), i = $e("path"), r = $e("path"), a = $e("defs"), l = $e("linearGradient"), g = $e("stop"), p = $e("stop"), mi(i, "fill", "url(#gradient)"), mi(i, "d", "M4.51819 0C3.20323 0.00414605 2.06058 0.402167 1.23154 1.23171C0.401171 2.06225 0.00315099 3.20622 0 4.52301V4.55435C0.00613614 7.21612 1.61729 10.5771 4.523 13.4826C6.55223 15.5125 8.90619 16.989 11.1512 17.6401C11.9816 17.8809 12.7653 18 13.4871 18C14.8315 18 15.9609 17.5859 16.7732 16.7738C18.0215 15.5255 18.3298 13.5286 17.6401 11.1512C16.9891 8.90638 15.5126 6.55259 13.4826 4.52284C10.5769 1.61679 7.2161 0.00597031 4.55417 0H4.51819ZM11.5084 16.4099C9.46706 15.818 7.30764 14.4566 5.42849 12.577C1.70684 8.85563 0.199673 4.07507 2.13703 2.13737C2.7125 1.56207 3.53856 1.29058 4.51354 1.29058C6.82123 1.29058 9.9611 2.81235 12.5771 5.42851C14.4569 7.308 15.8176 9.46709 16.41 11.5083C16.9634 13.4166 16.7709 14.9649 15.8677 15.8681C15.302 16.4331 14.4843 16.72 13.4841 16.72C12.8859 16.72 12.222 16.6172 11.5084 16.4099Z"), mi(r, "fill", "url(#gradient)"), mi(r, "d", "M11.1483 0.360687C8.90517 1.01235 6.55252 2.48946 4.52328 4.5188C0.166276 8.87725 -1.28019 14.2587 1.23026 16.7697C2.06293 17.6026 3.21138 18 4.5339 18C7.19718 18 10.5655 16.3873 13.4767 13.4752C17.8334 9.11694 19.28 3.73601 16.7702 1.22481C15.9583 0.413305 14.8303 0 13.4865 0C12.7642 0 11.9795 0.11951 11.1483 0.360687ZM2.14341 15.856C1.24354 14.9563 1.05288 13.4115 1.60627 11.5066C2.19817 9.468 3.55852 7.31101 5.43692 5.43222C7.31433 3.55376 9.47084 2.19334 11.5085 1.60093C12.2231 1.39362 12.8867 1.29071 13.4845 1.29071C14.4808 1.29071 15.2947 1.57604 15.8566 2.13856C16.7563 3.0382 16.947 4.5832 16.3937 6.48756C15.8018 8.52586 14.4415 10.683 12.5632 12.562C9.94941 15.1771 6.8127 16.6998 4.50967 16.6998C3.53911 16.6998 2.71639 16.4293 2.14341 15.856Z"), mi(
17148
+ e = et("svg"), i = et("path"), r = et("path"), a = et("defs"), l = et("linearGradient"), g = et("stop"), p = et("stop"), mi(i, "fill", "url(#gradient)"), mi(i, "d", "M4.51819 0C3.20323 0.00414605 2.06058 0.402167 1.23154 1.23171C0.401171 2.06225 0.00315099 3.20622 0 4.52301V4.55435C0.00613614 7.21612 1.61729 10.5771 4.523 13.4826C6.55223 15.5125 8.90619 16.989 11.1512 17.6401C11.9816 17.8809 12.7653 18 13.4871 18C14.8315 18 15.9609 17.5859 16.7732 16.7738C18.0215 15.5255 18.3298 13.5286 17.6401 11.1512C16.9891 8.90638 15.5126 6.55259 13.4826 4.52284C10.5769 1.61679 7.2161 0.00597031 4.55417 0H4.51819ZM11.5084 16.4099C9.46706 15.818 7.30764 14.4566 5.42849 12.577C1.70684 8.85563 0.199673 4.07507 2.13703 2.13737C2.7125 1.56207 3.53856 1.29058 4.51354 1.29058C6.82123 1.29058 9.9611 2.81235 12.5771 5.42851C14.4569 7.308 15.8176 9.46709 16.41 11.5083C16.9634 13.4166 16.7709 14.9649 15.8677 15.8681C15.302 16.4331 14.4843 16.72 13.4841 16.72C12.8859 16.72 12.222 16.6172 11.5084 16.4099Z"), mi(r, "fill", "url(#gradient)"), mi(r, "d", "M11.1483 0.360687C8.90517 1.01235 6.55252 2.48946 4.52328 4.5188C0.166276 8.87725 -1.28019 14.2587 1.23026 16.7697C2.06293 17.6026 3.21138 18 4.5339 18C7.19718 18 10.5655 16.3873 13.4767 13.4752C17.8334 9.11694 19.28 3.73601 16.7702 1.22481C15.9583 0.413305 14.8303 0 13.4865 0C12.7642 0 11.9795 0.11951 11.1483 0.360687ZM2.14341 15.856C1.24354 14.9563 1.05288 13.4115 1.60627 11.5066C2.19817 9.468 3.55852 7.31101 5.43692 5.43222C7.31433 3.55376 9.47084 2.19334 11.5085 1.60093C12.2231 1.39362 12.8867 1.29071 13.4845 1.29071C14.4808 1.29071 15.2947 1.57604 15.8566 2.13856C16.7563 3.0382 16.947 4.5832 16.3937 6.48756C15.8018 8.52586 14.4415 10.683 12.5632 12.562C9.94941 15.1771 6.8127 16.6998 4.50967 16.6998C3.53911 16.6998 2.71639 16.4293 2.14341 15.856Z"), mi(
17146
17149
  g,
17147
17150
  "stop-color",
17148
17151
  /*color1*/
@@ -17191,9 +17194,9 @@ function hS(t, e, i) {
17191
17194
  "scale" in g && i(0, r = g.scale), "color1" in g && i(1, a = g.color1), "color2" in g && i(2, l = g.color2);
17192
17195
  }, [r, a, l];
17193
17196
  }
17194
- class gS extends it {
17197
+ class gS extends rt {
17195
17198
  constructor(e) {
17196
- super(), tt(this, e, hS, fS, et, { scale: 0, color1: 1, color2: 2 });
17199
+ super(), it(this, e, hS, fS, tt, { scale: 0, color1: 1, color2: 2 });
17197
17200
  }
17198
17201
  get scale() {
17199
17202
  return this.$$.ctx[0];
@@ -17231,7 +17234,7 @@ function pS(t) {
17231
17234
  );
17232
17235
  },
17233
17236
  m(g, p) {
17234
- ie(g, e, p), je(i, e, null), r = !0, a || (l = ye(
17237
+ ie(g, e, p), je(i, e, null), r = !0, a || (l = me(
17235
17238
  e,
17236
17239
  "click",
17237
17240
  /*handleClick*/
@@ -17267,7 +17270,7 @@ function _S(t, e, i) {
17267
17270
  let { scale: r = 1 } = e, { visible: a = !0 } = e, { onEvent: l = () => {
17268
17271
  } } = e;
17269
17272
  const g = () => {
17270
- l(rt({
17273
+ l($e({
17271
17274
  type: "PressedBeyondWords",
17272
17275
  description: "The BeyondWords logo was pressed to open the BeyondWords website in a new tab.",
17273
17276
  initiatedBy: "user"
@@ -17277,9 +17280,9 @@ function _S(t, e, i) {
17277
17280
  "scale" in p && i(0, r = p.scale), "visible" in p && i(1, a = p.visible), "onEvent" in p && i(3, l = p.onEvent);
17278
17281
  }, [r, a, g, l];
17279
17282
  }
17280
- let yS = class extends it {
17283
+ let yS = class extends rt {
17281
17284
  constructor(e) {
17282
- super(), tt(this, e, _S, pS, et, { scale: 0, visible: 1, onEvent: 3 });
17285
+ super(), it(this, e, _S, pS, tt, { scale: 0, visible: 1, onEvent: 3 });
17283
17286
  }
17284
17287
  get scale() {
17285
17288
  return this.$$.ctx[0];
@@ -17325,7 +17328,7 @@ function TS(t) {
17325
17328
  ), qs(e, "target", "_blank"), qs(e, "aria-label", pi("visitSourceArticle"));
17326
17329
  },
17327
17330
  m(g, p) {
17328
- ie(g, e, p), je(i, e, null), r = !0, a || (l = ye(
17331
+ ie(g, e, p), je(i, e, null), r = !0, a || (l = me(
17329
17332
  e,
17330
17333
  "click",
17331
17334
  /*handleClick*/
@@ -17361,7 +17364,7 @@ function kS(t, e, i) {
17361
17364
  let { href: r } = e, { scale: a = 1 } = e, { color: l = "#323232" } = e, { onEvent: g = () => {
17362
17365
  } } = e;
17363
17366
  const p = () => {
17364
- g(rt({
17367
+ g($e({
17365
17368
  type: "PressedSourceUrl",
17366
17369
  description: "The source URL button was pressed to open the source article in a new tab.",
17367
17370
  initiatedBy: "user"
@@ -17371,9 +17374,9 @@ function kS(t, e, i) {
17371
17374
  "href" in _ && i(0, r = _.href), "scale" in _ && i(1, a = _.scale), "color" in _ && i(2, l = _.color), "onEvent" in _ && i(4, g = _.onEvent);
17372
17375
  }, [r, a, l, p, g];
17373
17376
  }
17374
- class ES extends it {
17377
+ class ES extends rt {
17375
17378
  constructor(e) {
17376
- super(), tt(this, e, kS, TS, et, { href: 0, scale: 1, color: 2, onEvent: 4 });
17379
+ super(), it(this, e, kS, TS, tt, { href: 0, scale: 1, color: 2, onEvent: 4 });
17377
17380
  }
17378
17381
  get href() {
17379
17382
  return this.$$.ctx[0];
@@ -17402,7 +17405,7 @@ class ES extends it {
17402
17405
  }
17403
17406
  const wn = (t, e, i) => Ri(t, e, i, 1), dn = (t, e, i) => nt(t, e, e === "style" ? xS(i) : i), AS = /;(?!([^()]*\([^()]*\))*[^()]*\))/, xS = (t) => t.split(AS).map((e) => e + " !important").join(";");
17404
17407
  function PS(t) {
17405
- let e, i, r, a;
17408
+ let e, i, r, a, l, g;
17406
17409
  return {
17407
17410
  c() {
17408
17411
  e = N("a"), i = N("img"), rs(i.src, r = /*src*/
@@ -17437,68 +17440,87 @@ function PS(t) {
17437
17440
  t[3]
17438
17441
  ), dn(e, "aria-label", pi("visitAdvert"));
17439
17442
  },
17440
- m(l, g) {
17441
- ie(l, e, g), I(e, i);
17443
+ m(p, _) {
17444
+ ie(p, e, _), I(e, i), l || (g = me(
17445
+ e,
17446
+ "click",
17447
+ /*handleClick*/
17448
+ t[4]
17449
+ ), l = !0);
17442
17450
  },
17443
- p(l, [g]) {
17444
- g & /*src*/
17451
+ p(p, [_]) {
17452
+ _ & /*src*/
17445
17453
  1 && !rs(i.src, r = /*src*/
17446
- l[0]) && dn(i, "src", r), g & /*alt*/
17454
+ p[0]) && dn(i, "src", r), _ & /*alt*/
17447
17455
  4 && dn(
17448
17456
  i,
17449
17457
  "alt",
17450
17458
  /*alt*/
17451
- l[2]
17452
- ), g & /*size*/
17459
+ p[2]
17460
+ ), _ & /*size*/
17453
17461
  8 && wn(
17454
17462
  i,
17455
17463
  "width",
17456
17464
  /*size*/
17457
- l[3]
17458
- ), g & /*size*/
17465
+ p[3]
17466
+ ), _ & /*size*/
17459
17467
  8 && wn(
17460
17468
  i,
17461
17469
  "height",
17462
17470
  /*size*/
17463
- l[3]
17464
- ), g & /*href*/
17471
+ p[3]
17472
+ ), _ & /*href*/
17465
17473
  2 && a !== (a = /*href*/
17466
- l[1] ? (
17474
+ p[1] ? (
17467
17475
  /*href*/
17468
- l[1]
17469
- ) : null) && dn(e, "href", a), g & /*size*/
17476
+ p[1]
17477
+ ) : null) && dn(e, "href", a), _ & /*size*/
17470
17478
  8 && wn(
17471
17479
  e,
17472
17480
  "width",
17473
17481
  /*size*/
17474
- l[3]
17475
- ), g & /*size*/
17482
+ p[3]
17483
+ ), _ & /*size*/
17476
17484
  8 && wn(
17477
17485
  e,
17478
17486
  "height",
17479
17487
  /*size*/
17480
- l[3]
17488
+ p[3]
17481
17489
  );
17482
17490
  },
17483
17491
  i: Ce,
17484
17492
  o: Ce,
17485
- d(l) {
17486
- l && ee(e);
17493
+ d(p) {
17494
+ p && ee(e), l = !1, g();
17487
17495
  }
17488
17496
  };
17489
17497
  }
17490
17498
  function wS(t, e, i) {
17491
- let r, { src: a } = e, { href: l } = e, { alt: g = "Player Image" } = e, { scale: p = 1 } = e;
17492
- return t.$$set = (_) => {
17493
- "src" in _ && i(0, a = _.src), "href" in _ && i(1, l = _.href), "alt" in _ && i(2, g = _.alt), "scale" in _ && i(4, p = _.scale);
17499
+ let r, { src: a } = e, { href: l } = e, { alt: g = "Player Image" } = e, { scale: p = 1 } = e, { onEvent: _ = () => {
17500
+ } } = e;
17501
+ const T = () => {
17502
+ l && _($e({
17503
+ type: "PressedAdvertImage",
17504
+ description: "The advert image was pressed to open the click-through URL in a new tab.",
17505
+ initiatedBy: "user"
17506
+ }));
17507
+ };
17508
+ return t.$$set = (k) => {
17509
+ "src" in k && i(0, a = k.src), "href" in k && i(1, l = k.href), "alt" in k && i(2, g = k.alt), "scale" in k && i(5, p = k.scale), "onEvent" in k && i(6, _ = k.onEvent);
17494
17510
  }, t.$$.update = () => {
17495
17511
  t.$$.dirty & /*scale*/
17496
- 16 && i(3, r = `${p * 80}px`);
17497
- }, [a, l, g, r, p];
17512
+ 32 && i(3, r = `${p * 80}px`);
17513
+ }, [a, l, g, r, T, p, _];
17498
17514
  }
17499
- class CS extends it {
17515
+ class CS extends rt {
17500
17516
  constructor(e) {
17501
- super(), tt(this, e, wS, PS, et, { src: 0, href: 1, alt: 2, scale: 4 });
17517
+ super(), it(this, e, wS, PS, tt, {
17518
+ src: 0,
17519
+ href: 1,
17520
+ alt: 2,
17521
+ scale: 5,
17522
+ onEvent: 6
17523
+ });
17502
17524
  }
17503
17525
  get src() {
17504
17526
  return this.$$.ctx[0];
@@ -17519,11 +17541,17 @@ class CS extends it {
17519
17541
  this.$$set({ alt: e }), P();
17520
17542
  }
17521
17543
  get scale() {
17522
- return this.$$.ctx[4];
17544
+ return this.$$.ctx[5];
17523
17545
  }
17524
17546
  set scale(e) {
17525
17547
  this.$$set({ scale: e }), P();
17526
17548
  }
17549
+ get onEvent() {
17550
+ return this.$$.ctx[6];
17551
+ }
17552
+ set onEvent(e) {
17553
+ this.$$set({ onEvent: e }), P();
17554
+ }
17527
17555
  }
17528
17556
  const za = (t, e, i) => nt(t, e, e === "style" ? IS(i) : i), LS = /;(?!([^()]*\([^()]*\))*[^()]*\))/, IS = (t) => t.split(LS).map((e) => e + " !important").join(";");
17529
17557
  function RS(t) {
@@ -17593,9 +17621,9 @@ function DS(t, e, i) {
17593
17621
  U
17594
17622
  ];
17595
17623
  }
17596
- class of extends it {
17624
+ class of extends rt {
17597
17625
  constructor(e) {
17598
- super(), tt(this, e, DS, RS, et, {
17626
+ super(), it(this, e, DS, RS, tt, {
17599
17627
  title: 0,
17600
17628
  playerStyle: 1,
17601
17629
  scale: 4,
@@ -17755,9 +17783,9 @@ function NS(t, e, i) {
17755
17783
  r
17756
17784
  ];
17757
17785
  }
17758
- class nu extends it {
17786
+ class nu extends rt {
17759
17787
  constructor(e) {
17760
- super(), tt(this, e, NS, MS, et, {
17788
+ super(), it(this, e, NS, MS, tt, {
17761
17789
  title: 0,
17762
17790
  maxLines: 1,
17763
17791
  maxWidth: 5,
@@ -17819,7 +17847,7 @@ class nu extends it {
17819
17847
  }
17820
17848
  const uo = (t, e) => (i) => {
17821
17849
  let r;
17822
- i.key === "ArrowLeft" && (r = "Left"), i.key === "ArrowRight" && (r = "Right"), i.key === " " && (r = "Space"), i.key === "Enter" && (r = "Enter"), r && (i.preventDefault(), t(rt({
17850
+ i.key === "ArrowLeft" && (r = "Left"), i.key === "ArrowRight" && (r = "Right"), i.key === " " && (r = "Space"), i.key === "Enter" && (r = "Enter"), r && (i.preventDefault(), t($e({
17823
17851
  type: `Pressed${r}OnProgress${e}`,
17824
17852
  description: `The ${r.toLowerCase()} key was pressed while the progress ${e.toLowerCase()} was focussed.`,
17825
17853
  initiatedBy: "user"
@@ -17851,13 +17879,13 @@ function VS(t) {
17851
17879
  },
17852
17880
  m(_, T) {
17853
17881
  ie(_, e, T), I(e, i), I(e, r), I(e, a), t[8](e), g || (p = [
17854
- ye(
17882
+ me(
17855
17883
  e,
17856
17884
  "mousedown",
17857
17885
  /*handleMouseDown*/
17858
17886
  t[6]
17859
17887
  ),
17860
- ye(e, "keydown", function() {
17888
+ me(e, "keydown", function() {
17861
17889
  Ns(uo(
17862
17890
  /*onEvent*/
17863
17891
  t[3],
@@ -17868,7 +17896,7 @@ function VS(t) {
17868
17896
  "Bar"
17869
17897
  ).apply(this, arguments);
17870
17898
  }),
17871
- ye(e, "mouseup", Br)
17899
+ me(e, "mouseup", Br)
17872
17900
  ], g = !0);
17873
17901
  },
17874
17902
  p(_, [T]) {
@@ -17906,7 +17934,7 @@ function WS(t, e, i) {
17906
17934
  let r, { progress: a = 0 } = e, { fullWidth: l = !1 } = e, { readonly: g = !1 } = e, { color: p = "#323232" } = e, { onEvent: _ = () => {
17907
17935
  } } = e, T, k;
17908
17936
  const C = (H) => {
17909
- k = !0, _(rt({
17937
+ k = !0, _($e({
17910
17938
  type: "PressedProgressBar",
17911
17939
  description: "The progress bar was pressed at some ratio.",
17912
17940
  initiatedBy: "user",
@@ -17918,7 +17946,7 @@ function WS(t, e, i) {
17918
17946
  U();
17919
17947
  return;
17920
17948
  }
17921
- _(rt({
17949
+ _($e({
17922
17950
  type: "ScrubbedProgressBar",
17923
17951
  description: "The user pressed on the progress bar then dragged.",
17924
17952
  initiatedBy: "user",
@@ -17926,7 +17954,7 @@ function WS(t, e, i) {
17926
17954
  }));
17927
17955
  }
17928
17956
  }, U = () => {
17929
- k && (k = !1, _(rt({
17957
+ k && (k = !1, _($e({
17930
17958
  type: "FinishedScrubbingProgressBar",
17931
17959
  description: "The user let go after scrubbing the progress bar.",
17932
17960
  initiatedBy: "user"
@@ -17963,9 +17991,9 @@ function WS(t, e, i) {
17963
17991
  z
17964
17992
  ];
17965
17993
  }
17966
- class jS extends it {
17994
+ class jS extends rt {
17967
17995
  constructor(e) {
17968
- super(), tt(this, e, WS, VS, et, {
17996
+ super(), it(this, e, WS, VS, tt, {
17969
17997
  progress: 0,
17970
17998
  fullWidth: 1,
17971
17999
  readonly: 2,
@@ -18070,7 +18098,7 @@ function KS(t) {
18070
18098
  );
18071
18099
  return {
18072
18100
  c() {
18073
- e = N("div"), i = $e("svg"), r = $e("circle"), l = Pe(), k && k.c(), Ti(r, "cx", "50%"), Ti(r, "cy", "50%"), Ti(
18101
+ e = N("div"), i = et("svg"), r = et("circle"), l = Pe(), k && k.c(), Ti(r, "cx", "50%"), Ti(r, "cy", "50%"), Ti(
18074
18102
  r,
18075
18103
  "r",
18076
18104
  /*radius*/
@@ -18115,7 +18143,7 @@ function KS(t) {
18115
18143
  );
18116
18144
  },
18117
18145
  m(C, F) {
18118
- ie(C, e, F), I(e, i), I(i, r), I(e, l), k && k.m(e, null), g = !0, p || (_ = ye(e, "keydown", function() {
18146
+ ie(C, e, F), I(e, i), I(i, r), I(e, l), k && k.m(e, null), g = !0, p || (_ = me(e, "keydown", function() {
18119
18147
  Ns(uo(
18120
18148
  /*onEvent*/
18121
18149
  t[4],
@@ -18274,9 +18302,9 @@ function qS(t, e, i) {
18274
18302
  T
18275
18303
  ];
18276
18304
  }
18277
- class XS extends it {
18305
+ class XS extends rt {
18278
18306
  constructor(e) {
18279
- super(), tt(this, e, qS, YS, et, {
18307
+ super(), it(this, e, qS, YS, tt, {
18280
18308
  progress: 0,
18281
18309
  enabled: 1,
18282
18310
  bold: 10,
@@ -18383,9 +18411,9 @@ function eT(t, e, i) {
18383
18411
  "text" in p && i(0, r = p.text), "remaining" in p && i(1, a = p.remaining), "scale" in p && i(2, l = p.scale), "color" in p && i(3, g = p.color);
18384
18412
  }, [r, a, l, g];
18385
18413
  }
18386
- class tT extends it {
18414
+ class tT extends rt {
18387
18415
  constructor(e) {
18388
- super(), tt(this, e, eT, $S, et, {
18416
+ super(), it(this, e, eT, $S, tt, {
18389
18417
  text: 0,
18390
18418
  remaining: 1,
18391
18419
  scale: 2,
@@ -18479,9 +18507,9 @@ function aT(t, e, i) {
18479
18507
  16 && i(3, r = Math.max(1, Math.round((a || 0) / 60)));
18480
18508
  }, [l, g, p, r, a];
18481
18509
  }
18482
- class lf extends it {
18510
+ class lf extends rt {
18483
18511
  constructor(e) {
18484
- super(), tt(this, e, aT, sT, et, { duration: 4, bold: 0, scale: 1, color: 2 });
18512
+ super(), it(this, e, aT, sT, tt, { duration: 4, bold: 0, scale: 1, color: 2 });
18485
18513
  }
18486
18514
  get duration() {
18487
18515
  return this.$$.ctx[4];
@@ -18562,9 +18590,9 @@ function dT(t, e, i) {
18562
18590
  "currentTime" in p && i(0, r = p.currentTime), "duration" in p && i(1, a = p.duration), "scale" in p && i(2, l = p.scale), "color" in p && i(3, g = p.color);
18563
18591
  }, [r, a, l, g];
18564
18592
  }
18565
- class fT extends it {
18593
+ class fT extends rt {
18566
18594
  constructor(e) {
18567
- super(), tt(this, e, dT, cT, et, {
18595
+ super(), it(this, e, dT, cT, tt, {
18568
18596
  currentTime: 0,
18569
18597
  duration: 1,
18570
18598
  scale: 2,
@@ -18881,9 +18909,9 @@ function bT(t, e, i) {
18881
18909
  a
18882
18910
  ];
18883
18911
  }
18884
- class ST extends it {
18912
+ class ST extends rt {
18885
18913
  constructor(e) {
18886
- super(), tt(this, e, bT, yT, et, {
18914
+ super(), it(this, e, bT, yT, tt, {
18887
18915
  duration: 0,
18888
18916
  currentTime: 1,
18889
18917
  playerStyle: 2,
@@ -18962,7 +18990,7 @@ function ET(t) {
18962
18990
  let e, i, r, a, l, g;
18963
18991
  return {
18964
18992
  c() {
18965
- e = $e("svg"), i = $e("rect"), r = $e("path"), Gi(
18993
+ e = et("svg"), i = et("rect"), r = et("path"), Gi(
18966
18994
  i,
18967
18995
  "fill",
18968
18996
  /*fill*/
@@ -19014,9 +19042,9 @@ function AT(t, e, i) {
19014
19042
  "scale" in p && i(0, r = p.scale), "zoom" in p && i(1, a = p.zoom), "color" in p && i(2, l = p.color), "fill" in p && i(3, g = p.fill);
19015
19043
  }, [r, a, l, g];
19016
19044
  }
19017
- class uf extends it {
19045
+ class uf extends rt {
19018
19046
  constructor(e) {
19019
- super(), tt(this, e, AT, ET, et, { scale: 0, zoom: 1, color: 2, fill: 3 });
19047
+ super(), it(this, e, AT, ET, tt, { scale: 0, zoom: 1, color: 2, fill: 3 });
19020
19048
  }
19021
19049
  get scale() {
19022
19050
  return this.$$.ctx[0];
@@ -19048,7 +19076,7 @@ function wT(t) {
19048
19076
  let e, i, r, a;
19049
19077
  return {
19050
19078
  c() {
19051
- e = $e("svg"), i = $e("path"), Qr(
19079
+ e = et("svg"), i = et("path"), Qr(
19052
19080
  i,
19053
19081
  "fill",
19054
19082
  /*color*/
@@ -19086,9 +19114,9 @@ function CT(t, e, i) {
19086
19114
  "scale" in l && i(0, r = l.scale), "color" in l && i(1, a = l.color);
19087
19115
  }, [r, a];
19088
19116
  }
19089
- class LT extends it {
19117
+ class LT extends rt {
19090
19118
  constructor(e) {
19091
- super(), tt(this, e, CT, wT, et, { scale: 0, color: 1 });
19119
+ super(), it(this, e, CT, wT, tt, { scale: 0, color: 1 });
19092
19120
  }
19093
19121
  get scale() {
19094
19122
  return this.$$.ctx[0];
@@ -19124,13 +19152,13 @@ function DT(t) {
19124
19152
  },
19125
19153
  m(g, p) {
19126
19154
  ie(g, e, p), je(i, e, null), r = !0, a || (l = [
19127
- ye(
19155
+ me(
19128
19156
  e,
19129
19157
  "click",
19130
19158
  /*handleClick*/
19131
19159
  t[2]
19132
19160
  ),
19133
- ye(e, "mouseup", Br)
19161
+ me(e, "mouseup", Br)
19134
19162
  ], a = !0);
19135
19163
  },
19136
19164
  p(g, [p]) {
@@ -19158,7 +19186,7 @@ function OT(t, e, i) {
19158
19186
  let { contentIndex: r } = e, { mediaIndex: a } = e, { scale: l = 1 } = e, { color: g = "#323232" } = e, { onEvent: p = () => {
19159
19187
  } } = e;
19160
19188
  const _ = (T) => {
19161
- T.stopPropagation(), p(rt({
19189
+ T.stopPropagation(), p($e({
19162
19190
  type: "PressedDownload",
19163
19191
  description: "The download button next to a playlist item was pressed.",
19164
19192
  initiatedBy: "user",
@@ -19170,9 +19198,9 @@ function OT(t, e, i) {
19170
19198
  "contentIndex" in T && i(3, r = T.contentIndex), "mediaIndex" in T && i(4, a = T.mediaIndex), "scale" in T && i(0, l = T.scale), "color" in T && i(1, g = T.color), "onEvent" in T && i(5, p = T.onEvent);
19171
19199
  }, [l, g, _, r, a, p];
19172
19200
  }
19173
- class BT extends it {
19201
+ class BT extends rt {
19174
19202
  constructor(e) {
19175
- super(), tt(this, e, OT, DT, et, {
19203
+ super(), it(this, e, OT, DT, tt, {
19176
19204
  contentIndex: 3,
19177
19205
  mediaIndex: 4,
19178
19206
  scale: 0,
@@ -19417,7 +19445,7 @@ function Rc(t) {
19417
19445
  },
19418
19446
  m(le, be) {
19419
19447
  ie(le, e, be), ue[i].m(e, null), I(e, a), I(e, l), je(g, l, null), I(e, p), I(e, _), ge && ge.m(_, null), I(e, T), I(e, k), je(C, k, null), I(e, F), V = !0, z || (H = [
19420
- ye(
19448
+ me(
19421
19449
  e,
19422
19450
  "click",
19423
19451
  /*handleClick*/
@@ -19426,19 +19454,19 @@ function Rc(t) {
19426
19454
  t[23]
19427
19455
  )
19428
19456
  ),
19429
- ye(
19457
+ me(
19430
19458
  e,
19431
19459
  "keydown",
19432
19460
  /*handleKeydown*/
19433
19461
  t[12]
19434
19462
  ),
19435
- ye(
19463
+ me(
19436
19464
  e,
19437
19465
  "focus",
19438
19466
  /*handleFocus*/
19439
19467
  t[13]
19440
19468
  ),
19441
- ye(e, "mouseup", Br)
19469
+ me(e, "mouseup", Br)
19442
19470
  ], z = !0);
19443
19471
  },
19444
19472
  p(le, be) {
@@ -19611,7 +19639,7 @@ function VT(t) {
19611
19639
  function WT(t, e, i) {
19612
19640
  let r, a, l, g, { style: p = "auto" } = e, { downloadFormats: _ = [] } = e, { larger: T = !1 } = e, { textColor: k = "#111" } = e, { backgroundColor: C = "#f5f5f5" } = e, { iconColor: F = "#000" } = e, { content: U = [] } = e, { index: V = 0 } = e, { isMobile: z } = e, { onEvent: H } = e;
19613
19641
  const oe = (le) => () => {
19614
- H(rt({
19642
+ H($e({
19615
19643
  type: "PressedPlaylistItem",
19616
19644
  description: "A playlist item was pressed.",
19617
19645
  initiatedBy: "user",
@@ -19668,9 +19696,9 @@ function WT(t, e, i) {
19668
19696
  _
19669
19697
  ];
19670
19698
  }
19671
- class jT extends it {
19699
+ class jT extends rt {
19672
19700
  constructor(e) {
19673
- super(), tt(this, e, WT, VT, et, {
19701
+ super(), it(this, e, WT, VT, tt, {
19674
19702
  style: 15,
19675
19703
  downloadFormats: 16,
19676
19704
  larger: 0,
@@ -19763,19 +19791,19 @@ function KT(t) {
19763
19791
  },
19764
19792
  m(p, _) {
19765
19793
  ie(p, e, _), g && g.m(e, null), i = !0, r || (a = [
19766
- ye(
19794
+ me(
19767
19795
  e,
19768
19796
  "mouseenter",
19769
19797
  /*onEnter*/
19770
19798
  t[1]
19771
19799
  ),
19772
- ye(
19800
+ me(
19773
19801
  e,
19774
19802
  "mouseleave",
19775
19803
  /*onLeave*/
19776
19804
  t[2]
19777
19805
  ),
19778
- ye(e, "mousemove", function() {
19806
+ me(e, "mousemove", function() {
19779
19807
  Ns(
19780
19808
  /*idleDelay*/
19781
19809
  t[0] !== 1 / 0 && /*onMove*/
@@ -19847,9 +19875,9 @@ function YT(t, e, i) {
19847
19875
  r
19848
19876
  ];
19849
19877
  }
19850
- class qT extends it {
19878
+ class qT extends rt {
19851
19879
  constructor(e) {
19852
- super(), tt(this, e, YT, KT, et, {
19880
+ super(), it(this, e, YT, KT, tt, {
19853
19881
  exitDelay: 5,
19854
19882
  idleDelay: 0,
19855
19883
  isHovering: 4
@@ -19930,7 +19958,7 @@ function $T(t, e, i) {
19930
19958
  let { $$slots: r = {}, $$scope: a } = e, l, { enabled: g = !1 } = e, { relativeY: p = void 0 } = e, { absoluteY: _ = void 0 } = e, { isVisible: T = void 0 } = e, { onEvent: k = () => {
19931
19959
  } } = e;
19932
19960
  const C = ([U]) => {
19933
- i(1, p = U.boundingClientRect.y), i(2, _ = p + window.scrollY), T !== U.isIntersecting && (i(3, T = U.isIntersecting), k(rt({
19961
+ i(1, p = U.boundingClientRect.y), i(2, _ = p + window.scrollY), T !== U.isIntersecting && (i(3, T = U.isIntersecting), k($e({
19934
19962
  type: "VisibilityChanged",
19935
19963
  description: "The player was scrolled into or out of view.",
19936
19964
  initiatedBy: "user",
@@ -19969,9 +19997,9 @@ function $T(t, e, i) {
19969
19997
  F
19970
19998
  ];
19971
19999
  }
19972
- class ek extends it {
20000
+ class ek extends rt {
19973
20001
  constructor(e) {
19974
- super(), tt(this, e, $T, QT, et, {
20002
+ super(), it(this, e, $T, QT, tt, {
19975
20003
  enabled: 4,
19976
20004
  relativeY: 1,
19977
20005
  absoluteY: 2,
@@ -20085,7 +20113,7 @@ function Oc(t) {
20085
20113
  e,
20086
20114
  /*div_elementresize_handler*/
20087
20115
  t[75].bind(e)
20088
- ), _ = !0, T || (k = ye(
20116
+ ), _ = !0, T || (k = me(
20089
20117
  e,
20090
20118
  "outrostart",
20091
20119
  /*animate*/
@@ -20203,6 +20231,10 @@ function Mc(t) {
20203
20231
  let e, i;
20204
20232
  return e = new CS({
20205
20233
  props: {
20234
+ onEvent: (
20235
+ /*onEvent*/
20236
+ t[15]
20237
+ ),
20206
20238
  src: (
20207
20239
  /*largeImage*/
20208
20240
  t[42]
@@ -20226,7 +20258,9 @@ function Mc(t) {
20226
20258
  },
20227
20259
  p(r, a) {
20228
20260
  const l = {};
20229
- a[1] & /*largeImage*/
20261
+ a[0] & /*onEvent*/
20262
+ 32768 && (l.onEvent = /*onEvent*/
20263
+ r[15]), a[1] & /*largeImage*/
20230
20264
  2048 && (l.src = /*largeImage*/
20231
20265
  r[42]), a[1] & /*largeImageHref*/
20232
20266
  1024 && (l.href = /*largeImageHref*/
@@ -21533,13 +21567,13 @@ function pk(t) {
21533
21567
  },
21534
21568
  m(te, ve) {
21535
21569
  $ && $.m(te, ve), ie(te, e, ve), ie(te, i, ve), L && L.m(i, null), I(i, r), ae && ae.m(i, null), I(i, a), W && W.m(i, null), I(i, l), I(i, g), je(p, g, null), I(g, C), K && K.m(g, null), I(g, F), Z && Z.m(g, null), I(g, U), B && B.m(g, null), I(g, V), je(z, g, null), I(g, H), Ke && Ke.m(g, null), I(g, oe), Me && Me.m(g, null), I(g, ue), xe && xe.m(g, null), I(i, he), Fe && Fe.m(i, null), ge = !0, le || (be = [
21536
- ye(
21570
+ me(
21537
21571
  i,
21538
21572
  "mousedown",
21539
21573
  /*handleMouseDown*/
21540
21574
  t[58]
21541
21575
  ),
21542
- ye(i, "keyup", null)
21576
+ me(i, "keyup", null)
21543
21577
  ], le = !0);
21544
21578
  },
21545
21579
  p(te, ve) {
@@ -21811,30 +21845,30 @@ function yk(t, e, i) {
21811
21845
  } } = e, { videoIsBehind: Wt = !1 } = e, { isVisible: ei = void 0 } = e, { relativeY: Xt = void 0 } = e, { absoluteY: ti = void 0 } = e, ui, Ct, at;
21812
21846
  const ii = () => {
21813
21847
  at && clearTimeout(at), i(34, at = setTimeout(() => i(34, at = null), 500));
21814
- }, De = (me) => {
21815
- !p || !(me.button === 0) || !me.target.classList.contains("main") || Dt(rt({
21848
+ }, De = (pe) => {
21849
+ !p || !(pe.button === 0) || !pe.target.classList.contains("main") || Dt($e({
21816
21850
  type: "PressedVideoBackground",
21817
21851
  description: "The video background was pressed.",
21818
21852
  initiatedBy: "user"
21819
21853
  }));
21820
21854
  };
21821
- function ci(me) {
21822
- ei = me, i(0, ei);
21855
+ function ci(pe) {
21856
+ ei = pe, i(0, ei);
21823
21857
  }
21824
- function zt(me) {
21825
- Xt = me, i(1, Xt);
21858
+ function zt(pe) {
21859
+ Xt = pe, i(1, Xt);
21826
21860
  }
21827
- function Ze(me) {
21828
- ti = me, i(2, ti);
21861
+ function Ze(pe) {
21862
+ ti = pe, i(2, ti);
21829
21863
  }
21830
- function bi(me) {
21831
- Ct = me, i(18, Ct);
21864
+ function bi(pe) {
21865
+ Ct = pe, i(18, Ct);
21832
21866
  }
21833
21867
  function Mt() {
21834
21868
  ui = this.clientWidth, i(17, ui);
21835
21869
  }
21836
- return t.$$set = (me) => {
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);
21870
+ return t.$$set = (pe) => {
21871
+ "playerStyle" in pe && i(3, Ye = pe.playerStyle), "callToAction" in pe && i(4, wt = pe.callToAction), "skipButtonStyle" in pe && i(59, Tt = pe.skipButtonStyle), "playlistStyle" in pe && i(5, qt = pe.playlistStyle), "playlistToggle" in pe && i(60, yt = pe.playlistToggle), "downloadFormats" in pe && i(6, Ut = pe.downloadFormats), "playerTitle" in pe && i(7, Vt = pe.playerTitle), "fixedPosition" in pe && i(8, lt = pe.fixedPosition), "fixedWidth" in pe && i(61, kt = pe.fixedWidth), "content" in pe && i(9, Se = pe.content), "contentIndex" in pe && i(10, gt = pe.contentIndex), "duration" in pe && i(11, $t = pe.duration), "currentTime" in pe && i(12, Gt = pe.currentTime), "playbackState" in pe && i(62, Ot = pe.playbackState), "playbackRate" in pe && i(13, bt = pe.playbackRate), "activeAdvert" in pe && i(14, st = pe.activeAdvert), "persistentAdvert" in pe && i(63, Bt = pe.persistentAdvert), "textColor" in pe && i(64, si = pe.textColor), "backgroundColor" in pe && i(65, ai = pe.backgroundColor), "iconColor" in pe && i(66, It = pe.iconColor), "logoIconEnabled" in pe && i(67, Rt = pe.logoIconEnabled), "onEvent" in pe && i(15, Dt = pe.onEvent), "videoIsBehind" in pe && i(16, Wt = pe.videoIsBehind), "isVisible" in pe && i(0, ei = pe.isVisible), "relativeY" in pe && i(1, Xt = pe.relativeY), "absoluteY" in pe && i(2, ti = pe.absoluteY);
21838
21872
  }, t.$$.update = () => {
21839
21873
  t.$$.dirty[0] & /*playerStyle*/
21840
21874
  8 && i(22, r = Ye === "small"), t.$$.dirty[0] & /*playerStyle*/
@@ -21872,7 +21906,7 @@ function yk(t, e, i) {
21872
21906
  67109120 && i(70, Xe = lt === "auto" ? a ? "center" : "right" : lt), t.$$.dirty[0] & /*fixedPosition*/
21873
21907
  256 | t.$$.dirty[2] & /*position*/
21874
21908
  256 && i(21, we = lt ? `fixed fixed-${Xe}` : ""), t.$$.dirty[0] & /*fixedPosition, isSmall, isStandard*/
21875
- 71303424 && i(44, Ie = (me) => lt && Dy(me, { y: r || a ? 40 : 100 })), t.$$.dirty[0] & /*playerStyle, isMobile, isAdvert*/
21909
+ 71303424 && i(44, Ie = (pe) => lt && Dy(pe, { y: r || a ? 40 : 100 })), t.$$.dirty[0] & /*playerStyle, isMobile, isAdvert*/
21876
21910
  1107296264 | t.$$.dirty[2] & /*position*/
21877
21911
  256 && i(20, Oe = ik({
21878
21912
  playerStyle: Ye,
@@ -21981,14 +22015,14 @@ function yk(t, e, i) {
21981
22015
  Mt
21982
22016
  ];
21983
22017
  }
21984
- class su extends it {
22018
+ class su extends rt {
21985
22019
  constructor(e) {
21986
- super(), tt(
22020
+ super(), it(
21987
22021
  this,
21988
22022
  e,
21989
22023
  yk,
21990
22024
  _k,
21991
- et,
22025
+ tt,
21992
22026
  {
21993
22027
  playerStyle: 3,
21994
22028
  callToAction: 4,
@@ -22247,9 +22281,9 @@ function Ek(t, e, i) {
22247
22281
  4 && ((T = r == null ? void 0 : r.classList) == null || T.add("beyondwords-widget", "bwp"));
22248
22282
  }, [p, g, r, l, a, _];
22249
22283
  }
22250
- class au extends it {
22284
+ class au extends rt {
22251
22285
  constructor(e) {
22252
- super(), tt(this, e, Ek, kk, et, { root: 1 });
22286
+ super(), it(this, e, Ek, kk, tt, { root: 1 });
22253
22287
  }
22254
22288
  get root() {
22255
22289
  return this.$$.ctx[1];
@@ -22325,7 +22359,7 @@ function wk(t) {
22325
22359
  };
22326
22360
  }
22327
22361
  function $c(t) {
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 = (
22362
+ 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, pe, 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 = (
22329
22363
  /*content*/
22330
22364
  t[39]
22331
22365
  ), Ht = [];
@@ -22370,7 +22404,7 @@ function $c(t) {
22370
22404
  `), Xt = N("input"), ti = Pe(), ui = N("div"), Ct = Re(`playbackRate:
22371
22405
  `), at = N("input"), ii = Pe(), De = N("div"), ci = Re(`widgetTarget:
22372
22406
  `), zt = N("input"), Ze = Pe(), bi = N("div"), Mt = Re(`logoIconEnabled:
22373
- `), me = N("select"), di = N("option"), di.textContent = `${!1}`, fi = N("option"), fi.textContent = `${!0}`, _i = Pe(), hi = N("div"), Ai = Re(`advertConsent:
22407
+ `), pe = N("select"), di = N("option"), di.textContent = `${!1}`, fi = N("option"), fi.textContent = `${!0}`, _i = Pe(), hi = N("div"), Ai = Re(`advertConsent:
22374
22408
  `), 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:
22375
22409
  `), 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
22410
  `), xi = N("input"), Pi = Pe(), ir = N("div"), yr = Re(`analyticsTag:
@@ -22398,10 +22432,10 @@ function $c(t) {
22398
22432
  t[17] === void 0 && Ft(() => (
22399
22433
  /*select5_change_handler_1*/
22400
22434
  t[72].call(st)
22401
- )), Q(Ot, "class", "control svelte-g76q0j"), Q(Rt, "tabindex", -1), Q(Rt, "type", "text"), Q(Rt, "class", "svelte-g76q0j"), Q(ai, "class", "control svelte-g76q0j"), Q(Xt, "tabindex", -1), Q(Xt, "type", "text"), Q(Xt, "class", "svelte-g76q0j"), Q(Wt, "class", "control svelte-g76q0j"), Q(at, "tabindex", -1), Q(at, "type", "text"), Q(at, "class", "svelte-g76q0j"), Q(ui, "class", "control svelte-g76q0j"), Q(zt, "tabindex", -1), Q(zt, "type", "text"), Q(zt, "class", "svelte-g76q0j"), Q(De, "class", "control svelte-g76q0j"), di.__value = !1, di.value = di.__value, fi.__value = !0, fi.value = fi.__value, Q(me, "tabindex", -1), Q(me, "class", "svelte-g76q0j"), /*logoIconEnabled*/
22435
+ )), Q(Ot, "class", "control svelte-g76q0j"), Q(Rt, "tabindex", -1), Q(Rt, "type", "text"), Q(Rt, "class", "svelte-g76q0j"), Q(ai, "class", "control svelte-g76q0j"), Q(Xt, "tabindex", -1), Q(Xt, "type", "text"), Q(Xt, "class", "svelte-g76q0j"), Q(Wt, "class", "control svelte-g76q0j"), Q(at, "tabindex", -1), Q(at, "type", "text"), Q(at, "class", "svelte-g76q0j"), Q(ui, "class", "control svelte-g76q0j"), Q(zt, "tabindex", -1), Q(zt, "type", "text"), Q(zt, "class", "svelte-g76q0j"), Q(De, "class", "control svelte-g76q0j"), di.__value = !1, di.value = di.__value, fi.__value = !0, fi.value = fi.__value, Q(pe, "tabindex", -1), Q(pe, "class", "svelte-g76q0j"), /*logoIconEnabled*/
22402
22436
  t[30] === void 0 && Ft(() => (
22403
22437
  /*select6_change_handler_1*/
22404
- t[77].call(me)
22438
+ t[77].call(pe)
22405
22439
  )), Q(bi, "class", "control svelte-g76q0j"), Y.__value = "personalized", Y.value = Y.__value, J.__value = "non-personalized", J.value = J.__value, Ne.__value = "under-the-age-of-consent", Ne.value = Ne.__value, Q(Ue, "tabindex", -1), Q(Ue, "class", "svelte-g76q0j"), /*advertConsent*/
22406
22440
  t[35] === void 0 && Ft(() => (
22407
22441
  /*select7_change_handler_1*/
@@ -22412,221 +22446,221 @@ function $c(t) {
22412
22446
  t[79].call(ri)
22413
22447
  )), Q(Di, "class", "control svelte-g76q0j"), Q(xi, "tabindex", -1), Q(xi, "type", "text"), Q(xi, "class", "svelte-g76q0j"), Q(tr, "class", "control svelte-g76q0j"), Q(Bi, "tabindex", -1), Q(Bi, "type", "text"), Q(Bi, "class", "svelte-g76q0j"), Q(ir, "class", "control svelte-g76q0j");
22414
22448
  },
22415
- m(j, pe) {
22416
- ie(j, e, pe), ie(j, i, pe), ie(j, r, pe), ie(j, a, pe), ie(j, l, pe), ie(j, g, pe), ie(j, p, pe), ie(j, _, pe), I(_, T), I(_, k), St(
22449
+ m(j, _e) {
22450
+ ie(j, e, _e), ie(j, i, _e), ie(j, r, _e), ie(j, a, _e), ie(j, l, _e), ie(j, g, _e), ie(j, p, _e), ie(j, _, _e), I(_, T), I(_, k), St(
22417
22451
  k,
22418
22452
  /*projectId*/
22419
22453
  t[0]
22420
- ), ie(j, C, pe), ie(j, F, pe), I(F, U), I(F, V), St(
22454
+ ), ie(j, C, _e), ie(j, F, _e), I(F, U), I(F, V), St(
22421
22455
  V,
22422
22456
  /*contentId*/
22423
22457
  t[1]
22424
- ), ie(j, z, pe), ie(j, H, pe), I(H, oe), I(H, ue), St(
22458
+ ), ie(j, z, _e), ie(j, H, _e), I(H, oe), I(H, ue), St(
22425
22459
  ue,
22426
22460
  /*playlistId*/
22427
22461
  t[2]
22428
- ), ie(j, he, pe), ie(j, ge, pe), I(ge, le), I(ge, be), St(
22462
+ ), ie(j, he, _e), ie(j, ge, _e), I(ge, le), I(ge, be), St(
22429
22463
  be,
22430
22464
  /*sourceId*/
22431
22465
  t[3]
22432
- ), ie(j, $, pe), ie(j, L, pe), I(L, ae), I(L, W), St(
22466
+ ), ie(j, $, _e), ie(j, L, _e), I(L, ae), I(L, W), St(
22433
22467
  W,
22434
22468
  /*sourceUrl*/
22435
22469
  t[4]
22436
- ), ie(j, Xe, pe), ie(j, we, pe), I(we, Ie), I(we, Oe), I(Oe, K), I(Oe, Z), ut(
22470
+ ), ie(j, Xe, _e), ie(j, we, _e), I(we, Ie), I(we, Oe), I(Oe, K), I(Oe, Z), ut(
22437
22471
  Oe,
22438
22472
  /*showUserInterface*/
22439
22473
  t[5],
22440
22474
  !0
22441
- ), ie(j, B, pe), ie(j, Ke, pe), I(Ke, Me), I(Ke, xe), I(xe, Fe), I(xe, te), I(xe, ve), ut(
22475
+ ), ie(j, B, _e), ie(j, Ke, _e), I(Ke, Me), I(Ke, xe), I(xe, Fe), I(xe, te), I(xe, ve), ut(
22442
22476
  xe,
22443
22477
  /*mediaSession*/
22444
22478
  t[12],
22445
22479
  !0
22446
- ), ie(j, ft, pe), ie(j, Ee, pe), I(Ee, Le), I(Ee, Ye);
22447
- for (let _e = 0; _e < Ht.length; _e += 1)
22448
- Ht[_e] && Ht[_e].m(Ye, null);
22480
+ ), ie(j, ft, _e), ie(j, Ee, _e), I(Ee, Le), I(Ee, Ye);
22481
+ for (let ye = 0; ye < Ht.length; ye += 1)
22482
+ Ht[ye] && Ht[ye].m(Ye, null);
22449
22483
  ut(
22450
22484
  Ye,
22451
22485
  /*contentIndex*/
22452
22486
  t[13],
22453
22487
  !0
22454
- ), ie(j, wt, pe), ie(j, Tt, pe), I(Tt, qt), I(Tt, yt), I(yt, Ut);
22455
- for (let _e = 0; _e < Kt.length; _e += 1)
22456
- Kt[_e] && Kt[_e].m(yt, null);
22488
+ ), ie(j, wt, _e), ie(j, Tt, _e), I(Tt, qt), I(Tt, yt), I(yt, Ut);
22489
+ for (let ye = 0; ye < Kt.length; ye += 1)
22490
+ Kt[ye] && Kt[ye].m(yt, null);
22457
22491
  ut(
22458
22492
  yt,
22459
22493
  /*introsOutrosIndex*/
22460
22494
  t[14],
22461
22495
  !0
22462
- ), ie(j, Vt, pe), ie(j, lt, pe), I(lt, kt), I(lt, Se), I(Se, gt), I(Se, $t), ut(
22496
+ ), ie(j, Vt, _e), ie(j, lt, _e), I(lt, kt), I(lt, Se), I(Se, gt), I(Se, $t), ut(
22463
22497
  Se,
22464
22498
  /*persistentAdImage*/
22465
22499
  t[16],
22466
22500
  !0
22467
- ), ie(j, Gt, pe), ie(j, Ot, pe), I(Ot, bt), I(Ot, st), I(st, Bt);
22468
- for (let _e = 0; _e < Zt.length; _e += 1)
22469
- Zt[_e] && Zt[_e].m(st, null);
22501
+ ), ie(j, Gt, _e), ie(j, Ot, _e), I(Ot, bt), I(Ot, st), I(st, Bt);
22502
+ for (let ye = 0; ye < Zt.length; ye += 1)
22503
+ Zt[ye] && Zt[ye].m(st, null);
22470
22504
  ut(
22471
22505
  st,
22472
22506
  /*persistentIndex*/
22473
22507
  t[17],
22474
22508
  !0
22475
- ), ie(j, si, pe), ie(j, ai, pe), I(ai, It), I(ai, Rt), St(
22509
+ ), ie(j, si, _e), ie(j, ai, _e), I(ai, It), I(ai, Rt), St(
22476
22510
  Rt,
22477
22511
  /*duration*/
22478
22512
  t[18]
22479
- ), ie(j, Dt, pe), ie(j, Wt, pe), I(Wt, ei), I(Wt, Xt), St(
22513
+ ), ie(j, Dt, _e), ie(j, Wt, _e), I(Wt, ei), I(Wt, Xt), St(
22480
22514
  Xt,
22481
22515
  /*currentTime*/
22482
22516
  t[19]
22483
- ), ie(j, ti, pe), ie(j, ui, pe), I(ui, Ct), I(ui, at), St(
22517
+ ), ie(j, ti, _e), ie(j, ui, _e), I(ui, Ct), I(ui, at), St(
22484
22518
  at,
22485
22519
  /*playbackRate*/
22486
22520
  t[21]
22487
- ), ie(j, ii, pe), ie(j, De, pe), I(De, ci), I(De, zt), St(
22521
+ ), ie(j, ii, _e), ie(j, De, _e), I(De, ci), I(De, zt), St(
22488
22522
  zt,
22489
22523
  /*widgetTarget*/
22490
22524
  t[25]
22491
- ), ie(j, Ze, pe), ie(j, bi, pe), I(bi, Mt), I(bi, me), I(me, di), I(me, fi), ut(
22492
- me,
22525
+ ), ie(j, Ze, _e), ie(j, bi, _e), I(bi, Mt), I(bi, pe), I(pe, di), I(pe, fi), ut(
22526
+ pe,
22493
22527
  /*logoIconEnabled*/
22494
22528
  t[30],
22495
22529
  !0
22496
- ), ie(j, _i, pe), ie(j, hi, pe), I(hi, Ai), I(hi, Ue), I(Ue, Y), I(Ue, J), I(Ue, Ne), ut(
22530
+ ), ie(j, _i, _e), ie(j, hi, _e), I(hi, Ai), I(hi, Ue), I(Ue, Y), I(Ue, J), I(Ue, Ne), ut(
22497
22531
  Ue,
22498
22532
  /*advertConsent*/
22499
22533
  t[35],
22500
22534
  !0
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(
22535
+ ), ie(j, Mr, _e), ie(j, Di, _e), I(Di, Nr), I(Di, ri), I(ri, lr), I(ri, Ki), I(ri, Yi), ut(
22502
22536
  ri,
22503
22537
  /*analyticsConsent*/
22504
22538
  t[36],
22505
22539
  !0
22506
- ), ie(j, Oi, pe), ie(j, tr, pe), I(tr, _r), I(tr, xi), St(
22540
+ ), ie(j, Oi, _e), ie(j, tr, _e), I(tr, _r), I(tr, xi), St(
22507
22541
  xi,
22508
22542
  /*analyticsCustomUrl*/
22509
22543
  t[37]
22510
- ), ie(j, Pi, pe), ie(j, ir, pe), I(ir, yr), I(ir, Bi), St(
22544
+ ), ie(j, Pi, _e), ie(j, ir, _e), I(ir, yr), I(ir, Bi), St(
22511
22545
  Bi,
22512
22546
  /*analyticsTag*/
22513
22547
  t[38]
22514
22548
  ), yi || (Mi = [
22515
- ye(
22549
+ me(
22516
22550
  k,
22517
22551
  "input",
22518
22552
  /*input0_input_handler_1*/
22519
22553
  t[62]
22520
22554
  ),
22521
- ye(
22555
+ me(
22522
22556
  V,
22523
22557
  "input",
22524
22558
  /*input1_input_handler_1*/
22525
22559
  t[63]
22526
22560
  ),
22527
- ye(
22561
+ me(
22528
22562
  ue,
22529
22563
  "input",
22530
22564
  /*input2_input_handler_1*/
22531
22565
  t[64]
22532
22566
  ),
22533
- ye(
22567
+ me(
22534
22568
  be,
22535
22569
  "input",
22536
22570
  /*input3_input_handler_1*/
22537
22571
  t[65]
22538
22572
  ),
22539
- ye(
22573
+ me(
22540
22574
  W,
22541
22575
  "input",
22542
22576
  /*input4_input_handler_1*/
22543
22577
  t[66]
22544
22578
  ),
22545
- ye(
22579
+ me(
22546
22580
  Oe,
22547
22581
  "change",
22548
22582
  /*select0_change_handler_1*/
22549
22583
  t[67]
22550
22584
  ),
22551
- ye(
22585
+ me(
22552
22586
  xe,
22553
22587
  "change",
22554
22588
  /*select1_change_handler_1*/
22555
22589
  t[68]
22556
22590
  ),
22557
- ye(
22591
+ me(
22558
22592
  Ye,
22559
22593
  "change",
22560
22594
  /*select2_change_handler_1*/
22561
22595
  t[69]
22562
22596
  ),
22563
- ye(
22597
+ me(
22564
22598
  yt,
22565
22599
  "change",
22566
22600
  /*select3_change_handler_1*/
22567
22601
  t[70]
22568
22602
  ),
22569
- ye(
22603
+ me(
22570
22604
  Se,
22571
22605
  "change",
22572
22606
  /*select4_change_handler_1*/
22573
22607
  t[71]
22574
22608
  ),
22575
- ye(
22609
+ me(
22576
22610
  st,
22577
22611
  "change",
22578
22612
  /*select5_change_handler_1*/
22579
22613
  t[72]
22580
22614
  ),
22581
- ye(
22615
+ me(
22582
22616
  Rt,
22583
22617
  "input",
22584
22618
  /*input5_input_handler_1*/
22585
22619
  t[73]
22586
22620
  ),
22587
- ye(
22621
+ me(
22588
22622
  Xt,
22589
22623
  "input",
22590
22624
  /*input6_input_handler*/
22591
22625
  t[74]
22592
22626
  ),
22593
- ye(
22627
+ me(
22594
22628
  at,
22595
22629
  "input",
22596
22630
  /*input7_input_handler*/
22597
22631
  t[75]
22598
22632
  ),
22599
- ye(
22633
+ me(
22600
22634
  zt,
22601
22635
  "input",
22602
22636
  /*input8_input_handler*/
22603
22637
  t[76]
22604
22638
  ),
22605
- ye(
22606
- me,
22639
+ me(
22640
+ pe,
22607
22641
  "change",
22608
22642
  /*select6_change_handler_1*/
22609
22643
  t[77]
22610
22644
  ),
22611
- ye(
22645
+ me(
22612
22646
  Ue,
22613
22647
  "change",
22614
22648
  /*select7_change_handler_1*/
22615
22649
  t[78]
22616
22650
  ),
22617
- ye(
22651
+ me(
22618
22652
  ri,
22619
22653
  "change",
22620
22654
  /*select8_change_handler_1*/
22621
22655
  t[79]
22622
22656
  ),
22623
- ye(
22657
+ me(
22624
22658
  xi,
22625
22659
  "input",
22626
22660
  /*input9_input_handler*/
22627
22661
  t[80]
22628
22662
  ),
22629
- ye(
22663
+ me(
22630
22664
  Bi,
22631
22665
  "input",
22632
22666
  /*input10_input_handler*/
@@ -22634,152 +22668,152 @@ function $c(t) {
22634
22668
  )
22635
22669
  ], yi = !0);
22636
22670
  },
22637
- p(j, pe) {
22638
- if (pe[0] & /*projectId*/
22671
+ p(j, _e) {
22672
+ if (_e[0] & /*projectId*/
22639
22673
  1 && k.value !== /*projectId*/
22640
22674
  j[0] && St(
22641
22675
  k,
22642
22676
  /*projectId*/
22643
22677
  j[0]
22644
- ), pe[0] & /*contentId*/
22678
+ ), _e[0] & /*contentId*/
22645
22679
  2 && V.value !== /*contentId*/
22646
22680
  j[1] && St(
22647
22681
  V,
22648
22682
  /*contentId*/
22649
22683
  j[1]
22650
- ), pe[0] & /*playlistId*/
22684
+ ), _e[0] & /*playlistId*/
22651
22685
  4 && ue.value !== /*playlistId*/
22652
22686
  j[2] && St(
22653
22687
  ue,
22654
22688
  /*playlistId*/
22655
22689
  j[2]
22656
- ), pe[0] & /*sourceId*/
22690
+ ), _e[0] & /*sourceId*/
22657
22691
  8 && be.value !== /*sourceId*/
22658
22692
  j[3] && St(
22659
22693
  be,
22660
22694
  /*sourceId*/
22661
22695
  j[3]
22662
- ), pe[0] & /*sourceUrl*/
22696
+ ), _e[0] & /*sourceUrl*/
22663
22697
  16 && W.value !== /*sourceUrl*/
22664
22698
  j[4] && St(
22665
22699
  W,
22666
22700
  /*sourceUrl*/
22667
22701
  j[4]
22668
- ), pe[0] & /*showUserInterface*/
22702
+ ), _e[0] & /*showUserInterface*/
22669
22703
  32 && ut(
22670
22704
  Oe,
22671
22705
  /*showUserInterface*/
22672
22706
  j[5]
22673
- ), pe[0] & /*mediaSession*/
22707
+ ), _e[0] & /*mediaSession*/
22674
22708
  4096 && ut(
22675
22709
  xe,
22676
22710
  /*mediaSession*/
22677
22711
  j[12]
22678
- ), pe[1] & /*content*/
22712
+ ), _e[1] & /*content*/
22679
22713
  256) {
22680
22714
  wi = /*content*/
22681
22715
  j[39];
22682
- let _e;
22683
- for (_e = 0; _e < wi.length; _e += 1) {
22684
- const ot = Zc(j, wi, _e);
22685
- Ht[_e] ? Ht[_e].p(ot, pe) : (Ht[_e] = ed(ot), Ht[_e].c(), Ht[_e].m(Ye, null));
22716
+ let ye;
22717
+ for (ye = 0; ye < wi.length; ye += 1) {
22718
+ const ot = Zc(j, wi, ye);
22719
+ Ht[ye] ? Ht[ye].p(ot, _e) : (Ht[ye] = ed(ot), Ht[ye].c(), Ht[ye].m(Ye, null));
22686
22720
  }
22687
- for (; _e < Ht.length; _e += 1)
22688
- Ht[_e].d(1);
22721
+ for (; ye < Ht.length; ye += 1)
22722
+ Ht[ye].d(1);
22689
22723
  Ht.length = wi.length;
22690
22724
  }
22691
- if (pe[0] & /*contentIndex*/
22725
+ if (_e[0] & /*contentIndex*/
22692
22726
  8192 && ut(
22693
22727
  Ye,
22694
22728
  /*contentIndex*/
22695
22729
  j[13]
22696
- ), pe[1] & /*introsOutros*/
22730
+ ), _e[1] & /*introsOutros*/
22697
22731
  512) {
22698
22732
  Ni = /*introsOutros*/
22699
22733
  j[40];
22700
- let _e;
22701
- for (_e = 0; _e < Ni.length; _e += 1) {
22702
- const ot = Xc(j, Ni, _e);
22703
- Kt[_e] ? Kt[_e].p(ot, pe) : (Kt[_e] = td(ot), Kt[_e].c(), Kt[_e].m(yt, null));
22734
+ let ye;
22735
+ for (ye = 0; ye < Ni.length; ye += 1) {
22736
+ const ot = Xc(j, Ni, ye);
22737
+ Kt[ye] ? Kt[ye].p(ot, _e) : (Kt[ye] = td(ot), Kt[ye].c(), Kt[ye].m(yt, null));
22704
22738
  }
22705
- for (; _e < Kt.length; _e += 1)
22706
- Kt[_e].d(1);
22739
+ for (; ye < Kt.length; ye += 1)
22740
+ Kt[ye].d(1);
22707
22741
  Kt.length = Ni.length;
22708
22742
  }
22709
- if (pe[0] & /*introsOutrosIndex*/
22743
+ if (_e[0] & /*introsOutrosIndex*/
22710
22744
  16384 && ut(
22711
22745
  yt,
22712
22746
  /*introsOutrosIndex*/
22713
22747
  j[14]
22714
- ), pe[0] & /*persistentAdImage*/
22748
+ ), _e[0] & /*persistentAdImage*/
22715
22749
  65536 && ut(
22716
22750
  Se,
22717
22751
  /*persistentAdImage*/
22718
22752
  j[16]
22719
- ), pe[1] & /*adverts*/
22753
+ ), _e[1] & /*adverts*/
22720
22754
  1024) {
22721
22755
  ur = /*adverts*/
22722
22756
  j[41];
22723
- let _e;
22724
- for (_e = 0; _e < ur.length; _e += 1) {
22725
- const ot = qc(j, ur, _e);
22726
- Zt[_e] ? Zt[_e].p(ot, pe) : (Zt[_e] = id(ot), Zt[_e].c(), Zt[_e].m(st, null));
22757
+ let ye;
22758
+ for (ye = 0; ye < ur.length; ye += 1) {
22759
+ const ot = qc(j, ur, ye);
22760
+ Zt[ye] ? Zt[ye].p(ot, _e) : (Zt[ye] = id(ot), Zt[ye].c(), Zt[ye].m(st, null));
22727
22761
  }
22728
- for (; _e < Zt.length; _e += 1)
22729
- Zt[_e].d(1);
22762
+ for (; ye < Zt.length; ye += 1)
22763
+ Zt[ye].d(1);
22730
22764
  Zt.length = ur.length;
22731
22765
  }
22732
- pe[0] & /*persistentIndex*/
22766
+ _e[0] & /*persistentIndex*/
22733
22767
  131072 && ut(
22734
22768
  st,
22735
22769
  /*persistentIndex*/
22736
22770
  j[17]
22737
- ), pe[0] & /*duration*/
22771
+ ), _e[0] & /*duration*/
22738
22772
  262144 && Rt.value !== /*duration*/
22739
22773
  j[18] && St(
22740
22774
  Rt,
22741
22775
  /*duration*/
22742
22776
  j[18]
22743
- ), pe[0] & /*currentTime*/
22777
+ ), _e[0] & /*currentTime*/
22744
22778
  524288 && Xt.value !== /*currentTime*/
22745
22779
  j[19] && St(
22746
22780
  Xt,
22747
22781
  /*currentTime*/
22748
22782
  j[19]
22749
- ), pe[0] & /*playbackRate*/
22783
+ ), _e[0] & /*playbackRate*/
22750
22784
  2097152 && at.value !== /*playbackRate*/
22751
22785
  j[21] && St(
22752
22786
  at,
22753
22787
  /*playbackRate*/
22754
22788
  j[21]
22755
- ), pe[0] & /*widgetTarget*/
22789
+ ), _e[0] & /*widgetTarget*/
22756
22790
  33554432 && zt.value !== /*widgetTarget*/
22757
22791
  j[25] && St(
22758
22792
  zt,
22759
22793
  /*widgetTarget*/
22760
22794
  j[25]
22761
- ), pe[0] & /*logoIconEnabled*/
22795
+ ), _e[0] & /*logoIconEnabled*/
22762
22796
  1073741824 && ut(
22763
- me,
22797
+ pe,
22764
22798
  /*logoIconEnabled*/
22765
22799
  j[30]
22766
- ), pe[1] & /*advertConsent*/
22800
+ ), _e[1] & /*advertConsent*/
22767
22801
  16 && ut(
22768
22802
  Ue,
22769
22803
  /*advertConsent*/
22770
22804
  j[35]
22771
- ), pe[1] & /*analyticsConsent*/
22805
+ ), _e[1] & /*analyticsConsent*/
22772
22806
  32 && ut(
22773
22807
  ri,
22774
22808
  /*analyticsConsent*/
22775
22809
  j[36]
22776
- ), pe[1] & /*analyticsCustomUrl*/
22810
+ ), _e[1] & /*analyticsCustomUrl*/
22777
22811
  64 && xi.value !== /*analyticsCustomUrl*/
22778
22812
  j[37] && St(
22779
22813
  xi,
22780
22814
  /*analyticsCustomUrl*/
22781
22815
  j[37]
22782
- ), pe[1] & /*analyticsTag*/
22816
+ ), _e[1] & /*analyticsTag*/
22783
22817
  128 && Bi.value !== /*analyticsTag*/
22784
22818
  j[38] && St(
22785
22819
  Bi,
@@ -22877,7 +22911,7 @@ function Ck(t) {
22877
22911
  e = N("a"), e.textContent = "show advanced settings", Q(e, "tabindex", -1), Q(e, "href", "#_"), Q(e, "class", "svelte-g76q0j");
22878
22912
  },
22879
22913
  m(a, l) {
22880
- ie(a, e, l), i || (r = ye(
22914
+ ie(a, e, l), i || (r = me(
22881
22915
  e,
22882
22916
  "click",
22883
22917
  /*click_handler_1*/
@@ -22897,7 +22931,7 @@ function Lk(t) {
22897
22931
  e = N("a"), e.textContent = "hide advanced settings", Q(e, "tabindex", -1), Q(e, "href", "#_"), Q(e, "class", "svelte-g76q0j");
22898
22932
  },
22899
22933
  m(a, l) {
22900
- ie(a, e, l), i || (r = ye(
22934
+ ie(a, e, l), i || (r = me(
22901
22935
  e,
22902
22936
  "click",
22903
22937
  /*click_handler*/
@@ -22911,7 +22945,7 @@ function Lk(t) {
22911
22945
  };
22912
22946
  }
22913
22947
  function Ik(t) {
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 = (
22948
+ 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, pe, 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, _e, ye, ot, Ar, br, Fr, os, rn, ls, Fi, Ur, Si, Vr, Sr, cr, bn, nn, us, dr, Sn, xr, cs, Wn, jn, Tn, Pr = (
22915
22949
  /*adverts*/
22916
22950
  t[41]
22917
22951
  ), R = [];
@@ -22949,13 +22983,13 @@ function Ik(t) {
22949
22983
  Bt = Pe(), si = N("div"), ai = Re(`widgetStyle:
22950
22984
  `), It = N("select"), Rt = N("option"), Rt.textContent = "small", Dt = N("option"), Dt.textContent = "standard", Wt = N("option"), Wt.textContent = "large", ei = N("option"), ei.textContent = "video", Xt = Pe(), ti = N("div"), ui = Re(`widgetPosition:
22951
22985
  `), 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:
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:
22986
+ `), Mt = N("select"), pe = N("option"), pe.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:
22953
22987
  `), Ne = N("input"), Mr = Pe(), Di = N("div"), Nr = Re(`backgroundColor:
22954
22988
  `), ri = N("input"), lr = Pe(), Ki = N("div"), Yi = Re(`iconColor:
22955
22989
  `), Oi = N("input"), tr = Pe(), _r = N("div"), xi = Re(`highlightColor:
22956
22990
  `), Pi = N("input"), ir = Pe(), yr = N("div"), Bi = Re(`highlightSections:
22957
22991
  `), 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:
22992
+ `), _e = N("select"), ye = N("option"), ye.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
22993
  `), 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
22994
  `), dr = N("select");
22961
22995
  for (let ze = 0; ze < 12; ze += 1)
@@ -22992,7 +23026,7 @@ function Ik(t) {
22992
23026
  t[23] === void 0 && Ft(() => (
22993
23027
  /*select7_change_handler*/
22994
23028
  t[52].call(Ct)
22995
- )), Q(ti, "class", "control svelte-g76q0j"), me.__value = "auto", me.value = me.__value, di.__value = "400px", di.value = di.__value, fi.__value = "30rem", fi.value = fi.__value, _i.__value = "fit-content", _i.value = _i.__value, hi.__value = "initial", hi.value = hi.__value, Ai.__value = "0", Ai.value = Ai.__value, Q(Mt, "tabindex", -1), Q(Mt, "class", "svelte-g76q0j"), /*widgetWidth*/
23029
+ )), Q(ti, "class", "control svelte-g76q0j"), pe.__value = "auto", pe.value = pe.__value, di.__value = "400px", di.value = di.__value, fi.__value = "30rem", fi.value = fi.__value, _i.__value = "fit-content", _i.value = _i.__value, hi.__value = "initial", hi.value = hi.__value, Ai.__value = "0", Ai.value = Ai.__value, Q(Mt, "tabindex", -1), Q(Mt, "class", "svelte-g76q0j"), /*widgetWidth*/
22996
23030
  t[24] === void 0 && Ft(() => (
22997
23031
  /*select8_change_handler*/
22998
23032
  t[53].call(Mt)
@@ -23000,10 +23034,10 @@ function Ik(t) {
23000
23034
  t[31] === void 0 && Ft(() => (
23001
23035
  /*select9_change_handler*/
23002
23036
  t[58].call(yi)
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*/
23037
+ )), Q(yr, "class", "control svelte-g76q0j"), ye.__value = "all", ye.value = ye.__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(_e, "tabindex", -1), Q(_e, "class", "svelte-g76q0j"), /*clickableSections*/
23004
23038
  t[32] === void 0 && Ft(() => (
23005
23039
  /*select10_change_handler*/
23006
- t[59].call(pe)
23040
+ t[59].call(_e)
23007
23041
  )), 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*/
23008
23042
  t[33] === void 0 && Ft(() => (
23009
23043
  /*select11_change_handler*/
@@ -23066,7 +23100,7 @@ function Ik(t) {
23066
23100
  /*widgetPosition*/
23067
23101
  t[23],
23068
23102
  !0
23069
- ), I(e, zt), I(e, Ze), I(Ze, bi), I(Ze, Mt), I(Mt, me), I(Mt, di), I(Mt, fi), I(Mt, _i), I(Mt, hi), I(Mt, Ai), ut(
23103
+ ), I(e, zt), I(e, Ze), I(Ze, bi), I(Ze, Mt), I(Mt, pe), I(Mt, di), I(Mt, fi), I(Mt, _i), I(Mt, hi), I(Mt, Ai), ut(
23070
23104
  Mt,
23071
23105
  /*widgetWidth*/
23072
23106
  t[24],
@@ -23092,8 +23126,8 @@ function Ik(t) {
23092
23126
  /*highlightSections*/
23093
23127
  t[31],
23094
23128
  !0
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(
23096
- pe,
23129
+ ), I(e, ur), I(e, Zt), I(Zt, j), I(Zt, _e), I(_e, ye), I(_e, ot), I(_e, Ar), I(_e, br), I(_e, Fr), ut(
23130
+ _e,
23097
23131
  /*clickableSections*/
23098
23132
  t[32],
23099
23133
  !0
@@ -23111,115 +23145,115 @@ function Ik(t) {
23111
23145
  t[34],
23112
23146
  !0
23113
23147
  ), I(e, Sn), qi && qi.m(e, null), I(e, xr), I(e, cs), I(e, Wn), Tr.m(e, null), jn || (Tn = [
23114
- ye(
23148
+ me(
23115
23149
  _,
23116
23150
  "change",
23117
23151
  /*select0_change_handler*/
23118
23152
  t[43]
23119
23153
  ),
23120
- ye(
23154
+ me(
23121
23155
  H,
23122
23156
  "change",
23123
23157
  /*select1_change_handler*/
23124
23158
  t[44]
23125
23159
  ),
23126
- ye(
23160
+ me(
23127
23161
  $,
23128
23162
  "input",
23129
23163
  /*input0_input_handler*/
23130
23164
  t[45]
23131
23165
  ),
23132
- ye(
23166
+ me(
23133
23167
  Xe,
23134
23168
  "input",
23135
23169
  /*input1_input_handler*/
23136
23170
  t[46]
23137
23171
  ),
23138
- ye(
23172
+ me(
23139
23173
  K,
23140
23174
  "change",
23141
23175
  /*select2_change_handler*/
23142
23176
  t[47]
23143
23177
  ),
23144
- ye(
23178
+ me(
23145
23179
  Ee,
23146
23180
  "change",
23147
23181
  /*select3_change_handler*/
23148
23182
  t[48]
23149
23183
  ),
23150
- ye(
23184
+ me(
23151
23185
  lt,
23152
23186
  "change",
23153
23187
  /*select4_change_handler*/
23154
23188
  t[49]
23155
23189
  ),
23156
- ye(
23190
+ me(
23157
23191
  bt,
23158
23192
  "change",
23159
23193
  /*select5_change_handler*/
23160
23194
  t[50]
23161
23195
  ),
23162
- ye(
23196
+ me(
23163
23197
  It,
23164
23198
  "change",
23165
23199
  /*select6_change_handler*/
23166
23200
  t[51]
23167
23201
  ),
23168
- ye(
23202
+ me(
23169
23203
  Ct,
23170
23204
  "change",
23171
23205
  /*select7_change_handler*/
23172
23206
  t[52]
23173
23207
  ),
23174
- ye(
23208
+ me(
23175
23209
  Mt,
23176
23210
  "change",
23177
23211
  /*select8_change_handler*/
23178
23212
  t[53]
23179
23213
  ),
23180
- ye(
23214
+ me(
23181
23215
  Ne,
23182
23216
  "input",
23183
23217
  /*input2_input_handler*/
23184
23218
  t[54]
23185
23219
  ),
23186
- ye(
23220
+ me(
23187
23221
  ri,
23188
23222
  "input",
23189
23223
  /*input3_input_handler*/
23190
23224
  t[55]
23191
23225
  ),
23192
- ye(
23226
+ me(
23193
23227
  Oi,
23194
23228
  "input",
23195
23229
  /*input4_input_handler*/
23196
23230
  t[56]
23197
23231
  ),
23198
- ye(
23232
+ me(
23199
23233
  Pi,
23200
23234
  "input",
23201
23235
  /*input5_input_handler*/
23202
23236
  t[57]
23203
23237
  ),
23204
- ye(
23238
+ me(
23205
23239
  yi,
23206
23240
  "change",
23207
23241
  /*select9_change_handler*/
23208
23242
  t[58]
23209
23243
  ),
23210
- ye(
23211
- pe,
23244
+ me(
23245
+ _e,
23212
23246
  "change",
23213
23247
  /*select10_change_handler*/
23214
23248
  t[59]
23215
23249
  ),
23216
- ye(
23250
+ me(
23217
23251
  Fi,
23218
23252
  "change",
23219
23253
  /*select11_change_handler*/
23220
23254
  t[60]
23221
23255
  ),
23222
- ye(
23256
+ me(
23223
23257
  dr,
23224
23258
  "change",
23225
23259
  /*select12_change_handler*/
@@ -23329,7 +23363,7 @@ function Ik(t) {
23329
23363
  ze[31]
23330
23364
  ), Nt[1] & /*clickableSections*/
23331
23365
  2 && ut(
23332
- pe,
23366
+ _e,
23333
23367
  /*clickableSections*/
23334
23368
  ze[32]
23335
23369
  ), Nt[1] & /*segmentWidgetSections*/
@@ -23453,7 +23487,7 @@ function Rk(t, e, i) {
23453
23487
  function Mt() {
23454
23488
  Xe = this.value, i(21, Xe);
23455
23489
  }
23456
- function me() {
23490
+ function pe() {
23457
23491
  K = this.value, i(25, K);
23458
23492
  }
23459
23493
  function di() {
@@ -23551,7 +23585,7 @@ function Rk(t, e, i) {
23551
23585
  Ze,
23552
23586
  bi,
23553
23587
  Mt,
23554
- me,
23588
+ pe,
23555
23589
  di,
23556
23590
  fi,
23557
23591
  _i,
@@ -23561,14 +23595,14 @@ function Rk(t, e, i) {
23561
23595
  Y
23562
23596
  ];
23563
23597
  }
23564
- class Dk extends it {
23598
+ class Dk extends rt {
23565
23599
  constructor(e) {
23566
- super(), tt(
23600
+ super(), it(
23567
23601
  this,
23568
23602
  e,
23569
23603
  Rk,
23570
23604
  Ik,
23571
- et,
23605
+ tt,
23572
23606
  {
23573
23607
  projectId: 0,
23574
23608
  contentId: 1,
@@ -24061,7 +24095,7 @@ function zk(t, e, i) {
24061
24095
  8 && i(1, V = a && (we == null ? void 0 : we.iconColor) || Ke), t.$$.dirty[0] & /*background, foreground, fallbackSvgs*/
24062
24096
  7 && i(16, ve = L.map((Le, Ye) => V0().then(() => te[Ye]))), t.$$.dirty[0] & /*activeAdvert, persistentAdvert, contentItem*/
24063
24097
  134217920 | t.$$.dirty[1] & /*isAdvert, isStopped*/
24064
- 12 && i(32, z = a && we.imageUrl || !r && (Ie == null ? void 0 : Ie.imageUrl) || g.imageUrl), t.$$.dirty[0] & /*failedUrls*/
24098
+ 12 && i(32, z = a && we.imageUrl || !r && (Ie == null ? void 0 : Ie.imageUrl) || (g == null ? void 0 : g.imageUrl)), t.$$.dirty[0] & /*failedUrls*/
24065
24099
  32768 | t.$$.dirty[1] & /*imageUrl_*/
24066
24100
  2 && i(28, H = Fe.has(z) ? null : z), t.$$.dirty[0] & /*imageUrl*/
24067
24101
  268435456 && i(31, oe = H ? L.map((Le) => Ok(H, Le, Le)) : []), t.$$.dirty[0] & /*imageUrl*/
@@ -24073,21 +24107,21 @@ function zk(t, e, i) {
24073
24107
  67108864 && ge.then((Le) => i(14, xe = Le)).catch(ft), t.$$.dirty[0] & /*title, artist, album, artwork*/
24074
24108
  58736640 && (navigator.mediaSession.metadata = new MediaMetadata({ title: le, artist: be, album: $, artwork: xe })), t.$$.dirty[0] & /*onEvent*/
24075
24109
  8192 && navigator.mediaSession.setActionHandler("play", () => {
24076
- Me(rt({
24110
+ Me($e({
24077
24111
  type: "PressedPlay",
24078
24112
  description: "The play button was pressed.",
24079
24113
  initiatedBy: "media-session-api"
24080
24114
  }));
24081
24115
  }), t.$$.dirty[0] & /*onEvent*/
24082
24116
  8192 && navigator.mediaSession.setActionHandler("pause", () => {
24083
- Me(rt({
24117
+ Me($e({
24084
24118
  type: "PressedPause",
24085
24119
  description: "The pause button was pressed.",
24086
24120
  initiatedBy: "media-session-api"
24087
24121
  }));
24088
24122
  }), t.$$.dirty[0] & /*allowScrubbing, onEvent, duration*/
24089
24123
  4202752 && navigator.mediaSession.setActionHandler("seekto", F ? ({ seekTime: Le }) => {
24090
- Me(rt({
24124
+ Me($e({
24091
24125
  type: "ScrubbedProgressBar",
24092
24126
  description: "The user pressed on the progress bar then dragged.",
24093
24127
  initiatedBy: "media-session-api",
@@ -24095,7 +24129,7 @@ function zk(t, e, i) {
24095
24129
  }));
24096
24130
  } : null), t.$$.dirty[0] & /*showSeekButtons, skipStyle, onEvent, backwardsSeconds*/
24097
24131
  3678208 && navigator.mediaSession.setActionHandler("seekbackward", k ? ({ seekOffset: Le }) => {
24098
- Me(rt(p === "seconds" || Le ? {
24132
+ Me($e(p === "seconds" || Le ? {
24099
24133
  type: "PressedSeekBack",
24100
24134
  description: "The seek backward button was pressed.",
24101
24135
  initiatedBy: "media-session-api",
@@ -24107,7 +24141,7 @@ function zk(t, e, i) {
24107
24141
  }));
24108
24142
  } : null), t.$$.dirty[0] & /*showSeekButtons, skipStyle, onEvent, forwardsSeconds*/
24109
24143
  1843200 && navigator.mediaSession.setActionHandler("seekforward", k ? ({ seekOffset: Le }) => {
24110
- Me(rt(p === "seconds" || Le ? {
24144
+ Me($e(p === "seconds" || Le ? {
24111
24145
  type: "PressedSeekAhead",
24112
24146
  description: "The seek ahead button was pressed.",
24113
24147
  initiatedBy: "media-session-api",
@@ -24119,14 +24153,14 @@ function zk(t, e, i) {
24119
24153
  }));
24120
24154
  } : null), t.$$.dirty[0] & /*showTrackButtons, onEvent*/
24121
24155
  139264 && navigator.mediaSession.setActionHandler("previoustrack", C ? () => {
24122
- Me(rt({
24156
+ Me($e({
24123
24157
  type: "PressedPrevTrack",
24124
24158
  description: "The previous track button was pressed.",
24125
24159
  initiatedBy: "media-session-api"
24126
24160
  }));
24127
24161
  } : null), t.$$.dirty[0] & /*showTrackButtons, onEvent*/
24128
24162
  139264 && navigator.mediaSession.setActionHandler("nexttrack", C ? () => {
24129
- Me(rt({
24163
+ Me($e({
24130
24164
  type: "PressedNextTrack",
24131
24165
  description: "The next track button was pressed.",
24132
24166
  initiatedBy: "media-session-api"
@@ -24177,14 +24211,14 @@ function zk(t, e, i) {
24177
24211
  Ee
24178
24212
  ];
24179
24213
  }
24180
- class Hk extends it {
24214
+ class Hk extends rt {
24181
24215
  constructor(e) {
24182
- super(), tt(
24216
+ super(), it(
24183
24217
  this,
24184
24218
  e,
24185
24219
  zk,
24186
24220
  Gk,
24187
- et,
24221
+ tt,
24188
24222
  {
24189
24223
  content: 4,
24190
24224
  contentIndex: 5,
@@ -24312,9 +24346,9 @@ function Xk(t, e, i) {
24312
24346
  "analyticsTag" in l && i(0, a = l.analyticsTag);
24313
24347
  }, i(1, r = window.gtag), [a, r];
24314
24348
  }
24315
- class Zk extends it {
24349
+ class Zk extends rt {
24316
24350
  constructor(e) {
24317
- super(), tt(this, e, Xk, qk, et, { analyticsTag: 0 });
24351
+ super(), it(this, e, Xk, qk, tt, { analyticsTag: 0 });
24318
24352
  }
24319
24353
  get analyticsTag() {
24320
24354
  return this.$$.ctx[0];
@@ -24323,9 +24357,9 @@ class Zk extends it {
24323
24357
  this.$$set({ analyticsTag: e }), P();
24324
24358
  }
24325
24359
  }
24326
- class Jk extends it {
24360
+ class Jk extends rt {
24327
24361
  constructor(e) {
24328
- super(), tt(this, e, null, null, et, {});
24362
+ super(), it(this, e, null, null, tt, {});
24329
24363
  }
24330
24364
  }
24331
24365
  var ha, Ol, po, cf;
@@ -24452,7 +24486,7 @@ ma = new WeakMap(), To = new WeakSet(), mf = function(e, i, r, a) {
24452
24486
  }
24453
24487
  i.onUpdate(i.containers);
24454
24488
  }, ht(Ss, To), ht(Ss, ko), ht(Ss, ma, new ou(ce(xs, To, mf), ce(xs, ko, pf)));
24455
- const Qk = () => rt({
24489
+ const Qk = () => $e({
24456
24490
  type: "IdentifiersChanged",
24457
24491
  description: "The Player's content identifiers changed.",
24458
24492
  initiatedBy: "browser"
@@ -24509,7 +24543,7 @@ const t2 = (t, e, i, r) => zr(void 0, null, function* () {
24509
24543
  ((l = (a = e == null ? void 0 : e.message) == null ? void 0 : a.result) == null ? void 0 : l.action) === "podcast_state_updated" && r2(e, t), e.type === "reject_subscription" && n2(e);
24510
24544
  }, r2 = (t, e) => {
24511
24545
  const i = t.message.result;
24512
- e(rt({
24546
+ e($e({
24513
24547
  type: "ContentStatusChanged",
24514
24548
  description: "The processing status of a content item within the project changed.",
24515
24549
  initiatedBy: "websocket",
@@ -25226,7 +25260,7 @@ function p2(t) {
25226
25260
  function Mt(Y) {
25227
25261
  t[127](Y);
25228
25262
  }
25229
- function me(Y) {
25263
+ function pe(Y) {
25230
25264
  t[128](Y);
25231
25265
  }
25232
25266
  function di(Y) {
@@ -25341,7 +25375,7 @@ function p2(t) {
25341
25375
  t[40] !== void 0 && (Ue.analyticsCustomUrl = /*analyticsCustomUrl*/
25342
25376
  t[40]), /*analyticsTag*/
25343
25377
  t[41] !== void 0 && (Ue.analyticsTag = /*analyticsTag*/
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)), {
25378
+ 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", pe)), 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)), {
25345
25379
  c() {
25346
25380
  He(e.$$.fragment);
25347
25381
  },
@@ -25763,7 +25797,7 @@ function _2(t) {
25763
25797
  function y2(t, e, i) {
25764
25798
  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;
25765
25799
  const Xt = (...R) => Ze.addEventListener(...R), ti = (...R) => Ze.removeEventListener(...R);
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;
25800
+ 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: pe = 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;
25767
25801
  const J = (R) => Ze.processEvent(de({ emittedFrom: p }, R)), Ne = () => i(82, k = st);
25768
25802
  function Mr(R) {
25769
25803
  Ve[R ? "unshift" : "push"](() => {
@@ -25845,10 +25879,10 @@ function y2(t, e, i) {
25845
25879
  function j(R) {
25846
25880
  Me = R, i(8, Me);
25847
25881
  }
25848
- function pe(R) {
25882
+ function _e(R) {
25849
25883
  Fe = R, i(9, Fe);
25850
25884
  }
25851
- function _e(R) {
25885
+ function ye(R) {
25852
25886
  te = R, i(28, te);
25853
25887
  }
25854
25888
  function ot(R) {
@@ -25924,7 +25958,7 @@ function y2(t, e, i) {
25924
25958
  It = R, i(41, It);
25925
25959
  }
25926
25960
  return t.$$set = (R) => {
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);
25961
+ "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, pe = 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);
25928
25962
  }, t.$$.update = () => {
25929
25963
  t.$$.dirty[0] & /*introsOutrosIndex*/
25930
25964
  256 | t.$$.dirty[1] & /*introsOutros*/
@@ -26048,7 +26082,7 @@ function y2(t, e, i) {
26048
26082
  Ze,
26049
26083
  bi,
26050
26084
  Mt,
26051
- me,
26085
+ pe,
26052
26086
  di,
26053
26087
  fi,
26054
26088
  Ai,
@@ -26081,8 +26115,8 @@ function y2(t, e, i) {
26081
26115
  ur,
26082
26116
  Zt,
26083
26117
  j,
26084
- pe,
26085
26118
  _e,
26119
+ ye,
26086
26120
  ot,
26087
26121
  Ar,
26088
26122
  br,
@@ -26109,14 +26143,14 @@ function y2(t, e, i) {
26109
26143
  Pr
26110
26144
  ];
26111
26145
  }
26112
- let b2 = class extends it {
26146
+ let b2 = class extends rt {
26113
26147
  constructor(e) {
26114
- super(), tt(
26148
+ super(), it(
26115
26149
  this,
26116
26150
  e,
26117
26151
  y2,
26118
26152
  _2,
26119
- et,
26153
+ tt,
26120
26154
  {
26121
26155
  playerApiUrl: 63,
26122
26156
  projectId: 0,
@@ -26963,6 +26997,8 @@ class e3 {
26963
26997
  }
26964
26998
  handlePressedAdvertButton() {
26965
26999
  }
27000
+ handlePressedAdvertImage() {
27001
+ }
26966
27002
  handlePressedAdvertVideo() {
26967
27003
  }
26968
27004
  handlePressedBeyondWords() {
@@ -31051,7 +31087,7 @@ const h6 = () => {
31051
31087
  if (e)
31052
31088
  for (const r of BeyondWords.Player.instances()) {
31053
31089
  const { segment: a, contentIndex: l, segmentIndex: g } = Th(r, e);
31054
- a && r.onEvent(rt({
31090
+ a && r.onEvent($e({
31055
31091
  type: "PressedSegment",
31056
31092
  description: "The user pressed on a segment in the article.",
31057
31093
  initiatedBy: "user",
@@ -31066,7 +31102,7 @@ const h6 = () => {
31066
31102
  const e = document.elementFromPoint(t.clientX, t.clientY), i = (r = Sh(e)) == null ? void 0 : r.getAttribute(Un);
31067
31103
  for (const [a, l] of BeyondWords.Player.instances().entries()) {
31068
31104
  const { segment: g, contentIndex: p, segmentIndex: _ } = Th(l, i);
31069
- _6(a, p, _) && l.onEvent(rt({
31105
+ _6(a, p, _) && l.onEvent($e({
31070
31106
  type: "HoveredSegmentUpdated",
31071
31107
  description: "The user hovered over a different segment in the article.",
31072
31108
  initiatedBy: "user",