@beyondwords/player 0.1.18 → 0.1.19
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 +328 -327
- package/dist/es.js.map +1 -1
- package/dist/umd.js +16 -16
- package/dist/umd.js.map +1 -1
- package/package.json +1 -1
package/dist/es.js
CHANGED
|
@@ -45,7 +45,7 @@ var vi = (t, e, i) => new Promise((n, o) => {
|
|
|
45
45
|
}, r = (a) => a.done ? n(a.value) : Promise.resolve(a.value).then(s, l);
|
|
46
46
|
r((i = i.apply(t, e)).next());
|
|
47
47
|
});
|
|
48
|
-
/*! version:"0.1.
|
|
48
|
+
/*! version:"0.1.19" */
|
|
49
49
|
function G() {
|
|
50
50
|
}
|
|
51
51
|
const Ha = (t) => t;
|
|
@@ -286,26 +286,26 @@ let no;
|
|
|
286
286
|
function eo(t) {
|
|
287
287
|
no = t;
|
|
288
288
|
}
|
|
289
|
-
function
|
|
289
|
+
function jr() {
|
|
290
290
|
if (!no)
|
|
291
291
|
throw new Error("Function called outside component initialization");
|
|
292
292
|
return no;
|
|
293
293
|
}
|
|
294
294
|
function _o(t) {
|
|
295
|
-
|
|
295
|
+
jr().$$.on_mount.push(t);
|
|
296
296
|
}
|
|
297
297
|
function su(t) {
|
|
298
|
-
|
|
298
|
+
jr().$$.on_destroy.push(t);
|
|
299
299
|
}
|
|
300
300
|
const Mn = [], te = [];
|
|
301
301
|
let Nn = [];
|
|
302
|
-
const Ls = [],
|
|
302
|
+
const Ls = [], Or = /* @__PURE__ */ Promise.resolve();
|
|
303
303
|
let Ns = !1;
|
|
304
304
|
function Mr() {
|
|
305
|
-
Ns || (Ns = !0,
|
|
305
|
+
Ns || (Ns = !0, Or.then(c));
|
|
306
306
|
}
|
|
307
307
|
function lu() {
|
|
308
|
-
return Mr(),
|
|
308
|
+
return Mr(), Or;
|
|
309
309
|
}
|
|
310
310
|
function nt(t) {
|
|
311
311
|
Nn.push(t);
|
|
@@ -412,15 +412,15 @@ function fl(t, e, i, n) {
|
|
|
412
412
|
delay: k = 0,
|
|
413
413
|
duration: y = 300,
|
|
414
414
|
easing: C = Ha,
|
|
415
|
-
tick:
|
|
415
|
+
tick: O = G,
|
|
416
416
|
css: z
|
|
417
417
|
} = s || cu, W = {
|
|
418
418
|
start: Ga() + k,
|
|
419
419
|
b: v
|
|
420
420
|
};
|
|
421
421
|
v || (W.group = Qi, Qi.r += 1), "inert" in t && (v ? d !== void 0 && (t.inert = d) : (d = /** @type {HTMLElement} */
|
|
422
|
-
t.inert, t.inert = !0)), r || a ? a = W : (z && (g(), u = gl(t, l, v, y, k, C, z)), v &&
|
|
423
|
-
if (a &&
|
|
422
|
+
t.inert, t.inert = !0)), r || a ? a = W : (z && (g(), u = gl(t, l, v, y, k, C, z)), v && O(0, 1), r = m(W, y), nt(() => Bs(t, v, "start")), Ka((j) => {
|
|
423
|
+
if (a && j > a.start && (r = m(a, y), a = null, Bs(t, r.b, "start"), z && (g(), u = gl(
|
|
424
424
|
t,
|
|
425
425
|
l,
|
|
426
426
|
r.b,
|
|
@@ -429,11 +429,11 @@ function fl(t, e, i, n) {
|
|
|
429
429
|
C,
|
|
430
430
|
s.css
|
|
431
431
|
))), r) {
|
|
432
|
-
if (
|
|
433
|
-
|
|
434
|
-
else if (
|
|
435
|
-
const L =
|
|
436
|
-
l = r.a + r.d * C(L / r.duration),
|
|
432
|
+
if (j >= r.end)
|
|
433
|
+
O(l = r.b, 1 - l), Bs(t, r.b, "end"), a || (r.b ? g() : --r.group.r || ot(r.group.c)), r = null;
|
|
434
|
+
else if (j >= r.start) {
|
|
435
|
+
const L = j - r.start;
|
|
436
|
+
l = r.a + r.d * C(L / r.duration), O(l, 1 - l);
|
|
437
437
|
}
|
|
438
438
|
}
|
|
439
439
|
return !!(r || a);
|
|
@@ -463,19 +463,19 @@ function gu(t, e, i, n, o, s, l, r, a, u, d, g) {
|
|
|
463
463
|
const k = {};
|
|
464
464
|
for (; v--; )
|
|
465
465
|
k[t[v].key] = v;
|
|
466
|
-
const y = [], C = /* @__PURE__ */ new Map(),
|
|
466
|
+
const y = [], C = /* @__PURE__ */ new Map(), O = /* @__PURE__ */ new Map(), z = [];
|
|
467
467
|
for (v = _; v--; ) {
|
|
468
468
|
const N = g(o, s, v), K = i(N);
|
|
469
469
|
let U = l.get(K);
|
|
470
|
-
U ? n && z.push(() => U.p(N, e)) : (U = u(K, N), U.c()), C.set(K, y[v] = U), K in k &&
|
|
470
|
+
U ? n && z.push(() => U.p(N, e)) : (U = u(K, N), U.c()), C.set(K, y[v] = U), K in k && O.set(K, Math.abs(v - k[K]));
|
|
471
471
|
}
|
|
472
|
-
const W = /* @__PURE__ */ new Set(),
|
|
472
|
+
const W = /* @__PURE__ */ new Set(), j = /* @__PURE__ */ new Set();
|
|
473
473
|
function L(N) {
|
|
474
474
|
p(N, 1), N.m(r, d), l.set(N.key, N), d = N.first, _--;
|
|
475
475
|
}
|
|
476
476
|
for (; m && _; ) {
|
|
477
477
|
const N = y[_ - 1], K = t[m - 1], U = N.key, X = K.key;
|
|
478
|
-
N === K ? (d = N.first, m--, _--) : C.has(X) ? !l.has(U) || W.has(U) ? L(N) :
|
|
478
|
+
N === K ? (d = N.first, m--, _--) : C.has(X) ? !l.has(U) || W.has(U) ? L(N) : j.has(X) ? m-- : O.get(U) > O.get(X) ? (j.add(U), L(N)) : (W.add(X), m--) : (a(K, l), m--);
|
|
479
479
|
}
|
|
480
480
|
for (; m--; ) {
|
|
481
481
|
const N = t[m];
|
|
@@ -593,7 +593,7 @@ class pe {
|
|
|
593
593
|
}
|
|
594
594
|
const hu = "4";
|
|
595
595
|
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(hu);
|
|
596
|
-
const _u = "@beyondwords/player", Uo = "0.1.
|
|
596
|
+
const _u = "@beyondwords/player", Uo = "0.1.19", ci = (t, e) => {
|
|
597
597
|
t = [t].flat().join(`
|
|
598
598
|
`);
|
|
599
599
|
let i = `${_u}:
|
|
@@ -646,13 +646,13 @@ function Ho(t, e, i) {
|
|
|
646
646
|
return bu(n);
|
|
647
647
|
}
|
|
648
648
|
const el = ["user", "media", "browser", "media-session-api", "google-ima-sdk", "websocket"], Er = ["inline-player", "bottom-widget", "segment", "segment-widget"], pu = ["handled", "ignored-due-to-advert", "ignored-due-to-scrubbing"], Su = ["load", "play", "play_progress", "ad_link_click"], wu = ["phone", "tablet", "desktop"], Pu = ["content", "ad"], Tu = (t) => {
|
|
649
|
-
|
|
649
|
+
Oe(t, "type", (e) => tl(e)), Oe(t, "description", (e) => e.length > 0), Oe(t, "initiatedBy", (e) => el.includes(e));
|
|
650
650
|
}, Cu = (t) => {
|
|
651
|
-
|
|
651
|
+
Oe(t, "type", (e) => tl(e)), Oe(t, "description", (e) => e.length > 0), Oe(t, "initiatedBy", (e) => el.includes(e)), Oe(t, "emittedFrom", (e) => Er.includes(e)), Oe(t, "id", (e) => to(e)), Oe(t, "createdAt", (e) => Ds(e)), Oe(t, "status", (e) => e === "pending");
|
|
652
652
|
}, Au = (t) => {
|
|
653
|
-
|
|
653
|
+
Oe(t, "type", (e) => tl(e)), Oe(t, "description", (e) => e.length > 0), Oe(t, "initiatedBy", (e) => el.includes(e)), Oe(t, "emittedFrom", (e) => Er.includes(e)), Oe(t, "id", (e) => to(e)), Oe(t, "createdAt", (e) => Ds(e)), Oe(t, "status", (e) => pu.includes(e)), Oe(t, "changedProps", (e) => typeof e == "object"), Oe(t, "processedAt", (e) => Ds(e));
|
|
654
654
|
}, Bu = (t) => {
|
|
655
|
-
|
|
655
|
+
Oe(t, "event_type", (e) => Su.includes(e)), Oe(t, "device_type", (e) => wu.includes(e)), Oe(t, "media_type", (e) => Pu.includes(e)), Oe(t, "content_id", (e) => !e || to(e)), Oe(t, "project_id", (e) => !e || e > 0), Oe(t, "analytics_id", (e) => !e || e > 0), Oe(t, "ad_id", (e) => !e || e > 0), Oe(t, "media_id", (e) => !e || e > 0), Oe(t, "local_storage_id", (e) => !e || to(e)), Oe(t, "listen_session_id", (e) => !e || to(e)), Oe(t, "session_created_at", (e) => e >= 0), Oe(t, "duration", (e) => e >= 0), Oe(t, "listen_length_percent", (e) => e >= 0 && e <= 100), Oe(t, "listen_length_seconds", (e) => e >= 0), Oe(t, "speed", (e) => e >= 0), Oe(t, "location", (e) => e.length > 0), Oe(t, "referrer", (e) => typeof e == "string"), Oe(t, "player_version", (e) => e.length > 0), Oe(t, "player_npm_version", (e) => e.length > 0);
|
|
656
656
|
}, tl = (t) => {
|
|
657
657
|
t = t || "<invalid>";
|
|
658
658
|
const e = t[0] === t[0].toUpperCase(), i = t.match(/[^a-zA-Z]/);
|
|
@@ -663,7 +663,7 @@ const el = ["user", "media", "browser", "media-session-api", "google-ima-sdk", "
|
|
|
663
663
|
} catch (e) {
|
|
664
664
|
return !1;
|
|
665
665
|
}
|
|
666
|
-
},
|
|
666
|
+
}, Oe = (t, e, i) => {
|
|
667
667
|
Object.prototype.hasOwnProperty.call(t, e) || ci(`Invalid event: missing a '${e}' property`, t), i(t[e]) || ci(`Invalid event: '${e}: ${t[e]}' is invalid`, t);
|
|
668
668
|
}, _e = (t) => {
|
|
669
669
|
Tu(t);
|
|
@@ -688,7 +688,7 @@ const el = ["user", "media", "browser", "media-session-api", "google-ima-sdk", "
|
|
|
688
688
|
return !1;
|
|
689
689
|
const e = window.innerHeight || document.documentElement.clientHeight, i = window.innerWidth || document.documentElement.clientWidth, { top: n, bottom: o, left: s, right: l } = t.getBoundingClientRect();
|
|
690
690
|
return n < e && o > 0 && s < i && l > 0;
|
|
691
|
-
}, _l = (t, e, i) => Pe(t, e, e === "style" ?
|
|
691
|
+
}, _l = (t, e, i) => Pe(t, e, e === "style" ? Ou(i) : i), ju = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Ou = (t) => t.split(ju).filter((e) => e).map((e) => e + " !important").join(";"), { document: Mu } = Ja;
|
|
692
692
|
function Eu(t) {
|
|
693
693
|
let e, i, n, o, s, l;
|
|
694
694
|
return {
|
|
@@ -721,12 +721,12 @@ function Eu(t) {
|
|
|
721
721
|
}
|
|
722
722
|
function zu(t, e, i) {
|
|
723
723
|
let n, o, { vastUrl: s } = e, { advertConsent: l } = e, { video: r } = e, { playbackState: a } = e, { duration: u } = e, { currentTime: d } = e, { onEvent: g = () => {
|
|
724
|
-
} } = e, m, _, v, k, y, C,
|
|
724
|
+
} } = e, m, _, v, k, y, C, O;
|
|
725
725
|
const z = () => {
|
|
726
726
|
_ = new google.ima.AdDisplayContainer(m, r), v = new google.ima.AdsLoader(_), v.addEventListener(google.ima.AdsManagerLoadedEvent.Type.ADS_MANAGER_LOADED, W, !1), v.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR, X, !1), k = new google.ima.AdsRequest(), k.adTagUrl = o, k.linearAdSlotWidth = r.clientWidth, k.linearAdSlotHeight = r.clientHeight, v.requestAds(k);
|
|
727
727
|
}, W = (F) => {
|
|
728
728
|
i(10, y = F.getAdsManager(r)), y.addEventListener(google.ima.AdEvent.Type.AD_PROGRESS, L), y.addEventListener(google.ima.AdEvent.Type.CLICK, N), y.addEventListener(google.ima.AdEvent.Type.PAUSED, K), y.addEventListener(google.ima.AdEvent.Type.CONTENT_RESUME_REQUESTED, U), y.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR, X);
|
|
729
|
-
},
|
|
729
|
+
}, j = () => {
|
|
730
730
|
if (!C) {
|
|
731
731
|
C = !0, r.pause(), r.load(), _.initialize();
|
|
732
732
|
try {
|
|
@@ -736,11 +736,11 @@ function zu(t, e, i) {
|
|
|
736
736
|
}
|
|
737
737
|
}
|
|
738
738
|
}, L = (F) => {
|
|
739
|
-
|
|
739
|
+
O = F.getAdData(), O.updatedAt = Date.now(), g(_e({
|
|
740
740
|
type: "CurrentTimeUpdated",
|
|
741
741
|
description: "The media's current time was updated.",
|
|
742
742
|
initiatedBy: "media"
|
|
743
|
-
})), u !==
|
|
743
|
+
})), u !== O.duration && (i(4, u = O.duration), g(_e({
|
|
744
744
|
type: "DurationUpdated",
|
|
745
745
|
description: "The media's duration was updated.",
|
|
746
746
|
initiatedBy: "google-ima-sdk"
|
|
@@ -791,13 +791,13 @@ function zu(t, e, i) {
|
|
|
791
791
|
}, ve = () => {
|
|
792
792
|
m && (i(5, d = ne()), y.resize(r.clientWidth, r.clientHeight, google.ima.ViewMode.NORMAL), requestAnimationFrame(ve));
|
|
793
793
|
}, ne = () => {
|
|
794
|
-
if (!
|
|
794
|
+
if (!O)
|
|
795
795
|
return 0;
|
|
796
796
|
if (a === "playing") {
|
|
797
|
-
const F = (Date.now() -
|
|
798
|
-
return
|
|
797
|
+
const F = (Date.now() - O.updatedAt) / 1e3;
|
|
798
|
+
return O.currentTime + F;
|
|
799
799
|
} else
|
|
800
|
-
return
|
|
800
|
+
return O.updatedAt = Date.now(), d;
|
|
801
801
|
};
|
|
802
802
|
function ee(F) {
|
|
803
803
|
te[F ? "unshift" : "push"](() => {
|
|
@@ -810,7 +810,7 @@ function zu(t, e, i) {
|
|
|
810
810
|
t.$$.dirty & /*advertConsent, video*/
|
|
811
811
|
384 && i(11, n = Vu(l, Wu(r))), t.$$.dirty & /*vastUrl, adParams*/
|
|
812
812
|
2112 && (o = Iu(s, n)), t.$$.dirty & /*adsManager, playbackState*/
|
|
813
|
-
1032 && y && a === "playing" &&
|
|
813
|
+
1032 && y && a === "playing" && j(), t.$$.dirty & /*adsManager, playbackState*/
|
|
814
814
|
1032 && (a === "playing" ? y == null || y.resume() : y == null || y.pause());
|
|
815
815
|
}, [
|
|
816
816
|
m,
|
|
@@ -1469,10 +1469,10 @@ const Ru = (t, e) => vi(void 0, null, function* () {
|
|
|
1469
1469
|
maximizeVideo: "Maximize video",
|
|
1470
1470
|
changePlaybackRate: "Change playback rate",
|
|
1471
1471
|
downloadAudio: "Download audio"
|
|
1472
|
-
},
|
|
1472
|
+
}, jc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1473
1473
|
__proto__: null,
|
|
1474
1474
|
default: Wc
|
|
1475
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1475
|
+
}, Symbol.toStringTag, { value: "Module" })), Oc = {
|
|
1476
1476
|
isDefaultForLanguage: !0,
|
|
1477
1477
|
listenToThisArticle: "Escucha este artículo",
|
|
1478
1478
|
videoInWidget: "Video is playing in widget",
|
|
@@ -1496,7 +1496,7 @@ const Ru = (t, e) => vi(void 0, null, function* () {
|
|
|
1496
1496
|
downloadAudio: "Download audio"
|
|
1497
1497
|
}, Mc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1498
1498
|
__proto__: null,
|
|
1499
|
-
default:
|
|
1499
|
+
default: Oc
|
|
1500
1500
|
}, Symbol.toStringTag, { value: "Module" })), Ec = {
|
|
1501
1501
|
isDefaultForLanguage: !0,
|
|
1502
1502
|
listenToThisArticle: "Kuulake seda artiklit",
|
|
@@ -2144,10 +2144,10 @@ const Ru = (t, e) => vi(void 0, null, function* () {
|
|
|
2144
2144
|
maximizeVideo: "Maximize video",
|
|
2145
2145
|
changePlaybackRate: "Change playback rate",
|
|
2146
2146
|
downloadAudio: "Download audio"
|
|
2147
|
-
},
|
|
2147
|
+
}, jd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2148
2148
|
__proto__: null,
|
|
2149
2149
|
default: Wd
|
|
2150
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
2150
|
+
}, Symbol.toStringTag, { value: "Module" })), Od = {
|
|
2151
2151
|
isDefaultForLanguage: !0,
|
|
2152
2152
|
listenToThisArticle: "ಈ ಲೇಖನವನ್ನು ಆಲಿಸಿ",
|
|
2153
2153
|
videoInWidget: "Video is playing in widget",
|
|
@@ -2171,7 +2171,7 @@ const Ru = (t, e) => vi(void 0, null, function* () {
|
|
|
2171
2171
|
downloadAudio: "Download audio"
|
|
2172
2172
|
}, Md = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2173
2173
|
__proto__: null,
|
|
2174
|
-
default:
|
|
2174
|
+
default: Od
|
|
2175
2175
|
}, Symbol.toStringTag, { value: "Module" })), Ed = {
|
|
2176
2176
|
isDefaultForLanguage: !0,
|
|
2177
2177
|
listenToThisArticle: "이 기사를 들어라",
|
|
@@ -2819,10 +2819,10 @@ const Ru = (t, e) => vi(void 0, null, function* () {
|
|
|
2819
2819
|
maximizeVideo: "Maximize video",
|
|
2820
2820
|
changePlaybackRate: "Change playback rate",
|
|
2821
2821
|
downloadAudio: "Download audio"
|
|
2822
|
-
},
|
|
2822
|
+
}, jg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2823
2823
|
__proto__: null,
|
|
2824
2824
|
default: Wg
|
|
2825
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
2825
|
+
}, Symbol.toStringTag, { value: "Module" })), Og = {
|
|
2826
2826
|
isDefaultForLanguage: !0,
|
|
2827
2827
|
listenToThisArticle: "Ouça este artigo",
|
|
2828
2828
|
videoInWidget: "Video is playing in widget",
|
|
@@ -2846,7 +2846,7 @@ const Ru = (t, e) => vi(void 0, null, function* () {
|
|
|
2846
2846
|
downloadAudio: "Download audio"
|
|
2847
2847
|
}, Mg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2848
2848
|
__proto__: null,
|
|
2849
|
-
default:
|
|
2849
|
+
default: Og
|
|
2850
2850
|
}, Symbol.toStringTag, { value: "Module" })), Eg = {
|
|
2851
2851
|
isDefaultForLanguage: !0,
|
|
2852
2852
|
listenToThisArticle: "Kay qillqasqata uyariy",
|
|
@@ -3494,10 +3494,10 @@ const Ru = (t, e) => vi(void 0, null, function* () {
|
|
|
3494
3494
|
maximizeVideo: "Maximize video",
|
|
3495
3495
|
changePlaybackRate: "Change playback rate",
|
|
3496
3496
|
downloadAudio: "Download audio"
|
|
3497
|
-
},
|
|
3497
|
+
}, j1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3498
3498
|
__proto__: null,
|
|
3499
3499
|
default: W1
|
|
3500
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
3500
|
+
}, Symbol.toStringTag, { value: "Module" })), O1 = {
|
|
3501
3501
|
isDefaultForLanguage: !0,
|
|
3502
3502
|
listenToThisArticle: "Gbọ nkan yii",
|
|
3503
3503
|
videoInWidget: "Video is playing in widget",
|
|
@@ -3521,7 +3521,7 @@ const Ru = (t, e) => vi(void 0, null, function* () {
|
|
|
3521
3521
|
downloadAudio: "Download audio"
|
|
3522
3522
|
}, M1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3523
3523
|
__proto__: null,
|
|
3524
|
-
default:
|
|
3524
|
+
default: O1
|
|
3525
3525
|
}, Symbol.toStringTag, { value: "Module" })), E1 = {
|
|
3526
3526
|
listenToThisArticle: "聽這篇文章",
|
|
3527
3527
|
videoInWidget: "Video is playing in widget",
|
|
@@ -3673,7 +3673,7 @@ const Ru = (t, e) => vi(void 0, null, function* () {
|
|
|
3673
3673
|
`The locale '${n}' is missing the translation key '${s}'.`,
|
|
3674
3674
|
`Please set '${s}: "something"' in src/translations/${n}.ts`
|
|
3675
3675
|
]);
|
|
3676
|
-
}, J1 = /* @__PURE__ */ Object.assign({ "../translations/af.ts": Yu, "../translations/ak.ts": Gu, "../translations/am.ts": Ju, "../translations/ar.ts": Qu, "../translations/as.ts": ec, "../translations/az.ts": ic, "../translations/be.ts": oc, "../translations/bg.ts": lc, "../translations/bm.ts": ac, "../translations/bn.ts": cc, "../translations/bs.ts": gc, "../translations/ca.ts": hc, "../translations/ckb.ts": mc, "../translations/cs.ts": yc, "../translations/cy.ts": kc, "../translations/da.ts": Sc, "../translations/de.ts": Pc, "../translations/ee.ts": Cc, "../translations/el.ts": Bc, "../translations/en.ts": Vc, "../translations/eo.ts":
|
|
3676
|
+
}, J1 = /* @__PURE__ */ Object.assign({ "../translations/af.ts": Yu, "../translations/ak.ts": Gu, "../translations/am.ts": Ju, "../translations/ar.ts": Qu, "../translations/as.ts": ec, "../translations/az.ts": ic, "../translations/be.ts": oc, "../translations/bg.ts": lc, "../translations/bm.ts": ac, "../translations/bn.ts": cc, "../translations/bs.ts": gc, "../translations/ca.ts": hc, "../translations/ckb.ts": mc, "../translations/cs.ts": yc, "../translations/cy.ts": kc, "../translations/da.ts": Sc, "../translations/de.ts": Pc, "../translations/ee.ts": Cc, "../translations/el.ts": Bc, "../translations/en.ts": Vc, "../translations/eo.ts": jc, "../translations/es.ts": Mc, "../translations/et.ts": zc, "../translations/eu.ts": Nc, "../translations/fa.ts": Rc, "../translations/fi.ts": Uc, "../translations/fil.ts": qc, "../translations/fr.ts": Yc, "../translations/ga.ts": Gc, "../translations/gd.ts": Jc, "../translations/gl.ts": Qc, "../translations/gu.ts": ed, "../translations/ha.ts": id, "../translations/haw.ts": od, "../translations/he.ts": ld, "../translations/hi.ts": ad, "../translations/hr.ts": cd, "../translations/hu.ts": gd, "../translations/hy.ts": hd, "../translations/id.ts": md, "../translations/ig.ts": yd, "../translations/is.ts": kd, "../translations/it.ts": Sd, "../translations/iw.ts": Pd, "../translations/ja.ts": Cd, "../translations/ka.ts": Bd, "../translations/kk.ts": Vd, "../translations/km.ts": jd, "../translations/kn.ts": Md, "../translations/ko.ts": zd, "../translations/ky.ts": Nd, "../translations/lb.ts": Rd, "../translations/lg.ts": Ud, "../translations/ln.ts": qd, "../translations/lo.ts": Yd, "../translations/lt.ts": Gd, "../translations/lv.ts": Jd, "../translations/mg.ts": Qd, "../translations/mk.ts": eg, "../translations/ml.ts": ig, "../translations/mn.ts": og, "../translations/mr.ts": lg, "../translations/ms.ts": ag, "../translations/mt.ts": cg, "../translations/my.ts": gg, "../translations/nb.ts": hg, "../translations/ne.ts": mg, "../translations/nl.ts": yg, "../translations/nn.ts": kg, "../translations/no.ts": Sg, "../translations/om.ts": Pg, "../translations/or.ts": Cg, "../translations/pa.ts": Bg, "../translations/pl.ts": Vg, "../translations/ps.ts": jg, "../translations/pt.ts": Mg, "../translations/qu.ts": zg, "../translations/ro.ts": Ng, "../translations/ru.ts": Rg, "../translations/rw.ts": Ug, "../translations/si.ts": qg, "../translations/sk.ts": Yg, "../translations/sl.ts": Gg, "../translations/sn.ts": Jg, "../translations/so.ts": Qg, "../translations/sq.ts": e1, "../translations/sr.ts": i1, "../translations/sv.ts": o1, "../translations/sw.ts": l1, "../translations/ta.ts": a1, "../translations/te.ts": c1, "../translations/tg.ts": g1, "../translations/th.ts": h1, "../translations/ti.ts": m1, "../translations/tr.ts": y1, "../translations/tt.ts": k1, "../translations/ug.ts": S1, "../translations/uk.ts": P1, "../translations/ur.ts": C1, "../translations/uz.ts": B1, "../translations/vi.ts": V1, "../translations/yi.ts": j1, "../translations/yo.ts": M1, "../translations/zh-HK.ts": z1, "../translations/zh-MO.ts": N1, "../translations/zh-TW.ts": R1, "../translations/zh.ts": U1, "../translations/zu.ts": q1 }), Lr = Object.entries(J1).map(([t, e]) => [H1(t), e.default]), Rs = Object.fromEntries(Lr.filter(([t, e]) => t.includes("-"))), xs = Object.fromEntries(Lr.filter(([t, e]) => e.isDefaultForLanguage).map(([t, e]) => [t.split("-")[0], e]));
|
|
3677
3677
|
Y1(Rs, xs);
|
|
3678
3678
|
const It = (t, { locale: e } = {}) => {
|
|
3679
3679
|
const i = X1(e);
|
|
@@ -4102,7 +4102,7 @@ function of(t) {
|
|
|
4102
4102
|
};
|
|
4103
4103
|
}
|
|
4104
4104
|
function sf(t, e, i) {
|
|
4105
|
-
let n, o, s, l, r, a, u, d, g, m, _, v, k, y, C, { content:
|
|
4105
|
+
let n, o, s, l, r, a, u, d, g, m, _, v, k, y, C, { content: O } = e, { contentIndex: z } = e, { introOrOutro: W } = e, { activeAdvert: j } = e, { advertConsent: L } = e, { playbackState: N } = e, { duration: K } = e, { currentTime: U } = e, { playbackRate: X } = e, { prevPercentage: Te } = e, { showUserInterface: me } = e, { videoBehindWidget: ve } = e, { videoBehindStatic: ne } = e, { videoMightBeShown: ee } = e, { widgetPosition: F } = e, { widgetWidth: oe } = e, { widgetTarget: ge } = e, { onEvent: Z = () => {
|
|
4106
4106
|
} } = e, { isLoaded: le } = e, { video: w = void 0 } = e, q, we, Se, Ie = 0, J = 0, Ce = U, Ae;
|
|
4107
4107
|
const Re = (x) => i(11, Ie = x), Fe = () => ee, et = () => {
|
|
4108
4108
|
var x;
|
|
@@ -4115,7 +4115,7 @@ function sf(t, e, i) {
|
|
|
4115
4115
|
description: "The media began playing from its current playback time.",
|
|
4116
4116
|
initiatedBy: "media"
|
|
4117
4117
|
}));
|
|
4118
|
-
},
|
|
4118
|
+
}, je = () => {
|
|
4119
4119
|
Z(_e({
|
|
4120
4120
|
type: "PlaybackPaused",
|
|
4121
4121
|
description: "The media became paused at its current playback time.",
|
|
@@ -4226,34 +4226,34 @@ function sf(t, e, i) {
|
|
|
4226
4226
|
U = x, i(1, U), i(11, Ie);
|
|
4227
4227
|
}
|
|
4228
4228
|
return t.$$set = (x) => {
|
|
4229
|
-
"content" in x && i(5,
|
|
4229
|
+
"content" in x && i(5, O = x.content), "contentIndex" in x && i(32, z = x.contentIndex), "introOrOutro" in x && i(33, W = x.introOrOutro), "activeAdvert" in x && i(34, j = x.activeAdvert), "advertConsent" in x && i(6, L = x.advertConsent), "playbackState" in x && i(0, N = x.playbackState), "duration" in x && i(3, K = x.duration), "currentTime" in x && i(1, U = x.currentTime), "playbackRate" in x && i(4, X = x.playbackRate), "prevPercentage" in x && i(31, Te = x.prevPercentage), "showUserInterface" in x && i(7, me = x.showUserInterface), "videoBehindWidget" in x && i(35, ve = x.videoBehindWidget), "videoBehindStatic" in x && i(8, ne = x.videoBehindStatic), "videoMightBeShown" in x && i(36, ee = x.videoMightBeShown), "widgetPosition" in x && i(37, F = x.widgetPosition), "widgetWidth" in x && i(38, oe = x.widgetWidth), "widgetTarget" in x && i(39, ge = x.widgetTarget), "onEvent" in x && i(9, Z = x.onEvent), "isLoaded" in x && i(30, le = x.isLoaded), "video" in x && i(2, w = x.video);
|
|
4230
4230
|
}, t.$$.update = () => {
|
|
4231
4231
|
t.$$.dirty[0] & /*content, videoBehindStatic*/
|
|
4232
4232
|
288 | t.$$.dirty[1] & /*videoBehindWidget*/
|
|
4233
|
-
16 && i(49, n =
|
|
4233
|
+
16 && i(49, n = O.length > 0 && (ne || ve)), t.$$.dirty[1] & /*stylesNeeded*/
|
|
4234
4234
|
262144 && n && import("./././././././././style.js"), t.$$.dirty[0] & /*time*/
|
|
4235
4235
|
2048 && i(1, U = Ie), t.$$.dirty[0] & /*currentTime*/
|
|
4236
4236
|
2 | t.$$.dirty[1] & /*activeAdvert*/
|
|
4237
|
-
8 && !
|
|
4237
|
+
8 && !j && Re(U), t.$$.dirty[0] & /*content*/
|
|
4238
4238
|
32 | t.$$.dirty[1] & /*contentIndex*/
|
|
4239
|
-
2 && i(48, o =
|
|
4239
|
+
2 && i(48, o = O[z]), t.$$.dirty[1] & /*contentItem*/
|
|
4240
4240
|
131072 && i(44, s = (o == null ? void 0 : o.segments) || []), t.$$.dirty[1] & /*contentIndex, introOrOutro, activeAdvert, loadCount*/
|
|
4241
4241
|
1038 && i(41, J += 1), t.$$.dirty[1] & /*loadCount*/
|
|
4242
4242
|
1024 && i(15, l = J === 1), t.$$.dirty[0] & /*isFirstLoad*/
|
|
4243
4243
|
32768 && i(47, r = l && Ce), t.$$.dirty[1] & /*introOrOutro*/
|
|
4244
4244
|
4 && i(46, a = W), t.$$.dirty[1] & /*introOrOutro, activeAdvert*/
|
|
4245
|
-
12 && !W && i(46, a =
|
|
4246
|
-
131084 && !W && !
|
|
4245
|
+
12 && !W && i(46, a = j), t.$$.dirty[1] & /*introOrOutro, activeAdvert, contentItem*/
|
|
4246
|
+
131084 && !W && !j && i(46, a = o), t.$$.dirty[0] & /*playbackState, currentTime*/
|
|
4247
4247
|
3 && i(45, y = N !== "playing" && U <= io), t.$$.dirty[1] & /*videoMightBeShown, loadedMedia, atTheStart, mediaObject*/
|
|
4248
|
-
51232 && ee && (Ae == null ? void 0 : Ae.format) === "audio" && y && (i(46, a), i(33, W), i(34,
|
|
4248
|
+
51232 && ee && (Ae == null ? void 0 : Ae.format) === "audio" && y && (i(46, a), i(33, W), i(34, j), i(48, o), i(36, ee), i(42, Ae), i(45, y), i(5, O), i(32, z), i(0, N), i(1, U), i(11, Ie)), t.$$.dirty[1] & /*mediaObject, startPosition*/
|
|
4249
4249
|
98304 && i(12, u = Nu(a, Fe(), r)), t.$$.dirty[0] & /*sources*/
|
|
4250
4250
|
4096 && i(30, le = !1), t.$$.dirty[0] & /*sources*/
|
|
4251
4251
|
4096 && i(31, Te = 0), t.$$.dirty[0] & /*sources, video*/
|
|
4252
4252
|
4100 && Ru(u[0], w).then((x) => i(40, q = x)), t.$$.dirty[0] & /*sources, video, hls*/
|
|
4253
4253
|
5124 | t.$$.dirty[1] & /*Hls, startPosition*/
|
|
4254
4254
|
66048 && i(10, we = Fu(u[0], w, q, we, Ye, et, r)), t.$$.dirty[1] & /*activeAdvert*/
|
|
4255
|
-
8 && i(13, d =
|
|
4256
|
-
8 && i(20, g =
|
|
4255
|
+
8 && i(13, d = j == null ? void 0 : j.vastUrl), t.$$.dirty[1] & /*activeAdvert*/
|
|
4256
|
+
8 && i(20, g = j == null ? void 0 : j.clickThroughUrl), t.$$.dirty[0] & /*isLoaded, vastUrl, playbackState*/
|
|
4257
4257
|
1073750017 && le && !d && (N === "playing" ? et() : ft()), t.$$.dirty[1] & /*videoBehindWidget, widgetTarget*/
|
|
4258
4258
|
272 && i(19, m = ve && ge), t.$$.dirty[1] & /*videoBehindWidget, widgetTarget*/
|
|
4259
4259
|
272 && i(14, _ = ve && !ge), t.$$.dirty[0] & /*videoBehindSlidingWidget*/
|
|
@@ -4262,7 +4262,7 @@ function sf(t, e, i) {
|
|
|
4262
4262
|
16384 | t.$$.dirty[1] & /*widgetWidth*/
|
|
4263
4263
|
128 && i(17, k = _ ? `width: ${oe}` : ""), t.$$.dirty[0] & /*currentTime*/
|
|
4264
4264
|
2 | t.$$.dirty[1] & /*introOrOutro, activeAdvert, atTheStart, segments*/
|
|
4265
|
-
24588 && i(43, C = W ||
|
|
4265
|
+
24588 && i(43, C = W || j || y ? -1 : il(s, U)), t.$$.dirty[1] & /*segmentIndex*/
|
|
4266
4266
|
4096 && Xe(), t.$$.dirty[0] & /*videoBehindSlidingWidget*/
|
|
4267
4267
|
16384 && _ && yt();
|
|
4268
4268
|
}, [
|
|
@@ -4271,7 +4271,7 @@ function sf(t, e, i) {
|
|
|
4271
4271
|
w,
|
|
4272
4272
|
K,
|
|
4273
4273
|
X,
|
|
4274
|
-
|
|
4274
|
+
O,
|
|
4275
4275
|
L,
|
|
4276
4276
|
me,
|
|
4277
4277
|
ne,
|
|
@@ -4289,7 +4289,7 @@ function sf(t, e, i) {
|
|
|
4289
4289
|
g,
|
|
4290
4290
|
Ce,
|
|
4291
4291
|
We,
|
|
4292
|
-
|
|
4292
|
+
je,
|
|
4293
4293
|
Je,
|
|
4294
4294
|
He,
|
|
4295
4295
|
St,
|
|
@@ -4300,7 +4300,7 @@ function sf(t, e, i) {
|
|
|
4300
4300
|
Te,
|
|
4301
4301
|
z,
|
|
4302
4302
|
W,
|
|
4303
|
-
|
|
4303
|
+
j,
|
|
4304
4304
|
ve,
|
|
4305
4305
|
ee,
|
|
4306
4306
|
F,
|
|
@@ -4842,35 +4842,35 @@ class Wf extends pe {
|
|
|
4842
4842
|
this.$$set({ color: e }), c();
|
|
4843
4843
|
}
|
|
4844
4844
|
}
|
|
4845
|
-
const
|
|
4845
|
+
const ji = (t, e, i) => Pe(t, e, e === "style" ? Of(i) : i), jf = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Of = (t) => t.split(jf).filter((e) => e).map((e) => e + " !important").join(";");
|
|
4846
4846
|
function Mf(t) {
|
|
4847
4847
|
let e, i, n, o;
|
|
4848
4848
|
return {
|
|
4849
4849
|
c() {
|
|
4850
|
-
e = ye("svg"), i = ye("path"),
|
|
4850
|
+
e = ye("svg"), i = ye("path"), ji(
|
|
4851
4851
|
i,
|
|
4852
4852
|
"fill",
|
|
4853
4853
|
/*color*/
|
|
4854
4854
|
t[1]
|
|
4855
|
-
),
|
|
4856
|
-
t[0]),
|
|
4857
|
-
t[0]),
|
|
4855
|
+
), 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 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"), ji(e, "width", n = 40 * /*scale*/
|
|
4856
|
+
t[0]), ji(e, "height", o = 40 * /*scale*/
|
|
4857
|
+
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");
|
|
4858
4858
|
},
|
|
4859
4859
|
m(s, l) {
|
|
4860
4860
|
B(s, e, l), f(e, i);
|
|
4861
4861
|
},
|
|
4862
4862
|
p(s, [l]) {
|
|
4863
4863
|
l & /*color*/
|
|
4864
|
-
2 &&
|
|
4864
|
+
2 && ji(
|
|
4865
4865
|
i,
|
|
4866
4866
|
"fill",
|
|
4867
4867
|
/*color*/
|
|
4868
4868
|
s[1]
|
|
4869
4869
|
), l & /*scale*/
|
|
4870
4870
|
1 && n !== (n = 40 * /*scale*/
|
|
4871
|
-
s[0]) &&
|
|
4871
|
+
s[0]) && ji(e, "width", n), l & /*scale*/
|
|
4872
4872
|
1 && o !== (o = 40 * /*scale*/
|
|
4873
|
-
s[0]) &&
|
|
4873
|
+
s[0]) && ji(e, "height", o);
|
|
4874
4874
|
},
|
|
4875
4875
|
i: G,
|
|
4876
4876
|
o: G,
|
|
@@ -5332,35 +5332,35 @@ class $f extends pe {
|
|
|
5332
5332
|
this.$$set({ seconds: e }), c();
|
|
5333
5333
|
}
|
|
5334
5334
|
}
|
|
5335
|
-
const
|
|
5335
|
+
const Oi = (t, e, i) => Pe(t, e, e === "style" ? th(i) : i), eh = /;(?!([^()]*\([^()]*\))*[^()]*\))/, th = (t) => t.split(eh).filter((e) => e).map((e) => e + " !important").join(";");
|
|
5336
5336
|
function ih(t) {
|
|
5337
5337
|
let e, i, n, o;
|
|
5338
5338
|
return {
|
|
5339
5339
|
c() {
|
|
5340
|
-
e = ye("svg"), i = ye("path"),
|
|
5340
|
+
e = ye("svg"), i = ye("path"), Oi(
|
|
5341
5341
|
i,
|
|
5342
5342
|
"fill",
|
|
5343
5343
|
/*color*/
|
|
5344
5344
|
t[1]
|
|
5345
|
-
),
|
|
5346
|
-
t[0]),
|
|
5347
|
-
t[0]),
|
|
5345
|
+
), Oi(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"), Oi(e, "width", n = 40 * /*scale*/
|
|
5346
|
+
t[0]), Oi(e, "height", o = 40 * /*scale*/
|
|
5347
|
+
t[0]), Oi(e, "viewBox", "-12 -12 35 36"), Oi(e, "fill", "none"), Oi(e, "xmlns", "http://www.w3.org/2000/svg");
|
|
5348
5348
|
},
|
|
5349
5349
|
m(s, l) {
|
|
5350
5350
|
B(s, e, l), f(e, i);
|
|
5351
5351
|
},
|
|
5352
5352
|
p(s, [l]) {
|
|
5353
5353
|
l & /*color*/
|
|
5354
|
-
2 &&
|
|
5354
|
+
2 && Oi(
|
|
5355
5355
|
i,
|
|
5356
5356
|
"fill",
|
|
5357
5357
|
/*color*/
|
|
5358
5358
|
s[1]
|
|
5359
5359
|
), l & /*scale*/
|
|
5360
5360
|
1 && n !== (n = 40 * /*scale*/
|
|
5361
|
-
s[0]) &&
|
|
5361
|
+
s[0]) && Oi(e, "width", n), l & /*scale*/
|
|
5362
5362
|
1 && o !== (o = 40 * /*scale*/
|
|
5363
|
-
s[0]) &&
|
|
5363
|
+
s[0]) && Oi(e, "height", o);
|
|
5364
5364
|
},
|
|
5365
5365
|
i: G,
|
|
5366
5366
|
o: G,
|
|
@@ -5906,7 +5906,7 @@ function Wh(t, e, i) {
|
|
|
5906
5906
|
"scale" in s && i(0, n = s.scale), "color" in s && i(1, o = s.color);
|
|
5907
5907
|
}, [n, o];
|
|
5908
5908
|
}
|
|
5909
|
-
class
|
|
5909
|
+
class jh extends pe {
|
|
5910
5910
|
constructor(e) {
|
|
5911
5911
|
super(), ke(this, e, Wh, Vh, be, { scale: 0, color: 1 });
|
|
5912
5912
|
}
|
|
@@ -5923,10 +5923,10 @@ class Oh extends pe {
|
|
|
5923
5923
|
this.$$set({ color: e }), c();
|
|
5924
5924
|
}
|
|
5925
5925
|
}
|
|
5926
|
-
const Vo = (t, e, i) => Pe(t, e, e === "style" ? Mh(i) : i),
|
|
5926
|
+
const Vo = (t, e, i) => Pe(t, e, e === "style" ? Mh(i) : i), Oh = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Mh = (t) => t.split(Oh).filter((e) => e).map((e) => e + " !important").join(";");
|
|
5927
5927
|
function Eh(t) {
|
|
5928
5928
|
let e, i;
|
|
5929
|
-
return e = new
|
|
5929
|
+
return e = new jh({
|
|
5930
5930
|
props: {
|
|
5931
5931
|
scale: (
|
|
5932
5932
|
/*scale*/
|
|
@@ -6716,7 +6716,7 @@ class f_ extends pe {
|
|
|
6716
6716
|
this.$$set({ color: e }), c();
|
|
6717
6717
|
}
|
|
6718
6718
|
}
|
|
6719
|
-
const
|
|
6719
|
+
const jo = (t, e, i) => Ut(t, e, i, 1), Is = (t, e, i) => Pe(t, e, e === "style" ? __(i) : i), h_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, __ = (t) => t.split(h_).filter((e) => e).map((e) => e + " !important").join(";");
|
|
6720
6720
|
function Bl(t) {
|
|
6721
6721
|
let e, i, n, o, s;
|
|
6722
6722
|
return i = new f_({
|
|
@@ -6732,8 +6732,8 @@ function Bl(t) {
|
|
|
6732
6732
|
}
|
|
6733
6733
|
}), {
|
|
6734
6734
|
c() {
|
|
6735
|
-
e = b("button"), ue(i.$$.fragment), Is(e, "type", "button"), Is(e, "class", "download-button svelte-1r5l0am"),
|
|
6736
|
-
t[0] + "px"),
|
|
6735
|
+
e = b("button"), ue(i.$$.fragment), Is(e, "type", "button"), Is(e, "class", "download-button svelte-1r5l0am"), jo(e, "outline-offset", 4.8 * /*scale*/
|
|
6736
|
+
t[0] + "px"), jo(
|
|
6737
6737
|
e,
|
|
6738
6738
|
"padding",
|
|
6739
6739
|
/*padding*/
|
|
@@ -6758,9 +6758,9 @@ function Bl(t) {
|
|
|
6758
6758
|
l[0]), r & /*color*/
|
|
6759
6759
|
2 && (a.color = /*color*/
|
|
6760
6760
|
l[1]), i.$set(a), (!n || r & /*scale*/
|
|
6761
|
-
1) &&
|
|
6761
|
+
1) && jo(e, "outline-offset", 4.8 * /*scale*/
|
|
6762
6762
|
l[0] + "px"), (!n || r & /*padding*/
|
|
6763
|
-
4) &&
|
|
6763
|
+
4) && jo(
|
|
6764
6764
|
e,
|
|
6765
6765
|
"padding",
|
|
6766
6766
|
/*padding*/
|
|
@@ -6813,14 +6813,14 @@ function m_(t) {
|
|
|
6813
6813
|
function v_(t, e, i) {
|
|
6814
6814
|
let { downloadFormats: n } = e, { contentIndex: o } = e, { audio: s } = e, { video: l } = e, { scale: r = 1 } = e, { color: a = "#323232" } = e, { padding: u = 0 } = e, { isVisible: d } = e, { onEvent: g = () => {
|
|
6815
6815
|
} } = e;
|
|
6816
|
-
const m = (y, C,
|
|
6816
|
+
const m = (y, C, O) => {
|
|
6817
6817
|
var z, W;
|
|
6818
|
-
for (const
|
|
6818
|
+
for (const j of y) {
|
|
6819
6819
|
for (const [L, N] of (C || []).entries())
|
|
6820
|
-
if ((z = N.url) != null && z.endsWith(`.${
|
|
6820
|
+
if ((z = N.url) != null && z.endsWith(`.${j}`))
|
|
6821
6821
|
return [L, -1];
|
|
6822
|
-
for (const [L, N] of (
|
|
6823
|
-
if ((W = N.url) != null && W.endsWith(`.${
|
|
6822
|
+
for (const [L, N] of (O || []).entries())
|
|
6823
|
+
if ((W = N.url) != null && W.endsWith(`.${j}`))
|
|
6824
6824
|
return [-1, L];
|
|
6825
6825
|
}
|
|
6826
6826
|
return [-1, -1];
|
|
@@ -7117,7 +7117,7 @@ function W_(t, e, i) {
|
|
|
7117
7117
|
"scale" in s && i(0, n = s.scale), "color" in s && i(1, o = s.color);
|
|
7118
7118
|
}, [n, o];
|
|
7119
7119
|
}
|
|
7120
|
-
class
|
|
7120
|
+
class j_ extends pe {
|
|
7121
7121
|
constructor(e) {
|
|
7122
7122
|
super(), ke(this, e, W_, V_, be, { scale: 0, color: 1 });
|
|
7123
7123
|
}
|
|
@@ -7134,10 +7134,10 @@ class O_ extends pe {
|
|
|
7134
7134
|
this.$$set({ color: e }), c();
|
|
7135
7135
|
}
|
|
7136
7136
|
}
|
|
7137
|
-
const
|
|
7137
|
+
const Oo = (t, e, i) => Ut(t, e, i, 1), Ws = (t, e, i) => Pe(t, e, e === "style" ? M_(i) : i), O_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, M_ = (t) => t.split(O_).filter((e) => e).map((e) => e + " !important").join(";");
|
|
7138
7138
|
function E_(t) {
|
|
7139
7139
|
let e, i, n, o, s;
|
|
7140
|
-
return i = new
|
|
7140
|
+
return i = new j_({
|
|
7141
7141
|
props: {
|
|
7142
7142
|
scale: (
|
|
7143
7143
|
/*scale*/
|
|
@@ -7150,12 +7150,12 @@ function E_(t) {
|
|
|
7150
7150
|
}
|
|
7151
7151
|
}), {
|
|
7152
7152
|
c() {
|
|
7153
|
-
e = b("button"), ue(i.$$.fragment), Ws(e, "type", "button"), Ws(e, "class", "close-widget-button svelte-1bnl89m"),
|
|
7153
|
+
e = b("button"), ue(i.$$.fragment), Ws(e, "type", "button"), Ws(e, "class", "close-widget-button svelte-1bnl89m"), Oo(
|
|
7154
7154
|
e,
|
|
7155
7155
|
"margin",
|
|
7156
7156
|
/*margin*/
|
|
7157
7157
|
t[2]
|
|
7158
|
-
),
|
|
7158
|
+
), Oo(e, "outline-offset", 4.8 * /*scale*/
|
|
7159
7159
|
t[0] + "px"), Ws(e, "aria-label", It("closeWidget"));
|
|
7160
7160
|
},
|
|
7161
7161
|
m(l, r) {
|
|
@@ -7176,13 +7176,13 @@ function E_(t) {
|
|
|
7176
7176
|
l[0]), r & /*color*/
|
|
7177
7177
|
2 && (a.color = /*color*/
|
|
7178
7178
|
l[1]), i.$set(a), (!n || r & /*margin*/
|
|
7179
|
-
4) &&
|
|
7179
|
+
4) && Oo(
|
|
7180
7180
|
e,
|
|
7181
7181
|
"margin",
|
|
7182
7182
|
/*margin*/
|
|
7183
7183
|
l[2]
|
|
7184
7184
|
), (!n || r & /*scale*/
|
|
7185
|
-
1) &&
|
|
7185
|
+
1) && Oo(e, "outline-offset", 4.8 * /*scale*/
|
|
7186
7186
|
l[0] + "px");
|
|
7187
7187
|
},
|
|
7188
7188
|
i(l) {
|
|
@@ -7490,35 +7490,35 @@ class Z_ extends pe {
|
|
|
7490
7490
|
this.$$set({ onEvent: e }), c();
|
|
7491
7491
|
}
|
|
7492
7492
|
}
|
|
7493
|
-
const
|
|
7493
|
+
const Ot = (t, e, i) => Pe(t, e, e === "style" ? K_(i) : i), G_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, K_ = (t) => t.split(G_).filter((e) => e).map((e) => e + " !important").join(";");
|
|
7494
7494
|
function J_(t) {
|
|
7495
7495
|
let e, i, n, o;
|
|
7496
7496
|
return {
|
|
7497
7497
|
c() {
|
|
7498
|
-
e = ye("svg"), i = ye("path"),
|
|
7498
|
+
e = ye("svg"), i = ye("path"), Ot(
|
|
7499
7499
|
i,
|
|
7500
7500
|
"fill",
|
|
7501
7501
|
/*color*/
|
|
7502
7502
|
t[1]
|
|
7503
|
-
),
|
|
7504
|
-
t[0]),
|
|
7505
|
-
t[0]),
|
|
7503
|
+
), Ot(i, "d", "M30 32H6C4.9 32 4 31.1 4 30V6C4 4.9 4.9 4 6 4H16C17.1 4 18 3.1 18 2C18 0.9 17.1 0 16 0H4C1.78 0 0 1.8 0 4V32C0 34.2 1.8 36 4 36H32C34.2 36 36 34.2 36 32V20C36 18.9 35.1 18 34 18C32.9 18 32 18.9 32 20V30C32 31.1 31.1 32 30 32ZM22 2C22 3.1 22.9 4 24 4H29.18L10.92 22.26C10.14 23.04 10.14 24.3 10.92 25.08C11.7 25.86 12.96 25.86 13.74 25.08L32 6.82V12C32 13.1 32.9 14 34 14C35.1 14 36 13.1 36 12V2C36 0.9 35.1 0 34 0H24C22.9 0 22 0.9 22 2Z"), Ot(e, "width", n = 14 * /*scale*/
|
|
7504
|
+
t[0]), Ot(e, "height", o = 14 * /*scale*/
|
|
7505
|
+
t[0]), Ot(e, "viewBox", "0 0 36 36"), Ot(e, "fill", "none"), Ot(e, "xmlns", "http://www.w3.org/2000/svg");
|
|
7506
7506
|
},
|
|
7507
7507
|
m(s, l) {
|
|
7508
7508
|
B(s, e, l), f(e, i);
|
|
7509
7509
|
},
|
|
7510
7510
|
p(s, l) {
|
|
7511
7511
|
l & /*color*/
|
|
7512
|
-
2 &&
|
|
7512
|
+
2 && Ot(
|
|
7513
7513
|
i,
|
|
7514
7514
|
"fill",
|
|
7515
7515
|
/*color*/
|
|
7516
7516
|
s[1]
|
|
7517
7517
|
), l & /*scale*/
|
|
7518
7518
|
1 && n !== (n = 14 * /*scale*/
|
|
7519
|
-
s[0]) &&
|
|
7519
|
+
s[0]) && Ot(e, "width", n), l & /*scale*/
|
|
7520
7520
|
1 && o !== (o = 14 * /*scale*/
|
|
7521
|
-
s[0]) &&
|
|
7521
|
+
s[0]) && Ot(e, "height", o);
|
|
7522
7522
|
},
|
|
7523
7523
|
d(s) {
|
|
7524
7524
|
s && A(e);
|
|
@@ -7529,30 +7529,30 @@ function X_(t) {
|
|
|
7529
7529
|
let e, i, n, o;
|
|
7530
7530
|
return {
|
|
7531
7531
|
c() {
|
|
7532
|
-
e = ye("svg"), i = ye("path"),
|
|
7532
|
+
e = ye("svg"), i = ye("path"), Ot(
|
|
7533
7533
|
i,
|
|
7534
7534
|
"fill",
|
|
7535
7535
|
/*color*/
|
|
7536
7536
|
t[1]
|
|
7537
|
-
),
|
|
7538
|
-
t[0]),
|
|
7539
|
-
t[0]),
|
|
7537
|
+
), Ot(i, "d", "M20 0C8.96 0 0 8.96 0 20C0 31.04 8.96 40 20 40C31.04 40 40 31.04 40 20C40 8.96 31.04 0 20 0ZM23.76 19.08L15.26 27.58C14.48 28.36 13.22 28.36 12.44 27.58C11.66 26.8 11.66 25.54 12.44 24.76L20.94 16.26L18.4 13.72C17.76 13.08 18.22 12 19.1 12H26.98C27.54 12 27.98 12.44 27.98 13V20.88C27.98 21.78 26.9 22.22 26.28 21.58L23.76 19.08Z"), Ot(e, "width", n = 40 * /*scale*/
|
|
7538
|
+
t[0]), Ot(e, "height", o = 40 * /*scale*/
|
|
7539
|
+
t[0]), Ot(e, "viewBox", "0 0 40 40"), Ot(e, "fill", "none"), Ot(e, "xmlns", "http://www.w3.org/2000/svg");
|
|
7540
7540
|
},
|
|
7541
7541
|
m(s, l) {
|
|
7542
7542
|
B(s, e, l), f(e, i);
|
|
7543
7543
|
},
|
|
7544
7544
|
p(s, l) {
|
|
7545
7545
|
l & /*color*/
|
|
7546
|
-
2 &&
|
|
7546
|
+
2 && Ot(
|
|
7547
7547
|
i,
|
|
7548
7548
|
"fill",
|
|
7549
7549
|
/*color*/
|
|
7550
7550
|
s[1]
|
|
7551
7551
|
), l & /*scale*/
|
|
7552
7552
|
1 && n !== (n = 40 * /*scale*/
|
|
7553
|
-
s[0]) &&
|
|
7553
|
+
s[0]) && Ot(e, "width", n), l & /*scale*/
|
|
7554
7554
|
1 && o !== (o = 40 * /*scale*/
|
|
7555
|
-
s[0]) &&
|
|
7555
|
+
s[0]) && Ot(e, "height", o);
|
|
7556
7556
|
},
|
|
7557
7557
|
d(s) {
|
|
7558
7558
|
s && A(e);
|
|
@@ -7614,7 +7614,7 @@ class Hr extends pe {
|
|
|
7614
7614
|
this.$$set({ circular: e }), c();
|
|
7615
7615
|
}
|
|
7616
7616
|
}
|
|
7617
|
-
const Vl = (t, e, i) => Ut(t, e, i, 1),
|
|
7617
|
+
const Vl = (t, e, i) => Ut(t, e, i, 1), jn = (t, e, i) => Pe(t, e, e === "style" ? t0(i) : i), e0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, t0 = (t) => t.split(e0).filter((e) => e).map((e) => e + " !important").join(";");
|
|
7618
7618
|
function i0(t) {
|
|
7619
7619
|
let e;
|
|
7620
7620
|
return {
|
|
@@ -7647,15 +7647,15 @@ function n0(t) {
|
|
|
7647
7647
|
}
|
|
7648
7648
|
}), {
|
|
7649
7649
|
c() {
|
|
7650
|
-
e = b("a"), ue(i.$$.fragment),
|
|
7650
|
+
e = b("a"), ue(i.$$.fragment), jn(e, "class", n = "advert-button " + /*playerStyle*/
|
|
7651
7651
|
t[2] + " " + /*controlsOrder*/
|
|
7652
|
-
t[3] + " svelte-17nxso5"),
|
|
7652
|
+
t[3] + " svelte-17nxso5"), jn(
|
|
7653
7653
|
e,
|
|
7654
7654
|
"href",
|
|
7655
7655
|
/*hrefWithProtocol*/
|
|
7656
7656
|
t[4]
|
|
7657
|
-
),
|
|
7658
|
-
t[0] + "px"),
|
|
7657
|
+
), jn(e, "target", "_blank"), Vl(e, "outline-offset", 3.2 * /*scale*/
|
|
7658
|
+
t[0] + "px"), jn(e, "aria-label", It("visitAdvert"));
|
|
7659
7659
|
},
|
|
7660
7660
|
m(r, a) {
|
|
7661
7661
|
B(r, e, a), re(i, e, null), o = !0, s || (l = [
|
|
@@ -7677,8 +7677,8 @@ function n0(t) {
|
|
|
7677
7677
|
r[0]), i.$set(u), (!o || a & /*playerStyle, controlsOrder*/
|
|
7678
7678
|
12 && n !== (n = "advert-button " + /*playerStyle*/
|
|
7679
7679
|
r[2] + " " + /*controlsOrder*/
|
|
7680
|
-
r[3] + " svelte-17nxso5")) &&
|
|
7681
|
-
16) &&
|
|
7680
|
+
r[3] + " svelte-17nxso5")) && jn(e, "class", n), (!o || a & /*hrefWithProtocol*/
|
|
7681
|
+
16) && jn(
|
|
7682
7682
|
e,
|
|
7683
7683
|
"href",
|
|
7684
7684
|
/*hrefWithProtocol*/
|
|
@@ -8357,8 +8357,8 @@ class Zr extends pe {
|
|
|
8357
8357
|
this.$$set({ color: e }), c();
|
|
8358
8358
|
}
|
|
8359
8359
|
}
|
|
8360
|
-
const
|
|
8361
|
-
function
|
|
8360
|
+
const js = (t, e, i) => Pe(t, e, e === "style" ? W0(i) : i), V0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, W0 = (t) => t.split(V0).filter((e) => e).map((e) => e + " !important").join(";");
|
|
8361
|
+
function j0(t) {
|
|
8362
8362
|
var n;
|
|
8363
8363
|
let e, i = (
|
|
8364
8364
|
/*title*/
|
|
@@ -8366,7 +8366,7 @@ function O0(t) {
|
|
|
8366
8366
|
);
|
|
8367
8367
|
return {
|
|
8368
8368
|
c() {
|
|
8369
|
-
e = b("div"),
|
|
8369
|
+
e = b("div"), js(e, "class", "content-title svelte-mtaayt"), js(
|
|
8370
8370
|
e,
|
|
8371
8371
|
"style",
|
|
8372
8372
|
/*style*/
|
|
@@ -8401,7 +8401,7 @@ function O0(t) {
|
|
|
8401
8401
|
s & /*title*/
|
|
8402
8402
|
1 && i !== (i = /*title*/
|
|
8403
8403
|
(((l = o[0]) == null ? void 0 : l.replaceAll(/<[^>]+>/gi, "")) || "") + "") && (e.innerHTML = i), s & /*style*/
|
|
8404
|
-
16 &&
|
|
8404
|
+
16 && js(
|
|
8405
8405
|
e,
|
|
8406
8406
|
"style",
|
|
8407
8407
|
/*style*/
|
|
@@ -8439,7 +8439,7 @@ function O0(t) {
|
|
|
8439
8439
|
}
|
|
8440
8440
|
};
|
|
8441
8441
|
}
|
|
8442
|
-
function
|
|
8442
|
+
function O0(t, e, i) {
|
|
8443
8443
|
let n, o, s, l, { title: r } = e, { maxLines: a = 1 } = e, { maxWidth: u = void 0 } = e, { center: d = !1 } = e, { bold: g = !1 } = e, { flex: m = "0 1 auto" } = e, { scale: _ = 1 } = e, { color: v = "#111" } = e;
|
|
8444
8444
|
return t.$$set = (k) => {
|
|
8445
8445
|
"title" in k && i(0, r = k.title), "maxLines" in k && i(1, a = k.maxLines), "maxWidth" in k && i(5, u = k.maxWidth), "center" in k && i(2, d = k.center), "bold" in k && i(3, g = k.bold), "flex" in k && i(6, m = k.flex), "scale" in k && i(7, _ = k.scale), "color" in k && i(8, v = k.color);
|
|
@@ -8466,7 +8466,7 @@ function j0(t, e, i) {
|
|
|
8466
8466
|
}
|
|
8467
8467
|
class nl extends pe {
|
|
8468
8468
|
constructor(e) {
|
|
8469
|
-
super(), ke(this, e,
|
|
8469
|
+
super(), ke(this, e, O0, j0, be, {
|
|
8470
8470
|
title: 0,
|
|
8471
8471
|
maxLines: 1,
|
|
8472
8472
|
maxWidth: 5,
|
|
@@ -8534,22 +8534,22 @@ const Go = (t, e) => (i) => {
|
|
|
8534
8534
|
initiatedBy: "user"
|
|
8535
8535
|
})));
|
|
8536
8536
|
};
|
|
8537
|
-
const
|
|
8537
|
+
const On = (t, e, i) => Ut(t, e, i, 1), Kn = (t, e, i) => Pe(t, e, e === "style" ? E0(i) : i), M0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, E0 = (t) => t.split(M0).filter((e) => e).map((e) => e + " !important").join(";");
|
|
8538
8538
|
function z0(t) {
|
|
8539
8539
|
let e, i, n, o, s, l;
|
|
8540
8540
|
return {
|
|
8541
8541
|
c() {
|
|
8542
|
-
e = b("button"), i = b("div"), n = Y(), o = b("div"), Kn(i, "class", "background svelte-1n2llcl"),
|
|
8542
|
+
e = b("button"), i = b("div"), n = Y(), o = b("div"), Kn(i, "class", "background svelte-1n2llcl"), On(
|
|
8543
8543
|
i,
|
|
8544
8544
|
"background",
|
|
8545
8545
|
/*color*/
|
|
8546
8546
|
t[3]
|
|
8547
|
-
), Kn(o, "class", "progress svelte-1n2llcl"),
|
|
8547
|
+
), Kn(o, "class", "progress svelte-1n2llcl"), On(
|
|
8548
8548
|
o,
|
|
8549
8549
|
"background",
|
|
8550
8550
|
/*color*/
|
|
8551
8551
|
t[3]
|
|
8552
|
-
),
|
|
8552
|
+
), On(
|
|
8553
8553
|
o,
|
|
8554
8554
|
"width",
|
|
8555
8555
|
/*progress*/
|
|
@@ -8601,19 +8601,19 @@ function z0(t) {
|
|
|
8601
8601
|
},
|
|
8602
8602
|
p(r, [a]) {
|
|
8603
8603
|
t = r, a & /*color*/
|
|
8604
|
-
8 &&
|
|
8604
|
+
8 && On(
|
|
8605
8605
|
i,
|
|
8606
8606
|
"background",
|
|
8607
8607
|
/*color*/
|
|
8608
8608
|
t[3]
|
|
8609
8609
|
), a & /*color*/
|
|
8610
|
-
8 &&
|
|
8610
|
+
8 && On(
|
|
8611
8611
|
o,
|
|
8612
8612
|
"background",
|
|
8613
8613
|
/*color*/
|
|
8614
8614
|
t[3]
|
|
8615
8615
|
), a & /*progress*/
|
|
8616
|
-
1 &&
|
|
8616
|
+
1 && On(
|
|
8617
8617
|
o,
|
|
8618
8618
|
"width",
|
|
8619
8619
|
/*progress*/
|
|
@@ -8675,14 +8675,14 @@ function L0(t, e, i) {
|
|
|
8675
8675
|
initiatedBy: "user"
|
|
8676
8676
|
})));
|
|
8677
8677
|
}, _ = (k) => {
|
|
8678
|
-
var W,
|
|
8679
|
-
const y = k.clientX || ((
|
|
8678
|
+
var W, j;
|
|
8679
|
+
const y = k.clientX || ((j = (W = k.touches) == null ? void 0 : W[0]) == null ? void 0 : j.clientX) || 0, { x: C, width: O } = a.getBoundingClientRect(), z = (y - C) / O;
|
|
8680
8680
|
return Math.max(0, Math.min(1, z));
|
|
8681
8681
|
};
|
|
8682
8682
|
_o(() => {
|
|
8683
|
-
const k = addEventListener("mouseup", m), y = addEventListener("mousemove", g), C = addEventListener("touchend", m),
|
|
8683
|
+
const k = addEventListener("mouseup", m), y = addEventListener("mousemove", g), C = addEventListener("touchend", m), O = addEventListener("touchmove", g);
|
|
8684
8684
|
return () => {
|
|
8685
|
-
removeEventListener("mouseup", k), removeEventListener("mousemove", y), removeEventListener("touchend", C), removeEventListener("touchmove",
|
|
8685
|
+
removeEventListener("mouseup", k), removeEventListener("mousemove", y), removeEventListener("touchend", C), removeEventListener("touchmove", O);
|
|
8686
8686
|
};
|
|
8687
8687
|
});
|
|
8688
8688
|
function v(k) {
|
|
@@ -9597,9 +9597,9 @@ function _m(t) {
|
|
|
9597
9597
|
};
|
|
9598
9598
|
}
|
|
9599
9599
|
function mm(t, e, i) {
|
|
9600
|
-
let n, o, s, l, r, { duration: a = 0 } = e, { currentTime: u = 0 } = e, { playerStyle: d } = e, { positionClasses: g } = e, { isMobile: m } = e, { isAdvert: _ } = e, { isStopped: v } = e, { collapsed: k } = e, { largeImage: y } = e, { showBeyondWords: C } = e, { color:
|
|
9600
|
+
let n, o, s, l, r, { duration: a = 0 } = e, { currentTime: u = 0 } = e, { playerStyle: d } = e, { positionClasses: g } = e, { isMobile: m } = e, { isAdvert: _ } = e, { isStopped: v } = e, { collapsed: k } = e, { largeImage: y } = e, { showBeyondWords: C } = e, { color: O = "323232" } = e;
|
|
9601
9601
|
return t.$$set = (z) => {
|
|
9602
|
-
"duration" in z && i(0, a = z.duration), "currentTime" in z && i(1, u = z.currentTime), "playerStyle" in z && i(2, d = z.playerStyle), "positionClasses" in z && i(3, g = z.positionClasses), "isMobile" in z && i(4, m = z.isMobile), "isAdvert" in z && i(5, _ = z.isAdvert), "isStopped" in z && i(6, v = z.isStopped), "collapsed" in z && i(14, k = z.collapsed), "largeImage" in z && i(7, y = z.largeImage), "showBeyondWords" in z && i(8, C = z.showBeyondWords), "color" in z && i(9,
|
|
9602
|
+
"duration" in z && i(0, a = z.duration), "currentTime" in z && i(1, u = z.currentTime), "playerStyle" in z && i(2, d = z.playerStyle), "positionClasses" in z && i(3, g = z.positionClasses), "isMobile" in z && i(4, m = z.isMobile), "isAdvert" in z && i(5, _ = z.isAdvert), "isStopped" in z && i(6, v = z.isStopped), "collapsed" in z && i(14, k = z.collapsed), "largeImage" in z && i(7, y = z.largeImage), "showBeyondWords" in z && i(8, C = z.showBeyondWords), "color" in z && i(9, O = z.color);
|
|
9603
9603
|
}, t.$$.update = () => {
|
|
9604
9604
|
t.$$.dirty & /*duration, currentTime*/
|
|
9605
9605
|
3 && i(13, n = Math.max(0, a - u)), t.$$.dirty & /*playerStyle*/
|
|
@@ -9617,7 +9617,7 @@ function mm(t, e, i) {
|
|
|
9617
9617
|
v,
|
|
9618
9618
|
y,
|
|
9619
9619
|
C,
|
|
9620
|
-
|
|
9620
|
+
O,
|
|
9621
9621
|
r,
|
|
9622
9622
|
l,
|
|
9623
9623
|
s,
|
|
@@ -9796,7 +9796,7 @@ class Kr extends pe {
|
|
|
9796
9796
|
}
|
|
9797
9797
|
}
|
|
9798
9798
|
const gn = (t, e, i) => Ut(t, e, i, 1), hi = (t, e, i) => Pe(t, e, e === "style" ? wm(i) : i), Sm = /;(?!([^()]*\([^()]*\))*[^()]*\))/, wm = (t) => t.split(Sm).filter((e) => e).map((e) => e + " !important").join(";");
|
|
9799
|
-
function
|
|
9799
|
+
function jl(t, e, i) {
|
|
9800
9800
|
const n = t.slice();
|
|
9801
9801
|
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;
|
|
9802
9802
|
}
|
|
@@ -9872,9 +9872,9 @@ function Tm(t) {
|
|
|
9872
9872
|
}
|
|
9873
9873
|
};
|
|
9874
9874
|
}
|
|
9875
|
-
function
|
|
9876
|
-
let e, i, n, o, s, l, r, a, u, d, g, m, _, v, k, y, C,
|
|
9877
|
-
const W = [Tm, Pm],
|
|
9875
|
+
function Ol(t) {
|
|
9876
|
+
let e, i, n, o, s, l, r, a, u, d, g, m, _, v, k, y, C, O, z;
|
|
9877
|
+
const W = [Tm, Pm], j = [];
|
|
9878
9878
|
function L(U, X) {
|
|
9879
9879
|
return (
|
|
9880
9880
|
/*i*/
|
|
@@ -9882,7 +9882,7 @@ function jl(t) {
|
|
|
9882
9882
|
U[6] ? 0 : 1
|
|
9883
9883
|
);
|
|
9884
9884
|
}
|
|
9885
|
-
n = L(t), o =
|
|
9885
|
+
n = L(t), o = j[n] = W[n](t), r = new nl({
|
|
9886
9886
|
props: {
|
|
9887
9887
|
title: (
|
|
9888
9888
|
/*title*/
|
|
@@ -9980,7 +9980,7 @@ function jl(t) {
|
|
|
9980
9980
|
), hi(_, "class", "download svelte-1hl1xir"), hi(e, "class", "row svelte-1hl1xir");
|
|
9981
9981
|
},
|
|
9982
9982
|
m(U, X) {
|
|
9983
|
-
B(U, e, X), f(e, i),
|
|
9983
|
+
B(U, e, X), f(e, i), j[n].m(i, null), f(i, s), f(i, l), re(r, l, null), f(i, a), f(i, u), re(d, u, null), f(e, m), f(e, _), re(v, _, null), f(e, y), C = !0, O || (z = [
|
|
9984
9984
|
R(
|
|
9985
9985
|
i,
|
|
9986
9986
|
"click",
|
|
@@ -10003,14 +10003,14 @@ function jl(t) {
|
|
|
10003
10003
|
t[15]
|
|
10004
10004
|
),
|
|
10005
10005
|
R(i, "mouseup", ni)
|
|
10006
|
-
],
|
|
10006
|
+
], O = !0);
|
|
10007
10007
|
},
|
|
10008
10008
|
p(U, X) {
|
|
10009
10009
|
t = U;
|
|
10010
10010
|
let Te = n;
|
|
10011
|
-
n = L(t), n === Te ?
|
|
10012
|
-
|
|
10013
|
-
}), De(), o =
|
|
10011
|
+
n = L(t), n === Te ? j[n].p(t, X) : (Ne(), I(j[Te], 1, 1, () => {
|
|
10012
|
+
j[Te] = null;
|
|
10013
|
+
}), De(), o = j[n], o ? o.p(t, X) : (o = j[n] = W[n](t), o.c()), p(o, 1), o.m(i, s));
|
|
10014
10014
|
const me = {};
|
|
10015
10015
|
X & /*content*/
|
|
10016
10016
|
32 && (me.title = /*title*/
|
|
@@ -10074,7 +10074,7 @@ function jl(t) {
|
|
|
10074
10074
|
I(o), I(r.$$.fragment, U), I(d.$$.fragment, U), I(v.$$.fragment, U), C = !1;
|
|
10075
10075
|
},
|
|
10076
10076
|
d(U) {
|
|
10077
|
-
U && A(e),
|
|
10077
|
+
U && A(e), j[n].d(), ae(r), ae(d), ae(v), O = !1, ot(z);
|
|
10078
10078
|
}
|
|
10079
10079
|
}
|
|
10080
10080
|
);
|
|
@@ -10085,7 +10085,7 @@ function Cm(t) {
|
|
|
10085
10085
|
t[5]
|
|
10086
10086
|
), s = [];
|
|
10087
10087
|
for (let r = 0; r < o.length; r += 1)
|
|
10088
|
-
s[r] = jl(
|
|
10088
|
+
s[r] = Ol(jl(t, o, r));
|
|
10089
10089
|
const l = (r) => I(s[r], 1, 1, () => {
|
|
10090
10090
|
s[r] = null;
|
|
10091
10091
|
});
|
|
@@ -10136,8 +10136,8 @@ function Cm(t) {
|
|
|
10136
10136
|
);
|
|
10137
10137
|
let u;
|
|
10138
10138
|
for (u = 0; u < o.length; u += 1) {
|
|
10139
|
-
const d =
|
|
10140
|
-
s[u] ? (s[u].p(d, a), p(s[u], 1)) : (s[u] =
|
|
10139
|
+
const d = jl(r, o, u);
|
|
10140
|
+
s[u] ? (s[u].p(d, a), p(s[u], 1)) : (s[u] = Ol(d), s[u].c(), p(s[u], 1), s[u].m(i, null));
|
|
10141
10141
|
}
|
|
10142
10142
|
for (Ne(), u = o.length; u < s.length; u += 1)
|
|
10143
10143
|
l(u);
|
|
@@ -10195,7 +10195,7 @@ function Cm(t) {
|
|
|
10195
10195
|
}
|
|
10196
10196
|
function Am(t, e, i) {
|
|
10197
10197
|
let n, o, s, l, { style: r = "auto" } = e, { downloadFormats: a = [] } = e, { larger: u = !1 } = e, { textColor: d = "#111" } = e, { backgroundColor: g = "#f5f5f5" } = e, { iconColor: m = "#000" } = e, { content: _ = [] } = e, { index: v = 0 } = e, { isMobile: k } = e, { onEvent: y } = e, C;
|
|
10198
|
-
const
|
|
10198
|
+
const O = (L) => () => {
|
|
10199
10199
|
y(_e({
|
|
10200
10200
|
type: "PressedPlaylistItem",
|
|
10201
10201
|
description: "A playlist item was pressed.",
|
|
@@ -10217,7 +10217,7 @@ function Am(t, e, i) {
|
|
|
10217
10217
|
const N = L.target.parentNode, K = Math.round(N.scrollTop / 10) * 10;
|
|
10218
10218
|
N.scrollTop = K;
|
|
10219
10219
|
};
|
|
10220
|
-
function
|
|
10220
|
+
function j(L) {
|
|
10221
10221
|
C = L, i(9, C);
|
|
10222
10222
|
}
|
|
10223
10223
|
return t.$$set = (L) => {
|
|
@@ -10242,12 +10242,12 @@ function Am(t, e, i) {
|
|
|
10242
10242
|
l,
|
|
10243
10243
|
s,
|
|
10244
10244
|
o,
|
|
10245
|
-
|
|
10245
|
+
O,
|
|
10246
10246
|
z,
|
|
10247
10247
|
W,
|
|
10248
10248
|
r,
|
|
10249
10249
|
n,
|
|
10250
|
-
|
|
10250
|
+
j
|
|
10251
10251
|
];
|
|
10252
10252
|
}
|
|
10253
10253
|
class Bm extends pe {
|
|
@@ -10400,7 +10400,7 @@ function Wm(t) {
|
|
|
10400
10400
|
}
|
|
10401
10401
|
};
|
|
10402
10402
|
}
|
|
10403
|
-
function
|
|
10403
|
+
function jm(t, e, i) {
|
|
10404
10404
|
let { $$slots: n = {}, $$scope: o } = e, { exitDelay: s = 0 } = e, { idleDelay: l = 1 / 0 } = e, { isHovering: r = !1 } = e, a = !0, u = !0, d, g;
|
|
10405
10405
|
const m = () => {
|
|
10406
10406
|
d && clearTimeout(d), g && clearTimeout(g), i(6, a = !1), i(7, u = !1);
|
|
@@ -10429,9 +10429,9 @@ function Om(t, e, i) {
|
|
|
10429
10429
|
n
|
|
10430
10430
|
];
|
|
10431
10431
|
}
|
|
10432
|
-
class
|
|
10432
|
+
class Om extends pe {
|
|
10433
10433
|
constructor(e) {
|
|
10434
|
-
super(), ke(this, e,
|
|
10434
|
+
super(), ke(this, e, jm, Wm, be, {
|
|
10435
10435
|
exitDelay: 5,
|
|
10436
10436
|
idleDelay: 0,
|
|
10437
10437
|
isHovering: 4
|
|
@@ -11944,7 +11944,7 @@ function $m(t) {
|
|
|
11944
11944
|
};
|
|
11945
11945
|
}
|
|
11946
11946
|
function e2(t) {
|
|
11947
|
-
let e, i, n, o, s, l, r, a, u, d, g, m, _, v, k, y, C,
|
|
11947
|
+
let e, i, n, o, s, l, r, a, u, d, g, m, _, v, k, y, C, O, z, W, j, L, N = (
|
|
11948
11948
|
/*isVideo*/
|
|
11949
11949
|
t[21] && /*videoPosterImage*/
|
|
11950
11950
|
(t[17] || !/*videoIsBehind*/
|
|
@@ -12076,13 +12076,13 @@ function e2(t) {
|
|
|
12076
12076
|
);
|
|
12077
12077
|
return {
|
|
12078
12078
|
c() {
|
|
12079
|
-
N && N.c(), e = Y(), i = b("div"), K && K.c(), n = Y(), U && U.c(), o = Y(), s = b("div"), ue(l.$$.fragment), d = Y(), ne && ne.c(), g = Y(), ee && ee.c(), m = Y(), F && F.c(), _ = Y(), ue(v.$$.fragment), k = Y(), oe && oe.c(), y = Y(), ge && ge.c(), C = Y(), Z && Z.c(),
|
|
12079
|
+
N && N.c(), e = Y(), i = b("div"), K && K.c(), n = Y(), U && U.c(), o = Y(), s = b("div"), ue(l.$$.fragment), d = Y(), ne && ne.c(), g = Y(), ee && ee.c(), m = Y(), F && F.c(), _ = Y(), ue(v.$$.fragment), k = Y(), oe && oe.c(), y = Y(), ge && ge.c(), C = Y(), Z && Z.c(), O = Y(), le && le.c(), Ci(s, "class", "controls svelte-1yovsbu"), Ci(i, "class", "main svelte-1yovsbu"), Ci(i, "role", "none"), Ci(i, "style", z = /*isVideo*/
|
|
12080
12080
|
t[21] ? "" : `background: ${/*activeBgColor*/
|
|
12081
12081
|
t[55]}`), Q(i, "no-image", !/*largeImage*/
|
|
12082
12082
|
t[46]);
|
|
12083
12083
|
},
|
|
12084
12084
|
m(w, q) {
|
|
12085
|
-
N && N.m(w, q), B(w, e, q), B(w, i, q), K && K.m(i, null), f(i, n), U && U.m(i, null), f(i, o), f(i, s), re(l, s, null), f(s, d), ne && ne.m(s, null), f(s, g), ee && ee.m(s, null), f(s, m), F && F.m(s, null), f(s, _), re(v, s, null), f(s, k), oe && oe.m(s, null), f(s, y), ge && ge.m(s, null), f(s, C), Z && Z.m(s, null), f(i,
|
|
12085
|
+
N && N.m(w, q), B(w, e, q), B(w, i, q), K && K.m(i, null), f(i, n), U && U.m(i, null), f(i, o), f(i, s), re(l, s, null), f(s, d), ne && ne.m(s, null), f(s, g), ee && ee.m(s, null), f(s, m), F && F.m(s, null), f(s, _), re(v, s, null), f(s, k), oe && oe.m(s, null), f(s, y), ge && ge.m(s, null), f(s, C), Z && Z.m(s, null), f(i, O), le && le.m(i, null), W = !0, j || (L = [
|
|
12086
12086
|
R(
|
|
12087
12087
|
i,
|
|
12088
12088
|
"mousedown",
|
|
@@ -12090,7 +12090,7 @@ function e2(t) {
|
|
|
12090
12090
|
t[61]
|
|
12091
12091
|
),
|
|
12092
12092
|
R(i, "keyup", null)
|
|
12093
|
-
],
|
|
12093
|
+
], j = !0);
|
|
12094
12094
|
},
|
|
12095
12095
|
p(w, q) {
|
|
12096
12096
|
/*isVideo*/
|
|
@@ -12218,7 +12218,7 @@ function e2(t) {
|
|
|
12218
12218
|
I(N), I(K), I(U), I(l.$$.fragment, w), I(ne), I(ee), I(F), I(v.$$.fragment, w), I(oe), I(ge), I(Z), I(le), W = !1;
|
|
12219
12219
|
},
|
|
12220
12220
|
d(w) {
|
|
12221
|
-
w && (A(e), A(i)), N && N.d(w), K && K.d(), U && U.d(), ae(l), ne && ne.d(), ee && ee.d(), F && F.d(), ae(v), oe && oe.d(), ge && ge.d(), Z && Z.d(), le && le.d(),
|
|
12221
|
+
w && (A(e), A(i)), N && N.d(w), K && K.d(), U && U.d(), ae(l), ne && ne.d(), ee && ee.d(), F && F.d(), ae(v), oe && oe.d(), ge && ge.d(), Z && Z.d(), le && le.d(), j = !1, ot(L);
|
|
12222
12222
|
}
|
|
12223
12223
|
};
|
|
12224
12224
|
}
|
|
@@ -12331,7 +12331,7 @@ function t2(t) {
|
|
|
12331
12331
|
};
|
|
12332
12332
|
/*isHovering*/
|
|
12333
12333
|
t[20] !== void 0 && (g.isHovering = /*isHovering*/
|
|
12334
|
-
t[20]), i = new
|
|
12334
|
+
t[20]), i = new Om({ props: g }), te.push(() => he(i, "isHovering", d));
|
|
12335
12335
|
let m = (
|
|
12336
12336
|
/*showPlaylist*/
|
|
12337
12337
|
t[41] && Jl(t)
|
|
@@ -12466,9 +12466,9 @@ function t2(t) {
|
|
|
12466
12466
|
};
|
|
12467
12467
|
}
|
|
12468
12468
|
function i2(t, e, i) {
|
|
12469
|
-
let n, o, s, l, r, a, u, d, g, m, _, v, k, y, C,
|
|
12469
|
+
let n, o, s, l, r, a, u, d, g, m, _, v, k, y, C, O, z, W, j, L, N, K, U, X, Te, me, ve, ne, ee, F, oe, ge, Z, le, w, q, we, Se, Ie, J;
|
|
12470
12470
|
import("./././././././././style.js");
|
|
12471
|
-
let { playerStyle: Ce = "standard" } = e, { callToAction: Ae = void 0 } = e, { skipButtonStyle: Re = "auto" } = e, { playlistStyle: Fe = "auto-5-4" } = e, { playlistToggle: et = "auto" } = e, { downloadFormats: ft = [] } = e, { playerTitle: yt = void 0 } = e, { fixedPosition: We = void 0 } = e, { fixedWidth:
|
|
12471
|
+
let { playerStyle: Ce = "standard" } = e, { callToAction: Ae = void 0 } = e, { skipButtonStyle: Re = "auto" } = e, { playlistStyle: Fe = "auto-5-4" } = e, { playlistToggle: et = "auto" } = e, { downloadFormats: ft = [] } = e, { playerTitle: yt = void 0 } = e, { fixedPosition: We = void 0 } = e, { fixedWidth: je = "auto" } = e, { content: Je = [] } = e, { contentIndex: He = 0 } = e, { duration: St = 0 } = e, { currentTime: Ge = 0 } = e, { playbackState: Xe = "stopped" } = e, { playbackRate: Qe = 1 } = e, { activeAdvert: ze = void 0 } = e, { persistentAdvert: $e = void 0 } = e, { textColor: Ye = "#111" } = e, { backgroundColor: gt = "#f5f5f5" } = e, { iconColor: xe = "black" } = e, { videoTextColor: st = "white" } = e, { videoBackgroundColor: tt = "black" } = e, { videoIconColor: wt = "white" } = e, { logoIconEnabled: Ue = !0 } = e, { logoImagePosition: bt = void 0 } = e, { onEvent: ct = () => {
|
|
12472
12472
|
} } = e, { videoPosterImage: x = "" } = e, { videoIsBehind: Me = !1 } = e, { isFullScreen: Le = !1 } = e, { isVisible: Ke = void 0 } = e, { relativeY: Ze = void 0 } = e, { absoluteY: ht = void 0 } = e, lt, Pt, kt, qe;
|
|
12473
12473
|
const rt = () => {
|
|
12474
12474
|
qe && clearTimeout(qe), i(38, qe = setTimeout(() => i(38, qe = null), 500));
|
|
@@ -12503,7 +12503,7 @@ function i2(t, e, i) {
|
|
|
12503
12503
|
});
|
|
12504
12504
|
}
|
|
12505
12505
|
return t.$$set = (D) => {
|
|
12506
|
-
"playerStyle" in D && i(3, Ce = D.playerStyle), "callToAction" in D && i(4, Ae = D.callToAction), "skipButtonStyle" in D && i(62, Re = D.skipButtonStyle), "playlistStyle" in D && i(5, Fe = D.playlistStyle), "playlistToggle" in D && i(63, et = D.playlistToggle), "downloadFormats" in D && i(6, ft = D.downloadFormats), "playerTitle" in D && i(7, yt = D.playerTitle), "fixedPosition" in D && i(8, We = D.fixedPosition), "fixedWidth" in D && i(64,
|
|
12506
|
+
"playerStyle" in D && i(3, Ce = D.playerStyle), "callToAction" in D && i(4, Ae = D.callToAction), "skipButtonStyle" in D && i(62, Re = D.skipButtonStyle), "playlistStyle" in D && i(5, Fe = D.playlistStyle), "playlistToggle" in D && i(63, et = D.playlistToggle), "downloadFormats" in D && i(6, ft = D.downloadFormats), "playerTitle" in D && i(7, yt = D.playerTitle), "fixedPosition" in D && i(8, We = D.fixedPosition), "fixedWidth" in D && i(64, je = D.fixedWidth), "content" in D && i(9, Je = D.content), "contentIndex" in D && i(10, He = D.contentIndex), "duration" in D && i(11, St = D.duration), "currentTime" in D && i(12, Ge = D.currentTime), "playbackState" in D && i(65, Xe = D.playbackState), "playbackRate" in D && i(13, Qe = D.playbackRate), "activeAdvert" in D && i(14, ze = D.activeAdvert), "persistentAdvert" in D && i(66, $e = D.persistentAdvert), "textColor" in D && i(67, Ye = D.textColor), "backgroundColor" in D && i(68, gt = D.backgroundColor), "iconColor" in D && i(69, xe = D.iconColor), "videoTextColor" in D && i(70, st = D.videoTextColor), "videoBackgroundColor" in D && i(71, tt = D.videoBackgroundColor), "videoIconColor" in D && i(72, wt = D.videoIconColor), "logoIconEnabled" in D && i(73, Ue = D.logoIconEnabled), "logoImagePosition" in D && i(15, bt = D.logoImagePosition), "onEvent" in D && i(16, ct = D.onEvent), "videoPosterImage" in D && i(17, x = D.videoPosterImage), "videoIsBehind" in D && i(18, Me = D.videoIsBehind), "isFullScreen" in D && i(74, Le = D.isFullScreen), "isVisible" in D && i(0, Ke = D.isVisible), "relativeY" in D && i(1, Ze = D.relativeY), "absoluteY" in D && i(2, ht = D.absoluteY);
|
|
12507
12507
|
}, t.$$.update = () => {
|
|
12508
12508
|
t.$$.dirty[0] & /*playerStyle*/
|
|
12509
12509
|
8 && i(24, n = Ce === "small"), t.$$.dirty[0] & /*playerStyle*/
|
|
@@ -12526,14 +12526,14 @@ function i2(t, e, i) {
|
|
|
12526
12526
|
128 && i(34, C = d && ze.iconColor || xe), t.$$.dirty[0] & /*isVideo, isAdvert, activeAdvert*/
|
|
12527
12527
|
136331264 | t.$$.dirty[1] & /*nonVideoTextColor*/
|
|
12528
12528
|
32 | t.$$.dirty[2] & /*videoTextColor*/
|
|
12529
|
-
256 && i(56,
|
|
12529
|
+
256 && i(56, O = r ? d && ze.videoTextColor || st : k), t.$$.dirty[0] & /*isVideo, isAdvert, activeAdvert*/
|
|
12530
12530
|
136331264 | t.$$.dirty[1] & /*nonVideoBgColor*/
|
|
12531
12531
|
16 | t.$$.dirty[2] & /*videoBackgroundColor*/
|
|
12532
12532
|
512 && i(55, z = r ? d && ze.videoBackgroundColor || tt : y), t.$$.dirty[0] & /*isVideo, isAdvert, activeAdvert*/
|
|
12533
12533
|
136331264 | t.$$.dirty[1] & /*nonVideoIconColor*/
|
|
12534
12534
|
8 | t.$$.dirty[2] & /*videoIconColor*/
|
|
12535
12535
|
1024 && i(54, W = r ? d && ze.videoIconColor || wt : C), t.$$.dirty[2] & /*skipButtonStyle, isPlaylist*/
|
|
12536
|
-
8193 && i(53,
|
|
12536
|
+
8193 && i(53, j = Re === "auto" ? g ? "tracks" : "segments" : Re), t.$$.dirty[0] & /*isSmall, isVideo, fixedPosition, isScreen*/
|
|
12537
12537
|
85983488 | t.$$.dirty[1] & /*isMobile*/
|
|
12538
12538
|
2 && i(33, L = n || r && We ? 0.8 : l && !m ? 2 : 1), t.$$.dirty[0] & /*isScreen, isVideo, isStopped*/
|
|
12539
12539
|
606076928 | t.$$.dirty[1] & /*buttonScale*/
|
|
@@ -12545,7 +12545,7 @@ function i2(t, e, i) {
|
|
|
12545
12545
|
67108864 | t.$$.dirty[1] & /*isMobile*/
|
|
12546
12546
|
2 && i(49, X = l && !m ? "12px 0" : l ? "4px 0" : "auto"), t.$$.dirty[0] & /*isSmall*/
|
|
12547
12547
|
16777216 | t.$$.dirty[2] & /*fixedWidth*/
|
|
12548
|
-
4 && i(48, Te =
|
|
12548
|
+
4 && i(48, Te = je === "auto" ? n ? "fit-content" : "" : je), t.$$.dirty[0] & /*fixedPosition, isStandard*/
|
|
12549
12549
|
268435712 && i(77, me = We === "auto" ? o ? "center" : "right" : We), t.$$.dirty[0] & /*fixedPosition*/
|
|
12550
12550
|
256 | t.$$.dirty[2] & /*position*/
|
|
12551
12551
|
32768 && i(23, ve = We ? `fixed fixed-${me}` : ""), t.$$.dirty[0] & /*fixedPosition, isSmall, isStandard*/
|
|
@@ -12564,9 +12564,9 @@ function i2(t, e, i) {
|
|
|
12564
12564
|
671105024 | t.$$.dirty[2] & /*persistentAdvert*/
|
|
12565
12565
|
16 && i(45, oe = d && ze.clickThroughUrl || !u && ($e == null ? void 0 : $e.clickThroughUrl)), t.$$.dirty[0] & /*isSmall, fixedPosition*/
|
|
12566
12566
|
16777472 | t.$$.dirty[2] & /*fixedWidth*/
|
|
12567
|
-
4 && i(30, ge = n && We &&
|
|
12567
|
+
4 && i(30, ge = n && We && je === "auto"), t.$$.dirty[0] & /*isSmall*/
|
|
12568
12568
|
16777216 | t.$$.dirty[2] & /*fixedWidth*/
|
|
12569
|
-
4 && i(25, Z = n && (
|
|
12569
|
+
4 && i(25, Z = n && (je === 0 || je === "0")), t.$$.dirty[0] & /*forcedCollapsed, collapsible, isAdvert, isStopped, isHovering*/
|
|
12570
12570
|
1779433472 && i(44, le = Z || ge && !d && !u && !kt), t.$$.dirty[0] & /*fixedPosition, isSmall, isStandard, isAdvert*/
|
|
12571
12571
|
419430656 && i(43, w = We && !n && !(o && d)), t.$$.dirty[0] & /*isAdvert, isScreen, fixedPosition, isSmall, forcedCollapsed*/
|
|
12572
12572
|
251658496 | t.$$.dirty[2] & /*logoIconEnabled*/
|
|
@@ -12633,10 +12633,10 @@ function i2(t, e, i) {
|
|
|
12633
12633
|
U,
|
|
12634
12634
|
K,
|
|
12635
12635
|
N,
|
|
12636
|
-
|
|
12636
|
+
j,
|
|
12637
12637
|
W,
|
|
12638
12638
|
z,
|
|
12639
|
-
|
|
12639
|
+
O,
|
|
12640
12640
|
v,
|
|
12641
12641
|
a,
|
|
12642
12642
|
s,
|
|
@@ -12644,7 +12644,7 @@ function i2(t, e, i) {
|
|
|
12644
12644
|
Mt,
|
|
12645
12645
|
Re,
|
|
12646
12646
|
et,
|
|
12647
|
-
|
|
12647
|
+
je,
|
|
12648
12648
|
Xe,
|
|
12649
12649
|
$e,
|
|
12650
12650
|
Ye,
|
|
@@ -12904,7 +12904,7 @@ class ol extends pe {
|
|
|
12904
12904
|
this.$$set({ absoluteY: e }), c();
|
|
12905
12905
|
}
|
|
12906
12906
|
}
|
|
12907
|
-
const
|
|
12907
|
+
const Os = (t, e, i) => Pe(t, e, e === "style" ? o2(i) : i), n2 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, o2 = (t) => t.split(n2).filter((e) => e).map((e) => e + " !important").join(";");
|
|
12908
12908
|
function s2(t) {
|
|
12909
12909
|
let e, i, n;
|
|
12910
12910
|
const o = (
|
|
@@ -12919,7 +12919,7 @@ function s2(t) {
|
|
|
12919
12919
|
);
|
|
12920
12920
|
return {
|
|
12921
12921
|
c() {
|
|
12922
|
-
e = b("div"), s && s.c(),
|
|
12922
|
+
e = b("div"), s && s.c(), Os(e, "class", "external-widget"), Os(e, "style", i = /*root*/
|
|
12923
12923
|
t[0] ? "position: relative" : "");
|
|
12924
12924
|
},
|
|
12925
12925
|
m(l, r) {
|
|
@@ -12946,7 +12946,7 @@ function s2(t) {
|
|
|
12946
12946
|
null
|
|
12947
12947
|
), (!n || r & /*root*/
|
|
12948
12948
|
1 && i !== (i = /*root*/
|
|
12949
|
-
l[0] ? "position: relative" : "")) &&
|
|
12949
|
+
l[0] ? "position: relative" : "")) && Os(e, "style", i);
|
|
12950
12950
|
},
|
|
12951
12951
|
i(l) {
|
|
12952
12952
|
n || (p(s, l), n = !0);
|
|
@@ -13060,7 +13060,7 @@ function c2(t) {
|
|
|
13060
13060
|
};
|
|
13061
13061
|
}
|
|
13062
13062
|
function ir(t) {
|
|
13063
|
-
let e, i, n, o, s, l, r, a, u, d, g, m, _, v, k, y, C,
|
|
13063
|
+
let e, i, n, o, s, l, r, a, u, d, g, m, _, v, k, y, C, O, z, W, j, L, N, K, U, X, Te, me, ve, ne, ee, F, oe, ge, Z, le, w, q, we, Se, Ie, J, Ce, Ae, Re, Fe, et, ft, yt, We, je, Je, He, St, Ge, Xe, Qe, ze, $e, Ye, gt, xe, st, tt, wt, Ue, bt, ct, x, Me, Le, Ke, Ze, ht, lt, Pt, kt, qe, rt, Mt, Tt, Et, at, Lt, Ft, D, pt, ut, ce, S, P, se, Vt, oi, pi, zt, Ri, si, en, dt, _i, ei, mi, Ct, Nt, Ai, Dt, Si, li, mn, qt, tn, Rt, ri = $t(
|
|
13064
13064
|
/*content*/
|
|
13065
13065
|
t[41]
|
|
13066
13066
|
), _t = [];
|
|
@@ -13075,22 +13075,22 @@ function ir(t) {
|
|
|
13075
13075
|
let ui = $t(
|
|
13076
13076
|
/*adverts*/
|
|
13077
13077
|
t[43]
|
|
13078
|
-
),
|
|
13078
|
+
), jt = [];
|
|
13079
13079
|
for (let V = 0; V < ui.length; V += 1)
|
|
13080
|
-
|
|
13080
|
+
jt[V] = sr(Xl(t, ui, V));
|
|
13081
13081
|
return {
|
|
13082
13082
|
c() {
|
|
13083
13083
|
e = b("br"), i = Y(), n = b("strong"), n.textContent = "Advanced settings:", o = Y(), s = b("br"), l = b("br"), r = Y(), a = b("div"), u = $(`projectId:
|
|
13084
13084
|
`), d = b("input"), g = Y(), m = b("div"), _ = $(`contentId:
|
|
13085
13085
|
`), v = b("input"), k = Y(), y = b("div"), C = $(`playlistId:
|
|
13086
|
-
`),
|
|
13086
|
+
`), O = b("input"), z = Y(), W = b("div"), j = $(`sourceId:
|
|
13087
13087
|
`), L = b("input"), N = Y(), K = b("div"), U = $(`sourceUrl:
|
|
13088
13088
|
`), X = b("input"), Te = Y(), me = b("div"), ve = $(`showUserInterface:
|
|
13089
13089
|
`), ne = b("select"), ee = b("option"), ee.textContent = `${!1}`, F = b("option"), F.textContent = `${!0}`, oe = Y(), ge = b("div"), Z = $(`videoTextColor:
|
|
13090
13090
|
`), le = b("input"), w = Y(), q = b("div"), we = $(`videoIconColor:
|
|
13091
13091
|
`), Se = b("input"), Ie = Y(), J = b("div"), Ce = $(`mediaSession:
|
|
13092
13092
|
`), Ae = b("select"), Re = b("option"), Re.textContent = "auto", Fe = b("option"), Fe.textContent = "override", et = b("option"), et.textContent = "none", ft = Y(), yt = b("div"), We = $(`contentIndex:
|
|
13093
|
-
`),
|
|
13093
|
+
`), je = b("select");
|
|
13094
13094
|
for (let V = 0; V < _t.length; V += 1)
|
|
13095
13095
|
_t[V].c();
|
|
13096
13096
|
Je = Y(), He = b("div"), St = $(`introsOutrosIndex:
|
|
@@ -13100,8 +13100,8 @@ function ir(t) {
|
|
|
13100
13100
|
Qe = Y(), ze = b("div"), $e = $(`persistentAdImage:
|
|
13101
13101
|
`), Ye = b("select"), gt = b("option"), gt.textContent = `${!1}`, xe = b("option"), xe.textContent = `${!0}`, st = Y(), tt = b("div"), wt = $(`persistentIndex:
|
|
13102
13102
|
`), Ue = b("select"), bt = b("option"), bt.textContent = "-1 (none)";
|
|
13103
|
-
for (let V = 0; V <
|
|
13104
|
-
|
|
13103
|
+
for (let V = 0; V < jt.length; V += 1)
|
|
13104
|
+
jt[V].c();
|
|
13105
13105
|
ct = Y(), x = b("div"), Me = $(`duration:
|
|
13106
13106
|
`), Le = b("input"), Ke = Y(), Ze = b("div"), ht = $(`currentTime:
|
|
13107
13107
|
`), lt = b("input"), Pt = Y(), kt = b("div"), qe = $(`playbackRate:
|
|
@@ -13111,7 +13111,7 @@ function ir(t) {
|
|
|
13111
13111
|
`), Vt = b("select"), oi = b("option"), oi.textContent = "personalized", pi = b("option"), pi.textContent = "non-personalized", zt = b("option"), zt.textContent = "under-the-age-of-consent", Ri = Y(), si = b("div"), en = $(`analyticsConsent:
|
|
13112
13112
|
`), dt = b("select"), _i = b("option"), _i.textContent = "allowed", ei = b("option"), ei.textContent = "without-local-storage", mi = b("option"), mi.textContent = "none", Ct = Y(), Nt = b("div"), Ai = $(`analyticsCustomUrl:
|
|
13113
13113
|
`), Dt = b("input"), Si = Y(), li = b("div"), mn = $(`analyticsTag:
|
|
13114
|
-
`), qt = b("input"), T(n, "class", "svelte-g76q0j"), T(d, "tabindex", -1), T(d, "type", "text"), T(d, "class", "svelte-g76q0j"), T(a, "class", "control svelte-g76q0j"), T(v, "tabindex", -1), T(v, "type", "text"), T(v, "class", "svelte-g76q0j"), T(m, "class", "control svelte-g76q0j"), T(
|
|
13114
|
+
`), qt = b("input"), T(n, "class", "svelte-g76q0j"), T(d, "tabindex", -1), T(d, "type", "text"), T(d, "class", "svelte-g76q0j"), T(a, "class", "control svelte-g76q0j"), T(v, "tabindex", -1), T(v, "type", "text"), T(v, "class", "svelte-g76q0j"), T(m, "class", "control svelte-g76q0j"), T(O, "tabindex", -1), T(O, "type", "text"), T(O, "class", "svelte-g76q0j"), T(y, "class", "control svelte-g76q0j"), T(L, "tabindex", -1), T(L, "type", "text"), T(L, "class", "svelte-g76q0j"), T(W, "class", "control svelte-g76q0j"), T(X, "tabindex", -1), T(X, "type", "text"), T(X, "class", "svelte-g76q0j"), T(K, "class", "control svelte-g76q0j"), ee.__value = !1, E(ee, ee.__value), F.__value = !0, E(F, F.__value), T(ne, "tabindex", -1), T(ne, "class", "svelte-g76q0j"), /*showUserInterface*/
|
|
13115
13115
|
t[5] === void 0 && nt(() => (
|
|
13116
13116
|
/*select0_change_handler_1*/
|
|
13117
13117
|
t[69].call(ne)
|
|
@@ -13119,10 +13119,10 @@ function ir(t) {
|
|
|
13119
13119
|
t[12] === void 0 && nt(() => (
|
|
13120
13120
|
/*select1_change_handler_1*/
|
|
13121
13121
|
t[72].call(Ae)
|
|
13122
|
-
)), T(J, "class", "control svelte-g76q0j"), T(
|
|
13122
|
+
)), T(J, "class", "control svelte-g76q0j"), T(je, "tabindex", -1), T(je, "class", "svelte-g76q0j"), /*contentIndex*/
|
|
13123
13123
|
t[13] === void 0 && nt(() => (
|
|
13124
13124
|
/*select2_change_handler_1*/
|
|
13125
|
-
t[73].call(
|
|
13125
|
+
t[73].call(je)
|
|
13126
13126
|
)), T(yt, "class", "control svelte-g76q0j"), Xe.__value = -1, E(Xe, Xe.__value), T(Ge, "tabindex", -1), T(Ge, "class", "svelte-g76q0j"), /*introsOutrosIndex*/
|
|
13127
13127
|
t[14] === void 0 && nt(() => (
|
|
13128
13128
|
/*select3_change_handler_1*/
|
|
@@ -13158,11 +13158,11 @@ function ir(t) {
|
|
|
13158
13158
|
v,
|
|
13159
13159
|
/*contentId*/
|
|
13160
13160
|
t[1]
|
|
13161
|
-
), B(V, k, H), B(V, y, H), f(y, C), f(y,
|
|
13162
|
-
|
|
13161
|
+
), B(V, k, H), B(V, y, H), f(y, C), f(y, O), E(
|
|
13162
|
+
O,
|
|
13163
13163
|
/*playlistId*/
|
|
13164
13164
|
t[2]
|
|
13165
|
-
), B(V, z, H), B(V, W, H), f(W,
|
|
13165
|
+
), B(V, z, H), B(V, W, H), f(W, j), f(W, L), E(
|
|
13166
13166
|
L,
|
|
13167
13167
|
/*sourceId*/
|
|
13168
13168
|
t[3]
|
|
@@ -13188,11 +13188,11 @@ function ir(t) {
|
|
|
13188
13188
|
/*mediaSession*/
|
|
13189
13189
|
t[12],
|
|
13190
13190
|
!0
|
|
13191
|
-
), B(V, ft, H), B(V, yt, H), f(yt, We), f(yt,
|
|
13191
|
+
), B(V, ft, H), B(V, yt, H), f(yt, We), f(yt, je);
|
|
13192
13192
|
for (let ie = 0; ie < _t.length; ie += 1)
|
|
13193
|
-
_t[ie] && _t[ie].m(
|
|
13193
|
+
_t[ie] && _t[ie].m(je, null);
|
|
13194
13194
|
Be(
|
|
13195
|
-
|
|
13195
|
+
je,
|
|
13196
13196
|
/*contentIndex*/
|
|
13197
13197
|
t[13],
|
|
13198
13198
|
!0
|
|
@@ -13210,8 +13210,8 @@ function ir(t) {
|
|
|
13210
13210
|
t[16],
|
|
13211
13211
|
!0
|
|
13212
13212
|
), B(V, st, H), B(V, tt, H), f(tt, wt), f(tt, Ue), f(Ue, bt);
|
|
13213
|
-
for (let ie = 0; ie <
|
|
13214
|
-
|
|
13213
|
+
for (let ie = 0; ie < jt.length; ie += 1)
|
|
13214
|
+
jt[ie] && jt[ie].m(Ue, null);
|
|
13215
13215
|
Be(
|
|
13216
13216
|
Ue,
|
|
13217
13217
|
/*persistentIndex*/
|
|
@@ -13270,7 +13270,7 @@ function ir(t) {
|
|
|
13270
13270
|
t[65]
|
|
13271
13271
|
),
|
|
13272
13272
|
R(
|
|
13273
|
-
|
|
13273
|
+
O,
|
|
13274
13274
|
"input",
|
|
13275
13275
|
/*input2_input_handler_1*/
|
|
13276
13276
|
t[66]
|
|
@@ -13312,7 +13312,7 @@ function ir(t) {
|
|
|
13312
13312
|
t[72]
|
|
13313
13313
|
),
|
|
13314
13314
|
R(
|
|
13315
|
-
|
|
13315
|
+
je,
|
|
13316
13316
|
"change",
|
|
13317
13317
|
/*select2_change_handler_1*/
|
|
13318
13318
|
t[73]
|
|
@@ -13405,9 +13405,9 @@ function ir(t) {
|
|
|
13405
13405
|
/*contentId*/
|
|
13406
13406
|
V[1]
|
|
13407
13407
|
), H[0] & /*playlistId*/
|
|
13408
|
-
4 &&
|
|
13408
|
+
4 && O.value !== /*playlistId*/
|
|
13409
13409
|
V[2] && E(
|
|
13410
|
-
|
|
13410
|
+
O,
|
|
13411
13411
|
/*playlistId*/
|
|
13412
13412
|
V[2]
|
|
13413
13413
|
), H[0] & /*sourceId*/
|
|
@@ -13453,7 +13453,7 @@ function ir(t) {
|
|
|
13453
13453
|
let ie;
|
|
13454
13454
|
for (ie = 0; ie < ri.length; ie += 1) {
|
|
13455
13455
|
const Ht = $l(V, ri, ie);
|
|
13456
|
-
_t[ie] ? _t[ie].p(Ht, H) : (_t[ie] = nr(Ht), _t[ie].c(), _t[ie].m(
|
|
13456
|
+
_t[ie] ? _t[ie].p(Ht, H) : (_t[ie] = nr(Ht), _t[ie].c(), _t[ie].m(je, null));
|
|
13457
13457
|
}
|
|
13458
13458
|
for (; ie < _t.length; ie += 1)
|
|
13459
13459
|
_t[ie].d(1);
|
|
@@ -13461,7 +13461,7 @@ function ir(t) {
|
|
|
13461
13461
|
}
|
|
13462
13462
|
if (H[0] & /*contentIndex*/
|
|
13463
13463
|
8192 && Be(
|
|
13464
|
-
|
|
13464
|
+
je,
|
|
13465
13465
|
/*contentIndex*/
|
|
13466
13466
|
V[13]
|
|
13467
13467
|
), H[1] & /*introsOutros*/
|
|
@@ -13498,11 +13498,11 @@ function ir(t) {
|
|
|
13498
13498
|
let ie;
|
|
13499
13499
|
for (ie = 0; ie < ui.length; ie += 1) {
|
|
13500
13500
|
const Ht = Xl(V, ui, ie);
|
|
13501
|
-
|
|
13501
|
+
jt[ie] ? jt[ie].p(Ht, H) : (jt[ie] = sr(Ht), jt[ie].c(), jt[ie].m(Ue, null));
|
|
13502
13502
|
}
|
|
13503
|
-
for (; ie <
|
|
13504
|
-
|
|
13505
|
-
|
|
13503
|
+
for (; ie < jt.length; ie += 1)
|
|
13504
|
+
jt[ie].d(1);
|
|
13505
|
+
jt.length = ui.length;
|
|
13506
13506
|
}
|
|
13507
13507
|
H[0] & /*persistentIndex*/
|
|
13508
13508
|
131072 && Be(
|
|
@@ -13563,7 +13563,7 @@ function ir(t) {
|
|
|
13563
13563
|
);
|
|
13564
13564
|
},
|
|
13565
13565
|
d(V) {
|
|
13566
|
-
V && (A(e), A(i), A(n), A(o), A(s), A(l), A(r), A(a), A(g), A(m), A(k), A(y), A(z), A(W), A(N), A(K), A(Te), A(me), A(oe), A(ge), A(w), A(q), A(Ie), A(J), A(ft), A(yt), A(Je), A(He), A(Qe), A(ze), A(st), A(tt), A(ct), A(x), A(Ke), A(Ze), A(Pt), A(kt), A(Mt), A(Tt), A(Lt), A(Ft), A(S), A(P), A(Ri), A(si), A(Ct), A(Nt), A(Si), A(li)), hn(_t, V), hn(mt, V), hn(
|
|
13566
|
+
V && (A(e), A(i), A(n), A(o), A(s), A(l), A(r), A(a), A(g), A(m), A(k), A(y), A(z), A(W), A(N), A(K), A(Te), A(me), A(oe), A(ge), A(w), A(q), A(Ie), A(J), A(ft), A(yt), A(Je), A(He), A(Qe), A(ze), A(st), A(tt), A(ct), A(x), A(Ke), A(Ze), A(Pt), A(kt), A(Mt), A(Tt), A(Lt), A(Ft), A(S), A(P), A(Ri), A(si), A(Ct), A(Nt), A(Si), A(li)), hn(_t, V), hn(mt, V), hn(jt, V), tn = !1, ot(Rt);
|
|
13567
13567
|
}
|
|
13568
13568
|
};
|
|
13569
13569
|
}
|
|
@@ -13686,7 +13686,7 @@ function g2(t) {
|
|
|
13686
13686
|
};
|
|
13687
13687
|
}
|
|
13688
13688
|
function f2(t) {
|
|
13689
|
-
let e, i, n, o, s, l, r, a, u, d, g, m, _, v, k, y, C,
|
|
13689
|
+
let e, i, n, o, s, l, r, a, u, d, g, m, _, v, k, y, C, O, z, W, j, L, N, K, U, X, Te, me, ve, ne, ee, F, oe, ge, Z, le, w, q, we, Se, Ie, J, Ce, Ae, Re, Fe, et, ft, yt, We, je, Je, He, St, Ge, Xe, Qe, ze, $e, Ye, gt, xe, st, tt, wt, Ue, bt, ct, x, Me, Le, Ke, Ze, ht, lt, Pt, kt, qe, rt, Mt, Tt, Et, at, Lt, Ft, D, pt, ut, ce, S, P, se, Vt, oi, pi, zt, Ri, si, en, dt, _i, ei, mi, Ct, Nt, Ai, Dt, Si, li, mn, qt, tn, Rt, ri, _t, ai, mt, ui, jt, V, H, ie, Ht, nn, on, sn, ln, vo, vn, yo, Bi, bo, Hn, ko, po, Yn, So, rn = $t(
|
|
13690
13690
|
/*adverts*/
|
|
13691
13691
|
t[43]
|
|
13692
13692
|
), Yt = [];
|
|
@@ -13710,12 +13710,12 @@ function f2(t) {
|
|
|
13710
13710
|
c() {
|
|
13711
13711
|
e = b("div"), i = b("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 = Y(), o = b("br"), s = Y(), l = b("div"), r = $(`playerStyle:
|
|
13712
13712
|
`), a = b("select"), u = b("option"), u.textContent = "small", d = b("option"), d.textContent = "standard", g = b("option"), g.textContent = "large", m = b("option"), m.textContent = "video", _ = Y(), v = b("div"), k = $(`playbackState:
|
|
13713
|
-
`), y = b("select"), C = b("option"), C.textContent = "stopped",
|
|
13713
|
+
`), y = b("select"), C = b("option"), C.textContent = "stopped", O = b("option"), O.textContent = "playing", z = b("option"), z.textContent = "paused", W = Y(), j = b("div"), L = $(`playerTitle:
|
|
13714
13714
|
`), N = b("input"), K = Y(), U = b("div"), X = $(`callToAction:
|
|
13715
13715
|
`), Te = b("input"), me = Y(), ve = b("div"), ne = $(`skipButtonStyle:
|
|
13716
13716
|
`), ee = b("select"), F = b("option"), F.textContent = "auto", oe = b("option"), oe.textContent = "segments", ge = b("option"), ge.textContent = "seconds", Z = b("option"), Z.textContent = "seconds-15", le = b("option"), le.textContent = "seconds-15-30", w = b("option"), w.textContent = "tracks", q = Y(), we = b("div"), Se = $(`playlistStyle:
|
|
13717
13717
|
`), Ie = b("select"), J = b("option"), J.textContent = "auto", Ce = b("option"), Ce.textContent = "show", Ae = b("option"), Ae.textContent = "show-3", Re = b("option"), Re.textContent = "show-999", Fe = b("option"), Fe.textContent = "hide", et = Y(), ft = b("div"), yt = $(`playlistToggle:
|
|
13718
|
-
`), We = b("select"),
|
|
13718
|
+
`), We = b("select"), je = b("option"), je.textContent = "auto", Je = b("option"), Je.textContent = "show", He = b("option"), He.textContent = "hide", St = Y(), Ge = b("div"), Xe = $(`advertIndex:
|
|
13719
13719
|
`), Qe = b("select"), ze = b("option"), ze.textContent = "-1 (none)";
|
|
13720
13720
|
for (let de = 0; de < Yt.length; de += 1)
|
|
13721
13721
|
Yt[de].c();
|
|
@@ -13728,7 +13728,7 @@ function f2(t) {
|
|
|
13728
13728
|
`), zt = b("input"), Ri = Y(), si = b("div"), en = $(`highlightColor:
|
|
13729
13729
|
`), dt = b("input"), _i = Y(), ei = b("div"), mi = $(`highlightSections:
|
|
13730
13730
|
`), Ct = b("select"), Nt = b("option"), Nt.textContent = "all", Ai = b("option"), Ai.textContent = "body", Dt = b("option"), Dt.textContent = "none", Si = b("option"), Si.textContent = "all-none", li = b("option"), li.textContent = "none-all", mn = Y(), qt = b("div"), tn = $(`clickableSections:
|
|
13731
|
-
`), Rt = b("select"), ri = b("option"), ri.textContent = "all", _t = b("option"), _t.textContent = "body", ai = b("option"), ai.textContent = "none", mt = b("option"), mt.textContent = "all-none", ui = b("option"), ui.textContent = "none-all",
|
|
13731
|
+
`), Rt = b("select"), ri = b("option"), ri.textContent = "all", _t = b("option"), _t.textContent = "body", ai = b("option"), ai.textContent = "none", mt = b("option"), mt.textContent = "all-none", ui = b("option"), ui.textContent = "none-all", jt = Y(), V = b("div"), H = $(`segmentWidgetSections:
|
|
13732
13732
|
`), ie = b("select"), Ht = b("option"), Ht.textContent = "all", nn = b("option"), nn.textContent = "body", on = b("option"), on.textContent = "none", sn = b("option"), sn.textContent = "all-none", ln = b("option"), ln.textContent = "none-all", vo = Y(), vn = b("div"), yo = $(`segmentWidgetPosition:
|
|
13733
13733
|
`), Bi = b("select");
|
|
13734
13734
|
for (let de = 0; de < 12; de += 1)
|
|
@@ -13737,11 +13737,11 @@ function f2(t) {
|
|
|
13737
13737
|
t[6] === void 0 && nt(() => (
|
|
13738
13738
|
/*select0_change_handler*/
|
|
13739
13739
|
t[45].call(a)
|
|
13740
|
-
)), T(l, "class", "control svelte-g76q0j"), C.__value = "stopped", E(C, C.__value),
|
|
13740
|
+
)), T(l, "class", "control svelte-g76q0j"), C.__value = "stopped", E(C, C.__value), O.__value = "playing", E(O, O.__value), z.__value = "paused", E(z, z.__value), T(y, "tabindex", -1), T(y, "class", "svelte-g76q0j"), /*playbackState*/
|
|
13741
13741
|
t[20] === void 0 && nt(() => (
|
|
13742
13742
|
/*select1_change_handler*/
|
|
13743
13743
|
t[46].call(y)
|
|
13744
|
-
)), T(v, "class", "control svelte-g76q0j"), T(N, "tabindex", -1), T(N, "type", "text"), T(N, "class", "svelte-g76q0j"), T(
|
|
13744
|
+
)), T(v, "class", "control svelte-g76q0j"), T(N, "tabindex", -1), T(N, "type", "text"), T(N, "class", "svelte-g76q0j"), T(j, "class", "control svelte-g76q0j"), T(Te, "tabindex", -1), T(Te, "type", "text"), T(Te, "class", "svelte-g76q0j"), T(U, "class", "control svelte-g76q0j"), F.__value = "auto", E(F, F.__value), oe.__value = "segments", E(oe, oe.__value), ge.__value = "seconds", E(ge, ge.__value), Z.__value = "seconds-15", E(Z, Z.__value), le.__value = "seconds-15-30", E(le, le.__value), w.__value = "tracks", E(w, w.__value), T(ee, "tabindex", -1), T(ee, "class", "svelte-g76q0j"), /*skipButtonStyle*/
|
|
13745
13745
|
t[9] === void 0 && nt(() => (
|
|
13746
13746
|
/*select2_change_handler*/
|
|
13747
13747
|
t[49].call(ee)
|
|
@@ -13749,7 +13749,7 @@ function f2(t) {
|
|
|
13749
13749
|
t[10] === void 0 && nt(() => (
|
|
13750
13750
|
/*select3_change_handler*/
|
|
13751
13751
|
t[50].call(Ie)
|
|
13752
|
-
)), T(we, "class", "control svelte-g76q0j"),
|
|
13752
|
+
)), T(we, "class", "control svelte-g76q0j"), je.__value = "auto", E(je, je.__value), Je.__value = "show", E(Je, Je.__value), He.__value = "hide", E(He, He.__value), T(We, "tabindex", -1), T(We, "class", "svelte-g76q0j"), /*playlistToggle*/
|
|
13753
13753
|
t[11] === void 0 && nt(() => (
|
|
13754
13754
|
/*select4_change_handler*/
|
|
13755
13755
|
t[51].call(We)
|
|
@@ -13793,12 +13793,12 @@ function f2(t) {
|
|
|
13793
13793
|
/*playerStyle*/
|
|
13794
13794
|
t[6],
|
|
13795
13795
|
!0
|
|
13796
|
-
), f(e, _), f(e, v), f(v, k), f(v, y), f(y, C), f(y,
|
|
13796
|
+
), f(e, _), f(e, v), f(v, k), f(v, y), f(y, C), f(y, O), f(y, z), Be(
|
|
13797
13797
|
y,
|
|
13798
13798
|
/*playbackState*/
|
|
13799
13799
|
t[20],
|
|
13800
13800
|
!0
|
|
13801
|
-
), f(e, W), f(e,
|
|
13801
|
+
), f(e, W), f(e, j), f(j, L), f(j, N), E(
|
|
13802
13802
|
N,
|
|
13803
13803
|
/*playerTitle*/
|
|
13804
13804
|
t[7]
|
|
@@ -13816,7 +13816,7 @@ function f2(t) {
|
|
|
13816
13816
|
/*playlistStyle*/
|
|
13817
13817
|
t[10],
|
|
13818
13818
|
!0
|
|
13819
|
-
), f(e, et), f(e, ft), f(ft, yt), f(ft, We), f(We,
|
|
13819
|
+
), f(e, et), f(e, ft), f(ft, yt), f(ft, We), f(We, je), f(We, Je), f(We, He), Be(
|
|
13820
13820
|
We,
|
|
13821
13821
|
/*playlistToggle*/
|
|
13822
13822
|
t[11],
|
|
@@ -13870,7 +13870,7 @@ function f2(t) {
|
|
|
13870
13870
|
/*clickableSections*/
|
|
13871
13871
|
t[34],
|
|
13872
13872
|
!0
|
|
13873
|
-
), f(e,
|
|
13873
|
+
), f(e, jt), f(e, V), f(V, H), f(V, ie), f(ie, Ht), f(ie, nn), f(ie, on), f(ie, sn), f(ie, ln), Be(
|
|
13874
13874
|
ie,
|
|
13875
13875
|
/*segmentWidgetSections*/
|
|
13876
13876
|
t[35],
|
|
@@ -14129,7 +14129,7 @@ function f2(t) {
|
|
|
14129
14129
|
}
|
|
14130
14130
|
function h2(t, e, i) {
|
|
14131
14131
|
import("./././././././././style.js");
|
|
14132
|
-
let { projectId: n } = e, { contentId: o } = e, { playlistId: s } = e, { sourceId: l } = e, { sourceUrl: r } = e, { showUserInterface: a } = e, { playerStyle: u } = e, { playerTitle: d } = e, { callToAction: g } = e, { skipButtonStyle: m } = e, { playlistStyle: _ } = e, { playlistToggle: v } = e, { mediaSession: k } = e, { content: y } = e, { contentIndex: C } = e, { introsOutros:
|
|
14132
|
+
let { projectId: n } = e, { contentId: o } = e, { playlistId: s } = e, { sourceId: l } = e, { sourceUrl: r } = e, { showUserInterface: a } = e, { playerStyle: u } = e, { playerTitle: d } = e, { callToAction: g } = e, { skipButtonStyle: m } = e, { playlistStyle: _ } = e, { playlistToggle: v } = e, { mediaSession: k } = e, { content: y } = e, { contentIndex: C } = e, { introsOutros: O } = e, { introsOutrosIndex: z } = e, { adverts: W } = e, { advertIndex: j } = e, { persistentAdImage: L } = e, { persistentIndex: N } = e, { duration: K } = e, { currentTime: U } = e, { playbackState: X } = e, { playbackRate: Te } = e, { widgetStyle: me } = e, { widgetPosition: ve } = e, { widgetWidth: ne } = e, { widgetTarget: ee } = e, { textColor: F } = e, { backgroundColor: oe } = e, { iconColor: ge } = e, { highlightColor: Z } = e, { videoTextColor: le } = e, { videoIconColor: w } = e, { logoIconEnabled: q } = e, { highlightSections: we } = e, { clickableSections: Se } = e, { segmentWidgetSections: Ie } = e, { segmentWidgetPosition: J } = e, { advertConsent: Ce } = e, { analyticsConsent: Ae } = e, { analyticsCustomUrl: Re } = e, { analyticsTag: Fe } = e, et = !1;
|
|
14133
14133
|
function ft() {
|
|
14134
14134
|
u = At(this), i(6, u);
|
|
14135
14135
|
}
|
|
@@ -14139,7 +14139,7 @@ function h2(t, e, i) {
|
|
|
14139
14139
|
function We() {
|
|
14140
14140
|
d = this.value, i(7, d);
|
|
14141
14141
|
}
|
|
14142
|
-
function
|
|
14142
|
+
function je() {
|
|
14143
14143
|
g = this.value, i(8, g);
|
|
14144
14144
|
}
|
|
14145
14145
|
function Je() {
|
|
@@ -14152,7 +14152,7 @@ function h2(t, e, i) {
|
|
|
14152
14152
|
v = At(this), i(11, v);
|
|
14153
14153
|
}
|
|
14154
14154
|
function Ge() {
|
|
14155
|
-
|
|
14155
|
+
j = At(this), i(15, j);
|
|
14156
14156
|
}
|
|
14157
14157
|
function Xe() {
|
|
14158
14158
|
me = At(this), i(22, me);
|
|
@@ -14255,7 +14255,7 @@ function h2(t, e, i) {
|
|
|
14255
14255
|
}
|
|
14256
14256
|
const ce = () => i(44, et = !1), S = () => i(44, et = !0);
|
|
14257
14257
|
return t.$$set = (P) => {
|
|
14258
|
-
"projectId" in P && i(0, n = P.projectId), "contentId" in P && i(1, o = P.contentId), "playlistId" in P && i(2, s = P.playlistId), "sourceId" in P && i(3, l = P.sourceId), "sourceUrl" in P && i(4, r = P.sourceUrl), "showUserInterface" in P && i(5, a = P.showUserInterface), "playerStyle" in P && i(6, u = P.playerStyle), "playerTitle" in P && i(7, d = P.playerTitle), "callToAction" in P && i(8, g = P.callToAction), "skipButtonStyle" in P && i(9, m = P.skipButtonStyle), "playlistStyle" in P && i(10, _ = P.playlistStyle), "playlistToggle" in P && i(11, v = P.playlistToggle), "mediaSession" in P && i(12, k = P.mediaSession), "content" in P && i(41, y = P.content), "contentIndex" in P && i(13, C = P.contentIndex), "introsOutros" in P && i(42,
|
|
14258
|
+
"projectId" in P && i(0, n = P.projectId), "contentId" in P && i(1, o = P.contentId), "playlistId" in P && i(2, s = P.playlistId), "sourceId" in P && i(3, l = P.sourceId), "sourceUrl" in P && i(4, r = P.sourceUrl), "showUserInterface" in P && i(5, a = P.showUserInterface), "playerStyle" in P && i(6, u = P.playerStyle), "playerTitle" in P && i(7, d = P.playerTitle), "callToAction" in P && i(8, g = P.callToAction), "skipButtonStyle" in P && i(9, m = P.skipButtonStyle), "playlistStyle" in P && i(10, _ = P.playlistStyle), "playlistToggle" in P && i(11, v = P.playlistToggle), "mediaSession" in P && i(12, k = P.mediaSession), "content" in P && i(41, y = P.content), "contentIndex" in P && i(13, C = P.contentIndex), "introsOutros" in P && i(42, O = P.introsOutros), "introsOutrosIndex" in P && i(14, z = P.introsOutrosIndex), "adverts" in P && i(43, W = P.adverts), "advertIndex" in P && i(15, j = P.advertIndex), "persistentAdImage" in P && i(16, L = P.persistentAdImage), "persistentIndex" in P && i(17, N = P.persistentIndex), "duration" in P && i(18, K = P.duration), "currentTime" in P && i(19, U = P.currentTime), "playbackState" in P && i(20, X = P.playbackState), "playbackRate" in P && i(21, Te = P.playbackRate), "widgetStyle" in P && i(22, me = P.widgetStyle), "widgetPosition" in P && i(23, ve = P.widgetPosition), "widgetWidth" in P && i(24, ne = P.widgetWidth), "widgetTarget" in P && i(25, ee = P.widgetTarget), "textColor" in P && i(26, F = P.textColor), "backgroundColor" in P && i(27, oe = P.backgroundColor), "iconColor" in P && i(28, ge = P.iconColor), "highlightColor" in P && i(29, Z = P.highlightColor), "videoTextColor" in P && i(30, le = P.videoTextColor), "videoIconColor" in P && i(31, w = P.videoIconColor), "logoIconEnabled" in P && i(32, q = P.logoIconEnabled), "highlightSections" in P && i(33, we = P.highlightSections), "clickableSections" in P && i(34, Se = P.clickableSections), "segmentWidgetSections" in P && i(35, Ie = P.segmentWidgetSections), "segmentWidgetPosition" in P && i(36, J = P.segmentWidgetPosition), "advertConsent" in P && i(37, Ce = P.advertConsent), "analyticsConsent" in P && i(38, Ae = P.analyticsConsent), "analyticsCustomUrl" in P && i(39, Re = P.analyticsCustomUrl), "analyticsTag" in P && i(40, Fe = P.analyticsTag);
|
|
14259
14259
|
}, [
|
|
14260
14260
|
n,
|
|
14261
14261
|
o,
|
|
@@ -14272,7 +14272,7 @@ function h2(t, e, i) {
|
|
|
14272
14272
|
k,
|
|
14273
14273
|
C,
|
|
14274
14274
|
z,
|
|
14275
|
-
|
|
14275
|
+
j,
|
|
14276
14276
|
L,
|
|
14277
14277
|
N,
|
|
14278
14278
|
K,
|
|
@@ -14299,13 +14299,13 @@ function h2(t, e, i) {
|
|
|
14299
14299
|
Re,
|
|
14300
14300
|
Fe,
|
|
14301
14301
|
y,
|
|
14302
|
-
|
|
14302
|
+
O,
|
|
14303
14303
|
W,
|
|
14304
14304
|
et,
|
|
14305
14305
|
ft,
|
|
14306
14306
|
yt,
|
|
14307
14307
|
We,
|
|
14308
|
-
|
|
14308
|
+
je,
|
|
14309
14309
|
Je,
|
|
14310
14310
|
He,
|
|
14311
14311
|
St,
|
|
@@ -14812,7 +14812,7 @@ function T2(t) {
|
|
|
14812
14812
|
};
|
|
14813
14813
|
}
|
|
14814
14814
|
function C2(t, e, i) {
|
|
14815
|
-
let n, o, s, l, r, a, u, d, g, m, _, v, k, y, C,
|
|
14815
|
+
let n, o, s, l, r, a, u, d, g, m, _, v, k, y, C, O, z, W, j, L, N;
|
|
14816
14816
|
const K = [96, 128, 192, 256, 384, 512], U = [
|
|
14817
14817
|
"hangup",
|
|
14818
14818
|
"nextslide",
|
|
@@ -14867,13 +14867,13 @@ function C2(t, e, i) {
|
|
|
14867
14867
|
32768 | t.$$.dirty[1] & /*imageUrl_*/
|
|
14868
14868
|
2 && i(28, y = w.has(k) ? null : k), t.$$.dirty[0] & /*imageUrl*/
|
|
14869
14869
|
268435456 && i(31, C = y ? K.map((J) => m2(y, J, J)) : []), t.$$.dirty[0] & /*imageUrl*/
|
|
14870
|
-
268435456 && i(30,
|
|
14870
|
+
268435456 && i(30, O = y ? [{ src: y, sizes: "any" }] : []), t.$$.dirty[0] & /*imageUrl, renderedSvgs*/
|
|
14871
14871
|
268500992 && i(29, z = y ? [] : K.map((J, Ce) => k2(we[Ce], J, J))), t.$$.dirty[0] & /*urlArtworks, svgArtworks*/
|
|
14872
14872
|
1610612736 | t.$$.dirty[1] & /*pngArtworks*/
|
|
14873
|
-
1 && i(26, W = Promise.all([...C, ...
|
|
14874
|
-
134217728 && i(25,
|
|
14873
|
+
1 && i(26, W = Promise.all([...C, ...O, ...z])), t.$$.dirty[0] & /*contentItem*/
|
|
14874
|
+
134217728 && i(25, j = (l == null ? void 0 : l.title) || ""), t.$$.dirty[0] & /*artworks*/
|
|
14875
14875
|
67108864 && W.then((J) => i(14, le = J)).catch(Se), t.$$.dirty[0] & /*title, artist, album, artwork*/
|
|
14876
|
-
58736640 && (navigator.mediaSession.metadata = new MediaMetadata({ title:
|
|
14876
|
+
58736640 && (navigator.mediaSession.metadata = new MediaMetadata({ title: j, artist: L, album: N, artwork: le })), t.$$.dirty[0] & /*onEvent*/
|
|
14877
14877
|
8192 && navigator.mediaSession.setActionHandler("play", () => {
|
|
14878
14878
|
Z(_e({
|
|
14879
14879
|
type: "PressedPlay",
|
|
@@ -14965,12 +14965,12 @@ function C2(t, e, i) {
|
|
|
14965
14965
|
m,
|
|
14966
14966
|
N,
|
|
14967
14967
|
L,
|
|
14968
|
-
|
|
14968
|
+
j,
|
|
14969
14969
|
W,
|
|
14970
14970
|
l,
|
|
14971
14971
|
y,
|
|
14972
14972
|
z,
|
|
14973
|
-
|
|
14973
|
+
O,
|
|
14974
14974
|
C,
|
|
14975
14975
|
k,
|
|
14976
14976
|
n,
|
|
@@ -15114,7 +15114,7 @@ function W2(t, e, i) {
|
|
|
15114
15114
|
"analyticsTag" in s && i(0, o = s.analyticsTag);
|
|
15115
15115
|
}, i(1, n = window.gtag), [o, n];
|
|
15116
15116
|
}
|
|
15117
|
-
class
|
|
15117
|
+
class j2 extends pe {
|
|
15118
15118
|
constructor(e) {
|
|
15119
15119
|
super(), ke(this, e, W2, V2, be, { analyticsTag: 0 });
|
|
15120
15120
|
}
|
|
@@ -15125,7 +15125,7 @@ class O2 extends pe {
|
|
|
15125
15125
|
this.$$set({ analyticsTag: e }), c();
|
|
15126
15126
|
}
|
|
15127
15127
|
}
|
|
15128
|
-
class
|
|
15128
|
+
class O2 extends pe {
|
|
15129
15129
|
constructor(e) {
|
|
15130
15130
|
super(), ke(this, e, null, null, be, {});
|
|
15131
15131
|
}
|
|
@@ -15257,6 +15257,7 @@ const M2 = () => _e({
|
|
|
15257
15257
|
description: "The Player's content identifiers changed.",
|
|
15258
15258
|
initiatedBy: "browser"
|
|
15259
15259
|
}), Tn = (i, ...n) => vi(void 0, [i, ...n], function* (t, e = {}) {
|
|
15260
|
+
e.headers || (e.headers = {}), e.headers["X-Referer"] = window.location.href;
|
|
15260
15261
|
const o = yield fetch(t, e).catch(() => {
|
|
15261
15262
|
}), s = yield o == null ? void 0 : o.json().catch(() => {
|
|
15262
15263
|
});
|
|
@@ -15478,44 +15479,44 @@ function Q2(t) {
|
|
|
15478
15479
|
re(e, y, C), a = !0;
|
|
15479
15480
|
},
|
|
15480
15481
|
p(y, C) {
|
|
15481
|
-
const
|
|
15482
|
+
const O = {};
|
|
15482
15483
|
C[1] & /*content*/
|
|
15483
|
-
1048576 && (
|
|
15484
|
+
1048576 && (O.content = /*content*/
|
|
15484
15485
|
y[51]), C[0] & /*contentIndex*/
|
|
15485
|
-
128 && (
|
|
15486
|
+
128 && (O.contentIndex = /*contentIndex*/
|
|
15486
15487
|
y[7]), C[1] & /*introOrOutro*/
|
|
15487
|
-
536870912 && (
|
|
15488
|
+
536870912 && (O.introOrOutro = /*introOrOutro*/
|
|
15488
15489
|
y[60]), C[1] & /*activeAdvert*/
|
|
15489
|
-
1073741824 && (
|
|
15490
|
+
1073741824 && (O.activeAdvert = /*activeAdvert*/
|
|
15490
15491
|
y[61]), C[1] & /*advertConsent*/
|
|
15491
|
-
1024 && (
|
|
15492
|
+
1024 && (O.advertConsent = /*advertConsent*/
|
|
15492
15493
|
y[41]), C[0] & /*showUserInterface*/
|
|
15493
|
-
32 && (
|
|
15494
|
+
32 && (O.showUserInterface = /*showUserInterface*/
|
|
15494
15495
|
y[5]), C[2] & /*videoBehindWidget*/
|
|
15495
|
-
4 && (
|
|
15496
|
+
4 && (O.videoBehindWidget = /*videoBehindWidget*/
|
|
15496
15497
|
y[64]), C[2] & /*videoBehindStatic*/
|
|
15497
|
-
128 && (
|
|
15498
|
+
128 && (O.videoBehindStatic = /*videoBehindStatic*/
|
|
15498
15499
|
y[69]), C[2] & /*videoMightBeShown*/
|
|
15499
|
-
2 && (
|
|
15500
|
+
2 && (O.videoMightBeShown = /*videoMightBeShown*/
|
|
15500
15501
|
y[63]), C[1] & /*widgetPosition*/
|
|
15501
|
-
4 && (
|
|
15502
|
+
4 && (O.widgetPosition = /*widgetPosition*/
|
|
15502
15503
|
y[33]), C[1] & /*widgetWidth*/
|
|
15503
|
-
8 && (
|
|
15504
|
+
8 && (O.widgetWidth = /*widgetWidth*/
|
|
15504
15505
|
y[34]), C[0] & /*widgetTarget*/
|
|
15505
|
-
16384 && (
|
|
15506
|
+
16384 && (O.widgetTarget = /*widgetTarget*/
|
|
15506
15507
|
y[14]), !i && C[0] & /*playbackState*/
|
|
15507
|
-
4096 && (i = !0,
|
|
15508
|
+
4096 && (i = !0, O.playbackState = /*playbackState*/
|
|
15508
15509
|
y[12], fe(() => i = !1)), !n && C[1] & /*duration*/
|
|
15509
|
-
1 && (n = !0,
|
|
15510
|
+
1 && (n = !0, O.duration = /*duration*/
|
|
15510
15511
|
y[31], fe(() => n = !1)), !o && C[0] & /*currentTime*/
|
|
15511
|
-
2048 && (o = !0,
|
|
15512
|
+
2048 && (o = !0, O.currentTime = /*currentTime*/
|
|
15512
15513
|
y[11], fe(() => o = !1)), !s && C[1] & /*playbackRate*/
|
|
15513
|
-
2 && (s = !0,
|
|
15514
|
+
2 && (s = !0, O.playbackRate = /*playbackRate*/
|
|
15514
15515
|
y[32], fe(() => s = !1)), !l && C[1] & /*prevPercentage*/
|
|
15515
|
-
131072 && (l = !0,
|
|
15516
|
+
131072 && (l = !0, O.prevPercentage = /*prevPercentage*/
|
|
15516
15517
|
y[48], fe(() => l = !1)), !r && C[0] & /*isLoaded*/
|
|
15517
|
-
8388608 && (r = !0,
|
|
15518
|
-
y[23], fe(() => r = !1)), e.$set(
|
|
15518
|
+
8388608 && (r = !0, O.isLoaded = /*isLoaded*/
|
|
15519
|
+
y[23], fe(() => r = !1)), e.$set(O);
|
|
15519
15520
|
},
|
|
15520
15521
|
i(y) {
|
|
15521
15522
|
a || (p(e.$$.fragment, y), a = !0);
|
|
@@ -16152,7 +16153,7 @@ function yr(t) {
|
|
|
16152
16153
|
};
|
|
16153
16154
|
}
|
|
16154
16155
|
function t3(t) {
|
|
16155
|
-
let e, i, n, o, s, l, r, a, u, d, g, m, _, v, k, y, C,
|
|
16156
|
+
let e, i, n, o, s, l, r, a, u, d, g, m, _, v, k, y, C, O, z, W, j, L, N, K, U, X, Te, me, ve, ne, ee, F, oe, ge, Z, le, w, q, we, Se, Ie, J, Ce, Ae, Re;
|
|
16156
16157
|
function Fe(S) {
|
|
16157
16158
|
t[112](S);
|
|
16158
16159
|
}
|
|
@@ -16168,7 +16169,7 @@ function t3(t) {
|
|
|
16168
16169
|
function We(S) {
|
|
16169
16170
|
t[116](S);
|
|
16170
16171
|
}
|
|
16171
|
-
function
|
|
16172
|
+
function je(S) {
|
|
16172
16173
|
t[117](S);
|
|
16173
16174
|
}
|
|
16174
16175
|
function Je(S) {
|
|
@@ -16383,7 +16384,7 @@ function t3(t) {
|
|
|
16383
16384
|
t[43] !== void 0 && (ce.analyticsCustomUrl = /*analyticsCustomUrl*/
|
|
16384
16385
|
t[43]), /*analyticsTag*/
|
|
16385
16386
|
t[44] !== void 0 && (ce.analyticsTag = /*analyticsTag*/
|
|
16386
|
-
t[44]), e = new _2({ props: ce }), te.push(() => he(e, "projectId", Fe)), te.push(() => he(e, "contentId", et)), te.push(() => he(e, "playlistId", ft)), te.push(() => he(e, "sourceId", yt)), te.push(() => he(e, "sourceUrl", We)), te.push(() => he(e, "showUserInterface",
|
|
16387
|
+
t[44]), e = new _2({ props: ce }), te.push(() => he(e, "projectId", Fe)), te.push(() => he(e, "contentId", et)), te.push(() => he(e, "playlistId", ft)), te.push(() => he(e, "sourceId", yt)), te.push(() => he(e, "sourceUrl", We)), te.push(() => he(e, "showUserInterface", je)), te.push(() => he(e, "playerStyle", Je)), te.push(() => he(e, "playerTitle", He)), te.push(() => he(e, "callToAction", St)), te.push(() => he(e, "skipButtonStyle", Ge)), te.push(() => he(e, "playlistStyle", Xe)), te.push(() => he(e, "playlistToggle", Qe)), te.push(() => he(e, "mediaSession", ze)), te.push(() => he(e, "contentIndex", $e)), te.push(() => he(e, "introsOutrosIndex", Ye)), te.push(() => he(e, "advertIndex", gt)), te.push(() => he(e, "persistentAdImage", xe)), te.push(() => he(e, "persistentIndex", st)), te.push(() => he(e, "duration", tt)), te.push(() => he(e, "currentTime", wt)), te.push(() => he(e, "playbackState", Ue)), te.push(() => he(e, "playbackRate", bt)), te.push(() => he(e, "widgetStyle", ct)), te.push(() => he(e, "widgetPosition", x)), te.push(() => he(e, "widgetWidth", Me)), te.push(() => he(e, "widgetTarget", Le)), te.push(() => he(e, "textColor", Ke)), te.push(() => he(e, "backgroundColor", Ze)), te.push(() => he(e, "iconColor", ht)), te.push(() => he(e, "highlightColor", lt)), te.push(() => he(e, "videoTextColor", Pt)), te.push(() => he(e, "videoIconColor", kt)), te.push(() => he(e, "logoIconEnabled", qe)), te.push(() => he(e, "highlightSections", rt)), te.push(() => he(e, "clickableSections", Mt)), te.push(() => he(e, "segmentWidgetSections", Tt)), te.push(() => he(e, "segmentWidgetPosition", Et)), te.push(() => he(e, "currentSegment", at)), te.push(() => he(e, "hoveredSegment", Lt)), te.push(() => he(e, "advertConsent", Ft)), te.push(() => he(e, "analyticsConsent", D)), te.push(() => he(e, "analyticsCustomUrl", pt)), te.push(() => he(e, "analyticsTag", ut)), {
|
|
16387
16388
|
c() {
|
|
16388
16389
|
ue(e.$$.fragment);
|
|
16389
16390
|
},
|
|
@@ -16430,15 +16431,15 @@ function t3(t) {
|
|
|
16430
16431
|
256 && (y = !0, se.introsOutrosIndex = /*introsOutrosIndex*/
|
|
16431
16432
|
S[8], fe(() => y = !1)), !C && P[0] & /*advertIndex*/
|
|
16432
16433
|
512 && (C = !0, se.advertIndex = /*advertIndex*/
|
|
16433
|
-
S[9], fe(() => C = !1)), !
|
|
16434
|
-
1073741824 && (
|
|
16435
|
-
S[30], fe(() =>
|
|
16434
|
+
S[9], fe(() => C = !1)), !O && P[0] & /*persistentAdImage*/
|
|
16435
|
+
1073741824 && (O = !0, se.persistentAdImage = /*persistentAdImage*/
|
|
16436
|
+
S[30], fe(() => O = !1)), !z && P[0] & /*persistentIndex*/
|
|
16436
16437
|
1024 && (z = !0, se.persistentIndex = /*persistentIndex*/
|
|
16437
16438
|
S[10], fe(() => z = !1)), !W && P[1] & /*duration*/
|
|
16438
16439
|
1 && (W = !0, se.duration = /*duration*/
|
|
16439
|
-
S[31], fe(() => W = !1)), !
|
|
16440
|
-
2048 && (
|
|
16441
|
-
S[11], fe(() =>
|
|
16440
|
+
S[31], fe(() => W = !1)), !j && P[0] & /*currentTime*/
|
|
16441
|
+
2048 && (j = !0, se.currentTime = /*currentTime*/
|
|
16442
|
+
S[11], fe(() => j = !1)), !L && P[0] & /*playbackState*/
|
|
16442
16443
|
4096 && (L = !0, se.playbackState = /*playbackState*/
|
|
16443
16444
|
S[12], fe(() => L = !1)), !N && P[1] & /*playbackRate*/
|
|
16444
16445
|
2 && (N = !0, se.playbackRate = /*playbackRate*/
|
|
@@ -16585,7 +16586,7 @@ function br(t) {
|
|
|
16585
16586
|
}
|
|
16586
16587
|
function kr(t) {
|
|
16587
16588
|
let e, i;
|
|
16588
|
-
return e = new
|
|
16589
|
+
return e = new j2({
|
|
16589
16590
|
props: { analyticsTag: (
|
|
16590
16591
|
/*analyticsTag*/
|
|
16591
16592
|
t[44]
|
|
@@ -16642,64 +16643,64 @@ function i3(t) {
|
|
|
16642
16643
|
W[157]
|
|
16643
16644
|
);
|
|
16644
16645
|
for (let W = 0; W < k.length; W += 1) {
|
|
16645
|
-
let
|
|
16646
|
-
l.set(L, s[W] = vr(L,
|
|
16646
|
+
let j = hr(t, k, W), L = y(j);
|
|
16647
|
+
l.set(L, s[W] = vr(L, j));
|
|
16647
16648
|
}
|
|
16648
16649
|
let C = (
|
|
16649
16650
|
/*controlPanel*/
|
|
16650
16651
|
t[22] && yr(t)
|
|
16651
|
-
),
|
|
16652
|
+
), O = (
|
|
16652
16653
|
/*showMediaSession*/
|
|
16653
16654
|
t[55] && br(t)
|
|
16654
16655
|
), z = (
|
|
16655
16656
|
/*analyticsTag*/
|
|
16656
16657
|
t[44] && kr(t)
|
|
16657
16658
|
);
|
|
16658
|
-
return g = new
|
|
16659
|
+
return g = new O2({}), {
|
|
16659
16660
|
c() {
|
|
16660
16661
|
ue(e.$$.fragment), i = Y(), _ && _.c(), n = Y(), v && v.c(), o = Y();
|
|
16661
16662
|
for (let W = 0; W < s.length; W += 1)
|
|
16662
16663
|
s[W].c();
|
|
16663
|
-
r = Y(), C && C.c(), a = Y(),
|
|
16664
|
+
r = Y(), C && C.c(), a = Y(), O && O.c(), u = Y(), z && z.c(), d = Y(), ue(g.$$.fragment);
|
|
16664
16665
|
},
|
|
16665
|
-
m(W,
|
|
16666
|
-
re(e, W,
|
|
16666
|
+
m(W, j) {
|
|
16667
|
+
re(e, W, j), B(W, i, j), _ && _.m(W, j), B(W, n, j), v && v.m(W, j), B(W, o, j);
|
|
16667
16668
|
for (let L = 0; L < s.length; L += 1)
|
|
16668
|
-
s[L] && s[L].m(W,
|
|
16669
|
-
B(W, r,
|
|
16669
|
+
s[L] && s[L].m(W, j);
|
|
16670
|
+
B(W, r, j), C && C.m(W, j), B(W, a, j), O && O.m(W, j), B(W, u, j), z && z.m(W, j), B(W, d, j), re(g, W, j), m = !0;
|
|
16670
16671
|
},
|
|
16671
|
-
p(W,
|
|
16672
|
+
p(W, j) {
|
|
16672
16673
|
const L = {};
|
|
16673
|
-
|
|
16674
|
+
j[2] & /*videoRoot*/
|
|
16674
16675
|
64 && (L.root = /*videoRoot*/
|
|
16675
|
-
W[68]),
|
|
16676
|
-
8411296 |
|
|
16677
|
-
1611809807 |
|
|
16678
|
-
134 |
|
|
16679
|
-
32 && (L.$$scope = { dirty:
|
|
16680
|
-
W[71] ? _ ? (_.p(W,
|
|
16676
|
+
W[68]), j[0] & /*contentIndex, showUserInterface, widgetTarget, playbackState, currentTime, isLoaded*/
|
|
16677
|
+
8411296 | j[1] & /*content, introOrOutro, activeAdvert, advertConsent, widgetPosition, widgetWidth, mediaElement, duration, playbackRate, prevPercentage*/
|
|
16678
|
+
1611809807 | j[2] & /*videoBehindWidget, videoBehindStatic, videoMightBeShown*/
|
|
16679
|
+
134 | j[5] & /*$$scope*/
|
|
16680
|
+
32 && (L.$$scope = { dirty: j, ctx: W }), e.$set(L), /*showStaticInterface*/
|
|
16681
|
+
W[71] ? _ ? (_.p(W, j), j[2] & /*showStaticInterface*/
|
|
16681
16682
|
512 && p(_, 1)) : (_ = _r(W), _.c(), p(_, 1), _.m(n.parentNode, n)) : _ && (Ne(), I(_, 1, 1, () => {
|
|
16682
16683
|
_ = null;
|
|
16683
16684
|
}), De()), /*showWidgetInterface*/
|
|
16684
|
-
W[70] ? v ? (v.p(W,
|
|
16685
|
+
W[70] ? v ? (v.p(W, j), j[2] & /*showWidgetInterface*/
|
|
16685
16686
|
256 && p(v, 1)) : (v = mr(W), v.c(), p(v, 1), v.m(o.parentNode, o)) : v && (Ne(), I(v, 1, 1, () => {
|
|
16686
16687
|
v = null;
|
|
16687
|
-
}), De()),
|
|
16688
|
-
6272 |
|
|
16689
|
-
1486094833 |
|
|
16688
|
+
}), De()), j[0] & /*contentIndex, currentTime, playbackState*/
|
|
16689
|
+
6272 | j[1] & /*segmentWidgets, onEvent, widgetSegment, content, duration, activeAdvert, textColor, backgroundColor, iconColor, videoTextColor, videoBackgroundColor, videoIconColor*/
|
|
16690
|
+
1486094833 | j[2] & /*widgetIsCurrent, showRealTimeInWidget, persistentAdvert*/
|
|
16690
16691
|
1041 && (k = $t(
|
|
16691
16692
|
/*segmentWidgets*/
|
|
16692
16693
|
W[49]
|
|
16693
|
-
), Ne(), s = gu(s,
|
|
16694
|
-
W[22] ? C ? (C.p(W,
|
|
16694
|
+
), Ne(), s = gu(s, j, y, 1, W, k, l, r.parentNode, du, vr, r, hr), De()), /*controlPanel*/
|
|
16695
|
+
W[22] ? C ? (C.p(W, j), j[0] & /*controlPanel*/
|
|
16695
16696
|
4194304 && p(C, 1)) : (C = yr(W), C.c(), p(C, 1), C.m(a.parentNode, a)) : C && (Ne(), I(C, 1, 1, () => {
|
|
16696
16697
|
C = null;
|
|
16697
16698
|
}), De()), /*showMediaSession*/
|
|
16698
|
-
W[55] ?
|
|
16699
|
-
16777216 && p(
|
|
16700
|
-
|
|
16699
|
+
W[55] ? O ? (O.p(W, j), j[1] & /*showMediaSession*/
|
|
16700
|
+
16777216 && p(O, 1)) : (O = br(W), O.c(), p(O, 1), O.m(u.parentNode, u)) : O && (Ne(), I(O, 1, 1, () => {
|
|
16701
|
+
O = null;
|
|
16701
16702
|
}), De()), /*analyticsTag*/
|
|
16702
|
-
W[44] ? z ? (z.p(W,
|
|
16703
|
+
W[44] ? z ? (z.p(W, j), j[1] & /*analyticsTag*/
|
|
16703
16704
|
8192 && p(z, 1)) : (z = kr(W), z.c(), p(z, 1), z.m(d.parentNode, d)) : z && (Ne(), I(z, 1, 1, () => {
|
|
16704
16705
|
z = null;
|
|
16705
16706
|
}), De());
|
|
@@ -16707,27 +16708,27 @@ function i3(t) {
|
|
|
16707
16708
|
i(W) {
|
|
16708
16709
|
if (!m) {
|
|
16709
16710
|
p(e.$$.fragment, W), p(_), p(v);
|
|
16710
|
-
for (let
|
|
16711
|
-
p(s[
|
|
16712
|
-
p(C), p(
|
|
16711
|
+
for (let j = 0; j < k.length; j += 1)
|
|
16712
|
+
p(s[j]);
|
|
16713
|
+
p(C), p(O), p(z), p(g.$$.fragment, W), m = !0;
|
|
16713
16714
|
}
|
|
16714
16715
|
},
|
|
16715
16716
|
o(W) {
|
|
16716
16717
|
I(e.$$.fragment, W), I(_), I(v);
|
|
16717
|
-
for (let
|
|
16718
|
-
I(s[
|
|
16719
|
-
I(C), I(
|
|
16718
|
+
for (let j = 0; j < s.length; j += 1)
|
|
16719
|
+
I(s[j]);
|
|
16720
|
+
I(C), I(O), I(z), I(g.$$.fragment, W), m = !1;
|
|
16720
16721
|
},
|
|
16721
16722
|
d(W) {
|
|
16722
16723
|
W && (A(i), A(n), A(o), A(r), A(a), A(u), A(d)), ae(e, W), _ && _.d(W), v && v.d(W);
|
|
16723
|
-
for (let
|
|
16724
|
-
s[
|
|
16725
|
-
C && C.d(W),
|
|
16724
|
+
for (let j = 0; j < s.length; j += 1)
|
|
16725
|
+
s[j].d(W);
|
|
16726
|
+
C && C.d(W), O && O.d(W), z && z.d(W), ae(g, W);
|
|
16726
16727
|
}
|
|
16727
16728
|
};
|
|
16728
16729
|
}
|
|
16729
16730
|
function n3(t, e, i) {
|
|
16730
|
-
let n, o, s, l, r, a, u, d, g, m, _, v, k, y, C,
|
|
16731
|
+
let n, o, s, l, r, a, u, d, g, m, _, v, k, y, C, O, z, W, j, L, N, K, U, { playerApiUrl: X = "https://api.beyondwords.io/v1/projects/{id}/player" } = e, { projectId: Te = void 0 } = e, { contentId: me = void 0 } = e, { playlistId: ve = void 0 } = e, { sourceId: ne = void 0 } = e, { sourceUrl: ee = void 0 } = e, { playlist: F = [] } = e, { showUserInterface: oe = !0 } = e, { showBottomWidget: ge = !1 } = e, { playerStyle: Z = "standard" } = e, { playerTitle: le = void 0 } = e, { callToAction: w = void 0 } = e, { skipButtonStyle: q = "auto" } = e, { playlistStyle: we = "auto-5-4" } = e, { playlistToggle: Se = "auto" } = e, { downloadFormats: Ie = [] } = e, { mediaSession: J = "auto" } = e, { content: Ce = [] } = e, { contentIndex: Ae = 0 } = e, { introsOutros: Re = [] } = e, { introsOutrosIndex: Fe = -1 } = e, { adverts: et = [] } = e, { advertIndex: ft = -1 } = e, { persistentAdImage: yt = !1 } = e, { persistentIndex: We = -1 } = e, { duration: je = 0 } = e, { currentTime: Je = 0 } = e, { playbackState: He = "stopped" } = e, { playbackRate: St = 1 } = e, { playbackRates: Ge = [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: Qe = "auto" } = e, { widgetWidth: ze = "auto" } = e, { widgetTarget: $e = void 0 } = e, { textColor: Ye = "#111" } = e, { backgroundColor: gt = "#f5f5f5" } = e, { iconColor: xe = "rgba(0, 0, 0, 0.8)" } = e, { highlightColor: st = "#eee" } = e, { videoTextColor: tt = "white" } = e, { videoBackgroundColor: wt = "black" } = e, { videoIconColor: Ue = "white" } = e, { logoIconEnabled: bt = !0 } = e, { highlightSections: ct = "all" } = e, { clickableSections: x = "all" } = e, { segmentWidgetSections: Me = "body" } = e, { segmentWidgetPosition: Le = "7-oclock" } = e, { currentSegment: Ke = void 0 } = e, { hoveredSegment: Ze = void 0 } = e, { loadedMedia: ht = void 0 } = e, { advertConsent: lt = "personalized" } = e, { analyticsConsent: Pt = "allowed" } = e, { analyticsCustomUrl: kt = void 0 } = e, { analyticsTag: qe = void 0 } = e, { writeToken: rt = void 0 } = e, { captureErrors: Mt = !0 } = e, { onError: Tt = () => {
|
|
16731
16732
|
} } = e, { transitions: Et = [] } = e, { controlPanel: at = void 0 } = e;
|
|
16732
16733
|
const Lt = (...h) => Vt.addEventListener(...h), Ft = (...h) => Vt.removeEventListener(...h);
|
|
16733
16734
|
let { initialProps: D = {} } = e, { showMediaSession: pt = !1 } = e, { isLoaded: ut = !1 } = e, { isFullScreen: ce = !1 } = e, { mediaElement: S = void 0 } = e, { userInterface: P = void 0 } = e, { widgetInterface: se = void 0 } = e, { controller: Vt = void 0 } = e, { logoImagePosition: oi = void 0 } = e, { analyticsUrl: pi = void 0 } = e, { analyticsId: zt = void 0 } = e, { listenSessionId: Ri = void 0 } = e, { sessionCreatedAt: si = void 0 } = e, { isNewListen: en = !1 } = e, { prevPercentage: dt = 0 } = e, { segmentWidgets: _i = [] } = e, { segmentContainers: ei = new Ys((h) => i(49, _i = h)) } = e, { segmentClickables: mi = new Hs() } = e, { segmentHighlights: Ct = new qs() } = e;
|
|
@@ -16741,7 +16742,7 @@ function n3(t, e, i) {
|
|
|
16741
16742
|
He = h, i(12, He);
|
|
16742
16743
|
}
|
|
16743
16744
|
function li(h) {
|
|
16744
|
-
|
|
16745
|
+
je = h, i(31, je);
|
|
16745
16746
|
}
|
|
16746
16747
|
function mn(h) {
|
|
16747
16748
|
Je = h, i(11, Je);
|
|
@@ -16776,7 +16777,7 @@ function n3(t, e, i) {
|
|
|
16776
16777
|
function ui(h) {
|
|
16777
16778
|
me = h, i(1, me);
|
|
16778
16779
|
}
|
|
16779
|
-
function
|
|
16780
|
+
function jt(h) {
|
|
16780
16781
|
ve = h, i(2, ve);
|
|
16781
16782
|
}
|
|
16782
16783
|
function V(h) {
|
|
@@ -16825,7 +16826,7 @@ function n3(t, e, i) {
|
|
|
16825
16826
|
We = h, i(10, We);
|
|
16826
16827
|
}
|
|
16827
16828
|
function po(h) {
|
|
16828
|
-
|
|
16829
|
+
je = h, i(31, je);
|
|
16829
16830
|
}
|
|
16830
16831
|
function Yn(h) {
|
|
16831
16832
|
Je = h, i(11, Je);
|
|
@@ -16869,10 +16870,10 @@ function n3(t, e, i) {
|
|
|
16869
16870
|
function Po(h) {
|
|
16870
16871
|
bt = h, i(40, bt);
|
|
16871
16872
|
}
|
|
16872
|
-
function
|
|
16873
|
+
function ja(h) {
|
|
16873
16874
|
ct = h, i(16, ct);
|
|
16874
16875
|
}
|
|
16875
|
-
function
|
|
16876
|
+
function Oa(h) {
|
|
16876
16877
|
x = h, i(17, x);
|
|
16877
16878
|
}
|
|
16878
16879
|
function Ma(h) {
|
|
@@ -16900,7 +16901,7 @@ function n3(t, e, i) {
|
|
|
16900
16901
|
qe = h, i(44, qe);
|
|
16901
16902
|
}
|
|
16902
16903
|
return t.$$set = (h) => {
|
|
16903
|
-
"playerApiUrl" in h && i(73, X = h.playerApiUrl), "projectId" in h && i(0, Te = h.projectId), "contentId" in h && i(1, me = h.contentId), "playlistId" in h && i(2, ve = h.playlistId), "sourceId" in h && i(3, ne = h.sourceId), "sourceUrl" in h && i(4, ee = h.sourceUrl), "playlist" in h && i(74, F = h.playlist), "showUserInterface" in h && i(5, oe = h.showUserInterface), "showBottomWidget" in h && i(75, ge = h.showBottomWidget), "playerStyle" in h && i(6, Z = h.playerStyle), "playerTitle" in h && i(24, le = h.playerTitle), "callToAction" in h && i(25, w = h.callToAction), "skipButtonStyle" in h && i(26, q = h.skipButtonStyle), "playlistStyle" in h && i(27, we = h.playlistStyle), "playlistToggle" in h && i(28, Se = h.playlistToggle), "downloadFormats" in h && i(50, Ie = h.downloadFormats), "mediaSession" in h && i(29, J = h.mediaSession), "content" in h && i(51, Ce = h.content), "contentIndex" in h && i(7, Ae = h.contentIndex), "introsOutros" in h && i(52, Re = h.introsOutros), "introsOutrosIndex" in h && i(8, Fe = h.introsOutrosIndex), "adverts" in h && i(53, et = h.adverts), "advertIndex" in h && i(9, ft = h.advertIndex), "persistentAdImage" in h && i(30, yt = h.persistentAdImage), "persistentIndex" in h && i(10, We = h.persistentIndex), "duration" in h && i(31,
|
|
16904
|
+
"playerApiUrl" in h && i(73, X = h.playerApiUrl), "projectId" in h && i(0, Te = h.projectId), "contentId" in h && i(1, me = h.contentId), "playlistId" in h && i(2, ve = h.playlistId), "sourceId" in h && i(3, ne = h.sourceId), "sourceUrl" in h && i(4, ee = h.sourceUrl), "playlist" in h && i(74, F = h.playlist), "showUserInterface" in h && i(5, oe = h.showUserInterface), "showBottomWidget" in h && i(75, ge = h.showBottomWidget), "playerStyle" in h && i(6, Z = h.playerStyle), "playerTitle" in h && i(24, le = h.playerTitle), "callToAction" in h && i(25, w = h.callToAction), "skipButtonStyle" in h && i(26, q = h.skipButtonStyle), "playlistStyle" in h && i(27, we = h.playlistStyle), "playlistToggle" in h && i(28, Se = h.playlistToggle), "downloadFormats" in h && i(50, Ie = h.downloadFormats), "mediaSession" in h && i(29, J = h.mediaSession), "content" in h && i(51, Ce = h.content), "contentIndex" in h && i(7, Ae = h.contentIndex), "introsOutros" in h && i(52, Re = h.introsOutros), "introsOutrosIndex" in h && i(8, Fe = h.introsOutrosIndex), "adverts" in h && i(53, et = h.adverts), "advertIndex" in h && i(9, ft = h.advertIndex), "persistentAdImage" in h && i(30, yt = h.persistentAdImage), "persistentIndex" in h && i(10, We = h.persistentIndex), "duration" in h && i(31, je = h.duration), "currentTime" in h && i(11, Je = h.currentTime), "playbackState" in h && i(12, He = h.playbackState), "playbackRate" in h && i(32, St = h.playbackRate), "playbackRates" in h && i(76, Ge = h.playbackRates), "widgetStyle" in h && i(13, Xe = h.widgetStyle), "widgetPosition" in h && i(33, Qe = h.widgetPosition), "widgetWidth" in h && i(34, ze = h.widgetWidth), "widgetTarget" in h && i(14, $e = h.widgetTarget), "textColor" in h && i(35, Ye = h.textColor), "backgroundColor" in h && i(36, gt = h.backgroundColor), "iconColor" in h && i(37, xe = h.iconColor), "highlightColor" in h && i(15, st = h.highlightColor), "videoTextColor" in h && i(38, tt = h.videoTextColor), "videoBackgroundColor" in h && i(54, wt = h.videoBackgroundColor), "videoIconColor" in h && i(39, Ue = h.videoIconColor), "logoIconEnabled" in h && i(40, bt = h.logoIconEnabled), "highlightSections" in h && i(16, ct = h.highlightSections), "clickableSections" in h && i(17, x = h.clickableSections), "segmentWidgetSections" in h && i(18, Me = h.segmentWidgetSections), "segmentWidgetPosition" in h && i(19, Le = h.segmentWidgetPosition), "currentSegment" in h && i(20, Ke = h.currentSegment), "hoveredSegment" in h && i(21, Ze = h.hoveredSegment), "loadedMedia" in h && i(77, ht = h.loadedMedia), "advertConsent" in h && i(41, lt = h.advertConsent), "analyticsConsent" in h && i(42, Pt = h.analyticsConsent), "analyticsCustomUrl" in h && i(43, kt = h.analyticsCustomUrl), "analyticsTag" in h && i(44, qe = h.analyticsTag), "writeToken" in h && i(78, rt = h.writeToken), "captureErrors" in h && i(79, Mt = h.captureErrors), "onError" in h && i(80, Tt = h.onError), "transitions" in h && i(81, Et = h.transitions), "controlPanel" in h && i(22, at = h.controlPanel), "initialProps" in h && i(84, D = h.initialProps), "showMediaSession" in h && i(55, pt = h.showMediaSession), "isLoaded" in h && i(23, ut = h.isLoaded), "isFullScreen" in h && i(56, ce = h.isFullScreen), "mediaElement" in h && i(45, S = h.mediaElement), "userInterface" in h && i(46, P = h.userInterface), "widgetInterface" in h && i(47, se = h.widgetInterface), "controller" in h && i(85, Vt = h.controller), "logoImagePosition" in h && i(57, oi = h.logoImagePosition), "analyticsUrl" in h && i(86, pi = h.analyticsUrl), "analyticsId" in h && i(87, zt = h.analyticsId), "listenSessionId" in h && i(88, Ri = h.listenSessionId), "sessionCreatedAt" in h && i(89, si = h.sessionCreatedAt), "isNewListen" in h && i(90, en = h.isNewListen), "prevPercentage" in h && i(48, dt = h.prevPercentage), "segmentWidgets" in h && i(49, _i = h.segmentWidgets), "segmentContainers" in h && i(91, ei = h.segmentContainers), "segmentClickables" in h && i(92, mi = h.segmentClickables), "segmentHighlights" in h && i(93, Ct = h.segmentHighlights);
|
|
16904
16905
|
}, t.$$.update = () => {
|
|
16905
16906
|
t.$$.dirty[0] & /*contentIndex*/
|
|
16906
16907
|
128 | t.$$.dirty[1] & /*content*/
|
|
@@ -16936,22 +16937,22 @@ function n3(t, e, i) {
|
|
|
16936
16937
|
4 && i(68, C = _ ? $e : null), t.$$.dirty[0] & /*isLoaded*/
|
|
16937
16938
|
8388608 | t.$$.dirty[2] & /*videoMightBeShown*/
|
|
16938
16939
|
2 | t.$$.dirty[3] & /*isAudio*/
|
|
16939
|
-
128 && i(99,
|
|
16940
|
+
128 && i(99, O = a && y && ut), t.$$.dirty[1] & /*activeAdvert*/
|
|
16940
16941
|
1073741824 | t.$$.dirty[3] & /*showVideoPoster, isAdvert, contentItem*/
|
|
16941
|
-
112 && i(67, z =
|
|
16942
|
+
112 && i(67, z = O ? r && (s == null ? void 0 : s.imageUrl) || (n == null ? void 0 : n.imageUrl) : ""), t.$$.dirty[0] & /*projectId, contentId, playlistId, sourceId, sourceUrl*/
|
|
16942
16943
|
31 | t.$$.dirty[2] & /*playlist*/
|
|
16943
16944
|
4096 && Nt(M2()), t.$$.dirty[0] & /*projectId*/
|
|
16944
16945
|
1 | t.$$.dirty[2] & /*playerApiUrl, writeToken*/
|
|
16945
16946
|
67584 && L2(X, Te, rt, (h) => Nt(h)), t.$$.dirty[0] & /*hoveredSegment*/
|
|
16946
16947
|
2097152 | t.$$.dirty[3] & /*lastHovered*/
|
|
16947
16948
|
4 && i(95, W = Ze || W), t.$$.dirty[0] & /*currentSegment, segmentWidgetSections*/
|
|
16948
|
-
1310720 && i(94,
|
|
16949
|
+
1310720 && i(94, j = so("current", Ke, Me)), t.$$.dirty[0] & /*currentSegment*/
|
|
16949
16950
|
1048576 | t.$$.dirty[3] & /*currentAllowedInWidget*/
|
|
16950
|
-
2 &&
|
|
16951
|
+
2 && j && Ai(), t.$$.dirty[0] & /*segmentWidgetSections*/
|
|
16951
16952
|
262144 | t.$$.dirty[3] & /*lastHovered*/
|
|
16952
16953
|
4 && i(96, L = so("hovered", W, Me)), t.$$.dirty[0] & /*currentSegment*/
|
|
16953
16954
|
1048576 | t.$$.dirty[3] & /*hoveredAllowedInWidget, lastHovered, currentAllowedInWidget*/
|
|
16954
|
-
14 && i(59, N = L && W ||
|
|
16955
|
+
14 && i(59, N = L && W || j && Ke), t.$$.dirty[0] & /*currentSegment*/
|
|
16955
16956
|
1048576 | t.$$.dirty[1] & /*widgetSegment*/
|
|
16956
16957
|
268435456 && i(62, K = (N == null ? void 0 : N.marker) === (Ke == null ? void 0 : Ke.marker)), t.$$.dirty[1] & /*activeAdvert, introOrOutro*/
|
|
16957
16958
|
1610612736 | t.$$.dirty[2] & /*widgetIsCurrent*/
|
|
@@ -16999,7 +17000,7 @@ function n3(t, e, i) {
|
|
|
16999
17000
|
Se,
|
|
17000
17001
|
J,
|
|
17001
17002
|
yt,
|
|
17002
|
-
|
|
17003
|
+
je,
|
|
17003
17004
|
St,
|
|
17004
17005
|
Qe,
|
|
17005
17006
|
ze,
|
|
@@ -17062,12 +17063,12 @@ function n3(t, e, i) {
|
|
|
17062
17063
|
ei,
|
|
17063
17064
|
mi,
|
|
17064
17065
|
Ct,
|
|
17065
|
-
|
|
17066
|
+
j,
|
|
17066
17067
|
W,
|
|
17067
17068
|
L,
|
|
17068
17069
|
n,
|
|
17069
17070
|
r,
|
|
17070
|
-
|
|
17071
|
+
O,
|
|
17071
17072
|
a,
|
|
17072
17073
|
d,
|
|
17073
17074
|
Dt,
|
|
@@ -17082,7 +17083,7 @@ function n3(t, e, i) {
|
|
|
17082
17083
|
ai,
|
|
17083
17084
|
mt,
|
|
17084
17085
|
ui,
|
|
17085
|
-
|
|
17086
|
+
jt,
|
|
17086
17087
|
V,
|
|
17087
17088
|
H,
|
|
17088
17089
|
ie,
|
|
@@ -17113,8 +17114,8 @@ function n3(t, e, i) {
|
|
|
17113
17114
|
it,
|
|
17114
17115
|
vt,
|
|
17115
17116
|
Po,
|
|
17116
|
-
Oa,
|
|
17117
17117
|
ja,
|
|
17118
|
+
Oa,
|
|
17118
17119
|
Ma,
|
|
17119
17120
|
Ea,
|
|
17120
17121
|
za,
|
|
@@ -17865,8 +17866,8 @@ const Ks = (t) => typeof t != "object" || t === null ? t : Array.isArray(t) ? t.
|
|
|
17865
17866
|
const C = y3[y.type] || 0;
|
|
17866
17867
|
if (C < m)
|
|
17867
17868
|
continue;
|
|
17868
|
-
const
|
|
17869
|
-
C === m &&
|
|
17869
|
+
const O = Math.random();
|
|
17870
|
+
C === m && O < _ || (g = k, m = C, _ = O);
|
|
17870
17871
|
}
|
|
17871
17872
|
return g;
|
|
17872
17873
|
}, y3 = { vast: 1, custom: 0 }, b3 = ({ content: t, contentIndex: e, currentTime: i, atTheStart: n, atTheEnd: o }) => {
|
|
@@ -17919,7 +17920,7 @@ const Ks = (t) => typeof t != "object" || t === null ? t : Array.isArray(t) ? t.
|
|
|
17919
17920
|
}
|
|
17920
17921
|
if (i !== -1)
|
|
17921
17922
|
return -1;
|
|
17922
|
-
const d =
|
|
17923
|
+
const d = j3({ content: n, contentIndex: o, currentTime: s, atTheStart: l, atTheEnd: r });
|
|
17923
17924
|
let g = -1, m = -1 / 0, _ = -1 / 0;
|
|
17924
17925
|
for (const [v, k] of t.entries()) {
|
|
17925
17926
|
if (B3(k) || !d.has(k.placement))
|
|
@@ -17931,10 +17932,10 @@ const Ks = (t) => typeof t != "object" || t === null ? t : Array.isArray(t) ? t.
|
|
|
17931
17932
|
y === m && C < _ || (g = v, m = y, _ = C);
|
|
17932
17933
|
}
|
|
17933
17934
|
return g;
|
|
17934
|
-
},
|
|
17935
|
+
}, j3 = ({ content: t, contentIndex: e, currentTime: i, atTheStart: n, atTheEnd: o }) => {
|
|
17935
17936
|
const s = /* @__PURE__ */ new Set(), l = n && e === 0 && i === 0, r = o && e === t.length - 1;
|
|
17936
17937
|
return l && s.add("pre-roll"), r && s.add("post-roll"), s;
|
|
17937
|
-
},
|
|
17938
|
+
}, O3 = (t) => {
|
|
17938
17939
|
if (!navigator.mediaSession)
|
|
17939
17940
|
return;
|
|
17940
17941
|
const e = t.instances().some((s) => s.mediaSession === "override");
|
|
@@ -18143,7 +18144,7 @@ class D3 {
|
|
|
18143
18144
|
this.player.playbackState = "paused";
|
|
18144
18145
|
}
|
|
18145
18146
|
handlePlaybackPlaying() {
|
|
18146
|
-
this.PlayerClass.instances().filter((n) => n !== this.player).filter((n) => n.playbackState === "playing").forEach((n) => n.playbackState = "paused"),
|
|
18147
|
+
this.PlayerClass.instances().filter((n) => n !== this.player).filter((n) => n.playbackState === "playing").forEach((n) => n.playbackState = "paused"), O3(this.PlayerClass);
|
|
18147
18148
|
}
|
|
18148
18149
|
handlePlaybackPaused() {
|
|
18149
18150
|
const e = this.player.playbackState === "playing", i = this.player.currentTime >= this.player.duration - 0.5;
|