@beyondwords/player 0.1.12 → 0.1.14
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 +772 -764
- package/dist/es.js.map +1 -1
- package/dist/umd.js +12 -12
- package/dist/umd.js.map +1 -1
- package/package.json +1 -1
package/dist/es.js
CHANGED
|
@@ -28,7 +28,7 @@ var Ii = (t, e, i) => (Co(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
|
}, ar = (t, e, i, n) => (Co(t, e, "write to private field"), n ? n.call(t, i) : e.set(t, i), i);
|
|
31
|
-
var
|
|
31
|
+
var E = (t, e, i) => (Co(t, e, "access private method"), i);
|
|
32
32
|
var vi = (t, e, i) => new Promise((n, s) => {
|
|
33
33
|
var o = (a) => {
|
|
34
34
|
try {
|
|
@@ -45,7 +45,7 @@ var vi = (t, e, i) => new Promise((n, s) => {
|
|
|
45
45
|
}, l = (a) => a.done ? n(a.value) : Promise.resolve(a.value).then(o, r);
|
|
46
46
|
l((i = i.apply(t, e)).next());
|
|
47
47
|
});
|
|
48
|
-
/*! version:"0.1.
|
|
48
|
+
/*! version:"0.1.14" */
|
|
49
49
|
function G() {
|
|
50
50
|
}
|
|
51
51
|
const qa = (t) => t;
|
|
@@ -214,7 +214,7 @@ function ki(t, e) {
|
|
|
214
214
|
e = "" + e, t.data !== e && (t.data = /** @type {string} */
|
|
215
215
|
e);
|
|
216
216
|
}
|
|
217
|
-
function
|
|
217
|
+
function M(t, e) {
|
|
218
218
|
t.value = e == null ? "" : e;
|
|
219
219
|
}
|
|
220
220
|
function Ut(t, e, i, n) {
|
|
@@ -297,15 +297,15 @@ function hs(t) {
|
|
|
297
297
|
function su(t) {
|
|
298
298
|
Ol().$$.on_destroy.push(t);
|
|
299
299
|
}
|
|
300
|
-
const
|
|
300
|
+
const En = [], ee = [];
|
|
301
301
|
let Nn = [];
|
|
302
302
|
const Lo = [], jl = /* @__PURE__ */ Promise.resolve();
|
|
303
303
|
let No = !1;
|
|
304
|
-
function
|
|
304
|
+
function El() {
|
|
305
305
|
No || (No = !0, jl.then(c));
|
|
306
306
|
}
|
|
307
307
|
function ou() {
|
|
308
|
-
return
|
|
308
|
+
return El(), jl;
|
|
309
309
|
}
|
|
310
310
|
function nt(t) {
|
|
311
311
|
Nn.push(t);
|
|
@@ -321,21 +321,21 @@ function c() {
|
|
|
321
321
|
const t = ns;
|
|
322
322
|
do {
|
|
323
323
|
try {
|
|
324
|
-
for (; Vn <
|
|
325
|
-
const e =
|
|
324
|
+
for (; Vn < En.length; ) {
|
|
325
|
+
const e = En[Vn];
|
|
326
326
|
Vn++, es(e), ru(e.$$);
|
|
327
327
|
}
|
|
328
328
|
} catch (e) {
|
|
329
|
-
throw
|
|
329
|
+
throw En.length = 0, Vn = 0, e;
|
|
330
330
|
}
|
|
331
|
-
for (es(null),
|
|
331
|
+
for (es(null), En.length = 0, Vn = 0; ee.length; )
|
|
332
332
|
ee.pop()();
|
|
333
333
|
for (let e = 0; e < Nn.length; e += 1) {
|
|
334
334
|
const i = Nn[e];
|
|
335
335
|
Ao.has(i) || (Ao.add(i), i());
|
|
336
336
|
}
|
|
337
337
|
Nn.length = 0;
|
|
338
|
-
} while (
|
|
338
|
+
} while (En.length);
|
|
339
339
|
for (; Lo.length; )
|
|
340
340
|
Lo.pop()();
|
|
341
341
|
No = !1, Ao.clear(), es(t);
|
|
@@ -504,7 +504,7 @@ function ae(t, e) {
|
|
|
504
504
|
i.fragment !== null && (lu(i.after_update), st(i.on_destroy), i.fragment && i.fragment.d(e), i.on_destroy = i.fragment = null, i.ctx = []);
|
|
505
505
|
}
|
|
506
506
|
function gu(t, e) {
|
|
507
|
-
t.$$.dirty[0] === -1 && (
|
|
507
|
+
t.$$.dirty[0] === -1 && (En.push(t), El(), t.$$.dirty.fill(0)), t.$$.dirty[e / 31 | 0] |= 1 << e % 31;
|
|
508
508
|
}
|
|
509
509
|
function ke(t, e, i, n, s, o, r, l = [-1]) {
|
|
510
510
|
const a = ns;
|
|
@@ -593,7 +593,7 @@ class pe {
|
|
|
593
593
|
}
|
|
594
594
|
const fu = "4";
|
|
595
595
|
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(fu);
|
|
596
|
-
const hu = "@beyondwords/player", xs = "0.1.
|
|
596
|
+
const hu = "@beyondwords/player", xs = "0.1.14", ci = (t, e) => {
|
|
597
597
|
t = [t].flat().join(`
|
|
598
598
|
`);
|
|
599
599
|
let i = `${hu}:
|
|
@@ -645,12 +645,12 @@ function qs(t, e, i) {
|
|
|
645
645
|
}
|
|
646
646
|
return yu(n);
|
|
647
647
|
}
|
|
648
|
-
const er = ["user", "media", "browser", "media-session-api", "google-ima-sdk", "websocket"],
|
|
648
|
+
const er = ["user", "media", "browser", "media-session-api", "google-ima-sdk", "websocket"], Ml = ["inline-player", "bottom-widget", "segment", "segment-widget"], ku = ["handled", "ignored-due-to-advert", "ignored-due-to-scrubbing"], pu = ["load", "play", "play_progress", "ad_link_click"], Su = ["phone", "tablet", "desktop"], wu = ["content", "ad"], Pu = (t) => {
|
|
649
649
|
je(t, "type", (e) => tr(e)), je(t, "description", (e) => e.length > 0), je(t, "initiatedBy", (e) => er.includes(e));
|
|
650
650
|
}, Tu = (t) => {
|
|
651
|
-
je(t, "type", (e) => tr(e)), je(t, "description", (e) => e.length > 0), je(t, "initiatedBy", (e) => er.includes(e)), je(t, "emittedFrom", (e) =>
|
|
651
|
+
je(t, "type", (e) => tr(e)), je(t, "description", (e) => e.length > 0), je(t, "initiatedBy", (e) => er.includes(e)), je(t, "emittedFrom", (e) => Ml.includes(e)), je(t, "id", (e) => ts(e)), je(t, "createdAt", (e) => Do(e)), je(t, "status", (e) => e === "pending");
|
|
652
652
|
}, Cu = (t) => {
|
|
653
|
-
je(t, "type", (e) => tr(e)), je(t, "description", (e) => e.length > 0), je(t, "initiatedBy", (e) => er.includes(e)), je(t, "emittedFrom", (e) =>
|
|
653
|
+
je(t, "type", (e) => tr(e)), je(t, "description", (e) => e.length > 0), je(t, "initiatedBy", (e) => er.includes(e)), je(t, "emittedFrom", (e) => Ml.includes(e)), je(t, "id", (e) => ts(e)), je(t, "createdAt", (e) => Do(e)), je(t, "status", (e) => ku.includes(e)), je(t, "changedProps", (e) => typeof e == "object"), je(t, "processedAt", (e) => Do(e));
|
|
654
654
|
}, Au = (t) => {
|
|
655
655
|
je(t, "event_type", (e) => pu.includes(e)), je(t, "device_type", (e) => Su.includes(e)), je(t, "media_type", (e) => wu.includes(e)), je(t, "content_id", (e) => !e || ts(e)), je(t, "project_id", (e) => !e || e > 0), je(t, "analytics_id", (e) => !e || e > 0), je(t, "ad_id", (e) => !e || e > 0), je(t, "media_id", (e) => !e || e > 0), je(t, "local_storage_id", (e) => !e || ts(e)), je(t, "listen_session_id", (e) => !e || ts(e)), je(t, "session_created_at", (e) => e >= 0), je(t, "duration", (e) => e >= 0), je(t, "listen_length_percent", (e) => e >= 0 && e <= 100), je(t, "listen_length_seconds", (e) => e >= 0), je(t, "speed", (e) => e >= 0), je(t, "location", (e) => e.length > 0), je(t, "referrer", (e) => typeof e == "string"), je(t, "player_version", (e) => e.length > 0), je(t, "player_npm_version", (e) => e.length > 0);
|
|
656
656
|
}, tr = (t) => {
|
|
@@ -689,7 +689,7 @@ const er = ["user", "media", "browser", "media-session-api", "google-ima-sdk", "
|
|
|
689
689
|
const e = window.innerHeight || document.documentElement.clientHeight, i = window.innerWidth || document.documentElement.clientWidth, { top: n, bottom: s, left: o, right: r } = t.getBoundingClientRect();
|
|
690
690
|
return n < e && s > 0 && o < i && r > 0;
|
|
691
691
|
}, _r = (t, e, i) => Pe(t, e, e === "style" ? Ou(i) : i), Wu = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Ou = (t) => t.split(Wu).filter((e) => e).map((e) => e + " !important").join(";"), { document: ju } = Ka;
|
|
692
|
-
function
|
|
692
|
+
function Eu(t) {
|
|
693
693
|
let e, i, n, s, o, r;
|
|
694
694
|
return {
|
|
695
695
|
c() {
|
|
@@ -719,7 +719,7 @@ function Mu(t) {
|
|
|
719
719
|
}
|
|
720
720
|
};
|
|
721
721
|
}
|
|
722
|
-
function
|
|
722
|
+
function Mu(t, e, i) {
|
|
723
723
|
let n, s, { vastUrl: o } = e, { advertConsent: r } = e, { video: l } = e, { playbackState: a } = e, { duration: d } = e, { currentTime: u } = e, { onEvent: g = () => {
|
|
724
724
|
} } = e, m, v, _, k, b, C, V;
|
|
725
725
|
const Y = () => {
|
|
@@ -830,7 +830,7 @@ function Eu(t, e, i) {
|
|
|
830
830
|
}
|
|
831
831
|
class zu extends pe {
|
|
832
832
|
constructor(e) {
|
|
833
|
-
super(), ke(this, e,
|
|
833
|
+
super(), ke(this, e, Mu, Eu, be, {
|
|
834
834
|
vastUrl: 6,
|
|
835
835
|
advertConsent: 7,
|
|
836
836
|
video: 8,
|
|
@@ -1491,10 +1491,10 @@ const Du = (t, e) => vi(void 0, null, function* () {
|
|
|
1491
1491
|
maximizeVideo: "Maximize video",
|
|
1492
1492
|
changePlaybackRate: "Change playback rate",
|
|
1493
1493
|
downloadAudio: "Download audio"
|
|
1494
|
-
},
|
|
1494
|
+
}, Ec = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1495
1495
|
__proto__: null,
|
|
1496
1496
|
default: jc
|
|
1497
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1497
|
+
}, Symbol.toStringTag, { value: "Module" })), Mc = {
|
|
1498
1498
|
isDefaultForLanguage: !0,
|
|
1499
1499
|
listenToThisArticle: "Entzun artikulu hau",
|
|
1500
1500
|
videoInWidget: "Video is playing in widget",
|
|
@@ -1518,7 +1518,7 @@ const Du = (t, e) => vi(void 0, null, function* () {
|
|
|
1518
1518
|
downloadAudio: "Download audio"
|
|
1519
1519
|
}, zc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1520
1520
|
__proto__: null,
|
|
1521
|
-
default:
|
|
1521
|
+
default: Mc
|
|
1522
1522
|
}, Symbol.toStringTag, { value: "Module" })), Lc = {
|
|
1523
1523
|
isDefaultForLanguage: !0,
|
|
1524
1524
|
listenToThisArticle: "به این مقاله گوش دهید",
|
|
@@ -2166,10 +2166,10 @@ const Du = (t, e) => vi(void 0, null, function* () {
|
|
|
2166
2166
|
maximizeVideo: "Maximize video",
|
|
2167
2167
|
changePlaybackRate: "Change playback rate",
|
|
2168
2168
|
downloadAudio: "Download audio"
|
|
2169
|
-
},
|
|
2169
|
+
}, Ed = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2170
2170
|
__proto__: null,
|
|
2171
2171
|
default: jd
|
|
2172
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
2172
|
+
}, Symbol.toStringTag, { value: "Module" })), Md = {
|
|
2173
2173
|
isDefaultForLanguage: !0,
|
|
2174
2174
|
listenToThisArticle: "Бул макаланы уккула",
|
|
2175
2175
|
videoInWidget: "Video is playing in widget",
|
|
@@ -2193,7 +2193,7 @@ const Du = (t, e) => vi(void 0, null, function* () {
|
|
|
2193
2193
|
downloadAudio: "Download audio"
|
|
2194
2194
|
}, zd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2195
2195
|
__proto__: null,
|
|
2196
|
-
default:
|
|
2196
|
+
default: Md
|
|
2197
2197
|
}, Symbol.toStringTag, { value: "Module" })), Ld = {
|
|
2198
2198
|
isDefaultForLanguage: !0,
|
|
2199
2199
|
listenToThisArticle: "Lauschtert dësen Artikel",
|
|
@@ -2841,10 +2841,10 @@ const Du = (t, e) => vi(void 0, null, function* () {
|
|
|
2841
2841
|
maximizeVideo: "Maximize video",
|
|
2842
2842
|
changePlaybackRate: "Change playback rate",
|
|
2843
2843
|
downloadAudio: "Download audio"
|
|
2844
|
-
},
|
|
2844
|
+
}, Eg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2845
2845
|
__proto__: null,
|
|
2846
2846
|
default: jg
|
|
2847
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
2847
|
+
}, Symbol.toStringTag, { value: "Module" })), Mg = {
|
|
2848
2848
|
isDefaultForLanguage: !0,
|
|
2849
2849
|
listenToThisArticle: "Ascultă acest articol",
|
|
2850
2850
|
videoInWidget: "Video is playing in widget",
|
|
@@ -2868,7 +2868,7 @@ const Du = (t, e) => vi(void 0, null, function* () {
|
|
|
2868
2868
|
downloadAudio: "Download audio"
|
|
2869
2869
|
}, zg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2870
2870
|
__proto__: null,
|
|
2871
|
-
default:
|
|
2871
|
+
default: Mg
|
|
2872
2872
|
}, Symbol.toStringTag, { value: "Module" })), Lg = {
|
|
2873
2873
|
isDefaultForLanguage: !0,
|
|
2874
2874
|
listenToThisArticle: "Прослушать эту статью",
|
|
@@ -3515,10 +3515,10 @@ const Du = (t, e) => vi(void 0, null, function* () {
|
|
|
3515
3515
|
maximizeVideo: "Maximize video",
|
|
3516
3516
|
changePlaybackRate: "Change playback rate",
|
|
3517
3517
|
downloadAudio: "Download audio"
|
|
3518
|
-
},
|
|
3518
|
+
}, E1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3519
3519
|
__proto__: null,
|
|
3520
3520
|
default: j1
|
|
3521
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
3521
|
+
}, Symbol.toStringTag, { value: "Module" })), M1 = {
|
|
3522
3522
|
listenToThisArticle: "聽這篇文章",
|
|
3523
3523
|
videoInWidget: "Video is playing in widget",
|
|
3524
3524
|
playAudio: "Play audio",
|
|
@@ -3541,7 +3541,7 @@ const Du = (t, e) => vi(void 0, null, function* () {
|
|
|
3541
3541
|
downloadAudio: "Download audio"
|
|
3542
3542
|
}, z1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3543
3543
|
__proto__: null,
|
|
3544
|
-
default:
|
|
3544
|
+
default: M1
|
|
3545
3545
|
}, Symbol.toStringTag, { value: "Module" })), L1 = {
|
|
3546
3546
|
listenToThisArticle: "聽這篇文章",
|
|
3547
3547
|
videoInWidget: "Video is playing in widget",
|
|
@@ -3645,7 +3645,7 @@ const Du = (t, e) => vi(void 0, null, function* () {
|
|
|
3645
3645
|
`The locale '${n}' is missing the translation key '${o}'.`,
|
|
3646
3646
|
`Please set '${o}: "something"' in src/translations/${n}.ts`
|
|
3647
3647
|
]);
|
|
3648
|
-
}, G1 = /* @__PURE__ */ Object.assign({ "../translations/af.ts": qu, "../translations/ak.ts": Yu, "../translations/am.ts": Gu, "../translations/ar.ts": Ju, "../translations/as.ts": Qu, "../translations/az.ts": ec, "../translations/be.ts": ic, "../translations/bg.ts": sc, "../translations/bm.ts": rc, "../translations/bn.ts": ac, "../translations/bs.ts": cc, "../translations/ca.ts": gc, "../translations/ckb.ts": hc, "../translations/cs.ts": mc, "../translations/cy.ts": yc, "../translations/da.ts": kc, "../translations/de.ts": Sc, "../translations/ee.ts": Pc, "../translations/el.ts": Cc, "../translations/en.ts": Bc, "../translations/eo.ts": Vc, "../translations/es.ts": Oc, "../translations/et.ts":
|
|
3648
|
+
}, G1 = /* @__PURE__ */ Object.assign({ "../translations/af.ts": qu, "../translations/ak.ts": Yu, "../translations/am.ts": Gu, "../translations/ar.ts": Ju, "../translations/as.ts": Qu, "../translations/az.ts": ec, "../translations/be.ts": ic, "../translations/bg.ts": sc, "../translations/bm.ts": rc, "../translations/bn.ts": ac, "../translations/bs.ts": cc, "../translations/ca.ts": gc, "../translations/ckb.ts": hc, "../translations/cs.ts": mc, "../translations/cy.ts": yc, "../translations/da.ts": kc, "../translations/de.ts": Sc, "../translations/ee.ts": Pc, "../translations/el.ts": Cc, "../translations/en.ts": Bc, "../translations/eo.ts": Vc, "../translations/es.ts": Oc, "../translations/et.ts": Ec, "../translations/eu.ts": zc, "../translations/fa.ts": Nc, "../translations/fi.ts": Rc, "../translations/fil.ts": Uc, "../translations/fr.ts": qc, "../translations/ga.ts": Yc, "../translations/gd.ts": Gc, "../translations/gl.ts": Jc, "../translations/gu.ts": Qc, "../translations/ha.ts": ed, "../translations/haw.ts": id, "../translations/he.ts": sd, "../translations/hi.ts": rd, "../translations/hr.ts": ad, "../translations/hu.ts": cd, "../translations/hy.ts": gd, "../translations/id.ts": hd, "../translations/ig.ts": md, "../translations/is.ts": yd, "../translations/it.ts": kd, "../translations/iw.ts": Sd, "../translations/ja.ts": Pd, "../translations/ka.ts": Cd, "../translations/kk.ts": Bd, "../translations/km.ts": Vd, "../translations/kn.ts": Od, "../translations/ko.ts": Ed, "../translations/ky.ts": zd, "../translations/lb.ts": Nd, "../translations/lg.ts": Rd, "../translations/ln.ts": Ud, "../translations/lo.ts": qd, "../translations/lt.ts": Yd, "../translations/lv.ts": Gd, "../translations/mg.ts": Jd, "../translations/mk.ts": Qd, "../translations/ml.ts": eg, "../translations/mn.ts": ig, "../translations/mr.ts": sg, "../translations/ms.ts": rg, "../translations/mt.ts": ag, "../translations/my.ts": cg, "../translations/nb.ts": gg, "../translations/ne.ts": hg, "../translations/nl.ts": mg, "../translations/nn.ts": yg, "../translations/no.ts": kg, "../translations/om.ts": Sg, "../translations/or.ts": Pg, "../translations/pa.ts": Cg, "../translations/pl.ts": Bg, "../translations/ps.ts": Vg, "../translations/pt.ts": Og, "../translations/qu.ts": Eg, "../translations/ro.ts": zg, "../translations/ru.ts": Ng, "../translations/rw.ts": Rg, "../translations/si.ts": Ug, "../translations/sk.ts": qg, "../translations/sl.ts": Yg, "../translations/sn.ts": Gg, "../translations/so.ts": Jg, "../translations/sq.ts": Qg, "../translations/sr.ts": e1, "../translations/sv.ts": i1, "../translations/sw.ts": s1, "../translations/ta.ts": r1, "../translations/te.ts": a1, "../translations/tg.ts": c1, "../translations/th.ts": g1, "../translations/ti.ts": h1, "../translations/tr.ts": m1, "../translations/tt.ts": y1, "../translations/ug.ts": k1, "../translations/uk.ts": S1, "../translations/ur.ts": P1, "../translations/uz.ts": C1, "../translations/vi.ts": B1, "../translations/yi.ts": V1, "../translations/yo.ts": O1, "../translations/zh-HK.ts": E1, "../translations/zh-MO.ts": z1, "../translations/zh-TW.ts": N1, "../translations/zh.ts": R1, "../translations/zu.ts": U1 }), Ll = Object.entries(G1).map(([t, e]) => [F1(t), e.default]), Ro = Object.fromEntries(Ll.filter(([t, e]) => t.includes("-"))), xo = Object.fromEntries(Ll.filter(([t, e]) => e.isDefaultForLanguage).map(([t, e]) => [t.split("-")[0], e]));
|
|
3649
3649
|
q1(Ro, xo);
|
|
3650
3650
|
const It = (t, { locale: e } = {}) => {
|
|
3651
3651
|
const i = K1(e);
|
|
@@ -3666,17 +3666,25 @@ const It = (t, { locale: e } = {}) => {
|
|
|
3666
3666
|
const i = t.findIndex((r) => r.startTime > e), n = i === -1, s = i - 1;
|
|
3667
3667
|
return s === -1 ? 0 : n ? t.length - 1 : s;
|
|
3668
3668
|
}, J1 = (t, e) => {
|
|
3669
|
-
const i = t.find((
|
|
3670
|
-
var
|
|
3671
|
-
const
|
|
3672
|
-
return
|
|
3669
|
+
const i = X1(e == null ? void 0 : e.currentSrc), n = t.find((s) => {
|
|
3670
|
+
var l;
|
|
3671
|
+
const o = s.url && i === Q1(s.url), r = ((l = s.url) == null ? void 0 : l.endsWith(".m3u8")) && (i == null ? void 0 : i.startsWith("blob:"));
|
|
3672
|
+
return o || r;
|
|
3673
3673
|
});
|
|
3674
|
-
return
|
|
3674
|
+
return n || console.warn("BeyondWords.Player: media was loaded but failed to set loadedMedia"), n;
|
|
3675
3675
|
}, X1 = (t) => {
|
|
3676
|
+
let e;
|
|
3677
|
+
try {
|
|
3678
|
+
e = new URL(t);
|
|
3679
|
+
} catch (i) {
|
|
3680
|
+
return t;
|
|
3681
|
+
}
|
|
3682
|
+
return e.hash ? t == null ? void 0 : t.slice(0, -e.hash.length) : t;
|
|
3683
|
+
}, Q1 = (t) => {
|
|
3676
3684
|
const e = document.createElement("a");
|
|
3677
3685
|
return e.href = t, e.href;
|
|
3678
3686
|
};
|
|
3679
|
-
const Xt = (t, e, i) => Pe(t, e, e === "style" ?
|
|
3687
|
+
const Xt = (t, e, i) => Pe(t, e, e === "style" ? ef(i) : i), $1 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, ef = (t) => t.split($1).filter((e) => e).map((e) => e + " !important").join(";");
|
|
3680
3688
|
function vr(t, e, i) {
|
|
3681
3689
|
const n = t.slice();
|
|
3682
3690
|
return n[66] = e[i].url, n[67] = e[i].contentType, n[68] = e[i].format, n[70] = i, n;
|
|
@@ -4035,7 +4043,7 @@ function Sr(t) {
|
|
|
4035
4043
|
}
|
|
4036
4044
|
};
|
|
4037
4045
|
}
|
|
4038
|
-
function
|
|
4046
|
+
function tf(t) {
|
|
4039
4047
|
let e, i, n = (
|
|
4040
4048
|
/*content*/
|
|
4041
4049
|
t[5].length > 0 && yr(t)
|
|
@@ -4065,7 +4073,7 @@ function ef(t) {
|
|
|
4065
4073
|
}
|
|
4066
4074
|
};
|
|
4067
4075
|
}
|
|
4068
|
-
function
|
|
4076
|
+
function nf(t, e, i) {
|
|
4069
4077
|
let n, s, o, r, l, a, d, u, g, m, v, _, k, b, C, { content: V } = e, { contentIndex: Y } = e, { introOrOutro: O } = e, { activeAdvert: j } = e, { advertConsent: z } = e, { playbackState: L } = e, { duration: K } = e, { currentTime: x } = e, { playbackRate: X } = e, { prevPercentage: Te } = e, { showUserInterface: me } = e, { videoBehindWidget: ve } = e, { videoBehindStatic: ie } = e, { videoMightBeShown: $ } = e, { widgetPosition: U } = e, { widgetWidth: se } = e, { widgetTarget: ge } = e, { onEvent: Z = () => {
|
|
4070
4078
|
} } = e, { isLoaded: re } = e, { video: w = void 0 } = e, F, Se, we, Ie = 0, J = 0, Ce = x, Ae;
|
|
4071
4079
|
const Re = (R) => i(11, Ie = R), Fe = () => $, et = () => {
|
|
@@ -4143,15 +4151,15 @@ function tf(t, e, i) {
|
|
|
4143
4151
|
mediaUrl: d[0].url,
|
|
4144
4152
|
errorMessage: "The video tag contains sources but none are playable."
|
|
4145
4153
|
}));
|
|
4146
|
-
}, Ye = (R,
|
|
4154
|
+
}, Ye = (R, Ee) => vi(this, null, function* () {
|
|
4147
4155
|
var Le;
|
|
4148
|
-
|
|
4156
|
+
Ee.fatal && ((Le = Se == null ? void 0 : Se.destroy) == null || Le.call(Se), i(10, Se = null), Z(_e({
|
|
4149
4157
|
type: "PlaybackErrored",
|
|
4150
4158
|
description: "The media failed to play.",
|
|
4151
4159
|
initiatedBy: "media",
|
|
4152
4160
|
mediaType: "HLS",
|
|
4153
4161
|
mediaUrl: d[0].url,
|
|
4154
|
-
errorMessage: `${
|
|
4162
|
+
errorMessage: `${Ee.type} ${Ee.details}`
|
|
4155
4163
|
})));
|
|
4156
4164
|
}), gt = () => {
|
|
4157
4165
|
Z(_e({
|
|
@@ -4161,9 +4169,9 @@ function tf(t, e, i) {
|
|
|
4161
4169
|
}));
|
|
4162
4170
|
};
|
|
4163
4171
|
hs(() => {
|
|
4164
|
-
const R = addEventListener("fullscreenchange", gt),
|
|
4172
|
+
const R = addEventListener("fullscreenchange", gt), Ee = addEventListener("webkitfullscreenchange", gt);
|
|
4165
4173
|
return () => {
|
|
4166
|
-
removeEventListener("fullscreenchange", R), removeEventListener("fullscreenchange",
|
|
4174
|
+
removeEventListener("fullscreenchange", R), removeEventListener("fullscreenchange", Ee);
|
|
4167
4175
|
};
|
|
4168
4176
|
});
|
|
4169
4177
|
function xe(R) {
|
|
@@ -4289,13 +4297,13 @@ function tf(t, e, i) {
|
|
|
4289
4297
|
ct
|
|
4290
4298
|
];
|
|
4291
4299
|
}
|
|
4292
|
-
class
|
|
4300
|
+
class sf extends pe {
|
|
4293
4301
|
constructor(e) {
|
|
4294
4302
|
super(), ke(
|
|
4295
4303
|
this,
|
|
4296
4304
|
e,
|
|
4305
|
+
nf,
|
|
4297
4306
|
tf,
|
|
4298
|
-
ef,
|
|
4299
4307
|
be,
|
|
4300
4308
|
{
|
|
4301
4309
|
content: 5,
|
|
@@ -4444,11 +4452,11 @@ class nf extends pe {
|
|
|
4444
4452
|
this.$$set({ video: e }), c();
|
|
4445
4453
|
}
|
|
4446
4454
|
}
|
|
4447
|
-
function
|
|
4455
|
+
function of(t) {
|
|
4448
4456
|
const e = t - 1;
|
|
4449
4457
|
return e * e * e + 1;
|
|
4450
4458
|
}
|
|
4451
|
-
function
|
|
4459
|
+
function rf(t, { delay: e = 0, duration: i = 400, easing: n = of, x: s = 0, y: o = 0, opacity: r = 0 } = {}) {
|
|
4452
4460
|
const l = getComputedStyle(t), a = +l.opacity, d = l.transform === "none" ? "" : l.transform, u = a * (1 - r), [g, m] = dr(s), [v, _] = dr(o);
|
|
4453
4461
|
return {
|
|
4454
4462
|
delay: e,
|
|
@@ -4507,25 +4515,25 @@ var Nl = function() {
|
|
|
4507
4515
|
);
|
|
4508
4516
|
}(), Uo = typeof window != "undefined" && typeof document != "undefined" && window.document === document, Hs = function() {
|
|
4509
4517
|
return typeof global != "undefined" && global.Math === Math ? global : typeof self != "undefined" && self.Math === Math ? self : typeof window != "undefined" && window.Math === Math ? window : Function("return this")();
|
|
4510
|
-
}(),
|
|
4518
|
+
}(), lf = function() {
|
|
4511
4519
|
return typeof requestAnimationFrame == "function" ? requestAnimationFrame.bind(Hs) : function(t) {
|
|
4512
4520
|
return setTimeout(function() {
|
|
4513
4521
|
return t(Date.now());
|
|
4514
4522
|
}, 1e3 / 60);
|
|
4515
4523
|
};
|
|
4516
|
-
}(),
|
|
4517
|
-
function
|
|
4524
|
+
}(), af = 2;
|
|
4525
|
+
function uf(t, e) {
|
|
4518
4526
|
var i = !1, n = !1, s = 0;
|
|
4519
4527
|
function o() {
|
|
4520
4528
|
i && (i = !1, t()), n && l();
|
|
4521
4529
|
}
|
|
4522
4530
|
function r() {
|
|
4523
|
-
|
|
4531
|
+
lf(o);
|
|
4524
4532
|
}
|
|
4525
4533
|
function l() {
|
|
4526
4534
|
var a = Date.now();
|
|
4527
4535
|
if (i) {
|
|
4528
|
-
if (a - s <
|
|
4536
|
+
if (a - s < af)
|
|
4529
4537
|
return;
|
|
4530
4538
|
n = !0;
|
|
4531
4539
|
} else
|
|
@@ -4534,11 +4542,11 @@ function af(t, e) {
|
|
|
4534
4542
|
}
|
|
4535
4543
|
return l;
|
|
4536
4544
|
}
|
|
4537
|
-
var
|
|
4545
|
+
var cf = 20, df = ["top", "right", "bottom", "left", "width", "height", "size", "weight"], gf = typeof MutationObserver != "undefined", ff = (
|
|
4538
4546
|
/** @class */
|
|
4539
4547
|
function() {
|
|
4540
4548
|
function t() {
|
|
4541
|
-
this.connected_ = !1, this.mutationEventsAdded_ = !1, this.mutationsObserver_ = null, this.observers_ = [], this.onTransitionEnd_ = this.onTransitionEnd_.bind(this), this.refresh =
|
|
4549
|
+
this.connected_ = !1, this.mutationEventsAdded_ = !1, this.mutationsObserver_ = null, this.observers_ = [], this.onTransitionEnd_ = this.onTransitionEnd_.bind(this), this.refresh = uf(this.refresh.bind(this), cf);
|
|
4542
4550
|
}
|
|
4543
4551
|
return t.prototype.addObserver = function(e) {
|
|
4544
4552
|
~this.observers_.indexOf(e) || this.observers_.push(e), this.connected_ || this.connect_();
|
|
@@ -4556,7 +4564,7 @@ var uf = 20, cf = ["top", "right", "bottom", "left", "width", "height", "size",
|
|
|
4556
4564
|
return i.broadcastActive();
|
|
4557
4565
|
}), e.length > 0;
|
|
4558
4566
|
}, t.prototype.connect_ = function() {
|
|
4559
|
-
!Uo || this.connected_ || (document.addEventListener("transitionend", this.onTransitionEnd_), window.addEventListener("resize", this.refresh),
|
|
4567
|
+
!Uo || this.connected_ || (document.addEventListener("transitionend", this.onTransitionEnd_), window.addEventListener("resize", this.refresh), gf ? (this.mutationsObserver_ = new MutationObserver(this.refresh), this.mutationsObserver_.observe(document, {
|
|
4560
4568
|
attributes: !0,
|
|
4561
4569
|
childList: !0,
|
|
4562
4570
|
characterData: !0,
|
|
@@ -4565,7 +4573,7 @@ var uf = 20, cf = ["top", "right", "bottom", "left", "width", "height", "size",
|
|
|
4565
4573
|
}, t.prototype.disconnect_ = function() {
|
|
4566
4574
|
!Uo || !this.connected_ || (document.removeEventListener("transitionend", this.onTransitionEnd_), window.removeEventListener("resize", this.refresh), this.mutationsObserver_ && this.mutationsObserver_.disconnect(), this.mutationEventsAdded_ && document.removeEventListener("DOMSubtreeModified", this.refresh), this.mutationsObserver_ = null, this.mutationEventsAdded_ = !1, this.connected_ = !1);
|
|
4567
4575
|
}, t.prototype.onTransitionEnd_ = function(e) {
|
|
4568
|
-
var i = e.propertyName, n = i === void 0 ? "" : i, s =
|
|
4576
|
+
var i = e.propertyName, n = i === void 0 ? "" : i, s = df.some(function(o) {
|
|
4569
4577
|
return !!~n.indexOf(o);
|
|
4570
4578
|
});
|
|
4571
4579
|
s && this.refresh();
|
|
@@ -4599,42 +4607,42 @@ function wr(t) {
|
|
|
4599
4607
|
return n + Ys(o);
|
|
4600
4608
|
}, 0);
|
|
4601
4609
|
}
|
|
4602
|
-
function
|
|
4610
|
+
function hf(t) {
|
|
4603
4611
|
for (var e = ["top", "right", "bottom", "left"], i = {}, n = 0, s = e; n < s.length; n++) {
|
|
4604
4612
|
var o = s[n], r = t["padding-" + o];
|
|
4605
4613
|
i[o] = Ys(r);
|
|
4606
4614
|
}
|
|
4607
4615
|
return i;
|
|
4608
4616
|
}
|
|
4609
|
-
function
|
|
4617
|
+
function _f(t) {
|
|
4610
4618
|
var e = t.getBBox();
|
|
4611
4619
|
return ko(0, 0, e.width, e.height);
|
|
4612
4620
|
}
|
|
4613
|
-
function
|
|
4621
|
+
function mf(t) {
|
|
4614
4622
|
var e = t.clientWidth, i = t.clientHeight;
|
|
4615
4623
|
if (!e && !i)
|
|
4616
4624
|
return Rl;
|
|
4617
|
-
var n = Dn(t).getComputedStyle(t), s =
|
|
4618
|
-
if (n.boxSizing === "border-box" && (Math.round(l + o) !== e && (l -= wr(n, "left", "right") + o), Math.round(a + r) !== i && (a -= wr(n, "top", "bottom") + r)), !
|
|
4625
|
+
var n = Dn(t).getComputedStyle(t), s = hf(n), o = s.left + s.right, r = s.top + s.bottom, l = Ys(n.width), a = Ys(n.height);
|
|
4626
|
+
if (n.boxSizing === "border-box" && (Math.round(l + o) !== e && (l -= wr(n, "left", "right") + o), Math.round(a + r) !== i && (a -= wr(n, "top", "bottom") + r)), !yf(t)) {
|
|
4619
4627
|
var d = Math.round(l + o) - e, u = Math.round(a + r) - i;
|
|
4620
4628
|
Math.abs(d) !== 1 && (l -= d), Math.abs(u) !== 1 && (a -= u);
|
|
4621
4629
|
}
|
|
4622
4630
|
return ko(s.left, s.top, l, a);
|
|
4623
4631
|
}
|
|
4624
|
-
var
|
|
4632
|
+
var vf = function() {
|
|
4625
4633
|
return typeof SVGGraphicsElement != "undefined" ? function(t) {
|
|
4626
4634
|
return t instanceof Dn(t).SVGGraphicsElement;
|
|
4627
4635
|
} : function(t) {
|
|
4628
4636
|
return t instanceof Dn(t).SVGElement && typeof t.getBBox == "function";
|
|
4629
4637
|
};
|
|
4630
4638
|
}();
|
|
4631
|
-
function vf(t) {
|
|
4632
|
-
return t === Dn(t).document.documentElement;
|
|
4633
|
-
}
|
|
4634
4639
|
function yf(t) {
|
|
4635
|
-
return
|
|
4640
|
+
return t === Dn(t).document.documentElement;
|
|
4636
4641
|
}
|
|
4637
4642
|
function bf(t) {
|
|
4643
|
+
return Uo ? vf(t) ? _f(t) : mf(t) : Rl;
|
|
4644
|
+
}
|
|
4645
|
+
function kf(t) {
|
|
4638
4646
|
var e = t.x, i = t.y, n = t.width, s = t.height, o = typeof DOMRectReadOnly != "undefined" ? DOMRectReadOnly : Object, r = Object.create(o.prototype);
|
|
4639
4647
|
return Dl(r, {
|
|
4640
4648
|
x: e,
|
|
@@ -4650,30 +4658,30 @@ function bf(t) {
|
|
|
4650
4658
|
function ko(t, e, i, n) {
|
|
4651
4659
|
return { x: t, y: e, width: i, height: n };
|
|
4652
4660
|
}
|
|
4653
|
-
var
|
|
4661
|
+
var pf = (
|
|
4654
4662
|
/** @class */
|
|
4655
4663
|
function() {
|
|
4656
4664
|
function t(e) {
|
|
4657
4665
|
this.broadcastWidth = 0, this.broadcastHeight = 0, this.contentRect_ = ko(0, 0, 0, 0), this.target = e;
|
|
4658
4666
|
}
|
|
4659
4667
|
return t.prototype.isActive = function() {
|
|
4660
|
-
var e =
|
|
4668
|
+
var e = bf(this.target);
|
|
4661
4669
|
return this.contentRect_ = e, e.width !== this.broadcastWidth || e.height !== this.broadcastHeight;
|
|
4662
4670
|
}, t.prototype.broadcastRect = function() {
|
|
4663
4671
|
var e = this.contentRect_;
|
|
4664
4672
|
return this.broadcastWidth = e.width, this.broadcastHeight = e.height, e;
|
|
4665
4673
|
}, t;
|
|
4666
4674
|
}()
|
|
4667
|
-
),
|
|
4675
|
+
), Sf = (
|
|
4668
4676
|
/** @class */
|
|
4669
4677
|
function() {
|
|
4670
4678
|
function t(e, i) {
|
|
4671
|
-
var n =
|
|
4679
|
+
var n = kf(i);
|
|
4672
4680
|
Dl(this, { target: e, contentRect: n });
|
|
4673
4681
|
}
|
|
4674
4682
|
return t;
|
|
4675
4683
|
}()
|
|
4676
|
-
),
|
|
4684
|
+
), wf = (
|
|
4677
4685
|
/** @class */
|
|
4678
4686
|
function() {
|
|
4679
4687
|
function t(e, i, n) {
|
|
@@ -4688,7 +4696,7 @@ var kf = (
|
|
|
4688
4696
|
if (!(e instanceof Dn(e).Element))
|
|
4689
4697
|
throw new TypeError('parameter 1 is not of type "Element".');
|
|
4690
4698
|
var i = this.observations_;
|
|
4691
|
-
i.has(e) || (i.set(e, new
|
|
4699
|
+
i.has(e) || (i.set(e, new pf(e)), this.controller_.addObserver(this), this.controller_.refresh());
|
|
4692
4700
|
}
|
|
4693
4701
|
}, t.prototype.unobserve = function(e) {
|
|
4694
4702
|
if (!arguments.length)
|
|
@@ -4709,7 +4717,7 @@ var kf = (
|
|
|
4709
4717
|
}, t.prototype.broadcastActive = function() {
|
|
4710
4718
|
if (this.hasActive()) {
|
|
4711
4719
|
var e = this.callbackCtx_, i = this.activeObservations_.map(function(n) {
|
|
4712
|
-
return new
|
|
4720
|
+
return new Sf(n.target, n.broadcastRect());
|
|
4713
4721
|
});
|
|
4714
4722
|
this.callback_.call(e, i, e), this.clearActive();
|
|
4715
4723
|
}
|
|
@@ -4727,7 +4735,7 @@ var kf = (
|
|
|
4727
4735
|
throw new TypeError("Cannot call a class as a function.");
|
|
4728
4736
|
if (!arguments.length)
|
|
4729
4737
|
throw new TypeError("1 argument required, but only 0 present.");
|
|
4730
|
-
var i =
|
|
4738
|
+
var i = ff.getInstance(), n = new wf(e, i, this);
|
|
4731
4739
|
xl.set(this, n);
|
|
4732
4740
|
}
|
|
4733
4741
|
return t;
|
|
@@ -4743,11 +4751,11 @@ var kf = (
|
|
|
4743
4751
|
return (e = xl.get(this))[t].apply(e, arguments);
|
|
4744
4752
|
};
|
|
4745
4753
|
});
|
|
4746
|
-
var
|
|
4754
|
+
var Pf = function() {
|
|
4747
4755
|
return typeof Hs.ResizeObserver != "undefined" ? Hs.ResizeObserver : Ul;
|
|
4748
4756
|
}();
|
|
4749
|
-
const Wi = (t, e, i) => Pe(t, e, e === "style" ?
|
|
4750
|
-
function
|
|
4757
|
+
const Wi = (t, e, i) => Pe(t, e, e === "style" ? Cf(i) : i), Tf = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Cf = (t) => t.split(Tf).filter((e) => e).map((e) => e + " !important").join(";");
|
|
4758
|
+
function Af(t) {
|
|
4751
4759
|
let e, i, n, s;
|
|
4752
4760
|
return {
|
|
4753
4761
|
c() {
|
|
@@ -4783,15 +4791,15 @@ function Cf(t) {
|
|
|
4783
4791
|
}
|
|
4784
4792
|
};
|
|
4785
4793
|
}
|
|
4786
|
-
function
|
|
4794
|
+
function Bf(t, e, i) {
|
|
4787
4795
|
let { scale: n = 1 } = e, { color: s = "#323232" } = e;
|
|
4788
4796
|
return t.$$set = (o) => {
|
|
4789
4797
|
"scale" in o && i(0, n = o.scale), "color" in o && i(1, s = o.color);
|
|
4790
4798
|
}, [n, s];
|
|
4791
4799
|
}
|
|
4792
|
-
class
|
|
4800
|
+
class If extends pe {
|
|
4793
4801
|
constructor(e) {
|
|
4794
|
-
super(), ke(this, e,
|
|
4802
|
+
super(), ke(this, e, Bf, Af, be, { scale: 0, color: 1 });
|
|
4795
4803
|
}
|
|
4796
4804
|
get scale() {
|
|
4797
4805
|
return this.$$.ctx[0];
|
|
@@ -4806,8 +4814,8 @@ class Bf extends pe {
|
|
|
4806
4814
|
this.$$set({ color: e }), c();
|
|
4807
4815
|
}
|
|
4808
4816
|
}
|
|
4809
|
-
const Oi = (t, e, i) => Pe(t, e, e === "style" ?
|
|
4810
|
-
function
|
|
4817
|
+
const Oi = (t, e, i) => Pe(t, e, e === "style" ? Wf(i) : i), Vf = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Wf = (t) => t.split(Vf).filter((e) => e).map((e) => e + " !important").join(";");
|
|
4818
|
+
function Of(t) {
|
|
4811
4819
|
let e, i, n, s;
|
|
4812
4820
|
return {
|
|
4813
4821
|
c() {
|
|
@@ -4843,15 +4851,15 @@ function Wf(t) {
|
|
|
4843
4851
|
}
|
|
4844
4852
|
};
|
|
4845
4853
|
}
|
|
4846
|
-
function
|
|
4854
|
+
function jf(t, e, i) {
|
|
4847
4855
|
let { scale: n = 1 } = e, { color: s = "#323232" } = e;
|
|
4848
4856
|
return t.$$set = (o) => {
|
|
4849
4857
|
"scale" in o && i(0, n = o.scale), "color" in o && i(1, s = o.color);
|
|
4850
4858
|
}, [n, s];
|
|
4851
4859
|
}
|
|
4852
|
-
class
|
|
4860
|
+
class Ef extends pe {
|
|
4853
4861
|
constructor(e) {
|
|
4854
|
-
super(), ke(this, e,
|
|
4862
|
+
super(), ke(this, e, jf, Of, be, { scale: 0, color: 1 });
|
|
4855
4863
|
}
|
|
4856
4864
|
get scale() {
|
|
4857
4865
|
return this.$$.ctx[0];
|
|
@@ -4866,10 +4874,10 @@ class jf extends pe {
|
|
|
4866
4874
|
this.$$set({ color: e }), c();
|
|
4867
4875
|
}
|
|
4868
4876
|
}
|
|
4869
|
-
const Pr = (t, e, i) => Ut(t, e, i, 1), Wn = (t, e, i) => Pe(t, e, e === "style" ?
|
|
4870
|
-
function
|
|
4877
|
+
const Pr = (t, e, i) => Ut(t, e, i, 1), Wn = (t, e, i) => Pe(t, e, e === "style" ? zf(i) : i), Mf = /;(?!([^()]*\([^()]*\))*[^()]*\))/, zf = (t) => t.split(Mf).filter((e) => e).map((e) => e + " !important").join(";");
|
|
4878
|
+
function Lf(t) {
|
|
4871
4879
|
let e, i;
|
|
4872
|
-
return e = new
|
|
4880
|
+
return e = new If({
|
|
4873
4881
|
props: {
|
|
4874
4882
|
scale: (
|
|
4875
4883
|
/*scale*/
|
|
@@ -4906,9 +4914,9 @@ function zf(t) {
|
|
|
4906
4914
|
}
|
|
4907
4915
|
};
|
|
4908
4916
|
}
|
|
4909
|
-
function
|
|
4917
|
+
function Nf(t) {
|
|
4910
4918
|
let e, i;
|
|
4911
|
-
return e = new
|
|
4919
|
+
return e = new Ef({
|
|
4912
4920
|
props: {
|
|
4913
4921
|
scale: (
|
|
4914
4922
|
/*scale*/
|
|
@@ -4945,9 +4953,9 @@ function Lf(t) {
|
|
|
4945
4953
|
}
|
|
4946
4954
|
};
|
|
4947
4955
|
}
|
|
4948
|
-
function
|
|
4956
|
+
function Df(t) {
|
|
4949
4957
|
let e, i, n, s, o, r;
|
|
4950
|
-
const l = [
|
|
4958
|
+
const l = [Nf, Lf], a = [];
|
|
4951
4959
|
function d(u, g) {
|
|
4952
4960
|
return (
|
|
4953
4961
|
/*isPlaying*/
|
|
@@ -5011,7 +5019,7 @@ function Nf(t) {
|
|
|
5011
5019
|
}
|
|
5012
5020
|
};
|
|
5013
5021
|
}
|
|
5014
|
-
function
|
|
5022
|
+
function Rf(t, e, i) {
|
|
5015
5023
|
let n, { isPlaying: s = !1 } = e, { tabindex: o = 0 } = e, { scale: r = 1 } = e, { color: l = "#323232" } = e, { onEvent: a = () => {
|
|
5016
5024
|
} } = e;
|
|
5017
5025
|
const d = (u) => {
|
|
@@ -5030,9 +5038,9 @@ function Df(t, e, i) {
|
|
|
5030
5038
|
1 && i(4, n = It(s ? "pauseAudio" : "playAudio"));
|
|
5031
5039
|
}, [s, o, r, l, n, d, a];
|
|
5032
5040
|
}
|
|
5033
|
-
class
|
|
5041
|
+
class xf extends pe {
|
|
5034
5042
|
constructor(e) {
|
|
5035
|
-
super(), ke(this, e,
|
|
5043
|
+
super(), ke(this, e, Rf, Df, be, {
|
|
5036
5044
|
isPlaying: 0,
|
|
5037
5045
|
tabindex: 1,
|
|
5038
5046
|
scale: 2,
|
|
@@ -5071,8 +5079,8 @@ class Rf extends pe {
|
|
|
5071
5079
|
this.$$set({ onEvent: e }), c();
|
|
5072
5080
|
}
|
|
5073
5081
|
}
|
|
5074
|
-
const an = (t, e, i) => Ut(t, e, i, 1), As = (t, e, i) => Pe(t, e, e === "style" ?
|
|
5075
|
-
function
|
|
5082
|
+
const an = (t, e, i) => Ut(t, e, i, 1), As = (t, e, i) => Pe(t, e, e === "style" ? Ff(i) : i), Uf = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Ff = (t) => t.split(Uf).filter((e) => e).map((e) => e + " !important").join(";");
|
|
5083
|
+
function qf(t) {
|
|
5076
5084
|
let e, i, n, s, o, r;
|
|
5077
5085
|
return {
|
|
5078
5086
|
c() {
|
|
@@ -5157,7 +5165,7 @@ function Ff(t) {
|
|
|
5157
5165
|
}
|
|
5158
5166
|
};
|
|
5159
5167
|
}
|
|
5160
|
-
function
|
|
5168
|
+
function Hf(t, e, i) {
|
|
5161
5169
|
let n, s, { rate: o = 1 } = e, { scale: r = 1 } = e, { color: l = "#323232" } = e, { onEvent: a = () => {
|
|
5162
5170
|
} } = e;
|
|
5163
5171
|
const d = () => {
|
|
@@ -5182,9 +5190,9 @@ function qf(t, e, i) {
|
|
|
5182
5190
|
64 && i(2, s = `${12 * r}px`);
|
|
5183
5191
|
}, [o, l, s, n, d, u, r, a];
|
|
5184
5192
|
}
|
|
5185
|
-
class
|
|
5193
|
+
class Yf extends pe {
|
|
5186
5194
|
constructor(e) {
|
|
5187
|
-
super(), ke(this, e,
|
|
5195
|
+
super(), ke(this, e, Hf, qf, be, { rate: 0, scale: 6, color: 1, onEvent: 7 });
|
|
5188
5196
|
}
|
|
5189
5197
|
get rate() {
|
|
5190
5198
|
return this.$$.ctx[0];
|
|
@@ -5211,8 +5219,8 @@ class Hf extends pe {
|
|
|
5211
5219
|
this.$$set({ onEvent: e }), c();
|
|
5212
5220
|
}
|
|
5213
5221
|
}
|
|
5214
|
-
const Zt = (t, e, i) => Pe(t, e, e === "style" ?
|
|
5215
|
-
function
|
|
5222
|
+
const Zt = (t, e, i) => Pe(t, e, e === "style" ? Gf(i) : i), Zf = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Gf = (t) => t.split(Zf).filter((e) => e).map((e) => e + " !important").join(";");
|
|
5223
|
+
function Kf(t) {
|
|
5216
5224
|
let e, i, n, s, o, r;
|
|
5217
5225
|
return {
|
|
5218
5226
|
c() {
|
|
@@ -5267,15 +5275,15 @@ function Gf(t) {
|
|
|
5267
5275
|
}
|
|
5268
5276
|
};
|
|
5269
5277
|
}
|
|
5270
|
-
function
|
|
5278
|
+
function Jf(t, e, i) {
|
|
5271
5279
|
let { scale: n = 1 } = e, { color: s = "#323232" } = e, { seconds: o = 10 } = e;
|
|
5272
5280
|
return t.$$set = (r) => {
|
|
5273
5281
|
"scale" in r && i(0, n = r.scale), "color" in r && i(1, s = r.color), "seconds" in r && i(2, o = r.seconds);
|
|
5274
5282
|
}, [n, s, o];
|
|
5275
5283
|
}
|
|
5276
|
-
class
|
|
5284
|
+
class Xf extends pe {
|
|
5277
5285
|
constructor(e) {
|
|
5278
|
-
super(), ke(this, e,
|
|
5286
|
+
super(), ke(this, e, Jf, Kf, be, { scale: 0, color: 1, seconds: 2 });
|
|
5279
5287
|
}
|
|
5280
5288
|
get scale() {
|
|
5281
5289
|
return this.$$.ctx[0];
|
|
@@ -5296,8 +5304,8 @@ class Jf extends pe {
|
|
|
5296
5304
|
this.$$set({ seconds: e }), c();
|
|
5297
5305
|
}
|
|
5298
5306
|
}
|
|
5299
|
-
const ji = (t, e, i) => Pe(t, e, e === "style" ?
|
|
5300
|
-
function
|
|
5307
|
+
const ji = (t, e, i) => Pe(t, e, e === "style" ? $f(i) : i), Qf = /;(?!([^()]*\([^()]*\))*[^()]*\))/, $f = (t) => t.split(Qf).filter((e) => e).map((e) => e + " !important").join(";");
|
|
5308
|
+
function eh(t) {
|
|
5301
5309
|
let e, i, n, s;
|
|
5302
5310
|
return {
|
|
5303
5311
|
c() {
|
|
@@ -5333,15 +5341,15 @@ function $f(t) {
|
|
|
5333
5341
|
}
|
|
5334
5342
|
};
|
|
5335
5343
|
}
|
|
5336
|
-
function
|
|
5344
|
+
function th(t, e, i) {
|
|
5337
5345
|
let { scale: n = 1 } = e, { color: s = "#323232" } = e;
|
|
5338
5346
|
return t.$$set = (o) => {
|
|
5339
5347
|
"scale" in o && i(0, n = o.scale), "color" in o && i(1, s = o.color);
|
|
5340
5348
|
}, [n, s];
|
|
5341
5349
|
}
|
|
5342
|
-
class
|
|
5350
|
+
class ih extends pe {
|
|
5343
5351
|
constructor(e) {
|
|
5344
|
-
super(), ke(this, e,
|
|
5352
|
+
super(), ke(this, e, th, eh, be, { scale: 0, color: 1 });
|
|
5345
5353
|
}
|
|
5346
5354
|
get scale() {
|
|
5347
5355
|
return this.$$.ctx[0];
|
|
@@ -5356,8 +5364,8 @@ class th extends pe {
|
|
|
5356
5364
|
this.$$set({ color: e }), c();
|
|
5357
5365
|
}
|
|
5358
5366
|
}
|
|
5359
|
-
const yi = (t, e, i) => Pe(t, e, e === "style" ?
|
|
5360
|
-
function
|
|
5367
|
+
const yi = (t, e, i) => Pe(t, e, e === "style" ? sh(i) : i), nh = /;(?!([^()]*\([^()]*\))*[^()]*\))/, sh = (t) => t.split(nh).filter((e) => e).map((e) => e + " !important").join(";");
|
|
5368
|
+
function oh(t) {
|
|
5361
5369
|
let e, i, n, s, o;
|
|
5362
5370
|
return {
|
|
5363
5371
|
c() {
|
|
@@ -5404,15 +5412,15 @@ function sh(t) {
|
|
|
5404
5412
|
}
|
|
5405
5413
|
};
|
|
5406
5414
|
}
|
|
5407
|
-
function
|
|
5415
|
+
function rh(t, e, i) {
|
|
5408
5416
|
let { scale: n = 1 } = e, { color: s = "#323232" } = e;
|
|
5409
5417
|
return t.$$set = (o) => {
|
|
5410
5418
|
"scale" in o && i(0, n = o.scale), "color" in o && i(1, s = o.color);
|
|
5411
5419
|
}, [n, s];
|
|
5412
5420
|
}
|
|
5413
|
-
class
|
|
5421
|
+
class lh extends pe {
|
|
5414
5422
|
constructor(e) {
|
|
5415
|
-
super(), ke(this, e,
|
|
5423
|
+
super(), ke(this, e, rh, oh, be, { scale: 0, color: 1 });
|
|
5416
5424
|
}
|
|
5417
5425
|
get scale() {
|
|
5418
5426
|
return this.$$.ctx[0];
|
|
@@ -5427,10 +5435,10 @@ class rh extends pe {
|
|
|
5427
5435
|
this.$$set({ color: e }), c();
|
|
5428
5436
|
}
|
|
5429
5437
|
}
|
|
5430
|
-
const Bs = (t, e, i) => Pe(t, e, e === "style" ?
|
|
5431
|
-
function
|
|
5438
|
+
const Bs = (t, e, i) => Pe(t, e, e === "style" ? uh(i) : i), ah = /;(?!([^()]*\([^()]*\))*[^()]*\))/, uh = (t) => t.split(ah).filter((e) => e).map((e) => e + " !important").join(";");
|
|
5439
|
+
function ch(t) {
|
|
5432
5440
|
let e, i;
|
|
5433
|
-
return e = new
|
|
5441
|
+
return e = new lh({
|
|
5434
5442
|
props: {
|
|
5435
5443
|
scale: (
|
|
5436
5444
|
/*scale*/
|
|
@@ -5467,9 +5475,9 @@ function uh(t) {
|
|
|
5467
5475
|
}
|
|
5468
5476
|
};
|
|
5469
5477
|
}
|
|
5470
|
-
function
|
|
5478
|
+
function dh(t) {
|
|
5471
5479
|
let e, i;
|
|
5472
|
-
return e = new
|
|
5480
|
+
return e = new ih({
|
|
5473
5481
|
props: {
|
|
5474
5482
|
scale: (
|
|
5475
5483
|
/*scale*/
|
|
@@ -5506,9 +5514,9 @@ function ch(t) {
|
|
|
5506
5514
|
}
|
|
5507
5515
|
};
|
|
5508
5516
|
}
|
|
5509
|
-
function
|
|
5517
|
+
function gh(t) {
|
|
5510
5518
|
let e, i;
|
|
5511
|
-
return e = new
|
|
5519
|
+
return e = new Xf({
|
|
5512
5520
|
props: {
|
|
5513
5521
|
seconds: (
|
|
5514
5522
|
/*backwardsSeconds*/
|
|
@@ -5551,9 +5559,9 @@ function dh(t) {
|
|
|
5551
5559
|
}
|
|
5552
5560
|
};
|
|
5553
5561
|
}
|
|
5554
|
-
function
|
|
5562
|
+
function fh(t) {
|
|
5555
5563
|
let e, i, n, s, o, r;
|
|
5556
|
-
const l = [dh, ch
|
|
5564
|
+
const l = [gh, dh, ch], a = [];
|
|
5557
5565
|
function d(u, g) {
|
|
5558
5566
|
return (
|
|
5559
5567
|
/*isSeconds*/
|
|
@@ -5609,7 +5617,7 @@ function gh(t) {
|
|
|
5609
5617
|
}
|
|
5610
5618
|
};
|
|
5611
5619
|
}
|
|
5612
|
-
function
|
|
5620
|
+
function hh(t, e, i) {
|
|
5613
5621
|
let n, s, o, r, { style: l = "segments" } = e, { scale: a = 1 } = e, { color: d = "#323232" } = e, { onEvent: u = () => {
|
|
5614
5622
|
} } = e, g;
|
|
5615
5623
|
const m = () => {
|
|
@@ -5642,9 +5650,9 @@ function fh(t, e, i) {
|
|
|
5642
5650
|
u
|
|
5643
5651
|
];
|
|
5644
5652
|
}
|
|
5645
|
-
class
|
|
5653
|
+
class _h extends pe {
|
|
5646
5654
|
constructor(e) {
|
|
5647
|
-
super(), ke(this, e,
|
|
5655
|
+
super(), ke(this, e, hh, fh, be, { style: 8, scale: 0, color: 1, onEvent: 9 });
|
|
5648
5656
|
}
|
|
5649
5657
|
get style() {
|
|
5650
5658
|
return this.$$.ctx[8];
|
|
@@ -5671,8 +5679,8 @@ class hh extends pe {
|
|
|
5671
5679
|
this.$$set({ onEvent: e }), c();
|
|
5672
5680
|
}
|
|
5673
5681
|
}
|
|
5674
|
-
const Gt = (t, e, i) => Pe(t, e, e === "style" ?
|
|
5675
|
-
function
|
|
5682
|
+
const Gt = (t, e, i) => Pe(t, e, e === "style" ? vh(i) : i), mh = /;(?!([^()]*\([^()]*\))*[^()]*\))/, vh = (t) => t.split(mh).filter((e) => e).map((e) => e + " !important").join(";");
|
|
5683
|
+
function yh(t) {
|
|
5676
5684
|
let e, i, n, s, o, r;
|
|
5677
5685
|
return {
|
|
5678
5686
|
c() {
|
|
@@ -5727,15 +5735,15 @@ function vh(t) {
|
|
|
5727
5735
|
}
|
|
5728
5736
|
};
|
|
5729
5737
|
}
|
|
5730
|
-
function
|
|
5738
|
+
function bh(t, e, i) {
|
|
5731
5739
|
let { scale: n = 1 } = e, { color: s = "#323232" } = e, { seconds: o = 10 } = e;
|
|
5732
5740
|
return t.$$set = (r) => {
|
|
5733
5741
|
"scale" in r && i(0, n = r.scale), "color" in r && i(1, s = r.color), "seconds" in r && i(2, o = r.seconds);
|
|
5734
5742
|
}, [n, s, o];
|
|
5735
5743
|
}
|
|
5736
|
-
class
|
|
5744
|
+
class kh extends pe {
|
|
5737
5745
|
constructor(e) {
|
|
5738
|
-
super(), ke(this, e,
|
|
5746
|
+
super(), ke(this, e, bh, yh, be, { scale: 0, color: 1, seconds: 2 });
|
|
5739
5747
|
}
|
|
5740
5748
|
get scale() {
|
|
5741
5749
|
return this.$$.ctx[0];
|
|
@@ -5756,35 +5764,35 @@ class bh extends pe {
|
|
|
5756
5764
|
this.$$set({ seconds: e }), c();
|
|
5757
5765
|
}
|
|
5758
5766
|
}
|
|
5759
|
-
const
|
|
5760
|
-
function
|
|
5767
|
+
const Ei = (t, e, i) => Pe(t, e, e === "style" ? Sh(i) : i), ph = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Sh = (t) => t.split(ph).filter((e) => e).map((e) => e + " !important").join(";");
|
|
5768
|
+
function wh(t) {
|
|
5761
5769
|
let e, i, n, s;
|
|
5762
5770
|
return {
|
|
5763
5771
|
c() {
|
|
5764
|
-
e = ye("svg"), i = ye("path"),
|
|
5772
|
+
e = ye("svg"), i = ye("path"), Ei(
|
|
5765
5773
|
i,
|
|
5766
5774
|
"fill",
|
|
5767
5775
|
/*color*/
|
|
5768
5776
|
t[1]
|
|
5769
|
-
),
|
|
5770
|
-
t[0]),
|
|
5771
|
-
t[0]),
|
|
5777
|
+
), Ei(i, "d", "M9.75 4.70093C10.75 5.27828 10.75 6.72166 9.75 7.29901L2.25 11.6291C1.25 12.2065 0 11.4848 0 10.3301V1.66984C0 0.515139 1.25 -0.206548 2.25 0.370802L9.75 4.70093Z"), Ei(e, "width", n = 40 * /*scale*/
|
|
5778
|
+
t[0]), Ei(e, "height", s = 40 * /*scale*/
|
|
5779
|
+
t[0]), Ei(e, "viewBox", "-12 -12 35 36"), Ei(e, "fill", "none"), Ei(e, "xmlns", "http://www.w3.org/2000/svg");
|
|
5772
5780
|
},
|
|
5773
5781
|
m(o, r) {
|
|
5774
5782
|
B(o, e, r), f(e, i);
|
|
5775
5783
|
},
|
|
5776
5784
|
p(o, [r]) {
|
|
5777
5785
|
r & /*color*/
|
|
5778
|
-
2 &&
|
|
5786
|
+
2 && Ei(
|
|
5779
5787
|
i,
|
|
5780
5788
|
"fill",
|
|
5781
5789
|
/*color*/
|
|
5782
5790
|
o[1]
|
|
5783
5791
|
), r & /*scale*/
|
|
5784
5792
|
1 && n !== (n = 40 * /*scale*/
|
|
5785
|
-
o[0]) &&
|
|
5793
|
+
o[0]) && Ei(e, "width", n), r & /*scale*/
|
|
5786
5794
|
1 && s !== (s = 40 * /*scale*/
|
|
5787
|
-
o[0]) &&
|
|
5795
|
+
o[0]) && Ei(e, "height", s);
|
|
5788
5796
|
},
|
|
5789
5797
|
i: G,
|
|
5790
5798
|
o: G,
|
|
@@ -5793,15 +5801,15 @@ function Sh(t) {
|
|
|
5793
5801
|
}
|
|
5794
5802
|
};
|
|
5795
5803
|
}
|
|
5796
|
-
function
|
|
5804
|
+
function Ph(t, e, i) {
|
|
5797
5805
|
let { scale: n = 1 } = e, { color: s = "#323232" } = e;
|
|
5798
5806
|
return t.$$set = (o) => {
|
|
5799
5807
|
"scale" in o && i(0, n = o.scale), "color" in o && i(1, s = o.color);
|
|
5800
5808
|
}, [n, s];
|
|
5801
5809
|
}
|
|
5802
|
-
class
|
|
5810
|
+
class Th extends pe {
|
|
5803
5811
|
constructor(e) {
|
|
5804
|
-
super(), ke(this, e,
|
|
5812
|
+
super(), ke(this, e, Ph, wh, be, { scale: 0, color: 1 });
|
|
5805
5813
|
}
|
|
5806
5814
|
get scale() {
|
|
5807
5815
|
return this.$$.ctx[0];
|
|
@@ -5816,8 +5824,8 @@ class Ph extends pe {
|
|
|
5816
5824
|
this.$$set({ color: e }), c();
|
|
5817
5825
|
}
|
|
5818
5826
|
}
|
|
5819
|
-
const bi = (t, e, i) => Pe(t, e, e === "style" ?
|
|
5820
|
-
function
|
|
5827
|
+
const bi = (t, e, i) => Pe(t, e, e === "style" ? Ah(i) : i), Ch = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Ah = (t) => t.split(Ch).filter((e) => e).map((e) => e + " !important").join(";");
|
|
5828
|
+
function Bh(t) {
|
|
5821
5829
|
let e, i, n, s, o;
|
|
5822
5830
|
return {
|
|
5823
5831
|
c() {
|
|
@@ -5864,15 +5872,15 @@ function Ah(t) {
|
|
|
5864
5872
|
}
|
|
5865
5873
|
};
|
|
5866
5874
|
}
|
|
5867
|
-
function
|
|
5875
|
+
function Ih(t, e, i) {
|
|
5868
5876
|
let { scale: n = 1 } = e, { color: s = "#323232" } = e;
|
|
5869
5877
|
return t.$$set = (o) => {
|
|
5870
5878
|
"scale" in o && i(0, n = o.scale), "color" in o && i(1, s = o.color);
|
|
5871
5879
|
}, [n, s];
|
|
5872
5880
|
}
|
|
5873
|
-
class
|
|
5881
|
+
class Vh extends pe {
|
|
5874
5882
|
constructor(e) {
|
|
5875
|
-
super(), ke(this, e,
|
|
5883
|
+
super(), ke(this, e, Ih, Bh, be, { scale: 0, color: 1 });
|
|
5876
5884
|
}
|
|
5877
5885
|
get scale() {
|
|
5878
5886
|
return this.$$.ctx[0];
|
|
@@ -5887,10 +5895,10 @@ class Ih extends pe {
|
|
|
5887
5895
|
this.$$set({ color: e }), c();
|
|
5888
5896
|
}
|
|
5889
5897
|
}
|
|
5890
|
-
const Is = (t, e, i) => Pe(t, e, e === "style" ?
|
|
5891
|
-
function
|
|
5898
|
+
const Is = (t, e, i) => Pe(t, e, e === "style" ? Oh(i) : i), Wh = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Oh = (t) => t.split(Wh).filter((e) => e).map((e) => e + " !important").join(";");
|
|
5899
|
+
function jh(t) {
|
|
5892
5900
|
let e, i;
|
|
5893
|
-
return e = new
|
|
5901
|
+
return e = new Vh({
|
|
5894
5902
|
props: {
|
|
5895
5903
|
scale: (
|
|
5896
5904
|
/*scale*/
|
|
@@ -5927,9 +5935,9 @@ function Oh(t) {
|
|
|
5927
5935
|
}
|
|
5928
5936
|
};
|
|
5929
5937
|
}
|
|
5930
|
-
function
|
|
5938
|
+
function Eh(t) {
|
|
5931
5939
|
let e, i;
|
|
5932
|
-
return e = new
|
|
5940
|
+
return e = new Th({
|
|
5933
5941
|
props: {
|
|
5934
5942
|
scale: (
|
|
5935
5943
|
/*scale*/
|
|
@@ -5968,7 +5976,7 @@ function jh(t) {
|
|
|
5968
5976
|
}
|
|
5969
5977
|
function Mh(t) {
|
|
5970
5978
|
let e, i;
|
|
5971
|
-
return e = new
|
|
5979
|
+
return e = new kh({
|
|
5972
5980
|
props: {
|
|
5973
5981
|
seconds: (
|
|
5974
5982
|
/*forwardsSeconds*/
|
|
@@ -6011,9 +6019,9 @@ function Mh(t) {
|
|
|
6011
6019
|
}
|
|
6012
6020
|
};
|
|
6013
6021
|
}
|
|
6014
|
-
function
|
|
6022
|
+
function zh(t) {
|
|
6015
6023
|
let e, i, n, s, o, r;
|
|
6016
|
-
const l = [Mh,
|
|
6024
|
+
const l = [Mh, Eh, jh], a = [];
|
|
6017
6025
|
function d(u, g) {
|
|
6018
6026
|
return (
|
|
6019
6027
|
/*isSeconds*/
|
|
@@ -6069,7 +6077,7 @@ function Eh(t) {
|
|
|
6069
6077
|
}
|
|
6070
6078
|
};
|
|
6071
6079
|
}
|
|
6072
|
-
function
|
|
6080
|
+
function Lh(t, e, i) {
|
|
6073
6081
|
let n, s, o, r, l, { style: a = "segments" } = e, { scale: d = 1 } = e, { color: u = "#323232" } = e, { onEvent: g = () => {
|
|
6074
6082
|
} } = e, m;
|
|
6075
6083
|
const v = () => {
|
|
@@ -6104,9 +6112,9 @@ function zh(t, e, i) {
|
|
|
6104
6112
|
n
|
|
6105
6113
|
];
|
|
6106
6114
|
}
|
|
6107
|
-
class
|
|
6115
|
+
class Nh extends pe {
|
|
6108
6116
|
constructor(e) {
|
|
6109
|
-
super(), ke(this, e,
|
|
6117
|
+
super(), ke(this, e, Lh, zh, be, { style: 8, scale: 0, color: 1, onEvent: 9 });
|
|
6110
6118
|
}
|
|
6111
6119
|
get style() {
|
|
6112
6120
|
return this.$$.ctx[8];
|
|
@@ -6133,8 +6141,8 @@ class Lh extends pe {
|
|
|
6133
6141
|
this.$$set({ onEvent: e }), c();
|
|
6134
6142
|
}
|
|
6135
6143
|
}
|
|
6136
|
-
const di = (t, e, i) => Pe(t, e, e === "style" ?
|
|
6137
|
-
function
|
|
6144
|
+
const di = (t, e, i) => Pe(t, e, e === "style" ? Rh(i) : i), Dh = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Rh = (t) => t.split(Dh).filter((e) => e).map((e) => e + " !important").join(";");
|
|
6145
|
+
function xh(t) {
|
|
6138
6146
|
let e, i, n, s, o, r;
|
|
6139
6147
|
return {
|
|
6140
6148
|
c() {
|
|
@@ -6181,15 +6189,15 @@ function Rh(t) {
|
|
|
6181
6189
|
}
|
|
6182
6190
|
};
|
|
6183
6191
|
}
|
|
6184
|
-
function
|
|
6192
|
+
function Uh(t, e, i) {
|
|
6185
6193
|
let { scale: n = 1 } = e, { color: s = "#323232" } = e;
|
|
6186
6194
|
return t.$$set = (o) => {
|
|
6187
6195
|
"scale" in o && i(0, n = o.scale), "color" in o && i(1, s = o.color);
|
|
6188
6196
|
}, [n, s];
|
|
6189
6197
|
}
|
|
6190
|
-
class
|
|
6198
|
+
class Fh extends pe {
|
|
6191
6199
|
constructor(e) {
|
|
6192
|
-
super(), ke(this, e,
|
|
6200
|
+
super(), ke(this, e, Uh, xh, be, { scale: 0, color: 1 });
|
|
6193
6201
|
}
|
|
6194
6202
|
get scale() {
|
|
6195
6203
|
return this.$$.ctx[0];
|
|
@@ -6204,8 +6212,8 @@ class Uh extends pe {
|
|
|
6204
6212
|
this.$$set({ color: e }), c();
|
|
6205
6213
|
}
|
|
6206
6214
|
}
|
|
6207
|
-
const gi = (t, e, i) => Pe(t, e, e === "style" ?
|
|
6208
|
-
function
|
|
6215
|
+
const gi = (t, e, i) => Pe(t, e, e === "style" ? Hh(i) : i), qh = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Hh = (t) => t.split(qh).filter((e) => e).map((e) => e + " !important").join(";");
|
|
6216
|
+
function Yh(t) {
|
|
6209
6217
|
let e, i, n, s, o, r;
|
|
6210
6218
|
return {
|
|
6211
6219
|
c() {
|
|
@@ -6252,15 +6260,15 @@ function Hh(t) {
|
|
|
6252
6260
|
}
|
|
6253
6261
|
};
|
|
6254
6262
|
}
|
|
6255
|
-
function
|
|
6263
|
+
function Zh(t, e, i) {
|
|
6256
6264
|
let { scale: n = 1 } = e, { color: s = "#323232" } = e;
|
|
6257
6265
|
return t.$$set = (o) => {
|
|
6258
6266
|
"scale" in o && i(0, n = o.scale), "color" in o && i(1, s = o.color);
|
|
6259
6267
|
}, [n, s];
|
|
6260
6268
|
}
|
|
6261
|
-
class
|
|
6269
|
+
class Gh extends pe {
|
|
6262
6270
|
constructor(e) {
|
|
6263
|
-
super(), ke(this, e,
|
|
6271
|
+
super(), ke(this, e, Zh, Yh, be, { scale: 0, color: 1 });
|
|
6264
6272
|
}
|
|
6265
6273
|
get scale() {
|
|
6266
6274
|
return this.$$.ctx[0];
|
|
@@ -6275,10 +6283,10 @@ class Zh extends pe {
|
|
|
6275
6283
|
this.$$set({ color: e }), c();
|
|
6276
6284
|
}
|
|
6277
6285
|
}
|
|
6278
|
-
const Tr = (t, e, i) => Ut(t, e, i, 1), Vs = (t, e, i) => Pe(t, e, e === "style" ?
|
|
6279
|
-
function
|
|
6286
|
+
const Tr = (t, e, i) => Ut(t, e, i, 1), Vs = (t, e, i) => Pe(t, e, e === "style" ? Jh(i) : i), Kh = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Jh = (t) => t.split(Kh).filter((e) => e).map((e) => e + " !important").join(";");
|
|
6287
|
+
function Xh(t) {
|
|
6280
6288
|
let e, i;
|
|
6281
|
-
return e = new
|
|
6289
|
+
return e = new Fh({
|
|
6282
6290
|
props: {
|
|
6283
6291
|
scale: (
|
|
6284
6292
|
/*scale*/
|
|
@@ -6315,9 +6323,9 @@ function Jh(t) {
|
|
|
6315
6323
|
}
|
|
6316
6324
|
};
|
|
6317
6325
|
}
|
|
6318
|
-
function
|
|
6326
|
+
function Qh(t) {
|
|
6319
6327
|
let e, i;
|
|
6320
|
-
return e = new
|
|
6328
|
+
return e = new Gh({
|
|
6321
6329
|
props: {
|
|
6322
6330
|
scale: (
|
|
6323
6331
|
/*scale*/
|
|
@@ -6354,9 +6362,9 @@ function Xh(t) {
|
|
|
6354
6362
|
}
|
|
6355
6363
|
};
|
|
6356
6364
|
}
|
|
6357
|
-
function
|
|
6365
|
+
function $h(t) {
|
|
6358
6366
|
let e, i, n, s, o, r, l;
|
|
6359
|
-
const a = [
|
|
6367
|
+
const a = [Qh, Xh], d = [];
|
|
6360
6368
|
function u(g, m) {
|
|
6361
6369
|
return (
|
|
6362
6370
|
/*playlistShowing*/
|
|
@@ -6401,7 +6409,7 @@ function Qh(t) {
|
|
|
6401
6409
|
}
|
|
6402
6410
|
};
|
|
6403
6411
|
}
|
|
6404
|
-
function
|
|
6412
|
+
function e_(t, e, i) {
|
|
6405
6413
|
let { playlistShowing: n } = e, { playerStyle: s } = e, { scale: o = 1 } = e, { color: r = "#323232" } = e, { onEvent: l = () => {
|
|
6406
6414
|
} } = e;
|
|
6407
6415
|
const a = () => {
|
|
@@ -6415,9 +6423,9 @@ function $h(t, e, i) {
|
|
|
6415
6423
|
"playlistShowing" in d && i(0, n = d.playlistShowing), "playerStyle" in d && i(1, s = d.playerStyle), "scale" in d && i(2, o = d.scale), "color" in d && i(3, r = d.color), "onEvent" in d && i(5, l = d.onEvent);
|
|
6416
6424
|
}, [n, s, o, r, a, l];
|
|
6417
6425
|
}
|
|
6418
|
-
class
|
|
6426
|
+
class t_ extends pe {
|
|
6419
6427
|
constructor(e) {
|
|
6420
|
-
super(), ke(this, e, $h,
|
|
6428
|
+
super(), ke(this, e, e_, $h, be, {
|
|
6421
6429
|
playlistShowing: 0,
|
|
6422
6430
|
playerStyle: 1,
|
|
6423
6431
|
scale: 2,
|
|
@@ -6456,8 +6464,8 @@ class e_ extends pe {
|
|
|
6456
6464
|
this.$$set({ onEvent: e }), c();
|
|
6457
6465
|
}
|
|
6458
6466
|
}
|
|
6459
|
-
const Cr = (t, e, i) => Ut(t, e, i, 1), Ar = (t, e, i) => Pe(t, e, e === "style" ?
|
|
6460
|
-
function
|
|
6467
|
+
const Cr = (t, e, i) => Ut(t, e, i, 1), Ar = (t, e, i) => Pe(t, e, e === "style" ? n_(i) : i), i_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, n_ = (t) => t.split(i_).filter((e) => e).map((e) => e + " !important").join(";");
|
|
6468
|
+
function s_(t) {
|
|
6461
6469
|
let e, i, n;
|
|
6462
6470
|
const s = (
|
|
6463
6471
|
/*#slots*/
|
|
@@ -6557,7 +6565,7 @@ function n_(t) {
|
|
|
6557
6565
|
}
|
|
6558
6566
|
};
|
|
6559
6567
|
}
|
|
6560
|
-
function
|
|
6568
|
+
function o_(t, e, i) {
|
|
6561
6569
|
let { $$slots: n = {}, $$scope: s } = e, { playerStyle: o } = e, { isMobile: r } = e, { isAdvert: l } = e, { fixedPosition: a } = e, { scale: d } = e, { controlsOrder: u } = e;
|
|
6562
6570
|
return t.$$set = (g) => {
|
|
6563
6571
|
"playerStyle" in g && i(0, o = g.playerStyle), "isMobile" in g && i(1, r = g.isMobile), "isAdvert" in g && i(2, l = g.isAdvert), "fixedPosition" in g && i(3, a = g.fixedPosition), "scale" in g && i(4, d = g.scale), "controlsOrder" in g && i(5, u = g.controlsOrder), "$$scope" in g && i(6, s = g.$$scope);
|
|
@@ -6572,9 +6580,9 @@ function s_(t, e, i) {
|
|
|
6572
6580
|
n
|
|
6573
6581
|
];
|
|
6574
6582
|
}
|
|
6575
|
-
class
|
|
6583
|
+
class r_ extends pe {
|
|
6576
6584
|
constructor(e) {
|
|
6577
|
-
super(), ke(this, e,
|
|
6585
|
+
super(), ke(this, e, o_, s_, be, {
|
|
6578
6586
|
playerStyle: 0,
|
|
6579
6587
|
isMobile: 1,
|
|
6580
6588
|
isAdvert: 2,
|
|
@@ -6620,35 +6628,35 @@ class o_ extends pe {
|
|
|
6620
6628
|
this.$$set({ controlsOrder: e }), c();
|
|
6621
6629
|
}
|
|
6622
6630
|
}
|
|
6623
|
-
const
|
|
6624
|
-
function
|
|
6631
|
+
const Mi = (t, e, i) => Pe(t, e, e === "style" ? a_(i) : i), l_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, a_ = (t) => t.split(l_).filter((e) => e).map((e) => e + " !important").join(";");
|
|
6632
|
+
function u_(t) {
|
|
6625
6633
|
let e, i, n, s;
|
|
6626
6634
|
return {
|
|
6627
6635
|
c() {
|
|
6628
|
-
e = ye("svg"), i = ye("path"),
|
|
6636
|
+
e = ye("svg"), i = ye("path"), Mi(
|
|
6629
6637
|
i,
|
|
6630
6638
|
"fill",
|
|
6631
6639
|
/*color*/
|
|
6632
6640
|
t[1]
|
|
6633
|
-
),
|
|
6634
|
-
t[0]),
|
|
6635
|
-
t[0]),
|
|
6641
|
+
), Mi(i, "d", "M6.33334 5.76668L5.73334 5.18334C5.60001 5.06112 5.44168 5.00279 5.25834 5.00834C5.07501 5.0139 4.92223 5.07779 4.80001 5.20001C4.67779 5.32223 4.61668 5.47779 4.61668 5.66668C4.61668 5.85557 4.67779 6.01112 4.80001 6.13334L6.53334 7.86668C6.65557 7.9889 6.81112 8.05001 7.00001 8.05001C7.1889 8.05001 7.34445 7.9889 7.46668 7.86668L9.21668 6.11668C9.3389 5.99445 9.39723 5.84168 9.39168 5.65834C9.38612 5.47501 9.32223 5.32223 9.20001 5.20001C9.07779 5.07779 8.92223 5.0139 8.73334 5.00834C8.54445 5.00279 8.3889 5.06668 8.26668 5.20001L7.66668 5.76668V3.65001C7.66668 3.46112 7.60279 3.30557 7.47501 3.18334C7.34723 3.06112 7.1889 3.00001 7.00001 3.00001C6.81112 3.00001 6.65279 3.0639 6.52501 3.19168C6.39723 3.31945 6.33334 3.47779 6.33334 3.66668V5.76668ZM4.33334 10.3333H9.68334C9.87223 10.3333 10.0278 10.2695 10.15 10.1417C10.2722 10.0139 10.3333 9.85557 10.3333 9.66668C10.3333 9.47779 10.2695 9.31945 10.1417 9.19168C10.0139 9.0639 9.85557 9.00001 9.66668 9.00001H4.31668C4.12779 9.00001 3.97223 9.0639 3.85001 9.19168C3.72779 9.31945 3.66668 9.47779 3.66668 9.66668C3.66668 9.85557 3.73057 10.0139 3.85834 10.1417C3.98612 10.2695 4.14445 10.3333 4.33334 10.3333ZM7.00001 13.6667C6.07779 13.6667 5.21112 13.4917 4.40001 13.1417C3.5889 12.7917 2.88334 12.3167 2.28334 11.7167C1.68334 11.1167 1.20834 10.4111 0.858343 9.60001C0.508343 8.7889 0.333344 7.92223 0.333344 7.00001C0.333344 6.07779 0.508343 5.21112 0.858343 4.40001C1.20834 3.5889 1.68334 2.88334 2.28334 2.28334C2.88334 1.68334 3.5889 1.20834 4.40001 0.858343C5.21112 0.508343 6.07779 0.333344 7.00001 0.333344C7.92223 0.333344 8.7889 0.508343 9.60001 0.858343C10.4111 1.20834 11.1167 1.68334 11.7167 2.28334C12.3167 2.88334 12.7917 3.5889 13.1417 4.40001C13.4917 5.21112 13.6667 6.07779 13.6667 7.00001C13.6667 7.92223 13.4917 8.7889 13.1417 9.60001C12.7917 10.4111 12.3167 11.1167 11.7167 11.7167C11.1167 12.3167 10.4111 12.7917 9.60001 13.1417C8.7889 13.4917 7.92223 13.6667 7.00001 13.6667Z"), Mi(e, "width", n = 17 * /*scale*/
|
|
6642
|
+
t[0]), Mi(e, "height", s = 17 * /*scale*/
|
|
6643
|
+
t[0]), Mi(e, "viewBox", "0 0 14 14"), Mi(e, "fill", "none"), Mi(e, "xmlns", "http://www.w3.org/2000/svg");
|
|
6636
6644
|
},
|
|
6637
6645
|
m(o, r) {
|
|
6638
6646
|
B(o, e, r), f(e, i);
|
|
6639
6647
|
},
|
|
6640
6648
|
p(o, [r]) {
|
|
6641
6649
|
r & /*color*/
|
|
6642
|
-
2 &&
|
|
6650
|
+
2 && Mi(
|
|
6643
6651
|
i,
|
|
6644
6652
|
"fill",
|
|
6645
6653
|
/*color*/
|
|
6646
6654
|
o[1]
|
|
6647
6655
|
), r & /*scale*/
|
|
6648
6656
|
1 && n !== (n = 17 * /*scale*/
|
|
6649
|
-
o[0]) &&
|
|
6657
|
+
o[0]) && Mi(e, "width", n), r & /*scale*/
|
|
6650
6658
|
1 && s !== (s = 17 * /*scale*/
|
|
6651
|
-
o[0]) &&
|
|
6659
|
+
o[0]) && Mi(e, "height", s);
|
|
6652
6660
|
},
|
|
6653
6661
|
i: G,
|
|
6654
6662
|
o: G,
|
|
@@ -6657,15 +6665,15 @@ function a_(t) {
|
|
|
6657
6665
|
}
|
|
6658
6666
|
};
|
|
6659
6667
|
}
|
|
6660
|
-
function
|
|
6668
|
+
function c_(t, e, i) {
|
|
6661
6669
|
let { scale: n = 1 } = e, { color: s = "#323232" } = e;
|
|
6662
6670
|
return t.$$set = (o) => {
|
|
6663
6671
|
"scale" in o && i(0, n = o.scale), "color" in o && i(1, s = o.color);
|
|
6664
6672
|
}, [n, s];
|
|
6665
6673
|
}
|
|
6666
|
-
class
|
|
6674
|
+
class d_ extends pe {
|
|
6667
6675
|
constructor(e) {
|
|
6668
|
-
super(), ke(this, e,
|
|
6676
|
+
super(), ke(this, e, c_, u_, be, { scale: 0, color: 1 });
|
|
6669
6677
|
}
|
|
6670
6678
|
get scale() {
|
|
6671
6679
|
return this.$$.ctx[0];
|
|
@@ -6680,10 +6688,10 @@ class c_ extends pe {
|
|
|
6680
6688
|
this.$$set({ color: e }), c();
|
|
6681
6689
|
}
|
|
6682
6690
|
}
|
|
6683
|
-
const Ws = (t, e, i) => Ut(t, e, i, 1), Io = (t, e, i) => Pe(t, e, e === "style" ?
|
|
6691
|
+
const Ws = (t, e, i) => Ut(t, e, i, 1), Io = (t, e, i) => Pe(t, e, e === "style" ? f_(i) : i), g_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, f_ = (t) => t.split(g_).filter((e) => e).map((e) => e + " !important").join(";");
|
|
6684
6692
|
function Br(t) {
|
|
6685
6693
|
let e, i, n, s, o;
|
|
6686
|
-
return i = new
|
|
6694
|
+
return i = new d_({
|
|
6687
6695
|
props: {
|
|
6688
6696
|
scale: (
|
|
6689
6697
|
/*scale*/
|
|
@@ -6742,7 +6750,7 @@ function Br(t) {
|
|
|
6742
6750
|
}
|
|
6743
6751
|
};
|
|
6744
6752
|
}
|
|
6745
|
-
function
|
|
6753
|
+
function h_(t) {
|
|
6746
6754
|
let e, i, n = (
|
|
6747
6755
|
/*audioIndex*/
|
|
6748
6756
|
(t[3] !== -1 || /*videoIndex*/
|
|
@@ -6774,7 +6782,7 @@ function f_(t) {
|
|
|
6774
6782
|
}
|
|
6775
6783
|
};
|
|
6776
6784
|
}
|
|
6777
|
-
function
|
|
6785
|
+
function __(t, e, i) {
|
|
6778
6786
|
let { downloadFormats: n } = e, { contentIndex: s } = e, { audio: o } = e, { video: r } = e, { scale: l = 1 } = e, { color: a = "#323232" } = e, { padding: d = 0 } = e, { isVisible: u } = e, { onEvent: g = () => {
|
|
6779
6787
|
} } = e;
|
|
6780
6788
|
const m = (b, C, V) => {
|
|
@@ -6823,7 +6831,7 @@ function h_(t, e, i) {
|
|
|
6823
6831
|
}
|
|
6824
6832
|
class Fl extends pe {
|
|
6825
6833
|
constructor(e) {
|
|
6826
|
-
super(), ke(this, e,
|
|
6834
|
+
super(), ke(this, e, __, h_, be, {
|
|
6827
6835
|
downloadFormats: 7,
|
|
6828
6836
|
contentIndex: 8,
|
|
6829
6837
|
audio: 9,
|
|
@@ -6890,8 +6898,8 @@ class Fl extends pe {
|
|
|
6890
6898
|
this.$$set({ onEvent: e }), c();
|
|
6891
6899
|
}
|
|
6892
6900
|
}
|
|
6893
|
-
const zi = (t, e, i) => Pe(t, e, e === "style" ?
|
|
6894
|
-
function
|
|
6901
|
+
const zi = (t, e, i) => Pe(t, e, e === "style" ? v_(i) : i), m_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, v_ = (t) => t.split(m_).filter((e) => e).map((e) => e + " !important").join(";");
|
|
6902
|
+
function y_(t) {
|
|
6895
6903
|
let e, i, n, s;
|
|
6896
6904
|
return {
|
|
6897
6905
|
c() {
|
|
@@ -6927,15 +6935,15 @@ function v_(t) {
|
|
|
6927
6935
|
}
|
|
6928
6936
|
};
|
|
6929
6937
|
}
|
|
6930
|
-
function
|
|
6938
|
+
function b_(t, e, i) {
|
|
6931
6939
|
let { scale: n = 1 } = e, { color: s = "#323232" } = e;
|
|
6932
6940
|
return t.$$set = (o) => {
|
|
6933
6941
|
"scale" in o && i(0, n = o.scale), "color" in o && i(1, s = o.color);
|
|
6934
6942
|
}, [n, s];
|
|
6935
6943
|
}
|
|
6936
|
-
class
|
|
6944
|
+
class k_ extends pe {
|
|
6937
6945
|
constructor(e) {
|
|
6938
|
-
super(), ke(this, e,
|
|
6946
|
+
super(), ke(this, e, b_, y_, be, { scale: 0, color: 1 });
|
|
6939
6947
|
}
|
|
6940
6948
|
get scale() {
|
|
6941
6949
|
return this.$$.ctx[0];
|
|
@@ -6950,10 +6958,10 @@ class b_ extends pe {
|
|
|
6950
6958
|
this.$$set({ color: e }), c();
|
|
6951
6959
|
}
|
|
6952
6960
|
}
|
|
6953
|
-
const Ir = (t, e, i) => Ut(t, e, i, 1), Vo = (t, e, i) => Pe(t, e, e === "style" ?
|
|
6954
|
-
function
|
|
6961
|
+
const Ir = (t, e, i) => Ut(t, e, i, 1), Vo = (t, e, i) => Pe(t, e, e === "style" ? S_(i) : i), p_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, S_ = (t) => t.split(p_).filter((e) => e).map((e) => e + " !important").join(";");
|
|
6962
|
+
function w_(t) {
|
|
6955
6963
|
let e, i, n, s, o;
|
|
6956
|
-
return i = new
|
|
6964
|
+
return i = new k_({
|
|
6957
6965
|
props: {
|
|
6958
6966
|
scale: (
|
|
6959
6967
|
/*scale*/
|
|
@@ -7001,7 +7009,7 @@ function S_(t) {
|
|
|
7001
7009
|
}
|
|
7002
7010
|
};
|
|
7003
7011
|
}
|
|
7004
|
-
function
|
|
7012
|
+
function P_(t, e, i) {
|
|
7005
7013
|
let { scale: n = 1 } = e, { color: s = "#323232" } = e, { onEvent: o = () => {
|
|
7006
7014
|
} } = e;
|
|
7007
7015
|
const r = () => {
|
|
@@ -7015,9 +7023,9 @@ function w_(t, e, i) {
|
|
|
7015
7023
|
"scale" in l && i(0, n = l.scale), "color" in l && i(1, s = l.color), "onEvent" in l && i(3, o = l.onEvent);
|
|
7016
7024
|
}, [n, s, r, o];
|
|
7017
7025
|
}
|
|
7018
|
-
class
|
|
7026
|
+
class T_ extends pe {
|
|
7019
7027
|
constructor(e) {
|
|
7020
|
-
super(), ke(this, e,
|
|
7028
|
+
super(), ke(this, e, P_, w_, be, { scale: 0, color: 1, onEvent: 3 });
|
|
7021
7029
|
}
|
|
7022
7030
|
get scale() {
|
|
7023
7031
|
return this.$$.ctx[0];
|
|
@@ -7038,8 +7046,8 @@ class P_ extends pe {
|
|
|
7038
7046
|
this.$$set({ onEvent: e }), c();
|
|
7039
7047
|
}
|
|
7040
7048
|
}
|
|
7041
|
-
const Li = (t, e, i) => Pe(t, e, e === "style" ?
|
|
7042
|
-
function
|
|
7049
|
+
const Li = (t, e, i) => Pe(t, e, e === "style" ? A_(i) : i), C_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, A_ = (t) => t.split(C_).filter((e) => e).map((e) => e + " !important").join(";");
|
|
7050
|
+
function B_(t) {
|
|
7043
7051
|
let e, i, n, s;
|
|
7044
7052
|
return {
|
|
7045
7053
|
c() {
|
|
@@ -7075,15 +7083,15 @@ function A_(t) {
|
|
|
7075
7083
|
}
|
|
7076
7084
|
};
|
|
7077
7085
|
}
|
|
7078
|
-
function
|
|
7086
|
+
function I_(t, e, i) {
|
|
7079
7087
|
let { scale: n = 1 } = e, { color: s = "#323232" } = e;
|
|
7080
7088
|
return t.$$set = (o) => {
|
|
7081
7089
|
"scale" in o && i(0, n = o.scale), "color" in o && i(1, s = o.color);
|
|
7082
7090
|
}, [n, s];
|
|
7083
7091
|
}
|
|
7084
|
-
class
|
|
7092
|
+
class V_ extends pe {
|
|
7085
7093
|
constructor(e) {
|
|
7086
|
-
super(), ke(this, e,
|
|
7094
|
+
super(), ke(this, e, I_, B_, be, { scale: 0, color: 1 });
|
|
7087
7095
|
}
|
|
7088
7096
|
get scale() {
|
|
7089
7097
|
return this.$$.ctx[0];
|
|
@@ -7098,10 +7106,10 @@ class I_ extends pe {
|
|
|
7098
7106
|
this.$$set({ color: e }), c();
|
|
7099
7107
|
}
|
|
7100
7108
|
}
|
|
7101
|
-
const Os = (t, e, i) => Ut(t, e, i, 1), Wo = (t, e, i) => Pe(t, e, e === "style" ?
|
|
7102
|
-
function
|
|
7109
|
+
const Os = (t, e, i) => Ut(t, e, i, 1), Wo = (t, e, i) => Pe(t, e, e === "style" ? O_(i) : i), W_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, O_ = (t) => t.split(W_).filter((e) => e).map((e) => e + " !important").join(";");
|
|
7110
|
+
function j_(t) {
|
|
7103
7111
|
let e, i, n, s, o;
|
|
7104
|
-
return i = new
|
|
7112
|
+
return i = new V_({
|
|
7105
7113
|
props: {
|
|
7106
7114
|
scale: (
|
|
7107
7115
|
/*scale*/
|
|
@@ -7160,7 +7168,7 @@ function O_(t) {
|
|
|
7160
7168
|
}
|
|
7161
7169
|
};
|
|
7162
7170
|
}
|
|
7163
|
-
function
|
|
7171
|
+
function E_(t, e, i) {
|
|
7164
7172
|
let { scale: n = 1 } = e, { color: s = "#323232" } = e, { margin: o = "auto" } = e, { onEvent: r = () => {
|
|
7165
7173
|
} } = e;
|
|
7166
7174
|
const l = () => {
|
|
@@ -7176,7 +7184,7 @@ function j_(t, e, i) {
|
|
|
7176
7184
|
}
|
|
7177
7185
|
class M_ extends pe {
|
|
7178
7186
|
constructor(e) {
|
|
7179
|
-
super(), ke(this, e,
|
|
7187
|
+
super(), ke(this, e, E_, j_, be, {
|
|
7180
7188
|
scale: 0,
|
|
7181
7189
|
color: 1,
|
|
7182
7190
|
margin: 2,
|
|
@@ -7208,8 +7216,8 @@ class M_ extends pe {
|
|
|
7208
7216
|
this.$$set({ onEvent: e }), c();
|
|
7209
7217
|
}
|
|
7210
7218
|
}
|
|
7211
|
-
const Ui = (t, e, i) => Pe(t, e, e === "style" ?
|
|
7212
|
-
function
|
|
7219
|
+
const Ui = (t, e, i) => Pe(t, e, e === "style" ? L_(i) : i), z_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, L_ = (t) => t.split(z_).filter((e) => e).map((e) => e + " !important").join(";");
|
|
7220
|
+
function N_(t) {
|
|
7213
7221
|
let e, i, n, s;
|
|
7214
7222
|
return {
|
|
7215
7223
|
c() {
|
|
@@ -7245,15 +7253,15 @@ function L_(t) {
|
|
|
7245
7253
|
}
|
|
7246
7254
|
};
|
|
7247
7255
|
}
|
|
7248
|
-
function
|
|
7256
|
+
function D_(t, e, i) {
|
|
7249
7257
|
let { scale: n = 1 } = e, { color: s = "#323232" } = e;
|
|
7250
7258
|
return t.$$set = (o) => {
|
|
7251
7259
|
"scale" in o && i(0, n = o.scale), "color" in o && i(1, s = o.color);
|
|
7252
7260
|
}, [n, s];
|
|
7253
7261
|
}
|
|
7254
|
-
class
|
|
7262
|
+
class R_ extends pe {
|
|
7255
7263
|
constructor(e) {
|
|
7256
|
-
super(), ke(this, e,
|
|
7264
|
+
super(), ke(this, e, D_, N_, be, { scale: 0, color: 1 });
|
|
7257
7265
|
}
|
|
7258
7266
|
get scale() {
|
|
7259
7267
|
return this.$$.ctx[0];
|
|
@@ -7268,8 +7276,8 @@ class D_ extends pe {
|
|
|
7268
7276
|
this.$$set({ color: e }), c();
|
|
7269
7277
|
}
|
|
7270
7278
|
}
|
|
7271
|
-
const bn = (t, e, i) => Pe(t, e, e === "style" ?
|
|
7272
|
-
function
|
|
7279
|
+
const bn = (t, e, i) => Pe(t, e, e === "style" ? U_(i) : i), x_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, U_ = (t) => t.split(x_).filter((e) => e).map((e) => e + " !important").join(";");
|
|
7280
|
+
function F_(t) {
|
|
7273
7281
|
let e, i = (
|
|
7274
7282
|
/*text*/
|
|
7275
7283
|
(t[6] || "") + ""
|
|
@@ -7342,7 +7350,7 @@ function U_(t) {
|
|
|
7342
7350
|
}
|
|
7343
7351
|
};
|
|
7344
7352
|
}
|
|
7345
|
-
function
|
|
7353
|
+
function q_(t, e, i) {
|
|
7346
7354
|
let n, s, { href: o } = e, { scale: r = 1 } = e, { color: l = "#323232" } = e, { playerStyle: a } = e, { controlsOrder: d } = e, { largeImage: u } = e, { isMobile: g } = e, { onEvent: m = () => {
|
|
7347
7355
|
} } = e;
|
|
7348
7356
|
const v = () => {
|
|
@@ -7372,9 +7380,9 @@ function F_(t, e, i) {
|
|
|
7372
7380
|
m
|
|
7373
7381
|
];
|
|
7374
7382
|
}
|
|
7375
|
-
class
|
|
7383
|
+
class H_ extends pe {
|
|
7376
7384
|
constructor(e) {
|
|
7377
|
-
super(), ke(this, e,
|
|
7385
|
+
super(), ke(this, e, q_, F_, be, {
|
|
7378
7386
|
href: 0,
|
|
7379
7387
|
scale: 8,
|
|
7380
7388
|
color: 9,
|
|
@@ -7434,8 +7442,8 @@ class q_ extends pe {
|
|
|
7434
7442
|
this.$$set({ onEvent: e }), c();
|
|
7435
7443
|
}
|
|
7436
7444
|
}
|
|
7437
|
-
const jt = (t, e, i) => Pe(t, e, e === "style" ?
|
|
7438
|
-
function
|
|
7445
|
+
const jt = (t, e, i) => Pe(t, e, e === "style" ? Z_(i) : i), Y_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Z_ = (t) => t.split(Y_).filter((e) => e).map((e) => e + " !important").join(";");
|
|
7446
|
+
function G_(t) {
|
|
7439
7447
|
let e, i, n, s;
|
|
7440
7448
|
return {
|
|
7441
7449
|
c() {
|
|
@@ -7469,7 +7477,7 @@ function Z_(t) {
|
|
|
7469
7477
|
}
|
|
7470
7478
|
};
|
|
7471
7479
|
}
|
|
7472
|
-
function
|
|
7480
|
+
function K_(t) {
|
|
7473
7481
|
let e, i, n, s;
|
|
7474
7482
|
return {
|
|
7475
7483
|
c() {
|
|
@@ -7503,12 +7511,12 @@ function G_(t) {
|
|
|
7503
7511
|
}
|
|
7504
7512
|
};
|
|
7505
7513
|
}
|
|
7506
|
-
function
|
|
7514
|
+
function J_(t) {
|
|
7507
7515
|
let e;
|
|
7508
7516
|
function i(o, r) {
|
|
7509
7517
|
return (
|
|
7510
7518
|
/*circular*/
|
|
7511
|
-
o[2] ?
|
|
7519
|
+
o[2] ? K_ : G_
|
|
7512
7520
|
);
|
|
7513
7521
|
}
|
|
7514
7522
|
let n = i(t), s = n(t);
|
|
@@ -7529,7 +7537,7 @@ function K_(t) {
|
|
|
7529
7537
|
}
|
|
7530
7538
|
};
|
|
7531
7539
|
}
|
|
7532
|
-
function
|
|
7540
|
+
function X_(t, e, i) {
|
|
7533
7541
|
let { scale: n = 1 } = e, { color: s = "#323232" } = e, { circular: o = !0 } = e;
|
|
7534
7542
|
return t.$$set = (r) => {
|
|
7535
7543
|
"scale" in r && i(0, n = r.scale), "color" in r && i(1, s = r.color), "circular" in r && i(2, o = r.circular);
|
|
@@ -7537,7 +7545,7 @@ function J_(t, e, i) {
|
|
|
7537
7545
|
}
|
|
7538
7546
|
class ql extends pe {
|
|
7539
7547
|
constructor(e) {
|
|
7540
|
-
super(), ke(this, e,
|
|
7548
|
+
super(), ke(this, e, X_, J_, be, { scale: 0, color: 1, circular: 2 });
|
|
7541
7549
|
}
|
|
7542
7550
|
get scale() {
|
|
7543
7551
|
return this.$$.ctx[0];
|
|
@@ -7558,8 +7566,8 @@ class ql extends pe {
|
|
|
7558
7566
|
this.$$set({ circular: e }), c();
|
|
7559
7567
|
}
|
|
7560
7568
|
}
|
|
7561
|
-
const Vr = (t, e, i) => Ut(t, e, i, 1), On = (t, e, i) => Pe(t, e, e === "style" ?
|
|
7562
|
-
function
|
|
7569
|
+
const Vr = (t, e, i) => Ut(t, e, i, 1), On = (t, e, i) => Pe(t, e, e === "style" ? $_(i) : i), Q_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, $_ = (t) => t.split(Q_).filter((e) => e).map((e) => e + " !important").join(";");
|
|
7570
|
+
function e0(t) {
|
|
7563
7571
|
let e;
|
|
7564
7572
|
return {
|
|
7565
7573
|
c() {
|
|
@@ -7576,7 +7584,7 @@ function $_(t) {
|
|
|
7576
7584
|
}
|
|
7577
7585
|
};
|
|
7578
7586
|
}
|
|
7579
|
-
function
|
|
7587
|
+
function t0(t) {
|
|
7580
7588
|
let e, i, n, s, o, r;
|
|
7581
7589
|
return i = new ql({
|
|
7582
7590
|
props: {
|
|
@@ -7642,9 +7650,9 @@ function e0(t) {
|
|
|
7642
7650
|
}
|
|
7643
7651
|
};
|
|
7644
7652
|
}
|
|
7645
|
-
function
|
|
7653
|
+
function i0(t) {
|
|
7646
7654
|
let e, i, n, s;
|
|
7647
|
-
const o = [
|
|
7655
|
+
const o = [t0, e0], r = [];
|
|
7648
7656
|
function l(a, d) {
|
|
7649
7657
|
return (
|
|
7650
7658
|
/*href*/
|
|
@@ -7675,7 +7683,7 @@ function t0(t) {
|
|
|
7675
7683
|
}
|
|
7676
7684
|
};
|
|
7677
7685
|
}
|
|
7678
|
-
function
|
|
7686
|
+
function n0(t, e, i) {
|
|
7679
7687
|
let { href: n } = e, { scale: s = 1 } = e, { color: o = "#323232" } = e, { playerStyle: r } = e, { controlsOrder: l } = e, { onEvent: a = () => {
|
|
7680
7688
|
} } = e;
|
|
7681
7689
|
const d = () => {
|
|
@@ -7689,9 +7697,9 @@ function i0(t, e, i) {
|
|
|
7689
7697
|
"href" in u && i(0, n = u.href), "scale" in u && i(1, s = u.scale), "color" in u && i(2, o = u.color), "playerStyle" in u && i(3, r = u.playerStyle), "controlsOrder" in u && i(4, l = u.controlsOrder), "onEvent" in u && i(6, a = u.onEvent);
|
|
7690
7698
|
}, [n, s, o, r, l, d, a];
|
|
7691
7699
|
}
|
|
7692
|
-
class
|
|
7700
|
+
class s0 extends pe {
|
|
7693
7701
|
constructor(e) {
|
|
7694
|
-
super(), ke(this, e,
|
|
7702
|
+
super(), ke(this, e, n0, i0, be, {
|
|
7695
7703
|
href: 0,
|
|
7696
7704
|
scale: 1,
|
|
7697
7705
|
color: 2,
|
|
@@ -7737,8 +7745,8 @@ class n0 extends pe {
|
|
|
7737
7745
|
this.$$set({ onEvent: e }), c();
|
|
7738
7746
|
}
|
|
7739
7747
|
}
|
|
7740
|
-
const Bt = (t, e, i) => Pe(t, e, e === "style" ?
|
|
7741
|
-
function
|
|
7748
|
+
const Bt = (t, e, i) => Pe(t, e, e === "style" ? r0(i) : i), o0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, r0 = (t) => t.split(o0).filter((e) => e).map((e) => e + " !important").join(";");
|
|
7749
|
+
function l0(t) {
|
|
7742
7750
|
let e, i, n, s, o, r, l, a, d;
|
|
7743
7751
|
return {
|
|
7744
7752
|
c() {
|
|
@@ -7792,15 +7800,15 @@ function r0(t) {
|
|
|
7792
7800
|
}
|
|
7793
7801
|
};
|
|
7794
7802
|
}
|
|
7795
|
-
function
|
|
7803
|
+
function a0(t, e, i) {
|
|
7796
7804
|
let { scale: n = 1 } = e, { color1: s = "#933afb" } = e, { color2: o = "#fb3a41" } = e, r = `gradient-${Math.random()}`;
|
|
7797
7805
|
return t.$$set = (l) => {
|
|
7798
7806
|
"scale" in l && i(0, n = l.scale), "color1" in l && i(1, s = l.color1), "color2" in l && i(2, o = l.color2);
|
|
7799
7807
|
}, [n, s, o, r];
|
|
7800
7808
|
}
|
|
7801
|
-
class
|
|
7809
|
+
class u0 extends pe {
|
|
7802
7810
|
constructor(e) {
|
|
7803
|
-
super(), ke(this, e,
|
|
7811
|
+
super(), ke(this, e, a0, l0, be, { scale: 0, color1: 1, color2: 2 });
|
|
7804
7812
|
}
|
|
7805
7813
|
get scale() {
|
|
7806
7814
|
return this.$$.ctx[0];
|
|
@@ -7821,10 +7829,10 @@ class a0 extends pe {
|
|
|
7821
7829
|
this.$$set({ color2: e }), c();
|
|
7822
7830
|
}
|
|
7823
7831
|
}
|
|
7824
|
-
const Wr = (t, e, i) => Ut(t, e, i, 1), js = (t, e, i) => Pe(t, e, e === "style" ?
|
|
7825
|
-
function
|
|
7832
|
+
const Wr = (t, e, i) => Ut(t, e, i, 1), js = (t, e, i) => Pe(t, e, e === "style" ? d0(i) : i), c0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, d0 = (t) => t.split(c0).filter((e) => e).map((e) => e + " !important").join(";");
|
|
7833
|
+
function g0(t) {
|
|
7826
7834
|
let e, i, n, s, o;
|
|
7827
|
-
return i = new
|
|
7835
|
+
return i = new u0({ props: { scale: (
|
|
7828
7836
|
/*scale*/
|
|
7829
7837
|
t[0]
|
|
7830
7838
|
) } }), {
|
|
@@ -7873,7 +7881,7 @@ function d0(t) {
|
|
|
7873
7881
|
}
|
|
7874
7882
|
};
|
|
7875
7883
|
}
|
|
7876
|
-
function
|
|
7884
|
+
function f0(t, e, i) {
|
|
7877
7885
|
let { scale: n = 1 } = e, { visible: s = !0 } = e, { onEvent: o = () => {
|
|
7878
7886
|
} } = e;
|
|
7879
7887
|
const r = () => {
|
|
@@ -7889,7 +7897,7 @@ function g0(t, e, i) {
|
|
|
7889
7897
|
}
|
|
7890
7898
|
let Hl = class extends pe {
|
|
7891
7899
|
constructor(e) {
|
|
7892
|
-
super(), ke(this, e,
|
|
7900
|
+
super(), ke(this, e, f0, g0, be, { scale: 0, visible: 1, onEvent: 3 });
|
|
7893
7901
|
}
|
|
7894
7902
|
get scale() {
|
|
7895
7903
|
return this.$$.ctx[0];
|
|
@@ -7910,8 +7918,8 @@ let Hl = class extends pe {
|
|
|
7910
7918
|
this.$$set({ onEvent: e }), c();
|
|
7911
7919
|
}
|
|
7912
7920
|
};
|
|
7913
|
-
const Gn = (t, e, i) => Pe(t, e, e === "style" ?
|
|
7914
|
-
function
|
|
7921
|
+
const Gn = (t, e, i) => Pe(t, e, e === "style" ? _0(i) : i), h0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, _0 = (t) => t.split(h0).filter((e) => e).map((e) => e + " !important").join(";");
|
|
7922
|
+
function m0(t) {
|
|
7915
7923
|
let e, i, n, s, o;
|
|
7916
7924
|
return i = new ql({
|
|
7917
7925
|
props: {
|
|
@@ -7970,7 +7978,7 @@ function _0(t) {
|
|
|
7970
7978
|
}
|
|
7971
7979
|
};
|
|
7972
7980
|
}
|
|
7973
|
-
function
|
|
7981
|
+
function v0(t, e, i) {
|
|
7974
7982
|
let { href: n } = e, { scale: s = 1 } = e, { color: o = "#323232" } = e, { onEvent: r = () => {
|
|
7975
7983
|
} } = e;
|
|
7976
7984
|
const l = () => {
|
|
@@ -7984,9 +7992,9 @@ function m0(t, e, i) {
|
|
|
7984
7992
|
"href" in a && i(0, n = a.href), "scale" in a && i(1, s = a.scale), "color" in a && i(2, o = a.color), "onEvent" in a && i(4, r = a.onEvent);
|
|
7985
7993
|
}, [n, s, o, l, r];
|
|
7986
7994
|
}
|
|
7987
|
-
class
|
|
7995
|
+
class y0 extends pe {
|
|
7988
7996
|
constructor(e) {
|
|
7989
|
-
super(), ke(this, e,
|
|
7997
|
+
super(), ke(this, e, v0, m0, be, { href: 0, scale: 1, color: 2, onEvent: 4 });
|
|
7990
7998
|
}
|
|
7991
7999
|
get href() {
|
|
7992
8000
|
return this.$$.ctx[0];
|
|
@@ -8013,8 +8021,8 @@ class v0 extends pe {
|
|
|
8013
8021
|
this.$$set({ onEvent: e }), c();
|
|
8014
8022
|
}
|
|
8015
8023
|
}
|
|
8016
|
-
const un = (t, e, i) => Ut(t, e, i, 1), Fi = (t, e, i) => Pe(t, e, e === "style" ?
|
|
8017
|
-
function
|
|
8024
|
+
const un = (t, e, i) => Ut(t, e, i, 1), Fi = (t, e, i) => Pe(t, e, e === "style" ? k0(i) : i), b0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, k0 = (t) => t.split(b0).filter((e) => e).map((e) => e + " !important").join(";");
|
|
8025
|
+
function p0(t) {
|
|
8018
8026
|
let e, i, n, s, o, r;
|
|
8019
8027
|
return {
|
|
8020
8028
|
c() {
|
|
@@ -8108,7 +8116,7 @@ function k0(t) {
|
|
|
8108
8116
|
}
|
|
8109
8117
|
};
|
|
8110
8118
|
}
|
|
8111
|
-
function
|
|
8119
|
+
function S0(t, e, i) {
|
|
8112
8120
|
let n, { src: s } = e, { href: o } = e, { alt: r = "Player Image" } = e, { scale: l = 1 } = e, { onEvent: a = () => {
|
|
8113
8121
|
} } = e;
|
|
8114
8122
|
const d = () => {
|
|
@@ -8125,9 +8133,9 @@ function p0(t, e, i) {
|
|
|
8125
8133
|
32 && i(3, n = `${l * 80}px`);
|
|
8126
8134
|
}, [s, o, r, n, d, l, a];
|
|
8127
8135
|
}
|
|
8128
|
-
class
|
|
8136
|
+
class w0 extends pe {
|
|
8129
8137
|
constructor(e) {
|
|
8130
|
-
super(), ke(this, e,
|
|
8138
|
+
super(), ke(this, e, S0, p0, be, {
|
|
8131
8139
|
src: 0,
|
|
8132
8140
|
href: 1,
|
|
8133
8141
|
alt: 2,
|
|
@@ -8166,8 +8174,8 @@ class S0 extends pe {
|
|
|
8166
8174
|
this.$$set({ onEvent: e }), c();
|
|
8167
8175
|
}
|
|
8168
8176
|
}
|
|
8169
|
-
const
|
|
8170
|
-
function
|
|
8177
|
+
const Es = (t, e, i) => Pe(t, e, e === "style" ? T0(i) : i), P0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, T0 = (t) => t.split(P0).filter((e) => e).map((e) => e + " !important").join(";");
|
|
8178
|
+
function C0(t) {
|
|
8171
8179
|
var s;
|
|
8172
8180
|
let e, i = (
|
|
8173
8181
|
/*title*/
|
|
@@ -8175,8 +8183,8 @@ function T0(t) {
|
|
|
8175
8183
|
), n;
|
|
8176
8184
|
return {
|
|
8177
8185
|
c() {
|
|
8178
|
-
e = y("div"),
|
|
8179
|
-
t[1] + " svelte-xrh20u"),
|
|
8186
|
+
e = y("div"), Es(e, "class", n = "player-title " + /*playerStyle*/
|
|
8187
|
+
t[1] + " svelte-xrh20u"), Es(
|
|
8180
8188
|
e,
|
|
8181
8189
|
"style",
|
|
8182
8190
|
/*style*/
|
|
@@ -8192,8 +8200,8 @@ function T0(t) {
|
|
|
8192
8200
|
1 && i !== (i = /*title*/
|
|
8193
8201
|
(((l = o[0]) == null ? void 0 : l.replaceAll(/<[^>]+>/gi, "")) || "") + "") && (e.innerHTML = i), r & /*playerStyle*/
|
|
8194
8202
|
2 && n !== (n = "player-title " + /*playerStyle*/
|
|
8195
|
-
o[1] + " svelte-xrh20u") &&
|
|
8196
|
-
8 &&
|
|
8203
|
+
o[1] + " svelte-xrh20u") && Es(e, "class", n), r & /*style*/
|
|
8204
|
+
8 && Es(
|
|
8197
8205
|
e,
|
|
8198
8206
|
"style",
|
|
8199
8207
|
/*style*/
|
|
@@ -8207,7 +8215,7 @@ function T0(t) {
|
|
|
8207
8215
|
}
|
|
8208
8216
|
};
|
|
8209
8217
|
}
|
|
8210
|
-
function
|
|
8218
|
+
function A0(t, e, i) {
|
|
8211
8219
|
let n, s, { title: o } = e, { playerStyle: r } = e, { scale: l = 1 } = e, { visible: a = !0 } = e, { collapsible: d = !1 } = e, { collapsed: u = !1 } = e, { color: g = "#111" } = e, m;
|
|
8212
8220
|
function v(_) {
|
|
8213
8221
|
ee[_ ? "unshift" : "push"](() => {
|
|
@@ -8236,7 +8244,7 @@ function C0(t, e, i) {
|
|
|
8236
8244
|
}
|
|
8237
8245
|
class Yl extends pe {
|
|
8238
8246
|
constructor(e) {
|
|
8239
|
-
super(), ke(this, e,
|
|
8247
|
+
super(), ke(this, e, A0, C0, be, {
|
|
8240
8248
|
title: 0,
|
|
8241
8249
|
playerStyle: 1,
|
|
8242
8250
|
scale: 4,
|
|
@@ -8289,8 +8297,8 @@ class Yl extends pe {
|
|
|
8289
8297
|
this.$$set({ color: e }), c();
|
|
8290
8298
|
}
|
|
8291
8299
|
}
|
|
8292
|
-
const Oo = (t, e, i) => Pe(t, e, e === "style" ?
|
|
8293
|
-
function
|
|
8300
|
+
const Oo = (t, e, i) => Pe(t, e, e === "style" ? I0(i) : i), B0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, I0 = (t) => t.split(B0).filter((e) => e).map((e) => e + " !important").join(";");
|
|
8301
|
+
function V0(t) {
|
|
8294
8302
|
var n;
|
|
8295
8303
|
let e, i = (
|
|
8296
8304
|
/*title*/
|
|
@@ -8371,7 +8379,7 @@ function I0(t) {
|
|
|
8371
8379
|
}
|
|
8372
8380
|
};
|
|
8373
8381
|
}
|
|
8374
|
-
function
|
|
8382
|
+
function W0(t, e, i) {
|
|
8375
8383
|
let n, s, o, r, { title: l } = e, { maxLines: a = 1 } = e, { maxWidth: d = void 0 } = e, { center: u = !1 } = e, { bold: g = !1 } = e, { flex: m = "0 1 auto" } = e, { scale: v = 1 } = e, { color: _ = "#111" } = e;
|
|
8376
8384
|
return t.$$set = (k) => {
|
|
8377
8385
|
"title" in k && i(0, l = k.title), "maxLines" in k && i(1, a = k.maxLines), "maxWidth" in k && i(5, d = k.maxWidth), "center" in k && i(2, u = k.center), "bold" in k && i(3, g = k.bold), "flex" in k && i(6, m = k.flex), "scale" in k && i(7, v = k.scale), "color" in k && i(8, _ = k.color);
|
|
@@ -8398,7 +8406,7 @@ function V0(t, e, i) {
|
|
|
8398
8406
|
}
|
|
8399
8407
|
class nr extends pe {
|
|
8400
8408
|
constructor(e) {
|
|
8401
|
-
super(), ke(this, e,
|
|
8409
|
+
super(), ke(this, e, W0, V0, be, {
|
|
8402
8410
|
title: 0,
|
|
8403
8411
|
maxLines: 1,
|
|
8404
8412
|
maxWidth: 5,
|
|
@@ -8466,8 +8474,8 @@ const Zs = (t, e) => (i) => {
|
|
|
8466
8474
|
initiatedBy: "user"
|
|
8467
8475
|
})));
|
|
8468
8476
|
};
|
|
8469
|
-
const jn = (t, e, i) => Ut(t, e, i, 1), Kn = (t, e, i) => Pe(t, e, e === "style" ?
|
|
8470
|
-
function
|
|
8477
|
+
const jn = (t, e, i) => Ut(t, e, i, 1), Kn = (t, e, i) => Pe(t, e, e === "style" ? j0(i) : i), O0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, j0 = (t) => t.split(O0).filter((e) => e).map((e) => e + " !important").join(";");
|
|
8478
|
+
function E0(t) {
|
|
8471
8479
|
let e, i, n, s, o, r;
|
|
8472
8480
|
return {
|
|
8473
8481
|
c() {
|
|
@@ -8636,9 +8644,9 @@ function M0(t, e, i) {
|
|
|
8636
8644
|
_
|
|
8637
8645
|
];
|
|
8638
8646
|
}
|
|
8639
|
-
class
|
|
8647
|
+
class z0 extends pe {
|
|
8640
8648
|
constructor(e) {
|
|
8641
|
-
super(), ke(this, e, M0,
|
|
8649
|
+
super(), ke(this, e, M0, E0, be, {
|
|
8642
8650
|
progress: 0,
|
|
8643
8651
|
fullWidth: 1,
|
|
8644
8652
|
readonly: 2,
|
|
@@ -8677,8 +8685,8 @@ class E0 extends pe {
|
|
|
8677
8685
|
this.$$set({ onEvent: e }), c();
|
|
8678
8686
|
}
|
|
8679
8687
|
}
|
|
8680
|
-
const
|
|
8681
|
-
function
|
|
8688
|
+
const Ms = (t, e, i) => Ut(t, e, i, 1), Wt = (t, e, i) => Pe(t, e, e === "style" ? N0(i) : i), L0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, N0 = (t) => t.split(L0).filter((e) => e).map((e) => e + " !important").join(";");
|
|
8689
|
+
function D0(t) {
|
|
8682
8690
|
let e;
|
|
8683
8691
|
const i = (
|
|
8684
8692
|
/*#slots*/
|
|
@@ -8729,7 +8737,7 @@ function N0(t) {
|
|
|
8729
8737
|
}
|
|
8730
8738
|
};
|
|
8731
8739
|
}
|
|
8732
|
-
function
|
|
8740
|
+
function R0(t) {
|
|
8733
8741
|
let e, i, n, s, o, r, l, a;
|
|
8734
8742
|
const d = (
|
|
8735
8743
|
/*#slots*/
|
|
@@ -8775,12 +8783,12 @@ function D0(t) {
|
|
|
8775
8783
|
"height",
|
|
8776
8784
|
/*size*/
|
|
8777
8785
|
t[9]
|
|
8778
|
-
), Wt(i, "xmlns", "http://www.w3.org/2000/svg"), Wt(i, "class", "svelte-niuvgx"), Wt(e, "class", "progress-circle svelte-niuvgx"), Wt(e, "role", "none"),
|
|
8786
|
+
), Wt(i, "xmlns", "http://www.w3.org/2000/svg"), Wt(i, "class", "svelte-niuvgx"), Wt(e, "class", "progress-circle svelte-niuvgx"), Wt(e, "role", "none"), Ms(
|
|
8779
8787
|
e,
|
|
8780
8788
|
"width",
|
|
8781
8789
|
/*scale*/
|
|
8782
8790
|
t[2] * 40 + "px"
|
|
8783
|
-
),
|
|
8791
|
+
), Ms(
|
|
8784
8792
|
e,
|
|
8785
8793
|
"height",
|
|
8786
8794
|
/*scale*/
|
|
@@ -8859,13 +8867,13 @@ function D0(t) {
|
|
|
8859
8867
|
),
|
|
8860
8868
|
null
|
|
8861
8869
|
), (!r || m & /*scale*/
|
|
8862
|
-
4) &&
|
|
8870
|
+
4) && Ms(
|
|
8863
8871
|
e,
|
|
8864
8872
|
"width",
|
|
8865
8873
|
/*scale*/
|
|
8866
8874
|
t[2] * 40 + "px"
|
|
8867
8875
|
), (!r || m & /*scale*/
|
|
8868
|
-
4) &&
|
|
8876
|
+
4) && Ms(
|
|
8869
8877
|
e,
|
|
8870
8878
|
"height",
|
|
8871
8879
|
/*scale*/
|
|
@@ -8883,9 +8891,9 @@ function D0(t) {
|
|
|
8883
8891
|
}
|
|
8884
8892
|
};
|
|
8885
8893
|
}
|
|
8886
|
-
function
|
|
8894
|
+
function x0(t) {
|
|
8887
8895
|
let e, i, n, s;
|
|
8888
|
-
const o = [
|
|
8896
|
+
const o = [R0, D0], r = [];
|
|
8889
8897
|
function l(a, d) {
|
|
8890
8898
|
return (
|
|
8891
8899
|
/*enabled*/
|
|
@@ -8917,7 +8925,7 @@ function R0(t) {
|
|
|
8917
8925
|
}
|
|
8918
8926
|
};
|
|
8919
8927
|
}
|
|
8920
|
-
function
|
|
8928
|
+
function U0(t, e, i) {
|
|
8921
8929
|
let n, s, o, r, l, a, { $$slots: d = {}, $$scope: u } = e, { progress: g = 0 } = e, { enabled: m = !1 } = e, { bold: v } = e, { scale: _ = 1 } = e, { color: k = "#323232" } = e, { onEvent: b = () => {
|
|
8922
8930
|
} } = e;
|
|
8923
8931
|
return t.$$set = (C) => {
|
|
@@ -8947,9 +8955,9 @@ function x0(t, e, i) {
|
|
|
8947
8955
|
d
|
|
8948
8956
|
];
|
|
8949
8957
|
}
|
|
8950
|
-
class
|
|
8958
|
+
class F0 extends pe {
|
|
8951
8959
|
constructor(e) {
|
|
8952
|
-
super(), ke(this, e,
|
|
8960
|
+
super(), ke(this, e, U0, x0, be, {
|
|
8953
8961
|
progress: 0,
|
|
8954
8962
|
enabled: 1,
|
|
8955
8963
|
bold: 10,
|
|
@@ -8995,15 +9003,15 @@ class U0 extends pe {
|
|
|
8995
9003
|
this.$$set({ onEvent: e }), c();
|
|
8996
9004
|
}
|
|
8997
9005
|
}
|
|
8998
|
-
const
|
|
9006
|
+
const Mn = (t) => {
|
|
8999
9007
|
t < 0 && (t = Math.max(0, t));
|
|
9000
9008
|
const e = Math.floor(t / 3600).toString();
|
|
9001
9009
|
let i = Math.floor(t % 3600 / 60).toString(), n = Math.floor(t % 60).toString();
|
|
9002
9010
|
return n.length < 2 && (n = `0${n}`), t < 3600 ? `${i}:${n}` : (i.length < 2 && (i = `0${i}`), `${e}:${i}:${n}`);
|
|
9003
9011
|
};
|
|
9004
|
-
const zs = (t, e, i) => Ut(t, e, i, 1),
|
|
9005
|
-
function
|
|
9006
|
-
let e, i, n, s =
|
|
9012
|
+
const zs = (t, e, i) => Ut(t, e, i, 1), q0 = (t, e, i) => Pe(t, e, e === "style" ? Y0(i) : i), H0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Y0 = (t) => t.split(H0).filter((e) => e).map((e) => e + " !important").join(";");
|
|
9013
|
+
function Z0(t) {
|
|
9014
|
+
let e, i, n, s = Mn(
|
|
9007
9015
|
/*remaining*/
|
|
9008
9016
|
t[1]
|
|
9009
9017
|
) + "", o;
|
|
@@ -9012,7 +9020,7 @@ function Y0(t) {
|
|
|
9012
9020
|
e = y("span"), i = Q(
|
|
9013
9021
|
/*text*/
|
|
9014
9022
|
t[0]
|
|
9015
|
-
), n = Q(" • "), o = Q(s),
|
|
9023
|
+
), n = Q(" • "), o = Q(s), q0(e, "class", "countdown-time svelte-mmsohq"), zs(e, "font-size", 10 * /*scale*/
|
|
9016
9024
|
t[2] + "px"), zs(
|
|
9017
9025
|
e,
|
|
9018
9026
|
"color",
|
|
@@ -9030,7 +9038,7 @@ function Y0(t) {
|
|
|
9030
9038
|
/*text*/
|
|
9031
9039
|
r[0]
|
|
9032
9040
|
), l & /*remaining*/
|
|
9033
|
-
2 && s !== (s =
|
|
9041
|
+
2 && s !== (s = Mn(
|
|
9034
9042
|
/*remaining*/
|
|
9035
9043
|
r[1]
|
|
9036
9044
|
) + "") && ki(o, s), l & /*scale*/
|
|
@@ -9050,15 +9058,15 @@ function Y0(t) {
|
|
|
9050
9058
|
}
|
|
9051
9059
|
};
|
|
9052
9060
|
}
|
|
9053
|
-
function
|
|
9061
|
+
function G0(t, e, i) {
|
|
9054
9062
|
let { text: n } = e, { remaining: s } = e, { scale: o = 1 } = e, { color: r = "#323232" } = e;
|
|
9055
9063
|
return t.$$set = (l) => {
|
|
9056
9064
|
"text" in l && i(0, n = l.text), "remaining" in l && i(1, s = l.remaining), "scale" in l && i(2, o = l.scale), "color" in l && i(3, r = l.color);
|
|
9057
9065
|
}, [n, s, o, r];
|
|
9058
9066
|
}
|
|
9059
|
-
class
|
|
9067
|
+
class K0 extends pe {
|
|
9060
9068
|
constructor(e) {
|
|
9061
|
-
super(), ke(this, e,
|
|
9069
|
+
super(), ke(this, e, G0, Z0, be, {
|
|
9062
9070
|
text: 0,
|
|
9063
9071
|
remaining: 1,
|
|
9064
9072
|
scale: 2,
|
|
@@ -9090,15 +9098,15 @@ class G0 extends pe {
|
|
|
9090
9098
|
this.$$set({ color: e }), c();
|
|
9091
9099
|
}
|
|
9092
9100
|
}
|
|
9093
|
-
const Ls = (t, e, i) => Ut(t, e, i, 1),
|
|
9094
|
-
function
|
|
9101
|
+
const Ls = (t, e, i) => Ut(t, e, i, 1), J0 = (t, e, i) => Pe(t, e, e === "style" ? Q0(i) : i), X0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Q0 = (t) => t.split(X0).filter((e) => e).map((e) => e + " !important").join(";");
|
|
9102
|
+
function $0(t) {
|
|
9095
9103
|
let e, i, n;
|
|
9096
9104
|
return {
|
|
9097
9105
|
c() {
|
|
9098
9106
|
e = y("div"), i = Q(
|
|
9099
9107
|
/*minutes*/
|
|
9100
9108
|
t[3]
|
|
9101
|
-
), n = Q(" min"),
|
|
9109
|
+
), n = Q(" min"), J0(e, "class", "duration-in-mins svelte-121qsze"), Ls(e, "font-size", 10 * /*scale*/
|
|
9102
9110
|
t[1] + "px"), Ls(
|
|
9103
9111
|
e,
|
|
9104
9112
|
"color",
|
|
@@ -9143,7 +9151,7 @@ function Q0(t) {
|
|
|
9143
9151
|
}
|
|
9144
9152
|
};
|
|
9145
9153
|
}
|
|
9146
|
-
function
|
|
9154
|
+
function em(t, e, i) {
|
|
9147
9155
|
let n, { duration: s = 0 } = e, { bold: o = !1 } = e, { scale: r = 1 } = e, { color: l = "#323232" } = e;
|
|
9148
9156
|
return t.$$set = (a) => {
|
|
9149
9157
|
"duration" in a && i(4, s = a.duration), "bold" in a && i(0, o = a.bold), "scale" in a && i(1, r = a.scale), "color" in a && i(2, l = a.color);
|
|
@@ -9154,7 +9162,7 @@ function $0(t, e, i) {
|
|
|
9154
9162
|
}
|
|
9155
9163
|
class Zl extends pe {
|
|
9156
9164
|
constructor(e) {
|
|
9157
|
-
super(), ke(this, e, $0,
|
|
9165
|
+
super(), ke(this, e, em, $0, be, { duration: 4, bold: 0, scale: 1, color: 2 });
|
|
9158
9166
|
}
|
|
9159
9167
|
get duration() {
|
|
9160
9168
|
return this.$$.ctx[4];
|
|
@@ -9181,18 +9189,18 @@ class Zl extends pe {
|
|
|
9181
9189
|
this.$$set({ color: e }), c();
|
|
9182
9190
|
}
|
|
9183
9191
|
}
|
|
9184
|
-
const Ns = (t, e, i) => Ut(t, e, i, 1),
|
|
9185
|
-
function
|
|
9186
|
-
let e, i =
|
|
9192
|
+
const Ns = (t, e, i) => Ut(t, e, i, 1), tm = (t, e, i) => Pe(t, e, e === "style" ? nm(i) : i), im = /;(?!([^()]*\([^()]*\))*[^()]*\))/, nm = (t) => t.split(im).filter((e) => e).map((e) => e + " !important").join(";");
|
|
9193
|
+
function sm(t) {
|
|
9194
|
+
let e, i = Mn(
|
|
9187
9195
|
/*currentTime*/
|
|
9188
9196
|
t[0]
|
|
9189
|
-
) + "", n, s, o =
|
|
9197
|
+
) + "", n, s, o = Mn(
|
|
9190
9198
|
/*duration*/
|
|
9191
9199
|
t[1]
|
|
9192
9200
|
) + "", r;
|
|
9193
9201
|
return {
|
|
9194
9202
|
c() {
|
|
9195
|
-
e = y("span"), n = Q(i), s = Q(" / "), r = Q(o),
|
|
9203
|
+
e = y("span"), n = Q(i), s = Q(" / "), r = Q(o), tm(e, "class", "playback-time svelte-17necdw"), Ns(e, "font-size", 10 * /*scale*/
|
|
9196
9204
|
t[2] + "px"), Ns(
|
|
9197
9205
|
e,
|
|
9198
9206
|
"color",
|
|
@@ -9205,11 +9213,11 @@ function nm(t) {
|
|
|
9205
9213
|
},
|
|
9206
9214
|
p(l, [a]) {
|
|
9207
9215
|
a & /*currentTime*/
|
|
9208
|
-
1 && i !== (i =
|
|
9216
|
+
1 && i !== (i = Mn(
|
|
9209
9217
|
/*currentTime*/
|
|
9210
9218
|
l[0]
|
|
9211
9219
|
) + "") && ki(n, i), a & /*duration*/
|
|
9212
|
-
2 && o !== (o =
|
|
9220
|
+
2 && o !== (o = Mn(
|
|
9213
9221
|
/*duration*/
|
|
9214
9222
|
l[1]
|
|
9215
9223
|
) + "") && ki(r, o), a & /*scale*/
|
|
@@ -9229,15 +9237,15 @@ function nm(t) {
|
|
|
9229
9237
|
}
|
|
9230
9238
|
};
|
|
9231
9239
|
}
|
|
9232
|
-
function
|
|
9240
|
+
function om(t, e, i) {
|
|
9233
9241
|
let { currentTime: n = 0 } = e, { duration: s = 0 } = e, { scale: o = 1 } = e, { color: r = "#323232" } = e;
|
|
9234
9242
|
return t.$$set = (l) => {
|
|
9235
9243
|
"currentTime" in l && i(0, n = l.currentTime), "duration" in l && i(1, s = l.duration), "scale" in l && i(2, o = l.scale), "color" in l && i(3, r = l.color);
|
|
9236
9244
|
}, [n, s, o, r];
|
|
9237
9245
|
}
|
|
9238
|
-
class
|
|
9246
|
+
class rm extends pe {
|
|
9239
9247
|
constructor(e) {
|
|
9240
|
-
super(), ke(this, e,
|
|
9248
|
+
super(), ke(this, e, om, sm, be, {
|
|
9241
9249
|
currentTime: 0,
|
|
9242
9250
|
duration: 1,
|
|
9243
9251
|
scale: 2,
|
|
@@ -9269,10 +9277,10 @@ class om extends pe {
|
|
|
9269
9277
|
this.$$set({ color: e }), c();
|
|
9270
9278
|
}
|
|
9271
9279
|
}
|
|
9272
|
-
const Jn = (t, e, i) => Pe(t, e, e === "style" ?
|
|
9273
|
-
function
|
|
9280
|
+
const Jn = (t, e, i) => Pe(t, e, e === "style" ? am(i) : i), lm = /;(?!([^()]*\([^()]*\))*[^()]*\))/, am = (t) => t.split(lm).filter((e) => e).map((e) => e + " !important").join(";");
|
|
9281
|
+
function um(t) {
|
|
9274
9282
|
let e, i;
|
|
9275
|
-
return e = new
|
|
9283
|
+
return e = new rm({
|
|
9276
9284
|
props: {
|
|
9277
9285
|
duration: (
|
|
9278
9286
|
/*duration*/
|
|
@@ -9321,7 +9329,7 @@ function am(t) {
|
|
|
9321
9329
|
}
|
|
9322
9330
|
};
|
|
9323
9331
|
}
|
|
9324
|
-
function
|
|
9332
|
+
function cm(t) {
|
|
9325
9333
|
let e, i;
|
|
9326
9334
|
return e = new Zl({
|
|
9327
9335
|
props: {
|
|
@@ -9366,9 +9374,9 @@ function um(t) {
|
|
|
9366
9374
|
}
|
|
9367
9375
|
};
|
|
9368
9376
|
}
|
|
9369
|
-
function
|
|
9377
|
+
function dm(t) {
|
|
9370
9378
|
let e, i;
|
|
9371
|
-
return e = new
|
|
9379
|
+
return e = new K0({
|
|
9372
9380
|
props: {
|
|
9373
9381
|
text: "Ad",
|
|
9374
9382
|
remaining: (
|
|
@@ -9412,7 +9420,7 @@ function cm(t) {
|
|
|
9412
9420
|
}
|
|
9413
9421
|
};
|
|
9414
9422
|
}
|
|
9415
|
-
function
|
|
9423
|
+
function gm(t) {
|
|
9416
9424
|
return {
|
|
9417
9425
|
c: G,
|
|
9418
9426
|
m: G,
|
|
@@ -9422,9 +9430,9 @@ function dm(t) {
|
|
|
9422
9430
|
d: G
|
|
9423
9431
|
};
|
|
9424
9432
|
}
|
|
9425
|
-
function
|
|
9433
|
+
function fm(t) {
|
|
9426
9434
|
let e, i, n, s, o, r;
|
|
9427
|
-
const l = [dm, cm, um
|
|
9435
|
+
const l = [gm, dm, cm, um], a = [];
|
|
9428
9436
|
function d(u, g) {
|
|
9429
9437
|
return (
|
|
9430
9438
|
/*isAdvert*/
|
|
@@ -9525,7 +9533,7 @@ function gm(t) {
|
|
|
9525
9533
|
}
|
|
9526
9534
|
};
|
|
9527
9535
|
}
|
|
9528
|
-
function
|
|
9536
|
+
function hm(t, e, i) {
|
|
9529
9537
|
let n, s, o, r, l, { duration: a = 0 } = e, { currentTime: d = 0 } = e, { playerStyle: u } = e, { positionClasses: g } = e, { isMobile: m } = e, { isAdvert: v } = e, { isStopped: _ } = e, { collapsed: k } = e, { largeImage: b } = e, { color: C = "323232" } = e;
|
|
9530
9538
|
return t.$$set = (V) => {
|
|
9531
9539
|
"duration" in V && i(0, a = V.duration), "currentTime" in V && i(1, d = V.currentTime), "playerStyle" in V && i(2, u = V.playerStyle), "positionClasses" in V && i(3, g = V.positionClasses), "isMobile" in V && i(4, m = V.isMobile), "isAdvert" in V && i(5, v = V.isAdvert), "isStopped" in V && i(6, _ = V.isStopped), "collapsed" in V && i(13, k = V.collapsed), "largeImage" in V && i(7, b = V.largeImage), "color" in V && i(8, C = V.color);
|
|
@@ -9554,9 +9562,9 @@ function fm(t, e, i) {
|
|
|
9554
9562
|
s
|
|
9555
9563
|
];
|
|
9556
9564
|
}
|
|
9557
|
-
class
|
|
9565
|
+
class _m extends pe {
|
|
9558
9566
|
constructor(e) {
|
|
9559
|
-
super(), ke(this, e,
|
|
9567
|
+
super(), ke(this, e, hm, fm, be, {
|
|
9560
9568
|
duration: 0,
|
|
9561
9569
|
currentTime: 1,
|
|
9562
9570
|
playerStyle: 2,
|
|
@@ -9630,8 +9638,8 @@ class hm extends pe {
|
|
|
9630
9638
|
this.$$set({ color: e }), c();
|
|
9631
9639
|
}
|
|
9632
9640
|
}
|
|
9633
|
-
const Kt = (t, e, i) => Pe(t, e, e === "style" ?
|
|
9634
|
-
function
|
|
9641
|
+
const Kt = (t, e, i) => Pe(t, e, e === "style" ? vm(i) : i), mm = /;(?!([^()]*\([^()]*\))*[^()]*\))/, vm = (t) => t.split(mm).filter((e) => e).map((e) => e + " !important").join(";");
|
|
9642
|
+
function ym(t) {
|
|
9635
9643
|
let e, i, n, s, o, r;
|
|
9636
9644
|
return {
|
|
9637
9645
|
c() {
|
|
@@ -9681,7 +9689,7 @@ function vm(t) {
|
|
|
9681
9689
|
}
|
|
9682
9690
|
};
|
|
9683
9691
|
}
|
|
9684
|
-
function
|
|
9692
|
+
function bm(t, e, i) {
|
|
9685
9693
|
let { scale: n = 1 } = e, { zoom: s = 1 } = e, { color: o = "#323232" } = e, { fill: r = "transparent" } = e;
|
|
9686
9694
|
return t.$$set = (l) => {
|
|
9687
9695
|
"scale" in l && i(0, n = l.scale), "zoom" in l && i(1, s = l.zoom), "color" in l && i(2, o = l.color), "fill" in l && i(3, r = l.fill);
|
|
@@ -9689,7 +9697,7 @@ function ym(t, e, i) {
|
|
|
9689
9697
|
}
|
|
9690
9698
|
class Gl extends pe {
|
|
9691
9699
|
constructor(e) {
|
|
9692
|
-
super(), ke(this, e,
|
|
9700
|
+
super(), ke(this, e, bm, ym, be, { scale: 0, zoom: 1, color: 2, fill: 3 });
|
|
9693
9701
|
}
|
|
9694
9702
|
get scale() {
|
|
9695
9703
|
return this.$$.ctx[0];
|
|
@@ -9716,12 +9724,12 @@ class Gl extends pe {
|
|
|
9716
9724
|
this.$$set({ fill: e }), c();
|
|
9717
9725
|
}
|
|
9718
9726
|
}
|
|
9719
|
-
const gn = (t, e, i) => Ut(t, e, i, 1), hi = (t, e, i) => Pe(t, e, e === "style" ?
|
|
9727
|
+
const gn = (t, e, i) => Ut(t, e, i, 1), hi = (t, e, i) => Pe(t, e, e === "style" ? pm(i) : i), km = /;(?!([^()]*\([^()]*\))*[^()]*\))/, pm = (t) => t.split(km).filter((e) => e).map((e) => e + " !important").join(";");
|
|
9720
9728
|
function Or(t, e, i) {
|
|
9721
9729
|
const n = t.slice();
|
|
9722
9730
|
return n[19] = e[i].title, n[20] = e[i].duration, n[21] = e[i].audio, n[22] = e[i].video, n[24] = i, n;
|
|
9723
9731
|
}
|
|
9724
|
-
function
|
|
9732
|
+
function Sm(t) {
|
|
9725
9733
|
let e, i = (
|
|
9726
9734
|
/*i*/
|
|
9727
9735
|
t[24] + 1 + ""
|
|
@@ -9754,7 +9762,7 @@ function pm(t) {
|
|
|
9754
9762
|
}
|
|
9755
9763
|
};
|
|
9756
9764
|
}
|
|
9757
|
-
function
|
|
9765
|
+
function wm(t) {
|
|
9758
9766
|
let e, i, n;
|
|
9759
9767
|
return i = new Gl({
|
|
9760
9768
|
props: {
|
|
@@ -9795,7 +9803,7 @@ function Sm(t) {
|
|
|
9795
9803
|
}
|
|
9796
9804
|
function jr(t) {
|
|
9797
9805
|
let e, i, n, s, o, r, l, a, d, u, g, m, v, _, k, b, C, V, Y;
|
|
9798
|
-
const O = [
|
|
9806
|
+
const O = [wm, Sm], j = [];
|
|
9799
9807
|
function z(x, X) {
|
|
9800
9808
|
return (
|
|
9801
9809
|
/*i*/
|
|
@@ -10000,7 +10008,7 @@ function jr(t) {
|
|
|
10000
10008
|
}
|
|
10001
10009
|
);
|
|
10002
10010
|
}
|
|
10003
|
-
function
|
|
10011
|
+
function Pm(t) {
|
|
10004
10012
|
let e, i, n, s = Qt(
|
|
10005
10013
|
/*content*/
|
|
10006
10014
|
t[5]
|
|
@@ -10114,7 +10122,7 @@ function wm(t) {
|
|
|
10114
10122
|
}
|
|
10115
10123
|
};
|
|
10116
10124
|
}
|
|
10117
|
-
function
|
|
10125
|
+
function Tm(t, e, i) {
|
|
10118
10126
|
let n, s, o, r, { style: l = "auto" } = e, { downloadFormats: a = [] } = e, { larger: d = !1 } = e, { textColor: u = "#111" } = e, { backgroundColor: g = "#f5f5f5" } = e, { iconColor: m = "#000" } = e, { content: v = [] } = e, { index: _ = 0 } = e, { isMobile: k } = e, { onEvent: b } = e, C;
|
|
10119
10127
|
const V = (z) => () => {
|
|
10120
10128
|
b(_e({
|
|
@@ -10171,9 +10179,9 @@ function Pm(t, e, i) {
|
|
|
10171
10179
|
j
|
|
10172
10180
|
];
|
|
10173
10181
|
}
|
|
10174
|
-
class
|
|
10182
|
+
class Cm extends pe {
|
|
10175
10183
|
constructor(e) {
|
|
10176
|
-
super(), ke(this, e,
|
|
10184
|
+
super(), ke(this, e, Tm, Pm, be, {
|
|
10177
10185
|
style: 16,
|
|
10178
10186
|
downloadFormats: 0,
|
|
10179
10187
|
larger: 1,
|
|
@@ -10247,8 +10255,8 @@ class Tm extends pe {
|
|
|
10247
10255
|
this.$$set({ onEvent: e }), c();
|
|
10248
10256
|
}
|
|
10249
10257
|
}
|
|
10250
|
-
const
|
|
10251
|
-
function
|
|
10258
|
+
const Er = (t, e, i) => Pe(t, e, e === "style" ? Bm(i) : i), Am = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Bm = (t) => t.split(Am).filter((e) => e).map((e) => e + " !important").join(";");
|
|
10259
|
+
function Im(t) {
|
|
10252
10260
|
let e, i, n, s;
|
|
10253
10261
|
const o = (
|
|
10254
10262
|
/*#slots*/
|
|
@@ -10262,7 +10270,7 @@ function Bm(t) {
|
|
|
10262
10270
|
);
|
|
10263
10271
|
return {
|
|
10264
10272
|
c() {
|
|
10265
|
-
e = y("div"), r && r.c(),
|
|
10273
|
+
e = y("div"), r && r.c(), Er(e, "class", "hoverable"), Er(e, "role", "none");
|
|
10266
10274
|
},
|
|
10267
10275
|
m(l, a) {
|
|
10268
10276
|
B(l, e, a), r && r.m(e, null), i = !0, n || (s = [
|
|
@@ -10321,7 +10329,7 @@ function Bm(t) {
|
|
|
10321
10329
|
}
|
|
10322
10330
|
};
|
|
10323
10331
|
}
|
|
10324
|
-
function
|
|
10332
|
+
function Vm(t, e, i) {
|
|
10325
10333
|
let { $$slots: n = {}, $$scope: s } = e, { exitDelay: o = 0 } = e, { idleDelay: r = 1 / 0 } = e, { isHovering: l = !1 } = e, a = !0, d = !0, u, g;
|
|
10326
10334
|
const m = () => {
|
|
10327
10335
|
u && clearTimeout(u), g && clearTimeout(g), i(6, a = !1), i(7, d = !1);
|
|
@@ -10350,9 +10358,9 @@ function Im(t, e, i) {
|
|
|
10350
10358
|
n
|
|
10351
10359
|
];
|
|
10352
10360
|
}
|
|
10353
|
-
class
|
|
10361
|
+
class Wm extends pe {
|
|
10354
10362
|
constructor(e) {
|
|
10355
|
-
super(), ke(this, e,
|
|
10363
|
+
super(), ke(this, e, Vm, Im, be, {
|
|
10356
10364
|
exitDelay: 5,
|
|
10357
10365
|
idleDelay: 0,
|
|
10358
10366
|
isHovering: 4
|
|
@@ -10377,7 +10385,7 @@ class Vm extends pe {
|
|
|
10377
10385
|
this.$$set({ isHovering: e }), c();
|
|
10378
10386
|
}
|
|
10379
10387
|
}
|
|
10380
|
-
const
|
|
10388
|
+
const Om = (t, e, i) => Pe(t, e, e === "style" ? Em(i) : i), jm = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Em = (t) => t.split(jm).filter((e) => e).map((e) => e + " !important").join(";");
|
|
10381
10389
|
function Mm(t) {
|
|
10382
10390
|
let e, i;
|
|
10383
10391
|
const n = (
|
|
@@ -10392,7 +10400,7 @@ function Mm(t) {
|
|
|
10392
10400
|
);
|
|
10393
10401
|
return {
|
|
10394
10402
|
c() {
|
|
10395
|
-
e = y("div"), s && s.c(),
|
|
10403
|
+
e = y("div"), s && s.c(), Om(e, "class", "visibility svelte-1exdg3");
|
|
10396
10404
|
},
|
|
10397
10405
|
m(o, r) {
|
|
10398
10406
|
B(o, e, r), s && s.m(e, null), t[8](e), i = !0;
|
|
@@ -10429,7 +10437,7 @@ function Mm(t) {
|
|
|
10429
10437
|
}
|
|
10430
10438
|
};
|
|
10431
10439
|
}
|
|
10432
|
-
function
|
|
10440
|
+
function zm(t, e, i) {
|
|
10433
10441
|
let { $$slots: n = {}, $$scope: s } = e, o, { enabled: r = !1 } = e, { relativeY: l = void 0 } = e, { absoluteY: a = void 0 } = e, { isVisible: d = void 0 } = e, { onEvent: u = () => {
|
|
10434
10442
|
} } = e;
|
|
10435
10443
|
const g = ([v]) => {
|
|
@@ -10472,9 +10480,9 @@ function Em(t, e, i) {
|
|
|
10472
10480
|
m
|
|
10473
10481
|
];
|
|
10474
10482
|
}
|
|
10475
|
-
class
|
|
10483
|
+
class Lm extends pe {
|
|
10476
10484
|
constructor(e) {
|
|
10477
|
-
super(), ke(this, e,
|
|
10485
|
+
super(), ke(this, e, zm, Mm, be, {
|
|
10478
10486
|
enabled: 4,
|
|
10479
10487
|
relativeY: 1,
|
|
10480
10488
|
absoluteY: 2,
|
|
@@ -10513,12 +10521,12 @@ class zm extends pe {
|
|
|
10513
10521
|
this.$$set({ onEvent: e }), c();
|
|
10514
10522
|
}
|
|
10515
10523
|
}
|
|
10516
|
-
const
|
|
10524
|
+
const Nm = ({ playerStyle: t, width: e }) => t === "standard" && e < 380 || t === "large" && e < 380 || t === "video" && e < 480 || t === "screen" && e < 640, Dm = ({ playerStyle: t, position: e, isMobile: i, isAdvert: n }) => t === "screen" || t === "large" && i ? "symmetrical" : t === "standard" && e === "left" ? "left-to-right" : t === "standard" && i || t === "standard" && e === "right" && n ? "right-to-left" : t === "standard" && e === "right" ? "left-to-right-but-swap-ends" : t === "small" && e === "left" ? "left-to-right" : t === "small" && e === "right" ? "right-to-left" : t === "video" && e === "left" ? "left-to-right" : t === "video" && i || t === "video" && e === "right" ? "right-to-left" : "left-to-right", Mr = () => document.fullscreenEnabled || document.webkitFullscreenEnabled, Rm = (t) => {
|
|
10517
10525
|
t.requestFullscreen ? t.requestFullscreen() : t.webkitRequestFullscreen && t.webkitRequestFullscreen();
|
|
10518
|
-
},
|
|
10526
|
+
}, xm = () => {
|
|
10519
10527
|
document.exitFullscreen ? document.exitFullscreen() : document.webkitExitFullscreen && document.webkitExitFullscreen();
|
|
10520
10528
|
}, zr = () => document.fullscreenElement || document.webkitCurrentFullScreenElement;
|
|
10521
|
-
const Gs = (t, e, i) => Ut(t, e, i, 1), Ci = (t, e, i) => Pe(t, e, e === "style" ?
|
|
10529
|
+
const Gs = (t, e, i) => Ut(t, e, i, 1), Ci = (t, e, i) => Pe(t, e, e === "style" ? Fm(i) : i), Um = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Fm = (t) => t.split(Um).filter((e) => e).map((e) => e + " !important").join(";");
|
|
10522
10530
|
function Lr(t) {
|
|
10523
10531
|
let e, i, n, s = !/*videoPosterImage*/
|
|
10524
10532
|
t[17] && Nr(t);
|
|
@@ -10554,7 +10562,7 @@ function Lr(t) {
|
|
|
10554
10562
|
}
|
|
10555
10563
|
function Nr(t) {
|
|
10556
10564
|
let e, i, n, s = It("videoInWidget") + "", o, r;
|
|
10557
|
-
return e = new
|
|
10565
|
+
return e = new R_({
|
|
10558
10566
|
props: { color: (
|
|
10559
10567
|
/*activeIconColor*/
|
|
10560
10568
|
t[54]
|
|
@@ -10596,7 +10604,7 @@ function Nr(t) {
|
|
|
10596
10604
|
}
|
|
10597
10605
|
function Dr(t) {
|
|
10598
10606
|
let e, i;
|
|
10599
|
-
return e = new
|
|
10607
|
+
return e = new w0({
|
|
10600
10608
|
props: {
|
|
10601
10609
|
onEvent: (
|
|
10602
10610
|
/*onEvent*/
|
|
@@ -10756,9 +10764,9 @@ function Rr(t) {
|
|
|
10756
10764
|
}
|
|
10757
10765
|
};
|
|
10758
10766
|
}
|
|
10759
|
-
function
|
|
10767
|
+
function qm(t) {
|
|
10760
10768
|
let e, i;
|
|
10761
|
-
return e = new
|
|
10769
|
+
return e = new xf({
|
|
10762
10770
|
props: {
|
|
10763
10771
|
onEvent: (
|
|
10764
10772
|
/*onEvent*/
|
|
@@ -10807,9 +10815,9 @@ function Fm(t) {
|
|
|
10807
10815
|
}
|
|
10808
10816
|
};
|
|
10809
10817
|
}
|
|
10810
|
-
function
|
|
10818
|
+
function Hm(t) {
|
|
10811
10819
|
let e, i;
|
|
10812
|
-
return e = new
|
|
10820
|
+
return e = new F0({
|
|
10813
10821
|
props: {
|
|
10814
10822
|
onEvent: (
|
|
10815
10823
|
/*onEvent*/
|
|
@@ -10836,7 +10844,7 @@ function qm(t) {
|
|
|
10836
10844
|
/*activeIconColor*/
|
|
10837
10845
|
t[54]
|
|
10838
10846
|
),
|
|
10839
|
-
$$slots: { default: [
|
|
10847
|
+
$$slots: { default: [qm] },
|
|
10840
10848
|
$$scope: { ctx: t }
|
|
10841
10849
|
}
|
|
10842
10850
|
}), {
|
|
@@ -10940,7 +10948,7 @@ function xr(t) {
|
|
|
10940
10948
|
}
|
|
10941
10949
|
function Ur(t) {
|
|
10942
10950
|
let e, i, n, s, o, r;
|
|
10943
|
-
return e = new
|
|
10951
|
+
return e = new Yf({
|
|
10944
10952
|
props: {
|
|
10945
10953
|
onEvent: (
|
|
10946
10954
|
/*onEvent*/
|
|
@@ -10959,7 +10967,7 @@ function Ur(t) {
|
|
|
10959
10967
|
t[56]
|
|
10960
10968
|
)
|
|
10961
10969
|
}
|
|
10962
|
-
}), n = new
|
|
10970
|
+
}), n = new _h({
|
|
10963
10971
|
props: {
|
|
10964
10972
|
onEvent: (
|
|
10965
10973
|
/*onEvent*/
|
|
@@ -10978,7 +10986,7 @@ function Ur(t) {
|
|
|
10978
10986
|
t[54]
|
|
10979
10987
|
)
|
|
10980
10988
|
}
|
|
10981
|
-
}), o = new
|
|
10989
|
+
}), o = new Nh({
|
|
10982
10990
|
props: {
|
|
10983
10991
|
onEvent: (
|
|
10984
10992
|
/*onEvent*/
|
|
@@ -11092,7 +11100,7 @@ function Fr(t) {
|
|
|
11092
11100
|
}
|
|
11093
11101
|
function qr(t) {
|
|
11094
11102
|
let e, i;
|
|
11095
|
-
return e = new
|
|
11103
|
+
return e = new z0({
|
|
11096
11104
|
props: {
|
|
11097
11105
|
onEvent: (
|
|
11098
11106
|
/*onEvent*/
|
|
@@ -11149,7 +11157,7 @@ function qr(t) {
|
|
|
11149
11157
|
}
|
|
11150
11158
|
function Hr(t) {
|
|
11151
11159
|
let e, i, n, s;
|
|
11152
|
-
return e = new
|
|
11160
|
+
return e = new H_({
|
|
11153
11161
|
props: {
|
|
11154
11162
|
onEvent: (
|
|
11155
11163
|
/*onEvent*/
|
|
@@ -11188,7 +11196,7 @@ function Hr(t) {
|
|
|
11188
11196
|
t[32]
|
|
11189
11197
|
)
|
|
11190
11198
|
}
|
|
11191
|
-
}), n = new
|
|
11199
|
+
}), n = new s0({
|
|
11192
11200
|
props: {
|
|
11193
11201
|
onEvent: (
|
|
11194
11202
|
/*onEvent*/
|
|
@@ -11274,7 +11282,7 @@ function Hr(t) {
|
|
|
11274
11282
|
}
|
|
11275
11283
|
function Yr(t) {
|
|
11276
11284
|
let e, i;
|
|
11277
|
-
return e = new
|
|
11285
|
+
return e = new r_({
|
|
11278
11286
|
props: {
|
|
11279
11287
|
playerStyle: (
|
|
11280
11288
|
/*playerStyle*/
|
|
@@ -11300,7 +11308,7 @@ function Yr(t) {
|
|
|
11300
11308
|
/*fixedPosition*/
|
|
11301
11309
|
t[8]
|
|
11302
11310
|
),
|
|
11303
|
-
$$slots: { default: [
|
|
11311
|
+
$$slots: { default: [Km] },
|
|
11304
11312
|
$$scope: { ctx: t }
|
|
11305
11313
|
}
|
|
11306
11314
|
}), {
|
|
@@ -11340,7 +11348,7 @@ function Yr(t) {
|
|
|
11340
11348
|
}
|
|
11341
11349
|
};
|
|
11342
11350
|
}
|
|
11343
|
-
function
|
|
11351
|
+
function Ym(t) {
|
|
11344
11352
|
var n, s;
|
|
11345
11353
|
let e, i;
|
|
11346
11354
|
return e = new Fl({
|
|
@@ -11424,9 +11432,9 @@ function Hm(t) {
|
|
|
11424
11432
|
}
|
|
11425
11433
|
};
|
|
11426
11434
|
}
|
|
11427
|
-
function
|
|
11435
|
+
function Zm(t) {
|
|
11428
11436
|
let e, i;
|
|
11429
|
-
return e = new
|
|
11437
|
+
return e = new t_({
|
|
11430
11438
|
props: {
|
|
11431
11439
|
onEvent: (
|
|
11432
11440
|
/*onEvent*/
|
|
@@ -11484,9 +11492,9 @@ function Ym(t) {
|
|
|
11484
11492
|
}
|
|
11485
11493
|
};
|
|
11486
11494
|
}
|
|
11487
|
-
function
|
|
11495
|
+
function Gm(t) {
|
|
11488
11496
|
let e, i;
|
|
11489
|
-
return e = new
|
|
11497
|
+
return e = new y0({
|
|
11490
11498
|
props: {
|
|
11491
11499
|
onEvent: (
|
|
11492
11500
|
/*onEvent*/
|
|
@@ -11537,7 +11545,7 @@ function Zm(t) {
|
|
|
11537
11545
|
}
|
|
11538
11546
|
function Zr(t) {
|
|
11539
11547
|
let e, i;
|
|
11540
|
-
return e = new
|
|
11548
|
+
return e = new T_({
|
|
11541
11549
|
props: {
|
|
11542
11550
|
onEvent: (
|
|
11543
11551
|
/*onEvent*/
|
|
@@ -11630,12 +11638,12 @@ function Gr(t) {
|
|
|
11630
11638
|
}
|
|
11631
11639
|
};
|
|
11632
11640
|
}
|
|
11633
|
-
function
|
|
11641
|
+
function Km(t) {
|
|
11634
11642
|
let e, i, n, s = (
|
|
11635
11643
|
/*isVideo*/
|
|
11636
|
-
t[21] &&
|
|
11644
|
+
t[21] && Mr()
|
|
11637
11645
|
), o, r, l;
|
|
11638
|
-
const a = [Zm, Ym
|
|
11646
|
+
const a = [Gm, Zm, Ym], d = [];
|
|
11639
11647
|
function u(v, _) {
|
|
11640
11648
|
return (
|
|
11641
11649
|
/*isScreen*/
|
|
@@ -11669,7 +11677,7 @@ function Gm(t) {
|
|
|
11669
11677
|
d[k] = null;
|
|
11670
11678
|
}), De()), ~e ? (i = d[e], i ? i.p(v, _) : (i = d[e] = a[e](v), i.c()), p(i, 1), i.m(n.parentNode, n)) : i = null), _[0] & /*isVideo*/
|
|
11671
11679
|
2097152 && (s = /*isVideo*/
|
|
11672
|
-
v[21] &&
|
|
11680
|
+
v[21] && Mr()), s ? g ? (g.p(v, _), _[0] & /*isVideo*/
|
|
11673
11681
|
2097152 && p(g, 1)) : (g = Zr(v), g.c(), p(g, 1), g.m(o.parentNode, o)) : g && (Ne(), I(g, 1, 1, () => {
|
|
11674
11682
|
g = null;
|
|
11675
11683
|
}), De()), /*isVideo*/
|
|
@@ -11693,7 +11701,7 @@ function Gm(t) {
|
|
|
11693
11701
|
}
|
|
11694
11702
|
function Kr(t) {
|
|
11695
11703
|
let e, i, n, s;
|
|
11696
|
-
const o = [
|
|
11704
|
+
const o = [Xm, Jm], r = [];
|
|
11697
11705
|
function l(a, d) {
|
|
11698
11706
|
return (
|
|
11699
11707
|
/*showCloseWidget*/
|
|
@@ -11735,7 +11743,7 @@ function Kr(t) {
|
|
|
11735
11743
|
}
|
|
11736
11744
|
};
|
|
11737
11745
|
}
|
|
11738
|
-
function
|
|
11746
|
+
function Jm(t) {
|
|
11739
11747
|
let e, i;
|
|
11740
11748
|
return e = new Hl({
|
|
11741
11749
|
props: {
|
|
@@ -11785,7 +11793,7 @@ function Km(t) {
|
|
|
11785
11793
|
}
|
|
11786
11794
|
};
|
|
11787
11795
|
}
|
|
11788
|
-
function
|
|
11796
|
+
function Xm(t) {
|
|
11789
11797
|
let e, i;
|
|
11790
11798
|
return e = new M_({
|
|
11791
11799
|
props: {
|
|
@@ -11836,7 +11844,7 @@ function Jm(t) {
|
|
|
11836
11844
|
}
|
|
11837
11845
|
};
|
|
11838
11846
|
}
|
|
11839
|
-
function
|
|
11847
|
+
function Qm(t) {
|
|
11840
11848
|
let e, i, n, s, o, r, l, a, d, u, g, m, v, _, k, b, C, V, Y, O, j, z, L = (
|
|
11841
11849
|
/*isVideo*/
|
|
11842
11850
|
t[21] && /*videoPosterImage*/
|
|
@@ -11868,7 +11876,7 @@ function Xm(t) {
|
|
|
11868
11876
|
),
|
|
11869
11877
|
enabled: !/*fixedPosition*/
|
|
11870
11878
|
t[8],
|
|
11871
|
-
$$slots: { default: [
|
|
11879
|
+
$$slots: { default: [Hm] },
|
|
11872
11880
|
$$scope: { ctx: t }
|
|
11873
11881
|
};
|
|
11874
11882
|
/*isVisible*/
|
|
@@ -11877,7 +11885,7 @@ function Xm(t) {
|
|
|
11877
11885
|
t[1] !== void 0 && (ve.relativeY = /*relativeY*/
|
|
11878
11886
|
t[1]), /*absoluteY*/
|
|
11879
11887
|
t[2] !== void 0 && (ve.absoluteY = /*absoluteY*/
|
|
11880
|
-
t[2]), r = new
|
|
11888
|
+
t[2]), r = new Lm({ props: ve }), ee.push(() => he(r, "isVisible", X)), ee.push(() => he(r, "relativeY", Te)), ee.push(() => he(r, "absoluteY", me));
|
|
11881
11889
|
let ie = (
|
|
11882
11890
|
/*isStandard*/
|
|
11883
11891
|
(t[28] && /*isStopped*/
|
|
@@ -11897,7 +11905,7 @@ function Xm(t) {
|
|
|
11897
11905
|
t[19] > 720 && /*controlsOrder*/
|
|
11898
11906
|
t[22] !== "left-to-right-but-swap-ends" && Fr(t)
|
|
11899
11907
|
);
|
|
11900
|
-
_ = new
|
|
11908
|
+
_ = new _m({
|
|
11901
11909
|
props: {
|
|
11902
11910
|
currentTime: (
|
|
11903
11911
|
/*currentTime*/
|
|
@@ -12107,7 +12115,7 @@ function Xm(t) {
|
|
|
12107
12115
|
}
|
|
12108
12116
|
function Jr(t) {
|
|
12109
12117
|
let e, i;
|
|
12110
|
-
return e = new
|
|
12118
|
+
return e = new Cm({
|
|
12111
12119
|
props: {
|
|
12112
12120
|
onEvent: (
|
|
12113
12121
|
/*onEvent*/
|
|
@@ -12195,7 +12203,7 @@ function Jr(t) {
|
|
|
12195
12203
|
}
|
|
12196
12204
|
};
|
|
12197
12205
|
}
|
|
12198
|
-
function
|
|
12206
|
+
function $m(t) {
|
|
12199
12207
|
let e, i, n, s, o, r, l, a, d;
|
|
12200
12208
|
function u(v) {
|
|
12201
12209
|
t[81](v);
|
|
@@ -12209,12 +12217,12 @@ function Qm(t) {
|
|
|
12209
12217
|
/*isVideo*/
|
|
12210
12218
|
t[21] ? 1500 : 1 / 0
|
|
12211
12219
|
),
|
|
12212
|
-
$$slots: { default: [
|
|
12220
|
+
$$slots: { default: [Qm] },
|
|
12213
12221
|
$$scope: { ctx: t }
|
|
12214
12222
|
};
|
|
12215
12223
|
/*isHovering*/
|
|
12216
12224
|
t[20] !== void 0 && (g.isHovering = /*isHovering*/
|
|
12217
|
-
t[20]), i = new
|
|
12225
|
+
t[20]), i = new Wm({ props: g }), ee.push(() => he(i, "isHovering", u));
|
|
12218
12226
|
let m = (
|
|
12219
12227
|
/*showPlaylist*/
|
|
12220
12228
|
t[41] && Jr(t)
|
|
@@ -12348,14 +12356,14 @@ function Qm(t) {
|
|
|
12348
12356
|
}
|
|
12349
12357
|
};
|
|
12350
12358
|
}
|
|
12351
|
-
function
|
|
12359
|
+
function e2(t, e, i) {
|
|
12352
12360
|
let n, s, o, r, l, a, d, u, g, m, v, _, k, b, C, V, Y, O, j, z, L, K, x, X, Te, me, ve, ie, $, U, se, ge, Z, re, w, F, Se, we, Ie, J;
|
|
12353
12361
|
import("./././././././././style.js");
|
|
12354
12362
|
let { playerStyle: Ce = "standard" } = e, { callToAction: Ae = void 0 } = e, { skipButtonStyle: Re = "auto" } = e, { playlistStyle: Fe = "auto-5-4" } = e, { playlistToggle: et = "auto" } = e, { downloadFormats: ft = [] } = e, { playerTitle: yt = void 0 } = e, { fixedPosition: We = void 0 } = e, { fixedWidth: Oe = "auto" } = e, { content: Je = [] } = e, { contentIndex: He = 0 } = e, { duration: St = 0 } = e, { currentTime: Ge = 0 } = e, { playbackState: Xe = "stopped" } = e, { playbackRate: Qe = 1 } = e, { activeAdvert: ze = void 0 } = e, { persistentAdvert: $e = void 0 } = e, { textColor: Ye = "#111" } = e, { backgroundColor: gt = "#f5f5f5" } = e, { iconColor: xe = "black" } = e, { videoTextColor: ot = "white" } = e, { videoBackgroundColor: tt = "black" } = e, { videoIconColor: wt = "white" } = e, { logoIconEnabled: Ue = !0 } = e, { logoImagePosition: bt = void 0 } = e, { onEvent: ct = () => {
|
|
12355
|
-
} } = e, { videoPosterImage: R = "" } = e, { videoIsBehind:
|
|
12363
|
+
} } = e, { videoPosterImage: R = "" } = e, { videoIsBehind: Ee = !1 } = e, { isFullScreen: Le = !1 } = e, { isVisible: Ke = void 0 } = e, { relativeY: Ze = void 0 } = e, { absoluteY: ht = void 0 } = e, rt, Pt, kt, qe;
|
|
12356
12364
|
const lt = () => {
|
|
12357
12365
|
qe && clearTimeout(qe), i(38, qe = setTimeout(() => i(38, qe = null), 500));
|
|
12358
|
-
},
|
|
12366
|
+
}, Et = (N) => {
|
|
12359
12367
|
!l || !(N.button === 0) || !N.target.classList.contains("main") || ct(_e({
|
|
12360
12368
|
type: "PressedVideoBackground",
|
|
12361
12369
|
description: "The video background was pressed.",
|
|
@@ -12363,7 +12371,7 @@ function $m(t, e, i) {
|
|
|
12363
12371
|
}));
|
|
12364
12372
|
};
|
|
12365
12373
|
hs(() => {
|
|
12366
|
-
const N = new
|
|
12374
|
+
const N = new Pf(([pt]) => {
|
|
12367
12375
|
i(19, Pt = pt.contentRect.width);
|
|
12368
12376
|
});
|
|
12369
12377
|
return N.observe(rt), () => N.unobserve(rt);
|
|
@@ -12371,7 +12379,7 @@ function $m(t, e, i) {
|
|
|
12371
12379
|
function Tt(N) {
|
|
12372
12380
|
Ke = N, i(0, Ke);
|
|
12373
12381
|
}
|
|
12374
|
-
function
|
|
12382
|
+
function Mt(N) {
|
|
12375
12383
|
Ze = N, i(1, Ze);
|
|
12376
12384
|
}
|
|
12377
12385
|
function at(N) {
|
|
@@ -12386,7 +12394,7 @@ function $m(t, e, i) {
|
|
|
12386
12394
|
});
|
|
12387
12395
|
}
|
|
12388
12396
|
return t.$$set = (N) => {
|
|
12389
|
-
"playerStyle" in N && i(3, Ce = N.playerStyle), "callToAction" in N && i(4, Ae = N.callToAction), "skipButtonStyle" in N && i(62, Re = N.skipButtonStyle), "playlistStyle" in N && i(5, Fe = N.playlistStyle), "playlistToggle" in N && i(63, et = N.playlistToggle), "downloadFormats" in N && i(6, ft = N.downloadFormats), "playerTitle" in N && i(7, yt = N.playerTitle), "fixedPosition" in N && i(8, We = N.fixedPosition), "fixedWidth" in N && i(64, Oe = N.fixedWidth), "content" in N && i(9, Je = N.content), "contentIndex" in N && i(10, He = N.contentIndex), "duration" in N && i(11, St = N.duration), "currentTime" in N && i(12, Ge = N.currentTime), "playbackState" in N && i(65, Xe = N.playbackState), "playbackRate" in N && i(13, Qe = N.playbackRate), "activeAdvert" in N && i(14, ze = N.activeAdvert), "persistentAdvert" in N && i(66, $e = N.persistentAdvert), "textColor" in N && i(67, Ye = N.textColor), "backgroundColor" in N && i(68, gt = N.backgroundColor), "iconColor" in N && i(69, xe = N.iconColor), "videoTextColor" in N && i(70, ot = N.videoTextColor), "videoBackgroundColor" in N && i(71, tt = N.videoBackgroundColor), "videoIconColor" in N && i(72, wt = N.videoIconColor), "logoIconEnabled" in N && i(73, Ue = N.logoIconEnabled), "logoImagePosition" in N && i(15, bt = N.logoImagePosition), "onEvent" in N && i(16, ct = N.onEvent), "videoPosterImage" in N && i(17, R = N.videoPosterImage), "videoIsBehind" in N && i(18,
|
|
12397
|
+
"playerStyle" in N && i(3, Ce = N.playerStyle), "callToAction" in N && i(4, Ae = N.callToAction), "skipButtonStyle" in N && i(62, Re = N.skipButtonStyle), "playlistStyle" in N && i(5, Fe = N.playlistStyle), "playlistToggle" in N && i(63, et = N.playlistToggle), "downloadFormats" in N && i(6, ft = N.downloadFormats), "playerTitle" in N && i(7, yt = N.playerTitle), "fixedPosition" in N && i(8, We = N.fixedPosition), "fixedWidth" in N && i(64, Oe = N.fixedWidth), "content" in N && i(9, Je = N.content), "contentIndex" in N && i(10, He = N.contentIndex), "duration" in N && i(11, St = N.duration), "currentTime" in N && i(12, Ge = N.currentTime), "playbackState" in N && i(65, Xe = N.playbackState), "playbackRate" in N && i(13, Qe = N.playbackRate), "activeAdvert" in N && i(14, ze = N.activeAdvert), "persistentAdvert" in N && i(66, $e = N.persistentAdvert), "textColor" in N && i(67, Ye = N.textColor), "backgroundColor" in N && i(68, gt = N.backgroundColor), "iconColor" in N && i(69, xe = N.iconColor), "videoTextColor" in N && i(70, ot = N.videoTextColor), "videoBackgroundColor" in N && i(71, tt = N.videoBackgroundColor), "videoIconColor" in N && i(72, wt = N.videoIconColor), "logoIconEnabled" in N && i(73, Ue = N.logoIconEnabled), "logoImagePosition" in N && i(15, bt = N.logoImagePosition), "onEvent" in N && i(16, ct = N.onEvent), "videoPosterImage" in N && i(17, R = N.videoPosterImage), "videoIsBehind" in N && i(18, Ee = N.videoIsBehind), "isFullScreen" in N && i(74, Le = N.isFullScreen), "isVisible" in N && i(0, Ke = N.isVisible), "relativeY" in N && i(1, Ze = N.relativeY), "absoluteY" in N && i(2, ht = N.absoluteY);
|
|
12390
12398
|
}, t.$$.update = () => {
|
|
12391
12399
|
t.$$.dirty[0] & /*playerStyle*/
|
|
12392
12400
|
8 && i(24, n = Ce === "small"), t.$$.dirty[0] & /*playerStyle*/
|
|
@@ -12398,7 +12406,7 @@ function $m(t, e, i) {
|
|
|
12398
12406
|
8 && i(29, d = Xe === "stopped"), t.$$.dirty[0] & /*activeAdvert, isStopped*/
|
|
12399
12407
|
536887296 && i(27, u = ze && !d), t.$$.dirty[0] & /*content*/
|
|
12400
12408
|
512 && i(75, g = Je.length > 1), t.$$.dirty[0] & /*playerStyle, width*/
|
|
12401
|
-
524296 && i(32, m =
|
|
12409
|
+
524296 && i(32, m = Nm({ playerStyle: Ce, width: Pt })), t.$$.dirty[0] & /*content, contentIndex*/
|
|
12402
12410
|
1536 && i(31, v = Je[He] || {}), t.$$.dirty[0] & /*currentTime, duration*/
|
|
12403
12411
|
6144 && i(57, _ = Ge / St), t.$$.dirty[0] & /*isAdvert, activeAdvert*/
|
|
12404
12412
|
134234112 | t.$$.dirty[2] & /*textColor*/
|
|
@@ -12432,10 +12440,10 @@ function $m(t, e, i) {
|
|
|
12432
12440
|
268435712 && i(77, me = We === "auto" ? s ? "center" : "right" : We), t.$$.dirty[0] & /*fixedPosition*/
|
|
12433
12441
|
256 | t.$$.dirty[2] & /*position*/
|
|
12434
12442
|
32768 && i(23, ve = We ? `fixed fixed-${me}` : ""), t.$$.dirty[0] & /*fixedPosition, isSmall, isStandard*/
|
|
12435
|
-
285212928 && i(47, ie = (N) => We && !window.disableAnimation &&
|
|
12443
|
+
285212928 && i(47, ie = (N) => We && !window.disableAnimation && rf(N, { y: n || s ? 40 : 100 })), t.$$.dirty[0] & /*playerStyle, isAdvert*/
|
|
12436
12444
|
134217736 | t.$$.dirty[1] & /*isMobile*/
|
|
12437
12445
|
2 | t.$$.dirty[2] & /*position*/
|
|
12438
|
-
32768 && i(22, $ =
|
|
12446
|
+
32768 && i(22, $ = Dm({
|
|
12439
12447
|
playerStyle: Ce,
|
|
12440
12448
|
position: me,
|
|
12441
12449
|
isMobile: m,
|
|
@@ -12481,7 +12489,7 @@ function $m(t, e, i) {
|
|
|
12481
12489
|
bt,
|
|
12482
12490
|
ct,
|
|
12483
12491
|
R,
|
|
12484
|
-
|
|
12492
|
+
Ee,
|
|
12485
12493
|
Pt,
|
|
12486
12494
|
kt,
|
|
12487
12495
|
l,
|
|
@@ -12524,7 +12532,7 @@ function $m(t, e, i) {
|
|
|
12524
12532
|
a,
|
|
12525
12533
|
o,
|
|
12526
12534
|
lt,
|
|
12527
|
-
|
|
12535
|
+
Et,
|
|
12528
12536
|
Re,
|
|
12529
12537
|
et,
|
|
12530
12538
|
Oe,
|
|
@@ -12542,7 +12550,7 @@ function $m(t, e, i) {
|
|
|
12542
12550
|
Se,
|
|
12543
12551
|
me,
|
|
12544
12552
|
Tt,
|
|
12545
|
-
|
|
12553
|
+
Mt,
|
|
12546
12554
|
at,
|
|
12547
12555
|
Lt,
|
|
12548
12556
|
Ft
|
|
@@ -12553,8 +12561,8 @@ class sr extends pe {
|
|
|
12553
12561
|
super(), ke(
|
|
12554
12562
|
this,
|
|
12555
12563
|
e,
|
|
12564
|
+
e2,
|
|
12556
12565
|
$m,
|
|
12557
|
-
Qm,
|
|
12558
12566
|
be,
|
|
12559
12567
|
{
|
|
12560
12568
|
playerStyle: 3,
|
|
@@ -12787,8 +12795,8 @@ class sr extends pe {
|
|
|
12787
12795
|
this.$$set({ absoluteY: e }), c();
|
|
12788
12796
|
}
|
|
12789
12797
|
}
|
|
12790
|
-
const jo = (t, e, i) => Pe(t, e, e === "style" ?
|
|
12791
|
-
function
|
|
12798
|
+
const jo = (t, e, i) => Pe(t, e, e === "style" ? i2(i) : i), t2 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, i2 = (t) => t.split(t2).filter((e) => e).map((e) => e + " !important").join(";");
|
|
12799
|
+
function n2(t) {
|
|
12792
12800
|
let e, i, n;
|
|
12793
12801
|
const s = (
|
|
12794
12802
|
/*#slots*/
|
|
@@ -12842,7 +12850,7 @@ function i2(t) {
|
|
|
12842
12850
|
}
|
|
12843
12851
|
};
|
|
12844
12852
|
}
|
|
12845
|
-
function
|
|
12853
|
+
function s2(t, e, i) {
|
|
12846
12854
|
let n, { $$slots: s = {}, $$scope: o } = e, { root: r = void 0 } = e, { prepend: l = !1 } = e, a, d;
|
|
12847
12855
|
hs(() => i(3, d = a.parentNode));
|
|
12848
12856
|
const u = (v, _) => v.insertBefore(_, v.firstChild), g = (v, _) => v.appendChild(_);
|
|
@@ -12863,7 +12871,7 @@ function n2(t, e, i) {
|
|
|
12863
12871
|
}
|
|
12864
12872
|
class po extends pe {
|
|
12865
12873
|
constructor(e) {
|
|
12866
|
-
super(), ke(this, e,
|
|
12874
|
+
super(), ke(this, e, s2, n2, be, { root: 0, prepend: 2 });
|
|
12867
12875
|
}
|
|
12868
12876
|
get root() {
|
|
12869
12877
|
return this.$$.ctx[0];
|
|
@@ -12878,7 +12886,7 @@ class po extends pe {
|
|
|
12878
12886
|
this.$$set({ prepend: e }), c();
|
|
12879
12887
|
}
|
|
12880
12888
|
}
|
|
12881
|
-
const T = (t, e, i) => Pe(t, e, e === "style" ?
|
|
12889
|
+
const T = (t, e, i) => Pe(t, e, e === "style" ? r2(i) : i), o2 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, r2 = (t) => t.split(o2).filter((e) => e).map((e) => e + " !important").join(";");
|
|
12882
12890
|
function Xr(t, e, i) {
|
|
12883
12891
|
const n = t.slice();
|
|
12884
12892
|
return n[88] = e[i], n[90] = i, n;
|
|
@@ -12891,7 +12899,7 @@ function $r(t, e, i) {
|
|
|
12891
12899
|
const n = t.slice();
|
|
12892
12900
|
return n[88] = e[i], n[90] = i, n;
|
|
12893
12901
|
}
|
|
12894
|
-
function
|
|
12902
|
+
function l2(t, e, i) {
|
|
12895
12903
|
const n = t.slice();
|
|
12896
12904
|
return n[93] = e[i], n;
|
|
12897
12905
|
}
|
|
@@ -12910,7 +12918,7 @@ function tl(t) {
|
|
|
12910
12918
|
/*i*/
|
|
12911
12919
|
t[90]
|
|
12912
12920
|
), n = Q(" ("), o = Q(s), r = Q(")"), e.__value = /*i*/
|
|
12913
|
-
t[90],
|
|
12921
|
+
t[90], M(e, e.__value);
|
|
12914
12922
|
},
|
|
12915
12923
|
m(l, a) {
|
|
12916
12924
|
B(l, e, a), f(e, i), f(e, n), f(e, o), f(e, r);
|
|
@@ -12925,13 +12933,13 @@ function tl(t) {
|
|
|
12925
12933
|
}
|
|
12926
12934
|
};
|
|
12927
12935
|
}
|
|
12928
|
-
function
|
|
12936
|
+
function a2(t) {
|
|
12929
12937
|
let e;
|
|
12930
12938
|
return {
|
|
12931
12939
|
c() {
|
|
12932
12940
|
e = y("option"), e.textContent = `${/*hour*/
|
|
12933
12941
|
t[93]}-oclock`, e.__value = /*hour*/
|
|
12934
|
-
t[93] + "-oclock",
|
|
12942
|
+
t[93] + "-oclock", M(e, e.__value);
|
|
12935
12943
|
},
|
|
12936
12944
|
m(i, n) {
|
|
12937
12945
|
B(i, e, n);
|
|
@@ -12943,7 +12951,7 @@ function l2(t) {
|
|
|
12943
12951
|
};
|
|
12944
12952
|
}
|
|
12945
12953
|
function il(t) {
|
|
12946
|
-
let e, i, n, s, o, r, l, a, d, u, g, m, v, _, k, b, C, V, Y, O, j, z, L, K, x, X, Te, me, ve, ie, $, U, se, ge, Z, re, w, F, Se, we, Ie, J, Ce, Ae, Re, Fe, et, ft, yt, We, Oe, Je, He, St, Ge, Xe, Qe, ze, $e, Ye, gt, xe, ot, tt, wt, Ue, bt, ct, R,
|
|
12954
|
+
let e, i, n, s, o, r, l, a, d, u, g, m, v, _, k, b, C, V, Y, O, j, z, L, K, x, X, Te, me, ve, ie, $, U, se, ge, Z, re, w, F, Se, we, Ie, J, Ce, Ae, Re, Fe, et, ft, yt, We, Oe, Je, He, St, Ge, Xe, Qe, ze, $e, Ye, gt, xe, ot, tt, wt, Ue, bt, ct, R, Ee, Le, Ke, Ze, ht, rt, Pt, kt, qe, lt, Et, Tt, Mt, at, Lt, Ft, N, pt, ut, ce, S, P, oe, Vt, si, pi, zt, Ri, oi, en, dt, _i, $t, mi, Ct, Nt, Ai, Dt, Si, ri, mn, qt, tn, Rt, li = Qt(
|
|
12947
12955
|
/*content*/
|
|
12948
12956
|
t[41]
|
|
12949
12957
|
), _t = [];
|
|
@@ -12985,20 +12993,20 @@ function il(t) {
|
|
|
12985
12993
|
`), Ue = y("select"), bt = y("option"), bt.textContent = "-1 (none)";
|
|
12986
12994
|
for (let W = 0; W < Ot.length; W += 1)
|
|
12987
12995
|
Ot[W].c();
|
|
12988
|
-
ct = H(), R = y("div"),
|
|
12996
|
+
ct = H(), R = y("div"), Ee = Q(`duration:
|
|
12989
12997
|
`), Le = y("input"), Ke = H(), Ze = y("div"), ht = Q(`currentTime:
|
|
12990
12998
|
`), rt = y("input"), Pt = H(), kt = y("div"), qe = Q(`playbackRate:
|
|
12991
|
-
`), lt = y("input"),
|
|
12999
|
+
`), lt = y("input"), Et = H(), Tt = y("div"), Mt = Q(`widgetTarget:
|
|
12992
13000
|
`), at = y("input"), Lt = H(), Ft = y("div"), N = Q(`logoIconEnabled:
|
|
12993
13001
|
`), pt = y("select"), ut = y("option"), ut.textContent = `${!1}`, ce = y("option"), ce.textContent = `${!0}`, S = H(), P = y("div"), oe = Q(`advertConsent:
|
|
12994
13002
|
`), Vt = y("select"), si = y("option"), si.textContent = "personalized", pi = y("option"), pi.textContent = "non-personalized", zt = y("option"), zt.textContent = "under-the-age-of-consent", Ri = H(), oi = y("div"), en = Q(`analyticsConsent:
|
|
12995
13003
|
`), dt = y("select"), _i = y("option"), _i.textContent = "allowed", $t = y("option"), $t.textContent = "without-local-storage", mi = y("option"), mi.textContent = "none", Ct = H(), Nt = y("div"), Ai = Q(`analyticsCustomUrl:
|
|
12996
13004
|
`), Dt = y("input"), Si = H(), ri = y("div"), mn = Q(`analyticsTag:
|
|
12997
|
-
`), qt = y("input"), T(n, "class", "svelte-g76q0j"), T(u, "tabindex", -1), T(u, "type", "text"), T(u, "class", "svelte-g76q0j"), T(a, "class", "control svelte-g76q0j"), T(_, "tabindex", -1), T(_, "type", "text"), T(_, "class", "svelte-g76q0j"), T(m, "class", "control svelte-g76q0j"), T(V, "tabindex", -1), T(V, "type", "text"), T(V, "class", "svelte-g76q0j"), T(b, "class", "control svelte-g76q0j"), T(z, "tabindex", -1), T(z, "type", "text"), T(z, "class", "svelte-g76q0j"), T(O, "class", "control svelte-g76q0j"), T(X, "tabindex", -1), T(X, "type", "text"), T(X, "class", "svelte-g76q0j"), T(K, "class", "control svelte-g76q0j"), $.__value = !1,
|
|
13005
|
+
`), qt = y("input"), T(n, "class", "svelte-g76q0j"), T(u, "tabindex", -1), T(u, "type", "text"), T(u, "class", "svelte-g76q0j"), T(a, "class", "control svelte-g76q0j"), T(_, "tabindex", -1), T(_, "type", "text"), T(_, "class", "svelte-g76q0j"), T(m, "class", "control svelte-g76q0j"), T(V, "tabindex", -1), T(V, "type", "text"), T(V, "class", "svelte-g76q0j"), T(b, "class", "control svelte-g76q0j"), T(z, "tabindex", -1), T(z, "type", "text"), T(z, "class", "svelte-g76q0j"), T(O, "class", "control svelte-g76q0j"), T(X, "tabindex", -1), T(X, "type", "text"), T(X, "class", "svelte-g76q0j"), T(K, "class", "control svelte-g76q0j"), $.__value = !1, M($, $.__value), U.__value = !0, M(U, U.__value), T(ie, "tabindex", -1), T(ie, "class", "svelte-g76q0j"), /*showUserInterface*/
|
|
12998
13006
|
t[5] === void 0 && nt(() => (
|
|
12999
13007
|
/*select0_change_handler_1*/
|
|
13000
13008
|
t[69].call(ie)
|
|
13001
|
-
)), T(me, "class", "control svelte-g76q0j"), T(re, "tabindex", -1), T(re, "type", "text"), T(re, "class", "svelte-g76q0j"), T(ge, "class", "control svelte-g76q0j"), T(we, "tabindex", -1), T(we, "type", "text"), T(we, "class", "svelte-g76q0j"), T(F, "class", "control svelte-g76q0j"), Re.__value = "auto",
|
|
13009
|
+
)), T(me, "class", "control svelte-g76q0j"), T(re, "tabindex", -1), T(re, "type", "text"), T(re, "class", "svelte-g76q0j"), T(ge, "class", "control svelte-g76q0j"), T(we, "tabindex", -1), T(we, "type", "text"), T(we, "class", "svelte-g76q0j"), T(F, "class", "control svelte-g76q0j"), Re.__value = "auto", M(Re, Re.__value), Fe.__value = "override", M(Fe, Fe.__value), et.__value = "none", M(et, et.__value), T(Ae, "tabindex", -1), T(Ae, "class", "svelte-g76q0j"), /*mediaSession*/
|
|
13002
13010
|
t[12] === void 0 && nt(() => (
|
|
13003
13011
|
/*select1_change_handler_1*/
|
|
13004
13012
|
t[72].call(Ae)
|
|
@@ -13006,50 +13014,50 @@ function il(t) {
|
|
|
13006
13014
|
t[13] === void 0 && nt(() => (
|
|
13007
13015
|
/*select2_change_handler_1*/
|
|
13008
13016
|
t[73].call(Oe)
|
|
13009
|
-
)), T(yt, "class", "control svelte-g76q0j"), Xe.__value = -1,
|
|
13017
|
+
)), T(yt, "class", "control svelte-g76q0j"), Xe.__value = -1, M(Xe, Xe.__value), T(Ge, "tabindex", -1), T(Ge, "class", "svelte-g76q0j"), /*introsOutrosIndex*/
|
|
13010
13018
|
t[14] === void 0 && nt(() => (
|
|
13011
13019
|
/*select3_change_handler_1*/
|
|
13012
13020
|
t[74].call(Ge)
|
|
13013
|
-
)), T(He, "class", "control svelte-g76q0j"), gt.__value = !1,
|
|
13021
|
+
)), T(He, "class", "control svelte-g76q0j"), gt.__value = !1, M(gt, gt.__value), xe.__value = !0, M(xe, xe.__value), T(Ye, "tabindex", -1), T(Ye, "class", "svelte-g76q0j"), /*persistentAdImage*/
|
|
13014
13022
|
t[16] === void 0 && nt(() => (
|
|
13015
13023
|
/*select4_change_handler_1*/
|
|
13016
13024
|
t[75].call(Ye)
|
|
13017
|
-
)), T(ze, "class", "control svelte-g76q0j"), bt.__value = -1,
|
|
13025
|
+
)), T(ze, "class", "control svelte-g76q0j"), bt.__value = -1, M(bt, bt.__value), T(Ue, "tabindex", -1), T(Ue, "class", "svelte-g76q0j"), /*persistentIndex*/
|
|
13018
13026
|
t[17] === void 0 && nt(() => (
|
|
13019
13027
|
/*select5_change_handler_1*/
|
|
13020
13028
|
t[76].call(Ue)
|
|
13021
|
-
)), T(tt, "class", "control svelte-g76q0j"), T(Le, "tabindex", -1), T(Le, "type", "text"), T(Le, "class", "svelte-g76q0j"), T(R, "class", "control svelte-g76q0j"), T(rt, "tabindex", -1), T(rt, "type", "text"), T(rt, "class", "svelte-g76q0j"), T(Ze, "class", "control svelte-g76q0j"), T(lt, "tabindex", -1), T(lt, "type", "text"), T(lt, "class", "svelte-g76q0j"), T(kt, "class", "control svelte-g76q0j"), T(at, "tabindex", -1), T(at, "type", "text"), T(at, "class", "svelte-g76q0j"), T(Tt, "class", "control svelte-g76q0j"), ut.__value = !1,
|
|
13029
|
+
)), T(tt, "class", "control svelte-g76q0j"), T(Le, "tabindex", -1), T(Le, "type", "text"), T(Le, "class", "svelte-g76q0j"), T(R, "class", "control svelte-g76q0j"), T(rt, "tabindex", -1), T(rt, "type", "text"), T(rt, "class", "svelte-g76q0j"), T(Ze, "class", "control svelte-g76q0j"), T(lt, "tabindex", -1), T(lt, "type", "text"), T(lt, "class", "svelte-g76q0j"), T(kt, "class", "control svelte-g76q0j"), T(at, "tabindex", -1), T(at, "type", "text"), T(at, "class", "svelte-g76q0j"), T(Tt, "class", "control svelte-g76q0j"), ut.__value = !1, M(ut, ut.__value), ce.__value = !0, M(ce, ce.__value), T(pt, "tabindex", -1), T(pt, "class", "svelte-g76q0j"), /*logoIconEnabled*/
|
|
13022
13030
|
t[32] === void 0 && nt(() => (
|
|
13023
13031
|
/*select6_change_handler_1*/
|
|
13024
13032
|
t[81].call(pt)
|
|
13025
|
-
)), T(Ft, "class", "control svelte-g76q0j"), si.__value = "personalized",
|
|
13033
|
+
)), T(Ft, "class", "control svelte-g76q0j"), si.__value = "personalized", M(si, si.__value), pi.__value = "non-personalized", M(pi, pi.__value), zt.__value = "under-the-age-of-consent", M(zt, zt.__value), T(Vt, "tabindex", -1), T(Vt, "class", "svelte-g76q0j"), /*advertConsent*/
|
|
13026
13034
|
t[37] === void 0 && nt(() => (
|
|
13027
13035
|
/*select7_change_handler_1*/
|
|
13028
13036
|
t[82].call(Vt)
|
|
13029
|
-
)), T(P, "class", "control svelte-g76q0j"), _i.__value = "allowed",
|
|
13037
|
+
)), T(P, "class", "control svelte-g76q0j"), _i.__value = "allowed", M(_i, _i.__value), $t.__value = "without-local-storage", M($t, $t.__value), mi.__value = "none", M(mi, mi.__value), T(dt, "tabindex", -1), T(dt, "class", "svelte-g76q0j"), /*analyticsConsent*/
|
|
13030
13038
|
t[38] === void 0 && nt(() => (
|
|
13031
13039
|
/*select8_change_handler_1*/
|
|
13032
13040
|
t[83].call(dt)
|
|
13033
13041
|
)), T(oi, "class", "control svelte-g76q0j"), T(Dt, "tabindex", -1), T(Dt, "type", "text"), T(Dt, "class", "svelte-g76q0j"), T(Nt, "class", "control svelte-g76q0j"), T(qt, "tabindex", -1), T(qt, "type", "text"), T(qt, "class", "svelte-g76q0j"), T(ri, "class", "control svelte-g76q0j");
|
|
13034
13042
|
},
|
|
13035
13043
|
m(W, q) {
|
|
13036
|
-
B(W, e, q), B(W, i, q), B(W, n, q), B(W, s, q), B(W, o, q), B(W, r, q), B(W, l, q), B(W, a, q), f(a, d), f(a, u),
|
|
13044
|
+
B(W, e, q), B(W, i, q), B(W, n, q), B(W, s, q), B(W, o, q), B(W, r, q), B(W, l, q), B(W, a, q), f(a, d), f(a, u), M(
|
|
13037
13045
|
u,
|
|
13038
13046
|
/*projectId*/
|
|
13039
13047
|
t[0]
|
|
13040
|
-
), B(W, g, q), B(W, m, q), f(m, v), f(m, _),
|
|
13048
|
+
), B(W, g, q), B(W, m, q), f(m, v), f(m, _), M(
|
|
13041
13049
|
_,
|
|
13042
13050
|
/*contentId*/
|
|
13043
13051
|
t[1]
|
|
13044
|
-
), B(W, k, q), B(W, b, q), f(b, C), f(b, V),
|
|
13052
|
+
), B(W, k, q), B(W, b, q), f(b, C), f(b, V), M(
|
|
13045
13053
|
V,
|
|
13046
13054
|
/*playlistId*/
|
|
13047
13055
|
t[2]
|
|
13048
|
-
), B(W, Y, q), B(W, O, q), f(O, j), f(O, z),
|
|
13056
|
+
), B(W, Y, q), B(W, O, q), f(O, j), f(O, z), M(
|
|
13049
13057
|
z,
|
|
13050
13058
|
/*sourceId*/
|
|
13051
13059
|
t[3]
|
|
13052
|
-
), B(W, L, q), B(W, K, q), f(K, x), f(K, X),
|
|
13060
|
+
), B(W, L, q), B(W, K, q), f(K, x), f(K, X), M(
|
|
13053
13061
|
X,
|
|
13054
13062
|
/*sourceUrl*/
|
|
13055
13063
|
t[4]
|
|
@@ -13058,11 +13066,11 @@ function il(t) {
|
|
|
13058
13066
|
/*showUserInterface*/
|
|
13059
13067
|
t[5],
|
|
13060
13068
|
!0
|
|
13061
|
-
), B(W, se, q), B(W, ge, q), f(ge, Z), f(ge, re),
|
|
13069
|
+
), B(W, se, q), B(W, ge, q), f(ge, Z), f(ge, re), M(
|
|
13062
13070
|
re,
|
|
13063
13071
|
/*videoTextColor*/
|
|
13064
13072
|
t[30]
|
|
13065
|
-
), B(W, w, q), B(W, F, q), f(F, Se), f(F, we),
|
|
13073
|
+
), B(W, w, q), B(W, F, q), f(F, Se), f(F, we), M(
|
|
13066
13074
|
we,
|
|
13067
13075
|
/*videoIconColor*/
|
|
13068
13076
|
t[31]
|
|
@@ -13100,19 +13108,19 @@ function il(t) {
|
|
|
13100
13108
|
/*persistentIndex*/
|
|
13101
13109
|
t[17],
|
|
13102
13110
|
!0
|
|
13103
|
-
), B(W, ct, q), B(W, R, q), f(R,
|
|
13111
|
+
), B(W, ct, q), B(W, R, q), f(R, Ee), f(R, Le), M(
|
|
13104
13112
|
Le,
|
|
13105
13113
|
/*duration*/
|
|
13106
13114
|
t[18]
|
|
13107
|
-
), B(W, Ke, q), B(W, Ze, q), f(Ze, ht), f(Ze, rt),
|
|
13115
|
+
), B(W, Ke, q), B(W, Ze, q), f(Ze, ht), f(Ze, rt), M(
|
|
13108
13116
|
rt,
|
|
13109
13117
|
/*currentTime*/
|
|
13110
13118
|
t[19]
|
|
13111
|
-
), B(W, Pt, q), B(W, kt, q), f(kt, qe), f(kt, lt),
|
|
13119
|
+
), B(W, Pt, q), B(W, kt, q), f(kt, qe), f(kt, lt), M(
|
|
13112
13120
|
lt,
|
|
13113
13121
|
/*playbackRate*/
|
|
13114
13122
|
t[21]
|
|
13115
|
-
), B(W,
|
|
13123
|
+
), B(W, Et, q), B(W, Tt, q), f(Tt, Mt), f(Tt, at), M(
|
|
13116
13124
|
at,
|
|
13117
13125
|
/*widgetTarget*/
|
|
13118
13126
|
t[25]
|
|
@@ -13131,11 +13139,11 @@ function il(t) {
|
|
|
13131
13139
|
/*analyticsConsent*/
|
|
13132
13140
|
t[38],
|
|
13133
13141
|
!0
|
|
13134
|
-
), B(W, Ct, q), B(W, Nt, q), f(Nt, Ai), f(Nt, Dt),
|
|
13142
|
+
), B(W, Ct, q), B(W, Nt, q), f(Nt, Ai), f(Nt, Dt), M(
|
|
13135
13143
|
Dt,
|
|
13136
13144
|
/*analyticsCustomUrl*/
|
|
13137
13145
|
t[39]
|
|
13138
|
-
), B(W, Si, q), B(W, ri, q), f(ri, mn), f(ri, qt),
|
|
13146
|
+
), B(W, Si, q), B(W, ri, q), f(ri, mn), f(ri, qt), M(
|
|
13139
13147
|
qt,
|
|
13140
13148
|
/*analyticsTag*/
|
|
13141
13149
|
t[40]
|
|
@@ -13277,31 +13285,31 @@ function il(t) {
|
|
|
13277
13285
|
p(W, q) {
|
|
13278
13286
|
if (q[0] & /*projectId*/
|
|
13279
13287
|
1 && u.value !== /*projectId*/
|
|
13280
|
-
W[0] &&
|
|
13288
|
+
W[0] && M(
|
|
13281
13289
|
u,
|
|
13282
13290
|
/*projectId*/
|
|
13283
13291
|
W[0]
|
|
13284
13292
|
), q[0] & /*contentId*/
|
|
13285
13293
|
2 && _.value !== /*contentId*/
|
|
13286
|
-
W[1] &&
|
|
13294
|
+
W[1] && M(
|
|
13287
13295
|
_,
|
|
13288
13296
|
/*contentId*/
|
|
13289
13297
|
W[1]
|
|
13290
13298
|
), q[0] & /*playlistId*/
|
|
13291
13299
|
4 && V.value !== /*playlistId*/
|
|
13292
|
-
W[2] &&
|
|
13300
|
+
W[2] && M(
|
|
13293
13301
|
V,
|
|
13294
13302
|
/*playlistId*/
|
|
13295
13303
|
W[2]
|
|
13296
13304
|
), q[0] & /*sourceId*/
|
|
13297
13305
|
8 && z.value !== /*sourceId*/
|
|
13298
|
-
W[3] &&
|
|
13306
|
+
W[3] && M(
|
|
13299
13307
|
z,
|
|
13300
13308
|
/*sourceId*/
|
|
13301
13309
|
W[3]
|
|
13302
13310
|
), q[0] & /*sourceUrl*/
|
|
13303
13311
|
16 && X.value !== /*sourceUrl*/
|
|
13304
|
-
W[4] &&
|
|
13312
|
+
W[4] && M(
|
|
13305
13313
|
X,
|
|
13306
13314
|
/*sourceUrl*/
|
|
13307
13315
|
W[4]
|
|
@@ -13312,13 +13320,13 @@ function il(t) {
|
|
|
13312
13320
|
W[5]
|
|
13313
13321
|
), q[0] & /*videoTextColor*/
|
|
13314
13322
|
1073741824 && re.value !== /*videoTextColor*/
|
|
13315
|
-
W[30] &&
|
|
13323
|
+
W[30] && M(
|
|
13316
13324
|
re,
|
|
13317
13325
|
/*videoTextColor*/
|
|
13318
13326
|
W[30]
|
|
13319
13327
|
), q[1] & /*videoIconColor*/
|
|
13320
13328
|
1 && we.value !== /*videoIconColor*/
|
|
13321
|
-
W[31] &&
|
|
13329
|
+
W[31] && M(
|
|
13322
13330
|
we,
|
|
13323
13331
|
/*videoIconColor*/
|
|
13324
13332
|
W[31]
|
|
@@ -13394,25 +13402,25 @@ function il(t) {
|
|
|
13394
13402
|
W[17]
|
|
13395
13403
|
), q[0] & /*duration*/
|
|
13396
13404
|
262144 && Le.value !== /*duration*/
|
|
13397
|
-
W[18] &&
|
|
13405
|
+
W[18] && M(
|
|
13398
13406
|
Le,
|
|
13399
13407
|
/*duration*/
|
|
13400
13408
|
W[18]
|
|
13401
13409
|
), q[0] & /*currentTime*/
|
|
13402
13410
|
524288 && rt.value !== /*currentTime*/
|
|
13403
|
-
W[19] &&
|
|
13411
|
+
W[19] && M(
|
|
13404
13412
|
rt,
|
|
13405
13413
|
/*currentTime*/
|
|
13406
13414
|
W[19]
|
|
13407
13415
|
), q[0] & /*playbackRate*/
|
|
13408
13416
|
2097152 && lt.value !== /*playbackRate*/
|
|
13409
|
-
W[21] &&
|
|
13417
|
+
W[21] && M(
|
|
13410
13418
|
lt,
|
|
13411
13419
|
/*playbackRate*/
|
|
13412
13420
|
W[21]
|
|
13413
13421
|
), q[0] & /*widgetTarget*/
|
|
13414
13422
|
33554432 && at.value !== /*widgetTarget*/
|
|
13415
|
-
W[25] &&
|
|
13423
|
+
W[25] && M(
|
|
13416
13424
|
at,
|
|
13417
13425
|
/*widgetTarget*/
|
|
13418
13426
|
W[25]
|
|
@@ -13433,20 +13441,20 @@ function il(t) {
|
|
|
13433
13441
|
W[38]
|
|
13434
13442
|
), q[1] & /*analyticsCustomUrl*/
|
|
13435
13443
|
256 && Dt.value !== /*analyticsCustomUrl*/
|
|
13436
|
-
W[39] &&
|
|
13444
|
+
W[39] && M(
|
|
13437
13445
|
Dt,
|
|
13438
13446
|
/*analyticsCustomUrl*/
|
|
13439
13447
|
W[39]
|
|
13440
13448
|
), q[1] & /*analyticsTag*/
|
|
13441
13449
|
512 && qt.value !== /*analyticsTag*/
|
|
13442
|
-
W[40] &&
|
|
13450
|
+
W[40] && M(
|
|
13443
13451
|
qt,
|
|
13444
13452
|
/*analyticsTag*/
|
|
13445
13453
|
W[40]
|
|
13446
13454
|
);
|
|
13447
13455
|
},
|
|
13448
13456
|
d(W) {
|
|
13449
|
-
W && (A(e), A(i), A(n), A(s), A(o), A(r), A(l), A(a), A(g), A(m), A(k), A(b), A(Y), A(O), A(L), A(K), A(Te), A(me), A(se), A(ge), A(w), A(F), A(Ie), A(J), A(ft), A(yt), A(Je), A(He), A(Qe), A(ze), A(ot), A(tt), A(ct), A(R), A(Ke), A(Ze), A(Pt), A(kt), A(
|
|
13457
|
+
W && (A(e), A(i), A(n), A(s), A(o), A(r), A(l), A(a), A(g), A(m), A(k), A(b), A(Y), A(O), A(L), A(K), A(Te), A(me), A(se), A(ge), A(w), A(F), A(Ie), A(J), A(ft), A(yt), A(Je), A(He), A(Qe), A(ze), A(ot), A(tt), A(ct), A(R), A(Ke), A(Ze), A(Pt), A(kt), A(Et), A(Tt), A(Lt), A(Ft), A(S), A(P), A(Ri), A(oi), A(Ct), A(Nt), A(Si), A(ri)), hn(_t, W), hn(mt, W), hn(Ot, W), tn = !1, st(Rt);
|
|
13450
13458
|
}
|
|
13451
13459
|
};
|
|
13452
13460
|
}
|
|
@@ -13461,7 +13469,7 @@ function nl(t) {
|
|
|
13461
13469
|
/*i*/
|
|
13462
13470
|
t[90]
|
|
13463
13471
|
), n = Q(" ("), o = Q(s), r = Q(")"), e.__value = /*i*/
|
|
13464
|
-
t[90],
|
|
13472
|
+
t[90], M(e, e.__value);
|
|
13465
13473
|
},
|
|
13466
13474
|
m(l, a) {
|
|
13467
13475
|
B(l, e, a), f(e, i), f(e, n), f(e, o), f(e, r);
|
|
@@ -13487,7 +13495,7 @@ function sl(t) {
|
|
|
13487
13495
|
/*i*/
|
|
13488
13496
|
t[90]
|
|
13489
13497
|
), n = Q(": "), o = Q(s), e.__value = /*i*/
|
|
13490
|
-
t[90],
|
|
13498
|
+
t[90], M(e, e.__value);
|
|
13491
13499
|
},
|
|
13492
13500
|
m(r, l) {
|
|
13493
13501
|
B(r, e, l), f(e, i), f(e, n), f(e, o);
|
|
@@ -13513,7 +13521,7 @@ function ol(t) {
|
|
|
13513
13521
|
/*i*/
|
|
13514
13522
|
t[90]
|
|
13515
13523
|
), n = Q(": "), o = Q(s), e.__value = /*i*/
|
|
13516
|
-
t[90],
|
|
13524
|
+
t[90], M(e, e.__value);
|
|
13517
13525
|
},
|
|
13518
13526
|
m(r, l) {
|
|
13519
13527
|
B(r, e, l), f(e, i), f(e, n), f(e, o);
|
|
@@ -13528,7 +13536,7 @@ function ol(t) {
|
|
|
13528
13536
|
}
|
|
13529
13537
|
};
|
|
13530
13538
|
}
|
|
13531
|
-
function
|
|
13539
|
+
function u2(t) {
|
|
13532
13540
|
let e, i, n;
|
|
13533
13541
|
return {
|
|
13534
13542
|
c() {
|
|
@@ -13548,7 +13556,7 @@ function a2(t) {
|
|
|
13548
13556
|
}
|
|
13549
13557
|
};
|
|
13550
13558
|
}
|
|
13551
|
-
function
|
|
13559
|
+
function c2(t) {
|
|
13552
13560
|
let e, i, n;
|
|
13553
13561
|
return {
|
|
13554
13562
|
c() {
|
|
@@ -13568,8 +13576,8 @@ function u2(t) {
|
|
|
13568
13576
|
}
|
|
13569
13577
|
};
|
|
13570
13578
|
}
|
|
13571
|
-
function
|
|
13572
|
-
let e, i, n, s, o, r, l, a, d, u, g, m, v, _, k, b, C, V, Y, O, j, z, L, K, x, X, Te, me, ve, ie, $, U, se, ge, Z, re, w, F, Se, we, Ie, J, Ce, Ae, Re, Fe, et, ft, yt, We, Oe, Je, He, St, Ge, Xe, Qe, ze, $e, Ye, gt, xe, ot, tt, wt, Ue, bt, ct, R,
|
|
13579
|
+
function d2(t) {
|
|
13580
|
+
let e, i, n, s, o, r, l, a, d, u, g, m, v, _, k, b, C, V, Y, O, j, z, L, K, x, X, Te, me, ve, ie, $, U, se, ge, Z, re, w, F, Se, we, Ie, J, Ce, Ae, Re, Fe, et, ft, yt, We, Oe, Je, He, St, Ge, Xe, Qe, ze, $e, Ye, gt, xe, ot, tt, wt, Ue, bt, ct, R, Ee, Le, Ke, Ze, ht, rt, Pt, kt, qe, lt, Et, Tt, Mt, at, Lt, Ft, N, pt, ut, ce, S, P, oe, Vt, si, pi, zt, Ri, oi, en, dt, _i, $t, mi, Ct, Nt, Ai, Dt, Si, ri, mn, qt, tn, Rt, li, _t, ai, mt, ui, Ot, W, q, te, Ht, nn, sn, on, rn, ms, vn, vs, Bi, ys, Hn, bs, ks, Yn, ps, ln = Qt(
|
|
13573
13581
|
/*adverts*/
|
|
13574
13582
|
t[43]
|
|
13575
13583
|
), Yt = [];
|
|
@@ -13577,7 +13585,7 @@ function c2(t) {
|
|
|
13577
13585
|
Yt[de] = tl(el(t, ln, de));
|
|
13578
13586
|
let So = Qt([1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]), yn = [];
|
|
13579
13587
|
for (let de = 0; de < 12; de += 1)
|
|
13580
|
-
yn[de] = l2(
|
|
13588
|
+
yn[de] = a2(l2(t, So, de));
|
|
13581
13589
|
let ei = (
|
|
13582
13590
|
/*showAdvancedSettings*/
|
|
13583
13591
|
t[44] && il(t)
|
|
@@ -13585,7 +13593,7 @@ function c2(t) {
|
|
|
13585
13593
|
function Ss(de, it) {
|
|
13586
13594
|
return (
|
|
13587
13595
|
/*showAdvancedSettings*/
|
|
13588
|
-
de[44] ?
|
|
13596
|
+
de[44] ? c2 : u2
|
|
13589
13597
|
);
|
|
13590
13598
|
}
|
|
13591
13599
|
let In = Ss(t), wi = In(t);
|
|
@@ -13604,8 +13612,8 @@ function c2(t) {
|
|
|
13604
13612
|
Yt[de].c();
|
|
13605
13613
|
$e = H(), Ye = y("div"), gt = Q(`widgetStyle:
|
|
13606
13614
|
`), xe = y("select"), ot = y("option"), ot.textContent = "small", tt = y("option"), tt.textContent = "standard", wt = y("option"), wt.textContent = "large", Ue = y("option"), Ue.textContent = "video", bt = H(), ct = y("div"), R = Q(`widgetPosition:
|
|
13607
|
-
`),
|
|
13608
|
-
`), qe = y("select"), lt = y("option"), lt.textContent = "auto",
|
|
13615
|
+
`), Ee = y("select"), Le = y("option"), Le.textContent = "auto", Ke = y("option"), Ke.textContent = "left", Ze = y("option"), Ze.textContent = "center", ht = y("option"), ht.textContent = "right", rt = H(), Pt = y("div"), kt = Q(`widgetWidth:
|
|
13616
|
+
`), qe = y("select"), lt = y("option"), lt.textContent = "auto", Et = y("option"), Et.textContent = "400px", Tt = y("option"), Tt.textContent = "30rem", Mt = y("option"), Mt.textContent = "fit-content", at = y("option"), at.textContent = "initial", Lt = y("option"), Lt.textContent = "0", Ft = H(), N = y("div"), pt = Q(`textColor:
|
|
13609
13617
|
`), ut = y("input"), ce = H(), S = y("div"), P = Q(`backgroundColor:
|
|
13610
13618
|
`), oe = y("input"), Vt = H(), si = y("div"), pi = Q(`iconColor:
|
|
13611
13619
|
`), zt = y("input"), Ri = H(), oi = y("div"), en = Q(`highlightColor:
|
|
@@ -13616,51 +13624,51 @@ function c2(t) {
|
|
|
13616
13624
|
`), Bi = y("select");
|
|
13617
13625
|
for (let de = 0; de < 12; de += 1)
|
|
13618
13626
|
yn[de].c();
|
|
13619
|
-
ys = H(), ei && ei.c(), Hn = H(), bs = y("br"), ks = H(), wi.c(), T(i, "class", "heading svelte-g76q0j"), d.__value = "small",
|
|
13627
|
+
ys = H(), ei && ei.c(), Hn = H(), bs = y("br"), ks = H(), wi.c(), T(i, "class", "heading svelte-g76q0j"), d.__value = "small", M(d, d.__value), u.__value = "standard", M(u, u.__value), g.__value = "large", M(g, g.__value), m.__value = "video", M(m, m.__value), T(a, "tabindex", -1), T(a, "class", "svelte-g76q0j"), /*playerStyle*/
|
|
13620
13628
|
t[6] === void 0 && nt(() => (
|
|
13621
13629
|
/*select0_change_handler*/
|
|
13622
13630
|
t[45].call(a)
|
|
13623
|
-
)), T(r, "class", "control svelte-g76q0j"), C.__value = "stopped",
|
|
13631
|
+
)), T(r, "class", "control svelte-g76q0j"), C.__value = "stopped", M(C, C.__value), V.__value = "playing", M(V, V.__value), Y.__value = "paused", M(Y, Y.__value), T(b, "tabindex", -1), T(b, "class", "svelte-g76q0j"), /*playbackState*/
|
|
13624
13632
|
t[20] === void 0 && nt(() => (
|
|
13625
13633
|
/*select1_change_handler*/
|
|
13626
13634
|
t[46].call(b)
|
|
13627
|
-
)), T(_, "class", "control svelte-g76q0j"), T(L, "tabindex", -1), T(L, "type", "text"), T(L, "class", "svelte-g76q0j"), T(j, "class", "control svelte-g76q0j"), T(Te, "tabindex", -1), T(Te, "type", "text"), T(Te, "class", "svelte-g76q0j"), T(x, "class", "control svelte-g76q0j"), U.__value = "auto",
|
|
13635
|
+
)), T(_, "class", "control svelte-g76q0j"), T(L, "tabindex", -1), T(L, "type", "text"), T(L, "class", "svelte-g76q0j"), T(j, "class", "control svelte-g76q0j"), T(Te, "tabindex", -1), T(Te, "type", "text"), T(Te, "class", "svelte-g76q0j"), T(x, "class", "control svelte-g76q0j"), U.__value = "auto", M(U, U.__value), se.__value = "segments", M(se, se.__value), ge.__value = "seconds", M(ge, ge.__value), Z.__value = "seconds-15", M(Z, Z.__value), re.__value = "seconds-15-30", M(re, re.__value), w.__value = "tracks", M(w, w.__value), T($, "tabindex", -1), T($, "class", "svelte-g76q0j"), /*skipButtonStyle*/
|
|
13628
13636
|
t[9] === void 0 && nt(() => (
|
|
13629
13637
|
/*select2_change_handler*/
|
|
13630
13638
|
t[49].call($)
|
|
13631
|
-
)), T(ve, "class", "control svelte-g76q0j"), J.__value = "auto",
|
|
13639
|
+
)), T(ve, "class", "control svelte-g76q0j"), J.__value = "auto", M(J, J.__value), Ce.__value = "show", M(Ce, Ce.__value), Ae.__value = "show-3", M(Ae, Ae.__value), Re.__value = "show-999", M(Re, Re.__value), Fe.__value = "hide", M(Fe, Fe.__value), T(Ie, "tabindex", -1), T(Ie, "class", "svelte-g76q0j"), /*playlistStyle*/
|
|
13632
13640
|
t[10] === void 0 && nt(() => (
|
|
13633
13641
|
/*select3_change_handler*/
|
|
13634
13642
|
t[50].call(Ie)
|
|
13635
|
-
)), T(Se, "class", "control svelte-g76q0j"), Oe.__value = "auto",
|
|
13643
|
+
)), T(Se, "class", "control svelte-g76q0j"), Oe.__value = "auto", M(Oe, Oe.__value), Je.__value = "show", M(Je, Je.__value), He.__value = "hide", M(He, He.__value), T(We, "tabindex", -1), T(We, "class", "svelte-g76q0j"), /*playlistToggle*/
|
|
13636
13644
|
t[11] === void 0 && nt(() => (
|
|
13637
13645
|
/*select4_change_handler*/
|
|
13638
13646
|
t[51].call(We)
|
|
13639
|
-
)), T(ft, "class", "control svelte-g76q0j"), ze.__value = -1,
|
|
13647
|
+
)), T(ft, "class", "control svelte-g76q0j"), ze.__value = -1, M(ze, ze.__value), T(Qe, "tabindex", -1), T(Qe, "class", "svelte-g76q0j"), /*advertIndex*/
|
|
13640
13648
|
t[15] === void 0 && nt(() => (
|
|
13641
13649
|
/*select5_change_handler*/
|
|
13642
13650
|
t[52].call(Qe)
|
|
13643
|
-
)), T(Ge, "class", "control svelte-g76q0j"), ot.__value = "small",
|
|
13651
|
+
)), T(Ge, "class", "control svelte-g76q0j"), ot.__value = "small", M(ot, ot.__value), tt.__value = "standard", M(tt, tt.__value), wt.__value = "large", M(wt, wt.__value), Ue.__value = "video", M(Ue, Ue.__value), T(xe, "tabindex", -1), T(xe, "class", "svelte-g76q0j"), /*widgetStyle*/
|
|
13644
13652
|
t[22] === void 0 && nt(() => (
|
|
13645
13653
|
/*select6_change_handler*/
|
|
13646
13654
|
t[53].call(xe)
|
|
13647
|
-
)), T(Ye, "class", "control svelte-g76q0j"), Le.__value = "auto",
|
|
13655
|
+
)), T(Ye, "class", "control svelte-g76q0j"), Le.__value = "auto", M(Le, Le.__value), Ke.__value = "left", M(Ke, Ke.__value), Ze.__value = "center", M(Ze, Ze.__value), ht.__value = "right", M(ht, ht.__value), T(Ee, "tabindex", -1), T(Ee, "class", "svelte-g76q0j"), /*widgetPosition*/
|
|
13648
13656
|
t[23] === void 0 && nt(() => (
|
|
13649
13657
|
/*select7_change_handler*/
|
|
13650
|
-
t[54].call(
|
|
13651
|
-
)), T(ct, "class", "control svelte-g76q0j"), lt.__value = "auto",
|
|
13658
|
+
t[54].call(Ee)
|
|
13659
|
+
)), T(ct, "class", "control svelte-g76q0j"), lt.__value = "auto", M(lt, lt.__value), Et.__value = "400px", M(Et, Et.__value), Tt.__value = "30rem", M(Tt, Tt.__value), Mt.__value = "fit-content", M(Mt, Mt.__value), at.__value = "initial", M(at, at.__value), Lt.__value = "0", M(Lt, Lt.__value), T(qe, "tabindex", -1), T(qe, "class", "svelte-g76q0j"), /*widgetWidth*/
|
|
13652
13660
|
t[24] === void 0 && nt(() => (
|
|
13653
13661
|
/*select8_change_handler*/
|
|
13654
13662
|
t[55].call(qe)
|
|
13655
|
-
)), T(Pt, "class", "control svelte-g76q0j"), T(ut, "tabindex", -1), T(ut, "type", "text"), T(ut, "class", "svelte-g76q0j"), T(N, "class", "control svelte-g76q0j"), T(oe, "tabindex", -1), T(oe, "type", "text"), T(oe, "class", "svelte-g76q0j"), T(S, "class", "control svelte-g76q0j"), T(zt, "tabindex", -1), T(zt, "type", "text"), T(zt, "class", "svelte-g76q0j"), T(si, "class", "control svelte-g76q0j"), T(dt, "tabindex", -1), T(dt, "type", "text"), T(dt, "class", "svelte-g76q0j"), T(oi, "class", "control svelte-g76q0j"), Nt.__value = "all",
|
|
13663
|
+
)), T(Pt, "class", "control svelte-g76q0j"), T(ut, "tabindex", -1), T(ut, "type", "text"), T(ut, "class", "svelte-g76q0j"), T(N, "class", "control svelte-g76q0j"), T(oe, "tabindex", -1), T(oe, "type", "text"), T(oe, "class", "svelte-g76q0j"), T(S, "class", "control svelte-g76q0j"), T(zt, "tabindex", -1), T(zt, "type", "text"), T(zt, "class", "svelte-g76q0j"), T(si, "class", "control svelte-g76q0j"), T(dt, "tabindex", -1), T(dt, "type", "text"), T(dt, "class", "svelte-g76q0j"), T(oi, "class", "control svelte-g76q0j"), Nt.__value = "all", M(Nt, Nt.__value), Ai.__value = "body", M(Ai, Ai.__value), Dt.__value = "none", M(Dt, Dt.__value), Si.__value = "all-none", M(Si, Si.__value), ri.__value = "none-all", M(ri, ri.__value), T(Ct, "tabindex", -1), T(Ct, "class", "svelte-g76q0j"), /*highlightSections*/
|
|
13656
13664
|
t[33] === void 0 && nt(() => (
|
|
13657
13665
|
/*select9_change_handler*/
|
|
13658
13666
|
t[60].call(Ct)
|
|
13659
|
-
)), T($t, "class", "control svelte-g76q0j"), li.__value = "all",
|
|
13667
|
+
)), T($t, "class", "control svelte-g76q0j"), li.__value = "all", M(li, li.__value), _t.__value = "body", M(_t, _t.__value), ai.__value = "none", M(ai, ai.__value), mt.__value = "all-none", M(mt, mt.__value), ui.__value = "none-all", M(ui, ui.__value), T(Rt, "tabindex", -1), T(Rt, "class", "svelte-g76q0j"), /*clickableSections*/
|
|
13660
13668
|
t[34] === void 0 && nt(() => (
|
|
13661
13669
|
/*select10_change_handler*/
|
|
13662
13670
|
t[61].call(Rt)
|
|
13663
|
-
)), T(qt, "class", "control svelte-g76q0j"), Ht.__value = "all",
|
|
13671
|
+
)), T(qt, "class", "control svelte-g76q0j"), Ht.__value = "all", M(Ht, Ht.__value), nn.__value = "body", M(nn, nn.__value), sn.__value = "none", M(sn, sn.__value), on.__value = "all-none", M(on, on.__value), rn.__value = "none-all", M(rn, rn.__value), T(te, "tabindex", -1), T(te, "class", "svelte-g76q0j"), /*segmentWidgetSections*/
|
|
13664
13672
|
t[35] === void 0 && nt(() => (
|
|
13665
13673
|
/*select11_change_handler*/
|
|
13666
13674
|
t[62].call(te)
|
|
@@ -13681,11 +13689,11 @@ function c2(t) {
|
|
|
13681
13689
|
/*playbackState*/
|
|
13682
13690
|
t[20],
|
|
13683
13691
|
!0
|
|
13684
|
-
), f(e, O), f(e, j), f(j, z), f(j, L),
|
|
13692
|
+
), f(e, O), f(e, j), f(j, z), f(j, L), M(
|
|
13685
13693
|
L,
|
|
13686
13694
|
/*playerTitle*/
|
|
13687
13695
|
t[7]
|
|
13688
|
-
), f(e, K), f(e, x), f(x, X), f(x, Te),
|
|
13696
|
+
), f(e, K), f(e, x), f(x, X), f(x, Te), M(
|
|
13689
13697
|
Te,
|
|
13690
13698
|
/*callToAction*/
|
|
13691
13699
|
t[8]
|
|
@@ -13717,29 +13725,29 @@ function c2(t) {
|
|
|
13717
13725
|
/*widgetStyle*/
|
|
13718
13726
|
t[22],
|
|
13719
13727
|
!0
|
|
13720
|
-
), f(e, bt), f(e, ct), f(ct, R), f(ct,
|
|
13721
|
-
|
|
13728
|
+
), f(e, bt), f(e, ct), f(ct, R), f(ct, Ee), f(Ee, Le), f(Ee, Ke), f(Ee, Ze), f(Ee, ht), Be(
|
|
13729
|
+
Ee,
|
|
13722
13730
|
/*widgetPosition*/
|
|
13723
13731
|
t[23],
|
|
13724
13732
|
!0
|
|
13725
|
-
), f(e, rt), f(e, Pt), f(Pt, kt), f(Pt, qe), f(qe, lt), f(qe,
|
|
13733
|
+
), f(e, rt), f(e, Pt), f(Pt, kt), f(Pt, qe), f(qe, lt), f(qe, Et), f(qe, Tt), f(qe, Mt), f(qe, at), f(qe, Lt), Be(
|
|
13726
13734
|
qe,
|
|
13727
13735
|
/*widgetWidth*/
|
|
13728
13736
|
t[24],
|
|
13729
13737
|
!0
|
|
13730
|
-
), f(e, Ft), f(e, N), f(N, pt), f(N, ut),
|
|
13738
|
+
), f(e, Ft), f(e, N), f(N, pt), f(N, ut), M(
|
|
13731
13739
|
ut,
|
|
13732
13740
|
/*textColor*/
|
|
13733
13741
|
t[26]
|
|
13734
|
-
), f(e, ce), f(e, S), f(S, P), f(S, oe),
|
|
13742
|
+
), f(e, ce), f(e, S), f(S, P), f(S, oe), M(
|
|
13735
13743
|
oe,
|
|
13736
13744
|
/*backgroundColor*/
|
|
13737
13745
|
t[27]
|
|
13738
|
-
), f(e, Vt), f(e, si), f(si, pi), f(si, zt),
|
|
13746
|
+
), f(e, Vt), f(e, si), f(si, pi), f(si, zt), M(
|
|
13739
13747
|
zt,
|
|
13740
13748
|
/*iconColor*/
|
|
13741
13749
|
t[28]
|
|
13742
|
-
), f(e, Ri), f(e, oi), f(oi, en), f(oi, dt),
|
|
13750
|
+
), f(e, Ri), f(e, oi), f(oi, en), f(oi, dt), M(
|
|
13743
13751
|
dt,
|
|
13744
13752
|
/*highlightColor*/
|
|
13745
13753
|
t[29]
|
|
@@ -13822,7 +13830,7 @@ function c2(t) {
|
|
|
13822
13830
|
t[53]
|
|
13823
13831
|
),
|
|
13824
13832
|
D(
|
|
13825
|
-
|
|
13833
|
+
Ee,
|
|
13826
13834
|
"change",
|
|
13827
13835
|
/*select7_change_handler*/
|
|
13828
13836
|
t[54]
|
|
@@ -13896,13 +13904,13 @@ function c2(t) {
|
|
|
13896
13904
|
de[20]
|
|
13897
13905
|
), it[0] & /*playerTitle*/
|
|
13898
13906
|
128 && L.value !== /*playerTitle*/
|
|
13899
|
-
de[7] &&
|
|
13907
|
+
de[7] && M(
|
|
13900
13908
|
L,
|
|
13901
13909
|
/*playerTitle*/
|
|
13902
13910
|
de[7]
|
|
13903
13911
|
), it[0] & /*callToAction*/
|
|
13904
13912
|
256 && Te.value !== /*callToAction*/
|
|
13905
|
-
de[8] &&
|
|
13913
|
+
de[8] && M(
|
|
13906
13914
|
Te,
|
|
13907
13915
|
/*callToAction*/
|
|
13908
13916
|
de[8]
|
|
@@ -13948,7 +13956,7 @@ function c2(t) {
|
|
|
13948
13956
|
de[22]
|
|
13949
13957
|
), it[0] & /*widgetPosition*/
|
|
13950
13958
|
8388608 && Be(
|
|
13951
|
-
|
|
13959
|
+
Ee,
|
|
13952
13960
|
/*widgetPosition*/
|
|
13953
13961
|
de[23]
|
|
13954
13962
|
), it[0] & /*widgetWidth*/
|
|
@@ -13958,25 +13966,25 @@ function c2(t) {
|
|
|
13958
13966
|
de[24]
|
|
13959
13967
|
), it[0] & /*textColor*/
|
|
13960
13968
|
67108864 && ut.value !== /*textColor*/
|
|
13961
|
-
de[26] &&
|
|
13969
|
+
de[26] && M(
|
|
13962
13970
|
ut,
|
|
13963
13971
|
/*textColor*/
|
|
13964
13972
|
de[26]
|
|
13965
13973
|
), it[0] & /*backgroundColor*/
|
|
13966
13974
|
134217728 && oe.value !== /*backgroundColor*/
|
|
13967
|
-
de[27] &&
|
|
13975
|
+
de[27] && M(
|
|
13968
13976
|
oe,
|
|
13969
13977
|
/*backgroundColor*/
|
|
13970
13978
|
de[27]
|
|
13971
13979
|
), it[0] & /*iconColor*/
|
|
13972
13980
|
268435456 && zt.value !== /*iconColor*/
|
|
13973
|
-
de[28] &&
|
|
13981
|
+
de[28] && M(
|
|
13974
13982
|
zt,
|
|
13975
13983
|
/*iconColor*/
|
|
13976
13984
|
de[28]
|
|
13977
13985
|
), it[0] & /*highlightColor*/
|
|
13978
13986
|
536870912 && dt.value !== /*highlightColor*/
|
|
13979
|
-
de[29] &&
|
|
13987
|
+
de[29] && M(
|
|
13980
13988
|
dt,
|
|
13981
13989
|
/*highlightColor*/
|
|
13982
13990
|
de[29]
|
|
@@ -14010,7 +14018,7 @@ function c2(t) {
|
|
|
14010
14018
|
}
|
|
14011
14019
|
};
|
|
14012
14020
|
}
|
|
14013
|
-
function
|
|
14021
|
+
function g2(t, e, i) {
|
|
14014
14022
|
import("./././././././././style.js");
|
|
14015
14023
|
let { projectId: n } = e, { contentId: s } = e, { playlistId: o } = e, { sourceId: r } = e, { sourceUrl: l } = e, { showUserInterface: a } = e, { playerStyle: d } = e, { playerTitle: u } = e, { callToAction: g } = e, { skipButtonStyle: m } = e, { playlistStyle: v } = e, { playlistToggle: _ } = e, { mediaSession: k } = e, { content: b } = e, { contentIndex: C } = e, { introsOutros: V } = e, { introsOutrosIndex: Y } = e, { adverts: O } = e, { advertIndex: j } = e, { persistentAdImage: z } = e, { persistentIndex: L } = e, { duration: K } = e, { currentTime: x } = e, { playbackState: X } = e, { playbackRate: Te } = e, { widgetStyle: me } = e, { widgetPosition: ve } = e, { widgetWidth: ie } = e, { widgetTarget: $ } = e, { textColor: U } = e, { backgroundColor: se } = e, { iconColor: ge } = e, { highlightColor: Z } = e, { videoTextColor: re } = e, { videoIconColor: w } = e, { logoIconEnabled: F } = e, { highlightSections: Se } = e, { clickableSections: we } = e, { segmentWidgetSections: Ie } = e, { segmentWidgetPosition: J } = e, { advertConsent: Ce } = e, { analyticsConsent: Ae } = e, { analyticsCustomUrl: Re } = e, { analyticsTag: Fe } = e, et = !1;
|
|
14016
14024
|
function ft() {
|
|
@@ -14079,7 +14087,7 @@ function d2(t, e, i) {
|
|
|
14079
14087
|
function R() {
|
|
14080
14088
|
o = this.value, i(2, o);
|
|
14081
14089
|
}
|
|
14082
|
-
function
|
|
14090
|
+
function Ee() {
|
|
14083
14091
|
r = this.value, i(3, r);
|
|
14084
14092
|
}
|
|
14085
14093
|
function Le() {
|
|
@@ -14109,13 +14117,13 @@ function d2(t, e, i) {
|
|
|
14109
14117
|
function lt() {
|
|
14110
14118
|
L = At(this), i(17, L);
|
|
14111
14119
|
}
|
|
14112
|
-
function
|
|
14120
|
+
function Et() {
|
|
14113
14121
|
K = this.value, i(18, K);
|
|
14114
14122
|
}
|
|
14115
14123
|
function Tt() {
|
|
14116
14124
|
x = this.value, i(19, x);
|
|
14117
14125
|
}
|
|
14118
|
-
function
|
|
14126
|
+
function Mt() {
|
|
14119
14127
|
Te = this.value, i(21, Te);
|
|
14120
14128
|
}
|
|
14121
14129
|
function at() {
|
|
@@ -14207,7 +14215,7 @@ function d2(t, e, i) {
|
|
|
14207
14215
|
bt,
|
|
14208
14216
|
ct,
|
|
14209
14217
|
R,
|
|
14210
|
-
|
|
14218
|
+
Ee,
|
|
14211
14219
|
Le,
|
|
14212
14220
|
Ke,
|
|
14213
14221
|
Ze,
|
|
@@ -14217,9 +14225,9 @@ function d2(t, e, i) {
|
|
|
14217
14225
|
kt,
|
|
14218
14226
|
qe,
|
|
14219
14227
|
lt,
|
|
14220
|
-
Mt,
|
|
14221
|
-
Tt,
|
|
14222
14228
|
Et,
|
|
14229
|
+
Tt,
|
|
14230
|
+
Mt,
|
|
14223
14231
|
at,
|
|
14224
14232
|
Lt,
|
|
14225
14233
|
Ft,
|
|
@@ -14230,13 +14238,13 @@ function d2(t, e, i) {
|
|
|
14230
14238
|
S
|
|
14231
14239
|
];
|
|
14232
14240
|
}
|
|
14233
|
-
class
|
|
14241
|
+
class f2 extends pe {
|
|
14234
14242
|
constructor(e) {
|
|
14235
14243
|
super(), ke(
|
|
14236
14244
|
this,
|
|
14237
14245
|
e,
|
|
14246
|
+
g2,
|
|
14238
14247
|
d2,
|
|
14239
|
-
c2,
|
|
14240
14248
|
be,
|
|
14241
14249
|
{
|
|
14242
14250
|
projectId: 0,
|
|
@@ -14553,27 +14561,27 @@ class g2 extends pe {
|
|
|
14553
14561
|
this.$$set({ analyticsTag: e }), c();
|
|
14554
14562
|
}
|
|
14555
14563
|
}
|
|
14556
|
-
const
|
|
14557
|
-
|
|
14564
|
+
const h2 = (t, e, i) => {
|
|
14565
|
+
v2(t);
|
|
14558
14566
|
const n = new Image();
|
|
14559
14567
|
return n.setAttribute("crossorigin", "anonymous"), new Promise((s, o) => {
|
|
14560
|
-
n.addEventListener("load",
|
|
14568
|
+
n.addEventListener("load", _2(n, e, i, s, o)), n.addEventListener("error", o), n.src = t;
|
|
14561
14569
|
});
|
|
14562
|
-
},
|
|
14570
|
+
}, _2 = (t, e, i, n, s) => () => {
|
|
14563
14571
|
const o = document.createElement("canvas"), r = o.getContext("2d");
|
|
14564
|
-
o.width = e, o.height = i, r.drawImage(t, 0, 0, e, i), o.toBlob(
|
|
14565
|
-
}, zn = {},
|
|
14572
|
+
o.width = e, o.height = i, r.drawImage(t, 0, 0, e, i), o.toBlob(m2(t, e, i, n, s));
|
|
14573
|
+
}, zn = {}, m2 = (t, e, i, n, s) => (o) => {
|
|
14566
14574
|
var l;
|
|
14567
14575
|
o || s();
|
|
14568
14576
|
const r = URL.createObjectURL(o);
|
|
14569
14577
|
zn[l = t.src] || (zn[l] = []), zn[t.src].push(r), n({ src: r, sizes: `${e}x${i}`, type: "image/png" });
|
|
14570
|
-
},
|
|
14578
|
+
}, v2 = (t) => {
|
|
14571
14579
|
Object.keys(zn).filter((n) => n !== t).map((n) => zn[n]).flat().forEach((n) => URL.revokeObjectURL(n));
|
|
14572
|
-
},
|
|
14580
|
+
}, y2 = (t, e, i) => vi(void 0, null, function* () {
|
|
14573
14581
|
t = yield t;
|
|
14574
14582
|
const n = t.innerHTML;
|
|
14575
14583
|
return { src: `data:image/svg+xml,${encodeURIComponent(n)}`, sizes: `${e}x${i}`, type: "image/svg+xml" };
|
|
14576
|
-
}),
|
|
14584
|
+
}), b2 = (t, e, i) => Ut(t, e, i, 1), k2 = (t, e, i) => Pe(t, e, e === "style" ? S2(i) : i), p2 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, S2 = (t) => t.split(p2).filter((e) => e).map((e) => e + " !important").join(";");
|
|
14577
14585
|
function rl(t, e, i) {
|
|
14578
14586
|
const n = t.slice();
|
|
14579
14587
|
return n[39] = e[i], n[40] = e, n[41] = i, n;
|
|
@@ -14609,7 +14617,7 @@ function ll(t) {
|
|
|
14609
14617
|
);
|
|
14610
14618
|
return {
|
|
14611
14619
|
c() {
|
|
14612
|
-
e = y("div"), ue(i.$$.fragment), n = H(),
|
|
14620
|
+
e = y("div"), ue(i.$$.fragment), n = H(), b2(e, "display", "none");
|
|
14613
14621
|
},
|
|
14614
14622
|
m(a, d) {
|
|
14615
14623
|
B(a, e, d), le(i, e, null), f(e, n), r(), o = !0;
|
|
@@ -14636,7 +14644,7 @@ function ll(t) {
|
|
|
14636
14644
|
}
|
|
14637
14645
|
};
|
|
14638
14646
|
}
|
|
14639
|
-
function
|
|
14647
|
+
function w2(t) {
|
|
14640
14648
|
let e, i, n = Qt(
|
|
14641
14649
|
/*imageSizes*/
|
|
14642
14650
|
t[3]
|
|
@@ -14651,7 +14659,7 @@ function S2(t) {
|
|
|
14651
14659
|
e = y("div");
|
|
14652
14660
|
for (let r = 0; r < s.length; r += 1)
|
|
14653
14661
|
s[r].c();
|
|
14654
|
-
|
|
14662
|
+
k2(e, "class", "media-session");
|
|
14655
14663
|
},
|
|
14656
14664
|
m(r, l) {
|
|
14657
14665
|
B(r, e, l);
|
|
@@ -14694,7 +14702,7 @@ function S2(t) {
|
|
|
14694
14702
|
}
|
|
14695
14703
|
};
|
|
14696
14704
|
}
|
|
14697
|
-
function
|
|
14705
|
+
function P2(t, e, i) {
|
|
14698
14706
|
let n, s, o, r, l, a, d, u, g, m, v, _, k, b, C, V, Y, O, j, z, L;
|
|
14699
14707
|
const K = [96, 128, 192, 256, 384, 512], x = [
|
|
14700
14708
|
"hangup",
|
|
@@ -14749,9 +14757,9 @@ function w2(t, e, i) {
|
|
|
14749
14757
|
12 && i(32, k = s && me.imageUrl || !n && (ve == null ? void 0 : ve.imageUrl) || (r == null ? void 0 : r.imageUrl)), t.$$.dirty[0] & /*failedUrls*/
|
|
14750
14758
|
32768 | t.$$.dirty[1] & /*imageUrl_*/
|
|
14751
14759
|
2 && i(28, b = w.has(k) ? null : k), t.$$.dirty[0] & /*imageUrl*/
|
|
14752
|
-
268435456 && i(31, C = b ? K.map((J) =>
|
|
14760
|
+
268435456 && i(31, C = b ? K.map((J) => h2(b, J, J)) : []), t.$$.dirty[0] & /*imageUrl*/
|
|
14753
14761
|
268435456 && i(30, V = b ? [{ src: b, sizes: "any" }] : []), t.$$.dirty[0] & /*imageUrl, renderedSvgs*/
|
|
14754
|
-
268500992 && i(29, Y = b ? [] : K.map((J, Ce) =>
|
|
14762
|
+
268500992 && i(29, Y = b ? [] : K.map((J, Ce) => y2(Se[Ce], J, J))), t.$$.dirty[0] & /*urlArtworks, svgArtworks*/
|
|
14755
14763
|
1610612736 | t.$$.dirty[1] & /*pngArtworks*/
|
|
14756
14764
|
1 && i(26, O = Promise.all([...C, ...V, ...Y])), t.$$.dirty[0] & /*contentItem*/
|
|
14757
14765
|
134217728 && i(25, j = (r == null ? void 0 : r.title) || ""), t.$$.dirty[0] & /*artworks*/
|
|
@@ -14862,13 +14870,13 @@ function w2(t, e, i) {
|
|
|
14862
14870
|
Ie
|
|
14863
14871
|
];
|
|
14864
14872
|
}
|
|
14865
|
-
class
|
|
14873
|
+
class T2 extends pe {
|
|
14866
14874
|
constructor(e) {
|
|
14867
14875
|
super(), ke(
|
|
14868
14876
|
this,
|
|
14869
14877
|
e,
|
|
14878
|
+
P2,
|
|
14870
14879
|
w2,
|
|
14871
|
-
S2,
|
|
14872
14880
|
be,
|
|
14873
14881
|
{
|
|
14874
14882
|
content: 4,
|
|
@@ -14947,7 +14955,7 @@ class P2 extends pe {
|
|
|
14947
14955
|
this.$$set({ onEvent: e }), c();
|
|
14948
14956
|
}
|
|
14949
14957
|
}
|
|
14950
|
-
const al = (t, e, i) => Pe(t, e, e === "style" ?
|
|
14958
|
+
const al = (t, e, i) => Pe(t, e, e === "style" ? A2(i) : i), C2 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, A2 = (t) => t.split(C2).filter((e) => e).map((e) => e + " !important").join(";");
|
|
14951
14959
|
function ul(t) {
|
|
14952
14960
|
let e, i, n, s;
|
|
14953
14961
|
return {
|
|
@@ -14970,7 +14978,7 @@ function ul(t) {
|
|
|
14970
14978
|
}
|
|
14971
14979
|
};
|
|
14972
14980
|
}
|
|
14973
|
-
function
|
|
14981
|
+
function B2(t) {
|
|
14974
14982
|
let e, i = !/*alreadyLoaded*/
|
|
14975
14983
|
t[1] && ul(t);
|
|
14976
14984
|
return {
|
|
@@ -14991,15 +14999,15 @@ function A2(t) {
|
|
|
14991
14999
|
}
|
|
14992
15000
|
};
|
|
14993
15001
|
}
|
|
14994
|
-
function
|
|
15002
|
+
function I2(t, e, i) {
|
|
14995
15003
|
let n, { analyticsTag: s } = e;
|
|
14996
15004
|
return t.$$set = (o) => {
|
|
14997
15005
|
"analyticsTag" in o && i(0, s = o.analyticsTag);
|
|
14998
15006
|
}, i(1, n = window.gtag), [s, n];
|
|
14999
15007
|
}
|
|
15000
|
-
class
|
|
15008
|
+
class V2 extends pe {
|
|
15001
15009
|
constructor(e) {
|
|
15002
|
-
super(), ke(this, e,
|
|
15010
|
+
super(), ke(this, e, I2, B2, be, { analyticsTag: 0 });
|
|
15003
15011
|
}
|
|
15004
15012
|
get analyticsTag() {
|
|
15005
15013
|
return this.$$.ctx[0];
|
|
@@ -15008,7 +15016,7 @@ class I2 extends pe {
|
|
|
15008
15016
|
this.$$set({ analyticsTag: e }), c();
|
|
15009
15017
|
}
|
|
15010
15018
|
}
|
|
15011
|
-
class
|
|
15019
|
+
class W2 extends pe {
|
|
15012
15020
|
constructor(e) {
|
|
15013
15021
|
super(), ke(this, e, null, null, be, {});
|
|
15014
15022
|
}
|
|
@@ -15025,16 +15033,16 @@ class or {
|
|
|
15025
15033
|
var o;
|
|
15026
15034
|
(o = this.consumers)[e] || (o[e] = []);
|
|
15027
15035
|
const s = this.consumers[e].slice(-1)[0];
|
|
15028
|
-
this.consumers[e].push({ consumerId: i, args: n }), !(s &&
|
|
15036
|
+
this.consumers[e].push({ consumerId: i, args: n }), !(s && E(this, rs, Fo).call(this, n, s.args)) && (s && this.onDeselected(e, ...s.args), this.onSelected(e, ...n));
|
|
15029
15037
|
}
|
|
15030
15038
|
removeInterest(e, i) {
|
|
15031
15039
|
var r;
|
|
15032
15040
|
(r = this.consumers)[e] || (r[e] = []);
|
|
15033
15041
|
const n = this.consumers[e].slice(-1)[0];
|
|
15034
|
-
if (
|
|
15042
|
+
if (E(this, Qs, Kl).call(this, this.consumers[e], (l) => l.consumerId === i), !(n && i === n.consumerId))
|
|
15035
15043
|
return;
|
|
15036
15044
|
const o = this.consumers[e].slice(-1)[0];
|
|
15037
|
-
o &&
|
|
15045
|
+
o && E(this, rs, Fo).call(this, n.args, o.args) || (this.onDeselected(e, ...n.args), o && this.onSelected(e, ...o.args));
|
|
15038
15046
|
}
|
|
15039
15047
|
}
|
|
15040
15048
|
rs = new WeakSet(), Fo = function(e, i) {
|
|
@@ -15080,7 +15088,7 @@ ls = new WeakMap(), $s = new WeakSet(), Jl = function(e, i) {
|
|
|
15080
15088
|
for (const r of o.childNodes)
|
|
15081
15089
|
o.parentNode.insertBefore(r, o), o.remove();
|
|
15082
15090
|
}
|
|
15083
|
-
}, Ve(Hi, $s), Ve(Hi, eo), Ve(Hi, ls, new or(
|
|
15091
|
+
}, Ve(Hi, $s), Ve(Hi, eo), Ve(Hi, ls, new or(E(Hi, $s, Jl), E(Hi, eo, Xl)));
|
|
15084
15092
|
let qo = Hi;
|
|
15085
15093
|
const dl = ["beyondwords-clickable", "bwp"];
|
|
15086
15094
|
var as, to, Ql, io, $l;
|
|
@@ -15098,7 +15106,7 @@ as = new WeakMap(), to = new WeakSet(), Ql = function(e) {
|
|
|
15098
15106
|
const i = document.querySelectorAll(`[${_n}="${e}"]`);
|
|
15099
15107
|
for (const n of i)
|
|
15100
15108
|
ea(n, dl);
|
|
15101
|
-
}, Ve(Yi, to), Ve(Yi, io), Ve(Yi, as, new or(
|
|
15109
|
+
}, Ve(Yi, to), Ve(Yi, io), Ve(Yi, as, new or(E(Yi, to, Ql), E(Yi, io, $l)));
|
|
15102
15110
|
let Ho = Yi;
|
|
15103
15111
|
const ea = (t, e) => {
|
|
15104
15112
|
if (!t)
|
|
@@ -15133,9 +15141,9 @@ us = new WeakMap(), no = new WeakSet(), ta = function(e, i, n, s) {
|
|
|
15133
15141
|
ea(a, fl), i.containers[r].remove(), i.containers.splice(r, 1), r -= 1;
|
|
15134
15142
|
}
|
|
15135
15143
|
i.onUpdate(i.containers);
|
|
15136
|
-
}, Ve(Zi, no), Ve(Zi, so), Ve(Zi, us, new or(
|
|
15144
|
+
}, Ve(Zi, no), Ve(Zi, so), Ve(Zi, us, new or(E(Zi, no, ta), E(Zi, so, ia)));
|
|
15137
15145
|
let Yo = Zi;
|
|
15138
|
-
const
|
|
15146
|
+
const O2 = () => _e({
|
|
15139
15147
|
type: "IdentifiersChanged",
|
|
15140
15148
|
description: "The Player's content identifiers changed.",
|
|
15141
15149
|
initiatedBy: "browser"
|
|
@@ -15147,17 +15155,17 @@ const W2 = () => _e({
|
|
|
15147
15155
|
responseStatus: s == null ? void 0 : s.status,
|
|
15148
15156
|
responseJson: o
|
|
15149
15157
|
})), o;
|
|
15150
|
-
}),
|
|
15158
|
+
}), j2 = (t, e) => Tn(t, {
|
|
15151
15159
|
method: "POST",
|
|
15152
15160
|
headers: { "Content-Type": "application/json" },
|
|
15153
15161
|
body: JSON.stringify(e, (i, n) => n === void 0 ? null : n)
|
|
15154
15162
|
});
|
|
15155
15163
|
var oo, na;
|
|
15156
|
-
class
|
|
15164
|
+
class E2 {
|
|
15157
15165
|
constructor(e, i, n) {
|
|
15158
15166
|
// private
|
|
15159
15167
|
Ve(this, oo);
|
|
15160
|
-
this.baseUrl =
|
|
15168
|
+
this.baseUrl = E(this, oo, na).call(this, e), this.projectId = i, this.writeToken = n;
|
|
15161
15169
|
}
|
|
15162
15170
|
getWebSocketToken() {
|
|
15163
15171
|
return vi(this, null, function* () {
|
|
@@ -15186,11 +15194,11 @@ oo = new WeakSet(), na = function(e) {
|
|
|
15186
15194
|
};
|
|
15187
15195
|
let kn;
|
|
15188
15196
|
const M2 = (t, e, i, n) => vi(void 0, null, function* () {
|
|
15189
|
-
!t || !e || !i || (kn == null || kn.destroy(), kn = new
|
|
15190
|
-
}),
|
|
15197
|
+
!t || !e || !i || (kn == null || kn.destroy(), kn = new E2(t, e, i), yield kn.getWebSocketToken(), yield kn.establishConnection(z2(n), D2), yield kn.subscribeToStatusChanges());
|
|
15198
|
+
}), z2 = (t) => (e) => {
|
|
15191
15199
|
var s, o;
|
|
15192
|
-
((o = (s = e == null ? void 0 : e.message) == null ? void 0 : s.result) == null ? void 0 : o.action) === "podcast_state_updated" &&
|
|
15193
|
-
},
|
|
15200
|
+
((o = (s = e == null ? void 0 : e.message) == null ? void 0 : s.result) == null ? void 0 : o.action) === "podcast_state_updated" && L2(e, t), e.type === "reject_subscription" && N2(e);
|
|
15201
|
+
}, L2 = (t, e) => {
|
|
15194
15202
|
const i = t.message.result;
|
|
15195
15203
|
e(_e({
|
|
15196
15204
|
type: "ContentStatusChanged",
|
|
@@ -15202,9 +15210,9 @@ const M2 = (t, e, i, n) => vi(void 0, null, function* () {
|
|
|
15202
15210
|
sourceUrl: i.source_url,
|
|
15203
15211
|
contentStatus: i.state
|
|
15204
15212
|
}));
|
|
15205
|
-
}, L2 = (t) => {
|
|
15206
|
-
ci("The WebSocket status change subscription was rejected.", { webSocketEvent: t });
|
|
15207
15213
|
}, N2 = (t) => {
|
|
15214
|
+
ci("The WebSocket status change subscription was rejected.", { webSocketEvent: t });
|
|
15215
|
+
}, D2 = (t) => {
|
|
15208
15216
|
ci("Unexpected WebSocket error.", { error: t });
|
|
15209
15217
|
}, sa = (t) => {
|
|
15210
15218
|
if (!t())
|
|
@@ -15212,9 +15220,9 @@ const M2 = (t, e, i, n) => vi(void 0, null, function* () {
|
|
|
15212
15220
|
setInterval(() => t() && e(), 10);
|
|
15213
15221
|
});
|
|
15214
15222
|
}, Ks = (t) => {
|
|
15215
|
-
const i = Object.keys(t.$$.props).filter((n) => !
|
|
15223
|
+
const i = Object.keys(t.$$.props).filter((n) => !R2.has(n)).map((n) => [n, t[n]]);
|
|
15216
15224
|
return Object.fromEntries(i);
|
|
15217
|
-
},
|
|
15225
|
+
}, R2 = /* @__PURE__ */ new Set([
|
|
15218
15226
|
"addEventListener",
|
|
15219
15227
|
"removeEventListener",
|
|
15220
15228
|
"mediaElement",
|
|
@@ -15230,30 +15238,30 @@ const M2 = (t, e, i, n) => vi(void 0, null, function* () {
|
|
|
15230
15238
|
return n;
|
|
15231
15239
|
};
|
|
15232
15240
|
let Xn = -1;
|
|
15233
|
-
const ra = [],
|
|
15241
|
+
const ra = [], x2 = (t, e, i) => vi(void 0, null, function* () {
|
|
15234
15242
|
yield sa(() => e.player);
|
|
15235
|
-
const n = e.player, s =
|
|
15236
|
-
s > Xn &&
|
|
15237
|
-
}),
|
|
15243
|
+
const n = e.player, s = U2(n.contentIndex, i, t);
|
|
15244
|
+
s > Xn && F2(n, Xn, s, t), s < Xn && q2(n, Xn, s), Xn = s;
|
|
15245
|
+
}), U2 = (t, e, i) => {
|
|
15238
15246
|
const n = i.findIndex((o) => o[0] === t && o[1] > e || o[0] > t);
|
|
15239
15247
|
return n === -1 ? i.length - 1 : n - 1;
|
|
15240
|
-
},
|
|
15248
|
+
}, F2 = (t, e, i, n) => {
|
|
15241
15249
|
for (let s = e + 1; s <= i; s += 1) {
|
|
15242
15250
|
const o = Ks(t);
|
|
15243
15251
|
n[s][2](t);
|
|
15244
15252
|
const r = Ks(t), l = oa(o, r);
|
|
15245
15253
|
ra.push(l);
|
|
15246
15254
|
}
|
|
15247
|
-
},
|
|
15255
|
+
}, q2 = (t, e, i) => {
|
|
15248
15256
|
for (let n = e; n > i; n -= 1) {
|
|
15249
15257
|
const s = ra.pop();
|
|
15250
15258
|
for (const [o, r] of Object.entries(s))
|
|
15251
15259
|
t[o] = r.previousValue;
|
|
15252
15260
|
}
|
|
15253
|
-
},
|
|
15261
|
+
}, H2 = (t) => t ? Y2(t) ? { newTarget: G2(t), showUserInterface: !0 } : typeof t == "string" ? { newTarget: Zo(t), showUserInterface: !0 } : { newTarget: t, showUserInterface: !0 } : { newTarget: Z2(), showUserInterface: !1 }, Y2 = (t) => typeof t == "object" && t.nodeName.toLowerCase() === "script", Z2 = () => {
|
|
15254
15262
|
const t = document.createElement("div");
|
|
15255
15263
|
return document.body.appendChild(t), t;
|
|
15256
|
-
},
|
|
15264
|
+
}, G2 = (t) => {
|
|
15257
15265
|
const e = document.createElement("div");
|
|
15258
15266
|
return t.parentNode.insertBefore(e, t.nextSibling), e;
|
|
15259
15267
|
}, Zo = (t, e = "player") => {
|
|
@@ -15261,12 +15269,12 @@ const ra = [], R2 = (t, e, i) => vi(void 0, null, function* () {
|
|
|
15261
15269
|
return t;
|
|
15262
15270
|
const i = document.querySelectorAll(t);
|
|
15263
15271
|
return i.length === 0 && ci(`Failed to initialize ${e} because the target could not be found.`, { target: t, elements: i }), i.length > 1 && ci(`Failed to initialize ${e} because the target is ambiguous. (${i.length} elements match)`, { target: t, elements: i }), i[0];
|
|
15264
|
-
},
|
|
15272
|
+
}, K2 = ["small", "standard", "large", "screen", "video"], Go = (t) => K2.indexOf(t) !== -1;
|
|
15265
15273
|
function hl(t, e, i) {
|
|
15266
15274
|
const n = t.slice();
|
|
15267
15275
|
return n[157] = e[i], n;
|
|
15268
15276
|
}
|
|
15269
|
-
function
|
|
15277
|
+
function J2(t) {
|
|
15270
15278
|
let e, i, n, s, o, r, l, a;
|
|
15271
15279
|
function d(b) {
|
|
15272
15280
|
t[103](b);
|
|
@@ -15353,7 +15361,7 @@ function K2(t) {
|
|
|
15353
15361
|
t[48] !== void 0 && (k.prevPercentage = /*prevPercentage*/
|
|
15354
15362
|
t[48]), /*isLoaded*/
|
|
15355
15363
|
t[23] !== void 0 && (k.isLoaded = /*isLoaded*/
|
|
15356
|
-
t[23]), e = new
|
|
15364
|
+
t[23]), e = new sf({ props: k }), t[102](e), ee.push(() => he(e, "playbackState", d)), ee.push(() => he(e, "duration", u)), ee.push(() => he(e, "currentTime", g)), ee.push(() => he(e, "playbackRate", m)), ee.push(() => he(e, "prevPercentage", v)), ee.push(() => he(e, "isLoaded", _)), {
|
|
15357
15365
|
c() {
|
|
15358
15366
|
ue(e.$$.fragment);
|
|
15359
15367
|
},
|
|
@@ -15605,7 +15613,7 @@ function ml(t) {
|
|
|
15605
15613
|
/*widgetTarget*/
|
|
15606
15614
|
t[14]
|
|
15607
15615
|
),
|
|
15608
|
-
$$slots: { default: [
|
|
15616
|
+
$$slots: { default: [X2] },
|
|
15609
15617
|
$$scope: { ctx: t }
|
|
15610
15618
|
}
|
|
15611
15619
|
}), {
|
|
@@ -15636,7 +15644,7 @@ function ml(t) {
|
|
|
15636
15644
|
}
|
|
15637
15645
|
};
|
|
15638
15646
|
}
|
|
15639
|
-
function
|
|
15647
|
+
function X2(t) {
|
|
15640
15648
|
let e, i, n = {
|
|
15641
15649
|
onEvent: (
|
|
15642
15650
|
/*onEvent*/
|
|
@@ -15818,7 +15826,7 @@ function J2(t) {
|
|
|
15818
15826
|
}
|
|
15819
15827
|
};
|
|
15820
15828
|
}
|
|
15821
|
-
function
|
|
15829
|
+
function Q2(t) {
|
|
15822
15830
|
let e, i;
|
|
15823
15831
|
return e = new sr({
|
|
15824
15832
|
props: {
|
|
@@ -15962,7 +15970,7 @@ function vl(t, e) {
|
|
|
15962
15970
|
/*root*/
|
|
15963
15971
|
e[157]
|
|
15964
15972
|
),
|
|
15965
|
-
$$slots: { default: [
|
|
15973
|
+
$$slots: { default: [Q2] },
|
|
15966
15974
|
$$scope: { ctx: e }
|
|
15967
15975
|
}
|
|
15968
15976
|
}), {
|
|
@@ -16004,7 +16012,7 @@ function yl(t) {
|
|
|
16004
16012
|
/*controlPanel*/
|
|
16005
16013
|
t[22]
|
|
16006
16014
|
),
|
|
16007
|
-
$$slots: { default: [
|
|
16015
|
+
$$slots: { default: [$2] },
|
|
16008
16016
|
$$scope: { ctx: t }
|
|
16009
16017
|
}
|
|
16010
16018
|
}), {
|
|
@@ -16034,7 +16042,7 @@ function yl(t) {
|
|
|
16034
16042
|
}
|
|
16035
16043
|
};
|
|
16036
16044
|
}
|
|
16037
|
-
function
|
|
16045
|
+
function $2(t) {
|
|
16038
16046
|
let e, i, n, s, o, r, l, a, d, u, g, m, v, _, k, b, C, V, Y, O, j, z, L, K, x, X, Te, me, ve, ie, $, U, se, ge, Z, re, w, F, Se, we, Ie, J, Ce, Ae, Re;
|
|
16039
16047
|
function Fe(S) {
|
|
16040
16048
|
t[112](S);
|
|
@@ -16108,7 +16116,7 @@ function Q2(t) {
|
|
|
16108
16116
|
function R(S) {
|
|
16109
16117
|
t[135](S);
|
|
16110
16118
|
}
|
|
16111
|
-
function
|
|
16119
|
+
function Ee(S) {
|
|
16112
16120
|
t[136](S);
|
|
16113
16121
|
}
|
|
16114
16122
|
function Le(S) {
|
|
@@ -16138,13 +16146,13 @@ function Q2(t) {
|
|
|
16138
16146
|
function lt(S) {
|
|
16139
16147
|
t[145](S);
|
|
16140
16148
|
}
|
|
16141
|
-
function
|
|
16149
|
+
function Et(S) {
|
|
16142
16150
|
t[146](S);
|
|
16143
16151
|
}
|
|
16144
16152
|
function Tt(S) {
|
|
16145
16153
|
t[147](S);
|
|
16146
16154
|
}
|
|
16147
|
-
function
|
|
16155
|
+
function Mt(S) {
|
|
16148
16156
|
t[148](S);
|
|
16149
16157
|
}
|
|
16150
16158
|
function at(S) {
|
|
@@ -16266,7 +16274,7 @@ function Q2(t) {
|
|
|
16266
16274
|
t[43] !== void 0 && (ce.analyticsCustomUrl = /*analyticsCustomUrl*/
|
|
16267
16275
|
t[43]), /*analyticsTag*/
|
|
16268
16276
|
t[44] !== void 0 && (ce.analyticsTag = /*analyticsTag*/
|
|
16269
|
-
t[44]), e = new
|
|
16277
|
+
t[44]), e = new f2({ props: ce }), ee.push(() => he(e, "projectId", Fe)), ee.push(() => he(e, "contentId", et)), ee.push(() => he(e, "playlistId", ft)), ee.push(() => he(e, "sourceId", yt)), ee.push(() => he(e, "sourceUrl", We)), ee.push(() => he(e, "showUserInterface", Oe)), ee.push(() => he(e, "playerStyle", Je)), ee.push(() => he(e, "playerTitle", He)), ee.push(() => he(e, "callToAction", St)), ee.push(() => he(e, "skipButtonStyle", Ge)), ee.push(() => he(e, "playlistStyle", Xe)), ee.push(() => he(e, "playlistToggle", Qe)), ee.push(() => he(e, "mediaSession", ze)), ee.push(() => he(e, "contentIndex", $e)), ee.push(() => he(e, "introsOutrosIndex", Ye)), ee.push(() => he(e, "advertIndex", gt)), ee.push(() => he(e, "persistentAdImage", xe)), ee.push(() => he(e, "persistentIndex", ot)), ee.push(() => he(e, "duration", tt)), ee.push(() => he(e, "currentTime", wt)), ee.push(() => he(e, "playbackState", Ue)), ee.push(() => he(e, "playbackRate", bt)), ee.push(() => he(e, "widgetStyle", ct)), ee.push(() => he(e, "widgetPosition", R)), ee.push(() => he(e, "widgetWidth", Ee)), ee.push(() => he(e, "widgetTarget", Le)), ee.push(() => he(e, "textColor", Ke)), ee.push(() => he(e, "backgroundColor", Ze)), ee.push(() => he(e, "iconColor", ht)), ee.push(() => he(e, "highlightColor", rt)), ee.push(() => he(e, "videoTextColor", Pt)), ee.push(() => he(e, "videoIconColor", kt)), ee.push(() => he(e, "logoIconEnabled", qe)), ee.push(() => he(e, "highlightSections", lt)), ee.push(() => he(e, "clickableSections", Et)), ee.push(() => he(e, "segmentWidgetSections", Tt)), ee.push(() => he(e, "segmentWidgetPosition", Mt)), ee.push(() => he(e, "currentSegment", at)), ee.push(() => he(e, "hoveredSegment", Lt)), ee.push(() => he(e, "advertConsent", Ft)), ee.push(() => he(e, "analyticsConsent", N)), ee.push(() => he(e, "analyticsCustomUrl", pt)), ee.push(() => he(e, "analyticsTag", ut)), {
|
|
16270
16278
|
c() {
|
|
16271
16279
|
ue(e.$$.fragment);
|
|
16272
16280
|
},
|
|
@@ -16383,7 +16391,7 @@ function Q2(t) {
|
|
|
16383
16391
|
}
|
|
16384
16392
|
function bl(t) {
|
|
16385
16393
|
let e, i;
|
|
16386
|
-
return e = new
|
|
16394
|
+
return e = new T2({
|
|
16387
16395
|
props: {
|
|
16388
16396
|
onEvent: (
|
|
16389
16397
|
/*onEvent*/
|
|
@@ -16468,7 +16476,7 @@ function bl(t) {
|
|
|
16468
16476
|
}
|
|
16469
16477
|
function kl(t) {
|
|
16470
16478
|
let e, i;
|
|
16471
|
-
return e = new
|
|
16479
|
+
return e = new V2({
|
|
16472
16480
|
props: { analyticsTag: (
|
|
16473
16481
|
/*analyticsTag*/
|
|
16474
16482
|
t[44]
|
|
@@ -16497,7 +16505,7 @@ function kl(t) {
|
|
|
16497
16505
|
}
|
|
16498
16506
|
};
|
|
16499
16507
|
}
|
|
16500
|
-
function
|
|
16508
|
+
function e3(t) {
|
|
16501
16509
|
let e, i, n, s, o = [], r = /* @__PURE__ */ new Map(), l, a, d, u, g, m;
|
|
16502
16510
|
e = new po({
|
|
16503
16511
|
props: {
|
|
@@ -16506,7 +16514,7 @@ function $2(t) {
|
|
|
16506
16514
|
/*videoRoot*/
|
|
16507
16515
|
t[68]
|
|
16508
16516
|
),
|
|
16509
|
-
$$slots: { default: [
|
|
16517
|
+
$$slots: { default: [J2] },
|
|
16510
16518
|
$$scope: { ctx: t }
|
|
16511
16519
|
}
|
|
16512
16520
|
});
|
|
@@ -16538,7 +16546,7 @@ function $2(t) {
|
|
|
16538
16546
|
/*analyticsTag*/
|
|
16539
16547
|
t[44] && kl(t)
|
|
16540
16548
|
);
|
|
16541
|
-
return g = new
|
|
16549
|
+
return g = new W2({}), {
|
|
16542
16550
|
c() {
|
|
16543
16551
|
ue(e.$$.fragment), i = H(), v && v.c(), n = H(), _ && _.c(), s = H();
|
|
16544
16552
|
for (let O = 0; O < o.length; O += 1)
|
|
@@ -16609,9 +16617,9 @@ function $2(t) {
|
|
|
16609
16617
|
}
|
|
16610
16618
|
};
|
|
16611
16619
|
}
|
|
16612
|
-
function
|
|
16613
|
-
let n, s, o, r, l, a, d, u, g, m, v, _, k, b, C, V, Y, O, j, z, L, K, x, { playerApiUrl: X = "https://api.beyondwords.io/v1/projects/{id}/player" } = e, { projectId: Te = void 0 } = e, { contentId: me = void 0 } = e, { playlistId: ve = void 0 } = e, { sourceId: ie = void 0 } = e, { sourceUrl: $ = void 0 } = e, { playlist: U = [] } = e, { showUserInterface: se = !0 } = e, { showBottomWidget: ge = !1 } = e, { playerStyle: Z = "standard" } = e, { playerTitle: re = void 0 } = e, { callToAction: w = void 0 } = e, { skipButtonStyle: F = "auto" } = e, { playlistStyle: Se = "auto-5-4" } = e, { playlistToggle: we = "auto" } = e, { downloadFormats: Ie = [] } = e, { mediaSession: J = "auto" } = e, { content: Ce = [] } = e, { contentIndex: Ae = 0 } = e, { introsOutros: Re = [] } = e, { introsOutrosIndex: Fe = -1 } = e, { adverts: et = [] } = e, { advertIndex: ft = -1 } = e, { persistentAdImage: yt = !1 } = e, { persistentIndex: We = -1 } = e, { duration: Oe = 0 } = e, { currentTime: Je = 0 } = e, { playbackState: He = "stopped" } = e, { playbackRate: St = 1 } = e, { playbackRates: Ge = [0.5, 0.6, 0.7, 0.8, 0.9, 1, 1.1, 1.2, 1.3, 1.4, 1.5, 2, 2.5, 3] } = e, { widgetStyle: Xe = "standard" } = e, { widgetPosition: Qe = "auto" } = e, { widgetWidth: ze = "auto" } = e, { widgetTarget: $e = void 0 } = e, { textColor: Ye = "#111" } = e, { backgroundColor: gt = "#f5f5f5" } = e, { iconColor: xe = "rgba(0, 0, 0, 0.8)" } = e, { highlightColor: ot = "#eee" } = e, { videoTextColor: tt = "white" } = e, { videoBackgroundColor: wt = "black" } = e, { videoIconColor: Ue = "white" } = e, { logoIconEnabled: bt = !0 } = e, { highlightSections: ct = "all" } = e, { clickableSections: R = "all" } = e, { segmentWidgetSections:
|
|
16614
|
-
} } = e, { transitions:
|
|
16620
|
+
function t3(t, e, i) {
|
|
16621
|
+
let n, s, o, r, l, a, d, u, g, m, v, _, k, b, C, V, Y, O, j, z, L, K, x, { playerApiUrl: X = "https://api.beyondwords.io/v1/projects/{id}/player" } = e, { projectId: Te = void 0 } = e, { contentId: me = void 0 } = e, { playlistId: ve = void 0 } = e, { sourceId: ie = void 0 } = e, { sourceUrl: $ = void 0 } = e, { playlist: U = [] } = e, { showUserInterface: se = !0 } = e, { showBottomWidget: ge = !1 } = e, { playerStyle: Z = "standard" } = e, { playerTitle: re = void 0 } = e, { callToAction: w = void 0 } = e, { skipButtonStyle: F = "auto" } = e, { playlistStyle: Se = "auto-5-4" } = e, { playlistToggle: we = "auto" } = e, { downloadFormats: Ie = [] } = e, { mediaSession: J = "auto" } = e, { content: Ce = [] } = e, { contentIndex: Ae = 0 } = e, { introsOutros: Re = [] } = e, { introsOutrosIndex: Fe = -1 } = e, { adverts: et = [] } = e, { advertIndex: ft = -1 } = e, { persistentAdImage: yt = !1 } = e, { persistentIndex: We = -1 } = e, { duration: Oe = 0 } = e, { currentTime: Je = 0 } = e, { playbackState: He = "stopped" } = e, { playbackRate: St = 1 } = e, { playbackRates: Ge = [0.5, 0.6, 0.7, 0.8, 0.9, 1, 1.1, 1.2, 1.3, 1.4, 1.5, 2, 2.5, 3] } = e, { widgetStyle: Xe = "standard" } = e, { widgetPosition: Qe = "auto" } = e, { widgetWidth: ze = "auto" } = e, { widgetTarget: $e = void 0 } = e, { textColor: Ye = "#111" } = e, { backgroundColor: gt = "#f5f5f5" } = e, { iconColor: xe = "rgba(0, 0, 0, 0.8)" } = e, { highlightColor: ot = "#eee" } = e, { videoTextColor: tt = "white" } = e, { videoBackgroundColor: wt = "black" } = e, { videoIconColor: Ue = "white" } = e, { logoIconEnabled: bt = !0 } = e, { highlightSections: ct = "all" } = e, { clickableSections: R = "all" } = e, { segmentWidgetSections: Ee = "body" } = e, { segmentWidgetPosition: Le = "7-oclock" } = e, { currentSegment: Ke = void 0 } = e, { hoveredSegment: Ze = void 0 } = e, { loadedMedia: ht = void 0 } = e, { advertConsent: rt = "personalized" } = e, { analyticsConsent: Pt = "allowed" } = e, { analyticsCustomUrl: kt = void 0 } = e, { analyticsTag: qe = void 0 } = e, { writeToken: lt = void 0 } = e, { captureErrors: Et = !0 } = e, { onError: Tt = () => {
|
|
16622
|
+
} } = e, { transitions: Mt = [] } = e, { controlPanel: at = void 0 } = e;
|
|
16615
16623
|
const Lt = (...h) => Vt.addEventListener(...h), Ft = (...h) => Vt.removeEventListener(...h);
|
|
16616
16624
|
let { initialProps: N = {} } = e, { showMediaSession: pt = !1 } = e, { isLoaded: ut = !1 } = e, { isFullScreen: ce = !1 } = e, { mediaElement: S = void 0 } = e, { userInterface: P = void 0 } = e, { widgetInterface: oe = void 0 } = e, { controller: Vt = void 0 } = e, { logoImagePosition: si = void 0 } = e, { analyticsUrl: pi = void 0 } = e, { analyticsId: zt = void 0 } = e, { listenSessionId: Ri = void 0 } = e, { sessionCreatedAt: oi = void 0 } = e, { isNewListen: en = !1 } = e, { prevPercentage: dt = 0 } = e, { segmentWidgets: _i = [] } = e, { segmentContainers: $t = new Yo((h) => i(49, _i = h)) } = e, { segmentClickables: mi = new Ho() } = e, { segmentHighlights: Ct = new qo() } = e;
|
|
16617
16625
|
const Nt = (h) => Vt.processEvent(ti({ emittedFrom: k }, h)), Ai = () => i(95, O = Ze);
|
|
@@ -16759,12 +16767,12 @@ function e3(t, e, i) {
|
|
|
16759
16767
|
R = h, i(17, R);
|
|
16760
16768
|
}
|
|
16761
16769
|
function ja(h) {
|
|
16762
|
-
|
|
16770
|
+
Ee = h, i(18, Ee);
|
|
16763
16771
|
}
|
|
16764
|
-
function
|
|
16772
|
+
function Ea(h) {
|
|
16765
16773
|
Le = h, i(19, Le);
|
|
16766
16774
|
}
|
|
16767
|
-
function
|
|
16775
|
+
function Ma(h) {
|
|
16768
16776
|
Ke = h, i(20, Ke);
|
|
16769
16777
|
}
|
|
16770
16778
|
function za(h) {
|
|
@@ -16783,7 +16791,7 @@ function e3(t, e, i) {
|
|
|
16783
16791
|
qe = h, i(44, qe);
|
|
16784
16792
|
}
|
|
16785
16793
|
return t.$$set = (h) => {
|
|
16786
|
-
"playerApiUrl" in h && i(73, X = h.playerApiUrl), "projectId" in h && i(0, Te = h.projectId), "contentId" in h && i(1, me = h.contentId), "playlistId" in h && i(2, ve = h.playlistId), "sourceId" in h && i(3, ie = h.sourceId), "sourceUrl" in h && i(4, $ = h.sourceUrl), "playlist" in h && i(74, U = h.playlist), "showUserInterface" in h && i(5, se = h.showUserInterface), "showBottomWidget" in h && i(75, ge = h.showBottomWidget), "playerStyle" in h && i(6, Z = h.playerStyle), "playerTitle" in h && i(24, re = h.playerTitle), "callToAction" in h && i(25, w = h.callToAction), "skipButtonStyle" in h && i(26, F = h.skipButtonStyle), "playlistStyle" in h && i(27, Se = h.playlistStyle), "playlistToggle" in h && i(28, we = h.playlistToggle), "downloadFormats" in h && i(50, Ie = h.downloadFormats), "mediaSession" in h && i(29, J = h.mediaSession), "content" in h && i(51, Ce = h.content), "contentIndex" in h && i(7, Ae = h.contentIndex), "introsOutros" in h && i(52, Re = h.introsOutros), "introsOutrosIndex" in h && i(8, Fe = h.introsOutrosIndex), "adverts" in h && i(53, et = h.adverts), "advertIndex" in h && i(9, ft = h.advertIndex), "persistentAdImage" in h && i(30, yt = h.persistentAdImage), "persistentIndex" in h && i(10, We = h.persistentIndex), "duration" in h && i(31, Oe = h.duration), "currentTime" in h && i(11, Je = h.currentTime), "playbackState" in h && i(12, He = h.playbackState), "playbackRate" in h && i(32, St = h.playbackRate), "playbackRates" in h && i(76, Ge = h.playbackRates), "widgetStyle" in h && i(13, Xe = h.widgetStyle), "widgetPosition" in h && i(33, Qe = h.widgetPosition), "widgetWidth" in h && i(34, ze = h.widgetWidth), "widgetTarget" in h && i(14, $e = h.widgetTarget), "textColor" in h && i(35, Ye = h.textColor), "backgroundColor" in h && i(36, gt = h.backgroundColor), "iconColor" in h && i(37, xe = h.iconColor), "highlightColor" in h && i(15, ot = h.highlightColor), "videoTextColor" in h && i(38, tt = h.videoTextColor), "videoBackgroundColor" in h && i(54, wt = h.videoBackgroundColor), "videoIconColor" in h && i(39, Ue = h.videoIconColor), "logoIconEnabled" in h && i(40, bt = h.logoIconEnabled), "highlightSections" in h && i(16, ct = h.highlightSections), "clickableSections" in h && i(17, R = h.clickableSections), "segmentWidgetSections" in h && i(18,
|
|
16794
|
+
"playerApiUrl" in h && i(73, X = h.playerApiUrl), "projectId" in h && i(0, Te = h.projectId), "contentId" in h && i(1, me = h.contentId), "playlistId" in h && i(2, ve = h.playlistId), "sourceId" in h && i(3, ie = h.sourceId), "sourceUrl" in h && i(4, $ = h.sourceUrl), "playlist" in h && i(74, U = h.playlist), "showUserInterface" in h && i(5, se = h.showUserInterface), "showBottomWidget" in h && i(75, ge = h.showBottomWidget), "playerStyle" in h && i(6, Z = h.playerStyle), "playerTitle" in h && i(24, re = h.playerTitle), "callToAction" in h && i(25, w = h.callToAction), "skipButtonStyle" in h && i(26, F = h.skipButtonStyle), "playlistStyle" in h && i(27, Se = h.playlistStyle), "playlistToggle" in h && i(28, we = h.playlistToggle), "downloadFormats" in h && i(50, Ie = h.downloadFormats), "mediaSession" in h && i(29, J = h.mediaSession), "content" in h && i(51, Ce = h.content), "contentIndex" in h && i(7, Ae = h.contentIndex), "introsOutros" in h && i(52, Re = h.introsOutros), "introsOutrosIndex" in h && i(8, Fe = h.introsOutrosIndex), "adverts" in h && i(53, et = h.adverts), "advertIndex" in h && i(9, ft = h.advertIndex), "persistentAdImage" in h && i(30, yt = h.persistentAdImage), "persistentIndex" in h && i(10, We = h.persistentIndex), "duration" in h && i(31, Oe = h.duration), "currentTime" in h && i(11, Je = h.currentTime), "playbackState" in h && i(12, He = h.playbackState), "playbackRate" in h && i(32, St = h.playbackRate), "playbackRates" in h && i(76, Ge = h.playbackRates), "widgetStyle" in h && i(13, Xe = h.widgetStyle), "widgetPosition" in h && i(33, Qe = h.widgetPosition), "widgetWidth" in h && i(34, ze = h.widgetWidth), "widgetTarget" in h && i(14, $e = h.widgetTarget), "textColor" in h && i(35, Ye = h.textColor), "backgroundColor" in h && i(36, gt = h.backgroundColor), "iconColor" in h && i(37, xe = h.iconColor), "highlightColor" in h && i(15, ot = h.highlightColor), "videoTextColor" in h && i(38, tt = h.videoTextColor), "videoBackgroundColor" in h && i(54, wt = h.videoBackgroundColor), "videoIconColor" in h && i(39, Ue = h.videoIconColor), "logoIconEnabled" in h && i(40, bt = h.logoIconEnabled), "highlightSections" in h && i(16, ct = h.highlightSections), "clickableSections" in h && i(17, R = h.clickableSections), "segmentWidgetSections" in h && i(18, Ee = h.segmentWidgetSections), "segmentWidgetPosition" in h && i(19, Le = h.segmentWidgetPosition), "currentSegment" in h && i(20, Ke = h.currentSegment), "hoveredSegment" in h && i(21, Ze = h.hoveredSegment), "loadedMedia" in h && i(77, ht = h.loadedMedia), "advertConsent" in h && i(41, rt = h.advertConsent), "analyticsConsent" in h && i(42, Pt = h.analyticsConsent), "analyticsCustomUrl" in h && i(43, kt = h.analyticsCustomUrl), "analyticsTag" in h && i(44, qe = h.analyticsTag), "writeToken" in h && i(78, lt = h.writeToken), "captureErrors" in h && i(79, Et = h.captureErrors), "onError" in h && i(80, Tt = h.onError), "transitions" in h && i(81, Mt = h.transitions), "controlPanel" in h && i(22, at = h.controlPanel), "initialProps" in h && i(84, N = h.initialProps), "showMediaSession" in h && i(55, pt = h.showMediaSession), "isLoaded" in h && i(23, ut = h.isLoaded), "isFullScreen" in h && i(56, ce = h.isFullScreen), "mediaElement" in h && i(45, S = h.mediaElement), "userInterface" in h && i(46, P = h.userInterface), "widgetInterface" in h && i(47, oe = h.widgetInterface), "controller" in h && i(85, Vt = h.controller), "logoImagePosition" in h && i(57, si = h.logoImagePosition), "analyticsUrl" in h && i(86, pi = h.analyticsUrl), "analyticsId" in h && i(87, zt = h.analyticsId), "listenSessionId" in h && i(88, Ri = h.listenSessionId), "sessionCreatedAt" in h && i(89, oi = h.sessionCreatedAt), "isNewListen" in h && i(90, en = h.isNewListen), "prevPercentage" in h && i(48, dt = h.prevPercentage), "segmentWidgets" in h && i(49, _i = h.segmentWidgets), "segmentContainers" in h && i(91, $t = h.segmentContainers), "segmentClickables" in h && i(92, mi = h.segmentClickables), "segmentHighlights" in h && i(93, Ct = h.segmentHighlights);
|
|
16787
16795
|
}, t.$$.update = () => {
|
|
16788
16796
|
t.$$.dirty[0] & /*contentIndex*/
|
|
16789
16797
|
128 | t.$$.dirty[1] & /*content*/
|
|
@@ -16823,16 +16831,16 @@ function e3(t, e, i) {
|
|
|
16823
16831
|
1073741824 | t.$$.dirty[3] & /*showVideoPoster, isAdvert, contentItem*/
|
|
16824
16832
|
112 && i(67, Y = V ? l && (o == null ? void 0 : o.imageUrl) || (n == null ? void 0 : n.imageUrl) : ""), t.$$.dirty[0] & /*projectId, contentId, playlistId, sourceId, sourceUrl*/
|
|
16825
16833
|
31 | t.$$.dirty[2] & /*playlist*/
|
|
16826
|
-
4096 && Nt(
|
|
16834
|
+
4096 && Nt(O2()), t.$$.dirty[0] & /*projectId*/
|
|
16827
16835
|
1 | t.$$.dirty[2] & /*playerApiUrl, writeToken*/
|
|
16828
16836
|
67584 && M2(X, Te, lt, (h) => Nt(h)), t.$$.dirty[0] & /*hoveredSegment*/
|
|
16829
16837
|
2097152 | t.$$.dirty[3] & /*lastHovered*/
|
|
16830
16838
|
4 && i(95, O = Ze || O), t.$$.dirty[0] & /*currentSegment, segmentWidgetSections*/
|
|
16831
|
-
1310720 && i(94, j = os("current", Ke,
|
|
16839
|
+
1310720 && i(94, j = os("current", Ke, Ee)), t.$$.dirty[0] & /*currentSegment*/
|
|
16832
16840
|
1048576 | t.$$.dirty[3] & /*currentAllowedInWidget*/
|
|
16833
16841
|
2 && j && Ai(), t.$$.dirty[0] & /*segmentWidgetSections*/
|
|
16834
16842
|
262144 | t.$$.dirty[3] & /*lastHovered*/
|
|
16835
|
-
4 && i(96, z = os("hovered", O,
|
|
16843
|
+
4 && i(96, z = os("hovered", O, Ee)), t.$$.dirty[0] & /*currentSegment*/
|
|
16836
16844
|
1048576 | t.$$.dirty[3] & /*hoveredAllowedInWidget, lastHovered, currentAllowedInWidget*/
|
|
16837
16845
|
14 && i(59, L = z && O || j && Ke), t.$$.dirty[0] & /*currentSegment*/
|
|
16838
16846
|
1048576 | t.$$.dirty[1] & /*widgetSegment*/
|
|
@@ -16841,7 +16849,7 @@ function e3(t, e, i) {
|
|
|
16841
16849
|
1 && i(66, x = K || o || s), t.$$.dirty[0] & /*segmentWidgetSections, segmentWidgetPosition, playerStyle*/
|
|
16842
16850
|
786496 | t.$$.dirty[1] & /*widgetSegment*/
|
|
16843
16851
|
268435456 | t.$$.dirty[2] & /*segmentContainers*/
|
|
16844
|
-
536870912 && $t.update(L,
|
|
16852
|
+
536870912 && $t.update(L, Ee, Le, Z), t.$$.dirty[0] & /*hoveredSegment, clickableSections*/
|
|
16845
16853
|
2228224 | t.$$.dirty[2] & /*segmentClickables*/
|
|
16846
16854
|
1073741824 && mi.update(Ze, R), t.$$.dirty[0] & /*currentSegment, highlightSections, highlightColor*/
|
|
16847
16855
|
1146880 | t.$$.dirty[3] & /*segmentHighlights*/
|
|
@@ -16849,7 +16857,7 @@ function e3(t, e, i) {
|
|
|
16849
16857
|
2195456 | t.$$.dirty[3] & /*segmentHighlights*/
|
|
16850
16858
|
1 && Ct.update("hovered", Ze, ct, ot), t.$$.dirty[0] & /*currentTime*/
|
|
16851
16859
|
2048 | t.$$.dirty[2] & /*transitions, controller*/
|
|
16852
|
-
8912896 &&
|
|
16860
|
+
8912896 && x2(Mt, Vt, Je);
|
|
16853
16861
|
}, [
|
|
16854
16862
|
Te,
|
|
16855
16863
|
me,
|
|
@@ -16869,7 +16877,7 @@ function e3(t, e, i) {
|
|
|
16869
16877
|
ot,
|
|
16870
16878
|
ct,
|
|
16871
16879
|
R,
|
|
16872
|
-
|
|
16880
|
+
Ee,
|
|
16873
16881
|
Le,
|
|
16874
16882
|
Ke,
|
|
16875
16883
|
Ze,
|
|
@@ -16930,9 +16938,9 @@ function e3(t, e, i) {
|
|
|
16930
16938
|
Ge,
|
|
16931
16939
|
ht,
|
|
16932
16940
|
lt,
|
|
16933
|
-
Mt,
|
|
16934
|
-
Tt,
|
|
16935
16941
|
Et,
|
|
16942
|
+
Tt,
|
|
16943
|
+
Mt,
|
|
16936
16944
|
Lt,
|
|
16937
16945
|
Ft,
|
|
16938
16946
|
N,
|
|
@@ -16999,8 +17007,8 @@ function e3(t, e, i) {
|
|
|
16999
17007
|
Wa,
|
|
17000
17008
|
Oa,
|
|
17001
17009
|
ja,
|
|
17002
|
-
Ma,
|
|
17003
17010
|
Ea,
|
|
17011
|
+
Ma,
|
|
17004
17012
|
za,
|
|
17005
17013
|
La,
|
|
17006
17014
|
Na,
|
|
@@ -17008,13 +17016,13 @@ function e3(t, e, i) {
|
|
|
17008
17016
|
Ra
|
|
17009
17017
|
];
|
|
17010
17018
|
}
|
|
17011
|
-
let
|
|
17019
|
+
let i3 = class extends pe {
|
|
17012
17020
|
constructor(e) {
|
|
17013
17021
|
super(), ke(
|
|
17014
17022
|
this,
|
|
17015
17023
|
e,
|
|
17024
|
+
t3,
|
|
17016
17025
|
e3,
|
|
17017
|
-
$2,
|
|
17018
17026
|
be,
|
|
17019
17027
|
{
|
|
17020
17028
|
playerApiUrl: 73,
|
|
@@ -17574,7 +17582,7 @@ let t3 = class extends pe {
|
|
|
17574
17582
|
return this.$$.ctx[58];
|
|
17575
17583
|
}
|
|
17576
17584
|
};
|
|
17577
|
-
class
|
|
17585
|
+
class n3 {
|
|
17578
17586
|
constructor(e, i) {
|
|
17579
17587
|
this.baseUrl = e == null ? void 0 : e.replace("{id}", i);
|
|
17580
17588
|
}
|
|
@@ -17594,24 +17602,24 @@ class i3 {
|
|
|
17594
17602
|
return Tn(`${this.baseUrl}/by_identifiers/${encodeURIComponent(JSON.stringify(e))}`);
|
|
17595
17603
|
}
|
|
17596
17604
|
}
|
|
17597
|
-
const Ko = (t) => typeof t != "object" || t === null ? t : Array.isArray(t) ? t.map(Ko) : Object.fromEntries(Object.entries(t).map(([e, i]) => [e.replace(/([A-Z])/g, (n) => `_${n.toLowerCase()}`), Ko(i)])), la = (t) => t === "dark" || t === "auto" &&
|
|
17598
|
-
const e = new
|
|
17605
|
+
const Ko = (t) => typeof t != "object" || t === null ? t : Array.isArray(t) ? t.map(Ko) : Object.fromEntries(Object.entries(t).map(([e, i]) => [e.replace(/([A-Z])/g, (n) => `_${n.toLowerCase()}`), Ko(i)])), la = (t) => t === "dark" || t === "auto" && s3() ? "dark" : "light", s3 = () => window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches, pl = (t) => vi(void 0, null, function* () {
|
|
17606
|
+
const e = new n3(t.playerApiUrl, t.projectId);
|
|
17599
17607
|
if (!t.playerApiUrl || !t.projectId)
|
|
17600
17608
|
return;
|
|
17601
|
-
const i =
|
|
17609
|
+
const i = o3(t);
|
|
17602
17610
|
if (i.length === 0)
|
|
17603
17611
|
return;
|
|
17604
|
-
const n = yield
|
|
17612
|
+
const n = yield r3(e, i).catch(() => {
|
|
17605
17613
|
});
|
|
17606
17614
|
if (!(n != null && n.content)) {
|
|
17607
|
-
|
|
17615
|
+
l3(t);
|
|
17608
17616
|
return;
|
|
17609
17617
|
}
|
|
17610
|
-
|
|
17611
|
-
}),
|
|
17618
|
+
a3(t, n);
|
|
17619
|
+
}), o3 = (t) => {
|
|
17612
17620
|
const e = [];
|
|
17613
17621
|
return t.contentId && e.push({ content_id: t.contentId }), t.playlistId && e.push({ playlist_id: t.playlistId }), t.sourceId && e.push({ source_id: t.sourceId }), t.sourceUrl && e.push({ source_url: t.sourceUrl }), t.playlist && e.push(...Ko(t.playlist)), [...new Set(e.map(JSON.stringify))].map(JSON.parse);
|
|
17614
|
-
},
|
|
17622
|
+
}, r3 = (t, e) => {
|
|
17615
17623
|
const i = e[0];
|
|
17616
17624
|
if (e.length > 1)
|
|
17617
17625
|
return t.byIdentifiers(e);
|
|
@@ -17623,22 +17631,22 @@ const Ko = (t) => typeof t != "object" || t === null ? t : Array.isArray(t) ? t.
|
|
|
17623
17631
|
return t.bySourceId(i.source_id);
|
|
17624
17632
|
if (i.source_url)
|
|
17625
17633
|
return t.bySourceUrl(i.source_url);
|
|
17626
|
-
},
|
|
17634
|
+
}, l3 = (t) => {
|
|
17627
17635
|
aa(t), ua(t), ca(t), t.onEvent(_e({
|
|
17628
17636
|
type: "NoContentAvailable",
|
|
17629
17637
|
description: "No published and processed content is available for the identifiers.",
|
|
17630
17638
|
initiatedBy: "browser"
|
|
17631
17639
|
}));
|
|
17632
|
-
},
|
|
17640
|
+
}, a3 = (t, e) => {
|
|
17633
17641
|
var o;
|
|
17634
17642
|
const i = la(e.settings.theme), n = e.settings[`${i}_theme`], s = e.settings.video_theme;
|
|
17635
|
-
aa(t), ua(t, e), ca(t, e),
|
|
17643
|
+
aa(t), ua(t, e), ca(t, e), Me(t, "playerStyle", e.settings.player_style), Me(t, "playerTitle", ((o = e.playlist) == null ? void 0 : o.title) || e.settings.player_title), Me(t, "callToAction", e.settings.call_to_action === "Listen to this article" ? null : e.settings.call_to_action), Me(t, "skipButtonStyle", e.settings.skip_button_style), Me(t, "downloadFormats", e.settings.download_button_enabled ? ["mp3"] : []), Me(t, "introsOutros", u3(e.settings)), Me(t, "persistentAdImage", e.settings.persistent_ad_image), Me(t, "widgetStyle", e.settings.widget_style), Me(t, "widgetPosition", e.settings.widget_position), Me(t, "textColor", n.text_color), Me(t, "backgroundColor", n.background_color), Me(t, "iconColor", n.icon_color), Me(t, "highlightColor", n.highlight_color), Me(t, "videoTextColor", s.text_color), Me(t, "videoBackgroundColor", s.background_color), Me(t, "videoIconColor", s.icon_color), Me(t, "logoIconEnabled", e.settings.logo_icon_enabled), Me(t, "logoImagePosition", e.video_settings.logo_image_position), Me(t, "highlightSections", e.settings.segment_playback_enabled ? "all" : "none"), Me(t, "clickableSections", e.settings.segment_playback_enabled ? "all" : "none"), Me(t, "segmentWidgetSections", (e.settings.segment_playback_enabled, "none")), Me(t, "analyticsConsent", c3(e.settings)), Me(t, "analyticsCustomUrl", e.settings.analytics_custom_url), Me(t, "analyticsTag", e.settings.analytics_tag), Me(t, "analyticsUrl", e.settings.analytics_url), Me(t, "analyticsId", e.settings.analytics_id);
|
|
17636
17644
|
}, aa = (t) => {
|
|
17637
|
-
|
|
17645
|
+
Me(t, "contentIndex", 0), Me(t, "introsOutrosIndex", -1), Me(t, "advertIndex", -1), Me(t, "persistentIndex", -1), Me(t, "duration", 0), Me(t, "currentTime", 0), Me(t, "playbackState", "stopped"), Me(t, "currentSegment", void 0), Me(t, "hoveredSegment", void 0);
|
|
17638
17646
|
}, ua = (t, e) => {
|
|
17639
17647
|
var s;
|
|
17640
17648
|
const i = (s = e == null ? void 0 : e.settings) == null ? void 0 : s.image_enabled, n = (e == null ? void 0 : e.content) || [];
|
|
17641
|
-
|
|
17649
|
+
Me(t, "content", n.map((o) => {
|
|
17642
17650
|
var r;
|
|
17643
17651
|
return {
|
|
17644
17652
|
id: o.id,
|
|
@@ -17671,7 +17679,7 @@ const Ko = (t) => typeof t != "object" || t === null ? t : Array.isArray(t) ? t.
|
|
|
17671
17679
|
}, ca = (t, e) => {
|
|
17672
17680
|
var s;
|
|
17673
17681
|
const i = (s = e == null ? void 0 : e.settings) == null ? void 0 : s.image_enabled, n = (e == null ? void 0 : e.ads) || [];
|
|
17674
|
-
|
|
17682
|
+
Me(t, "adverts", n.map((o) => {
|
|
17675
17683
|
const r = o.type === "vast", l = la(o.theme), a = o[`${l}_theme`], d = o.video_theme;
|
|
17676
17684
|
return {
|
|
17677
17685
|
id: o.id,
|
|
@@ -17700,18 +17708,18 @@ const Ko = (t) => typeof t != "object" || t === null ? t : Array.isArray(t) ? t.
|
|
|
17700
17708
|
}))
|
|
17701
17709
|
};
|
|
17702
17710
|
}));
|
|
17703
|
-
},
|
|
17711
|
+
}, Me = (t, e, i) => {
|
|
17704
17712
|
var s;
|
|
17705
17713
|
typeof ((s = t.initialProps) == null ? void 0 : s[e]) != "undefined" || (t[e] = i);
|
|
17706
|
-
},
|
|
17714
|
+
}, u3 = ({ intro_outro_enabled: t, intro_url: e, outro_url: i }) => {
|
|
17707
17715
|
if (!t)
|
|
17708
17716
|
return [];
|
|
17709
17717
|
const n = [];
|
|
17710
17718
|
return e && n.push({ placement: "pre-roll", audio: [{ url: e }], video: [] }), i && n.push({ placement: "post-roll", audio: [{ url: i }], video: [] }), n;
|
|
17711
|
-
},
|
|
17719
|
+
}, c3 = ({ analytics_enabled: t, analytics_uuid_enabled: e }) => t ? e ? "allowed" : "without-local-storage" : "none", d3 = (t, e) => vi(void 0, null, function* () {
|
|
17712
17720
|
const n = yield (yield fetch(t)).blob(), s = URL.createObjectURL(n), o = document.createElement("a");
|
|
17713
17721
|
document.body.append(o), o.href = s, o.setAttribute("download", e), o.setAttribute("target", "_blank"), o.click(), o.remove();
|
|
17714
|
-
}), Js = { vastUrls: /* @__PURE__ */ new Set(), mediaSources: /* @__PURE__ */ new Set() },
|
|
17722
|
+
}), Js = { vastUrls: /* @__PURE__ */ new Set(), mediaSources: /* @__PURE__ */ new Set() }, g3 = (t) => {
|
|
17715
17723
|
t.vastUrl && Js.vastUrls.add(t.vastUrl);
|
|
17716
17724
|
for (const e of [...t.audio || [], ...t.video || []])
|
|
17717
17725
|
Js.mediaSources.add(e.url);
|
|
@@ -17722,121 +17730,121 @@ const Ko = (t) => typeof t != "object" || t === null ? t : Array.isArray(t) ? t.
|
|
|
17722
17730
|
if (Js.mediaSources.has(e.url))
|
|
17723
17731
|
return !0;
|
|
17724
17732
|
return !1;
|
|
17725
|
-
}, ga = /* @__PURE__ */ new Set(),
|
|
17733
|
+
}, ga = /* @__PURE__ */ new Set(), f3 = (t) => {
|
|
17726
17734
|
[...t.audio || [], ...t.video || []].forEach((i) => ga.add(i.url));
|
|
17727
|
-
},
|
|
17735
|
+
}, h3 = (t) => [...t.audio || [], ...t.video || []].some((i) => ga.has(i.url)), _3 = ({ introsOutrosIndex: t, adverts: e, advertIndex: i, content: n = [], contentIndex: s, currentTime: o, atTheStart: r, atTheEnd: l, errored: a } = {}) => {
|
|
17728
17736
|
var _;
|
|
17729
17737
|
const d = e && e[i];
|
|
17730
17738
|
e:
|
|
17731
17739
|
if (d) {
|
|
17732
17740
|
if (a) {
|
|
17733
|
-
|
|
17741
|
+
g3(d);
|
|
17734
17742
|
break e;
|
|
17735
17743
|
}
|
|
17736
17744
|
if (l)
|
|
17737
|
-
return
|
|
17745
|
+
return f3(d), -1;
|
|
17738
17746
|
if (!l)
|
|
17739
17747
|
return i;
|
|
17740
17748
|
}
|
|
17741
17749
|
if (!((_ = n[s]) != null && _.adsEnabled) || t !== -1)
|
|
17742
17750
|
return -1;
|
|
17743
|
-
const u =
|
|
17751
|
+
const u = v3({ content: n, contentIndex: s, currentTime: o, atTheStart: r, atTheEnd: l });
|
|
17744
17752
|
let g = -1, m = -1 / 0, v = -1 / 0;
|
|
17745
17753
|
for (const [k, b] of e.entries()) {
|
|
17746
|
-
if (
|
|
17754
|
+
if (h3(b) || da(b) || !u.has(b.placement))
|
|
17747
17755
|
continue;
|
|
17748
|
-
const C =
|
|
17756
|
+
const C = m3[b.type] || 0;
|
|
17749
17757
|
if (C < m)
|
|
17750
17758
|
continue;
|
|
17751
17759
|
const V = Math.random();
|
|
17752
17760
|
C === m && V < v || (g = k, m = C, v = V);
|
|
17753
17761
|
}
|
|
17754
17762
|
return g;
|
|
17755
|
-
},
|
|
17756
|
-
const o = e === 0, r = e === t.length - 1, l = t.length > 1, a = l && n && !o, d = t[e].segments, u = d[d.length - 1], g = l ? null :
|
|
17763
|
+
}, m3 = { vast: 1, custom: 0 }, v3 = ({ content: t, contentIndex: e, currentTime: i, atTheStart: n, atTheEnd: s }) => {
|
|
17764
|
+
const o = e === 0, r = e === t.length - 1, l = t.length > 1, a = l && n && !o, d = t[e].segments, u = d[d.length - 1], g = l ? null : p3(d), m = d[g], v = m && i > m.startTime, _ = u ? u.startTime + u.duration : 0, k = i > _ - b3, b = /* @__PURE__ */ new Set();
|
|
17757
17765
|
return n && b.add("pre-roll"), v && !k && b.add("mid-roll"), a && b.add("mid-roll"), s && r && b.add("post-roll"), a && b.add("post-roll"), b;
|
|
17758
|
-
},
|
|
17766
|
+
}, y3 = 2 * 60, b3 = 10, k3 = 0.5, p3 = (t) => {
|
|
17759
17767
|
const e = t[t.length - 1];
|
|
17760
17768
|
if (!e)
|
|
17761
17769
|
return;
|
|
17762
17770
|
const i = e.startTime + e.duration;
|
|
17763
|
-
if (i <
|
|
17771
|
+
if (i < y3)
|
|
17764
17772
|
return;
|
|
17765
|
-
const n = i / 2, s = ir(t, i / 2), l = t[s].startTime >= n -
|
|
17773
|
+
const n = i / 2, s = ir(t, i / 2), l = t[s].startTime >= n - k3 ? s : s + 1;
|
|
17766
17774
|
if (l !== t.length)
|
|
17767
17775
|
return l;
|
|
17768
|
-
},
|
|
17776
|
+
}, S3 = (t, e, i, n) => {
|
|
17769
17777
|
let s = -1, o = -1 / 0, r = -1 / 0;
|
|
17770
17778
|
for (const [l, a] of (n || []).entries()) {
|
|
17771
17779
|
if (!t || da(a) || a.type === "vast")
|
|
17772
17780
|
continue;
|
|
17773
|
-
const d =
|
|
17781
|
+
const d = P3(l, e, i);
|
|
17774
17782
|
if (d < o)
|
|
17775
17783
|
continue;
|
|
17776
|
-
const u =
|
|
17784
|
+
const u = w3[a.placement] || 0;
|
|
17777
17785
|
d === o && u < r || (s = l, o = d, r = u);
|
|
17778
17786
|
}
|
|
17779
17787
|
return s;
|
|
17780
|
-
},
|
|
17788
|
+
}, w3 = { "pre-roll": 2, "mid-roll": 1 }, P3 = (t, e, i) => t === i ? 2 : t === e ? 1 : 0, fa = { mediaSources: /* @__PURE__ */ new Set() }, T3 = (t) => {
|
|
17781
17789
|
for (const e of [...t.audio || [], t.video || []])
|
|
17782
17790
|
fa.mediaSources.add(e.url);
|
|
17783
|
-
},
|
|
17791
|
+
}, C3 = (t) => {
|
|
17784
17792
|
for (const e of [...t.audio || [], t.video || []])
|
|
17785
17793
|
if (fa.mediaSources.has(e.url))
|
|
17786
17794
|
return !0;
|
|
17787
17795
|
return !1;
|
|
17788
|
-
}, ha = /* @__PURE__ */ new Set(),
|
|
17796
|
+
}, ha = /* @__PURE__ */ new Set(), A3 = (t) => {
|
|
17789
17797
|
[...t.audio || [], ...t.video || []].forEach((i) => ha.add(i.url));
|
|
17790
|
-
},
|
|
17798
|
+
}, B3 = (t) => [...t.audio || [], ...t.video || []].some((i) => ha.has(i.url)), I3 = ({ introsOutros: t = [], introsOutrosIndex: e, advertIndex: i, content: n, contentIndex: s, currentTime: o, atTheStart: r, atTheEnd: l, errored: a }) => {
|
|
17791
17799
|
const d = t[e];
|
|
17792
17800
|
e:
|
|
17793
17801
|
if (d) {
|
|
17794
17802
|
if (a) {
|
|
17795
|
-
|
|
17803
|
+
T3(d);
|
|
17796
17804
|
break e;
|
|
17797
17805
|
}
|
|
17798
17806
|
if (l)
|
|
17799
|
-
return
|
|
17807
|
+
return A3(d), -1;
|
|
17800
17808
|
if (!l)
|
|
17801
17809
|
return e;
|
|
17802
17810
|
}
|
|
17803
17811
|
if (i !== -1)
|
|
17804
17812
|
return -1;
|
|
17805
|
-
const u =
|
|
17813
|
+
const u = V3({ content: n, contentIndex: s, currentTime: o, atTheStart: r, atTheEnd: l });
|
|
17806
17814
|
let g = -1, m = -1 / 0, v = -1 / 0;
|
|
17807
17815
|
for (const [_, k] of t.entries()) {
|
|
17808
|
-
if (
|
|
17816
|
+
if (C3(k) || !u.has(k.placement))
|
|
17809
17817
|
continue;
|
|
17810
|
-
const b =
|
|
17818
|
+
const b = B3(k) ? 1 : 0;
|
|
17811
17819
|
if (b < m)
|
|
17812
17820
|
continue;
|
|
17813
17821
|
const C = Math.random();
|
|
17814
17822
|
b === m && C < v || (g = _, m = b, v = C);
|
|
17815
17823
|
}
|
|
17816
17824
|
return g;
|
|
17817
|
-
},
|
|
17825
|
+
}, V3 = ({ content: t, contentIndex: e, currentTime: i, atTheStart: n, atTheEnd: s }) => {
|
|
17818
17826
|
const o = /* @__PURE__ */ new Set(), r = n && e === 0 && i === 0, l = s && e === t.length - 1;
|
|
17819
17827
|
return r && o.add("pre-roll"), l && o.add("post-roll"), o;
|
|
17820
|
-
},
|
|
17828
|
+
}, W3 = (t) => {
|
|
17821
17829
|
if (!navigator.mediaSession)
|
|
17822
17830
|
return;
|
|
17823
17831
|
const e = t.instances().some((o) => o.mediaSession === "override");
|
|
17824
|
-
if (
|
|
17832
|
+
if (E3() && !e)
|
|
17825
17833
|
return;
|
|
17826
17834
|
let i, n = -1 / 0, s = -1 / 0;
|
|
17827
17835
|
for (const o of t.instances()) {
|
|
17828
17836
|
if (o.mediaSession === "none")
|
|
17829
17837
|
continue;
|
|
17830
|
-
const r =
|
|
17838
|
+
const r = O3[o.playbackState] || 0;
|
|
17831
17839
|
if (r < n)
|
|
17832
17840
|
continue;
|
|
17833
|
-
const l =
|
|
17841
|
+
const l = j3[o.showMediaSession] || 0;
|
|
17834
17842
|
r === n && l < s || (i = o, n = r, s = l);
|
|
17835
17843
|
}
|
|
17836
17844
|
for (const o of t.instances())
|
|
17837
17845
|
o.showMediaSession = o === i;
|
|
17838
17846
|
return i;
|
|
17839
|
-
},
|
|
17847
|
+
}, O3 = { playing: 1, paused: 0, stopped: 0 }, j3 = { true: 1, false: 0 }, E3 = () => {
|
|
17840
17848
|
const t = navigator.mediaSession.metadata;
|
|
17841
17849
|
if (!t || navigator.mediaSession.setByPlayer)
|
|
17842
17850
|
return !1;
|
|
@@ -17853,7 +17861,7 @@ const Ko = (t) => typeof t != "object" || t === null ? t : Array.isArray(t) ? t.
|
|
|
17853
17861
|
}
|
|
17854
17862
|
if (!(o.userInterface.relativeY < 0))
|
|
17855
17863
|
continue;
|
|
17856
|
-
const d =
|
|
17864
|
+
const d = z3[o.playbackState] || 0;
|
|
17857
17865
|
if (d < n)
|
|
17858
17866
|
continue;
|
|
17859
17867
|
const u = o.userInterface.absoluteY;
|
|
@@ -17862,9 +17870,9 @@ const Ko = (t) => typeof t != "object" || t === null ? t : Array.isArray(t) ? t.
|
|
|
17862
17870
|
e && n === 0 && (i = null);
|
|
17863
17871
|
for (const o of t.instances())
|
|
17864
17872
|
o.showBottomWidget = o === i;
|
|
17865
|
-
},
|
|
17873
|
+
}, z3 = { playing: 2, paused: 1, stopped: 0 };
|
|
17866
17874
|
var ro, _a, lo, ma, cs, Jo, ao, va, uo, ya, Vi, qi, Gi, pn, fi, Pi, co, ba, Cn, Qn, Ki, Sn, go, ka, ds, Xo, Ni, cn, gs, Qo, Ji, wn, xt, ii, Xi, Pn, Di, dn, fo, pa, ho, Sa, An, $n, fs, $o, _o, wa, mo, Pa, vo, Ta, yo, Ca;
|
|
17867
|
-
class
|
|
17875
|
+
class L3 {
|
|
17868
17876
|
constructor(e, i) {
|
|
17869
17877
|
// private
|
|
17870
17878
|
Ve(this, ro);
|
|
@@ -17908,50 +17916,50 @@ class z3 {
|
|
|
17908
17916
|
return vi(this, null, function* () {
|
|
17909
17917
|
yield sa(() => this.player), Tu(e);
|
|
17910
17918
|
const i = this[`handle${e.type}`], n = Ks(this.player);
|
|
17911
|
-
|
|
17919
|
+
E(this, ro, _a).call(this, e) ? e.status = "ignored-due-to-advert" : E(this, lo, ma).call(this, e) ? e.status = "ignored-due-to-scrubbing" : i ? (yield i.call(this, e), E(this, fo, pa).call(this), E(this, ho, Sa).call(this), e.status = "handled") : ci("No handler function for event.", e);
|
|
17912
17920
|
const s = Ks(this.player);
|
|
17913
|
-
e.changedProps = oa(n, s), e.processedAt = (/* @__PURE__ */ new Date()).toISOString(), Cu(e),
|
|
17921
|
+
e.changedProps = oa(n, s), e.processedAt = (/* @__PURE__ */ new Date()).toISOString(), Cu(e), E(this, cs, Jo).call(this, e.type, e), E(this, cs, Jo).call(this, "<any>", e);
|
|
17914
17922
|
});
|
|
17915
17923
|
}
|
|
17916
17924
|
// Please document all events and keep in-sync with /doc/player-events.md
|
|
17917
17925
|
handlePressedChangeRate() {
|
|
17918
|
-
|
|
17926
|
+
E(this, Ni, cn).call(this, (e) => e + 1, { cycle: !0 });
|
|
17919
17927
|
}
|
|
17920
17928
|
handlePressedEnterOnChangeRate() {
|
|
17921
|
-
|
|
17929
|
+
E(this, Ni, cn).call(this, (e) => e + 1, { cycle: !0 });
|
|
17922
17930
|
}
|
|
17923
17931
|
handlePressedSpaceOnChangeRate() {
|
|
17924
|
-
|
|
17932
|
+
E(this, Ni, cn).call(this, (e) => e + 1, { cycle: !0 });
|
|
17925
17933
|
}
|
|
17926
17934
|
handlePressedUpOnChangeRate() {
|
|
17927
|
-
|
|
17935
|
+
E(this, Ni, cn).call(this, (e) => e + 1);
|
|
17928
17936
|
}
|
|
17929
17937
|
handlePressedRightOnChangeRate() {
|
|
17930
|
-
|
|
17938
|
+
E(this, Ni, cn).call(this, (e) => e + 1);
|
|
17931
17939
|
}
|
|
17932
17940
|
handlePressedDownOnChangeRate() {
|
|
17933
|
-
|
|
17941
|
+
E(this, Ni, cn).call(this, (e) => e - 1);
|
|
17934
17942
|
}
|
|
17935
17943
|
handlePressedLeftOnChangeRate() {
|
|
17936
|
-
|
|
17944
|
+
E(this, Ni, cn).call(this, (e) => e - 1);
|
|
17937
17945
|
}
|
|
17938
17946
|
handlePressedPrevSegment() {
|
|
17939
|
-
|
|
17947
|
+
E(this, gs, Qo).call(this, (e) => e - 1);
|
|
17940
17948
|
}
|
|
17941
17949
|
handlePressedNextSegment() {
|
|
17942
|
-
|
|
17950
|
+
E(this, gs, Qo).call(this, (e) => e + 1);
|
|
17943
17951
|
}
|
|
17944
17952
|
handlePressedSeekBack({ seconds: e }) {
|
|
17945
|
-
|
|
17953
|
+
E(this, xt, ii).call(this, (i) => i - e);
|
|
17946
17954
|
}
|
|
17947
17955
|
handlePressedSeekAhead({ seconds: e }) {
|
|
17948
|
-
|
|
17956
|
+
E(this, xt, ii).call(this, (i) => i + e);
|
|
17949
17957
|
}
|
|
17950
17958
|
handlePressedPrevTrack() {
|
|
17951
|
-
|
|
17959
|
+
E(this, Ji, wn).call(this, (e) => e - 1);
|
|
17952
17960
|
}
|
|
17953
17961
|
handlePressedNextTrack() {
|
|
17954
|
-
|
|
17962
|
+
E(this, Ji, wn).call(this, (e) => e + 1);
|
|
17955
17963
|
}
|
|
17956
17964
|
handlePressedAdvertLink() {
|
|
17957
17965
|
}
|
|
@@ -17976,71 +17984,71 @@ class z3 {
|
|
|
17976
17984
|
M3(this.PlayerClass);
|
|
17977
17985
|
}
|
|
17978
17986
|
handlePressedVideoBackground() {
|
|
17979
|
-
|
|
17987
|
+
E(this, Ki, Sn).call(this);
|
|
17980
17988
|
}
|
|
17981
17989
|
handlePressedEnterOnProgressBar() {
|
|
17982
|
-
|
|
17990
|
+
E(this, Ki, Sn).call(this);
|
|
17983
17991
|
}
|
|
17984
17992
|
handlePressedSpaceOnProgressBar() {
|
|
17985
|
-
|
|
17993
|
+
E(this, Ki, Sn).call(this);
|
|
17986
17994
|
}
|
|
17987
17995
|
handlePressedEnterOnProgressCircle() {
|
|
17988
|
-
|
|
17996
|
+
E(this, Ki, Sn).call(this);
|
|
17989
17997
|
}
|
|
17990
17998
|
handlePressedSpaceOnProgressCircle() {
|
|
17991
|
-
|
|
17999
|
+
E(this, Ki, Sn).call(this);
|
|
17992
18000
|
}
|
|
17993
18001
|
handlePressedLeftOnProgressBar() {
|
|
17994
|
-
|
|
18002
|
+
E(this, xt, ii).call(this, (e) => e - 5);
|
|
17995
18003
|
}
|
|
17996
18004
|
handlePressedRightOnProgressBar() {
|
|
17997
|
-
|
|
18005
|
+
E(this, xt, ii).call(this, (e) => e + 5);
|
|
17998
18006
|
}
|
|
17999
18007
|
handlePressedLeftOnProgressCircle() {
|
|
18000
|
-
|
|
18008
|
+
E(this, xt, ii).call(this, (e) => e - 5);
|
|
18001
18009
|
}
|
|
18002
18010
|
handlePressedRightOnProgressCircle() {
|
|
18003
|
-
|
|
18011
|
+
E(this, xt, ii).call(this, (e) => e + 5);
|
|
18004
18012
|
}
|
|
18005
18013
|
handlePressedProgressBar({ ratio: e }) {
|
|
18006
|
-
this.preScrubState = this.player.playbackState,
|
|
18014
|
+
this.preScrubState = this.player.playbackState, this.pauseTimeout = setTimeout(() => E(this, go, ka).call(this), 100), E(this, xt, ii).call(this, (i, n) => e * n), e !== 0 && (this.segmentPlayed = !0);
|
|
18007
18015
|
}
|
|
18008
18016
|
handleScrubbedProgressBar({ ratio: e }) {
|
|
18009
|
-
|
|
18017
|
+
E(this, xt, ii).call(this, (i, n) => e * n - 0.01), e !== 0 && (this.segmentPlayed = !0);
|
|
18010
18018
|
}
|
|
18011
18019
|
handleFinishedScrubbingProgressBar() {
|
|
18012
|
-
this.player.playbackState = this.preScrubState,
|
|
18020
|
+
clearTimeout(this.pauseTimeout), this.player.playbackState = this.preScrubState, delete this.preScrubState;
|
|
18013
18021
|
}
|
|
18014
18022
|
handleIdentifiersChanged() {
|
|
18015
18023
|
pl(this.player).then(() => {
|
|
18016
|
-
|
|
18024
|
+
E(this, Xi, Pn).call(this, { atTheStart: !0 }), E(this, Di, dn).call(this, { atTheStart: !0 });
|
|
18017
18025
|
});
|
|
18018
18026
|
}
|
|
18019
18027
|
handleNoContentAvailable({ description: e }) {
|
|
18020
18028
|
console.warn(`BeyondWords.Player: ${e}`);
|
|
18021
18029
|
}
|
|
18022
18030
|
handlePressedPlay({ emittedFrom: e, widgetSegment: i, widgetIsCurrent: n }) {
|
|
18023
|
-
e === "segment-widget" && !n ?
|
|
18031
|
+
e === "segment-widget" && !n ? E(this, ds, Xo).call(this, i) : this.player.playbackState = "playing";
|
|
18024
18032
|
}
|
|
18025
18033
|
handlePressedPause() {
|
|
18026
18034
|
this.player.playbackState = "paused";
|
|
18027
18035
|
}
|
|
18028
18036
|
handlePlaybackPlaying() {
|
|
18029
|
-
this.PlayerClass.instances().filter((n) => n !== this.player).filter((n) => n.playbackState === "playing").forEach((n) => n.playbackState = "paused"),
|
|
18037
|
+
this.PlayerClass.instances().filter((n) => n !== this.player).filter((n) => n.playbackState === "playing").forEach((n) => n.playbackState = "paused"), W3(this.PlayerClass);
|
|
18030
18038
|
}
|
|
18031
18039
|
handlePlaybackPaused() {
|
|
18032
18040
|
const e = this.player.playbackState === "playing", i = this.player.currentTime >= this.player.duration - 0.5;
|
|
18033
18041
|
e && !i && !this.preScrubState && (this.player.playbackState = "paused");
|
|
18034
18042
|
}
|
|
18035
18043
|
handleCurrentTimeUpdated() {
|
|
18036
|
-
this.midrollPlayed ||
|
|
18044
|
+
this.midrollPlayed || E(this, Di, dn).call(this);
|
|
18037
18045
|
const e = this.player.currentTime <= is, i = this.player.currentTime >= this.player.duration, n = this.player.mediaElement.video.paused;
|
|
18038
18046
|
!e && !i && !n && (this.player.playbackState = "playing");
|
|
18039
18047
|
}
|
|
18040
18048
|
handlePlaybackEnded() {
|
|
18041
|
-
|
|
18042
|
-
const e =
|
|
18043
|
-
|
|
18049
|
+
E(this, co, ba).call(this) && (this.midrollPlayed = !0), this.segmentPlayed = !1;
|
|
18050
|
+
const e = E(this, Vi, qi).call(this), i = E(this, fi, Pi).call(this);
|
|
18051
|
+
E(this, Di, dn).call(this, { atTheEnd: !0, wasIntro: e }), !i && (E(this, Xi, Pn).call(this, { atTheEnd: !0 }), !e && (E(this, Gi, pn).call(this) || E(this, fi, Pi).call(this) || E(this, Ji, wn).call(this, (n) => n + 1)));
|
|
18044
18052
|
}
|
|
18045
18053
|
handlePlaybackNotAllowed({ description: e }) {
|
|
18046
18054
|
console.warn(`BeyondWords.Player: ${e}`);
|
|
@@ -18048,17 +18056,17 @@ class z3 {
|
|
|
18048
18056
|
this.player.playbackState = i ? "stopped" : "paused";
|
|
18049
18057
|
}
|
|
18050
18058
|
handlePlaybackErrored({ mediaType: e, errorMessage: i }) {
|
|
18051
|
-
console.warn(`BeyondWords.Player: ${e} playback error: ${i}`),
|
|
18059
|
+
console.warn(`BeyondWords.Player: ${e} playback error: ${i}`), E(this, Vi, qi).call(this) || E(this, Gi, pn).call(this) ? E(this, Xi, Pn).call(this, { errored: !0 }) : E(this, fi, Pi).call(this) ? E(this, Di, dn).call(this, { errored: !0 }) : this.handlePlaybackEnded();
|
|
18052
18060
|
}
|
|
18053
18061
|
handlePressedMaximize() {
|
|
18054
|
-
zr() ?
|
|
18062
|
+
zr() ? xm() : Rm(this.player.target);
|
|
18055
18063
|
}
|
|
18056
18064
|
handleFullScreenModeUpdated() {
|
|
18057
18065
|
const e = zr() === this.player.target, i = e ? "add" : "remove";
|
|
18058
18066
|
this.player.isFullScreen = e, this.player.target.classList[i]("maximized");
|
|
18059
18067
|
}
|
|
18060
18068
|
handlePressedPlaylistItem({ index: e }) {
|
|
18061
|
-
|
|
18069
|
+
E(this, Ji, wn).call(this, () => e), this.player.playbackState = "playing";
|
|
18062
18070
|
}
|
|
18063
18071
|
handlePressedTogglePlaylist() {
|
|
18064
18072
|
const e = this.player.playlistStyle.split("-"), i = this.player.content.length > 1, n = e[0] === "show" || e[0] === "auto" && i;
|
|
@@ -18067,20 +18075,20 @@ class z3 {
|
|
|
18067
18075
|
handlePressedDownload({ contentIndex: e, audioIndex: i, videoIndex: n }) {
|
|
18068
18076
|
var u, g;
|
|
18069
18077
|
const s = this.player.content[e], o = (u = s.audio) == null ? void 0 : u[i], r = (g = s.video) == null ? void 0 : g[n], l = (o || r).url, a = l.split(".").pop(), d = `${s.title}.${a}`;
|
|
18070
|
-
return
|
|
18078
|
+
return d3(l, d);
|
|
18071
18079
|
}
|
|
18072
18080
|
handlePressedCloseWidget() {
|
|
18073
18081
|
for (const e of this.PlayerClass.instances())
|
|
18074
18082
|
e.playbackState = "paused", e.widgetStyle = "closed-by-user";
|
|
18075
18083
|
}
|
|
18076
18084
|
handleContentStatusChanged({ contentId: e, legacyId: i, sourceId: n, sourceUrl: s, contentStatus: o }) {
|
|
18077
|
-
o === "processed" && this.player.playbackState === "stopped" && this.player.contentIndex === 0 && this.player.currentTime === 0 &&
|
|
18078
|
-
|
|
18085
|
+
o === "processed" && this.player.playbackState === "stopped" && this.player.contentIndex === 0 && this.player.currentTime === 0 && E(this, vo, Ta).call(this, { contentId: e, legacyId: i, sourceId: n, sourceUrl: s }) && pl(this.player).then(() => {
|
|
18086
|
+
E(this, Xi, Pn).call(this, { atTheStart: !0 }), E(this, Di, dn).call(this, { atTheStart: !0 });
|
|
18079
18087
|
});
|
|
18080
18088
|
}
|
|
18081
18089
|
handleCurrentSegmentUpdated({ segment: e, segmentIndex: i, contentIndex: n }) {
|
|
18082
18090
|
var s;
|
|
18083
|
-
|
|
18091
|
+
E(this, Cn, Qn).call(this) ? this.player.currentSegment = xi(ti({}, e), { segmentIndex: i, contentIndex: n }) : this.segmentPlayed || ((s = this.player.segmentContainers) == null || s.reset(), this.player.currentSegment = null);
|
|
18084
18092
|
}
|
|
18085
18093
|
handleHoveredSegmentUpdated({ segment: e, segmentIndex: i, contentIndex: n }) {
|
|
18086
18094
|
e ? this.player.hoveredSegment = xi(ti({}, e), { segmentIndex: i, contentIndex: n }) : this.player.hoveredSegment = null;
|
|
@@ -18088,15 +18096,15 @@ class z3 {
|
|
|
18088
18096
|
handlePressedSegment({ segment: e, segmentIndex: i, contentIndex: n }) {
|
|
18089
18097
|
if (!os("hovered", e, this.player.clickableSections))
|
|
18090
18098
|
return;
|
|
18091
|
-
if (!
|
|
18092
|
-
|
|
18099
|
+
if (!E(this, yo, Ca).call(this, { contentIndex: n, segmentIndex: i }) && !E(this, fi, Pi).call(this)) {
|
|
18100
|
+
E(this, Ki, Sn).call(this);
|
|
18093
18101
|
return;
|
|
18094
18102
|
}
|
|
18095
|
-
n !== this.player.contentIndex &&
|
|
18103
|
+
n !== this.player.contentIndex && E(this, Ji, wn).call(this, () => n), E(this, ds, Xo).call(this, ti({ segmentIndex: i, contentIndex: n }, e));
|
|
18096
18104
|
}
|
|
18097
18105
|
}
|
|
18098
18106
|
ro = new WeakSet(), _a = function({ type: e }) {
|
|
18099
|
-
return
|
|
18107
|
+
return E(this, fi, 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"));
|
|
18100
18108
|
}, lo = new WeakSet(), ma = function({ type: e }) {
|
|
18101
18109
|
return this.preScrubState && (e.includes("CurrentTimeUpdated") || e.includes("PlaybackEnded"));
|
|
18102
18110
|
}, cs = new WeakSet(), Jo = function(e, i) {
|
|
@@ -18118,29 +18126,29 @@ ro = new WeakSet(), _a = function({ type: e }) {
|
|
|
18118
18126
|
var e;
|
|
18119
18127
|
return ((e = this.player.adverts[this.player.advertIndex]) == null ? void 0 : e.placement) === "mid-roll";
|
|
18120
18128
|
}, Cn = new WeakSet(), Qn = function() {
|
|
18121
|
-
return !
|
|
18129
|
+
return !E(this, Vi, qi).call(this) && !E(this, Gi, pn).call(this) && !E(this, fi, Pi).call(this);
|
|
18122
18130
|
}, Ki = new WeakSet(), Sn = function() {
|
|
18123
18131
|
this.player.playbackState === "playing" ? this.player.playbackState = "paused" : this.player.playbackState = "playing";
|
|
18124
18132
|
}, go = new WeakSet(), ka = function() {
|
|
18125
18133
|
this.player.playbackState === "playing" && (this.player.playbackState = "paused");
|
|
18126
18134
|
}, ds = new WeakSet(), Xo = function(s) {
|
|
18127
18135
|
var o = s, { segmentIndex: e, contentIndex: i } = o, n = Po(o, ["segmentIndex", "contentIndex"]);
|
|
18128
|
-
|
|
18136
|
+
E(this, xt, ii).call(this, () => n.startTime, i), this.player.currentSegment = ti({ segmentIndex: e, contentIndex: i }, n), this.player.playbackState = "playing", this.segmentPlayed = !0;
|
|
18129
18137
|
}, Ni = new WeakSet(), cn = function(e, { cycle: i } = {}) {
|
|
18130
18138
|
const n = this.player.playbackRates, s = n.length - 1, o = n.indexOf(this.player.playbackRate), r = e(o);
|
|
18131
18139
|
let l;
|
|
18132
18140
|
i ? l = r % n.length : l = Math.max(0, Math.min(s, r)), this.player.playbackRate = n[l] || 1;
|
|
18133
18141
|
}, gs = new WeakSet(), Qo = function(e) {
|
|
18134
18142
|
const i = this.player.content[this.player.contentIndex].segments, n = ir(i, this.player.currentTime), s = e(n);
|
|
18135
|
-
|
|
18143
|
+
E(this, Vi, qi).call(this) && s >= 0 ? this.handlePlaybackEnded() : E(this, Gi, pn).call(this) && s < 0 ? (E(this, An, $n).call(this, -1), E(this, xt, ii).call(this, () => {
|
|
18136
18144
|
var o;
|
|
18137
18145
|
return ((o = i[i.length - 1]) == null ? void 0 : o.startTime) || 0.01;
|
|
18138
|
-
}), this.player.playbackState = "playing") :
|
|
18146
|
+
}), this.player.playbackState = "playing") : E(this, Cn, Qn).call(this) && s < 0 && E(this, ao, va).call(this) ? (E(this, xt, ii).call(this, () => 0), E(this, Xi, Pn).call(this, { atTheStart: !0 })) : E(this, Cn, Qn).call(this) && s === i.length && E(this, uo, ya).call(this) ? E(this, xt, ii).call(this, () => this.player.duration - 0.01) : E(this, Cn, Qn).call(this) && s >= 0 && s < i.length && E(this, xt, ii).call(this, () => i[s].startTime);
|
|
18139
18147
|
}, Ji = new WeakSet(), wn = function(e) {
|
|
18140
18148
|
const i = e(this.player.contentIndex), n = i < 0 || i >= this.player.content.length;
|
|
18141
|
-
n ? (this.player.playbackState = "stopped",
|
|
18149
|
+
n ? (this.player.playbackState = "stopped", E(this, xt, ii).call(this, () => 0)) : (this.player.contentIndex = i, E(this, fi, Pi).call(this) || (E(this, xt, ii).call(this, () => 0), this.midrollPlayed = !1)), E(this, An, $n).call(this, -1), E(this, Xi, Pn).call(this, { atTheStart: !0 }), n || E(this, Di, dn).call(this, { atTheStart: !0 });
|
|
18142
18150
|
}, xt = new WeakSet(), ii = function(e, i) {
|
|
18143
|
-
if (
|
|
18151
|
+
if (E(this, fi, Pi).call(this))
|
|
18144
18152
|
this.prevTime = e(), this.prevContent = i;
|
|
18145
18153
|
else {
|
|
18146
18154
|
const n = this.player.duration || 0;
|
|
@@ -18148,44 +18156,44 @@ ro = new WeakSet(), _a = function({ type: e }) {
|
|
|
18148
18156
|
}
|
|
18149
18157
|
}, Xi = new WeakSet(), Pn = function({ atTheStart: e, atTheEnd: i, errored: n } = {}) {
|
|
18150
18158
|
const { content: s, introsOutros: o, currentTime: r } = this.player, l = typeof this.nextIntroOutro != "undefined" ? this.nextIntroOutro : this.player.introsOutrosIndex, a = typeof this.nextAdvert != "undefined" ? this.nextAdvert : this.player.advertIndex, d = typeof this.prevContent != "undefined" ? this.prevContent : this.player.contentIndex;
|
|
18151
|
-
|
|
18159
|
+
E(this, An, $n).call(this, I3({ introsOutros: o, introsOutrosIndex: l, advertIndex: a, content: s, contentIndex: d, currentTime: r, atTheStart: e, atTheEnd: i, errored: n }));
|
|
18152
18160
|
}, Di = new WeakSet(), dn = function({ atTheStart: e, atTheEnd: i, wasIntro: n, errored: s } = {}) {
|
|
18153
18161
|
const { adverts: o, content: r, currentTime: l } = this.player;
|
|
18154
18162
|
let a = typeof this.nextIntroOutro != "undefined" ? this.nextIntroOutro : this.player.introsOutrosIndex;
|
|
18155
18163
|
const d = typeof this.nextAdvert != "undefined" ? this.nextAdvert : this.player.advertIndex, u = typeof this.prevContent != "undefined" ? this.prevContent : this.player.contentIndex;
|
|
18156
|
-
n && (e = !0, i = !1, a = -1),
|
|
18164
|
+
n && (e = !0, i = !1, a = -1), E(this, fs, $o).call(this, _3({ introsOutrosIndex: a, adverts: o, advertIndex: d, content: r, contentIndex: u, currentTime: l, atTheStart: e, atTheEnd: i, errored: s }));
|
|
18157
18165
|
const g = this.player.persistentAdImage, m = this.player.persistentIndex;
|
|
18158
|
-
this.player.persistentIndex =
|
|
18166
|
+
this.player.persistentIndex = S3(g, m, d, o);
|
|
18159
18167
|
}, fo = new WeakSet(), pa = function() {
|
|
18160
|
-
this.player.playbackState === "playing" && typeof this.nextIntroOutro != "undefined" && (
|
|
18168
|
+
this.player.playbackState === "playing" && typeof this.nextIntroOutro != "undefined" && (E(this, An, $n).call(this, this.nextIntroOutro), delete this.nextIntroOutro);
|
|
18161
18169
|
}, ho = new WeakSet(), Sa = function() {
|
|
18162
|
-
this.player.playbackState === "playing" && typeof this.nextAdvert != "undefined" && (
|
|
18170
|
+
this.player.playbackState === "playing" && typeof this.nextAdvert != "undefined" && (E(this, fs, $o).call(this, this.nextAdvert), delete this.nextAdvert);
|
|
18163
18171
|
}, An = new WeakSet(), $n = function(e) {
|
|
18164
18172
|
if (this.player.playbackState !== "playing" && e !== -1) {
|
|
18165
18173
|
this.nextIntroOutro = e;
|
|
18166
18174
|
return;
|
|
18167
18175
|
} else
|
|
18168
18176
|
delete this.nextIntroOutro;
|
|
18169
|
-
if (!(this.player.contentIndex <= 0 && this.player.currentTime <= is) &&
|
|
18170
|
-
this.player.introsOutrosIndex = -1,
|
|
18177
|
+
if (!(this.player.contentIndex <= 0 && this.player.currentTime <= is) && E(this, Vi, qi).call(this, e)) {
|
|
18178
|
+
this.player.introsOutrosIndex = -1, E(this, Di, dn).call(this, { atTheStart: !0 });
|
|
18171
18179
|
return;
|
|
18172
18180
|
}
|
|
18173
|
-
const o =
|
|
18181
|
+
const o = E(this, Vi, qi).call(this), r = E(this, Gi, pn).call(this);
|
|
18174
18182
|
this.player.introsOutrosIndex = e;
|
|
18175
|
-
const l = o && !
|
|
18176
|
-
l && (this.player.currentTime = 0), a &&
|
|
18183
|
+
const l = o && !E(this, Vi, qi).call(this), a = r && !E(this, Gi, pn).call(this);
|
|
18184
|
+
l && (this.player.currentTime = 0), a && E(this, Ji, wn).call(this, () => 1 / 0);
|
|
18177
18185
|
}, fs = new WeakSet(), $o = function(e) {
|
|
18178
18186
|
if (this.player.playbackState !== "playing" && e !== -1) {
|
|
18179
18187
|
this.nextAdvert = e;
|
|
18180
18188
|
return;
|
|
18181
18189
|
} else
|
|
18182
18190
|
delete this.nextAdvert;
|
|
18183
|
-
const n =
|
|
18191
|
+
const n = E(this, fi, Pi).call(this);
|
|
18184
18192
|
this.player.advertIndex = e;
|
|
18185
|
-
const s = !n &&
|
|
18186
|
-
s &&
|
|
18193
|
+
const s = !n && E(this, fi, Pi).call(this), o = n && !E(this, fi, Pi).call(this);
|
|
18194
|
+
s && E(this, _o, wa).call(this), o && E(this, mo, Pa).call(this);
|
|
18187
18195
|
}, _o = new WeakSet(), wa = function() {
|
|
18188
|
-
|
|
18196
|
+
E(this, Vi, qi).call(this) || (this.prevTime = this.player.currentTime), this.prevRate = this.player.playbackRate, this.prevContent = this.player.contentIndex, this.player.currentTime = 0, this.player.playbackRate = 1;
|
|
18189
18197
|
}, mo = new WeakSet(), Pa = function() {
|
|
18190
18198
|
this.player.playbackRate = this.prevRate || 1, this.player.contentIndex !== this.prevContent || (this.player.currentTime = this.prevTime), delete this.prevTime, delete this.prevRate, delete this.prevContent;
|
|
18191
18199
|
}, vo = new WeakSet(), Ta = function({ contentId: e, legacyId: i, sourceId: n, sourceUrl: s }) {
|
|
@@ -18196,20 +18204,20 @@ ro = new WeakSet(), _a = function({ type: e }) {
|
|
|
18196
18204
|
return ((n = this.player.currentSegment) == null ? void 0 : n.contentIndex) !== e || ((s = this.player.currentSegment) == null ? void 0 : s.segmentIndex) !== i;
|
|
18197
18205
|
};
|
|
18198
18206
|
var _s = "<unknown>";
|
|
18199
|
-
function
|
|
18207
|
+
function N3(t) {
|
|
18200
18208
|
var e = t.split(`
|
|
18201
18209
|
`);
|
|
18202
18210
|
return e.reduce(function(i, n) {
|
|
18203
|
-
var s =
|
|
18211
|
+
var s = x3(n) || F3(n) || Y3(n) || J3(n) || G3(n);
|
|
18204
18212
|
return s && i.push(s), i;
|
|
18205
18213
|
}, []);
|
|
18206
18214
|
}
|
|
18207
|
-
var
|
|
18208
|
-
function
|
|
18209
|
-
var e =
|
|
18215
|
+
var D3 = /^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|webpack|<anonymous>|\/|[a-z]:\\|\\\\).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i, R3 = /\((\S*)(?::(\d+))(?::(\d+))\)/;
|
|
18216
|
+
function x3(t) {
|
|
18217
|
+
var e = D3.exec(t);
|
|
18210
18218
|
if (!e)
|
|
18211
18219
|
return null;
|
|
18212
|
-
var i = e[2] && e[2].indexOf("native") === 0, n = e[2] && e[2].indexOf("eval") === 0, s =
|
|
18220
|
+
var i = e[2] && e[2].indexOf("native") === 0, n = e[2] && e[2].indexOf("eval") === 0, s = R3.exec(e[2]);
|
|
18213
18221
|
return n && s != null && (e[2] = s[1], e[3] = s[2], e[4] = s[3]), {
|
|
18214
18222
|
file: i ? null : e[2],
|
|
18215
18223
|
methodName: e[1] || _s,
|
|
@@ -18218,9 +18226,9 @@ function R3(t) {
|
|
|
18218
18226
|
column: e[4] ? +e[4] : null
|
|
18219
18227
|
};
|
|
18220
18228
|
}
|
|
18221
|
-
var
|
|
18222
|
-
function
|
|
18223
|
-
var e =
|
|
18229
|
+
var U3 = /^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;
|
|
18230
|
+
function F3(t) {
|
|
18231
|
+
var e = U3.exec(t);
|
|
18224
18232
|
return e ? {
|
|
18225
18233
|
file: e[2],
|
|
18226
18234
|
methodName: e[1] || _s,
|
|
@@ -18229,12 +18237,12 @@ function U3(t) {
|
|
|
18229
18237
|
column: e[4] ? +e[4] : null
|
|
18230
18238
|
} : null;
|
|
18231
18239
|
}
|
|
18232
|
-
var
|
|
18233
|
-
function
|
|
18234
|
-
var e =
|
|
18240
|
+
var q3 = /^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i, H3 = /(\S+) line (\d+)(?: > eval line \d+)* > eval/i;
|
|
18241
|
+
function Y3(t) {
|
|
18242
|
+
var e = q3.exec(t);
|
|
18235
18243
|
if (!e)
|
|
18236
18244
|
return null;
|
|
18237
|
-
var i = e[3] && e[3].indexOf(" > eval") > -1, n =
|
|
18245
|
+
var i = e[3] && e[3].indexOf(" > eval") > -1, n = H3.exec(e[3]);
|
|
18238
18246
|
return i && n != null && (e[3] = n[1], e[4] = n[2], e[5] = null), {
|
|
18239
18247
|
file: e[3],
|
|
18240
18248
|
methodName: e[1] || _s,
|
|
@@ -18243,9 +18251,9 @@ function H3(t) {
|
|
|
18243
18251
|
column: e[5] ? +e[5] : null
|
|
18244
18252
|
};
|
|
18245
18253
|
}
|
|
18246
|
-
var
|
|
18247
|
-
function
|
|
18248
|
-
var e =
|
|
18254
|
+
var Z3 = /^\s*(?:([^@]*)(?:\((.*?)\))?@)?(\S.*?):(\d+)(?::(\d+))?\s*$/i;
|
|
18255
|
+
function G3(t) {
|
|
18256
|
+
var e = Z3.exec(t);
|
|
18249
18257
|
return e ? {
|
|
18250
18258
|
file: e[3],
|
|
18251
18259
|
methodName: e[1] || _s,
|
|
@@ -18254,9 +18262,9 @@ function Z3(t) {
|
|
|
18254
18262
|
column: e[5] ? +e[5] : null
|
|
18255
18263
|
} : null;
|
|
18256
18264
|
}
|
|
18257
|
-
var
|
|
18258
|
-
function
|
|
18259
|
-
var e =
|
|
18265
|
+
var K3 = /^\s*at (?:((?:\[object object\])?[^\\/]+(?: \[as \S+\])?) )?\(?(.*?):(\d+)(?::(\d+))?\)?\s*$/i;
|
|
18266
|
+
function J3(t) {
|
|
18267
|
+
var e = K3.exec(t);
|
|
18260
18268
|
return e ? {
|
|
18261
18269
|
file: e[2],
|
|
18262
18270
|
methodName: e[1] || _s,
|
|
@@ -18265,18 +18273,18 @@ function K3(t) {
|
|
|
18265
18273
|
column: e[4] ? +e[4] : null
|
|
18266
18274
|
} : null;
|
|
18267
18275
|
}
|
|
18268
|
-
let Sl = !1,
|
|
18269
|
-
const
|
|
18276
|
+
let Sl = !1, Eo, Mo;
|
|
18277
|
+
const X3 = ({ onError: t }) => {
|
|
18270
18278
|
if (!t || Sl)
|
|
18271
18279
|
return;
|
|
18272
18280
|
Sl = !0;
|
|
18273
18281
|
const e = wl(new Error()), i = e == null ? void 0 : e.match(/setErrorHandler/);
|
|
18274
|
-
|
|
18282
|
+
Eo = window.onerror, Mo = window.onunhandledrejection, window.onerror = (n, s, o, r, l) => {
|
|
18275
18283
|
var g;
|
|
18276
18284
|
const a = s === e, d = (g = l == null ? void 0 : l.message) == null ? void 0 : g.match(/request was interrupted/);
|
|
18277
18285
|
if ((i || a || d) && t(l))
|
|
18278
18286
|
return !0;
|
|
18279
|
-
|
|
18287
|
+
Eo && Eo(n, s, o, r, l);
|
|
18280
18288
|
}, window.onunhandledrejection = (n) => {
|
|
18281
18289
|
var a;
|
|
18282
18290
|
const s = n.reason, o = wl(s) === e, r = (a = s == null ? void 0 : s.message) == null ? void 0 : a.match(/request was interrupted/);
|
|
@@ -18284,12 +18292,12 @@ const J3 = ({ onError: t }) => {
|
|
|
18284
18292
|
n.preventDefault();
|
|
18285
18293
|
return;
|
|
18286
18294
|
}
|
|
18287
|
-
|
|
18295
|
+
Mo && Mo(n);
|
|
18288
18296
|
};
|
|
18289
18297
|
}, wl = (t) => {
|
|
18290
18298
|
var e;
|
|
18291
|
-
return (e =
|
|
18292
|
-
},
|
|
18299
|
+
return (e = N3((t == null ? void 0 : t.stack) || "")[0]) == null ? void 0 : e.file;
|
|
18300
|
+
}, Q3 = () => {
|
|
18293
18301
|
typeof window == "undefined" && ci([
|
|
18294
18302
|
"Trying to initialize BeyondWords.Player in a server context but this is unsupported.",
|
|
18295
18303
|
"Please only initialize the player in a context where the global window object is available.",
|
|
@@ -18297,13 +18305,13 @@ const J3 = ({ onError: t }) => {
|
|
|
18297
18305
|
]);
|
|
18298
18306
|
};
|
|
18299
18307
|
let Pl = !1;
|
|
18300
|
-
const
|
|
18301
|
-
Pl || (Pl = !0, addEventListener("mousedown",
|
|
18302
|
-
}, $3 = (t) => {
|
|
18303
|
-
Ia = t.pageX, Va = t.pageY;
|
|
18308
|
+
const $3 = () => {
|
|
18309
|
+
Pl || (Pl = !0, addEventListener("mousedown", ev), addEventListener("click", tv), addEventListener("mousemove", iv));
|
|
18304
18310
|
}, ev = (t) => {
|
|
18311
|
+
Ia = t.pageX, Va = t.pageY;
|
|
18312
|
+
}, tv = (t) => {
|
|
18305
18313
|
var i;
|
|
18306
|
-
if (t.defaultPrevented ||
|
|
18314
|
+
if (t.defaultPrevented || nv(t) || t.button !== 0)
|
|
18307
18315
|
return;
|
|
18308
18316
|
const e = (i = Aa(t.target)) == null ? void 0 : i.getAttribute(_n);
|
|
18309
18317
|
if (e)
|
|
@@ -18319,12 +18327,12 @@ const Q3 = () => {
|
|
|
18319
18327
|
segmentIndex: r
|
|
18320
18328
|
}));
|
|
18321
18329
|
}
|
|
18322
|
-
},
|
|
18330
|
+
}, iv = (t) => {
|
|
18323
18331
|
var n;
|
|
18324
18332
|
const e = document.elementFromPoint(t.clientX, t.clientY), i = (n = Aa(e)) == null ? void 0 : n.getAttribute(_n);
|
|
18325
18333
|
for (const [s, o] of BeyondWords.Player.instances().entries()) {
|
|
18326
18334
|
const { segment: r, contentIndex: l, segmentIndex: a } = Ba(o, i);
|
|
18327
|
-
|
|
18335
|
+
sv(s, l, a) && o.onEvent(_e({
|
|
18328
18336
|
type: "HoveredSegmentUpdated",
|
|
18329
18337
|
description: "The user hovered over a different segment in the article.",
|
|
18330
18338
|
initiatedBy: "user",
|
|
@@ -18356,10 +18364,10 @@ const Q3 = () => {
|
|
|
18356
18364
|
return i;
|
|
18357
18365
|
};
|
|
18358
18366
|
let Ia, Va;
|
|
18359
|
-
const
|
|
18367
|
+
const nv = (t) => {
|
|
18360
18368
|
const e = t.pageX - Ia, i = t.pageY - Va;
|
|
18361
18369
|
return Math.sqrt(e * e + i * i) > 5;
|
|
18362
|
-
}, Ds = {},
|
|
18370
|
+
}, Ds = {}, sv = (t, e, i) => {
|
|
18363
18371
|
Ds[t] || (Ds[t] = {});
|
|
18364
18372
|
const n = Ds[t];
|
|
18365
18373
|
return n.contentIndex === e && n.segmentIndex === i ? !1 : (n.contentIndex = e, n.segmentIndex = i, !0);
|
|
@@ -18369,28 +18377,28 @@ class zo {
|
|
|
18369
18377
|
this.analyticsSink = e;
|
|
18370
18378
|
}
|
|
18371
18379
|
sendToCustomAnalytics(e) {
|
|
18372
|
-
return
|
|
18380
|
+
return j2(this.analyticsSink, e);
|
|
18373
18381
|
}
|
|
18374
18382
|
sendToGoogleAnalytics(e, i) {
|
|
18375
18383
|
window.gtag("event", e, xi(ti({}, i), { send_to: this.analyticsSink }));
|
|
18376
18384
|
}
|
|
18377
18385
|
}
|
|
18378
|
-
const
|
|
18379
|
-
const i =
|
|
18386
|
+
const ov = (t, e) => {
|
|
18387
|
+
const i = rv(t, e.type);
|
|
18380
18388
|
if (!i)
|
|
18381
18389
|
return;
|
|
18382
|
-
const n =
|
|
18383
|
-
Au(n), t.analyticsUrl && t.analyticsConsent !== "none" && new zo(t.analyticsUrl).sendToCustomAnalytics(n), t.analyticsCustomUrl && t.analyticsConsent !== "none" && new zo(t.analyticsCustomUrl).sendToCustomAnalytics(n), t.analyticsTag && new zo(t.analyticsTag).sendToGoogleAnalytics(
|
|
18384
|
-
},
|
|
18390
|
+
const n = lv(t, i);
|
|
18391
|
+
Au(n), t.analyticsUrl && t.analyticsConsent !== "none" && new zo(t.analyticsUrl).sendToCustomAnalytics(n), t.analyticsCustomUrl && t.analyticsConsent !== "none" && new zo(t.analyticsCustomUrl).sendToCustomAnalytics(n), t.analyticsTag && new zo(t.analyticsTag).sendToGoogleAnalytics(av(n), n);
|
|
18392
|
+
}, rv = (t, e) => {
|
|
18385
18393
|
if (e === "MediaLoaded" && !t.listenSessionId)
|
|
18386
18394
|
return "load";
|
|
18387
|
-
if (e === "PlaybackPlaying" &&
|
|
18395
|
+
if (e === "PlaybackPlaying" && uv(t) && (t.isNewListen = !0), e === "CurrentTimeUpdated" && t.isNewListen)
|
|
18388
18396
|
return t.isNewListen = !1, "play";
|
|
18389
|
-
if (e === "CurrentTimeUpdated" &&
|
|
18397
|
+
if (e === "CurrentTimeUpdated" && cv(t))
|
|
18390
18398
|
return "play_progress";
|
|
18391
18399
|
if (e.startsWith("PressedAdvert"))
|
|
18392
18400
|
return "ad_link_click";
|
|
18393
|
-
},
|
|
18401
|
+
}, lv = (t, e) => {
|
|
18394
18402
|
var r, l;
|
|
18395
18403
|
t.listenSessionId || (t.listenSessionId = qs()), t.sessionCreatedAt || (t.sessionCreatedAt = Date.now());
|
|
18396
18404
|
const i = ["without-local-storage", "none"].includes(t.analyticsConsent);
|
|
@@ -18398,7 +18406,7 @@ const sv = (t, e) => {
|
|
|
18398
18406
|
const n = t.adverts[t.advertIndex], s = t.content[t.contentIndex], o = t.duration ? t.currentTime / t.duration * 100 : 0;
|
|
18399
18407
|
return {
|
|
18400
18408
|
event_type: e,
|
|
18401
|
-
device_type:
|
|
18409
|
+
device_type: dv(),
|
|
18402
18410
|
media_type: n ? "ad" : "content",
|
|
18403
18411
|
project_id: t.projectId,
|
|
18404
18412
|
content_id: s == null ? void 0 : s.id,
|
|
@@ -18419,7 +18427,7 @@ const sv = (t, e) => {
|
|
|
18419
18427
|
player_version: "1",
|
|
18420
18428
|
player_npm_version: xs
|
|
18421
18429
|
};
|
|
18422
|
-
},
|
|
18430
|
+
}, av = ({ event_type: t, listen_length_percent: e }) => {
|
|
18423
18431
|
const i = Math.floor(e / 10) * 10;
|
|
18424
18432
|
if (t === "load")
|
|
18425
18433
|
return "Load";
|
|
@@ -18431,7 +18439,7 @@ const sv = (t, e) => {
|
|
|
18431
18439
|
return `${i}% listened`;
|
|
18432
18440
|
if (t === "ad_link_click")
|
|
18433
18441
|
return "Advert Click";
|
|
18434
|
-
},
|
|
18442
|
+
}, uv = (t) => {
|
|
18435
18443
|
var n, s;
|
|
18436
18444
|
let e = !1;
|
|
18437
18445
|
if (t.advertIndex !== -1) {
|
|
@@ -18442,22 +18450,22 @@ const sv = (t, e) => {
|
|
|
18442
18450
|
e = o !== t.prevContentId, t.prevContentId = o;
|
|
18443
18451
|
}
|
|
18444
18452
|
return e;
|
|
18445
|
-
},
|
|
18453
|
+
}, cv = (t) => {
|
|
18446
18454
|
if (t.introsOutrosIndex !== -1)
|
|
18447
18455
|
return;
|
|
18448
18456
|
const e = t.prevPercentage + 10, i = t.currentTime / t.duration * 100;
|
|
18449
18457
|
if (i >= e)
|
|
18450
18458
|
return t.prevPercentage = Math.floor(i / 10) * 10, !0;
|
|
18451
|
-
},
|
|
18459
|
+
}, dv = () => Tl(499) ? "phone" : Tl(999) ? "tablet" : "desktop", Tl = (t) => window.matchMedia && window.matchMedia(`only screen and (max-device-width: ${t}px)`).matches;
|
|
18452
18460
|
var fn;
|
|
18453
|
-
const Ti = class Ti extends
|
|
18461
|
+
const Ti = class Ti extends i3 {
|
|
18454
18462
|
constructor(n) {
|
|
18455
18463
|
var s = n, { target: e } = s, i = Po(s, ["target"]);
|
|
18456
|
-
|
|
18457
|
-
const { newTarget: o, showUserInterface: r } =
|
|
18464
|
+
Q3(), X3(i), $3();
|
|
18465
|
+
const { newTarget: o, showUserInterface: r } = H2(e);
|
|
18458
18466
|
o.classList.add("beyondwords-player", "bwp"), Ti._styleLoaded || (o.style.display = "none");
|
|
18459
|
-
const l = new
|
|
18460
|
-
l.addEventListener("<any>", (d) =>
|
|
18467
|
+
const l = new L3(null, Ti);
|
|
18468
|
+
l.addEventListener("<any>", (d) => ov(this, d));
|
|
18461
18469
|
const a = ti({ showUserInterface: r }, i);
|
|
18462
18470
|
super({ target: o, props: xi(ti({ controller: l }, a), { initialProps: a }) }), l.player = this, Ii(Ti, fn).push(this);
|
|
18463
18471
|
}
|
|
@@ -18499,8 +18507,8 @@ fn = new WeakMap(), Ve(Ti, fn, []);
|
|
|
18499
18507
|
let Xs = Ti;
|
|
18500
18508
|
var Cl;
|
|
18501
18509
|
typeof window != "undefined" && (window.BeyondWords || (window.BeyondWords = {}), (Cl = window.BeyondWords).Player || (Cl.Player = Xs));
|
|
18502
|
-
const
|
|
18510
|
+
const _v = { Player: Xs };
|
|
18503
18511
|
export {
|
|
18504
|
-
|
|
18512
|
+
_v as default
|
|
18505
18513
|
};
|
|
18506
18514
|
//# sourceMappingURL=es.js.map
|