bloom-player 2.20.3-alpha.1 → 2.21.1-alpha.1
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/lib/shared.es.js
CHANGED
|
@@ -18,16 +18,16 @@ function Kt(s) {
|
|
|
18
18
|
ei = s;
|
|
19
19
|
}
|
|
20
20
|
let Tr;
|
|
21
|
-
function
|
|
21
|
+
function na(s) {
|
|
22
22
|
Tr = s;
|
|
23
23
|
}
|
|
24
24
|
let Pn;
|
|
25
|
-
function
|
|
25
|
+
function oa(s) {
|
|
26
26
|
Pn = s;
|
|
27
27
|
}
|
|
28
28
|
let Dn = () => {
|
|
29
29
|
};
|
|
30
|
-
function
|
|
30
|
+
function sa(s) {
|
|
31
31
|
Dn = s ?? (() => {
|
|
32
32
|
});
|
|
33
33
|
}
|
|
@@ -35,7 +35,7 @@ let Sr = "";
|
|
|
35
35
|
function as(s) {
|
|
36
36
|
Sr = s;
|
|
37
37
|
}
|
|
38
|
-
function
|
|
38
|
+
function aa(s) {
|
|
39
39
|
as(Mn(s));
|
|
40
40
|
}
|
|
41
41
|
function Mn(s) {
|
|
@@ -57,30 +57,30 @@ function cs(s) {
|
|
|
57
57
|
}
|
|
58
58
|
const us = "bloom-highlightSegment", zn = "ui-enableHighlight", Dr = "ui-disableHighlight", yr = "ui-suppressHighlight";
|
|
59
59
|
let Di = 3;
|
|
60
|
-
function
|
|
60
|
+
function la(s) {
|
|
61
61
|
Di = s;
|
|
62
62
|
}
|
|
63
63
|
const Mi = "audio-sentence", In = "bloom-imageDescription";
|
|
64
|
-
let
|
|
64
|
+
let wt = null, di = 0;
|
|
65
65
|
function fs(s) {
|
|
66
|
-
s !==
|
|
66
|
+
s !== wt && (di && clearTimeout(di), di = setTimeout(() => {
|
|
67
67
|
di = 0;
|
|
68
|
-
}, 3e3),
|
|
68
|
+
}, 3e3), wt = s);
|
|
69
69
|
}
|
|
70
70
|
function ds() {
|
|
71
|
-
return
|
|
71
|
+
return wt;
|
|
72
72
|
}
|
|
73
|
-
let Mr, zi, Jt = "", et = [],
|
|
74
|
-
const Ii = new mi(), Er = new mi(), Tn = new mi(),
|
|
73
|
+
let Mr, zi, Jt = "", et = [], Nt = [];
|
|
74
|
+
const Ii = new mi(), Er = new mi(), Tn = new mi(), ca = new mi(), Hi = new mi();
|
|
75
75
|
let pi = 0, Hn = !0;
|
|
76
|
-
function
|
|
76
|
+
function ua(s) {
|
|
77
77
|
Hn = s;
|
|
78
78
|
}
|
|
79
79
|
let Oi = null;
|
|
80
80
|
function hs(s, c) {
|
|
81
|
-
if (!s && !
|
|
81
|
+
if (!s && !wt)
|
|
82
82
|
return;
|
|
83
|
-
const d = s ??
|
|
83
|
+
const d = s ?? wt;
|
|
84
84
|
gi(Br(d, c), d);
|
|
85
85
|
}
|
|
86
86
|
function gi(s, c) {
|
|
@@ -192,7 +192,7 @@ function Rn() {
|
|
|
192
192
|
_i();
|
|
193
193
|
return;
|
|
194
194
|
}
|
|
195
|
-
|
|
195
|
+
Nt = [];
|
|
196
196
|
const d = c.getAttribute(
|
|
197
197
|
"data-audioRecordingEndTimes"
|
|
198
198
|
);
|
|
@@ -205,7 +205,7 @@ function Rn() {
|
|
|
205
205
|
);
|
|
206
206
|
for (let q = k - 1; q >= 0; --q) {
|
|
207
207
|
const _ = Number(D[q]);
|
|
208
|
-
isNaN(_) ||
|
|
208
|
+
isNaN(_) || Nt.push([
|
|
209
209
|
z.item(q),
|
|
210
210
|
_
|
|
211
211
|
]);
|
|
@@ -237,10 +237,10 @@ function Wn(s, c) {
|
|
|
237
237
|
});
|
|
238
238
|
}
|
|
239
239
|
function zr(s, c = 0) {
|
|
240
|
-
const d =
|
|
240
|
+
const d = Nt.length;
|
|
241
241
|
if (d <= 0)
|
|
242
242
|
return;
|
|
243
|
-
const h =
|
|
243
|
+
const h = Nt[d - 1], T = h[0], L = h[1];
|
|
244
244
|
Vn({
|
|
245
245
|
newElement: T,
|
|
246
246
|
shouldScrollToElement: !0,
|
|
@@ -258,7 +258,7 @@ function zr(s, c = 0) {
|
|
|
258
258
|
function Fn(s) {
|
|
259
259
|
if (s !== pi || ei === 5)
|
|
260
260
|
return;
|
|
261
|
-
const c =
|
|
261
|
+
const c = Nt.length;
|
|
262
262
|
if (c <= 0)
|
|
263
263
|
return;
|
|
264
264
|
const d = document.getElementById(
|
|
@@ -266,7 +266,7 @@ function Fn(s) {
|
|
|
266
266
|
);
|
|
267
267
|
if (d.ended || d.error)
|
|
268
268
|
return;
|
|
269
|
-
const h = d.currentTime, L =
|
|
269
|
+
const h = d.currentTime, L = Nt[c - 1][1];
|
|
270
270
|
if (h && h < L) {
|
|
271
271
|
const z = L - h;
|
|
272
272
|
setTimeout(() => {
|
|
@@ -274,7 +274,7 @@ function Fn(s) {
|
|
|
274
274
|
}, z * 1e3);
|
|
275
275
|
return;
|
|
276
276
|
}
|
|
277
|
-
|
|
277
|
+
Nt.pop(), zr(s, L);
|
|
278
278
|
}
|
|
279
279
|
function Ir(s = document.body) {
|
|
280
280
|
const c = Array.from(
|
|
@@ -395,9 +395,9 @@ function xs() {
|
|
|
395
395
|
return s || (s = document.createElement("audio"), s.id = "bloom-audio-preload", document.body.appendChild(s)), s;
|
|
396
396
|
}
|
|
397
397
|
function Xn(s) {
|
|
398
|
-
const c = $n(s), d = c
|
|
398
|
+
const c = $n(s) ?? s, d = c.id;
|
|
399
399
|
if (Bi === d) return;
|
|
400
|
-
const h = Un(d) + "?nocache=" + (/* @__PURE__ */ new Date()).getTime() + "&optional=true";
|
|
400
|
+
const h = Un(d, c) + "?nocache=" + (/* @__PURE__ */ new Date()).getTime() + "&optional=true";
|
|
401
401
|
Bi = d, qi = h;
|
|
402
402
|
const T = xs();
|
|
403
403
|
T.src = h, T.load();
|
|
@@ -415,18 +415,22 @@ function Ts() {
|
|
|
415
415
|
let d;
|
|
416
416
|
Bi === Jt && qi ? (d = qi, Yn()) : d = c + "?nocache=" + (/* @__PURE__ */ new Date()).getTime() + "&optional=true", s.setAttribute("src", d);
|
|
417
417
|
}
|
|
418
|
-
function
|
|
419
|
-
return
|
|
418
|
+
function Ss(s, c) {
|
|
419
|
+
return c?.getAttribute("data-audio-src") || s + ".mp3";
|
|
420
|
+
}
|
|
421
|
+
function Un(s, c) {
|
|
422
|
+
const d = c ?? wt?.querySelector(`[id="${s}"]`) ?? document.getElementById(s);
|
|
423
|
+
return Pr() + "/audio/" + Ss(s, d);
|
|
420
424
|
}
|
|
421
425
|
function Pt() {
|
|
422
|
-
return
|
|
423
|
-
c.addEventListener("ended",
|
|
426
|
+
return As("bloom-audio-player", (c) => {
|
|
427
|
+
c.addEventListener("ended", Es), c.addEventListener("error", ks);
|
|
424
428
|
});
|
|
425
429
|
}
|
|
426
|
-
function
|
|
430
|
+
function Es() {
|
|
427
431
|
_i();
|
|
428
432
|
}
|
|
429
|
-
function
|
|
433
|
+
function fa() {
|
|
430
434
|
ei === 4 && _i(!1);
|
|
431
435
|
}
|
|
432
436
|
function _i(s = !0) {
|
|
@@ -436,11 +440,11 @@ function _i(s = !0) {
|
|
|
436
440
|
const h = et[d - 1];
|
|
437
441
|
_n(h, !0), Rn();
|
|
438
442
|
} else
|
|
439
|
-
|
|
443
|
+
Cs(), Ir(c), Pt().pause();
|
|
440
444
|
}
|
|
441
445
|
}
|
|
442
|
-
function
|
|
443
|
-
et = [],
|
|
446
|
+
function Cs() {
|
|
447
|
+
et = [], Nt = [], Ir(), Ii?.raise(wt), Er?.raise();
|
|
444
448
|
}
|
|
445
449
|
function Hr() {
|
|
446
450
|
if (!Oi || !Tr)
|
|
@@ -448,14 +452,14 @@ function Hr() {
|
|
|
448
452
|
const c = ((/* @__PURE__ */ new Date()).getTime() - Oi) / 1e3;
|
|
449
453
|
Tr(c);
|
|
450
454
|
}
|
|
451
|
-
function
|
|
455
|
+
function As(s, c) {
|
|
452
456
|
let d = document.querySelector(
|
|
453
457
|
"#" + s
|
|
454
458
|
);
|
|
455
459
|
return d && !d.play && (d.remove(), d = null), d || (d = document.createElement("audio"), d.setAttribute("id", s), document.body.appendChild(d), c(d)), d;
|
|
456
460
|
}
|
|
457
461
|
let Cr = !1;
|
|
458
|
-
function
|
|
462
|
+
function ks() {
|
|
459
463
|
if (Cr) {
|
|
460
464
|
console.log("Already got error playing, not handling again");
|
|
461
465
|
return;
|
|
@@ -470,27 +474,27 @@ function Or(s, c, d = !1) {
|
|
|
470
474
|
);
|
|
471
475
|
return d && c && c.matches(s) && h.push(c), Hn ? h : h.filter((T) => !jn(T));
|
|
472
476
|
}
|
|
473
|
-
function
|
|
477
|
+
function Ls(s, c) {
|
|
474
478
|
var d = Or(".bloom-editable", s).filter(
|
|
475
479
|
(h) => window.getComputedStyle(h).display !== "none"
|
|
476
480
|
);
|
|
477
481
|
return c && (d = d.filter((h) => !c.contains(h))), d;
|
|
478
482
|
}
|
|
479
|
-
function
|
|
480
|
-
return
|
|
483
|
+
function Ns(s, c) {
|
|
484
|
+
return Ls(s || wt, c);
|
|
481
485
|
}
|
|
482
486
|
function Br(s, c) {
|
|
483
487
|
return [].concat.apply(
|
|
484
488
|
[],
|
|
485
|
-
|
|
489
|
+
Ns(s, c).map(
|
|
486
490
|
(d) => Or(".audio-sentence", d, !0)
|
|
487
491
|
)
|
|
488
492
|
);
|
|
489
493
|
}
|
|
490
|
-
function
|
|
494
|
+
function da(s) {
|
|
491
495
|
return !!Br(s).length;
|
|
492
496
|
}
|
|
493
|
-
function
|
|
497
|
+
function ha() {
|
|
494
498
|
if (ei !== 4) {
|
|
495
499
|
if (Kt(
|
|
496
500
|
4
|
|
@@ -503,27 +507,27 @@ function da() {
|
|
|
503
507
|
hs(null);
|
|
504
508
|
return;
|
|
505
509
|
}
|
|
506
|
-
Ii?.raise(
|
|
510
|
+
Ii?.raise(wt);
|
|
507
511
|
}
|
|
508
512
|
}
|
|
509
|
-
function
|
|
510
|
-
ei !== 5 && (
|
|
513
|
+
function pa() {
|
|
514
|
+
ei !== 5 && (Ps(), Kt(
|
|
511
515
|
5
|
|
512
516
|
/* AudioPaused */
|
|
513
517
|
));
|
|
514
518
|
}
|
|
515
|
-
function
|
|
519
|
+
function Ps() {
|
|
516
520
|
const s = Pt();
|
|
517
521
|
clearTimeout(Mr), zi && zi.length && s && (s.currentTime > 0 && !s.paused && !s.ended && Hr(), s.pause());
|
|
518
522
|
}
|
|
519
|
-
function
|
|
523
|
+
function ga(s) {
|
|
520
524
|
let c = 0;
|
|
521
525
|
return Br(s).forEach((d) => {
|
|
522
526
|
const h = d.getAttribute("data-duration");
|
|
523
527
|
h && (c += parseFloat(h));
|
|
524
528
|
}), c < Di && (c = Di), c;
|
|
525
529
|
}
|
|
526
|
-
function
|
|
530
|
+
function ma() {
|
|
527
531
|
clearTimeout(Mr), qr();
|
|
528
532
|
}
|
|
529
533
|
let Gt = 0, Zt;
|
|
@@ -531,14 +535,14 @@ const fi = /* @__PURE__ */ new WeakMap();
|
|
|
531
535
|
function qr() {
|
|
532
536
|
Gt++, Zt && (Zt.pause(), Zt.currentTime = 0, Zt = void 0);
|
|
533
537
|
}
|
|
534
|
-
function
|
|
538
|
+
function Ds(s) {
|
|
535
539
|
return s ? s.name === "AbortError" ? !0 : (typeof s.message == "string" && s.message || (typeof s.toString == "function" ? s.toString() : "")).includes("interrupted by a call to pause()") : !1;
|
|
536
540
|
}
|
|
537
541
|
const Li = /* @__PURE__ */ new WeakMap();
|
|
538
542
|
function Rr(s) {
|
|
539
543
|
Li.get(s)?.();
|
|
540
544
|
}
|
|
541
|
-
function
|
|
545
|
+
function Ms(s, c = () => !0, d = () => Gn(s)) {
|
|
542
546
|
if (!s.paused)
|
|
543
547
|
return;
|
|
544
548
|
Rr(s);
|
|
@@ -576,7 +580,7 @@ function jr(s, c) {
|
|
|
576
580
|
const d = ++Gt;
|
|
577
581
|
hi(s, c, d);
|
|
578
582
|
}
|
|
579
|
-
function
|
|
583
|
+
function zs(s, c) {
|
|
580
584
|
return s.networkState === HTMLMediaElement.NETWORK_NO_SOURCE && s.readyState === HTMLMediaElement.HAVE_NOTHING ? !0 : c ? c.name === "NotSupportedError" ? !0 : s.error?.code === (window.MediaError ? window.MediaError.MEDIA_ERR_SRC_NOT_SUPPORTED : 4) : !1;
|
|
581
585
|
}
|
|
582
586
|
function hi(s, c, d) {
|
|
@@ -587,10 +591,10 @@ function hi(s, c, d) {
|
|
|
587
591
|
return;
|
|
588
592
|
}
|
|
589
593
|
const h = s[0];
|
|
590
|
-
if (Zt = h,
|
|
594
|
+
if (Zt = h, zs(h))
|
|
591
595
|
fi.delete(h), Sn(h), hi(s.slice(1), c, d);
|
|
592
596
|
else {
|
|
593
|
-
|
|
597
|
+
Hs(h), Ri(h), Kt(
|
|
594
598
|
2
|
|
595
599
|
/* VideoPlaying */
|
|
596
600
|
), Rr(h), h.currentTime = 0;
|
|
@@ -631,7 +635,7 @@ function hi(s, c, d) {
|
|
|
631
635
|
return;
|
|
632
636
|
}
|
|
633
637
|
const G = fi.get(h) ?? 0;
|
|
634
|
-
if (
|
|
638
|
+
if (Ds(V) && G < 2) {
|
|
635
639
|
fi.set(h, G + 1), window.setTimeout(() => {
|
|
636
640
|
hi(s, c, d);
|
|
637
641
|
}, 50);
|
|
@@ -641,12 +645,12 @@ function hi(s, c, d) {
|
|
|
641
645
|
});
|
|
642
646
|
}
|
|
643
647
|
}
|
|
644
|
-
const
|
|
648
|
+
const Is = "Sorry, this video cannot be played in this browser.";
|
|
645
649
|
function Sn(s) {
|
|
646
650
|
const c = s.parentElement;
|
|
647
651
|
if (c && c.getElementsByClassName("video-error-message").length === 0) {
|
|
648
652
|
const h = c.ownerDocument.createElement("div");
|
|
649
|
-
h.className = "video-error-message normal-style", h.textContent =
|
|
653
|
+
h.className = "video-error-message normal-style", h.textContent = Is, h.style.display = "block", h.style.color = "black", h.style.backgroundColor = "rgba(255, 255, 255, 0.5)", h.style.position = "absolute", h.style.left = "10%", h.style.top = "10%", h.style.width = "80%", h.style.fontSize = "x-large", h.style.pointerEvents = "none", c.appendChild(h);
|
|
650
654
|
}
|
|
651
655
|
}
|
|
652
656
|
function Gn(s) {
|
|
@@ -655,7 +659,7 @@ function Gn(s) {
|
|
|
655
659
|
function Ri(s) {
|
|
656
660
|
(s.closest(".bloom-videoContainer") || s.parentElement)?.classList.remove("autoplayBlocked");
|
|
657
661
|
}
|
|
658
|
-
function
|
|
662
|
+
function Hs(s) {
|
|
659
663
|
const c = s.parentElement;
|
|
660
664
|
if (c) {
|
|
661
665
|
const d = c.getElementsByClassName("video-error-message");
|
|
@@ -664,7 +668,7 @@ function Is(s) {
|
|
|
664
668
|
}
|
|
665
669
|
const ji = ".bloom-textOverPicture, .bloom-canvas-element";
|
|
666
670
|
let Ar = [], Wi = /* @__PURE__ */ new Map(), Qe, Zn, Fi = /* @__PURE__ */ new Map();
|
|
667
|
-
const
|
|
671
|
+
const Os = (s) => {
|
|
668
672
|
Fi = /* @__PURE__ */ new Map(), s.querySelectorAll("[data-draggable-id]").forEach((c) => {
|
|
669
673
|
Fi.set(c.getAttribute("data-draggable-id"), {
|
|
670
674
|
x: c.style.left,
|
|
@@ -679,7 +683,7 @@ const Hs = (s) => {
|
|
|
679
683
|
d && (c.style.left = d.x, c.style.top = d.y, c.classList.remove("bloom-draggedToTarget"));
|
|
680
684
|
});
|
|
681
685
|
};
|
|
682
|
-
function
|
|
686
|
+
function Bs(s) {
|
|
683
687
|
if (s.getAttribute("data-activity") !== "drag-letter-to-target")
|
|
684
688
|
return;
|
|
685
689
|
const c = Array.from(
|
|
@@ -697,11 +701,11 @@ function Os(s) {
|
|
|
697
701
|
function Fr(s) {
|
|
698
702
|
return s.closest("#page-scaling-container") !== null;
|
|
699
703
|
}
|
|
700
|
-
function
|
|
701
|
-
Qe = s,
|
|
704
|
+
function va(s, c) {
|
|
705
|
+
Qe = s, Bs(s), Zn = c, vo(
|
|
702
706
|
s.getAttribute("data-show-answers-in-targets") === "true" || s.getAttribute("data-show-target-as-shadow") === "true",
|
|
703
707
|
s
|
|
704
|
-
),
|
|
708
|
+
), Os(s), Array.from(
|
|
705
709
|
s.getElementsByClassName(
|
|
706
710
|
"bloom-change-page-button"
|
|
707
711
|
)
|
|
@@ -736,7 +740,7 @@ function ma(s, c) {
|
|
|
736
740
|
}
|
|
737
741
|
Wi.set(Q, { x: Q.offsetLeft, y: Q.offsetTop }), Q.style.touchAction = "none", Q.addEventListener("pointerdown", oo, { capture: !0 });
|
|
738
742
|
}), Array.from(s.getElementsByTagName("video")).forEach((Q) => {
|
|
739
|
-
Q.closest(ji)?.hasAttribute("data-draggable-id") && (Q.classList.add("bloom-ui-no-controls"), Q.addEventListener("pointerdown", Kn),
|
|
743
|
+
Q.closest(ji)?.hasAttribute("data-draggable-id") && (Q.classList.add("bloom-ui-no-controls"), Q.addEventListener("pointerdown", Kn), Ms(Q));
|
|
740
744
|
});
|
|
741
745
|
const z = h.concat(T);
|
|
742
746
|
Array.from(
|
|
@@ -772,9 +776,9 @@ function ma(s, c) {
|
|
|
772
776
|
s.querySelectorAll("[data-sound]")
|
|
773
777
|
).forEach((Q) => {
|
|
774
778
|
Q.addEventListener("click", Jn);
|
|
775
|
-
}),
|
|
779
|
+
}), qs(s), Fs(s);
|
|
776
780
|
}
|
|
777
|
-
const
|
|
781
|
+
const qs = (s) => {
|
|
778
782
|
Array.from(
|
|
779
783
|
s.getElementsByClassName(
|
|
780
784
|
"drag-item-order-sentence"
|
|
@@ -785,7 +789,7 @@ const Bs = (s) => {
|
|
|
785
789
|
"bloom-content1 bloom-visibility-code-on"
|
|
786
790
|
)[0], h = d?.textContent?.trim();
|
|
787
791
|
if (!h) return;
|
|
788
|
-
const T = h.split(" "), L =
|
|
792
|
+
const T = h.split(" "), L = js(T), z = s.ownerDocument.createElement("div");
|
|
789
793
|
z.classList.add("drag-item-random-sentence"), z.setAttribute("data-answer", h), to(s, L, z, d, !0), z.style.left = c.style.left, z.style.top = c.style.top, z.style.width = c.style.width, c.parentElement?.insertBefore(z, c);
|
|
790
794
|
}
|
|
791
795
|
);
|
|
@@ -793,7 +797,7 @@ const Bs = (s) => {
|
|
|
793
797
|
const c = s.currentTarget;
|
|
794
798
|
Rr(c), c.play();
|
|
795
799
|
};
|
|
796
|
-
function
|
|
800
|
+
function ya(s) {
|
|
797
801
|
s === Qe && qr(), Wr(s), s === Qe && Fi.clear(), Array.from(
|
|
798
802
|
s.getElementsByClassName(
|
|
799
803
|
"bloom-change-page-button"
|
|
@@ -842,7 +846,7 @@ function va(s) {
|
|
|
842
846
|
)
|
|
843
847
|
).forEach((k) => {
|
|
844
848
|
k.parentElement?.removeChild(k);
|
|
845
|
-
}),
|
|
849
|
+
}), Ws(s);
|
|
846
850
|
const D = s.closest(".swiper-slide") !== null;
|
|
847
851
|
vo(!D, s);
|
|
848
852
|
}
|
|
@@ -853,10 +857,10 @@ const Jn = (s) => {
|
|
|
853
857
|
const c = s.currentTarget;
|
|
854
858
|
eo(c);
|
|
855
859
|
}, eo = (s) => {
|
|
856
|
-
const c =
|
|
860
|
+
const c = Rs(s);
|
|
857
861
|
gi(c, s.closest(".bloom-page"));
|
|
858
862
|
};
|
|
859
|
-
function
|
|
863
|
+
function Rs(s) {
|
|
860
864
|
const c = Vi(s);
|
|
861
865
|
return _r(c);
|
|
862
866
|
}
|
|
@@ -864,7 +868,7 @@ function to(s, c, d, h, T) {
|
|
|
864
868
|
const L = Array.from(h?.classList)?.find((D) => D.endsWith("-style")) ?? "Normal-style", z = h?.getAttribute("lang");
|
|
865
869
|
c.forEach((D) => {
|
|
866
870
|
const k = s.ownerDocument.createElement("div");
|
|
867
|
-
k.classList.add("drag-item-order-word"), k.textContent = D, d.appendChild(k), k.classList.add(L), z && k.setAttribute("lang", z), T && k.addEventListener("pointerdown",
|
|
871
|
+
k.classList.add("drag-item-order-word"), k.textContent = D, d.appendChild(k), k.classList.add(L), z && k.setAttribute("lang", z), T && k.addEventListener("pointerdown", Xs);
|
|
868
872
|
});
|
|
869
873
|
}
|
|
870
874
|
function io(s) {
|
|
@@ -873,7 +877,7 @@ function io(s) {
|
|
|
873
877
|
);
|
|
874
878
|
Zn?.(c);
|
|
875
879
|
}
|
|
876
|
-
function
|
|
880
|
+
function ba(s, c) {
|
|
877
881
|
const d = (L) => {
|
|
878
882
|
const z = L.closest(ji);
|
|
879
883
|
return !(!z || z.classList.contains("draggable-text") || z.hasAttribute("data-draggable-id") || z.classList.contains("drag-item-order-sentence") || z.classList.contains("bloom-wordChoice") || z.classList.contains("drag-item-correct") || z.classList.contains("drag-item-wrong"));
|
|
@@ -888,7 +892,7 @@ function ya(s, c) {
|
|
|
888
892
|
}
|
|
889
893
|
let ro = (s, c) => {
|
|
890
894
|
};
|
|
891
|
-
function
|
|
895
|
+
function wa(s) {
|
|
892
896
|
ro = s;
|
|
893
897
|
}
|
|
894
898
|
function _r(s) {
|
|
@@ -909,7 +913,7 @@ function Vi(s) {
|
|
|
909
913
|
);
|
|
910
914
|
return s.classList.contains("bloom-editable") && window.getComputedStyle(s).display !== "none" && c.push(s), c;
|
|
911
915
|
}
|
|
912
|
-
function
|
|
916
|
+
function js(s, c) {
|
|
913
917
|
c || (c = (D, k) => D === k);
|
|
914
918
|
let d = !0;
|
|
915
919
|
for (let D = 1; D < s.length; ++D)
|
|
@@ -936,7 +940,7 @@ function Rs(s, c) {
|
|
|
936
940
|
for (let D = 0; D < s.length; ++D) s[D] = L[D];
|
|
937
941
|
return s;
|
|
938
942
|
}
|
|
939
|
-
function
|
|
943
|
+
function xa(s, c) {
|
|
940
944
|
return s.innerText.trim() === c.innerText.trim();
|
|
941
945
|
}
|
|
942
946
|
const no = (s) => {
|
|
@@ -1031,8 +1035,8 @@ const Yi = (s) => s.getBoundingClientRect().width / s.offsetWidth, oo = (s) => {
|
|
|
1031
1035
|
Math.abs(T - d) < 0.6 && Math.abs(L - h) < 0.6
|
|
1032
1036
|
);
|
|
1033
1037
|
}, lo = (s) => {
|
|
1034
|
-
const d = s.currentTarget.closest(".bloom-page"), h =
|
|
1035
|
-
return
|
|
1038
|
+
const d = s.currentTarget.closest(".bloom-page"), h = $s(d) && Ys(d);
|
|
1039
|
+
return Vs(d, h), ro(1, h ? 1 : 0), h;
|
|
1036
1040
|
}, co = (s) => {
|
|
1037
1041
|
const d = s.currentTarget.closest(".bloom-page");
|
|
1038
1042
|
jt(d, "drag-activity-correct", !1), jt(d, "drag-activity-wrong", !1), jt(d, "drag-activity-solution", !1), Wr(d), qr();
|
|
@@ -1040,18 +1044,18 @@ const Yi = (s) => s.getBoundingClientRect().width / s.offsetWidth, oo = (s) => {
|
|
|
1040
1044
|
d ? s.parentElement?.classList.add(c) : s.parentElement?.classList.remove(c);
|
|
1041
1045
|
};
|
|
1042
1046
|
let Fe, fe, Vr, $r;
|
|
1043
|
-
function
|
|
1047
|
+
function Ta(s, c) {
|
|
1044
1048
|
Vr = s, $r = c;
|
|
1045
1049
|
}
|
|
1046
1050
|
const Xr = "data-preload-sound";
|
|
1047
|
-
function
|
|
1051
|
+
function Ws(s) {
|
|
1048
1052
|
s.querySelectorAll(
|
|
1049
1053
|
`audio[${Xr}]`
|
|
1050
1054
|
).forEach((c) => {
|
|
1051
1055
|
c.src = "", c.remove();
|
|
1052
1056
|
});
|
|
1053
1057
|
}
|
|
1054
|
-
function
|
|
1058
|
+
function Fs(s) {
|
|
1055
1059
|
const c = (d, h) => {
|
|
1056
1060
|
const T = d !== null;
|
|
1057
1061
|
if (d === null)
|
|
@@ -1074,15 +1078,15 @@ function Ws(s) {
|
|
|
1074
1078
|
$r
|
|
1075
1079
|
);
|
|
1076
1080
|
}
|
|
1077
|
-
function
|
|
1081
|
+
function _s(s, c, d) {
|
|
1078
1082
|
let h = s.getAttribute(
|
|
1079
1083
|
c ? "data-correct-sound" : "data-wrong-sound"
|
|
1080
1084
|
);
|
|
1081
1085
|
const T = h !== null;
|
|
1082
1086
|
h === null ? h = c ? Vr : $r : h === "none" && (h = void 0), h ? uo(s, h, T, d) : d?.();
|
|
1083
1087
|
}
|
|
1084
|
-
function
|
|
1085
|
-
jt(s, "drag-activity-correct", c), jt(s, "drag-activity-wrong", !c),
|
|
1088
|
+
function Vs(s, c) {
|
|
1089
|
+
jt(s, "drag-activity-correct", c), jt(s, "drag-activity-wrong", !c), _s(s, c, () => {
|
|
1086
1090
|
if (!s.parentElement?.classList.contains(
|
|
1087
1091
|
c ? "drag-activity-correct" : "drag-activity-wrong"
|
|
1088
1092
|
))
|
|
@@ -1125,7 +1129,7 @@ function uo(s, c, d = !0, h) {
|
|
|
1125
1129
|
{ once: !0 }
|
|
1126
1130
|
);
|
|
1127
1131
|
}
|
|
1128
|
-
function
|
|
1132
|
+
function $s(s) {
|
|
1129
1133
|
let c = !0;
|
|
1130
1134
|
const d = Array.from(
|
|
1131
1135
|
s.querySelectorAll("[data-draggable-id]")
|
|
@@ -1148,7 +1152,7 @@ function Vs(s) {
|
|
|
1148
1152
|
}
|
|
1149
1153
|
let qe, Nr = 0;
|
|
1150
1154
|
const fo = 5;
|
|
1151
|
-
function
|
|
1155
|
+
function Xs(s) {
|
|
1152
1156
|
if (s.button !== 0 || s.ctrlKey) return;
|
|
1153
1157
|
fe = s.currentTarget, Nr = fe.offsetWidth;
|
|
1154
1158
|
const c = fe.closest(".bloom-page"), d = Yi(c);
|
|
@@ -1234,7 +1238,7 @@ function wr(s) {
|
|
|
1234
1238
|
};
|
|
1235
1239
|
requestAnimationFrame(L);
|
|
1236
1240
|
}
|
|
1237
|
-
function
|
|
1241
|
+
function Ys(s) {
|
|
1238
1242
|
const c = s.getElementsByClassName("drag-item-random-sentence");
|
|
1239
1243
|
for (let d = 0; d < c.length; d++) {
|
|
1240
1244
|
const h = c[d], T = h.getAttribute("data-answer").split(" "), L = Array.from(h.children);
|
|
@@ -1247,12 +1251,12 @@ function Xs(s) {
|
|
|
1247
1251
|
const vo = (s, c) => {
|
|
1248
1252
|
const d = c.querySelectorAll(":scope [data-draggable-id]");
|
|
1249
1253
|
s ? d.forEach((h) => {
|
|
1250
|
-
Ys(h);
|
|
1251
|
-
}) : d.forEach((h) => {
|
|
1252
1254
|
Us(h);
|
|
1255
|
+
}) : d.forEach((h) => {
|
|
1256
|
+
Gs(h);
|
|
1253
1257
|
});
|
|
1254
1258
|
};
|
|
1255
|
-
function
|
|
1259
|
+
function Us(s) {
|
|
1256
1260
|
const c = Yr(s);
|
|
1257
1261
|
if (!c)
|
|
1258
1262
|
return;
|
|
@@ -1298,18 +1302,18 @@ const Yr = (s) => {
|
|
|
1298
1302
|
if (c)
|
|
1299
1303
|
return s.closest(".bloom-page").querySelector(`[data-target-of="${c}"]`);
|
|
1300
1304
|
};
|
|
1301
|
-
function
|
|
1305
|
+
function Gs(s) {
|
|
1302
1306
|
const c = Yr(s);
|
|
1303
1307
|
c && (c.innerHTML = "");
|
|
1304
1308
|
}
|
|
1305
|
-
let
|
|
1306
|
-
function
|
|
1309
|
+
let Sa = !1;
|
|
1310
|
+
function Ea(s) {
|
|
1307
1311
|
}
|
|
1308
|
-
function
|
|
1312
|
+
function Zs(s) {
|
|
1309
1313
|
return s && s.__esModule && Object.prototype.hasOwnProperty.call(s, "default") ? s.default : s;
|
|
1310
1314
|
}
|
|
1311
1315
|
var Pi = { exports: {} };
|
|
1312
|
-
var
|
|
1316
|
+
var Ks = Pi.exports, An;
|
|
1313
1317
|
function yo() {
|
|
1314
1318
|
return An || (An = 1, (function(s) {
|
|
1315
1319
|
(function(c, d) {
|
|
@@ -1318,7 +1322,7 @@ function yo() {
|
|
|
1318
1322
|
throw new Error("jQuery requires a window with a document");
|
|
1319
1323
|
return d(h);
|
|
1320
1324
|
};
|
|
1321
|
-
})(typeof window < "u" ? window :
|
|
1325
|
+
})(typeof window < "u" ? window : Ks, function(c, d) {
|
|
1322
1326
|
var h = [], T = Object.getPrototypeOf, L = h.slice, z = h.flat ? function(t) {
|
|
1323
1327
|
return h.flat.call(t);
|
|
1324
1328
|
} : function(t) {
|
|
@@ -1333,7 +1337,7 @@ function yo() {
|
|
|
1333
1337
|
nonce: !0,
|
|
1334
1338
|
noModule: !0
|
|
1335
1339
|
};
|
|
1336
|
-
function
|
|
1340
|
+
function xt(t, i, r) {
|
|
1337
1341
|
r = r || U;
|
|
1338
1342
|
var n, a, l = r.createElement("script");
|
|
1339
1343
|
if (l.text = t, i)
|
|
@@ -1437,7 +1441,7 @@ function yo() {
|
|
|
1437
1441
|
// Evaluates a script in a provided context; falls back to the global one
|
|
1438
1442
|
// if not specified.
|
|
1439
1443
|
globalEval: function(t, i, r) {
|
|
1440
|
-
|
|
1444
|
+
xt(t, { nonce: i && i.nonce }, r);
|
|
1441
1445
|
},
|
|
1442
1446
|
each: function(t, i) {
|
|
1443
1447
|
var r, n = 0;
|
|
@@ -1551,11 +1555,11 @@ function yo() {
|
|
|
1551
1555
|
// For use in libraries implementing .is()
|
|
1552
1556
|
// We use this for POS matching in `select`
|
|
1553
1557
|
needsContext: new RegExp("^" + j + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + j + "*((?:-\\d)?\\d*)" + j + "*\\)|)(?=[^-]|$)", "i")
|
|
1554
|
-
},
|
|
1558
|
+
}, At = /^(?:input|select|textarea|button)$/i, kt = /^h\d$/i, rt = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, dr = /[+~]/, yt = new RegExp("\\\\[\\da-fA-F]{1,6}" + j + "?|\\\\([^\\r\\n\\f])", "g"), bt = function(p, b) {
|
|
1555
1559
|
var E = "0x" + p.slice(1) - 65536;
|
|
1556
1560
|
return b || (E < 0 ? String.fromCharCode(E + 65536) : String.fromCharCode(E >> 10 | 55296, E & 1023 | 56320));
|
|
1557
1561
|
}, Qo = function() {
|
|
1558
|
-
|
|
1562
|
+
Lt();
|
|
1559
1563
|
}, es = Si(
|
|
1560
1564
|
function(p) {
|
|
1561
1565
|
return p.disabled === !0 && me(p, "fieldset");
|
|
@@ -1587,7 +1591,7 @@ function yo() {
|
|
|
1587
1591
|
var I, F, $, Y, X, se, te, re = b && b.ownerDocument, ae = b ? b.nodeType : 9;
|
|
1588
1592
|
if (E = E || [], typeof p != "string" || !p || ae !== 1 && ae !== 9 && ae !== 11)
|
|
1589
1593
|
return E;
|
|
1590
|
-
if (!N && (
|
|
1594
|
+
if (!N && (Lt(b), b = b || u, m)) {
|
|
1591
1595
|
if (ae !== 11 && (X = rt.exec(p)))
|
|
1592
1596
|
if (I = X[1]) {
|
|
1593
1597
|
if (ae === 9)
|
|
@@ -1671,7 +1675,7 @@ function yo() {
|
|
|
1671
1675
|
function hr(p) {
|
|
1672
1676
|
return p && typeof p.getElementsByTagName < "u" && p;
|
|
1673
1677
|
}
|
|
1674
|
-
function
|
|
1678
|
+
function Lt(p) {
|
|
1675
1679
|
var b, E = p ? p.ownerDocument || p : g;
|
|
1676
1680
|
return E == u || E.nodeType !== 9 || !E.documentElement || (u = E, y = u.documentElement, m = !o.isXMLDoc(u), P = y.matches || y.webkitMatchesSelector || y.msMatchesSelector, y.msMatchesSelector && // Support: IE 11+, Edge 17 - 18+
|
|
1677
1681
|
// IE/Edge sometimes throw a "Permission denied" error when strict-comparing
|
|
@@ -1738,7 +1742,7 @@ function yo() {
|
|
|
1738
1742
|
be.matches = function(p, b) {
|
|
1739
1743
|
return be(p, null, null, b);
|
|
1740
1744
|
}, be.matchesSelector = function(p, b) {
|
|
1741
|
-
if (
|
|
1745
|
+
if (Lt(p), m && !Oe[b + " "] && (!w || !w.test(b)))
|
|
1742
1746
|
try {
|
|
1743
1747
|
var E = P.call(p, b);
|
|
1744
1748
|
if (E || V.disconnectedMatch || // As well, disconnected nodes are said to be in a document
|
|
@@ -1750,9 +1754,9 @@ function yo() {
|
|
|
1750
1754
|
}
|
|
1751
1755
|
return be(b, u, null, [p]).length > 0;
|
|
1752
1756
|
}, be.contains = function(p, b) {
|
|
1753
|
-
return (p.ownerDocument || p) != u &&
|
|
1757
|
+
return (p.ownerDocument || p) != u && Lt(p), o.contains(p, b);
|
|
1754
1758
|
}, be.attr = function(p, b) {
|
|
1755
|
-
(p.ownerDocument || p) != u &&
|
|
1759
|
+
(p.ownerDocument || p) != u && Lt(p);
|
|
1756
1760
|
var E = i.attrHandle[b.toLowerCase()], N = E && ye.call(i.attrHandle, b.toLowerCase()) ? E(p, b, !m) : void 0;
|
|
1757
1761
|
return N !== void 0 ? N : p.getAttribute(b);
|
|
1758
1762
|
}, be.error = function(p) {
|
|
@@ -1931,10 +1935,10 @@ function yo() {
|
|
|
1931
1935
|
},
|
|
1932
1936
|
// Element/input types
|
|
1933
1937
|
header: function(p) {
|
|
1934
|
-
return
|
|
1938
|
+
return kt.test(p.nodeName);
|
|
1935
1939
|
},
|
|
1936
1940
|
input: function(p) {
|
|
1937
|
-
return
|
|
1941
|
+
return At.test(p.nodeName);
|
|
1938
1942
|
},
|
|
1939
1943
|
button: function(p) {
|
|
1940
1944
|
return me(p, "input") && p.type === "button" || me(p, "button");
|
|
@@ -2134,7 +2138,7 @@ function yo() {
|
|
|
2134
2138
|
var te, re, ae, J = 0, xe = "0", Ue = F && [], Be = [], nt = r, pt = F || N && i.find.TAG("*", se), Ut = A += nt == null ? 1 : Math.random() || 0.1, We = pt.length;
|
|
2135
2139
|
for (se && (r = $ == u || $ || se); xe !== We && (te = pt[xe]) != null; xe++) {
|
|
2136
2140
|
if (N && te) {
|
|
2137
|
-
for (re = 0, !$ && te.ownerDocument != u && (
|
|
2141
|
+
for (re = 0, !$ && te.ownerDocument != u && (Lt(te), Y = !m); ae = p[re++]; )
|
|
2138
2142
|
if (ae(te, $ || u, Y)) {
|
|
2139
2143
|
l.call(X, te);
|
|
2140
2144
|
break;
|
|
@@ -2200,9 +2204,9 @@ function yo() {
|
|
|
2200
2204
|
!b || dr.test(p) && hr(b.parentNode) || b
|
|
2201
2205
|
), E;
|
|
2202
2206
|
}
|
|
2203
|
-
V.sortStable = O.split("").sort(Pe).join("") === O,
|
|
2207
|
+
V.sortStable = O.split("").sort(Pe).join("") === O, Lt(), V.sortDetached = Yt(function(p) {
|
|
2204
2208
|
return p.compareDocumentPosition(u.createElement("fieldset")) & 1;
|
|
2205
|
-
}), o.find = be, o.expr[":"] = o.expr.pseudos, o.unique = o.uniqueSort, be.compile = vr, be.select = xn, be.setDocument =
|
|
2209
|
+
}), o.find = be, o.expr[":"] = o.expr.pseudos, o.unique = o.uniqueSort, be.compile = vr, be.select = xn, be.setDocument = Lt, be.tokenize = ui, be.escape = o.escapeSelector, be.getText = o.text, be.isXML = o.isXMLDoc, be.selectors = o.expr, be.support = o.support, be.uniqueSort = o.uniqueSort;
|
|
2206
2210
|
})();
|
|
2207
2211
|
var ge = function(t, i, r) {
|
|
2208
2212
|
for (var n = [], a = r !== void 0; (t = t[i]) && t.nodeType !== 9; )
|
|
@@ -2260,12 +2264,12 @@ function yo() {
|
|
|
2260
2264
|
).length;
|
|
2261
2265
|
}
|
|
2262
2266
|
});
|
|
2263
|
-
var Dt,
|
|
2267
|
+
var Dt, Tt = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/, Ft = o.fn.init = function(t, i, r) {
|
|
2264
2268
|
var n, a;
|
|
2265
2269
|
if (!t)
|
|
2266
2270
|
return this;
|
|
2267
2271
|
if (r = r || Dt, typeof t == "string")
|
|
2268
|
-
if (t[0] === "<" && t[t.length - 1] === ">" && t.length >= 3 ? n = [null, t, null] : n =
|
|
2272
|
+
if (t[0] === "<" && t[t.length - 1] === ">" && t.length >= 3 ? n = [null, t, null] : n = Tt.exec(t), n && (n[1] || !i))
|
|
2269
2273
|
if (n[1]) {
|
|
2270
2274
|
if (i = i instanceof o ? i[0] : i, o.merge(this, o.parseHTML(
|
|
2271
2275
|
n[1],
|
|
@@ -2341,7 +2345,7 @@ function yo() {
|
|
|
2341
2345
|
);
|
|
2342
2346
|
}
|
|
2343
2347
|
});
|
|
2344
|
-
function
|
|
2348
|
+
function St(t, i) {
|
|
2345
2349
|
for (; (t = t[i]) && t.nodeType !== 1; )
|
|
2346
2350
|
;
|
|
2347
2351
|
return t;
|
|
@@ -2358,10 +2362,10 @@ function yo() {
|
|
|
2358
2362
|
return ge(t, "parentNode", r);
|
|
2359
2363
|
},
|
|
2360
2364
|
next: function(t) {
|
|
2361
|
-
return
|
|
2365
|
+
return St(t, "nextSibling");
|
|
2362
2366
|
},
|
|
2363
2367
|
prev: function(t) {
|
|
2364
|
-
return
|
|
2368
|
+
return St(t, "previousSibling");
|
|
2365
2369
|
},
|
|
2366
2370
|
nextAll: function(t) {
|
|
2367
2371
|
return ge(t, "nextSibling");
|
|
@@ -2671,10 +2675,10 @@ function yo() {
|
|
|
2671
2675
|
(t === !0 ? --o.readyWait : o.isReady) || (o.isReady = !0, !(t !== !0 && --o.readyWait > 0) && It.resolveWith(U, [o]));
|
|
2672
2676
|
}
|
|
2673
2677
|
}), o.ready.then = It.then;
|
|
2674
|
-
function
|
|
2675
|
-
U.removeEventListener("DOMContentLoaded",
|
|
2678
|
+
function Et() {
|
|
2679
|
+
U.removeEventListener("DOMContentLoaded", Et), c.removeEventListener("load", Et), o.ready();
|
|
2676
2680
|
}
|
|
2677
|
-
U.readyState === "complete" || U.readyState !== "loading" && !U.documentElement.doScroll ? c.setTimeout(o.ready) : (U.addEventListener("DOMContentLoaded",
|
|
2681
|
+
U.readyState === "complete" || U.readyState !== "loading" && !U.documentElement.doScroll ? c.setTimeout(o.ready) : (U.addEventListener("DOMContentLoaded", Et), c.addEventListener("load", Et));
|
|
2678
2682
|
var tt = function(t, i, r, n, a, l, u) {
|
|
2679
2683
|
var y = 0, m = t.length, w = r == null;
|
|
2680
2684
|
if (Ve(r) === "object") {
|
|
@@ -2855,10 +2859,10 @@ function yo() {
|
|
|
2855
2859
|
return y(), a.promise(i);
|
|
2856
2860
|
}
|
|
2857
2861
|
});
|
|
2858
|
-
var Vt = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source, Ht = new RegExp("^(?:([+-])=|)(" + Vt + ")([a-z%]*)$", "i"), Xe = ["Top", "Right", "Bottom", "Left"], ct = U.documentElement,
|
|
2862
|
+
var Vt = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source, Ht = new RegExp("^(?:([+-])=|)(" + Vt + ")([a-z%]*)$", "i"), Xe = ["Top", "Right", "Bottom", "Left"], ct = U.documentElement, Ct = function(t) {
|
|
2859
2863
|
return o.contains(t.ownerDocument, t);
|
|
2860
2864
|
}, Ki = { composed: !0 };
|
|
2861
|
-
ct.getRootNode && (
|
|
2865
|
+
ct.getRootNode && (Ct = function(t) {
|
|
2862
2866
|
return o.contains(t.ownerDocument, t) || t.getRootNode(Ki) === t.ownerDocument;
|
|
2863
2867
|
});
|
|
2864
2868
|
var it = function(t, i) {
|
|
@@ -2866,7 +2870,7 @@ function yo() {
|
|
|
2866
2870
|
// Support: Firefox <=43 - 45
|
|
2867
2871
|
// Disconnected elements can have computed display: none, so first confirm that elem is
|
|
2868
2872
|
// in the document.
|
|
2869
|
-
|
|
2873
|
+
Ct(t) && o.css(t, "display") === "none";
|
|
2870
2874
|
};
|
|
2871
2875
|
function ri(t, i, r, n) {
|
|
2872
2876
|
var a, l, u = 20, y = n ? function() {
|
|
@@ -2952,7 +2956,7 @@ function yo() {
|
|
|
2952
2956
|
a && a.push(l);
|
|
2953
2957
|
continue;
|
|
2954
2958
|
}
|
|
2955
|
-
if (w =
|
|
2959
|
+
if (w = Ct(l), u = Ce(O.appendChild(l), "script"), w && vt(u), r)
|
|
2956
2960
|
for (P = 0; l = u[P++]; )
|
|
2957
2961
|
Ke.test(l.type || "") && r.push(l);
|
|
2958
2962
|
}
|
|
@@ -3308,13 +3312,13 @@ function yo() {
|
|
|
3308
3312
|
for (w = u[u.length - 1].ownerDocument, o.map(u, Eo), P = 0; P < y; P++)
|
|
3309
3313
|
m = u[P], Ke.test(m.type || "") && !M.access(m, "globalEval") && o.contains(w, m) && (m.src && (m.type || "").toLowerCase() !== "module" ? o._evalUrl && !m.noModule && o._evalUrl(m.src, {
|
|
3310
3314
|
nonce: m.nonce || m.getAttribute("nonce")
|
|
3311
|
-
}, w) :
|
|
3315
|
+
}, w) : xt(m.textContent.replace(To, ""), m, w));
|
|
3312
3316
|
}
|
|
3313
3317
|
return t;
|
|
3314
3318
|
}
|
|
3315
3319
|
function Kr(t, i, r) {
|
|
3316
3320
|
for (var n, a = i ? o.filter(i, t) : t, l = 0; (n = a[l]) != null; l++)
|
|
3317
|
-
!r && n.nodeType === 1 && o.cleanData(Ce(n)), n.parentNode && (r &&
|
|
3321
|
+
!r && n.nodeType === 1 && o.cleanData(Ce(n)), n.parentNode && (r && Ct(n) && vt(Ce(n, "script")), n.parentNode.removeChild(n));
|
|
3318
3322
|
return t;
|
|
3319
3323
|
}
|
|
3320
3324
|
o.extend({
|
|
@@ -3322,7 +3326,7 @@ function yo() {
|
|
|
3322
3326
|
return t;
|
|
3323
3327
|
},
|
|
3324
3328
|
clone: function(t, i, r) {
|
|
3325
|
-
var n, a, l, u, y = t.cloneNode(!0), m =
|
|
3329
|
+
var n, a, l, u, y = t.cloneNode(!0), m = Ct(t);
|
|
3326
3330
|
if (!V.noCloneChecked && (t.nodeType === 1 || t.nodeType === 11) && !o.isXMLDoc(t))
|
|
3327
3331
|
for (u = Ce(y), l = Ce(t), n = 0, a = l.length; n < a; n++)
|
|
3328
3332
|
Co(l[n], u[n]);
|
|
@@ -3490,7 +3494,7 @@ function yo() {
|
|
|
3490
3494
|
})();
|
|
3491
3495
|
function ni(t, i, r) {
|
|
3492
3496
|
var n, a, l, u, y = er.test(i), m = t.style;
|
|
3493
|
-
return r = r || yi(t), r && (u = r.getPropertyValue(i) || r[i], y && u && (u = u.replace(C, "$1") || void 0), u === "" && !
|
|
3497
|
+
return r = r || yi(t), r && (u = r.getPropertyValue(i) || r[i], y && u && (u = u.replace(C, "$1") || void 0), u === "" && !Ct(t) && (u = o.style(t, i)), !V.pixelBoxStyles() && Qi.test(u) && Ao.test(i) && (n = m.width, a = m.minWidth, l = m.maxWidth, m.minWidth = m.maxWidth = m.width = u, u = r.width, m.width = n, m.minWidth = a, m.maxWidth = l)), u !== void 0 ? (
|
|
3494
3498
|
// Support: IE <=9 - 11 only
|
|
3495
3499
|
// IE returns zIndex value as an integer.
|
|
3496
3500
|
u + ""
|
|
@@ -4526,9 +4530,9 @@ function yo() {
|
|
|
4526
4530
|
}
|
|
4527
4531
|
}
|
|
4528
4532
|
function qt(he, Se, li, fr) {
|
|
4529
|
-
var dt, ci, ht,
|
|
4530
|
-
m || (m = !0, u && c.clearTimeout(u), r = void 0, a = fr || "", ce.readyState = he > 0 ? 4 : 0, dt = he >= 200 && he < 300 || he === 304, li && (
|
|
4531
|
-
}),
|
|
4533
|
+
var dt, ci, ht, At, kt, rt = Se;
|
|
4534
|
+
m || (m = !0, u && c.clearTimeout(u), r = void 0, a = fr || "", ce.readyState = he > 0 ? 4 : 0, dt = he >= 200 && he < 300 || he === 304, li && (At = Yo(A, ce, li)), !dt && o.inArray("script", A.dataTypes) > -1 && o.inArray("json", A.dataTypes) < 0 && (A.converters["text script"] = function() {
|
|
4535
|
+
}), At = Uo(A, At, ce, dt), dt ? (A.ifModified && (kt = ce.getResponseHeader("Last-Modified"), kt && (o.lastModified[n] = kt), kt = ce.getResponseHeader("etag"), kt && (o.etag[n] = kt)), he === 204 || A.type === "HEAD" ? rt = "nocontent" : he === 304 ? rt = "notmodified" : (rt = At.state, ci = At.data, ht = At.error, dt = !ht)) : (ht = rt, (he || !rt) && (rt = "error", he < 0 && (he = 0))), ce.status = he, ce.statusText = (Se || rt) + "", dt ? de.resolveWith(R, [ci, rt, ce]) : de.rejectWith(R, [ce, rt, ht]), ce.statusCode(Oe), Oe = void 0, w && ie.trigger(
|
|
4532
4536
|
dt ? "ajaxSuccess" : "ajaxError",
|
|
4533
4537
|
[ce, A, dt ? ci : ht]
|
|
4534
4538
|
), ne.fireWith(R, [ce, rt]), w && (ie.trigger("ajaxComplete", [ce, A]), --o.active || o.event.trigger("ajaxStop")));
|
|
@@ -4916,10 +4920,10 @@ function yo() {
|
|
|
4916
4920
|
});
|
|
4917
4921
|
})(Pi)), Pi.exports;
|
|
4918
4922
|
}
|
|
4919
|
-
var
|
|
4920
|
-
const Qt = /* @__PURE__ */
|
|
4923
|
+
var Js = yo();
|
|
4924
|
+
const Qt = /* @__PURE__ */ Zs(Js);
|
|
4921
4925
|
var xr = { exports: {} }, kn;
|
|
4922
|
-
function
|
|
4926
|
+
function Qs() {
|
|
4923
4927
|
return kn || (kn = 1, (function(s, c) {
|
|
4924
4928
|
(function(d) {
|
|
4925
4929
|
s.exports = d(yo());
|
|
@@ -4952,7 +4956,7 @@ function Js() {
|
|
|
4952
4956
|
}
|
|
4953
4957
|
var U = _.MutationObserver || _.WebKitMutationObserver || !1, pe = Date.now || function() {
|
|
4954
4958
|
return (/* @__PURE__ */ new Date()).getTime();
|
|
4955
|
-
},
|
|
4959
|
+
}, xt = {
|
|
4956
4960
|
zindex: "auto",
|
|
4957
4961
|
cursoropacitymin: 0,
|
|
4958
4962
|
cursoropacitymax: 1,
|
|
@@ -5050,7 +5054,7 @@ function Js() {
|
|
|
5050
5054
|
doc: Z,
|
|
5051
5055
|
win: !1
|
|
5052
5056
|
};
|
|
5053
|
-
if (k.extend(g,
|
|
5057
|
+
if (k.extend(g, xt), g.snapbackspeed = 80, j)
|
|
5054
5058
|
for (var De in g)
|
|
5055
5059
|
j[De] !== void 0 && (g[De] = j[De]);
|
|
5056
5060
|
if (g.disablemutationobserver && (U = !1), this.doc = g.doc, this.iddoc = this.doc && this.doc[0] && this.doc[0].id || "", this.ispage = /^BODY|HTML/.test(g.win ? g.win[0].nodeName : this.doc[0].nodeName), this.haswrapper = g.win !== !1, this.win = g.win || (this.ispage ? ye : this.doc), this.docscroll = this.ispage && !this.haswrapper ? ye : this.win, this.body = Z, this.viewport = !1, this.isfixed = !1, this.iframe = !1, this.isiframe = this.doc[0].nodeName == "IFRAME" && this.win[0].nodeName == "IFRAME", this.istextarea = this.win[0].nodeName == "TEXTAREA", this.forcescreen = !1, this.canshowonmouseevent = g.autohidemode != "scroll", this.onmousedown = !1, this.onmouseup = !1, this.onmousemove = !1, this.onmousewheel = !1, this.onkeypress = !1, this.ongesturezoom = !1, this.onclick = !1, this.onscrollstart = !1, this.onscrollend = !1, this.onscrollcancel = !1, this.onzoomin = !1, this.onzoomout = !1, this.view = !1, this.page = !1, this.scroll = {
|
|
@@ -5179,7 +5183,7 @@ function Js() {
|
|
|
5179
5183
|
S = S.parentNode || !1;
|
|
5180
5184
|
return S !== !1;
|
|
5181
5185
|
};
|
|
5182
|
-
function
|
|
5186
|
+
function Tt() {
|
|
5183
5187
|
var f = e.win;
|
|
5184
5188
|
if ("zIndex" in f) return f.zIndex();
|
|
5185
5189
|
for (; f.length > 0; ) {
|
|
@@ -5261,7 +5265,7 @@ function Js() {
|
|
|
5261
5265
|
if (e.saved.css = [], B.isoperamini || B.isandroid && !("hidden" in q)) return !0;
|
|
5262
5266
|
g.emulatetouch = g.emulatetouch || g.touchbehavior, e.hasborderbox = _.getComputedStyle && _.getComputedStyle(q.body)["box-sizing"] === "border-box";
|
|
5263
5267
|
var f = { "overflow-y": "hidden" };
|
|
5264
|
-
if ((B.isie11 || B.isie10) && (f["-ms-overflow-style"] = "none"), e.ishwscroll && (this.doc.css(B.transitionstyle, B.prefixstyle + "transform 0ms ease-out"), B.transitionend && e.bind(e.doc, B.transitionend, e.onScrollTransitionEnd, !1)), e.zindex = "auto", !e.ispage && g.zindex == "auto" ? e.zindex =
|
|
5268
|
+
if ((B.isie11 || B.isie10) && (f["-ms-overflow-style"] = "none"), e.ishwscroll && (this.doc.css(B.transitionstyle, B.prefixstyle + "transform 0ms ease-out"), B.transitionend && e.bind(e.doc, B.transitionend, e.onScrollTransitionEnd, !1)), e.zindex = "auto", !e.ispage && g.zindex == "auto" ? e.zindex = Tt() || "auto" : e.zindex = g.zindex, !e.ispage && e.zindex != "auto" && e.zindex > D && (D = e.zindex), e.isie && e.zindex === 0 && g.zindex == "auto" && (e.zindex = "auto"), !e.ispage || !B.isieold) {
|
|
5265
5269
|
var v = e.docscroll;
|
|
5266
5270
|
e.ispage && (v = e.haswrapper ? e.win : e.doc), e.css(v, f), e.ispage && (B.isie11 || B.isie) && e.css(k("html"), f), B.isios && !e.ispage && !e.haswrapper && e.css(Z, {
|
|
5267
5271
|
"-webkit-overflow-scrolling": "touch"
|
|
@@ -5707,9 +5711,9 @@ function Js() {
|
|
|
5707
5711
|
}), e.bind(_, "blur", function(x) {
|
|
5708
5712
|
e.wheelprevented = !1;
|
|
5709
5713
|
}), e.bind(_, "resize", e.onscreenresize), e.bind(_, "orientationchange", e.onscreenresize), e.bind(_, "load", e.lazyResize), B.ischrome && !e.ispage && !e.haswrapper) {
|
|
5710
|
-
var
|
|
5714
|
+
var Ct = e.win.attr("style"), Ki = parseFloat(e.win.css("width")) + 1;
|
|
5711
5715
|
e.win.css("width", Ki), e.synched("chromefix", function() {
|
|
5712
|
-
e.win.attr("style",
|
|
5716
|
+
e.win.attr("style", Ct);
|
|
5713
5717
|
});
|
|
5714
5718
|
}
|
|
5715
5719
|
if (e.onAttributeChange = function(x) {
|
|
@@ -5870,7 +5874,7 @@ function Js() {
|
|
|
5870
5874
|
e && e.resize(), Ie = 0;
|
|
5871
5875
|
}, f), e;
|
|
5872
5876
|
};
|
|
5873
|
-
function
|
|
5877
|
+
function St(f, v, S, H) {
|
|
5874
5878
|
e._bind(f, v, function(W) {
|
|
5875
5879
|
W = W || _.event;
|
|
5876
5880
|
var M = {
|
|
@@ -5903,7 +5907,7 @@ function Js() {
|
|
|
5903
5907
|
e._bind(H, "wheel", v, S || !1);
|
|
5904
5908
|
else {
|
|
5905
5909
|
var W = q.onmousewheel !== void 0 ? "mousewheel" : "DOMMouseScroll";
|
|
5906
|
-
|
|
5910
|
+
St(H, W, v, S || !1), W == "DOMMouseScroll" && St(H, "MozMousePixelScroll", v, S || !1);
|
|
5907
5911
|
}
|
|
5908
5912
|
};
|
|
5909
5913
|
var He = !1;
|
|
@@ -6105,10 +6109,10 @@ function Js() {
|
|
|
6105
6109
|
e.lastdeltax = 0, e.rail.drag || e.doScrollPos(Re, oe);
|
|
6106
6110
|
});
|
|
6107
6111
|
}
|
|
6108
|
-
var
|
|
6112
|
+
var Et = !1;
|
|
6109
6113
|
function tt(f, v, S) {
|
|
6110
6114
|
var H, W;
|
|
6111
|
-
if (!S &&
|
|
6115
|
+
if (!S && Et) return !0;
|
|
6112
6116
|
if (f.deltaMode === 0 ? (H = -(f.deltaX * (g.mousescrollstep / 54)) | 0, W = -(f.deltaY * (g.mousescrollstep / 54)) | 0) : f.deltaMode === 1 && (H = -(f.deltaX * g.mousescrollstep * 50 / 80) | 0, W = -(f.deltaY * g.mousescrollstep * 50 / 80) | 0), v && g.oneaxismousemode && H === 0 && W && (H = W, W = 0, S)) {
|
|
6113
6117
|
var M = H < 0 ? e.getScrollLeft() >= e.page.maxw : e.getScrollLeft() <= 0;
|
|
6114
6118
|
M && (W = H, H = 0);
|
|
@@ -6116,9 +6120,9 @@ function Js() {
|
|
|
6116
6120
|
e.isrtlmode && (H = -H);
|
|
6117
6121
|
var ee = It(H, W, S, !0);
|
|
6118
6122
|
if (ee)
|
|
6119
|
-
S && (
|
|
6123
|
+
S && (Et = !0);
|
|
6120
6124
|
else
|
|
6121
|
-
return
|
|
6125
|
+
return Et = !1, f.stopImmediatePropagation(), f.preventDefault();
|
|
6122
6126
|
}
|
|
6123
6127
|
if (this.onmousewheel = function(f) {
|
|
6124
6128
|
if (e.wheelprevented || e.locked) return !1;
|
|
@@ -6312,19 +6316,19 @@ function Js() {
|
|
|
6312
6316
|
(ge < 0 || ge > le || De < 0 || De > B) && (Te = !1);
|
|
6313
6317
|
var Ge = C.speedy && Te ? C.speedy : !1, Dt = C.speedx && Te ? C.speedx : !1;
|
|
6314
6318
|
if (Ge || Dt) {
|
|
6315
|
-
var
|
|
6316
|
-
if (
|
|
6317
|
-
var Ft =
|
|
6318
|
-
C.speedx *= Ft, C.speedy *= Ft,
|
|
6319
|
+
var Tt = Math.max(16, C.steptime);
|
|
6320
|
+
if (Tt > 50) {
|
|
6321
|
+
var Ft = Tt / 50;
|
|
6322
|
+
C.speedx *= Ft, C.speedy *= Ft, Tt = 50;
|
|
6319
6323
|
}
|
|
6320
6324
|
C.demulxy = 0, C.lastscrollx = C.nc.getScrollLeft(), C.chkx = C.lastscrollx, C.lastscrolly = C.nc.getScrollTop(), C.chky = C.lastscrolly;
|
|
6321
|
-
var ze = C.lastscrollx, Ie = C.lastscrolly,
|
|
6325
|
+
var ze = C.lastscrollx, Ie = C.lastscrolly, St = function() {
|
|
6322
6326
|
var He = pe() - Z > 600 ? 0.04 : 0.02;
|
|
6323
6327
|
C.speedx && (ze = Math.floor(C.lastscrollx - C.speedx * (1 - C.demulxy)), C.lastscrollx = ze, (ze < 0 || ze > B) && (He = 0.1)), C.speedy && (Ie = Math.floor(C.lastscrolly - C.speedy * (1 - C.demulxy)), C.lastscrolly = Ie, (Ie < 0 || Ie > le) && (He = 0.1)), C.demulxy = Math.min(1, C.demulxy + He), C.nc.synched("domomentum2d", function() {
|
|
6324
6328
|
C.speedx && (C.nc.getScrollLeft(), C.chkx = ze, C.nc.setScrollLeft(ze)), C.speedy && (C.nc.getScrollTop(), C.chky = Ie, C.nc.setScrollTop(Ie)), C.timer || (C.nc.hideCursor(), C.doSnapy(ze, Ie));
|
|
6325
|
-
}), C.demulxy < 1 ? C.timer = setTimeout(
|
|
6329
|
+
}), C.demulxy < 1 ? C.timer = setTimeout(St, Tt) : (C.stop(), C.nc.hideCursor(), C.doSnapy(ze, Ie));
|
|
6326
6330
|
};
|
|
6327
|
-
|
|
6331
|
+
St();
|
|
6328
6332
|
} else
|
|
6329
6333
|
C.doSnapy(C.nc.getScrollLeft(), C.nc.getScrollTop());
|
|
6330
6334
|
};
|
|
@@ -6421,13 +6425,13 @@ function Js() {
|
|
|
6421
6425
|
getjQuery: function() {
|
|
6422
6426
|
return d;
|
|
6423
6427
|
}
|
|
6424
|
-
}, k.nicescroll || (k.nicescroll = new Wt(), k.nicescroll.options =
|
|
6428
|
+
}, k.nicescroll || (k.nicescroll = new Wt(), k.nicescroll.options = xt);
|
|
6425
6429
|
});
|
|
6426
6430
|
})(xr)), xr.exports;
|
|
6427
6431
|
}
|
|
6428
|
-
|
|
6432
|
+
Qs();
|
|
6429
6433
|
const Ur = ".bloom-translationGroup:not(.bloom-imageDescription) .bloom-editable.bloom-visibility-code-on, .scrollable";
|
|
6430
|
-
function
|
|
6434
|
+
function Ca(s, c) {
|
|
6431
6435
|
if (s.classList.contains("cover"))
|
|
6432
6436
|
return;
|
|
6433
6437
|
const d = Fr(s);
|
|
@@ -6462,11 +6466,11 @@ function Ea(s, c) {
|
|
|
6462
6466
|
Ee.forEach((pe) => {
|
|
6463
6467
|
if (L++, U.unobserve(pe.target), !pe.target.parentElement)
|
|
6464
6468
|
return;
|
|
6465
|
-
const
|
|
6469
|
+
const xt = !!pe.target.closest(
|
|
6466
6470
|
ji
|
|
6467
6471
|
);
|
|
6468
6472
|
let Ve = pe.intersectionRatio < 0.999;
|
|
6469
|
-
if (Ve &&
|
|
6473
|
+
if (Ve && xt) {
|
|
6470
6474
|
let $e = 0.6;
|
|
6471
6475
|
(pe.target != pe.target.parentElement?.firstElementChild || pe.target != pe.target.parentElement.lastElementChild) && ($e /= 2);
|
|
6472
6476
|
const ti = (1 - pe.intersectionRatio) * pe.target.clientHeight, o = window.getComputedStyle(
|
|
@@ -6497,7 +6501,7 @@ function Ea(s, c) {
|
|
|
6497
6501
|
"bloom-vertical-align-bottom"
|
|
6498
6502
|
), d && $e.classList.add(
|
|
6499
6503
|
"bloom-vertical-align-bottom-removed"
|
|
6500
|
-
)),
|
|
6504
|
+
)), xt && pe.target.parentElement.classList.add(
|
|
6501
6505
|
"scrolling-bubble"
|
|
6502
6506
|
);
|
|
6503
6507
|
}
|
|
@@ -6512,7 +6516,7 @@ function Ea(s, c) {
|
|
|
6512
6516
|
cursoropacitymax: 0.1,
|
|
6513
6517
|
cursorborderradius: V
|
|
6514
6518
|
// Make the corner more rounded than the 5px default.
|
|
6515
|
-
}),
|
|
6519
|
+
}), ta(
|
|
6516
6520
|
s,
|
|
6517
6521
|
c
|
|
6518
6522
|
), h = []);
|
|
@@ -6524,7 +6528,7 @@ function Ea(s, c) {
|
|
|
6524
6528
|
});
|
|
6525
6529
|
}
|
|
6526
6530
|
}
|
|
6527
|
-
function
|
|
6531
|
+
function ea(s) {
|
|
6528
6532
|
for (var c = s && s.parentNode ? s.parentNode : null; c && c.nodeType === Node.ELEMENT_NODE && !/^BODY|HTML/.test(c.nodeName); ) {
|
|
6529
6533
|
const d = window.getComputedStyle(c), h = d.getPropertyValue("position");
|
|
6530
6534
|
if (/fixed|absolute/.test(h)) return c;
|
|
@@ -6540,7 +6544,7 @@ function bo(s, c) {
|
|
|
6540
6544
|
const L = c.parentElement;
|
|
6541
6545
|
if (!L || !L.classList.contains("bloom-translationGroup"))
|
|
6542
6546
|
return { topAdjust: d, leftAdjust: h, thumbWidth: T };
|
|
6543
|
-
if (
|
|
6547
|
+
if (ea(c)) {
|
|
6544
6548
|
const D = window.getComputedStyle(L), k = D.getPropertyValue("padding-top") || "0", q = D.getPropertyValue("padding-left") || "0";
|
|
6545
6549
|
d = parseFloat(k) * (s - 1), h = parseFloat(q) * (s - 1);
|
|
6546
6550
|
} else {
|
|
@@ -6554,7 +6558,7 @@ function bo(s, c) {
|
|
|
6554
6558
|
}
|
|
6555
6559
|
return { topAdjust: d, leftAdjust: h, thumbWidth: T };
|
|
6556
6560
|
}
|
|
6557
|
-
function
|
|
6561
|
+
function ta(s, c) {
|
|
6558
6562
|
if (s.removeEventListener(
|
|
6559
6563
|
"pointerdown",
|
|
6560
6564
|
Ln
|
|
@@ -6571,7 +6575,7 @@ function ea(s, c) {
|
|
|
6571
6575
|
}
|
|
6572
6576
|
);
|
|
6573
6577
|
}
|
|
6574
|
-
function
|
|
6578
|
+
function Aa(s, c) {
|
|
6575
6579
|
s.querySelectorAll(Ur).forEach(
|
|
6576
6580
|
(d) => {
|
|
6577
6581
|
const h = Qt(d).getNiceScroll();
|
|
@@ -6585,7 +6589,7 @@ function Ca(s, c) {
|
|
|
6585
6589
|
function Ln(s) {
|
|
6586
6590
|
s.target instanceof HTMLDivElement && s.target.classList.contains("nicescroll-cursors") && (s.target.setPointerCapture(s.pointerId), s.pointerType === "mouse" && s.stopPropagation());
|
|
6587
6591
|
}
|
|
6588
|
-
function
|
|
6592
|
+
function ka() {
|
|
6589
6593
|
Qt("div.bloom-page")[0]?.querySelectorAll(Ur).forEach((s) => {
|
|
6590
6594
|
const c = Qt(
|
|
6591
6595
|
s
|
|
@@ -6603,7 +6607,7 @@ function Aa() {
|
|
|
6603
6607
|
), d.classList.add("bloom-vertical-align-bottom")), s.style.overflow = "", s.style.outline = "", s.style.width = "");
|
|
6604
6608
|
});
|
|
6605
6609
|
}
|
|
6606
|
-
class
|
|
6610
|
+
class ia {
|
|
6607
6611
|
static getActualUrlFromCSSPropertyValue(c) {
|
|
6608
6612
|
const d = c.match(/.*url\((['"])(.*?)\1\).*/i);
|
|
6609
6613
|
return d ? d[2] : "";
|
|
@@ -6708,7 +6712,7 @@ const gt = class gt {
|
|
|
6708
6712
|
const h = gt.getAnimationCanvas(c);
|
|
6709
6713
|
if (this.animationEngine && this.animationEngine.endAnimation(), h) {
|
|
6710
6714
|
const T = h.getAttribute("data-initialrect"), L = h.getAttribute("data-finalrect");
|
|
6711
|
-
this.animationEngine = new
|
|
6715
|
+
this.animationEngine = new ra(
|
|
6712
6716
|
T,
|
|
6713
6717
|
L,
|
|
6714
6718
|
this.animationDuration,
|
|
@@ -6734,7 +6738,7 @@ const gt = class gt {
|
|
|
6734
6738
|
"data-aspectRatio",
|
|
6735
6739
|
(z.naturalWidth / z.naturalHeight).toString()
|
|
6736
6740
|
), this.placeAnimationWrapper(d), this.createAndPlayAnimation(c, T);
|
|
6737
|
-
}), z.src =
|
|
6741
|
+
}), z.src = ia.getActualUrlFromCSSPropertyValue(
|
|
6738
6742
|
h.style.backgroundImage
|
|
6739
6743
|
);
|
|
6740
6744
|
} else
|
|
@@ -6819,7 +6823,7 @@ const gt = class gt {
|
|
|
6819
6823
|
};
|
|
6820
6824
|
gt.wrapperClassName = "bloom-ui-animationWrapper";
|
|
6821
6825
|
let Nn = gt;
|
|
6822
|
-
class
|
|
6826
|
+
class ra {
|
|
6823
6827
|
//initial and final rect strings come in as space-separated "left top width height"
|
|
6824
6828
|
// all four of these parameters are reperesented as fractions of the canvas
|
|
6825
6829
|
//duration is the length of the animation in seconds
|
|
@@ -6880,73 +6884,75 @@ export {
|
|
|
6880
6884
|
Ii as PageNarrationComplete,
|
|
6881
6885
|
Er as PlayCompleted,
|
|
6882
6886
|
Tn as PlayFailed,
|
|
6883
|
-
|
|
6887
|
+
ca as PlayUnblocked,
|
|
6884
6888
|
ss as PlaybackMode,
|
|
6885
6889
|
Hi as ToggleImageDescription,
|
|
6886
|
-
|
|
6887
|
-
|
|
6888
|
-
|
|
6889
|
-
|
|
6890
|
+
ra as TransformBasedAnimator,
|
|
6891
|
+
fa as abortNarrationPlayback,
|
|
6892
|
+
Ca as addScrollbarsToPage,
|
|
6893
|
+
Bs as adjustDraggablesForLanguage,
|
|
6890
6894
|
Rr as cancelVideoFirstFramePriming,
|
|
6891
6895
|
jt as classSetter,
|
|
6892
|
-
|
|
6893
|
-
|
|
6894
|
-
|
|
6895
|
-
|
|
6896
|
+
Ws as cleanupActivitySounds,
|
|
6897
|
+
ka as cleanupNiceScroll,
|
|
6898
|
+
ga as computeDuration,
|
|
6899
|
+
Us as copyContentToTarget,
|
|
6900
|
+
Un as currentAudioUrl,
|
|
6896
6901
|
ei as currentPlaybackMode,
|
|
6897
6902
|
vo as doShowAnswersInTargets,
|
|
6898
|
-
|
|
6903
|
+
Sa as draggingSlider,
|
|
6899
6904
|
Tr as durationReporter,
|
|
6900
|
-
|
|
6901
|
-
|
|
6905
|
+
Aa as fixNiceScrollOffsets,
|
|
6906
|
+
Rs as getAudioSentencesOfVisibleEditables,
|
|
6902
6907
|
ds as getCurrentNarrationPage,
|
|
6908
|
+
Ss as getNarrationFileName,
|
|
6903
6909
|
Yr as getTarget,
|
|
6904
6910
|
Mn as getUrlPrefixFromWindowHref,
|
|
6905
6911
|
Ri as hideVideoAutoplayBlockedHint,
|
|
6906
|
-
|
|
6907
|
-
|
|
6908
|
-
|
|
6912
|
+
Hs as hideVideoError,
|
|
6913
|
+
ma as hidingPage,
|
|
6914
|
+
zs as isDefiniteVideoPlaybackSupportFailure,
|
|
6909
6915
|
Pn as isSwipeInProgress,
|
|
6910
|
-
|
|
6911
|
-
|
|
6916
|
+
xa as isTheTextInDraggablesTheSame,
|
|
6917
|
+
Ds as isTransientVideoPlayFailure,
|
|
6912
6918
|
Mi as kAudioSentence,
|
|
6913
6919
|
us as kHighlightSegmentClass,
|
|
6914
6920
|
ji as kLegacyCanvasElementSelector,
|
|
6915
6921
|
Ur as kSelectorForPotentialNiceScrollElements,
|
|
6916
|
-
|
|
6922
|
+
na as listenForPlayDuration,
|
|
6917
6923
|
Dn as logNarration,
|
|
6918
|
-
|
|
6919
|
-
|
|
6924
|
+
da as pageHasAudio,
|
|
6925
|
+
pa as pauseNarration,
|
|
6920
6926
|
lo as performCheck,
|
|
6921
6927
|
co as performTryAgain,
|
|
6922
6928
|
gi as playAllAudio,
|
|
6923
6929
|
hs as playAllSentences,
|
|
6924
6930
|
jr as playAllVideo,
|
|
6925
|
-
|
|
6926
|
-
|
|
6927
|
-
|
|
6931
|
+
_s as playCorrectOrWrongSound,
|
|
6932
|
+
ba as playInitialElements,
|
|
6933
|
+
ha as playNarration,
|
|
6928
6934
|
Jn as playSoundOf,
|
|
6929
|
-
|
|
6930
|
-
|
|
6935
|
+
Fs as preloadSoundsForActivity,
|
|
6936
|
+
va as prepareActivity,
|
|
6931
6937
|
fs as setCurrentPage,
|
|
6932
6938
|
Kt as setCurrentPlaybackMode,
|
|
6933
|
-
|
|
6934
|
-
|
|
6935
|
-
|
|
6936
|
-
|
|
6939
|
+
Ta as setDefaultSoundUrls,
|
|
6940
|
+
la as setDurationOfPagesWithoutNarration,
|
|
6941
|
+
ua as setIncludeImageDescriptions,
|
|
6942
|
+
sa as setLogNarration,
|
|
6937
6943
|
as as setPlayerUrlPrefix,
|
|
6938
|
-
|
|
6939
|
-
|
|
6940
|
-
|
|
6941
|
-
|
|
6942
|
-
|
|
6944
|
+
aa as setPlayerUrlPrefixFromWindowLocationHref,
|
|
6945
|
+
wa as setReportScore,
|
|
6946
|
+
oa as setTestIsSwipeInProgress,
|
|
6947
|
+
ta as setupSpecialMouseTrackingForNiceScroll,
|
|
6948
|
+
Ea as setupWordChooserSlider,
|
|
6943
6949
|
Gn as showVideoAutoplayBlockedHint,
|
|
6944
6950
|
Sn as showVideoError,
|
|
6945
|
-
|
|
6946
|
-
|
|
6951
|
+
Ms as showVideoFirstFrameWhenReady,
|
|
6952
|
+
js as shuffle,
|
|
6947
6953
|
ls as sortAudioElements,
|
|
6948
6954
|
qr as stopPlayAllVideoPlayback,
|
|
6949
|
-
|
|
6955
|
+
ya as undoPrepareActivity,
|
|
6950
6956
|
Pr as urlPrefix
|
|
6951
6957
|
};
|
|
6952
6958
|
//# sourceMappingURL=shared.es.js.map
|