labmaker-plugin 0.0.259 → 0.0.260
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/labmaker-plugin.js +178 -175
- package/dist/labmaker-plugin.umd.cjs +8 -8
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/labmaker-plugin.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { openBlock as B, createElementBlock as V, Fragment as D, createElementVNode as
|
|
2
|
-
const
|
|
1
|
+
import { openBlock as B, createElementBlock as V, Fragment as D, createElementVNode as U, toDisplayString as j, normalizeClass as P, createCommentVNode as N, resolveComponent as y, normalizeStyle as D2, createBlock as _, withModifiers as p2, withCtx as k, createTextVNode as s2, createVNode as X, renderList as f2, renderSlot as Nn, defineComponent as i0, computed as L2, watch as En, h as A5 } from "vue";
|
|
2
|
+
const i2 = (A, c) => {
|
|
3
3
|
const e = A.__vccOpts || A;
|
|
4
4
|
for (const [a, r] of c)
|
|
5
5
|
e[a] = r;
|
|
@@ -23,21 +23,21 @@ const t2 = (A, c) => {
|
|
|
23
23
|
},
|
|
24
24
|
mounted() {
|
|
25
25
|
}
|
|
26
|
-
}, In = /* @__PURE__ */
|
|
26
|
+
}, In = /* @__PURE__ */ U("h1", null, "File Uploader", -1), Tn = { class: "image-uploader" }, Dn = /* @__PURE__ */ U("h1", null, "File Uploader", -1), Kn = { class: "your-file" }, Rn = ["src"];
|
|
27
27
|
function _n(A, c, e, a, r, s) {
|
|
28
28
|
return B(), V(D, null, [
|
|
29
29
|
In,
|
|
30
|
-
|
|
30
|
+
U("div", Tn, [
|
|
31
31
|
Dn,
|
|
32
|
-
|
|
32
|
+
U("input", {
|
|
33
33
|
onChange: c[0] || (c[0] = (...t) => s.fileUpload && s.fileUpload(...t)),
|
|
34
34
|
type: "file",
|
|
35
35
|
id: "file-upload",
|
|
36
36
|
name: "fileUpload",
|
|
37
37
|
accept: "image/*"
|
|
38
38
|
}, null, 32),
|
|
39
|
-
|
|
40
|
-
|
|
39
|
+
U("div", Kn, [
|
|
40
|
+
U("img", {
|
|
41
41
|
src: r.imgSRC,
|
|
42
42
|
alt: "",
|
|
43
43
|
scrset: ""
|
|
@@ -46,7 +46,7 @@ function _n(A, c, e, a, r, s) {
|
|
|
46
46
|
])
|
|
47
47
|
], 64);
|
|
48
48
|
}
|
|
49
|
-
const On = /* @__PURE__ */
|
|
49
|
+
const On = /* @__PURE__ */ i2(kn, [["render", _n]]);
|
|
50
50
|
const Pn = {
|
|
51
51
|
props: ["title"],
|
|
52
52
|
data() {
|
|
@@ -56,10 +56,10 @@ const Pn = {
|
|
|
56
56
|
};
|
|
57
57
|
function Gn(A, c, e, a, r, s) {
|
|
58
58
|
return B(), V("header", null, [
|
|
59
|
-
|
|
59
|
+
U("h1", null, j(e.title), 1)
|
|
60
60
|
]);
|
|
61
61
|
}
|
|
62
|
-
const Wn = /* @__PURE__ */
|
|
62
|
+
const Wn = /* @__PURE__ */ i2(Pn, [["render", Gn]]);
|
|
63
63
|
const Xn = {
|
|
64
64
|
props: ["content"],
|
|
65
65
|
data() {
|
|
@@ -79,8 +79,8 @@ const Xn = {
|
|
|
79
79
|
}, qn = { class: "image-container" }, Yn = { class: "image" }, Jn = ["src", "alt"], $n = ["innerHTML"], jn = ["innerHTML"], Zn = ["innerHTML"];
|
|
80
80
|
function Ao(A, c, e, a, r, s) {
|
|
81
81
|
return B(), V("div", qn, [
|
|
82
|
-
|
|
83
|
-
|
|
82
|
+
U("div", Yn, [
|
|
83
|
+
U("img", {
|
|
84
84
|
src: e.content.src,
|
|
85
85
|
alt: e.content.alt,
|
|
86
86
|
class: P(e.content.class)
|
|
@@ -103,7 +103,7 @@ function Ao(A, c, e, a, r, s) {
|
|
|
103
103
|
])
|
|
104
104
|
]);
|
|
105
105
|
}
|
|
106
|
-
const co = /* @__PURE__ */
|
|
106
|
+
const co = /* @__PURE__ */ i2(Xn, [["render", Ao], ["__scopeId", "data-v-45f6f0d2"]]);
|
|
107
107
|
const eo = {
|
|
108
108
|
props: ["content"],
|
|
109
109
|
//moduleLessonPage
|
|
@@ -218,7 +218,7 @@ const eo = {
|
|
|
218
218
|
}, ao = {
|
|
219
219
|
key: 0,
|
|
220
220
|
class: "textVersion"
|
|
221
|
-
}, ro = /* @__PURE__ */
|
|
221
|
+
}, ro = /* @__PURE__ */ U("h1", null, "Text Version", -1), so = ["innerHTML"], to = ["src", "width", "height"], io = ["src", "width", "height"], no = ["src", "width", "height"], oo = {
|
|
222
222
|
key: 2,
|
|
223
223
|
class: "alert alert-danger"
|
|
224
224
|
};
|
|
@@ -229,7 +229,7 @@ function lo(A, c, e, a, r, s) {
|
|
|
229
229
|
}, [
|
|
230
230
|
e.content.textVersion && r.showingText ? (B(), V("div", ao, [
|
|
231
231
|
ro,
|
|
232
|
-
|
|
232
|
+
U("div", {
|
|
233
233
|
innerHTML: e.content.textVersion
|
|
234
234
|
}, null, 8, so)
|
|
235
235
|
])) : N("", !0),
|
|
@@ -243,7 +243,7 @@ function lo(A, c, e, a, r, s) {
|
|
|
243
243
|
class: P(["kPoster", { active: r.showingKaltura == !0 }]),
|
|
244
244
|
style: D2({ width: s.kWidth + "px", height: s.kHeight + "px" })
|
|
245
245
|
}, [
|
|
246
|
-
|
|
246
|
+
U("iframe", {
|
|
247
247
|
onClick: c[0] || (c[0] = (...i) => s.showKaltura && s.showKaltura(...i)),
|
|
248
248
|
class: "videoIframe",
|
|
249
249
|
src: s.kalturaMedia(e.content),
|
|
@@ -260,7 +260,7 @@ function lo(A, c, e, a, r, s) {
|
|
|
260
260
|
class: P(["kAudio", { active: r.showingKaltura == !0 }]),
|
|
261
261
|
onClick: c[1] || (c[1] = (...i) => s.showKaltura && s.showKaltura(...i))
|
|
262
262
|
}, [
|
|
263
|
-
|
|
263
|
+
U("iframe", {
|
|
264
264
|
id: "my_iframe",
|
|
265
265
|
src: s.kalturaMedia(e.content),
|
|
266
266
|
width: s.kWidth + "px",
|
|
@@ -276,7 +276,7 @@ function lo(A, c, e, a, r, s) {
|
|
|
276
276
|
class: P(["kAudiobtn", { active: r.showingKaltura == !0 }]),
|
|
277
277
|
onClick: c[2] || (c[2] = (...i) => s.showKaltura && s.showKaltura(...i))
|
|
278
278
|
}, [
|
|
279
|
-
|
|
279
|
+
U("iframe", {
|
|
280
280
|
src: s.kalturaMedia(e.content),
|
|
281
281
|
width: r.audioBtn.width + "px",
|
|
282
282
|
height: r.audioBtn.height + "px",
|
|
@@ -297,13 +297,13 @@ function lo(A, c, e, a, r, s) {
|
|
|
297
297
|
onClick: c[3] || (c[3] = p2((i) => s.showText(e.content.kalturaType), ["stop"]))
|
|
298
298
|
}, {
|
|
299
299
|
default: k(() => [
|
|
300
|
-
|
|
300
|
+
s2(j(s.getButtonText(e.content.kalturaType)), 1)
|
|
301
301
|
]),
|
|
302
302
|
_: 1
|
|
303
303
|
})) : N("", !0)
|
|
304
304
|
], 2);
|
|
305
305
|
}
|
|
306
|
-
const fo = /* @__PURE__ */
|
|
306
|
+
const fo = /* @__PURE__ */ i2(eo, [["render", lo]]);
|
|
307
307
|
const ho = {
|
|
308
308
|
props: ["content"],
|
|
309
309
|
data() {
|
|
@@ -342,8 +342,8 @@ function go(A, c, e, a, r, s) {
|
|
|
342
342
|
"before-close": s.feedbackClose
|
|
343
343
|
}, {
|
|
344
344
|
header: k(({ close: n, titleId: o, titleClass: l }) => [
|
|
345
|
-
|
|
346
|
-
|
|
345
|
+
U("div", uo, [
|
|
346
|
+
U("h4", {
|
|
347
347
|
id: o,
|
|
348
348
|
class: P(l),
|
|
349
349
|
innerHTML: s.feedbackHeader
|
|
@@ -351,7 +351,7 @@ function go(A, c, e, a, r, s) {
|
|
|
351
351
|
])
|
|
352
352
|
]),
|
|
353
353
|
footer: k(() => [
|
|
354
|
-
|
|
354
|
+
U("span", po, [
|
|
355
355
|
X(t, {
|
|
356
356
|
size: "small",
|
|
357
357
|
id: "feedbackClose",
|
|
@@ -359,7 +359,7 @@ function go(A, c, e, a, r, s) {
|
|
|
359
359
|
onClick: c[0] || (c[0] = p2((n) => s.feedbackClose(), ["stop"]))
|
|
360
360
|
}, {
|
|
361
361
|
default: k(() => [
|
|
362
|
-
|
|
362
|
+
s2("Close")
|
|
363
363
|
]),
|
|
364
364
|
_: 1
|
|
365
365
|
})
|
|
@@ -378,7 +378,7 @@ function go(A, c, e, a, r, s) {
|
|
|
378
378
|
src: e.content.feedbackImage,
|
|
379
379
|
alt: "button image"
|
|
380
380
|
}, null, 8, Co)) : N("", !0),
|
|
381
|
-
|
|
381
|
+
U("p", {
|
|
382
382
|
innerHTML: e.content.feedback
|
|
383
383
|
}, null, 8, Bo)
|
|
384
384
|
], 64))
|
|
@@ -386,7 +386,7 @@ function go(A, c, e, a, r, s) {
|
|
|
386
386
|
_: 1
|
|
387
387
|
}, 8, ["width", "modelValue", "before-close"]);
|
|
388
388
|
}
|
|
389
|
-
const c5 = /* @__PURE__ */
|
|
389
|
+
const c5 = /* @__PURE__ */ i2(ho, [["render", go]]);
|
|
390
390
|
const zo = {
|
|
391
391
|
components: {
|
|
392
392
|
Feedback: c5
|
|
@@ -429,11 +429,11 @@ const zo = {
|
|
|
429
429
|
function Fo(A, c, e, a, r, s) {
|
|
430
430
|
const t = y("el-button"), i = y("Feedback");
|
|
431
431
|
return B(), V("div", Vo, [
|
|
432
|
-
|
|
432
|
+
U("img", {
|
|
433
433
|
src: e.content.image,
|
|
434
434
|
alt: e.content.imageAlt
|
|
435
435
|
}, null, 8, Mo),
|
|
436
|
-
|
|
436
|
+
U("div", wo, [
|
|
437
437
|
(B(!0), V(D, null, f2(e.content.hotspots, (n, o) => (B(), V(D, null, [
|
|
438
438
|
X(t, {
|
|
439
439
|
type: n.buttonType,
|
|
@@ -450,7 +450,7 @@ function Fo(A, c, e, a, r, s) {
|
|
|
450
450
|
src: n.buttonImage,
|
|
451
451
|
alt: "image marker " + Number(o + 1)
|
|
452
452
|
}, null, 8, Lo)) : N("", !0),
|
|
453
|
-
|
|
453
|
+
U("span", Qo, j(n.name), 1)
|
|
454
454
|
]),
|
|
455
455
|
_: 2
|
|
456
456
|
}, 1032, ["type", "onClick", "id", "class", "style", "icon"]),
|
|
@@ -462,7 +462,7 @@ function Fo(A, c, e, a, r, s) {
|
|
|
462
462
|
])
|
|
463
463
|
]);
|
|
464
464
|
}
|
|
465
|
-
const Uo = /* @__PURE__ */
|
|
465
|
+
const Uo = /* @__PURE__ */ i2(zo, [["render", Fo], ["__scopeId", "data-v-fd3c7401"]]);
|
|
466
466
|
const bo = {
|
|
467
467
|
props: ["content"],
|
|
468
468
|
data() {
|
|
@@ -499,7 +499,7 @@ function No(A, c, e, a, r, s) {
|
|
|
499
499
|
default: k(() => [
|
|
500
500
|
X(t, { span: 12 }, {
|
|
501
501
|
default: k(() => [
|
|
502
|
-
|
|
502
|
+
U("p", {
|
|
503
503
|
class: "imageReplacerDescription",
|
|
504
504
|
innerHTML: e.content.description
|
|
505
505
|
}, null, 8, xo)
|
|
@@ -508,12 +508,12 @@ function No(A, c, e, a, r, s) {
|
|
|
508
508
|
}),
|
|
509
509
|
X(t, { span: 12 }, {
|
|
510
510
|
default: k(() => [
|
|
511
|
-
|
|
511
|
+
U("img", {
|
|
512
512
|
class: "im-ButtonImage",
|
|
513
513
|
src: r.imageSrc,
|
|
514
514
|
alt: r.imageAlt
|
|
515
515
|
}, null, 8, yo),
|
|
516
|
-
|
|
516
|
+
U("div", So, [
|
|
517
517
|
(B(!0), V(D, null, f2(e.content.hotspots, (o, l) => (B(), _(i, {
|
|
518
518
|
type: o.buttonType,
|
|
519
519
|
onClick: p2((f) => s.changeImage(l), ["stop"]),
|
|
@@ -529,7 +529,7 @@ function No(A, c, e, a, r, s) {
|
|
|
529
529
|
_: 1
|
|
530
530
|
});
|
|
531
531
|
}
|
|
532
|
-
const Eo = /* @__PURE__ */
|
|
532
|
+
const Eo = /* @__PURE__ */ i2(bo, [["render", No], ["__scopeId", "data-v-d6c87f03"]]);
|
|
533
533
|
const ko = {
|
|
534
534
|
components: {},
|
|
535
535
|
props: ["content"],
|
|
@@ -626,14 +626,14 @@ function Io(A, c, e, a, r, s) {
|
|
|
626
626
|
return B(), V("div", {
|
|
627
627
|
class: P(["drop-down", e.content.class])
|
|
628
628
|
}, [
|
|
629
|
-
|
|
629
|
+
U("p", null, [
|
|
630
630
|
(B(!0), V(D, null, f2(r.quizArray, (f, h) => (B(), V(D, null, [
|
|
631
|
-
|
|
631
|
+
U("span", {
|
|
632
632
|
class: P(s.quizClass(h))
|
|
633
633
|
}, [
|
|
634
|
-
|
|
634
|
+
U("span", {
|
|
635
635
|
class: P("quizText quizSection_" + h)
|
|
636
|
-
},
|
|
636
|
+
}, j(f) + " ", 3),
|
|
637
637
|
s.quizType(h) === "choose" ? (B(), _(i, {
|
|
638
638
|
key: 0,
|
|
639
639
|
onChange: (u) => s.choicesMade(h),
|
|
@@ -662,7 +662,7 @@ function Io(A, c, e, a, r, s) {
|
|
|
662
662
|
disabled: s.quizArrayCompleted(h)
|
|
663
663
|
}, null, 8, ["onChange", "modelValue", "onUpdate:modelValue", "placeholder", "format", "value-format", "disabled"])) : N("", !0)
|
|
664
664
|
], 2),
|
|
665
|
-
|
|
665
|
+
s2(" ")
|
|
666
666
|
], 64))), 256))
|
|
667
667
|
]),
|
|
668
668
|
X(o, {
|
|
@@ -672,7 +672,7 @@ function Io(A, c, e, a, r, s) {
|
|
|
672
672
|
onClick: c[0] || (c[0] = (f) => s.choicesCheck())
|
|
673
673
|
}, {
|
|
674
674
|
default: k(() => [
|
|
675
|
-
|
|
675
|
+
s2("Submit")
|
|
676
676
|
]),
|
|
677
677
|
_: 1
|
|
678
678
|
}),
|
|
@@ -682,7 +682,7 @@ function Io(A, c, e, a, r, s) {
|
|
|
682
682
|
}, null, 8, ["content"])) : N("", !0)
|
|
683
683
|
], 2);
|
|
684
684
|
}
|
|
685
|
-
const To = /* @__PURE__ */
|
|
685
|
+
const To = /* @__PURE__ */ i2(ko, [["render", Io]]);
|
|
686
686
|
const Do = {
|
|
687
687
|
components: {},
|
|
688
688
|
props: ["content"],
|
|
@@ -750,9 +750,9 @@ function Ko(A, c, e, a, r, s) {
|
|
|
750
750
|
return B(), V("div", {
|
|
751
751
|
class: P(["fill-blank", e.content.class])
|
|
752
752
|
}, [
|
|
753
|
-
|
|
753
|
+
U("p", null, [
|
|
754
754
|
(B(!0), V(D, null, f2(r.quizArray, (o, l) => (B(), V(D, null, [
|
|
755
|
-
|
|
755
|
+
s2(j(o), 1),
|
|
756
756
|
l < s.quizArrayCount ? (B(), _(t, {
|
|
757
757
|
key: 0,
|
|
758
758
|
modelValue: r.input[l],
|
|
@@ -769,7 +769,7 @@ function Ko(A, c, e, a, r, s) {
|
|
|
769
769
|
onClick: c[0] || (c[0] = (o) => s.choicesCheck())
|
|
770
770
|
}, {
|
|
771
771
|
default: k(() => [
|
|
772
|
-
|
|
772
|
+
s2("Submit")
|
|
773
773
|
]),
|
|
774
774
|
_: 1
|
|
775
775
|
}),
|
|
@@ -779,7 +779,7 @@ function Ko(A, c, e, a, r, s) {
|
|
|
779
779
|
}, null, 8, ["content"])) : N("", !0)
|
|
780
780
|
], 2);
|
|
781
781
|
}
|
|
782
|
-
const Ro = /* @__PURE__ */
|
|
782
|
+
const Ro = /* @__PURE__ */ i2(Do, [["render", Ko]]);
|
|
783
783
|
const _o = {
|
|
784
784
|
components: {},
|
|
785
785
|
props: ["content"],
|
|
@@ -880,14 +880,14 @@ function Xo(A, c, e, a, r, s) {
|
|
|
880
880
|
onClick: (m) => s.choicesCheck(u)
|
|
881
881
|
}, {
|
|
882
882
|
default: k(() => [
|
|
883
|
-
|
|
883
|
+
U("div", Po, [
|
|
884
884
|
h.image ? (B(), V("img", {
|
|
885
885
|
key: 0,
|
|
886
886
|
class: "im-ButtonImage",
|
|
887
887
|
src: h.image,
|
|
888
888
|
alt: h.alt ? h.alt : "button image"
|
|
889
889
|
}, null, 8, Go)) : N("", !0),
|
|
890
|
-
|
|
890
|
+
U("span", Wo, j(h.text), 1)
|
|
891
891
|
])
|
|
892
892
|
]),
|
|
893
893
|
_: 2
|
|
@@ -904,7 +904,7 @@ function Xo(A, c, e, a, r, s) {
|
|
|
904
904
|
_: 1
|
|
905
905
|
}, 8, ["id", "class"]);
|
|
906
906
|
}
|
|
907
|
-
const qo = /* @__PURE__ */
|
|
907
|
+
const qo = /* @__PURE__ */ i2(_o, [["render", Xo], ["__scopeId", "data-v-0f6d367e"]]);
|
|
908
908
|
const Yo = {
|
|
909
909
|
components: {},
|
|
910
910
|
props: ["content"],
|
|
@@ -964,7 +964,7 @@ function Jo(A, c, e, a, r, s) {
|
|
|
964
964
|
return B(), V("div", {
|
|
965
965
|
class: P(["textbox", e.content.class])
|
|
966
966
|
}, [
|
|
967
|
-
|
|
967
|
+
U("p", null, j(e.content.quiz), 1),
|
|
968
968
|
X(t, {
|
|
969
969
|
modelValue: r.input,
|
|
970
970
|
"onUpdate:modelValue": c[0] || (c[0] = (o) => r.input = o),
|
|
@@ -979,7 +979,7 @@ function Jo(A, c, e, a, r, s) {
|
|
|
979
979
|
onClick: c[1] || (c[1] = (o) => s.choicesCheck())
|
|
980
980
|
}, {
|
|
981
981
|
default: k(() => [
|
|
982
|
-
|
|
982
|
+
s2("Submit")
|
|
983
983
|
]),
|
|
984
984
|
_: 1
|
|
985
985
|
}),
|
|
@@ -989,7 +989,7 @@ function Jo(A, c, e, a, r, s) {
|
|
|
989
989
|
}, null, 8, ["content"])) : N("", !0)
|
|
990
990
|
], 2);
|
|
991
991
|
}
|
|
992
|
-
const $o = /* @__PURE__ */
|
|
992
|
+
const $o = /* @__PURE__ */ i2(Yo, [["render", Jo]]);
|
|
993
993
|
const jo = {
|
|
994
994
|
components: {},
|
|
995
995
|
props: ["content"],
|
|
@@ -1079,22 +1079,22 @@ function ll(A, c, e, a, r, s) {
|
|
|
1079
1079
|
class: "nav-mask",
|
|
1080
1080
|
onClick: c[0] || (c[0] = (...l) => s.hideSubs && s.hideSubs(...l))
|
|
1081
1081
|
})) : N("", !0),
|
|
1082
|
-
|
|
1083
|
-
|
|
1082
|
+
U("p", null, j(e.content.quiz), 1),
|
|
1083
|
+
U("div", {
|
|
1084
1084
|
class: "jl-menu",
|
|
1085
1085
|
onSelect: c[1] || (c[1] = (...l) => s.choicesCheck && s.choicesCheck(...l))
|
|
1086
1086
|
}, [
|
|
1087
1087
|
(B(!0), V(D, null, f2(e.content.menu, (l, f) => (B(), V(D, null, [
|
|
1088
1088
|
l.subMenu ? (B(), V("div", Zo, [
|
|
1089
|
-
|
|
1089
|
+
U("button", {
|
|
1090
1090
|
class: P("jl-menu-sub sub-" + f),
|
|
1091
1091
|
index: f,
|
|
1092
1092
|
tabindex: "0",
|
|
1093
1093
|
role: "menuitem",
|
|
1094
1094
|
onClick: p2((h) => s.showSub("sub-" + f), ["stop"])
|
|
1095
1095
|
}, [
|
|
1096
|
-
|
|
1097
|
-
|
|
1096
|
+
U("div", cl, [
|
|
1097
|
+
s2(j(l.name) + " ", 1),
|
|
1098
1098
|
X(i, null, {
|
|
1099
1099
|
default: k(() => [
|
|
1100
1100
|
X(t)
|
|
@@ -1103,21 +1103,21 @@ function ll(A, c, e, a, r, s) {
|
|
|
1103
1103
|
})
|
|
1104
1104
|
])
|
|
1105
1105
|
], 10, Al),
|
|
1106
|
-
|
|
1106
|
+
U("div", {
|
|
1107
1107
|
class: "jl-menu-sub-menu",
|
|
1108
1108
|
id: "sub-" + f
|
|
1109
1109
|
}, [
|
|
1110
1110
|
(B(!0), V(D, null, f2(l.subMenu, (h, u) => (B(), V(D, null, [
|
|
1111
1111
|
h.subMenu ? (B(), V(D, { key: 0 }, [
|
|
1112
|
-
|
|
1112
|
+
U("button", {
|
|
1113
1113
|
class: P("jl-menu-sub-sub sub-sub-" + u),
|
|
1114
1114
|
index: f + "-" + u,
|
|
1115
1115
|
tabindex: "0",
|
|
1116
1116
|
role: "menuitem",
|
|
1117
1117
|
onClick: p2((m) => s.showSubSub("sub-sub-" + f), ["stop"])
|
|
1118
1118
|
}, [
|
|
1119
|
-
|
|
1120
|
-
|
|
1119
|
+
U("div", rl, [
|
|
1120
|
+
s2(j(h.name), 1),
|
|
1121
1121
|
X(i, null, {
|
|
1122
1122
|
default: k(() => [
|
|
1123
1123
|
X(n)
|
|
@@ -1126,7 +1126,7 @@ function ll(A, c, e, a, r, s) {
|
|
|
1126
1126
|
})
|
|
1127
1127
|
])
|
|
1128
1128
|
], 10, al),
|
|
1129
|
-
|
|
1129
|
+
U("div", {
|
|
1130
1130
|
class: "jl-menu-sub-sub-menu",
|
|
1131
1131
|
id: "sub-sub-" + f
|
|
1132
1132
|
}, [
|
|
@@ -1137,7 +1137,7 @@ function ll(A, c, e, a, r, s) {
|
|
|
1137
1137
|
role: "menuitem",
|
|
1138
1138
|
onClick: p2((d) => s.choicesCheck(f + "-" + u + "-" + C), ["stop"])
|
|
1139
1139
|
}, [
|
|
1140
|
-
|
|
1140
|
+
U("div", null, j(m.name), 1)
|
|
1141
1141
|
], 8, tl))), 256))
|
|
1142
1142
|
], 8, sl)
|
|
1143
1143
|
], 64)) : (B(), V("button", {
|
|
@@ -1147,18 +1147,18 @@ function ll(A, c, e, a, r, s) {
|
|
|
1147
1147
|
role: "menuitem",
|
|
1148
1148
|
onClick: p2((m) => s.choicesCheck(f + "-" + u), ["stop"])
|
|
1149
1149
|
}, [
|
|
1150
|
-
|
|
1150
|
+
U("div", null, j(h.name), 1)
|
|
1151
1151
|
], 8, il))
|
|
1152
1152
|
], 64))), 256))
|
|
1153
1153
|
], 8, el)
|
|
1154
1154
|
])) : (B(), V("div", nl, [
|
|
1155
|
-
|
|
1155
|
+
U("button", {
|
|
1156
1156
|
class: "jl-menu-sub",
|
|
1157
1157
|
index: f,
|
|
1158
1158
|
tabindex: "0",
|
|
1159
1159
|
role: "menuitem",
|
|
1160
1160
|
onClick: p2((h) => s.choicesCheck(f), ["stop"])
|
|
1161
|
-
},
|
|
1161
|
+
}, j(l.name), 9, ol)
|
|
1162
1162
|
]))
|
|
1163
1163
|
], 64))), 256))
|
|
1164
1164
|
], 32),
|
|
@@ -1168,7 +1168,7 @@ function ll(A, c, e, a, r, s) {
|
|
|
1168
1168
|
}, null, 8, ["content"])) : N("", !0)
|
|
1169
1169
|
], 2);
|
|
1170
1170
|
}
|
|
1171
|
-
const fl = /* @__PURE__ */
|
|
1171
|
+
const fl = /* @__PURE__ */ i2(jo, [["render", ll]]);
|
|
1172
1172
|
const Q8 = {
|
|
1173
1173
|
y: {
|
|
1174
1174
|
t: "top",
|
|
@@ -1695,7 +1695,7 @@ function vl(A, c, e, a, r, s) {
|
|
|
1695
1695
|
ref: "container",
|
|
1696
1696
|
tabindex: "0"
|
|
1697
1697
|
}, [
|
|
1698
|
-
|
|
1698
|
+
U("div", {
|
|
1699
1699
|
style: D2(s.sizeStyle),
|
|
1700
1700
|
class: "content-container",
|
|
1701
1701
|
ref: "container2"
|
|
@@ -1710,7 +1710,7 @@ function vl(A, c, e, a, r, s) {
|
|
|
1710
1710
|
}, null, 46, Hl))), 256))
|
|
1711
1711
|
], 38);
|
|
1712
1712
|
}
|
|
1713
|
-
const e5 = /* @__PURE__ */
|
|
1713
|
+
const e5 = /* @__PURE__ */ i2(ml, [["render", vl]]);
|
|
1714
1714
|
const Cl = {
|
|
1715
1715
|
components: {
|
|
1716
1716
|
VueDragResize: e5
|
|
@@ -1781,11 +1781,11 @@ function Vl(A, c, e, a, r, s) {
|
|
|
1781
1781
|
key: 0,
|
|
1782
1782
|
innerHTML: e.content.directions
|
|
1783
1783
|
}, null, 8, pl)) : N("", !0),
|
|
1784
|
-
|
|
1784
|
+
U("img", {
|
|
1785
1785
|
src: e.content.image,
|
|
1786
1786
|
alt: e.content.imageAlt
|
|
1787
1787
|
}, null, 8, gl),
|
|
1788
|
-
|
|
1788
|
+
U("div", {
|
|
1789
1789
|
class: P(["fridge", e.content.class, e.content.noOutline ? "no_outline" : ""])
|
|
1790
1790
|
}, [
|
|
1791
1791
|
(B(!0), V(D, null, f2(e.content.magnets, (i, n) => (B(), _(t, {
|
|
@@ -1831,7 +1831,7 @@ function Vl(A, c, e, a, r, s) {
|
|
|
1831
1831
|
], 2)
|
|
1832
1832
|
]);
|
|
1833
1833
|
}
|
|
1834
|
-
const Ml = /* @__PURE__ */
|
|
1834
|
+
const Ml = /* @__PURE__ */ i2(Cl, [["render", Vl]]);
|
|
1835
1835
|
const wl = {
|
|
1836
1836
|
components: {},
|
|
1837
1837
|
props: ["content"],
|
|
@@ -1907,7 +1907,7 @@ function yl(A, c, e, a, r, s) {
|
|
|
1907
1907
|
default: k(() => [
|
|
1908
1908
|
X(i, { span: 24 }, {
|
|
1909
1909
|
default: k(() => [
|
|
1910
|
-
|
|
1910
|
+
U("div", {
|
|
1911
1911
|
innerHTML: e.content.directions
|
|
1912
1912
|
}, null, 8, Ll),
|
|
1913
1913
|
e.content.image ? (B(), _(t, {
|
|
@@ -1915,11 +1915,11 @@ function yl(A, c, e, a, r, s) {
|
|
|
1915
1915
|
content: e.content.image
|
|
1916
1916
|
}, null, 8, ["content"])) : N("", !0),
|
|
1917
1917
|
e.content.sound ? (B(), V("audio", Ql, [
|
|
1918
|
-
|
|
1918
|
+
U("source", {
|
|
1919
1919
|
src: e.content.sound,
|
|
1920
1920
|
type: "audio/mpeg"
|
|
1921
1921
|
}, null, 8, Fl),
|
|
1922
|
-
|
|
1922
|
+
s2(" Your browser does not support the audio element. ")
|
|
1923
1923
|
])) : N("", !0)
|
|
1924
1924
|
]),
|
|
1925
1925
|
_: 1
|
|
@@ -1936,12 +1936,12 @@ function yl(A, c, e, a, r, s) {
|
|
|
1936
1936
|
forceFallback: "true"
|
|
1937
1937
|
}, {
|
|
1938
1938
|
item: k(({ element: h }) => [
|
|
1939
|
-
|
|
1940
|
-
|
|
1939
|
+
U("div", Ul, [
|
|
1940
|
+
U("button", {
|
|
1941
1941
|
class: "dragItems-button",
|
|
1942
1942
|
onClick: p2((u) => s.keyboardDrag(h, f), ["stop"])
|
|
1943
1943
|
}, [
|
|
1944
|
-
|
|
1944
|
+
s2(j(h.text) + " ", 1),
|
|
1945
1945
|
h.image ? (B(), V("img", {
|
|
1946
1946
|
key: 0,
|
|
1947
1947
|
id: h.id,
|
|
@@ -1961,7 +1961,7 @@ function yl(A, c, e, a, r, s) {
|
|
|
1961
1961
|
_: 1
|
|
1962
1962
|
}, 8, ["class"]);
|
|
1963
1963
|
}
|
|
1964
|
-
const Sl = /* @__PURE__ */
|
|
1964
|
+
const Sl = /* @__PURE__ */ i2(wl, [["render", yl]]);
|
|
1965
1965
|
const Nl = {
|
|
1966
1966
|
components: {},
|
|
1967
1967
|
props: ["content"],
|
|
@@ -2095,7 +2095,7 @@ function _l(A, c, e, a, r, s) {
|
|
|
2095
2095
|
default: k(() => [
|
|
2096
2096
|
X(i, { span: 24 }, {
|
|
2097
2097
|
default: k(() => [
|
|
2098
|
-
|
|
2098
|
+
U("div", {
|
|
2099
2099
|
innerHTML: e.content.directions
|
|
2100
2100
|
}, null, 8, El),
|
|
2101
2101
|
e.content.image ? (B(), _(t, {
|
|
@@ -2117,14 +2117,14 @@ function _l(A, c, e, a, r, s) {
|
|
|
2117
2117
|
onEnd: s.checkMove
|
|
2118
2118
|
}, {
|
|
2119
2119
|
item: k(({ element: u }) => [
|
|
2120
|
-
|
|
2120
|
+
U("div", {
|
|
2121
2121
|
class: P(["dragItem", u.class])
|
|
2122
2122
|
}, [
|
|
2123
|
-
|
|
2123
|
+
U("button", {
|
|
2124
2124
|
class: "dragItems-button",
|
|
2125
2125
|
onClick: p2((m) => s.keyboardDrag(u), ["stop"])
|
|
2126
2126
|
}, [
|
|
2127
|
-
|
|
2127
|
+
s2(j(u.text) + " ", 1),
|
|
2128
2128
|
u.image ? (B(), V("img", {
|
|
2129
2129
|
key: 0,
|
|
2130
2130
|
id: u.id,
|
|
@@ -2141,7 +2141,7 @@ function _l(A, c, e, a, r, s) {
|
|
|
2141
2141
|
}),
|
|
2142
2142
|
(B(!0), V(D, null, f2(r.listOne, (u, m) => (B(), _(i, { span: s.binColumns }, {
|
|
2143
2143
|
default: k(() => [
|
|
2144
|
-
|
|
2144
|
+
U("h4", null, j(e.content.bins[m].header), 1),
|
|
2145
2145
|
X(n, {
|
|
2146
2146
|
class: P(["dropBins el-row", e.content.bins[m].class]),
|
|
2147
2147
|
"data-index": m,
|
|
@@ -2154,8 +2154,8 @@ function _l(A, c, e, a, r, s) {
|
|
|
2154
2154
|
}, {
|
|
2155
2155
|
item: k(({ element: C }) => [
|
|
2156
2156
|
C.hide ? N("", !0) : (B(), V("div", Tl, [
|
|
2157
|
-
|
|
2158
|
-
|
|
2157
|
+
U("button", Dl, [
|
|
2158
|
+
s2(j(C.text) + " ", 1),
|
|
2159
2159
|
C.image ? (B(), V("img", {
|
|
2160
2160
|
key: 0,
|
|
2161
2161
|
id: C.id,
|
|
@@ -2184,7 +2184,7 @@ function _l(A, c, e, a, r, s) {
|
|
|
2184
2184
|
width: "50%"
|
|
2185
2185
|
}, {
|
|
2186
2186
|
footer: k(() => [
|
|
2187
|
-
|
|
2187
|
+
U("span", Rl, [
|
|
2188
2188
|
X(f, {
|
|
2189
2189
|
size: "small",
|
|
2190
2190
|
id: "visibilityClose",
|
|
@@ -2192,7 +2192,7 @@ function _l(A, c, e, a, r, s) {
|
|
|
2192
2192
|
onClick: c[0] || (c[0] = (u) => s.kbCheckMove())
|
|
2193
2193
|
}, {
|
|
2194
2194
|
default: k(() => [
|
|
2195
|
-
|
|
2195
|
+
s2("Close")
|
|
2196
2196
|
]),
|
|
2197
2197
|
_: 1
|
|
2198
2198
|
})
|
|
@@ -2209,7 +2209,7 @@ function _l(A, c, e, a, r, s) {
|
|
|
2209
2209
|
onClick: (H) => s.kbCheckMove(m, d)
|
|
2210
2210
|
}, {
|
|
2211
2211
|
default: k(() => [
|
|
2212
|
-
|
|
2212
|
+
s2(j(e.content.bins[m].header), 1)
|
|
2213
2213
|
]),
|
|
2214
2214
|
_: 2
|
|
2215
2215
|
}, 1032, ["onClick"])) : (B(), _(f, {
|
|
@@ -2219,7 +2219,7 @@ function _l(A, c, e, a, r, s) {
|
|
|
2219
2219
|
onClick: (H) => s.kbCheckMove(m, d)
|
|
2220
2220
|
}, {
|
|
2221
2221
|
default: k(() => [
|
|
2222
|
-
|
|
2222
|
+
s2(j(e.content.bins[m].header), 1)
|
|
2223
2223
|
]),
|
|
2224
2224
|
_: 2
|
|
2225
2225
|
}, 1032, ["onClick"]))
|
|
@@ -2230,7 +2230,7 @@ function _l(A, c, e, a, r, s) {
|
|
|
2230
2230
|
}, 8, ["title", "modelValue"])
|
|
2231
2231
|
], 64);
|
|
2232
2232
|
}
|
|
2233
|
-
const Ol = /* @__PURE__ */
|
|
2233
|
+
const Ol = /* @__PURE__ */ i2(Nl, [["render", _l]]);
|
|
2234
2234
|
const Pl = {
|
|
2235
2235
|
props: ["content"],
|
|
2236
2236
|
data() {
|
|
@@ -2269,17 +2269,20 @@ const Pl = {
|
|
|
2269
2269
|
}
|
|
2270
2270
|
}, Gl = ["src", "width", "height"];
|
|
2271
2271
|
function Wl(A, c, e, a, r, s) {
|
|
2272
|
-
return B(), V("
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
|
|
2272
|
+
return B(), V("div", null, [
|
|
2273
|
+
s2(j(e.content) + " ", 1),
|
|
2274
|
+
U("iframe", {
|
|
2275
|
+
class: "importedIframe",
|
|
2276
|
+
src: "imports/" + e.content.importFolder + "/" + e.content.importIndex,
|
|
2277
|
+
allowfullscreen: "",
|
|
2278
|
+
webkitallowfullscreen: "",
|
|
2279
|
+
mozAllowFullScreen: "",
|
|
2280
|
+
width: e.content.width,
|
|
2281
|
+
height: e.content.height
|
|
2282
|
+
}, null, 8, Gl)
|
|
2283
|
+
]);
|
|
2281
2284
|
}
|
|
2282
|
-
const Xl = /* @__PURE__ */
|
|
2285
|
+
const Xl = /* @__PURE__ */ i2(Pl, [["render", Wl], ["__scopeId", "data-v-5c90a7dd"]]);
|
|
2283
2286
|
/*!
|
|
2284
2287
|
* html2canvas 1.4.1 <https://html2canvas.hertzen.com>
|
|
2285
2288
|
* Copyright (c) 2022 Niklas von Hertzen <https://hertzen.com>
|
|
@@ -2353,7 +2356,7 @@ function l2(A, c, e, a) {
|
|
|
2353
2356
|
o((a = a.apply(A, c || [])).next());
|
|
2354
2357
|
});
|
|
2355
2358
|
}
|
|
2356
|
-
function
|
|
2359
|
+
function n2(A, c) {
|
|
2357
2360
|
var e = { label: 0, sent: function() {
|
|
2358
2361
|
if (s[0] & 1)
|
|
2359
2362
|
throw s[1];
|
|
@@ -2674,12 +2677,12 @@ var mf = "KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF
|
|
|
2674
2677
|
return { done: !0, value: null };
|
|
2675
2678
|
}
|
|
2676
2679
|
};
|
|
2677
|
-
}, xf = 1, yf = 2, m4 = 4, K8 = 8, n3 = 10, R8 = 47, j1 = 92, Sf = 9, Nf = 32, y4 = 34, R1 = 61, Ef = 35, kf = 36, If = 37, S4 = 39, N4 = 40, _1 = 41, Tf = 95, v2 = 45, Df = 33, Kf = 60, Rf = 62, _f = 64, Of = 91, Pf = 93, Gf = 61, Wf = 123, E4 = 63, Xf = 125, _8 = 124, qf = 126, Yf = 128, O8 = 65533, s6 = 42, u1 = 43, Jf = 44, $f = 58, jf = 59, i4 = 46, Zf = 0, Ah = 8, ch = 11, eh = 14, ah = 31, rh = 127, x2 = -1, l5 = 48, f5 = 97, h5 = 101, sh = 102, th = 117, ih = 122, u5 = 65, m5 = 69, H5 = 70, nh = 85, oh = 90,
|
|
2680
|
+
}, xf = 1, yf = 2, m4 = 4, K8 = 8, n3 = 10, R8 = 47, j1 = 92, Sf = 9, Nf = 32, y4 = 34, R1 = 61, Ef = 35, kf = 36, If = 37, S4 = 39, N4 = 40, _1 = 41, Tf = 95, v2 = 45, Df = 33, Kf = 60, Rf = 62, _f = 64, Of = 91, Pf = 93, Gf = 61, Wf = 123, E4 = 63, Xf = 125, _8 = 124, qf = 126, Yf = 128, O8 = 65533, s6 = 42, u1 = 43, Jf = 44, $f = 58, jf = 59, i4 = 46, Zf = 0, Ah = 8, ch = 11, eh = 14, ah = 31, rh = 127, x2 = -1, l5 = 48, f5 = 97, h5 = 101, sh = 102, th = 117, ih = 122, u5 = 65, m5 = 69, H5 = 70, nh = 85, oh = 90, o2 = function(A) {
|
|
2678
2681
|
return A >= l5 && A <= 57;
|
|
2679
2682
|
}, lh = function(A) {
|
|
2680
2683
|
return A >= 55296 && A <= 57343;
|
|
2681
2684
|
}, V1 = function(A) {
|
|
2682
|
-
return
|
|
2685
|
+
return o2(A) || A >= u5 && A <= H5 || A >= f5 && A <= sh;
|
|
2683
2686
|
}, fh = function(A) {
|
|
2684
2687
|
return A >= f5 && A <= ih;
|
|
2685
2688
|
}, hh = function(A) {
|
|
@@ -2693,7 +2696,7 @@ var mf = "KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF
|
|
|
2693
2696
|
}, o3 = function(A) {
|
|
2694
2697
|
return uh(A) || mh(A) || A === Tf;
|
|
2695
2698
|
}, P8 = function(A) {
|
|
2696
|
-
return o3(A) ||
|
|
2699
|
+
return o3(A) || o2(A) || A === v2;
|
|
2697
2700
|
}, Hh = function(A) {
|
|
2698
2701
|
return A >= Zf && A <= Ah || A === ch || A >= eh && A <= ah || A === rh;
|
|
2699
2702
|
}, $2 = function(A, c) {
|
|
@@ -2701,21 +2704,21 @@ var mf = "KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF
|
|
|
2701
2704
|
}, I4 = function(A, c, e) {
|
|
2702
2705
|
return A === v2 ? o3(c) || $2(c, e) : o3(A) ? !0 : !!(A === j1 && $2(A, c));
|
|
2703
2706
|
}, t6 = function(A, c, e) {
|
|
2704
|
-
return A === u1 || A === v2 ?
|
|
2707
|
+
return A === u1 || A === v2 ? o2(c) ? !0 : c === i4 && o2(e) : o2(A === i4 ? c : A);
|
|
2705
2708
|
}, vh = function(A) {
|
|
2706
2709
|
var c = 0, e = 1;
|
|
2707
2710
|
(A[c] === u1 || A[c] === v2) && (A[c] === v2 && (e = -1), c++);
|
|
2708
|
-
for (var a = [];
|
|
2711
|
+
for (var a = []; o2(A[c]); )
|
|
2709
2712
|
a.push(A[c++]);
|
|
2710
2713
|
var r = a.length ? parseInt($.apply(void 0, a), 10) : 0;
|
|
2711
2714
|
A[c] === i4 && c++;
|
|
2712
|
-
for (var s = [];
|
|
2715
|
+
for (var s = []; o2(A[c]); )
|
|
2713
2716
|
s.push(A[c++]);
|
|
2714
2717
|
var t = s.length, i = t ? parseInt($.apply(void 0, s), 10) : 0;
|
|
2715
2718
|
(A[c] === m5 || A[c] === h5) && c++;
|
|
2716
2719
|
var n = 1;
|
|
2717
2720
|
(A[c] === u1 || A[c] === v2) && (A[c] === v2 && (n = -1), c++);
|
|
2718
|
-
for (var o = [];
|
|
2721
|
+
for (var o = []; o2(A[c]); )
|
|
2719
2722
|
o.push(A[c++]);
|
|
2720
2723
|
var l = o.length ? parseInt($.apply(void 0, o), 10) : 0;
|
|
2721
2724
|
return e * (r + i * Math.pow(10, -t)) * Math.pow(10, n * l);
|
|
@@ -2897,7 +2900,7 @@ var mf = "KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF
|
|
|
2897
2900
|
case x2:
|
|
2898
2901
|
return I6;
|
|
2899
2902
|
}
|
|
2900
|
-
return k4(c) ? (this.consumeWhiteSpace(), Eh) :
|
|
2903
|
+
return k4(c) ? (this.consumeWhiteSpace(), Eh) : o2(c) ? (this.reconsumeCodePoint(c), this.consumeNumericToken()) : o3(c) ? (this.reconsumeCodePoint(c), this.consumeIdentLikeToken()) : { type: 6, value: $(c) };
|
|
2901
2904
|
}, A.prototype.consumeCodePoint = function() {
|
|
2902
2905
|
var c = this._value.shift();
|
|
2903
2906
|
return typeof c > "u" ? -1 : c;
|
|
@@ -2987,17 +2990,17 @@ var mf = "KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF
|
|
|
2987
2990
|
} while (!0);
|
|
2988
2991
|
}, A.prototype.consumeNumber = function() {
|
|
2989
2992
|
var c = [], e = m4, a = this.peekCodePoint(0);
|
|
2990
|
-
for ((a === u1 || a === v2) && c.push(this.consumeCodePoint());
|
|
2993
|
+
for ((a === u1 || a === v2) && c.push(this.consumeCodePoint()); o2(this.peekCodePoint(0)); )
|
|
2991
2994
|
c.push(this.consumeCodePoint());
|
|
2992
2995
|
a = this.peekCodePoint(0);
|
|
2993
2996
|
var r = this.peekCodePoint(1);
|
|
2994
|
-
if (a === i4 &&
|
|
2995
|
-
for (c.push(this.consumeCodePoint(), this.consumeCodePoint()), e = K8;
|
|
2997
|
+
if (a === i4 && o2(r))
|
|
2998
|
+
for (c.push(this.consumeCodePoint(), this.consumeCodePoint()), e = K8; o2(this.peekCodePoint(0)); )
|
|
2996
2999
|
c.push(this.consumeCodePoint());
|
|
2997
3000
|
a = this.peekCodePoint(0), r = this.peekCodePoint(1);
|
|
2998
3001
|
var s = this.peekCodePoint(2);
|
|
2999
|
-
if ((a === m5 || a === h5) && ((r === u1 || r === v2) &&
|
|
3000
|
-
for (c.push(this.consumeCodePoint(), this.consumeCodePoint()), e = K8;
|
|
3002
|
+
if ((a === m5 || a === h5) && ((r === u1 || r === v2) && o2(s) || o2(r)))
|
|
3003
|
+
for (c.push(this.consumeCodePoint(), this.consumeCodePoint()), e = K8; o2(this.peekCodePoint(0)); )
|
|
3001
3004
|
c.push(this.consumeCodePoint());
|
|
3002
3005
|
return [vh(c), e];
|
|
3003
3006
|
}, A.prototype.consumeNumericToken = function() {
|
|
@@ -3127,11 +3130,11 @@ var mf = "KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF
|
|
|
3127
3130
|
return c === 11 && A.type === 12 || c === 28 && A.type === 29 ? !0 : c === 2 && A.type === 3;
|
|
3128
3131
|
}, a1 = function(A) {
|
|
3129
3132
|
return A.type === 17 || A.type === 15;
|
|
3130
|
-
},
|
|
3133
|
+
}, Z = function(A) {
|
|
3131
3134
|
return A.type === 16 || a1(A);
|
|
3132
3135
|
}, p5 = function(A) {
|
|
3133
3136
|
return A.length > 1 ? [A[0], A[1]] : [A[0]];
|
|
3134
|
-
},
|
|
3137
|
+
}, t2 = {
|
|
3135
3138
|
type: 17,
|
|
3136
3139
|
number: 0,
|
|
3137
3140
|
flags: m4
|
|
@@ -3186,7 +3189,7 @@ var mf = "KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF
|
|
|
3186
3189
|
case "to right bottom":
|
|
3187
3190
|
case "left top":
|
|
3188
3191
|
case "top left":
|
|
3189
|
-
return [
|
|
3192
|
+
return [t2, t2];
|
|
3190
3193
|
case "to top":
|
|
3191
3194
|
case "bottom":
|
|
3192
3195
|
return V2(0);
|
|
@@ -3194,7 +3197,7 @@ var mf = "KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF
|
|
|
3194
3197
|
case "to left bottom":
|
|
3195
3198
|
case "right top":
|
|
3196
3199
|
case "top right":
|
|
3197
|
-
return [
|
|
3200
|
+
return [t2, Z2];
|
|
3198
3201
|
case "to right":
|
|
3199
3202
|
case "left":
|
|
3200
3203
|
return V2(90);
|
|
@@ -3210,7 +3213,7 @@ var mf = "KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF
|
|
|
3210
3213
|
case "to right top":
|
|
3211
3214
|
case "left bottom":
|
|
3212
3215
|
case "bottom left":
|
|
3213
|
-
return [Z2,
|
|
3216
|
+
return [Z2, t2];
|
|
3214
3217
|
case "to left":
|
|
3215
3218
|
case "right":
|
|
3216
3219
|
return V2(270);
|
|
@@ -3283,7 +3286,7 @@ function i6(A, c, e) {
|
|
|
3283
3286
|
return e < 0 && (e += 1), e >= 1 && (e -= 1), e < 1 / 6 ? (c - A) * e * 6 + A : e < 1 / 2 ? c : e < 2 / 3 ? (c - A) * 6 * (2 / 3 - e) + A : A;
|
|
3284
3287
|
}
|
|
3285
3288
|
var X8 = function(A, c) {
|
|
3286
|
-
var e = c.filter(N1), a = e[0], r = e[1], s = e[2], t = e[3], i = (a.type === 17 ? V2(a.number) : w3.parse(A, a)) / (Math.PI * 2), n =
|
|
3289
|
+
var e = c.filter(N1), a = e[0], r = e[1], s = e[2], t = e[3], i = (a.type === 17 ? V2(a.number) : w3.parse(A, a)) / (Math.PI * 2), n = Z(r) ? r.number / 100 : 0, o = Z(s) ? s.number / 100 : 0, l = typeof t < "u" && Z(t) ? R(t, 1) : 1;
|
|
3287
3290
|
if (n === 0)
|
|
3288
3291
|
return A1(o * 255, o * 255, o * 255, 1);
|
|
3289
3292
|
var f = o <= 0.5 ? o * (n + 1) : o + n - o * n, h = o * 2 - f, u = i6(h, f, i + 1 / 3), m = i6(h, f, i), C = i6(h, f, i - 1 / 3);
|
|
@@ -3470,10 +3473,10 @@ var X8 = function(A, c) {
|
|
|
3470
3473
|
format: "color"
|
|
3471
3474
|
}, L3 = function(A, c) {
|
|
3472
3475
|
var e = c1.parse(A, c[0]), a = c[1];
|
|
3473
|
-
return a &&
|
|
3476
|
+
return a && Z(a) ? { color: e, stop: a } : { color: e, stop: null };
|
|
3474
3477
|
}, q8 = function(A, c) {
|
|
3475
3478
|
var e = A[0], a = A[A.length - 1];
|
|
3476
|
-
e.stop === null && (e.stop =
|
|
3479
|
+
e.stop === null && (e.stop = t2), a.stop === null && (a.stop = Z2);
|
|
3477
3480
|
for (var r = [], s = 0, t = 0; t < A.length; t++) {
|
|
3478
3481
|
var i = A[t].stop;
|
|
3479
3482
|
if (i !== null) {
|
|
@@ -3606,7 +3609,7 @@ var X8 = function(A, c) {
|
|
|
3606
3609
|
if (l.type === 18) {
|
|
3607
3610
|
if (l.name === "from") {
|
|
3608
3611
|
var f = c1.parse(A, l.values[0]);
|
|
3609
|
-
a.push({ stop:
|
|
3612
|
+
a.push({ stop: t2, color: f });
|
|
3610
3613
|
} else if (l.name === "to") {
|
|
3611
3614
|
var f = c1.parse(A, l.values[0]);
|
|
3612
3615
|
a.push({ stop: Z2, color: f });
|
|
@@ -3640,13 +3643,13 @@ var X8 = function(A, c) {
|
|
|
3640
3643
|
return s.push(o0), f;
|
|
3641
3644
|
case "top":
|
|
3642
3645
|
case "left":
|
|
3643
|
-
return s.push(
|
|
3646
|
+
return s.push(t2), f;
|
|
3644
3647
|
case "right":
|
|
3645
3648
|
case "bottom":
|
|
3646
3649
|
return s.push(Z2), f;
|
|
3647
3650
|
}
|
|
3648
3651
|
else
|
|
3649
|
-
(
|
|
3652
|
+
(Z(h) || a1(h)) && s.push(h);
|
|
3650
3653
|
else if (K(h))
|
|
3651
3654
|
switch (h.value) {
|
|
3652
3655
|
case b5:
|
|
@@ -3666,7 +3669,7 @@ var X8 = function(A, c) {
|
|
|
3666
3669
|
case U5:
|
|
3667
3670
|
return a = 3, !1;
|
|
3668
3671
|
}
|
|
3669
|
-
else if (a1(h) ||
|
|
3672
|
+
else if (a1(h) || Z(h))
|
|
3670
3673
|
return Array.isArray(a) || (a = []), a.push(h), !1;
|
|
3671
3674
|
return f;
|
|
3672
3675
|
}, n);
|
|
@@ -3694,12 +3697,12 @@ var X8 = function(A, c) {
|
|
|
3694
3697
|
return s.push(o0), !1;
|
|
3695
3698
|
case "top":
|
|
3696
3699
|
case "left":
|
|
3697
|
-
return s.push(
|
|
3700
|
+
return s.push(t2), !1;
|
|
3698
3701
|
case "right":
|
|
3699
3702
|
case "bottom":
|
|
3700
3703
|
return s.push(Z2), !1;
|
|
3701
3704
|
}
|
|
3702
|
-
else if (
|
|
3705
|
+
else if (Z(f) || a1(f))
|
|
3703
3706
|
return s.push(f), !1;
|
|
3704
3707
|
return l;
|
|
3705
3708
|
}, n) : i === 1 && (n = t.reduce(function(l, f) {
|
|
@@ -3720,7 +3723,7 @@ var X8 = function(A, c) {
|
|
|
3720
3723
|
case U5:
|
|
3721
3724
|
return a = 3, !1;
|
|
3722
3725
|
}
|
|
3723
|
-
else if (a1(f) ||
|
|
3726
|
+
else if (a1(f) || Z(f))
|
|
3724
3727
|
return Array.isArray(a) || (a = []), a.push(f), !1;
|
|
3725
3728
|
return l;
|
|
3726
3729
|
}, n)), n) {
|
|
@@ -3813,7 +3816,7 @@ var N5 = {
|
|
|
3813
3816
|
prefix: !1,
|
|
3814
3817
|
parse: function(A, c) {
|
|
3815
3818
|
return S2(c).map(function(e) {
|
|
3816
|
-
return e.filter(
|
|
3819
|
+
return e.filter(Z);
|
|
3817
3820
|
}).map(p5);
|
|
3818
3821
|
}
|
|
3819
3822
|
}, Zh = {
|
|
@@ -3857,7 +3860,7 @@ var cu = {
|
|
|
3857
3860
|
});
|
|
3858
3861
|
}
|
|
3859
3862
|
}, eu = function(A) {
|
|
3860
|
-
return K(A) ||
|
|
3863
|
+
return K(A) || Z(A);
|
|
3861
3864
|
}, Q3 = function(A) {
|
|
3862
3865
|
return {
|
|
3863
3866
|
name: "border-" + A + "-color",
|
|
@@ -3873,7 +3876,7 @@ var cu = {
|
|
|
3873
3876
|
prefix: !1,
|
|
3874
3877
|
type: 1,
|
|
3875
3878
|
parse: function(c, e) {
|
|
3876
|
-
return p5(e.filter(
|
|
3879
|
+
return p5(e.filter(Z));
|
|
3877
3880
|
}
|
|
3878
3881
|
};
|
|
3879
3882
|
}, iu = F3("top-left"), nu = F3("top-right"), ou = F3("bottom-right"), lu = F3("bottom-left"), U3 = function(A) {
|
|
@@ -4056,7 +4059,7 @@ var wu = {
|
|
|
4056
4059
|
type: 4
|
|
4057
4060
|
/* TOKEN_VALUE */
|
|
4058
4061
|
}, J8 = function(A, c) {
|
|
4059
|
-
return K(A) && A.value === "normal" ? 1.2 * c : A.type === 17 ? c * A.number :
|
|
4062
|
+
return K(A) && A.value === "normal" ? 1.2 * c : A.type === 17 ? c * A.number : Z(A) ? R(A, c) : c;
|
|
4060
4063
|
}, Qu = {
|
|
4061
4064
|
name: "list-style-image",
|
|
4062
4065
|
initialValue: "none",
|
|
@@ -4293,9 +4296,9 @@ var wu = {
|
|
|
4293
4296
|
return c.length === 1 && T6(c[0], "none") ? [] : S2(c).map(function(e) {
|
|
4294
4297
|
for (var a = {
|
|
4295
4298
|
color: K2.TRANSPARENT,
|
|
4296
|
-
offsetX:
|
|
4297
|
-
offsetY:
|
|
4298
|
-
blur:
|
|
4299
|
+
offsetX: t2,
|
|
4300
|
+
offsetY: t2,
|
|
4301
|
+
blur: t2
|
|
4299
4302
|
}, r = 0, s = 0; s < e.length; s++) {
|
|
4300
4303
|
var t = e[s];
|
|
4301
4304
|
a1(t) ? (r === 0 ? a.offsetX = t : r === 1 ? a.offsetY = t : a.blur = t, r++) : a.color = c1.parse(A, t);
|
|
@@ -4366,7 +4369,7 @@ var wu = {
|
|
|
4366
4369
|
prefix: !0,
|
|
4367
4370
|
type: 1,
|
|
4368
4371
|
parse: function(A, c) {
|
|
4369
|
-
var e = c.filter(
|
|
4372
|
+
var e = c.filter(Z);
|
|
4370
4373
|
return e.length !== 2 ? Xu : [e[0], e[1]];
|
|
4371
4374
|
}
|
|
4372
4375
|
}, Yu = {
|
|
@@ -4633,10 +4636,10 @@ var Ju = {
|
|
|
4633
4636
|
return c.length === 1 && T6(c[0], "none") ? [] : S2(c).map(function(e) {
|
|
4634
4637
|
for (var a = {
|
|
4635
4638
|
color: 255,
|
|
4636
|
-
offsetX:
|
|
4637
|
-
offsetY:
|
|
4638
|
-
blur:
|
|
4639
|
-
spread:
|
|
4639
|
+
offsetX: t2,
|
|
4640
|
+
offsetY: t2,
|
|
4641
|
+
blur: t2,
|
|
4642
|
+
spread: t2,
|
|
4640
4643
|
inset: !1
|
|
4641
4644
|
}, r = 0, s = 0; s < e.length; s++) {
|
|
4642
4645
|
var t = e[s];
|
|
@@ -4785,10 +4788,10 @@ var Ju = {
|
|
|
4785
4788
|
return l0.parse(A, s.parseComponentValue());
|
|
4786
4789
|
case "length":
|
|
4787
4790
|
var i = s.parseComponentValue();
|
|
4788
|
-
return a1(i) ? i :
|
|
4791
|
+
return a1(i) ? i : t2;
|
|
4789
4792
|
case "length-percentage":
|
|
4790
4793
|
var n = s.parseComponentValue();
|
|
4791
|
-
return
|
|
4794
|
+
return Z(n) ? n : t2;
|
|
4792
4795
|
case "time":
|
|
4793
4796
|
return E5.parse(A, s.parseComponentValue());
|
|
4794
4797
|
}
|
|
@@ -5768,7 +5771,7 @@ var Im = 1, l6 = 2, f6 = 3, aA = 4, rA = 5, Tm = 7, sA = 8, h6 = 9, u6 = 10, tA
|
|
|
5768
5771
|
var s = c.defaultView.pageXOffset, t = c.defaultView.pageYOffset, i = r.contentWindow, n = i.document, o = QH(r).then(function() {
|
|
5769
5772
|
return l2(a, void 0, void 0, function() {
|
|
5770
5773
|
var l, f;
|
|
5771
|
-
return
|
|
5774
|
+
return n2(this, function(h) {
|
|
5772
5775
|
switch (h.label) {
|
|
5773
5776
|
case 0:
|
|
5774
5777
|
return this.scrolledElements.forEach(xH), i && (i.scrollTo(e.left, e.top), /(iPad|iPhone|iPod)/g.test(navigator.userAgent) && (i.scrollY !== e.top || i.scrollX !== e.left) && (this.context.logger.warn("Unable to restore scroll position for cloned document"), this.context.windowBounds = this.context.windowBounds.add(i.scrollX - e.left, i.scrollY - e.top, 0, 0))), l = this.options.onclone, f = this.clonedReferenceElement, typeof f > "u" ? [2, Promise.reject("Error finding the " + this.referenceElement.nodeName + " in the cloned document")] : n.fonts && n.fonts.ready ? [4, n.fonts.ready] : [3, 2];
|
|
@@ -6036,7 +6039,7 @@ var MH = function(A, c) {
|
|
|
6036
6039
|
}, A.prototype.loadImage = function(c) {
|
|
6037
6040
|
return l2(this, void 0, void 0, function() {
|
|
6038
6041
|
var e, a, r, s, t = this;
|
|
6039
|
-
return
|
|
6042
|
+
return n2(this, function(i) {
|
|
6040
6043
|
switch (i.label) {
|
|
6041
6044
|
case 0:
|
|
6042
6045
|
return e = Z5.isSameOrigin(c), a = !B6(c) && this._options.useCORS === !0 && r2.SUPPORT_CORS_IMAGES && !e, r = !B6(c) && !e && !p6(c) && typeof this._options.proxy == "string" && r2.SUPPORT_CORS_XHR && !a, !e && this._options.allowTaint === !1 && !B6(c) && !p6(c) && !r && !a ? [
|
|
@@ -6145,8 +6148,8 @@ var MH = function(A, c) {
|
|
|
6145
6148
|
d.push((s + n) / a.width), d.push((m + f) / a.width), d.push((t + C) / a.height), d.push((o + h) / a.height);
|
|
6146
6149
|
var H = Math.max.apply(Math, d);
|
|
6147
6150
|
H > 1 && (s /= H, t /= H, n /= H, o /= H, f /= H, h /= H, m /= H, C /= H);
|
|
6148
|
-
var v = a.width - n, L = a.height - h, Q = a.width - f, M = a.height - C, p = e.borderTopWidth, x = e.borderRightWidth, S = e.borderBottomWidth,
|
|
6149
|
-
this.topLeftBorderDoubleOuterBox = s > 0 || t > 0 ? W(a.left +
|
|
6151
|
+
var v = a.width - n, L = a.height - h, Q = a.width - f, M = a.height - C, p = e.borderTopWidth, x = e.borderRightWidth, S = e.borderBottomWidth, b = e.borderLeftWidth, q = R(e.paddingTop, c.bounds.width), h2 = R(e.paddingRight, c.bounds.width), C2 = R(e.paddingBottom, c.bounds.width), T = R(e.paddingLeft, c.bounds.width);
|
|
6152
|
+
this.topLeftBorderDoubleOuterBox = s > 0 || t > 0 ? W(a.left + b / 3, a.top + p / 3, s - b / 3, t - p / 3, I.TOP_LEFT) : new g(a.left + b / 3, a.top + p / 3), this.topRightBorderDoubleOuterBox = s > 0 || t > 0 ? W(a.left + v, a.top + p / 3, n - x / 3, o - p / 3, I.TOP_RIGHT) : new g(a.left + a.width - x / 3, a.top + p / 3), this.bottomRightBorderDoubleOuterBox = f > 0 || h > 0 ? W(a.left + Q, a.top + L, f - x / 3, h - S / 3, I.BOTTOM_RIGHT) : new g(a.left + a.width - x / 3, a.top + a.height - S / 3), this.bottomLeftBorderDoubleOuterBox = m > 0 || C > 0 ? W(a.left + b / 3, a.top + M, m - b / 3, C - S / 3, I.BOTTOM_LEFT) : new g(a.left + b / 3, a.top + a.height - S / 3), this.topLeftBorderDoubleInnerBox = s > 0 || t > 0 ? W(a.left + b * 2 / 3, a.top + p * 2 / 3, s - b * 2 / 3, t - p * 2 / 3, I.TOP_LEFT) : new g(a.left + b * 2 / 3, a.top + p * 2 / 3), this.topRightBorderDoubleInnerBox = s > 0 || t > 0 ? W(a.left + v, a.top + p * 2 / 3, n - x * 2 / 3, o - p * 2 / 3, I.TOP_RIGHT) : new g(a.left + a.width - x * 2 / 3, a.top + p * 2 / 3), this.bottomRightBorderDoubleInnerBox = f > 0 || h > 0 ? W(a.left + Q, a.top + L, f - x * 2 / 3, h - S * 2 / 3, I.BOTTOM_RIGHT) : new g(a.left + a.width - x * 2 / 3, a.top + a.height - S * 2 / 3), this.bottomLeftBorderDoubleInnerBox = m > 0 || C > 0 ? W(a.left + b * 2 / 3, a.top + M, m - b * 2 / 3, C - S * 2 / 3, I.BOTTOM_LEFT) : new g(a.left + b * 2 / 3, a.top + a.height - S * 2 / 3), this.topLeftBorderStroke = s > 0 || t > 0 ? W(a.left + b / 2, a.top + p / 2, s - b / 2, t - p / 2, I.TOP_LEFT) : new g(a.left + b / 2, a.top + p / 2), this.topRightBorderStroke = s > 0 || t > 0 ? W(a.left + v, a.top + p / 2, n - x / 2, o - p / 2, I.TOP_RIGHT) : new g(a.left + a.width - x / 2, a.top + p / 2), this.bottomRightBorderStroke = f > 0 || h > 0 ? W(a.left + Q, a.top + L, f - x / 2, h - S / 2, I.BOTTOM_RIGHT) : new g(a.left + a.width - x / 2, a.top + a.height - S / 2), this.bottomLeftBorderStroke = m > 0 || C > 0 ? W(a.left + b / 2, a.top + M, m - b / 2, C - S / 2, I.BOTTOM_LEFT) : new g(a.left + b / 2, a.top + a.height - S / 2), this.topLeftBorderBox = s > 0 || t > 0 ? W(a.left, a.top, s, t, I.TOP_LEFT) : new g(a.left, a.top), this.topRightBorderBox = n > 0 || o > 0 ? W(a.left + v, a.top, n, o, I.TOP_RIGHT) : new g(a.left + a.width, a.top), this.bottomRightBorderBox = f > 0 || h > 0 ? W(a.left + Q, a.top + L, f, h, I.BOTTOM_RIGHT) : new g(a.left + a.width, a.top + a.height), this.bottomLeftBorderBox = m > 0 || C > 0 ? W(a.left, a.top + M, m, C, I.BOTTOM_LEFT) : new g(a.left, a.top + a.height), this.topLeftPaddingBox = s > 0 || t > 0 ? W(a.left + b, a.top + p, Math.max(0, s - b), Math.max(0, t - p), I.TOP_LEFT) : new g(a.left + b, a.top + p), this.topRightPaddingBox = n > 0 || o > 0 ? W(a.left + Math.min(v, a.width - x), a.top + p, v > a.width + x ? 0 : Math.max(0, n - x), Math.max(0, o - p), I.TOP_RIGHT) : new g(a.left + a.width - x, a.top + p), this.bottomRightPaddingBox = f > 0 || h > 0 ? W(a.left + Math.min(Q, a.width - b), a.top + Math.min(L, a.height - S), Math.max(0, f - x), Math.max(0, h - S), I.BOTTOM_RIGHT) : new g(a.left + a.width - x, a.top + a.height - S), this.bottomLeftPaddingBox = m > 0 || C > 0 ? W(a.left + b, a.top + Math.min(M, a.height - S), Math.max(0, m - b), Math.max(0, C - S), I.BOTTOM_LEFT) : new g(a.left + b, a.top + a.height - S), this.topLeftContentBox = s > 0 || t > 0 ? W(a.left + b + T, a.top + p + q, Math.max(0, s - (b + T)), Math.max(0, t - (p + q)), I.TOP_LEFT) : new g(a.left + b + T, a.top + p + q), this.topRightContentBox = n > 0 || o > 0 ? W(a.left + Math.min(v, a.width + b + T), a.top + p + q, v > a.width + b + T ? 0 : n - b + T, o - (p + q), I.TOP_RIGHT) : new g(a.left + a.width - (x + h2), a.top + p + q), this.bottomRightContentBox = f > 0 || h > 0 ? W(a.left + Math.min(Q, a.width - (b + T)), a.top + Math.min(L, a.height + p + q), Math.max(0, f - (x + h2)), h - (S + C2), I.BOTTOM_RIGHT) : new g(a.left + a.width - (x + h2), a.top + a.height - (S + C2)), this.bottomLeftContentBox = m > 0 || C > 0 ? W(a.left + b + T, a.top + M, Math.max(0, m - (b + T)), C - (S + C2), I.BOTTOM_LEFT) : new g(a.left + b + T, a.top + a.height - (S + C2));
|
|
6150
6153
|
}
|
|
6151
6154
|
return A;
|
|
6152
6155
|
}()
|
|
@@ -6426,7 +6429,7 @@ var W = function(A, c, e, a, r) {
|
|
|
6426
6429
|
var a = c[0], r = c[1], s = c[2], t = A[0], i = A[1];
|
|
6427
6430
|
if (!t)
|
|
6428
6431
|
return [0, 0];
|
|
6429
|
-
if (
|
|
6432
|
+
if (Z(t) && i && Z(i))
|
|
6430
6433
|
return [R(t, e.width), R(i, e.height)];
|
|
6431
6434
|
var n = W4(s);
|
|
6432
6435
|
if (K(t) && (t.value === y1.CONTAIN || t.value === y1.COVER)) {
|
|
@@ -6451,10 +6454,10 @@ var W = function(A, c, e, a, r) {
|
|
|
6451
6454
|
}
|
|
6452
6455
|
if (n) {
|
|
6453
6456
|
var H = 0, v = 0;
|
|
6454
|
-
return
|
|
6457
|
+
return Z(t) ? H = R(t, e.width) : Z(i) && (v = R(i, e.height)), L1(t) ? H = v * s : (!i || L1(i)) && (v = H / s), [H, v];
|
|
6455
6458
|
}
|
|
6456
6459
|
var L = null, Q = null;
|
|
6457
|
-
if (
|
|
6460
|
+
if (Z(t) ? L = R(t, e.width) : i && Z(i) && (Q = R(i, e.height)), L !== null && (!i || L1(i)) && (Q = l && f ? L / a * r : e.height), Q !== null && L1(t) && (L = l && f ? Q / r * a : e.width), L !== null && Q !== null)
|
|
6458
6461
|
return [L, Q];
|
|
6459
6462
|
throw new Error("Unable to calculate background-size for element");
|
|
6460
6463
|
}, F1 = function(A, c) {
|
|
@@ -6539,7 +6542,7 @@ var W = function(A, c, e, a, r) {
|
|
|
6539
6542
|
}, c.prototype.renderStack = function(e) {
|
|
6540
6543
|
return l2(this, void 0, void 0, function() {
|
|
6541
6544
|
var a;
|
|
6542
|
-
return
|
|
6545
|
+
return n2(this, function(r) {
|
|
6543
6546
|
switch (r.label) {
|
|
6544
6547
|
case 0:
|
|
6545
6548
|
return a = e.element.container.styles, a.isVisible() ? [4, this.renderStackContent(e)] : [3, 2];
|
|
@@ -6555,7 +6558,7 @@ var W = function(A, c, e, a, r) {
|
|
|
6555
6558
|
});
|
|
6556
6559
|
}, c.prototype.renderNode = function(e) {
|
|
6557
6560
|
return l2(this, void 0, void 0, function() {
|
|
6558
|
-
return
|
|
6561
|
+
return n2(this, function(a) {
|
|
6559
6562
|
switch (a.label) {
|
|
6560
6563
|
case 0:
|
|
6561
6564
|
if (A2(
|
|
@@ -6599,7 +6602,7 @@ var W = function(A, c, e, a, r) {
|
|
|
6599
6602
|
}, c.prototype.renderTextNode = function(e, a) {
|
|
6600
6603
|
return l2(this, void 0, void 0, function() {
|
|
6601
6604
|
var r, s, t, i, n, o, l, f, h = this;
|
|
6602
|
-
return
|
|
6605
|
+
return n2(this, function(u) {
|
|
6603
6606
|
return r = this.createFontStyle(a), s = r[0], t = r[1], i = r[2], this.ctx.font = s, this.ctx.direction = a.direction === 1 ? "rtl" : "ltr", this.ctx.textAlign = "left", this.ctx.textBaseline = "alphabetic", n = this.fontMetrics.getMetrics(t, i), o = n.baseline, l = n.middle, f = a.paintOrder, e.textBounds.forEach(function(m) {
|
|
6604
6607
|
f.forEach(function(C) {
|
|
6605
6608
|
switch (C) {
|
|
@@ -6641,7 +6644,7 @@ var W = function(A, c, e, a, r) {
|
|
|
6641
6644
|
}, c.prototype.renderNodeContent = function(e) {
|
|
6642
6645
|
return l2(this, void 0, void 0, function() {
|
|
6643
6646
|
var a, r, s, t, i, n, v, v, o, l, f, h, Q, u, m, M, C, d, H, v, L, Q, M;
|
|
6644
|
-
return
|
|
6647
|
+
return n2(this, function(p) {
|
|
6645
6648
|
switch (p.label) {
|
|
6646
6649
|
case 0:
|
|
6647
6650
|
this.applyEffects(e.getEffects(
|
|
@@ -6742,7 +6745,7 @@ var W = function(A, c, e, a, r) {
|
|
|
6742
6745
|
}, c.prototype.renderStackContent = function(e) {
|
|
6743
6746
|
return l2(this, void 0, void 0, function() {
|
|
6744
6747
|
var a, r, H, s, t, H, i, n, H, o, l, H, f, h, H, u, m, H, C, d, H;
|
|
6745
|
-
return
|
|
6748
|
+
return n2(this, function(v) {
|
|
6746
6749
|
switch (v.label) {
|
|
6747
6750
|
case 0:
|
|
6748
6751
|
if (A2(
|
|
@@ -6841,12 +6844,12 @@ var W = function(A, c, e, a, r) {
|
|
|
6841
6844
|
}, c.prototype.renderBackgroundImage = function(e) {
|
|
6842
6845
|
return l2(this, void 0, void 0, function() {
|
|
6843
6846
|
var a, r, s, t, i, n;
|
|
6844
|
-
return
|
|
6847
|
+
return n2(this, function(o) {
|
|
6845
6848
|
switch (o.label) {
|
|
6846
6849
|
case 0:
|
|
6847
6850
|
a = e.styles.backgroundImage.length - 1, r = function(l) {
|
|
6848
|
-
var f, h, u, q, u2, m2, T, a2, S, m, q, u2, m2, T, a2, C, d, H, v, L, Q, M, p, x, S,
|
|
6849
|
-
return
|
|
6851
|
+
var f, h, u, q, u2, m2, T, a2, S, m, q, u2, m2, T, a2, C, d, H, v, L, Q, M, p, x, S, b, q, h2, C2, T, a2, W2, u2, m2, i1, b2, X2, n1, o1, E2, l1, k2;
|
|
6852
|
+
return n2(this, function(g1) {
|
|
6850
6853
|
switch (g1.label) {
|
|
6851
6854
|
case 0:
|
|
6852
6855
|
if (l.type !== 0)
|
|
@@ -6867,11 +6870,11 @@ var W = function(A, c, e, a, r) {
|
|
|
6867
6870
|
case 5:
|
|
6868
6871
|
Xh(l) ? (m = g6(e, a, [null, null, null]), q = m[0], u2 = m[1], m2 = m[2], T = m[3], a2 = m[4], C = _h(l.angle, T, a2), d = C[0], H = C[1], v = C[2], L = C[3], Q = C[4], M = document.createElement("canvas"), M.width = T, M.height = a2, p = M.getContext("2d"), x = p.createLinearGradient(H, L, v, Q), q8(l.stops, d).forEach(function(T1) {
|
|
6869
6872
|
return x.addColorStop(T1.stop, e2(T1.color));
|
|
6870
|
-
}), p.fillStyle = x, p.fillRect(0, 0, T, a2), T > 0 && a2 > 0 && (S = s.ctx.createPattern(M, "repeat"), s.renderRepeat(q, S, u2, m2))) : qh(l) && (
|
|
6873
|
+
}), p.fillStyle = x, p.fillRect(0, 0, T, a2), T > 0 && a2 > 0 && (S = s.ctx.createPattern(M, "repeat"), s.renderRepeat(q, S, u2, m2))) : qh(l) && (b = g6(e, a, [
|
|
6871
6874
|
null,
|
|
6872
6875
|
null,
|
|
6873
6876
|
null
|
|
6874
|
-
]), q =
|
|
6877
|
+
]), q = b[0], h2 = b[1], C2 = b[2], T = b[3], a2 = b[4], W2 = l.position.length === 0 ? [o0] : l.position, u2 = R(W2[0], T), m2 = R(W2[W2.length - 1], a2), i1 = Oh(l, u2, m2, T, a2), b2 = i1[0], X2 = i1[1], b2 > 0 && X2 > 0 && (n1 = s.ctx.createRadialGradient(h2 + u2, C2 + m2, 0, h2 + u2, C2 + m2, b2), q8(l.stops, b2 * 2).forEach(function(T1) {
|
|
6875
6878
|
return n1.addColorStop(T1.stop, e2(T1.color));
|
|
6876
6879
|
}), s.path(q), s.ctx.fillStyle = n1, b2 !== X2 ? (o1 = e.bounds.left + 0.5 * e.bounds.width, E2 = e.bounds.top + 0.5 * e.bounds.height, l1 = X2 / b2, k2 = 1 / l1, s.ctx.save(), s.ctx.translate(o1, E2), s.ctx.transform(1, 0, 0, l1, 0, 0), s.ctx.translate(-o1, -E2), s.ctx.fillRect(h2, k2 * (C2 - E2) + E2, T, a2 * k2), s.ctx.restore()) : s.ctx.fill())), g1.label = 6;
|
|
6877
6880
|
case 6:
|
|
@@ -6898,7 +6901,7 @@ var W = function(A, c, e, a, r) {
|
|
|
6898
6901
|
});
|
|
6899
6902
|
}, c.prototype.renderSolidBorder = function(e, a, r) {
|
|
6900
6903
|
return l2(this, void 0, void 0, function() {
|
|
6901
|
-
return
|
|
6904
|
+
return n2(this, function(s) {
|
|
6902
6905
|
return this.path(wA(r, a)), this.ctx.fillStyle = e2(e), this.ctx.fill(), [
|
|
6903
6906
|
2
|
|
6904
6907
|
/*return*/
|
|
@@ -6908,7 +6911,7 @@ var W = function(A, c, e, a, r) {
|
|
|
6908
6911
|
}, c.prototype.renderDoubleBorder = function(e, a, r, s) {
|
|
6909
6912
|
return l2(this, void 0, void 0, function() {
|
|
6910
6913
|
var t, i;
|
|
6911
|
-
return
|
|
6914
|
+
return n2(this, function(n) {
|
|
6912
6915
|
switch (n.label) {
|
|
6913
6916
|
case 0:
|
|
6914
6917
|
return a < 3 ? [4, this.renderSolidBorder(e, r, s)] : [3, 2];
|
|
@@ -6928,7 +6931,7 @@ var W = function(A, c, e, a, r) {
|
|
|
6928
6931
|
}, c.prototype.renderNodeBackgroundAndBorders = function(e) {
|
|
6929
6932
|
return l2(this, void 0, void 0, function() {
|
|
6930
6933
|
var a, r, s, t, i, n, o, l, f = this;
|
|
6931
|
-
return
|
|
6934
|
+
return n2(this, function(h) {
|
|
6932
6935
|
switch (h.label) {
|
|
6933
6936
|
case 0:
|
|
6934
6937
|
return this.applyEffects(e.getEffects(
|
|
@@ -6993,7 +6996,7 @@ var W = function(A, c, e, a, r) {
|
|
|
6993
6996
|
}, c.prototype.renderDashedDottedBorder = function(e, a, r, s, t) {
|
|
6994
6997
|
return l2(this, void 0, void 0, function() {
|
|
6995
6998
|
var i, n, o, l, f, h, u, m, C, d, H, v, L, Q, M, p, M, p;
|
|
6996
|
-
return
|
|
6999
|
+
return n2(this, function(x) {
|
|
6997
7000
|
return this.ctx.save(), i = ZH(s, r), n = wA(s, r), t === 2 && (this.path(n), this.ctx.clip()), z2(n[0]) ? (o = n[0].start.x, l = n[0].start.y) : (o = n[0].x, l = n[0].y), z2(n[1]) ? (f = n[1].end.x, h = n[1].end.y) : (f = n[1].x, h = n[1].y), r === 0 || r === 2 ? u = Math.abs(o - f) : u = Math.abs(l - h), this.ctx.beginPath(), t === 3 ? this.formatPath(i) : this.formatPath(n.slice(0, 2)), m = a < 3 ? a * 3 : a * 2, C = a < 3 ? a * 2 : a, t === 3 && (m = a, C = a), d = !0, u <= m * 2 ? d = !1 : u <= m * 2 + C ? (H = u / (2 * m + C), m *= H, C *= H) : (v = Math.floor((u + C) / (m + C)), L = (u - v * m) / (v - 1), Q = (u - (v + 1) * m) / v, C = Q <= 0 || Math.abs(C - L) < Math.abs(C - Q) ? L : Q), d && (t === 3 ? this.ctx.setLineDash([0, m + C]) : this.ctx.setLineDash([m, C])), t === 3 ? (this.ctx.lineCap = "round", this.ctx.lineWidth = a) : this.ctx.lineWidth = a * 2 + 1.1, this.ctx.strokeStyle = e2(e), this.ctx.stroke(), this.ctx.setLineDash([]), t === 2 && (z2(n[0]) && (M = n[3], p = n[0], this.ctx.beginPath(), this.formatPath([new g(M.end.x, M.end.y), new g(p.start.x, p.start.y)]), this.ctx.stroke()), z2(n[1]) && (M = n[1], p = n[2], this.ctx.beginPath(), this.formatPath([new g(M.end.x, M.end.y), new g(p.start.x, p.start.y)]), this.ctx.stroke())), this.ctx.restore(), [
|
|
6998
7001
|
2
|
|
6999
7002
|
/*return*/
|
|
@@ -7003,7 +7006,7 @@ var W = function(A, c, e, a, r) {
|
|
|
7003
7006
|
}, c.prototype.render = function(e) {
|
|
7004
7007
|
return l2(this, void 0, void 0, function() {
|
|
7005
7008
|
var a;
|
|
7006
|
-
return
|
|
7009
|
+
return n2(this, function(r) {
|
|
7007
7010
|
switch (r.label) {
|
|
7008
7011
|
case 0:
|
|
7009
7012
|
return this.options.backgroundColor && (this.ctx.fillStyle = e2(this.options.backgroundColor), this.ctx.fillRect(this.options.x, this.options.y, this.options.width, this.options.height)), a = JH(e), [4, this.renderStack(a)];
|
|
@@ -7051,7 +7054,7 @@ var W = function(A, c, e, a, r) {
|
|
|
7051
7054
|
return c.prototype.render = function(e) {
|
|
7052
7055
|
return l2(this, void 0, void 0, function() {
|
|
7053
7056
|
var a, r;
|
|
7054
|
-
return
|
|
7057
|
+
return n2(this, function(s) {
|
|
7055
7058
|
switch (s.label) {
|
|
7056
7059
|
case 0:
|
|
7057
7060
|
return a = R6(this.options.width * this.options.scale, this.options.height * this.options.scale, this.options.scale, this.options.scale, e), [4, mv(a)];
|
|
@@ -7111,8 +7114,8 @@ var W = function(A, c, e, a, r) {
|
|
|
7111
7114
|
typeof window < "u" && Z5.setContext(window);
|
|
7112
7115
|
var Bv = function(A, c) {
|
|
7113
7116
|
return l2(void 0, void 0, void 0, function() {
|
|
7114
|
-
var e, a, r, s, t, i, n, o, l, f, h, u, m, C, d, H, v, L, Q, M, x, p, x, S,
|
|
7115
|
-
return
|
|
7117
|
+
var e, a, r, s, t, i, n, o, l, f, h, u, m, C, d, H, v, L, Q, M, x, p, x, S, b, q, h2, C2, T, a2, W2, u2, m2, i1, b2, X2, n1, o1, E2, l1;
|
|
7118
|
+
return n2(this, function(k2) {
|
|
7116
7119
|
switch (k2.label) {
|
|
7117
7120
|
case 0:
|
|
7118
7121
|
if (!A || typeof A != "object")
|
|
@@ -7123,7 +7126,7 @@ var Bv = function(A, c) {
|
|
|
7123
7126
|
throw new Error("Document is not attached to a Window");
|
|
7124
7127
|
return r = {
|
|
7125
7128
|
allowTaint: (S = c.allowTaint) !== null && S !== void 0 ? S : !1,
|
|
7126
|
-
imageTimeout: (
|
|
7129
|
+
imageTimeout: (b = c.imageTimeout) !== null && b !== void 0 ? b : 15e3,
|
|
7127
7130
|
proxy: c.proxy,
|
|
7128
7131
|
useCORS: (q = c.useCORS) !== null && q !== void 0 ? q : !1
|
|
7129
7132
|
}, s = L6({ logging: (h2 = c.logging) !== null && h2 !== void 0 ? h2 : !0, cache: c.cache }, r), t = {
|
|
@@ -8761,10 +8764,10 @@ function CC(A) {
|
|
|
8761
8764
|
}];
|
|
8762
8765
|
}
|
|
8763
8766
|
function w0(A) {
|
|
8764
|
-
var c = A.icons, e = c.main, a = c.mask, r = A.prefix, s = A.iconName, t = A.transform, i = A.symbol, n = A.title, o = A.maskId, l = A.titleId, f = A.extra, h = A.watchable, u = h === void 0 ? !1 : h, m = a.found ? a : e, C = m.width, d = m.height, H = r === "fak", v = [F.replacementClass, s ? "".concat(F.cssPrefix, "-").concat(s) : ""].filter(function(
|
|
8765
|
-
return f.classes.indexOf(
|
|
8766
|
-
}).filter(function(
|
|
8767
|
-
return
|
|
8767
|
+
var c = A.icons, e = c.main, a = c.mask, r = A.prefix, s = A.iconName, t = A.transform, i = A.symbol, n = A.title, o = A.maskId, l = A.titleId, f = A.extra, h = A.watchable, u = h === void 0 ? !1 : h, m = a.found ? a : e, C = m.width, d = m.height, H = r === "fak", v = [F.replacementClass, s ? "".concat(F.cssPrefix, "-").concat(s) : ""].filter(function(b) {
|
|
8768
|
+
return f.classes.indexOf(b) === -1;
|
|
8769
|
+
}).filter(function(b) {
|
|
8770
|
+
return b !== "" || !!b;
|
|
8768
8771
|
}).concat(f.classes).join(" "), L = {
|
|
8769
8772
|
children: [],
|
|
8770
8773
|
attributes: w(w({}, f.attributes), {}, {
|
|
@@ -9415,8 +9418,8 @@ function XA(A, c) {
|
|
|
9415
9418
|
iconName: L,
|
|
9416
9419
|
extra: p,
|
|
9417
9420
|
watchable: !0
|
|
9418
|
-
})),
|
|
9419
|
-
c === "::before" ? A.insertBefore(
|
|
9421
|
+
})), b = G.createElement("svg");
|
|
9422
|
+
c === "::before" ? A.insertBefore(b, A.firstChild) : A.appendChild(b), b.outerHTML = S.map(function(q) {
|
|
9420
9423
|
return B4(q);
|
|
9421
9424
|
}).join(`
|
|
9422
9425
|
`), A.removeAttribute(e), a();
|