@beyondwords/player 0.3.1 → 0.3.3
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 +297 -297
- package/dist/es.js.map +1 -1
- package/dist/umd.js +21 -21
- package/dist/umd.js.map +1 -1
- package/package.json +1 -1
package/dist/es.js
CHANGED
|
@@ -45,7 +45,7 @@ var Fi = (t, e, i) => new Promise((n, o) => {
|
|
|
45
45
|
}, a = (r) => r.done ? n(r.value) : Promise.resolve(r.value).then(s, l);
|
|
46
46
|
a((i = i.apply(t, e)).next());
|
|
47
47
|
});
|
|
48
|
-
/*! version:"0.3.
|
|
48
|
+
/*! version:"0.3.3" */
|
|
49
49
|
function Q() {
|
|
50
50
|
}
|
|
51
51
|
const Ju = (t) => t;
|
|
@@ -73,7 +73,7 @@ function pe(t, e) {
|
|
|
73
73
|
return t != t ? e == e : t !== e || t && typeof t == "object" || typeof t == "function";
|
|
74
74
|
}
|
|
75
75
|
let Ho;
|
|
76
|
-
function
|
|
76
|
+
function Ri(t, e) {
|
|
77
77
|
return t === e ? !0 : (Ho || (Ho = document.createElement("a")), Ho.href = e, t === Ho.href);
|
|
78
78
|
}
|
|
79
79
|
function Qu(t) {
|
|
@@ -118,10 +118,10 @@ function io(t) {
|
|
|
118
118
|
}
|
|
119
119
|
return -1;
|
|
120
120
|
}
|
|
121
|
-
function
|
|
121
|
+
function Rl(t) {
|
|
122
122
|
return t == null ? "" : t;
|
|
123
123
|
}
|
|
124
|
-
function
|
|
124
|
+
function Nl(t) {
|
|
125
125
|
const e = typeof t == "string" && t.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);
|
|
126
126
|
return e ? [parseFloat(e[1]), e[2] || "px"] : [
|
|
127
127
|
/** @type {number} */
|
|
@@ -593,7 +593,7 @@ class we {
|
|
|
593
593
|
}
|
|
594
594
|
const yc = "4";
|
|
595
595
|
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(yc);
|
|
596
|
-
const vc = "@beyondwords/player", ho = "0.3.
|
|
596
|
+
const vc = "@beyondwords/player", ho = "0.3.3", wi = (t, e) => {
|
|
597
597
|
t = [t].flat().join(`
|
|
598
598
|
`);
|
|
599
599
|
let i = `${vc}:
|
|
@@ -646,13 +646,13 @@ function us(t, e, i) {
|
|
|
646
646
|
return Sc(n);
|
|
647
647
|
}
|
|
648
648
|
const Ol = ["user", "media", "browser", "media-session-api", "google-ima-sdk"], Sr = ["inline-player", "bottom-widget", "segment", "segment-widget"], wc = ["handled", "ignored-due-to-advert", "ignored-due-to-scrubbing", "ignored-due-to-precedence"], Tc = ["load", "play", "play_progress", "ad_link_click"], Cc = ["phone", "tablet", "desktop", "ios", "android"], Ic = ["content", "ad"], Oc = (t) => {
|
|
649
|
-
|
|
649
|
+
Re(t, "type", (e) => Vl(e)), Re(t, "description", (e) => e.length > 0), Re(t, "initiatedBy", (e) => Ol.includes(e));
|
|
650
650
|
}, Vc = (t) => {
|
|
651
|
-
|
|
651
|
+
Re(t, "type", (e) => Vl(e)), Re(t, "description", (e) => e.length > 0), Re(t, "initiatedBy", (e) => Ol.includes(e)), Re(t, "emittedFrom", (e) => Sr.includes(e)), Re(t, "id", (e) => _o(e)), Re(t, "createdAt", (e) => ll(e)), Re(t, "status", (e) => e === "pending");
|
|
652
652
|
}, Bc = (t) => {
|
|
653
|
-
|
|
653
|
+
Re(t, "type", (e) => Vl(e)), Re(t, "description", (e) => e.length > 0), Re(t, "initiatedBy", (e) => Ol.includes(e)), Re(t, "emittedFrom", (e) => Sr.includes(e)), Re(t, "id", (e) => _o(e)), Re(t, "createdAt", (e) => ll(e)), Re(t, "status", (e) => wc.includes(e)), Re(t, "changedProps", (e) => typeof e == "object"), Re(t, "processedAt", (e) => ll(e));
|
|
654
654
|
}, Wc = (t) => {
|
|
655
|
-
|
|
655
|
+
Re(t, "event_type", (e) => Tc.includes(e)), Re(t, "device_type", (e) => Cc.includes(e)), Re(t, "media_type", (e) => Ic.includes(e)), Re(t, "content_id", (e) => !e || _o(e)), Re(t, "project_id", (e) => !e || e > 0), Re(t, "analytics_id", (e) => !e || e > 0), Re(t, "ad_id", (e) => !e || e > 0), Re(t, "media_id", (e) => !e || e > 0), Re(t, "local_storage_id", (e) => !e || _o(e)), Re(t, "listen_session_id", (e) => !e || _o(e)), Re(t, "session_created_at", (e) => e >= 0), Re(t, "duration", (e) => e >= 0), Re(t, "listen_length_percent", (e) => e >= 0 && e <= 100), Re(t, "listen_length_seconds", (e) => e >= 0), Re(t, "speed", (e) => e >= 0), Re(t, "location", (e) => e.length > 0), Re(t, "referrer", (e) => typeof e == "string"), Re(t, "player_version", (e) => e.length > 0), Re(t, "player_npm_version", (e) => e.length > 0);
|
|
656
656
|
}, Vl = (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 Ol = ["user", "media", "browser", "media-session-api", "google-ima-sdk"],
|
|
|
663
663
|
} catch (e) {
|
|
664
664
|
return !1;
|
|
665
665
|
}
|
|
666
|
-
},
|
|
666
|
+
}, Re = (t, e, i) => {
|
|
667
667
|
Object.prototype.hasOwnProperty.call(t, e) || wi(`Invalid event: missing a '${e}' property`, t), i(t[e]) || wi(`Invalid event: '${e}: ${t[e]}' is invalid`, t);
|
|
668
668
|
}, ke = (t) => {
|
|
669
669
|
Oc(t);
|
|
@@ -713,8 +713,8 @@ const Ol = ["user", "media", "browser", "media-session-api", "google-ima-sdk"],
|
|
|
713
713
|
r: 2,
|
|
714
714
|
l: 1
|
|
715
715
|
}, ql = {
|
|
716
|
-
nonPersonalizedDaisybit: "
|
|
717
|
-
personalizedDaisybit: "
|
|
716
|
+
nonPersonalizedDaisybit: "CQLRckAQLRckAAAAAAENDgCAAEIAAAAAAAAAg1NX_H__bW9r8X7_aft0eY1P9_j77sQxBhfJE-4F3LvW_JwXx2E5NF36tqoKmRoEu3ZBIUNlHJHUTVmwaogVryHsakWcoTNKJ6BkkFMRM2dYCF5vm4tjeQKY5_p_d3fx2D-t_dv839zzz8VHn3e5fue0-PCdU5-9Dfn9fRfb-9IP9_78v8v8_l_rk2_eT13_pcvr_D--f_87_XW-9_cAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAA.Ig1NX_H__bX9v-X7_6ft0eY1f9_j77sQxBhfJs-4F3LvW_JwX32E7NF36tq4KmRoEu3ZBIUNtHJnUTVmxaogVrzHsakWcoTNKJ-BkkHMRe2dYCF5vm4tjeQKZ5_p_d3f52T_9_dv-39zz39Vnv3e9fuf1-Pjde5_9H_v_fRfb-_If9_7-_8v8_t_rk2_eT1__9evv__--________9_8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAE",
|
|
717
|
+
personalizedDaisybit: "CQLRckAQLRckAAAAAAENDgCAAHIAAAAAAAAAg1NX_H__bW9r8X7_aft0eY1P9_j77sQxBhfJE-4F3LvW_JwXx2E5NF36tqoKmRoEu3ZBIUNlHJHUTVmwaogVryHsakWcoTNKJ6BkkFMRM2dYCF5vm4tjeQKY5_p_d3fx2D-t_dv839zzz8VHn3e5fue0-PCdU5-9Dfn9fRfb-9IP9_78v8v8_l_rk2_eT13_pcvr_D--f_87_XW-9_cAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAA.Ig1NX_H__bX9v-X7_6ft0eY1f9_j77sQxBhfJs-4F3LvW_JwX32E7NF36tq4KmRoEu3ZBIUNtHJnUTVmxaogVrzHsakWcoTNKJ-BkkHMRe2dYCF5vm4tjeQKZ5_p_d3f52T_9_dv-39zz39Vnv3e9fuf1-Pjde5_9H_v_fRfb-_If9_7-_8v8_t_rk2_eT1__9evv__--________9_8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAE"
|
|
718
718
|
}, Lc = (t, e, i, n, o, s, l, a, r, u, c, g) => {
|
|
719
719
|
const f = window.location.hostname === "localhost";
|
|
720
720
|
return jc(t) ? xc(f, i, g) : Pr(t) ? Dc(f, t, e, i, n, o, s, l, a, r, u, c) : {};
|
|
@@ -732,17 +732,17 @@ const Ol = ["user", "media", "browser", "media-session-api", "google-ima-sdk"],
|
|
|
732
732
|
} else
|
|
733
733
|
f.is_comp_allowed = 0;
|
|
734
734
|
return f.cb = Math.floor(Math.random() * 1e10), f;
|
|
735
|
-
},
|
|
735
|
+
}, Rc = (t) => {
|
|
736
736
|
if (!t)
|
|
737
737
|
return !1;
|
|
738
738
|
const e = window.innerHeight || document.documentElement.clientHeight, i = window.innerWidth || document.documentElement.clientWidth, { top: n, bottom: o, left: s, right: l } = t.getBoundingClientRect();
|
|
739
739
|
return n < e && o > 0 && s < i && l > 0;
|
|
740
|
-
}, Yl = (t, e, i) => Ie(t, e, e === "style" ? Fc(i) : i),
|
|
740
|
+
}, Yl = (t, e, i) => Ie(t, e, e === "style" ? Fc(i) : i), Nc = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Fc = (t) => t.split(Nc).filter((e) => e).map((e) => e + " !important").join(";"), { document: Uc } = tc;
|
|
741
741
|
function Hc(t) {
|
|
742
742
|
let e, i, n, o, s, l;
|
|
743
743
|
return {
|
|
744
744
|
c() {
|
|
745
|
-
e = y("script"), e.innerHTML = "", n = J(), o = y("div"),
|
|
745
|
+
e = y("script"), e.innerHTML = "", n = J(), o = y("div"), Ri(e.src, i = "https://imasdk.googleapis.com/js/sdkloader/ima3.js") || Yl(e, "src", i), Yl(o, "class", "vast-container");
|
|
746
746
|
},
|
|
747
747
|
m(a, r) {
|
|
748
748
|
h(Uc.head, e), E(a, n, r), E(a, o, r), t[22](o), s || (l = [
|
|
@@ -789,12 +789,12 @@ function qc(t, e, i) {
|
|
|
789
789
|
var Te, Je;
|
|
790
790
|
const he = new google.ima.CompanionAdSelectionSettings();
|
|
791
791
|
he.resourceType = google.ima.CompanionAdSelectionSettings.ResourceType.STATIC, he.creativeType = google.ima.CompanionAdSelectionSettings.CreativeType.IMAGE, he.sizeCriteria = google.ima.CompanionAdSelectionSettings.SizeCriteria.IGNORE;
|
|
792
|
-
const
|
|
793
|
-
if (!
|
|
792
|
+
const Ne = (Te = j.getAd().getCompanionAds(0, 0, he)[0]) == null ? void 0 : Te.data;
|
|
793
|
+
if (!Ne)
|
|
794
794
|
return;
|
|
795
795
|
const Ge = document.createElement("div");
|
|
796
|
-
Ge.innerHTML =
|
|
797
|
-
const Me = (Je = Ge.firstChild) == null ? void 0 : Je.getAttribute("href"), nt =
|
|
796
|
+
Ge.innerHTML = Ne.content;
|
|
797
|
+
const Me = (Je = Ge.firstChild) == null ? void 0 : Je.getAttribute("href"), nt = Ne.resourceValue;
|
|
798
798
|
x(ke({
|
|
799
799
|
type: "CompanionAdvertChanged",
|
|
800
800
|
description: "The companion advert associated with the VAST advert changed.",
|
|
@@ -849,7 +849,7 @@ function qc(t, e, i) {
|
|
|
849
849
|
preloading: l,
|
|
850
850
|
errorMessage: `${he.getMessage()} (code=${he.getErrorCode()})`
|
|
851
851
|
}));
|
|
852
|
-
},
|
|
852
|
+
}, N = () => {
|
|
853
853
|
x(ke({
|
|
854
854
|
type: "PlaybackErrored",
|
|
855
855
|
description: "The media failed to play.",
|
|
@@ -886,14 +886,14 @@ function qc(t, e, i) {
|
|
|
886
886
|
"vastUrl" in j && i(6, s = j.vastUrl), "preloading" in j && i(7, l = j.preloading), "placement" in j && i(8, a = j.placement), "advertConsent" in j && i(9, r = j.advertConsent), "maxImageSize" in j && i(10, u = j.maxImageSize), "projectId" in j && i(11, c = j.projectId), "playlistId" in j && i(12, g = j.playlistId), "contentId" in j && i(13, f = j.contentId), "contentLanguage" in j && i(14, A = j.contentLanguage), "platform" in j && i(15, _ = j.platform), "vendorIdentifier" in j && i(16, k = j.vendorIdentifier), "bundleIdentifier" in j && i(17, S = j.bundleIdentifier), "video" in j && i(18, T = j.video), "playbackState" in j && i(3, v = j.playbackState), "duration" in j && i(4, P = j.duration), "currentTime" in j && i(5, O = j.currentTime), "onEvent" in j && i(19, x = j.onEvent);
|
|
887
887
|
}, t.$$.update = () => {
|
|
888
888
|
t.$$.dirty[0] & /*vastUrl, placement, advertConsent, maxImageSize, projectId, playlistId, contentId, contentLanguage, platform, vendorIdentifier, bundleIdentifier, video*/
|
|
889
|
-
524096 && i(21, n = Lc(s, a, r, u, c, g, f, A, _, k, S,
|
|
889
|
+
524096 && i(21, n = Lc(s, a, r, u, c, g, f, A, _, k, S, Rc(T))), t.$$.dirty[0] & /*vastUrl, adParams*/
|
|
890
890
|
2097216 && (o = Mc(s, n)), t.$$.dirty[0] & /*adsManager, preloading, playbackState*/
|
|
891
891
|
1048712 && D && !l && v === "playing" && ee(), t.$$.dirty[0] & /*adsManager, preloading, playbackState*/
|
|
892
892
|
1048712 && !l && (v === "playing" ? D == null || D.resume() : D == null || D.pause());
|
|
893
893
|
}, [
|
|
894
894
|
p,
|
|
895
895
|
ae,
|
|
896
|
-
|
|
896
|
+
N,
|
|
897
897
|
v,
|
|
898
898
|
P,
|
|
899
899
|
O,
|
|
@@ -1797,10 +1797,10 @@ const Kc = (t, e) => Fi(void 0, null, function* () {
|
|
|
1797
1797
|
maximizeVideo: "Maximize video",
|
|
1798
1798
|
changePlaybackRate: "Change playback rate",
|
|
1799
1799
|
downloadAudio: "Download audio"
|
|
1800
|
-
},
|
|
1800
|
+
}, Rd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1801
1801
|
__proto__: null,
|
|
1802
1802
|
default: Dd
|
|
1803
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1803
|
+
}, Symbol.toStringTag, { value: "Module" })), Nd = {
|
|
1804
1804
|
isDefaultForLanguage: !0,
|
|
1805
1805
|
listenToThisArticle: "Escucha este artículo",
|
|
1806
1806
|
minutesSingularOrPlural: "{n} min",
|
|
@@ -1830,7 +1830,7 @@ const Kc = (t, e) => Fi(void 0, null, function* () {
|
|
|
1830
1830
|
downloadAudio: "Download audio"
|
|
1831
1831
|
}, Fd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1832
1832
|
__proto__: null,
|
|
1833
|
-
default:
|
|
1833
|
+
default: Nd
|
|
1834
1834
|
}, Symbol.toStringTag, { value: "Module" })), Ud = {
|
|
1835
1835
|
isDefaultForLanguage: !0,
|
|
1836
1836
|
listenToThisArticle: "Kuulake seda artiklit",
|
|
@@ -2634,10 +2634,10 @@ const Kc = (t, e) => Fi(void 0, null, function* () {
|
|
|
2634
2634
|
maximizeVideo: "Maximize video",
|
|
2635
2635
|
changePlaybackRate: "Change playback rate",
|
|
2636
2636
|
downloadAudio: "Download audio"
|
|
2637
|
-
},
|
|
2637
|
+
}, Rg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2638
2638
|
__proto__: null,
|
|
2639
2639
|
default: Dg
|
|
2640
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
2640
|
+
}, Symbol.toStringTag, { value: "Module" })), Ng = {
|
|
2641
2641
|
isDefaultForLanguage: !0,
|
|
2642
2642
|
listenToThisArticle: "ಈ ಲೇಖನವನ್ನು ಆಲಿಸಿ",
|
|
2643
2643
|
minutesSingularOrPlural: "{n} ನಿಮಿಷ",
|
|
@@ -2667,7 +2667,7 @@ const Kc = (t, e) => Fi(void 0, null, function* () {
|
|
|
2667
2667
|
downloadAudio: "Download audio"
|
|
2668
2668
|
}, Fg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2669
2669
|
__proto__: null,
|
|
2670
|
-
default:
|
|
2670
|
+
default: Ng
|
|
2671
2671
|
}, Symbol.toStringTag, { value: "Module" })), Ug = {
|
|
2672
2672
|
isDefaultForLanguage: !0,
|
|
2673
2673
|
listenToThisArticle: "기사를 들어보세요.",
|
|
@@ -3443,7 +3443,7 @@ const Kc = (t, e) => Fi(void 0, null, function* () {
|
|
|
3443
3443
|
}, Df = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3444
3444
|
__proto__: null,
|
|
3445
3445
|
default: xf
|
|
3446
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
3446
|
+
}, Symbol.toStringTag, { value: "Module" })), Rf = {
|
|
3447
3447
|
isDefaultForLanguage: !0,
|
|
3448
3448
|
listenToThisArticle: "دا لیکنه واورئ",
|
|
3449
3449
|
minutesSingularOrPlural: "{n} دقيقه",
|
|
@@ -3471,9 +3471,9 @@ const Kc = (t, e) => Fi(void 0, null, function* () {
|
|
|
3471
3471
|
maximizeVideo: "Maximize video",
|
|
3472
3472
|
changePlaybackRate: "Change playback rate",
|
|
3473
3473
|
downloadAudio: "Download audio"
|
|
3474
|
-
},
|
|
3474
|
+
}, Nf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3475
3475
|
__proto__: null,
|
|
3476
|
-
default:
|
|
3476
|
+
default: Rf
|
|
3477
3477
|
}, Symbol.toStringTag, { value: "Module" })), Ff = {
|
|
3478
3478
|
isDefaultForLanguage: !0,
|
|
3479
3479
|
listenToThisArticle: "Ouça este artigo",
|
|
@@ -4280,7 +4280,7 @@ const Kc = (t, e) => Fi(void 0, null, function* () {
|
|
|
4280
4280
|
}, D1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4281
4281
|
__proto__: null,
|
|
4282
4282
|
default: x1
|
|
4283
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
4283
|
+
}, Symbol.toStringTag, { value: "Module" })), R1 = {
|
|
4284
4284
|
isDefaultForLanguage: !0,
|
|
4285
4285
|
listenToThisArticle: "הערן צו דעם אַרטיקל",
|
|
4286
4286
|
minutesSingularOrPlural: "{n} מין",
|
|
@@ -4308,9 +4308,9 @@ const Kc = (t, e) => Fi(void 0, null, function* () {
|
|
|
4308
4308
|
maximizeVideo: "Maximize video",
|
|
4309
4309
|
changePlaybackRate: "Change playback rate",
|
|
4310
4310
|
downloadAudio: "Download audio"
|
|
4311
|
-
},
|
|
4311
|
+
}, N1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4312
4312
|
__proto__: null,
|
|
4313
|
-
default:
|
|
4313
|
+
default: R1
|
|
4314
4314
|
}, Symbol.toStringTag, { value: "Module" })), F1 = {
|
|
4315
4315
|
isDefaultForLanguage: !0,
|
|
4316
4316
|
listenToThisArticle: "Gbọ nkan yii",
|
|
@@ -4523,7 +4523,7 @@ const Kc = (t, e) => Fi(void 0, null, function* () {
|
|
|
4523
4523
|
`The locale '${n}' is missing the translation key '${s}'.`,
|
|
4524
4524
|
`Please set '${s}: "something"' in src/translations/${n}.ts`
|
|
4525
4525
|
]);
|
|
4526
|
-
}, sm = /* @__PURE__ */ Object.assign({ "../translations/af.ts": ed, "../translations/ak.ts": id, "../translations/am.ts": od, "../translations/ar.ts": ld, "../translations/as.ts": rd, "../translations/az.ts": cd, "../translations/be.ts": gd, "../translations/bg.ts": md, "../translations/bm.ts": _d, "../translations/bn.ts": yd, "../translations/bs.ts": bd, "../translations/ca.ts": pd, "../translations/ckb.ts": Pd, "../translations/cs.ts": Td, "../translations/cy.ts": Id, "../translations/da.ts": Vd, "../translations/de.ts": Wd, "../translations/ee.ts": Ed, "../translations/el.ts": Ld, "../translations/en.ts": xd, "../translations/eo.ts":
|
|
4526
|
+
}, sm = /* @__PURE__ */ Object.assign({ "../translations/af.ts": ed, "../translations/ak.ts": id, "../translations/am.ts": od, "../translations/ar.ts": ld, "../translations/as.ts": rd, "../translations/az.ts": cd, "../translations/be.ts": gd, "../translations/bg.ts": md, "../translations/bm.ts": _d, "../translations/bn.ts": yd, "../translations/bs.ts": bd, "../translations/ca.ts": pd, "../translations/ckb.ts": Pd, "../translations/cs.ts": Td, "../translations/cy.ts": Id, "../translations/da.ts": Vd, "../translations/de.ts": Wd, "../translations/ee.ts": Ed, "../translations/el.ts": Ld, "../translations/en.ts": xd, "../translations/eo.ts": Rd, "../translations/es.ts": Fd, "../translations/et.ts": Hd, "../translations/eu.ts": Yd, "../translations/fa.ts": Kd, "../translations/fi.ts": Jd, "../translations/fil.ts": Qd, "../translations/fr.ts": eg, "../translations/ga.ts": ig, "../translations/gd.ts": og, "../translations/gl.ts": lg, "../translations/gu.ts": rg, "../translations/ha.ts": cg, "../translations/haw.ts": gg, "../translations/he.ts": mg, "../translations/hi.ts": _g, "../translations/hr.ts": yg, "../translations/hu.ts": bg, "../translations/hy.ts": pg, "../translations/id.ts": Pg, "../translations/ig.ts": Tg, "../translations/is.ts": Ig, "../translations/it.ts": Vg, "../translations/iw.ts": Wg, "../translations/ja.ts": Eg, "../translations/ka.ts": Lg, "../translations/kk.ts": xg, "../translations/km.ts": Rg, "../translations/kn.ts": Fg, "../translations/ko.ts": Hg, "../translations/ky.ts": Yg, "../translations/lb.ts": Kg, "../translations/lg.ts": Jg, "../translations/ln.ts": Qg, "../translations/lo.ts": ef, "../translations/lt.ts": nf, "../translations/lv.ts": sf, "../translations/mg.ts": af, "../translations/mk.ts": uf, "../translations/ml.ts": df, "../translations/mn.ts": ff, "../translations/mr.ts": hf, "../translations/ms.ts": Af, "../translations/mt.ts": vf, "../translations/my.ts": kf, "../translations/nb.ts": Sf, "../translations/ne.ts": wf, "../translations/nl.ts": Cf, "../translations/nn.ts": Of, "../translations/no.ts": Bf, "../translations/om.ts": Mf, "../translations/or.ts": zf, "../translations/pa.ts": jf, "../translations/pl.ts": Df, "../translations/ps.ts": Nf, "../translations/pt.ts": Uf, "../translations/qu.ts": qf, "../translations/ro.ts": Zf, "../translations/ru.ts": Gf, "../translations/rw.ts": Xf, "../translations/si.ts": $f, "../translations/sk.ts": t1, "../translations/sl.ts": n1, "../translations/sn.ts": s1, "../translations/so.ts": a1, "../translations/sq.ts": u1, "../translations/sr.ts": d1, "../translations/sv.ts": f1, "../translations/sw.ts": h1, "../translations/ta.ts": A1, "../translations/te.ts": v1, "../translations/tg.ts": k1, "../translations/th.ts": S1, "../translations/ti.ts": w1, "../translations/tr.ts": C1, "../translations/tt.ts": O1, "../translations/ug.ts": B1, "../translations/uk.ts": M1, "../translations/ur.ts": z1, "../translations/uz.ts": j1, "../translations/vi.ts": D1, "../translations/yi.ts": N1, "../translations/yo.ts": U1, "../translations/zh-HK.ts": q1, "../translations/zh-MO.ts": Z1, "../translations/zh-TW.ts": G1, "../translations/zh.ts": X1, "../translations/zu.ts": $1 }), Or = Object.entries(sm).map(([t, e]) => [em(t), e.default]), rl = Object.fromEntries(Or.filter(([t, e]) => t.includes("-"))), ul = Object.fromEntries(Or.filter(([t, e]) => e.isDefaultForLanguage).map(([t, e]) => [t.split("-")[0], e]));
|
|
4527
4527
|
tm(rl, ul);
|
|
4528
4528
|
const gt = (t, { locale: e } = {}) => {
|
|
4529
4529
|
const i = lm(e);
|
|
@@ -5120,8 +5120,8 @@ function Am() {
|
|
|
5120
5120
|
var v = S + T, P = k[v];
|
|
5121
5121
|
k[v] = (P << 8 | P >>> 24) & 16711935 | (P << 24 | P >>> 8) & 4278255360;
|
|
5122
5122
|
}
|
|
5123
|
-
var O = this._hash.words, x = k[S + 0], p = k[S + 1], C = k[S + 2], Z = k[S + 3], q = k[S + 4], D = k[S + 5], X = k[S + 6], oe = k[S + 7], ae = k[S + 8], $ = k[S + 9], ee = k[S + 10], ue = k[S + 11], Ae = k[S + 12], ce = k[S + 13], ye = k[S + 14], re = k[S + 15], b = O[0], w = O[1],
|
|
5124
|
-
b = g(b, w,
|
|
5123
|
+
var O = this._hash.words, x = k[S + 0], p = k[S + 1], C = k[S + 2], Z = k[S + 3], q = k[S + 4], D = k[S + 5], X = k[S + 6], oe = k[S + 7], ae = k[S + 8], $ = k[S + 9], ee = k[S + 10], ue = k[S + 11], Ae = k[S + 12], ce = k[S + 13], ye = k[S + 14], re = k[S + 15], b = O[0], w = O[1], N = O[2], L = O[3];
|
|
5124
|
+
b = g(b, w, N, L, x, 7, u[0]), L = g(L, b, w, N, p, 12, u[1]), N = g(N, L, b, w, C, 17, u[2]), w = g(w, N, L, b, Z, 22, u[3]), b = g(b, w, N, L, q, 7, u[4]), L = g(L, b, w, N, D, 12, u[5]), N = g(N, L, b, w, X, 17, u[6]), w = g(w, N, L, b, oe, 22, u[7]), b = g(b, w, N, L, ae, 7, u[8]), L = g(L, b, w, N, $, 12, u[9]), N = g(N, L, b, w, ee, 17, u[10]), w = g(w, N, L, b, ue, 22, u[11]), b = g(b, w, N, L, Ae, 7, u[12]), L = g(L, b, w, N, ce, 12, u[13]), N = g(N, L, b, w, ye, 17, u[14]), w = g(w, N, L, b, re, 22, u[15]), b = f(b, w, N, L, p, 5, u[16]), L = f(L, b, w, N, X, 9, u[17]), N = f(N, L, b, w, ue, 14, u[18]), w = f(w, N, L, b, x, 20, u[19]), b = f(b, w, N, L, D, 5, u[20]), L = f(L, b, w, N, ee, 9, u[21]), N = f(N, L, b, w, re, 14, u[22]), w = f(w, N, L, b, q, 20, u[23]), b = f(b, w, N, L, $, 5, u[24]), L = f(L, b, w, N, ye, 9, u[25]), N = f(N, L, b, w, Z, 14, u[26]), w = f(w, N, L, b, ae, 20, u[27]), b = f(b, w, N, L, ce, 5, u[28]), L = f(L, b, w, N, C, 9, u[29]), N = f(N, L, b, w, oe, 14, u[30]), w = f(w, N, L, b, Ae, 20, u[31]), b = A(b, w, N, L, D, 4, u[32]), L = A(L, b, w, N, ae, 11, u[33]), N = A(N, L, b, w, ue, 16, u[34]), w = A(w, N, L, b, ye, 23, u[35]), b = A(b, w, N, L, p, 4, u[36]), L = A(L, b, w, N, q, 11, u[37]), N = A(N, L, b, w, oe, 16, u[38]), w = A(w, N, L, b, ee, 23, u[39]), b = A(b, w, N, L, ce, 4, u[40]), L = A(L, b, w, N, x, 11, u[41]), N = A(N, L, b, w, Z, 16, u[42]), w = A(w, N, L, b, X, 23, u[43]), b = A(b, w, N, L, $, 4, u[44]), L = A(L, b, w, N, Ae, 11, u[45]), N = A(N, L, b, w, re, 16, u[46]), w = A(w, N, L, b, C, 23, u[47]), b = _(b, w, N, L, x, 6, u[48]), L = _(L, b, w, N, oe, 10, u[49]), N = _(N, L, b, w, ye, 15, u[50]), w = _(w, N, L, b, D, 21, u[51]), b = _(b, w, N, L, Ae, 6, u[52]), L = _(L, b, w, N, Z, 10, u[53]), N = _(N, L, b, w, ee, 15, u[54]), w = _(w, N, L, b, p, 21, u[55]), b = _(b, w, N, L, ae, 6, u[56]), L = _(L, b, w, N, re, 10, u[57]), N = _(N, L, b, w, X, 15, u[58]), w = _(w, N, L, b, ce, 21, u[59]), b = _(b, w, N, L, q, 6, u[60]), L = _(L, b, w, N, ue, 10, u[61]), N = _(N, L, b, w, C, 15, u[62]), w = _(w, N, L, b, $, 21, u[63]), O[0] = O[0] + b | 0, O[1] = O[1] + w | 0, O[2] = O[2] + N | 0, O[3] = O[3] + L | 0;
|
|
5125
5125
|
},
|
|
5126
5126
|
_doFinalize: function() {
|
|
5127
5127
|
var k = this._data, S = k.words, T = this._nDataBytes * 8, v = k.sigBytes * 8;
|
|
@@ -5432,7 +5432,7 @@ function ia(t) {
|
|
|
5432
5432
|
let e, i, n, o, s;
|
|
5433
5433
|
return {
|
|
5434
5434
|
c() {
|
|
5435
|
-
e = y("source"),
|
|
5435
|
+
e = y("source"), Ri(e.src, i = `${/*url*/
|
|
5436
5436
|
t[88]}${Gl(
|
|
5437
5437
|
/*isFirstLoad*/
|
|
5438
5438
|
t[23],
|
|
@@ -5456,7 +5456,7 @@ function ia(t) {
|
|
|
5456
5456
|
},
|
|
5457
5457
|
p(l, a) {
|
|
5458
5458
|
t = l, a[0] & /*sources, isFirstLoad*/
|
|
5459
|
-
9437184 && !
|
|
5459
|
+
9437184 && !Ri(e.src, i = `${/*url*/
|
|
5460
5460
|
t[88]}${Gl(
|
|
5461
5461
|
/*isFirstLoad*/
|
|
5462
5462
|
t[23],
|
|
@@ -5814,8 +5814,8 @@ function Wm(t) {
|
|
|
5814
5814
|
}
|
|
5815
5815
|
const aa = ({ url: t }) => t;
|
|
5816
5816
|
function Mm(t, e, i) {
|
|
5817
|
-
let n, o, s, l, a, r, u, c, g, f, A, _, k, S, T, v, P, O, x, p, { content: C } = e, { contentIndex: Z } = e, { contentVariant: q } = e, { introOrOutro: D } = e, { activeAdvert: X } = e, { preloadAdvert: oe } = e, { advertConsent: ae } = e, { maxImageSize: $ } = e, { projectId: ee } = e, { playlistId: ue } = e, { contentId: Ae } = e, { contentLanguage: ce } = e, { platform: ye } = e, { vendorIdentifier: re } = e, { bundleIdentifier: b } = e, { playbackState: w } = e, { duration:
|
|
5818
|
-
} } = e, { metadataLoaded: Je } = e, { video: Ce = void 0 } = e, Lt, Ee, ft, Oe = 0, qe = 0,
|
|
5817
|
+
let n, o, s, l, a, r, u, c, g, f, A, _, k, S, T, v, P, O, x, p, { content: C } = e, { contentIndex: Z } = e, { contentVariant: q } = e, { introOrOutro: D } = e, { activeAdvert: X } = e, { preloadAdvert: oe } = e, { advertConsent: ae } = e, { maxImageSize: $ } = e, { projectId: ee } = e, { playlistId: ue } = e, { contentId: Ae } = e, { contentLanguage: ce } = e, { platform: ye } = e, { vendorIdentifier: re } = e, { bundleIdentifier: b } = e, { playbackState: w } = e, { duration: N } = e, { currentTime: L } = e, { playbackRate: Ve } = e, { prevPercentage: Le } = e, { showUserInterface: Qe } = e, { videoBehindWidget: j } = e, { videoBehindStatic: he } = e, { videoMightBeShown: ze } = e, { widgetPosition: Ne } = e, { widgetWidth: Ge } = e, { widgetMargin: Me } = e, { widgetTarget: nt } = e, { onEvent: Te = () => {
|
|
5818
|
+
} } = e, { metadataLoaded: Je } = e, { video: Ce = void 0 } = e, Lt, Ee, ft, Oe = 0, qe = 0, Rt = L, xe, St;
|
|
5819
5819
|
const Ye = (U) => i(19, Oe = U), At = () => ze, $e = () => u.some((U) => U.format === "video"), mt = () => {
|
|
5820
5820
|
var U;
|
|
5821
5821
|
return (Ce == null ? void 0 : Ce.paused) && ((U = Ce == null ? void 0 : Ce.play()) == null ? void 0 : U.catch(at));
|
|
@@ -5955,7 +5955,7 @@ function Mm(t, e, i) {
|
|
|
5955
5955
|
});
|
|
5956
5956
|
}
|
|
5957
5957
|
function pt() {
|
|
5958
|
-
|
|
5958
|
+
N = this.duration, i(3, N);
|
|
5959
5959
|
}
|
|
5960
5960
|
function st() {
|
|
5961
5961
|
Oe = this.currentTime, i(19, Oe);
|
|
@@ -5967,13 +5967,13 @@ function Mm(t, e, i) {
|
|
|
5967
5967
|
w = U, i(0, w);
|
|
5968
5968
|
}
|
|
5969
5969
|
function ht(U) {
|
|
5970
|
-
|
|
5970
|
+
N = U, i(3, N);
|
|
5971
5971
|
}
|
|
5972
5972
|
function Tt(U) {
|
|
5973
5973
|
L = U, i(1, L), i(19, Oe);
|
|
5974
5974
|
}
|
|
5975
5975
|
return t.$$set = (U) => {
|
|
5976
|
-
"content" in U && i(5, C = U.content), "contentIndex" in U && i(45, Z = U.contentIndex), "contentVariant" in U && i(46, q = U.contentVariant), "introOrOutro" in U && i(47, D = U.introOrOutro), "activeAdvert" in U && i(48, X = U.activeAdvert), "preloadAdvert" in U && i(49, oe = U.preloadAdvert), "advertConsent" in U && i(6, ae = U.advertConsent), "maxImageSize" in U && i(7, $ = U.maxImageSize), "projectId" in U && i(8, ee = U.projectId), "playlistId" in U && i(9, ue = U.playlistId), "contentId" in U && i(10, Ae = U.contentId), "contentLanguage" in U && i(11, ce = U.contentLanguage), "platform" in U && i(12, ye = U.platform), "vendorIdentifier" in U && i(13, re = U.vendorIdentifier), "bundleIdentifier" in U && i(14, b = U.bundleIdentifier), "playbackState" in U && i(0, w = U.playbackState), "duration" in U && i(3,
|
|
5976
|
+
"content" in U && i(5, C = U.content), "contentIndex" in U && i(45, Z = U.contentIndex), "contentVariant" in U && i(46, q = U.contentVariant), "introOrOutro" in U && i(47, D = U.introOrOutro), "activeAdvert" in U && i(48, X = U.activeAdvert), "preloadAdvert" in U && i(49, oe = U.preloadAdvert), "advertConsent" in U && i(6, ae = U.advertConsent), "maxImageSize" in U && i(7, $ = U.maxImageSize), "projectId" in U && i(8, ee = U.projectId), "playlistId" in U && i(9, ue = U.playlistId), "contentId" in U && i(10, Ae = U.contentId), "contentLanguage" in U && i(11, ce = U.contentLanguage), "platform" in U && i(12, ye = U.platform), "vendorIdentifier" in U && i(13, re = U.vendorIdentifier), "bundleIdentifier" in U && i(14, b = U.bundleIdentifier), "playbackState" in U && i(0, w = U.playbackState), "duration" in U && i(3, N = U.duration), "currentTime" in U && i(1, L = U.currentTime), "playbackRate" in U && i(4, Ve = U.playbackRate), "prevPercentage" in U && i(44, Le = U.prevPercentage), "showUserInterface" in U && i(15, Qe = U.showUserInterface), "videoBehindWidget" in U && i(50, j = U.videoBehindWidget), "videoBehindStatic" in U && i(16, he = U.videoBehindStatic), "videoMightBeShown" in U && i(51, ze = U.videoMightBeShown), "widgetPosition" in U && i(52, Ne = U.widgetPosition), "widgetWidth" in U && i(53, Ge = U.widgetWidth), "widgetMargin" in U && i(54, Me = U.widgetMargin), "widgetTarget" in U && i(55, nt = U.widgetTarget), "onEvent" in U && i(17, Te = U.onEvent), "metadataLoaded" in U && i(43, Je = U.metadataLoaded), "video" in U && i(2, Ce = U.video);
|
|
5977
5977
|
}, t.$$.update = () => {
|
|
5978
5978
|
t.$$.dirty[0] & /*content, videoBehindStatic*/
|
|
5979
5979
|
65568 | t.$$.dirty[1] & /*videoBehindWidget*/
|
|
@@ -5987,7 +5987,7 @@ function Mm(t, e, i) {
|
|
|
5987
5987
|
32 && i(60, s = (o == null ? void 0 : o.segments) || []), t.$$.dirty[1] & /*contentIndex, introOrOutro, activeAdvert, loadCount*/
|
|
5988
5988
|
67321856 && i(57, qe += 1), t.$$.dirty[1] & /*loadCount*/
|
|
5989
5989
|
67108864 && i(23, l = qe === 1), t.$$.dirty[0] & /*isFirstLoad*/
|
|
5990
|
-
8388608 && i(66, a = l &&
|
|
5990
|
+
8388608 && i(66, a = l && Rt), t.$$.dirty[1] & /*introOrOutro*/
|
|
5991
5991
|
65536 && i(61, r = D), t.$$.dirty[1] & /*introOrOutro, activeAdvert*/
|
|
5992
5992
|
196608 && !D && i(61, r = X), t.$$.dirty[1] & /*introOrOutro, activeAdvert, contentVariant*/
|
|
5993
5993
|
229376 | t.$$.dirty[2] & /*contentItem*/
|
|
@@ -6018,7 +6018,7 @@ function Mm(t, e, i) {
|
|
|
6018
6018
|
8388608 && i(64, T = Ir(Me)), t.$$.dirty[2] & /*margin*/
|
|
6019
6019
|
4 && i(63, v = `calc(${T.left} + ${T.right})`), t.$$.dirty[0] & /*videoBehindSlidingWidget*/
|
|
6020
6020
|
4194304 | t.$$.dirty[1] & /*widgetPosition*/
|
|
6021
|
-
2097152 && i(26, P = S &&
|
|
6021
|
+
2097152 && i(26, P = S && Ne !== "auto" ? `fixed-${Ne}` : ""), t.$$.dirty[0] & /*videoBehindSlidingWidget*/
|
|
6022
6022
|
4194304 | t.$$.dirty[1] & /*widgetWidth, widgetMargin*/
|
|
6023
6023
|
12582912 | t.$$.dirty[2] & /*marginWidth*/
|
|
6024
6024
|
2 && i(25, O = S ? `width: ${Ge}; --margin: ${Me}; --margin-width: ${v}` : ""), t.$$.dirty[0] & /*currentTime*/
|
|
@@ -6033,7 +6033,7 @@ function Mm(t, e, i) {
|
|
|
6033
6033
|
w,
|
|
6034
6034
|
L,
|
|
6035
6035
|
Ce,
|
|
6036
|
-
|
|
6036
|
+
N,
|
|
6037
6037
|
Ve,
|
|
6038
6038
|
C,
|
|
6039
6039
|
ae,
|
|
@@ -6061,7 +6061,7 @@ function Mm(t, e, i) {
|
|
|
6061
6061
|
A,
|
|
6062
6062
|
f,
|
|
6063
6063
|
g,
|
|
6064
|
-
|
|
6064
|
+
Rt,
|
|
6065
6065
|
yt,
|
|
6066
6066
|
et,
|
|
6067
6067
|
lt,
|
|
@@ -6082,7 +6082,7 @@ function Mm(t, e, i) {
|
|
|
6082
6082
|
oe,
|
|
6083
6083
|
j,
|
|
6084
6084
|
ze,
|
|
6085
|
-
|
|
6085
|
+
Ne,
|
|
6086
6086
|
Ge,
|
|
6087
6087
|
Me,
|
|
6088
6088
|
nt,
|
|
@@ -6345,7 +6345,7 @@ function zm(t) {
|
|
|
6345
6345
|
return e * e * e + 1;
|
|
6346
6346
|
}
|
|
6347
6347
|
function Lm(t, { delay: e = 0, duration: i = 400, easing: n = zm, x: o = 0, y: s = 0, opacity: l = 0 } = {}) {
|
|
6348
|
-
const a = getComputedStyle(t), r = +a.opacity, u = a.transform === "none" ? "" : a.transform, c = r * (1 - l), [g, f] =
|
|
6348
|
+
const a = getComputedStyle(t), r = +a.opacity, u = a.transform === "none" ? "" : a.transform, c = r * (1 - l), [g, f] = Nl(o), [A, _] = Nl(s);
|
|
6349
6349
|
return {
|
|
6350
6350
|
delay: e,
|
|
6351
6351
|
duration: i,
|
|
@@ -6430,11 +6430,11 @@ function Dm(t, e) {
|
|
|
6430
6430
|
}
|
|
6431
6431
|
return a;
|
|
6432
6432
|
}
|
|
6433
|
-
var
|
|
6433
|
+
var Rm = 20, Nm = ["top", "right", "bottom", "left", "width", "height", "size", "weight"], Fm = typeof MutationObserver != "undefined", Um = (
|
|
6434
6434
|
/** @class */
|
|
6435
6435
|
function() {
|
|
6436
6436
|
function t() {
|
|
6437
|
-
this.connected_ = !1, this.mutationEventsAdded_ = !1, this.mutationsObserver_ = null, this.observers_ = [], this.onTransitionEnd_ = this.onTransitionEnd_.bind(this), this.refresh = Dm(this.refresh.bind(this),
|
|
6437
|
+
this.connected_ = !1, this.mutationEventsAdded_ = !1, this.mutationsObserver_ = null, this.observers_ = [], this.onTransitionEnd_ = this.onTransitionEnd_.bind(this), this.refresh = Dm(this.refresh.bind(this), Rm);
|
|
6438
6438
|
}
|
|
6439
6439
|
return t.prototype.addObserver = function(e) {
|
|
6440
6440
|
~this.observers_.indexOf(e) || this.observers_.push(e), this.connected_ || this.connect_();
|
|
@@ -6461,7 +6461,7 @@ var Nm = 20, Rm = ["top", "right", "bottom", "left", "width", "height", "size",
|
|
|
6461
6461
|
}, t.prototype.disconnect_ = function() {
|
|
6462
6462
|
!fl || !this.connected_ || (document.removeEventListener("transitionend", this.onTransitionEnd_), window.removeEventListener("resize", this.refresh), this.mutationsObserver_ && this.mutationsObserver_.disconnect(), this.mutationEventsAdded_ && document.removeEventListener("DOMSubtreeModified", this.refresh), this.mutationsObserver_ = null, this.mutationEventsAdded_ = !1, this.connected_ = !1);
|
|
6463
6463
|
}, t.prototype.onTransitionEnd_ = function(e) {
|
|
6464
|
-
var i = e.propertyName, n = i === void 0 ? "" : i, o =
|
|
6464
|
+
var i = e.propertyName, n = i === void 0 ? "" : i, o = Nm.some(function(s) {
|
|
6465
6465
|
return !!~n.indexOf(s);
|
|
6466
6466
|
});
|
|
6467
6467
|
o && this.refresh();
|
|
@@ -7386,7 +7386,7 @@ class jh extends we {
|
|
|
7386
7386
|
}
|
|
7387
7387
|
}
|
|
7388
7388
|
const Zo = (t, e, i) => Ie(t, e, e === "style" ? Dh(i) : i), xh = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Dh = (t) => t.split(xh).filter((e) => e).map((e) => e + " !important").join(";");
|
|
7389
|
-
function
|
|
7389
|
+
function Rh(t) {
|
|
7390
7390
|
let e, i;
|
|
7391
7391
|
return e = new jh({
|
|
7392
7392
|
props: {
|
|
@@ -7425,7 +7425,7 @@ function Nh(t) {
|
|
|
7425
7425
|
}
|
|
7426
7426
|
};
|
|
7427
7427
|
}
|
|
7428
|
-
function
|
|
7428
|
+
function Nh(t) {
|
|
7429
7429
|
let e, i;
|
|
7430
7430
|
return e = new Wh({
|
|
7431
7431
|
props: {
|
|
@@ -7511,7 +7511,7 @@ function Fh(t) {
|
|
|
7511
7511
|
}
|
|
7512
7512
|
function Uh(t) {
|
|
7513
7513
|
let e, i, n, o, s, l;
|
|
7514
|
-
const a = [Fh,
|
|
7514
|
+
const a = [Fh, Nh, Rh], r = [];
|
|
7515
7515
|
function u(c, g) {
|
|
7516
7516
|
return (
|
|
7517
7517
|
/*isSeconds*/
|
|
@@ -8615,15 +8615,15 @@ function D0(t) {
|
|
|
8615
8615
|
}
|
|
8616
8616
|
};
|
|
8617
8617
|
}
|
|
8618
|
-
function
|
|
8618
|
+
function R0(t, e, i) {
|
|
8619
8619
|
let { scale: n = 1 } = e, { color: o = "#323232" } = e;
|
|
8620
8620
|
return t.$$set = (s) => {
|
|
8621
8621
|
"scale" in s && i(0, n = s.scale), "color" in s && i(1, o = s.color);
|
|
8622
8622
|
}, [n, o];
|
|
8623
8623
|
}
|
|
8624
|
-
class
|
|
8624
|
+
class N0 extends we {
|
|
8625
8625
|
constructor(e) {
|
|
8626
|
-
super(), Pe(this, e,
|
|
8626
|
+
super(), Pe(this, e, R0, D0, pe, { scale: 0, color: 1 });
|
|
8627
8627
|
}
|
|
8628
8628
|
get scale() {
|
|
8629
8629
|
return this.$$.ctx[0];
|
|
@@ -8641,7 +8641,7 @@ class R0 extends we {
|
|
|
8641
8641
|
const Jo = (t, e, i) => Zt(t, e, i, 1), Js = (t, e, i) => Ie(t, e, e === "style" ? U0(i) : i), F0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, U0 = (t) => t.split(F0).filter((e) => e).map((e) => e + " !important").join(";");
|
|
8642
8642
|
function fa(t) {
|
|
8643
8643
|
let e, i, n, o, s;
|
|
8644
|
-
return i = new
|
|
8644
|
+
return i = new N0({
|
|
8645
8645
|
props: {
|
|
8646
8646
|
scale: (
|
|
8647
8647
|
/*scale*/
|
|
@@ -9509,7 +9509,7 @@ function C2(t, e, i) {
|
|
|
9509
9509
|
"scale" in l && i(0, n = l.scale), "color" in l && i(1, o = l.color), "circular" in l && i(2, s = l.circular);
|
|
9510
9510
|
}, [n, o, s];
|
|
9511
9511
|
}
|
|
9512
|
-
class
|
|
9512
|
+
class Rr extends we {
|
|
9513
9513
|
constructor(e) {
|
|
9514
9514
|
super(), Pe(this, e, C2, T2, pe, { scale: 0, color: 1, circular: 2 });
|
|
9515
9515
|
}
|
|
@@ -9532,7 +9532,7 @@ class Nr extends we {
|
|
|
9532
9532
|
this.$$set({ circular: e }), d();
|
|
9533
9533
|
}
|
|
9534
9534
|
}
|
|
9535
|
-
const ha = (t, e, i) => Zt(t, e, i, 1),
|
|
9535
|
+
const ha = (t, e, i) => Zt(t, e, i, 1), Rn = (t, e, i) => Ie(t, e, e === "style" ? O2(i) : i), I2 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, O2 = (t) => t.split(I2).filter((e) => e).map((e) => e + " !important").join(";");
|
|
9536
9536
|
function V2(t) {
|
|
9537
9537
|
let e;
|
|
9538
9538
|
return {
|
|
@@ -9552,7 +9552,7 @@ function V2(t) {
|
|
|
9552
9552
|
}
|
|
9553
9553
|
function B2(t) {
|
|
9554
9554
|
let e, i, n, o, s, l;
|
|
9555
|
-
return i = new
|
|
9555
|
+
return i = new Rr({
|
|
9556
9556
|
props: {
|
|
9557
9557
|
color: (
|
|
9558
9558
|
/*color*/
|
|
@@ -9565,15 +9565,15 @@ function B2(t) {
|
|
|
9565
9565
|
}
|
|
9566
9566
|
}), {
|
|
9567
9567
|
c() {
|
|
9568
|
-
e = y("a"), me(i.$$.fragment),
|
|
9568
|
+
e = y("a"), me(i.$$.fragment), Rn(e, "class", n = "advert-button " + /*playerStyle*/
|
|
9569
9569
|
t[2] + " " + /*controlsOrder*/
|
|
9570
|
-
t[3] + " svelte-17nxso5"),
|
|
9570
|
+
t[3] + " svelte-17nxso5"), Rn(
|
|
9571
9571
|
e,
|
|
9572
9572
|
"href",
|
|
9573
9573
|
/*hrefWithProtocol*/
|
|
9574
9574
|
t[4]
|
|
9575
|
-
),
|
|
9576
|
-
t[0] + "px"),
|
|
9575
|
+
), Rn(e, "target", "_blank"), ha(e, "outline-offset", 3.2 * /*scale*/
|
|
9576
|
+
t[0] + "px"), Rn(e, "aria-label", gt("visitAdvert"));
|
|
9577
9577
|
},
|
|
9578
9578
|
m(a, r) {
|
|
9579
9579
|
E(a, e, r), de(i, e, null), o = !0, s || (l = [
|
|
@@ -9595,8 +9595,8 @@ function B2(t) {
|
|
|
9595
9595
|
a[0]), i.$set(u), (!o || r & /*playerStyle, controlsOrder*/
|
|
9596
9596
|
12 && n !== (n = "advert-button " + /*playerStyle*/
|
|
9597
9597
|
a[2] + " " + /*controlsOrder*/
|
|
9598
|
-
a[3] + " svelte-17nxso5")) &&
|
|
9599
|
-
16) &&
|
|
9598
|
+
a[3] + " svelte-17nxso5")) && Rn(e, "class", n), (!o || r & /*hrefWithProtocol*/
|
|
9599
|
+
16) && Rn(
|
|
9600
9600
|
e,
|
|
9601
9601
|
"href",
|
|
9602
9602
|
/*hrefWithProtocol*/
|
|
@@ -9807,7 +9807,7 @@ class D2 extends we {
|
|
|
9807
9807
|
this.$$set({ color2: e }), d();
|
|
9808
9808
|
}
|
|
9809
9809
|
}
|
|
9810
|
-
const _a = (t, e, i) => Zt(t, e, i, 1), Qo = (t, e, i) => Ie(t, e, e === "style" ?
|
|
9810
|
+
const _a = (t, e, i) => Zt(t, e, i, 1), Qo = (t, e, i) => Ie(t, e, e === "style" ? N2(i) : i), R2 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, N2 = (t) => t.split(R2).filter((e) => e).map((e) => e + " !important").join(";");
|
|
9811
9811
|
function F2(t) {
|
|
9812
9812
|
let e, i, n, o, s;
|
|
9813
9813
|
return i = new D2({ props: { scale: (
|
|
@@ -9815,7 +9815,7 @@ function F2(t) {
|
|
|
9815
9815
|
t[0]
|
|
9816
9816
|
) } }), {
|
|
9817
9817
|
c() {
|
|
9818
|
-
e = y("a"), me(i.$$.fragment), Qo(e, "class", "beyondwords svelte-vl0esb"), Qo(e, "href", "https://beyondwords.io
|
|
9818
|
+
e = y("a"), me(i.$$.fragment), Qo(e, "class", "beyondwords svelte-vl0esb"), Qo(e, "href", "https://beyondwords.io/?utm_source=player&utm_medium=referral"), Qo(e, "target", "_blank"), _a(e, "outline-offset", 6.4 * /*scale*/
|
|
9819
9819
|
t[0] + "px"), Qo(e, "aria-label", gt("visitBeyondWords")), ne(
|
|
9820
9820
|
e,
|
|
9821
9821
|
"visible",
|
|
@@ -9873,7 +9873,7 @@ function U2(t, e, i) {
|
|
|
9873
9873
|
"scale" in a && i(0, n = a.scale), "visible" in a && i(1, o = a.visible), "onEvent" in a && i(3, s = a.onEvent);
|
|
9874
9874
|
}, [n, o, l, s];
|
|
9875
9875
|
}
|
|
9876
|
-
let
|
|
9876
|
+
let Nr = class extends we {
|
|
9877
9877
|
constructor(e) {
|
|
9878
9878
|
super(), Pe(this, e, U2, F2, pe, { scale: 0, visible: 1, onEvent: 3 });
|
|
9879
9879
|
}
|
|
@@ -9899,7 +9899,7 @@ let Rr = class extends we {
|
|
|
9899
9899
|
const ao = (t, e, i) => Ie(t, e, e === "style" ? q2(i) : i), H2 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, q2 = (t) => t.split(H2).filter((e) => e).map((e) => e + " !important").join(";");
|
|
9900
9900
|
function Y2(t) {
|
|
9901
9901
|
let e, i, n, o, s;
|
|
9902
|
-
return i = new
|
|
9902
|
+
return i = new Rr({
|
|
9903
9903
|
props: {
|
|
9904
9904
|
scale: (
|
|
9905
9905
|
/*scale*/
|
|
@@ -10004,7 +10004,7 @@ function X2(t) {
|
|
|
10004
10004
|
let e, i;
|
|
10005
10005
|
return {
|
|
10006
10006
|
c() {
|
|
10007
|
-
e = y("img"), yi(e, "class", "large-image svelte-lbzabl"),
|
|
10007
|
+
e = y("img"), yi(e, "class", "large-image svelte-lbzabl"), Ri(e.src, i = /*src*/
|
|
10008
10008
|
t[0]) || yi(e, "src", i), yi(
|
|
10009
10009
|
e,
|
|
10010
10010
|
"alt",
|
|
@@ -10027,7 +10027,7 @@ function X2(t) {
|
|
|
10027
10027
|
},
|
|
10028
10028
|
p(n, o) {
|
|
10029
10029
|
o & /*src*/
|
|
10030
|
-
1 && !
|
|
10030
|
+
1 && !Ri(e.src, i = /*src*/
|
|
10031
10031
|
n[0]) && yi(e, "src", i), o & /*alt*/
|
|
10032
10032
|
4 && yi(
|
|
10033
10033
|
e,
|
|
@@ -10057,7 +10057,7 @@ function Q2(t) {
|
|
|
10057
10057
|
let e, i, n, o, s;
|
|
10058
10058
|
return {
|
|
10059
10059
|
c() {
|
|
10060
|
-
e = y("a"), i = y("img"),
|
|
10060
|
+
e = y("a"), i = y("img"), Ri(i.src, n = /*src*/
|
|
10061
10061
|
t[0]) || yi(i, "src", n), yi(
|
|
10062
10062
|
i,
|
|
10063
10063
|
"alt",
|
|
@@ -10103,7 +10103,7 @@ function Q2(t) {
|
|
|
10103
10103
|
},
|
|
10104
10104
|
p(l, a) {
|
|
10105
10105
|
a & /*src*/
|
|
10106
|
-
1 && !
|
|
10106
|
+
1 && !Ri(i.src, n = /*src*/
|
|
10107
10107
|
l[0]) && yi(i, "src", n), a & /*alt*/
|
|
10108
10108
|
4 && yi(
|
|
10109
10109
|
i,
|
|
@@ -10528,22 +10528,22 @@ const fs = (t, e, i = () => {
|
|
|
10528
10528
|
description: `The ${o.toLowerCase()} key was pressed while the progress ${e.toLowerCase()} was focussed.`,
|
|
10529
10529
|
initiatedBy: "user"
|
|
10530
10530
|
})), (o === "Left" || o === "Right") && i());
|
|
10531
|
-
},
|
|
10531
|
+
}, Nn = (t, e, i) => Zt(t, e, i, 1), Ai = (t, e, i) => Ie(t, e, e === "style" ? d_(i) : i), c_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, d_ = (t) => t.split(c_).filter((e) => e).map((e) => e + " !important").join(";");
|
|
10532
10532
|
function g_(t) {
|
|
10533
10533
|
let e, i, n, o, s, l, a;
|
|
10534
10534
|
return {
|
|
10535
10535
|
c() {
|
|
10536
|
-
e = y("div"), i = y("div"), n = J(), o = y("div"), Ai(i, "class", "background svelte-1ubgowb"),
|
|
10536
|
+
e = y("div"), i = y("div"), n = J(), o = y("div"), Ai(i, "class", "background svelte-1ubgowb"), Nn(
|
|
10537
10537
|
i,
|
|
10538
10538
|
"background",
|
|
10539
10539
|
/*color*/
|
|
10540
10540
|
t[4]
|
|
10541
|
-
), Ai(o, "class", "progress svelte-1ubgowb"),
|
|
10541
|
+
), Ai(o, "class", "progress svelte-1ubgowb"), Nn(
|
|
10542
10542
|
o,
|
|
10543
10543
|
"background",
|
|
10544
10544
|
/*color*/
|
|
10545
10545
|
t[4]
|
|
10546
|
-
),
|
|
10546
|
+
), Nn(
|
|
10547
10547
|
o,
|
|
10548
10548
|
"width",
|
|
10549
10549
|
/*progress*/
|
|
@@ -10618,19 +10618,19 @@ function g_(t) {
|
|
|
10618
10618
|
},
|
|
10619
10619
|
p(r, [u]) {
|
|
10620
10620
|
t = r, u & /*color*/
|
|
10621
|
-
16 &&
|
|
10621
|
+
16 && Nn(
|
|
10622
10622
|
i,
|
|
10623
10623
|
"background",
|
|
10624
10624
|
/*color*/
|
|
10625
10625
|
t[4]
|
|
10626
10626
|
), u & /*color*/
|
|
10627
|
-
16 &&
|
|
10627
|
+
16 && Nn(
|
|
10628
10628
|
o,
|
|
10629
10629
|
"background",
|
|
10630
10630
|
/*color*/
|
|
10631
10631
|
t[4]
|
|
10632
10632
|
), u & /*progress*/
|
|
10633
|
-
1 &&
|
|
10633
|
+
1 && Nn(
|
|
10634
10634
|
o,
|
|
10635
10635
|
"width",
|
|
10636
10636
|
/*progress*/
|
|
@@ -11444,7 +11444,7 @@ function D_(t, e, i) {
|
|
|
11444
11444
|
"currentTime" in a && i(0, n = a.currentTime), "duration" in a && i(1, o = a.duration), "scale" in a && i(2, s = a.scale), "color" in a && i(3, l = a.color);
|
|
11445
11445
|
}, [n, o, s, l];
|
|
11446
11446
|
}
|
|
11447
|
-
class
|
|
11447
|
+
class R_ extends we {
|
|
11448
11448
|
constructor(e) {
|
|
11449
11449
|
super(), Pe(this, e, D_, x_, pe, {
|
|
11450
11450
|
currentTime: 0,
|
|
@@ -11478,10 +11478,10 @@ class N_ extends we {
|
|
|
11478
11478
|
this.$$set({ color: e }), d();
|
|
11479
11479
|
}
|
|
11480
11480
|
}
|
|
11481
|
-
const ro = (t, e, i) => Ie(t, e, e === "style" ? F_(i) : i),
|
|
11481
|
+
const ro = (t, e, i) => Ie(t, e, e === "style" ? F_(i) : i), N_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, F_ = (t) => t.split(N_).filter((e) => e).map((e) => e + " !important").join(";");
|
|
11482
11482
|
function U_(t) {
|
|
11483
11483
|
let e, i;
|
|
11484
|
-
return e = new
|
|
11484
|
+
return e = new R_({
|
|
11485
11485
|
props: {
|
|
11486
11486
|
duration: (
|
|
11487
11487
|
/*duration*/
|
|
@@ -13840,7 +13840,7 @@ function Wa(t) {
|
|
|
13840
13840
|
}
|
|
13841
13841
|
function Ma(t) {
|
|
13842
13842
|
let e, i;
|
|
13843
|
-
return e = new
|
|
13843
|
+
return e = new Nr({
|
|
13844
13844
|
props: {
|
|
13845
13845
|
onEvent: (
|
|
13846
13846
|
/*onEvent*/
|
|
@@ -14015,7 +14015,7 @@ function Ea(t) {
|
|
|
14015
14015
|
}
|
|
14016
14016
|
function VA(t) {
|
|
14017
14017
|
let e, i;
|
|
14018
|
-
return e = new
|
|
14018
|
+
return e = new Nr({
|
|
14019
14019
|
props: {
|
|
14020
14020
|
onEvent: (
|
|
14021
14021
|
/*onEvent*/
|
|
@@ -14290,22 +14290,22 @@ function WA(t) {
|
|
|
14290
14290
|
8 && V(q, 1)) : (q = wa(b), q.c(), V(q, 1), q.m(i, o)) : q && (Fe(), z(q, 1, 1, () => {
|
|
14291
14291
|
q = null;
|
|
14292
14292
|
}), Ue());
|
|
14293
|
-
const
|
|
14293
|
+
const N = {};
|
|
14294
14294
|
w[0] & /*onEvent*/
|
|
14295
|
-
262144 && (
|
|
14295
|
+
262144 && (N.onEvent = /*onEvent*/
|
|
14296
14296
|
b[18]), w[0] & /*fixedPosition*/
|
|
14297
|
-
512 && (
|
|
14297
|
+
512 && (N.enabled = !/*fixedPosition*/
|
|
14298
14298
|
b[9]), w[0] & /*onEvent, isScreen, isSmall*/
|
|
14299
14299
|
335806464 | w[1] & /*playPauseScale, activeIconColor*/
|
|
14300
14300
|
671088640 | w[2] & /*progress, isPlaying*/
|
|
14301
14301
|
6 | w[3] & /*$$scope*/
|
|
14302
|
-
2 && (
|
|
14303
|
-
1 && (a = !0,
|
|
14302
|
+
2 && (N.$$scope = { dirty: w, ctx: b }), !a && w[0] & /*isVisible*/
|
|
14303
|
+
1 && (a = !0, N.isVisible = /*isVisible*/
|
|
14304
14304
|
b[0], ve(() => a = !1)), !r && w[0] & /*relativeY*/
|
|
14305
|
-
2 && (r = !0,
|
|
14305
|
+
2 && (r = !0, N.relativeY = /*relativeY*/
|
|
14306
14306
|
b[1], ve(() => r = !1)), !u && w[0] & /*absoluteY*/
|
|
14307
|
-
4 && (u = !0,
|
|
14308
|
-
b[2], ve(() => u = !1)), l.$set(
|
|
14307
|
+
4 && (u = !0, N.absoluteY = /*absoluteY*/
|
|
14308
|
+
b[2], ve(() => u = !1)), l.$set(N), /*isStandard*/
|
|
14309
14309
|
(b[30] || /*isVideo*/
|
|
14310
14310
|
b[23]) && /*isStopped*/
|
|
14311
14311
|
b[31] || /*isSmall*/
|
|
@@ -14523,7 +14523,7 @@ function MA(t) {
|
|
|
14523
14523
|
);
|
|
14524
14524
|
return {
|
|
14525
14525
|
c() {
|
|
14526
|
-
e = y("div"), me(i.$$.fragment), o = J(), f && f.c(), Mi(e, "class", s =
|
|
14526
|
+
e = y("div"), me(i.$$.fragment), o = J(), f && f.c(), Mi(e, "class", s = Rl(
|
|
14527
14527
|
/*classes*/
|
|
14528
14528
|
t[42]
|
|
14529
14529
|
) + " svelte-k6qh1c"), Sn(
|
|
@@ -14593,7 +14593,7 @@ function MA(t) {
|
|
|
14593
14593
|
8192 && V(f, 1)) : (f = za(A), f.c(), V(f, 1), f.m(e, null)) : f && (Fe(), z(f, 1, 1, () => {
|
|
14594
14594
|
f = null;
|
|
14595
14595
|
}), Ue()), (!a || _[1] & /*classes*/
|
|
14596
|
-
2048 && s !== (s =
|
|
14596
|
+
2048 && s !== (s = Rl(
|
|
14597
14597
|
/*classes*/
|
|
14598
14598
|
A[42]
|
|
14599
14599
|
) + " svelte-k6qh1c")) && Mi(e, "class", s), (!a || _[1] & /*widthStyle*/
|
|
@@ -14674,9 +14674,9 @@ function MA(t) {
|
|
|
14674
14674
|
};
|
|
14675
14675
|
}
|
|
14676
14676
|
function EA(t, e, i) {
|
|
14677
|
-
let n, o, s, l, a, r, u, c, g, f, A, _, k, S, T, v, P, O, x, p, C, Z, q, D, X, oe, ae, $, ee, ue, Ae, ce, ye, re, b, w,
|
|
14677
|
+
let n, o, s, l, a, r, u, c, g, f, A, _, k, S, T, v, P, O, x, p, C, Z, q, D, X, oe, ae, $, ee, ue, Ae, ce, ye, re, b, w, N, L, Ve, Le, Qe, j, he, ze, Ne, Ge;
|
|
14678
14678
|
import("./././././././././style.js");
|
|
14679
|
-
let { playerStyle: Me = "standard" } = e, { callToAction: nt = void 0 } = e, { skipButtonStyle: Te = "auto" } = e, { playlistStyle: Je = "auto-5-4" } = e, { playlistToggle: Ce = "auto" } = e, { downloadFormats: Lt = [] } = e, { durationFormat: Ee = void 0 } = e, { playerTitle: ft = void 0 } = e, { fixedPosition: Oe = void 0 } = e, { fixedWidth: qe = "auto" } = e, { fixedMargin:
|
|
14679
|
+
let { playerStyle: Me = "standard" } = e, { callToAction: nt = void 0 } = e, { skipButtonStyle: Te = "auto" } = e, { playlistStyle: Je = "auto-5-4" } = e, { playlistToggle: Ce = "auto" } = e, { downloadFormats: Lt = [] } = e, { durationFormat: Ee = void 0 } = e, { playerTitle: ft = void 0 } = e, { fixedPosition: Oe = void 0 } = e, { fixedWidth: qe = "auto" } = e, { fixedMargin: Rt = "0" } = e, { content: xe = [] } = e, { contentIndex: St = 0 } = e, { duration: Ye = 0 } = e, { currentTime: At = 0 } = e, { playbackState: $e = "stopped" } = e, { playbackRate: mt = 1 } = e, { playbackRates: Ze = [] } = e, { activeAdvert: De = void 0 } = e, { persistentAdvert: yt = void 0 } = e, { companionAdvert: et = void 0 } = e, { textColor: lt = "#111" } = e, { backgroundColor: ot = "#f5f5f5" } = e, { iconColor: Pt = "black" } = e, { videoTextColor: Xe = "white" } = e, { videoBackgroundColor: Ot = "black" } = e, { videoIconColor: vt = "white" } = e, { logoIconEnabled: Vt = !0 } = e, { logoImagePosition: wt = void 0 } = e, { maxImageSize: tt = 0 } = e, { onEvent: at = () => {
|
|
14680
14680
|
} } = e, { videoPosterImage: Bt = "" } = e, { videoIsBehind: bt = !1 } = e, { isFullScreen: kt = !1 } = e, { isVisible: Ke = void 0 } = e, { relativeY: rt = void 0 } = e, { absoluteY: pt = void 0 } = e, st, it, He, ht;
|
|
14681
14681
|
const Tt = () => {
|
|
14682
14682
|
ht && clearTimeout(ht), i(41, ht = setTimeout(() => i(41, ht = null), 500));
|
|
@@ -14711,7 +14711,7 @@ function EA(t, e, i) {
|
|
|
14711
14711
|
});
|
|
14712
14712
|
}
|
|
14713
14713
|
return t.$$set = (K) => {
|
|
14714
|
-
"playerStyle" in K && i(3, Me = K.playerStyle), "callToAction" in K && i(4, nt = K.callToAction), "skipButtonStyle" in K && i(68, Te = K.skipButtonStyle), "playlistStyle" in K && i(5, Je = K.playlistStyle), "playlistToggle" in K && i(69, Ce = K.playlistToggle), "downloadFormats" in K && i(6, Lt = K.downloadFormats), "durationFormat" in K && i(7, Ee = K.durationFormat), "playerTitle" in K && i(8, ft = K.playerTitle), "fixedPosition" in K && i(9, Oe = K.fixedPosition), "fixedWidth" in K && i(70, qe = K.fixedWidth), "fixedMargin" in K && i(10,
|
|
14714
|
+
"playerStyle" in K && i(3, Me = K.playerStyle), "callToAction" in K && i(4, nt = K.callToAction), "skipButtonStyle" in K && i(68, Te = K.skipButtonStyle), "playlistStyle" in K && i(5, Je = K.playlistStyle), "playlistToggle" in K && i(69, Ce = K.playlistToggle), "downloadFormats" in K && i(6, Lt = K.downloadFormats), "durationFormat" in K && i(7, Ee = K.durationFormat), "playerTitle" in K && i(8, ft = K.playerTitle), "fixedPosition" in K && i(9, Oe = K.fixedPosition), "fixedWidth" in K && i(70, qe = K.fixedWidth), "fixedMargin" in K && i(10, Rt = K.fixedMargin), "content" in K && i(11, xe = K.content), "contentIndex" in K && i(12, St = K.contentIndex), "duration" in K && i(13, Ye = K.duration), "currentTime" in K && i(14, At = K.currentTime), "playbackState" in K && i(71, $e = K.playbackState), "playbackRate" in K && i(15, mt = K.playbackRate), "playbackRates" in K && i(16, Ze = K.playbackRates), "activeAdvert" in K && i(72, De = K.activeAdvert), "persistentAdvert" in K && i(73, yt = K.persistentAdvert), "companionAdvert" in K && i(74, et = K.companionAdvert), "textColor" in K && i(75, lt = K.textColor), "backgroundColor" in K && i(76, ot = K.backgroundColor), "iconColor" in K && i(77, Pt = K.iconColor), "videoTextColor" in K && i(78, Xe = K.videoTextColor), "videoBackgroundColor" in K && i(79, Ot = K.videoBackgroundColor), "videoIconColor" in K && i(80, vt = K.videoIconColor), "logoIconEnabled" in K && i(81, Vt = K.logoIconEnabled), "logoImagePosition" in K && i(17, wt = K.logoImagePosition), "maxImageSize" in K && i(82, tt = K.maxImageSize), "onEvent" in K && i(18, at = K.onEvent), "videoPosterImage" in K && i(19, Bt = K.videoPosterImage), "videoIsBehind" in K && i(20, bt = K.videoIsBehind), "isFullScreen" in K && i(83, kt = K.isFullScreen), "isVisible" in K && i(0, Ke = K.isVisible), "relativeY" in K && i(1, rt = K.relativeY), "absoluteY" in K && i(2, pt = K.absoluteY);
|
|
14715
14715
|
}, t.$$.update = () => {
|
|
14716
14716
|
t.$$.dirty[0] & /*playerStyle*/
|
|
14717
14717
|
8 && i(26, n = Me === "small"), t.$$.dirty[0] & /*playerStyle*/
|
|
@@ -14760,7 +14760,7 @@ function EA(t, e, i) {
|
|
|
14760
14760
|
512 | t.$$.dirty[2] & /*position*/
|
|
14761
14761
|
33554432 && i(25, $ = Oe ? `fixed fixed-${ae}` : ""), t.$$.dirty[0] & /*fixedPosition, isSmall, isStandard*/
|
|
14762
14762
|
1140851200 && i(52, ee = (K) => Oe && !window.disableAnimation && Lm(K, { y: n || o ? 40 : 100 })), t.$$.dirty[0] & /*fixedMargin*/
|
|
14763
|
-
1024 && i(88, ue = Ir(
|
|
14763
|
+
1024 && i(88, ue = Ir(Rt)), t.$$.dirty[2] & /*margin*/
|
|
14764
14764
|
67108864 && i(51, Ae = `calc(${ue.left} + ${ue.right})`), t.$$.dirty[0] & /*playerStyle, isAdvert*/
|
|
14765
14765
|
536870920 | t.$$.dirty[1] & /*isMobile*/
|
|
14766
14766
|
4 | t.$$.dirty[2] & /*position*/
|
|
@@ -14779,7 +14779,7 @@ function EA(t, e, i) {
|
|
|
14779
14779
|
9 | t.$$.dirty[2] & /*persistentAdvert*/
|
|
14780
14780
|
2048 && i(49, w = c && re || !u && (yt == null ? void 0 : yt.clickThroughUrl)), t.$$.dirty[1] & /*isMobile*/
|
|
14781
14781
|
4 | t.$$.dirty[2] & /*maxImageSize*/
|
|
14782
|
-
1048576 && i(48,
|
|
14782
|
+
1048576 && i(48, N = f ? 80 : tt), t.$$.dirty[0] & /*isSmall, fixedPosition*/
|
|
14783
14783
|
67109376 | t.$$.dirty[2] & /*fixedWidth*/
|
|
14784
14784
|
256 && i(32, L = n && Oe && qe === "auto"), t.$$.dirty[0] & /*isSmall*/
|
|
14785
14785
|
67108864 | t.$$.dirty[2] & /*fixedWidth*/
|
|
@@ -14793,7 +14793,7 @@ function EA(t, e, i) {
|
|
|
14793
14793
|
67108864 | t.$$.dirty[2] & /*playlistParts, isPlaylist*/
|
|
14794
14794
|
12582912 && i(44, ze = (he[0] === "show" || he[0] === "auto" && g) && !n), t.$$.dirty[0] & /*isSmall*/
|
|
14795
14795
|
67108864 | t.$$.dirty[2] & /*playlistToggle, isPlaylist, isFullScreen*/
|
|
14796
|
-
6291584 && i(43,
|
|
14796
|
+
6291584 && i(43, Ne = (Ce === "show" || Ce === "auto" && g) && !n && !kt), t.$$.dirty[0] & /*playerStyle, positionClasses, controlsOrder*/
|
|
14797
14797
|
50331656 | t.$$.dirty[2] & /*playbackState*/
|
|
14798
14798
|
512 && i(42, Ge = `user-interface ${Me} ${$e} ${$} ${ce}`), t.$$.dirty[0] & /*fixedPosition*/
|
|
14799
14799
|
512 && Oe && Tt();
|
|
@@ -14808,7 +14808,7 @@ function EA(t, e, i) {
|
|
|
14808
14808
|
Ee,
|
|
14809
14809
|
ft,
|
|
14810
14810
|
Oe,
|
|
14811
|
-
|
|
14811
|
+
Rt,
|
|
14812
14812
|
xe,
|
|
14813
14813
|
St,
|
|
14814
14814
|
Ye,
|
|
@@ -14841,12 +14841,12 @@ function EA(t, e, i) {
|
|
|
14841
14841
|
st,
|
|
14842
14842
|
ht,
|
|
14843
14843
|
Ge,
|
|
14844
|
-
|
|
14844
|
+
Ne,
|
|
14845
14845
|
ze,
|
|
14846
14846
|
j,
|
|
14847
14847
|
Qe,
|
|
14848
14848
|
Le,
|
|
14849
|
-
|
|
14849
|
+
N,
|
|
14850
14850
|
w,
|
|
14851
14851
|
b,
|
|
14852
14852
|
Ae,
|
|
@@ -15242,7 +15242,7 @@ function xA(t, e, i) {
|
|
|
15242
15242
|
1 && ((A = l == null ? void 0 : l.classList) == null || A.add("beyondwords-widget", "bwp"));
|
|
15243
15243
|
}, [l, r, a, u, n, s, o, f];
|
|
15244
15244
|
}
|
|
15245
|
-
class
|
|
15245
|
+
class Rs extends we {
|
|
15246
15246
|
constructor(e) {
|
|
15247
15247
|
super(), Pe(this, e, xA, jA, pe, { root: 0, prepend: 2 });
|
|
15248
15248
|
}
|
|
@@ -15259,7 +15259,7 @@ class Ns extends we {
|
|
|
15259
15259
|
this.$$set({ prepend: e }), d();
|
|
15260
15260
|
}
|
|
15261
15261
|
}
|
|
15262
|
-
const W = (t, e, i) => Ie(t, e, e === "style" ?
|
|
15262
|
+
const W = (t, e, i) => Ie(t, e, e === "style" ? RA(i) : i), DA = /;(?!([^()]*\([^()]*\))*[^()]*\))/, RA = (t) => t.split(DA).filter((e) => e).map((e) => e + " !important").join(";");
|
|
15263
15263
|
function La(t, e, i) {
|
|
15264
15264
|
const n = t.slice();
|
|
15265
15265
|
return n[92] = e[i], n[94] = i, n;
|
|
@@ -15272,7 +15272,7 @@ function xa(t, e, i) {
|
|
|
15272
15272
|
const n = t.slice();
|
|
15273
15273
|
return n[92] = e[i], n[94] = i, n;
|
|
15274
15274
|
}
|
|
15275
|
-
function
|
|
15275
|
+
function NA(t, e, i) {
|
|
15276
15276
|
const n = t.slice();
|
|
15277
15277
|
return n[97] = e[i], n;
|
|
15278
15278
|
}
|
|
@@ -15280,7 +15280,7 @@ function Da(t, e, i) {
|
|
|
15280
15280
|
const n = t.slice();
|
|
15281
15281
|
return n[92] = e[i], n[94] = i, n;
|
|
15282
15282
|
}
|
|
15283
|
-
function
|
|
15283
|
+
function Ra(t) {
|
|
15284
15284
|
let e, i, n, o = (
|
|
15285
15285
|
/*item*/
|
|
15286
15286
|
t[92].placement + ""
|
|
@@ -15323,25 +15323,25 @@ function FA(t) {
|
|
|
15323
15323
|
}
|
|
15324
15324
|
};
|
|
15325
15325
|
}
|
|
15326
|
-
function
|
|
15327
|
-
let e, i, n, o, s, l, a, r, u, c, g, f, A, _, k, S, T, v, P, O, x, p, C, Z, q, D, X, oe, ae, $, ee, ue, Ae, ce, ye, re, b, w,
|
|
15326
|
+
function Na(t) {
|
|
15327
|
+
let e, i, n, o, s, l, a, r, u, c, g, f, A, _, k, S, T, v, P, O, x, p, C, Z, q, D, X, oe, ae, $, ee, ue, Ae, ce, ye, re, b, w, N, L, Ve, Le, Qe, j, he, ze, Ne, Ge, Me, nt, Te, Je, Ce, Lt, Ee, ft, Oe, qe, Rt, xe, St, Ye, At, $e, mt, Ze, De, yt, et, lt, ot, Pt, Xe, Ot, vt, Vt, wt, tt, at, Bt, bt, kt, Ke, rt, pt, st, it, He, ht, Tt, U, ut, te, I, B, le, K, jt, dn, Et, Ti, ri, ui, qt, fi, ki, Kt, Nt, Ci, zi, ci, Ft, Ii, ni = ti(
|
|
15328
15328
|
/*content*/
|
|
15329
15329
|
t[43]
|
|
15330
15330
|
), Ct = [];
|
|
15331
|
-
for (let
|
|
15332
|
-
Ct[
|
|
15331
|
+
for (let R = 0; R < ni.length; R += 1)
|
|
15332
|
+
Ct[R] = Fa(xa(t, ni, R));
|
|
15333
15333
|
let oi = ti(
|
|
15334
15334
|
/*introsOutros*/
|
|
15335
15335
|
t[44]
|
|
15336
15336
|
), It = [];
|
|
15337
|
-
for (let
|
|
15338
|
-
It[
|
|
15337
|
+
for (let R = 0; R < oi.length; R += 1)
|
|
15338
|
+
It[R] = Ua(ja(t, oi, R));
|
|
15339
15339
|
let Oi = ti(
|
|
15340
15340
|
/*adverts*/
|
|
15341
15341
|
t[45]
|
|
15342
15342
|
), Wt = [];
|
|
15343
|
-
for (let
|
|
15344
|
-
Wt[
|
|
15343
|
+
for (let R = 0; R < Oi.length; R += 1)
|
|
15344
|
+
Wt[R] = Ha(La(t, Oi, R));
|
|
15345
15345
|
return {
|
|
15346
15346
|
c() {
|
|
15347
15347
|
e = y("br"), i = J(), n = y("strong"), n.textContent = "Advanced settings:", o = J(), s = y("br"), l = y("br"), a = J(), r = y("div"), u = ie(`projectId:
|
|
@@ -15351,21 +15351,21 @@ function Ra(t) {
|
|
|
15351
15351
|
`), p = y("input"), C = J(), Z = y("div"), q = ie(`sourceUrl:
|
|
15352
15352
|
`), D = y("input"), X = J(), oe = y("div"), ae = ie(`showUserInterface:
|
|
15353
15353
|
`), $ = y("select"), ee = y("option"), ee.textContent = `${!1}`, ue = y("option"), ue.textContent = `${!0}`, Ae = J(), ce = y("div"), ye = ie(`videoTextColor:
|
|
15354
|
-
`), re = y("input"), b = J(), w = y("div"),
|
|
15354
|
+
`), re = y("input"), b = J(), w = y("div"), N = ie(`videoIconColor:
|
|
15355
15355
|
`), L = y("input"), Ve = J(), Le = y("div"), Qe = ie(`mediaSession:
|
|
15356
|
-
`), j = y("select"), he = y("option"), he.textContent = "auto", ze = y("option"), ze.textContent = "override",
|
|
15356
|
+
`), j = y("select"), he = y("option"), he.textContent = "auto", ze = y("option"), ze.textContent = "override", Ne = y("option"), Ne.textContent = "none", Ge = J(), Me = y("div"), nt = ie(`contentIndex:
|
|
15357
15357
|
`), Te = y("select");
|
|
15358
|
-
for (let
|
|
15359
|
-
Ct[
|
|
15358
|
+
for (let R = 0; R < Ct.length; R += 1)
|
|
15359
|
+
Ct[R].c();
|
|
15360
15360
|
Je = J(), Ce = y("div"), Lt = ie(`introsOutrosIndex:
|
|
15361
15361
|
`), Ee = y("select"), ft = y("option"), ft.textContent = "-1 (none)";
|
|
15362
|
-
for (let
|
|
15363
|
-
It[
|
|
15364
|
-
Oe = J(), qe = y("div"),
|
|
15362
|
+
for (let R = 0; R < It.length; R += 1)
|
|
15363
|
+
It[R].c();
|
|
15364
|
+
Oe = J(), qe = y("div"), Rt = ie(`persistentAdImage:
|
|
15365
15365
|
`), xe = y("select"), St = y("option"), St.textContent = `${!1}`, Ye = y("option"), Ye.textContent = `${!0}`, At = J(), $e = y("div"), mt = ie(`persistentIndex:
|
|
15366
15366
|
`), Ze = y("select"), De = y("option"), De.textContent = "-1 (none)";
|
|
15367
|
-
for (let
|
|
15368
|
-
Wt[
|
|
15367
|
+
for (let R = 0; R < Wt.length; R += 1)
|
|
15368
|
+
Wt[R].c();
|
|
15369
15369
|
yt = J(), et = y("div"), lt = ie(`duration:
|
|
15370
15370
|
`), ot = y("input"), Pt = J(), Xe = y("div"), Ot = ie(`currentTime:
|
|
15371
15371
|
`), vt = y("input"), Vt = J(), wt = y("div"), tt = ie(`playbackRate:
|
|
@@ -15374,12 +15374,12 @@ function Ra(t) {
|
|
|
15374
15374
|
`), it = y("select"), He = y("option"), He.textContent = `${!1}`, ht = y("option"), ht.textContent = `${!0}`, Tt = J(), U = y("div"), ut = ie(`advertConsent:
|
|
15375
15375
|
`), te = y("select"), I = y("option"), I.textContent = "personalized", B = y("option"), B.textContent = "non-personalized", le = y("option"), le.textContent = "under-the-age-of-consent", K = J(), jt = y("div"), dn = ie(`analyticsConsent:
|
|
15376
15376
|
`), Et = y("select"), Ti = y("option"), Ti.textContent = "allowed", ri = y("option"), ri.textContent = "without-local-storage", ui = y("option"), ui.textContent = "none", qt = J(), fi = y("div"), ki = ie(`analyticsCustomUrl:
|
|
15377
|
-
`), Kt = y("input"),
|
|
15377
|
+
`), Kt = y("input"), Nt = J(), Ci = y("div"), zi = ie(`analyticsTag:
|
|
15378
15378
|
`), ci = y("input"), W(n, "class", "svelte-1a8td5m"), W(c, "tabindex", -1), W(c, "type", "text"), W(c, "class", "svelte-1a8td5m"), W(r, "class", "control svelte-1a8td5m"), W(_, "tabindex", -1), W(_, "type", "text"), W(_, "class", "svelte-1a8td5m"), W(f, "class", "control svelte-1a8td5m"), W(v, "tabindex", -1), W(v, "type", "text"), W(v, "class", "svelte-1a8td5m"), W(S, "class", "control svelte-1a8td5m"), W(p, "tabindex", -1), W(p, "type", "text"), W(p, "class", "svelte-1a8td5m"), W(O, "class", "control svelte-1a8td5m"), W(D, "tabindex", -1), W(D, "type", "text"), W(D, "class", "svelte-1a8td5m"), W(Z, "class", "control svelte-1a8td5m"), ee.__value = !1, H(ee, ee.__value), ue.__value = !0, H(ue, ue.__value), W($, "tabindex", -1), W($, "class", "svelte-1a8td5m"), /*showUserInterface*/
|
|
15379
15379
|
t[5] === void 0 && dt(() => (
|
|
15380
15380
|
/*select0_change_handler_1*/
|
|
15381
15381
|
t[72].call($)
|
|
15382
|
-
)), W(oe, "class", "control svelte-1a8td5m"), W(re, "tabindex", -1), W(re, "type", "text"), W(re, "class", "svelte-1a8td5m"), W(ce, "class", "control svelte-1a8td5m"), W(L, "tabindex", -1), W(L, "type", "text"), W(L, "class", "svelte-1a8td5m"), W(w, "class", "control svelte-1a8td5m"), he.__value = "auto", H(he, he.__value), ze.__value = "override", H(ze, ze.__value),
|
|
15382
|
+
)), W(oe, "class", "control svelte-1a8td5m"), W(re, "tabindex", -1), W(re, "type", "text"), W(re, "class", "svelte-1a8td5m"), W(ce, "class", "control svelte-1a8td5m"), W(L, "tabindex", -1), W(L, "type", "text"), W(L, "class", "svelte-1a8td5m"), W(w, "class", "control svelte-1a8td5m"), he.__value = "auto", H(he, he.__value), ze.__value = "override", H(ze, ze.__value), Ne.__value = "none", H(Ne, Ne.__value), W(j, "tabindex", -1), W(j, "class", "svelte-1a8td5m"), /*mediaSession*/
|
|
15383
15383
|
t[12] === void 0 && dt(() => (
|
|
15384
15384
|
/*select1_change_handler_1*/
|
|
15385
15385
|
t[75].call(j)
|
|
@@ -15413,46 +15413,46 @@ function Ra(t) {
|
|
|
15413
15413
|
t[86].call(Et)
|
|
15414
15414
|
)), W(jt, "class", "control svelte-1a8td5m"), W(Kt, "tabindex", -1), W(Kt, "type", "text"), W(Kt, "class", "svelte-1a8td5m"), W(fi, "class", "control svelte-1a8td5m"), W(ci, "tabindex", -1), W(ci, "type", "text"), W(ci, "class", "svelte-1a8td5m"), W(Ci, "class", "control svelte-1a8td5m");
|
|
15415
15415
|
},
|
|
15416
|
-
m(
|
|
15417
|
-
E(
|
|
15416
|
+
m(R, G) {
|
|
15417
|
+
E(R, e, G), E(R, i, G), E(R, n, G), E(R, o, G), E(R, s, G), E(R, l, G), E(R, a, G), E(R, r, G), h(r, u), h(r, c), H(
|
|
15418
15418
|
c,
|
|
15419
15419
|
/*projectId*/
|
|
15420
15420
|
t[0]
|
|
15421
|
-
), E(
|
|
15421
|
+
), E(R, g, G), E(R, f, G), h(f, A), h(f, _), H(
|
|
15422
15422
|
_,
|
|
15423
15423
|
/*contentId*/
|
|
15424
15424
|
t[1]
|
|
15425
|
-
), E(
|
|
15425
|
+
), E(R, k, G), E(R, S, G), h(S, T), h(S, v), H(
|
|
15426
15426
|
v,
|
|
15427
15427
|
/*playlistId*/
|
|
15428
15428
|
t[2]
|
|
15429
|
-
), E(
|
|
15429
|
+
), E(R, P, G), E(R, O, G), h(O, x), h(O, p), H(
|
|
15430
15430
|
p,
|
|
15431
15431
|
/*sourceId*/
|
|
15432
15432
|
t[3]
|
|
15433
|
-
), E(
|
|
15433
|
+
), E(R, C, G), E(R, Z, G), h(Z, q), h(Z, D), H(
|
|
15434
15434
|
D,
|
|
15435
15435
|
/*sourceUrl*/
|
|
15436
15436
|
t[4]
|
|
15437
|
-
), E(
|
|
15437
|
+
), E(R, X, G), E(R, oe, G), h(oe, ae), h(oe, $), h($, ee), h($, ue), We(
|
|
15438
15438
|
$,
|
|
15439
15439
|
/*showUserInterface*/
|
|
15440
15440
|
t[5],
|
|
15441
15441
|
!0
|
|
15442
|
-
), E(
|
|
15442
|
+
), E(R, Ae, G), E(R, ce, G), h(ce, ye), h(ce, re), H(
|
|
15443
15443
|
re,
|
|
15444
15444
|
/*videoTextColor*/
|
|
15445
15445
|
t[31]
|
|
15446
|
-
), E(
|
|
15446
|
+
), E(R, b, G), E(R, w, G), h(w, N), h(w, L), H(
|
|
15447
15447
|
L,
|
|
15448
15448
|
/*videoIconColor*/
|
|
15449
15449
|
t[32]
|
|
15450
|
-
), E(
|
|
15450
|
+
), E(R, Ve, G), E(R, Le, G), h(Le, Qe), h(Le, j), h(j, he), h(j, ze), h(j, Ne), We(
|
|
15451
15451
|
j,
|
|
15452
15452
|
/*mediaSession*/
|
|
15453
15453
|
t[12],
|
|
15454
15454
|
!0
|
|
15455
|
-
), E(
|
|
15455
|
+
), E(R, Ge, G), E(R, Me, G), h(Me, nt), h(Me, Te);
|
|
15456
15456
|
for (let fe = 0; fe < Ct.length; fe += 1)
|
|
15457
15457
|
Ct[fe] && Ct[fe].m(Te, null);
|
|
15458
15458
|
We(
|
|
@@ -15460,7 +15460,7 @@ function Ra(t) {
|
|
|
15460
15460
|
/*contentIndex*/
|
|
15461
15461
|
t[13],
|
|
15462
15462
|
!0
|
|
15463
|
-
), E(
|
|
15463
|
+
), E(R, Je, G), E(R, Ce, G), h(Ce, Lt), h(Ce, Ee), h(Ee, ft);
|
|
15464
15464
|
for (let fe = 0; fe < It.length; fe += 1)
|
|
15465
15465
|
It[fe] && It[fe].m(Ee, null);
|
|
15466
15466
|
We(
|
|
@@ -15468,12 +15468,12 @@ function Ra(t) {
|
|
|
15468
15468
|
/*introsOutrosIndex*/
|
|
15469
15469
|
t[14],
|
|
15470
15470
|
!0
|
|
15471
|
-
), E(
|
|
15471
|
+
), E(R, Oe, G), E(R, qe, G), h(qe, Rt), h(qe, xe), h(xe, St), h(xe, Ye), We(
|
|
15472
15472
|
xe,
|
|
15473
15473
|
/*persistentAdImage*/
|
|
15474
15474
|
t[16],
|
|
15475
15475
|
!0
|
|
15476
|
-
), E(
|
|
15476
|
+
), E(R, At, G), E(R, $e, G), h($e, mt), h($e, Ze), h(Ze, De);
|
|
15477
15477
|
for (let fe = 0; fe < Wt.length; fe += 1)
|
|
15478
15478
|
Wt[fe] && Wt[fe].m(Ze, null);
|
|
15479
15479
|
We(
|
|
@@ -15481,42 +15481,42 @@ function Ra(t) {
|
|
|
15481
15481
|
/*persistentIndex*/
|
|
15482
15482
|
t[17],
|
|
15483
15483
|
!0
|
|
15484
|
-
), E(
|
|
15484
|
+
), E(R, yt, G), E(R, et, G), h(et, lt), h(et, ot), H(
|
|
15485
15485
|
ot,
|
|
15486
15486
|
/*duration*/
|
|
15487
15487
|
t[18]
|
|
15488
|
-
), E(
|
|
15488
|
+
), E(R, Pt, G), E(R, Xe, G), h(Xe, Ot), h(Xe, vt), H(
|
|
15489
15489
|
vt,
|
|
15490
15490
|
/*currentTime*/
|
|
15491
15491
|
t[19]
|
|
15492
|
-
), E(
|
|
15492
|
+
), E(R, Vt, G), E(R, wt, G), h(wt, tt), h(wt, at), H(
|
|
15493
15493
|
at,
|
|
15494
15494
|
/*playbackRate*/
|
|
15495
15495
|
t[21]
|
|
15496
|
-
), E(
|
|
15496
|
+
), E(R, Bt, G), E(R, bt, G), h(bt, kt), h(bt, Ke), H(
|
|
15497
15497
|
Ke,
|
|
15498
15498
|
/*widgetTarget*/
|
|
15499
15499
|
t[26]
|
|
15500
|
-
), E(
|
|
15500
|
+
), E(R, rt, G), E(R, pt, G), h(pt, st), h(pt, it), h(it, He), h(it, ht), We(
|
|
15501
15501
|
it,
|
|
15502
15502
|
/*logoIconEnabled*/
|
|
15503
15503
|
t[33],
|
|
15504
15504
|
!0
|
|
15505
|
-
), E(
|
|
15505
|
+
), E(R, Tt, G), E(R, U, G), h(U, ut), h(U, te), h(te, I), h(te, B), h(te, le), We(
|
|
15506
15506
|
te,
|
|
15507
15507
|
/*advertConsent*/
|
|
15508
15508
|
t[38],
|
|
15509
15509
|
!0
|
|
15510
|
-
), E(
|
|
15510
|
+
), E(R, K, G), E(R, jt, G), h(jt, dn), h(jt, Et), h(Et, Ti), h(Et, ri), h(Et, ui), We(
|
|
15511
15511
|
Et,
|
|
15512
15512
|
/*analyticsConsent*/
|
|
15513
15513
|
t[39],
|
|
15514
15514
|
!0
|
|
15515
|
-
), E(
|
|
15515
|
+
), E(R, qt, G), E(R, fi, G), h(fi, ki), h(fi, Kt), H(
|
|
15516
15516
|
Kt,
|
|
15517
15517
|
/*analyticsCustomUrl*/
|
|
15518
15518
|
t[40]
|
|
15519
|
-
), E(
|
|
15519
|
+
), E(R, Nt, G), E(R, Ci, G), h(Ci, zi), h(Ci, ci), H(
|
|
15520
15520
|
ci,
|
|
15521
15521
|
/*analyticsTag*/
|
|
15522
15522
|
t[41]
|
|
@@ -15655,68 +15655,68 @@ function Ra(t) {
|
|
|
15655
15655
|
)
|
|
15656
15656
|
], Ft = !0);
|
|
15657
15657
|
},
|
|
15658
|
-
p(
|
|
15658
|
+
p(R, G) {
|
|
15659
15659
|
if (G[0] & /*projectId*/
|
|
15660
15660
|
1 && c.value !== /*projectId*/
|
|
15661
|
-
|
|
15661
|
+
R[0] && H(
|
|
15662
15662
|
c,
|
|
15663
15663
|
/*projectId*/
|
|
15664
|
-
|
|
15664
|
+
R[0]
|
|
15665
15665
|
), G[0] & /*contentId*/
|
|
15666
15666
|
2 && _.value !== /*contentId*/
|
|
15667
|
-
|
|
15667
|
+
R[1] && H(
|
|
15668
15668
|
_,
|
|
15669
15669
|
/*contentId*/
|
|
15670
|
-
|
|
15670
|
+
R[1]
|
|
15671
15671
|
), G[0] & /*playlistId*/
|
|
15672
15672
|
4 && v.value !== /*playlistId*/
|
|
15673
|
-
|
|
15673
|
+
R[2] && H(
|
|
15674
15674
|
v,
|
|
15675
15675
|
/*playlistId*/
|
|
15676
|
-
|
|
15676
|
+
R[2]
|
|
15677
15677
|
), G[0] & /*sourceId*/
|
|
15678
15678
|
8 && p.value !== /*sourceId*/
|
|
15679
|
-
|
|
15679
|
+
R[3] && H(
|
|
15680
15680
|
p,
|
|
15681
15681
|
/*sourceId*/
|
|
15682
|
-
|
|
15682
|
+
R[3]
|
|
15683
15683
|
), G[0] & /*sourceUrl*/
|
|
15684
15684
|
16 && D.value !== /*sourceUrl*/
|
|
15685
|
-
|
|
15685
|
+
R[4] && H(
|
|
15686
15686
|
D,
|
|
15687
15687
|
/*sourceUrl*/
|
|
15688
|
-
|
|
15688
|
+
R[4]
|
|
15689
15689
|
), G[0] & /*showUserInterface*/
|
|
15690
15690
|
32 && We(
|
|
15691
15691
|
$,
|
|
15692
15692
|
/*showUserInterface*/
|
|
15693
|
-
|
|
15693
|
+
R[5]
|
|
15694
15694
|
), G[1] & /*videoTextColor*/
|
|
15695
15695
|
1 && re.value !== /*videoTextColor*/
|
|
15696
|
-
|
|
15696
|
+
R[31] && H(
|
|
15697
15697
|
re,
|
|
15698
15698
|
/*videoTextColor*/
|
|
15699
|
-
|
|
15699
|
+
R[31]
|
|
15700
15700
|
), G[1] & /*videoIconColor*/
|
|
15701
15701
|
2 && L.value !== /*videoIconColor*/
|
|
15702
|
-
|
|
15702
|
+
R[32] && H(
|
|
15703
15703
|
L,
|
|
15704
15704
|
/*videoIconColor*/
|
|
15705
|
-
|
|
15705
|
+
R[32]
|
|
15706
15706
|
), G[0] & /*mediaSession*/
|
|
15707
15707
|
4096 && We(
|
|
15708
15708
|
j,
|
|
15709
15709
|
/*mediaSession*/
|
|
15710
|
-
|
|
15710
|
+
R[12]
|
|
15711
15711
|
), G[1] & /*content*/
|
|
15712
15712
|
4096) {
|
|
15713
15713
|
ni = ti(
|
|
15714
15714
|
/*content*/
|
|
15715
|
-
|
|
15715
|
+
R[43]
|
|
15716
15716
|
);
|
|
15717
15717
|
let fe;
|
|
15718
15718
|
for (fe = 0; fe < ni.length; fe += 1) {
|
|
15719
|
-
const Ht = xa(
|
|
15719
|
+
const Ht = xa(R, ni, fe);
|
|
15720
15720
|
Ct[fe] ? Ct[fe].p(Ht, G) : (Ct[fe] = Fa(Ht), Ct[fe].c(), Ct[fe].m(Te, null));
|
|
15721
15721
|
}
|
|
15722
15722
|
for (; fe < Ct.length; fe += 1)
|
|
@@ -15727,16 +15727,16 @@ function Ra(t) {
|
|
|
15727
15727
|
8192 && We(
|
|
15728
15728
|
Te,
|
|
15729
15729
|
/*contentIndex*/
|
|
15730
|
-
|
|
15730
|
+
R[13]
|
|
15731
15731
|
), G[1] & /*introsOutros*/
|
|
15732
15732
|
8192) {
|
|
15733
15733
|
oi = ti(
|
|
15734
15734
|
/*introsOutros*/
|
|
15735
|
-
|
|
15735
|
+
R[44]
|
|
15736
15736
|
);
|
|
15737
15737
|
let fe;
|
|
15738
15738
|
for (fe = 0; fe < oi.length; fe += 1) {
|
|
15739
|
-
const Ht = ja(
|
|
15739
|
+
const Ht = ja(R, oi, fe);
|
|
15740
15740
|
It[fe] ? It[fe].p(Ht, G) : (It[fe] = Ua(Ht), It[fe].c(), It[fe].m(Ee, null));
|
|
15741
15741
|
}
|
|
15742
15742
|
for (; fe < It.length; fe += 1)
|
|
@@ -15747,21 +15747,21 @@ function Ra(t) {
|
|
|
15747
15747
|
16384 && We(
|
|
15748
15748
|
Ee,
|
|
15749
15749
|
/*introsOutrosIndex*/
|
|
15750
|
-
|
|
15750
|
+
R[14]
|
|
15751
15751
|
), G[0] & /*persistentAdImage*/
|
|
15752
15752
|
65536 && We(
|
|
15753
15753
|
xe,
|
|
15754
15754
|
/*persistentAdImage*/
|
|
15755
|
-
|
|
15755
|
+
R[16]
|
|
15756
15756
|
), G[1] & /*adverts*/
|
|
15757
15757
|
16384) {
|
|
15758
15758
|
Oi = ti(
|
|
15759
15759
|
/*adverts*/
|
|
15760
|
-
|
|
15760
|
+
R[45]
|
|
15761
15761
|
);
|
|
15762
15762
|
let fe;
|
|
15763
15763
|
for (fe = 0; fe < Oi.length; fe += 1) {
|
|
15764
|
-
const Ht = La(
|
|
15764
|
+
const Ht = La(R, Oi, fe);
|
|
15765
15765
|
Wt[fe] ? Wt[fe].p(Ht, G) : (Wt[fe] = Ha(Ht), Wt[fe].c(), Wt[fe].m(Ze, null));
|
|
15766
15766
|
}
|
|
15767
15767
|
for (; fe < Wt.length; fe += 1)
|
|
@@ -15772,62 +15772,62 @@ function Ra(t) {
|
|
|
15772
15772
|
131072 && We(
|
|
15773
15773
|
Ze,
|
|
15774
15774
|
/*persistentIndex*/
|
|
15775
|
-
|
|
15775
|
+
R[17]
|
|
15776
15776
|
), G[0] & /*duration*/
|
|
15777
15777
|
262144 && ot.value !== /*duration*/
|
|
15778
|
-
|
|
15778
|
+
R[18] && H(
|
|
15779
15779
|
ot,
|
|
15780
15780
|
/*duration*/
|
|
15781
|
-
|
|
15781
|
+
R[18]
|
|
15782
15782
|
), G[0] & /*currentTime*/
|
|
15783
15783
|
524288 && vt.value !== /*currentTime*/
|
|
15784
|
-
|
|
15784
|
+
R[19] && H(
|
|
15785
15785
|
vt,
|
|
15786
15786
|
/*currentTime*/
|
|
15787
|
-
|
|
15787
|
+
R[19]
|
|
15788
15788
|
), G[0] & /*playbackRate*/
|
|
15789
15789
|
2097152 && at.value !== /*playbackRate*/
|
|
15790
|
-
|
|
15790
|
+
R[21] && H(
|
|
15791
15791
|
at,
|
|
15792
15792
|
/*playbackRate*/
|
|
15793
|
-
|
|
15793
|
+
R[21]
|
|
15794
15794
|
), G[0] & /*widgetTarget*/
|
|
15795
15795
|
67108864 && Ke.value !== /*widgetTarget*/
|
|
15796
|
-
|
|
15796
|
+
R[26] && H(
|
|
15797
15797
|
Ke,
|
|
15798
15798
|
/*widgetTarget*/
|
|
15799
|
-
|
|
15799
|
+
R[26]
|
|
15800
15800
|
), G[1] & /*logoIconEnabled*/
|
|
15801
15801
|
4 && We(
|
|
15802
15802
|
it,
|
|
15803
15803
|
/*logoIconEnabled*/
|
|
15804
|
-
|
|
15804
|
+
R[33]
|
|
15805
15805
|
), G[1] & /*advertConsent*/
|
|
15806
15806
|
128 && We(
|
|
15807
15807
|
te,
|
|
15808
15808
|
/*advertConsent*/
|
|
15809
|
-
|
|
15809
|
+
R[38]
|
|
15810
15810
|
), G[1] & /*analyticsConsent*/
|
|
15811
15811
|
256 && We(
|
|
15812
15812
|
Et,
|
|
15813
15813
|
/*analyticsConsent*/
|
|
15814
|
-
|
|
15814
|
+
R[39]
|
|
15815
15815
|
), G[1] & /*analyticsCustomUrl*/
|
|
15816
15816
|
512 && Kt.value !== /*analyticsCustomUrl*/
|
|
15817
|
-
|
|
15817
|
+
R[40] && H(
|
|
15818
15818
|
Kt,
|
|
15819
15819
|
/*analyticsCustomUrl*/
|
|
15820
|
-
|
|
15820
|
+
R[40]
|
|
15821
15821
|
), G[1] & /*analyticsTag*/
|
|
15822
15822
|
1024 && ci.value !== /*analyticsTag*/
|
|
15823
|
-
|
|
15823
|
+
R[41] && H(
|
|
15824
15824
|
ci,
|
|
15825
15825
|
/*analyticsTag*/
|
|
15826
|
-
|
|
15826
|
+
R[41]
|
|
15827
15827
|
);
|
|
15828
15828
|
},
|
|
15829
|
-
d(
|
|
15830
|
-
|
|
15829
|
+
d(R) {
|
|
15830
|
+
R && (M(e), M(i), M(n), M(o), M(s), M(l), M(a), M(r), M(g), M(f), M(k), M(S), M(P), M(O), M(C), M(Z), M(X), M(oe), M(Ae), M(ce), M(b), M(w), M(Ve), M(Le), M(Ge), M(Me), M(Je), M(Ce), M(Oe), M(qe), M(At), M($e), M(yt), M(et), M(Pt), M(Xe), M(Vt), M(wt), M(Bt), M(bt), M(rt), M(pt), M(Tt), M(U), M(K), M(jt), M(qt), M(fi), M(Nt), M(Ci)), Cn(Ct, R), Cn(It, R), Cn(Wt, R), Ft = !1, _t(Ii);
|
|
15831
15831
|
}
|
|
15832
15832
|
};
|
|
15833
15833
|
}
|
|
@@ -15950,26 +15950,26 @@ function HA(t) {
|
|
|
15950
15950
|
};
|
|
15951
15951
|
}
|
|
15952
15952
|
function qA(t) {
|
|
15953
|
-
let e, i, n, o, s, l, a, r, u, c, g, f, A, _, k, S, T, v, P, O, x, p, C, Z, q, D, X, oe, ae, $, ee, ue, Ae, ce, ye, re, b, w,
|
|
15953
|
+
let e, i, n, o, s, l, a, r, u, c, g, f, A, _, k, S, T, v, P, O, x, p, C, Z, q, D, X, oe, ae, $, ee, ue, Ae, ce, ye, re, b, w, N, L, Ve, Le, Qe, j, he, ze, Ne, Ge, Me, nt, Te, Je, Ce, Lt, Ee, ft, Oe, qe, Rt, xe, St, Ye, At, $e, mt, Ze, De, yt, et, lt, ot, Pt, Xe, Ot, vt, Vt, wt, tt, at, Bt, bt, kt, Ke, rt, pt, st, it, He, ht, Tt, U, ut, te, I, B, le, K, jt, dn, Et, Ti, ri, ui, qt, fi, ki, Kt, Nt, Ci, zi, ci, Ft, Ii, ni, Ct, oi, It, Oi, Wt, R, G, fe, Ht, Li, Ni, gn, Mo, In, Eo, di, fn, mn, hn, _n, An, zo, On, Lo, ji, jo, no, xo, Do, Qi, oo, $i, so, Ro, yn = ti(
|
|
15954
15954
|
/*adverts*/
|
|
15955
15955
|
t[45]
|
|
15956
15956
|
), Gt = [];
|
|
15957
15957
|
for (let _e = 0; _e < yn.length; _e += 1)
|
|
15958
|
-
Gt[_e] =
|
|
15959
|
-
let
|
|
15958
|
+
Gt[_e] = Ra(Da(t, yn, _e));
|
|
15959
|
+
let Ns = ti([1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]), Vn = [];
|
|
15960
15960
|
for (let _e = 0; _e < 12; _e += 1)
|
|
15961
|
-
Vn[_e] = FA(
|
|
15961
|
+
Vn[_e] = FA(NA(t, Ns, _e));
|
|
15962
15962
|
let si = (
|
|
15963
15963
|
/*showAdvancedSettings*/
|
|
15964
|
-
t[46] &&
|
|
15964
|
+
t[46] && Na(t)
|
|
15965
15965
|
);
|
|
15966
|
-
function
|
|
15966
|
+
function No(_e, ct) {
|
|
15967
15967
|
return (
|
|
15968
15968
|
/*showAdvancedSettings*/
|
|
15969
15969
|
_e[46] ? HA : UA
|
|
15970
15970
|
);
|
|
15971
15971
|
}
|
|
15972
|
-
let jn =
|
|
15972
|
+
let jn = No(t), Vi = jn(t);
|
|
15973
15973
|
return {
|
|
15974
15974
|
c() {
|
|
15975
15975
|
e = y("div"), i = y("div"), i.innerHTML = '<strong class="svelte-1a8td5m">Player settings:</strong> <a tabindex="-1" target="_blank" class="docs svelte-1a8td5m" href="https://github.com/beyondwords-io/player/blob/main/doc/player-settings.md">view docs</a>', n = J(), o = y("br"), s = J(), l = y("div"), a = ie(`playerStyle:
|
|
@@ -15977,13 +15977,13 @@ function qA(t) {
|
|
|
15977
15977
|
`), S = y("select"), T = y("option"), T.textContent = "stopped", v = y("option"), v.textContent = "playing", P = y("option"), P.textContent = "paused", O = J(), x = y("div"), p = ie(`playerTitle:
|
|
15978
15978
|
`), C = y("input"), Z = J(), q = y("div"), D = ie(`callToAction:
|
|
15979
15979
|
`), X = y("input"), oe = J(), ae = y("div"), $ = ie(`skipButtonStyle:
|
|
15980
|
-
`), ee = y("select"), ue = y("option"), ue.textContent = "auto", Ae = y("option"), Ae.textContent = "segments", ce = y("option"), ce.textContent = "seconds", ye = y("option"), ye.textContent = "seconds-15", re = y("option"), re.textContent = "seconds-15-30", b = y("option"), b.textContent = "tracks", w = J(),
|
|
15981
|
-
`), Ve = y("select"), Le = y("option"), Le.textContent = "auto", Qe = y("option"), Qe.textContent = "show", j = y("option"), j.textContent = "show-3", he = y("option"), he.textContent = "show-999", ze = y("option"), ze.textContent = "hide",
|
|
15980
|
+
`), ee = y("select"), ue = y("option"), ue.textContent = "auto", Ae = y("option"), Ae.textContent = "segments", ce = y("option"), ce.textContent = "seconds", ye = y("option"), ye.textContent = "seconds-15", re = y("option"), re.textContent = "seconds-15-30", b = y("option"), b.textContent = "tracks", w = J(), N = y("div"), L = ie(`playlistStyle:
|
|
15981
|
+
`), Ve = y("select"), Le = y("option"), Le.textContent = "auto", Qe = y("option"), Qe.textContent = "show", j = y("option"), j.textContent = "show-3", he = y("option"), he.textContent = "show-999", ze = y("option"), ze.textContent = "hide", Ne = J(), Ge = y("div"), Me = ie(`playlistToggle:
|
|
15982
15982
|
`), nt = y("select"), Te = y("option"), Te.textContent = "auto", Je = y("option"), Je.textContent = "show", Ce = y("option"), Ce.textContent = "hide", Lt = J(), Ee = y("div"), ft = ie(`advertIndex:
|
|
15983
15983
|
`), Oe = y("select"), qe = y("option"), qe.textContent = "-1 (none)";
|
|
15984
15984
|
for (let _e = 0; _e < Gt.length; _e += 1)
|
|
15985
15985
|
Gt[_e].c();
|
|
15986
|
-
|
|
15986
|
+
Rt = J(), xe = y("div"), St = ie(`widgetStyle:
|
|
15987
15987
|
`), Ye = y("select"), At = y("option"), At.textContent = "small", $e = y("option"), $e.textContent = "standard", mt = y("option"), mt.textContent = "large", Ze = y("option"), Ze.textContent = "video", De = J(), yt = y("div"), et = ie(`widgetPosition:
|
|
15988
15988
|
`), lt = y("select"), ot = y("option"), ot.textContent = "auto", Pt = y("option"), Pt.textContent = "left", Xe = y("option"), Xe.textContent = "center", Ot = y("option"), Ot.textContent = "right", vt = J(), Vt = y("div"), wt = ie(`widgetWidth:
|
|
15989
15989
|
`), tt = y("select"), at = y("option"), at.textContent = "auto", Bt = y("option"), Bt.textContent = "400px", bt = y("option"), bt.textContent = "30rem", kt = y("option"), kt.textContent = "fit-content", Ke = y("option"), Ke.textContent = "initial", rt = y("option"), rt.textContent = "0", pt = J(), st = y("div"), it = ie(`widgetMargin:
|
|
@@ -15991,9 +15991,9 @@ function qA(t) {
|
|
|
15991
15991
|
`), le = y("input"), K = J(), jt = y("div"), dn = ie(`backgroundColor:
|
|
15992
15992
|
`), Et = y("input"), Ti = J(), ri = y("div"), ui = ie(`iconColor:
|
|
15993
15993
|
`), qt = y("input"), fi = J(), ki = y("div"), Kt = ie(`highlightColor:
|
|
15994
|
-
`),
|
|
15995
|
-
`), Ft = y("select"), Ii = y("option"), Ii.textContent = "all", ni = y("option"), ni.textContent = "body", Ct = y("option"), Ct.textContent = "none", oi = y("option"), oi.textContent = "all-none", It = y("option"), It.textContent = "none-all", Oi = J(), Wt = y("div"),
|
|
15996
|
-
`), G = y("select"), fe = y("option"), fe.textContent = "all", Ht = y("option"), Ht.textContent = "body", Li = y("option"), Li.textContent = "none",
|
|
15994
|
+
`), Nt = y("input"), Ci = J(), zi = y("div"), ci = ie(`highlightSections:
|
|
15995
|
+
`), Ft = y("select"), Ii = y("option"), Ii.textContent = "all", ni = y("option"), ni.textContent = "body", Ct = y("option"), Ct.textContent = "none", oi = y("option"), oi.textContent = "all-none", It = y("option"), It.textContent = "none-all", Oi = J(), Wt = y("div"), R = ie(`clickableSections:
|
|
15996
|
+
`), G = y("select"), fe = y("option"), fe.textContent = "all", Ht = y("option"), Ht.textContent = "body", Li = y("option"), Li.textContent = "none", Ni = y("option"), Ni.textContent = "all-none", gn = y("option"), gn.textContent = "none-all", Mo = J(), In = y("div"), Eo = ie(`segmentWidgetSections:
|
|
15997
15997
|
`), di = y("select"), fn = y("option"), fn.textContent = "all", mn = y("option"), mn.textContent = "body", hn = y("option"), hn.textContent = "none", _n = y("option"), _n.textContent = "all-none", An = y("option"), An.textContent = "none-all", zo = J(), On = y("div"), Lo = ie(`segmentWidgetPosition:
|
|
15998
15998
|
`), ji = y("select");
|
|
15999
15999
|
for (let _e = 0; _e < 12; _e += 1)
|
|
@@ -16014,7 +16014,7 @@ function qA(t) {
|
|
|
16014
16014
|
t[10] === void 0 && dt(() => (
|
|
16015
16015
|
/*select3_change_handler*/
|
|
16016
16016
|
t[52].call(Ve)
|
|
16017
|
-
)), W(
|
|
16017
|
+
)), W(N, "class", "control svelte-1a8td5m"), Te.__value = "auto", H(Te, Te.__value), Je.__value = "show", H(Je, Je.__value), Ce.__value = "hide", H(Ce, Ce.__value), W(nt, "tabindex", -1), W(nt, "class", "svelte-1a8td5m"), /*playlistToggle*/
|
|
16018
16018
|
t[11] === void 0 && dt(() => (
|
|
16019
16019
|
/*select4_change_handler*/
|
|
16020
16020
|
t[53].call(nt)
|
|
@@ -16038,11 +16038,11 @@ function qA(t) {
|
|
|
16038
16038
|
t[25] === void 0 && dt(() => (
|
|
16039
16039
|
/*select9_change_handler*/
|
|
16040
16040
|
t[58].call(He)
|
|
16041
|
-
)), W(st, "class", "control svelte-1a8td5m"), W(le, "tabindex", -1), W(le, "type", "text"), W(le, "class", "svelte-1a8td5m"), W(I, "class", "control svelte-1a8td5m"), W(Et, "tabindex", -1), W(Et, "type", "text"), W(Et, "class", "svelte-1a8td5m"), W(jt, "class", "control svelte-1a8td5m"), W(qt, "tabindex", -1), W(qt, "type", "text"), W(qt, "class", "svelte-1a8td5m"), W(ri, "class", "control svelte-1a8td5m"), W(
|
|
16041
|
+
)), W(st, "class", "control svelte-1a8td5m"), W(le, "tabindex", -1), W(le, "type", "text"), W(le, "class", "svelte-1a8td5m"), W(I, "class", "control svelte-1a8td5m"), W(Et, "tabindex", -1), W(Et, "type", "text"), W(Et, "class", "svelte-1a8td5m"), W(jt, "class", "control svelte-1a8td5m"), W(qt, "tabindex", -1), W(qt, "type", "text"), W(qt, "class", "svelte-1a8td5m"), W(ri, "class", "control svelte-1a8td5m"), W(Nt, "tabindex", -1), W(Nt, "type", "text"), W(Nt, "class", "svelte-1a8td5m"), W(ki, "class", "control svelte-1a8td5m"), Ii.__value = "all", H(Ii, Ii.__value), ni.__value = "body", H(ni, ni.__value), Ct.__value = "none", H(Ct, Ct.__value), oi.__value = "all-none", H(oi, oi.__value), It.__value = "none-all", H(It, It.__value), W(Ft, "tabindex", -1), W(Ft, "class", "svelte-1a8td5m"), /*highlightSections*/
|
|
16042
16042
|
t[34] === void 0 && dt(() => (
|
|
16043
16043
|
/*select10_change_handler*/
|
|
16044
16044
|
t[63].call(Ft)
|
|
16045
|
-
)), W(zi, "class", "control svelte-1a8td5m"), fe.__value = "all", H(fe, fe.__value), Ht.__value = "body", H(Ht, Ht.__value), Li.__value = "none", H(Li, Li.__value),
|
|
16045
|
+
)), W(zi, "class", "control svelte-1a8td5m"), fe.__value = "all", H(fe, fe.__value), Ht.__value = "body", H(Ht, Ht.__value), Li.__value = "none", H(Li, Li.__value), Ni.__value = "all-none", H(Ni, Ni.__value), gn.__value = "none-all", H(gn, gn.__value), W(G, "tabindex", -1), W(G, "class", "svelte-1a8td5m"), /*clickableSections*/
|
|
16046
16046
|
t[35] === void 0 && dt(() => (
|
|
16047
16047
|
/*select11_change_handler*/
|
|
16048
16048
|
t[64].call(G)
|
|
@@ -16080,12 +16080,12 @@ function qA(t) {
|
|
|
16080
16080
|
/*skipButtonStyle*/
|
|
16081
16081
|
t[9],
|
|
16082
16082
|
!0
|
|
16083
|
-
), h(e, w), h(e,
|
|
16083
|
+
), h(e, w), h(e, N), h(N, L), h(N, Ve), h(Ve, Le), h(Ve, Qe), h(Ve, j), h(Ve, he), h(Ve, ze), We(
|
|
16084
16084
|
Ve,
|
|
16085
16085
|
/*playlistStyle*/
|
|
16086
16086
|
t[10],
|
|
16087
16087
|
!0
|
|
16088
|
-
), h(e,
|
|
16088
|
+
), h(e, Ne), h(e, Ge), h(Ge, Me), h(Ge, nt), h(nt, Te), h(nt, Je), h(nt, Ce), We(
|
|
16089
16089
|
nt,
|
|
16090
16090
|
/*playlistToggle*/
|
|
16091
16091
|
t[11],
|
|
@@ -16098,7 +16098,7 @@ function qA(t) {
|
|
|
16098
16098
|
/*advertIndex*/
|
|
16099
16099
|
t[15],
|
|
16100
16100
|
!0
|
|
16101
|
-
), h(e,
|
|
16101
|
+
), h(e, Rt), h(e, xe), h(xe, St), h(xe, Ye), h(Ye, At), h(Ye, $e), h(Ye, mt), h(Ye, Ze), We(
|
|
16102
16102
|
Ye,
|
|
16103
16103
|
/*widgetStyle*/
|
|
16104
16104
|
t[22],
|
|
@@ -16130,8 +16130,8 @@ function qA(t) {
|
|
|
16130
16130
|
qt,
|
|
16131
16131
|
/*iconColor*/
|
|
16132
16132
|
t[29]
|
|
16133
|
-
), h(e, fi), h(e, ki), h(ki, Kt), h(ki,
|
|
16134
|
-
|
|
16133
|
+
), h(e, fi), h(e, ki), h(ki, Kt), h(ki, Nt), H(
|
|
16134
|
+
Nt,
|
|
16135
16135
|
/*highlightColor*/
|
|
16136
16136
|
t[30]
|
|
16137
16137
|
), h(e, Ci), h(e, zi), h(zi, ci), h(zi, Ft), h(Ft, Ii), h(Ft, ni), h(Ft, Ct), h(Ft, oi), h(Ft, It), We(
|
|
@@ -16139,7 +16139,7 @@ function qA(t) {
|
|
|
16139
16139
|
/*highlightSections*/
|
|
16140
16140
|
t[34],
|
|
16141
16141
|
!0
|
|
16142
|
-
), h(e, Oi), h(e, Wt), h(Wt,
|
|
16142
|
+
), h(e, Oi), h(e, Wt), h(Wt, R), h(Wt, G), h(G, fe), h(G, Ht), h(G, Li), h(G, Ni), h(G, gn), We(
|
|
16143
16143
|
G,
|
|
16144
16144
|
/*clickableSections*/
|
|
16145
16145
|
t[35],
|
|
@@ -16157,7 +16157,7 @@ function qA(t) {
|
|
|
16157
16157
|
/*segmentWidgetPosition*/
|
|
16158
16158
|
t[37],
|
|
16159
16159
|
!0
|
|
16160
|
-
), h(e, jo), si && si.m(e, null), h(e, no), h(e, xo), h(e, Do), h(e, Qi), Vi.m(Qi, null), h(Qi, oo), h(Qi, $i), so || (
|
|
16160
|
+
), h(e, jo), si && si.m(e, null), h(e, no), h(e, xo), h(e, Do), h(e, Qi), Vi.m(Qi, null), h(Qi, oo), h(Qi, $i), so || (Ro = [
|
|
16161
16161
|
Y(
|
|
16162
16162
|
r,
|
|
16163
16163
|
"change",
|
|
@@ -16249,7 +16249,7 @@ function qA(t) {
|
|
|
16249
16249
|
t[61]
|
|
16250
16250
|
),
|
|
16251
16251
|
Y(
|
|
16252
|
-
|
|
16252
|
+
Nt,
|
|
16253
16253
|
"input",
|
|
16254
16254
|
/*input5_input_handler*/
|
|
16255
16255
|
t[62]
|
|
@@ -16333,7 +16333,7 @@ function qA(t) {
|
|
|
16333
16333
|
let Mt;
|
|
16334
16334
|
for (Mt = 0; Mt < yn.length; Mt += 1) {
|
|
16335
16335
|
const Fo = Da(_e, yn, Mt);
|
|
16336
|
-
Gt[Mt] ? Gt[Mt].p(Fo, ct) : (Gt[Mt] =
|
|
16336
|
+
Gt[Mt] ? Gt[Mt].p(Fo, ct) : (Gt[Mt] = Ra(Fo), Gt[Mt].c(), Gt[Mt].m(Oe, null));
|
|
16337
16337
|
}
|
|
16338
16338
|
for (; Mt < Gt.length; Mt += 1)
|
|
16339
16339
|
Gt[Mt].d(1);
|
|
@@ -16383,9 +16383,9 @@ function qA(t) {
|
|
|
16383
16383
|
/*iconColor*/
|
|
16384
16384
|
_e[29]
|
|
16385
16385
|
), ct[0] & /*highlightColor*/
|
|
16386
|
-
1073741824 &&
|
|
16386
|
+
1073741824 && Nt.value !== /*highlightColor*/
|
|
16387
16387
|
_e[30] && H(
|
|
16388
|
-
|
|
16388
|
+
Nt,
|
|
16389
16389
|
/*highlightColor*/
|
|
16390
16390
|
_e[30]
|
|
16391
16391
|
), ct[1] & /*highlightSections*/
|
|
@@ -16409,18 +16409,18 @@ function qA(t) {
|
|
|
16409
16409
|
/*segmentWidgetPosition*/
|
|
16410
16410
|
_e[37]
|
|
16411
16411
|
), /*showAdvancedSettings*/
|
|
16412
|
-
_e[46] ? si ? si.p(_e, ct) : (si =
|
|
16412
|
+
_e[46] ? si ? si.p(_e, ct) : (si = Na(_e), si.c(), si.m(e, no)) : si && (si.d(1), si = null), jn === (jn = No(_e)) && Vi ? Vi.p(_e, ct) : (Vi.d(1), Vi = jn(_e), Vi && (Vi.c(), Vi.m(Qi, oo)));
|
|
16413
16413
|
},
|
|
16414
16414
|
i: Q,
|
|
16415
16415
|
o: Q,
|
|
16416
16416
|
d(_e) {
|
|
16417
|
-
_e && M(e), Cn(Gt, _e), Cn(Vn, _e), si && si.d(), Vi.d(), so = !1, _t(
|
|
16417
|
+
_e && M(e), Cn(Gt, _e), Cn(Vn, _e), si && si.d(), Vi.d(), so = !1, _t(Ro);
|
|
16418
16418
|
}
|
|
16419
16419
|
};
|
|
16420
16420
|
}
|
|
16421
16421
|
function YA(t, e, i) {
|
|
16422
16422
|
import("./././././././././style.js");
|
|
16423
|
-
let { controlPanel: n } = e, { projectId: o } = e, { contentId: s } = e, { playlistId: l } = e, { sourceId: a } = e, { sourceUrl: r } = e, { showUserInterface: u } = e, { playerStyle: c } = e, { playerTitle: g } = e, { callToAction: f } = e, { skipButtonStyle: A } = e, { playlistStyle: _ } = e, { playlistToggle: k } = e, { mediaSession: S } = e, { content: T } = e, { contentIndex: v } = e, { introsOutros: P } = e, { introsOutrosIndex: O } = e, { adverts: x } = e, { advertIndex: p } = e, { persistentAdImage: C } = e, { persistentIndex: Z } = e, { duration: q } = e, { currentTime: D } = e, { playbackState: X } = e, { playbackRate: oe } = e, { widgetStyle: ae } = e, { widgetPosition: $ } = e, { widgetWidth: ee } = e, { widgetMargin: ue } = e, { widgetTarget: Ae } = e, { textColor: ce } = e, { backgroundColor: ye } = e, { iconColor: re } = e, { highlightColor: b } = e, { videoTextColor: w } = e, { videoIconColor:
|
|
16423
|
+
let { controlPanel: n } = e, { projectId: o } = e, { contentId: s } = e, { playlistId: l } = e, { sourceId: a } = e, { sourceUrl: r } = e, { showUserInterface: u } = e, { playerStyle: c } = e, { playerTitle: g } = e, { callToAction: f } = e, { skipButtonStyle: A } = e, { playlistStyle: _ } = e, { playlistToggle: k } = e, { mediaSession: S } = e, { content: T } = e, { contentIndex: v } = e, { introsOutros: P } = e, { introsOutrosIndex: O } = e, { adverts: x } = e, { advertIndex: p } = e, { persistentAdImage: C } = e, { persistentIndex: Z } = e, { duration: q } = e, { currentTime: D } = e, { playbackState: X } = e, { playbackRate: oe } = e, { widgetStyle: ae } = e, { widgetPosition: $ } = e, { widgetWidth: ee } = e, { widgetMargin: ue } = e, { widgetTarget: Ae } = e, { textColor: ce } = e, { backgroundColor: ye } = e, { iconColor: re } = e, { highlightColor: b } = e, { videoTextColor: w } = e, { videoIconColor: N } = e, { logoIconEnabled: L } = e, { highlightSections: Ve } = e, { clickableSections: Le } = e, { segmentWidgetSections: Qe } = e, { segmentWidgetPosition: j } = e, { advertConsent: he } = e, { analyticsConsent: ze } = e, { analyticsCustomUrl: Ne } = e, { analyticsTag: Ge } = e, Me = !1;
|
|
16424
16424
|
function nt() {
|
|
16425
16425
|
c = zt(this), i(6, c);
|
|
16426
16426
|
}
|
|
@@ -16448,7 +16448,7 @@ function YA(t, e, i) {
|
|
|
16448
16448
|
function qe() {
|
|
16449
16449
|
ae = zt(this), i(22, ae);
|
|
16450
16450
|
}
|
|
16451
|
-
function
|
|
16451
|
+
function Rt() {
|
|
16452
16452
|
$ = zt(this), i(23, $);
|
|
16453
16453
|
}
|
|
16454
16454
|
function xe() {
|
|
@@ -16503,7 +16503,7 @@ function YA(t, e, i) {
|
|
|
16503
16503
|
w = this.value, i(31, w);
|
|
16504
16504
|
}
|
|
16505
16505
|
function wt() {
|
|
16506
|
-
|
|
16506
|
+
N = this.value, i(32, N);
|
|
16507
16507
|
}
|
|
16508
16508
|
function tt() {
|
|
16509
16509
|
S = zt(this), i(12, S);
|
|
@@ -16542,14 +16542,14 @@ function YA(t, e, i) {
|
|
|
16542
16542
|
ze = zt(this), i(39, ze);
|
|
16543
16543
|
}
|
|
16544
16544
|
function Tt() {
|
|
16545
|
-
|
|
16545
|
+
Ne = this.value, i(40, Ne);
|
|
16546
16546
|
}
|
|
16547
16547
|
function U() {
|
|
16548
16548
|
Ge = this.value, i(41, Ge);
|
|
16549
16549
|
}
|
|
16550
16550
|
const ut = () => i(46, Me = !1), te = () => i(46, Me = !0), I = () => n.remove();
|
|
16551
16551
|
return t.$$set = (B) => {
|
|
16552
|
-
"controlPanel" in B && i(42, n = B.controlPanel), "projectId" in B && i(0, o = B.projectId), "contentId" in B && i(1, s = B.contentId), "playlistId" in B && i(2, l = B.playlistId), "sourceId" in B && i(3, a = B.sourceId), "sourceUrl" in B && i(4, r = B.sourceUrl), "showUserInterface" in B && i(5, u = B.showUserInterface), "playerStyle" in B && i(6, c = B.playerStyle), "playerTitle" in B && i(7, g = B.playerTitle), "callToAction" in B && i(8, f = B.callToAction), "skipButtonStyle" in B && i(9, A = B.skipButtonStyle), "playlistStyle" in B && i(10, _ = B.playlistStyle), "playlistToggle" in B && i(11, k = B.playlistToggle), "mediaSession" in B && i(12, S = B.mediaSession), "content" in B && i(43, T = B.content), "contentIndex" in B && i(13, v = B.contentIndex), "introsOutros" in B && i(44, P = B.introsOutros), "introsOutrosIndex" in B && i(14, O = B.introsOutrosIndex), "adverts" in B && i(45, x = B.adverts), "advertIndex" in B && i(15, p = B.advertIndex), "persistentAdImage" in B && i(16, C = B.persistentAdImage), "persistentIndex" in B && i(17, Z = B.persistentIndex), "duration" in B && i(18, q = B.duration), "currentTime" in B && i(19, D = B.currentTime), "playbackState" in B && i(20, X = B.playbackState), "playbackRate" in B && i(21, oe = B.playbackRate), "widgetStyle" in B && i(22, ae = B.widgetStyle), "widgetPosition" in B && i(23, $ = B.widgetPosition), "widgetWidth" in B && i(24, ee = B.widgetWidth), "widgetMargin" in B && i(25, ue = B.widgetMargin), "widgetTarget" in B && i(26, Ae = B.widgetTarget), "textColor" in B && i(27, ce = B.textColor), "backgroundColor" in B && i(28, ye = B.backgroundColor), "iconColor" in B && i(29, re = B.iconColor), "highlightColor" in B && i(30, b = B.highlightColor), "videoTextColor" in B && i(31, w = B.videoTextColor), "videoIconColor" in B && i(32,
|
|
16552
|
+
"controlPanel" in B && i(42, n = B.controlPanel), "projectId" in B && i(0, o = B.projectId), "contentId" in B && i(1, s = B.contentId), "playlistId" in B && i(2, l = B.playlistId), "sourceId" in B && i(3, a = B.sourceId), "sourceUrl" in B && i(4, r = B.sourceUrl), "showUserInterface" in B && i(5, u = B.showUserInterface), "playerStyle" in B && i(6, c = B.playerStyle), "playerTitle" in B && i(7, g = B.playerTitle), "callToAction" in B && i(8, f = B.callToAction), "skipButtonStyle" in B && i(9, A = B.skipButtonStyle), "playlistStyle" in B && i(10, _ = B.playlistStyle), "playlistToggle" in B && i(11, k = B.playlistToggle), "mediaSession" in B && i(12, S = B.mediaSession), "content" in B && i(43, T = B.content), "contentIndex" in B && i(13, v = B.contentIndex), "introsOutros" in B && i(44, P = B.introsOutros), "introsOutrosIndex" in B && i(14, O = B.introsOutrosIndex), "adverts" in B && i(45, x = B.adverts), "advertIndex" in B && i(15, p = B.advertIndex), "persistentAdImage" in B && i(16, C = B.persistentAdImage), "persistentIndex" in B && i(17, Z = B.persistentIndex), "duration" in B && i(18, q = B.duration), "currentTime" in B && i(19, D = B.currentTime), "playbackState" in B && i(20, X = B.playbackState), "playbackRate" in B && i(21, oe = B.playbackRate), "widgetStyle" in B && i(22, ae = B.widgetStyle), "widgetPosition" in B && i(23, $ = B.widgetPosition), "widgetWidth" in B && i(24, ee = B.widgetWidth), "widgetMargin" in B && i(25, ue = B.widgetMargin), "widgetTarget" in B && i(26, Ae = B.widgetTarget), "textColor" in B && i(27, ce = B.textColor), "backgroundColor" in B && i(28, ye = B.backgroundColor), "iconColor" in B && i(29, re = B.iconColor), "highlightColor" in B && i(30, b = B.highlightColor), "videoTextColor" in B && i(31, w = B.videoTextColor), "videoIconColor" in B && i(32, N = B.videoIconColor), "logoIconEnabled" in B && i(33, L = B.logoIconEnabled), "highlightSections" in B && i(34, Ve = B.highlightSections), "clickableSections" in B && i(35, Le = B.clickableSections), "segmentWidgetSections" in B && i(36, Qe = B.segmentWidgetSections), "segmentWidgetPosition" in B && i(37, j = B.segmentWidgetPosition), "advertConsent" in B && i(38, he = B.advertConsent), "analyticsConsent" in B && i(39, ze = B.analyticsConsent), "analyticsCustomUrl" in B && i(40, Ne = B.analyticsCustomUrl), "analyticsTag" in B && i(41, Ge = B.analyticsTag);
|
|
16553
16553
|
}, [
|
|
16554
16554
|
o,
|
|
16555
16555
|
s,
|
|
@@ -16583,7 +16583,7 @@ function YA(t, e, i) {
|
|
|
16583
16583
|
re,
|
|
16584
16584
|
b,
|
|
16585
16585
|
w,
|
|
16586
|
-
|
|
16586
|
+
N,
|
|
16587
16587
|
L,
|
|
16588
16588
|
Ve,
|
|
16589
16589
|
Le,
|
|
@@ -16591,7 +16591,7 @@ function YA(t, e, i) {
|
|
|
16591
16591
|
j,
|
|
16592
16592
|
he,
|
|
16593
16593
|
ze,
|
|
16594
|
-
|
|
16594
|
+
Ne,
|
|
16595
16595
|
Ge,
|
|
16596
16596
|
n,
|
|
16597
16597
|
T,
|
|
@@ -16607,7 +16607,7 @@ function YA(t, e, i) {
|
|
|
16607
16607
|
ft,
|
|
16608
16608
|
Oe,
|
|
16609
16609
|
qe,
|
|
16610
|
-
|
|
16610
|
+
Rt,
|
|
16611
16611
|
xe,
|
|
16612
16612
|
St,
|
|
16613
16613
|
Ye,
|
|
@@ -17142,10 +17142,10 @@ function o3(t, e, i) {
|
|
|
17142
17142
|
"togglemicrophone"
|
|
17143
17143
|
];
|
|
17144
17144
|
let { content: X = [] } = e, { contentIndex: oe = 0 } = e, { activeAdvert: ae = void 0 } = e, { persistentAdvert: $ = void 0 } = e, { companionAdvert: ee = void 0 } = e, { duration: ue = 0 } = e, { playbackState: Ae = "stopped" } = e, { skipButtonStyle: ce = "auto" } = e, { backgroundColor: ye = "#f5f5f5" } = e, { iconColor: re = "black" } = e, { onEvent: b = () => {
|
|
17145
|
-
} } = e, w = [],
|
|
17145
|
+
} } = e, w = [], N = /* @__PURE__ */ new Set(), L = q.map(() => {
|
|
17146
17146
|
}), Ve = q.map(() => {
|
|
17147
17147
|
});
|
|
17148
|
-
const Le = () => i(16,
|
|
17148
|
+
const Le = () => i(16, N = N.add(T));
|
|
17149
17149
|
function Qe(j, he) {
|
|
17150
17150
|
se[j ? "unshift" : "push"](() => {
|
|
17151
17151
|
L[he] = j, i(0, L);
|
|
@@ -17178,7 +17178,7 @@ function o3(t, e, i) {
|
|
|
17178
17178
|
268435584 | t.$$.dirty[1] & /*isAdvert, advertImageUrl, isStopped*/
|
|
17179
17179
|
56 && i(33, S = o && k || !n && ($ == null ? void 0 : $.imageUrl) || (l == null ? void 0 : l.imageUrl)), t.$$.dirty[0] & /*failedUrls*/
|
|
17180
17180
|
65536 | t.$$.dirty[1] & /*imageUrl_*/
|
|
17181
|
-
4 && i(29, T =
|
|
17181
|
+
4 && i(29, T = N.has(S) ? null : S), t.$$.dirty[0] & /*imageUrl*/
|
|
17182
17182
|
536870912 && i(32, v = T ? q.map((j) => KA(T, j, j)) : []), t.$$.dirty[0] & /*imageUrl*/
|
|
17183
17183
|
536870912 && i(31, P = T ? [{ src: T, sizes: "any" }] : []), t.$$.dirty[0] & /*imageUrl, renderedSvgs*/
|
|
17184
17184
|
537001984 && i(30, O = T ? [] : q.map((j, he) => QA(Ve[he], j, j))), t.$$.dirty[0] & /*svgArtworks*/
|
|
@@ -17269,7 +17269,7 @@ function o3(t, e, i) {
|
|
|
17269
17269
|
re,
|
|
17270
17270
|
b,
|
|
17271
17271
|
w,
|
|
17272
|
-
|
|
17272
|
+
N,
|
|
17273
17273
|
Ve,
|
|
17274
17274
|
g,
|
|
17275
17275
|
u,
|
|
@@ -17393,7 +17393,7 @@ function Ka(t) {
|
|
|
17393
17393
|
c() {
|
|
17394
17394
|
e = y("script"), n = J(), o = y("script"), o.textContent = `window.dataLayer = window.dataLayer || [];
|
|
17395
17395
|
function gtag() { dataLayer.push(arguments); }
|
|
17396
|
-
gtag("js", new Date());`, e.async = !0,
|
|
17396
|
+
gtag("js", new Date());`, e.async = !0, Ri(e.src, i = "https://www.googletagmanager.com/gtag/js?id=" + /*analyticsTag*/
|
|
17397
17397
|
t[0]) || Za(e, "src", i);
|
|
17398
17398
|
},
|
|
17399
17399
|
m(s, l) {
|
|
@@ -17401,7 +17401,7 @@ function Ka(t) {
|
|
|
17401
17401
|
},
|
|
17402
17402
|
p(s, l) {
|
|
17403
17403
|
l & /*analyticsTag*/
|
|
17404
|
-
1 && !
|
|
17404
|
+
1 && !Ri(e.src, i = "https://www.googletagmanager.com/gtag/js?id=" + /*analyticsTag*/
|
|
17405
17405
|
s[0]) && Za(e, "src", i);
|
|
17406
17406
|
},
|
|
17407
17407
|
d(s) {
|
|
@@ -17452,7 +17452,7 @@ function Ja(t) {
|
|
|
17452
17452
|
let e, i;
|
|
17453
17453
|
return {
|
|
17454
17454
|
c() {
|
|
17455
|
-
e = y("script"), e.async = !0,
|
|
17455
|
+
e = y("script"), e.async = !0, Ri(e.src, i = "https://geo.ads.audio.thisisdax.com/bulk_sync.js?cb=" + /*cacheBuster*/
|
|
17456
17456
|
t[0]) || Ga(e, "src", i);
|
|
17457
17457
|
},
|
|
17458
17458
|
m(n, o) {
|
|
@@ -17460,7 +17460,7 @@ function Ja(t) {
|
|
|
17460
17460
|
},
|
|
17461
17461
|
p(n, o) {
|
|
17462
17462
|
o & /*cacheBuster*/
|
|
17463
|
-
1 && !
|
|
17463
|
+
1 && !Ri(e.src, i = "https://geo.ads.audio.thisisdax.com/bulk_sync.js?cb=" + /*cacheBuster*/
|
|
17464
17464
|
n[0]) && Ga(e, "src", i);
|
|
17465
17465
|
},
|
|
17466
17466
|
d(n) {
|
|
@@ -18158,7 +18158,7 @@ function tr(t) {
|
|
|
18158
18158
|
}
|
|
18159
18159
|
function ir(t) {
|
|
18160
18160
|
let e, i;
|
|
18161
|
-
return e = new
|
|
18161
|
+
return e = new Rs({
|
|
18162
18162
|
props: {
|
|
18163
18163
|
root: (
|
|
18164
18164
|
/*widgetTarget*/
|
|
@@ -18549,7 +18549,7 @@ function O3(t) {
|
|
|
18549
18549
|
}
|
|
18550
18550
|
function nr(t, e) {
|
|
18551
18551
|
let i, n, o;
|
|
18552
|
-
return n = new
|
|
18552
|
+
return n = new Rs({
|
|
18553
18553
|
props: {
|
|
18554
18554
|
root: (
|
|
18555
18555
|
/*root*/
|
|
@@ -18591,7 +18591,7 @@ function nr(t, e) {
|
|
|
18591
18591
|
}
|
|
18592
18592
|
function or(t) {
|
|
18593
18593
|
let e, i;
|
|
18594
|
-
return e = new
|
|
18594
|
+
return e = new Rs({
|
|
18595
18595
|
props: {
|
|
18596
18596
|
root: (
|
|
18597
18597
|
/*controlPanel*/
|
|
@@ -18628,7 +18628,7 @@ function or(t) {
|
|
|
18628
18628
|
};
|
|
18629
18629
|
}
|
|
18630
18630
|
function V3(t) {
|
|
18631
|
-
let e, i, n, o, s, l, a, r, u, c, g, f, A, _, k, S, T, v, P, O, x, p, C, Z, q, D, X, oe, ae, $, ee, ue, Ae, ce, ye, re, b, w,
|
|
18631
|
+
let e, i, n, o, s, l, a, r, u, c, g, f, A, _, k, S, T, v, P, O, x, p, C, Z, q, D, X, oe, ae, $, ee, ue, Ae, ce, ye, re, b, w, N, L, Ve, Le, Qe, j, he, ze, Ne;
|
|
18632
18632
|
function Ge(I) {
|
|
18633
18633
|
t[132](I);
|
|
18634
18634
|
}
|
|
@@ -18662,7 +18662,7 @@ function V3(t) {
|
|
|
18662
18662
|
function qe(I) {
|
|
18663
18663
|
t[142](I);
|
|
18664
18664
|
}
|
|
18665
|
-
function
|
|
18665
|
+
function Rt(I) {
|
|
18666
18666
|
t[143](I);
|
|
18667
18667
|
}
|
|
18668
18668
|
function xe(I) {
|
|
@@ -18869,12 +18869,12 @@ function V3(t) {
|
|
|
18869
18869
|
t[45] !== void 0 && (te.analyticsCustomUrl = /*analyticsCustomUrl*/
|
|
18870
18870
|
t[45]), /*analyticsTag*/
|
|
18871
18871
|
t[46] !== void 0 && (te.analyticsTag = /*analyticsTag*/
|
|
18872
|
-
t[46]), e = new ZA({ props: te }), se.push(() => be(e, "controlPanel", Ge)), se.push(() => be(e, "projectId", Me)), se.push(() => be(e, "contentId", nt)), se.push(() => be(e, "playlistId", Te)), se.push(() => be(e, "sourceId", Je)), se.push(() => be(e, "sourceUrl", Ce)), se.push(() => be(e, "showUserInterface", Lt)), se.push(() => be(e, "playerStyle", Ee)), se.push(() => be(e, "playerTitle", ft)), se.push(() => be(e, "callToAction", Oe)), se.push(() => be(e, "skipButtonStyle", qe)), se.push(() => be(e, "playlistStyle",
|
|
18872
|
+
t[46]), e = new ZA({ props: te }), se.push(() => be(e, "controlPanel", Ge)), se.push(() => be(e, "projectId", Me)), se.push(() => be(e, "contentId", nt)), se.push(() => be(e, "playlistId", Te)), se.push(() => be(e, "sourceId", Je)), se.push(() => be(e, "sourceUrl", Ce)), se.push(() => be(e, "showUserInterface", Lt)), se.push(() => be(e, "playerStyle", Ee)), se.push(() => be(e, "playerTitle", ft)), se.push(() => be(e, "callToAction", Oe)), se.push(() => be(e, "skipButtonStyle", qe)), se.push(() => be(e, "playlistStyle", Rt)), se.push(() => be(e, "playlistToggle", xe)), se.push(() => be(e, "mediaSession", St)), se.push(() => be(e, "contentIndex", Ye)), se.push(() => be(e, "introsOutrosIndex", At)), se.push(() => be(e, "advertIndex", $e)), se.push(() => be(e, "persistentAdImage", mt)), se.push(() => be(e, "persistentIndex", Ze)), se.push(() => be(e, "duration", De)), se.push(() => be(e, "currentTime", yt)), se.push(() => be(e, "playbackState", et)), se.push(() => be(e, "playbackRate", lt)), se.push(() => be(e, "widgetStyle", ot)), se.push(() => be(e, "widgetPosition", Pt)), se.push(() => be(e, "widgetWidth", Xe)), se.push(() => be(e, "widgetMargin", Ot)), se.push(() => be(e, "widgetTarget", vt)), se.push(() => be(e, "textColor", Vt)), se.push(() => be(e, "backgroundColor", wt)), se.push(() => be(e, "iconColor", tt)), se.push(() => be(e, "highlightColor", at)), se.push(() => be(e, "videoTextColor", Bt)), se.push(() => be(e, "videoIconColor", bt)), se.push(() => be(e, "logoIconEnabled", kt)), se.push(() => be(e, "highlightSections", Ke)), se.push(() => be(e, "clickableSections", rt)), se.push(() => be(e, "segmentWidgetSections", pt)), se.push(() => be(e, "segmentWidgetPosition", st)), se.push(() => be(e, "currentSegment", it)), se.push(() => be(e, "hoveredSegment", He)), se.push(() => be(e, "advertConsent", ht)), se.push(() => be(e, "analyticsConsent", Tt)), se.push(() => be(e, "analyticsCustomUrl", U)), se.push(() => be(e, "analyticsTag", ut)), {
|
|
18873
18873
|
c() {
|
|
18874
18874
|
me(e.$$.fragment);
|
|
18875
18875
|
},
|
|
18876
18876
|
m(I, B) {
|
|
18877
|
-
de(e, I, B),
|
|
18877
|
+
de(e, I, B), Ne = !0;
|
|
18878
18878
|
},
|
|
18879
18879
|
p(I, B) {
|
|
18880
18880
|
const le = {};
|
|
@@ -18958,9 +18958,9 @@ function V3(t) {
|
|
|
18958
18958
|
65536 && (b = !0, le.highlightSections = /*highlightSections*/
|
|
18959
18959
|
I[16], ve(() => b = !1)), !w && B[0] & /*clickableSections*/
|
|
18960
18960
|
131072 && (w = !0, le.clickableSections = /*clickableSections*/
|
|
18961
|
-
I[17], ve(() => w = !1)), !
|
|
18962
|
-
262144 && (
|
|
18963
|
-
I[18], ve(() =>
|
|
18961
|
+
I[17], ve(() => w = !1)), !N && B[0] & /*segmentWidgetSections*/
|
|
18962
|
+
262144 && (N = !0, le.segmentWidgetSections = /*segmentWidgetSections*/
|
|
18963
|
+
I[18], ve(() => N = !1)), !L && B[0] & /*segmentWidgetPosition*/
|
|
18964
18964
|
524288 && (L = !0, le.segmentWidgetPosition = /*segmentWidgetPosition*/
|
|
18965
18965
|
I[19], ve(() => L = !1)), !Ve && B[0] & /*currentSegment*/
|
|
18966
18966
|
1048576 && (Ve = !0, le.currentSegment = /*currentSegment*/
|
|
@@ -18977,10 +18977,10 @@ function V3(t) {
|
|
|
18977
18977
|
I[46], ve(() => ze = !1)), e.$set(le);
|
|
18978
18978
|
},
|
|
18979
18979
|
i(I) {
|
|
18980
|
-
|
|
18980
|
+
Ne || (V(e.$$.fragment, I), Ne = !0);
|
|
18981
18981
|
},
|
|
18982
18982
|
o(I) {
|
|
18983
|
-
z(e.$$.fragment, I),
|
|
18983
|
+
z(e.$$.fragment, I), Ne = !1;
|
|
18984
18984
|
},
|
|
18985
18985
|
d(I) {
|
|
18986
18986
|
ge(e, I);
|
|
@@ -19132,7 +19132,7 @@ function ar(t) {
|
|
|
19132
19132
|
}
|
|
19133
19133
|
function B3(t) {
|
|
19134
19134
|
let e, i, n, o, s = [], l = /* @__PURE__ */ new Map(), a, r, u, c, g, f, A;
|
|
19135
|
-
e = new
|
|
19135
|
+
e = new Rs({
|
|
19136
19136
|
props: {
|
|
19137
19137
|
prepend: !0,
|
|
19138
19138
|
root: (
|
|
@@ -19250,11 +19250,11 @@ function B3(t) {
|
|
|
19250
19250
|
};
|
|
19251
19251
|
}
|
|
19252
19252
|
function W3(t, e, i) {
|
|
19253
|
-
let n, o, s, l, a, r, u, c, g, f, A, _, k, S, T, v, P, O, x, p, C, Z, q, D, X, oe, ae, $, ee, { playerApiUrl: ue = "https://api.beyondwords.io/v1/projects/{id}/player" } = e, { projectId: Ae = void 0 } = e, { contentId: ce = void 0 } = e, { playlistId: ye = void 0 } = e, { sourceId: re = void 0 } = e, { sourceUrl: b = void 0 } = e, { playlist: w = [] } = e, { loadContentAs:
|
|
19253
|
+
let n, o, s, l, a, r, u, c, g, f, A, _, k, S, T, v, P, O, x, p, C, Z, q, D, X, oe, ae, $, ee, { playerApiUrl: ue = "https://api.beyondwords.io/v1/projects/{id}/player" } = e, { projectId: Ae = void 0 } = e, { contentId: ce = void 0 } = e, { playlistId: ye = void 0 } = e, { sourceId: re = void 0 } = e, { sourceUrl: b = void 0 } = e, { playlist: w = [] } = e, { loadContentAs: N = ["article"] } = e, { contentVariant: L = N[0] } = e, { clientSideEnabled: Ve = !1 } = e, { showUserInterface: Le = !0 } = e, { showBottomWidget: Qe = !1 } = e, { playerStyle: j = "standard" } = e, { playerTitle: he = void 0 } = e, { callToAction: ze = void 0 } = e, { skipButtonStyle: Ne = "auto" } = e, { playlistStyle: Ge = "auto-5-4" } = e, { playlistToggle: Me = "auto" } = e, { downloadFormats: nt = [] } = e, { durationFormat: Te = void 0 } = e, { mediaSession: Je = "auto" } = e, { content: Ce = [] } = e, { contentIndex: Lt = 0 } = e, { introsOutros: Ee = [] } = e, { introsOutrosIndex: ft = -1 } = e, { adverts: Oe = [] } = e, { advertIndex: qe = -1 } = e, { preloadAdvertIndex: Rt = -1 } = e, { minDurationForMidroll: xe = 2 * 60 } = e, { minTimeUntilEndForMidroll: St = 10 } = e, { persistentAdImage: Ye = !1 } = e, { persistentIndex: At = -1 } = e, { duration: $e = 0 } = e, { currentTime: mt = 0 } = e, { playbackState: Ze = "stopped" } = e, { playbackRate: De = 1 } = e, { playbackRates: yt = [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: et = "standard" } = e, { widgetPosition: lt = "auto" } = e, { widgetWidth: ot = "auto" } = e, { widgetMargin: Pt = "16px" } = e, { widgetTarget: Xe = void 0 } = e, { textColor: Ot = "#111" } = e, { backgroundColor: vt = "#f5f5f5" } = e, { iconColor: Vt = "rgba(0, 0, 0, 0.8)" } = e, { highlightColor: wt = "#eee" } = e, { videoTextColor: tt = "white" } = e, { videoBackgroundColor: at = "black" } = e, { videoIconColor: Bt = "white" } = e, { logoIconEnabled: bt = !0 } = e, { highlightSections: kt = "all" } = e, { clickableSections: Ke = "all" } = e, { segmentWidgetSections: rt = "body" } = e, { segmentWidgetPosition: pt = "7-oclock" } = e, { currentSegment: st = void 0 } = e, { hoveredSegment: it = void 0 } = e, { loadedMedia: He = void 0 } = e, { previewToken: ht = void 0 } = e, { advertConsent: Tt = "personalized" } = e, { analyticsConsent: U = "allowed" } = e, { analyticsCustomUrl: ut = void 0 } = e, { analyticsDeviceType: te = "auto" } = e, { analyticsTag: I = void 0 } = e, { captureErrors: B = !0 } = e, { onError: le = () => {
|
|
19254
19254
|
} } = e, { transitions: K = [] } = e, { controlPanel: jt = void 0 } = e;
|
|
19255
|
-
const dn = (...m) =>
|
|
19256
|
-
let { initialProps: Ti = {} } = e, { showMediaSession: ri = !1 } = e, { metadataLoaded: ui = !1 } = e, { isFullScreen: qt = !1 } = e, { mediaElement: fi = void 0 } = e, { userInterface: ki = void 0 } = e, { widgetInterface: Kt = void 0 } = e, { controller:
|
|
19257
|
-
const
|
|
19255
|
+
const dn = (...m) => Nt.addEventListener(...m), Et = (...m) => Nt.removeEventListener(...m);
|
|
19256
|
+
let { initialProps: Ti = {} } = e, { showMediaSession: ri = !1 } = e, { metadataLoaded: ui = !1 } = e, { isFullScreen: qt = !1 } = e, { mediaElement: fi = void 0 } = e, { userInterface: ki = void 0 } = e, { widgetInterface: Kt = void 0 } = e, { controller: Nt = void 0 } = e, { logoImagePosition: Ci = void 0 } = e, { analyticsUrl: zi = void 0 } = e, { analyticsId: ci = void 0 } = e, { platform: Ft = "web" } = e, { vendorIdentifier: Ii = void 0 } = e, { bundleIdentifier: ni = void 0 } = e, { contentLanguage: Ct = "en" } = e, { listenSessionId: oi = void 0 } = e, { sessionCreatedAt: It = void 0 } = e, { companionAdvert: Oi = void 0 } = e, { isNewListen: Wt = !1 } = e, { prevPercentage: R = 0 } = e, { segmentWidgets: G = [] } = e, { segmentContainers: fe = new Al((m) => i(51, G = m)) } = e, { segmentClickables: Ht = new hl() } = e, { segmentHighlights: Li = new yl() } = e;
|
|
19257
|
+
const Ni = (m) => Nt.processEvent(Jt({ emittedFrom: x }, m)), gn = () => i(113, D = it);
|
|
19258
19258
|
function Mo(m) {
|
|
19259
19259
|
se[m ? "unshift" : "push"](() => {
|
|
19260
19260
|
fi = m, i(47, fi);
|
|
@@ -19273,7 +19273,7 @@ function W3(t, e, i) {
|
|
|
19273
19273
|
De = m, i(34, De);
|
|
19274
19274
|
}
|
|
19275
19275
|
function mn(m) {
|
|
19276
|
-
|
|
19276
|
+
R = m, i(50, R);
|
|
19277
19277
|
}
|
|
19278
19278
|
function hn(m) {
|
|
19279
19279
|
ui = m, i(24, ui);
|
|
@@ -19288,7 +19288,7 @@ function W3(t, e, i) {
|
|
|
19288
19288
|
Kt = m, i(49, Kt);
|
|
19289
19289
|
});
|
|
19290
19290
|
}
|
|
19291
|
-
const zo = (m) =>
|
|
19291
|
+
const zo = (m) => Ni(en(Jt({}, m), {
|
|
19292
19292
|
emittedFrom: "segment-widget",
|
|
19293
19293
|
widgetSegment: ae,
|
|
19294
19294
|
widgetIsCurrent: $
|
|
@@ -19324,9 +19324,9 @@ function W3(t, e, i) {
|
|
|
19324
19324
|
ze = m, i(27, ze);
|
|
19325
19325
|
}
|
|
19326
19326
|
function so(m) {
|
|
19327
|
-
|
|
19327
|
+
Ne = m, i(28, Ne);
|
|
19328
19328
|
}
|
|
19329
|
-
function
|
|
19329
|
+
function Ro(m) {
|
|
19330
19330
|
Ge = m, i(29, Ge);
|
|
19331
19331
|
}
|
|
19332
19332
|
function yn(m) {
|
|
@@ -19335,7 +19335,7 @@ function W3(t, e, i) {
|
|
|
19335
19335
|
function Gt(m) {
|
|
19336
19336
|
Je = m, i(31, Je);
|
|
19337
19337
|
}
|
|
19338
|
-
function
|
|
19338
|
+
function Ns(m) {
|
|
19339
19339
|
Lt = m, i(7, Lt);
|
|
19340
19340
|
}
|
|
19341
19341
|
function Vn(m) {
|
|
@@ -19344,7 +19344,7 @@ function W3(t, e, i) {
|
|
|
19344
19344
|
function si(m) {
|
|
19345
19345
|
qe = m, i(9, qe);
|
|
19346
19346
|
}
|
|
19347
|
-
function
|
|
19347
|
+
function No(m) {
|
|
19348
19348
|
Ye = m, i(32, Ye);
|
|
19349
19349
|
}
|
|
19350
19350
|
function jn(m) {
|
|
@@ -19407,10 +19407,10 @@ function W3(t, e, i) {
|
|
|
19407
19407
|
function Du(m) {
|
|
19408
19408
|
rt = m, i(18, rt);
|
|
19409
19409
|
}
|
|
19410
|
-
function
|
|
19410
|
+
function Ru(m) {
|
|
19411
19411
|
pt = m, i(19, pt);
|
|
19412
19412
|
}
|
|
19413
|
-
function
|
|
19413
|
+
function Nu(m) {
|
|
19414
19414
|
st = m, i(20, st);
|
|
19415
19415
|
}
|
|
19416
19416
|
function Fu(m) {
|
|
@@ -19429,7 +19429,7 @@ function W3(t, e, i) {
|
|
|
19429
19429
|
I = m, i(46, I);
|
|
19430
19430
|
}
|
|
19431
19431
|
return t.$$set = (m) => {
|
|
19432
|
-
"playerApiUrl" in m && i(86, ue = m.playerApiUrl), "projectId" in m && i(0, Ae = m.projectId), "contentId" in m && i(1, ce = m.contentId), "playlistId" in m && i(2, ye = m.playlistId), "sourceId" in m && i(3, re = m.sourceId), "sourceUrl" in m && i(4, b = m.sourceUrl), "playlist" in m && i(87, w = m.playlist), "loadContentAs" in m && i(88,
|
|
19432
|
+
"playerApiUrl" in m && i(86, ue = m.playerApiUrl), "projectId" in m && i(0, Ae = m.projectId), "contentId" in m && i(1, ce = m.contentId), "playlistId" in m && i(2, ye = m.playlistId), "sourceId" in m && i(3, re = m.sourceId), "sourceUrl" in m && i(4, b = m.sourceUrl), "playlist" in m && i(87, w = m.playlist), "loadContentAs" in m && i(88, N = m.loadContentAs), "contentVariant" in m && i(25, L = m.contentVariant), "clientSideEnabled" in m && i(89, Ve = m.clientSideEnabled), "showUserInterface" in m && i(5, Le = m.showUserInterface), "showBottomWidget" in m && i(90, Qe = m.showBottomWidget), "playerStyle" in m && i(6, j = m.playerStyle), "playerTitle" in m && i(26, he = m.playerTitle), "callToAction" in m && i(27, ze = m.callToAction), "skipButtonStyle" in m && i(28, Ne = m.skipButtonStyle), "playlistStyle" in m && i(29, Ge = m.playlistStyle), "playlistToggle" in m && i(30, Me = m.playlistToggle), "downloadFormats" in m && i(52, nt = m.downloadFormats), "durationFormat" in m && i(53, Te = m.durationFormat), "mediaSession" in m && i(31, Je = m.mediaSession), "content" in m && i(54, Ce = m.content), "contentIndex" in m && i(7, Lt = m.contentIndex), "introsOutros" in m && i(55, Ee = m.introsOutros), "introsOutrosIndex" in m && i(8, ft = m.introsOutrosIndex), "adverts" in m && i(56, Oe = m.adverts), "advertIndex" in m && i(9, qe = m.advertIndex), "preloadAdvertIndex" in m && i(91, Rt = m.preloadAdvertIndex), "minDurationForMidroll" in m && i(92, xe = m.minDurationForMidroll), "minTimeUntilEndForMidroll" in m && i(93, St = m.minTimeUntilEndForMidroll), "persistentAdImage" in m && i(32, Ye = m.persistentAdImage), "persistentIndex" in m && i(10, At = m.persistentIndex), "duration" in m && i(33, $e = m.duration), "currentTime" in m && i(11, mt = m.currentTime), "playbackState" in m && i(12, Ze = m.playbackState), "playbackRate" in m && i(34, De = m.playbackRate), "playbackRates" in m && i(57, yt = m.playbackRates), "widgetStyle" in m && i(13, et = m.widgetStyle), "widgetPosition" in m && i(35, lt = m.widgetPosition), "widgetWidth" in m && i(36, ot = m.widgetWidth), "widgetMargin" in m && i(37, Pt = m.widgetMargin), "widgetTarget" in m && i(14, Xe = m.widgetTarget), "textColor" in m && i(38, Ot = m.textColor), "backgroundColor" in m && i(39, vt = m.backgroundColor), "iconColor" in m && i(40, Vt = m.iconColor), "highlightColor" in m && i(15, wt = m.highlightColor), "videoTextColor" in m && i(41, tt = m.videoTextColor), "videoBackgroundColor" in m && i(58, at = m.videoBackgroundColor), "videoIconColor" in m && i(42, Bt = m.videoIconColor), "logoIconEnabled" in m && i(43, bt = m.logoIconEnabled), "highlightSections" in m && i(16, kt = m.highlightSections), "clickableSections" in m && i(17, Ke = m.clickableSections), "segmentWidgetSections" in m && i(18, rt = m.segmentWidgetSections), "segmentWidgetPosition" in m && i(19, pt = m.segmentWidgetPosition), "currentSegment" in m && i(20, st = m.currentSegment), "hoveredSegment" in m && i(21, it = m.hoveredSegment), "loadedMedia" in m && i(94, He = m.loadedMedia), "previewToken" in m && i(95, ht = m.previewToken), "advertConsent" in m && i(22, Tt = m.advertConsent), "analyticsConsent" in m && i(44, U = m.analyticsConsent), "analyticsCustomUrl" in m && i(45, ut = m.analyticsCustomUrl), "analyticsDeviceType" in m && i(96, te = m.analyticsDeviceType), "analyticsTag" in m && i(46, I = m.analyticsTag), "captureErrors" in m && i(97, B = m.captureErrors), "onError" in m && i(98, le = m.onError), "transitions" in m && i(99, K = m.transitions), "controlPanel" in m && i(23, jt = m.controlPanel), "initialProps" in m && i(102, Ti = m.initialProps), "showMediaSession" in m && i(59, ri = m.showMediaSession), "metadataLoaded" in m && i(24, ui = m.metadataLoaded), "isFullScreen" in m && i(60, qt = m.isFullScreen), "mediaElement" in m && i(47, fi = m.mediaElement), "userInterface" in m && i(48, ki = m.userInterface), "widgetInterface" in m && i(49, Kt = m.widgetInterface), "controller" in m && i(103, Nt = m.controller), "logoImagePosition" in m && i(61, Ci = m.logoImagePosition), "analyticsUrl" in m && i(104, zi = m.analyticsUrl), "analyticsId" in m && i(105, ci = m.analyticsId), "platform" in m && i(62, Ft = m.platform), "vendorIdentifier" in m && i(63, Ii = m.vendorIdentifier), "bundleIdentifier" in m && i(64, ni = m.bundleIdentifier), "contentLanguage" in m && i(65, Ct = m.contentLanguage), "listenSessionId" in m && i(106, oi = m.listenSessionId), "sessionCreatedAt" in m && i(107, It = m.sessionCreatedAt), "companionAdvert" in m && i(66, Oi = m.companionAdvert), "isNewListen" in m && i(108, Wt = m.isNewListen), "prevPercentage" in m && i(50, R = m.prevPercentage), "segmentWidgets" in m && i(51, G = m.segmentWidgets), "segmentContainers" in m && i(109, fe = m.segmentContainers), "segmentClickables" in m && i(110, Ht = m.segmentClickables), "segmentHighlights" in m && i(111, Li = m.segmentHighlights);
|
|
19433
19433
|
}, t.$$.update = () => {
|
|
19434
19434
|
t.$$.dirty[0] & /*contentIndex*/
|
|
19435
19435
|
128 | t.$$.dirty[1] & /*content*/
|
|
@@ -19439,7 +19439,7 @@ function W3(t, e, i) {
|
|
|
19439
19439
|
512 | t.$$.dirty[1] & /*adverts*/
|
|
19440
19440
|
33554432 && i(70, s = Oe[qe]), t.$$.dirty[1] & /*adverts*/
|
|
19441
19441
|
33554432 | t.$$.dirty[2] & /*preloadAdvertIndex*/
|
|
19442
|
-
536870912 && i(85, l = Oe[
|
|
19442
|
+
536870912 && i(85, l = Oe[Rt]), t.$$.dirty[0] & /*persistentIndex*/
|
|
19443
19443
|
1024 | t.$$.dirty[1] & /*adverts*/
|
|
19444
19444
|
33554432 && i(84, a = Oe[At]), t.$$.dirty[0] & /*playbackState*/
|
|
19445
19445
|
4096 | t.$$.dirty[2] & /*activeAdvert*/
|
|
@@ -19478,8 +19478,8 @@ function W3(t, e, i) {
|
|
|
19478
19478
|
12582912 && i(77, q = Z ? r && (s == null ? void 0 : s.imageUrl) || (n == null ? void 0 : n.imageUrl) : ""), t.$$.dirty[0] & /*projectId, contentId, playlistId, sourceId, sourceUrl*/
|
|
19479
19479
|
31 | t.$$.dirty[2] & /*playlist*/
|
|
19480
19480
|
33554432 | t.$$.dirty[3] & /*previewToken*/
|
|
19481
|
-
4 &&
|
|
19482
|
-
67108864 && i(25, L =
|
|
19481
|
+
4 && Ni(A3()), t.$$.dirty[2] & /*loadContentAs*/
|
|
19482
|
+
67108864 && i(25, L = N[0]), t.$$.dirty[0] & /*hoveredSegment*/
|
|
19483
19483
|
2097152 | t.$$.dirty[3] & /*lastHovered*/
|
|
19484
19484
|
1048576 && i(113, D = it || D), t.$$.dirty[0] & /*currentSegment, segmentWidgetSections*/
|
|
19485
19485
|
1310720 && i(112, X = vo("current", st, rt)), t.$$.dirty[0] & /*currentSegment*/
|
|
@@ -19502,7 +19502,7 @@ function W3(t, e, i) {
|
|
|
19502
19502
|
2195456 | t.$$.dirty[3] & /*segmentHighlights*/
|
|
19503
19503
|
262144 && Li.update("hovered", it, kt, wt), t.$$.dirty[0] & /*currentTime*/
|
|
19504
19504
|
2048 | t.$$.dirty[3] & /*transitions, controller*/
|
|
19505
|
-
1088 && y3(K,
|
|
19505
|
+
1088 && y3(K, Nt, mt);
|
|
19506
19506
|
}, [
|
|
19507
19507
|
Ae,
|
|
19508
19508
|
ce,
|
|
@@ -19532,7 +19532,7 @@ function W3(t, e, i) {
|
|
|
19532
19532
|
L,
|
|
19533
19533
|
he,
|
|
19534
19534
|
ze,
|
|
19535
|
-
|
|
19535
|
+
Ne,
|
|
19536
19536
|
Ge,
|
|
19537
19537
|
Me,
|
|
19538
19538
|
Je,
|
|
@@ -19554,7 +19554,7 @@ function W3(t, e, i) {
|
|
|
19554
19554
|
fi,
|
|
19555
19555
|
ki,
|
|
19556
19556
|
Kt,
|
|
19557
|
-
|
|
19557
|
+
R,
|
|
19558
19558
|
G,
|
|
19559
19559
|
nt,
|
|
19560
19560
|
Te,
|
|
@@ -19571,7 +19571,7 @@ function W3(t, e, i) {
|
|
|
19571
19571
|
ni,
|
|
19572
19572
|
Ct,
|
|
19573
19573
|
Oi,
|
|
19574
|
-
|
|
19574
|
+
Ni,
|
|
19575
19575
|
ae,
|
|
19576
19576
|
o,
|
|
19577
19577
|
s,
|
|
@@ -19592,10 +19592,10 @@ function W3(t, e, i) {
|
|
|
19592
19592
|
l,
|
|
19593
19593
|
ue,
|
|
19594
19594
|
w,
|
|
19595
|
-
|
|
19595
|
+
N,
|
|
19596
19596
|
Ve,
|
|
19597
19597
|
Qe,
|
|
19598
|
-
|
|
19598
|
+
Rt,
|
|
19599
19599
|
xe,
|
|
19600
19600
|
St,
|
|
19601
19601
|
He,
|
|
@@ -19607,7 +19607,7 @@ function W3(t, e, i) {
|
|
|
19607
19607
|
dn,
|
|
19608
19608
|
Et,
|
|
19609
19609
|
Ti,
|
|
19610
|
-
|
|
19610
|
+
Nt,
|
|
19611
19611
|
zi,
|
|
19612
19612
|
ci,
|
|
19613
19613
|
oi,
|
|
@@ -19647,13 +19647,13 @@ function W3(t, e, i) {
|
|
|
19647
19647
|
oo,
|
|
19648
19648
|
$i,
|
|
19649
19649
|
so,
|
|
19650
|
-
|
|
19650
|
+
Ro,
|
|
19651
19651
|
yn,
|
|
19652
19652
|
Gt,
|
|
19653
|
-
|
|
19653
|
+
Ns,
|
|
19654
19654
|
Vn,
|
|
19655
19655
|
si,
|
|
19656
|
-
|
|
19656
|
+
No,
|
|
19657
19657
|
jn,
|
|
19658
19658
|
Vi,
|
|
19659
19659
|
_e,
|
|
@@ -19674,8 +19674,8 @@ function W3(t, e, i) {
|
|
|
19674
19674
|
ju,
|
|
19675
19675
|
xu,
|
|
19676
19676
|
Du,
|
|
19677
|
-
Nu,
|
|
19678
19677
|
Ru,
|
|
19678
|
+
Nu,
|
|
19679
19679
|
Fu,
|
|
19680
19680
|
Uu,
|
|
19681
19681
|
Hu,
|
|
@@ -20403,10 +20403,10 @@ const pl = (t) => typeof t != "object" || t === null ? t : Array.isArray(t) ? t.
|
|
|
20403
20403
|
const n = yield D3(e, i).catch(() => {
|
|
20404
20404
|
});
|
|
20405
20405
|
if (!(n != null && n.content)) {
|
|
20406
|
-
|
|
20406
|
+
R3(t);
|
|
20407
20407
|
return;
|
|
20408
20408
|
}
|
|
20409
|
-
F3(t, n),
|
|
20409
|
+
F3(t, n), N3(t);
|
|
20410
20410
|
}), x3 = (t) => {
|
|
20411
20411
|
const e = [];
|
|
20412
20412
|
return t.contentId && e.push({ content_id: t.contentId }), t.playlistId && e.push({ playlist_id: t.playlistId }), t.sourceId && e.push({ source_id: t.sourceId }), t.sourceUrl && e.push({ source_url: t.sourceUrl }), t.playlist && e.push(...pl(t.playlist)), [...new Set(e.map(JSON.stringify))].map(JSON.parse);
|
|
@@ -20422,13 +20422,13 @@ const pl = (t) => typeof t != "object" || t === null ? t : Array.isArray(t) ? t.
|
|
|
20422
20422
|
return t.bySourceId(i.source_id);
|
|
20423
20423
|
if (i.source_url)
|
|
20424
20424
|
return t.bySourceUrl(i.source_url);
|
|
20425
|
-
},
|
|
20425
|
+
}, R3 = (t) => {
|
|
20426
20426
|
lu(t), au(t), ru(t), t.onEvent(ke({
|
|
20427
20427
|
type: "NoContentAvailable",
|
|
20428
20428
|
description: "No published and processed content is available for the identifiers.",
|
|
20429
20429
|
initiatedBy: "browser"
|
|
20430
20430
|
}));
|
|
20431
|
-
},
|
|
20431
|
+
}, N3 = (t) => {
|
|
20432
20432
|
t.onEvent(ke({
|
|
20433
20433
|
type: "ContentAvailable",
|
|
20434
20434
|
description: "Content was loaded into the player and is ready to be played.",
|
|
@@ -21208,22 +21208,22 @@ const jy = (t, e) => {
|
|
|
21208
21208
|
if (!i)
|
|
21209
21209
|
return;
|
|
21210
21210
|
const n = Dy(t, i);
|
|
21211
|
-
Wc(n), t.analyticsUrl && t.analyticsConsent !== "none" && new nl(t.analyticsUrl).sendToCustomAnalytics(n), t.analyticsCustomUrl && t.analyticsConsent !== "none" && new nl(t.analyticsCustomUrl).sendToCustomAnalytics(n), t.analyticsTag && new nl(t.analyticsTag).sendToGoogleAnalytics(
|
|
21211
|
+
Wc(n), t.analyticsUrl && t.analyticsConsent !== "none" && new nl(t.analyticsUrl).sendToCustomAnalytics(n), t.analyticsCustomUrl && t.analyticsConsent !== "none" && new nl(t.analyticsCustomUrl).sendToCustomAnalytics(n), t.analyticsTag && new nl(t.analyticsTag).sendToGoogleAnalytics(Ry(n), n);
|
|
21212
21212
|
}, xy = (t, e) => {
|
|
21213
21213
|
if (e === "ContentAvailable" && !t.listenSessionId)
|
|
21214
21214
|
return "load";
|
|
21215
|
-
if (e === "PlaybackPlaying" &&
|
|
21215
|
+
if (e === "PlaybackPlaying" && Ny(t) && (t.isNewListen = !0), e === "CurrentTimeUpdated" && t.isNewListen)
|
|
21216
21216
|
return t.isNewListen = !1, "play";
|
|
21217
21217
|
if (e === "CurrentTimeUpdated" && Fy(t))
|
|
21218
21218
|
return "play_progress";
|
|
21219
21219
|
if (e.startsWith("PressedAdvert"))
|
|
21220
21220
|
return "ad_link_click";
|
|
21221
21221
|
}, Dy = (t, e) => {
|
|
21222
|
-
var
|
|
21222
|
+
var a, r;
|
|
21223
21223
|
t.listenSessionId || (t.listenSessionId = us()), t.sessionCreatedAt || (t.sessionCreatedAt = Date.now());
|
|
21224
21224
|
const i = ["without-local-storage", "none"].includes(t.analyticsConsent);
|
|
21225
21225
|
i || localStorage.beyondwords || (localStorage.beyondwords = JSON.stringify(us()));
|
|
21226
|
-
const n = t.adverts[t.advertIndex], o = t.content[t.contentIndex], s = t.duration ? t.
|
|
21226
|
+
const n = t.adverts[t.advertIndex], o = t.content[t.contentIndex], s = t.duration === 1 / 0 ? 0 : t.duration || 0, l = t.currentTime / s * 100;
|
|
21227
21227
|
return {
|
|
21228
21228
|
event_type: e,
|
|
21229
21229
|
device_type: Uy(t),
|
|
@@ -21234,21 +21234,21 @@ const jy = (t, e) => {
|
|
|
21234
21234
|
source_id: o == null ? void 0 : o.sourceId,
|
|
21235
21235
|
analytics_id: t.analyticsId,
|
|
21236
21236
|
ad_id: n == null ? void 0 : n.id,
|
|
21237
|
-
media_id: (
|
|
21238
|
-
media_format: (
|
|
21237
|
+
media_id: (a = t.loadedMedia) == null ? void 0 : a.id,
|
|
21238
|
+
media_format: (r = t.loadedMedia) == null ? void 0 : r.format,
|
|
21239
21239
|
local_storage_id: i ? null : JSON.parse(localStorage.beyondwords),
|
|
21240
21240
|
listen_session_id: t.listenSessionId,
|
|
21241
21241
|
session_created_at: t.sessionCreatedAt,
|
|
21242
|
-
duration:
|
|
21242
|
+
duration: s,
|
|
21243
21243
|
listen_length_seconds: t.currentTime,
|
|
21244
|
-
listen_length_percent: Math.max(0, Math.min(100,
|
|
21244
|
+
listen_length_percent: Math.max(0, Math.min(100, l)),
|
|
21245
21245
|
speed: t.playbackRate,
|
|
21246
21246
|
location: window.location.href,
|
|
21247
21247
|
referrer: document.referrer,
|
|
21248
21248
|
player_version: "1",
|
|
21249
21249
|
player_npm_version: ho
|
|
21250
21250
|
};
|
|
21251
|
-
},
|
|
21251
|
+
}, Ry = ({ event_type: t, listen_length_percent: e }) => {
|
|
21252
21252
|
const i = Math.floor(e / 10) * 10;
|
|
21253
21253
|
if (t === "load")
|
|
21254
21254
|
return "Load";
|
|
@@ -21260,7 +21260,7 @@ const jy = (t, e) => {
|
|
|
21260
21260
|
return `${i}% listened`;
|
|
21261
21261
|
if (t === "ad_link_click")
|
|
21262
21262
|
return "Advert Click";
|
|
21263
|
-
},
|
|
21263
|
+
}, Ny = (t) => {
|
|
21264
21264
|
var n, o;
|
|
21265
21265
|
let e = !1;
|
|
21266
21266
|
if (t.advertIndex !== -1) {
|