@beyondwords/player 0.3.5 → 0.3.7
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 +309 -309
- package/dist/es.js.map +1 -1
- package/dist/umd.js +24 -24
- package/dist/umd.js.map +1 -1
- package/package.json +1 -1
package/dist/es.js
CHANGED
|
@@ -28,7 +28,7 @@ var xi = (t, e, i) => (Ys(t, e, "read from private field"), i ? i.call(t) : e.ge
|
|
|
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
|
-
var
|
|
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) => {
|
|
34
34
|
try {
|
|
@@ -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.7" */
|
|
49
49
|
function Q() {
|
|
50
50
|
}
|
|
51
51
|
const Qu = (t) => t;
|
|
@@ -189,7 +189,7 @@ function Cn(t, e) {
|
|
|
189
189
|
function y(t) {
|
|
190
190
|
return document.createElement(t);
|
|
191
191
|
}
|
|
192
|
-
function
|
|
192
|
+
function Pe(t) {
|
|
193
193
|
return document.createElementNS("http://www.w3.org/2000/svg", t);
|
|
194
194
|
}
|
|
195
195
|
function ie(t) {
|
|
@@ -506,7 +506,7 @@ function ge(t, e) {
|
|
|
506
506
|
function vc(t, e) {
|
|
507
507
|
t.$$.dirty[0] === -1 && (Fn.push(t), Sr(), t.$$.dirty.fill(0)), t.$$.dirty[e / 31 | 0] |= 1 << e % 31;
|
|
508
508
|
}
|
|
509
|
-
function
|
|
509
|
+
function we(t, e, i, n, o, s, l = null, a = [-1]) {
|
|
510
510
|
const r = yo;
|
|
511
511
|
mo(t);
|
|
512
512
|
const u = t.$$ = {
|
|
@@ -545,7 +545,7 @@ function Pe(t, e, i, n, o, s, l = null, a = [-1]) {
|
|
|
545
545
|
}
|
|
546
546
|
mo(r);
|
|
547
547
|
}
|
|
548
|
-
class
|
|
548
|
+
class Te {
|
|
549
549
|
constructor() {
|
|
550
550
|
/**
|
|
551
551
|
* ### PRIVATE API
|
|
@@ -593,7 +593,7 @@ class we {
|
|
|
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.7", wi = (t, e) => {
|
|
597
597
|
t = [t].flat().join(`
|
|
598
598
|
`);
|
|
599
599
|
let i = `${kc}:
|
|
@@ -713,8 +713,8 @@ 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: "CQPftcAQPftcAAAAAAENDgCAAEIAAAAAAAAAg1NX_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: "CQPftcAQPftcAAAAAAENDgCAAHIAAAAAAAAAg1NX_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
720
|
return Dc(t) ? Rc(f, i, g) : Tr(t) ? Nc(f, t, e, i, n, o, s, l, a, r, u, d) : {};
|
|
@@ -786,10 +786,10 @@ function Zc(t, e, i) {
|
|
|
786
786
|
}
|
|
787
787
|
}
|
|
788
788
|
}, ue = (j) => {
|
|
789
|
-
var
|
|
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 Ne = (
|
|
792
|
+
const Ne = (Ce = j.getAd().getCompanionAds(0, 0, he)[0]) == null ? void 0 : Ce.data;
|
|
793
793
|
if (!Ne)
|
|
794
794
|
return;
|
|
795
795
|
const Ge = document.createElement("div");
|
|
@@ -916,9 +916,9 @@ function Zc(t, e, i) {
|
|
|
916
916
|
Qe
|
|
917
917
|
];
|
|
918
918
|
}
|
|
919
|
-
class Kc extends
|
|
919
|
+
class Kc extends Te {
|
|
920
920
|
constructor(e) {
|
|
921
|
-
super(),
|
|
921
|
+
super(), we(
|
|
922
922
|
this,
|
|
923
923
|
e,
|
|
924
924
|
Zc,
|
|
@@ -5814,27 +5814,27 @@ 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: 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:
|
|
5818
|
-
} } = e, { metadataLoaded: Je } = e, { video:
|
|
5819
|
-
const Ye = (
|
|
5820
|
-
var
|
|
5821
|
-
return (
|
|
5822
|
-
}, Ze = () => !(
|
|
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
|
+
const Ye = (F) => i(19, Oe = F), At = () => ze, $e = () => u.some((F) => F.format === "video"), mt = () => {
|
|
5820
|
+
var F;
|
|
5821
|
+
return (Se == null ? void 0 : Se.paused) && ((F = Se == null ? void 0 : Se.play()) == null ? void 0 : F.catch(at));
|
|
5822
|
+
}, Ze = () => !(Se != null && Se.paused) && (Se == null ? void 0 : Se.pause()), De = () => {
|
|
5823
5823
|
ft && clearTimeout(ft), i(24, ft = setTimeout(() => i(24, ft = null), 500));
|
|
5824
5824
|
}, yt = () => {
|
|
5825
|
-
|
|
5825
|
+
Ce(ke({
|
|
5826
5826
|
type: "PlaybackPlaying",
|
|
5827
5827
|
description: "The media began playing from its current playback time.",
|
|
5828
5828
|
initiatedBy: "media"
|
|
5829
5829
|
}));
|
|
5830
5830
|
}, et = () => {
|
|
5831
|
-
|
|
5831
|
+
Ce(ke({
|
|
5832
5832
|
type: "PlaybackPaused",
|
|
5833
5833
|
description: "The media became paused at its current playback time.",
|
|
5834
5834
|
initiatedBy: "media"
|
|
5835
5835
|
}));
|
|
5836
5836
|
}, lt = () => {
|
|
5837
|
-
|
|
5837
|
+
Ce(ke({
|
|
5838
5838
|
type: "PlaybackEnded",
|
|
5839
5839
|
description: "The media finished playing because it reached the end.",
|
|
5840
5840
|
initiatedBy: "media"
|
|
@@ -5842,83 +5842,83 @@ function zm(t, e, i) {
|
|
|
5842
5842
|
}, ot = () => {
|
|
5843
5843
|
clearTimeout(St), St = setTimeout(
|
|
5844
5844
|
() => {
|
|
5845
|
-
Ye(
|
|
5845
|
+
Ye(Se.currentTime - 0.1);
|
|
5846
5846
|
},
|
|
5847
5847
|
3e3
|
|
5848
5848
|
);
|
|
5849
5849
|
}, Pt = () => {
|
|
5850
|
-
|
|
5850
|
+
Ce(ke({
|
|
5851
5851
|
type: "DurationUpdated",
|
|
5852
5852
|
description: "The media's duration was updated.",
|
|
5853
5853
|
initiatedBy: "media"
|
|
5854
5854
|
}));
|
|
5855
5855
|
}, Xe = () => {
|
|
5856
|
-
Je || (i(43, Je = !0), i(58, xe = Ql(u,
|
|
5856
|
+
Je || (i(43, Je = !0), i(58, xe = Ql(u, Se)), Ce(ke({
|
|
5857
5857
|
type: "MetadataLoaded",
|
|
5858
5858
|
description: "The media finished loading its metadata.",
|
|
5859
5859
|
initiatedBy: "media",
|
|
5860
5860
|
loadedMedia: xe
|
|
5861
5861
|
})));
|
|
5862
5862
|
}, Ot = () => {
|
|
5863
|
-
i(58, xe = Ql(u,
|
|
5863
|
+
i(58, xe = Ql(u, Se)), Ce(ke({
|
|
5864
5864
|
type: "MediaLoaded",
|
|
5865
5865
|
description: "The media finished loading its first frame of data.",
|
|
5866
5866
|
initiatedBy: "media",
|
|
5867
5867
|
loadedMedia: xe
|
|
5868
5868
|
}));
|
|
5869
5869
|
}, vt = () => {
|
|
5870
|
-
d || (clearTimeout(St), St = void 0,
|
|
5870
|
+
d || (clearTimeout(St), St = void 0, Ce(ke({
|
|
5871
5871
|
type: "CurrentTimeUpdated",
|
|
5872
5872
|
description: "The media's current time was updated.",
|
|
5873
5873
|
initiatedBy: "media"
|
|
5874
5874
|
})));
|
|
5875
5875
|
}, Vt = () => {
|
|
5876
|
-
|
|
5876
|
+
Ce(ke({
|
|
5877
5877
|
type: "MediaSeeked",
|
|
5878
5878
|
description: "The media completed the seek operation.",
|
|
5879
5879
|
initiatedBy: "media"
|
|
5880
5880
|
}));
|
|
5881
5881
|
}, wt = () => {
|
|
5882
|
-
const
|
|
5883
|
-
|
|
5882
|
+
const F = s[p], ut = Om(F);
|
|
5883
|
+
Ce(ke({
|
|
5884
5884
|
type: "CurrentSegmentUpdated",
|
|
5885
5885
|
description: "The media's current segment was updated.",
|
|
5886
5886
|
initiatedBy: "media",
|
|
5887
|
-
segment:
|
|
5887
|
+
segment: F,
|
|
5888
5888
|
contentIndex: Z,
|
|
5889
5889
|
segmentIndex: p,
|
|
5890
5890
|
segmentElement: ut,
|
|
5891
5891
|
precedence: 0
|
|
5892
5892
|
}));
|
|
5893
5893
|
}, tt = () => {
|
|
5894
|
-
|
|
5894
|
+
Ce(ke({
|
|
5895
5895
|
type: "PlaybackRateUpdated",
|
|
5896
5896
|
description: "The media's playback rate was updated.",
|
|
5897
5897
|
initiatedBy: "media"
|
|
5898
5898
|
}));
|
|
5899
|
-
}, at = (
|
|
5900
|
-
if ((
|
|
5899
|
+
}, at = (F) => {
|
|
5900
|
+
if ((F == null ? void 0 : F.name) === "NotSupportedError" && i(2, Se.src = null, Se), (F == null ? void 0 : F.name) === "AbortError") {
|
|
5901
5901
|
mt();
|
|
5902
5902
|
return;
|
|
5903
5903
|
}
|
|
5904
|
-
if ((
|
|
5905
|
-
throw
|
|
5906
|
-
|
|
5904
|
+
if ((F == null ? void 0 : F.name) !== "NotAllowedError")
|
|
5905
|
+
throw F;
|
|
5906
|
+
Ce(ke({
|
|
5907
5907
|
type: "PlaybackNotAllowed",
|
|
5908
5908
|
description: "The media cannot play because there was no user event.",
|
|
5909
5909
|
initiatedBy: "media"
|
|
5910
5910
|
}));
|
|
5911
5911
|
}, Bt = () => {
|
|
5912
|
-
console.warn("BeyondWords.Player: error while loading media"),
|
|
5912
|
+
console.warn("BeyondWords.Player: error while loading media"), Ce(ke({
|
|
5913
5913
|
type: "PlaybackErrored",
|
|
5914
5914
|
description: "The media failed to play.",
|
|
5915
5915
|
initiatedBy: "media",
|
|
5916
5916
|
mediaType: "native",
|
|
5917
5917
|
errorMessage: "The video tag does not contains any sources."
|
|
5918
5918
|
}));
|
|
5919
|
-
}, bt = (
|
|
5919
|
+
}, bt = (F) => () => {
|
|
5920
5920
|
var te;
|
|
5921
|
-
console.warn(`BeyondWords.Player: error while loading ${(te = u[
|
|
5921
|
+
console.warn(`BeyondWords.Player: error while loading ${(te = u[F]) == null ? void 0 : te.contentType} source`), F === u.length - 1 && Ce(ke({
|
|
5922
5922
|
type: "PlaybackErrored",
|
|
5923
5923
|
description: "The media failed to play.",
|
|
5924
5924
|
initiatedBy: "media",
|
|
@@ -5926,9 +5926,9 @@ function zm(t, e, i) {
|
|
|
5926
5926
|
mediaUrl: u[0].url,
|
|
5927
5927
|
errorMessage: "The video tag contains sources but none are playable."
|
|
5928
5928
|
}));
|
|
5929
|
-
}, kt = (
|
|
5929
|
+
}, kt = (F, ut) => Ui(this, null, function* () {
|
|
5930
5930
|
var te, I;
|
|
5931
|
-
ut.fatal && ((te = Ee == null ? void 0 : Ee.detachMedia) == null || te.call(Ee), (I = Ee == null ? void 0 : Ee.destroy) == null || I.call(Ee),
|
|
5931
|
+
ut.fatal && ((te = Ee == null ? void 0 : Ee.detachMedia) == null || te.call(Ee), (I = Ee == null ? void 0 : Ee.destroy) == null || I.call(Ee), Ce(ke({
|
|
5932
5932
|
type: "PlaybackErrored",
|
|
5933
5933
|
description: "The media failed to play.",
|
|
5934
5934
|
initiatedBy: "media",
|
|
@@ -5937,21 +5937,21 @@ function zm(t, e, i) {
|
|
|
5937
5937
|
errorMessage: `${ut.type} ${ut.details}`
|
|
5938
5938
|
})));
|
|
5939
5939
|
}), Ke = () => {
|
|
5940
|
-
|
|
5940
|
+
Ce(ke({
|
|
5941
5941
|
type: "FullScreenModeUpdated",
|
|
5942
5942
|
description: "The browser entered or exited full screen mode.",
|
|
5943
5943
|
initiatedBy: "browser"
|
|
5944
5944
|
}));
|
|
5945
5945
|
};
|
|
5946
5946
|
Wo(() => {
|
|
5947
|
-
const
|
|
5947
|
+
const F = addEventListener("fullscreenchange", Ke), ut = addEventListener("webkitfullscreenchange", Ke);
|
|
5948
5948
|
return () => {
|
|
5949
|
-
removeEventListener("fullscreenchange",
|
|
5949
|
+
removeEventListener("fullscreenchange", F), removeEventListener("fullscreenchange", ut);
|
|
5950
5950
|
};
|
|
5951
5951
|
});
|
|
5952
|
-
function rt(
|
|
5953
|
-
se[
|
|
5954
|
-
|
|
5952
|
+
function rt(F) {
|
|
5953
|
+
se[F ? "unshift" : "push"](() => {
|
|
5954
|
+
Se = F, i(2, Se);
|
|
5955
5955
|
});
|
|
5956
5956
|
}
|
|
5957
5957
|
function pt() {
|
|
@@ -5963,17 +5963,17 @@ function zm(t, e, i) {
|
|
|
5963
5963
|
function it() {
|
|
5964
5964
|
Be = this.playbackRate, i(4, Be);
|
|
5965
5965
|
}
|
|
5966
|
-
function He(
|
|
5967
|
-
w =
|
|
5966
|
+
function He(F) {
|
|
5967
|
+
w = F, i(0, w);
|
|
5968
5968
|
}
|
|
5969
|
-
function ht(
|
|
5970
|
-
N =
|
|
5969
|
+
function ht(F) {
|
|
5970
|
+
N = F, i(3, N);
|
|
5971
5971
|
}
|
|
5972
|
-
function Tt(
|
|
5973
|
-
L =
|
|
5972
|
+
function Tt(F) {
|
|
5973
|
+
L = F, i(1, L), i(19, Oe);
|
|
5974
5974
|
}
|
|
5975
|
-
return t.$$set = (
|
|
5976
|
-
"content" in
|
|
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, 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*/
|
|
@@ -6000,9 +6000,9 @@ function zm(t, e, i) {
|
|
|
6000
6000
|
1073741824 && i(20, u = Gc(r, At())), t.$$.dirty[0] & /*sources*/
|
|
6001
6001
|
1048576 && i(43, Je = !1), t.$$.dirty[0] & /*sources*/
|
|
6002
6002
|
1048576 && i(44, Le = 0), t.$$.dirty[0] & /*sources, video*/
|
|
6003
|
-
1048580 && Jc(u[0],
|
|
6003
|
+
1048580 && Jc(u[0], Se).then((F) => i(56, Lt = F)), t.$$.dirty[0] & /*sources, video, hls*/
|
|
6004
6004
|
1310724 | t.$$.dirty[1] & /*Hls*/
|
|
6005
|
-
33554432 && i(18, Ee = $c(u[0],
|
|
6005
|
+
33554432 && i(18, Ee = $c(u[0], Se, Lt, Ee, kt, Xe, mt)), t.$$.dirty[0] & /*playbackState, hls*/
|
|
6006
6006
|
262145 | t.$$.dirty[2] & /*startPosition*/
|
|
6007
6007
|
16 && (w === "playing" || At()) && Or(Ee, a), t.$$.dirty[1] & /*activeAdvert*/
|
|
6008
6008
|
131072 && i(21, d = X == null ? void 0 : X.vastUrl), t.$$.dirty[1] & /*activeAdvert*/
|
|
@@ -6032,7 +6032,7 @@ function zm(t, e, i) {
|
|
|
6032
6032
|
}, [
|
|
6033
6033
|
w,
|
|
6034
6034
|
L,
|
|
6035
|
-
|
|
6035
|
+
Se,
|
|
6036
6036
|
N,
|
|
6037
6037
|
Be,
|
|
6038
6038
|
C,
|
|
@@ -6047,7 +6047,7 @@ function zm(t, e, i) {
|
|
|
6047
6047
|
b,
|
|
6048
6048
|
Qe,
|
|
6049
6049
|
he,
|
|
6050
|
-
|
|
6050
|
+
Ce,
|
|
6051
6051
|
Ee,
|
|
6052
6052
|
Oe,
|
|
6053
6053
|
u,
|
|
@@ -6108,9 +6108,9 @@ function zm(t, e, i) {
|
|
|
6108
6108
|
Tt
|
|
6109
6109
|
];
|
|
6110
6110
|
}
|
|
6111
|
-
class Lm extends
|
|
6111
|
+
class Lm extends Te {
|
|
6112
6112
|
constructor(e) {
|
|
6113
|
-
super(),
|
|
6113
|
+
super(), we(
|
|
6114
6114
|
this,
|
|
6115
6115
|
e,
|
|
6116
6116
|
zm,
|
|
@@ -6647,7 +6647,7 @@ function sh(t) {
|
|
|
6647
6647
|
let e, i, n, o;
|
|
6648
6648
|
return {
|
|
6649
6649
|
c() {
|
|
6650
|
-
e =
|
|
6650
|
+
e = Pe("svg"), i = Pe("path"), Hi(
|
|
6651
6651
|
i,
|
|
6652
6652
|
"fill",
|
|
6653
6653
|
/*color*/
|
|
@@ -6685,9 +6685,9 @@ function lh(t, e, i) {
|
|
|
6685
6685
|
"scale" in s && i(0, n = s.scale), "color" in s && i(1, o = s.color);
|
|
6686
6686
|
}, [n, o];
|
|
6687
6687
|
}
|
|
6688
|
-
class ah extends
|
|
6688
|
+
class ah extends Te {
|
|
6689
6689
|
constructor(e) {
|
|
6690
|
-
super(),
|
|
6690
|
+
super(), we(this, e, lh, sh, pe, { scale: 0, color: 1 });
|
|
6691
6691
|
}
|
|
6692
6692
|
get scale() {
|
|
6693
6693
|
return this.$$.ctx[0];
|
|
@@ -6707,7 +6707,7 @@ function ch(t) {
|
|
|
6707
6707
|
let e, i, n, o;
|
|
6708
6708
|
return {
|
|
6709
6709
|
c() {
|
|
6710
|
-
e =
|
|
6710
|
+
e = Pe("svg"), i = Pe("path"), qi(
|
|
6711
6711
|
i,
|
|
6712
6712
|
"fill",
|
|
6713
6713
|
/*color*/
|
|
@@ -6745,9 +6745,9 @@ function dh(t, e, i) {
|
|
|
6745
6745
|
"scale" in s && i(0, n = s.scale), "color" in s && i(1, o = s.color);
|
|
6746
6746
|
}, [n, o];
|
|
6747
6747
|
}
|
|
6748
|
-
class gh extends
|
|
6748
|
+
class gh extends Te {
|
|
6749
6749
|
constructor(e) {
|
|
6750
|
-
super(),
|
|
6750
|
+
super(), we(this, e, dh, ch, pe, { scale: 0, color: 1 });
|
|
6751
6751
|
}
|
|
6752
6752
|
get scale() {
|
|
6753
6753
|
return this.$$.ctx[0];
|
|
@@ -6926,9 +6926,9 @@ function yh(t, e, i) {
|
|
|
6926
6926
|
1 && i(4, n = gt(o ? "pauseAudio" : "playAudio"));
|
|
6927
6927
|
}, [o, s, l, a, n, u, r];
|
|
6928
6928
|
}
|
|
6929
|
-
class vh extends
|
|
6929
|
+
class vh extends Te {
|
|
6930
6930
|
constructor(e) {
|
|
6931
|
-
super(),
|
|
6931
|
+
super(), we(this, e, yh, Ah, pe, {
|
|
6932
6932
|
isPlaying: 0,
|
|
6933
6933
|
tabindex: 1,
|
|
6934
6934
|
scale: 2,
|
|
@@ -7128,9 +7128,9 @@ function Sh(t, e, i) {
|
|
|
7128
7128
|
g
|
|
7129
7129
|
];
|
|
7130
7130
|
}
|
|
7131
|
-
class Ph extends
|
|
7131
|
+
class Ph extends Te {
|
|
7132
7132
|
constructor(e) {
|
|
7133
|
-
super(),
|
|
7133
|
+
super(), we(this, e, Sh, ph, pe, {
|
|
7134
7134
|
rates: 8,
|
|
7135
7135
|
rate: 0,
|
|
7136
7136
|
scale: 9,
|
|
@@ -7174,7 +7174,7 @@ function Ch(t) {
|
|
|
7174
7174
|
let e, i, n, o, s, l;
|
|
7175
7175
|
return {
|
|
7176
7176
|
c() {
|
|
7177
|
-
e =
|
|
7177
|
+
e = Pe("svg"), i = Pe("path"), n = Pe("text"), o = ie(
|
|
7178
7178
|
/*seconds*/
|
|
7179
7179
|
t[2]
|
|
7180
7180
|
), Xt(
|
|
@@ -7231,9 +7231,9 @@ function Ih(t, e, i) {
|
|
|
7231
7231
|
"scale" in l && i(0, n = l.scale), "color" in l && i(1, o = l.color), "seconds" in l && i(2, s = l.seconds);
|
|
7232
7232
|
}, [n, o, s];
|
|
7233
7233
|
}
|
|
7234
|
-
class Oh extends
|
|
7234
|
+
class Oh extends Te {
|
|
7235
7235
|
constructor(e) {
|
|
7236
|
-
super(),
|
|
7236
|
+
super(), we(this, e, Ih, Ch, pe, { scale: 0, color: 1, seconds: 2 });
|
|
7237
7237
|
}
|
|
7238
7238
|
get scale() {
|
|
7239
7239
|
return this.$$.ctx[0];
|
|
@@ -7259,7 +7259,7 @@ function Wh(t) {
|
|
|
7259
7259
|
let e, i, n, o;
|
|
7260
7260
|
return {
|
|
7261
7261
|
c() {
|
|
7262
|
-
e =
|
|
7262
|
+
e = Pe("svg"), i = Pe("path"), Yi(
|
|
7263
7263
|
i,
|
|
7264
7264
|
"fill",
|
|
7265
7265
|
/*color*/
|
|
@@ -7297,9 +7297,9 @@ function Mh(t, e, i) {
|
|
|
7297
7297
|
"scale" in s && i(0, n = s.scale), "color" in s && i(1, o = s.color);
|
|
7298
7298
|
}, [n, o];
|
|
7299
7299
|
}
|
|
7300
|
-
class Eh extends
|
|
7300
|
+
class Eh extends Te {
|
|
7301
7301
|
constructor(e) {
|
|
7302
|
-
super(),
|
|
7302
|
+
super(), we(this, e, Mh, Wh, pe, { scale: 0, color: 1 });
|
|
7303
7303
|
}
|
|
7304
7304
|
get scale() {
|
|
7305
7305
|
return this.$$.ctx[0];
|
|
@@ -7319,7 +7319,7 @@ function jh(t) {
|
|
|
7319
7319
|
let e, i, n, o, s;
|
|
7320
7320
|
return {
|
|
7321
7321
|
c() {
|
|
7322
|
-
e =
|
|
7322
|
+
e = Pe("svg"), i = Pe("path"), n = Pe("path"), pi(
|
|
7323
7323
|
i,
|
|
7324
7324
|
"fill",
|
|
7325
7325
|
/*color*/
|
|
@@ -7368,9 +7368,9 @@ function xh(t, e, i) {
|
|
|
7368
7368
|
"scale" in s && i(0, n = s.scale), "color" in s && i(1, o = s.color);
|
|
7369
7369
|
}, [n, o];
|
|
7370
7370
|
}
|
|
7371
|
-
class Dh extends
|
|
7371
|
+
class Dh extends Te {
|
|
7372
7372
|
constructor(e) {
|
|
7373
|
-
super(),
|
|
7373
|
+
super(), we(this, e, xh, jh, pe, { scale: 0, color: 1 });
|
|
7374
7374
|
}
|
|
7375
7375
|
get scale() {
|
|
7376
7376
|
return this.$$.ctx[0];
|
|
@@ -7600,9 +7600,9 @@ function Yh(t, e, i) {
|
|
|
7600
7600
|
d
|
|
7601
7601
|
];
|
|
7602
7602
|
}
|
|
7603
|
-
class Zh extends
|
|
7603
|
+
class Zh extends Te {
|
|
7604
7604
|
constructor(e) {
|
|
7605
|
-
super(),
|
|
7605
|
+
super(), we(this, e, Yh, qh, pe, { style: 8, scale: 0, color: 1, onEvent: 9 });
|
|
7606
7606
|
}
|
|
7607
7607
|
get style() {
|
|
7608
7608
|
return this.$$.ctx[8];
|
|
@@ -7634,7 +7634,7 @@ function Jh(t) {
|
|
|
7634
7634
|
let e, i, n, o, s, l;
|
|
7635
7635
|
return {
|
|
7636
7636
|
c() {
|
|
7637
|
-
e =
|
|
7637
|
+
e = Pe("svg"), i = Pe("path"), n = Pe("text"), o = ie(
|
|
7638
7638
|
/*seconds*/
|
|
7639
7639
|
t[2]
|
|
7640
7640
|
), Qt(
|
|
@@ -7691,9 +7691,9 @@ function Xh(t, e, i) {
|
|
|
7691
7691
|
"scale" in l && i(0, n = l.scale), "color" in l && i(1, o = l.color), "seconds" in l && i(2, s = l.seconds);
|
|
7692
7692
|
}, [n, o, s];
|
|
7693
7693
|
}
|
|
7694
|
-
class Qh extends
|
|
7694
|
+
class Qh extends Te {
|
|
7695
7695
|
constructor(e) {
|
|
7696
|
-
super(),
|
|
7696
|
+
super(), we(this, e, Xh, Jh, pe, { scale: 0, color: 1, seconds: 2 });
|
|
7697
7697
|
}
|
|
7698
7698
|
get scale() {
|
|
7699
7699
|
return this.$$.ctx[0];
|
|
@@ -7719,7 +7719,7 @@ function t0(t) {
|
|
|
7719
7719
|
let e, i, n, o;
|
|
7720
7720
|
return {
|
|
7721
7721
|
c() {
|
|
7722
|
-
e =
|
|
7722
|
+
e = Pe("svg"), i = Pe("path"), Zi(
|
|
7723
7723
|
i,
|
|
7724
7724
|
"fill",
|
|
7725
7725
|
/*color*/
|
|
@@ -7757,9 +7757,9 @@ function i0(t, e, i) {
|
|
|
7757
7757
|
"scale" in s && i(0, n = s.scale), "color" in s && i(1, o = s.color);
|
|
7758
7758
|
}, [n, o];
|
|
7759
7759
|
}
|
|
7760
|
-
class n0 extends
|
|
7760
|
+
class n0 extends Te {
|
|
7761
7761
|
constructor(e) {
|
|
7762
|
-
super(),
|
|
7762
|
+
super(), we(this, e, i0, t0, pe, { scale: 0, color: 1 });
|
|
7763
7763
|
}
|
|
7764
7764
|
get scale() {
|
|
7765
7765
|
return this.$$.ctx[0];
|
|
@@ -7779,7 +7779,7 @@ function l0(t) {
|
|
|
7779
7779
|
let e, i, n, o, s;
|
|
7780
7780
|
return {
|
|
7781
7781
|
c() {
|
|
7782
|
-
e =
|
|
7782
|
+
e = Pe("svg"), i = Pe("path"), n = Pe("path"), Si(
|
|
7783
7783
|
i,
|
|
7784
7784
|
"fill",
|
|
7785
7785
|
/*color*/
|
|
@@ -7828,9 +7828,9 @@ function a0(t, e, i) {
|
|
|
7828
7828
|
"scale" in s && i(0, n = s.scale), "color" in s && i(1, o = s.color);
|
|
7829
7829
|
}, [n, o];
|
|
7830
7830
|
}
|
|
7831
|
-
class r0 extends
|
|
7831
|
+
class r0 extends Te {
|
|
7832
7832
|
constructor(e) {
|
|
7833
|
-
super(),
|
|
7833
|
+
super(), we(this, e, a0, l0, pe, { scale: 0, color: 1 });
|
|
7834
7834
|
}
|
|
7835
7835
|
get scale() {
|
|
7836
7836
|
return this.$$.ctx[0];
|
|
@@ -8062,9 +8062,9 @@ function h0(t, e, i) {
|
|
|
8062
8062
|
n
|
|
8063
8063
|
];
|
|
8064
8064
|
}
|
|
8065
|
-
class _0 extends
|
|
8065
|
+
class _0 extends Te {
|
|
8066
8066
|
constructor(e) {
|
|
8067
|
-
super(),
|
|
8067
|
+
super(), we(this, e, h0, m0, pe, { style: 8, scale: 0, color: 1, onEvent: 9 });
|
|
8068
8068
|
}
|
|
8069
8069
|
get style() {
|
|
8070
8070
|
return this.$$.ctx[8];
|
|
@@ -8096,7 +8096,7 @@ function v0(t) {
|
|
|
8096
8096
|
let e, i, n, o, s, l;
|
|
8097
8097
|
return {
|
|
8098
8098
|
c() {
|
|
8099
|
-
e =
|
|
8099
|
+
e = Pe("svg"), i = Pe("path"), n = Pe("g"), o = Pe("path"), hi(
|
|
8100
8100
|
i,
|
|
8101
8101
|
"fill",
|
|
8102
8102
|
/*color*/
|
|
@@ -8145,9 +8145,9 @@ function b0(t, e, i) {
|
|
|
8145
8145
|
"scale" in s && i(0, n = s.scale), "color" in s && i(1, o = s.color);
|
|
8146
8146
|
}, [n, o];
|
|
8147
8147
|
}
|
|
8148
|
-
class k0 extends
|
|
8148
|
+
class k0 extends Te {
|
|
8149
8149
|
constructor(e) {
|
|
8150
|
-
super(),
|
|
8150
|
+
super(), we(this, e, b0, v0, pe, { scale: 0, color: 1 });
|
|
8151
8151
|
}
|
|
8152
8152
|
get scale() {
|
|
8153
8153
|
return this.$$.ctx[0];
|
|
@@ -8167,7 +8167,7 @@ function P0(t) {
|
|
|
8167
8167
|
let e, i, n, o, s, l;
|
|
8168
8168
|
return {
|
|
8169
8169
|
c() {
|
|
8170
|
-
e =
|
|
8170
|
+
e = Pe("svg"), i = Pe("path"), n = Pe("g"), o = Pe("path"), _i(
|
|
8171
8171
|
i,
|
|
8172
8172
|
"fill",
|
|
8173
8173
|
/*color*/
|
|
@@ -8216,9 +8216,9 @@ function w0(t, e, i) {
|
|
|
8216
8216
|
"scale" in s && i(0, n = s.scale), "color" in s && i(1, o = s.color);
|
|
8217
8217
|
}, [n, o];
|
|
8218
8218
|
}
|
|
8219
|
-
class T0 extends
|
|
8219
|
+
class T0 extends Te {
|
|
8220
8220
|
constructor(e) {
|
|
8221
|
-
super(),
|
|
8221
|
+
super(), we(this, e, w0, P0, pe, { scale: 0, color: 1 });
|
|
8222
8222
|
}
|
|
8223
8223
|
get scale() {
|
|
8224
8224
|
return this.$$.ctx[0];
|
|
@@ -8373,9 +8373,9 @@ function W0(t, e, i) {
|
|
|
8373
8373
|
"playlistShowing" in u && i(0, n = u.playlistShowing), "playerStyle" in u && i(1, o = u.playerStyle), "scale" in u && i(2, s = u.scale), "color" in u && i(3, l = u.color), "onEvent" in u && i(5, a = u.onEvent);
|
|
8374
8374
|
}, [n, o, s, l, r, a];
|
|
8375
8375
|
}
|
|
8376
|
-
class M0 extends
|
|
8376
|
+
class M0 extends Te {
|
|
8377
8377
|
constructor(e) {
|
|
8378
|
-
super(),
|
|
8378
|
+
super(), we(this, e, W0, B0, pe, {
|
|
8379
8379
|
playlistShowing: 0,
|
|
8380
8380
|
playerStyle: 1,
|
|
8381
8381
|
scale: 2,
|
|
@@ -8530,9 +8530,9 @@ function j0(t, e, i) {
|
|
|
8530
8530
|
n
|
|
8531
8531
|
];
|
|
8532
8532
|
}
|
|
8533
|
-
class x0 extends
|
|
8533
|
+
class x0 extends Te {
|
|
8534
8534
|
constructor(e) {
|
|
8535
|
-
super(),
|
|
8535
|
+
super(), we(this, e, j0, L0, pe, {
|
|
8536
8536
|
playerStyle: 0,
|
|
8537
8537
|
isMobile: 1,
|
|
8538
8538
|
isAdvert: 2,
|
|
@@ -8583,7 +8583,7 @@ function N0(t) {
|
|
|
8583
8583
|
let e, i, n, o;
|
|
8584
8584
|
return {
|
|
8585
8585
|
c() {
|
|
8586
|
-
e =
|
|
8586
|
+
e = Pe("svg"), i = Pe("path"), Ki(
|
|
8587
8587
|
i,
|
|
8588
8588
|
"fill",
|
|
8589
8589
|
/*color*/
|
|
@@ -8621,9 +8621,9 @@ function F0(t, e, i) {
|
|
|
8621
8621
|
"scale" in s && i(0, n = s.scale), "color" in s && i(1, o = s.color);
|
|
8622
8622
|
}, [n, o];
|
|
8623
8623
|
}
|
|
8624
|
-
class U0 extends
|
|
8624
|
+
class U0 extends Te {
|
|
8625
8625
|
constructor(e) {
|
|
8626
|
-
super(),
|
|
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,9 +8779,9 @@ function Z0(t, e, i) {
|
|
|
8779
8779
|
g
|
|
8780
8780
|
];
|
|
8781
8781
|
}
|
|
8782
|
-
class Rr extends
|
|
8782
|
+
class Rr extends Te {
|
|
8783
8783
|
constructor(e) {
|
|
8784
|
-
super(),
|
|
8784
|
+
super(), we(this, e, Z0, Y0, pe, {
|
|
8785
8785
|
downloadFormats: 7,
|
|
8786
8786
|
contentIndex: 8,
|
|
8787
8787
|
audio: 9,
|
|
@@ -8853,7 +8853,7 @@ function J0(t) {
|
|
|
8853
8853
|
let e, i, n, o;
|
|
8854
8854
|
return {
|
|
8855
8855
|
c() {
|
|
8856
|
-
e =
|
|
8856
|
+
e = Pe("svg"), i = Pe("path"), Gi(
|
|
8857
8857
|
i,
|
|
8858
8858
|
"fill",
|
|
8859
8859
|
/*color*/
|
|
@@ -8891,9 +8891,9 @@ function X0(t, e, i) {
|
|
|
8891
8891
|
"scale" in s && i(0, n = s.scale), "color" in s && i(1, o = s.color);
|
|
8892
8892
|
}, [n, o];
|
|
8893
8893
|
}
|
|
8894
|
-
class Q0 extends
|
|
8894
|
+
class Q0 extends Te {
|
|
8895
8895
|
constructor(e) {
|
|
8896
|
-
super(),
|
|
8896
|
+
super(), we(this, e, X0, J0, pe, { scale: 0, color: 1 });
|
|
8897
8897
|
}
|
|
8898
8898
|
get scale() {
|
|
8899
8899
|
return this.$$.ctx[0];
|
|
@@ -8973,9 +8973,9 @@ function i2(t, e, i) {
|
|
|
8973
8973
|
"scale" in a && i(0, n = a.scale), "color" in a && i(1, o = a.color), "onEvent" in a && i(3, s = a.onEvent);
|
|
8974
8974
|
}, [n, o, l, s];
|
|
8975
8975
|
}
|
|
8976
|
-
class n2 extends
|
|
8976
|
+
class n2 extends Te {
|
|
8977
8977
|
constructor(e) {
|
|
8978
|
-
super(),
|
|
8978
|
+
super(), we(this, e, i2, t2, pe, { scale: 0, color: 1, onEvent: 3 });
|
|
8979
8979
|
}
|
|
8980
8980
|
get scale() {
|
|
8981
8981
|
return this.$$.ctx[0];
|
|
@@ -9001,7 +9001,7 @@ function l2(t) {
|
|
|
9001
9001
|
let e, i, n, o;
|
|
9002
9002
|
return {
|
|
9003
9003
|
c() {
|
|
9004
|
-
e =
|
|
9004
|
+
e = Pe("svg"), i = Pe("path"), Ji(
|
|
9005
9005
|
i,
|
|
9006
9006
|
"fill",
|
|
9007
9007
|
/*color*/
|
|
@@ -9039,9 +9039,9 @@ function a2(t, e, i) {
|
|
|
9039
9039
|
"scale" in s && i(0, n = s.scale), "color" in s && i(1, o = s.color);
|
|
9040
9040
|
}, [n, o];
|
|
9041
9041
|
}
|
|
9042
|
-
class r2 extends
|
|
9042
|
+
class r2 extends Te {
|
|
9043
9043
|
constructor(e) {
|
|
9044
|
-
super(),
|
|
9044
|
+
super(), we(this, e, a2, l2, pe, { scale: 0, color: 1 });
|
|
9045
9045
|
}
|
|
9046
9046
|
get scale() {
|
|
9047
9047
|
return this.$$.ctx[0];
|
|
@@ -9132,9 +9132,9 @@ function g2(t, e, i) {
|
|
|
9132
9132
|
"scale" in r && i(0, n = r.scale), "color" in r && i(1, o = r.color), "margin" in r && i(2, s = r.margin), "onEvent" in r && i(4, l = r.onEvent);
|
|
9133
9133
|
}, [n, o, s, a, l];
|
|
9134
9134
|
}
|
|
9135
|
-
class f2 extends
|
|
9135
|
+
class f2 extends Te {
|
|
9136
9136
|
constructor(e) {
|
|
9137
|
-
super(),
|
|
9137
|
+
super(), we(this, e, g2, d2, pe, {
|
|
9138
9138
|
scale: 0,
|
|
9139
9139
|
color: 1,
|
|
9140
9140
|
margin: 2,
|
|
@@ -9171,7 +9171,7 @@ function _2(t) {
|
|
|
9171
9171
|
let e, i, n, o;
|
|
9172
9172
|
return {
|
|
9173
9173
|
c() {
|
|
9174
|
-
e =
|
|
9174
|
+
e = Pe("svg"), i = Pe("path"), tn(
|
|
9175
9175
|
i,
|
|
9176
9176
|
"fill",
|
|
9177
9177
|
/*color*/
|
|
@@ -9209,9 +9209,9 @@ function A2(t, e, i) {
|
|
|
9209
9209
|
"scale" in s && i(0, n = s.scale), "color" in s && i(1, o = s.color);
|
|
9210
9210
|
}, [n, o];
|
|
9211
9211
|
}
|
|
9212
|
-
class y2 extends
|
|
9212
|
+
class y2 extends Te {
|
|
9213
9213
|
constructor(e) {
|
|
9214
|
-
super(),
|
|
9214
|
+
super(), we(this, e, A2, _2, pe, { scale: 0, color: 1 });
|
|
9215
9215
|
}
|
|
9216
9216
|
get scale() {
|
|
9217
9217
|
return this.$$.ctx[0];
|
|
@@ -9339,9 +9339,9 @@ function p2(t, e, i) {
|
|
|
9339
9339
|
_
|
|
9340
9340
|
];
|
|
9341
9341
|
}
|
|
9342
|
-
class S2 extends
|
|
9342
|
+
class S2 extends Te {
|
|
9343
9343
|
constructor(e) {
|
|
9344
|
-
super(),
|
|
9344
|
+
super(), we(this, e, p2, k2, pe, {
|
|
9345
9345
|
href: 9,
|
|
9346
9346
|
scale: 10,
|
|
9347
9347
|
color: 11,
|
|
@@ -9413,7 +9413,7 @@ function T2(t) {
|
|
|
9413
9413
|
let e, i, n, o;
|
|
9414
9414
|
return {
|
|
9415
9415
|
c() {
|
|
9416
|
-
e =
|
|
9416
|
+
e = Pe("svg"), i = Pe("path"), Ut(
|
|
9417
9417
|
i,
|
|
9418
9418
|
"fill",
|
|
9419
9419
|
/*color*/
|
|
@@ -9447,7 +9447,7 @@ function C2(t) {
|
|
|
9447
9447
|
let e, i, n, o;
|
|
9448
9448
|
return {
|
|
9449
9449
|
c() {
|
|
9450
|
-
e =
|
|
9450
|
+
e = Pe("svg"), i = Pe("path"), Ut(
|
|
9451
9451
|
i,
|
|
9452
9452
|
"fill",
|
|
9453
9453
|
/*color*/
|
|
@@ -9509,9 +9509,9 @@ function O2(t, e, i) {
|
|
|
9509
9509
|
"scale" in l && i(0, n = l.scale), "color" in l && i(1, o = l.color), "circular" in l && i(2, s = l.circular);
|
|
9510
9510
|
}, [n, o, s];
|
|
9511
9511
|
}
|
|
9512
|
-
class Fr extends
|
|
9512
|
+
class Fr extends Te {
|
|
9513
9513
|
constructor(e) {
|
|
9514
|
-
super(),
|
|
9514
|
+
super(), we(this, e, O2, I2, pe, { scale: 0, color: 1, circular: 2 });
|
|
9515
9515
|
}
|
|
9516
9516
|
get scale() {
|
|
9517
9517
|
return this.$$.ctx[0];
|
|
@@ -9675,9 +9675,9 @@ function z2(t, e, i) {
|
|
|
9675
9675
|
u
|
|
9676
9676
|
];
|
|
9677
9677
|
}
|
|
9678
|
-
class L2 extends
|
|
9678
|
+
class L2 extends Te {
|
|
9679
9679
|
constructor(e) {
|
|
9680
|
-
super(),
|
|
9680
|
+
super(), we(this, e, z2, E2, pe, {
|
|
9681
9681
|
href: 6,
|
|
9682
9682
|
scale: 0,
|
|
9683
9683
|
color: 1,
|
|
@@ -9728,7 +9728,7 @@ function D2(t) {
|
|
|
9728
9728
|
let e, i, n, o, s, l, a, r, u;
|
|
9729
9729
|
return {
|
|
9730
9730
|
c() {
|
|
9731
|
-
e =
|
|
9731
|
+
e = Pe("svg"), i = Pe("path"), n = Pe("path"), o = Pe("defs"), s = Pe("linearGradient"), l = Pe("stop"), a = Pe("stop"), xt(i, "fill", "url(#" + /*gradientId*/
|
|
9732
9732
|
t[3] + ")"), xt(i, "d", "M4.51819 0C3.20323 0.00414605 2.06058 0.402167 1.23154 1.23171C0.401171 2.06225 0.00315099 3.20622 0 4.52301V4.55435C0.00613614 7.21612 1.61729 10.5771 4.523 13.4826C6.55223 15.5125 8.90619 16.989 11.1512 17.6401C11.9816 17.8809 12.7653 18 13.4871 18C14.8315 18 15.9609 17.5859 16.7732 16.7738C18.0215 15.5255 18.3298 13.5286 17.6401 11.1512C16.9891 8.90638 15.5126 6.55259 13.4826 4.52284C10.5769 1.61679 7.2161 0.00597031 4.55417 0H4.51819ZM11.5084 16.4099C9.46706 15.818 7.30764 14.4566 5.42849 12.577C1.70684 8.85563 0.199673 4.07507 2.13703 2.13737C2.7125 1.56207 3.53856 1.29058 4.51354 1.29058C6.82123 1.29058 9.9611 2.81235 12.5771 5.42851C14.4569 7.308 15.8176 9.46709 16.41 11.5083C16.9634 13.4166 16.7709 14.9649 15.8677 15.8681C15.302 16.4331 14.4843 16.72 13.4841 16.72C12.8859 16.72 12.222 16.6172 11.5084 16.4099Z"), xt(n, "fill", "url(#" + /*gradientId*/
|
|
9733
9733
|
t[3] + ")"), xt(n, "d", "M11.1483 0.360687C8.90517 1.01235 6.55252 2.48946 4.52328 4.5188C0.166276 8.87725 -1.28019 14.2587 1.23026 16.7697C2.06293 17.6026 3.21138 18 4.5339 18C7.19718 18 10.5655 16.3873 13.4767 13.4752C17.8334 9.11694 19.28 3.73601 16.7702 1.22481C15.9583 0.413305 14.8303 0 13.4865 0C12.7642 0 11.9795 0.11951 11.1483 0.360687ZM2.14341 15.856C1.24354 14.9563 1.05288 13.4115 1.60627 11.5066C2.19817 9.468 3.55852 7.31101 5.43692 5.43222C7.31433 3.55376 9.47084 2.19334 11.5085 1.60093C12.2231 1.39362 12.8867 1.29071 13.4845 1.29071C14.4808 1.29071 15.2947 1.57604 15.8566 2.13856C16.7563 3.0382 16.947 4.5832 16.3937 6.48756C15.8018 8.52586 14.4415 10.683 12.5632 12.562C9.94941 15.1771 6.8127 16.6998 4.50967 16.6998C3.53911 16.6998 2.71639 16.4293 2.14341 15.856Z"), xt(
|
|
9734
9734
|
l,
|
|
@@ -9784,9 +9784,9 @@ function R2(t, e, i) {
|
|
|
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 N2 extends
|
|
9787
|
+
class N2 extends Te {
|
|
9788
9788
|
constructor(e) {
|
|
9789
|
-
super(),
|
|
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];
|
|
@@ -9873,9 +9873,9 @@ function q2(t, e, i) {
|
|
|
9873
9873
|
"scale" in a && i(0, n = a.scale), "visible" in a && i(1, o = a.visible), "onEvent" in a && i(3, s = a.onEvent);
|
|
9874
9874
|
}, [n, o, l, s];
|
|
9875
9875
|
}
|
|
9876
|
-
let Ur = class extends
|
|
9876
|
+
let Ur = class extends Te {
|
|
9877
9877
|
constructor(e) {
|
|
9878
|
-
super(),
|
|
9878
|
+
super(), we(this, e, q2, H2, pe, { scale: 0, visible: 1, onEvent: 3 });
|
|
9879
9879
|
}
|
|
9880
9880
|
get scale() {
|
|
9881
9881
|
return this.$$.ctx[0];
|
|
@@ -9970,9 +9970,9 @@ function G2(t, e, i) {
|
|
|
9970
9970
|
"href" in r && i(0, n = r.href), "scale" in r && i(1, o = r.scale), "color" in r && i(2, s = r.color), "onEvent" in r && i(4, l = r.onEvent);
|
|
9971
9971
|
}, [n, o, s, a, l];
|
|
9972
9972
|
}
|
|
9973
|
-
class J2 extends
|
|
9973
|
+
class J2 extends Te {
|
|
9974
9974
|
constructor(e) {
|
|
9975
|
-
super(),
|
|
9975
|
+
super(), we(this, e, G2, K2, pe, { href: 0, scale: 1, color: 2, onEvent: 4 });
|
|
9976
9976
|
}
|
|
9977
9977
|
get href() {
|
|
9978
9978
|
return this.$$.ctx[0];
|
|
@@ -10187,9 +10187,9 @@ function i_(t, e, i) {
|
|
|
10187
10187
|
"src" in u && i(0, n = u.src), "href" in u && i(1, o = u.href), "alt" in u && i(2, s = u.alt), "size" in u && i(3, l = u.size), "onEvent" in u && i(5, a = u.onEvent);
|
|
10188
10188
|
}, [n, o, s, l, r, a];
|
|
10189
10189
|
}
|
|
10190
|
-
class n_ extends
|
|
10190
|
+
class n_ extends Te {
|
|
10191
10191
|
constructor(e) {
|
|
10192
|
-
super(),
|
|
10192
|
+
super(), we(this, e, i_, t_, pe, {
|
|
10193
10193
|
src: 0,
|
|
10194
10194
|
href: 1,
|
|
10195
10195
|
alt: 2,
|
|
@@ -10296,9 +10296,9 @@ function a_(t, e, i) {
|
|
|
10296
10296
|
A
|
|
10297
10297
|
];
|
|
10298
10298
|
}
|
|
10299
|
-
class Hr extends
|
|
10299
|
+
class Hr extends Te {
|
|
10300
10300
|
constructor(e) {
|
|
10301
|
-
super(),
|
|
10301
|
+
super(), we(this, e, a_, l_, pe, {
|
|
10302
10302
|
title: 0,
|
|
10303
10303
|
playerStyle: 1,
|
|
10304
10304
|
scale: 4,
|
|
@@ -10458,9 +10458,9 @@ function d_(t, e, i) {
|
|
|
10458
10458
|
n
|
|
10459
10459
|
];
|
|
10460
10460
|
}
|
|
10461
|
-
class El extends
|
|
10461
|
+
class El extends Te {
|
|
10462
10462
|
constructor(e) {
|
|
10463
|
-
super(),
|
|
10463
|
+
super(), we(this, e, d_, c_, pe, {
|
|
10464
10464
|
title: 0,
|
|
10465
10465
|
maxLines: 1,
|
|
10466
10466
|
maxWidth: 5,
|
|
@@ -10768,9 +10768,9 @@ function h_(t, e, i) {
|
|
|
10768
10768
|
q
|
|
10769
10769
|
];
|
|
10770
10770
|
}
|
|
10771
|
-
class __ extends
|
|
10771
|
+
class __ extends Te {
|
|
10772
10772
|
constructor(e) {
|
|
10773
|
-
super(),
|
|
10773
|
+
super(), we(this, e, h_, m_, pe, {
|
|
10774
10774
|
progress: 0,
|
|
10775
10775
|
duration: 1,
|
|
10776
10776
|
fullWidth: 2,
|
|
@@ -10882,7 +10882,7 @@ function b_(t) {
|
|
|
10882
10882
|
);
|
|
10883
10883
|
return {
|
|
10884
10884
|
c() {
|
|
10885
|
-
e = y("div"), i =
|
|
10885
|
+
e = y("div"), i = Pe("svg"), n = Pe("circle"), s = J(), d && d.c(), Dt(n, "cx", "50%"), Dt(n, "cy", "50%"), Dt(
|
|
10886
10886
|
n,
|
|
10887
10887
|
"r",
|
|
10888
10888
|
/*radius*/
|
|
@@ -11085,9 +11085,9 @@ function p_(t, e, i) {
|
|
|
11085
11085
|
u
|
|
11086
11086
|
];
|
|
11087
11087
|
}
|
|
11088
|
-
class S_ extends
|
|
11088
|
+
class S_ extends Te {
|
|
11089
11089
|
constructor(e) {
|
|
11090
|
-
super(),
|
|
11090
|
+
super(), we(this, e, p_, k_, pe, {
|
|
11091
11091
|
progress: 9,
|
|
11092
11092
|
enabled: 0,
|
|
11093
11093
|
bold: 10,
|
|
@@ -11193,9 +11193,9 @@ function I_(t, e, i) {
|
|
|
11193
11193
|
"text" in a && i(0, n = a.text), "remaining" in a && i(1, o = a.remaining), "scale" in a && i(2, s = a.scale), "color" in a && i(3, l = a.color);
|
|
11194
11194
|
}, [n, o, s, l];
|
|
11195
11195
|
}
|
|
11196
|
-
class O_ extends
|
|
11196
|
+
class O_ extends Te {
|
|
11197
11197
|
constructor(e) {
|
|
11198
|
-
super(),
|
|
11198
|
+
super(), we(this, e, I_, C_, pe, {
|
|
11199
11199
|
text: 0,
|
|
11200
11200
|
remaining: 1,
|
|
11201
11201
|
scale: 2,
|
|
@@ -11349,9 +11349,9 @@ function L_(t, e, i) {
|
|
|
11349
11349
|
64 && i(4, o = Math.round(s || 0) % 60);
|
|
11350
11350
|
}, [l, a, r, u, o, n, s];
|
|
11351
11351
|
}
|
|
11352
|
-
class qr extends
|
|
11352
|
+
class qr extends Te {
|
|
11353
11353
|
constructor(e) {
|
|
11354
|
-
super(),
|
|
11354
|
+
super(), we(this, e, L_, z_, pe, {
|
|
11355
11355
|
duration: 6,
|
|
11356
11356
|
durationFormat: 0,
|
|
11357
11357
|
bold: 1,
|
|
@@ -11444,9 +11444,9 @@ function N_(t, e, i) {
|
|
|
11444
11444
|
"currentTime" in a && i(0, n = a.currentTime), "duration" in a && i(1, o = a.duration), "scale" in a && i(2, s = a.scale), "color" in a && i(3, l = a.color);
|
|
11445
11445
|
}, [n, o, s, l];
|
|
11446
11446
|
}
|
|
11447
|
-
class F_ extends
|
|
11447
|
+
class F_ extends Te {
|
|
11448
11448
|
constructor(e) {
|
|
11449
|
-
super(),
|
|
11449
|
+
super(), we(this, e, N_, R_, pe, {
|
|
11450
11450
|
currentTime: 0,
|
|
11451
11451
|
duration: 1,
|
|
11452
11452
|
scale: 2,
|
|
@@ -11774,9 +11774,9 @@ function J_(t, e, i) {
|
|
|
11774
11774
|
o
|
|
11775
11775
|
];
|
|
11776
11776
|
}
|
|
11777
|
-
class X_ extends
|
|
11777
|
+
class X_ extends Te {
|
|
11778
11778
|
constructor(e) {
|
|
11779
|
-
super(),
|
|
11779
|
+
super(), we(this, e, J_, G_, pe, {
|
|
11780
11780
|
duration: 0,
|
|
11781
11781
|
durationFormat: 1,
|
|
11782
11782
|
currentTime: 2,
|
|
@@ -11869,7 +11869,7 @@ function eA(t) {
|
|
|
11869
11869
|
let e, i, n, o, s, l;
|
|
11870
11870
|
return {
|
|
11871
11871
|
c() {
|
|
11872
|
-
e =
|
|
11872
|
+
e = Pe("svg"), i = Pe("rect"), n = Pe("path"), $t(
|
|
11873
11873
|
i,
|
|
11874
11874
|
"fill",
|
|
11875
11875
|
/*fill*/
|
|
@@ -11921,9 +11921,9 @@ function tA(t, e, i) {
|
|
|
11921
11921
|
"scale" in a && i(0, n = a.scale), "zoom" in a && i(1, o = a.zoom), "color" in a && i(2, s = a.color), "fill" in a && i(3, l = a.fill);
|
|
11922
11922
|
}, [n, o, s, l];
|
|
11923
11923
|
}
|
|
11924
|
-
class Yr extends
|
|
11924
|
+
class Yr extends Te {
|
|
11925
11925
|
constructor(e) {
|
|
11926
|
-
super(),
|
|
11926
|
+
super(), we(this, e, tA, eA, pe, { scale: 0, zoom: 1, color: 2, fill: 3 });
|
|
11927
11927
|
}
|
|
11928
11928
|
get scale() {
|
|
11929
11929
|
return this.$$.ctx[0];
|
|
@@ -12405,9 +12405,9 @@ function aA(t, e, i) {
|
|
|
12405
12405
|
x
|
|
12406
12406
|
];
|
|
12407
12407
|
}
|
|
12408
|
-
class rA extends
|
|
12408
|
+
class rA extends Te {
|
|
12409
12409
|
constructor(e) {
|
|
12410
|
-
super(),
|
|
12410
|
+
super(), we(this, e, aA, lA, pe, {
|
|
12411
12411
|
style: 16,
|
|
12412
12412
|
downloadFormats: 0,
|
|
12413
12413
|
larger: 1,
|
|
@@ -12584,9 +12584,9 @@ function gA(t, e, i) {
|
|
|
12584
12584
|
n
|
|
12585
12585
|
];
|
|
12586
12586
|
}
|
|
12587
|
-
class fA extends
|
|
12587
|
+
class fA extends Te {
|
|
12588
12588
|
constructor(e) {
|
|
12589
|
-
super(),
|
|
12589
|
+
super(), we(this, e, gA, dA, pe, {
|
|
12590
12590
|
exitDelay: 5,
|
|
12591
12591
|
idleDelay: 0,
|
|
12592
12592
|
isHovering: 4
|
|
@@ -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
|
]);
|
|
@@ -12706,9 +12706,9 @@ function yA(t, e, i) {
|
|
|
12706
12706
|
f
|
|
12707
12707
|
];
|
|
12708
12708
|
}
|
|
12709
|
-
class vA extends
|
|
12709
|
+
class vA extends Te {
|
|
12710
12710
|
constructor(e) {
|
|
12711
|
-
super(),
|
|
12711
|
+
super(), we(this, e, yA, AA, pe, {
|
|
12712
12712
|
enabled: 4,
|
|
12713
12713
|
relativeY: 1,
|
|
12714
12714
|
absoluteY: 2,
|
|
@@ -14676,11 +14676,11 @@ function zA(t) {
|
|
|
14676
14676
|
function LA(t, e, i) {
|
|
14677
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:
|
|
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));
|
|
14683
|
-
},
|
|
14683
|
+
}, F = (K) => {
|
|
14684
14684
|
!a || !(K.button === 0) || !K.target.classList.contains("main") || at(ke({
|
|
14685
14685
|
type: "PressedVideoBackground",
|
|
14686
14686
|
description: "The video background was pressed.",
|
|
@@ -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,
|
|
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*/
|
|
@@ -14742,7 +14742,7 @@ function LA(t, e, i) {
|
|
|
14742
14742
|
545259520 | t.$$.dirty[1] & /*nonVideoIconColor*/
|
|
14743
14743
|
64 | t.$$.dirty[2] & /*activeAdvert, videoIconColor*/
|
|
14744
14744
|
263168 && i(60, O = a ? d && De.videoIconColor || vt : T), t.$$.dirty[2] & /*skipButtonStyle, isPlaylist*/
|
|
14745
|
-
4194368 && i(59, x =
|
|
14745
|
+
4194368 && i(59, x = Ce === "auto" ? g ? "tracks" : "segments" : Ce), t.$$.dirty[0] & /*isSmall, isVideo, fixedPosition, isScreen*/
|
|
14746
14746
|
343933440 | t.$$.dirty[1] & /*isMobile*/
|
|
14747
14747
|
4 && i(36, p = n || a && Oe ? 0.8 : l && !f ? 2 : 1), t.$$.dirty[0] & /*isScreen, isVideo*/
|
|
14748
14748
|
276824064 | t.$$.dirty[1] & /*buttonScale, isStopped*/
|
|
@@ -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, Ne = (
|
|
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();
|
|
@@ -14865,9 +14865,9 @@ function LA(t, e, i) {
|
|
|
14865
14865
|
r,
|
|
14866
14866
|
s,
|
|
14867
14867
|
Tt,
|
|
14868
|
-
|
|
14869
|
-
Te,
|
|
14868
|
+
F,
|
|
14870
14869
|
Ce,
|
|
14870
|
+
Se,
|
|
14871
14871
|
qe,
|
|
14872
14872
|
$e,
|
|
14873
14873
|
De,
|
|
@@ -14894,9 +14894,9 @@ function LA(t, e, i) {
|
|
|
14894
14894
|
le
|
|
14895
14895
|
];
|
|
14896
14896
|
}
|
|
14897
|
-
class zl extends
|
|
14897
|
+
class zl extends Te {
|
|
14898
14898
|
constructor(e) {
|
|
14899
|
-
super(),
|
|
14899
|
+
super(), we(
|
|
14900
14900
|
this,
|
|
14901
14901
|
e,
|
|
14902
14902
|
LA,
|
|
@@ -15242,9 +15242,9 @@ function RA(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 Ns extends
|
|
15245
|
+
class Ns extends Te {
|
|
15246
15246
|
constructor(e) {
|
|
15247
|
-
super(),
|
|
15247
|
+
super(), we(this, e, RA, DA, pe, { root: 0, prepend: 2 });
|
|
15248
15248
|
}
|
|
15249
15249
|
get root() {
|
|
15250
15250
|
return this.$$.ctx[0];
|
|
@@ -15324,7 +15324,7 @@ 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, N, L, Be, Le, Qe, j, he, ze, Ne, Ge, Me, nt,
|
|
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 = [];
|
|
@@ -15354,10 +15354,10 @@ function Ua(t) {
|
|
|
15354
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
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
15358
|
for (let R = 0; R < Ct.length; R += 1)
|
|
15359
15359
|
Ct[R].c();
|
|
15360
|
-
Je = J(),
|
|
15360
|
+
Je = J(), Se = y("div"), Lt = ie(`introsOutrosIndex:
|
|
15361
15361
|
`), Ee = y("select"), ft = y("option"), ft.textContent = "-1 (none)";
|
|
15362
15362
|
for (let R = 0; R < It.length; R += 1)
|
|
15363
15363
|
It[R].c();
|
|
@@ -15371,7 +15371,7 @@ function Ua(t) {
|
|
|
15371
15371
|
`), vt = y("input"), Vt = J(), wt = y("div"), tt = ie(`playbackRate:
|
|
15372
15372
|
`), at = y("input"), Bt = J(), bt = y("div"), kt = ie(`widgetTarget:
|
|
15373
15373
|
`), Ke = y("input"), rt = J(), pt = y("div"), st = ie(`logoIconEnabled:
|
|
15374
|
-
`), it = y("select"), He = y("option"), He.textContent = `${!1}`, ht = y("option"), ht.textContent = `${!0}`, Tt = J(),
|
|
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
15377
|
`), Gt = y("input"), Nt = J(), Ci = y("div"), zi = ie(`analyticsTag:
|
|
@@ -15383,15 +15383,15 @@ function Ua(t) {
|
|
|
15383
15383
|
t[12] === void 0 && dt(() => (
|
|
15384
15384
|
/*select1_change_handler_1*/
|
|
15385
15385
|
t[75].call(j)
|
|
15386
|
-
)), W(Le, "class", "control svelte-1a8td5m"), W(
|
|
15386
|
+
)), W(Le, "class", "control svelte-1a8td5m"), W(Ce, "tabindex", -1), W(Ce, "class", "svelte-1a8td5m"), /*contentIndex*/
|
|
15387
15387
|
t[13] === void 0 && dt(() => (
|
|
15388
15388
|
/*select2_change_handler_1*/
|
|
15389
|
-
t[76].call(
|
|
15389
|
+
t[76].call(Ce)
|
|
15390
15390
|
)), W(Me, "class", "control svelte-1a8td5m"), ft.__value = -1, H(ft, ft.__value), W(Ee, "tabindex", -1), W(Ee, "class", "svelte-1a8td5m"), /*introsOutrosIndex*/
|
|
15391
15391
|
t[14] === void 0 && dt(() => (
|
|
15392
15392
|
/*select3_change_handler_1*/
|
|
15393
15393
|
t[77].call(Ee)
|
|
15394
|
-
)), W(
|
|
15394
|
+
)), W(Se, "class", "control svelte-1a8td5m"), St.__value = !1, H(St, St.__value), Ye.__value = !0, H(Ye, Ye.__value), W(xe, "tabindex", -1), W(xe, "class", "svelte-1a8td5m"), /*persistentAdImage*/
|
|
15395
15395
|
t[16] === void 0 && dt(() => (
|
|
15396
15396
|
/*select4_change_handler_1*/
|
|
15397
15397
|
t[78].call(xe)
|
|
@@ -15407,7 +15407,7 @@ function Ua(t) {
|
|
|
15407
15407
|
t[38] === void 0 && dt(() => (
|
|
15408
15408
|
/*select7_change_handler_1*/
|
|
15409
15409
|
t[85].call(te)
|
|
15410
|
-
)), W(
|
|
15410
|
+
)), W(F, "class", "control svelte-1a8td5m"), Ti.__value = "allowed", H(Ti, Ti.__value), ri.__value = "without-local-storage", H(ri, ri.__value), ui.__value = "none", H(ui, ui.__value), W(Et, "tabindex", -1), W(Et, "class", "svelte-1a8td5m"), /*analyticsConsent*/
|
|
15411
15411
|
t[39] === void 0 && dt(() => (
|
|
15412
15412
|
/*select8_change_handler_1*/
|
|
15413
15413
|
t[86].call(Et)
|
|
@@ -15452,15 +15452,15 @@ function Ua(t) {
|
|
|
15452
15452
|
/*mediaSession*/
|
|
15453
15453
|
t[12],
|
|
15454
15454
|
!0
|
|
15455
|
-
), E(R, Ge, G), E(R, Me, G), h(Me, nt), h(Me,
|
|
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
|
-
Ct[fe] && Ct[fe].m(
|
|
15457
|
+
Ct[fe] && Ct[fe].m(Ce, null);
|
|
15458
15458
|
We(
|
|
15459
|
-
|
|
15459
|
+
Ce,
|
|
15460
15460
|
/*contentIndex*/
|
|
15461
15461
|
t[13],
|
|
15462
15462
|
!0
|
|
15463
|
-
), E(R, Je, G), E(R,
|
|
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(
|
|
@@ -15502,7 +15502,7 @@ function Ua(t) {
|
|
|
15502
15502
|
/*logoIconEnabled*/
|
|
15503
15503
|
t[33],
|
|
15504
15504
|
!0
|
|
15505
|
-
), E(R, Tt, G), E(R,
|
|
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],
|
|
@@ -15576,7 +15576,7 @@ function Ua(t) {
|
|
|
15576
15576
|
t[75]
|
|
15577
15577
|
),
|
|
15578
15578
|
Y(
|
|
15579
|
-
|
|
15579
|
+
Ce,
|
|
15580
15580
|
"change",
|
|
15581
15581
|
/*select2_change_handler_1*/
|
|
15582
15582
|
t[76]
|
|
@@ -15717,7 +15717,7 @@ function Ua(t) {
|
|
|
15717
15717
|
let fe;
|
|
15718
15718
|
for (fe = 0; fe < ni.length; fe += 1) {
|
|
15719
15719
|
const Ht = Ra(R, ni, fe);
|
|
15720
|
-
Ct[fe] ? Ct[fe].p(Ht, G) : (Ct[fe] = Ha(Ht), Ct[fe].c(), Ct[fe].m(
|
|
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)
|
|
15723
15723
|
Ct[fe].d(1);
|
|
@@ -15725,7 +15725,7 @@ function Ua(t) {
|
|
|
15725
15725
|
}
|
|
15726
15726
|
if (G[0] & /*contentIndex*/
|
|
15727
15727
|
8192 && We(
|
|
15728
|
-
|
|
15728
|
+
Ce,
|
|
15729
15729
|
/*contentIndex*/
|
|
15730
15730
|
R[13]
|
|
15731
15731
|
), G[1] & /*introsOutros*/
|
|
@@ -15827,7 +15827,7 @@ function Ua(t) {
|
|
|
15827
15827
|
);
|
|
15828
15828
|
},
|
|
15829
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(
|
|
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,7 +15950,7 @@ 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, N, L, Be, Le, Qe, j, he, ze, Ne, Ge, Me, nt,
|
|
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 = [];
|
|
@@ -15979,7 +15979,7 @@ function ZA(t) {
|
|
|
15979
15979
|
`), X = y("input"), oe = J(), ae = y("div"), $ = ie(`skipButtonStyle:
|
|
15980
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
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
|
-
`), nt = y("select"),
|
|
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();
|
|
@@ -15987,7 +15987,7 @@ function ZA(t) {
|
|
|
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:
|
|
15990
|
-
`), He = y("select"), ht = y("option"), ht.textContent = "16px", Tt = y("option"), Tt.textContent = "32px",
|
|
15990
|
+
`), He = y("select"), ht = y("option"), ht.textContent = "16px", Tt = y("option"), Tt.textContent = "32px", F = y("option"), F.textContent = "32px 16px", ut = y("option"), ut.textContent = "10px 20px 30px 40px", te = J(), I = y("div"), B = ie(`textColor:
|
|
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:
|
|
@@ -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(N, "class", "control svelte-1a8td5m"),
|
|
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)
|
|
@@ -16034,7 +16034,7 @@ function ZA(t) {
|
|
|
16034
16034
|
t[24] === void 0 && dt(() => (
|
|
16035
16035
|
/*select8_change_handler*/
|
|
16036
16036
|
t[57].call(tt)
|
|
16037
|
-
)), W(Vt, "class", "control svelte-1a8td5m"), ht.__value = "16px", H(ht, ht.__value), Tt.__value = "32px", H(Tt, Tt.__value),
|
|
16037
|
+
)), W(Vt, "class", "control svelte-1a8td5m"), ht.__value = "16px", H(ht, ht.__value), Tt.__value = "32px", H(Tt, Tt.__value), F.__value = "32px 16px", H(F, F.__value), ut.__value = "10px 20px 30px 40px", H(ut, ut.__value), W(He, "tabindex", -1), W(He, "class", "svelte-1a8td5m"), /*widgetMargin*/
|
|
16038
16038
|
t[25] === void 0 && dt(() => (
|
|
16039
16039
|
/*select9_change_handler*/
|
|
16040
16040
|
t[58].call(He)
|
|
@@ -16085,7 +16085,7 @@ function ZA(t) {
|
|
|
16085
16085
|
/*playlistStyle*/
|
|
16086
16086
|
t[10],
|
|
16087
16087
|
!0
|
|
16088
|
-
), h(e, Ne), h(e, Ge), h(Ge, Me), h(Ge, nt), h(nt,
|
|
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],
|
|
@@ -16113,7 +16113,7 @@ function ZA(t) {
|
|
|
16113
16113
|
/*widgetWidth*/
|
|
16114
16114
|
t[24],
|
|
16115
16115
|
!0
|
|
16116
|
-
), h(e, pt), h(e, st), h(st, it), h(st, He), h(He, ht), h(He, Tt), h(He,
|
|
16116
|
+
), h(e, pt), h(e, st), h(st, it), h(st, He), h(He, ht), h(He, Tt), h(He, F), h(He, ut), We(
|
|
16117
16117
|
He,
|
|
16118
16118
|
/*widgetMargin*/
|
|
16119
16119
|
t[25],
|
|
@@ -16424,13 +16424,13 @@ function KA(t, e, i) {
|
|
|
16424
16424
|
function nt() {
|
|
16425
16425
|
d = zt(this), i(6, d);
|
|
16426
16426
|
}
|
|
16427
|
-
function
|
|
16427
|
+
function Ce() {
|
|
16428
16428
|
X = zt(this), i(20, X);
|
|
16429
16429
|
}
|
|
16430
16430
|
function Je() {
|
|
16431
16431
|
g = this.value, i(7, g);
|
|
16432
16432
|
}
|
|
16433
|
-
function
|
|
16433
|
+
function Se() {
|
|
16434
16434
|
f = this.value, i(8, f);
|
|
16435
16435
|
}
|
|
16436
16436
|
function Lt() {
|
|
@@ -16544,7 +16544,7 @@ function KA(t, e, i) {
|
|
|
16544
16544
|
function Tt() {
|
|
16545
16545
|
Ne = this.value, i(40, Ne);
|
|
16546
16546
|
}
|
|
16547
|
-
function
|
|
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();
|
|
@@ -16599,9 +16599,9 @@ function KA(t, e, i) {
|
|
|
16599
16599
|
x,
|
|
16600
16600
|
Me,
|
|
16601
16601
|
nt,
|
|
16602
|
-
Te,
|
|
16603
|
-
Je,
|
|
16604
16602
|
Ce,
|
|
16603
|
+
Je,
|
|
16604
|
+
Se,
|
|
16605
16605
|
Lt,
|
|
16606
16606
|
Ee,
|
|
16607
16607
|
ft,
|
|
@@ -16639,15 +16639,15 @@ function KA(t, e, i) {
|
|
|
16639
16639
|
He,
|
|
16640
16640
|
ht,
|
|
16641
16641
|
Tt,
|
|
16642
|
-
|
|
16642
|
+
F,
|
|
16643
16643
|
ut,
|
|
16644
16644
|
te,
|
|
16645
16645
|
I
|
|
16646
16646
|
];
|
|
16647
16647
|
}
|
|
16648
|
-
class GA extends
|
|
16648
|
+
class GA extends Te {
|
|
16649
16649
|
constructor(e) {
|
|
16650
|
-
super(),
|
|
16650
|
+
super(), we(
|
|
16651
16651
|
this,
|
|
16652
16652
|
e,
|
|
16653
16653
|
KA,
|
|
@@ -17294,9 +17294,9 @@ function l3(t, e, i) {
|
|
|
17294
17294
|
Qe
|
|
17295
17295
|
];
|
|
17296
17296
|
}
|
|
17297
|
-
class a3 extends
|
|
17297
|
+
class a3 extends Te {
|
|
17298
17298
|
constructor(e) {
|
|
17299
|
-
super(),
|
|
17299
|
+
super(), we(
|
|
17300
17300
|
this,
|
|
17301
17301
|
e,
|
|
17302
17302
|
l3,
|
|
@@ -17436,9 +17436,9 @@ function d3(t, e, i) {
|
|
|
17436
17436
|
"analyticsTag" in s && i(0, o = s.analyticsTag);
|
|
17437
17437
|
}, i(1, n = window.gtag), [o, n];
|
|
17438
17438
|
}
|
|
17439
|
-
class g3 extends
|
|
17439
|
+
class g3 extends Te {
|
|
17440
17440
|
constructor(e) {
|
|
17441
|
-
super(),
|
|
17441
|
+
super(), we(this, e, d3, c3, pe, { analyticsTag: 0 });
|
|
17442
17442
|
}
|
|
17443
17443
|
get analyticsTag() {
|
|
17444
17444
|
return this.$$.ctx[0];
|
|
@@ -17493,14 +17493,14 @@ function _3(t, e, i) {
|
|
|
17493
17493
|
let n, o;
|
|
17494
17494
|
return i(1, n = window.daxListenerId), i(0, o = Math.floor(Math.random() * 1e10)), [o, n];
|
|
17495
17495
|
}
|
|
17496
|
-
class A3 extends
|
|
17496
|
+
class A3 extends Te {
|
|
17497
17497
|
constructor(e) {
|
|
17498
|
-
super(),
|
|
17498
|
+
super(), we(this, e, _3, h3, pe, {});
|
|
17499
17499
|
}
|
|
17500
17500
|
}
|
|
17501
|
-
class y3 extends
|
|
17501
|
+
class y3 extends Te {
|
|
17502
17502
|
constructor(e) {
|
|
17503
|
-
super(),
|
|
17503
|
+
super(), we(this, e, null, null, pe, {});
|
|
17504
17504
|
}
|
|
17505
17505
|
}
|
|
17506
17506
|
var bo, hl, As, Zr;
|
|
@@ -17515,16 +17515,16 @@ class Ll {
|
|
|
17515
17515
|
var s;
|
|
17516
17516
|
(s = this.consumers)[e] || (s[e] = []);
|
|
17517
17517
|
const o = this.consumers[e].slice(-1)[0];
|
|
17518
|
-
this.consumers[e].push({ consumerId: i, args: n }), !(o &&
|
|
17518
|
+
this.consumers[e].push({ consumerId: i, args: n }), !(o && U(this, bo, hl).call(this, n, o.args)) && (o && this.onDeselected(e, ...o.args), this.onSelected(e, ...n));
|
|
17519
17519
|
}
|
|
17520
17520
|
removeInterest(e, i) {
|
|
17521
17521
|
var l;
|
|
17522
17522
|
(l = this.consumers)[e] || (l[e] = []);
|
|
17523
17523
|
const n = this.consumers[e].slice(-1)[0];
|
|
17524
|
-
if (
|
|
17524
|
+
if (U(this, As, Zr).call(this, this.consumers[e], (a) => a.consumerId === i), !(n && i === n.consumerId))
|
|
17525
17525
|
return;
|
|
17526
17526
|
const s = this.consumers[e].slice(-1)[0];
|
|
17527
|
-
s &&
|
|
17527
|
+
s && U(this, bo, hl).call(this, n.args, s.args) || (this.onDeselected(e, ...n.args), s && this.onSelected(e, ...s.args));
|
|
17528
17528
|
}
|
|
17529
17529
|
}
|
|
17530
17530
|
bo = new WeakSet(), hl = function(e, i) {
|
|
@@ -17543,7 +17543,7 @@ class jl {
|
|
|
17543
17543
|
this.randomIds = /* @__PURE__ */ new WeakMap();
|
|
17544
17544
|
}
|
|
17545
17545
|
fetchOrAdd(e) {
|
|
17546
|
-
return e != null && e.segmentElement ? e.marker ? e.marker : (this.uniqueIds.has(e.segmentElement) || this.uniqueIds.set(e.segmentElement,
|
|
17546
|
+
return e != null && e.segmentElement ? e.marker ? e.marker : (this.uniqueIds.has(e.segmentElement) || this.uniqueIds.set(e.segmentElement, U(this, ys, Kr).call(this)), this.randomIds.get(e.segmentElement)) : null;
|
|
17547
17547
|
}
|
|
17548
17548
|
}
|
|
17549
17549
|
ys = new WeakSet(), Kr = function() {
|
|
@@ -17577,7 +17577,7 @@ ko = new WeakMap(), vs = new WeakSet(), Gr = function(e, i) {
|
|
|
17577
17577
|
const n = document.querySelectorAll(`[data-beyondwords-marker="${i.marker}"]`);
|
|
17578
17578
|
for (const o of n)
|
|
17579
17579
|
Al(o, ss);
|
|
17580
|
-
}, Ve(on, vs), Ve(on, bs), Ve(on, ko, new Ll(
|
|
17580
|
+
}, Ve(on, vs), Ve(on, bs), Ve(on, ko, new Ll(U(on, vs, Gr), U(on, bs, Jr)));
|
|
17581
17581
|
let _l = on;
|
|
17582
17582
|
const Al = (t, e) => {
|
|
17583
17583
|
if (!t)
|
|
@@ -17607,7 +17607,7 @@ const sn = class sn {
|
|
|
17607
17607
|
};
|
|
17608
17608
|
po = new WeakMap(), ks = new WeakSet(), Xr = function(e, i, n, o, s) {
|
|
17609
17609
|
var d;
|
|
17610
|
-
const l =
|
|
17610
|
+
const l = U(d = i, Ss, $r).call(d, n);
|
|
17611
17611
|
["2-oclock", "3-oclock", "4-oclock", "8-oclock", "9-oclock", "10-oclock"].includes(o) && l.classList.add(...er);
|
|
17612
17612
|
const r = document.createElement("div");
|
|
17613
17613
|
r.classList.add(...$a(e, o, s)), ["11-oclock", "12-oclock", "1-oclock"].includes(o) ? l.insertBefore(r, l.firstChild) : l.appendChild(r), i.containers.push(r), i.onUpdate(i.containers);
|
|
@@ -17629,7 +17629,7 @@ po = new WeakMap(), ks = new WeakSet(), Xr = function(e, i, n, o, s) {
|
|
|
17629
17629
|
o = document.querySelectorAll(r);
|
|
17630
17630
|
}
|
|
17631
17631
|
return o.length > 0 ? o[0] : e.segmentElement;
|
|
17632
|
-
}, Ve(sn, ks), Ve(sn, ps), Ve(sn, po, new Ll(
|
|
17632
|
+
}, Ve(sn, ks), Ve(sn, ps), Ve(sn, po, new Ll(U(sn, ks, Xr), U(sn, ps, Qr)));
|
|
17633
17633
|
let yl = sn;
|
|
17634
17634
|
const tr = (t) => ["beyondwords-highlight", "bwp", `id-${t}`];
|
|
17635
17635
|
var So, Ps, eu, ws, tu, Po, bl;
|
|
@@ -17649,7 +17649,7 @@ const ln = class ln {
|
|
|
17649
17649
|
};
|
|
17650
17650
|
So = new WeakMap(), Ps = new WeakSet(), eu = function(e, i, n, o) {
|
|
17651
17651
|
var s;
|
|
17652
|
-
for (const l of
|
|
17652
|
+
for (const l of U(s = i, Po, bl).call(s, n)) {
|
|
17653
17653
|
const a = document.createTreeWalker(l, NodeFilter.SHOW_TEXT, null, !1);
|
|
17654
17654
|
let r;
|
|
17655
17655
|
for (; r = a.nextNode(); ) {
|
|
@@ -17662,7 +17662,7 @@ So = new WeakMap(), Ps = new WeakSet(), eu = function(e, i, n, o) {
|
|
|
17662
17662
|
}
|
|
17663
17663
|
}, ws = new WeakSet(), tu = function(e, i, n) {
|
|
17664
17664
|
var o;
|
|
17665
|
-
for (const s of
|
|
17665
|
+
for (const s of U(o = i, Po, bl).call(o, n)) {
|
|
17666
17666
|
const l = s.querySelectorAll(`mark.${tr(e)}`);
|
|
17667
17667
|
for (const a of l)
|
|
17668
17668
|
for (const r of a.childNodes)
|
|
@@ -17677,7 +17677,7 @@ So = new WeakMap(), Ps = new WeakSet(), eu = function(e, i, n, o) {
|
|
|
17677
17677
|
i.add(r);
|
|
17678
17678
|
}
|
|
17679
17679
|
return i;
|
|
17680
|
-
}, Ve(ln, Ps), Ve(ln, ws), Ve(ln, So, new Ll(
|
|
17680
|
+
}, Ve(ln, Ps), Ve(ln, ws), Ve(ln, So, new Ll(U(ln, Ps, eu), U(ln, ws, tu)));
|
|
17681
17681
|
let vl = ln;
|
|
17682
17682
|
const v3 = () => ke({
|
|
17683
17683
|
type: "IdentifiersChanged",
|
|
@@ -18638,13 +18638,13 @@ function W3(t) {
|
|
|
18638
18638
|
function nt(I) {
|
|
18639
18639
|
t[134](I);
|
|
18640
18640
|
}
|
|
18641
|
-
function
|
|
18641
|
+
function Ce(I) {
|
|
18642
18642
|
t[135](I);
|
|
18643
18643
|
}
|
|
18644
18644
|
function Je(I) {
|
|
18645
18645
|
t[136](I);
|
|
18646
18646
|
}
|
|
18647
|
-
function
|
|
18647
|
+
function Se(I) {
|
|
18648
18648
|
t[137](I);
|
|
18649
18649
|
}
|
|
18650
18650
|
function Lt(I) {
|
|
@@ -18758,7 +18758,7 @@ function W3(t) {
|
|
|
18758
18758
|
function Tt(I) {
|
|
18759
18759
|
t[174](I);
|
|
18760
18760
|
}
|
|
18761
|
-
function
|
|
18761
|
+
function F(I) {
|
|
18762
18762
|
t[175](I);
|
|
18763
18763
|
}
|
|
18764
18764
|
function ut(I) {
|
|
@@ -18869,7 +18869,7 @@ 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",
|
|
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
|
},
|
|
@@ -19250,7 +19250,7 @@ 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: 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:
|
|
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
19255
|
const dn = (...m) => Nt.addEventListener(...m), Et = (...m) => Nt.removeEventListener(...m);
|
|
19256
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;
|
|
@@ -19420,7 +19420,7 @@ function E3(t, e, i) {
|
|
|
19420
19420
|
Tt = m, i(22, Tt);
|
|
19421
19421
|
}
|
|
19422
19422
|
function Yu(m) {
|
|
19423
|
-
|
|
19423
|
+
F = m, i(44, F);
|
|
19424
19424
|
}
|
|
19425
19425
|
function Zu(m) {
|
|
19426
19426
|
ut = m, i(45, ut);
|
|
@@ -19429,11 +19429,11 @@ 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, 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,
|
|
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*/
|
|
19436
|
-
8388608 && i(72, n =
|
|
19436
|
+
8388608 && i(72, n = Se[Lt]), t.$$.dirty[0] & /*introsOutrosIndex*/
|
|
19437
19437
|
256 | t.$$.dirty[1] & /*introsOutros*/
|
|
19438
19438
|
16777216 && i(69, o = Ee[ft]), t.$$.dirty[0] & /*advertIndex*/
|
|
19439
19439
|
512 | t.$$.dirty[1] & /*adverts*/
|
|
@@ -19458,10 +19458,10 @@ function E3(t, e, i) {
|
|
|
19458
19458
|
201326592 && i(82, S = _ ? 120 : k ? 80 : 0), t.$$.dirty[0] & /*showUserInterface*/
|
|
19459
19459
|
32 | t.$$.dirty[1] & /*content*/
|
|
19460
19460
|
8388608 | t.$$.dirty[2] & /*interfaceStyle*/
|
|
19461
|
-
8192 && i(81, T = Le && pl(f) &&
|
|
19461
|
+
8192 && i(81, T = Le && pl(f) && Se.length > 0), t.$$.dirty[0] & /*showUserInterface, widgetStyle*/
|
|
19462
19462
|
8224 | t.$$.dirty[1] & /*content*/
|
|
19463
19463
|
8388608 | t.$$.dirty[3] & /*showWidget*/
|
|
19464
|
-
33554432 && i(80, v = Le && A && pl(et) &&
|
|
19464
|
+
33554432 && i(80, v = Le && A && pl(et) && Se.length > 0), t.$$.dirty[0] & /*controlPanel*/
|
|
19465
19465
|
8388608 && i(23, jt = kl(jt, "control panel")), t.$$.dirty[0] & /*widgetStyle*/
|
|
19466
19466
|
8192 | t.$$.dirty[1] & /*isFullScreen*/
|
|
19467
19467
|
536870912 | t.$$.dirty[3] & /*showWidget*/
|
|
@@ -19548,7 +19548,7 @@ function E3(t, e, i) {
|
|
|
19548
19548
|
tt,
|
|
19549
19549
|
Bt,
|
|
19550
19550
|
bt,
|
|
19551
|
-
|
|
19551
|
+
F,
|
|
19552
19552
|
ut,
|
|
19553
19553
|
I,
|
|
19554
19554
|
fi,
|
|
@@ -19557,8 +19557,8 @@ function E3(t, e, i) {
|
|
|
19557
19557
|
R,
|
|
19558
19558
|
G,
|
|
19559
19559
|
nt,
|
|
19560
|
-
Te,
|
|
19561
19560
|
Ce,
|
|
19561
|
+
Se,
|
|
19562
19562
|
Ee,
|
|
19563
19563
|
Oe,
|
|
19564
19564
|
yt,
|
|
@@ -19683,9 +19683,9 @@ function E3(t, e, i) {
|
|
|
19683
19683
|
Ku
|
|
19684
19684
|
];
|
|
19685
19685
|
}
|
|
19686
|
-
let z3 = class extends
|
|
19686
|
+
let z3 = class extends Te {
|
|
19687
19687
|
constructor(e) {
|
|
19688
|
-
super(),
|
|
19688
|
+
super(), we(
|
|
19689
19689
|
this,
|
|
19690
19690
|
e,
|
|
19691
19691
|
E3,
|
|
@@ -20372,23 +20372,23 @@ class j3 {
|
|
|
20372
20372
|
}), s && this.params.set("preview_token", s);
|
|
20373
20373
|
}
|
|
20374
20374
|
byContentId(e) {
|
|
20375
|
-
return
|
|
20375
|
+
return U(this, Pn, Un).call(this, `by_content_id/${e}`);
|
|
20376
20376
|
}
|
|
20377
20377
|
byPlaylistId(e) {
|
|
20378
|
-
return
|
|
20378
|
+
return U(this, Pn, Un).call(this, `by_playlist_id/${e}`, U(this, wo, Sl).call(this));
|
|
20379
20379
|
}
|
|
20380
20380
|
bySourceId(e) {
|
|
20381
|
-
return
|
|
20381
|
+
return U(this, Pn, Un).call(this, `by_source_id/${e}`);
|
|
20382
20382
|
}
|
|
20383
20383
|
bySourceUrl(e) {
|
|
20384
|
-
return
|
|
20384
|
+
return U(this, Pn, Un).call(this, `by_source_url/${encodeURIComponent(e)}`);
|
|
20385
20385
|
}
|
|
20386
20386
|
byIdentifiers(e) {
|
|
20387
|
-
return
|
|
20387
|
+
return U(this, Pn, Un).call(this, `by_identifiers/${encodeURIComponent(JSON.stringify(e))}`, U(this, wo, Sl).call(this));
|
|
20388
20388
|
}
|
|
20389
20389
|
}
|
|
20390
20390
|
Pn = new WeakSet(), Un = function(e, i = this.params) {
|
|
20391
|
-
return su(`${this.baseUrl}/${e}${
|
|
20391
|
+
return su(`${this.baseUrl}/${e}${U(this, Ts, lu).call(this, i)}`, { headers: this.headers });
|
|
20392
20392
|
}, Ts = new WeakSet(), lu = function(e) {
|
|
20393
20393
|
return e.size ? `?${e}` : "";
|
|
20394
20394
|
}, wo = new WeakSet(), Sl = function() {
|
|
@@ -20746,50 +20746,50 @@ class _y {
|
|
|
20746
20746
|
return Ui(this, null, function* () {
|
|
20747
20747
|
yield iu(() => this.player), Wc(e);
|
|
20748
20748
|
const i = this[`handle${e.type}`], n = this.player.properties();
|
|
20749
|
-
|
|
20749
|
+
U(this, Cs, hu).call(this, e) ? e.status = "ignored-due-to-advert" : U(this, Is, _u).call(this, e) ? e.status = "ignored-due-to-scrubbing" : U(this, Os, Au).call(this, e) ? e.status = "ignored-due-to-precedence" : i ? (yield i.call(this, e), U(this, Es, pu).call(this), U(this, zs, Su).call(this), e.status = "handled") : wi("No handler function for event.", e);
|
|
20750
20750
|
const o = this.player.properties();
|
|
20751
|
-
e.changedProps = nu(n, o), e.processedAt = (/* @__PURE__ */ new Date()).toISOString(), Mc(e),
|
|
20751
|
+
e.changedProps = nu(n, o), e.processedAt = (/* @__PURE__ */ new Date()).toISOString(), Mc(e), U(this, To, wl).call(this, e.type, e), U(this, To, wl).call(this, "<any>", e);
|
|
20752
20752
|
});
|
|
20753
20753
|
}
|
|
20754
20754
|
// Please document all events and keep in-sync with /doc/player-events.md
|
|
20755
20755
|
handlePressedChangeRate() {
|
|
20756
|
-
|
|
20756
|
+
U(this, Xi, bn).call(this, (e) => e + 1, { cycle: !0 });
|
|
20757
20757
|
}
|
|
20758
20758
|
handlePressedEnterOnChangeRate() {
|
|
20759
|
-
|
|
20759
|
+
U(this, Xi, bn).call(this, (e) => e + 1, { cycle: !0 });
|
|
20760
20760
|
}
|
|
20761
20761
|
handlePressedSpaceOnChangeRate() {
|
|
20762
|
-
|
|
20762
|
+
U(this, Xi, bn).call(this, (e) => e + 1, { cycle: !0 });
|
|
20763
20763
|
}
|
|
20764
20764
|
handlePressedUpOnChangeRate() {
|
|
20765
|
-
|
|
20765
|
+
U(this, Xi, bn).call(this, (e) => e + 1);
|
|
20766
20766
|
}
|
|
20767
20767
|
handlePressedRightOnChangeRate() {
|
|
20768
|
-
|
|
20768
|
+
U(this, Xi, bn).call(this, (e) => e + 1);
|
|
20769
20769
|
}
|
|
20770
20770
|
handlePressedDownOnChangeRate() {
|
|
20771
|
-
|
|
20771
|
+
U(this, Xi, bn).call(this, (e) => e - 1);
|
|
20772
20772
|
}
|
|
20773
20773
|
handlePressedLeftOnChangeRate() {
|
|
20774
|
-
|
|
20774
|
+
U(this, Xi, bn).call(this, (e) => e - 1);
|
|
20775
20775
|
}
|
|
20776
20776
|
handlePressedPrevSegment() {
|
|
20777
|
-
|
|
20777
|
+
U(this, Oo, Il).call(this, (e) => e - 1);
|
|
20778
20778
|
}
|
|
20779
20779
|
handlePressedNextSegment() {
|
|
20780
|
-
|
|
20780
|
+
U(this, Oo, Il).call(this, (e) => e + 1);
|
|
20781
20781
|
}
|
|
20782
20782
|
handlePressedSeekBack({ seconds: e }) {
|
|
20783
|
-
|
|
20783
|
+
U(this, Zt, li).call(this, (i) => i - e);
|
|
20784
20784
|
}
|
|
20785
20785
|
handlePressedSeekAhead({ seconds: e }) {
|
|
20786
|
-
|
|
20786
|
+
U(this, Zt, li).call(this, (i) => i + e);
|
|
20787
20787
|
}
|
|
20788
20788
|
handlePressedPrevTrack() {
|
|
20789
|
-
|
|
20789
|
+
U(this, un, En).call(this, (e) => e - 1);
|
|
20790
20790
|
}
|
|
20791
20791
|
handlePressedNextTrack() {
|
|
20792
|
-
|
|
20792
|
+
U(this, un, En).call(this, (e) => e + 1);
|
|
20793
20793
|
}
|
|
20794
20794
|
handlePressedAdvertLink() {
|
|
20795
20795
|
}
|
|
@@ -20821,51 +20821,51 @@ class _y {
|
|
|
20821
20821
|
my(this.PlayerClass);
|
|
20822
20822
|
}
|
|
20823
20823
|
handlePressedVideoBackground() {
|
|
20824
|
-
|
|
20824
|
+
U(this, rn, Mn).call(this);
|
|
20825
20825
|
}
|
|
20826
20826
|
handlePressedEnterOnProgressBar() {
|
|
20827
|
-
|
|
20827
|
+
U(this, rn, Mn).call(this);
|
|
20828
20828
|
}
|
|
20829
20829
|
handlePressedSpaceOnProgressBar() {
|
|
20830
|
-
|
|
20830
|
+
U(this, rn, Mn).call(this);
|
|
20831
20831
|
}
|
|
20832
20832
|
handlePressedEnterOnProgressCircle() {
|
|
20833
|
-
|
|
20833
|
+
U(this, rn, Mn).call(this);
|
|
20834
20834
|
}
|
|
20835
20835
|
handlePressedSpaceOnProgressCircle() {
|
|
20836
|
-
|
|
20836
|
+
U(this, rn, Mn).call(this);
|
|
20837
20837
|
}
|
|
20838
20838
|
handlePressedLeftOnProgressBar() {
|
|
20839
|
-
|
|
20839
|
+
U(this, Zt, li).call(this, (e) => e - 5);
|
|
20840
20840
|
}
|
|
20841
20841
|
handlePressedRightOnProgressBar() {
|
|
20842
|
-
|
|
20842
|
+
U(this, Zt, li).call(this, (e) => e + 5);
|
|
20843
20843
|
}
|
|
20844
20844
|
handlePressedLeftOnProgressCircle() {
|
|
20845
|
-
|
|
20845
|
+
U(this, Zt, li).call(this, (e) => e - 5);
|
|
20846
20846
|
}
|
|
20847
20847
|
handlePressedRightOnProgressCircle() {
|
|
20848
|
-
|
|
20848
|
+
U(this, Zt, li).call(this, (e) => e + 5);
|
|
20849
20849
|
}
|
|
20850
20850
|
handlePressedProgressBar({ ratio: e }) {
|
|
20851
|
-
this.preScrubState = this.player.playbackState, this.pauseTimeout = setTimeout(() =>
|
|
20851
|
+
this.preScrubState = this.player.playbackState, this.pauseTimeout = setTimeout(() => U(this, Ms, ku).call(this), 100), U(this, Zt, li).call(this, (i, n) => e * n), e !== 0 && (this.segmentPlayed = !0);
|
|
20852
20852
|
}
|
|
20853
20853
|
handleScrubbedProgressBar({ ratio: e }) {
|
|
20854
|
-
|
|
20854
|
+
U(this, Zt, li).call(this, (i, n) => e * n - 0.01), e !== 0 && (this.segmentPlayed = !0);
|
|
20855
20855
|
}
|
|
20856
20856
|
handleFinishedScrubbingProgressBar() {
|
|
20857
20857
|
clearTimeout(this.pauseTimeout), this.player.playbackState = this.preScrubState, delete this.preScrubState;
|
|
20858
20858
|
}
|
|
20859
20859
|
handleIdentifiersChanged() {
|
|
20860
20860
|
D3(this.player).then(() => {
|
|
20861
|
-
|
|
20861
|
+
U(this, wn, Hn).call(this, { atTheStart: !0 }), U(this, Qi, kn).call(this, { atTheStart: !0 });
|
|
20862
20862
|
});
|
|
20863
20863
|
}
|
|
20864
20864
|
handleNoContentAvailable({ description: e }) {
|
|
20865
20865
|
console.warn(`BeyondWords.Player: ${e}`);
|
|
20866
20866
|
}
|
|
20867
20867
|
handlePressedPlay({ emittedFrom: e, widgetSegment: i, widgetIsCurrent: n }) {
|
|
20868
|
-
e === "segment-widget" && !n ?
|
|
20868
|
+
e === "segment-widget" && !n ? U(this, Io, Cl).call(this, i) : this.player.playbackState = "playing";
|
|
20869
20869
|
}
|
|
20870
20870
|
handlePressedPause() {
|
|
20871
20871
|
this.player.playbackState = "paused";
|
|
@@ -20878,16 +20878,16 @@ class _y {
|
|
|
20878
20878
|
e && !i && !this.preScrubState && (this.player.playbackState = "paused");
|
|
20879
20879
|
}
|
|
20880
20880
|
handleCurrentTimeUpdated() {
|
|
20881
|
-
this.midrollPlayed ||
|
|
20882
|
-
const e = this.player.currentTime <= Ao, i = this.player.currentTime >= this.player.duration, n = this.player.mediaElement.video.paused ||
|
|
20881
|
+
this.midrollPlayed || U(this, Qi, kn).call(this);
|
|
20882
|
+
const e = this.player.currentTime <= Ao, i = this.player.currentTime >= this.player.duration, n = this.player.mediaElement.video.paused || U(this, Ws, bu).call(this);
|
|
20883
20883
|
!e && !i && !n && (this.player.playbackState = "playing");
|
|
20884
20884
|
const o = this.player.currentTime <= 0.5;
|
|
20885
|
-
!
|
|
20885
|
+
!U(this, gi, Pi).call(this) && this.midrollPlayed && o && this.prevTime && U(this, Bo, Vl).call(this, !0);
|
|
20886
20886
|
}
|
|
20887
20887
|
handlePlaybackEnded() {
|
|
20888
|
-
|
|
20889
|
-
const e =
|
|
20890
|
-
|
|
20888
|
+
U(this, Co, Tl).call(this) && (this.midrollPlayed = !0), this.segmentPlayed = !1;
|
|
20889
|
+
const e = U(this, Di, nn).call(this), i = U(this, gi, Pi).call(this);
|
|
20890
|
+
U(this, Qi, kn).call(this, { atTheEnd: !0, wasIntro: e }), !i && (U(this, wn, Hn).call(this, { atTheEnd: !0 }), !e && (U(this, an, Wn).call(this) || U(this, gi, Pi).call(this) || U(this, un, En).call(this, (n) => n + 1)));
|
|
20891
20891
|
}
|
|
20892
20892
|
handlePlaybackNotAllowed({ description: e }) {
|
|
20893
20893
|
console.warn(`BeyondWords.Player: ${e}`);
|
|
@@ -20896,8 +20896,8 @@ class _y {
|
|
|
20896
20896
|
}
|
|
20897
20897
|
handlePlaybackErrored({ mediaType: e, preloading: i, errorMessage: n }) {
|
|
20898
20898
|
console.warn(`BeyondWords.Player: ${e} playback error: ${n}`);
|
|
20899
|
-
const o =
|
|
20900
|
-
|
|
20899
|
+
const o = U(this, Co, Tl).call(this);
|
|
20900
|
+
U(this, Di, nn).call(this) || U(this, an, Wn).call(this) ? U(this, wn, Hn).call(this, { errored: !0 }) : U(this, gi, Pi).call(this) ? U(this, Qi, kn).call(this, { errored: !0 }) : i && e === "VAST" ? U(this, Qi, kn).call(this, { preloadingErrored: !0 }) : this.handlePlaybackEnded(), o && !U(this, gi, Pi).call(this) && (this.midrollPlayed = !0);
|
|
20901
20901
|
}
|
|
20902
20902
|
handleCompanionAdvertChanged({ clickThroughUrl: e, imageUrl: i }) {
|
|
20903
20903
|
this.player.companionAdvert = { clickThroughUrl: e, imageUrl: i };
|
|
@@ -20910,7 +20910,7 @@ class _y {
|
|
|
20910
20910
|
this.player.isFullScreen = e, this.player.target.classList[i]("maximized");
|
|
20911
20911
|
}
|
|
20912
20912
|
handlePressedPlaylistItem({ index: e }) {
|
|
20913
|
-
|
|
20913
|
+
U(this, un, En).call(this, () => e), this.player.playbackState = "playing";
|
|
20914
20914
|
}
|
|
20915
20915
|
handlePressedTogglePlaylist() {
|
|
20916
20916
|
const e = this.player.playlistStyle.split("-"), i = this.player.content.length > 1, n = e[0] === "show" || e[0] === "auto" && i;
|
|
@@ -20927,7 +20927,7 @@ class _y {
|
|
|
20927
20927
|
}
|
|
20928
20928
|
handleCurrentSegmentUpdated({ segment: e, contentIndex: i, segmentIndex: n, segmentElement: o }) {
|
|
20929
20929
|
var s;
|
|
20930
|
-
|
|
20930
|
+
U(this, zn, go).call(this) ? this.player.currentSegment = Fi(Yt({}, e), { contentIndex: i, segmentIndex: n, segmentElement: o }) : this.segmentPlayed || ((s = this.player.segmentContainers) == null || s.reset(), this.player.currentSegment = null);
|
|
20931
20931
|
}
|
|
20932
20932
|
handleHoveredSegmentUpdated({ segment: e, contentIndex: i, segmentIndex: n, segmentElement: o }) {
|
|
20933
20933
|
e ? this.player.hoveredSegment = Fi(Yt({}, e), { contentIndex: i, segmentIndex: n, segmentElement: o }) : this.player.hoveredSegment = null;
|
|
@@ -20935,15 +20935,15 @@ class _y {
|
|
|
20935
20935
|
handlePressedSegment({ segment: e, contentIndex: i, segmentIndex: n, segmentElement: o }) {
|
|
20936
20936
|
if (!vo("hovered", e, this.player.clickableSections))
|
|
20937
20937
|
return;
|
|
20938
|
-
if (!
|
|
20939
|
-
|
|
20938
|
+
if (!U(this, js, wu).call(this, { contentIndex: i, segmentIndex: n }) && !U(this, gi, Pi).call(this)) {
|
|
20939
|
+
U(this, rn, Mn).call(this);
|
|
20940
20940
|
return;
|
|
20941
20941
|
}
|
|
20942
|
-
i !== this.player.contentIndex &&
|
|
20942
|
+
i !== this.player.contentIndex && U(this, un, En).call(this, () => i), U(this, Io, Cl).call(this, Yt({ contentIndex: i, segmentIndex: n, segmentElement: o }, e));
|
|
20943
20943
|
}
|
|
20944
20944
|
}
|
|
20945
20945
|
Cs = new WeakSet(), hu = function({ type: e }) {
|
|
20946
|
-
return
|
|
20946
|
+
return U(this, gi, Pi).call(this) && (e.includes("ChangeRate") || e.includes("PrevSegment") || e.includes("NextSegment") || e.includes("SeekBack") || e.includes("SeekAhead") || e.includes("Progress") && !e.includes("Space") && !e.includes("Enter"));
|
|
20947
20947
|
}, Is = new WeakSet(), _u = function({ type: e }) {
|
|
20948
20948
|
return this.preScrubState && (e.includes("CurrentTimeUpdated") || e.includes("PlaybackEnded"));
|
|
20949
20949
|
}, Os = new WeakSet(), Au = function({ type: e, precedence: i }) {
|
|
@@ -20970,29 +20970,29 @@ Cs = new WeakSet(), hu = function({ type: e }) {
|
|
|
20970
20970
|
var e;
|
|
20971
20971
|
return !!((e = this.player.adverts[this.player.advertIndex]) != null && e.vastUrl);
|
|
20972
20972
|
}, zn = new WeakSet(), go = function() {
|
|
20973
|
-
return !
|
|
20973
|
+
return !U(this, Di, nn).call(this) && !U(this, an, Wn).call(this) && !U(this, gi, Pi).call(this);
|
|
20974
20974
|
}, rn = new WeakSet(), Mn = function() {
|
|
20975
20975
|
this.player.playbackState === "playing" ? this.player.playbackState = "paused" : this.player.playbackState = "playing";
|
|
20976
20976
|
}, Ms = new WeakSet(), ku = function() {
|
|
20977
20977
|
this.player.playbackState === "playing" && (this.player.playbackState = "paused");
|
|
20978
20978
|
}, Io = new WeakSet(), Cl = function(s) {
|
|
20979
20979
|
var l = s, { contentIndex: e, segmentIndex: i, segmentElement: n } = l, o = Hs(l, ["contentIndex", "segmentIndex", "segmentElement"]);
|
|
20980
|
-
|
|
20980
|
+
U(this, Zt, li).call(this, () => o.startTime, e), this.player.currentSegment = Yt({ contentIndex: e, segmentIndex: i, segmentElement: n }, o), this.player.playbackState = "playing", this.segmentPlayed = !0;
|
|
20981
20981
|
}, Xi = new WeakSet(), bn = function(e, { cycle: i } = {}) {
|
|
20982
20982
|
const n = this.player.playbackRates, o = n.length - 1, s = n.indexOf(this.player.playbackRate), l = e(s);
|
|
20983
20983
|
let a;
|
|
20984
20984
|
i ? a = l % n.length : a = Math.max(0, Math.min(o, l)), this.player.playbackRate = n[a] || 1;
|
|
20985
20985
|
}, Oo = new WeakSet(), Il = function(e) {
|
|
20986
20986
|
const i = this.player.content[this.player.contentIndex].segments, n = Ml(i, this.player.currentTime, this.player.contentVariant), o = e(n);
|
|
20987
|
-
|
|
20987
|
+
U(this, Di, nn).call(this) && o >= 0 ? this.handlePlaybackEnded() : U(this, an, Wn).call(this) && o < 0 ? (U(this, Ln, fo).call(this, -1), U(this, Zt, li).call(this, () => {
|
|
20988
20988
|
var s;
|
|
20989
20989
|
return ((s = i[i.length - 1]) == null ? void 0 : s.startTime) || 0.01;
|
|
20990
|
-
}), this.player.playbackState = "playing") :
|
|
20990
|
+
}), this.player.playbackState = "playing") : U(this, zn, go).call(this) && o < 0 && U(this, Vs, yu).call(this) ? (U(this, Zt, li).call(this, () => 0), U(this, wn, Hn).call(this, { atTheStart: !0 })) : U(this, zn, go).call(this) && o === i.length && U(this, Bs, vu).call(this) ? U(this, Zt, li).call(this, () => this.player.duration - 0.01) : U(this, zn, go).call(this) && o >= 0 && o < i.length && U(this, Zt, li).call(this, () => i[o].startTime);
|
|
20991
20991
|
}, un = new WeakSet(), En = function(e) {
|
|
20992
20992
|
const i = e(this.player.contentIndex), n = i < 0 || i >= this.player.content.length;
|
|
20993
|
-
n ? (this.player.playbackState = "stopped",
|
|
20993
|
+
n ? (this.player.playbackState = "stopped", U(this, Zt, li).call(this, () => 0)) : (this.player.contentIndex = i, U(this, gi, Pi).call(this) || (U(this, Zt, li).call(this, () => 0), this.midrollPlayed = !1)), U(this, Ln, fo).call(this, -1), U(this, wn, Hn).call(this, { atTheStart: !0 }), n || U(this, Qi, kn).call(this, { atTheStart: !0 });
|
|
20994
20994
|
}, Zt = new WeakSet(), li = function(e, i) {
|
|
20995
|
-
if (
|
|
20995
|
+
if (U(this, gi, Pi).call(this))
|
|
20996
20996
|
this.prevTime = e(), this.prevContent = i;
|
|
20997
20997
|
else {
|
|
20998
20998
|
const n = this.player.duration || 0;
|
|
@@ -21000,13 +21000,13 @@ Cs = new WeakSet(), hu = function({ type: e }) {
|
|
|
21000
21000
|
}
|
|
21001
21001
|
}, wn = new WeakSet(), Hn = function({ atTheStart: e, atTheEnd: i, errored: n } = {}) {
|
|
21002
21002
|
const { content: o, introsOutros: s, currentTime: l } = this.player, a = typeof this.nextIntroOutro != "undefined" ? this.nextIntroOutro : this.player.introsOutrosIndex, r = typeof this.nextAdvert != "undefined" ? this.nextAdvert : this.player.advertIndex, u = typeof this.prevContent != "undefined" ? this.prevContent : this.player.contentIndex;
|
|
21003
|
-
|
|
21003
|
+
U(this, Ln, fo).call(this, ry({ introsOutros: s, introsOutrosIndex: a, advertIndex: r, content: o, contentIndex: u, currentTime: l, atTheStart: e, atTheEnd: i, errored: n }));
|
|
21004
21004
|
}, Qi = new WeakSet(), kn = function({ atTheStart: e, atTheEnd: i, wasIntro: n, errored: o, preloadingErrored: s } = {}) {
|
|
21005
21005
|
var S;
|
|
21006
21006
|
const { adverts: l, content: a, currentTime: r, minDurationForMidroll: u, minTimeUntilEndForMidroll: d } = this.player;
|
|
21007
21007
|
let g = typeof this.nextIntroOutro != "undefined" ? this.nextIntroOutro : this.player.introsOutrosIndex;
|
|
21008
21008
|
const f = typeof this.nextAdvert != "undefined" ? this.nextAdvert : this.player.advertIndex, A = typeof this.prevContent != "undefined" ? this.prevContent : this.player.contentIndex;
|
|
21009
|
-
if (n && (e = !0, i = !1, g = -1),
|
|
21009
|
+
if (n && (e = !0, i = !1, g = -1), U(this, Vo, Ol).call(this, cr({ introsOutrosIndex: g, adverts: l, advertIndex: f, preloadAdvertIndex: this.player.preloadAdvertIndex, content: a, contentIndex: A, currentTime: r, atTheStart: e, atTheEnd: i, errored: o, minDurationForMidroll: u, minTimeUntilEndForMidroll: d, contentVariant: this.player.contentVariant })), U(this, gi, Pi).call(this))
|
|
21010
21010
|
this.player.preloadAdvertIndex = -1;
|
|
21011
21011
|
else {
|
|
21012
21012
|
const T = cr({ introsOutrosIndex: g, adverts: l, advertIndex: this.player.preloadAdvertIndex, content: a, contentIndex: A, currentTime: r + 5, atTheStart: e, atTheEnd: i, errored: s, minDurationForMidroll: u, minTimeUntilEndForMidroll: d, contentVariant: this.player.contentVariant }), v = (S = this.player.adverts) == null ? void 0 : S[T];
|
|
@@ -21015,33 +21015,33 @@ Cs = new WeakSet(), hu = function({ type: e }) {
|
|
|
21015
21015
|
const _ = this.player.persistentAdImage, k = this.player.persistentIndex;
|
|
21016
21016
|
this.player.persistentIndex = ty(_, k, f, l);
|
|
21017
21017
|
}, Es = new WeakSet(), pu = function() {
|
|
21018
|
-
this.player.playbackState === "playing" && typeof this.nextIntroOutro != "undefined" && (
|
|
21018
|
+
this.player.playbackState === "playing" && typeof this.nextIntroOutro != "undefined" && (U(this, Ln, fo).call(this, this.nextIntroOutro), delete this.nextIntroOutro);
|
|
21019
21019
|
}, zs = new WeakSet(), Su = function() {
|
|
21020
|
-
this.player.playbackState === "playing" && typeof this.nextAdvert != "undefined" && (
|
|
21020
|
+
this.player.playbackState === "playing" && typeof this.nextAdvert != "undefined" && (U(this, Vo, Ol).call(this, this.nextAdvert), delete this.nextAdvert);
|
|
21021
21021
|
}, Ln = new WeakSet(), fo = function(e) {
|
|
21022
21022
|
if (this.player.playbackState !== "playing" && e !== -1) {
|
|
21023
21023
|
this.nextIntroOutro = e;
|
|
21024
21024
|
return;
|
|
21025
21025
|
} else
|
|
21026
21026
|
delete this.nextIntroOutro;
|
|
21027
|
-
if (!(this.player.contentIndex <= 0 && this.player.currentTime <= Ao) &&
|
|
21028
|
-
this.player.introsOutrosIndex = -1,
|
|
21027
|
+
if (!(this.player.contentIndex <= 0 && this.player.currentTime <= Ao) && U(this, Di, nn).call(this, e)) {
|
|
21028
|
+
this.player.introsOutrosIndex = -1, U(this, Qi, kn).call(this, { atTheStart: !0 });
|
|
21029
21029
|
return;
|
|
21030
21030
|
}
|
|
21031
|
-
const s =
|
|
21031
|
+
const s = U(this, Di, nn).call(this), l = U(this, an, Wn).call(this);
|
|
21032
21032
|
this.player.introsOutrosIndex = e;
|
|
21033
|
-
const a = s && !
|
|
21034
|
-
a && (this.player.currentTime = 0), r &&
|
|
21033
|
+
const a = s && !U(this, Di, nn).call(this), r = l && !U(this, an, Wn).call(this);
|
|
21034
|
+
a && (this.player.currentTime = 0), r && U(this, un, En).call(this, () => 1 / 0);
|
|
21035
21035
|
}, Vo = new WeakSet(), Ol = function(e) {
|
|
21036
21036
|
if (this.player.playbackState !== "playing" && e !== -1) {
|
|
21037
21037
|
this.nextAdvert = e;
|
|
21038
21038
|
return;
|
|
21039
21039
|
} else
|
|
21040
21040
|
delete this.nextAdvert;
|
|
21041
|
-
const n =
|
|
21042
|
-
s &&
|
|
21041
|
+
const n = U(this, gi, Pi).call(this), o = e !== -1, s = !n && o, l = n && !o;
|
|
21042
|
+
s && U(this, Ls, Pu).call(this), this.player.advertIndex = e, l && U(this, Bo, Vl).call(this);
|
|
21043
21043
|
}, Ls = new WeakSet(), Pu = function() {
|
|
21044
|
-
|
|
21044
|
+
U(this, Di, nn).call(this) || (this.prevTime = this.player.currentTime), this.prevRate = this.player.playbackRate, this.prevContent = this.player.contentIndex, this.player.playbackRate = 1;
|
|
21045
21045
|
}, Bo = new WeakSet(), Vl = function(e = !1) {
|
|
21046
21046
|
this.player.playbackRate = this.prevRate || 1, this.player.contentIndex !== this.prevContent || (this.player.currentTime = this.prevTime), e && (delete this.prevTime, delete this.prevRate, delete this.prevContent);
|
|
21047
21047
|
}, js = new WeakSet(), wu = function({ contentIndex: e, segmentIndex: i }) {
|