@dcodegroup-au/page-builder 0.0.4 → 0.0.5
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.css +1 -1
- package/dist/page-builder.es.js +607 -607
- package/dist/page-builder.umd.js +10 -10
- package/package.json +1 -1
- package/src/components/common/ActionMenu.vue +7 -7
package/dist/page-builder.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var Sc = Object.defineProperty;
|
|
2
2
|
var Tc = (n, e, t) => e in n ? Sc(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
|
|
3
3
|
var we = (n, e, t) => Tc(n, typeof e != "symbol" ? e + "" : e, t);
|
|
4
|
-
import { createElementBlock as Te, openBlock as be, createElementVNode as oe, createStaticVNode as Oc, ref as _e, resolveDirective as Nc, withDirectives as
|
|
4
|
+
import { createElementBlock as Te, openBlock as be, createElementVNode as oe, createStaticVNode as Oc, ref as _e, resolveDirective as Nc, withDirectives as Nn, createVNode as qe, createCommentVNode as pt, unref as ft, defineComponent as nr, reactive as Zr, computed as je, normalizeClass as Rn, Transition as Rc, withCtx as Bt, renderSlot as Ir, toDisplayString as tt, withModifiers as Ma, Fragment as Pt, renderList as rn, createTextVNode as Ba, mergeModels as kl, useModel as Qr, vModelSelect as Cc, createBlock as On, vModelText as Jr, vModelRadio as Ic, resolveDynamicComponent as ri, nextTick as Lc, markRaw as ss, inject as hs, h as wt, shallowReactive as ta, watch as Wr, watchEffect as Mi, onMounted as si, onBeforeUnmount as Pl, provide as Fl, toRefs as kc, useId as Pc, getCurrentInstance as Fc, onUnmounted as Mc, onUpdated as Bc, cloneVNode as Uc, vShow as Dc } from "vue";
|
|
5
5
|
const jc = {
|
|
6
6
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7
7
|
fill: "none",
|
|
@@ -34,7 +34,7 @@ function qc(n, e) {
|
|
|
34
34
|
}, null, -1)
|
|
35
35
|
]));
|
|
36
36
|
}
|
|
37
|
-
const zc = { render: qc },
|
|
37
|
+
const zc = { render: qc }, ii = (n, e) => {
|
|
38
38
|
const t = n.__vccOpts || n;
|
|
39
39
|
for (const [r, s] of e)
|
|
40
40
|
t[r] = s;
|
|
@@ -43,7 +43,7 @@ const zc = { render: qc }, ai = (n, e) => {
|
|
|
43
43
|
function Vc(n, e) {
|
|
44
44
|
return e[0] || (e[0] = Oc('<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 Gc = /* @__PURE__ */
|
|
46
|
+
const Gc = /* @__PURE__ */ ii(Hc, [["render", Vc]]), Wc = {
|
|
47
47
|
xmlns: "http://www.w3.org/2000/svg",
|
|
48
48
|
fill: "none",
|
|
49
49
|
stroke: "currentColor",
|
|
@@ -162,7 +162,7 @@ const sf = { render: rf }, af = {
|
|
|
162
162
|
}
|
|
163
163
|
}, of = { class: "relative z-50" }, lf = {
|
|
164
164
|
key: 0,
|
|
165
|
-
class: "absolute -left-60 top-6 w-[240px] rounded-lg border border-gray-200 bg-white"
|
|
165
|
+
class: "absolute -left-60 top-6 w-[240px] rounded-lg border border-gray-200 bg-white text-sm"
|
|
166
166
|
}, uf = {
|
|
167
167
|
directives: {
|
|
168
168
|
clickOutside: af
|
|
@@ -186,7 +186,7 @@ const sf = { render: rf }, af = {
|
|
|
186
186
|
};
|
|
187
187
|
return (u, i) => {
|
|
188
188
|
const l = Nc("click-outside");
|
|
189
|
-
return
|
|
189
|
+
return Nn((be(), Te("div", of, [
|
|
190
190
|
qe(ft(Jc), {
|
|
191
191
|
onClick: i[0] || (i[0] = (c) => t.value = !t.value),
|
|
192
192
|
class: "w-5 cursor-pointer text-gray-600"
|
|
@@ -194,19 +194,19 @@ const sf = { render: rf }, af = {
|
|
|
194
194
|
t.value ? (be(), Te("div", lf, [
|
|
195
195
|
n.enableEdit ? (be(), Te("a", {
|
|
196
196
|
key: 0,
|
|
197
|
-
class: "flex items-center gap-2
|
|
197
|
+
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",
|
|
198
198
|
onClick: a
|
|
199
199
|
}, [
|
|
200
|
-
qe(ft(sf), { class: "w-
|
|
201
|
-
i[1] || (i[1] =
|
|
200
|
+
qe(ft(sf), { class: "w-4 text-gray-500" }),
|
|
201
|
+
i[1] || (i[1] = oe("span", { class: "font-medium" }, " Edit ", -1))
|
|
202
202
|
])) : pt("", !0),
|
|
203
203
|
oe("a", {
|
|
204
|
-
class:
|
|
204
|
+
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",
|
|
205
205
|
onClick: o
|
|
206
206
|
}, [
|
|
207
|
-
qe(ft(Ul), { class: "w-
|
|
208
|
-
i[2] || (i[2] =
|
|
209
|
-
]
|
|
207
|
+
qe(ft(Ul), { class: "w-4 text-gray-500" }),
|
|
208
|
+
i[2] || (i[2] = oe("span", { class: "font-medium" }, " Delete ", -1))
|
|
209
|
+
])
|
|
210
210
|
])) : pt("", !0)
|
|
211
211
|
])), [
|
|
212
212
|
[l, s]
|
|
@@ -267,14 +267,14 @@ const df = { render: ff }, hf = {
|
|
|
267
267
|
open: u,
|
|
268
268
|
close: i
|
|
269
269
|
}), (c, d) => (be(), Te("div", {
|
|
270
|
-
class:
|
|
270
|
+
class: Rn([{ "-open": r.value }, "v-modal"])
|
|
271
271
|
}, [
|
|
272
272
|
qe(Rc, { name: "fade" }, {
|
|
273
273
|
default: Bt(() => [
|
|
274
274
|
r.value ? (be(), Te("div", hf, [
|
|
275
275
|
Ir(c.$slots, "default", {}, () => [
|
|
276
276
|
oe("div", {
|
|
277
|
-
class:
|
|
277
|
+
class: Rn(["relative min-h-[260px] overflow-y-auto flex", { "overflow-y-visible": !c.scrollable }])
|
|
278
278
|
}, [
|
|
279
279
|
oe("div", pf, [
|
|
280
280
|
oe("div", null, [
|
|
@@ -297,7 +297,7 @@ const df = { render: ff }, hf = {
|
|
|
297
297
|
textContent: tt(o.value)
|
|
298
298
|
}, null, 8, xf),
|
|
299
299
|
oe("a", {
|
|
300
|
-
onClick:
|
|
300
|
+
onClick: Ma(l, ["prevent"]),
|
|
301
301
|
class: "w-1/2 py-[9px] rounded-full shadow-xs text-md font-semibold text-white bg-error-600 hover:bg-error-700 border border-error-600 text-center cursor-pointer",
|
|
302
302
|
textContent: tt(a.value)
|
|
303
303
|
}, null, 8, Ef)
|
|
@@ -311,7 +311,7 @@ const df = { render: ff }, hf = {
|
|
|
311
311
|
})
|
|
312
312
|
], 2));
|
|
313
313
|
}
|
|
314
|
-
}), jl = /* @__PURE__ */
|
|
314
|
+
}), jl = /* @__PURE__ */ ii(wf, [["__scopeId", "data-v-0ca1257f"]]), Af = { class: "flex justify-between pb-2" }, Sf = { class: "text-lg font-semibold text-gray-900" }, Tf = { class: "flex flex-col gap-4" }, Of = { class: "text-gray-600 border-b border-gray-200 pb-4 text-sm" }, Nf = { class: "flex flex-col gap-3" }, Rf = { class: "flex justify-between" }, Cf = { class: "flex flex-col gap-1" }, If = { class: "text-sm text-gray-600" }, Lf = ["disabled"], kf = { class: "flex flex-col gap-3" }, Pf = ["onClick"], Ff = { class: "flex flex-1 flex-col" }, Mf = { class: "text-xs text-gray-600" }, Bf = { class: "text-sm font-medium text-gray-900" }, Uf = {
|
|
315
315
|
__name: "VSliders",
|
|
316
316
|
props: {
|
|
317
317
|
...Bl
|
|
@@ -354,7 +354,7 @@ const df = { render: ff }, hf = {
|
|
|
354
354
|
disabled: s.value.data.length >= s.value.max_items,
|
|
355
355
|
onClick: i,
|
|
356
356
|
type: "button",
|
|
357
|
-
class:
|
|
357
|
+
class: Rn(["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 }])
|
|
358
358
|
}, [
|
|
359
359
|
qe(ft(Ml), { class: "h-5 w-5" }),
|
|
360
360
|
g[1] || (g[1] = oe("span", null, "Add", -1))
|
|
@@ -363,7 +363,7 @@ const df = { render: ff }, hf = {
|
|
|
363
363
|
]),
|
|
364
364
|
oe("div", kf, [
|
|
365
365
|
(be(!0), Te(Pt, null, rn(s.value.data, (p, v) => (be(), Te("div", {
|
|
366
|
-
class:
|
|
366
|
+
class: Rn(["flex items-center gap-4 px-2 py-1 hover:bg-gray-100 rounded-lg", { "bg-gray-200 hover:bg-gray-200": a.value[v] }])
|
|
367
367
|
}, [
|
|
368
368
|
oe("div", {
|
|
369
369
|
class: "flex flex-1 cursor-pointer items-center justify-between relative",
|
|
@@ -441,7 +441,7 @@ const df = { render: ff }, hf = {
|
|
|
441
441
|
}, [
|
|
442
442
|
n.labelText || e.$slots.label ? (be(), Te("span", jf, [
|
|
443
443
|
e.$slots.label ? Ir(e.$slots, "label", { key: 0 }) : (be(), Te(Pt, { key: 1 }, [
|
|
444
|
-
|
|
444
|
+
Ba(tt(n.labelText) + " ", 1),
|
|
445
445
|
n.isRequired ? (be(), Te("span", $f, " *")) : pt("", !0)
|
|
446
446
|
], 64))
|
|
447
447
|
])) : pt("", !0),
|
|
@@ -454,7 +454,7 @@ const df = { render: ff }, hf = {
|
|
|
454
454
|
}, zf = { class: "flex items-center gap-2" }, Hf = ["aria-checked"], Vf = {
|
|
455
455
|
key: 0,
|
|
456
456
|
class: "text-sm text-gray-700 font-medium"
|
|
457
|
-
},
|
|
457
|
+
}, zs = {
|
|
458
458
|
__name: "VToggle",
|
|
459
459
|
props: {
|
|
460
460
|
modelValue: {
|
|
@@ -485,14 +485,14 @@ const df = { render: ff }, hf = {
|
|
|
485
485
|
return (a, u) => (be(), Te("div", zf, [
|
|
486
486
|
oe("button", {
|
|
487
487
|
type: "button",
|
|
488
|
-
class:
|
|
488
|
+
class: Rn(["relative inline-flex h-5 w-10 flex-shrink-0 cursor-pointer rounded-full border-2 border-transparent bg-gray-100 transition-colors duration-200 ease-in-out", s.value]),
|
|
489
489
|
role: "switch",
|
|
490
490
|
"aria-checked": n.modelValue,
|
|
491
491
|
onClick: o
|
|
492
492
|
}, [
|
|
493
493
|
oe("span", {
|
|
494
494
|
"aria-hidden": "true",
|
|
495
|
-
class:
|
|
495
|
+
class: Rn(["pointer-events-none inline-block h-4 w-4 transform rounded-full bg-white shadow ring-0 transition duration-200 ease-in-out", {
|
|
496
496
|
"translate-x-5": n.modelValue,
|
|
497
497
|
"translate-x-0": !n.modelValue,
|
|
498
498
|
"!translate-x-3": n.small && n.modelValue,
|
|
@@ -517,7 +517,7 @@ const df = { render: ff }, hf = {
|
|
|
517
517
|
const e = Qr(n, "url");
|
|
518
518
|
return (t, r) => (be(), Te("div", Gf, [
|
|
519
519
|
r[1] || (r[1] = oe("label", { class: "text-sm font-medium text-gray-700" }, "Select a page from the site*", -1)),
|
|
520
|
-
|
|
520
|
+
Nn(oe("select", {
|
|
521
521
|
"onUpdate:modelValue": r[0] || (r[0] = (s) => e.value = s),
|
|
522
522
|
name: "url"
|
|
523
523
|
}, [
|
|
@@ -538,14 +538,14 @@ const df = { render: ff }, hf = {
|
|
|
538
538
|
emits: ["update:url"],
|
|
539
539
|
setup(n) {
|
|
540
540
|
const e = Qr(n, "url");
|
|
541
|
-
return (t, r) => (be(),
|
|
541
|
+
return (t, r) => (be(), On(Or, {
|
|
542
542
|
"is-vertical": "",
|
|
543
543
|
field: "title",
|
|
544
544
|
"label-text": "URL *",
|
|
545
545
|
class: "w-full"
|
|
546
546
|
}, {
|
|
547
547
|
default: Bt(() => [
|
|
548
|
-
|
|
548
|
+
Nn(oe("input", {
|
|
549
549
|
"onUpdate:modelValue": r[0] || (r[0] = (s) => e.value = s),
|
|
550
550
|
name: "title",
|
|
551
551
|
type: "text",
|
|
@@ -561,7 +561,7 @@ const df = { render: ff }, hf = {
|
|
|
561
561
|
}, Yf = { class: "flex flex-col gap-5" }, Zf = {
|
|
562
562
|
key: 0,
|
|
563
563
|
class: "text-sm text-gray-700 font-medium py-2"
|
|
564
|
-
}, Qf = { class: "text-sm flex items-center gap-6 font-medium text-gray-700" }, Jf = { class: "flex items-center gap-2 cursor-pointer" }, ed = ["name", "value", "disabled"], td = { class: "flex flex-col gap-2" }, nd = ["value"], rd = { class: "flex items-center gap-2" },
|
|
564
|
+
}, Qf = { class: "text-sm flex items-center gap-6 font-medium text-gray-700" }, Jf = { class: "flex items-center gap-2 cursor-pointer" }, ed = ["name", "value", "disabled"], td = { class: "flex flex-col gap-2" }, nd = ["value"], rd = { class: "flex items-center gap-2" }, na = {
|
|
565
565
|
__name: "LinkedTo",
|
|
566
566
|
props: /* @__PURE__ */ kl({
|
|
567
567
|
label: { type: Object, required: !1 },
|
|
@@ -587,7 +587,7 @@ const df = { render: ff }, hf = {
|
|
|
587
587
|
n.label ? (be(), Te("p", Zf, tt(n.label), 1)) : pt("", !0),
|
|
588
588
|
oe("div", Qf, [
|
|
589
589
|
(be(!0), Te(Pt, null, rn(n.options, (i) => (be(), Te("label", Jf, [
|
|
590
|
-
|
|
590
|
+
Nn(oe("input", {
|
|
591
591
|
name: n.name,
|
|
592
592
|
type: "radio",
|
|
593
593
|
value: i,
|
|
@@ -602,7 +602,7 @@ const df = { render: ff }, hf = {
|
|
|
602
602
|
])
|
|
603
603
|
]),
|
|
604
604
|
oe("div", td, [
|
|
605
|
-
(be(),
|
|
605
|
+
(be(), On(ri(o(e.value)), {
|
|
606
606
|
url: t.value,
|
|
607
607
|
"onUpdate:url": u[1] || (u[1] = (i) => t.value = i),
|
|
608
608
|
sites: n.sites
|
|
@@ -614,7 +614,7 @@ const df = { render: ff }, hf = {
|
|
|
614
614
|
}, null, 8, nd)
|
|
615
615
|
]),
|
|
616
616
|
oe("div", rd, [
|
|
617
|
-
qe(
|
|
617
|
+
qe(zs, {
|
|
618
618
|
class: "mb-1",
|
|
619
619
|
name: "open_in_new_tab",
|
|
620
620
|
modelValue: r.value,
|
|
@@ -653,7 +653,7 @@ const df = { render: ff }, hf = {
|
|
|
653
653
|
oe("div", null, [
|
|
654
654
|
oe("a", {
|
|
655
655
|
onClick: i,
|
|
656
|
-
class:
|
|
656
|
+
class: Rn(["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 }])
|
|
657
657
|
}, [
|
|
658
658
|
qe(ft(Ml), { class: "h-5 w-5" }),
|
|
659
659
|
f[0] || (f[0] = oe("span", null, "Add", -1))
|
|
@@ -687,7 +687,7 @@ const df = { render: ff }, hf = {
|
|
|
687
687
|
limit: 20
|
|
688
688
|
}, {
|
|
689
689
|
default: Bt(() => [
|
|
690
|
-
|
|
690
|
+
Nn(oe("input", {
|
|
691
691
|
"onUpdate:modelValue": (v) => g.title = v,
|
|
692
692
|
name: "title",
|
|
693
693
|
type: "text",
|
|
@@ -700,7 +700,7 @@ const df = { render: ff }, hf = {
|
|
|
700
700
|
]),
|
|
701
701
|
_: 2
|
|
702
702
|
}, 1032, ["value"]),
|
|
703
|
-
qe(
|
|
703
|
+
qe(na, {
|
|
704
704
|
label: "Linked to",
|
|
705
705
|
name: `link_${p + 1}`,
|
|
706
706
|
type: g.type,
|
|
@@ -753,8 +753,8 @@ const df = { render: ff }, hf = {
|
|
|
753
753
|
const t = e, r = n, s = _e(JSON.parse(window.localStorage.getItem("pageBuilderOpenStates"))), o = _e(((f = r.modelValue) == null ? void 0 : f.sections) ?? []);
|
|
754
754
|
let a = _e(null);
|
|
755
755
|
const u = _e({
|
|
756
|
-
sliders:
|
|
757
|
-
links:
|
|
756
|
+
sliders: ss(Uf),
|
|
757
|
+
links: ss(gd)
|
|
758
758
|
});
|
|
759
759
|
s.value || (s.value = {}, o.value.forEach((g, p) => {
|
|
760
760
|
s.value[p] = !0;
|
|
@@ -787,10 +787,10 @@ const df = { render: ff }, hf = {
|
|
|
787
787
|
oe("span", xd, tt(S.title), 1),
|
|
788
788
|
oe("div", Ed, [
|
|
789
789
|
oe("div", wd, [
|
|
790
|
-
s.value[A] ? (be(),
|
|
790
|
+
s.value[A] ? (be(), On(ft(zc), {
|
|
791
791
|
key: 1,
|
|
792
792
|
class: "h-5 w-5"
|
|
793
|
-
})) : (be(),
|
|
793
|
+
})) : (be(), On(ft(oo), {
|
|
794
794
|
key: 0,
|
|
795
795
|
class: "h-5 w-5"
|
|
796
796
|
}))
|
|
@@ -802,7 +802,7 @@ const df = { render: ff }, hf = {
|
|
|
802
802
|
var M, z;
|
|
803
803
|
return be(), Te("div", {
|
|
804
804
|
onClick: (K) => i(A, C, F),
|
|
805
|
-
class:
|
|
805
|
+
class: Rn(["flex cursor-pointer items-center justify-between rounded-lg py-1.5 pl-6 pr-2 hover:bg-gray-100", { "bg-gray-200 hover:bg-gray-200": ((M = ft(a)) == null ? void 0 : M.sectionIndex) === A && ((z = ft(a)) == null ? void 0 : z.componentIndex) === F }])
|
|
806
806
|
}, [
|
|
807
807
|
oe("div", Td, [
|
|
808
808
|
p[0] || (p[0] = oe("div", { class: "text-xs text-gray-600" }, "Sub-module", -1)),
|
|
@@ -817,8 +817,8 @@ const df = { render: ff }, hf = {
|
|
|
817
817
|
]))), 256))
|
|
818
818
|
]),
|
|
819
819
|
oe("div", Rd, [
|
|
820
|
-
ft(a) ? pt("", !0) : (be(),
|
|
821
|
-
(be(),
|
|
820
|
+
ft(a) ? pt("", !0) : (be(), On(Gc, { key: 0 })),
|
|
821
|
+
(be(), On(ri(d.value), {
|
|
822
822
|
key: ((v = ft(a)) == null ? void 0 : v.sectionIndex) + ((b = ft(a)) == null ? void 0 : b.componentIndex),
|
|
823
823
|
data: ft(a),
|
|
824
824
|
sites: n.sites,
|
|
@@ -833,7 +833,7 @@ const df = { render: ff }, hf = {
|
|
|
833
833
|
class: "w-[200px] py-[9px] bg-white rounded-full border border-gray-300 shadow-xs text-md font-semibold hover:bg-gray-100 text-gray-700 text-center cursor-pointer"
|
|
834
834
|
}, " Cancel "),
|
|
835
835
|
oe("a", {
|
|
836
|
-
onClick:
|
|
836
|
+
onClick: Ma(c, ["prevent"]),
|
|
837
837
|
class: "w-full py-[9px] rounded-full shadow-xs text-md font-semibold text-white bg-brand-600 hover:bg-brand-700 border border-brand-600 text-center cursor-pointer"
|
|
838
838
|
}, "Save changes")
|
|
839
839
|
])
|
|
@@ -863,7 +863,7 @@ const $l = { render: Ld };
|
|
|
863
863
|
* (c) 2025
|
|
864
864
|
* @license MIT
|
|
865
865
|
*/
|
|
866
|
-
const _l = ["viewport", "carousel"],
|
|
866
|
+
const _l = ["viewport", "carousel"], Ys = {
|
|
867
867
|
"bottom-to-top": "btt",
|
|
868
868
|
"left-to-right": "ltr",
|
|
869
869
|
"right-to-left": "rtl",
|
|
@@ -894,7 +894,7 @@ const _l = ["viewport", "carousel"], Zs = {
|
|
|
894
894
|
"end",
|
|
895
895
|
"center-even",
|
|
896
896
|
"center-odd"
|
|
897
|
-
], lo = 10,
|
|
897
|
+
], lo = 10, Ls = 0.3, lt = {
|
|
898
898
|
autoplay: 0,
|
|
899
899
|
breakpointMode: _l[0],
|
|
900
900
|
breakpoints: void 0,
|
|
@@ -917,7 +917,7 @@ const _l = ["viewport", "carousel"], Zs = {
|
|
|
917
917
|
transition: 300,
|
|
918
918
|
wrapAround: !1
|
|
919
919
|
}, Zn = Symbol("carousel"), Pd = (n) => {
|
|
920
|
-
const e =
|
|
920
|
+
const e = ta([]), t = (r) => {
|
|
921
921
|
r !== void 0 ? e.slice(r).forEach((s, o) => {
|
|
922
922
|
var a;
|
|
923
923
|
(a = s.exposed) === null || a === void 0 || a.setIndex(r + o);
|
|
@@ -983,7 +983,7 @@ function Ud(n) {
|
|
|
983
983
|
const l = i < 1 ? Math.sign(u) : Math.round(u);
|
|
984
984
|
return t ? l : -l;
|
|
985
985
|
}
|
|
986
|
-
function
|
|
986
|
+
function Sn({ val: n, max: e, min: t }) {
|
|
987
987
|
return e < t ? n : Math.min(Math.max(n, isNaN(t) ? n : t), isNaN(e) ? n : e);
|
|
988
988
|
}
|
|
989
989
|
function Dd(n) {
|
|
@@ -1027,7 +1027,7 @@ function _d(n, e, t) {
|
|
|
1027
1027
|
return 0;
|
|
1028
1028
|
}
|
|
1029
1029
|
}
|
|
1030
|
-
function
|
|
1030
|
+
function ra({ slideSize: n, viewportSize: e, align: t, itemsToShow: r }) {
|
|
1031
1031
|
return r !== void 0 ? $d(t, r) : n !== void 0 && e !== void 0 ? _d(t, n, e) : 0;
|
|
1032
1032
|
}
|
|
1033
1033
|
function Vl(n = "", e = {}) {
|
|
@@ -1037,7 +1037,7 @@ function Gl({ val: n, max: e, min: t = 0 }) {
|
|
|
1037
1037
|
const r = e - t + 1;
|
|
1038
1038
|
return ((n - t) % r + r) % r + t;
|
|
1039
1039
|
}
|
|
1040
|
-
function
|
|
1040
|
+
function sa(n, e = 0) {
|
|
1041
1041
|
let t = !1, r = 0, s = null;
|
|
1042
1042
|
function o(...a) {
|
|
1043
1043
|
if (t)
|
|
@@ -1054,14 +1054,14 @@ function ia(n, e = 0) {
|
|
|
1054
1054
|
s && (cancelAnimationFrame(s), s = null, t = !1);
|
|
1055
1055
|
}, o;
|
|
1056
1056
|
}
|
|
1057
|
-
function
|
|
1057
|
+
function ks(n, e = "px") {
|
|
1058
1058
|
if (!(n == null || n === ""))
|
|
1059
1059
|
return typeof n == "number" || parseFloat(n).toString() === n ? `${n}${e}` : n;
|
|
1060
1060
|
}
|
|
1061
1061
|
const qd = nr({
|
|
1062
1062
|
name: "CarouselAria",
|
|
1063
1063
|
setup() {
|
|
1064
|
-
const n =
|
|
1064
|
+
const n = hs(Zn);
|
|
1065
1065
|
return n ? () => wt("div", {
|
|
1066
1066
|
class: ["carousel__liveregion", "carousel__sr-only"],
|
|
1067
1067
|
"aria-live": "polite",
|
|
@@ -1084,7 +1084,7 @@ function zd(n) {
|
|
|
1084
1084
|
t.x = e ? c.touches[0].clientX : c.clientX, t.y = e ? c.touches[0].clientY : c.clientY;
|
|
1085
1085
|
const g = e ? "touchmove" : "mousemove", p = e ? "touchend" : "mouseup";
|
|
1086
1086
|
document.addEventListener(g, i, { passive: !1 }), document.addEventListener(p, l, { passive: !0 }), (d = n.onDragStart) === null || d === void 0 || d.call(n);
|
|
1087
|
-
}, i =
|
|
1087
|
+
}, i = sa((c) => {
|
|
1088
1088
|
var d;
|
|
1089
1089
|
if (e && c.touches.length > 1)
|
|
1090
1090
|
return;
|
|
@@ -1162,7 +1162,7 @@ const Gd = {
|
|
|
1162
1162
|
validator(n, e) {
|
|
1163
1163
|
if (!ql.includes(n))
|
|
1164
1164
|
return !1;
|
|
1165
|
-
const t = n in
|
|
1165
|
+
const t = n in Ys ? Ys[n] : n;
|
|
1166
1166
|
return ["ttb", "btt"].includes(t) && (!e.height || e.height === "auto") && console.warn(`[vue3-carousel]: The dir "${n}" is not supported with height "auto".`), !0;
|
|
1167
1167
|
}
|
|
1168
1168
|
},
|
|
@@ -1277,28 +1277,28 @@ const Gd = {
|
|
|
1277
1277
|
],
|
|
1278
1278
|
setup(n, { slots: e, emit: t, expose: r }) {
|
|
1279
1279
|
var s;
|
|
1280
|
-
const o = Pd(t), a = o.getSlides(), u = je(() => a.length), i = _e(null), l = _e(null), c = _e(0), d = je(() => Object.assign(Object.assign(Object.assign({}, lt), Bd(n, ["breakpoints", "modelValue"])), { i18n: Object.assign(Object.assign({}, lt.i18n), n.i18n) })), f =
|
|
1280
|
+
const o = Pd(t), a = o.getSlides(), u = je(() => a.length), i = _e(null), l = _e(null), c = _e(0), d = je(() => Object.assign(Object.assign(Object.assign({}, lt), Bd(n, ["breakpoints", "modelValue"])), { i18n: Object.assign(Object.assign({}, lt.i18n), n.i18n) })), f = ta(Object.assign({}, d.value)), g = _e((s = n.modelValue) !== null && s !== void 0 ? s : 0), p = _e(g.value);
|
|
1281
1281
|
Wr(g, (pe) => p.value = pe);
|
|
1282
1282
|
const v = _e(0), b = je(() => Math.ceil((u.value - 1) / 2)), S = je(() => u.value - 1), A = je(() => 0);
|
|
1283
1283
|
let C = null, F = null, M = null;
|
|
1284
1284
|
const z = je(() => c.value + f.gap), K = je(() => {
|
|
1285
1285
|
const pe = f.dir || "ltr";
|
|
1286
|
-
return pe in
|
|
1286
|
+
return pe in Ys ? Ys[pe] : pe;
|
|
1287
1287
|
}), H = je(() => ["rtl", "btt"].includes(K.value)), ne = je(() => ["ttb", "btt"].includes(K.value)), V = je(() => f.itemsToShow === "auto"), x = je(() => ne.value ? "height" : "width");
|
|
1288
1288
|
function P() {
|
|
1289
1289
|
var pe;
|
|
1290
1290
|
if (!he.value)
|
|
1291
1291
|
return;
|
|
1292
1292
|
const xe = (d.value.breakpointMode === "carousel" ? (pe = i.value) === null || pe === void 0 ? void 0 : pe.getBoundingClientRect().width : typeof window < "u" ? window.innerWidth : 0) || 0, Ie = Object.keys(n.breakpoints || {}).map((ke) => Number(ke)).sort((ke, Ge) => +Ge - +ke), Pe = {};
|
|
1293
|
-
Ie.some((ke) => xe >= ke ? (Object.assign(Pe, n.breakpoints[ke]), Pe.i18n && Object.assign(Pe.i18n, d.value.i18n, n.breakpoints[ke].i18n), !0) : !1), Object.assign(f, d.value, Pe), V.value || (f.itemsToShow =
|
|
1293
|
+
Ie.some((ke) => xe >= ke ? (Object.assign(Pe, n.breakpoints[ke]), Pe.i18n && Object.assign(Pe.i18n, d.value.i18n, n.breakpoints[ke].i18n), !0) : !1), Object.assign(f, d.value, Pe), V.value || (f.itemsToShow = Sn({
|
|
1294
1294
|
val: Number(f.itemsToShow),
|
|
1295
1295
|
max: n.clamp ? u.value : 1 / 0,
|
|
1296
1296
|
min: 1
|
|
1297
1297
|
}));
|
|
1298
1298
|
}
|
|
1299
|
-
const O =
|
|
1299
|
+
const O = sa(() => {
|
|
1300
1300
|
P(), J(), Q();
|
|
1301
|
-
}), _ =
|
|
1301
|
+
}), _ = ta(/* @__PURE__ */ new Set()), D = _e([]);
|
|
1302
1302
|
function j({ widthMultiplier: pe, heightMultiplier: xe }) {
|
|
1303
1303
|
D.value = a.map((Ie) => {
|
|
1304
1304
|
var Pe;
|
|
@@ -1333,14 +1333,14 @@ const Gd = {
|
|
|
1333
1333
|
}
|
|
1334
1334
|
}
|
|
1335
1335
|
function J() {
|
|
1336
|
-
!f.wrapAround && u.value > 0 && (g.value =
|
|
1336
|
+
!f.wrapAround && u.value > 0 && (g.value = Sn({
|
|
1337
1337
|
val: g.value,
|
|
1338
1338
|
max: S.value,
|
|
1339
1339
|
min: A.value
|
|
1340
1340
|
}));
|
|
1341
1341
|
}
|
|
1342
1342
|
const ge = je(() => typeof n.ignoreAnimations == "string" ? n.ignoreAnimations.split(",") : Array.isArray(n.ignoreAnimations) ? n.ignoreAnimations : n.ignoreAnimations ? !1 : []);
|
|
1343
|
-
|
|
1343
|
+
Mi(() => J()), Mi(() => {
|
|
1344
1344
|
Q();
|
|
1345
1345
|
});
|
|
1346
1346
|
let ve;
|
|
@@ -1358,14 +1358,14 @@ const Gd = {
|
|
|
1358
1358
|
const xe = pe.target;
|
|
1359
1359
|
xe && _.delete(xe), ve && _.size === 0 && (cancelAnimationFrame(ve), Q());
|
|
1360
1360
|
}, he = _e(!1);
|
|
1361
|
-
typeof document < "u" &&
|
|
1361
|
+
typeof document < "u" && Mi(() => {
|
|
1362
1362
|
he.value && ge.value !== !1 ? (document.addEventListener("animationstart", me), document.addEventListener("animationend", Ee)) : (document.removeEventListener("animationstart", me), document.removeEventListener("animationend", Ee));
|
|
1363
|
-
}),
|
|
1363
|
+
}), si(() => {
|
|
1364
1364
|
he.value = !0, P(), m(), i.value && (M = new ResizeObserver(O), M.observe(i.value)), t("init");
|
|
1365
1365
|
}), Pl(() => {
|
|
1366
1366
|
he.value = !1, o.cleanup(), F && clearTimeout(F), ve && cancelAnimationFrame(ve), C && clearInterval(C), M && (M.disconnect(), M = null), typeof document < "u" && E(), i.value && (i.value.removeEventListener("transitionend", Q), i.value.removeEventListener("animationiteration", Q));
|
|
1367
1367
|
});
|
|
1368
|
-
const { isHover: Re, handleMouseEnter: ye, handleMouseLeave: T } = Hd(), R =
|
|
1368
|
+
const { isHover: Re, handleMouseEnter: ye, handleMouseLeave: T } = Hd(), R = sa((pe) => {
|
|
1369
1369
|
if (!pe.ctrlKey)
|
|
1370
1370
|
switch (pe.key) {
|
|
1371
1371
|
case "ArrowLeft":
|
|
@@ -1396,14 +1396,14 @@ const Gd = {
|
|
|
1396
1396
|
const k = _e(!1), U = ({ deltaX: pe, deltaY: xe, isTouch: Ie }) => {
|
|
1397
1397
|
var Pe, ke, Ge, Je;
|
|
1398
1398
|
t("drag", { deltaX: pe, deltaY: xe });
|
|
1399
|
-
const it = Ie ? typeof f.touchDrag == "object" && (ke = (Pe = f.touchDrag) === null || Pe === void 0 ? void 0 : Pe.threshold) !== null && ke !== void 0 ? ke :
|
|
1399
|
+
const it = Ie ? typeof f.touchDrag == "object" && (ke = (Pe = f.touchDrag) === null || Pe === void 0 ? void 0 : Pe.threshold) !== null && ke !== void 0 ? ke : Ls : typeof f.mouseDrag == "object" && (Je = (Ge = f.mouseDrag) === null || Ge === void 0 ? void 0 : Ge.threshold) !== null && Je !== void 0 ? Je : Ls, yt = Ud({
|
|
1400
1400
|
isVertical: ne.value,
|
|
1401
1401
|
isReversed: H.value,
|
|
1402
1402
|
dragged: { x: pe, y: xe },
|
|
1403
1403
|
effectiveSlideSize: z.value,
|
|
1404
1404
|
threshold: it
|
|
1405
1405
|
});
|
|
1406
|
-
yt !== 0 && (p.value = f.wrapAround ? g.value + yt :
|
|
1406
|
+
yt !== 0 && (p.value = f.wrapAround ? g.value + yt : Sn({
|
|
1407
1407
|
val: g.value + yt,
|
|
1408
1408
|
max: S.value,
|
|
1409
1409
|
min: A.value
|
|
@@ -1434,7 +1434,7 @@ const Gd = {
|
|
|
1434
1434
|
val: Ie,
|
|
1435
1435
|
max: S.value,
|
|
1436
1436
|
min: A.value
|
|
1437
|
-
}) : Ie =
|
|
1437
|
+
}) : Ie = Sn({
|
|
1438
1438
|
val: Ie,
|
|
1439
1439
|
max: S.value,
|
|
1440
1440
|
min: A.value
|
|
@@ -1476,13 +1476,13 @@ const Gd = {
|
|
|
1476
1476
|
var pe;
|
|
1477
1477
|
if (V.value) {
|
|
1478
1478
|
const xe = (g.value % a.length + a.length) % a.length;
|
|
1479
|
-
return
|
|
1479
|
+
return ra({
|
|
1480
1480
|
slideSize: (pe = D.value[xe]) === null || pe === void 0 ? void 0 : pe[x.value],
|
|
1481
1481
|
viewportSize: W.value[x.value],
|
|
1482
1482
|
align: f.snapAlign
|
|
1483
1483
|
});
|
|
1484
1484
|
}
|
|
1485
|
-
return
|
|
1485
|
+
return ra({
|
|
1486
1486
|
align: f.snapAlign,
|
|
1487
1487
|
itemsToShow: +f.itemsToShow
|
|
1488
1488
|
});
|
|
@@ -1491,7 +1491,7 @@ const Gd = {
|
|
|
1491
1491
|
if (V.value) {
|
|
1492
1492
|
if (g.value < 0 ? pe = D.value.slice(g.value).reduce((xe, Ie) => xe + Ie[x.value] + f.gap, 0) * -1 : pe = D.value.slice(0, g.value).reduce((xe, Ie) => xe + Ie[x.value] + f.gap, 0), pe -= Ve.value, !f.wrapAround) {
|
|
1493
1493
|
const xe = D.value.reduce((Ie, Pe) => Ie + Pe[x.value] + f.gap, 0) - W.value[x.value] - f.gap;
|
|
1494
|
-
pe =
|
|
1494
|
+
pe = Sn({
|
|
1495
1495
|
val: pe,
|
|
1496
1496
|
max: xe,
|
|
1497
1497
|
min: 0
|
|
@@ -1499,7 +1499,7 @@ const Gd = {
|
|
|
1499
1499
|
}
|
|
1500
1500
|
} else {
|
|
1501
1501
|
let xe = g.value - Ve.value;
|
|
1502
|
-
f.wrapAround || (xe =
|
|
1502
|
+
f.wrapAround || (xe = Sn({
|
|
1503
1503
|
val: xe,
|
|
1504
1504
|
max: u.value - +f.itemsToShow,
|
|
1505
1505
|
min: 0
|
|
@@ -1514,12 +1514,12 @@ const Gd = {
|
|
|
1514
1514
|
min: Math.floor(ke),
|
|
1515
1515
|
max: Math.ceil(ke + Number(f.itemsToShow) - 1)
|
|
1516
1516
|
} : {
|
|
1517
|
-
min: Math.floor(
|
|
1517
|
+
min: Math.floor(Sn({
|
|
1518
1518
|
val: ke,
|
|
1519
1519
|
max: u.value - Number(f.itemsToShow),
|
|
1520
1520
|
min: 0
|
|
1521
1521
|
})),
|
|
1522
|
-
max: Math.ceil(
|
|
1522
|
+
max: Math.ceil(Sn({
|
|
1523
1523
|
val: ke + Number(f.itemsToShow) - 1,
|
|
1524
1524
|
max: u.value - 1,
|
|
1525
1525
|
min: 0
|
|
@@ -1558,7 +1558,7 @@ const Gd = {
|
|
|
1558
1558
|
let Pe = 0;
|
|
1559
1559
|
V.value ? Pe = D.value.reduce((Je, it) => Je + it[x.value], 0) : Pe = (u.value - Number(f.itemsToShow)) * z.value;
|
|
1560
1560
|
const ke = H.value ? 0 : -1 * Pe, Ge = H.value ? Pe : 0;
|
|
1561
|
-
Ie =
|
|
1561
|
+
Ie = Sn({
|
|
1562
1562
|
val: Ie,
|
|
1563
1563
|
min: ke,
|
|
1564
1564
|
max: Ge
|
|
@@ -1566,10 +1566,10 @@ const Gd = {
|
|
|
1566
1566
|
}
|
|
1567
1567
|
return `translate${pe}(${Ie}px)`;
|
|
1568
1568
|
}), St = je(() => ({
|
|
1569
|
-
"--vc-carousel-height":
|
|
1570
|
-
"--vc-cloned-offset":
|
|
1571
|
-
"--vc-slide-gap":
|
|
1572
|
-
"--vc-transition-duration": k.value ?
|
|
1569
|
+
"--vc-carousel-height": ks(f.height),
|
|
1570
|
+
"--vc-cloned-offset": ks(Me.value),
|
|
1571
|
+
"--vc-slide-gap": ks(f.gap),
|
|
1572
|
+
"--vc-transition-duration": k.value ? ks(f.transition, "ms") : void 0
|
|
1573
1573
|
})), Be = Zr({
|
|
1574
1574
|
activeSlide: p,
|
|
1575
1575
|
config: f,
|
|
@@ -1654,10 +1654,10 @@ const Gd = {
|
|
|
1654
1654
|
};
|
|
1655
1655
|
}
|
|
1656
1656
|
});
|
|
1657
|
-
var
|
|
1657
|
+
var ia;
|
|
1658
1658
|
(function(n) {
|
|
1659
1659
|
n.arrowDown = "arrowDown", n.arrowLeft = "arrowLeft", n.arrowRight = "arrowRight", n.arrowUp = "arrowUp";
|
|
1660
|
-
})(
|
|
1660
|
+
})(ia || (ia = {}));
|
|
1661
1661
|
const fo = (n) => `icon${n.charAt(0).toUpperCase() + n.slice(1)}`, Kd = {
|
|
1662
1662
|
arrowDown: "M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z",
|
|
1663
1663
|
arrowLeft: "M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z",
|
|
@@ -1665,7 +1665,7 @@ const fo = (n) => `icon${n.charAt(0).toUpperCase() + n.slice(1)}`, Kd = {
|
|
|
1665
1665
|
arrowUp: "M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z"
|
|
1666
1666
|
};
|
|
1667
1667
|
function Xd(n) {
|
|
1668
|
-
return n in
|
|
1668
|
+
return n in ia;
|
|
1669
1669
|
}
|
|
1670
1670
|
const ho = (n) => n && Xd(n), po = nr({
|
|
1671
1671
|
props: {
|
|
@@ -1680,7 +1680,7 @@ const ho = (n) => n && Xd(n), po = nr({
|
|
|
1680
1680
|
}
|
|
1681
1681
|
},
|
|
1682
1682
|
setup(n) {
|
|
1683
|
-
const e =
|
|
1683
|
+
const e = hs(Zn, null);
|
|
1684
1684
|
return () => {
|
|
1685
1685
|
const t = n.name;
|
|
1686
1686
|
if (!t || !ho(t))
|
|
@@ -1704,7 +1704,7 @@ nr({
|
|
|
1704
1704
|
}
|
|
1705
1705
|
},
|
|
1706
1706
|
setup(n, { slots: e, attrs: t }) {
|
|
1707
|
-
let r =
|
|
1707
|
+
let r = hs(Zn, null);
|
|
1708
1708
|
const { next: s, prev: o } = e, a = () => ({
|
|
1709
1709
|
btt: "arrowDown",
|
|
1710
1710
|
ltr: "arrowLeft",
|
|
@@ -1746,8 +1746,8 @@ nr({
|
|
|
1746
1746
|
}
|
|
1747
1747
|
},
|
|
1748
1748
|
setup(n) {
|
|
1749
|
-
let e =
|
|
1750
|
-
const t = je(() => e.config.itemsToShow), r = je(() =>
|
|
1749
|
+
let e = hs(Zn, null);
|
|
1750
|
+
const t = je(() => e.config.itemsToShow), r = je(() => ra({
|
|
1751
1751
|
align: e.config.snapAlign,
|
|
1752
1752
|
itemsToShow: t.value
|
|
1753
1753
|
})), s = je(() => n.paginateByItemsToShow && t.value > 1), o = je(() => Math.ceil((e.activeSlide - r.value) / t.value)), a = je(() => Math.ceil(e.slidesCount / t.value)), u = (i) => Gl(s.value ? {
|
|
@@ -1803,7 +1803,7 @@ const Yd = nr({
|
|
|
1803
1803
|
}
|
|
1804
1804
|
},
|
|
1805
1805
|
setup(n, { attrs: e, slots: t, expose: r }) {
|
|
1806
|
-
const s =
|
|
1806
|
+
const s = hs(Zn);
|
|
1807
1807
|
if (Fl(Zn, void 0), !s)
|
|
1808
1808
|
return () => "";
|
|
1809
1809
|
const o = _e(n.index), a = (p) => {
|
|
@@ -1825,7 +1825,7 @@ const Yd = nr({
|
|
|
1825
1825
|
});
|
|
1826
1826
|
return s.slideRegistry.registerSlide(u, n.index), Mc(() => {
|
|
1827
1827
|
s.slideRegistry.unregisterSlide(u);
|
|
1828
|
-
}), n.isClone && (
|
|
1828
|
+
}), n.isClone && (si(() => {
|
|
1829
1829
|
co(u.vnode);
|
|
1830
1830
|
}), Bc(() => {
|
|
1831
1831
|
co(u.vnode);
|
|
@@ -1878,14 +1878,14 @@ const Yd = nr({
|
|
|
1878
1878
|
"wrap-around": !0
|
|
1879
1879
|
}, {
|
|
1880
1880
|
default: Bt(() => [
|
|
1881
|
-
(be(!0), Te(Pt, null, rn(r.value.data, (a, u) => (be(),
|
|
1881
|
+
(be(!0), Te(Pt, null, rn(r.value.data, (a, u) => (be(), On(ft(Yd), { key: u }, {
|
|
1882
1882
|
default: Bt(() => [
|
|
1883
1883
|
oe("div", Qd, [
|
|
1884
1884
|
oe("div", Jd, [
|
|
1885
1885
|
oe("div", eh, [
|
|
1886
1886
|
r.value.data.length > 1 ? (be(!0), Te(Pt, { key: 0 }, rn(r.value.data, (i, l) => (be(), Te("a", {
|
|
1887
1887
|
onClick: (c) => t.value = l,
|
|
1888
|
-
class:
|
|
1888
|
+
class: Rn(["w-4 h-1 bg-navy-400 rounded-full cursor-pointer", { "!w-12 !bg-white": t.value === l }])
|
|
1889
1889
|
}, null, 10, th))), 256)) : pt("", !0)
|
|
1890
1890
|
]),
|
|
1891
1891
|
oe("h3", nh, tt(a == null ? void 0 : a.title), 1),
|
|
@@ -1908,7 +1908,7 @@ const Yd = nr({
|
|
|
1908
1908
|
href: a.primary_button.link_to,
|
|
1909
1909
|
target: a.primary_button.open_in_new_tab ? "_blank" : ""
|
|
1910
1910
|
}, [
|
|
1911
|
-
|
|
1911
|
+
Ba(tt(a.primary_button.label) + " ", 1),
|
|
1912
1912
|
qe(ft($l), { class: "w-5 h-5" })
|
|
1913
1913
|
], 8, ah)) : pt("", !0)
|
|
1914
1914
|
])
|
|
@@ -1928,7 +1928,7 @@ const Yd = nr({
|
|
|
1928
1928
|
}, 8, ["modelValue"])
|
|
1929
1929
|
]));
|
|
1930
1930
|
}
|
|
1931
|
-
}, uh = /* @__PURE__ */
|
|
1931
|
+
}, uh = /* @__PURE__ */ ii(lh, [["__scopeId", "data-v-208c52d9"]]), ch = { class: "flex justify-center h-[136px] w-full relative rounded-b-[48px] bg-navy-600 -mt-12 gap-[60px]" }, fh = ["target", "href"], dh = {
|
|
1932
1932
|
__name: "VLinkPresenter",
|
|
1933
1933
|
props: {
|
|
1934
1934
|
component: {
|
|
@@ -1959,12 +1959,12 @@ const Yd = nr({
|
|
|
1959
1959
|
},
|
|
1960
1960
|
setup(n) {
|
|
1961
1961
|
const t = _e(n.section), r = _e({
|
|
1962
|
-
sliders:
|
|
1963
|
-
links:
|
|
1962
|
+
sliders: ss(uh),
|
|
1963
|
+
links: ss(dh)
|
|
1964
1964
|
}), s = (o) => o != null && o.type ? r.value[o == null ? void 0 : o.type] : "";
|
|
1965
1965
|
return (o, a) => (be(), Te("div", hh, [
|
|
1966
1966
|
(be(!0), Te(Pt, null, rn(t.value.components, (u, i) => (be(), Te("div", null, [
|
|
1967
|
-
(be(),
|
|
1967
|
+
(be(), On(ri(s(u)), {
|
|
1968
1968
|
key: i,
|
|
1969
1969
|
component: u
|
|
1970
1970
|
}, null, 8, ["component"]))
|
|
@@ -1981,17 +1981,17 @@ const Yd = nr({
|
|
|
1981
1981
|
},
|
|
1982
1982
|
setup(n) {
|
|
1983
1983
|
const e = _e({
|
|
1984
|
-
header:
|
|
1984
|
+
header: ss(ph)
|
|
1985
1985
|
}), t = (r) => r != null && r.type ? e.value[r == null ? void 0 : r.type] : "";
|
|
1986
1986
|
return (r, s) => (be(!0), Te(Pt, null, rn(n.page.sections, (o, a) => (be(), Te("div", null, [
|
|
1987
|
-
(be(),
|
|
1987
|
+
(be(), On(ri(t(o)), {
|
|
1988
1988
|
key: a,
|
|
1989
1989
|
section: o
|
|
1990
1990
|
}, null, 8, ["section"]))
|
|
1991
1991
|
]))), 256));
|
|
1992
1992
|
}
|
|
1993
1993
|
};
|
|
1994
|
-
var Wl = typeof global == "object" && global && global.Object === Object && global, gh = typeof self == "object" && self && self.Object === Object && self,
|
|
1994
|
+
var Wl = typeof global == "object" && global && global.Object === Object && global, gh = typeof self == "object" && self && self.Object === Object && self, yn = Wl || gh || Function("return this")(), qn = yn.Symbol, Kl = Object.prototype, vh = Kl.hasOwnProperty, mh = Kl.toString, zr = qn ? qn.toStringTag : void 0;
|
|
1995
1995
|
function yh(n) {
|
|
1996
1996
|
var e = vh.call(n, zr), t = n[zr];
|
|
1997
1997
|
try {
|
|
@@ -2028,8 +2028,8 @@ function Ua(n) {
|
|
|
2028
2028
|
var e = Br(n);
|
|
2029
2029
|
return e == Th || e == Oh || e == Sh || e == Nh;
|
|
2030
2030
|
}
|
|
2031
|
-
var
|
|
2032
|
-
var n = /[^.]+$/.exec(
|
|
2031
|
+
var Bi = yn["__core-js_shared__"], vo = function() {
|
|
2032
|
+
var n = /[^.]+$/.exec(Bi && Bi.keys && Bi.keys.IE_PROTO || "");
|
|
2033
2033
|
return n ? "Symbol(src)_1." + n : "";
|
|
2034
2034
|
}();
|
|
2035
2035
|
function Rh(n) {
|
|
@@ -2065,7 +2065,7 @@ function sr(n, e) {
|
|
|
2065
2065
|
var t = jh(n, e);
|
|
2066
2066
|
return Dh(t) ? t : void 0;
|
|
2067
2067
|
}
|
|
2068
|
-
var
|
|
2068
|
+
var aa = sr(yn, "WeakMap"), mo = Object.create, $h = /* @__PURE__ */ function() {
|
|
2069
2069
|
function n() {
|
|
2070
2070
|
}
|
|
2071
2071
|
return function(e) {
|
|
@@ -2115,14 +2115,14 @@ function Wh(n) {
|
|
|
2115
2115
|
return n;
|
|
2116
2116
|
};
|
|
2117
2117
|
}
|
|
2118
|
-
var
|
|
2118
|
+
var Zs = function() {
|
|
2119
2119
|
try {
|
|
2120
2120
|
var n = sr(Object, "defineProperty");
|
|
2121
2121
|
return n({}, "", {}), n;
|
|
2122
2122
|
} catch {
|
|
2123
2123
|
}
|
|
2124
|
-
}(), Kh =
|
|
2125
|
-
return
|
|
2124
|
+
}(), Kh = Zs ? function(n, e) {
|
|
2125
|
+
return Zs(n, "toString", {
|
|
2126
2126
|
configurable: !0,
|
|
2127
2127
|
enumerable: !1,
|
|
2128
2128
|
value: Wh(e),
|
|
@@ -2140,20 +2140,20 @@ function Yl(n, e) {
|
|
|
2140
2140
|
return e = e ?? Zh, !!e && (t == "number" || t != "symbol" && Qh.test(n)) && n > -1 && n % 1 == 0 && n < e;
|
|
2141
2141
|
}
|
|
2142
2142
|
function Da(n, e, t) {
|
|
2143
|
-
e == "__proto__" &&
|
|
2143
|
+
e == "__proto__" && Zs ? Zs(n, e, {
|
|
2144
2144
|
configurable: !0,
|
|
2145
2145
|
enumerable: !0,
|
|
2146
2146
|
value: t,
|
|
2147
2147
|
writable: !0
|
|
2148
2148
|
}) : n[e] = t;
|
|
2149
2149
|
}
|
|
2150
|
-
function
|
|
2150
|
+
function ps(n, e) {
|
|
2151
2151
|
return n === e || n !== n && e !== e;
|
|
2152
2152
|
}
|
|
2153
2153
|
var Jh = Object.prototype, ep = Jh.hasOwnProperty;
|
|
2154
2154
|
function Zl(n, e, t) {
|
|
2155
2155
|
var r = n[e];
|
|
2156
|
-
(!(ep.call(n, e) &&
|
|
2156
|
+
(!(ep.call(n, e) && ps(r, t)) || t === void 0 && !(e in n)) && Da(n, e, t);
|
|
2157
2157
|
}
|
|
2158
2158
|
function tp(n, e, t, r) {
|
|
2159
2159
|
var s = !t;
|
|
@@ -2182,14 +2182,14 @@ var sp = 9007199254740991;
|
|
|
2182
2182
|
function Ql(n) {
|
|
2183
2183
|
return typeof n == "number" && n > -1 && n % 1 == 0 && n <= sp;
|
|
2184
2184
|
}
|
|
2185
|
-
function
|
|
2185
|
+
function ai(n) {
|
|
2186
2186
|
return n != null && Ql(n.length) && !Ua(n);
|
|
2187
2187
|
}
|
|
2188
2188
|
function ip(n, e, t) {
|
|
2189
2189
|
if (!zn(t))
|
|
2190
2190
|
return !1;
|
|
2191
2191
|
var r = typeof e;
|
|
2192
|
-
return (r == "number" ?
|
|
2192
|
+
return (r == "number" ? ai(t) && Yl(e, t.length) : r == "string" && e in t) ? ps(t[e], n) : !1;
|
|
2193
2193
|
}
|
|
2194
2194
|
function ap(n) {
|
|
2195
2195
|
return rp(function(e, t) {
|
|
@@ -2215,7 +2215,7 @@ var up = "[object Arguments]";
|
|
|
2215
2215
|
function bo(n) {
|
|
2216
2216
|
return Cn(n) && Br(n) == up;
|
|
2217
2217
|
}
|
|
2218
|
-
var Jl = Object.prototype, cp = Jl.hasOwnProperty, fp = Jl.propertyIsEnumerable,
|
|
2218
|
+
var Jl = Object.prototype, cp = Jl.hasOwnProperty, fp = Jl.propertyIsEnumerable, oa = bo(/* @__PURE__ */ function() {
|
|
2219
2219
|
return arguments;
|
|
2220
2220
|
}()) ? bo : function(n) {
|
|
2221
2221
|
return Cn(n) && cp.call(n, "callee") && !fp.call(n, "callee");
|
|
@@ -2223,7 +2223,7 @@ var Jl = Object.prototype, cp = Jl.hasOwnProperty, fp = Jl.propertyIsEnumerable,
|
|
|
2223
2223
|
function dp() {
|
|
2224
2224
|
return !1;
|
|
2225
2225
|
}
|
|
2226
|
-
var eu = typeof exports == "object" && exports && !exports.nodeType && exports, xo = eu && typeof module == "object" && module && !module.nodeType && module, hp = xo && xo.exports === eu, Eo = hp ?
|
|
2226
|
+
var eu = typeof exports == "object" && exports && !exports.nodeType && exports, xo = eu && typeof module == "object" && module && !module.nodeType && module, hp = xo && xo.exports === eu, Eo = hp ? yn.Buffer : void 0, pp = Eo ? Eo.isBuffer : void 0, is = pp || dp, gp = "[object Arguments]", vp = "[object Array]", mp = "[object Boolean]", yp = "[object Date]", bp = "[object Error]", xp = "[object Function]", Ep = "[object Map]", wp = "[object Number]", Ap = "[object Object]", Sp = "[object RegExp]", Tp = "[object Set]", Op = "[object String]", Np = "[object WeakMap]", Rp = "[object ArrayBuffer]", Cp = "[object DataView]", Ip = "[object Float32Array]", Lp = "[object Float64Array]", kp = "[object Int8Array]", Pp = "[object Int16Array]", Fp = "[object Int32Array]", Mp = "[object Uint8Array]", Bp = "[object Uint8ClampedArray]", Up = "[object Uint16Array]", Dp = "[object Uint32Array]", st = {};
|
|
2227
2227
|
st[Ip] = st[Lp] = st[kp] = st[Pp] = st[Fp] = st[Mp] = st[Bp] = st[Up] = st[Dp] = !0;
|
|
2228
2228
|
st[gp] = st[vp] = st[Rp] = st[mp] = st[Cp] = st[yp] = st[bp] = st[xp] = st[Ep] = st[wp] = st[Ap] = st[Sp] = st[Tp] = st[Op] = st[Np] = !1;
|
|
2229
2229
|
function jp(n) {
|
|
@@ -2234,15 +2234,15 @@ function $a(n) {
|
|
|
2234
2234
|
return n(e);
|
|
2235
2235
|
};
|
|
2236
2236
|
}
|
|
2237
|
-
var tu = typeof exports == "object" && exports && !exports.nodeType && exports, es = tu && typeof module == "object" && module && !module.nodeType && module, $p = es && es.exports === tu,
|
|
2237
|
+
var tu = typeof exports == "object" && exports && !exports.nodeType && exports, es = tu && typeof module == "object" && module && !module.nodeType && module, $p = es && es.exports === tu, Ui = $p && Wl.process, Lr = function() {
|
|
2238
2238
|
try {
|
|
2239
2239
|
var n = es && es.require && es.require("util").types;
|
|
2240
|
-
return n ||
|
|
2240
|
+
return n || Ui && Ui.binding && Ui.binding("util");
|
|
2241
2241
|
} catch {
|
|
2242
2242
|
}
|
|
2243
2243
|
}(), wo = Lr && Lr.isTypedArray, _a = wo ? $a(wo) : jp, _p = Object.prototype, qp = _p.hasOwnProperty;
|
|
2244
2244
|
function nu(n, e) {
|
|
2245
|
-
var t = Qn(n), r = !t &&
|
|
2245
|
+
var t = Qn(n), r = !t && oa(n), s = !t && !r && is(n), o = !t && !r && !s && _a(n), a = t || r || s || o, u = a ? lp(n.length, String) : [], i = u.length;
|
|
2246
2246
|
for (var l in n)
|
|
2247
2247
|
(e || qp.call(n, l)) && !(a && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
2248
2248
|
(l == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
@@ -2266,7 +2266,7 @@ function Gp(n) {
|
|
|
2266
2266
|
return e;
|
|
2267
2267
|
}
|
|
2268
2268
|
function Wp(n) {
|
|
2269
|
-
return
|
|
2269
|
+
return ai(n) ? nu(n) : Gp(n);
|
|
2270
2270
|
}
|
|
2271
2271
|
function Kp(n) {
|
|
2272
2272
|
var e = [];
|
|
@@ -2285,11 +2285,11 @@ function Zp(n) {
|
|
|
2285
2285
|
return t;
|
|
2286
2286
|
}
|
|
2287
2287
|
function su(n) {
|
|
2288
|
-
return
|
|
2288
|
+
return ai(n) ? nu(n, !0) : Zp(n);
|
|
2289
2289
|
}
|
|
2290
|
-
var
|
|
2290
|
+
var as = sr(Object, "create");
|
|
2291
2291
|
function Qp() {
|
|
2292
|
-
this.__data__ =
|
|
2292
|
+
this.__data__ = as ? as(null) : {}, this.size = 0;
|
|
2293
2293
|
}
|
|
2294
2294
|
function Jp(n) {
|
|
2295
2295
|
var e = this.has(n) && delete this.__data__[n];
|
|
@@ -2298,7 +2298,7 @@ function Jp(n) {
|
|
|
2298
2298
|
var eg = "__lodash_hash_undefined__", tg = Object.prototype, ng = tg.hasOwnProperty;
|
|
2299
2299
|
function rg(n) {
|
|
2300
2300
|
var e = this.__data__;
|
|
2301
|
-
if (
|
|
2301
|
+
if (as) {
|
|
2302
2302
|
var t = e[n];
|
|
2303
2303
|
return t === eg ? void 0 : t;
|
|
2304
2304
|
}
|
|
@@ -2307,12 +2307,12 @@ function rg(n) {
|
|
|
2307
2307
|
var sg = Object.prototype, ig = sg.hasOwnProperty;
|
|
2308
2308
|
function ag(n) {
|
|
2309
2309
|
var e = this.__data__;
|
|
2310
|
-
return
|
|
2310
|
+
return as ? e[n] !== void 0 : ig.call(e, n);
|
|
2311
2311
|
}
|
|
2312
2312
|
var og = "__lodash_hash_undefined__";
|
|
2313
2313
|
function lg(n, e) {
|
|
2314
2314
|
var t = this.__data__;
|
|
2315
|
-
return this.size += this.has(n) ? 0 : 1, t[n] =
|
|
2315
|
+
return this.size += this.has(n) ? 0 : 1, t[n] = as && e === void 0 ? og : e, this;
|
|
2316
2316
|
}
|
|
2317
2317
|
function Jn(n) {
|
|
2318
2318
|
var e = -1, t = n == null ? 0 : n.length;
|
|
@@ -2329,29 +2329,29 @@ Jn.prototype.set = lg;
|
|
|
2329
2329
|
function ug() {
|
|
2330
2330
|
this.__data__ = [], this.size = 0;
|
|
2331
2331
|
}
|
|
2332
|
-
function
|
|
2332
|
+
function oi(n, e) {
|
|
2333
2333
|
for (var t = n.length; t--; )
|
|
2334
|
-
if (
|
|
2334
|
+
if (ps(n[t][0], e))
|
|
2335
2335
|
return t;
|
|
2336
2336
|
return -1;
|
|
2337
2337
|
}
|
|
2338
2338
|
var cg = Array.prototype, fg = cg.splice;
|
|
2339
2339
|
function dg(n) {
|
|
2340
|
-
var e = this.__data__, t =
|
|
2340
|
+
var e = this.__data__, t = oi(e, n);
|
|
2341
2341
|
if (t < 0)
|
|
2342
2342
|
return !1;
|
|
2343
2343
|
var r = e.length - 1;
|
|
2344
2344
|
return t == r ? e.pop() : fg.call(e, t, 1), --this.size, !0;
|
|
2345
2345
|
}
|
|
2346
2346
|
function hg(n) {
|
|
2347
|
-
var e = this.__data__, t =
|
|
2347
|
+
var e = this.__data__, t = oi(e, n);
|
|
2348
2348
|
return t < 0 ? void 0 : e[t][1];
|
|
2349
2349
|
}
|
|
2350
2350
|
function pg(n) {
|
|
2351
|
-
return
|
|
2351
|
+
return oi(this.__data__, n) > -1;
|
|
2352
2352
|
}
|
|
2353
2353
|
function gg(n, e) {
|
|
2354
|
-
var t = this.__data__, r =
|
|
2354
|
+
var t = this.__data__, r = oi(t, n);
|
|
2355
2355
|
return r < 0 ? (++this.size, t.push([n, e])) : t[r][1] = e, this;
|
|
2356
2356
|
}
|
|
2357
2357
|
function kn(n) {
|
|
@@ -2366,11 +2366,11 @@ kn.prototype.delete = dg;
|
|
|
2366
2366
|
kn.prototype.get = hg;
|
|
2367
2367
|
kn.prototype.has = pg;
|
|
2368
2368
|
kn.prototype.set = gg;
|
|
2369
|
-
var
|
|
2369
|
+
var os = sr(yn, "Map");
|
|
2370
2370
|
function vg() {
|
|
2371
2371
|
this.size = 0, this.__data__ = {
|
|
2372
2372
|
hash: new Jn(),
|
|
2373
|
-
map: new (
|
|
2373
|
+
map: new (os || kn)(),
|
|
2374
2374
|
string: new Jn()
|
|
2375
2375
|
};
|
|
2376
2376
|
}
|
|
@@ -2378,22 +2378,22 @@ function mg(n) {
|
|
|
2378
2378
|
var e = typeof n;
|
|
2379
2379
|
return e == "string" || e == "number" || e == "symbol" || e == "boolean" ? n !== "__proto__" : n === null;
|
|
2380
2380
|
}
|
|
2381
|
-
function
|
|
2381
|
+
function li(n, e) {
|
|
2382
2382
|
var t = n.__data__;
|
|
2383
2383
|
return mg(e) ? t[typeof e == "string" ? "string" : "hash"] : t.map;
|
|
2384
2384
|
}
|
|
2385
2385
|
function yg(n) {
|
|
2386
|
-
var e =
|
|
2386
|
+
var e = li(this, n).delete(n);
|
|
2387
2387
|
return this.size -= e ? 1 : 0, e;
|
|
2388
2388
|
}
|
|
2389
2389
|
function bg(n) {
|
|
2390
|
-
return
|
|
2390
|
+
return li(this, n).get(n);
|
|
2391
2391
|
}
|
|
2392
2392
|
function xg(n) {
|
|
2393
|
-
return
|
|
2393
|
+
return li(this, n).has(n);
|
|
2394
2394
|
}
|
|
2395
2395
|
function Eg(n, e) {
|
|
2396
|
-
var t =
|
|
2396
|
+
var t = li(this, n), r = t.size;
|
|
2397
2397
|
return t.set(n, e), this.size += t.size == r ? 0 : 1, this;
|
|
2398
2398
|
}
|
|
2399
2399
|
function ir(n) {
|
|
@@ -2441,7 +2441,7 @@ function Fg(n, e) {
|
|
|
2441
2441
|
var t = this.__data__;
|
|
2442
2442
|
if (t instanceof kn) {
|
|
2443
2443
|
var r = t.__data__;
|
|
2444
|
-
if (!
|
|
2444
|
+
if (!os || r.length < Pg - 1)
|
|
2445
2445
|
return r.push([n, e]), this.size = ++t.size, this;
|
|
2446
2446
|
t = this.__data__ = new ir(r);
|
|
2447
2447
|
}
|
|
@@ -2456,7 +2456,7 @@ pn.prototype.delete = Ig;
|
|
|
2456
2456
|
pn.prototype.get = Lg;
|
|
2457
2457
|
pn.prototype.has = kg;
|
|
2458
2458
|
pn.prototype.set = Fg;
|
|
2459
|
-
var ou = typeof exports == "object" && exports && !exports.nodeType && exports, Ao = ou && typeof module == "object" && module && !module.nodeType && module, Mg = Ao && Ao.exports === ou, So = Mg ?
|
|
2459
|
+
var ou = typeof exports == "object" && exports && !exports.nodeType && exports, Ao = ou && typeof module == "object" && module && !module.nodeType && module, Mg = Ao && Ao.exports === ou, So = Mg ? yn.Buffer : void 0, To = So ? So.allocUnsafe : void 0;
|
|
2460
2460
|
function lu(n, e) {
|
|
2461
2461
|
if (e)
|
|
2462
2462
|
return n.slice();
|
|
@@ -2482,11 +2482,11 @@ function _g(n, e, t) {
|
|
|
2482
2482
|
var r = e(n);
|
|
2483
2483
|
return Qn(n) ? r : wg(r, t(n));
|
|
2484
2484
|
}
|
|
2485
|
-
function
|
|
2485
|
+
function la(n) {
|
|
2486
2486
|
return _g(n, Wp, $g);
|
|
2487
2487
|
}
|
|
2488
|
-
var
|
|
2489
|
-
(
|
|
2488
|
+
var ua = sr(yn, "DataView"), ca = sr(yn, "Promise"), fa = sr(yn, "Set"), No = "[object Map]", qg = "[object Object]", Ro = "[object Promise]", Co = "[object Set]", Io = "[object WeakMap]", Lo = "[object DataView]", zg = rr(ua), Hg = rr(os), Vg = rr(ca), Gg = rr(fa), Wg = rr(aa), en = Br;
|
|
2489
|
+
(ua && en(new ua(new ArrayBuffer(1))) != Lo || os && en(new os()) != No || ca && en(ca.resolve()) != Ro || fa && en(new fa()) != Co || aa && en(new aa()) != Io) && (en = function(n) {
|
|
2490
2490
|
var e = Br(n), t = e == qg ? n.constructor : void 0, r = t ? rr(t) : "";
|
|
2491
2491
|
if (r)
|
|
2492
2492
|
switch (r) {
|
|
@@ -2508,10 +2508,10 @@ function Yg(n) {
|
|
|
2508
2508
|
var e = n.length, t = new n.constructor(e);
|
|
2509
2509
|
return e && typeof n[0] == "string" && Xg.call(n, "index") && (t.index = n.index, t.input = n.input), t;
|
|
2510
2510
|
}
|
|
2511
|
-
var
|
|
2511
|
+
var Qs = yn.Uint8Array;
|
|
2512
2512
|
function qa(n) {
|
|
2513
2513
|
var e = new n.constructor(n.byteLength);
|
|
2514
|
-
return new
|
|
2514
|
+
return new Qs(e).set(new Qs(n)), e;
|
|
2515
2515
|
}
|
|
2516
2516
|
function Zg(n, e) {
|
|
2517
2517
|
var t = qa(n.buffer);
|
|
@@ -2578,7 +2578,7 @@ function Tv(n) {
|
|
|
2578
2578
|
var Mo = Lr && Lr.isSet, Ov = Mo ? $a(Mo) : Tv, Nv = 1, fu = "[object Arguments]", Rv = "[object Array]", Cv = "[object Boolean]", Iv = "[object Date]", Lv = "[object Error]", du = "[object Function]", kv = "[object GeneratorFunction]", Pv = "[object Map]", Fv = "[object Number]", hu = "[object Object]", Mv = "[object RegExp]", Bv = "[object Set]", Uv = "[object String]", Dv = "[object Symbol]", jv = "[object WeakMap]", $v = "[object ArrayBuffer]", _v = "[object DataView]", qv = "[object Float32Array]", zv = "[object Float64Array]", Hv = "[object Int8Array]", Vv = "[object Int16Array]", Gv = "[object Int32Array]", Wv = "[object Uint8Array]", Kv = "[object Uint8ClampedArray]", Xv = "[object Uint16Array]", Yv = "[object Uint32Array]", rt = {};
|
|
2579
2579
|
rt[fu] = rt[Rv] = rt[$v] = rt[_v] = rt[Cv] = rt[Iv] = rt[qv] = rt[zv] = rt[Hv] = rt[Vv] = rt[Gv] = rt[Pv] = rt[Fv] = rt[hu] = rt[Mv] = rt[Bv] = rt[Uv] = rt[Dv] = rt[Wv] = rt[Kv] = rt[Xv] = rt[Yv] = !0;
|
|
2580
2580
|
rt[Lv] = rt[du] = rt[jv] = !1;
|
|
2581
|
-
function
|
|
2581
|
+
function Hs(n, e, t, r, s, o) {
|
|
2582
2582
|
var a, u = e & Nv;
|
|
2583
2583
|
if (a !== void 0)
|
|
2584
2584
|
return a;
|
|
@@ -2589,7 +2589,7 @@ function Vs(n, e, t, r, s, o) {
|
|
|
2589
2589
|
a = Yg(n);
|
|
2590
2590
|
else {
|
|
2591
2591
|
var l = en(n), c = l == du || l == kv;
|
|
2592
|
-
if (
|
|
2592
|
+
if (is(n))
|
|
2593
2593
|
return lu(n, u);
|
|
2594
2594
|
if (l == hu || l == fu || c && !s)
|
|
2595
2595
|
a = c ? {} : cu(n);
|
|
@@ -2604,18 +2604,18 @@ function Vs(n, e, t, r, s, o) {
|
|
|
2604
2604
|
if (d)
|
|
2605
2605
|
return d;
|
|
2606
2606
|
o.set(n, a), Ov(n) ? n.forEach(function(p) {
|
|
2607
|
-
a.add(
|
|
2607
|
+
a.add(Hs(p, e, t, p, n, o));
|
|
2608
2608
|
}) : Av(n) && n.forEach(function(p, v) {
|
|
2609
|
-
a.set(v,
|
|
2609
|
+
a.set(v, Hs(p, e, t, v, n, o));
|
|
2610
2610
|
});
|
|
2611
|
-
var f =
|
|
2611
|
+
var f = la, g = i ? void 0 : f(n);
|
|
2612
2612
|
return Yh(g || n, function(p, v) {
|
|
2613
|
-
g && (v = p, p = n[v]), Zl(a, v,
|
|
2613
|
+
g && (v = p, p = n[v]), Zl(a, v, Hs(p, e, t, v, n, o));
|
|
2614
2614
|
}), a;
|
|
2615
2615
|
}
|
|
2616
2616
|
var Zv = 1, Qv = 4;
|
|
2617
2617
|
function Nr(n) {
|
|
2618
|
-
return
|
|
2618
|
+
return Hs(n, Zv | Qv);
|
|
2619
2619
|
}
|
|
2620
2620
|
var Jv = "__lodash_hash_undefined__";
|
|
2621
2621
|
function em(n) {
|
|
@@ -2624,13 +2624,13 @@ function em(n) {
|
|
|
2624
2624
|
function tm(n) {
|
|
2625
2625
|
return this.__data__.has(n);
|
|
2626
2626
|
}
|
|
2627
|
-
function
|
|
2627
|
+
function Js(n) {
|
|
2628
2628
|
var e = -1, t = n == null ? 0 : n.length;
|
|
2629
2629
|
for (this.__data__ = new ir(); ++e < t; )
|
|
2630
2630
|
this.add(n[e]);
|
|
2631
2631
|
}
|
|
2632
|
-
|
|
2633
|
-
|
|
2632
|
+
Js.prototype.add = Js.prototype.push = em;
|
|
2633
|
+
Js.prototype.has = tm;
|
|
2634
2634
|
function nm(n, e) {
|
|
2635
2635
|
for (var t = -1, r = n == null ? 0 : n.length; ++t < r; )
|
|
2636
2636
|
if (e(n[t], t, n))
|
|
@@ -2648,7 +2648,7 @@ function pu(n, e, t, r, s, o) {
|
|
|
2648
2648
|
var l = o.get(n), c = o.get(e);
|
|
2649
2649
|
if (l && c)
|
|
2650
2650
|
return l == e && c == n;
|
|
2651
|
-
var d = -1, f = !0, g = t & im ? new
|
|
2651
|
+
var d = -1, f = !0, g = t & im ? new Js() : void 0;
|
|
2652
2652
|
for (o.set(n, e), o.set(e, n); ++d < u; ) {
|
|
2653
2653
|
var p = n[d], v = e[d];
|
|
2654
2654
|
if (r)
|
|
@@ -2686,7 +2686,7 @@ function om(n) {
|
|
|
2686
2686
|
t[++e] = r;
|
|
2687
2687
|
}), t;
|
|
2688
2688
|
}
|
|
2689
|
-
var lm = 1, um = 2, cm = "[object Boolean]", fm = "[object Date]", dm = "[object Error]", hm = "[object Map]", pm = "[object Number]", gm = "[object RegExp]", vm = "[object Set]", mm = "[object String]", ym = "[object Symbol]", bm = "[object ArrayBuffer]", xm = "[object DataView]", Bo = qn ? qn.prototype : void 0,
|
|
2689
|
+
var lm = 1, um = 2, cm = "[object Boolean]", fm = "[object Date]", dm = "[object Error]", hm = "[object Map]", pm = "[object Number]", gm = "[object RegExp]", vm = "[object Set]", mm = "[object String]", ym = "[object Symbol]", bm = "[object ArrayBuffer]", xm = "[object DataView]", Bo = qn ? qn.prototype : void 0, Di = Bo ? Bo.valueOf : void 0;
|
|
2690
2690
|
function Em(n, e, t, r, s, o, a) {
|
|
2691
2691
|
switch (t) {
|
|
2692
2692
|
case xm:
|
|
@@ -2694,11 +2694,11 @@ function Em(n, e, t, r, s, o, a) {
|
|
|
2694
2694
|
return !1;
|
|
2695
2695
|
n = n.buffer, e = e.buffer;
|
|
2696
2696
|
case bm:
|
|
2697
|
-
return !(n.byteLength != e.byteLength || !o(new
|
|
2697
|
+
return !(n.byteLength != e.byteLength || !o(new Qs(n), new Qs(e)));
|
|
2698
2698
|
case cm:
|
|
2699
2699
|
case fm:
|
|
2700
2700
|
case pm:
|
|
2701
|
-
return
|
|
2701
|
+
return ps(+n, +e);
|
|
2702
2702
|
case dm:
|
|
2703
2703
|
return n.name == e.name && n.message == e.message;
|
|
2704
2704
|
case gm:
|
|
@@ -2717,14 +2717,14 @@ function Em(n, e, t, r, s, o, a) {
|
|
|
2717
2717
|
var c = pu(u(n), u(e), r, s, o, a);
|
|
2718
2718
|
return a.delete(n), c;
|
|
2719
2719
|
case ym:
|
|
2720
|
-
if (
|
|
2721
|
-
return
|
|
2720
|
+
if (Di)
|
|
2721
|
+
return Di.call(n) == Di.call(e);
|
|
2722
2722
|
}
|
|
2723
2723
|
return !1;
|
|
2724
2724
|
}
|
|
2725
2725
|
var wm = 1, Am = Object.prototype, Sm = Am.hasOwnProperty;
|
|
2726
2726
|
function Tm(n, e, t, r, s, o) {
|
|
2727
|
-
var a = t & wm, u =
|
|
2727
|
+
var a = t & wm, u = la(n), i = u.length, l = la(e), c = l.length;
|
|
2728
2728
|
if (i != c && !a)
|
|
2729
2729
|
return !1;
|
|
2730
2730
|
for (var d = i; d--; ) {
|
|
@@ -2754,13 +2754,13 @@ function Tm(n, e, t, r, s, o) {
|
|
|
2754
2754
|
}
|
|
2755
2755
|
return o.delete(n), o.delete(e), v;
|
|
2756
2756
|
}
|
|
2757
|
-
var Om = 1, Uo = "[object Arguments]", Do = "[object Array]",
|
|
2757
|
+
var Om = 1, Uo = "[object Arguments]", Do = "[object Array]", Ps = "[object Object]", Nm = Object.prototype, jo = Nm.hasOwnProperty;
|
|
2758
2758
|
function Rm(n, e, t, r, s, o) {
|
|
2759
2759
|
var a = Qn(n), u = Qn(e), i = a ? Do : en(n), l = u ? Do : en(e);
|
|
2760
|
-
i = i == Uo ?
|
|
2761
|
-
var c = i ==
|
|
2762
|
-
if (f &&
|
|
2763
|
-
if (!
|
|
2760
|
+
i = i == Uo ? Ps : i, l = l == Uo ? Ps : l;
|
|
2761
|
+
var c = i == Ps, d = l == Ps, f = i == l;
|
|
2762
|
+
if (f && is(n)) {
|
|
2763
|
+
if (!is(e))
|
|
2764
2764
|
return !1;
|
|
2765
2765
|
a = !0, c = !1;
|
|
2766
2766
|
}
|
|
@@ -2789,13 +2789,13 @@ function Cm(n) {
|
|
|
2789
2789
|
};
|
|
2790
2790
|
}
|
|
2791
2791
|
var Im = Cm();
|
|
2792
|
-
function
|
|
2793
|
-
(t !== void 0 && !
|
|
2792
|
+
function da(n, e, t) {
|
|
2793
|
+
(t !== void 0 && !ps(n[e], t) || t === void 0 && !(e in n)) && Da(n, e, t);
|
|
2794
2794
|
}
|
|
2795
2795
|
function Lm(n) {
|
|
2796
|
-
return Cn(n) &&
|
|
2796
|
+
return Cn(n) && ai(n);
|
|
2797
2797
|
}
|
|
2798
|
-
function
|
|
2798
|
+
function ha(n, e) {
|
|
2799
2799
|
if (!(e === "constructor" && typeof n[e] == "function") && e != "__proto__")
|
|
2800
2800
|
return n[e];
|
|
2801
2801
|
}
|
|
@@ -2803,25 +2803,25 @@ function km(n) {
|
|
|
2803
2803
|
return tp(n, su(n));
|
|
2804
2804
|
}
|
|
2805
2805
|
function Pm(n, e, t, r, s, o, a) {
|
|
2806
|
-
var u =
|
|
2806
|
+
var u = ha(n, t), i = ha(e, t), l = a.get(i);
|
|
2807
2807
|
if (l) {
|
|
2808
|
-
|
|
2808
|
+
da(n, t, l);
|
|
2809
2809
|
return;
|
|
2810
2810
|
}
|
|
2811
2811
|
var c = o ? o(u, i, t + "", n, e, a) : void 0, d = c === void 0;
|
|
2812
2812
|
if (d) {
|
|
2813
|
-
var f = Qn(i), g = !f &&
|
|
2814
|
-
c = i, f || g || p ? Qn(u) ? c = u : Lm(u) ? c = qh(u) : g ? (d = !1, c = lu(i, !0)) : p ? (d = !1, c = uu(i, !0)) : c = [] : Rg(i) ||
|
|
2813
|
+
var f = Qn(i), g = !f && is(i), p = !f && !g && _a(i);
|
|
2814
|
+
c = i, f || g || p ? Qn(u) ? c = u : Lm(u) ? c = qh(u) : g ? (d = !1, c = lu(i, !0)) : p ? (d = !1, c = uu(i, !0)) : c = [] : Rg(i) || oa(i) ? (c = u, oa(u) ? c = km(u) : (!zn(u) || Ua(u)) && (c = cu(i))) : d = !1;
|
|
2815
2815
|
}
|
|
2816
|
-
d && (a.set(i, c), s(c, i, r, o, a), a.delete(i)),
|
|
2816
|
+
d && (a.set(i, c), s(c, i, r, o, a), a.delete(i)), da(n, t, c);
|
|
2817
2817
|
}
|
|
2818
2818
|
function vu(n, e, t, r, s) {
|
|
2819
2819
|
n !== e && Im(e, function(o, a) {
|
|
2820
2820
|
if (s || (s = new pn()), zn(o))
|
|
2821
2821
|
Pm(n, e, a, t, vu, r, s);
|
|
2822
2822
|
else {
|
|
2823
|
-
var u = r ? r(
|
|
2824
|
-
u === void 0 && (u = o),
|
|
2823
|
+
var u = r ? r(ha(n, a), o, a + "", n, e, s) : void 0;
|
|
2824
|
+
u === void 0 && (u = o), da(n, a, u);
|
|
2825
2825
|
}
|
|
2826
2826
|
}, su);
|
|
2827
2827
|
}
|
|
@@ -2831,7 +2831,7 @@ function za(n, e) {
|
|
|
2831
2831
|
var _n = ap(function(n, e, t) {
|
|
2832
2832
|
vu(n, e, t);
|
|
2833
2833
|
}), 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 || {});
|
|
2834
|
-
class
|
|
2834
|
+
class vn {
|
|
2835
2835
|
constructor(e, t, r = {}) {
|
|
2836
2836
|
this.attrName = e, this.keyName = t;
|
|
2837
2837
|
const s = Ce.TYPE & Ce.ATTRIBUTE;
|
|
@@ -2862,7 +2862,7 @@ class Rr extends Error {
|
|
|
2862
2862
|
e = "[Parchment] " + e, super(e), this.message = e, this.name = this.constructor.name;
|
|
2863
2863
|
}
|
|
2864
2864
|
}
|
|
2865
|
-
const mu = class
|
|
2865
|
+
const mu = class pa {
|
|
2866
2866
|
constructor() {
|
|
2867
2867
|
this.attributes = {}, this.classes = {}, this.tags = {}, this.types = {};
|
|
2868
2868
|
}
|
|
@@ -2890,10 +2890,10 @@ const mu = class ga {
|
|
|
2890
2890
|
// @ts-expect-error Fix me later
|
|
2891
2891
|
t instanceof Node || t.nodeType === Node.TEXT_NODE ? t : o.create(r)
|
|
2892
2892
|
), u = new o(e, a, r);
|
|
2893
|
-
return
|
|
2893
|
+
return pa.blots.set(u.domNode, u), u;
|
|
2894
2894
|
}
|
|
2895
2895
|
find(e, t = !1) {
|
|
2896
|
-
return
|
|
2896
|
+
return pa.find(e, t);
|
|
2897
2897
|
}
|
|
2898
2898
|
query(e, t = Ce.ANY) {
|
|
2899
2899
|
let r;
|
|
@@ -2918,7 +2918,7 @@ let kr = mu;
|
|
|
2918
2918
|
function $o(n, e) {
|
|
2919
2919
|
return (n.getAttribute("class") || "").split(/\s+/).filter((t) => t.indexOf(`${e}-`) === 0);
|
|
2920
2920
|
}
|
|
2921
|
-
class Fm extends
|
|
2921
|
+
class Fm extends vn {
|
|
2922
2922
|
static keys(e) {
|
|
2923
2923
|
return (e.getAttribute("class") || "").split(/\s+/).map((t) => t.split("-").slice(0, -1).join("-"));
|
|
2924
2924
|
}
|
|
@@ -2936,22 +2936,22 @@ class Fm extends mn {
|
|
|
2936
2936
|
}
|
|
2937
2937
|
}
|
|
2938
2938
|
const an = Fm;
|
|
2939
|
-
function
|
|
2939
|
+
function ji(n) {
|
|
2940
2940
|
const e = n.split("-"), t = e.slice(1).map((r) => r[0].toUpperCase() + r.slice(1)).join("");
|
|
2941
2941
|
return e[0] + t;
|
|
2942
2942
|
}
|
|
2943
|
-
class Mm extends
|
|
2943
|
+
class Mm extends vn {
|
|
2944
2944
|
static keys(e) {
|
|
2945
2945
|
return (e.getAttribute("style") || "").split(";").map((t) => t.split(":")[0].trim());
|
|
2946
2946
|
}
|
|
2947
2947
|
add(e, t) {
|
|
2948
|
-
return this.canAdd(e, t) ? (e.style[
|
|
2948
|
+
return this.canAdd(e, t) ? (e.style[ji(this.keyName)] = t, !0) : !1;
|
|
2949
2949
|
}
|
|
2950
2950
|
remove(e) {
|
|
2951
|
-
e.style[
|
|
2951
|
+
e.style[ji(this.keyName)] = "", e.getAttribute("style") || e.removeAttribute("style");
|
|
2952
2952
|
}
|
|
2953
2953
|
value(e) {
|
|
2954
|
-
const t = e.style[
|
|
2954
|
+
const t = e.style[ji(this.keyName)];
|
|
2955
2955
|
return this.canAdd(e, t) ? t : "";
|
|
2956
2956
|
}
|
|
2957
2957
|
}
|
|
@@ -2968,10 +2968,10 @@ class Bm {
|
|
|
2968
2968
|
const e = kr.find(this.domNode);
|
|
2969
2969
|
if (e == null)
|
|
2970
2970
|
return;
|
|
2971
|
-
const t =
|
|
2971
|
+
const t = vn.keys(this.domNode), r = an.keys(this.domNode), s = Hn.keys(this.domNode);
|
|
2972
2972
|
t.concat(r).concat(s).forEach((o) => {
|
|
2973
2973
|
const a = e.scroll.query(o, Ce.ATTRIBUTE);
|
|
2974
|
-
a instanceof
|
|
2974
|
+
a instanceof vn && (this.attributes[a.attrName] = a);
|
|
2975
2975
|
});
|
|
2976
2976
|
}
|
|
2977
2977
|
copy(e) {
|
|
@@ -2992,7 +2992,7 @@ class Bm {
|
|
|
2992
2992
|
);
|
|
2993
2993
|
}
|
|
2994
2994
|
}
|
|
2995
|
-
const
|
|
2995
|
+
const ui = Bm, yu = class {
|
|
2996
2996
|
constructor(e, t) {
|
|
2997
2997
|
this.scroll = e, this.domNode = t, kr.blots.set(t, this), this.prev = null, this.next = null;
|
|
2998
2998
|
}
|
|
@@ -3397,7 +3397,7 @@ const xr = class Er extends nn {
|
|
|
3397
3397
|
}
|
|
3398
3398
|
}
|
|
3399
3399
|
constructor(e, t) {
|
|
3400
|
-
super(e, t), this.attributes = new
|
|
3400
|
+
super(e, t), this.attributes = new ui(this.domNode);
|
|
3401
3401
|
}
|
|
3402
3402
|
format(e, t) {
|
|
3403
3403
|
if (e === this.statics.blotName && !t)
|
|
@@ -3408,7 +3408,7 @@ const xr = class Er extends nn {
|
|
|
3408
3408
|
const r = this.scroll.query(e, Ce.INLINE);
|
|
3409
3409
|
if (r == null)
|
|
3410
3410
|
return;
|
|
3411
|
-
r instanceof
|
|
3411
|
+
r instanceof vn ? this.attributes.attribute(r, t) : t && (e !== this.statics.blotName || this.formats()[e] !== t) && this.replaceWith(e, t);
|
|
3412
3412
|
}
|
|
3413
3413
|
}
|
|
3414
3414
|
formats() {
|
|
@@ -3442,12 +3442,12 @@ const xr = class Er extends nn {
|
|
|
3442
3442
|
};
|
|
3443
3443
|
xr.allowedChildren = [xr, Ct], xr.blotName = "inline", xr.scope = Ce.INLINE_BLOT, xr.tagName = "SPAN";
|
|
3444
3444
|
let _m = xr;
|
|
3445
|
-
const Ha = _m, wr = class
|
|
3445
|
+
const Ha = _m, wr = class ga extends nn {
|
|
3446
3446
|
static create(e) {
|
|
3447
3447
|
return super.create(e);
|
|
3448
3448
|
}
|
|
3449
3449
|
static formats(e, t) {
|
|
3450
|
-
const r = t.query(
|
|
3450
|
+
const r = t.query(ga.blotName);
|
|
3451
3451
|
if (!(r != null && e.tagName === r.tagName)) {
|
|
3452
3452
|
if (typeof this.tagName == "string")
|
|
3453
3453
|
return !0;
|
|
@@ -3456,11 +3456,11 @@ const Ha = _m, wr = class va extends nn {
|
|
|
3456
3456
|
}
|
|
3457
3457
|
}
|
|
3458
3458
|
constructor(e, t) {
|
|
3459
|
-
super(e, t), this.attributes = new
|
|
3459
|
+
super(e, t), this.attributes = new ui(this.domNode);
|
|
3460
3460
|
}
|
|
3461
3461
|
format(e, t) {
|
|
3462
3462
|
const r = this.scroll.query(e, Ce.BLOCK);
|
|
3463
|
-
r != null && (r instanceof
|
|
3463
|
+
r != null && (r instanceof vn ? this.attributes.attribute(r, t) : e === this.statics.blotName && !t ? this.replaceWith(ga.blotName) : t && (e !== this.statics.blotName || this.formats()[e] !== t) && this.replaceWith(e, t));
|
|
3464
3464
|
}
|
|
3465
3465
|
formats() {
|
|
3466
3466
|
const e = this.attributes.values(), t = this.statics.formats(this.domNode, this.scroll);
|
|
@@ -3497,7 +3497,7 @@ wr.blotName = "block", wr.scope = Ce.BLOCK_BLOT, wr.tagName = "P", wr.allowedChi
|
|
|
3497
3497
|
Ct
|
|
3498
3498
|
];
|
|
3499
3499
|
let qm = wr;
|
|
3500
|
-
const
|
|
3500
|
+
const ls = qm, va = class extends nn {
|
|
3501
3501
|
checkMerge() {
|
|
3502
3502
|
return this.next !== null && this.next.statics.blotName === this.statics.blotName;
|
|
3503
3503
|
}
|
|
@@ -3514,9 +3514,9 @@ const us = qm, ma = class extends nn {
|
|
|
3514
3514
|
super.optimize(e), this.children.length > 0 && this.next != null && this.checkMerge() && (this.next.moveChildren(this), this.next.remove());
|
|
3515
3515
|
}
|
|
3516
3516
|
};
|
|
3517
|
-
|
|
3518
|
-
let zm =
|
|
3519
|
-
const
|
|
3517
|
+
va.blotName = "container", va.scope = Ce.BLOCK_BLOT;
|
|
3518
|
+
let zm = va;
|
|
3519
|
+
const ci = zm;
|
|
3520
3520
|
class Hm extends Ct {
|
|
3521
3521
|
static formats(e, t) {
|
|
3522
3522
|
}
|
|
@@ -3610,9 +3610,9 @@ const _t = Hm, Vm = {
|
|
|
3610
3610
|
}), t.mutationsMap = r, r.has(this.domNode) && super.update(r.get(this.domNode), t), this.optimize(e, t);
|
|
3611
3611
|
}
|
|
3612
3612
|
};
|
|
3613
|
-
Ar.blotName = "scroll", Ar.defaultChild =
|
|
3613
|
+
Ar.blotName = "scroll", Ar.defaultChild = ls, Ar.allowedChildren = [ls, ci], Ar.scope = Ce.BLOCK_BLOT, Ar.tagName = "DIV";
|
|
3614
3614
|
let Wm = Ar;
|
|
3615
|
-
const Va = Wm,
|
|
3615
|
+
const Va = Wm, ma = class wu extends Ct {
|
|
3616
3616
|
static create(e) {
|
|
3617
3617
|
return document.createTextNode(e);
|
|
3618
3618
|
}
|
|
@@ -3657,15 +3657,15 @@ const Va = Wm, ya = class wu extends Ct {
|
|
|
3657
3657
|
return this.text;
|
|
3658
3658
|
}
|
|
3659
3659
|
};
|
|
3660
|
-
|
|
3661
|
-
let Km =
|
|
3662
|
-
const
|
|
3660
|
+
ma.blotName = "text", ma.scope = Ce.INLINE_BLOT;
|
|
3661
|
+
let Km = ma;
|
|
3662
|
+
const ei = Km, Xm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3663
3663
|
__proto__: null,
|
|
3664
|
-
Attributor:
|
|
3665
|
-
AttributorStore:
|
|
3666
|
-
BlockBlot:
|
|
3664
|
+
Attributor: vn,
|
|
3665
|
+
AttributorStore: ui,
|
|
3666
|
+
BlockBlot: ls,
|
|
3667
3667
|
ClassAttributor: an,
|
|
3668
|
-
ContainerBlot:
|
|
3668
|
+
ContainerBlot: ci,
|
|
3669
3669
|
EmbedBlot: _t,
|
|
3670
3670
|
InlineBlot: Ha,
|
|
3671
3671
|
LeafBlot: Ct,
|
|
@@ -3674,15 +3674,15 @@ const ti = Km, Xm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3674
3674
|
Scope: Ce,
|
|
3675
3675
|
ScrollBlot: Va,
|
|
3676
3676
|
StyleAttributor: Hn,
|
|
3677
|
-
TextBlot:
|
|
3677
|
+
TextBlot: ei
|
|
3678
3678
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
3679
3679
|
var Dn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
3680
3680
|
function Ga(n) {
|
|
3681
3681
|
return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
|
|
3682
3682
|
}
|
|
3683
|
-
var
|
|
3683
|
+
var Fs = { exports: {} }, $i, qo;
|
|
3684
3684
|
function Ym() {
|
|
3685
|
-
if (qo) return
|
|
3685
|
+
if (qo) return $i;
|
|
3686
3686
|
qo = 1;
|
|
3687
3687
|
var n = -1, e = 1, t = 0;
|
|
3688
3688
|
function r(x, P, O, _, D) {
|
|
@@ -4041,7 +4041,7 @@ function Ym() {
|
|
|
4041
4041
|
function V(x, P, O, _) {
|
|
4042
4042
|
return r(x, P, O, _, !0);
|
|
4043
4043
|
}
|
|
4044
|
-
return V.INSERT = e, V.DELETE = n, V.EQUAL = t,
|
|
4044
|
+
return V.INSERT = e, V.DELETE = n, V.EQUAL = t, $i = V, $i;
|
|
4045
4045
|
}
|
|
4046
4046
|
var Kr = { exports: {} };
|
|
4047
4047
|
Kr.exports;
|
|
@@ -4133,7 +4133,7 @@ function Au() {
|
|
|
4133
4133
|
}
|
|
4134
4134
|
return de.call(w, h) ? w[h] : void 0;
|
|
4135
4135
|
}
|
|
4136
|
-
function
|
|
4136
|
+
function bn(h) {
|
|
4137
4137
|
var w = this.__data__;
|
|
4138
4138
|
return ke ? w[h] !== void 0 : de.call(w, h);
|
|
4139
4139
|
}
|
|
@@ -4141,7 +4141,7 @@ function Au() {
|
|
|
4141
4141
|
var B = this.__data__;
|
|
4142
4142
|
return B[h] = ke && w === void 0 ? r : w, this;
|
|
4143
4143
|
}
|
|
4144
|
-
gt.prototype.clear = Ft, gt.prototype.delete = Xt, gt.prototype.get = Vn, gt.prototype.has =
|
|
4144
|
+
gt.prototype.clear = Ft, gt.prototype.delete = Xt, gt.prototype.get = Vn, gt.prototype.has = bn, gt.prototype.set = Fn;
|
|
4145
4145
|
function dt(h) {
|
|
4146
4146
|
var w = -1, B = h ? h.length : 0;
|
|
4147
4147
|
for (this.clear(); ++w < B; ) {
|
|
@@ -4227,16 +4227,16 @@ function Au() {
|
|
|
4227
4227
|
function Fe(h, w) {
|
|
4228
4228
|
var B = $r(h) || yr(h) ? m(h.length, String) : [], se = B.length, Ue = !!se;
|
|
4229
4229
|
for (var Le in h)
|
|
4230
|
-
de.call(h, Le) && !(Ue && (Le == "length" ||
|
|
4230
|
+
de.call(h, Le) && !(Ue && (Le == "length" || Ci(Le, se))) && B.push(Le);
|
|
4231
4231
|
return B;
|
|
4232
4232
|
}
|
|
4233
4233
|
function Se(h, w, B) {
|
|
4234
4234
|
var se = h[w];
|
|
4235
|
-
(!(de.call(h, w) &&
|
|
4235
|
+
(!(de.call(h, w) && Ts(se, B)) || B === void 0 && !(w in h)) && (h[w] = B);
|
|
4236
4236
|
}
|
|
4237
4237
|
function ze(h, w) {
|
|
4238
4238
|
for (var B = h.length; B--; )
|
|
4239
|
-
if (
|
|
4239
|
+
if (Ts(h[B][0], w))
|
|
4240
4240
|
return B;
|
|
4241
4241
|
return -1;
|
|
4242
4242
|
}
|
|
@@ -4251,21 +4251,21 @@ function Au() {
|
|
|
4251
4251
|
return h;
|
|
4252
4252
|
var ht = $r(h);
|
|
4253
4253
|
if (ht) {
|
|
4254
|
-
if (Ke =
|
|
4255
|
-
return
|
|
4254
|
+
if (Ke = Ni(h), !w)
|
|
4255
|
+
return Si(h, Ke);
|
|
4256
4256
|
} else {
|
|
4257
|
-
var et =
|
|
4258
|
-
if (
|
|
4259
|
-
return
|
|
4257
|
+
var et = wn(h), Nt = et == c || et == d;
|
|
4258
|
+
if (Os(h))
|
|
4259
|
+
return xn(h, w);
|
|
4260
4260
|
if (et == p || et == o || Nt && !Le) {
|
|
4261
4261
|
if (I(h))
|
|
4262
4262
|
return Le ? h : {};
|
|
4263
4263
|
if (Ke = cn(Nt ? {} : h), !w)
|
|
4264
|
-
return
|
|
4264
|
+
return Ti(h, We(Ke, h));
|
|
4265
4265
|
} else {
|
|
4266
4266
|
if (!J[et])
|
|
4267
4267
|
return Le ? h : {};
|
|
4268
|
-
Ke =
|
|
4268
|
+
Ke = Ri(h, et, nt, w);
|
|
4269
4269
|
}
|
|
4270
4270
|
}
|
|
4271
4271
|
Ye || (Ye = new xt());
|
|
@@ -4273,7 +4273,7 @@ function Au() {
|
|
|
4273
4273
|
if (Mt)
|
|
4274
4274
|
return Mt;
|
|
4275
4275
|
if (Ye.set(h, Ke), !ht)
|
|
4276
|
-
var mt = B ?
|
|
4276
|
+
var mt = B ? Oi(h) : qr(h);
|
|
4277
4277
|
return R(mt || h, function(Rt, Et) {
|
|
4278
4278
|
mt && (Et = Rt, Rt = h[Et]), Se(Ke, Et, nt(Rt, w, B, se, Et, h, Ye));
|
|
4279
4279
|
}), Ke;
|
|
@@ -4289,20 +4289,20 @@ function Au() {
|
|
|
4289
4289
|
return Ae.call(h);
|
|
4290
4290
|
}
|
|
4291
4291
|
function $t(h) {
|
|
4292
|
-
if (!fn(h) ||
|
|
4292
|
+
if (!fn(h) || Li(h))
|
|
4293
4293
|
return !1;
|
|
4294
4294
|
var w = _r(h) || I(h) ? $e : q;
|
|
4295
4295
|
return w.test(kt(h));
|
|
4296
4296
|
}
|
|
4297
4297
|
function Gn(h) {
|
|
4298
|
-
if (!
|
|
4298
|
+
if (!As(h))
|
|
4299
4299
|
return Be(h);
|
|
4300
4300
|
var w = [];
|
|
4301
4301
|
for (var B in Object(h))
|
|
4302
4302
|
de.call(h, B) && B != "constructor" && w.push(B);
|
|
4303
4303
|
return w;
|
|
4304
4304
|
}
|
|
4305
|
-
function
|
|
4305
|
+
function xn(h, w) {
|
|
4306
4306
|
if (w)
|
|
4307
4307
|
return h.slice();
|
|
4308
4308
|
var B = new h.constructor(h.length);
|
|
@@ -4316,26 +4316,26 @@ function Au() {
|
|
|
4316
4316
|
var B = w ? Mn(h.buffer) : h.buffer;
|
|
4317
4317
|
return new h.constructor(B, h.byteOffset, h.byteLength);
|
|
4318
4318
|
}
|
|
4319
|
-
function
|
|
4319
|
+
function Es(h, w, B) {
|
|
4320
4320
|
var se = w ? B(k(h), !0) : k(h);
|
|
4321
4321
|
return N(se, ye, new h.constructor());
|
|
4322
4322
|
}
|
|
4323
|
-
function
|
|
4323
|
+
function ws(h) {
|
|
4324
4324
|
var w = new h.constructor(h.source, W.exec(h));
|
|
4325
4325
|
return w.lastIndex = h.lastIndex, w;
|
|
4326
4326
|
}
|
|
4327
|
-
function
|
|
4327
|
+
function Ei(h, w, B) {
|
|
4328
4328
|
var se = w ? B($(h), !0) : $(h);
|
|
4329
4329
|
return N(se, T, new h.constructor());
|
|
4330
4330
|
}
|
|
4331
|
-
function
|
|
4331
|
+
function wi(h) {
|
|
4332
4332
|
return zt ? Object(zt.call(h)) : {};
|
|
4333
4333
|
}
|
|
4334
|
-
function
|
|
4334
|
+
function Ai(h, w) {
|
|
4335
4335
|
var B = w ? Mn(h.buffer) : h.buffer;
|
|
4336
4336
|
return new h.constructor(B, h.byteOffset, h.length);
|
|
4337
4337
|
}
|
|
4338
|
-
function
|
|
4338
|
+
function Si(h, w) {
|
|
4339
4339
|
var B = -1, se = h.length;
|
|
4340
4340
|
for (w || (w = Array(se)); ++B < se; )
|
|
4341
4341
|
w[B] = h[B];
|
|
@@ -4349,22 +4349,22 @@ function Au() {
|
|
|
4349
4349
|
}
|
|
4350
4350
|
return B;
|
|
4351
4351
|
}
|
|
4352
|
-
function
|
|
4353
|
-
return jr(h,
|
|
4352
|
+
function Ti(h, w) {
|
|
4353
|
+
return jr(h, En(h), w);
|
|
4354
4354
|
}
|
|
4355
|
-
function
|
|
4356
|
-
return ce(h, qr,
|
|
4355
|
+
function Oi(h) {
|
|
4356
|
+
return ce(h, qr, En);
|
|
4357
4357
|
}
|
|
4358
4358
|
function Wn(h, w) {
|
|
4359
4359
|
var B = h.__data__;
|
|
4360
|
-
return
|
|
4360
|
+
return Ii(w) ? B[typeof w == "string" ? "string" : "hash"] : B.map;
|
|
4361
4361
|
}
|
|
4362
4362
|
function Zt(h, w) {
|
|
4363
4363
|
var B = y(h, w);
|
|
4364
4364
|
return $t(B) ? B : void 0;
|
|
4365
4365
|
}
|
|
4366
|
-
var
|
|
4367
|
-
(Qe &&
|
|
4366
|
+
var En = St ? U(St, Object) : Pi, wn = ot;
|
|
4367
|
+
(Qe && wn(new Qe(new ArrayBuffer(1))) != z || pe && wn(new pe()) != f || xe && wn(xe.resolve()) != v || Ie && wn(new Ie()) != S || Pe && wn(new Pe()) != F) && (wn = function(h) {
|
|
4368
4368
|
var w = Ae.call(h), B = w == p ? h.constructor : void 0, se = B ? kt(B) : void 0;
|
|
4369
4369
|
if (se)
|
|
4370
4370
|
switch (se) {
|
|
@@ -4381,14 +4381,14 @@ function Au() {
|
|
|
4381
4381
|
}
|
|
4382
4382
|
return w;
|
|
4383
4383
|
});
|
|
4384
|
-
function
|
|
4384
|
+
function Ni(h) {
|
|
4385
4385
|
var w = h.length, B = h.constructor(w);
|
|
4386
4386
|
return w && typeof h[0] == "string" && de.call(h, "index") && (B.index = h.index, B.input = h.input), B;
|
|
4387
4387
|
}
|
|
4388
4388
|
function cn(h) {
|
|
4389
|
-
return typeof h.constructor == "function" && !
|
|
4389
|
+
return typeof h.constructor == "function" && !As(h) ? Ot(Ve(h)) : {};
|
|
4390
4390
|
}
|
|
4391
|
-
function
|
|
4391
|
+
function Ri(h, w, B, se) {
|
|
4392
4392
|
var Ue = h.constructor;
|
|
4393
4393
|
switch (w) {
|
|
4394
4394
|
case M:
|
|
@@ -4407,31 +4407,31 @@ function Au() {
|
|
|
4407
4407
|
case O:
|
|
4408
4408
|
case _:
|
|
4409
4409
|
case D:
|
|
4410
|
-
return
|
|
4410
|
+
return Ai(h, se);
|
|
4411
4411
|
case f:
|
|
4412
|
-
return
|
|
4412
|
+
return Es(h, se, B);
|
|
4413
4413
|
case g:
|
|
4414
4414
|
case A:
|
|
4415
4415
|
return new Ue(h);
|
|
4416
4416
|
case b:
|
|
4417
|
-
return
|
|
4417
|
+
return ws(h);
|
|
4418
4418
|
case S:
|
|
4419
|
-
return
|
|
4419
|
+
return Ei(h, se, B);
|
|
4420
4420
|
case C:
|
|
4421
|
-
return
|
|
4421
|
+
return wi(h);
|
|
4422
4422
|
}
|
|
4423
4423
|
}
|
|
4424
|
-
function
|
|
4424
|
+
function Ci(h, w) {
|
|
4425
4425
|
return w = w ?? s, !!w && (typeof h == "number" || Q.test(h)) && h > -1 && h % 1 == 0 && h < w;
|
|
4426
4426
|
}
|
|
4427
|
-
function
|
|
4427
|
+
function Ii(h) {
|
|
4428
4428
|
var w = typeof h;
|
|
4429
4429
|
return w == "string" || w == "number" || w == "symbol" || w == "boolean" ? h !== "__proto__" : h === null;
|
|
4430
4430
|
}
|
|
4431
|
-
function
|
|
4431
|
+
function Li(h) {
|
|
4432
4432
|
return !!ee && ee in h;
|
|
4433
4433
|
}
|
|
4434
|
-
function
|
|
4434
|
+
function As(h) {
|
|
4435
4435
|
var w = h && h.constructor, B = typeof w == "function" && w.prototype || X;
|
|
4436
4436
|
return h === B;
|
|
4437
4437
|
}
|
|
@@ -4448,47 +4448,47 @@ function Au() {
|
|
|
4448
4448
|
}
|
|
4449
4449
|
return "";
|
|
4450
4450
|
}
|
|
4451
|
-
function
|
|
4451
|
+
function Ss(h) {
|
|
4452
4452
|
return nt(h, !0, !0);
|
|
4453
4453
|
}
|
|
4454
|
-
function
|
|
4454
|
+
function Ts(h, w) {
|
|
4455
4455
|
return h === w || h !== h && w !== w;
|
|
4456
4456
|
}
|
|
4457
4457
|
function yr(h) {
|
|
4458
|
-
return
|
|
4458
|
+
return ki(h) && de.call(h, "callee") && (!ct.call(h, "callee") || Ae.call(h) == o);
|
|
4459
4459
|
}
|
|
4460
4460
|
var $r = Array.isArray;
|
|
4461
4461
|
function br(h) {
|
|
4462
|
-
return h != null &&
|
|
4462
|
+
return h != null && Ns(h.length) && !_r(h);
|
|
4463
4463
|
}
|
|
4464
|
-
function
|
|
4465
|
-
return
|
|
4464
|
+
function ki(h) {
|
|
4465
|
+
return Rs(h) && br(h);
|
|
4466
4466
|
}
|
|
4467
|
-
var
|
|
4467
|
+
var Os = Xe || Fi;
|
|
4468
4468
|
function _r(h) {
|
|
4469
4469
|
var w = fn(h) ? Ae.call(h) : "";
|
|
4470
4470
|
return w == c || w == d;
|
|
4471
4471
|
}
|
|
4472
|
-
function
|
|
4472
|
+
function Ns(h) {
|
|
4473
4473
|
return typeof h == "number" && h > -1 && h % 1 == 0 && h <= s;
|
|
4474
4474
|
}
|
|
4475
4475
|
function fn(h) {
|
|
4476
4476
|
var w = typeof h;
|
|
4477
4477
|
return !!h && (w == "object" || w == "function");
|
|
4478
4478
|
}
|
|
4479
|
-
function
|
|
4479
|
+
function Rs(h) {
|
|
4480
4480
|
return !!h && typeof h == "object";
|
|
4481
4481
|
}
|
|
4482
4482
|
function qr(h) {
|
|
4483
4483
|
return br(h) ? Fe(h) : Gn(h);
|
|
4484
4484
|
}
|
|
4485
|
-
function
|
|
4485
|
+
function Pi() {
|
|
4486
4486
|
return [];
|
|
4487
4487
|
}
|
|
4488
|
-
function
|
|
4488
|
+
function Fi() {
|
|
4489
4489
|
return !1;
|
|
4490
4490
|
}
|
|
4491
|
-
n.exports =
|
|
4491
|
+
n.exports = Ss;
|
|
4492
4492
|
}(Kr, Kr.exports)), Kr.exports;
|
|
4493
4493
|
}
|
|
4494
4494
|
var Xr = { exports: {} };
|
|
@@ -4560,7 +4560,7 @@ function Su() {
|
|
|
4560
4560
|
return h ? "Symbol(src)_1." + h : "";
|
|
4561
4561
|
}(), ct = Ze.toString, qt = RegExp(
|
|
4562
4562
|
"^" + Me.call(Ve).replace(ve, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
4563
|
-
), St = N ? T.Buffer : void 0, Xe = T.Symbol, Be = T.Uint8Array, Qe = Ze.propertyIsEnumerable, pe = Ae.splice, xe = Xe ? Xe.toStringTag : void 0, Ie = Object.getOwnPropertySymbols, Pe = St ? St.isBuffer : void 0, ke = ie(Object.keys, Object), Ge =
|
|
4563
|
+
), St = N ? T.Buffer : void 0, Xe = T.Symbol, Be = T.Uint8Array, Qe = Ze.propertyIsEnumerable, pe = Ae.splice, xe = Xe ? Xe.toStringTag : void 0, Ie = Object.getOwnPropertySymbols, Pe = St ? St.isBuffer : void 0, ke = ie(Object.keys, Object), Ge = En(T, "DataView"), Je = En(T, "Map"), it = En(T, "Promise"), yt = En(T, "Set"), bt = En(T, "WeakMap"), jt = En(Object, "create"), zt = kt(Ge), gt = kt(Je), Ft = kt(it), Xt = kt(yt), Vn = kt(bt), bn = Xe ? Xe.prototype : void 0, Fn = bn ? bn.valueOf : void 0;
|
|
4564
4564
|
function dt(h) {
|
|
4565
4565
|
var w = -1, B = h == null ? 0 : h.length;
|
|
4566
4566
|
for (this.clear(); ++w < B; ) {
|
|
@@ -4603,21 +4603,21 @@ function Su() {
|
|
|
4603
4603
|
this.__data__ = [], this.size = 0;
|
|
4604
4604
|
}
|
|
4605
4605
|
function gr(h) {
|
|
4606
|
-
var w = this.__data__, B =
|
|
4606
|
+
var w = this.__data__, B = xn(w, h);
|
|
4607
4607
|
if (B < 0)
|
|
4608
4608
|
return !1;
|
|
4609
4609
|
var se = w.length - 1;
|
|
4610
4610
|
return B == se ? w.pop() : pe.call(w, B, 1), --this.size, !0;
|
|
4611
4611
|
}
|
|
4612
4612
|
function vr(h) {
|
|
4613
|
-
var w = this.__data__, B =
|
|
4613
|
+
var w = this.__data__, B = xn(w, h);
|
|
4614
4614
|
return B < 0 ? void 0 : w[B][1];
|
|
4615
4615
|
}
|
|
4616
4616
|
function Tt(h) {
|
|
4617
|
-
return
|
|
4617
|
+
return xn(this.__data__, h) > -1;
|
|
4618
4618
|
}
|
|
4619
4619
|
function mr(h, w) {
|
|
4620
|
-
var B = this.__data__, se =
|
|
4620
|
+
var B = this.__data__, se = xn(B, h);
|
|
4621
4621
|
return se < 0 ? (++this.size, B.push([h, w])) : B[se][1] = w, this;
|
|
4622
4622
|
}
|
|
4623
4623
|
vt.prototype.clear = pr, vt.prototype.delete = gr, vt.prototype.get = vr, vt.prototype.has = Tt, vt.prototype.set = mr;
|
|
@@ -4691,18 +4691,18 @@ function Su() {
|
|
|
4691
4691
|
}
|
|
4692
4692
|
We.prototype.clear = nt, We.prototype.delete = Ot, We.prototype.get = ce, We.prototype.has = ot, We.prototype.set = $t;
|
|
4693
4693
|
function Gn(h, w) {
|
|
4694
|
-
var B = yr(h), se = !B &&
|
|
4694
|
+
var B = yr(h), se = !B && Ts(h), Ue = !B && !se && br(h), Le = !B && !se && !Ue && Rs(h), Ye = B || se || Ue || Le, Ke = Ye ? G(h.length, String) : [], ht = Ke.length;
|
|
4695
4695
|
for (var et in h)
|
|
4696
4696
|
Ve.call(h, et) && !(Ye && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
4697
4697
|
(et == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
4698
4698
|
Ue && (et == "offset" || et == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
4699
4699
|
Le && (et == "buffer" || et == "byteLength" || et == "byteOffset") || // Skip index properties.
|
|
4700
|
-
|
|
4700
|
+
Ri(et, ht))) && Ke.push(et);
|
|
4701
4701
|
return Ke;
|
|
4702
4702
|
}
|
|
4703
|
-
function
|
|
4703
|
+
function xn(h, w) {
|
|
4704
4704
|
for (var B = h.length; B--; )
|
|
4705
|
-
if (
|
|
4705
|
+
if (Ss(h[B][0], w))
|
|
4706
4706
|
return B;
|
|
4707
4707
|
return -1;
|
|
4708
4708
|
}
|
|
@@ -4711,15 +4711,15 @@ function Su() {
|
|
|
4711
4711
|
return yr(h) ? se : U(se, B(h));
|
|
4712
4712
|
}
|
|
4713
4713
|
function Yt(h) {
|
|
4714
|
-
return h == null ? h === void 0 ? ne : S : xe && xe in Object(h) ?
|
|
4714
|
+
return h == null ? h === void 0 ? ne : S : xe && xe in Object(h) ? wn(h) : As(h);
|
|
4715
4715
|
}
|
|
4716
|
-
function
|
|
4716
|
+
function Es(h) {
|
|
4717
4717
|
return fn(h) && Yt(h) == u;
|
|
4718
4718
|
}
|
|
4719
|
-
function
|
|
4720
|
-
return h === w ? !0 : h == null || w == null || !fn(h) && !fn(w) ? h !== h && w !== w :
|
|
4719
|
+
function ws(h, w, B, se, Ue) {
|
|
4720
|
+
return h === w ? !0 : h == null || w == null || !fn(h) && !fn(w) ? h !== h && w !== w : Ei(h, w, B, se, ws, Ue);
|
|
4721
4721
|
}
|
|
4722
|
-
function
|
|
4722
|
+
function Ei(h, w, B, se, Ue, Le) {
|
|
4723
4723
|
var Ye = yr(h), Ke = yr(w), ht = Ye ? i : cn(h), et = Ke ? i : cn(w);
|
|
4724
4724
|
ht = ht == u ? A : ht, et = et == u ? A : et;
|
|
4725
4725
|
var Nt = ht == A, Mt = et == A, mt = ht == et;
|
|
@@ -4729,27 +4729,27 @@ function Su() {
|
|
|
4729
4729
|
Ye = !0, Nt = !1;
|
|
4730
4730
|
}
|
|
4731
4731
|
if (mt && !Nt)
|
|
4732
|
-
return Le || (Le = new We()), Ye ||
|
|
4732
|
+
return Le || (Le = new We()), Ye || Rs(h) ? jr(h, w, B, se, Ue, Le) : Ti(h, w, ht, B, se, Ue, Le);
|
|
4733
4733
|
if (!(B & s)) {
|
|
4734
4734
|
var Rt = Nt && Ve.call(h, "__wrapped__"), Et = Mt && Ve.call(w, "__wrapped__");
|
|
4735
4735
|
if (Rt || Et) {
|
|
4736
|
-
var Bn = Rt ? h.value() : h,
|
|
4737
|
-
return Le || (Le = new We()), Ue(Bn,
|
|
4736
|
+
var Bn = Rt ? h.value() : h, An = Et ? w.value() : w;
|
|
4737
|
+
return Le || (Le = new We()), Ue(Bn, An, B, se, Le);
|
|
4738
4738
|
}
|
|
4739
4739
|
}
|
|
4740
|
-
return mt ? (Le || (Le = new We()),
|
|
4740
|
+
return mt ? (Le || (Le = new We()), Oi(h, w, B, se, Ue, Le)) : !1;
|
|
4741
4741
|
}
|
|
4742
|
-
function
|
|
4743
|
-
if (!
|
|
4742
|
+
function wi(h) {
|
|
4743
|
+
if (!Ns(h) || Ii(h))
|
|
4744
4744
|
return !1;
|
|
4745
|
-
var w =
|
|
4745
|
+
var w = Os(h) ? qt : me;
|
|
4746
4746
|
return w.test(kt(h));
|
|
4747
4747
|
}
|
|
4748
|
-
function
|
|
4748
|
+
function Ai(h) {
|
|
4749
4749
|
return fn(h) && _r(h.length) && !!he[Yt(h)];
|
|
4750
4750
|
}
|
|
4751
|
-
function
|
|
4752
|
-
if (!
|
|
4751
|
+
function Si(h) {
|
|
4752
|
+
if (!Li(h))
|
|
4753
4753
|
return ke(h);
|
|
4754
4754
|
var w = [];
|
|
4755
4755
|
for (var B in Object(h))
|
|
@@ -4775,8 +4775,8 @@ function Su() {
|
|
|
4775
4775
|
break;
|
|
4776
4776
|
}
|
|
4777
4777
|
if (mt) {
|
|
4778
|
-
if (!$(w, function(
|
|
4779
|
-
if (!X(mt, Kn) && (Rt ===
|
|
4778
|
+
if (!$(w, function(An, Kn) {
|
|
4779
|
+
if (!X(mt, Kn) && (Rt === An || Ue(Rt, An, B, se, Le)))
|
|
4780
4780
|
return mt.push(Kn);
|
|
4781
4781
|
})) {
|
|
4782
4782
|
Mt = !1;
|
|
@@ -4789,7 +4789,7 @@ function Su() {
|
|
|
4789
4789
|
}
|
|
4790
4790
|
return Le.delete(h), Le.delete(w), Mt;
|
|
4791
4791
|
}
|
|
4792
|
-
function
|
|
4792
|
+
function Ti(h, w, B, se, Ue, Le, Ye) {
|
|
4793
4793
|
switch (B) {
|
|
4794
4794
|
case P:
|
|
4795
4795
|
if (h.byteLength != w.byteLength || h.byteOffset != w.byteOffset)
|
|
@@ -4800,7 +4800,7 @@ function Su() {
|
|
|
4800
4800
|
case c:
|
|
4801
4801
|
case d:
|
|
4802
4802
|
case b:
|
|
4803
|
-
return
|
|
4803
|
+
return Ss(+h, +w);
|
|
4804
4804
|
case f:
|
|
4805
4805
|
return h.name == w.name && h.message == w.message;
|
|
4806
4806
|
case M:
|
|
@@ -4824,7 +4824,7 @@ function Su() {
|
|
|
4824
4824
|
}
|
|
4825
4825
|
return !1;
|
|
4826
4826
|
}
|
|
4827
|
-
function
|
|
4827
|
+
function Oi(h, w, B, se, Ue, Le) {
|
|
4828
4828
|
var Ye = B & s, Ke = Wn(h), ht = Ke.length, et = Wn(w), Nt = et.length;
|
|
4829
4829
|
if (ht != Nt && !Ye)
|
|
4830
4830
|
return !1;
|
|
@@ -4840,33 +4840,33 @@ function Su() {
|
|
|
4840
4840
|
Le.set(h, w), Le.set(w, h);
|
|
4841
4841
|
for (var Bn = Ye; ++Mt < ht; ) {
|
|
4842
4842
|
mt = Ke[Mt];
|
|
4843
|
-
var
|
|
4843
|
+
var An = h[mt], Kn = w[mt];
|
|
4844
4844
|
if (se)
|
|
4845
|
-
var ao = Ye ? se(Kn,
|
|
4846
|
-
if (!(ao === void 0 ?
|
|
4845
|
+
var ao = Ye ? se(Kn, An, mt, w, h, Le) : se(An, Kn, mt, h, w, Le);
|
|
4846
|
+
if (!(ao === void 0 ? An === Kn || Ue(An, Kn, B, se, Le) : ao)) {
|
|
4847
4847
|
Et = !1;
|
|
4848
4848
|
break;
|
|
4849
4849
|
}
|
|
4850
4850
|
Bn || (Bn = mt == "constructor");
|
|
4851
4851
|
}
|
|
4852
4852
|
if (Et && !Bn) {
|
|
4853
|
-
var
|
|
4854
|
-
|
|
4853
|
+
var Cs = h.constructor, Is = w.constructor;
|
|
4854
|
+
Cs != Is && "constructor" in h && "constructor" in w && !(typeof Cs == "function" && Cs instanceof Cs && typeof Is == "function" && Is instanceof Is) && (Et = !1);
|
|
4855
4855
|
}
|
|
4856
4856
|
return Le.delete(h), Le.delete(w), Et;
|
|
4857
4857
|
}
|
|
4858
4858
|
function Wn(h) {
|
|
4859
|
-
return Mn(h, qr,
|
|
4859
|
+
return Mn(h, qr, Ni);
|
|
4860
4860
|
}
|
|
4861
4861
|
function Zt(h, w) {
|
|
4862
4862
|
var B = h.__data__;
|
|
4863
|
-
return
|
|
4863
|
+
return Ci(w) ? B[typeof w == "string" ? "string" : "hash"] : B.map;
|
|
4864
4864
|
}
|
|
4865
|
-
function
|
|
4865
|
+
function En(h, w) {
|
|
4866
4866
|
var B = Z(h, w);
|
|
4867
|
-
return
|
|
4867
|
+
return wi(B) ? B : void 0;
|
|
4868
4868
|
}
|
|
4869
|
-
function
|
|
4869
|
+
function wn(h) {
|
|
4870
4870
|
var w = Ve.call(h, xe), B = h[xe];
|
|
4871
4871
|
try {
|
|
4872
4872
|
h[xe] = void 0;
|
|
@@ -4876,11 +4876,11 @@ function Su() {
|
|
|
4876
4876
|
var Ue = ct.call(h);
|
|
4877
4877
|
return se && (w ? h[xe] = B : delete h[xe]), Ue;
|
|
4878
4878
|
}
|
|
4879
|
-
var
|
|
4879
|
+
var Ni = Ie ? function(h) {
|
|
4880
4880
|
return h == null ? [] : (h = Object(h), k(Ie(h), function(w) {
|
|
4881
4881
|
return Qe.call(h, w);
|
|
4882
4882
|
}));
|
|
4883
|
-
} :
|
|
4883
|
+
} : Pi, cn = Yt;
|
|
4884
4884
|
(Ge && cn(new Ge(new ArrayBuffer(1))) != P || Je && cn(new Je()) != v || it && cn(it.resolve()) != C || yt && cn(new yt()) != z || bt && cn(new bt()) != V) && (cn = function(h) {
|
|
4885
4885
|
var w = Yt(h), B = w == A ? h.constructor : void 0, se = B ? kt(B) : "";
|
|
4886
4886
|
if (se)
|
|
@@ -4898,21 +4898,21 @@ function Su() {
|
|
|
4898
4898
|
}
|
|
4899
4899
|
return w;
|
|
4900
4900
|
});
|
|
4901
|
-
function
|
|
4901
|
+
function Ri(h, w) {
|
|
4902
4902
|
return w = w ?? a, !!w && (typeof h == "number" || Ee.test(h)) && h > -1 && h % 1 == 0 && h < w;
|
|
4903
4903
|
}
|
|
4904
|
-
function
|
|
4904
|
+
function Ci(h) {
|
|
4905
4905
|
var w = typeof h;
|
|
4906
4906
|
return w == "string" || w == "number" || w == "symbol" || w == "boolean" ? h !== "__proto__" : h === null;
|
|
4907
4907
|
}
|
|
4908
|
-
function
|
|
4908
|
+
function Ii(h) {
|
|
4909
4909
|
return !!at && at in h;
|
|
4910
4910
|
}
|
|
4911
|
-
function
|
|
4911
|
+
function Li(h) {
|
|
4912
4912
|
var w = h && h.constructor, B = typeof w == "function" && w.prototype || Ze;
|
|
4913
4913
|
return h === B;
|
|
4914
4914
|
}
|
|
4915
|
-
function
|
|
4915
|
+
function As(h) {
|
|
4916
4916
|
return ct.call(h);
|
|
4917
4917
|
}
|
|
4918
4918
|
function kt(h) {
|
|
@@ -4928,23 +4928,23 @@ function Su() {
|
|
|
4928
4928
|
}
|
|
4929
4929
|
return "";
|
|
4930
4930
|
}
|
|
4931
|
-
function
|
|
4931
|
+
function Ss(h, w) {
|
|
4932
4932
|
return h === w || h !== h && w !== w;
|
|
4933
4933
|
}
|
|
4934
|
-
var
|
|
4934
|
+
var Ts = Es(/* @__PURE__ */ function() {
|
|
4935
4935
|
return arguments;
|
|
4936
|
-
}()) ?
|
|
4936
|
+
}()) ? Es : function(h) {
|
|
4937
4937
|
return fn(h) && Ve.call(h, "callee") && !Qe.call(h, "callee");
|
|
4938
4938
|
}, yr = Array.isArray;
|
|
4939
4939
|
function $r(h) {
|
|
4940
|
-
return h != null && _r(h.length) && !
|
|
4940
|
+
return h != null && _r(h.length) && !Os(h);
|
|
4941
4941
|
}
|
|
4942
|
-
var br = Pe ||
|
|
4943
|
-
function
|
|
4944
|
-
return
|
|
4942
|
+
var br = Pe || Fi;
|
|
4943
|
+
function ki(h, w) {
|
|
4944
|
+
return ws(h, w);
|
|
4945
4945
|
}
|
|
4946
|
-
function
|
|
4947
|
-
if (!
|
|
4946
|
+
function Os(h) {
|
|
4947
|
+
if (!Ns(h))
|
|
4948
4948
|
return !1;
|
|
4949
4949
|
var w = Yt(h);
|
|
4950
4950
|
return w == g || w == p || w == l || w == F;
|
|
@@ -4952,30 +4952,30 @@ function Su() {
|
|
|
4952
4952
|
function _r(h) {
|
|
4953
4953
|
return typeof h == "number" && h > -1 && h % 1 == 0 && h <= a;
|
|
4954
4954
|
}
|
|
4955
|
-
function
|
|
4955
|
+
function Ns(h) {
|
|
4956
4956
|
var w = typeof h;
|
|
4957
4957
|
return h != null && (w == "object" || w == "function");
|
|
4958
4958
|
}
|
|
4959
4959
|
function fn(h) {
|
|
4960
4960
|
return h != null && typeof h == "object";
|
|
4961
4961
|
}
|
|
4962
|
-
var
|
|
4962
|
+
var Rs = I ? Y(I) : Ai;
|
|
4963
4963
|
function qr(h) {
|
|
4964
|
-
return $r(h) ? Gn(h) :
|
|
4964
|
+
return $r(h) ? Gn(h) : Si(h);
|
|
4965
4965
|
}
|
|
4966
|
-
function
|
|
4966
|
+
function Pi() {
|
|
4967
4967
|
return [];
|
|
4968
4968
|
}
|
|
4969
|
-
function
|
|
4969
|
+
function Fi() {
|
|
4970
4970
|
return !1;
|
|
4971
4971
|
}
|
|
4972
|
-
n.exports =
|
|
4972
|
+
n.exports = ki;
|
|
4973
4973
|
}(Xr, Xr.exports)), Xr.exports;
|
|
4974
4974
|
}
|
|
4975
|
-
var
|
|
4975
|
+
var Ms = {}, Vo;
|
|
4976
4976
|
function Zm() {
|
|
4977
|
-
if (Vo) return
|
|
4978
|
-
Vo = 1, Object.defineProperty(
|
|
4977
|
+
if (Vo) return Ms;
|
|
4978
|
+
Vo = 1, Object.defineProperty(Ms, "__esModule", { value: !0 });
|
|
4979
4979
|
const n = Au(), e = Su();
|
|
4980
4980
|
var t;
|
|
4981
4981
|
return function(r) {
|
|
@@ -5011,24 +5011,24 @@ function Zm() {
|
|
|
5011
5011
|
return Object.keys(d).length > 0 ? d : void 0;
|
|
5012
5012
|
}
|
|
5013
5013
|
r.transform = u;
|
|
5014
|
-
}(t || (t = {})),
|
|
5014
|
+
}(t || (t = {})), Ms.default = t, Ms;
|
|
5015
5015
|
}
|
|
5016
|
-
var
|
|
5016
|
+
var Bs = {}, Go;
|
|
5017
5017
|
function Tu() {
|
|
5018
|
-
if (Go) return
|
|
5019
|
-
Go = 1, Object.defineProperty(
|
|
5018
|
+
if (Go) return Bs;
|
|
5019
|
+
Go = 1, Object.defineProperty(Bs, "__esModule", { value: !0 });
|
|
5020
5020
|
var n;
|
|
5021
5021
|
return function(e) {
|
|
5022
5022
|
function t(r) {
|
|
5023
5023
|
return typeof r.delete == "number" ? r.delete : typeof r.retain == "number" ? r.retain : typeof r.retain == "object" && r.retain !== null ? 1 : typeof r.insert == "string" ? r.insert.length : 1;
|
|
5024
5024
|
}
|
|
5025
5025
|
e.length = t;
|
|
5026
|
-
}(n || (n = {})),
|
|
5026
|
+
}(n || (n = {})), Bs.default = n, Bs;
|
|
5027
5027
|
}
|
|
5028
|
-
var
|
|
5028
|
+
var Us = {}, Wo;
|
|
5029
5029
|
function Qm() {
|
|
5030
|
-
if (Wo) return
|
|
5031
|
-
Wo = 1, Object.defineProperty(
|
|
5030
|
+
if (Wo) return Us;
|
|
5031
|
+
Wo = 1, Object.defineProperty(Us, "__esModule", { value: !0 });
|
|
5032
5032
|
const n = Tu();
|
|
5033
5033
|
class e {
|
|
5034
5034
|
constructor(r) {
|
|
@@ -5072,7 +5072,7 @@ function Qm() {
|
|
|
5072
5072
|
} else return [];
|
|
5073
5073
|
}
|
|
5074
5074
|
}
|
|
5075
|
-
return
|
|
5075
|
+
return Us.default = e, Us;
|
|
5076
5076
|
}
|
|
5077
5077
|
var Ko;
|
|
5078
5078
|
function Jm() {
|
|
@@ -5336,7 +5336,7 @@ function Jm() {
|
|
|
5336
5336
|
}
|
|
5337
5337
|
}
|
|
5338
5338
|
c.Op = a.default, c.OpIterator = u.default, c.AttributeMap = o.default, c.handlers = {}, e.default = c, n.exports = c, n.exports.default = c;
|
|
5339
|
-
}(
|
|
5339
|
+
}(Fs, Fs.exports)), Fs.exports;
|
|
5340
5340
|
}
|
|
5341
5341
|
var Kt = Jm();
|
|
5342
5342
|
const Ne = /* @__PURE__ */ Ga(Kt);
|
|
@@ -5355,7 +5355,7 @@ class on extends _t {
|
|
|
5355
5355
|
}
|
|
5356
5356
|
on.blotName = "break";
|
|
5357
5357
|
on.tagName = "BR";
|
|
5358
|
-
let sn = class extends
|
|
5358
|
+
let sn = class extends ei {
|
|
5359
5359
|
};
|
|
5360
5360
|
const e0 = {
|
|
5361
5361
|
"&": "&",
|
|
@@ -5364,7 +5364,7 @@ const e0 = {
|
|
|
5364
5364
|
'"': """,
|
|
5365
5365
|
"'": "'"
|
|
5366
5366
|
};
|
|
5367
|
-
function
|
|
5367
|
+
function fi(n) {
|
|
5368
5368
|
return n.replace(/[&<>"']/g, (e) => e0[e]);
|
|
5369
5369
|
}
|
|
5370
5370
|
const hn = class hn extends Ha {
|
|
@@ -5401,9 +5401,9 @@ we(hn, "order", [
|
|
|
5401
5401
|
"code"
|
|
5402
5402
|
// Must be higher
|
|
5403
5403
|
]);
|
|
5404
|
-
let
|
|
5404
|
+
let mn = hn;
|
|
5405
5405
|
const Xo = 1;
|
|
5406
|
-
class At extends
|
|
5406
|
+
class At extends ls {
|
|
5407
5407
|
constructor() {
|
|
5408
5408
|
super(...arguments);
|
|
5409
5409
|
we(this, "cache", {});
|
|
@@ -5463,10 +5463,10 @@ class At extends us {
|
|
|
5463
5463
|
At.blotName = "block";
|
|
5464
5464
|
At.tagName = "P";
|
|
5465
5465
|
At.defaultChild = on;
|
|
5466
|
-
At.allowedChildren = [on,
|
|
5466
|
+
At.allowedChildren = [on, mn, _t, sn];
|
|
5467
5467
|
class Wt extends _t {
|
|
5468
5468
|
attach() {
|
|
5469
|
-
super.attach(), this.attributes = new
|
|
5469
|
+
super.attach(), this.attributes = new ui(this.domNode);
|
|
5470
5470
|
}
|
|
5471
5471
|
delta() {
|
|
5472
5472
|
return new Ne().insert(this.value(), {
|
|
@@ -5606,7 +5606,7 @@ const Ht = class Ht extends _t {
|
|
|
5606
5606
|
};
|
|
5607
5607
|
we(Ht, "blotName", "cursor"), we(Ht, "className", "ql-cursor"), we(Ht, "tagName", "span"), we(Ht, "CONTENTS", "\uFEFF");
|
|
5608
5608
|
let Pr = Ht;
|
|
5609
|
-
var
|
|
5609
|
+
var _i = { exports: {} }, Yo;
|
|
5610
5610
|
function t0() {
|
|
5611
5611
|
return Yo || (Yo = 1, function(n) {
|
|
5612
5612
|
var e = Object.prototype.hasOwnProperty, t = "~";
|
|
@@ -5711,44 +5711,44 @@ function t0() {
|
|
|
5711
5711
|
var c;
|
|
5712
5712
|
return l ? (c = t ? t + l : l, this._events[c] && a(this, c)) : (this._events = new r(), this._eventsCount = 0), this;
|
|
5713
5713
|
}, u.prototype.off = u.prototype.removeListener, u.prototype.addListener = u.prototype.on, u.prefixed = t, u.EventEmitter = u, n.exports = u;
|
|
5714
|
-
}(
|
|
5714
|
+
}(_i)), _i.exports;
|
|
5715
5715
|
}
|
|
5716
5716
|
var n0 = t0();
|
|
5717
|
-
const r0 = /* @__PURE__ */ Ga(n0),
|
|
5718
|
-
let
|
|
5717
|
+
const r0 = /* @__PURE__ */ Ga(n0), ya = /* @__PURE__ */ new WeakMap(), ba = ["error", "warn", "log", "info"];
|
|
5718
|
+
let xa = "warn";
|
|
5719
5719
|
function Nu(n) {
|
|
5720
|
-
if (
|
|
5720
|
+
if (xa && ba.indexOf(n) <= ba.indexOf(xa)) {
|
|
5721
5721
|
for (var e = arguments.length, t = new Array(e > 1 ? e - 1 : 0), r = 1; r < e; r++)
|
|
5722
5722
|
t[r - 1] = arguments[r];
|
|
5723
5723
|
console[n](...t);
|
|
5724
5724
|
}
|
|
5725
5725
|
}
|
|
5726
5726
|
function Pn(n) {
|
|
5727
|
-
return
|
|
5727
|
+
return ba.reduce((e, t) => (e[t] = Nu.bind(console, t, n), e), {});
|
|
5728
5728
|
}
|
|
5729
5729
|
Pn.level = (n) => {
|
|
5730
|
-
|
|
5730
|
+
xa = n;
|
|
5731
5731
|
};
|
|
5732
5732
|
Nu.level = Pn.level;
|
|
5733
|
-
const
|
|
5733
|
+
const qi = Pn("quill:events"), s0 = ["selectionchange", "mousedown", "mouseup", "click"];
|
|
5734
5734
|
s0.forEach((n) => {
|
|
5735
5735
|
document.addEventListener(n, function() {
|
|
5736
5736
|
for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++)
|
|
5737
5737
|
t[r] = arguments[r];
|
|
5738
5738
|
Array.from(document.querySelectorAll(".ql-container")).forEach((s) => {
|
|
5739
|
-
const o =
|
|
5739
|
+
const o = ya.get(s);
|
|
5740
5740
|
o && o.emitter && o.emitter.handleDOM(...t);
|
|
5741
5741
|
});
|
|
5742
5742
|
});
|
|
5743
5743
|
});
|
|
5744
5744
|
class Oe extends r0 {
|
|
5745
5745
|
constructor() {
|
|
5746
|
-
super(), this.domListeners = {}, this.on("error",
|
|
5746
|
+
super(), this.domListeners = {}, this.on("error", qi.error);
|
|
5747
5747
|
}
|
|
5748
5748
|
emit() {
|
|
5749
5749
|
for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++)
|
|
5750
5750
|
t[r] = arguments[r];
|
|
5751
|
-
return
|
|
5751
|
+
return qi.log.call(qi, ...t), super.emit(...t);
|
|
5752
5752
|
}
|
|
5753
5753
|
handleDOM(e) {
|
|
5754
5754
|
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), s = 1; s < t; s++)
|
|
@@ -5787,7 +5787,7 @@ we(Oe, "events", {
|
|
|
5787
5787
|
SILENT: "silent",
|
|
5788
5788
|
USER: "user"
|
|
5789
5789
|
});
|
|
5790
|
-
const
|
|
5790
|
+
const zi = Pn("quill:selection");
|
|
5791
5791
|
class er {
|
|
5792
5792
|
constructor(e) {
|
|
5793
5793
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
|
|
@@ -5904,7 +5904,7 @@ class i0 {
|
|
|
5904
5904
|
const t = e.getRangeAt(0);
|
|
5905
5905
|
if (t == null) return null;
|
|
5906
5906
|
const r = this.normalizeNative(t);
|
|
5907
|
-
return
|
|
5907
|
+
return zi.info("getNativeRange", r), r;
|
|
5908
5908
|
}
|
|
5909
5909
|
getRange() {
|
|
5910
5910
|
const e = this.scroll.domNode;
|
|
@@ -5914,7 +5914,7 @@ class i0 {
|
|
|
5914
5914
|
return t == null ? [null, null] : [this.normalizedToRange(t), t];
|
|
5915
5915
|
}
|
|
5916
5916
|
hasFocus() {
|
|
5917
|
-
return document.activeElement === this.root || document.activeElement != null &&
|
|
5917
|
+
return document.activeElement === this.root || document.activeElement != null && Hi(this.root, document.activeElement);
|
|
5918
5918
|
}
|
|
5919
5919
|
normalizedToRange(e) {
|
|
5920
5920
|
const t = [[e.start.node, e.start.offset]];
|
|
@@ -5926,7 +5926,7 @@ class i0 {
|
|
|
5926
5926
|
return new er(o, s - o);
|
|
5927
5927
|
}
|
|
5928
5928
|
normalizeNative(e) {
|
|
5929
|
-
if (!
|
|
5929
|
+
if (!Hi(this.root, e.startContainer) || !e.collapsed && !Hi(this.root, e.endContainer))
|
|
5930
5930
|
return null;
|
|
5931
5931
|
const t = {
|
|
5932
5932
|
start: {
|
|
@@ -5964,7 +5964,7 @@ class i0 {
|
|
|
5964
5964
|
}
|
|
5965
5965
|
setNativeRange(e, t) {
|
|
5966
5966
|
let r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : e, s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : t, o = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !1;
|
|
5967
|
-
if (
|
|
5967
|
+
if (zi.info("setNativeRange", e, t, r, s), e != null && (this.root.parentNode == null || e.parentNode == null || // @ts-expect-error Fix me later
|
|
5968
5968
|
r.parentNode == null))
|
|
5969
5969
|
return;
|
|
5970
5970
|
const a = document.getSelection();
|
|
@@ -5986,7 +5986,7 @@ class i0 {
|
|
|
5986
5986
|
}
|
|
5987
5987
|
setRange(e) {
|
|
5988
5988
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Oe.sources.API;
|
|
5989
|
-
if (typeof t == "string" && (r = t, t = !1),
|
|
5989
|
+
if (typeof t == "string" && (r = t, t = !1), zi.info("setRange", e), e != null) {
|
|
5990
5990
|
const s = this.rangeToNative(e);
|
|
5991
5991
|
this.setNativeRange(...s, t);
|
|
5992
5992
|
} else
|
|
@@ -6006,7 +6006,7 @@ class i0 {
|
|
|
6006
6006
|
}
|
|
6007
6007
|
}
|
|
6008
6008
|
}
|
|
6009
|
-
function
|
|
6009
|
+
function Hi(n, e) {
|
|
6010
6010
|
try {
|
|
6011
6011
|
e.parentNode;
|
|
6012
6012
|
} catch {
|
|
@@ -6124,7 +6124,7 @@ class o0 {
|
|
|
6124
6124
|
const [r, s] = this.scroll.line(e);
|
|
6125
6125
|
if (r) {
|
|
6126
6126
|
const o = r.length();
|
|
6127
|
-
return r.length() >= s + t && !(s === 0 && t === o) ?
|
|
6127
|
+
return r.length() >= s + t && !(s === 0 && t === o) ? us(r, s, t, !0) : us(this.scroll, e, t, !0);
|
|
6128
6128
|
}
|
|
6129
6129
|
return "";
|
|
6130
6130
|
}
|
|
@@ -6181,7 +6181,7 @@ class o0 {
|
|
|
6181
6181
|
}
|
|
6182
6182
|
function Sr(n, e, t) {
|
|
6183
6183
|
if (n.length === 0) {
|
|
6184
|
-
const [g] =
|
|
6184
|
+
const [g] = Vi(t.pop());
|
|
6185
6185
|
return e <= 0 ? `</li></${g}>` : `</li></${g}>${Sr([], e - 1, t)}`;
|
|
6186
6186
|
}
|
|
6187
6187
|
const [{
|
|
@@ -6190,21 +6190,21 @@ function Sr(n, e, t) {
|
|
|
6190
6190
|
length: o,
|
|
6191
6191
|
indent: a,
|
|
6192
6192
|
type: u
|
|
6193
|
-
}, ...i] = n, [l, c] =
|
|
6193
|
+
}, ...i] = n, [l, c] = Vi(u);
|
|
6194
6194
|
if (a > e)
|
|
6195
|
-
return t.push(u), a === e + 1 ? `<${l}><li${c}>${
|
|
6195
|
+
return t.push(u), a === e + 1 ? `<${l}><li${c}>${us(r, s, o)}${Sr(i, a, t)}` : `<${l}><li>${Sr(n, e + 1, t)}`;
|
|
6196
6196
|
const d = t[t.length - 1];
|
|
6197
6197
|
if (a === e && u === d)
|
|
6198
|
-
return `</li><li${c}>${
|
|
6199
|
-
const [f] =
|
|
6198
|
+
return `</li><li${c}>${us(r, s, o)}${Sr(i, a, t)}`;
|
|
6199
|
+
const [f] = Vi(t.pop());
|
|
6200
6200
|
return `</li></${f}>${Sr(n, e - 1, t)}`;
|
|
6201
6201
|
}
|
|
6202
|
-
function
|
|
6202
|
+
function us(n, e, t) {
|
|
6203
6203
|
let r = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : !1;
|
|
6204
6204
|
if ("html" in n && typeof n.html == "function")
|
|
6205
6205
|
return n.html(e, t);
|
|
6206
6206
|
if (n instanceof sn)
|
|
6207
|
-
return
|
|
6207
|
+
return fi(n.value().slice(e, e + t)).replaceAll(" ", " ");
|
|
6208
6208
|
if (n instanceof nn) {
|
|
6209
6209
|
if (n.statics.blotName === "list-container") {
|
|
6210
6210
|
const l = [];
|
|
@@ -6221,7 +6221,7 @@ function cs(n, e, t) {
|
|
|
6221
6221
|
}
|
|
6222
6222
|
const s = [];
|
|
6223
6223
|
if (n.children.forEachAt(e, t, (l, c, d) => {
|
|
6224
|
-
s.push(
|
|
6224
|
+
s.push(us(l, c, d));
|
|
6225
6225
|
}), r || n.statics.blotName === "list")
|
|
6226
6226
|
return s.join("");
|
|
6227
6227
|
const {
|
|
@@ -6239,7 +6239,7 @@ function l0(n, e) {
|
|
|
6239
6239
|
return s === n[r] ? t[r] = s : Array.isArray(s) ? s.indexOf(n[r]) < 0 ? t[r] = s.concat([n[r]]) : t[r] = s : t[r] = [s, n[r]], t;
|
|
6240
6240
|
}, {});
|
|
6241
6241
|
}
|
|
6242
|
-
function
|
|
6242
|
+
function Vi(n) {
|
|
6243
6243
|
const e = n === "ordered" ? "ol" : "ul";
|
|
6244
6244
|
switch (n) {
|
|
6245
6245
|
case "checked":
|
|
@@ -6291,19 +6291,19 @@ class ln {
|
|
|
6291
6291
|
}
|
|
6292
6292
|
}
|
|
6293
6293
|
we(ln, "DEFAULTS", {});
|
|
6294
|
-
const
|
|
6294
|
+
const Ds = "\uFEFF";
|
|
6295
6295
|
class Wa extends _t {
|
|
6296
6296
|
constructor(e, t) {
|
|
6297
6297
|
super(e, t), this.contentNode = document.createElement("span"), this.contentNode.setAttribute("contenteditable", "false"), Array.from(this.domNode.childNodes).forEach((r) => {
|
|
6298
6298
|
this.contentNode.appendChild(r);
|
|
6299
|
-
}), this.leftGuard = document.createTextNode(
|
|
6299
|
+
}), this.leftGuard = document.createTextNode(Ds), this.rightGuard = document.createTextNode(Ds), this.domNode.appendChild(this.leftGuard), this.domNode.appendChild(this.contentNode), this.domNode.appendChild(this.rightGuard);
|
|
6300
6300
|
}
|
|
6301
6301
|
index(e, t) {
|
|
6302
6302
|
return e === this.leftGuard ? 0 : e === this.rightGuard ? 1 : super.index(e, t);
|
|
6303
6303
|
}
|
|
6304
6304
|
restore(e) {
|
|
6305
6305
|
let t = null, r;
|
|
6306
|
-
const s = e.data.split(
|
|
6306
|
+
const s = e.data.split(Ds).join("");
|
|
6307
6307
|
if (e === this.leftGuard)
|
|
6308
6308
|
if (this.prev instanceof sn) {
|
|
6309
6309
|
const o = this.prev.length();
|
|
@@ -6323,7 +6323,7 @@ class Wa extends _t {
|
|
|
6323
6323
|
startNode: r,
|
|
6324
6324
|
startOffset: s.length
|
|
6325
6325
|
}));
|
|
6326
|
-
return e.data =
|
|
6326
|
+
return e.data = Ds, t;
|
|
6327
6327
|
}
|
|
6328
6328
|
update(e, t) {
|
|
6329
6329
|
e.forEach((r) => {
|
|
@@ -6385,7 +6385,7 @@ const f0 = (n) => n.parentElement || n.getRootNode().host || null, d0 = (n) => {
|
|
|
6385
6385
|
bottom: e.top + n.clientHeight * r,
|
|
6386
6386
|
left: e.left
|
|
6387
6387
|
};
|
|
6388
|
-
},
|
|
6388
|
+
}, js = (n) => {
|
|
6389
6389
|
const e = parseInt(n, 10);
|
|
6390
6390
|
return Number.isNaN(e) ? 0 : e;
|
|
6391
6391
|
}, Jo = (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, h0 = (n, e) => {
|
|
@@ -6398,7 +6398,7 @@ const f0 = (n) => n.parentElement || n.getRootNode().host || null, d0 = (n) => {
|
|
|
6398
6398
|
right: ((o = window.visualViewport) == null ? void 0 : o.width) ?? t.documentElement.clientWidth,
|
|
6399
6399
|
bottom: ((a = window.visualViewport) == null ? void 0 : a.height) ?? t.documentElement.clientHeight,
|
|
6400
6400
|
left: 0
|
|
6401
|
-
} : d0(s), c = getComputedStyle(s), d = Jo(r.left, r.right, l.left, l.right,
|
|
6401
|
+
} : d0(s), c = getComputedStyle(s), d = Jo(r.left, r.right, l.left, l.right, js(c.scrollPaddingLeft), js(c.scrollPaddingRight)), f = Jo(r.top, r.bottom, l.top, l.bottom, js(c.scrollPaddingTop), js(c.scrollPaddingBottom));
|
|
6402
6402
|
if (d || f)
|
|
6403
6403
|
if (i)
|
|
6404
6404
|
(u = t.defaultView) == null || u.scrollBy(d, f);
|
|
@@ -6433,7 +6433,7 @@ const f0 = (n) => n.parentElement || n.getRootNode().host || null, d0 = (n) => {
|
|
|
6433
6433
|
break;
|
|
6434
6434
|
}
|
|
6435
6435
|
}), r;
|
|
6436
|
-
}, Cr = Pn("quill"),
|
|
6436
|
+
}, Cr = Pn("quill"), $s = new kr();
|
|
6437
6437
|
nn.uiClass = "ql-ui";
|
|
6438
6438
|
const Jt = class Jt {
|
|
6439
6439
|
static debug(e) {
|
|
@@ -6441,7 +6441,7 @@ const Jt = class Jt {
|
|
|
6441
6441
|
}
|
|
6442
6442
|
static find(e) {
|
|
6443
6443
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
|
|
6444
|
-
return
|
|
6444
|
+
return ya.get(e) || $s.find(e, t);
|
|
6445
6445
|
}
|
|
6446
6446
|
static import(e) {
|
|
6447
6447
|
return this.imports[e] == null && Cr.error(`Cannot import ${e}. Are you sure it was registered?`), this.imports[e];
|
|
@@ -6454,7 +6454,7 @@ const Jt = class Jt {
|
|
|
6454
6454
|
});
|
|
6455
6455
|
} else {
|
|
6456
6456
|
const e = arguments.length <= 0 ? void 0 : arguments[0], t = arguments.length <= 1 ? void 0 : arguments[1], r = !!(!(arguments.length <= 2) && arguments[2]);
|
|
6457
|
-
this.imports[e] != null && !r && Cr.warn(`Overwriting ${e} with`, t), this.imports[e] = t, (e.startsWith("blots/") || e.startsWith("formats/")) && t && typeof t != "boolean" && t.blotName !== "abstract" &&
|
|
6457
|
+
this.imports[e] != null && !r && Cr.warn(`Overwriting ${e} with`, t), this.imports[e] = t, (e.startsWith("blots/") || e.startsWith("formats/")) && t && typeof t != "boolean" && t.blotName !== "abstract" && $s.register(t), typeof t.register == "function" && t.register($s);
|
|
6458
6458
|
}
|
|
6459
6459
|
}
|
|
6460
6460
|
constructor(e) {
|
|
@@ -6465,7 +6465,7 @@ const Jt = class Jt {
|
|
|
6465
6465
|
}
|
|
6466
6466
|
this.options.debug && Jt.debug(this.options.debug);
|
|
6467
6467
|
const r = this.container.innerHTML.trim();
|
|
6468
|
-
this.container.classList.add("ql-container"), this.container.innerHTML = "",
|
|
6468
|
+
this.container.classList.add("ql-container"), this.container.innerHTML = "", ya.set(this.container, this), this.root = this.addContainer("ql-editor"), this.root.classList.add("ql-blank"), this.emitter = new Oe();
|
|
6469
6469
|
const s = Va.blotName, o = this.options.registry.query(s);
|
|
6470
6470
|
if (!o || !("blotName" in o))
|
|
6471
6471
|
throw new Error(`Cannot initialize Quill without "${s}" blot`);
|
|
@@ -6512,7 +6512,7 @@ const Jt = class Jt {
|
|
|
6512
6512
|
this.selection.setRange(null);
|
|
6513
6513
|
}
|
|
6514
6514
|
deleteText(e, t, r) {
|
|
6515
|
-
return [e, t, , r] =
|
|
6515
|
+
return [e, t, , r] = Tn(e, t, r), Qt.call(this, () => this.editor.deleteText(e, t), r, e, -1 * t);
|
|
6516
6516
|
}
|
|
6517
6517
|
disable() {
|
|
6518
6518
|
this.enable(!1);
|
|
@@ -6552,7 +6552,7 @@ const Jt = class Jt {
|
|
|
6552
6552
|
}
|
|
6553
6553
|
formatLine(e, t, r, s, o) {
|
|
6554
6554
|
let a;
|
|
6555
|
-
return [e, t, a, o] =
|
|
6555
|
+
return [e, t, a, o] = Tn(
|
|
6556
6556
|
e,
|
|
6557
6557
|
t,
|
|
6558
6558
|
// @ts-expect-error
|
|
@@ -6563,7 +6563,7 @@ const Jt = class Jt {
|
|
|
6563
6563
|
}
|
|
6564
6564
|
formatText(e, t, r, s, o) {
|
|
6565
6565
|
let a;
|
|
6566
|
-
return [e, t, a, o] =
|
|
6566
|
+
return [e, t, a, o] = Tn(
|
|
6567
6567
|
// @ts-expect-error
|
|
6568
6568
|
e,
|
|
6569
6569
|
t,
|
|
@@ -6587,7 +6587,7 @@ const Jt = class Jt {
|
|
|
6587
6587
|
}
|
|
6588
6588
|
getContents() {
|
|
6589
6589
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : this.getLength() - e;
|
|
6590
|
-
return [e, t] =
|
|
6590
|
+
return [e, t] = Tn(e, t), this.editor.getContents(e, t);
|
|
6591
6591
|
}
|
|
6592
6592
|
getFormat() {
|
|
6593
6593
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this.getSelection(!0), t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
|
|
@@ -6617,11 +6617,11 @@ const Jt = class Jt {
|
|
|
6617
6617
|
}
|
|
6618
6618
|
getSemanticHTML() {
|
|
6619
6619
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, t = arguments.length > 1 ? arguments[1] : void 0;
|
|
6620
|
-
return typeof e == "number" && (t = t ?? this.getLength() - e), [e, t] =
|
|
6620
|
+
return typeof e == "number" && (t = t ?? this.getLength() - e), [e, t] = Tn(e, t), this.editor.getHTML(e, t);
|
|
6621
6621
|
}
|
|
6622
6622
|
getText() {
|
|
6623
6623
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, t = arguments.length > 1 ? arguments[1] : void 0;
|
|
6624
|
-
return typeof e == "number" && (t = t ?? this.getLength() - e), [e, t] =
|
|
6624
|
+
return typeof e == "number" && (t = t ?? this.getLength() - e), [e, t] = Tn(e, t), this.editor.getText(e, t);
|
|
6625
6625
|
}
|
|
6626
6626
|
hasFocus() {
|
|
6627
6627
|
return this.selection.hasFocus();
|
|
@@ -6632,7 +6632,7 @@ const Jt = class Jt {
|
|
|
6632
6632
|
}
|
|
6633
6633
|
insertText(e, t, r, s, o) {
|
|
6634
6634
|
let a;
|
|
6635
|
-
return [e, , a, o] =
|
|
6635
|
+
return [e, , a, o] = Tn(e, 0, r, s, o), Qt.call(this, () => this.editor.insertText(e, t, a), o, e, t.length);
|
|
6636
6636
|
}
|
|
6637
6637
|
isEnabled() {
|
|
6638
6638
|
return this.scroll.isEnabled();
|
|
@@ -6647,7 +6647,7 @@ const Jt = class Jt {
|
|
|
6647
6647
|
return this.emitter.once(...arguments);
|
|
6648
6648
|
}
|
|
6649
6649
|
removeFormat(e, t, r) {
|
|
6650
|
-
return [e, t, , r] =
|
|
6650
|
+
return [e, t, , r] = Tn(e, t, r), Qt.call(this, () => this.editor.removeFormat(e, t), r, e);
|
|
6651
6651
|
}
|
|
6652
6652
|
scrollRectIntoView(e) {
|
|
6653
6653
|
h0(this.root, e);
|
|
@@ -6675,7 +6675,7 @@ const Jt = class Jt {
|
|
|
6675
6675
|
}, t);
|
|
6676
6676
|
}
|
|
6677
6677
|
setSelection(e, t, r) {
|
|
6678
|
-
e == null ? this.selection.setRange(null, t || Jt.sources.API) : ([e, t, , r] =
|
|
6678
|
+
e == null ? this.selection.setRange(null, t || Jt.sources.API) : ([e, t, , r] = Tn(e, t, r), this.selection.setRange(new er(Math.max(0, e), t), r), r !== Oe.sources.SILENT && this.scrollSelectionIntoView());
|
|
6679
6679
|
}
|
|
6680
6680
|
setText(e) {
|
|
6681
6681
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Oe.sources.API;
|
|
@@ -6702,7 +6702,7 @@ we(Jt, "DEFAULTS", {
|
|
|
6702
6702
|
},
|
|
6703
6703
|
placeholder: "",
|
|
6704
6704
|
readOnly: !1,
|
|
6705
|
-
registry:
|
|
6705
|
+
registry: $s,
|
|
6706
6706
|
theme: "default"
|
|
6707
6707
|
}), we(Jt, "events", Oe.events), we(Jt, "sources", Oe.sources), we(Jt, "version", "2.0.3"), we(Jt, "imports", {
|
|
6708
6708
|
delta: Ne,
|
|
@@ -6714,7 +6714,7 @@ let le = Jt;
|
|
|
6714
6714
|
function el(n) {
|
|
6715
6715
|
return typeof n == "string" ? document.querySelector(n) : n;
|
|
6716
6716
|
}
|
|
6717
|
-
function
|
|
6717
|
+
function Gi(n) {
|
|
6718
6718
|
return Object.entries(n ?? {}).reduce((e, t) => {
|
|
6719
6719
|
let [r, s] = t;
|
|
6720
6720
|
return {
|
|
@@ -6740,14 +6740,14 @@ function m0(n, e) {
|
|
|
6740
6740
|
modules: u,
|
|
6741
6741
|
...i
|
|
6742
6742
|
} = s.DEFAULTS;
|
|
6743
|
-
let l =
|
|
6743
|
+
let l = Gi(e.modules);
|
|
6744
6744
|
l != null && l.toolbar && l.toolbar.constructor !== Object && (l = {
|
|
6745
6745
|
...l,
|
|
6746
6746
|
toolbar: {
|
|
6747
6747
|
container: l.toolbar
|
|
6748
6748
|
}
|
|
6749
6749
|
});
|
|
6750
|
-
const c = _n({},
|
|
6750
|
+
const c = _n({}, Gi(o), Gi(u), l), d = {
|
|
6751
6751
|
...a,
|
|
6752
6752
|
...tl(i),
|
|
6753
6753
|
...tl(e)
|
|
@@ -6782,7 +6782,7 @@ function Qt(n, e, t, r) {
|
|
|
6782
6782
|
}
|
|
6783
6783
|
return a;
|
|
6784
6784
|
}
|
|
6785
|
-
function
|
|
6785
|
+
function Tn(n, e, t, r, s) {
|
|
6786
6786
|
let o = {};
|
|
6787
6787
|
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];
|
|
6788
6788
|
}
|
|
@@ -6795,7 +6795,7 @@ function nl(n, e, t, r) {
|
|
|
6795
6795
|
e.transformPosition(u, r !== Oe.sources.USER)
|
|
6796
6796
|
)) : [o, a] = [n.index, n.index + n.length].map((u) => u < e || u === e && r === Oe.sources.USER ? u : s >= 0 ? u + s : Math.max(e, u + s)), new er(o, a - o);
|
|
6797
6797
|
}
|
|
6798
|
-
class ar extends
|
|
6798
|
+
class ar extends ci {
|
|
6799
6799
|
}
|
|
6800
6800
|
function rl(n) {
|
|
6801
6801
|
return n instanceof At || n instanceof Wt;
|
|
@@ -6877,7 +6877,7 @@ class Tr extends Va {
|
|
|
6877
6877
|
const i = o.type === "block" && (o.delta.length() === 0 || !this.descendant(Wt, e)[0] && e < this.length()), l = o.type === "block" ? o.delta : new Ne().insert({
|
|
6878
6878
|
[o.key]: o.value
|
|
6879
6879
|
});
|
|
6880
|
-
|
|
6880
|
+
Wi(this, e, l);
|
|
6881
6881
|
const c = o.type === "block" ? 1 : 0, d = e + l.length() + c;
|
|
6882
6882
|
i && this.insertAt(d - 1, `
|
|
6883
6883
|
`);
|
|
@@ -6890,7 +6890,7 @@ class Tr extends Va {
|
|
|
6890
6890
|
if (r.length && (a && (a = a.split(u), u = 0), r.forEach((i) => {
|
|
6891
6891
|
if (i.type === "block") {
|
|
6892
6892
|
const l = this.createBlock(i.attributes, a || void 0);
|
|
6893
|
-
|
|
6893
|
+
Wi(l, 0, i.delta);
|
|
6894
6894
|
} else {
|
|
6895
6895
|
const l = this.create(i.key, i.value);
|
|
6896
6896
|
this.insertBefore(l, a || void 0), Object.keys(i.attributes).forEach((c) => {
|
|
@@ -6899,7 +6899,7 @@ class Tr extends Va {
|
|
|
6899
6899
|
}
|
|
6900
6900
|
})), s.type === "block" && s.delta.length()) {
|
|
6901
6901
|
const i = a ? a.offset(a.scroll) + u : this.length();
|
|
6902
|
-
|
|
6902
|
+
Wi(this, i, s.delta);
|
|
6903
6903
|
}
|
|
6904
6904
|
this.batchEnd(), this.optimize();
|
|
6905
6905
|
}
|
|
@@ -6921,7 +6921,7 @@ class Tr extends Va {
|
|
|
6921
6921
|
const r = (s, o, a) => {
|
|
6922
6922
|
let u = [], i = a;
|
|
6923
6923
|
return s.children.forEachAt(o, a, (l, c, d) => {
|
|
6924
|
-
rl(l) ? u.push(l) : l instanceof
|
|
6924
|
+
rl(l) ? u.push(l) : l instanceof ci && (u = u.concat(r(l, c, i))), i -= d;
|
|
6925
6925
|
}), u;
|
|
6926
6926
|
};
|
|
6927
6927
|
return r(this, e, t);
|
|
@@ -7011,7 +7011,7 @@ class Tr extends Va {
|
|
|
7011
7011
|
}
|
|
7012
7012
|
}
|
|
7013
7013
|
we(Tr, "blotName", "scroll"), we(Tr, "className", "ql-editor"), we(Tr, "tagName", "DIV"), we(Tr, "defaultChild", At), we(Tr, "allowedChildren", [At, Wt, ar]);
|
|
7014
|
-
function
|
|
7014
|
+
function Wi(n, e, t) {
|
|
7015
7015
|
t.reduce((r, s) => {
|
|
7016
7016
|
const o = Kt.Op.length(s);
|
|
7017
7017
|
let a = s.attributes || {};
|
|
@@ -7038,7 +7038,7 @@ function Ki(n, e, t) {
|
|
|
7038
7038
|
const Ka = {
|
|
7039
7039
|
scope: Ce.BLOCK,
|
|
7040
7040
|
whitelist: ["right", "center", "justify"]
|
|
7041
|
-
}, y0 = new
|
|
7041
|
+
}, y0 = new vn("align", "align", Ka), Ru = new an("align", "ql-align", Ka), Cu = new Hn("align", "text-align", Ka);
|
|
7042
7042
|
class Iu extends Hn {
|
|
7043
7043
|
value(e) {
|
|
7044
7044
|
let t = super.value(e);
|
|
@@ -7065,7 +7065,7 @@ class or extends ar {
|
|
|
7065
7065
|
}
|
|
7066
7066
|
html(e, t) {
|
|
7067
7067
|
return `<pre>
|
|
7068
|
-
${
|
|
7068
|
+
${fi(this.code(e, t))}
|
|
7069
7069
|
</pre>`;
|
|
7070
7070
|
}
|
|
7071
7071
|
}
|
|
@@ -7075,7 +7075,7 @@ class Lt extends At {
|
|
|
7075
7075
|
}
|
|
7076
7076
|
}
|
|
7077
7077
|
we(Lt, "TAB", " ");
|
|
7078
|
-
class Za extends
|
|
7078
|
+
class Za extends mn {
|
|
7079
7079
|
}
|
|
7080
7080
|
Za.blotName = "code";
|
|
7081
7081
|
Za.tagName = "CODE";
|
|
@@ -7091,7 +7091,7 @@ Lt.requiredContainer = or;
|
|
|
7091
7091
|
const Qa = {
|
|
7092
7092
|
scope: Ce.BLOCK,
|
|
7093
7093
|
whitelist: ["rtl"]
|
|
7094
|
-
}, Lu = new
|
|
7094
|
+
}, Lu = new vn("direction", "dir", Qa), ku = new an("direction", "ql-direction", Qa), Pu = new Hn("direction", "direction", Qa), Fu = {
|
|
7095
7095
|
scope: Ce.INLINE,
|
|
7096
7096
|
whitelist: ["serif", "monospace"]
|
|
7097
7097
|
}, Mu = new an("font", "ql-font", Fu);
|
|
@@ -7107,7 +7107,7 @@ const Bu = new E0("font", "font-family", Fu), Uu = new an("size", "ql-size", {
|
|
|
7107
7107
|
scope: Ce.INLINE,
|
|
7108
7108
|
whitelist: ["10px", "18px", "32px"]
|
|
7109
7109
|
}), w0 = Pn("quill:keyboard"), A0 = /Mac/i.test(navigator.platform) ? "metaKey" : "ctrlKey";
|
|
7110
|
-
class
|
|
7110
|
+
class di extends ln {
|
|
7111
7111
|
static match(e, t) {
|
|
7112
7112
|
return ["altKey", "ctrlKey", "metaKey", "shiftKey"].some((r) => !!t[r] !== e[r] && t[r] !== null) ? !1 : t.key === e.key || t.key === e.which;
|
|
7113
7113
|
}
|
|
@@ -7184,13 +7184,13 @@ class hi extends ln {
|
|
|
7184
7184
|
listen() {
|
|
7185
7185
|
this.quill.root.addEventListener("keydown", (e) => {
|
|
7186
7186
|
if (e.defaultPrevented || e.isComposing || e.keyCode === 229 && (e.key === "Enter" || e.key === "Backspace")) return;
|
|
7187
|
-
const s = (this.bindings[e.key] || []).concat(this.bindings[e.which] || []).filter((S) =>
|
|
7187
|
+
const s = (this.bindings[e.key] || []).concat(this.bindings[e.which] || []).filter((S) => di.match(e, S));
|
|
7188
7188
|
if (s.length === 0) return;
|
|
7189
7189
|
const o = le.find(e.target, !0);
|
|
7190
7190
|
if (o && o.scroll !== this.quill.scroll) return;
|
|
7191
7191
|
const a = this.quill.getSelection();
|
|
7192
7192
|
if (a == null || !this.quill.hasFocus()) return;
|
|
7193
|
-
const [u, i] = this.quill.getLine(a.index), [l, c] = this.quill.getLeaf(a.index), [d, f] = a.length === 0 ? [l, c] : this.quill.getLeaf(a.index + a.length), g = l instanceof
|
|
7193
|
+
const [u, i] = this.quill.getLine(a.index), [l, c] = this.quill.getLeaf(a.index), [d, f] = a.length === 0 ? [l, c] : this.quill.getLeaf(a.index + a.length), g = l instanceof ei ? l.value().slice(0, c) : "", p = d instanceof ei ? d.value().slice(f) : "", v = {
|
|
7194
7194
|
collapsed: a.length === 0,
|
|
7195
7195
|
// @ts-expect-error Fix me later
|
|
7196
7196
|
empty: a.length === 0 && u.length() <= 1,
|
|
@@ -7260,9 +7260,9 @@ class hi extends ln {
|
|
|
7260
7260
|
}
|
|
7261
7261
|
const S0 = {
|
|
7262
7262
|
bindings: {
|
|
7263
|
-
bold:
|
|
7264
|
-
italic:
|
|
7265
|
-
underline:
|
|
7263
|
+
bold: Ki("bold"),
|
|
7264
|
+
italic: Ki("italic"),
|
|
7265
|
+
underline: Ki("underline"),
|
|
7266
7266
|
indent: {
|
|
7267
7267
|
// highlight tab or tab at beginning of list, indent or blockquote
|
|
7268
7268
|
key: "Tab",
|
|
@@ -7474,15 +7474,15 @@ const S0 = {
|
|
|
7474
7474
|
return !0;
|
|
7475
7475
|
}
|
|
7476
7476
|
},
|
|
7477
|
-
"embed left":
|
|
7478
|
-
"embed left shift":
|
|
7479
|
-
"embed right":
|
|
7480
|
-
"embed right shift":
|
|
7477
|
+
"embed left": _s("ArrowLeft", !1),
|
|
7478
|
+
"embed left shift": _s("ArrowLeft", !0),
|
|
7479
|
+
"embed right": _s("ArrowRight", !1),
|
|
7480
|
+
"embed right shift": _s("ArrowRight", !0),
|
|
7481
7481
|
"table down": al(!1),
|
|
7482
7482
|
"table up": al(!0)
|
|
7483
7483
|
}
|
|
7484
7484
|
};
|
|
7485
|
-
|
|
7485
|
+
di.DEFAULTS = S0;
|
|
7486
7486
|
function il(n) {
|
|
7487
7487
|
return {
|
|
7488
7488
|
key: "Tab",
|
|
@@ -7512,7 +7512,7 @@ function il(n) {
|
|
|
7512
7512
|
}
|
|
7513
7513
|
};
|
|
7514
7514
|
}
|
|
7515
|
-
function
|
|
7515
|
+
function _s(n, e) {
|
|
7516
7516
|
return {
|
|
7517
7517
|
key: n,
|
|
7518
7518
|
shiftKey: e,
|
|
@@ -7528,7 +7528,7 @@ function qs(n, e) {
|
|
|
7528
7528
|
}
|
|
7529
7529
|
};
|
|
7530
7530
|
}
|
|
7531
|
-
function
|
|
7531
|
+
function Ki(n) {
|
|
7532
7532
|
return {
|
|
7533
7533
|
key: n[0],
|
|
7534
7534
|
shortKey: !0,
|
|
@@ -7655,7 +7655,7 @@ const D0 = [U0, L0], j0 = (n) => {
|
|
|
7655
7655
|
n.documentElement && D0.forEach((e) => {
|
|
7656
7656
|
e(n);
|
|
7657
7657
|
});
|
|
7658
|
-
}, $0 = Pn("quill:clipboard"), _0 = [[Node.TEXT_NODE, J0], [Node.TEXT_NODE, ul], ["br", G0], [Node.ELEMENT_NODE, ul], [Node.ELEMENT_NODE, V0], [Node.ELEMENT_NODE, H0], [Node.ELEMENT_NODE, Z0], ["li", X0], ["ol, ul", Y0], ["pre", W0], ["tr", Q0], ["b",
|
|
7658
|
+
}, $0 = Pn("quill:clipboard"), _0 = [[Node.TEXT_NODE, J0], [Node.TEXT_NODE, ul], ["br", G0], [Node.ELEMENT_NODE, ul], [Node.ELEMENT_NODE, V0], [Node.ELEMENT_NODE, H0], [Node.ELEMENT_NODE, Z0], ["li", X0], ["ol, ul", Y0], ["pre", W0], ["tr", Q0], ["b", Xi("bold")], ["i", Xi("italic")], ["strike", Xi("strike")], ["style", K0]], q0 = [y0, Lu].reduce((n, e) => (n[e.keyName] = e, n), {}), ll = [Cu, Ya, Xa, Pu, Bu, Du].reduce((n, e) => (n[e.keyName] = e, n), {});
|
|
7659
7659
|
class ju extends ln {
|
|
7660
7660
|
constructor(e, t) {
|
|
7661
7661
|
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 = [], _0.concat(this.options.matchers ?? []).forEach((r) => {
|
|
@@ -7678,7 +7678,7 @@ class ju extends ln {
|
|
|
7678
7678
|
if (!t)
|
|
7679
7679
|
return new Ne().insert(r || "", s);
|
|
7680
7680
|
const o = this.convertHTML(t);
|
|
7681
|
-
return
|
|
7681
|
+
return gs(o, `
|
|
7682
7682
|
`) && (o.ops[o.ops.length - 1].attributes == null || s.table) ? o.compose(new Ne().retain(o.length() - 1).delete(1)) : o;
|
|
7683
7683
|
}
|
|
7684
7684
|
normalizeHTML(e) {
|
|
@@ -7822,7 +7822,7 @@ function lr(n, e, t, r) {
|
|
|
7822
7822
|
});
|
|
7823
7823
|
}, new Ne()) : n;
|
|
7824
7824
|
}
|
|
7825
|
-
function
|
|
7825
|
+
function gs(n, e) {
|
|
7826
7826
|
let t = "";
|
|
7827
7827
|
for (let r = n.ops.length - 1; r >= 0 && t.length < e.length; --r) {
|
|
7828
7828
|
const s = n.ops[r];
|
|
@@ -7839,9 +7839,9 @@ function jn(n, e) {
|
|
|
7839
7839
|
function z0(n, e) {
|
|
7840
7840
|
return n.previousElementSibling && n.nextElementSibling && !jn(n.previousElementSibling, e) && !jn(n.nextElementSibling, e);
|
|
7841
7841
|
}
|
|
7842
|
-
const
|
|
7842
|
+
const qs = /* @__PURE__ */ new WeakMap();
|
|
7843
7843
|
function $u(n) {
|
|
7844
|
-
return n == null ? !1 : (
|
|
7844
|
+
return n == null ? !1 : (qs.has(n) || (n.tagName === "PRE" ? qs.set(n, !0) : qs.set(n, $u(n.parentNode))), qs.get(n));
|
|
7845
7845
|
}
|
|
7846
7846
|
function eo(n, e, t, r, s) {
|
|
7847
7847
|
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) => {
|
|
@@ -7849,11 +7849,11 @@ function eo(n, e, t, r, s) {
|
|
|
7849
7849
|
return a.nodeType === e.ELEMENT_NODE && (u = t.reduce((i, l) => l(a, i, n), u), u = (s.get(a) || []).reduce((i, l) => l(a, i, n), u)), o.concat(u);
|
|
7850
7850
|
}, new Ne()) : new Ne();
|
|
7851
7851
|
}
|
|
7852
|
-
function
|
|
7852
|
+
function Xi(n) {
|
|
7853
7853
|
return (e, t, r) => lr(t, n, !0, r);
|
|
7854
7854
|
}
|
|
7855
7855
|
function H0(n, e, t) {
|
|
7856
|
-
const r =
|
|
7856
|
+
const r = vn.keys(n), s = an.keys(n), o = Hn.keys(n), a = {};
|
|
7857
7857
|
return r.concat(s).concat(o).forEach((u) => {
|
|
7858
7858
|
let i = t.query(u, Ce.ATTRIBUTE);
|
|
7859
7859
|
i != null && (a[i.attrName] = i.value(n), a[i.attrName]) || (i = q0[u], i != null && (i.attrName === u || i.keyName === u) && (a[i.attrName] = i.value(n) || void 0), i = ll[u], i != null && (i.attrName === u || i.keyName === u) && (i = ll[u], a[i.attrName] = i.value(n) || void 0));
|
|
@@ -7869,14 +7869,14 @@ function V0(n, e, t) {
|
|
|
7869
7869
|
const s = {}, o = r.value(n);
|
|
7870
7870
|
if (o != null)
|
|
7871
7871
|
return s[r.blotName] = o, new Ne().insert(s, r.formats(n, t));
|
|
7872
|
-
} else if (r.prototype instanceof
|
|
7872
|
+
} else if (r.prototype instanceof ls && !gs(e, `
|
|
7873
7873
|
`) && e.insert(`
|
|
7874
7874
|
`), "blotName" in r && "formats" in r && typeof r.formats == "function")
|
|
7875
7875
|
return lr(e, r.blotName, r.formats(n, t), t);
|
|
7876
7876
|
return e;
|
|
7877
7877
|
}
|
|
7878
7878
|
function G0(n, e) {
|
|
7879
|
-
return
|
|
7879
|
+
return gs(e, `
|
|
7880
7880
|
`) || e.insert(`
|
|
7881
7881
|
`), e;
|
|
7882
7882
|
}
|
|
@@ -7890,7 +7890,7 @@ function K0() {
|
|
|
7890
7890
|
function X0(n, e, t) {
|
|
7891
7891
|
const r = t.query(n);
|
|
7892
7892
|
if (r == null || // @ts-expect-error
|
|
7893
|
-
r.blotName !== "list" || !
|
|
7893
|
+
r.blotName !== "list" || !gs(e, `
|
|
7894
7894
|
`))
|
|
7895
7895
|
return e;
|
|
7896
7896
|
let s = -1, o = n.parentNode;
|
|
@@ -7908,7 +7908,7 @@ function Y0(n, e, t) {
|
|
|
7908
7908
|
return o && (s = o === "true" ? "checked" : "unchecked"), lr(e, "list", s, t);
|
|
7909
7909
|
}
|
|
7910
7910
|
function ul(n, e, t) {
|
|
7911
|
-
if (!
|
|
7911
|
+
if (!gs(e, `
|
|
7912
7912
|
`)) {
|
|
7913
7913
|
if (jn(n, t) && (n.childNodes.length > 0 || n instanceof HTMLParagraphElement))
|
|
7914
7914
|
return e.insert(`
|
|
@@ -7971,7 +7971,7 @@ class _u extends ln {
|
|
|
7971
7971
|
});
|
|
7972
7972
|
we(this, "currentRange", null);
|
|
7973
7973
|
this.quill.on(le.events.EDITOR_CHANGE, (s, o, a, u) => {
|
|
7974
|
-
s === le.events.SELECTION_CHANGE ? o && u !== le.sources.SILENT && (this.currentRange = o) : s === le.events.TEXT_CHANGE && (this.ignoreChange || (!this.options.userOnly || u === le.sources.USER ? this.record(o, a) : this.transform(o)), this.currentRange =
|
|
7974
|
+
s === le.events.SELECTION_CHANGE ? o && u !== le.sources.SILENT && (this.currentRange = o) : s === le.events.TEXT_CHANGE && (this.ignoreChange || (!this.options.userOnly || u === le.sources.USER ? this.record(o, a) : this.transform(o)), this.currentRange = Ea(this.currentRange, o));
|
|
7975
7975
|
}), this.quill.keyboard.addBinding({
|
|
7976
7976
|
key: "z",
|
|
7977
7977
|
shortKey: !0
|
|
@@ -7993,7 +7993,7 @@ class _u extends ln {
|
|
|
7993
7993
|
const o = this.quill.getContents(), a = s.delta.invert(o);
|
|
7994
7994
|
this.stack[r].push({
|
|
7995
7995
|
delta: a,
|
|
7996
|
-
range:
|
|
7996
|
+
range: Ea(s.range, a)
|
|
7997
7997
|
}), this.lastRecorded = 0, this.ignoreChange = !0, this.quill.updateContents(s.delta, le.sources.USER), this.ignoreChange = !1, this.restoreSelection(s);
|
|
7998
7998
|
}
|
|
7999
7999
|
clear() {
|
|
@@ -8052,7 +8052,7 @@ function cl(n, e) {
|
|
|
8052
8052
|
const s = n[r];
|
|
8053
8053
|
n[r] = {
|
|
8054
8054
|
delta: t.transform(s.delta, !0),
|
|
8055
|
-
range: s.range &&
|
|
8055
|
+
range: s.range && Ea(s.range, t)
|
|
8056
8056
|
}, t = s.delta.transform(t), n[r].delta.length() === 0 && n.splice(r, 1);
|
|
8057
8057
|
}
|
|
8058
8058
|
}
|
|
@@ -8066,7 +8066,7 @@ function t1(n, e) {
|
|
|
8066
8066
|
let r = e.length() - t;
|
|
8067
8067
|
return e1(n, e) && (r -= 1), r;
|
|
8068
8068
|
}
|
|
8069
|
-
function
|
|
8069
|
+
function Ea(n, e) {
|
|
8070
8070
|
if (!n) return n;
|
|
8071
8071
|
const t = e.transformPosition(n.index), r = e.transformPosition(n.index + n.length);
|
|
8072
8072
|
return {
|
|
@@ -8231,12 +8231,12 @@ le.register({
|
|
|
8231
8231
|
"blots/container": ar,
|
|
8232
8232
|
"blots/cursor": Pr,
|
|
8233
8233
|
"blots/embed": Wa,
|
|
8234
|
-
"blots/inline":
|
|
8234
|
+
"blots/inline": mn,
|
|
8235
8235
|
"blots/scroll": Tr,
|
|
8236
8236
|
"blots/text": sn,
|
|
8237
8237
|
"modules/clipboard": ju,
|
|
8238
8238
|
"modules/history": _u,
|
|
8239
|
-
"modules/keyboard":
|
|
8239
|
+
"modules/keyboard": di,
|
|
8240
8240
|
"modules/uploader": qu,
|
|
8241
8241
|
"modules/input": r1,
|
|
8242
8242
|
"modules/uiNode": l1
|
|
@@ -8262,20 +8262,20 @@ const c1 = new u1("indent", "ql-indent", {
|
|
|
8262
8262
|
// @ts-expect-error
|
|
8263
8263
|
whitelist: [1, 2, 3, 4, 5, 6, 7, 8]
|
|
8264
8264
|
});
|
|
8265
|
-
class
|
|
8265
|
+
class wa extends At {
|
|
8266
8266
|
}
|
|
8267
|
-
we(
|
|
8268
|
-
class
|
|
8267
|
+
we(wa, "blotName", "blockquote"), we(wa, "tagName", "blockquote");
|
|
8268
|
+
class Aa extends At {
|
|
8269
8269
|
static formats(e) {
|
|
8270
8270
|
return this.tagName.indexOf(e.tagName) + 1;
|
|
8271
8271
|
}
|
|
8272
8272
|
}
|
|
8273
|
-
we(
|
|
8274
|
-
class
|
|
8273
|
+
we(Aa, "blotName", "header"), we(Aa, "tagName", ["H1", "H2", "H3", "H4", "H5", "H6"]);
|
|
8274
|
+
class vs extends ar {
|
|
8275
8275
|
}
|
|
8276
|
-
|
|
8277
|
-
|
|
8278
|
-
class
|
|
8276
|
+
vs.blotName = "list-container";
|
|
8277
|
+
vs.tagName = "OL";
|
|
8278
|
+
class ms extends At {
|
|
8279
8279
|
static create(e) {
|
|
8280
8280
|
const t = super.create();
|
|
8281
8281
|
return t.setAttribute("data-list", e), t;
|
|
@@ -8284,7 +8284,7 @@ class ys extends At {
|
|
|
8284
8284
|
return e.getAttribute("data-list") || void 0;
|
|
8285
8285
|
}
|
|
8286
8286
|
static register() {
|
|
8287
|
-
le.register(
|
|
8287
|
+
le.register(vs);
|
|
8288
8288
|
}
|
|
8289
8289
|
constructor(e, t) {
|
|
8290
8290
|
super(e, t);
|
|
@@ -8299,11 +8299,11 @@ class ys extends At {
|
|
|
8299
8299
|
e === this.statics.blotName && t ? this.domNode.setAttribute("data-list", t) : super.format(e, t);
|
|
8300
8300
|
}
|
|
8301
8301
|
}
|
|
8302
|
-
|
|
8303
|
-
|
|
8304
|
-
|
|
8305
|
-
|
|
8306
|
-
class
|
|
8302
|
+
ms.blotName = "list";
|
|
8303
|
+
ms.tagName = "LI";
|
|
8304
|
+
vs.allowedChildren = [ms];
|
|
8305
|
+
ms.requiredContainer = vs;
|
|
8306
|
+
class cs extends mn {
|
|
8307
8307
|
static create() {
|
|
8308
8308
|
return super.create();
|
|
8309
8309
|
}
|
|
@@ -8314,11 +8314,11 @@ class fs extends yn {
|
|
|
8314
8314
|
super.optimize(e), this.domNode.tagName !== this.statics.tagName[0] && this.replaceWith(this.statics.blotName);
|
|
8315
8315
|
}
|
|
8316
8316
|
}
|
|
8317
|
-
we(
|
|
8318
|
-
class
|
|
8317
|
+
we(cs, "blotName", "bold"), we(cs, "tagName", ["STRONG", "B"]);
|
|
8318
|
+
class Sa extends cs {
|
|
8319
8319
|
}
|
|
8320
|
-
we(
|
|
8321
|
-
class $n extends
|
|
8320
|
+
we(Sa, "blotName", "italic"), we(Sa, "tagName", ["EM", "I"]);
|
|
8321
|
+
class $n extends mn {
|
|
8322
8322
|
static create(e) {
|
|
8323
8323
|
const t = super.create(e);
|
|
8324
8324
|
return t.setAttribute("href", this.sanitize(e)), t.setAttribute("rel", "noopener noreferrer"), t.setAttribute("target", "_blank"), t;
|
|
@@ -8340,7 +8340,7 @@ function zu(n, e) {
|
|
|
8340
8340
|
const r = t.href.slice(0, t.href.indexOf(":"));
|
|
8341
8341
|
return e.indexOf(r) > -1;
|
|
8342
8342
|
}
|
|
8343
|
-
class
|
|
8343
|
+
class Ta extends mn {
|
|
8344
8344
|
static create(e) {
|
|
8345
8345
|
return e === "super" ? document.createElement("sup") : e === "sub" ? document.createElement("sub") : super.create(e);
|
|
8346
8346
|
}
|
|
@@ -8349,14 +8349,14 @@ class Oa extends yn {
|
|
|
8349
8349
|
if (e.tagName === "SUP") return "super";
|
|
8350
8350
|
}
|
|
8351
8351
|
}
|
|
8352
|
-
we(
|
|
8353
|
-
class
|
|
8352
|
+
we(Ta, "blotName", "script"), we(Ta, "tagName", ["SUB", "SUP"]);
|
|
8353
|
+
class Oa extends cs {
|
|
8354
8354
|
}
|
|
8355
|
-
we(
|
|
8356
|
-
class
|
|
8355
|
+
we(Oa, "blotName", "strike"), we(Oa, "tagName", ["S", "STRIKE"]);
|
|
8356
|
+
class Na extends mn {
|
|
8357
8357
|
}
|
|
8358
|
-
we(
|
|
8359
|
-
class
|
|
8358
|
+
we(Na, "blotName", "underline"), we(Na, "tagName", "U");
|
|
8359
|
+
class Vs extends Wa {
|
|
8360
8360
|
static create(e) {
|
|
8361
8361
|
if (window.katex == null)
|
|
8362
8362
|
throw new Error("Formula module requires KaTeX.");
|
|
@@ -8376,9 +8376,9 @@ class Gs extends Wa {
|
|
|
8376
8376
|
return `<span>${e}</span>`;
|
|
8377
8377
|
}
|
|
8378
8378
|
}
|
|
8379
|
-
we(
|
|
8379
|
+
we(Vs, "blotName", "formula"), we(Vs, "className", "ql-formula"), we(Vs, "tagName", "SPAN");
|
|
8380
8380
|
const fl = ["alt", "height", "width"];
|
|
8381
|
-
class
|
|
8381
|
+
class Ra extends _t {
|
|
8382
8382
|
static create(e) {
|
|
8383
8383
|
const t = super.create(e);
|
|
8384
8384
|
return typeof e == "string" && t.setAttribute("src", this.sanitize(e)), t;
|
|
@@ -8399,9 +8399,9 @@ class Ca extends _t {
|
|
|
8399
8399
|
fl.indexOf(e) > -1 ? t ? this.domNode.setAttribute(e, t) : this.domNode.removeAttribute(e) : super.format(e, t);
|
|
8400
8400
|
}
|
|
8401
8401
|
}
|
|
8402
|
-
we(
|
|
8402
|
+
we(Ra, "blotName", "image"), we(Ra, "tagName", "IMG");
|
|
8403
8403
|
const dl = ["height", "width"];
|
|
8404
|
-
class
|
|
8404
|
+
class Gs extends Wt {
|
|
8405
8405
|
static create(e) {
|
|
8406
8406
|
const t = super.create(e);
|
|
8407
8407
|
return t.setAttribute("frameborder", "0"), t.setAttribute("allowfullscreen", "true"), t.setAttribute("src", this.sanitize(e)), t;
|
|
@@ -8425,11 +8425,11 @@ class Ws extends Wt {
|
|
|
8425
8425
|
return `<a href="${e}">${e}</a>`;
|
|
8426
8426
|
}
|
|
8427
8427
|
}
|
|
8428
|
-
we(
|
|
8428
|
+
we(Gs, "blotName", "video"), we(Gs, "className", "ql-video"), we(Gs, "tagName", "IFRAME");
|
|
8429
8429
|
const Yr = new an("code-token", "hljs", {
|
|
8430
8430
|
scope: Ce.INLINE
|
|
8431
8431
|
});
|
|
8432
|
-
class In extends
|
|
8432
|
+
class In extends mn {
|
|
8433
8433
|
static formats(e, t) {
|
|
8434
8434
|
for (; e != null && e !== t.domNode; ) {
|
|
8435
8435
|
if (e.classList && e.classList.contains(Lt.className))
|
|
@@ -8504,7 +8504,7 @@ class ts extends or {
|
|
|
8504
8504
|
html(e, t) {
|
|
8505
8505
|
const [r] = this.children.find(e);
|
|
8506
8506
|
return `<pre data-language="${r ? Gt.formats(r.domNode) : "plain"}">
|
|
8507
|
-
${
|
|
8507
|
+
${fi(this.code(e, t))}
|
|
8508
8508
|
</pre>`;
|
|
8509
8509
|
}
|
|
8510
8510
|
optimize(e) {
|
|
@@ -8577,7 +8577,7 @@ class Hu extends ln {
|
|
|
8577
8577
|
highlightBlot(e) {
|
|
8578
8578
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "plain";
|
|
8579
8579
|
if (t = this.languages[t] ? t : "plain", t === "plain")
|
|
8580
|
-
return
|
|
8580
|
+
return fi(e).split(`
|
|
8581
8581
|
`).reduce((s, o, a) => (a !== 0 && s.insert(`
|
|
8582
8582
|
`, {
|
|
8583
8583
|
[Lt.blotName]: t
|
|
@@ -8985,7 +8985,7 @@ no.DEFAULTS = {
|
|
|
8985
8985
|
}
|
|
8986
8986
|
}
|
|
8987
8987
|
};
|
|
8988
|
-
const g1 = '<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>', v1 = '<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>', m1 = '<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>', b1 = '<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>', x1 = '<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>', E1 = '<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>', w1 = '<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>', gl = '<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>', A1 = '<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>', S1 = '<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>', T1 = '<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>', O1 = '<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>', N1 = '<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>', R1 = '<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>', C1 = '<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>', I1 = '<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>', L1 = '<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>', k1 = '<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>', P1 = '<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>', F1 = '<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>', M1 = '<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>', B1 = '<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>', U1 = '<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>', D1 = '<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>', j1 = '<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>', $1 = '<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>', _1 = '<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>', q1 = '<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>', z1 = '<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>', H1 = '<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>', V1 = '<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>', G1 = '<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 = {
|
|
8988
|
+
const g1 = '<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>', v1 = '<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>', m1 = '<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>', b1 = '<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>', x1 = '<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>', E1 = '<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>', w1 = '<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>', gl = '<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>', A1 = '<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>', S1 = '<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>', T1 = '<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>', O1 = '<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>', N1 = '<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>', R1 = '<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>', C1 = '<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>', I1 = '<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>', L1 = '<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>', k1 = '<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>', P1 = '<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>', F1 = '<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>', M1 = '<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>', B1 = '<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>', U1 = '<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>', D1 = '<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>', j1 = '<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>', $1 = '<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>', _1 = '<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>', q1 = '<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>', z1 = '<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>', H1 = '<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>', V1 = '<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>', G1 = '<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>', fs = {
|
|
8989
8989
|
align: {
|
|
8990
8990
|
"": g1,
|
|
8991
8991
|
center: v1,
|
|
@@ -9037,7 +9037,7 @@ let vl = 0;
|
|
|
9037
9037
|
function ml(n, e) {
|
|
9038
9038
|
n.setAttribute(e, `${n.getAttribute(e) !== "true"}`);
|
|
9039
9039
|
}
|
|
9040
|
-
class
|
|
9040
|
+
class hi {
|
|
9041
9041
|
constructor(e) {
|
|
9042
9042
|
this.select = e, this.container = document.createElement("span"), this.buildPicker(), this.select.style.display = "none", this.select.parentNode.insertBefore(this.container, this.select), this.label.addEventListener("mousedown", () => {
|
|
9043
9043
|
this.togglePicker();
|
|
@@ -9113,7 +9113,7 @@ class pi {
|
|
|
9113
9113
|
this.label.classList.toggle("ql-active", t);
|
|
9114
9114
|
}
|
|
9115
9115
|
}
|
|
9116
|
-
class Vu extends
|
|
9116
|
+
class Vu extends hi {
|
|
9117
9117
|
constructor(e, t) {
|
|
9118
9118
|
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) => {
|
|
9119
9119
|
r.classList.add("ql-primary");
|
|
@@ -9129,7 +9129,7 @@ class Vu extends pi {
|
|
|
9129
9129
|
r && (r.tagName === "line" ? r.style.stroke = s : r.style.fill = s);
|
|
9130
9130
|
}
|
|
9131
9131
|
}
|
|
9132
|
-
class Gu extends
|
|
9132
|
+
class Gu extends hi {
|
|
9133
9133
|
constructor(e, t) {
|
|
9134
9134
|
super(e), this.container.classList.add("ql-icon-picker"), Array.from(this.container.querySelectorAll(".ql-picker-item")).forEach((r) => {
|
|
9135
9135
|
r.innerHTML = t[r.getAttribute("data-value") || ""];
|
|
@@ -9175,7 +9175,7 @@ class Wu {
|
|
|
9175
9175
|
}
|
|
9176
9176
|
}
|
|
9177
9177
|
const X1 = [!1, "center", "right", "justify"], Y1 = ["#000000", "#e60000", "#ff9900", "#ffff00", "#008a00", "#0066cc", "#9933ff", "#ffffff", "#facccc", "#ffebcc", "#ffffcc", "#cce8cc", "#cce0f5", "#ebd6ff", "#bbbbbb", "#f06666", "#ffc266", "#ffff66", "#66b966", "#66a3e0", "#c285ff", "#888888", "#a10000", "#b26b00", "#b2b200", "#006100", "#0047b2", "#6b24b2", "#444444", "#5c0000", "#663d00", "#666600", "#003700", "#002966", "#3d1466"], Z1 = [!1, "serif", "monospace"], Q1 = ["1", "2", "3", !1], J1 = ["small", !1, "large", "huge"];
|
|
9178
|
-
class
|
|
9178
|
+
class ys extends Fr {
|
|
9179
9179
|
constructor(e, t) {
|
|
9180
9180
|
super(e, t);
|
|
9181
9181
|
const r = (s) => {
|
|
@@ -9218,7 +9218,7 @@ class bs extends Fr {
|
|
|
9218
9218
|
const o = s.classList.contains("ql-background") ? "background" : "color";
|
|
9219
9219
|
return s.querySelector("option") == null && Hr(s, Y1, o === "background" ? "#ffffff" : "#000000"), new Vu(s, t[o]);
|
|
9220
9220
|
}
|
|
9221
|
-
return s.querySelector("option") == null && (s.classList.contains("ql-font") ? Hr(s, Z1) : s.classList.contains("ql-header") ? Hr(s, Q1) : s.classList.contains("ql-size") && Hr(s, J1)), new
|
|
9221
|
+
return s.querySelector("option") == null && (s.classList.contains("ql-font") ? Hr(s, Z1) : s.classList.contains("ql-header") ? Hr(s, Q1) : s.classList.contains("ql-size") && Hr(s, J1)), new hi(s);
|
|
9222
9222
|
});
|
|
9223
9223
|
const r = () => {
|
|
9224
9224
|
this.pickers.forEach((s) => {
|
|
@@ -9228,7 +9228,7 @@ class bs extends Fr {
|
|
|
9228
9228
|
this.quill.on(Oe.events.EDITOR_CHANGE, r);
|
|
9229
9229
|
}
|
|
9230
9230
|
}
|
|
9231
|
-
|
|
9231
|
+
ys.DEFAULTS = _n({}, Fr.DEFAULTS, {
|
|
9232
9232
|
modules: {
|
|
9233
9233
|
toolbar: {
|
|
9234
9234
|
handlers: {
|
|
@@ -9363,15 +9363,15 @@ class Xu extends Ku {
|
|
|
9363
9363
|
}
|
|
9364
9364
|
}
|
|
9365
9365
|
we(Xu, "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(""));
|
|
9366
|
-
class Yu extends
|
|
9366
|
+
class Yu extends ys {
|
|
9367
9367
|
constructor(e, t) {
|
|
9368
9368
|
t.modules.toolbar != null && t.modules.toolbar.container == null && (t.modules.toolbar.container = ty), super(e, t), this.quill.container.classList.add("ql-bubble");
|
|
9369
9369
|
}
|
|
9370
9370
|
extendToolbar(e) {
|
|
9371
|
-
this.tooltip = new Xu(this.quill, this.options.bounds), e.container != null && (this.tooltip.root.appendChild(e.container), this.buildButtons(e.container.querySelectorAll("button"),
|
|
9371
|
+
this.tooltip = new Xu(this.quill, this.options.bounds), e.container != null && (this.tooltip.root.appendChild(e.container), this.buildButtons(e.container.querySelectorAll("button"), fs), this.buildPickers(e.container.querySelectorAll("select"), fs));
|
|
9372
9372
|
}
|
|
9373
9373
|
}
|
|
9374
|
-
Yu.DEFAULTS = _n({},
|
|
9374
|
+
Yu.DEFAULTS = _n({}, ys.DEFAULTS, {
|
|
9375
9375
|
modules: {
|
|
9376
9376
|
toolbar: {
|
|
9377
9377
|
handlers: {
|
|
@@ -9426,12 +9426,12 @@ class Zu extends Ku {
|
|
|
9426
9426
|
}
|
|
9427
9427
|
}
|
|
9428
9428
|
we(Zu, "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(""));
|
|
9429
|
-
class Qu extends
|
|
9429
|
+
class Qu extends ys {
|
|
9430
9430
|
constructor(e, t) {
|
|
9431
9431
|
t.modules.toolbar != null && t.modules.toolbar.container == null && (t.modules.toolbar.container = ny), super(e, t), this.quill.container.classList.add("ql-snow");
|
|
9432
9432
|
}
|
|
9433
9433
|
extendToolbar(e) {
|
|
9434
|
-
e.container != null && (e.container.classList.add("ql-snow"), this.buildButtons(e.container.querySelectorAll("button"),
|
|
9434
|
+
e.container != null && (e.container.classList.add("ql-snow"), this.buildButtons(e.container.querySelectorAll("button"), fs), this.buildPickers(e.container.querySelectorAll("select"), fs), this.tooltip = new Zu(this.quill, this.options.bounds), e.container.querySelector(".ql-link") && this.quill.keyboard.addBinding({
|
|
9435
9435
|
key: "k",
|
|
9436
9436
|
shortKey: !0
|
|
9437
9437
|
}, (t, r) => {
|
|
@@ -9439,7 +9439,7 @@ class Qu extends bs {
|
|
|
9439
9439
|
}));
|
|
9440
9440
|
}
|
|
9441
9441
|
}
|
|
9442
|
-
Qu.DEFAULTS = _n({},
|
|
9442
|
+
Qu.DEFAULTS = _n({}, ys.DEFAULTS, {
|
|
9443
9443
|
modules: {
|
|
9444
9444
|
toolbar: {
|
|
9445
9445
|
handlers: {
|
|
@@ -9483,27 +9483,27 @@ le.register({
|
|
|
9483
9483
|
"formats/color": Xa,
|
|
9484
9484
|
"formats/font": Mu,
|
|
9485
9485
|
"formats/size": Uu,
|
|
9486
|
-
"formats/blockquote":
|
|
9486
|
+
"formats/blockquote": wa,
|
|
9487
9487
|
"formats/code-block": Lt,
|
|
9488
|
-
"formats/header":
|
|
9489
|
-
"formats/list":
|
|
9490
|
-
"formats/bold":
|
|
9488
|
+
"formats/header": Aa,
|
|
9489
|
+
"formats/list": ms,
|
|
9490
|
+
"formats/bold": cs,
|
|
9491
9491
|
"formats/code": Za,
|
|
9492
|
-
"formats/italic":
|
|
9492
|
+
"formats/italic": Sa,
|
|
9493
9493
|
"formats/link": $n,
|
|
9494
|
-
"formats/script":
|
|
9495
|
-
"formats/strike":
|
|
9496
|
-
"formats/underline":
|
|
9497
|
-
"formats/formula":
|
|
9498
|
-
"formats/image":
|
|
9499
|
-
"formats/video":
|
|
9494
|
+
"formats/script": Ta,
|
|
9495
|
+
"formats/strike": Oa,
|
|
9496
|
+
"formats/underline": Na,
|
|
9497
|
+
"formats/formula": Vs,
|
|
9498
|
+
"formats/image": Ra,
|
|
9499
|
+
"formats/video": Gs,
|
|
9500
9500
|
"modules/syntax": Hu,
|
|
9501
9501
|
"modules/table": d1,
|
|
9502
9502
|
"modules/toolbar": no,
|
|
9503
9503
|
"themes/bubble": Yu,
|
|
9504
9504
|
"themes/snow": Qu,
|
|
9505
|
-
"ui/icons":
|
|
9506
|
-
"ui/picker":
|
|
9505
|
+
"ui/icons": fs,
|
|
9506
|
+
"ui/picker": hi,
|
|
9507
9507
|
"ui/icon-picker": Gu,
|
|
9508
9508
|
"ui/color-picker": Vu,
|
|
9509
9509
|
"ui/tooltip": Wu
|
|
@@ -9541,7 +9541,7 @@ const ry = {
|
|
|
9541
9541
|
setup(n, { emit: e }) {
|
|
9542
9542
|
const t = _e(null);
|
|
9543
9543
|
let r = null;
|
|
9544
|
-
return
|
|
9544
|
+
return si(() => {
|
|
9545
9545
|
r = new le(t.value, n.options), r.root.innerHTML = n.modelValue, r.on("text-change", () => {
|
|
9546
9546
|
e("update:modelValue", r.root.innerHTML);
|
|
9547
9547
|
});
|
|
@@ -9562,7 +9562,7 @@ function ay(n, e, t, r, s, o) {
|
|
|
9562
9562
|
oe("div", iy, null, 512)
|
|
9563
9563
|
]);
|
|
9564
9564
|
}
|
|
9565
|
-
const oy = /* @__PURE__ */
|
|
9565
|
+
const oy = /* @__PURE__ */ ii(ry, [["render", ay]]), ly = { class: "rounded-xl bg-gray-50 px-6 py-5" }, uy = {
|
|
9566
9566
|
key: 0,
|
|
9567
9567
|
class: "pb-5"
|
|
9568
9568
|
}, cy = { class: "text-lg font-semibold text-gray-900" }, fy = {
|
|
@@ -9595,29 +9595,29 @@ function Ju(n, e) {
|
|
|
9595
9595
|
return n.apply(e, arguments);
|
|
9596
9596
|
};
|
|
9597
9597
|
}
|
|
9598
|
-
const { toString: dy } = Object.prototype, { getPrototypeOf: ro } = Object, { iterator:
|
|
9598
|
+
const { toString: dy } = Object.prototype, { getPrototypeOf: ro } = Object, { iterator: pi, toStringTag: ec } = Symbol, gi = /* @__PURE__ */ ((n) => (e) => {
|
|
9599
9599
|
const t = dy.call(e);
|
|
9600
9600
|
return n[t] || (n[t] = t.slice(8, -1).toLowerCase());
|
|
9601
|
-
})(/* @__PURE__ */ Object.create(null)), un = (n) => (n = n.toLowerCase(), (e) =>
|
|
9601
|
+
})(/* @__PURE__ */ Object.create(null)), un = (n) => (n = n.toLowerCase(), (e) => gi(e) === n), vi = (n) => (e) => typeof e === n, { isArray: Ur } = Array, ds = vi("undefined");
|
|
9602
9602
|
function hy(n) {
|
|
9603
|
-
return n !== null && !
|
|
9603
|
+
return n !== null && !ds(n) && n.constructor !== null && !ds(n.constructor) && Ut(n.constructor.isBuffer) && n.constructor.isBuffer(n);
|
|
9604
9604
|
}
|
|
9605
9605
|
const tc = un("ArrayBuffer");
|
|
9606
9606
|
function py(n) {
|
|
9607
9607
|
let e;
|
|
9608
9608
|
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? e = ArrayBuffer.isView(n) : e = n && n.buffer && tc(n.buffer), e;
|
|
9609
9609
|
}
|
|
9610
|
-
const gy =
|
|
9611
|
-
if (
|
|
9610
|
+
const gy = vi("string"), Ut = vi("function"), nc = vi("number"), mi = (n) => n !== null && typeof n == "object", vy = (n) => n === !0 || n === !1, Ws = (n) => {
|
|
9611
|
+
if (gi(n) !== "object")
|
|
9612
9612
|
return !1;
|
|
9613
9613
|
const e = ro(n);
|
|
9614
|
-
return (e === null || e === Object.prototype || Object.getPrototypeOf(e) === null) && !(ec in n) && !(
|
|
9615
|
-
}, my = un("Date"), yy = un("File"), by = un("Blob"), xy = un("FileList"), Ey = (n) =>
|
|
9614
|
+
return (e === null || e === Object.prototype || Object.getPrototypeOf(e) === null) && !(ec in n) && !(pi in n);
|
|
9615
|
+
}, my = un("Date"), yy = un("File"), by = un("Blob"), xy = un("FileList"), Ey = (n) => mi(n) && Ut(n.pipe), wy = (n) => {
|
|
9616
9616
|
let e;
|
|
9617
|
-
return n && (typeof FormData == "function" && n instanceof FormData || Ut(n.append) && ((e =
|
|
9617
|
+
return n && (typeof FormData == "function" && n instanceof FormData || Ut(n.append) && ((e = gi(n)) === "formdata" || // detect form-data instance
|
|
9618
9618
|
e === "object" && Ut(n.toString) && n.toString() === "[object FormData]"));
|
|
9619
9619
|
}, Ay = un("URLSearchParams"), [Sy, Ty, Oy, Ny] = ["ReadableStream", "Request", "Response", "Headers"].map(un), Ry = (n) => n.trim ? n.trim() : n.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
9620
|
-
function
|
|
9620
|
+
function bs(n, e, { allOwnKeys: t = !1 } = {}) {
|
|
9621
9621
|
if (n === null || typeof n > "u")
|
|
9622
9622
|
return;
|
|
9623
9623
|
let r, s;
|
|
@@ -9640,17 +9640,17 @@ function rc(n, e) {
|
|
|
9640
9640
|
return s;
|
|
9641
9641
|
return null;
|
|
9642
9642
|
}
|
|
9643
|
-
const Xn = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, sc = (n) => !
|
|
9644
|
-
function
|
|
9643
|
+
const Xn = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, sc = (n) => !ds(n) && n !== Xn;
|
|
9644
|
+
function Ca() {
|
|
9645
9645
|
const { caseless: n } = sc(this) && this || {}, e = {}, t = (r, s) => {
|
|
9646
9646
|
const o = n && rc(e, s) || s;
|
|
9647
|
-
|
|
9647
|
+
Ws(e[o]) && Ws(r) ? e[o] = Ca(e[o], r) : Ws(r) ? e[o] = Ca({}, r) : Ur(r) ? e[o] = r.slice() : e[o] = r;
|
|
9648
9648
|
};
|
|
9649
9649
|
for (let r = 0, s = arguments.length; r < s; r++)
|
|
9650
|
-
arguments[r] &&
|
|
9650
|
+
arguments[r] && bs(arguments[r], t);
|
|
9651
9651
|
return e;
|
|
9652
9652
|
}
|
|
9653
|
-
const Cy = (n, e, t, { allOwnKeys: r } = {}) => (
|
|
9653
|
+
const Cy = (n, e, t, { allOwnKeys: r } = {}) => (bs(e, (s, o) => {
|
|
9654
9654
|
t && Ut(s) ? n[o] = Ju(s, t) : n[o] = s;
|
|
9655
9655
|
}, { allOwnKeys: r }), n), Iy = (n) => (n.charCodeAt(0) === 65279 && (n = n.slice(1)), n), Ly = (n, e, t, r) => {
|
|
9656
9656
|
n.prototype = Object.create(e.prototype, r), n.prototype.constructor = n, Object.defineProperty(n, "super", {
|
|
@@ -9680,7 +9680,7 @@ const Cy = (n, e, t, { allOwnKeys: r } = {}) => (xs(e, (s, o) => {
|
|
|
9680
9680
|
t[e] = n[e];
|
|
9681
9681
|
return t;
|
|
9682
9682
|
}, My = /* @__PURE__ */ ((n) => (e) => n && e instanceof n)(typeof Uint8Array < "u" && ro(Uint8Array)), By = (n, e) => {
|
|
9683
|
-
const r = (n && n[
|
|
9683
|
+
const r = (n && n[pi]).call(n);
|
|
9684
9684
|
let s;
|
|
9685
9685
|
for (; (s = r.next()) && !s.done; ) {
|
|
9686
9686
|
const o = s.value;
|
|
@@ -9699,7 +9699,7 @@ const Cy = (n, e, t, { allOwnKeys: r } = {}) => (xs(e, (s, o) => {
|
|
|
9699
9699
|
}
|
|
9700
9700
|
), yl = (({ hasOwnProperty: n }) => (e, t) => n.call(e, t))(Object.prototype), $y = un("RegExp"), ic = (n, e) => {
|
|
9701
9701
|
const t = Object.getOwnPropertyDescriptors(n), r = {};
|
|
9702
|
-
|
|
9702
|
+
bs(t, (s, o) => {
|
|
9703
9703
|
let a;
|
|
9704
9704
|
(a = e(s, o, n)) !== !1 && (r[o] = a || s);
|
|
9705
9705
|
}), Object.defineProperties(n, r);
|
|
@@ -9728,33 +9728,33 @@ const Cy = (n, e, t, { allOwnKeys: r } = {}) => (xs(e, (s, o) => {
|
|
|
9728
9728
|
}, zy = () => {
|
|
9729
9729
|
}, Hy = (n, e) => n != null && Number.isFinite(n = +n) ? n : e;
|
|
9730
9730
|
function Vy(n) {
|
|
9731
|
-
return !!(n && Ut(n.append) && n[ec] === "FormData" && n[
|
|
9731
|
+
return !!(n && Ut(n.append) && n[ec] === "FormData" && n[pi]);
|
|
9732
9732
|
}
|
|
9733
9733
|
const Gy = (n) => {
|
|
9734
9734
|
const e = new Array(10), t = (r, s) => {
|
|
9735
|
-
if (
|
|
9735
|
+
if (mi(r)) {
|
|
9736
9736
|
if (e.indexOf(r) >= 0)
|
|
9737
9737
|
return;
|
|
9738
9738
|
if (!("toJSON" in r)) {
|
|
9739
9739
|
e[s] = r;
|
|
9740
9740
|
const o = Ur(r) ? [] : {};
|
|
9741
|
-
return
|
|
9741
|
+
return bs(r, (a, u) => {
|
|
9742
9742
|
const i = t(a, s + 1);
|
|
9743
|
-
!
|
|
9743
|
+
!ds(i) && (o[u] = i);
|
|
9744
9744
|
}), e[s] = void 0, o;
|
|
9745
9745
|
}
|
|
9746
9746
|
}
|
|
9747
9747
|
return r;
|
|
9748
9748
|
};
|
|
9749
9749
|
return t(n, 0);
|
|
9750
|
-
}, Wy = un("AsyncFunction"), Ky = (n) => n && (
|
|
9750
|
+
}, Wy = un("AsyncFunction"), Ky = (n) => n && (mi(n) || Ut(n)) && Ut(n.then) && Ut(n.catch), ac = ((n, e) => n ? setImmediate : e ? ((t, r) => (Xn.addEventListener("message", ({ source: s, data: o }) => {
|
|
9751
9751
|
s === Xn && o === t && r.length && r.shift()();
|
|
9752
9752
|
}, !1), (s) => {
|
|
9753
9753
|
r.push(s), Xn.postMessage(t, "*");
|
|
9754
9754
|
}))(`axios@${Math.random()}`, []) : (t) => setTimeout(t))(
|
|
9755
9755
|
typeof setImmediate == "function",
|
|
9756
9756
|
Ut(Xn.postMessage)
|
|
9757
|
-
), Xy = typeof queueMicrotask < "u" ? queueMicrotask.bind(Xn) : typeof process < "u" && process.nextTick || ac, Yy = (n) => n != null && Ut(n[
|
|
9757
|
+
), Xy = typeof queueMicrotask < "u" ? queueMicrotask.bind(Xn) : typeof process < "u" && process.nextTick || ac, Yy = (n) => n != null && Ut(n[pi]), te = {
|
|
9758
9758
|
isArray: Ur,
|
|
9759
9759
|
isArrayBuffer: tc,
|
|
9760
9760
|
isBuffer: hy,
|
|
@@ -9763,13 +9763,13 @@ const Gy = (n) => {
|
|
|
9763
9763
|
isString: gy,
|
|
9764
9764
|
isNumber: nc,
|
|
9765
9765
|
isBoolean: vy,
|
|
9766
|
-
isObject:
|
|
9767
|
-
isPlainObject:
|
|
9766
|
+
isObject: mi,
|
|
9767
|
+
isPlainObject: Ws,
|
|
9768
9768
|
isReadableStream: Sy,
|
|
9769
9769
|
isRequest: Ty,
|
|
9770
9770
|
isResponse: Oy,
|
|
9771
9771
|
isHeaders: Ny,
|
|
9772
|
-
isUndefined:
|
|
9772
|
+
isUndefined: ds,
|
|
9773
9773
|
isDate: my,
|
|
9774
9774
|
isFile: yy,
|
|
9775
9775
|
isBlob: by,
|
|
@@ -9779,14 +9779,14 @@ const Gy = (n) => {
|
|
|
9779
9779
|
isURLSearchParams: Ay,
|
|
9780
9780
|
isTypedArray: My,
|
|
9781
9781
|
isFileList: xy,
|
|
9782
|
-
forEach:
|
|
9783
|
-
merge:
|
|
9782
|
+
forEach: bs,
|
|
9783
|
+
merge: Ca,
|
|
9784
9784
|
extend: Cy,
|
|
9785
9785
|
trim: Ry,
|
|
9786
9786
|
stripBOM: Iy,
|
|
9787
9787
|
inherits: Ly,
|
|
9788
9788
|
toFlatObject: ky,
|
|
9789
|
-
kindOf:
|
|
9789
|
+
kindOf: gi,
|
|
9790
9790
|
kindOfTest: un,
|
|
9791
9791
|
endsWith: Py,
|
|
9792
9792
|
toArray: Fy,
|
|
@@ -9864,7 +9864,7 @@ De.from = (n, e, t, r, s, o) => {
|
|
|
9864
9864
|
}, (u) => u !== "isAxiosError"), De.call(a, n.message, e, t, r, s), a.cause = n, a.name = n.name, o && Object.assign(a, o), a;
|
|
9865
9865
|
};
|
|
9866
9866
|
const Zy = null;
|
|
9867
|
-
function
|
|
9867
|
+
function Ia(n) {
|
|
9868
9868
|
return te.isPlainObject(n) || te.isArray(n);
|
|
9869
9869
|
}
|
|
9870
9870
|
function uc(n) {
|
|
@@ -9876,12 +9876,12 @@ function bl(n, e, t) {
|
|
|
9876
9876
|
}).join(t ? "." : "") : e;
|
|
9877
9877
|
}
|
|
9878
9878
|
function Qy(n) {
|
|
9879
|
-
return te.isArray(n) && !n.some(
|
|
9879
|
+
return te.isArray(n) && !n.some(Ia);
|
|
9880
9880
|
}
|
|
9881
9881
|
const Jy = te.toFlatObject(te, {}, null, function(e) {
|
|
9882
9882
|
return /^is[A-Z]/.test(e);
|
|
9883
9883
|
});
|
|
9884
|
-
function
|
|
9884
|
+
function yi(n, e, t) {
|
|
9885
9885
|
if (!te.isObject(n))
|
|
9886
9886
|
throw new TypeError("target must be an object");
|
|
9887
9887
|
e = e || new FormData(), t = te.toFlatObject(t, {
|
|
@@ -9916,12 +9916,12 @@ function bi(n, e, t) {
|
|
|
9916
9916
|
);
|
|
9917
9917
|
}), !1;
|
|
9918
9918
|
}
|
|
9919
|
-
return
|
|
9919
|
+
return Ia(p) ? !0 : (e.append(bl(b, v, o), l(p)), !1);
|
|
9920
9920
|
}
|
|
9921
9921
|
const d = [], f = Object.assign(Jy, {
|
|
9922
9922
|
defaultVisitor: c,
|
|
9923
9923
|
convertValue: l,
|
|
9924
|
-
isVisitable:
|
|
9924
|
+
isVisitable: Ia
|
|
9925
9925
|
});
|
|
9926
9926
|
function g(p, v) {
|
|
9927
9927
|
if (!te.isUndefined(p)) {
|
|
@@ -9957,7 +9957,7 @@ function xl(n) {
|
|
|
9957
9957
|
});
|
|
9958
9958
|
}
|
|
9959
9959
|
function so(n, e) {
|
|
9960
|
-
this._pairs = [], n &&
|
|
9960
|
+
this._pairs = [], n && yi(n, this, e);
|
|
9961
9961
|
}
|
|
9962
9962
|
const cc = so.prototype;
|
|
9963
9963
|
cc.append = function(e, t) {
|
|
@@ -10055,20 +10055,20 @@ const dc = {
|
|
|
10055
10055
|
Blob: rb
|
|
10056
10056
|
},
|
|
10057
10057
|
protocols: ["http", "https", "file", "blob", "url", "data"]
|
|
10058
|
-
}, io = typeof window < "u" && typeof document < "u",
|
|
10058
|
+
}, io = typeof window < "u" && typeof document < "u", La = typeof navigator == "object" && navigator || void 0, ib = io && (!La || ["ReactNative", "NativeScript", "NS"].indexOf(La.product) < 0), ab = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
|
|
10059
10059
|
self instanceof WorkerGlobalScope && typeof self.importScripts == "function", ob = io && window.location.href || "http://localhost", lb = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10060
10060
|
__proto__: null,
|
|
10061
10061
|
hasBrowserEnv: io,
|
|
10062
10062
|
hasStandardBrowserEnv: ib,
|
|
10063
10063
|
hasStandardBrowserWebWorkerEnv: ab,
|
|
10064
|
-
navigator:
|
|
10064
|
+
navigator: La,
|
|
10065
10065
|
origin: ob
|
|
10066
10066
|
}, Symbol.toStringTag, { value: "Module" })), It = {
|
|
10067
10067
|
...lb,
|
|
10068
10068
|
...sb
|
|
10069
10069
|
};
|
|
10070
10070
|
function ub(n, e) {
|
|
10071
|
-
return
|
|
10071
|
+
return yi(n, new It.classes.URLSearchParams(), Object.assign({
|
|
10072
10072
|
visitor: function(t, r, s, o) {
|
|
10073
10073
|
return It.isNode && te.isBuffer(t) ? (this.append(r, t.toString("base64")), !1) : o.defaultVisitor.apply(this, arguments);
|
|
10074
10074
|
}
|
|
@@ -10111,7 +10111,7 @@ function db(n, e, t) {
|
|
|
10111
10111
|
}
|
|
10112
10112
|
return (t || JSON.stringify)(n);
|
|
10113
10113
|
}
|
|
10114
|
-
const
|
|
10114
|
+
const xs = {
|
|
10115
10115
|
transitional: dc,
|
|
10116
10116
|
adapter: ["xhr", "http", "fetch"],
|
|
10117
10117
|
transformRequest: [function(e, t) {
|
|
@@ -10130,7 +10130,7 @@ const Es = {
|
|
|
10130
10130
|
return ub(e, this.formSerializer).toString();
|
|
10131
10131
|
if ((u = te.isFileList(e)) || r.indexOf("multipart/form-data") > -1) {
|
|
10132
10132
|
const i = this.env && this.env.FormData;
|
|
10133
|
-
return
|
|
10133
|
+
return yi(
|
|
10134
10134
|
u ? { "files[]": e } : e,
|
|
10135
10135
|
i && new i(),
|
|
10136
10136
|
this.formSerializer
|
|
@@ -10140,7 +10140,7 @@ const Es = {
|
|
|
10140
10140
|
return o || s ? (t.setContentType("application/json", !1), db(e)) : e;
|
|
10141
10141
|
}],
|
|
10142
10142
|
transformResponse: [function(e) {
|
|
10143
|
-
const t = this.transitional ||
|
|
10143
|
+
const t = this.transitional || xs.transitional, r = t && t.forcedJSONParsing, s = this.responseType === "json";
|
|
10144
10144
|
if (te.isResponse(e) || te.isReadableStream(e))
|
|
10145
10145
|
return e;
|
|
10146
10146
|
if (e && te.isString(e) && (r && !this.responseType || s)) {
|
|
@@ -10178,7 +10178,7 @@ const Es = {
|
|
|
10178
10178
|
}
|
|
10179
10179
|
};
|
|
10180
10180
|
te.forEach(["delete", "get", "head", "post", "put", "patch"], (n) => {
|
|
10181
|
-
|
|
10181
|
+
xs.headers[n] = {};
|
|
10182
10182
|
});
|
|
10183
10183
|
const hb = te.toObjectSet([
|
|
10184
10184
|
"age",
|
|
@@ -10209,8 +10209,8 @@ const hb = te.toObjectSet([
|
|
|
10209
10209
|
function Gr(n) {
|
|
10210
10210
|
return n && String(n).trim().toLowerCase();
|
|
10211
10211
|
}
|
|
10212
|
-
function
|
|
10213
|
-
return n === !1 || n == null ? n : te.isArray(n) ? n.map(
|
|
10212
|
+
function Ks(n) {
|
|
10213
|
+
return n === !1 || n == null ? n : te.isArray(n) ? n.map(Ks) : String(n);
|
|
10214
10214
|
}
|
|
10215
10215
|
function gb(n) {
|
|
10216
10216
|
const e = /* @__PURE__ */ Object.create(null), t = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
|
|
@@ -10220,7 +10220,7 @@ function gb(n) {
|
|
|
10220
10220
|
return e;
|
|
10221
10221
|
}
|
|
10222
10222
|
const vb = (n) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(n.trim());
|
|
10223
|
-
function
|
|
10223
|
+
function Yi(n, e, t, r, s) {
|
|
10224
10224
|
if (te.isFunction(r))
|
|
10225
10225
|
return r.call(this, e, t);
|
|
10226
10226
|
if (s && (e = t), !!te.isString(e)) {
|
|
@@ -10255,7 +10255,7 @@ let Dt = class {
|
|
|
10255
10255
|
if (!c)
|
|
10256
10256
|
throw new Error("header name must be a non-empty string");
|
|
10257
10257
|
const d = te.findKey(s, c);
|
|
10258
|
-
(!d || s[d] === void 0 || l === !0 || l === void 0 && s[d] !== !1) && (s[d || i] =
|
|
10258
|
+
(!d || s[d] === void 0 || l === !0 || l === void 0 && s[d] !== !1) && (s[d || i] = Ks(u));
|
|
10259
10259
|
}
|
|
10260
10260
|
const a = (u, i) => te.forEach(u, (l, c) => o(l, c, i));
|
|
10261
10261
|
if (te.isPlainObject(e) || e instanceof this.constructor)
|
|
@@ -10294,7 +10294,7 @@ let Dt = class {
|
|
|
10294
10294
|
has(e, t) {
|
|
10295
10295
|
if (e = Gr(e), e) {
|
|
10296
10296
|
const r = te.findKey(this, e);
|
|
10297
|
-
return !!(r && this[r] !== void 0 && (!t ||
|
|
10297
|
+
return !!(r && this[r] !== void 0 && (!t || Yi(this, this[r], r, t)));
|
|
10298
10298
|
}
|
|
10299
10299
|
return !1;
|
|
10300
10300
|
}
|
|
@@ -10304,7 +10304,7 @@ let Dt = class {
|
|
|
10304
10304
|
function o(a) {
|
|
10305
10305
|
if (a = Gr(a), a) {
|
|
10306
10306
|
const u = te.findKey(r, a);
|
|
10307
|
-
u && (!t ||
|
|
10307
|
+
u && (!t || Yi(r, r[u], u, t)) && (delete r[u], s = !0);
|
|
10308
10308
|
}
|
|
10309
10309
|
}
|
|
10310
10310
|
return te.isArray(e) ? e.forEach(o) : o(e), s;
|
|
@@ -10314,7 +10314,7 @@ let Dt = class {
|
|
|
10314
10314
|
let r = t.length, s = !1;
|
|
10315
10315
|
for (; r--; ) {
|
|
10316
10316
|
const o = t[r];
|
|
10317
|
-
(!e ||
|
|
10317
|
+
(!e || Yi(this, this[o], o, e, !0)) && (delete this[o], s = !0);
|
|
10318
10318
|
}
|
|
10319
10319
|
return s;
|
|
10320
10320
|
}
|
|
@@ -10323,11 +10323,11 @@ let Dt = class {
|
|
|
10323
10323
|
return te.forEach(this, (s, o) => {
|
|
10324
10324
|
const a = te.findKey(r, o);
|
|
10325
10325
|
if (a) {
|
|
10326
|
-
t[a] =
|
|
10326
|
+
t[a] = Ks(s), delete t[o];
|
|
10327
10327
|
return;
|
|
10328
10328
|
}
|
|
10329
10329
|
const u = e ? mb(o) : String(o).trim();
|
|
10330
|
-
u !== o && delete t[o], t[u] =
|
|
10330
|
+
u !== o && delete t[o], t[u] = Ks(s), r[u] = !0;
|
|
10331
10331
|
}), this;
|
|
10332
10332
|
}
|
|
10333
10333
|
concat(...e) {
|
|
@@ -10381,8 +10381,8 @@ te.reduceDescriptors(Dt.prototype, ({ value: n }, e) => {
|
|
|
10381
10381
|
};
|
|
10382
10382
|
});
|
|
10383
10383
|
te.freezeMethods(Dt);
|
|
10384
|
-
function
|
|
10385
|
-
const t = this ||
|
|
10384
|
+
function Zi(n, e) {
|
|
10385
|
+
const t = this || xs, r = e || t, s = Dt.from(r.headers);
|
|
10386
10386
|
let o = r.data;
|
|
10387
10387
|
return te.forEach(n, function(u) {
|
|
10388
10388
|
o = u.call(t, o, s.normalize(), e ? e.status : void 0);
|
|
@@ -10439,7 +10439,7 @@ function Eb(n, e) {
|
|
|
10439
10439
|
}, r - d)));
|
|
10440
10440
|
}, () => s && a(s)];
|
|
10441
10441
|
}
|
|
10442
|
-
const
|
|
10442
|
+
const ti = (n, e, t = 3) => {
|
|
10443
10443
|
let r = 0;
|
|
10444
10444
|
const s = xb(50, 250);
|
|
10445
10445
|
return Eb((o) => {
|
|
@@ -10638,7 +10638,7 @@ const mc = (n) => {
|
|
|
10638
10638
|
)), b = null;
|
|
10639
10639
|
}, o === void 0 && a.setContentType(null), "setRequestHeader" in b && te.forEach(a.toJSON(), function(F, M) {
|
|
10640
10640
|
b.setRequestHeader(M, F);
|
|
10641
|
-
}), te.isUndefined(s.withCredentials) || (b.withCredentials = !!s.withCredentials), u && u !== "json" && (b.responseType = s.responseType), l && ([f, p] =
|
|
10641
|
+
}), te.isUndefined(s.withCredentials) || (b.withCredentials = !!s.withCredentials), u && u !== "json" && (b.responseType = s.responseType), l && ([f, p] = ti(l, !0), b.addEventListener("progress", f)), i && b.upload && ([d, g] = ti(i), b.upload.addEventListener("progress", d), b.upload.addEventListener("loadend", g)), (s.cancelToken || s.signal) && (c = (C) => {
|
|
10642
10642
|
b && (r(!C || C.type ? new Dr(null, n, b) : C), b.abort(), b = null);
|
|
10643
10643
|
}, s.cancelToken && s.cancelToken.subscribe(c), s.signal && (s.signal.aborted ? c() : s.signal.addEventListener("abort", c)));
|
|
10644
10644
|
const A = bb(s.url);
|
|
@@ -10728,7 +10728,7 @@ const mc = (n) => {
|
|
|
10728
10728
|
}, {
|
|
10729
10729
|
highWaterMark: 2
|
|
10730
10730
|
});
|
|
10731
|
-
},
|
|
10731
|
+
}, bi = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", yc = bi && typeof ReadableStream == "function", kb = bi && (typeof TextEncoder == "function" ? /* @__PURE__ */ ((n) => (e) => n.encode(e))(new TextEncoder()) : async (n) => new Uint8Array(await new Response(n).arrayBuffer())), bc = (n, ...e) => {
|
|
10732
10732
|
try {
|
|
10733
10733
|
return !!n(...e);
|
|
10734
10734
|
} catch {
|
|
@@ -10744,12 +10744,12 @@ const mc = (n) => {
|
|
|
10744
10744
|
}
|
|
10745
10745
|
}).headers.has("Content-Type");
|
|
10746
10746
|
return n && !e;
|
|
10747
|
-
}), Nl = 64 * 1024,
|
|
10748
|
-
stream:
|
|
10747
|
+
}), Nl = 64 * 1024, ka = yc && bc(() => te.isReadableStream(new Response("").body)), ni = {
|
|
10748
|
+
stream: ka && ((n) => n.body)
|
|
10749
10749
|
};
|
|
10750
|
-
|
|
10750
|
+
bi && ((n) => {
|
|
10751
10751
|
["text", "arrayBuffer", "blob", "formData", "stream"].forEach((e) => {
|
|
10752
|
-
!
|
|
10752
|
+
!ni[e] && (ni[e] = te.isFunction(n[e]) ? (t) => t[e]() : (t, r) => {
|
|
10753
10753
|
throw new De(`Response type '${e}' is not supported`, De.ERR_NOT_SUPPORT, r);
|
|
10754
10754
|
});
|
|
10755
10755
|
});
|
|
@@ -10771,7 +10771,7 @@ const Fb = async (n) => {
|
|
|
10771
10771
|
}, Mb = async (n, e) => {
|
|
10772
10772
|
const t = te.toFiniteNumber(n.getContentLength());
|
|
10773
10773
|
return t ?? Fb(e);
|
|
10774
|
-
}, Bb =
|
|
10774
|
+
}, Bb = bi && (async (n) => {
|
|
10775
10775
|
let {
|
|
10776
10776
|
url: e,
|
|
10777
10777
|
method: t,
|
|
@@ -10802,7 +10802,7 @@ const Fb = async (n) => {
|
|
|
10802
10802
|
if (te.isFormData(r) && (z = M.headers.get("content-type")) && c.setContentType(z), M.body) {
|
|
10803
10803
|
const [K, H] = Al(
|
|
10804
10804
|
b,
|
|
10805
|
-
|
|
10805
|
+
ti(Sl(i))
|
|
10806
10806
|
);
|
|
10807
10807
|
r = Ol(M.body, Nl, K, H);
|
|
10808
10808
|
}
|
|
@@ -10819,15 +10819,15 @@ const Fb = async (n) => {
|
|
|
10819
10819
|
credentials: S ? d : void 0
|
|
10820
10820
|
});
|
|
10821
10821
|
let A = await fetch(p);
|
|
10822
|
-
const C =
|
|
10823
|
-
if (
|
|
10822
|
+
const C = ka && (l === "stream" || l === "response");
|
|
10823
|
+
if (ka && (u || C && v)) {
|
|
10824
10824
|
const M = {};
|
|
10825
10825
|
["status", "statusText", "headers"].forEach((ne) => {
|
|
10826
10826
|
M[ne] = A[ne];
|
|
10827
10827
|
});
|
|
10828
10828
|
const z = te.toFiniteNumber(A.headers.get("content-length")), [K, H] = u && Al(
|
|
10829
10829
|
z,
|
|
10830
|
-
|
|
10830
|
+
ti(Sl(u), !0)
|
|
10831
10831
|
) || [];
|
|
10832
10832
|
A = new Response(
|
|
10833
10833
|
Ol(A.body, Nl, K, () => {
|
|
@@ -10837,7 +10837,7 @@ const Fb = async (n) => {
|
|
|
10837
10837
|
);
|
|
10838
10838
|
}
|
|
10839
10839
|
l = l || "text";
|
|
10840
|
-
let F = await
|
|
10840
|
+
let F = await ni[te.findKey(ni, l) || "text"](A, n);
|
|
10841
10841
|
return !C && v && v(), await new Promise((M, z) => {
|
|
10842
10842
|
gc(M, z, {
|
|
10843
10843
|
data: F,
|
|
@@ -10856,12 +10856,12 @@ const Fb = async (n) => {
|
|
|
10856
10856
|
}
|
|
10857
10857
|
) : De.from(S, S && S.code, n, p);
|
|
10858
10858
|
}
|
|
10859
|
-
}),
|
|
10859
|
+
}), Pa = {
|
|
10860
10860
|
http: Zy,
|
|
10861
10861
|
xhr: Nb,
|
|
10862
10862
|
fetch: Bb
|
|
10863
10863
|
};
|
|
10864
|
-
te.forEach(
|
|
10864
|
+
te.forEach(Pa, (n, e) => {
|
|
10865
10865
|
if (n) {
|
|
10866
10866
|
try {
|
|
10867
10867
|
Object.defineProperty(n, "name", { value: e });
|
|
@@ -10879,7 +10879,7 @@ const Rl = (n) => `- ${n}`, Ub = (n) => te.isFunction(n) || n === null || n ===
|
|
|
10879
10879
|
for (let o = 0; o < e; o++) {
|
|
10880
10880
|
t = n[o];
|
|
10881
10881
|
let a;
|
|
10882
|
-
if (r = t, !Ub(t) && (r =
|
|
10882
|
+
if (r = t, !Ub(t) && (r = Pa[(a = String(t)).toLowerCase()], r === void 0))
|
|
10883
10883
|
throw new De(`Unknown adapter '${a}'`);
|
|
10884
10884
|
if (r)
|
|
10885
10885
|
break;
|
|
@@ -10899,38 +10899,38 @@ const Rl = (n) => `- ${n}`, Ub = (n) => te.isFunction(n) || n === null || n ===
|
|
|
10899
10899
|
}
|
|
10900
10900
|
return r;
|
|
10901
10901
|
},
|
|
10902
|
-
adapters:
|
|
10902
|
+
adapters: Pa
|
|
10903
10903
|
};
|
|
10904
|
-
function
|
|
10904
|
+
function Qi(n) {
|
|
10905
10905
|
if (n.cancelToken && n.cancelToken.throwIfRequested(), n.signal && n.signal.aborted)
|
|
10906
10906
|
throw new Dr(null, n);
|
|
10907
10907
|
}
|
|
10908
10908
|
function Cl(n) {
|
|
10909
|
-
return
|
|
10909
|
+
return Qi(n), n.headers = Dt.from(n.headers), n.data = Zi.call(
|
|
10910
10910
|
n,
|
|
10911
10911
|
n.transformRequest
|
|
10912
|
-
), ["post", "put", "patch"].indexOf(n.method) !== -1 && n.headers.setContentType("application/x-www-form-urlencoded", !1), xc.getAdapter(n.adapter ||
|
|
10913
|
-
return
|
|
10912
|
+
), ["post", "put", "patch"].indexOf(n.method) !== -1 && n.headers.setContentType("application/x-www-form-urlencoded", !1), xc.getAdapter(n.adapter || xs.adapter)(n).then(function(r) {
|
|
10913
|
+
return Qi(n), r.data = Zi.call(
|
|
10914
10914
|
n,
|
|
10915
10915
|
n.transformResponse,
|
|
10916
10916
|
r
|
|
10917
10917
|
), r.headers = Dt.from(r.headers), r;
|
|
10918
10918
|
}, function(r) {
|
|
10919
|
-
return pc(r) || (
|
|
10919
|
+
return pc(r) || (Qi(n), r && r.response && (r.response.data = Zi.call(
|
|
10920
10920
|
n,
|
|
10921
10921
|
n.transformResponse,
|
|
10922
10922
|
r.response
|
|
10923
10923
|
), r.response.headers = Dt.from(r.response.headers))), Promise.reject(r);
|
|
10924
10924
|
});
|
|
10925
10925
|
}
|
|
10926
|
-
const Ec = "1.9.0",
|
|
10926
|
+
const Ec = "1.9.0", xi = {};
|
|
10927
10927
|
["object", "boolean", "number", "function", "string", "symbol"].forEach((n, e) => {
|
|
10928
|
-
|
|
10928
|
+
xi[n] = function(r) {
|
|
10929
10929
|
return typeof r === n || "a" + (e < 1 ? "n " : " ") + n;
|
|
10930
10930
|
};
|
|
10931
10931
|
});
|
|
10932
10932
|
const Il = {};
|
|
10933
|
-
|
|
10933
|
+
xi.transitional = function(e, t, r) {
|
|
10934
10934
|
function s(o, a) {
|
|
10935
10935
|
return "[Axios v" + Ec + "] Transitional option '" + o + "'" + a + (r ? ". " + r : "");
|
|
10936
10936
|
}
|
|
@@ -10948,7 +10948,7 @@ Ei.transitional = function(e, t, r) {
|
|
|
10948
10948
|
)), e ? e(o, a, u) : !0;
|
|
10949
10949
|
};
|
|
10950
10950
|
};
|
|
10951
|
-
|
|
10951
|
+
xi.spelling = function(e) {
|
|
10952
10952
|
return (t, r) => (console.warn(`${r} is likely a misspelling of ${e}`), !0);
|
|
10953
10953
|
};
|
|
10954
10954
|
function Db(n, e, t) {
|
|
@@ -10968,10 +10968,10 @@ function Db(n, e, t) {
|
|
|
10968
10968
|
throw new De("Unknown option " + o, De.ERR_BAD_OPTION);
|
|
10969
10969
|
}
|
|
10970
10970
|
}
|
|
10971
|
-
const
|
|
10971
|
+
const Xs = {
|
|
10972
10972
|
assertOptions: Db,
|
|
10973
|
-
validators:
|
|
10974
|
-
}, dn =
|
|
10973
|
+
validators: xi
|
|
10974
|
+
}, dn = Xs.validators;
|
|
10975
10975
|
let Yn = class {
|
|
10976
10976
|
constructor(e) {
|
|
10977
10977
|
this.defaults = e || {}, this.interceptors = {
|
|
@@ -11007,16 +11007,16 @@ let Yn = class {
|
|
|
11007
11007
|
_request(e, t) {
|
|
11008
11008
|
typeof e == "string" ? (t = t || {}, t.url = e) : t = e || {}, t = tr(this.defaults, t);
|
|
11009
11009
|
const { transitional: r, paramsSerializer: s, headers: o } = t;
|
|
11010
|
-
r !== void 0 &&
|
|
11010
|
+
r !== void 0 && Xs.assertOptions(r, {
|
|
11011
11011
|
silentJSONParsing: dn.transitional(dn.boolean),
|
|
11012
11012
|
forcedJSONParsing: dn.transitional(dn.boolean),
|
|
11013
11013
|
clarifyTimeoutError: dn.transitional(dn.boolean)
|
|
11014
11014
|
}, !1), s != null && (te.isFunction(s) ? t.paramsSerializer = {
|
|
11015
11015
|
serialize: s
|
|
11016
|
-
} :
|
|
11016
|
+
} : Xs.assertOptions(s, {
|
|
11017
11017
|
encode: dn.function,
|
|
11018
11018
|
serialize: dn.function
|
|
11019
|
-
}, !0)), t.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls !== void 0 ? t.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls : t.allowAbsoluteUrls = !0),
|
|
11019
|
+
}, !0)), t.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls !== void 0 ? t.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls : t.allowAbsoluteUrls = !0), Xs.assertOptions(t, {
|
|
11020
11020
|
baseUrl: dn.spelling("baseURL"),
|
|
11021
11021
|
withXsrfToken: dn.spelling("withXSRFToken")
|
|
11022
11022
|
}, !0), t.method = (t.method || this.defaults.method || "get").toLowerCase();
|
|
@@ -11177,7 +11177,7 @@ function $b(n) {
|
|
|
11177
11177
|
function _b(n) {
|
|
11178
11178
|
return te.isObject(n) && n.isAxiosError === !0;
|
|
11179
11179
|
}
|
|
11180
|
-
const
|
|
11180
|
+
const Fa = {
|
|
11181
11181
|
Continue: 100,
|
|
11182
11182
|
SwitchingProtocols: 101,
|
|
11183
11183
|
Processing: 102,
|
|
@@ -11242,8 +11242,8 @@ const Ma = {
|
|
|
11242
11242
|
NotExtended: 510,
|
|
11243
11243
|
NetworkAuthenticationRequired: 511
|
|
11244
11244
|
};
|
|
11245
|
-
Object.entries(
|
|
11246
|
-
|
|
11245
|
+
Object.entries(Fa).forEach(([n, e]) => {
|
|
11246
|
+
Fa[e] = n;
|
|
11247
11247
|
});
|
|
11248
11248
|
function Ac(n) {
|
|
11249
11249
|
const e = new Yn(n), t = Ju(Yn.prototype.request, e);
|
|
@@ -11251,13 +11251,13 @@ function Ac(n) {
|
|
|
11251
11251
|
return Ac(tr(n, s));
|
|
11252
11252
|
}, t;
|
|
11253
11253
|
}
|
|
11254
|
-
const ut = Ac(
|
|
11254
|
+
const ut = Ac(xs);
|
|
11255
11255
|
ut.Axios = Yn;
|
|
11256
11256
|
ut.CanceledError = Dr;
|
|
11257
11257
|
ut.CancelToken = jb;
|
|
11258
11258
|
ut.isCancel = pc;
|
|
11259
11259
|
ut.VERSION = Ec;
|
|
11260
|
-
ut.toFormData =
|
|
11260
|
+
ut.toFormData = yi;
|
|
11261
11261
|
ut.AxiosError = De;
|
|
11262
11262
|
ut.Cancel = ut.CanceledError;
|
|
11263
11263
|
ut.all = function(e) {
|
|
@@ -11269,7 +11269,7 @@ ut.mergeConfig = tr;
|
|
|
11269
11269
|
ut.AxiosHeaders = Dt;
|
|
11270
11270
|
ut.formToJSON = (n) => hc(te.isHTMLForm(n) ? new FormData(n) : n);
|
|
11271
11271
|
ut.getAdapter = xc.getAdapter;
|
|
11272
|
-
ut.HttpStatusCode =
|
|
11272
|
+
ut.HttpStatusCode = Fa;
|
|
11273
11273
|
ut.default = ut;
|
|
11274
11274
|
const {
|
|
11275
11275
|
Axios: Tx,
|
|
@@ -11289,7 +11289,7 @@ const {
|
|
|
11289
11289
|
getAdapter: jx,
|
|
11290
11290
|
mergeConfig: $x
|
|
11291
11291
|
} = ut;
|
|
11292
|
-
var
|
|
11292
|
+
var Ji = { exports: {} }, Ll;
|
|
11293
11293
|
function qb() {
|
|
11294
11294
|
return Ll || (Ll = 1, function(n, e) {
|
|
11295
11295
|
(function(r, s) {
|
|
@@ -14464,12 +14464,12 @@ function qb() {
|
|
|
14464
14464
|
if (ce == "@") {
|
|
14465
14465
|
ze && (Se = "%40" + Se), ze = !0, ot = A(Se);
|
|
14466
14466
|
for (var Gn = 0; Gn < ot.length; Gn++) {
|
|
14467
|
-
var
|
|
14468
|
-
if (
|
|
14467
|
+
var xn = ot[Gn];
|
|
14468
|
+
if (xn == ":" && !nt) {
|
|
14469
14469
|
nt = !0;
|
|
14470
14470
|
continue;
|
|
14471
14471
|
}
|
|
14472
|
-
var Mn = X(
|
|
14472
|
+
var Mn = X(xn, Y);
|
|
14473
14473
|
nt ? L.password += Mn : L.username += Mn;
|
|
14474
14474
|
}
|
|
14475
14475
|
Se = "";
|
|
@@ -14591,8 +14591,8 @@ function qb() {
|
|
|
14591
14591
|
var We = Fe.searchParams = new ne(), nt = V(We);
|
|
14592
14592
|
nt.updateSearchParams(Fe.query), nt.updateURL = function() {
|
|
14593
14593
|
Fe.query = String(We) || null;
|
|
14594
|
-
}, c || (re.href =
|
|
14595
|
-
}, Vn = Xt.prototype,
|
|
14594
|
+
}, c || (re.href = bn.call(re), re.origin = Fn.call(re), re.protocol = dt.call(re), re.username = ur.call(re), re.password = cr.call(re), re.host = fr.call(re), re.hostname = dr.call(re), re.port = hr.call(re), re.pathname = vt.call(re), re.search = pr.call(re), re.searchParams = gr.call(re), re.hash = vr.call(re));
|
|
14595
|
+
}, Vn = Xt.prototype, bn = function() {
|
|
14596
14596
|
var L = P(this), ae = L.scheme, re = L.username, ue = L.password, fe = L.host, Fe = L.port, Se = L.path, ze = L.query, We = L.fragment, nt = ae + ":";
|
|
14597
14597
|
return fe !== null ? (nt += "//", ie(L) && (nt += re + (ue ? ":" + ue : "") + "@"), nt += k(fe), Fe !== null && (nt += ":" + Fe)) : ae == "file" && (nt += "//"), nt += L.cannotBeABaseURL ? Se[0] : Se.length ? "/" + Se.join("/") : "", ze !== null && (nt += "?" + ze), We !== null && (nt += "#" + We), nt;
|
|
14598
14598
|
}, Fn = function() {
|
|
@@ -14635,7 +14635,7 @@ function qb() {
|
|
|
14635
14635
|
if (c && g(Vn, {
|
|
14636
14636
|
// `URL.prototype.href` accessors pair
|
|
14637
14637
|
// https://url.spec.whatwg.org/#dom-url-href
|
|
14638
|
-
href: Tt(
|
|
14638
|
+
href: Tt(bn, function(L) {
|
|
14639
14639
|
var ae = P(this), re = String(L), ue = Ft(ae, re);
|
|
14640
14640
|
if (ue) throw TypeError(ue);
|
|
14641
14641
|
V(ae.searchParams).updateSearchParams(ae.query);
|
|
@@ -14713,9 +14713,9 @@ function qb() {
|
|
|
14713
14713
|
L.charAt(0) == "#" && (L = L.slice(1)), ae.fragment = "", Ft(ae, L, gt);
|
|
14714
14714
|
})
|
|
14715
14715
|
}), p(Vn, "toJSON", function() {
|
|
14716
|
-
return
|
|
14716
|
+
return bn.call(this);
|
|
14717
14717
|
}, { enumerable: !0 }), p(Vn, "toString", function() {
|
|
14718
|
-
return
|
|
14718
|
+
return bn.call(this);
|
|
14719
14719
|
}, { enumerable: !0 }), H) {
|
|
14720
14720
|
var mr = H.createObjectURL, xt = H.revokeObjectURL;
|
|
14721
14721
|
mr && p(Xt, "createObjectURL", function(ae) {
|
|
@@ -17049,10 +17049,10 @@ Expect errors in decoding.`), E = E.replace(/[^A-Za-z0-9\+\/\=]/g, ""); I = this
|
|
|
17049
17049
|
}()
|
|
17050
17050
|
);
|
|
17051
17051
|
});
|
|
17052
|
-
}(
|
|
17052
|
+
}(Ji)), Ji.exports;
|
|
17053
17053
|
}
|
|
17054
17054
|
var zb = qb();
|
|
17055
|
-
const
|
|
17055
|
+
const ea = /* @__PURE__ */ Ga(zb), Hb = {
|
|
17056
17056
|
xmlns: "http://www.w3.org/2000/svg",
|
|
17057
17057
|
fill: "none",
|
|
17058
17058
|
stroke: "currentColor",
|
|
@@ -17104,17 +17104,17 @@ const Gb = { render: Vb }, Wb = { class: "file-upload" }, Kb = ["name", "value"]
|
|
|
17104
17104
|
},
|
|
17105
17105
|
emits: ["update:modelValue"],
|
|
17106
17106
|
setup(n, { emit: e }) {
|
|
17107
|
-
|
|
17108
|
-
const t = n, r = _e([]), s = _e(
|
|
17107
|
+
ea.autoDiscover = !1;
|
|
17108
|
+
const t = n, r = _e([]), s = _e(ea), o = _e(null), a = je(() => JSON.stringify(r)), u = (l) => ["image/gif", "image/jpeg", "image/png", "image/tiff"].includes(l), i = (l) => {
|
|
17109
17109
|
ut.delete(t.deleteEndpoint + "?" + l.id).then(() => {
|
|
17110
17110
|
r.value = null;
|
|
17111
17111
|
}).catch(console.error);
|
|
17112
17112
|
};
|
|
17113
|
-
return
|
|
17113
|
+
return si(() => {
|
|
17114
17114
|
var c;
|
|
17115
17115
|
o.value = t.formData;
|
|
17116
17116
|
const l = t.csrf;
|
|
17117
|
-
s.value = new
|
|
17117
|
+
s.value = new ea(s.value, {
|
|
17118
17118
|
url: (t == null ? void 0 : t.submitEndpoint) + "?" + ((c = o.value) == null ? void 0 : c.id),
|
|
17119
17119
|
addRemoveLinks: !0,
|
|
17120
17120
|
maxFiles: 1,
|
|
@@ -17136,7 +17136,7 @@ const Gb = { render: Vb }, Wb = { class: "file-upload" }, Kb = ["name", "value"]
|
|
|
17136
17136
|
value: a.value
|
|
17137
17137
|
}, null, 8, Kb),
|
|
17138
17138
|
n.modelValue ? (be(), Te("div", Xb, [
|
|
17139
|
-
c[1] || (c[1] =
|
|
17139
|
+
c[1] || (c[1] = Ba(" @todo handle upload here ")),
|
|
17140
17140
|
oe("span", Yb, [
|
|
17141
17141
|
oe("img", {
|
|
17142
17142
|
class: "img rounded-lg",
|
|
@@ -17167,7 +17167,7 @@ const Gb = { render: Vb }, Wb = { class: "file-upload" }, Kb = ["name", "value"]
|
|
|
17167
17167
|
})
|
|
17168
17168
|
])
|
|
17169
17169
|
])) : pt("", !0),
|
|
17170
|
-
|
|
17170
|
+
Nn(oe("div", sx, [
|
|
17171
17171
|
oe("div", {
|
|
17172
17172
|
class: "dropzone border border-dashed rounded-lg z-10 h-[200px] w-full cursor-pointer relative",
|
|
17173
17173
|
ref_key: "dropzone",
|
|
@@ -17241,7 +17241,7 @@ const Gb = { render: Vb }, Wb = { class: "file-upload" }, Kb = ["name", "value"]
|
|
|
17241
17241
|
limit: 51
|
|
17242
17242
|
}, {
|
|
17243
17243
|
default: Bt(() => [
|
|
17244
|
-
|
|
17244
|
+
Nn(oe("input", {
|
|
17245
17245
|
"onUpdate:modelValue": l[0] || (l[0] = (c) => s.value.title = c),
|
|
17246
17246
|
name: "title",
|
|
17247
17247
|
type: "text",
|
|
@@ -17277,7 +17277,7 @@ const Gb = { render: Vb }, Wb = { class: "file-upload" }, Kb = ["name", "value"]
|
|
|
17277
17277
|
qe(Vr, { title: "Primary button" }, {
|
|
17278
17278
|
default: Bt(() => [
|
|
17279
17279
|
oe("div", cx, [
|
|
17280
|
-
qe(
|
|
17280
|
+
qe(zs, {
|
|
17281
17281
|
name: "show",
|
|
17282
17282
|
modelValue: s.value.primary_button.show,
|
|
17283
17283
|
"onUpdate:modelValue": l[2] || (l[2] = (c) => s.value.primary_button.show = c),
|
|
@@ -17292,7 +17292,7 @@ const Gb = { render: Vb }, Wb = { class: "file-upload" }, Kb = ["name", "value"]
|
|
|
17292
17292
|
limit: 20
|
|
17293
17293
|
}, {
|
|
17294
17294
|
default: Bt(() => [
|
|
17295
|
-
|
|
17295
|
+
Nn(oe("input", {
|
|
17296
17296
|
"onUpdate:modelValue": l[3] || (l[3] = (c) => s.value.primary_button.label = c),
|
|
17297
17297
|
name: "primary_button.label",
|
|
17298
17298
|
type: "text",
|
|
@@ -17305,7 +17305,7 @@ const Gb = { render: Vb }, Wb = { class: "file-upload" }, Kb = ["name", "value"]
|
|
|
17305
17305
|
]),
|
|
17306
17306
|
_: 1
|
|
17307
17307
|
}, 8, ["value"]),
|
|
17308
|
-
qe(
|
|
17308
|
+
qe(na, {
|
|
17309
17309
|
name: "primary",
|
|
17310
17310
|
type: s.value.primary_button.type,
|
|
17311
17311
|
"onUpdate:type": l[4] || (l[4] = (c) => s.value.primary_button.type = c),
|
|
@@ -17322,7 +17322,7 @@ const Gb = { render: Vb }, Wb = { class: "file-upload" }, Kb = ["name", "value"]
|
|
|
17322
17322
|
qe(Vr, { title: "Secondary button" }, {
|
|
17323
17323
|
default: Bt(() => [
|
|
17324
17324
|
oe("div", fx, [
|
|
17325
|
-
qe(
|
|
17325
|
+
qe(zs, {
|
|
17326
17326
|
name: "show",
|
|
17327
17327
|
modelValue: s.value.secondary_button.show,
|
|
17328
17328
|
"onUpdate:modelValue": l[7] || (l[7] = (c) => s.value.secondary_button.show = c),
|
|
@@ -17338,7 +17338,7 @@ const Gb = { render: Vb }, Wb = { class: "file-upload" }, Kb = ["name", "value"]
|
|
|
17338
17338
|
limit: 20
|
|
17339
17339
|
}, {
|
|
17340
17340
|
default: Bt(() => [
|
|
17341
|
-
|
|
17341
|
+
Nn(oe("input", {
|
|
17342
17342
|
"onUpdate:modelValue": l[8] || (l[8] = (c) => s.value.secondary_button.label = c),
|
|
17343
17343
|
name: "secondary_button.label",
|
|
17344
17344
|
type: "text",
|
|
@@ -17351,7 +17351,7 @@ const Gb = { render: Vb }, Wb = { class: "file-upload" }, Kb = ["name", "value"]
|
|
|
17351
17351
|
]),
|
|
17352
17352
|
_: 1
|
|
17353
17353
|
}, 8, ["value"]),
|
|
17354
|
-
qe(
|
|
17354
|
+
qe(na, {
|
|
17355
17355
|
name: "secondary",
|
|
17356
17356
|
type: s.value.secondary_button.type,
|
|
17357
17357
|
"onUpdate:type": l[9] || (l[9] = (c) => s.value.secondary_button.type = c),
|
|
@@ -17373,7 +17373,7 @@ const Gb = { render: Vb }, Wb = { class: "file-upload" }, Kb = ["name", "value"]
|
|
|
17373
17373
|
supporting_text: "Toggle off if you'd like to hide this item"
|
|
17374
17374
|
}, {
|
|
17375
17375
|
default: Bt(() => [
|
|
17376
|
-
qe(
|
|
17376
|
+
qe(zs, {
|
|
17377
17377
|
modelValue: s.value.public,
|
|
17378
17378
|
"onUpdate:modelValue": l[12] || (l[12] = (c) => s.value.public = c),
|
|
17379
17379
|
name: "public",
|
|
@@ -17404,7 +17404,7 @@ const Gb = { render: Vb }, Wb = { class: "file-upload" }, Kb = ["name", "value"]
|
|
|
17404
17404
|
class: "w-[200px] py-[9px] bg-white rounded-full border border-gray-300 shadow-xs text-md font-semibold hover:bg-gray-100 text-gray-700 text-center cursor-pointer"
|
|
17405
17405
|
}, " Cancel "),
|
|
17406
17406
|
oe("a", {
|
|
17407
|
-
onClick:
|
|
17407
|
+
onClick: Ma(o, ["prevent"]),
|
|
17408
17408
|
class: "w-full py-[9px] rounded-full shadow-xs text-md font-semibold text-white bg-brand-600 hover:bg-brand-700 border border-brand-600 text-center cursor-pointer"
|
|
17409
17409
|
}, "Save changes")
|
|
17410
17410
|
])
|