@dcodegroup-au/page-builder 0.1.6 → 0.1.7
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/page-builder.es.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var Ee = (n, e, t) =>
|
|
4
|
-
import { createElementBlock as ye, openBlock as fe, createElementVNode as ne, createStaticVNode as
|
|
5
|
-
const
|
|
1
|
+
var Pc = Object.defineProperty;
|
|
2
|
+
var Fc = (n, e, t) => e in n ? Pc(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
|
|
3
|
+
var Ee = (n, e, t) => Fc(n, typeof e != "symbol" ? e + "" : e, t);
|
|
4
|
+
import { createElementBlock as ye, openBlock as fe, createElementVNode as ne, createStaticVNode as Mc, ref as Me, resolveDirective as Dc, withDirectives as on, createCommentVNode as at, createVNode as qe, unref as He, defineComponent as ir, reactive as es, computed as $e, normalizeClass as xt, Transition as jl, withCtx as St, renderSlot as kr, toDisplayString as ze, withModifiers as ai, Fragment as At, renderList as _t, createTextVNode as oi, mergeModels as $l, useModel as ts, vModelSelect as Bc, createBlock as Ht, vModelText as Qn, vModelRadio as Uc, resolveDynamicComponent as Ur, nextTick as jc, markRaw as Ut, inject as ps, h as Tt, shallowReactive as ia, watch as Yr, watchEffect as Bi, onMounted as gs, onBeforeUnmount as _l, provide as ql, toRefs as $c, useId as _c, getCurrentInstance as qc, onUnmounted as zc, onUpdated as Hc, cloneVNode as Vc, vShow as Gc } from "vue";
|
|
5
|
+
const Wc = {
|
|
6
6
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7
7
|
fill: "none",
|
|
8
8
|
stroke: "currentColor",
|
|
9
9
|
viewBox: "0 0 24 24"
|
|
10
10
|
};
|
|
11
|
-
function
|
|
12
|
-
return fe(), ye("svg",
|
|
11
|
+
function Kc(n, e) {
|
|
12
|
+
return fe(), ye("svg", Wc, e[0] || (e[0] = [
|
|
13
13
|
ne("path", {
|
|
14
14
|
"stroke-linecap": "round",
|
|
15
15
|
"stroke-linejoin": "round",
|
|
@@ -18,14 +18,14 @@ function Wc(n, e) {
|
|
|
18
18
|
}, null, -1)
|
|
19
19
|
]));
|
|
20
20
|
}
|
|
21
|
-
const fo = { render:
|
|
21
|
+
const fo = { render: Kc }, Xc = {
|
|
22
22
|
xmlns: "http://www.w3.org/2000/svg",
|
|
23
23
|
fill: "none",
|
|
24
24
|
stroke: "currentColor",
|
|
25
25
|
viewBox: "0 0 24 24"
|
|
26
26
|
};
|
|
27
|
-
function
|
|
28
|
-
return fe(), ye("svg",
|
|
27
|
+
function Yc(n, e) {
|
|
28
|
+
return fe(), ye("svg", Xc, e[0] || (e[0] = [
|
|
29
29
|
ne("path", {
|
|
30
30
|
"stroke-linecap": "round",
|
|
31
31
|
"stroke-linejoin": "round",
|
|
@@ -34,23 +34,23 @@ function Xc(n, e) {
|
|
|
34
34
|
}, null, -1)
|
|
35
35
|
]));
|
|
36
36
|
}
|
|
37
|
-
const
|
|
37
|
+
const Zc = { render: Yc }, vs = (n, e) => {
|
|
38
38
|
const t = n.__vccOpts || n;
|
|
39
39
|
for (const [r, s] of e)
|
|
40
40
|
t[r] = s;
|
|
41
41
|
return t;
|
|
42
|
-
},
|
|
43
|
-
function
|
|
44
|
-
return e[0] || (e[0] =
|
|
42
|
+
}, Qc = {};
|
|
43
|
+
function Jc(n, e) {
|
|
44
|
+
return e[0] || (e[0] = Mc('<div class="text-lg pb-6 font-semibold text-gray-900 border-b border-gray-200">Instruction</div><div class="flex flex-col gap-3 py-6 text-gray-600"><div class="font-semibold text-gray-900">Modules</div><p>Modules are fixed and for internal reference only, and admin users cannot make the following changes:</p><ul class="list-inside list-disc pl-3"><li>Edit the title of any module (e.g., "Hero header").</li><li>Change the order of the modules.</li><li>Add new module.</li></ul><p>For any changes at the module level, please contact the development team.</p></div><div class="flex flex-col gap-3 py-6 text-gray-600"><div class="font-semibold text-gray-900">Edit sub-modules or edit nested items</div><p>Click any sub-module to edit its settings and any nested items within it.</p></div>', 3));
|
|
45
45
|
}
|
|
46
|
-
const
|
|
46
|
+
const ef = /* @__PURE__ */ vs(Qc, [["render", Jc]]), tf = {
|
|
47
47
|
xmlns: "http://www.w3.org/2000/svg",
|
|
48
48
|
fill: "none",
|
|
49
49
|
stroke: "currentColor",
|
|
50
50
|
viewBox: "0 0 24 24"
|
|
51
51
|
};
|
|
52
|
-
function
|
|
53
|
-
return fe(), ye("svg",
|
|
52
|
+
function nf(n, e) {
|
|
53
|
+
return fe(), ye("svg", tf, e[0] || (e[0] = [
|
|
54
54
|
ne("path", {
|
|
55
55
|
"stroke-linecap": "round",
|
|
56
56
|
"stroke-linejoin": "round",
|
|
@@ -59,7 +59,7 @@ function tf(n, e) {
|
|
|
59
59
|
}, null, -1)
|
|
60
60
|
]));
|
|
61
61
|
}
|
|
62
|
-
const
|
|
62
|
+
const zl = { render: nf }, ja = {
|
|
63
63
|
data: {
|
|
64
64
|
required: !0,
|
|
65
65
|
type: Object
|
|
@@ -69,7 +69,7 @@ const ql = { render: tf }, ja = {
|
|
|
69
69
|
type: Array
|
|
70
70
|
}
|
|
71
71
|
};
|
|
72
|
-
function
|
|
72
|
+
function rf(n) {
|
|
73
73
|
return n.charAt(0).toUpperCase() + n.slice(1);
|
|
74
74
|
}
|
|
75
75
|
function Ui(n, e = !1) {
|
|
@@ -90,11 +90,11 @@ function Ui(n, e = !1) {
|
|
|
90
90
|
function ji(n, e = !0) {
|
|
91
91
|
if (!n) return "";
|
|
92
92
|
const t = n.split("_").pop();
|
|
93
|
-
return e ?
|
|
93
|
+
return e ? rf(t) : t;
|
|
94
94
|
}
|
|
95
|
-
function
|
|
95
|
+
function ho(n = {}, e = !0) {
|
|
96
96
|
let t = {
|
|
97
|
-
title: "New
|
|
97
|
+
title: "New Item",
|
|
98
98
|
description: "New description",
|
|
99
99
|
public: !1,
|
|
100
100
|
featured_image: "",
|
|
@@ -115,7 +115,7 @@ function rf(n = {}, e = !0) {
|
|
|
115
115
|
is_new_tab: !1,
|
|
116
116
|
...n.secondary_button || {}
|
|
117
117
|
}), {
|
|
118
|
-
|
|
118
|
+
...t,
|
|
119
119
|
...n
|
|
120
120
|
};
|
|
121
121
|
}
|
|
@@ -160,7 +160,7 @@ function cf(n, e) {
|
|
|
160
160
|
}, null, -1)
|
|
161
161
|
]));
|
|
162
162
|
}
|
|
163
|
-
const
|
|
163
|
+
const Hl = { render: cf }, ff = {
|
|
164
164
|
xmlns: "http://www.w3.org/2000/svg",
|
|
165
165
|
fill: "none",
|
|
166
166
|
stroke: "currentColor",
|
|
@@ -192,7 +192,7 @@ const hf = { render: df }, pf = {
|
|
|
192
192
|
directives: {
|
|
193
193
|
clickOutside: pf
|
|
194
194
|
}
|
|
195
|
-
},
|
|
195
|
+
}, Vl = /* @__PURE__ */ Object.assign(mf, {
|
|
196
196
|
__name: "ActionMenu",
|
|
197
197
|
props: {
|
|
198
198
|
enableEdit: {
|
|
@@ -210,7 +210,7 @@ const hf = { render: df }, pf = {
|
|
|
210
210
|
r("editItem"), t.value = !1;
|
|
211
211
|
};
|
|
212
212
|
return (u, i) => {
|
|
213
|
-
const l =
|
|
213
|
+
const l = Dc("click-outside");
|
|
214
214
|
return on((fe(), ye("div", gf, [
|
|
215
215
|
ne("div", {
|
|
216
216
|
class: "cursor-pointer text-gray-600 rounded-full hover:bg-gray-50 p-2.5 block",
|
|
@@ -231,7 +231,7 @@ const hf = { render: df }, pf = {
|
|
|
231
231
|
class: "flex items-center gap-2 px-2.5 cursor-pointer h-[48px] w-auto hover:bg-gray-100 rounded-lg m-1.5 text-gray-700",
|
|
232
232
|
onClick: o
|
|
233
233
|
}, [
|
|
234
|
-
qe(He(
|
|
234
|
+
qe(He(Hl), { class: "w-4 text-gray-500" }),
|
|
235
235
|
i[2] || (i[2] = ne("span", { class: "font-medium" }, " Delete ", -1))
|
|
236
236
|
])
|
|
237
237
|
])) : at("", !0)
|
|
@@ -296,7 +296,7 @@ const xf = { render: bf }, Af = {
|
|
|
296
296
|
}), (c, d) => (fe(), ye("div", {
|
|
297
297
|
class: xt([{ "-open": r.value }, "v-modal"])
|
|
298
298
|
}, [
|
|
299
|
-
qe(
|
|
299
|
+
qe(jl, { name: "fade" }, {
|
|
300
300
|
default: St(() => [
|
|
301
301
|
r.value ? (fe(), ye("div", Af, [
|
|
302
302
|
kr(c.$slots, "default", {}, () => [
|
|
@@ -307,7 +307,7 @@ const xf = { render: bf }, Af = {
|
|
|
307
307
|
ne("div", null, [
|
|
308
308
|
ne("div", Ef, [
|
|
309
309
|
ne("span", Sf, [
|
|
310
|
-
qe(He(
|
|
310
|
+
qe(He(Hl), { class: "w-6 h-6" })
|
|
311
311
|
]),
|
|
312
312
|
qe(He(xf), {
|
|
313
313
|
class: "w-6 h-6 text-gray-400 hover:bg-gray-100 rounded-md cursor-pointer",
|
|
@@ -338,7 +338,7 @@ const xf = { render: bf }, Af = {
|
|
|
338
338
|
})
|
|
339
339
|
], 2));
|
|
340
340
|
}
|
|
341
|
-
}),
|
|
341
|
+
}), Gl = /* @__PURE__ */ vs(If, [["__scopeId", "data-v-0ca1257f"]]), Lf = { class: "flex justify-between pb-2" }, kf = { class: "text-lg font-semibold text-gray-900" }, Pf = { class: "flex flex-col gap-4" }, Ff = { class: "text-gray-600 border-b border-gray-200 pb-4 text-sm" }, Mf = { class: "flex flex-col gap-3" }, Df = { class: "flex justify-between" }, Bf = { class: "flex flex-col gap-1" }, Uf = { class: "font-semibold text-gray-900" }, jf = { class: "text-sm text-gray-600" }, $f = ["disabled"], _f = { class: "flex flex-col gap-3" }, qf = ["onClick"], zf = ["onClick"], Hf = { class: "text-xs text-gray-600" }, Vf = { class: "text-sm font-medium text-gray-900" }, po = {
|
|
342
342
|
__name: "VItems",
|
|
343
343
|
props: {
|
|
344
344
|
...ja
|
|
@@ -354,7 +354,7 @@ const xf = { render: bf }, Af = {
|
|
|
354
354
|
i.value[v] = !1;
|
|
355
355
|
}), i.value[h] = !i.value[h], window.localStorage.setItem(u, JSON.stringify(i.value));
|
|
356
356
|
}, c = () => {
|
|
357
|
-
s.value.data.push(
|
|
357
|
+
console.log(ho({}, o.value === "sliders")), s.value.data.push(ho({}, o.value === "sliders")), t("update", !1);
|
|
358
358
|
}, d = (h) => {
|
|
359
359
|
var v;
|
|
360
360
|
(v = a == null ? void 0 : a.value) == null || v.open(h);
|
|
@@ -383,7 +383,7 @@ const xf = { render: bf }, Af = {
|
|
|
383
383
|
type: "button",
|
|
384
384
|
class: xt(["text-sm cursor-pointer flex items-center justify-center gap-1 rounded-[99px] border border-brand-600 bg-brand-500 px-3.5 py-2 font-semibold text-white hover:bg-brand-600", { "border-gray-100 bg-gray-100 !text-gray-400 hover:bg-gray-100": s.value.data.length >= s.value.max_items }])
|
|
385
385
|
}, [
|
|
386
|
-
qe(He(
|
|
386
|
+
qe(He(zl), { class: "h-5 w-5" }),
|
|
387
387
|
v[0] || (v[0] = ne("span", null, "Add", -1))
|
|
388
388
|
], 10, $f)
|
|
389
389
|
])
|
|
@@ -405,7 +405,7 @@ const xf = { render: bf }, Af = {
|
|
|
405
405
|
ne("div", Hf, ze(He(Ui)(He(ji)(He(o)))) + " #" + ze(S + 1), 1),
|
|
406
406
|
ne("div", Vf, ze(b.title), 1)
|
|
407
407
|
], 8, zf),
|
|
408
|
-
qe(
|
|
408
|
+
qe(Vl, {
|
|
409
409
|
onRemoveItem: (E) => d(S),
|
|
410
410
|
"enable-edit": !0,
|
|
411
411
|
onEditItem: (E) => g(b, S)
|
|
@@ -415,7 +415,7 @@ const xf = { render: bf }, Af = {
|
|
|
415
415
|
])
|
|
416
416
|
])
|
|
417
417
|
]),
|
|
418
|
-
qe(
|
|
418
|
+
qe(Gl, {
|
|
419
419
|
ref_key: "modalRef",
|
|
420
420
|
ref: a,
|
|
421
421
|
entity: He(Ui)(He(o)),
|
|
@@ -537,7 +537,7 @@ const xf = { render: bf }, Af = {
|
|
|
537
537
|
}
|
|
538
538
|
}, ed = { class: "flex flex-col gap-2" }, td = ["value"], nd = {
|
|
539
539
|
__name: "SiteContent",
|
|
540
|
-
props: /* @__PURE__ */
|
|
540
|
+
props: /* @__PURE__ */ $l({
|
|
541
541
|
sites: { type: Object, required: !0 },
|
|
542
542
|
errors: { type: Object, required: !1, default: () => ({}) }
|
|
543
543
|
}, {
|
|
@@ -557,7 +557,7 @@ const xf = { render: bf }, Af = {
|
|
|
557
557
|
value: s.href
|
|
558
558
|
}, ze(s.name), 9, td))), 256))
|
|
559
559
|
], 512), [
|
|
560
|
-
[
|
|
560
|
+
[Bc, e.value]
|
|
561
561
|
])
|
|
562
562
|
]));
|
|
563
563
|
}
|
|
@@ -595,7 +595,7 @@ const xf = { render: bf }, Af = {
|
|
|
595
595
|
class: "text-sm text-gray-700 font-medium py-2"
|
|
596
596
|
}, ad = { class: "text-sm flex items-center gap-6 font-medium text-gray-700" }, od = { class: "flex items-center gap-2 cursor-pointer" }, ld = ["name", "value", "disabled"], ud = { class: "flex flex-col gap-2" }, cd = ["value"], fd = { class: "flex items-center gap-2" }, aa = {
|
|
597
597
|
__name: "LinkedTo",
|
|
598
|
-
props: /* @__PURE__ */
|
|
598
|
+
props: /* @__PURE__ */ $l({
|
|
599
599
|
label: { type: String, required: !1 },
|
|
600
600
|
sites: { type: Object, required: !0 },
|
|
601
601
|
name: { type: String, required: !0 },
|
|
@@ -627,7 +627,7 @@ const xf = { render: bf }, Af = {
|
|
|
627
627
|
class: "checked:bg-brand-600 hover:bg-brand-600 checked:hover:bg-brand-600 focus:bg-brand-600 focus:ring-brand-600 focus:checked:bg-brand-600 rounded-full",
|
|
628
628
|
disabled: i === "form"
|
|
629
629
|
}, null, 8, ld), [
|
|
630
|
-
[
|
|
630
|
+
[Uc, e.value]
|
|
631
631
|
]),
|
|
632
632
|
ne("span", null, ze(s(i)), 1)
|
|
633
633
|
]))), 256))
|
|
@@ -656,7 +656,7 @@ const xf = { render: bf }, Af = {
|
|
|
656
656
|
])
|
|
657
657
|
]));
|
|
658
658
|
}
|
|
659
|
-
}, dd = { class: "flex justify-between pb-2" }, hd = { class: "flex justify-between w-full py-1" }, pd = { class: "text-lg font-semibold text-gray-900" }, gd = { class: "text-sm text-gray-600 mt-1" }, vd = { class: "flex flex-col gap-3" }, md = { class: "flex items-center justify-between" }, yd = { class: "text-lg font-semibold text-gray-900" }, bd = { class: "relative flex items-end" }, xd = { class: "flex flex-col gap-6" }, Ad = { class: "flex flex-col gap-1.5" }, wd = ["onUpdate:modelValue"],
|
|
659
|
+
}, dd = { class: "flex justify-between pb-2" }, hd = { class: "flex justify-between w-full py-1" }, pd = { class: "text-lg font-semibold text-gray-900" }, gd = { class: "text-sm text-gray-600 mt-1" }, vd = { class: "flex flex-col gap-3" }, md = { class: "flex items-center justify-between" }, yd = { class: "text-lg font-semibold text-gray-900" }, bd = { class: "relative flex items-end" }, xd = { class: "flex flex-col gap-6" }, Ad = { class: "flex flex-col gap-1.5" }, wd = ["onUpdate:modelValue"], go = {
|
|
660
660
|
__name: "VLinks",
|
|
661
661
|
props: {
|
|
662
662
|
...ja
|
|
@@ -666,7 +666,7 @@ const xf = { render: bf }, Af = {
|
|
|
666
666
|
const t = e, s = Me(n.data.component), o = Me(null), a = Me(null), u = Me(null);
|
|
667
667
|
function i() {
|
|
668
668
|
var d, f;
|
|
669
|
-
s.value.hasOwnProperty("data") || (s.value.data = []), !(((d = s.value.data) == null ? void 0 : d.length) >= s.value.max_items) && ((f = s.value.data) == null || f.push(sf()),
|
|
669
|
+
s.value.hasOwnProperty("data") || (s.value.data = []), !(((d = s.value.data) == null ? void 0 : d.length) >= s.value.max_items) && ((f = s.value.data) == null || f.push(sf()), jc(() => {
|
|
670
670
|
a.value && a.value.scrollIntoView({ behavior: "smooth" });
|
|
671
671
|
}), t("update", !1));
|
|
672
672
|
}
|
|
@@ -691,7 +691,7 @@ const xf = { render: bf }, Af = {
|
|
|
691
691
|
onClick: i,
|
|
692
692
|
class: xt(["text-sm cursor-pointer flex items-center justify-center gap-1 rounded-[99px] border border-brand-600 bg-brand-500 px-3.5 py-2 font-semibold text-white hover:bg-brand-600", { "border-gray-100 bg-gray-100 !text-gray-400 hover:bg-gray-100": ((g = s.value.data) == null ? void 0 : g.length) >= s.value.max_items }])
|
|
693
693
|
}, [
|
|
694
|
-
qe(He(
|
|
694
|
+
qe(He(zl), { class: "h-5 w-5" }),
|
|
695
695
|
f[0] || (f[0] = ne("span", null, "Add", -1))
|
|
696
696
|
], 2)
|
|
697
697
|
])
|
|
@@ -707,7 +707,7 @@ const xf = { render: bf }, Af = {
|
|
|
707
707
|
ne("div", md, [
|
|
708
708
|
ne("div", yd, " Link #" + ze(v + 1), 1),
|
|
709
709
|
ne("div", bd, [
|
|
710
|
-
qe(
|
|
710
|
+
qe(Vl, {
|
|
711
711
|
onRemoveItem: (b) => l(v)
|
|
712
712
|
}, null, 8, ["onRemoveItem"])
|
|
713
713
|
])
|
|
@@ -751,7 +751,7 @@ const xf = { render: bf }, Af = {
|
|
|
751
751
|
])
|
|
752
752
|
]))), 128))
|
|
753
753
|
]),
|
|
754
|
-
qe(
|
|
754
|
+
qe(Gl, {
|
|
755
755
|
ref_key: "modalRef",
|
|
756
756
|
ref: o,
|
|
757
757
|
entity: "link",
|
|
@@ -837,11 +837,11 @@ const xf = { render: bf }, Af = {
|
|
|
837
837
|
const t = e, r = n, s = Me(JSON.parse(window.localStorage.getItem("pageBuilderOpenStates"))), o = Me(((f = r.modelValue) == null ? void 0 : f.sections) ?? []);
|
|
838
838
|
let a = Me(null);
|
|
839
839
|
const u = Me({
|
|
840
|
-
sliders: Ut(
|
|
841
|
-
vertical_tabs: Ut(
|
|
842
|
-
links: Ut(
|
|
840
|
+
sliders: Ut(po),
|
|
841
|
+
vertical_tabs: Ut(po),
|
|
842
|
+
links: Ut(go),
|
|
843
843
|
header: Ut(Td),
|
|
844
|
-
link_grid: Ut(
|
|
844
|
+
link_grid: Ut(go)
|
|
845
845
|
});
|
|
846
846
|
s.value || (s.value = {}, o.value.forEach((g, h) => {
|
|
847
847
|
s.value[h] = !0;
|
|
@@ -874,7 +874,7 @@ const xf = { render: bf }, Af = {
|
|
|
874
874
|
ne("span", Ld, ze(S.title), 1),
|
|
875
875
|
ne("div", kd, [
|
|
876
876
|
ne("div", Pd, [
|
|
877
|
-
s.value[E] ? (fe(), Ht(He(
|
|
877
|
+
s.value[E] ? (fe(), Ht(He(Zc), {
|
|
878
878
|
key: 1,
|
|
879
879
|
class: "h-5 w-5"
|
|
880
880
|
})) : (fe(), Ht(He(fo), {
|
|
@@ -904,7 +904,7 @@ const xf = { render: bf }, Af = {
|
|
|
904
904
|
]))), 256))
|
|
905
905
|
]),
|
|
906
906
|
ne("div", jd, [
|
|
907
|
-
He(a) ? at("", !0) : (fe(), Ht(
|
|
907
|
+
He(a) ? at("", !0) : (fe(), Ht(ef, { key: 0 })),
|
|
908
908
|
(fe(), Ht(Ur(d.value), {
|
|
909
909
|
key: ((v = He(a)) == null ? void 0 : v.sectionIndex) + ((b = He(a)) == null ? void 0 : b.componentIndex),
|
|
910
910
|
data: He(a),
|
|
@@ -928,7 +928,7 @@ const xf = { render: bf }, Af = {
|
|
|
928
928
|
]);
|
|
929
929
|
};
|
|
930
930
|
}
|
|
931
|
-
},
|
|
931
|
+
}, Wl = "data:image/jpeg;base64,AAAAHGZ0eXBhdmlmAAAAAGF2aWZtaWYxbWlhZgAAAOptZXRhAAAAAAAAACFoZGxyAAAAAAAAAABwaWN0AAAAAAAAAAAAAAAAAAAAAA5waXRtAAAAAAABAAAAImlsb2MAAAAAREAAAQABAAAAAAEOAAEAAAAAAAARtAAAACNpaW5mAAAAAAABAAAAFWluZmUCAAAAAAEAAGF2MDEAAAAAamlwcnAAAABLaXBjbwAAABNjb2xybmNseAABAA0ABoAAAAAMYXYxQ4EMDAAAAAAUaXNwZQAAAAAAAAZBAAAGQQAAABBwaXhpAAAAAAMICAgAAAAXaXBtYQAAAAAAAAABAAEEAYIDBAAAEbxtZGF0EgAKChsqsgZA4ICGg0IyoyMRQAEEEEFA9LrNypVG96LMWWcCoG7e3fR+Ni4S+KmSHgWobWA8OtL9vwZBTQcXX7wPCOaSqjXsz7F6l4FRLlK0rP8o5OlSIUR601ydI43hGj9Zmp+aRpVBIDeJVv2kawzorrWwnkCzlZFEN6kIWzNhDWD17lK5jFHp5nVzBnO7b5xDqgQ41jePfiYsmcXTc+mBRKMYDdHKDnPl/8IBX52Y26kxwh/9P6mo2zGVNs0ONs6XQWBAZF4FLOrQA20MzyF4txDPqWsBcwcki9kP0ye4x2YvaF310Dkfqua5RxdagnQIp81oTTmcVFxZXrNgz/NbDxWQbz/z1D+FoX3neKlSbFhq3ucDHwXJEktw8cZ2XEwmctcaK9W4pdEpJcNmr6e+P5AdDI1gEFOIRzxrfwX7huahRibmG/eDl0/UOLLG7W2K9GM9oA4EfGC0bPjq+Jf334oN7xreU0X+TYQJz/0xj9pPHguWOxMDm9si/e6goowSH/lorQ9UvkgeziFfzDstH4yzAIuV68sxclnujfPQhdXX99gMzUcL0sIhl4Rjw1/oYxWSImpbfTD/sCvela/JWOTP0QMQXX+pC/5stV+H1qJFXPiRG8OhXE0d0PS7I4eD8sVdEfCyszn+lGwa+JXDMgdVcufTugRLQj0TkBzxy6//k6wSt25hJlTRACEGLFtkmZDg92hcP1XELKV7GGk0MY2407yrVkFnFhFdo7MORa4zOTSoG4srhkzTnpKmrgu/2wPYleLn8jEHAuKyO9utn9Z3wI2k7zdKIUzGnUjvk4VRAerEWwLsdvapS6+R77tjD8ReIJU1+ffObq2U3/7ddqdkHDrXsX5TtC9hupIhjj7yd2yDXOnU4ptZKlZlz7V96Z3bk4Dzr0DidAz2u1GIVgymuhj3LNiUVabDehwgCN4odwcZiodNOtwfG5DveLcAAthj19sWP7zblztGw/pps07vA0mdKmk2Jg10RZyPSnLZsMaK4/GcfKexJZxnfD5InLXuOrwBCKy2XxH4sdItujUvy/JlAyhwZ9d30WPbav9ZoSXD/xD8xnBoZgT+EsnCyQBrxjgPoW+U8U8hOVPFY7bHXJ9yYfRdBG9g/aWr/e893U07phoIxJeXejmsLobU3qGnN5br4lcKQF0vxxNB5XSaRX26X//78Rq059n0mh8mR9p8CivLohVCCYlVNvYk+M9gPHr0720q1ofNETgYLaly6c4kSsS+f/dn1/5VqNrMfBZ9iCZsmU2jWDgE5JETYjxU/3SNryPwESpkO2TgM+l6/Fv3GR6+58EiLI0WiWvJGxhgi8cQKdcp8kmu563nVw95R1H5EgZ6iT4i7KuHysoFFC8t/sEpmwvbRkZaa5/D5AFIpG5fo5SguTfyjPGIpugqjUmikhv8u2BkUaoZX/zGRzGj8A3iugRk9WoH2zNDcg9PWxAv73+huXdua93kztViDB9dBkW2RZT4v8FOzAMvBozOD6aGxHVqIVVzwsoQBYTtILtoMBPtCkxi6SsTWLLXb0Up6ymtmFFOdGxUTnxMnZkCuVsrEsuErrLEGRPqVFRVtN4ysgq5/a9pwC5kLpF9wyXP699hHNHp4S4+GZCK9w79aUh/OsAlMFeWOxnz0+iG01cCM8Ps7eOaTsYGXnRMZqA5FzklKkttUjQ8M6l7PkUqs/5C5tDrCIYiWDlhSdypaxs2TbUlVBduh/J9kFTpvj948AVLBKOs3gakAHQ5X6c3SxDXdFqB0a41HG+HOERNYquTykXNTqH75tz/RoNXkejf/RUNUZvljVlfEs8eTmpai9sFCHIyFXUaeuzklBpsc9IaL7DakbvgKO8WPcNfcsx4FQh/iMOBqahytkLpGLoElIVtZkjOWxURscH5KvLqd2sWkqk5SiWY/L/Jr9JNUN+NixqcIsEzZIcROG5V/c6FHVsP3voC0DUUofgYCk7bi8GTUN3eJTTh8M0zFG4eWpxIrcjo4fKpeARX/lGqS7HdBij52bWiWSulAfSjz4tJaYSRupL0k28hjjCXLEwEWfHn05iyy9ZTPHF0KlXvlfUrziuV4w16PdJGhNpGs/JYrclGZ90V7HBJkbUh3ZAsXButMqqhasVQdLCMnX2AbuBM3ok7oz84HETQRCdkir7kfo4192LwjzTRMhGK64+GRZ97MVwtF8nN4ngKljikDBOZiWpLLS7lK0t4/tdw3xNVio1ejBNJqhzF7KFJnyHN8jWQWHSujMbgxmrSMNhOp+cNeCG/CJm9zT8lRmYl1vgDSmaAx6CFR6avfdD9p43Etip9rIypLW1nYCZ3T8HE28vnWvOOWKJoUm4Sb6QdTen6WJqaXICS0/uCotX6Ond1LO0WRmelsJb0lm2BabdixgWPgwg/5FA6pmVVMDr67a/n+NWSpwq/IOXs+tmfZowmgwDkistatDsLwKuqSNtpnOYnTBBI8xq7i+pgDtcfzo+GnBy67aUKI4C0HqAdpwZkaSCb7kVhEW6oG1cN7/pwrhy7QA72tqAg88rzt15B3PjwBOUMxIkjmfQ40GA3NwJLPkPqwmjRNLN3lf3zL3H1YClhYrUk9M8HJ2W+rElAcVkEURUrxxbyEoZegA/hXmlU3cmH59DpPKuaLXOEp9gpsV0IB/QAqtjEbToeOT96LOLtYzD+bp2tkxYbnS2IYXQUhFK+M3ETdydEb0bodINuCbglIwkbu1gjylsf3jM8bPelYuBJ8roiI1zwqDKf7xw752r5dnPn+dQ7nMebZBBxsQlgEOLj41vbfm9dlA1a0pKKle+9octPYEWu7y1cJxc7oKHXTC0MkPAH81B/TuiKwOrfkRtocCOLlLzmgeCDurXtp0aWWHunI6S0rO2ea+M4YPb0T3r9OyZ55Xah5/Hi8JYR5IJ8PTEMbuu0GRpwzAd8v+DJP+Z4w2X52Qgm50O8gDNmhu7UsdhKCa2XgwfV3Wz4pJFl4H0y5UuD4ncKETycAKELlLKvW20K62WZFFwAyf/3hrq5uhp5NVc8F1YiECNJXd5oSVL1K6QjOOAmJyBsMyXPn3+QwTrffNqo8FjM5HPP/acHOsXa7yA7MKHBouxu7GG+Ws8kK/+JgsHyicmrqKRxOtBkiLj4qN6A98JUWe9ceFeE3SBSd9pdv/oSHVOxePXpOnWS6/6HULby3QlWngDmexi6sWOHkn1CV/MKOn+NOnvhhbRF35NlPDbPE12l6c5Fs0li9GyNsc5g0sjkdpJ3Zn4f4RS0PItBRualUCgWzE1yABv1Q+GUgh/A/3wyr5WtGiibYJuF8qctNEqCD7wPPxwF3gcepur//pUPmaUQcDBnQGcexUD0yIwVx27+Mm3GFSqQXdU9yQu+jU114Kvh4OsVRQ9jxlhc8TWF1m/rxZc9HPG1mmQs+xpVmKLD6ayR0o/H6wL/3SwpmlltR4TOqwO969YFHdbjDlqRVJmW06nGxHxbgiaXyiMW2tboIaihOQpaM0ljuqNo+uKQxpjU45nf9RJmjxfJzwCXzGiunvtOeE1hHWRLcCD9Q54t5bKohypXgOYwWSFe2I0BPOUQJ8FSJVvZbK+bavXEk8/FwAxsrMe97EmbmrLt2QiWonGGqhViZE2CYVnbCfiunw/sS+YoBjM5N2h9G/KIzPlpKJTt7Awh2bulvNmf4dLZSsIqC0/fnPTtTxRT9HEaXqjlRLp18FnZB0YCkEOmzj5qjl93D6+hHcA7u8lU3Mmd9pnebwmFNyoBkRybmkHntmmyof3dtCREO9ZmPUKcqGkZ5GiYysPJ72Dq8wiHDh5wFdCjpgFdEf7YeAOGHe1TnX5xP3mk3vpeBa/Y3sMfn500UY9AH8X92hzK7SCV1r+zzYRczz/RMHL9s1QwiOFs0YjoTc9bW/gVCDHTLOYfwVcx0jihdMbk2vuoAxsAX0lizu+lSpgVxFEpDZpWj7jpkxmLHf5id6a59EnID/oJp/1pY139OP9S24VoDpD+Qf/NVztiOOLl201VMVmegtirJPNx/A+E81Raod83V4+TpJgr0VFOZ47Rh8qKcpE7ek+Am+TSjG2y5f1akQFofwawgribkgTVLBSKwEffODKdnrbE7z0gSoAbUMOp+6VN8APZRMTQ4gCirN2UxcE7WLAIgBttO7CfhohfhdPvkrIdJHSviQDEGvfXvuAljmwO99qxKgwKB7RWE5k3vzX/qWmmb5Lwfjudvy2x7fEptqcXSq3arrJtGSjGAps/GVMsBma6yJ2qtfcrrCs+CygW3OxYh0CxqFqOjmlD7k8jReF7iUU1SHYPcNPS53m4dCRXW0c2yTqHLmCHQosr1A/K8a1wLQLbRUD22FunagzRyD6VhyjYAMQl6S3T8gtrGVt8qCQWi7aTgs4yBBM4JSJh3/ixTWfJX0MIUDifqKq8enuSmqFx/mCZYo5P5FbYbQf0M4xAOBXOPLCzYJ9/dAyILWH7zbvH+OOs63gYhFNmkZvDqsoDl2ZaN5+d6XGopWfbIgIdekUgnkwGXMzpWvzGzt28sZdikZJ+R2YDS8VyerRdzRHSuPkjl27ffZvfTAdcc2LpeJEXnu+lNPVagGCH6kL0/gV/Cbk32GdFJRxjwDfn3EK9vYLWXuPqb2fwhV2j7RWSd3UhT3hHcVC33zsNc2ADCGzKIj757/PX+bAMOWKLqsE5VhL598Zm3aiZc72FZb/bGmPDNqFk9qowm6lnn2SSGpsI0YnM3+grwfxFFBTYbaLMbvl45nqKzZYxbMi8Bj4w1VtK1tfHFIyp/G15pR1V6qo0MmzMNXaHCtqHq7LJbRNWvZKUaxyX6+IKEWepgloQuXogNqe/FX07tjVXmQTRcCNQMunYQEDjXGfVZMNzo5ANpOrmOZBJSWAXTbb6YVi5O14p/c9otJPzD4MFELg1mxMGi1P2BHitTT5AJEdYpLrOWKNfyuTKWSJRdhl1wgAkS01HUBZ8U0fX/ObZCDARNVyGUzjTG8ADGbHRVFLAufzah3fZWcEuy/WSaPEG51LEugrZbDAclC2+ma9TFjb/bX9/Qup/nZSFqF5XGmBv6rBpIC0FukNKpy6PXI2PcUaWbEChrYaMODNcz/WP7ePJfeezVEekcl7kV2fNgrz+FJ3SOWtPnLNXcp1deGzgwMW/FtLO8PADkxRtS7p3NwuqxgcsK8v6Qwtv5uWs5POKYuXuIb2cBMXEfhlqWyZLldk3e0hMThlmzpkvJLkDH5JsK2Ls8xQkVO3Xhcm2boZd2fKwYc+2p5x752JjOirMNAL3NlfrdkQq1//VMIjWbKxV2RAijFSjNJTBTxVPpuZNPmmKhH367BwMftROfOOdP3KYIeequ6nShktuYSOZJVRp7NeiPnGwO7rax5U9r3lnie+84sFK66fRpguuAz8Kg1PnJYUsC5W39cHnQbkZ7KUQLHCDpVI64kOdhxmrYu5OGAkIJkRHQbb/QtM+iUtvfPgAl/8WL+pZ4Hanm07MeTXcjie8Jq6o6G6lF/VXyzZFQGwonffQzb+WHgXdlHlYtPglo5CS7fzAQP7EYPM8PShZnmkysxTrA2fS/UVwlLhqNr1CaMFHaRXO/NJhuiufe83tot7jhyl9vXa9n0047EfylrX8305tvshCwyjRdow1w/1ddWI+dh4W6UpYz0jIVaNbotWQcgZG7gM2+6oTtDhDAQwlsBg0xijwuUTFFuQFSa1+uUPDWnIybAuvuHkE1wOIEWXO2gI7j2A8JbQq4hd+jt03ztXEGlyqJpQ4S5m8BD+oghq0GJKcuyMjJVfGow63d7CAs4DU99U37hHlQ1bI1YPidy6vGLmoYi4TZUYPq9t9vNyO1NtSYwVPO18sLbhsv2TJzQQ1Sw0dAu5llcisY2G1YCIVQO54Klh4D13C1miwtBQuHViO45hfwzPL4i6j9Iiw/Tm52I1U1IYm9w846xdKgNj9ao2+aw1AJfcajS3gej36pd+1YHYtyTHs3Q57X1kj8Hjnq5dLASg4CZ/oTb12TJsfFPzmidqg0O0iAohcFTz6mJ/Gqrdt1UA=", _d = {
|
|
932
932
|
xmlns: "http://www.w3.org/2000/svg",
|
|
933
933
|
fill: "none",
|
|
934
934
|
stroke: "currentColor",
|
|
@@ -950,12 +950,12 @@ const $a = { render: qd };
|
|
|
950
950
|
* (c) 2025
|
|
951
951
|
* @license MIT
|
|
952
952
|
*/
|
|
953
|
-
const
|
|
953
|
+
const Kl = ["viewport", "carousel"], Js = {
|
|
954
954
|
"bottom-to-top": "btt",
|
|
955
955
|
"left-to-right": "ltr",
|
|
956
956
|
"right-to-left": "rtl",
|
|
957
957
|
"top-to-bottom": "ttb"
|
|
958
|
-
},
|
|
958
|
+
}, Xl = [
|
|
959
959
|
"ltr",
|
|
960
960
|
"left-to-right",
|
|
961
961
|
"rtl",
|
|
@@ -975,17 +975,17 @@ const Wl = ["viewport", "carousel"], Js = {
|
|
|
975
975
|
iconArrowRight: "Arrow pointing to the right",
|
|
976
976
|
iconArrowUp: "Arrow pointing upwards",
|
|
977
977
|
itemXofY: "Item {currentSlide} of {slidesCount}"
|
|
978
|
-
},
|
|
978
|
+
}, Yl = ["slide", "fade"], Zl = [
|
|
979
979
|
"center",
|
|
980
980
|
"start",
|
|
981
981
|
"end",
|
|
982
982
|
"center-even",
|
|
983
983
|
"center-odd"
|
|
984
|
-
],
|
|
984
|
+
], vo = 10, Fs = 0.3, ct = {
|
|
985
985
|
autoplay: 0,
|
|
986
|
-
breakpointMode:
|
|
986
|
+
breakpointMode: Kl[0],
|
|
987
987
|
breakpoints: void 0,
|
|
988
|
-
dir:
|
|
988
|
+
dir: Xl[0],
|
|
989
989
|
enabled: !0,
|
|
990
990
|
gap: 0,
|
|
991
991
|
height: "auto",
|
|
@@ -998,8 +998,8 @@ const Wl = ["viewport", "carousel"], Js = {
|
|
|
998
998
|
mouseWheel: !1,
|
|
999
999
|
pauseAutoplayOnHover: !1,
|
|
1000
1000
|
preventExcessiveDragging: !1,
|
|
1001
|
-
slideEffect:
|
|
1002
|
-
snapAlign:
|
|
1001
|
+
slideEffect: Yl[0],
|
|
1002
|
+
snapAlign: Zl[0],
|
|
1003
1003
|
touchDrag: !0,
|
|
1004
1004
|
transition: 300,
|
|
1005
1005
|
wrapAround: !1
|
|
@@ -1033,7 +1033,7 @@ const Wl = ["viewport", "carousel"], Js = {
|
|
|
1033
1033
|
function Vd(n) {
|
|
1034
1034
|
return n.length === 0 ? 0 : n.reduce((t, r) => t + r, 0) / n.length;
|
|
1035
1035
|
}
|
|
1036
|
-
function
|
|
1036
|
+
function mo({ slides: n, position: e, toShow: t }) {
|
|
1037
1037
|
const r = [], s = e === "before", o = s ? -t : 0, a = s ? 0 : t;
|
|
1038
1038
|
if (n.length <= 0)
|
|
1039
1039
|
return r;
|
|
@@ -1044,13 +1044,13 @@ function vo({ slides: n, position: e, toShow: t }) {
|
|
|
1044
1044
|
id: void 0,
|
|
1045
1045
|
// Make sure we don't duplicate the id which would be invalid html
|
|
1046
1046
|
key: `clone-${e}-${u}`
|
|
1047
|
-
}, c = n[(u % n.length + n.length) % n.length].vnode, d =
|
|
1047
|
+
}, c = n[(u % n.length + n.length) % n.length].vnode, d = Vc(c, l);
|
|
1048
1048
|
d.el = null, r.push(d);
|
|
1049
1049
|
}
|
|
1050
1050
|
return r;
|
|
1051
1051
|
}
|
|
1052
1052
|
const Gd = 'a[href], button, input, textarea, select, details, [tabindex]:not([tabindex="-1"])';
|
|
1053
|
-
function
|
|
1053
|
+
function yo(n) {
|
|
1054
1054
|
if (!n.el || !(n.el instanceof Element))
|
|
1055
1055
|
return;
|
|
1056
1056
|
const e = n.el.querySelectorAll(Gd);
|
|
@@ -1117,10 +1117,10 @@ function Qd(n, e, t) {
|
|
|
1117
1117
|
function oa({ slideSize: n, viewportSize: e, align: t, itemsToShow: r }) {
|
|
1118
1118
|
return r !== void 0 ? Zd(t, r) : n !== void 0 && e !== void 0 ? Qd(t, n, e) : 0;
|
|
1119
1119
|
}
|
|
1120
|
-
function
|
|
1120
|
+
function Ql(n = "", e = {}) {
|
|
1121
1121
|
return Object.entries(e).reduce((t, [r, s]) => t.replace(`{${r}}`, String(s)), n);
|
|
1122
1122
|
}
|
|
1123
|
-
function
|
|
1123
|
+
function Jl({ val: n, max: e, min: t = 0 }) {
|
|
1124
1124
|
const r = e - t + 1;
|
|
1125
1125
|
return ((n - t) % r + r) % r + t;
|
|
1126
1126
|
}
|
|
@@ -1153,7 +1153,7 @@ const Jd = ir({
|
|
|
1153
1153
|
class: ["carousel__liveregion", "carousel__sr-only"],
|
|
1154
1154
|
"aria-live": "polite",
|
|
1155
1155
|
"aria-atomic": "true"
|
|
1156
|
-
},
|
|
1156
|
+
}, Ql(n.config.i18n.itemXofY, {
|
|
1157
1157
|
currentSlide: n.currentSlide + 1,
|
|
1158
1158
|
slidesCount: n.slidesCount
|
|
1159
1159
|
})) : () => "";
|
|
@@ -1213,7 +1213,7 @@ function nh(n) {
|
|
|
1213
1213
|
var i, l;
|
|
1214
1214
|
if (u.preventDefault(), !r.mouseWheel || o.value)
|
|
1215
1215
|
return;
|
|
1216
|
-
const c = typeof r.mouseWheel == "object" && (i = r.mouseWheel.threshold) !== null && i !== void 0 ? i :
|
|
1216
|
+
const c = typeof r.mouseWheel == "object" && (i = r.mouseWheel.threshold) !== null && i !== void 0 ? i : vo, d = Math.abs(u.deltaY) > c ? u.deltaY : 0, f = Math.abs(u.deltaX) > c ? u.deltaX : 0;
|
|
1217
1217
|
if (d === 0 && f === 0)
|
|
1218
1218
|
return;
|
|
1219
1219
|
const g = s.value ? d : f, v = (g !== 0 ? g : s.value ? f : d) > 0;
|
|
@@ -1236,7 +1236,7 @@ const rh = {
|
|
|
1236
1236
|
breakpointMode: {
|
|
1237
1237
|
default: ct.breakpointMode,
|
|
1238
1238
|
validator(n) {
|
|
1239
|
-
return
|
|
1239
|
+
return Kl.includes(n);
|
|
1240
1240
|
}
|
|
1241
1241
|
},
|
|
1242
1242
|
clamp: {
|
|
@@ -1247,7 +1247,7 @@ const rh = {
|
|
|
1247
1247
|
type: String,
|
|
1248
1248
|
default: ct.dir,
|
|
1249
1249
|
validator(n, e) {
|
|
1250
|
-
if (!
|
|
1250
|
+
if (!Xl.includes(n))
|
|
1251
1251
|
return !1;
|
|
1252
1252
|
const t = n in Js ? Js[n] : n;
|
|
1253
1253
|
return ["ttb", "btt"].includes(t) && (!e.height || e.height === "auto") && console.warn(`[vue3-carousel]: The dir "${n}" is not supported with height "auto".`), !0;
|
|
@@ -1322,14 +1322,14 @@ const rh = {
|
|
|
1322
1322
|
type: String,
|
|
1323
1323
|
default: ct.slideEffect,
|
|
1324
1324
|
validator(n) {
|
|
1325
|
-
return
|
|
1325
|
+
return Yl.includes(n);
|
|
1326
1326
|
}
|
|
1327
1327
|
},
|
|
1328
1328
|
// control snap position alignment
|
|
1329
1329
|
snapAlign: {
|
|
1330
1330
|
default: ct.snapAlign,
|
|
1331
1331
|
validator(n) {
|
|
1332
|
-
return
|
|
1332
|
+
return Zl.includes(n);
|
|
1333
1333
|
}
|
|
1334
1334
|
},
|
|
1335
1335
|
// toggle touch dragging
|
|
@@ -1449,7 +1449,7 @@ const rh = {
|
|
|
1449
1449
|
pe.value && ve.value !== !1 ? (document.addEventListener("animationstart", be), document.addEventListener("animationend", we)) : (document.removeEventListener("animationstart", be), document.removeEventListener("animationend", we));
|
|
1450
1450
|
}), gs(() => {
|
|
1451
1451
|
pe.value = !0, P(), m(), i.value && (M = new ResizeObserver(O), M.observe(i.value)), t("init");
|
|
1452
|
-
}),
|
|
1452
|
+
}), _l(() => {
|
|
1453
1453
|
pe.value = !1, o.cleanup(), F && clearTimeout(F), me && cancelAnimationFrame(me), R && clearInterval(R), M && (M.disconnect(), M = null), typeof document < "u" && A(), i.value && (i.value.removeEventListener("transitionend", Q), i.value.removeEventListener("animationiteration", Q));
|
|
1454
1454
|
});
|
|
1455
1455
|
const { isHover: Re, handleMouseEnter: xe, handleMouseLeave: T } = th(), C = la((ge) => {
|
|
@@ -1517,7 +1517,7 @@ const rh = {
|
|
|
1517
1517
|
if (!Ae && k.value)
|
|
1518
1518
|
return;
|
|
1519
1519
|
let Ie = ge, Pe = ge;
|
|
1520
|
-
v.value = g.value, f.wrapAround ? Pe =
|
|
1520
|
+
v.value = g.value, f.wrapAround ? Pe = Jl({
|
|
1521
1521
|
val: Ie,
|
|
1522
1522
|
max: S.value,
|
|
1523
1523
|
min: E.value
|
|
@@ -1674,7 +1674,7 @@ const rh = {
|
|
|
1674
1674
|
viewport: l,
|
|
1675
1675
|
visibleRange: dt
|
|
1676
1676
|
});
|
|
1677
|
-
|
|
1677
|
+
ql(er, Be);
|
|
1678
1678
|
const et = es({
|
|
1679
1679
|
config: f,
|
|
1680
1680
|
currentSlide: g,
|
|
@@ -1693,13 +1693,13 @@ const rh = {
|
|
|
1693
1693
|
updateBreakpointsConfig: P,
|
|
1694
1694
|
updateSlideSize: Q,
|
|
1695
1695
|
updateSlidesData: J
|
|
1696
|
-
},
|
|
1696
|
+
}, $c(Be)))), () => {
|
|
1697
1697
|
var ge;
|
|
1698
|
-
const Ae = e.default || e.slides, Ie = (Ae == null ? void 0 : Ae(et)) || [], { before: Pe, after: ke } = Ge.value, Ke =
|
|
1698
|
+
const Ae = e.default || e.slides, Ie = (Ae == null ? void 0 : Ae(et)) || [], { before: Pe, after: ke } = Ge.value, Ke = mo({
|
|
1699
1699
|
slides: a,
|
|
1700
1700
|
position: "before",
|
|
1701
1701
|
toShow: Pe
|
|
1702
|
-
}), tt =
|
|
1702
|
+
}), tt = mo({
|
|
1703
1703
|
slides: a,
|
|
1704
1704
|
position: "after",
|
|
1705
1705
|
toShow: ke
|
|
@@ -1745,7 +1745,7 @@ var ua;
|
|
|
1745
1745
|
(function(n) {
|
|
1746
1746
|
n.arrowDown = "arrowDown", n.arrowLeft = "arrowLeft", n.arrowRight = "arrowRight", n.arrowUp = "arrowUp";
|
|
1747
1747
|
})(ua || (ua = {}));
|
|
1748
|
-
const
|
|
1748
|
+
const bo = (n) => `icon${n.charAt(0).toUpperCase() + n.slice(1)}`, ih = {
|
|
1749
1749
|
arrowDown: "M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z",
|
|
1750
1750
|
arrowLeft: "M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z",
|
|
1751
1751
|
arrowRight: "M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z",
|
|
@@ -1754,25 +1754,25 @@ const yo = (n) => `icon${n.charAt(0).toUpperCase() + n.slice(1)}`, ih = {
|
|
|
1754
1754
|
function ah(n) {
|
|
1755
1755
|
return n in ua;
|
|
1756
1756
|
}
|
|
1757
|
-
const
|
|
1757
|
+
const xo = (n) => n && ah(n), Ao = ir({
|
|
1758
1758
|
props: {
|
|
1759
1759
|
name: {
|
|
1760
1760
|
type: String,
|
|
1761
1761
|
required: !0,
|
|
1762
|
-
validator:
|
|
1762
|
+
validator: xo
|
|
1763
1763
|
},
|
|
1764
1764
|
title: {
|
|
1765
1765
|
type: String,
|
|
1766
|
-
default: (n) => n.name ? ct.i18n[
|
|
1766
|
+
default: (n) => n.name ? ct.i18n[bo(n.name)] : ""
|
|
1767
1767
|
}
|
|
1768
1768
|
},
|
|
1769
1769
|
setup(n) {
|
|
1770
1770
|
const e = ps(er, null);
|
|
1771
1771
|
return () => {
|
|
1772
1772
|
const t = n.name;
|
|
1773
|
-
if (!t || !
|
|
1773
|
+
if (!t || !xo(t))
|
|
1774
1774
|
return;
|
|
1775
|
-
const r = ih[t], s = Tt("path", { d: r }), o = (e == null ? void 0 : e.config.i18n[
|
|
1775
|
+
const r = ih[t], s = Tt("path", { d: r }), o = (e == null ? void 0 : e.config.i18n[bo(t)]) || n.title, a = Tt("title", o);
|
|
1776
1776
|
return Tt("svg", {
|
|
1777
1777
|
class: "carousel__icon",
|
|
1778
1778
|
viewBox: "0 0 24 24",
|
|
@@ -1810,11 +1810,11 @@ ir({
|
|
|
1810
1810
|
"carousel__prev",
|
|
1811
1811
|
{ "carousel__prev--disabled": i.value },
|
|
1812
1812
|
t.class
|
|
1813
|
-
] }), (o == null ? void 0 : o()) || Tt(
|
|
1813
|
+
] }), (o == null ? void 0 : o()) || Tt(Ao, { name: a() })), f = Tt("button", Object.assign(Object.assign({ type: "button", disabled: l.value, "aria-label": c.ariaNextSlide, title: c.ariaNextSlide, onClick: r.nav.next }, t), { class: [
|
|
1814
1814
|
"carousel__next",
|
|
1815
1815
|
{ "carousel__next--disabled": l.value },
|
|
1816
1816
|
t.class
|
|
1817
|
-
] }), (s == null ? void 0 : s()) || Tt(
|
|
1817
|
+
] }), (s == null ? void 0 : s()) || Tt(Ao, { name: u() }));
|
|
1818
1818
|
return [d, f];
|
|
1819
1819
|
};
|
|
1820
1820
|
}
|
|
@@ -1837,7 +1837,7 @@ ir({
|
|
|
1837
1837
|
const t = $e(() => e.config.itemsToShow), r = $e(() => oa({
|
|
1838
1838
|
align: e.config.snapAlign,
|
|
1839
1839
|
itemsToShow: t.value
|
|
1840
|
-
})), s = $e(() => n.paginateByItemsToShow && t.value > 1), o = $e(() => Math.ceil((e.activeSlide - r.value) / t.value)), a = $e(() => Math.ceil(e.slidesCount / t.value)), u = (i) =>
|
|
1840
|
+
})), s = $e(() => n.paginateByItemsToShow && t.value > 1), o = $e(() => Math.ceil((e.activeSlide - r.value) / t.value)), a = $e(() => Math.ceil(e.slidesCount / t.value)), u = (i) => Jl(s.value ? {
|
|
1841
1841
|
val: o.value,
|
|
1842
1842
|
max: a.value - 1,
|
|
1843
1843
|
min: 0
|
|
@@ -1852,7 +1852,7 @@ ir({
|
|
|
1852
1852
|
return console.warn("[vue3-carousel]: A carousel component must be provided for the pagination component to display"), "";
|
|
1853
1853
|
const c = [];
|
|
1854
1854
|
for (let d = s.value ? 0 : e.minSlide; d <= (s.value ? a.value - 1 : e.maxSlide); d++) {
|
|
1855
|
-
const f =
|
|
1855
|
+
const f = Ql(e.config.i18n[s.value ? "ariaNavigateToPage" : "ariaNavigateToSlide"], {
|
|
1856
1856
|
slideNumber: d + 1
|
|
1857
1857
|
}), g = u(d), h = Tt("button", {
|
|
1858
1858
|
type: "button",
|
|
@@ -1878,7 +1878,7 @@ const oh = ir({
|
|
|
1878
1878
|
props: {
|
|
1879
1879
|
id: {
|
|
1880
1880
|
type: String,
|
|
1881
|
-
default: (n) => n.isClone ? void 0 :
|
|
1881
|
+
default: (n) => n.isClone ? void 0 : _c()
|
|
1882
1882
|
},
|
|
1883
1883
|
index: {
|
|
1884
1884
|
type: Number,
|
|
@@ -1891,11 +1891,11 @@ const oh = ir({
|
|
|
1891
1891
|
},
|
|
1892
1892
|
setup(n, { attrs: e, slots: t, expose: r }) {
|
|
1893
1893
|
const s = ps(er);
|
|
1894
|
-
if (
|
|
1894
|
+
if (ql(er, void 0), !s)
|
|
1895
1895
|
return () => "";
|
|
1896
1896
|
const o = Me(n.index), a = (h) => {
|
|
1897
1897
|
o.value = h;
|
|
1898
|
-
}, u =
|
|
1898
|
+
}, u = qc(), i = () => {
|
|
1899
1899
|
const h = u.vnode.el;
|
|
1900
1900
|
return h ? h.getBoundingClientRect() : { width: 0, height: 0 };
|
|
1901
1901
|
};
|
|
@@ -1910,12 +1910,12 @@ const oh = ir({
|
|
|
1910
1910
|
const h = s.config.itemsToShow, v = s.config.gap > 0 && h > 1 ? `calc(${100 / h}% - ${s.config.gap * (h - 1) / h}px)` : `${100 / h}%`;
|
|
1911
1911
|
return s.isVertical ? { height: v } : { width: v };
|
|
1912
1912
|
});
|
|
1913
|
-
return s.slideRegistry.registerSlide(u, n.index),
|
|
1913
|
+
return s.slideRegistry.registerSlide(u, n.index), zc(() => {
|
|
1914
1914
|
s.slideRegistry.unregisterSlide(u);
|
|
1915
1915
|
}), n.isClone && (gs(() => {
|
|
1916
|
-
|
|
1917
|
-
}),
|
|
1918
|
-
|
|
1916
|
+
yo(u.vnode);
|
|
1917
|
+
}), Hc(() => {
|
|
1918
|
+
yo(u.vnode);
|
|
1919
1919
|
})), () => {
|
|
1920
1920
|
var h, v;
|
|
1921
1921
|
return s.config.enabled ? Tt("li", {
|
|
@@ -1948,7 +1948,7 @@ const oh = ir({
|
|
|
1948
1948
|
}), lh = { class: "flex h-[872px] w-full bg-navy-800 relative rounded-[48px] z-10" }, uh = { class: "lg:p-8 p-4 flex relative w-full" }, ch = { class: "lg:w-1/2 lg:pl-8 lg:pr-16 pl-4 pr-8 flex flex-col lg:mt-[218px] mt-[100px] absolute top-0 left-5 lg:relative" }, fh = { class: "gap-2 flex z-10 mb-4" }, dh = ["onClick"], hh = { class: "lg:text-[48px] text-[40px] font-semibold text-white mb-3 lg:leading-normal leading-[48px]" }, ph = ["innerHTML"], gh = { class: "flex gap-3 mt-8 flex-col lg:flex-row" }, vh = ["href", "target"], mh = ["href", "target"], yh = ["src"], bh = {
|
|
1949
1949
|
key: 1,
|
|
1950
1950
|
class: "rounded-[40px] h-[674px] max-w-[882px] lg:w-1/2 w-full object-cover",
|
|
1951
|
-
src:
|
|
1951
|
+
src: Wl
|
|
1952
1952
|
}, xh = {
|
|
1953
1953
|
__name: "VSliderPresenter",
|
|
1954
1954
|
props: {
|
|
@@ -2019,7 +2019,7 @@ const oh = ir({
|
|
|
2019
2019
|
}, 8, ["modelValue"])
|
|
2020
2020
|
]));
|
|
2021
2021
|
}
|
|
2022
|
-
}, Ah = /* @__PURE__ */ vs(xh, [["__scopeId", "data-v-960591f8"]]), wh = ["target", "href"],
|
|
2022
|
+
}, Ah = /* @__PURE__ */ vs(xh, [["__scopeId", "data-v-960591f8"]]), wh = ["target", "href"], eu = {
|
|
2023
2023
|
__name: "VLinkPresenter",
|
|
2024
2024
|
props: {
|
|
2025
2025
|
component: {
|
|
@@ -2057,7 +2057,7 @@ const oh = ir({
|
|
|
2057
2057
|
setup(n) {
|
|
2058
2058
|
const t = Me(n.section), r = Me({
|
|
2059
2059
|
sliders: Ut(Ah),
|
|
2060
|
-
links: Ut(
|
|
2060
|
+
links: Ut(eu)
|
|
2061
2061
|
}), s = (o) => o != null && o.type ? r.value[o == null ? void 0 : o.type] : "";
|
|
2062
2062
|
return (o, a) => (fe(), ye("div", Eh, [
|
|
2063
2063
|
(fe(!0), ye(At, null, _t(t.value.components, (u, i) => (fe(), ye("div", Sh, [
|
|
@@ -2068,7 +2068,7 @@ const oh = ir({
|
|
|
2068
2068
|
]))), 256))
|
|
2069
2069
|
]));
|
|
2070
2070
|
}
|
|
2071
|
-
},
|
|
2071
|
+
}, tu = {
|
|
2072
2072
|
__name: "VHeaderPresenter",
|
|
2073
2073
|
props: {
|
|
2074
2074
|
component: {
|
|
@@ -2120,8 +2120,8 @@ const Rh = { render: Nh }, Ch = { class: "w-full bg-navy-800 py-10 relative lg:h
|
|
|
2120
2120
|
},
|
|
2121
2121
|
setup(n) {
|
|
2122
2122
|
const t = Me(n.section), r = Me({
|
|
2123
|
-
header: Ut(
|
|
2124
|
-
link_grid: Ut(
|
|
2123
|
+
header: Ut(tu),
|
|
2124
|
+
link_grid: Ut(eu)
|
|
2125
2125
|
}), s = (o) => o != null && o.type ? r.value[o == null ? void 0 : o.type] : "";
|
|
2126
2126
|
return (o, a) => (fe(), ye("div", Ch, [
|
|
2127
2127
|
ne("div", Ih, [
|
|
@@ -2138,7 +2138,7 @@ const Rh = { render: Nh }, Ch = { class: "w-full bg-navy-800 py-10 relative lg:h
|
|
|
2138
2138
|
}, Ph = { class: "flex flex-col md:flex-row justify-center gap-4 items-stretch mt-6" }, Fh = { class: "flex-1 w-full md:w-1/2 flex flex-col" }, Mh = ["onClick"], Dh = { class: "py-4 pl-4 md:pl-6" }, Bh = { class: "flex-1 w-full md:w-1/2 bg-transparent flex flex-col items-center" }, Uh = ["src"], jh = {
|
|
2139
2139
|
key: 1,
|
|
2140
2140
|
class: "rounded-[20px] md:rounded-[40px] object-contain max-h-[200px] md:max-h-[387px] w-full",
|
|
2141
|
-
src:
|
|
2141
|
+
src: Wl,
|
|
2142
2142
|
alt: "No Image Available"
|
|
2143
2143
|
}, $h = ["target", "href"], _h = {
|
|
2144
2144
|
__name: "VVerticalTabPresenter",
|
|
@@ -2175,7 +2175,7 @@ const Rh = { render: Nh }, Ch = { class: "w-full bg-navy-800 py-10 relative lg:h
|
|
|
2175
2175
|
]))), 128))
|
|
2176
2176
|
]),
|
|
2177
2177
|
ne("div", Bh, [
|
|
2178
|
-
qe(
|
|
2178
|
+
qe(jl, {
|
|
2179
2179
|
name: "fade",
|
|
2180
2180
|
mode: "out-in"
|
|
2181
2181
|
}, {
|
|
@@ -2219,7 +2219,7 @@ const Rh = { render: Nh }, Ch = { class: "w-full bg-navy-800 py-10 relative lg:h
|
|
|
2219
2219
|
},
|
|
2220
2220
|
setup(n) {
|
|
2221
2221
|
const t = Me(n.section), r = Me({
|
|
2222
|
-
header: Ut(
|
|
2222
|
+
header: Ut(tu),
|
|
2223
2223
|
vertical_tabs: Ut(qh)
|
|
2224
2224
|
}), s = (o) => o != null && o.type ? r.value[o == null ? void 0 : o.type] : "";
|
|
2225
2225
|
return (o, a) => (fe(), ye("div", zh, [
|
|
@@ -2257,7 +2257,7 @@ const Rh = { render: Nh }, Ch = { class: "w-full bg-navy-800 py-10 relative lg:h
|
|
|
2257
2257
|
]));
|
|
2258
2258
|
}
|
|
2259
2259
|
};
|
|
2260
|
-
var
|
|
2260
|
+
var nu = typeof global == "object" && global && global.Object === Object && global, Wh = typeof self == "object" && self && self.Object === Object && self, wn = nu || Wh || Function("return this")(), Hn = wn.Symbol, ru = Object.prototype, Kh = ru.hasOwnProperty, Xh = ru.toString, Gr = Hn ? Hn.toStringTag : void 0;
|
|
2261
2261
|
function Yh(n) {
|
|
2262
2262
|
var e = Kh.call(n, Gr), t = n[Gr];
|
|
2263
2263
|
try {
|
|
@@ -2272,9 +2272,9 @@ var Zh = Object.prototype, Qh = Zh.toString;
|
|
|
2272
2272
|
function Jh(n) {
|
|
2273
2273
|
return Qh.call(n);
|
|
2274
2274
|
}
|
|
2275
|
-
var ep = "[object Null]", tp = "[object Undefined]",
|
|
2275
|
+
var ep = "[object Null]", tp = "[object Undefined]", wo = Hn ? Hn.toStringTag : void 0;
|
|
2276
2276
|
function jr(n) {
|
|
2277
|
-
return n == null ? n === void 0 ? tp : ep :
|
|
2277
|
+
return n == null ? n === void 0 ? tp : ep : wo && wo in Object(n) ? Yh(n) : Jh(n);
|
|
2278
2278
|
}
|
|
2279
2279
|
function In(n) {
|
|
2280
2280
|
return n != null && typeof n == "object";
|
|
@@ -2284,7 +2284,7 @@ function Vn(n) {
|
|
|
2284
2284
|
var e = typeof n;
|
|
2285
2285
|
return n != null && (e == "object" || e == "function");
|
|
2286
2286
|
}
|
|
2287
|
-
function
|
|
2287
|
+
function su(n) {
|
|
2288
2288
|
return n;
|
|
2289
2289
|
}
|
|
2290
2290
|
var np = "[object AsyncFunction]", rp = "[object Function]", sp = "[object GeneratorFunction]", ip = "[object Proxy]";
|
|
@@ -2294,12 +2294,12 @@ function _a(n) {
|
|
|
2294
2294
|
var e = jr(n);
|
|
2295
2295
|
return e == rp || e == sp || e == np || e == ip;
|
|
2296
2296
|
}
|
|
2297
|
-
var $i = wn["__core-js_shared__"],
|
|
2297
|
+
var $i = wn["__core-js_shared__"], Eo = function() {
|
|
2298
2298
|
var n = /[^.]+$/.exec($i && $i.keys && $i.keys.IE_PROTO || "");
|
|
2299
2299
|
return n ? "Symbol(src)_1." + n : "";
|
|
2300
2300
|
}();
|
|
2301
2301
|
function ap(n) {
|
|
2302
|
-
return !!
|
|
2302
|
+
return !!Eo && Eo in n;
|
|
2303
2303
|
}
|
|
2304
2304
|
var op = Function.prototype, lp = op.toString;
|
|
2305
2305
|
function ar(n) {
|
|
@@ -2331,14 +2331,14 @@ function or(n, e) {
|
|
|
2331
2331
|
var t = mp(n, e);
|
|
2332
2332
|
return vp(t) ? t : void 0;
|
|
2333
2333
|
}
|
|
2334
|
-
var ca = or(wn, "WeakMap"),
|
|
2334
|
+
var ca = or(wn, "WeakMap"), So = Object.create, yp = /* @__PURE__ */ function() {
|
|
2335
2335
|
function n() {
|
|
2336
2336
|
}
|
|
2337
2337
|
return function(e) {
|
|
2338
2338
|
if (!Vn(e))
|
|
2339
2339
|
return {};
|
|
2340
|
-
if (
|
|
2341
|
-
return
|
|
2340
|
+
if (So)
|
|
2341
|
+
return So(e);
|
|
2342
2342
|
n.prototype = e;
|
|
2343
2343
|
var t = new n();
|
|
2344
2344
|
return n.prototype = void 0, t;
|
|
@@ -2394,14 +2394,14 @@ var ei = function() {
|
|
|
2394
2394
|
value: Tp(e),
|
|
2395
2395
|
writable: !0
|
|
2396
2396
|
});
|
|
2397
|
-
} :
|
|
2397
|
+
} : su, Np = Sp(Op);
|
|
2398
2398
|
function Rp(n, e) {
|
|
2399
2399
|
for (var t = -1, r = n == null ? 0 : n.length; ++t < r && e(n[t], t, n) !== !1; )
|
|
2400
2400
|
;
|
|
2401
2401
|
return n;
|
|
2402
2402
|
}
|
|
2403
2403
|
var Cp = 9007199254740991, Ip = /^(?:0|[1-9]\d*)$/;
|
|
2404
|
-
function
|
|
2404
|
+
function iu(n, e) {
|
|
2405
2405
|
var t = typeof n;
|
|
2406
2406
|
return e = e ?? Cp, !!e && (t == "number" || t != "symbol" && Ip.test(n)) && n > -1 && n % 1 == 0 && n < e;
|
|
2407
2407
|
}
|
|
@@ -2417,7 +2417,7 @@ function ms(n, e) {
|
|
|
2417
2417
|
return n === e || n !== n && e !== e;
|
|
2418
2418
|
}
|
|
2419
2419
|
var Lp = Object.prototype, kp = Lp.hasOwnProperty;
|
|
2420
|
-
function
|
|
2420
|
+
function au(n, e, t) {
|
|
2421
2421
|
var r = n[e];
|
|
2422
2422
|
(!(kp.call(n, e) && ms(r, t)) || t === void 0 && !(e in n)) && qa(n, e, t);
|
|
2423
2423
|
}
|
|
@@ -2426,14 +2426,14 @@ function Pp(n, e, t, r) {
|
|
|
2426
2426
|
t || (t = {});
|
|
2427
2427
|
for (var o = -1, a = e.length; ++o < a; ) {
|
|
2428
2428
|
var u = e[o], i = void 0;
|
|
2429
|
-
i === void 0 && (i = n[u]), s ? qa(t, u, i) :
|
|
2429
|
+
i === void 0 && (i = n[u]), s ? qa(t, u, i) : au(t, u, i);
|
|
2430
2430
|
}
|
|
2431
2431
|
return t;
|
|
2432
2432
|
}
|
|
2433
|
-
var
|
|
2433
|
+
var To = Math.max;
|
|
2434
2434
|
function Fp(n, e, t) {
|
|
2435
|
-
return e =
|
|
2436
|
-
for (var r = arguments, s = -1, o =
|
|
2435
|
+
return e = To(e === void 0 ? n.length - 1 : e, 0), function() {
|
|
2436
|
+
for (var r = arguments, s = -1, o = To(r.length - e, 0), a = Array(o); ++s < o; )
|
|
2437
2437
|
a[s] = r[e + s];
|
|
2438
2438
|
s = -1;
|
|
2439
2439
|
for (var u = Array(e + 1); ++s < e; )
|
|
@@ -2442,20 +2442,20 @@ function Fp(n, e, t) {
|
|
|
2442
2442
|
};
|
|
2443
2443
|
}
|
|
2444
2444
|
function Mp(n, e) {
|
|
2445
|
-
return Np(Fp(n, e,
|
|
2445
|
+
return Np(Fp(n, e, su), n + "");
|
|
2446
2446
|
}
|
|
2447
2447
|
var Dp = 9007199254740991;
|
|
2448
|
-
function
|
|
2448
|
+
function ou(n) {
|
|
2449
2449
|
return typeof n == "number" && n > -1 && n % 1 == 0 && n <= Dp;
|
|
2450
2450
|
}
|
|
2451
2451
|
function li(n) {
|
|
2452
|
-
return n != null &&
|
|
2452
|
+
return n != null && ou(n.length) && !_a(n);
|
|
2453
2453
|
}
|
|
2454
2454
|
function Bp(n, e, t) {
|
|
2455
2455
|
if (!Vn(t))
|
|
2456
2456
|
return !1;
|
|
2457
2457
|
var r = typeof e;
|
|
2458
|
-
return (r == "number" ? li(t) &&
|
|
2458
|
+
return (r == "number" ? li(t) && iu(e, t.length) : r == "string" && e in t) ? ms(t[e], n) : !1;
|
|
2459
2459
|
}
|
|
2460
2460
|
function Up(n) {
|
|
2461
2461
|
return Mp(function(e, t) {
|
|
@@ -2478,51 +2478,51 @@ function $p(n, e) {
|
|
|
2478
2478
|
return r;
|
|
2479
2479
|
}
|
|
2480
2480
|
var _p = "[object Arguments]";
|
|
2481
|
-
function
|
|
2481
|
+
function Oo(n) {
|
|
2482
2482
|
return In(n) && jr(n) == _p;
|
|
2483
2483
|
}
|
|
2484
|
-
var
|
|
2484
|
+
var lu = Object.prototype, qp = lu.hasOwnProperty, zp = lu.propertyIsEnumerable, fa = Oo(/* @__PURE__ */ function() {
|
|
2485
2485
|
return arguments;
|
|
2486
|
-
}()) ?
|
|
2486
|
+
}()) ? Oo : function(n) {
|
|
2487
2487
|
return In(n) && qp.call(n, "callee") && !zp.call(n, "callee");
|
|
2488
2488
|
};
|
|
2489
2489
|
function Hp() {
|
|
2490
2490
|
return !1;
|
|
2491
2491
|
}
|
|
2492
|
-
var
|
|
2492
|
+
var uu = typeof exports == "object" && exports && !exports.nodeType && exports, No = uu && typeof module == "object" && module && !module.nodeType && module, Vp = No && No.exports === uu, Ro = Vp ? wn.Buffer : void 0, Gp = Ro ? Ro.isBuffer : void 0, as = Gp || Hp, Wp = "[object Arguments]", Kp = "[object Array]", Xp = "[object Boolean]", Yp = "[object Date]", Zp = "[object Error]", Qp = "[object Function]", Jp = "[object Map]", eg = "[object Number]", tg = "[object Object]", ng = "[object RegExp]", rg = "[object Set]", sg = "[object String]", ig = "[object WeakMap]", ag = "[object ArrayBuffer]", og = "[object DataView]", lg = "[object Float32Array]", ug = "[object Float64Array]", cg = "[object Int8Array]", fg = "[object Int16Array]", dg = "[object Int32Array]", hg = "[object Uint8Array]", pg = "[object Uint8ClampedArray]", gg = "[object Uint16Array]", vg = "[object Uint32Array]", it = {};
|
|
2493
2493
|
it[lg] = it[ug] = it[cg] = it[fg] = it[dg] = it[hg] = it[pg] = it[gg] = it[vg] = !0;
|
|
2494
2494
|
it[Wp] = it[Kp] = it[ag] = it[Xp] = it[og] = it[Yp] = it[Zp] = it[Qp] = it[Jp] = it[eg] = it[tg] = it[ng] = it[rg] = it[sg] = it[ig] = !1;
|
|
2495
2495
|
function mg(n) {
|
|
2496
|
-
return In(n) &&
|
|
2496
|
+
return In(n) && ou(n.length) && !!it[jr(n)];
|
|
2497
2497
|
}
|
|
2498
2498
|
function Ha(n) {
|
|
2499
2499
|
return function(e) {
|
|
2500
2500
|
return n(e);
|
|
2501
2501
|
};
|
|
2502
2502
|
}
|
|
2503
|
-
var
|
|
2503
|
+
var cu = typeof exports == "object" && exports && !exports.nodeType && exports, ns = cu && typeof module == "object" && module && !module.nodeType && module, yg = ns && ns.exports === cu, _i = yg && nu.process, Pr = function() {
|
|
2504
2504
|
try {
|
|
2505
2505
|
var n = ns && ns.require && ns.require("util").types;
|
|
2506
2506
|
return n || _i && _i.binding && _i.binding("util");
|
|
2507
2507
|
} catch {
|
|
2508
2508
|
}
|
|
2509
|
-
}(),
|
|
2510
|
-
function
|
|
2509
|
+
}(), Co = Pr && Pr.isTypedArray, Va = Co ? Ha(Co) : mg, bg = Object.prototype, xg = bg.hasOwnProperty;
|
|
2510
|
+
function fu(n, e) {
|
|
2511
2511
|
var t = tr(n), r = !t && fa(n), s = !t && !r && as(n), o = !t && !r && !s && Va(n), a = t || r || s || o, u = a ? $p(n.length, String) : [], i = u.length;
|
|
2512
2512
|
for (var l in n)
|
|
2513
2513
|
(e || xg.call(n, l)) && !(a && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
2514
2514
|
(l == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
2515
2515
|
s && (l == "offset" || l == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
2516
2516
|
o && (l == "buffer" || l == "byteLength" || l == "byteOffset") || // Skip index properties.
|
|
2517
|
-
|
|
2517
|
+
iu(l, i))) && u.push(l);
|
|
2518
2518
|
return u;
|
|
2519
2519
|
}
|
|
2520
|
-
function
|
|
2520
|
+
function du(n, e) {
|
|
2521
2521
|
return function(t) {
|
|
2522
2522
|
return n(e(t));
|
|
2523
2523
|
};
|
|
2524
2524
|
}
|
|
2525
|
-
var Ag =
|
|
2525
|
+
var Ag = du(Object.keys, Object), wg = Object.prototype, Eg = wg.hasOwnProperty;
|
|
2526
2526
|
function Sg(n) {
|
|
2527
2527
|
if (!za(n))
|
|
2528
2528
|
return Ag(n);
|
|
@@ -2532,7 +2532,7 @@ function Sg(n) {
|
|
|
2532
2532
|
return e;
|
|
2533
2533
|
}
|
|
2534
2534
|
function Tg(n) {
|
|
2535
|
-
return li(n) ?
|
|
2535
|
+
return li(n) ? fu(n) : Sg(n);
|
|
2536
2536
|
}
|
|
2537
2537
|
function Og(n) {
|
|
2538
2538
|
var e = [];
|
|
@@ -2550,8 +2550,8 @@ function Cg(n) {
|
|
|
2550
2550
|
r == "constructor" && (e || !Rg.call(n, r)) || t.push(r);
|
|
2551
2551
|
return t;
|
|
2552
2552
|
}
|
|
2553
|
-
function
|
|
2554
|
-
return li(n) ?
|
|
2553
|
+
function hu(n) {
|
|
2554
|
+
return li(n) ? fu(n, !0) : Cg(n);
|
|
2555
2555
|
}
|
|
2556
2556
|
var os = or(Object, "create");
|
|
2557
2557
|
function Ig() {
|
|
@@ -2679,15 +2679,15 @@ function ev(n, e) {
|
|
|
2679
2679
|
n[s + t] = e[t];
|
|
2680
2680
|
return n;
|
|
2681
2681
|
}
|
|
2682
|
-
var
|
|
2682
|
+
var pu = du(Object.getPrototypeOf, Object), tv = "[object Object]", nv = Function.prototype, rv = Object.prototype, gu = nv.toString, sv = rv.hasOwnProperty, iv = gu.call(Object);
|
|
2683
2683
|
function av(n) {
|
|
2684
2684
|
if (!In(n) || jr(n) != tv)
|
|
2685
2685
|
return !1;
|
|
2686
|
-
var e =
|
|
2686
|
+
var e = pu(n);
|
|
2687
2687
|
if (e === null)
|
|
2688
2688
|
return !0;
|
|
2689
2689
|
var t = sv.call(e, "constructor") && e.constructor;
|
|
2690
|
-
return typeof t == "function" && t instanceof t &&
|
|
2690
|
+
return typeof t == "function" && t instanceof t && gu.call(t) == iv;
|
|
2691
2691
|
}
|
|
2692
2692
|
function ov() {
|
|
2693
2693
|
this.__data__ = new Pn(), this.size = 0;
|
|
@@ -2722,11 +2722,11 @@ yn.prototype.delete = lv;
|
|
|
2722
2722
|
yn.prototype.get = uv;
|
|
2723
2723
|
yn.prototype.has = cv;
|
|
2724
2724
|
yn.prototype.set = dv;
|
|
2725
|
-
var
|
|
2726
|
-
function
|
|
2725
|
+
var vu = typeof exports == "object" && exports && !exports.nodeType && exports, Io = vu && typeof module == "object" && module && !module.nodeType && module, hv = Io && Io.exports === vu, Lo = hv ? wn.Buffer : void 0, ko = Lo ? Lo.allocUnsafe : void 0;
|
|
2726
|
+
function mu(n, e) {
|
|
2727
2727
|
if (e)
|
|
2728
2728
|
return n.slice();
|
|
2729
|
-
var t = n.length, r =
|
|
2729
|
+
var t = n.length, r = ko ? ko(t) : new n.constructor(t);
|
|
2730
2730
|
return n.copy(r), r;
|
|
2731
2731
|
}
|
|
2732
2732
|
function pv(n, e) {
|
|
@@ -2739,8 +2739,8 @@ function pv(n, e) {
|
|
|
2739
2739
|
function gv() {
|
|
2740
2740
|
return [];
|
|
2741
2741
|
}
|
|
2742
|
-
var vv = Object.prototype, mv = vv.propertyIsEnumerable,
|
|
2743
|
-
return n == null ? [] : (n = Object(n), pv(
|
|
2742
|
+
var vv = Object.prototype, mv = vv.propertyIsEnumerable, Po = Object.getOwnPropertySymbols, yv = Po ? function(n) {
|
|
2743
|
+
return n == null ? [] : (n = Object(n), pv(Po(n), function(e) {
|
|
2744
2744
|
return mv.call(n, e);
|
|
2745
2745
|
}));
|
|
2746
2746
|
} : gv;
|
|
@@ -2751,21 +2751,21 @@ function bv(n, e, t) {
|
|
|
2751
2751
|
function da(n) {
|
|
2752
2752
|
return bv(n, Tg, yv);
|
|
2753
2753
|
}
|
|
2754
|
-
var ha = or(wn, "DataView"), pa = or(wn, "Promise"), ga = or(wn, "Set"),
|
|
2755
|
-
(ha && sn(new ha(new ArrayBuffer(1))) !=
|
|
2754
|
+
var ha = or(wn, "DataView"), pa = or(wn, "Promise"), ga = or(wn, "Set"), Fo = "[object Map]", xv = "[object Object]", Mo = "[object Promise]", Do = "[object Set]", Bo = "[object WeakMap]", Uo = "[object DataView]", Av = ar(ha), wv = ar(ls), Ev = ar(pa), Sv = ar(ga), Tv = ar(ca), sn = jr;
|
|
2755
|
+
(ha && sn(new ha(new ArrayBuffer(1))) != Uo || ls && sn(new ls()) != Fo || pa && sn(pa.resolve()) != Mo || ga && sn(new ga()) != Do || ca && sn(new ca()) != Bo) && (sn = function(n) {
|
|
2756
2756
|
var e = jr(n), t = e == xv ? n.constructor : void 0, r = t ? ar(t) : "";
|
|
2757
2757
|
if (r)
|
|
2758
2758
|
switch (r) {
|
|
2759
2759
|
case Av:
|
|
2760
|
-
return
|
|
2760
|
+
return Uo;
|
|
2761
2761
|
case wv:
|
|
2762
|
-
return Po;
|
|
2763
|
-
case Ev:
|
|
2764
2762
|
return Fo;
|
|
2765
|
-
case
|
|
2763
|
+
case Ev:
|
|
2766
2764
|
return Mo;
|
|
2767
|
-
case
|
|
2765
|
+
case Sv:
|
|
2768
2766
|
return Do;
|
|
2767
|
+
case Tv:
|
|
2768
|
+
return Bo;
|
|
2769
2769
|
}
|
|
2770
2770
|
return e;
|
|
2771
2771
|
});
|
|
@@ -2788,11 +2788,11 @@ function Lv(n) {
|
|
|
2788
2788
|
var e = new n.constructor(n.source, Iv.exec(n));
|
|
2789
2789
|
return e.lastIndex = n.lastIndex, e;
|
|
2790
2790
|
}
|
|
2791
|
-
var
|
|
2791
|
+
var jo = Hn ? Hn.prototype : void 0, $o = jo ? jo.valueOf : void 0;
|
|
2792
2792
|
function kv(n) {
|
|
2793
|
-
return
|
|
2793
|
+
return $o ? Object($o.call(n)) : {};
|
|
2794
2794
|
}
|
|
2795
|
-
function
|
|
2795
|
+
function yu(n, e) {
|
|
2796
2796
|
var t = e ? Ga(n.buffer) : n.buffer;
|
|
2797
2797
|
return new n.constructor(t, n.byteOffset, n.length);
|
|
2798
2798
|
}
|
|
@@ -2816,7 +2816,7 @@ function Qv(n, e, t) {
|
|
|
2816
2816
|
case Xv:
|
|
2817
2817
|
case Yv:
|
|
2818
2818
|
case Zv:
|
|
2819
|
-
return
|
|
2819
|
+
return yu(n, t);
|
|
2820
2820
|
case Mv:
|
|
2821
2821
|
return new r();
|
|
2822
2822
|
case Dv:
|
|
@@ -2830,20 +2830,20 @@ function Qv(n, e, t) {
|
|
|
2830
2830
|
return kv(n);
|
|
2831
2831
|
}
|
|
2832
2832
|
}
|
|
2833
|
-
function
|
|
2834
|
-
return typeof n.constructor == "function" && !za(n) ? yp(
|
|
2833
|
+
function bu(n) {
|
|
2834
|
+
return typeof n.constructor == "function" && !za(n) ? yp(pu(n)) : {};
|
|
2835
2835
|
}
|
|
2836
2836
|
var Jv = "[object Map]";
|
|
2837
2837
|
function em(n) {
|
|
2838
2838
|
return In(n) && sn(n) == Jv;
|
|
2839
2839
|
}
|
|
2840
|
-
var
|
|
2840
|
+
var _o = Pr && Pr.isMap, tm = _o ? Ha(_o) : em, nm = "[object Set]";
|
|
2841
2841
|
function rm(n) {
|
|
2842
2842
|
return In(n) && sn(n) == nm;
|
|
2843
2843
|
}
|
|
2844
|
-
var
|
|
2845
|
-
st[
|
|
2846
|
-
st[um] = st[
|
|
2844
|
+
var qo = Pr && Pr.isSet, sm = qo ? Ha(qo) : rm, im = 1, xu = "[object Arguments]", am = "[object Array]", om = "[object Boolean]", lm = "[object Date]", um = "[object Error]", Au = "[object Function]", cm = "[object GeneratorFunction]", fm = "[object Map]", dm = "[object Number]", wu = "[object Object]", hm = "[object RegExp]", pm = "[object Set]", gm = "[object String]", vm = "[object Symbol]", mm = "[object WeakMap]", ym = "[object ArrayBuffer]", bm = "[object DataView]", xm = "[object Float32Array]", Am = "[object Float64Array]", wm = "[object Int8Array]", Em = "[object Int16Array]", Sm = "[object Int32Array]", Tm = "[object Uint8Array]", Om = "[object Uint8ClampedArray]", Nm = "[object Uint16Array]", Rm = "[object Uint32Array]", st = {};
|
|
2845
|
+
st[xu] = st[am] = st[ym] = st[bm] = st[om] = st[lm] = st[xm] = st[Am] = st[wm] = st[Em] = st[Sm] = st[fm] = st[dm] = st[wu] = st[hm] = st[pm] = st[gm] = st[vm] = st[Tm] = st[Om] = st[Nm] = st[Rm] = !0;
|
|
2846
|
+
st[um] = st[Au] = st[mm] = !1;
|
|
2847
2847
|
function Ws(n, e, t, r, s, o) {
|
|
2848
2848
|
var a, u = e & im;
|
|
2849
2849
|
if (a !== void 0)
|
|
@@ -2854,11 +2854,11 @@ function Ws(n, e, t, r, s, o) {
|
|
|
2854
2854
|
if (i)
|
|
2855
2855
|
a = Rv(n);
|
|
2856
2856
|
else {
|
|
2857
|
-
var l = sn(n), c = l ==
|
|
2857
|
+
var l = sn(n), c = l == Au || l == cm;
|
|
2858
2858
|
if (as(n))
|
|
2859
|
-
return
|
|
2860
|
-
if (l ==
|
|
2861
|
-
a = c ? {} :
|
|
2859
|
+
return mu(n, u);
|
|
2860
|
+
if (l == wu || l == xu || c && !s)
|
|
2861
|
+
a = c ? {} : bu(n);
|
|
2862
2862
|
else {
|
|
2863
2863
|
if (!st[l])
|
|
2864
2864
|
return s ? n : {};
|
|
@@ -2876,7 +2876,7 @@ function Ws(n, e, t, r, s, o) {
|
|
|
2876
2876
|
});
|
|
2877
2877
|
var f = da, g = i ? void 0 : f(n);
|
|
2878
2878
|
return Rp(g || n, function(h, v) {
|
|
2879
|
-
g && (v = h, h = n[v]),
|
|
2879
|
+
g && (v = h, h = n[v]), au(a, v, Ws(h, e, t, v, n, o));
|
|
2880
2880
|
}), a;
|
|
2881
2881
|
}
|
|
2882
2882
|
var Cm = 1, Im = 4;
|
|
@@ -2907,7 +2907,7 @@ function Mm(n, e) {
|
|
|
2907
2907
|
return n.has(e);
|
|
2908
2908
|
}
|
|
2909
2909
|
var Dm = 1, Bm = 2;
|
|
2910
|
-
function
|
|
2910
|
+
function Eu(n, e, t, r, s, o) {
|
|
2911
2911
|
var a = t & Dm, u = n.length, i = e.length;
|
|
2912
2912
|
if (u != i && !(a && i > u))
|
|
2913
2913
|
return !1;
|
|
@@ -2952,7 +2952,7 @@ function jm(n) {
|
|
|
2952
2952
|
t[++e] = r;
|
|
2953
2953
|
}), t;
|
|
2954
2954
|
}
|
|
2955
|
-
var $m = 1, _m = 2, qm = "[object Boolean]", zm = "[object Date]", Hm = "[object Error]", Vm = "[object Map]", Gm = "[object Number]", Wm = "[object RegExp]", Km = "[object Set]", Xm = "[object String]", Ym = "[object Symbol]", Zm = "[object ArrayBuffer]", Qm = "[object DataView]",
|
|
2955
|
+
var $m = 1, _m = 2, qm = "[object Boolean]", zm = "[object Date]", Hm = "[object Error]", Vm = "[object Map]", Gm = "[object Number]", Wm = "[object RegExp]", Km = "[object Set]", Xm = "[object String]", Ym = "[object Symbol]", Zm = "[object ArrayBuffer]", Qm = "[object DataView]", zo = Hn ? Hn.prototype : void 0, qi = zo ? zo.valueOf : void 0;
|
|
2956
2956
|
function Jm(n, e, t, r, s, o, a) {
|
|
2957
2957
|
switch (t) {
|
|
2958
2958
|
case Qm:
|
|
@@ -2980,7 +2980,7 @@ function Jm(n, e, t, r, s, o, a) {
|
|
|
2980
2980
|
if (l)
|
|
2981
2981
|
return l == e;
|
|
2982
2982
|
r |= _m, a.set(n, e);
|
|
2983
|
-
var c =
|
|
2983
|
+
var c = Eu(u(n), u(e), r, s, o, a);
|
|
2984
2984
|
return a.delete(n), c;
|
|
2985
2985
|
case Ym:
|
|
2986
2986
|
if (qi)
|
|
@@ -3020,10 +3020,10 @@ function r0(n, e, t, r, s, o) {
|
|
|
3020
3020
|
}
|
|
3021
3021
|
return o.delete(n), o.delete(e), v;
|
|
3022
3022
|
}
|
|
3023
|
-
var s0 = 1,
|
|
3023
|
+
var s0 = 1, Ho = "[object Arguments]", Vo = "[object Array]", Ds = "[object Object]", i0 = Object.prototype, Go = i0.hasOwnProperty;
|
|
3024
3024
|
function a0(n, e, t, r, s, o) {
|
|
3025
|
-
var a = tr(n), u = tr(e), i = a ?
|
|
3026
|
-
i = i ==
|
|
3025
|
+
var a = tr(n), u = tr(e), i = a ? Vo : sn(n), l = u ? Vo : sn(e);
|
|
3026
|
+
i = i == Ho ? Ds : i, l = l == Ho ? Ds : l;
|
|
3027
3027
|
var c = i == Ds, d = l == Ds, f = i == l;
|
|
3028
3028
|
if (f && as(n)) {
|
|
3029
3029
|
if (!as(e))
|
|
@@ -3031,9 +3031,9 @@ function a0(n, e, t, r, s, o) {
|
|
|
3031
3031
|
a = !0, c = !1;
|
|
3032
3032
|
}
|
|
3033
3033
|
if (f && !c)
|
|
3034
|
-
return o || (o = new yn()), a || Va(n) ?
|
|
3034
|
+
return o || (o = new yn()), a || Va(n) ? Eu(n, e, t, r, s, o) : Jm(n, e, i, t, r, s, o);
|
|
3035
3035
|
if (!(t & s0)) {
|
|
3036
|
-
var g = c &&
|
|
3036
|
+
var g = c && Go.call(n, "__wrapped__"), h = d && Go.call(e, "__wrapped__");
|
|
3037
3037
|
if (g || h) {
|
|
3038
3038
|
var v = g ? n.value() : n, b = h ? e.value() : e;
|
|
3039
3039
|
return o || (o = new yn()), s(v, b, t, r, o);
|
|
@@ -3041,8 +3041,8 @@ function a0(n, e, t, r, s, o) {
|
|
|
3041
3041
|
}
|
|
3042
3042
|
return f ? (o || (o = new yn()), r0(n, e, t, r, s, o)) : !1;
|
|
3043
3043
|
}
|
|
3044
|
-
function
|
|
3045
|
-
return n === e ? !0 : n == null || e == null || !In(n) && !In(e) ? n !== n && e !== e : a0(n, e, t, r,
|
|
3044
|
+
function Su(n, e, t, r, s) {
|
|
3045
|
+
return n === e ? !0 : n == null || e == null || !In(n) && !In(e) ? n !== n && e !== e : a0(n, e, t, r, Su, s);
|
|
3046
3046
|
}
|
|
3047
3047
|
function o0(n) {
|
|
3048
3048
|
return function(e, t, r) {
|
|
@@ -3066,7 +3066,7 @@ function ma(n, e) {
|
|
|
3066
3066
|
return n[e];
|
|
3067
3067
|
}
|
|
3068
3068
|
function c0(n) {
|
|
3069
|
-
return Pp(n,
|
|
3069
|
+
return Pp(n, hu(n));
|
|
3070
3070
|
}
|
|
3071
3071
|
function f0(n, e, t, r, s, o, a) {
|
|
3072
3072
|
var u = ma(n, t), i = ma(e, t), l = a.get(i);
|
|
@@ -3077,25 +3077,25 @@ function f0(n, e, t, r, s, o, a) {
|
|
|
3077
3077
|
var c = o ? o(u, i, t + "", n, e, a) : void 0, d = c === void 0;
|
|
3078
3078
|
if (d) {
|
|
3079
3079
|
var f = tr(i), g = !f && as(i), h = !f && !g && Va(i);
|
|
3080
|
-
c = i, f || g || h ? tr(u) ? c = u : u0(u) ? c = xp(u) : g ? (d = !1, c =
|
|
3080
|
+
c = i, f || g || h ? tr(u) ? c = u : u0(u) ? c = xp(u) : g ? (d = !1, c = mu(i, !0)) : h ? (d = !1, c = yu(i, !0)) : c = [] : av(i) || fa(i) ? (c = u, fa(u) ? c = c0(u) : (!Vn(u) || _a(u)) && (c = bu(i))) : d = !1;
|
|
3081
3081
|
}
|
|
3082
3082
|
d && (a.set(i, c), s(c, i, r, o, a), a.delete(i)), va(n, t, c);
|
|
3083
3083
|
}
|
|
3084
|
-
function
|
|
3084
|
+
function Tu(n, e, t, r, s) {
|
|
3085
3085
|
n !== e && l0(e, function(o, a) {
|
|
3086
3086
|
if (s || (s = new yn()), Vn(o))
|
|
3087
|
-
f0(n, e, a, t,
|
|
3087
|
+
f0(n, e, a, t, Tu, r, s);
|
|
3088
3088
|
else {
|
|
3089
3089
|
var u = r ? r(ma(n, a), o, a + "", n, e, s) : void 0;
|
|
3090
3090
|
u === void 0 && (u = o), va(n, a, u);
|
|
3091
3091
|
}
|
|
3092
|
-
},
|
|
3092
|
+
}, hu);
|
|
3093
3093
|
}
|
|
3094
3094
|
function Wa(n, e) {
|
|
3095
|
-
return
|
|
3095
|
+
return Su(n, e);
|
|
3096
3096
|
}
|
|
3097
3097
|
var zn = Up(function(n, e, t) {
|
|
3098
|
-
|
|
3098
|
+
Tu(n, e, t);
|
|
3099
3099
|
}), Ce = /* @__PURE__ */ ((n) => (n[n.TYPE = 3] = "TYPE", n[n.LEVEL = 12] = "LEVEL", n[n.ATTRIBUTE = 13] = "ATTRIBUTE", n[n.BLOT = 14] = "BLOT", n[n.INLINE = 7] = "INLINE", n[n.BLOCK = 11] = "BLOCK", n[n.BLOCK_BLOT = 10] = "BLOCK_BLOT", n[n.INLINE_BLOT = 6] = "INLINE_BLOT", n[n.BLOCK_ATTRIBUTE = 9] = "BLOCK_ATTRIBUTE", n[n.INLINE_ATTRIBUTE = 5] = "INLINE_ATTRIBUTE", n[n.ANY = 15] = "ANY", n))(Ce || {});
|
|
3100
3100
|
class xn {
|
|
3101
3101
|
constructor(e, t, r = {}) {
|
|
@@ -3128,7 +3128,7 @@ class Ir extends Error {
|
|
|
3128
3128
|
e = "[Parchment] " + e, super(e), this.message = e, this.name = this.constructor.name;
|
|
3129
3129
|
}
|
|
3130
3130
|
}
|
|
3131
|
-
const
|
|
3131
|
+
const Ou = class ya {
|
|
3132
3132
|
constructor() {
|
|
3133
3133
|
this.attributes = {}, this.classes = {}, this.tags = {}, this.types = {};
|
|
3134
3134
|
}
|
|
@@ -3179,9 +3179,9 @@ const Tu = class ya {
|
|
|
3179
3179
|
});
|
|
3180
3180
|
}
|
|
3181
3181
|
};
|
|
3182
|
-
|
|
3183
|
-
let Fr =
|
|
3184
|
-
function
|
|
3182
|
+
Ou.blots = /* @__PURE__ */ new WeakMap();
|
|
3183
|
+
let Fr = Ou;
|
|
3184
|
+
function Wo(n, e) {
|
|
3185
3185
|
return (n.getAttribute("class") || "").split(/\s+/).filter((t) => t.indexOf(`${e}-`) === 0);
|
|
3186
3186
|
}
|
|
3187
3187
|
class d0 extends xn {
|
|
@@ -3192,12 +3192,12 @@ class d0 extends xn {
|
|
|
3192
3192
|
return this.canAdd(e, t) ? (this.remove(e), e.classList.add(`${this.keyName}-${t}`), !0) : !1;
|
|
3193
3193
|
}
|
|
3194
3194
|
remove(e) {
|
|
3195
|
-
|
|
3195
|
+
Wo(e, this.keyName).forEach((t) => {
|
|
3196
3196
|
e.classList.remove(t);
|
|
3197
3197
|
}), e.classList.length === 0 && e.removeAttribute("class");
|
|
3198
3198
|
}
|
|
3199
3199
|
value(e) {
|
|
3200
|
-
const t = (
|
|
3200
|
+
const t = (Wo(e, this.keyName)[0] || "").slice(this.keyName.length + 1);
|
|
3201
3201
|
return this.canAdd(e, t) ? t : "";
|
|
3202
3202
|
}
|
|
3203
3203
|
}
|
|
@@ -3258,7 +3258,7 @@ class p0 {
|
|
|
3258
3258
|
);
|
|
3259
3259
|
}
|
|
3260
3260
|
}
|
|
3261
|
-
const fi = p0,
|
|
3261
|
+
const fi = p0, Nu = class {
|
|
3262
3262
|
constructor(e, t) {
|
|
3263
3263
|
this.scroll = e, this.domNode = t, Fr.blots.set(t, this), this.prev = null, this.next = null;
|
|
3264
3264
|
}
|
|
@@ -3331,9 +3331,9 @@ const fi = p0, Ou = class {
|
|
|
3331
3331
|
return r.appendChild(this), r;
|
|
3332
3332
|
}
|
|
3333
3333
|
};
|
|
3334
|
-
|
|
3335
|
-
let
|
|
3336
|
-
const
|
|
3334
|
+
Nu.blotName = "abstract";
|
|
3335
|
+
let Ru = Nu;
|
|
3336
|
+
const Cu = class extends Ru {
|
|
3337
3337
|
/**
|
|
3338
3338
|
* Returns the value represented by domNode if it is this Blot's type
|
|
3339
3339
|
* No checking that domNode can represent this Blot type is required so
|
|
@@ -3368,8 +3368,8 @@ const Ru = class extends Nu {
|
|
|
3368
3368
|
};
|
|
3369
3369
|
}
|
|
3370
3370
|
};
|
|
3371
|
-
|
|
3372
|
-
let g0 =
|
|
3371
|
+
Cu.scope = Ce.INLINE_BLOT;
|
|
3372
|
+
let g0 = Cu;
|
|
3373
3373
|
const kt = g0;
|
|
3374
3374
|
class v0 {
|
|
3375
3375
|
constructor() {
|
|
@@ -3473,7 +3473,7 @@ class v0 {
|
|
|
3473
3473
|
return t;
|
|
3474
3474
|
}
|
|
3475
3475
|
}
|
|
3476
|
-
function
|
|
3476
|
+
function Ko(n, e) {
|
|
3477
3477
|
const t = e.find(n);
|
|
3478
3478
|
if (t)
|
|
3479
3479
|
return t;
|
|
@@ -3486,7 +3486,7 @@ function Wo(n, e) {
|
|
|
3486
3486
|
}), n.parentNode && n.parentNode.replaceChild(r.domNode, n), r.attach(), r;
|
|
3487
3487
|
}
|
|
3488
3488
|
}
|
|
3489
|
-
const
|
|
3489
|
+
const Iu = class Un extends Ru {
|
|
3490
3490
|
constructor(e, t) {
|
|
3491
3491
|
super(e, t), this.uiNode = null, this.build();
|
|
3492
3492
|
}
|
|
@@ -3507,7 +3507,7 @@ const Cu = class Un extends Nu {
|
|
|
3507
3507
|
build() {
|
|
3508
3508
|
this.children = new v0(), Array.from(this.domNode.childNodes).filter((e) => e !== this.uiNode).reverse().forEach((e) => {
|
|
3509
3509
|
try {
|
|
3510
|
-
const t =
|
|
3510
|
+
const t = Ko(e, this.scroll);
|
|
3511
3511
|
this.insertBefore(t, this.children.head || void 0);
|
|
3512
3512
|
} catch (t) {
|
|
3513
3513
|
if (t instanceof Ir)
|
|
@@ -3633,13 +3633,13 @@ const Cu = class Un extends Nu {
|
|
|
3633
3633
|
}), r.filter((o) => o.parentNode === this.domNode && o !== this.uiNode).sort((o, a) => o === a ? 0 : o.compareDocumentPosition(a) & Node.DOCUMENT_POSITION_FOLLOWING ? 1 : -1).forEach((o) => {
|
|
3634
3634
|
let a = null;
|
|
3635
3635
|
o.nextSibling != null && (a = this.scroll.find(o.nextSibling));
|
|
3636
|
-
const u =
|
|
3636
|
+
const u = Ko(o, this.scroll);
|
|
3637
3637
|
(u.next !== a || u.next == null) && (u.parent != null && u.parent.removeChild(this), this.insertBefore(u, a || void 0));
|
|
3638
3638
|
}), this.enforceAllowedChildren();
|
|
3639
3639
|
}
|
|
3640
3640
|
};
|
|
3641
|
-
|
|
3642
|
-
let m0 =
|
|
3641
|
+
Iu.uiClass = "";
|
|
3642
|
+
let m0 = Iu;
|
|
3643
3643
|
const ln = m0;
|
|
3644
3644
|
function y0(n, e) {
|
|
3645
3645
|
if (Object.keys(n).length !== Object.keys(e).length)
|
|
@@ -3878,7 +3878,7 @@ const Vt = w0, E0 = {
|
|
|
3878
3878
|
};
|
|
3879
3879
|
Or.blotName = "scroll", Or.defaultChild = us, Or.allowedChildren = [us, di], Or.scope = Ce.BLOCK_BLOT, Or.tagName = "DIV";
|
|
3880
3880
|
let T0 = Or;
|
|
3881
|
-
const Xa = T0, Aa = class
|
|
3881
|
+
const Xa = T0, Aa = class Lu extends kt {
|
|
3882
3882
|
static create(e) {
|
|
3883
3883
|
return document.createTextNode(e);
|
|
3884
3884
|
}
|
|
@@ -3901,7 +3901,7 @@ const Xa = T0, Aa = class Iu extends kt {
|
|
|
3901
3901
|
return this.text.length;
|
|
3902
3902
|
}
|
|
3903
3903
|
optimize(e) {
|
|
3904
|
-
super.optimize(e), this.text = this.statics.value(this.domNode), this.text.length === 0 ? this.remove() : this.next instanceof
|
|
3904
|
+
super.optimize(e), this.text = this.statics.value(this.domNode), this.text.length === 0 ? this.remove() : this.next instanceof Lu && this.next.prev === this && (this.insertAt(this.length(), this.next.value()), this.next.remove());
|
|
3905
3905
|
}
|
|
3906
3906
|
position(e, t = !1) {
|
|
3907
3907
|
return [this.domNode, e];
|
|
@@ -3946,10 +3946,10 @@ var $n = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
3946
3946
|
function Ya(n) {
|
|
3947
3947
|
return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
|
|
3948
3948
|
}
|
|
3949
|
-
var Bs = { exports: {} }, Hi,
|
|
3949
|
+
var Bs = { exports: {} }, Hi, Xo;
|
|
3950
3950
|
function R0() {
|
|
3951
|
-
if (
|
|
3952
|
-
|
|
3951
|
+
if (Xo) return Hi;
|
|
3952
|
+
Xo = 1;
|
|
3953
3953
|
var n = -1, e = 1, t = 0;
|
|
3954
3954
|
function r(x, P, O, _, U) {
|
|
3955
3955
|
if (x === P)
|
|
@@ -4311,9 +4311,9 @@ function R0() {
|
|
|
4311
4311
|
}
|
|
4312
4312
|
var Zr = { exports: {} };
|
|
4313
4313
|
Zr.exports;
|
|
4314
|
-
var
|
|
4315
|
-
function
|
|
4316
|
-
return
|
|
4314
|
+
var Yo;
|
|
4315
|
+
function ku() {
|
|
4316
|
+
return Yo || (Yo = 1, function(n, e) {
|
|
4317
4317
|
var t = 200, r = "__lodash_hash_undefined__", s = 9007199254740991, o = "[object Arguments]", a = "[object Array]", u = "[object Boolean]", i = "[object Date]", l = "[object Error]", c = "[object Function]", d = "[object GeneratorFunction]", f = "[object Map]", g = "[object Number]", h = "[object Object]", v = "[object Promise]", b = "[object RegExp]", S = "[object Set]", E = "[object String]", R = "[object Symbol]", F = "[object WeakMap]", M = "[object ArrayBuffer]", z = "[object DataView]", K = "[object Float32Array]", H = "[object Float64Array]", re = "[object Int8Array]", V = "[object Int16Array]", x = "[object Int32Array]", P = "[object Uint8Array]", O = "[object Uint8ClampedArray]", _ = "[object Uint16Array]", U = "[object Uint32Array]", j = /[\\^$.*+?()[\]{}|]/g, W = /\w*$/, q = /^\[object .+?Constructor\]$/, Q = /^(?:0|[1-9]\d*)$/, J = {};
|
|
4318
4318
|
J[o] = J[a] = J[M] = J[z] = J[u] = J[i] = J[K] = J[H] = J[re] = J[V] = J[x] = J[f] = J[g] = J[h] = J[b] = J[S] = J[E] = J[R] = J[P] = J[O] = J[_] = J[U] = !0, J[l] = J[c] = J[F] = !1;
|
|
4319
4319
|
var ve = typeof $n == "object" && $n && $n.Object === Object && $n, me = typeof self == "object" && self && self.Object === Object && self, be = ve || me || Function("return this")(), we = e && !e.nodeType && e, pe = we && !0 && n && !n.nodeType && n, Re = pe && pe.exports === we;
|
|
@@ -4759,9 +4759,9 @@ function Lu() {
|
|
|
4759
4759
|
}
|
|
4760
4760
|
var Qr = { exports: {} };
|
|
4761
4761
|
Qr.exports;
|
|
4762
|
-
var
|
|
4763
|
-
function
|
|
4764
|
-
return
|
|
4762
|
+
var Zo;
|
|
4763
|
+
function Pu() {
|
|
4764
|
+
return Zo || (Zo = 1, function(n, e) {
|
|
4765
4765
|
var t = 200, r = "__lodash_hash_undefined__", s = 1, o = 2, a = 9007199254740991, u = "[object Arguments]", i = "[object Array]", l = "[object AsyncFunction]", c = "[object Boolean]", d = "[object Date]", f = "[object Error]", g = "[object Function]", h = "[object GeneratorFunction]", v = "[object Map]", b = "[object Number]", S = "[object Null]", E = "[object Object]", R = "[object Promise]", F = "[object Proxy]", M = "[object RegExp]", z = "[object Set]", K = "[object String]", H = "[object Symbol]", re = "[object Undefined]", V = "[object WeakMap]", x = "[object ArrayBuffer]", P = "[object DataView]", O = "[object Float32Array]", _ = "[object Float64Array]", U = "[object Int8Array]", j = "[object Int16Array]", W = "[object Int32Array]", q = "[object Uint8Array]", Q = "[object Uint8ClampedArray]", J = "[object Uint16Array]", ve = "[object Uint32Array]", me = /[\\^$.*+?()[\]{}|]/g, be = /^\[object .+?Constructor\]$/, we = /^(?:0|[1-9]\d*)$/, pe = {};
|
|
4766
4766
|
pe[O] = pe[_] = pe[U] = pe[j] = pe[W] = pe[q] = pe[Q] = pe[J] = pe[ve] = !0, pe[u] = pe[i] = pe[x] = pe[c] = pe[P] = pe[d] = pe[f] = pe[g] = pe[v] = pe[b] = pe[E] = pe[M] = pe[z] = pe[K] = pe[V] = !1;
|
|
4767
4767
|
var Re = typeof $n == "object" && $n && $n.Object === Object && $n, xe = typeof self == "object" && self && self.Object === Object && self, T = Re || xe || Function("return this")(), C = e && !e.nodeType && e, A = C && !0 && n && !n.nodeType && n, N = A && A.exports === C, m = N && Re.process, y = function() {
|
|
@@ -5238,11 +5238,11 @@ function ku() {
|
|
|
5238
5238
|
n.exports = Fi;
|
|
5239
5239
|
}(Qr, Qr.exports)), Qr.exports;
|
|
5240
5240
|
}
|
|
5241
|
-
var Us = {},
|
|
5241
|
+
var Us = {}, Qo;
|
|
5242
5242
|
function C0() {
|
|
5243
|
-
if (
|
|
5244
|
-
|
|
5245
|
-
const n =
|
|
5243
|
+
if (Qo) return Us;
|
|
5244
|
+
Qo = 1, Object.defineProperty(Us, "__esModule", { value: !0 });
|
|
5245
|
+
const n = ku(), e = Pu();
|
|
5246
5246
|
var t;
|
|
5247
5247
|
return function(r) {
|
|
5248
5248
|
function s(i = {}, l = {}, c = !1) {
|
|
@@ -5279,10 +5279,10 @@ function C0() {
|
|
|
5279
5279
|
r.transform = u;
|
|
5280
5280
|
}(t || (t = {})), Us.default = t, Us;
|
|
5281
5281
|
}
|
|
5282
|
-
var js = {},
|
|
5283
|
-
function
|
|
5284
|
-
if (
|
|
5285
|
-
|
|
5282
|
+
var js = {}, Jo;
|
|
5283
|
+
function Fu() {
|
|
5284
|
+
if (Jo) return js;
|
|
5285
|
+
Jo = 1, Object.defineProperty(js, "__esModule", { value: !0 });
|
|
5286
5286
|
var n;
|
|
5287
5287
|
return function(e) {
|
|
5288
5288
|
function t(r) {
|
|
@@ -5291,11 +5291,11 @@ function Pu() {
|
|
|
5291
5291
|
e.length = t;
|
|
5292
5292
|
}(n || (n = {})), js.default = n, js;
|
|
5293
5293
|
}
|
|
5294
|
-
var $s = {},
|
|
5294
|
+
var $s = {}, el;
|
|
5295
5295
|
function I0() {
|
|
5296
|
-
if (
|
|
5297
|
-
|
|
5298
|
-
const n =
|
|
5296
|
+
if (el) return $s;
|
|
5297
|
+
el = 1, Object.defineProperty($s, "__esModule", { value: !0 });
|
|
5298
|
+
const n = Fu();
|
|
5299
5299
|
class e {
|
|
5300
5300
|
constructor(r) {
|
|
5301
5301
|
this.ops = r, this.index = 0, this.offset = 0;
|
|
@@ -5340,13 +5340,13 @@ function I0() {
|
|
|
5340
5340
|
}
|
|
5341
5341
|
return $s.default = e, $s;
|
|
5342
5342
|
}
|
|
5343
|
-
var
|
|
5343
|
+
var tl;
|
|
5344
5344
|
function L0() {
|
|
5345
|
-
return
|
|
5345
|
+
return tl || (tl = 1, function(n, e) {
|
|
5346
5346
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.AttributeMap = e.OpIterator = e.Op = void 0;
|
|
5347
|
-
const t = R0(), r =
|
|
5347
|
+
const t = R0(), r = ku(), s = Pu(), o = C0();
|
|
5348
5348
|
e.AttributeMap = o.default;
|
|
5349
|
-
const a =
|
|
5349
|
+
const a = Fu();
|
|
5350
5350
|
e.Op = a.default;
|
|
5351
5351
|
const u = I0();
|
|
5352
5352
|
e.OpIterator = u.default;
|
|
@@ -5668,14 +5668,14 @@ Ee(mn, "order", [
|
|
|
5668
5668
|
// Must be higher
|
|
5669
5669
|
]);
|
|
5670
5670
|
let An = mn;
|
|
5671
|
-
const
|
|
5671
|
+
const nl = 1;
|
|
5672
5672
|
class Ot extends us {
|
|
5673
5673
|
constructor() {
|
|
5674
5674
|
super(...arguments);
|
|
5675
5675
|
Ee(this, "cache", {});
|
|
5676
5676
|
}
|
|
5677
5677
|
delta() {
|
|
5678
|
-
return this.cache.delta == null && (this.cache.delta =
|
|
5678
|
+
return this.cache.delta == null && (this.cache.delta = Mu(this)), this.cache.delta;
|
|
5679
5679
|
}
|
|
5680
5680
|
deleteAt(t, r) {
|
|
5681
5681
|
super.deleteAt(t, r), this.cache = {};
|
|
@@ -5702,7 +5702,7 @@ class Ot extends us {
|
|
|
5702
5702
|
super.insertBefore(t, r), s instanceof fn && s.remove(), this.cache = {};
|
|
5703
5703
|
}
|
|
5704
5704
|
length() {
|
|
5705
|
-
return this.cache.length == null && (this.cache.length = super.length() +
|
|
5705
|
+
return this.cache.length == null && (this.cache.length = super.length() + nl), this.cache.length;
|
|
5706
5706
|
}
|
|
5707
5707
|
moveChildren(t, r) {
|
|
5708
5708
|
super.moveChildren(t, r), this.cache = {};
|
|
@@ -5718,7 +5718,7 @@ class Ot extends us {
|
|
|
5718
5718
|
}
|
|
5719
5719
|
split(t) {
|
|
5720
5720
|
let r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
|
|
5721
|
-
if (r && (t === 0 || t >= this.length() -
|
|
5721
|
+
if (r && (t === 0 || t >= this.length() - nl)) {
|
|
5722
5722
|
const o = this.clone();
|
|
5723
5723
|
return t === 0 ? (this.parent.insertBefore(o, this), this) : (this.parent.insertBefore(o, this.next), o);
|
|
5724
5724
|
}
|
|
@@ -5763,7 +5763,7 @@ class Zt extends Vt {
|
|
|
5763
5763
|
}
|
|
5764
5764
|
}
|
|
5765
5765
|
Zt.scope = Ce.BLOCK_BLOT;
|
|
5766
|
-
function
|
|
5766
|
+
function Mu(n) {
|
|
5767
5767
|
let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;
|
|
5768
5768
|
return n.descendants(kt).reduce((t, r) => r.length() === 0 ? t : t.insert(r.value(), Xt(r, {}, e)), new Ne()).insert(`
|
|
5769
5769
|
`, Xt(n));
|
|
@@ -5872,9 +5872,9 @@ const Kt = class Kt extends Vt {
|
|
|
5872
5872
|
};
|
|
5873
5873
|
Ee(Kt, "blotName", "cursor"), Ee(Kt, "className", "ql-cursor"), Ee(Kt, "tagName", "span"), Ee(Kt, "CONTENTS", "\uFEFF");
|
|
5874
5874
|
let Mr = Kt;
|
|
5875
|
-
var Vi = { exports: {} },
|
|
5875
|
+
var Vi = { exports: {} }, rl;
|
|
5876
5876
|
function P0() {
|
|
5877
|
-
return
|
|
5877
|
+
return rl || (rl = 1, function(n) {
|
|
5878
5878
|
var e = Object.prototype.hasOwnProperty, t = "~";
|
|
5879
5879
|
function r() {
|
|
5880
5880
|
}
|
|
@@ -5982,7 +5982,7 @@ function P0() {
|
|
|
5982
5982
|
var F0 = P0();
|
|
5983
5983
|
const M0 = /* @__PURE__ */ Ya(F0), wa = /* @__PURE__ */ new WeakMap(), Ea = ["error", "warn", "log", "info"];
|
|
5984
5984
|
let Sa = "warn";
|
|
5985
|
-
function
|
|
5985
|
+
function Du(n) {
|
|
5986
5986
|
if (Sa && Ea.indexOf(n) <= Ea.indexOf(Sa)) {
|
|
5987
5987
|
for (var e = arguments.length, t = new Array(e > 1 ? e - 1 : 0), r = 1; r < e; r++)
|
|
5988
5988
|
t[r - 1] = arguments[r];
|
|
@@ -5990,12 +5990,12 @@ function Mu(n) {
|
|
|
5990
5990
|
}
|
|
5991
5991
|
}
|
|
5992
5992
|
function Fn(n) {
|
|
5993
|
-
return Ea.reduce((e, t) => (e[t] =
|
|
5993
|
+
return Ea.reduce((e, t) => (e[t] = Du.bind(console, t, n), e), {});
|
|
5994
5994
|
}
|
|
5995
5995
|
Fn.level = (n) => {
|
|
5996
5996
|
Sa = n;
|
|
5997
5997
|
};
|
|
5998
|
-
|
|
5998
|
+
Du.level = Fn.level;
|
|
5999
5999
|
const Gi = Fn("quill:events"), D0 = ["selectionchange", "mousedown", "mouseup", "click"];
|
|
6000
6000
|
D0.forEach((n) => {
|
|
6001
6001
|
document.addEventListener(n, function() {
|
|
@@ -6289,7 +6289,7 @@ class j0 {
|
|
|
6289
6289
|
this.scroll.update();
|
|
6290
6290
|
let t = this.scroll.length();
|
|
6291
6291
|
this.scroll.batchStart();
|
|
6292
|
-
const r =
|
|
6292
|
+
const r = sl(e), s = new Ne();
|
|
6293
6293
|
return _0(r.ops.slice()).reduce((a, u) => {
|
|
6294
6294
|
const i = Qt.Op.length(u);
|
|
6295
6295
|
let l = u.attributes || {}, c = !1, d = !1;
|
|
@@ -6398,7 +6398,7 @@ class j0 {
|
|
|
6398
6398
|
return this.getContents(e, t).filter((r) => typeof r.insert == "string").map((r) => r.insert).join("");
|
|
6399
6399
|
}
|
|
6400
6400
|
insertContents(e, t) {
|
|
6401
|
-
const r =
|
|
6401
|
+
const r = sl(t), s = new Ne().retain(e).concat(r);
|
|
6402
6402
|
return this.scroll.insertContents(e, r), this.update(s);
|
|
6403
6403
|
}
|
|
6404
6404
|
insertEmbed(e, t, r) {
|
|
@@ -6436,8 +6436,8 @@ class j0 {
|
|
|
6436
6436
|
if (t.length === 1 && t[0].type === "characterData" && // @ts-expect-error Fix me later
|
|
6437
6437
|
t[0].target.data.match(U0) && this.scroll.find(t[0].target)) {
|
|
6438
6438
|
const o = this.scroll.find(t[0].target), a = Xt(o), u = o.offset(this.scroll), i = t[0].oldValue.replace(Mr.CONTENTS, ""), l = new Ne().insert(i), c = new Ne().insert(o.value()), d = r && {
|
|
6439
|
-
oldRange:
|
|
6440
|
-
newRange:
|
|
6439
|
+
oldRange: il(r.oldRange, -u),
|
|
6440
|
+
newRange: il(r.newRange, -u)
|
|
6441
6441
|
};
|
|
6442
6442
|
e = new Ne().retain(u).concat(l.diff(c, d)).reduce((g, h) => h.insert ? g.insert(h.insert, a) : g.push(h), new Ne()), this.delta = s.compose(e);
|
|
6443
6443
|
} else
|
|
@@ -6516,7 +6516,7 @@ function Xi(n) {
|
|
|
6516
6516
|
return [e, ""];
|
|
6517
6517
|
}
|
|
6518
6518
|
}
|
|
6519
|
-
function
|
|
6519
|
+
function sl(n) {
|
|
6520
6520
|
return n.reduce((e, t) => {
|
|
6521
6521
|
if (typeof t.insert == "string") {
|
|
6522
6522
|
const r = t.insert.replace(/\r\n/g, `
|
|
@@ -6527,7 +6527,7 @@ function rl(n) {
|
|
|
6527
6527
|
return e.push(t);
|
|
6528
6528
|
}, new Ne());
|
|
6529
6529
|
}
|
|
6530
|
-
function
|
|
6530
|
+
function il(n, e) {
|
|
6531
6531
|
let {
|
|
6532
6532
|
index: t,
|
|
6533
6533
|
length: r
|
|
@@ -6654,7 +6654,7 @@ const z0 = (n) => n.parentElement || n.getRootNode().host || null, H0 = (n) => {
|
|
|
6654
6654
|
}, qs = (n) => {
|
|
6655
6655
|
const e = parseInt(n, 10);
|
|
6656
6656
|
return Number.isNaN(e) ? 0 : e;
|
|
6657
|
-
},
|
|
6657
|
+
}, al = (n, e, t, r, s, o) => n < t && e > r ? 0 : n < t ? -(t - n + s) : e > r ? e - n > r - t ? n + s - t : e - r + o : 0, V0 = (n, e) => {
|
|
6658
6658
|
var o, a, u;
|
|
6659
6659
|
const t = n.ownerDocument;
|
|
6660
6660
|
let r = e, s = n;
|
|
@@ -6664,7 +6664,7 @@ const z0 = (n) => n.parentElement || n.getRootNode().host || null, H0 = (n) => {
|
|
|
6664
6664
|
right: ((o = window.visualViewport) == null ? void 0 : o.width) ?? t.documentElement.clientWidth,
|
|
6665
6665
|
bottom: ((a = window.visualViewport) == null ? void 0 : a.height) ?? t.documentElement.clientHeight,
|
|
6666
6666
|
left: 0
|
|
6667
|
-
} : H0(s), c = getComputedStyle(s), d =
|
|
6667
|
+
} : H0(s), c = getComputedStyle(s), d = al(r.left, r.right, l.left, l.right, qs(c.scrollPaddingLeft), qs(c.scrollPaddingRight)), f = al(r.top, r.bottom, l.top, l.bottom, qs(c.scrollPaddingTop), qs(c.scrollPaddingBottom));
|
|
6668
6668
|
if (d || f)
|
|
6669
6669
|
if (i)
|
|
6670
6670
|
(u = t.defaultView) == null || u.scrollBy(d, f);
|
|
@@ -6977,7 +6977,7 @@ Ee(rn, "DEFAULTS", {
|
|
|
6977
6977
|
"core/theme": Dr
|
|
6978
6978
|
});
|
|
6979
6979
|
let le = rn;
|
|
6980
|
-
function
|
|
6980
|
+
function ol(n) {
|
|
6981
6981
|
return typeof n == "string" ? document.querySelector(n) : n;
|
|
6982
6982
|
}
|
|
6983
6983
|
function Yi(n) {
|
|
@@ -6989,11 +6989,11 @@ function Yi(n) {
|
|
|
6989
6989
|
};
|
|
6990
6990
|
}, {});
|
|
6991
6991
|
}
|
|
6992
|
-
function
|
|
6992
|
+
function ll(n) {
|
|
6993
6993
|
return Object.fromEntries(Object.entries(n).filter((e) => e[1] !== void 0));
|
|
6994
6994
|
}
|
|
6995
6995
|
function X0(n, e) {
|
|
6996
|
-
const t =
|
|
6996
|
+
const t = ol(n);
|
|
6997
6997
|
if (!t)
|
|
6998
6998
|
throw new Error("Invalid Quill container");
|
|
6999
6999
|
const s = !e.theme || e.theme === le.DEFAULTS.theme ? Dr : le.import(`themes/${e.theme}`);
|
|
@@ -7015,8 +7015,8 @@ function X0(n, e) {
|
|
|
7015
7015
|
});
|
|
7016
7016
|
const c = zn({}, Yi(o), Yi(u), l), d = {
|
|
7017
7017
|
...a,
|
|
7018
|
-
...
|
|
7019
|
-
...
|
|
7018
|
+
...ll(i),
|
|
7019
|
+
...ll(e)
|
|
7020
7020
|
};
|
|
7021
7021
|
let f = e.registry;
|
|
7022
7022
|
return f ? e.formats && Lr.warn('Ignoring "formats" option because "registry" is specified') : f = e.formats ? K0(e.formats, d.registry, Lr) : d.registry, {
|
|
@@ -7034,7 +7034,7 @@ function X0(n, e) {
|
|
|
7034
7034
|
[v]: zn({}, S.DEFAULTS || {}, b)
|
|
7035
7035
|
};
|
|
7036
7036
|
}, {}),
|
|
7037
|
-
bounds:
|
|
7037
|
+
bounds: ol(d.bounds)
|
|
7038
7038
|
};
|
|
7039
7039
|
}
|
|
7040
7040
|
function nn(n, e, t, r) {
|
|
@@ -7042,7 +7042,7 @@ function nn(n, e, t, r) {
|
|
|
7042
7042
|
return new Ne();
|
|
7043
7043
|
let s = t == null ? null : this.getSelection();
|
|
7044
7044
|
const o = this.editor.delta, a = n();
|
|
7045
|
-
if (s != null && (t === !0 && (t = s.index), r == null ? s =
|
|
7045
|
+
if (s != null && (t === !0 && (t = s.index), r == null ? s = ul(s, a, e) : r !== 0 && (s = ul(s, t, r, e)), this.setSelection(s, Oe.sources.SILENT)), a.length() > 0) {
|
|
7046
7046
|
const u = [Oe.events.TEXT_CHANGE, a, o, e];
|
|
7047
7047
|
this.emitter.emit(Oe.events.EDITOR_CHANGE, ...u), e !== Oe.sources.SILENT && this.emitter.emit(...u);
|
|
7048
7048
|
}
|
|
@@ -7052,7 +7052,7 @@ function Cn(n, e, t, r, s) {
|
|
|
7052
7052
|
let o = {};
|
|
7053
7053
|
return typeof n.index == "number" && typeof n.length == "number" ? typeof e != "number" ? (s = r, r = t, t = e, e = n.length, n = n.index) : (e = n.length, n = n.index) : typeof e != "number" && (s = r, r = t, t = e, e = 0), typeof t == "object" ? (o = t, s = r) : typeof t == "string" && (r != null ? o[t] = r : s = t), s = s || Oe.sources.API, [n, e, o, s];
|
|
7054
7054
|
}
|
|
7055
|
-
function
|
|
7055
|
+
function ul(n, e, t, r) {
|
|
7056
7056
|
const s = typeof t == "number" ? t : 0;
|
|
7057
7057
|
if (n == null) return null;
|
|
7058
7058
|
let o, a;
|
|
@@ -7063,10 +7063,10 @@ function ll(n, e, t, r) {
|
|
|
7063
7063
|
}
|
|
7064
7064
|
class ur extends di {
|
|
7065
7065
|
}
|
|
7066
|
-
function
|
|
7066
|
+
function cl(n) {
|
|
7067
7067
|
return n instanceof Ot || n instanceof Zt;
|
|
7068
7068
|
}
|
|
7069
|
-
function
|
|
7069
|
+
function fl(n) {
|
|
7070
7070
|
return typeof n.updateContent == "function";
|
|
7071
7071
|
}
|
|
7072
7072
|
class Rr extends Xa {
|
|
@@ -7180,14 +7180,14 @@ class Rr extends Xa {
|
|
|
7180
7180
|
return r instanceof kt ? [r, s] : [null, -1];
|
|
7181
7181
|
}
|
|
7182
7182
|
line(e) {
|
|
7183
|
-
return e === this.length() ? this.line(e - 1) : this.descendant(
|
|
7183
|
+
return e === this.length() ? this.line(e - 1) : this.descendant(cl, e);
|
|
7184
7184
|
}
|
|
7185
7185
|
lines() {
|
|
7186
7186
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Number.MAX_VALUE;
|
|
7187
7187
|
const r = (s, o, a) => {
|
|
7188
7188
|
let u = [], i = a;
|
|
7189
7189
|
return s.children.forEachAt(o, a, (l, c, d) => {
|
|
7190
|
-
|
|
7190
|
+
cl(l) ? u.push(l) : l instanceof di && (u = u.concat(r(l, c, i))), i -= d;
|
|
7191
7191
|
}), u;
|
|
7192
7192
|
};
|
|
7193
7193
|
return r(this, e, t);
|
|
@@ -7212,12 +7212,12 @@ class Rr extends Xa {
|
|
|
7212
7212
|
target: s
|
|
7213
7213
|
} = r;
|
|
7214
7214
|
const o = this.find(s, !0);
|
|
7215
|
-
return o && !
|
|
7215
|
+
return o && !fl(o);
|
|
7216
7216
|
}), e.length > 0 && this.emitter.emit(Oe.events.SCROLL_BEFORE_UPDATE, t, e), super.update(e.concat([])), e.length > 0 && this.emitter.emit(Oe.events.SCROLL_UPDATE, t, e);
|
|
7217
7217
|
}
|
|
7218
7218
|
updateEmbedAt(e, t, r) {
|
|
7219
7219
|
const [s] = this.descendant((o) => o instanceof Zt, e);
|
|
7220
|
-
s && s.statics.blotName === t &&
|
|
7220
|
+
s && s.statics.blotName === t && fl(s) && s.updateContent(r);
|
|
7221
7221
|
}
|
|
7222
7222
|
handleDragStart(e) {
|
|
7223
7223
|
e.preventDefault();
|
|
@@ -7304,8 +7304,8 @@ function Zi(n, e, t) {
|
|
|
7304
7304
|
const Qa = {
|
|
7305
7305
|
scope: Ce.BLOCK,
|
|
7306
7306
|
whitelist: ["right", "center", "justify"]
|
|
7307
|
-
}, Y0 = new xn("align", "align", Qa),
|
|
7308
|
-
class
|
|
7307
|
+
}, Y0 = new xn("align", "align", Qa), Bu = new cn("align", "ql-align", Qa), Uu = new Gn("align", "text-align", Qa);
|
|
7308
|
+
class ju extends Gn {
|
|
7309
7309
|
value(e) {
|
|
7310
7310
|
let t = super.value(e);
|
|
7311
7311
|
return t.startsWith("rgb(") ? (t = t.replace(/^[^\d]+/, "").replace(/[^\d]+$/, ""), `#${t.split(",").map((s) => `00${parseInt(s, 10).toString(16)}`.slice(-2)).join("")}`) : t;
|
|
@@ -7313,11 +7313,11 @@ class Uu extends Gn {
|
|
|
7313
7313
|
}
|
|
7314
7314
|
const Z0 = new cn("color", "ql-color", {
|
|
7315
7315
|
scope: Ce.INLINE
|
|
7316
|
-
}), Ja = new
|
|
7316
|
+
}), Ja = new ju("color", "color", {
|
|
7317
7317
|
scope: Ce.INLINE
|
|
7318
7318
|
}), Q0 = new cn("background", "ql-bg", {
|
|
7319
7319
|
scope: Ce.INLINE
|
|
7320
|
-
}), eo = new
|
|
7320
|
+
}), eo = new ju("background", "background-color", {
|
|
7321
7321
|
scope: Ce.INLINE
|
|
7322
7322
|
});
|
|
7323
7323
|
class cr extends ur {
|
|
@@ -7357,19 +7357,19 @@ Ft.requiredContainer = cr;
|
|
|
7357
7357
|
const no = {
|
|
7358
7358
|
scope: Ce.BLOCK,
|
|
7359
7359
|
whitelist: ["rtl"]
|
|
7360
|
-
},
|
|
7360
|
+
}, $u = new xn("direction", "dir", no), _u = new cn("direction", "ql-direction", no), qu = new Gn("direction", "direction", no), zu = {
|
|
7361
7361
|
scope: Ce.INLINE,
|
|
7362
7362
|
whitelist: ["serif", "monospace"]
|
|
7363
|
-
},
|
|
7363
|
+
}, Hu = new cn("font", "ql-font", zu);
|
|
7364
7364
|
class J0 extends Gn {
|
|
7365
7365
|
value(e) {
|
|
7366
7366
|
return super.value(e).replace(/["']/g, "");
|
|
7367
7367
|
}
|
|
7368
7368
|
}
|
|
7369
|
-
const
|
|
7369
|
+
const Vu = new J0("font", "font-family", zu), Gu = new cn("size", "ql-size", {
|
|
7370
7370
|
scope: Ce.INLINE,
|
|
7371
7371
|
whitelist: ["small", "large", "huge"]
|
|
7372
|
-
}),
|
|
7372
|
+
}), Wu = new Gn("size", "font-size", {
|
|
7373
7373
|
scope: Ce.INLINE,
|
|
7374
7374
|
whitelist: ["10px", "18px", "32px"]
|
|
7375
7375
|
}), e1 = Fn("quill:keyboard"), t1 = /Mac/i.test(navigator.platform) ? "metaKey" : "ctrlKey";
|
|
@@ -7559,8 +7559,8 @@ const n1 = {
|
|
|
7559
7559
|
e.format.indent != null ? this.quill.format("indent", "-1", le.sources.USER) : e.format.list != null && this.quill.format("list", !1, le.sources.USER);
|
|
7560
7560
|
}
|
|
7561
7561
|
},
|
|
7562
|
-
"indent code-block":
|
|
7563
|
-
"outdent code-block":
|
|
7562
|
+
"indent code-block": dl(!0),
|
|
7563
|
+
"outdent code-block": dl(!1),
|
|
7564
7564
|
"remove tab": {
|
|
7565
7565
|
key: "Tab",
|
|
7566
7566
|
shiftKey: !0,
|
|
@@ -7744,12 +7744,12 @@ const n1 = {
|
|
|
7744
7744
|
"embed left shift": Hs("ArrowLeft", !0),
|
|
7745
7745
|
"embed right": Hs("ArrowRight", !1),
|
|
7746
7746
|
"embed right shift": Hs("ArrowRight", !0),
|
|
7747
|
-
"table down":
|
|
7748
|
-
"table up":
|
|
7747
|
+
"table down": hl(!1),
|
|
7748
|
+
"table up": hl(!0)
|
|
7749
7749
|
}
|
|
7750
7750
|
};
|
|
7751
7751
|
pi.DEFAULTS = n1;
|
|
7752
|
-
function
|
|
7752
|
+
function dl(n) {
|
|
7753
7753
|
return {
|
|
7754
7754
|
key: "Tab",
|
|
7755
7755
|
shiftKey: !n,
|
|
@@ -7803,7 +7803,7 @@ function Qi(n) {
|
|
|
7803
7803
|
}
|
|
7804
7804
|
};
|
|
7805
7805
|
}
|
|
7806
|
-
function
|
|
7806
|
+
function hl(n) {
|
|
7807
7807
|
return {
|
|
7808
7808
|
key: n ? "ArrowUp" : "ArrowDown",
|
|
7809
7809
|
collapsed: !0,
|
|
@@ -7853,8 +7853,8 @@ function ro(n) {
|
|
|
7853
7853
|
function s1(n, e, t, r) {
|
|
7854
7854
|
return e.prev == null && e.next == null ? t.prev == null && t.next == null ? r === 0 ? -1 : 1 : t.prev == null ? -1 : 1 : e.prev == null ? -1 : e.next == null ? 1 : null;
|
|
7855
7855
|
}
|
|
7856
|
-
const i1 = /font-weight:\s*normal/, a1 = ["P", "OL", "UL"],
|
|
7857
|
-
Array.from(n.querySelectorAll("br")).filter((e) =>
|
|
7856
|
+
const i1 = /font-weight:\s*normal/, a1 = ["P", "OL", "UL"], pl = (n) => n && a1.includes(n.tagName), o1 = (n) => {
|
|
7857
|
+
Array.from(n.querySelectorAll("br")).filter((e) => pl(e.previousElementSibling) && pl(e.nextElementSibling)).forEach((e) => {
|
|
7858
7858
|
var t;
|
|
7859
7859
|
(t = e.parentNode) == null || t.removeChild(e);
|
|
7860
7860
|
});
|
|
@@ -7921,8 +7921,8 @@ const v1 = [g1, u1], m1 = (n) => {
|
|
|
7921
7921
|
n.documentElement && v1.forEach((e) => {
|
|
7922
7922
|
e(n);
|
|
7923
7923
|
});
|
|
7924
|
-
}, y1 = Fn("quill:clipboard"), b1 = [[Node.TEXT_NODE, L1], [Node.TEXT_NODE,
|
|
7925
|
-
class
|
|
7924
|
+
}, y1 = Fn("quill:clipboard"), b1 = [[Node.TEXT_NODE, L1], [Node.TEXT_NODE, vl], ["br", S1], [Node.ELEMENT_NODE, vl], [Node.ELEMENT_NODE, E1], [Node.ELEMENT_NODE, w1], [Node.ELEMENT_NODE, C1], ["li", N1], ["ol, ul", R1], ["pre", T1], ["tr", I1], ["b", Ji("bold")], ["i", Ji("italic")], ["strike", Ji("strike")], ["style", O1]], x1 = [Y0, $u].reduce((n, e) => (n[e.keyName] = e, n), {}), gl = [Uu, eo, Ja, qu, Vu, Wu].reduce((n, e) => (n[e.keyName] = e, n), {});
|
|
7925
|
+
class Ku extends dn {
|
|
7926
7926
|
constructor(e, t) {
|
|
7927
7927
|
super(e, t), this.quill.root.addEventListener("copy", (r) => this.onCaptureCopy(r, !1)), this.quill.root.addEventListener("cut", (r) => this.onCaptureCopy(r, !0)), this.quill.root.addEventListener("paste", this.onCapturePaste.bind(this)), this.matchers = [], b1.concat(this.options.matchers ?? []).forEach((r) => {
|
|
7928
7928
|
let [s, o] = r;
|
|
@@ -8071,7 +8071,7 @@ class Wu extends dn {
|
|
|
8071
8071
|
}), [r, s];
|
|
8072
8072
|
}
|
|
8073
8073
|
}
|
|
8074
|
-
Ee(
|
|
8074
|
+
Ee(Ku, "DEFAULTS", {
|
|
8075
8075
|
matchers: []
|
|
8076
8076
|
});
|
|
8077
8077
|
function fr(n, e, t, r) {
|
|
@@ -8106,8 +8106,8 @@ function A1(n, e) {
|
|
|
8106
8106
|
return n.previousElementSibling && n.nextElementSibling && !_n(n.previousElementSibling, e) && !_n(n.nextElementSibling, e);
|
|
8107
8107
|
}
|
|
8108
8108
|
const Vs = /* @__PURE__ */ new WeakMap();
|
|
8109
|
-
function
|
|
8110
|
-
return n == null ? !1 : (Vs.has(n) || (n.tagName === "PRE" ? Vs.set(n, !0) : Vs.set(n,
|
|
8109
|
+
function Xu(n) {
|
|
8110
|
+
return n == null ? !1 : (Vs.has(n) || (n.tagName === "PRE" ? Vs.set(n, !0) : Vs.set(n, Xu(n.parentNode))), Vs.get(n));
|
|
8111
8111
|
}
|
|
8112
8112
|
function so(n, e, t, r, s) {
|
|
8113
8113
|
return e.nodeType === e.TEXT_NODE ? r.reduce((o, a) => a(e, o, n), new Ne()) : e.nodeType === e.ELEMENT_NODE ? Array.from(e.childNodes || []).reduce((o, a) => {
|
|
@@ -8122,7 +8122,7 @@ function w1(n, e, t) {
|
|
|
8122
8122
|
const r = xn.keys(n), s = cn.keys(n), o = Gn.keys(n), a = {};
|
|
8123
8123
|
return r.concat(s).concat(o).forEach((u) => {
|
|
8124
8124
|
let i = t.query(u, Ce.ATTRIBUTE);
|
|
8125
|
-
i != null && (a[i.attrName] = i.value(n), a[i.attrName]) || (i = x1[u], i != null && (i.attrName === u || i.keyName === u) && (a[i.attrName] = i.value(n) || void 0), i =
|
|
8125
|
+
i != null && (a[i.attrName] = i.value(n), a[i.attrName]) || (i = x1[u], i != null && (i.attrName === u || i.keyName === u) && (a[i.attrName] = i.value(n) || void 0), i = gl[u], i != null && (i.attrName === u || i.keyName === u) && (i = gl[u], a[i.attrName] = i.value(n) || void 0));
|
|
8126
8126
|
}), Object.entries(a).reduce((u, i) => {
|
|
8127
8127
|
let [l, c] = i;
|
|
8128
8128
|
return fr(u, l, c, t);
|
|
@@ -8173,7 +8173,7 @@ function R1(n, e, t) {
|
|
|
8173
8173
|
const o = r.getAttribute("data-checked");
|
|
8174
8174
|
return o && (s = o === "true" ? "checked" : "unchecked"), fr(e, "list", s, t);
|
|
8175
8175
|
}
|
|
8176
|
-
function
|
|
8176
|
+
function vl(n, e, t) {
|
|
8177
8177
|
if (!ys(e, `
|
|
8178
8178
|
`)) {
|
|
8179
8179
|
if (_n(n, t) && (n.childNodes.length > 0 || n instanceof HTMLParagraphElement))
|
|
@@ -8218,7 +8218,7 @@ function L1(n, e, t) {
|
|
|
8218
8218
|
let r = n.data;
|
|
8219
8219
|
if (((s = n.parentElement) == null ? void 0 : s.tagName) === "O:P")
|
|
8220
8220
|
return e.insert(r.trim());
|
|
8221
|
-
if (!
|
|
8221
|
+
if (!Xu(n)) {
|
|
8222
8222
|
if (r.trim().length === 0 && r.includes(`
|
|
8223
8223
|
`) && !A1(n, t))
|
|
8224
8224
|
return e;
|
|
@@ -8226,7 +8226,7 @@ function L1(n, e, t) {
|
|
|
8226
8226
|
}
|
|
8227
8227
|
return e.insert(r);
|
|
8228
8228
|
}
|
|
8229
|
-
class
|
|
8229
|
+
class Yu extends dn {
|
|
8230
8230
|
constructor(t, r) {
|
|
8231
8231
|
super(t, r);
|
|
8232
8232
|
Ee(this, "lastRecorded", 0);
|
|
@@ -8293,7 +8293,7 @@ class Xu extends dn {
|
|
|
8293
8293
|
this.change("redo", "undo");
|
|
8294
8294
|
}
|
|
8295
8295
|
transform(t) {
|
|
8296
|
-
|
|
8296
|
+
ml(this.stack.undo, t), ml(this.stack.redo, t);
|
|
8297
8297
|
}
|
|
8298
8298
|
undo() {
|
|
8299
8299
|
this.change("undo", "redo");
|
|
@@ -8307,12 +8307,12 @@ class Xu extends dn {
|
|
|
8307
8307
|
}
|
|
8308
8308
|
}
|
|
8309
8309
|
}
|
|
8310
|
-
Ee(
|
|
8310
|
+
Ee(Yu, "DEFAULTS", {
|
|
8311
8311
|
delay: 1e3,
|
|
8312
8312
|
maxStack: 100,
|
|
8313
8313
|
userOnly: !1
|
|
8314
8314
|
});
|
|
8315
|
-
function
|
|
8315
|
+
function ml(n, e) {
|
|
8316
8316
|
let t = e;
|
|
8317
8317
|
for (let r = n.length - 1; r >= 0; r -= 1) {
|
|
8318
8318
|
const s = n[r];
|
|
@@ -8340,7 +8340,7 @@ function Ta(n, e) {
|
|
|
8340
8340
|
length: r - t
|
|
8341
8341
|
};
|
|
8342
8342
|
}
|
|
8343
|
-
class
|
|
8343
|
+
class Zu extends dn {
|
|
8344
8344
|
constructor(e, t) {
|
|
8345
8345
|
super(e, t), e.root.addEventListener("drop", (r) => {
|
|
8346
8346
|
var a;
|
|
@@ -8367,7 +8367,7 @@ class Yu extends dn {
|
|
|
8367
8367
|
}), r.length > 0 && this.options.handler.call(this, e, r);
|
|
8368
8368
|
}
|
|
8369
8369
|
}
|
|
8370
|
-
|
|
8370
|
+
Zu.DEFAULTS = {
|
|
8371
8371
|
mimetypes: ["image/png", "image/jpeg"],
|
|
8372
8372
|
handler(n, e) {
|
|
8373
8373
|
if (!this.quill.scroll.query("image"))
|
|
@@ -8500,10 +8500,10 @@ le.register({
|
|
|
8500
8500
|
"blots/inline": An,
|
|
8501
8501
|
"blots/scroll": Rr,
|
|
8502
8502
|
"blots/text": un,
|
|
8503
|
-
"modules/clipboard":
|
|
8504
|
-
"modules/history":
|
|
8503
|
+
"modules/clipboard": Ku,
|
|
8504
|
+
"modules/history": Yu,
|
|
8505
8505
|
"modules/keyboard": pi,
|
|
8506
|
-
"modules/uploader":
|
|
8506
|
+
"modules/uploader": Zu,
|
|
8507
8507
|
"modules/input": M1,
|
|
8508
8508
|
"modules/uiNode": $1
|
|
8509
8509
|
});
|
|
@@ -8593,14 +8593,14 @@ class qn extends An {
|
|
|
8593
8593
|
return e.getAttribute("href");
|
|
8594
8594
|
}
|
|
8595
8595
|
static sanitize(e) {
|
|
8596
|
-
return
|
|
8596
|
+
return Qu(e, this.PROTOCOL_WHITELIST) ? e : this.SANITIZED_URL;
|
|
8597
8597
|
}
|
|
8598
8598
|
format(e, t) {
|
|
8599
8599
|
e !== this.statics.blotName || !t ? super.format(e, t) : this.domNode.setAttribute("href", this.constructor.sanitize(t));
|
|
8600
8600
|
}
|
|
8601
8601
|
}
|
|
8602
8602
|
Ee(qn, "blotName", "link"), Ee(qn, "tagName", "A"), Ee(qn, "SANITIZED_URL", "about:blank"), Ee(qn, "PROTOCOL_WHITELIST", ["http", "https", "mailto", "tel", "sms"]);
|
|
8603
|
-
function
|
|
8603
|
+
function Qu(n, e) {
|
|
8604
8604
|
const t = document.createElement("a");
|
|
8605
8605
|
t.href = n;
|
|
8606
8606
|
const r = t.href.slice(0, t.href.indexOf(":"));
|
|
@@ -8643,37 +8643,37 @@ class Ks extends Za {
|
|
|
8643
8643
|
}
|
|
8644
8644
|
}
|
|
8645
8645
|
Ee(Ks, "blotName", "formula"), Ee(Ks, "className", "ql-formula"), Ee(Ks, "tagName", "SPAN");
|
|
8646
|
-
const
|
|
8646
|
+
const yl = ["alt", "height", "width"];
|
|
8647
8647
|
class ka extends Vt {
|
|
8648
8648
|
static create(e) {
|
|
8649
8649
|
const t = super.create(e);
|
|
8650
8650
|
return typeof e == "string" && t.setAttribute("src", this.sanitize(e)), t;
|
|
8651
8651
|
}
|
|
8652
8652
|
static formats(e) {
|
|
8653
|
-
return
|
|
8653
|
+
return yl.reduce((t, r) => (e.hasAttribute(r) && (t[r] = e.getAttribute(r)), t), {});
|
|
8654
8654
|
}
|
|
8655
8655
|
static match(e) {
|
|
8656
8656
|
return /\.(jpe?g|gif|png)$/.test(e) || /^data:image\/.+;base64/.test(e);
|
|
8657
8657
|
}
|
|
8658
8658
|
static sanitize(e) {
|
|
8659
|
-
return
|
|
8659
|
+
return Qu(e, ["http", "https", "data"]) ? e : "//:0";
|
|
8660
8660
|
}
|
|
8661
8661
|
static value(e) {
|
|
8662
8662
|
return e.getAttribute("src");
|
|
8663
8663
|
}
|
|
8664
8664
|
format(e, t) {
|
|
8665
|
-
|
|
8665
|
+
yl.indexOf(e) > -1 ? t ? this.domNode.setAttribute(e, t) : this.domNode.removeAttribute(e) : super.format(e, t);
|
|
8666
8666
|
}
|
|
8667
8667
|
}
|
|
8668
8668
|
Ee(ka, "blotName", "image"), Ee(ka, "tagName", "IMG");
|
|
8669
|
-
const
|
|
8669
|
+
const bl = ["height", "width"];
|
|
8670
8670
|
class Xs extends Zt {
|
|
8671
8671
|
static create(e) {
|
|
8672
8672
|
const t = super.create(e);
|
|
8673
8673
|
return t.setAttribute("frameborder", "0"), t.setAttribute("allowfullscreen", "true"), t.setAttribute("src", this.sanitize(e)), t;
|
|
8674
8674
|
}
|
|
8675
8675
|
static formats(e) {
|
|
8676
|
-
return
|
|
8676
|
+
return bl.reduce((t, r) => (e.hasAttribute(r) && (t[r] = e.getAttribute(r)), t), {});
|
|
8677
8677
|
}
|
|
8678
8678
|
static sanitize(e) {
|
|
8679
8679
|
return qn.sanitize(e);
|
|
@@ -8682,7 +8682,7 @@ class Xs extends Zt {
|
|
|
8682
8682
|
return e.getAttribute("src");
|
|
8683
8683
|
}
|
|
8684
8684
|
format(e, t) {
|
|
8685
|
-
|
|
8685
|
+
bl.indexOf(e) > -1 ? t ? this.domNode.setAttribute(e, t) : this.domNode.removeAttribute(e) : super.format(e, t);
|
|
8686
8686
|
}
|
|
8687
8687
|
html() {
|
|
8688
8688
|
const {
|
|
@@ -8753,7 +8753,7 @@ class rs extends cr {
|
|
|
8753
8753
|
`, o = Yt.formats(this.children.head.domNode);
|
|
8754
8754
|
if (t || this.forceNext || this.cachedText !== s) {
|
|
8755
8755
|
if (s.trim().length > 0 || this.cachedText == null) {
|
|
8756
|
-
const a = this.children.reduce((i, l) => i.concat(
|
|
8756
|
+
const a = this.children.reduce((i, l) => i.concat(Mu(l, !1)), new Ne()), u = e(s, o);
|
|
8757
8757
|
a.diff(u).reduce((i, l) => {
|
|
8758
8758
|
let {
|
|
8759
8759
|
retain: c,
|
|
@@ -8793,7 +8793,7 @@ const z1 = (n, e, t) => {
|
|
|
8793
8793
|
}
|
|
8794
8794
|
return n.highlight(e, t).value;
|
|
8795
8795
|
};
|
|
8796
|
-
class
|
|
8796
|
+
class Ju extends dn {
|
|
8797
8797
|
static register() {
|
|
8798
8798
|
le.register(Ln, !0), le.register(Yt, !0), le.register(rs, !0);
|
|
8799
8799
|
}
|
|
@@ -8861,7 +8861,7 @@ class Qu extends dn {
|
|
|
8861
8861
|
}), a.insert(u)), o)], /* @__PURE__ */ new WeakMap());
|
|
8862
8862
|
}
|
|
8863
8863
|
}
|
|
8864
|
-
|
|
8864
|
+
Ju.DEFAULTS = {
|
|
8865
8865
|
hljs: window.hljs,
|
|
8866
8866
|
interval: 1e3,
|
|
8867
8867
|
languages: [{
|
|
@@ -9104,7 +9104,7 @@ class H1 extends dn {
|
|
|
9104
9104
|
});
|
|
9105
9105
|
}
|
|
9106
9106
|
}
|
|
9107
|
-
const
|
|
9107
|
+
const xl = Fn("quill:toolbar");
|
|
9108
9108
|
class ao extends dn {
|
|
9109
9109
|
constructor(e, t) {
|
|
9110
9110
|
var r, s;
|
|
@@ -9113,7 +9113,7 @@ class ao extends dn {
|
|
|
9113
9113
|
o.setAttribute("role", "toolbar"), V1(o, this.options.container), (s = (r = e.container) == null ? void 0 : r.parentNode) == null || s.insertBefore(o, e.container), this.container = o;
|
|
9114
9114
|
} else typeof this.options.container == "string" ? this.container = document.querySelector(this.options.container) : this.container = this.options.container;
|
|
9115
9115
|
if (!(this.container instanceof HTMLElement)) {
|
|
9116
|
-
|
|
9116
|
+
xl.error("Container required for toolbar", this.options);
|
|
9117
9117
|
return;
|
|
9118
9118
|
}
|
|
9119
9119
|
this.container.classList.add("ql-toolbar"), this.controls = [], this.handlers = {}, this.options.handlers && Object.keys(this.options.handlers).forEach((o) => {
|
|
@@ -9134,7 +9134,7 @@ class ao extends dn {
|
|
|
9134
9134
|
let t = Array.from(e.classList).find((s) => s.indexOf("ql-") === 0);
|
|
9135
9135
|
if (!t) return;
|
|
9136
9136
|
if (t = t.slice(3), e.tagName === "BUTTON" && e.setAttribute("type", "button"), this.handlers[t] == null && this.quill.scroll.query(t) == null) {
|
|
9137
|
-
|
|
9137
|
+
xl.warn("ignoring attaching to nonexistent format", t, e);
|
|
9138
9138
|
return;
|
|
9139
9139
|
}
|
|
9140
9140
|
const r = e.tagName === "SELECT" ? "change" : "click";
|
|
@@ -9191,7 +9191,7 @@ class ao extends dn {
|
|
|
9191
9191
|
}
|
|
9192
9192
|
}
|
|
9193
9193
|
ao.DEFAULTS = {};
|
|
9194
|
-
function
|
|
9194
|
+
function Al(n, e, t) {
|
|
9195
9195
|
const r = document.createElement("button");
|
|
9196
9196
|
r.setAttribute("type", "button"), r.classList.add(`ql-${e}`), r.setAttribute("aria-pressed", "false"), t != null ? (r.value = t, r.setAttribute("aria-label", `${e}: ${t}`)) : r.setAttribute("aria-label", e), n.appendChild(r);
|
|
9197
9197
|
}
|
|
@@ -9200,10 +9200,10 @@ function V1(n, e) {
|
|
|
9200
9200
|
const r = document.createElement("span");
|
|
9201
9201
|
r.classList.add("ql-formats"), t.forEach((s) => {
|
|
9202
9202
|
if (typeof s == "string")
|
|
9203
|
-
|
|
9203
|
+
Al(r, s);
|
|
9204
9204
|
else {
|
|
9205
9205
|
const o = Object.keys(s)[0], a = s[o];
|
|
9206
|
-
Array.isArray(a) ? G1(r, o, a) :
|
|
9206
|
+
Array.isArray(a) ? G1(r, o, a) : Al(r, o, a);
|
|
9207
9207
|
}
|
|
9208
9208
|
}), n.appendChild(r);
|
|
9209
9209
|
});
|
|
@@ -9251,7 +9251,7 @@ ao.DEFAULTS = {
|
|
|
9251
9251
|
}
|
|
9252
9252
|
}
|
|
9253
9253
|
};
|
|
9254
|
-
const W1 = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="3" x2="15" y1="9" y2="9"/><line class="ql-stroke" x1="3" x2="13" y1="14" y2="14"/><line class="ql-stroke" x1="3" x2="9" y1="4" y2="4"/></svg>', K1 = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="15" x2="3" y1="9" y2="9"/><line class="ql-stroke" x1="14" x2="4" y1="14" y2="14"/><line class="ql-stroke" x1="12" x2="6" y1="4" y2="4"/></svg>', X1 = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="15" x2="3" y1="9" y2="9"/><line class="ql-stroke" x1="15" x2="5" y1="14" y2="14"/><line class="ql-stroke" x1="15" x2="9" y1="4" y2="4"/></svg>', Y1 = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="15" x2="3" y1="9" y2="9"/><line class="ql-stroke" x1="15" x2="3" y1="14" y2="14"/><line class="ql-stroke" x1="15" x2="3" y1="4" y2="4"/></svg>', Z1 = '<svg viewbox="0 0 18 18"><g class="ql-fill ql-color-label"><polygon points="6 6.868 6 6 5 6 5 7 5.942 7 6 6.868"/><rect height="1" width="1" x="4" y="4"/><polygon points="6.817 5 6 5 6 6 6.38 6 6.817 5"/><rect height="1" width="1" x="2" y="6"/><rect height="1" width="1" x="3" y="5"/><rect height="1" width="1" x="4" y="7"/><polygon points="4 11.439 4 11 3 11 3 12 3.755 12 4 11.439"/><rect height="1" width="1" x="2" y="12"/><rect height="1" width="1" x="2" y="9"/><rect height="1" width="1" x="2" y="15"/><polygon points="4.63 10 4 10 4 11 4.192 11 4.63 10"/><rect height="1" width="1" x="3" y="8"/><path d="M10.832,4.2L11,4.582V4H10.708A1.948,1.948,0,0,1,10.832,4.2Z"/><path d="M7,4.582L7.168,4.2A1.929,1.929,0,0,1,7.292,4H7V4.582Z"/><path d="M8,13H7.683l-0.351.8a1.933,1.933,0,0,1-.124.2H8V13Z"/><rect height="1" width="1" x="12" y="2"/><rect height="1" width="1" x="11" y="3"/><path d="M9,3H8V3.282A1.985,1.985,0,0,1,9,3Z"/><rect height="1" width="1" x="2" y="3"/><rect height="1" width="1" x="6" y="2"/><rect height="1" width="1" x="3" y="2"/><rect height="1" width="1" x="5" y="3"/><rect height="1" width="1" x="9" y="2"/><rect height="1" width="1" x="15" y="14"/><polygon points="13.447 10.174 13.469 10.225 13.472 10.232 13.808 11 14 11 14 10 13.37 10 13.447 10.174"/><rect height="1" width="1" x="13" y="7"/><rect height="1" width="1" x="15" y="5"/><rect height="1" width="1" x="14" y="6"/><rect height="1" width="1" x="15" y="8"/><rect height="1" width="1" x="14" y="9"/><path d="M3.775,14H3v1H4V14.314A1.97,1.97,0,0,1,3.775,14Z"/><rect height="1" width="1" x="14" y="3"/><polygon points="12 6.868 12 6 11.62 6 12 6.868"/><rect height="1" width="1" x="15" y="2"/><rect height="1" width="1" x="12" y="5"/><rect height="1" width="1" x="13" y="4"/><polygon points="12.933 9 13 9 13 8 12.495 8 12.933 9"/><rect height="1" width="1" x="9" y="14"/><rect height="1" width="1" x="8" y="15"/><path d="M6,14.926V15H7V14.316A1.993,1.993,0,0,1,6,14.926Z"/><rect height="1" width="1" x="5" y="15"/><path d="M10.668,13.8L10.317,13H10v1h0.792A1.947,1.947,0,0,1,10.668,13.8Z"/><rect height="1" width="1" x="11" y="15"/><path d="M14.332,12.2a1.99,1.99,0,0,1,.166.8H15V12H14.245Z"/><rect height="1" width="1" x="14" y="15"/><rect height="1" width="1" x="15" y="11"/></g><polyline class="ql-stroke" points="5.5 13 9 5 12.5 13"/><line class="ql-stroke" x1="11.63" x2="6.38" y1="11" y2="11"/></svg>', Q1 = '<svg viewbox="0 0 18 18"><rect class="ql-fill ql-stroke" height="3" width="3" x="4" y="5"/><rect class="ql-fill ql-stroke" height="3" width="3" x="11" y="5"/><path class="ql-even ql-fill ql-stroke" d="M7,8c0,4.031-3,5-3,5"/><path class="ql-even ql-fill ql-stroke" d="M14,8c0,4.031-3,5-3,5"/></svg>', J1 = '<svg viewbox="0 0 18 18"><path class="ql-stroke" d="M5,4H9.5A2.5,2.5,0,0,1,12,6.5v0A2.5,2.5,0,0,1,9.5,9H5A0,0,0,0,1,5,9V4A0,0,0,0,1,5,4Z"/><path class="ql-stroke" d="M5,9h5.5A2.5,2.5,0,0,1,13,11.5v0A2.5,2.5,0,0,1,10.5,14H5a0,0,0,0,1,0,0V9A0,0,0,0,1,5,9Z"/></svg>', ey = '<svg class="" viewbox="0 0 18 18"><line class="ql-stroke" x1="5" x2="13" y1="3" y2="3"/><line class="ql-stroke" x1="6" x2="9.35" y1="12" y2="3"/><line class="ql-stroke" x1="11" x2="15" y1="11" y2="15"/><line class="ql-stroke" x1="15" x2="11" y1="11" y2="15"/><rect class="ql-fill" height="1" rx="0.5" ry="0.5" width="7" x="2" y="14"/></svg>', Al = '<svg viewbox="0 0 18 18"><polyline class="ql-even ql-stroke" points="5 7 3 9 5 11"/><polyline class="ql-even ql-stroke" points="13 7 15 9 13 11"/><line class="ql-stroke" x1="10" x2="8" y1="5" y2="13"/></svg>', ty = '<svg viewbox="0 0 18 18"><line class="ql-color-label ql-stroke ql-transparent" x1="3" x2="15" y1="15" y2="15"/><polyline class="ql-stroke" points="5.5 11 9 3 12.5 11"/><line class="ql-stroke" x1="11.63" x2="6.38" y1="9" y2="9"/></svg>', ny = '<svg viewbox="0 0 18 18"><polygon class="ql-stroke ql-fill" points="3 11 5 9 3 7 3 11"/><line class="ql-stroke ql-fill" x1="15" x2="11" y1="4" y2="4"/><path class="ql-fill" d="M11,3a3,3,0,0,0,0,6h1V3H11Z"/><rect class="ql-fill" height="11" width="1" x="11" y="4"/><rect class="ql-fill" height="11" width="1" x="13" y="4"/></svg>', ry = '<svg viewbox="0 0 18 18"><polygon class="ql-stroke ql-fill" points="15 12 13 10 15 8 15 12"/><line class="ql-stroke ql-fill" x1="9" x2="5" y1="4" y2="4"/><path class="ql-fill" d="M5,3A3,3,0,0,0,5,9H6V3H5Z"/><rect class="ql-fill" height="11" width="1" x="5" y="4"/><rect class="ql-fill" height="11" width="1" x="7" y="4"/></svg>', sy = '<svg viewbox="0 0 18 18"><path class="ql-fill" d="M11.759,2.482a2.561,2.561,0,0,0-3.53.607A7.656,7.656,0,0,0,6.8,6.2C6.109,9.188,5.275,14.677,4.15,14.927a1.545,1.545,0,0,0-1.3-.933A0.922,0.922,0,0,0,2,15.036S1.954,16,4.119,16s3.091-2.691,3.7-5.553c0.177-.826.36-1.726,0.554-2.6L8.775,6.2c0.381-1.421.807-2.521,1.306-2.676a1.014,1.014,0,0,0,1.02.56A0.966,0.966,0,0,0,11.759,2.482Z"/><rect class="ql-fill" height="1.6" rx="0.8" ry="0.8" width="5" x="5.15" y="6.2"/><path class="ql-fill" d="M13.663,12.027a1.662,1.662,0,0,1,.266-0.276q0.193,0.069.456,0.138a2.1,2.1,0,0,0,.535.069,1.075,1.075,0,0,0,.767-0.3,1.044,1.044,0,0,0,.314-0.8,0.84,0.84,0,0,0-.238-0.619,0.8,0.8,0,0,0-.594-0.239,1.154,1.154,0,0,0-.781.3,4.607,4.607,0,0,0-.781,1q-0.091.15-.218,0.346l-0.246.38c-0.068-.288-0.137-0.582-0.212-0.885-0.459-1.847-2.494-.984-2.941-0.8-0.482.2-.353,0.647-0.094,0.529a0.869,0.869,0,0,1,1.281.585c0.217,0.751.377,1.436,0.527,2.038a5.688,5.688,0,0,1-.362.467,2.69,2.69,0,0,1-.264.271q-0.221-.08-0.471-0.147a2.029,2.029,0,0,0-.522-0.066,1.079,1.079,0,0,0-.768.3A1.058,1.058,0,0,0,9,15.131a0.82,0.82,0,0,0,.832.852,1.134,1.134,0,0,0,.787-0.3,5.11,5.11,0,0,0,.776-0.993q0.141-.219.215-0.34c0.046-.076.122-0.194,0.223-0.346a2.786,2.786,0,0,0,.918,1.726,2.582,2.582,0,0,0,2.376-.185c0.317-.181.212-0.565,0-0.494A0.807,0.807,0,0,1,14.176,15a5.159,5.159,0,0,1-.913-2.446l0,0Q13.487,12.24,13.663,12.027Z"/></svg>', iy = '<svg viewBox="0 0 18 18"><path class="ql-fill" d="M10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Zm6.06787,9.209H14.98975V7.59863a.54085.54085,0,0,0-.605-.60547h-.62744a1.01119,1.01119,0,0,0-.748.29688L11.645,8.56641a.5435.5435,0,0,0-.022.8584l.28613.30762a.53861.53861,0,0,0,.84717.0332l.09912-.08789a1.2137,1.2137,0,0,0,.2417-.35254h.02246s-.01123.30859-.01123.60547V13.209H12.041a.54085.54085,0,0,0-.605.60547v.43945a.54085.54085,0,0,0,.605.60547h4.02686a.54085.54085,0,0,0,.605-.60547v-.43945A.54085.54085,0,0,0,16.06787,13.209Z"/></svg>', ay = '<svg viewBox="0 0 18 18"><path class="ql-fill" d="M16.73975,13.81445v.43945a.54085.54085,0,0,1-.605.60547H11.855a.58392.58392,0,0,1-.64893-.60547V14.0127c0-2.90527,3.39941-3.42187,3.39941-4.55469a.77675.77675,0,0,0-.84717-.78125,1.17684,1.17684,0,0,0-.83594.38477c-.2749.26367-.561.374-.85791.13184l-.4292-.34082c-.30811-.24219-.38525-.51758-.1543-.81445a2.97155,2.97155,0,0,1,2.45361-1.17676,2.45393,2.45393,0,0,1,2.68408,2.40918c0,2.45312-3.1792,2.92676-3.27832,3.93848h2.79443A.54085.54085,0,0,1,16.73975,13.81445ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z"/></svg>', oy = '<svg viewBox="0 0 18 18"><path class="ql-fill" d="M16.65186,12.30664a2.6742,2.6742,0,0,1-2.915,2.68457,3.96592,3.96592,0,0,1-2.25537-.6709.56007.56007,0,0,1-.13232-.83594L11.64648,13c.209-.34082.48389-.36328.82471-.1543a2.32654,2.32654,0,0,0,1.12256.33008c.71484,0,1.12207-.35156,1.12207-.78125,0-.61523-.61621-.86816-1.46338-.86816H13.2085a.65159.65159,0,0,1-.68213-.41895l-.05518-.10937a.67114.67114,0,0,1,.14307-.78125l.71533-.86914a8.55289,8.55289,0,0,1,.68213-.7373V8.58887a3.93913,3.93913,0,0,1-.748.05469H11.9873a.54085.54085,0,0,1-.605-.60547V7.59863a.54085.54085,0,0,1,.605-.60547h3.75146a.53773.53773,0,0,1,.60547.59375v.17676a1.03723,1.03723,0,0,1-.27539.748L14.74854,10.0293A2.31132,2.31132,0,0,1,16.65186,12.30664ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z"/></svg>', ly = '<svg viewBox="0 0 18 18"><path class="ql-fill" d="M10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Zm7.05371,7.96582v.38477c0,.39648-.165.60547-.46191.60547h-.47314v1.29785a.54085.54085,0,0,1-.605.60547h-.69336a.54085.54085,0,0,1-.605-.60547V12.95605H11.333a.5412.5412,0,0,1-.60547-.60547v-.15332a1.199,1.199,0,0,1,.22021-.748l2.56348-4.05957a.7819.7819,0,0,1,.72607-.39648h1.27637a.54085.54085,0,0,1,.605.60547v3.7627h.33008A.54055.54055,0,0,1,17.05371,11.96582ZM14.28125,8.7207h-.022a4.18969,4.18969,0,0,1-.38525.81348l-1.188,1.80469v.02246h1.5293V9.60059A7.04058,7.04058,0,0,1,14.28125,8.7207Z"/></svg>', uy = '<svg viewBox="0 0 18 18"><path class="ql-fill" d="M16.74023,12.18555a2.75131,2.75131,0,0,1-2.91553,2.80566,3.908,3.908,0,0,1-2.25537-.68164.54809.54809,0,0,1-.13184-.8252L11.73438,13c.209-.34082.48389-.36328.8252-.1543a2.23757,2.23757,0,0,0,1.1001.33008,1.01827,1.01827,0,0,0,1.1001-.96777c0-.61621-.53906-.97949-1.25439-.97949a2.15554,2.15554,0,0,0-.64893.09961,1.15209,1.15209,0,0,1-.814.01074l-.12109-.04395a.64116.64116,0,0,1-.45117-.71484l.231-3.00391a.56666.56666,0,0,1,.62744-.583H15.541a.54085.54085,0,0,1,.605.60547v.43945a.54085.54085,0,0,1-.605.60547H13.41748l-.04395.72559a1.29306,1.29306,0,0,1-.04395.30859h.022a2.39776,2.39776,0,0,1,.57227-.07715A2.53266,2.53266,0,0,1,16.74023,12.18555ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z"/></svg>', cy = '<svg viewBox="0 0 18 18"><path class="ql-fill" d="M14.51758,9.64453a1.85627,1.85627,0,0,0-1.24316.38477H13.252a1.73532,1.73532,0,0,1,1.72754-1.4082,2.66491,2.66491,0,0,1,.5498.06641c.35254.05469.57227.01074.70508-.40723l.16406-.5166a.53393.53393,0,0,0-.373-.75977,4.83723,4.83723,0,0,0-1.17773-.14258c-2.43164,0-3.7627,2.17773-3.7627,4.43359,0,2.47559,1.60645,3.69629,3.19043,3.69629A2.70585,2.70585,0,0,0,16.96,12.19727,2.43861,2.43861,0,0,0,14.51758,9.64453Zm-.23047,3.58691c-.67187,0-1.22168-.81445-1.22168-1.45215,0-.47363.30762-.583.72559-.583.96875,0,1.27734.59375,1.27734,1.12207A.82182.82182,0,0,1,14.28711,13.23145ZM10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Z"/></svg>', fy = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="7" x2="13" y1="4" y2="4"/><line class="ql-stroke" x1="5" x2="11" y1="14" y2="14"/><line class="ql-stroke" x1="8" x2="10" y1="14" y2="4"/></svg>', dy = '<svg viewbox="0 0 18 18"><rect class="ql-stroke" height="10" width="12" x="3" y="4"/><circle class="ql-fill" cx="6" cy="7" r="1"/><polyline class="ql-even ql-fill" points="5 12 5 11 7 9 8 10 11 7 13 9 13 12 5 12"/></svg>', hy = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="3" x2="15" y1="14" y2="14"/><line class="ql-stroke" x1="3" x2="15" y1="4" y2="4"/><line class="ql-stroke" x1="9" x2="15" y1="9" y2="9"/><polyline class="ql-fill ql-stroke" points="3 7 3 11 5 9 3 7"/></svg>', py = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="3" x2="15" y1="14" y2="14"/><line class="ql-stroke" x1="3" x2="15" y1="4" y2="4"/><line class="ql-stroke" x1="9" x2="15" y1="9" y2="9"/><polyline class="ql-stroke" points="5 7 5 11 3 9 5 7"/></svg>', gy = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="7" x2="11" y1="7" y2="11"/><path class="ql-even ql-stroke" d="M8.9,4.577a3.476,3.476,0,0,1,.36,4.679A3.476,3.476,0,0,1,4.577,8.9C3.185,7.5,2.035,6.4,4.217,4.217S7.5,3.185,8.9,4.577Z"/><path class="ql-even ql-stroke" d="M13.423,9.1a3.476,3.476,0,0,0-4.679-.36,3.476,3.476,0,0,0,.36,4.679c1.392,1.392,2.5,2.542,4.679.36S14.815,10.5,13.423,9.1Z"/></svg>', vy = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="6" x2="15" y1="4" y2="4"/><line class="ql-stroke" x1="6" x2="15" y1="9" y2="9"/><line class="ql-stroke" x1="6" x2="15" y1="14" y2="14"/><line class="ql-stroke" x1="3" x2="3" y1="4" y2="4"/><line class="ql-stroke" x1="3" x2="3" y1="9" y2="9"/><line class="ql-stroke" x1="3" x2="3" y1="14" y2="14"/></svg>', my = '<svg class="" viewbox="0 0 18 18"><line class="ql-stroke" x1="9" x2="15" y1="4" y2="4"/><polyline class="ql-stroke" points="3 4 4 5 6 3"/><line class="ql-stroke" x1="9" x2="15" y1="14" y2="14"/><polyline class="ql-stroke" points="3 14 4 15 6 13"/><line class="ql-stroke" x1="9" x2="15" y1="9" y2="9"/><polyline class="ql-stroke" points="3 9 4 10 6 8"/></svg>', yy = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="7" x2="15" y1="4" y2="4"/><line class="ql-stroke" x1="7" x2="15" y1="9" y2="9"/><line class="ql-stroke" x1="7" x2="15" y1="14" y2="14"/><line class="ql-stroke ql-thin" x1="2.5" x2="4.5" y1="5.5" y2="5.5"/><path class="ql-fill" d="M3.5,6A0.5,0.5,0,0,1,3,5.5V3.085l-0.276.138A0.5,0.5,0,0,1,2.053,3c-0.124-.247-0.023-0.324.224-0.447l1-.5A0.5,0.5,0,0,1,4,2.5v3A0.5,0.5,0,0,1,3.5,6Z"/><path class="ql-stroke ql-thin" d="M4.5,10.5h-2c0-.234,1.85-1.076,1.85-2.234A0.959,0.959,0,0,0,2.5,8.156"/><path class="ql-stroke ql-thin" d="M2.5,14.846a0.959,0.959,0,0,0,1.85-.109A0.7,0.7,0,0,0,3.75,14a0.688,0.688,0,0,0,.6-0.736,0.959,0.959,0,0,0-1.85-.109"/></svg>', by = '<svg viewbox="0 0 18 18"><path class="ql-fill" d="M15.5,15H13.861a3.858,3.858,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.921,1.921,0,0,0,12.021,11.7a0.50013,0.50013,0,1,0,.957.291h0a0.914,0.914,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.076-1.16971,1.86982-1.93971,2.43082A1.45639,1.45639,0,0,0,12,15.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,15Z"/><path class="ql-fill" d="M9.65,5.241a1,1,0,0,0-1.409.108L6,7.964,3.759,5.349A1,1,0,0,0,2.192,6.59178Q2.21541,6.6213,2.241,6.649L4.684,9.5,2.241,12.35A1,1,0,0,0,3.71,13.70722q0.02557-.02768.049-0.05722L6,11.036,8.241,13.65a1,1,0,1,0,1.567-1.24277Q9.78459,12.3777,9.759,12.35L7.316,9.5,9.759,6.651A1,1,0,0,0,9.65,5.241Z"/></svg>', xy = '<svg viewbox="0 0 18 18"><path class="ql-fill" d="M15.5,7H13.861a4.015,4.015,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.922,1.922,0,0,0,12.021,3.7a0.5,0.5,0,1,0,.957.291,0.917,0.917,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.077-1.164,1.925-1.934,2.486A1.423,1.423,0,0,0,12,7.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,7Z"/><path class="ql-fill" d="M9.651,5.241a1,1,0,0,0-1.41.108L6,7.964,3.759,5.349a1,1,0,1,0-1.519,1.3L4.683,9.5,2.241,12.35a1,1,0,1,0,1.519,1.3L6,11.036,8.241,13.65a1,1,0,0,0,1.519-1.3L7.317,9.5,9.759,6.651A1,1,0,0,0,9.651,5.241Z"/></svg>', Ay = '<svg viewbox="0 0 18 18"><line class="ql-stroke ql-thin" x1="15.5" x2="2.5" y1="8.5" y2="9.5"/><path class="ql-fill" d="M9.007,8C6.542,7.791,6,7.519,6,6.5,6,5.792,7.283,5,9,5c1.571,0,2.765.679,2.969,1.309a1,1,0,0,0,1.9-.617C13.356,4.106,11.354,3,9,3,6.2,3,4,4.538,4,6.5a3.2,3.2,0,0,0,.5,1.843Z"/><path class="ql-fill" d="M8.984,10C11.457,10.208,12,10.479,12,11.5c0,0.708-1.283,1.5-3,1.5-1.571,0-2.765-.679-2.969-1.309a1,1,0,1,0-1.9.617C4.644,13.894,6.646,15,9,15c2.8,0,5-1.538,5-3.5a3.2,3.2,0,0,0-.5-1.843Z"/></svg>', wy = '<svg viewbox="0 0 18 18"><rect class="ql-stroke" height="12" width="12" x="3" y="3"/><rect class="ql-fill" height="2" width="3" x="5" y="5"/><rect class="ql-fill" height="2" width="4" x="9" y="5"/><g class="ql-fill ql-transparent"><rect height="2" width="3" x="5" y="8"/><rect height="2" width="4" x="9" y="8"/><rect height="2" width="3" x="5" y="11"/><rect height="2" width="4" x="9" y="11"/></g></svg>', Ey = '<svg viewbox="0 0 18 18"><path class="ql-stroke" d="M5,3V9a4.012,4.012,0,0,0,4,4H9a4.012,4.012,0,0,0,4-4V3"/><rect class="ql-fill" height="1" rx="0.5" ry="0.5" width="12" x="3" y="15"/></svg>', Sy = '<svg viewbox="0 0 18 18"><rect class="ql-stroke" height="12" width="12" x="3" y="3"/><rect class="ql-fill" height="12" width="1" x="5" y="3"/><rect class="ql-fill" height="12" width="1" x="12" y="3"/><rect class="ql-fill" height="2" width="8" x="5" y="8"/><rect class="ql-fill" height="1" width="3" x="3" y="5"/><rect class="ql-fill" height="1" width="3" x="3" y="7"/><rect class="ql-fill" height="1" width="3" x="3" y="10"/><rect class="ql-fill" height="1" width="3" x="3" y="12"/><rect class="ql-fill" height="1" width="3" x="12" y="5"/><rect class="ql-fill" height="1" width="3" x="12" y="7"/><rect class="ql-fill" height="1" width="3" x="12" y="10"/><rect class="ql-fill" height="1" width="3" x="12" y="12"/></svg>', ds = {
|
|
9254
|
+
const W1 = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="3" x2="15" y1="9" y2="9"/><line class="ql-stroke" x1="3" x2="13" y1="14" y2="14"/><line class="ql-stroke" x1="3" x2="9" y1="4" y2="4"/></svg>', K1 = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="15" x2="3" y1="9" y2="9"/><line class="ql-stroke" x1="14" x2="4" y1="14" y2="14"/><line class="ql-stroke" x1="12" x2="6" y1="4" y2="4"/></svg>', X1 = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="15" x2="3" y1="9" y2="9"/><line class="ql-stroke" x1="15" x2="5" y1="14" y2="14"/><line class="ql-stroke" x1="15" x2="9" y1="4" y2="4"/></svg>', Y1 = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="15" x2="3" y1="9" y2="9"/><line class="ql-stroke" x1="15" x2="3" y1="14" y2="14"/><line class="ql-stroke" x1="15" x2="3" y1="4" y2="4"/></svg>', Z1 = '<svg viewbox="0 0 18 18"><g class="ql-fill ql-color-label"><polygon points="6 6.868 6 6 5 6 5 7 5.942 7 6 6.868"/><rect height="1" width="1" x="4" y="4"/><polygon points="6.817 5 6 5 6 6 6.38 6 6.817 5"/><rect height="1" width="1" x="2" y="6"/><rect height="1" width="1" x="3" y="5"/><rect height="1" width="1" x="4" y="7"/><polygon points="4 11.439 4 11 3 11 3 12 3.755 12 4 11.439"/><rect height="1" width="1" x="2" y="12"/><rect height="1" width="1" x="2" y="9"/><rect height="1" width="1" x="2" y="15"/><polygon points="4.63 10 4 10 4 11 4.192 11 4.63 10"/><rect height="1" width="1" x="3" y="8"/><path d="M10.832,4.2L11,4.582V4H10.708A1.948,1.948,0,0,1,10.832,4.2Z"/><path d="M7,4.582L7.168,4.2A1.929,1.929,0,0,1,7.292,4H7V4.582Z"/><path d="M8,13H7.683l-0.351.8a1.933,1.933,0,0,1-.124.2H8V13Z"/><rect height="1" width="1" x="12" y="2"/><rect height="1" width="1" x="11" y="3"/><path d="M9,3H8V3.282A1.985,1.985,0,0,1,9,3Z"/><rect height="1" width="1" x="2" y="3"/><rect height="1" width="1" x="6" y="2"/><rect height="1" width="1" x="3" y="2"/><rect height="1" width="1" x="5" y="3"/><rect height="1" width="1" x="9" y="2"/><rect height="1" width="1" x="15" y="14"/><polygon points="13.447 10.174 13.469 10.225 13.472 10.232 13.808 11 14 11 14 10 13.37 10 13.447 10.174"/><rect height="1" width="1" x="13" y="7"/><rect height="1" width="1" x="15" y="5"/><rect height="1" width="1" x="14" y="6"/><rect height="1" width="1" x="15" y="8"/><rect height="1" width="1" x="14" y="9"/><path d="M3.775,14H3v1H4V14.314A1.97,1.97,0,0,1,3.775,14Z"/><rect height="1" width="1" x="14" y="3"/><polygon points="12 6.868 12 6 11.62 6 12 6.868"/><rect height="1" width="1" x="15" y="2"/><rect height="1" width="1" x="12" y="5"/><rect height="1" width="1" x="13" y="4"/><polygon points="12.933 9 13 9 13 8 12.495 8 12.933 9"/><rect height="1" width="1" x="9" y="14"/><rect height="1" width="1" x="8" y="15"/><path d="M6,14.926V15H7V14.316A1.993,1.993,0,0,1,6,14.926Z"/><rect height="1" width="1" x="5" y="15"/><path d="M10.668,13.8L10.317,13H10v1h0.792A1.947,1.947,0,0,1,10.668,13.8Z"/><rect height="1" width="1" x="11" y="15"/><path d="M14.332,12.2a1.99,1.99,0,0,1,.166.8H15V12H14.245Z"/><rect height="1" width="1" x="14" y="15"/><rect height="1" width="1" x="15" y="11"/></g><polyline class="ql-stroke" points="5.5 13 9 5 12.5 13"/><line class="ql-stroke" x1="11.63" x2="6.38" y1="11" y2="11"/></svg>', Q1 = '<svg viewbox="0 0 18 18"><rect class="ql-fill ql-stroke" height="3" width="3" x="4" y="5"/><rect class="ql-fill ql-stroke" height="3" width="3" x="11" y="5"/><path class="ql-even ql-fill ql-stroke" d="M7,8c0,4.031-3,5-3,5"/><path class="ql-even ql-fill ql-stroke" d="M14,8c0,4.031-3,5-3,5"/></svg>', J1 = '<svg viewbox="0 0 18 18"><path class="ql-stroke" d="M5,4H9.5A2.5,2.5,0,0,1,12,6.5v0A2.5,2.5,0,0,1,9.5,9H5A0,0,0,0,1,5,9V4A0,0,0,0,1,5,4Z"/><path class="ql-stroke" d="M5,9h5.5A2.5,2.5,0,0,1,13,11.5v0A2.5,2.5,0,0,1,10.5,14H5a0,0,0,0,1,0,0V9A0,0,0,0,1,5,9Z"/></svg>', ey = '<svg class="" viewbox="0 0 18 18"><line class="ql-stroke" x1="5" x2="13" y1="3" y2="3"/><line class="ql-stroke" x1="6" x2="9.35" y1="12" y2="3"/><line class="ql-stroke" x1="11" x2="15" y1="11" y2="15"/><line class="ql-stroke" x1="15" x2="11" y1="11" y2="15"/><rect class="ql-fill" height="1" rx="0.5" ry="0.5" width="7" x="2" y="14"/></svg>', wl = '<svg viewbox="0 0 18 18"><polyline class="ql-even ql-stroke" points="5 7 3 9 5 11"/><polyline class="ql-even ql-stroke" points="13 7 15 9 13 11"/><line class="ql-stroke" x1="10" x2="8" y1="5" y2="13"/></svg>', ty = '<svg viewbox="0 0 18 18"><line class="ql-color-label ql-stroke ql-transparent" x1="3" x2="15" y1="15" y2="15"/><polyline class="ql-stroke" points="5.5 11 9 3 12.5 11"/><line class="ql-stroke" x1="11.63" x2="6.38" y1="9" y2="9"/></svg>', ny = '<svg viewbox="0 0 18 18"><polygon class="ql-stroke ql-fill" points="3 11 5 9 3 7 3 11"/><line class="ql-stroke ql-fill" x1="15" x2="11" y1="4" y2="4"/><path class="ql-fill" d="M11,3a3,3,0,0,0,0,6h1V3H11Z"/><rect class="ql-fill" height="11" width="1" x="11" y="4"/><rect class="ql-fill" height="11" width="1" x="13" y="4"/></svg>', ry = '<svg viewbox="0 0 18 18"><polygon class="ql-stroke ql-fill" points="15 12 13 10 15 8 15 12"/><line class="ql-stroke ql-fill" x1="9" x2="5" y1="4" y2="4"/><path class="ql-fill" d="M5,3A3,3,0,0,0,5,9H6V3H5Z"/><rect class="ql-fill" height="11" width="1" x="5" y="4"/><rect class="ql-fill" height="11" width="1" x="7" y="4"/></svg>', sy = '<svg viewbox="0 0 18 18"><path class="ql-fill" d="M11.759,2.482a2.561,2.561,0,0,0-3.53.607A7.656,7.656,0,0,0,6.8,6.2C6.109,9.188,5.275,14.677,4.15,14.927a1.545,1.545,0,0,0-1.3-.933A0.922,0.922,0,0,0,2,15.036S1.954,16,4.119,16s3.091-2.691,3.7-5.553c0.177-.826.36-1.726,0.554-2.6L8.775,6.2c0.381-1.421.807-2.521,1.306-2.676a1.014,1.014,0,0,0,1.02.56A0.966,0.966,0,0,0,11.759,2.482Z"/><rect class="ql-fill" height="1.6" rx="0.8" ry="0.8" width="5" x="5.15" y="6.2"/><path class="ql-fill" d="M13.663,12.027a1.662,1.662,0,0,1,.266-0.276q0.193,0.069.456,0.138a2.1,2.1,0,0,0,.535.069,1.075,1.075,0,0,0,.767-0.3,1.044,1.044,0,0,0,.314-0.8,0.84,0.84,0,0,0-.238-0.619,0.8,0.8,0,0,0-.594-0.239,1.154,1.154,0,0,0-.781.3,4.607,4.607,0,0,0-.781,1q-0.091.15-.218,0.346l-0.246.38c-0.068-.288-0.137-0.582-0.212-0.885-0.459-1.847-2.494-.984-2.941-0.8-0.482.2-.353,0.647-0.094,0.529a0.869,0.869,0,0,1,1.281.585c0.217,0.751.377,1.436,0.527,2.038a5.688,5.688,0,0,1-.362.467,2.69,2.69,0,0,1-.264.271q-0.221-.08-0.471-0.147a2.029,2.029,0,0,0-.522-0.066,1.079,1.079,0,0,0-.768.3A1.058,1.058,0,0,0,9,15.131a0.82,0.82,0,0,0,.832.852,1.134,1.134,0,0,0,.787-0.3,5.11,5.11,0,0,0,.776-0.993q0.141-.219.215-0.34c0.046-.076.122-0.194,0.223-0.346a2.786,2.786,0,0,0,.918,1.726,2.582,2.582,0,0,0,2.376-.185c0.317-.181.212-0.565,0-0.494A0.807,0.807,0,0,1,14.176,15a5.159,5.159,0,0,1-.913-2.446l0,0Q13.487,12.24,13.663,12.027Z"/></svg>', iy = '<svg viewBox="0 0 18 18"><path class="ql-fill" d="M10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Zm6.06787,9.209H14.98975V7.59863a.54085.54085,0,0,0-.605-.60547h-.62744a1.01119,1.01119,0,0,0-.748.29688L11.645,8.56641a.5435.5435,0,0,0-.022.8584l.28613.30762a.53861.53861,0,0,0,.84717.0332l.09912-.08789a1.2137,1.2137,0,0,0,.2417-.35254h.02246s-.01123.30859-.01123.60547V13.209H12.041a.54085.54085,0,0,0-.605.60547v.43945a.54085.54085,0,0,0,.605.60547h4.02686a.54085.54085,0,0,0,.605-.60547v-.43945A.54085.54085,0,0,0,16.06787,13.209Z"/></svg>', ay = '<svg viewBox="0 0 18 18"><path class="ql-fill" d="M16.73975,13.81445v.43945a.54085.54085,0,0,1-.605.60547H11.855a.58392.58392,0,0,1-.64893-.60547V14.0127c0-2.90527,3.39941-3.42187,3.39941-4.55469a.77675.77675,0,0,0-.84717-.78125,1.17684,1.17684,0,0,0-.83594.38477c-.2749.26367-.561.374-.85791.13184l-.4292-.34082c-.30811-.24219-.38525-.51758-.1543-.81445a2.97155,2.97155,0,0,1,2.45361-1.17676,2.45393,2.45393,0,0,1,2.68408,2.40918c0,2.45312-3.1792,2.92676-3.27832,3.93848h2.79443A.54085.54085,0,0,1,16.73975,13.81445ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z"/></svg>', oy = '<svg viewBox="0 0 18 18"><path class="ql-fill" d="M16.65186,12.30664a2.6742,2.6742,0,0,1-2.915,2.68457,3.96592,3.96592,0,0,1-2.25537-.6709.56007.56007,0,0,1-.13232-.83594L11.64648,13c.209-.34082.48389-.36328.82471-.1543a2.32654,2.32654,0,0,0,1.12256.33008c.71484,0,1.12207-.35156,1.12207-.78125,0-.61523-.61621-.86816-1.46338-.86816H13.2085a.65159.65159,0,0,1-.68213-.41895l-.05518-.10937a.67114.67114,0,0,1,.14307-.78125l.71533-.86914a8.55289,8.55289,0,0,1,.68213-.7373V8.58887a3.93913,3.93913,0,0,1-.748.05469H11.9873a.54085.54085,0,0,1-.605-.60547V7.59863a.54085.54085,0,0,1,.605-.60547h3.75146a.53773.53773,0,0,1,.60547.59375v.17676a1.03723,1.03723,0,0,1-.27539.748L14.74854,10.0293A2.31132,2.31132,0,0,1,16.65186,12.30664ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z"/></svg>', ly = '<svg viewBox="0 0 18 18"><path class="ql-fill" d="M10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Zm7.05371,7.96582v.38477c0,.39648-.165.60547-.46191.60547h-.47314v1.29785a.54085.54085,0,0,1-.605.60547h-.69336a.54085.54085,0,0,1-.605-.60547V12.95605H11.333a.5412.5412,0,0,1-.60547-.60547v-.15332a1.199,1.199,0,0,1,.22021-.748l2.56348-4.05957a.7819.7819,0,0,1,.72607-.39648h1.27637a.54085.54085,0,0,1,.605.60547v3.7627h.33008A.54055.54055,0,0,1,17.05371,11.96582ZM14.28125,8.7207h-.022a4.18969,4.18969,0,0,1-.38525.81348l-1.188,1.80469v.02246h1.5293V9.60059A7.04058,7.04058,0,0,1,14.28125,8.7207Z"/></svg>', uy = '<svg viewBox="0 0 18 18"><path class="ql-fill" d="M16.74023,12.18555a2.75131,2.75131,0,0,1-2.91553,2.80566,3.908,3.908,0,0,1-2.25537-.68164.54809.54809,0,0,1-.13184-.8252L11.73438,13c.209-.34082.48389-.36328.8252-.1543a2.23757,2.23757,0,0,0,1.1001.33008,1.01827,1.01827,0,0,0,1.1001-.96777c0-.61621-.53906-.97949-1.25439-.97949a2.15554,2.15554,0,0,0-.64893.09961,1.15209,1.15209,0,0,1-.814.01074l-.12109-.04395a.64116.64116,0,0,1-.45117-.71484l.231-3.00391a.56666.56666,0,0,1,.62744-.583H15.541a.54085.54085,0,0,1,.605.60547v.43945a.54085.54085,0,0,1-.605.60547H13.41748l-.04395.72559a1.29306,1.29306,0,0,1-.04395.30859h.022a2.39776,2.39776,0,0,1,.57227-.07715A2.53266,2.53266,0,0,1,16.74023,12.18555ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z"/></svg>', cy = '<svg viewBox="0 0 18 18"><path class="ql-fill" d="M14.51758,9.64453a1.85627,1.85627,0,0,0-1.24316.38477H13.252a1.73532,1.73532,0,0,1,1.72754-1.4082,2.66491,2.66491,0,0,1,.5498.06641c.35254.05469.57227.01074.70508-.40723l.16406-.5166a.53393.53393,0,0,0-.373-.75977,4.83723,4.83723,0,0,0-1.17773-.14258c-2.43164,0-3.7627,2.17773-3.7627,4.43359,0,2.47559,1.60645,3.69629,3.19043,3.69629A2.70585,2.70585,0,0,0,16.96,12.19727,2.43861,2.43861,0,0,0,14.51758,9.64453Zm-.23047,3.58691c-.67187,0-1.22168-.81445-1.22168-1.45215,0-.47363.30762-.583.72559-.583.96875,0,1.27734.59375,1.27734,1.12207A.82182.82182,0,0,1,14.28711,13.23145ZM10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Z"/></svg>', fy = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="7" x2="13" y1="4" y2="4"/><line class="ql-stroke" x1="5" x2="11" y1="14" y2="14"/><line class="ql-stroke" x1="8" x2="10" y1="14" y2="4"/></svg>', dy = '<svg viewbox="0 0 18 18"><rect class="ql-stroke" height="10" width="12" x="3" y="4"/><circle class="ql-fill" cx="6" cy="7" r="1"/><polyline class="ql-even ql-fill" points="5 12 5 11 7 9 8 10 11 7 13 9 13 12 5 12"/></svg>', hy = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="3" x2="15" y1="14" y2="14"/><line class="ql-stroke" x1="3" x2="15" y1="4" y2="4"/><line class="ql-stroke" x1="9" x2="15" y1="9" y2="9"/><polyline class="ql-fill ql-stroke" points="3 7 3 11 5 9 3 7"/></svg>', py = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="3" x2="15" y1="14" y2="14"/><line class="ql-stroke" x1="3" x2="15" y1="4" y2="4"/><line class="ql-stroke" x1="9" x2="15" y1="9" y2="9"/><polyline class="ql-stroke" points="5 7 5 11 3 9 5 7"/></svg>', gy = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="7" x2="11" y1="7" y2="11"/><path class="ql-even ql-stroke" d="M8.9,4.577a3.476,3.476,0,0,1,.36,4.679A3.476,3.476,0,0,1,4.577,8.9C3.185,7.5,2.035,6.4,4.217,4.217S7.5,3.185,8.9,4.577Z"/><path class="ql-even ql-stroke" d="M13.423,9.1a3.476,3.476,0,0,0-4.679-.36,3.476,3.476,0,0,0,.36,4.679c1.392,1.392,2.5,2.542,4.679.36S14.815,10.5,13.423,9.1Z"/></svg>', vy = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="6" x2="15" y1="4" y2="4"/><line class="ql-stroke" x1="6" x2="15" y1="9" y2="9"/><line class="ql-stroke" x1="6" x2="15" y1="14" y2="14"/><line class="ql-stroke" x1="3" x2="3" y1="4" y2="4"/><line class="ql-stroke" x1="3" x2="3" y1="9" y2="9"/><line class="ql-stroke" x1="3" x2="3" y1="14" y2="14"/></svg>', my = '<svg class="" viewbox="0 0 18 18"><line class="ql-stroke" x1="9" x2="15" y1="4" y2="4"/><polyline class="ql-stroke" points="3 4 4 5 6 3"/><line class="ql-stroke" x1="9" x2="15" y1="14" y2="14"/><polyline class="ql-stroke" points="3 14 4 15 6 13"/><line class="ql-stroke" x1="9" x2="15" y1="9" y2="9"/><polyline class="ql-stroke" points="3 9 4 10 6 8"/></svg>', yy = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="7" x2="15" y1="4" y2="4"/><line class="ql-stroke" x1="7" x2="15" y1="9" y2="9"/><line class="ql-stroke" x1="7" x2="15" y1="14" y2="14"/><line class="ql-stroke ql-thin" x1="2.5" x2="4.5" y1="5.5" y2="5.5"/><path class="ql-fill" d="M3.5,6A0.5,0.5,0,0,1,3,5.5V3.085l-0.276.138A0.5,0.5,0,0,1,2.053,3c-0.124-.247-0.023-0.324.224-0.447l1-.5A0.5,0.5,0,0,1,4,2.5v3A0.5,0.5,0,0,1,3.5,6Z"/><path class="ql-stroke ql-thin" d="M4.5,10.5h-2c0-.234,1.85-1.076,1.85-2.234A0.959,0.959,0,0,0,2.5,8.156"/><path class="ql-stroke ql-thin" d="M2.5,14.846a0.959,0.959,0,0,0,1.85-.109A0.7,0.7,0,0,0,3.75,14a0.688,0.688,0,0,0,.6-0.736,0.959,0.959,0,0,0-1.85-.109"/></svg>', by = '<svg viewbox="0 0 18 18"><path class="ql-fill" d="M15.5,15H13.861a3.858,3.858,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.921,1.921,0,0,0,12.021,11.7a0.50013,0.50013,0,1,0,.957.291h0a0.914,0.914,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.076-1.16971,1.86982-1.93971,2.43082A1.45639,1.45639,0,0,0,12,15.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,15Z"/><path class="ql-fill" d="M9.65,5.241a1,1,0,0,0-1.409.108L6,7.964,3.759,5.349A1,1,0,0,0,2.192,6.59178Q2.21541,6.6213,2.241,6.649L4.684,9.5,2.241,12.35A1,1,0,0,0,3.71,13.70722q0.02557-.02768.049-0.05722L6,11.036,8.241,13.65a1,1,0,1,0,1.567-1.24277Q9.78459,12.3777,9.759,12.35L7.316,9.5,9.759,6.651A1,1,0,0,0,9.65,5.241Z"/></svg>', xy = '<svg viewbox="0 0 18 18"><path class="ql-fill" d="M15.5,7H13.861a4.015,4.015,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.922,1.922,0,0,0,12.021,3.7a0.5,0.5,0,1,0,.957.291,0.917,0.917,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.077-1.164,1.925-1.934,2.486A1.423,1.423,0,0,0,12,7.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,7Z"/><path class="ql-fill" d="M9.651,5.241a1,1,0,0,0-1.41.108L6,7.964,3.759,5.349a1,1,0,1,0-1.519,1.3L4.683,9.5,2.241,12.35a1,1,0,1,0,1.519,1.3L6,11.036,8.241,13.65a1,1,0,0,0,1.519-1.3L7.317,9.5,9.759,6.651A1,1,0,0,0,9.651,5.241Z"/></svg>', Ay = '<svg viewbox="0 0 18 18"><line class="ql-stroke ql-thin" x1="15.5" x2="2.5" y1="8.5" y2="9.5"/><path class="ql-fill" d="M9.007,8C6.542,7.791,6,7.519,6,6.5,6,5.792,7.283,5,9,5c1.571,0,2.765.679,2.969,1.309a1,1,0,0,0,1.9-.617C13.356,4.106,11.354,3,9,3,6.2,3,4,4.538,4,6.5a3.2,3.2,0,0,0,.5,1.843Z"/><path class="ql-fill" d="M8.984,10C11.457,10.208,12,10.479,12,11.5c0,0.708-1.283,1.5-3,1.5-1.571,0-2.765-.679-2.969-1.309a1,1,0,1,0-1.9.617C4.644,13.894,6.646,15,9,15c2.8,0,5-1.538,5-3.5a3.2,3.2,0,0,0-.5-1.843Z"/></svg>', wy = '<svg viewbox="0 0 18 18"><rect class="ql-stroke" height="12" width="12" x="3" y="3"/><rect class="ql-fill" height="2" width="3" x="5" y="5"/><rect class="ql-fill" height="2" width="4" x="9" y="5"/><g class="ql-fill ql-transparent"><rect height="2" width="3" x="5" y="8"/><rect height="2" width="4" x="9" y="8"/><rect height="2" width="3" x="5" y="11"/><rect height="2" width="4" x="9" y="11"/></g></svg>', Ey = '<svg viewbox="0 0 18 18"><path class="ql-stroke" d="M5,3V9a4.012,4.012,0,0,0,4,4H9a4.012,4.012,0,0,0,4-4V3"/><rect class="ql-fill" height="1" rx="0.5" ry="0.5" width="12" x="3" y="15"/></svg>', Sy = '<svg viewbox="0 0 18 18"><rect class="ql-stroke" height="12" width="12" x="3" y="3"/><rect class="ql-fill" height="12" width="1" x="5" y="3"/><rect class="ql-fill" height="12" width="1" x="12" y="3"/><rect class="ql-fill" height="2" width="8" x="5" y="8"/><rect class="ql-fill" height="1" width="3" x="3" y="5"/><rect class="ql-fill" height="1" width="3" x="3" y="7"/><rect class="ql-fill" height="1" width="3" x="3" y="10"/><rect class="ql-fill" height="1" width="3" x="3" y="12"/><rect class="ql-fill" height="1" width="3" x="12" y="5"/><rect class="ql-fill" height="1" width="3" x="12" y="7"/><rect class="ql-fill" height="1" width="3" x="12" y="10"/><rect class="ql-fill" height="1" width="3" x="12" y="12"/></svg>', ds = {
|
|
9255
9255
|
align: {
|
|
9256
9256
|
"": W1,
|
|
9257
9257
|
center: K1,
|
|
@@ -9262,8 +9262,8 @@ const W1 = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="3" x2="15" y1="
|
|
|
9262
9262
|
blockquote: Q1,
|
|
9263
9263
|
bold: J1,
|
|
9264
9264
|
clean: ey,
|
|
9265
|
-
code:
|
|
9266
|
-
"code-block":
|
|
9265
|
+
code: wl,
|
|
9266
|
+
"code-block": wl,
|
|
9267
9267
|
color: ty,
|
|
9268
9268
|
direction: {
|
|
9269
9269
|
"": ny,
|
|
@@ -9299,8 +9299,8 @@ const W1 = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="3" x2="15" y1="
|
|
|
9299
9299
|
underline: Ey,
|
|
9300
9300
|
video: Sy
|
|
9301
9301
|
}, Ty = '<svg viewbox="0 0 18 18"><polygon class="ql-stroke" points="7 11 9 13 11 11 7 11"/><polygon class="ql-stroke" points="7 7 9 5 11 7 7 7"/></svg>';
|
|
9302
|
-
let
|
|
9303
|
-
function
|
|
9302
|
+
let El = 0;
|
|
9303
|
+
function Sl(n, e) {
|
|
9304
9304
|
n.setAttribute(e, `${n.getAttribute(e) !== "true"}`);
|
|
9305
9305
|
}
|
|
9306
9306
|
class gi {
|
|
@@ -9319,7 +9319,7 @@ class gi {
|
|
|
9319
9319
|
}), this.select.addEventListener("change", this.update.bind(this));
|
|
9320
9320
|
}
|
|
9321
9321
|
togglePicker() {
|
|
9322
|
-
this.container.classList.toggle("ql-expanded"),
|
|
9322
|
+
this.container.classList.toggle("ql-expanded"), Sl(this.label, "aria-expanded"), Sl(this.options, "aria-hidden");
|
|
9323
9323
|
}
|
|
9324
9324
|
buildItem(e) {
|
|
9325
9325
|
const t = document.createElement("span");
|
|
@@ -9344,7 +9344,7 @@ class gi {
|
|
|
9344
9344
|
}
|
|
9345
9345
|
buildOptions() {
|
|
9346
9346
|
const e = document.createElement("span");
|
|
9347
|
-
e.classList.add("ql-picker-options"), e.setAttribute("aria-hidden", "true"), e.tabIndex = "-1", e.id = `ql-picker-options-${
|
|
9347
|
+
e.classList.add("ql-picker-options"), e.setAttribute("aria-hidden", "true"), e.tabIndex = "-1", e.id = `ql-picker-options-${El}`, El += 1, this.label.setAttribute("aria-controls", e.id), this.options = e, Array.from(this.select.options).forEach((t) => {
|
|
9348
9348
|
const r = this.buildItem(t);
|
|
9349
9349
|
e.appendChild(r), t.selected === !0 && this.selectItem(r);
|
|
9350
9350
|
}), this.container.appendChild(e);
|
|
@@ -9379,7 +9379,7 @@ class gi {
|
|
|
9379
9379
|
this.label.classList.toggle("ql-active", t);
|
|
9380
9380
|
}
|
|
9381
9381
|
}
|
|
9382
|
-
class
|
|
9382
|
+
class ec extends gi {
|
|
9383
9383
|
constructor(e, t) {
|
|
9384
9384
|
super(e), this.label.innerHTML = t, this.container.classList.add("ql-color-picker"), Array.from(this.container.querySelectorAll(".ql-picker-item")).slice(0, 7).forEach((r) => {
|
|
9385
9385
|
r.classList.add("ql-primary");
|
|
@@ -9395,7 +9395,7 @@ class Ju extends gi {
|
|
|
9395
9395
|
r && (r.tagName === "line" ? r.style.stroke = s : r.style.fill = s);
|
|
9396
9396
|
}
|
|
9397
9397
|
}
|
|
9398
|
-
class
|
|
9398
|
+
class tc extends gi {
|
|
9399
9399
|
constructor(e, t) {
|
|
9400
9400
|
super(e), this.container.classList.add("ql-icon-picker"), Array.from(this.container.querySelectorAll(".ql-picker-item")).forEach((r) => {
|
|
9401
9401
|
r.innerHTML = t[r.getAttribute("data-value") || ""];
|
|
@@ -9416,7 +9416,7 @@ const Oy = (n) => {
|
|
|
9416
9416
|
} = getComputedStyle(n, null);
|
|
9417
9417
|
return e !== "visible" && e !== "clip";
|
|
9418
9418
|
};
|
|
9419
|
-
class
|
|
9419
|
+
class nc {
|
|
9420
9420
|
constructor(e, t) {
|
|
9421
9421
|
this.quill = e, this.boundsContainer = t || document.body, this.root = e.addContainer("ql-tooltip"), this.root.innerHTML = this.constructor.TEMPLATE, Oy(this.quill.root) && this.quill.root.addEventListener("scroll", () => {
|
|
9422
9422
|
this.root.style.marginTop = `${-1 * this.quill.root.scrollTop}px`;
|
|
@@ -9479,10 +9479,10 @@ class As extends Dr {
|
|
|
9479
9479
|
buildPickers(e, t) {
|
|
9480
9480
|
this.pickers = Array.from(e).map((s) => {
|
|
9481
9481
|
if (s.classList.contains("ql-align") && (s.querySelector("option") == null && Wr(s, Ny), typeof t.align == "object"))
|
|
9482
|
-
return new
|
|
9482
|
+
return new tc(s, t.align);
|
|
9483
9483
|
if (s.classList.contains("ql-background") || s.classList.contains("ql-color")) {
|
|
9484
9484
|
const o = s.classList.contains("ql-background") ? "background" : "color";
|
|
9485
|
-
return s.querySelector("option") == null && Wr(s, Ry, o === "background" ? "#ffffff" : "#000000"), new
|
|
9485
|
+
return s.querySelector("option") == null && Wr(s, Ry, o === "background" ? "#ffffff" : "#000000"), new ec(s, t[o]);
|
|
9486
9486
|
}
|
|
9487
9487
|
return s.querySelector("option") == null && (s.classList.contains("ql-font") ? Wr(s, Cy) : s.classList.contains("ql-header") ? Wr(s, Iy) : s.classList.contains("ql-size") && Wr(s, Ly)), new gi(s);
|
|
9488
9488
|
});
|
|
@@ -9515,7 +9515,7 @@ As.DEFAULTS = zn({}, Dr.DEFAULTS, {
|
|
|
9515
9515
|
}
|
|
9516
9516
|
}
|
|
9517
9517
|
});
|
|
9518
|
-
class
|
|
9518
|
+
class rc extends nc {
|
|
9519
9519
|
constructor(e, t) {
|
|
9520
9520
|
super(e, t), this.textbox = this.root.querySelector('input[type="text"]'), this.listen();
|
|
9521
9521
|
}
|
|
@@ -9589,7 +9589,7 @@ const Py = [["bold", "italic", "link"], [{
|
|
|
9589
9589
|
}, {
|
|
9590
9590
|
header: 2
|
|
9591
9591
|
}, "blockquote"]];
|
|
9592
|
-
class
|
|
9592
|
+
class sc extends rc {
|
|
9593
9593
|
constructor(e, t) {
|
|
9594
9594
|
super(e, t), this.quill.on(Oe.events.EDITOR_CHANGE, (r, s, o, a) => {
|
|
9595
9595
|
if (r === Oe.events.SELECTION_CHANGE)
|
|
@@ -9628,16 +9628,16 @@ class rc extends nc {
|
|
|
9628
9628
|
return r.style.marginLeft = "", t !== 0 && (r.style.marginLeft = `${-1 * t - r.offsetWidth / 2}px`), t;
|
|
9629
9629
|
}
|
|
9630
9630
|
}
|
|
9631
|
-
Ee(
|
|
9632
|
-
class
|
|
9631
|
+
Ee(sc, "TEMPLATE", ['<span class="ql-tooltip-arrow"></span>', '<div class="ql-tooltip-editor">', '<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">', '<a class="ql-close"></a>', "</div>"].join(""));
|
|
9632
|
+
class ic extends As {
|
|
9633
9633
|
constructor(e, t) {
|
|
9634
9634
|
t.modules.toolbar != null && t.modules.toolbar.container == null && (t.modules.toolbar.container = Py), super(e, t), this.quill.container.classList.add("ql-bubble");
|
|
9635
9635
|
}
|
|
9636
9636
|
extendToolbar(e) {
|
|
9637
|
-
this.tooltip = new
|
|
9637
|
+
this.tooltip = new sc(this.quill, this.options.bounds), e.container != null && (this.tooltip.root.appendChild(e.container), this.buildButtons(e.container.querySelectorAll("button"), ds), this.buildPickers(e.container.querySelectorAll("select"), ds));
|
|
9638
9638
|
}
|
|
9639
9639
|
}
|
|
9640
|
-
|
|
9640
|
+
ic.DEFAULTS = zn({}, As.DEFAULTS, {
|
|
9641
9641
|
modules: {
|
|
9642
9642
|
toolbar: {
|
|
9643
9643
|
handlers: {
|
|
@@ -9655,7 +9655,7 @@ const Fy = [[{
|
|
|
9655
9655
|
}, {
|
|
9656
9656
|
list: "bullet"
|
|
9657
9657
|
}], ["clean"]];
|
|
9658
|
-
class
|
|
9658
|
+
class ac extends rc {
|
|
9659
9659
|
constructor() {
|
|
9660
9660
|
super(...arguments);
|
|
9661
9661
|
Ee(this, "preview", this.root.querySelector("a.ql-preview"));
|
|
@@ -9691,13 +9691,13 @@ class ic extends nc {
|
|
|
9691
9691
|
super.show(), this.root.removeAttribute("data-mode");
|
|
9692
9692
|
}
|
|
9693
9693
|
}
|
|
9694
|
-
Ee(
|
|
9695
|
-
class
|
|
9694
|
+
Ee(ac, "TEMPLATE", ['<a class="ql-preview" rel="noopener noreferrer" target="_blank" href="about:blank"></a>', '<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">', '<a class="ql-action"></a>', '<a class="ql-remove"></a>'].join(""));
|
|
9695
|
+
class oc extends As {
|
|
9696
9696
|
constructor(e, t) {
|
|
9697
9697
|
t.modules.toolbar != null && t.modules.toolbar.container == null && (t.modules.toolbar.container = Fy), super(e, t), this.quill.container.classList.add("ql-snow");
|
|
9698
9698
|
}
|
|
9699
9699
|
extendToolbar(e) {
|
|
9700
|
-
e.container != null && (e.container.classList.add("ql-snow"), this.buildButtons(e.container.querySelectorAll("button"), ds), this.buildPickers(e.container.querySelectorAll("select"), ds), this.tooltip = new
|
|
9700
|
+
e.container != null && (e.container.classList.add("ql-snow"), this.buildButtons(e.container.querySelectorAll("button"), ds), this.buildPickers(e.container.querySelectorAll("select"), ds), this.tooltip = new ac(this.quill, this.options.bounds), e.container.querySelector(".ql-link") && this.quill.keyboard.addBinding({
|
|
9701
9701
|
key: "k",
|
|
9702
9702
|
shortKey: !0
|
|
9703
9703
|
}, (t, r) => {
|
|
@@ -9705,7 +9705,7 @@ class ac extends As {
|
|
|
9705
9705
|
}));
|
|
9706
9706
|
}
|
|
9707
9707
|
}
|
|
9708
|
-
|
|
9708
|
+
oc.DEFAULTS = zn({}, As.DEFAULTS, {
|
|
9709
9709
|
modules: {
|
|
9710
9710
|
toolbar: {
|
|
9711
9711
|
handlers: {
|
|
@@ -9727,28 +9727,28 @@ ac.DEFAULTS = zn({}, As.DEFAULTS, {
|
|
|
9727
9727
|
}
|
|
9728
9728
|
});
|
|
9729
9729
|
le.register({
|
|
9730
|
-
"attributors/attribute/direction":
|
|
9731
|
-
"attributors/class/align":
|
|
9730
|
+
"attributors/attribute/direction": $u,
|
|
9731
|
+
"attributors/class/align": Bu,
|
|
9732
9732
|
"attributors/class/background": Q0,
|
|
9733
9733
|
"attributors/class/color": Z0,
|
|
9734
|
-
"attributors/class/direction":
|
|
9735
|
-
"attributors/class/font":
|
|
9736
|
-
"attributors/class/size":
|
|
9737
|
-
"attributors/style/align":
|
|
9734
|
+
"attributors/class/direction": _u,
|
|
9735
|
+
"attributors/class/font": Hu,
|
|
9736
|
+
"attributors/class/size": Gu,
|
|
9737
|
+
"attributors/style/align": Uu,
|
|
9738
9738
|
"attributors/style/background": eo,
|
|
9739
9739
|
"attributors/style/color": Ja,
|
|
9740
|
-
"attributors/style/direction":
|
|
9741
|
-
"attributors/style/font":
|
|
9742
|
-
"attributors/style/size":
|
|
9740
|
+
"attributors/style/direction": qu,
|
|
9741
|
+
"attributors/style/font": Vu,
|
|
9742
|
+
"attributors/style/size": Wu
|
|
9743
9743
|
}, !0);
|
|
9744
9744
|
le.register({
|
|
9745
|
-
"formats/align":
|
|
9746
|
-
"formats/direction":
|
|
9745
|
+
"formats/align": Bu,
|
|
9746
|
+
"formats/direction": _u,
|
|
9747
9747
|
"formats/indent": q1,
|
|
9748
9748
|
"formats/background": eo,
|
|
9749
9749
|
"formats/color": Ja,
|
|
9750
|
-
"formats/font":
|
|
9751
|
-
"formats/size":
|
|
9750
|
+
"formats/font": Hu,
|
|
9751
|
+
"formats/size": Gu,
|
|
9752
9752
|
"formats/blockquote": Oa,
|
|
9753
9753
|
"formats/code-block": Ft,
|
|
9754
9754
|
"formats/header": Na,
|
|
@@ -9763,16 +9763,16 @@ le.register({
|
|
|
9763
9763
|
"formats/formula": Ks,
|
|
9764
9764
|
"formats/image": ka,
|
|
9765
9765
|
"formats/video": Xs,
|
|
9766
|
-
"modules/syntax":
|
|
9766
|
+
"modules/syntax": Ju,
|
|
9767
9767
|
"modules/table": H1,
|
|
9768
9768
|
"modules/toolbar": ao,
|
|
9769
|
-
"themes/bubble":
|
|
9770
|
-
"themes/snow":
|
|
9769
|
+
"themes/bubble": ic,
|
|
9770
|
+
"themes/snow": oc,
|
|
9771
9771
|
"ui/icons": ds,
|
|
9772
9772
|
"ui/picker": gi,
|
|
9773
|
-
"ui/icon-picker":
|
|
9774
|
-
"ui/color-picker":
|
|
9775
|
-
"ui/tooltip":
|
|
9773
|
+
"ui/icon-picker": tc,
|
|
9774
|
+
"ui/color-picker": ec,
|
|
9775
|
+
"ui/tooltip": nc
|
|
9776
9776
|
}, !0);
|
|
9777
9777
|
const My = {
|
|
9778
9778
|
name: "QuillEditor",
|
|
@@ -9816,7 +9816,7 @@ const My = {
|
|
|
9816
9816
|
(s) => {
|
|
9817
9817
|
r && r.root.innerHTML !== s && (r.root.innerHTML = s);
|
|
9818
9818
|
}
|
|
9819
|
-
),
|
|
9819
|
+
), _l(() => {
|
|
9820
9820
|
r = null;
|
|
9821
9821
|
}), {
|
|
9822
9822
|
editorContainer: t
|
|
@@ -9856,28 +9856,28 @@ const jy = /* @__PURE__ */ vs(My, [["render", Uy]]), $y = { class: "rounded-xl b
|
|
|
9856
9856
|
]));
|
|
9857
9857
|
}
|
|
9858
9858
|
};
|
|
9859
|
-
function
|
|
9859
|
+
function lc(n, e) {
|
|
9860
9860
|
return function() {
|
|
9861
9861
|
return n.apply(e, arguments);
|
|
9862
9862
|
};
|
|
9863
9863
|
}
|
|
9864
|
-
const { toString: Hy } = Object.prototype, { getPrototypeOf: oo } = Object, { iterator: vi, toStringTag:
|
|
9864
|
+
const { toString: Hy } = Object.prototype, { getPrototypeOf: oo } = Object, { iterator: vi, toStringTag: uc } = Symbol, mi = /* @__PURE__ */ ((n) => (e) => {
|
|
9865
9865
|
const t = Hy.call(e);
|
|
9866
9866
|
return n[t] || (n[t] = t.slice(8, -1).toLowerCase());
|
|
9867
9867
|
})(/* @__PURE__ */ Object.create(null)), hn = (n) => (n = n.toLowerCase(), (e) => mi(e) === n), yi = (n) => (e) => typeof e === n, { isArray: $r } = Array, hs = yi("undefined");
|
|
9868
9868
|
function Vy(n) {
|
|
9869
9869
|
return n !== null && !hs(n) && n.constructor !== null && !hs(n.constructor) && jt(n.constructor.isBuffer) && n.constructor.isBuffer(n);
|
|
9870
9870
|
}
|
|
9871
|
-
const
|
|
9871
|
+
const cc = hn("ArrayBuffer");
|
|
9872
9872
|
function Gy(n) {
|
|
9873
9873
|
let e;
|
|
9874
|
-
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? e = ArrayBuffer.isView(n) : e = n && n.buffer &&
|
|
9874
|
+
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? e = ArrayBuffer.isView(n) : e = n && n.buffer && cc(n.buffer), e;
|
|
9875
9875
|
}
|
|
9876
|
-
const Wy = yi("string"), jt = yi("function"),
|
|
9876
|
+
const Wy = yi("string"), jt = yi("function"), fc = yi("number"), bi = (n) => n !== null && typeof n == "object", Ky = (n) => n === !0 || n === !1, Ys = (n) => {
|
|
9877
9877
|
if (mi(n) !== "object")
|
|
9878
9878
|
return !1;
|
|
9879
9879
|
const e = oo(n);
|
|
9880
|
-
return (e === null || e === Object.prototype || Object.getPrototypeOf(e) === null) && !(
|
|
9880
|
+
return (e === null || e === Object.prototype || Object.getPrototypeOf(e) === null) && !(uc in n) && !(vi in n);
|
|
9881
9881
|
}, Xy = hn("Date"), Yy = hn("File"), Zy = hn("Blob"), Qy = hn("FileList"), Jy = (n) => bi(n) && jt(n.pipe), eb = (n) => {
|
|
9882
9882
|
let e;
|
|
9883
9883
|
return n && (typeof FormData == "function" && n instanceof FormData || jt(n.append) && ((e = mi(n)) === "formdata" || // detect form-data instance
|
|
@@ -9897,7 +9897,7 @@ function ws(n, e, { allOwnKeys: t = !1 } = {}) {
|
|
|
9897
9897
|
u = o[r], e.call(null, n[u], u, n);
|
|
9898
9898
|
}
|
|
9899
9899
|
}
|
|
9900
|
-
function
|
|
9900
|
+
function dc(n, e) {
|
|
9901
9901
|
e = e.toLowerCase();
|
|
9902
9902
|
const t = Object.keys(n);
|
|
9903
9903
|
let r = t.length, s;
|
|
@@ -9906,10 +9906,10 @@ function fc(n, e) {
|
|
|
9906
9906
|
return s;
|
|
9907
9907
|
return null;
|
|
9908
9908
|
}
|
|
9909
|
-
const Zn = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global,
|
|
9909
|
+
const Zn = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, hc = (n) => !hs(n) && n !== Zn;
|
|
9910
9910
|
function Pa() {
|
|
9911
|
-
const { caseless: n } =
|
|
9912
|
-
const o = n &&
|
|
9911
|
+
const { caseless: n } = hc(this) && this || {}, e = {}, t = (r, s) => {
|
|
9912
|
+
const o = n && dc(e, s) || s;
|
|
9913
9913
|
Ys(e[o]) && Ys(r) ? e[o] = Pa(e[o], r) : Ys(r) ? e[o] = Pa({}, r) : $r(r) ? e[o] = r.slice() : e[o] = r;
|
|
9914
9914
|
};
|
|
9915
9915
|
for (let r = 0, s = arguments.length; r < s; r++)
|
|
@@ -9917,7 +9917,7 @@ function Pa() {
|
|
|
9917
9917
|
return e;
|
|
9918
9918
|
}
|
|
9919
9919
|
const ob = (n, e, t, { allOwnKeys: r } = {}) => (ws(e, (s, o) => {
|
|
9920
|
-
t && jt(s) ? n[o] =
|
|
9920
|
+
t && jt(s) ? n[o] = lc(s, t) : n[o] = s;
|
|
9921
9921
|
}, { allOwnKeys: r }), n), lb = (n) => (n.charCodeAt(0) === 65279 && (n = n.slice(1)), n), ub = (n, e, t, r) => {
|
|
9922
9922
|
n.prototype = Object.create(e.prototype, r), n.prototype.constructor = n, Object.defineProperty(n, "super", {
|
|
9923
9923
|
value: e.prototype
|
|
@@ -9940,7 +9940,7 @@ const ob = (n, e, t, { allOwnKeys: r } = {}) => (ws(e, (s, o) => {
|
|
|
9940
9940
|
if (!n) return null;
|
|
9941
9941
|
if ($r(n)) return n;
|
|
9942
9942
|
let e = n.length;
|
|
9943
|
-
if (!
|
|
9943
|
+
if (!fc(e)) return null;
|
|
9944
9944
|
const t = new Array(e);
|
|
9945
9945
|
for (; e-- > 0; )
|
|
9946
9946
|
t[e] = n[e];
|
|
@@ -9963,14 +9963,14 @@ const ob = (n, e, t, { allOwnKeys: r } = {}) => (ws(e, (s, o) => {
|
|
|
9963
9963
|
function(t, r, s) {
|
|
9964
9964
|
return r.toUpperCase() + s;
|
|
9965
9965
|
}
|
|
9966
|
-
),
|
|
9966
|
+
), Tl = (({ hasOwnProperty: n }) => (e, t) => n.call(e, t))(Object.prototype), yb = hn("RegExp"), pc = (n, e) => {
|
|
9967
9967
|
const t = Object.getOwnPropertyDescriptors(n), r = {};
|
|
9968
9968
|
ws(t, (s, o) => {
|
|
9969
9969
|
let a;
|
|
9970
9970
|
(a = e(s, o, n)) !== !1 && (r[o] = a || s);
|
|
9971
9971
|
}), Object.defineProperties(n, r);
|
|
9972
9972
|
}, bb = (n) => {
|
|
9973
|
-
|
|
9973
|
+
pc(n, (e, t) => {
|
|
9974
9974
|
if (jt(n) && ["arguments", "caller", "callee"].indexOf(t) !== -1)
|
|
9975
9975
|
return !1;
|
|
9976
9976
|
const r = n[t];
|
|
@@ -9994,7 +9994,7 @@ const ob = (n, e, t, { allOwnKeys: r } = {}) => (ws(e, (s, o) => {
|
|
|
9994
9994
|
}, Ab = () => {
|
|
9995
9995
|
}, wb = (n, e) => n != null && Number.isFinite(n = +n) ? n : e;
|
|
9996
9996
|
function Eb(n) {
|
|
9997
|
-
return !!(n && jt(n.append) && n[
|
|
9997
|
+
return !!(n && jt(n.append) && n[uc] === "FormData" && n[vi]);
|
|
9998
9998
|
}
|
|
9999
9999
|
const Sb = (n) => {
|
|
10000
10000
|
const e = new Array(10), t = (r, s) => {
|
|
@@ -10013,21 +10013,21 @@ const Sb = (n) => {
|
|
|
10013
10013
|
return r;
|
|
10014
10014
|
};
|
|
10015
10015
|
return t(n, 0);
|
|
10016
|
-
}, Tb = hn("AsyncFunction"), Ob = (n) => n && (bi(n) || jt(n)) && jt(n.then) && jt(n.catch),
|
|
10016
|
+
}, Tb = hn("AsyncFunction"), Ob = (n) => n && (bi(n) || jt(n)) && jt(n.then) && jt(n.catch), gc = ((n, e) => n ? setImmediate : e ? ((t, r) => (Zn.addEventListener("message", ({ source: s, data: o }) => {
|
|
10017
10017
|
s === Zn && o === t && r.length && r.shift()();
|
|
10018
10018
|
}, !1), (s) => {
|
|
10019
10019
|
r.push(s), Zn.postMessage(t, "*");
|
|
10020
10020
|
}))(`axios@${Math.random()}`, []) : (t) => setTimeout(t))(
|
|
10021
10021
|
typeof setImmediate == "function",
|
|
10022
10022
|
jt(Zn.postMessage)
|
|
10023
|
-
), Nb = typeof queueMicrotask < "u" ? queueMicrotask.bind(Zn) : typeof process < "u" && process.nextTick ||
|
|
10023
|
+
), Nb = typeof queueMicrotask < "u" ? queueMicrotask.bind(Zn) : typeof process < "u" && process.nextTick || gc, Rb = (n) => n != null && jt(n[vi]), te = {
|
|
10024
10024
|
isArray: $r,
|
|
10025
|
-
isArrayBuffer:
|
|
10025
|
+
isArrayBuffer: cc,
|
|
10026
10026
|
isBuffer: Vy,
|
|
10027
10027
|
isFormData: eb,
|
|
10028
10028
|
isArrayBufferView: Gy,
|
|
10029
10029
|
isString: Wy,
|
|
10030
|
-
isNumber:
|
|
10030
|
+
isNumber: fc,
|
|
10031
10031
|
isBoolean: Ky,
|
|
10032
10032
|
isObject: bi,
|
|
10033
10033
|
isPlainObject: Ys,
|
|
@@ -10059,23 +10059,23 @@ const Sb = (n) => {
|
|
|
10059
10059
|
forEachEntry: pb,
|
|
10060
10060
|
matchAll: gb,
|
|
10061
10061
|
isHTMLForm: vb,
|
|
10062
|
-
hasOwnProperty:
|
|
10063
|
-
hasOwnProp:
|
|
10062
|
+
hasOwnProperty: Tl,
|
|
10063
|
+
hasOwnProp: Tl,
|
|
10064
10064
|
// an alias to avoid ESLint no-prototype-builtins detection
|
|
10065
|
-
reduceDescriptors:
|
|
10065
|
+
reduceDescriptors: pc,
|
|
10066
10066
|
freezeMethods: bb,
|
|
10067
10067
|
toObjectSet: xb,
|
|
10068
10068
|
toCamelCase: mb,
|
|
10069
10069
|
noop: Ab,
|
|
10070
10070
|
toFiniteNumber: wb,
|
|
10071
|
-
findKey:
|
|
10071
|
+
findKey: dc,
|
|
10072
10072
|
global: Zn,
|
|
10073
|
-
isContextDefined:
|
|
10073
|
+
isContextDefined: hc,
|
|
10074
10074
|
isSpecCompliantForm: Eb,
|
|
10075
10075
|
toJSONObject: Sb,
|
|
10076
10076
|
isAsyncFn: Tb,
|
|
10077
10077
|
isThenable: Ob,
|
|
10078
|
-
setImmediate:
|
|
10078
|
+
setImmediate: gc,
|
|
10079
10079
|
asap: Nb,
|
|
10080
10080
|
isIterable: Rb
|
|
10081
10081
|
};
|
|
@@ -10103,7 +10103,7 @@ te.inherits(je, Error, {
|
|
|
10103
10103
|
};
|
|
10104
10104
|
}
|
|
10105
10105
|
});
|
|
10106
|
-
const
|
|
10106
|
+
const vc = je.prototype, mc = {};
|
|
10107
10107
|
[
|
|
10108
10108
|
"ERR_BAD_OPTION_VALUE",
|
|
10109
10109
|
"ERR_BAD_OPTION",
|
|
@@ -10119,12 +10119,12 @@ const gc = je.prototype, vc = {};
|
|
|
10119
10119
|
"ERR_INVALID_URL"
|
|
10120
10120
|
// eslint-disable-next-line func-names
|
|
10121
10121
|
].forEach((n) => {
|
|
10122
|
-
|
|
10122
|
+
mc[n] = { value: n };
|
|
10123
10123
|
});
|
|
10124
|
-
Object.defineProperties(je,
|
|
10125
|
-
Object.defineProperty(
|
|
10124
|
+
Object.defineProperties(je, mc);
|
|
10125
|
+
Object.defineProperty(vc, "isAxiosError", { value: !0 });
|
|
10126
10126
|
je.from = (n, e, t, r, s, o) => {
|
|
10127
|
-
const a = Object.create(
|
|
10127
|
+
const a = Object.create(vc);
|
|
10128
10128
|
return te.toFlatObject(n, a, function(i) {
|
|
10129
10129
|
return i !== Error.prototype;
|
|
10130
10130
|
}, (u) => u !== "isAxiosError"), je.call(a, n.message, e, t, r, s), a.cause = n, a.name = n.name, o && Object.assign(a, o), a;
|
|
@@ -10133,12 +10133,12 @@ const Cb = null;
|
|
|
10133
10133
|
function Fa(n) {
|
|
10134
10134
|
return te.isPlainObject(n) || te.isArray(n);
|
|
10135
10135
|
}
|
|
10136
|
-
function
|
|
10136
|
+
function yc(n) {
|
|
10137
10137
|
return te.endsWith(n, "[]") ? n.slice(0, -2) : n;
|
|
10138
10138
|
}
|
|
10139
|
-
function
|
|
10139
|
+
function Ol(n, e, t) {
|
|
10140
10140
|
return n ? n.concat(e).map(function(s, o) {
|
|
10141
|
-
return s =
|
|
10141
|
+
return s = yc(s), !t && o ? "[" + s + "]" : s;
|
|
10142
10142
|
}).join(t ? "." : "") : e;
|
|
10143
10143
|
}
|
|
10144
10144
|
function Ib(n) {
|
|
@@ -10174,15 +10174,15 @@ function xi(n, e, t) {
|
|
|
10174
10174
|
if (te.endsWith(v, "{}"))
|
|
10175
10175
|
v = r ? v : v.slice(0, -2), h = JSON.stringify(h);
|
|
10176
10176
|
else if (te.isArray(h) && Ib(h) || (te.isFileList(h) || te.endsWith(v, "[]")) && (S = te.toArray(h)))
|
|
10177
|
-
return v =
|
|
10177
|
+
return v = yc(v), S.forEach(function(R, F) {
|
|
10178
10178
|
!(te.isUndefined(R) || R === null) && e.append(
|
|
10179
10179
|
// eslint-disable-next-line no-nested-ternary
|
|
10180
|
-
a === !0 ?
|
|
10180
|
+
a === !0 ? Ol([v], F, o) : a === null ? v : v + "[]",
|
|
10181
10181
|
l(R)
|
|
10182
10182
|
);
|
|
10183
10183
|
}), !1;
|
|
10184
10184
|
}
|
|
10185
|
-
return Fa(h) ? !0 : (e.append(
|
|
10185
|
+
return Fa(h) ? !0 : (e.append(Ol(b, v, o), l(h)), !1);
|
|
10186
10186
|
}
|
|
10187
10187
|
const d = [], f = Object.assign(Lb, {
|
|
10188
10188
|
defaultVisitor: c,
|
|
@@ -10208,7 +10208,7 @@ function xi(n, e, t) {
|
|
|
10208
10208
|
throw new TypeError("data must be an object");
|
|
10209
10209
|
return g(n), e;
|
|
10210
10210
|
}
|
|
10211
|
-
function
|
|
10211
|
+
function Nl(n) {
|
|
10212
10212
|
const e = {
|
|
10213
10213
|
"!": "%21",
|
|
10214
10214
|
"'": "%27",
|
|
@@ -10225,14 +10225,14 @@ function Ol(n) {
|
|
|
10225
10225
|
function lo(n, e) {
|
|
10226
10226
|
this._pairs = [], n && xi(n, this, e);
|
|
10227
10227
|
}
|
|
10228
|
-
const
|
|
10229
|
-
|
|
10228
|
+
const bc = lo.prototype;
|
|
10229
|
+
bc.append = function(e, t) {
|
|
10230
10230
|
this._pairs.push([e, t]);
|
|
10231
10231
|
};
|
|
10232
|
-
|
|
10232
|
+
bc.toString = function(e) {
|
|
10233
10233
|
const t = e ? function(r) {
|
|
10234
|
-
return e.call(this, r,
|
|
10235
|
-
} :
|
|
10234
|
+
return e.call(this, r, Nl);
|
|
10235
|
+
} : Nl;
|
|
10236
10236
|
return this._pairs.map(function(s) {
|
|
10237
10237
|
return t(s[0]) + "=" + t(s[1]);
|
|
10238
10238
|
}, "").join("&");
|
|
@@ -10240,7 +10240,7 @@ yc.toString = function(e) {
|
|
|
10240
10240
|
function kb(n) {
|
|
10241
10241
|
return encodeURIComponent(n).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
|
|
10242
10242
|
}
|
|
10243
|
-
function
|
|
10243
|
+
function xc(n, e, t) {
|
|
10244
10244
|
if (!e)
|
|
10245
10245
|
return n;
|
|
10246
10246
|
const r = t && t.encode || kb;
|
|
@@ -10255,7 +10255,7 @@ function bc(n, e, t) {
|
|
|
10255
10255
|
}
|
|
10256
10256
|
return n;
|
|
10257
10257
|
}
|
|
10258
|
-
class
|
|
10258
|
+
class Rl {
|
|
10259
10259
|
constructor() {
|
|
10260
10260
|
this.handlers = [];
|
|
10261
10261
|
}
|
|
@@ -10309,7 +10309,7 @@ class Nl {
|
|
|
10309
10309
|
});
|
|
10310
10310
|
}
|
|
10311
10311
|
}
|
|
10312
|
-
const
|
|
10312
|
+
const Ac = {
|
|
10313
10313
|
silentJSONParsing: !0,
|
|
10314
10314
|
forcedJSONParsing: !0,
|
|
10315
10315
|
clarifyTimeoutError: !1
|
|
@@ -10352,7 +10352,7 @@ function zb(n) {
|
|
|
10352
10352
|
o = t[r], e[o] = n[o];
|
|
10353
10353
|
return e;
|
|
10354
10354
|
}
|
|
10355
|
-
function
|
|
10355
|
+
function wc(n) {
|
|
10356
10356
|
function e(t, r, s, o) {
|
|
10357
10357
|
let a = t[o++];
|
|
10358
10358
|
if (a === "__proto__") return !0;
|
|
@@ -10378,12 +10378,12 @@ function Hb(n, e, t) {
|
|
|
10378
10378
|
return (t || JSON.stringify)(n);
|
|
10379
10379
|
}
|
|
10380
10380
|
const Es = {
|
|
10381
|
-
transitional:
|
|
10381
|
+
transitional: Ac,
|
|
10382
10382
|
adapter: ["xhr", "http", "fetch"],
|
|
10383
10383
|
transformRequest: [function(e, t) {
|
|
10384
10384
|
const r = t.getContentType() || "", s = r.indexOf("application/json") > -1, o = te.isObject(e);
|
|
10385
10385
|
if (o && te.isHTMLForm(e) && (e = new FormData(e)), te.isFormData(e))
|
|
10386
|
-
return s ? JSON.stringify(
|
|
10386
|
+
return s ? JSON.stringify(wc(e)) : e;
|
|
10387
10387
|
if (te.isArrayBuffer(e) || te.isBuffer(e) || te.isStream(e) || te.isFile(e) || te.isBlob(e) || te.isReadableStream(e))
|
|
10388
10388
|
return e;
|
|
10389
10389
|
if (te.isArrayBufferView(e))
|
|
@@ -10471,7 +10471,7 @@ const Vb = te.toObjectSet([
|
|
|
10471
10471
|
`).forEach(function(a) {
|
|
10472
10472
|
s = a.indexOf(":"), t = a.substring(0, s).trim().toLowerCase(), r = a.substring(s + 1).trim(), !(!t || e[t] && Vb[t]) && (t === "set-cookie" ? e[t] ? e[t].push(r) : e[t] = [r] : e[t] = e[t] ? e[t] + ", " + r : r);
|
|
10473
10473
|
}), e;
|
|
10474
|
-
},
|
|
10474
|
+
}, Cl = Symbol("internals");
|
|
10475
10475
|
function Xr(n) {
|
|
10476
10476
|
return n && String(n).trim().toLowerCase();
|
|
10477
10477
|
}
|
|
@@ -10626,7 +10626,7 @@ let $t = class {
|
|
|
10626
10626
|
return t.forEach((s) => r.set(s)), r;
|
|
10627
10627
|
}
|
|
10628
10628
|
static accessor(e) {
|
|
10629
|
-
const r = (this[
|
|
10629
|
+
const r = (this[Cl] = this[Cl] = {
|
|
10630
10630
|
accessors: {}
|
|
10631
10631
|
}).accessors, s = this.prototype;
|
|
10632
10632
|
function o(a) {
|
|
@@ -10654,7 +10654,7 @@ function ta(n, e) {
|
|
|
10654
10654
|
o = u.call(t, o, s.normalize(), e ? e.status : void 0);
|
|
10655
10655
|
}), s.normalize(), o;
|
|
10656
10656
|
}
|
|
10657
|
-
function
|
|
10657
|
+
function Ec(n) {
|
|
10658
10658
|
return !!(n && n.__CANCEL__);
|
|
10659
10659
|
}
|
|
10660
10660
|
function _r(n, e, t) {
|
|
@@ -10663,7 +10663,7 @@ function _r(n, e, t) {
|
|
|
10663
10663
|
te.inherits(_r, je, {
|
|
10664
10664
|
__CANCEL__: !0
|
|
10665
10665
|
});
|
|
10666
|
-
function
|
|
10666
|
+
function Sc(n, e, t) {
|
|
10667
10667
|
const r = t.config.validateStatus;
|
|
10668
10668
|
!t.status || !r || r(t.status) ? n(t) : e(new je(
|
|
10669
10669
|
"Request failed with status code " + t.status,
|
|
@@ -10724,14 +10724,14 @@ const si = (n, e, t = 3) => {
|
|
|
10724
10724
|
};
|
|
10725
10725
|
n(d);
|
|
10726
10726
|
}, t);
|
|
10727
|
-
},
|
|
10727
|
+
}, Il = (n, e) => {
|
|
10728
10728
|
const t = n != null;
|
|
10729
10729
|
return [(r) => e[0]({
|
|
10730
10730
|
lengthComputable: t,
|
|
10731
10731
|
total: n,
|
|
10732
10732
|
loaded: r
|
|
10733
10733
|
}), e[1]];
|
|
10734
|
-
},
|
|
10734
|
+
}, Ll = (n) => (...e) => te.asap(() => n(...e)), ex = Pt.hasStandardBrowserEnv ? /* @__PURE__ */ ((n, e) => (t) => (t = new URL(t, Pt.origin), n.protocol === t.protocol && n.host === t.host && (e || n.port === t.port)))(
|
|
10735
10735
|
new URL(Pt.origin),
|
|
10736
10736
|
Pt.navigator && /(msie|trident)/i.test(Pt.navigator.userAgent)
|
|
10737
10737
|
) : () => !0, tx = Pt.hasStandardBrowserEnv ? (
|
|
@@ -10767,11 +10767,11 @@ function nx(n) {
|
|
|
10767
10767
|
function rx(n, e) {
|
|
10768
10768
|
return e ? n.replace(/\/?\/$/, "") + "/" + e.replace(/^\/+/, "") : n;
|
|
10769
10769
|
}
|
|
10770
|
-
function
|
|
10770
|
+
function Tc(n, e, t) {
|
|
10771
10771
|
let r = !nx(e);
|
|
10772
10772
|
return n && (r || t == !1) ? rx(n, e) : e;
|
|
10773
10773
|
}
|
|
10774
|
-
const
|
|
10774
|
+
const kl = (n) => n instanceof $t ? { ...n } : n;
|
|
10775
10775
|
function sr(n, e) {
|
|
10776
10776
|
e = e || {};
|
|
10777
10777
|
const t = {};
|
|
@@ -10829,17 +10829,17 @@ function sr(n, e) {
|
|
|
10829
10829
|
socketPath: a,
|
|
10830
10830
|
responseEncoding: a,
|
|
10831
10831
|
validateStatus: u,
|
|
10832
|
-
headers: (l, c, d) => s(
|
|
10832
|
+
headers: (l, c, d) => s(kl(l), kl(c), d, !0)
|
|
10833
10833
|
};
|
|
10834
10834
|
return te.forEach(Object.keys(Object.assign({}, n, e)), function(c) {
|
|
10835
10835
|
const d = i[c] || s, f = d(n[c], e[c], c);
|
|
10836
10836
|
te.isUndefined(f) && d !== u || (t[c] = f);
|
|
10837
10837
|
}), t;
|
|
10838
10838
|
}
|
|
10839
|
-
const
|
|
10839
|
+
const Oc = (n) => {
|
|
10840
10840
|
const e = sr({}, n);
|
|
10841
10841
|
let { data: t, withXSRFToken: r, xsrfHeaderName: s, xsrfCookieName: o, headers: a, auth: u } = e;
|
|
10842
|
-
e.headers = a = $t.from(a), e.url =
|
|
10842
|
+
e.headers = a = $t.from(a), e.url = xc(Tc(e.baseURL, e.url, e.allowAbsoluteUrls), n.params, n.paramsSerializer), u && a.set(
|
|
10843
10843
|
"Authorization",
|
|
10844
10844
|
"Basic " + btoa((u.username || "") + ":" + (u.password ? unescape(encodeURIComponent(u.password)) : ""))
|
|
10845
10845
|
);
|
|
@@ -10859,7 +10859,7 @@ const Tc = (n) => {
|
|
|
10859
10859
|
return e;
|
|
10860
10860
|
}, sx = typeof XMLHttpRequest < "u", ix = sx && function(n) {
|
|
10861
10861
|
return new Promise(function(t, r) {
|
|
10862
|
-
const s =
|
|
10862
|
+
const s = Oc(n);
|
|
10863
10863
|
let o = s.data;
|
|
10864
10864
|
const a = $t.from(s.headers).normalize();
|
|
10865
10865
|
let { responseType: u, onUploadProgress: i, onDownloadProgress: l } = s, c, d, f, g, h;
|
|
@@ -10881,7 +10881,7 @@ const Tc = (n) => {
|
|
|
10881
10881
|
config: n,
|
|
10882
10882
|
request: b
|
|
10883
10883
|
};
|
|
10884
|
-
|
|
10884
|
+
Sc(function(K) {
|
|
10885
10885
|
t(K), v();
|
|
10886
10886
|
}, function(K) {
|
|
10887
10887
|
r(K), v();
|
|
@@ -10895,7 +10895,7 @@ const Tc = (n) => {
|
|
|
10895
10895
|
r(new je("Network Error", je.ERR_NETWORK, n, b)), b = null;
|
|
10896
10896
|
}, b.ontimeout = function() {
|
|
10897
10897
|
let F = s.timeout ? "timeout of " + s.timeout + "ms exceeded" : "timeout exceeded";
|
|
10898
|
-
const M = s.transitional ||
|
|
10898
|
+
const M = s.transitional || Ac;
|
|
10899
10899
|
s.timeoutErrorMessage && (F = s.timeoutErrorMessage), r(new je(
|
|
10900
10900
|
F,
|
|
10901
10901
|
M.clarifyTimeoutError ? je.ETIMEDOUT : je.ECONNABORTED,
|
|
@@ -10965,7 +10965,7 @@ const Tc = (n) => {
|
|
|
10965
10965
|
} finally {
|
|
10966
10966
|
await e.cancel();
|
|
10967
10967
|
}
|
|
10968
|
-
},
|
|
10968
|
+
}, Pl = (n, e, t, r) => {
|
|
10969
10969
|
const s = lx(n, e);
|
|
10970
10970
|
let o = 0, a, u = (i) => {
|
|
10971
10971
|
a || (a = !0, r && r(i));
|
|
@@ -10994,13 +10994,13 @@ const Tc = (n) => {
|
|
|
10994
10994
|
}, {
|
|
10995
10995
|
highWaterMark: 2
|
|
10996
10996
|
});
|
|
10997
|
-
}, Ai = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function",
|
|
10997
|
+
}, Ai = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", Nc = Ai && typeof ReadableStream == "function", cx = Ai && (typeof TextEncoder == "function" ? /* @__PURE__ */ ((n) => (e) => n.encode(e))(new TextEncoder()) : async (n) => new Uint8Array(await new Response(n).arrayBuffer())), Rc = (n, ...e) => {
|
|
10998
10998
|
try {
|
|
10999
10999
|
return !!n(...e);
|
|
11000
11000
|
} catch {
|
|
11001
11001
|
return !1;
|
|
11002
11002
|
}
|
|
11003
|
-
}, fx =
|
|
11003
|
+
}, fx = Nc && Rc(() => {
|
|
11004
11004
|
let n = !1;
|
|
11005
11005
|
const e = new Request(Pt.origin, {
|
|
11006
11006
|
body: new ReadableStream(),
|
|
@@ -11010,7 +11010,7 @@ const Tc = (n) => {
|
|
|
11010
11010
|
}
|
|
11011
11011
|
}).headers.has("Content-Type");
|
|
11012
11012
|
return n && !e;
|
|
11013
|
-
}),
|
|
11013
|
+
}), Fl = 64 * 1024, Da = Nc && Rc(() => te.isReadableStream(new Response("").body)), ii = {
|
|
11014
11014
|
stream: Da && ((n) => n.body)
|
|
11015
11015
|
};
|
|
11016
11016
|
Ai && ((n) => {
|
|
@@ -11051,7 +11051,7 @@ const dx = async (n) => {
|
|
|
11051
11051
|
headers: c,
|
|
11052
11052
|
withCredentials: d = "same-origin",
|
|
11053
11053
|
fetchOptions: f
|
|
11054
|
-
} =
|
|
11054
|
+
} = Oc(n);
|
|
11055
11055
|
l = l ? (l + "").toLowerCase() : "text";
|
|
11056
11056
|
let g = ax([s, o && o.toAbortSignal()], a), h;
|
|
11057
11057
|
const v = g && g.unsubscribe && (() => {
|
|
@@ -11066,11 +11066,11 @@ const dx = async (n) => {
|
|
|
11066
11066
|
duplex: "half"
|
|
11067
11067
|
}), z;
|
|
11068
11068
|
if (te.isFormData(r) && (z = M.headers.get("content-type")) && c.setContentType(z), M.body) {
|
|
11069
|
-
const [K, H] =
|
|
11069
|
+
const [K, H] = Il(
|
|
11070
11070
|
b,
|
|
11071
|
-
si(
|
|
11071
|
+
si(Ll(i))
|
|
11072
11072
|
);
|
|
11073
|
-
r =
|
|
11073
|
+
r = Pl(M.body, Fl, K, H);
|
|
11074
11074
|
}
|
|
11075
11075
|
}
|
|
11076
11076
|
te.isString(d) || (d = d ? "include" : "omit");
|
|
@@ -11091,12 +11091,12 @@ const dx = async (n) => {
|
|
|
11091
11091
|
["status", "statusText", "headers"].forEach((re) => {
|
|
11092
11092
|
M[re] = E[re];
|
|
11093
11093
|
});
|
|
11094
|
-
const z = te.toFiniteNumber(E.headers.get("content-length")), [K, H] = u &&
|
|
11094
|
+
const z = te.toFiniteNumber(E.headers.get("content-length")), [K, H] = u && Il(
|
|
11095
11095
|
z,
|
|
11096
|
-
si(
|
|
11096
|
+
si(Ll(u), !0)
|
|
11097
11097
|
) || [];
|
|
11098
11098
|
E = new Response(
|
|
11099
|
-
|
|
11099
|
+
Pl(E.body, Fl, K, () => {
|
|
11100
11100
|
H && H(), v && v();
|
|
11101
11101
|
}),
|
|
11102
11102
|
M
|
|
@@ -11105,7 +11105,7 @@ const dx = async (n) => {
|
|
|
11105
11105
|
l = l || "text";
|
|
11106
11106
|
let F = await ii[te.findKey(ii, l) || "text"](E, n);
|
|
11107
11107
|
return !R && v && v(), await new Promise((M, z) => {
|
|
11108
|
-
|
|
11108
|
+
Sc(M, z, {
|
|
11109
11109
|
data: F,
|
|
11110
11110
|
headers: $t.from(E.headers),
|
|
11111
11111
|
status: E.status,
|
|
@@ -11136,7 +11136,7 @@ te.forEach(Ba, (n, e) => {
|
|
|
11136
11136
|
Object.defineProperty(n, "adapterName", { value: e });
|
|
11137
11137
|
}
|
|
11138
11138
|
});
|
|
11139
|
-
const
|
|
11139
|
+
const Ml = (n) => `- ${n}`, gx = (n) => te.isFunction(n) || n === null || n === !1, Cc = {
|
|
11140
11140
|
getAdapter: (n) => {
|
|
11141
11141
|
n = te.isArray(n) ? n : [n];
|
|
11142
11142
|
const { length: e } = n;
|
|
@@ -11156,8 +11156,8 @@ const Fl = (n) => `- ${n}`, gx = (n) => te.isFunction(n) || n === null || n ===
|
|
|
11156
11156
|
([u, i]) => `adapter ${u} ` + (i === !1 ? "is not supported by the environment" : "is not available in the build")
|
|
11157
11157
|
);
|
|
11158
11158
|
let a = e ? o.length > 1 ? `since :
|
|
11159
|
-
` + o.map(
|
|
11160
|
-
`) : " " +
|
|
11159
|
+
` + o.map(Ml).join(`
|
|
11160
|
+
`) : " " + Ml(o[0]) : "as no adapter specified";
|
|
11161
11161
|
throw new je(
|
|
11162
11162
|
"There is no suitable adapter to dispatch the request " + a,
|
|
11163
11163
|
"ERR_NOT_SUPPORT"
|
|
@@ -11171,34 +11171,34 @@ function na(n) {
|
|
|
11171
11171
|
if (n.cancelToken && n.cancelToken.throwIfRequested(), n.signal && n.signal.aborted)
|
|
11172
11172
|
throw new _r(null, n);
|
|
11173
11173
|
}
|
|
11174
|
-
function
|
|
11174
|
+
function Dl(n) {
|
|
11175
11175
|
return na(n), n.headers = $t.from(n.headers), n.data = ta.call(
|
|
11176
11176
|
n,
|
|
11177
11177
|
n.transformRequest
|
|
11178
|
-
), ["post", "put", "patch"].indexOf(n.method) !== -1 && n.headers.setContentType("application/x-www-form-urlencoded", !1),
|
|
11178
|
+
), ["post", "put", "patch"].indexOf(n.method) !== -1 && n.headers.setContentType("application/x-www-form-urlencoded", !1), Cc.getAdapter(n.adapter || Es.adapter)(n).then(function(r) {
|
|
11179
11179
|
return na(n), r.data = ta.call(
|
|
11180
11180
|
n,
|
|
11181
11181
|
n.transformResponse,
|
|
11182
11182
|
r
|
|
11183
11183
|
), r.headers = $t.from(r.headers), r;
|
|
11184
11184
|
}, function(r) {
|
|
11185
|
-
return
|
|
11185
|
+
return Ec(r) || (na(n), r && r.response && (r.response.data = ta.call(
|
|
11186
11186
|
n,
|
|
11187
11187
|
n.transformResponse,
|
|
11188
11188
|
r.response
|
|
11189
11189
|
), r.response.headers = $t.from(r.response.headers))), Promise.reject(r);
|
|
11190
11190
|
});
|
|
11191
11191
|
}
|
|
11192
|
-
const
|
|
11192
|
+
const Ic = "1.9.0", wi = {};
|
|
11193
11193
|
["object", "boolean", "number", "function", "string", "symbol"].forEach((n, e) => {
|
|
11194
11194
|
wi[n] = function(r) {
|
|
11195
11195
|
return typeof r === n || "a" + (e < 1 ? "n " : " ") + n;
|
|
11196
11196
|
};
|
|
11197
11197
|
});
|
|
11198
|
-
const
|
|
11198
|
+
const Bl = {};
|
|
11199
11199
|
wi.transitional = function(e, t, r) {
|
|
11200
11200
|
function s(o, a) {
|
|
11201
|
-
return "[Axios v" +
|
|
11201
|
+
return "[Axios v" + Ic + "] Transitional option '" + o + "'" + a + (r ? ". " + r : "");
|
|
11202
11202
|
}
|
|
11203
11203
|
return (o, a, u) => {
|
|
11204
11204
|
if (e === !1)
|
|
@@ -11206,7 +11206,7 @@ wi.transitional = function(e, t, r) {
|
|
|
11206
11206
|
s(a, " has been removed" + (t ? " in " + t : "")),
|
|
11207
11207
|
je.ERR_DEPRECATED
|
|
11208
11208
|
);
|
|
11209
|
-
return t && !
|
|
11209
|
+
return t && !Bl[a] && (Bl[a] = !0, console.warn(
|
|
11210
11210
|
s(
|
|
11211
11211
|
a,
|
|
11212
11212
|
" has been deprecated since v" + t + " and will be removed in the near future"
|
|
@@ -11241,8 +11241,8 @@ const Qs = {
|
|
|
11241
11241
|
let Jn = class {
|
|
11242
11242
|
constructor(e) {
|
|
11243
11243
|
this.defaults = e || {}, this.interceptors = {
|
|
11244
|
-
request: new
|
|
11245
|
-
response: new
|
|
11244
|
+
request: new Rl(),
|
|
11245
|
+
response: new Rl()
|
|
11246
11246
|
};
|
|
11247
11247
|
}
|
|
11248
11248
|
/**
|
|
@@ -11307,7 +11307,7 @@ let Jn = class {
|
|
|
11307
11307
|
});
|
|
11308
11308
|
let c, d = 0, f;
|
|
11309
11309
|
if (!i) {
|
|
11310
|
-
const h = [
|
|
11310
|
+
const h = [Dl.bind(this), void 0];
|
|
11311
11311
|
for (h.unshift.apply(h, u), h.push.apply(h, l), f = h.length, c = Promise.resolve(t); d < f; )
|
|
11312
11312
|
c = c.then(h[d++], h[d++]);
|
|
11313
11313
|
return c;
|
|
@@ -11324,7 +11324,7 @@ let Jn = class {
|
|
|
11324
11324
|
}
|
|
11325
11325
|
}
|
|
11326
11326
|
try {
|
|
11327
|
-
c =
|
|
11327
|
+
c = Dl.call(this, g);
|
|
11328
11328
|
} catch (h) {
|
|
11329
11329
|
return Promise.reject(h);
|
|
11330
11330
|
}
|
|
@@ -11334,8 +11334,8 @@ let Jn = class {
|
|
|
11334
11334
|
}
|
|
11335
11335
|
getUri(e) {
|
|
11336
11336
|
e = sr(this.defaults, e);
|
|
11337
|
-
const t =
|
|
11338
|
-
return
|
|
11337
|
+
const t = Tc(e.baseURL, e.url, e.allowAbsoluteUrls);
|
|
11338
|
+
return xc(t, e.params, e.paramsSerializer);
|
|
11339
11339
|
}
|
|
11340
11340
|
};
|
|
11341
11341
|
te.forEach(["delete", "get", "head", "options"], function(e) {
|
|
@@ -11362,7 +11362,7 @@ te.forEach(["post", "put", "patch"], function(e) {
|
|
|
11362
11362
|
}
|
|
11363
11363
|
Jn.prototype[e] = t(), Jn.prototype[e + "Form"] = t(!0);
|
|
11364
11364
|
});
|
|
11365
|
-
let mx = class
|
|
11365
|
+
let mx = class Lc {
|
|
11366
11366
|
constructor(e) {
|
|
11367
11367
|
if (typeof e != "function")
|
|
11368
11368
|
throw new TypeError("executor must be a function.");
|
|
@@ -11428,7 +11428,7 @@ let mx = class Ic {
|
|
|
11428
11428
|
static source() {
|
|
11429
11429
|
let e;
|
|
11430
11430
|
return {
|
|
11431
|
-
token: new
|
|
11431
|
+
token: new Lc(function(s) {
|
|
11432
11432
|
e = s;
|
|
11433
11433
|
}),
|
|
11434
11434
|
cancel: e
|
|
@@ -11511,18 +11511,18 @@ const Ua = {
|
|
|
11511
11511
|
Object.entries(Ua).forEach(([n, e]) => {
|
|
11512
11512
|
Ua[e] = n;
|
|
11513
11513
|
});
|
|
11514
|
-
function
|
|
11515
|
-
const e = new Jn(n), t =
|
|
11514
|
+
function kc(n) {
|
|
11515
|
+
const e = new Jn(n), t = lc(Jn.prototype.request, e);
|
|
11516
11516
|
return te.extend(t, Jn.prototype, e, { allOwnKeys: !0 }), te.extend(t, e, null, { allOwnKeys: !0 }), t.create = function(s) {
|
|
11517
|
-
return
|
|
11517
|
+
return kc(sr(n, s));
|
|
11518
11518
|
}, t;
|
|
11519
11519
|
}
|
|
11520
|
-
const ft =
|
|
11520
|
+
const ft = kc(Es);
|
|
11521
11521
|
ft.Axios = Jn;
|
|
11522
11522
|
ft.CanceledError = _r;
|
|
11523
11523
|
ft.CancelToken = mx;
|
|
11524
|
-
ft.isCancel =
|
|
11525
|
-
ft.VERSION =
|
|
11524
|
+
ft.isCancel = Ec;
|
|
11525
|
+
ft.VERSION = Ic;
|
|
11526
11526
|
ft.toFormData = xi;
|
|
11527
11527
|
ft.AxiosError = je;
|
|
11528
11528
|
ft.Cancel = ft.CanceledError;
|
|
@@ -11533,8 +11533,8 @@ ft.spread = yx;
|
|
|
11533
11533
|
ft.isAxiosError = bx;
|
|
11534
11534
|
ft.mergeConfig = sr;
|
|
11535
11535
|
ft.AxiosHeaders = $t;
|
|
11536
|
-
ft.formToJSON = (n) =>
|
|
11537
|
-
ft.getAdapter =
|
|
11536
|
+
ft.formToJSON = (n) => wc(te.isHTMLForm(n) ? new FormData(n) : n);
|
|
11537
|
+
ft.getAdapter = Cc.getAdapter;
|
|
11538
11538
|
ft.HttpStatusCode = Ua;
|
|
11539
11539
|
ft.default = ft;
|
|
11540
11540
|
const {
|
|
@@ -11555,9 +11555,9 @@ const {
|
|
|
11555
11555
|
getAdapter: yA,
|
|
11556
11556
|
mergeConfig: bA
|
|
11557
11557
|
} = ft;
|
|
11558
|
-
var ra = { exports: {} },
|
|
11558
|
+
var ra = { exports: {} }, Ul;
|
|
11559
11559
|
function xx() {
|
|
11560
|
-
return
|
|
11560
|
+
return Ul || (Ul = 1, function(n, e) {
|
|
11561
11561
|
(function(r, s) {
|
|
11562
11562
|
n.exports = s();
|
|
11563
11563
|
})(self, function() {
|
|
@@ -17452,7 +17452,7 @@ const Sx = { render: Ex }, Tx = { class: "file-upload" }, Ox = ["name", "value"]
|
|
|
17452
17452
|
], -1))
|
|
17453
17453
|
])
|
|
17454
17454
|
], 512), [
|
|
17455
|
-
[
|
|
17455
|
+
[Gc, !n.modelValue]
|
|
17456
17456
|
])
|
|
17457
17457
|
]));
|
|
17458
17458
|
}
|