@beyondwords/player 0.3.6 → 0.3.8
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 +308 -308
- package/dist/es.js.map +1 -1
- package/dist/umd.js +29 -29
- package/dist/umd.js.map +1 -1
- package/package.json +1 -1
package/dist/es.js
CHANGED
|
@@ -27,7 +27,7 @@ var xi = (t, e, i) => (Ys(t, e, "read from private field"), i ? i.call(t) : e.ge
|
|
|
27
27
|
if (e.has(t))
|
|
28
28
|
throw TypeError("Cannot add the same private member more than once");
|
|
29
29
|
e instanceof WeakSet ? e.add(t) : e.set(t, i);
|
|
30
|
-
},
|
|
30
|
+
}, Rl = (t, e, i, n) => (Ys(t, e, "write to private field"), n ? n.call(t, i) : e.set(t, i), i);
|
|
31
31
|
var U = (t, e, i) => (Ys(t, e, "access private method"), i);
|
|
32
32
|
var Ui = (t, e, i) => new Promise((n, o) => {
|
|
33
33
|
var s = (r) => {
|
|
@@ -45,7 +45,7 @@ var Ui = (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.8" */
|
|
49
49
|
function Q() {
|
|
50
50
|
}
|
|
51
51
|
const Qu = (t) => t;
|
|
@@ -60,7 +60,7 @@ function $u(t, e) {
|
|
|
60
60
|
function _r(t) {
|
|
61
61
|
return t();
|
|
62
62
|
}
|
|
63
|
-
function
|
|
63
|
+
function Nl() {
|
|
64
64
|
return /* @__PURE__ */ Object.create(null);
|
|
65
65
|
}
|
|
66
66
|
function _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 qo;
|
|
76
|
-
function
|
|
76
|
+
function Ri(t, e) {
|
|
77
77
|
return t === e ? !0 : (qo || (qo = document.createElement("a")), qo.href = e, t === qo.href);
|
|
78
78
|
}
|
|
79
79
|
function ec(t) {
|
|
@@ -516,7 +516,7 @@ function we(t, e, i, n, o, s, l = null, a = [-1]) {
|
|
|
516
516
|
props: s,
|
|
517
517
|
update: Q,
|
|
518
518
|
not_equal: o,
|
|
519
|
-
bound:
|
|
519
|
+
bound: Nl(),
|
|
520
520
|
// lifecycle
|
|
521
521
|
on_mount: [],
|
|
522
522
|
on_destroy: [],
|
|
@@ -525,7 +525,7 @@ function we(t, e, i, n, o, s, l = null, a = [-1]) {
|
|
|
525
525
|
after_update: [],
|
|
526
526
|
context: new Map(e.context || (r ? r.$$.context : [])),
|
|
527
527
|
// everything else
|
|
528
|
-
callbacks:
|
|
528
|
+
callbacks: Nl(),
|
|
529
529
|
dirty: a,
|
|
530
530
|
skip_bound: !1,
|
|
531
531
|
root: e.target || r.$$.root
|
|
@@ -593,7 +593,7 @@ class Te {
|
|
|
593
593
|
}
|
|
594
594
|
const bc = "4";
|
|
595
595
|
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(bc);
|
|
596
|
-
const kc = "@beyondwords/player", ho = "0.3.
|
|
596
|
+
const kc = "@beyondwords/player", ho = "0.3.8", wi = (t, e) => {
|
|
597
597
|
t = [t].flat().join(`
|
|
598
598
|
`);
|
|
599
599
|
let i = `${kc}:
|
|
@@ -646,13 +646,13 @@ function cs(t, e, i) {
|
|
|
646
646
|
return wc(n);
|
|
647
647
|
}
|
|
648
648
|
const Bl = ["user", "media", "browser", "media-session-api", "google-ima-sdk"], wr = ["inline-player", "bottom-widget", "segment", "segment-widget"], Cc = ["handled", "ignored-due-to-advert", "ignored-due-to-scrubbing", "ignored-due-to-precedence"], Ic = ["load", "play", "play_progress", "ad_link_click"], Oc = ["phone", "tablet", "desktop", "ios", "android"], Vc = ["content", "ad"], Bc = (t) => {
|
|
649
|
-
|
|
649
|
+
Re(t, "type", (e) => Wl(e)), Re(t, "description", (e) => e.length > 0), Re(t, "initiatedBy", (e) => Bl.includes(e));
|
|
650
650
|
}, Wc = (t) => {
|
|
651
|
-
|
|
651
|
+
Re(t, "type", (e) => Wl(e)), Re(t, "description", (e) => e.length > 0), Re(t, "initiatedBy", (e) => Bl.includes(e)), Re(t, "emittedFrom", (e) => wr.includes(e)), Re(t, "id", (e) => _o(e)), Re(t, "createdAt", (e) => al(e)), Re(t, "status", (e) => e === "pending");
|
|
652
652
|
}, Mc = (t) => {
|
|
653
|
-
|
|
653
|
+
Re(t, "type", (e) => Wl(e)), Re(t, "description", (e) => e.length > 0), Re(t, "initiatedBy", (e) => Bl.includes(e)), Re(t, "emittedFrom", (e) => wr.includes(e)), Re(t, "id", (e) => _o(e)), Re(t, "createdAt", (e) => al(e)), Re(t, "status", (e) => Cc.includes(e)), Re(t, "changedProps", (e) => typeof e == "object"), Re(t, "processedAt", (e) => al(e));
|
|
654
654
|
}, Ec = (t) => {
|
|
655
|
-
|
|
655
|
+
Re(t, "event_type", (e) => Ic.includes(e)), Re(t, "device_type", (e) => Oc.includes(e)), Re(t, "media_type", (e) => Vc.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
|
}, Wl = (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 Bl = ["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
|
Bc(t);
|
|
@@ -713,15 +713,15 @@ const Bl = ["user", "media", "browser", "media-session-api", "google-ima-sdk"],
|
|
|
713
713
|
r: 2,
|
|
714
714
|
l: 1
|
|
715
715
|
}, Zl = {
|
|
716
|
-
nonPersonalizedDaisybit: "
|
|
717
|
-
personalizedDaisybit: "
|
|
716
|
+
nonPersonalizedDaisybit: "CQPmTUAQPmTUAAAAAAENDgCAAEIAAAAAAAAAg1NX_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: "CQPmTUAQPmTUAAAAAAENDgCAAHIAAAAAAAAAg1NX_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
|
}, xc = (t, e, i, n, o, s, l, a, r, u, d, g) => {
|
|
719
719
|
const f = window.location.hostname === "localhost";
|
|
720
|
-
return Dc(t) ?
|
|
721
|
-
}, Dc = (t) => t == null ? void 0 : t.includes("pubads.g.doubleclick.net"), Tr = (t) => t == null ? void 0 : t.includes("geo.ads.audio.thisisdax.com"),
|
|
720
|
+
return Dc(t) ? Rc(f, i, g) : Tr(t) ? Nc(f, t, e, i, n, o, s, l, a, r, u, d) : {};
|
|
721
|
+
}, Dc = (t) => t == null ? void 0 : t.includes("pubads.g.doubleclick.net"), Tr = (t) => t == null ? void 0 : t.includes("geo.ads.audio.thisisdax.com"), Rc = (t, e, i) => {
|
|
722
722
|
const n = {};
|
|
723
723
|
return n.vad_type = "linear", n.npa = e !== "personalized" ? 1 : 0, n.tfua = e === "under-the-age-of-consent" ? 1 : 0, n.ad_type = i ? "audio_video" : "audio", t && (n.url || (n.url = "https://googleads.github.io")), t && (n.description_url || (n.description_url = "https://googleads.github.io")), t || (n.description_url = window.location.href), n;
|
|
724
|
-
},
|
|
724
|
+
}, Nc = (t, e, i, n, o, s, l, a, r, u, d, g) => {
|
|
725
725
|
var _, k;
|
|
726
726
|
const f = {};
|
|
727
727
|
e != null && e.includes("cid=") || console.warn("BeyondWords.Player: The DAX VAST URL does not contain the 'cid' parameter."), window.daxListenerId && (f.dax_listenerid = window.daxListenerId), n === "personalized" ? f.gdpr_consent = Zl.personalizedDaisybit : f.gdpr_consent = Zl.nonPersonalizedDaisybit, f.att = 0, d && (f.idfv = d);
|
|
@@ -742,7 +742,7 @@ function Yc(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") || Kl(e, "src", i), Kl(o, "class", "vast-container");
|
|
746
746
|
},
|
|
747
747
|
m(a, r) {
|
|
748
748
|
h(qc.head, e), E(a, n, r), E(a, o, r), t[22](o), s || (l = [
|
|
@@ -789,12 +789,12 @@ function Zc(t, e, i) {
|
|
|
789
789
|
var Ce, 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 = (Ce = j.getAd().getCompanionAds(0, 0, he)[0]) == null ? void 0 : Ce.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 Zc(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.",
|
|
@@ -893,7 +893,7 @@ function Zc(t, e, i) {
|
|
|
893
893
|
}, [
|
|
894
894
|
p,
|
|
895
895
|
ae,
|
|
896
|
-
|
|
896
|
+
N,
|
|
897
897
|
v,
|
|
898
898
|
P,
|
|
899
899
|
O,
|
|
@@ -1766,10 +1766,10 @@ const Jc = (t, e) => Ui(void 0, null, function* () {
|
|
|
1766
1766
|
maximizeVideo: "Maximize video",
|
|
1767
1767
|
changePlaybackRate: "Change playback rate",
|
|
1768
1768
|
downloadAudio: "Download audio"
|
|
1769
|
-
},
|
|
1769
|
+
}, Rd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1770
1770
|
__proto__: null,
|
|
1771
1771
|
default: Dd
|
|
1772
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1772
|
+
}, Symbol.toStringTag, { value: "Module" })), Nd = {
|
|
1773
1773
|
isDefaultForLanguage: !0,
|
|
1774
1774
|
listenToThisArticle: "Aŭskultu ĉi tiun artikolon",
|
|
1775
1775
|
minutesSingularOrPlural: "{n} min",
|
|
@@ -1799,7 +1799,7 @@ const Jc = (t, e) => Ui(void 0, null, function* () {
|
|
|
1799
1799
|
downloadAudio: "Download audio"
|
|
1800
1800
|
}, Fd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1801
1801
|
__proto__: null,
|
|
1802
|
-
default:
|
|
1802
|
+
default: Nd
|
|
1803
1803
|
}, Symbol.toStringTag, { value: "Module" })), Ud = {
|
|
1804
1804
|
isDefaultForLanguage: !0,
|
|
1805
1805
|
listenToThisArticle: "Escucha este artículo",
|
|
@@ -2603,10 +2603,10 @@ const Jc = (t, e) => Ui(void 0, null, function* () {
|
|
|
2603
2603
|
maximizeVideo: "Maximize video",
|
|
2604
2604
|
changePlaybackRate: "Change playback rate",
|
|
2605
2605
|
downloadAudio: "Download audio"
|
|
2606
|
-
},
|
|
2606
|
+
}, Rg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2607
2607
|
__proto__: null,
|
|
2608
2608
|
default: Dg
|
|
2609
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
2609
|
+
}, Symbol.toStringTag, { value: "Module" })), Ng = {
|
|
2610
2610
|
isDefaultForLanguage: !0,
|
|
2611
2611
|
listenToThisArticle: "សូមស្តាប់អត្ថបទនេះ។",
|
|
2612
2612
|
minutesSingularOrPlural: "{n} នាទី",
|
|
@@ -2636,7 +2636,7 @@ const Jc = (t, e) => Ui(void 0, null, function* () {
|
|
|
2636
2636
|
downloadAudio: "Download audio"
|
|
2637
2637
|
}, Fg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2638
2638
|
__proto__: null,
|
|
2639
|
-
default:
|
|
2639
|
+
default: Ng
|
|
2640
2640
|
}, Symbol.toStringTag, { value: "Module" })), Ug = {
|
|
2641
2641
|
isDefaultForLanguage: !0,
|
|
2642
2642
|
listenToThisArticle: "ಈ ಲೇಖನವನ್ನು ಆಲಿಸಿ",
|
|
@@ -3412,7 +3412,7 @@ const Jc = (t, e) => Ui(void 0, null, function* () {
|
|
|
3412
3412
|
}, Df = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3413
3413
|
__proto__: null,
|
|
3414
3414
|
default: xf
|
|
3415
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
3415
|
+
}, Symbol.toStringTag, { value: "Module" })), Rf = {
|
|
3416
3416
|
isDefaultForLanguage: !0,
|
|
3417
3417
|
listenToThisArticle: "Posłuchaj tego artykułu",
|
|
3418
3418
|
minutesSingularOrPlural: "{n} min",
|
|
@@ -3440,9 +3440,9 @@ const Jc = (t, e) => Ui(void 0, null, function* () {
|
|
|
3440
3440
|
maximizeVideo: "Maximize video",
|
|
3441
3441
|
changePlaybackRate: "Change playback rate",
|
|
3442
3442
|
downloadAudio: "Download audio"
|
|
3443
|
-
},
|
|
3443
|
+
}, Nf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3444
3444
|
__proto__: null,
|
|
3445
|
-
default:
|
|
3445
|
+
default: Rf
|
|
3446
3446
|
}, Symbol.toStringTag, { value: "Module" })), Ff = {
|
|
3447
3447
|
isDefaultForLanguage: !0,
|
|
3448
3448
|
listenToThisArticle: "دا لیکنه واورئ",
|
|
@@ -4249,7 +4249,7 @@ const Jc = (t, e) => Ui(void 0, null, function* () {
|
|
|
4249
4249
|
}, D1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4250
4250
|
__proto__: null,
|
|
4251
4251
|
default: x1
|
|
4252
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
4252
|
+
}, Symbol.toStringTag, { value: "Module" })), R1 = {
|
|
4253
4253
|
isDefaultForLanguage: !0,
|
|
4254
4254
|
listenToThisArticle: "Nghe bài viết này",
|
|
4255
4255
|
minutesSingularOrPlural: "{n} phút",
|
|
@@ -4277,9 +4277,9 @@ const Jc = (t, e) => Ui(void 0, null, function* () {
|
|
|
4277
4277
|
maximizeVideo: "Maximize video",
|
|
4278
4278
|
changePlaybackRate: "Change playback rate",
|
|
4279
4279
|
downloadAudio: "Download audio"
|
|
4280
|
-
},
|
|
4280
|
+
}, N1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4281
4281
|
__proto__: null,
|
|
4282
|
-
default:
|
|
4282
|
+
default: R1
|
|
4283
4283
|
}, Symbol.toStringTag, { value: "Module" })), F1 = {
|
|
4284
4284
|
isDefaultForLanguage: !0,
|
|
4285
4285
|
listenToThisArticle: "הערן צו דעם אַרטיקל",
|
|
@@ -4523,7 +4523,7 @@ const Jc = (t, e) => Ui(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
|
-
}, am = /* @__PURE__ */ Object.assign({ "../translations/af.ts": id, "../translations/ak.ts": od, "../translations/am.ts": ld, "../translations/ar.ts": rd, "../translations/as.ts": cd, "../translations/az.ts": gd, "../translations/be.ts": md, "../translations/bg.ts": _d, "../translations/bm.ts": yd, "../translations/bn.ts": bd, "../translations/bs.ts": pd, "../translations/ca.ts": Pd, "../translations/ckb.ts": Td, "../translations/cs.ts": Id, "../translations/cy.ts": Vd, "../translations/da.ts": Wd, "../translations/de.ts": Ed, "../translations/ee.ts": Ld, "../translations/el.ts": xd, "../translations/en.ts":
|
|
4526
|
+
}, am = /* @__PURE__ */ Object.assign({ "../translations/af.ts": id, "../translations/ak.ts": od, "../translations/am.ts": ld, "../translations/ar.ts": rd, "../translations/as.ts": cd, "../translations/az.ts": gd, "../translations/be.ts": md, "../translations/bg.ts": _d, "../translations/bm.ts": yd, "../translations/bn.ts": bd, "../translations/bs.ts": pd, "../translations/ca.ts": Pd, "../translations/ckb.ts": Td, "../translations/cs.ts": Id, "../translations/cy.ts": Vd, "../translations/da.ts": Wd, "../translations/de.ts": Ed, "../translations/ee.ts": Ld, "../translations/el.ts": xd, "../translations/en.ts": Rd, "../translations/eo.ts": Fd, "../translations/es.ts": Hd, "../translations/et.ts": Yd, "../translations/eu.ts": Kd, "../translations/fa.ts": Jd, "../translations/fi.ts": Qd, "../translations/fil.ts": eg, "../translations/fr.ts": ig, "../translations/ga.ts": og, "../translations/gd.ts": lg, "../translations/gl.ts": rg, "../translations/gu.ts": cg, "../translations/ha.ts": gg, "../translations/haw.ts": mg, "../translations/he.ts": _g, "../translations/hi.ts": yg, "../translations/hr.ts": bg, "../translations/hu.ts": pg, "../translations/hy.ts": Pg, "../translations/id.ts": Tg, "../translations/ig.ts": Ig, "../translations/is.ts": Vg, "../translations/it.ts": Wg, "../translations/iw.ts": Eg, "../translations/ja.ts": Lg, "../translations/ka.ts": xg, "../translations/kk.ts": Rg, "../translations/km.ts": Fg, "../translations/kn.ts": Hg, "../translations/ko.ts": Yg, "../translations/ky.ts": Kg, "../translations/lb.ts": Jg, "../translations/lg.ts": Qg, "../translations/ln.ts": ef, "../translations/lo.ts": nf, "../translations/lt.ts": sf, "../translations/lv.ts": af, "../translations/mg.ts": uf, "../translations/mk.ts": df, "../translations/ml.ts": ff, "../translations/mn.ts": hf, "../translations/mr.ts": Af, "../translations/ms.ts": vf, "../translations/mt.ts": kf, "../translations/my.ts": Sf, "../translations/nb.ts": wf, "../translations/ne.ts": Cf, "../translations/nl.ts": Of, "../translations/nn.ts": Bf, "../translations/no.ts": Mf, "../translations/om.ts": zf, "../translations/or.ts": jf, "../translations/pa.ts": Df, "../translations/pl.ts": Nf, "../translations/ps.ts": Uf, "../translations/pt.ts": qf, "../translations/qu.ts": Zf, "../translations/ro.ts": Gf, "../translations/ru.ts": Xf, "../translations/rw.ts": $f, "../translations/si.ts": t1, "../translations/sk.ts": n1, "../translations/sl.ts": s1, "../translations/sn.ts": a1, "../translations/so.ts": u1, "../translations/sq.ts": d1, "../translations/sr.ts": f1, "../translations/sv.ts": h1, "../translations/sw.ts": A1, "../translations/ta.ts": v1, "../translations/te.ts": k1, "../translations/tg.ts": S1, "../translations/th.ts": w1, "../translations/ti.ts": C1, "../translations/tr.ts": O1, "../translations/tt.ts": B1, "../translations/ug.ts": M1, "../translations/uk.ts": z1, "../translations/ur.ts": j1, "../translations/uz.ts": D1, "../translations/vi.ts": N1, "../translations/yi.ts": U1, "../translations/yo.ts": q1, "../translations/zh-HK.ts": Z1, "../translations/zh-MO.ts": G1, "../translations/zh-TW.ts": X1, "../translations/zh.ts": $1, "../translations/zu.ts": tm }), Br = Object.entries(am).map(([t, e]) => [im(t), e.default]), ul = Object.fromEntries(Br.filter(([t, e]) => t.includes("-"))), cl = Object.fromEntries(Br.filter(([t, e]) => e.isDefaultForLanguage).map(([t, e]) => [t.split("-")[0], e]));
|
|
4527
4527
|
nm(ul, cl);
|
|
4528
4528
|
const gt = (t, { locale: e } = {}) => {
|
|
4529
4529
|
const i = rm(e);
|
|
@@ -5120,8 +5120,8 @@ function vm() {
|
|
|
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 oa(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]}${Xl(
|
|
5437
5437
|
/*isFirstLoad*/
|
|
5438
5438
|
t[23],
|
|
@@ -5456,7 +5456,7 @@ function oa(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]}${Xl(
|
|
5461
5461
|
/*isFirstLoad*/
|
|
5462
5462
|
t[23],
|
|
@@ -5814,8 +5814,8 @@ function Em(t) {
|
|
|
5814
5814
|
}
|
|
5815
5815
|
const ua = ({ url: t }) => t;
|
|
5816
5816
|
function zm(t, e, i) {
|
|
5817
|
-
let n, o, s, l, a, r, u, d, 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: Se = void 0 } = e, Lt, Ee, ft, Oe = 0, qe = 0,
|
|
5817
|
+
let n, o, s, l, a, r, u, d, 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: Be } = 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: Ce = () => {
|
|
5818
|
+
} } = e, { metadataLoaded: Je } = e, { video: Se = void 0 } = e, Lt, Ee, ft, Oe = 0, qe = 0, Rt = L, xe, St;
|
|
5819
5819
|
const Ye = (F) => i(19, Oe = F), At = () => ze, $e = () => u.some((F) => F.format === "video"), mt = () => {
|
|
5820
5820
|
var F;
|
|
5821
5821
|
return (Se == null ? void 0 : Se.paused) && ((F = Se == null ? void 0 : Se.play()) == null ? void 0 : F.catch(at));
|
|
@@ -5955,7 +5955,7 @@ function zm(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 zm(t, e, i) {
|
|
|
5967
5967
|
w = F, i(0, w);
|
|
5968
5968
|
}
|
|
5969
5969
|
function ht(F) {
|
|
5970
|
-
|
|
5970
|
+
N = F, i(3, N);
|
|
5971
5971
|
}
|
|
5972
5972
|
function Tt(F) {
|
|
5973
5973
|
L = F, i(1, L), i(19, Oe);
|
|
5974
5974
|
}
|
|
5975
5975
|
return t.$$set = (F) => {
|
|
5976
|
-
"content" in F && i(5, C = F.content), "contentIndex" in F && i(45, Z = F.contentIndex), "contentVariant" in F && i(46, q = F.contentVariant), "introOrOutro" in F && i(47, D = F.introOrOutro), "activeAdvert" in F && i(48, X = F.activeAdvert), "preloadAdvert" in F && i(49, oe = F.preloadAdvert), "advertConsent" in F && i(6, ae = F.advertConsent), "maxImageSize" in F && i(7, $ = F.maxImageSize), "projectId" in F && i(8, ee = F.projectId), "playlistId" in F && i(9, ue = F.playlistId), "contentId" in F && i(10, Ae = F.contentId), "contentLanguage" in F && i(11, ce = F.contentLanguage), "platform" in F && i(12, ye = F.platform), "vendorIdentifier" in F && i(13, re = F.vendorIdentifier), "bundleIdentifier" in F && i(14, b = F.bundleIdentifier), "playbackState" in F && i(0, w = F.playbackState), "duration" in F && i(3,
|
|
5976
|
+
"content" in F && i(5, C = F.content), "contentIndex" in F && i(45, Z = F.contentIndex), "contentVariant" in F && i(46, q = F.contentVariant), "introOrOutro" in F && i(47, D = F.introOrOutro), "activeAdvert" in F && i(48, X = F.activeAdvert), "preloadAdvert" in F && i(49, oe = F.preloadAdvert), "advertConsent" in F && i(6, ae = F.advertConsent), "maxImageSize" in F && i(7, $ = F.maxImageSize), "projectId" in F && i(8, ee = F.projectId), "playlistId" in F && i(9, ue = F.playlistId), "contentId" in F && i(10, Ae = F.contentId), "contentLanguage" in F && i(11, ce = F.contentLanguage), "platform" in F && i(12, ye = F.platform), "vendorIdentifier" in F && i(13, re = F.vendorIdentifier), "bundleIdentifier" in F && i(14, b = F.bundleIdentifier), "playbackState" in F && i(0, w = F.playbackState), "duration" in F && i(3, N = F.duration), "currentTime" in F && i(1, L = F.currentTime), "playbackRate" in F && i(4, Be = F.playbackRate), "prevPercentage" in F && i(44, Le = F.prevPercentage), "showUserInterface" in F && i(15, Qe = F.showUserInterface), "videoBehindWidget" in F && i(50, j = F.videoBehindWidget), "videoBehindStatic" in F && i(16, he = F.videoBehindStatic), "videoMightBeShown" in F && i(51, ze = F.videoMightBeShown), "widgetPosition" in F && i(52, Ne = F.widgetPosition), "widgetWidth" in F && i(53, Ge = F.widgetWidth), "widgetMargin" in F && i(54, Me = F.widgetMargin), "widgetTarget" in F && i(55, nt = F.widgetTarget), "onEvent" in F && i(17, Ce = F.onEvent), "metadataLoaded" in F && i(43, Je = F.metadataLoaded), "video" in F && i(2, Se = F.video);
|
|
5977
5977
|
}, t.$$.update = () => {
|
|
5978
5978
|
t.$$.dirty[0] & /*content, videoBehindStatic*/
|
|
5979
5979
|
65568 | t.$$.dirty[1] & /*videoBehindWidget*/
|
|
@@ -5987,7 +5987,7 @@ function zm(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 zm(t, e, i) {
|
|
|
6018
6018
|
8388608 && i(64, T = Vr(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 zm(t, e, i) {
|
|
|
6033
6033
|
w,
|
|
6034
6034
|
L,
|
|
6035
6035
|
Se,
|
|
6036
|
-
|
|
6036
|
+
N,
|
|
6037
6037
|
Be,
|
|
6038
6038
|
C,
|
|
6039
6039
|
ae,
|
|
@@ -6061,7 +6061,7 @@ function zm(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 zm(t, e, i) {
|
|
|
6082
6082
|
oe,
|
|
6083
6083
|
j,
|
|
6084
6084
|
ze,
|
|
6085
|
-
|
|
6085
|
+
Ne,
|
|
6086
6086
|
Ge,
|
|
6087
6087
|
Me,
|
|
6088
6088
|
nt,
|
|
@@ -6409,8 +6409,8 @@ var zr = function() {
|
|
|
6409
6409
|
return t(Date.now());
|
|
6410
6410
|
}, 1e3 / 60);
|
|
6411
6411
|
};
|
|
6412
|
-
}(),
|
|
6413
|
-
function
|
|
6412
|
+
}(), Rm = 2;
|
|
6413
|
+
function Nm(t, e) {
|
|
6414
6414
|
var i = !1, n = !1, o = 0;
|
|
6415
6415
|
function s() {
|
|
6416
6416
|
i && (i = !1, t()), n && a();
|
|
@@ -6421,7 +6421,7 @@ function Rm(t, e) {
|
|
|
6421
6421
|
function a() {
|
|
6422
6422
|
var r = Date.now();
|
|
6423
6423
|
if (i) {
|
|
6424
|
-
if (r - o <
|
|
6424
|
+
if (r - o < Rm)
|
|
6425
6425
|
return;
|
|
6426
6426
|
n = !0;
|
|
6427
6427
|
} else
|
|
@@ -6434,7 +6434,7 @@ var Fm = 20, Um = ["top", "right", "bottom", "left", "width", "height", "size",
|
|
|
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 =
|
|
6437
|
+
this.connected_ = !1, this.mutationEventsAdded_ = !1, this.mutationsObserver_ = null, this.observers_ = [], this.onTransitionEnd_ = this.onTransitionEnd_.bind(this), this.refresh = Nm(this.refresh.bind(this), Fm);
|
|
6438
6438
|
}
|
|
6439
6439
|
return t.prototype.addObserver = function(e) {
|
|
6440
6440
|
~this.observers_.indexOf(e) || this.observers_.push(e), this.connected_ || this.connect_();
|
|
@@ -6483,7 +6483,7 @@ var Fm = 20, Um = ["top", "right", "bottom", "left", "width", "height", "size",
|
|
|
6483
6483
|
}, Xn = function(t) {
|
|
6484
6484
|
var e = t && t.ownerDocument && t.ownerDocument.defaultView;
|
|
6485
6485
|
return e || gs;
|
|
6486
|
-
}, jr =
|
|
6486
|
+
}, jr = Rs(0, 0, 0, 0);
|
|
6487
6487
|
function fs(t) {
|
|
6488
6488
|
return parseFloat(t) || 0;
|
|
6489
6489
|
}
|
|
@@ -6504,7 +6504,7 @@ function Ym(t) {
|
|
|
6504
6504
|
}
|
|
6505
6505
|
function Zm(t) {
|
|
6506
6506
|
var e = t.getBBox();
|
|
6507
|
-
return
|
|
6507
|
+
return Rs(0, 0, e.width, e.height);
|
|
6508
6508
|
}
|
|
6509
6509
|
function Km(t) {
|
|
6510
6510
|
var e = t.clientWidth, i = t.clientHeight;
|
|
@@ -6515,7 +6515,7 @@ function Km(t) {
|
|
|
6515
6515
|
var u = Math.round(a + s) - e, d = Math.round(r + l) - i;
|
|
6516
6516
|
Math.abs(u) !== 1 && (a -= u), Math.abs(d) !== 1 && (r -= d);
|
|
6517
6517
|
}
|
|
6518
|
-
return
|
|
6518
|
+
return Rs(o.left, o.top, a, r);
|
|
6519
6519
|
}
|
|
6520
6520
|
var Gm = /* @__PURE__ */ function() {
|
|
6521
6521
|
return typeof SVGGraphicsElement != "undefined" ? function(t) {
|
|
@@ -6543,14 +6543,14 @@ function Qm(t) {
|
|
|
6543
6543
|
left: e
|
|
6544
6544
|
}), l;
|
|
6545
6545
|
}
|
|
6546
|
-
function
|
|
6546
|
+
function Rs(t, e, i, n) {
|
|
6547
6547
|
return { x: t, y: e, width: i, height: n };
|
|
6548
6548
|
}
|
|
6549
6549
|
var $m = (
|
|
6550
6550
|
/** @class */
|
|
6551
6551
|
function() {
|
|
6552
6552
|
function t(e) {
|
|
6553
|
-
this.broadcastWidth = 0, this.broadcastHeight = 0, this.contentRect_ =
|
|
6553
|
+
this.broadcastWidth = 0, this.broadcastHeight = 0, this.contentRect_ = Rs(0, 0, 0, 0), this.target = e;
|
|
6554
6554
|
}
|
|
6555
6555
|
return t.prototype.isActive = function() {
|
|
6556
6556
|
var e = Xm(this.target);
|
|
@@ -7385,7 +7385,7 @@ class Dh extends Te {
|
|
|
7385
7385
|
this.$$set({ color: e }), c();
|
|
7386
7386
|
}
|
|
7387
7387
|
}
|
|
7388
|
-
const Ko = (t, e, i) => Ie(t, e, e === "style" ?
|
|
7388
|
+
const Ko = (t, e, i) => Ie(t, e, e === "style" ? Nh(i) : i), Rh = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Nh = (t) => t.split(Rh).filter((e) => e).map((e) => e + " !important").join(";");
|
|
7389
7389
|
function Fh(t) {
|
|
7390
7390
|
let e, i;
|
|
7391
7391
|
return e = new Dh({
|
|
@@ -8578,8 +8578,8 @@ class x0 extends Te {
|
|
|
8578
8578
|
this.$$set({ controlsOrder: e }), c();
|
|
8579
8579
|
}
|
|
8580
8580
|
}
|
|
8581
|
-
const Ki = (t, e, i) => Ie(t, e, e === "style" ?
|
|
8582
|
-
function
|
|
8581
|
+
const Ki = (t, e, i) => Ie(t, e, e === "style" ? R0(i) : i), D0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, R0 = (t) => t.split(D0).filter((e) => e).map((e) => e + " !important").join(";");
|
|
8582
|
+
function N0(t) {
|
|
8583
8583
|
let e, i, n, o;
|
|
8584
8584
|
return {
|
|
8585
8585
|
c() {
|
|
@@ -8623,7 +8623,7 @@ function F0(t, e, i) {
|
|
|
8623
8623
|
}
|
|
8624
8624
|
class U0 extends Te {
|
|
8625
8625
|
constructor(e) {
|
|
8626
|
-
super(), we(this, e, F0,
|
|
8626
|
+
super(), we(this, e, F0, N0, pe, { scale: 0, color: 1 });
|
|
8627
8627
|
}
|
|
8628
8628
|
get scale() {
|
|
8629
8629
|
return this.$$.ctx[0];
|
|
@@ -8779,7 +8779,7 @@ function Z0(t, e, i) {
|
|
|
8779
8779
|
g
|
|
8780
8780
|
];
|
|
8781
8781
|
}
|
|
8782
|
-
class
|
|
8782
|
+
class Rr extends Te {
|
|
8783
8783
|
constructor(e) {
|
|
8784
8784
|
super(), we(this, e, Z0, Y0, pe, {
|
|
8785
8785
|
downloadFormats: 7,
|
|
@@ -9226,7 +9226,7 @@ class y2 extends Te {
|
|
|
9226
9226
|
this.$$set({ color: e }), c();
|
|
9227
9227
|
}
|
|
9228
9228
|
}
|
|
9229
|
-
const
|
|
9229
|
+
const Nr = (t) => !t || t != null && t.startsWith("http") ? t : `https://${t}`, Bn = (t, e, i) => Ie(t, e, e === "style" ? b2(i) : i), v2 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, b2 = (t) => t.split(v2).filter((e) => e).map((e) => e + " !important").join(";");
|
|
9230
9230
|
function k2(t) {
|
|
9231
9231
|
let e, i, n, o, s;
|
|
9232
9232
|
return {
|
|
@@ -9320,7 +9320,7 @@ function p2(t, e, i) {
|
|
|
9320
9320
|
"href" in S && i(9, l = S.href), "scale" in S && i(10, a = S.scale), "color" in S && i(11, r = S.color), "playerStyle" in S && i(0, u = S.playerStyle), "controlsOrder" in S && i(1, d = S.controlsOrder), "largeImage" in S && i(2, g = S.largeImage), "isMobile" in S && i(3, f = S.isMobile), "endVisible" in S && i(4, A = S.endVisible), "onEvent" in S && i(12, _ = S.onEvent);
|
|
9321
9321
|
}, t.$$.update = () => {
|
|
9322
9322
|
t.$$.dirty & /*href*/
|
|
9323
|
-
512 && i(5, n =
|
|
9323
|
+
512 && i(5, n = Nr(l)), t.$$.dirty & /*hrefWithProtocol*/
|
|
9324
9324
|
32 && i(7, o = Lc(n)), t.$$.dirty & /*scale, color*/
|
|
9325
9325
|
3072 && i(6, s = `font-size: ${12 * a}px; color: ${r}; border-color: ${r}`);
|
|
9326
9326
|
}, [
|
|
@@ -9532,7 +9532,7 @@ class Fr extends Te {
|
|
|
9532
9532
|
this.$$set({ circular: e }), c();
|
|
9533
9533
|
}
|
|
9534
9534
|
}
|
|
9535
|
-
const Aa = (t, e, i) => Kt(t, e, i, 1),
|
|
9535
|
+
const Aa = (t, e, i) => Kt(t, e, i, 1), Rn = (t, e, i) => Ie(t, e, e === "style" ? B2(i) : i), V2 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, B2 = (t) => t.split(V2).filter((e) => e).map((e) => e + " !important").join(";");
|
|
9536
9536
|
function W2(t) {
|
|
9537
9537
|
let e;
|
|
9538
9538
|
return {
|
|
@@ -9565,15 +9565,15 @@ function M2(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"), Aa(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 M2(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*/
|
|
@@ -9663,7 +9663,7 @@ function z2(t, e, i) {
|
|
|
9663
9663
|
"href" in g && i(6, o = g.href), "scale" in g && i(0, s = g.scale), "color" in g && i(1, l = g.color), "playerStyle" in g && i(2, a = g.playerStyle), "controlsOrder" in g && i(3, r = g.controlsOrder), "onEvent" in g && i(7, u = g.onEvent);
|
|
9664
9664
|
}, t.$$.update = () => {
|
|
9665
9665
|
t.$$.dirty & /*href*/
|
|
9666
|
-
64 && i(4, n =
|
|
9666
|
+
64 && i(4, n = Nr(o));
|
|
9667
9667
|
}, [
|
|
9668
9668
|
s,
|
|
9669
9669
|
l,
|
|
@@ -9778,15 +9778,15 @@ function D2(t) {
|
|
|
9778
9778
|
}
|
|
9779
9779
|
};
|
|
9780
9780
|
}
|
|
9781
|
-
function
|
|
9781
|
+
function R2(t, e, i) {
|
|
9782
9782
|
let { scale: n = 1 } = e, { color1: o = "#933afb" } = e, { color2: s = "#fb3a41" } = e, l = `gradient-${Math.random()}`;
|
|
9783
9783
|
return t.$$set = (a) => {
|
|
9784
9784
|
"scale" in a && i(0, n = a.scale), "color1" in a && i(1, o = a.color1), "color2" in a && i(2, s = a.color2);
|
|
9785
9785
|
}, [n, o, s, l];
|
|
9786
9786
|
}
|
|
9787
|
-
class
|
|
9787
|
+
class N2 extends Te {
|
|
9788
9788
|
constructor(e) {
|
|
9789
|
-
super(), we(this, e,
|
|
9789
|
+
super(), we(this, e, R2, D2, pe, { scale: 0, color1: 1, color2: 2 });
|
|
9790
9790
|
}
|
|
9791
9791
|
get scale() {
|
|
9792
9792
|
return this.$$.ctx[0];
|
|
@@ -9810,7 +9810,7 @@ class R2 extends Te {
|
|
|
9810
9810
|
const ya = (t, e, i) => Kt(t, e, i, 1), $o = (t, e, i) => Ie(t, e, e === "style" ? U2(i) : i), F2 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, U2 = (t) => t.split(F2).filter((e) => e).map((e) => e + " !important").join(";");
|
|
9811
9811
|
function H2(t) {
|
|
9812
9812
|
let e, i, n, o, s;
|
|
9813
|
-
return i = new
|
|
9813
|
+
return i = new N2({ props: { scale: (
|
|
9814
9814
|
/*scale*/
|
|
9815
9815
|
t[0]
|
|
9816
9816
|
) } }), {
|
|
@@ -10004,7 +10004,7 @@ function $2(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 $2(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 e_(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 e_(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 ms = (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) => Kt(t, e, i, 1), Ai = (t, e, i) => Ie(t, e, e === "style" ? f_(i) : i), g_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, f_ = (t) => t.split(g_).filter((e) => e).map((e) => e + " !important").join(";");
|
|
10532
10532
|
function m_(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 m_(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*/
|
|
@@ -11391,7 +11391,7 @@ class qr extends Te {
|
|
|
11391
11391
|
}
|
|
11392
11392
|
}
|
|
11393
11393
|
const os = (t, e, i) => Kt(t, e, i, 1), j_ = (t, e, i) => Ie(t, e, e === "style" ? D_(i) : i), x_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, D_ = (t) => t.split(x_).filter((e) => e).map((e) => e + " !important").join(";");
|
|
11394
|
-
function
|
|
11394
|
+
function R_(t) {
|
|
11395
11395
|
let e, i = qn(
|
|
11396
11396
|
/*currentTime*/
|
|
11397
11397
|
t[0]
|
|
@@ -11438,7 +11438,7 @@ function N_(t) {
|
|
|
11438
11438
|
}
|
|
11439
11439
|
};
|
|
11440
11440
|
}
|
|
11441
|
-
function
|
|
11441
|
+
function N_(t, e, i) {
|
|
11442
11442
|
let { currentTime: n = 0 } = e, { duration: o = 0 } = e, { scale: s = 1 } = e, { color: l = "#323232" } = e;
|
|
11443
11443
|
return t.$$set = (a) => {
|
|
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);
|
|
@@ -11446,7 +11446,7 @@ function R_(t, e, i) {
|
|
|
11446
11446
|
}
|
|
11447
11447
|
class F_ extends Te {
|
|
11448
11448
|
constructor(e) {
|
|
11449
|
-
super(), we(this, e,
|
|
11449
|
+
super(), we(this, e, N_, R_, pe, {
|
|
11450
11450
|
currentTime: 0,
|
|
11451
11451
|
duration: 1,
|
|
11452
11452
|
scale: 2,
|
|
@@ -12118,7 +12118,7 @@ function ba(t) {
|
|
|
12118
12118
|
return (
|
|
12119
12119
|
/*downloadIsVisible*/
|
|
12120
12120
|
t[9] !== void 0 && (Z.isVisible = /*downloadIsVisible*/
|
|
12121
|
-
t[9]), _ = new
|
|
12121
|
+
t[9]), _ = new Rr({ props: Z }), se.push(() => be(_, "isVisible", C)), {
|
|
12122
12122
|
c() {
|
|
12123
12123
|
e = y("div"), i = y("button"), o.c(), s = J(), l = y("span"), me(a.$$.fragment), r = J(), u = y("span"), me(d.$$.fragment), f = J(), A = y("span"), me(_.$$.fragment), S = J(), vi(l, "class", "title svelte-1hl1xir"), ne(
|
|
12124
12124
|
l,
|
|
@@ -12667,21 +12667,21 @@ function yA(t, e, i) {
|
|
|
12667
12667
|
let { $$slots: n = {}, $$scope: o } = e, s, { enabled: l = !1 } = e, { relativeY: a = void 0 } = e, { absoluteY: r = void 0 } = e, { isVisible: u = void 0 } = e, { onEvent: d = () => {
|
|
12668
12668
|
} } = e;
|
|
12669
12669
|
const g = ([A]) => {
|
|
12670
|
-
i(1, a = A.boundingClientRect.y), i(2, r = a + window.scrollY), u !== A.isIntersecting && (i(3, u = A.isIntersecting), d(ke({
|
|
12670
|
+
l && (i(1, a = A.boundingClientRect.y), i(2, r = a + window.scrollY), u !== A.isIntersecting && (i(3, u = A.isIntersecting), d(ke({
|
|
12671
12671
|
type: "VisibilityChanged",
|
|
12672
12672
|
description: "The player was scrolled into or out of view.",
|
|
12673
12673
|
initiatedBy: "user",
|
|
12674
12674
|
isVisible: u
|
|
12675
|
-
})));
|
|
12675
|
+
}))));
|
|
12676
12676
|
};
|
|
12677
12677
|
Wo(() => {
|
|
12678
|
-
if (
|
|
12678
|
+
if (typeof IntersectionObserver == "undefined")
|
|
12679
12679
|
return;
|
|
12680
12680
|
const A = new IntersectionObserver(g, { threshold: 0.5 });
|
|
12681
12681
|
return A.observe(s), () => {
|
|
12682
12682
|
A.unobserve(s), g([
|
|
12683
12683
|
{
|
|
12684
|
-
isIntersecting: !
|
|
12684
|
+
isIntersecting: !1,
|
|
12685
12685
|
boundingClientRect: { y: 1 / 0 }
|
|
12686
12686
|
}
|
|
12687
12687
|
]);
|
|
@@ -13601,7 +13601,7 @@ function Ma(t) {
|
|
|
13601
13601
|
function IA(t) {
|
|
13602
13602
|
var n, o;
|
|
13603
13603
|
let e, i;
|
|
13604
|
-
return e = new
|
|
13604
|
+
return e = new Rr({
|
|
13605
13605
|
props: {
|
|
13606
13606
|
onEvent: (
|
|
13607
13607
|
/*onEvent*/
|
|
@@ -14290,22 +14290,22 @@ function EA(t) {
|
|
|
14290
14290
|
8 && V(q, 1)) : (q = Ca(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*/
|
|
@@ -14674,9 +14674,9 @@ function zA(t) {
|
|
|
14674
14674
|
};
|
|
14675
14675
|
}
|
|
14676
14676
|
function LA(t, e, i) {
|
|
14677
|
-
let n, o, s, l, a, r, u, d, 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, d, 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, Be, Le, Qe, j, he, ze, Ne, Ge;
|
|
14678
14678
|
import("./././././././././style.js");
|
|
14679
|
-
let { playerStyle: Me = "standard" } = e, { callToAction: nt = void 0 } = e, { skipButtonStyle: Ce = "auto" } = e, { playlistStyle: Je = "auto-5-4" } = e, { playlistToggle: Se = "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: Ce = "auto" } = e, { playlistStyle: Je = "auto-5-4" } = e, { playlistToggle: Se = "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 LA(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, Ce = K.skipButtonStyle), "playlistStyle" in K && i(5, Je = K.playlistStyle), "playlistToggle" in K && i(69, Se = 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, Ce = K.skipButtonStyle), "playlistStyle" in K && i(5, Je = K.playlistStyle), "playlistToggle" in K && i(69, Se = 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 LA(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 && xm(K, { y: n || o ? 40 : 100 })), t.$$.dirty[0] & /*fixedMargin*/
|
|
14763
|
-
1024 && i(88, ue = Vr(
|
|
14763
|
+
1024 && i(88, ue = Vr(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 LA(t, e, i) {
|
|
|
14779
14779
|
9 | t.$$.dirty[2] & /*persistentAdvert*/
|
|
14780
14780
|
2048 && i(49, w = d && 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 LA(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 = (Se === "show" || Se === "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 LA(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 LA(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,
|
|
@@ -15223,7 +15223,7 @@ function DA(t) {
|
|
|
15223
15223
|
}
|
|
15224
15224
|
};
|
|
15225
15225
|
}
|
|
15226
|
-
function
|
|
15226
|
+
function RA(t, e, i) {
|
|
15227
15227
|
let n, { $$slots: o = {}, $$scope: s } = e, { root: l = void 0 } = e, { prepend: a = !1 } = e, r, u;
|
|
15228
15228
|
Wo(() => i(3, u = r.parentNode));
|
|
15229
15229
|
const d = (A, _) => A.insertBefore(_, A.firstChild), g = (A, _) => A.appendChild(_);
|
|
@@ -15242,9 +15242,9 @@ function NA(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 Ns extends Te {
|
|
15246
15246
|
constructor(e) {
|
|
15247
|
-
super(), we(this, e,
|
|
15247
|
+
super(), we(this, e, RA, DA, pe, { root: 0, prepend: 2 });
|
|
15248
15248
|
}
|
|
15249
15249
|
get root() {
|
|
15250
15250
|
return this.$$.ctx[0];
|
|
@@ -15259,7 +15259,7 @@ class Rs extends Te {
|
|
|
15259
15259
|
this.$$set({ prepend: e }), c();
|
|
15260
15260
|
}
|
|
15261
15261
|
}
|
|
15262
|
-
const W = (t, e, i) => Ie(t, e, e === "style" ? FA(i) : i),
|
|
15262
|
+
const W = (t, e, i) => Ie(t, e, e === "style" ? FA(i) : i), NA = /;(?!([^()]*\([^()]*\))*[^()]*\))/, FA = (t) => t.split(NA).filter((e) => e).map((e) => e + " !important").join(";");
|
|
15263
15263
|
function xa(t, e, i) {
|
|
15264
15264
|
const n = t.slice();
|
|
15265
15265
|
return n[92] = e[i], n[94] = i, n;
|
|
@@ -15268,7 +15268,7 @@ function Da(t, e, i) {
|
|
|
15268
15268
|
const n = t.slice();
|
|
15269
15269
|
return n[92] = e[i], n[94] = i, n;
|
|
15270
15270
|
}
|
|
15271
|
-
function
|
|
15271
|
+
function Ra(t, e, i) {
|
|
15272
15272
|
const n = t.slice();
|
|
15273
15273
|
return n[92] = e[i], n[94] = i, n;
|
|
15274
15274
|
}
|
|
@@ -15276,7 +15276,7 @@ function UA(t, e, i) {
|
|
|
15276
15276
|
const n = t.slice();
|
|
15277
15277
|
return n[97] = e[i], n;
|
|
15278
15278
|
}
|
|
15279
|
-
function
|
|
15279
|
+
function Na(t, e, i) {
|
|
15280
15280
|
const n = t.slice();
|
|
15281
15281
|
return n[92] = e[i], n[94] = i, n;
|
|
15282
15282
|
}
|
|
@@ -15324,24 +15324,24 @@ function HA(t) {
|
|
|
15324
15324
|
};
|
|
15325
15325
|
}
|
|
15326
15326
|
function Ua(t) {
|
|
15327
|
-
let e, i, n, o, s, l, a, r, u, d, 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,
|
|
15327
|
+
let e, i, n, o, s, l, a, r, u, d, 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, Be, Le, Qe, j, he, ze, Ne, Ge, Me, nt, Ce, Je, Se, 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, F, ut, te, I, B, le, K, jt, dn, Et, Ti, ri, ui, qt, fi, ki, Gt, 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] = Ha(Ra(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] = qa(Da(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] = Ya(xa(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 Ua(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"), Be = 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
|
`), Ce = 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(), Se = 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 Ua(t) {
|
|
|
15374
15374
|
`), it = y("select"), He = y("option"), He.textContent = `${!1}`, ht = y("option"), ht.textContent = `${!0}`, Tt = J(), F = 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
|
-
`), Gt = y("input"),
|
|
15377
|
+
`), Gt = y("input"), Nt = J(), Ci = y("div"), zi = ie(`analyticsTag:
|
|
15378
15378
|
`), ci = y("input"), W(n, "class", "svelte-1a8td5m"), W(d, "tabindex", -1), W(d, "type", "text"), W(d, "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 Ua(t) {
|
|
|
15413
15413
|
t[86].call(Et)
|
|
15414
15414
|
)), W(jt, "class", "control svelte-1a8td5m"), W(Gt, "tabindex", -1), W(Gt, "type", "text"), W(Gt, "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, d), H(
|
|
15418
15418
|
d,
|
|
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, Be, 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, Ce);
|
|
15456
15456
|
for (let fe = 0; fe < Ct.length; fe += 1)
|
|
15457
15457
|
Ct[fe] && Ct[fe].m(Ce, null);
|
|
15458
15458
|
We(
|
|
@@ -15460,7 +15460,7 @@ function Ua(t) {
|
|
|
15460
15460
|
/*contentIndex*/
|
|
15461
15461
|
t[13],
|
|
15462
15462
|
!0
|
|
15463
|
-
), E(
|
|
15463
|
+
), E(R, Je, G), E(R, Se, G), h(Se, Lt), h(Se, 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 Ua(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 Ua(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, F, G), h(F, ut), h(F, 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, Gt), H(
|
|
15516
15516
|
Gt,
|
|
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 Ua(t) {
|
|
|
15655
15655
|
)
|
|
15656
15656
|
], Ft = !0);
|
|
15657
15657
|
},
|
|
15658
|
-
p(
|
|
15658
|
+
p(R, G) {
|
|
15659
15659
|
if (G[0] & /*projectId*/
|
|
15660
15660
|
1 && d.value !== /*projectId*/
|
|
15661
|
-
|
|
15661
|
+
R[0] && H(
|
|
15662
15662
|
d,
|
|
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 =
|
|
15719
|
+
const Ht = Ra(R, ni, fe);
|
|
15720
15720
|
Ct[fe] ? Ct[fe].p(Ht, G) : (Ct[fe] = Ha(Ht), Ct[fe].c(), Ct[fe].m(Ce, null));
|
|
15721
15721
|
}
|
|
15722
15722
|
for (; fe < Ct.length; fe += 1)
|
|
@@ -15727,16 +15727,16 @@ function Ua(t) {
|
|
|
15727
15727
|
8192 && We(
|
|
15728
15728
|
Ce,
|
|
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 = Da(
|
|
15739
|
+
const Ht = Da(R, oi, fe);
|
|
15740
15740
|
It[fe] ? It[fe].p(Ht, G) : (It[fe] = qa(Ht), It[fe].c(), It[fe].m(Ee, null));
|
|
15741
15741
|
}
|
|
15742
15742
|
for (; fe < It.length; fe += 1)
|
|
@@ -15747,21 +15747,21 @@ function Ua(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 = xa(
|
|
15764
|
+
const Ht = xa(R, Oi, fe);
|
|
15765
15765
|
Wt[fe] ? Wt[fe].p(Ht, G) : (Wt[fe] = Ya(Ht), Wt[fe].c(), Wt[fe].m(Ze, null));
|
|
15766
15766
|
}
|
|
15767
15767
|
for (; fe < Wt.length; fe += 1)
|
|
@@ -15772,62 +15772,62 @@ function Ua(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 && Gt.value !== /*analyticsCustomUrl*/
|
|
15817
|
-
|
|
15817
|
+
R[40] && H(
|
|
15818
15818
|
Gt,
|
|
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(Be), M(Le), M(Ge), M(Me), M(Je), M(Se), 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(F), 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,12 +15950,12 @@ function YA(t) {
|
|
|
15950
15950
|
};
|
|
15951
15951
|
}
|
|
15952
15952
|
function ZA(t) {
|
|
15953
|
-
let e, i, n, o, s, l, a, r, u, d, 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, d, 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, Be, Le, Qe, j, he, ze, Ne, Ge, Me, nt, Ce, Je, Se, 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, F, ut, te, I, B, le, K, jt, dn, Et, Ti, ri, ui, qt, fi, ki, Gt, Nt, Ci, zi, ci, Ft, Ii, ni, Ct, oi, It, Oi, Wt, R, G, fe, Ht, Li, Ni, gn, Eo, In, zo, di, fn, mn, hn, _n, An, Lo, On, jo, ji, xo, no, Do, Ro, $i, oo, en, so, No, yn = ti(
|
|
15954
15954
|
/*adverts*/
|
|
15955
15955
|
t[45]
|
|
15956
15956
|
), Jt = [];
|
|
15957
15957
|
for (let _e = 0; _e < yn.length; _e += 1)
|
|
15958
|
-
Jt[_e] = Fa(
|
|
15958
|
+
Jt[_e] = Fa(Na(t, yn, _e));
|
|
15959
15959
|
let Fs = 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
15961
|
Vn[_e] = HA(UA(t, Fs, _e));
|
|
@@ -15977,13 +15977,13 @@ function ZA(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
|
-
`), Be = 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
|
+
`), Be = 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"), Ce = y("option"), Ce.textContent = "auto", Je = y("option"), Je.textContent = "show", Se = y("option"), Se.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 < Jt.length; _e += 1)
|
|
15985
15985
|
Jt[_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,14 +15991,14 @@ function ZA(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"), Gt = 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", Eo = J(), In = y("div"), zo = 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", Lo = J(), On = y("div"), jo = ie(`segmentWidgetPosition:
|
|
15998
15998
|
`), ji = y("select");
|
|
15999
15999
|
for (let _e = 0; _e < 12; _e += 1)
|
|
16000
16000
|
Vn[_e].c();
|
|
16001
|
-
xo = J(), si && si.c(), no = J(), Do = y("br"),
|
|
16001
|
+
xo = J(), si && si.c(), no = J(), Do = y("br"), Ro = J(), $i = y("div"), Vi.c(), oo = J(), en = y("a"), en.textContent = "close", W(i, "class", "heading svelte-1a8td5m"), u.__value = "small", H(u, u.__value), d.__value = "standard", H(d, d.__value), g.__value = "large", H(g, g.__value), f.__value = "video", H(f, f.__value), W(r, "tabindex", -1), W(r, "class", "svelte-1a8td5m"), /*playerStyle*/
|
|
16002
16002
|
t[6] === void 0 && dt(() => (
|
|
16003
16003
|
/*select0_change_handler*/
|
|
16004
16004
|
t[47].call(r)
|
|
@@ -16014,7 +16014,7 @@ function ZA(t) {
|
|
|
16014
16014
|
t[10] === void 0 && dt(() => (
|
|
16015
16015
|
/*select3_change_handler*/
|
|
16016
16016
|
t[52].call(Be)
|
|
16017
|
-
)), W(
|
|
16017
|
+
)), W(N, "class", "control svelte-1a8td5m"), Ce.__value = "auto", H(Ce, Ce.__value), Je.__value = "show", H(Je, Je.__value), Se.__value = "hide", H(Se, Se.__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 ZA(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 ZA(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, Be), h(Be, Le), h(Be, Qe), h(Be, j), h(Be, he), h(Be, ze), We(
|
|
16084
16084
|
Be,
|
|
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, Ce), h(nt, Je), h(nt, Se), We(
|
|
16089
16089
|
nt,
|
|
16090
16090
|
/*playlistToggle*/
|
|
16091
16091
|
t[11],
|
|
@@ -16098,7 +16098,7 @@ function ZA(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 ZA(t) {
|
|
|
16130
16130
|
qt,
|
|
16131
16131
|
/*iconColor*/
|
|
16132
16132
|
t[29]
|
|
16133
|
-
), h(e, fi), h(e, ki), h(ki, Gt), h(ki,
|
|
16134
|
-
|
|
16133
|
+
), h(e, fi), h(e, ki), h(ki, Gt), 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 ZA(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 ZA(t) {
|
|
|
16157
16157
|
/*segmentWidgetPosition*/
|
|
16158
16158
|
t[37],
|
|
16159
16159
|
!0
|
|
16160
|
-
), h(e, xo), si && si.m(e, null), h(e, no), h(e, Do), h(e,
|
|
16160
|
+
), h(e, xo), si && si.m(e, null), h(e, no), h(e, Do), h(e, Ro), h(e, $i), Vi.m($i, null), h($i, oo), h($i, en), so || (No = [
|
|
16161
16161
|
Y(
|
|
16162
16162
|
r,
|
|
16163
16163
|
"change",
|
|
@@ -16249,7 +16249,7 @@ function ZA(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]
|
|
@@ -16332,7 +16332,7 @@ function ZA(t) {
|
|
|
16332
16332
|
);
|
|
16333
16333
|
let Mt;
|
|
16334
16334
|
for (Mt = 0; Mt < yn.length; Mt += 1) {
|
|
16335
|
-
const Uo =
|
|
16335
|
+
const Uo = Na(_e, yn, Mt);
|
|
16336
16336
|
Jt[Mt] ? Jt[Mt].p(Uo, ct) : (Jt[Mt] = Fa(Uo), Jt[Mt].c(), Jt[Mt].m(Oe, null));
|
|
16337
16337
|
}
|
|
16338
16338
|
for (; Mt < Jt.length; Mt += 1)
|
|
@@ -16383,9 +16383,9 @@ function ZA(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*/
|
|
@@ -16414,13 +16414,13 @@ function ZA(t) {
|
|
|
16414
16414
|
i: Q,
|
|
16415
16415
|
o: Q,
|
|
16416
16416
|
d(_e) {
|
|
16417
|
-
_e && M(e), Cn(Jt, _e), Cn(Vn, _e), si && si.d(), Vi.d(), so = !1, _t(
|
|
16417
|
+
_e && M(e), Cn(Jt, _e), Cn(Vn, _e), si && si.d(), Vi.d(), so = !1, _t(No);
|
|
16418
16418
|
}
|
|
16419
16419
|
};
|
|
16420
16420
|
}
|
|
16421
16421
|
function KA(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: d } = 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: d } = 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: Be } = 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
|
d = zt(this), i(6, d);
|
|
16426
16426
|
}
|
|
@@ -16448,7 +16448,7 @@ function KA(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 KA(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 KA(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 F() {
|
|
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, d = 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, d = 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, Be = 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 KA(t, e, i) {
|
|
|
16583
16583
|
re,
|
|
16584
16584
|
b,
|
|
16585
16585
|
w,
|
|
16586
|
-
|
|
16586
|
+
N,
|
|
16587
16587
|
L,
|
|
16588
16588
|
Be,
|
|
16589
16589
|
Le,
|
|
@@ -16591,7 +16591,7 @@ function KA(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 KA(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 l3(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
|
}), Be = 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 l3(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) => JA(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) => e3(Be[he], j, j))), t.$$.dirty[0] & /*svgArtworks*/
|
|
@@ -17269,7 +17269,7 @@ function l3(t, e, i) {
|
|
|
17269
17269
|
re,
|
|
17270
17270
|
b,
|
|
17271
17271
|
w,
|
|
17272
|
-
|
|
17272
|
+
N,
|
|
17273
17273
|
Be,
|
|
17274
17274
|
g,
|
|
17275
17275
|
u,
|
|
@@ -17393,7 +17393,7 @@ function Ja(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]) || Ga(e, "src", i);
|
|
17398
17398
|
},
|
|
17399
17399
|
m(s, l) {
|
|
@@ -17401,7 +17401,7 @@ function Ja(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]) && Ga(e, "src", i);
|
|
17406
17406
|
},
|
|
17407
17407
|
d(s) {
|
|
@@ -17452,7 +17452,7 @@ function Qa(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]) || Xa(e, "src", i);
|
|
17457
17457
|
},
|
|
17458
17458
|
m(n, o) {
|
|
@@ -17460,7 +17460,7 @@ function Qa(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]) && Xa(e, "src", i);
|
|
17465
17465
|
},
|
|
17466
17466
|
d(n) {
|
|
@@ -18158,7 +18158,7 @@ function nr(t) {
|
|
|
18158
18158
|
}
|
|
18159
18159
|
function or(t) {
|
|
18160
18160
|
let e, i;
|
|
18161
|
-
return e = new
|
|
18161
|
+
return e = new Ns({
|
|
18162
18162
|
props: {
|
|
18163
18163
|
root: (
|
|
18164
18164
|
/*widgetTarget*/
|
|
@@ -18549,7 +18549,7 @@ function B3(t) {
|
|
|
18549
18549
|
}
|
|
18550
18550
|
function sr(t, e) {
|
|
18551
18551
|
let i, n, o;
|
|
18552
|
-
return n = new
|
|
18552
|
+
return n = new Ns({
|
|
18553
18553
|
props: {
|
|
18554
18554
|
root: (
|
|
18555
18555
|
/*root*/
|
|
@@ -18591,7 +18591,7 @@ function sr(t, e) {
|
|
|
18591
18591
|
}
|
|
18592
18592
|
function lr(t) {
|
|
18593
18593
|
let e, i;
|
|
18594
|
-
return e = new
|
|
18594
|
+
return e = new Ns({
|
|
18595
18595
|
props: {
|
|
18596
18596
|
root: (
|
|
18597
18597
|
/*controlPanel*/
|
|
@@ -18628,7 +18628,7 @@ function lr(t) {
|
|
|
18628
18628
|
};
|
|
18629
18629
|
}
|
|
18630
18630
|
function W3(t) {
|
|
18631
|
-
let e, i, n, o, s, l, a, r, u, d, 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, d, 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, Be, Le, Qe, j, he, ze, Ne;
|
|
18632
18632
|
function Ge(I) {
|
|
18633
18633
|
t[132](I);
|
|
18634
18634
|
}
|
|
@@ -18662,7 +18662,7 @@ function W3(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 W3(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 GA({ 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", Ce)), se.push(() => be(e, "sourceId", Je)), se.push(() => be(e, "sourceUrl", Se)), 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 GA({ 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", Ce)), se.push(() => be(e, "sourceId", Je)), se.push(() => be(e, "sourceUrl", Se)), 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", F)), 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 W3(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)), !Be && B[0] & /*currentSegment*/
|
|
18966
18966
|
1048576 && (Be = !0, le.currentSegment = /*currentSegment*/
|
|
@@ -18977,10 +18977,10 @@ function W3(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 ur(t) {
|
|
|
19132
19132
|
}
|
|
19133
19133
|
function M3(t) {
|
|
19134
19134
|
let e, i, n, o, s = [], l = /* @__PURE__ */ new Map(), a, r, u, d, g, f, A;
|
|
19135
|
-
e = new
|
|
19135
|
+
e = new Ns({
|
|
19136
19136
|
props: {
|
|
19137
19137
|
prepend: !0,
|
|
19138
19138
|
root: (
|
|
@@ -19250,11 +19250,11 @@ function M3(t) {
|
|
|
19250
19250
|
};
|
|
19251
19251
|
}
|
|
19252
19252
|
function E3(t, e, i) {
|
|
19253
|
-
let n, o, s, l, a, r, u, d, 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, d, 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: Be = !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: Ce = void 0 } = e, { mediaSession: Je = "auto" } = e, { content: Se = [] } = 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: F = "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: Gt = 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: Gt = 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 yl((m) => i(51, G = m)) } = e, { segmentClickables: Ht = new _l() } = e, { segmentHighlights: Li = new vl() } = e;
|
|
19257
|
+
const Ni = (m) => Nt.processEvent(Yt({ emittedFrom: x }, m)), gn = () => i(113, D = it);
|
|
19258
19258
|
function Eo(m) {
|
|
19259
19259
|
se[m ? "unshift" : "push"](() => {
|
|
19260
19260
|
fi = m, i(47, fi);
|
|
@@ -19273,7 +19273,7 @@ function E3(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 E3(t, e, i) {
|
|
|
19288
19288
|
Gt = m, i(49, Gt);
|
|
19289
19289
|
});
|
|
19290
19290
|
}
|
|
19291
|
-
const Lo = (m) =>
|
|
19291
|
+
const Lo = (m) => Ni(Fi(Yt({}, m), {
|
|
19292
19292
|
emittedFrom: "segment-widget",
|
|
19293
19293
|
widgetSegment: ae,
|
|
19294
19294
|
widgetIsCurrent: $
|
|
@@ -19311,7 +19311,7 @@ function E3(t, e, i) {
|
|
|
19311
19311
|
function Do(m) {
|
|
19312
19312
|
b = m, i(4, b);
|
|
19313
19313
|
}
|
|
19314
|
-
function
|
|
19314
|
+
function Ro(m) {
|
|
19315
19315
|
Le = m, i(5, Le);
|
|
19316
19316
|
}
|
|
19317
19317
|
function $i(m) {
|
|
@@ -19324,9 +19324,9 @@ function E3(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 No(m) {
|
|
19330
19330
|
Ge = m, i(29, Ge);
|
|
19331
19331
|
}
|
|
19332
19332
|
function yn(m) {
|
|
@@ -19401,10 +19401,10 @@ function E3(t, e, i) {
|
|
|
19401
19401
|
function Du(m) {
|
|
19402
19402
|
kt = m, i(16, kt);
|
|
19403
19403
|
}
|
|
19404
|
-
function
|
|
19404
|
+
function Ru(m) {
|
|
19405
19405
|
Ke = m, i(17, Ke);
|
|
19406
19406
|
}
|
|
19407
|
-
function
|
|
19407
|
+
function Nu(m) {
|
|
19408
19408
|
rt = m, i(18, rt);
|
|
19409
19409
|
}
|
|
19410
19410
|
function Fu(m) {
|
|
@@ -19429,7 +19429,7 @@ function E3(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, Be = 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, Ce = m.durationFormat), "mediaSession" in m && i(31, Je = m.mediaSession), "content" in m && i(54, Se = 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, F = 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, Gt = 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 E3(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 E3(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(v3()), 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 E3(t, e, i) {
|
|
|
19502
19502
|
2326528 | t.$$.dirty[3] & /*segmentHighlights*/
|
|
19503
19503
|
262144 && Li.update("hovered", it, [kt, Ke], wt), t.$$.dirty[0] & /*currentTime*/
|
|
19504
19504
|
2048 | t.$$.dirty[3] & /*transitions, controller*/
|
|
19505
|
-
1088 && b3(K,
|
|
19505
|
+
1088 && b3(K, Nt, mt);
|
|
19506
19506
|
}, [
|
|
19507
19507
|
Ae,
|
|
19508
19508
|
ce,
|
|
@@ -19532,7 +19532,7 @@ function E3(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 E3(t, e, i) {
|
|
|
19554
19554
|
fi,
|
|
19555
19555
|
ki,
|
|
19556
19556
|
Gt,
|
|
19557
|
-
|
|
19557
|
+
R,
|
|
19558
19558
|
G,
|
|
19559
19559
|
nt,
|
|
19560
19560
|
Ce,
|
|
@@ -19571,7 +19571,7 @@ function E3(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 E3(t, e, i) {
|
|
|
19592
19592
|
l,
|
|
19593
19593
|
ue,
|
|
19594
19594
|
w,
|
|
19595
|
-
|
|
19595
|
+
N,
|
|
19596
19596
|
Be,
|
|
19597
19597
|
Qe,
|
|
19598
|
-
|
|
19598
|
+
Rt,
|
|
19599
19599
|
xe,
|
|
19600
19600
|
St,
|
|
19601
19601
|
He,
|
|
@@ -19607,7 +19607,7 @@ function E3(t, e, i) {
|
|
|
19607
19607
|
dn,
|
|
19608
19608
|
Et,
|
|
19609
19609
|
Ti,
|
|
19610
|
-
|
|
19610
|
+
Nt,
|
|
19611
19611
|
zi,
|
|
19612
19612
|
ci,
|
|
19613
19613
|
oi,
|
|
@@ -19642,12 +19642,12 @@ function E3(t, e, i) {
|
|
|
19642
19642
|
xo,
|
|
19643
19643
|
no,
|
|
19644
19644
|
Do,
|
|
19645
|
-
|
|
19645
|
+
Ro,
|
|
19646
19646
|
$i,
|
|
19647
19647
|
oo,
|
|
19648
19648
|
en,
|
|
19649
19649
|
so,
|
|
19650
|
-
|
|
19650
|
+
No,
|
|
19651
19651
|
yn,
|
|
19652
19652
|
Jt,
|
|
19653
19653
|
Fs,
|
|
@@ -19672,8 +19672,8 @@ function E3(t, e, i) {
|
|
|
19672
19672
|
ju,
|
|
19673
19673
|
xu,
|
|
19674
19674
|
Du,
|
|
19675
|
-
Nu,
|
|
19676
19675
|
Ru,
|
|
19676
|
+
Nu,
|
|
19677
19677
|
Fu,
|
|
19678
19678
|
Uu,
|
|
19679
19679
|
Hu,
|
|
@@ -20398,22 +20398,22 @@ const Pl = (t) => typeof t != "object" || t === null ? t : Array.isArray(t) ? t.
|
|
|
20398
20398
|
const e = new j3(t.playerApiUrl, t.projectId, t.contentVariant, t.clientSideEnabled, t.previewToken);
|
|
20399
20399
|
if (!t.playerApiUrl || !t.projectId)
|
|
20400
20400
|
return;
|
|
20401
|
-
const i =
|
|
20401
|
+
const i = R3(t);
|
|
20402
20402
|
if (i.length === 0) {
|
|
20403
20403
|
t.sourceUrl = window.location.href;
|
|
20404
20404
|
return;
|
|
20405
20405
|
}
|
|
20406
|
-
const n = yield
|
|
20406
|
+
const n = yield N3(e, i).catch(() => {
|
|
20407
20407
|
});
|
|
20408
20408
|
if (!(n != null && n.content)) {
|
|
20409
20409
|
F3(t);
|
|
20410
20410
|
return;
|
|
20411
20411
|
}
|
|
20412
20412
|
H3(t, n), U3(t);
|
|
20413
|
-
}),
|
|
20413
|
+
}), R3 = (t) => {
|
|
20414
20414
|
const e = [];
|
|
20415
20415
|
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);
|
|
20416
|
-
},
|
|
20416
|
+
}, N3 = (t, e) => {
|
|
20417
20417
|
const i = e[0];
|
|
20418
20418
|
if (e.length > 1)
|
|
20419
20419
|
return t.byIdentifiers(e);
|
|
@@ -21175,7 +21175,7 @@ const My = (t) => {
|
|
|
21175
21175
|
}));
|
|
21176
21176
|
}, Ly = (t) => {
|
|
21177
21177
|
for (const { p: e, player: i, segment: n, contentIndex: o, segmentIndex: s, segmentElement: l, precedence: a } of Er(t.target))
|
|
21178
|
-
jy(e, o, s) && i.onEvent(ke({
|
|
21178
|
+
jy() || xy(e, o, s) && i.onEvent(ke({
|
|
21179
21179
|
type: "HoveredSegmentUpdated",
|
|
21180
21180
|
description: "The user hovered over a different segment in the article.",
|
|
21181
21181
|
initiatedBy: "user",
|
|
@@ -21186,7 +21186,7 @@ const My = (t) => {
|
|
|
21186
21186
|
segmentElement: l,
|
|
21187
21187
|
precedence: a
|
|
21188
21188
|
}));
|
|
21189
|
-
}, ls = {},
|
|
21189
|
+
}, jy = () => typeof getSelection != "undefined" && getSelection().toString() !== "", ls = {}, xy = (t, e, i) => {
|
|
21190
21190
|
ls[t] || (ls[t] = {});
|
|
21191
21191
|
const n = ls[t];
|
|
21192
21192
|
return n.contentIndex === e && n.segmentIndex === i ? !1 : (n.contentIndex = e, n.segmentIndex = i, !0);
|
|
@@ -21202,18 +21202,18 @@ class ol {
|
|
|
21202
21202
|
window.gtag("event", e, Fi(Yt({}, i), { send_to: this.analyticsSink }));
|
|
21203
21203
|
}
|
|
21204
21204
|
}
|
|
21205
|
-
const
|
|
21206
|
-
const i =
|
|
21205
|
+
const Dy = (t, e) => {
|
|
21206
|
+
const i = Ry(t, e.type);
|
|
21207
21207
|
if (!i)
|
|
21208
21208
|
return;
|
|
21209
21209
|
const n = Ny(t, i);
|
|
21210
|
-
Ec(n), t.analyticsUrl && t.analyticsConsent !== "none" && new ol(t.analyticsUrl).sendToCustomAnalytics(n), t.analyticsCustomUrl && t.analyticsConsent !== "none" && new ol(t.analyticsCustomUrl).sendToCustomAnalytics(n), t.analyticsTag && new ol(t.analyticsTag).sendToGoogleAnalytics(
|
|
21211
|
-
},
|
|
21210
|
+
Ec(n), t.analyticsUrl && t.analyticsConsent !== "none" && new ol(t.analyticsUrl).sendToCustomAnalytics(n), t.analyticsCustomUrl && t.analyticsConsent !== "none" && new ol(t.analyticsCustomUrl).sendToCustomAnalytics(n), t.analyticsTag && new ol(t.analyticsTag).sendToGoogleAnalytics(Fy(n), n);
|
|
21211
|
+
}, Ry = (t, e) => {
|
|
21212
21212
|
if (e === "ContentAvailable" && !t.listenSessionId)
|
|
21213
21213
|
return "load";
|
|
21214
|
-
if (e === "PlaybackPlaying" &&
|
|
21214
|
+
if (e === "PlaybackPlaying" && Uy(t) && (t.isNewListen = !0), e === "CurrentTimeUpdated" && t.isNewListen)
|
|
21215
21215
|
return t.isNewListen = !1, "play";
|
|
21216
|
-
if (e === "CurrentTimeUpdated" &&
|
|
21216
|
+
if (e === "CurrentTimeUpdated" && Hy(t))
|
|
21217
21217
|
return "play_progress";
|
|
21218
21218
|
if (e.startsWith("PressedAdvert"))
|
|
21219
21219
|
return "ad_link_click";
|
|
@@ -21225,7 +21225,7 @@ const xy = (t, e) => {
|
|
|
21225
21225
|
const n = t.adverts[t.advertIndex], o = t.content[t.contentIndex], s = t.duration === 1 / 0 ? 0 : t.duration || 0, l = s === 0 ? 0 : t.currentTime / s * 100;
|
|
21226
21226
|
return {
|
|
21227
21227
|
event_type: e,
|
|
21228
|
-
device_type:
|
|
21228
|
+
device_type: qy(t),
|
|
21229
21229
|
media_type: n ? "ad" : "content",
|
|
21230
21230
|
media_variant: t.contentVariant,
|
|
21231
21231
|
project_id: t.projectId,
|
|
@@ -21247,7 +21247,7 @@ const xy = (t, e) => {
|
|
|
21247
21247
|
player_version: "1",
|
|
21248
21248
|
player_npm_version: ho
|
|
21249
21249
|
};
|
|
21250
|
-
},
|
|
21250
|
+
}, Fy = ({ event_type: t, listen_length_percent: e }) => {
|
|
21251
21251
|
const i = Math.floor(e / 10) * 10;
|
|
21252
21252
|
if (t === "load")
|
|
21253
21253
|
return "Load";
|
|
@@ -21259,7 +21259,7 @@ const xy = (t, e) => {
|
|
|
21259
21259
|
return `${i}% listened`;
|
|
21260
21260
|
if (t === "ad_link_click")
|
|
21261
21261
|
return "Advert Click";
|
|
21262
|
-
},
|
|
21262
|
+
}, Uy = (t) => {
|
|
21263
21263
|
var n, o;
|
|
21264
21264
|
let e = !1;
|
|
21265
21265
|
if (t.advertIndex !== -1) {
|
|
@@ -21270,16 +21270,16 @@ const xy = (t, e) => {
|
|
|
21270
21270
|
e = s !== t.prevContentId, t.prevContentId = s;
|
|
21271
21271
|
}
|
|
21272
21272
|
return e;
|
|
21273
|
-
},
|
|
21273
|
+
}, Hy = (t) => {
|
|
21274
21274
|
if (t.introsOutrosIndex !== -1)
|
|
21275
21275
|
return;
|
|
21276
21276
|
const e = t.prevPercentage + 10, i = t.currentTime / t.duration * 100;
|
|
21277
21277
|
if (i >= e)
|
|
21278
21278
|
return t.prevPercentage = Math.floor(i / 10) * 10, !0;
|
|
21279
|
-
},
|
|
21279
|
+
}, qy = (t) => t.analyticsDeviceType !== "auto" ? t.analyticsDeviceType : mr(499) ? "phone" : mr(999) ? "tablet" : "desktop", mr = (t) => window.matchMedia && window.matchMedia(`only screen and (max-device-width: ${t}px)`).matches, Yy = /* @__PURE__ */ new Set(), Zy = (t, e = Yy) => {
|
|
21280
21280
|
const n = Object.keys(t.$$.props).filter((o) => !e.has(o)).map((o) => [o, t[o]]);
|
|
21281
21281
|
return Object.fromEntries(n);
|
|
21282
|
-
},
|
|
21282
|
+
}, Ky = /* @__PURE__ */ new Set([
|
|
21283
21283
|
"addEventListener",
|
|
21284
21284
|
"removeEventListener",
|
|
21285
21285
|
"mediaElement",
|
|
@@ -21295,7 +21295,7 @@ const Bi = class Bi extends z3 {
|
|
|
21295
21295
|
const { newTarget: s, showUserInterface: l } = P3(e);
|
|
21296
21296
|
s.classList.add("beyondwords-player", "bwp"), Bi._styleLoaded || (s.style.display = "none");
|
|
21297
21297
|
const a = new _y(null, Bi);
|
|
21298
|
-
a.addEventListener("<any>", (u) =>
|
|
21298
|
+
a.addEventListener("<any>", (u) => Dy(this, u));
|
|
21299
21299
|
const r = Yt({ showUserInterface: l }, i);
|
|
21300
21300
|
super({ target: s, props: Fi(Yt({ controller: a }, r), { initialProps: r }) }), a.player = this, xi(Bi, Tn).push(this);
|
|
21301
21301
|
}
|
|
@@ -21318,21 +21318,21 @@ const Bi = class Bi extends z3 {
|
|
|
21318
21318
|
xi(Bi, Tn).forEach((e) => e.destroy());
|
|
21319
21319
|
}
|
|
21320
21320
|
destroy() {
|
|
21321
|
-
this.$destroy(),
|
|
21321
|
+
this.$destroy(), Rl(Bi, Tn, xi(Bi, Tn).filter((e) => e !== this));
|
|
21322
21322
|
}
|
|
21323
21323
|
get target() {
|
|
21324
21324
|
return this.$$.root;
|
|
21325
21325
|
}
|
|
21326
21326
|
properties() {
|
|
21327
|
-
return
|
|
21327
|
+
return Zy(this, Ky);
|
|
21328
21328
|
}
|
|
21329
21329
|
};
|
|
21330
21330
|
Tn = new WeakMap(), Ve(Bi, Tn, []);
|
|
21331
21331
|
let _s = Bi;
|
|
21332
21332
|
var hr;
|
|
21333
21333
|
typeof window != "undefined" && (window.BeyondWords || (window.BeyondWords = {}), (hr = window.BeyondWords).Player || (hr.Player = _s));
|
|
21334
|
-
const
|
|
21334
|
+
const Qy = { Player: _s };
|
|
21335
21335
|
export {
|
|
21336
|
-
|
|
21336
|
+
Qy as default
|
|
21337
21337
|
};
|
|
21338
21338
|
//# sourceMappingURL=es.js.map
|