@beyondwords/player 0.1.32 → 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 +753 -674
- package/dist/es.js.map +1 -1
- package/dist/umd.js +14 -14
- package/dist/umd.js.map +1 -1
- package/package.json +1 -1
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
|
-
},
|
|
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
|
|
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
|
|
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.
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
364
|
+
let nn;
|
|
365
365
|
function Le() {
|
|
366
|
-
|
|
366
|
+
nn = {
|
|
367
367
|
r: 0,
|
|
368
368
|
c: [],
|
|
369
|
-
p:
|
|
369
|
+
p: nn
|
|
370
370
|
// parent group
|
|
371
371
|
};
|
|
372
372
|
}
|
|
373
373
|
function De() {
|
|
374
|
-
|
|
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),
|
|
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 =
|
|
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.
|
|
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"),
|
|
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) =>
|
|
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) =>
|
|
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 = () =>
|
|
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 =
|
|
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),
|
|
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"),
|
|
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 && !
|
|
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 =
|
|
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;
|
|
@@ -5492,7 +5492,7 @@ function G1(t, e, i) {
|
|
|
5492
5492
|
mediaUrl: u[0].url,
|
|
5493
5493
|
errorMessage: "The video tag contains sources but none are playable."
|
|
5494
5494
|
}));
|
|
5495
|
-
}, et = (H, Ee) =>
|
|
5495
|
+
}, et = (H, Ee) => pi(this, null, function* () {
|
|
5496
5496
|
var je;
|
|
5497
5497
|
Ee.fatal && ((je = j == null ? void 0 : j.destroy) == null || je.call(j), i(10, j = null), K(ye({
|
|
5498
5498
|
type: "PlaybackErrored",
|
|
@@ -6101,35 +6101,35 @@ var gm = (
|
|
|
6101
6101
|
var hm = function() {
|
|
6102
6102
|
return typeof Jo.ResizeObserver != "undefined" ? Jo.ResizeObserver : cr;
|
|
6103
6103
|
}();
|
|
6104
|
-
const
|
|
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(";");
|
|
6105
6105
|
function vm(t) {
|
|
6106
6106
|
let e, i, n, o;
|
|
6107
6107
|
return {
|
|
6108
6108
|
c() {
|
|
6109
|
-
e = ke("svg"), i = ke("path"),
|
|
6109
|
+
e = ke("svg"), i = ke("path"), ji(
|
|
6110
6110
|
i,
|
|
6111
6111
|
"fill",
|
|
6112
6112
|
/*color*/
|
|
6113
6113
|
t[1]
|
|
6114
|
-
),
|
|
6115
|
-
t[0]),
|
|
6116
|
-
t[0]),
|
|
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");
|
|
6117
6117
|
},
|
|
6118
6118
|
m(s, l) {
|
|
6119
6119
|
M(s, e, l), f(e, i);
|
|
6120
6120
|
},
|
|
6121
6121
|
p(s, [l]) {
|
|
6122
6122
|
l & /*color*/
|
|
6123
|
-
2 &&
|
|
6123
|
+
2 && ji(
|
|
6124
6124
|
i,
|
|
6125
6125
|
"fill",
|
|
6126
6126
|
/*color*/
|
|
6127
6127
|
s[1]
|
|
6128
6128
|
), l & /*scale*/
|
|
6129
6129
|
1 && n !== (n = 40 * /*scale*/
|
|
6130
|
-
s[0]) &&
|
|
6130
|
+
s[0]) && ji(e, "width", n), l & /*scale*/
|
|
6131
6131
|
1 && o !== (o = 40 * /*scale*/
|
|
6132
|
-
s[0]) &&
|
|
6132
|
+
s[0]) && ji(e, "height", o);
|
|
6133
6133
|
},
|
|
6134
6134
|
i: ee,
|
|
6135
6135
|
o: ee,
|
|
@@ -6161,35 +6161,35 @@ class km extends we {
|
|
|
6161
6161
|
this.$$set({ color: e }), d();
|
|
6162
6162
|
}
|
|
6163
6163
|
}
|
|
6164
|
-
const
|
|
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(";");
|
|
6165
6165
|
function wm(t) {
|
|
6166
6166
|
let e, i, n, o;
|
|
6167
6167
|
return {
|
|
6168
6168
|
c() {
|
|
6169
|
-
e = ke("svg"), i = ke("path"),
|
|
6169
|
+
e = ke("svg"), i = ke("path"), zi(
|
|
6170
6170
|
i,
|
|
6171
6171
|
"fill",
|
|
6172
6172
|
/*color*/
|
|
6173
6173
|
t[1]
|
|
6174
|
-
),
|
|
6175
|
-
t[0]),
|
|
6176
|
-
t[0]),
|
|
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");
|
|
6177
6177
|
},
|
|
6178
6178
|
m(s, l) {
|
|
6179
6179
|
M(s, e, l), f(e, i);
|
|
6180
6180
|
},
|
|
6181
6181
|
p(s, [l]) {
|
|
6182
6182
|
l & /*color*/
|
|
6183
|
-
2 &&
|
|
6183
|
+
2 && zi(
|
|
6184
6184
|
i,
|
|
6185
6185
|
"fill",
|
|
6186
6186
|
/*color*/
|
|
6187
6187
|
s[1]
|
|
6188
6188
|
), l & /*scale*/
|
|
6189
6189
|
1 && n !== (n = 40 * /*scale*/
|
|
6190
|
-
s[0]) &&
|
|
6190
|
+
s[0]) && zi(e, "width", n), l & /*scale*/
|
|
6191
6191
|
1 && o !== (o = 40 * /*scale*/
|
|
6192
|
-
s[0]) &&
|
|
6192
|
+
s[0]) && zi(e, "height", o);
|
|
6193
6193
|
},
|
|
6194
6194
|
i: ee,
|
|
6195
6195
|
o: ee,
|
|
@@ -6426,7 +6426,7 @@ class Om extends we {
|
|
|
6426
6426
|
this.$$set({ onEvent: e }), d();
|
|
6427
6427
|
}
|
|
6428
6428
|
}
|
|
6429
|
-
const
|
|
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(";");
|
|
6430
6430
|
function jm(t) {
|
|
6431
6431
|
let e, i, n, o, s, l, a;
|
|
6432
6432
|
return {
|
|
@@ -6434,22 +6434,22 @@ function jm(t) {
|
|
|
6434
6434
|
e = p("div"), i = p("span"), n = ne(
|
|
6435
6435
|
/*rate*/
|
|
6436
6436
|
t[0]
|
|
6437
|
-
), o = ne("x"),
|
|
6437
|
+
), o = ne("x"), gn(
|
|
6438
6438
|
i,
|
|
6439
6439
|
"font-size",
|
|
6440
6440
|
/*fontSize*/
|
|
6441
6441
|
t[4]
|
|
6442
|
-
),
|
|
6442
|
+
), gn(
|
|
6443
6443
|
i,
|
|
6444
6444
|
"color",
|
|
6445
6445
|
/*color*/
|
|
6446
6446
|
t[1]
|
|
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"),
|
|
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(
|
|
6448
6448
|
e,
|
|
6449
6449
|
"width",
|
|
6450
6450
|
/*size*/
|
|
6451
6451
|
t[5]
|
|
6452
|
-
),
|
|
6452
|
+
), gn(
|
|
6453
6453
|
e,
|
|
6454
6454
|
"height",
|
|
6455
6455
|
/*size*/
|
|
@@ -6491,30 +6491,30 @@ function jm(t) {
|
|
|
6491
6491
|
},
|
|
6492
6492
|
p(r, [u]) {
|
|
6493
6493
|
u & /*rate*/
|
|
6494
|
-
1 &&
|
|
6494
|
+
1 && Ti(
|
|
6495
6495
|
n,
|
|
6496
6496
|
/*rate*/
|
|
6497
6497
|
r[0]
|
|
6498
6498
|
), u & /*fontSize*/
|
|
6499
|
-
16 &&
|
|
6499
|
+
16 && gn(
|
|
6500
6500
|
i,
|
|
6501
6501
|
"font-size",
|
|
6502
6502
|
/*fontSize*/
|
|
6503
6503
|
r[4]
|
|
6504
6504
|
), u & /*color*/
|
|
6505
|
-
2 &&
|
|
6505
|
+
2 && gn(
|
|
6506
6506
|
i,
|
|
6507
6507
|
"color",
|
|
6508
6508
|
/*color*/
|
|
6509
6509
|
r[1]
|
|
6510
6510
|
), u & /*size*/
|
|
6511
|
-
32 &&
|
|
6511
|
+
32 && gn(
|
|
6512
6512
|
e,
|
|
6513
6513
|
"width",
|
|
6514
6514
|
/*size*/
|
|
6515
6515
|
r[5]
|
|
6516
6516
|
), u & /*size*/
|
|
6517
|
-
32 &&
|
|
6517
|
+
32 && gn(
|
|
6518
6518
|
e,
|
|
6519
6519
|
"height",
|
|
6520
6520
|
/*size*/
|
|
@@ -6661,7 +6661,7 @@ function Nm(t) {
|
|
|
6661
6661
|
/*color*/
|
|
6662
6662
|
a[1]
|
|
6663
6663
|
), r & /*seconds*/
|
|
6664
|
-
4 &&
|
|
6664
|
+
4 && Ti(
|
|
6665
6665
|
o,
|
|
6666
6666
|
/*seconds*/
|
|
6667
6667
|
a[2]
|
|
@@ -6713,35 +6713,35 @@ class Fm extends we {
|
|
|
6713
6713
|
this.$$set({ seconds: e }), d();
|
|
6714
6714
|
}
|
|
6715
6715
|
}
|
|
6716
|
-
const
|
|
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(";");
|
|
6717
6717
|
function Hm(t) {
|
|
6718
6718
|
let e, i, n, o;
|
|
6719
6719
|
return {
|
|
6720
6720
|
c() {
|
|
6721
|
-
e = ke("svg"), i = ke("path"),
|
|
6721
|
+
e = ke("svg"), i = ke("path"), Li(
|
|
6722
6722
|
i,
|
|
6723
6723
|
"fill",
|
|
6724
6724
|
/*color*/
|
|
6725
6725
|
t[1]
|
|
6726
|
-
),
|
|
6727
|
-
t[0]),
|
|
6728
|
-
t[0]),
|
|
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");
|
|
6729
6729
|
},
|
|
6730
6730
|
m(s, l) {
|
|
6731
6731
|
M(s, e, l), f(e, i);
|
|
6732
6732
|
},
|
|
6733
6733
|
p(s, [l]) {
|
|
6734
6734
|
l & /*color*/
|
|
6735
|
-
2 &&
|
|
6735
|
+
2 && Li(
|
|
6736
6736
|
i,
|
|
6737
6737
|
"fill",
|
|
6738
6738
|
/*color*/
|
|
6739
6739
|
s[1]
|
|
6740
6740
|
), l & /*scale*/
|
|
6741
6741
|
1 && n !== (n = 40 * /*scale*/
|
|
6742
|
-
s[0]) &&
|
|
6742
|
+
s[0]) && Li(e, "width", n), l & /*scale*/
|
|
6743
6743
|
1 && o !== (o = 40 * /*scale*/
|
|
6744
|
-
s[0]) &&
|
|
6744
|
+
s[0]) && Li(e, "height", o);
|
|
6745
6745
|
},
|
|
6746
6746
|
i: ee,
|
|
6747
6747
|
o: ee,
|
|
@@ -6773,46 +6773,46 @@ class Zm extends we {
|
|
|
6773
6773
|
this.$$set({ color: e }), d();
|
|
6774
6774
|
}
|
|
6775
6775
|
}
|
|
6776
|
-
const
|
|
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(";");
|
|
6777
6777
|
function Jm(t) {
|
|
6778
6778
|
let e, i, n, o, s;
|
|
6779
6779
|
return {
|
|
6780
6780
|
c() {
|
|
6781
|
-
e = ke("svg"), i = ke("path"), n = ke("path"),
|
|
6781
|
+
e = ke("svg"), i = ke("path"), n = ke("path"), Si(
|
|
6782
6782
|
i,
|
|
6783
6783
|
"fill",
|
|
6784
6784
|
/*color*/
|
|
6785
6785
|
t[1]
|
|
6786
|
-
),
|
|
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(
|
|
6787
6787
|
n,
|
|
6788
6788
|
"fill",
|
|
6789
6789
|
/*color*/
|
|
6790
6790
|
t[1]
|
|
6791
|
-
),
|
|
6792
|
-
t[0]),
|
|
6793
|
-
t[0]),
|
|
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");
|
|
6794
6794
|
},
|
|
6795
6795
|
m(l, a) {
|
|
6796
6796
|
M(l, e, a), f(e, i), f(e, n);
|
|
6797
6797
|
},
|
|
6798
6798
|
p(l, [a]) {
|
|
6799
6799
|
a & /*color*/
|
|
6800
|
-
2 &&
|
|
6800
|
+
2 && Si(
|
|
6801
6801
|
i,
|
|
6802
6802
|
"fill",
|
|
6803
6803
|
/*color*/
|
|
6804
6804
|
l[1]
|
|
6805
6805
|
), a & /*color*/
|
|
6806
|
-
2 &&
|
|
6806
|
+
2 && Si(
|
|
6807
6807
|
n,
|
|
6808
6808
|
"fill",
|
|
6809
6809
|
/*color*/
|
|
6810
6810
|
l[1]
|
|
6811
6811
|
), a & /*scale*/
|
|
6812
6812
|
1 && o !== (o = 40 * /*scale*/
|
|
6813
|
-
l[0]) &&
|
|
6813
|
+
l[0]) && Si(e, "width", o), a & /*scale*/
|
|
6814
6814
|
1 && s !== (s = 40 * /*scale*/
|
|
6815
|
-
l[0]) &&
|
|
6815
|
+
l[0]) && Si(e, "height", s);
|
|
6816
6816
|
},
|
|
6817
6817
|
i: ee,
|
|
6818
6818
|
o: ee,
|
|
@@ -7121,7 +7121,7 @@ function uh(t) {
|
|
|
7121
7121
|
/*color*/
|
|
7122
7122
|
a[1]
|
|
7123
7123
|
), r & /*seconds*/
|
|
7124
|
-
4 &&
|
|
7124
|
+
4 && Ti(
|
|
7125
7125
|
o,
|
|
7126
7126
|
/*seconds*/
|
|
7127
7127
|
a[2]
|
|
@@ -7173,35 +7173,35 @@ class dh extends we {
|
|
|
7173
7173
|
this.$$set({ seconds: e }), d();
|
|
7174
7174
|
}
|
|
7175
7175
|
}
|
|
7176
|
-
const
|
|
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(";");
|
|
7177
7177
|
function mh(t) {
|
|
7178
7178
|
let e, i, n, o;
|
|
7179
7179
|
return {
|
|
7180
7180
|
c() {
|
|
7181
|
-
e = ke("svg"), i = ke("path"),
|
|
7181
|
+
e = ke("svg"), i = ke("path"), Di(
|
|
7182
7182
|
i,
|
|
7183
7183
|
"fill",
|
|
7184
7184
|
/*color*/
|
|
7185
7185
|
t[1]
|
|
7186
|
-
),
|
|
7187
|
-
t[0]),
|
|
7188
|
-
t[0]),
|
|
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");
|
|
7189
7189
|
},
|
|
7190
7190
|
m(s, l) {
|
|
7191
7191
|
M(s, e, l), f(e, i);
|
|
7192
7192
|
},
|
|
7193
7193
|
p(s, [l]) {
|
|
7194
7194
|
l & /*color*/
|
|
7195
|
-
2 &&
|
|
7195
|
+
2 && Di(
|
|
7196
7196
|
i,
|
|
7197
7197
|
"fill",
|
|
7198
7198
|
/*color*/
|
|
7199
7199
|
s[1]
|
|
7200
7200
|
), l & /*scale*/
|
|
7201
7201
|
1 && n !== (n = 40 * /*scale*/
|
|
7202
|
-
s[0]) &&
|
|
7202
|
+
s[0]) && Di(e, "width", n), l & /*scale*/
|
|
7203
7203
|
1 && o !== (o = 40 * /*scale*/
|
|
7204
|
-
s[0]) &&
|
|
7204
|
+
s[0]) && Di(e, "height", o);
|
|
7205
7205
|
},
|
|
7206
7206
|
i: ee,
|
|
7207
7207
|
o: ee,
|
|
@@ -7233,46 +7233,46 @@ class _h extends we {
|
|
|
7233
7233
|
this.$$set({ color: e }), d();
|
|
7234
7234
|
}
|
|
7235
7235
|
}
|
|
7236
|
-
const
|
|
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(";");
|
|
7237
7237
|
function bh(t) {
|
|
7238
7238
|
let e, i, n, o, s;
|
|
7239
7239
|
return {
|
|
7240
7240
|
c() {
|
|
7241
|
-
e = ke("svg"), i = ke("path"), n = ke("path"),
|
|
7241
|
+
e = ke("svg"), i = ke("path"), n = ke("path"), wi(
|
|
7242
7242
|
i,
|
|
7243
7243
|
"fill",
|
|
7244
7244
|
/*color*/
|
|
7245
7245
|
t[1]
|
|
7246
|
-
),
|
|
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(
|
|
7247
7247
|
n,
|
|
7248
7248
|
"fill",
|
|
7249
7249
|
/*color*/
|
|
7250
7250
|
t[1]
|
|
7251
|
-
),
|
|
7252
|
-
t[0]),
|
|
7253
|
-
t[0]),
|
|
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");
|
|
7254
7254
|
},
|
|
7255
7255
|
m(l, a) {
|
|
7256
7256
|
M(l, e, a), f(e, i), f(e, n);
|
|
7257
7257
|
},
|
|
7258
7258
|
p(l, [a]) {
|
|
7259
7259
|
a & /*color*/
|
|
7260
|
-
2 &&
|
|
7260
|
+
2 && wi(
|
|
7261
7261
|
i,
|
|
7262
7262
|
"fill",
|
|
7263
7263
|
/*color*/
|
|
7264
7264
|
l[1]
|
|
7265
7265
|
), a & /*color*/
|
|
7266
|
-
2 &&
|
|
7266
|
+
2 && wi(
|
|
7267
7267
|
n,
|
|
7268
7268
|
"fill",
|
|
7269
7269
|
/*color*/
|
|
7270
7270
|
l[1]
|
|
7271
7271
|
), a & /*scale*/
|
|
7272
7272
|
1 && o !== (o = 40 * /*scale*/
|
|
7273
|
-
l[0]) &&
|
|
7273
|
+
l[0]) && wi(e, "width", o), a & /*scale*/
|
|
7274
7274
|
1 && s !== (s = 40 * /*scale*/
|
|
7275
|
-
l[0]) &&
|
|
7275
|
+
l[0]) && wi(e, "height", s);
|
|
7276
7276
|
},
|
|
7277
7277
|
i: ee,
|
|
7278
7278
|
o: ee,
|
|
@@ -8037,35 +8037,35 @@ class Xh extends we {
|
|
|
8037
8037
|
this.$$set({ controlsOrder: e }), d();
|
|
8038
8038
|
}
|
|
8039
8039
|
}
|
|
8040
|
-
const
|
|
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(";");
|
|
8041
8041
|
function e0(t) {
|
|
8042
8042
|
let e, i, n, o;
|
|
8043
8043
|
return {
|
|
8044
8044
|
c() {
|
|
8045
|
-
e = ke("svg"), i = ke("path"),
|
|
8045
|
+
e = ke("svg"), i = ke("path"), Ri(
|
|
8046
8046
|
i,
|
|
8047
8047
|
"fill",
|
|
8048
8048
|
/*color*/
|
|
8049
8049
|
t[1]
|
|
8050
|
-
),
|
|
8051
|
-
t[0]),
|
|
8052
|
-
t[0]),
|
|
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");
|
|
8053
8053
|
},
|
|
8054
8054
|
m(s, l) {
|
|
8055
8055
|
M(s, e, l), f(e, i);
|
|
8056
8056
|
},
|
|
8057
8057
|
p(s, [l]) {
|
|
8058
8058
|
l & /*color*/
|
|
8059
|
-
2 &&
|
|
8059
|
+
2 && Ri(
|
|
8060
8060
|
i,
|
|
8061
8061
|
"fill",
|
|
8062
8062
|
/*color*/
|
|
8063
8063
|
s[1]
|
|
8064
8064
|
), l & /*scale*/
|
|
8065
8065
|
1 && n !== (n = 17 * /*scale*/
|
|
8066
|
-
s[0]) &&
|
|
8066
|
+
s[0]) && Ri(e, "width", n), l & /*scale*/
|
|
8067
8067
|
1 && o !== (o = 17 * /*scale*/
|
|
8068
|
-
s[0]) &&
|
|
8068
|
+
s[0]) && Ri(e, "height", o);
|
|
8069
8069
|
},
|
|
8070
8070
|
i: ee,
|
|
8071
8071
|
o: ee,
|
|
@@ -8167,7 +8167,7 @@ function s0(t) {
|
|
|
8167
8167
|
);
|
|
8168
8168
|
return {
|
|
8169
8169
|
c() {
|
|
8170
|
-
n && n.c(), e =
|
|
8170
|
+
n && n.c(), e = qi();
|
|
8171
8171
|
},
|
|
8172
8172
|
m(o, s) {
|
|
8173
8173
|
n && n.m(o, s), M(o, e, s), i = !0;
|
|
@@ -8307,35 +8307,35 @@ class dr extends we {
|
|
|
8307
8307
|
this.$$set({ onEvent: e }), d();
|
|
8308
8308
|
}
|
|
8309
8309
|
}
|
|
8310
|
-
const
|
|
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(";");
|
|
8311
8311
|
function u0(t) {
|
|
8312
8312
|
let e, i, n, o;
|
|
8313
8313
|
return {
|
|
8314
8314
|
c() {
|
|
8315
|
-
e = ke("svg"), i = ke("path"),
|
|
8315
|
+
e = ke("svg"), i = ke("path"), Ni(
|
|
8316
8316
|
i,
|
|
8317
8317
|
"fill",
|
|
8318
8318
|
/*color*/
|
|
8319
8319
|
t[1]
|
|
8320
|
-
),
|
|
8321
|
-
t[0]),
|
|
8322
|
-
t[0]),
|
|
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");
|
|
8323
8323
|
},
|
|
8324
8324
|
m(s, l) {
|
|
8325
8325
|
M(s, e, l), f(e, i);
|
|
8326
8326
|
},
|
|
8327
8327
|
p(s, [l]) {
|
|
8328
8328
|
l & /*color*/
|
|
8329
|
-
2 &&
|
|
8329
|
+
2 && Ni(
|
|
8330
8330
|
i,
|
|
8331
8331
|
"fill",
|
|
8332
8332
|
/*color*/
|
|
8333
8333
|
s[1]
|
|
8334
8334
|
), l & /*scale*/
|
|
8335
8335
|
1 && n !== (n = 24 * /*scale*/
|
|
8336
|
-
s[0]) &&
|
|
8336
|
+
s[0]) && Ni(e, "width", n), l & /*scale*/
|
|
8337
8337
|
1 && o !== (o = 24 * /*scale*/
|
|
8338
|
-
s[0]) &&
|
|
8338
|
+
s[0]) && Ni(e, "height", o);
|
|
8339
8339
|
},
|
|
8340
8340
|
i: ee,
|
|
8341
8341
|
o: ee,
|
|
@@ -8455,35 +8455,35 @@ class _0 extends we {
|
|
|
8455
8455
|
this.$$set({ onEvent: e }), d();
|
|
8456
8456
|
}
|
|
8457
8457
|
}
|
|
8458
|
-
const
|
|
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(";");
|
|
8459
8459
|
function b0(t) {
|
|
8460
8460
|
let e, i, n, o;
|
|
8461
8461
|
return {
|
|
8462
8462
|
c() {
|
|
8463
|
-
e = ke("svg"), i = ke("path"),
|
|
8463
|
+
e = ke("svg"), i = ke("path"), xi(
|
|
8464
8464
|
i,
|
|
8465
8465
|
"fill",
|
|
8466
8466
|
/*color*/
|
|
8467
8467
|
t[1]
|
|
8468
|
-
),
|
|
8469
|
-
t[0]),
|
|
8470
|
-
t[0]),
|
|
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");
|
|
8471
8471
|
},
|
|
8472
8472
|
m(s, l) {
|
|
8473
8473
|
M(s, e, l), f(e, i);
|
|
8474
8474
|
},
|
|
8475
8475
|
p(s, [l]) {
|
|
8476
8476
|
l & /*color*/
|
|
8477
|
-
2 &&
|
|
8477
|
+
2 && xi(
|
|
8478
8478
|
i,
|
|
8479
8479
|
"fill",
|
|
8480
8480
|
/*color*/
|
|
8481
8481
|
s[1]
|
|
8482
8482
|
), l & /*scale*/
|
|
8483
8483
|
1 && n !== (n = 12 * /*scale*/
|
|
8484
|
-
s[0]) &&
|
|
8484
|
+
s[0]) && xi(e, "width", n), l & /*scale*/
|
|
8485
8485
|
1 && o !== (o = 12 * /*scale*/
|
|
8486
|
-
s[0]) &&
|
|
8486
|
+
s[0]) && xi(e, "height", o);
|
|
8487
8487
|
},
|
|
8488
8488
|
i: ee,
|
|
8489
8489
|
o: ee,
|
|
@@ -8625,35 +8625,35 @@ class C0 extends we {
|
|
|
8625
8625
|
this.$$set({ onEvent: e }), d();
|
|
8626
8626
|
}
|
|
8627
8627
|
}
|
|
8628
|
-
const
|
|
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(";");
|
|
8629
8629
|
function B0(t) {
|
|
8630
8630
|
let e, i, n, o;
|
|
8631
8631
|
return {
|
|
8632
8632
|
c() {
|
|
8633
|
-
e = ke("svg"), i = ke("path"),
|
|
8633
|
+
e = ke("svg"), i = ke("path"), Zi(
|
|
8634
8634
|
i,
|
|
8635
8635
|
"fill",
|
|
8636
8636
|
/*color*/
|
|
8637
8637
|
t[1]
|
|
8638
|
-
),
|
|
8639
|
-
t[0]),
|
|
8640
|
-
t[0]),
|
|
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");
|
|
8641
8641
|
},
|
|
8642
8642
|
m(s, l) {
|
|
8643
8643
|
M(s, e, l), f(e, i);
|
|
8644
8644
|
},
|
|
8645
8645
|
p(s, [l]) {
|
|
8646
8646
|
l & /*color*/
|
|
8647
|
-
2 &&
|
|
8647
|
+
2 && Zi(
|
|
8648
8648
|
i,
|
|
8649
8649
|
"fill",
|
|
8650
8650
|
/*color*/
|
|
8651
8651
|
s[1]
|
|
8652
8652
|
), l & /*scale*/
|
|
8653
8653
|
1 && n !== (n = 64 * /*scale*/
|
|
8654
|
-
s[0]) &&
|
|
8654
|
+
s[0]) && Zi(e, "width", n), l & /*scale*/
|
|
8655
8655
|
1 && o !== (o = 64 * /*scale*/
|
|
8656
|
-
s[0]) &&
|
|
8656
|
+
s[0]) && Zi(e, "height", o);
|
|
8657
8657
|
},
|
|
8658
8658
|
i: ee,
|
|
8659
8659
|
o: ee,
|
|
@@ -8718,7 +8718,7 @@ const gr = (t) => !t || t != null && t.startsWith("http") ? t : `https://${t}`,
|
|
|
8718
8718
|
r: 2,
|
|
8719
8719
|
l: 1
|
|
8720
8720
|
};
|
|
8721
|
-
const
|
|
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(";");
|
|
8722
8722
|
function z0(t) {
|
|
8723
8723
|
let e, i, n, o, s;
|
|
8724
8724
|
return {
|
|
@@ -8726,19 +8726,19 @@ function z0(t) {
|
|
|
8726
8726
|
e = p("a"), i = ne(
|
|
8727
8727
|
/*displayText*/
|
|
8728
8728
|
t[7]
|
|
8729
|
-
),
|
|
8729
|
+
), Sn(e, "class", n = "advert-link " + /*playerStyle*/
|
|
8730
8730
|
t[0] + " " + /*controlsOrder*/
|
|
8731
|
-
t[1] + " svelte-eat709"),
|
|
8731
|
+
t[1] + " svelte-eat709"), Sn(
|
|
8732
8732
|
e,
|
|
8733
8733
|
"href",
|
|
8734
8734
|
/*hrefWithProtocol*/
|
|
8735
8735
|
t[5]
|
|
8736
|
-
),
|
|
8736
|
+
), Sn(
|
|
8737
8737
|
e,
|
|
8738
8738
|
"style",
|
|
8739
8739
|
/*style*/
|
|
8740
8740
|
t[6]
|
|
8741
|
-
),
|
|
8741
|
+
), Sn(e, "target", "_blank"), ie(e, "no-image", !/*largeImage*/
|
|
8742
8742
|
t[2]), ie(e, "no-end", !/*endVisible*/
|
|
8743
8743
|
t[4]), ie(
|
|
8744
8744
|
e,
|
|
@@ -8760,21 +8760,21 @@ function z0(t) {
|
|
|
8760
8760
|
},
|
|
8761
8761
|
p(l, [a]) {
|
|
8762
8762
|
a & /*displayText*/
|
|
8763
|
-
128 &&
|
|
8763
|
+
128 && Ti(
|
|
8764
8764
|
i,
|
|
8765
8765
|
/*displayText*/
|
|
8766
8766
|
l[7]
|
|
8767
8767
|
), a & /*playerStyle, controlsOrder*/
|
|
8768
8768
|
3 && n !== (n = "advert-link " + /*playerStyle*/
|
|
8769
8769
|
l[0] + " " + /*controlsOrder*/
|
|
8770
|
-
l[1] + " svelte-eat709") &&
|
|
8771
|
-
32 &&
|
|
8770
|
+
l[1] + " svelte-eat709") && Sn(e, "class", n), a & /*hrefWithProtocol*/
|
|
8771
|
+
32 && Sn(
|
|
8772
8772
|
e,
|
|
8773
8773
|
"href",
|
|
8774
8774
|
/*hrefWithProtocol*/
|
|
8775
8775
|
l[5]
|
|
8776
8776
|
), a & /*style*/
|
|
8777
|
-
64 &&
|
|
8777
|
+
64 && Sn(
|
|
8778
8778
|
e,
|
|
8779
8779
|
"style",
|
|
8780
8780
|
/*style*/
|
|
@@ -8980,7 +8980,7 @@ function U0(t) {
|
|
|
8980
8980
|
let n = i(t), o = n(t);
|
|
8981
8981
|
return {
|
|
8982
8982
|
c() {
|
|
8983
|
-
o.c(), e =
|
|
8983
|
+
o.c(), e = qi();
|
|
8984
8984
|
},
|
|
8985
8985
|
m(s, l) {
|
|
8986
8986
|
o.m(s, l), M(s, e, l);
|
|
@@ -9119,7 +9119,7 @@ function K0(t) {
|
|
|
9119
9119
|
}
|
|
9120
9120
|
return e = a(t), i = l[e] = s[e](t), {
|
|
9121
9121
|
c() {
|
|
9122
|
-
i.c(), n =
|
|
9122
|
+
i.c(), n = qi();
|
|
9123
9123
|
},
|
|
9124
9124
|
m(r, u) {
|
|
9125
9125
|
l[e].m(r, u), M(r, n, u), o = !0;
|
|
@@ -9491,45 +9491,99 @@ class d_ extends we {
|
|
|
9491
9491
|
this.$$set({ onEvent: e }), d();
|
|
9492
9492
|
}
|
|
9493
9493
|
}
|
|
9494
|
-
const
|
|
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(";");
|
|
9495
9495
|
function m_(t) {
|
|
9496
|
-
let e, i
|
|
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;
|
|
9497
9550
|
return {
|
|
9498
9551
|
c() {
|
|
9499
|
-
e = p("a"), i = p("img"),
|
|
9500
|
-
t[0]) ||
|
|
9552
|
+
e = p("a"), i = p("img"), on(i.src, n = /*src*/
|
|
9553
|
+
t[0]) || vi(i, "src", n), vi(
|
|
9501
9554
|
i,
|
|
9502
9555
|
"alt",
|
|
9503
9556
|
/*alt*/
|
|
9504
9557
|
t[2]
|
|
9505
|
-
),
|
|
9558
|
+
), Vi(
|
|
9506
9559
|
i,
|
|
9507
9560
|
"width",
|
|
9508
9561
|
/*size*/
|
|
9509
9562
|
t[3]
|
|
9510
|
-
),
|
|
9563
|
+
), Vi(
|
|
9511
9564
|
i,
|
|
9512
9565
|
"height",
|
|
9513
9566
|
/*size*/
|
|
9514
9567
|
t[3]
|
|
9515
|
-
),
|
|
9516
|
-
|
|
9568
|
+
), vi(e, "class", "large-image svelte-lbzabl"), vi(
|
|
9569
|
+
e,
|
|
9570
|
+
"href",
|
|
9517
9571
|
/*href*/
|
|
9518
9572
|
t[1]
|
|
9519
|
-
)
|
|
9573
|
+
), vi(e, "target", "_blank"), Vi(
|
|
9520
9574
|
e,
|
|
9521
9575
|
"width",
|
|
9522
9576
|
/*size*/
|
|
9523
9577
|
t[3]
|
|
9524
|
-
),
|
|
9578
|
+
), Vi(
|
|
9525
9579
|
e,
|
|
9526
9580
|
"height",
|
|
9527
9581
|
/*size*/
|
|
9528
9582
|
t[3]
|
|
9529
|
-
),
|
|
9583
|
+
), vi(e, "aria-label", dt("visitAdvert"));
|
|
9530
9584
|
},
|
|
9531
|
-
m(
|
|
9532
|
-
M(
|
|
9585
|
+
m(l, a) {
|
|
9586
|
+
M(l, e, a), f(e, i), o || (s = [
|
|
9533
9587
|
q(
|
|
9534
9588
|
e,
|
|
9535
9589
|
"click",
|
|
@@ -9537,56 +9591,81 @@ function m_(t) {
|
|
|
9537
9591
|
t[4]
|
|
9538
9592
|
),
|
|
9539
9593
|
q(e, "mouseup", oi)
|
|
9540
|
-
],
|
|
9594
|
+
], o = !0);
|
|
9541
9595
|
},
|
|
9542
|
-
p(
|
|
9543
|
-
|
|
9544
|
-
1 && !
|
|
9545
|
-
|
|
9546
|
-
4 &&
|
|
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(
|
|
9547
9601
|
i,
|
|
9548
9602
|
"alt",
|
|
9549
9603
|
/*alt*/
|
|
9550
|
-
|
|
9551
|
-
),
|
|
9552
|
-
8 &&
|
|
9604
|
+
l[2]
|
|
9605
|
+
), a & /*size*/
|
|
9606
|
+
8 && Vi(
|
|
9553
9607
|
i,
|
|
9554
9608
|
"width",
|
|
9555
9609
|
/*size*/
|
|
9556
|
-
|
|
9557
|
-
),
|
|
9558
|
-
8 &&
|
|
9610
|
+
l[3]
|
|
9611
|
+
), a & /*size*/
|
|
9612
|
+
8 && Vi(
|
|
9559
9613
|
i,
|
|
9560
9614
|
"height",
|
|
9561
9615
|
/*size*/
|
|
9562
|
-
|
|
9563
|
-
),
|
|
9564
|
-
2 &&
|
|
9565
|
-
|
|
9616
|
+
l[3]
|
|
9617
|
+
), a & /*href*/
|
|
9618
|
+
2 && vi(
|
|
9619
|
+
e,
|
|
9620
|
+
"href",
|
|
9566
9621
|
/*href*/
|
|
9567
|
-
|
|
9568
|
-
)
|
|
9569
|
-
8 &&
|
|
9622
|
+
l[1]
|
|
9623
|
+
), a & /*size*/
|
|
9624
|
+
8 && Vi(
|
|
9570
9625
|
e,
|
|
9571
9626
|
"width",
|
|
9572
9627
|
/*size*/
|
|
9573
|
-
|
|
9574
|
-
),
|
|
9575
|
-
8 &&
|
|
9628
|
+
l[3]
|
|
9629
|
+
), a & /*size*/
|
|
9630
|
+
8 && Vi(
|
|
9576
9631
|
e,
|
|
9577
9632
|
"height",
|
|
9578
9633
|
/*size*/
|
|
9579
|
-
|
|
9634
|
+
l[3]
|
|
9580
9635
|
);
|
|
9581
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
|
+
},
|
|
9582
9661
|
i: ee,
|
|
9583
9662
|
o: ee,
|
|
9584
|
-
d(
|
|
9585
|
-
|
|
9663
|
+
d(s) {
|
|
9664
|
+
s && O(e), o.d(s);
|
|
9586
9665
|
}
|
|
9587
9666
|
};
|
|
9588
9667
|
}
|
|
9589
|
-
function
|
|
9668
|
+
function y_(t, e, i) {
|
|
9590
9669
|
let n, { src: o } = e, { href: s } = e, { alt: l = "Player Image" } = e, { scale: a = 1 } = e, { onEvent: r = () => {
|
|
9591
9670
|
} } = e;
|
|
9592
9671
|
const u = () => {
|
|
@@ -9603,9 +9682,9 @@ function h_(t, e, i) {
|
|
|
9603
9682
|
32 && i(3, n = `${a * 80}px`);
|
|
9604
9683
|
}, [o, s, l, n, u, a, r];
|
|
9605
9684
|
}
|
|
9606
|
-
class
|
|
9685
|
+
class v_ extends we {
|
|
9607
9686
|
constructor(e) {
|
|
9608
|
-
super(), Se(this, e,
|
|
9687
|
+
super(), Se(this, e, y_, __, pe, {
|
|
9609
9688
|
src: 0,
|
|
9610
9689
|
href: 1,
|
|
9611
9690
|
alt: 2,
|
|
@@ -9644,8 +9723,8 @@ class __ extends we {
|
|
|
9644
9723
|
this.$$set({ onEvent: e }), d();
|
|
9645
9724
|
}
|
|
9646
9725
|
}
|
|
9647
|
-
const Do = (t, e, i) => Ce(t, e, e === "style" ?
|
|
9648
|
-
function
|
|
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) {
|
|
9649
9728
|
var o;
|
|
9650
9729
|
let e, i = (
|
|
9651
9730
|
/*title*/
|
|
@@ -9685,7 +9764,7 @@ function b_(t) {
|
|
|
9685
9764
|
}
|
|
9686
9765
|
};
|
|
9687
9766
|
}
|
|
9688
|
-
function
|
|
9767
|
+
function S_(t, e, i) {
|
|
9689
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;
|
|
9690
9769
|
function _(m) {
|
|
9691
9770
|
oe[m ? "unshift" : "push"](() => {
|
|
@@ -9714,7 +9793,7 @@ function k_(t, e, i) {
|
|
|
9714
9793
|
}
|
|
9715
9794
|
class hr extends we {
|
|
9716
9795
|
constructor(e) {
|
|
9717
|
-
super(), Se(this, e,
|
|
9796
|
+
super(), Se(this, e, S_, p_, pe, {
|
|
9718
9797
|
title: 0,
|
|
9719
9798
|
playerStyle: 1,
|
|
9720
9799
|
scale: 4,
|
|
@@ -9767,8 +9846,8 @@ class hr extends we {
|
|
|
9767
9846
|
this.$$set({ color: e }), d();
|
|
9768
9847
|
}
|
|
9769
9848
|
}
|
|
9770
|
-
const Ns = (t, e, i) => Ce(t, e, e === "style" ?
|
|
9771
|
-
function
|
|
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) {
|
|
9772
9851
|
var n;
|
|
9773
9852
|
let e, i = (
|
|
9774
9853
|
/*title*/
|
|
@@ -9849,7 +9928,7 @@ function w_(t) {
|
|
|
9849
9928
|
}
|
|
9850
9929
|
};
|
|
9851
9930
|
}
|
|
9852
|
-
function
|
|
9931
|
+
function C_(t, e, i) {
|
|
9853
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;
|
|
9854
9933
|
return t.$$set = (w) => {
|
|
9855
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);
|
|
@@ -9876,7 +9955,7 @@ function T_(t, e, i) {
|
|
|
9876
9955
|
}
|
|
9877
9956
|
class ml extends we {
|
|
9878
9957
|
constructor(e) {
|
|
9879
|
-
super(), Se(this, e,
|
|
9958
|
+
super(), Se(this, e, C_, P_, pe, {
|
|
9880
9959
|
title: 0,
|
|
9881
9960
|
maxLines: 1,
|
|
9882
9961
|
maxWidth: 5,
|
|
@@ -9945,8 +10024,8 @@ const Qo = (t, e, i = () => {
|
|
|
9945
10024
|
initiatedBy: "user"
|
|
9946
10025
|
})), (o === "Left" || o === "Right") && i());
|
|
9947
10026
|
};
|
|
9948
|
-
const En = (t, e, i) => Ut(t, e, i, 1), _i = (t, e, i) => Ce(t, e, e === "style" ?
|
|
9949
|
-
function
|
|
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) {
|
|
9950
10029
|
let e, i, n, o, s, l, a;
|
|
9951
10030
|
return {
|
|
9952
10031
|
c() {
|
|
@@ -10095,7 +10174,7 @@ function A_(t) {
|
|
|
10095
10174
|
}
|
|
10096
10175
|
};
|
|
10097
10176
|
}
|
|
10098
|
-
function
|
|
10177
|
+
function V_(t, e, i) {
|
|
10099
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 = () => {
|
|
10100
10179
|
} } = e, _, m, w = !0, y = !0;
|
|
10101
10180
|
const A = () => {
|
|
@@ -10185,9 +10264,9 @@ function I_(t, e, i) {
|
|
|
10185
10264
|
F
|
|
10186
10265
|
];
|
|
10187
10266
|
}
|
|
10188
|
-
class
|
|
10267
|
+
class W_ extends we {
|
|
10189
10268
|
constructor(e) {
|
|
10190
|
-
super(), Se(this, e,
|
|
10269
|
+
super(), Se(this, e, V_, B_, pe, {
|
|
10191
10270
|
progress: 0,
|
|
10192
10271
|
duration: 1,
|
|
10193
10272
|
fullWidth: 2,
|
|
@@ -10233,8 +10312,8 @@ class B_ extends we {
|
|
|
10233
10312
|
this.$$set({ onEvent: e }), d();
|
|
10234
10313
|
}
|
|
10235
10314
|
}
|
|
10236
|
-
const Ro = (t, e, i) => Ut(t, e, i, 1), Wt = (t, e, i) => Ce(t, e, e === "style" ?
|
|
10237
|
-
function
|
|
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) {
|
|
10238
10317
|
let e;
|
|
10239
10318
|
const i = (
|
|
10240
10319
|
/*#slots*/
|
|
@@ -10285,7 +10364,7 @@ function O_(t) {
|
|
|
10285
10364
|
}
|
|
10286
10365
|
};
|
|
10287
10366
|
}
|
|
10288
|
-
function
|
|
10367
|
+
function j_(t) {
|
|
10289
10368
|
let e, i, n, o, s, l, a, r;
|
|
10290
10369
|
const u = (
|
|
10291
10370
|
/*#slots*/
|
|
@@ -10439,9 +10518,9 @@ function M_(t) {
|
|
|
10439
10518
|
}
|
|
10440
10519
|
};
|
|
10441
10520
|
}
|
|
10442
|
-
function
|
|
10521
|
+
function z_(t) {
|
|
10443
10522
|
let e, i, n, o;
|
|
10444
|
-
const s = [
|
|
10523
|
+
const s = [j_, E_], l = [];
|
|
10445
10524
|
function a(r, u) {
|
|
10446
10525
|
return (
|
|
10447
10526
|
/*enabled*/
|
|
@@ -10450,7 +10529,7 @@ function E_(t) {
|
|
|
10450
10529
|
}
|
|
10451
10530
|
return e = a(t), i = l[e] = s[e](t), {
|
|
10452
10531
|
c() {
|
|
10453
|
-
i.c(), n =
|
|
10532
|
+
i.c(), n = qi();
|
|
10454
10533
|
},
|
|
10455
10534
|
m(r, u) {
|
|
10456
10535
|
l[e].m(r, u), M(r, n, u), o = !0;
|
|
@@ -10472,7 +10551,7 @@ function E_(t) {
|
|
|
10472
10551
|
}
|
|
10473
10552
|
};
|
|
10474
10553
|
}
|
|
10475
|
-
function
|
|
10554
|
+
function L_(t, e, i) {
|
|
10476
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 = () => {
|
|
10477
10556
|
} } = e;
|
|
10478
10557
|
return t.$$set = (A) => {
|
|
@@ -10502,9 +10581,9 @@ function j_(t, e, i) {
|
|
|
10502
10581
|
u
|
|
10503
10582
|
];
|
|
10504
10583
|
}
|
|
10505
|
-
class
|
|
10584
|
+
class D_ extends we {
|
|
10506
10585
|
constructor(e) {
|
|
10507
|
-
super(), Se(this, e,
|
|
10586
|
+
super(), Se(this, e, L_, z_, pe, {
|
|
10508
10587
|
progress: 9,
|
|
10509
10588
|
enabled: 0,
|
|
10510
10589
|
bold: 10,
|
|
@@ -10556,8 +10635,8 @@ const Ln = (t) => {
|
|
|
10556
10635
|
let i = Math.floor(t % 3600 / 60).toString(), n = Math.floor(t % 60).toString();
|
|
10557
10636
|
return n.length < 2 && (n = `0${n}`), t < 3600 ? `${i}:${n}` : (i.length < 2 && (i = `0${i}`), `${e}:${i}:${n}`);
|
|
10558
10637
|
};
|
|
10559
|
-
const No = (t, e, i) => Ut(t, e, i, 1),
|
|
10560
|
-
function
|
|
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) {
|
|
10561
10640
|
let e, i, n, o = Ln(
|
|
10562
10641
|
/*remaining*/
|
|
10563
10642
|
t[1]
|
|
@@ -10567,7 +10646,7 @@ function N_(t) {
|
|
|
10567
10646
|
e = p("span"), i = ne(
|
|
10568
10647
|
/*text*/
|
|
10569
10648
|
t[0]
|
|
10570
|
-
), n = ne(" • "), s = ne(o),
|
|
10649
|
+
), n = ne(" • "), s = ne(o), R_(e, "class", "countdown-time svelte-mmsohq"), No(e, "font-size", 10 * /*scale*/
|
|
10571
10650
|
t[2] + "px"), No(
|
|
10572
10651
|
e,
|
|
10573
10652
|
"color",
|
|
@@ -10580,7 +10659,7 @@ function N_(t) {
|
|
|
10580
10659
|
},
|
|
10581
10660
|
p(l, [a]) {
|
|
10582
10661
|
a & /*text*/
|
|
10583
|
-
1 &&
|
|
10662
|
+
1 && Ti(
|
|
10584
10663
|
i,
|
|
10585
10664
|
/*text*/
|
|
10586
10665
|
l[0]
|
|
@@ -10588,7 +10667,7 @@ function N_(t) {
|
|
|
10588
10667
|
2 && o !== (o = Ln(
|
|
10589
10668
|
/*remaining*/
|
|
10590
10669
|
l[1]
|
|
10591
|
-
) + "") &&
|
|
10670
|
+
) + "") && Ti(s, o), a & /*scale*/
|
|
10592
10671
|
4 && No(e, "font-size", 10 * /*scale*/
|
|
10593
10672
|
l[2] + "px"), a & /*color*/
|
|
10594
10673
|
8 && No(
|
|
@@ -10605,15 +10684,15 @@ function N_(t) {
|
|
|
10605
10684
|
}
|
|
10606
10685
|
};
|
|
10607
10686
|
}
|
|
10608
|
-
function
|
|
10687
|
+
function U_(t, e, i) {
|
|
10609
10688
|
let { text: n } = e, { remaining: o } = e, { scale: s = 1 } = e, { color: l = "#323232" } = e;
|
|
10610
10689
|
return t.$$set = (a) => {
|
|
10611
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);
|
|
10612
10691
|
}, [n, o, s, l];
|
|
10613
10692
|
}
|
|
10614
|
-
class
|
|
10693
|
+
class q_ extends we {
|
|
10615
10694
|
constructor(e) {
|
|
10616
|
-
super(), Se(this, e,
|
|
10695
|
+
super(), Se(this, e, U_, F_, pe, {
|
|
10617
10696
|
text: 0,
|
|
10618
10697
|
remaining: 1,
|
|
10619
10698
|
scale: 2,
|
|
@@ -10645,15 +10724,15 @@ class F_ extends we {
|
|
|
10645
10724
|
this.$$set({ color: e }), d();
|
|
10646
10725
|
}
|
|
10647
10726
|
}
|
|
10648
|
-
const xo = (t, e, i) => Ut(t, e, i, 1),
|
|
10649
|
-
function
|
|
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) {
|
|
10650
10729
|
let e, i, n;
|
|
10651
10730
|
return {
|
|
10652
10731
|
c() {
|
|
10653
10732
|
e = p("div"), i = ne(
|
|
10654
10733
|
/*minutes*/
|
|
10655
10734
|
t[3]
|
|
10656
|
-
), n = ne(" min"),
|
|
10735
|
+
), n = ne(" min"), H_(e, "class", "duration-in-mins svelte-121qsze"), xo(e, "font-size", 10 * /*scale*/
|
|
10657
10736
|
t[1] + "px"), xo(
|
|
10658
10737
|
e,
|
|
10659
10738
|
"color",
|
|
@@ -10671,7 +10750,7 @@ function Y_(t) {
|
|
|
10671
10750
|
},
|
|
10672
10751
|
p(o, [s]) {
|
|
10673
10752
|
s & /*minutes*/
|
|
10674
|
-
8 &&
|
|
10753
|
+
8 && Ti(
|
|
10675
10754
|
i,
|
|
10676
10755
|
/*minutes*/
|
|
10677
10756
|
o[3]
|
|
@@ -10698,7 +10777,7 @@ function Y_(t) {
|
|
|
10698
10777
|
}
|
|
10699
10778
|
};
|
|
10700
10779
|
}
|
|
10701
|
-
function
|
|
10780
|
+
function K_(t, e, i) {
|
|
10702
10781
|
let n, { duration: o = 0 } = e, { bold: s = !1 } = e, { scale: l = 1 } = e, { color: a = "#323232" } = e;
|
|
10703
10782
|
return t.$$set = (r) => {
|
|
10704
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);
|
|
@@ -10709,7 +10788,7 @@ function Z_(t, e, i) {
|
|
|
10709
10788
|
}
|
|
10710
10789
|
class _r extends we {
|
|
10711
10790
|
constructor(e) {
|
|
10712
|
-
super(), Se(this, e,
|
|
10791
|
+
super(), Se(this, e, K_, G_, pe, { duration: 4, bold: 0, scale: 1, color: 2 });
|
|
10713
10792
|
}
|
|
10714
10793
|
get duration() {
|
|
10715
10794
|
return this.$$.ctx[4];
|
|
@@ -10736,8 +10815,8 @@ class _r extends we {
|
|
|
10736
10815
|
this.$$set({ color: e }), d();
|
|
10737
10816
|
}
|
|
10738
10817
|
}
|
|
10739
|
-
const Fo = (t, e, i) => Ut(t, e, i, 1),
|
|
10740
|
-
function
|
|
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) {
|
|
10741
10820
|
let e, i = Ln(
|
|
10742
10821
|
/*currentTime*/
|
|
10743
10822
|
t[0]
|
|
@@ -10747,7 +10826,7 @@ function X_(t) {
|
|
|
10747
10826
|
) + "", l;
|
|
10748
10827
|
return {
|
|
10749
10828
|
c() {
|
|
10750
|
-
e = p("span"), n = ne(i), o = ne(" / "), l = ne(s),
|
|
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*/
|
|
10751
10830
|
t[2] + "px"), Fo(
|
|
10752
10831
|
e,
|
|
10753
10832
|
"color",
|
|
@@ -10763,11 +10842,11 @@ function X_(t) {
|
|
|
10763
10842
|
1 && i !== (i = Ln(
|
|
10764
10843
|
/*currentTime*/
|
|
10765
10844
|
a[0]
|
|
10766
|
-
) + "") &&
|
|
10845
|
+
) + "") && Ti(n, i), r & /*duration*/
|
|
10767
10846
|
2 && s !== (s = Ln(
|
|
10768
10847
|
/*duration*/
|
|
10769
10848
|
a[1]
|
|
10770
|
-
) + "") &&
|
|
10849
|
+
) + "") && Ti(l, s), r & /*scale*/
|
|
10771
10850
|
4 && Fo(e, "font-size", 10 * /*scale*/
|
|
10772
10851
|
a[2] + "px"), r & /*color*/
|
|
10773
10852
|
8 && Fo(
|
|
@@ -10784,15 +10863,15 @@ function X_(t) {
|
|
|
10784
10863
|
}
|
|
10785
10864
|
};
|
|
10786
10865
|
}
|
|
10787
|
-
function
|
|
10866
|
+
function ey(t, e, i) {
|
|
10788
10867
|
let { currentTime: n = 0 } = e, { duration: o = 0 } = e, { scale: s = 1 } = e, { color: l = "#323232" } = e;
|
|
10789
10868
|
return t.$$set = (a) => {
|
|
10790
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);
|
|
10791
10870
|
}, [n, o, s, l];
|
|
10792
10871
|
}
|
|
10793
|
-
class
|
|
10872
|
+
class ty extends we {
|
|
10794
10873
|
constructor(e) {
|
|
10795
|
-
super(), Se(this, e,
|
|
10874
|
+
super(), Se(this, e, ey, $_, pe, {
|
|
10796
10875
|
currentTime: 0,
|
|
10797
10876
|
duration: 1,
|
|
10798
10877
|
scale: 2,
|
|
@@ -10824,10 +10903,10 @@ class $_ extends we {
|
|
|
10824
10903
|
this.$$set({ color: e }), d();
|
|
10825
10904
|
}
|
|
10826
10905
|
}
|
|
10827
|
-
const Qn = (t, e, i) => Ce(t, e, e === "style" ?
|
|
10828
|
-
function
|
|
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) {
|
|
10829
10908
|
let e, i;
|
|
10830
|
-
return e = new
|
|
10909
|
+
return e = new ty({
|
|
10831
10910
|
props: {
|
|
10832
10911
|
duration: (
|
|
10833
10912
|
/*duration*/
|
|
@@ -10876,7 +10955,7 @@ function iy(t) {
|
|
|
10876
10955
|
}
|
|
10877
10956
|
};
|
|
10878
10957
|
}
|
|
10879
|
-
function
|
|
10958
|
+
function sy(t) {
|
|
10880
10959
|
let e, i;
|
|
10881
10960
|
return e = new _r({
|
|
10882
10961
|
props: {
|
|
@@ -10921,9 +11000,9 @@ function ny(t) {
|
|
|
10921
11000
|
}
|
|
10922
11001
|
};
|
|
10923
11002
|
}
|
|
10924
|
-
function
|
|
11003
|
+
function ly(t) {
|
|
10925
11004
|
let e, i;
|
|
10926
|
-
return e = new
|
|
11005
|
+
return e = new q_({
|
|
10927
11006
|
props: {
|
|
10928
11007
|
text: "Ad",
|
|
10929
11008
|
remaining: (
|
|
@@ -10967,7 +11046,7 @@ function oy(t) {
|
|
|
10967
11046
|
}
|
|
10968
11047
|
};
|
|
10969
11048
|
}
|
|
10970
|
-
function
|
|
11049
|
+
function ay(t) {
|
|
10971
11050
|
return {
|
|
10972
11051
|
c: ee,
|
|
10973
11052
|
m: ee,
|
|
@@ -10977,9 +11056,9 @@ function sy(t) {
|
|
|
10977
11056
|
d: ee
|
|
10978
11057
|
};
|
|
10979
11058
|
}
|
|
10980
|
-
function
|
|
11059
|
+
function ry(t) {
|
|
10981
11060
|
let e, i, n, o, s, l;
|
|
10982
|
-
const a = [
|
|
11061
|
+
const a = [ay, ly, sy, oy], r = [];
|
|
10983
11062
|
function u(c, g) {
|
|
10984
11063
|
return (
|
|
10985
11064
|
/*isAdvert*/
|
|
@@ -11083,7 +11162,7 @@ function ly(t) {
|
|
|
11083
11162
|
}
|
|
11084
11163
|
};
|
|
11085
11164
|
}
|
|
11086
|
-
function
|
|
11165
|
+
function uy(t, e, i) {
|
|
11087
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;
|
|
11088
11167
|
return t.$$set = (C) => {
|
|
11089
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);
|
|
@@ -11113,9 +11192,9 @@ function ay(t, e, i) {
|
|
|
11113
11192
|
o
|
|
11114
11193
|
];
|
|
11115
11194
|
}
|
|
11116
|
-
class
|
|
11195
|
+
class cy extends we {
|
|
11117
11196
|
constructor(e) {
|
|
11118
|
-
super(), Se(this, e,
|
|
11197
|
+
super(), Se(this, e, uy, ry, pe, {
|
|
11119
11198
|
duration: 0,
|
|
11120
11199
|
currentTime: 1,
|
|
11121
11200
|
playerStyle: 2,
|
|
@@ -11196,8 +11275,8 @@ class ry extends we {
|
|
|
11196
11275
|
this.$$set({ color: e }), d();
|
|
11197
11276
|
}
|
|
11198
11277
|
}
|
|
11199
|
-
const Qt = (t, e, i) => Ce(t, e, e === "style" ?
|
|
11200
|
-
function
|
|
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) {
|
|
11201
11280
|
let e, i, n, o, s, l;
|
|
11202
11281
|
return {
|
|
11203
11282
|
c() {
|
|
@@ -11247,7 +11326,7 @@ function dy(t) {
|
|
|
11247
11326
|
}
|
|
11248
11327
|
};
|
|
11249
11328
|
}
|
|
11250
|
-
function
|
|
11329
|
+
function my(t, e, i) {
|
|
11251
11330
|
let { scale: n = 1 } = e, { zoom: o = 1 } = e, { color: s = "#323232" } = e, { fill: l = "transparent" } = e;
|
|
11252
11331
|
return t.$$set = (a) => {
|
|
11253
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);
|
|
@@ -11255,7 +11334,7 @@ function gy(t, e, i) {
|
|
|
11255
11334
|
}
|
|
11256
11335
|
class yr extends we {
|
|
11257
11336
|
constructor(e) {
|
|
11258
|
-
super(), Se(this, e,
|
|
11337
|
+
super(), Se(this, e, my, fy, pe, { scale: 0, zoom: 1, color: 2, fill: 3 });
|
|
11259
11338
|
}
|
|
11260
11339
|
get scale() {
|
|
11261
11340
|
return this.$$.ctx[0];
|
|
@@ -11282,31 +11361,31 @@ class yr extends we {
|
|
|
11282
11361
|
this.$$set({ fill: e }), d();
|
|
11283
11362
|
}
|
|
11284
11363
|
}
|
|
11285
|
-
const
|
|
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(";");
|
|
11286
11365
|
function Xl(t, e, i) {
|
|
11287
11366
|
const n = t.slice();
|
|
11288
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;
|
|
11289
11368
|
}
|
|
11290
|
-
function
|
|
11369
|
+
function yy(t) {
|
|
11291
11370
|
let e, i = (
|
|
11292
11371
|
/*i*/
|
|
11293
11372
|
t[24] + 1 + ""
|
|
11294
11373
|
), n;
|
|
11295
11374
|
return {
|
|
11296
11375
|
c() {
|
|
11297
|
-
e = p("span"), n = ne(i),
|
|
11376
|
+
e = p("span"), n = ne(i), bi(e, "class", "number svelte-1hl1xir"), hn(
|
|
11298
11377
|
e,
|
|
11299
11378
|
"color",
|
|
11300
11379
|
/*textColor*/
|
|
11301
11380
|
t[2]
|
|
11302
|
-
),
|
|
11381
|
+
), bi(e, "aria-hidden", "true");
|
|
11303
11382
|
},
|
|
11304
11383
|
m(o, s) {
|
|
11305
11384
|
M(o, e, s), f(e, n);
|
|
11306
11385
|
},
|
|
11307
11386
|
p(o, s) {
|
|
11308
11387
|
s & /*textColor*/
|
|
11309
|
-
4 &&
|
|
11388
|
+
4 && hn(
|
|
11310
11389
|
e,
|
|
11311
11390
|
"color",
|
|
11312
11391
|
/*textColor*/
|
|
@@ -11320,7 +11399,7 @@ function hy(t) {
|
|
|
11320
11399
|
}
|
|
11321
11400
|
};
|
|
11322
11401
|
}
|
|
11323
|
-
function
|
|
11402
|
+
function vy(t) {
|
|
11324
11403
|
let e, i, n;
|
|
11325
11404
|
return i = new yr({
|
|
11326
11405
|
props: {
|
|
@@ -11335,7 +11414,7 @@ function _y(t) {
|
|
|
11335
11414
|
}
|
|
11336
11415
|
}), {
|
|
11337
11416
|
c() {
|
|
11338
|
-
e = p("span"), me(i.$$.fragment),
|
|
11417
|
+
e = p("span"), me(i.$$.fragment), bi(e, "class", "speaker svelte-1hl1xir");
|
|
11339
11418
|
},
|
|
11340
11419
|
m(o, s) {
|
|
11341
11420
|
M(o, e, s), ge(i, e, null), n = !0;
|
|
@@ -11361,7 +11440,7 @@ function _y(t) {
|
|
|
11361
11440
|
}
|
|
11362
11441
|
function Ql(t) {
|
|
11363
11442
|
let e, i, n, o, s, l, a, r, u, c, g, v, _, m, w, y, A, S, C;
|
|
11364
|
-
const T = [
|
|
11443
|
+
const T = [vy, yy], I = [];
|
|
11365
11444
|
function E(F, U) {
|
|
11366
11445
|
return (
|
|
11367
11446
|
/*i*/
|
|
@@ -11452,19 +11531,19 @@ function Ql(t) {
|
|
|
11452
11531
|
t[9] !== void 0 && (Z.isVisible = /*downloadIsVisible*/
|
|
11453
11532
|
t[9]), m = new dr({ props: Z }), oe.push(() => be(m, "isVisible", R)), {
|
|
11454
11533
|
c() {
|
|
11455
|
-
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(),
|
|
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(
|
|
11456
11535
|
l,
|
|
11457
11536
|
"download-is-visible",
|
|
11458
11537
|
/*downloadIsVisible*/
|
|
11459
11538
|
t[9]
|
|
11460
|
-
),
|
|
11539
|
+
), bi(u, "class", "duration svelte-1hl1xir"), bi(i, "type", "button"), bi(i, "class", "item svelte-1hl1xir"), bi(i, "aria-label", g = /*title*/
|
|
11461
11540
|
t[19]), ie(
|
|
11462
11541
|
i,
|
|
11463
11542
|
"active",
|
|
11464
11543
|
/*i*/
|
|
11465
11544
|
t[24] === /*index*/
|
|
11466
11545
|
t[6]
|
|
11467
|
-
),
|
|
11546
|
+
), bi(_, "class", "download svelte-1hl1xir"), bi(e, "class", "row svelte-1hl1xir");
|
|
11468
11547
|
},
|
|
11469
11548
|
m(F, U) {
|
|
11470
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 = [
|
|
@@ -11529,7 +11608,7 @@ function Ql(t) {
|
|
|
11529
11608
|
4 && (se.color = /*textColor*/
|
|
11530
11609
|
t[2]), c.$set(se), (!A || U & /*content*/
|
|
11531
11610
|
32 && g !== (g = /*title*/
|
|
11532
|
-
t[19])) &&
|
|
11611
|
+
t[19])) && bi(i, "aria-label", g), (!A || U & /*index*/
|
|
11533
11612
|
64) && ie(
|
|
11534
11613
|
i,
|
|
11535
11614
|
"active",
|
|
@@ -11566,7 +11645,7 @@ function Ql(t) {
|
|
|
11566
11645
|
}
|
|
11567
11646
|
);
|
|
11568
11647
|
}
|
|
11569
|
-
function
|
|
11648
|
+
function by(t) {
|
|
11570
11649
|
let e, i, n, o = ti(
|
|
11571
11650
|
/*content*/
|
|
11572
11651
|
t[5]
|
|
@@ -11581,17 +11660,17 @@ function yy(t) {
|
|
|
11581
11660
|
e = p("div"), i = p("div");
|
|
11582
11661
|
for (let a = 0; a < s.length; a += 1)
|
|
11583
11662
|
s[a].c();
|
|
11584
|
-
|
|
11663
|
+
bi(i, "class", "scrollable svelte-1hl1xir"), bi(i, "tabindex", "-1"), bi(e, "class", "playlist svelte-1hl1xir"), hn(
|
|
11585
11664
|
e,
|
|
11586
11665
|
"--desktop-rows",
|
|
11587
11666
|
/*desktopRows*/
|
|
11588
11667
|
t[12]
|
|
11589
|
-
),
|
|
11668
|
+
), hn(
|
|
11590
11669
|
e,
|
|
11591
11670
|
"--mobile-rows",
|
|
11592
11671
|
/*mobileRows*/
|
|
11593
11672
|
t[11]
|
|
11594
|
-
),
|
|
11673
|
+
), hn(
|
|
11595
11674
|
e,
|
|
11596
11675
|
"background",
|
|
11597
11676
|
/*backgroundColor*/
|
|
@@ -11631,19 +11710,19 @@ function yy(t) {
|
|
|
11631
11710
|
De();
|
|
11632
11711
|
}
|
|
11633
11712
|
(!n || r & /*desktopRows*/
|
|
11634
|
-
4096) &&
|
|
11713
|
+
4096) && hn(
|
|
11635
11714
|
e,
|
|
11636
11715
|
"--desktop-rows",
|
|
11637
11716
|
/*desktopRows*/
|
|
11638
11717
|
a[12]
|
|
11639
11718
|
), (!n || r & /*mobileRows*/
|
|
11640
|
-
2048) &&
|
|
11719
|
+
2048) && hn(
|
|
11641
11720
|
e,
|
|
11642
11721
|
"--mobile-rows",
|
|
11643
11722
|
/*mobileRows*/
|
|
11644
11723
|
a[11]
|
|
11645
11724
|
), (!n || r & /*backgroundColor*/
|
|
11646
|
-
8) &&
|
|
11725
|
+
8) && hn(
|
|
11647
11726
|
e,
|
|
11648
11727
|
"background",
|
|
11649
11728
|
/*backgroundColor*/
|
|
@@ -11676,11 +11755,11 @@ function yy(t) {
|
|
|
11676
11755
|
n = !1;
|
|
11677
11756
|
},
|
|
11678
11757
|
d(a) {
|
|
11679
|
-
a && O(e),
|
|
11758
|
+
a && O(e), vn(s, a);
|
|
11680
11759
|
}
|
|
11681
11760
|
};
|
|
11682
11761
|
}
|
|
11683
|
-
function
|
|
11762
|
+
function ky(t, e, i) {
|
|
11684
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;
|
|
11685
11764
|
const S = (E) => () => {
|
|
11686
11765
|
y(ye({
|
|
@@ -11737,9 +11816,9 @@ function vy(t, e, i) {
|
|
|
11737
11816
|
I
|
|
11738
11817
|
];
|
|
11739
11818
|
}
|
|
11740
|
-
class
|
|
11819
|
+
class py extends we {
|
|
11741
11820
|
constructor(e) {
|
|
11742
|
-
super(), Se(this, e,
|
|
11821
|
+
super(), Se(this, e, ky, by, pe, {
|
|
11743
11822
|
style: 16,
|
|
11744
11823
|
downloadFormats: 0,
|
|
11745
11824
|
larger: 1,
|
|
@@ -11813,8 +11892,8 @@ class by extends we {
|
|
|
11813
11892
|
this.$$set({ onEvent: e }), d();
|
|
11814
11893
|
}
|
|
11815
11894
|
}
|
|
11816
|
-
const $l = (t, e, i) => Ce(t, e, e === "style" ?
|
|
11817
|
-
function
|
|
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) {
|
|
11818
11897
|
let e, i, n, o;
|
|
11819
11898
|
const s = (
|
|
11820
11899
|
/*#slots*/
|
|
@@ -11887,7 +11966,7 @@ function Sy(t) {
|
|
|
11887
11966
|
}
|
|
11888
11967
|
};
|
|
11889
11968
|
}
|
|
11890
|
-
function
|
|
11969
|
+
function Py(t, e, i) {
|
|
11891
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;
|
|
11892
11971
|
const v = () => {
|
|
11893
11972
|
c && clearTimeout(c), g && clearTimeout(g), i(6, r = !1), i(7, u = !1);
|
|
@@ -11916,9 +11995,9 @@ function wy(t, e, i) {
|
|
|
11916
11995
|
n
|
|
11917
11996
|
];
|
|
11918
11997
|
}
|
|
11919
|
-
class
|
|
11998
|
+
class Cy extends we {
|
|
11920
11999
|
constructor(e) {
|
|
11921
|
-
super(), Se(this, e,
|
|
12000
|
+
super(), Se(this, e, Py, Ty, pe, {
|
|
11922
12001
|
exitDelay: 5,
|
|
11923
12002
|
idleDelay: 0,
|
|
11924
12003
|
isHovering: 4
|
|
@@ -11943,8 +12022,8 @@ class Ty extends we {
|
|
|
11943
12022
|
this.$$set({ isHovering: e }), d();
|
|
11944
12023
|
}
|
|
11945
12024
|
}
|
|
11946
|
-
const
|
|
11947
|
-
function
|
|
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) {
|
|
11948
12027
|
let e, i;
|
|
11949
12028
|
const n = (
|
|
11950
12029
|
/*#slots*/
|
|
@@ -11958,7 +12037,7 @@ function Iy(t) {
|
|
|
11958
12037
|
);
|
|
11959
12038
|
return {
|
|
11960
12039
|
c() {
|
|
11961
|
-
e = p("div"), o && o.c(),
|
|
12040
|
+
e = p("div"), o && o.c(), Ay(e, "class", "visibility svelte-1exdg3");
|
|
11962
12041
|
},
|
|
11963
12042
|
m(s, l) {
|
|
11964
12043
|
M(s, e, l), o && o.m(e, null), t[8](e), i = !0;
|
|
@@ -11995,7 +12074,7 @@ function Iy(t) {
|
|
|
11995
12074
|
}
|
|
11996
12075
|
};
|
|
11997
12076
|
}
|
|
11998
|
-
function
|
|
12077
|
+
function Wy(t, e, i) {
|
|
11999
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 = () => {
|
|
12000
12079
|
} } = e;
|
|
12001
12080
|
const g = ([_]) => {
|
|
@@ -12038,9 +12117,9 @@ function By(t, e, i) {
|
|
|
12038
12117
|
v
|
|
12039
12118
|
];
|
|
12040
12119
|
}
|
|
12041
|
-
class
|
|
12120
|
+
class Oy extends we {
|
|
12042
12121
|
constructor(e) {
|
|
12043
|
-
super(), Se(this, e,
|
|
12122
|
+
super(), Se(this, e, Wy, Vy, pe, {
|
|
12044
12123
|
enabled: 4,
|
|
12045
12124
|
relativeY: 1,
|
|
12046
12125
|
absoluteY: 2,
|
|
@@ -12079,18 +12158,18 @@ class Vy extends we {
|
|
|
12079
12158
|
this.$$set({ onEvent: e }), d();
|
|
12080
12159
|
}
|
|
12081
12160
|
}
|
|
12082
|
-
const
|
|
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) => {
|
|
12083
12162
|
t.requestFullscreen ? t.requestFullscreen() : t.webkitRequestFullscreen && t.webkitRequestFullscreen();
|
|
12084
|
-
},
|
|
12163
|
+
}, zy = () => {
|
|
12085
12164
|
document.exitFullscreen ? document.exitFullscreen() : document.webkitExitFullscreen && document.webkitExitFullscreen();
|
|
12086
12165
|
}, ta = () => document.fullscreenElement || document.webkitCurrentFullScreenElement;
|
|
12087
|
-
const $o = (t, e, i) => Ut(t, e, i, 1),
|
|
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(";");
|
|
12088
12167
|
function ia(t) {
|
|
12089
12168
|
let e, i, n, o = !/*videoPosterImage*/
|
|
12090
12169
|
t[17] && na(t);
|
|
12091
12170
|
return {
|
|
12092
12171
|
c() {
|
|
12093
|
-
e = p("div"), o && o.c(),
|
|
12172
|
+
e = p("div"), o && o.c(), Wi(e, "class", "video-placeholder svelte-1typsi4"), Wi(e, "style", i = /*videoPosterImage*/
|
|
12094
12173
|
t[17] ? `background-image: url(${/*videoPosterImage*/
|
|
12095
12174
|
t[17]})` : "");
|
|
12096
12175
|
},
|
|
@@ -12105,7 +12184,7 @@ function ia(t) {
|
|
|
12105
12184
|
131072 && B(o, 1)) : (o = na(s), o.c(), B(o, 1), o.m(e, null)), (!n || l[0] & /*videoPosterImage*/
|
|
12106
12185
|
131072 && i !== (i = /*videoPosterImage*/
|
|
12107
12186
|
s[17] ? `background-image: url(${/*videoPosterImage*/
|
|
12108
|
-
s[17]})` : "")) &&
|
|
12187
|
+
s[17]})` : "")) && Wi(e, "style", i);
|
|
12109
12188
|
},
|
|
12110
12189
|
i(s) {
|
|
12111
12190
|
n || (B(o), n = !0);
|
|
@@ -12162,7 +12241,7 @@ function na(t) {
|
|
|
12162
12241
|
}
|
|
12163
12242
|
function oa(t) {
|
|
12164
12243
|
let e, i;
|
|
12165
|
-
return e = new
|
|
12244
|
+
return e = new v_({
|
|
12166
12245
|
props: {
|
|
12167
12246
|
onEvent: (
|
|
12168
12247
|
/*onEvent*/
|
|
@@ -12271,7 +12350,7 @@ function sa(t) {
|
|
|
12271
12350
|
}
|
|
12272
12351
|
}), {
|
|
12273
12352
|
c() {
|
|
12274
|
-
e = p("div"), me(i.$$.fragment), n = X(), me(o.$$.fragment),
|
|
12353
|
+
e = p("div"), me(i.$$.fragment), n = X(), me(o.$$.fragment), Wi(e, "class", "summary svelte-1typsi4");
|
|
12275
12354
|
},
|
|
12276
12355
|
m(l, a) {
|
|
12277
12356
|
M(l, e, a), ge(i, e, null), f(e, n), ge(o, e, null), s = !0;
|
|
@@ -12322,7 +12401,7 @@ function sa(t) {
|
|
|
12322
12401
|
}
|
|
12323
12402
|
};
|
|
12324
12403
|
}
|
|
12325
|
-
function
|
|
12404
|
+
function Ry(t) {
|
|
12326
12405
|
let e, i;
|
|
12327
12406
|
return e = new Om({
|
|
12328
12407
|
props: {
|
|
@@ -12373,9 +12452,9 @@ function Ly(t) {
|
|
|
12373
12452
|
}
|
|
12374
12453
|
};
|
|
12375
12454
|
}
|
|
12376
|
-
function
|
|
12455
|
+
function Ny(t) {
|
|
12377
12456
|
let e, i;
|
|
12378
|
-
return e = new
|
|
12457
|
+
return e = new D_({
|
|
12379
12458
|
props: {
|
|
12380
12459
|
onEvent: (
|
|
12381
12460
|
/*onEvent*/
|
|
@@ -12402,7 +12481,7 @@ function Dy(t) {
|
|
|
12402
12481
|
/*activeIconColor*/
|
|
12403
12482
|
t[55]
|
|
12404
12483
|
),
|
|
12405
|
-
$$slots: { default: [
|
|
12484
|
+
$$slots: { default: [Ry] },
|
|
12406
12485
|
$$scope: { ctx: t }
|
|
12407
12486
|
}
|
|
12408
12487
|
}), {
|
|
@@ -12664,7 +12743,7 @@ function ra(t) {
|
|
|
12664
12743
|
}
|
|
12665
12744
|
function ua(t) {
|
|
12666
12745
|
let e, i;
|
|
12667
|
-
return e = new
|
|
12746
|
+
return e = new W_({
|
|
12668
12747
|
props: {
|
|
12669
12748
|
onEvent: (
|
|
12670
12749
|
/*onEvent*/
|
|
@@ -12886,7 +12965,7 @@ function da(t) {
|
|
|
12886
12965
|
/*fixedPosition*/
|
|
12887
12966
|
t[8]
|
|
12888
12967
|
),
|
|
12889
|
-
$$slots: { default: [
|
|
12968
|
+
$$slots: { default: [qy] },
|
|
12890
12969
|
$$scope: { ctx: t }
|
|
12891
12970
|
}
|
|
12892
12971
|
}), {
|
|
@@ -12926,7 +13005,7 @@ function da(t) {
|
|
|
12926
13005
|
}
|
|
12927
13006
|
};
|
|
12928
13007
|
}
|
|
12929
|
-
function
|
|
13008
|
+
function xy(t) {
|
|
12930
13009
|
var n, o;
|
|
12931
13010
|
let e, i;
|
|
12932
13011
|
return e = new dr({
|
|
@@ -13010,7 +13089,7 @@ function Ry(t) {
|
|
|
13010
13089
|
}
|
|
13011
13090
|
};
|
|
13012
13091
|
}
|
|
13013
|
-
function
|
|
13092
|
+
function Fy(t) {
|
|
13014
13093
|
let e, i;
|
|
13015
13094
|
return e = new Yh({
|
|
13016
13095
|
props: {
|
|
@@ -13070,7 +13149,7 @@ function Ny(t) {
|
|
|
13070
13149
|
}
|
|
13071
13150
|
};
|
|
13072
13151
|
}
|
|
13073
|
-
function
|
|
13152
|
+
function Uy(t) {
|
|
13074
13153
|
let e, i;
|
|
13075
13154
|
return e = new d_({
|
|
13076
13155
|
props: {
|
|
@@ -13216,12 +13295,12 @@ function fa(t) {
|
|
|
13216
13295
|
}
|
|
13217
13296
|
};
|
|
13218
13297
|
}
|
|
13219
|
-
function
|
|
13298
|
+
function qy(t) {
|
|
13220
13299
|
let e, i, n, o = (
|
|
13221
13300
|
/*isVideo*/
|
|
13222
13301
|
t[21] && ea()
|
|
13223
13302
|
), s, l, a;
|
|
13224
|
-
const r = [
|
|
13303
|
+
const r = [Uy, Fy, xy], u = [];
|
|
13225
13304
|
function c(_, m) {
|
|
13226
13305
|
return (
|
|
13227
13306
|
/*isScreen*/
|
|
@@ -13244,7 +13323,7 @@ function Fy(t) {
|
|
|
13244
13323
|
);
|
|
13245
13324
|
return {
|
|
13246
13325
|
c() {
|
|
13247
|
-
i && i.c(), n = X(), g && g.c(), s = X(), v && v.c(), l =
|
|
13326
|
+
i && i.c(), n = X(), g && g.c(), s = X(), v && v.c(), l = qi();
|
|
13248
13327
|
},
|
|
13249
13328
|
m(_, m) {
|
|
13250
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;
|
|
@@ -13279,7 +13358,7 @@ function Fy(t) {
|
|
|
13279
13358
|
}
|
|
13280
13359
|
function ma(t) {
|
|
13281
13360
|
let e, i, n, o;
|
|
13282
|
-
const s = [
|
|
13361
|
+
const s = [Yy, Hy], l = [];
|
|
13283
13362
|
function a(r, u) {
|
|
13284
13363
|
return (
|
|
13285
13364
|
/*showCloseWidget*/
|
|
@@ -13292,7 +13371,7 @@ function ma(t) {
|
|
|
13292
13371
|
}
|
|
13293
13372
|
return ~(i = a(t)) && (n = l[i] = s[i](t)), {
|
|
13294
13373
|
c() {
|
|
13295
|
-
e = p("div"), n && n.c(),
|
|
13374
|
+
e = p("div"), n && n.c(), Wi(e, "class", "end svelte-1typsi4"), ie(
|
|
13296
13375
|
e,
|
|
13297
13376
|
"logo-image-right",
|
|
13298
13377
|
/*logoImagePosition*/
|
|
@@ -13341,7 +13420,7 @@ function ma(t) {
|
|
|
13341
13420
|
}
|
|
13342
13421
|
};
|
|
13343
13422
|
}
|
|
13344
|
-
function
|
|
13423
|
+
function Hy(t) {
|
|
13345
13424
|
let e, i;
|
|
13346
13425
|
return e = new mr({
|
|
13347
13426
|
props: {
|
|
@@ -13391,7 +13470,7 @@ function Uy(t) {
|
|
|
13391
13470
|
}
|
|
13392
13471
|
};
|
|
13393
13472
|
}
|
|
13394
|
-
function
|
|
13473
|
+
function Yy(t) {
|
|
13395
13474
|
let e, i;
|
|
13396
13475
|
return e = new C0({
|
|
13397
13476
|
props: {
|
|
@@ -13442,7 +13521,7 @@ function qy(t) {
|
|
|
13442
13521
|
}
|
|
13443
13522
|
};
|
|
13444
13523
|
}
|
|
13445
|
-
function
|
|
13524
|
+
function Zy(t) {
|
|
13446
13525
|
let e, i, n, o, s, l, a, r, u, c, g, v, _, m, w, y, A, S, C, T, I, E, R = (
|
|
13447
13526
|
/*isVideo*/
|
|
13448
13527
|
t[21] && /*videoPosterImage*/
|
|
@@ -13474,7 +13553,7 @@ function Hy(t) {
|
|
|
13474
13553
|
),
|
|
13475
13554
|
enabled: !/*fixedPosition*/
|
|
13476
13555
|
t[8],
|
|
13477
|
-
$$slots: { default: [
|
|
13556
|
+
$$slots: { default: [Ny] },
|
|
13478
13557
|
$$scope: { ctx: t }
|
|
13479
13558
|
};
|
|
13480
13559
|
/*isVisible*/
|
|
@@ -13483,7 +13562,7 @@ function Hy(t) {
|
|
|
13483
13562
|
t[1] !== void 0 && (se.relativeY = /*relativeY*/
|
|
13484
13563
|
t[1]), /*absoluteY*/
|
|
13485
13564
|
t[2] !== void 0 && (se.absoluteY = /*absoluteY*/
|
|
13486
|
-
t[2]), l = new
|
|
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));
|
|
13487
13566
|
let $ = (
|
|
13488
13567
|
/*isStandard*/
|
|
13489
13568
|
(t[28] && /*isStopped*/
|
|
@@ -13503,7 +13582,7 @@ function Hy(t) {
|
|
|
13503
13582
|
t[19] > 720 && /*controlsOrder*/
|
|
13504
13583
|
t[22] !== "left-to-right-but-swap-ends" && ra(t)
|
|
13505
13584
|
);
|
|
13506
|
-
m = new
|
|
13585
|
+
m = new cy({
|
|
13507
13586
|
props: {
|
|
13508
13587
|
currentTime: (
|
|
13509
13588
|
/*currentTime*/
|
|
@@ -13575,7 +13654,7 @@ function Hy(t) {
|
|
|
13575
13654
|
);
|
|
13576
13655
|
return {
|
|
13577
13656
|
c() {
|
|
13578
|
-
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(),
|
|
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*/
|
|
13579
13658
|
t[21] ? "" : `background: ${/*activeBgColor*/
|
|
13580
13659
|
t[56]}`), ie(i, "no-image", !/*largeImage*/
|
|
13581
13660
|
t[47]);
|
|
@@ -13706,7 +13785,7 @@ function Hy(t) {
|
|
|
13706
13785
|
2097152 | P[1] & /*activeBgColor*/
|
|
13707
13786
|
33554432 && C !== (C = /*isVideo*/
|
|
13708
13787
|
b[21] ? "" : `background: ${/*activeBgColor*/
|
|
13709
|
-
b[56]}`)) &&
|
|
13788
|
+
b[56]}`)) && Wi(i, "style", C), (!T || P[1] & /*largeImage*/
|
|
13710
13789
|
65536) && ie(i, "no-image", !/*largeImage*/
|
|
13711
13790
|
b[47]);
|
|
13712
13791
|
},
|
|
@@ -13723,7 +13802,7 @@ function Hy(t) {
|
|
|
13723
13802
|
}
|
|
13724
13803
|
function ha(t) {
|
|
13725
13804
|
let e, i;
|
|
13726
|
-
return e = new
|
|
13805
|
+
return e = new py({
|
|
13727
13806
|
props: {
|
|
13728
13807
|
onEvent: (
|
|
13729
13808
|
/*onEvent*/
|
|
@@ -13811,7 +13890,7 @@ function ha(t) {
|
|
|
13811
13890
|
}
|
|
13812
13891
|
};
|
|
13813
13892
|
}
|
|
13814
|
-
function
|
|
13893
|
+
function Gy(t) {
|
|
13815
13894
|
let e, i, n, o, s, l, a, r, u;
|
|
13816
13895
|
function c(_) {
|
|
13817
13896
|
t[85](_);
|
|
@@ -13825,19 +13904,19 @@ function Yy(t) {
|
|
|
13825
13904
|
/*isVideo*/
|
|
13826
13905
|
t[21] ? 1500 : 1 / 0
|
|
13827
13906
|
),
|
|
13828
|
-
$$slots: { default: [
|
|
13907
|
+
$$slots: { default: [Zy] },
|
|
13829
13908
|
$$scope: { ctx: t }
|
|
13830
13909
|
};
|
|
13831
13910
|
/*isHovering*/
|
|
13832
13911
|
t[20] !== void 0 && (g.isHovering = /*isHovering*/
|
|
13833
|
-
t[20]), i = new
|
|
13912
|
+
t[20]), i = new Cy({ props: g }), oe.push(() => be(i, "isHovering", c));
|
|
13834
13913
|
let v = (
|
|
13835
13914
|
/*showPlaylist*/
|
|
13836
13915
|
t[42] && ha(t)
|
|
13837
13916
|
);
|
|
13838
13917
|
return {
|
|
13839
13918
|
c() {
|
|
13840
|
-
e = p("div"), me(i.$$.fragment), o = X(), v && v.c(),
|
|
13919
|
+
e = p("div"), me(i.$$.fragment), o = X(), v && v.c(), Wi(e, "class", s = wl(
|
|
13841
13920
|
/*classes*/
|
|
13842
13921
|
t[40]
|
|
13843
13922
|
) + " svelte-1typsi4"), $o(
|
|
@@ -13899,7 +13978,7 @@ function Yy(t) {
|
|
|
13899
13978
|
512 && s !== (s = wl(
|
|
13900
13979
|
/*classes*/
|
|
13901
13980
|
_[40]
|
|
13902
|
-
) + " svelte-1typsi4")) &&
|
|
13981
|
+
) + " svelte-1typsi4")) && Wi(e, "class", s), (!a || m[1] & /*widthStyle*/
|
|
13903
13982
|
262144) && $o(
|
|
13904
13983
|
e,
|
|
13905
13984
|
"width",
|
|
@@ -13964,7 +14043,7 @@ function Yy(t) {
|
|
|
13964
14043
|
}
|
|
13965
14044
|
};
|
|
13966
14045
|
}
|
|
13967
|
-
function
|
|
14046
|
+
function Ky(t, e, i) {
|
|
13968
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;
|
|
13969
14048
|
import("./././././././././style.js");
|
|
13970
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 = () => {
|
|
@@ -14015,7 +14094,7 @@ function Zy(t, e, i) {
|
|
|
14015
14094
|
536870912 | t.$$.dirty[2] & /*activeAdvert*/
|
|
14016
14095
|
32 && i(27, c = Be && !u), t.$$.dirty[0] & /*content*/
|
|
14017
14096
|
512 && i(78, g = gt.length > 1), t.$$.dirty[0] & /*playerStyle, width*/
|
|
14018
|
-
524296 && i(33, v =
|
|
14097
|
+
524296 && i(33, v = My({ playerStyle: Te, width: Bt })), t.$$.dirty[0] & /*content, contentIndex*/
|
|
14019
14098
|
1536 && i(32, _ = gt[ze] || {}), t.$$.dirty[0] & /*currentTime, duration*/
|
|
14020
14099
|
6144 && i(58, m = $e / lt), t.$$.dirty[0] & /*isAdvert*/
|
|
14021
14100
|
134217728 | t.$$.dirty[2] & /*activeAdvert, textColor*/
|
|
@@ -14052,7 +14131,7 @@ function Zy(t, e, i) {
|
|
|
14052
14131
|
285212928 && i(48, $ = (k) => Re && !window.disableAnimation && X1(k, { y: n || o ? 40 : 100 })), t.$$.dirty[0] & /*playerStyle, isAdvert*/
|
|
14053
14132
|
134217736 | t.$$.dirty[1] & /*isMobile*/
|
|
14054
14133
|
4 | t.$$.dirty[2] & /*position*/
|
|
14055
|
-
524288 && i(22, Q =
|
|
14134
|
+
524288 && i(22, Q = Ey({
|
|
14056
14135
|
playerStyle: Te,
|
|
14057
14136
|
position: ce,
|
|
14058
14137
|
isMobile: v,
|
|
@@ -14177,8 +14256,8 @@ class hl extends we {
|
|
|
14177
14256
|
super(), Se(
|
|
14178
14257
|
this,
|
|
14179
14258
|
e,
|
|
14180
|
-
|
|
14181
|
-
|
|
14259
|
+
Ky,
|
|
14260
|
+
Gy,
|
|
14182
14261
|
pe,
|
|
14183
14262
|
{
|
|
14184
14263
|
playerStyle: 3,
|
|
@@ -14425,8 +14504,8 @@ class hl extends we {
|
|
|
14425
14504
|
this.$$set({ absoluteY: e }), d();
|
|
14426
14505
|
}
|
|
14427
14506
|
}
|
|
14428
|
-
const xs = (t, e, i) => Ce(t, e, e === "style" ?
|
|
14429
|
-
function
|
|
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) {
|
|
14430
14509
|
let e, i, n;
|
|
14431
14510
|
const o = (
|
|
14432
14511
|
/*#slots*/
|
|
@@ -14480,7 +14559,7 @@ function Jy(t) {
|
|
|
14480
14559
|
}
|
|
14481
14560
|
};
|
|
14482
14561
|
}
|
|
14483
|
-
function
|
|
14562
|
+
function $y(t, e, i) {
|
|
14484
14563
|
let n, { $$slots: o = {}, $$scope: s } = e, { root: l = void 0 } = e, { prepend: a = !1 } = e, r, u;
|
|
14485
14564
|
vo(() => i(3, u = r.parentNode));
|
|
14486
14565
|
const c = (_, m) => _.insertBefore(m, _.firstChild), g = (_, m) => _.appendChild(m);
|
|
@@ -14501,7 +14580,7 @@ function Xy(t, e, i) {
|
|
|
14501
14580
|
}
|
|
14502
14581
|
class Is extends we {
|
|
14503
14582
|
constructor(e) {
|
|
14504
|
-
super(), Se(this, e,
|
|
14583
|
+
super(), Se(this, e, $y, Qy, pe, { root: 0, prepend: 2 });
|
|
14505
14584
|
}
|
|
14506
14585
|
get root() {
|
|
14507
14586
|
return this.$$.ctx[0];
|
|
@@ -14516,7 +14595,7 @@ class Is extends we {
|
|
|
14516
14595
|
this.$$set({ prepend: e }), d();
|
|
14517
14596
|
}
|
|
14518
14597
|
}
|
|
14519
|
-
const W = (t, e, i) => Ce(t, e, e === "style" ?
|
|
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(";");
|
|
14520
14599
|
function _a(t, e, i) {
|
|
14521
14600
|
const n = t.slice();
|
|
14522
14601
|
return n[88] = e[i], n[90] = i, n;
|
|
@@ -14529,7 +14608,7 @@ function va(t, e, i) {
|
|
|
14529
14608
|
const n = t.slice();
|
|
14530
14609
|
return n[88] = e[i], n[90] = i, n;
|
|
14531
14610
|
}
|
|
14532
|
-
function
|
|
14611
|
+
function i2(t, e, i) {
|
|
14533
14612
|
const n = t.slice();
|
|
14534
14613
|
return n[93] = e[i], n;
|
|
14535
14614
|
}
|
|
@@ -14556,14 +14635,14 @@ function ka(t) {
|
|
|
14556
14635
|
p(a, r) {
|
|
14557
14636
|
r[1] & /*adverts*/
|
|
14558
14637
|
4096 && o !== (o = /*item*/
|
|
14559
|
-
a[88].placement + "") &&
|
|
14638
|
+
a[88].placement + "") && Ti(s, o);
|
|
14560
14639
|
},
|
|
14561
14640
|
d(a) {
|
|
14562
14641
|
a && O(e);
|
|
14563
14642
|
}
|
|
14564
14643
|
};
|
|
14565
14644
|
}
|
|
14566
|
-
function
|
|
14645
|
+
function n2(t) {
|
|
14567
14646
|
let e;
|
|
14568
14647
|
return {
|
|
14569
14648
|
c() {
|
|
@@ -14581,7 +14660,7 @@ function t2(t) {
|
|
|
14581
14660
|
};
|
|
14582
14661
|
}
|
|
14583
14662
|
function pa(t) {
|
|
14584
|
-
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,
|
|
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(
|
|
14585
14664
|
/*content*/
|
|
14586
14665
|
t[41]
|
|
14587
14666
|
), vt = [];
|
|
@@ -14629,9 +14708,9 @@ function pa(t) {
|
|
|
14629
14708
|
`), Ke = p("input"), Bt = X(), rt = p("div"), wt = ne(`widgetTarget:
|
|
14630
14709
|
`), ct = p("input"), zt = X(), Lt = p("div"), Dt = ne(`logoIconEnabled:
|
|
14631
14710
|
`), Vt = p("select"), _t = p("option"), _t.textContent = `${!1}`, he = p("option"), he.textContent = `${!0}`, k = X(), V = p("div"), ue = ne(`advertConsent:
|
|
14632
|
-
`), 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",
|
|
14633
|
-
`), yt = p("select"),
|
|
14634
|
-
`), Ot = p("input"), ai = X(), Nt = p("div"),
|
|
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:
|
|
14635
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*/
|
|
14636
14715
|
t[5] === void 0 && nt(() => (
|
|
14637
14716
|
/*select0_change_handler_1*/
|
|
@@ -14664,7 +14743,7 @@ function pa(t) {
|
|
|
14664
14743
|
t[37] === void 0 && nt(() => (
|
|
14665
14744
|
/*select7_change_handler_1*/
|
|
14666
14745
|
t[82].call(Rt)
|
|
14667
|
-
)), W(V, "class", "control svelte-g76q0j"),
|
|
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*/
|
|
14668
14747
|
t[38] === void 0 && nt(() => (
|
|
14669
14748
|
/*select8_change_handler_1*/
|
|
14670
14749
|
t[83].call(yt)
|
|
@@ -14764,20 +14843,20 @@ function pa(t) {
|
|
|
14764
14843
|
/*advertConsent*/
|
|
14765
14844
|
t[37],
|
|
14766
14845
|
!0
|
|
14767
|
-
), M(D,
|
|
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(
|
|
14768
14847
|
yt,
|
|
14769
14848
|
/*analyticsConsent*/
|
|
14770
14849
|
t[38],
|
|
14771
14850
|
!0
|
|
14772
|
-
), M(D, Ct, J), M(D, Ht, J), f(Ht,
|
|
14851
|
+
), M(D, Ct, J), M(D, Ht, J), f(Ht, ki), f(Ht, Ot), x(
|
|
14773
14852
|
Ot,
|
|
14774
14853
|
/*analyticsCustomUrl*/
|
|
14775
14854
|
t[39]
|
|
14776
|
-
), M(D, ai, J), M(D, Nt, J), f(Nt,
|
|
14855
|
+
), M(D, ai, J), M(D, Nt, J), f(Nt, bn), f(Nt, Yt), x(
|
|
14777
14856
|
Yt,
|
|
14778
14857
|
/*analyticsTag*/
|
|
14779
14858
|
t[40]
|
|
14780
|
-
),
|
|
14859
|
+
), ln || (xt = [
|
|
14781
14860
|
q(
|
|
14782
14861
|
c,
|
|
14783
14862
|
"input",
|
|
@@ -14910,7 +14989,7 @@ function pa(t) {
|
|
|
14910
14989
|
/*input12_input_handler*/
|
|
14911
14990
|
t[85]
|
|
14912
14991
|
)
|
|
14913
|
-
],
|
|
14992
|
+
], ln = !0);
|
|
14914
14993
|
},
|
|
14915
14994
|
p(D, J) {
|
|
14916
14995
|
if (J[0] & /*projectId*/
|
|
@@ -15084,7 +15163,7 @@ function pa(t) {
|
|
|
15084
15163
|
);
|
|
15085
15164
|
},
|
|
15086
15165
|
d(D) {
|
|
15087
|
-
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(
|
|
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);
|
|
15088
15167
|
}
|
|
15089
15168
|
};
|
|
15090
15169
|
}
|
|
@@ -15107,7 +15186,7 @@ function Sa(t) {
|
|
|
15107
15186
|
p(a, r) {
|
|
15108
15187
|
r[1] & /*content*/
|
|
15109
15188
|
1024 && o !== (o = /*item*/
|
|
15110
|
-
a[88].title + "") &&
|
|
15189
|
+
a[88].title + "") && Ti(s, o);
|
|
15111
15190
|
},
|
|
15112
15191
|
d(a) {
|
|
15113
15192
|
a && O(e);
|
|
@@ -15133,7 +15212,7 @@ function wa(t) {
|
|
|
15133
15212
|
p(l, a) {
|
|
15134
15213
|
a[1] & /*introsOutros*/
|
|
15135
15214
|
2048 && o !== (o = /*item*/
|
|
15136
|
-
l[88].placement + "") &&
|
|
15215
|
+
l[88].placement + "") && Ti(s, o);
|
|
15137
15216
|
},
|
|
15138
15217
|
d(l) {
|
|
15139
15218
|
l && O(e);
|
|
@@ -15159,14 +15238,14 @@ function Ta(t) {
|
|
|
15159
15238
|
p(l, a) {
|
|
15160
15239
|
a[1] & /*adverts*/
|
|
15161
15240
|
4096 && o !== (o = /*item*/
|
|
15162
|
-
l[88].placement + "") &&
|
|
15241
|
+
l[88].placement + "") && Ti(s, o);
|
|
15163
15242
|
},
|
|
15164
15243
|
d(l) {
|
|
15165
15244
|
l && O(e);
|
|
15166
15245
|
}
|
|
15167
15246
|
};
|
|
15168
15247
|
}
|
|
15169
|
-
function
|
|
15248
|
+
function o2(t) {
|
|
15170
15249
|
let e, i, n;
|
|
15171
15250
|
return {
|
|
15172
15251
|
c() {
|
|
@@ -15186,7 +15265,7 @@ function i2(t) {
|
|
|
15186
15265
|
}
|
|
15187
15266
|
};
|
|
15188
15267
|
}
|
|
15189
|
-
function
|
|
15268
|
+
function s2(t) {
|
|
15190
15269
|
let e, i, n;
|
|
15191
15270
|
return {
|
|
15192
15271
|
c() {
|
|
@@ -15206,16 +15285,16 @@ function n2(t) {
|
|
|
15206
15285
|
}
|
|
15207
15286
|
};
|
|
15208
15287
|
}
|
|
15209
|
-
function
|
|
15210
|
-
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,
|
|
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(
|
|
15211
15290
|
/*adverts*/
|
|
15212
15291
|
t[43]
|
|
15213
15292
|
), Gt = [];
|
|
15214
|
-
for (let _e = 0; _e <
|
|
15215
|
-
Gt[_e] = ka(ba(t,
|
|
15216
|
-
let Bs = ti([1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]),
|
|
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 = [];
|
|
15217
15296
|
for (let _e = 0; _e < 12; _e += 1)
|
|
15218
|
-
|
|
15297
|
+
pn[_e] = n2(i2(t, Bs, _e));
|
|
15219
15298
|
let ii = (
|
|
15220
15299
|
/*showAdvancedSettings*/
|
|
15221
15300
|
t[44] && pa(t)
|
|
@@ -15223,10 +15302,10 @@ function o2(t) {
|
|
|
15223
15302
|
function Co(_e, it) {
|
|
15224
15303
|
return (
|
|
15225
15304
|
/*showAdvancedSettings*/
|
|
15226
|
-
_e[44] ?
|
|
15305
|
+
_e[44] ? s2 : o2
|
|
15227
15306
|
);
|
|
15228
15307
|
}
|
|
15229
|
-
let Vn = Co(t),
|
|
15308
|
+
let Vn = Co(t), Ai = Vn(t);
|
|
15230
15309
|
return {
|
|
15231
15310
|
c() {
|
|
15232
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:
|
|
@@ -15246,15 +15325,15 @@ function o2(t) {
|
|
|
15246
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:
|
|
15247
15326
|
`), _t = p("input"), he = X(), k = p("div"), V = ne(`backgroundColor:
|
|
15248
15327
|
`), ue = p("input"), Rt = X(), qt = p("div"), gi = ne(`iconColor:
|
|
15249
|
-
`), Tt = p("input"),
|
|
15250
|
-
`), yt = p("input"),
|
|
15251
|
-
`), Ct = p("select"), Ht = p("option"), Ht.textContent = "all",
|
|
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:
|
|
15252
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:
|
|
15253
|
-
`), le = p("select"), Zt = p("option"), Zt.textContent = "all",
|
|
15254
|
-
`),
|
|
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");
|
|
15255
15334
|
for (let _e = 0; _e < 12; _e += 1)
|
|
15256
|
-
|
|
15257
|
-
So = X(), ii && ii.c(), Gn = X(), wo = p("br"), To = X(),
|
|
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*/
|
|
15258
15337
|
t[6] === void 0 && nt(() => (
|
|
15259
15338
|
/*select0_change_handler*/
|
|
15260
15339
|
t[45].call(r)
|
|
@@ -15290,7 +15369,7 @@ function o2(t) {
|
|
|
15290
15369
|
t[24] === void 0 && nt(() => (
|
|
15291
15370
|
/*select8_change_handler*/
|
|
15292
15371
|
t[55].call(Ge)
|
|
15293
|
-
)), 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),
|
|
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*/
|
|
15294
15373
|
t[33] === void 0 && nt(() => (
|
|
15295
15374
|
/*select9_change_handler*/
|
|
15296
15375
|
t[60].call(Ct)
|
|
@@ -15298,15 +15377,15 @@ function o2(t) {
|
|
|
15298
15377
|
t[34] === void 0 && nt(() => (
|
|
15299
15378
|
/*select10_change_handler*/
|
|
15300
15379
|
t[61].call(xt)
|
|
15301
|
-
)), W(Yt, "class", "control svelte-g76q0j"), Zt.__value = "all", x(Zt, Zt.__value),
|
|
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*/
|
|
15302
15381
|
t[35] === void 0 && nt(() => (
|
|
15303
15382
|
/*select11_change_handler*/
|
|
15304
15383
|
t[62].call(le)
|
|
15305
|
-
)), W(D, "class", "control svelte-g76q0j"), W(
|
|
15384
|
+
)), W(D, "class", "control svelte-g76q0j"), W(Oi, "tabindex", -1), W(Oi, "class", "svelte-g76q0j"), /*segmentWidgetPosition*/
|
|
15306
15385
|
t[36] === void 0 && nt(() => (
|
|
15307
15386
|
/*select12_change_handler*/
|
|
15308
|
-
t[63].call(
|
|
15309
|
-
)), W(
|
|
15387
|
+
t[63].call(Oi)
|
|
15388
|
+
)), W(kn, "class", "control svelte-g76q0j"), W(e, "class", "control-panel");
|
|
15310
15389
|
},
|
|
15311
15390
|
m(_e, it) {
|
|
15312
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(
|
|
@@ -15377,34 +15456,34 @@ function o2(t) {
|
|
|
15377
15456
|
Tt,
|
|
15378
15457
|
/*iconColor*/
|
|
15379
15458
|
t[28]
|
|
15380
|
-
), f(e,
|
|
15459
|
+
), f(e, Hi), f(e, si), f(si, sn), f(si, yt), x(
|
|
15381
15460
|
yt,
|
|
15382
15461
|
/*highlightColor*/
|
|
15383
15462
|
t[29]
|
|
15384
|
-
), f(e,
|
|
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(
|
|
15385
15464
|
Ct,
|
|
15386
15465
|
/*highlightSections*/
|
|
15387
15466
|
t[33],
|
|
15388
15467
|
!0
|
|
15389
|
-
), f(e,
|
|
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(
|
|
15390
15469
|
xt,
|
|
15391
15470
|
/*clickableSections*/
|
|
15392
15471
|
t[34],
|
|
15393
15472
|
!0
|
|
15394
|
-
), f(e, Mt), f(e, D), f(D, J), f(D, le), f(le, Zt), f(le,
|
|
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(
|
|
15395
15474
|
le,
|
|
15396
15475
|
/*segmentWidgetSections*/
|
|
15397
15476
|
t[35],
|
|
15398
15477
|
!0
|
|
15399
|
-
), f(e, ko), f(e,
|
|
15478
|
+
), f(e, ko), f(e, kn), f(kn, po), f(kn, Oi);
|
|
15400
15479
|
for (let kt = 0; kt < 12; kt += 1)
|
|
15401
|
-
|
|
15480
|
+
pn[kt] && pn[kt].m(Oi, null);
|
|
15402
15481
|
Ie(
|
|
15403
|
-
|
|
15482
|
+
Oi,
|
|
15404
15483
|
/*segmentWidgetPosition*/
|
|
15405
15484
|
t[36],
|
|
15406
15485
|
!0
|
|
15407
|
-
), f(e, So), ii && ii.m(e, null), f(e, Gn), f(e, wo), f(e, To),
|
|
15486
|
+
), f(e, So), ii && ii.m(e, null), f(e, Gn), f(e, wo), f(e, To), Ai.m(e, null), Kn || (Po = [
|
|
15408
15487
|
q(
|
|
15409
15488
|
r,
|
|
15410
15489
|
"change",
|
|
@@ -15514,7 +15593,7 @@ function o2(t) {
|
|
|
15514
15593
|
t[62]
|
|
15515
15594
|
),
|
|
15516
15595
|
q(
|
|
15517
|
-
|
|
15596
|
+
Oi,
|
|
15518
15597
|
"change",
|
|
15519
15598
|
/*select12_change_handler*/
|
|
15520
15599
|
t[63]
|
|
@@ -15561,18 +15640,18 @@ function o2(t) {
|
|
|
15561
15640
|
_e[11]
|
|
15562
15641
|
), it[1] & /*adverts*/
|
|
15563
15642
|
4096) {
|
|
15564
|
-
|
|
15643
|
+
dn = ti(
|
|
15565
15644
|
/*adverts*/
|
|
15566
15645
|
_e[43]
|
|
15567
15646
|
);
|
|
15568
15647
|
let kt;
|
|
15569
|
-
for (kt = 0; kt <
|
|
15570
|
-
const Ao = ba(_e,
|
|
15648
|
+
for (kt = 0; kt < dn.length; kt += 1) {
|
|
15649
|
+
const Ao = ba(_e, dn, kt);
|
|
15571
15650
|
Gt[kt] ? Gt[kt].p(Ao, it) : (Gt[kt] = ka(Ao), Gt[kt].c(), Gt[kt].m($e, null));
|
|
15572
15651
|
}
|
|
15573
15652
|
for (; kt < Gt.length; kt += 1)
|
|
15574
15653
|
Gt[kt].d(1);
|
|
15575
|
-
Gt.length =
|
|
15654
|
+
Gt.length = dn.length;
|
|
15576
15655
|
}
|
|
15577
15656
|
it[0] & /*advertIndex*/
|
|
15578
15657
|
32768 && Ie(
|
|
@@ -15635,20 +15714,20 @@ function o2(t) {
|
|
|
15635
15714
|
_e[35]
|
|
15636
15715
|
), it[1] & /*segmentWidgetPosition*/
|
|
15637
15716
|
32 && Ie(
|
|
15638
|
-
|
|
15717
|
+
Oi,
|
|
15639
15718
|
/*segmentWidgetPosition*/
|
|
15640
15719
|
_e[36]
|
|
15641
15720
|
), /*showAdvancedSettings*/
|
|
15642
|
-
_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)) &&
|
|
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)));
|
|
15643
15722
|
},
|
|
15644
15723
|
i: ee,
|
|
15645
15724
|
o: ee,
|
|
15646
15725
|
d(_e) {
|
|
15647
|
-
_e && O(e),
|
|
15726
|
+
_e && O(e), vn(Gt, _e), vn(pn, _e), ii && ii.d(), Ai.d(), Kn = !1, ot(Po);
|
|
15648
15727
|
}
|
|
15649
15728
|
};
|
|
15650
15729
|
}
|
|
15651
|
-
function
|
|
15730
|
+
function a2(t, e, i) {
|
|
15652
15731
|
import("./././././././././style.js");
|
|
15653
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;
|
|
15654
15733
|
function st() {
|
|
@@ -15868,13 +15947,13 @@ function s2(t, e, i) {
|
|
|
15868
15947
|
k
|
|
15869
15948
|
];
|
|
15870
15949
|
}
|
|
15871
|
-
class
|
|
15950
|
+
class r2 extends we {
|
|
15872
15951
|
constructor(e) {
|
|
15873
15952
|
super(), Se(
|
|
15874
15953
|
this,
|
|
15875
15954
|
e,
|
|
15876
|
-
|
|
15877
|
-
|
|
15955
|
+
a2,
|
|
15956
|
+
l2,
|
|
15878
15957
|
pe,
|
|
15879
15958
|
{
|
|
15880
15959
|
projectId: 0,
|
|
@@ -16191,27 +16270,27 @@ class l2 extends we {
|
|
|
16191
16270
|
this.$$set({ analyticsTag: e }), d();
|
|
16192
16271
|
}
|
|
16193
16272
|
}
|
|
16194
|
-
const
|
|
16195
|
-
|
|
16273
|
+
const u2 = (t, e, i) => {
|
|
16274
|
+
g2(t);
|
|
16196
16275
|
const n = new Image();
|
|
16197
16276
|
return n.setAttribute("crossorigin", "anonymous"), new Promise((o, s) => {
|
|
16198
|
-
n.addEventListener("load",
|
|
16277
|
+
n.addEventListener("load", c2(n, e, i, o, s)), n.addEventListener("error", s), n.src = t;
|
|
16199
16278
|
});
|
|
16200
|
-
},
|
|
16279
|
+
}, c2 = (t, e, i, n, o) => () => {
|
|
16201
16280
|
const s = document.createElement("canvas"), l = s.getContext("2d");
|
|
16202
|
-
s.width = e, s.height = i, l.drawImage(t, 0, 0, e, i), s.toBlob(
|
|
16203
|
-
}, Dn = {},
|
|
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) => {
|
|
16204
16283
|
var a;
|
|
16205
16284
|
s || o();
|
|
16206
16285
|
const l = URL.createObjectURL(s);
|
|
16207
16286
|
Dn[a = t.src] || (Dn[a] = []), Dn[t.src].push(l), n({ src: l, sizes: `${e}x${i}`, type: "image/png" });
|
|
16208
|
-
},
|
|
16287
|
+
}, g2 = (t) => {
|
|
16209
16288
|
Object.keys(Dn).filter((n) => n !== t).map((n) => Dn[n]).flat().forEach((n) => URL.revokeObjectURL(n));
|
|
16210
|
-
},
|
|
16289
|
+
}, f2 = (t, e, i) => pi(void 0, null, function* () {
|
|
16211
16290
|
t = yield t;
|
|
16212
16291
|
const n = t.innerHTML;
|
|
16213
16292
|
return { src: `data:image/svg+xml,${encodeURIComponent(n)}`, sizes: `${e}x${i}`, type: "image/svg+xml" };
|
|
16214
|
-
}),
|
|
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(";");
|
|
16215
16294
|
function Pa(t, e, i) {
|
|
16216
16295
|
const n = t.slice();
|
|
16217
16296
|
return n[41] = e[i], n[42] = e, n[43] = i, n;
|
|
@@ -16247,7 +16326,7 @@ function Ca(t) {
|
|
|
16247
16326
|
);
|
|
16248
16327
|
return {
|
|
16249
16328
|
c() {
|
|
16250
|
-
e = p("div"), me(i.$$.fragment), n = X(),
|
|
16329
|
+
e = p("div"), me(i.$$.fragment), n = X(), m2(e, "display", "none");
|
|
16251
16330
|
},
|
|
16252
16331
|
m(r, u) {
|
|
16253
16332
|
M(r, e, u), ge(i, e, null), f(e, n), l(), s = !0;
|
|
@@ -16274,7 +16353,7 @@ function Ca(t) {
|
|
|
16274
16353
|
}
|
|
16275
16354
|
};
|
|
16276
16355
|
}
|
|
16277
|
-
function
|
|
16356
|
+
function v2(t) {
|
|
16278
16357
|
let e, i, n = ti(
|
|
16279
16358
|
/*imageSizes*/
|
|
16280
16359
|
t[3]
|
|
@@ -16289,7 +16368,7 @@ function _2(t) {
|
|
|
16289
16368
|
e = p("div");
|
|
16290
16369
|
for (let l = 0; l < o.length; l += 1)
|
|
16291
16370
|
o[l].c();
|
|
16292
|
-
|
|
16371
|
+
h2(e, "class", "media-session");
|
|
16293
16372
|
},
|
|
16294
16373
|
m(l, a) {
|
|
16295
16374
|
M(l, e, a);
|
|
@@ -16328,11 +16407,11 @@ function _2(t) {
|
|
|
16328
16407
|
i = !1;
|
|
16329
16408
|
},
|
|
16330
16409
|
d(l) {
|
|
16331
|
-
l && O(e),
|
|
16410
|
+
l && O(e), vn(o, l);
|
|
16332
16411
|
}
|
|
16333
16412
|
};
|
|
16334
16413
|
}
|
|
16335
|
-
function
|
|
16414
|
+
function b2(t, e, i) {
|
|
16336
16415
|
let n, o, s, l, a, r, u, c, g, v, _, m, w, y, A, S, C, T, I, E, R, Z;
|
|
16337
16416
|
const F = [96, 128, 192, 256, 384, 512], U = [
|
|
16338
16417
|
"hangup",
|
|
@@ -16388,9 +16467,9 @@ function y2(t, e, i) {
|
|
|
16388
16467
|
56 && i(33, y = o && w || !n && ($ == null ? void 0 : $.imageUrl) || (l == null ? void 0 : l.imageUrl)), t.$$.dirty[0] & /*failedUrls*/
|
|
16389
16468
|
65536 | t.$$.dirty[1] & /*imageUrl_*/
|
|
16390
16469
|
4 && i(29, A = j.has(y) ? null : y), t.$$.dirty[0] & /*imageUrl*/
|
|
16391
|
-
536870912 && i(32, S = A ? F.map((G) =>
|
|
16470
|
+
536870912 && i(32, S = A ? F.map((G) => u2(A, G, G)) : []), t.$$.dirty[0] & /*imageUrl*/
|
|
16392
16471
|
536870912 && i(31, C = A ? [{ src: A, sizes: "any" }] : []), t.$$.dirty[0] & /*imageUrl, renderedSvgs*/
|
|
16393
|
-
537001984 && i(30, T = A ? [] : F.map((G, Te) =>
|
|
16472
|
+
537001984 && i(30, T = A ? [] : F.map((G, Te) => f2(Pe[Te], G, G))), t.$$.dirty[0] & /*svgArtworks*/
|
|
16394
16473
|
1073741824 | t.$$.dirty[1] & /*pngArtworks, urlArtworks*/
|
|
16395
16474
|
3 && i(27, I = Promise.all([...S, ...C, ...T])), t.$$.dirty[0] & /*contentItem*/
|
|
16396
16475
|
268435456 && i(26, E = (l == null ? void 0 : l.title) || ""), t.$$.dirty[0] & /*artworks*/
|
|
@@ -16503,13 +16582,13 @@ function y2(t, e, i) {
|
|
|
16503
16582
|
Ue
|
|
16504
16583
|
];
|
|
16505
16584
|
}
|
|
16506
|
-
class
|
|
16585
|
+
class k2 extends we {
|
|
16507
16586
|
constructor(e) {
|
|
16508
16587
|
super(), Se(
|
|
16509
16588
|
this,
|
|
16510
16589
|
e,
|
|
16511
|
-
|
|
16512
|
-
|
|
16590
|
+
b2,
|
|
16591
|
+
v2,
|
|
16513
16592
|
pe,
|
|
16514
16593
|
{
|
|
16515
16594
|
content: 4,
|
|
@@ -16595,14 +16674,14 @@ class v2 extends we {
|
|
|
16595
16674
|
this.$$set({ onEvent: e }), d();
|
|
16596
16675
|
}
|
|
16597
16676
|
}
|
|
16598
|
-
const Aa = (t, e, i) => Ce(t, e, e === "style" ?
|
|
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(";");
|
|
16599
16678
|
function Ia(t) {
|
|
16600
16679
|
let e, i, n, o;
|
|
16601
16680
|
return {
|
|
16602
16681
|
c() {
|
|
16603
16682
|
e = p("script"), n = X(), o = p("script"), o.textContent = `window.dataLayer = window.dataLayer || [];
|
|
16604
16683
|
function gtag() { dataLayer.push(arguments); }
|
|
16605
|
-
gtag("js", new Date());`, e.async = !0,
|
|
16684
|
+
gtag("js", new Date());`, e.async = !0, on(e.src, i = "https://www.googletagmanager.com/gtag/js?id=" + /*analyticsTag*/
|
|
16606
16685
|
t[0]) || Aa(e, "src", i);
|
|
16607
16686
|
},
|
|
16608
16687
|
m(s, l) {
|
|
@@ -16610,7 +16689,7 @@ function Ia(t) {
|
|
|
16610
16689
|
},
|
|
16611
16690
|
p(s, l) {
|
|
16612
16691
|
l & /*analyticsTag*/
|
|
16613
|
-
1 && !
|
|
16692
|
+
1 && !on(e.src, i = "https://www.googletagmanager.com/gtag/js?id=" + /*analyticsTag*/
|
|
16614
16693
|
s[0]) && Aa(e, "src", i);
|
|
16615
16694
|
},
|
|
16616
16695
|
d(s) {
|
|
@@ -16618,12 +16697,12 @@ function Ia(t) {
|
|
|
16618
16697
|
}
|
|
16619
16698
|
};
|
|
16620
16699
|
}
|
|
16621
|
-
function
|
|
16700
|
+
function w2(t) {
|
|
16622
16701
|
let e, i = !/*alreadyLoaded*/
|
|
16623
16702
|
t[1] && Ia(t);
|
|
16624
16703
|
return {
|
|
16625
16704
|
c() {
|
|
16626
|
-
i && i.c(), e =
|
|
16705
|
+
i && i.c(), e = qi();
|
|
16627
16706
|
},
|
|
16628
16707
|
m(n, o) {
|
|
16629
16708
|
i && i.m(document.head, null), f(document.head, e);
|
|
@@ -16639,15 +16718,15 @@ function p2(t) {
|
|
|
16639
16718
|
}
|
|
16640
16719
|
};
|
|
16641
16720
|
}
|
|
16642
|
-
function
|
|
16721
|
+
function T2(t, e, i) {
|
|
16643
16722
|
let n, { analyticsTag: o } = e;
|
|
16644
16723
|
return t.$$set = (s) => {
|
|
16645
16724
|
"analyticsTag" in s && i(0, o = s.analyticsTag);
|
|
16646
16725
|
}, i(1, n = window.gtag), [o, n];
|
|
16647
16726
|
}
|
|
16648
|
-
class
|
|
16727
|
+
class P2 extends we {
|
|
16649
16728
|
constructor(e) {
|
|
16650
|
-
super(), Se(this, e,
|
|
16729
|
+
super(), Se(this, e, T2, w2, pe, { analyticsTag: 0 });
|
|
16651
16730
|
}
|
|
16652
16731
|
get analyticsTag() {
|
|
16653
16732
|
return this.$$.ctx[0];
|
|
@@ -16656,7 +16735,7 @@ class w2 extends we {
|
|
|
16656
16735
|
this.$$set({ analyticsTag: e }), d();
|
|
16657
16736
|
}
|
|
16658
16737
|
}
|
|
16659
|
-
class
|
|
16738
|
+
class C2 extends we {
|
|
16660
16739
|
constructor(e) {
|
|
16661
16740
|
super(), Se(this, e, null, null, pe, {});
|
|
16662
16741
|
}
|
|
@@ -16714,13 +16793,13 @@ const ao = (t, e, i) => {
|
|
|
16714
16793
|
return s === "all" || s === "body" && (e == null ? void 0 : e.section) === "body";
|
|
16715
16794
|
}, Uo = ["beyondwords-clickable", "bwp"];
|
|
16716
16795
|
var uo, ss, kr, ls, pr;
|
|
16717
|
-
const
|
|
16796
|
+
const Ki = class Ki {
|
|
16718
16797
|
constructor() {
|
|
16719
16798
|
this.ids = new yl();
|
|
16720
16799
|
}
|
|
16721
16800
|
update(e, i) {
|
|
16722
16801
|
const n = ao("hovered", e, i), o = this.previous, s = n ? this.ids.fetchOrAdd(e) : null;
|
|
16723
|
-
s &&
|
|
16802
|
+
s && Mi(Ki, uo).addInterest(s, this, e), o && Mi(Ki, uo).removeInterest(o, this), this.previous = s;
|
|
16724
16803
|
}
|
|
16725
16804
|
};
|
|
16726
16805
|
uo = new WeakMap(), ss = new WeakSet(), kr = function(e, i) {
|
|
@@ -16735,8 +16814,8 @@ uo = new WeakMap(), ss = new WeakSet(), kr = function(e, i) {
|
|
|
16735
16814
|
const n = document.querySelectorAll(`[data-beyondwords-marker="${i.marker}"]`);
|
|
16736
16815
|
for (const o of n)
|
|
16737
16816
|
el(o, Uo);
|
|
16738
|
-
}, Ae(
|
|
16739
|
-
let $s =
|
|
16817
|
+
}, Ae(Ki, ss), Ae(Ki, ls), Ae(Ki, uo, new _l(N(Ki, ss, kr), N(Ki, ls, pr)));
|
|
16818
|
+
let $s = Ki;
|
|
16740
16819
|
const el = (t, e) => {
|
|
16741
16820
|
if (!t)
|
|
16742
16821
|
return;
|
|
@@ -16744,7 +16823,7 @@ const el = (t, e) => {
|
|
|
16744
16823
|
t.classList.remove(...o);
|
|
16745
16824
|
}, Ba = (t, e, i) => ["beyondwords-widget", "bwp", `id-${t}`, `position-${e}`, `for-${i}-player`], Va = ["beyondwords-relative", "bwp"];
|
|
16746
16825
|
var co, as, Sr, rs, wr, us, Tr;
|
|
16747
|
-
const
|
|
16826
|
+
const Ji = class Ji {
|
|
16748
16827
|
constructor(e) {
|
|
16749
16828
|
// Add the container next to the first DOM node that matches the segment's
|
|
16750
16829
|
// marker. There might be an edge case where the segment was matched using
|
|
@@ -16757,7 +16836,7 @@ const Gi = class Gi {
|
|
|
16757
16836
|
}
|
|
16758
16837
|
update(e, i, n, o) {
|
|
16759
16838
|
const s = i.includes("all") || i.includes("body"), l = e || s && this.previous, a = this.previous, r = this.ids.fetchOrAdd(l);
|
|
16760
|
-
r &&
|
|
16839
|
+
r && Mi(Ji, co).addInterest(r, this, this, l, n, o), a && Mi(Ji, co).removeInterest(a, this), this.previous = r;
|
|
16761
16840
|
}
|
|
16762
16841
|
reset() {
|
|
16763
16842
|
this.update(null, "none");
|
|
@@ -16787,11 +16866,11 @@ co = new WeakMap(), as = new WeakSet(), Sr = function(e, i, n, o, s) {
|
|
|
16787
16866
|
o = document.querySelectorAll(r);
|
|
16788
16867
|
}
|
|
16789
16868
|
return o.length > 0 ? o[0] : e.segmentElement;
|
|
16790
|
-
}, Ae(
|
|
16791
|
-
let tl =
|
|
16869
|
+
}, Ae(Ji, as), Ae(Ji, rs), Ae(Ji, co, new _l(N(Ji, as, Sr), N(Ji, rs, wr)));
|
|
16870
|
+
let tl = Ji;
|
|
16792
16871
|
const Wa = (t) => ["beyondwords-highlight", "bwp", `id-${t}`];
|
|
16793
16872
|
var go, cs, Pr, ds, Cr, fo, nl;
|
|
16794
|
-
const
|
|
16873
|
+
const Xi = class Xi {
|
|
16795
16874
|
constructor() {
|
|
16796
16875
|
// Highlight the segmentElement and all DOM nodes with the same marker. There
|
|
16797
16876
|
// might be an edge case where the segment was matched using (xpath, md5) and
|
|
@@ -16802,7 +16881,7 @@ const Ki = class Ki {
|
|
|
16802
16881
|
}
|
|
16803
16882
|
update(e, i, n, o) {
|
|
16804
16883
|
const s = ao(e, i, n), l = this[`prev${e}`], a = s ? this.ids.fetchOrAdd(i) : null;
|
|
16805
|
-
a &&
|
|
16884
|
+
a && Mi(Xi, go).addInterest(a, this, this, i, o), l && Mi(Xi, go).removeInterest(l, this), this[`prev${e}`] = a;
|
|
16806
16885
|
}
|
|
16807
16886
|
};
|
|
16808
16887
|
go = new WeakMap(), cs = new WeakSet(), Pr = function(e, i, n, o) {
|
|
@@ -16835,40 +16914,40 @@ go = new WeakMap(), cs = new WeakSet(), Pr = function(e, i, n, o) {
|
|
|
16835
16914
|
i.add(r);
|
|
16836
16915
|
}
|
|
16837
16916
|
return i;
|
|
16838
|
-
}, Ae(
|
|
16839
|
-
let il =
|
|
16840
|
-
const
|
|
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({
|
|
16841
16920
|
type: "IdentifiersChanged",
|
|
16842
16921
|
description: "The Player's content identifiers changed.",
|
|
16843
16922
|
initiatedBy: "browser"
|
|
16844
|
-
}), vl = (i, ...n) =>
|
|
16923
|
+
}), vl = (i, ...n) => pi(void 0, [i, ...n], function* (t, e = {}) {
|
|
16845
16924
|
const o = yield fetch(t, e).catch(() => {
|
|
16846
16925
|
}), s = yield o == null ? void 0 : o.json().catch(() => {
|
|
16847
16926
|
});
|
|
16848
|
-
return (o == null ? void 0 : o.status) !== 200 && di(`Failed to fetch ${t}`,
|
|
16927
|
+
return (o == null ? void 0 : o.status) !== 200 && di(`Failed to fetch ${t}`, Yi(Kt({}, e), {
|
|
16849
16928
|
responseStatus: o == null ? void 0 : o.status,
|
|
16850
16929
|
responseJson: s
|
|
16851
16930
|
})), s;
|
|
16852
|
-
}),
|
|
16931
|
+
}), I2 = (t, e) => vl(t, {
|
|
16853
16932
|
method: "POST",
|
|
16854
16933
|
headers: { "Content-Type": "application/json" },
|
|
16855
16934
|
body: JSON.stringify(e, (i, n) => n === void 0 ? null : n)
|
|
16856
16935
|
});
|
|
16857
16936
|
var gs, Ar;
|
|
16858
|
-
class
|
|
16937
|
+
class B2 {
|
|
16859
16938
|
constructor(e, i, n) {
|
|
16860
16939
|
// private
|
|
16861
16940
|
Ae(this, gs);
|
|
16862
16941
|
this.baseUrl = N(this, gs, Ar).call(this, e), this.projectId = i, this.writeToken = n;
|
|
16863
16942
|
}
|
|
16864
16943
|
getWebSocketToken() {
|
|
16865
|
-
return
|
|
16944
|
+
return pi(this, null, function* () {
|
|
16866
16945
|
const e = { Authorization: `Token token=${this.writeToken}` }, { token: i } = yield vl(`https://${this.baseUrl}/api/v4/token/ws`, { headers: e });
|
|
16867
16946
|
this.webSocketToken = i;
|
|
16868
16947
|
});
|
|
16869
16948
|
}
|
|
16870
16949
|
establishConnection(e, i) {
|
|
16871
|
-
return
|
|
16950
|
+
return pi(this, null, function* () {
|
|
16872
16951
|
const n = `wss://${this.baseUrl}/cable?token=${this.webSocketToken}`, o = "actioncable-v1-json";
|
|
16873
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);
|
|
16874
16953
|
});
|
|
@@ -16886,13 +16965,13 @@ class A2 {
|
|
|
16886
16965
|
gs = new WeakSet(), Ar = function(e) {
|
|
16887
16966
|
return e.includes("staging") ? "app.staging-beyondwords.io" : "app.beyondwords.io";
|
|
16888
16967
|
};
|
|
16889
|
-
let
|
|
16890
|
-
const
|
|
16891
|
-
!t || !e || !i || (
|
|
16892
|
-
}),
|
|
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) => {
|
|
16893
16972
|
var o, s;
|
|
16894
|
-
((s = (o = e == null ? void 0 : e.message) == null ? void 0 : o.result) == null ? void 0 : s.action) === "podcast_state_updated" &&
|
|
16895
|
-
},
|
|
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) => {
|
|
16896
16975
|
const i = t.message.result;
|
|
16897
16976
|
e(ye({
|
|
16898
16977
|
type: "ContentStatusChanged",
|
|
@@ -16904,9 +16983,9 @@ const I2 = (t, e, i, n) => ki(void 0, null, function* () {
|
|
|
16904
16983
|
sourceUrl: i.source_url,
|
|
16905
16984
|
contentStatus: i.state
|
|
16906
16985
|
}));
|
|
16907
|
-
},
|
|
16986
|
+
}, M2 = (t) => {
|
|
16908
16987
|
di("The WebSocket status change subscription was rejected.", { webSocketEvent: t });
|
|
16909
|
-
},
|
|
16988
|
+
}, E2 = (t) => {
|
|
16910
16989
|
di("Unexpected WebSocket error.", { error: t });
|
|
16911
16990
|
}, Ir = (t) => {
|
|
16912
16991
|
if (!t())
|
|
@@ -16914,9 +16993,9 @@ const I2 = (t, e, i, n) => ki(void 0, null, function* () {
|
|
|
16914
16993
|
setInterval(() => t() && e(), 10);
|
|
16915
16994
|
});
|
|
16916
16995
|
}, es = (t) => {
|
|
16917
|
-
const i = Object.keys(t.$$.props).filter((n) => !
|
|
16996
|
+
const i = Object.keys(t.$$.props).filter((n) => !j2.has(n)).map((n) => [n, t[n]]);
|
|
16918
16997
|
return Object.fromEntries(i);
|
|
16919
|
-
},
|
|
16998
|
+
}, j2 = /* @__PURE__ */ new Set([
|
|
16920
16999
|
"addEventListener",
|
|
16921
17000
|
"removeEventListener",
|
|
16922
17001
|
"mediaElement",
|
|
@@ -16932,30 +17011,30 @@ const I2 = (t, e, i, n) => ki(void 0, null, function* () {
|
|
|
16932
17011
|
return n;
|
|
16933
17012
|
};
|
|
16934
17013
|
let $n = -1;
|
|
16935
|
-
const Vr = [],
|
|
17014
|
+
const Vr = [], z2 = (t, e, i) => pi(void 0, null, function* () {
|
|
16936
17015
|
yield Ir(() => e.player);
|
|
16937
|
-
const n = e.player, o =
|
|
16938
|
-
o > $n &&
|
|
16939
|
-
}),
|
|
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) => {
|
|
16940
17019
|
const n = i.findIndex((s) => s[0] === t && s[1] > e || s[0] > t);
|
|
16941
17020
|
return n === -1 ? i.length - 1 : n - 1;
|
|
16942
|
-
},
|
|
17021
|
+
}, D2 = (t, e, i, n) => {
|
|
16943
17022
|
for (let o = e + 1; o <= i; o += 1) {
|
|
16944
17023
|
const s = es(t);
|
|
16945
17024
|
n[o][2](t);
|
|
16946
17025
|
const l = es(t), a = Br(s, l);
|
|
16947
17026
|
Vr.push(a);
|
|
16948
17027
|
}
|
|
16949
|
-
},
|
|
17028
|
+
}, R2 = (t, e, i) => {
|
|
16950
17029
|
for (let n = e; n > i; n -= 1) {
|
|
16951
17030
|
const o = Vr.pop();
|
|
16952
17031
|
for (const [s, l] of Object.entries(o))
|
|
16953
17032
|
t[s] = l.previousValue;
|
|
16954
17033
|
}
|
|
16955
|
-
},
|
|
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 = () => {
|
|
16956
17035
|
const t = document.createElement("div");
|
|
16957
17036
|
return document.body.appendChild(t), t;
|
|
16958
|
-
},
|
|
17037
|
+
}, U2 = (t) => {
|
|
16959
17038
|
const e = document.createElement("div");
|
|
16960
17039
|
return t.parentNode.insertBefore(e, t.nextSibling), e;
|
|
16961
17040
|
}, ol = (t, e = "player") => {
|
|
@@ -16963,12 +17042,12 @@ const Vr = [], E2 = (t, e, i) => ki(void 0, null, function* () {
|
|
|
16963
17042
|
return t;
|
|
16964
17043
|
const i = document.querySelectorAll(t);
|
|
16965
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];
|
|
16966
|
-
},
|
|
17045
|
+
}, q2 = ["small", "standard", "large", "screen", "video"], sl = (t) => q2.indexOf(t) !== -1;
|
|
16967
17046
|
function Oa(t, e, i) {
|
|
16968
17047
|
const n = t.slice();
|
|
16969
17048
|
return n[161] = e[i], n;
|
|
16970
17049
|
}
|
|
16971
|
-
function
|
|
17050
|
+
function H2(t) {
|
|
16972
17051
|
let e, i, n, o, s, l, a, r;
|
|
16973
17052
|
function u(y) {
|
|
16974
17053
|
t[107](y);
|
|
@@ -17319,7 +17398,7 @@ function Ea(t) {
|
|
|
17319
17398
|
/*widgetTarget*/
|
|
17320
17399
|
t[14]
|
|
17321
17400
|
),
|
|
17322
|
-
$$slots: { default: [
|
|
17401
|
+
$$slots: { default: [Y2] },
|
|
17323
17402
|
$$scope: { ctx: t }
|
|
17324
17403
|
}
|
|
17325
17404
|
}), {
|
|
@@ -17350,7 +17429,7 @@ function Ea(t) {
|
|
|
17350
17429
|
}
|
|
17351
17430
|
};
|
|
17352
17431
|
}
|
|
17353
|
-
function
|
|
17432
|
+
function Y2(t) {
|
|
17354
17433
|
let e, i, n = {
|
|
17355
17434
|
onEvent: (
|
|
17356
17435
|
/*onEvent*/
|
|
@@ -17544,7 +17623,7 @@ function q2(t) {
|
|
|
17544
17623
|
}
|
|
17545
17624
|
};
|
|
17546
17625
|
}
|
|
17547
|
-
function
|
|
17626
|
+
function Z2(t) {
|
|
17548
17627
|
let e, i;
|
|
17549
17628
|
return e = new hl({
|
|
17550
17629
|
props: {
|
|
@@ -17694,14 +17773,14 @@ function ja(t, e) {
|
|
|
17694
17773
|
/*root*/
|
|
17695
17774
|
e[161]
|
|
17696
17775
|
),
|
|
17697
|
-
$$slots: { default: [
|
|
17776
|
+
$$slots: { default: [Z2] },
|
|
17698
17777
|
$$scope: { ctx: e }
|
|
17699
17778
|
}
|
|
17700
17779
|
}), {
|
|
17701
17780
|
key: t,
|
|
17702
17781
|
first: null,
|
|
17703
17782
|
c() {
|
|
17704
|
-
i =
|
|
17783
|
+
i = qi(), me(n.$$.fragment), this.first = i;
|
|
17705
17784
|
},
|
|
17706
17785
|
m(s, l) {
|
|
17707
17786
|
M(s, i, l), ge(n, s, l), o = !0;
|
|
@@ -17736,7 +17815,7 @@ function za(t) {
|
|
|
17736
17815
|
/*controlPanel*/
|
|
17737
17816
|
t[22]
|
|
17738
17817
|
),
|
|
17739
|
-
$$slots: { default: [
|
|
17818
|
+
$$slots: { default: [G2] },
|
|
17740
17819
|
$$scope: { ctx: t }
|
|
17741
17820
|
}
|
|
17742
17821
|
}), {
|
|
@@ -17766,7 +17845,7 @@ function za(t) {
|
|
|
17766
17845
|
}
|
|
17767
17846
|
};
|
|
17768
17847
|
}
|
|
17769
|
-
function
|
|
17848
|
+
function G2(t) {
|
|
17770
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;
|
|
17771
17850
|
function qe(k) {
|
|
17772
17851
|
t[116](k);
|
|
@@ -17998,7 +18077,7 @@ function Y2(t) {
|
|
|
17998
18077
|
t[43] !== void 0 && (he.analyticsCustomUrl = /*analyticsCustomUrl*/
|
|
17999
18078
|
t[43]), /*analyticsTag*/
|
|
18000
18079
|
t[44] !== void 0 && (he.analyticsTag = /*analyticsTag*/
|
|
18001
|
-
t[44]), e = new
|
|
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)), {
|
|
18002
18081
|
c() {
|
|
18003
18082
|
me(e.$$.fragment);
|
|
18004
18083
|
},
|
|
@@ -18115,7 +18194,7 @@ function Y2(t) {
|
|
|
18115
18194
|
}
|
|
18116
18195
|
function La(t) {
|
|
18117
18196
|
let e, i;
|
|
18118
|
-
return e = new
|
|
18197
|
+
return e = new k2({
|
|
18119
18198
|
props: {
|
|
18120
18199
|
onEvent: (
|
|
18121
18200
|
/*onEvent*/
|
|
@@ -18206,7 +18285,7 @@ function La(t) {
|
|
|
18206
18285
|
}
|
|
18207
18286
|
function Da(t) {
|
|
18208
18287
|
let e, i;
|
|
18209
|
-
return e = new
|
|
18288
|
+
return e = new P2({
|
|
18210
18289
|
props: { analyticsTag: (
|
|
18211
18290
|
/*analyticsTag*/
|
|
18212
18291
|
t[44]
|
|
@@ -18235,7 +18314,7 @@ function Da(t) {
|
|
|
18235
18314
|
}
|
|
18236
18315
|
};
|
|
18237
18316
|
}
|
|
18238
|
-
function
|
|
18317
|
+
function K2(t) {
|
|
18239
18318
|
let e, i, n, o, s = [], l = /* @__PURE__ */ new Map(), a, r, u, c, g, v;
|
|
18240
18319
|
e = new Is({
|
|
18241
18320
|
props: {
|
|
@@ -18244,7 +18323,7 @@ function Z2(t) {
|
|
|
18244
18323
|
/*videoRoot*/
|
|
18245
18324
|
t[70]
|
|
18246
18325
|
),
|
|
18247
|
-
$$slots: { default: [
|
|
18326
|
+
$$slots: { default: [H2] },
|
|
18248
18327
|
$$scope: { ctx: t }
|
|
18249
18328
|
}
|
|
18250
18329
|
});
|
|
@@ -18276,7 +18355,7 @@ function Z2(t) {
|
|
|
18276
18355
|
/*analyticsTag*/
|
|
18277
18356
|
t[44] && Da(t)
|
|
18278
18357
|
);
|
|
18279
|
-
return g = new
|
|
18358
|
+
return g = new C2({}), {
|
|
18280
18359
|
c() {
|
|
18281
18360
|
me(e.$$.fragment), i = X(), _ && _.c(), n = X(), m && m.c(), o = X();
|
|
18282
18361
|
for (let T = 0; T < s.length; T += 1)
|
|
@@ -18347,18 +18426,18 @@ function Z2(t) {
|
|
|
18347
18426
|
}
|
|
18348
18427
|
};
|
|
18349
18428
|
}
|
|
18350
|
-
function
|
|
18429
|
+
function J2(t, e, i) {
|
|
18351
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 = () => {
|
|
18352
18431
|
} } = e, { transitions: Lt = [] } = e, { controlPanel: Dt = void 0 } = e;
|
|
18353
18432
|
const Vt = (...h) => Tt.addEventListener(...h), _t = (...h) => Tt.removeEventListener(...h);
|
|
18354
|
-
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:
|
|
18355
|
-
const Nt = (h) => Tt.processEvent(Kt({ emittedFrom: w }, h)),
|
|
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);
|
|
18356
18435
|
function Yt(h) {
|
|
18357
18436
|
oe[h ? "unshift" : "push"](() => {
|
|
18358
18437
|
Rt = h, i(45, Rt);
|
|
18359
18438
|
});
|
|
18360
18439
|
}
|
|
18361
|
-
function
|
|
18440
|
+
function ln(h) {
|
|
18362
18441
|
ze = h, i(12, ze);
|
|
18363
18442
|
}
|
|
18364
18443
|
function xt(h) {
|
|
@@ -18386,7 +18465,7 @@ function G2(t, e, i) {
|
|
|
18386
18465
|
gi = h, i(47, gi);
|
|
18387
18466
|
});
|
|
18388
18467
|
}
|
|
18389
|
-
const D = (h) => Nt(
|
|
18468
|
+
const D = (h) => Nt(Yi(Kt({}, h), {
|
|
18390
18469
|
emittedFrom: "segment-widget",
|
|
18391
18470
|
widgetSegment: R,
|
|
18392
18471
|
widgetIsCurrent: Z
|
|
@@ -18400,28 +18479,28 @@ function G2(t, e, i) {
|
|
|
18400
18479
|
function Zt(h) {
|
|
18401
18480
|
se = h, i(2, se);
|
|
18402
18481
|
}
|
|
18403
|
-
function
|
|
18482
|
+
function an(h) {
|
|
18404
18483
|
$ = h, i(3, $);
|
|
18405
18484
|
}
|
|
18406
|
-
function
|
|
18485
|
+
function rn(h) {
|
|
18407
18486
|
Q = h, i(4, Q);
|
|
18408
18487
|
}
|
|
18409
|
-
function
|
|
18488
|
+
function un(h) {
|
|
18410
18489
|
de = h, i(5, de);
|
|
18411
18490
|
}
|
|
18412
|
-
function
|
|
18491
|
+
function cn(h) {
|
|
18413
18492
|
K = h, i(6, K);
|
|
18414
18493
|
}
|
|
18415
18494
|
function ko(h) {
|
|
18416
18495
|
te = h, i(24, te);
|
|
18417
18496
|
}
|
|
18418
|
-
function
|
|
18497
|
+
function kn(h) {
|
|
18419
18498
|
b = h, i(25, b);
|
|
18420
18499
|
}
|
|
18421
18500
|
function po(h) {
|
|
18422
18501
|
P = h, i(26, P);
|
|
18423
18502
|
}
|
|
18424
|
-
function
|
|
18503
|
+
function Oi(h) {
|
|
18425
18504
|
j = h, i(27, j);
|
|
18426
18505
|
}
|
|
18427
18506
|
function So(h) {
|
|
@@ -18442,7 +18521,7 @@ function G2(t, e, i) {
|
|
|
18442
18521
|
function Po(h) {
|
|
18443
18522
|
Ye = h, i(30, Ye);
|
|
18444
18523
|
}
|
|
18445
|
-
function
|
|
18524
|
+
function dn(h) {
|
|
18446
18525
|
Re = h, i(10, Re);
|
|
18447
18526
|
}
|
|
18448
18527
|
function Gt(h) {
|
|
@@ -18451,7 +18530,7 @@ function G2(t, e, i) {
|
|
|
18451
18530
|
function Bs(h) {
|
|
18452
18531
|
gt = h, i(11, gt);
|
|
18453
18532
|
}
|
|
18454
|
-
function
|
|
18533
|
+
function pn(h) {
|
|
18455
18534
|
ze = h, i(12, ze);
|
|
18456
18535
|
}
|
|
18457
18536
|
function ii(h) {
|
|
@@ -18463,7 +18542,7 @@ function G2(t, e, i) {
|
|
|
18463
18542
|
function Vn(h) {
|
|
18464
18543
|
jt = h, i(33, jt);
|
|
18465
18544
|
}
|
|
18466
|
-
function
|
|
18545
|
+
function Ai(h) {
|
|
18467
18546
|
Je = h, i(34, Je);
|
|
18468
18547
|
}
|
|
18469
18548
|
function _e(h) {
|
|
@@ -18521,7 +18600,7 @@ function G2(t, e, i) {
|
|
|
18521
18600
|
rt = h, i(44, rt);
|
|
18522
18601
|
}
|
|
18523
18602
|
return t.$$set = (h) => {
|
|
18524
|
-
"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,
|
|
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);
|
|
18525
18604
|
}, t.$$.update = () => {
|
|
18526
18605
|
t.$$.dirty[0] & /*contentIndex*/
|
|
18527
18606
|
128 | t.$$.dirty[1] & /*content*/
|
|
@@ -18561,14 +18640,14 @@ function G2(t, e, i) {
|
|
|
18561
18640
|
2 | t.$$.dirty[3] & /*showVideoPoster, isAdvert, contentItem*/
|
|
18562
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*/
|
|
18563
18642
|
31 | t.$$.dirty[2] & /*playlist*/
|
|
18564
|
-
16384 && Nt(
|
|
18643
|
+
16384 && Nt(A2()), t.$$.dirty[0] & /*projectId*/
|
|
18565
18644
|
1 | t.$$.dirty[2] & /*playerApiUrl, writeToken*/
|
|
18566
|
-
1056768 &&
|
|
18645
|
+
1056768 && V2(U, ae, wt, (h) => Nt(h)), t.$$.dirty[0] & /*hoveredSegment*/
|
|
18567
18646
|
2097152 | t.$$.dirty[3] & /*lastHovered*/
|
|
18568
18647
|
64 && i(99, T = je || T), t.$$.dirty[0] & /*currentSegment, segmentWidgetSections*/
|
|
18569
18648
|
1310720 && i(98, I = ao("current", Ee, tt)), t.$$.dirty[0] & /*currentSegment*/
|
|
18570
18649
|
1048576 | t.$$.dirty[3] & /*currentAllowedInWidget*/
|
|
18571
|
-
32 && I &&
|
|
18650
|
+
32 && I && bn(), t.$$.dirty[0] & /*segmentWidgetSections*/
|
|
18572
18651
|
262144 | t.$$.dirty[3] & /*lastHovered*/
|
|
18573
18652
|
64 && i(100, E = ao("hovered", T, tt)), t.$$.dirty[0] & /*currentSegment*/
|
|
18574
18653
|
1048576 | t.$$.dirty[3] & /*hoveredAllowedInWidget, lastHovered, currentAllowedInWidget*/
|
|
@@ -18578,7 +18657,7 @@ function G2(t, e, i) {
|
|
|
18578
18657
|
7 && i(68, F = Z || s || o), t.$$.dirty[0] & /*segmentWidgetSections, segmentWidgetPosition, playerStyle*/
|
|
18579
18658
|
786496 | t.$$.dirty[1] & /*widgetSegment*/
|
|
18580
18659
|
1073741824 | t.$$.dirty[3] & /*segmentContainers*/
|
|
18581
|
-
4 &&
|
|
18660
|
+
4 && ki.update(R, tt, H, K), t.$$.dirty[0] & /*hoveredSegment, clickableSections*/
|
|
18582
18661
|
2228224 | t.$$.dirty[3] & /*segmentClickables*/
|
|
18583
18662
|
8 && Ot.update(je, Ze), t.$$.dirty[0] & /*currentSegment, highlightSections, highlightColor*/
|
|
18584
18663
|
1146880 | t.$$.dirty[3] & /*segmentHighlights*/
|
|
@@ -18586,7 +18665,7 @@ function G2(t, e, i) {
|
|
|
18586
18665
|
2195456 | t.$$.dirty[3] & /*segmentHighlights*/
|
|
18587
18666
|
16 && ai.update("hovered", je, He, at), t.$$.dirty[0] & /*currentTime*/
|
|
18588
18667
|
2048 | t.$$.dirty[2] & /*transitions, controller*/
|
|
18589
|
-
142606336 &&
|
|
18668
|
+
142606336 && z2(Lt, Tt, gt);
|
|
18590
18669
|
}, [
|
|
18591
18670
|
ae,
|
|
18592
18671
|
ce,
|
|
@@ -18646,7 +18725,7 @@ function G2(t, e, i) {
|
|
|
18646
18725
|
Pt,
|
|
18647
18726
|
k,
|
|
18648
18727
|
ue,
|
|
18649
|
-
|
|
18728
|
+
Hi,
|
|
18650
18729
|
li,
|
|
18651
18730
|
Nt,
|
|
18652
18731
|
R,
|
|
@@ -18679,11 +18758,11 @@ function G2(t, e, i) {
|
|
|
18679
18758
|
he,
|
|
18680
18759
|
Tt,
|
|
18681
18760
|
si,
|
|
18682
|
-
|
|
18761
|
+
sn,
|
|
18683
18762
|
yt,
|
|
18684
|
-
Ti,
|
|
18685
18763
|
Pi,
|
|
18686
|
-
|
|
18764
|
+
Ci,
|
|
18765
|
+
ki,
|
|
18687
18766
|
Ot,
|
|
18688
18767
|
ai,
|
|
18689
18768
|
I,
|
|
@@ -18695,7 +18774,7 @@ function G2(t, e, i) {
|
|
|
18695
18774
|
r,
|
|
18696
18775
|
c,
|
|
18697
18776
|
Yt,
|
|
18698
|
-
|
|
18777
|
+
ln,
|
|
18699
18778
|
xt,
|
|
18700
18779
|
ri,
|
|
18701
18780
|
vt,
|
|
@@ -18707,28 +18786,28 @@ function G2(t, e, i) {
|
|
|
18707
18786
|
J,
|
|
18708
18787
|
le,
|
|
18709
18788
|
Zt,
|
|
18710
|
-
sn,
|
|
18711
|
-
ln,
|
|
18712
18789
|
an,
|
|
18713
18790
|
rn,
|
|
18791
|
+
un,
|
|
18792
|
+
cn,
|
|
18714
18793
|
ko,
|
|
18715
|
-
|
|
18794
|
+
kn,
|
|
18716
18795
|
po,
|
|
18717
|
-
|
|
18796
|
+
Oi,
|
|
18718
18797
|
So,
|
|
18719
18798
|
Gn,
|
|
18720
18799
|
wo,
|
|
18721
18800
|
To,
|
|
18722
18801
|
Kn,
|
|
18723
18802
|
Po,
|
|
18724
|
-
|
|
18803
|
+
dn,
|
|
18725
18804
|
Gt,
|
|
18726
18805
|
Bs,
|
|
18727
|
-
|
|
18806
|
+
pn,
|
|
18728
18807
|
ii,
|
|
18729
18808
|
Co,
|
|
18730
18809
|
Vn,
|
|
18731
|
-
|
|
18810
|
+
Ai,
|
|
18732
18811
|
_e,
|
|
18733
18812
|
it,
|
|
18734
18813
|
kt,
|
|
@@ -18749,13 +18828,13 @@ function G2(t, e, i) {
|
|
|
18749
18828
|
fu
|
|
18750
18829
|
];
|
|
18751
18830
|
}
|
|
18752
|
-
let
|
|
18831
|
+
let X2 = class extends we {
|
|
18753
18832
|
constructor(e) {
|
|
18754
18833
|
super(), Se(
|
|
18755
18834
|
this,
|
|
18756
18835
|
e,
|
|
18757
|
-
|
|
18758
|
-
|
|
18836
|
+
J2,
|
|
18837
|
+
K2,
|
|
18759
18838
|
pe,
|
|
18760
18839
|
{
|
|
18761
18840
|
playerApiUrl: 75,
|
|
@@ -19343,49 +19422,49 @@ let K2 = class extends we {
|
|
|
19343
19422
|
return this.$$.ctx[60];
|
|
19344
19423
|
}
|
|
19345
19424
|
};
|
|
19346
|
-
var
|
|
19347
|
-
class
|
|
19425
|
+
var _n, zn;
|
|
19426
|
+
class Q2 {
|
|
19348
19427
|
constructor(e, i) {
|
|
19349
|
-
Ae(this,
|
|
19428
|
+
Ae(this, _n);
|
|
19350
19429
|
this.baseUrl = e == null ? void 0 : e.replace("{id}", i);
|
|
19351
19430
|
}
|
|
19352
19431
|
byContentId(e) {
|
|
19353
|
-
return N(this,
|
|
19432
|
+
return N(this, _n, zn).call(this, `by_content_id/${e}`);
|
|
19354
19433
|
}
|
|
19355
19434
|
byPlaylistId(e) {
|
|
19356
|
-
return N(this,
|
|
19435
|
+
return N(this, _n, zn).call(this, `by_playlist_id/${e}`);
|
|
19357
19436
|
}
|
|
19358
19437
|
bySourceId(e) {
|
|
19359
|
-
return N(this,
|
|
19438
|
+
return N(this, _n, zn).call(this, `by_source_id/${e}`);
|
|
19360
19439
|
}
|
|
19361
19440
|
bySourceUrl(e) {
|
|
19362
|
-
return N(this,
|
|
19441
|
+
return N(this, _n, zn).call(this, `by_source_url/${e}`);
|
|
19363
19442
|
}
|
|
19364
19443
|
byIdentifiers(e) {
|
|
19365
|
-
return N(this,
|
|
19444
|
+
return N(this, _n, zn).call(this, `by_identifiers/${encodeURIComponent(JSON.stringify(e))}`);
|
|
19366
19445
|
}
|
|
19367
19446
|
}
|
|
19368
|
-
|
|
19447
|
+
_n = new WeakSet(), zn = function(e) {
|
|
19369
19448
|
return vl(`${this.baseUrl}/${e}`, { headers: { "X-Referer": window.location.href } });
|
|
19370
19449
|
};
|
|
19371
|
-
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" &&
|
|
19372
|
-
const e = new
|
|
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);
|
|
19373
19452
|
if (!t.playerApiUrl || !t.projectId)
|
|
19374
19453
|
return;
|
|
19375
|
-
const i =
|
|
19454
|
+
const i = ev(t);
|
|
19376
19455
|
if (i.length === 0)
|
|
19377
19456
|
return;
|
|
19378
|
-
const n = yield
|
|
19457
|
+
const n = yield tv(e, i).catch(() => {
|
|
19379
19458
|
});
|
|
19380
19459
|
if (!(n != null && n.content)) {
|
|
19381
|
-
|
|
19460
|
+
iv(t);
|
|
19382
19461
|
return;
|
|
19383
19462
|
}
|
|
19384
|
-
|
|
19385
|
-
}),
|
|
19463
|
+
nv(t, n);
|
|
19464
|
+
}), ev = (t) => {
|
|
19386
19465
|
const e = [];
|
|
19387
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);
|
|
19388
|
-
},
|
|
19467
|
+
}, tv = (t, e) => {
|
|
19389
19468
|
const i = e[0];
|
|
19390
19469
|
if (e.length > 1)
|
|
19391
19470
|
return t.byIdentifiers(e);
|
|
@@ -19397,16 +19476,16 @@ const ll = (t) => typeof t != "object" || t === null ? t : Array.isArray(t) ? t.
|
|
|
19397
19476
|
return t.bySourceId(i.source_id);
|
|
19398
19477
|
if (i.source_url)
|
|
19399
19478
|
return t.bySourceUrl(i.source_url);
|
|
19400
|
-
},
|
|
19479
|
+
}, iv = (t) => {
|
|
19401
19480
|
Or(t), Mr(t), Er(t), t.onEvent(ye({
|
|
19402
19481
|
type: "NoContentAvailable",
|
|
19403
19482
|
description: "No published and processed content is available for the identifiers.",
|
|
19404
19483
|
initiatedBy: "browser"
|
|
19405
19484
|
}));
|
|
19406
|
-
},
|
|
19485
|
+
}, nv = (t, e) => {
|
|
19407
19486
|
var s, l, a, r;
|
|
19408
19487
|
const i = Wr(e.settings.theme), n = e.settings[`${i}_theme`], o = e.settings.video_theme;
|
|
19409
|
-
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",
|
|
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);
|
|
19410
19489
|
}, Or = (t) => {
|
|
19411
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);
|
|
19412
19491
|
}, Mr = (t, e) => {
|
|
@@ -19479,15 +19558,15 @@ const ll = (t) => typeof t != "object" || t === null ? t : Array.isArray(t) ? t.
|
|
|
19479
19558
|
}, Oe = (t, e, i) => {
|
|
19480
19559
|
var o;
|
|
19481
19560
|
typeof ((o = t.initialProps) == null ? void 0 : o[e]) != "undefined" || (t[e] = i);
|
|
19482
|
-
},
|
|
19561
|
+
}, ov = ({ intro_outro_enabled: t, intro_url: e, outro_url: i }) => {
|
|
19483
19562
|
if (!t)
|
|
19484
19563
|
return [];
|
|
19485
19564
|
const n = [];
|
|
19486
19565
|
return e && n.push({ placement: "pre-roll", audio: [{ url: e }], video: [] }), i && n.push({ placement: "post-roll", audio: [{ url: i }], video: [] }), n;
|
|
19487
|
-
},
|
|
19566
|
+
}, sv = ({ analytics_enabled: t, analytics_uuid_enabled: e }) => t ? e ? "allowed" : "without-local-storage" : "none", lv = (t, e) => pi(void 0, null, function* () {
|
|
19488
19567
|
const n = yield (yield fetch(t)).blob(), o = URL.createObjectURL(n), s = document.createElement("a");
|
|
19489
19568
|
document.body.append(s), s.href = o, s.setAttribute("download", e), s.setAttribute("target", "_blank"), s.click(), s.remove();
|
|
19490
|
-
}), ts = { vastUrls: /* @__PURE__ */ new Set(), mediaSources: /* @__PURE__ */ new Set() },
|
|
19569
|
+
}), ts = { vastUrls: /* @__PURE__ */ new Set(), mediaSources: /* @__PURE__ */ new Set() }, av = (t) => {
|
|
19491
19570
|
t.vastUrl && ts.vastUrls.add(t.vastUrl);
|
|
19492
19571
|
for (const e of [...t.audio || [], ...t.video || []])
|
|
19493
19572
|
ts.mediaSources.add(e.url);
|
|
@@ -19498,127 +19577,127 @@ const ll = (t) => typeof t != "object" || t === null ? t : Array.isArray(t) ? t.
|
|
|
19498
19577
|
if (ts.mediaSources.has(e.url))
|
|
19499
19578
|
return !0;
|
|
19500
19579
|
return !1;
|
|
19501
|
-
}, zr = /* @__PURE__ */ new Set(),
|
|
19580
|
+
}, zr = /* @__PURE__ */ new Set(), rv = (t) => {
|
|
19502
19581
|
[...t.audio || [], ...t.video || []].forEach((i) => zr.add(i.url));
|
|
19503
|
-
},
|
|
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 } = {}) => {
|
|
19504
19583
|
var y;
|
|
19505
19584
|
const g = e && e[i];
|
|
19506
19585
|
e:
|
|
19507
19586
|
if (g) {
|
|
19508
19587
|
if (r) {
|
|
19509
|
-
|
|
19588
|
+
av(g);
|
|
19510
19589
|
break e;
|
|
19511
19590
|
}
|
|
19512
19591
|
if (a)
|
|
19513
|
-
return
|
|
19592
|
+
return rv(g), -1;
|
|
19514
19593
|
if (!a)
|
|
19515
19594
|
return i;
|
|
19516
19595
|
}
|
|
19517
19596
|
if (!((y = n[o]) != null && y.adsEnabled) || t !== -1)
|
|
19518
19597
|
return -1;
|
|
19519
|
-
const v =
|
|
19598
|
+
const v = gv({ content: n, contentIndex: o, currentTime: s, atTheStart: l, atTheEnd: a, minTimeUntilEndForMidroll: u, minDurationForMidroll: c });
|
|
19520
19599
|
let _ = -1, m = -1 / 0, w = -1 / 0;
|
|
19521
19600
|
for (const [A, S] of e.entries()) {
|
|
19522
|
-
if (
|
|
19601
|
+
if (uv(S) || jr(S) || !v.has(S.placement))
|
|
19523
19602
|
continue;
|
|
19524
|
-
const C =
|
|
19603
|
+
const C = dv[S.type] || 0;
|
|
19525
19604
|
if (C < m)
|
|
19526
19605
|
continue;
|
|
19527
19606
|
const T = Math.random();
|
|
19528
19607
|
C === m && T < w || (_ = A, m = C, w = T);
|
|
19529
19608
|
}
|
|
19530
19609
|
return _;
|
|
19531
|
-
},
|
|
19532
|
-
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 :
|
|
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();
|
|
19533
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;
|
|
19534
|
-
},
|
|
19613
|
+
}, fv = 0.5, mv = (t, e) => {
|
|
19535
19614
|
const i = t[t.length - 1];
|
|
19536
19615
|
if (!i)
|
|
19537
19616
|
return;
|
|
19538
19617
|
const n = i.startTime + i.duration;
|
|
19539
19618
|
if (n < e)
|
|
19540
19619
|
return;
|
|
19541
|
-
const o = n / 2, s = fl(t, n / 2), r = t[s].startTime >= o -
|
|
19620
|
+
const o = n / 2, s = fl(t, n / 2), r = t[s].startTime >= o - fv ? s : s + 1;
|
|
19542
19621
|
if (r !== t.length)
|
|
19543
19622
|
return r;
|
|
19544
|
-
},
|
|
19623
|
+
}, hv = (t, e, i, n) => {
|
|
19545
19624
|
let o = -1, s = -1 / 0, l = -1 / 0;
|
|
19546
19625
|
for (const [a, r] of (n || []).entries()) {
|
|
19547
19626
|
if (!t || jr(r) || r.type === "vast")
|
|
19548
19627
|
continue;
|
|
19549
|
-
const u =
|
|
19628
|
+
const u = yv(a, e, i);
|
|
19550
19629
|
if (u < s)
|
|
19551
19630
|
continue;
|
|
19552
|
-
const c =
|
|
19631
|
+
const c = _v[r.placement] || 0;
|
|
19553
19632
|
u === s && c < l || (o = a, s = u, l = c);
|
|
19554
19633
|
}
|
|
19555
19634
|
return o;
|
|
19556
|
-
},
|
|
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) => {
|
|
19557
19636
|
for (const e of [...t.audio || [], t.video || []])
|
|
19558
19637
|
Lr.mediaSources.add(e.url);
|
|
19559
|
-
},
|
|
19638
|
+
}, bv = (t) => {
|
|
19560
19639
|
for (const e of [...t.audio || [], t.video || []])
|
|
19561
19640
|
if (Lr.mediaSources.has(e.url))
|
|
19562
19641
|
return !0;
|
|
19563
19642
|
return !1;
|
|
19564
|
-
}, Dr = /* @__PURE__ */ new Set(),
|
|
19643
|
+
}, Dr = /* @__PURE__ */ new Set(), kv = (t) => {
|
|
19565
19644
|
[...t.audio || [], ...t.video || []].forEach((i) => Dr.add(i.url));
|
|
19566
|
-
},
|
|
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 }) => {
|
|
19567
19646
|
const u = t[e];
|
|
19568
19647
|
e:
|
|
19569
19648
|
if (u) {
|
|
19570
19649
|
if (r) {
|
|
19571
|
-
|
|
19650
|
+
vv(u);
|
|
19572
19651
|
break e;
|
|
19573
19652
|
}
|
|
19574
19653
|
if (a)
|
|
19575
|
-
return
|
|
19654
|
+
return kv(u), -1;
|
|
19576
19655
|
if (!a)
|
|
19577
19656
|
return e;
|
|
19578
19657
|
}
|
|
19579
19658
|
if (i !== -1)
|
|
19580
19659
|
return -1;
|
|
19581
|
-
const c =
|
|
19660
|
+
const c = wv({ content: n, contentIndex: o, currentTime: s, atTheStart: l, atTheEnd: a });
|
|
19582
19661
|
let g = -1, v = -1 / 0, _ = -1 / 0;
|
|
19583
19662
|
for (const [m, w] of t.entries()) {
|
|
19584
|
-
if (
|
|
19663
|
+
if (bv(w) || !c.has(w.placement))
|
|
19585
19664
|
continue;
|
|
19586
|
-
const y =
|
|
19665
|
+
const y = pv(w) ? 1 : 0;
|
|
19587
19666
|
if (y < v)
|
|
19588
19667
|
continue;
|
|
19589
19668
|
const A = Math.random();
|
|
19590
19669
|
y === v && A < _ || (g = m, v = y, _ = A);
|
|
19591
19670
|
}
|
|
19592
19671
|
return g;
|
|
19593
|
-
},
|
|
19672
|
+
}, wv = ({ content: t, contentIndex: e, currentTime: i, atTheStart: n, atTheEnd: o }) => {
|
|
19594
19673
|
const s = /* @__PURE__ */ new Set(), l = n && e === 0 && i === 0, a = o && e === t.length - 1;
|
|
19595
19674
|
return l && s.add("pre-roll"), a && s.add("post-roll"), s;
|
|
19596
|
-
},
|
|
19675
|
+
}, Tv = (t) => {
|
|
19597
19676
|
if (!navigator.mediaSession)
|
|
19598
19677
|
return;
|
|
19599
19678
|
const e = t.instances().some((s) => s.mediaSession === "override");
|
|
19600
|
-
if (
|
|
19679
|
+
if (Av() && !e)
|
|
19601
19680
|
return;
|
|
19602
19681
|
let i, n = -1 / 0, o = -1 / 0;
|
|
19603
19682
|
for (const s of t.instances()) {
|
|
19604
19683
|
if (s.mediaSession === "none")
|
|
19605
19684
|
continue;
|
|
19606
|
-
const l =
|
|
19685
|
+
const l = Pv[s.playbackState] || 0;
|
|
19607
19686
|
if (l < n)
|
|
19608
19687
|
continue;
|
|
19609
|
-
const a =
|
|
19688
|
+
const a = Cv[s.showMediaSession] || 0;
|
|
19610
19689
|
l === n && a < o || (i = s, n = l, o = a);
|
|
19611
19690
|
}
|
|
19612
19691
|
for (const s of t.instances())
|
|
19613
19692
|
s.showMediaSession = s === i;
|
|
19614
19693
|
return i;
|
|
19615
|
-
},
|
|
19694
|
+
}, Pv = { playing: 1, paused: 0, stopped: 0 }, Cv = { true: 1, false: 0 }, Av = () => {
|
|
19616
19695
|
const t = navigator.mediaSession.metadata;
|
|
19617
19696
|
if (!t || navigator.mediaSession.setByPlayer)
|
|
19618
19697
|
return !1;
|
|
19619
19698
|
const { title: e, artist: i, album: n, artwork: o } = t;
|
|
19620
19699
|
return e || i || n || (o == null ? void 0 : o.length);
|
|
19621
|
-
},
|
|
19700
|
+
}, Iv = (t) => {
|
|
19622
19701
|
let e = !1, i, n = -1 / 0, o = -1 / 0;
|
|
19623
19702
|
for (const s of t.instances()) {
|
|
19624
19703
|
if (!s.userInterface || !sl(s.widgetStyle))
|
|
@@ -19629,7 +19708,7 @@ const ll = (t) => typeof t != "object" || t === null ? t : Array.isArray(t) ? t.
|
|
|
19629
19708
|
}
|
|
19630
19709
|
if (!(s.userInterface.relativeY < 0))
|
|
19631
19710
|
continue;
|
|
19632
|
-
const u =
|
|
19711
|
+
const u = Bv[s.playbackState] || 0;
|
|
19633
19712
|
if (u < n)
|
|
19634
19713
|
continue;
|
|
19635
19714
|
const c = s.userInterface.absoluteY;
|
|
@@ -19638,9 +19717,9 @@ const ll = (t) => typeof t != "object" || t === null ? t : Array.isArray(t) ? t.
|
|
|
19638
19717
|
e && n === 0 && (i = null);
|
|
19639
19718
|
for (const s of t.instances())
|
|
19640
19719
|
s.showBottomWidget = s === i;
|
|
19641
|
-
},
|
|
19642
|
-
var fs, Rr, ms, Nr, hs, xr, mo, al, _s, Fr, ys, Ur,
|
|
19643
|
-
class
|
|
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 {
|
|
19644
19723
|
constructor(e, i) {
|
|
19645
19724
|
// private
|
|
19646
19725
|
Ae(this, fs);
|
|
@@ -19649,23 +19728,23 @@ class Iv {
|
|
|
19649
19728
|
Ae(this, mo);
|
|
19650
19729
|
Ae(this, _s);
|
|
19651
19730
|
Ae(this, ys);
|
|
19652
|
-
Ae(this,
|
|
19653
|
-
Ae(this,
|
|
19731
|
+
Ae(this, Ei);
|
|
19732
|
+
Ae(this, Qi);
|
|
19654
19733
|
Ae(this, yi);
|
|
19655
19734
|
Ae(this, vs);
|
|
19656
|
-
Ae(this,
|
|
19657
|
-
Ae(this,
|
|
19735
|
+
Ae(this, In);
|
|
19736
|
+
Ae(this, $i);
|
|
19658
19737
|
Ae(this, bs);
|
|
19659
19738
|
Ae(this, ho);
|
|
19660
|
-
Ae(this,
|
|
19739
|
+
Ae(this, Fi);
|
|
19661
19740
|
Ae(this, _o);
|
|
19662
|
-
Ae(this,
|
|
19741
|
+
Ae(this, en);
|
|
19663
19742
|
Ae(this, Ft);
|
|
19664
|
-
Ae(this,
|
|
19665
|
-
Ae(this,
|
|
19743
|
+
Ae(this, tn);
|
|
19744
|
+
Ae(this, Ui);
|
|
19666
19745
|
Ae(this, ks);
|
|
19667
19746
|
Ae(this, ps);
|
|
19668
|
-
Ae(this,
|
|
19747
|
+
Ae(this, Bn);
|
|
19669
19748
|
Ae(this, yo);
|
|
19670
19749
|
Ae(this, Ss);
|
|
19671
19750
|
Ae(this, ws);
|
|
@@ -19682,7 +19761,7 @@ class Iv {
|
|
|
19682
19761
|
this.eventListeners[e] = this.eventListeners[e] || {}, delete this.eventListeners[e][i];
|
|
19683
19762
|
}
|
|
19684
19763
|
processEvent(e) {
|
|
19685
|
-
return
|
|
19764
|
+
return pi(this, null, function* () {
|
|
19686
19765
|
yield Ir(() => this.player), Qu(e);
|
|
19687
19766
|
const i = this[`handle${e.type}`], n = es(this.player);
|
|
19688
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);
|
|
@@ -19692,25 +19771,25 @@ class Iv {
|
|
|
19692
19771
|
}
|
|
19693
19772
|
// Please document all events and keep in-sync with /doc/player-events.md
|
|
19694
19773
|
handlePressedChangeRate() {
|
|
19695
|
-
N(this,
|
|
19774
|
+
N(this, Fi, fn).call(this, (e) => e + 1, { cycle: !0 });
|
|
19696
19775
|
}
|
|
19697
19776
|
handlePressedEnterOnChangeRate() {
|
|
19698
|
-
N(this,
|
|
19777
|
+
N(this, Fi, fn).call(this, (e) => e + 1, { cycle: !0 });
|
|
19699
19778
|
}
|
|
19700
19779
|
handlePressedSpaceOnChangeRate() {
|
|
19701
|
-
N(this,
|
|
19780
|
+
N(this, Fi, fn).call(this, (e) => e + 1, { cycle: !0 });
|
|
19702
19781
|
}
|
|
19703
19782
|
handlePressedUpOnChangeRate() {
|
|
19704
|
-
N(this,
|
|
19783
|
+
N(this, Fi, fn).call(this, (e) => e + 1);
|
|
19705
19784
|
}
|
|
19706
19785
|
handlePressedRightOnChangeRate() {
|
|
19707
|
-
N(this,
|
|
19786
|
+
N(this, Fi, fn).call(this, (e) => e + 1);
|
|
19708
19787
|
}
|
|
19709
19788
|
handlePressedDownOnChangeRate() {
|
|
19710
|
-
N(this,
|
|
19789
|
+
N(this, Fi, fn).call(this, (e) => e - 1);
|
|
19711
19790
|
}
|
|
19712
19791
|
handlePressedLeftOnChangeRate() {
|
|
19713
|
-
N(this,
|
|
19792
|
+
N(this, Fi, fn).call(this, (e) => e - 1);
|
|
19714
19793
|
}
|
|
19715
19794
|
handlePressedPrevSegment() {
|
|
19716
19795
|
N(this, _o, ul).call(this, (e) => e - 1);
|
|
@@ -19725,10 +19804,10 @@ class Iv {
|
|
|
19725
19804
|
N(this, Ft, ni).call(this, (i) => i + e);
|
|
19726
19805
|
}
|
|
19727
19806
|
handlePressedPrevTrack() {
|
|
19728
|
-
N(this,
|
|
19807
|
+
N(this, en, Cn).call(this, (e) => e - 1);
|
|
19729
19808
|
}
|
|
19730
19809
|
handlePressedNextTrack() {
|
|
19731
|
-
N(this,
|
|
19810
|
+
N(this, en, Cn).call(this, (e) => e + 1);
|
|
19732
19811
|
}
|
|
19733
19812
|
handlePressedAdvertLink() {
|
|
19734
19813
|
}
|
|
@@ -19755,22 +19834,22 @@ class Iv {
|
|
|
19755
19834
|
handlePlaybackRateUpdated() {
|
|
19756
19835
|
}
|
|
19757
19836
|
handleVisibilityChanged() {
|
|
19758
|
-
|
|
19837
|
+
Iv(this.PlayerClass);
|
|
19759
19838
|
}
|
|
19760
19839
|
handlePressedVideoBackground() {
|
|
19761
|
-
N(this,
|
|
19840
|
+
N(this, $i, Pn).call(this);
|
|
19762
19841
|
}
|
|
19763
19842
|
handlePressedEnterOnProgressBar() {
|
|
19764
|
-
N(this,
|
|
19843
|
+
N(this, $i, Pn).call(this);
|
|
19765
19844
|
}
|
|
19766
19845
|
handlePressedSpaceOnProgressBar() {
|
|
19767
|
-
N(this,
|
|
19846
|
+
N(this, $i, Pn).call(this);
|
|
19768
19847
|
}
|
|
19769
19848
|
handlePressedEnterOnProgressCircle() {
|
|
19770
|
-
N(this,
|
|
19849
|
+
N(this, $i, Pn).call(this);
|
|
19771
19850
|
}
|
|
19772
19851
|
handlePressedSpaceOnProgressCircle() {
|
|
19773
|
-
N(this,
|
|
19852
|
+
N(this, $i, Pn).call(this);
|
|
19774
19853
|
}
|
|
19775
19854
|
handlePressedLeftOnProgressBar() {
|
|
19776
19855
|
N(this, Ft, ni).call(this, (e) => e - 5);
|
|
@@ -19795,7 +19874,7 @@ class Iv {
|
|
|
19795
19874
|
}
|
|
19796
19875
|
handleIdentifiersChanged() {
|
|
19797
19876
|
Ra(this.player).then(() => {
|
|
19798
|
-
N(this,
|
|
19877
|
+
N(this, tn, An).call(this, { atTheStart: !0 }), N(this, Ui, mn).call(this, { atTheStart: !0 });
|
|
19799
19878
|
});
|
|
19800
19879
|
}
|
|
19801
19880
|
handleNoContentAvailable({ description: e }) {
|
|
@@ -19808,21 +19887,21 @@ class Iv {
|
|
|
19808
19887
|
this.player.playbackState = "paused";
|
|
19809
19888
|
}
|
|
19810
19889
|
handlePlaybackPlaying() {
|
|
19811
|
-
this.PlayerClass.instances().filter((n) => n !== this.player).filter((n) => n.playbackState === "playing").forEach((n) => n.playbackState = "paused"),
|
|
19890
|
+
this.PlayerClass.instances().filter((n) => n !== this.player).filter((n) => n.playbackState === "playing").forEach((n) => n.playbackState = "paused"), Tv(this.PlayerClass);
|
|
19812
19891
|
}
|
|
19813
19892
|
handlePlaybackPaused() {
|
|
19814
19893
|
const e = this.player.playbackState === "playing", i = this.player.currentTime >= this.player.duration - 0.5;
|
|
19815
19894
|
e && !i && !this.preScrubState && (this.player.playbackState = "paused");
|
|
19816
19895
|
}
|
|
19817
19896
|
handleCurrentTimeUpdated() {
|
|
19818
|
-
this.midrollPlayed || N(this,
|
|
19897
|
+
this.midrollPlayed || N(this, Ui, mn).call(this);
|
|
19819
19898
|
const e = this.player.currentTime <= so, i = this.player.currentTime >= this.player.duration, n = this.player.mediaElement.video.paused;
|
|
19820
19899
|
!e && !i && !n && (this.player.playbackState = "playing");
|
|
19821
19900
|
}
|
|
19822
19901
|
handlePlaybackEnded() {
|
|
19823
19902
|
N(this, vs, qr).call(this) && (this.midrollPlayed = !0), this.segmentPlayed = !1;
|
|
19824
|
-
const e = N(this,
|
|
19825
|
-
N(this,
|
|
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)));
|
|
19826
19905
|
}
|
|
19827
19906
|
handlePlaybackNotAllowed({ description: e }) {
|
|
19828
19907
|
console.warn(`BeyondWords.Player: ${e}`);
|
|
@@ -19830,20 +19909,20 @@ class Iv {
|
|
|
19830
19909
|
this.player.playbackState = i ? "stopped" : "paused";
|
|
19831
19910
|
}
|
|
19832
19911
|
handlePlaybackErrored({ mediaType: e, errorMessage: i }) {
|
|
19833
|
-
console.warn(`BeyondWords.Player: ${e} playback error: ${i}`), N(this,
|
|
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();
|
|
19834
19913
|
}
|
|
19835
19914
|
handleCompanionAdvertChanged({ clickThroughUrl: e, imageUrl: i }) {
|
|
19836
19915
|
this.player.companionAdvert = { clickThroughUrl: e, imageUrl: i };
|
|
19837
19916
|
}
|
|
19838
19917
|
handlePressedMaximize() {
|
|
19839
|
-
ta() ?
|
|
19918
|
+
ta() ? zy() : jy(this.player.target);
|
|
19840
19919
|
}
|
|
19841
19920
|
handleFullScreenModeUpdated() {
|
|
19842
19921
|
const e = ta() === this.player.target, i = e ? "add" : "remove";
|
|
19843
19922
|
this.player.isFullScreen = e, this.player.target.classList[i]("maximized");
|
|
19844
19923
|
}
|
|
19845
19924
|
handlePressedPlaylistItem({ index: e }) {
|
|
19846
|
-
N(this,
|
|
19925
|
+
N(this, en, Cn).call(this, () => e), this.player.playbackState = "playing";
|
|
19847
19926
|
}
|
|
19848
19927
|
handlePressedTogglePlaylist() {
|
|
19849
19928
|
const e = this.player.playlistStyle.split("-"), i = this.player.content.length > 1, n = e[0] === "show" || e[0] === "auto" && i;
|
|
@@ -19852,7 +19931,7 @@ class Iv {
|
|
|
19852
19931
|
handlePressedDownload({ contentIndex: e, audioIndex: i, videoIndex: n }) {
|
|
19853
19932
|
var c, g;
|
|
19854
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}`;
|
|
19855
|
-
return
|
|
19934
|
+
return lv(a, u);
|
|
19856
19935
|
}
|
|
19857
19936
|
handlePressedCloseWidget() {
|
|
19858
19937
|
for (const e of this.PlayerClass.instances())
|
|
@@ -19860,28 +19939,28 @@ class Iv {
|
|
|
19860
19939
|
}
|
|
19861
19940
|
handleContentStatusChanged({ contentId: e, legacyId: i, sourceId: n, sourceUrl: o, contentStatus: s }) {
|
|
19862
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(() => {
|
|
19863
|
-
N(this,
|
|
19942
|
+
N(this, tn, An).call(this, { atTheStart: !0 }), N(this, Ui, mn).call(this, { atTheStart: !0 });
|
|
19864
19943
|
});
|
|
19865
19944
|
}
|
|
19866
19945
|
handleCurrentSegmentUpdated({ segment: e, contentIndex: i, segmentIndex: n, segmentElement: o }) {
|
|
19867
19946
|
var s;
|
|
19868
|
-
N(this,
|
|
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);
|
|
19869
19948
|
}
|
|
19870
19949
|
handleHoveredSegmentUpdated({ segment: e, contentIndex: i, segmentIndex: n, segmentElement: o }) {
|
|
19871
|
-
e ? this.player.hoveredSegment =
|
|
19950
|
+
e ? this.player.hoveredSegment = Yi(Kt({}, e), { contentIndex: i, segmentIndex: n, segmentElement: o }) : this.player.hoveredSegment = null;
|
|
19872
19951
|
}
|
|
19873
19952
|
handlePressedSegment({ segment: e, contentIndex: i, segmentIndex: n, segmentElement: o }) {
|
|
19874
19953
|
if (!ao("hovered", e, this.player.clickableSections))
|
|
19875
19954
|
return;
|
|
19876
|
-
if (!N(this, Ps, Xr).call(this, { contentIndex: i, segmentIndex: n }) && !N(this, yi,
|
|
19877
|
-
N(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);
|
|
19878
19957
|
return;
|
|
19879
19958
|
}
|
|
19880
|
-
i !== this.player.contentIndex && N(this,
|
|
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));
|
|
19881
19960
|
}
|
|
19882
19961
|
}
|
|
19883
19962
|
fs = new WeakSet(), Rr = function({ type: e }) {
|
|
19884
|
-
return N(this, yi,
|
|
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"));
|
|
19885
19964
|
}, ms = new WeakSet(), Nr = function({ type: e }) {
|
|
19886
19965
|
return this.preScrubState && (e.includes("CurrentTimeUpdated") || e.includes("PlaybackEnded"));
|
|
19887
19966
|
}, hs = new WeakSet(), xr = function({ type: e, precedence: i }) {
|
|
@@ -19893,86 +19972,86 @@ fs = new WeakSet(), Rr = function({ type: e }) {
|
|
|
19893
19972
|
return this.player.introsOutros.some((e) => e.placement === "pre-roll");
|
|
19894
19973
|
}, ys = new WeakSet(), Ur = function() {
|
|
19895
19974
|
return this.player.introsOutros.some((e) => e.placement === "post-roll");
|
|
19896
|
-
},
|
|
19975
|
+
}, Ei = new WeakSet(), Gi = function(e = this.player.introsOutrosIndex) {
|
|
19897
19976
|
var i, n, o;
|
|
19898
19977
|
return ((o = (n = (i = this.player) == null ? void 0 : i.introsOutros) == null ? void 0 : n[e]) == null ? void 0 : o.placement) === "pre-roll";
|
|
19899
|
-
},
|
|
19978
|
+
}, Qi = new WeakSet(), Tn = function(e = this.player.introsOutrosIndex) {
|
|
19900
19979
|
var i, n, o;
|
|
19901
19980
|
return ((o = (n = (i = this.player) == null ? void 0 : i.introsOutros) == null ? void 0 : n[e]) == null ? void 0 : o.placement) === "post-roll";
|
|
19902
|
-
}, yi = new WeakSet(),
|
|
19981
|
+
}, yi = new WeakSet(), Ii = function() {
|
|
19903
19982
|
return this.player.advertIndex !== -1;
|
|
19904
19983
|
}, vs = new WeakSet(), qr = function() {
|
|
19905
19984
|
var e;
|
|
19906
19985
|
return ((e = this.player.adverts[this.player.advertIndex]) == null ? void 0 : e.placement) === "mid-roll";
|
|
19907
|
-
},
|
|
19908
|
-
return !N(this,
|
|
19909
|
-
},
|
|
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() {
|
|
19910
19989
|
this.player.playbackState === "playing" ? this.player.playbackState = "paused" : this.player.playbackState = "playing";
|
|
19911
19990
|
}, bs = new WeakSet(), Hr = function() {
|
|
19912
19991
|
this.player.playbackState === "playing" && (this.player.playbackState = "paused");
|
|
19913
19992
|
}, ho = new WeakSet(), rl = function(s) {
|
|
19914
19993
|
var l = s, { contentIndex: e, segmentIndex: i, segmentElement: n } = l, o = Ws(l, ["contentIndex", "segmentIndex", "segmentElement"]);
|
|
19915
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;
|
|
19916
|
-
},
|
|
19995
|
+
}, Fi = new WeakSet(), fn = function(e, { cycle: i } = {}) {
|
|
19917
19996
|
const n = this.player.playbackRates, o = n.length - 1, s = n.indexOf(this.player.playbackRate), l = e(s);
|
|
19918
19997
|
let a;
|
|
19919
19998
|
i ? a = l % n.length : a = Math.max(0, Math.min(o, l)), this.player.playbackRate = n[a] || 1;
|
|
19920
19999
|
}, _o = new WeakSet(), ul = function(e) {
|
|
19921
20000
|
const i = this.player.content[this.player.contentIndex].segments, n = fl(i, this.player.currentTime), o = e(n);
|
|
19922
|
-
N(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, () => {
|
|
19923
20002
|
var s;
|
|
19924
20003
|
return ((s = i[i.length - 1]) == null ? void 0 : s.startTime) || 0.01;
|
|
19925
|
-
}), this.player.playbackState = "playing") : N(this,
|
|
19926
|
-
},
|
|
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) {
|
|
19927
20006
|
const i = e(this.player.contentIndex), n = i < 0 || i >= this.player.content.length;
|
|
19928
|
-
n ? (this.player.playbackState = "stopped", N(this, Ft, ni).call(this, () => 0)) : (this.player.contentIndex = i, N(this, yi,
|
|
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 });
|
|
19929
20008
|
}, Ft = new WeakSet(), ni = function(e, i) {
|
|
19930
|
-
if (N(this, yi,
|
|
20009
|
+
if (N(this, yi, Ii).call(this))
|
|
19931
20010
|
this.prevTime = e(), this.prevContent = i;
|
|
19932
20011
|
else {
|
|
19933
20012
|
const n = this.player.duration || 0;
|
|
19934
20013
|
this.player.currentTime = e(this.player.currentTime, n);
|
|
19935
20014
|
}
|
|
19936
|
-
},
|
|
20015
|
+
}, tn = new WeakSet(), An = function({ atTheStart: e, atTheEnd: i, errored: n } = {}) {
|
|
19937
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;
|
|
19938
|
-
N(this,
|
|
19939
|
-
},
|
|
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 } = {}) {
|
|
19940
20019
|
const { adverts: s, content: l, currentTime: a, minDurationForMidroll: r, minTimeUntilEndForMidroll: u } = this.player;
|
|
19941
20020
|
let c = typeof this.nextIntroOutro != "undefined" ? this.nextIntroOutro : this.player.introsOutrosIndex;
|
|
19942
20021
|
const g = typeof this.nextAdvert != "undefined" ? this.nextAdvert : this.player.advertIndex, v = typeof this.prevContent != "undefined" ? this.prevContent : this.player.contentIndex;
|
|
19943
|
-
n && (e = !0, i = !1, c = -1), N(this, yo, cl).call(this,
|
|
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 }));
|
|
19944
20023
|
const _ = this.player.persistentAdImage, m = this.player.persistentIndex;
|
|
19945
|
-
this.player.persistentIndex =
|
|
20024
|
+
this.player.persistentIndex = hv(_, m, g, s);
|
|
19946
20025
|
}, ks = new WeakSet(), Yr = function() {
|
|
19947
|
-
this.player.playbackState === "playing" && typeof this.nextIntroOutro != "undefined" && (N(this,
|
|
20026
|
+
this.player.playbackState === "playing" && typeof this.nextIntroOutro != "undefined" && (N(this, Bn, io).call(this, this.nextIntroOutro), delete this.nextIntroOutro);
|
|
19948
20027
|
}, ps = new WeakSet(), Zr = function() {
|
|
19949
20028
|
this.player.playbackState === "playing" && typeof this.nextAdvert != "undefined" && (N(this, yo, cl).call(this, this.nextAdvert), delete this.nextAdvert);
|
|
19950
|
-
},
|
|
20029
|
+
}, Bn = new WeakSet(), io = function(e) {
|
|
19951
20030
|
if (this.player.playbackState !== "playing" && e !== -1) {
|
|
19952
20031
|
this.nextIntroOutro = e;
|
|
19953
20032
|
return;
|
|
19954
20033
|
} else
|
|
19955
20034
|
delete this.nextIntroOutro;
|
|
19956
|
-
if (!(this.player.contentIndex <= 0 && this.player.currentTime <= so) && N(this,
|
|
19957
|
-
this.player.introsOutrosIndex = -1, N(this,
|
|
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 });
|
|
19958
20037
|
return;
|
|
19959
20038
|
}
|
|
19960
|
-
const s = N(this,
|
|
20039
|
+
const s = N(this, Ei, Gi).call(this), l = N(this, Qi, Tn).call(this);
|
|
19961
20040
|
this.player.introsOutrosIndex = e;
|
|
19962
|
-
const a = s && !N(this,
|
|
19963
|
-
a && (this.player.currentTime = 0), r && N(this,
|
|
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);
|
|
19964
20043
|
}, yo = new WeakSet(), cl = function(e) {
|
|
19965
20044
|
if (this.player.playbackState !== "playing" && e !== -1) {
|
|
19966
20045
|
this.nextAdvert = e;
|
|
19967
20046
|
return;
|
|
19968
20047
|
} else
|
|
19969
20048
|
delete this.nextAdvert;
|
|
19970
|
-
const n = N(this, yi,
|
|
20049
|
+
const n = N(this, yi, Ii).call(this);
|
|
19971
20050
|
this.player.advertIndex = e;
|
|
19972
|
-
const o = !n && N(this, yi,
|
|
20051
|
+
const o = !n && N(this, yi, Ii).call(this), s = n && !N(this, yi, Ii).call(this);
|
|
19973
20052
|
o && N(this, Ss, Gr).call(this), s && N(this, ws, Kr).call(this);
|
|
19974
20053
|
}, Ss = new WeakSet(), Gr = function() {
|
|
19975
|
-
N(this,
|
|
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;
|
|
19976
20055
|
}, ws = new WeakSet(), Kr = function() {
|
|
19977
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;
|
|
19978
20057
|
}, Ts = new WeakSet(), Jr = function({ contentId: e, legacyId: i, sourceId: n, sourceUrl: o }) {
|
|
@@ -19983,20 +20062,20 @@ fs = new WeakSet(), Rr = function({ type: e }) {
|
|
|
19983
20062
|
return ((n = this.player.currentSegment) == null ? void 0 : n.contentIndex) !== e || ((o = this.player.currentSegment) == null ? void 0 : o.segmentIndex) !== i;
|
|
19984
20063
|
};
|
|
19985
20064
|
var bo = "<unknown>";
|
|
19986
|
-
function
|
|
20065
|
+
function Wv(t) {
|
|
19987
20066
|
var e = t.split(`
|
|
19988
20067
|
`);
|
|
19989
20068
|
return e.reduce(function(i, n) {
|
|
19990
|
-
var o =
|
|
20069
|
+
var o = Ev(n) || zv(n) || Rv(n) || Uv(n) || xv(n);
|
|
19991
20070
|
return o && i.push(o), i;
|
|
19992
20071
|
}, []);
|
|
19993
20072
|
}
|
|
19994
|
-
var
|
|
19995
|
-
function
|
|
19996
|
-
var e =
|
|
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);
|
|
19997
20076
|
if (!e)
|
|
19998
20077
|
return null;
|
|
19999
|
-
var i = e[2] && e[2].indexOf("native") === 0, n = e[2] && e[2].indexOf("eval") === 0, o =
|
|
20078
|
+
var i = e[2] && e[2].indexOf("native") === 0, n = e[2] && e[2].indexOf("eval") === 0, o = Mv.exec(e[2]);
|
|
20000
20079
|
return n && o != null && (e[2] = o[1], e[3] = o[2], e[4] = o[3]), {
|
|
20001
20080
|
file: i ? null : e[2],
|
|
20002
20081
|
methodName: e[1] || bo,
|
|
@@ -20005,9 +20084,9 @@ function Ov(t) {
|
|
|
20005
20084
|
column: e[4] ? +e[4] : null
|
|
20006
20085
|
};
|
|
20007
20086
|
}
|
|
20008
|
-
var
|
|
20009
|
-
function
|
|
20010
|
-
var e =
|
|
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);
|
|
20011
20090
|
return e ? {
|
|
20012
20091
|
file: e[2],
|
|
20013
20092
|
methodName: e[1] || bo,
|
|
@@ -20016,12 +20095,12 @@ function Ev(t) {
|
|
|
20016
20095
|
column: e[4] ? +e[4] : null
|
|
20017
20096
|
} : null;
|
|
20018
20097
|
}
|
|
20019
|
-
var
|
|
20020
|
-
function
|
|
20021
|
-
var e =
|
|
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);
|
|
20022
20101
|
if (!e)
|
|
20023
20102
|
return null;
|
|
20024
|
-
var i = e[3] && e[3].indexOf(" > eval") > -1, n =
|
|
20103
|
+
var i = e[3] && e[3].indexOf(" > eval") > -1, n = Dv.exec(e[3]);
|
|
20025
20104
|
return i && n != null && (e[3] = n[1], e[4] = n[2], e[5] = null), {
|
|
20026
20105
|
file: e[3],
|
|
20027
20106
|
methodName: e[1] || bo,
|
|
@@ -20030,9 +20109,9 @@ function Lv(t) {
|
|
|
20030
20109
|
column: e[5] ? +e[5] : null
|
|
20031
20110
|
};
|
|
20032
20111
|
}
|
|
20033
|
-
var
|
|
20034
|
-
function
|
|
20035
|
-
var e =
|
|
20112
|
+
var Nv = /^\s*(?:([^@]*)(?:\((.*?)\))?@)?(\S.*?):(\d+)(?::(\d+))?\s*$/i;
|
|
20113
|
+
function xv(t) {
|
|
20114
|
+
var e = Nv.exec(t);
|
|
20036
20115
|
return e ? {
|
|
20037
20116
|
file: e[3],
|
|
20038
20117
|
methodName: e[1] || bo,
|
|
@@ -20041,9 +20120,9 @@ function Rv(t) {
|
|
|
20041
20120
|
column: e[5] ? +e[5] : null
|
|
20042
20121
|
} : null;
|
|
20043
20122
|
}
|
|
20044
|
-
var
|
|
20045
|
-
function
|
|
20046
|
-
var e =
|
|
20123
|
+
var Fv = /^\s*at (?:((?:\[object object\])?[^\\/]+(?: \[as \S+\])?) )?\(?(.*?):(\d+)(?::(\d+))?\)?\s*$/i;
|
|
20124
|
+
function Uv(t) {
|
|
20125
|
+
var e = Fv.exec(t);
|
|
20047
20126
|
return e ? {
|
|
20048
20127
|
file: e[2],
|
|
20049
20128
|
methodName: e[1] || bo,
|
|
@@ -20053,7 +20132,7 @@ function xv(t) {
|
|
|
20053
20132
|
} : null;
|
|
20054
20133
|
}
|
|
20055
20134
|
let Na = !1, Fs, Us;
|
|
20056
|
-
const
|
|
20135
|
+
const qv = ({ onError: t }) => {
|
|
20057
20136
|
if (!t || Na)
|
|
20058
20137
|
return;
|
|
20059
20138
|
Na = !0;
|
|
@@ -20075,8 +20154,8 @@ const Fv = ({ onError: t }) => {
|
|
|
20075
20154
|
};
|
|
20076
20155
|
}, xa = (t) => {
|
|
20077
20156
|
var e;
|
|
20078
|
-
return (e =
|
|
20079
|
-
},
|
|
20157
|
+
return (e = Wv((t == null ? void 0 : t.stack) || "")[0]) == null ? void 0 : e.file;
|
|
20158
|
+
}, Hv = () => {
|
|
20080
20159
|
typeof window == "undefined" && di([
|
|
20081
20160
|
"Trying to initialize BeyondWords.Player in a server context but this is unsupported.",
|
|
20082
20161
|
"Please only initialize the player in a context where the global window object is available.",
|
|
@@ -20084,17 +20163,17 @@ const Fv = ({ onError: t }) => {
|
|
|
20084
20163
|
]);
|
|
20085
20164
|
};
|
|
20086
20165
|
let Fa = !1;
|
|
20087
|
-
const
|
|
20088
|
-
Fa || (addEventListener("mousedown",
|
|
20166
|
+
const Yv = () => {
|
|
20167
|
+
Fa || (addEventListener("mousedown", Zv), addEventListener("click", Kv), addEventListener("mousemove", Jv), Fa = !0);
|
|
20089
20168
|
};
|
|
20090
20169
|
let Qr, $r;
|
|
20091
|
-
const
|
|
20170
|
+
const Zv = (t) => {
|
|
20092
20171
|
Qr = t.pageX, $r = t.pageY;
|
|
20093
|
-
},
|
|
20172
|
+
}, Gv = (t) => {
|
|
20094
20173
|
const e = t.pageX - Qr, i = t.pageY - $r;
|
|
20095
20174
|
return Math.sqrt(e * e + i * i) > 5;
|
|
20096
|
-
},
|
|
20097
|
-
if (!t.defaultPrevented && !
|
|
20175
|
+
}, Kv = (t) => {
|
|
20176
|
+
if (!t.defaultPrevented && !Gv(t) && t.button === 0)
|
|
20098
20177
|
for (const { player: e, segment: i, contentIndex: n, segmentIndex: o, segmentElement: s, precedence: l } of or(t.target))
|
|
20099
20178
|
i && e.onEvent(ye({
|
|
20100
20179
|
type: "PressedSegment",
|
|
@@ -20107,9 +20186,9 @@ const Hv = (t) => {
|
|
|
20107
20186
|
segmentElement: s,
|
|
20108
20187
|
precedence: l
|
|
20109
20188
|
}));
|
|
20110
|
-
},
|
|
20189
|
+
}, Jv = (t) => {
|
|
20111
20190
|
for (const { p: e, player: i, segment: n, contentIndex: o, segmentIndex: s, segmentElement: l, precedence: a } of or(t.target))
|
|
20112
|
-
n &&
|
|
20191
|
+
n && Xv(e, o, s) && i.onEvent(ye({
|
|
20113
20192
|
type: "HoveredSegmentUpdated",
|
|
20114
20193
|
description: "The user hovered over a different segment in the article.",
|
|
20115
20194
|
initiatedBy: "user",
|
|
@@ -20120,7 +20199,7 @@ const Hv = (t) => {
|
|
|
20120
20199
|
segmentElement: l,
|
|
20121
20200
|
precedence: a
|
|
20122
20201
|
}));
|
|
20123
|
-
}, qo = {},
|
|
20202
|
+
}, qo = {}, Xv = (t, e, i) => {
|
|
20124
20203
|
qo[t] || (qo[t] = {});
|
|
20125
20204
|
const n = qo[t];
|
|
20126
20205
|
return n.contentIndex === e && n.segmentIndex === i ? !1 : (n.contentIndex = e, n.segmentIndex = i, !0);
|
|
@@ -20130,28 +20209,28 @@ class qs {
|
|
|
20130
20209
|
this.analyticsSink = e;
|
|
20131
20210
|
}
|
|
20132
20211
|
sendToCustomAnalytics(e) {
|
|
20133
|
-
return
|
|
20212
|
+
return I2(this.analyticsSink, e);
|
|
20134
20213
|
}
|
|
20135
20214
|
sendToGoogleAnalytics(e, i) {
|
|
20136
|
-
window.gtag("event", e,
|
|
20215
|
+
window.gtag("event", e, Yi(Kt({}, i), { send_to: this.analyticsSink }));
|
|
20137
20216
|
}
|
|
20138
20217
|
}
|
|
20139
|
-
const
|
|
20140
|
-
const i =
|
|
20218
|
+
const Qv = (t, e) => {
|
|
20219
|
+
const i = $v(t, e.type);
|
|
20141
20220
|
if (!i)
|
|
20142
20221
|
return;
|
|
20143
|
-
const n =
|
|
20144
|
-
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(
|
|
20145
|
-
},
|
|
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) => {
|
|
20146
20225
|
if (e === "MetadataLoaded" && !t.listenSessionId)
|
|
20147
20226
|
return "load";
|
|
20148
|
-
if (e === "PlaybackPlaying" &&
|
|
20227
|
+
if (e === "PlaybackPlaying" && i3(t) && (t.isNewListen = !0), e === "CurrentTimeUpdated" && t.isNewListen)
|
|
20149
20228
|
return t.isNewListen = !1, "play";
|
|
20150
|
-
if (e === "CurrentTimeUpdated" &&
|
|
20229
|
+
if (e === "CurrentTimeUpdated" && n3(t))
|
|
20151
20230
|
return "play_progress";
|
|
20152
20231
|
if (e.startsWith("PressedAdvert"))
|
|
20153
20232
|
return "ad_link_click";
|
|
20154
|
-
},
|
|
20233
|
+
}, e3 = (t, e) => {
|
|
20155
20234
|
var l, a;
|
|
20156
20235
|
t.listenSessionId || (t.listenSessionId = Ko()), t.sessionCreatedAt || (t.sessionCreatedAt = Date.now());
|
|
20157
20236
|
const i = ["without-local-storage", "none"].includes(t.analyticsConsent);
|
|
@@ -20159,7 +20238,7 @@ const Jv = (t, e) => {
|
|
|
20159
20238
|
const n = t.adverts[t.advertIndex], o = t.content[t.contentIndex], s = t.duration ? t.currentTime / t.duration * 100 : 0;
|
|
20160
20239
|
return {
|
|
20161
20240
|
event_type: e,
|
|
20162
|
-
device_type:
|
|
20241
|
+
device_type: o3(t),
|
|
20163
20242
|
media_type: n ? "ad" : "content",
|
|
20164
20243
|
project_id: t.projectId,
|
|
20165
20244
|
content_id: o == null ? void 0 : o.id,
|
|
@@ -20180,7 +20259,7 @@ const Jv = (t, e) => {
|
|
|
20180
20259
|
player_version: "1",
|
|
20181
20260
|
player_npm_version: Yo
|
|
20182
20261
|
};
|
|
20183
|
-
},
|
|
20262
|
+
}, t3 = ({ event_type: t, listen_length_percent: e }) => {
|
|
20184
20263
|
const i = Math.floor(e / 10) * 10;
|
|
20185
20264
|
if (t === "load")
|
|
20186
20265
|
return "Load";
|
|
@@ -20192,7 +20271,7 @@ const Jv = (t, e) => {
|
|
|
20192
20271
|
return `${i}% listened`;
|
|
20193
20272
|
if (t === "ad_link_click")
|
|
20194
20273
|
return "Advert Click";
|
|
20195
|
-
},
|
|
20274
|
+
}, i3 = (t) => {
|
|
20196
20275
|
var n, o;
|
|
20197
20276
|
let e = !1;
|
|
20198
20277
|
if (t.advertIndex !== -1) {
|
|
@@ -20203,27 +20282,27 @@ const Jv = (t, e) => {
|
|
|
20203
20282
|
e = s !== t.prevContentId, t.prevContentId = s;
|
|
20204
20283
|
}
|
|
20205
20284
|
return e;
|
|
20206
|
-
},
|
|
20285
|
+
}, n3 = (t) => {
|
|
20207
20286
|
if (t.introsOutrosIndex !== -1)
|
|
20208
20287
|
return;
|
|
20209
20288
|
const e = t.prevPercentage + 10, i = t.currentTime / t.duration * 100;
|
|
20210
20289
|
if (i >= e)
|
|
20211
20290
|
return t.prevPercentage = Math.floor(i / 10) * 10, !0;
|
|
20212
|
-
},
|
|
20213
|
-
var
|
|
20214
|
-
const
|
|
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 {
|
|
20215
20294
|
constructor(n) {
|
|
20216
20295
|
var o = n, { target: e } = o, i = Ws(o, ["target"]);
|
|
20217
|
-
|
|
20218
|
-
const { newTarget: s, showUserInterface: l } =
|
|
20219
|
-
s.classList.add("beyondwords-player", "bwp"),
|
|
20220
|
-
const a = new
|
|
20221
|
-
a.addEventListener("<any>", (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));
|
|
20222
20301
|
const r = Kt({ showUserInterface: l }, i);
|
|
20223
|
-
super({ target: s, props:
|
|
20302
|
+
super({ target: s, props: Yi(Kt({ controller: a }, r), { initialProps: r }) }), a.player = this, Mi(Bi, yn).push(this);
|
|
20224
20303
|
}
|
|
20225
20304
|
static styleLoaded() {
|
|
20226
|
-
|
|
20305
|
+
Bi.instances().forEach((e) => e.target.style.removeProperty("display")), Bi._styleLoaded = !0;
|
|
20227
20306
|
}
|
|
20228
20307
|
static get version() {
|
|
20229
20308
|
return Yo;
|
|
@@ -20235,13 +20314,13 @@ const Ii = class Ii extends K2 {
|
|
|
20235
20314
|
return `https://proxy.beyondwords.io/npm/@beyondwords/player@${Yo}/dist/hls.light.min.js`;
|
|
20236
20315
|
}
|
|
20237
20316
|
static instances() {
|
|
20238
|
-
return [...
|
|
20317
|
+
return [...Mi(Bi, yn)];
|
|
20239
20318
|
}
|
|
20240
20319
|
static destroyAll() {
|
|
20241
|
-
|
|
20320
|
+
Mi(Bi, yn).forEach((e) => e.destroy());
|
|
20242
20321
|
}
|
|
20243
20322
|
destroy() {
|
|
20244
|
-
this.$destroy(), pl(
|
|
20323
|
+
this.$destroy(), pl(Bi, yn, Mi(Bi, yn).filter((e) => e !== this));
|
|
20245
20324
|
}
|
|
20246
20325
|
get target() {
|
|
20247
20326
|
return this.$$.root;
|
|
@@ -20256,12 +20335,12 @@ const Ii = class Ii extends K2 {
|
|
|
20256
20335
|
]);
|
|
20257
20336
|
}
|
|
20258
20337
|
};
|
|
20259
|
-
|
|
20260
|
-
let is =
|
|
20338
|
+
yn = new WeakMap(), Ae(Bi, yn, []);
|
|
20339
|
+
let is = Bi;
|
|
20261
20340
|
var qa;
|
|
20262
20341
|
typeof window != "undefined" && (window.BeyondWords || (window.BeyondWords = {}), (qa = window.BeyondWords).Player || (qa.Player = is));
|
|
20263
|
-
const
|
|
20342
|
+
const r3 = { Player: is };
|
|
20264
20343
|
export {
|
|
20265
|
-
|
|
20344
|
+
r3 as default
|
|
20266
20345
|
};
|
|
20267
20346
|
//# sourceMappingURL=es.js.map
|