@beyondwords/player 0.1.31 → 0.1.33

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
@@ -9,7 +9,7 @@ var Vs = (t, e, i) => e in t ? mu(t, e, { enumerable: !0, configurable: !0, writ
9
9
  for (var i of Io(e))
10
10
  kl.call(e, i) && Vs(t, i, e[i]);
11
11
  return t;
12
- }, Ui = (t, e) => hu(t, _u(e));
12
+ }, Yi = (t, e) => hu(t, _u(e));
13
13
  var Ws = (t, e) => {
14
14
  var i = {};
15
15
  for (var n in t)
@@ -23,13 +23,13 @@ var Os = (t, e, i) => (Vs(t, typeof e != "symbol" ? e + "" : e, i), i), Ms = (t,
23
23
  if (!e.has(t))
24
24
  throw TypeError("Cannot " + i);
25
25
  };
26
- var Wi = (t, e, i) => (Ms(t, e, "read from private field"), i ? i.call(t) : e.get(t)), Ae = (t, e, i) => {
26
+ var Mi = (t, e, i) => (Ms(t, e, "read from private field"), i ? i.call(t) : e.get(t)), Ae = (t, e, i) => {
27
27
  if (e.has(t))
28
28
  throw TypeError("Cannot add the same private member more than once");
29
29
  e instanceof WeakSet ? e.add(t) : e.set(t, i);
30
30
  }, pl = (t, e, i, n) => (Ms(t, e, "write to private field"), n ? n.call(t, i) : e.set(t, i), i);
31
31
  var N = (t, e, i) => (Ms(t, e, "access private method"), i);
32
- var ki = (t, e, i) => new Promise((n, o) => {
32
+ var pi = (t, e, i) => new Promise((n, o) => {
33
33
  var s = (r) => {
34
34
  try {
35
35
  a(i.next(r));
@@ -45,7 +45,7 @@ var ki = (t, e, i) => new Promise((n, o) => {
45
45
  }, a = (r) => r.done ? n(r.value) : Promise.resolve(r.value).then(s, l);
46
46
  a((i = i.apply(t, e)).next());
47
47
  });
48
- /*! version:"0.1.31" */
48
+ /*! version:"0.1.33" */
49
49
  function ee() {
50
50
  }
51
51
  const yu = (t) => t;
@@ -73,7 +73,7 @@ function pe(t, e) {
73
73
  return t != t ? e == e : t !== e || t && typeof t == "object" || typeof t == "function";
74
74
  }
75
75
  let Bo;
76
- function Bn(t, e) {
76
+ function on(t, e) {
77
77
  return t === e ? !0 : (Bo || (Bo = document.createElement("a")), Bo.href = e, t === Bo.href);
78
78
  }
79
79
  function bu(t) {
@@ -182,7 +182,7 @@ function M(t, e, i) {
182
182
  function O(t) {
183
183
  t.parentNode && t.parentNode.removeChild(t);
184
184
  }
185
- function yn(t, e) {
185
+ function vn(t, e) {
186
186
  for (let i = 0; i < t.length; i += 1)
187
187
  t[i] && t[i].d(e);
188
188
  }
@@ -198,7 +198,7 @@ function ne(t) {
198
198
  function X() {
199
199
  return ne(" ");
200
200
  }
201
- function tn() {
201
+ function qi() {
202
202
  return ne("");
203
203
  }
204
204
  function q(t, e, i, n) {
@@ -210,7 +210,7 @@ function Ce(t, e, i) {
210
210
  function Pu(t) {
211
211
  return Array.from(t.childNodes);
212
212
  }
213
- function wi(t, e) {
213
+ function Ti(t, e) {
214
214
  e = "" + e, t.data !== e && (t.data = /** @type {string} */
215
215
  e);
216
216
  }
@@ -361,17 +361,17 @@ function js(t, e, i) {
361
361
  t.dispatchEvent(Cu(`${e ? "intro" : "outro"}${i}`));
362
362
  }
363
363
  const Ho = /* @__PURE__ */ new Set();
364
- let en;
364
+ let nn;
365
365
  function Le() {
366
- en = {
366
+ nn = {
367
367
  r: 0,
368
368
  c: [],
369
- p: en
369
+ p: nn
370
370
  // parent group
371
371
  };
372
372
  }
373
373
  function De() {
374
- en.r || ot(en.c), en = en.p;
374
+ nn.r || ot(nn.c), nn = nn.p;
375
375
  }
376
376
  function B(t, e) {
377
377
  t && t.i && (Ho.delete(t), t.i(e));
@@ -380,7 +380,7 @@ function z(t, e, i, n) {
380
380
  if (t && t.o) {
381
381
  if (Ho.has(t))
382
382
  return;
383
- Ho.add(t), en.c.push(() => {
383
+ Ho.add(t), nn.c.push(() => {
384
384
  Ho.delete(t), n && (i && t.d(1), n());
385
385
  }), t.o(e);
386
386
  } else
@@ -418,7 +418,7 @@ function Cl(t, e, i, n) {
418
418
  start: ku() + w,
419
419
  b: m
420
420
  };
421
- m || (T.group = en, en.r += 1), "inert" in t && (m ? c !== void 0 && (t.inert = c) : (c = /** @type {HTMLElement} */
421
+ m || (T.group = nn, nn.r += 1), "inert" in t && (m ? c !== void 0 && (t.inert = c) : (c = /** @type {HTMLElement} */
422
422
  t.inert, t.inert = !0)), a || r ? r = T : (C && (g(), u = Pl(t, l, m, y, w, A, C)), m && S(0, 1), a = v(T, y), nt(() => js(t, m, "start")), pu((I) => {
423
423
  if (r && I > r.start && (a = v(r, y), r = null, js(t, a.b, "start"), C && (g(), u = Pl(
424
424
  t,
@@ -593,7 +593,7 @@ class we {
593
593
  }
594
594
  const Nu = "4";
595
595
  typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Nu);
596
- const xu = "@beyondwords/player", Yo = "0.1.31", di = (t, e) => {
596
+ const xu = "@beyondwords/player", Yo = "0.1.33", di = (t, e) => {
597
597
  t = [t].flat().join(`
598
598
  `);
599
599
  let i = `${xu}:
@@ -693,7 +693,7 @@ function ac(t) {
693
693
  let e, i, n, o, s, l;
694
694
  return {
695
695
  c() {
696
- e = p("script"), e.innerHTML = "", n = X(), o = p("div"), Bn(e.src, i = "https://imasdk.googleapis.com/js/sdkloader/ima3.js") || Il(e, "src", i), Il(o, "class", "vast-container");
696
+ e = p("script"), e.innerHTML = "", n = X(), o = p("div"), on(e.src, i = "https://imasdk.googleapis.com/js/sdkloader/ima3.js") || Il(e, "src", i), Il(o, "class", "vast-container");
697
697
  },
698
698
  m(a, r) {
699
699
  f(lc.head, e), M(a, n, r), M(a, o, r), t[12](o), s || (l = [
@@ -912,7 +912,7 @@ class uc extends we {
912
912
  const cc = (t, e, i) => {
913
913
  if (!t)
914
914
  return [];
915
- const n = (t.audio || []).map((l) => Ui(Kt({}, l), { format: "audio" })), o = (t.video || []).map((l) => Ui(Kt({}, l), { format: "video" })), s = e ? [...o, ...n] : [...n, ...o];
915
+ const n = (t.audio || []).map((l) => Yi(Kt({}, l), { format: "audio" })), o = (t.video || []).map((l) => Yi(Kt({}, l), { format: "video" })), s = e ? [...o, ...n] : [...n, ...o];
916
916
  if (i && dc()) {
917
917
  const l = s.filter((r) => !r.url.endsWith(".m3u8")), a = s.filter((r) => r.url.endsWith(".m3u8"));
918
918
  return [...l, ...a];
@@ -924,9 +924,9 @@ const cc = (t, e, i) => {
924
924
  return t.includes("android") && t.includes("chrome");
925
925
  };
926
926
  let xn;
927
- const gc = (t, e) => ki(void 0, null, function* () {
927
+ const gc = (t, e) => pi(void 0, null, function* () {
928
928
  return er(t, e) && (yield fc()), xn;
929
- }), er = (t, e) => !(!(t && e) || !((t == null ? void 0 : t.contentType) === "application/x-mpegURL") || (e == null ? void 0 : e.canPlayType("application/vnd.apple.mpegurl")) || !(xn ? xn.isSupported() : !0)), fc = () => ki(void 0, null, function* () {
929
+ }), er = (t, e) => !(!(t && e) || !((t == null ? void 0 : t.contentType) === "application/x-mpegURL") || (e == null ? void 0 : e.canPlayType("application/vnd.apple.mpegurl")) || !(xn ? xn.isSupported() : !0)), fc = () => pi(void 0, null, function* () {
930
930
  xn || (xn || (xn = (yield import("././././././hls.light.min.js")).default), xn || (xn = window.Hls));
931
931
  }), mc = () => {
932
932
  const t = {
@@ -5181,7 +5181,7 @@ function Ll(t) {
5181
5181
  c() {
5182
5182
  for (let o = 0; o < n.length; o += 1)
5183
5183
  n[o].c();
5184
- e = tn();
5184
+ e = qi();
5185
5185
  },
5186
5186
  m(o, s) {
5187
5187
  for (let l = 0; l < n.length; l += 1)
@@ -5207,7 +5207,7 @@ function Ll(t) {
5207
5207
  }
5208
5208
  },
5209
5209
  d(o) {
5210
- o && O(e), yn(n, o);
5210
+ o && O(e), vn(n, o);
5211
5211
  }
5212
5212
  };
5213
5213
  }
@@ -5215,7 +5215,7 @@ function Dl(t) {
5215
5215
  let e, i, n, o, s;
5216
5216
  return {
5217
5217
  c() {
5218
- e = p("source"), Bn(e.src, i = `${/*url*/
5218
+ e = p("source"), on(e.src, i = `${/*url*/
5219
5219
  t[70]}${Bl(
5220
5220
  /*isFirstLoad*/
5221
5221
  t[15],
@@ -5239,7 +5239,7 @@ function Dl(t) {
5239
5239
  },
5240
5240
  p(l, a) {
5241
5241
  t = l, a[0] & /*sources, isFirstLoad*/
5242
- 36864 && !Bn(e.src, i = `${/*url*/
5242
+ 36864 && !on(e.src, i = `${/*url*/
5243
5243
  t[70]}${Bl(
5244
5244
  /*isFirstLoad*/
5245
5245
  t[15],
@@ -5364,7 +5364,7 @@ function Z1(t) {
5364
5364
  );
5365
5365
  return {
5366
5366
  c() {
5367
- n && n.c(), e = tn();
5367
+ n && n.c(), e = qi();
5368
5368
  },
5369
5369
  m(o, s) {
5370
5370
  n && n.m(o, s), M(o, e, s), i = !0;
@@ -5390,7 +5390,7 @@ function Z1(t) {
5390
5390
  function G1(t, e, i) {
5391
5391
  let n, o, s, l, a, r, u, c, g, v, _, m, w, y, A, { content: S } = e, { contentIndex: C } = e, { introOrOutro: T } = e, { activeAdvert: I } = e, { advertConsent: E } = e, { playbackState: R } = e, { duration: Z } = e, { currentTime: F } = e, { playbackRate: U } = e, { prevPercentage: ae } = e, { showUserInterface: ce } = e, { videoBehindWidget: se } = e, { videoBehindStatic: $ } = e, { videoMightBeShown: Q } = e, { widgetPosition: re } = e, { widgetWidth: de } = e, { widgetTarget: Y } = e, { onEvent: K = () => {
5392
5392
  } } = e, { metadataLoaded: te } = e, { video: b = void 0 } = e, P, j, L, Pe = 0, Ve = 0, Ue = F, G, Te;
5393
- const qe = (H) => i(11, Pe = H), Qe = () => Q, rt = () => {
5393
+ const qe = (H) => i(11, Pe = H), Qe = () => Q, st = () => {
5394
5394
  var H;
5395
5395
  return (b == null ? void 0 : b.paused) && ((H = b == null ? void 0 : b.play()) == null ? void 0 : H.catch(We));
5396
5396
  }, pt = () => !(b != null && b.paused) && (b == null ? void 0 : b.pause()), ut = () => {
@@ -5426,7 +5426,7 @@ function G1(t, e, i) {
5426
5426
  description: "The media's duration was updated.",
5427
5427
  initiatedBy: "media"
5428
5428
  }));
5429
- }, st = ({ fromHls: H }) => {
5429
+ }, lt = ({ fromHls: H }) => {
5430
5430
  j !== "not-used" && !H || (i(33, te = !0), i(45, G = Vl(u, b)), K(ye({
5431
5431
  type: "MetadataLoaded",
5432
5432
  description: "The media finished loading its metadata.",
@@ -5471,6 +5471,10 @@ function G1(t, e, i) {
5471
5471
  initiatedBy: "media"
5472
5472
  }));
5473
5473
  }, We = (H) => {
5474
+ if ((H == null ? void 0 : H.name) === "AbortError") {
5475
+ st();
5476
+ return;
5477
+ }
5474
5478
  if ((H == null ? void 0 : H.name) !== "NotAllowedError")
5475
5479
  throw H;
5476
5480
  K(ye({
@@ -5488,7 +5492,7 @@ function G1(t, e, i) {
5488
5492
  mediaUrl: u[0].url,
5489
5493
  errorMessage: "The video tag contains sources but none are playable."
5490
5494
  }));
5491
- }, et = (H, Ee) => ki(this, null, function* () {
5495
+ }, et = (H, Ee) => pi(this, null, function* () {
5492
5496
  var je;
5493
5497
  Ee.fatal && ((je = j == null ? void 0 : j.destroy) == null || je.call(j), i(10, j = null), K(ye({
5494
5498
  type: "PlaybackErrored",
@@ -5498,7 +5502,7 @@ function G1(t, e, i) {
5498
5502
  mediaUrl: u[0].url,
5499
5503
  errorMessage: `${Ee.type} ${Ee.details}`
5500
5504
  })));
5501
- }), lt = () => {
5505
+ }), at = () => {
5502
5506
  K(ye({
5503
5507
  type: "FullScreenModeUpdated",
5504
5508
  description: "The browser entered or exited full screen mode.",
@@ -5506,7 +5510,7 @@ function G1(t, e, i) {
5506
5510
  }));
5507
5511
  };
5508
5512
  vo(() => {
5509
- const H = addEventListener("fullscreenchange", lt), Ee = addEventListener("webkitfullscreenchange", lt);
5513
+ const H = addEventListener("fullscreenchange", at), Ee = addEventListener("webkitfullscreenchange", at);
5510
5514
  return () => {
5511
5515
  removeEventListener("fullscreenchange", H), removeEventListener("fullscreenchange", Ee);
5512
5516
  };
@@ -5560,13 +5564,13 @@ function G1(t, e, i) {
5560
5564
  4096 && i(34, ae = 0), t.$$.dirty[0] & /*sources, video*/
5561
5565
  4100 && gc(u[0], b).then((H) => i(43, P = H)), t.$$.dirty[0] & /*sources, video, hls*/
5562
5566
  5124 | t.$$.dirty[1] & /*Hls*/
5563
- 4096 && i(10, j = hc(u[0], b, P, j, et, st, rt)), t.$$.dirty[0] & /*playbackState, hls*/
5567
+ 4096 && i(10, j = hc(u[0], b, P, j, et, lt, st)), t.$$.dirty[0] & /*playbackState, hls*/
5564
5568
  1025 | t.$$.dirty[1] & /*startPosition*/
5565
5569
  524288 && (R === "playing" || Qe()) && tr(j, a), t.$$.dirty[1] & /*activeAdvert*/
5566
5570
  64 && i(13, c = I == null ? void 0 : I.vastUrl), t.$$.dirty[1] & /*activeAdvert*/
5567
5571
  64 && i(20, g = I == null ? void 0 : I.clickThroughUrl), t.$$.dirty[0] & /*vastUrl, playbackState*/
5568
5572
  8193 | t.$$.dirty[1] & /*metadataLoaded*/
5569
- 4 && te && !c && (R === "playing" ? rt() : pt()), t.$$.dirty[1] & /*videoBehindWidget, widgetTarget*/
5573
+ 4 && te && !c && (R === "playing" ? st() : pt()), t.$$.dirty[1] & /*videoBehindWidget, widgetTarget*/
5570
5574
  2176 && i(19, v = se && Y), t.$$.dirty[1] & /*videoBehindWidget, widgetTarget*/
5571
5575
  2176 && i(14, _ = se && !Y), t.$$.dirty[0] & /*videoBehindSlidingWidget*/
5572
5576
  16384 | t.$$.dirty[1] & /*widgetPosition*/
@@ -5605,7 +5609,7 @@ function G1(t, e, i) {
5605
5609
  Ne,
5606
5610
  gt,
5607
5611
  ze,
5608
- st,
5612
+ lt,
5609
5613
  $e,
5610
5614
  xe,
5611
5615
  jt,
@@ -6097,35 +6101,35 @@ var gm = (
6097
6101
  var hm = function() {
6098
6102
  return typeof Jo.ResizeObserver != "undefined" ? Jo.ResizeObserver : cr;
6099
6103
  }();
6100
- const Mi = (t, e, i) => Ce(t, e, e === "style" ? ym(i) : i), _m = /;(?!([^()]*\([^()]*\))*[^()]*\))/, ym = (t) => t.split(_m).filter((e) => e).map((e) => e + " !important").join(";");
6104
+ const ji = (t, e, i) => Ce(t, e, e === "style" ? ym(i) : i), _m = /;(?!([^()]*\([^()]*\))*[^()]*\))/, ym = (t) => t.split(_m).filter((e) => e).map((e) => e + " !important").join(";");
6101
6105
  function vm(t) {
6102
6106
  let e, i, n, o;
6103
6107
  return {
6104
6108
  c() {
6105
- e = ke("svg"), i = ke("path"), Mi(
6109
+ e = ke("svg"), i = ke("path"), ji(
6106
6110
  i,
6107
6111
  "fill",
6108
6112
  /*color*/
6109
6113
  t[1]
6110
- ), Mi(i, "d", "M14 0.666748C6.63996 0.666748 0.666626 6.64008 0.666626 14.0001C0.666626 21.3601 6.63996 27.3334 14 27.3334C21.36 27.3334 27.3333 21.3601 27.3333 14.0001C27.3333 6.64008 21.36 0.666748 14 0.666748ZM11.3333 18.6667V9.33341C11.3333 8.78675 11.96 8.46675 12.4 8.80008L18.6266 13.4667C18.9866 13.7334 18.9866 14.2667 18.6266 14.5334L12.4 19.2001C11.96 19.5334 11.3333 19.2134 11.3333 18.6667Z"), Mi(e, "width", n = 40 * /*scale*/
6111
- t[0]), Mi(e, "height", o = 40 * /*scale*/
6112
- t[0]), Mi(e, "viewBox", "0.6667 0.6667 26.6667 26.6667"), Mi(e, "fill", "none"), Mi(e, "xmlns", "http://www.w3.org/2000/svg");
6114
+ ), ji(i, "d", "M14 0.666748C6.63996 0.666748 0.666626 6.64008 0.666626 14.0001C0.666626 21.3601 6.63996 27.3334 14 27.3334C21.36 27.3334 27.3333 21.3601 27.3333 14.0001C27.3333 6.64008 21.36 0.666748 14 0.666748ZM11.3333 18.6667V9.33341C11.3333 8.78675 11.96 8.46675 12.4 8.80008L18.6266 13.4667C18.9866 13.7334 18.9866 14.2667 18.6266 14.5334L12.4 19.2001C11.96 19.5334 11.3333 19.2134 11.3333 18.6667Z"), ji(e, "width", n = 40 * /*scale*/
6115
+ t[0]), ji(e, "height", o = 40 * /*scale*/
6116
+ t[0]), ji(e, "viewBox", "0.6667 0.6667 26.6667 26.6667"), ji(e, "fill", "none"), ji(e, "xmlns", "http://www.w3.org/2000/svg");
6113
6117
  },
6114
6118
  m(s, l) {
6115
6119
  M(s, e, l), f(e, i);
6116
6120
  },
6117
6121
  p(s, [l]) {
6118
6122
  l & /*color*/
6119
- 2 && Mi(
6123
+ 2 && ji(
6120
6124
  i,
6121
6125
  "fill",
6122
6126
  /*color*/
6123
6127
  s[1]
6124
6128
  ), l & /*scale*/
6125
6129
  1 && n !== (n = 40 * /*scale*/
6126
- s[0]) && Mi(e, "width", n), l & /*scale*/
6130
+ s[0]) && ji(e, "width", n), l & /*scale*/
6127
6131
  1 && o !== (o = 40 * /*scale*/
6128
- s[0]) && Mi(e, "height", o);
6132
+ s[0]) && ji(e, "height", o);
6129
6133
  },
6130
6134
  i: ee,
6131
6135
  o: ee,
@@ -6157,35 +6161,35 @@ class km extends we {
6157
6161
  this.$$set({ color: e }), d();
6158
6162
  }
6159
6163
  }
6160
- const Ei = (t, e, i) => Ce(t, e, e === "style" ? Sm(i) : i), pm = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Sm = (t) => t.split(pm).filter((e) => e).map((e) => e + " !important").join(";");
6164
+ const zi = (t, e, i) => Ce(t, e, e === "style" ? Sm(i) : i), pm = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Sm = (t) => t.split(pm).filter((e) => e).map((e) => e + " !important").join(";");
6161
6165
  function wm(t) {
6162
6166
  let e, i, n, o;
6163
6167
  return {
6164
6168
  c() {
6165
- e = ke("svg"), i = ke("path"), Ei(
6169
+ e = ke("svg"), i = ke("path"), zi(
6166
6170
  i,
6167
6171
  "fill",
6168
6172
  /*color*/
6169
6173
  t[1]
6170
- ), Ei(i, "d", "M14 0.666748C6.63996 0.666748 0.666626 6.64008 0.666626 14.0001C0.666626 21.3601 6.63996 27.3334 14 27.3334C21.36 27.3334 27.3333 21.3601 27.3333 14.0001C27.3333 6.64008 21.36 0.666748 14 0.666748ZM11.3333 19.3334C10.6 19.3334 9.99996 18.7334 9.99996 18.0001V10.0001C9.99996 9.26675 10.6 8.66675 11.3333 8.66675C12.0666 8.66675 12.6666 9.26675 12.6666 10.0001V18.0001C12.6666 18.7334 12.0666 19.3334 11.3333 19.3334ZM16.6666 19.3334C15.9333 19.3334 15.3333 18.7334 15.3333 18.0001V10.0001C15.3333 9.26675 15.9333 8.66675 16.6666 8.66675C17.4 8.66675 18 9.26675 18 10.0001V18.0001C18 18.7334 17.4 19.3334 16.6666 19.3334Z"), Ei(e, "width", n = 40 * /*scale*/
6171
- t[0]), Ei(e, "height", o = 40 * /*scale*/
6172
- t[0]), Ei(e, "viewBox", "0.6667 0.6667 26.6667 26.6667"), Ei(e, "fill", "none"), Ei(e, "xmlns", "http://www.w3.org/2000/svg");
6174
+ ), zi(i, "d", "M14 0.666748C6.63996 0.666748 0.666626 6.64008 0.666626 14.0001C0.666626 21.3601 6.63996 27.3334 14 27.3334C21.36 27.3334 27.3333 21.3601 27.3333 14.0001C27.3333 6.64008 21.36 0.666748 14 0.666748ZM11.3333 19.3334C10.6 19.3334 9.99996 18.7334 9.99996 18.0001V10.0001C9.99996 9.26675 10.6 8.66675 11.3333 8.66675C12.0666 8.66675 12.6666 9.26675 12.6666 10.0001V18.0001C12.6666 18.7334 12.0666 19.3334 11.3333 19.3334ZM16.6666 19.3334C15.9333 19.3334 15.3333 18.7334 15.3333 18.0001V10.0001C15.3333 9.26675 15.9333 8.66675 16.6666 8.66675C17.4 8.66675 18 9.26675 18 10.0001V18.0001C18 18.7334 17.4 19.3334 16.6666 19.3334Z"), zi(e, "width", n = 40 * /*scale*/
6175
+ t[0]), zi(e, "height", o = 40 * /*scale*/
6176
+ t[0]), zi(e, "viewBox", "0.6667 0.6667 26.6667 26.6667"), zi(e, "fill", "none"), zi(e, "xmlns", "http://www.w3.org/2000/svg");
6173
6177
  },
6174
6178
  m(s, l) {
6175
6179
  M(s, e, l), f(e, i);
6176
6180
  },
6177
6181
  p(s, [l]) {
6178
6182
  l & /*color*/
6179
- 2 && Ei(
6183
+ 2 && zi(
6180
6184
  i,
6181
6185
  "fill",
6182
6186
  /*color*/
6183
6187
  s[1]
6184
6188
  ), l & /*scale*/
6185
6189
  1 && n !== (n = 40 * /*scale*/
6186
- s[0]) && Ei(e, "width", n), l & /*scale*/
6190
+ s[0]) && zi(e, "width", n), l & /*scale*/
6187
6191
  1 && o !== (o = 40 * /*scale*/
6188
- s[0]) && Ei(e, "height", o);
6192
+ s[0]) && zi(e, "height", o);
6189
6193
  },
6190
6194
  i: ee,
6191
6195
  o: ee,
@@ -6422,7 +6426,7 @@ class Om extends we {
6422
6426
  this.$$set({ onEvent: e }), d();
6423
6427
  }
6424
6428
  }
6425
- const cn = (t, e, i) => Ut(t, e, i, 1), fi = (t, e, i) => Ce(t, e, e === "style" ? Em(i) : i), Mm = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Em = (t) => t.split(Mm).filter((e) => e).map((e) => e + " !important").join(";");
6429
+ const gn = (t, e, i) => Ut(t, e, i, 1), fi = (t, e, i) => Ce(t, e, e === "style" ? Em(i) : i), Mm = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Em = (t) => t.split(Mm).filter((e) => e).map((e) => e + " !important").join(";");
6426
6430
  function jm(t) {
6427
6431
  let e, i, n, o, s, l, a;
6428
6432
  return {
@@ -6430,22 +6434,22 @@ function jm(t) {
6430
6434
  e = p("div"), i = p("span"), n = ne(
6431
6435
  /*rate*/
6432
6436
  t[0]
6433
- ), o = ne("x"), cn(
6437
+ ), o = ne("x"), gn(
6434
6438
  i,
6435
6439
  "font-size",
6436
6440
  /*fontSize*/
6437
6441
  t[4]
6438
- ), cn(
6442
+ ), gn(
6439
6443
  i,
6440
6444
  "color",
6441
6445
  /*color*/
6442
6446
  t[1]
6443
- ), fi(i, "class", "svelte-a8vvsg"), fi(e, "type", "button"), fi(e, "tabindex", "0"), fi(e, "role", "spinbutton"), fi(e, "class", "playback-rate-button svelte-a8vvsg"), cn(
6447
+ ), fi(i, "class", "svelte-a8vvsg"), fi(e, "type", "button"), fi(e, "tabindex", "0"), fi(e, "role", "spinbutton"), fi(e, "class", "playback-rate-button svelte-a8vvsg"), gn(
6444
6448
  e,
6445
6449
  "width",
6446
6450
  /*size*/
6447
6451
  t[5]
6448
- ), cn(
6452
+ ), gn(
6449
6453
  e,
6450
6454
  "height",
6451
6455
  /*size*/
@@ -6487,30 +6491,30 @@ function jm(t) {
6487
6491
  },
6488
6492
  p(r, [u]) {
6489
6493
  u & /*rate*/
6490
- 1 && wi(
6494
+ 1 && Ti(
6491
6495
  n,
6492
6496
  /*rate*/
6493
6497
  r[0]
6494
6498
  ), u & /*fontSize*/
6495
- 16 && cn(
6499
+ 16 && gn(
6496
6500
  i,
6497
6501
  "font-size",
6498
6502
  /*fontSize*/
6499
6503
  r[4]
6500
6504
  ), u & /*color*/
6501
- 2 && cn(
6505
+ 2 && gn(
6502
6506
  i,
6503
6507
  "color",
6504
6508
  /*color*/
6505
6509
  r[1]
6506
6510
  ), u & /*size*/
6507
- 32 && cn(
6511
+ 32 && gn(
6508
6512
  e,
6509
6513
  "width",
6510
6514
  /*size*/
6511
6515
  r[5]
6512
6516
  ), u & /*size*/
6513
- 32 && cn(
6517
+ 32 && gn(
6514
6518
  e,
6515
6519
  "height",
6516
6520
  /*size*/
@@ -6657,7 +6661,7 @@ function Nm(t) {
6657
6661
  /*color*/
6658
6662
  a[1]
6659
6663
  ), r & /*seconds*/
6660
- 4 && wi(
6664
+ 4 && Ti(
6661
6665
  o,
6662
6666
  /*seconds*/
6663
6667
  a[2]
@@ -6709,35 +6713,35 @@ class Fm extends we {
6709
6713
  this.$$set({ seconds: e }), d();
6710
6714
  }
6711
6715
  }
6712
- const ji = (t, e, i) => Ce(t, e, e === "style" ? qm(i) : i), Um = /;(?!([^()]*\([^()]*\))*[^()]*\))/, qm = (t) => t.split(Um).filter((e) => e).map((e) => e + " !important").join(";");
6716
+ const Li = (t, e, i) => Ce(t, e, e === "style" ? qm(i) : i), Um = /;(?!([^()]*\([^()]*\))*[^()]*\))/, qm = (t) => t.split(Um).filter((e) => e).map((e) => e + " !important").join(";");
6713
6717
  function Hm(t) {
6714
6718
  let e, i, n, o;
6715
6719
  return {
6716
6720
  c() {
6717
- e = ke("svg"), i = ke("path"), ji(
6721
+ e = ke("svg"), i = ke("path"), Li(
6718
6722
  i,
6719
6723
  "fill",
6720
6724
  /*color*/
6721
6725
  t[1]
6722
- ), ji(i, "d", "M1.25 7.29901C0.249999 6.72166 0.250001 5.27828 1.25 4.70093L8.75 0.370802C9.75 -0.206548 11 0.51514 11 1.66984V10.3301C11 11.4848 9.75 12.2065 8.75 11.6291L1.25 7.29901Z"), ji(e, "width", n = 40 * /*scale*/
6723
- t[0]), ji(e, "height", o = 40 * /*scale*/
6724
- t[0]), ji(e, "viewBox", "-12 -12 35 36"), ji(e, "fill", "none"), ji(e, "xmlns", "http://www.w3.org/2000/svg");
6726
+ ), Li(i, "d", "M1.25 7.29901C0.249999 6.72166 0.250001 5.27828 1.25 4.70093L8.75 0.370802C9.75 -0.206548 11 0.51514 11 1.66984V10.3301C11 11.4848 9.75 12.2065 8.75 11.6291L1.25 7.29901Z"), Li(e, "width", n = 40 * /*scale*/
6727
+ t[0]), Li(e, "height", o = 40 * /*scale*/
6728
+ t[0]), Li(e, "viewBox", "-12 -12 35 36"), Li(e, "fill", "none"), Li(e, "xmlns", "http://www.w3.org/2000/svg");
6725
6729
  },
6726
6730
  m(s, l) {
6727
6731
  M(s, e, l), f(e, i);
6728
6732
  },
6729
6733
  p(s, [l]) {
6730
6734
  l & /*color*/
6731
- 2 && ji(
6735
+ 2 && Li(
6732
6736
  i,
6733
6737
  "fill",
6734
6738
  /*color*/
6735
6739
  s[1]
6736
6740
  ), l & /*scale*/
6737
6741
  1 && n !== (n = 40 * /*scale*/
6738
- s[0]) && ji(e, "width", n), l & /*scale*/
6742
+ s[0]) && Li(e, "width", n), l & /*scale*/
6739
6743
  1 && o !== (o = 40 * /*scale*/
6740
- s[0]) && ji(e, "height", o);
6744
+ s[0]) && Li(e, "height", o);
6741
6745
  },
6742
6746
  i: ee,
6743
6747
  o: ee,
@@ -6769,46 +6773,46 @@ class Zm extends we {
6769
6773
  this.$$set({ color: e }), d();
6770
6774
  }
6771
6775
  }
6772
- const pi = (t, e, i) => Ce(t, e, e === "style" ? Km(i) : i), Gm = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Km = (t) => t.split(Gm).filter((e) => e).map((e) => e + " !important").join(";");
6776
+ const Si = (t, e, i) => Ce(t, e, e === "style" ? Km(i) : i), Gm = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Km = (t) => t.split(Gm).filter((e) => e).map((e) => e + " !important").join(";");
6773
6777
  function Jm(t) {
6774
6778
  let e, i, n, o, s;
6775
6779
  return {
6776
6780
  c() {
6777
- e = ke("svg"), i = ke("path"), n = ke("path"), pi(
6781
+ e = ke("svg"), i = ke("path"), n = ke("path"), Si(
6778
6782
  i,
6779
6783
  "fill",
6780
6784
  /*color*/
6781
6785
  t[1]
6782
- ), pi(i, "d", "M0 1C0 0.447716 0.447715 0 1 0C1.55228 0 2 0.447715 2 1V13C2 13.5523 1.55228 14 1 14C0.447715 14 0 13.5523 0 13V1Z"), pi(
6786
+ ), Si(i, "d", "M0 1C0 0.447716 0.447715 0 1 0C1.55228 0 2 0.447715 2 1V13C2 13.5523 1.55228 14 1 14C0.447715 14 0 13.5523 0 13V1Z"), Si(
6783
6787
  n,
6784
6788
  "fill",
6785
6789
  /*color*/
6786
6790
  t[1]
6787
- ), pi(n, "d", "M7.25 8.29904C6.25 7.72169 6.25 6.27831 7.25 5.70096L14.75 1.37083C15.75 0.793484 17 1.51517 17 2.66987V11.3301C17 12.4848 15.75 13.2065 14.75 12.6292L7.25 8.29904Z"), pi(e, "width", o = 40 * /*scale*/
6788
- t[0]), pi(e, "height", s = 40 * /*scale*/
6789
- t[0]), pi(e, "viewBox", "-10 -10 37 34"), pi(e, "fill", "none"), pi(e, "xmlns", "http://www.w3.org/2000/svg");
6791
+ ), Si(n, "d", "M7.25 8.29904C6.25 7.72169 6.25 6.27831 7.25 5.70096L14.75 1.37083C15.75 0.793484 17 1.51517 17 2.66987V11.3301C17 12.4848 15.75 13.2065 14.75 12.6292L7.25 8.29904Z"), Si(e, "width", o = 40 * /*scale*/
6792
+ t[0]), Si(e, "height", s = 40 * /*scale*/
6793
+ t[0]), Si(e, "viewBox", "-10 -10 37 34"), Si(e, "fill", "none"), Si(e, "xmlns", "http://www.w3.org/2000/svg");
6790
6794
  },
6791
6795
  m(l, a) {
6792
6796
  M(l, e, a), f(e, i), f(e, n);
6793
6797
  },
6794
6798
  p(l, [a]) {
6795
6799
  a & /*color*/
6796
- 2 && pi(
6800
+ 2 && Si(
6797
6801
  i,
6798
6802
  "fill",
6799
6803
  /*color*/
6800
6804
  l[1]
6801
6805
  ), a & /*color*/
6802
- 2 && pi(
6806
+ 2 && Si(
6803
6807
  n,
6804
6808
  "fill",
6805
6809
  /*color*/
6806
6810
  l[1]
6807
6811
  ), a & /*scale*/
6808
6812
  1 && o !== (o = 40 * /*scale*/
6809
- l[0]) && pi(e, "width", o), a & /*scale*/
6813
+ l[0]) && Si(e, "width", o), a & /*scale*/
6810
6814
  1 && s !== (s = 40 * /*scale*/
6811
- l[0]) && pi(e, "height", s);
6815
+ l[0]) && Si(e, "height", s);
6812
6816
  },
6813
6817
  i: ee,
6814
6818
  o: ee,
@@ -7117,7 +7121,7 @@ function uh(t) {
7117
7121
  /*color*/
7118
7122
  a[1]
7119
7123
  ), r & /*seconds*/
7120
- 4 && wi(
7124
+ 4 && Ti(
7121
7125
  o,
7122
7126
  /*seconds*/
7123
7127
  a[2]
@@ -7169,35 +7173,35 @@ class dh extends we {
7169
7173
  this.$$set({ seconds: e }), d();
7170
7174
  }
7171
7175
  }
7172
- const zi = (t, e, i) => Ce(t, e, e === "style" ? fh(i) : i), gh = /;(?!([^()]*\([^()]*\))*[^()]*\))/, fh = (t) => t.split(gh).filter((e) => e).map((e) => e + " !important").join(";");
7176
+ const Di = (t, e, i) => Ce(t, e, e === "style" ? fh(i) : i), gh = /;(?!([^()]*\([^()]*\))*[^()]*\))/, fh = (t) => t.split(gh).filter((e) => e).map((e) => e + " !important").join(";");
7173
7177
  function mh(t) {
7174
7178
  let e, i, n, o;
7175
7179
  return {
7176
7180
  c() {
7177
- e = ke("svg"), i = ke("path"), zi(
7181
+ e = ke("svg"), i = ke("path"), Di(
7178
7182
  i,
7179
7183
  "fill",
7180
7184
  /*color*/
7181
7185
  t[1]
7182
- ), zi(i, "d", "M9.75 4.70093C10.75 5.27828 10.75 6.72166 9.75 7.29901L2.25 11.6291C1.25 12.2065 0 11.4848 0 10.3301V1.66984C0 0.515139 1.25 -0.206548 2.25 0.370802L9.75 4.70093Z"), zi(e, "width", n = 40 * /*scale*/
7183
- t[0]), zi(e, "height", o = 40 * /*scale*/
7184
- t[0]), zi(e, "viewBox", "-12 -12 35 36"), zi(e, "fill", "none"), zi(e, "xmlns", "http://www.w3.org/2000/svg");
7186
+ ), Di(i, "d", "M9.75 4.70093C10.75 5.27828 10.75 6.72166 9.75 7.29901L2.25 11.6291C1.25 12.2065 0 11.4848 0 10.3301V1.66984C0 0.515139 1.25 -0.206548 2.25 0.370802L9.75 4.70093Z"), Di(e, "width", n = 40 * /*scale*/
7187
+ t[0]), Di(e, "height", o = 40 * /*scale*/
7188
+ t[0]), Di(e, "viewBox", "-12 -12 35 36"), Di(e, "fill", "none"), Di(e, "xmlns", "http://www.w3.org/2000/svg");
7185
7189
  },
7186
7190
  m(s, l) {
7187
7191
  M(s, e, l), f(e, i);
7188
7192
  },
7189
7193
  p(s, [l]) {
7190
7194
  l & /*color*/
7191
- 2 && zi(
7195
+ 2 && Di(
7192
7196
  i,
7193
7197
  "fill",
7194
7198
  /*color*/
7195
7199
  s[1]
7196
7200
  ), l & /*scale*/
7197
7201
  1 && n !== (n = 40 * /*scale*/
7198
- s[0]) && zi(e, "width", n), l & /*scale*/
7202
+ s[0]) && Di(e, "width", n), l & /*scale*/
7199
7203
  1 && o !== (o = 40 * /*scale*/
7200
- s[0]) && zi(e, "height", o);
7204
+ s[0]) && Di(e, "height", o);
7201
7205
  },
7202
7206
  i: ee,
7203
7207
  o: ee,
@@ -7229,46 +7233,46 @@ class _h extends we {
7229
7233
  this.$$set({ color: e }), d();
7230
7234
  }
7231
7235
  }
7232
- const Si = (t, e, i) => Ce(t, e, e === "style" ? vh(i) : i), yh = /;(?!([^()]*\([^()]*\))*[^()]*\))/, vh = (t) => t.split(yh).filter((e) => e).map((e) => e + " !important").join(";");
7236
+ const wi = (t, e, i) => Ce(t, e, e === "style" ? vh(i) : i), yh = /;(?!([^()]*\([^()]*\))*[^()]*\))/, vh = (t) => t.split(yh).filter((e) => e).map((e) => e + " !important").join(";");
7233
7237
  function bh(t) {
7234
7238
  let e, i, n, o, s;
7235
7239
  return {
7236
7240
  c() {
7237
- e = ke("svg"), i = ke("path"), n = ke("path"), Si(
7241
+ e = ke("svg"), i = ke("path"), n = ke("path"), wi(
7238
7242
  i,
7239
7243
  "fill",
7240
7244
  /*color*/
7241
7245
  t[1]
7242
- ), Si(i, "d", "M17 13C17 13.5523 16.5523 14 16 14C15.4477 14 15 13.5523 15 13V1C15 0.447716 15.4477 0 16 0C16.5523 0 17 0.447715 17 1V13Z"), Si(
7246
+ ), wi(i, "d", "M17 13C17 13.5523 16.5523 14 16 14C15.4477 14 15 13.5523 15 13V1C15 0.447716 15.4477 0 16 0C16.5523 0 17 0.447715 17 1V13Z"), wi(
7243
7247
  n,
7244
7248
  "fill",
7245
7249
  /*color*/
7246
7250
  t[1]
7247
- ), Si(n, "d", "M9.75 5.70096C10.75 6.27831 10.75 7.72169 9.75 8.29904L2.25 12.6292C1.25 13.2065 0 12.4848 0 11.3301V2.66987C0 1.51517 1.25 0.793485 2.25 1.37083L9.75 5.70096Z"), Si(e, "width", o = 40 * /*scale*/
7248
- t[0]), Si(e, "height", s = 40 * /*scale*/
7249
- t[0]), Si(e, "viewBox", "-10 -10 37 34"), Si(e, "fill", "none"), Si(e, "xmlns", "http://www.w3.org/2000/svg");
7251
+ ), wi(n, "d", "M9.75 5.70096C10.75 6.27831 10.75 7.72169 9.75 8.29904L2.25 12.6292C1.25 13.2065 0 12.4848 0 11.3301V2.66987C0 1.51517 1.25 0.793485 2.25 1.37083L9.75 5.70096Z"), wi(e, "width", o = 40 * /*scale*/
7252
+ t[0]), wi(e, "height", s = 40 * /*scale*/
7253
+ t[0]), wi(e, "viewBox", "-10 -10 37 34"), wi(e, "fill", "none"), wi(e, "xmlns", "http://www.w3.org/2000/svg");
7250
7254
  },
7251
7255
  m(l, a) {
7252
7256
  M(l, e, a), f(e, i), f(e, n);
7253
7257
  },
7254
7258
  p(l, [a]) {
7255
7259
  a & /*color*/
7256
- 2 && Si(
7260
+ 2 && wi(
7257
7261
  i,
7258
7262
  "fill",
7259
7263
  /*color*/
7260
7264
  l[1]
7261
7265
  ), a & /*color*/
7262
- 2 && Si(
7266
+ 2 && wi(
7263
7267
  n,
7264
7268
  "fill",
7265
7269
  /*color*/
7266
7270
  l[1]
7267
7271
  ), a & /*scale*/
7268
7272
  1 && o !== (o = 40 * /*scale*/
7269
- l[0]) && Si(e, "width", o), a & /*scale*/
7273
+ l[0]) && wi(e, "width", o), a & /*scale*/
7270
7274
  1 && s !== (s = 40 * /*scale*/
7271
- l[0]) && Si(e, "height", s);
7275
+ l[0]) && wi(e, "height", s);
7272
7276
  },
7273
7277
  i: ee,
7274
7278
  o: ee,
@@ -8033,35 +8037,35 @@ class Xh extends we {
8033
8037
  this.$$set({ controlsOrder: e }), d();
8034
8038
  }
8035
8039
  }
8036
- const Li = (t, e, i) => Ce(t, e, e === "style" ? $h(i) : i), Qh = /;(?!([^()]*\([^()]*\))*[^()]*\))/, $h = (t) => t.split(Qh).filter((e) => e).map((e) => e + " !important").join(";");
8040
+ const Ri = (t, e, i) => Ce(t, e, e === "style" ? $h(i) : i), Qh = /;(?!([^()]*\([^()]*\))*[^()]*\))/, $h = (t) => t.split(Qh).filter((e) => e).map((e) => e + " !important").join(";");
8037
8041
  function e0(t) {
8038
8042
  let e, i, n, o;
8039
8043
  return {
8040
8044
  c() {
8041
- e = ke("svg"), i = ke("path"), Li(
8045
+ e = ke("svg"), i = ke("path"), Ri(
8042
8046
  i,
8043
8047
  "fill",
8044
8048
  /*color*/
8045
8049
  t[1]
8046
- ), Li(i, "d", "M6.33334 5.76668L5.73334 5.18334C5.60001 5.06112 5.44168 5.00279 5.25834 5.00834C5.07501 5.0139 4.92223 5.07779 4.80001 5.20001C4.67779 5.32223 4.61668 5.47779 4.61668 5.66668C4.61668 5.85557 4.67779 6.01112 4.80001 6.13334L6.53334 7.86668C6.65557 7.9889 6.81112 8.05001 7.00001 8.05001C7.1889 8.05001 7.34445 7.9889 7.46668 7.86668L9.21668 6.11668C9.3389 5.99445 9.39723 5.84168 9.39168 5.65834C9.38612 5.47501 9.32223 5.32223 9.20001 5.20001C9.07779 5.07779 8.92223 5.0139 8.73334 5.00834C8.54445 5.00279 8.3889 5.06668 8.26668 5.20001L7.66668 5.76668V3.65001C7.66668 3.46112 7.60279 3.30557 7.47501 3.18334C7.34723 3.06112 7.1889 3.00001 7.00001 3.00001C6.81112 3.00001 6.65279 3.0639 6.52501 3.19168C6.39723 3.31945 6.33334 3.47779 6.33334 3.66668V5.76668ZM4.33334 10.3333H9.68334C9.87223 10.3333 10.0278 10.2695 10.15 10.1417C10.2722 10.0139 10.3333 9.85557 10.3333 9.66668C10.3333 9.47779 10.2695 9.31945 10.1417 9.19168C10.0139 9.0639 9.85557 9.00001 9.66668 9.00001H4.31668C4.12779 9.00001 3.97223 9.0639 3.85001 9.19168C3.72779 9.31945 3.66668 9.47779 3.66668 9.66668C3.66668 9.85557 3.73057 10.0139 3.85834 10.1417C3.98612 10.2695 4.14445 10.3333 4.33334 10.3333ZM7.00001 13.6667C6.07779 13.6667 5.21112 13.4917 4.40001 13.1417C3.5889 12.7917 2.88334 12.3167 2.28334 11.7167C1.68334 11.1167 1.20834 10.4111 0.858343 9.60001C0.508343 8.7889 0.333344 7.92223 0.333344 7.00001C0.333344 6.07779 0.508343 5.21112 0.858343 4.40001C1.20834 3.5889 1.68334 2.88334 2.28334 2.28334C2.88334 1.68334 3.5889 1.20834 4.40001 0.858343C5.21112 0.508343 6.07779 0.333344 7.00001 0.333344C7.92223 0.333344 8.7889 0.508343 9.60001 0.858343C10.4111 1.20834 11.1167 1.68334 11.7167 2.28334C12.3167 2.88334 12.7917 3.5889 13.1417 4.40001C13.4917 5.21112 13.6667 6.07779 13.6667 7.00001C13.6667 7.92223 13.4917 8.7889 13.1417 9.60001C12.7917 10.4111 12.3167 11.1167 11.7167 11.7167C11.1167 12.3167 10.4111 12.7917 9.60001 13.1417C8.7889 13.4917 7.92223 13.6667 7.00001 13.6667Z"), Li(e, "width", n = 17 * /*scale*/
8047
- t[0]), Li(e, "height", o = 17 * /*scale*/
8048
- t[0]), Li(e, "viewBox", "0 0 14 14"), Li(e, "fill", "none"), Li(e, "xmlns", "http://www.w3.org/2000/svg");
8050
+ ), Ri(i, "d", "M6.33334 5.76668L5.73334 5.18334C5.60001 5.06112 5.44168 5.00279 5.25834 5.00834C5.07501 5.0139 4.92223 5.07779 4.80001 5.20001C4.67779 5.32223 4.61668 5.47779 4.61668 5.66668C4.61668 5.85557 4.67779 6.01112 4.80001 6.13334L6.53334 7.86668C6.65557 7.9889 6.81112 8.05001 7.00001 8.05001C7.1889 8.05001 7.34445 7.9889 7.46668 7.86668L9.21668 6.11668C9.3389 5.99445 9.39723 5.84168 9.39168 5.65834C9.38612 5.47501 9.32223 5.32223 9.20001 5.20001C9.07779 5.07779 8.92223 5.0139 8.73334 5.00834C8.54445 5.00279 8.3889 5.06668 8.26668 5.20001L7.66668 5.76668V3.65001C7.66668 3.46112 7.60279 3.30557 7.47501 3.18334C7.34723 3.06112 7.1889 3.00001 7.00001 3.00001C6.81112 3.00001 6.65279 3.0639 6.52501 3.19168C6.39723 3.31945 6.33334 3.47779 6.33334 3.66668V5.76668ZM4.33334 10.3333H9.68334C9.87223 10.3333 10.0278 10.2695 10.15 10.1417C10.2722 10.0139 10.3333 9.85557 10.3333 9.66668C10.3333 9.47779 10.2695 9.31945 10.1417 9.19168C10.0139 9.0639 9.85557 9.00001 9.66668 9.00001H4.31668C4.12779 9.00001 3.97223 9.0639 3.85001 9.19168C3.72779 9.31945 3.66668 9.47779 3.66668 9.66668C3.66668 9.85557 3.73057 10.0139 3.85834 10.1417C3.98612 10.2695 4.14445 10.3333 4.33334 10.3333ZM7.00001 13.6667C6.07779 13.6667 5.21112 13.4917 4.40001 13.1417C3.5889 12.7917 2.88334 12.3167 2.28334 11.7167C1.68334 11.1167 1.20834 10.4111 0.858343 9.60001C0.508343 8.7889 0.333344 7.92223 0.333344 7.00001C0.333344 6.07779 0.508343 5.21112 0.858343 4.40001C1.20834 3.5889 1.68334 2.88334 2.28334 2.28334C2.88334 1.68334 3.5889 1.20834 4.40001 0.858343C5.21112 0.508343 6.07779 0.333344 7.00001 0.333344C7.92223 0.333344 8.7889 0.508343 9.60001 0.858343C10.4111 1.20834 11.1167 1.68334 11.7167 2.28334C12.3167 2.88334 12.7917 3.5889 13.1417 4.40001C13.4917 5.21112 13.6667 6.07779 13.6667 7.00001C13.6667 7.92223 13.4917 8.7889 13.1417 9.60001C12.7917 10.4111 12.3167 11.1167 11.7167 11.7167C11.1167 12.3167 10.4111 12.7917 9.60001 13.1417C8.7889 13.4917 7.92223 13.6667 7.00001 13.6667Z"), Ri(e, "width", n = 17 * /*scale*/
8051
+ t[0]), Ri(e, "height", o = 17 * /*scale*/
8052
+ t[0]), Ri(e, "viewBox", "0 0 14 14"), Ri(e, "fill", "none"), Ri(e, "xmlns", "http://www.w3.org/2000/svg");
8049
8053
  },
8050
8054
  m(s, l) {
8051
8055
  M(s, e, l), f(e, i);
8052
8056
  },
8053
8057
  p(s, [l]) {
8054
8058
  l & /*color*/
8055
- 2 && Li(
8059
+ 2 && Ri(
8056
8060
  i,
8057
8061
  "fill",
8058
8062
  /*color*/
8059
8063
  s[1]
8060
8064
  ), l & /*scale*/
8061
8065
  1 && n !== (n = 17 * /*scale*/
8062
- s[0]) && Li(e, "width", n), l & /*scale*/
8066
+ s[0]) && Ri(e, "width", n), l & /*scale*/
8063
8067
  1 && o !== (o = 17 * /*scale*/
8064
- s[0]) && Li(e, "height", o);
8068
+ s[0]) && Ri(e, "height", o);
8065
8069
  },
8066
8070
  i: ee,
8067
8071
  o: ee,
@@ -8163,7 +8167,7 @@ function s0(t) {
8163
8167
  );
8164
8168
  return {
8165
8169
  c() {
8166
- n && n.c(), e = tn();
8170
+ n && n.c(), e = qi();
8167
8171
  },
8168
8172
  m(o, s) {
8169
8173
  n && n.m(o, s), M(o, e, s), i = !0;
@@ -8303,35 +8307,35 @@ class dr extends we {
8303
8307
  this.$$set({ onEvent: e }), d();
8304
8308
  }
8305
8309
  }
8306
- const Di = (t, e, i) => Ce(t, e, e === "style" ? r0(i) : i), a0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, r0 = (t) => t.split(a0).filter((e) => e).map((e) => e + " !important").join(";");
8310
+ const Ni = (t, e, i) => Ce(t, e, e === "style" ? r0(i) : i), a0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, r0 = (t) => t.split(a0).filter((e) => e).map((e) => e + " !important").join(";");
8307
8311
  function u0(t) {
8308
8312
  let e, i, n, o;
8309
8313
  return {
8310
8314
  c() {
8311
- e = ke("svg"), i = ke("path"), Di(
8315
+ e = ke("svg"), i = ke("path"), Ni(
8312
8316
  i,
8313
8317
  "fill",
8314
8318
  /*color*/
8315
8319
  t[1]
8316
- ), Di(i, "d", "M1.28571 24C0.914286 24 0.607143 23.8786 0.364286 23.6357C0.121429 23.3929 0 23.0857 0 22.7143V17.0143C0 16.6429 0.121429 16.3357 0.364286 16.0929C0.607143 15.85 0.914286 15.7286 1.28571 15.7286C1.65714 15.7286 1.96429 15.85 2.20714 16.0929C2.45 16.3357 2.57143 16.6429 2.57143 17.0143V21.4286H6.98571C7.35714 21.4286 7.66429 21.55 7.90714 21.7929C8.15 22.0357 8.27143 22.3429 8.27143 22.7143C8.27143 23.0857 8.15 23.3929 7.90714 23.6357C7.66429 23.8786 7.35714 24 6.98571 24H1.28571ZM1.28571 8.27143C0.914286 8.27143 0.607143 8.15 0.364286 7.90714C0.121429 7.66429 0 7.35714 0 6.98571V1.28571C0 0.914286 0.121429 0.607143 0.364286 0.364286C0.607143 0.121429 0.914286 0 1.28571 0H6.98571C7.35714 0 7.66429 0.121429 7.90714 0.364286C8.15 0.607143 8.27143 0.914286 8.27143 1.28571C8.27143 1.65714 8.15 1.96429 7.90714 2.20714C7.66429 2.45 7.35714 2.57143 6.98571 2.57143H2.57143V6.98571C2.57143 7.35714 2.45 7.66429 2.20714 7.90714C1.96429 8.15 1.65714 8.27143 1.28571 8.27143ZM17.0143 24C16.6429 24 16.3357 23.8786 16.0929 23.6357C15.85 23.3929 15.7286 23.0857 15.7286 22.7143C15.7286 22.3429 15.85 22.0357 16.0929 21.7929C16.3357 21.55 16.6429 21.4286 17.0143 21.4286H21.4286V17.0143C21.4286 16.6429 21.55 16.3357 21.7929 16.0929C22.0357 15.85 22.3429 15.7286 22.7143 15.7286C23.0857 15.7286 23.3929 15.85 23.6357 16.0929C23.8786 16.3357 24 16.6429 24 17.0143V22.7143C24 23.0857 23.8786 23.3929 23.6357 23.6357C23.3929 23.8786 23.0857 24 22.7143 24H17.0143ZM22.7143 8.27143C22.3429 8.27143 22.0357 8.15 21.7929 7.90714C21.55 7.66429 21.4286 7.35714 21.4286 6.98571V2.57143H17.0143C16.6429 2.57143 16.3357 2.45 16.0929 2.20714C15.85 1.96429 15.7286 1.65714 15.7286 1.28571C15.7286 0.914286 15.85 0.607143 16.0929 0.364286C16.3357 0.121429 16.6429 0 17.0143 0H22.7143C23.0857 0 23.3929 0.121429 23.6357 0.364286C23.8786 0.607143 24 0.914286 24 1.28571V6.98571C24 7.35714 23.8786 7.66429 23.6357 7.90714C23.3929 8.15 23.0857 8.27143 22.7143 8.27143Z"), Di(e, "width", n = 24 * /*scale*/
8317
- t[0]), Di(e, "height", o = 24 * /*scale*/
8318
- t[0]), Di(e, "viewBox", "0 0 24 24"), Di(e, "fill", "none"), Di(e, "xmlns", "http://www.w3.org/2000/svg");
8320
+ ), Ni(i, "d", "M1.28571 24C0.914286 24 0.607143 23.8786 0.364286 23.6357C0.121429 23.3929 0 23.0857 0 22.7143V17.0143C0 16.6429 0.121429 16.3357 0.364286 16.0929C0.607143 15.85 0.914286 15.7286 1.28571 15.7286C1.65714 15.7286 1.96429 15.85 2.20714 16.0929C2.45 16.3357 2.57143 16.6429 2.57143 17.0143V21.4286H6.98571C7.35714 21.4286 7.66429 21.55 7.90714 21.7929C8.15 22.0357 8.27143 22.3429 8.27143 22.7143C8.27143 23.0857 8.15 23.3929 7.90714 23.6357C7.66429 23.8786 7.35714 24 6.98571 24H1.28571ZM1.28571 8.27143C0.914286 8.27143 0.607143 8.15 0.364286 7.90714C0.121429 7.66429 0 7.35714 0 6.98571V1.28571C0 0.914286 0.121429 0.607143 0.364286 0.364286C0.607143 0.121429 0.914286 0 1.28571 0H6.98571C7.35714 0 7.66429 0.121429 7.90714 0.364286C8.15 0.607143 8.27143 0.914286 8.27143 1.28571C8.27143 1.65714 8.15 1.96429 7.90714 2.20714C7.66429 2.45 7.35714 2.57143 6.98571 2.57143H2.57143V6.98571C2.57143 7.35714 2.45 7.66429 2.20714 7.90714C1.96429 8.15 1.65714 8.27143 1.28571 8.27143ZM17.0143 24C16.6429 24 16.3357 23.8786 16.0929 23.6357C15.85 23.3929 15.7286 23.0857 15.7286 22.7143C15.7286 22.3429 15.85 22.0357 16.0929 21.7929C16.3357 21.55 16.6429 21.4286 17.0143 21.4286H21.4286V17.0143C21.4286 16.6429 21.55 16.3357 21.7929 16.0929C22.0357 15.85 22.3429 15.7286 22.7143 15.7286C23.0857 15.7286 23.3929 15.85 23.6357 16.0929C23.8786 16.3357 24 16.6429 24 17.0143V22.7143C24 23.0857 23.8786 23.3929 23.6357 23.6357C23.3929 23.8786 23.0857 24 22.7143 24H17.0143ZM22.7143 8.27143C22.3429 8.27143 22.0357 8.15 21.7929 7.90714C21.55 7.66429 21.4286 7.35714 21.4286 6.98571V2.57143H17.0143C16.6429 2.57143 16.3357 2.45 16.0929 2.20714C15.85 1.96429 15.7286 1.65714 15.7286 1.28571C15.7286 0.914286 15.85 0.607143 16.0929 0.364286C16.3357 0.121429 16.6429 0 17.0143 0H22.7143C23.0857 0 23.3929 0.121429 23.6357 0.364286C23.8786 0.607143 24 0.914286 24 1.28571V6.98571C24 7.35714 23.8786 7.66429 23.6357 7.90714C23.3929 8.15 23.0857 8.27143 22.7143 8.27143Z"), Ni(e, "width", n = 24 * /*scale*/
8321
+ t[0]), Ni(e, "height", o = 24 * /*scale*/
8322
+ t[0]), Ni(e, "viewBox", "0 0 24 24"), Ni(e, "fill", "none"), Ni(e, "xmlns", "http://www.w3.org/2000/svg");
8319
8323
  },
8320
8324
  m(s, l) {
8321
8325
  M(s, e, l), f(e, i);
8322
8326
  },
8323
8327
  p(s, [l]) {
8324
8328
  l & /*color*/
8325
- 2 && Di(
8329
+ 2 && Ni(
8326
8330
  i,
8327
8331
  "fill",
8328
8332
  /*color*/
8329
8333
  s[1]
8330
8334
  ), l & /*scale*/
8331
8335
  1 && n !== (n = 24 * /*scale*/
8332
- s[0]) && Di(e, "width", n), l & /*scale*/
8336
+ s[0]) && Ni(e, "width", n), l & /*scale*/
8333
8337
  1 && o !== (o = 24 * /*scale*/
8334
- s[0]) && Di(e, "height", o);
8338
+ s[0]) && Ni(e, "height", o);
8335
8339
  },
8336
8340
  i: ee,
8337
8341
  o: ee,
@@ -8451,35 +8455,35 @@ class _0 extends we {
8451
8455
  this.$$set({ onEvent: e }), d();
8452
8456
  }
8453
8457
  }
8454
- const Ri = (t, e, i) => Ce(t, e, e === "style" ? v0(i) : i), y0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, v0 = (t) => t.split(y0).filter((e) => e).map((e) => e + " !important").join(";");
8458
+ const xi = (t, e, i) => Ce(t, e, e === "style" ? v0(i) : i), y0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, v0 = (t) => t.split(y0).filter((e) => e).map((e) => e + " !important").join(";");
8455
8459
  function b0(t) {
8456
8460
  let e, i, n, o;
8457
8461
  return {
8458
8462
  c() {
8459
- e = ke("svg"), i = ke("path"), Ri(
8463
+ e = ke("svg"), i = ke("path"), xi(
8460
8464
  i,
8461
8465
  "fill",
8462
8466
  /*color*/
8463
8467
  t[1]
8464
- ), Ri(i, "d", "M1.66873 11.1188L0.881226 10.3313L5.21248 6.00001L0.881226 1.66876L1.66873 0.881256L5.99998 5.21251L10.3312 0.881256L11.1187 1.66876L6.78748 6.00001L11.1187 10.3313L10.3312 11.1188L5.99998 6.78751L1.66873 11.1188Z"), Ri(e, "width", n = 12 * /*scale*/
8465
- t[0]), Ri(e, "height", o = 12 * /*scale*/
8466
- t[0]), Ri(e, "viewBox", "0 0 12 12"), Ri(e, "fill", "none"), Ri(e, "xmlns", "http://www.w3.org/2000/svg");
8468
+ ), xi(i, "d", "M1.66873 11.1188L0.881226 10.3313L5.21248 6.00001L0.881226 1.66876L1.66873 0.881256L5.99998 5.21251L10.3312 0.881256L11.1187 1.66876L6.78748 6.00001L11.1187 10.3313L10.3312 11.1188L5.99998 6.78751L1.66873 11.1188Z"), xi(e, "width", n = 12 * /*scale*/
8469
+ t[0]), xi(e, "height", o = 12 * /*scale*/
8470
+ t[0]), xi(e, "viewBox", "0 0 12 12"), xi(e, "fill", "none"), xi(e, "xmlns", "http://www.w3.org/2000/svg");
8467
8471
  },
8468
8472
  m(s, l) {
8469
8473
  M(s, e, l), f(e, i);
8470
8474
  },
8471
8475
  p(s, [l]) {
8472
8476
  l & /*color*/
8473
- 2 && Ri(
8477
+ 2 && xi(
8474
8478
  i,
8475
8479
  "fill",
8476
8480
  /*color*/
8477
8481
  s[1]
8478
8482
  ), l & /*scale*/
8479
8483
  1 && n !== (n = 12 * /*scale*/
8480
- s[0]) && Ri(e, "width", n), l & /*scale*/
8484
+ s[0]) && xi(e, "width", n), l & /*scale*/
8481
8485
  1 && o !== (o = 12 * /*scale*/
8482
- s[0]) && Ri(e, "height", o);
8486
+ s[0]) && xi(e, "height", o);
8483
8487
  },
8484
8488
  i: ee,
8485
8489
  o: ee,
@@ -8621,35 +8625,35 @@ class C0 extends we {
8621
8625
  this.$$set({ onEvent: e }), d();
8622
8626
  }
8623
8627
  }
8624
- const qi = (t, e, i) => Ce(t, e, e === "style" ? I0(i) : i), A0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, I0 = (t) => t.split(A0).filter((e) => e).map((e) => e + " !important").join(";");
8628
+ const Zi = (t, e, i) => Ce(t, e, e === "style" ? I0(i) : i), A0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, I0 = (t) => t.split(A0).filter((e) => e).map((e) => e + " !important").join(";");
8625
8629
  function B0(t) {
8626
8630
  let e, i, n, o;
8627
8631
  return {
8628
8632
  c() {
8629
- e = ke("svg"), i = ke("path"), qi(
8633
+ e = ke("svg"), i = ke("path"), Zi(
8630
8634
  i,
8631
8635
  "fill",
8632
8636
  /*color*/
8633
8637
  t[1]
8634
- ), qi(i, "d", "M21 3a1 1 0 0 1 1 1v7h-2V5H4v14h6v2H3a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h18zm0 10a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1h-8a1 1 0 0 1-1-1v-6a1 1 0 0 1 1-1h8zm-1 2h-6v4h6v-4zM6.707 6.293l2.25 2.25L11 6.5V12H5.5l2.043-2.043-2.25-2.25 1.414-1.414z"), qi(e, "width", n = 64 * /*scale*/
8635
- t[0]), qi(e, "height", o = 64 * /*scale*/
8636
- t[0]), qi(e, "viewBox", "0 0 24 24"), qi(e, "xmlns", "http://www.w3.org/2000/svg");
8638
+ ), Zi(i, "d", "M21 3a1 1 0 0 1 1 1v7h-2V5H4v14h6v2H3a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h18zm0 10a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1h-8a1 1 0 0 1-1-1v-6a1 1 0 0 1 1-1h8zm-1 2h-6v4h6v-4zM6.707 6.293l2.25 2.25L11 6.5V12H5.5l2.043-2.043-2.25-2.25 1.414-1.414z"), Zi(e, "width", n = 64 * /*scale*/
8639
+ t[0]), Zi(e, "height", o = 64 * /*scale*/
8640
+ t[0]), Zi(e, "viewBox", "0 0 24 24"), Zi(e, "xmlns", "http://www.w3.org/2000/svg");
8637
8641
  },
8638
8642
  m(s, l) {
8639
8643
  M(s, e, l), f(e, i);
8640
8644
  },
8641
8645
  p(s, [l]) {
8642
8646
  l & /*color*/
8643
- 2 && qi(
8647
+ 2 && Zi(
8644
8648
  i,
8645
8649
  "fill",
8646
8650
  /*color*/
8647
8651
  s[1]
8648
8652
  ), l & /*scale*/
8649
8653
  1 && n !== (n = 64 * /*scale*/
8650
- s[0]) && qi(e, "width", n), l & /*scale*/
8654
+ s[0]) && Zi(e, "width", n), l & /*scale*/
8651
8655
  1 && o !== (o = 64 * /*scale*/
8652
- s[0]) && qi(e, "height", o);
8656
+ s[0]) && Zi(e, "height", o);
8653
8657
  },
8654
8658
  i: ee,
8655
8659
  o: ee,
@@ -8714,7 +8718,7 @@ const gr = (t) => !t || t != null && t.startsWith("http") ? t : `https://${t}`,
8714
8718
  r: 2,
8715
8719
  l: 1
8716
8720
  };
8717
- const pn = (t, e, i) => Ce(t, e, e === "style" ? j0(i) : i), E0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, j0 = (t) => t.split(E0).filter((e) => e).map((e) => e + " !important").join(";");
8721
+ const Sn = (t, e, i) => Ce(t, e, e === "style" ? j0(i) : i), E0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, j0 = (t) => t.split(E0).filter((e) => e).map((e) => e + " !important").join(";");
8718
8722
  function z0(t) {
8719
8723
  let e, i, n, o, s;
8720
8724
  return {
@@ -8722,19 +8726,19 @@ function z0(t) {
8722
8726
  e = p("a"), i = ne(
8723
8727
  /*displayText*/
8724
8728
  t[7]
8725
- ), pn(e, "class", n = "advert-link " + /*playerStyle*/
8729
+ ), Sn(e, "class", n = "advert-link " + /*playerStyle*/
8726
8730
  t[0] + " " + /*controlsOrder*/
8727
- t[1] + " svelte-eat709"), pn(
8731
+ t[1] + " svelte-eat709"), Sn(
8728
8732
  e,
8729
8733
  "href",
8730
8734
  /*hrefWithProtocol*/
8731
8735
  t[5]
8732
- ), pn(
8736
+ ), Sn(
8733
8737
  e,
8734
8738
  "style",
8735
8739
  /*style*/
8736
8740
  t[6]
8737
- ), pn(e, "target", "_blank"), ie(e, "no-image", !/*largeImage*/
8741
+ ), Sn(e, "target", "_blank"), ie(e, "no-image", !/*largeImage*/
8738
8742
  t[2]), ie(e, "no-end", !/*endVisible*/
8739
8743
  t[4]), ie(
8740
8744
  e,
@@ -8756,21 +8760,21 @@ function z0(t) {
8756
8760
  },
8757
8761
  p(l, [a]) {
8758
8762
  a & /*displayText*/
8759
- 128 && wi(
8763
+ 128 && Ti(
8760
8764
  i,
8761
8765
  /*displayText*/
8762
8766
  l[7]
8763
8767
  ), a & /*playerStyle, controlsOrder*/
8764
8768
  3 && n !== (n = "advert-link " + /*playerStyle*/
8765
8769
  l[0] + " " + /*controlsOrder*/
8766
- l[1] + " svelte-eat709") && pn(e, "class", n), a & /*hrefWithProtocol*/
8767
- 32 && pn(
8770
+ l[1] + " svelte-eat709") && Sn(e, "class", n), a & /*hrefWithProtocol*/
8771
+ 32 && Sn(
8768
8772
  e,
8769
8773
  "href",
8770
8774
  /*hrefWithProtocol*/
8771
8775
  l[5]
8772
8776
  ), a & /*style*/
8773
- 64 && pn(
8777
+ 64 && Sn(
8774
8778
  e,
8775
8779
  "style",
8776
8780
  /*style*/
@@ -8976,7 +8980,7 @@ function U0(t) {
8976
8980
  let n = i(t), o = n(t);
8977
8981
  return {
8978
8982
  c() {
8979
- o.c(), e = tn();
8983
+ o.c(), e = qi();
8980
8984
  },
8981
8985
  m(s, l) {
8982
8986
  o.m(s, l), M(s, e, l);
@@ -9115,7 +9119,7 @@ function K0(t) {
9115
9119
  }
9116
9120
  return e = a(t), i = l[e] = s[e](t), {
9117
9121
  c() {
9118
- i.c(), n = tn();
9122
+ i.c(), n = qi();
9119
9123
  },
9120
9124
  m(r, u) {
9121
9125
  l[e].m(r, u), M(r, n, u), o = !0;
@@ -9487,45 +9491,99 @@ class d_ extends we {
9487
9491
  this.$$set({ onEvent: e }), d();
9488
9492
  }
9489
9493
  }
9490
- const dn = (t, e, i) => Ut(t, e, i, 1), Hi = (t, e, i) => Ce(t, e, e === "style" ? f_(i) : i), g_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, f_ = (t) => t.split(g_).filter((e) => e).map((e) => e + " !important").join(";");
9494
+ const Vi = (t, e, i) => Ut(t, e, i, 1), vi = (t, e, i) => Ce(t, e, e === "style" ? f_(i) : i), g_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, f_ = (t) => t.split(g_).filter((e) => e).map((e) => e + " !important").join(";");
9491
9495
  function m_(t) {
9492
- let e, i, n, o, s, l;
9496
+ let e, i;
9497
+ return {
9498
+ c() {
9499
+ e = p("img"), vi(e, "class", "large-image svelte-lbzabl"), on(e.src, i = /*src*/
9500
+ t[0]) || vi(e, "src", i), vi(
9501
+ e,
9502
+ "alt",
9503
+ /*alt*/
9504
+ t[2]
9505
+ ), Vi(
9506
+ e,
9507
+ "width",
9508
+ /*size*/
9509
+ t[3]
9510
+ ), Vi(
9511
+ e,
9512
+ "height",
9513
+ /*size*/
9514
+ t[3]
9515
+ );
9516
+ },
9517
+ m(n, o) {
9518
+ M(n, e, o);
9519
+ },
9520
+ p(n, o) {
9521
+ o & /*src*/
9522
+ 1 && !on(e.src, i = /*src*/
9523
+ n[0]) && vi(e, "src", i), o & /*alt*/
9524
+ 4 && vi(
9525
+ e,
9526
+ "alt",
9527
+ /*alt*/
9528
+ n[2]
9529
+ ), o & /*size*/
9530
+ 8 && Vi(
9531
+ e,
9532
+ "width",
9533
+ /*size*/
9534
+ n[3]
9535
+ ), o & /*size*/
9536
+ 8 && Vi(
9537
+ e,
9538
+ "height",
9539
+ /*size*/
9540
+ n[3]
9541
+ );
9542
+ },
9543
+ d(n) {
9544
+ n && O(e);
9545
+ }
9546
+ };
9547
+ }
9548
+ function h_(t) {
9549
+ let e, i, n, o, s;
9493
9550
  return {
9494
9551
  c() {
9495
- e = p("a"), i = p("img"), Bn(i.src, n = /*src*/
9496
- t[0]) || Hi(i, "src", n), Hi(
9552
+ e = p("a"), i = p("img"), on(i.src, n = /*src*/
9553
+ t[0]) || vi(i, "src", n), vi(
9497
9554
  i,
9498
9555
  "alt",
9499
9556
  /*alt*/
9500
9557
  t[2]
9501
- ), dn(
9558
+ ), Vi(
9502
9559
  i,
9503
9560
  "width",
9504
9561
  /*size*/
9505
9562
  t[3]
9506
- ), dn(
9563
+ ), Vi(
9507
9564
  i,
9508
9565
  "height",
9509
9566
  /*size*/
9510
9567
  t[3]
9511
- ), Hi(e, "class", "large-image svelte-lbzabl"), Hi(e, "href", o = /*href*/
9512
- t[1] ? (
9568
+ ), vi(e, "class", "large-image svelte-lbzabl"), vi(
9569
+ e,
9570
+ "href",
9513
9571
  /*href*/
9514
9572
  t[1]
9515
- ) : null), Hi(e, "target", "_blank"), dn(
9573
+ ), vi(e, "target", "_blank"), Vi(
9516
9574
  e,
9517
9575
  "width",
9518
9576
  /*size*/
9519
9577
  t[3]
9520
- ), dn(
9578
+ ), Vi(
9521
9579
  e,
9522
9580
  "height",
9523
9581
  /*size*/
9524
9582
  t[3]
9525
- ), Hi(e, "aria-label", dt("visitAdvert"));
9583
+ ), vi(e, "aria-label", dt("visitAdvert"));
9526
9584
  },
9527
- m(a, r) {
9528
- M(a, e, r), f(e, i), s || (l = [
9585
+ m(l, a) {
9586
+ M(l, e, a), f(e, i), o || (s = [
9529
9587
  q(
9530
9588
  e,
9531
9589
  "click",
@@ -9533,56 +9591,81 @@ function m_(t) {
9533
9591
  t[4]
9534
9592
  ),
9535
9593
  q(e, "mouseup", oi)
9536
- ], s = !0);
9594
+ ], o = !0);
9537
9595
  },
9538
- p(a, [r]) {
9539
- r & /*src*/
9540
- 1 && !Bn(i.src, n = /*src*/
9541
- a[0]) && Hi(i, "src", n), r & /*alt*/
9542
- 4 && Hi(
9596
+ p(l, a) {
9597
+ a & /*src*/
9598
+ 1 && !on(i.src, n = /*src*/
9599
+ l[0]) && vi(i, "src", n), a & /*alt*/
9600
+ 4 && vi(
9543
9601
  i,
9544
9602
  "alt",
9545
9603
  /*alt*/
9546
- a[2]
9547
- ), r & /*size*/
9548
- 8 && dn(
9604
+ l[2]
9605
+ ), a & /*size*/
9606
+ 8 && Vi(
9549
9607
  i,
9550
9608
  "width",
9551
9609
  /*size*/
9552
- a[3]
9553
- ), r & /*size*/
9554
- 8 && dn(
9610
+ l[3]
9611
+ ), a & /*size*/
9612
+ 8 && Vi(
9555
9613
  i,
9556
9614
  "height",
9557
9615
  /*size*/
9558
- a[3]
9559
- ), r & /*href*/
9560
- 2 && o !== (o = /*href*/
9561
- a[1] ? (
9616
+ l[3]
9617
+ ), a & /*href*/
9618
+ 2 && vi(
9619
+ e,
9620
+ "href",
9562
9621
  /*href*/
9563
- a[1]
9564
- ) : null) && Hi(e, "href", o), r & /*size*/
9565
- 8 && dn(
9622
+ l[1]
9623
+ ), a & /*size*/
9624
+ 8 && Vi(
9566
9625
  e,
9567
9626
  "width",
9568
9627
  /*size*/
9569
- a[3]
9570
- ), r & /*size*/
9571
- 8 && dn(
9628
+ l[3]
9629
+ ), a & /*size*/
9630
+ 8 && Vi(
9572
9631
  e,
9573
9632
  "height",
9574
9633
  /*size*/
9575
- a[3]
9634
+ l[3]
9576
9635
  );
9577
9636
  },
9637
+ d(l) {
9638
+ l && O(e), o = !1, ot(s);
9639
+ }
9640
+ };
9641
+ }
9642
+ function __(t) {
9643
+ let e;
9644
+ function i(s, l) {
9645
+ return (
9646
+ /*href*/
9647
+ s[1] ? h_ : m_
9648
+ );
9649
+ }
9650
+ let n = i(t), o = n(t);
9651
+ return {
9652
+ c() {
9653
+ o.c(), e = qi();
9654
+ },
9655
+ m(s, l) {
9656
+ o.m(s, l), M(s, e, l);
9657
+ },
9658
+ p(s, [l]) {
9659
+ n === (n = i(s)) && o ? o.p(s, l) : (o.d(1), o = n(s), o && (o.c(), o.m(e.parentNode, e)));
9660
+ },
9578
9661
  i: ee,
9579
9662
  o: ee,
9580
- d(a) {
9581
- a && O(e), s = !1, ot(l);
9663
+ d(s) {
9664
+ s && O(e), o.d(s);
9582
9665
  }
9583
9666
  };
9584
9667
  }
9585
- function h_(t, e, i) {
9668
+ function y_(t, e, i) {
9586
9669
  let n, { src: o } = e, { href: s } = e, { alt: l = "Player Image" } = e, { scale: a = 1 } = e, { onEvent: r = () => {
9587
9670
  } } = e;
9588
9671
  const u = () => {
@@ -9599,9 +9682,9 @@ function h_(t, e, i) {
9599
9682
  32 && i(3, n = `${a * 80}px`);
9600
9683
  }, [o, s, l, n, u, a, r];
9601
9684
  }
9602
- class __ extends we {
9685
+ class v_ extends we {
9603
9686
  constructor(e) {
9604
- super(), Se(this, e, h_, m_, pe, {
9687
+ super(), Se(this, e, y_, __, pe, {
9605
9688
  src: 0,
9606
9689
  href: 1,
9607
9690
  alt: 2,
@@ -9640,8 +9723,8 @@ class __ extends we {
9640
9723
  this.$$set({ onEvent: e }), d();
9641
9724
  }
9642
9725
  }
9643
- const Do = (t, e, i) => Ce(t, e, e === "style" ? v_(i) : i), y_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, v_ = (t) => t.split(y_).filter((e) => e).map((e) => e + " !important").join(";");
9644
- function b_(t) {
9726
+ const Do = (t, e, i) => Ce(t, e, e === "style" ? k_(i) : i), b_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, k_ = (t) => t.split(b_).filter((e) => e).map((e) => e + " !important").join(";");
9727
+ function p_(t) {
9645
9728
  var o;
9646
9729
  let e, i = (
9647
9730
  /*title*/
@@ -9681,7 +9764,7 @@ function b_(t) {
9681
9764
  }
9682
9765
  };
9683
9766
  }
9684
- function k_(t, e, i) {
9767
+ function S_(t, e, i) {
9685
9768
  let n, o, { title: s } = e, { playerStyle: l } = e, { scale: a = 1 } = e, { visible: r = !0 } = e, { collapsible: u = !1 } = e, { collapsed: c = !1 } = e, { color: g = "#111" } = e, v;
9686
9769
  function _(m) {
9687
9770
  oe[m ? "unshift" : "push"](() => {
@@ -9710,7 +9793,7 @@ function k_(t, e, i) {
9710
9793
  }
9711
9794
  class hr extends we {
9712
9795
  constructor(e) {
9713
- super(), Se(this, e, k_, b_, pe, {
9796
+ super(), Se(this, e, S_, p_, pe, {
9714
9797
  title: 0,
9715
9798
  playerStyle: 1,
9716
9799
  scale: 4,
@@ -9763,8 +9846,8 @@ class hr extends we {
9763
9846
  this.$$set({ color: e }), d();
9764
9847
  }
9765
9848
  }
9766
- const Ns = (t, e, i) => Ce(t, e, e === "style" ? S_(i) : i), p_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, S_ = (t) => t.split(p_).filter((e) => e).map((e) => e + " !important").join(";");
9767
- function w_(t) {
9849
+ const Ns = (t, e, i) => Ce(t, e, e === "style" ? T_(i) : i), w_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, T_ = (t) => t.split(w_).filter((e) => e).map((e) => e + " !important").join(";");
9850
+ function P_(t) {
9768
9851
  var n;
9769
9852
  let e, i = (
9770
9853
  /*title*/
@@ -9845,7 +9928,7 @@ function w_(t) {
9845
9928
  }
9846
9929
  };
9847
9930
  }
9848
- function T_(t, e, i) {
9931
+ function C_(t, e, i) {
9849
9932
  let n, o, s, l, { title: a } = e, { maxLines: r = 1 } = e, { maxWidth: u = void 0 } = e, { center: c = !1 } = e, { bold: g = !1 } = e, { flex: v = "0 1 auto" } = e, { scale: _ = 1 } = e, { color: m = "#111" } = e;
9850
9933
  return t.$$set = (w) => {
9851
9934
  "title" in w && i(0, a = w.title), "maxLines" in w && i(1, r = w.maxLines), "maxWidth" in w && i(5, u = w.maxWidth), "center" in w && i(2, c = w.center), "bold" in w && i(3, g = w.bold), "flex" in w && i(6, v = w.flex), "scale" in w && i(7, _ = w.scale), "color" in w && i(8, m = w.color);
@@ -9872,7 +9955,7 @@ function T_(t, e, i) {
9872
9955
  }
9873
9956
  class ml extends we {
9874
9957
  constructor(e) {
9875
- super(), Se(this, e, T_, w_, pe, {
9958
+ super(), Se(this, e, C_, P_, pe, {
9876
9959
  title: 0,
9877
9960
  maxLines: 1,
9878
9961
  maxWidth: 5,
@@ -9941,8 +10024,8 @@ const Qo = (t, e, i = () => {
9941
10024
  initiatedBy: "user"
9942
10025
  })), (o === "Left" || o === "Right") && i());
9943
10026
  };
9944
- const En = (t, e, i) => Ut(t, e, i, 1), _i = (t, e, i) => Ce(t, e, e === "style" ? C_(i) : i), P_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, C_ = (t) => t.split(P_).filter((e) => e).map((e) => e + " !important").join(";");
9945
- function A_(t) {
10027
+ const En = (t, e, i) => Ut(t, e, i, 1), _i = (t, e, i) => Ce(t, e, e === "style" ? I_(i) : i), A_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, I_ = (t) => t.split(A_).filter((e) => e).map((e) => e + " !important").join(";");
10028
+ function B_(t) {
9946
10029
  let e, i, n, o, s, l, a;
9947
10030
  return {
9948
10031
  c() {
@@ -10091,7 +10174,7 @@ function A_(t) {
10091
10174
  }
10092
10175
  };
10093
10176
  }
10094
- function I_(t, e, i) {
10177
+ function V_(t, e, i) {
10095
10178
  let n, o, s, l, { progress: a = 0 } = e, { duration: r = 0 } = e, { fullWidth: u = !1 } = e, { readonly: c = !1 } = e, { color: g = "#323232" } = e, { onEvent: v = () => {
10096
10179
  } } = e, _, m, w = !0, y = !0;
10097
10180
  const A = () => {
@@ -10181,9 +10264,9 @@ function I_(t, e, i) {
10181
10264
  F
10182
10265
  ];
10183
10266
  }
10184
- class B_ extends we {
10267
+ class W_ extends we {
10185
10268
  constructor(e) {
10186
- super(), Se(this, e, I_, A_, pe, {
10269
+ super(), Se(this, e, V_, B_, pe, {
10187
10270
  progress: 0,
10188
10271
  duration: 1,
10189
10272
  fullWidth: 2,
@@ -10229,8 +10312,8 @@ class B_ extends we {
10229
10312
  this.$$set({ onEvent: e }), d();
10230
10313
  }
10231
10314
  }
10232
- const Ro = (t, e, i) => Ut(t, e, i, 1), Wt = (t, e, i) => Ce(t, e, e === "style" ? W_(i) : i), V_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, W_ = (t) => t.split(V_).filter((e) => e).map((e) => e + " !important").join(";");
10233
- function O_(t) {
10315
+ const Ro = (t, e, i) => Ut(t, e, i, 1), Wt = (t, e, i) => Ce(t, e, e === "style" ? M_(i) : i), O_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, M_ = (t) => t.split(O_).filter((e) => e).map((e) => e + " !important").join(";");
10316
+ function E_(t) {
10234
10317
  let e;
10235
10318
  const i = (
10236
10319
  /*#slots*/
@@ -10281,7 +10364,7 @@ function O_(t) {
10281
10364
  }
10282
10365
  };
10283
10366
  }
10284
- function M_(t) {
10367
+ function j_(t) {
10285
10368
  let e, i, n, o, s, l, a, r;
10286
10369
  const u = (
10287
10370
  /*#slots*/
@@ -10435,9 +10518,9 @@ function M_(t) {
10435
10518
  }
10436
10519
  };
10437
10520
  }
10438
- function E_(t) {
10521
+ function z_(t) {
10439
10522
  let e, i, n, o;
10440
- const s = [M_, O_], l = [];
10523
+ const s = [j_, E_], l = [];
10441
10524
  function a(r, u) {
10442
10525
  return (
10443
10526
  /*enabled*/
@@ -10446,7 +10529,7 @@ function E_(t) {
10446
10529
  }
10447
10530
  return e = a(t), i = l[e] = s[e](t), {
10448
10531
  c() {
10449
- i.c(), n = tn();
10532
+ i.c(), n = qi();
10450
10533
  },
10451
10534
  m(r, u) {
10452
10535
  l[e].m(r, u), M(r, n, u), o = !0;
@@ -10468,7 +10551,7 @@ function E_(t) {
10468
10551
  }
10469
10552
  };
10470
10553
  }
10471
- function j_(t, e, i) {
10554
+ function L_(t, e, i) {
10472
10555
  let n, o, s, l, a, r, { $$slots: u = {}, $$scope: c } = e, { progress: g = 0 } = e, { enabled: v = !1 } = e, { bold: _ } = e, { scale: m = 1 } = e, { color: w = "#323232" } = e, { onEvent: y = () => {
10473
10556
  } } = e;
10474
10557
  return t.$$set = (A) => {
@@ -10498,9 +10581,9 @@ function j_(t, e, i) {
10498
10581
  u
10499
10582
  ];
10500
10583
  }
10501
- class z_ extends we {
10584
+ class D_ extends we {
10502
10585
  constructor(e) {
10503
- super(), Se(this, e, j_, E_, pe, {
10586
+ super(), Se(this, e, L_, z_, pe, {
10504
10587
  progress: 9,
10505
10588
  enabled: 0,
10506
10589
  bold: 10,
@@ -10552,8 +10635,8 @@ const Ln = (t) => {
10552
10635
  let i = Math.floor(t % 3600 / 60).toString(), n = Math.floor(t % 60).toString();
10553
10636
  return n.length < 2 && (n = `0${n}`), t < 3600 ? `${i}:${n}` : (i.length < 2 && (i = `0${i}`), `${e}:${i}:${n}`);
10554
10637
  };
10555
- const No = (t, e, i) => Ut(t, e, i, 1), L_ = (t, e, i) => Ce(t, e, e === "style" ? R_(i) : i), D_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, R_ = (t) => t.split(D_).filter((e) => e).map((e) => e + " !important").join(";");
10556
- function N_(t) {
10638
+ const No = (t, e, i) => Ut(t, e, i, 1), R_ = (t, e, i) => Ce(t, e, e === "style" ? x_(i) : i), N_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, x_ = (t) => t.split(N_).filter((e) => e).map((e) => e + " !important").join(";");
10639
+ function F_(t) {
10557
10640
  let e, i, n, o = Ln(
10558
10641
  /*remaining*/
10559
10642
  t[1]
@@ -10563,7 +10646,7 @@ function N_(t) {
10563
10646
  e = p("span"), i = ne(
10564
10647
  /*text*/
10565
10648
  t[0]
10566
- ), n = ne(" • "), s = ne(o), L_(e, "class", "countdown-time svelte-mmsohq"), No(e, "font-size", 10 * /*scale*/
10649
+ ), n = ne(" • "), s = ne(o), R_(e, "class", "countdown-time svelte-mmsohq"), No(e, "font-size", 10 * /*scale*/
10567
10650
  t[2] + "px"), No(
10568
10651
  e,
10569
10652
  "color",
@@ -10576,7 +10659,7 @@ function N_(t) {
10576
10659
  },
10577
10660
  p(l, [a]) {
10578
10661
  a & /*text*/
10579
- 1 && wi(
10662
+ 1 && Ti(
10580
10663
  i,
10581
10664
  /*text*/
10582
10665
  l[0]
@@ -10584,7 +10667,7 @@ function N_(t) {
10584
10667
  2 && o !== (o = Ln(
10585
10668
  /*remaining*/
10586
10669
  l[1]
10587
- ) + "") && wi(s, o), a & /*scale*/
10670
+ ) + "") && Ti(s, o), a & /*scale*/
10588
10671
  4 && No(e, "font-size", 10 * /*scale*/
10589
10672
  l[2] + "px"), a & /*color*/
10590
10673
  8 && No(
@@ -10601,15 +10684,15 @@ function N_(t) {
10601
10684
  }
10602
10685
  };
10603
10686
  }
10604
- function x_(t, e, i) {
10687
+ function U_(t, e, i) {
10605
10688
  let { text: n } = e, { remaining: o } = e, { scale: s = 1 } = e, { color: l = "#323232" } = e;
10606
10689
  return t.$$set = (a) => {
10607
10690
  "text" in a && i(0, n = a.text), "remaining" in a && i(1, o = a.remaining), "scale" in a && i(2, s = a.scale), "color" in a && i(3, l = a.color);
10608
10691
  }, [n, o, s, l];
10609
10692
  }
10610
- class F_ extends we {
10693
+ class q_ extends we {
10611
10694
  constructor(e) {
10612
- super(), Se(this, e, x_, N_, pe, {
10695
+ super(), Se(this, e, U_, F_, pe, {
10613
10696
  text: 0,
10614
10697
  remaining: 1,
10615
10698
  scale: 2,
@@ -10641,15 +10724,15 @@ class F_ extends we {
10641
10724
  this.$$set({ color: e }), d();
10642
10725
  }
10643
10726
  }
10644
- const xo = (t, e, i) => Ut(t, e, i, 1), U_ = (t, e, i) => Ce(t, e, e === "style" ? H_(i) : i), q_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, H_ = (t) => t.split(q_).filter((e) => e).map((e) => e + " !important").join(";");
10645
- function Y_(t) {
10727
+ const xo = (t, e, i) => Ut(t, e, i, 1), H_ = (t, e, i) => Ce(t, e, e === "style" ? Z_(i) : i), Y_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Z_ = (t) => t.split(Y_).filter((e) => e).map((e) => e + " !important").join(";");
10728
+ function G_(t) {
10646
10729
  let e, i, n;
10647
10730
  return {
10648
10731
  c() {
10649
10732
  e = p("div"), i = ne(
10650
10733
  /*minutes*/
10651
10734
  t[3]
10652
- ), n = ne(" min"), U_(e, "class", "duration-in-mins svelte-121qsze"), xo(e, "font-size", 10 * /*scale*/
10735
+ ), n = ne(" min"), H_(e, "class", "duration-in-mins svelte-121qsze"), xo(e, "font-size", 10 * /*scale*/
10653
10736
  t[1] + "px"), xo(
10654
10737
  e,
10655
10738
  "color",
@@ -10667,7 +10750,7 @@ function Y_(t) {
10667
10750
  },
10668
10751
  p(o, [s]) {
10669
10752
  s & /*minutes*/
10670
- 8 && wi(
10753
+ 8 && Ti(
10671
10754
  i,
10672
10755
  /*minutes*/
10673
10756
  o[3]
@@ -10694,7 +10777,7 @@ function Y_(t) {
10694
10777
  }
10695
10778
  };
10696
10779
  }
10697
- function Z_(t, e, i) {
10780
+ function K_(t, e, i) {
10698
10781
  let n, { duration: o = 0 } = e, { bold: s = !1 } = e, { scale: l = 1 } = e, { color: a = "#323232" } = e;
10699
10782
  return t.$$set = (r) => {
10700
10783
  "duration" in r && i(4, o = r.duration), "bold" in r && i(0, s = r.bold), "scale" in r && i(1, l = r.scale), "color" in r && i(2, a = r.color);
@@ -10705,7 +10788,7 @@ function Z_(t, e, i) {
10705
10788
  }
10706
10789
  class _r extends we {
10707
10790
  constructor(e) {
10708
- super(), Se(this, e, Z_, Y_, pe, { duration: 4, bold: 0, scale: 1, color: 2 });
10791
+ super(), Se(this, e, K_, G_, pe, { duration: 4, bold: 0, scale: 1, color: 2 });
10709
10792
  }
10710
10793
  get duration() {
10711
10794
  return this.$$.ctx[4];
@@ -10732,8 +10815,8 @@ class _r extends we {
10732
10815
  this.$$set({ color: e }), d();
10733
10816
  }
10734
10817
  }
10735
- const Fo = (t, e, i) => Ut(t, e, i, 1), G_ = (t, e, i) => Ce(t, e, e === "style" ? J_(i) : i), K_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, J_ = (t) => t.split(K_).filter((e) => e).map((e) => e + " !important").join(";");
10736
- function X_(t) {
10818
+ const Fo = (t, e, i) => Ut(t, e, i, 1), J_ = (t, e, i) => Ce(t, e, e === "style" ? Q_(i) : i), X_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Q_ = (t) => t.split(X_).filter((e) => e).map((e) => e + " !important").join(";");
10819
+ function $_(t) {
10737
10820
  let e, i = Ln(
10738
10821
  /*currentTime*/
10739
10822
  t[0]
@@ -10743,7 +10826,7 @@ function X_(t) {
10743
10826
  ) + "", l;
10744
10827
  return {
10745
10828
  c() {
10746
- e = p("span"), n = ne(i), o = ne(" / "), l = ne(s), G_(e, "class", "playback-time svelte-17necdw"), Fo(e, "font-size", 10 * /*scale*/
10829
+ e = p("span"), n = ne(i), o = ne(" / "), l = ne(s), J_(e, "class", "playback-time svelte-17necdw"), Fo(e, "font-size", 10 * /*scale*/
10747
10830
  t[2] + "px"), Fo(
10748
10831
  e,
10749
10832
  "color",
@@ -10759,11 +10842,11 @@ function X_(t) {
10759
10842
  1 && i !== (i = Ln(
10760
10843
  /*currentTime*/
10761
10844
  a[0]
10762
- ) + "") && wi(n, i), r & /*duration*/
10845
+ ) + "") && Ti(n, i), r & /*duration*/
10763
10846
  2 && s !== (s = Ln(
10764
10847
  /*duration*/
10765
10848
  a[1]
10766
- ) + "") && wi(l, s), r & /*scale*/
10849
+ ) + "") && Ti(l, s), r & /*scale*/
10767
10850
  4 && Fo(e, "font-size", 10 * /*scale*/
10768
10851
  a[2] + "px"), r & /*color*/
10769
10852
  8 && Fo(
@@ -10780,15 +10863,15 @@ function X_(t) {
10780
10863
  }
10781
10864
  };
10782
10865
  }
10783
- function Q_(t, e, i) {
10866
+ function ey(t, e, i) {
10784
10867
  let { currentTime: n = 0 } = e, { duration: o = 0 } = e, { scale: s = 1 } = e, { color: l = "#323232" } = e;
10785
10868
  return t.$$set = (a) => {
10786
10869
  "currentTime" in a && i(0, n = a.currentTime), "duration" in a && i(1, o = a.duration), "scale" in a && i(2, s = a.scale), "color" in a && i(3, l = a.color);
10787
10870
  }, [n, o, s, l];
10788
10871
  }
10789
- class $_ extends we {
10872
+ class ty extends we {
10790
10873
  constructor(e) {
10791
- super(), Se(this, e, Q_, X_, pe, {
10874
+ super(), Se(this, e, ey, $_, pe, {
10792
10875
  currentTime: 0,
10793
10876
  duration: 1,
10794
10877
  scale: 2,
@@ -10820,10 +10903,10 @@ class $_ extends we {
10820
10903
  this.$$set({ color: e }), d();
10821
10904
  }
10822
10905
  }
10823
- const Qn = (t, e, i) => Ce(t, e, e === "style" ? ty(i) : i), ey = /;(?!([^()]*\([^()]*\))*[^()]*\))/, ty = (t) => t.split(ey).filter((e) => e).map((e) => e + " !important").join(";");
10824
- function iy(t) {
10906
+ const Qn = (t, e, i) => Ce(t, e, e === "style" ? ny(i) : i), iy = /;(?!([^()]*\([^()]*\))*[^()]*\))/, ny = (t) => t.split(iy).filter((e) => e).map((e) => e + " !important").join(";");
10907
+ function oy(t) {
10825
10908
  let e, i;
10826
- return e = new $_({
10909
+ return e = new ty({
10827
10910
  props: {
10828
10911
  duration: (
10829
10912
  /*duration*/
@@ -10872,7 +10955,7 @@ function iy(t) {
10872
10955
  }
10873
10956
  };
10874
10957
  }
10875
- function ny(t) {
10958
+ function sy(t) {
10876
10959
  let e, i;
10877
10960
  return e = new _r({
10878
10961
  props: {
@@ -10917,9 +11000,9 @@ function ny(t) {
10917
11000
  }
10918
11001
  };
10919
11002
  }
10920
- function oy(t) {
11003
+ function ly(t) {
10921
11004
  let e, i;
10922
- return e = new F_({
11005
+ return e = new q_({
10923
11006
  props: {
10924
11007
  text: "Ad",
10925
11008
  remaining: (
@@ -10963,7 +11046,7 @@ function oy(t) {
10963
11046
  }
10964
11047
  };
10965
11048
  }
10966
- function sy(t) {
11049
+ function ay(t) {
10967
11050
  return {
10968
11051
  c: ee,
10969
11052
  m: ee,
@@ -10973,9 +11056,9 @@ function sy(t) {
10973
11056
  d: ee
10974
11057
  };
10975
11058
  }
10976
- function ly(t) {
11059
+ function ry(t) {
10977
11060
  let e, i, n, o, s, l;
10978
- const a = [sy, oy, ny, iy], r = [];
11061
+ const a = [ay, ly, sy, oy], r = [];
10979
11062
  function u(c, g) {
10980
11063
  return (
10981
11064
  /*isAdvert*/
@@ -11079,7 +11162,7 @@ function ly(t) {
11079
11162
  }
11080
11163
  };
11081
11164
  }
11082
- function ay(t, e, i) {
11165
+ function uy(t, e, i) {
11083
11166
  let n, o, s, l, a, { duration: r = 0 } = e, { currentTime: u = 0 } = e, { playerStyle: c } = e, { positionClasses: g } = e, { isMobile: v } = e, { isAdvert: _ } = e, { isStopped: m } = e, { collapsed: w } = e, { largeImage: y } = e, { showBeyondWords: A } = e, { color: S = "323232" } = e;
11084
11167
  return t.$$set = (C) => {
11085
11168
  "duration" in C && i(0, r = C.duration), "currentTime" in C && i(1, u = C.currentTime), "playerStyle" in C && i(2, c = C.playerStyle), "positionClasses" in C && i(3, g = C.positionClasses), "isMobile" in C && i(4, v = C.isMobile), "isAdvert" in C && i(5, _ = C.isAdvert), "isStopped" in C && i(6, m = C.isStopped), "collapsed" in C && i(14, w = C.collapsed), "largeImage" in C && i(7, y = C.largeImage), "showBeyondWords" in C && i(8, A = C.showBeyondWords), "color" in C && i(9, S = C.color);
@@ -11109,9 +11192,9 @@ function ay(t, e, i) {
11109
11192
  o
11110
11193
  ];
11111
11194
  }
11112
- class ry extends we {
11195
+ class cy extends we {
11113
11196
  constructor(e) {
11114
- super(), Se(this, e, ay, ly, pe, {
11197
+ super(), Se(this, e, uy, ry, pe, {
11115
11198
  duration: 0,
11116
11199
  currentTime: 1,
11117
11200
  playerStyle: 2,
@@ -11192,8 +11275,8 @@ class ry extends we {
11192
11275
  this.$$set({ color: e }), d();
11193
11276
  }
11194
11277
  }
11195
- const Qt = (t, e, i) => Ce(t, e, e === "style" ? cy(i) : i), uy = /;(?!([^()]*\([^()]*\))*[^()]*\))/, cy = (t) => t.split(uy).filter((e) => e).map((e) => e + " !important").join(";");
11196
- function dy(t) {
11278
+ const Qt = (t, e, i) => Ce(t, e, e === "style" ? gy(i) : i), dy = /;(?!([^()]*\([^()]*\))*[^()]*\))/, gy = (t) => t.split(dy).filter((e) => e).map((e) => e + " !important").join(";");
11279
+ function fy(t) {
11197
11280
  let e, i, n, o, s, l;
11198
11281
  return {
11199
11282
  c() {
@@ -11243,7 +11326,7 @@ function dy(t) {
11243
11326
  }
11244
11327
  };
11245
11328
  }
11246
- function gy(t, e, i) {
11329
+ function my(t, e, i) {
11247
11330
  let { scale: n = 1 } = e, { zoom: o = 1 } = e, { color: s = "#323232" } = e, { fill: l = "transparent" } = e;
11248
11331
  return t.$$set = (a) => {
11249
11332
  "scale" in a && i(0, n = a.scale), "zoom" in a && i(1, o = a.zoom), "color" in a && i(2, s = a.color), "fill" in a && i(3, l = a.fill);
@@ -11251,7 +11334,7 @@ function gy(t, e, i) {
11251
11334
  }
11252
11335
  class yr extends we {
11253
11336
  constructor(e) {
11254
- super(), Se(this, e, gy, dy, pe, { scale: 0, zoom: 1, color: 2, fill: 3 });
11337
+ super(), Se(this, e, my, fy, pe, { scale: 0, zoom: 1, color: 2, fill: 3 });
11255
11338
  }
11256
11339
  get scale() {
11257
11340
  return this.$$.ctx[0];
@@ -11278,31 +11361,31 @@ class yr extends we {
11278
11361
  this.$$set({ fill: e }), d();
11279
11362
  }
11280
11363
  }
11281
- const mn = (t, e, i) => Ut(t, e, i, 1), vi = (t, e, i) => Ce(t, e, e === "style" ? my(i) : i), fy = /;(?!([^()]*\([^()]*\))*[^()]*\))/, my = (t) => t.split(fy).filter((e) => e).map((e) => e + " !important").join(";");
11364
+ const hn = (t, e, i) => Ut(t, e, i, 1), bi = (t, e, i) => Ce(t, e, e === "style" ? _y(i) : i), hy = /;(?!([^()]*\([^()]*\))*[^()]*\))/, _y = (t) => t.split(hy).filter((e) => e).map((e) => e + " !important").join(";");
11282
11365
  function Xl(t, e, i) {
11283
11366
  const n = t.slice();
11284
11367
  return n[19] = e[i].title, n[20] = e[i].duration, n[21] = e[i].audio, n[22] = e[i].video, n[24] = i, n;
11285
11368
  }
11286
- function hy(t) {
11369
+ function yy(t) {
11287
11370
  let e, i = (
11288
11371
  /*i*/
11289
11372
  t[24] + 1 + ""
11290
11373
  ), n;
11291
11374
  return {
11292
11375
  c() {
11293
- e = p("span"), n = ne(i), vi(e, "class", "number svelte-1hl1xir"), mn(
11376
+ e = p("span"), n = ne(i), bi(e, "class", "number svelte-1hl1xir"), hn(
11294
11377
  e,
11295
11378
  "color",
11296
11379
  /*textColor*/
11297
11380
  t[2]
11298
- ), vi(e, "aria-hidden", "true");
11381
+ ), bi(e, "aria-hidden", "true");
11299
11382
  },
11300
11383
  m(o, s) {
11301
11384
  M(o, e, s), f(e, n);
11302
11385
  },
11303
11386
  p(o, s) {
11304
11387
  s & /*textColor*/
11305
- 4 && mn(
11388
+ 4 && hn(
11306
11389
  e,
11307
11390
  "color",
11308
11391
  /*textColor*/
@@ -11316,7 +11399,7 @@ function hy(t) {
11316
11399
  }
11317
11400
  };
11318
11401
  }
11319
- function _y(t) {
11402
+ function vy(t) {
11320
11403
  let e, i, n;
11321
11404
  return i = new yr({
11322
11405
  props: {
@@ -11331,7 +11414,7 @@ function _y(t) {
11331
11414
  }
11332
11415
  }), {
11333
11416
  c() {
11334
- e = p("span"), me(i.$$.fragment), vi(e, "class", "speaker svelte-1hl1xir");
11417
+ e = p("span"), me(i.$$.fragment), bi(e, "class", "speaker svelte-1hl1xir");
11335
11418
  },
11336
11419
  m(o, s) {
11337
11420
  M(o, e, s), ge(i, e, null), n = !0;
@@ -11357,7 +11440,7 @@ function _y(t) {
11357
11440
  }
11358
11441
  function Ql(t) {
11359
11442
  let e, i, n, o, s, l, a, r, u, c, g, v, _, m, w, y, A, S, C;
11360
- const T = [_y, hy], I = [];
11443
+ const T = [vy, yy], I = [];
11361
11444
  function E(F, U) {
11362
11445
  return (
11363
11446
  /*i*/
@@ -11448,19 +11531,19 @@ function Ql(t) {
11448
11531
  t[9] !== void 0 && (Z.isVisible = /*downloadIsVisible*/
11449
11532
  t[9]), m = new dr({ props: Z }), oe.push(() => be(m, "isVisible", R)), {
11450
11533
  c() {
11451
- e = p("div"), i = p("button"), o.c(), s = X(), l = p("span"), me(a.$$.fragment), r = X(), u = p("span"), me(c.$$.fragment), v = X(), _ = p("span"), me(m.$$.fragment), y = X(), vi(l, "class", "title svelte-1hl1xir"), ie(
11534
+ e = p("div"), i = p("button"), o.c(), s = X(), l = p("span"), me(a.$$.fragment), r = X(), u = p("span"), me(c.$$.fragment), v = X(), _ = p("span"), me(m.$$.fragment), y = X(), bi(l, "class", "title svelte-1hl1xir"), ie(
11452
11535
  l,
11453
11536
  "download-is-visible",
11454
11537
  /*downloadIsVisible*/
11455
11538
  t[9]
11456
- ), vi(u, "class", "duration svelte-1hl1xir"), vi(i, "type", "button"), vi(i, "class", "item svelte-1hl1xir"), vi(i, "aria-label", g = /*title*/
11539
+ ), bi(u, "class", "duration svelte-1hl1xir"), bi(i, "type", "button"), bi(i, "class", "item svelte-1hl1xir"), bi(i, "aria-label", g = /*title*/
11457
11540
  t[19]), ie(
11458
11541
  i,
11459
11542
  "active",
11460
11543
  /*i*/
11461
11544
  t[24] === /*index*/
11462
11545
  t[6]
11463
- ), vi(_, "class", "download svelte-1hl1xir"), vi(e, "class", "row svelte-1hl1xir");
11546
+ ), bi(_, "class", "download svelte-1hl1xir"), bi(e, "class", "row svelte-1hl1xir");
11464
11547
  },
11465
11548
  m(F, U) {
11466
11549
  M(F, e, U), f(e, i), I[n].m(i, null), f(i, s), f(i, l), ge(a, l, null), f(i, r), f(i, u), ge(c, u, null), f(e, v), f(e, _), ge(m, _, null), f(e, y), A = !0, S || (C = [
@@ -11525,7 +11608,7 @@ function Ql(t) {
11525
11608
  4 && (se.color = /*textColor*/
11526
11609
  t[2]), c.$set(se), (!A || U & /*content*/
11527
11610
  32 && g !== (g = /*title*/
11528
- t[19])) && vi(i, "aria-label", g), (!A || U & /*index*/
11611
+ t[19])) && bi(i, "aria-label", g), (!A || U & /*index*/
11529
11612
  64) && ie(
11530
11613
  i,
11531
11614
  "active",
@@ -11562,7 +11645,7 @@ function Ql(t) {
11562
11645
  }
11563
11646
  );
11564
11647
  }
11565
- function yy(t) {
11648
+ function by(t) {
11566
11649
  let e, i, n, o = ti(
11567
11650
  /*content*/
11568
11651
  t[5]
@@ -11577,17 +11660,17 @@ function yy(t) {
11577
11660
  e = p("div"), i = p("div");
11578
11661
  for (let a = 0; a < s.length; a += 1)
11579
11662
  s[a].c();
11580
- vi(i, "class", "scrollable svelte-1hl1xir"), vi(i, "tabindex", "-1"), vi(e, "class", "playlist svelte-1hl1xir"), mn(
11663
+ bi(i, "class", "scrollable svelte-1hl1xir"), bi(i, "tabindex", "-1"), bi(e, "class", "playlist svelte-1hl1xir"), hn(
11581
11664
  e,
11582
11665
  "--desktop-rows",
11583
11666
  /*desktopRows*/
11584
11667
  t[12]
11585
- ), mn(
11668
+ ), hn(
11586
11669
  e,
11587
11670
  "--mobile-rows",
11588
11671
  /*mobileRows*/
11589
11672
  t[11]
11590
- ), mn(
11673
+ ), hn(
11591
11674
  e,
11592
11675
  "background",
11593
11676
  /*backgroundColor*/
@@ -11627,19 +11710,19 @@ function yy(t) {
11627
11710
  De();
11628
11711
  }
11629
11712
  (!n || r & /*desktopRows*/
11630
- 4096) && mn(
11713
+ 4096) && hn(
11631
11714
  e,
11632
11715
  "--desktop-rows",
11633
11716
  /*desktopRows*/
11634
11717
  a[12]
11635
11718
  ), (!n || r & /*mobileRows*/
11636
- 2048) && mn(
11719
+ 2048) && hn(
11637
11720
  e,
11638
11721
  "--mobile-rows",
11639
11722
  /*mobileRows*/
11640
11723
  a[11]
11641
11724
  ), (!n || r & /*backgroundColor*/
11642
- 8) && mn(
11725
+ 8) && hn(
11643
11726
  e,
11644
11727
  "background",
11645
11728
  /*backgroundColor*/
@@ -11672,11 +11755,11 @@ function yy(t) {
11672
11755
  n = !1;
11673
11756
  },
11674
11757
  d(a) {
11675
- a && O(e), yn(s, a);
11758
+ a && O(e), vn(s, a);
11676
11759
  }
11677
11760
  };
11678
11761
  }
11679
- function vy(t, e, i) {
11762
+ function ky(t, e, i) {
11680
11763
  let n, o, s, l, { style: a = "auto" } = e, { downloadFormats: r = [] } = e, { larger: u = !1 } = e, { textColor: c = "#111" } = e, { backgroundColor: g = "#f5f5f5" } = e, { iconColor: v = "#000" } = e, { content: _ = [] } = e, { index: m = 0 } = e, { isMobile: w } = e, { onEvent: y } = e, A;
11681
11764
  const S = (E) => () => {
11682
11765
  y(ye({
@@ -11733,9 +11816,9 @@ function vy(t, e, i) {
11733
11816
  I
11734
11817
  ];
11735
11818
  }
11736
- class by extends we {
11819
+ class py extends we {
11737
11820
  constructor(e) {
11738
- super(), Se(this, e, vy, yy, pe, {
11821
+ super(), Se(this, e, ky, by, pe, {
11739
11822
  style: 16,
11740
11823
  downloadFormats: 0,
11741
11824
  larger: 1,
@@ -11809,8 +11892,8 @@ class by extends we {
11809
11892
  this.$$set({ onEvent: e }), d();
11810
11893
  }
11811
11894
  }
11812
- const $l = (t, e, i) => Ce(t, e, e === "style" ? py(i) : i), ky = /;(?!([^()]*\([^()]*\))*[^()]*\))/, py = (t) => t.split(ky).filter((e) => e).map((e) => e + " !important").join(";");
11813
- function Sy(t) {
11895
+ const $l = (t, e, i) => Ce(t, e, e === "style" ? wy(i) : i), Sy = /;(?!([^()]*\([^()]*\))*[^()]*\))/, wy = (t) => t.split(Sy).filter((e) => e).map((e) => e + " !important").join(";");
11896
+ function Ty(t) {
11814
11897
  let e, i, n, o;
11815
11898
  const s = (
11816
11899
  /*#slots*/
@@ -11883,7 +11966,7 @@ function Sy(t) {
11883
11966
  }
11884
11967
  };
11885
11968
  }
11886
- function wy(t, e, i) {
11969
+ function Py(t, e, i) {
11887
11970
  let { $$slots: n = {}, $$scope: o } = e, { exitDelay: s = 0 } = e, { idleDelay: l = 1 / 0 } = e, { isHovering: a = !1 } = e, r = !0, u = !0, c, g;
11888
11971
  const v = () => {
11889
11972
  c && clearTimeout(c), g && clearTimeout(g), i(6, r = !1), i(7, u = !1);
@@ -11912,9 +11995,9 @@ function wy(t, e, i) {
11912
11995
  n
11913
11996
  ];
11914
11997
  }
11915
- class Ty extends we {
11998
+ class Cy extends we {
11916
11999
  constructor(e) {
11917
- super(), Se(this, e, wy, Sy, pe, {
12000
+ super(), Se(this, e, Py, Ty, pe, {
11918
12001
  exitDelay: 5,
11919
12002
  idleDelay: 0,
11920
12003
  isHovering: 4
@@ -11939,8 +12022,8 @@ class Ty extends we {
11939
12022
  this.$$set({ isHovering: e }), d();
11940
12023
  }
11941
12024
  }
11942
- const Py = (t, e, i) => Ce(t, e, e === "style" ? Ay(i) : i), Cy = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Ay = (t) => t.split(Cy).filter((e) => e).map((e) => e + " !important").join(";");
11943
- function Iy(t) {
12025
+ const Ay = (t, e, i) => Ce(t, e, e === "style" ? By(i) : i), Iy = /;(?!([^()]*\([^()]*\))*[^()]*\))/, By = (t) => t.split(Iy).filter((e) => e).map((e) => e + " !important").join(";");
12026
+ function Vy(t) {
11944
12027
  let e, i;
11945
12028
  const n = (
11946
12029
  /*#slots*/
@@ -11954,7 +12037,7 @@ function Iy(t) {
11954
12037
  );
11955
12038
  return {
11956
12039
  c() {
11957
- e = p("div"), o && o.c(), Py(e, "class", "visibility svelte-1exdg3");
12040
+ e = p("div"), o && o.c(), Ay(e, "class", "visibility svelte-1exdg3");
11958
12041
  },
11959
12042
  m(s, l) {
11960
12043
  M(s, e, l), o && o.m(e, null), t[8](e), i = !0;
@@ -11991,7 +12074,7 @@ function Iy(t) {
11991
12074
  }
11992
12075
  };
11993
12076
  }
11994
- function By(t, e, i) {
12077
+ function Wy(t, e, i) {
11995
12078
  let { $$slots: n = {}, $$scope: o } = e, s, { enabled: l = !1 } = e, { relativeY: a = void 0 } = e, { absoluteY: r = void 0 } = e, { isVisible: u = void 0 } = e, { onEvent: c = () => {
11996
12079
  } } = e;
11997
12080
  const g = ([_]) => {
@@ -12034,9 +12117,9 @@ function By(t, e, i) {
12034
12117
  v
12035
12118
  ];
12036
12119
  }
12037
- class Vy extends we {
12120
+ class Oy extends we {
12038
12121
  constructor(e) {
12039
- super(), Se(this, e, By, Iy, pe, {
12122
+ super(), Se(this, e, Wy, Vy, pe, {
12040
12123
  enabled: 4,
12041
12124
  relativeY: 1,
12042
12125
  absoluteY: 2,
@@ -12075,18 +12158,18 @@ class Vy extends we {
12075
12158
  this.$$set({ onEvent: e }), d();
12076
12159
  }
12077
12160
  }
12078
- const Wy = ({ playerStyle: t, width: e }) => t === "standard" && e < 380 || t === "large" && e < 380 || t === "video" && e < 480 || t === "screen" && e < 640, Oy = ({ playerStyle: t, position: e, isMobile: i, isAdvert: n }) => t === "screen" || t === "large" && i ? "symmetrical" : t === "standard" && e === "left" ? "left-to-right" : t === "standard" && i || t === "standard" && e === "right" && n ? "right-to-left" : t === "standard" && e === "right" ? "left-to-right-but-swap-ends" : t === "small" && e === "left" ? "left-to-right" : t === "small" && e === "right" ? "right-to-left" : t === "video" && e === "left" ? "left-to-right" : t === "video" && i || t === "video" && e === "right" ? "right-to-left" : "left-to-right", ea = () => document.fullscreenEnabled || document.webkitFullscreenEnabled, My = (t) => {
12161
+ const My = ({ playerStyle: t, width: e }) => t === "standard" && e < 380 || t === "large" && e < 380 || t === "video" && e < 480 || t === "screen" && e < 640, Ey = ({ playerStyle: t, position: e, isMobile: i, isAdvert: n }) => t === "screen" || t === "large" && i ? "symmetrical" : t === "standard" && e === "left" ? "left-to-right" : t === "standard" && i || t === "standard" && e === "right" && n ? "right-to-left" : t === "standard" && e === "right" ? "left-to-right-but-swap-ends" : t === "small" && e === "left" ? "left-to-right" : t === "small" && e === "right" ? "right-to-left" : t === "video" && e === "left" ? "left-to-right" : t === "video" && i || t === "video" && e === "right" ? "right-to-left" : "left-to-right", ea = () => document.fullscreenEnabled || document.webkitFullscreenEnabled, jy = (t) => {
12079
12162
  t.requestFullscreen ? t.requestFullscreen() : t.webkitRequestFullscreen && t.webkitRequestFullscreen();
12080
- }, Ey = () => {
12163
+ }, zy = () => {
12081
12164
  document.exitFullscreen ? document.exitFullscreen() : document.webkitExitFullscreen && document.webkitExitFullscreen();
12082
12165
  }, ta = () => document.fullscreenElement || document.webkitCurrentFullScreenElement;
12083
- const $o = (t, e, i) => Ut(t, e, i, 1), Bi = (t, e, i) => Ce(t, e, e === "style" ? zy(i) : i), jy = /;(?!([^()]*\([^()]*\))*[^()]*\))/, zy = (t) => t.split(jy).filter((e) => e).map((e) => e + " !important").join(";");
12166
+ const $o = (t, e, i) => Ut(t, e, i, 1), Wi = (t, e, i) => Ce(t, e, e === "style" ? Dy(i) : i), Ly = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Dy = (t) => t.split(Ly).filter((e) => e).map((e) => e + " !important").join(";");
12084
12167
  function ia(t) {
12085
12168
  let e, i, n, o = !/*videoPosterImage*/
12086
12169
  t[17] && na(t);
12087
12170
  return {
12088
12171
  c() {
12089
- e = p("div"), o && o.c(), Bi(e, "class", "video-placeholder svelte-1typsi4"), Bi(e, "style", i = /*videoPosterImage*/
12172
+ e = p("div"), o && o.c(), Wi(e, "class", "video-placeholder svelte-1typsi4"), Wi(e, "style", i = /*videoPosterImage*/
12090
12173
  t[17] ? `background-image: url(${/*videoPosterImage*/
12091
12174
  t[17]})` : "");
12092
12175
  },
@@ -12101,7 +12184,7 @@ function ia(t) {
12101
12184
  131072 && B(o, 1)) : (o = na(s), o.c(), B(o, 1), o.m(e, null)), (!n || l[0] & /*videoPosterImage*/
12102
12185
  131072 && i !== (i = /*videoPosterImage*/
12103
12186
  s[17] ? `background-image: url(${/*videoPosterImage*/
12104
- s[17]})` : "")) && Bi(e, "style", i);
12187
+ s[17]})` : "")) && Wi(e, "style", i);
12105
12188
  },
12106
12189
  i(s) {
12107
12190
  n || (B(o), n = !0);
@@ -12158,7 +12241,7 @@ function na(t) {
12158
12241
  }
12159
12242
  function oa(t) {
12160
12243
  let e, i;
12161
- return e = new __({
12244
+ return e = new v_({
12162
12245
  props: {
12163
12246
  onEvent: (
12164
12247
  /*onEvent*/
@@ -12267,7 +12350,7 @@ function sa(t) {
12267
12350
  }
12268
12351
  }), {
12269
12352
  c() {
12270
- e = p("div"), me(i.$$.fragment), n = X(), me(o.$$.fragment), Bi(e, "class", "summary svelte-1typsi4");
12353
+ e = p("div"), me(i.$$.fragment), n = X(), me(o.$$.fragment), Wi(e, "class", "summary svelte-1typsi4");
12271
12354
  },
12272
12355
  m(l, a) {
12273
12356
  M(l, e, a), ge(i, e, null), f(e, n), ge(o, e, null), s = !0;
@@ -12318,7 +12401,7 @@ function sa(t) {
12318
12401
  }
12319
12402
  };
12320
12403
  }
12321
- function Ly(t) {
12404
+ function Ry(t) {
12322
12405
  let e, i;
12323
12406
  return e = new Om({
12324
12407
  props: {
@@ -12369,9 +12452,9 @@ function Ly(t) {
12369
12452
  }
12370
12453
  };
12371
12454
  }
12372
- function Dy(t) {
12455
+ function Ny(t) {
12373
12456
  let e, i;
12374
- return e = new z_({
12457
+ return e = new D_({
12375
12458
  props: {
12376
12459
  onEvent: (
12377
12460
  /*onEvent*/
@@ -12398,7 +12481,7 @@ function Dy(t) {
12398
12481
  /*activeIconColor*/
12399
12482
  t[55]
12400
12483
  ),
12401
- $$slots: { default: [Ly] },
12484
+ $$slots: { default: [Ry] },
12402
12485
  $$scope: { ctx: t }
12403
12486
  }
12404
12487
  }), {
@@ -12660,7 +12743,7 @@ function ra(t) {
12660
12743
  }
12661
12744
  function ua(t) {
12662
12745
  let e, i;
12663
- return e = new B_({
12746
+ return e = new W_({
12664
12747
  props: {
12665
12748
  onEvent: (
12666
12749
  /*onEvent*/
@@ -12882,7 +12965,7 @@ function da(t) {
12882
12965
  /*fixedPosition*/
12883
12966
  t[8]
12884
12967
  ),
12885
- $$slots: { default: [Fy] },
12968
+ $$slots: { default: [qy] },
12886
12969
  $$scope: { ctx: t }
12887
12970
  }
12888
12971
  }), {
@@ -12922,7 +13005,7 @@ function da(t) {
12922
13005
  }
12923
13006
  };
12924
13007
  }
12925
- function Ry(t) {
13008
+ function xy(t) {
12926
13009
  var n, o;
12927
13010
  let e, i;
12928
13011
  return e = new dr({
@@ -13006,7 +13089,7 @@ function Ry(t) {
13006
13089
  }
13007
13090
  };
13008
13091
  }
13009
- function Ny(t) {
13092
+ function Fy(t) {
13010
13093
  let e, i;
13011
13094
  return e = new Yh({
13012
13095
  props: {
@@ -13066,7 +13149,7 @@ function Ny(t) {
13066
13149
  }
13067
13150
  };
13068
13151
  }
13069
- function xy(t) {
13152
+ function Uy(t) {
13070
13153
  let e, i;
13071
13154
  return e = new d_({
13072
13155
  props: {
@@ -13212,12 +13295,12 @@ function fa(t) {
13212
13295
  }
13213
13296
  };
13214
13297
  }
13215
- function Fy(t) {
13298
+ function qy(t) {
13216
13299
  let e, i, n, o = (
13217
13300
  /*isVideo*/
13218
13301
  t[21] && ea()
13219
13302
  ), s, l, a;
13220
- const r = [xy, Ny, Ry], u = [];
13303
+ const r = [Uy, Fy, xy], u = [];
13221
13304
  function c(_, m) {
13222
13305
  return (
13223
13306
  /*isScreen*/
@@ -13240,7 +13323,7 @@ function Fy(t) {
13240
13323
  );
13241
13324
  return {
13242
13325
  c() {
13243
- i && i.c(), n = X(), g && g.c(), s = X(), v && v.c(), l = tn();
13326
+ i && i.c(), n = X(), g && g.c(), s = X(), v && v.c(), l = qi();
13244
13327
  },
13245
13328
  m(_, m) {
13246
13329
  ~e && u[e].m(_, m), M(_, n, m), g && g.m(_, m), M(_, s, m), v && v.m(_, m), M(_, l, m), a = !0;
@@ -13275,7 +13358,7 @@ function Fy(t) {
13275
13358
  }
13276
13359
  function ma(t) {
13277
13360
  let e, i, n, o;
13278
- const s = [qy, Uy], l = [];
13361
+ const s = [Yy, Hy], l = [];
13279
13362
  function a(r, u) {
13280
13363
  return (
13281
13364
  /*showCloseWidget*/
@@ -13288,7 +13371,7 @@ function ma(t) {
13288
13371
  }
13289
13372
  return ~(i = a(t)) && (n = l[i] = s[i](t)), {
13290
13373
  c() {
13291
- e = p("div"), n && n.c(), Bi(e, "class", "end svelte-1typsi4"), ie(
13374
+ e = p("div"), n && n.c(), Wi(e, "class", "end svelte-1typsi4"), ie(
13292
13375
  e,
13293
13376
  "logo-image-right",
13294
13377
  /*logoImagePosition*/
@@ -13337,7 +13420,7 @@ function ma(t) {
13337
13420
  }
13338
13421
  };
13339
13422
  }
13340
- function Uy(t) {
13423
+ function Hy(t) {
13341
13424
  let e, i;
13342
13425
  return e = new mr({
13343
13426
  props: {
@@ -13387,7 +13470,7 @@ function Uy(t) {
13387
13470
  }
13388
13471
  };
13389
13472
  }
13390
- function qy(t) {
13473
+ function Yy(t) {
13391
13474
  let e, i;
13392
13475
  return e = new C0({
13393
13476
  props: {
@@ -13438,7 +13521,7 @@ function qy(t) {
13438
13521
  }
13439
13522
  };
13440
13523
  }
13441
- function Hy(t) {
13524
+ function Zy(t) {
13442
13525
  let e, i, n, o, s, l, a, r, u, c, g, v, _, m, w, y, A, S, C, T, I, E, R = (
13443
13526
  /*isVideo*/
13444
13527
  t[21] && /*videoPosterImage*/
@@ -13470,7 +13553,7 @@ function Hy(t) {
13470
13553
  ),
13471
13554
  enabled: !/*fixedPosition*/
13472
13555
  t[8],
13473
- $$slots: { default: [Dy] },
13556
+ $$slots: { default: [Ny] },
13474
13557
  $$scope: { ctx: t }
13475
13558
  };
13476
13559
  /*isVisible*/
@@ -13479,7 +13562,7 @@ function Hy(t) {
13479
13562
  t[1] !== void 0 && (se.relativeY = /*relativeY*/
13480
13563
  t[1]), /*absoluteY*/
13481
13564
  t[2] !== void 0 && (se.absoluteY = /*absoluteY*/
13482
- t[2]), l = new Vy({ props: se }), oe.push(() => be(l, "isVisible", U)), oe.push(() => be(l, "relativeY", ae)), oe.push(() => be(l, "absoluteY", ce));
13565
+ t[2]), l = new Oy({ props: se }), oe.push(() => be(l, "isVisible", U)), oe.push(() => be(l, "relativeY", ae)), oe.push(() => be(l, "absoluteY", ce));
13483
13566
  let $ = (
13484
13567
  /*isStandard*/
13485
13568
  (t[28] && /*isStopped*/
@@ -13499,7 +13582,7 @@ function Hy(t) {
13499
13582
  t[19] > 720 && /*controlsOrder*/
13500
13583
  t[22] !== "left-to-right-but-swap-ends" && ra(t)
13501
13584
  );
13502
- m = new ry({
13585
+ m = new cy({
13503
13586
  props: {
13504
13587
  currentTime: (
13505
13588
  /*currentTime*/
@@ -13571,7 +13654,7 @@ function Hy(t) {
13571
13654
  );
13572
13655
  return {
13573
13656
  c() {
13574
- R && R.c(), e = X(), i = p("div"), Z && Z.c(), n = X(), F && F.c(), o = X(), s = p("div"), me(l.$$.fragment), c = X(), $ && $.c(), g = X(), Q && Q.c(), v = X(), re && re.c(), _ = X(), me(m.$$.fragment), w = X(), de && de.c(), y = X(), Y && Y.c(), A = X(), K && K.c(), S = X(), te && te.c(), Bi(s, "class", "controls svelte-1typsi4"), Bi(i, "class", "main svelte-1typsi4"), Bi(i, "role", "none"), Bi(i, "style", C = /*isVideo*/
13657
+ R && R.c(), e = X(), i = p("div"), Z && Z.c(), n = X(), F && F.c(), o = X(), s = p("div"), me(l.$$.fragment), c = X(), $ && $.c(), g = X(), Q && Q.c(), v = X(), re && re.c(), _ = X(), me(m.$$.fragment), w = X(), de && de.c(), y = X(), Y && Y.c(), A = X(), K && K.c(), S = X(), te && te.c(), Wi(s, "class", "controls svelte-1typsi4"), Wi(i, "class", "main svelte-1typsi4"), Wi(i, "role", "none"), Wi(i, "style", C = /*isVideo*/
13575
13658
  t[21] ? "" : `background: ${/*activeBgColor*/
13576
13659
  t[56]}`), ie(i, "no-image", !/*largeImage*/
13577
13660
  t[47]);
@@ -13702,7 +13785,7 @@ function Hy(t) {
13702
13785
  2097152 | P[1] & /*activeBgColor*/
13703
13786
  33554432 && C !== (C = /*isVideo*/
13704
13787
  b[21] ? "" : `background: ${/*activeBgColor*/
13705
- b[56]}`)) && Bi(i, "style", C), (!T || P[1] & /*largeImage*/
13788
+ b[56]}`)) && Wi(i, "style", C), (!T || P[1] & /*largeImage*/
13706
13789
  65536) && ie(i, "no-image", !/*largeImage*/
13707
13790
  b[47]);
13708
13791
  },
@@ -13719,7 +13802,7 @@ function Hy(t) {
13719
13802
  }
13720
13803
  function ha(t) {
13721
13804
  let e, i;
13722
- return e = new by({
13805
+ return e = new py({
13723
13806
  props: {
13724
13807
  onEvent: (
13725
13808
  /*onEvent*/
@@ -13807,7 +13890,7 @@ function ha(t) {
13807
13890
  }
13808
13891
  };
13809
13892
  }
13810
- function Yy(t) {
13893
+ function Gy(t) {
13811
13894
  let e, i, n, o, s, l, a, r, u;
13812
13895
  function c(_) {
13813
13896
  t[85](_);
@@ -13821,19 +13904,19 @@ function Yy(t) {
13821
13904
  /*isVideo*/
13822
13905
  t[21] ? 1500 : 1 / 0
13823
13906
  ),
13824
- $$slots: { default: [Hy] },
13907
+ $$slots: { default: [Zy] },
13825
13908
  $$scope: { ctx: t }
13826
13909
  };
13827
13910
  /*isHovering*/
13828
13911
  t[20] !== void 0 && (g.isHovering = /*isHovering*/
13829
- t[20]), i = new Ty({ props: g }), oe.push(() => be(i, "isHovering", c));
13912
+ t[20]), i = new Cy({ props: g }), oe.push(() => be(i, "isHovering", c));
13830
13913
  let v = (
13831
13914
  /*showPlaylist*/
13832
13915
  t[42] && ha(t)
13833
13916
  );
13834
13917
  return {
13835
13918
  c() {
13836
- e = p("div"), me(i.$$.fragment), o = X(), v && v.c(), Bi(e, "class", s = wl(
13919
+ e = p("div"), me(i.$$.fragment), o = X(), v && v.c(), Wi(e, "class", s = wl(
13837
13920
  /*classes*/
13838
13921
  t[40]
13839
13922
  ) + " svelte-1typsi4"), $o(
@@ -13895,7 +13978,7 @@ function Yy(t) {
13895
13978
  512 && s !== (s = wl(
13896
13979
  /*classes*/
13897
13980
  _[40]
13898
- ) + " svelte-1typsi4")) && Bi(e, "class", s), (!a || m[1] & /*widthStyle*/
13981
+ ) + " svelte-1typsi4")) && Wi(e, "class", s), (!a || m[1] & /*widthStyle*/
13899
13982
  262144) && $o(
13900
13983
  e,
13901
13984
  "width",
@@ -13960,11 +14043,11 @@ function Yy(t) {
13960
14043
  }
13961
14044
  };
13962
14045
  }
13963
- function Zy(t, e, i) {
14046
+ function Ky(t, e, i) {
13964
14047
  let n, o, s, l, a, r, u, c, g, v, _, m, w, y, A, S, C, T, I, E, R, Z, F, U, ae, ce, se, $, Q, re, de, Y, K, te, b, P, j, L, Pe, Ve, Ue, G;
13965
14048
  import("./././././././././style.js");
13966
- let { playerStyle: Te = "standard" } = e, { callToAction: qe = void 0 } = e, { skipButtonStyle: Qe = "auto" } = e, { playlistStyle: rt = "auto-5-4" } = e, { playlistToggle: pt = "auto" } = e, { downloadFormats: ut = [] } = e, { playerTitle: Ye = void 0 } = e, { fixedPosition: Re = void 0 } = e, { fixedWidth: Ne = "auto" } = e, { content: gt = [] } = e, { contentIndex: ze = 0 } = e, { duration: st = 0 } = e, { currentTime: $e = 0 } = e, { playbackState: xe = "stopped" } = e, { playbackRate: jt = 1 } = e, { playbackRates: Je = [] } = e, { activeAdvert: Be = void 0 } = e, { persistentAdvert: We = void 0 } = e, { companionAdvert: Xe = void 0 } = e, { textColor: et = "#111" } = e, { backgroundColor: lt = "#f5f5f5" } = e, { iconColor: Fe = "black" } = e, { videoTextColor: Pt = "white" } = e, { videoBackgroundColor: ft = "black" } = e, { videoIconColor: mt = "white" } = e, { logoIconEnabled: He = !0 } = e, { logoImagePosition: Ze = void 0 } = e, { onEvent: tt = () => {
13967
- } } = e, { videoPosterImage: H = "" } = e, { videoIsBehind: Ee = !1 } = e, { isFullScreen: je = !1 } = e, { isVisible: ht = void 0 } = e, { relativeY: St = void 0 } = e, { absoluteY: Ge = void 0 } = e, Ke, Bt, at, wt;
14049
+ let { playerStyle: Te = "standard" } = e, { callToAction: qe = void 0 } = e, { skipButtonStyle: Qe = "auto" } = e, { playlistStyle: st = "auto-5-4" } = e, { playlistToggle: pt = "auto" } = e, { downloadFormats: ut = [] } = e, { playerTitle: Ye = void 0 } = e, { fixedPosition: Re = void 0 } = e, { fixedWidth: Ne = "auto" } = e, { content: gt = [] } = e, { contentIndex: ze = 0 } = e, { duration: lt = 0 } = e, { currentTime: $e = 0 } = e, { playbackState: xe = "stopped" } = e, { playbackRate: jt = 1 } = e, { playbackRates: Je = [] } = e, { activeAdvert: Be = void 0 } = e, { persistentAdvert: We = void 0 } = e, { companionAdvert: Xe = void 0 } = e, { textColor: et = "#111" } = e, { backgroundColor: at = "#f5f5f5" } = e, { iconColor: Fe = "black" } = e, { videoTextColor: Pt = "white" } = e, { videoBackgroundColor: ft = "black" } = e, { videoIconColor: mt = "white" } = e, { logoIconEnabled: He = !0 } = e, { logoImagePosition: Ze = void 0 } = e, { onEvent: tt = () => {
14050
+ } } = e, { videoPosterImage: H = "" } = e, { videoIsBehind: Ee = !1 } = e, { isFullScreen: je = !1 } = e, { isVisible: ht = void 0 } = e, { relativeY: St = void 0 } = e, { absoluteY: Ge = void 0 } = e, Ke, Bt, rt, wt;
13968
14051
  const ct = () => {
13969
14052
  wt && clearTimeout(wt), i(39, wt = setTimeout(() => i(39, wt = null), 500));
13970
14053
  }, zt = (k) => {
@@ -13990,7 +14073,7 @@ function Zy(t, e, i) {
13990
14073
  Ge = k, i(2, Ge);
13991
14074
  }
13992
14075
  function _t(k) {
13993
- at = k, i(20, at);
14076
+ rt = k, i(20, rt);
13994
14077
  }
13995
14078
  function he(k) {
13996
14079
  oe[k ? "unshift" : "push"](() => {
@@ -13998,7 +14081,7 @@ function Zy(t, e, i) {
13998
14081
  });
13999
14082
  }
14000
14083
  return t.$$set = (k) => {
14001
- "playerStyle" in k && i(3, Te = k.playerStyle), "callToAction" in k && i(4, qe = k.callToAction), "skipButtonStyle" in k && i(63, Qe = k.skipButtonStyle), "playlistStyle" in k && i(5, rt = k.playlistStyle), "playlistToggle" in k && i(64, pt = k.playlistToggle), "downloadFormats" in k && i(6, ut = k.downloadFormats), "playerTitle" in k && i(7, Ye = k.playerTitle), "fixedPosition" in k && i(8, Re = k.fixedPosition), "fixedWidth" in k && i(65, Ne = k.fixedWidth), "content" in k && i(9, gt = k.content), "contentIndex" in k && i(10, ze = k.contentIndex), "duration" in k && i(11, st = k.duration), "currentTime" in k && i(12, $e = k.currentTime), "playbackState" in k && i(66, xe = k.playbackState), "playbackRate" in k && i(13, jt = k.playbackRate), "playbackRates" in k && i(14, Je = k.playbackRates), "activeAdvert" in k && i(67, Be = k.activeAdvert), "persistentAdvert" in k && i(68, We = k.persistentAdvert), "companionAdvert" in k && i(69, Xe = k.companionAdvert), "textColor" in k && i(70, et = k.textColor), "backgroundColor" in k && i(71, lt = k.backgroundColor), "iconColor" in k && i(72, Fe = k.iconColor), "videoTextColor" in k && i(73, Pt = k.videoTextColor), "videoBackgroundColor" in k && i(74, ft = k.videoBackgroundColor), "videoIconColor" in k && i(75, mt = k.videoIconColor), "logoIconEnabled" in k && i(76, He = k.logoIconEnabled), "logoImagePosition" in k && i(15, Ze = k.logoImagePosition), "onEvent" in k && i(16, tt = k.onEvent), "videoPosterImage" in k && i(17, H = k.videoPosterImage), "videoIsBehind" in k && i(18, Ee = k.videoIsBehind), "isFullScreen" in k && i(77, je = k.isFullScreen), "isVisible" in k && i(0, ht = k.isVisible), "relativeY" in k && i(1, St = k.relativeY), "absoluteY" in k && i(2, Ge = k.absoluteY);
14084
+ "playerStyle" in k && i(3, Te = k.playerStyle), "callToAction" in k && i(4, qe = k.callToAction), "skipButtonStyle" in k && i(63, Qe = k.skipButtonStyle), "playlistStyle" in k && i(5, st = k.playlistStyle), "playlistToggle" in k && i(64, pt = k.playlistToggle), "downloadFormats" in k && i(6, ut = k.downloadFormats), "playerTitle" in k && i(7, Ye = k.playerTitle), "fixedPosition" in k && i(8, Re = k.fixedPosition), "fixedWidth" in k && i(65, Ne = k.fixedWidth), "content" in k && i(9, gt = k.content), "contentIndex" in k && i(10, ze = k.contentIndex), "duration" in k && i(11, lt = k.duration), "currentTime" in k && i(12, $e = k.currentTime), "playbackState" in k && i(66, xe = k.playbackState), "playbackRate" in k && i(13, jt = k.playbackRate), "playbackRates" in k && i(14, Je = k.playbackRates), "activeAdvert" in k && i(67, Be = k.activeAdvert), "persistentAdvert" in k && i(68, We = k.persistentAdvert), "companionAdvert" in k && i(69, Xe = k.companionAdvert), "textColor" in k && i(70, et = k.textColor), "backgroundColor" in k && i(71, at = k.backgroundColor), "iconColor" in k && i(72, Fe = k.iconColor), "videoTextColor" in k && i(73, Pt = k.videoTextColor), "videoBackgroundColor" in k && i(74, ft = k.videoBackgroundColor), "videoIconColor" in k && i(75, mt = k.videoIconColor), "logoIconEnabled" in k && i(76, He = k.logoIconEnabled), "logoImagePosition" in k && i(15, Ze = k.logoImagePosition), "onEvent" in k && i(16, tt = k.onEvent), "videoPosterImage" in k && i(17, H = k.videoPosterImage), "videoIsBehind" in k && i(18, Ee = k.videoIsBehind), "isFullScreen" in k && i(77, je = k.isFullScreen), "isVisible" in k && i(0, ht = k.isVisible), "relativeY" in k && i(1, St = k.relativeY), "absoluteY" in k && i(2, Ge = k.absoluteY);
14002
14085
  }, t.$$.update = () => {
14003
14086
  t.$$.dirty[0] & /*playerStyle*/
14004
14087
  8 && i(24, n = Te === "small"), t.$$.dirty[0] & /*playerStyle*/
@@ -14011,13 +14094,13 @@ function Zy(t, e, i) {
14011
14094
  536870912 | t.$$.dirty[2] & /*activeAdvert*/
14012
14095
  32 && i(27, c = Be && !u), t.$$.dirty[0] & /*content*/
14013
14096
  512 && i(78, g = gt.length > 1), t.$$.dirty[0] & /*playerStyle, width*/
14014
- 524296 && i(33, v = Wy({ playerStyle: Te, width: Bt })), t.$$.dirty[0] & /*content, contentIndex*/
14097
+ 524296 && i(33, v = My({ playerStyle: Te, width: Bt })), t.$$.dirty[0] & /*content, contentIndex*/
14015
14098
  1536 && i(32, _ = gt[ze] || {}), t.$$.dirty[0] & /*currentTime, duration*/
14016
- 6144 && i(58, m = $e / st), t.$$.dirty[0] & /*isAdvert*/
14099
+ 6144 && i(58, m = $e / lt), t.$$.dirty[0] & /*isAdvert*/
14017
14100
  134217728 | t.$$.dirty[2] & /*activeAdvert, textColor*/
14018
14101
  288 && i(37, w = c && Be.textColor || et), t.$$.dirty[0] & /*isAdvert*/
14019
14102
  134217728 | t.$$.dirty[2] & /*activeAdvert, backgroundColor*/
14020
- 544 && i(36, y = c && Be.backgroundColor || lt), t.$$.dirty[0] & /*isAdvert*/
14103
+ 544 && i(36, y = c && Be.backgroundColor || at), t.$$.dirty[0] & /*isAdvert*/
14021
14104
  134217728 | t.$$.dirty[2] & /*activeAdvert, iconColor*/
14022
14105
  1056 && i(35, A = c && Be.iconColor || Fe), t.$$.dirty[0] & /*isVideo, isAdvert*/
14023
14106
  136314880 | t.$$.dirty[1] & /*nonVideoTextColor*/
@@ -14048,7 +14131,7 @@ function Zy(t, e, i) {
14048
14131
  285212928 && i(48, $ = (k) => Re && !window.disableAnimation && X1(k, { y: n || o ? 40 : 100 })), t.$$.dirty[0] & /*playerStyle, isAdvert*/
14049
14132
  134217736 | t.$$.dirty[1] & /*isMobile*/
14050
14133
  4 | t.$$.dirty[2] & /*position*/
14051
- 524288 && i(22, Q = Oy({
14134
+ 524288 && i(22, Q = Ey({
14052
14135
  playerStyle: Te,
14053
14136
  position: ce,
14054
14137
  isMobile: v,
@@ -14066,11 +14149,11 @@ function Zy(t, e, i) {
14066
14149
  8 && i(30, te = n && Re && Ne === "auto"), t.$$.dirty[0] & /*isSmall*/
14067
14150
  16777216 | t.$$.dirty[2] & /*fixedWidth*/
14068
14151
  8 && i(25, b = n && (Ne === 0 || Ne === "0")), t.$$.dirty[0] & /*forcedCollapsed, collapsible, isAdvert, isStopped, isHovering*/
14069
- 1779433472 && i(45, P = b || te && !c && !u && !at), t.$$.dirty[0] & /*fixedPosition, isSmall, isStandard, isAdvert*/
14152
+ 1779433472 && i(45, P = b || te && !c && !u && !rt), t.$$.dirty[0] & /*fixedPosition, isSmall, isStandard, isAdvert*/
14070
14153
  419430656 && i(44, j = Re && !n && !(o && c)), t.$$.dirty[0] & /*isAdvert, isScreen, fixedPosition, isSmall, forcedCollapsed*/
14071
14154
  251658496 | t.$$.dirty[2] & /*logoIconEnabled*/
14072
14155
  16384 && i(43, L = He && (!c || l) && !(Re && n) && !b), t.$$.dirty[0] & /*playlistStyle*/
14073
- 32 && i(79, Pe = rt.split("-")), t.$$.dirty[0] & /*isSmall*/
14156
+ 32 && i(79, Pe = st.split("-")), t.$$.dirty[0] & /*isSmall*/
14074
14157
  16777216 | t.$$.dirty[2] & /*playlistParts, isPlaylist*/
14075
14158
  196608 && i(42, Ve = (Pe[0] === "show" || Pe[0] === "auto" && g) && !n), t.$$.dirty[0] & /*isSmall*/
14076
14159
  16777216 | t.$$.dirty[2] & /*playlistToggle, isPlaylist, isFullScreen*/
@@ -14084,13 +14167,13 @@ function Zy(t, e, i) {
14084
14167
  Ge,
14085
14168
  Te,
14086
14169
  qe,
14087
- rt,
14170
+ st,
14088
14171
  ut,
14089
14172
  Ye,
14090
14173
  Re,
14091
14174
  gt,
14092
14175
  ze,
14093
- st,
14176
+ lt,
14094
14177
  $e,
14095
14178
  jt,
14096
14179
  Je,
@@ -14099,7 +14182,7 @@ function Zy(t, e, i) {
14099
14182
  H,
14100
14183
  Ee,
14101
14184
  Bt,
14102
- at,
14185
+ rt,
14103
14186
  a,
14104
14187
  Q,
14105
14188
  se,
@@ -14150,7 +14233,7 @@ function Zy(t, e, i) {
14150
14233
  We,
14151
14234
  Xe,
14152
14235
  et,
14153
- lt,
14236
+ at,
14154
14237
  Fe,
14155
14238
  Pt,
14156
14239
  ft,
@@ -14173,8 +14256,8 @@ class hl extends we {
14173
14256
  super(), Se(
14174
14257
  this,
14175
14258
  e,
14176
- Zy,
14177
- Yy,
14259
+ Ky,
14260
+ Gy,
14178
14261
  pe,
14179
14262
  {
14180
14263
  playerStyle: 3,
@@ -14421,8 +14504,8 @@ class hl extends we {
14421
14504
  this.$$set({ absoluteY: e }), d();
14422
14505
  }
14423
14506
  }
14424
- const xs = (t, e, i) => Ce(t, e, e === "style" ? Ky(i) : i), Gy = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Ky = (t) => t.split(Gy).filter((e) => e).map((e) => e + " !important").join(";");
14425
- function Jy(t) {
14507
+ const xs = (t, e, i) => Ce(t, e, e === "style" ? Xy(i) : i), Jy = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Xy = (t) => t.split(Jy).filter((e) => e).map((e) => e + " !important").join(";");
14508
+ function Qy(t) {
14426
14509
  let e, i, n;
14427
14510
  const o = (
14428
14511
  /*#slots*/
@@ -14476,7 +14559,7 @@ function Jy(t) {
14476
14559
  }
14477
14560
  };
14478
14561
  }
14479
- function Xy(t, e, i) {
14562
+ function $y(t, e, i) {
14480
14563
  let n, { $$slots: o = {}, $$scope: s } = e, { root: l = void 0 } = e, { prepend: a = !1 } = e, r, u;
14481
14564
  vo(() => i(3, u = r.parentNode));
14482
14565
  const c = (_, m) => _.insertBefore(m, _.firstChild), g = (_, m) => _.appendChild(m);
@@ -14497,7 +14580,7 @@ function Xy(t, e, i) {
14497
14580
  }
14498
14581
  class Is extends we {
14499
14582
  constructor(e) {
14500
- super(), Se(this, e, Xy, Jy, pe, { root: 0, prepend: 2 });
14583
+ super(), Se(this, e, $y, Qy, pe, { root: 0, prepend: 2 });
14501
14584
  }
14502
14585
  get root() {
14503
14586
  return this.$$.ctx[0];
@@ -14512,7 +14595,7 @@ class Is extends we {
14512
14595
  this.$$set({ prepend: e }), d();
14513
14596
  }
14514
14597
  }
14515
- const W = (t, e, i) => Ce(t, e, e === "style" ? $y(i) : i), Qy = /;(?!([^()]*\([^()]*\))*[^()]*\))/, $y = (t) => t.split(Qy).filter((e) => e).map((e) => e + " !important").join(";");
14598
+ const W = (t, e, i) => Ce(t, e, e === "style" ? t2(i) : i), e2 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, t2 = (t) => t.split(e2).filter((e) => e).map((e) => e + " !important").join(";");
14516
14599
  function _a(t, e, i) {
14517
14600
  const n = t.slice();
14518
14601
  return n[88] = e[i], n[90] = i, n;
@@ -14525,7 +14608,7 @@ function va(t, e, i) {
14525
14608
  const n = t.slice();
14526
14609
  return n[88] = e[i], n[90] = i, n;
14527
14610
  }
14528
- function e2(t, e, i) {
14611
+ function i2(t, e, i) {
14529
14612
  const n = t.slice();
14530
14613
  return n[93] = e[i], n;
14531
14614
  }
@@ -14552,14 +14635,14 @@ function ka(t) {
14552
14635
  p(a, r) {
14553
14636
  r[1] & /*adverts*/
14554
14637
  4096 && o !== (o = /*item*/
14555
- a[88].placement + "") && wi(s, o);
14638
+ a[88].placement + "") && Ti(s, o);
14556
14639
  },
14557
14640
  d(a) {
14558
14641
  a && O(e);
14559
14642
  }
14560
14643
  };
14561
14644
  }
14562
- function t2(t) {
14645
+ function n2(t) {
14563
14646
  let e;
14564
14647
  return {
14565
14648
  c() {
@@ -14577,7 +14660,7 @@ function t2(t) {
14577
14660
  };
14578
14661
  }
14579
14662
  function pa(t) {
14580
- let e, i, n, o, s, l, a, r, u, c, g, v, _, m, w, y, A, S, C, T, I, E, R, Z, F, U, ae, ce, se, $, Q, re, de, Y, K, te, b, P, j, L, Pe, Ve, Ue, G, Te, qe, Qe, rt, pt, ut, Ye, Re, Ne, gt, ze, st, $e, xe, jt, Je, Be, We, Xe, et, lt, Fe, Pt, ft, mt, He, Ze, tt, H, Ee, je, ht, St, Ge, Ke, Bt, at, wt, ct, zt, Lt, Dt, Vt, _t, he, k, V, ue, Rt, qt, gi, Tt, Fi, si, nn, yt, Ti, li, Pi, Ct, Ht, bi, Ot, ai, Nt, vn, Yt, on, xt, ri = ti(
14663
+ let e, i, n, o, s, l, a, r, u, c, g, v, _, m, w, y, A, S, C, T, I, E, R, Z, F, U, ae, ce, se, $, Q, re, de, Y, K, te, b, P, j, L, Pe, Ve, Ue, G, Te, qe, Qe, st, pt, ut, Ye, Re, Ne, gt, ze, lt, $e, xe, jt, Je, Be, We, Xe, et, at, Fe, Pt, ft, mt, He, Ze, tt, H, Ee, je, ht, St, Ge, Ke, Bt, rt, wt, ct, zt, Lt, Dt, Vt, _t, he, k, V, ue, Rt, qt, gi, Tt, Hi, si, sn, yt, Pi, li, Ci, Ct, Ht, ki, Ot, ai, Nt, bn, Yt, ln, xt, ri = ti(
14581
14664
  /*content*/
14582
14665
  t[41]
14583
14666
  ), vt = [];
@@ -14606,28 +14689,28 @@ function pa(t) {
14606
14689
  `), $ = p("select"), Q = p("option"), Q.textContent = `${!1}`, re = p("option"), re.textContent = `${!0}`, de = X(), Y = p("div"), K = ne(`videoTextColor:
14607
14690
  `), te = p("input"), b = X(), P = p("div"), j = ne(`videoIconColor:
14608
14691
  `), L = p("input"), Pe = X(), Ve = p("div"), Ue = ne(`mediaSession:
14609
- `), G = p("select"), Te = p("option"), Te.textContent = "auto", qe = p("option"), qe.textContent = "override", Qe = p("option"), Qe.textContent = "none", rt = X(), pt = p("div"), ut = ne(`contentIndex:
14692
+ `), G = p("select"), Te = p("option"), Te.textContent = "auto", qe = p("option"), qe.textContent = "override", Qe = p("option"), Qe.textContent = "none", st = X(), pt = p("div"), ut = ne(`contentIndex:
14610
14693
  `), Ye = p("select");
14611
14694
  for (let D = 0; D < vt.length; D += 1)
14612
14695
  vt[D].c();
14613
14696
  Re = X(), Ne = p("div"), gt = ne(`introsOutrosIndex:
14614
- `), ze = p("select"), st = p("option"), st.textContent = "-1 (none)";
14697
+ `), ze = p("select"), lt = p("option"), lt.textContent = "-1 (none)";
14615
14698
  for (let D = 0; D < bt.length; D += 1)
14616
14699
  bt[D].c();
14617
14700
  $e = X(), xe = p("div"), jt = ne(`persistentAdImage:
14618
- `), Je = p("select"), Be = p("option"), Be.textContent = `${!1}`, We = p("option"), We.textContent = `${!0}`, Xe = X(), et = p("div"), lt = ne(`persistentIndex:
14701
+ `), Je = p("select"), Be = p("option"), Be.textContent = `${!1}`, We = p("option"), We.textContent = `${!0}`, Xe = X(), et = p("div"), at = ne(`persistentIndex:
14619
14702
  `), Fe = p("select"), Pt = p("option"), Pt.textContent = "-1 (none)";
14620
14703
  for (let D = 0; D < Mt.length; D += 1)
14621
14704
  Mt[D].c();
14622
14705
  ft = X(), mt = p("div"), He = ne(`duration:
14623
14706
  `), Ze = p("input"), tt = X(), H = p("div"), Ee = ne(`currentTime:
14624
14707
  `), je = p("input"), ht = X(), St = p("div"), Ge = ne(`playbackRate:
14625
- `), Ke = p("input"), Bt = X(), at = p("div"), wt = ne(`widgetTarget:
14708
+ `), Ke = p("input"), Bt = X(), rt = p("div"), wt = ne(`widgetTarget:
14626
14709
  `), ct = p("input"), zt = X(), Lt = p("div"), Dt = ne(`logoIconEnabled:
14627
14710
  `), Vt = p("select"), _t = p("option"), _t.textContent = `${!1}`, he = p("option"), he.textContent = `${!0}`, k = X(), V = p("div"), ue = ne(`advertConsent:
14628
- `), Rt = p("select"), qt = p("option"), qt.textContent = "personalized", gi = p("option"), gi.textContent = "non-personalized", Tt = p("option"), Tt.textContent = "under-the-age-of-consent", Fi = X(), si = p("div"), nn = ne(`analyticsConsent:
14629
- `), yt = p("select"), Ti = p("option"), Ti.textContent = "allowed", li = p("option"), li.textContent = "without-local-storage", Pi = p("option"), Pi.textContent = "none", Ct = X(), Ht = p("div"), bi = ne(`analyticsCustomUrl:
14630
- `), Ot = p("input"), ai = X(), Nt = p("div"), vn = ne(`analyticsTag:
14711
+ `), Rt = p("select"), qt = p("option"), qt.textContent = "personalized", gi = p("option"), gi.textContent = "non-personalized", Tt = p("option"), Tt.textContent = "under-the-age-of-consent", Hi = X(), si = p("div"), sn = ne(`analyticsConsent:
14712
+ `), yt = p("select"), Pi = p("option"), Pi.textContent = "allowed", li = p("option"), li.textContent = "without-local-storage", Ci = p("option"), Ci.textContent = "none", Ct = X(), Ht = p("div"), ki = ne(`analyticsCustomUrl:
14713
+ `), Ot = p("input"), ai = X(), Nt = p("div"), bn = ne(`analyticsTag:
14631
14714
  `), Yt = p("input"), W(n, "class", "svelte-g76q0j"), W(c, "tabindex", -1), W(c, "type", "text"), W(c, "class", "svelte-g76q0j"), W(r, "class", "control svelte-g76q0j"), W(m, "tabindex", -1), W(m, "type", "text"), W(m, "class", "svelte-g76q0j"), W(v, "class", "control svelte-g76q0j"), W(S, "tabindex", -1), W(S, "type", "text"), W(S, "class", "svelte-g76q0j"), W(y, "class", "control svelte-g76q0j"), W(E, "tabindex", -1), W(E, "type", "text"), W(E, "class", "svelte-g76q0j"), W(T, "class", "control svelte-g76q0j"), W(U, "tabindex", -1), W(U, "type", "text"), W(U, "class", "svelte-g76q0j"), W(Z, "class", "control svelte-g76q0j"), Q.__value = !1, x(Q, Q.__value), re.__value = !0, x(re, re.__value), W($, "tabindex", -1), W($, "class", "svelte-g76q0j"), /*showUserInterface*/
14632
14715
  t[5] === void 0 && nt(() => (
14633
14716
  /*select0_change_handler_1*/
@@ -14640,7 +14723,7 @@ function pa(t) {
14640
14723
  t[13] === void 0 && nt(() => (
14641
14724
  /*select2_change_handler_1*/
14642
14725
  t[73].call(Ye)
14643
- )), W(pt, "class", "control svelte-g76q0j"), st.__value = -1, x(st, st.__value), W(ze, "tabindex", -1), W(ze, "class", "svelte-g76q0j"), /*introsOutrosIndex*/
14726
+ )), W(pt, "class", "control svelte-g76q0j"), lt.__value = -1, x(lt, lt.__value), W(ze, "tabindex", -1), W(ze, "class", "svelte-g76q0j"), /*introsOutrosIndex*/
14644
14727
  t[14] === void 0 && nt(() => (
14645
14728
  /*select3_change_handler_1*/
14646
14729
  t[74].call(ze)
@@ -14652,7 +14735,7 @@ function pa(t) {
14652
14735
  t[17] === void 0 && nt(() => (
14653
14736
  /*select5_change_handler_1*/
14654
14737
  t[76].call(Fe)
14655
- )), W(et, "class", "control svelte-g76q0j"), W(Ze, "tabindex", -1), W(Ze, "type", "text"), W(Ze, "class", "svelte-g76q0j"), W(mt, "class", "control svelte-g76q0j"), W(je, "tabindex", -1), W(je, "type", "text"), W(je, "class", "svelte-g76q0j"), W(H, "class", "control svelte-g76q0j"), W(Ke, "tabindex", -1), W(Ke, "type", "text"), W(Ke, "class", "svelte-g76q0j"), W(St, "class", "control svelte-g76q0j"), W(ct, "tabindex", -1), W(ct, "type", "text"), W(ct, "class", "svelte-g76q0j"), W(at, "class", "control svelte-g76q0j"), _t.__value = !1, x(_t, _t.__value), he.__value = !0, x(he, he.__value), W(Vt, "tabindex", -1), W(Vt, "class", "svelte-g76q0j"), /*logoIconEnabled*/
14738
+ )), W(et, "class", "control svelte-g76q0j"), W(Ze, "tabindex", -1), W(Ze, "type", "text"), W(Ze, "class", "svelte-g76q0j"), W(mt, "class", "control svelte-g76q0j"), W(je, "tabindex", -1), W(je, "type", "text"), W(je, "class", "svelte-g76q0j"), W(H, "class", "control svelte-g76q0j"), W(Ke, "tabindex", -1), W(Ke, "type", "text"), W(Ke, "class", "svelte-g76q0j"), W(St, "class", "control svelte-g76q0j"), W(ct, "tabindex", -1), W(ct, "type", "text"), W(ct, "class", "svelte-g76q0j"), W(rt, "class", "control svelte-g76q0j"), _t.__value = !1, x(_t, _t.__value), he.__value = !0, x(he, he.__value), W(Vt, "tabindex", -1), W(Vt, "class", "svelte-g76q0j"), /*logoIconEnabled*/
14656
14739
  t[32] === void 0 && nt(() => (
14657
14740
  /*select6_change_handler_1*/
14658
14741
  t[81].call(Vt)
@@ -14660,7 +14743,7 @@ function pa(t) {
14660
14743
  t[37] === void 0 && nt(() => (
14661
14744
  /*select7_change_handler_1*/
14662
14745
  t[82].call(Rt)
14663
- )), W(V, "class", "control svelte-g76q0j"), Ti.__value = "allowed", x(Ti, Ti.__value), li.__value = "without-local-storage", x(li, li.__value), Pi.__value = "none", x(Pi, Pi.__value), W(yt, "tabindex", -1), W(yt, "class", "svelte-g76q0j"), /*analyticsConsent*/
14746
+ )), W(V, "class", "control svelte-g76q0j"), Pi.__value = "allowed", x(Pi, Pi.__value), li.__value = "without-local-storage", x(li, li.__value), Ci.__value = "none", x(Ci, Ci.__value), W(yt, "tabindex", -1), W(yt, "class", "svelte-g76q0j"), /*analyticsConsent*/
14664
14747
  t[38] === void 0 && nt(() => (
14665
14748
  /*select8_change_handler_1*/
14666
14749
  t[83].call(yt)
@@ -14705,7 +14788,7 @@ function pa(t) {
14705
14788
  /*mediaSession*/
14706
14789
  t[12],
14707
14790
  !0
14708
- ), M(D, rt, J), M(D, pt, J), f(pt, ut), f(pt, Ye);
14791
+ ), M(D, st, J), M(D, pt, J), f(pt, ut), f(pt, Ye);
14709
14792
  for (let le = 0; le < vt.length; le += 1)
14710
14793
  vt[le] && vt[le].m(Ye, null);
14711
14794
  Ie(
@@ -14713,7 +14796,7 @@ function pa(t) {
14713
14796
  /*contentIndex*/
14714
14797
  t[13],
14715
14798
  !0
14716
- ), M(D, Re, J), M(D, Ne, J), f(Ne, gt), f(Ne, ze), f(ze, st);
14799
+ ), M(D, Re, J), M(D, Ne, J), f(Ne, gt), f(Ne, ze), f(ze, lt);
14717
14800
  for (let le = 0; le < bt.length; le += 1)
14718
14801
  bt[le] && bt[le].m(ze, null);
14719
14802
  Ie(
@@ -14726,7 +14809,7 @@ function pa(t) {
14726
14809
  /*persistentAdImage*/
14727
14810
  t[16],
14728
14811
  !0
14729
- ), M(D, Xe, J), M(D, et, J), f(et, lt), f(et, Fe), f(Fe, Pt);
14812
+ ), M(D, Xe, J), M(D, et, J), f(et, at), f(et, Fe), f(Fe, Pt);
14730
14813
  for (let le = 0; le < Mt.length; le += 1)
14731
14814
  Mt[le] && Mt[le].m(Fe, null);
14732
14815
  Ie(
@@ -14746,7 +14829,7 @@ function pa(t) {
14746
14829
  Ke,
14747
14830
  /*playbackRate*/
14748
14831
  t[21]
14749
- ), M(D, Bt, J), M(D, at, J), f(at, wt), f(at, ct), x(
14832
+ ), M(D, Bt, J), M(D, rt, J), f(rt, wt), f(rt, ct), x(
14750
14833
  ct,
14751
14834
  /*widgetTarget*/
14752
14835
  t[25]
@@ -14760,20 +14843,20 @@ function pa(t) {
14760
14843
  /*advertConsent*/
14761
14844
  t[37],
14762
14845
  !0
14763
- ), M(D, Fi, J), M(D, si, J), f(si, nn), f(si, yt), f(yt, Ti), f(yt, li), f(yt, Pi), Ie(
14846
+ ), M(D, Hi, J), M(D, si, J), f(si, sn), f(si, yt), f(yt, Pi), f(yt, li), f(yt, Ci), Ie(
14764
14847
  yt,
14765
14848
  /*analyticsConsent*/
14766
14849
  t[38],
14767
14850
  !0
14768
- ), M(D, Ct, J), M(D, Ht, J), f(Ht, bi), f(Ht, Ot), x(
14851
+ ), M(D, Ct, J), M(D, Ht, J), f(Ht, ki), f(Ht, Ot), x(
14769
14852
  Ot,
14770
14853
  /*analyticsCustomUrl*/
14771
14854
  t[39]
14772
- ), M(D, ai, J), M(D, Nt, J), f(Nt, vn), f(Nt, Yt), x(
14855
+ ), M(D, ai, J), M(D, Nt, J), f(Nt, bn), f(Nt, Yt), x(
14773
14856
  Yt,
14774
14857
  /*analyticsTag*/
14775
14858
  t[40]
14776
- ), on || (xt = [
14859
+ ), ln || (xt = [
14777
14860
  q(
14778
14861
  c,
14779
14862
  "input",
@@ -14906,7 +14989,7 @@ function pa(t) {
14906
14989
  /*input12_input_handler*/
14907
14990
  t[85]
14908
14991
  )
14909
- ], on = !0);
14992
+ ], ln = !0);
14910
14993
  },
14911
14994
  p(D, J) {
14912
14995
  if (J[0] & /*projectId*/
@@ -15080,7 +15163,7 @@ function pa(t) {
15080
15163
  );
15081
15164
  },
15082
15165
  d(D) {
15083
- D && (O(e), O(i), O(n), O(o), O(s), O(l), O(a), O(r), O(g), O(v), O(w), O(y), O(C), O(T), O(R), O(Z), O(ae), O(ce), O(de), O(Y), O(b), O(P), O(Pe), O(Ve), O(rt), O(pt), O(Re), O(Ne), O($e), O(xe), O(Xe), O(et), O(ft), O(mt), O(tt), O(H), O(ht), O(St), O(Bt), O(at), O(zt), O(Lt), O(k), O(V), O(Fi), O(si), O(Ct), O(Ht), O(ai), O(Nt)), yn(vt, D), yn(bt, D), yn(Mt, D), on = !1, ot(xt);
15166
+ D && (O(e), O(i), O(n), O(o), O(s), O(l), O(a), O(r), O(g), O(v), O(w), O(y), O(C), O(T), O(R), O(Z), O(ae), O(ce), O(de), O(Y), O(b), O(P), O(Pe), O(Ve), O(st), O(pt), O(Re), O(Ne), O($e), O(xe), O(Xe), O(et), O(ft), O(mt), O(tt), O(H), O(ht), O(St), O(Bt), O(rt), O(zt), O(Lt), O(k), O(V), O(Hi), O(si), O(Ct), O(Ht), O(ai), O(Nt)), vn(vt, D), vn(bt, D), vn(Mt, D), ln = !1, ot(xt);
15084
15167
  }
15085
15168
  };
15086
15169
  }
@@ -15103,7 +15186,7 @@ function Sa(t) {
15103
15186
  p(a, r) {
15104
15187
  r[1] & /*content*/
15105
15188
  1024 && o !== (o = /*item*/
15106
- a[88].title + "") && wi(s, o);
15189
+ a[88].title + "") && Ti(s, o);
15107
15190
  },
15108
15191
  d(a) {
15109
15192
  a && O(e);
@@ -15129,7 +15212,7 @@ function wa(t) {
15129
15212
  p(l, a) {
15130
15213
  a[1] & /*introsOutros*/
15131
15214
  2048 && o !== (o = /*item*/
15132
- l[88].placement + "") && wi(s, o);
15215
+ l[88].placement + "") && Ti(s, o);
15133
15216
  },
15134
15217
  d(l) {
15135
15218
  l && O(e);
@@ -15155,14 +15238,14 @@ function Ta(t) {
15155
15238
  p(l, a) {
15156
15239
  a[1] & /*adverts*/
15157
15240
  4096 && o !== (o = /*item*/
15158
- l[88].placement + "") && wi(s, o);
15241
+ l[88].placement + "") && Ti(s, o);
15159
15242
  },
15160
15243
  d(l) {
15161
15244
  l && O(e);
15162
15245
  }
15163
15246
  };
15164
15247
  }
15165
- function i2(t) {
15248
+ function o2(t) {
15166
15249
  let e, i, n;
15167
15250
  return {
15168
15251
  c() {
@@ -15182,7 +15265,7 @@ function i2(t) {
15182
15265
  }
15183
15266
  };
15184
15267
  }
15185
- function n2(t) {
15268
+ function s2(t) {
15186
15269
  let e, i, n;
15187
15270
  return {
15188
15271
  c() {
@@ -15202,16 +15285,16 @@ function n2(t) {
15202
15285
  }
15203
15286
  };
15204
15287
  }
15205
- function o2(t) {
15206
- let e, i, n, o, s, l, a, r, u, c, g, v, _, m, w, y, A, S, C, T, I, E, R, Z, F, U, ae, ce, se, $, Q, re, de, Y, K, te, b, P, j, L, Pe, Ve, Ue, G, Te, qe, Qe, rt, pt, ut, Ye, Re, Ne, gt, ze, st, $e, xe, jt, Je, Be, We, Xe, et, lt, Fe, Pt, ft, mt, He, Ze, tt, H, Ee, je, ht, St, Ge, Ke, Bt, at, wt, ct, zt, Lt, Dt, Vt, _t, he, k, V, ue, Rt, qt, gi, Tt, Fi, si, nn, yt, Ti, li, Pi, Ct, Ht, bi, Ot, ai, Nt, vn, Yt, on, xt, ri, vt, ui, bt, ci, Mt, D, J, le, Zt, sn, ln, an, rn, ko, bn, po, Vi, So, Gn, wo, To, Kn, Po, un = ti(
15288
+ function l2(t) {
15289
+ let e, i, n, o, s, l, a, r, u, c, g, v, _, m, w, y, A, S, C, T, I, E, R, Z, F, U, ae, ce, se, $, Q, re, de, Y, K, te, b, P, j, L, Pe, Ve, Ue, G, Te, qe, Qe, st, pt, ut, Ye, Re, Ne, gt, ze, lt, $e, xe, jt, Je, Be, We, Xe, et, at, Fe, Pt, ft, mt, He, Ze, tt, H, Ee, je, ht, St, Ge, Ke, Bt, rt, wt, ct, zt, Lt, Dt, Vt, _t, he, k, V, ue, Rt, qt, gi, Tt, Hi, si, sn, yt, Pi, li, Ci, Ct, Ht, ki, Ot, ai, Nt, bn, Yt, ln, xt, ri, vt, ui, bt, ci, Mt, D, J, le, Zt, an, rn, un, cn, ko, kn, po, Oi, So, Gn, wo, To, Kn, Po, dn = ti(
15207
15290
  /*adverts*/
15208
15291
  t[43]
15209
15292
  ), Gt = [];
15210
- for (let _e = 0; _e < un.length; _e += 1)
15211
- Gt[_e] = ka(ba(t, un, _e));
15212
- let Bs = ti([1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]), kn = [];
15293
+ for (let _e = 0; _e < dn.length; _e += 1)
15294
+ Gt[_e] = ka(ba(t, dn, _e));
15295
+ let Bs = ti([1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]), pn = [];
15213
15296
  for (let _e = 0; _e < 12; _e += 1)
15214
- kn[_e] = t2(e2(t, Bs, _e));
15297
+ pn[_e] = n2(i2(t, Bs, _e));
15215
15298
  let ii = (
15216
15299
  /*showAdvancedSettings*/
15217
15300
  t[44] && pa(t)
@@ -15219,10 +15302,10 @@ function o2(t) {
15219
15302
  function Co(_e, it) {
15220
15303
  return (
15221
15304
  /*showAdvancedSettings*/
15222
- _e[44] ? n2 : i2
15305
+ _e[44] ? s2 : o2
15223
15306
  );
15224
15307
  }
15225
- let Vn = Co(t), Ci = Vn(t);
15308
+ let Vn = Co(t), Ai = Vn(t);
15226
15309
  return {
15227
15310
  c() {
15228
15311
  e = p("div"), i = p("div"), i.innerHTML = '<strong class="svelte-g76q0j">Player settings:</strong> <a tabindex="-1" target="_blank" class="docs svelte-g76q0j" href="https://github.com/beyondwords-io/player/blob/main/doc/player-settings.md">view docs</a>', n = X(), o = p("br"), s = X(), l = p("div"), a = ne(`playerStyle:
@@ -15231,26 +15314,26 @@ function o2(t) {
15231
15314
  `), R = p("input"), Z = X(), F = p("div"), U = ne(`callToAction:
15232
15315
  `), ae = p("input"), ce = X(), se = p("div"), $ = ne(`skipButtonStyle:
15233
15316
  `), Q = p("select"), re = p("option"), re.textContent = "auto", de = p("option"), de.textContent = "segments", Y = p("option"), Y.textContent = "seconds", K = p("option"), K.textContent = "seconds-15", te = p("option"), te.textContent = "seconds-15-30", b = p("option"), b.textContent = "tracks", P = X(), j = p("div"), L = ne(`playlistStyle:
15234
- `), Pe = p("select"), Ve = p("option"), Ve.textContent = "auto", Ue = p("option"), Ue.textContent = "show", G = p("option"), G.textContent = "show-3", Te = p("option"), Te.textContent = "show-999", qe = p("option"), qe.textContent = "hide", Qe = X(), rt = p("div"), pt = ne(`playlistToggle:
15235
- `), ut = p("select"), Ye = p("option"), Ye.textContent = "auto", Re = p("option"), Re.textContent = "show", Ne = p("option"), Ne.textContent = "hide", gt = X(), ze = p("div"), st = ne(`advertIndex:
15317
+ `), Pe = p("select"), Ve = p("option"), Ve.textContent = "auto", Ue = p("option"), Ue.textContent = "show", G = p("option"), G.textContent = "show-3", Te = p("option"), Te.textContent = "show-999", qe = p("option"), qe.textContent = "hide", Qe = X(), st = p("div"), pt = ne(`playlistToggle:
15318
+ `), ut = p("select"), Ye = p("option"), Ye.textContent = "auto", Re = p("option"), Re.textContent = "show", Ne = p("option"), Ne.textContent = "hide", gt = X(), ze = p("div"), lt = ne(`advertIndex:
15236
15319
  `), $e = p("select"), xe = p("option"), xe.textContent = "-1 (none)";
15237
15320
  for (let _e = 0; _e < Gt.length; _e += 1)
15238
15321
  Gt[_e].c();
15239
15322
  jt = X(), Je = p("div"), Be = ne(`widgetStyle:
15240
- `), We = p("select"), Xe = p("option"), Xe.textContent = "small", et = p("option"), et.textContent = "standard", lt = p("option"), lt.textContent = "large", Fe = p("option"), Fe.textContent = "video", Pt = X(), ft = p("div"), mt = ne(`widgetPosition:
15323
+ `), We = p("select"), Xe = p("option"), Xe.textContent = "small", et = p("option"), et.textContent = "standard", at = p("option"), at.textContent = "large", Fe = p("option"), Fe.textContent = "video", Pt = X(), ft = p("div"), mt = ne(`widgetPosition:
15241
15324
  `), He = p("select"), Ze = p("option"), Ze.textContent = "auto", tt = p("option"), tt.textContent = "left", H = p("option"), H.textContent = "center", Ee = p("option"), Ee.textContent = "right", je = X(), ht = p("div"), St = ne(`widgetWidth:
15242
- `), Ge = p("select"), Ke = p("option"), Ke.textContent = "auto", Bt = p("option"), Bt.textContent = "400px", at = p("option"), at.textContent = "30rem", wt = p("option"), wt.textContent = "fit-content", ct = p("option"), ct.textContent = "initial", zt = p("option"), zt.textContent = "0", Lt = X(), Dt = p("div"), Vt = ne(`textColor:
15325
+ `), Ge = p("select"), Ke = p("option"), Ke.textContent = "auto", Bt = p("option"), Bt.textContent = "400px", rt = p("option"), rt.textContent = "30rem", wt = p("option"), wt.textContent = "fit-content", ct = p("option"), ct.textContent = "initial", zt = p("option"), zt.textContent = "0", Lt = X(), Dt = p("div"), Vt = ne(`textColor:
15243
15326
  `), _t = p("input"), he = X(), k = p("div"), V = ne(`backgroundColor:
15244
15327
  `), ue = p("input"), Rt = X(), qt = p("div"), gi = ne(`iconColor:
15245
- `), Tt = p("input"), Fi = X(), si = p("div"), nn = ne(`highlightColor:
15246
- `), yt = p("input"), Ti = X(), li = p("div"), Pi = ne(`highlightSections:
15247
- `), Ct = p("select"), Ht = p("option"), Ht.textContent = "all", bi = p("option"), bi.textContent = "body", Ot = p("option"), Ot.textContent = "none", ai = p("option"), ai.textContent = "all-none", Nt = p("option"), Nt.textContent = "none-all", vn = X(), Yt = p("div"), on = ne(`clickableSections:
15328
+ `), Tt = p("input"), Hi = X(), si = p("div"), sn = ne(`highlightColor:
15329
+ `), yt = p("input"), Pi = X(), li = p("div"), Ci = ne(`highlightSections:
15330
+ `), Ct = p("select"), Ht = p("option"), Ht.textContent = "all", ki = p("option"), ki.textContent = "body", Ot = p("option"), Ot.textContent = "none", ai = p("option"), ai.textContent = "all-none", Nt = p("option"), Nt.textContent = "none-all", bn = X(), Yt = p("div"), ln = ne(`clickableSections:
15248
15331
  `), xt = p("select"), ri = p("option"), ri.textContent = "all", vt = p("option"), vt.textContent = "body", ui = p("option"), ui.textContent = "none", bt = p("option"), bt.textContent = "all-none", ci = p("option"), ci.textContent = "none-all", Mt = X(), D = p("div"), J = ne(`segmentWidgetSections:
15249
- `), le = p("select"), Zt = p("option"), Zt.textContent = "all", sn = p("option"), sn.textContent = "body", ln = p("option"), ln.textContent = "none", an = p("option"), an.textContent = "all-none", rn = p("option"), rn.textContent = "none-all", ko = X(), bn = p("div"), po = ne(`segmentWidgetPosition:
15250
- `), Vi = p("select");
15332
+ `), le = p("select"), Zt = p("option"), Zt.textContent = "all", an = p("option"), an.textContent = "body", rn = p("option"), rn.textContent = "none", un = p("option"), un.textContent = "all-none", cn = p("option"), cn.textContent = "none-all", ko = X(), kn = p("div"), po = ne(`segmentWidgetPosition:
15333
+ `), Oi = p("select");
15251
15334
  for (let _e = 0; _e < 12; _e += 1)
15252
- kn[_e].c();
15253
- So = X(), ii && ii.c(), Gn = X(), wo = p("br"), To = X(), Ci.c(), W(i, "class", "heading svelte-g76q0j"), u.__value = "small", x(u, u.__value), c.__value = "standard", x(c, c.__value), g.__value = "large", x(g, g.__value), v.__value = "video", x(v, v.__value), W(r, "tabindex", -1), W(r, "class", "svelte-g76q0j"), /*playerStyle*/
15335
+ pn[_e].c();
15336
+ So = X(), ii && ii.c(), Gn = X(), wo = p("br"), To = X(), Ai.c(), W(i, "class", "heading svelte-g76q0j"), u.__value = "small", x(u, u.__value), c.__value = "standard", x(c, c.__value), g.__value = "large", x(g, g.__value), v.__value = "video", x(v, v.__value), W(r, "tabindex", -1), W(r, "class", "svelte-g76q0j"), /*playerStyle*/
15254
15337
  t[6] === void 0 && nt(() => (
15255
15338
  /*select0_change_handler*/
15256
15339
  t[45].call(r)
@@ -15270,11 +15353,11 @@ function o2(t) {
15270
15353
  t[11] === void 0 && nt(() => (
15271
15354
  /*select4_change_handler*/
15272
15355
  t[51].call(ut)
15273
- )), W(rt, "class", "control svelte-g76q0j"), xe.__value = -1, x(xe, xe.__value), W($e, "tabindex", -1), W($e, "class", "svelte-g76q0j"), /*advertIndex*/
15356
+ )), W(st, "class", "control svelte-g76q0j"), xe.__value = -1, x(xe, xe.__value), W($e, "tabindex", -1), W($e, "class", "svelte-g76q0j"), /*advertIndex*/
15274
15357
  t[15] === void 0 && nt(() => (
15275
15358
  /*select5_change_handler*/
15276
15359
  t[52].call($e)
15277
- )), W(ze, "class", "control svelte-g76q0j"), Xe.__value = "small", x(Xe, Xe.__value), et.__value = "standard", x(et, et.__value), lt.__value = "large", x(lt, lt.__value), Fe.__value = "video", x(Fe, Fe.__value), W(We, "tabindex", -1), W(We, "class", "svelte-g76q0j"), /*widgetStyle*/
15360
+ )), W(ze, "class", "control svelte-g76q0j"), Xe.__value = "small", x(Xe, Xe.__value), et.__value = "standard", x(et, et.__value), at.__value = "large", x(at, at.__value), Fe.__value = "video", x(Fe, Fe.__value), W(We, "tabindex", -1), W(We, "class", "svelte-g76q0j"), /*widgetStyle*/
15278
15361
  t[22] === void 0 && nt(() => (
15279
15362
  /*select6_change_handler*/
15280
15363
  t[53].call(We)
@@ -15282,11 +15365,11 @@ function o2(t) {
15282
15365
  t[23] === void 0 && nt(() => (
15283
15366
  /*select7_change_handler*/
15284
15367
  t[54].call(He)
15285
- )), W(ft, "class", "control svelte-g76q0j"), Ke.__value = "auto", x(Ke, Ke.__value), Bt.__value = "400px", x(Bt, Bt.__value), at.__value = "30rem", x(at, at.__value), wt.__value = "fit-content", x(wt, wt.__value), ct.__value = "initial", x(ct, ct.__value), zt.__value = "0", x(zt, zt.__value), W(Ge, "tabindex", -1), W(Ge, "class", "svelte-g76q0j"), /*widgetWidth*/
15368
+ )), W(ft, "class", "control svelte-g76q0j"), Ke.__value = "auto", x(Ke, Ke.__value), Bt.__value = "400px", x(Bt, Bt.__value), rt.__value = "30rem", x(rt, rt.__value), wt.__value = "fit-content", x(wt, wt.__value), ct.__value = "initial", x(ct, ct.__value), zt.__value = "0", x(zt, zt.__value), W(Ge, "tabindex", -1), W(Ge, "class", "svelte-g76q0j"), /*widgetWidth*/
15286
15369
  t[24] === void 0 && nt(() => (
15287
15370
  /*select8_change_handler*/
15288
15371
  t[55].call(Ge)
15289
- )), W(ht, "class", "control svelte-g76q0j"), W(_t, "tabindex", -1), W(_t, "type", "text"), W(_t, "class", "svelte-g76q0j"), W(Dt, "class", "control svelte-g76q0j"), W(ue, "tabindex", -1), W(ue, "type", "text"), W(ue, "class", "svelte-g76q0j"), W(k, "class", "control svelte-g76q0j"), W(Tt, "tabindex", -1), W(Tt, "type", "text"), W(Tt, "class", "svelte-g76q0j"), W(qt, "class", "control svelte-g76q0j"), W(yt, "tabindex", -1), W(yt, "type", "text"), W(yt, "class", "svelte-g76q0j"), W(si, "class", "control svelte-g76q0j"), Ht.__value = "all", x(Ht, Ht.__value), bi.__value = "body", x(bi, bi.__value), Ot.__value = "none", x(Ot, Ot.__value), ai.__value = "all-none", x(ai, ai.__value), Nt.__value = "none-all", x(Nt, Nt.__value), W(Ct, "tabindex", -1), W(Ct, "class", "svelte-g76q0j"), /*highlightSections*/
15372
+ )), W(ht, "class", "control svelte-g76q0j"), W(_t, "tabindex", -1), W(_t, "type", "text"), W(_t, "class", "svelte-g76q0j"), W(Dt, "class", "control svelte-g76q0j"), W(ue, "tabindex", -1), W(ue, "type", "text"), W(ue, "class", "svelte-g76q0j"), W(k, "class", "control svelte-g76q0j"), W(Tt, "tabindex", -1), W(Tt, "type", "text"), W(Tt, "class", "svelte-g76q0j"), W(qt, "class", "control svelte-g76q0j"), W(yt, "tabindex", -1), W(yt, "type", "text"), W(yt, "class", "svelte-g76q0j"), W(si, "class", "control svelte-g76q0j"), Ht.__value = "all", x(Ht, Ht.__value), ki.__value = "body", x(ki, ki.__value), Ot.__value = "none", x(Ot, Ot.__value), ai.__value = "all-none", x(ai, ai.__value), Nt.__value = "none-all", x(Nt, Nt.__value), W(Ct, "tabindex", -1), W(Ct, "class", "svelte-g76q0j"), /*highlightSections*/
15290
15373
  t[33] === void 0 && nt(() => (
15291
15374
  /*select9_change_handler*/
15292
15375
  t[60].call(Ct)
@@ -15294,15 +15377,15 @@ function o2(t) {
15294
15377
  t[34] === void 0 && nt(() => (
15295
15378
  /*select10_change_handler*/
15296
15379
  t[61].call(xt)
15297
- )), W(Yt, "class", "control svelte-g76q0j"), Zt.__value = "all", x(Zt, Zt.__value), sn.__value = "body", x(sn, sn.__value), ln.__value = "none", x(ln, ln.__value), an.__value = "all-none", x(an, an.__value), rn.__value = "none-all", x(rn, rn.__value), W(le, "tabindex", -1), W(le, "class", "svelte-g76q0j"), /*segmentWidgetSections*/
15380
+ )), W(Yt, "class", "control svelte-g76q0j"), Zt.__value = "all", x(Zt, Zt.__value), an.__value = "body", x(an, an.__value), rn.__value = "none", x(rn, rn.__value), un.__value = "all-none", x(un, un.__value), cn.__value = "none-all", x(cn, cn.__value), W(le, "tabindex", -1), W(le, "class", "svelte-g76q0j"), /*segmentWidgetSections*/
15298
15381
  t[35] === void 0 && nt(() => (
15299
15382
  /*select11_change_handler*/
15300
15383
  t[62].call(le)
15301
- )), W(D, "class", "control svelte-g76q0j"), W(Vi, "tabindex", -1), W(Vi, "class", "svelte-g76q0j"), /*segmentWidgetPosition*/
15384
+ )), W(D, "class", "control svelte-g76q0j"), W(Oi, "tabindex", -1), W(Oi, "class", "svelte-g76q0j"), /*segmentWidgetPosition*/
15302
15385
  t[36] === void 0 && nt(() => (
15303
15386
  /*select12_change_handler*/
15304
- t[63].call(Vi)
15305
- )), W(bn, "class", "control svelte-g76q0j"), W(e, "class", "control-panel");
15387
+ t[63].call(Oi)
15388
+ )), W(kn, "class", "control svelte-g76q0j"), W(e, "class", "control-panel");
15306
15389
  },
15307
15390
  m(_e, it) {
15308
15391
  M(_e, e, it), f(e, i), f(e, n), f(e, o), f(e, s), f(e, l), f(l, a), f(l, r), f(r, u), f(r, c), f(r, g), f(r, v), Ie(
@@ -15333,12 +15416,12 @@ function o2(t) {
15333
15416
  /*playlistStyle*/
15334
15417
  t[10],
15335
15418
  !0
15336
- ), f(e, Qe), f(e, rt), f(rt, pt), f(rt, ut), f(ut, Ye), f(ut, Re), f(ut, Ne), Ie(
15419
+ ), f(e, Qe), f(e, st), f(st, pt), f(st, ut), f(ut, Ye), f(ut, Re), f(ut, Ne), Ie(
15337
15420
  ut,
15338
15421
  /*playlistToggle*/
15339
15422
  t[11],
15340
15423
  !0
15341
- ), f(e, gt), f(e, ze), f(ze, st), f(ze, $e), f($e, xe);
15424
+ ), f(e, gt), f(e, ze), f(ze, lt), f(ze, $e), f($e, xe);
15342
15425
  for (let kt = 0; kt < Gt.length; kt += 1)
15343
15426
  Gt[kt] && Gt[kt].m($e, null);
15344
15427
  Ie(
@@ -15346,7 +15429,7 @@ function o2(t) {
15346
15429
  /*advertIndex*/
15347
15430
  t[15],
15348
15431
  !0
15349
- ), f(e, jt), f(e, Je), f(Je, Be), f(Je, We), f(We, Xe), f(We, et), f(We, lt), f(We, Fe), Ie(
15432
+ ), f(e, jt), f(e, Je), f(Je, Be), f(Je, We), f(We, Xe), f(We, et), f(We, at), f(We, Fe), Ie(
15350
15433
  We,
15351
15434
  /*widgetStyle*/
15352
15435
  t[22],
@@ -15356,7 +15439,7 @@ function o2(t) {
15356
15439
  /*widgetPosition*/
15357
15440
  t[23],
15358
15441
  !0
15359
- ), f(e, je), f(e, ht), f(ht, St), f(ht, Ge), f(Ge, Ke), f(Ge, Bt), f(Ge, at), f(Ge, wt), f(Ge, ct), f(Ge, zt), Ie(
15442
+ ), f(e, je), f(e, ht), f(ht, St), f(ht, Ge), f(Ge, Ke), f(Ge, Bt), f(Ge, rt), f(Ge, wt), f(Ge, ct), f(Ge, zt), Ie(
15360
15443
  Ge,
15361
15444
  /*widgetWidth*/
15362
15445
  t[24],
@@ -15373,34 +15456,34 @@ function o2(t) {
15373
15456
  Tt,
15374
15457
  /*iconColor*/
15375
15458
  t[28]
15376
- ), f(e, Fi), f(e, si), f(si, nn), f(si, yt), x(
15459
+ ), f(e, Hi), f(e, si), f(si, sn), f(si, yt), x(
15377
15460
  yt,
15378
15461
  /*highlightColor*/
15379
15462
  t[29]
15380
- ), f(e, Ti), f(e, li), f(li, Pi), f(li, Ct), f(Ct, Ht), f(Ct, bi), f(Ct, Ot), f(Ct, ai), f(Ct, Nt), Ie(
15463
+ ), f(e, Pi), f(e, li), f(li, Ci), f(li, Ct), f(Ct, Ht), f(Ct, ki), f(Ct, Ot), f(Ct, ai), f(Ct, Nt), Ie(
15381
15464
  Ct,
15382
15465
  /*highlightSections*/
15383
15466
  t[33],
15384
15467
  !0
15385
- ), f(e, vn), f(e, Yt), f(Yt, on), f(Yt, xt), f(xt, ri), f(xt, vt), f(xt, ui), f(xt, bt), f(xt, ci), Ie(
15468
+ ), f(e, bn), f(e, Yt), f(Yt, ln), f(Yt, xt), f(xt, ri), f(xt, vt), f(xt, ui), f(xt, bt), f(xt, ci), Ie(
15386
15469
  xt,
15387
15470
  /*clickableSections*/
15388
15471
  t[34],
15389
15472
  !0
15390
- ), f(e, Mt), f(e, D), f(D, J), f(D, le), f(le, Zt), f(le, sn), f(le, ln), f(le, an), f(le, rn), Ie(
15473
+ ), f(e, Mt), f(e, D), f(D, J), f(D, le), f(le, Zt), f(le, an), f(le, rn), f(le, un), f(le, cn), Ie(
15391
15474
  le,
15392
15475
  /*segmentWidgetSections*/
15393
15476
  t[35],
15394
15477
  !0
15395
- ), f(e, ko), f(e, bn), f(bn, po), f(bn, Vi);
15478
+ ), f(e, ko), f(e, kn), f(kn, po), f(kn, Oi);
15396
15479
  for (let kt = 0; kt < 12; kt += 1)
15397
- kn[kt] && kn[kt].m(Vi, null);
15480
+ pn[kt] && pn[kt].m(Oi, null);
15398
15481
  Ie(
15399
- Vi,
15482
+ Oi,
15400
15483
  /*segmentWidgetPosition*/
15401
15484
  t[36],
15402
15485
  !0
15403
- ), f(e, So), ii && ii.m(e, null), f(e, Gn), f(e, wo), f(e, To), Ci.m(e, null), Kn || (Po = [
15486
+ ), f(e, So), ii && ii.m(e, null), f(e, Gn), f(e, wo), f(e, To), Ai.m(e, null), Kn || (Po = [
15404
15487
  q(
15405
15488
  r,
15406
15489
  "change",
@@ -15510,7 +15593,7 @@ function o2(t) {
15510
15593
  t[62]
15511
15594
  ),
15512
15595
  q(
15513
- Vi,
15596
+ Oi,
15514
15597
  "change",
15515
15598
  /*select12_change_handler*/
15516
15599
  t[63]
@@ -15557,18 +15640,18 @@ function o2(t) {
15557
15640
  _e[11]
15558
15641
  ), it[1] & /*adverts*/
15559
15642
  4096) {
15560
- un = ti(
15643
+ dn = ti(
15561
15644
  /*adverts*/
15562
15645
  _e[43]
15563
15646
  );
15564
15647
  let kt;
15565
- for (kt = 0; kt < un.length; kt += 1) {
15566
- const Ao = ba(_e, un, kt);
15648
+ for (kt = 0; kt < dn.length; kt += 1) {
15649
+ const Ao = ba(_e, dn, kt);
15567
15650
  Gt[kt] ? Gt[kt].p(Ao, it) : (Gt[kt] = ka(Ao), Gt[kt].c(), Gt[kt].m($e, null));
15568
15651
  }
15569
15652
  for (; kt < Gt.length; kt += 1)
15570
15653
  Gt[kt].d(1);
15571
- Gt.length = un.length;
15654
+ Gt.length = dn.length;
15572
15655
  }
15573
15656
  it[0] & /*advertIndex*/
15574
15657
  32768 && Ie(
@@ -15631,23 +15714,23 @@ function o2(t) {
15631
15714
  _e[35]
15632
15715
  ), it[1] & /*segmentWidgetPosition*/
15633
15716
  32 && Ie(
15634
- Vi,
15717
+ Oi,
15635
15718
  /*segmentWidgetPosition*/
15636
15719
  _e[36]
15637
15720
  ), /*showAdvancedSettings*/
15638
- _e[44] ? ii ? ii.p(_e, it) : (ii = pa(_e), ii.c(), ii.m(e, Gn)) : ii && (ii.d(1), ii = null), Vn === (Vn = Co(_e)) && Ci ? Ci.p(_e, it) : (Ci.d(1), Ci = Vn(_e), Ci && (Ci.c(), Ci.m(e, null)));
15721
+ _e[44] ? ii ? ii.p(_e, it) : (ii = pa(_e), ii.c(), ii.m(e, Gn)) : ii && (ii.d(1), ii = null), Vn === (Vn = Co(_e)) && Ai ? Ai.p(_e, it) : (Ai.d(1), Ai = Vn(_e), Ai && (Ai.c(), Ai.m(e, null)));
15639
15722
  },
15640
15723
  i: ee,
15641
15724
  o: ee,
15642
15725
  d(_e) {
15643
- _e && O(e), yn(Gt, _e), yn(kn, _e), ii && ii.d(), Ci.d(), Kn = !1, ot(Po);
15726
+ _e && O(e), vn(Gt, _e), vn(pn, _e), ii && ii.d(), Ai.d(), Kn = !1, ot(Po);
15644
15727
  }
15645
15728
  };
15646
15729
  }
15647
- function s2(t, e, i) {
15730
+ function a2(t, e, i) {
15648
15731
  import("./././././././././style.js");
15649
15732
  let { projectId: n } = e, { contentId: o } = e, { playlistId: s } = e, { sourceId: l } = e, { sourceUrl: a } = e, { showUserInterface: r } = e, { playerStyle: u } = e, { playerTitle: c } = e, { callToAction: g } = e, { skipButtonStyle: v } = e, { playlistStyle: _ } = e, { playlistToggle: m } = e, { mediaSession: w } = e, { content: y } = e, { contentIndex: A } = e, { introsOutros: S } = e, { introsOutrosIndex: C } = e, { adverts: T } = e, { advertIndex: I } = e, { persistentAdImage: E } = e, { persistentIndex: R } = e, { duration: Z } = e, { currentTime: F } = e, { playbackState: U } = e, { playbackRate: ae } = e, { widgetStyle: ce } = e, { widgetPosition: se } = e, { widgetWidth: $ } = e, { widgetTarget: Q } = e, { textColor: re } = e, { backgroundColor: de } = e, { iconColor: Y } = e, { highlightColor: K } = e, { videoTextColor: te } = e, { videoIconColor: b } = e, { logoIconEnabled: P } = e, { highlightSections: j } = e, { clickableSections: L } = e, { segmentWidgetSections: Pe } = e, { segmentWidgetPosition: Ve } = e, { advertConsent: Ue } = e, { analyticsConsent: G } = e, { analyticsCustomUrl: Te } = e, { analyticsTag: qe } = e, Qe = !1;
15650
- function rt() {
15733
+ function st() {
15651
15734
  u = At(this), i(6, u);
15652
15735
  }
15653
15736
  function pt() {
@@ -15671,7 +15754,7 @@ function s2(t, e, i) {
15671
15754
  function ze() {
15672
15755
  I = At(this), i(15, I);
15673
15756
  }
15674
- function st() {
15757
+ function lt() {
15675
15758
  ce = At(this), i(22, ce);
15676
15759
  }
15677
15760
  function $e() {
@@ -15698,7 +15781,7 @@ function s2(t, e, i) {
15698
15781
  function et() {
15699
15782
  L = At(this), i(34, L);
15700
15783
  }
15701
- function lt() {
15784
+ function at() {
15702
15785
  Pe = At(this), i(35, Pe);
15703
15786
  }
15704
15787
  function Fe() {
@@ -15746,7 +15829,7 @@ function s2(t, e, i) {
15746
15829
  function Bt() {
15747
15830
  Z = this.value, i(18, Z);
15748
15831
  }
15749
- function at() {
15832
+ function rt() {
15750
15833
  F = this.value, i(19, F);
15751
15834
  }
15752
15835
  function wt() {
@@ -15819,7 +15902,7 @@ function s2(t, e, i) {
15819
15902
  S,
15820
15903
  T,
15821
15904
  Qe,
15822
- rt,
15905
+ st,
15823
15906
  pt,
15824
15907
  ut,
15825
15908
  Ye,
@@ -15827,7 +15910,7 @@ function s2(t, e, i) {
15827
15910
  Ne,
15828
15911
  gt,
15829
15912
  ze,
15830
- st,
15913
+ lt,
15831
15914
  $e,
15832
15915
  xe,
15833
15916
  jt,
@@ -15836,7 +15919,7 @@ function s2(t, e, i) {
15836
15919
  We,
15837
15920
  Xe,
15838
15921
  et,
15839
- lt,
15922
+ at,
15840
15923
  Fe,
15841
15924
  Pt,
15842
15925
  ft,
@@ -15852,7 +15935,7 @@ function s2(t, e, i) {
15852
15935
  Ge,
15853
15936
  Ke,
15854
15937
  Bt,
15855
- at,
15938
+ rt,
15856
15939
  wt,
15857
15940
  ct,
15858
15941
  zt,
@@ -15864,13 +15947,13 @@ function s2(t, e, i) {
15864
15947
  k
15865
15948
  ];
15866
15949
  }
15867
- class l2 extends we {
15950
+ class r2 extends we {
15868
15951
  constructor(e) {
15869
15952
  super(), Se(
15870
15953
  this,
15871
15954
  e,
15872
- s2,
15873
- o2,
15955
+ a2,
15956
+ l2,
15874
15957
  pe,
15875
15958
  {
15876
15959
  projectId: 0,
@@ -16187,27 +16270,27 @@ class l2 extends we {
16187
16270
  this.$$set({ analyticsTag: e }), d();
16188
16271
  }
16189
16272
  }
16190
- const a2 = (t, e, i) => {
16191
- c2(t);
16273
+ const u2 = (t, e, i) => {
16274
+ g2(t);
16192
16275
  const n = new Image();
16193
16276
  return n.setAttribute("crossorigin", "anonymous"), new Promise((o, s) => {
16194
- n.addEventListener("load", r2(n, e, i, o, s)), n.addEventListener("error", s), n.src = t;
16277
+ n.addEventListener("load", c2(n, e, i, o, s)), n.addEventListener("error", s), n.src = t;
16195
16278
  });
16196
- }, r2 = (t, e, i, n, o) => () => {
16279
+ }, c2 = (t, e, i, n, o) => () => {
16197
16280
  const s = document.createElement("canvas"), l = s.getContext("2d");
16198
- s.width = e, s.height = i, l.drawImage(t, 0, 0, e, i), s.toBlob(u2(t, e, i, n, o));
16199
- }, Dn = {}, u2 = (t, e, i, n, o) => (s) => {
16281
+ s.width = e, s.height = i, l.drawImage(t, 0, 0, e, i), s.toBlob(d2(t, e, i, n, o));
16282
+ }, Dn = {}, d2 = (t, e, i, n, o) => (s) => {
16200
16283
  var a;
16201
16284
  s || o();
16202
16285
  const l = URL.createObjectURL(s);
16203
16286
  Dn[a = t.src] || (Dn[a] = []), Dn[t.src].push(l), n({ src: l, sizes: `${e}x${i}`, type: "image/png" });
16204
- }, c2 = (t) => {
16287
+ }, g2 = (t) => {
16205
16288
  Object.keys(Dn).filter((n) => n !== t).map((n) => Dn[n]).flat().forEach((n) => URL.revokeObjectURL(n));
16206
- }, d2 = (t, e, i) => ki(void 0, null, function* () {
16289
+ }, f2 = (t, e, i) => pi(void 0, null, function* () {
16207
16290
  t = yield t;
16208
16291
  const n = t.innerHTML;
16209
16292
  return { src: `data:image/svg+xml,${encodeURIComponent(n)}`, sizes: `${e}x${i}`, type: "image/svg+xml" };
16210
- }), g2 = (t, e, i) => Ut(t, e, i, 1), f2 = (t, e, i) => Ce(t, e, e === "style" ? h2(i) : i), m2 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, h2 = (t) => t.split(m2).filter((e) => e).map((e) => e + " !important").join(";");
16293
+ }), m2 = (t, e, i) => Ut(t, e, i, 1), h2 = (t, e, i) => Ce(t, e, e === "style" ? y2(i) : i), _2 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, y2 = (t) => t.split(_2).filter((e) => e).map((e) => e + " !important").join(";");
16211
16294
  function Pa(t, e, i) {
16212
16295
  const n = t.slice();
16213
16296
  return n[41] = e[i], n[42] = e, n[43] = i, n;
@@ -16243,7 +16326,7 @@ function Ca(t) {
16243
16326
  );
16244
16327
  return {
16245
16328
  c() {
16246
- e = p("div"), me(i.$$.fragment), n = X(), g2(e, "display", "none");
16329
+ e = p("div"), me(i.$$.fragment), n = X(), m2(e, "display", "none");
16247
16330
  },
16248
16331
  m(r, u) {
16249
16332
  M(r, e, u), ge(i, e, null), f(e, n), l(), s = !0;
@@ -16270,7 +16353,7 @@ function Ca(t) {
16270
16353
  }
16271
16354
  };
16272
16355
  }
16273
- function _2(t) {
16356
+ function v2(t) {
16274
16357
  let e, i, n = ti(
16275
16358
  /*imageSizes*/
16276
16359
  t[3]
@@ -16285,7 +16368,7 @@ function _2(t) {
16285
16368
  e = p("div");
16286
16369
  for (let l = 0; l < o.length; l += 1)
16287
16370
  o[l].c();
16288
- f2(e, "class", "media-session");
16371
+ h2(e, "class", "media-session");
16289
16372
  },
16290
16373
  m(l, a) {
16291
16374
  M(l, e, a);
@@ -16324,11 +16407,11 @@ function _2(t) {
16324
16407
  i = !1;
16325
16408
  },
16326
16409
  d(l) {
16327
- l && O(e), yn(o, l);
16410
+ l && O(e), vn(o, l);
16328
16411
  }
16329
16412
  };
16330
16413
  }
16331
- function y2(t, e, i) {
16414
+ function b2(t, e, i) {
16332
16415
  let n, o, s, l, a, r, u, c, g, v, _, m, w, y, A, S, C, T, I, E, R, Z;
16333
16416
  const F = [96, 128, 192, 256, 384, 512], U = [
16334
16417
  "hangup",
@@ -16384,9 +16467,9 @@ function y2(t, e, i) {
16384
16467
  56 && i(33, y = o && w || !n && ($ == null ? void 0 : $.imageUrl) || (l == null ? void 0 : l.imageUrl)), t.$$.dirty[0] & /*failedUrls*/
16385
16468
  65536 | t.$$.dirty[1] & /*imageUrl_*/
16386
16469
  4 && i(29, A = j.has(y) ? null : y), t.$$.dirty[0] & /*imageUrl*/
16387
- 536870912 && i(32, S = A ? F.map((G) => a2(A, G, G)) : []), t.$$.dirty[0] & /*imageUrl*/
16470
+ 536870912 && i(32, S = A ? F.map((G) => u2(A, G, G)) : []), t.$$.dirty[0] & /*imageUrl*/
16388
16471
  536870912 && i(31, C = A ? [{ src: A, sizes: "any" }] : []), t.$$.dirty[0] & /*imageUrl, renderedSvgs*/
16389
- 537001984 && i(30, T = A ? [] : F.map((G, Te) => d2(Pe[Te], G, G))), t.$$.dirty[0] & /*svgArtworks*/
16472
+ 537001984 && i(30, T = A ? [] : F.map((G, Te) => f2(Pe[Te], G, G))), t.$$.dirty[0] & /*svgArtworks*/
16390
16473
  1073741824 | t.$$.dirty[1] & /*pngArtworks, urlArtworks*/
16391
16474
  3 && i(27, I = Promise.all([...S, ...C, ...T])), t.$$.dirty[0] & /*contentItem*/
16392
16475
  268435456 && i(26, E = (l == null ? void 0 : l.title) || ""), t.$$.dirty[0] & /*artworks*/
@@ -16499,13 +16582,13 @@ function y2(t, e, i) {
16499
16582
  Ue
16500
16583
  ];
16501
16584
  }
16502
- class v2 extends we {
16585
+ class k2 extends we {
16503
16586
  constructor(e) {
16504
16587
  super(), Se(
16505
16588
  this,
16506
16589
  e,
16507
- y2,
16508
- _2,
16590
+ b2,
16591
+ v2,
16509
16592
  pe,
16510
16593
  {
16511
16594
  content: 4,
@@ -16591,14 +16674,14 @@ class v2 extends we {
16591
16674
  this.$$set({ onEvent: e }), d();
16592
16675
  }
16593
16676
  }
16594
- const Aa = (t, e, i) => Ce(t, e, e === "style" ? k2(i) : i), b2 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, k2 = (t) => t.split(b2).filter((e) => e).map((e) => e + " !important").join(";");
16677
+ const Aa = (t, e, i) => Ce(t, e, e === "style" ? S2(i) : i), p2 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, S2 = (t) => t.split(p2).filter((e) => e).map((e) => e + " !important").join(";");
16595
16678
  function Ia(t) {
16596
16679
  let e, i, n, o;
16597
16680
  return {
16598
16681
  c() {
16599
16682
  e = p("script"), n = X(), o = p("script"), o.textContent = `window.dataLayer = window.dataLayer || [];
16600
16683
  function gtag() { dataLayer.push(arguments); }
16601
- gtag("js", new Date());`, e.async = !0, Bn(e.src, i = "https://www.googletagmanager.com/gtag/js?id=" + /*analyticsTag*/
16684
+ gtag("js", new Date());`, e.async = !0, on(e.src, i = "https://www.googletagmanager.com/gtag/js?id=" + /*analyticsTag*/
16602
16685
  t[0]) || Aa(e, "src", i);
16603
16686
  },
16604
16687
  m(s, l) {
@@ -16606,7 +16689,7 @@ function Ia(t) {
16606
16689
  },
16607
16690
  p(s, l) {
16608
16691
  l & /*analyticsTag*/
16609
- 1 && !Bn(e.src, i = "https://www.googletagmanager.com/gtag/js?id=" + /*analyticsTag*/
16692
+ 1 && !on(e.src, i = "https://www.googletagmanager.com/gtag/js?id=" + /*analyticsTag*/
16610
16693
  s[0]) && Aa(e, "src", i);
16611
16694
  },
16612
16695
  d(s) {
@@ -16614,12 +16697,12 @@ function Ia(t) {
16614
16697
  }
16615
16698
  };
16616
16699
  }
16617
- function p2(t) {
16700
+ function w2(t) {
16618
16701
  let e, i = !/*alreadyLoaded*/
16619
16702
  t[1] && Ia(t);
16620
16703
  return {
16621
16704
  c() {
16622
- i && i.c(), e = tn();
16705
+ i && i.c(), e = qi();
16623
16706
  },
16624
16707
  m(n, o) {
16625
16708
  i && i.m(document.head, null), f(document.head, e);
@@ -16635,15 +16718,15 @@ function p2(t) {
16635
16718
  }
16636
16719
  };
16637
16720
  }
16638
- function S2(t, e, i) {
16721
+ function T2(t, e, i) {
16639
16722
  let n, { analyticsTag: o } = e;
16640
16723
  return t.$$set = (s) => {
16641
16724
  "analyticsTag" in s && i(0, o = s.analyticsTag);
16642
16725
  }, i(1, n = window.gtag), [o, n];
16643
16726
  }
16644
- class w2 extends we {
16727
+ class P2 extends we {
16645
16728
  constructor(e) {
16646
- super(), Se(this, e, S2, p2, pe, { analyticsTag: 0 });
16729
+ super(), Se(this, e, T2, w2, pe, { analyticsTag: 0 });
16647
16730
  }
16648
16731
  get analyticsTag() {
16649
16732
  return this.$$.ctx[0];
@@ -16652,7 +16735,7 @@ class w2 extends we {
16652
16735
  this.$$set({ analyticsTag: e }), d();
16653
16736
  }
16654
16737
  }
16655
- class T2 extends we {
16738
+ class C2 extends we {
16656
16739
  constructor(e) {
16657
16740
  super(), Se(this, e, null, null, pe, {});
16658
16741
  }
@@ -16710,13 +16793,13 @@ const ao = (t, e, i) => {
16710
16793
  return s === "all" || s === "body" && (e == null ? void 0 : e.section) === "body";
16711
16794
  }, Uo = ["beyondwords-clickable", "bwp"];
16712
16795
  var uo, ss, kr, ls, pr;
16713
- const Zi = class Zi {
16796
+ const Ki = class Ki {
16714
16797
  constructor() {
16715
16798
  this.ids = new yl();
16716
16799
  }
16717
16800
  update(e, i) {
16718
16801
  const n = ao("hovered", e, i), o = this.previous, s = n ? this.ids.fetchOrAdd(e) : null;
16719
- s && Wi(Zi, uo).addInterest(s, this, e), o && Wi(Zi, uo).removeInterest(o, this), this.previous = s;
16802
+ s && Mi(Ki, uo).addInterest(s, this, e), o && Mi(Ki, uo).removeInterest(o, this), this.previous = s;
16720
16803
  }
16721
16804
  };
16722
16805
  uo = new WeakMap(), ss = new WeakSet(), kr = function(e, i) {
@@ -16731,8 +16814,8 @@ uo = new WeakMap(), ss = new WeakSet(), kr = function(e, i) {
16731
16814
  const n = document.querySelectorAll(`[data-beyondwords-marker="${i.marker}"]`);
16732
16815
  for (const o of n)
16733
16816
  el(o, Uo);
16734
- }, Ae(Zi, ss), Ae(Zi, ls), Ae(Zi, uo, new _l(N(Zi, ss, kr), N(Zi, ls, pr)));
16735
- let $s = Zi;
16817
+ }, Ae(Ki, ss), Ae(Ki, ls), Ae(Ki, uo, new _l(N(Ki, ss, kr), N(Ki, ls, pr)));
16818
+ let $s = Ki;
16736
16819
  const el = (t, e) => {
16737
16820
  if (!t)
16738
16821
  return;
@@ -16740,7 +16823,7 @@ const el = (t, e) => {
16740
16823
  t.classList.remove(...o);
16741
16824
  }, Ba = (t, e, i) => ["beyondwords-widget", "bwp", `id-${t}`, `position-${e}`, `for-${i}-player`], Va = ["beyondwords-relative", "bwp"];
16742
16825
  var co, as, Sr, rs, wr, us, Tr;
16743
- const Gi = class Gi {
16826
+ const Ji = class Ji {
16744
16827
  constructor(e) {
16745
16828
  // Add the container next to the first DOM node that matches the segment's
16746
16829
  // marker. There might be an edge case where the segment was matched using
@@ -16753,7 +16836,7 @@ const Gi = class Gi {
16753
16836
  }
16754
16837
  update(e, i, n, o) {
16755
16838
  const s = i.includes("all") || i.includes("body"), l = e || s && this.previous, a = this.previous, r = this.ids.fetchOrAdd(l);
16756
- r && Wi(Gi, co).addInterest(r, this, this, l, n, o), a && Wi(Gi, co).removeInterest(a, this), this.previous = r;
16839
+ r && Mi(Ji, co).addInterest(r, this, this, l, n, o), a && Mi(Ji, co).removeInterest(a, this), this.previous = r;
16757
16840
  }
16758
16841
  reset() {
16759
16842
  this.update(null, "none");
@@ -16783,11 +16866,11 @@ co = new WeakMap(), as = new WeakSet(), Sr = function(e, i, n, o, s) {
16783
16866
  o = document.querySelectorAll(r);
16784
16867
  }
16785
16868
  return o.length > 0 ? o[0] : e.segmentElement;
16786
- }, Ae(Gi, as), Ae(Gi, rs), Ae(Gi, co, new _l(N(Gi, as, Sr), N(Gi, rs, wr)));
16787
- let tl = Gi;
16869
+ }, Ae(Ji, as), Ae(Ji, rs), Ae(Ji, co, new _l(N(Ji, as, Sr), N(Ji, rs, wr)));
16870
+ let tl = Ji;
16788
16871
  const Wa = (t) => ["beyondwords-highlight", "bwp", `id-${t}`];
16789
16872
  var go, cs, Pr, ds, Cr, fo, nl;
16790
- const Ki = class Ki {
16873
+ const Xi = class Xi {
16791
16874
  constructor() {
16792
16875
  // Highlight the segmentElement and all DOM nodes with the same marker. There
16793
16876
  // might be an edge case where the segment was matched using (xpath, md5) and
@@ -16798,7 +16881,7 @@ const Ki = class Ki {
16798
16881
  }
16799
16882
  update(e, i, n, o) {
16800
16883
  const s = ao(e, i, n), l = this[`prev${e}`], a = s ? this.ids.fetchOrAdd(i) : null;
16801
- a && Wi(Ki, go).addInterest(a, this, this, i, o), l && Wi(Ki, go).removeInterest(l, this), this[`prev${e}`] = a;
16884
+ a && Mi(Xi, go).addInterest(a, this, this, i, o), l && Mi(Xi, go).removeInterest(l, this), this[`prev${e}`] = a;
16802
16885
  }
16803
16886
  };
16804
16887
  go = new WeakMap(), cs = new WeakSet(), Pr = function(e, i, n, o) {
@@ -16831,40 +16914,40 @@ go = new WeakMap(), cs = new WeakSet(), Pr = function(e, i, n, o) {
16831
16914
  i.add(r);
16832
16915
  }
16833
16916
  return i;
16834
- }, Ae(Ki, cs), Ae(Ki, ds), Ae(Ki, go, new _l(N(Ki, cs, Pr), N(Ki, ds, Cr)));
16835
- let il = Ki;
16836
- const P2 = () => ye({
16917
+ }, Ae(Xi, cs), Ae(Xi, ds), Ae(Xi, go, new _l(N(Xi, cs, Pr), N(Xi, ds, Cr)));
16918
+ let il = Xi;
16919
+ const A2 = () => ye({
16837
16920
  type: "IdentifiersChanged",
16838
16921
  description: "The Player's content identifiers changed.",
16839
16922
  initiatedBy: "browser"
16840
- }), vl = (i, ...n) => ki(void 0, [i, ...n], function* (t, e = {}) {
16923
+ }), vl = (i, ...n) => pi(void 0, [i, ...n], function* (t, e = {}) {
16841
16924
  const o = yield fetch(t, e).catch(() => {
16842
16925
  }), s = yield o == null ? void 0 : o.json().catch(() => {
16843
16926
  });
16844
- return (o == null ? void 0 : o.status) !== 200 && di(`Failed to fetch ${t}`, Ui(Kt({}, e), {
16927
+ return (o == null ? void 0 : o.status) !== 200 && di(`Failed to fetch ${t}`, Yi(Kt({}, e), {
16845
16928
  responseStatus: o == null ? void 0 : o.status,
16846
16929
  responseJson: s
16847
16930
  })), s;
16848
- }), C2 = (t, e) => vl(t, {
16931
+ }), I2 = (t, e) => vl(t, {
16849
16932
  method: "POST",
16850
16933
  headers: { "Content-Type": "application/json" },
16851
16934
  body: JSON.stringify(e, (i, n) => n === void 0 ? null : n)
16852
16935
  });
16853
16936
  var gs, Ar;
16854
- class A2 {
16937
+ class B2 {
16855
16938
  constructor(e, i, n) {
16856
16939
  // private
16857
16940
  Ae(this, gs);
16858
16941
  this.baseUrl = N(this, gs, Ar).call(this, e), this.projectId = i, this.writeToken = n;
16859
16942
  }
16860
16943
  getWebSocketToken() {
16861
- return ki(this, null, function* () {
16944
+ return pi(this, null, function* () {
16862
16945
  const e = { Authorization: `Token token=${this.writeToken}` }, { token: i } = yield vl(`https://${this.baseUrl}/api/v4/token/ws`, { headers: e });
16863
16946
  this.webSocketToken = i;
16864
16947
  });
16865
16948
  }
16866
16949
  establishConnection(e, i) {
16867
- return ki(this, null, function* () {
16950
+ return pi(this, null, function* () {
16868
16951
  const n = `wss://${this.baseUrl}/cable?token=${this.webSocketToken}`, o = "actioncable-v1-json";
16869
16952
  this.webSocket = new WebSocket(n, o), this.webSocket.onmessage = (s) => e(JSON.parse(s.data)), this.webSocket.onerror = i, yield new Promise((s) => this.webSocket.onopen = s);
16870
16953
  });
@@ -16882,13 +16965,13 @@ class A2 {
16882
16965
  gs = new WeakSet(), Ar = function(e) {
16883
16966
  return e.includes("staging") ? "app.staging-beyondwords.io" : "app.beyondwords.io";
16884
16967
  };
16885
- let Sn;
16886
- const I2 = (t, e, i, n) => ki(void 0, null, function* () {
16887
- !t || !e || !i || (Sn == null || Sn.destroy(), Sn = new A2(t, e, i), yield Sn.getWebSocketToken(), yield Sn.establishConnection(B2(n), O2), yield Sn.subscribeToStatusChanges());
16888
- }), B2 = (t) => (e) => {
16968
+ let wn;
16969
+ const V2 = (t, e, i, n) => pi(void 0, null, function* () {
16970
+ !t || !e || !i || (wn == null || wn.destroy(), wn = new B2(t, e, i), yield wn.getWebSocketToken(), yield wn.establishConnection(W2(n), E2), yield wn.subscribeToStatusChanges());
16971
+ }), W2 = (t) => (e) => {
16889
16972
  var o, s;
16890
- ((s = (o = e == null ? void 0 : e.message) == null ? void 0 : o.result) == null ? void 0 : s.action) === "podcast_state_updated" && V2(e, t), e.type === "reject_subscription" && W2(e);
16891
- }, V2 = (t, e) => {
16973
+ ((s = (o = e == null ? void 0 : e.message) == null ? void 0 : o.result) == null ? void 0 : s.action) === "podcast_state_updated" && O2(e, t), e.type === "reject_subscription" && M2(e);
16974
+ }, O2 = (t, e) => {
16892
16975
  const i = t.message.result;
16893
16976
  e(ye({
16894
16977
  type: "ContentStatusChanged",
@@ -16900,9 +16983,9 @@ const I2 = (t, e, i, n) => ki(void 0, null, function* () {
16900
16983
  sourceUrl: i.source_url,
16901
16984
  contentStatus: i.state
16902
16985
  }));
16903
- }, W2 = (t) => {
16986
+ }, M2 = (t) => {
16904
16987
  di("The WebSocket status change subscription was rejected.", { webSocketEvent: t });
16905
- }, O2 = (t) => {
16988
+ }, E2 = (t) => {
16906
16989
  di("Unexpected WebSocket error.", { error: t });
16907
16990
  }, Ir = (t) => {
16908
16991
  if (!t())
@@ -16910,9 +16993,9 @@ const I2 = (t, e, i, n) => ki(void 0, null, function* () {
16910
16993
  setInterval(() => t() && e(), 10);
16911
16994
  });
16912
16995
  }, es = (t) => {
16913
- const i = Object.keys(t.$$.props).filter((n) => !M2.has(n)).map((n) => [n, t[n]]);
16996
+ const i = Object.keys(t.$$.props).filter((n) => !j2.has(n)).map((n) => [n, t[n]]);
16914
16997
  return Object.fromEntries(i);
16915
- }, M2 = /* @__PURE__ */ new Set([
16998
+ }, j2 = /* @__PURE__ */ new Set([
16916
16999
  "addEventListener",
16917
17000
  "removeEventListener",
16918
17001
  "mediaElement",
@@ -16928,30 +17011,30 @@ const I2 = (t, e, i, n) => ki(void 0, null, function* () {
16928
17011
  return n;
16929
17012
  };
16930
17013
  let $n = -1;
16931
- const Vr = [], E2 = (t, e, i) => ki(void 0, null, function* () {
17014
+ const Vr = [], z2 = (t, e, i) => pi(void 0, null, function* () {
16932
17015
  yield Ir(() => e.player);
16933
- const n = e.player, o = j2(n.contentIndex, i, t);
16934
- o > $n && z2(n, $n, o, t), o < $n && L2(n, $n, o), $n = o;
16935
- }), j2 = (t, e, i) => {
17016
+ const n = e.player, o = L2(n.contentIndex, i, t);
17017
+ o > $n && D2(n, $n, o, t), o < $n && R2(n, $n, o), $n = o;
17018
+ }), L2 = (t, e, i) => {
16936
17019
  const n = i.findIndex((s) => s[0] === t && s[1] > e || s[0] > t);
16937
17020
  return n === -1 ? i.length - 1 : n - 1;
16938
- }, z2 = (t, e, i, n) => {
17021
+ }, D2 = (t, e, i, n) => {
16939
17022
  for (let o = e + 1; o <= i; o += 1) {
16940
17023
  const s = es(t);
16941
17024
  n[o][2](t);
16942
17025
  const l = es(t), a = Br(s, l);
16943
17026
  Vr.push(a);
16944
17027
  }
16945
- }, L2 = (t, e, i) => {
17028
+ }, R2 = (t, e, i) => {
16946
17029
  for (let n = e; n > i; n -= 1) {
16947
17030
  const o = Vr.pop();
16948
17031
  for (const [s, l] of Object.entries(o))
16949
17032
  t[s] = l.previousValue;
16950
17033
  }
16951
- }, D2 = (t) => t ? R2(t) ? { newTarget: x2(t), showUserInterface: !0 } : typeof t == "string" ? { newTarget: ol(t), showUserInterface: !0 } : { newTarget: t, showUserInterface: !0 } : { newTarget: N2(), showUserInterface: !1 }, R2 = (t) => typeof t == "object" && t.nodeName.toLowerCase() === "script", N2 = () => {
17034
+ }, N2 = (t) => t ? x2(t) ? { newTarget: U2(t), showUserInterface: !0 } : typeof t == "string" ? { newTarget: ol(t), showUserInterface: !0 } : { newTarget: t, showUserInterface: !0 } : { newTarget: F2(), showUserInterface: !1 }, x2 = (t) => typeof t == "object" && t.nodeName.toLowerCase() === "script", F2 = () => {
16952
17035
  const t = document.createElement("div");
16953
17036
  return document.body.appendChild(t), t;
16954
- }, x2 = (t) => {
17037
+ }, U2 = (t) => {
16955
17038
  const e = document.createElement("div");
16956
17039
  return t.parentNode.insertBefore(e, t.nextSibling), e;
16957
17040
  }, ol = (t, e = "player") => {
@@ -16959,12 +17042,12 @@ const Vr = [], E2 = (t, e, i) => ki(void 0, null, function* () {
16959
17042
  return t;
16960
17043
  const i = document.querySelectorAll(t);
16961
17044
  return i.length === 0 && di(`Failed to initialize ${e} because the target could not be found.`, { target: t, elements: i }), i.length > 1 && di(`Failed to initialize ${e} because the target is ambiguous. (${i.length} elements match)`, { target: t, elements: i }), i[0];
16962
- }, F2 = ["small", "standard", "large", "screen", "video"], sl = (t) => F2.indexOf(t) !== -1;
17045
+ }, q2 = ["small", "standard", "large", "screen", "video"], sl = (t) => q2.indexOf(t) !== -1;
16963
17046
  function Oa(t, e, i) {
16964
17047
  const n = t.slice();
16965
17048
  return n[161] = e[i], n;
16966
17049
  }
16967
- function U2(t) {
17050
+ function H2(t) {
16968
17051
  let e, i, n, o, s, l, a, r;
16969
17052
  function u(y) {
16970
17053
  t[107](y);
@@ -17315,7 +17398,7 @@ function Ea(t) {
17315
17398
  /*widgetTarget*/
17316
17399
  t[14]
17317
17400
  ),
17318
- $$slots: { default: [q2] },
17401
+ $$slots: { default: [Y2] },
17319
17402
  $$scope: { ctx: t }
17320
17403
  }
17321
17404
  }), {
@@ -17346,7 +17429,7 @@ function Ea(t) {
17346
17429
  }
17347
17430
  };
17348
17431
  }
17349
- function q2(t) {
17432
+ function Y2(t) {
17350
17433
  let e, i, n = {
17351
17434
  onEvent: (
17352
17435
  /*onEvent*/
@@ -17540,7 +17623,7 @@ function q2(t) {
17540
17623
  }
17541
17624
  };
17542
17625
  }
17543
- function H2(t) {
17626
+ function Z2(t) {
17544
17627
  let e, i;
17545
17628
  return e = new hl({
17546
17629
  props: {
@@ -17690,14 +17773,14 @@ function ja(t, e) {
17690
17773
  /*root*/
17691
17774
  e[161]
17692
17775
  ),
17693
- $$slots: { default: [H2] },
17776
+ $$slots: { default: [Z2] },
17694
17777
  $$scope: { ctx: e }
17695
17778
  }
17696
17779
  }), {
17697
17780
  key: t,
17698
17781
  first: null,
17699
17782
  c() {
17700
- i = tn(), me(n.$$.fragment), this.first = i;
17783
+ i = qi(), me(n.$$.fragment), this.first = i;
17701
17784
  },
17702
17785
  m(s, l) {
17703
17786
  M(s, i, l), ge(n, s, l), o = !0;
@@ -17732,7 +17815,7 @@ function za(t) {
17732
17815
  /*controlPanel*/
17733
17816
  t[22]
17734
17817
  ),
17735
- $$slots: { default: [Y2] },
17818
+ $$slots: { default: [G2] },
17736
17819
  $$scope: { ctx: t }
17737
17820
  }
17738
17821
  }), {
@@ -17762,7 +17845,7 @@ function za(t) {
17762
17845
  }
17763
17846
  };
17764
17847
  }
17765
- function Y2(t) {
17848
+ function G2(t) {
17766
17849
  let e, i, n, o, s, l, a, r, u, c, g, v, _, m, w, y, A, S, C, T, I, E, R, Z, F, U, ae, ce, se, $, Q, re, de, Y, K, te, b, P, j, L, Pe, Ve, Ue, G, Te;
17767
17850
  function qe(k) {
17768
17851
  t[116](k);
@@ -17770,7 +17853,7 @@ function Y2(t) {
17770
17853
  function Qe(k) {
17771
17854
  t[117](k);
17772
17855
  }
17773
- function rt(k) {
17856
+ function st(k) {
17774
17857
  t[118](k);
17775
17858
  }
17776
17859
  function pt(k) {
@@ -17794,7 +17877,7 @@ function Y2(t) {
17794
17877
  function ze(k) {
17795
17878
  t[125](k);
17796
17879
  }
17797
- function st(k) {
17880
+ function lt(k) {
17798
17881
  t[126](k);
17799
17882
  }
17800
17883
  function $e(k) {
@@ -17821,7 +17904,7 @@ function Y2(t) {
17821
17904
  function et(k) {
17822
17905
  t[134](k);
17823
17906
  }
17824
- function lt(k) {
17907
+ function at(k) {
17825
17908
  t[135](k);
17826
17909
  }
17827
17910
  function Fe(k) {
@@ -17869,7 +17952,7 @@ function Y2(t) {
17869
17952
  function Bt(k) {
17870
17953
  t[150](k);
17871
17954
  }
17872
- function at(k) {
17955
+ function rt(k) {
17873
17956
  t[151](k);
17874
17957
  }
17875
17958
  function wt(k) {
@@ -17994,7 +18077,7 @@ function Y2(t) {
17994
18077
  t[43] !== void 0 && (he.analyticsCustomUrl = /*analyticsCustomUrl*/
17995
18078
  t[43]), /*analyticsTag*/
17996
18079
  t[44] !== void 0 && (he.analyticsTag = /*analyticsTag*/
17997
- t[44]), e = new l2({ props: he }), oe.push(() => be(e, "projectId", qe)), oe.push(() => be(e, "contentId", Qe)), oe.push(() => be(e, "playlistId", rt)), oe.push(() => be(e, "sourceId", pt)), oe.push(() => be(e, "sourceUrl", ut)), oe.push(() => be(e, "showUserInterface", Ye)), oe.push(() => be(e, "playerStyle", Re)), oe.push(() => be(e, "playerTitle", Ne)), oe.push(() => be(e, "callToAction", gt)), oe.push(() => be(e, "skipButtonStyle", ze)), oe.push(() => be(e, "playlistStyle", st)), oe.push(() => be(e, "playlistToggle", $e)), oe.push(() => be(e, "mediaSession", xe)), oe.push(() => be(e, "contentIndex", jt)), oe.push(() => be(e, "introsOutrosIndex", Je)), oe.push(() => be(e, "advertIndex", Be)), oe.push(() => be(e, "persistentAdImage", We)), oe.push(() => be(e, "persistentIndex", Xe)), oe.push(() => be(e, "duration", et)), oe.push(() => be(e, "currentTime", lt)), oe.push(() => be(e, "playbackState", Fe)), oe.push(() => be(e, "playbackRate", Pt)), oe.push(() => be(e, "widgetStyle", ft)), oe.push(() => be(e, "widgetPosition", mt)), oe.push(() => be(e, "widgetWidth", He)), oe.push(() => be(e, "widgetTarget", Ze)), oe.push(() => be(e, "textColor", tt)), oe.push(() => be(e, "backgroundColor", H)), oe.push(() => be(e, "iconColor", Ee)), oe.push(() => be(e, "highlightColor", je)), oe.push(() => be(e, "videoTextColor", ht)), oe.push(() => be(e, "videoIconColor", St)), oe.push(() => be(e, "logoIconEnabled", Ge)), oe.push(() => be(e, "highlightSections", Ke)), oe.push(() => be(e, "clickableSections", Bt)), oe.push(() => be(e, "segmentWidgetSections", at)), oe.push(() => be(e, "segmentWidgetPosition", wt)), oe.push(() => be(e, "currentSegment", ct)), oe.push(() => be(e, "hoveredSegment", zt)), oe.push(() => be(e, "advertConsent", Lt)), oe.push(() => be(e, "analyticsConsent", Dt)), oe.push(() => be(e, "analyticsCustomUrl", Vt)), oe.push(() => be(e, "analyticsTag", _t)), {
18080
+ t[44]), e = new r2({ props: he }), oe.push(() => be(e, "projectId", qe)), oe.push(() => be(e, "contentId", Qe)), oe.push(() => be(e, "playlistId", st)), oe.push(() => be(e, "sourceId", pt)), oe.push(() => be(e, "sourceUrl", ut)), oe.push(() => be(e, "showUserInterface", Ye)), oe.push(() => be(e, "playerStyle", Re)), oe.push(() => be(e, "playerTitle", Ne)), oe.push(() => be(e, "callToAction", gt)), oe.push(() => be(e, "skipButtonStyle", ze)), oe.push(() => be(e, "playlistStyle", lt)), oe.push(() => be(e, "playlistToggle", $e)), oe.push(() => be(e, "mediaSession", xe)), oe.push(() => be(e, "contentIndex", jt)), oe.push(() => be(e, "introsOutrosIndex", Je)), oe.push(() => be(e, "advertIndex", Be)), oe.push(() => be(e, "persistentAdImage", We)), oe.push(() => be(e, "persistentIndex", Xe)), oe.push(() => be(e, "duration", et)), oe.push(() => be(e, "currentTime", at)), oe.push(() => be(e, "playbackState", Fe)), oe.push(() => be(e, "playbackRate", Pt)), oe.push(() => be(e, "widgetStyle", ft)), oe.push(() => be(e, "widgetPosition", mt)), oe.push(() => be(e, "widgetWidth", He)), oe.push(() => be(e, "widgetTarget", Ze)), oe.push(() => be(e, "textColor", tt)), oe.push(() => be(e, "backgroundColor", H)), oe.push(() => be(e, "iconColor", Ee)), oe.push(() => be(e, "highlightColor", je)), oe.push(() => be(e, "videoTextColor", ht)), oe.push(() => be(e, "videoIconColor", St)), oe.push(() => be(e, "logoIconEnabled", Ge)), oe.push(() => be(e, "highlightSections", Ke)), oe.push(() => be(e, "clickableSections", Bt)), oe.push(() => be(e, "segmentWidgetSections", rt)), oe.push(() => be(e, "segmentWidgetPosition", wt)), oe.push(() => be(e, "currentSegment", ct)), oe.push(() => be(e, "hoveredSegment", zt)), oe.push(() => be(e, "advertConsent", Lt)), oe.push(() => be(e, "analyticsConsent", Dt)), oe.push(() => be(e, "analyticsCustomUrl", Vt)), oe.push(() => be(e, "analyticsTag", _t)), {
17998
18081
  c() {
17999
18082
  me(e.$$.fragment);
18000
18083
  },
@@ -18111,7 +18194,7 @@ function Y2(t) {
18111
18194
  }
18112
18195
  function La(t) {
18113
18196
  let e, i;
18114
- return e = new v2({
18197
+ return e = new k2({
18115
18198
  props: {
18116
18199
  onEvent: (
18117
18200
  /*onEvent*/
@@ -18202,7 +18285,7 @@ function La(t) {
18202
18285
  }
18203
18286
  function Da(t) {
18204
18287
  let e, i;
18205
- return e = new w2({
18288
+ return e = new P2({
18206
18289
  props: { analyticsTag: (
18207
18290
  /*analyticsTag*/
18208
18291
  t[44]
@@ -18231,7 +18314,7 @@ function Da(t) {
18231
18314
  }
18232
18315
  };
18233
18316
  }
18234
- function Z2(t) {
18317
+ function K2(t) {
18235
18318
  let e, i, n, o, s = [], l = /* @__PURE__ */ new Map(), a, r, u, c, g, v;
18236
18319
  e = new Is({
18237
18320
  props: {
@@ -18240,7 +18323,7 @@ function Z2(t) {
18240
18323
  /*videoRoot*/
18241
18324
  t[70]
18242
18325
  ),
18243
- $$slots: { default: [U2] },
18326
+ $$slots: { default: [H2] },
18244
18327
  $$scope: { ctx: t }
18245
18328
  }
18246
18329
  });
@@ -18272,7 +18355,7 @@ function Z2(t) {
18272
18355
  /*analyticsTag*/
18273
18356
  t[44] && Da(t)
18274
18357
  );
18275
- return g = new T2({}), {
18358
+ return g = new C2({}), {
18276
18359
  c() {
18277
18360
  me(e.$$.fragment), i = X(), _ && _.c(), n = X(), m && m.c(), o = X();
18278
18361
  for (let T = 0; T < s.length; T += 1)
@@ -18343,18 +18426,18 @@ function Z2(t) {
18343
18426
  }
18344
18427
  };
18345
18428
  }
18346
- function G2(t, e, i) {
18347
- let n, o, s, l, a, r, u, c, g, v, _, m, w, y, A, S, C, T, I, E, R, Z, F, { playerApiUrl: U = "https://api.beyondwords.io/v1/projects/{id}/player" } = e, { projectId: ae = void 0 } = e, { contentId: ce = void 0 } = e, { playlistId: se = void 0 } = e, { sourceId: $ = void 0 } = e, { sourceUrl: Q = void 0 } = e, { playlist: re = [] } = e, { showUserInterface: de = !0 } = e, { showBottomWidget: Y = !1 } = e, { playerStyle: K = "standard" } = e, { playerTitle: te = void 0 } = e, { callToAction: b = void 0 } = e, { skipButtonStyle: P = "auto" } = e, { playlistStyle: j = "auto-5-4" } = e, { playlistToggle: L = "auto" } = e, { downloadFormats: Pe = [] } = e, { mediaSession: Ve = "auto" } = e, { content: Ue = [] } = e, { contentIndex: G = 0 } = e, { introsOutros: Te = [] } = e, { introsOutrosIndex: qe = -1 } = e, { adverts: Qe = [] } = e, { advertIndex: rt = -1 } = e, { minDurationForMidroll: pt = 2 * 60 } = e, { minTimeUntilEndForMidroll: ut = 10 } = e, { persistentAdImage: Ye = !1 } = e, { persistentIndex: Re = -1 } = e, { duration: Ne = 0 } = e, { currentTime: gt = 0 } = e, { playbackState: ze = "stopped" } = e, { playbackRate: st = 1 } = e, { playbackRates: $e = [0.5, 0.6, 0.7, 0.8, 0.9, 1, 1.1, 1.2, 1.3, 1.4, 1.5, 2, 2.5, 3] } = e, { widgetStyle: xe = "standard" } = e, { widgetPosition: jt = "auto" } = e, { widgetWidth: Je = "auto" } = e, { widgetTarget: Be = void 0 } = e, { textColor: We = "#111" } = e, { backgroundColor: Xe = "#f5f5f5" } = e, { iconColor: et = "rgba(0, 0, 0, 0.8)" } = e, { highlightColor: lt = "#eee" } = e, { videoTextColor: Fe = "white" } = e, { videoBackgroundColor: Pt = "black" } = e, { videoIconColor: ft = "white" } = e, { logoIconEnabled: mt = !0 } = e, { highlightSections: He = "all" } = e, { clickableSections: Ze = "all" } = e, { segmentWidgetSections: tt = "body" } = e, { segmentWidgetPosition: H = "7-oclock" } = e, { currentSegment: Ee = void 0 } = e, { hoveredSegment: je = void 0 } = e, { loadedMedia: ht = void 0 } = e, { advertConsent: St = "personalized" } = e, { analyticsConsent: Ge = "allowed" } = e, { analyticsCustomUrl: Ke = void 0 } = e, { analyticsDeviceType: Bt = "auto" } = e, { analyticsTag: at = void 0 } = e, { writeToken: wt = void 0 } = e, { captureErrors: ct = !0 } = e, { onError: zt = () => {
18429
+ function J2(t, e, i) {
18430
+ let n, o, s, l, a, r, u, c, g, v, _, m, w, y, A, S, C, T, I, E, R, Z, F, { playerApiUrl: U = "https://api.beyondwords.io/v1/projects/{id}/player" } = e, { projectId: ae = void 0 } = e, { contentId: ce = void 0 } = e, { playlistId: se = void 0 } = e, { sourceId: $ = void 0 } = e, { sourceUrl: Q = void 0 } = e, { playlist: re = [] } = e, { showUserInterface: de = !0 } = e, { showBottomWidget: Y = !1 } = e, { playerStyle: K = "standard" } = e, { playerTitle: te = void 0 } = e, { callToAction: b = void 0 } = e, { skipButtonStyle: P = "auto" } = e, { playlistStyle: j = "auto-5-4" } = e, { playlistToggle: L = "auto" } = e, { downloadFormats: Pe = [] } = e, { mediaSession: Ve = "auto" } = e, { content: Ue = [] } = e, { contentIndex: G = 0 } = e, { introsOutros: Te = [] } = e, { introsOutrosIndex: qe = -1 } = e, { adverts: Qe = [] } = e, { advertIndex: st = -1 } = e, { minDurationForMidroll: pt = 2 * 60 } = e, { minTimeUntilEndForMidroll: ut = 10 } = e, { persistentAdImage: Ye = !1 } = e, { persistentIndex: Re = -1 } = e, { duration: Ne = 0 } = e, { currentTime: gt = 0 } = e, { playbackState: ze = "stopped" } = e, { playbackRate: lt = 1 } = e, { playbackRates: $e = [0.5, 0.6, 0.7, 0.8, 0.9, 1, 1.1, 1.2, 1.3, 1.4, 1.5, 2, 2.5, 3] } = e, { widgetStyle: xe = "standard" } = e, { widgetPosition: jt = "auto" } = e, { widgetWidth: Je = "auto" } = e, { widgetTarget: Be = void 0 } = e, { textColor: We = "#111" } = e, { backgroundColor: Xe = "#f5f5f5" } = e, { iconColor: et = "rgba(0, 0, 0, 0.8)" } = e, { highlightColor: at = "#eee" } = e, { videoTextColor: Fe = "white" } = e, { videoBackgroundColor: Pt = "black" } = e, { videoIconColor: ft = "white" } = e, { logoIconEnabled: mt = !0 } = e, { highlightSections: He = "all" } = e, { clickableSections: Ze = "all" } = e, { segmentWidgetSections: tt = "body" } = e, { segmentWidgetPosition: H = "7-oclock" } = e, { currentSegment: Ee = void 0 } = e, { hoveredSegment: je = void 0 } = e, { loadedMedia: ht = void 0 } = e, { advertConsent: St = "personalized" } = e, { analyticsConsent: Ge = "allowed" } = e, { analyticsCustomUrl: Ke = void 0 } = e, { analyticsDeviceType: Bt = "auto" } = e, { analyticsTag: rt = void 0 } = e, { writeToken: wt = void 0 } = e, { captureErrors: ct = !0 } = e, { onError: zt = () => {
18348
18431
  } } = e, { transitions: Lt = [] } = e, { controlPanel: Dt = void 0 } = e;
18349
18432
  const Vt = (...h) => Tt.addEventListener(...h), _t = (...h) => Tt.removeEventListener(...h);
18350
- let { initialProps: he = {} } = e, { showMediaSession: k = !1 } = e, { metadataLoaded: V = !1 } = e, { isFullScreen: ue = !1 } = e, { mediaElement: Rt = void 0 } = e, { userInterface: qt = void 0 } = e, { widgetInterface: gi = void 0 } = e, { controller: Tt = void 0 } = e, { logoImagePosition: Fi = void 0 } = e, { analyticsUrl: si = void 0 } = e, { analyticsId: nn = void 0 } = e, { listenSessionId: yt = void 0 } = e, { sessionCreatedAt: Ti = void 0 } = e, { companionAdvert: li = void 0 } = e, { isNewListen: Pi = !1 } = e, { prevPercentage: Ct = 0 } = e, { segmentWidgets: Ht = [] } = e, { segmentContainers: bi = new tl((h) => i(49, Ht = h)) } = e, { segmentClickables: Ot = new $s() } = e, { segmentHighlights: ai = new il() } = e;
18351
- const Nt = (h) => Tt.processEvent(Kt({ emittedFrom: w }, h)), vn = () => i(99, T = je);
18433
+ let { initialProps: he = {} } = e, { showMediaSession: k = !1 } = e, { metadataLoaded: V = !1 } = e, { isFullScreen: ue = !1 } = e, { mediaElement: Rt = void 0 } = e, { userInterface: qt = void 0 } = e, { widgetInterface: gi = void 0 } = e, { controller: Tt = void 0 } = e, { logoImagePosition: Hi = void 0 } = e, { analyticsUrl: si = void 0 } = e, { analyticsId: sn = void 0 } = e, { listenSessionId: yt = void 0 } = e, { sessionCreatedAt: Pi = void 0 } = e, { companionAdvert: li = void 0 } = e, { isNewListen: Ci = !1 } = e, { prevPercentage: Ct = 0 } = e, { segmentWidgets: Ht = [] } = e, { segmentContainers: ki = new tl((h) => i(49, Ht = h)) } = e, { segmentClickables: Ot = new $s() } = e, { segmentHighlights: ai = new il() } = e;
18434
+ const Nt = (h) => Tt.processEvent(Kt({ emittedFrom: w }, h)), bn = () => i(99, T = je);
18352
18435
  function Yt(h) {
18353
18436
  oe[h ? "unshift" : "push"](() => {
18354
18437
  Rt = h, i(45, Rt);
18355
18438
  });
18356
18439
  }
18357
- function on(h) {
18440
+ function ln(h) {
18358
18441
  ze = h, i(12, ze);
18359
18442
  }
18360
18443
  function xt(h) {
@@ -18364,7 +18447,7 @@ function G2(t, e, i) {
18364
18447
  gt = h, i(11, gt);
18365
18448
  }
18366
18449
  function vt(h) {
18367
- st = h, i(32, st);
18450
+ lt = h, i(32, lt);
18368
18451
  }
18369
18452
  function ui(h) {
18370
18453
  Ct = h, i(48, Ct);
@@ -18382,7 +18465,7 @@ function G2(t, e, i) {
18382
18465
  gi = h, i(47, gi);
18383
18466
  });
18384
18467
  }
18385
- const D = (h) => Nt(Ui(Kt({}, h), {
18468
+ const D = (h) => Nt(Yi(Kt({}, h), {
18386
18469
  emittedFrom: "segment-widget",
18387
18470
  widgetSegment: R,
18388
18471
  widgetIsCurrent: Z
@@ -18396,28 +18479,28 @@ function G2(t, e, i) {
18396
18479
  function Zt(h) {
18397
18480
  se = h, i(2, se);
18398
18481
  }
18399
- function sn(h) {
18482
+ function an(h) {
18400
18483
  $ = h, i(3, $);
18401
18484
  }
18402
- function ln(h) {
18485
+ function rn(h) {
18403
18486
  Q = h, i(4, Q);
18404
18487
  }
18405
- function an(h) {
18488
+ function un(h) {
18406
18489
  de = h, i(5, de);
18407
18490
  }
18408
- function rn(h) {
18491
+ function cn(h) {
18409
18492
  K = h, i(6, K);
18410
18493
  }
18411
18494
  function ko(h) {
18412
18495
  te = h, i(24, te);
18413
18496
  }
18414
- function bn(h) {
18497
+ function kn(h) {
18415
18498
  b = h, i(25, b);
18416
18499
  }
18417
18500
  function po(h) {
18418
18501
  P = h, i(26, P);
18419
18502
  }
18420
- function Vi(h) {
18503
+ function Oi(h) {
18421
18504
  j = h, i(27, j);
18422
18505
  }
18423
18506
  function So(h) {
@@ -18433,12 +18516,12 @@ function G2(t, e, i) {
18433
18516
  qe = h, i(8, qe);
18434
18517
  }
18435
18518
  function Kn(h) {
18436
- rt = h, i(9, rt);
18519
+ st = h, i(9, st);
18437
18520
  }
18438
18521
  function Po(h) {
18439
18522
  Ye = h, i(30, Ye);
18440
18523
  }
18441
- function un(h) {
18524
+ function dn(h) {
18442
18525
  Re = h, i(10, Re);
18443
18526
  }
18444
18527
  function Gt(h) {
@@ -18447,11 +18530,11 @@ function G2(t, e, i) {
18447
18530
  function Bs(h) {
18448
18531
  gt = h, i(11, gt);
18449
18532
  }
18450
- function kn(h) {
18533
+ function pn(h) {
18451
18534
  ze = h, i(12, ze);
18452
18535
  }
18453
18536
  function ii(h) {
18454
- st = h, i(32, st);
18537
+ lt = h, i(32, lt);
18455
18538
  }
18456
18539
  function Co(h) {
18457
18540
  xe = h, i(13, xe);
@@ -18459,7 +18542,7 @@ function G2(t, e, i) {
18459
18542
  function Vn(h) {
18460
18543
  jt = h, i(33, jt);
18461
18544
  }
18462
- function Ci(h) {
18545
+ function Ai(h) {
18463
18546
  Je = h, i(34, Je);
18464
18547
  }
18465
18548
  function _e(h) {
@@ -18475,7 +18558,7 @@ function G2(t, e, i) {
18475
18558
  et = h, i(37, et);
18476
18559
  }
18477
18560
  function eu(h) {
18478
- lt = h, i(15, lt);
18561
+ at = h, i(15, at);
18479
18562
  }
18480
18563
  function tu(h) {
18481
18564
  Fe = h, i(38, Fe);
@@ -18514,10 +18597,10 @@ function G2(t, e, i) {
18514
18597
  Ke = h, i(43, Ke);
18515
18598
  }
18516
18599
  function fu(h) {
18517
- at = h, i(44, at);
18600
+ rt = h, i(44, rt);
18518
18601
  }
18519
18602
  return t.$$set = (h) => {
18520
- "playerApiUrl" in h && i(75, U = h.playerApiUrl), "projectId" in h && i(0, ae = h.projectId), "contentId" in h && i(1, ce = h.contentId), "playlistId" in h && i(2, se = h.playlistId), "sourceId" in h && i(3, $ = h.sourceId), "sourceUrl" in h && i(4, Q = h.sourceUrl), "playlist" in h && i(76, re = h.playlist), "showUserInterface" in h && i(5, de = h.showUserInterface), "showBottomWidget" in h && i(77, Y = h.showBottomWidget), "playerStyle" in h && i(6, K = h.playerStyle), "playerTitle" in h && i(24, te = h.playerTitle), "callToAction" in h && i(25, b = h.callToAction), "skipButtonStyle" in h && i(26, P = h.skipButtonStyle), "playlistStyle" in h && i(27, j = h.playlistStyle), "playlistToggle" in h && i(28, L = h.playlistToggle), "downloadFormats" in h && i(50, Pe = h.downloadFormats), "mediaSession" in h && i(29, Ve = h.mediaSession), "content" in h && i(51, Ue = h.content), "contentIndex" in h && i(7, G = h.contentIndex), "introsOutros" in h && i(52, Te = h.introsOutros), "introsOutrosIndex" in h && i(8, qe = h.introsOutrosIndex), "adverts" in h && i(53, Qe = h.adverts), "advertIndex" in h && i(9, rt = h.advertIndex), "minDurationForMidroll" in h && i(78, pt = h.minDurationForMidroll), "minTimeUntilEndForMidroll" in h && i(79, ut = h.minTimeUntilEndForMidroll), "persistentAdImage" in h && i(30, Ye = h.persistentAdImage), "persistentIndex" in h && i(10, Re = h.persistentIndex), "duration" in h && i(31, Ne = h.duration), "currentTime" in h && i(11, gt = h.currentTime), "playbackState" in h && i(12, ze = h.playbackState), "playbackRate" in h && i(32, st = h.playbackRate), "playbackRates" in h && i(54, $e = h.playbackRates), "widgetStyle" in h && i(13, xe = h.widgetStyle), "widgetPosition" in h && i(33, jt = h.widgetPosition), "widgetWidth" in h && i(34, Je = h.widgetWidth), "widgetTarget" in h && i(14, Be = h.widgetTarget), "textColor" in h && i(35, We = h.textColor), "backgroundColor" in h && i(36, Xe = h.backgroundColor), "iconColor" in h && i(37, et = h.iconColor), "highlightColor" in h && i(15, lt = h.highlightColor), "videoTextColor" in h && i(38, Fe = h.videoTextColor), "videoBackgroundColor" in h && i(55, Pt = h.videoBackgroundColor), "videoIconColor" in h && i(39, ft = h.videoIconColor), "logoIconEnabled" in h && i(40, mt = h.logoIconEnabled), "highlightSections" in h && i(16, He = h.highlightSections), "clickableSections" in h && i(17, Ze = h.clickableSections), "segmentWidgetSections" in h && i(18, tt = h.segmentWidgetSections), "segmentWidgetPosition" in h && i(19, H = h.segmentWidgetPosition), "currentSegment" in h && i(20, Ee = h.currentSegment), "hoveredSegment" in h && i(21, je = h.hoveredSegment), "loadedMedia" in h && i(80, ht = h.loadedMedia), "advertConsent" in h && i(41, St = h.advertConsent), "analyticsConsent" in h && i(42, Ge = h.analyticsConsent), "analyticsCustomUrl" in h && i(43, Ke = h.analyticsCustomUrl), "analyticsDeviceType" in h && i(81, Bt = h.analyticsDeviceType), "analyticsTag" in h && i(44, at = h.analyticsTag), "writeToken" in h && i(82, wt = h.writeToken), "captureErrors" in h && i(83, ct = h.captureErrors), "onError" in h && i(84, zt = h.onError), "transitions" in h && i(85, Lt = h.transitions), "controlPanel" in h && i(22, Dt = h.controlPanel), "initialProps" in h && i(88, he = h.initialProps), "showMediaSession" in h && i(56, k = h.showMediaSession), "metadataLoaded" in h && i(23, V = h.metadataLoaded), "isFullScreen" in h && i(57, ue = h.isFullScreen), "mediaElement" in h && i(45, Rt = h.mediaElement), "userInterface" in h && i(46, qt = h.userInterface), "widgetInterface" in h && i(47, gi = h.widgetInterface), "controller" in h && i(89, Tt = h.controller), "logoImagePosition" in h && i(58, Fi = h.logoImagePosition), "analyticsUrl" in h && i(90, si = h.analyticsUrl), "analyticsId" in h && i(91, nn = h.analyticsId), "listenSessionId" in h && i(92, yt = h.listenSessionId), "sessionCreatedAt" in h && i(93, Ti = h.sessionCreatedAt), "companionAdvert" in h && i(59, li = h.companionAdvert), "isNewListen" in h && i(94, Pi = h.isNewListen), "prevPercentage" in h && i(48, Ct = h.prevPercentage), "segmentWidgets" in h && i(49, Ht = h.segmentWidgets), "segmentContainers" in h && i(95, bi = h.segmentContainers), "segmentClickables" in h && i(96, Ot = h.segmentClickables), "segmentHighlights" in h && i(97, ai = h.segmentHighlights);
18603
+ "playerApiUrl" in h && i(75, U = h.playerApiUrl), "projectId" in h && i(0, ae = h.projectId), "contentId" in h && i(1, ce = h.contentId), "playlistId" in h && i(2, se = h.playlistId), "sourceId" in h && i(3, $ = h.sourceId), "sourceUrl" in h && i(4, Q = h.sourceUrl), "playlist" in h && i(76, re = h.playlist), "showUserInterface" in h && i(5, de = h.showUserInterface), "showBottomWidget" in h && i(77, Y = h.showBottomWidget), "playerStyle" in h && i(6, K = h.playerStyle), "playerTitle" in h && i(24, te = h.playerTitle), "callToAction" in h && i(25, b = h.callToAction), "skipButtonStyle" in h && i(26, P = h.skipButtonStyle), "playlistStyle" in h && i(27, j = h.playlistStyle), "playlistToggle" in h && i(28, L = h.playlistToggle), "downloadFormats" in h && i(50, Pe = h.downloadFormats), "mediaSession" in h && i(29, Ve = h.mediaSession), "content" in h && i(51, Ue = h.content), "contentIndex" in h && i(7, G = h.contentIndex), "introsOutros" in h && i(52, Te = h.introsOutros), "introsOutrosIndex" in h && i(8, qe = h.introsOutrosIndex), "adverts" in h && i(53, Qe = h.adverts), "advertIndex" in h && i(9, st = h.advertIndex), "minDurationForMidroll" in h && i(78, pt = h.minDurationForMidroll), "minTimeUntilEndForMidroll" in h && i(79, ut = h.minTimeUntilEndForMidroll), "persistentAdImage" in h && i(30, Ye = h.persistentAdImage), "persistentIndex" in h && i(10, Re = h.persistentIndex), "duration" in h && i(31, Ne = h.duration), "currentTime" in h && i(11, gt = h.currentTime), "playbackState" in h && i(12, ze = h.playbackState), "playbackRate" in h && i(32, lt = h.playbackRate), "playbackRates" in h && i(54, $e = h.playbackRates), "widgetStyle" in h && i(13, xe = h.widgetStyle), "widgetPosition" in h && i(33, jt = h.widgetPosition), "widgetWidth" in h && i(34, Je = h.widgetWidth), "widgetTarget" in h && i(14, Be = h.widgetTarget), "textColor" in h && i(35, We = h.textColor), "backgroundColor" in h && i(36, Xe = h.backgroundColor), "iconColor" in h && i(37, et = h.iconColor), "highlightColor" in h && i(15, at = h.highlightColor), "videoTextColor" in h && i(38, Fe = h.videoTextColor), "videoBackgroundColor" in h && i(55, Pt = h.videoBackgroundColor), "videoIconColor" in h && i(39, ft = h.videoIconColor), "logoIconEnabled" in h && i(40, mt = h.logoIconEnabled), "highlightSections" in h && i(16, He = h.highlightSections), "clickableSections" in h && i(17, Ze = h.clickableSections), "segmentWidgetSections" in h && i(18, tt = h.segmentWidgetSections), "segmentWidgetPosition" in h && i(19, H = h.segmentWidgetPosition), "currentSegment" in h && i(20, Ee = h.currentSegment), "hoveredSegment" in h && i(21, je = h.hoveredSegment), "loadedMedia" in h && i(80, ht = h.loadedMedia), "advertConsent" in h && i(41, St = h.advertConsent), "analyticsConsent" in h && i(42, Ge = h.analyticsConsent), "analyticsCustomUrl" in h && i(43, Ke = h.analyticsCustomUrl), "analyticsDeviceType" in h && i(81, Bt = h.analyticsDeviceType), "analyticsTag" in h && i(44, rt = h.analyticsTag), "writeToken" in h && i(82, wt = h.writeToken), "captureErrors" in h && i(83, ct = h.captureErrors), "onError" in h && i(84, zt = h.onError), "transitions" in h && i(85, Lt = h.transitions), "controlPanel" in h && i(22, Dt = h.controlPanel), "initialProps" in h && i(88, he = h.initialProps), "showMediaSession" in h && i(56, k = h.showMediaSession), "metadataLoaded" in h && i(23, V = h.metadataLoaded), "isFullScreen" in h && i(57, ue = h.isFullScreen), "mediaElement" in h && i(45, Rt = h.mediaElement), "userInterface" in h && i(46, qt = h.userInterface), "widgetInterface" in h && i(47, gi = h.widgetInterface), "controller" in h && i(89, Tt = h.controller), "logoImagePosition" in h && i(58, Hi = h.logoImagePosition), "analyticsUrl" in h && i(90, si = h.analyticsUrl), "analyticsId" in h && i(91, sn = h.analyticsId), "listenSessionId" in h && i(92, yt = h.listenSessionId), "sessionCreatedAt" in h && i(93, Pi = h.sessionCreatedAt), "companionAdvert" in h && i(59, li = h.companionAdvert), "isNewListen" in h && i(94, Ci = h.isNewListen), "prevPercentage" in h && i(48, Ct = h.prevPercentage), "segmentWidgets" in h && i(49, Ht = h.segmentWidgets), "segmentContainers" in h && i(95, ki = h.segmentContainers), "segmentClickables" in h && i(96, Ot = h.segmentClickables), "segmentHighlights" in h && i(97, ai = h.segmentHighlights);
18521
18604
  }, t.$$.update = () => {
18522
18605
  t.$$.dirty[0] & /*contentIndex*/
18523
18606
  128 | t.$$.dirty[1] & /*content*/
@@ -18525,7 +18608,7 @@ function G2(t, e, i) {
18525
18608
  256 | t.$$.dirty[1] & /*introsOutros*/
18526
18609
  2097152 && i(62, o = Te[qe]), t.$$.dirty[0] & /*advertIndex*/
18527
18610
  512 | t.$$.dirty[1] & /*adverts*/
18528
- 4194304 && i(63, s = Qe[rt]), t.$$.dirty[0] & /*persistentIndex*/
18611
+ 4194304 && i(63, s = Qe[st]), t.$$.dirty[0] & /*persistentIndex*/
18529
18612
  1024 | t.$$.dirty[1] & /*adverts*/
18530
18613
  4194304 && i(74, l = Qe[Re]), t.$$.dirty[0] & /*playbackState*/
18531
18614
  4096 | t.$$.dirty[2] & /*activeAdvert*/
@@ -18557,14 +18640,14 @@ function G2(t, e, i) {
18557
18640
  2 | t.$$.dirty[3] & /*showVideoPoster, isAdvert, contentItem*/
18558
18641
  1792 && i(69, C = S ? a && (s == null ? void 0 : s.imageUrl) || (n == null ? void 0 : n.imageUrl) : ""), t.$$.dirty[0] & /*projectId, contentId, playlistId, sourceId, sourceUrl*/
18559
18642
  31 | t.$$.dirty[2] & /*playlist*/
18560
- 16384 && Nt(P2()), t.$$.dirty[0] & /*projectId*/
18643
+ 16384 && Nt(A2()), t.$$.dirty[0] & /*projectId*/
18561
18644
  1 | t.$$.dirty[2] & /*playerApiUrl, writeToken*/
18562
- 1056768 && I2(U, ae, wt, (h) => Nt(h)), t.$$.dirty[0] & /*hoveredSegment*/
18645
+ 1056768 && V2(U, ae, wt, (h) => Nt(h)), t.$$.dirty[0] & /*hoveredSegment*/
18563
18646
  2097152 | t.$$.dirty[3] & /*lastHovered*/
18564
18647
  64 && i(99, T = je || T), t.$$.dirty[0] & /*currentSegment, segmentWidgetSections*/
18565
18648
  1310720 && i(98, I = ao("current", Ee, tt)), t.$$.dirty[0] & /*currentSegment*/
18566
18649
  1048576 | t.$$.dirty[3] & /*currentAllowedInWidget*/
18567
- 32 && I && vn(), t.$$.dirty[0] & /*segmentWidgetSections*/
18650
+ 32 && I && bn(), t.$$.dirty[0] & /*segmentWidgetSections*/
18568
18651
  262144 | t.$$.dirty[3] & /*lastHovered*/
18569
18652
  64 && i(100, E = ao("hovered", T, tt)), t.$$.dirty[0] & /*currentSegment*/
18570
18653
  1048576 | t.$$.dirty[3] & /*hoveredAllowedInWidget, lastHovered, currentAllowedInWidget*/
@@ -18574,15 +18657,15 @@ function G2(t, e, i) {
18574
18657
  7 && i(68, F = Z || s || o), t.$$.dirty[0] & /*segmentWidgetSections, segmentWidgetPosition, playerStyle*/
18575
18658
  786496 | t.$$.dirty[1] & /*widgetSegment*/
18576
18659
  1073741824 | t.$$.dirty[3] & /*segmentContainers*/
18577
- 4 && bi.update(R, tt, H, K), t.$$.dirty[0] & /*hoveredSegment, clickableSections*/
18660
+ 4 && ki.update(R, tt, H, K), t.$$.dirty[0] & /*hoveredSegment, clickableSections*/
18578
18661
  2228224 | t.$$.dirty[3] & /*segmentClickables*/
18579
18662
  8 && Ot.update(je, Ze), t.$$.dirty[0] & /*currentSegment, highlightSections, highlightColor*/
18580
18663
  1146880 | t.$$.dirty[3] & /*segmentHighlights*/
18581
- 16 && ai.update("current", Ee, He, lt), t.$$.dirty[0] & /*hoveredSegment, highlightSections, highlightColor*/
18664
+ 16 && ai.update("current", Ee, He, at), t.$$.dirty[0] & /*hoveredSegment, highlightSections, highlightColor*/
18582
18665
  2195456 | t.$$.dirty[3] & /*segmentHighlights*/
18583
- 16 && ai.update("hovered", je, He, lt), t.$$.dirty[0] & /*currentTime*/
18666
+ 16 && ai.update("hovered", je, He, at), t.$$.dirty[0] & /*currentTime*/
18584
18667
  2048 | t.$$.dirty[2] & /*transitions, controller*/
18585
- 142606336 && E2(Lt, Tt, gt);
18668
+ 142606336 && z2(Lt, Tt, gt);
18586
18669
  }, [
18587
18670
  ae,
18588
18671
  ce,
@@ -18593,13 +18676,13 @@ function G2(t, e, i) {
18593
18676
  K,
18594
18677
  G,
18595
18678
  qe,
18596
- rt,
18679
+ st,
18597
18680
  Re,
18598
18681
  gt,
18599
18682
  ze,
18600
18683
  xe,
18601
18684
  Be,
18602
- lt,
18685
+ at,
18603
18686
  He,
18604
18687
  Ze,
18605
18688
  tt,
@@ -18616,7 +18699,7 @@ function G2(t, e, i) {
18616
18699
  Ve,
18617
18700
  Ye,
18618
18701
  Ne,
18619
- st,
18702
+ lt,
18620
18703
  jt,
18621
18704
  Je,
18622
18705
  We,
@@ -18628,7 +18711,7 @@ function G2(t, e, i) {
18628
18711
  St,
18629
18712
  Ge,
18630
18713
  Ke,
18631
- at,
18714
+ rt,
18632
18715
  Rt,
18633
18716
  qt,
18634
18717
  gi,
@@ -18642,7 +18725,7 @@ function G2(t, e, i) {
18642
18725
  Pt,
18643
18726
  k,
18644
18727
  ue,
18645
- Fi,
18728
+ Hi,
18646
18729
  li,
18647
18730
  Nt,
18648
18731
  R,
@@ -18675,11 +18758,11 @@ function G2(t, e, i) {
18675
18758
  he,
18676
18759
  Tt,
18677
18760
  si,
18678
- nn,
18761
+ sn,
18679
18762
  yt,
18680
- Ti,
18681
18763
  Pi,
18682
- bi,
18764
+ Ci,
18765
+ ki,
18683
18766
  Ot,
18684
18767
  ai,
18685
18768
  I,
@@ -18691,7 +18774,7 @@ function G2(t, e, i) {
18691
18774
  r,
18692
18775
  c,
18693
18776
  Yt,
18694
- on,
18777
+ ln,
18695
18778
  xt,
18696
18779
  ri,
18697
18780
  vt,
@@ -18703,28 +18786,28 @@ function G2(t, e, i) {
18703
18786
  J,
18704
18787
  le,
18705
18788
  Zt,
18706
- sn,
18707
- ln,
18708
18789
  an,
18709
18790
  rn,
18791
+ un,
18792
+ cn,
18710
18793
  ko,
18711
- bn,
18794
+ kn,
18712
18795
  po,
18713
- Vi,
18796
+ Oi,
18714
18797
  So,
18715
18798
  Gn,
18716
18799
  wo,
18717
18800
  To,
18718
18801
  Kn,
18719
18802
  Po,
18720
- un,
18803
+ dn,
18721
18804
  Gt,
18722
18805
  Bs,
18723
- kn,
18806
+ pn,
18724
18807
  ii,
18725
18808
  Co,
18726
18809
  Vn,
18727
- Ci,
18810
+ Ai,
18728
18811
  _e,
18729
18812
  it,
18730
18813
  kt,
@@ -18745,13 +18828,13 @@ function G2(t, e, i) {
18745
18828
  fu
18746
18829
  ];
18747
18830
  }
18748
- let K2 = class extends we {
18831
+ let X2 = class extends we {
18749
18832
  constructor(e) {
18750
18833
  super(), Se(
18751
18834
  this,
18752
18835
  e,
18753
- G2,
18754
- Z2,
18836
+ J2,
18837
+ K2,
18755
18838
  pe,
18756
18839
  {
18757
18840
  playerApiUrl: 75,
@@ -19339,49 +19422,49 @@ let K2 = class extends we {
19339
19422
  return this.$$.ctx[60];
19340
19423
  }
19341
19424
  };
19342
- var hn, zn;
19343
- class J2 {
19425
+ var _n, zn;
19426
+ class Q2 {
19344
19427
  constructor(e, i) {
19345
- Ae(this, hn);
19428
+ Ae(this, _n);
19346
19429
  this.baseUrl = e == null ? void 0 : e.replace("{id}", i);
19347
19430
  }
19348
19431
  byContentId(e) {
19349
- return N(this, hn, zn).call(this, `by_content_id/${e}`);
19432
+ return N(this, _n, zn).call(this, `by_content_id/${e}`);
19350
19433
  }
19351
19434
  byPlaylistId(e) {
19352
- return N(this, hn, zn).call(this, `by_playlist_id/${e}`);
19435
+ return N(this, _n, zn).call(this, `by_playlist_id/${e}`);
19353
19436
  }
19354
19437
  bySourceId(e) {
19355
- return N(this, hn, zn).call(this, `by_source_id/${e}`);
19438
+ return N(this, _n, zn).call(this, `by_source_id/${e}`);
19356
19439
  }
19357
19440
  bySourceUrl(e) {
19358
- return N(this, hn, zn).call(this, `by_source_url/${e}`);
19441
+ return N(this, _n, zn).call(this, `by_source_url/${e}`);
19359
19442
  }
19360
19443
  byIdentifiers(e) {
19361
- return N(this, hn, zn).call(this, `by_identifiers/${encodeURIComponent(JSON.stringify(e))}`);
19444
+ return N(this, _n, zn).call(this, `by_identifiers/${encodeURIComponent(JSON.stringify(e))}`);
19362
19445
  }
19363
19446
  }
19364
- hn = new WeakSet(), zn = function(e) {
19447
+ _n = new WeakSet(), zn = function(e) {
19365
19448
  return vl(`${this.baseUrl}/${e}`, { headers: { "X-Referer": window.location.href } });
19366
19449
  };
19367
- const ll = (t) => typeof t != "object" || t === null ? t : Array.isArray(t) ? t.map(ll) : Object.fromEntries(Object.entries(t).map(([e, i]) => [e.replace(/([A-Z])/g, (n) => `_${n.toLowerCase()}`), ll(i)])), Wr = (t) => t === "dark" || t === "auto" && X2() ? "dark" : "light", X2 = () => window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches, Ra = (t) => ki(void 0, null, function* () {
19368
- const e = new J2(t.playerApiUrl, t.projectId);
19450
+ const ll = (t) => typeof t != "object" || t === null ? t : Array.isArray(t) ? t.map(ll) : Object.fromEntries(Object.entries(t).map(([e, i]) => [e.replace(/([A-Z])/g, (n) => `_${n.toLowerCase()}`), ll(i)])), Wr = (t) => t === "dark" || t === "auto" && $2() ? "dark" : "light", $2 = () => window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches, Ra = (t) => pi(void 0, null, function* () {
19451
+ const e = new Q2(t.playerApiUrl, t.projectId);
19369
19452
  if (!t.playerApiUrl || !t.projectId)
19370
19453
  return;
19371
- const i = Q2(t);
19454
+ const i = ev(t);
19372
19455
  if (i.length === 0)
19373
19456
  return;
19374
- const n = yield $2(e, i).catch(() => {
19457
+ const n = yield tv(e, i).catch(() => {
19375
19458
  });
19376
19459
  if (!(n != null && n.content)) {
19377
- ev(t);
19460
+ iv(t);
19378
19461
  return;
19379
19462
  }
19380
- tv(t, n);
19381
- }), Q2 = (t) => {
19463
+ nv(t, n);
19464
+ }), ev = (t) => {
19382
19465
  const e = [];
19383
19466
  return t.contentId && e.push({ content_id: t.contentId }), t.playlistId && e.push({ playlist_id: t.playlistId }), t.sourceId && e.push({ source_id: t.sourceId }), t.sourceUrl && e.push({ source_url: t.sourceUrl }), t.playlist && e.push(...ll(t.playlist)), [...new Set(e.map(JSON.stringify))].map(JSON.parse);
19384
- }, $2 = (t, e) => {
19467
+ }, tv = (t, e) => {
19385
19468
  const i = e[0];
19386
19469
  if (e.length > 1)
19387
19470
  return t.byIdentifiers(e);
@@ -19393,16 +19476,16 @@ const ll = (t) => typeof t != "object" || t === null ? t : Array.isArray(t) ? t.
19393
19476
  return t.bySourceId(i.source_id);
19394
19477
  if (i.source_url)
19395
19478
  return t.bySourceUrl(i.source_url);
19396
- }, ev = (t) => {
19479
+ }, iv = (t) => {
19397
19480
  Or(t), Mr(t), Er(t), t.onEvent(ye({
19398
19481
  type: "NoContentAvailable",
19399
19482
  description: "No published and processed content is available for the identifiers.",
19400
19483
  initiatedBy: "browser"
19401
19484
  }));
19402
- }, tv = (t, e) => {
19485
+ }, nv = (t, e) => {
19403
19486
  var s, l, a, r;
19404
19487
  const i = Wr(e.settings.theme), n = e.settings[`${i}_theme`], o = e.settings.video_theme;
19405
- Or(t), Mr(t, e), Er(t, e), Oe(t, "playerStyle", e.settings.player_style), Oe(t, "playerTitle", ((s = e.playlist) == null ? void 0 : s.title) || e.settings.player_title), Oe(t, "callToAction", e.settings.call_to_action === "Listen to this article" ? null : e.settings.call_to_action), Oe(t, "skipButtonStyle", e.settings.skip_button_style), Oe(t, "downloadFormats", e.settings.download_button_enabled ? ["mp3"] : []), Oe(t, "introsOutros", iv(e.settings)), Oe(t, "persistentAdImage", e.settings.persistent_ad_image), Oe(t, "duration", (r = (a = (l = t.content[t.contentIndex]) == null ? void 0 : l.audio) == null ? void 0 : a[0]) == null ? void 0 : r.duration), Oe(t, "widgetStyle", e.settings.widget_style), Oe(t, "widgetPosition", e.settings.widget_position), Oe(t, "textColor", n.text_color), Oe(t, "backgroundColor", n.background_color), Oe(t, "iconColor", n.icon_color), Oe(t, "highlightColor", n.highlight_color), Oe(t, "videoTextColor", o.text_color), Oe(t, "videoBackgroundColor", o.background_color), Oe(t, "videoIconColor", o.icon_color), Oe(t, "logoIconEnabled", e.settings.logo_icon_enabled), Oe(t, "logoImagePosition", e.video_settings.logo_image_position), Oe(t, "highlightSections", e.settings.segment_playback_enabled ? "all" : "none"), Oe(t, "clickableSections", e.settings.segment_playback_enabled ? "all" : "none"), Oe(t, "segmentWidgetSections", (e.settings.segment_playback_enabled, "none")), Oe(t, "analyticsConsent", nv(e.settings)), Oe(t, "analyticsCustomUrl", e.settings.analytics_custom_url), Oe(t, "analyticsTag", e.settings.analytics_tag), Oe(t, "analyticsUrl", e.settings.analytics_url), Oe(t, "analyticsId", e.settings.analytics_id);
19488
+ Or(t), Mr(t, e), Er(t, e), Oe(t, "playerStyle", e.settings.player_style), Oe(t, "playerTitle", ((s = e.playlist) == null ? void 0 : s.title) || e.settings.player_title), Oe(t, "callToAction", e.settings.call_to_action === "Listen to this article" ? null : e.settings.call_to_action), Oe(t, "skipButtonStyle", e.settings.skip_button_style), Oe(t, "downloadFormats", e.settings.download_button_enabled ? ["mp3"] : []), Oe(t, "introsOutros", ov(e.settings)), Oe(t, "persistentAdImage", e.settings.persistent_ad_image), Oe(t, "duration", (r = (a = (l = t.content[t.contentIndex]) == null ? void 0 : l.audio) == null ? void 0 : a[0]) == null ? void 0 : r.duration), Oe(t, "widgetStyle", e.settings.widget_style), Oe(t, "widgetPosition", e.settings.widget_position), Oe(t, "textColor", n.text_color), Oe(t, "backgroundColor", n.background_color), Oe(t, "iconColor", n.icon_color), Oe(t, "highlightColor", n.highlight_color), Oe(t, "videoTextColor", o.text_color), Oe(t, "videoBackgroundColor", o.background_color), Oe(t, "videoIconColor", o.icon_color), Oe(t, "logoIconEnabled", e.settings.logo_icon_enabled), Oe(t, "logoImagePosition", e.video_settings.logo_image_position), Oe(t, "highlightSections", e.settings.segment_playback_enabled ? "all" : "none"), Oe(t, "clickableSections", e.settings.segment_playback_enabled ? "all" : "none"), Oe(t, "segmentWidgetSections", (e.settings.segment_playback_enabled, "none")), Oe(t, "analyticsConsent", sv(e.settings)), Oe(t, "analyticsCustomUrl", e.settings.analytics_custom_url), Oe(t, "analyticsTag", e.settings.analytics_tag), Oe(t, "analyticsUrl", e.settings.analytics_url), Oe(t, "analyticsId", e.settings.analytics_id);
19406
19489
  }, Or = (t) => {
19407
19490
  Oe(t, "contentIndex", 0), Oe(t, "introsOutrosIndex", -1), Oe(t, "advertIndex", -1), Oe(t, "persistentIndex", -1), Oe(t, "duration", 0), Oe(t, "currentTime", 0), Oe(t, "playbackState", "stopped"), Oe(t, "currentSegment", void 0), Oe(t, "hoveredSegment", void 0);
19408
19491
  }, Mr = (t, e) => {
@@ -19475,15 +19558,15 @@ const ll = (t) => typeof t != "object" || t === null ? t : Array.isArray(t) ? t.
19475
19558
  }, Oe = (t, e, i) => {
19476
19559
  var o;
19477
19560
  typeof ((o = t.initialProps) == null ? void 0 : o[e]) != "undefined" || (t[e] = i);
19478
- }, iv = ({ intro_outro_enabled: t, intro_url: e, outro_url: i }) => {
19561
+ }, ov = ({ intro_outro_enabled: t, intro_url: e, outro_url: i }) => {
19479
19562
  if (!t)
19480
19563
  return [];
19481
19564
  const n = [];
19482
19565
  return e && n.push({ placement: "pre-roll", audio: [{ url: e }], video: [] }), i && n.push({ placement: "post-roll", audio: [{ url: i }], video: [] }), n;
19483
- }, nv = ({ analytics_enabled: t, analytics_uuid_enabled: e }) => t ? e ? "allowed" : "without-local-storage" : "none", ov = (t, e) => ki(void 0, null, function* () {
19566
+ }, sv = ({ analytics_enabled: t, analytics_uuid_enabled: e }) => t ? e ? "allowed" : "without-local-storage" : "none", lv = (t, e) => pi(void 0, null, function* () {
19484
19567
  const n = yield (yield fetch(t)).blob(), o = URL.createObjectURL(n), s = document.createElement("a");
19485
19568
  document.body.append(s), s.href = o, s.setAttribute("download", e), s.setAttribute("target", "_blank"), s.click(), s.remove();
19486
- }), ts = { vastUrls: /* @__PURE__ */ new Set(), mediaSources: /* @__PURE__ */ new Set() }, sv = (t) => {
19569
+ }), ts = { vastUrls: /* @__PURE__ */ new Set(), mediaSources: /* @__PURE__ */ new Set() }, av = (t) => {
19487
19570
  t.vastUrl && ts.vastUrls.add(t.vastUrl);
19488
19571
  for (const e of [...t.audio || [], ...t.video || []])
19489
19572
  ts.mediaSources.add(e.url);
@@ -19494,127 +19577,127 @@ const ll = (t) => typeof t != "object" || t === null ? t : Array.isArray(t) ? t.
19494
19577
  if (ts.mediaSources.has(e.url))
19495
19578
  return !0;
19496
19579
  return !1;
19497
- }, zr = /* @__PURE__ */ new Set(), lv = (t) => {
19580
+ }, zr = /* @__PURE__ */ new Set(), rv = (t) => {
19498
19581
  [...t.audio || [], ...t.video || []].forEach((i) => zr.add(i.url));
19499
- }, av = (t) => [...t.audio || [], ...t.video || []].some((i) => zr.has(i.url)), rv = ({ introsOutrosIndex: t, adverts: e, advertIndex: i, content: n = [], contentIndex: o, currentTime: s, atTheStart: l, atTheEnd: a, errored: r, minTimeUntilEndForMidroll: u, minDurationForMidroll: c } = {}) => {
19582
+ }, uv = (t) => [...t.audio || [], ...t.video || []].some((i) => zr.has(i.url)), cv = ({ introsOutrosIndex: t, adverts: e, advertIndex: i, content: n = [], contentIndex: o, currentTime: s, atTheStart: l, atTheEnd: a, errored: r, minTimeUntilEndForMidroll: u, minDurationForMidroll: c } = {}) => {
19500
19583
  var y;
19501
19584
  const g = e && e[i];
19502
19585
  e:
19503
19586
  if (g) {
19504
19587
  if (r) {
19505
- sv(g);
19588
+ av(g);
19506
19589
  break e;
19507
19590
  }
19508
19591
  if (a)
19509
- return lv(g), -1;
19592
+ return rv(g), -1;
19510
19593
  if (!a)
19511
19594
  return i;
19512
19595
  }
19513
19596
  if (!((y = n[o]) != null && y.adsEnabled) || t !== -1)
19514
19597
  return -1;
19515
- const v = cv({ content: n, contentIndex: o, currentTime: s, atTheStart: l, atTheEnd: a, minTimeUntilEndForMidroll: u, minDurationForMidroll: c });
19598
+ const v = gv({ content: n, contentIndex: o, currentTime: s, atTheStart: l, atTheEnd: a, minTimeUntilEndForMidroll: u, minDurationForMidroll: c });
19516
19599
  let _ = -1, m = -1 / 0, w = -1 / 0;
19517
19600
  for (const [A, S] of e.entries()) {
19518
- if (av(S) || jr(S) || !v.has(S.placement))
19601
+ if (uv(S) || jr(S) || !v.has(S.placement))
19519
19602
  continue;
19520
- const C = uv[S.type] || 0;
19603
+ const C = dv[S.type] || 0;
19521
19604
  if (C < m)
19522
19605
  continue;
19523
19606
  const T = Math.random();
19524
19607
  C === m && T < w || (_ = A, m = C, w = T);
19525
19608
  }
19526
19609
  return _;
19527
- }, uv = { vast: 1, custom: 0 }, cv = ({ content: t, contentIndex: e, currentTime: i, atTheStart: n, atTheEnd: o, minTimeUntilEndForMidroll: s, minDurationForMidroll: l }) => {
19528
- const a = e === 0, r = e === t.length - 1, u = t.length > 1, c = u && n && !a, g = t[e].segments, v = g[g.length - 1], _ = u ? null : gv(g, l), m = g[_], w = m && i > m.startTime, y = v ? v.startTime + v.duration : 0, A = i > y - s, S = /* @__PURE__ */ new Set();
19610
+ }, dv = { vast: 1, custom: 0 }, gv = ({ content: t, contentIndex: e, currentTime: i, atTheStart: n, atTheEnd: o, minTimeUntilEndForMidroll: s, minDurationForMidroll: l }) => {
19611
+ const a = e === 0, r = e === t.length - 1, u = t.length > 1, c = u && n && !a, g = t[e].segments, v = g[g.length - 1], _ = u ? null : mv(g, l), m = g[_], w = m && i > m.startTime, y = v ? v.startTime + v.duration : 0, A = i > y - s, S = /* @__PURE__ */ new Set();
19529
19612
  return n && S.add("pre-roll"), w && !A && S.add("mid-roll"), c && S.add("mid-roll"), o && r && S.add("post-roll"), c && S.add("post-roll"), S;
19530
- }, dv = 0.5, gv = (t, e) => {
19613
+ }, fv = 0.5, mv = (t, e) => {
19531
19614
  const i = t[t.length - 1];
19532
19615
  if (!i)
19533
19616
  return;
19534
19617
  const n = i.startTime + i.duration;
19535
19618
  if (n < e)
19536
19619
  return;
19537
- const o = n / 2, s = fl(t, n / 2), r = t[s].startTime >= o - dv ? s : s + 1;
19620
+ const o = n / 2, s = fl(t, n / 2), r = t[s].startTime >= o - fv ? s : s + 1;
19538
19621
  if (r !== t.length)
19539
19622
  return r;
19540
- }, fv = (t, e, i, n) => {
19623
+ }, hv = (t, e, i, n) => {
19541
19624
  let o = -1, s = -1 / 0, l = -1 / 0;
19542
19625
  for (const [a, r] of (n || []).entries()) {
19543
19626
  if (!t || jr(r) || r.type === "vast")
19544
19627
  continue;
19545
- const u = hv(a, e, i);
19628
+ const u = yv(a, e, i);
19546
19629
  if (u < s)
19547
19630
  continue;
19548
- const c = mv[r.placement] || 0;
19631
+ const c = _v[r.placement] || 0;
19549
19632
  u === s && c < l || (o = a, s = u, l = c);
19550
19633
  }
19551
19634
  return o;
19552
- }, mv = { "pre-roll": 2, "mid-roll": 1 }, hv = (t, e, i) => t === i ? 2 : t === e ? 1 : 0, Lr = { mediaSources: /* @__PURE__ */ new Set() }, _v = (t) => {
19635
+ }, _v = { "pre-roll": 2, "mid-roll": 1 }, yv = (t, e, i) => t === i ? 2 : t === e ? 1 : 0, Lr = { mediaSources: /* @__PURE__ */ new Set() }, vv = (t) => {
19553
19636
  for (const e of [...t.audio || [], t.video || []])
19554
19637
  Lr.mediaSources.add(e.url);
19555
- }, yv = (t) => {
19638
+ }, bv = (t) => {
19556
19639
  for (const e of [...t.audio || [], t.video || []])
19557
19640
  if (Lr.mediaSources.has(e.url))
19558
19641
  return !0;
19559
19642
  return !1;
19560
- }, Dr = /* @__PURE__ */ new Set(), vv = (t) => {
19643
+ }, Dr = /* @__PURE__ */ new Set(), kv = (t) => {
19561
19644
  [...t.audio || [], ...t.video || []].forEach((i) => Dr.add(i.url));
19562
- }, bv = (t) => [...t.audio || [], ...t.video || []].some((i) => Dr.has(i.url)), kv = ({ introsOutros: t = [], introsOutrosIndex: e, advertIndex: i, content: n, contentIndex: o, currentTime: s, atTheStart: l, atTheEnd: a, errored: r }) => {
19645
+ }, pv = (t) => [...t.audio || [], ...t.video || []].some((i) => Dr.has(i.url)), Sv = ({ introsOutros: t = [], introsOutrosIndex: e, advertIndex: i, content: n, contentIndex: o, currentTime: s, atTheStart: l, atTheEnd: a, errored: r }) => {
19563
19646
  const u = t[e];
19564
19647
  e:
19565
19648
  if (u) {
19566
19649
  if (r) {
19567
- _v(u);
19650
+ vv(u);
19568
19651
  break e;
19569
19652
  }
19570
19653
  if (a)
19571
- return vv(u), -1;
19654
+ return kv(u), -1;
19572
19655
  if (!a)
19573
19656
  return e;
19574
19657
  }
19575
19658
  if (i !== -1)
19576
19659
  return -1;
19577
- const c = pv({ content: n, contentIndex: o, currentTime: s, atTheStart: l, atTheEnd: a });
19660
+ const c = wv({ content: n, contentIndex: o, currentTime: s, atTheStart: l, atTheEnd: a });
19578
19661
  let g = -1, v = -1 / 0, _ = -1 / 0;
19579
19662
  for (const [m, w] of t.entries()) {
19580
- if (yv(w) || !c.has(w.placement))
19663
+ if (bv(w) || !c.has(w.placement))
19581
19664
  continue;
19582
- const y = bv(w) ? 1 : 0;
19665
+ const y = pv(w) ? 1 : 0;
19583
19666
  if (y < v)
19584
19667
  continue;
19585
19668
  const A = Math.random();
19586
19669
  y === v && A < _ || (g = m, v = y, _ = A);
19587
19670
  }
19588
19671
  return g;
19589
- }, pv = ({ content: t, contentIndex: e, currentTime: i, atTheStart: n, atTheEnd: o }) => {
19672
+ }, wv = ({ content: t, contentIndex: e, currentTime: i, atTheStart: n, atTheEnd: o }) => {
19590
19673
  const s = /* @__PURE__ */ new Set(), l = n && e === 0 && i === 0, a = o && e === t.length - 1;
19591
19674
  return l && s.add("pre-roll"), a && s.add("post-roll"), s;
19592
- }, Sv = (t) => {
19675
+ }, Tv = (t) => {
19593
19676
  if (!navigator.mediaSession)
19594
19677
  return;
19595
19678
  const e = t.instances().some((s) => s.mediaSession === "override");
19596
- if (Pv() && !e)
19679
+ if (Av() && !e)
19597
19680
  return;
19598
19681
  let i, n = -1 / 0, o = -1 / 0;
19599
19682
  for (const s of t.instances()) {
19600
19683
  if (s.mediaSession === "none")
19601
19684
  continue;
19602
- const l = wv[s.playbackState] || 0;
19685
+ const l = Pv[s.playbackState] || 0;
19603
19686
  if (l < n)
19604
19687
  continue;
19605
- const a = Tv[s.showMediaSession] || 0;
19688
+ const a = Cv[s.showMediaSession] || 0;
19606
19689
  l === n && a < o || (i = s, n = l, o = a);
19607
19690
  }
19608
19691
  for (const s of t.instances())
19609
19692
  s.showMediaSession = s === i;
19610
19693
  return i;
19611
- }, wv = { playing: 1, paused: 0, stopped: 0 }, Tv = { true: 1, false: 0 }, Pv = () => {
19694
+ }, Pv = { playing: 1, paused: 0, stopped: 0 }, Cv = { true: 1, false: 0 }, Av = () => {
19612
19695
  const t = navigator.mediaSession.metadata;
19613
19696
  if (!t || navigator.mediaSession.setByPlayer)
19614
19697
  return !1;
19615
19698
  const { title: e, artist: i, album: n, artwork: o } = t;
19616
19699
  return e || i || n || (o == null ? void 0 : o.length);
19617
- }, Cv = (t) => {
19700
+ }, Iv = (t) => {
19618
19701
  let e = !1, i, n = -1 / 0, o = -1 / 0;
19619
19702
  for (const s of t.instances()) {
19620
19703
  if (!s.userInterface || !sl(s.widgetStyle))
@@ -19625,7 +19708,7 @@ const ll = (t) => typeof t != "object" || t === null ? t : Array.isArray(t) ? t.
19625
19708
  }
19626
19709
  if (!(s.userInterface.relativeY < 0))
19627
19710
  continue;
19628
- const u = Av[s.playbackState] || 0;
19711
+ const u = Bv[s.playbackState] || 0;
19629
19712
  if (u < n)
19630
19713
  continue;
19631
19714
  const c = s.userInterface.absoluteY;
@@ -19634,9 +19717,9 @@ const ll = (t) => typeof t != "object" || t === null ? t : Array.isArray(t) ? t.
19634
19717
  e && n === 0 && (i = null);
19635
19718
  for (const s of t.instances())
19636
19719
  s.showBottomWidget = s === i;
19637
- }, Av = { playing: 2, paused: 1, stopped: 0 };
19638
- var fs, Rr, ms, Nr, hs, xr, mo, al, _s, Fr, ys, Ur, Oi, Yi, Ji, wn, yi, Ai, vs, qr, An, to, Xi, Tn, bs, Hr, ho, rl, Ni, gn, _o, ul, Qi, Pn, Ft, ni, $i, Cn, xi, fn, ks, Yr, ps, Zr, In, io, yo, cl, Ss, Gr, ws, Kr, Ts, Jr, Ps, Xr;
19639
- class Iv {
19720
+ }, Bv = { playing: 2, paused: 1, stopped: 0 };
19721
+ var fs, Rr, ms, Nr, hs, xr, mo, al, _s, Fr, ys, Ur, Ei, Gi, Qi, Tn, yi, Ii, vs, qr, In, to, $i, Pn, bs, Hr, ho, rl, Fi, fn, _o, ul, en, Cn, Ft, ni, tn, An, Ui, mn, ks, Yr, ps, Zr, Bn, io, yo, cl, Ss, Gr, ws, Kr, Ts, Jr, Ps, Xr;
19722
+ class Vv {
19640
19723
  constructor(e, i) {
19641
19724
  // private
19642
19725
  Ae(this, fs);
@@ -19645,23 +19728,23 @@ class Iv {
19645
19728
  Ae(this, mo);
19646
19729
  Ae(this, _s);
19647
19730
  Ae(this, ys);
19648
- Ae(this, Oi);
19649
- Ae(this, Ji);
19731
+ Ae(this, Ei);
19732
+ Ae(this, Qi);
19650
19733
  Ae(this, yi);
19651
19734
  Ae(this, vs);
19652
- Ae(this, An);
19653
- Ae(this, Xi);
19735
+ Ae(this, In);
19736
+ Ae(this, $i);
19654
19737
  Ae(this, bs);
19655
19738
  Ae(this, ho);
19656
- Ae(this, Ni);
19739
+ Ae(this, Fi);
19657
19740
  Ae(this, _o);
19658
- Ae(this, Qi);
19741
+ Ae(this, en);
19659
19742
  Ae(this, Ft);
19660
- Ae(this, $i);
19661
- Ae(this, xi);
19743
+ Ae(this, tn);
19744
+ Ae(this, Ui);
19662
19745
  Ae(this, ks);
19663
19746
  Ae(this, ps);
19664
- Ae(this, In);
19747
+ Ae(this, Bn);
19665
19748
  Ae(this, yo);
19666
19749
  Ae(this, Ss);
19667
19750
  Ae(this, ws);
@@ -19678,7 +19761,7 @@ class Iv {
19678
19761
  this.eventListeners[e] = this.eventListeners[e] || {}, delete this.eventListeners[e][i];
19679
19762
  }
19680
19763
  processEvent(e) {
19681
- return ki(this, null, function* () {
19764
+ return pi(this, null, function* () {
19682
19765
  yield Ir(() => this.player), Qu(e);
19683
19766
  const i = this[`handle${e.type}`], n = es(this.player);
19684
19767
  N(this, fs, Rr).call(this, e) ? e.status = "ignored-due-to-advert" : N(this, ms, Nr).call(this, e) ? e.status = "ignored-due-to-scrubbing" : N(this, hs, xr).call(this, e) ? e.status = "ignored-due-to-precedence" : i ? (yield i.call(this, e), N(this, ks, Yr).call(this), N(this, ps, Zr).call(this), e.status = "handled") : di("No handler function for event.", e);
@@ -19688,25 +19771,25 @@ class Iv {
19688
19771
  }
19689
19772
  // Please document all events and keep in-sync with /doc/player-events.md
19690
19773
  handlePressedChangeRate() {
19691
- N(this, Ni, gn).call(this, (e) => e + 1, { cycle: !0 });
19774
+ N(this, Fi, fn).call(this, (e) => e + 1, { cycle: !0 });
19692
19775
  }
19693
19776
  handlePressedEnterOnChangeRate() {
19694
- N(this, Ni, gn).call(this, (e) => e + 1, { cycle: !0 });
19777
+ N(this, Fi, fn).call(this, (e) => e + 1, { cycle: !0 });
19695
19778
  }
19696
19779
  handlePressedSpaceOnChangeRate() {
19697
- N(this, Ni, gn).call(this, (e) => e + 1, { cycle: !0 });
19780
+ N(this, Fi, fn).call(this, (e) => e + 1, { cycle: !0 });
19698
19781
  }
19699
19782
  handlePressedUpOnChangeRate() {
19700
- N(this, Ni, gn).call(this, (e) => e + 1);
19783
+ N(this, Fi, fn).call(this, (e) => e + 1);
19701
19784
  }
19702
19785
  handlePressedRightOnChangeRate() {
19703
- N(this, Ni, gn).call(this, (e) => e + 1);
19786
+ N(this, Fi, fn).call(this, (e) => e + 1);
19704
19787
  }
19705
19788
  handlePressedDownOnChangeRate() {
19706
- N(this, Ni, gn).call(this, (e) => e - 1);
19789
+ N(this, Fi, fn).call(this, (e) => e - 1);
19707
19790
  }
19708
19791
  handlePressedLeftOnChangeRate() {
19709
- N(this, Ni, gn).call(this, (e) => e - 1);
19792
+ N(this, Fi, fn).call(this, (e) => e - 1);
19710
19793
  }
19711
19794
  handlePressedPrevSegment() {
19712
19795
  N(this, _o, ul).call(this, (e) => e - 1);
@@ -19721,10 +19804,10 @@ class Iv {
19721
19804
  N(this, Ft, ni).call(this, (i) => i + e);
19722
19805
  }
19723
19806
  handlePressedPrevTrack() {
19724
- N(this, Qi, Pn).call(this, (e) => e - 1);
19807
+ N(this, en, Cn).call(this, (e) => e - 1);
19725
19808
  }
19726
19809
  handlePressedNextTrack() {
19727
- N(this, Qi, Pn).call(this, (e) => e + 1);
19810
+ N(this, en, Cn).call(this, (e) => e + 1);
19728
19811
  }
19729
19812
  handlePressedAdvertLink() {
19730
19813
  }
@@ -19751,22 +19834,22 @@ class Iv {
19751
19834
  handlePlaybackRateUpdated() {
19752
19835
  }
19753
19836
  handleVisibilityChanged() {
19754
- Cv(this.PlayerClass);
19837
+ Iv(this.PlayerClass);
19755
19838
  }
19756
19839
  handlePressedVideoBackground() {
19757
- N(this, Xi, Tn).call(this);
19840
+ N(this, $i, Pn).call(this);
19758
19841
  }
19759
19842
  handlePressedEnterOnProgressBar() {
19760
- N(this, Xi, Tn).call(this);
19843
+ N(this, $i, Pn).call(this);
19761
19844
  }
19762
19845
  handlePressedSpaceOnProgressBar() {
19763
- N(this, Xi, Tn).call(this);
19846
+ N(this, $i, Pn).call(this);
19764
19847
  }
19765
19848
  handlePressedEnterOnProgressCircle() {
19766
- N(this, Xi, Tn).call(this);
19849
+ N(this, $i, Pn).call(this);
19767
19850
  }
19768
19851
  handlePressedSpaceOnProgressCircle() {
19769
- N(this, Xi, Tn).call(this);
19852
+ N(this, $i, Pn).call(this);
19770
19853
  }
19771
19854
  handlePressedLeftOnProgressBar() {
19772
19855
  N(this, Ft, ni).call(this, (e) => e - 5);
@@ -19791,7 +19874,7 @@ class Iv {
19791
19874
  }
19792
19875
  handleIdentifiersChanged() {
19793
19876
  Ra(this.player).then(() => {
19794
- N(this, $i, Cn).call(this, { atTheStart: !0 }), N(this, xi, fn).call(this, { atTheStart: !0 });
19877
+ N(this, tn, An).call(this, { atTheStart: !0 }), N(this, Ui, mn).call(this, { atTheStart: !0 });
19795
19878
  });
19796
19879
  }
19797
19880
  handleNoContentAvailable({ description: e }) {
@@ -19804,21 +19887,21 @@ class Iv {
19804
19887
  this.player.playbackState = "paused";
19805
19888
  }
19806
19889
  handlePlaybackPlaying() {
19807
- this.PlayerClass.instances().filter((n) => n !== this.player).filter((n) => n.playbackState === "playing").forEach((n) => n.playbackState = "paused"), Sv(this.PlayerClass);
19890
+ this.PlayerClass.instances().filter((n) => n !== this.player).filter((n) => n.playbackState === "playing").forEach((n) => n.playbackState = "paused"), Tv(this.PlayerClass);
19808
19891
  }
19809
19892
  handlePlaybackPaused() {
19810
19893
  const e = this.player.playbackState === "playing", i = this.player.currentTime >= this.player.duration - 0.5;
19811
19894
  e && !i && !this.preScrubState && (this.player.playbackState = "paused");
19812
19895
  }
19813
19896
  handleCurrentTimeUpdated() {
19814
- this.midrollPlayed || N(this, xi, fn).call(this);
19897
+ this.midrollPlayed || N(this, Ui, mn).call(this);
19815
19898
  const e = this.player.currentTime <= so, i = this.player.currentTime >= this.player.duration, n = this.player.mediaElement.video.paused;
19816
19899
  !e && !i && !n && (this.player.playbackState = "playing");
19817
19900
  }
19818
19901
  handlePlaybackEnded() {
19819
19902
  N(this, vs, qr).call(this) && (this.midrollPlayed = !0), this.segmentPlayed = !1;
19820
- const e = N(this, Oi, Yi).call(this), i = N(this, yi, Ai).call(this);
19821
- N(this, xi, fn).call(this, { atTheEnd: !0, wasIntro: e }), !i && (N(this, $i, Cn).call(this, { atTheEnd: !0 }), !e && (N(this, Ji, wn).call(this) || N(this, yi, Ai).call(this) || N(this, Qi, Pn).call(this, (n) => n + 1)));
19903
+ const e = N(this, Ei, Gi).call(this), i = N(this, yi, Ii).call(this);
19904
+ N(this, Ui, mn).call(this, { atTheEnd: !0, wasIntro: e }), !i && (N(this, tn, An).call(this, { atTheEnd: !0 }), !e && (N(this, Qi, Tn).call(this) || N(this, yi, Ii).call(this) || N(this, en, Cn).call(this, (n) => n + 1)));
19822
19905
  }
19823
19906
  handlePlaybackNotAllowed({ description: e }) {
19824
19907
  console.warn(`BeyondWords.Player: ${e}`);
@@ -19826,20 +19909,20 @@ class Iv {
19826
19909
  this.player.playbackState = i ? "stopped" : "paused";
19827
19910
  }
19828
19911
  handlePlaybackErrored({ mediaType: e, errorMessage: i }) {
19829
- console.warn(`BeyondWords.Player: ${e} playback error: ${i}`), N(this, Oi, Yi).call(this) || N(this, Ji, wn).call(this) ? N(this, $i, Cn).call(this, { errored: !0 }) : N(this, yi, Ai).call(this) ? N(this, xi, fn).call(this, { errored: !0 }) : this.handlePlaybackEnded();
19912
+ console.warn(`BeyondWords.Player: ${e} playback error: ${i}`), N(this, Ei, Gi).call(this) || N(this, Qi, Tn).call(this) ? N(this, tn, An).call(this, { errored: !0 }) : N(this, yi, Ii).call(this) ? N(this, Ui, mn).call(this, { errored: !0 }) : this.handlePlaybackEnded();
19830
19913
  }
19831
19914
  handleCompanionAdvertChanged({ clickThroughUrl: e, imageUrl: i }) {
19832
19915
  this.player.companionAdvert = { clickThroughUrl: e, imageUrl: i };
19833
19916
  }
19834
19917
  handlePressedMaximize() {
19835
- ta() ? Ey() : My(this.player.target);
19918
+ ta() ? zy() : jy(this.player.target);
19836
19919
  }
19837
19920
  handleFullScreenModeUpdated() {
19838
19921
  const e = ta() === this.player.target, i = e ? "add" : "remove";
19839
19922
  this.player.isFullScreen = e, this.player.target.classList[i]("maximized");
19840
19923
  }
19841
19924
  handlePressedPlaylistItem({ index: e }) {
19842
- N(this, Qi, Pn).call(this, () => e), this.player.playbackState = "playing";
19925
+ N(this, en, Cn).call(this, () => e), this.player.playbackState = "playing";
19843
19926
  }
19844
19927
  handlePressedTogglePlaylist() {
19845
19928
  const e = this.player.playlistStyle.split("-"), i = this.player.content.length > 1, n = e[0] === "show" || e[0] === "auto" && i;
@@ -19848,7 +19931,7 @@ class Iv {
19848
19931
  handlePressedDownload({ contentIndex: e, audioIndex: i, videoIndex: n }) {
19849
19932
  var c, g;
19850
19933
  const o = this.player.content[e], s = (c = o.audio) == null ? void 0 : c[i], l = (g = o.video) == null ? void 0 : g[n], a = (s || l).url, r = a.split(".").pop(), u = `${o.title}.${r}`;
19851
- return ov(a, u);
19934
+ return lv(a, u);
19852
19935
  }
19853
19936
  handlePressedCloseWidget() {
19854
19937
  for (const e of this.PlayerClass.instances())
@@ -19856,28 +19939,28 @@ class Iv {
19856
19939
  }
19857
19940
  handleContentStatusChanged({ contentId: e, legacyId: i, sourceId: n, sourceUrl: o, contentStatus: s }) {
19858
19941
  s === "processed" && this.player.playbackState === "stopped" && this.player.contentIndex === 0 && this.player.currentTime === 0 && N(this, Ts, Jr).call(this, { contentId: e, legacyId: i, sourceId: n, sourceUrl: o }) && Ra(this.player).then(() => {
19859
- N(this, $i, Cn).call(this, { atTheStart: !0 }), N(this, xi, fn).call(this, { atTheStart: !0 });
19942
+ N(this, tn, An).call(this, { atTheStart: !0 }), N(this, Ui, mn).call(this, { atTheStart: !0 });
19860
19943
  });
19861
19944
  }
19862
19945
  handleCurrentSegmentUpdated({ segment: e, contentIndex: i, segmentIndex: n, segmentElement: o }) {
19863
19946
  var s;
19864
- N(this, An, to).call(this) ? this.player.currentSegment = Ui(Kt({}, e), { contentIndex: i, segmentIndex: n, segmentElement: o }) : this.segmentPlayed || ((s = this.player.segmentContainers) == null || s.reset(), this.player.currentSegment = null);
19947
+ N(this, In, to).call(this) ? this.player.currentSegment = Yi(Kt({}, e), { contentIndex: i, segmentIndex: n, segmentElement: o }) : this.segmentPlayed || ((s = this.player.segmentContainers) == null || s.reset(), this.player.currentSegment = null);
19865
19948
  }
19866
19949
  handleHoveredSegmentUpdated({ segment: e, contentIndex: i, segmentIndex: n, segmentElement: o }) {
19867
- e ? this.player.hoveredSegment = Ui(Kt({}, e), { contentIndex: i, segmentIndex: n, segmentElement: o }) : this.player.hoveredSegment = null;
19950
+ e ? this.player.hoveredSegment = Yi(Kt({}, e), { contentIndex: i, segmentIndex: n, segmentElement: o }) : this.player.hoveredSegment = null;
19868
19951
  }
19869
19952
  handlePressedSegment({ segment: e, contentIndex: i, segmentIndex: n, segmentElement: o }) {
19870
19953
  if (!ao("hovered", e, this.player.clickableSections))
19871
19954
  return;
19872
- if (!N(this, Ps, Xr).call(this, { contentIndex: i, segmentIndex: n }) && !N(this, yi, Ai).call(this)) {
19873
- N(this, Xi, Tn).call(this);
19955
+ if (!N(this, Ps, Xr).call(this, { contentIndex: i, segmentIndex: n }) && !N(this, yi, Ii).call(this)) {
19956
+ N(this, $i, Pn).call(this);
19874
19957
  return;
19875
19958
  }
19876
- i !== this.player.contentIndex && N(this, Qi, Pn).call(this, () => i), N(this, ho, rl).call(this, Kt({ contentIndex: i, segmentIndex: n, segmentElement: o }, e));
19959
+ i !== this.player.contentIndex && N(this, en, Cn).call(this, () => i), N(this, ho, rl).call(this, Kt({ contentIndex: i, segmentIndex: n, segmentElement: o }, e));
19877
19960
  }
19878
19961
  }
19879
19962
  fs = new WeakSet(), Rr = function({ type: e }) {
19880
- return N(this, yi, Ai).call(this) && (e.includes("ChangeRate") || e.includes("PrevSegment") || e.includes("NextSegment") || e.includes("SeekBack") || e.includes("SeekAhead") || e.includes("Progress") && !e.includes("Space") && !e.includes("Enter"));
19963
+ return N(this, yi, Ii).call(this) && (e.includes("ChangeRate") || e.includes("PrevSegment") || e.includes("NextSegment") || e.includes("SeekBack") || e.includes("SeekAhead") || e.includes("Progress") && !e.includes("Space") && !e.includes("Enter"));
19881
19964
  }, ms = new WeakSet(), Nr = function({ type: e }) {
19882
19965
  return this.preScrubState && (e.includes("CurrentTimeUpdated") || e.includes("PlaybackEnded"));
19883
19966
  }, hs = new WeakSet(), xr = function({ type: e, precedence: i }) {
@@ -19889,86 +19972,86 @@ fs = new WeakSet(), Rr = function({ type: e }) {
19889
19972
  return this.player.introsOutros.some((e) => e.placement === "pre-roll");
19890
19973
  }, ys = new WeakSet(), Ur = function() {
19891
19974
  return this.player.introsOutros.some((e) => e.placement === "post-roll");
19892
- }, Oi = new WeakSet(), Yi = function(e = this.player.introsOutrosIndex) {
19975
+ }, Ei = new WeakSet(), Gi = function(e = this.player.introsOutrosIndex) {
19893
19976
  var i, n, o;
19894
19977
  return ((o = (n = (i = this.player) == null ? void 0 : i.introsOutros) == null ? void 0 : n[e]) == null ? void 0 : o.placement) === "pre-roll";
19895
- }, Ji = new WeakSet(), wn = function(e = this.player.introsOutrosIndex) {
19978
+ }, Qi = new WeakSet(), Tn = function(e = this.player.introsOutrosIndex) {
19896
19979
  var i, n, o;
19897
19980
  return ((o = (n = (i = this.player) == null ? void 0 : i.introsOutros) == null ? void 0 : n[e]) == null ? void 0 : o.placement) === "post-roll";
19898
- }, yi = new WeakSet(), Ai = function() {
19981
+ }, yi = new WeakSet(), Ii = function() {
19899
19982
  return this.player.advertIndex !== -1;
19900
19983
  }, vs = new WeakSet(), qr = function() {
19901
19984
  var e;
19902
19985
  return ((e = this.player.adverts[this.player.advertIndex]) == null ? void 0 : e.placement) === "mid-roll";
19903
- }, An = new WeakSet(), to = function() {
19904
- return !N(this, Oi, Yi).call(this) && !N(this, Ji, wn).call(this) && !N(this, yi, Ai).call(this);
19905
- }, Xi = new WeakSet(), Tn = function() {
19986
+ }, In = new WeakSet(), to = function() {
19987
+ return !N(this, Ei, Gi).call(this) && !N(this, Qi, Tn).call(this) && !N(this, yi, Ii).call(this);
19988
+ }, $i = new WeakSet(), Pn = function() {
19906
19989
  this.player.playbackState === "playing" ? this.player.playbackState = "paused" : this.player.playbackState = "playing";
19907
19990
  }, bs = new WeakSet(), Hr = function() {
19908
19991
  this.player.playbackState === "playing" && (this.player.playbackState = "paused");
19909
19992
  }, ho = new WeakSet(), rl = function(s) {
19910
19993
  var l = s, { contentIndex: e, segmentIndex: i, segmentElement: n } = l, o = Ws(l, ["contentIndex", "segmentIndex", "segmentElement"]);
19911
19994
  N(this, Ft, ni).call(this, () => o.startTime, e), this.player.currentSegment = Kt({ contentIndex: e, segmentIndex: i, segmentElement: n }, o), this.player.playbackState = "playing", this.segmentPlayed = !0;
19912
- }, Ni = new WeakSet(), gn = function(e, { cycle: i } = {}) {
19995
+ }, Fi = new WeakSet(), fn = function(e, { cycle: i } = {}) {
19913
19996
  const n = this.player.playbackRates, o = n.length - 1, s = n.indexOf(this.player.playbackRate), l = e(s);
19914
19997
  let a;
19915
19998
  i ? a = l % n.length : a = Math.max(0, Math.min(o, l)), this.player.playbackRate = n[a] || 1;
19916
19999
  }, _o = new WeakSet(), ul = function(e) {
19917
20000
  const i = this.player.content[this.player.contentIndex].segments, n = fl(i, this.player.currentTime), o = e(n);
19918
- N(this, Oi, Yi).call(this) && o >= 0 ? this.handlePlaybackEnded() : N(this, Ji, wn).call(this) && o < 0 ? (N(this, In, io).call(this, -1), N(this, Ft, ni).call(this, () => {
20001
+ N(this, Ei, Gi).call(this) && o >= 0 ? this.handlePlaybackEnded() : N(this, Qi, Tn).call(this) && o < 0 ? (N(this, Bn, io).call(this, -1), N(this, Ft, ni).call(this, () => {
19919
20002
  var s;
19920
20003
  return ((s = i[i.length - 1]) == null ? void 0 : s.startTime) || 0.01;
19921
- }), this.player.playbackState = "playing") : N(this, An, to).call(this) && o < 0 && N(this, _s, Fr).call(this) ? (N(this, Ft, ni).call(this, () => 0), N(this, $i, Cn).call(this, { atTheStart: !0 })) : N(this, An, to).call(this) && o === i.length && N(this, ys, Ur).call(this) ? N(this, Ft, ni).call(this, () => this.player.duration - 0.01) : N(this, An, to).call(this) && o >= 0 && o < i.length && N(this, Ft, ni).call(this, () => i[o].startTime);
19922
- }, Qi = new WeakSet(), Pn = function(e) {
20004
+ }), this.player.playbackState = "playing") : N(this, In, to).call(this) && o < 0 && N(this, _s, Fr).call(this) ? (N(this, Ft, ni).call(this, () => 0), N(this, tn, An).call(this, { atTheStart: !0 })) : N(this, In, to).call(this) && o === i.length && N(this, ys, Ur).call(this) ? N(this, Ft, ni).call(this, () => this.player.duration - 0.01) : N(this, In, to).call(this) && o >= 0 && o < i.length && N(this, Ft, ni).call(this, () => i[o].startTime);
20005
+ }, en = new WeakSet(), Cn = function(e) {
19923
20006
  const i = e(this.player.contentIndex), n = i < 0 || i >= this.player.content.length;
19924
- n ? (this.player.playbackState = "stopped", N(this, Ft, ni).call(this, () => 0)) : (this.player.contentIndex = i, N(this, yi, Ai).call(this) || (N(this, Ft, ni).call(this, () => 0), this.midrollPlayed = !1)), N(this, In, io).call(this, -1), N(this, $i, Cn).call(this, { atTheStart: !0 }), n || N(this, xi, fn).call(this, { atTheStart: !0 });
20007
+ n ? (this.player.playbackState = "stopped", N(this, Ft, ni).call(this, () => 0)) : (this.player.contentIndex = i, N(this, yi, Ii).call(this) || (N(this, Ft, ni).call(this, () => 0), this.midrollPlayed = !1)), N(this, Bn, io).call(this, -1), N(this, tn, An).call(this, { atTheStart: !0 }), n || N(this, Ui, mn).call(this, { atTheStart: !0 });
19925
20008
  }, Ft = new WeakSet(), ni = function(e, i) {
19926
- if (N(this, yi, Ai).call(this))
20009
+ if (N(this, yi, Ii).call(this))
19927
20010
  this.prevTime = e(), this.prevContent = i;
19928
20011
  else {
19929
20012
  const n = this.player.duration || 0;
19930
20013
  this.player.currentTime = e(this.player.currentTime, n);
19931
20014
  }
19932
- }, $i = new WeakSet(), Cn = function({ atTheStart: e, atTheEnd: i, errored: n } = {}) {
20015
+ }, tn = new WeakSet(), An = function({ atTheStart: e, atTheEnd: i, errored: n } = {}) {
19933
20016
  const { content: o, introsOutros: s, currentTime: l } = this.player, a = typeof this.nextIntroOutro != "undefined" ? this.nextIntroOutro : this.player.introsOutrosIndex, r = typeof this.nextAdvert != "undefined" ? this.nextAdvert : this.player.advertIndex, u = typeof this.prevContent != "undefined" ? this.prevContent : this.player.contentIndex;
19934
- N(this, In, io).call(this, kv({ introsOutros: s, introsOutrosIndex: a, advertIndex: r, content: o, contentIndex: u, currentTime: l, atTheStart: e, atTheEnd: i, errored: n }));
19935
- }, xi = new WeakSet(), fn = function({ atTheStart: e, atTheEnd: i, wasIntro: n, errored: o } = {}) {
20017
+ N(this, Bn, io).call(this, Sv({ introsOutros: s, introsOutrosIndex: a, advertIndex: r, content: o, contentIndex: u, currentTime: l, atTheStart: e, atTheEnd: i, errored: n }));
20018
+ }, Ui = new WeakSet(), mn = function({ atTheStart: e, atTheEnd: i, wasIntro: n, errored: o } = {}) {
19936
20019
  const { adverts: s, content: l, currentTime: a, minDurationForMidroll: r, minTimeUntilEndForMidroll: u } = this.player;
19937
20020
  let c = typeof this.nextIntroOutro != "undefined" ? this.nextIntroOutro : this.player.introsOutrosIndex;
19938
20021
  const g = typeof this.nextAdvert != "undefined" ? this.nextAdvert : this.player.advertIndex, v = typeof this.prevContent != "undefined" ? this.prevContent : this.player.contentIndex;
19939
- n && (e = !0, i = !1, c = -1), N(this, yo, cl).call(this, rv({ introsOutrosIndex: c, adverts: s, advertIndex: g, content: l, contentIndex: v, currentTime: a, atTheStart: e, atTheEnd: i, errored: o, minDurationForMidroll: r, minTimeUntilEndForMidroll: u }));
20022
+ n && (e = !0, i = !1, c = -1), N(this, yo, cl).call(this, cv({ introsOutrosIndex: c, adverts: s, advertIndex: g, content: l, contentIndex: v, currentTime: a, atTheStart: e, atTheEnd: i, errored: o, minDurationForMidroll: r, minTimeUntilEndForMidroll: u }));
19940
20023
  const _ = this.player.persistentAdImage, m = this.player.persistentIndex;
19941
- this.player.persistentIndex = fv(_, m, g, s);
20024
+ this.player.persistentIndex = hv(_, m, g, s);
19942
20025
  }, ks = new WeakSet(), Yr = function() {
19943
- this.player.playbackState === "playing" && typeof this.nextIntroOutro != "undefined" && (N(this, In, io).call(this, this.nextIntroOutro), delete this.nextIntroOutro);
20026
+ this.player.playbackState === "playing" && typeof this.nextIntroOutro != "undefined" && (N(this, Bn, io).call(this, this.nextIntroOutro), delete this.nextIntroOutro);
19944
20027
  }, ps = new WeakSet(), Zr = function() {
19945
20028
  this.player.playbackState === "playing" && typeof this.nextAdvert != "undefined" && (N(this, yo, cl).call(this, this.nextAdvert), delete this.nextAdvert);
19946
- }, In = new WeakSet(), io = function(e) {
20029
+ }, Bn = new WeakSet(), io = function(e) {
19947
20030
  if (this.player.playbackState !== "playing" && e !== -1) {
19948
20031
  this.nextIntroOutro = e;
19949
20032
  return;
19950
20033
  } else
19951
20034
  delete this.nextIntroOutro;
19952
- if (!(this.player.contentIndex <= 0 && this.player.currentTime <= so) && N(this, Oi, Yi).call(this, e)) {
19953
- this.player.introsOutrosIndex = -1, N(this, xi, fn).call(this, { atTheStart: !0 });
20035
+ if (!(this.player.contentIndex <= 0 && this.player.currentTime <= so) && N(this, Ei, Gi).call(this, e)) {
20036
+ this.player.introsOutrosIndex = -1, N(this, Ui, mn).call(this, { atTheStart: !0 });
19954
20037
  return;
19955
20038
  }
19956
- const s = N(this, Oi, Yi).call(this), l = N(this, Ji, wn).call(this);
20039
+ const s = N(this, Ei, Gi).call(this), l = N(this, Qi, Tn).call(this);
19957
20040
  this.player.introsOutrosIndex = e;
19958
- const a = s && !N(this, Oi, Yi).call(this), r = l && !N(this, Ji, wn).call(this);
19959
- a && (this.player.currentTime = 0), r && N(this, Qi, Pn).call(this, () => 1 / 0);
20041
+ const a = s && !N(this, Ei, Gi).call(this), r = l && !N(this, Qi, Tn).call(this);
20042
+ a && (this.player.currentTime = 0), r && N(this, en, Cn).call(this, () => 1 / 0);
19960
20043
  }, yo = new WeakSet(), cl = function(e) {
19961
20044
  if (this.player.playbackState !== "playing" && e !== -1) {
19962
20045
  this.nextAdvert = e;
19963
20046
  return;
19964
20047
  } else
19965
20048
  delete this.nextAdvert;
19966
- const n = N(this, yi, Ai).call(this);
20049
+ const n = N(this, yi, Ii).call(this);
19967
20050
  this.player.advertIndex = e;
19968
- const o = !n && N(this, yi, Ai).call(this), s = n && !N(this, yi, Ai).call(this);
20051
+ const o = !n && N(this, yi, Ii).call(this), s = n && !N(this, yi, Ii).call(this);
19969
20052
  o && N(this, Ss, Gr).call(this), s && N(this, ws, Kr).call(this);
19970
20053
  }, Ss = new WeakSet(), Gr = function() {
19971
- N(this, Oi, Yi).call(this) || (this.prevTime = this.player.currentTime), this.prevRate = this.player.playbackRate, this.prevContent = this.player.contentIndex, this.player.currentTime = 0, this.player.playbackRate = 1;
20054
+ N(this, Ei, Gi).call(this) || (this.prevTime = this.player.currentTime), this.prevRate = this.player.playbackRate, this.prevContent = this.player.contentIndex, this.player.currentTime = 0, this.player.playbackRate = 1;
19972
20055
  }, ws = new WeakSet(), Kr = function() {
19973
20056
  this.player.playbackRate = this.prevRate || 1, this.player.contentIndex !== this.prevContent || (this.player.currentTime = this.prevTime), delete this.prevTime, delete this.prevRate, delete this.prevContent;
19974
20057
  }, Ts = new WeakSet(), Jr = function({ contentId: e, legacyId: i, sourceId: n, sourceUrl: o }) {
@@ -19979,20 +20062,20 @@ fs = new WeakSet(), Rr = function({ type: e }) {
19979
20062
  return ((n = this.player.currentSegment) == null ? void 0 : n.contentIndex) !== e || ((o = this.player.currentSegment) == null ? void 0 : o.segmentIndex) !== i;
19980
20063
  };
19981
20064
  var bo = "<unknown>";
19982
- function Bv(t) {
20065
+ function Wv(t) {
19983
20066
  var e = t.split(`
19984
20067
  `);
19985
20068
  return e.reduce(function(i, n) {
19986
- var o = Ov(n) || Ev(n) || Lv(n) || xv(n) || Rv(n);
20069
+ var o = Ev(n) || zv(n) || Rv(n) || Uv(n) || xv(n);
19987
20070
  return o && i.push(o), i;
19988
20071
  }, []);
19989
20072
  }
19990
- var Vv = /^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|webpack|<anonymous>|\/|[a-z]:\\|\\\\).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i, Wv = /\((\S*)(?::(\d+))(?::(\d+))\)/;
19991
- function Ov(t) {
19992
- var e = Vv.exec(t);
20073
+ var Ov = /^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|webpack|<anonymous>|\/|[a-z]:\\|\\\\).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i, Mv = /\((\S*)(?::(\d+))(?::(\d+))\)/;
20074
+ function Ev(t) {
20075
+ var e = Ov.exec(t);
19993
20076
  if (!e)
19994
20077
  return null;
19995
- var i = e[2] && e[2].indexOf("native") === 0, n = e[2] && e[2].indexOf("eval") === 0, o = Wv.exec(e[2]);
20078
+ var i = e[2] && e[2].indexOf("native") === 0, n = e[2] && e[2].indexOf("eval") === 0, o = Mv.exec(e[2]);
19996
20079
  return n && o != null && (e[2] = o[1], e[3] = o[2], e[4] = o[3]), {
19997
20080
  file: i ? null : e[2],
19998
20081
  methodName: e[1] || bo,
@@ -20001,9 +20084,9 @@ function Ov(t) {
20001
20084
  column: e[4] ? +e[4] : null
20002
20085
  };
20003
20086
  }
20004
- var Mv = /^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;
20005
- function Ev(t) {
20006
- var e = Mv.exec(t);
20087
+ var jv = /^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;
20088
+ function zv(t) {
20089
+ var e = jv.exec(t);
20007
20090
  return e ? {
20008
20091
  file: e[2],
20009
20092
  methodName: e[1] || bo,
@@ -20012,12 +20095,12 @@ function Ev(t) {
20012
20095
  column: e[4] ? +e[4] : null
20013
20096
  } : null;
20014
20097
  }
20015
- var jv = /^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i, zv = /(\S+) line (\d+)(?: > eval line \d+)* > eval/i;
20016
- function Lv(t) {
20017
- var e = jv.exec(t);
20098
+ var Lv = /^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i, Dv = /(\S+) line (\d+)(?: > eval line \d+)* > eval/i;
20099
+ function Rv(t) {
20100
+ var e = Lv.exec(t);
20018
20101
  if (!e)
20019
20102
  return null;
20020
- var i = e[3] && e[3].indexOf(" > eval") > -1, n = zv.exec(e[3]);
20103
+ var i = e[3] && e[3].indexOf(" > eval") > -1, n = Dv.exec(e[3]);
20021
20104
  return i && n != null && (e[3] = n[1], e[4] = n[2], e[5] = null), {
20022
20105
  file: e[3],
20023
20106
  methodName: e[1] || bo,
@@ -20026,9 +20109,9 @@ function Lv(t) {
20026
20109
  column: e[5] ? +e[5] : null
20027
20110
  };
20028
20111
  }
20029
- var Dv = /^\s*(?:([^@]*)(?:\((.*?)\))?@)?(\S.*?):(\d+)(?::(\d+))?\s*$/i;
20030
- function Rv(t) {
20031
- var e = Dv.exec(t);
20112
+ var Nv = /^\s*(?:([^@]*)(?:\((.*?)\))?@)?(\S.*?):(\d+)(?::(\d+))?\s*$/i;
20113
+ function xv(t) {
20114
+ var e = Nv.exec(t);
20032
20115
  return e ? {
20033
20116
  file: e[3],
20034
20117
  methodName: e[1] || bo,
@@ -20037,9 +20120,9 @@ function Rv(t) {
20037
20120
  column: e[5] ? +e[5] : null
20038
20121
  } : null;
20039
20122
  }
20040
- var Nv = /^\s*at (?:((?:\[object object\])?[^\\/]+(?: \[as \S+\])?) )?\(?(.*?):(\d+)(?::(\d+))?\)?\s*$/i;
20041
- function xv(t) {
20042
- var e = Nv.exec(t);
20123
+ var Fv = /^\s*at (?:((?:\[object object\])?[^\\/]+(?: \[as \S+\])?) )?\(?(.*?):(\d+)(?::(\d+))?\)?\s*$/i;
20124
+ function Uv(t) {
20125
+ var e = Fv.exec(t);
20043
20126
  return e ? {
20044
20127
  file: e[2],
20045
20128
  methodName: e[1] || bo,
@@ -20049,7 +20132,7 @@ function xv(t) {
20049
20132
  } : null;
20050
20133
  }
20051
20134
  let Na = !1, Fs, Us;
20052
- const Fv = ({ onError: t }) => {
20135
+ const qv = ({ onError: t }) => {
20053
20136
  if (!t || Na)
20054
20137
  return;
20055
20138
  Na = !0;
@@ -20071,8 +20154,8 @@ const Fv = ({ onError: t }) => {
20071
20154
  };
20072
20155
  }, xa = (t) => {
20073
20156
  var e;
20074
- return (e = Bv((t == null ? void 0 : t.stack) || "")[0]) == null ? void 0 : e.file;
20075
- }, Uv = () => {
20157
+ return (e = Wv((t == null ? void 0 : t.stack) || "")[0]) == null ? void 0 : e.file;
20158
+ }, Hv = () => {
20076
20159
  typeof window == "undefined" && di([
20077
20160
  "Trying to initialize BeyondWords.Player in a server context but this is unsupported.",
20078
20161
  "Please only initialize the player in a context where the global window object is available.",
@@ -20080,17 +20163,17 @@ const Fv = ({ onError: t }) => {
20080
20163
  ]);
20081
20164
  };
20082
20165
  let Fa = !1;
20083
- const qv = () => {
20084
- Fa || (addEventListener("mousedown", Hv), addEventListener("click", Zv), addEventListener("mousemove", Gv), Fa = !0);
20166
+ const Yv = () => {
20167
+ Fa || (addEventListener("mousedown", Zv), addEventListener("click", Kv), addEventListener("mousemove", Jv), Fa = !0);
20085
20168
  };
20086
20169
  let Qr, $r;
20087
- const Hv = (t) => {
20170
+ const Zv = (t) => {
20088
20171
  Qr = t.pageX, $r = t.pageY;
20089
- }, Yv = (t) => {
20172
+ }, Gv = (t) => {
20090
20173
  const e = t.pageX - Qr, i = t.pageY - $r;
20091
20174
  return Math.sqrt(e * e + i * i) > 5;
20092
- }, Zv = (t) => {
20093
- if (!t.defaultPrevented && !Yv(t) && t.button === 0)
20175
+ }, Kv = (t) => {
20176
+ if (!t.defaultPrevented && !Gv(t) && t.button === 0)
20094
20177
  for (const { player: e, segment: i, contentIndex: n, segmentIndex: o, segmentElement: s, precedence: l } of or(t.target))
20095
20178
  i && e.onEvent(ye({
20096
20179
  type: "PressedSegment",
@@ -20103,9 +20186,9 @@ const Hv = (t) => {
20103
20186
  segmentElement: s,
20104
20187
  precedence: l
20105
20188
  }));
20106
- }, Gv = (t) => {
20189
+ }, Jv = (t) => {
20107
20190
  for (const { p: e, player: i, segment: n, contentIndex: o, segmentIndex: s, segmentElement: l, precedence: a } of or(t.target))
20108
- n && Kv(e, o, s) && i.onEvent(ye({
20191
+ n && Xv(e, o, s) && i.onEvent(ye({
20109
20192
  type: "HoveredSegmentUpdated",
20110
20193
  description: "The user hovered over a different segment in the article.",
20111
20194
  initiatedBy: "user",
@@ -20116,7 +20199,7 @@ const Hv = (t) => {
20116
20199
  segmentElement: l,
20117
20200
  precedence: a
20118
20201
  }));
20119
- }, qo = {}, Kv = (t, e, i) => {
20202
+ }, qo = {}, Xv = (t, e, i) => {
20120
20203
  qo[t] || (qo[t] = {});
20121
20204
  const n = qo[t];
20122
20205
  return n.contentIndex === e && n.segmentIndex === i ? !1 : (n.contentIndex = e, n.segmentIndex = i, !0);
@@ -20126,28 +20209,28 @@ class qs {
20126
20209
  this.analyticsSink = e;
20127
20210
  }
20128
20211
  sendToCustomAnalytics(e) {
20129
- return C2(this.analyticsSink, e);
20212
+ return I2(this.analyticsSink, e);
20130
20213
  }
20131
20214
  sendToGoogleAnalytics(e, i) {
20132
- window.gtag("event", e, Ui(Kt({}, i), { send_to: this.analyticsSink }));
20215
+ window.gtag("event", e, Yi(Kt({}, i), { send_to: this.analyticsSink }));
20133
20216
  }
20134
20217
  }
20135
- const Jv = (t, e) => {
20136
- const i = Xv(t, e.type);
20218
+ const Qv = (t, e) => {
20219
+ const i = $v(t, e.type);
20137
20220
  if (!i)
20138
20221
  return;
20139
- const n = Qv(t, i);
20140
- ec(n), t.analyticsUrl && t.analyticsConsent !== "none" && new qs(t.analyticsUrl).sendToCustomAnalytics(n), t.analyticsCustomUrl && t.analyticsConsent !== "none" && new qs(t.analyticsCustomUrl).sendToCustomAnalytics(n), t.analyticsTag && new qs(t.analyticsTag).sendToGoogleAnalytics($v(n), n);
20141
- }, Xv = (t, e) => {
20222
+ const n = e3(t, i);
20223
+ ec(n), t.analyticsUrl && t.analyticsConsent !== "none" && new qs(t.analyticsUrl).sendToCustomAnalytics(n), t.analyticsCustomUrl && t.analyticsConsent !== "none" && new qs(t.analyticsCustomUrl).sendToCustomAnalytics(n), t.analyticsTag && new qs(t.analyticsTag).sendToGoogleAnalytics(t3(n), n);
20224
+ }, $v = (t, e) => {
20142
20225
  if (e === "MetadataLoaded" && !t.listenSessionId)
20143
20226
  return "load";
20144
- if (e === "PlaybackPlaying" && e3(t) && (t.isNewListen = !0), e === "CurrentTimeUpdated" && t.isNewListen)
20227
+ if (e === "PlaybackPlaying" && i3(t) && (t.isNewListen = !0), e === "CurrentTimeUpdated" && t.isNewListen)
20145
20228
  return t.isNewListen = !1, "play";
20146
- if (e === "CurrentTimeUpdated" && t3(t))
20229
+ if (e === "CurrentTimeUpdated" && n3(t))
20147
20230
  return "play_progress";
20148
20231
  if (e.startsWith("PressedAdvert"))
20149
20232
  return "ad_link_click";
20150
- }, Qv = (t, e) => {
20233
+ }, e3 = (t, e) => {
20151
20234
  var l, a;
20152
20235
  t.listenSessionId || (t.listenSessionId = Ko()), t.sessionCreatedAt || (t.sessionCreatedAt = Date.now());
20153
20236
  const i = ["without-local-storage", "none"].includes(t.analyticsConsent);
@@ -20155,7 +20238,7 @@ const Jv = (t, e) => {
20155
20238
  const n = t.adverts[t.advertIndex], o = t.content[t.contentIndex], s = t.duration ? t.currentTime / t.duration * 100 : 0;
20156
20239
  return {
20157
20240
  event_type: e,
20158
- device_type: i3(t),
20241
+ device_type: o3(t),
20159
20242
  media_type: n ? "ad" : "content",
20160
20243
  project_id: t.projectId,
20161
20244
  content_id: o == null ? void 0 : o.id,
@@ -20176,7 +20259,7 @@ const Jv = (t, e) => {
20176
20259
  player_version: "1",
20177
20260
  player_npm_version: Yo
20178
20261
  };
20179
- }, $v = ({ event_type: t, listen_length_percent: e }) => {
20262
+ }, t3 = ({ event_type: t, listen_length_percent: e }) => {
20180
20263
  const i = Math.floor(e / 10) * 10;
20181
20264
  if (t === "load")
20182
20265
  return "Load";
@@ -20188,7 +20271,7 @@ const Jv = (t, e) => {
20188
20271
  return `${i}% listened`;
20189
20272
  if (t === "ad_link_click")
20190
20273
  return "Advert Click";
20191
- }, e3 = (t) => {
20274
+ }, i3 = (t) => {
20192
20275
  var n, o;
20193
20276
  let e = !1;
20194
20277
  if (t.advertIndex !== -1) {
@@ -20199,27 +20282,27 @@ const Jv = (t, e) => {
20199
20282
  e = s !== t.prevContentId, t.prevContentId = s;
20200
20283
  }
20201
20284
  return e;
20202
- }, t3 = (t) => {
20285
+ }, n3 = (t) => {
20203
20286
  if (t.introsOutrosIndex !== -1)
20204
20287
  return;
20205
20288
  const e = t.prevPercentage + 10, i = t.currentTime / t.duration * 100;
20206
20289
  if (i >= e)
20207
20290
  return t.prevPercentage = Math.floor(i / 10) * 10, !0;
20208
- }, i3 = (t) => t.analyticsDeviceType !== "auto" ? t.analyticsDeviceType : Ua(499) ? "phone" : Ua(999) ? "tablet" : "desktop", Ua = (t) => window.matchMedia && window.matchMedia(`only screen and (max-device-width: ${t}px)`).matches;
20209
- var _n;
20210
- const Ii = class Ii extends K2 {
20291
+ }, o3 = (t) => t.analyticsDeviceType !== "auto" ? t.analyticsDeviceType : Ua(499) ? "phone" : Ua(999) ? "tablet" : "desktop", Ua = (t) => window.matchMedia && window.matchMedia(`only screen and (max-device-width: ${t}px)`).matches;
20292
+ var yn;
20293
+ const Bi = class Bi extends X2 {
20211
20294
  constructor(n) {
20212
20295
  var o = n, { target: e } = o, i = Ws(o, ["target"]);
20213
- Uv(), Fv(i), qv();
20214
- const { newTarget: s, showUserInterface: l } = D2(e);
20215
- s.classList.add("beyondwords-player", "bwp"), Ii._styleLoaded || (s.style.display = "none");
20216
- const a = new Iv(null, Ii);
20217
- a.addEventListener("<any>", (u) => Jv(this, u));
20296
+ Hv(), qv(i), Yv();
20297
+ const { newTarget: s, showUserInterface: l } = N2(e);
20298
+ s.classList.add("beyondwords-player", "bwp"), Bi._styleLoaded || (s.style.display = "none");
20299
+ const a = new Vv(null, Bi);
20300
+ a.addEventListener("<any>", (u) => Qv(this, u));
20218
20301
  const r = Kt({ showUserInterface: l }, i);
20219
- super({ target: s, props: Ui(Kt({ controller: a }, r), { initialProps: r }) }), a.player = this, Wi(Ii, _n).push(this);
20302
+ super({ target: s, props: Yi(Kt({ controller: a }, r), { initialProps: r }) }), a.player = this, Mi(Bi, yn).push(this);
20220
20303
  }
20221
20304
  static styleLoaded() {
20222
- Ii.instances().forEach((e) => e.target.style.removeProperty("display")), Ii._styleLoaded = !0;
20305
+ Bi.instances().forEach((e) => e.target.style.removeProperty("display")), Bi._styleLoaded = !0;
20223
20306
  }
20224
20307
  static get version() {
20225
20308
  return Yo;
@@ -20231,13 +20314,13 @@ const Ii = class Ii extends K2 {
20231
20314
  return `https://proxy.beyondwords.io/npm/@beyondwords/player@${Yo}/dist/hls.light.min.js`;
20232
20315
  }
20233
20316
  static instances() {
20234
- return [...Wi(Ii, _n)];
20317
+ return [...Mi(Bi, yn)];
20235
20318
  }
20236
20319
  static destroyAll() {
20237
- Wi(Ii, _n).forEach((e) => e.destroy());
20320
+ Mi(Bi, yn).forEach((e) => e.destroy());
20238
20321
  }
20239
20322
  destroy() {
20240
- this.$destroy(), pl(Ii, _n, Wi(Ii, _n).filter((e) => e !== this));
20323
+ this.$destroy(), pl(Bi, yn, Mi(Bi, yn).filter((e) => e !== this));
20241
20324
  }
20242
20325
  get target() {
20243
20326
  return this.$$.root;
@@ -20252,12 +20335,12 @@ const Ii = class Ii extends K2 {
20252
20335
  ]);
20253
20336
  }
20254
20337
  };
20255
- _n = new WeakMap(), Ae(Ii, _n, []);
20256
- let is = Ii;
20338
+ yn = new WeakMap(), Ae(Bi, yn, []);
20339
+ let is = Bi;
20257
20340
  var qa;
20258
20341
  typeof window != "undefined" && (window.BeyondWords || (window.BeyondWords = {}), (qa = window.BeyondWords).Player || (qa.Player = is));
20259
- const l3 = { Player: is };
20342
+ const r3 = { Player: is };
20260
20343
  export {
20261
- l3 as default
20344
+ r3 as default
20262
20345
  };
20263
20346
  //# sourceMappingURL=es.js.map