@beyondwords/player 0.1.31 → 0.1.32
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 +76 -72
- package/dist/es.js.map +1 -1
- package/dist/umd.js +15 -15
- package/dist/umd.js.map +1 -1
- package/package.json +1 -1
package/dist/es.js
CHANGED
|
@@ -45,7 +45,7 @@ var ki = (t, e, i) => new Promise((n, o) => {
|
|
|
45
45
|
}, a = (r) => r.done ? n(r.value) : Promise.resolve(r.value).then(s, l);
|
|
46
46
|
a((i = i.apply(t, e)).next());
|
|
47
47
|
});
|
|
48
|
-
/*! version:"0.1.
|
|
48
|
+
/*! version:"0.1.32" */
|
|
49
49
|
function ee() {
|
|
50
50
|
}
|
|
51
51
|
const yu = (t) => t;
|
|
@@ -593,7 +593,7 @@ class we {
|
|
|
593
593
|
}
|
|
594
594
|
const Nu = "4";
|
|
595
595
|
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Nu);
|
|
596
|
-
const xu = "@beyondwords/player", Yo = "0.1.
|
|
596
|
+
const xu = "@beyondwords/player", Yo = "0.1.32", di = (t, e) => {
|
|
597
597
|
t = [t].flat().join(`
|
|
598
598
|
`);
|
|
599
599
|
let i = `${xu}:
|
|
@@ -5390,7 +5390,7 @@ function Z1(t) {
|
|
|
5390
5390
|
function G1(t, e, i) {
|
|
5391
5391
|
let n, o, s, l, a, r, u, c, g, v, _, m, w, y, A, { content: S } = e, { contentIndex: C } = e, { introOrOutro: T } = e, { activeAdvert: I } = e, { advertConsent: E } = e, { playbackState: R } = e, { duration: Z } = e, { currentTime: F } = e, { playbackRate: U } = e, { prevPercentage: ae } = e, { showUserInterface: ce } = e, { videoBehindWidget: se } = e, { videoBehindStatic: $ } = e, { videoMightBeShown: Q } = e, { widgetPosition: re } = e, { widgetWidth: de } = e, { widgetTarget: Y } = e, { onEvent: K = () => {
|
|
5392
5392
|
} } = e, { metadataLoaded: te } = e, { video: b = void 0 } = e, P, j, L, Pe = 0, Ve = 0, Ue = F, G, Te;
|
|
5393
|
-
const qe = (H) => i(11, Pe = H), Qe = () => Q,
|
|
5393
|
+
const qe = (H) => i(11, Pe = H), Qe = () => Q, st = () => {
|
|
5394
5394
|
var H;
|
|
5395
5395
|
return (b == null ? void 0 : b.paused) && ((H = b == null ? void 0 : b.play()) == null ? void 0 : H.catch(We));
|
|
5396
5396
|
}, pt = () => !(b != null && b.paused) && (b == null ? void 0 : b.pause()), ut = () => {
|
|
@@ -5426,7 +5426,7 @@ function G1(t, e, i) {
|
|
|
5426
5426
|
description: "The media's duration was updated.",
|
|
5427
5427
|
initiatedBy: "media"
|
|
5428
5428
|
}));
|
|
5429
|
-
},
|
|
5429
|
+
}, lt = ({ fromHls: H }) => {
|
|
5430
5430
|
j !== "not-used" && !H || (i(33, te = !0), i(45, G = Vl(u, b)), K(ye({
|
|
5431
5431
|
type: "MetadataLoaded",
|
|
5432
5432
|
description: "The media finished loading its metadata.",
|
|
@@ -5471,6 +5471,10 @@ function G1(t, e, i) {
|
|
|
5471
5471
|
initiatedBy: "media"
|
|
5472
5472
|
}));
|
|
5473
5473
|
}, We = (H) => {
|
|
5474
|
+
if ((H == null ? void 0 : H.name) === "AbortError") {
|
|
5475
|
+
st();
|
|
5476
|
+
return;
|
|
5477
|
+
}
|
|
5474
5478
|
if ((H == null ? void 0 : H.name) !== "NotAllowedError")
|
|
5475
5479
|
throw H;
|
|
5476
5480
|
K(ye({
|
|
@@ -5498,7 +5502,7 @@ function G1(t, e, i) {
|
|
|
5498
5502
|
mediaUrl: u[0].url,
|
|
5499
5503
|
errorMessage: `${Ee.type} ${Ee.details}`
|
|
5500
5504
|
})));
|
|
5501
|
-
}),
|
|
5505
|
+
}), at = () => {
|
|
5502
5506
|
K(ye({
|
|
5503
5507
|
type: "FullScreenModeUpdated",
|
|
5504
5508
|
description: "The browser entered or exited full screen mode.",
|
|
@@ -5506,7 +5510,7 @@ function G1(t, e, i) {
|
|
|
5506
5510
|
}));
|
|
5507
5511
|
};
|
|
5508
5512
|
vo(() => {
|
|
5509
|
-
const H = addEventListener("fullscreenchange",
|
|
5513
|
+
const H = addEventListener("fullscreenchange", at), Ee = addEventListener("webkitfullscreenchange", at);
|
|
5510
5514
|
return () => {
|
|
5511
5515
|
removeEventListener("fullscreenchange", H), removeEventListener("fullscreenchange", Ee);
|
|
5512
5516
|
};
|
|
@@ -5560,13 +5564,13 @@ function G1(t, e, i) {
|
|
|
5560
5564
|
4096 && i(34, ae = 0), t.$$.dirty[0] & /*sources, video*/
|
|
5561
5565
|
4100 && gc(u[0], b).then((H) => i(43, P = H)), t.$$.dirty[0] & /*sources, video, hls*/
|
|
5562
5566
|
5124 | t.$$.dirty[1] & /*Hls*/
|
|
5563
|
-
4096 && i(10, j = hc(u[0], b, P, j, et,
|
|
5567
|
+
4096 && i(10, j = hc(u[0], b, P, j, et, lt, st)), t.$$.dirty[0] & /*playbackState, hls*/
|
|
5564
5568
|
1025 | t.$$.dirty[1] & /*startPosition*/
|
|
5565
5569
|
524288 && (R === "playing" || Qe()) && tr(j, a), t.$$.dirty[1] & /*activeAdvert*/
|
|
5566
5570
|
64 && i(13, c = I == null ? void 0 : I.vastUrl), t.$$.dirty[1] & /*activeAdvert*/
|
|
5567
5571
|
64 && i(20, g = I == null ? void 0 : I.clickThroughUrl), t.$$.dirty[0] & /*vastUrl, playbackState*/
|
|
5568
5572
|
8193 | t.$$.dirty[1] & /*metadataLoaded*/
|
|
5569
|
-
4 && te && !c && (R === "playing" ?
|
|
5573
|
+
4 && te && !c && (R === "playing" ? st() : pt()), t.$$.dirty[1] & /*videoBehindWidget, widgetTarget*/
|
|
5570
5574
|
2176 && i(19, v = se && Y), t.$$.dirty[1] & /*videoBehindWidget, widgetTarget*/
|
|
5571
5575
|
2176 && i(14, _ = se && !Y), t.$$.dirty[0] & /*videoBehindSlidingWidget*/
|
|
5572
5576
|
16384 | t.$$.dirty[1] & /*widgetPosition*/
|
|
@@ -5605,7 +5609,7 @@ function G1(t, e, i) {
|
|
|
5605
5609
|
Ne,
|
|
5606
5610
|
gt,
|
|
5607
5611
|
ze,
|
|
5608
|
-
|
|
5612
|
+
lt,
|
|
5609
5613
|
$e,
|
|
5610
5614
|
xe,
|
|
5611
5615
|
jt,
|
|
@@ -13963,8 +13967,8 @@ function Yy(t) {
|
|
|
13963
13967
|
function Zy(t, e, i) {
|
|
13964
13968
|
let n, o, s, l, a, r, u, c, g, v, _, m, w, y, A, S, C, T, I, E, R, Z, F, U, ae, ce, se, $, Q, re, de, Y, K, te, b, P, j, L, Pe, Ve, Ue, G;
|
|
13965
13969
|
import("./././././././././style.js");
|
|
13966
|
-
let { playerStyle: Te = "standard" } = e, { callToAction: qe = void 0 } = e, { skipButtonStyle: Qe = "auto" } = e, { playlistStyle:
|
|
13967
|
-
} } = e, { videoPosterImage: H = "" } = e, { videoIsBehind: Ee = !1 } = e, { isFullScreen: je = !1 } = e, { isVisible: ht = void 0 } = e, { relativeY: St = void 0 } = e, { absoluteY: Ge = void 0 } = e, Ke, Bt,
|
|
13970
|
+
let { playerStyle: Te = "standard" } = e, { callToAction: qe = void 0 } = e, { skipButtonStyle: Qe = "auto" } = e, { playlistStyle: st = "auto-5-4" } = e, { playlistToggle: pt = "auto" } = e, { downloadFormats: ut = [] } = e, { playerTitle: Ye = void 0 } = e, { fixedPosition: Re = void 0 } = e, { fixedWidth: Ne = "auto" } = e, { content: gt = [] } = e, { contentIndex: ze = 0 } = e, { duration: lt = 0 } = e, { currentTime: $e = 0 } = e, { playbackState: xe = "stopped" } = e, { playbackRate: jt = 1 } = e, { playbackRates: Je = [] } = e, { activeAdvert: Be = void 0 } = e, { persistentAdvert: We = void 0 } = e, { companionAdvert: Xe = void 0 } = e, { textColor: et = "#111" } = e, { backgroundColor: at = "#f5f5f5" } = e, { iconColor: Fe = "black" } = e, { videoTextColor: Pt = "white" } = e, { videoBackgroundColor: ft = "black" } = e, { videoIconColor: mt = "white" } = e, { logoIconEnabled: He = !0 } = e, { logoImagePosition: Ze = void 0 } = e, { onEvent: tt = () => {
|
|
13971
|
+
} } = e, { videoPosterImage: H = "" } = e, { videoIsBehind: Ee = !1 } = e, { isFullScreen: je = !1 } = e, { isVisible: ht = void 0 } = e, { relativeY: St = void 0 } = e, { absoluteY: Ge = void 0 } = e, Ke, Bt, rt, wt;
|
|
13968
13972
|
const ct = () => {
|
|
13969
13973
|
wt && clearTimeout(wt), i(39, wt = setTimeout(() => i(39, wt = null), 500));
|
|
13970
13974
|
}, zt = (k) => {
|
|
@@ -13990,7 +13994,7 @@ function Zy(t, e, i) {
|
|
|
13990
13994
|
Ge = k, i(2, Ge);
|
|
13991
13995
|
}
|
|
13992
13996
|
function _t(k) {
|
|
13993
|
-
|
|
13997
|
+
rt = k, i(20, rt);
|
|
13994
13998
|
}
|
|
13995
13999
|
function he(k) {
|
|
13996
14000
|
oe[k ? "unshift" : "push"](() => {
|
|
@@ -13998,7 +14002,7 @@ function Zy(t, e, i) {
|
|
|
13998
14002
|
});
|
|
13999
14003
|
}
|
|
14000
14004
|
return t.$$set = (k) => {
|
|
14001
|
-
"playerStyle" in k && i(3, Te = k.playerStyle), "callToAction" in k && i(4, qe = k.callToAction), "skipButtonStyle" in k && i(63, Qe = k.skipButtonStyle), "playlistStyle" in k && i(5,
|
|
14005
|
+
"playerStyle" in k && i(3, Te = k.playerStyle), "callToAction" in k && i(4, qe = k.callToAction), "skipButtonStyle" in k && i(63, Qe = k.skipButtonStyle), "playlistStyle" in k && i(5, st = k.playlistStyle), "playlistToggle" in k && i(64, pt = k.playlistToggle), "downloadFormats" in k && i(6, ut = k.downloadFormats), "playerTitle" in k && i(7, Ye = k.playerTitle), "fixedPosition" in k && i(8, Re = k.fixedPosition), "fixedWidth" in k && i(65, Ne = k.fixedWidth), "content" in k && i(9, gt = k.content), "contentIndex" in k && i(10, ze = k.contentIndex), "duration" in k && i(11, lt = k.duration), "currentTime" in k && i(12, $e = k.currentTime), "playbackState" in k && i(66, xe = k.playbackState), "playbackRate" in k && i(13, jt = k.playbackRate), "playbackRates" in k && i(14, Je = k.playbackRates), "activeAdvert" in k && i(67, Be = k.activeAdvert), "persistentAdvert" in k && i(68, We = k.persistentAdvert), "companionAdvert" in k && i(69, Xe = k.companionAdvert), "textColor" in k && i(70, et = k.textColor), "backgroundColor" in k && i(71, at = k.backgroundColor), "iconColor" in k && i(72, Fe = k.iconColor), "videoTextColor" in k && i(73, Pt = k.videoTextColor), "videoBackgroundColor" in k && i(74, ft = k.videoBackgroundColor), "videoIconColor" in k && i(75, mt = k.videoIconColor), "logoIconEnabled" in k && i(76, He = k.logoIconEnabled), "logoImagePosition" in k && i(15, Ze = k.logoImagePosition), "onEvent" in k && i(16, tt = k.onEvent), "videoPosterImage" in k && i(17, H = k.videoPosterImage), "videoIsBehind" in k && i(18, Ee = k.videoIsBehind), "isFullScreen" in k && i(77, je = k.isFullScreen), "isVisible" in k && i(0, ht = k.isVisible), "relativeY" in k && i(1, St = k.relativeY), "absoluteY" in k && i(2, Ge = k.absoluteY);
|
|
14002
14006
|
}, t.$$.update = () => {
|
|
14003
14007
|
t.$$.dirty[0] & /*playerStyle*/
|
|
14004
14008
|
8 && i(24, n = Te === "small"), t.$$.dirty[0] & /*playerStyle*/
|
|
@@ -14013,11 +14017,11 @@ function Zy(t, e, i) {
|
|
|
14013
14017
|
512 && i(78, g = gt.length > 1), t.$$.dirty[0] & /*playerStyle, width*/
|
|
14014
14018
|
524296 && i(33, v = Wy({ playerStyle: Te, width: Bt })), t.$$.dirty[0] & /*content, contentIndex*/
|
|
14015
14019
|
1536 && i(32, _ = gt[ze] || {}), t.$$.dirty[0] & /*currentTime, duration*/
|
|
14016
|
-
6144 && i(58, m = $e /
|
|
14020
|
+
6144 && i(58, m = $e / lt), t.$$.dirty[0] & /*isAdvert*/
|
|
14017
14021
|
134217728 | t.$$.dirty[2] & /*activeAdvert, textColor*/
|
|
14018
14022
|
288 && i(37, w = c && Be.textColor || et), t.$$.dirty[0] & /*isAdvert*/
|
|
14019
14023
|
134217728 | t.$$.dirty[2] & /*activeAdvert, backgroundColor*/
|
|
14020
|
-
544 && i(36, y = c && Be.backgroundColor ||
|
|
14024
|
+
544 && i(36, y = c && Be.backgroundColor || at), t.$$.dirty[0] & /*isAdvert*/
|
|
14021
14025
|
134217728 | t.$$.dirty[2] & /*activeAdvert, iconColor*/
|
|
14022
14026
|
1056 && i(35, A = c && Be.iconColor || Fe), t.$$.dirty[0] & /*isVideo, isAdvert*/
|
|
14023
14027
|
136314880 | t.$$.dirty[1] & /*nonVideoTextColor*/
|
|
@@ -14066,11 +14070,11 @@ function Zy(t, e, i) {
|
|
|
14066
14070
|
8 && i(30, te = n && Re && Ne === "auto"), t.$$.dirty[0] & /*isSmall*/
|
|
14067
14071
|
16777216 | t.$$.dirty[2] & /*fixedWidth*/
|
|
14068
14072
|
8 && i(25, b = n && (Ne === 0 || Ne === "0")), t.$$.dirty[0] & /*forcedCollapsed, collapsible, isAdvert, isStopped, isHovering*/
|
|
14069
|
-
1779433472 && i(45, P = b || te && !c && !u && !
|
|
14073
|
+
1779433472 && i(45, P = b || te && !c && !u && !rt), t.$$.dirty[0] & /*fixedPosition, isSmall, isStandard, isAdvert*/
|
|
14070
14074
|
419430656 && i(44, j = Re && !n && !(o && c)), t.$$.dirty[0] & /*isAdvert, isScreen, fixedPosition, isSmall, forcedCollapsed*/
|
|
14071
14075
|
251658496 | t.$$.dirty[2] & /*logoIconEnabled*/
|
|
14072
14076
|
16384 && i(43, L = He && (!c || l) && !(Re && n) && !b), t.$$.dirty[0] & /*playlistStyle*/
|
|
14073
|
-
32 && i(79, Pe =
|
|
14077
|
+
32 && i(79, Pe = st.split("-")), t.$$.dirty[0] & /*isSmall*/
|
|
14074
14078
|
16777216 | t.$$.dirty[2] & /*playlistParts, isPlaylist*/
|
|
14075
14079
|
196608 && i(42, Ve = (Pe[0] === "show" || Pe[0] === "auto" && g) && !n), t.$$.dirty[0] & /*isSmall*/
|
|
14076
14080
|
16777216 | t.$$.dirty[2] & /*playlistToggle, isPlaylist, isFullScreen*/
|
|
@@ -14084,13 +14088,13 @@ function Zy(t, e, i) {
|
|
|
14084
14088
|
Ge,
|
|
14085
14089
|
Te,
|
|
14086
14090
|
qe,
|
|
14087
|
-
|
|
14091
|
+
st,
|
|
14088
14092
|
ut,
|
|
14089
14093
|
Ye,
|
|
14090
14094
|
Re,
|
|
14091
14095
|
gt,
|
|
14092
14096
|
ze,
|
|
14093
|
-
|
|
14097
|
+
lt,
|
|
14094
14098
|
$e,
|
|
14095
14099
|
jt,
|
|
14096
14100
|
Je,
|
|
@@ -14099,7 +14103,7 @@ function Zy(t, e, i) {
|
|
|
14099
14103
|
H,
|
|
14100
14104
|
Ee,
|
|
14101
14105
|
Bt,
|
|
14102
|
-
|
|
14106
|
+
rt,
|
|
14103
14107
|
a,
|
|
14104
14108
|
Q,
|
|
14105
14109
|
se,
|
|
@@ -14150,7 +14154,7 @@ function Zy(t, e, i) {
|
|
|
14150
14154
|
We,
|
|
14151
14155
|
Xe,
|
|
14152
14156
|
et,
|
|
14153
|
-
|
|
14157
|
+
at,
|
|
14154
14158
|
Fe,
|
|
14155
14159
|
Pt,
|
|
14156
14160
|
ft,
|
|
@@ -14577,7 +14581,7 @@ function t2(t) {
|
|
|
14577
14581
|
};
|
|
14578
14582
|
}
|
|
14579
14583
|
function pa(t) {
|
|
14580
|
-
let e, i, n, o, s, l, a, r, u, c, g, v, _, m, w, y, A, S, C, T, I, E, R, Z, F, U, ae, ce, se, $, Q, re, de, Y, K, te, b, P, j, L, Pe, Ve, Ue, G, Te, qe, Qe,
|
|
14584
|
+
let e, i, n, o, s, l, a, r, u, c, g, v, _, m, w, y, A, S, C, T, I, E, R, Z, F, U, ae, ce, se, $, Q, re, de, Y, K, te, b, P, j, L, Pe, Ve, Ue, G, Te, qe, Qe, st, pt, ut, Ye, Re, Ne, gt, ze, lt, $e, xe, jt, Je, Be, We, Xe, et, at, Fe, Pt, ft, mt, He, Ze, tt, H, Ee, je, ht, St, Ge, Ke, Bt, rt, wt, ct, zt, Lt, Dt, Vt, _t, he, k, V, ue, Rt, qt, gi, Tt, Fi, si, nn, yt, Ti, li, Pi, Ct, Ht, bi, Ot, ai, Nt, vn, Yt, on, xt, ri = ti(
|
|
14581
14585
|
/*content*/
|
|
14582
14586
|
t[41]
|
|
14583
14587
|
), vt = [];
|
|
@@ -14606,23 +14610,23 @@ function pa(t) {
|
|
|
14606
14610
|
`), $ = p("select"), Q = p("option"), Q.textContent = `${!1}`, re = p("option"), re.textContent = `${!0}`, de = X(), Y = p("div"), K = ne(`videoTextColor:
|
|
14607
14611
|
`), te = p("input"), b = X(), P = p("div"), j = ne(`videoIconColor:
|
|
14608
14612
|
`), L = p("input"), Pe = X(), Ve = p("div"), Ue = ne(`mediaSession:
|
|
14609
|
-
`), G = p("select"), Te = p("option"), Te.textContent = "auto", qe = p("option"), qe.textContent = "override", Qe = p("option"), Qe.textContent = "none",
|
|
14613
|
+
`), G = p("select"), Te = p("option"), Te.textContent = "auto", qe = p("option"), qe.textContent = "override", Qe = p("option"), Qe.textContent = "none", st = X(), pt = p("div"), ut = ne(`contentIndex:
|
|
14610
14614
|
`), Ye = p("select");
|
|
14611
14615
|
for (let D = 0; D < vt.length; D += 1)
|
|
14612
14616
|
vt[D].c();
|
|
14613
14617
|
Re = X(), Ne = p("div"), gt = ne(`introsOutrosIndex:
|
|
14614
|
-
`), ze = p("select"),
|
|
14618
|
+
`), ze = p("select"), lt = p("option"), lt.textContent = "-1 (none)";
|
|
14615
14619
|
for (let D = 0; D < bt.length; D += 1)
|
|
14616
14620
|
bt[D].c();
|
|
14617
14621
|
$e = X(), xe = p("div"), jt = ne(`persistentAdImage:
|
|
14618
|
-
`), Je = p("select"), Be = p("option"), Be.textContent = `${!1}`, We = p("option"), We.textContent = `${!0}`, Xe = X(), et = p("div"),
|
|
14622
|
+
`), Je = p("select"), Be = p("option"), Be.textContent = `${!1}`, We = p("option"), We.textContent = `${!0}`, Xe = X(), et = p("div"), at = ne(`persistentIndex:
|
|
14619
14623
|
`), Fe = p("select"), Pt = p("option"), Pt.textContent = "-1 (none)";
|
|
14620
14624
|
for (let D = 0; D < Mt.length; D += 1)
|
|
14621
14625
|
Mt[D].c();
|
|
14622
14626
|
ft = X(), mt = p("div"), He = ne(`duration:
|
|
14623
14627
|
`), Ze = p("input"), tt = X(), H = p("div"), Ee = ne(`currentTime:
|
|
14624
14628
|
`), je = p("input"), ht = X(), St = p("div"), Ge = ne(`playbackRate:
|
|
14625
|
-
`), Ke = p("input"), Bt = X(),
|
|
14629
|
+
`), Ke = p("input"), Bt = X(), rt = p("div"), wt = ne(`widgetTarget:
|
|
14626
14630
|
`), ct = p("input"), zt = X(), Lt = p("div"), Dt = ne(`logoIconEnabled:
|
|
14627
14631
|
`), Vt = p("select"), _t = p("option"), _t.textContent = `${!1}`, he = p("option"), he.textContent = `${!0}`, k = X(), V = p("div"), ue = ne(`advertConsent:
|
|
14628
14632
|
`), Rt = p("select"), qt = p("option"), qt.textContent = "personalized", gi = p("option"), gi.textContent = "non-personalized", Tt = p("option"), Tt.textContent = "under-the-age-of-consent", Fi = X(), si = p("div"), nn = ne(`analyticsConsent:
|
|
@@ -14640,7 +14644,7 @@ function pa(t) {
|
|
|
14640
14644
|
t[13] === void 0 && nt(() => (
|
|
14641
14645
|
/*select2_change_handler_1*/
|
|
14642
14646
|
t[73].call(Ye)
|
|
14643
|
-
)), W(pt, "class", "control svelte-g76q0j"),
|
|
14647
|
+
)), W(pt, "class", "control svelte-g76q0j"), lt.__value = -1, x(lt, lt.__value), W(ze, "tabindex", -1), W(ze, "class", "svelte-g76q0j"), /*introsOutrosIndex*/
|
|
14644
14648
|
t[14] === void 0 && nt(() => (
|
|
14645
14649
|
/*select3_change_handler_1*/
|
|
14646
14650
|
t[74].call(ze)
|
|
@@ -14652,7 +14656,7 @@ function pa(t) {
|
|
|
14652
14656
|
t[17] === void 0 && nt(() => (
|
|
14653
14657
|
/*select5_change_handler_1*/
|
|
14654
14658
|
t[76].call(Fe)
|
|
14655
|
-
)), W(et, "class", "control svelte-g76q0j"), W(Ze, "tabindex", -1), W(Ze, "type", "text"), W(Ze, "class", "svelte-g76q0j"), W(mt, "class", "control svelte-g76q0j"), W(je, "tabindex", -1), W(je, "type", "text"), W(je, "class", "svelte-g76q0j"), W(H, "class", "control svelte-g76q0j"), W(Ke, "tabindex", -1), W(Ke, "type", "text"), W(Ke, "class", "svelte-g76q0j"), W(St, "class", "control svelte-g76q0j"), W(ct, "tabindex", -1), W(ct, "type", "text"), W(ct, "class", "svelte-g76q0j"), W(
|
|
14659
|
+
)), W(et, "class", "control svelte-g76q0j"), W(Ze, "tabindex", -1), W(Ze, "type", "text"), W(Ze, "class", "svelte-g76q0j"), W(mt, "class", "control svelte-g76q0j"), W(je, "tabindex", -1), W(je, "type", "text"), W(je, "class", "svelte-g76q0j"), W(H, "class", "control svelte-g76q0j"), W(Ke, "tabindex", -1), W(Ke, "type", "text"), W(Ke, "class", "svelte-g76q0j"), W(St, "class", "control svelte-g76q0j"), W(ct, "tabindex", -1), W(ct, "type", "text"), W(ct, "class", "svelte-g76q0j"), W(rt, "class", "control svelte-g76q0j"), _t.__value = !1, x(_t, _t.__value), he.__value = !0, x(he, he.__value), W(Vt, "tabindex", -1), W(Vt, "class", "svelte-g76q0j"), /*logoIconEnabled*/
|
|
14656
14660
|
t[32] === void 0 && nt(() => (
|
|
14657
14661
|
/*select6_change_handler_1*/
|
|
14658
14662
|
t[81].call(Vt)
|
|
@@ -14705,7 +14709,7 @@ function pa(t) {
|
|
|
14705
14709
|
/*mediaSession*/
|
|
14706
14710
|
t[12],
|
|
14707
14711
|
!0
|
|
14708
|
-
), M(D,
|
|
14712
|
+
), M(D, st, J), M(D, pt, J), f(pt, ut), f(pt, Ye);
|
|
14709
14713
|
for (let le = 0; le < vt.length; le += 1)
|
|
14710
14714
|
vt[le] && vt[le].m(Ye, null);
|
|
14711
14715
|
Ie(
|
|
@@ -14713,7 +14717,7 @@ function pa(t) {
|
|
|
14713
14717
|
/*contentIndex*/
|
|
14714
14718
|
t[13],
|
|
14715
14719
|
!0
|
|
14716
|
-
), M(D, Re, J), M(D, Ne, J), f(Ne, gt), f(Ne, ze), f(ze,
|
|
14720
|
+
), M(D, Re, J), M(D, Ne, J), f(Ne, gt), f(Ne, ze), f(ze, lt);
|
|
14717
14721
|
for (let le = 0; le < bt.length; le += 1)
|
|
14718
14722
|
bt[le] && bt[le].m(ze, null);
|
|
14719
14723
|
Ie(
|
|
@@ -14726,7 +14730,7 @@ function pa(t) {
|
|
|
14726
14730
|
/*persistentAdImage*/
|
|
14727
14731
|
t[16],
|
|
14728
14732
|
!0
|
|
14729
|
-
), M(D, Xe, J), M(D, et, J), f(et,
|
|
14733
|
+
), M(D, Xe, J), M(D, et, J), f(et, at), f(et, Fe), f(Fe, Pt);
|
|
14730
14734
|
for (let le = 0; le < Mt.length; le += 1)
|
|
14731
14735
|
Mt[le] && Mt[le].m(Fe, null);
|
|
14732
14736
|
Ie(
|
|
@@ -14746,7 +14750,7 @@ function pa(t) {
|
|
|
14746
14750
|
Ke,
|
|
14747
14751
|
/*playbackRate*/
|
|
14748
14752
|
t[21]
|
|
14749
|
-
), M(D, Bt, J), M(D,
|
|
14753
|
+
), M(D, Bt, J), M(D, rt, J), f(rt, wt), f(rt, ct), x(
|
|
14750
14754
|
ct,
|
|
14751
14755
|
/*widgetTarget*/
|
|
14752
14756
|
t[25]
|
|
@@ -15080,7 +15084,7 @@ function pa(t) {
|
|
|
15080
15084
|
);
|
|
15081
15085
|
},
|
|
15082
15086
|
d(D) {
|
|
15083
|
-
D && (O(e), O(i), O(n), O(o), O(s), O(l), O(a), O(r), O(g), O(v), O(w), O(y), O(C), O(T), O(R), O(Z), O(ae), O(ce), O(de), O(Y), O(b), O(P), O(Pe), O(Ve), O(
|
|
15087
|
+
D && (O(e), O(i), O(n), O(o), O(s), O(l), O(a), O(r), O(g), O(v), O(w), O(y), O(C), O(T), O(R), O(Z), O(ae), O(ce), O(de), O(Y), O(b), O(P), O(Pe), O(Ve), O(st), O(pt), O(Re), O(Ne), O($e), O(xe), O(Xe), O(et), O(ft), O(mt), O(tt), O(H), O(ht), O(St), O(Bt), O(rt), O(zt), O(Lt), O(k), O(V), O(Fi), O(si), O(Ct), O(Ht), O(ai), O(Nt)), yn(vt, D), yn(bt, D), yn(Mt, D), on = !1, ot(xt);
|
|
15084
15088
|
}
|
|
15085
15089
|
};
|
|
15086
15090
|
}
|
|
@@ -15203,7 +15207,7 @@ function n2(t) {
|
|
|
15203
15207
|
};
|
|
15204
15208
|
}
|
|
15205
15209
|
function o2(t) {
|
|
15206
|
-
let e, i, n, o, s, l, a, r, u, c, g, v, _, m, w, y, A, S, C, T, I, E, R, Z, F, U, ae, ce, se, $, Q, re, de, Y, K, te, b, P, j, L, Pe, Ve, Ue, G, Te, qe, Qe,
|
|
15210
|
+
let e, i, n, o, s, l, a, r, u, c, g, v, _, m, w, y, A, S, C, T, I, E, R, Z, F, U, ae, ce, se, $, Q, re, de, Y, K, te, b, P, j, L, Pe, Ve, Ue, G, Te, qe, Qe, st, pt, ut, Ye, Re, Ne, gt, ze, lt, $e, xe, jt, Je, Be, We, Xe, et, at, Fe, Pt, ft, mt, He, Ze, tt, H, Ee, je, ht, St, Ge, Ke, Bt, rt, wt, ct, zt, Lt, Dt, Vt, _t, he, k, V, ue, Rt, qt, gi, Tt, Fi, si, nn, yt, Ti, li, Pi, Ct, Ht, bi, Ot, ai, Nt, vn, Yt, on, xt, ri, vt, ui, bt, ci, Mt, D, J, le, Zt, sn, ln, an, rn, ko, bn, po, Vi, So, Gn, wo, To, Kn, Po, un = ti(
|
|
15207
15211
|
/*adverts*/
|
|
15208
15212
|
t[43]
|
|
15209
15213
|
), Gt = [];
|
|
@@ -15231,15 +15235,15 @@ function o2(t) {
|
|
|
15231
15235
|
`), R = p("input"), Z = X(), F = p("div"), U = ne(`callToAction:
|
|
15232
15236
|
`), ae = p("input"), ce = X(), se = p("div"), $ = ne(`skipButtonStyle:
|
|
15233
15237
|
`), Q = p("select"), re = p("option"), re.textContent = "auto", de = p("option"), de.textContent = "segments", Y = p("option"), Y.textContent = "seconds", K = p("option"), K.textContent = "seconds-15", te = p("option"), te.textContent = "seconds-15-30", b = p("option"), b.textContent = "tracks", P = X(), j = p("div"), L = ne(`playlistStyle:
|
|
15234
|
-
`), Pe = p("select"), Ve = p("option"), Ve.textContent = "auto", Ue = p("option"), Ue.textContent = "show", G = p("option"), G.textContent = "show-3", Te = p("option"), Te.textContent = "show-999", qe = p("option"), qe.textContent = "hide", Qe = X(),
|
|
15235
|
-
`), ut = p("select"), Ye = p("option"), Ye.textContent = "auto", Re = p("option"), Re.textContent = "show", Ne = p("option"), Ne.textContent = "hide", gt = X(), ze = p("div"),
|
|
15238
|
+
`), Pe = p("select"), Ve = p("option"), Ve.textContent = "auto", Ue = p("option"), Ue.textContent = "show", G = p("option"), G.textContent = "show-3", Te = p("option"), Te.textContent = "show-999", qe = p("option"), qe.textContent = "hide", Qe = X(), st = p("div"), pt = ne(`playlistToggle:
|
|
15239
|
+
`), ut = p("select"), Ye = p("option"), Ye.textContent = "auto", Re = p("option"), Re.textContent = "show", Ne = p("option"), Ne.textContent = "hide", gt = X(), ze = p("div"), lt = ne(`advertIndex:
|
|
15236
15240
|
`), $e = p("select"), xe = p("option"), xe.textContent = "-1 (none)";
|
|
15237
15241
|
for (let _e = 0; _e < Gt.length; _e += 1)
|
|
15238
15242
|
Gt[_e].c();
|
|
15239
15243
|
jt = X(), Je = p("div"), Be = ne(`widgetStyle:
|
|
15240
|
-
`), We = p("select"), Xe = p("option"), Xe.textContent = "small", et = p("option"), et.textContent = "standard",
|
|
15244
|
+
`), We = p("select"), Xe = p("option"), Xe.textContent = "small", et = p("option"), et.textContent = "standard", at = p("option"), at.textContent = "large", Fe = p("option"), Fe.textContent = "video", Pt = X(), ft = p("div"), mt = ne(`widgetPosition:
|
|
15241
15245
|
`), He = p("select"), Ze = p("option"), Ze.textContent = "auto", tt = p("option"), tt.textContent = "left", H = p("option"), H.textContent = "center", Ee = p("option"), Ee.textContent = "right", je = X(), ht = p("div"), St = ne(`widgetWidth:
|
|
15242
|
-
`), Ge = p("select"), Ke = p("option"), Ke.textContent = "auto", Bt = p("option"), Bt.textContent = "400px",
|
|
15246
|
+
`), Ge = p("select"), Ke = p("option"), Ke.textContent = "auto", Bt = p("option"), Bt.textContent = "400px", rt = p("option"), rt.textContent = "30rem", wt = p("option"), wt.textContent = "fit-content", ct = p("option"), ct.textContent = "initial", zt = p("option"), zt.textContent = "0", Lt = X(), Dt = p("div"), Vt = ne(`textColor:
|
|
15243
15247
|
`), _t = p("input"), he = X(), k = p("div"), V = ne(`backgroundColor:
|
|
15244
15248
|
`), ue = p("input"), Rt = X(), qt = p("div"), gi = ne(`iconColor:
|
|
15245
15249
|
`), Tt = p("input"), Fi = X(), si = p("div"), nn = ne(`highlightColor:
|
|
@@ -15270,11 +15274,11 @@ function o2(t) {
|
|
|
15270
15274
|
t[11] === void 0 && nt(() => (
|
|
15271
15275
|
/*select4_change_handler*/
|
|
15272
15276
|
t[51].call(ut)
|
|
15273
|
-
)), W(
|
|
15277
|
+
)), W(st, "class", "control svelte-g76q0j"), xe.__value = -1, x(xe, xe.__value), W($e, "tabindex", -1), W($e, "class", "svelte-g76q0j"), /*advertIndex*/
|
|
15274
15278
|
t[15] === void 0 && nt(() => (
|
|
15275
15279
|
/*select5_change_handler*/
|
|
15276
15280
|
t[52].call($e)
|
|
15277
|
-
)), W(ze, "class", "control svelte-g76q0j"), Xe.__value = "small", x(Xe, Xe.__value), et.__value = "standard", x(et, et.__value),
|
|
15281
|
+
)), W(ze, "class", "control svelte-g76q0j"), Xe.__value = "small", x(Xe, Xe.__value), et.__value = "standard", x(et, et.__value), at.__value = "large", x(at, at.__value), Fe.__value = "video", x(Fe, Fe.__value), W(We, "tabindex", -1), W(We, "class", "svelte-g76q0j"), /*widgetStyle*/
|
|
15278
15282
|
t[22] === void 0 && nt(() => (
|
|
15279
15283
|
/*select6_change_handler*/
|
|
15280
15284
|
t[53].call(We)
|
|
@@ -15282,7 +15286,7 @@ function o2(t) {
|
|
|
15282
15286
|
t[23] === void 0 && nt(() => (
|
|
15283
15287
|
/*select7_change_handler*/
|
|
15284
15288
|
t[54].call(He)
|
|
15285
|
-
)), W(ft, "class", "control svelte-g76q0j"), Ke.__value = "auto", x(Ke, Ke.__value), Bt.__value = "400px", x(Bt, Bt.__value),
|
|
15289
|
+
)), W(ft, "class", "control svelte-g76q0j"), Ke.__value = "auto", x(Ke, Ke.__value), Bt.__value = "400px", x(Bt, Bt.__value), rt.__value = "30rem", x(rt, rt.__value), wt.__value = "fit-content", x(wt, wt.__value), ct.__value = "initial", x(ct, ct.__value), zt.__value = "0", x(zt, zt.__value), W(Ge, "tabindex", -1), W(Ge, "class", "svelte-g76q0j"), /*widgetWidth*/
|
|
15286
15290
|
t[24] === void 0 && nt(() => (
|
|
15287
15291
|
/*select8_change_handler*/
|
|
15288
15292
|
t[55].call(Ge)
|
|
@@ -15333,12 +15337,12 @@ function o2(t) {
|
|
|
15333
15337
|
/*playlistStyle*/
|
|
15334
15338
|
t[10],
|
|
15335
15339
|
!0
|
|
15336
|
-
), f(e, Qe), f(e,
|
|
15340
|
+
), f(e, Qe), f(e, st), f(st, pt), f(st, ut), f(ut, Ye), f(ut, Re), f(ut, Ne), Ie(
|
|
15337
15341
|
ut,
|
|
15338
15342
|
/*playlistToggle*/
|
|
15339
15343
|
t[11],
|
|
15340
15344
|
!0
|
|
15341
|
-
), f(e, gt), f(e, ze), f(ze,
|
|
15345
|
+
), f(e, gt), f(e, ze), f(ze, lt), f(ze, $e), f($e, xe);
|
|
15342
15346
|
for (let kt = 0; kt < Gt.length; kt += 1)
|
|
15343
15347
|
Gt[kt] && Gt[kt].m($e, null);
|
|
15344
15348
|
Ie(
|
|
@@ -15346,7 +15350,7 @@ function o2(t) {
|
|
|
15346
15350
|
/*advertIndex*/
|
|
15347
15351
|
t[15],
|
|
15348
15352
|
!0
|
|
15349
|
-
), f(e, jt), f(e, Je), f(Je, Be), f(Je, We), f(We, Xe), f(We, et), f(We,
|
|
15353
|
+
), f(e, jt), f(e, Je), f(Je, Be), f(Je, We), f(We, Xe), f(We, et), f(We, at), f(We, Fe), Ie(
|
|
15350
15354
|
We,
|
|
15351
15355
|
/*widgetStyle*/
|
|
15352
15356
|
t[22],
|
|
@@ -15356,7 +15360,7 @@ function o2(t) {
|
|
|
15356
15360
|
/*widgetPosition*/
|
|
15357
15361
|
t[23],
|
|
15358
15362
|
!0
|
|
15359
|
-
), f(e, je), f(e, ht), f(ht, St), f(ht, Ge), f(Ge, Ke), f(Ge, Bt), f(Ge,
|
|
15363
|
+
), f(e, je), f(e, ht), f(ht, St), f(ht, Ge), f(Ge, Ke), f(Ge, Bt), f(Ge, rt), f(Ge, wt), f(Ge, ct), f(Ge, zt), Ie(
|
|
15360
15364
|
Ge,
|
|
15361
15365
|
/*widgetWidth*/
|
|
15362
15366
|
t[24],
|
|
@@ -15647,7 +15651,7 @@ function o2(t) {
|
|
|
15647
15651
|
function s2(t, e, i) {
|
|
15648
15652
|
import("./././././././././style.js");
|
|
15649
15653
|
let { projectId: n } = e, { contentId: o } = e, { playlistId: s } = e, { sourceId: l } = e, { sourceUrl: a } = e, { showUserInterface: r } = e, { playerStyle: u } = e, { playerTitle: c } = e, { callToAction: g } = e, { skipButtonStyle: v } = e, { playlistStyle: _ } = e, { playlistToggle: m } = e, { mediaSession: w } = e, { content: y } = e, { contentIndex: A } = e, { introsOutros: S } = e, { introsOutrosIndex: C } = e, { adverts: T } = e, { advertIndex: I } = e, { persistentAdImage: E } = e, { persistentIndex: R } = e, { duration: Z } = e, { currentTime: F } = e, { playbackState: U } = e, { playbackRate: ae } = e, { widgetStyle: ce } = e, { widgetPosition: se } = e, { widgetWidth: $ } = e, { widgetTarget: Q } = e, { textColor: re } = e, { backgroundColor: de } = e, { iconColor: Y } = e, { highlightColor: K } = e, { videoTextColor: te } = e, { videoIconColor: b } = e, { logoIconEnabled: P } = e, { highlightSections: j } = e, { clickableSections: L } = e, { segmentWidgetSections: Pe } = e, { segmentWidgetPosition: Ve } = e, { advertConsent: Ue } = e, { analyticsConsent: G } = e, { analyticsCustomUrl: Te } = e, { analyticsTag: qe } = e, Qe = !1;
|
|
15650
|
-
function
|
|
15654
|
+
function st() {
|
|
15651
15655
|
u = At(this), i(6, u);
|
|
15652
15656
|
}
|
|
15653
15657
|
function pt() {
|
|
@@ -15671,7 +15675,7 @@ function s2(t, e, i) {
|
|
|
15671
15675
|
function ze() {
|
|
15672
15676
|
I = At(this), i(15, I);
|
|
15673
15677
|
}
|
|
15674
|
-
function
|
|
15678
|
+
function lt() {
|
|
15675
15679
|
ce = At(this), i(22, ce);
|
|
15676
15680
|
}
|
|
15677
15681
|
function $e() {
|
|
@@ -15698,7 +15702,7 @@ function s2(t, e, i) {
|
|
|
15698
15702
|
function et() {
|
|
15699
15703
|
L = At(this), i(34, L);
|
|
15700
15704
|
}
|
|
15701
|
-
function
|
|
15705
|
+
function at() {
|
|
15702
15706
|
Pe = At(this), i(35, Pe);
|
|
15703
15707
|
}
|
|
15704
15708
|
function Fe() {
|
|
@@ -15746,7 +15750,7 @@ function s2(t, e, i) {
|
|
|
15746
15750
|
function Bt() {
|
|
15747
15751
|
Z = this.value, i(18, Z);
|
|
15748
15752
|
}
|
|
15749
|
-
function
|
|
15753
|
+
function rt() {
|
|
15750
15754
|
F = this.value, i(19, F);
|
|
15751
15755
|
}
|
|
15752
15756
|
function wt() {
|
|
@@ -15819,7 +15823,7 @@ function s2(t, e, i) {
|
|
|
15819
15823
|
S,
|
|
15820
15824
|
T,
|
|
15821
15825
|
Qe,
|
|
15822
|
-
|
|
15826
|
+
st,
|
|
15823
15827
|
pt,
|
|
15824
15828
|
ut,
|
|
15825
15829
|
Ye,
|
|
@@ -15827,7 +15831,7 @@ function s2(t, e, i) {
|
|
|
15827
15831
|
Ne,
|
|
15828
15832
|
gt,
|
|
15829
15833
|
ze,
|
|
15830
|
-
|
|
15834
|
+
lt,
|
|
15831
15835
|
$e,
|
|
15832
15836
|
xe,
|
|
15833
15837
|
jt,
|
|
@@ -15836,7 +15840,7 @@ function s2(t, e, i) {
|
|
|
15836
15840
|
We,
|
|
15837
15841
|
Xe,
|
|
15838
15842
|
et,
|
|
15839
|
-
|
|
15843
|
+
at,
|
|
15840
15844
|
Fe,
|
|
15841
15845
|
Pt,
|
|
15842
15846
|
ft,
|
|
@@ -15852,7 +15856,7 @@ function s2(t, e, i) {
|
|
|
15852
15856
|
Ge,
|
|
15853
15857
|
Ke,
|
|
15854
15858
|
Bt,
|
|
15855
|
-
|
|
15859
|
+
rt,
|
|
15856
15860
|
wt,
|
|
15857
15861
|
ct,
|
|
15858
15862
|
zt,
|
|
@@ -17770,7 +17774,7 @@ function Y2(t) {
|
|
|
17770
17774
|
function Qe(k) {
|
|
17771
17775
|
t[117](k);
|
|
17772
17776
|
}
|
|
17773
|
-
function
|
|
17777
|
+
function st(k) {
|
|
17774
17778
|
t[118](k);
|
|
17775
17779
|
}
|
|
17776
17780
|
function pt(k) {
|
|
@@ -17794,7 +17798,7 @@ function Y2(t) {
|
|
|
17794
17798
|
function ze(k) {
|
|
17795
17799
|
t[125](k);
|
|
17796
17800
|
}
|
|
17797
|
-
function
|
|
17801
|
+
function lt(k) {
|
|
17798
17802
|
t[126](k);
|
|
17799
17803
|
}
|
|
17800
17804
|
function $e(k) {
|
|
@@ -17821,7 +17825,7 @@ function Y2(t) {
|
|
|
17821
17825
|
function et(k) {
|
|
17822
17826
|
t[134](k);
|
|
17823
17827
|
}
|
|
17824
|
-
function
|
|
17828
|
+
function at(k) {
|
|
17825
17829
|
t[135](k);
|
|
17826
17830
|
}
|
|
17827
17831
|
function Fe(k) {
|
|
@@ -17869,7 +17873,7 @@ function Y2(t) {
|
|
|
17869
17873
|
function Bt(k) {
|
|
17870
17874
|
t[150](k);
|
|
17871
17875
|
}
|
|
17872
|
-
function
|
|
17876
|
+
function rt(k) {
|
|
17873
17877
|
t[151](k);
|
|
17874
17878
|
}
|
|
17875
17879
|
function wt(k) {
|
|
@@ -17994,7 +17998,7 @@ function Y2(t) {
|
|
|
17994
17998
|
t[43] !== void 0 && (he.analyticsCustomUrl = /*analyticsCustomUrl*/
|
|
17995
17999
|
t[43]), /*analyticsTag*/
|
|
17996
18000
|
t[44] !== void 0 && (he.analyticsTag = /*analyticsTag*/
|
|
17997
|
-
t[44]), e = new l2({ props: he }), oe.push(() => be(e, "projectId", qe)), oe.push(() => be(e, "contentId", Qe)), oe.push(() => be(e, "playlistId",
|
|
18001
|
+
t[44]), e = new l2({ props: he }), oe.push(() => be(e, "projectId", qe)), oe.push(() => be(e, "contentId", Qe)), oe.push(() => be(e, "playlistId", st)), oe.push(() => be(e, "sourceId", pt)), oe.push(() => be(e, "sourceUrl", ut)), oe.push(() => be(e, "showUserInterface", Ye)), oe.push(() => be(e, "playerStyle", Re)), oe.push(() => be(e, "playerTitle", Ne)), oe.push(() => be(e, "callToAction", gt)), oe.push(() => be(e, "skipButtonStyle", ze)), oe.push(() => be(e, "playlistStyle", lt)), oe.push(() => be(e, "playlistToggle", $e)), oe.push(() => be(e, "mediaSession", xe)), oe.push(() => be(e, "contentIndex", jt)), oe.push(() => be(e, "introsOutrosIndex", Je)), oe.push(() => be(e, "advertIndex", Be)), oe.push(() => be(e, "persistentAdImage", We)), oe.push(() => be(e, "persistentIndex", Xe)), oe.push(() => be(e, "duration", et)), oe.push(() => be(e, "currentTime", at)), oe.push(() => be(e, "playbackState", Fe)), oe.push(() => be(e, "playbackRate", Pt)), oe.push(() => be(e, "widgetStyle", ft)), oe.push(() => be(e, "widgetPosition", mt)), oe.push(() => be(e, "widgetWidth", He)), oe.push(() => be(e, "widgetTarget", Ze)), oe.push(() => be(e, "textColor", tt)), oe.push(() => be(e, "backgroundColor", H)), oe.push(() => be(e, "iconColor", Ee)), oe.push(() => be(e, "highlightColor", je)), oe.push(() => be(e, "videoTextColor", ht)), oe.push(() => be(e, "videoIconColor", St)), oe.push(() => be(e, "logoIconEnabled", Ge)), oe.push(() => be(e, "highlightSections", Ke)), oe.push(() => be(e, "clickableSections", Bt)), oe.push(() => be(e, "segmentWidgetSections", rt)), oe.push(() => be(e, "segmentWidgetPosition", wt)), oe.push(() => be(e, "currentSegment", ct)), oe.push(() => be(e, "hoveredSegment", zt)), oe.push(() => be(e, "advertConsent", Lt)), oe.push(() => be(e, "analyticsConsent", Dt)), oe.push(() => be(e, "analyticsCustomUrl", Vt)), oe.push(() => be(e, "analyticsTag", _t)), {
|
|
17998
18002
|
c() {
|
|
17999
18003
|
me(e.$$.fragment);
|
|
18000
18004
|
},
|
|
@@ -18344,7 +18348,7 @@ function Z2(t) {
|
|
|
18344
18348
|
};
|
|
18345
18349
|
}
|
|
18346
18350
|
function G2(t, e, i) {
|
|
18347
|
-
let n, o, s, l, a, r, u, c, g, v, _, m, w, y, A, S, C, T, I, E, R, Z, F, { playerApiUrl: U = "https://api.beyondwords.io/v1/projects/{id}/player" } = e, { projectId: ae = void 0 } = e, { contentId: ce = void 0 } = e, { playlistId: se = void 0 } = e, { sourceId: $ = void 0 } = e, { sourceUrl: Q = void 0 } = e, { playlist: re = [] } = e, { showUserInterface: de = !0 } = e, { showBottomWidget: Y = !1 } = e, { playerStyle: K = "standard" } = e, { playerTitle: te = void 0 } = e, { callToAction: b = void 0 } = e, { skipButtonStyle: P = "auto" } = e, { playlistStyle: j = "auto-5-4" } = e, { playlistToggle: L = "auto" } = e, { downloadFormats: Pe = [] } = e, { mediaSession: Ve = "auto" } = e, { content: Ue = [] } = e, { contentIndex: G = 0 } = e, { introsOutros: Te = [] } = e, { introsOutrosIndex: qe = -1 } = e, { adverts: Qe = [] } = e, { advertIndex:
|
|
18351
|
+
let n, o, s, l, a, r, u, c, g, v, _, m, w, y, A, S, C, T, I, E, R, Z, F, { playerApiUrl: U = "https://api.beyondwords.io/v1/projects/{id}/player" } = e, { projectId: ae = void 0 } = e, { contentId: ce = void 0 } = e, { playlistId: se = void 0 } = e, { sourceId: $ = void 0 } = e, { sourceUrl: Q = void 0 } = e, { playlist: re = [] } = e, { showUserInterface: de = !0 } = e, { showBottomWidget: Y = !1 } = e, { playerStyle: K = "standard" } = e, { playerTitle: te = void 0 } = e, { callToAction: b = void 0 } = e, { skipButtonStyle: P = "auto" } = e, { playlistStyle: j = "auto-5-4" } = e, { playlistToggle: L = "auto" } = e, { downloadFormats: Pe = [] } = e, { mediaSession: Ve = "auto" } = e, { content: Ue = [] } = e, { contentIndex: G = 0 } = e, { introsOutros: Te = [] } = e, { introsOutrosIndex: qe = -1 } = e, { adverts: Qe = [] } = e, { advertIndex: st = -1 } = e, { minDurationForMidroll: pt = 2 * 60 } = e, { minTimeUntilEndForMidroll: ut = 10 } = e, { persistentAdImage: Ye = !1 } = e, { persistentIndex: Re = -1 } = e, { duration: Ne = 0 } = e, { currentTime: gt = 0 } = e, { playbackState: ze = "stopped" } = e, { playbackRate: lt = 1 } = e, { playbackRates: $e = [0.5, 0.6, 0.7, 0.8, 0.9, 1, 1.1, 1.2, 1.3, 1.4, 1.5, 2, 2.5, 3] } = e, { widgetStyle: xe = "standard" } = e, { widgetPosition: jt = "auto" } = e, { widgetWidth: Je = "auto" } = e, { widgetTarget: Be = void 0 } = e, { textColor: We = "#111" } = e, { backgroundColor: Xe = "#f5f5f5" } = e, { iconColor: et = "rgba(0, 0, 0, 0.8)" } = e, { highlightColor: at = "#eee" } = e, { videoTextColor: Fe = "white" } = e, { videoBackgroundColor: Pt = "black" } = e, { videoIconColor: ft = "white" } = e, { logoIconEnabled: mt = !0 } = e, { highlightSections: He = "all" } = e, { clickableSections: Ze = "all" } = e, { segmentWidgetSections: tt = "body" } = e, { segmentWidgetPosition: H = "7-oclock" } = e, { currentSegment: Ee = void 0 } = e, { hoveredSegment: je = void 0 } = e, { loadedMedia: ht = void 0 } = e, { advertConsent: St = "personalized" } = e, { analyticsConsent: Ge = "allowed" } = e, { analyticsCustomUrl: Ke = void 0 } = e, { analyticsDeviceType: Bt = "auto" } = e, { analyticsTag: rt = void 0 } = e, { writeToken: wt = void 0 } = e, { captureErrors: ct = !0 } = e, { onError: zt = () => {
|
|
18348
18352
|
} } = e, { transitions: Lt = [] } = e, { controlPanel: Dt = void 0 } = e;
|
|
18349
18353
|
const Vt = (...h) => Tt.addEventListener(...h), _t = (...h) => Tt.removeEventListener(...h);
|
|
18350
18354
|
let { initialProps: he = {} } = e, { showMediaSession: k = !1 } = e, { metadataLoaded: V = !1 } = e, { isFullScreen: ue = !1 } = e, { mediaElement: Rt = void 0 } = e, { userInterface: qt = void 0 } = e, { widgetInterface: gi = void 0 } = e, { controller: Tt = void 0 } = e, { logoImagePosition: Fi = void 0 } = e, { analyticsUrl: si = void 0 } = e, { analyticsId: nn = void 0 } = e, { listenSessionId: yt = void 0 } = e, { sessionCreatedAt: Ti = void 0 } = e, { companionAdvert: li = void 0 } = e, { isNewListen: Pi = !1 } = e, { prevPercentage: Ct = 0 } = e, { segmentWidgets: Ht = [] } = e, { segmentContainers: bi = new tl((h) => i(49, Ht = h)) } = e, { segmentClickables: Ot = new $s() } = e, { segmentHighlights: ai = new il() } = e;
|
|
@@ -18364,7 +18368,7 @@ function G2(t, e, i) {
|
|
|
18364
18368
|
gt = h, i(11, gt);
|
|
18365
18369
|
}
|
|
18366
18370
|
function vt(h) {
|
|
18367
|
-
|
|
18371
|
+
lt = h, i(32, lt);
|
|
18368
18372
|
}
|
|
18369
18373
|
function ui(h) {
|
|
18370
18374
|
Ct = h, i(48, Ct);
|
|
@@ -18433,7 +18437,7 @@ function G2(t, e, i) {
|
|
|
18433
18437
|
qe = h, i(8, qe);
|
|
18434
18438
|
}
|
|
18435
18439
|
function Kn(h) {
|
|
18436
|
-
|
|
18440
|
+
st = h, i(9, st);
|
|
18437
18441
|
}
|
|
18438
18442
|
function Po(h) {
|
|
18439
18443
|
Ye = h, i(30, Ye);
|
|
@@ -18451,7 +18455,7 @@ function G2(t, e, i) {
|
|
|
18451
18455
|
ze = h, i(12, ze);
|
|
18452
18456
|
}
|
|
18453
18457
|
function ii(h) {
|
|
18454
|
-
|
|
18458
|
+
lt = h, i(32, lt);
|
|
18455
18459
|
}
|
|
18456
18460
|
function Co(h) {
|
|
18457
18461
|
xe = h, i(13, xe);
|
|
@@ -18475,7 +18479,7 @@ function G2(t, e, i) {
|
|
|
18475
18479
|
et = h, i(37, et);
|
|
18476
18480
|
}
|
|
18477
18481
|
function eu(h) {
|
|
18478
|
-
|
|
18482
|
+
at = h, i(15, at);
|
|
18479
18483
|
}
|
|
18480
18484
|
function tu(h) {
|
|
18481
18485
|
Fe = h, i(38, Fe);
|
|
@@ -18514,10 +18518,10 @@ function G2(t, e, i) {
|
|
|
18514
18518
|
Ke = h, i(43, Ke);
|
|
18515
18519
|
}
|
|
18516
18520
|
function fu(h) {
|
|
18517
|
-
|
|
18521
|
+
rt = h, i(44, rt);
|
|
18518
18522
|
}
|
|
18519
18523
|
return t.$$set = (h) => {
|
|
18520
|
-
"playerApiUrl" in h && i(75, U = h.playerApiUrl), "projectId" in h && i(0, ae = h.projectId), "contentId" in h && i(1, ce = h.contentId), "playlistId" in h && i(2, se = h.playlistId), "sourceId" in h && i(3, $ = h.sourceId), "sourceUrl" in h && i(4, Q = h.sourceUrl), "playlist" in h && i(76, re = h.playlist), "showUserInterface" in h && i(5, de = h.showUserInterface), "showBottomWidget" in h && i(77, Y = h.showBottomWidget), "playerStyle" in h && i(6, K = h.playerStyle), "playerTitle" in h && i(24, te = h.playerTitle), "callToAction" in h && i(25, b = h.callToAction), "skipButtonStyle" in h && i(26, P = h.skipButtonStyle), "playlistStyle" in h && i(27, j = h.playlistStyle), "playlistToggle" in h && i(28, L = h.playlistToggle), "downloadFormats" in h && i(50, Pe = h.downloadFormats), "mediaSession" in h && i(29, Ve = h.mediaSession), "content" in h && i(51, Ue = h.content), "contentIndex" in h && i(7, G = h.contentIndex), "introsOutros" in h && i(52, Te = h.introsOutros), "introsOutrosIndex" in h && i(8, qe = h.introsOutrosIndex), "adverts" in h && i(53, Qe = h.adverts), "advertIndex" in h && i(9,
|
|
18524
|
+
"playerApiUrl" in h && i(75, U = h.playerApiUrl), "projectId" in h && i(0, ae = h.projectId), "contentId" in h && i(1, ce = h.contentId), "playlistId" in h && i(2, se = h.playlistId), "sourceId" in h && i(3, $ = h.sourceId), "sourceUrl" in h && i(4, Q = h.sourceUrl), "playlist" in h && i(76, re = h.playlist), "showUserInterface" in h && i(5, de = h.showUserInterface), "showBottomWidget" in h && i(77, Y = h.showBottomWidget), "playerStyle" in h && i(6, K = h.playerStyle), "playerTitle" in h && i(24, te = h.playerTitle), "callToAction" in h && i(25, b = h.callToAction), "skipButtonStyle" in h && i(26, P = h.skipButtonStyle), "playlistStyle" in h && i(27, j = h.playlistStyle), "playlistToggle" in h && i(28, L = h.playlistToggle), "downloadFormats" in h && i(50, Pe = h.downloadFormats), "mediaSession" in h && i(29, Ve = h.mediaSession), "content" in h && i(51, Ue = h.content), "contentIndex" in h && i(7, G = h.contentIndex), "introsOutros" in h && i(52, Te = h.introsOutros), "introsOutrosIndex" in h && i(8, qe = h.introsOutrosIndex), "adverts" in h && i(53, Qe = h.adverts), "advertIndex" in h && i(9, st = h.advertIndex), "minDurationForMidroll" in h && i(78, pt = h.minDurationForMidroll), "minTimeUntilEndForMidroll" in h && i(79, ut = h.minTimeUntilEndForMidroll), "persistentAdImage" in h && i(30, Ye = h.persistentAdImage), "persistentIndex" in h && i(10, Re = h.persistentIndex), "duration" in h && i(31, Ne = h.duration), "currentTime" in h && i(11, gt = h.currentTime), "playbackState" in h && i(12, ze = h.playbackState), "playbackRate" in h && i(32, lt = h.playbackRate), "playbackRates" in h && i(54, $e = h.playbackRates), "widgetStyle" in h && i(13, xe = h.widgetStyle), "widgetPosition" in h && i(33, jt = h.widgetPosition), "widgetWidth" in h && i(34, Je = h.widgetWidth), "widgetTarget" in h && i(14, Be = h.widgetTarget), "textColor" in h && i(35, We = h.textColor), "backgroundColor" in h && i(36, Xe = h.backgroundColor), "iconColor" in h && i(37, et = h.iconColor), "highlightColor" in h && i(15, at = h.highlightColor), "videoTextColor" in h && i(38, Fe = h.videoTextColor), "videoBackgroundColor" in h && i(55, Pt = h.videoBackgroundColor), "videoIconColor" in h && i(39, ft = h.videoIconColor), "logoIconEnabled" in h && i(40, mt = h.logoIconEnabled), "highlightSections" in h && i(16, He = h.highlightSections), "clickableSections" in h && i(17, Ze = h.clickableSections), "segmentWidgetSections" in h && i(18, tt = h.segmentWidgetSections), "segmentWidgetPosition" in h && i(19, H = h.segmentWidgetPosition), "currentSegment" in h && i(20, Ee = h.currentSegment), "hoveredSegment" in h && i(21, je = h.hoveredSegment), "loadedMedia" in h && i(80, ht = h.loadedMedia), "advertConsent" in h && i(41, St = h.advertConsent), "analyticsConsent" in h && i(42, Ge = h.analyticsConsent), "analyticsCustomUrl" in h && i(43, Ke = h.analyticsCustomUrl), "analyticsDeviceType" in h && i(81, Bt = h.analyticsDeviceType), "analyticsTag" in h && i(44, rt = h.analyticsTag), "writeToken" in h && i(82, wt = h.writeToken), "captureErrors" in h && i(83, ct = h.captureErrors), "onError" in h && i(84, zt = h.onError), "transitions" in h && i(85, Lt = h.transitions), "controlPanel" in h && i(22, Dt = h.controlPanel), "initialProps" in h && i(88, he = h.initialProps), "showMediaSession" in h && i(56, k = h.showMediaSession), "metadataLoaded" in h && i(23, V = h.metadataLoaded), "isFullScreen" in h && i(57, ue = h.isFullScreen), "mediaElement" in h && i(45, Rt = h.mediaElement), "userInterface" in h && i(46, qt = h.userInterface), "widgetInterface" in h && i(47, gi = h.widgetInterface), "controller" in h && i(89, Tt = h.controller), "logoImagePosition" in h && i(58, Fi = h.logoImagePosition), "analyticsUrl" in h && i(90, si = h.analyticsUrl), "analyticsId" in h && i(91, nn = h.analyticsId), "listenSessionId" in h && i(92, yt = h.listenSessionId), "sessionCreatedAt" in h && i(93, Ti = h.sessionCreatedAt), "companionAdvert" in h && i(59, li = h.companionAdvert), "isNewListen" in h && i(94, Pi = h.isNewListen), "prevPercentage" in h && i(48, Ct = h.prevPercentage), "segmentWidgets" in h && i(49, Ht = h.segmentWidgets), "segmentContainers" in h && i(95, bi = h.segmentContainers), "segmentClickables" in h && i(96, Ot = h.segmentClickables), "segmentHighlights" in h && i(97, ai = h.segmentHighlights);
|
|
18521
18525
|
}, t.$$.update = () => {
|
|
18522
18526
|
t.$$.dirty[0] & /*contentIndex*/
|
|
18523
18527
|
128 | t.$$.dirty[1] & /*content*/
|
|
@@ -18525,7 +18529,7 @@ function G2(t, e, i) {
|
|
|
18525
18529
|
256 | t.$$.dirty[1] & /*introsOutros*/
|
|
18526
18530
|
2097152 && i(62, o = Te[qe]), t.$$.dirty[0] & /*advertIndex*/
|
|
18527
18531
|
512 | t.$$.dirty[1] & /*adverts*/
|
|
18528
|
-
4194304 && i(63, s = Qe[
|
|
18532
|
+
4194304 && i(63, s = Qe[st]), t.$$.dirty[0] & /*persistentIndex*/
|
|
18529
18533
|
1024 | t.$$.dirty[1] & /*adverts*/
|
|
18530
18534
|
4194304 && i(74, l = Qe[Re]), t.$$.dirty[0] & /*playbackState*/
|
|
18531
18535
|
4096 | t.$$.dirty[2] & /*activeAdvert*/
|
|
@@ -18578,9 +18582,9 @@ function G2(t, e, i) {
|
|
|
18578
18582
|
2228224 | t.$$.dirty[3] & /*segmentClickables*/
|
|
18579
18583
|
8 && Ot.update(je, Ze), t.$$.dirty[0] & /*currentSegment, highlightSections, highlightColor*/
|
|
18580
18584
|
1146880 | t.$$.dirty[3] & /*segmentHighlights*/
|
|
18581
|
-
16 && ai.update("current", Ee, He,
|
|
18585
|
+
16 && ai.update("current", Ee, He, at), t.$$.dirty[0] & /*hoveredSegment, highlightSections, highlightColor*/
|
|
18582
18586
|
2195456 | t.$$.dirty[3] & /*segmentHighlights*/
|
|
18583
|
-
16 && ai.update("hovered", je, He,
|
|
18587
|
+
16 && ai.update("hovered", je, He, at), t.$$.dirty[0] & /*currentTime*/
|
|
18584
18588
|
2048 | t.$$.dirty[2] & /*transitions, controller*/
|
|
18585
18589
|
142606336 && E2(Lt, Tt, gt);
|
|
18586
18590
|
}, [
|
|
@@ -18593,13 +18597,13 @@ function G2(t, e, i) {
|
|
|
18593
18597
|
K,
|
|
18594
18598
|
G,
|
|
18595
18599
|
qe,
|
|
18596
|
-
|
|
18600
|
+
st,
|
|
18597
18601
|
Re,
|
|
18598
18602
|
gt,
|
|
18599
18603
|
ze,
|
|
18600
18604
|
xe,
|
|
18601
18605
|
Be,
|
|
18602
|
-
|
|
18606
|
+
at,
|
|
18603
18607
|
He,
|
|
18604
18608
|
Ze,
|
|
18605
18609
|
tt,
|
|
@@ -18616,7 +18620,7 @@ function G2(t, e, i) {
|
|
|
18616
18620
|
Ve,
|
|
18617
18621
|
Ye,
|
|
18618
18622
|
Ne,
|
|
18619
|
-
|
|
18623
|
+
lt,
|
|
18620
18624
|
jt,
|
|
18621
18625
|
Je,
|
|
18622
18626
|
We,
|
|
@@ -18628,7 +18632,7 @@ function G2(t, e, i) {
|
|
|
18628
18632
|
St,
|
|
18629
18633
|
Ge,
|
|
18630
18634
|
Ke,
|
|
18631
|
-
|
|
18635
|
+
rt,
|
|
18632
18636
|
Rt,
|
|
18633
18637
|
qt,
|
|
18634
18638
|
gi,
|