@beyondwords/player 0.0.0-beta40 → 0.0.0-beta41
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 +722 -715
- package/dist/es.js.map +1 -1
- package/dist/umd.js +24 -24
- package/dist/umd.js.map +1 -1
- package/package.json +1 -1
package/dist/es.js
CHANGED
|
@@ -3,7 +3,7 @@ var A0 = Object.defineProperty, x0 = Object.defineProperties;
|
|
|
3
3
|
var w0 = Object.getOwnPropertyDescriptors;
|
|
4
4
|
var La = Object.getOwnPropertySymbols;
|
|
5
5
|
var lc = Object.prototype.hasOwnProperty, uc = Object.prototype.propertyIsEnumerable;
|
|
6
|
-
var oc = (t, e, i) => e in t ? A0(t, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : t[e] = i,
|
|
6
|
+
var oc = (t, e, i) => e in t ? A0(t, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : t[e] = i, de = (t, e) => {
|
|
7
7
|
for (var i in e || (e = {}))
|
|
8
8
|
lc.call(e, i) && oc(t, i, e[i]);
|
|
9
9
|
if (La)
|
|
@@ -152,7 +152,7 @@ function Jd(t) {
|
|
|
152
152
|
return e && e.host ? e : t.ownerDocument;
|
|
153
153
|
}
|
|
154
154
|
function O0(t) {
|
|
155
|
-
const e =
|
|
155
|
+
const e = U("style");
|
|
156
156
|
return B0(Jd(t), e), e.sheet;
|
|
157
157
|
}
|
|
158
158
|
function B0(t, e) {
|
|
@@ -168,7 +168,7 @@ function Vn(t, e) {
|
|
|
168
168
|
for (let i = 0; i < t.length; i += 1)
|
|
169
169
|
t[i] && t[i].d(e);
|
|
170
170
|
}
|
|
171
|
-
function
|
|
171
|
+
function U(t) {
|
|
172
172
|
return document.createElement(t);
|
|
173
173
|
}
|
|
174
174
|
function $e(t) {
|
|
@@ -229,7 +229,7 @@ function N0() {
|
|
|
229
229
|
}
|
|
230
230
|
function F0(t, e) {
|
|
231
231
|
getComputedStyle(t).position === "static" && (t.style.position = "relative");
|
|
232
|
-
const n =
|
|
232
|
+
const n = U("iframe");
|
|
233
233
|
n.setAttribute("style", "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"), n.setAttribute("aria-hidden", "true"), n.tabIndex = -1;
|
|
234
234
|
const a = N0();
|
|
235
235
|
let l;
|
|
@@ -270,7 +270,7 @@ function gc(t, e, i, n, a, l, g, p = 0) {
|
|
|
270
270
|
`;
|
|
271
271
|
}
|
|
272
272
|
const T = k + `100% {${g(i, 1 - i)}}
|
|
273
|
-
}`, C = `__svelte_${V0(T)}_${p}`,
|
|
273
|
+
}`, C = `__svelte_${V0(T)}_${p}`, F = Jd(t), { stylesheet: V, rules: N } = io.get(F) || W0(F, t);
|
|
274
274
|
N[C] || (N[C] = !0, V.insertRule(`@keyframes ${C} ${T}`, V.cssRules.length));
|
|
275
275
|
const J = t.style.animation || "";
|
|
276
276
|
return t.style.animation = `${J ? `${J}, ` : ""}${C} ${n}ms linear ${a}ms 1 both`, ro += 1, C;
|
|
@@ -413,18 +413,18 @@ function vc(t, e, i, n) {
|
|
|
413
413
|
group: V.group
|
|
414
414
|
};
|
|
415
415
|
}
|
|
416
|
-
function
|
|
417
|
-
const { delay: N = 0, duration: J = 300, easing: W = P0, tick: le = Ce, css: te } = l || q0,
|
|
416
|
+
function F(V) {
|
|
417
|
+
const { delay: N = 0, duration: J = 300, easing: W = P0, tick: le = Ce, css: te } = l || q0, pe = {
|
|
418
418
|
start: I0() + N,
|
|
419
419
|
b: V
|
|
420
420
|
};
|
|
421
|
-
V || (
|
|
422
|
-
if (_ &&
|
|
423
|
-
if (
|
|
421
|
+
V || (pe.group = kn, kn.r += 1), p || _ ? _ = pe : (te && (T(), k = gc(t, g, V, J, N, W, te)), V && le(0, 1), p = C(pe, J), Wt(() => hl(t, V, "start")), R0((_e) => {
|
|
422
|
+
if (_ && _e > _.start && (p = C(_, J), _ = null, hl(t, p.b, "start"), te && (T(), k = gc(t, g, p.b, p.duration, 0, W, l.css))), p) {
|
|
423
|
+
if (_e >= p.end)
|
|
424
424
|
le(g = p.b, 1 - g), hl(t, p.b, "end"), _ || (p.b ? T() : --p.group.r || Ht(p.group.c)), p = null;
|
|
425
|
-
else if (
|
|
426
|
-
const
|
|
427
|
-
g = p.a + p.d * W(
|
|
425
|
+
else if (_e >= p.start) {
|
|
426
|
+
const ce = _e - p.start;
|
|
427
|
+
g = p.a + p.d * W(ce / p.duration), le(g, 1 - g);
|
|
428
428
|
}
|
|
429
429
|
}
|
|
430
430
|
return !!(p || _);
|
|
@@ -433,8 +433,8 @@ function vc(t, e, i, n) {
|
|
|
433
433
|
return {
|
|
434
434
|
run(V) {
|
|
435
435
|
Ds(l) ? Y0().then(() => {
|
|
436
|
-
l = l(a),
|
|
437
|
-
}) :
|
|
436
|
+
l = l(a), F(V);
|
|
437
|
+
}) : F(V);
|
|
438
438
|
},
|
|
439
439
|
end() {
|
|
440
440
|
T(), p = _ = null;
|
|
@@ -447,31 +447,31 @@ function X0(t, e) {
|
|
|
447
447
|
});
|
|
448
448
|
}
|
|
449
449
|
function Z0(t, e, i, n, a, l, g, p, _, k, T, C) {
|
|
450
|
-
let
|
|
450
|
+
let F = t.length, V = l.length, N = F;
|
|
451
451
|
const J = {};
|
|
452
452
|
for (; N--; )
|
|
453
453
|
J[t[N].key] = N;
|
|
454
|
-
const W = [], le = /* @__PURE__ */ new Map(), te = /* @__PURE__ */ new Map(),
|
|
454
|
+
const W = [], le = /* @__PURE__ */ new Map(), te = /* @__PURE__ */ new Map(), pe = [];
|
|
455
455
|
for (N = V; N--; ) {
|
|
456
456
|
const Z = C(a, l, N), L = i(Z);
|
|
457
457
|
let oe = g.get(L);
|
|
458
|
-
oe ? n &&
|
|
458
|
+
oe ? n && pe.push(() => oe.p(Z, e)) : (oe = k(L, Z), oe.c()), le.set(L, W[N] = oe), L in J && te.set(L, Math.abs(N - J[L]));
|
|
459
459
|
}
|
|
460
|
-
const
|
|
461
|
-
function
|
|
460
|
+
const _e = /* @__PURE__ */ new Set(), ce = /* @__PURE__ */ new Set();
|
|
461
|
+
function ge(Z) {
|
|
462
462
|
$(Z, 1), Z.m(p, T), g.set(Z.key, Z), T = Z.first, V--;
|
|
463
463
|
}
|
|
464
|
-
for (;
|
|
465
|
-
const Z = W[V - 1], L = t[
|
|
466
|
-
Z === L ? (T = Z.first,
|
|
464
|
+
for (; F && V; ) {
|
|
465
|
+
const Z = W[V - 1], L = t[F - 1], oe = Z.key, z = L.key;
|
|
466
|
+
Z === L ? (T = Z.first, F--, V--) : le.has(z) ? !g.has(oe) || _e.has(oe) ? ge(Z) : ce.has(z) ? F-- : te.get(oe) > te.get(z) ? (ce.add(oe), ge(Z)) : (_e.add(z), F--) : (_(L, g), F--);
|
|
467
467
|
}
|
|
468
|
-
for (;
|
|
469
|
-
const Z = t[
|
|
468
|
+
for (; F--; ) {
|
|
469
|
+
const Z = t[F];
|
|
470
470
|
le.has(Z.key) || _(Z, g);
|
|
471
471
|
}
|
|
472
472
|
for (; V; )
|
|
473
|
-
|
|
474
|
-
return Ht(
|
|
473
|
+
ge(W[V - 1]);
|
|
474
|
+
return Ht(pe), W;
|
|
475
475
|
}
|
|
476
476
|
function Ze(t, e, i) {
|
|
477
477
|
const n = t.$$.props[e];
|
|
@@ -520,9 +520,9 @@ function tt(t, e, i, n, a, l, g, p = [-1]) {
|
|
|
520
520
|
};
|
|
521
521
|
g && g(k.root);
|
|
522
522
|
let T = !1;
|
|
523
|
-
if (k.ctx = i ? i(t, e.props || {}, (C,
|
|
524
|
-
const N = V.length ? V[0] :
|
|
525
|
-
return k.ctx && a(k.ctx[C], k.ctx[C] = N) && (!k.skip_bound && k.bound[C] && k.bound[C](N), T && J0(t, C)),
|
|
523
|
+
if (k.ctx = i ? i(t, e.props || {}, (C, F, ...V) => {
|
|
524
|
+
const N = V.length ? V[0] : F;
|
|
525
|
+
return k.ctx && a(k.ctx[C], k.ctx[C] = N) && (!k.skip_bound && k.bound[C] && k.bound[C](N), T && J0(t, C)), F;
|
|
526
526
|
}) : [], k.update(), T = !0, Ht(k.before_update), k.fragment = n ? n(k.ctx) : !1, e.target) {
|
|
527
527
|
if (e.hydrate) {
|
|
528
528
|
const C = M0(e.target);
|
|
@@ -550,7 +550,7 @@ class it {
|
|
|
550
550
|
this.$$set && !L0(e) && (this.$$.skip_bound = !0, this.$$set(e), this.$$.skip_bound = !1);
|
|
551
551
|
}
|
|
552
552
|
}
|
|
553
|
-
const Q0 = "@beyondwords/player", tu = "0.0.0-
|
|
553
|
+
const Q0 = "@beyondwords/player", tu = "0.0.0-beta41", ir = (t, e) => {
|
|
554
554
|
t = [t].flat().join(`
|
|
555
555
|
`);
|
|
556
556
|
let i = `${Q0}:
|
|
@@ -625,7 +625,7 @@ const iu = ["user", "media", "browser", "media-session-api", "google-ima-sdk", "
|
|
|
625
625
|
}, Ye = (t) => {
|
|
626
626
|
lv(t);
|
|
627
627
|
const e = no(), i = (/* @__PURE__ */ new Date()).toISOString();
|
|
628
|
-
return
|
|
628
|
+
return de({ id: e, createdAt: i, status: "pending" }, t);
|
|
629
629
|
}, fv = (t, e = {}) => {
|
|
630
630
|
let i;
|
|
631
631
|
try {
|
|
@@ -650,7 +650,7 @@ function pv(t) {
|
|
|
650
650
|
let e, i, n, a, l, g;
|
|
651
651
|
return {
|
|
652
652
|
c() {
|
|
653
|
-
e =
|
|
653
|
+
e = U("script"), n = Pe(), a = U("div"), ss(e.src, i = "https://imasdk.googleapis.com/js/sdkloader/ima3.js") || pc(e, "src", i), pc(a, "class", "vast-container");
|
|
654
654
|
},
|
|
655
655
|
m(p, _) {
|
|
656
656
|
I(mv.head, e), se(p, n, _), se(p, a, _), t[12](a), l || (g = [
|
|
@@ -678,12 +678,12 @@ function pv(t) {
|
|
|
678
678
|
}
|
|
679
679
|
function _v(t, e, i) {
|
|
680
680
|
let n, a, { vastUrl: l } = e, { advertConsent: g } = e, { video: p } = e, { playbackState: _ } = e, { duration: k } = e, { currentTime: T } = e, { onEvent: C = () => {
|
|
681
|
-
} } = e,
|
|
682
|
-
const
|
|
683
|
-
V = new google.ima.AdDisplayContainer(
|
|
684
|
-
},
|
|
685
|
-
i(10, W = X.getAdsManager(p)), W.addEventListener(google.ima.AdEvent.Type.AD_PROGRESS,
|
|
686
|
-
},
|
|
681
|
+
} } = e, F, V, N, J, W, le, te;
|
|
682
|
+
const pe = () => {
|
|
683
|
+
V = new google.ima.AdDisplayContainer(F, p), N = new google.ima.AdsLoader(V), N.addEventListener(google.ima.AdsManagerLoadedEvent.Type.ADS_MANAGER_LOADED, _e, !1), N.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR, z, !1), J = new google.ima.AdsRequest(), J.adTagUrl = a, J.linearAdSlotWidth = p.clientWidth, J.linearAdSlotHeight = p.clientHeight, N.requestAds(J);
|
|
684
|
+
}, _e = (X) => {
|
|
685
|
+
i(10, W = X.getAdsManager(p)), W.addEventListener(google.ima.AdEvent.Type.AD_PROGRESS, ge), W.addEventListener(google.ima.AdEvent.Type.CLICK, Z), W.addEventListener(google.ima.AdEvent.Type.PAUSED, L), W.addEventListener(google.ima.AdEvent.Type.CONTENT_RESUME_REQUESTED, oe), W.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR, z);
|
|
686
|
+
}, ce = () => {
|
|
687
687
|
if (!le) {
|
|
688
688
|
le = !0, p.pause(), p.load(), V.initialize();
|
|
689
689
|
try {
|
|
@@ -692,7 +692,7 @@ function _v(t, e, i) {
|
|
|
692
692
|
z(null, X);
|
|
693
693
|
}
|
|
694
694
|
}
|
|
695
|
-
},
|
|
695
|
+
}, ge = (X) => {
|
|
696
696
|
te = X.getAdData(), te.updatedAt = Date.now(), C(Ye({
|
|
697
697
|
type: "CurrentTimeUpdated",
|
|
698
698
|
description: "The media's current time was updated.",
|
|
@@ -739,14 +739,14 @@ function _v(t, e, i) {
|
|
|
739
739
|
errorMessage: "The ima3.js script was blocked."
|
|
740
740
|
}));
|
|
741
741
|
}, Le = () => {
|
|
742
|
-
const X = document.createTreeWalker(
|
|
742
|
+
const X = document.createTreeWalker(F);
|
|
743
743
|
let B;
|
|
744
744
|
for (; B = X.nextNode(); ) {
|
|
745
|
-
const Ue = /;(?!([^()]*\([^()]*\))*[^()]*\))/, q = B.style.cssText.split(Ue).filter((
|
|
745
|
+
const Ue = /;(?!([^()]*\([^()]*\))*[^()]*\))/, q = B.style.cssText.split(Ue).filter((ve) => ve).map((ve) => ve.includes("!important") ? ve : `${ve} !important`);
|
|
746
746
|
B.style.cssText = q.join(";");
|
|
747
747
|
}
|
|
748
748
|
}, Te = () => {
|
|
749
|
-
|
|
749
|
+
F && (i(5, T = Se()), W.resize(p.clientWidth, p.clientHeight, google.ima.ViewMode.NORMAL), requestAnimationFrame(Te));
|
|
750
750
|
}, Se = () => {
|
|
751
751
|
if (!te)
|
|
752
752
|
return 0;
|
|
@@ -758,7 +758,7 @@ function _v(t, e, i) {
|
|
|
758
758
|
};
|
|
759
759
|
function G(X) {
|
|
760
760
|
Fe[X ? "unshift" : "push"](() => {
|
|
761
|
-
|
|
761
|
+
F = X, i(0, F);
|
|
762
762
|
});
|
|
763
763
|
}
|
|
764
764
|
return t.$$set = (X) => {
|
|
@@ -767,11 +767,11 @@ function _v(t, e, i) {
|
|
|
767
767
|
t.$$.dirty & /*advertConsent, video*/
|
|
768
768
|
384 && i(11, n = hv(g, nf(p))), t.$$.dirty & /*vastUrl, adParams*/
|
|
769
769
|
2112 && (a = fv(l, n)), t.$$.dirty & /*adsManager, playbackState*/
|
|
770
|
-
1032 && W && _ === "playing" &&
|
|
770
|
+
1032 && W && _ === "playing" && ce(), t.$$.dirty & /*adsManager, playbackState*/
|
|
771
771
|
1032 && (_ === "playing" ? W == null || W.resume() : W == null || W.pause());
|
|
772
772
|
}, [
|
|
773
|
-
|
|
774
|
-
|
|
773
|
+
F,
|
|
774
|
+
pe,
|
|
775
775
|
Ke,
|
|
776
776
|
_,
|
|
777
777
|
k,
|
|
@@ -879,7 +879,7 @@ var sf = { exports: {} };
|
|
|
879
879
|
function g(d, c) {
|
|
880
880
|
for (var u = 0; u < c.length; u++) {
|
|
881
881
|
var r = c[u];
|
|
882
|
-
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(d,
|
|
882
|
+
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(d, pe(r.key), r);
|
|
883
883
|
}
|
|
884
884
|
}
|
|
885
885
|
function p(d, c, u) {
|
|
@@ -888,7 +888,7 @@ var sf = { exports: {} };
|
|
|
888
888
|
}), d;
|
|
889
889
|
}
|
|
890
890
|
function _(d, c, u) {
|
|
891
|
-
return c =
|
|
891
|
+
return c = pe(c), c in d ? Object.defineProperty(d, c, {
|
|
892
892
|
value: u,
|
|
893
893
|
enumerable: !0,
|
|
894
894
|
configurable: !0,
|
|
@@ -906,17 +906,17 @@ var sf = { exports: {} };
|
|
|
906
906
|
}, k.apply(this, arguments);
|
|
907
907
|
}
|
|
908
908
|
function T(d, c) {
|
|
909
|
-
d.prototype = Object.create(c.prototype), d.prototype.constructor = d,
|
|
909
|
+
d.prototype = Object.create(c.prototype), d.prototype.constructor = d, F(d, c);
|
|
910
910
|
}
|
|
911
911
|
function C(d) {
|
|
912
912
|
return C = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(u) {
|
|
913
913
|
return u.__proto__ || Object.getPrototypeOf(u);
|
|
914
914
|
}, C(d);
|
|
915
915
|
}
|
|
916
|
-
function
|
|
917
|
-
return
|
|
916
|
+
function F(d, c) {
|
|
917
|
+
return F = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(r, s) {
|
|
918
918
|
return r.__proto__ = s, r;
|
|
919
|
-
},
|
|
919
|
+
}, F(d, c);
|
|
920
920
|
}
|
|
921
921
|
function V() {
|
|
922
922
|
if (typeof Reflect == "undefined" || !Reflect.construct || Reflect.construct.sham)
|
|
@@ -935,7 +935,7 @@ var sf = { exports: {} };
|
|
|
935
935
|
var h = [null];
|
|
936
936
|
h.push.apply(h, o);
|
|
937
937
|
var v = Function.bind.apply(s, h), m = new v();
|
|
938
|
-
return f &&
|
|
938
|
+
return f && F(m, f.prototype), m;
|
|
939
939
|
}, N.apply(null, arguments);
|
|
940
940
|
}
|
|
941
941
|
function J(d) {
|
|
@@ -963,7 +963,7 @@ var sf = { exports: {} };
|
|
|
963
963
|
writable: !0,
|
|
964
964
|
configurable: !0
|
|
965
965
|
}
|
|
966
|
-
}),
|
|
966
|
+
}), F(s, r);
|
|
967
967
|
}, W(d);
|
|
968
968
|
}
|
|
969
969
|
function le(d) {
|
|
@@ -983,14 +983,14 @@ var sf = { exports: {} };
|
|
|
983
983
|
}
|
|
984
984
|
return (c === "string" ? String : Number)(d);
|
|
985
985
|
}
|
|
986
|
-
function
|
|
986
|
+
function pe(d) {
|
|
987
987
|
var c = te(d, "string");
|
|
988
988
|
return typeof c == "symbol" ? c : String(c);
|
|
989
989
|
}
|
|
990
|
-
function
|
|
990
|
+
function _e(d) {
|
|
991
991
|
return d && d.__esModule && Object.prototype.hasOwnProperty.call(d, "default") ? d.default : d;
|
|
992
992
|
}
|
|
993
|
-
var
|
|
993
|
+
var ce = { exports: {} };
|
|
994
994
|
(function(d, c) {
|
|
995
995
|
(function(u) {
|
|
996
996
|
var r = /^(?=((?:[a-zA-Z0-9+\-.]+:)?))\1(?=((?:\/\/[^\/?#]*)?))\2(?=((?:(?:[^?#\/]*\/)*[^;?#\/]*)?))\3((?:;[^?#]*)?)(\?[^#]*)?(#[^]*)?$/, s = /^(?=([^\/?#]*))\1([^]*)$/, o = /(?:\/|^)\.(?=\/)/g, f = /(?:\/|^)\.\.\/(?!\.\.\/)[^\/]*(?=\/)/g, h = {
|
|
@@ -1065,8 +1065,8 @@ var sf = { exports: {} };
|
|
|
1065
1065
|
};
|
|
1066
1066
|
d.exports = h;
|
|
1067
1067
|
})();
|
|
1068
|
-
})(
|
|
1069
|
-
var
|
|
1068
|
+
})(ce);
|
|
1069
|
+
var ge = ce.exports, Z = Number.isFinite || function(d) {
|
|
1070
1070
|
return typeof d == "number" && isFinite(d);
|
|
1071
1071
|
}, L = /* @__PURE__ */ function(d) {
|
|
1072
1072
|
return d.MEDIA_ATTACHING = "hlsMediaAttaching", d.MEDIA_ATTACHED = "hlsMediaAttached", d.MEDIA_DETACHING = "hlsMediaDetaching", d.MEDIA_DETACHED = "hlsMediaDetached", d.BUFFER_RESET = "hlsBufferReset", d.BUFFER_CODECS = "hlsBufferCodecs", d.BUFFER_CREATED = "hlsBufferCreated", d.BUFFER_APPENDING = "hlsBufferAppending", d.BUFFER_APPENDED = "hlsBufferAppended", d.BUFFER_EOS = "hlsBufferEos", d.BUFFER_FLUSHING = "hlsBufferFlushing", d.BUFFER_FLUSHED = "hlsBufferFlushed", d.MANIFEST_LOADING = "hlsManifestLoading", d.MANIFEST_LOADED = "hlsManifestLoaded", d.MANIFEST_PARSED = "hlsManifestParsed", d.LEVEL_SWITCHING = "hlsLevelSwitching", d.LEVEL_SWITCHED = "hlsLevelSwitched", d.LEVEL_LOADING = "hlsLevelLoading", d.LEVEL_LOADED = "hlsLevelLoaded", d.LEVEL_UPDATED = "hlsLevelUpdated", d.LEVEL_PTS_UPDATED = "hlsLevelPtsUpdated", d.LEVELS_UPDATED = "hlsLevelsUpdated", d.AUDIO_TRACKS_UPDATED = "hlsAudioTracksUpdated", d.AUDIO_TRACK_SWITCHING = "hlsAudioTrackSwitching", d.AUDIO_TRACK_SWITCHED = "hlsAudioTrackSwitched", d.AUDIO_TRACK_LOADING = "hlsAudioTrackLoading", d.AUDIO_TRACK_LOADED = "hlsAudioTrackLoaded", d.SUBTITLE_TRACKS_UPDATED = "hlsSubtitleTracksUpdated", d.SUBTITLE_TRACKS_CLEARED = "hlsSubtitleTracksCleared", d.SUBTITLE_TRACK_SWITCH = "hlsSubtitleTrackSwitch", d.SUBTITLE_TRACK_LOADING = "hlsSubtitleTrackLoading", d.SUBTITLE_TRACK_LOADED = "hlsSubtitleTrackLoaded", d.SUBTITLE_FRAG_PROCESSED = "hlsSubtitleFragProcessed", d.CUES_PARSED = "hlsCuesParsed", d.NON_NATIVE_TEXT_TRACKS_FOUND = "hlsNonNativeTextTracksFound", d.INIT_PTS_FOUND = "hlsInitPtsFound", d.FRAG_LOADING = "hlsFragLoading", d.FRAG_LOAD_EMERGENCY_ABORTED = "hlsFragLoadEmergencyAborted", d.FRAG_LOADED = "hlsFragLoaded", d.FRAG_DECRYPTED = "hlsFragDecrypted", d.FRAG_PARSING_INIT_SEGMENT = "hlsFragParsingInitSegment", d.FRAG_PARSING_USERDATA = "hlsFragParsingUserdata", d.FRAG_PARSING_METADATA = "hlsFragParsingMetadata", d.FRAG_PARSED = "hlsFragParsed", d.FRAG_BUFFERED = "hlsFragBuffered", d.FRAG_CHANGED = "hlsFragChanged", d.FPS_DROP = "hlsFpsDrop", d.FPS_DROP_LEVEL_CAPPING = "hlsFpsDropLevelCapping", d.ERROR = "hlsError", d.DESTROYING = "hlsDestroying", d.KEY_LOADING = "hlsKeyLoading", d.KEY_LOADED = "hlsKeyLoaded", d.LIVE_BACK_BUFFER_REACHED = "hlsLiveBackBufferReached", d.BACK_BUFFER_REACHED = "hlsBackBufferReached", d;
|
|
@@ -1163,7 +1163,7 @@ var sf = { exports: {} };
|
|
|
1163
1163
|
return o;
|
|
1164
1164
|
}, d;
|
|
1165
1165
|
}();
|
|
1166
|
-
function
|
|
1166
|
+
function ve(d) {
|
|
1167
1167
|
return d !== "ID" && d !== "CLASS" && d !== "START-DATE" && d !== "DURATION" && d !== "END-DATE" && d !== "END-ON-NEXT";
|
|
1168
1168
|
}
|
|
1169
1169
|
function at(d) {
|
|
@@ -1279,7 +1279,7 @@ var sf = { exports: {} };
|
|
|
1279
1279
|
}, {
|
|
1280
1280
|
key: "url",
|
|
1281
1281
|
get: function() {
|
|
1282
|
-
return !this._url && this.baseurl && this.relurl && (this._url =
|
|
1282
|
+
return !this._url && this.baseurl && this.relurl && (this._url = ge.buildAbsoluteURL(this.baseurl, this.relurl, {
|
|
1283
1283
|
alwaysNormalize: !0
|
|
1284
1284
|
})), this._url || "";
|
|
1285
1285
|
},
|
|
@@ -1456,7 +1456,7 @@ var sf = { exports: {} };
|
|
|
1456
1456
|
return (r = this.partList) != null && r.length ? this.partList[this.partList.length - 1].fragment.sn : this.endSN;
|
|
1457
1457
|
}
|
|
1458
1458
|
}]), d;
|
|
1459
|
-
}(), xt = void 0, jt = /* @__PURE__ */
|
|
1459
|
+
}(), xt = void 0, jt = /* @__PURE__ */ _e(xt);
|
|
1460
1460
|
function _t(d, c, u) {
|
|
1461
1461
|
return Uint8Array.prototype.slice ? d.slice(c, u) : new Uint8Array(Array.prototype.slice.call(d, c, u));
|
|
1462
1462
|
}
|
|
@@ -1677,7 +1677,7 @@ var sf = { exports: {} };
|
|
|
1677
1677
|
references: c
|
|
1678
1678
|
};
|
|
1679
1679
|
}
|
|
1680
|
-
function
|
|
1680
|
+
function me(d) {
|
|
1681
1681
|
for (var c = [], u = qe(d, ["moov", "trak"]), r = 0; r < u.length; r++) {
|
|
1682
1682
|
var s = u[r], o = qe(s, ["tkhd"])[0];
|
|
1683
1683
|
if (o) {
|
|
@@ -2138,7 +2138,7 @@ var sf = { exports: {} };
|
|
|
2138
2138
|
}
|
|
2139
2139
|
return u;
|
|
2140
2140
|
}, d.resolve = function(u, r) {
|
|
2141
|
-
return
|
|
2141
|
+
return ge.buildAbsoluteURL(r, u, {
|
|
2142
2142
|
alwaysNormalize: !0
|
|
2143
2143
|
});
|
|
2144
2144
|
}, d.isMediaPlaylist = function(u) {
|
|
@@ -2251,7 +2251,7 @@ var sf = { exports: {} };
|
|
|
2251
2251
|
P.title = re || null, P.tagList.push(re ? ["INF", fe, re] : ["INF", fe]);
|
|
2252
2252
|
} else if (O[3]) {
|
|
2253
2253
|
if (Z(P.duration)) {
|
|
2254
|
-
P.start = E, D &&
|
|
2254
|
+
P.start = E, D && ye(P, D, v), P.sn = b, P.level = s, P.cc = A, P.urlId = f, m.push(P);
|
|
2255
2255
|
var ne = (" " + O[3]).slice(1);
|
|
2256
2256
|
P.relurl = ne, ei(P, x), x = P, E += P.duration, b++, S = 0, K = !0;
|
|
2257
2257
|
}
|
|
@@ -2377,7 +2377,7 @@ var sf = { exports: {} };
|
|
|
2377
2377
|
}
|
|
2378
2378
|
}
|
|
2379
2379
|
}
|
|
2380
|
-
x && !x.relurl ? (m.pop(), E -= x.duration, v.partList && (v.fragmentHint = x)) : v.partList && (ei(P, x), P.cc = A, v.fragmentHint = P, D &&
|
|
2380
|
+
x && !x.relurl ? (m.pop(), E -= x.duration, v.partList && (v.fragmentHint = x)) : v.partList && (ei(P, x), P.cc = A, v.fragmentHint = P, D && ye(P, D, v));
|
|
2381
2381
|
var Ji = m.length, or = m[0], ln = m[Ji - 1];
|
|
2382
2382
|
if (E += v.skippedSegments * v.targetduration, E > 0 && Ji && ln) {
|
|
2383
2383
|
v.averagetargetduration = E / Ji;
|
|
@@ -2431,14 +2431,14 @@ var sf = { exports: {} };
|
|
|
2431
2431
|
function H(d, c, u, r) {
|
|
2432
2432
|
d.relurl = c.URI, c.BYTERANGE && d.setByteRange(c.BYTERANGE), d.level = u, d.sn = "initSegment", r && (d.levelkeys = r), d.initSegment = null;
|
|
2433
2433
|
}
|
|
2434
|
-
function
|
|
2434
|
+
function ye(d, c, u) {
|
|
2435
2435
|
d.levelkeys = c;
|
|
2436
2436
|
var r = u.encryptedFragments;
|
|
2437
2437
|
(!r.length || r[r.length - 1].levelkeys !== c) && Object.keys(c).some(function(s) {
|
|
2438
2438
|
return c[s].isCommonEncryption;
|
|
2439
2439
|
}) && r.push(d);
|
|
2440
2440
|
}
|
|
2441
|
-
var
|
|
2441
|
+
var be = {
|
|
2442
2442
|
MANIFEST: "manifest",
|
|
2443
2443
|
LEVEL: "level",
|
|
2444
2444
|
AUDIO_TRACK: "audioTrack",
|
|
@@ -2451,9 +2451,9 @@ var sf = { exports: {} };
|
|
|
2451
2451
|
function Pr(d) {
|
|
2452
2452
|
var c = d.type;
|
|
2453
2453
|
switch (c) {
|
|
2454
|
-
case
|
|
2454
|
+
case be.AUDIO_TRACK:
|
|
2455
2455
|
return st.AUDIO;
|
|
2456
|
-
case
|
|
2456
|
+
case be.SUBTITLE_TRACK:
|
|
2457
2457
|
return st.SUBTITLE;
|
|
2458
2458
|
default:
|
|
2459
2459
|
return st.MAIN;
|
|
@@ -2497,7 +2497,7 @@ var sf = { exports: {} };
|
|
|
2497
2497
|
id: null,
|
|
2498
2498
|
level: 0,
|
|
2499
2499
|
responseType: "text",
|
|
2500
|
-
type:
|
|
2500
|
+
type: be.MANIFEST,
|
|
2501
2501
|
url: o,
|
|
2502
2502
|
deliveryDirectives: null
|
|
2503
2503
|
});
|
|
@@ -2507,7 +2507,7 @@ var sf = { exports: {} };
|
|
|
2507
2507
|
id: o,
|
|
2508
2508
|
level: f,
|
|
2509
2509
|
responseType: "text",
|
|
2510
|
-
type:
|
|
2510
|
+
type: be.LEVEL,
|
|
2511
2511
|
url: h,
|
|
2512
2512
|
deliveryDirectives: v
|
|
2513
2513
|
});
|
|
@@ -2518,7 +2518,7 @@ var sf = { exports: {} };
|
|
|
2518
2518
|
groupId: f,
|
|
2519
2519
|
level: null,
|
|
2520
2520
|
responseType: "text",
|
|
2521
|
-
type:
|
|
2521
|
+
type: be.AUDIO_TRACK,
|
|
2522
2522
|
url: h,
|
|
2523
2523
|
deliveryDirectives: v
|
|
2524
2524
|
});
|
|
@@ -2529,7 +2529,7 @@ var sf = { exports: {} };
|
|
|
2529
2529
|
groupId: f,
|
|
2530
2530
|
level: null,
|
|
2531
2531
|
responseType: "text",
|
|
2532
|
-
type:
|
|
2532
|
+
type: be.SUBTITLE_TRACK,
|
|
2533
2533
|
url: h,
|
|
2534
2534
|
deliveryDirectives: v
|
|
2535
2535
|
});
|
|
@@ -2544,12 +2544,12 @@ var sf = { exports: {} };
|
|
|
2544
2544
|
B.log("[playlist-loader]: aborting previous loader for type: " + r.type), h.abort();
|
|
2545
2545
|
}
|
|
2546
2546
|
var m;
|
|
2547
|
-
if (r.type ===
|
|
2547
|
+
if (r.type === be.MANIFEST ? m = f.manifestLoadPolicy.default : m = k({}, f.playlistLoadPolicy.default, {
|
|
2548
2548
|
timeoutRetry: null,
|
|
2549
2549
|
errorRetry: null
|
|
2550
2550
|
}), h = this.createInternalLoader(r), (s = r.deliveryDirectives) != null && s.part) {
|
|
2551
2551
|
var y;
|
|
2552
|
-
if (r.type ===
|
|
2552
|
+
if (r.type === be.LEVEL && r.level !== null ? y = this.hls.levels[r.level].details : r.type === be.AUDIO_TRACK && r.id !== null ? y = this.hls.audioTracks[r.id].details : r.type === be.SUBTITLE_TRACK && r.id !== null && (y = this.hls.subtitleTracks[r.id].details), y) {
|
|
2553
2553
|
var b = y.partTarget, S = y.targetduration;
|
|
2554
2554
|
if (b && S) {
|
|
2555
2555
|
var E = Math.max(b * 3, S * 0.8) * 1e3;
|
|
@@ -2627,7 +2627,7 @@ var sf = { exports: {} };
|
|
|
2627
2627
|
});
|
|
2628
2628
|
}, c.handleTrackOrLevelPlaylist = function(r, s, o, f, h) {
|
|
2629
2629
|
var v = this.hls, m = o.id, y = o.level, b = o.type, S = Tr(r, o), E = Z(m) ? m : 0, A = Z(y) ? y : E, x = Pr(o), P = Mi.parseLevelPlaylist(r.data, S, A, x, E, this.variableList);
|
|
2630
|
-
if (b ===
|
|
2630
|
+
if (b === be.MANIFEST) {
|
|
2631
2631
|
var O = {
|
|
2632
2632
|
attrs: new q({}),
|
|
2633
2633
|
bitrate: 0,
|
|
@@ -2653,7 +2653,7 @@ var sf = { exports: {} };
|
|
|
2653
2653
|
this.hls.trigger(L.ERROR, {
|
|
2654
2654
|
type: oe.NETWORK_ERROR,
|
|
2655
2655
|
details: z.MANIFEST_PARSING_ERROR,
|
|
2656
|
-
fatal: s.type ===
|
|
2656
|
+
fatal: s.type === be.MANIFEST,
|
|
2657
2657
|
url: r.url,
|
|
2658
2658
|
err: o,
|
|
2659
2659
|
error: o,
|
|
@@ -2666,21 +2666,21 @@ var sf = { exports: {} };
|
|
|
2666
2666
|
}, c.handleNetworkError = function(r, s, o, f, h) {
|
|
2667
2667
|
o === void 0 && (o = !1);
|
|
2668
2668
|
var v = "A network " + (o ? "timeout" : "error" + (f ? " (status " + f.code + ")" : "")) + " occurred while loading " + r.type;
|
|
2669
|
-
r.type ===
|
|
2669
|
+
r.type === be.LEVEL ? v += ": " + r.level + " id: " + r.id : (r.type === be.AUDIO_TRACK || r.type === be.SUBTITLE_TRACK) && (v += " id: " + r.id + ' group-id: "' + r.groupId + '"');
|
|
2670
2670
|
var m = new Error(v);
|
|
2671
2671
|
B.warn("[playlist-loader]: " + v);
|
|
2672
2672
|
var y = z.UNKNOWN, b = !1, S = this.getInternalLoader(r);
|
|
2673
2673
|
switch (r.type) {
|
|
2674
|
-
case
|
|
2674
|
+
case be.MANIFEST:
|
|
2675
2675
|
y = o ? z.MANIFEST_LOAD_TIMEOUT : z.MANIFEST_LOAD_ERROR, b = !0;
|
|
2676
2676
|
break;
|
|
2677
|
-
case
|
|
2677
|
+
case be.LEVEL:
|
|
2678
2678
|
y = o ? z.LEVEL_LOAD_TIMEOUT : z.LEVEL_LOAD_ERROR, b = !1;
|
|
2679
2679
|
break;
|
|
2680
|
-
case
|
|
2680
|
+
case be.AUDIO_TRACK:
|
|
2681
2681
|
y = o ? z.AUDIO_TRACK_LOAD_TIMEOUT : z.AUDIO_TRACK_LOAD_ERROR, b = !1;
|
|
2682
2682
|
break;
|
|
2683
|
-
case
|
|
2683
|
+
case be.SUBTITLE_TRACK:
|
|
2684
2684
|
y = o ? z.SUBTITLE_TRACK_LOAD_TIMEOUT : z.SUBTITLE_LOAD_ERROR, b = !1;
|
|
2685
2685
|
break;
|
|
2686
2686
|
}
|
|
@@ -2744,8 +2744,8 @@ var sf = { exports: {} };
|
|
|
2744
2744
|
return;
|
|
2745
2745
|
}
|
|
2746
2746
|
switch (r.live && v && (v.getCacheAge && (r.ageHeader = v.getCacheAge() || 0), (!v.getCacheAge || isNaN(r.ageHeader)) && (r.ageHeader = 0)), y) {
|
|
2747
|
-
case
|
|
2748
|
-
case
|
|
2747
|
+
case be.MANIFEST:
|
|
2748
|
+
case be.LEVEL:
|
|
2749
2749
|
m.trigger(L.LEVEL_LOADED, {
|
|
2750
2750
|
details: r,
|
|
2751
2751
|
level: O || 0,
|
|
@@ -2755,7 +2755,7 @@ var sf = { exports: {} };
|
|
|
2755
2755
|
deliveryDirectives: A
|
|
2756
2756
|
});
|
|
2757
2757
|
break;
|
|
2758
|
-
case
|
|
2758
|
+
case be.AUDIO_TRACK:
|
|
2759
2759
|
m.trigger(L.AUDIO_TRACK_LOADED, {
|
|
2760
2760
|
details: r,
|
|
2761
2761
|
id: S || 0,
|
|
@@ -2765,7 +2765,7 @@ var sf = { exports: {} };
|
|
|
2765
2765
|
deliveryDirectives: A
|
|
2766
2766
|
});
|
|
2767
2767
|
break;
|
|
2768
|
-
case
|
|
2768
|
+
case be.SUBTITLE_TRACK:
|
|
2769
2769
|
m.trigger(L.SUBTITLE_TRACK_LOADED, {
|
|
2770
2770
|
details: r,
|
|
2771
2771
|
id: S || 0,
|
|
@@ -2967,7 +2967,7 @@ var sf = { exports: {} };
|
|
|
2967
2967
|
}
|
|
2968
2968
|
for (var ct = Object.keys(K.attr), vt = 0; vt < ct.length; vt++) {
|
|
2969
2969
|
var mt = ct[vt];
|
|
2970
|
-
if (
|
|
2970
|
+
if (ve(mt)) {
|
|
2971
2971
|
var It = re[mt];
|
|
2972
2972
|
if (It)
|
|
2973
2973
|
ne && !fe.durationKnown && (It.endTime = xe);
|
|
@@ -3478,7 +3478,7 @@ var sf = { exports: {} };
|
|
|
3478
3478
|
case z.SUBTITLE_TRACK_LOAD_TIMEOUT:
|
|
3479
3479
|
if (h) {
|
|
3480
3480
|
var b = f.levels[f.loadLevel];
|
|
3481
|
-
if (b && (h.type ===
|
|
3481
|
+
if (b && (h.type === be.AUDIO_TRACK && h.groupId === b.audioGroupId || h.type === be.SUBTITLE_TRACK && h.groupId === b.textGroupId)) {
|
|
3482
3482
|
s.errorAction = this.getPlaylistRetryOrSwitchAction(s, f.loadLevel), s.errorAction.action = sr.SendAlternateToPenaltyBox, s.errorAction.flags = jr.MoveAllAlternatesMatchingHost;
|
|
3483
3483
|
return;
|
|
3484
3484
|
}
|
|
@@ -3564,7 +3564,7 @@ var sf = { exports: {} };
|
|
|
3564
3564
|
continue;
|
|
3565
3565
|
}
|
|
3566
3566
|
} else {
|
|
3567
|
-
if (P ===
|
|
3567
|
+
if (P === be.AUDIO_TRACK && O === j.audioGroupId || P === be.SUBTITLE_TRACK && O === j.textGroupId)
|
|
3568
3568
|
continue;
|
|
3569
3569
|
if (A === st.AUDIO && f.audioGroupId === j.audioGroupId || A === st.SUBTITLE && f.textGroupId === j.textGroupId)
|
|
3570
3570
|
continue;
|
|
@@ -3855,7 +3855,7 @@ var sf = { exports: {} };
|
|
|
3855
3855
|
};
|
|
3856
3856
|
this.hls.trigger(L.MANIFEST_PARSED, M), (this.hls.config.autoStartLoad || this.hls.forceStartLoad) && this.hls.startLoad(this.hls.config.startPosition);
|
|
3857
3857
|
}, u.onError = function(s, o) {
|
|
3858
|
-
o.fatal || !o.context || o.context.type ===
|
|
3858
|
+
o.fatal || !o.context || o.context.type === be.LEVEL && o.context.level === this.level && this.checkRetry(o);
|
|
3859
3859
|
}, u.onFragLoaded = function(s, o) {
|
|
3860
3860
|
var f = o.frag;
|
|
3861
3861
|
if (f !== void 0 && f.type === st.MAIN) {
|
|
@@ -5698,7 +5698,7 @@ var sf = { exports: {} };
|
|
|
5698
5698
|
}, c.resetInitSegment = function(r, s, o, f) {
|
|
5699
5699
|
var h = this.videoTrack = Gr("video", 1), v = this.audioTrack = Gr("audio", 1), m = this.txtTrack = Gr("text", 1);
|
|
5700
5700
|
if (this.id3Track = Gr("id3", 1), this.timeOffset = 0, !!(r != null && r.byteLength)) {
|
|
5701
|
-
var y =
|
|
5701
|
+
var y = me(r);
|
|
5702
5702
|
if (y.video) {
|
|
5703
5703
|
var b = y.video, S = b.id, E = b.timescale, A = b.codec;
|
|
5704
5704
|
h.id = S, h.timescale = m.timescale = E, h.codec = A;
|
|
@@ -7962,7 +7962,7 @@ var sf = { exports: {} };
|
|
|
7962
7962
|
this.initTracks = void 0, this.initData = void 0;
|
|
7963
7963
|
return;
|
|
7964
7964
|
}
|
|
7965
|
-
var f = this.initData =
|
|
7965
|
+
var f = this.initData = me(r);
|
|
7966
7966
|
s || (s = Ku(f.audio, Oe.AUDIO)), o || (o = Ku(f.video, Oe.VIDEO));
|
|
7967
7967
|
var h = {};
|
|
7968
7968
|
f.audio && f.video ? h.audiovideo = {
|
|
@@ -8295,7 +8295,7 @@ var sf = { exports: {} };
|
|
|
8295
8295
|
return m ? (y = u ? u + m : m, this._events[y] && f(this, y)) : (this._events = new r(), this._eventsCount = 0), this;
|
|
8296
8296
|
}, h.prototype.off = h.prototype.removeListener, h.prototype.addListener = h.prototype.on, h.prefixed = u, h.EventEmitter = h, d.exports = h;
|
|
8297
8297
|
})(Yu);
|
|
8298
|
-
var Mg = Yu.exports, tl = /* @__PURE__ */
|
|
8298
|
+
var Mg = Yu.exports, tl = /* @__PURE__ */ _e(Mg);
|
|
8299
8299
|
typeof n != "undefined" && n && Ng(self);
|
|
8300
8300
|
function Ng(d) {
|
|
8301
8301
|
var c = new tl(), u = function(o, f) {
|
|
@@ -8997,7 +8997,7 @@ var sf = { exports: {} };
|
|
|
8997
8997
|
case z.LEVEL_LOAD_ERROR:
|
|
8998
8998
|
case z.LEVEL_LOAD_TIMEOUT:
|
|
8999
8999
|
case z.LEVEL_PARSING_ERROR:
|
|
9000
|
-
!o.levelRetry && this.state === Re.WAITING_LEVEL && ((f = o.context) == null ? void 0 : f.type) ===
|
|
9000
|
+
!o.levelRetry && this.state === Re.WAITING_LEVEL && ((f = o.context) == null ? void 0 : f.type) === be.LEVEL && (this.state = Re.IDLE);
|
|
9001
9001
|
break;
|
|
9002
9002
|
case z.BUFFER_FULL_ERROR:
|
|
9003
9003
|
if (!o.parent || o.parent !== "main")
|
|
@@ -10605,7 +10605,7 @@ var sf = { exports: {} };
|
|
|
10605
10605
|
B.log("detachMedia"), this.trigger(L.MEDIA_DETACHING, void 0), this._media = null;
|
|
10606
10606
|
}, c.loadSource = function(r) {
|
|
10607
10607
|
this.stopLoad();
|
|
10608
|
-
var s = this.media, o = this.url, f = this.url =
|
|
10608
|
+
var s = this.media, o = this.url, f = this.url = ge.buildAbsoluteURL(self.location.href, r, {
|
|
10609
10609
|
alwaysNormalize: !0
|
|
10610
10610
|
});
|
|
10611
10611
|
B.log("loadSource:" + f), s && o && (o !== f || this.bufferController.hasSourceTypes()) && (this.detachMedia(), this.attachMedia(s)), this.trigger(L.MANIFEST_LOADING, {
|
|
@@ -13657,7 +13657,7 @@ function yc(t) {
|
|
|
13657
13657
|
let e, i, n, a, l;
|
|
13658
13658
|
return {
|
|
13659
13659
|
c() {
|
|
13660
|
-
e =
|
|
13660
|
+
e = U("source"), ss(e.src, i = `${/*url*/
|
|
13661
13661
|
t[57]}${/*timeFragment*/
|
|
13662
13662
|
t[17]}`) || xi(e, "src", i), xi(e, "type", n = /*contentType*/
|
|
13663
13663
|
t[58]);
|
|
@@ -13730,22 +13730,22 @@ function bc(t) {
|
|
|
13730
13730
|
Ge(e, T, C), l = !0;
|
|
13731
13731
|
},
|
|
13732
13732
|
p(T, C) {
|
|
13733
|
-
const
|
|
13733
|
+
const F = {};
|
|
13734
13734
|
C[0] & /*onEvent*/
|
|
13735
|
-
256 && (
|
|
13735
|
+
256 && (F.onEvent = /*onEvent*/
|
|
13736
13736
|
T[8]), C[0] & /*vastUrl*/
|
|
13737
|
-
2048 && (
|
|
13737
|
+
2048 && (F.vastUrl = /*vastUrl*/
|
|
13738
13738
|
T[11]), C[0] & /*advertConsent*/
|
|
13739
|
-
32 && (
|
|
13739
|
+
32 && (F.advertConsent = /*advertConsent*/
|
|
13740
13740
|
T[5]), C[0] & /*video*/
|
|
13741
|
-
4 && (
|
|
13741
|
+
4 && (F.video = /*video*/
|
|
13742
13742
|
T[2]), !i && C[0] & /*playbackState*/
|
|
13743
|
-
1 && (i = !0,
|
|
13743
|
+
1 && (i = !0, F.playbackState = /*playbackState*/
|
|
13744
13744
|
T[0], Xe(() => i = !1)), !n && C[0] & /*duration*/
|
|
13745
|
-
8 && (n = !0,
|
|
13745
|
+
8 && (n = !0, F.duration = /*duration*/
|
|
13746
13746
|
T[3], Xe(() => n = !1)), !a && C[0] & /*currentTime*/
|
|
13747
|
-
2 && (a = !0,
|
|
13748
|
-
T[1], Xe(() => a = !1)), e.$set(
|
|
13747
|
+
2 && (a = !0, F.currentTime = /*currentTime*/
|
|
13748
|
+
T[1], Xe(() => a = !1)), e.$set(F);
|
|
13749
13749
|
},
|
|
13750
13750
|
i(T) {
|
|
13751
13751
|
l || ($(e.$$.fragment, T), l = !0);
|
|
@@ -13763,7 +13763,7 @@ function Sc(t) {
|
|
|
13763
13763
|
let e, i, n, a;
|
|
13764
13764
|
return {
|
|
13765
13765
|
c() {
|
|
13766
|
-
e =
|
|
13766
|
+
e = U("a"), i = Ie(" "), xi(e, "class", "custom-advert-link svelte-fdymel"), xi(
|
|
13767
13767
|
e,
|
|
13768
13768
|
"href",
|
|
13769
13769
|
/*customUrl*/
|
|
@@ -13788,7 +13788,7 @@ function Sc(t) {
|
|
|
13788
13788
|
};
|
|
13789
13789
|
}
|
|
13790
13790
|
function O1(t) {
|
|
13791
|
-
let e, i, n, a, l = !1, g, p, _, k, T, C,
|
|
13791
|
+
let e, i, n, a, l = !1, g, p, _, k, T, C, F, V = (
|
|
13792
13792
|
/*sources*/
|
|
13793
13793
|
t[10]
|
|
13794
13794
|
), N = [];
|
|
@@ -13806,7 +13806,7 @@ function O1(t) {
|
|
|
13806
13806
|
);
|
|
13807
13807
|
return {
|
|
13808
13808
|
c() {
|
|
13809
|
-
e =
|
|
13809
|
+
e = U("div"), i = U("div"), n = U("video");
|
|
13810
13810
|
for (let te = 0; te < N.length; te += 1)
|
|
13811
13811
|
N[te].c();
|
|
13812
13812
|
p = Pe(), W && W.c(), _ = Pe(), le && le.c(), xi(n, "poster", a = /*poster*/
|
|
@@ -13837,15 +13837,15 @@ function O1(t) {
|
|
|
13837
13837
|
t[6]
|
|
13838
13838
|
);
|
|
13839
13839
|
},
|
|
13840
|
-
m(te,
|
|
13841
|
-
se(te, e,
|
|
13842
|
-
for (let
|
|
13843
|
-
N[
|
|
13840
|
+
m(te, pe) {
|
|
13841
|
+
se(te, e, pe), I(e, i), I(i, n);
|
|
13842
|
+
for (let _e = 0; _e < N.length; _e += 1)
|
|
13843
|
+
N[_e] && N[_e].m(n, null);
|
|
13844
13844
|
t[42](n), isNaN(
|
|
13845
13845
|
/*playbackRate*/
|
|
13846
13846
|
t[4]
|
|
13847
13847
|
) || (n.playbackRate = /*playbackRate*/
|
|
13848
|
-
t[4]), I(i, p), W && W.m(i, null), I(i, _), le && le.m(i, null), T = !0, C || (
|
|
13848
|
+
t[4]), I(i, p), W && W.m(i, null), I(i, _), le && le.m(i, null), T = !0, C || (F = [
|
|
13849
13849
|
he(
|
|
13850
13850
|
n,
|
|
13851
13851
|
"durationchange",
|
|
@@ -13903,58 +13903,58 @@ function O1(t) {
|
|
|
13903
13903
|
)
|
|
13904
13904
|
], C = !0);
|
|
13905
13905
|
},
|
|
13906
|
-
p(te,
|
|
13907
|
-
if (
|
|
13906
|
+
p(te, pe) {
|
|
13907
|
+
if (pe[0] & /*sources, timeFragment, handleSourceError*/
|
|
13908
13908
|
33686528) {
|
|
13909
13909
|
V = /*sources*/
|
|
13910
13910
|
te[10];
|
|
13911
|
-
let
|
|
13912
|
-
for (
|
|
13913
|
-
const
|
|
13914
|
-
N[
|
|
13911
|
+
let _e;
|
|
13912
|
+
for (_e = 0; _e < V.length; _e += 1) {
|
|
13913
|
+
const ce = _c(te, V, _e);
|
|
13914
|
+
N[_e] ? N[_e].p(ce, pe) : (N[_e] = yc(ce), N[_e].c(), N[_e].m(n, null));
|
|
13915
13915
|
}
|
|
13916
|
-
for (;
|
|
13917
|
-
N[
|
|
13916
|
+
for (; _e < N.length; _e += 1)
|
|
13917
|
+
N[_e].d(1);
|
|
13918
13918
|
N.length = V.length;
|
|
13919
13919
|
}
|
|
13920
|
-
(!T ||
|
|
13920
|
+
(!T || pe[0] & /*poster*/
|
|
13921
13921
|
4096 && a !== (a = /*poster*/
|
|
13922
|
-
te[12] || "")) && xi(n, "poster", a), !l &&
|
|
13922
|
+
te[12] || "")) && xi(n, "poster", a), !l && pe[0] & /*time*/
|
|
13923
13923
|
512 && !isNaN(
|
|
13924
13924
|
/*time*/
|
|
13925
13925
|
te[9]
|
|
13926
13926
|
) && (n.currentTime = /*time*/
|
|
13927
|
-
te[9]), l = !1,
|
|
13927
|
+
te[9]), l = !1, pe[0] & /*playbackRate*/
|
|
13928
13928
|
16 && !isNaN(
|
|
13929
13929
|
/*playbackRate*/
|
|
13930
13930
|
te[4]
|
|
13931
13931
|
) && (n.playbackRate = /*playbackRate*/
|
|
13932
13932
|
te[4]), /*vastUrl*/
|
|
13933
|
-
te[11] ? W ? (W.p(te,
|
|
13933
|
+
te[11] ? W ? (W.p(te, pe), pe[0] & /*vastUrl*/
|
|
13934
13934
|
2048 && $(W, 1)) : (W = bc(te), W.c(), $(W, 1), W.m(i, _)) : W && (Rt(), ae(W, 1, 1, () => {
|
|
13935
13935
|
W = null;
|
|
13936
13936
|
}), Dt()), /*customUrl*/
|
|
13937
|
-
te[16] ? le ? le.p(te,
|
|
13937
|
+
te[16] ? le ? le.p(te, pe) : (le = Sc(te), le.c(), le.m(i, null)) : le && (le.d(1), le = null), (!T || pe[0] & /*position*/
|
|
13938
13938
|
32768 && k !== (k = "media-element " + /*position*/
|
|
13939
|
-
te[15] + " svelte-fdymel")) && xi(e, "class", k), (!T ||
|
|
13939
|
+
te[15] + " svelte-fdymel")) && xi(e, "class", k), (!T || pe[0] & /*style*/
|
|
13940
13940
|
16384) && xi(
|
|
13941
13941
|
e,
|
|
13942
13942
|
"style",
|
|
13943
13943
|
/*style*/
|
|
13944
13944
|
te[14]
|
|
13945
|
-
), (!T ||
|
|
13945
|
+
), (!T || pe[0] & /*position, timeout*/
|
|
13946
13946
|
40960) && je(
|
|
13947
13947
|
e,
|
|
13948
13948
|
"animating",
|
|
13949
13949
|
/*timeout*/
|
|
13950
13950
|
te[13]
|
|
13951
|
-
), (!T ||
|
|
13951
|
+
), (!T || pe[0] & /*position, videoBehindStatic*/
|
|
13952
13952
|
32896) && je(
|
|
13953
13953
|
e,
|
|
13954
13954
|
"behind-static",
|
|
13955
13955
|
/*videoBehindStatic*/
|
|
13956
13956
|
te[7]
|
|
13957
|
-
), (!T ||
|
|
13957
|
+
), (!T || pe[0] & /*position, videoBehindWidget*/
|
|
13958
13958
|
32832) && je(
|
|
13959
13959
|
e,
|
|
13960
13960
|
"behind-widget",
|
|
@@ -13969,13 +13969,13 @@ function O1(t) {
|
|
|
13969
13969
|
ae(W), T = !1;
|
|
13970
13970
|
},
|
|
13971
13971
|
d(te) {
|
|
13972
|
-
te && ie(e), Vn(N, te), t[42](null), W && W.d(), le && le.d(), C = !1, Ht(
|
|
13972
|
+
te && ie(e), Vn(N, te), t[42](null), W && W.d(), le && le.d(), C = !1, Ht(F);
|
|
13973
13973
|
}
|
|
13974
13974
|
};
|
|
13975
13975
|
}
|
|
13976
13976
|
function B1(t, e, i) {
|
|
13977
|
-
let n, a, l, g, p, _, k, T, C,
|
|
13978
|
-
} } = e, { video: G } = e, X = null, B, Ue, De = 0, q = 0,
|
|
13977
|
+
let n, a, l, g, p, _, k, T, C, F, V, N, J, { content: W } = e, { contentIndex: le } = e, { introOrOutro: te } = e, { activeAdvert: pe } = e, { advertConsent: _e } = e, { playbackState: ce } = e, { duration: ge } = e, { currentTime: Z } = e, { playbackRate: L } = e, { prevPercentage: oe } = e, { videoBehindWidget: z } = e, { videoBehindStatic: Ke } = e, { widgetPosition: Le } = e, { widgetWidth: Te } = e, { onEvent: Se = () => {
|
|
13978
|
+
} } = e, { video: G } = e, X = null, B, Ue, De = 0, q = 0, ve = Z;
|
|
13979
13979
|
const at = (Ee) => i(9, De = Ee), Je = () => {
|
|
13980
13980
|
var Ee;
|
|
13981
13981
|
return (Ee = G == null ? void 0 : G.play()) == null ? void 0 : Ee.catch(_t);
|
|
@@ -14079,7 +14079,7 @@ function B1(t, e, i) {
|
|
|
14079
14079
|
});
|
|
14080
14080
|
}
|
|
14081
14081
|
function Yt() {
|
|
14082
|
-
|
|
14082
|
+
ge = this.duration, i(3, ge);
|
|
14083
14083
|
}
|
|
14084
14084
|
function Pt() {
|
|
14085
14085
|
De = this.currentTime, i(9, De);
|
|
@@ -14088,57 +14088,57 @@ function B1(t, e, i) {
|
|
|
14088
14088
|
L = this.playbackRate, i(4, L);
|
|
14089
14089
|
}
|
|
14090
14090
|
function rt(Ee) {
|
|
14091
|
-
|
|
14091
|
+
ce = Ee, i(0, ce);
|
|
14092
14092
|
}
|
|
14093
14093
|
function ot(Ee) {
|
|
14094
|
-
|
|
14094
|
+
ge = Ee, i(3, ge);
|
|
14095
14095
|
}
|
|
14096
14096
|
function si(Ee) {
|
|
14097
14097
|
Z = Ee, i(1, Z), i(9, De);
|
|
14098
14098
|
}
|
|
14099
14099
|
return t.$$set = (Ee) => {
|
|
14100
|
-
"content" in Ee && i(27, W = Ee.content), "contentIndex" in Ee && i(28, le = Ee.contentIndex), "introOrOutro" in Ee && i(29, te = Ee.introOrOutro), "activeAdvert" in Ee && i(30,
|
|
14100
|
+
"content" in Ee && i(27, W = Ee.content), "contentIndex" in Ee && i(28, le = Ee.contentIndex), "introOrOutro" in Ee && i(29, te = Ee.introOrOutro), "activeAdvert" in Ee && i(30, pe = Ee.activeAdvert), "advertConsent" in Ee && i(5, _e = Ee.advertConsent), "playbackState" in Ee && i(0, ce = Ee.playbackState), "duration" in Ee && i(3, ge = Ee.duration), "currentTime" in Ee && i(1, Z = Ee.currentTime), "playbackRate" in Ee && i(4, L = Ee.playbackRate), "prevPercentage" in Ee && i(26, oe = Ee.prevPercentage), "videoBehindWidget" in Ee && i(6, z = Ee.videoBehindWidget), "videoBehindStatic" in Ee && i(7, Ke = Ee.videoBehindStatic), "widgetPosition" in Ee && i(31, Le = Ee.widgetPosition), "widgetWidth" in Ee && i(32, Te = Ee.widgetWidth), "onEvent" in Ee && i(8, Se = Ee.onEvent), "video" in Ee && i(2, G = Ee.video);
|
|
14101
14101
|
}, t.$$.update = () => {
|
|
14102
14102
|
t.$$.dirty[0] & /*time*/
|
|
14103
14103
|
512 && i(1, Z = De), t.$$.dirty[0] & /*activeAdvert, currentTime*/
|
|
14104
|
-
1073741826 && !
|
|
14104
|
+
1073741826 && !pe && at(Z), t.$$.dirty[0] & /*content, contentIndex*/
|
|
14105
14105
|
402653184 && i(39, n = W[le]), t.$$.dirty[1] & /*contentItem*/
|
|
14106
14106
|
256 && i(36, a = (n == null ? void 0 : n.segments) || []), t.$$.dirty[0] & /*contentIndex, introOrOutro, activeAdvert*/
|
|
14107
14107
|
1879048192 | t.$$.dirty[1] & /*loadCount*/
|
|
14108
14108
|
8 && i(34, q += 1), t.$$.dirty[1] & /*loadCount*/
|
|
14109
14109
|
8 && i(40, l = q === 1), t.$$.dirty[1] & /*isFirstLoad*/
|
|
14110
|
-
512 && i(17, g = l ? `#t=${
|
|
14110
|
+
512 && i(17, g = l ? `#t=${ve}` : ""), t.$$.dirty[0] & /*introOrOutro*/
|
|
14111
14111
|
536870912 && i(41, p = te), t.$$.dirty[0] & /*introOrOutro, activeAdvert*/
|
|
14112
|
-
1610612736 && !te && i(41, p =
|
|
14112
|
+
1610612736 && !te && i(41, p = pe), t.$$.dirty[0] & /*introOrOutro, activeAdvert*/
|
|
14113
14113
|
1610612736 | t.$$.dirty[1] & /*contentItem*/
|
|
14114
|
-
256 && !te && !
|
|
14114
|
+
256 && !te && !pe && i(41, p = n), t.$$.dirty[0] & /*video*/
|
|
14115
14115
|
4 | t.$$.dirty[1] & /*mediaObject*/
|
|
14116
14116
|
1024 && i(10, _ = bv(p, G)), t.$$.dirty[0] & /*sources, video*/
|
|
14117
14117
|
1028 | t.$$.dirty[1] & /*hls, isFirstLoad*/
|
|
14118
|
-
516 && i(33, X = Tv(_[0], G, X, Ot, Je, l &&
|
|
14119
|
-
1073741824 && i(11, k =
|
|
14120
|
-
1073741824 && i(16, T =
|
|
14121
|
-
3077 && !k && (
|
|
14118
|
+
516 && i(33, X = Tv(_[0], G, X, Ot, Je, l && ve)), t.$$.dirty[0] & /*activeAdvert*/
|
|
14119
|
+
1073741824 && i(11, k = pe == null ? void 0 : pe.vastUrl), t.$$.dirty[0] & /*activeAdvert*/
|
|
14120
|
+
1073741824 && i(16, T = pe == null ? void 0 : pe.clickThroughUrl), t.$$.dirty[0] & /*sources, vastUrl, playbackState, video*/
|
|
14121
|
+
3077 && !k && (ce === "playing" ? Je() : G == null || G.pause()), t.$$.dirty[0] & /*sources*/
|
|
14122
14122
|
1024 && i(26, oe = 0), t.$$.dirty[0] & /*videoBehindWidget*/
|
|
14123
14123
|
64 | t.$$.dirty[1] & /*widgetPosition*/
|
|
14124
14124
|
1 && i(15, C = z && Le !== "auto" ? `fixed-${Le}` : ""), t.$$.dirty[0] & /*videoBehindWidget*/
|
|
14125
14125
|
64 | t.$$.dirty[1] & /*widgetWidth*/
|
|
14126
|
-
2 && i(14,
|
|
14126
|
+
2 && i(14, F = z ? `width: ${Te}` : ""), t.$$.dirty[0] & /*playbackState, activeAdvert*/
|
|
14127
14127
|
1073741825 | t.$$.dirty[1] & /*contentItem*/
|
|
14128
|
-
256 && i(38, V =
|
|
14128
|
+
256 && i(38, V = ce !== "stopped" && ((pe == null ? void 0 : pe.imageUrl) || (n == null ? void 0 : n.imageUrl))), t.$$.dirty[1] & /*poster_*/
|
|
14129
14129
|
128 && tf().then(() => i(12, B = V)), t.$$.dirty[0] & /*playbackState, currentTime*/
|
|
14130
|
-
3 && i(37, N =
|
|
14130
|
+
3 && i(37, N = ce === "stopped" && Z === 0), t.$$.dirty[0] & /*introOrOutro, activeAdvert, currentTime*/
|
|
14131
14131
|
1610612738 | t.$$.dirty[1] & /*atTheStart, segments*/
|
|
14132
|
-
96 && i(35, J = te ||
|
|
14132
|
+
96 && i(35, J = te || pe || N ? -1 : nu(a, Z)), t.$$.dirty[1] & /*segmentIndex*/
|
|
14133
14133
|
16 && xt(), t.$$.dirty[0] & /*videoBehindWidget*/
|
|
14134
14134
|
64 && z && St();
|
|
14135
14135
|
}, [
|
|
14136
|
-
|
|
14136
|
+
ce,
|
|
14137
14137
|
Z,
|
|
14138
14138
|
G,
|
|
14139
|
-
|
|
14139
|
+
ge,
|
|
14140
14140
|
L,
|
|
14141
|
-
|
|
14141
|
+
_e,
|
|
14142
14142
|
z,
|
|
14143
14143
|
Ke,
|
|
14144
14144
|
Se,
|
|
@@ -14147,7 +14147,7 @@ function B1(t, e, i) {
|
|
|
14147
14147
|
k,
|
|
14148
14148
|
B,
|
|
14149
14149
|
Ue,
|
|
14150
|
-
|
|
14150
|
+
F,
|
|
14151
14151
|
C,
|
|
14152
14152
|
T,
|
|
14153
14153
|
g,
|
|
@@ -14163,7 +14163,7 @@ function B1(t, e, i) {
|
|
|
14163
14163
|
W,
|
|
14164
14164
|
le,
|
|
14165
14165
|
te,
|
|
14166
|
-
|
|
14166
|
+
pe,
|
|
14167
14167
|
Le,
|
|
14168
14168
|
Te,
|
|
14169
14169
|
X,
|
|
@@ -14316,13 +14316,13 @@ function N1(t) {
|
|
|
14316
14316
|
return e * e * e + 1;
|
|
14317
14317
|
}
|
|
14318
14318
|
function F1(t, { delay: e = 0, duration: i = 400, easing: n = N1, x: a = 0, y: l = 0, opacity: g = 0 } = {}) {
|
|
14319
|
-
const p = getComputedStyle(t), _ = +p.opacity, k = p.transform === "none" ? "" : p.transform, T = _ * (1 - g), [C,
|
|
14319
|
+
const p = getComputedStyle(t), _ = +p.opacity, k = p.transform === "none" ? "" : p.transform, T = _ * (1 - g), [C, F] = hc(a), [V, N] = hc(l);
|
|
14320
14320
|
return {
|
|
14321
14321
|
delay: e,
|
|
14322
14322
|
duration: i,
|
|
14323
14323
|
easing: n,
|
|
14324
14324
|
css: (J, W) => `
|
|
14325
|
-
transform: ${k} translate(${(1 - J) * C}${
|
|
14325
|
+
transform: ${k} translate(${(1 - J) * C}${F}, ${(1 - J) * V}${N});
|
|
14326
14326
|
opacity: ${_ - T * W}`
|
|
14327
14327
|
};
|
|
14328
14328
|
}
|
|
@@ -14536,7 +14536,7 @@ function $1(t) {
|
|
|
14536
14536
|
}
|
|
14537
14537
|
return i = k(t), n = _[i] = p[i](t), {
|
|
14538
14538
|
c() {
|
|
14539
|
-
e =
|
|
14539
|
+
e = U("button"), n.c(), _s(e, "type", "button"), _s(e, "class", "play-pause-button svelte-1dxzkq6"), _s(
|
|
14540
14540
|
e,
|
|
14541
14541
|
"tabindex",
|
|
14542
14542
|
/*tabindex*/
|
|
@@ -14561,9 +14561,9 @@ function $1(t) {
|
|
|
14561
14561
|
], l = !0);
|
|
14562
14562
|
},
|
|
14563
14563
|
p(T, [C]) {
|
|
14564
|
-
let
|
|
14565
|
-
i = k(T), i ===
|
|
14566
|
-
_[
|
|
14564
|
+
let F = i;
|
|
14565
|
+
i = k(T), i === F ? _[i].p(T, C) : (Rt(), ae(_[F], 1, 1, () => {
|
|
14566
|
+
_[F] = null;
|
|
14567
14567
|
}), Dt(), n = _[i], n ? n.p(T, C) : (n = _[i] = p[i](T), n.c()), $(n, 1), n.m(e, null)), (!a || C & /*tabindex*/
|
|
14568
14568
|
2) && _s(
|
|
14569
14569
|
e,
|
|
@@ -14656,7 +14656,7 @@ function ny(t) {
|
|
|
14656
14656
|
let e, i, n, a, l, g;
|
|
14657
14657
|
return {
|
|
14658
14658
|
c() {
|
|
14659
|
-
e =
|
|
14659
|
+
e = U("button"), i = U("span"), n = Ie(
|
|
14660
14660
|
/*speed*/
|
|
14661
14661
|
t[0]
|
|
14662
14662
|
), a = Ie("x"), In(
|
|
@@ -14747,10 +14747,10 @@ function sy(t, e, i) {
|
|
|
14747
14747
|
initiatedBy: "user"
|
|
14748
14748
|
}));
|
|
14749
14749
|
}, T = (C) => {
|
|
14750
|
-
let
|
|
14751
|
-
C.key === "ArrowLeft" && (
|
|
14752
|
-
type: `Pressed${
|
|
14753
|
-
description: `The ${
|
|
14750
|
+
let F;
|
|
14751
|
+
C.key === "ArrowLeft" && (F = "Left"), C.key === "ArrowRight" && (F = "Right"), C.key === "ArrowDown" && (F = "Down"), C.key === "ArrowUp" && (F = "Up"), C.key === " " && (F = "Space"), C.key === "Enter" && (F = "Enter"), F && (C.preventDefault(), _(Ye({
|
|
14752
|
+
type: `Pressed${F}OnChangeSpeed`,
|
|
14753
|
+
description: `The ${F.toLowerCase()} key was pressed while change speed was focussed.`,
|
|
14754
14754
|
initiatedBy: "user"
|
|
14755
14755
|
})));
|
|
14756
14756
|
};
|
|
@@ -15148,7 +15148,7 @@ function wy(t) {
|
|
|
15148
15148
|
}
|
|
15149
15149
|
return ~(i = k(t)) && (n = _[i] = p[i](t)), {
|
|
15150
15150
|
c() {
|
|
15151
|
-
e =
|
|
15151
|
+
e = U("button"), n && n.c(), Ba(e, "type", "button"), Ba(e, "class", "prev-button svelte-tawm7k"), Ba(
|
|
15152
15152
|
e,
|
|
15153
15153
|
"aria-label",
|
|
15154
15154
|
/*ariaLabel*/
|
|
@@ -15167,9 +15167,9 @@ function wy(t) {
|
|
|
15167
15167
|
], l = !0);
|
|
15168
15168
|
},
|
|
15169
15169
|
p(T, [C]) {
|
|
15170
|
-
let
|
|
15171
|
-
i = k(T), i ===
|
|
15172
|
-
_[
|
|
15170
|
+
let F = i;
|
|
15171
|
+
i = k(T), i === F ? ~i && _[i].p(T, C) : (n && (Rt(), ae(_[F], 1, 1, () => {
|
|
15172
|
+
_[F] = null;
|
|
15173
15173
|
}), Dt()), ~i ? (n = _[i], n ? n.p(T, C) : (n = _[i] = p[i](T), n.c()), $(n, 1), n.m(e, null)) : n = null), (!a || C & /*ariaLabel*/
|
|
15174
15174
|
64) && Ba(
|
|
15175
15175
|
e,
|
|
@@ -15192,9 +15192,9 @@ function wy(t) {
|
|
|
15192
15192
|
function Py(t, e, i) {
|
|
15193
15193
|
let n, a, l, g, { style: p = "segments" } = e, { scale: _ = 1 } = e, { color: k = "#323232" } = e, { onEvent: T = () => {
|
|
15194
15194
|
} } = e, C;
|
|
15195
|
-
const
|
|
15195
|
+
const F = () => {
|
|
15196
15196
|
let V, N, J;
|
|
15197
|
-
a ? (V = "PressedPrevSegment", N = "The previous segment button was pressed.") : l ? (V = "PressedSeekBack", N = "The seek backward button was pressed.", J = { seconds: n }) : g && (V = "PressedPrevTrack", N = "The previous track button was pressed."), T(Ye(
|
|
15197
|
+
a ? (V = "PressedPrevSegment", N = "The previous segment button was pressed.") : l ? (V = "PressedSeekBack", N = "The seek backward button was pressed.", J = { seconds: n }) : g && (V = "PressedPrevTrack", N = "The previous track button was pressed."), T(Ye(de({
|
|
15198
15198
|
type: V,
|
|
15199
15199
|
description: N,
|
|
15200
15200
|
initiatedBy: "user"
|
|
@@ -15218,7 +15218,7 @@ function Py(t, e, i) {
|
|
|
15218
15218
|
l,
|
|
15219
15219
|
a,
|
|
15220
15220
|
C,
|
|
15221
|
-
|
|
15221
|
+
F,
|
|
15222
15222
|
p,
|
|
15223
15223
|
T
|
|
15224
15224
|
];
|
|
@@ -15609,7 +15609,7 @@ function Zy(t) {
|
|
|
15609
15609
|
}
|
|
15610
15610
|
return ~(i = k(t)) && (n = _[i] = p[i](t)), {
|
|
15611
15611
|
c() {
|
|
15612
|
-
e =
|
|
15612
|
+
e = U("button"), n && n.c(), Ma(e, "type", "button"), Ma(e, "class", "next-button svelte-1ukrri8"), Ma(
|
|
15613
15613
|
e,
|
|
15614
15614
|
"aria-label",
|
|
15615
15615
|
/*ariaLabel*/
|
|
@@ -15628,9 +15628,9 @@ function Zy(t) {
|
|
|
15628
15628
|
], l = !0);
|
|
15629
15629
|
},
|
|
15630
15630
|
p(T, [C]) {
|
|
15631
|
-
let
|
|
15632
|
-
i = k(T), i ===
|
|
15633
|
-
_[
|
|
15631
|
+
let F = i;
|
|
15632
|
+
i = k(T), i === F ? ~i && _[i].p(T, C) : (n && (Rt(), ae(_[F], 1, 1, () => {
|
|
15633
|
+
_[F] = null;
|
|
15634
15634
|
}), Dt()), ~i ? (n = _[i], n ? n.p(T, C) : (n = _[i] = p[i](T), n.c()), $(n, 1), n.m(e, null)) : n = null), (!a || C & /*ariaLabel*/
|
|
15635
15635
|
32) && Ma(
|
|
15636
15636
|
e,
|
|
@@ -15652,10 +15652,10 @@ function Zy(t) {
|
|
|
15652
15652
|
}
|
|
15653
15653
|
function Jy(t, e, i) {
|
|
15654
15654
|
let n, a, l, g, p, { style: _ = "segments" } = e, { scale: k = 1 } = e, { color: T = "#323232" } = e, { onEvent: C = () => {
|
|
15655
|
-
} } = e,
|
|
15655
|
+
} } = e, F;
|
|
15656
15656
|
const V = () => {
|
|
15657
15657
|
let N, J, W;
|
|
15658
|
-
l ? (N = "PressedNextSegment", J = "The next segment button was pressed.") : g ? (N = "PressedSeekAhead", J = "The seek ahead button was pressed.", W = { seconds: a }) : p && (N = "PressedNextTrack", J = "The next track button was pressed."), C(Ye(
|
|
15658
|
+
l ? (N = "PressedNextSegment", J = "The next segment button was pressed.") : g ? (N = "PressedSeekAhead", J = "The seek ahead button was pressed.", W = { seconds: a }) : p && (N = "PressedNextTrack", J = "The next track button was pressed."), C(Ye(de({
|
|
15659
15659
|
type: N,
|
|
15660
15660
|
description: J,
|
|
15661
15661
|
initiatedBy: "user"
|
|
@@ -15670,14 +15670,14 @@ function Jy(t, e, i) {
|
|
|
15670
15670
|
256 && i(4, l = _ === "segments"), t.$$.dirty & /*style*/
|
|
15671
15671
|
256 && i(3, g = _.startsWith("seconds")), t.$$.dirty & /*style*/
|
|
15672
15672
|
256 && i(2, p = _ === "tracks"), t.$$.dirty & /*isSeconds, isSegments, isTracks*/
|
|
15673
|
-
28 && (g ? i(5,
|
|
15673
|
+
28 && (g ? i(5, F = yi("seekAhead")) : l ? i(5, F = yi("nextSegment")) : p && i(5, F = yi("nextTrack")));
|
|
15674
15674
|
}, [
|
|
15675
15675
|
k,
|
|
15676
15676
|
T,
|
|
15677
15677
|
p,
|
|
15678
15678
|
g,
|
|
15679
15679
|
l,
|
|
15680
|
-
|
|
15680
|
+
F,
|
|
15681
15681
|
a,
|
|
15682
15682
|
V,
|
|
15683
15683
|
_,
|
|
@@ -15938,7 +15938,7 @@ function fb(t) {
|
|
|
15938
15938
|
function hb(t) {
|
|
15939
15939
|
let e, i, n, a, l, g, p;
|
|
15940
15940
|
const _ = [fb, db], k = [];
|
|
15941
|
-
function T(C,
|
|
15941
|
+
function T(C, F) {
|
|
15942
15942
|
return (
|
|
15943
15943
|
/*playlistShowing*/
|
|
15944
15944
|
C[0] ? 0 : 1
|
|
@@ -15946,12 +15946,12 @@ function hb(t) {
|
|
|
15946
15946
|
}
|
|
15947
15947
|
return i = T(t), n = k[i] = _[i](t), {
|
|
15948
15948
|
c() {
|
|
15949
|
-
e =
|
|
15949
|
+
e = U("button"), n.c(), Na(e, "type", "button"), Na(e, "class", a = "playlist-button " + /*playerStyle*/
|
|
15950
15950
|
t[1] + " svelte-xhif6r"), Tc(e, "outline-offset", 5 * /*scale*/
|
|
15951
15951
|
t[2] + "px"), Na(e, "aria-label", yi("togglePlaylist"));
|
|
15952
15952
|
},
|
|
15953
|
-
m(C,
|
|
15954
|
-
se(C, e,
|
|
15953
|
+
m(C, F) {
|
|
15954
|
+
se(C, e, F), k[i].m(e, null), l = !0, g || (p = [
|
|
15955
15955
|
he(
|
|
15956
15956
|
e,
|
|
15957
15957
|
"click",
|
|
@@ -15961,13 +15961,13 @@ function hb(t) {
|
|
|
15961
15961
|
he(e, "mouseup", $i)
|
|
15962
15962
|
], g = !0);
|
|
15963
15963
|
},
|
|
15964
|
-
p(C, [
|
|
15964
|
+
p(C, [F]) {
|
|
15965
15965
|
let V = i;
|
|
15966
|
-
i = T(C), i === V ? k[i].p(C,
|
|
15966
|
+
i = T(C), i === V ? k[i].p(C, F) : (Rt(), ae(k[V], 1, 1, () => {
|
|
15967
15967
|
k[V] = null;
|
|
15968
|
-
}), Dt(), n = k[i], n ? n.p(C,
|
|
15968
|
+
}), Dt(), n = k[i], n ? n.p(C, F) : (n = k[i] = _[i](C), n.c()), $(n, 1), n.m(e, null)), (!l || F & /*playerStyle*/
|
|
15969
15969
|
2 && a !== (a = "playlist-button " + /*playerStyle*/
|
|
15970
|
-
C[1] + " svelte-xhif6r")) && Na(e, "class", a), (!l ||
|
|
15970
|
+
C[1] + " svelte-xhif6r")) && Na(e, "class", a), (!l || F & /*scale*/
|
|
15971
15971
|
4) && Tc(e, "outline-offset", 5 * /*scale*/
|
|
15972
15972
|
C[2] + "px");
|
|
15973
15973
|
},
|
|
@@ -16052,7 +16052,7 @@ function _b(t) {
|
|
|
16052
16052
|
);
|
|
16053
16053
|
return {
|
|
16054
16054
|
c() {
|
|
16055
|
-
e =
|
|
16055
|
+
e = U("div"), l && l.c(), Ac(e, "class", i = "secondary-button " + /*playerStyle*/
|
|
16056
16056
|
t[0] + " svelte-ll9nv2"), Ec(
|
|
16057
16057
|
e,
|
|
16058
16058
|
"--scale",
|
|
@@ -16241,7 +16241,7 @@ function Pb(t) {
|
|
|
16241
16241
|
}
|
|
16242
16242
|
}), {
|
|
16243
16243
|
c() {
|
|
16244
|
-
e =
|
|
16244
|
+
e = U("button"), He(i.$$.fragment), vl(e, "type", "button"), vl(e, "class", "maximize-button svelte-fk321i"), xc(e, "outline-offset", 6.4 * /*scale*/
|
|
16245
16245
|
t[0] + "px"), vl(e, "aria-label", yi("maximizeVideo"));
|
|
16246
16246
|
},
|
|
16247
16247
|
m(g, p) {
|
|
@@ -16389,7 +16389,7 @@ function Fb(t) {
|
|
|
16389
16389
|
}
|
|
16390
16390
|
}), {
|
|
16391
16391
|
c() {
|
|
16392
|
-
e =
|
|
16392
|
+
e = U("button"), He(i.$$.fragment), ml(e, "type", "button"), ml(e, "class", "close-widget-button svelte-1bnl89m"), Fa(
|
|
16393
16393
|
e,
|
|
16394
16394
|
"margin",
|
|
16395
16395
|
/*margin*/
|
|
@@ -16491,7 +16491,7 @@ function Gb(t) {
|
|
|
16491
16491
|
), n, a, l, g;
|
|
16492
16492
|
return {
|
|
16493
16493
|
c() {
|
|
16494
|
-
e =
|
|
16494
|
+
e = U("a"), n = Ie(i), qn(e, "class", a = "advert-link " + /*playerStyle*/
|
|
16495
16495
|
t[1] + " " + /*controlsOrder*/
|
|
16496
16496
|
t[2] + " svelte-1iiylz1"), qn(
|
|
16497
16497
|
e,
|
|
@@ -16558,17 +16558,17 @@ function Gb(t) {
|
|
|
16558
16558
|
};
|
|
16559
16559
|
}
|
|
16560
16560
|
function zb(t, e, i) {
|
|
16561
|
-
let n, a, { href: l } = e, { scale: g = 1 } = e, { color: p = "#323232" } = e, { playerStyle: _ } = e, { controlsOrder: k } = e, { largeImage: T } = e, { isMobile: C } = e, { onEvent:
|
|
16561
|
+
let n, a, { href: l } = e, { scale: g = 1 } = e, { color: p = "#323232" } = e, { playerStyle: _ } = e, { controlsOrder: k } = e, { largeImage: T } = e, { isMobile: C } = e, { onEvent: F = () => {
|
|
16562
16562
|
} } = e;
|
|
16563
16563
|
const V = () => {
|
|
16564
|
-
|
|
16564
|
+
F(Ye({
|
|
16565
16565
|
type: "PressedAdvertLink",
|
|
16566
16566
|
description: "The advert link was pressed to open the click-through URL in a new tab.",
|
|
16567
16567
|
initiatedBy: "user"
|
|
16568
16568
|
}));
|
|
16569
16569
|
};
|
|
16570
16570
|
return t.$$set = (N) => {
|
|
16571
|
-
"href" in N && i(0, l = N.href), "scale" in N && i(8, g = N.scale), "color" in N && i(9, p = N.color), "playerStyle" in N && i(1, _ = N.playerStyle), "controlsOrder" in N && i(2, k = N.controlsOrder), "largeImage" in N && i(3, T = N.largeImage), "isMobile" in N && i(4, C = N.isMobile), "onEvent" in N && i(10,
|
|
16571
|
+
"href" in N && i(0, l = N.href), "scale" in N && i(8, g = N.scale), "color" in N && i(9, p = N.color), "playerStyle" in N && i(1, _ = N.playerStyle), "controlsOrder" in N && i(2, k = N.controlsOrder), "largeImage" in N && i(3, T = N.largeImage), "isMobile" in N && i(4, C = N.isMobile), "onEvent" in N && i(10, F = N.onEvent);
|
|
16572
16572
|
}, t.$$.update = () => {
|
|
16573
16573
|
t.$$.dirty & /*href*/
|
|
16574
16574
|
1 && i(6, n = l && new URL(l).hostname), t.$$.dirty & /*scale, color*/
|
|
@@ -16584,7 +16584,7 @@ function zb(t, e, i) {
|
|
|
16584
16584
|
V,
|
|
16585
16585
|
g,
|
|
16586
16586
|
p,
|
|
16587
|
-
|
|
16587
|
+
F
|
|
16588
16588
|
];
|
|
16589
16589
|
}
|
|
16590
16590
|
class Hb extends it {
|
|
@@ -16778,7 +16778,7 @@ function eS(t) {
|
|
|
16778
16778
|
let e;
|
|
16779
16779
|
return {
|
|
16780
16780
|
c() {
|
|
16781
|
-
e =
|
|
16781
|
+
e = U("div");
|
|
16782
16782
|
},
|
|
16783
16783
|
m(i, n) {
|
|
16784
16784
|
se(i, e, n);
|
|
@@ -16806,7 +16806,7 @@ function tS(t) {
|
|
|
16806
16806
|
}
|
|
16807
16807
|
}), {
|
|
16808
16808
|
c() {
|
|
16809
|
-
e =
|
|
16809
|
+
e = U("a"), He(i.$$.fragment), ys(e, "class", n = "advert-button " + /*playerStyle*/
|
|
16810
16810
|
t[3] + " " + /*controlsOrder*/
|
|
16811
16811
|
t[4] + " svelte-17nxso5"), ys(
|
|
16812
16812
|
e,
|
|
@@ -17037,7 +17037,7 @@ function fS(t) {
|
|
|
17037
17037
|
t[0]
|
|
17038
17038
|
) } }), {
|
|
17039
17039
|
c() {
|
|
17040
|
-
e =
|
|
17040
|
+
e = U("a"), He(i.$$.fragment), Ua(e, "class", "beyondwords svelte-vl0esb"), Ua(e, "href", "https://beyondwords.io/"), Ua(e, "target", "_blank"), Pc(e, "outline-offset", 6.4 * /*scale*/
|
|
17041
17041
|
t[0] + "px"), Ua(e, "aria-label", yi("visitBeyondWords")), je(
|
|
17042
17042
|
e,
|
|
17043
17043
|
"visible",
|
|
@@ -17135,7 +17135,7 @@ function pS(t) {
|
|
|
17135
17135
|
}
|
|
17136
17136
|
}), {
|
|
17137
17137
|
c() {
|
|
17138
|
-
e =
|
|
17138
|
+
e = U("a"), He(i.$$.fragment), Hs(e, "class", "source-url-button svelte-1umb4uf"), Hs(
|
|
17139
17139
|
e,
|
|
17140
17140
|
"href",
|
|
17141
17141
|
/*href*/
|
|
@@ -17226,7 +17226,7 @@ function kS(t) {
|
|
|
17226
17226
|
let e, i, n, a, l, g;
|
|
17227
17227
|
return {
|
|
17228
17228
|
c() {
|
|
17229
|
-
e =
|
|
17229
|
+
e = U("a"), i = U("img"), ss(i.src, n = /*src*/
|
|
17230
17230
|
t[0]) || cn(i, "src", n), cn(
|
|
17231
17231
|
i,
|
|
17232
17232
|
"alt",
|
|
@@ -17383,7 +17383,7 @@ function wS(t) {
|
|
|
17383
17383
|
), n;
|
|
17384
17384
|
return {
|
|
17385
17385
|
c() {
|
|
17386
|
-
e =
|
|
17386
|
+
e = U("div"), Va(e, "class", n = "player-title " + /*playerStyle*/
|
|
17387
17387
|
t[1] + " svelte-xrh20u"), Va(
|
|
17388
17388
|
e,
|
|
17389
17389
|
"style",
|
|
@@ -17416,22 +17416,22 @@ function wS(t) {
|
|
|
17416
17416
|
};
|
|
17417
17417
|
}
|
|
17418
17418
|
function PS(t, e, i) {
|
|
17419
|
-
let n, a, { title: l } = e, { playerStyle: g } = e, { scale: p = 1 } = e, { visible: _ = !0 } = e, { collapsible: k = !1 } = e, { collapsed: T = !1 } = e, { color: C = "#111" } = e,
|
|
17419
|
+
let n, a, { title: l } = e, { playerStyle: g } = e, { scale: p = 1 } = e, { visible: _ = !0 } = e, { collapsible: k = !1 } = e, { collapsed: T = !1 } = e, { color: C = "#111" } = e, F;
|
|
17420
17420
|
function V(N) {
|
|
17421
17421
|
Fe[N ? "unshift" : "push"](() => {
|
|
17422
|
-
|
|
17422
|
+
F = N, i(2, F);
|
|
17423
17423
|
});
|
|
17424
17424
|
}
|
|
17425
17425
|
return t.$$set = (N) => {
|
|
17426
17426
|
"title" in N && i(0, l = N.title), "playerStyle" in N && i(1, g = N.playerStyle), "scale" in N && i(4, p = N.scale), "visible" in N && i(5, _ = N.visible), "collapsible" in N && i(6, k = N.collapsible), "collapsed" in N && i(7, T = N.collapsed), "color" in N && i(8, C = N.color);
|
|
17427
17427
|
}, t.$$.update = () => {
|
|
17428
17428
|
t.$$.dirty & /*collapsed, collapsible, element*/
|
|
17429
|
-
196 && i(9, n = T ? 0 : k &&
|
|
17429
|
+
196 && i(9, n = T ? 0 : k && F ? `${F.scrollWidth}px` : "auto"), t.$$.dirty & /*scale, visible, width, collapsed, color*/
|
|
17430
17430
|
944 && i(3, a = `font-size: ${12 * p}px; visibility: ${_ ? "visible" : "hidden"}; width: ${n}; opacity: ${T ? 0 : 1}; color: ${C}`);
|
|
17431
17431
|
}, [
|
|
17432
17432
|
l,
|
|
17433
17433
|
g,
|
|
17434
|
-
|
|
17434
|
+
F,
|
|
17435
17435
|
a,
|
|
17436
17436
|
p,
|
|
17437
17437
|
_,
|
|
@@ -17506,7 +17506,7 @@ function IS(t) {
|
|
|
17506
17506
|
);
|
|
17507
17507
|
return {
|
|
17508
17508
|
c() {
|
|
17509
|
-
e =
|
|
17509
|
+
e = U("div"), pl(e, "class", "content-title svelte-mtaayt"), pl(
|
|
17510
17510
|
e,
|
|
17511
17511
|
"style",
|
|
17512
17512
|
/*style*/
|
|
@@ -17580,15 +17580,15 @@ function IS(t) {
|
|
|
17580
17580
|
};
|
|
17581
17581
|
}
|
|
17582
17582
|
function RS(t, e, i) {
|
|
17583
|
-
let n, a, l, g, { title: p } = e, { maxLines: _ = 1 } = e, { maxWidth: k = void 0 } = e, { center: T = !1 } = e, { bold: C = !1 } = e, { flex:
|
|
17583
|
+
let n, a, l, g, { title: p } = e, { maxLines: _ = 1 } = e, { maxWidth: k = void 0 } = e, { center: T = !1 } = e, { bold: C = !1 } = e, { flex: F = "0 1 auto" } = e, { scale: V = 1 } = e, { color: N = "#111" } = e;
|
|
17584
17584
|
return t.$$set = (J) => {
|
|
17585
|
-
"title" in J && i(0, p = J.title), "maxLines" in J && i(1, _ = J.maxLines), "maxWidth" in J && i(5, k = J.maxWidth), "center" in J && i(2, T = J.center), "bold" in J && i(3, C = J.bold), "flex" in J && i(6,
|
|
17585
|
+
"title" in J && i(0, p = J.title), "maxLines" in J && i(1, _ = J.maxLines), "maxWidth" in J && i(5, k = J.maxWidth), "center" in J && i(2, T = J.center), "bold" in J && i(3, C = J.bold), "flex" in J && i(6, F = J.flex), "scale" in J && i(7, V = J.scale), "color" in J && i(8, N = J.color);
|
|
17586
17586
|
}, t.$$.update = () => {
|
|
17587
17587
|
t.$$.dirty & /*scale*/
|
|
17588
17588
|
128 && i(11, n = `${10 * V}px`), t.$$.dirty & /*scale, maxLines*/
|
|
17589
17589
|
130 && i(10, a = `${10 * V * 1.2 * _}px`), t.$$.dirty & /*maxWidth*/
|
|
17590
17590
|
32 && i(9, l = k ? `max-width: ${k}px` : ""), t.$$.dirty & /*maxLines, fontSize, maxHeight, flex, maxWidthCss, color*/
|
|
17591
|
-
3906 && i(4, g = `--n: ${_}; font-size: ${n}; max-height: ${a}; flex: ${
|
|
17591
|
+
3906 && i(4, g = `--n: ${_}; font-size: ${n}; max-height: ${a}; flex: ${F}; ${l}; color: ${N}`);
|
|
17592
17592
|
}, [
|
|
17593
17593
|
p,
|
|
17594
17594
|
_,
|
|
@@ -17596,7 +17596,7 @@ function RS(t, e, i) {
|
|
|
17596
17596
|
C,
|
|
17597
17597
|
g,
|
|
17598
17598
|
k,
|
|
17599
|
-
|
|
17599
|
+
F,
|
|
17600
17600
|
V,
|
|
17601
17601
|
N,
|
|
17602
17602
|
l,
|
|
@@ -17679,7 +17679,7 @@ function BS(t) {
|
|
|
17679
17679
|
let e, i, n, a, l, g, p;
|
|
17680
17680
|
return {
|
|
17681
17681
|
c() {
|
|
17682
|
-
e =
|
|
17682
|
+
e = U("button"), i = U("div"), n = Pe(), a = U("div"), dn(i, "class", "background svelte-8a7sls"), dn(
|
|
17683
17683
|
i,
|
|
17684
17684
|
"style",
|
|
17685
17685
|
/*backgroundStyle*/
|
|
@@ -17711,6 +17711,12 @@ function BS(t) {
|
|
|
17711
17711
|
/*handleMouseDown*/
|
|
17712
17712
|
t[7]
|
|
17713
17713
|
),
|
|
17714
|
+
he(
|
|
17715
|
+
e,
|
|
17716
|
+
"touchstart",
|
|
17717
|
+
/*handleMouseDown*/
|
|
17718
|
+
t[7]
|
|
17719
|
+
),
|
|
17714
17720
|
he(e, "keydown", function() {
|
|
17715
17721
|
Ds(so(
|
|
17716
17722
|
/*onEvent*/
|
|
@@ -17772,7 +17778,7 @@ function MS(t, e, i) {
|
|
|
17772
17778
|
initiatedBy: "user",
|
|
17773
17779
|
ratio: N(W)
|
|
17774
17780
|
}));
|
|
17775
|
-
},
|
|
17781
|
+
}, F = (W) => {
|
|
17776
17782
|
if (T) {
|
|
17777
17783
|
if (!k) {
|
|
17778
17784
|
V();
|
|
@@ -17792,13 +17798,14 @@ function MS(t, e, i) {
|
|
|
17792
17798
|
initiatedBy: "user"
|
|
17793
17799
|
})));
|
|
17794
17800
|
}, N = (W) => {
|
|
17795
|
-
|
|
17796
|
-
|
|
17801
|
+
var ce, ge;
|
|
17802
|
+
const le = W.clientX || ((ge = (ce = W.touches) == null ? void 0 : ce[0]) == null ? void 0 : ge.clientX) || 0, { x: te, width: pe } = k.getBoundingClientRect(), _e = (le - te) / pe;
|
|
17803
|
+
return Math.max(0, Math.min(1, _e));
|
|
17797
17804
|
};
|
|
17798
17805
|
eu(() => {
|
|
17799
|
-
const W = addEventListener("mouseup", V), le = addEventListener("mousemove",
|
|
17806
|
+
const W = addEventListener("mouseup", V), le = addEventListener("mousemove", F), te = addEventListener("touchend", V), pe = addEventListener("touchmove", F);
|
|
17800
17807
|
return () => {
|
|
17801
|
-
removeEventListener("mouseup", W), removeEventListener("mousemove", le);
|
|
17808
|
+
removeEventListener("mouseup", W), removeEventListener("mousemove", le), removeEventListener("touchend", te), removeEventListener("touchmove", pe);
|
|
17802
17809
|
};
|
|
17803
17810
|
});
|
|
17804
17811
|
function J(W) {
|
|
@@ -17931,7 +17938,7 @@ function WS(t) {
|
|
|
17931
17938
|
);
|
|
17932
17939
|
return {
|
|
17933
17940
|
c() {
|
|
17934
|
-
e =
|
|
17941
|
+
e = U("div"), i = $e("svg"), n = $e("circle"), l = Pe(), T && T.c(), ki(n, "cx", "50%"), ki(n, "cy", "50%"), ki(
|
|
17935
17942
|
n,
|
|
17936
17943
|
"r",
|
|
17937
17944
|
/*radius*/
|
|
@@ -17975,8 +17982,8 @@ function WS(t) {
|
|
|
17975
17982
|
t[2] * 40 + "px"
|
|
17976
17983
|
);
|
|
17977
17984
|
},
|
|
17978
|
-
m(C,
|
|
17979
|
-
se(C, e,
|
|
17985
|
+
m(C, F) {
|
|
17986
|
+
se(C, e, F), I(e, i), I(i, n), I(e, l), T && T.m(e, null), g = !0, p || (_ = he(e, "keydown", function() {
|
|
17980
17987
|
Ds(so(
|
|
17981
17988
|
/*onEvent*/
|
|
17982
17989
|
t[4],
|
|
@@ -17988,47 +17995,47 @@ function WS(t) {
|
|
|
17988
17995
|
).apply(this, arguments);
|
|
17989
17996
|
}), p = !0);
|
|
17990
17997
|
},
|
|
17991
|
-
p(C,
|
|
17992
|
-
t = C, (!g ||
|
|
17998
|
+
p(C, F) {
|
|
17999
|
+
t = C, (!g || F & /*radius*/
|
|
17993
18000
|
64) && ki(
|
|
17994
18001
|
n,
|
|
17995
18002
|
"r",
|
|
17996
18003
|
/*radius*/
|
|
17997
18004
|
t[6]
|
|
17998
|
-
), (!g ||
|
|
18005
|
+
), (!g || F & /*color*/
|
|
17999
18006
|
8) && ki(
|
|
18000
18007
|
n,
|
|
18001
18008
|
"stroke",
|
|
18002
18009
|
/*color*/
|
|
18003
18010
|
t[3]
|
|
18004
|
-
), (!g ||
|
|
18011
|
+
), (!g || F & /*strokeWidth*/
|
|
18005
18012
|
128) && ki(
|
|
18006
18013
|
n,
|
|
18007
18014
|
"stroke-width",
|
|
18008
18015
|
/*strokeWidth*/
|
|
18009
18016
|
t[7]
|
|
18010
|
-
), (!g ||
|
|
18017
|
+
), (!g || F & /*circumference*/
|
|
18011
18018
|
32 && a !== (a = /*circumference*/
|
|
18012
18019
|
t[5] + " " + /*circumference*/
|
|
18013
|
-
t[5])) && ki(n, "stroke-dasharray", a), (!g ||
|
|
18020
|
+
t[5])) && ki(n, "stroke-dasharray", a), (!g || F & /*dashOffset*/
|
|
18014
18021
|
256) && ki(
|
|
18015
18022
|
n,
|
|
18016
18023
|
"stroke-dashoffset",
|
|
18017
18024
|
/*dashOffset*/
|
|
18018
18025
|
t[8]
|
|
18019
|
-
), (!g ||
|
|
18026
|
+
), (!g || F & /*size*/
|
|
18020
18027
|
512) && ki(
|
|
18021
18028
|
i,
|
|
18022
18029
|
"width",
|
|
18023
18030
|
/*size*/
|
|
18024
18031
|
t[9]
|
|
18025
|
-
), (!g ||
|
|
18032
|
+
), (!g || F & /*size*/
|
|
18026
18033
|
512) && ki(
|
|
18027
18034
|
i,
|
|
18028
18035
|
"height",
|
|
18029
18036
|
/*size*/
|
|
18030
18037
|
t[9]
|
|
18031
|
-
), T && T.p && (!g ||
|
|
18038
|
+
), T && T.p && (!g || F & /*$$scope*/
|
|
18032
18039
|
4096) && Ms(
|
|
18033
18040
|
T,
|
|
18034
18041
|
k,
|
|
@@ -18039,20 +18046,20 @@ function WS(t) {
|
|
|
18039
18046
|
k,
|
|
18040
18047
|
/*$$scope*/
|
|
18041
18048
|
t[12],
|
|
18042
|
-
|
|
18049
|
+
F,
|
|
18043
18050
|
null
|
|
18044
18051
|
) : Ns(
|
|
18045
18052
|
/*$$scope*/
|
|
18046
18053
|
t[12]
|
|
18047
18054
|
),
|
|
18048
18055
|
null
|
|
18049
|
-
), (!g ||
|
|
18056
|
+
), (!g || F & /*scale*/
|
|
18050
18057
|
4) && Wa(
|
|
18051
18058
|
e,
|
|
18052
18059
|
"width",
|
|
18053
18060
|
/*scale*/
|
|
18054
18061
|
t[2] * 40 + "px"
|
|
18055
|
-
), (!g ||
|
|
18062
|
+
), (!g || F & /*scale*/
|
|
18056
18063
|
4) && Wa(
|
|
18057
18064
|
e,
|
|
18058
18065
|
"height",
|
|
@@ -18106,10 +18113,10 @@ function jS(t) {
|
|
|
18106
18113
|
};
|
|
18107
18114
|
}
|
|
18108
18115
|
function GS(t, e, i) {
|
|
18109
|
-
let n, a, l, g, p, _, { $$slots: k = {}, $$scope: T } = e, { progress: C = 0 } = e, { enabled:
|
|
18116
|
+
let n, a, l, g, p, _, { $$slots: k = {}, $$scope: T } = e, { progress: C = 0 } = e, { enabled: F = !1 } = e, { bold: V } = e, { scale: N = 1 } = e, { color: J = "#323232" } = e, { onEvent: W = () => {
|
|
18110
18117
|
} } = e;
|
|
18111
18118
|
return t.$$set = (le) => {
|
|
18112
|
-
"progress" in le && i(0, C = le.progress), "enabled" in le && i(1,
|
|
18119
|
+
"progress" in le && i(0, C = le.progress), "enabled" in le && i(1, F = le.enabled), "bold" in le && i(10, V = le.bold), "scale" in le && i(2, N = le.scale), "color" in le && i(3, J = le.color), "onEvent" in le && i(4, W = le.onEvent), "$$scope" in le && i(12, T = le.$$scope);
|
|
18113
18120
|
}, t.$$.update = () => {
|
|
18114
18121
|
t.$$.dirty & /*scale, bold*/
|
|
18115
18122
|
1028 && i(7, n = N * (V ? 2.5 : 1.667)), t.$$.dirty & /*scale, strokeWidth, bold*/
|
|
@@ -18120,7 +18127,7 @@ function GS(t, e, i) {
|
|
|
18120
18127
|
2080 && i(8, _ = g * (1 - p));
|
|
18121
18128
|
}, [
|
|
18122
18129
|
C,
|
|
18123
|
-
|
|
18130
|
+
F,
|
|
18124
18131
|
N,
|
|
18125
18132
|
J,
|
|
18126
18133
|
W,
|
|
@@ -18197,7 +18204,7 @@ function qS(t) {
|
|
|
18197
18204
|
) + "", l;
|
|
18198
18205
|
return {
|
|
18199
18206
|
c() {
|
|
18200
|
-
e =
|
|
18207
|
+
e = U("span"), i = Ie(
|
|
18201
18208
|
/*text*/
|
|
18202
18209
|
t[0]
|
|
18203
18210
|
), n = Ie(" • "), l = Ie(a), HS(e, "class", "countdown-time svelte-mmsohq"), ja(e, "font-size", 10 * /*scale*/
|
|
@@ -18283,7 +18290,7 @@ function ek(t) {
|
|
|
18283
18290
|
let e, i, n;
|
|
18284
18291
|
return {
|
|
18285
18292
|
c() {
|
|
18286
|
-
e =
|
|
18293
|
+
e = U("div"), i = Ie(
|
|
18287
18294
|
/*minutes*/
|
|
18288
18295
|
t[3]
|
|
18289
18296
|
), n = Ie(" min"), JS(e, "class", "duration-in-mins svelte-121qsze"), Ga(e, "font-size", 10 * /*scale*/
|
|
@@ -18380,7 +18387,7 @@ function sk(t) {
|
|
|
18380
18387
|
) + "", g;
|
|
18381
18388
|
return {
|
|
18382
18389
|
c() {
|
|
18383
|
-
e =
|
|
18390
|
+
e = U("span"), n = Ie(i), a = Ie(" / "), g = Ie(l), ik(e, "class", "playback-time svelte-17necdw"), za(e, "font-size", 10 * /*scale*/
|
|
18384
18391
|
t[2] + "px"), za(
|
|
18385
18392
|
e,
|
|
18386
18393
|
"color",
|
|
@@ -18628,7 +18635,7 @@ function gk(t) {
|
|
|
18628
18635
|
}
|
|
18629
18636
|
return n = k(t), a = _[n] = p[n](t), {
|
|
18630
18637
|
c() {
|
|
18631
|
-
e =
|
|
18638
|
+
e = U("div"), i = U("div"), a.c(), Ks(i, "class", "inner svelte-17xceji"), Ks(e, "class", l = "time-indicator " + /*playerStyle*/
|
|
18632
18639
|
t[2] + " " + /*positionClasses*/
|
|
18633
18640
|
t[3] + " svelte-17xceji"), Ks(
|
|
18634
18641
|
e,
|
|
@@ -18662,9 +18669,9 @@ function gk(t) {
|
|
|
18662
18669
|
se(T, e, C), I(e, i), _[n].m(i, null), g = !0;
|
|
18663
18670
|
},
|
|
18664
18671
|
p(T, [C]) {
|
|
18665
|
-
let
|
|
18666
|
-
n = k(T), n ===
|
|
18667
|
-
_[
|
|
18672
|
+
let F = n;
|
|
18673
|
+
n = k(T), n === F ? _[n].p(T, C) : (Rt(), ae(_[F], 1, 1, () => {
|
|
18674
|
+
_[F] = null;
|
|
18668
18675
|
}), Dt(), a = _[n], a ? a.p(T, C) : (a = _[n] = p[n](T), a.c()), $(a, 1), a.m(i, null)), (!g || C & /*playerStyle, positionClasses*/
|
|
18669
18676
|
12 && l !== (l = "time-indicator " + /*playerStyle*/
|
|
18670
18677
|
T[2] + " " + /*positionClasses*/
|
|
@@ -18714,14 +18721,14 @@ function gk(t) {
|
|
|
18714
18721
|
};
|
|
18715
18722
|
}
|
|
18716
18723
|
function vk(t, e, i) {
|
|
18717
|
-
let n, a, l, g, p, { duration: _ = 0 } = e, { currentTime: k = 0 } = e, { playerStyle: T } = e, { positionClasses: C } = e, { isMobile:
|
|
18724
|
+
let n, a, l, g, p, { duration: _ = 0 } = e, { currentTime: k = 0 } = e, { playerStyle: T } = e, { positionClasses: C } = e, { isMobile: F } = e, { isAdvert: V } = e, { isStopped: N } = e, { collapsed: J } = e, { largeImage: W } = e, { color: le = "323232" } = e;
|
|
18718
18725
|
return t.$$set = (te) => {
|
|
18719
|
-
"duration" in te && i(0, _ = te.duration), "currentTime" in te && i(1, k = te.currentTime), "playerStyle" in te && i(2, T = te.playerStyle), "positionClasses" in te && i(3, C = te.positionClasses), "isMobile" in te && i(4,
|
|
18726
|
+
"duration" in te && i(0, _ = te.duration), "currentTime" in te && i(1, k = te.currentTime), "playerStyle" in te && i(2, T = te.playerStyle), "positionClasses" in te && i(3, C = te.positionClasses), "isMobile" in te && i(4, F = te.isMobile), "isAdvert" in te && i(5, V = te.isAdvert), "isStopped" in te && i(6, N = te.isStopped), "collapsed" in te && i(13, J = te.collapsed), "largeImage" in te && i(7, W = te.largeImage), "color" in te && i(8, le = te.color);
|
|
18720
18727
|
}, t.$$.update = () => {
|
|
18721
18728
|
t.$$.dirty & /*duration, currentTime*/
|
|
18722
18729
|
3 && i(12, n = Math.max(0, _ - k)), t.$$.dirty & /*playerStyle*/
|
|
18723
18730
|
4 && i(14, a = T === "screen"), t.$$.dirty & /*isScreen, isMobile*/
|
|
18724
|
-
16400 && i(11, l = a && !
|
|
18731
|
+
16400 && i(11, l = a && !F ? 3 : a ? 2 : 1), t.$$.dirty & /*collapsed*/
|
|
18725
18732
|
8192 && i(10, g = J ? "opacity: 0" : ""), t.$$.dirty & /*isAdvert, currentTime*/
|
|
18726
18733
|
34 && i(9, p = !V && k < 0.1);
|
|
18727
18734
|
}, [
|
|
@@ -18729,7 +18736,7 @@ function vk(t, e, i) {
|
|
|
18729
18736
|
k,
|
|
18730
18737
|
T,
|
|
18731
18738
|
C,
|
|
18732
|
-
|
|
18739
|
+
F,
|
|
18733
18740
|
V,
|
|
18734
18741
|
N,
|
|
18735
18742
|
W,
|
|
@@ -18980,7 +18987,7 @@ function Pk(t) {
|
|
|
18980
18987
|
}
|
|
18981
18988
|
}), {
|
|
18982
18989
|
c() {
|
|
18983
|
-
e =
|
|
18990
|
+
e = U("button"), He(i.$$.fragment), _l(e, "type", "button"), _l(e, "class", "download-button svelte-1r5l0am"), Cc(e, "outline-offset", 4.8 * /*scale*/
|
|
18984
18991
|
t[0] + "px"), _l(e, "aria-label", yi("downloadAudio"));
|
|
18985
18992
|
},
|
|
18986
18993
|
m(g, p) {
|
|
@@ -19102,7 +19109,7 @@ function Dk(t) {
|
|
|
19102
19109
|
), n;
|
|
19103
19110
|
return {
|
|
19104
19111
|
c() {
|
|
19105
|
-
e =
|
|
19112
|
+
e = U("span"), n = Ie(i), yr(e, "class", "number svelte-1d5um2m"), Bn(
|
|
19106
19113
|
e,
|
|
19107
19114
|
"color",
|
|
19108
19115
|
/*textColor*/
|
|
@@ -19143,7 +19150,7 @@ function Ok(t) {
|
|
|
19143
19150
|
}
|
|
19144
19151
|
}), {
|
|
19145
19152
|
c() {
|
|
19146
|
-
e =
|
|
19153
|
+
e = U("span"), He(i.$$.fragment), yr(e, "class", "speaker svelte-1d5um2m");
|
|
19147
19154
|
},
|
|
19148
19155
|
m(a, l) {
|
|
19149
19156
|
se(a, e, l), Ge(i, e, null), n = !0;
|
|
@@ -19223,16 +19230,16 @@ function Ic(t) {
|
|
|
19223
19230
|
};
|
|
19224
19231
|
}
|
|
19225
19232
|
function Rc(t) {
|
|
19226
|
-
let e, i, n, a, l, g, p, _, k, T, C,
|
|
19233
|
+
let e, i, n, a, l, g, p, _, k, T, C, F, V, N, J, W;
|
|
19227
19234
|
const le = [Ok, Dk], te = [];
|
|
19228
|
-
function
|
|
19235
|
+
function pe(ce, ge) {
|
|
19229
19236
|
return (
|
|
19230
19237
|
/*i*/
|
|
19231
|
-
|
|
19232
|
-
|
|
19238
|
+
ce[25] === /*index*/
|
|
19239
|
+
ce[5] ? 0 : 1
|
|
19233
19240
|
);
|
|
19234
19241
|
}
|
|
19235
|
-
i =
|
|
19242
|
+
i = pe(t), n = te[i] = le[i](t), g = new su({
|
|
19236
19243
|
props: {
|
|
19237
19244
|
title: (
|
|
19238
19245
|
/*title*/
|
|
@@ -19257,7 +19264,7 @@ function Rc(t) {
|
|
|
19257
19264
|
)
|
|
19258
19265
|
}
|
|
19259
19266
|
});
|
|
19260
|
-
let
|
|
19267
|
+
let _e = (
|
|
19261
19268
|
/*audioIndex*/
|
|
19262
19269
|
(t[22] !== -1 || /*videoIndex*/
|
|
19263
19270
|
t[23] !== -1) && Ic(t)
|
|
@@ -19284,7 +19291,7 @@ function Rc(t) {
|
|
|
19284
19291
|
}
|
|
19285
19292
|
}), {
|
|
19286
19293
|
c() {
|
|
19287
|
-
e =
|
|
19294
|
+
e = U("button"), n.c(), a = Pe(), l = U("span"), He(g.$$.fragment), p = Pe(), _ = U("span"), _e && _e.c(), k = Pe(), T = U("span"), He(C.$$.fragment), F = Pe(), yr(l, "class", "title svelte-1d5um2m"), yr(_, "class", "download svelte-1d5um2m"), yr(T, "class", "duration svelte-1d5um2m"), yr(e, "type", "button"), yr(e, "class", "item svelte-1d5um2m"), yr(e, "aria-label", V = /*title*/
|
|
19288
19295
|
t[18]), je(
|
|
19289
19296
|
e,
|
|
19290
19297
|
"active",
|
|
@@ -19293,8 +19300,8 @@ function Rc(t) {
|
|
|
19293
19300
|
t[5]
|
|
19294
19301
|
);
|
|
19295
19302
|
},
|
|
19296
|
-
m(
|
|
19297
|
-
se(
|
|
19303
|
+
m(ce, ge) {
|
|
19304
|
+
se(ce, e, ge), te[i].m(e, null), I(e, a), I(e, l), Ge(g, l, null), I(e, p), I(e, _), _e && _e.m(_, null), I(e, k), I(e, T), Ge(C, T, null), I(e, F), N = !0, J || (W = [
|
|
19298
19305
|
he(
|
|
19299
19306
|
e,
|
|
19300
19307
|
"click",
|
|
@@ -19319,43 +19326,43 @@ function Rc(t) {
|
|
|
19319
19326
|
he(e, "mouseup", $i)
|
|
19320
19327
|
], J = !0);
|
|
19321
19328
|
},
|
|
19322
|
-
p(
|
|
19323
|
-
t =
|
|
19329
|
+
p(ce, ge) {
|
|
19330
|
+
t = ce;
|
|
19324
19331
|
let Z = i;
|
|
19325
|
-
i =
|
|
19332
|
+
i = pe(t), i === Z ? te[i].p(t, ge) : (Rt(), ae(te[Z], 1, 1, () => {
|
|
19326
19333
|
te[Z] = null;
|
|
19327
|
-
}), Dt(), n = te[i], n ? n.p(t,
|
|
19334
|
+
}), Dt(), n = te[i], n ? n.p(t, ge) : (n = te[i] = le[i](t), n.c()), $(n, 1), n.m(e, a));
|
|
19328
19335
|
const L = {};
|
|
19329
|
-
|
|
19336
|
+
ge & /*content*/
|
|
19330
19337
|
16 && (L.title = /*title*/
|
|
19331
|
-
t[18]),
|
|
19338
|
+
t[18]), ge & /*scale*/
|
|
19332
19339
|
1024 && (L.scale = /*scale*/
|
|
19333
|
-
t[10]),
|
|
19340
|
+
t[10]), ge & /*isMobile*/
|
|
19334
19341
|
64 && (L.maxLines = /*isMobile*/
|
|
19335
|
-
t[6] ? 3 : 2),
|
|
19342
|
+
t[6] ? 3 : 2), ge & /*index*/
|
|
19336
19343
|
32 && (L.bold = /*i*/
|
|
19337
19344
|
t[25] === /*index*/
|
|
19338
|
-
t[5]),
|
|
19345
|
+
t[5]), ge & /*textColor*/
|
|
19339
19346
|
2 && (L.color = /*textColor*/
|
|
19340
19347
|
t[1]), g.$set(L), /*audioIndex*/
|
|
19341
19348
|
t[22] !== -1 || /*videoIndex*/
|
|
19342
|
-
t[23] !== -1 ?
|
|
19343
|
-
16 && $(
|
|
19344
|
-
|
|
19349
|
+
t[23] !== -1 ? _e ? (_e.p(t, ge), ge & /*content*/
|
|
19350
|
+
16 && $(_e, 1)) : (_e = Ic(t), _e.c(), $(_e, 1), _e.m(_, null)) : _e && (Rt(), ae(_e, 1, 1, () => {
|
|
19351
|
+
_e = null;
|
|
19345
19352
|
}), Dt());
|
|
19346
19353
|
const oe = {};
|
|
19347
|
-
|
|
19354
|
+
ge & /*content*/
|
|
19348
19355
|
16 && (oe.duration = /*duration*/
|
|
19349
|
-
t[19]),
|
|
19356
|
+
t[19]), ge & /*scale*/
|
|
19350
19357
|
1024 && (oe.scale = /*scale*/
|
|
19351
|
-
t[10]),
|
|
19358
|
+
t[10]), ge & /*index*/
|
|
19352
19359
|
32 && (oe.bold = /*i*/
|
|
19353
19360
|
t[25] === /*index*/
|
|
19354
|
-
t[5]),
|
|
19361
|
+
t[5]), ge & /*textColor*/
|
|
19355
19362
|
2 && (oe.color = /*textColor*/
|
|
19356
|
-
t[1]), C.$set(oe), (!N ||
|
|
19363
|
+
t[1]), C.$set(oe), (!N || ge & /*content*/
|
|
19357
19364
|
16 && V !== (V = /*title*/
|
|
19358
|
-
t[18])) && yr(e, "aria-label", V), (!N ||
|
|
19365
|
+
t[18])) && yr(e, "aria-label", V), (!N || ge & /*index*/
|
|
19359
19366
|
32) && je(
|
|
19360
19367
|
e,
|
|
19361
19368
|
"active",
|
|
@@ -19364,14 +19371,14 @@ function Rc(t) {
|
|
|
19364
19371
|
t[5]
|
|
19365
19372
|
);
|
|
19366
19373
|
},
|
|
19367
|
-
i(
|
|
19368
|
-
N || ($(n), $(g.$$.fragment,
|
|
19374
|
+
i(ce) {
|
|
19375
|
+
N || ($(n), $(g.$$.fragment, ce), $(_e), $(C.$$.fragment, ce), N = !0);
|
|
19369
19376
|
},
|
|
19370
|
-
o(
|
|
19371
|
-
ae(n), ae(g.$$.fragment,
|
|
19377
|
+
o(ce) {
|
|
19378
|
+
ae(n), ae(g.$$.fragment, ce), ae(_e), ae(C.$$.fragment, ce), N = !1;
|
|
19372
19379
|
},
|
|
19373
|
-
d(
|
|
19374
|
-
|
|
19380
|
+
d(ce) {
|
|
19381
|
+
ce && ie(e), te[i].d(), ze(g), _e && _e.d(), ze(C), J = !1, Ht(W);
|
|
19375
19382
|
}
|
|
19376
19383
|
};
|
|
19377
19384
|
}
|
|
@@ -19387,7 +19394,7 @@ function Bk(t) {
|
|
|
19387
19394
|
});
|
|
19388
19395
|
return {
|
|
19389
19396
|
c() {
|
|
19390
|
-
e =
|
|
19397
|
+
e = U("div"), i = U("div");
|
|
19391
19398
|
for (let p = 0; p < l.length; p += 1)
|
|
19392
19399
|
l[p].c();
|
|
19393
19400
|
yr(i, "class", "scrollable svelte-1d5um2m"), yr(i, "tabindex", "-1"), yr(e, "class", "playlist svelte-1d5um2m"), Bn(
|
|
@@ -19488,42 +19495,42 @@ function Bk(t) {
|
|
|
19488
19495
|
};
|
|
19489
19496
|
}
|
|
19490
19497
|
function Mk(t, e, i) {
|
|
19491
|
-
let n, a, l, g, { style: p = "auto" } = e, { downloadFormats: _ = [] } = e, { larger: k = !1 } = e, { textColor: T = "#111" } = e, { backgroundColor: C = "#f5f5f5" } = e, { iconColor:
|
|
19492
|
-
const le = (
|
|
19498
|
+
let n, a, l, g, { style: p = "auto" } = e, { downloadFormats: _ = [] } = e, { larger: k = !1 } = e, { textColor: T = "#111" } = e, { backgroundColor: C = "#f5f5f5" } = e, { iconColor: F = "#000" } = e, { content: V = [] } = e, { index: N = 0 } = e, { isMobile: J } = e, { onEvent: W } = e;
|
|
19499
|
+
const le = (ce) => () => {
|
|
19493
19500
|
W(Ye({
|
|
19494
19501
|
type: "PressedPlaylistItem",
|
|
19495
19502
|
description: "A playlist item was pressed.",
|
|
19496
19503
|
initiatedBy: "user",
|
|
19497
|
-
index:
|
|
19504
|
+
index: ce
|
|
19498
19505
|
}));
|
|
19499
|
-
}, te = (
|
|
19500
|
-
if (
|
|
19501
|
-
|
|
19502
|
-
const
|
|
19503
|
-
|
|
19506
|
+
}, te = (ce) => {
|
|
19507
|
+
if (ce.key === "ArrowUp") {
|
|
19508
|
+
ce.preventDefault();
|
|
19509
|
+
const ge = ce.target.previousElementSibling;
|
|
19510
|
+
ge && ge.focus();
|
|
19504
19511
|
}
|
|
19505
|
-
if (
|
|
19506
|
-
|
|
19507
|
-
const
|
|
19508
|
-
|
|
19512
|
+
if (ce.key === "ArrowDown") {
|
|
19513
|
+
ce.preventDefault();
|
|
19514
|
+
const ge = ce.target.nextElementSibling;
|
|
19515
|
+
ge && ge.focus();
|
|
19509
19516
|
}
|
|
19510
|
-
},
|
|
19511
|
-
const
|
|
19512
|
-
|
|
19513
|
-
},
|
|
19517
|
+
}, pe = (ce) => {
|
|
19518
|
+
const ge = ce.target.parentNode, Z = Math.round(ge.scrollTop / 10) * 10;
|
|
19519
|
+
ge.scrollTop = Z;
|
|
19520
|
+
}, _e = (ce, ge) => {
|
|
19514
19521
|
var Z, L;
|
|
19515
19522
|
for (const oe of _) {
|
|
19516
|
-
for (const [z, Ke] of (
|
|
19523
|
+
for (const [z, Ke] of (ce || []).entries())
|
|
19517
19524
|
if ((Z = Ke.url) != null && Z.endsWith(`.${oe}`))
|
|
19518
19525
|
return [z, -1];
|
|
19519
|
-
for (const [z, Ke] of (
|
|
19526
|
+
for (const [z, Ke] of (ge || []).entries())
|
|
19520
19527
|
if ((L = Ke.url) != null && L.endsWith(`.${oe}`))
|
|
19521
19528
|
return [-1, z];
|
|
19522
19529
|
}
|
|
19523
19530
|
return [-1, -1];
|
|
19524
19531
|
};
|
|
19525
|
-
return t.$$set = (
|
|
19526
|
-
"style" in
|
|
19532
|
+
return t.$$set = (ce) => {
|
|
19533
|
+
"style" in ce && i(15, p = ce.style), "downloadFormats" in ce && i(16, _ = ce.downloadFormats), "larger" in ce && i(0, k = ce.larger), "textColor" in ce && i(1, T = ce.textColor), "backgroundColor" in ce && i(2, C = ce.backgroundColor), "iconColor" in ce && i(3, F = ce.iconColor), "content" in ce && i(4, V = ce.content), "index" in ce && i(5, N = ce.index), "isMobile" in ce && i(6, J = ce.isMobile), "onEvent" in ce && i(7, W = ce.onEvent);
|
|
19527
19534
|
}, t.$$.update = () => {
|
|
19528
19535
|
t.$$.dirty & /*style*/
|
|
19529
19536
|
32768 && i(8, [n, a, l] = p.split("-"), a, (i(9, l), i(15, p), i(8, a))), t.$$.dirty & /*desktopRows*/
|
|
@@ -19534,7 +19541,7 @@ function Mk(t, e, i) {
|
|
|
19534
19541
|
k,
|
|
19535
19542
|
T,
|
|
19536
19543
|
C,
|
|
19537
|
-
|
|
19544
|
+
F,
|
|
19538
19545
|
V,
|
|
19539
19546
|
N,
|
|
19540
19547
|
J,
|
|
@@ -19544,8 +19551,8 @@ function Mk(t, e, i) {
|
|
|
19544
19551
|
g,
|
|
19545
19552
|
le,
|
|
19546
19553
|
te,
|
|
19547
|
-
|
|
19548
|
-
|
|
19554
|
+
pe,
|
|
19555
|
+
_e,
|
|
19549
19556
|
p,
|
|
19550
19557
|
_
|
|
19551
19558
|
];
|
|
@@ -19641,7 +19648,7 @@ function Wk(t) {
|
|
|
19641
19648
|
);
|
|
19642
19649
|
return {
|
|
19643
19650
|
c() {
|
|
19644
|
-
e =
|
|
19651
|
+
e = U("div"), g && g.c(), Fk(e, "class", "hoverable");
|
|
19645
19652
|
},
|
|
19646
19653
|
m(p, _) {
|
|
19647
19654
|
se(p, e, _), g && g.m(e, null), i = !0, n || (a = [
|
|
@@ -19702,7 +19709,7 @@ function Wk(t) {
|
|
|
19702
19709
|
}
|
|
19703
19710
|
function jk(t, e, i) {
|
|
19704
19711
|
let { $$slots: n = {}, $$scope: a } = e, { exitDelay: l = 0 } = e, { idleDelay: g = 1 / 0 } = e, { isHovering: p = !1 } = e, _ = !0, k = !0, T, C;
|
|
19705
|
-
const
|
|
19712
|
+
const F = () => {
|
|
19706
19713
|
T && clearTimeout(T), C && clearTimeout(C), i(6, _ = !1), i(7, k = !1);
|
|
19707
19714
|
}, V = () => {
|
|
19708
19715
|
T && clearTimeout(T), i(6, _ = !1), T = setTimeout(() => i(6, _ = !0), l);
|
|
@@ -19718,7 +19725,7 @@ function jk(t, e, i) {
|
|
|
19718
19725
|
192 && i(4, p = !_ && !k);
|
|
19719
19726
|
}, [
|
|
19720
19727
|
g,
|
|
19721
|
-
|
|
19728
|
+
F,
|
|
19722
19729
|
V,
|
|
19723
19730
|
N,
|
|
19724
19731
|
p,
|
|
@@ -19771,7 +19778,7 @@ function Yk(t) {
|
|
|
19771
19778
|
);
|
|
19772
19779
|
return {
|
|
19773
19780
|
c() {
|
|
19774
|
-
e =
|
|
19781
|
+
e = U("div"), a && a.c(), zk(e, "class", "visibility svelte-1exdg3");
|
|
19775
19782
|
},
|
|
19776
19783
|
m(l, g) {
|
|
19777
19784
|
se(l, e, g), a && a.m(e, null), t[8](e), i = !0;
|
|
@@ -19832,7 +19839,7 @@ function qk(t, e, i) {
|
|
|
19832
19839
|
]);
|
|
19833
19840
|
};
|
|
19834
19841
|
});
|
|
19835
|
-
function
|
|
19842
|
+
function F(V) {
|
|
19836
19843
|
Fe[V ? "unshift" : "push"](() => {
|
|
19837
19844
|
l = V, i(0, l);
|
|
19838
19845
|
});
|
|
@@ -19848,7 +19855,7 @@ function qk(t, e, i) {
|
|
|
19848
19855
|
T,
|
|
19849
19856
|
a,
|
|
19850
19857
|
n,
|
|
19851
|
-
|
|
19858
|
+
F
|
|
19852
19859
|
];
|
|
19853
19860
|
}
|
|
19854
19861
|
class Xk extends it {
|
|
@@ -19903,7 +19910,7 @@ function Oc(t) {
|
|
|
19903
19910
|
function C(N) {
|
|
19904
19911
|
t[73](N);
|
|
19905
19912
|
}
|
|
19906
|
-
let
|
|
19913
|
+
let F = {
|
|
19907
19914
|
exitDelay: (
|
|
19908
19915
|
/*collapsible*/
|
|
19909
19916
|
t[28] ? 500 : 0
|
|
@@ -19916,15 +19923,15 @@ function Oc(t) {
|
|
|
19916
19923
|
$$scope: { ctx: t }
|
|
19917
19924
|
};
|
|
19918
19925
|
/*isHovering*/
|
|
19919
|
-
t[18] !== void 0 && (
|
|
19920
|
-
t[18]), i = new Gk({ props:
|
|
19926
|
+
t[18] !== void 0 && (F.isHovering = /*isHovering*/
|
|
19927
|
+
t[18]), i = new Gk({ props: F }), Fe.push(() => Ze(i, "isHovering", C));
|
|
19921
19928
|
let V = (
|
|
19922
19929
|
/*showPlaylist*/
|
|
19923
19930
|
t[37] && Hc(t)
|
|
19924
19931
|
);
|
|
19925
19932
|
return {
|
|
19926
19933
|
c() {
|
|
19927
|
-
e =
|
|
19934
|
+
e = U("div"), He(i.$$.fragment), a = Pe(), V && V.c(), Tn(e, "class", l = fc(
|
|
19928
19935
|
/*classes*/
|
|
19929
19936
|
t[35]
|
|
19930
19937
|
) + " svelte-19pq52p"), ao(
|
|
@@ -20063,7 +20070,7 @@ function Bc(t) {
|
|
|
20063
20070
|
let e, i;
|
|
20064
20071
|
return {
|
|
20065
20072
|
c() {
|
|
20066
|
-
e =
|
|
20073
|
+
e = U("div"), Tn(e, "class", "video-placeholder svelte-19pq52p"), Tn(e, "style", i = /*posterImage*/
|
|
20067
20074
|
t[43] ? `background-image: url(${/*posterImage*/
|
|
20068
20075
|
t[43]})` : "");
|
|
20069
20076
|
},
|
|
@@ -20191,7 +20198,7 @@ function Nc(t) {
|
|
|
20191
20198
|
}
|
|
20192
20199
|
}), {
|
|
20193
20200
|
c() {
|
|
20194
|
-
e =
|
|
20201
|
+
e = U("div"), He(i.$$.fragment), n = Pe(), He(a.$$.fragment), Tn(e, "class", "summary svelte-19pq52p");
|
|
20195
20202
|
},
|
|
20196
20203
|
m(g, p) {
|
|
20197
20204
|
se(g, e, p), Ge(i, e, null), I(e, n), Ge(a, e, null), l = !0;
|
|
@@ -21034,7 +21041,7 @@ function zc(t) {
|
|
|
21034
21041
|
}
|
|
21035
21042
|
return i = p(t), n = g[i] = l[i](t), {
|
|
21036
21043
|
c() {
|
|
21037
|
-
e =
|
|
21044
|
+
e = U("div"), n.c(), Tn(e, "class", "end svelte-19pq52p");
|
|
21038
21045
|
},
|
|
21039
21046
|
m(_, k) {
|
|
21040
21047
|
se(_, e, k), g[i].m(e, null), a = !0;
|
|
@@ -21158,7 +21165,7 @@ function dT(t) {
|
|
|
21158
21165
|
};
|
|
21159
21166
|
}
|
|
21160
21167
|
function fT(t) {
|
|
21161
|
-
let e, i, n, a, l, g, p, _, k, T, C,
|
|
21168
|
+
let e, i, n, a, l, g, p, _, k, T, C, F, V, N, J, W, le, te, pe, _e, ce, ge = (
|
|
21162
21169
|
/*isVideo*/
|
|
21163
21170
|
t[19] && /*posterImage*/
|
|
21164
21171
|
(t[43] || !/*videoIsBehind*/
|
|
@@ -21289,7 +21296,7 @@ function fT(t) {
|
|
|
21289
21296
|
);
|
|
21290
21297
|
return {
|
|
21291
21298
|
c() {
|
|
21292
|
-
|
|
21299
|
+
ge && ge.c(), e = Pe(), i = U("div"), Z && Z.c(), n = Pe(), L && L.c(), a = Pe(), l = U("div"), He(g.$$.fragment), T = Pe(), Te && Te.c(), C = Pe(), Se && Se.c(), F = Pe(), G && G.c(), V = Pe(), He(N.$$.fragment), J = Pe(), X && X.c(), W = Pe(), B && B.c(), le = Pe(), Ue && Ue.c(), te = Pe(), De && De.c(), Tn(l, "class", "controls svelte-19pq52p"), Tn(i, "class", "main svelte-19pq52p"), ao(
|
|
21293
21300
|
i,
|
|
21294
21301
|
"background",
|
|
21295
21302
|
/*isVideo*/
|
|
@@ -21300,8 +21307,8 @@ function fT(t) {
|
|
|
21300
21307
|
), je(i, "no-image", !/*largeImage*/
|
|
21301
21308
|
t[42]);
|
|
21302
21309
|
},
|
|
21303
|
-
m(q,
|
|
21304
|
-
|
|
21310
|
+
m(q, ve) {
|
|
21311
|
+
ge && ge.m(q, ve), se(q, e, ve), se(q, i, ve), Z && Z.m(i, null), I(i, n), L && L.m(i, null), I(i, a), I(i, l), Ge(g, l, null), I(l, T), Te && Te.m(l, null), I(l, C), Se && Se.m(l, null), I(l, F), G && G.m(l, null), I(l, V), Ge(N, l, null), I(l, J), X && X.m(l, null), I(l, W), B && B.m(l, null), I(l, le), Ue && Ue.m(l, null), I(i, te), De && De.m(i, null), pe = !0, _e || (ce = [
|
|
21305
21312
|
he(
|
|
21306
21313
|
i,
|
|
21307
21314
|
"mousedown",
|
|
@@ -21309,44 +21316,44 @@ function fT(t) {
|
|
|
21309
21316
|
t[57]
|
|
21310
21317
|
),
|
|
21311
21318
|
he(i, "keyup", null)
|
|
21312
|
-
],
|
|
21319
|
+
], _e = !0);
|
|
21313
21320
|
},
|
|
21314
|
-
p(q,
|
|
21321
|
+
p(q, ve) {
|
|
21315
21322
|
/*isVideo*/
|
|
21316
21323
|
q[19] && /*posterImage*/
|
|
21317
21324
|
(q[43] || !/*videoIsBehind*/
|
|
21318
|
-
q[16]) ?
|
|
21325
|
+
q[16]) ? ge ? ge.p(q, ve) : (ge = Bc(q), ge.c(), ge.m(e.parentNode, e)) : ge && (ge.d(1), ge = null), /*largeImage*/
|
|
21319
21326
|
q[42] && /*isLarge*/
|
|
21320
21327
|
(q[55] || /*isScreen*/
|
|
21321
|
-
q[24]) ? Z ? (Z.p(q,
|
|
21322
|
-
16777216 |
|
|
21328
|
+
q[24]) ? Z ? (Z.p(q, ve), ve[0] & /*isScreen*/
|
|
21329
|
+
16777216 | ve[1] & /*largeImage, isLarge*/
|
|
21323
21330
|
16779264 && $(Z, 1)) : (Z = Mc(q), Z.c(), $(Z, 1), Z.m(i, n)) : Z && (Rt(), ae(Z, 1, 1, () => {
|
|
21324
21331
|
Z = null;
|
|
21325
21332
|
}), Dt()), /*isLarge*/
|
|
21326
21333
|
q[55] || /*isScreen*/
|
|
21327
|
-
q[24] ? L ? (L.p(q,
|
|
21328
|
-
16777216 |
|
|
21334
|
+
q[24] ? L ? (L.p(q, ve), ve[0] & /*isScreen*/
|
|
21335
|
+
16777216 | ve[1] & /*isLarge*/
|
|
21329
21336
|
16777216 && $(L, 1)) : (L = Nc(q), L.c(), $(L, 1), L.m(i, a)) : L && (Rt(), ae(L, 1, 1, () => {
|
|
21330
21337
|
L = null;
|
|
21331
21338
|
}), Dt());
|
|
21332
21339
|
const at = {};
|
|
21333
|
-
|
|
21340
|
+
ve[0] & /*onEvent*/
|
|
21334
21341
|
32768 && (at.onEvent = /*onEvent*/
|
|
21335
|
-
q[15]),
|
|
21342
|
+
q[15]), ve[0] & /*fixedPosition*/
|
|
21336
21343
|
256 && (at.enabled = !/*fixedPosition*/
|
|
21337
|
-
q[8]),
|
|
21338
|
-
21004288 |
|
|
21339
|
-
13369346 |
|
|
21340
|
-
32768 && (at.$$scope = { dirty:
|
|
21344
|
+
q[8]), ve[0] & /*onEvent, isScreen, isSmall*/
|
|
21345
|
+
21004288 | ve[1] & /*progress, playPauseScale, activeIconColor, isPlaying, buttonColor*/
|
|
21346
|
+
13369346 | ve[2] & /*$$scope*/
|
|
21347
|
+
32768 && (at.$$scope = { dirty: ve, ctx: q }), !p && ve[0] & /*isVisible*/
|
|
21341
21348
|
1 && (p = !0, at.isVisible = /*isVisible*/
|
|
21342
|
-
q[0], Xe(() => p = !1)), !_ &&
|
|
21349
|
+
q[0], Xe(() => p = !1)), !_ && ve[0] & /*relativeY*/
|
|
21343
21350
|
2 && (_ = !0, at.relativeY = /*relativeY*/
|
|
21344
|
-
q[1], Xe(() => _ = !1)), !k &&
|
|
21351
|
+
q[1], Xe(() => _ = !1)), !k && ve[0] & /*absoluteY*/
|
|
21345
21352
|
4 && (k = !0, at.absoluteY = /*absoluteY*/
|
|
21346
21353
|
q[2], Xe(() => k = !1)), g.$set(at), /*isStandard*/
|
|
21347
21354
|
q[26] && /*isStopped*/
|
|
21348
21355
|
q[27] || /*isSmall*/
|
|
21349
|
-
q[22] ? Te ? (Te.p(q,
|
|
21356
|
+
q[22] ? Te ? (Te.p(q, ve), ve[0] & /*isStandard, isStopped, isSmall*/
|
|
21350
21357
|
205520896 && $(Te, 1)) : (Te = Fc(q), Te.c(), $(Te, 1), Te.m(l, C)) : Te && (Rt(), ae(Te, 1, 1, () => {
|
|
21351
21358
|
Te = null;
|
|
21352
21359
|
}), Dt()), !/*isSmall*/
|
|
@@ -21354,8 +21361,8 @@ function fT(t) {
|
|
|
21354
21361
|
q[27] && !/*isAdvert*/
|
|
21355
21362
|
q[25] || /*isScreen*/
|
|
21356
21363
|
q[24] && /*isAdvert*/
|
|
21357
|
-
q[25] ? Se ? (Se.p(q,
|
|
21358
|
-
188743680 && $(Se, 1)) : (Se = Uc(q), Se.c(), $(Se, 1), Se.m(l,
|
|
21364
|
+
q[25] ? Se ? (Se.p(q, ve), ve[0] & /*isSmall, isStopped, isAdvert, isScreen*/
|
|
21365
|
+
188743680 && $(Se, 1)) : (Se = Uc(q), Se.c(), $(Se, 1), Se.m(l, F)) : Se && (Rt(), ae(Se, 1, 1, () => {
|
|
21359
21366
|
Se = null;
|
|
21360
21367
|
}), Dt()), /*isStandard*/
|
|
21361
21368
|
q[26] && /*fixedPosition*/
|
|
@@ -21363,31 +21370,31 @@ function fT(t) {
|
|
|
21363
21370
|
q[27] && !/*isAdvert*/
|
|
21364
21371
|
q[25] && /*width*/
|
|
21365
21372
|
q[17] > 720 && /*controlsOrder*/
|
|
21366
|
-
q[20] !== "left-to-right-but-swap-ends" ? G ? (G.p(q,
|
|
21373
|
+
q[20] !== "left-to-right-but-swap-ends" ? G ? (G.p(q, ve), ve[0] & /*isStandard, fixedPosition, isStopped, isAdvert, width, controlsOrder*/
|
|
21367
21374
|
236060928 && $(G, 1)) : (G = Vc(q), G.c(), $(G, 1), G.m(l, V)) : G && (Rt(), ae(G, 1, 1, () => {
|
|
21368
21375
|
G = null;
|
|
21369
21376
|
}), Dt());
|
|
21370
21377
|
const Je = {};
|
|
21371
|
-
|
|
21378
|
+
ve[0] & /*currentTime*/
|
|
21372
21379
|
4096 && (Je.currentTime = /*currentTime*/
|
|
21373
|
-
q[12]),
|
|
21380
|
+
q[12]), ve[0] & /*duration*/
|
|
21374
21381
|
2048 && (Je.duration = /*duration*/
|
|
21375
|
-
q[11]),
|
|
21382
|
+
q[11]), ve[0] & /*playerStyle*/
|
|
21376
21383
|
8 && (Je.playerStyle = /*playerStyle*/
|
|
21377
|
-
q[3]),
|
|
21384
|
+
q[3]), ve[0] & /*isAdvert*/
|
|
21378
21385
|
33554432 && (Je.isAdvert = /*isAdvert*/
|
|
21379
|
-
q[25]),
|
|
21386
|
+
q[25]), ve[0] & /*isMobile*/
|
|
21380
21387
|
1073741824 && (Je.isMobile = /*isMobile*/
|
|
21381
|
-
q[30]),
|
|
21388
|
+
q[30]), ve[0] & /*isStopped*/
|
|
21382
21389
|
134217728 && (Je.isStopped = /*isStopped*/
|
|
21383
|
-
q[27]),
|
|
21390
|
+
q[27]), ve[0] & /*positionClasses*/
|
|
21384
21391
|
2097152 && (Je.positionClasses = /*positionClasses*/
|
|
21385
|
-
q[21]),
|
|
21392
|
+
q[21]), ve[1] & /*collapsed*/
|
|
21386
21393
|
512 && (Je.collapsed = /*collapsed*/
|
|
21387
|
-
q[40]),
|
|
21394
|
+
q[40]), ve[1] & /*largeImage*/
|
|
21388
21395
|
2048 && (Je.largeImage = /*largeImage*/
|
|
21389
|
-
q[42]),
|
|
21390
|
-
524288 |
|
|
21396
|
+
q[42]), ve[0] & /*isVideo*/
|
|
21397
|
+
524288 | ve[1] & /*buttonColor, activeTextColor*/
|
|
21391
21398
|
2621440 && (Je.color = /*isVideo*/
|
|
21392
21399
|
q[19] ? (
|
|
21393
21400
|
/*buttonColor*/
|
|
@@ -21402,26 +21409,26 @@ function fT(t) {
|
|
|
21402
21409
|
q[55] && !/*isMobile*/
|
|
21403
21410
|
q[30] || /*isVideo*/
|
|
21404
21411
|
q[19] && !/*isStopped*/
|
|
21405
|
-
q[27] ? X ? (X.p(q,
|
|
21406
|
-
1275592704 |
|
|
21412
|
+
q[27] ? X ? (X.p(q, ve), ve[0] & /*isStandard, isMobile, isStopped, isVideo*/
|
|
21413
|
+
1275592704 | ve[1] & /*isLarge*/
|
|
21407
21414
|
16777216 && $(X, 1)) : (X = Wc(q), X.c(), $(X, 1), X.m(l, W)) : X && (Rt(), ae(X, 1, 1, () => {
|
|
21408
21415
|
X = null;
|
|
21409
21416
|
}), Dt()), /*isAdvert*/
|
|
21410
21417
|
q[25] && !/*forcedCollapsed*/
|
|
21411
|
-
q[23] ? B ? (B.p(q,
|
|
21418
|
+
q[23] ? B ? (B.p(q, ve), ve[0] & /*isAdvert, forcedCollapsed*/
|
|
21412
21419
|
41943040 && $(B, 1)) : (B = jc(q), B.c(), $(B, 1), B.m(l, le)) : B && (Rt(), ae(B, 1, 1, () => {
|
|
21413
21420
|
B = null;
|
|
21414
21421
|
}), Dt()), /*isStopped*/
|
|
21415
21422
|
q[27] ? Ue && (Rt(), ae(Ue, 1, 1, () => {
|
|
21416
21423
|
Ue = null;
|
|
21417
|
-
}), Dt()) : Ue ? (Ue.p(q,
|
|
21424
|
+
}), Dt()) : Ue ? (Ue.p(q, ve), ve[0] & /*isStopped*/
|
|
21418
21425
|
134217728 && $(Ue, 1)) : (Ue = Gc(q), Ue.c(), $(Ue, 1), Ue.m(l, null)), /*showCloseWidget*/
|
|
21419
21426
|
q[39] || /*showBeyondWords*/
|
|
21420
|
-
q[38] ? De ? (De.p(q,
|
|
21427
|
+
q[38] ? De ? (De.p(q, ve), ve[1] & /*showCloseWidget, showBeyondWords*/
|
|
21421
21428
|
384 && $(De, 1)) : (De = zc(q), De.c(), $(De, 1), De.m(i, null)) : De && (Rt(), ae(De, 1, 1, () => {
|
|
21422
21429
|
De = null;
|
|
21423
|
-
}), Dt()), (!
|
|
21424
|
-
524288 |
|
|
21430
|
+
}), Dt()), (!pe || ve[0] & /*isVideo*/
|
|
21431
|
+
524288 | ve[1] & /*activeBackgroundColor*/
|
|
21425
21432
|
1048576) && ao(
|
|
21426
21433
|
i,
|
|
21427
21434
|
"background",
|
|
@@ -21430,18 +21437,18 @@ function fT(t) {
|
|
|
21430
21437
|
/*activeBackgroundColor*/
|
|
21431
21438
|
q[51]
|
|
21432
21439
|
)
|
|
21433
|
-
), (!
|
|
21440
|
+
), (!pe || ve[1] & /*largeImage*/
|
|
21434
21441
|
2048) && je(i, "no-image", !/*largeImage*/
|
|
21435
21442
|
q[42]);
|
|
21436
21443
|
},
|
|
21437
21444
|
i(q) {
|
|
21438
|
-
|
|
21445
|
+
pe || ($(Z), $(L), $(g.$$.fragment, q), $(Te), $(Se), $(G), $(N.$$.fragment, q), $(X), $(B), $(Ue), $(De), pe = !0);
|
|
21439
21446
|
},
|
|
21440
21447
|
o(q) {
|
|
21441
|
-
ae(Z), ae(L), ae(g.$$.fragment, q), ae(Te), ae(Se), ae(G), ae(N.$$.fragment, q), ae(X), ae(B), ae(Ue), ae(De),
|
|
21448
|
+
ae(Z), ae(L), ae(g.$$.fragment, q), ae(Te), ae(Se), ae(G), ae(N.$$.fragment, q), ae(X), ae(B), ae(Ue), ae(De), pe = !1;
|
|
21442
21449
|
},
|
|
21443
21450
|
d(q) {
|
|
21444
|
-
|
|
21451
|
+
ge && ge.d(q), q && ie(e), q && ie(i), Z && Z.d(), L && L.d(), ze(g), Te && Te.d(), Se && Se.d(), G && G.d(), ze(N), X && X.d(), B && B.d(), Ue && Ue.d(), De && De.d(), _e = !1, Ht(ce);
|
|
21445
21452
|
}
|
|
21446
21453
|
};
|
|
21447
21454
|
}
|
|
@@ -21570,34 +21577,34 @@ function hT(t) {
|
|
|
21570
21577
|
};
|
|
21571
21578
|
}
|
|
21572
21579
|
function gT(t, e, i) {
|
|
21573
|
-
let n, a, l, g, p, _, k, T, C,
|
|
21580
|
+
let n, a, l, g, p, _, k, T, C, F, V, N, J, W, le, te, pe, _e, ce, ge, Z, L, oe, z, Ke, Le, Te, Se, G, X, B, Ue, De, q, ve, at, Je, St, Oe, { playerStyle: ke = "standard" } = e, { callToAction: Qe = void 0 } = e, { skipButtonStyle: Et = "auto" } = e, { playlistStyle: At = "auto-5-4" } = e, { playlistToggle: Kt = "auto" } = e, { downloadFormats: xt = [] } = e, { playerTitle: jt = void 0 } = e, { fixedPosition: _t = void 0 } = e, { fixedWidth: ft = "auto" } = e, { content: Ot = [] } = e, { contentIndex: gt = 0 } = e, { duration: yt = 0 } = e, { currentTime: Yt = 0 } = e, { playbackState: Pt = "stopped" } = e, { playbackRate: qt = 1 } = e, { activeAdvert: rt = void 0 } = e, { persistentAdvert: ot = void 0 } = e, { textColor: si = "#111" } = e, { backgroundColor: Ee = "#f5f5f5" } = e, { iconColor: Ct = "black" } = e, { logoIconEnabled: Bt = !0 } = e, { onEvent: Lt = () => {
|
|
21574
21581
|
} } = e, { videoIsBehind: Mt = !1 } = e, { isVisible: Ft = void 0 } = e, { relativeY: li = void 0 } = e, { absoluteY: Gt = void 0 } = e, zt, fi, Nt;
|
|
21575
21582
|
const ut = () => {
|
|
21576
21583
|
Nt && clearTimeout(Nt), i(34, Nt = setTimeout(() => i(34, Nt = null), 500));
|
|
21577
|
-
}, ui = (
|
|
21578
|
-
!p || !(
|
|
21584
|
+
}, ui = (me) => {
|
|
21585
|
+
!p || !(me.button === 0) || !me.target.classList.contains("main") || Lt(Ye({
|
|
21579
21586
|
type: "PressedVideoBackground",
|
|
21580
21587
|
description: "The video background was pressed.",
|
|
21581
21588
|
initiatedBy: "user"
|
|
21582
21589
|
}));
|
|
21583
21590
|
};
|
|
21584
|
-
function Be(
|
|
21585
|
-
Ft =
|
|
21591
|
+
function Be(me) {
|
|
21592
|
+
Ft = me, i(0, Ft);
|
|
21586
21593
|
}
|
|
21587
|
-
function ci(
|
|
21588
|
-
li =
|
|
21594
|
+
function ci(me) {
|
|
21595
|
+
li = me, i(1, li);
|
|
21589
21596
|
}
|
|
21590
|
-
function Xt(
|
|
21591
|
-
Gt =
|
|
21597
|
+
function Xt(me) {
|
|
21598
|
+
Gt = me, i(2, Gt);
|
|
21592
21599
|
}
|
|
21593
|
-
function qe(
|
|
21594
|
-
fi =
|
|
21600
|
+
function qe(me) {
|
|
21601
|
+
fi = me, i(18, fi);
|
|
21595
21602
|
}
|
|
21596
21603
|
function hi() {
|
|
21597
21604
|
zt = this.clientWidth, i(17, zt);
|
|
21598
21605
|
}
|
|
21599
|
-
return t.$$set = (
|
|
21600
|
-
"playerStyle" in
|
|
21606
|
+
return t.$$set = (me) => {
|
|
21607
|
+
"playerStyle" in me && i(3, ke = me.playerStyle), "callToAction" in me && i(4, Qe = me.callToAction), "skipButtonStyle" in me && i(58, Et = me.skipButtonStyle), "playlistStyle" in me && i(5, At = me.playlistStyle), "playlistToggle" in me && i(59, Kt = me.playlistToggle), "downloadFormats" in me && i(6, xt = me.downloadFormats), "playerTitle" in me && i(7, jt = me.playerTitle), "fixedPosition" in me && i(8, _t = me.fixedPosition), "fixedWidth" in me && i(60, ft = me.fixedWidth), "content" in me && i(9, Ot = me.content), "contentIndex" in me && i(10, gt = me.contentIndex), "duration" in me && i(11, yt = me.duration), "currentTime" in me && i(12, Yt = me.currentTime), "playbackState" in me && i(61, Pt = me.playbackState), "playbackRate" in me && i(13, qt = me.playbackRate), "activeAdvert" in me && i(14, rt = me.activeAdvert), "persistentAdvert" in me && i(62, ot = me.persistentAdvert), "textColor" in me && i(63, si = me.textColor), "backgroundColor" in me && i(64, Ee = me.backgroundColor), "iconColor" in me && i(65, Ct = me.iconColor), "logoIconEnabled" in me && i(66, Bt = me.logoIconEnabled), "onEvent" in me && i(15, Lt = me.onEvent), "videoIsBehind" in me && i(16, Mt = me.videoIsBehind), "isVisible" in me && i(0, Ft = me.isVisible), "relativeY" in me && i(1, li = me.relativeY), "absoluteY" in me && i(2, Gt = me.absoluteY);
|
|
21601
21608
|
}, t.$$.update = () => {
|
|
21602
21609
|
t.$$.dirty[0] & /*playerStyle*/
|
|
21603
21610
|
8 && i(22, n = ke === "small"), t.$$.dirty[0] & /*playerStyle*/
|
|
@@ -21610,7 +21617,7 @@ function gT(t, e, i) {
|
|
|
21610
21617
|
1073741824 && i(27, k = Pt === "stopped"), t.$$.dirty[0] & /*activeAdvert, isStopped*/
|
|
21611
21618
|
134234112 && i(25, T = rt && !k), t.$$.dirty[0] & /*content*/
|
|
21612
21619
|
512 && i(67, C = Ot.length > 1), t.$$.dirty[0] & /*playerStyle, width*/
|
|
21613
|
-
131080 && i(30,
|
|
21620
|
+
131080 && i(30, F = Zk({ playerStyle: ke, width: zt })), t.$$.dirty[0] & /*content, contentIndex*/
|
|
21614
21621
|
1536 && i(29, V = Ot[gt] || {}), t.$$.dirty[0] & /*currentTime, duration*/
|
|
21615
21622
|
6144 && i(53, N = Yt / yt), t.$$.dirty[0] & /*isAdvert, activeAdvert*/
|
|
21616
21623
|
33570816 | t.$$.dirty[2] & /*textColor*/
|
|
@@ -21623,24 +21630,24 @@ function gT(t, e, i) {
|
|
|
21623
21630
|
32 && i(33, te = Et === "auto" ? C ? "tracks" : "segments" : Et), t.$$.dirty[1] & /*skipStyle*/
|
|
21624
21631
|
4, t.$$.dirty[0] & /*isVideo*/
|
|
21625
21632
|
524288 | t.$$.dirty[1] & /*activeIconColor*/
|
|
21626
|
-
2 && i(50,
|
|
21627
|
-
1095237888 && i(31,
|
|
21633
|
+
2 && i(50, pe = p ? "rgba(250, 250, 250, 0.8)" : le), t.$$.dirty[0] & /*isSmall, isVideo, fixedPosition, isScreen, isMobile*/
|
|
21634
|
+
1095237888 && i(31, _e = n || p && _t ? 0.8 : g && !F ? 2 : 1), t.$$.dirty[0] & /*isScreen, isVideo, isStopped*/
|
|
21628
21635
|
151519232 | t.$$.dirty[1] & /*buttonScale*/
|
|
21629
|
-
1 && i(49,
|
|
21630
|
-
1091043328 && i(48,
|
|
21631
|
-
1091043328 && i(47, Z = g && !
|
|
21632
|
-
1090519040 && i(46, L = g && !
|
|
21636
|
+
1 && i(49, ce = _e * (g ? 1.5 : p && k ? 2 : 1)), t.$$.dirty[0] & /*isScreen, isMobile, isVideo*/
|
|
21637
|
+
1091043328 && i(48, ge = g && !F ? 3 : g ? 2 : p && !F ? 1.5 : 1), t.$$.dirty[0] & /*isScreen, isMobile, isVideo*/
|
|
21638
|
+
1091043328 && i(47, Z = g && !F ? 2.5 : g ? 1.75 : p && !F ? 2 : p ? 1.5 : 1), t.$$.dirty[0] & /*isScreen, isMobile*/
|
|
21639
|
+
1090519040 && i(46, L = g && !F ? "12px 0" : g ? "4px 0" : "auto"), t.$$.dirty[0] & /*isSmall*/
|
|
21633
21640
|
4194304 | t.$$.dirty[1] & /*fixedWidth*/
|
|
21634
21641
|
536870912 && i(45, oe = ft === "auto" ? n ? "fit-content" : "" : ft), t.$$.dirty[0] & /*fixedPosition, isStandard*/
|
|
21635
21642
|
67109120 && i(69, z = _t === "auto" ? a ? "center" : "right" : _t), t.$$.dirty[0] & /*fixedPosition*/
|
|
21636
21643
|
256 | t.$$.dirty[2] & /*position*/
|
|
21637
21644
|
128 && i(21, Ke = _t ? `fixed fixed-${z}` : ""), t.$$.dirty[0] & /*fixedPosition, isSmall, isStandard*/
|
|
21638
|
-
71303424 && i(44, Le = (
|
|
21645
|
+
71303424 && i(44, Le = (me) => _t && F1(me, { y: n || a ? 40 : 100 })), t.$$.dirty[0] & /*playerStyle, isMobile, isAdvert*/
|
|
21639
21646
|
1107296264 | t.$$.dirty[2] & /*position*/
|
|
21640
21647
|
128 && i(20, Te = Jk({
|
|
21641
21648
|
playerStyle: ke,
|
|
21642
21649
|
position: z,
|
|
21643
|
-
isMobile:
|
|
21650
|
+
isMobile: F,
|
|
21644
21651
|
isAdvert: T
|
|
21645
21652
|
})), t.$$.dirty[0] & /*isStopped, contentItem*/
|
|
21646
21653
|
671088640 && i(43, Se = k ? V.imageUrl : null), t.$$.dirty[0] & /*isAdvert, activeAdvert, isStopped, contentItem*/
|
|
@@ -21655,7 +21662,7 @@ function gT(t, e, i) {
|
|
|
21655
21662
|
444858368 && i(40, De = Ue || B && !T && !k && !fi), t.$$.dirty[0] & /*fixedPosition, isSmall, isStandard, isAdvert*/
|
|
21656
21663
|
104857856 && i(39, q = _t && !n && !(a && T)), t.$$.dirty[0] & /*isAdvert, isScreen, fixedPosition, isSmall, forcedCollapsed*/
|
|
21657
21664
|
62914816 | t.$$.dirty[2] & /*logoIconEnabled*/
|
|
21658
|
-
16 && i(38,
|
|
21665
|
+
16 && i(38, ve = Bt && (!T || g) && !(_t && n) && !Ue), t.$$.dirty[0] & /*playlistStyle*/
|
|
21659
21666
|
32 && i(68, at = At.split("-")), t.$$.dirty[0] & /*isSmall*/
|
|
21660
21667
|
4194304 | t.$$.dirty[2] & /*playlistParts, isPlaylist*/
|
|
21661
21668
|
96 && i(37, Je = (at[0] === "show" || at[0] === "auto" && C) && !n), t.$$.dirty[0] & /*isSmall*/
|
|
@@ -21696,15 +21703,15 @@ function gT(t, e, i) {
|
|
|
21696
21703
|
k,
|
|
21697
21704
|
B,
|
|
21698
21705
|
V,
|
|
21699
|
-
|
|
21700
|
-
|
|
21706
|
+
F,
|
|
21707
|
+
_e,
|
|
21701
21708
|
le,
|
|
21702
21709
|
te,
|
|
21703
21710
|
Nt,
|
|
21704
21711
|
Oe,
|
|
21705
21712
|
St,
|
|
21706
21713
|
Je,
|
|
21707
|
-
|
|
21714
|
+
ve,
|
|
21708
21715
|
q,
|
|
21709
21716
|
De,
|
|
21710
21717
|
X,
|
|
@@ -21714,9 +21721,9 @@ function gT(t, e, i) {
|
|
|
21714
21721
|
oe,
|
|
21715
21722
|
L,
|
|
21716
21723
|
Z,
|
|
21717
|
-
|
|
21718
|
-
|
|
21719
|
-
|
|
21724
|
+
ge,
|
|
21725
|
+
ce,
|
|
21726
|
+
pe,
|
|
21720
21727
|
W,
|
|
21721
21728
|
J,
|
|
21722
21729
|
N,
|
|
@@ -21955,7 +21962,7 @@ function _T(t) {
|
|
|
21955
21962
|
);
|
|
21956
21963
|
return {
|
|
21957
21964
|
c() {
|
|
21958
|
-
e =
|
|
21965
|
+
e = U("div"), a && a.c(), vT(e, "class", "external-widget svelte-18ldhih");
|
|
21959
21966
|
},
|
|
21960
21967
|
m(l, g) {
|
|
21961
21968
|
se(l, e, g), a && a.m(e, null), t[5](e), i = !0;
|
|
@@ -22048,7 +22055,7 @@ function Zc(t) {
|
|
|
22048
22055
|
), l, g;
|
|
22049
22056
|
return {
|
|
22050
22057
|
c() {
|
|
22051
|
-
e =
|
|
22058
|
+
e = U("option"), i = Ie(
|
|
22052
22059
|
/*i*/
|
|
22053
22060
|
t[86]
|
|
22054
22061
|
), n = Ie(" ("), l = Ie(a), g = Ie(")"), e.__value = /*i*/
|
|
@@ -22071,7 +22078,7 @@ function TT(t) {
|
|
|
22071
22078
|
let e, i, n;
|
|
22072
22079
|
return {
|
|
22073
22080
|
c() {
|
|
22074
|
-
e =
|
|
22081
|
+
e = U("option"), i = Ie(
|
|
22075
22082
|
/*hour*/
|
|
22076
22083
|
t[89]
|
|
22077
22084
|
), n = Ie("-oclock"), e.__value = /*hour*/
|
|
@@ -22087,7 +22094,7 @@ function TT(t) {
|
|
|
22087
22094
|
};
|
|
22088
22095
|
}
|
|
22089
22096
|
function Jc(t) {
|
|
22090
|
-
let e, i, n, a, l, g, p, _, k, T, C,
|
|
22097
|
+
let e, i, n, a, l, g, p, _, k, T, C, F, V, N, J, W, le, te, pe, _e, ce, ge, Z, L, oe, z, Ke, Le, Te, Se, G, X, B, Ue, De, q, ve, at, Je, St, Oe, ke, Qe, Et, At, Kt, xt, jt, _t, ft, Ot, gt, yt, Yt, Pt, qt, rt, ot, si, Ee, Ct, Bt, Lt, Mt, Ft, li, Gt, zt, fi, Nt, ut, ui, Be, ci, Xt, qe, hi, me, Zt, di, gi, Ei, vi, bi, Ne, Y, Q, Me, dr, Di, Fr, ri, fr, Yi, qi, Oi, rr, Sr, wi, Pi, nr, kr, Bi, _i, Mi, Ci = (
|
|
22091
22098
|
/*content*/
|
|
22092
22099
|
t[39]
|
|
22093
22100
|
), Jt = [];
|
|
@@ -22107,40 +22114,40 @@ function Jc(t) {
|
|
|
22107
22114
|
ei[H] = ed(Kc(t, hr, H));
|
|
22108
22115
|
return {
|
|
22109
22116
|
c() {
|
|
22110
|
-
e =
|
|
22111
|
-
`), T =
|
|
22112
|
-
`), N =
|
|
22113
|
-
`), te =
|
|
22114
|
-
`),
|
|
22115
|
-
`), z =
|
|
22116
|
-
`), Se =
|
|
22117
|
-
`), q =
|
|
22118
|
-
`), Qe =
|
|
22117
|
+
e = U("br"), i = Pe(), n = U("strong"), n.textContent = "Advanced settings:", a = Pe(), l = U("br"), g = U("br"), p = Pe(), _ = U("div"), k = Ie(`projectId:
|
|
22118
|
+
`), T = U("input"), C = Pe(), F = U("div"), V = Ie(`contentId:
|
|
22119
|
+
`), N = U("input"), J = Pe(), W = U("div"), le = Ie(`playlistId:
|
|
22120
|
+
`), te = U("input"), pe = Pe(), _e = U("div"), ce = Ie(`sourceId:
|
|
22121
|
+
`), ge = U("input"), Z = Pe(), L = U("div"), oe = Ie(`sourceUrl:
|
|
22122
|
+
`), z = U("input"), Ke = Pe(), Le = U("div"), Te = Ie(`showUserInterface:
|
|
22123
|
+
`), Se = U("select"), G = U("option"), G.textContent = `${!1}`, X = U("option"), X.textContent = `${!0}`, B = Pe(), Ue = U("div"), De = Ie(`mediaSession:
|
|
22124
|
+
`), q = U("select"), ve = U("option"), ve.textContent = "auto", at = U("option"), at.textContent = "override", Je = U("option"), Je.textContent = "none", St = Pe(), Oe = U("div"), ke = Ie(`contentIndex:
|
|
22125
|
+
`), Qe = U("select");
|
|
22119
22126
|
for (let H = 0; H < Jt.length; H += 1)
|
|
22120
22127
|
Jt[H].c();
|
|
22121
|
-
Et = Pe(), At =
|
|
22122
|
-
`), xt =
|
|
22128
|
+
Et = Pe(), At = U("div"), Kt = Ie(`introsOutrosIndex:
|
|
22129
|
+
`), xt = U("select"), jt = U("option"), jt.textContent = "-1 (none)";
|
|
22123
22130
|
for (let H = 0; H < Qt.length; H += 1)
|
|
22124
22131
|
Qt[H].c();
|
|
22125
|
-
_t = Pe(), ft =
|
|
22126
|
-
`), gt =
|
|
22127
|
-
`), ot =
|
|
22132
|
+
_t = Pe(), ft = U("div"), Ot = Ie(`persistentAdImage:
|
|
22133
|
+
`), gt = U("select"), yt = U("option"), yt.textContent = `${!1}`, Yt = U("option"), Yt.textContent = `${!0}`, Pt = Pe(), qt = U("div"), rt = Ie(`persistentIndex:
|
|
22134
|
+
`), ot = U("select"), si = U("option"), si.textContent = "-1 (none)";
|
|
22128
22135
|
for (let H = 0; H < ei.length; H += 1)
|
|
22129
22136
|
ei[H].c();
|
|
22130
|
-
Ee = Pe(), Ct =
|
|
22131
|
-
`), Lt =
|
|
22132
|
-
`), Gt =
|
|
22133
|
-
`), ut =
|
|
22134
|
-
`), Xt =
|
|
22135
|
-
`), Zt =
|
|
22136
|
-
`), Ne =
|
|
22137
|
-
`), ri =
|
|
22138
|
-
`), wi =
|
|
22139
|
-
`), Bi =
|
|
22137
|
+
Ee = Pe(), Ct = U("div"), Bt = Ie(`duration:
|
|
22138
|
+
`), Lt = U("input"), Mt = Pe(), Ft = U("div"), li = Ie(`currentTime:
|
|
22139
|
+
`), Gt = U("input"), zt = Pe(), fi = U("div"), Nt = Ie(`playbackRate:
|
|
22140
|
+
`), ut = U("input"), ui = Pe(), Be = U("div"), ci = Ie(`widgetTarget:
|
|
22141
|
+
`), Xt = U("input"), qe = Pe(), hi = U("div"), me = Ie(`logoIconEnabled:
|
|
22142
|
+
`), Zt = U("select"), di = U("option"), di.textContent = `${!1}`, gi = U("option"), gi.textContent = `${!0}`, Ei = Pe(), vi = U("div"), bi = Ie(`advertConsent:
|
|
22143
|
+
`), Ne = U("select"), Y = U("option"), Y.textContent = "personalized", Q = U("option"), Q.textContent = "non-personalized", Me = U("option"), Me.textContent = "under-the-age-of-consent", dr = Pe(), Di = U("div"), Fr = Ie(`analyticsConsent:
|
|
22144
|
+
`), ri = U("select"), fr = U("option"), fr.textContent = "allowed", Yi = U("option"), Yi.textContent = "without-local-storage", qi = U("option"), qi.textContent = "none", Oi = Pe(), rr = U("div"), Sr = Ie(`analyticsCustomUrl:
|
|
22145
|
+
`), wi = U("input"), Pi = Pe(), nr = U("div"), kr = Ie(`analyticsTag:
|
|
22146
|
+
`), Bi = U("input"), ee(n, "class", "svelte-g76q0j"), ee(T, "tabindex", -1), ee(T, "type", "text"), ee(T, "class", "svelte-g76q0j"), ee(_, "class", "control svelte-g76q0j"), ee(N, "tabindex", -1), ee(N, "type", "text"), ee(N, "class", "svelte-g76q0j"), ee(F, "class", "control svelte-g76q0j"), ee(te, "tabindex", -1), ee(te, "type", "text"), ee(te, "class", "svelte-g76q0j"), ee(W, "class", "control svelte-g76q0j"), ee(ge, "tabindex", -1), ee(ge, "type", "text"), ee(ge, "class", "svelte-g76q0j"), ee(_e, "class", "control svelte-g76q0j"), ee(z, "tabindex", -1), ee(z, "type", "text"), ee(z, "class", "svelte-g76q0j"), ee(L, "class", "control svelte-g76q0j"), G.__value = !1, G.value = G.__value, X.__value = !0, X.value = X.__value, ee(Se, "tabindex", -1), ee(Se, "class", "svelte-g76q0j"), /*showUserInterface*/
|
|
22140
22147
|
t[5] === void 0 && Wt(() => (
|
|
22141
22148
|
/*select0_change_handler_1*/
|
|
22142
22149
|
t[67].call(Se)
|
|
22143
|
-
)), ee(Le, "class", "control svelte-g76q0j"),
|
|
22150
|
+
)), ee(Le, "class", "control svelte-g76q0j"), ve.__value = "auto", ve.value = ve.__value, at.__value = "override", at.value = at.__value, Je.__value = "none", Je.value = Je.__value, ee(q, "tabindex", -1), ee(q, "class", "svelte-g76q0j"), /*mediaSession*/
|
|
22144
22151
|
t[12] === void 0 && Wt(() => (
|
|
22145
22152
|
/*select1_change_handler_1*/
|
|
22146
22153
|
t[68].call(q)
|
|
@@ -22174,102 +22181,102 @@ function Jc(t) {
|
|
|
22174
22181
|
t[79].call(ri)
|
|
22175
22182
|
)), ee(Di, "class", "control svelte-g76q0j"), ee(wi, "tabindex", -1), ee(wi, "type", "text"), ee(wi, "class", "svelte-g76q0j"), ee(rr, "class", "control svelte-g76q0j"), ee(Bi, "tabindex", -1), ee(Bi, "type", "text"), ee(Bi, "class", "svelte-g76q0j"), ee(nr, "class", "control svelte-g76q0j");
|
|
22176
22183
|
},
|
|
22177
|
-
m(H,
|
|
22178
|
-
se(H, e,
|
|
22184
|
+
m(H, ye) {
|
|
22185
|
+
se(H, e, ye), se(H, i, ye), se(H, n, ye), se(H, a, ye), se(H, l, ye), se(H, g, ye), se(H, p, ye), se(H, _, ye), I(_, k), I(_, T), kt(
|
|
22179
22186
|
T,
|
|
22180
22187
|
/*projectId*/
|
|
22181
22188
|
t[0]
|
|
22182
|
-
), se(H, C,
|
|
22189
|
+
), se(H, C, ye), se(H, F, ye), I(F, V), I(F, N), kt(
|
|
22183
22190
|
N,
|
|
22184
22191
|
/*contentId*/
|
|
22185
22192
|
t[1]
|
|
22186
|
-
), se(H, J,
|
|
22193
|
+
), se(H, J, ye), se(H, W, ye), I(W, le), I(W, te), kt(
|
|
22187
22194
|
te,
|
|
22188
22195
|
/*playlistId*/
|
|
22189
22196
|
t[2]
|
|
22190
|
-
), se(H,
|
|
22191
|
-
|
|
22197
|
+
), se(H, pe, ye), se(H, _e, ye), I(_e, ce), I(_e, ge), kt(
|
|
22198
|
+
ge,
|
|
22192
22199
|
/*sourceId*/
|
|
22193
22200
|
t[3]
|
|
22194
|
-
), se(H, Z,
|
|
22201
|
+
), se(H, Z, ye), se(H, L, ye), I(L, oe), I(L, z), kt(
|
|
22195
22202
|
z,
|
|
22196
22203
|
/*sourceUrl*/
|
|
22197
22204
|
t[4]
|
|
22198
|
-
), se(H, Ke,
|
|
22205
|
+
), se(H, Ke, ye), se(H, Le, ye), I(Le, Te), I(Le, Se), I(Se, G), I(Se, X), lt(
|
|
22199
22206
|
Se,
|
|
22200
22207
|
/*showUserInterface*/
|
|
22201
22208
|
t[5],
|
|
22202
22209
|
!0
|
|
22203
|
-
), se(H, B,
|
|
22210
|
+
), se(H, B, ye), se(H, Ue, ye), I(Ue, De), I(Ue, q), I(q, ve), I(q, at), I(q, Je), lt(
|
|
22204
22211
|
q,
|
|
22205
22212
|
/*mediaSession*/
|
|
22206
22213
|
t[12],
|
|
22207
22214
|
!0
|
|
22208
|
-
), se(H, St,
|
|
22209
|
-
for (let
|
|
22210
|
-
Jt[
|
|
22215
|
+
), se(H, St, ye), se(H, Oe, ye), I(Oe, ke), I(Oe, Qe);
|
|
22216
|
+
for (let be = 0; be < Jt.length; be += 1)
|
|
22217
|
+
Jt[be] && Jt[be].m(Qe, null);
|
|
22211
22218
|
lt(
|
|
22212
22219
|
Qe,
|
|
22213
22220
|
/*contentIndex*/
|
|
22214
22221
|
t[13],
|
|
22215
22222
|
!0
|
|
22216
|
-
), se(H, Et,
|
|
22217
|
-
for (let
|
|
22218
|
-
Qt[
|
|
22223
|
+
), se(H, Et, ye), se(H, At, ye), I(At, Kt), I(At, xt), I(xt, jt);
|
|
22224
|
+
for (let be = 0; be < Qt.length; be += 1)
|
|
22225
|
+
Qt[be] && Qt[be].m(xt, null);
|
|
22219
22226
|
lt(
|
|
22220
22227
|
xt,
|
|
22221
22228
|
/*introsOutrosIndex*/
|
|
22222
22229
|
t[14],
|
|
22223
22230
|
!0
|
|
22224
|
-
), se(H, _t,
|
|
22231
|
+
), se(H, _t, ye), se(H, ft, ye), I(ft, Ot), I(ft, gt), I(gt, yt), I(gt, Yt), lt(
|
|
22225
22232
|
gt,
|
|
22226
22233
|
/*persistentAdImage*/
|
|
22227
22234
|
t[16],
|
|
22228
22235
|
!0
|
|
22229
|
-
), se(H, Pt,
|
|
22230
|
-
for (let
|
|
22231
|
-
ei[
|
|
22236
|
+
), se(H, Pt, ye), se(H, qt, ye), I(qt, rt), I(qt, ot), I(ot, si);
|
|
22237
|
+
for (let be = 0; be < ei.length; be += 1)
|
|
22238
|
+
ei[be] && ei[be].m(ot, null);
|
|
22232
22239
|
lt(
|
|
22233
22240
|
ot,
|
|
22234
22241
|
/*persistentIndex*/
|
|
22235
22242
|
t[17],
|
|
22236
22243
|
!0
|
|
22237
|
-
), se(H, Ee,
|
|
22244
|
+
), se(H, Ee, ye), se(H, Ct, ye), I(Ct, Bt), I(Ct, Lt), kt(
|
|
22238
22245
|
Lt,
|
|
22239
22246
|
/*duration*/
|
|
22240
22247
|
t[18]
|
|
22241
|
-
), se(H, Mt,
|
|
22248
|
+
), se(H, Mt, ye), se(H, Ft, ye), I(Ft, li), I(Ft, Gt), kt(
|
|
22242
22249
|
Gt,
|
|
22243
22250
|
/*currentTime*/
|
|
22244
22251
|
t[19]
|
|
22245
|
-
), se(H, zt,
|
|
22252
|
+
), se(H, zt, ye), se(H, fi, ye), I(fi, Nt), I(fi, ut), kt(
|
|
22246
22253
|
ut,
|
|
22247
22254
|
/*playbackRate*/
|
|
22248
22255
|
t[21]
|
|
22249
|
-
), se(H, ui,
|
|
22256
|
+
), se(H, ui, ye), se(H, Be, ye), I(Be, ci), I(Be, Xt), kt(
|
|
22250
22257
|
Xt,
|
|
22251
22258
|
/*widgetTarget*/
|
|
22252
22259
|
t[25]
|
|
22253
|
-
), se(H, qe,
|
|
22260
|
+
), se(H, qe, ye), se(H, hi, ye), I(hi, me), I(hi, Zt), I(Zt, di), I(Zt, gi), lt(
|
|
22254
22261
|
Zt,
|
|
22255
22262
|
/*logoIconEnabled*/
|
|
22256
22263
|
t[30],
|
|
22257
22264
|
!0
|
|
22258
|
-
), se(H, Ei,
|
|
22265
|
+
), se(H, Ei, ye), se(H, vi, ye), I(vi, bi), I(vi, Ne), I(Ne, Y), I(Ne, Q), I(Ne, Me), lt(
|
|
22259
22266
|
Ne,
|
|
22260
22267
|
/*advertConsent*/
|
|
22261
22268
|
t[35],
|
|
22262
22269
|
!0
|
|
22263
|
-
), se(H, dr,
|
|
22270
|
+
), se(H, dr, ye), se(H, Di, ye), I(Di, Fr), I(Di, ri), I(ri, fr), I(ri, Yi), I(ri, qi), lt(
|
|
22264
22271
|
ri,
|
|
22265
22272
|
/*analyticsConsent*/
|
|
22266
22273
|
t[36],
|
|
22267
22274
|
!0
|
|
22268
|
-
), se(H, Oi,
|
|
22275
|
+
), se(H, Oi, ye), se(H, rr, ye), I(rr, Sr), I(rr, wi), kt(
|
|
22269
22276
|
wi,
|
|
22270
22277
|
/*analyticsCustomUrl*/
|
|
22271
22278
|
t[37]
|
|
22272
|
-
), se(H, Pi,
|
|
22279
|
+
), se(H, Pi, ye), se(H, nr, ye), I(nr, kr), I(nr, Bi), kt(
|
|
22273
22280
|
Bi,
|
|
22274
22281
|
/*analyticsTag*/
|
|
22275
22282
|
t[38]
|
|
@@ -22293,7 +22300,7 @@ function Jc(t) {
|
|
|
22293
22300
|
t[64]
|
|
22294
22301
|
),
|
|
22295
22302
|
he(
|
|
22296
|
-
|
|
22303
|
+
ge,
|
|
22297
22304
|
"input",
|
|
22298
22305
|
/*input3_input_handler_1*/
|
|
22299
22306
|
t[65]
|
|
@@ -22396,152 +22403,152 @@ function Jc(t) {
|
|
|
22396
22403
|
)
|
|
22397
22404
|
], _i = !0);
|
|
22398
22405
|
},
|
|
22399
|
-
p(H,
|
|
22400
|
-
if (
|
|
22406
|
+
p(H, ye) {
|
|
22407
|
+
if (ye[0] & /*projectId*/
|
|
22401
22408
|
1 && T.value !== /*projectId*/
|
|
22402
22409
|
H[0] && kt(
|
|
22403
22410
|
T,
|
|
22404
22411
|
/*projectId*/
|
|
22405
22412
|
H[0]
|
|
22406
|
-
),
|
|
22413
|
+
), ye[0] & /*contentId*/
|
|
22407
22414
|
2 && N.value !== /*contentId*/
|
|
22408
22415
|
H[1] && kt(
|
|
22409
22416
|
N,
|
|
22410
22417
|
/*contentId*/
|
|
22411
22418
|
H[1]
|
|
22412
|
-
),
|
|
22419
|
+
), ye[0] & /*playlistId*/
|
|
22413
22420
|
4 && te.value !== /*playlistId*/
|
|
22414
22421
|
H[2] && kt(
|
|
22415
22422
|
te,
|
|
22416
22423
|
/*playlistId*/
|
|
22417
22424
|
H[2]
|
|
22418
|
-
),
|
|
22419
|
-
8 &&
|
|
22425
|
+
), ye[0] & /*sourceId*/
|
|
22426
|
+
8 && ge.value !== /*sourceId*/
|
|
22420
22427
|
H[3] && kt(
|
|
22421
|
-
|
|
22428
|
+
ge,
|
|
22422
22429
|
/*sourceId*/
|
|
22423
22430
|
H[3]
|
|
22424
|
-
),
|
|
22431
|
+
), ye[0] & /*sourceUrl*/
|
|
22425
22432
|
16 && z.value !== /*sourceUrl*/
|
|
22426
22433
|
H[4] && kt(
|
|
22427
22434
|
z,
|
|
22428
22435
|
/*sourceUrl*/
|
|
22429
22436
|
H[4]
|
|
22430
|
-
),
|
|
22437
|
+
), ye[0] & /*showUserInterface*/
|
|
22431
22438
|
32 && lt(
|
|
22432
22439
|
Se,
|
|
22433
22440
|
/*showUserInterface*/
|
|
22434
22441
|
H[5]
|
|
22435
|
-
),
|
|
22442
|
+
), ye[0] & /*mediaSession*/
|
|
22436
22443
|
4096 && lt(
|
|
22437
22444
|
q,
|
|
22438
22445
|
/*mediaSession*/
|
|
22439
22446
|
H[12]
|
|
22440
|
-
),
|
|
22447
|
+
), ye[1] & /*content*/
|
|
22441
22448
|
256) {
|
|
22442
22449
|
Ci = /*content*/
|
|
22443
22450
|
H[39];
|
|
22444
|
-
let
|
|
22445
|
-
for (
|
|
22446
|
-
const st = qc(H, Ci,
|
|
22447
|
-
Jt[
|
|
22451
|
+
let be;
|
|
22452
|
+
for (be = 0; be < Ci.length; be += 1) {
|
|
22453
|
+
const st = qc(H, Ci, be);
|
|
22454
|
+
Jt[be] ? Jt[be].p(st, ye) : (Jt[be] = Qc(st), Jt[be].c(), Jt[be].m(Qe, null));
|
|
22448
22455
|
}
|
|
22449
|
-
for (;
|
|
22450
|
-
Jt[
|
|
22456
|
+
for (; be < Jt.length; be += 1)
|
|
22457
|
+
Jt[be].d(1);
|
|
22451
22458
|
Jt.length = Ci.length;
|
|
22452
22459
|
}
|
|
22453
|
-
if (
|
|
22460
|
+
if (ye[0] & /*contentIndex*/
|
|
22454
22461
|
8192 && lt(
|
|
22455
22462
|
Qe,
|
|
22456
22463
|
/*contentIndex*/
|
|
22457
22464
|
H[13]
|
|
22458
|
-
),
|
|
22465
|
+
), ye[1] & /*introsOutros*/
|
|
22459
22466
|
512) {
|
|
22460
22467
|
Ni = /*introsOutros*/
|
|
22461
22468
|
H[40];
|
|
22462
|
-
let
|
|
22463
|
-
for (
|
|
22464
|
-
const st = Yc(H, Ni,
|
|
22465
|
-
Qt[
|
|
22469
|
+
let be;
|
|
22470
|
+
for (be = 0; be < Ni.length; be += 1) {
|
|
22471
|
+
const st = Yc(H, Ni, be);
|
|
22472
|
+
Qt[be] ? Qt[be].p(st, ye) : (Qt[be] = $c(st), Qt[be].c(), Qt[be].m(xt, null));
|
|
22466
22473
|
}
|
|
22467
|
-
for (;
|
|
22468
|
-
Qt[
|
|
22474
|
+
for (; be < Qt.length; be += 1)
|
|
22475
|
+
Qt[be].d(1);
|
|
22469
22476
|
Qt.length = Ni.length;
|
|
22470
22477
|
}
|
|
22471
|
-
if (
|
|
22478
|
+
if (ye[0] & /*introsOutrosIndex*/
|
|
22472
22479
|
16384 && lt(
|
|
22473
22480
|
xt,
|
|
22474
22481
|
/*introsOutrosIndex*/
|
|
22475
22482
|
H[14]
|
|
22476
|
-
),
|
|
22483
|
+
), ye[0] & /*persistentAdImage*/
|
|
22477
22484
|
65536 && lt(
|
|
22478
22485
|
gt,
|
|
22479
22486
|
/*persistentAdImage*/
|
|
22480
22487
|
H[16]
|
|
22481
|
-
),
|
|
22488
|
+
), ye[1] & /*adverts*/
|
|
22482
22489
|
1024) {
|
|
22483
22490
|
hr = /*adverts*/
|
|
22484
22491
|
H[41];
|
|
22485
|
-
let
|
|
22486
|
-
for (
|
|
22487
|
-
const st = Kc(H, hr,
|
|
22488
|
-
ei[
|
|
22492
|
+
let be;
|
|
22493
|
+
for (be = 0; be < hr.length; be += 1) {
|
|
22494
|
+
const st = Kc(H, hr, be);
|
|
22495
|
+
ei[be] ? ei[be].p(st, ye) : (ei[be] = ed(st), ei[be].c(), ei[be].m(ot, null));
|
|
22489
22496
|
}
|
|
22490
|
-
for (;
|
|
22491
|
-
ei[
|
|
22497
|
+
for (; be < ei.length; be += 1)
|
|
22498
|
+
ei[be].d(1);
|
|
22492
22499
|
ei.length = hr.length;
|
|
22493
22500
|
}
|
|
22494
|
-
|
|
22501
|
+
ye[0] & /*persistentIndex*/
|
|
22495
22502
|
131072 && lt(
|
|
22496
22503
|
ot,
|
|
22497
22504
|
/*persistentIndex*/
|
|
22498
22505
|
H[17]
|
|
22499
|
-
),
|
|
22506
|
+
), ye[0] & /*duration*/
|
|
22500
22507
|
262144 && Lt.value !== /*duration*/
|
|
22501
22508
|
H[18] && kt(
|
|
22502
22509
|
Lt,
|
|
22503
22510
|
/*duration*/
|
|
22504
22511
|
H[18]
|
|
22505
|
-
),
|
|
22512
|
+
), ye[0] & /*currentTime*/
|
|
22506
22513
|
524288 && Gt.value !== /*currentTime*/
|
|
22507
22514
|
H[19] && kt(
|
|
22508
22515
|
Gt,
|
|
22509
22516
|
/*currentTime*/
|
|
22510
22517
|
H[19]
|
|
22511
|
-
),
|
|
22518
|
+
), ye[0] & /*playbackRate*/
|
|
22512
22519
|
2097152 && ut.value !== /*playbackRate*/
|
|
22513
22520
|
H[21] && kt(
|
|
22514
22521
|
ut,
|
|
22515
22522
|
/*playbackRate*/
|
|
22516
22523
|
H[21]
|
|
22517
|
-
),
|
|
22524
|
+
), ye[0] & /*widgetTarget*/
|
|
22518
22525
|
33554432 && Xt.value !== /*widgetTarget*/
|
|
22519
22526
|
H[25] && kt(
|
|
22520
22527
|
Xt,
|
|
22521
22528
|
/*widgetTarget*/
|
|
22522
22529
|
H[25]
|
|
22523
|
-
),
|
|
22530
|
+
), ye[0] & /*logoIconEnabled*/
|
|
22524
22531
|
1073741824 && lt(
|
|
22525
22532
|
Zt,
|
|
22526
22533
|
/*logoIconEnabled*/
|
|
22527
22534
|
H[30]
|
|
22528
|
-
),
|
|
22535
|
+
), ye[1] & /*advertConsent*/
|
|
22529
22536
|
16 && lt(
|
|
22530
22537
|
Ne,
|
|
22531
22538
|
/*advertConsent*/
|
|
22532
22539
|
H[35]
|
|
22533
|
-
),
|
|
22540
|
+
), ye[1] & /*analyticsConsent*/
|
|
22534
22541
|
32 && lt(
|
|
22535
22542
|
ri,
|
|
22536
22543
|
/*analyticsConsent*/
|
|
22537
22544
|
H[36]
|
|
22538
|
-
),
|
|
22545
|
+
), ye[1] & /*analyticsCustomUrl*/
|
|
22539
22546
|
64 && wi.value !== /*analyticsCustomUrl*/
|
|
22540
22547
|
H[37] && kt(
|
|
22541
22548
|
wi,
|
|
22542
22549
|
/*analyticsCustomUrl*/
|
|
22543
22550
|
H[37]
|
|
22544
|
-
),
|
|
22551
|
+
), ye[1] & /*analyticsTag*/
|
|
22545
22552
|
128 && Bi.value !== /*analyticsTag*/
|
|
22546
22553
|
H[38] && kt(
|
|
22547
22554
|
Bi,
|
|
@@ -22550,7 +22557,7 @@ function Jc(t) {
|
|
|
22550
22557
|
);
|
|
22551
22558
|
},
|
|
22552
22559
|
d(H) {
|
|
22553
|
-
H && ie(e), H && ie(i), H && ie(n), H && ie(a), H && ie(l), H && ie(g), H && ie(p), H && ie(_), H && ie(C), H && ie(
|
|
22560
|
+
H && ie(e), H && ie(i), H && ie(n), H && ie(a), H && ie(l), H && ie(g), H && ie(p), H && ie(_), H && ie(C), H && ie(F), H && ie(J), H && ie(W), H && ie(pe), H && ie(_e), H && ie(Z), H && ie(L), H && ie(Ke), H && ie(Le), H && ie(B), H && ie(Ue), H && ie(St), H && ie(Oe), Vn(Jt, H), H && ie(Et), H && ie(At), Vn(Qt, H), H && ie(_t), H && ie(ft), H && ie(Pt), H && ie(qt), Vn(ei, H), H && ie(Ee), H && ie(Ct), H && ie(Mt), H && ie(Ft), H && ie(zt), H && ie(fi), H && ie(ui), H && ie(Be), H && ie(qe), H && ie(hi), H && ie(Ei), H && ie(vi), H && ie(dr), H && ie(Di), H && ie(Oi), H && ie(rr), H && ie(Pi), H && ie(nr), _i = !1, Ht(Mi);
|
|
22554
22561
|
}
|
|
22555
22562
|
};
|
|
22556
22563
|
}
|
|
@@ -22561,7 +22568,7 @@ function Qc(t) {
|
|
|
22561
22568
|
), l, g;
|
|
22562
22569
|
return {
|
|
22563
22570
|
c() {
|
|
22564
|
-
e =
|
|
22571
|
+
e = U("option"), i = Ie(
|
|
22565
22572
|
/*i*/
|
|
22566
22573
|
t[86]
|
|
22567
22574
|
), n = Ie(" ("), l = Ie(a), g = Ie(")"), e.__value = /*i*/
|
|
@@ -22587,7 +22594,7 @@ function $c(t) {
|
|
|
22587
22594
|
), l;
|
|
22588
22595
|
return {
|
|
22589
22596
|
c() {
|
|
22590
|
-
e =
|
|
22597
|
+
e = U("option"), i = Ie(
|
|
22591
22598
|
/*i*/
|
|
22592
22599
|
t[86]
|
|
22593
22600
|
), n = Ie(": "), l = Ie(a), e.__value = /*i*/
|
|
@@ -22613,7 +22620,7 @@ function ed(t) {
|
|
|
22613
22620
|
), l;
|
|
22614
22621
|
return {
|
|
22615
22622
|
c() {
|
|
22616
|
-
e =
|
|
22623
|
+
e = U("option"), i = Ie(
|
|
22617
22624
|
/*i*/
|
|
22618
22625
|
t[86]
|
|
22619
22626
|
), n = Ie(": "), l = Ie(a), e.__value = /*i*/
|
|
@@ -22636,7 +22643,7 @@ function ET(t) {
|
|
|
22636
22643
|
let e, i, n;
|
|
22637
22644
|
return {
|
|
22638
22645
|
c() {
|
|
22639
|
-
e =
|
|
22646
|
+
e = U("a"), e.textContent = "show advanced settings", ee(e, "tabindex", -1), ee(e, "href", "#_"), ee(e, "class", "svelte-g76q0j");
|
|
22640
22647
|
},
|
|
22641
22648
|
m(a, l) {
|
|
22642
22649
|
se(a, e, l), i || (n = he(
|
|
@@ -22656,7 +22663,7 @@ function AT(t) {
|
|
|
22656
22663
|
let e, i, n;
|
|
22657
22664
|
return {
|
|
22658
22665
|
c() {
|
|
22659
|
-
e =
|
|
22666
|
+
e = U("a"), e.textContent = "hide advanced settings", ee(e, "tabindex", -1), ee(e, "href", "#_"), ee(e, "class", "svelte-g76q0j");
|
|
22660
22667
|
},
|
|
22661
22668
|
m(a, l) {
|
|
22662
22669
|
se(a, e, l), i || (n = he(
|
|
@@ -22673,7 +22680,7 @@ function AT(t) {
|
|
|
22673
22680
|
};
|
|
22674
22681
|
}
|
|
22675
22682
|
function xT(t) {
|
|
22676
|
-
let e, i, n, a, l, g, p, _, k, T, C,
|
|
22683
|
+
let e, i, n, a, l, g, p, _, k, T, C, F, V, N, J, W, le, te, pe, _e, ce, ge, Z, L, oe, z, Ke, Le, Te, Se, G, X, B, Ue, De, q, ve, at, Je, St, Oe, ke, Qe, Et, At, Kt, xt, jt, _t, ft, Ot, gt, yt, Yt, Pt, qt, rt, ot, si, Ee, Ct, Bt, Lt, Mt, Ft, li, Gt, zt, fi, Nt, ut, ui, Be, ci, Xt, qe, hi, me, Zt, di, gi, Ei, vi, bi, Ne, Y, Q, Me, dr, Di, Fr, ri, fr, Yi, qi, Oi, rr, Sr, wi, Pi, nr, kr, Bi, _i, Mi, Ci, Jt, Ni, Qt, hr, ei, H, ye, be, st, Pr, Tr, Ur, us, tn, cs, Fi, Vr, Si, Wr, Er, gr, En, rn, ds, vr, An, Cr, fs, zn, Hn, xn, Lr = (
|
|
22677
22684
|
/*adverts*/
|
|
22678
22685
|
t[41]
|
|
22679
22686
|
), Ai = [];
|
|
@@ -22695,42 +22702,42 @@ function xT(t) {
|
|
|
22695
22702
|
let hs = Ws(t), Ar = hs(t);
|
|
22696
22703
|
return {
|
|
22697
22704
|
c() {
|
|
22698
|
-
e =
|
|
22705
|
+
e = U("div"), i = U("div"), i.innerHTML = `<strong class="svelte-g76q0j">Player settings:</strong>
|
|
22699
22706
|
|
|
22700
|
-
<a tabindex="-1" target="_blank" class="docs svelte-g76q0j" href="https://github.com/beyondwords-io/player/blob/main/doc/player-settings.md">view docs</a>`, n = Pe(), a =
|
|
22701
|
-
`), _ =
|
|
22702
|
-
`), W =
|
|
22703
|
-
`), Z =
|
|
22704
|
-
`), Ke =
|
|
22705
|
-
`), G =
|
|
22706
|
-
`), Oe =
|
|
22707
|
-
`), ft =
|
|
22708
|
-
`), rt =
|
|
22707
|
+
<a tabindex="-1" target="_blank" class="docs svelte-g76q0j" href="https://github.com/beyondwords-io/player/blob/main/doc/player-settings.md">view docs</a>`, n = Pe(), a = U("br"), l = Pe(), g = U("div"), p = Ie(`playerStyle:
|
|
22708
|
+
`), _ = U("select"), k = U("option"), k.textContent = "small", T = U("option"), T.textContent = "standard", C = U("option"), C.textContent = "large", F = U("option"), F.textContent = "video", V = Pe(), N = U("div"), J = Ie(`playbackState:
|
|
22709
|
+
`), W = U("select"), le = U("option"), le.textContent = "stopped", te = U("option"), te.textContent = "playing", pe = U("option"), pe.textContent = "paused", _e = Pe(), ce = U("div"), ge = Ie(`playerTitle:
|
|
22710
|
+
`), Z = U("input"), L = Pe(), oe = U("div"), z = Ie(`callToAction:
|
|
22711
|
+
`), Ke = U("input"), Le = Pe(), Te = U("div"), Se = Ie(`skipButtonStyle:
|
|
22712
|
+
`), G = U("select"), X = U("option"), X.textContent = "auto", B = U("option"), B.textContent = "segments", Ue = U("option"), Ue.textContent = "seconds", De = U("option"), De.textContent = "seconds-15", q = U("option"), q.textContent = "seconds-15-30", ve = U("option"), ve.textContent = "tracks", at = Pe(), Je = U("div"), St = Ie(`playlistStyle:
|
|
22713
|
+
`), Oe = U("select"), ke = U("option"), ke.textContent = "auto", Qe = U("option"), Qe.textContent = "show", Et = U("option"), Et.textContent = "show-3", At = U("option"), At.textContent = "show-999", Kt = U("option"), Kt.textContent = "hide", xt = Pe(), jt = U("div"), _t = Ie(`playlistToggle:
|
|
22714
|
+
`), ft = U("select"), Ot = U("option"), Ot.textContent = "auto", gt = U("option"), gt.textContent = "show", yt = U("option"), yt.textContent = "hide", Yt = Pe(), Pt = U("div"), qt = Ie(`advertIndex:
|
|
22715
|
+
`), rt = U("select"), ot = U("option"), ot.textContent = "-1 (none)";
|
|
22709
22716
|
for (let We = 0; We < Ai.length; We += 1)
|
|
22710
22717
|
Ai[We].c();
|
|
22711
|
-
si = Pe(), Ee =
|
|
22712
|
-
`), Bt =
|
|
22713
|
-
`), Nt =
|
|
22714
|
-
`),
|
|
22715
|
-
`), Me =
|
|
22716
|
-
`), ri =
|
|
22717
|
-
`), Oi =
|
|
22718
|
-
`), Pi =
|
|
22719
|
-
`), _i =
|
|
22720
|
-
`),
|
|
22721
|
-
`), Fi =
|
|
22722
|
-
`), vr =
|
|
22718
|
+
si = Pe(), Ee = U("div"), Ct = Ie(`widgetStyle:
|
|
22719
|
+
`), Bt = U("select"), Lt = U("option"), Lt.textContent = "small", Mt = U("option"), Mt.textContent = "standard", Ft = U("option"), Ft.textContent = "large", li = U("option"), li.textContent = "video", Gt = Pe(), zt = U("div"), fi = Ie(`widgetPosition:
|
|
22720
|
+
`), Nt = U("select"), ut = U("option"), ut.textContent = "auto", ui = U("option"), ui.textContent = "left", Be = U("option"), Be.textContent = "center", ci = U("option"), ci.textContent = "right", Xt = Pe(), qe = U("div"), hi = Ie(`widgetWidth:
|
|
22721
|
+
`), me = U("select"), Zt = U("option"), Zt.textContent = "auto", di = U("option"), di.textContent = "400px", gi = U("option"), gi.textContent = "30rem", Ei = U("option"), Ei.textContent = "fit-content", vi = U("option"), vi.textContent = "initial", bi = U("option"), bi.textContent = "0", Ne = Pe(), Y = U("div"), Q = Ie(`textColor:
|
|
22722
|
+
`), Me = U("input"), dr = Pe(), Di = U("div"), Fr = Ie(`backgroundColor:
|
|
22723
|
+
`), ri = U("input"), fr = Pe(), Yi = U("div"), qi = Ie(`iconColor:
|
|
22724
|
+
`), Oi = U("input"), rr = Pe(), Sr = U("div"), wi = Ie(`highlightColor:
|
|
22725
|
+
`), Pi = U("input"), nr = Pe(), kr = U("div"), Bi = Ie(`highlightSections:
|
|
22726
|
+
`), _i = U("select"), Mi = U("option"), Mi.textContent = "all", Ci = U("option"), Ci.textContent = "body", Jt = U("option"), Jt.textContent = "none", Ni = U("option"), Ni.textContent = "all-none", Qt = U("option"), Qt.textContent = "none-all", hr = Pe(), ei = U("div"), H = Ie(`clickableSections:
|
|
22727
|
+
`), ye = U("select"), be = U("option"), be.textContent = "all", st = U("option"), st.textContent = "body", Pr = U("option"), Pr.textContent = "none", Tr = U("option"), Tr.textContent = "all-none", Ur = U("option"), Ur.textContent = "none-all", us = Pe(), tn = U("div"), cs = Ie(`segmentWidgetSections:
|
|
22728
|
+
`), Fi = U("select"), Vr = U("option"), Vr.textContent = "all", Si = U("option"), Si.textContent = "body", Wr = U("option"), Wr.textContent = "none", Er = U("option"), Er.textContent = "all-none", gr = U("option"), gr.textContent = "none-all", En = Pe(), rn = U("div"), ds = Ie(`segmentWidgetPosition:
|
|
22729
|
+
`), vr = U("select");
|
|
22723
22730
|
for (let We = 0; We < 12; We += 1)
|
|
22724
22731
|
R[We].c();
|
|
22725
|
-
An = Pe(), Xi && Xi.c(), Cr = Pe(), fs =
|
|
22732
|
+
An = Pe(), Xi && Xi.c(), Cr = Pe(), fs = U("br"), zn = Pe(), Ar.c(), ee(i, "class", "heading svelte-g76q0j"), k.__value = "small", k.value = k.__value, T.__value = "standard", T.value = T.__value, C.__value = "large", C.value = C.__value, F.__value = "video", F.value = F.__value, ee(_, "tabindex", -1), ee(_, "class", "svelte-g76q0j"), /*playerStyle*/
|
|
22726
22733
|
t[6] === void 0 && Wt(() => (
|
|
22727
22734
|
/*select0_change_handler*/
|
|
22728
22735
|
t[43].call(_)
|
|
22729
|
-
)), ee(g, "class", "control svelte-g76q0j"), le.__value = "stopped", le.value = le.__value, te.__value = "playing", te.value = te.__value,
|
|
22736
|
+
)), ee(g, "class", "control svelte-g76q0j"), le.__value = "stopped", le.value = le.__value, te.__value = "playing", te.value = te.__value, pe.__value = "paused", pe.value = pe.__value, ee(W, "tabindex", -1), ee(W, "class", "svelte-g76q0j"), /*playbackState*/
|
|
22730
22737
|
t[20] === void 0 && Wt(() => (
|
|
22731
22738
|
/*select1_change_handler*/
|
|
22732
22739
|
t[44].call(W)
|
|
22733
|
-
)), ee(N, "class", "control svelte-g76q0j"), ee(Z, "tabindex", -1), ee(Z, "type", "text"), ee(Z, "class", "svelte-g76q0j"), ee(
|
|
22740
|
+
)), ee(N, "class", "control svelte-g76q0j"), ee(Z, "tabindex", -1), ee(Z, "type", "text"), ee(Z, "class", "svelte-g76q0j"), ee(ce, "class", "control svelte-g76q0j"), ee(Ke, "tabindex", -1), ee(Ke, "type", "text"), ee(Ke, "class", "svelte-g76q0j"), ee(oe, "class", "control svelte-g76q0j"), X.__value = "auto", X.value = X.__value, B.__value = "segments", B.value = B.__value, Ue.__value = "seconds", Ue.value = Ue.__value, De.__value = "seconds-15", De.value = De.__value, q.__value = "seconds-15-30", q.value = q.__value, ve.__value = "tracks", ve.value = ve.__value, ee(G, "tabindex", -1), ee(G, "class", "svelte-g76q0j"), /*skipButtonStyle*/
|
|
22734
22741
|
t[9] === void 0 && Wt(() => (
|
|
22735
22742
|
/*select2_change_handler*/
|
|
22736
22743
|
t[47].call(G)
|
|
@@ -22754,18 +22761,18 @@ function xT(t) {
|
|
|
22754
22761
|
t[23] === void 0 && Wt(() => (
|
|
22755
22762
|
/*select7_change_handler*/
|
|
22756
22763
|
t[52].call(Nt)
|
|
22757
|
-
)), ee(zt, "class", "control svelte-g76q0j"), Zt.__value = "auto", Zt.value = Zt.__value, di.__value = "400px", di.value = di.__value, gi.__value = "30rem", gi.value = gi.__value, Ei.__value = "fit-content", Ei.value = Ei.__value, vi.__value = "initial", vi.value = vi.__value, bi.__value = "0", bi.value = bi.__value, ee(
|
|
22764
|
+
)), ee(zt, "class", "control svelte-g76q0j"), Zt.__value = "auto", Zt.value = Zt.__value, di.__value = "400px", di.value = di.__value, gi.__value = "30rem", gi.value = gi.__value, Ei.__value = "fit-content", Ei.value = Ei.__value, vi.__value = "initial", vi.value = vi.__value, bi.__value = "0", bi.value = bi.__value, ee(me, "tabindex", -1), ee(me, "class", "svelte-g76q0j"), /*widgetWidth*/
|
|
22758
22765
|
t[24] === void 0 && Wt(() => (
|
|
22759
22766
|
/*select8_change_handler*/
|
|
22760
|
-
t[53].call(
|
|
22767
|
+
t[53].call(me)
|
|
22761
22768
|
)), ee(qe, "class", "control svelte-g76q0j"), ee(Me, "tabindex", -1), ee(Me, "type", "text"), ee(Me, "class", "svelte-g76q0j"), ee(Y, "class", "control svelte-g76q0j"), ee(ri, "tabindex", -1), ee(ri, "type", "text"), ee(ri, "class", "svelte-g76q0j"), ee(Di, "class", "control svelte-g76q0j"), ee(Oi, "tabindex", -1), ee(Oi, "type", "text"), ee(Oi, "class", "svelte-g76q0j"), ee(Yi, "class", "control svelte-g76q0j"), ee(Pi, "tabindex", -1), ee(Pi, "type", "text"), ee(Pi, "class", "svelte-g76q0j"), ee(Sr, "class", "control svelte-g76q0j"), Mi.__value = "all", Mi.value = Mi.__value, Ci.__value = "body", Ci.value = Ci.__value, Jt.__value = "none", Jt.value = Jt.__value, Ni.__value = "all-none", Ni.value = Ni.__value, Qt.__value = "none-all", Qt.value = Qt.__value, ee(_i, "tabindex", -1), ee(_i, "class", "svelte-g76q0j"), /*highlightSections*/
|
|
22762
22769
|
t[31] === void 0 && Wt(() => (
|
|
22763
22770
|
/*select9_change_handler*/
|
|
22764
22771
|
t[58].call(_i)
|
|
22765
|
-
)), ee(kr, "class", "control svelte-g76q0j"),
|
|
22772
|
+
)), ee(kr, "class", "control svelte-g76q0j"), be.__value = "all", be.value = be.__value, st.__value = "body", st.value = st.__value, Pr.__value = "none", Pr.value = Pr.__value, Tr.__value = "all-none", Tr.value = Tr.__value, Ur.__value = "none-all", Ur.value = Ur.__value, ee(ye, "tabindex", -1), ee(ye, "class", "svelte-g76q0j"), /*clickableSections*/
|
|
22766
22773
|
t[32] === void 0 && Wt(() => (
|
|
22767
22774
|
/*select10_change_handler*/
|
|
22768
|
-
t[59].call(
|
|
22775
|
+
t[59].call(ye)
|
|
22769
22776
|
)), ee(ei, "class", "control svelte-g76q0j"), Vr.__value = "all", Vr.value = Vr.__value, Si.__value = "body", Si.value = Si.__value, Wr.__value = "none", Wr.value = Wr.__value, Er.__value = "all-none", Er.value = Er.__value, gr.__value = "none-all", gr.value = gr.__value, ee(Fi, "tabindex", -1), ee(Fi, "class", "svelte-g76q0j"), /*segmentWidgetSections*/
|
|
22770
22777
|
t[33] === void 0 && Wt(() => (
|
|
22771
22778
|
/*select11_change_handler*/
|
|
@@ -22777,17 +22784,17 @@ function xT(t) {
|
|
|
22777
22784
|
)), ee(rn, "class", "control svelte-g76q0j"), ee(e, "class", "control-panel");
|
|
22778
22785
|
},
|
|
22779
22786
|
m(We, Ut) {
|
|
22780
|
-
se(We, e, Ut), I(e, i), I(e, n), I(e, a), I(e, l), I(e, g), I(g, p), I(g, _), I(_, k), I(_, T), I(_, C), I(_,
|
|
22787
|
+
se(We, e, Ut), I(e, i), I(e, n), I(e, a), I(e, l), I(e, g), I(g, p), I(g, _), I(_, k), I(_, T), I(_, C), I(_, F), lt(
|
|
22781
22788
|
_,
|
|
22782
22789
|
/*playerStyle*/
|
|
22783
22790
|
t[6],
|
|
22784
22791
|
!0
|
|
22785
|
-
), I(e, V), I(e, N), I(N, J), I(N, W), I(W, le), I(W, te), I(W,
|
|
22792
|
+
), I(e, V), I(e, N), I(N, J), I(N, W), I(W, le), I(W, te), I(W, pe), lt(
|
|
22786
22793
|
W,
|
|
22787
22794
|
/*playbackState*/
|
|
22788
22795
|
t[20],
|
|
22789
22796
|
!0
|
|
22790
|
-
), I(e,
|
|
22797
|
+
), I(e, _e), I(e, ce), I(ce, ge), I(ce, Z), kt(
|
|
22791
22798
|
Z,
|
|
22792
22799
|
/*playerTitle*/
|
|
22793
22800
|
t[7]
|
|
@@ -22795,7 +22802,7 @@ function xT(t) {
|
|
|
22795
22802
|
Ke,
|
|
22796
22803
|
/*callToAction*/
|
|
22797
22804
|
t[8]
|
|
22798
|
-
), I(e, Le), I(e, Te), I(Te, Se), I(Te, G), I(G, X), I(G, B), I(G, Ue), I(G, De), I(G, q), I(G,
|
|
22805
|
+
), I(e, Le), I(e, Te), I(Te, Se), I(Te, G), I(G, X), I(G, B), I(G, Ue), I(G, De), I(G, q), I(G, ve), lt(
|
|
22799
22806
|
G,
|
|
22800
22807
|
/*skipButtonStyle*/
|
|
22801
22808
|
t[9],
|
|
@@ -22828,8 +22835,8 @@ function xT(t) {
|
|
|
22828
22835
|
/*widgetPosition*/
|
|
22829
22836
|
t[23],
|
|
22830
22837
|
!0
|
|
22831
|
-
), I(e, Xt), I(e, qe), I(qe, hi), I(qe,
|
|
22832
|
-
|
|
22838
|
+
), I(e, Xt), I(e, qe), I(qe, hi), I(qe, me), I(me, Zt), I(me, di), I(me, gi), I(me, Ei), I(me, vi), I(me, bi), lt(
|
|
22839
|
+
me,
|
|
22833
22840
|
/*widgetWidth*/
|
|
22834
22841
|
t[24],
|
|
22835
22842
|
!0
|
|
@@ -22854,8 +22861,8 @@ function xT(t) {
|
|
|
22854
22861
|
/*highlightSections*/
|
|
22855
22862
|
t[31],
|
|
22856
22863
|
!0
|
|
22857
|
-
), I(e, hr), I(e, ei), I(ei, H), I(ei,
|
|
22858
|
-
|
|
22864
|
+
), I(e, hr), I(e, ei), I(ei, H), I(ei, ye), I(ye, be), I(ye, st), I(ye, Pr), I(ye, Tr), I(ye, Ur), lt(
|
|
22865
|
+
ye,
|
|
22859
22866
|
/*clickableSections*/
|
|
22860
22867
|
t[32],
|
|
22861
22868
|
!0
|
|
@@ -22934,7 +22941,7 @@ function xT(t) {
|
|
|
22934
22941
|
t[52]
|
|
22935
22942
|
),
|
|
22936
22943
|
he(
|
|
22937
|
-
|
|
22944
|
+
me,
|
|
22938
22945
|
"change",
|
|
22939
22946
|
/*select8_change_handler*/
|
|
22940
22947
|
t[53]
|
|
@@ -22970,7 +22977,7 @@ function xT(t) {
|
|
|
22970
22977
|
t[58]
|
|
22971
22978
|
),
|
|
22972
22979
|
he(
|
|
22973
|
-
|
|
22980
|
+
ye,
|
|
22974
22981
|
"change",
|
|
22975
22982
|
/*select10_change_handler*/
|
|
22976
22983
|
t[59]
|
|
@@ -23057,7 +23064,7 @@ function xT(t) {
|
|
|
23057
23064
|
We[23]
|
|
23058
23065
|
), Ut[0] & /*widgetWidth*/
|
|
23059
23066
|
16777216 && lt(
|
|
23060
|
-
|
|
23067
|
+
me,
|
|
23061
23068
|
/*widgetWidth*/
|
|
23062
23069
|
We[24]
|
|
23063
23070
|
), Ut[0] & /*textColor*/
|
|
@@ -23091,7 +23098,7 @@ function xT(t) {
|
|
|
23091
23098
|
We[31]
|
|
23092
23099
|
), Ut[1] & /*clickableSections*/
|
|
23093
23100
|
2 && lt(
|
|
23094
|
-
|
|
23101
|
+
ye,
|
|
23095
23102
|
/*clickableSections*/
|
|
23096
23103
|
We[32]
|
|
23097
23104
|
), Ut[1] & /*segmentWidgetSections*/
|
|
@@ -23115,7 +23122,7 @@ function xT(t) {
|
|
|
23115
23122
|
};
|
|
23116
23123
|
}
|
|
23117
23124
|
function wT(t, e, i) {
|
|
23118
|
-
let { projectId: n } = e, { contentId: a } = e, { playlistId: l } = e, { sourceId: g } = e, { sourceUrl: p } = e, { showUserInterface: _ } = e, { playerStyle: k } = e, { playerTitle: T } = e, { callToAction: C } = e, { skipButtonStyle:
|
|
23125
|
+
let { projectId: n } = e, { contentId: a } = e, { playlistId: l } = e, { sourceId: g } = e, { sourceUrl: p } = e, { showUserInterface: _ } = e, { playerStyle: k } = e, { playerTitle: T } = e, { callToAction: C } = e, { skipButtonStyle: F } = e, { playlistStyle: V } = e, { playlistToggle: N } = e, { mediaSession: J } = e, { content: W } = e, { contentIndex: le } = e, { introsOutros: te } = e, { introsOutrosIndex: pe } = e, { adverts: _e } = e, { advertIndex: ce } = e, { persistentAdImage: ge } = e, { persistentIndex: Z } = e, { duration: L } = e, { currentTime: oe } = e, { playbackState: z } = e, { playbackRate: Ke } = e, { widgetStyle: Le } = e, { widgetPosition: Te } = e, { widgetWidth: Se } = e, { widgetTarget: G } = e, { textColor: X } = e, { backgroundColor: B } = e, { iconColor: Ue } = e, { highlightColor: De } = e, { logoIconEnabled: q } = e, { highlightSections: ve } = e, { clickableSections: at } = e, { segmentWidgetSections: Je } = e, { segmentWidgetPosition: St } = e, { advertConsent: Oe } = e, { analyticsConsent: ke } = e, { analyticsCustomUrl: Qe } = e, { analyticsTag: Et } = e, At = !1;
|
|
23119
23126
|
function Kt() {
|
|
23120
23127
|
k = mi(this), i(6, k);
|
|
23121
23128
|
}
|
|
@@ -23129,7 +23136,7 @@ function wT(t, e, i) {
|
|
|
23129
23136
|
C = this.value, i(8, C);
|
|
23130
23137
|
}
|
|
23131
23138
|
function ft() {
|
|
23132
|
-
|
|
23139
|
+
F = mi(this), i(9, F);
|
|
23133
23140
|
}
|
|
23134
23141
|
function Ot() {
|
|
23135
23142
|
V = mi(this), i(10, V);
|
|
@@ -23138,7 +23145,7 @@ function wT(t, e, i) {
|
|
|
23138
23145
|
N = mi(this), i(11, N);
|
|
23139
23146
|
}
|
|
23140
23147
|
function yt() {
|
|
23141
|
-
|
|
23148
|
+
ce = mi(this), i(15, ce);
|
|
23142
23149
|
}
|
|
23143
23150
|
function Yt() {
|
|
23144
23151
|
Le = mi(this), i(22, Le);
|
|
@@ -23162,7 +23169,7 @@ function wT(t, e, i) {
|
|
|
23162
23169
|
De = this.value, i(29, De);
|
|
23163
23170
|
}
|
|
23164
23171
|
function Ct() {
|
|
23165
|
-
|
|
23172
|
+
ve = mi(this), i(31, ve);
|
|
23166
23173
|
}
|
|
23167
23174
|
function Bt() {
|
|
23168
23175
|
at = mi(this), i(32, at);
|
|
@@ -23198,10 +23205,10 @@ function wT(t, e, i) {
|
|
|
23198
23205
|
le = mi(this), i(13, le);
|
|
23199
23206
|
}
|
|
23200
23207
|
function Be() {
|
|
23201
|
-
|
|
23208
|
+
pe = mi(this), i(14, pe);
|
|
23202
23209
|
}
|
|
23203
23210
|
function ci() {
|
|
23204
|
-
|
|
23211
|
+
ge = mi(this), i(16, ge);
|
|
23205
23212
|
}
|
|
23206
23213
|
function Xt() {
|
|
23207
23214
|
Z = mi(this), i(17, Z);
|
|
@@ -23212,7 +23219,7 @@ function wT(t, e, i) {
|
|
|
23212
23219
|
function hi() {
|
|
23213
23220
|
oe = this.value, i(19, oe);
|
|
23214
23221
|
}
|
|
23215
|
-
function
|
|
23222
|
+
function me() {
|
|
23216
23223
|
Ke = this.value, i(21, Ke);
|
|
23217
23224
|
}
|
|
23218
23225
|
function Zt() {
|
|
@@ -23235,7 +23242,7 @@ function wT(t, e, i) {
|
|
|
23235
23242
|
}
|
|
23236
23243
|
const Ne = () => i(42, At = !1), Y = () => i(42, At = !0);
|
|
23237
23244
|
return t.$$set = (Q) => {
|
|
23238
|
-
"projectId" in Q && i(0, n = Q.projectId), "contentId" in Q && i(1, a = Q.contentId), "playlistId" in Q && i(2, l = Q.playlistId), "sourceId" in Q && i(3, g = Q.sourceId), "sourceUrl" in Q && i(4, p = Q.sourceUrl), "showUserInterface" in Q && i(5, _ = Q.showUserInterface), "playerStyle" in Q && i(6, k = Q.playerStyle), "playerTitle" in Q && i(7, T = Q.playerTitle), "callToAction" in Q && i(8, C = Q.callToAction), "skipButtonStyle" in Q && i(9,
|
|
23245
|
+
"projectId" in Q && i(0, n = Q.projectId), "contentId" in Q && i(1, a = Q.contentId), "playlistId" in Q && i(2, l = Q.playlistId), "sourceId" in Q && i(3, g = Q.sourceId), "sourceUrl" in Q && i(4, p = Q.sourceUrl), "showUserInterface" in Q && i(5, _ = Q.showUserInterface), "playerStyle" in Q && i(6, k = Q.playerStyle), "playerTitle" in Q && i(7, T = Q.playerTitle), "callToAction" in Q && i(8, C = Q.callToAction), "skipButtonStyle" in Q && i(9, F = Q.skipButtonStyle), "playlistStyle" in Q && i(10, V = Q.playlistStyle), "playlistToggle" in Q && i(11, N = Q.playlistToggle), "mediaSession" in Q && i(12, J = Q.mediaSession), "content" in Q && i(39, W = Q.content), "contentIndex" in Q && i(13, le = Q.contentIndex), "introsOutros" in Q && i(40, te = Q.introsOutros), "introsOutrosIndex" in Q && i(14, pe = Q.introsOutrosIndex), "adverts" in Q && i(41, _e = Q.adverts), "advertIndex" in Q && i(15, ce = Q.advertIndex), "persistentAdImage" in Q && i(16, ge = Q.persistentAdImage), "persistentIndex" in Q && i(17, Z = Q.persistentIndex), "duration" in Q && i(18, L = Q.duration), "currentTime" in Q && i(19, oe = Q.currentTime), "playbackState" in Q && i(20, z = Q.playbackState), "playbackRate" in Q && i(21, Ke = Q.playbackRate), "widgetStyle" in Q && i(22, Le = Q.widgetStyle), "widgetPosition" in Q && i(23, Te = Q.widgetPosition), "widgetWidth" in Q && i(24, Se = Q.widgetWidth), "widgetTarget" in Q && i(25, G = Q.widgetTarget), "textColor" in Q && i(26, X = Q.textColor), "backgroundColor" in Q && i(27, B = Q.backgroundColor), "iconColor" in Q && i(28, Ue = Q.iconColor), "highlightColor" in Q && i(29, De = Q.highlightColor), "logoIconEnabled" in Q && i(30, q = Q.logoIconEnabled), "highlightSections" in Q && i(31, ve = Q.highlightSections), "clickableSections" in Q && i(32, at = Q.clickableSections), "segmentWidgetSections" in Q && i(33, Je = Q.segmentWidgetSections), "segmentWidgetPosition" in Q && i(34, St = Q.segmentWidgetPosition), "advertConsent" in Q && i(35, Oe = Q.advertConsent), "analyticsConsent" in Q && i(36, ke = Q.analyticsConsent), "analyticsCustomUrl" in Q && i(37, Qe = Q.analyticsCustomUrl), "analyticsTag" in Q && i(38, Et = Q.analyticsTag);
|
|
23239
23246
|
}, [
|
|
23240
23247
|
n,
|
|
23241
23248
|
a,
|
|
@@ -23246,14 +23253,14 @@ function wT(t, e, i) {
|
|
|
23246
23253
|
k,
|
|
23247
23254
|
T,
|
|
23248
23255
|
C,
|
|
23249
|
-
|
|
23256
|
+
F,
|
|
23250
23257
|
V,
|
|
23251
23258
|
N,
|
|
23252
23259
|
J,
|
|
23253
23260
|
le,
|
|
23254
|
-
|
|
23255
|
-
|
|
23256
|
-
|
|
23261
|
+
pe,
|
|
23262
|
+
ce,
|
|
23263
|
+
ge,
|
|
23257
23264
|
Z,
|
|
23258
23265
|
L,
|
|
23259
23266
|
oe,
|
|
@@ -23268,7 +23275,7 @@ function wT(t, e, i) {
|
|
|
23268
23275
|
Ue,
|
|
23269
23276
|
De,
|
|
23270
23277
|
q,
|
|
23271
|
-
|
|
23278
|
+
ve,
|
|
23272
23279
|
at,
|
|
23273
23280
|
Je,
|
|
23274
23281
|
St,
|
|
@@ -23278,7 +23285,7 @@ function wT(t, e, i) {
|
|
|
23278
23285
|
Et,
|
|
23279
23286
|
W,
|
|
23280
23287
|
te,
|
|
23281
|
-
|
|
23288
|
+
_e,
|
|
23282
23289
|
At,
|
|
23283
23290
|
Kt,
|
|
23284
23291
|
xt,
|
|
@@ -23312,7 +23319,7 @@ function wT(t, e, i) {
|
|
|
23312
23319
|
Xt,
|
|
23313
23320
|
qe,
|
|
23314
23321
|
hi,
|
|
23315
|
-
|
|
23322
|
+
me,
|
|
23316
23323
|
Zt,
|
|
23317
23324
|
di,
|
|
23318
23325
|
gi,
|
|
@@ -23688,7 +23695,7 @@ function id(t) {
|
|
|
23688
23695
|
);
|
|
23689
23696
|
return {
|
|
23690
23697
|
c() {
|
|
23691
|
-
e =
|
|
23698
|
+
e = U("div"), He(i.$$.fragment), n = Pe(), OT(e, "display", "none");
|
|
23692
23699
|
},
|
|
23693
23700
|
m(_, k) {
|
|
23694
23701
|
se(_, e, k), Ge(i, e, null), I(e, n), g(), l = !0;
|
|
@@ -23727,7 +23734,7 @@ function FT(t) {
|
|
|
23727
23734
|
});
|
|
23728
23735
|
return {
|
|
23729
23736
|
c() {
|
|
23730
|
-
e =
|
|
23737
|
+
e = U("div");
|
|
23731
23738
|
for (let g = 0; g < a.length; g += 1)
|
|
23732
23739
|
a[g].c();
|
|
23733
23740
|
BT(e, "class", "media-session");
|
|
@@ -23772,7 +23779,7 @@ function FT(t) {
|
|
|
23772
23779
|
};
|
|
23773
23780
|
}
|
|
23774
23781
|
function UT(t, e, i) {
|
|
23775
|
-
let n, a, l, g, p, _, k, T, C,
|
|
23782
|
+
let n, a, l, g, p, _, k, T, C, F, V, N, J, W, le, te, pe, _e, ce, ge, Z;
|
|
23776
23783
|
const L = [96, 128, 192, 256, 384, 512], oe = [
|
|
23777
23784
|
"hangup",
|
|
23778
23785
|
"nextslide",
|
|
@@ -23790,10 +23797,10 @@ function UT(t, e, i) {
|
|
|
23790
23797
|
"togglemicrophone"
|
|
23791
23798
|
];
|
|
23792
23799
|
let { content: z = [] } = e, { contentIndex: Ke = 0 } = e, { activeAdvert: Le = void 0 } = e, { persistentAdvert: Te = void 0 } = e, { duration: Se = 0 } = e, { playbackState: G = "stopped" } = e, { skipButtonStyle: X = "auto" } = e, { backgroundColor: B = "#f5f5f5" } = e, { iconColor: Ue = "black" } = e, { onEvent: De = () => {
|
|
23793
|
-
} } = e, q = [],
|
|
23800
|
+
} } = e, q = [], ve = /* @__PURE__ */ new Set(), at = L.map(() => {
|
|
23794
23801
|
}), Je = L.map(() => {
|
|
23795
23802
|
});
|
|
23796
|
-
const St = () => i(15,
|
|
23803
|
+
const St = () => i(15, ve = ve.add(W));
|
|
23797
23804
|
function Oe(ke, Qe) {
|
|
23798
23805
|
Fe[ke ? "unshift" : "push"](() => {
|
|
23799
23806
|
at[Qe] = ke, i(0, at);
|
|
@@ -23816,7 +23823,7 @@ function UT(t, e, i) {
|
|
|
23816
23823
|
8 && i(20, T = !a && p !== "tracks"), t.$$.dirty[0] & /*skipStyle*/
|
|
23817
23824
|
524288 | t.$$.dirty[1] & /*isAdvert*/
|
|
23818
23825
|
8 && i(17, C = !a && p === "tracks"), t.$$.dirty[1] & /*isAdvert*/
|
|
23819
|
-
8 && i(22,
|
|
23826
|
+
8 && i(22, F = !a), t.$$.dirty[0] & /*activeAdvert, backgroundColor*/
|
|
23820
23827
|
2112 | t.$$.dirty[1] & /*isAdvert*/
|
|
23821
23828
|
8 && i(2, V = a && (Le == null ? void 0 : Le.backgroundColor) || B), t.$$.dirty[0] & /*activeAdvert, iconColor*/
|
|
23822
23829
|
4160 | t.$$.dirty[1] & /*isAdvert*/
|
|
@@ -23825,15 +23832,15 @@ function UT(t, e, i) {
|
|
|
23825
23832
|
134217920 | t.$$.dirty[1] & /*isAdvert, isStopped*/
|
|
23826
23833
|
12 && i(32, J = a && Le.imageUrl || !n && (Te == null ? void 0 : Te.imageUrl) || (g == null ? void 0 : g.imageUrl)), t.$$.dirty[0] & /*failedUrls*/
|
|
23827
23834
|
32768 | t.$$.dirty[1] & /*imageUrl_*/
|
|
23828
|
-
2 && i(28, W =
|
|
23835
|
+
2 && i(28, W = ve.has(J) ? null : J), t.$$.dirty[0] & /*imageUrl*/
|
|
23829
23836
|
268435456 && i(31, le = W ? L.map((ke) => CT(W, ke, ke)) : []), t.$$.dirty[0] & /*imageUrl*/
|
|
23830
23837
|
268435456 && i(30, te = W ? [{ src: W, sizes: "any" }] : []), t.$$.dirty[0] & /*imageUrl, renderedSvgs*/
|
|
23831
|
-
268500992 && i(29,
|
|
23838
|
+
268500992 && i(29, pe = W ? [] : L.map((ke, Qe) => DT(Je[Qe], ke, ke))), t.$$.dirty[0] & /*urlArtworks, svgArtworks*/
|
|
23832
23839
|
1610612736 | t.$$.dirty[1] & /*pngArtworks*/
|
|
23833
|
-
1 && i(26,
|
|
23834
|
-
134217728 && i(25,
|
|
23835
|
-
67108864 &&
|
|
23836
|
-
58736640 && (navigator.mediaSession.metadata = new MediaMetadata({ title:
|
|
23840
|
+
1 && i(26, _e = Promise.all([...le, ...te, ...pe])), t.$$.dirty[0] & /*contentItem*/
|
|
23841
|
+
134217728 && i(25, ce = (g == null ? void 0 : g.title) || ""), t.$$.dirty[0] & /*artworks*/
|
|
23842
|
+
67108864 && _e.then((ke) => i(14, q = ke)).catch(St), t.$$.dirty[0] & /*title, artist, album, artwork*/
|
|
23843
|
+
58736640 && (navigator.mediaSession.metadata = new MediaMetadata({ title: ce, artist: ge, album: Z, artwork: q })), t.$$.dirty[0] & /*onEvent*/
|
|
23837
23844
|
8192 && navigator.mediaSession.setActionHandler("play", () => {
|
|
23838
23845
|
De(Ye({
|
|
23839
23846
|
type: "PressedPlay",
|
|
@@ -23848,7 +23855,7 @@ function UT(t, e, i) {
|
|
|
23848
23855
|
initiatedBy: "media-session-api"
|
|
23849
23856
|
}));
|
|
23850
23857
|
}), t.$$.dirty[0] & /*allowScrubbing, onEvent, duration*/
|
|
23851
|
-
4202752 && navigator.mediaSession.setActionHandler("seekto",
|
|
23858
|
+
4202752 && navigator.mediaSession.setActionHandler("seekto", F ? ({ seekTime: ke }) => {
|
|
23852
23859
|
De(Ye({
|
|
23853
23860
|
type: "ScrubbedProgressBar",
|
|
23854
23861
|
description: "The user pressed on the progress bar then dragged.",
|
|
@@ -23894,7 +23901,7 @@ function UT(t, e, i) {
|
|
|
23894
23901
|
initiatedBy: "media-session-api"
|
|
23895
23902
|
}));
|
|
23896
23903
|
} : null);
|
|
23897
|
-
}, i(24,
|
|
23904
|
+
}, i(24, ge = ""), i(23, Z = ""), navigator.mediaSession.setByPlayer = !0, oe.forEach((ke) => {
|
|
23898
23905
|
try {
|
|
23899
23906
|
navigator.mediaSession.setActionHandler(ke, null);
|
|
23900
23907
|
} catch (Qe) {
|
|
@@ -23915,21 +23922,21 @@ function UT(t, e, i) {
|
|
|
23915
23922
|
Ue,
|
|
23916
23923
|
De,
|
|
23917
23924
|
q,
|
|
23918
|
-
|
|
23925
|
+
ve,
|
|
23919
23926
|
Je,
|
|
23920
23927
|
C,
|
|
23921
23928
|
k,
|
|
23922
23929
|
p,
|
|
23923
23930
|
T,
|
|
23924
23931
|
_,
|
|
23925
|
-
|
|
23932
|
+
F,
|
|
23926
23933
|
Z,
|
|
23927
|
-
|
|
23928
|
-
|
|
23929
|
-
|
|
23934
|
+
ge,
|
|
23935
|
+
ce,
|
|
23936
|
+
_e,
|
|
23930
23937
|
g,
|
|
23931
23938
|
W,
|
|
23932
|
-
|
|
23939
|
+
pe,
|
|
23933
23940
|
te,
|
|
23934
23941
|
le,
|
|
23935
23942
|
J,
|
|
@@ -24029,7 +24036,7 @@ function nd(t) {
|
|
|
24029
24036
|
let e, i, n, a;
|
|
24030
24037
|
return {
|
|
24031
24038
|
c() {
|
|
24032
|
-
e =
|
|
24039
|
+
e = U("script"), n = Pe(), a = U("script"), a.textContent = `window.dataLayer = window.dataLayer || [];
|
|
24033
24040
|
function gtag() { dataLayer.push(arguments); }
|
|
24034
24041
|
gtag("js", new Date());`, e.async = !0, ss(e.src, i = "https://www.googletagmanager.com/gtag/js?id=" + /*analyticsTag*/
|
|
24035
24042
|
t[0]) || rd(e, "src", i);
|
|
@@ -24218,7 +24225,7 @@ const YT = () => Ye({
|
|
|
24218
24225
|
const a = yield fetch(t, e).catch(() => {
|
|
24219
24226
|
}), l = yield a == null ? void 0 : a.json().catch(() => {
|
|
24220
24227
|
});
|
|
24221
|
-
return (a == null ? void 0 : a.status) !== 200 && ir(`Failed to fetch ${t}`, ii(
|
|
24228
|
+
return (a == null ? void 0 : a.status) !== 200 && ir(`Failed to fetch ${t}`, ii(de({}, e), {
|
|
24222
24229
|
responseStatus: a == null ? void 0 : a.status,
|
|
24223
24230
|
responseJson: l
|
|
24224
24231
|
})), l;
|
|
@@ -24878,7 +24885,7 @@ function hd(t) {
|
|
|
24878
24885
|
};
|
|
24879
24886
|
}
|
|
24880
24887
|
function f2(t) {
|
|
24881
|
-
let e, i, n, a, l, g, p, _, k, T, C,
|
|
24888
|
+
let e, i, n, a, l, g, p, _, k, T, C, F, V, N, J, W, le, te, pe, _e, ce, ge, Z, L, oe, z, Ke, Le, Te, Se, G, X, B, Ue, De, q, ve, at, Je, St, Oe, ke, Qe;
|
|
24882
24889
|
function Et(Y) {
|
|
24883
24890
|
t[95](Y);
|
|
24884
24891
|
}
|
|
@@ -24981,7 +24988,7 @@ function f2(t) {
|
|
|
24981
24988
|
function hi(Y) {
|
|
24982
24989
|
t[128](Y);
|
|
24983
24990
|
}
|
|
24984
|
-
function
|
|
24991
|
+
function me(Y) {
|
|
24985
24992
|
t[129](Y);
|
|
24986
24993
|
}
|
|
24987
24994
|
function Zt(Y) {
|
|
@@ -25099,7 +25106,7 @@ function f2(t) {
|
|
|
25099
25106
|
t[40] !== void 0 && (Ne.analyticsCustomUrl = /*analyticsCustomUrl*/
|
|
25100
25107
|
t[40]), /*analyticsTag*/
|
|
25101
25108
|
t[41] !== void 0 && (Ne.analyticsTag = /*analyticsTag*/
|
|
25102
|
-
t[41]), e = new PT({ props: Ne }), Fe.push(() => Ze(e, "projectId", Et)), Fe.push(() => Ze(e, "contentId", At)), Fe.push(() => Ze(e, "playlistId", Kt)), Fe.push(() => Ze(e, "sourceId", xt)), Fe.push(() => Ze(e, "sourceUrl", jt)), Fe.push(() => Ze(e, "showUserInterface", _t)), Fe.push(() => Ze(e, "playerStyle", ft)), Fe.push(() => Ze(e, "playerTitle", Ot)), Fe.push(() => Ze(e, "callToAction", gt)), Fe.push(() => Ze(e, "skipButtonStyle", yt)), Fe.push(() => Ze(e, "playlistStyle", Yt)), Fe.push(() => Ze(e, "playlistToggle", Pt)), Fe.push(() => Ze(e, "mediaSession", qt)), Fe.push(() => Ze(e, "contentIndex", rt)), Fe.push(() => Ze(e, "introsOutrosIndex", ot)), Fe.push(() => Ze(e, "advertIndex", si)), Fe.push(() => Ze(e, "persistentAdImage", Ee)), Fe.push(() => Ze(e, "persistentIndex", Ct)), Fe.push(() => Ze(e, "duration", Bt)), Fe.push(() => Ze(e, "currentTime", Lt)), Fe.push(() => Ze(e, "playbackState", Mt)), Fe.push(() => Ze(e, "playbackRate", Ft)), Fe.push(() => Ze(e, "widgetStyle", li)), Fe.push(() => Ze(e, "widgetPosition", Gt)), Fe.push(() => Ze(e, "widgetWidth", zt)), Fe.push(() => Ze(e, "widgetTarget", fi)), Fe.push(() => Ze(e, "textColor", Nt)), Fe.push(() => Ze(e, "backgroundColor", ut)), Fe.push(() => Ze(e, "iconColor", ui)), Fe.push(() => Ze(e, "highlightColor", Be)), Fe.push(() => Ze(e, "logoIconEnabled", ci)), Fe.push(() => Ze(e, "highlightSections", Xt)), Fe.push(() => Ze(e, "clickableSections", qe)), Fe.push(() => Ze(e, "segmentWidgetSections", hi)), Fe.push(() => Ze(e, "segmentWidgetPosition",
|
|
25109
|
+
t[41]), e = new PT({ props: Ne }), Fe.push(() => Ze(e, "projectId", Et)), Fe.push(() => Ze(e, "contentId", At)), Fe.push(() => Ze(e, "playlistId", Kt)), Fe.push(() => Ze(e, "sourceId", xt)), Fe.push(() => Ze(e, "sourceUrl", jt)), Fe.push(() => Ze(e, "showUserInterface", _t)), Fe.push(() => Ze(e, "playerStyle", ft)), Fe.push(() => Ze(e, "playerTitle", Ot)), Fe.push(() => Ze(e, "callToAction", gt)), Fe.push(() => Ze(e, "skipButtonStyle", yt)), Fe.push(() => Ze(e, "playlistStyle", Yt)), Fe.push(() => Ze(e, "playlistToggle", Pt)), Fe.push(() => Ze(e, "mediaSession", qt)), Fe.push(() => Ze(e, "contentIndex", rt)), Fe.push(() => Ze(e, "introsOutrosIndex", ot)), Fe.push(() => Ze(e, "advertIndex", si)), Fe.push(() => Ze(e, "persistentAdImage", Ee)), Fe.push(() => Ze(e, "persistentIndex", Ct)), Fe.push(() => Ze(e, "duration", Bt)), Fe.push(() => Ze(e, "currentTime", Lt)), Fe.push(() => Ze(e, "playbackState", Mt)), Fe.push(() => Ze(e, "playbackRate", Ft)), Fe.push(() => Ze(e, "widgetStyle", li)), Fe.push(() => Ze(e, "widgetPosition", Gt)), Fe.push(() => Ze(e, "widgetWidth", zt)), Fe.push(() => Ze(e, "widgetTarget", fi)), Fe.push(() => Ze(e, "textColor", Nt)), Fe.push(() => Ze(e, "backgroundColor", ut)), Fe.push(() => Ze(e, "iconColor", ui)), Fe.push(() => Ze(e, "highlightColor", Be)), Fe.push(() => Ze(e, "logoIconEnabled", ci)), Fe.push(() => Ze(e, "highlightSections", Xt)), Fe.push(() => Ze(e, "clickableSections", qe)), Fe.push(() => Ze(e, "segmentWidgetSections", hi)), Fe.push(() => Ze(e, "segmentWidgetPosition", me)), Fe.push(() => Ze(e, "currentSegment", Zt)), Fe.push(() => Ze(e, "hoveredSegment", di)), Fe.push(() => Ze(e, "advertConsent", gi)), Fe.push(() => Ze(e, "analyticsConsent", Ei)), Fe.push(() => Ze(e, "analyticsCustomUrl", vi)), Fe.push(() => Ze(e, "analyticsTag", bi)), {
|
|
25103
25110
|
c() {
|
|
25104
25111
|
He(e.$$.fragment);
|
|
25105
25112
|
},
|
|
@@ -25134,9 +25141,9 @@ function f2(t) {
|
|
|
25134
25141
|
8388608 && (T = !0, Me.callToAction = /*callToAction*/
|
|
25135
25142
|
Y[23], Xe(() => T = !1)), !C && Q[0] & /*skipButtonStyle*/
|
|
25136
25143
|
16777216 && (C = !0, Me.skipButtonStyle = /*skipButtonStyle*/
|
|
25137
|
-
Y[24], Xe(() => C = !1)), !
|
|
25138
|
-
33554432 && (
|
|
25139
|
-
Y[25], Xe(() =>
|
|
25144
|
+
Y[24], Xe(() => C = !1)), !F && Q[0] & /*playlistStyle*/
|
|
25145
|
+
33554432 && (F = !0, Me.playlistStyle = /*playlistStyle*/
|
|
25146
|
+
Y[25], Xe(() => F = !1)), !V && Q[0] & /*playlistToggle*/
|
|
25140
25147
|
67108864 && (V = !0, Me.playlistToggle = /*playlistToggle*/
|
|
25141
25148
|
Y[26], Xe(() => V = !1)), !N && Q[0] & /*mediaSession*/
|
|
25142
25149
|
134217728 && (N = !0, Me.mediaSession = /*mediaSession*/
|
|
@@ -25148,15 +25155,15 @@ function f2(t) {
|
|
|
25148
25155
|
512 && (le = !0, Me.advertIndex = /*advertIndex*/
|
|
25149
25156
|
Y[9], Xe(() => le = !1)), !te && Q[0] & /*persistentAdImage*/
|
|
25150
25157
|
268435456 && (te = !0, Me.persistentAdImage = /*persistentAdImage*/
|
|
25151
|
-
Y[28], Xe(() => te = !1)), !
|
|
25152
|
-
1024 && (
|
|
25153
|
-
Y[10], Xe(() =>
|
|
25154
|
-
536870912 && (
|
|
25155
|
-
Y[29], Xe(() =>
|
|
25156
|
-
2048 && (
|
|
25157
|
-
Y[11], Xe(() =>
|
|
25158
|
-
1073741824 && (
|
|
25159
|
-
Y[30], Xe(() =>
|
|
25158
|
+
Y[28], Xe(() => te = !1)), !pe && Q[0] & /*persistentIndex*/
|
|
25159
|
+
1024 && (pe = !0, Me.persistentIndex = /*persistentIndex*/
|
|
25160
|
+
Y[10], Xe(() => pe = !1)), !_e && Q[0] & /*duration*/
|
|
25161
|
+
536870912 && (_e = !0, Me.duration = /*duration*/
|
|
25162
|
+
Y[29], Xe(() => _e = !1)), !ce && Q[0] & /*currentTime*/
|
|
25163
|
+
2048 && (ce = !0, Me.currentTime = /*currentTime*/
|
|
25164
|
+
Y[11], Xe(() => ce = !1)), !ge && Q[0] & /*playbackState*/
|
|
25165
|
+
1073741824 && (ge = !0, Me.playbackState = /*playbackState*/
|
|
25166
|
+
Y[30], Xe(() => ge = !1)), !Z && Q[1] & /*playbackRate*/
|
|
25160
25167
|
1 && (Z = !0, Me.playbackRate = /*playbackRate*/
|
|
25161
25168
|
Y[31], Xe(() => Z = !1)), !L && Q[0] & /*widgetStyle*/
|
|
25162
25169
|
4096 && (L = !0, Me.widgetStyle = /*widgetStyle*/
|
|
@@ -25184,9 +25191,9 @@ function f2(t) {
|
|
|
25184
25191
|
131072 && (De = !0, Me.segmentWidgetSections = /*segmentWidgetSections*/
|
|
25185
25192
|
Y[17], Xe(() => De = !1)), !q && Q[0] & /*segmentWidgetPosition*/
|
|
25186
25193
|
262144 && (q = !0, Me.segmentWidgetPosition = /*segmentWidgetPosition*/
|
|
25187
|
-
Y[18], Xe(() => q = !1)), !
|
|
25188
|
-
524288 && (
|
|
25189
|
-
Y[19], Xe(() =>
|
|
25194
|
+
Y[18], Xe(() => q = !1)), !ve && Q[0] & /*currentSegment*/
|
|
25195
|
+
524288 && (ve = !0, Me.currentSegment = /*currentSegment*/
|
|
25196
|
+
Y[19], Xe(() => ve = !1)), !at && Q[0] & /*hoveredSegment*/
|
|
25190
25197
|
1048576 && (at = !0, Me.hoveredSegment = /*hoveredSegment*/
|
|
25191
25198
|
Y[20], Xe(() => at = !1)), !Je && Q[1] & /*advertConsent*/
|
|
25192
25199
|
128 && (Je = !0, Me.advertConsent = /*advertConsent*/
|
|
@@ -25327,20 +25334,20 @@ function vd(t) {
|
|
|
25327
25334
|
};
|
|
25328
25335
|
}
|
|
25329
25336
|
function h2(t) {
|
|
25330
|
-
let e, i, n, a, l, g, p, _, k, T = [], C = /* @__PURE__ */ new Map(),
|
|
25337
|
+
let e, i, n, a, l, g, p, _, k, T = [], C = /* @__PURE__ */ new Map(), F, V, N, J, W, le;
|
|
25331
25338
|
function te(G) {
|
|
25332
25339
|
t[87](G);
|
|
25333
25340
|
}
|
|
25334
|
-
function
|
|
25341
|
+
function pe(G) {
|
|
25335
25342
|
t[88](G);
|
|
25336
25343
|
}
|
|
25337
|
-
function
|
|
25344
|
+
function _e(G) {
|
|
25338
25345
|
t[89](G);
|
|
25339
25346
|
}
|
|
25340
|
-
function
|
|
25347
|
+
function ce(G) {
|
|
25341
25348
|
t[90](G);
|
|
25342
25349
|
}
|
|
25343
|
-
function
|
|
25350
|
+
function ge(G) {
|
|
25344
25351
|
t[91](G);
|
|
25345
25352
|
}
|
|
25346
25353
|
let Z = {
|
|
@@ -25395,7 +25402,7 @@ function h2(t) {
|
|
|
25395
25402
|
t[31] !== void 0 && (Z.playbackRate = /*playbackRate*/
|
|
25396
25403
|
t[31]), /*prevPercentage*/
|
|
25397
25404
|
t[45] !== void 0 && (Z.prevPercentage = /*prevPercentage*/
|
|
25398
|
-
t[45]), e = new M1({ props: Z }), t[86](e), Fe.push(() => Ze(e, "playbackState", te)), Fe.push(() => Ze(e, "duration",
|
|
25405
|
+
t[45]), e = new M1({ props: Z }), t[86](e), Fe.push(() => Ze(e, "playbackState", te)), Fe.push(() => Ze(e, "duration", pe)), Fe.push(() => Ze(e, "currentTime", _e)), Fe.push(() => Ze(e, "playbackRate", ce)), Fe.push(() => Ze(e, "prevPercentage", ge));
|
|
25399
25406
|
let L = (
|
|
25400
25407
|
/*showUserInterface*/
|
|
25401
25408
|
t[5] && cd(t)
|
|
@@ -25430,13 +25437,13 @@ function h2(t) {
|
|
|
25430
25437
|
He(e.$$.fragment), p = Pe(), L && L.c(), _ = Pe(), oe && oe.c(), k = Pe();
|
|
25431
25438
|
for (let G = 0; G < T.length; G += 1)
|
|
25432
25439
|
T[G].c();
|
|
25433
|
-
|
|
25440
|
+
F = Pe(), Le && Le.c(), V = Pe(), Te && Te.c(), N = Pe(), Se && Se.c(), J = Pe(), He(W.$$.fragment);
|
|
25434
25441
|
},
|
|
25435
25442
|
m(G, X) {
|
|
25436
25443
|
Ge(e, G, X), se(G, p, X), L && L.m(G, X), se(G, _, X), oe && oe.m(G, X), se(G, k, X);
|
|
25437
25444
|
for (let B = 0; B < T.length; B += 1)
|
|
25438
25445
|
T[B] && T[B].m(G, X);
|
|
25439
|
-
se(G,
|
|
25446
|
+
se(G, F, X), Le && Le.m(G, X), se(G, V, X), Te && Te.m(G, X), se(G, N, X), Se && Se.m(G, X), se(G, J, X), Ge(W, G, X), le = !0;
|
|
25440
25447
|
},
|
|
25441
25448
|
p(G, X) {
|
|
25442
25449
|
const B = {};
|
|
@@ -25482,7 +25489,7 @@ function h2(t) {
|
|
|
25482
25489
|
1610614912 | X[1] & /*segmentWidgets, onEvent, widgetSegment, widgetIsCurrent, content, showRealTimeInWidget, activeAdvert, textColor, backgroundColor, iconColor*/
|
|
25483
25490
|
650281016 | X[2] & /*persistentAdvert*/
|
|
25484
25491
|
1 && (z = /*segmentWidgets*/
|
|
25485
|
-
G[46], Rt(), T = Z0(T, X, Ke, 1, G, z, C,
|
|
25492
|
+
G[46], Rt(), T = Z0(T, X, Ke, 1, G, z, C, F.parentNode, X0, fd, F, ud), Dt()), /*controlPanel*/
|
|
25486
25493
|
G[21] ? Le ? (Le.p(G, X), X[0] & /*controlPanel*/
|
|
25487
25494
|
2097152 && $(Le, 1)) : (Le = hd(G), Le.c(), $(Le, 1), Le.m(V.parentNode, V)) : Le && (Rt(), ae(Le, 1, 1, () => {
|
|
25488
25495
|
Le = null;
|
|
@@ -25514,16 +25521,16 @@ function h2(t) {
|
|
|
25514
25521
|
t[86](null), ze(e, G), G && ie(p), L && L.d(G), G && ie(_), oe && oe.d(G), G && ie(k);
|
|
25515
25522
|
for (let X = 0; X < T.length; X += 1)
|
|
25516
25523
|
T[X].d(G);
|
|
25517
|
-
G && ie(
|
|
25524
|
+
G && ie(F), Le && Le.d(G), G && ie(V), Te && Te.d(G), G && ie(N), Se && Se.d(G), G && ie(J), ze(W, G);
|
|
25518
25525
|
}
|
|
25519
25526
|
};
|
|
25520
25527
|
}
|
|
25521
25528
|
function g2(t, e, i) {
|
|
25522
|
-
let n, a, l, g, p, _, k, T, C,
|
|
25529
|
+
let n, a, l, g, p, _, k, T, C, F, V, N, J, { playerApiUrl: W = "https://api.beyondwords.io/v1/projects/{id}/player" } = e, { projectId: le = void 0 } = e, { contentId: te = void 0 } = e, { playlistId: pe = void 0 } = e, { sourceId: _e = void 0 } = e, { sourceUrl: ce = void 0 } = e, { playlist: ge = [] } = e, { showUserInterface: Z = !0 } = e, { playerStyle: L = "standard" } = e, { playerTitle: oe = void 0 } = e, { callToAction: z = void 0 } = e, { skipButtonStyle: Ke = "auto" } = e, { playlistStyle: Le = "auto-5-4" } = e, { playlistToggle: Te = "auto" } = e, { downloadFormats: Se = [] } = e, { mediaSession: G = "auto" } = e, { content: X = [] } = e, { contentIndex: B = 0 } = e, { introsOutros: Ue = [] } = e, { introsOutrosIndex: De = -1 } = e, { adverts: q = [] } = e, { advertIndex: ve = -1 } = e, { persistentAdImage: at = !1 } = e, { persistentIndex: Je = -1 } = e, { duration: St = 0 } = e, { currentTime: Oe = 0 } = e, { playbackState: ke = "stopped" } = e, { playbackRate: Qe = 1 } = e, { widgetStyle: Et = "standard" } = e, { widgetPosition: At = "auto" } = e, { widgetWidth: Kt = "auto" } = e, { widgetTarget: xt = void 0 } = e, { textColor: jt = "#111" } = e, { backgroundColor: _t = "#f5f5f5" } = e, { iconColor: ft = "rgba(0, 0, 0, 0.8)" } = e, { highlightColor: Ot = "#eee" } = e, { logoIconEnabled: gt = !0 } = e, { highlightSections: yt = "all" } = e, { clickableSections: Yt = "all" } = e, { segmentWidgetSections: Pt = "body" } = e, { segmentWidgetPosition: qt = "7-oclock" } = e, { currentSegment: rt = void 0 } = e, { hoveredSegment: ot = void 0 } = e, { loadedMedia: si = void 0 } = e, { advertConsent: Ee = "personalized" } = e, { analyticsConsent: Ct = "allowed" } = e, { analyticsCustomUrl: Bt = void 0 } = e, { analyticsTag: Lt = void 0 } = e, { writeToken: Mt = void 0 } = e, { captureErrors: Ft = !0 } = e, { onError: li = () => {
|
|
25523
25530
|
} } = e, { transitions: Gt = [] } = e, { controlPanel: zt = void 0 } = e;
|
|
25524
|
-
const fi = (...R) =>
|
|
25525
|
-
let { initialProps: ut = {} } = e, { showBottomWidget: ui = !1 } = e, { showMediaSession: Be = !1 } = e, { isFullScreen: ci = !1 } = e, { mediaElement: Xt = void 0 } = e, { userInterface: qe = void 0 } = e, { widgetInterface: hi = void 0 } = e, { controller:
|
|
25526
|
-
const dr = (R) =>
|
|
25531
|
+
const fi = (...R) => me.addEventListener(...R), Nt = (...R) => me.removeEventListener(...R);
|
|
25532
|
+
let { initialProps: ut = {} } = e, { showBottomWidget: ui = !1 } = e, { showMediaSession: Be = !1 } = e, { isFullScreen: ci = !1 } = e, { mediaElement: Xt = void 0 } = e, { userInterface: qe = void 0 } = e, { widgetInterface: hi = void 0 } = e, { controller: me = void 0 } = e, { analyticsUrl: Zt = void 0 } = e, { analyticsId: di = void 0 } = e, { listenSessionId: gi = void 0 } = e, { sessionCreatedAt: Ei = void 0 } = e, { isNewListen: vi = !1 } = e, { prevPercentage: bi = 0 } = e, { segmentWidgets: Ne = [] } = e, { segmentContainers: Y = new Bl((R) => i(46, Ne = R)) } = e, { segmentClickables: Q = new Ol() } = e, { segmentHighlights: Me = new Dl() } = e;
|
|
25533
|
+
const dr = (R) => me.processEvent(de({ emittedFrom: p }, R)), Di = () => i(84, T = ot);
|
|
25527
25534
|
function Fr(R) {
|
|
25528
25535
|
Fe[R ? "unshift" : "push"](() => {
|
|
25529
25536
|
Xt = R, i(42, Xt);
|
|
@@ -25554,7 +25561,7 @@ function g2(t, e, i) {
|
|
|
25554
25561
|
hi = R, i(44, hi);
|
|
25555
25562
|
});
|
|
25556
25563
|
}
|
|
25557
|
-
const wi = (R) => dr(ii(
|
|
25564
|
+
const wi = (R) => dr(ii(de({}, R), {
|
|
25558
25565
|
emittedFrom: "segment-widget",
|
|
25559
25566
|
widgetSegment: V,
|
|
25560
25567
|
widgetIsCurrent: N
|
|
@@ -25566,13 +25573,13 @@ function g2(t, e, i) {
|
|
|
25566
25573
|
te = R, i(1, te);
|
|
25567
25574
|
}
|
|
25568
25575
|
function kr(R) {
|
|
25569
|
-
|
|
25576
|
+
pe = R, i(2, pe);
|
|
25570
25577
|
}
|
|
25571
25578
|
function Bi(R) {
|
|
25572
|
-
|
|
25579
|
+
_e = R, i(3, _e);
|
|
25573
25580
|
}
|
|
25574
25581
|
function _i(R) {
|
|
25575
|
-
|
|
25582
|
+
ce = R, i(4, ce);
|
|
25576
25583
|
}
|
|
25577
25584
|
function Mi(R) {
|
|
25578
25585
|
Z = R, i(5, Z);
|
|
@@ -25598,14 +25605,14 @@ function g2(t, e, i) {
|
|
|
25598
25605
|
function H(R) {
|
|
25599
25606
|
G = R, i(27, G);
|
|
25600
25607
|
}
|
|
25601
|
-
function
|
|
25608
|
+
function ye(R) {
|
|
25602
25609
|
B = R, i(7, B);
|
|
25603
25610
|
}
|
|
25604
|
-
function
|
|
25611
|
+
function be(R) {
|
|
25605
25612
|
De = R, i(8, De);
|
|
25606
25613
|
}
|
|
25607
25614
|
function st(R) {
|
|
25608
|
-
|
|
25615
|
+
ve = R, i(9, ve);
|
|
25609
25616
|
}
|
|
25610
25617
|
function Pr(R) {
|
|
25611
25618
|
at = R, i(28, at);
|
|
@@ -25683,13 +25690,13 @@ function g2(t, e, i) {
|
|
|
25683
25690
|
Lt = R, i(41, Lt);
|
|
25684
25691
|
}
|
|
25685
25692
|
return t.$$set = (R) => {
|
|
25686
|
-
"playerApiUrl" in R && i(63, W = R.playerApiUrl), "projectId" in R && i(0, le = R.projectId), "contentId" in R && i(1, te = R.contentId), "playlistId" in R && i(2,
|
|
25693
|
+
"playerApiUrl" in R && i(63, W = R.playerApiUrl), "projectId" in R && i(0, le = R.projectId), "contentId" in R && i(1, te = R.contentId), "playlistId" in R && i(2, pe = R.playlistId), "sourceId" in R && i(3, _e = R.sourceId), "sourceUrl" in R && i(4, ce = R.sourceUrl), "playlist" in R && i(64, ge = R.playlist), "showUserInterface" in R && i(5, Z = R.showUserInterface), "playerStyle" in R && i(6, L = R.playerStyle), "playerTitle" in R && i(22, oe = R.playerTitle), "callToAction" in R && i(23, z = R.callToAction), "skipButtonStyle" in R && i(24, Ke = R.skipButtonStyle), "playlistStyle" in R && i(25, Le = R.playlistStyle), "playlistToggle" in R && i(26, Te = R.playlistToggle), "downloadFormats" in R && i(47, Se = R.downloadFormats), "mediaSession" in R && i(27, G = R.mediaSession), "content" in R && i(48, X = R.content), "contentIndex" in R && i(7, B = R.contentIndex), "introsOutros" in R && i(49, Ue = R.introsOutros), "introsOutrosIndex" in R && i(8, De = R.introsOutrosIndex), "adverts" in R && i(50, q = R.adverts), "advertIndex" in R && i(9, ve = R.advertIndex), "persistentAdImage" in R && i(28, at = R.persistentAdImage), "persistentIndex" in R && i(10, Je = R.persistentIndex), "duration" in R && i(29, St = R.duration), "currentTime" in R && i(11, Oe = R.currentTime), "playbackState" in R && i(30, ke = R.playbackState), "playbackRate" in R && i(31, Qe = R.playbackRate), "widgetStyle" in R && i(12, Et = R.widgetStyle), "widgetPosition" in R && i(32, At = R.widgetPosition), "widgetWidth" in R && i(33, Kt = R.widgetWidth), "widgetTarget" in R && i(13, xt = R.widgetTarget), "textColor" in R && i(34, jt = R.textColor), "backgroundColor" in R && i(35, _t = R.backgroundColor), "iconColor" in R && i(36, ft = R.iconColor), "highlightColor" in R && i(14, Ot = R.highlightColor), "logoIconEnabled" in R && i(37, gt = R.logoIconEnabled), "highlightSections" in R && i(15, yt = R.highlightSections), "clickableSections" in R && i(16, Yt = R.clickableSections), "segmentWidgetSections" in R && i(17, Pt = R.segmentWidgetSections), "segmentWidgetPosition" in R && i(18, qt = R.segmentWidgetPosition), "currentSegment" in R && i(19, rt = R.currentSegment), "hoveredSegment" in R && i(20, ot = R.hoveredSegment), "loadedMedia" in R && i(65, si = R.loadedMedia), "advertConsent" in R && i(38, Ee = R.advertConsent), "analyticsConsent" in R && i(39, Ct = R.analyticsConsent), "analyticsCustomUrl" in R && i(40, Bt = R.analyticsCustomUrl), "analyticsTag" in R && i(41, Lt = R.analyticsTag), "writeToken" in R && i(66, Mt = R.writeToken), "captureErrors" in R && i(67, Ft = R.captureErrors), "onError" in R && i(68, li = R.onError), "transitions" in R && i(69, Gt = R.transitions), "controlPanel" in R && i(21, zt = R.controlPanel), "initialProps" in R && i(72, ut = R.initialProps), "showBottomWidget" in R && i(51, ui = R.showBottomWidget), "showMediaSession" in R && i(52, Be = R.showMediaSession), "isFullScreen" in R && i(73, ci = R.isFullScreen), "mediaElement" in R && i(42, Xt = R.mediaElement), "userInterface" in R && i(43, qe = R.userInterface), "widgetInterface" in R && i(44, hi = R.widgetInterface), "controller" in R && i(74, me = R.controller), "analyticsUrl" in R && i(75, Zt = R.analyticsUrl), "analyticsId" in R && i(76, di = R.analyticsId), "listenSessionId" in R && i(77, gi = R.listenSessionId), "sessionCreatedAt" in R && i(78, Ei = R.sessionCreatedAt), "isNewListen" in R && i(79, vi = R.isNewListen), "prevPercentage" in R && i(45, bi = R.prevPercentage), "segmentWidgets" in R && i(46, Ne = R.segmentWidgets), "segmentContainers" in R && i(80, Y = R.segmentContainers), "segmentClickables" in R && i(81, Q = R.segmentClickables), "segmentHighlights" in R && i(82, Me = R.segmentHighlights);
|
|
25687
25694
|
}, t.$$.update = () => {
|
|
25688
25695
|
t.$$.dirty[0] & /*introsOutrosIndex*/
|
|
25689
25696
|
256 | t.$$.dirty[1] & /*introsOutros*/
|
|
25690
25697
|
262144 && i(55, n = Ue[De]), t.$$.dirty[0] & /*advertIndex*/
|
|
25691
25698
|
512 | t.$$.dirty[1] & /*adverts*/
|
|
25692
|
-
524288 && i(56, a = q[
|
|
25699
|
+
524288 && i(56, a = q[ve]), t.$$.dirty[0] & /*persistentIndex*/
|
|
25693
25700
|
1024 | t.$$.dirty[1] & /*adverts*/
|
|
25694
25701
|
524288 && i(62, l = q[Je]), t.$$.dirty[0] & /*contentIndex*/
|
|
25695
25702
|
128 | t.$$.dirty[1] & /*content*/
|
|
@@ -25714,9 +25721,9 @@ function g2(t, e, i) {
|
|
|
25714
25721
|
524288 | t.$$.dirty[2] & /*currentAllowedInWidget*/
|
|
25715
25722
|
2097152 && C && Di(), t.$$.dirty[0] & /*segmentWidgetSections*/
|
|
25716
25723
|
131072 | t.$$.dirty[2] & /*lastHovered*/
|
|
25717
|
-
4194304 && i(85,
|
|
25724
|
+
4194304 && i(85, F = ra("hovered", T, Pt)), t.$$.dirty[0] & /*currentSegment*/
|
|
25718
25725
|
524288 | t.$$.dirty[2] & /*hoveredAllowedInWidget, lastHovered, currentAllowedInWidget*/
|
|
25719
|
-
14680064 && i(54, V =
|
|
25726
|
+
14680064 && i(54, V = F && T || C && rt), t.$$.dirty[0] & /*currentSegment*/
|
|
25720
25727
|
524288 | t.$$.dirty[1] & /*widgetSegment*/
|
|
25721
25728
|
8388608 && i(57, N = (V == null ? void 0 : V.marker) === (rt == null ? void 0 : rt.marker)), t.$$.dirty[1] & /*widgetIsCurrent, activeAdvert, introOrOutro*/
|
|
25722
25729
|
117440512 && i(60, J = N || a || n), t.$$.dirty[0] & /*segmentWidgetSections, segmentWidgetPosition, playerStyle*/
|
|
@@ -25730,18 +25737,18 @@ function g2(t, e, i) {
|
|
|
25730
25737
|
1097728 | t.$$.dirty[2] & /*segmentHighlights*/
|
|
25731
25738
|
1048576 && Me.update("hovered", ot, yt, Ot), t.$$.dirty[0] & /*currentTime*/
|
|
25732
25739
|
2048 | t.$$.dirty[2] & /*transitions, controller*/
|
|
25733
|
-
4224 && i2(Gt,
|
|
25740
|
+
4224 && i2(Gt, me, Oe);
|
|
25734
25741
|
}, [
|
|
25735
25742
|
le,
|
|
25736
25743
|
te,
|
|
25737
|
-
|
|
25738
|
-
|
|
25739
|
-
|
|
25744
|
+
pe,
|
|
25745
|
+
_e,
|
|
25746
|
+
ce,
|
|
25740
25747
|
Z,
|
|
25741
25748
|
L,
|
|
25742
25749
|
B,
|
|
25743
25750
|
De,
|
|
25744
|
-
|
|
25751
|
+
ve,
|
|
25745
25752
|
Je,
|
|
25746
25753
|
Oe,
|
|
25747
25754
|
Et,
|
|
@@ -25796,7 +25803,7 @@ function g2(t, e, i) {
|
|
|
25796
25803
|
k,
|
|
25797
25804
|
l,
|
|
25798
25805
|
W,
|
|
25799
|
-
|
|
25806
|
+
ge,
|
|
25800
25807
|
si,
|
|
25801
25808
|
Mt,
|
|
25802
25809
|
Ft,
|
|
@@ -25806,7 +25813,7 @@ function g2(t, e, i) {
|
|
|
25806
25813
|
Nt,
|
|
25807
25814
|
ut,
|
|
25808
25815
|
ci,
|
|
25809
|
-
|
|
25816
|
+
me,
|
|
25810
25817
|
Zt,
|
|
25811
25818
|
di,
|
|
25812
25819
|
gi,
|
|
@@ -25817,7 +25824,7 @@ function g2(t, e, i) {
|
|
|
25817
25824
|
Me,
|
|
25818
25825
|
C,
|
|
25819
25826
|
T,
|
|
25820
|
-
|
|
25827
|
+
F,
|
|
25821
25828
|
Fr,
|
|
25822
25829
|
ri,
|
|
25823
25830
|
fr,
|
|
@@ -25840,8 +25847,8 @@ function g2(t, e, i) {
|
|
|
25840
25847
|
hr,
|
|
25841
25848
|
ei,
|
|
25842
25849
|
H,
|
|
25843
|
-
|
|
25844
|
-
|
|
25850
|
+
ye,
|
|
25851
|
+
be,
|
|
25845
25852
|
st,
|
|
25846
25853
|
Pr,
|
|
25847
25854
|
Tr,
|
|
@@ -26553,19 +26560,19 @@ const Nl = (t) => typeof t != "object" || t === null ? t : Array.isArray(t) ? t.
|
|
|
26553
26560
|
if (!((N = n[a]) != null && N.adsEnabled) || t !== -1)
|
|
26554
26561
|
return -1;
|
|
26555
26562
|
const T = L2({ content: n, contentIndex: a, currentTime: l, atTheStart: g, atTheEnd: p });
|
|
26556
|
-
let C = -1,
|
|
26563
|
+
let C = -1, F = -1 / 0, V = -1 / 0;
|
|
26557
26564
|
for (const [J, W] of e.entries()) {
|
|
26558
26565
|
if (w2(W) || wf(W) || !T.has(W.placement))
|
|
26559
26566
|
continue;
|
|
26560
26567
|
const le = C2[W.type] || 0;
|
|
26561
|
-
if (le <
|
|
26568
|
+
if (le < F)
|
|
26562
26569
|
continue;
|
|
26563
26570
|
const te = Math.random();
|
|
26564
|
-
le ===
|
|
26571
|
+
le === F && te < V || (C = J, F = le, V = te);
|
|
26565
26572
|
}
|
|
26566
26573
|
return C;
|
|
26567
26574
|
}, C2 = { vast: 1, custom: 0 }, L2 = ({ content: t, contentIndex: e, currentTime: i, atTheStart: n, atTheEnd: a }) => {
|
|
26568
|
-
const l = e === 0, g = e === t.length - 1, p = t.length > 1, _ = p && n && !l, k = t[e].segments, T = k[k.length - 1], C = p ? null : O2(k),
|
|
26575
|
+
const l = e === 0, g = e === t.length - 1, p = t.length > 1, _ = p && n && !l, k = t[e].segments, T = k[k.length - 1], C = p ? null : O2(k), F = k[C], V = F && i > F.startTime, N = T ? T.startTime + T.duration : 0, J = i > N - R2, W = /* @__PURE__ */ new Set();
|
|
26569
26576
|
return n && W.add("pre-roll"), V && !J && W.add("mid-roll"), _ && W.add("mid-roll"), a && g && W.add("post-roll"), _ && W.add("post-roll"), W;
|
|
26570
26577
|
}, I2 = 2 * 60, R2 = 10, D2 = 0.5, O2 = (t) => {
|
|
26571
26578
|
const e = t[t.length - 1];
|
|
@@ -26615,15 +26622,15 @@ const Nl = (t) => typeof t != "object" || t === null ? t : Array.isArray(t) ? t.
|
|
|
26615
26622
|
if (i !== -1)
|
|
26616
26623
|
return -1;
|
|
26617
26624
|
const T = G2({ content: n, contentIndex: a, currentTime: l, atTheStart: g, atTheEnd: p });
|
|
26618
|
-
let C = -1,
|
|
26625
|
+
let C = -1, F = -1 / 0, V = -1 / 0;
|
|
26619
26626
|
for (const [N, J] of t.entries()) {
|
|
26620
26627
|
if (U2(J) || !T.has(J.placement))
|
|
26621
26628
|
continue;
|
|
26622
26629
|
const W = W2(J) ? 1 : 0;
|
|
26623
|
-
if (W <
|
|
26630
|
+
if (W < F)
|
|
26624
26631
|
continue;
|
|
26625
26632
|
const le = Math.random();
|
|
26626
|
-
W ===
|
|
26633
|
+
W === F && le < V || (C = N, F = W, V = le);
|
|
26627
26634
|
}
|
|
26628
26635
|
return C;
|
|
26629
26636
|
}, G2 = ({ content: t, contentIndex: e, currentTime: i, atTheStart: n, atTheEnd: a }) => {
|
|
@@ -26892,10 +26899,10 @@ class Z2 {
|
|
|
26892
26899
|
}
|
|
26893
26900
|
handleCurrentSegmentUpdated({ segment: e, segmentIndex: i, contentIndex: n }) {
|
|
26894
26901
|
var a;
|
|
26895
|
-
ue(this, is, qs).call(this) ? this.player.currentSegment = ii(
|
|
26902
|
+
ue(this, is, qs).call(this) ? this.player.currentSegment = ii(de({}, e), { segmentIndex: i, contentIndex: n }) : this.segmentPlayed || ((a = this.player.segmentContainers) == null || a.reset(), this.player.currentSegment = null);
|
|
26896
26903
|
}
|
|
26897
26904
|
handleHoveredSegmentUpdated({ segment: e, segmentIndex: i, contentIndex: n }) {
|
|
26898
|
-
e ? this.player.hoveredSegment = ii(
|
|
26905
|
+
e ? this.player.hoveredSegment = ii(de({}, e), { segmentIndex: i, contentIndex: n }) : this.player.hoveredSegment = null;
|
|
26899
26906
|
}
|
|
26900
26907
|
handlePressedSegment({ segment: e, segmentIndex: i, contentIndex: n }) {
|
|
26901
26908
|
if (!ra("hovered", e, this.player.clickableSections))
|
|
@@ -26904,7 +26911,7 @@ class Z2 {
|
|
|
26904
26911
|
ue(this, yn, Jn).call(this);
|
|
26905
26912
|
return;
|
|
26906
26913
|
}
|
|
26907
|
-
n !== this.player.contentIndex && ue(this, bn, Qn).call(this, () => n), ue(this, ga, Ul).call(this,
|
|
26914
|
+
n !== this.player.contentIndex && ue(this, bn, Qn).call(this, () => n), ue(this, ga, Ul).call(this, de({ segmentIndex: i, contentIndex: n }, e));
|
|
26908
26915
|
}
|
|
26909
26916
|
}
|
|
26910
26917
|
ko = new WeakSet(), If = function({ type: e }) {
|
|
@@ -26937,7 +26944,7 @@ ko = new WeakSet(), If = function({ type: e }) {
|
|
|
26937
26944
|
this.player.playbackState === "playing" && (this.player.playbackState = "paused");
|
|
26938
26945
|
}, ga = new WeakSet(), Ul = function(a) {
|
|
26939
26946
|
var l = a, { segmentIndex: e, contentIndex: i } = l, n = cl(l, ["segmentIndex", "contentIndex"]);
|
|
26940
|
-
ue(this, Ii, Qi).call(this, () => n.startTime, i), this.player.currentSegment =
|
|
26947
|
+
ue(this, Ii, Qi).call(this, () => n.startTime, i), this.player.currentSegment = de({ segmentIndex: e, contentIndex: i }, n), this.player.playbackState = "playing", this.segmentPlayed = !0;
|
|
26941
26948
|
}, $r = new WeakSet(), Dn = function(e, { cycle: i } = {}) {
|
|
26942
26949
|
const n = [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], a = n.length - 1, l = n.indexOf(this.player.playbackRate), g = e(l);
|
|
26943
26950
|
let p;
|
|
@@ -26966,8 +26973,8 @@ ko = new WeakSet(), If = function({ type: e }) {
|
|
|
26966
26973
|
let _ = typeof this.nextIntroOutro != "undefined" ? this.nextIntroOutro : this.player.introsOutrosIndex;
|
|
26967
26974
|
const k = typeof this.nextAdvert != "undefined" ? this.nextAdvert : this.player.advertIndex, T = typeof this.prevContent != "undefined" ? this.prevContent : this.player.contentIndex;
|
|
26968
26975
|
n && (e = !0, i = !1, _ = -1), ue(this, ma, Wl).call(this, P2({ introsOutrosIndex: _, adverts: l, advertIndex: k, content: g, contentIndex: T, currentTime: p, atTheStart: e, atTheEnd: i, errored: a }));
|
|
26969
|
-
const C = this.player.persistentAdImage,
|
|
26970
|
-
this.player.persistentIndex = B2(C,
|
|
26976
|
+
const C = this.player.persistentAdImage, F = this.player.persistentIndex;
|
|
26977
|
+
this.player.persistentIndex = B2(C, F, k, l);
|
|
26971
26978
|
}, Po = new WeakSet(), Nf = function() {
|
|
26972
26979
|
this.player.playbackState === "playing" && typeof this.nextIntroOutro != "undefined" && (ue(this, rs, Xs).call(this, this.nextIntroOutro), delete this.nextIntroOutro);
|
|
26973
26980
|
}, Co = new WeakSet(), Ff = function() {
|
|
@@ -27368,13 +27375,13 @@ function w3(t) {
|
|
|
27368
27375
|
}
|
|
27369
27376
|
function Zf(t) {
|
|
27370
27377
|
if (Hf(t))
|
|
27371
|
-
return
|
|
27378
|
+
return de({
|
|
27372
27379
|
message: t.message,
|
|
27373
27380
|
name: t.name,
|
|
27374
27381
|
stack: t.stack
|
|
27375
27382
|
}, Td(t));
|
|
27376
27383
|
if (Bo(t)) {
|
|
27377
|
-
const e =
|
|
27384
|
+
const e = de({
|
|
27378
27385
|
type: t.type,
|
|
27379
27386
|
target: kd(t.target),
|
|
27380
27387
|
currentTarget: kd(t.currentTarget)
|
|
@@ -27472,7 +27479,7 @@ function L3(t) {
|
|
|
27472
27479
|
const e = t.slice(0, Jf), i = e[e.length - 1].function;
|
|
27473
27480
|
i && /sentryWrapped/.test(i) && e.pop(), e.reverse();
|
|
27474
27481
|
const n = e[e.length - 1].function;
|
|
27475
|
-
return n && /captureMessage|captureException/.test(n) && e.pop(), e.map((a) => ii(
|
|
27482
|
+
return n && /captureMessage|captureException/.test(n) && e.pop(), e.map((a) => ii(de({}, a), {
|
|
27476
27483
|
filename: a.filename || e[e.length - 1].filename,
|
|
27477
27484
|
function: a.function || "?"
|
|
27478
27485
|
}));
|
|
@@ -27587,13 +27594,13 @@ function B3() {
|
|
|
27587
27594
|
},
|
|
27588
27595
|
startTimestamp: Date.now()
|
|
27589
27596
|
};
|
|
27590
|
-
return Nr("fetch",
|
|
27591
|
-
(l) => (Nr("fetch", ii(
|
|
27597
|
+
return Nr("fetch", de({}, a)), t.apply(oi, e).then(
|
|
27598
|
+
(l) => (Nr("fetch", ii(de({}, a), {
|
|
27592
27599
|
endTimestamp: Date.now(),
|
|
27593
27600
|
response: l
|
|
27594
27601
|
})), l),
|
|
27595
27602
|
(l) => {
|
|
27596
|
-
throw Nr("fetch", ii(
|
|
27603
|
+
throw Nr("fetch", ii(de({}, a), {
|
|
27597
27604
|
endTimestamp: Date.now(),
|
|
27598
27605
|
error: l
|
|
27599
27606
|
})), l;
|
|
@@ -27857,8 +27864,8 @@ function sa(t, e) {
|
|
|
27857
27864
|
if (!i)
|
|
27858
27865
|
return;
|
|
27859
27866
|
const n = { type: "generic", handled: !0 }, a = i.mechanism;
|
|
27860
|
-
if (i.mechanism =
|
|
27861
|
-
const l =
|
|
27867
|
+
if (i.mechanism = de(de(de({}, n), a), e), e && "data" in e) {
|
|
27868
|
+
const l = de(de({}, a && a.data), e.data);
|
|
27862
27869
|
i.mechanism.data = l;
|
|
27863
27870
|
}
|
|
27864
27871
|
}
|
|
@@ -27921,15 +27928,15 @@ function ql(t, e, i = 1 / 0, n = 1 / 0, a = H3()) {
|
|
|
27921
27928
|
}
|
|
27922
27929
|
const T = Array.isArray(e) ? [] : {};
|
|
27923
27930
|
let C = 0;
|
|
27924
|
-
const
|
|
27925
|
-
for (const V in
|
|
27926
|
-
if (!Object.prototype.hasOwnProperty.call(
|
|
27931
|
+
const F = Zf(e);
|
|
27932
|
+
for (const V in F) {
|
|
27933
|
+
if (!Object.prototype.hasOwnProperty.call(F, V))
|
|
27927
27934
|
continue;
|
|
27928
27935
|
if (C >= n) {
|
|
27929
27936
|
T[V] = "[MaxProperties ~]";
|
|
27930
27937
|
break;
|
|
27931
27938
|
}
|
|
27932
|
-
const N =
|
|
27939
|
+
const N = F[V];
|
|
27933
27940
|
T[V] = ql(V, N, _ - 1, n, a), C++;
|
|
27934
27941
|
}
|
|
27935
27942
|
return g(e), T;
|
|
@@ -28270,11 +28277,11 @@ function sh(t) {
|
|
|
28270
28277
|
}
|
|
28271
28278
|
function cE(t, e, i, n) {
|
|
28272
28279
|
const a = t.sdkProcessingMetadata && t.sdkProcessingMetadata.dynamicSamplingContext;
|
|
28273
|
-
return
|
|
28280
|
+
return de(de(de({
|
|
28274
28281
|
event_id: t.event_id,
|
|
28275
28282
|
sent_at: (/* @__PURE__ */ new Date()).toISOString()
|
|
28276
28283
|
}, e && { sdk: e }), !!i && { dsn: Mo(n) }), a && {
|
|
28277
|
-
trace: gu(
|
|
28284
|
+
trace: gu(de({}, a))
|
|
28278
28285
|
});
|
|
28279
28286
|
}
|
|
28280
28287
|
function dE(t, e, i) {
|
|
@@ -28302,15 +28309,15 @@ function vE(t, e, i = Date.now()) {
|
|
|
28302
28309
|
return gE(t, e) > i;
|
|
28303
28310
|
}
|
|
28304
28311
|
function mE(t, { statusCode: e, headers: i }, n = Date.now()) {
|
|
28305
|
-
const a =
|
|
28312
|
+
const a = de({}, t), l = i && i["x-sentry-rate-limits"], g = i && i["retry-after"];
|
|
28306
28313
|
if (l)
|
|
28307
28314
|
for (const p of l.trim().split(",")) {
|
|
28308
28315
|
const [_, k] = p.split(":", 2), T = parseInt(_, 10), C = (isNaN(T) ? 60 : T) * 1e3;
|
|
28309
28316
|
if (!k)
|
|
28310
28317
|
a.all = n + C;
|
|
28311
28318
|
else
|
|
28312
|
-
for (const
|
|
28313
|
-
a[
|
|
28319
|
+
for (const F of k.split(";"))
|
|
28320
|
+
a[F] = n + C;
|
|
28314
28321
|
}
|
|
28315
28322
|
else
|
|
28316
28323
|
g ? a.all = n + hE(g, n) : e === 429 && (a.all = n + 60 * 1e3);
|
|
@@ -28397,7 +28404,7 @@ class ns {
|
|
|
28397
28404
|
*/
|
|
28398
28405
|
static clone(e) {
|
|
28399
28406
|
const i = new ns();
|
|
28400
|
-
return e && (i._breadcrumbs = [...e._breadcrumbs], i._tags =
|
|
28407
|
+
return e && (i._breadcrumbs = [...e._breadcrumbs], i._tags = de({}, e._tags), i._extra = de({}, e._extra), i._contexts = de({}, e._contexts), i._user = e._user, i._level = e._level, i._span = e._span, i._session = e._session, i._transactionName = e._transactionName, i._fingerprint = e._fingerprint, i._eventProcessors = [...e._eventProcessors], i._requestSession = e._requestSession, i._attachments = [...e._attachments], i._sdkProcessingMetadata = de({}, e._sdkProcessingMetadata)), i;
|
|
28401
28408
|
}
|
|
28402
28409
|
/**
|
|
28403
28410
|
* Add internal on change listener. Used for sub SDKs that need to store the scope.
|
|
@@ -28440,25 +28447,25 @@ class ns {
|
|
|
28440
28447
|
* @inheritDoc
|
|
28441
28448
|
*/
|
|
28442
28449
|
setTags(e) {
|
|
28443
|
-
return this._tags =
|
|
28450
|
+
return this._tags = de(de({}, this._tags), e), this._notifyScopeListeners(), this;
|
|
28444
28451
|
}
|
|
28445
28452
|
/**
|
|
28446
28453
|
* @inheritDoc
|
|
28447
28454
|
*/
|
|
28448
28455
|
setTag(e, i) {
|
|
28449
|
-
return this._tags = ii(
|
|
28456
|
+
return this._tags = ii(de({}, this._tags), { [e]: i }), this._notifyScopeListeners(), this;
|
|
28450
28457
|
}
|
|
28451
28458
|
/**
|
|
28452
28459
|
* @inheritDoc
|
|
28453
28460
|
*/
|
|
28454
28461
|
setExtras(e) {
|
|
28455
|
-
return this._extra =
|
|
28462
|
+
return this._extra = de(de({}, this._extra), e), this._notifyScopeListeners(), this;
|
|
28456
28463
|
}
|
|
28457
28464
|
/**
|
|
28458
28465
|
* @inheritDoc
|
|
28459
28466
|
*/
|
|
28460
28467
|
setExtra(e, i) {
|
|
28461
|
-
return this._extra = ii(
|
|
28468
|
+
return this._extra = ii(de({}, this._extra), { [e]: i }), this._notifyScopeListeners(), this;
|
|
28462
28469
|
}
|
|
28463
28470
|
/**
|
|
28464
28471
|
* @inheritDoc
|
|
@@ -28525,7 +28532,7 @@ class ns {
|
|
|
28525
28532
|
const i = e(this);
|
|
28526
28533
|
return i instanceof ns ? i : this;
|
|
28527
28534
|
}
|
|
28528
|
-
return e instanceof ns ? (this._tags =
|
|
28535
|
+
return e instanceof ns ? (this._tags = de(de({}, this._tags), e._tags), this._extra = de(de({}, this._extra), e._extra), this._contexts = de(de({}, this._contexts), e._contexts), e._user && Object.keys(e._user).length && (this._user = e._user), e._level && (this._level = e._level), e._fingerprint && (this._fingerprint = e._fingerprint), e._requestSession && (this._requestSession = e._requestSession)) : Ls(e) && (e = e, this._tags = de(de({}, this._tags), e.tags), this._extra = de(de({}, this._extra), e.extra), this._contexts = de(de({}, this._contexts), e.contexts), e.user && (this._user = e.user), e.level && (this._level = e.level), e.fingerprint && (this._fingerprint = e.fingerprint), e.requestSession && (this._requestSession = e.requestSession)), this;
|
|
28529
28536
|
}
|
|
28530
28537
|
/**
|
|
28531
28538
|
* @inheritDoc
|
|
@@ -28540,7 +28547,7 @@ class ns {
|
|
|
28540
28547
|
const n = typeof i == "number" ? i : bE;
|
|
28541
28548
|
if (n <= 0)
|
|
28542
28549
|
return this;
|
|
28543
|
-
const a =
|
|
28550
|
+
const a = de({
|
|
28544
28551
|
timestamp: Fo()
|
|
28545
28552
|
}, e);
|
|
28546
28553
|
return this._breadcrumbs = [...this._breadcrumbs, a].slice(-n), this._notifyScopeListeners(), this;
|
|
@@ -28583,24 +28590,24 @@ class ns {
|
|
|
28583
28590
|
* @hidden
|
|
28584
28591
|
*/
|
|
28585
28592
|
applyToEvent(e, i = {}) {
|
|
28586
|
-
if (this._extra && Object.keys(this._extra).length && (e.extra =
|
|
28587
|
-
e.contexts =
|
|
28593
|
+
if (this._extra && Object.keys(this._extra).length && (e.extra = de(de({}, this._extra), e.extra)), this._tags && Object.keys(this._tags).length && (e.tags = de(de({}, this._tags), e.tags)), this._user && Object.keys(this._user).length && (e.user = de(de({}, this._user), e.user)), this._contexts && Object.keys(this._contexts).length && (e.contexts = de(de({}, this._contexts), e.contexts)), this._level && (e.level = this._level), this._transactionName && (e.transaction = this._transactionName), this._span) {
|
|
28594
|
+
e.contexts = de({ trace: this._span.getTraceContext() }, e.contexts);
|
|
28588
28595
|
const n = this._span.transaction;
|
|
28589
28596
|
if (n) {
|
|
28590
|
-
e.sdkProcessingMetadata =
|
|
28597
|
+
e.sdkProcessingMetadata = de({
|
|
28591
28598
|
dynamicSamplingContext: n.getDynamicSamplingContext()
|
|
28592
28599
|
}, e.sdkProcessingMetadata);
|
|
28593
28600
|
const a = n.name;
|
|
28594
|
-
a && (e.tags =
|
|
28601
|
+
a && (e.tags = de({ transaction: a }, e.tags));
|
|
28595
28602
|
}
|
|
28596
28603
|
}
|
|
28597
|
-
return this._applyFingerprint(e), e.breadcrumbs = [...e.breadcrumbs || [], ...this._breadcrumbs], e.breadcrumbs = e.breadcrumbs.length > 0 ? e.breadcrumbs : void 0, e.sdkProcessingMetadata =
|
|
28604
|
+
return this._applyFingerprint(e), e.breadcrumbs = [...e.breadcrumbs || [], ...this._breadcrumbs], e.breadcrumbs = e.breadcrumbs.length > 0 ? e.breadcrumbs : void 0, e.sdkProcessingMetadata = de(de({}, e.sdkProcessingMetadata), this._sdkProcessingMetadata), this._notifyEventProcessors([...oh(), ...this._eventProcessors], e, i);
|
|
28598
28605
|
}
|
|
28599
28606
|
/**
|
|
28600
28607
|
* Add data which will be accessible during event processing but won't get sent to Sentry
|
|
28601
28608
|
*/
|
|
28602
28609
|
setSDKProcessingMetadata(e) {
|
|
28603
|
-
return this._sdkProcessingMetadata =
|
|
28610
|
+
return this._sdkProcessingMetadata = de(de({}, this._sdkProcessingMetadata), e), this;
|
|
28604
28611
|
}
|
|
28605
28612
|
/**
|
|
28606
28613
|
* This will be called after {@link applyToEvent} is finished.
|
|
@@ -28611,7 +28618,7 @@ class ns {
|
|
|
28611
28618
|
if (i === null || typeof p != "function")
|
|
28612
28619
|
l(i);
|
|
28613
28620
|
else {
|
|
28614
|
-
const _ = p(
|
|
28621
|
+
const _ = p(de({}, i), n);
|
|
28615
28622
|
(typeof __SENTRY_DEBUG__ == "undefined" || __SENTRY_DEBUG__) && p.id && _ === null && dt.log(`Event processor "${p.id}" dropped event`), cu(_) ? _.then((k) => this._notifyEventProcessors(e, k, n, a + 1).then(l)).then(null, g) : this._notifyEventProcessors(e, _, n, a + 1).then(l).then(null, g);
|
|
28616
28623
|
}
|
|
28617
28624
|
});
|
|
@@ -28719,7 +28726,7 @@ class uh {
|
|
|
28719
28726
|
return this._withClient((l, g) => {
|
|
28720
28727
|
l.captureException(
|
|
28721
28728
|
e,
|
|
28722
|
-
ii(
|
|
28729
|
+
ii(de({
|
|
28723
28730
|
originalException: e,
|
|
28724
28731
|
syntheticException: a
|
|
28725
28732
|
}, i), {
|
|
@@ -28738,7 +28745,7 @@ class uh {
|
|
|
28738
28745
|
g.captureMessage(
|
|
28739
28746
|
e,
|
|
28740
28747
|
i,
|
|
28741
|
-
ii(
|
|
28748
|
+
ii(de({
|
|
28742
28749
|
originalException: e,
|
|
28743
28750
|
syntheticException: l
|
|
28744
28751
|
}, n), {
|
|
@@ -28754,7 +28761,7 @@ class uh {
|
|
|
28754
28761
|
captureEvent(e, i) {
|
|
28755
28762
|
const n = i && i.event_id ? i.event_id : As();
|
|
28756
28763
|
return e.type || (this._lastEventId = n), this._withClient((a, l) => {
|
|
28757
|
-
a.captureEvent(e, ii(
|
|
28764
|
+
a.captureEvent(e, ii(de({}, i), { event_id: n }), l);
|
|
28758
28765
|
}), n;
|
|
28759
28766
|
}
|
|
28760
28767
|
/**
|
|
@@ -28773,7 +28780,7 @@ class uh {
|
|
|
28773
28780
|
const { beforeBreadcrumb: l = null, maxBreadcrumbs: g = SE } = a.getOptions && a.getOptions() || {};
|
|
28774
28781
|
if (g <= 0)
|
|
28775
28782
|
return;
|
|
28776
|
-
const p = Fo(), _ =
|
|
28783
|
+
const p = Fo(), _ = de({ timestamp: p }, e), k = l ? Yf(() => l(_, i)) : _;
|
|
28777
28784
|
k !== null && (a.emit && a.emit("beforeAddBreadcrumb", k, i), n.addBreadcrumb(k, g));
|
|
28778
28785
|
}
|
|
28779
28786
|
/**
|
|
@@ -28879,7 +28886,7 @@ Sentry.init({...});
|
|
|
28879
28886
|
* @inheritDoc
|
|
28880
28887
|
*/
|
|
28881
28888
|
startSession(e) {
|
|
28882
|
-
const { scope: i, client: n } = this.getStackTop(), { release: a, environment: l = ah } = n && n.getOptions() || {}, { userAgent: g } = wr.navigator || {}, p = pE(
|
|
28889
|
+
const { scope: i, client: n } = this.getStackTop(), { release: a, environment: l = ah } = n && n.getOptions() || {}, { userAgent: g } = wr.navigator || {}, p = pE(de(de({
|
|
28883
28890
|
release: a,
|
|
28884
28891
|
environment: l,
|
|
28885
28892
|
user: i.getUser()
|
|
@@ -28972,7 +28979,7 @@ function wE(t) {
|
|
|
28972
28979
|
return `${xE(t)}${t.projectId}/envelope/`;
|
|
28973
28980
|
}
|
|
28974
28981
|
function PE(t, e) {
|
|
28975
|
-
return w3(
|
|
28982
|
+
return w3(de({
|
|
28976
28983
|
// We send only the minimum set of required information. See
|
|
28977
28984
|
// https://github.com/getsentry/sentry-javascript/issues/2572.
|
|
28978
28985
|
sentry_key: t.publicKey,
|
|
@@ -28987,7 +28994,7 @@ function LE(t, e) {
|
|
|
28987
28994
|
return e && (t.sdk = t.sdk || {}, t.sdk.name = t.sdk.name || e.name, t.sdk.version = t.sdk.version || e.version, t.sdk.integrations = [...t.sdk.integrations || [], ...e.integrations || []], t.sdk.packages = [...t.sdk.packages || [], ...e.packages || []]), t;
|
|
28988
28995
|
}
|
|
28989
28996
|
function IE(t, e, i, n) {
|
|
28990
|
-
const a = sh(i), l =
|
|
28997
|
+
const a = sh(i), l = de(de({
|
|
28991
28998
|
sent_at: (/* @__PURE__ */ new Date()).toISOString()
|
|
28992
28999
|
}, a && { sdk: a }), !!n && { dsn: Mo(e) }), g = "aggregates" in t ? [{ type: "sessions" }, t] : [{ type: "session" }, t.toJSON()];
|
|
28993
29000
|
return ya(l, [g]);
|
|
@@ -29036,7 +29043,7 @@ function ME(t, e) {
|
|
|
29036
29043
|
return -1;
|
|
29037
29044
|
}
|
|
29038
29045
|
function NE(t, e, i, n) {
|
|
29039
|
-
const { normalizeDepth: a = 3, normalizeMaxBreadth: l = 1e3 } = t, g = ii(
|
|
29046
|
+
const { normalizeDepth: a = 3, normalizeMaxBreadth: l = 1e3 } = t, g = ii(de({}, e), {
|
|
29040
29047
|
event_id: e.event_id || i.event_id || As(),
|
|
29041
29048
|
timestamp: e.timestamp || Fo()
|
|
29042
29049
|
}), p = i.integrations || t.integrations.map((T) => T.name);
|
|
@@ -29119,8 +29126,8 @@ function WE(t, e) {
|
|
|
29119
29126
|
function jE(t, e, i) {
|
|
29120
29127
|
if (!t)
|
|
29121
29128
|
return null;
|
|
29122
|
-
const n =
|
|
29123
|
-
breadcrumbs: t.breadcrumbs.map((a) =>
|
|
29129
|
+
const n = de(de(de(de(de({}, t), t.breadcrumbs && {
|
|
29130
|
+
breadcrumbs: t.breadcrumbs.map((a) => de(de({}, a), a.data && {
|
|
29124
29131
|
data: Mn(a.data, e, i)
|
|
29125
29132
|
}))
|
|
29126
29133
|
}), t.user && {
|
|
@@ -29164,7 +29171,7 @@ class ts {
|
|
|
29164
29171
|
constructor(e) {
|
|
29165
29172
|
if (ts.prototype.__init.call(this), ts.prototype.__init2.call(this), ts.prototype.__init3.call(this), ts.prototype.__init4.call(this), ts.prototype.__init5.call(this), this._options = e, e.dsn ? this._dsn = A3(e.dsn) : (typeof __SENTRY_DEBUG__ == "undefined" || __SENTRY_DEBUG__) && dt.warn("No DSN provided, client will not do anything."), this._dsn) {
|
|
29166
29173
|
const i = CE(this._dsn, e);
|
|
29167
|
-
this._transport = e.transport(ii(
|
|
29174
|
+
this._transport = e.transport(ii(de({
|
|
29168
29175
|
recordDroppedEvent: this.recordDroppedEvent.bind(this)
|
|
29169
29176
|
}, e.transportOptions), {
|
|
29170
29177
|
url: i
|
|
@@ -29355,7 +29362,7 @@ class ts {
|
|
|
29355
29362
|
}
|
|
29356
29363
|
}
|
|
29357
29364
|
const g = e.status === "ok";
|
|
29358
|
-
(g && e.errors === 0 || g && n) && (Is(e, ii(
|
|
29365
|
+
(g && e.errors === 0 || g && n) && (Is(e, ii(de({}, n && { status: "crashed" }), {
|
|
29359
29366
|
errors: e.errors || Number(a || n)
|
|
29360
29367
|
})), this.captureSession(e));
|
|
29361
29368
|
}
|
|
@@ -29452,12 +29459,12 @@ class ts {
|
|
|
29452
29459
|
}).then((C) => {
|
|
29453
29460
|
if (C === null)
|
|
29454
29461
|
throw this.recordDroppedEvent("before_send", T, e), new Mr(`${k} returned \`null\`, will not send event.`, "log");
|
|
29455
|
-
const
|
|
29456
|
-
!g &&
|
|
29462
|
+
const F = n && n.getSession();
|
|
29463
|
+
!g && F && this._updateSessionFromEvent(F, C);
|
|
29457
29464
|
const V = C.transaction_info;
|
|
29458
29465
|
if (g && V && C.transaction !== e.transaction) {
|
|
29459
29466
|
const N = "custom";
|
|
29460
|
-
C.transaction_info = ii(
|
|
29467
|
+
C.transaction_info = ii(de({}, V), {
|
|
29461
29468
|
source: N
|
|
29462
29469
|
});
|
|
29463
29470
|
}
|
|
@@ -29554,18 +29561,18 @@ function vh(t, e, i = eE(
|
|
|
29554
29561
|
const a = (g) => i.drain(g);
|
|
29555
29562
|
function l(g) {
|
|
29556
29563
|
const p = [];
|
|
29557
|
-
if (Ld(g, (C,
|
|
29558
|
-
const V = Id(
|
|
29564
|
+
if (Ld(g, (C, F) => {
|
|
29565
|
+
const V = Id(F);
|
|
29559
29566
|
if (vE(n, V)) {
|
|
29560
|
-
const N = Md(C,
|
|
29567
|
+
const N = Md(C, F);
|
|
29561
29568
|
t.recordDroppedEvent("ratelimit_backoff", V, N);
|
|
29562
29569
|
} else
|
|
29563
29570
|
p.push(C);
|
|
29564
29571
|
}), p.length === 0)
|
|
29565
29572
|
return os();
|
|
29566
29573
|
const _ = ya(g[0], p), k = (C) => {
|
|
29567
|
-
Ld(_, (
|
|
29568
|
-
const N = Md(
|
|
29574
|
+
Ld(_, (F, V) => {
|
|
29575
|
+
const N = Md(F, V);
|
|
29569
29576
|
t.recordDroppedEvent(C, Id(V), N);
|
|
29570
29577
|
});
|
|
29571
29578
|
}, T = () => e({ body: aE(_, t.textEncoder) }).then(
|
|
@@ -29800,7 +29807,7 @@ function Rs(t, e = {}, i) {
|
|
|
29800
29807
|
return t.apply(this, l);
|
|
29801
29808
|
} catch (l) {
|
|
29802
29809
|
throw nA(), EE((g) => {
|
|
29803
|
-
g.addEventProcessor((p) => (e.mechanism && (Yl(p, void 0, void 0), sa(p, e.mechanism)), p.extra = ii(
|
|
29810
|
+
g.addEventProcessor((p) => (e.mechanism && (Yl(p, void 0, void 0), sa(p, e.mechanism)), p.extra = ii(de({}, p.extra), {
|
|
29804
29811
|
arguments: a
|
|
29805
29812
|
}), p)), dh(l);
|
|
29806
29813
|
}), l;
|
|
@@ -29898,7 +29905,7 @@ function mu(t, e, i, n, a) {
|
|
|
29898
29905
|
const p = g.name || (yd(g) ? "DOMError" : "DOMException"), _ = g.message ? `${p}: ${g.message}` : p;
|
|
29899
29906
|
l = $l(t, _, i, n), Yl(l, _);
|
|
29900
29907
|
}
|
|
29901
|
-
return "code" in g && (l.tags = ii(
|
|
29908
|
+
return "code" in g && (l.tags = ii(de({}, l.tags), { "DOMException.code": `${g.code}` })), l;
|
|
29902
29909
|
}
|
|
29903
29910
|
return Hf(e) ? El(t, e) : Ls(e) || Bo(e) ? (l = sA(t, e, i, a), sa(l, {
|
|
29904
29911
|
synthetic: !0
|
|
@@ -29951,7 +29958,7 @@ class oa {
|
|
|
29951
29958
|
* @inheritDoc
|
|
29952
29959
|
*/
|
|
29953
29960
|
constructor(e) {
|
|
29954
|
-
oa.prototype.__init.call(this), this.options =
|
|
29961
|
+
oa.prototype.__init.call(this), this.options = de({
|
|
29955
29962
|
console: !0,
|
|
29956
29963
|
dom: !0,
|
|
29957
29964
|
fetch: !0,
|
|
@@ -30083,7 +30090,7 @@ function mA(t) {
|
|
|
30083
30090
|
a
|
|
30084
30091
|
);
|
|
30085
30092
|
} else {
|
|
30086
|
-
const n = ii(
|
|
30093
|
+
const n = ii(de({}, t.fetchData), {
|
|
30087
30094
|
status_code: t.response && t.response.status
|
|
30088
30095
|
}), a = {
|
|
30089
30096
|
input: t.args,
|
|
@@ -30122,7 +30129,7 @@ function yA(t, {
|
|
|
30122
30129
|
tunnel: i,
|
|
30123
30130
|
dsn: n
|
|
30124
30131
|
}) {
|
|
30125
|
-
const a =
|
|
30132
|
+
const a = de(de({
|
|
30126
30133
|
event_id: t.event_id,
|
|
30127
30134
|
sent_at: (/* @__PURE__ */ new Date()).toISOString()
|
|
30128
30135
|
}, e && e.sdk && {
|
|
@@ -30244,7 +30251,7 @@ function EA(t, e = kA()) {
|
|
|
30244
30251
|
function a(l) {
|
|
30245
30252
|
const g = l.body.length;
|
|
30246
30253
|
i += g, n++;
|
|
30247
|
-
const p =
|
|
30254
|
+
const p = de({
|
|
30248
30255
|
body: l.body,
|
|
30249
30256
|
method: "POST",
|
|
30250
30257
|
referrerPolicy: "origin",
|
|
@@ -30363,7 +30370,7 @@ class Wn {
|
|
|
30363
30370
|
}
|
|
30364
30371
|
/** JSDoc */
|
|
30365
30372
|
constructor(e) {
|
|
30366
|
-
Wn.prototype.__init.call(this), Wn.prototype.__init2.call(this), this._options =
|
|
30373
|
+
Wn.prototype.__init.call(this), Wn.prototype.__init2.call(this), this._options = de({
|
|
30367
30374
|
onerror: !0,
|
|
30368
30375
|
onunhandledrejection: !0
|
|
30369
30376
|
}, e);
|
|
@@ -30527,7 +30534,7 @@ class la {
|
|
|
30527
30534
|
* @inheritDoc
|
|
30528
30535
|
*/
|
|
30529
30536
|
constructor(e) {
|
|
30530
|
-
la.prototype.__init.call(this), this._options =
|
|
30537
|
+
la.prototype.__init.call(this), this._options = de({
|
|
30531
30538
|
XMLHttpRequest: !0,
|
|
30532
30539
|
eventTarget: !0,
|
|
30533
30540
|
requestAnimationFrame: !0,
|
|
@@ -30719,8 +30726,8 @@ class Ps {
|
|
|
30719
30726
|
if (Ri().getIntegration(Ps)) {
|
|
30720
30727
|
if (!$t.navigator && !$t.location && !$t.document)
|
|
30721
30728
|
return e;
|
|
30722
|
-
const i = e.request && e.request.url || $t.location && $t.location.href, { referrer: n } = $t.document || {}, { userAgent: a } = $t.navigator || {}, l =
|
|
30723
|
-
return ii(
|
|
30729
|
+
const i = e.request && e.request.url || $t.location && $t.location.href, { referrer: n } = $t.document || {}, { userAgent: a } = $t.navigator || {}, l = de(de(de({}, e.request && e.request.headers), n && { Referer: n }), a && { "User-Agent": a }), g = ii(de(de({}, e.request), i && { url: i }), { headers: l });
|
|
30730
|
+
return ii(de({}, e), { request: g });
|
|
30724
30731
|
}
|
|
30725
30732
|
return e;
|
|
30726
30733
|
});
|
|
@@ -30830,7 +30837,7 @@ const n6 = [
|
|
|
30830
30837
|
];
|
|
30831
30838
|
function s6(t = {}) {
|
|
30832
30839
|
t.defaultIntegrations === void 0 && (t.defaultIntegrations = n6), t.release === void 0 && (typeof __SENTRY_RELEASE__ == "string" && (t.release = __SENTRY_RELEASE__), $t.SENTRY_RELEASE && $t.SENTRY_RELEASE.id && (t.release = $t.SENTRY_RELEASE.id)), t.autoSessionTracking === void 0 && (t.autoSessionTracking = !0), t.sendClientReports === void 0 && (t.sendClientReports = !0);
|
|
30833
|
-
const e = ii(
|
|
30840
|
+
const e = ii(de({}, t), {
|
|
30834
30841
|
stackParser: C3(t.stackParser || jA),
|
|
30835
30842
|
integrations: OE(t),
|
|
30836
30843
|
transport: t.transport || ($f() ? EA : xA)
|
|
@@ -30864,7 +30871,7 @@ function o6(t) {
|
|
|
30864
30871
|
}
|
|
30865
30872
|
function l6() {
|
|
30866
30873
|
let t;
|
|
30867
|
-
const e = (i) => (t === void 0 && (t = u6()), t && (i.modules =
|
|
30874
|
+
const e = (i) => (t === void 0 && (t = u6()), t && (i.modules = de({
|
|
30868
30875
|
svelteKit: "latest"
|
|
30869
30876
|
}, i.modules)), i);
|
|
30870
30877
|
e.id = "svelteKitProcessor", Uo(e);
|
|
@@ -30878,7 +30885,7 @@ const c6 = ({ captureErrors: t }) => {
|
|
|
30878
30885
|
return;
|
|
30879
30886
|
jd = !0;
|
|
30880
30887
|
const i = Gd(new Error()), n = i == null ? void 0 : i.match(/initializeSentry/);
|
|
30881
|
-
o6(ii(
|
|
30888
|
+
o6(ii(de({}, i ? {} : { defaultIntegrations: !1 }), {
|
|
30882
30889
|
// See the message below.
|
|
30883
30890
|
dsn: "https://ea2f0f2a070b4934994dc8543b8d16e1@o271781.ingest.sentry.io/4504853792882688",
|
|
30884
30891
|
environment: n ? "development" : "production",
|
|
@@ -30983,7 +30990,7 @@ class Al {
|
|
|
30983
30990
|
return qT(this.analyticsSink, e);
|
|
30984
30991
|
}
|
|
30985
30992
|
sendToGoogleAnalytics(e, i) {
|
|
30986
|
-
window.gtag("event", e, ii(
|
|
30993
|
+
window.gtag("event", e, ii(de({}, i), { send_to: this.analyticsSink }));
|
|
30987
30994
|
}
|
|
30988
30995
|
}
|
|
30989
30996
|
const _6 = (t, e) => {
|
|
@@ -31068,8 +31075,8 @@ const pn = class pn extends v2 {
|
|
|
31068
31075
|
l.classList.add("beyondwords-player", "bwp");
|
|
31069
31076
|
const p = new Z2(null, pn);
|
|
31070
31077
|
p.addEventListener("<any>", (k) => _6(this, k));
|
|
31071
|
-
const _ =
|
|
31072
|
-
super({ target: l, props: ii(
|
|
31078
|
+
const _ = de({ showUserInterface: g }, i);
|
|
31079
|
+
super({ target: l, props: ii(de({ controller: p }, _), { initialProps: _ }) }), p.player = this, Or(pn, Un).push(this);
|
|
31073
31080
|
}
|
|
31074
31081
|
static get version() {
|
|
31075
31082
|
return tu;
|