@dcodegroup-au/page-builder 0.1.4 → 0.1.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.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var kc = Object.defineProperty;
|
|
2
2
|
var Pc = (n, e, t) => e in n ? kc(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
|
|
3
3
|
var Ee = (n, e, t) => Pc(n, typeof e != "symbol" ? e + "" : e, t);
|
|
4
|
-
import { createElementBlock as ye, openBlock as fe, createElementVNode as ne, createStaticVNode as Fc, ref as Me, resolveDirective as Mc, withDirectives as on, createCommentVNode as at, createVNode as qe, unref as He, defineComponent as ir, reactive as es, computed as $e, normalizeClass as xt, Transition as Ul, withCtx as St, renderSlot as kr, toDisplayString as ze, withModifiers as
|
|
4
|
+
import { createElementBlock as ye, openBlock as fe, createElementVNode as ne, createStaticVNode as Fc, ref as Me, resolveDirective as Mc, withDirectives as on, createCommentVNode as at, createVNode as qe, unref as He, defineComponent as ir, reactive as es, computed as $e, normalizeClass as xt, Transition as Ul, withCtx as St, renderSlot as kr, toDisplayString as ze, withModifiers as ai, Fragment as At, renderList as _t, createTextVNode as oi, mergeModels as jl, useModel as ts, vModelSelect as Dc, createBlock as Ht, vModelText as Qn, vModelRadio as Bc, resolveDynamicComponent as Ur, nextTick as Uc, markRaw as Ut, inject as ps, h as Tt, shallowReactive as ia, watch as Yr, watchEffect as Bi, onMounted as gs, onBeforeUnmount as $l, provide as _l, toRefs as jc, useId as $c, getCurrentInstance as _c, onUnmounted as qc, onUpdated as zc, cloneVNode as Hc, vShow as Vc } from "vue";
|
|
5
5
|
const Gc = {
|
|
6
6
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7
7
|
fill: "none",
|
|
@@ -34,7 +34,7 @@ function Xc(n, e) {
|
|
|
34
34
|
}, null, -1)
|
|
35
35
|
]));
|
|
36
36
|
}
|
|
37
|
-
const Yc = { render: Xc },
|
|
37
|
+
const Yc = { render: Xc }, vs = (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 Yc = { render: Xc }, oi = (n, e) => {
|
|
|
43
43
|
function Qc(n, e) {
|
|
44
44
|
return e[0] || (e[0] = Fc('<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 Jc = /* @__PURE__ */
|
|
46
|
+
const Jc = /* @__PURE__ */ vs(Zc, [["render", Qc]]), ef = {
|
|
47
47
|
xmlns: "http://www.w3.org/2000/svg",
|
|
48
48
|
fill: "none",
|
|
49
49
|
stroke: "currentColor",
|
|
@@ -322,7 +322,7 @@ const xf = { render: bf }, Af = {
|
|
|
322
322
|
textContent: ze(o.value)
|
|
323
323
|
}, null, 8, Rf),
|
|
324
324
|
ne("a", {
|
|
325
|
-
onClick:
|
|
325
|
+
onClick: ai(l, ["prevent"]),
|
|
326
326
|
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",
|
|
327
327
|
textContent: ze(a.value)
|
|
328
328
|
}, null, 8, Cf)
|
|
@@ -336,7 +336,7 @@ const xf = { render: bf }, Af = {
|
|
|
336
336
|
})
|
|
337
337
|
], 2));
|
|
338
338
|
}
|
|
339
|
-
}), Vl = /* @__PURE__ */
|
|
339
|
+
}), Vl = /* @__PURE__ */ vs(If, [["__scopeId", "data-v-0ca1257f"]]), Lf = { class: "flex justify-between pb-2" }, kf = { class: "text-lg font-semibold text-gray-900" }, Pf = { class: "flex flex-col gap-4" }, Ff = { class: "text-gray-600 border-b border-gray-200 pb-4 text-sm" }, Mf = { class: "flex flex-col gap-3" }, Df = { class: "flex justify-between" }, Bf = { class: "flex flex-col gap-1" }, Uf = { class: "font-semibold text-gray-900" }, jf = { class: "text-sm text-gray-600" }, $f = ["disabled"], _f = { class: "flex flex-col gap-3" }, qf = ["onClick"], zf = ["onClick"], Hf = { class: "text-xs text-gray-600" }, Vf = { class: "text-sm font-medium text-gray-900" }, ho = {
|
|
340
340
|
__name: "VItems",
|
|
341
341
|
props: {
|
|
342
342
|
...ja
|
|
@@ -471,7 +471,7 @@ const xf = { render: bf }, Af = {
|
|
|
471
471
|
}, [
|
|
472
472
|
n.labelText || e.$slots.label ? (fe(), ye("span", Wf, [
|
|
473
473
|
e.$slots.label ? kr(e.$slots, "label", { key: 0 }) : (fe(), ye(At, { key: 1 }, [
|
|
474
|
-
|
|
474
|
+
oi(ze(n.labelText) + " ", 1),
|
|
475
475
|
n.isRequired ? (fe(), ye("span", Kf, " *")) : at("", !0)
|
|
476
476
|
], 64))
|
|
477
477
|
])) : at("", !0),
|
|
@@ -484,7 +484,7 @@ const xf = { render: bf }, Af = {
|
|
|
484
484
|
}, Zf = { class: "flex items-center gap-2" }, Qf = ["aria-checked"], Jf = {
|
|
485
485
|
key: 0,
|
|
486
486
|
class: "text-sm text-gray-700 font-medium"
|
|
487
|
-
},
|
|
487
|
+
}, Gs = {
|
|
488
488
|
__name: "VToggle",
|
|
489
489
|
props: {
|
|
490
490
|
modelValue: {
|
|
@@ -644,7 +644,7 @@ const xf = { render: bf }, Af = {
|
|
|
644
644
|
}, null, 8, cd)
|
|
645
645
|
]),
|
|
646
646
|
ne("div", fd, [
|
|
647
|
-
qe(
|
|
647
|
+
qe(Gs, {
|
|
648
648
|
class: "mb-1",
|
|
649
649
|
name: "open_in_new_tab",
|
|
650
650
|
modelValue: r.value,
|
|
@@ -817,7 +817,7 @@ const xf = { render: bf }, Af = {
|
|
|
817
817
|
}, Od = { class: "page-builder" }, Nd = { class: "flex gap-4 px-6 overflow-auto" }, Rd = { class: "flex w-[356px] flex-col gap-2 pb-10" }, Cd = { class: "border-b border-gray-200 pb-2" }, Id = ["onClick"], Ld = { class: "text-lg font-semibold text-brand-800" }, kd = { class: "relative flex items-center gap-3" }, Pd = { class: "cursor-pointer" }, Fd = {
|
|
818
818
|
key: 0,
|
|
819
819
|
class: "flex flex-col gap-2"
|
|
820
|
-
}, Md = ["onClick"], Dd = { class: "flex flex-col" }, Bd = { class: "text-sm font-medium text-gray-900" }, Ud = { class: "flex items-center justify-between gap-3 px-[10px]" }, jd = { class: "flex h-full flex-1 flex-col rounded-xl bg-gray-50 px-6 py-5 mb-20" }, $d = { class: "flex justify-between space-x-xsSpace pt-xsSpace gap-4 fixed bottom-0 w-full bg-gray-200 py-2 px-6" },
|
|
820
|
+
}, Md = ["onClick"], Dd = { class: "flex flex-col" }, Bd = { class: "text-sm font-medium text-gray-900" }, Ud = { class: "flex items-center justify-between gap-3 px-[10px]" }, jd = { class: "flex h-full flex-1 flex-col rounded-xl bg-gray-50 px-6 py-5 mb-20" }, $d = { class: "flex justify-between space-x-xsSpace pt-xsSpace gap-4 fixed bottom-0 w-full bg-gray-200 py-2 px-6" }, Xx = {
|
|
821
821
|
__name: "PageBuilder",
|
|
822
822
|
props: {
|
|
823
823
|
modelValue: {
|
|
@@ -918,7 +918,7 @@ const xf = { render: bf }, Af = {
|
|
|
918
918
|
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"
|
|
919
919
|
}, " Cancel "),
|
|
920
920
|
ne("a", {
|
|
921
|
-
onClick:
|
|
921
|
+
onClick: ai(c, ["prevent"]),
|
|
922
922
|
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"
|
|
923
923
|
}, "Save changes")
|
|
924
924
|
])
|
|
@@ -948,7 +948,7 @@ const $a = { render: qd };
|
|
|
948
948
|
* (c) 2025
|
|
949
949
|
* @license MIT
|
|
950
950
|
*/
|
|
951
|
-
const Wl = ["viewport", "carousel"],
|
|
951
|
+
const Wl = ["viewport", "carousel"], Js = {
|
|
952
952
|
"bottom-to-top": "btt",
|
|
953
953
|
"left-to-right": "ltr",
|
|
954
954
|
"right-to-left": "rtl",
|
|
@@ -979,7 +979,7 @@ const Wl = ["viewport", "carousel"], Qs = {
|
|
|
979
979
|
"end",
|
|
980
980
|
"center-even",
|
|
981
981
|
"center-odd"
|
|
982
|
-
], go = 10,
|
|
982
|
+
], go = 10, Fs = 0.3, ct = {
|
|
983
983
|
autoplay: 0,
|
|
984
984
|
breakpointMode: Wl[0],
|
|
985
985
|
breakpoints: void 0,
|
|
@@ -1139,7 +1139,7 @@ function la(n, e = 0) {
|
|
|
1139
1139
|
s && (cancelAnimationFrame(s), s = null, t = !1);
|
|
1140
1140
|
}, o;
|
|
1141
1141
|
}
|
|
1142
|
-
function
|
|
1142
|
+
function Ms(n, e = "px") {
|
|
1143
1143
|
if (!(n == null || n === ""))
|
|
1144
1144
|
return typeof n == "number" || parseFloat(n).toString() === n ? `${n}${e}` : n;
|
|
1145
1145
|
}
|
|
@@ -1247,7 +1247,7 @@ const rh = {
|
|
|
1247
1247
|
validator(n, e) {
|
|
1248
1248
|
if (!Kl.includes(n))
|
|
1249
1249
|
return !1;
|
|
1250
|
-
const t = n in
|
|
1250
|
+
const t = n in Js ? Js[n] : n;
|
|
1251
1251
|
return ["ttb", "btt"].includes(t) && (!e.height || e.height === "auto") && console.warn(`[vue3-carousel]: The dir "${n}" is not supported with height "auto".`), !0;
|
|
1252
1252
|
}
|
|
1253
1253
|
},
|
|
@@ -1368,7 +1368,7 @@ const rh = {
|
|
|
1368
1368
|
let C = null, F = null, M = null;
|
|
1369
1369
|
const z = $e(() => c.value + f.gap), K = $e(() => {
|
|
1370
1370
|
const ge = f.dir || "ltr";
|
|
1371
|
-
return ge in
|
|
1371
|
+
return ge in Js ? Js[ge] : ge;
|
|
1372
1372
|
}), H = $e(() => ["rtl", "btt"].includes(K.value)), re = $e(() => ["ttb", "btt"].includes(K.value)), V = $e(() => f.itemsToShow === "auto"), x = $e(() => re.value ? "height" : "width");
|
|
1373
1373
|
function P() {
|
|
1374
1374
|
var ge;
|
|
@@ -1481,7 +1481,7 @@ const rh = {
|
|
|
1481
1481
|
const k = Me(!1), B = ({ deltaX: ge, deltaY: Ae, isTouch: Ie }) => {
|
|
1482
1482
|
var Pe, ke, Ke, tt;
|
|
1483
1483
|
t("drag", { deltaX: ge, deltaY: Ae });
|
|
1484
|
-
const ot = Ie ? typeof f.touchDrag == "object" && (ke = (Pe = f.touchDrag) === null || Pe === void 0 ? void 0 : Pe.threshold) !== null && ke !== void 0 ? ke :
|
|
1484
|
+
const ot = Ie ? typeof f.touchDrag == "object" && (ke = (Pe = f.touchDrag) === null || Pe === void 0 ? void 0 : Pe.threshold) !== null && ke !== void 0 ? ke : Fs : typeof f.mouseDrag == "object" && (tt = (Ke = f.mouseDrag) === null || Ke === void 0 ? void 0 : Ke.threshold) !== null && tt !== void 0 ? tt : Fs, yt = Kd({
|
|
1485
1485
|
isVertical: re.value,
|
|
1486
1486
|
isReversed: H.value,
|
|
1487
1487
|
dragged: { x: ge, y: Ae },
|
|
@@ -1651,10 +1651,10 @@ const rh = {
|
|
|
1651
1651
|
}
|
|
1652
1652
|
return `translate${ge}(${Ie}px)`;
|
|
1653
1653
|
}), Nt = $e(() => ({
|
|
1654
|
-
"--vc-carousel-height":
|
|
1655
|
-
"--vc-cloned-offset":
|
|
1656
|
-
"--vc-slide-gap":
|
|
1657
|
-
"--vc-transition-duration": k.value ?
|
|
1654
|
+
"--vc-carousel-height": Ms(f.height),
|
|
1655
|
+
"--vc-cloned-offset": Ms(De.value),
|
|
1656
|
+
"--vc-slide-gap": Ms(f.gap),
|
|
1657
|
+
"--vc-transition-duration": k.value ? Ms(f.transition, "ms") : void 0
|
|
1658
1658
|
})), Be = es({
|
|
1659
1659
|
activeSlide: h,
|
|
1660
1660
|
config: f,
|
|
@@ -1997,7 +1997,7 @@ const oh = ir({
|
|
|
1997
1997
|
href: o(i.primary_button.url),
|
|
1998
1998
|
target: i.primary_button.open_in_new_tab ? "_blank" : ""
|
|
1999
1999
|
}, [
|
|
2000
|
-
|
|
2000
|
+
oi(ze(i.primary_button.label) + " ", 1),
|
|
2001
2001
|
qe(He($a), { class: "w-5 h-5" })
|
|
2002
2002
|
], 8, mh)) : at("", !0)
|
|
2003
2003
|
])
|
|
@@ -2017,7 +2017,7 @@ const oh = ir({
|
|
|
2017
2017
|
}, 8, ["modelValue"])
|
|
2018
2018
|
]));
|
|
2019
2019
|
}
|
|
2020
|
-
}, Ah = /* @__PURE__ */
|
|
2020
|
+
}, Ah = /* @__PURE__ */ vs(xh, [["__scopeId", "data-v-960591f8"]]), wh = ["target", "href"], Jl = {
|
|
2021
2021
|
__name: "VLinkPresenter",
|
|
2022
2022
|
props: {
|
|
2023
2023
|
component: {
|
|
@@ -2159,7 +2159,7 @@ const Rh = { render: Nh }, Ch = { class: "w-full bg-navy-800 py-10 relative lg:h
|
|
|
2159
2159
|
}, [
|
|
2160
2160
|
ne("div", {
|
|
2161
2161
|
class: xt(["flex-col flex gap-1.5 cursor-pointer hover:bg-navy-50 mb-4 group", { "border-l-4 border-brand-600": r.value === i }]),
|
|
2162
|
-
onClick:
|
|
2162
|
+
onClick: ai((l) => o(i), ["prevent"])
|
|
2163
2163
|
}, [
|
|
2164
2164
|
ne("div", Dh, [
|
|
2165
2165
|
ne("p", {
|
|
@@ -2196,7 +2196,7 @@ const Rh = { render: Nh }, Ch = { class: "w-full bg-navy-800 py-10 relative lg:h
|
|
|
2196
2196
|
target: (g = (f = r.value) == null ? void 0 : f.primary_button) != null && g.is_new_tab ? "_blank" : "",
|
|
2197
2197
|
href: (v = (h = r.value) == null ? void 0 : h.primary_button) != null && v.url.startsWith("http") ? r.value.primary_button.url : `//${r.value.primary_button.url}`
|
|
2198
2198
|
}, [
|
|
2199
|
-
|
|
2199
|
+
oi(ze(((S = (b = r.value) == null ? void 0 : b.primary_button) == null ? void 0 : S.label) ?? "N/A") + " ", 1),
|
|
2200
2200
|
qe(He($a), { class: "w-4 h-4 md:w-5 md:h-5" })
|
|
2201
2201
|
], 8, $h)) : at("", !0)
|
|
2202
2202
|
]))
|
|
@@ -2207,7 +2207,7 @@ const Rh = { render: Nh }, Ch = { class: "w-full bg-navy-800 py-10 relative lg:h
|
|
|
2207
2207
|
])
|
|
2208
2208
|
]));
|
|
2209
2209
|
}
|
|
2210
|
-
}, qh = { class: "max-w-[1392px] 1xl:max-w-[1824px] mx-auto w-full" },
|
|
2210
|
+
}, qh = /* @__PURE__ */ vs(_h, [["__scopeId", "data-v-31ffea01"]]), zh = { class: "max-w-[1392px] 1xl:max-w-[1824px] mx-auto w-full" }, Hh = { class: "md:mx-[90px] bg-navy-25 rounded-[48px] p-16" }, Vh = {
|
|
2211
2211
|
__name: "VTabs",
|
|
2212
2212
|
props: {
|
|
2213
2213
|
section: {
|
|
@@ -2218,10 +2218,10 @@ const Rh = { render: Nh }, Ch = { class: "w-full bg-navy-800 py-10 relative lg:h
|
|
|
2218
2218
|
setup(n) {
|
|
2219
2219
|
const t = Me(n.section), r = Me({
|
|
2220
2220
|
header: Ut(eu),
|
|
2221
|
-
vertical_tabs: Ut(
|
|
2221
|
+
vertical_tabs: Ut(qh)
|
|
2222
2222
|
}), s = (o) => o != null && o.type ? r.value[o == null ? void 0 : o.type] : "";
|
|
2223
|
-
return (o, a) => (fe(), ye("div",
|
|
2224
|
-
ne("div",
|
|
2223
|
+
return (o, a) => (fe(), ye("div", zh, [
|
|
2224
|
+
ne("div", Hh, [
|
|
2225
2225
|
(fe(!0), ye(At, null, _t(t.value.components, (u, i) => (fe(), ye("div", null, [
|
|
2226
2226
|
(fe(), Ht(Ur(s(u)), {
|
|
2227
2227
|
key: i,
|
|
@@ -2231,7 +2231,7 @@ const Rh = { render: Nh }, Ch = { class: "w-full bg-navy-800 py-10 relative lg:h
|
|
|
2231
2231
|
])
|
|
2232
2232
|
]));
|
|
2233
2233
|
}
|
|
2234
|
-
},
|
|
2234
|
+
}, Gh = { class: "page-render" }, Yx = {
|
|
2235
2235
|
__name: "PageRender",
|
|
2236
2236
|
props: {
|
|
2237
2237
|
page: {
|
|
@@ -2243,9 +2243,9 @@ const Rh = { render: Nh }, Ch = { class: "w-full bg-navy-800 py-10 relative lg:h
|
|
|
2243
2243
|
const e = Me({
|
|
2244
2244
|
header: Ut(Th),
|
|
2245
2245
|
quick_links: Ut(kh),
|
|
2246
|
-
tabs: Ut(
|
|
2246
|
+
tabs: Ut(Vh)
|
|
2247
2247
|
}), t = (r) => r != null && r.type ? e.value[r == null ? void 0 : r.type] : "";
|
|
2248
|
-
return (r, s) => (fe(), ye("div",
|
|
2248
|
+
return (r, s) => (fe(), ye("div", Gh, [
|
|
2249
2249
|
(fe(!0), ye(At, null, _t(n.page.sections, (o, a) => (fe(), ye("div", null, [
|
|
2250
2250
|
(fe(), Ht(Ur(t(o)), {
|
|
2251
2251
|
key: a,
|
|
@@ -2255,24 +2255,24 @@ const Rh = { render: Nh }, Ch = { class: "w-full bg-navy-800 py-10 relative lg:h
|
|
|
2255
2255
|
]));
|
|
2256
2256
|
}
|
|
2257
2257
|
};
|
|
2258
|
-
var tu = typeof global == "object" && global && global.Object === Object && global,
|
|
2259
|
-
function
|
|
2260
|
-
var e =
|
|
2258
|
+
var tu = typeof global == "object" && global && global.Object === Object && global, Wh = typeof self == "object" && self && self.Object === Object && self, wn = tu || Wh || Function("return this")(), Hn = wn.Symbol, nu = Object.prototype, Kh = nu.hasOwnProperty, Xh = nu.toString, Gr = Hn ? Hn.toStringTag : void 0;
|
|
2259
|
+
function Yh(n) {
|
|
2260
|
+
var e = Kh.call(n, Gr), t = n[Gr];
|
|
2261
2261
|
try {
|
|
2262
2262
|
n[Gr] = void 0;
|
|
2263
2263
|
var r = !0;
|
|
2264
2264
|
} catch {
|
|
2265
2265
|
}
|
|
2266
|
-
var s =
|
|
2266
|
+
var s = Xh.call(n);
|
|
2267
2267
|
return r && (e ? n[Gr] = t : delete n[Gr]), s;
|
|
2268
2268
|
}
|
|
2269
|
-
var
|
|
2270
|
-
function
|
|
2271
|
-
return
|
|
2269
|
+
var Zh = Object.prototype, Qh = Zh.toString;
|
|
2270
|
+
function Jh(n) {
|
|
2271
|
+
return Qh.call(n);
|
|
2272
2272
|
}
|
|
2273
|
-
var
|
|
2273
|
+
var ep = "[object Null]", tp = "[object Undefined]", Ao = Hn ? Hn.toStringTag : void 0;
|
|
2274
2274
|
function jr(n) {
|
|
2275
|
-
return n == null ? n === void 0 ?
|
|
2275
|
+
return n == null ? n === void 0 ? tp : ep : Ao && Ao in Object(n) ? Yh(n) : Jh(n);
|
|
2276
2276
|
}
|
|
2277
2277
|
function In(n) {
|
|
2278
2278
|
return n != null && typeof n == "object";
|
|
@@ -2285,25 +2285,25 @@ function Vn(n) {
|
|
|
2285
2285
|
function ru(n) {
|
|
2286
2286
|
return n;
|
|
2287
2287
|
}
|
|
2288
|
-
var
|
|
2288
|
+
var np = "[object AsyncFunction]", rp = "[object Function]", sp = "[object GeneratorFunction]", ip = "[object Proxy]";
|
|
2289
2289
|
function _a(n) {
|
|
2290
2290
|
if (!Vn(n))
|
|
2291
2291
|
return !1;
|
|
2292
2292
|
var e = jr(n);
|
|
2293
|
-
return e ==
|
|
2293
|
+
return e == rp || e == sp || e == np || e == ip;
|
|
2294
2294
|
}
|
|
2295
2295
|
var $i = wn["__core-js_shared__"], wo = function() {
|
|
2296
2296
|
var n = /[^.]+$/.exec($i && $i.keys && $i.keys.IE_PROTO || "");
|
|
2297
2297
|
return n ? "Symbol(src)_1." + n : "";
|
|
2298
2298
|
}();
|
|
2299
|
-
function
|
|
2299
|
+
function ap(n) {
|
|
2300
2300
|
return !!wo && wo in n;
|
|
2301
2301
|
}
|
|
2302
|
-
var
|
|
2302
|
+
var op = Function.prototype, lp = op.toString;
|
|
2303
2303
|
function ar(n) {
|
|
2304
2304
|
if (n != null) {
|
|
2305
2305
|
try {
|
|
2306
|
-
return
|
|
2306
|
+
return lp.call(n);
|
|
2307
2307
|
} catch {
|
|
2308
2308
|
}
|
|
2309
2309
|
try {
|
|
@@ -2313,23 +2313,23 @@ function ar(n) {
|
|
|
2313
2313
|
}
|
|
2314
2314
|
return "";
|
|
2315
2315
|
}
|
|
2316
|
-
var
|
|
2317
|
-
"^" +
|
|
2316
|
+
var up = /[\\^$.*+?()[\]{}|]/g, cp = /^\[object .+?Constructor\]$/, fp = Function.prototype, dp = Object.prototype, hp = fp.toString, pp = dp.hasOwnProperty, gp = RegExp(
|
|
2317
|
+
"^" + hp.call(pp).replace(up, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
2318
2318
|
);
|
|
2319
|
-
function
|
|
2320
|
-
if (!Vn(n) ||
|
|
2319
|
+
function vp(n) {
|
|
2320
|
+
if (!Vn(n) || ap(n))
|
|
2321
2321
|
return !1;
|
|
2322
|
-
var e = _a(n) ?
|
|
2322
|
+
var e = _a(n) ? gp : cp;
|
|
2323
2323
|
return e.test(ar(n));
|
|
2324
2324
|
}
|
|
2325
|
-
function
|
|
2325
|
+
function mp(n, e) {
|
|
2326
2326
|
return n == null ? void 0 : n[e];
|
|
2327
2327
|
}
|
|
2328
2328
|
function or(n, e) {
|
|
2329
|
-
var t =
|
|
2330
|
-
return
|
|
2329
|
+
var t = mp(n, e);
|
|
2330
|
+
return vp(t) ? t : void 0;
|
|
2331
2331
|
}
|
|
2332
|
-
var ca = or(wn, "WeakMap"), Eo = Object.create,
|
|
2332
|
+
var ca = or(wn, "WeakMap"), Eo = Object.create, yp = /* @__PURE__ */ function() {
|
|
2333
2333
|
function n() {
|
|
2334
2334
|
}
|
|
2335
2335
|
return function(e) {
|
|
@@ -2342,7 +2342,7 @@ var ca = or(wn, "WeakMap"), Eo = Object.create, mp = /* @__PURE__ */ function()
|
|
|
2342
2342
|
return n.prototype = void 0, t;
|
|
2343
2343
|
};
|
|
2344
2344
|
}();
|
|
2345
|
-
function
|
|
2345
|
+
function bp(n, e, t) {
|
|
2346
2346
|
switch (t.length) {
|
|
2347
2347
|
case 0:
|
|
2348
2348
|
return n.call(e);
|
|
@@ -2355,71 +2355,71 @@ function yp(n, e, t) {
|
|
|
2355
2355
|
}
|
|
2356
2356
|
return n.apply(e, t);
|
|
2357
2357
|
}
|
|
2358
|
-
function
|
|
2358
|
+
function xp(n, e) {
|
|
2359
2359
|
var t = -1, r = n.length;
|
|
2360
2360
|
for (e || (e = Array(r)); ++t < r; )
|
|
2361
2361
|
e[t] = n[t];
|
|
2362
2362
|
return e;
|
|
2363
2363
|
}
|
|
2364
|
-
var
|
|
2365
|
-
function
|
|
2364
|
+
var Ap = 800, wp = 16, Ep = Date.now;
|
|
2365
|
+
function Sp(n) {
|
|
2366
2366
|
var e = 0, t = 0;
|
|
2367
2367
|
return function() {
|
|
2368
|
-
var r =
|
|
2368
|
+
var r = Ep(), s = wp - (r - t);
|
|
2369
2369
|
if (t = r, s > 0) {
|
|
2370
|
-
if (++e >=
|
|
2370
|
+
if (++e >= Ap)
|
|
2371
2371
|
return arguments[0];
|
|
2372
2372
|
} else
|
|
2373
2373
|
e = 0;
|
|
2374
2374
|
return n.apply(void 0, arguments);
|
|
2375
2375
|
};
|
|
2376
2376
|
}
|
|
2377
|
-
function
|
|
2377
|
+
function Tp(n) {
|
|
2378
2378
|
return function() {
|
|
2379
2379
|
return n;
|
|
2380
2380
|
};
|
|
2381
2381
|
}
|
|
2382
|
-
var
|
|
2382
|
+
var ei = function() {
|
|
2383
2383
|
try {
|
|
2384
2384
|
var n = or(Object, "defineProperty");
|
|
2385
2385
|
return n({}, "", {}), n;
|
|
2386
2386
|
} catch {
|
|
2387
2387
|
}
|
|
2388
|
-
}(),
|
|
2389
|
-
return
|
|
2388
|
+
}(), Op = ei ? function(n, e) {
|
|
2389
|
+
return ei(n, "toString", {
|
|
2390
2390
|
configurable: !0,
|
|
2391
2391
|
enumerable: !1,
|
|
2392
|
-
value:
|
|
2392
|
+
value: Tp(e),
|
|
2393
2393
|
writable: !0
|
|
2394
2394
|
});
|
|
2395
|
-
} : ru,
|
|
2396
|
-
function
|
|
2395
|
+
} : ru, Np = Sp(Op);
|
|
2396
|
+
function Rp(n, e) {
|
|
2397
2397
|
for (var t = -1, r = n == null ? 0 : n.length; ++t < r && e(n[t], t, n) !== !1; )
|
|
2398
2398
|
;
|
|
2399
2399
|
return n;
|
|
2400
2400
|
}
|
|
2401
|
-
var
|
|
2401
|
+
var Cp = 9007199254740991, Ip = /^(?:0|[1-9]\d*)$/;
|
|
2402
2402
|
function su(n, e) {
|
|
2403
2403
|
var t = typeof n;
|
|
2404
|
-
return e = e ??
|
|
2404
|
+
return e = e ?? Cp, !!e && (t == "number" || t != "symbol" && Ip.test(n)) && n > -1 && n % 1 == 0 && n < e;
|
|
2405
2405
|
}
|
|
2406
2406
|
function qa(n, e, t) {
|
|
2407
|
-
e == "__proto__" &&
|
|
2407
|
+
e == "__proto__" && ei ? ei(n, e, {
|
|
2408
2408
|
configurable: !0,
|
|
2409
2409
|
enumerable: !0,
|
|
2410
2410
|
value: t,
|
|
2411
2411
|
writable: !0
|
|
2412
2412
|
}) : n[e] = t;
|
|
2413
2413
|
}
|
|
2414
|
-
function
|
|
2414
|
+
function ms(n, e) {
|
|
2415
2415
|
return n === e || n !== n && e !== e;
|
|
2416
2416
|
}
|
|
2417
|
-
var
|
|
2417
|
+
var Lp = Object.prototype, kp = Lp.hasOwnProperty;
|
|
2418
2418
|
function iu(n, e, t) {
|
|
2419
2419
|
var r = n[e];
|
|
2420
|
-
(!(
|
|
2420
|
+
(!(kp.call(n, e) && ms(r, t)) || t === void 0 && !(e in n)) && qa(n, e, t);
|
|
2421
2421
|
}
|
|
2422
|
-
function
|
|
2422
|
+
function Pp(n, e, t, r) {
|
|
2423
2423
|
var s = !t;
|
|
2424
2424
|
t || (t = {});
|
|
2425
2425
|
for (var o = -1, a = e.length; ++o < a; ) {
|
|
@@ -2429,68 +2429,68 @@ function kp(n, e, t, r) {
|
|
|
2429
2429
|
return t;
|
|
2430
2430
|
}
|
|
2431
2431
|
var So = Math.max;
|
|
2432
|
-
function
|
|
2432
|
+
function Fp(n, e, t) {
|
|
2433
2433
|
return e = So(e === void 0 ? n.length - 1 : e, 0), function() {
|
|
2434
2434
|
for (var r = arguments, s = -1, o = So(r.length - e, 0), a = Array(o); ++s < o; )
|
|
2435
2435
|
a[s] = r[e + s];
|
|
2436
2436
|
s = -1;
|
|
2437
2437
|
for (var u = Array(e + 1); ++s < e; )
|
|
2438
2438
|
u[s] = r[s];
|
|
2439
|
-
return u[e] = t(a),
|
|
2439
|
+
return u[e] = t(a), bp(n, this, u);
|
|
2440
2440
|
};
|
|
2441
2441
|
}
|
|
2442
|
-
function
|
|
2443
|
-
return
|
|
2442
|
+
function Mp(n, e) {
|
|
2443
|
+
return Np(Fp(n, e, ru), n + "");
|
|
2444
2444
|
}
|
|
2445
|
-
var
|
|
2445
|
+
var Dp = 9007199254740991;
|
|
2446
2446
|
function au(n) {
|
|
2447
|
-
return typeof n == "number" && n > -1 && n % 1 == 0 && n <=
|
|
2447
|
+
return typeof n == "number" && n > -1 && n % 1 == 0 && n <= Dp;
|
|
2448
2448
|
}
|
|
2449
2449
|
function li(n) {
|
|
2450
2450
|
return n != null && au(n.length) && !_a(n);
|
|
2451
2451
|
}
|
|
2452
|
-
function
|
|
2452
|
+
function Bp(n, e, t) {
|
|
2453
2453
|
if (!Vn(t))
|
|
2454
2454
|
return !1;
|
|
2455
2455
|
var r = typeof e;
|
|
2456
|
-
return (r == "number" ? li(t) && su(e, t.length) : r == "string" && e in t) ?
|
|
2456
|
+
return (r == "number" ? li(t) && su(e, t.length) : r == "string" && e in t) ? ms(t[e], n) : !1;
|
|
2457
2457
|
}
|
|
2458
|
-
function
|
|
2459
|
-
return
|
|
2458
|
+
function Up(n) {
|
|
2459
|
+
return Mp(function(e, t) {
|
|
2460
2460
|
var r = -1, s = t.length, o = s > 1 ? t[s - 1] : void 0, a = s > 2 ? t[2] : void 0;
|
|
2461
|
-
for (o = n.length > 3 && typeof o == "function" ? (s--, o) : void 0, a &&
|
|
2461
|
+
for (o = n.length > 3 && typeof o == "function" ? (s--, o) : void 0, a && Bp(t[0], t[1], a) && (o = s < 3 ? void 0 : o, s = 1), e = Object(e); ++r < s; ) {
|
|
2462
2462
|
var u = t[r];
|
|
2463
2463
|
u && n(e, u, r, o);
|
|
2464
2464
|
}
|
|
2465
2465
|
return e;
|
|
2466
2466
|
});
|
|
2467
2467
|
}
|
|
2468
|
-
var
|
|
2468
|
+
var jp = Object.prototype;
|
|
2469
2469
|
function za(n) {
|
|
2470
|
-
var e = n && n.constructor, t = typeof e == "function" && e.prototype ||
|
|
2470
|
+
var e = n && n.constructor, t = typeof e == "function" && e.prototype || jp;
|
|
2471
2471
|
return n === t;
|
|
2472
2472
|
}
|
|
2473
|
-
function
|
|
2473
|
+
function $p(n, e) {
|
|
2474
2474
|
for (var t = -1, r = Array(n); ++t < n; )
|
|
2475
2475
|
r[t] = e(t);
|
|
2476
2476
|
return r;
|
|
2477
2477
|
}
|
|
2478
|
-
var
|
|
2478
|
+
var _p = "[object Arguments]";
|
|
2479
2479
|
function To(n) {
|
|
2480
|
-
return In(n) && jr(n) ==
|
|
2480
|
+
return In(n) && jr(n) == _p;
|
|
2481
2481
|
}
|
|
2482
|
-
var ou = Object.prototype,
|
|
2482
|
+
var ou = Object.prototype, qp = ou.hasOwnProperty, zp = ou.propertyIsEnumerable, fa = To(/* @__PURE__ */ function() {
|
|
2483
2483
|
return arguments;
|
|
2484
2484
|
}()) ? To : function(n) {
|
|
2485
|
-
return In(n) &&
|
|
2485
|
+
return In(n) && qp.call(n, "callee") && !zp.call(n, "callee");
|
|
2486
2486
|
};
|
|
2487
|
-
function
|
|
2487
|
+
function Hp() {
|
|
2488
2488
|
return !1;
|
|
2489
2489
|
}
|
|
2490
|
-
var lu = typeof exports == "object" && exports && !exports.nodeType && exports, Oo = lu && typeof module == "object" && module && !module.nodeType && module,
|
|
2491
|
-
it[
|
|
2492
|
-
it[
|
|
2493
|
-
function
|
|
2490
|
+
var lu = typeof exports == "object" && exports && !exports.nodeType && exports, Oo = lu && typeof module == "object" && module && !module.nodeType && module, Vp = Oo && Oo.exports === lu, No = Vp ? wn.Buffer : void 0, Gp = No ? No.isBuffer : void 0, as = Gp || Hp, Wp = "[object Arguments]", Kp = "[object Array]", Xp = "[object Boolean]", Yp = "[object Date]", Zp = "[object Error]", Qp = "[object Function]", Jp = "[object Map]", eg = "[object Number]", tg = "[object Object]", ng = "[object RegExp]", rg = "[object Set]", sg = "[object String]", ig = "[object WeakMap]", ag = "[object ArrayBuffer]", og = "[object DataView]", lg = "[object Float32Array]", ug = "[object Float64Array]", cg = "[object Int8Array]", fg = "[object Int16Array]", dg = "[object Int32Array]", hg = "[object Uint8Array]", pg = "[object Uint8ClampedArray]", gg = "[object Uint16Array]", vg = "[object Uint32Array]", it = {};
|
|
2491
|
+
it[lg] = it[ug] = it[cg] = it[fg] = it[dg] = it[hg] = it[pg] = it[gg] = it[vg] = !0;
|
|
2492
|
+
it[Wp] = it[Kp] = it[ag] = it[Xp] = it[og] = it[Yp] = it[Zp] = it[Qp] = it[Jp] = it[eg] = it[tg] = it[ng] = it[rg] = it[sg] = it[ig] = !1;
|
|
2493
|
+
function mg(n) {
|
|
2494
2494
|
return In(n) && au(n.length) && !!it[jr(n)];
|
|
2495
2495
|
}
|
|
2496
2496
|
function Ha(n) {
|
|
@@ -2498,17 +2498,17 @@ function Ha(n) {
|
|
|
2498
2498
|
return n(e);
|
|
2499
2499
|
};
|
|
2500
2500
|
}
|
|
2501
|
-
var uu = typeof exports == "object" && exports && !exports.nodeType && exports, ns = uu && typeof module == "object" && module && !module.nodeType && module,
|
|
2501
|
+
var uu = typeof exports == "object" && exports && !exports.nodeType && exports, ns = uu && typeof module == "object" && module && !module.nodeType && module, yg = ns && ns.exports === uu, _i = yg && tu.process, Pr = function() {
|
|
2502
2502
|
try {
|
|
2503
2503
|
var n = ns && ns.require && ns.require("util").types;
|
|
2504
2504
|
return n || _i && _i.binding && _i.binding("util");
|
|
2505
2505
|
} catch {
|
|
2506
2506
|
}
|
|
2507
|
-
}(), Ro = Pr && Pr.isTypedArray, Va = Ro ? Ha(Ro) :
|
|
2507
|
+
}(), Ro = Pr && Pr.isTypedArray, Va = Ro ? Ha(Ro) : mg, bg = Object.prototype, xg = bg.hasOwnProperty;
|
|
2508
2508
|
function cu(n, e) {
|
|
2509
|
-
var t = tr(n), r = !t && fa(n), s = !t && !r && as(n), o = !t && !r && !s && Va(n), a = t || r || s || o, u = a ?
|
|
2509
|
+
var t = tr(n), r = !t && fa(n), s = !t && !r && as(n), o = !t && !r && !s && Va(n), a = t || r || s || o, u = a ? $p(n.length, String) : [], i = u.length;
|
|
2510
2510
|
for (var l in n)
|
|
2511
|
-
(e ||
|
|
2511
|
+
(e || xg.call(n, l)) && !(a && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
2512
2512
|
(l == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
2513
2513
|
s && (l == "offset" || l == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
2514
2514
|
o && (l == "buffer" || l == "byteLength" || l == "byteOffset") || // Skip index properties.
|
|
@@ -2520,63 +2520,63 @@ function fu(n, e) {
|
|
|
2520
2520
|
return n(e(t));
|
|
2521
2521
|
};
|
|
2522
2522
|
}
|
|
2523
|
-
var
|
|
2524
|
-
function
|
|
2523
|
+
var Ag = fu(Object.keys, Object), wg = Object.prototype, Eg = wg.hasOwnProperty;
|
|
2524
|
+
function Sg(n) {
|
|
2525
2525
|
if (!za(n))
|
|
2526
|
-
return
|
|
2526
|
+
return Ag(n);
|
|
2527
2527
|
var e = [];
|
|
2528
2528
|
for (var t in Object(n))
|
|
2529
|
-
|
|
2529
|
+
Eg.call(n, t) && t != "constructor" && e.push(t);
|
|
2530
2530
|
return e;
|
|
2531
2531
|
}
|
|
2532
|
-
function Sg(n) {
|
|
2533
|
-
return li(n) ? cu(n) : Eg(n);
|
|
2534
|
-
}
|
|
2535
2532
|
function Tg(n) {
|
|
2533
|
+
return li(n) ? cu(n) : Sg(n);
|
|
2534
|
+
}
|
|
2535
|
+
function Og(n) {
|
|
2536
2536
|
var e = [];
|
|
2537
2537
|
if (n != null)
|
|
2538
2538
|
for (var t in Object(n))
|
|
2539
2539
|
e.push(t);
|
|
2540
2540
|
return e;
|
|
2541
2541
|
}
|
|
2542
|
-
var
|
|
2543
|
-
function
|
|
2542
|
+
var Ng = Object.prototype, Rg = Ng.hasOwnProperty;
|
|
2543
|
+
function Cg(n) {
|
|
2544
2544
|
if (!Vn(n))
|
|
2545
|
-
return
|
|
2545
|
+
return Og(n);
|
|
2546
2546
|
var e = za(n), t = [];
|
|
2547
2547
|
for (var r in n)
|
|
2548
|
-
r == "constructor" && (e || !
|
|
2548
|
+
r == "constructor" && (e || !Rg.call(n, r)) || t.push(r);
|
|
2549
2549
|
return t;
|
|
2550
2550
|
}
|
|
2551
2551
|
function du(n) {
|
|
2552
|
-
return li(n) ? cu(n, !0) :
|
|
2552
|
+
return li(n) ? cu(n, !0) : Cg(n);
|
|
2553
2553
|
}
|
|
2554
2554
|
var os = or(Object, "create");
|
|
2555
|
-
function
|
|
2555
|
+
function Ig() {
|
|
2556
2556
|
this.__data__ = os ? os(null) : {}, this.size = 0;
|
|
2557
2557
|
}
|
|
2558
|
-
function
|
|
2558
|
+
function Lg(n) {
|
|
2559
2559
|
var e = this.has(n) && delete this.__data__[n];
|
|
2560
2560
|
return this.size -= e ? 1 : 0, e;
|
|
2561
2561
|
}
|
|
2562
|
-
var
|
|
2563
|
-
function
|
|
2562
|
+
var kg = "__lodash_hash_undefined__", Pg = Object.prototype, Fg = Pg.hasOwnProperty;
|
|
2563
|
+
function Mg(n) {
|
|
2564
2564
|
var e = this.__data__;
|
|
2565
2565
|
if (os) {
|
|
2566
2566
|
var t = e[n];
|
|
2567
|
-
return t ===
|
|
2567
|
+
return t === kg ? void 0 : t;
|
|
2568
2568
|
}
|
|
2569
|
-
return
|
|
2569
|
+
return Fg.call(e, n) ? e[n] : void 0;
|
|
2570
2570
|
}
|
|
2571
|
-
var
|
|
2572
|
-
function
|
|
2571
|
+
var Dg = Object.prototype, Bg = Dg.hasOwnProperty;
|
|
2572
|
+
function Ug(n) {
|
|
2573
2573
|
var e = this.__data__;
|
|
2574
|
-
return os ? e[n] !== void 0 :
|
|
2574
|
+
return os ? e[n] !== void 0 : Bg.call(e, n);
|
|
2575
2575
|
}
|
|
2576
|
-
var
|
|
2577
|
-
function
|
|
2576
|
+
var jg = "__lodash_hash_undefined__";
|
|
2577
|
+
function $g(n, e) {
|
|
2578
2578
|
var t = this.__data__;
|
|
2579
|
-
return this.size += this.has(n) ? 0 : 1, t[n] = os && e === void 0 ?
|
|
2579
|
+
return this.size += this.has(n) ? 0 : 1, t[n] = os && e === void 0 ? jg : e, this;
|
|
2580
2580
|
}
|
|
2581
2581
|
function nr(n) {
|
|
2582
2582
|
var e = -1, t = n == null ? 0 : n.length;
|
|
@@ -2585,36 +2585,36 @@ function nr(n) {
|
|
|
2585
2585
|
this.set(r[0], r[1]);
|
|
2586
2586
|
}
|
|
2587
2587
|
}
|
|
2588
|
-
nr.prototype.clear =
|
|
2589
|
-
nr.prototype.delete =
|
|
2590
|
-
nr.prototype.get =
|
|
2591
|
-
nr.prototype.has =
|
|
2592
|
-
nr.prototype.set =
|
|
2593
|
-
function
|
|
2588
|
+
nr.prototype.clear = Ig;
|
|
2589
|
+
nr.prototype.delete = Lg;
|
|
2590
|
+
nr.prototype.get = Mg;
|
|
2591
|
+
nr.prototype.has = Ug;
|
|
2592
|
+
nr.prototype.set = $g;
|
|
2593
|
+
function _g() {
|
|
2594
2594
|
this.__data__ = [], this.size = 0;
|
|
2595
2595
|
}
|
|
2596
2596
|
function ui(n, e) {
|
|
2597
2597
|
for (var t = n.length; t--; )
|
|
2598
|
-
if (
|
|
2598
|
+
if (ms(n[t][0], e))
|
|
2599
2599
|
return t;
|
|
2600
2600
|
return -1;
|
|
2601
2601
|
}
|
|
2602
|
-
var
|
|
2603
|
-
function
|
|
2602
|
+
var qg = Array.prototype, zg = qg.splice;
|
|
2603
|
+
function Hg(n) {
|
|
2604
2604
|
var e = this.__data__, t = ui(e, n);
|
|
2605
2605
|
if (t < 0)
|
|
2606
2606
|
return !1;
|
|
2607
2607
|
var r = e.length - 1;
|
|
2608
|
-
return t == r ? e.pop() :
|
|
2608
|
+
return t == r ? e.pop() : zg.call(e, t, 1), --this.size, !0;
|
|
2609
2609
|
}
|
|
2610
|
-
function
|
|
2610
|
+
function Vg(n) {
|
|
2611
2611
|
var e = this.__data__, t = ui(e, n);
|
|
2612
2612
|
return t < 0 ? void 0 : e[t][1];
|
|
2613
2613
|
}
|
|
2614
|
-
function
|
|
2614
|
+
function Gg(n) {
|
|
2615
2615
|
return ui(this.__data__, n) > -1;
|
|
2616
2616
|
}
|
|
2617
|
-
function
|
|
2617
|
+
function Wg(n, e) {
|
|
2618
2618
|
var t = this.__data__, r = ui(t, n);
|
|
2619
2619
|
return r < 0 ? (++this.size, t.push([n, e])) : t[r][1] = e, this;
|
|
2620
2620
|
}
|
|
@@ -2625,38 +2625,38 @@ function Pn(n) {
|
|
|
2625
2625
|
this.set(r[0], r[1]);
|
|
2626
2626
|
}
|
|
2627
2627
|
}
|
|
2628
|
-
Pn.prototype.clear =
|
|
2629
|
-
Pn.prototype.delete =
|
|
2630
|
-
Pn.prototype.get =
|
|
2631
|
-
Pn.prototype.has =
|
|
2632
|
-
Pn.prototype.set =
|
|
2628
|
+
Pn.prototype.clear = _g;
|
|
2629
|
+
Pn.prototype.delete = Hg;
|
|
2630
|
+
Pn.prototype.get = Vg;
|
|
2631
|
+
Pn.prototype.has = Gg;
|
|
2632
|
+
Pn.prototype.set = Wg;
|
|
2633
2633
|
var ls = or(wn, "Map");
|
|
2634
|
-
function
|
|
2634
|
+
function Kg() {
|
|
2635
2635
|
this.size = 0, this.__data__ = {
|
|
2636
2636
|
hash: new nr(),
|
|
2637
2637
|
map: new (ls || Pn)(),
|
|
2638
2638
|
string: new nr()
|
|
2639
2639
|
};
|
|
2640
2640
|
}
|
|
2641
|
-
function
|
|
2641
|
+
function Xg(n) {
|
|
2642
2642
|
var e = typeof n;
|
|
2643
2643
|
return e == "string" || e == "number" || e == "symbol" || e == "boolean" ? n !== "__proto__" : n === null;
|
|
2644
2644
|
}
|
|
2645
2645
|
function ci(n, e) {
|
|
2646
2646
|
var t = n.__data__;
|
|
2647
|
-
return
|
|
2647
|
+
return Xg(e) ? t[typeof e == "string" ? "string" : "hash"] : t.map;
|
|
2648
2648
|
}
|
|
2649
|
-
function
|
|
2649
|
+
function Yg(n) {
|
|
2650
2650
|
var e = ci(this, n).delete(n);
|
|
2651
2651
|
return this.size -= e ? 1 : 0, e;
|
|
2652
2652
|
}
|
|
2653
|
-
function
|
|
2653
|
+
function Zg(n) {
|
|
2654
2654
|
return ci(this, n).get(n);
|
|
2655
2655
|
}
|
|
2656
|
-
function
|
|
2656
|
+
function Qg(n) {
|
|
2657
2657
|
return ci(this, n).has(n);
|
|
2658
2658
|
}
|
|
2659
|
-
function
|
|
2659
|
+
function Jg(n, e) {
|
|
2660
2660
|
var t = ci(this, n), r = t.size;
|
|
2661
2661
|
return t.set(n, e), this.size += t.size == r ? 0 : 1, this;
|
|
2662
2662
|
}
|
|
@@ -2667,45 +2667,45 @@ function lr(n) {
|
|
|
2667
2667
|
this.set(r[0], r[1]);
|
|
2668
2668
|
}
|
|
2669
2669
|
}
|
|
2670
|
-
lr.prototype.clear =
|
|
2671
|
-
lr.prototype.delete =
|
|
2672
|
-
lr.prototype.get =
|
|
2673
|
-
lr.prototype.has =
|
|
2674
|
-
lr.prototype.set =
|
|
2675
|
-
function
|
|
2670
|
+
lr.prototype.clear = Kg;
|
|
2671
|
+
lr.prototype.delete = Yg;
|
|
2672
|
+
lr.prototype.get = Zg;
|
|
2673
|
+
lr.prototype.has = Qg;
|
|
2674
|
+
lr.prototype.set = Jg;
|
|
2675
|
+
function ev(n, e) {
|
|
2676
2676
|
for (var t = -1, r = e.length, s = n.length; ++t < r; )
|
|
2677
2677
|
n[s + t] = e[t];
|
|
2678
2678
|
return n;
|
|
2679
2679
|
}
|
|
2680
|
-
var hu = fu(Object.getPrototypeOf, Object),
|
|
2681
|
-
function
|
|
2682
|
-
if (!In(n) || jr(n) !=
|
|
2680
|
+
var hu = fu(Object.getPrototypeOf, Object), tv = "[object Object]", nv = Function.prototype, rv = Object.prototype, pu = nv.toString, sv = rv.hasOwnProperty, iv = pu.call(Object);
|
|
2681
|
+
function av(n) {
|
|
2682
|
+
if (!In(n) || jr(n) != tv)
|
|
2683
2683
|
return !1;
|
|
2684
2684
|
var e = hu(n);
|
|
2685
2685
|
if (e === null)
|
|
2686
2686
|
return !0;
|
|
2687
|
-
var t =
|
|
2688
|
-
return typeof t == "function" && t instanceof t && pu.call(t) ==
|
|
2687
|
+
var t = sv.call(e, "constructor") && e.constructor;
|
|
2688
|
+
return typeof t == "function" && t instanceof t && pu.call(t) == iv;
|
|
2689
2689
|
}
|
|
2690
|
-
function
|
|
2690
|
+
function ov() {
|
|
2691
2691
|
this.__data__ = new Pn(), this.size = 0;
|
|
2692
2692
|
}
|
|
2693
|
-
function
|
|
2693
|
+
function lv(n) {
|
|
2694
2694
|
var e = this.__data__, t = e.delete(n);
|
|
2695
2695
|
return this.size = e.size, t;
|
|
2696
2696
|
}
|
|
2697
|
-
function
|
|
2697
|
+
function uv(n) {
|
|
2698
2698
|
return this.__data__.get(n);
|
|
2699
2699
|
}
|
|
2700
|
-
function
|
|
2700
|
+
function cv(n) {
|
|
2701
2701
|
return this.__data__.has(n);
|
|
2702
2702
|
}
|
|
2703
|
-
var
|
|
2704
|
-
function
|
|
2703
|
+
var fv = 200;
|
|
2704
|
+
function dv(n, e) {
|
|
2705
2705
|
var t = this.__data__;
|
|
2706
2706
|
if (t instanceof Pn) {
|
|
2707
2707
|
var r = t.__data__;
|
|
2708
|
-
if (!ls || r.length <
|
|
2708
|
+
if (!ls || r.length < fv - 1)
|
|
2709
2709
|
return r.push([n, e]), this.size = ++t.size, this;
|
|
2710
2710
|
t = this.__data__ = new lr(r);
|
|
2711
2711
|
}
|
|
@@ -2715,97 +2715,96 @@ function yn(n) {
|
|
|
2715
2715
|
var e = this.__data__ = new Pn(n);
|
|
2716
2716
|
this.size = e.size;
|
|
2717
2717
|
}
|
|
2718
|
-
yn.prototype.clear =
|
|
2719
|
-
yn.prototype.delete =
|
|
2720
|
-
yn.prototype.get =
|
|
2721
|
-
yn.prototype.has =
|
|
2722
|
-
yn.prototype.set =
|
|
2723
|
-
var gu = typeof exports == "object" && exports && !exports.nodeType && exports, Co = gu && typeof module == "object" && module && !module.nodeType && module,
|
|
2718
|
+
yn.prototype.clear = ov;
|
|
2719
|
+
yn.prototype.delete = lv;
|
|
2720
|
+
yn.prototype.get = uv;
|
|
2721
|
+
yn.prototype.has = cv;
|
|
2722
|
+
yn.prototype.set = dv;
|
|
2723
|
+
var gu = typeof exports == "object" && exports && !exports.nodeType && exports, Co = gu && typeof module == "object" && module && !module.nodeType && module, hv = Co && Co.exports === gu, Io = hv ? wn.Buffer : void 0, Lo = Io ? Io.allocUnsafe : void 0;
|
|
2724
2724
|
function vu(n, e) {
|
|
2725
2725
|
if (e)
|
|
2726
2726
|
return n.slice();
|
|
2727
2727
|
var t = n.length, r = Lo ? Lo(t) : new n.constructor(t);
|
|
2728
2728
|
return n.copy(r), r;
|
|
2729
2729
|
}
|
|
2730
|
-
function
|
|
2730
|
+
function pv(n, e) {
|
|
2731
2731
|
for (var t = -1, r = n == null ? 0 : n.length, s = 0, o = []; ++t < r; ) {
|
|
2732
2732
|
var a = n[t];
|
|
2733
2733
|
e(a, t, n) && (o[s++] = a);
|
|
2734
2734
|
}
|
|
2735
2735
|
return o;
|
|
2736
2736
|
}
|
|
2737
|
-
function
|
|
2737
|
+
function gv() {
|
|
2738
2738
|
return [];
|
|
2739
2739
|
}
|
|
2740
|
-
var
|
|
2741
|
-
return n == null ? [] : (n = Object(n),
|
|
2742
|
-
return
|
|
2740
|
+
var vv = Object.prototype, mv = vv.propertyIsEnumerable, ko = Object.getOwnPropertySymbols, yv = ko ? function(n) {
|
|
2741
|
+
return n == null ? [] : (n = Object(n), pv(ko(n), function(e) {
|
|
2742
|
+
return mv.call(n, e);
|
|
2743
2743
|
}));
|
|
2744
|
-
} :
|
|
2745
|
-
function
|
|
2744
|
+
} : gv;
|
|
2745
|
+
function bv(n, e, t) {
|
|
2746
2746
|
var r = e(n);
|
|
2747
|
-
return tr(n) ? r :
|
|
2747
|
+
return tr(n) ? r : ev(r, t(n));
|
|
2748
2748
|
}
|
|
2749
2749
|
function da(n) {
|
|
2750
|
-
return
|
|
2750
|
+
return bv(n, Tg, yv);
|
|
2751
2751
|
}
|
|
2752
|
-
var ha = or(wn, "DataView"), pa = or(wn, "Promise"), ga = or(wn, "Set"), Po = "[object Map]",
|
|
2752
|
+
var ha = or(wn, "DataView"), pa = or(wn, "Promise"), ga = or(wn, "Set"), Po = "[object Map]", xv = "[object Object]", Fo = "[object Promise]", Mo = "[object Set]", Do = "[object WeakMap]", Bo = "[object DataView]", Av = ar(ha), wv = ar(ls), Ev = ar(pa), Sv = ar(ga), Tv = ar(ca), sn = jr;
|
|
2753
2753
|
(ha && sn(new ha(new ArrayBuffer(1))) != Bo || ls && sn(new ls()) != Po || pa && sn(pa.resolve()) != Fo || ga && sn(new ga()) != Mo || ca && sn(new ca()) != Do) && (sn = function(n) {
|
|
2754
|
-
var e = jr(n), t = e ==
|
|
2754
|
+
var e = jr(n), t = e == xv ? n.constructor : void 0, r = t ? ar(t) : "";
|
|
2755
2755
|
if (r)
|
|
2756
2756
|
switch (r) {
|
|
2757
|
-
case xv:
|
|
2758
|
-
return Bo;
|
|
2759
2757
|
case Av:
|
|
2760
|
-
return
|
|
2758
|
+
return Bo;
|
|
2761
2759
|
case wv:
|
|
2762
|
-
return
|
|
2760
|
+
return Po;
|
|
2763
2761
|
case Ev:
|
|
2764
|
-
return
|
|
2762
|
+
return Fo;
|
|
2765
2763
|
case Sv:
|
|
2764
|
+
return Mo;
|
|
2765
|
+
case Tv:
|
|
2766
2766
|
return Do;
|
|
2767
2767
|
}
|
|
2768
2768
|
return e;
|
|
2769
2769
|
});
|
|
2770
|
-
var
|
|
2771
|
-
function
|
|
2770
|
+
var Ov = Object.prototype, Nv = Ov.hasOwnProperty;
|
|
2771
|
+
function Rv(n) {
|
|
2772
2772
|
var e = n.length, t = new n.constructor(e);
|
|
2773
|
-
return e && typeof n[0] == "string" &&
|
|
2773
|
+
return e && typeof n[0] == "string" && Nv.call(n, "index") && (t.index = n.index, t.input = n.input), t;
|
|
2774
2774
|
}
|
|
2775
|
-
var
|
|
2775
|
+
var ti = wn.Uint8Array;
|
|
2776
2776
|
function Ga(n) {
|
|
2777
2777
|
var e = new n.constructor(n.byteLength);
|
|
2778
|
-
return new
|
|
2778
|
+
return new ti(e).set(new ti(n)), e;
|
|
2779
2779
|
}
|
|
2780
|
-
function
|
|
2780
|
+
function Cv(n, e) {
|
|
2781
2781
|
var t = Ga(n.buffer);
|
|
2782
2782
|
return new n.constructor(t, n.byteOffset, n.byteLength);
|
|
2783
2783
|
}
|
|
2784
|
-
var
|
|
2785
|
-
function
|
|
2786
|
-
var e = new n.constructor(n.source,
|
|
2784
|
+
var Iv = /\w*$/;
|
|
2785
|
+
function Lv(n) {
|
|
2786
|
+
var e = new n.constructor(n.source, Iv.exec(n));
|
|
2787
2787
|
return e.lastIndex = n.lastIndex, e;
|
|
2788
2788
|
}
|
|
2789
2789
|
var Uo = Hn ? Hn.prototype : void 0, jo = Uo ? Uo.valueOf : void 0;
|
|
2790
|
-
function
|
|
2790
|
+
function kv(n) {
|
|
2791
2791
|
return jo ? Object(jo.call(n)) : {};
|
|
2792
2792
|
}
|
|
2793
2793
|
function mu(n, e) {
|
|
2794
2794
|
var t = e ? Ga(n.buffer) : n.buffer;
|
|
2795
2795
|
return new n.constructor(t, n.byteOffset, n.length);
|
|
2796
2796
|
}
|
|
2797
|
-
var
|
|
2798
|
-
function
|
|
2797
|
+
var Pv = "[object Boolean]", Fv = "[object Date]", Mv = "[object Map]", Dv = "[object Number]", Bv = "[object RegExp]", Uv = "[object Set]", jv = "[object String]", $v = "[object Symbol]", _v = "[object ArrayBuffer]", qv = "[object DataView]", zv = "[object Float32Array]", Hv = "[object Float64Array]", Vv = "[object Int8Array]", Gv = "[object Int16Array]", Wv = "[object Int32Array]", Kv = "[object Uint8Array]", Xv = "[object Uint8ClampedArray]", Yv = "[object Uint16Array]", Zv = "[object Uint32Array]";
|
|
2798
|
+
function Qv(n, e, t) {
|
|
2799
2799
|
var r = n.constructor;
|
|
2800
2800
|
switch (e) {
|
|
2801
|
-
case
|
|
2801
|
+
case _v:
|
|
2802
2802
|
return Ga(n);
|
|
2803
|
-
case kv:
|
|
2804
2803
|
case Pv:
|
|
2804
|
+
case Fv:
|
|
2805
2805
|
return new r(+n);
|
|
2806
|
-
case _v:
|
|
2807
|
-
return Rv(n);
|
|
2808
2806
|
case qv:
|
|
2807
|
+
return Cv(n);
|
|
2809
2808
|
case zv:
|
|
2810
2809
|
case Hv:
|
|
2811
2810
|
case Vv:
|
|
@@ -2814,45 +2813,46 @@ function Zv(n, e, t) {
|
|
|
2814
2813
|
case Kv:
|
|
2815
2814
|
case Xv:
|
|
2816
2815
|
case Yv:
|
|
2816
|
+
case Zv:
|
|
2817
2817
|
return mu(n, t);
|
|
2818
|
-
case Fv:
|
|
2819
|
-
return new r();
|
|
2820
2818
|
case Mv:
|
|
2821
|
-
case Uv:
|
|
2822
|
-
return new r(n);
|
|
2823
|
-
case Dv:
|
|
2824
|
-
return Iv(n);
|
|
2825
|
-
case Bv:
|
|
2826
2819
|
return new r();
|
|
2820
|
+
case Dv:
|
|
2827
2821
|
case jv:
|
|
2822
|
+
return new r(n);
|
|
2823
|
+
case Bv:
|
|
2828
2824
|
return Lv(n);
|
|
2825
|
+
case Uv:
|
|
2826
|
+
return new r();
|
|
2827
|
+
case $v:
|
|
2828
|
+
return kv(n);
|
|
2829
2829
|
}
|
|
2830
2830
|
}
|
|
2831
2831
|
function yu(n) {
|
|
2832
|
-
return typeof n.constructor == "function" && !za(n) ?
|
|
2832
|
+
return typeof n.constructor == "function" && !za(n) ? yp(hu(n)) : {};
|
|
2833
2833
|
}
|
|
2834
|
-
var
|
|
2835
|
-
function
|
|
2836
|
-
return In(n) && sn(n) ==
|
|
2834
|
+
var Jv = "[object Map]";
|
|
2835
|
+
function em(n) {
|
|
2836
|
+
return In(n) && sn(n) == Jv;
|
|
2837
2837
|
}
|
|
2838
|
-
var $o = Pr && Pr.isMap,
|
|
2839
|
-
function
|
|
2840
|
-
return In(n) && sn(n) ==
|
|
2838
|
+
var $o = Pr && Pr.isMap, tm = $o ? Ha($o) : em, nm = "[object Set]";
|
|
2839
|
+
function rm(n) {
|
|
2840
|
+
return In(n) && sn(n) == nm;
|
|
2841
2841
|
}
|
|
2842
|
-
var _o = Pr && Pr.isSet,
|
|
2843
|
-
st[bu] = st[
|
|
2844
|
-
st[
|
|
2845
|
-
function
|
|
2846
|
-
var a, u = e &
|
|
2842
|
+
var _o = Pr && Pr.isSet, sm = _o ? Ha(_o) : rm, im = 1, bu = "[object Arguments]", am = "[object Array]", om = "[object Boolean]", lm = "[object Date]", um = "[object Error]", xu = "[object Function]", cm = "[object GeneratorFunction]", fm = "[object Map]", dm = "[object Number]", Au = "[object Object]", hm = "[object RegExp]", pm = "[object Set]", gm = "[object String]", vm = "[object Symbol]", mm = "[object WeakMap]", ym = "[object ArrayBuffer]", bm = "[object DataView]", xm = "[object Float32Array]", Am = "[object Float64Array]", wm = "[object Int8Array]", Em = "[object Int16Array]", Sm = "[object Int32Array]", Tm = "[object Uint8Array]", Om = "[object Uint8ClampedArray]", Nm = "[object Uint16Array]", Rm = "[object Uint32Array]", st = {};
|
|
2843
|
+
st[bu] = st[am] = st[ym] = st[bm] = st[om] = st[lm] = st[xm] = st[Am] = st[wm] = st[Em] = st[Sm] = st[fm] = st[dm] = st[Au] = st[hm] = st[pm] = st[gm] = st[vm] = st[Tm] = st[Om] = st[Nm] = st[Rm] = !0;
|
|
2844
|
+
st[um] = st[xu] = st[mm] = !1;
|
|
2845
|
+
function Ws(n, e, t, r, s, o) {
|
|
2846
|
+
var a, u = e & im;
|
|
2847
2847
|
if (a !== void 0)
|
|
2848
2848
|
return a;
|
|
2849
2849
|
if (!Vn(n))
|
|
2850
2850
|
return n;
|
|
2851
2851
|
var i = tr(n);
|
|
2852
2852
|
if (i)
|
|
2853
|
-
a =
|
|
2853
|
+
a = Rv(n);
|
|
2854
2854
|
else {
|
|
2855
|
-
var l = sn(n), c = l == xu || l ==
|
|
2855
|
+
var l = sn(n), c = l == xu || l == cm;
|
|
2856
2856
|
if (as(n))
|
|
2857
2857
|
return vu(n, u);
|
|
2858
2858
|
if (l == Au || l == bu || c && !s)
|
|
@@ -2860,59 +2860,59 @@ function Gs(n, e, t, r, s, o) {
|
|
|
2860
2860
|
else {
|
|
2861
2861
|
if (!st[l])
|
|
2862
2862
|
return s ? n : {};
|
|
2863
|
-
a =
|
|
2863
|
+
a = Qv(n, l, u);
|
|
2864
2864
|
}
|
|
2865
2865
|
}
|
|
2866
2866
|
o || (o = new yn());
|
|
2867
2867
|
var d = o.get(n);
|
|
2868
2868
|
if (d)
|
|
2869
2869
|
return d;
|
|
2870
|
-
o.set(n, a),
|
|
2871
|
-
a.add(
|
|
2872
|
-
}) :
|
|
2873
|
-
a.set(v,
|
|
2870
|
+
o.set(n, a), sm(n) ? n.forEach(function(h) {
|
|
2871
|
+
a.add(Ws(h, e, t, h, n, o));
|
|
2872
|
+
}) : tm(n) && n.forEach(function(h, v) {
|
|
2873
|
+
a.set(v, Ws(h, e, t, v, n, o));
|
|
2874
2874
|
});
|
|
2875
2875
|
var f = da, g = i ? void 0 : f(n);
|
|
2876
|
-
return
|
|
2877
|
-
g && (v = h, h = n[v]), iu(a, v,
|
|
2876
|
+
return Rp(g || n, function(h, v) {
|
|
2877
|
+
g && (v = h, h = n[v]), iu(a, v, Ws(h, e, t, v, n, o));
|
|
2878
2878
|
}), a;
|
|
2879
2879
|
}
|
|
2880
|
-
var
|
|
2880
|
+
var Cm = 1, Im = 4;
|
|
2881
2881
|
function Cr(n) {
|
|
2882
|
-
return
|
|
2883
|
-
}
|
|
2884
|
-
var Im = "__lodash_hash_undefined__";
|
|
2885
|
-
function Lm(n) {
|
|
2886
|
-
return this.__data__.set(n, Im), this;
|
|
2882
|
+
return Ws(n, Cm | Im);
|
|
2887
2883
|
}
|
|
2884
|
+
var Lm = "__lodash_hash_undefined__";
|
|
2888
2885
|
function km(n) {
|
|
2886
|
+
return this.__data__.set(n, Lm), this;
|
|
2887
|
+
}
|
|
2888
|
+
function Pm(n) {
|
|
2889
2889
|
return this.__data__.has(n);
|
|
2890
2890
|
}
|
|
2891
|
-
function
|
|
2891
|
+
function ni(n) {
|
|
2892
2892
|
var e = -1, t = n == null ? 0 : n.length;
|
|
2893
2893
|
for (this.__data__ = new lr(); ++e < t; )
|
|
2894
2894
|
this.add(n[e]);
|
|
2895
2895
|
}
|
|
2896
|
-
|
|
2897
|
-
|
|
2898
|
-
function
|
|
2896
|
+
ni.prototype.add = ni.prototype.push = km;
|
|
2897
|
+
ni.prototype.has = Pm;
|
|
2898
|
+
function Fm(n, e) {
|
|
2899
2899
|
for (var t = -1, r = n == null ? 0 : n.length; ++t < r; )
|
|
2900
2900
|
if (e(n[t], t, n))
|
|
2901
2901
|
return !0;
|
|
2902
2902
|
return !1;
|
|
2903
2903
|
}
|
|
2904
|
-
function
|
|
2904
|
+
function Mm(n, e) {
|
|
2905
2905
|
return n.has(e);
|
|
2906
2906
|
}
|
|
2907
|
-
var
|
|
2907
|
+
var Dm = 1, Bm = 2;
|
|
2908
2908
|
function wu(n, e, t, r, s, o) {
|
|
2909
|
-
var a = t &
|
|
2909
|
+
var a = t & Dm, u = n.length, i = e.length;
|
|
2910
2910
|
if (u != i && !(a && i > u))
|
|
2911
2911
|
return !1;
|
|
2912
2912
|
var l = o.get(n), c = o.get(e);
|
|
2913
2913
|
if (l && c)
|
|
2914
2914
|
return l == e && c == n;
|
|
2915
|
-
var d = -1, f = !0, g = t &
|
|
2915
|
+
var d = -1, f = !0, g = t & Bm ? new ni() : void 0;
|
|
2916
2916
|
for (o.set(n, e), o.set(e, n); ++d < u; ) {
|
|
2917
2917
|
var h = n[d], v = e[d];
|
|
2918
2918
|
if (r)
|
|
@@ -2924,8 +2924,8 @@ function wu(n, e, t, r, s, o) {
|
|
|
2924
2924
|
break;
|
|
2925
2925
|
}
|
|
2926
2926
|
if (g) {
|
|
2927
|
-
if (!
|
|
2928
|
-
if (!
|
|
2927
|
+
if (!Fm(e, function(S, E) {
|
|
2928
|
+
if (!Mm(g, E) && (h === S || s(h, S, t, r, o)))
|
|
2929
2929
|
return g.push(E);
|
|
2930
2930
|
})) {
|
|
2931
2931
|
f = !1;
|
|
@@ -2938,62 +2938,62 @@ function wu(n, e, t, r, s, o) {
|
|
|
2938
2938
|
}
|
|
2939
2939
|
return o.delete(n), o.delete(e), f;
|
|
2940
2940
|
}
|
|
2941
|
-
function
|
|
2941
|
+
function Um(n) {
|
|
2942
2942
|
var e = -1, t = Array(n.size);
|
|
2943
2943
|
return n.forEach(function(r, s) {
|
|
2944
2944
|
t[++e] = [s, r];
|
|
2945
2945
|
}), t;
|
|
2946
2946
|
}
|
|
2947
|
-
function
|
|
2947
|
+
function jm(n) {
|
|
2948
2948
|
var e = -1, t = Array(n.size);
|
|
2949
2949
|
return n.forEach(function(r) {
|
|
2950
2950
|
t[++e] = r;
|
|
2951
2951
|
}), t;
|
|
2952
2952
|
}
|
|
2953
|
-
var
|
|
2954
|
-
function
|
|
2953
|
+
var $m = 1, _m = 2, qm = "[object Boolean]", zm = "[object Date]", Hm = "[object Error]", Vm = "[object Map]", Gm = "[object Number]", Wm = "[object RegExp]", Km = "[object Set]", Xm = "[object String]", Ym = "[object Symbol]", Zm = "[object ArrayBuffer]", Qm = "[object DataView]", qo = Hn ? Hn.prototype : void 0, qi = qo ? qo.valueOf : void 0;
|
|
2954
|
+
function Jm(n, e, t, r, s, o, a) {
|
|
2955
2955
|
switch (t) {
|
|
2956
|
-
case
|
|
2956
|
+
case Qm:
|
|
2957
2957
|
if (n.byteLength != e.byteLength || n.byteOffset != e.byteOffset)
|
|
2958
2958
|
return !1;
|
|
2959
2959
|
n = n.buffer, e = e.buffer;
|
|
2960
|
-
case
|
|
2961
|
-
return !(n.byteLength != e.byteLength || !o(new
|
|
2962
|
-
case _m:
|
|
2960
|
+
case Zm:
|
|
2961
|
+
return !(n.byteLength != e.byteLength || !o(new ti(n), new ti(e)));
|
|
2963
2962
|
case qm:
|
|
2964
|
-
case Vm:
|
|
2965
|
-
return vs(+n, +e);
|
|
2966
2963
|
case zm:
|
|
2967
|
-
return n.name == e.name && n.message == e.message;
|
|
2968
2964
|
case Gm:
|
|
2969
|
-
|
|
2970
|
-
return n == e + "";
|
|
2965
|
+
return ms(+n, +e);
|
|
2971
2966
|
case Hm:
|
|
2972
|
-
|
|
2967
|
+
return n.name == e.name && n.message == e.message;
|
|
2973
2968
|
case Wm:
|
|
2974
|
-
|
|
2975
|
-
|
|
2969
|
+
case Xm:
|
|
2970
|
+
return n == e + "";
|
|
2971
|
+
case Vm:
|
|
2972
|
+
var u = Um;
|
|
2973
|
+
case Km:
|
|
2974
|
+
var i = r & $m;
|
|
2975
|
+
if (u || (u = jm), n.size != e.size && !i)
|
|
2976
2976
|
return !1;
|
|
2977
2977
|
var l = a.get(n);
|
|
2978
2978
|
if (l)
|
|
2979
2979
|
return l == e;
|
|
2980
|
-
r |=
|
|
2980
|
+
r |= _m, a.set(n, e);
|
|
2981
2981
|
var c = wu(u(n), u(e), r, s, o, a);
|
|
2982
2982
|
return a.delete(n), c;
|
|
2983
|
-
case
|
|
2983
|
+
case Ym:
|
|
2984
2984
|
if (qi)
|
|
2985
2985
|
return qi.call(n) == qi.call(e);
|
|
2986
2986
|
}
|
|
2987
2987
|
return !1;
|
|
2988
2988
|
}
|
|
2989
|
-
var
|
|
2990
|
-
function
|
|
2991
|
-
var a = t &
|
|
2989
|
+
var e0 = 1, t0 = Object.prototype, n0 = t0.hasOwnProperty;
|
|
2990
|
+
function r0(n, e, t, r, s, o) {
|
|
2991
|
+
var a = t & e0, u = da(n), i = u.length, l = da(e), c = l.length;
|
|
2992
2992
|
if (i != c && !a)
|
|
2993
2993
|
return !1;
|
|
2994
2994
|
for (var d = i; d--; ) {
|
|
2995
2995
|
var f = u[d];
|
|
2996
|
-
if (!(a ? f in e :
|
|
2996
|
+
if (!(a ? f in e : n0.call(e, f)))
|
|
2997
2997
|
return !1;
|
|
2998
2998
|
}
|
|
2999
2999
|
var g = o.get(n), h = o.get(e);
|
|
@@ -3018,31 +3018,31 @@ function n0(n, e, t, r, s, o) {
|
|
|
3018
3018
|
}
|
|
3019
3019
|
return o.delete(n), o.delete(e), v;
|
|
3020
3020
|
}
|
|
3021
|
-
var
|
|
3022
|
-
function
|
|
3021
|
+
var s0 = 1, zo = "[object Arguments]", Ho = "[object Array]", Ds = "[object Object]", i0 = Object.prototype, Vo = i0.hasOwnProperty;
|
|
3022
|
+
function a0(n, e, t, r, s, o) {
|
|
3023
3023
|
var a = tr(n), u = tr(e), i = a ? Ho : sn(n), l = u ? Ho : sn(e);
|
|
3024
|
-
i = i == zo ?
|
|
3025
|
-
var c = i ==
|
|
3024
|
+
i = i == zo ? Ds : i, l = l == zo ? Ds : l;
|
|
3025
|
+
var c = i == Ds, d = l == Ds, f = i == l;
|
|
3026
3026
|
if (f && as(n)) {
|
|
3027
3027
|
if (!as(e))
|
|
3028
3028
|
return !1;
|
|
3029
3029
|
a = !0, c = !1;
|
|
3030
3030
|
}
|
|
3031
3031
|
if (f && !c)
|
|
3032
|
-
return o || (o = new yn()), a || Va(n) ? wu(n, e, t, r, s, o) :
|
|
3033
|
-
if (!(t &
|
|
3032
|
+
return o || (o = new yn()), a || Va(n) ? wu(n, e, t, r, s, o) : Jm(n, e, i, t, r, s, o);
|
|
3033
|
+
if (!(t & s0)) {
|
|
3034
3034
|
var g = c && Vo.call(n, "__wrapped__"), h = d && Vo.call(e, "__wrapped__");
|
|
3035
3035
|
if (g || h) {
|
|
3036
3036
|
var v = g ? n.value() : n, b = h ? e.value() : e;
|
|
3037
3037
|
return o || (o = new yn()), s(v, b, t, r, o);
|
|
3038
3038
|
}
|
|
3039
3039
|
}
|
|
3040
|
-
return f ? (o || (o = new yn()),
|
|
3040
|
+
return f ? (o || (o = new yn()), r0(n, e, t, r, s, o)) : !1;
|
|
3041
3041
|
}
|
|
3042
3042
|
function Eu(n, e, t, r, s) {
|
|
3043
|
-
return n === e ? !0 : n == null || e == null || !In(n) && !In(e) ? n !== n && e !== e :
|
|
3043
|
+
return n === e ? !0 : n == null || e == null || !In(n) && !In(e) ? n !== n && e !== e : a0(n, e, t, r, Eu, s);
|
|
3044
3044
|
}
|
|
3045
|
-
function
|
|
3045
|
+
function o0(n) {
|
|
3046
3046
|
return function(e, t, r) {
|
|
3047
3047
|
for (var s = -1, o = Object(e), a = r(e), u = a.length; u--; ) {
|
|
3048
3048
|
var i = a[++s];
|
|
@@ -3052,21 +3052,21 @@ function a0(n) {
|
|
|
3052
3052
|
return e;
|
|
3053
3053
|
};
|
|
3054
3054
|
}
|
|
3055
|
-
var
|
|
3055
|
+
var l0 = o0();
|
|
3056
3056
|
function va(n, e, t) {
|
|
3057
|
-
(t !== void 0 && !
|
|
3057
|
+
(t !== void 0 && !ms(n[e], t) || t === void 0 && !(e in n)) && qa(n, e, t);
|
|
3058
3058
|
}
|
|
3059
|
-
function
|
|
3059
|
+
function u0(n) {
|
|
3060
3060
|
return In(n) && li(n);
|
|
3061
3061
|
}
|
|
3062
3062
|
function ma(n, e) {
|
|
3063
3063
|
if (!(e === "constructor" && typeof n[e] == "function") && e != "__proto__")
|
|
3064
3064
|
return n[e];
|
|
3065
3065
|
}
|
|
3066
|
-
function
|
|
3067
|
-
return
|
|
3066
|
+
function c0(n) {
|
|
3067
|
+
return Pp(n, du(n));
|
|
3068
3068
|
}
|
|
3069
|
-
function
|
|
3069
|
+
function f0(n, e, t, r, s, o, a) {
|
|
3070
3070
|
var u = ma(n, t), i = ma(e, t), l = a.get(i);
|
|
3071
3071
|
if (l) {
|
|
3072
3072
|
va(n, t, l);
|
|
@@ -3075,14 +3075,14 @@ function c0(n, e, t, r, s, o, a) {
|
|
|
3075
3075
|
var c = o ? o(u, i, t + "", n, e, a) : void 0, d = c === void 0;
|
|
3076
3076
|
if (d) {
|
|
3077
3077
|
var f = tr(i), g = !f && as(i), h = !f && !g && Va(i);
|
|
3078
|
-
c = i, f || g || h ? tr(u) ? c = u :
|
|
3078
|
+
c = i, f || g || h ? tr(u) ? c = u : u0(u) ? c = xp(u) : g ? (d = !1, c = vu(i, !0)) : h ? (d = !1, c = mu(i, !0)) : c = [] : av(i) || fa(i) ? (c = u, fa(u) ? c = c0(u) : (!Vn(u) || _a(u)) && (c = yu(i))) : d = !1;
|
|
3079
3079
|
}
|
|
3080
3080
|
d && (a.set(i, c), s(c, i, r, o, a), a.delete(i)), va(n, t, c);
|
|
3081
3081
|
}
|
|
3082
3082
|
function Su(n, e, t, r, s) {
|
|
3083
|
-
n !== e &&
|
|
3083
|
+
n !== e && l0(e, function(o, a) {
|
|
3084
3084
|
if (s || (s = new yn()), Vn(o))
|
|
3085
|
-
|
|
3085
|
+
f0(n, e, a, t, Su, r, s);
|
|
3086
3086
|
else {
|
|
3087
3087
|
var u = r ? r(ma(n, a), o, a + "", n, e, s) : void 0;
|
|
3088
3088
|
u === void 0 && (u = o), va(n, a, u);
|
|
@@ -3092,7 +3092,7 @@ function Su(n, e, t, r, s) {
|
|
|
3092
3092
|
function Wa(n, e) {
|
|
3093
3093
|
return Eu(n, e);
|
|
3094
3094
|
}
|
|
3095
|
-
var zn =
|
|
3095
|
+
var zn = Up(function(n, e, t) {
|
|
3096
3096
|
Su(n, e, t);
|
|
3097
3097
|
}), 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 || {});
|
|
3098
3098
|
class xn {
|
|
@@ -3182,7 +3182,7 @@ let Fr = Tu;
|
|
|
3182
3182
|
function Go(n, e) {
|
|
3183
3183
|
return (n.getAttribute("class") || "").split(/\s+/).filter((t) => t.indexOf(`${e}-`) === 0);
|
|
3184
3184
|
}
|
|
3185
|
-
class
|
|
3185
|
+
class d0 extends xn {
|
|
3186
3186
|
static keys(e) {
|
|
3187
3187
|
return (e.getAttribute("class") || "").split(/\s+/).map((t) => t.split("-").slice(0, -1).join("-"));
|
|
3188
3188
|
}
|
|
@@ -3199,12 +3199,12 @@ class f0 extends xn {
|
|
|
3199
3199
|
return this.canAdd(e, t) ? t : "";
|
|
3200
3200
|
}
|
|
3201
3201
|
}
|
|
3202
|
-
const cn =
|
|
3202
|
+
const cn = d0;
|
|
3203
3203
|
function zi(n) {
|
|
3204
3204
|
const e = n.split("-"), t = e.slice(1).map((r) => r[0].toUpperCase() + r.slice(1)).join("");
|
|
3205
3205
|
return e[0] + t;
|
|
3206
3206
|
}
|
|
3207
|
-
class
|
|
3207
|
+
class h0 extends xn {
|
|
3208
3208
|
static keys(e) {
|
|
3209
3209
|
return (e.getAttribute("style") || "").split(";").map((t) => t.split(":")[0].trim());
|
|
3210
3210
|
}
|
|
@@ -3219,8 +3219,8 @@ class d0 extends xn {
|
|
|
3219
3219
|
return this.canAdd(e, t) ? t : "";
|
|
3220
3220
|
}
|
|
3221
3221
|
}
|
|
3222
|
-
const Gn =
|
|
3223
|
-
class
|
|
3222
|
+
const Gn = h0;
|
|
3223
|
+
class p0 {
|
|
3224
3224
|
constructor(e) {
|
|
3225
3225
|
this.attributes = {}, this.domNode = e, this.build();
|
|
3226
3226
|
}
|
|
@@ -3256,7 +3256,7 @@ class h0 {
|
|
|
3256
3256
|
);
|
|
3257
3257
|
}
|
|
3258
3258
|
}
|
|
3259
|
-
const fi =
|
|
3259
|
+
const fi = p0, Ou = class {
|
|
3260
3260
|
constructor(e, t) {
|
|
3261
3261
|
this.scroll = e, this.domNode = t, Fr.blots.set(t, this), this.prev = null, this.next = null;
|
|
3262
3262
|
}
|
|
@@ -3367,9 +3367,9 @@ const Ru = class extends Nu {
|
|
|
3367
3367
|
}
|
|
3368
3368
|
};
|
|
3369
3369
|
Ru.scope = Ce.INLINE_BLOT;
|
|
3370
|
-
let
|
|
3371
|
-
const kt =
|
|
3372
|
-
class
|
|
3370
|
+
let g0 = Ru;
|
|
3371
|
+
const kt = g0;
|
|
3372
|
+
class v0 {
|
|
3373
3373
|
constructor() {
|
|
3374
3374
|
this.head = null, this.tail = null, this.length = 0;
|
|
3375
3375
|
}
|
|
@@ -3503,7 +3503,7 @@ const Cu = class Un extends Nu {
|
|
|
3503
3503
|
* Called during construction, should fill its own children LinkedList.
|
|
3504
3504
|
*/
|
|
3505
3505
|
build() {
|
|
3506
|
-
this.children = new
|
|
3506
|
+
this.children = new v0(), Array.from(this.domNode.childNodes).filter((e) => e !== this.uiNode).reverse().forEach((e) => {
|
|
3507
3507
|
try {
|
|
3508
3508
|
const t = Wo(e, this.scroll);
|
|
3509
3509
|
this.insertBefore(t, this.children.head || void 0);
|
|
@@ -3637,9 +3637,9 @@ const Cu = class Un extends Nu {
|
|
|
3637
3637
|
}
|
|
3638
3638
|
};
|
|
3639
3639
|
Cu.uiClass = "";
|
|
3640
|
-
let
|
|
3641
|
-
const ln =
|
|
3642
|
-
function
|
|
3640
|
+
let m0 = Cu;
|
|
3641
|
+
const ln = m0;
|
|
3642
|
+
function y0(n, e) {
|
|
3643
3643
|
if (Object.keys(n).length !== Object.keys(e).length)
|
|
3644
3644
|
return !1;
|
|
3645
3645
|
for (const t in n)
|
|
@@ -3688,7 +3688,7 @@ const Er = class Sr extends ln {
|
|
|
3688
3688
|
if (Object.keys(t).length === 0)
|
|
3689
3689
|
return this.unwrap();
|
|
3690
3690
|
const r = this.next;
|
|
3691
|
-
r instanceof Sr && r.prev === this &&
|
|
3691
|
+
r instanceof Sr && r.prev === this && y0(t, r.formats()) && (r.moveChildren(this), r.remove());
|
|
3692
3692
|
}
|
|
3693
3693
|
replaceWith(e, t) {
|
|
3694
3694
|
const r = super.replaceWith(e, t);
|
|
@@ -3705,8 +3705,8 @@ const Er = class Sr extends ln {
|
|
|
3705
3705
|
}
|
|
3706
3706
|
};
|
|
3707
3707
|
Er.allowedChildren = [Er, kt], Er.blotName = "inline", Er.scope = Ce.INLINE_BLOT, Er.tagName = "SPAN";
|
|
3708
|
-
let
|
|
3709
|
-
const Ka =
|
|
3708
|
+
let b0 = Er;
|
|
3709
|
+
const Ka = b0, Tr = class ba extends ln {
|
|
3710
3710
|
static create(e) {
|
|
3711
3711
|
return super.create(e);
|
|
3712
3712
|
}
|
|
@@ -3760,8 +3760,8 @@ Tr.blotName = "block", Tr.scope = Ce.BLOCK_BLOT, Tr.tagName = "P", Tr.allowedChi
|
|
|
3760
3760
|
Tr,
|
|
3761
3761
|
kt
|
|
3762
3762
|
];
|
|
3763
|
-
let
|
|
3764
|
-
const us =
|
|
3763
|
+
let x0 = Tr;
|
|
3764
|
+
const us = x0, xa = class extends ln {
|
|
3765
3765
|
checkMerge() {
|
|
3766
3766
|
return this.next !== null && this.next.statics.blotName === this.statics.blotName;
|
|
3767
3767
|
}
|
|
@@ -3779,9 +3779,9 @@ const us = b0, xa = class extends ln {
|
|
|
3779
3779
|
}
|
|
3780
3780
|
};
|
|
3781
3781
|
xa.blotName = "container", xa.scope = Ce.BLOCK_BLOT;
|
|
3782
|
-
let
|
|
3783
|
-
const di =
|
|
3784
|
-
class
|
|
3782
|
+
let A0 = xa;
|
|
3783
|
+
const di = A0;
|
|
3784
|
+
class w0 extends kt {
|
|
3785
3785
|
static formats(e, t) {
|
|
3786
3786
|
}
|
|
3787
3787
|
format(e, t) {
|
|
@@ -3794,17 +3794,17 @@ class A0 extends kt {
|
|
|
3794
3794
|
return this.statics.formats(this.domNode, this.scroll);
|
|
3795
3795
|
}
|
|
3796
3796
|
}
|
|
3797
|
-
const Vt =
|
|
3797
|
+
const Vt = w0, E0 = {
|
|
3798
3798
|
attributes: !0,
|
|
3799
3799
|
characterData: !0,
|
|
3800
3800
|
characterDataOldValue: !0,
|
|
3801
3801
|
childList: !0,
|
|
3802
3802
|
subtree: !0
|
|
3803
|
-
},
|
|
3803
|
+
}, S0 = 100, Or = class extends ln {
|
|
3804
3804
|
constructor(e, t) {
|
|
3805
3805
|
super(null, t), this.registry = e, this.scroll = this, this.build(), this.observer = new MutationObserver((r) => {
|
|
3806
3806
|
this.update(r);
|
|
3807
|
-
}), this.observer.observe(this.domNode,
|
|
3807
|
+
}), this.observer.observe(this.domNode, E0), this.attach();
|
|
3808
3808
|
}
|
|
3809
3809
|
create(e, t) {
|
|
3810
3810
|
return this.registry.create(this, e, t);
|
|
@@ -3849,7 +3849,7 @@ const Vt = A0, w0 = {
|
|
|
3849
3849
|
};
|
|
3850
3850
|
let u = e;
|
|
3851
3851
|
for (let i = 0; u.length > 0; i += 1) {
|
|
3852
|
-
if (i >=
|
|
3852
|
+
if (i >= S0)
|
|
3853
3853
|
throw new Error("[Parchment] Maximum optimize iterations reached");
|
|
3854
3854
|
for (u.forEach((l) => {
|
|
3855
3855
|
const c = this.find(l.target, !0);
|
|
@@ -3875,8 +3875,8 @@ const Vt = A0, w0 = {
|
|
|
3875
3875
|
}
|
|
3876
3876
|
};
|
|
3877
3877
|
Or.blotName = "scroll", Or.defaultChild = us, Or.allowedChildren = [us, di], Or.scope = Ce.BLOCK_BLOT, Or.tagName = "DIV";
|
|
3878
|
-
let
|
|
3879
|
-
const Xa =
|
|
3878
|
+
let T0 = Or;
|
|
3879
|
+
const Xa = T0, Aa = class Iu extends kt {
|
|
3880
3880
|
static create(e) {
|
|
3881
3881
|
return document.createTextNode(e);
|
|
3882
3882
|
}
|
|
@@ -3922,8 +3922,8 @@ const Xa = S0, Aa = class Iu extends kt {
|
|
|
3922
3922
|
}
|
|
3923
3923
|
};
|
|
3924
3924
|
Aa.blotName = "text", Aa.scope = Ce.INLINE_BLOT;
|
|
3925
|
-
let
|
|
3926
|
-
const
|
|
3925
|
+
let O0 = Aa;
|
|
3926
|
+
const ri = O0, N0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3927
3927
|
__proto__: null,
|
|
3928
3928
|
Attributor: xn,
|
|
3929
3929
|
AttributorStore: fi,
|
|
@@ -3938,14 +3938,14 @@ const ni = T0, O0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3938
3938
|
Scope: Ce,
|
|
3939
3939
|
ScrollBlot: Xa,
|
|
3940
3940
|
StyleAttributor: Gn,
|
|
3941
|
-
TextBlot:
|
|
3941
|
+
TextBlot: ri
|
|
3942
3942
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
3943
3943
|
var $n = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
3944
3944
|
function Ya(n) {
|
|
3945
3945
|
return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
|
|
3946
3946
|
}
|
|
3947
|
-
var
|
|
3948
|
-
function
|
|
3947
|
+
var Bs = { exports: {} }, Hi, Ko;
|
|
3948
|
+
function R0() {
|
|
3949
3949
|
if (Ko) return Hi;
|
|
3950
3950
|
Ko = 1;
|
|
3951
3951
|
var n = -1, e = 1, t = 0;
|
|
@@ -4496,11 +4496,11 @@ function Lu() {
|
|
|
4496
4496
|
}
|
|
4497
4497
|
function Te(p, w, D) {
|
|
4498
4498
|
var ie = p[w];
|
|
4499
|
-
(!(he.call(p, w) &&
|
|
4499
|
+
(!(he.call(p, w) && Rs(ie, D)) || D === void 0 && !(w in p)) && (p[w] = D);
|
|
4500
4500
|
}
|
|
4501
4501
|
function Ve(p, w) {
|
|
4502
4502
|
for (var D = p.length; D--; )
|
|
4503
|
-
if (
|
|
4503
|
+
if (Rs(p[D][0], w))
|
|
4504
4504
|
return D;
|
|
4505
4505
|
return -1;
|
|
4506
4506
|
}
|
|
@@ -4519,7 +4519,7 @@ function Lu() {
|
|
|
4519
4519
|
return Oi(p, Ye);
|
|
4520
4520
|
} else {
|
|
4521
4521
|
var nt = On(p), It = nt == c || nt == d;
|
|
4522
|
-
if (
|
|
4522
|
+
if (Cs(p))
|
|
4523
4523
|
return Sn(p, w);
|
|
4524
4524
|
if (nt == h || nt == o || It && !Le) {
|
|
4525
4525
|
if (I(p))
|
|
@@ -4559,7 +4559,7 @@ function Lu() {
|
|
|
4559
4559
|
return w.test(Mt(p));
|
|
4560
4560
|
}
|
|
4561
4561
|
function Kn(p) {
|
|
4562
|
-
if (!
|
|
4562
|
+
if (!Os(p))
|
|
4563
4563
|
return Be(p);
|
|
4564
4564
|
var w = [];
|
|
4565
4565
|
for (var D in Object(p))
|
|
@@ -4580,11 +4580,11 @@ function Lu() {
|
|
|
4580
4580
|
var D = w ? Dn(p.buffer) : p.buffer;
|
|
4581
4581
|
return new p.constructor(D, p.byteOffset, p.byteLength);
|
|
4582
4582
|
}
|
|
4583
|
-
function
|
|
4583
|
+
function Ss(p, w, D) {
|
|
4584
4584
|
var ie = w ? D(k(p), !0) : k(p);
|
|
4585
4585
|
return N(ie, xe, new p.constructor());
|
|
4586
4586
|
}
|
|
4587
|
-
function
|
|
4587
|
+
function Ts(p) {
|
|
4588
4588
|
var w = new p.constructor(p.source, W.exec(p));
|
|
4589
4589
|
return w.lastIndex = p.lastIndex, w;
|
|
4590
4590
|
}
|
|
@@ -4650,7 +4650,7 @@ function Lu() {
|
|
|
4650
4650
|
return w && typeof p[0] == "string" && he.call(p, "index") && (D.index = p.index, D.input = p.input), D;
|
|
4651
4651
|
}
|
|
4652
4652
|
function pn(p) {
|
|
4653
|
-
return typeof p.constructor == "function" && !
|
|
4653
|
+
return typeof p.constructor == "function" && !Os(p) ? Ct(We(p)) : {};
|
|
4654
4654
|
}
|
|
4655
4655
|
function Ii(p, w, D, ie) {
|
|
4656
4656
|
var Ue = p.constructor;
|
|
@@ -4673,12 +4673,12 @@ function Lu() {
|
|
|
4673
4673
|
case U:
|
|
4674
4674
|
return Ti(p, ie);
|
|
4675
4675
|
case f:
|
|
4676
|
-
return
|
|
4676
|
+
return Ss(p, ie, D);
|
|
4677
4677
|
case g:
|
|
4678
4678
|
case E:
|
|
4679
4679
|
return new Ue(p);
|
|
4680
4680
|
case b:
|
|
4681
|
-
return
|
|
4681
|
+
return Ts(p);
|
|
4682
4682
|
case S:
|
|
4683
4683
|
return Ei(p, ie, D);
|
|
4684
4684
|
case C:
|
|
@@ -4695,7 +4695,7 @@ function Lu() {
|
|
|
4695
4695
|
function Pi(p) {
|
|
4696
4696
|
return !!ee && ee in p;
|
|
4697
4697
|
}
|
|
4698
|
-
function
|
|
4698
|
+
function Os(p) {
|
|
4699
4699
|
var w = p && p.constructor, D = typeof w == "function" && w.prototype || X;
|
|
4700
4700
|
return p === D;
|
|
4701
4701
|
}
|
|
@@ -4712,10 +4712,10 @@ function Lu() {
|
|
|
4712
4712
|
}
|
|
4713
4713
|
return "";
|
|
4714
4714
|
}
|
|
4715
|
-
function
|
|
4715
|
+
function Ns(p) {
|
|
4716
4716
|
return rt(p, !0, !0);
|
|
4717
4717
|
}
|
|
4718
|
-
function
|
|
4718
|
+
function Rs(p, w) {
|
|
4719
4719
|
return p === w || p !== p && w !== w;
|
|
4720
4720
|
}
|
|
4721
4721
|
function Ar(p) {
|
|
@@ -4723,24 +4723,24 @@ function Lu() {
|
|
|
4723
4723
|
}
|
|
4724
4724
|
var zr = Array.isArray;
|
|
4725
4725
|
function wr(p) {
|
|
4726
|
-
return p != null &&
|
|
4726
|
+
return p != null && Is(p.length) && !Hr(p);
|
|
4727
4727
|
}
|
|
4728
4728
|
function Fi(p) {
|
|
4729
|
-
return
|
|
4729
|
+
return Ls(p) && wr(p);
|
|
4730
4730
|
}
|
|
4731
|
-
var
|
|
4731
|
+
var Cs = Ze || Di;
|
|
4732
4732
|
function Hr(p) {
|
|
4733
4733
|
var w = gn(p) ? Se.call(p) : "";
|
|
4734
4734
|
return w == c || w == d;
|
|
4735
4735
|
}
|
|
4736
|
-
function
|
|
4736
|
+
function Is(p) {
|
|
4737
4737
|
return typeof p == "number" && p > -1 && p % 1 == 0 && p <= s;
|
|
4738
4738
|
}
|
|
4739
4739
|
function gn(p) {
|
|
4740
4740
|
var w = typeof p;
|
|
4741
4741
|
return !!p && (w == "object" || w == "function");
|
|
4742
4742
|
}
|
|
4743
|
-
function
|
|
4743
|
+
function Ls(p) {
|
|
4744
4744
|
return !!p && typeof p == "object";
|
|
4745
4745
|
}
|
|
4746
4746
|
function Vr(p) {
|
|
@@ -4752,7 +4752,7 @@ function Lu() {
|
|
|
4752
4752
|
function Di() {
|
|
4753
4753
|
return !1;
|
|
4754
4754
|
}
|
|
4755
|
-
n.exports =
|
|
4755
|
+
n.exports = Ns;
|
|
4756
4756
|
}(Zr, Zr.exports)), Zr.exports;
|
|
4757
4757
|
}
|
|
4758
4758
|
var Qr = { exports: {} };
|
|
@@ -4955,7 +4955,7 @@ function ku() {
|
|
|
4955
4955
|
}
|
|
4956
4956
|
Xe.prototype.clear = rt, Xe.prototype.delete = Ct, Xe.prototype.get = ce, Xe.prototype.has = ut, Xe.prototype.set = zt;
|
|
4957
4957
|
function Kn(p, w) {
|
|
4958
|
-
var D = Ar(p), ie = !D &&
|
|
4958
|
+
var D = Ar(p), ie = !D && Rs(p), Ue = !D && !ie && wr(p), Le = !D && !ie && !Ue && Ls(p), Qe = D || ie || Ue || Le, Ye = Qe ? G(p.length, String) : [], pt = Ye.length;
|
|
4959
4959
|
for (var nt in p)
|
|
4960
4960
|
We.call(p, nt) && !(Qe && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
4961
4961
|
(nt == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
@@ -4966,7 +4966,7 @@ function ku() {
|
|
|
4966
4966
|
}
|
|
4967
4967
|
function Sn(p, w) {
|
|
4968
4968
|
for (var D = p.length; D--; )
|
|
4969
|
-
if (
|
|
4969
|
+
if (Ns(p[D][0], w))
|
|
4970
4970
|
return D;
|
|
4971
4971
|
return -1;
|
|
4972
4972
|
}
|
|
@@ -4975,13 +4975,13 @@ function ku() {
|
|
|
4975
4975
|
return Ar(p) ? ie : B(ie, D(p));
|
|
4976
4976
|
}
|
|
4977
4977
|
function en(p) {
|
|
4978
|
-
return p == null ? p === void 0 ? re : S : Ae && Ae in Object(p) ? On(p) :
|
|
4978
|
+
return p == null ? p === void 0 ? re : S : Ae && Ae in Object(p) ? On(p) : Os(p);
|
|
4979
4979
|
}
|
|
4980
|
-
function
|
|
4980
|
+
function Ss(p) {
|
|
4981
4981
|
return gn(p) && en(p) == u;
|
|
4982
4982
|
}
|
|
4983
|
-
function
|
|
4984
|
-
return p === w ? !0 : p == null || w == null || !gn(p) && !gn(w) ? p !== p && w !== w : Ei(p, w, D, ie,
|
|
4983
|
+
function Ts(p, w, D, ie, Ue) {
|
|
4984
|
+
return p === w ? !0 : p == null || w == null || !gn(p) && !gn(w) ? p !== p && w !== w : Ei(p, w, D, ie, Ts, Ue);
|
|
4985
4985
|
}
|
|
4986
4986
|
function Ei(p, w, D, ie, Ue, Le) {
|
|
4987
4987
|
var Qe = Ar(p), Ye = Ar(w), pt = Qe ? i : pn(p), nt = Ye ? i : pn(w);
|
|
@@ -4993,7 +4993,7 @@ function ku() {
|
|
|
4993
4993
|
Qe = !0, It = !1;
|
|
4994
4994
|
}
|
|
4995
4995
|
if (mt && !It)
|
|
4996
|
-
return Le || (Le = new Xe()), Qe ||
|
|
4996
|
+
return Le || (Le = new Xe()), Qe || Ls(p) ? qr(p, w, D, ie, Ue, Le) : Ni(p, w, pt, D, ie, Ue, Le);
|
|
4997
4997
|
if (!(D & s)) {
|
|
4998
4998
|
var Lt = It && We.call(p, "__wrapped__"), Et = Bt && We.call(w, "__wrapped__");
|
|
4999
4999
|
if (Lt || Et) {
|
|
@@ -5004,9 +5004,9 @@ function ku() {
|
|
|
5004
5004
|
return mt ? (Le || (Le = new Xe()), Ri(p, w, D, ie, Ue, Le)) : !1;
|
|
5005
5005
|
}
|
|
5006
5006
|
function Si(p) {
|
|
5007
|
-
if (!
|
|
5007
|
+
if (!Is(p) || ki(p))
|
|
5008
5008
|
return !1;
|
|
5009
|
-
var w =
|
|
5009
|
+
var w = Cs(p) ? Gt : be;
|
|
5010
5010
|
return w.test(Mt(p));
|
|
5011
5011
|
}
|
|
5012
5012
|
function Ti(p) {
|
|
@@ -5064,7 +5064,7 @@ function ku() {
|
|
|
5064
5064
|
case c:
|
|
5065
5065
|
case d:
|
|
5066
5066
|
case b:
|
|
5067
|
-
return
|
|
5067
|
+
return Ns(+p, +w);
|
|
5068
5068
|
case f:
|
|
5069
5069
|
return p.name == w.name && p.message == w.message;
|
|
5070
5070
|
case M:
|
|
@@ -5114,8 +5114,8 @@ function ku() {
|
|
|
5114
5114
|
Bn || (Bn = mt == "constructor");
|
|
5115
5115
|
}
|
|
5116
5116
|
if (Et && !Bn) {
|
|
5117
|
-
var
|
|
5118
|
-
|
|
5117
|
+
var ks = p.constructor, Ps = w.constructor;
|
|
5118
|
+
ks != Ps && "constructor" in p && "constructor" in w && !(typeof ks == "function" && ks instanceof ks && typeof Ps == "function" && Ps instanceof Ps) && (Et = !1);
|
|
5119
5119
|
}
|
|
5120
5120
|
return Le.delete(p), Le.delete(w), Et;
|
|
5121
5121
|
}
|
|
@@ -5176,7 +5176,7 @@ function ku() {
|
|
|
5176
5176
|
var w = p && p.constructor, D = typeof w == "function" && w.prototype || Je;
|
|
5177
5177
|
return p === D;
|
|
5178
5178
|
}
|
|
5179
|
-
function
|
|
5179
|
+
function Os(p) {
|
|
5180
5180
|
return dt.call(p);
|
|
5181
5181
|
}
|
|
5182
5182
|
function Mt(p) {
|
|
@@ -5192,23 +5192,23 @@ function ku() {
|
|
|
5192
5192
|
}
|
|
5193
5193
|
return "";
|
|
5194
5194
|
}
|
|
5195
|
-
function
|
|
5195
|
+
function Ns(p, w) {
|
|
5196
5196
|
return p === w || p !== p && w !== w;
|
|
5197
5197
|
}
|
|
5198
|
-
var
|
|
5198
|
+
var Rs = Ss(/* @__PURE__ */ function() {
|
|
5199
5199
|
return arguments;
|
|
5200
|
-
}()) ?
|
|
5200
|
+
}()) ? Ss : function(p) {
|
|
5201
5201
|
return gn(p) && We.call(p, "callee") && !et.call(p, "callee");
|
|
5202
5202
|
}, Ar = Array.isArray;
|
|
5203
5203
|
function zr(p) {
|
|
5204
|
-
return p != null && Hr(p.length) && !
|
|
5204
|
+
return p != null && Hr(p.length) && !Cs(p);
|
|
5205
5205
|
}
|
|
5206
5206
|
var wr = Pe || Di;
|
|
5207
5207
|
function Fi(p, w) {
|
|
5208
|
-
return
|
|
5208
|
+
return Ts(p, w);
|
|
5209
5209
|
}
|
|
5210
|
-
function
|
|
5211
|
-
if (!
|
|
5210
|
+
function Cs(p) {
|
|
5211
|
+
if (!Is(p))
|
|
5212
5212
|
return !1;
|
|
5213
5213
|
var w = en(p);
|
|
5214
5214
|
return w == g || w == h || w == l || w == F;
|
|
@@ -5216,14 +5216,14 @@ function ku() {
|
|
|
5216
5216
|
function Hr(p) {
|
|
5217
5217
|
return typeof p == "number" && p > -1 && p % 1 == 0 && p <= a;
|
|
5218
5218
|
}
|
|
5219
|
-
function
|
|
5219
|
+
function Is(p) {
|
|
5220
5220
|
var w = typeof p;
|
|
5221
5221
|
return p != null && (w == "object" || w == "function");
|
|
5222
5222
|
}
|
|
5223
5223
|
function gn(p) {
|
|
5224
5224
|
return p != null && typeof p == "object";
|
|
5225
5225
|
}
|
|
5226
|
-
var
|
|
5226
|
+
var Ls = I ? Y(I) : Ti;
|
|
5227
5227
|
function Vr(p) {
|
|
5228
5228
|
return zr(p) ? Kn(p) : Oi(p);
|
|
5229
5229
|
}
|
|
@@ -5236,10 +5236,10 @@ function ku() {
|
|
|
5236
5236
|
n.exports = Fi;
|
|
5237
5237
|
}(Qr, Qr.exports)), Qr.exports;
|
|
5238
5238
|
}
|
|
5239
|
-
var
|
|
5240
|
-
function
|
|
5241
|
-
if (Zo) return
|
|
5242
|
-
Zo = 1, Object.defineProperty(
|
|
5239
|
+
var Us = {}, Zo;
|
|
5240
|
+
function C0() {
|
|
5241
|
+
if (Zo) return Us;
|
|
5242
|
+
Zo = 1, Object.defineProperty(Us, "__esModule", { value: !0 });
|
|
5243
5243
|
const n = Lu(), e = ku();
|
|
5244
5244
|
var t;
|
|
5245
5245
|
return function(r) {
|
|
@@ -5275,24 +5275,24 @@ function R0() {
|
|
|
5275
5275
|
return Object.keys(d).length > 0 ? d : void 0;
|
|
5276
5276
|
}
|
|
5277
5277
|
r.transform = u;
|
|
5278
|
-
}(t || (t = {})),
|
|
5278
|
+
}(t || (t = {})), Us.default = t, Us;
|
|
5279
5279
|
}
|
|
5280
|
-
var
|
|
5280
|
+
var js = {}, Qo;
|
|
5281
5281
|
function Pu() {
|
|
5282
|
-
if (Qo) return
|
|
5283
|
-
Qo = 1, Object.defineProperty(
|
|
5282
|
+
if (Qo) return js;
|
|
5283
|
+
Qo = 1, Object.defineProperty(js, "__esModule", { value: !0 });
|
|
5284
5284
|
var n;
|
|
5285
5285
|
return function(e) {
|
|
5286
5286
|
function t(r) {
|
|
5287
5287
|
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;
|
|
5288
5288
|
}
|
|
5289
5289
|
e.length = t;
|
|
5290
|
-
}(n || (n = {})),
|
|
5290
|
+
}(n || (n = {})), js.default = n, js;
|
|
5291
5291
|
}
|
|
5292
|
-
var
|
|
5293
|
-
function
|
|
5294
|
-
if (Jo) return
|
|
5295
|
-
Jo = 1, Object.defineProperty(
|
|
5292
|
+
var $s = {}, Jo;
|
|
5293
|
+
function I0() {
|
|
5294
|
+
if (Jo) return $s;
|
|
5295
|
+
Jo = 1, Object.defineProperty($s, "__esModule", { value: !0 });
|
|
5296
5296
|
const n = Pu();
|
|
5297
5297
|
class e {
|
|
5298
5298
|
constructor(r) {
|
|
@@ -5336,17 +5336,17 @@ function C0() {
|
|
|
5336
5336
|
} else return [];
|
|
5337
5337
|
}
|
|
5338
5338
|
}
|
|
5339
|
-
return
|
|
5339
|
+
return $s.default = e, $s;
|
|
5340
5340
|
}
|
|
5341
5341
|
var el;
|
|
5342
|
-
function
|
|
5342
|
+
function L0() {
|
|
5343
5343
|
return el || (el = 1, function(n, e) {
|
|
5344
5344
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.AttributeMap = e.OpIterator = e.Op = void 0;
|
|
5345
|
-
const t =
|
|
5345
|
+
const t = R0(), r = Lu(), s = ku(), o = C0();
|
|
5346
5346
|
e.AttributeMap = o.default;
|
|
5347
5347
|
const a = Pu();
|
|
5348
5348
|
e.Op = a.default;
|
|
5349
|
-
const u =
|
|
5349
|
+
const u = I0();
|
|
5350
5350
|
e.OpIterator = u.default;
|
|
5351
5351
|
const i = "\0", l = (d, f) => {
|
|
5352
5352
|
if (typeof d != "object" || d === null)
|
|
@@ -5600,9 +5600,9 @@ function I0() {
|
|
|
5600
5600
|
}
|
|
5601
5601
|
}
|
|
5602
5602
|
c.Op = a.default, c.OpIterator = u.default, c.AttributeMap = o.default, c.handlers = {}, e.default = c, n.exports = c, n.exports.default = c;
|
|
5603
|
-
}(
|
|
5603
|
+
}(Bs, Bs.exports)), Bs.exports;
|
|
5604
5604
|
}
|
|
5605
|
-
var Qt =
|
|
5605
|
+
var Qt = L0();
|
|
5606
5606
|
const Ne = /* @__PURE__ */ Ya(Qt);
|
|
5607
5607
|
class fn extends Vt {
|
|
5608
5608
|
static value() {
|
|
@@ -5619,9 +5619,9 @@ class fn extends Vt {
|
|
|
5619
5619
|
}
|
|
5620
5620
|
fn.blotName = "break";
|
|
5621
5621
|
fn.tagName = "BR";
|
|
5622
|
-
let un = class extends
|
|
5622
|
+
let un = class extends ri {
|
|
5623
5623
|
};
|
|
5624
|
-
const
|
|
5624
|
+
const k0 = {
|
|
5625
5625
|
"&": "&",
|
|
5626
5626
|
"<": "<",
|
|
5627
5627
|
">": ">",
|
|
@@ -5629,7 +5629,7 @@ const L0 = {
|
|
|
5629
5629
|
"'": "'"
|
|
5630
5630
|
};
|
|
5631
5631
|
function hi(n) {
|
|
5632
|
-
return n.replace(/[&<>"']/g, (e) =>
|
|
5632
|
+
return n.replace(/[&<>"']/g, (e) => k0[e]);
|
|
5633
5633
|
}
|
|
5634
5634
|
const mn = class mn extends Ka {
|
|
5635
5635
|
static compare(e, t) {
|
|
@@ -5871,7 +5871,7 @@ const Kt = class Kt extends Vt {
|
|
|
5871
5871
|
Ee(Kt, "blotName", "cursor"), Ee(Kt, "className", "ql-cursor"), Ee(Kt, "tagName", "span"), Ee(Kt, "CONTENTS", "\uFEFF");
|
|
5872
5872
|
let Mr = Kt;
|
|
5873
5873
|
var Vi = { exports: {} }, nl;
|
|
5874
|
-
function
|
|
5874
|
+
function P0() {
|
|
5875
5875
|
return nl || (nl = 1, function(n) {
|
|
5876
5876
|
var e = Object.prototype.hasOwnProperty, t = "~";
|
|
5877
5877
|
function r() {
|
|
@@ -5977,8 +5977,8 @@ function k0() {
|
|
|
5977
5977
|
}, u.prototype.off = u.prototype.removeListener, u.prototype.addListener = u.prototype.on, u.prefixed = t, u.EventEmitter = u, n.exports = u;
|
|
5978
5978
|
}(Vi)), Vi.exports;
|
|
5979
5979
|
}
|
|
5980
|
-
var
|
|
5981
|
-
const
|
|
5980
|
+
var F0 = P0();
|
|
5981
|
+
const M0 = /* @__PURE__ */ Ya(F0), wa = /* @__PURE__ */ new WeakMap(), Ea = ["error", "warn", "log", "info"];
|
|
5982
5982
|
let Sa = "warn";
|
|
5983
5983
|
function Mu(n) {
|
|
5984
5984
|
if (Sa && Ea.indexOf(n) <= Ea.indexOf(Sa)) {
|
|
@@ -5994,8 +5994,8 @@ Fn.level = (n) => {
|
|
|
5994
5994
|
Sa = n;
|
|
5995
5995
|
};
|
|
5996
5996
|
Mu.level = Fn.level;
|
|
5997
|
-
const Gi = Fn("quill:events"),
|
|
5998
|
-
|
|
5997
|
+
const Gi = Fn("quill:events"), D0 = ["selectionchange", "mousedown", "mouseup", "click"];
|
|
5998
|
+
D0.forEach((n) => {
|
|
5999
5999
|
document.addEventListener(n, function() {
|
|
6000
6000
|
for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++)
|
|
6001
6001
|
t[r] = arguments[r];
|
|
@@ -6005,7 +6005,7 @@ M0.forEach((n) => {
|
|
|
6005
6005
|
});
|
|
6006
6006
|
});
|
|
6007
6007
|
});
|
|
6008
|
-
class Oe extends
|
|
6008
|
+
class Oe extends M0 {
|
|
6009
6009
|
constructor() {
|
|
6010
6010
|
super(), this.domListeners = {}, this.on("error", Gi.error);
|
|
6011
6011
|
}
|
|
@@ -6058,7 +6058,7 @@ class rr {
|
|
|
6058
6058
|
this.index = e, this.length = t;
|
|
6059
6059
|
}
|
|
6060
6060
|
}
|
|
6061
|
-
class
|
|
6061
|
+
class B0 {
|
|
6062
6062
|
constructor(e, t) {
|
|
6063
6063
|
this.emitter = t, this.scroll = e, this.composing = !1, this.mouseDown = !1, this.root = this.scroll.domNode, this.cursor = this.scroll.create("cursor", this), this.savedRange = new rr(0, 0), this.lastRange = this.savedRange, this.lastNative = null, this.handleComposition(), this.handleDragging(), this.emitter.listenDOM("selectionchange", document, () => {
|
|
6064
6064
|
!this.mouseDown && !this.composing && setTimeout(this.update.bind(this, Oe.sources.USER), 1);
|
|
@@ -6278,8 +6278,8 @@ function Ki(n, e) {
|
|
|
6278
6278
|
}
|
|
6279
6279
|
return n.contains(e);
|
|
6280
6280
|
}
|
|
6281
|
-
const
|
|
6282
|
-
class
|
|
6281
|
+
const U0 = /^[ -~]*$/;
|
|
6282
|
+
class j0 {
|
|
6283
6283
|
constructor(e) {
|
|
6284
6284
|
this.scroll = e, this.delta = this.getDelta();
|
|
6285
6285
|
}
|
|
@@ -6288,7 +6288,7 @@ class U0 {
|
|
|
6288
6288
|
let t = this.scroll.length();
|
|
6289
6289
|
this.scroll.batchStart();
|
|
6290
6290
|
const r = rl(e), s = new Ne();
|
|
6291
|
-
return
|
|
6291
|
+
return _0(r.ops.slice()).reduce((a, u) => {
|
|
6292
6292
|
const i = Qt.Op.length(u);
|
|
6293
6293
|
let l = u.attributes || {}, c = !1, d = !1;
|
|
6294
6294
|
if (u.insert != null) {
|
|
@@ -6375,7 +6375,7 @@ class U0 {
|
|
|
6375
6375
|
for (; Object.keys(l).length > 0; ) {
|
|
6376
6376
|
const c = u.shift();
|
|
6377
6377
|
if (c == null) return l;
|
|
6378
|
-
l =
|
|
6378
|
+
l = $0(Xt(c), l);
|
|
6379
6379
|
}
|
|
6380
6380
|
return l;
|
|
6381
6381
|
});
|
|
@@ -6432,7 +6432,7 @@ class U0 {
|
|
|
6432
6432
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [], r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : void 0;
|
|
6433
6433
|
const s = this.delta;
|
|
6434
6434
|
if (t.length === 1 && t[0].type === "characterData" && // @ts-expect-error Fix me later
|
|
6435
|
-
t[0].target.data.match(
|
|
6435
|
+
t[0].target.data.match(U0) && this.scroll.find(t[0].target)) {
|
|
6436
6436
|
const o = this.scroll.find(t[0].target), a = Xt(o), u = o.offset(this.scroll), i = t[0].oldValue.replace(Mr.CONTENTS, ""), l = new Ne().insert(i), c = new Ne().insert(o.value()), d = r && {
|
|
6437
6437
|
oldRange: sl(r.oldRange, -u),
|
|
6438
6438
|
newRange: sl(r.newRange, -u)
|
|
@@ -6496,7 +6496,7 @@ function cs(n, e, t) {
|
|
|
6496
6496
|
}
|
|
6497
6497
|
return n.domNode instanceof Element ? n.domNode.outerHTML : "";
|
|
6498
6498
|
}
|
|
6499
|
-
function
|
|
6499
|
+
function $0(n, e) {
|
|
6500
6500
|
return Object.keys(e).reduce((t, r) => {
|
|
6501
6501
|
if (n[r] == null) return t;
|
|
6502
6502
|
const s = e[r];
|
|
@@ -6532,7 +6532,7 @@ function sl(n, e) {
|
|
|
6532
6532
|
} = n;
|
|
6533
6533
|
return new rr(t + e, r);
|
|
6534
6534
|
}
|
|
6535
|
-
function
|
|
6535
|
+
function _0(n) {
|
|
6536
6536
|
const e = [];
|
|
6537
6537
|
return n.forEach((t) => {
|
|
6538
6538
|
typeof t.insert == "string" ? t.insert.split(`
|
|
@@ -6555,19 +6555,19 @@ class dn {
|
|
|
6555
6555
|
}
|
|
6556
6556
|
}
|
|
6557
6557
|
Ee(dn, "DEFAULTS", {});
|
|
6558
|
-
const
|
|
6558
|
+
const _s = "\uFEFF";
|
|
6559
6559
|
class Za extends Vt {
|
|
6560
6560
|
constructor(e, t) {
|
|
6561
6561
|
super(e, t), this.contentNode = document.createElement("span"), this.contentNode.setAttribute("contenteditable", "false"), Array.from(this.domNode.childNodes).forEach((r) => {
|
|
6562
6562
|
this.contentNode.appendChild(r);
|
|
6563
|
-
}), this.leftGuard = document.createTextNode(
|
|
6563
|
+
}), this.leftGuard = document.createTextNode(_s), this.rightGuard = document.createTextNode(_s), this.domNode.appendChild(this.leftGuard), this.domNode.appendChild(this.contentNode), this.domNode.appendChild(this.rightGuard);
|
|
6564
6564
|
}
|
|
6565
6565
|
index(e, t) {
|
|
6566
6566
|
return e === this.leftGuard ? 0 : e === this.rightGuard ? 1 : super.index(e, t);
|
|
6567
6567
|
}
|
|
6568
6568
|
restore(e) {
|
|
6569
6569
|
let t = null, r;
|
|
6570
|
-
const s = e.data.split(
|
|
6570
|
+
const s = e.data.split(_s).join("");
|
|
6571
6571
|
if (e === this.leftGuard)
|
|
6572
6572
|
if (this.prev instanceof un) {
|
|
6573
6573
|
const o = this.prev.length();
|
|
@@ -6587,7 +6587,7 @@ class Za extends Vt {
|
|
|
6587
6587
|
startNode: r,
|
|
6588
6588
|
startOffset: s.length
|
|
6589
6589
|
}));
|
|
6590
|
-
return e.data =
|
|
6590
|
+
return e.data = _s, t;
|
|
6591
6591
|
}
|
|
6592
6592
|
update(e, t) {
|
|
6593
6593
|
e.forEach((r) => {
|
|
@@ -6598,7 +6598,7 @@ class Za extends Vt {
|
|
|
6598
6598
|
});
|
|
6599
6599
|
}
|
|
6600
6600
|
}
|
|
6601
|
-
class
|
|
6601
|
+
class q0 {
|
|
6602
6602
|
constructor(e, t) {
|
|
6603
6603
|
Ee(this, "isComposing", !1);
|
|
6604
6604
|
this.scroll = e, this.emitter = t, this.setupListeners();
|
|
@@ -6641,7 +6641,7 @@ Ee(ss, "DEFAULTS", {
|
|
|
6641
6641
|
default: ss
|
|
6642
6642
|
});
|
|
6643
6643
|
let Dr = ss;
|
|
6644
|
-
const
|
|
6644
|
+
const z0 = (n) => n.parentElement || n.getRootNode().host || null, H0 = (n) => {
|
|
6645
6645
|
const e = n.getBoundingClientRect(), t = "offsetWidth" in n && Math.abs(e.width) / n.offsetWidth || 1, r = "offsetHeight" in n && Math.abs(e.height) / n.offsetHeight || 1;
|
|
6646
6646
|
return {
|
|
6647
6647
|
top: e.top,
|
|
@@ -6649,10 +6649,10 @@ const q0 = (n) => n.parentElement || n.getRootNode().host || null, z0 = (n) => {
|
|
|
6649
6649
|
bottom: e.top + n.clientHeight * r,
|
|
6650
6650
|
left: e.left
|
|
6651
6651
|
};
|
|
6652
|
-
},
|
|
6652
|
+
}, qs = (n) => {
|
|
6653
6653
|
const e = parseInt(n, 10);
|
|
6654
6654
|
return Number.isNaN(e) ? 0 : e;
|
|
6655
|
-
}, il = (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,
|
|
6655
|
+
}, il = (n, e, t, r, s, o) => n < t && e > r ? 0 : n < t ? -(t - n + s) : e > r ? e - n > r - t ? n + s - t : e - r + o : 0, V0 = (n, e) => {
|
|
6656
6656
|
var o, a, u;
|
|
6657
6657
|
const t = n.ownerDocument;
|
|
6658
6658
|
let r = e, s = n;
|
|
@@ -6662,7 +6662,7 @@ const q0 = (n) => n.parentElement || n.getRootNode().host || null, z0 = (n) => {
|
|
|
6662
6662
|
right: ((o = window.visualViewport) == null ? void 0 : o.width) ?? t.documentElement.clientWidth,
|
|
6663
6663
|
bottom: ((a = window.visualViewport) == null ? void 0 : a.height) ?? t.documentElement.clientHeight,
|
|
6664
6664
|
left: 0
|
|
6665
|
-
} :
|
|
6665
|
+
} : H0(s), c = getComputedStyle(s), d = il(r.left, r.right, l.left, l.right, qs(c.scrollPaddingLeft), qs(c.scrollPaddingRight)), f = il(r.top, r.bottom, l.top, l.bottom, qs(c.scrollPaddingTop), qs(c.scrollPaddingBottom));
|
|
6666
6666
|
if (d || f)
|
|
6667
6667
|
if (i)
|
|
6668
6668
|
(u = t.defaultView) == null || u.scrollBy(d, f);
|
|
@@ -6680,11 +6680,11 @@ const q0 = (n) => n.parentElement || n.getRootNode().host || null, z0 = (n) => {
|
|
|
6680
6680
|
bottom: r.bottom - b
|
|
6681
6681
|
};
|
|
6682
6682
|
}
|
|
6683
|
-
s = i || c.position === "fixed" ? null :
|
|
6683
|
+
s = i || c.position === "fixed" ? null : z0(s);
|
|
6684
6684
|
}
|
|
6685
|
-
},
|
|
6685
|
+
}, G0 = 100, W0 = ["block", "break", "cursor", "inline", "scroll", "text"], K0 = (n, e, t) => {
|
|
6686
6686
|
const r = new Fr();
|
|
6687
|
-
return
|
|
6687
|
+
return W0.forEach((s) => {
|
|
6688
6688
|
const o = e.query(s);
|
|
6689
6689
|
o && r.register(o);
|
|
6690
6690
|
}), n.forEach((s) => {
|
|
@@ -6692,12 +6692,12 @@ const q0 = (n) => n.parentElement || n.getRootNode().host || null, z0 = (n) => {
|
|
|
6692
6692
|
o || t.error(`Cannot register "${s}" specified in "formats" config. Are you sure it was registered?`);
|
|
6693
6693
|
let a = 0;
|
|
6694
6694
|
for (; o; )
|
|
6695
|
-
if (r.register(o), o = "blotName" in o ? o.requiredContainer ?? null : null, a += 1, a >
|
|
6695
|
+
if (r.register(o), o = "blotName" in o ? o.requiredContainer ?? null : null, a += 1, a > G0) {
|
|
6696
6696
|
t.error(`Cycle detected in registering blot requiredContainer: "${s}"`);
|
|
6697
6697
|
break;
|
|
6698
6698
|
}
|
|
6699
6699
|
}), r;
|
|
6700
|
-
}, Lr = Fn("quill"),
|
|
6700
|
+
}, Lr = Fn("quill"), zs = new Fr();
|
|
6701
6701
|
ln.uiClass = "ql-ui";
|
|
6702
6702
|
const rn = class rn {
|
|
6703
6703
|
static debug(e) {
|
|
@@ -6705,7 +6705,7 @@ const rn = class rn {
|
|
|
6705
6705
|
}
|
|
6706
6706
|
static find(e) {
|
|
6707
6707
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
|
|
6708
|
-
return wa.get(e) ||
|
|
6708
|
+
return wa.get(e) || zs.find(e, t);
|
|
6709
6709
|
}
|
|
6710
6710
|
static import(e) {
|
|
6711
6711
|
return this.imports[e] == null && Lr.error(`Cannot import ${e}. Are you sure it was registered?`), this.imports[e];
|
|
@@ -6718,12 +6718,12 @@ const rn = class rn {
|
|
|
6718
6718
|
});
|
|
6719
6719
|
} else {
|
|
6720
6720
|
const e = arguments.length <= 0 ? void 0 : arguments[0], t = arguments.length <= 1 ? void 0 : arguments[1], r = !!(!(arguments.length <= 2) && arguments[2]);
|
|
6721
|
-
this.imports[e] != null && !r && Lr.warn(`Overwriting ${e} with`, t), this.imports[e] = t, (e.startsWith("blots/") || e.startsWith("formats/")) && t && typeof t != "boolean" && t.blotName !== "abstract" &&
|
|
6721
|
+
this.imports[e] != null && !r && Lr.warn(`Overwriting ${e} with`, t), this.imports[e] = t, (e.startsWith("blots/") || e.startsWith("formats/")) && t && typeof t != "boolean" && t.blotName !== "abstract" && zs.register(t), typeof t.register == "function" && t.register(zs);
|
|
6722
6722
|
}
|
|
6723
6723
|
}
|
|
6724
6724
|
constructor(e) {
|
|
6725
6725
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
6726
|
-
if (this.options =
|
|
6726
|
+
if (this.options = X0(e, t), this.container = this.options.container, this.container == null) {
|
|
6727
6727
|
Lr.error("Invalid Quill container", e);
|
|
6728
6728
|
return;
|
|
6729
6729
|
}
|
|
@@ -6735,7 +6735,7 @@ const rn = class rn {
|
|
|
6735
6735
|
throw new Error(`Cannot initialize Quill without "${s}" blot`);
|
|
6736
6736
|
if (this.scroll = new o(this.options.registry, this.root, {
|
|
6737
6737
|
emitter: this.emitter
|
|
6738
|
-
}), this.editor = new
|
|
6738
|
+
}), this.editor = new j0(this.scroll), this.selection = new B0(this.scroll, this.emitter), this.composition = new q0(this.scroll, this.emitter), this.theme = new this.options.theme(this, this.options), this.keyboard = this.theme.addModule("keyboard"), this.clipboard = this.theme.addModule("clipboard"), this.history = this.theme.addModule("history"), this.uploader = this.theme.addModule("uploader"), this.theme.addModule("input"), this.theme.addModule("uiNode"), this.theme.init(), this.emitter.on(Oe.events.EDITOR_CHANGE, (a) => {
|
|
6739
6739
|
a === Oe.events.TEXT_CHANGE && this.root.classList.toggle("ql-blank", this.editor.isBlank());
|
|
6740
6740
|
}), this.emitter.on(Oe.events.SCROLL_UPDATE, (a, u) => {
|
|
6741
6741
|
const i = this.selection.lastRange, [l] = this.selection.getRange(), c = i && l ? {
|
|
@@ -6914,7 +6914,7 @@ const rn = class rn {
|
|
|
6914
6914
|
return [e, t, , r] = Cn(e, t, r), nn.call(this, () => this.editor.removeFormat(e, t), r, e);
|
|
6915
6915
|
}
|
|
6916
6916
|
scrollRectIntoView(e) {
|
|
6917
|
-
|
|
6917
|
+
V0(this.root, e);
|
|
6918
6918
|
}
|
|
6919
6919
|
/**
|
|
6920
6920
|
* @deprecated Use Quill#scrollSelectionIntoView() instead.
|
|
@@ -6966,11 +6966,11 @@ Ee(rn, "DEFAULTS", {
|
|
|
6966
6966
|
},
|
|
6967
6967
|
placeholder: "",
|
|
6968
6968
|
readOnly: !1,
|
|
6969
|
-
registry:
|
|
6969
|
+
registry: zs,
|
|
6970
6970
|
theme: "default"
|
|
6971
6971
|
}), Ee(rn, "events", Oe.events), Ee(rn, "sources", Oe.sources), Ee(rn, "version", "2.0.3"), Ee(rn, "imports", {
|
|
6972
6972
|
delta: Ne,
|
|
6973
|
-
parchment:
|
|
6973
|
+
parchment: N0,
|
|
6974
6974
|
"core/module": dn,
|
|
6975
6975
|
"core/theme": Dr
|
|
6976
6976
|
});
|
|
@@ -6990,7 +6990,7 @@ function Yi(n) {
|
|
|
6990
6990
|
function ol(n) {
|
|
6991
6991
|
return Object.fromEntries(Object.entries(n).filter((e) => e[1] !== void 0));
|
|
6992
6992
|
}
|
|
6993
|
-
function
|
|
6993
|
+
function X0(n, e) {
|
|
6994
6994
|
const t = al(n);
|
|
6995
6995
|
if (!t)
|
|
6996
6996
|
throw new Error("Invalid Quill container");
|
|
@@ -7017,7 +7017,7 @@ function K0(n, e) {
|
|
|
7017
7017
|
...ol(e)
|
|
7018
7018
|
};
|
|
7019
7019
|
let f = e.registry;
|
|
7020
|
-
return f ? e.formats && Lr.warn('Ignoring "formats" option because "registry" is specified') : f = e.formats ?
|
|
7020
|
+
return f ? e.formats && Lr.warn('Ignoring "formats" option because "registry" is specified') : f = e.formats ? K0(e.formats, d.registry, Lr) : d.registry, {
|
|
7021
7021
|
...d,
|
|
7022
7022
|
registry: f,
|
|
7023
7023
|
container: t,
|
|
@@ -7302,18 +7302,18 @@ function Zi(n, e, t) {
|
|
|
7302
7302
|
const Qa = {
|
|
7303
7303
|
scope: Ce.BLOCK,
|
|
7304
7304
|
whitelist: ["right", "center", "justify"]
|
|
7305
|
-
},
|
|
7305
|
+
}, Y0 = new xn("align", "align", Qa), Du = new cn("align", "ql-align", Qa), Bu = new Gn("align", "text-align", Qa);
|
|
7306
7306
|
class Uu extends Gn {
|
|
7307
7307
|
value(e) {
|
|
7308
7308
|
let t = super.value(e);
|
|
7309
7309
|
return t.startsWith("rgb(") ? (t = t.replace(/^[^\d]+/, "").replace(/[^\d]+$/, ""), `#${t.split(",").map((s) => `00${parseInt(s, 10).toString(16)}`.slice(-2)).join("")}`) : t;
|
|
7310
7310
|
}
|
|
7311
7311
|
}
|
|
7312
|
-
const
|
|
7312
|
+
const Z0 = new cn("color", "ql-color", {
|
|
7313
7313
|
scope: Ce.INLINE
|
|
7314
7314
|
}), Ja = new Uu("color", "color", {
|
|
7315
7315
|
scope: Ce.INLINE
|
|
7316
|
-
}),
|
|
7316
|
+
}), Q0 = new cn("background", "ql-bg", {
|
|
7317
7317
|
scope: Ce.INLINE
|
|
7318
7318
|
}), eo = new Uu("background", "background-color", {
|
|
7319
7319
|
scope: Ce.INLINE
|
|
@@ -7359,18 +7359,18 @@ const no = {
|
|
|
7359
7359
|
scope: Ce.INLINE,
|
|
7360
7360
|
whitelist: ["serif", "monospace"]
|
|
7361
7361
|
}, zu = new cn("font", "ql-font", qu);
|
|
7362
|
-
class
|
|
7362
|
+
class J0 extends Gn {
|
|
7363
7363
|
value(e) {
|
|
7364
7364
|
return super.value(e).replace(/["']/g, "");
|
|
7365
7365
|
}
|
|
7366
7366
|
}
|
|
7367
|
-
const Hu = new
|
|
7367
|
+
const Hu = new J0("font", "font-family", qu), Vu = new cn("size", "ql-size", {
|
|
7368
7368
|
scope: Ce.INLINE,
|
|
7369
7369
|
whitelist: ["small", "large", "huge"]
|
|
7370
7370
|
}), Gu = new Gn("size", "font-size", {
|
|
7371
7371
|
scope: Ce.INLINE,
|
|
7372
7372
|
whitelist: ["10px", "18px", "32px"]
|
|
7373
|
-
}),
|
|
7373
|
+
}), e1 = Fn("quill:keyboard"), t1 = /Mac/i.test(navigator.platform) ? "metaKey" : "ctrlKey";
|
|
7374
7374
|
class pi extends dn {
|
|
7375
7375
|
static match(e, t) {
|
|
7376
7376
|
return ["altKey", "ctrlKey", "metaKey", "shiftKey"].some((r) => !!t[r] !== e[r] && t[r] !== null) ? !1 : t.key === e.key || t.key === e.which;
|
|
@@ -7426,9 +7426,9 @@ class pi extends dn {
|
|
|
7426
7426
|
}
|
|
7427
7427
|
addBinding(e) {
|
|
7428
7428
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
7429
|
-
const s =
|
|
7429
|
+
const s = r1(e);
|
|
7430
7430
|
if (s == null) {
|
|
7431
|
-
|
|
7431
|
+
e1.warn("Attempted to add invalid keyboard binding", s);
|
|
7432
7432
|
return;
|
|
7433
7433
|
}
|
|
7434
7434
|
typeof t == "function" && (t = {
|
|
@@ -7454,7 +7454,7 @@ class pi extends dn {
|
|
|
7454
7454
|
if (o && o.scroll !== this.quill.scroll) return;
|
|
7455
7455
|
const a = this.quill.getSelection();
|
|
7456
7456
|
if (a == null || !this.quill.hasFocus()) return;
|
|
7457
|
-
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
|
|
7457
|
+
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 ri ? l.value().slice(0, c) : "", h = d instanceof ri ? d.value().slice(f) : "", v = {
|
|
7458
7458
|
collapsed: a.length === 0,
|
|
7459
7459
|
// @ts-expect-error Fix me later
|
|
7460
7460
|
empty: a.length === 0 && u.length() <= 1,
|
|
@@ -7522,7 +7522,7 @@ class pi extends dn {
|
|
|
7522
7522
|
this.quill.updateContents(s, le.sources.USER), this.quill.setSelection(e.index + 1, le.sources.SILENT), this.quill.focus();
|
|
7523
7523
|
}
|
|
7524
7524
|
}
|
|
7525
|
-
const
|
|
7525
|
+
const n1 = {
|
|
7526
7526
|
bindings: {
|
|
7527
7527
|
bold: Qi("bold"),
|
|
7528
7528
|
italic: Qi("italic"),
|
|
@@ -7652,7 +7652,7 @@ const t1 = {
|
|
|
7652
7652
|
handler(n) {
|
|
7653
7653
|
const e = this.quill.getModule("table");
|
|
7654
7654
|
if (e) {
|
|
7655
|
-
const [t, r, s, o] = e.getTable(n), a =
|
|
7655
|
+
const [t, r, s, o] = e.getTable(n), a = s1(t, r, s, o);
|
|
7656
7656
|
if (a == null) return;
|
|
7657
7657
|
let u = t.offset();
|
|
7658
7658
|
if (a < 0) {
|
|
@@ -7738,15 +7738,15 @@ const t1 = {
|
|
|
7738
7738
|
return !0;
|
|
7739
7739
|
}
|
|
7740
7740
|
},
|
|
7741
|
-
"embed left":
|
|
7742
|
-
"embed left shift":
|
|
7743
|
-
"embed right":
|
|
7744
|
-
"embed right shift":
|
|
7741
|
+
"embed left": Hs("ArrowLeft", !1),
|
|
7742
|
+
"embed left shift": Hs("ArrowLeft", !0),
|
|
7743
|
+
"embed right": Hs("ArrowRight", !1),
|
|
7744
|
+
"embed right shift": Hs("ArrowRight", !0),
|
|
7745
7745
|
"table down": dl(!1),
|
|
7746
7746
|
"table up": dl(!0)
|
|
7747
7747
|
}
|
|
7748
7748
|
};
|
|
7749
|
-
pi.DEFAULTS =
|
|
7749
|
+
pi.DEFAULTS = n1;
|
|
7750
7750
|
function fl(n) {
|
|
7751
7751
|
return {
|
|
7752
7752
|
key: "Tab",
|
|
@@ -7776,7 +7776,7 @@ function fl(n) {
|
|
|
7776
7776
|
}
|
|
7777
7777
|
};
|
|
7778
7778
|
}
|
|
7779
|
-
function
|
|
7779
|
+
function Hs(n, e) {
|
|
7780
7780
|
return {
|
|
7781
7781
|
key: n,
|
|
7782
7782
|
shiftKey: e,
|
|
@@ -7824,7 +7824,7 @@ function dl(n) {
|
|
|
7824
7824
|
}
|
|
7825
7825
|
};
|
|
7826
7826
|
}
|
|
7827
|
-
function
|
|
7827
|
+
function r1(n) {
|
|
7828
7828
|
if (typeof n == "string" || typeof n == "number")
|
|
7829
7829
|
n = {
|
|
7830
7830
|
key: n
|
|
@@ -7833,7 +7833,7 @@ function n1(n) {
|
|
|
7833
7833
|
n = Cr(n);
|
|
7834
7834
|
else
|
|
7835
7835
|
return null;
|
|
7836
|
-
return n.shortKey && (n[
|
|
7836
|
+
return n.shortKey && (n[t1] = n.shortKey, delete n.shortKey), n;
|
|
7837
7837
|
}
|
|
7838
7838
|
function ro(n) {
|
|
7839
7839
|
let {
|
|
@@ -7848,48 +7848,48 @@ function ro(n) {
|
|
|
7848
7848
|
}
|
|
7849
7849
|
e.deleteText(t, le.sources.USER), Object.keys(s).length > 0 && e.formatLine(t.index, 1, s, le.sources.USER), e.setSelection(t.index, le.sources.SILENT);
|
|
7850
7850
|
}
|
|
7851
|
-
function
|
|
7851
|
+
function s1(n, e, t, r) {
|
|
7852
7852
|
return e.prev == null && e.next == null ? t.prev == null && t.next == null ? r === 0 ? -1 : 1 : t.prev == null ? -1 : 1 : e.prev == null ? -1 : e.next == null ? 1 : null;
|
|
7853
7853
|
}
|
|
7854
|
-
const
|
|
7854
|
+
const i1 = /font-weight:\s*normal/, a1 = ["P", "OL", "UL"], hl = (n) => n && a1.includes(n.tagName), o1 = (n) => {
|
|
7855
7855
|
Array.from(n.querySelectorAll("br")).filter((e) => hl(e.previousElementSibling) && hl(e.nextElementSibling)).forEach((e) => {
|
|
7856
7856
|
var t;
|
|
7857
7857
|
(t = e.parentNode) == null || t.removeChild(e);
|
|
7858
7858
|
});
|
|
7859
|
-
},
|
|
7859
|
+
}, l1 = (n) => {
|
|
7860
7860
|
Array.from(n.querySelectorAll('b[style*="font-weight"]')).filter((e) => {
|
|
7861
7861
|
var t;
|
|
7862
|
-
return (t = e.getAttribute("style")) == null ? void 0 : t.match(
|
|
7862
|
+
return (t = e.getAttribute("style")) == null ? void 0 : t.match(i1);
|
|
7863
7863
|
}).forEach((e) => {
|
|
7864
7864
|
var r;
|
|
7865
7865
|
const t = n.createDocumentFragment();
|
|
7866
7866
|
t.append(...e.childNodes), (r = e.parentNode) == null || r.replaceChild(t, e);
|
|
7867
7867
|
});
|
|
7868
7868
|
};
|
|
7869
|
-
function
|
|
7870
|
-
n.querySelector('[id^="docs-internal-guid-"]') && (
|
|
7869
|
+
function u1(n) {
|
|
7870
|
+
n.querySelector('[id^="docs-internal-guid-"]') && (l1(n), o1(n));
|
|
7871
7871
|
}
|
|
7872
|
-
const
|
|
7873
|
-
const t = n.getAttribute("style"), r = t == null ? void 0 : t.match(
|
|
7872
|
+
const c1 = /\bmso-list:[^;]*ignore/i, f1 = /\bmso-list:[^;]*\bl(\d+)/i, d1 = /\bmso-list:[^;]*\blevel(\d+)/i, h1 = (n, e) => {
|
|
7873
|
+
const t = n.getAttribute("style"), r = t == null ? void 0 : t.match(f1);
|
|
7874
7874
|
if (!r)
|
|
7875
7875
|
return null;
|
|
7876
|
-
const s = Number(r[1]), o = t == null ? void 0 : t.match(
|
|
7876
|
+
const s = Number(r[1]), o = t == null ? void 0 : t.match(d1), a = o ? Number(o[1]) : 1, u = new RegExp(`@list l${s}:level${a}\\s*\\{[^\\}]*mso-level-number-format:\\s*([\\w-]+)`, "i"), i = e.match(u), l = i && i[1] === "bullet" ? "bullet" : "ordered";
|
|
7877
7877
|
return {
|
|
7878
7878
|
id: s,
|
|
7879
7879
|
indent: a,
|
|
7880
7880
|
type: l,
|
|
7881
7881
|
element: n
|
|
7882
7882
|
};
|
|
7883
|
-
},
|
|
7883
|
+
}, p1 = (n) => {
|
|
7884
7884
|
var a, u;
|
|
7885
7885
|
const e = Array.from(n.querySelectorAll("[style*=mso-list]")), t = [], r = [];
|
|
7886
7886
|
e.forEach((i) => {
|
|
7887
|
-
(i.getAttribute("style") || "").match(
|
|
7887
|
+
(i.getAttribute("style") || "").match(c1) ? t.push(i) : r.push(i);
|
|
7888
7888
|
}), t.forEach((i) => {
|
|
7889
7889
|
var l;
|
|
7890
7890
|
return (l = i.parentNode) == null ? void 0 : l.removeChild(i);
|
|
7891
7891
|
});
|
|
7892
|
-
const s = n.documentElement.innerHTML, o = r.map((i) =>
|
|
7892
|
+
const s = n.documentElement.innerHTML, o = r.map((i) => h1(i, s)).filter((i) => i);
|
|
7893
7893
|
for (; o.length; ) {
|
|
7894
7894
|
const i = [];
|
|
7895
7895
|
let l = o.shift();
|
|
@@ -7912,17 +7912,17 @@ const u1 = /\bmso-list:[^;]*ignore/i, c1 = /\bmso-list:[^;]*\bl(\d+)/i, f1 = /\b
|
|
|
7912
7912
|
});
|
|
7913
7913
|
}
|
|
7914
7914
|
};
|
|
7915
|
-
function
|
|
7916
|
-
n.documentElement.getAttribute("xmlns:w") === "urn:schemas-microsoft-com:office:word" &&
|
|
7915
|
+
function g1(n) {
|
|
7916
|
+
n.documentElement.getAttribute("xmlns:w") === "urn:schemas-microsoft-com:office:word" && p1(n);
|
|
7917
7917
|
}
|
|
7918
|
-
const
|
|
7919
|
-
n.documentElement &&
|
|
7918
|
+
const v1 = [g1, u1], m1 = (n) => {
|
|
7919
|
+
n.documentElement && v1.forEach((e) => {
|
|
7920
7920
|
e(n);
|
|
7921
7921
|
});
|
|
7922
|
-
},
|
|
7922
|
+
}, y1 = Fn("quill:clipboard"), b1 = [[Node.TEXT_NODE, L1], [Node.TEXT_NODE, gl], ["br", S1], [Node.ELEMENT_NODE, gl], [Node.ELEMENT_NODE, E1], [Node.ELEMENT_NODE, w1], [Node.ELEMENT_NODE, C1], ["li", N1], ["ol, ul", R1], ["pre", T1], ["tr", I1], ["b", Ji("bold")], ["i", Ji("italic")], ["strike", Ji("strike")], ["style", O1]], x1 = [Y0, ju].reduce((n, e) => (n[e.keyName] = e, n), {}), pl = [Bu, eo, Ja, _u, Hu, Gu].reduce((n, e) => (n[e.keyName] = e, n), {});
|
|
7923
7923
|
class Wu extends dn {
|
|
7924
7924
|
constructor(e, t) {
|
|
7925
|
-
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 = [],
|
|
7925
|
+
super(e, t), this.quill.root.addEventListener("copy", (r) => this.onCaptureCopy(r, !1)), this.quill.root.addEventListener("cut", (r) => this.onCaptureCopy(r, !0)), this.quill.root.addEventListener("paste", this.onCapturePaste.bind(this)), this.matchers = [], b1.concat(this.options.matchers ?? []).forEach((r) => {
|
|
7926
7926
|
let [s, o] = r;
|
|
7927
7927
|
this.addMatcher(s, o);
|
|
7928
7928
|
});
|
|
@@ -7942,11 +7942,11 @@ class Wu extends dn {
|
|
|
7942
7942
|
if (!t)
|
|
7943
7943
|
return new Ne().insert(r || "", s);
|
|
7944
7944
|
const o = this.convertHTML(t);
|
|
7945
|
-
return
|
|
7945
|
+
return ys(o, `
|
|
7946
7946
|
`) && (o.ops[o.ops.length - 1].attributes == null || s.table) ? o.compose(new Ne().retain(o.length() - 1).delete(1)) : o;
|
|
7947
7947
|
}
|
|
7948
7948
|
normalizeHTML(e) {
|
|
7949
|
-
|
|
7949
|
+
m1(e);
|
|
7950
7950
|
}
|
|
7951
7951
|
convertHTML(e) {
|
|
7952
7952
|
const t = new DOMParser().parseFromString(e, "text/html");
|
|
@@ -8038,7 +8038,7 @@ class Wu extends dn {
|
|
|
8038
8038
|
text: r,
|
|
8039
8039
|
html: s
|
|
8040
8040
|
}, o);
|
|
8041
|
-
|
|
8041
|
+
y1.log("onPaste", a, {
|
|
8042
8042
|
text: r,
|
|
8043
8043
|
html: s
|
|
8044
8044
|
});
|
|
@@ -8086,7 +8086,7 @@ function fr(n, e, t, r) {
|
|
|
8086
8086
|
});
|
|
8087
8087
|
}, new Ne()) : n;
|
|
8088
8088
|
}
|
|
8089
|
-
function
|
|
8089
|
+
function ys(n, e) {
|
|
8090
8090
|
let t = "";
|
|
8091
8091
|
for (let r = n.ops.length - 1; r >= 0 && t.length < e.length; --r) {
|
|
8092
8092
|
const s = n.ops[r];
|
|
@@ -8100,12 +8100,12 @@ function _n(n, e) {
|
|
|
8100
8100
|
const t = e.query(n);
|
|
8101
8101
|
return t && t.prototype instanceof Vt ? !1 : ["address", "article", "blockquote", "canvas", "dd", "div", "dl", "dt", "fieldset", "figcaption", "figure", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "header", "iframe", "li", "main", "nav", "ol", "output", "p", "pre", "section", "table", "td", "tr", "ul", "video"].includes(n.tagName.toLowerCase());
|
|
8102
8102
|
}
|
|
8103
|
-
function
|
|
8103
|
+
function A1(n, e) {
|
|
8104
8104
|
return n.previousElementSibling && n.nextElementSibling && !_n(n.previousElementSibling, e) && !_n(n.nextElementSibling, e);
|
|
8105
8105
|
}
|
|
8106
|
-
const
|
|
8106
|
+
const Vs = /* @__PURE__ */ new WeakMap();
|
|
8107
8107
|
function Ku(n) {
|
|
8108
|
-
return n == null ? !1 : (
|
|
8108
|
+
return n == null ? !1 : (Vs.has(n) || (n.tagName === "PRE" ? Vs.set(n, !0) : Vs.set(n, Ku(n.parentNode))), Vs.get(n));
|
|
8109
8109
|
}
|
|
8110
8110
|
function so(n, e, t, r, s) {
|
|
8111
8111
|
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) => {
|
|
@@ -8116,45 +8116,45 @@ function so(n, e, t, r, s) {
|
|
|
8116
8116
|
function Ji(n) {
|
|
8117
8117
|
return (e, t, r) => fr(t, n, !0, r);
|
|
8118
8118
|
}
|
|
8119
|
-
function
|
|
8119
|
+
function w1(n, e, t) {
|
|
8120
8120
|
const r = xn.keys(n), s = cn.keys(n), o = Gn.keys(n), a = {};
|
|
8121
8121
|
return r.concat(s).concat(o).forEach((u) => {
|
|
8122
8122
|
let i = t.query(u, Ce.ATTRIBUTE);
|
|
8123
|
-
i != null && (a[i.attrName] = i.value(n), a[i.attrName]) || (i =
|
|
8123
|
+
i != null && (a[i.attrName] = i.value(n), a[i.attrName]) || (i = x1[u], i != null && (i.attrName === u || i.keyName === u) && (a[i.attrName] = i.value(n) || void 0), i = pl[u], i != null && (i.attrName === u || i.keyName === u) && (i = pl[u], a[i.attrName] = i.value(n) || void 0));
|
|
8124
8124
|
}), Object.entries(a).reduce((u, i) => {
|
|
8125
8125
|
let [l, c] = i;
|
|
8126
8126
|
return fr(u, l, c, t);
|
|
8127
8127
|
}, e);
|
|
8128
8128
|
}
|
|
8129
|
-
function
|
|
8129
|
+
function E1(n, e, t) {
|
|
8130
8130
|
const r = t.query(n);
|
|
8131
8131
|
if (r == null) return e;
|
|
8132
8132
|
if (r.prototype instanceof Vt) {
|
|
8133
8133
|
const s = {}, o = r.value(n);
|
|
8134
8134
|
if (o != null)
|
|
8135
8135
|
return s[r.blotName] = o, new Ne().insert(s, r.formats(n, t));
|
|
8136
|
-
} else if (r.prototype instanceof us && !
|
|
8136
|
+
} else if (r.prototype instanceof us && !ys(e, `
|
|
8137
8137
|
`) && e.insert(`
|
|
8138
8138
|
`), "blotName" in r && "formats" in r && typeof r.formats == "function")
|
|
8139
8139
|
return fr(e, r.blotName, r.formats(n, t), t);
|
|
8140
8140
|
return e;
|
|
8141
8141
|
}
|
|
8142
|
-
function
|
|
8143
|
-
return
|
|
8142
|
+
function S1(n, e) {
|
|
8143
|
+
return ys(e, `
|
|
8144
8144
|
`) || e.insert(`
|
|
8145
8145
|
`), e;
|
|
8146
8146
|
}
|
|
8147
|
-
function
|
|
8147
|
+
function T1(n, e, t) {
|
|
8148
8148
|
const r = t.query("code-block"), s = r && "formats" in r && typeof r.formats == "function" ? r.formats(n, t) : !0;
|
|
8149
8149
|
return fr(e, "code-block", s, t);
|
|
8150
8150
|
}
|
|
8151
|
-
function
|
|
8151
|
+
function O1() {
|
|
8152
8152
|
return new Ne();
|
|
8153
8153
|
}
|
|
8154
|
-
function
|
|
8154
|
+
function N1(n, e, t) {
|
|
8155
8155
|
const r = t.query(n);
|
|
8156
8156
|
if (r == null || // @ts-expect-error
|
|
8157
|
-
r.blotName !== "list" || !
|
|
8157
|
+
r.blotName !== "list" || !ys(e, `
|
|
8158
8158
|
`))
|
|
8159
8159
|
return e;
|
|
8160
8160
|
let s = -1, o = n.parentNode;
|
|
@@ -8165,14 +8165,14 @@ function O1(n, e, t) {
|
|
|
8165
8165
|
...u.attributes || {}
|
|
8166
8166
|
}) : a, new Ne());
|
|
8167
8167
|
}
|
|
8168
|
-
function
|
|
8168
|
+
function R1(n, e, t) {
|
|
8169
8169
|
const r = n;
|
|
8170
8170
|
let s = r.tagName === "OL" ? "ordered" : "bullet";
|
|
8171
8171
|
const o = r.getAttribute("data-checked");
|
|
8172
8172
|
return o && (s = o === "true" ? "checked" : "unchecked"), fr(e, "list", s, t);
|
|
8173
8173
|
}
|
|
8174
8174
|
function gl(n, e, t) {
|
|
8175
|
-
if (!
|
|
8175
|
+
if (!ys(e, `
|
|
8176
8176
|
`)) {
|
|
8177
8177
|
if (_n(n, t) && (n.childNodes.length > 0 || n instanceof HTMLParagraphElement))
|
|
8178
8178
|
return e.insert(`
|
|
@@ -8193,7 +8193,7 @@ function gl(n, e, t) {
|
|
|
8193
8193
|
}
|
|
8194
8194
|
return e;
|
|
8195
8195
|
}
|
|
8196
|
-
function
|
|
8196
|
+
function C1(n, e, t) {
|
|
8197
8197
|
var o;
|
|
8198
8198
|
const r = {}, s = n.style || {};
|
|
8199
8199
|
return s.fontStyle === "italic" && (r.italic = !0), s.textDecoration === "underline" && (r.underline = !0), s.textDecoration === "line-through" && (r.strike = !0), ((o = s.fontWeight) != null && o.startsWith("bold") || // @ts-expect-error Fix me later
|
|
@@ -8202,7 +8202,7 @@ function R1(n, e, t) {
|
|
|
8202
8202
|
return fr(a, i, l, t);
|
|
8203
8203
|
}, e), parseFloat(s.textIndent || 0) > 0 ? new Ne().insert(" ").concat(e) : e;
|
|
8204
8204
|
}
|
|
8205
|
-
function
|
|
8205
|
+
function I1(n, e, t) {
|
|
8206
8206
|
var s, o;
|
|
8207
8207
|
const r = ((s = n.parentElement) == null ? void 0 : s.tagName) === "TABLE" ? n.parentElement : (o = n.parentElement) == null ? void 0 : o.parentElement;
|
|
8208
8208
|
if (r != null) {
|
|
@@ -8211,14 +8211,14 @@ function C1(n, e, t) {
|
|
|
8211
8211
|
}
|
|
8212
8212
|
return e;
|
|
8213
8213
|
}
|
|
8214
|
-
function
|
|
8214
|
+
function L1(n, e, t) {
|
|
8215
8215
|
var s;
|
|
8216
8216
|
let r = n.data;
|
|
8217
8217
|
if (((s = n.parentElement) == null ? void 0 : s.tagName) === "O:P")
|
|
8218
8218
|
return e.insert(r.trim());
|
|
8219
8219
|
if (!Ku(n)) {
|
|
8220
8220
|
if (r.trim().length === 0 && r.includes(`
|
|
8221
|
-
`) && !
|
|
8221
|
+
`) && !A1(n, t))
|
|
8222
8222
|
return e;
|
|
8223
8223
|
r = r.replace(/[^\S\u00a0]/g, " "), r = r.replace(/ {2,}/g, " "), (n.previousSibling == null && n.parentElement != null && _n(n.parentElement, t) || n.previousSibling instanceof Element && _n(n.previousSibling, t)) && (r = r.replace(/^ /, "")), (n.nextSibling == null && n.parentElement != null && _n(n.parentElement, t) || n.nextSibling instanceof Element && _n(n.nextSibling, t)) && (r = r.replace(/ $/, "")), r = r.replaceAll(" ", " ");
|
|
8224
8224
|
}
|
|
@@ -8300,7 +8300,7 @@ class Xu extends dn {
|
|
|
8300
8300
|
if (t.range)
|
|
8301
8301
|
this.quill.setSelection(t.range, le.sources.USER);
|
|
8302
8302
|
else {
|
|
8303
|
-
const r =
|
|
8303
|
+
const r = P1(this.quill.scroll, t.delta);
|
|
8304
8304
|
this.quill.setSelection(r, le.sources.USER);
|
|
8305
8305
|
}
|
|
8306
8306
|
}
|
|
@@ -8320,15 +8320,15 @@ function vl(n, e) {
|
|
|
8320
8320
|
}, t = s.delta.transform(t), n[r].delta.length() === 0 && n.splice(r, 1);
|
|
8321
8321
|
}
|
|
8322
8322
|
}
|
|
8323
|
-
function
|
|
8323
|
+
function k1(n, e) {
|
|
8324
8324
|
const t = e.ops[e.ops.length - 1];
|
|
8325
8325
|
return t == null ? !1 : t.insert != null ? typeof t.insert == "string" && t.insert.endsWith(`
|
|
8326
8326
|
`) : t.attributes != null ? Object.keys(t.attributes).some((r) => n.query(r, Ce.BLOCK) != null) : !1;
|
|
8327
8327
|
}
|
|
8328
|
-
function
|
|
8328
|
+
function P1(n, e) {
|
|
8329
8329
|
const t = e.reduce((s, o) => s + (o.delete || 0), 0);
|
|
8330
8330
|
let r = e.length() - t;
|
|
8331
|
-
return
|
|
8331
|
+
return k1(n, e) && (r -= 1), r;
|
|
8332
8332
|
}
|
|
8333
8333
|
function Ta(n, e) {
|
|
8334
8334
|
if (!n) return n;
|
|
@@ -8384,8 +8384,8 @@ Yu.DEFAULTS = {
|
|
|
8384
8384
|
});
|
|
8385
8385
|
}
|
|
8386
8386
|
};
|
|
8387
|
-
const
|
|
8388
|
-
class
|
|
8387
|
+
const F1 = ["insertText", "insertReplacementText"];
|
|
8388
|
+
class M1 extends dn {
|
|
8389
8389
|
constructor(e, t) {
|
|
8390
8390
|
super(e, t), e.root.addEventListener("beforeinput", (r) => {
|
|
8391
8391
|
this.handleBeforeInput(r);
|
|
@@ -8410,12 +8410,12 @@ class F1 extends dn {
|
|
|
8410
8410
|
return this.quill.setSelection(e.index + t.length, 0, le.sources.SILENT), !0;
|
|
8411
8411
|
}
|
|
8412
8412
|
handleBeforeInput(e) {
|
|
8413
|
-
if (this.quill.composition.isComposing || e.defaultPrevented || !
|
|
8413
|
+
if (this.quill.composition.isComposing || e.defaultPrevented || !F1.includes(e.inputType))
|
|
8414
8414
|
return;
|
|
8415
8415
|
const t = e.getTargetRanges ? e.getTargetRanges()[0] : null;
|
|
8416
8416
|
if (!t || t.collapsed === !0)
|
|
8417
8417
|
return;
|
|
8418
|
-
const r =
|
|
8418
|
+
const r = D1(e);
|
|
8419
8419
|
if (r == null)
|
|
8420
8420
|
return;
|
|
8421
8421
|
const s = this.quill.selection.normalizeNative(t), o = s ? this.quill.selection.normalizedToRange(s) : null;
|
|
@@ -8426,13 +8426,13 @@ class F1 extends dn {
|
|
|
8426
8426
|
e && this.replaceText(e);
|
|
8427
8427
|
}
|
|
8428
8428
|
}
|
|
8429
|
-
function
|
|
8429
|
+
function D1(n) {
|
|
8430
8430
|
var e;
|
|
8431
8431
|
return typeof n.data == "string" ? n.data : (e = n.dataTransfer) != null && e.types.includes("text/plain") ? n.dataTransfer.getData("text/plain") : null;
|
|
8432
8432
|
}
|
|
8433
|
-
const
|
|
8434
|
-
n.key === "ArrowUp" || n.key === "ArrowDown" || n.key === "Home" ||
|
|
8435
|
-
class
|
|
8433
|
+
const B1 = /Mac/i.test(navigator.platform), U1 = 100, j1 = (n) => !!(n.key === "ArrowLeft" || n.key === "ArrowRight" || // RTL scripts or moving from the end of the previous line
|
|
8434
|
+
n.key === "ArrowUp" || n.key === "ArrowDown" || n.key === "Home" || B1 && n.key === "a" && n.ctrlKey === !0);
|
|
8435
|
+
class $1 extends dn {
|
|
8436
8436
|
constructor(t, r) {
|
|
8437
8437
|
super(t, r);
|
|
8438
8438
|
Ee(this, "isListening", !1);
|
|
@@ -8458,7 +8458,7 @@ class j1 extends dn {
|
|
|
8458
8458
|
}
|
|
8459
8459
|
handleNavigationShortcuts() {
|
|
8460
8460
|
this.quill.root.addEventListener("keydown", (t) => {
|
|
8461
|
-
!t.defaultPrevented &&
|
|
8461
|
+
!t.defaultPrevented && j1(t) && this.ensureListeningToSelectionChange();
|
|
8462
8462
|
});
|
|
8463
8463
|
}
|
|
8464
8464
|
/**
|
|
@@ -8468,7 +8468,7 @@ class j1 extends dn {
|
|
|
8468
8468
|
* the selection within the handler of a `selectionchange` event.
|
|
8469
8469
|
*/
|
|
8470
8470
|
ensureListeningToSelectionChange() {
|
|
8471
|
-
if (this.selectionChangeDeadline = Date.now() +
|
|
8471
|
+
if (this.selectionChangeDeadline = Date.now() + U1, this.isListening) return;
|
|
8472
8472
|
this.isListening = !0;
|
|
8473
8473
|
const t = () => {
|
|
8474
8474
|
this.isListening = !1, Date.now() <= this.selectionChangeDeadline && this.handleSelectionChange();
|
|
@@ -8502,10 +8502,10 @@ le.register({
|
|
|
8502
8502
|
"modules/history": Xu,
|
|
8503
8503
|
"modules/keyboard": pi,
|
|
8504
8504
|
"modules/uploader": Yu,
|
|
8505
|
-
"modules/input":
|
|
8506
|
-
"modules/uiNode":
|
|
8505
|
+
"modules/input": M1,
|
|
8506
|
+
"modules/uiNode": $1
|
|
8507
8507
|
});
|
|
8508
|
-
class
|
|
8508
|
+
class _1 extends cn {
|
|
8509
8509
|
add(e, t) {
|
|
8510
8510
|
let r = 0;
|
|
8511
8511
|
if (t === "+1" || t === "-1") {
|
|
@@ -8521,7 +8521,7 @@ class $1 extends cn {
|
|
|
8521
8521
|
return parseInt(super.value(e), 10) || void 0;
|
|
8522
8522
|
}
|
|
8523
8523
|
}
|
|
8524
|
-
const
|
|
8524
|
+
const q1 = new _1("indent", "ql-indent", {
|
|
8525
8525
|
scope: Ce.BLOCK,
|
|
8526
8526
|
// @ts-expect-error
|
|
8527
8527
|
whitelist: [1, 2, 3, 4, 5, 6, 7, 8]
|
|
@@ -8535,11 +8535,11 @@ class Na extends Ot {
|
|
|
8535
8535
|
}
|
|
8536
8536
|
}
|
|
8537
8537
|
Ee(Na, "blotName", "header"), Ee(Na, "tagName", ["H1", "H2", "H3", "H4", "H5", "H6"]);
|
|
8538
|
-
class
|
|
8538
|
+
class bs extends ur {
|
|
8539
8539
|
}
|
|
8540
|
-
|
|
8541
|
-
|
|
8542
|
-
class
|
|
8540
|
+
bs.blotName = "list-container";
|
|
8541
|
+
bs.tagName = "OL";
|
|
8542
|
+
class xs extends Ot {
|
|
8543
8543
|
static create(e) {
|
|
8544
8544
|
const t = super.create();
|
|
8545
8545
|
return t.setAttribute("data-list", e), t;
|
|
@@ -8548,7 +8548,7 @@ class bs extends Ot {
|
|
|
8548
8548
|
return e.getAttribute("data-list") || void 0;
|
|
8549
8549
|
}
|
|
8550
8550
|
static register() {
|
|
8551
|
-
le.register(
|
|
8551
|
+
le.register(bs);
|
|
8552
8552
|
}
|
|
8553
8553
|
constructor(e, t) {
|
|
8554
8554
|
super(e, t);
|
|
@@ -8563,10 +8563,10 @@ class bs extends Ot {
|
|
|
8563
8563
|
e === this.statics.blotName && t ? this.domNode.setAttribute("data-list", t) : super.format(e, t);
|
|
8564
8564
|
}
|
|
8565
8565
|
}
|
|
8566
|
-
|
|
8567
|
-
|
|
8568
|
-
|
|
8569
|
-
|
|
8566
|
+
xs.blotName = "list";
|
|
8567
|
+
xs.tagName = "LI";
|
|
8568
|
+
bs.allowedChildren = [xs];
|
|
8569
|
+
xs.requiredContainer = bs;
|
|
8570
8570
|
class fs extends An {
|
|
8571
8571
|
static create() {
|
|
8572
8572
|
return super.create();
|
|
@@ -8620,7 +8620,7 @@ Ee(Ia, "blotName", "strike"), Ee(Ia, "tagName", ["S", "STRIKE"]);
|
|
|
8620
8620
|
class La extends An {
|
|
8621
8621
|
}
|
|
8622
8622
|
Ee(La, "blotName", "underline"), Ee(La, "tagName", "U");
|
|
8623
|
-
class
|
|
8623
|
+
class Ks extends Za {
|
|
8624
8624
|
static create(e) {
|
|
8625
8625
|
if (window.katex == null)
|
|
8626
8626
|
throw new Error("Formula module requires KaTeX.");
|
|
@@ -8640,7 +8640,7 @@ class Ws extends Za {
|
|
|
8640
8640
|
return `<span>${e}</span>`;
|
|
8641
8641
|
}
|
|
8642
8642
|
}
|
|
8643
|
-
Ee(
|
|
8643
|
+
Ee(Ks, "blotName", "formula"), Ee(Ks, "className", "ql-formula"), Ee(Ks, "tagName", "SPAN");
|
|
8644
8644
|
const ml = ["alt", "height", "width"];
|
|
8645
8645
|
class ka extends Vt {
|
|
8646
8646
|
static create(e) {
|
|
@@ -8665,7 +8665,7 @@ class ka extends Vt {
|
|
|
8665
8665
|
}
|
|
8666
8666
|
Ee(ka, "blotName", "image"), Ee(ka, "tagName", "IMG");
|
|
8667
8667
|
const yl = ["height", "width"];
|
|
8668
|
-
class
|
|
8668
|
+
class Xs extends Zt {
|
|
8669
8669
|
static create(e) {
|
|
8670
8670
|
const t = super.create(e);
|
|
8671
8671
|
return t.setAttribute("frameborder", "0"), t.setAttribute("allowfullscreen", "true"), t.setAttribute("src", this.sanitize(e)), t;
|
|
@@ -8689,7 +8689,7 @@ class Ks extends Zt {
|
|
|
8689
8689
|
return `<a href="${e}">${e}</a>`;
|
|
8690
8690
|
}
|
|
8691
8691
|
}
|
|
8692
|
-
Ee(
|
|
8692
|
+
Ee(Xs, "blotName", "video"), Ee(Xs, "className", "ql-video"), Ee(Xs, "tagName", "IFRAME");
|
|
8693
8693
|
const Jr = new cn("code-token", "hljs", {
|
|
8694
8694
|
scope: Ce.INLINE
|
|
8695
8695
|
});
|
|
@@ -8781,7 +8781,7 @@ ${hi(this.code(e, t))}
|
|
|
8781
8781
|
rs.allowedChildren = [Yt];
|
|
8782
8782
|
Yt.requiredContainer = rs;
|
|
8783
8783
|
Yt.allowedChildren = [Ln, Mr, un, fn];
|
|
8784
|
-
const
|
|
8784
|
+
const z1 = (n, e, t) => {
|
|
8785
8785
|
if (typeof n.versionString == "string") {
|
|
8786
8786
|
const r = n.versionString.split(".")[0];
|
|
8787
8787
|
if (parseInt(r, 10) >= 11)
|
|
@@ -8847,7 +8847,7 @@ class Qu extends dn {
|
|
|
8847
8847
|
[Ft.blotName]: t
|
|
8848
8848
|
}), s.insert(o)), new Ne());
|
|
8849
8849
|
const r = this.quill.root.ownerDocument.createElement("div");
|
|
8850
|
-
return r.classList.add(Ft.className), r.innerHTML =
|
|
8850
|
+
return r.classList.add(Ft.className), r.innerHTML = z1(this.options.hljs, t, e), so(this.quill.scroll, r, [(s, o) => {
|
|
8851
8851
|
const a = Jr.value(s);
|
|
8852
8852
|
return a ? o.compose(new Ne().retain(o.length(), {
|
|
8853
8853
|
[Ln.blotName]: a
|
|
@@ -9017,7 +9017,7 @@ an.requiredContainer = kn;
|
|
|
9017
9017
|
function io() {
|
|
9018
9018
|
return `row-${Math.random().toString(36).slice(2, 6)}`;
|
|
9019
9019
|
}
|
|
9020
|
-
class
|
|
9020
|
+
class H1 extends dn {
|
|
9021
9021
|
static register() {
|
|
9022
9022
|
le.register(an), le.register(kn), le.register(bn), le.register(Br);
|
|
9023
9023
|
}
|
|
@@ -9108,7 +9108,7 @@ class ao extends dn {
|
|
|
9108
9108
|
var r, s;
|
|
9109
9109
|
if (super(e, t), Array.isArray(this.options.container)) {
|
|
9110
9110
|
const o = document.createElement("div");
|
|
9111
|
-
o.setAttribute("role", "toolbar"),
|
|
9111
|
+
o.setAttribute("role", "toolbar"), V1(o, this.options.container), (s = (r = e.container) == null ? void 0 : r.parentNode) == null || s.insertBefore(o, e.container), this.container = o;
|
|
9112
9112
|
} else typeof this.options.container == "string" ? this.container = document.querySelector(this.options.container) : this.container = this.options.container;
|
|
9113
9113
|
if (!(this.container instanceof HTMLElement)) {
|
|
9114
9114
|
bl.error("Container required for toolbar", this.options);
|
|
@@ -9193,7 +9193,7 @@ function xl(n, e, t) {
|
|
|
9193
9193
|
const r = document.createElement("button");
|
|
9194
9194
|
r.setAttribute("type", "button"), r.classList.add(`ql-${e}`), r.setAttribute("aria-pressed", "false"), t != null ? (r.value = t, r.setAttribute("aria-label", `${e}: ${t}`)) : r.setAttribute("aria-label", e), n.appendChild(r);
|
|
9195
9195
|
}
|
|
9196
|
-
function
|
|
9196
|
+
function V1(n, e) {
|
|
9197
9197
|
Array.isArray(e[0]) || (e = [e]), e.forEach((t) => {
|
|
9198
9198
|
const r = document.createElement("span");
|
|
9199
9199
|
r.classList.add("ql-formats"), t.forEach((s) => {
|
|
@@ -9201,12 +9201,12 @@ function H1(n, e) {
|
|
|
9201
9201
|
xl(r, s);
|
|
9202
9202
|
else {
|
|
9203
9203
|
const o = Object.keys(s)[0], a = s[o];
|
|
9204
|
-
Array.isArray(a) ?
|
|
9204
|
+
Array.isArray(a) ? G1(r, o, a) : xl(r, o, a);
|
|
9205
9205
|
}
|
|
9206
9206
|
}), n.appendChild(r);
|
|
9207
9207
|
});
|
|
9208
9208
|
}
|
|
9209
|
-
function
|
|
9209
|
+
function G1(n, e, t) {
|
|
9210
9210
|
const r = document.createElement("select");
|
|
9211
9211
|
r.classList.add(`ql-${e}`), t.forEach((s) => {
|
|
9212
9212
|
const o = document.createElement("option");
|
|
@@ -9249,54 +9249,54 @@ ao.DEFAULTS = {
|
|
|
9249
9249
|
}
|
|
9250
9250
|
}
|
|
9251
9251
|
};
|
|
9252
|
-
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>', W1 = '<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>', K1 = '<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>', X1 = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="15" x2="3" y1="9" y2="9"/><line class="ql-stroke" x1="15" x2="3" y1="14" y2="14"/><line class="ql-stroke" x1="15" x2="3" y1="4" y2="4"/></svg>', Y1 = '<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>', Z1 = '<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>', Q1 = '<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>', J1 = '<svg class="" viewbox="0 0 18 18"><line class="ql-stroke" x1="5" x2="13" y1="3" y2="3"/><line class="ql-stroke" x1="6" x2="9.35" y1="12" y2="3"/><line class="ql-stroke" x1="11" x2="15" y1="11" y2="15"/><line class="ql-stroke" x1="15" x2="11" y1="11" y2="15"/><rect class="ql-fill" height="1" rx="0.5" ry="0.5" width="7" x="2" y="14"/></svg>', Al = '<svg viewbox="0 0 18 18"><polyline class="ql-even ql-stroke" points="5 7 3 9 5 11"/><polyline class="ql-even ql-stroke" points="13 7 15 9 13 11"/><line class="ql-stroke" x1="10" x2="8" y1="5" y2="13"/></svg>', ey = '<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>', ty = '<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>', ny = '<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>', ry = '<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>', sy = '<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>', iy = '<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>', ay = '<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>', oy = '<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>', ly = '<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>', uy = '<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>', cy = '<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>', fy = '<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>', dy = '<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>', hy = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="3" x2="15" y1="14" y2="14"/><line class="ql-stroke" x1="3" x2="15" y1="4" y2="4"/><line class="ql-stroke" x1="9" x2="15" y1="9" y2="9"/><polyline class="ql-stroke" points="5 7 5 11 3 9 5 7"/></svg>', py = '<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>', gy = '<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>', vy = '<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>', my = '<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>', yy = '<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>', by = '<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>', xy = '<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>', Ay = '<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>', wy = '<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>', Ey = '<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 = {
|
|
9252
|
+
const W1 = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="3" x2="15" y1="9" y2="9"/><line class="ql-stroke" x1="3" x2="13" y1="14" y2="14"/><line class="ql-stroke" x1="3" x2="9" y1="4" y2="4"/></svg>', K1 = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="15" x2="3" y1="9" y2="9"/><line class="ql-stroke" x1="14" x2="4" y1="14" y2="14"/><line class="ql-stroke" x1="12" x2="6" y1="4" y2="4"/></svg>', X1 = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="15" x2="3" y1="9" y2="9"/><line class="ql-stroke" x1="15" x2="5" y1="14" y2="14"/><line class="ql-stroke" x1="15" x2="9" y1="4" y2="4"/></svg>', Y1 = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="15" x2="3" y1="9" y2="9"/><line class="ql-stroke" x1="15" x2="3" y1="14" y2="14"/><line class="ql-stroke" x1="15" x2="3" y1="4" y2="4"/></svg>', Z1 = '<svg viewbox="0 0 18 18"><g class="ql-fill ql-color-label"><polygon points="6 6.868 6 6 5 6 5 7 5.942 7 6 6.868"/><rect height="1" width="1" x="4" y="4"/><polygon points="6.817 5 6 5 6 6 6.38 6 6.817 5"/><rect height="1" width="1" x="2" y="6"/><rect height="1" width="1" x="3" y="5"/><rect height="1" width="1" x="4" y="7"/><polygon points="4 11.439 4 11 3 11 3 12 3.755 12 4 11.439"/><rect height="1" width="1" x="2" y="12"/><rect height="1" width="1" x="2" y="9"/><rect height="1" width="1" x="2" y="15"/><polygon points="4.63 10 4 10 4 11 4.192 11 4.63 10"/><rect height="1" width="1" x="3" y="8"/><path d="M10.832,4.2L11,4.582V4H10.708A1.948,1.948,0,0,1,10.832,4.2Z"/><path d="M7,4.582L7.168,4.2A1.929,1.929,0,0,1,7.292,4H7V4.582Z"/><path d="M8,13H7.683l-0.351.8a1.933,1.933,0,0,1-.124.2H8V13Z"/><rect height="1" width="1" x="12" y="2"/><rect height="1" width="1" x="11" y="3"/><path d="M9,3H8V3.282A1.985,1.985,0,0,1,9,3Z"/><rect height="1" width="1" x="2" y="3"/><rect height="1" width="1" x="6" y="2"/><rect height="1" width="1" x="3" y="2"/><rect height="1" width="1" x="5" y="3"/><rect height="1" width="1" x="9" y="2"/><rect height="1" width="1" x="15" y="14"/><polygon points="13.447 10.174 13.469 10.225 13.472 10.232 13.808 11 14 11 14 10 13.37 10 13.447 10.174"/><rect height="1" width="1" x="13" y="7"/><rect height="1" width="1" x="15" y="5"/><rect height="1" width="1" x="14" y="6"/><rect height="1" width="1" x="15" y="8"/><rect height="1" width="1" x="14" y="9"/><path d="M3.775,14H3v1H4V14.314A1.97,1.97,0,0,1,3.775,14Z"/><rect height="1" width="1" x="14" y="3"/><polygon points="12 6.868 12 6 11.62 6 12 6.868"/><rect height="1" width="1" x="15" y="2"/><rect height="1" width="1" x="12" y="5"/><rect height="1" width="1" x="13" y="4"/><polygon points="12.933 9 13 9 13 8 12.495 8 12.933 9"/><rect height="1" width="1" x="9" y="14"/><rect height="1" width="1" x="8" y="15"/><path d="M6,14.926V15H7V14.316A1.993,1.993,0,0,1,6,14.926Z"/><rect height="1" width="1" x="5" y="15"/><path d="M10.668,13.8L10.317,13H10v1h0.792A1.947,1.947,0,0,1,10.668,13.8Z"/><rect height="1" width="1" x="11" y="15"/><path d="M14.332,12.2a1.99,1.99,0,0,1,.166.8H15V12H14.245Z"/><rect height="1" width="1" x="14" y="15"/><rect height="1" width="1" x="15" y="11"/></g><polyline class="ql-stroke" points="5.5 13 9 5 12.5 13"/><line class="ql-stroke" x1="11.63" x2="6.38" y1="11" y2="11"/></svg>', Q1 = '<svg viewbox="0 0 18 18"><rect class="ql-fill ql-stroke" height="3" width="3" x="4" y="5"/><rect class="ql-fill ql-stroke" height="3" width="3" x="11" y="5"/><path class="ql-even ql-fill ql-stroke" d="M7,8c0,4.031-3,5-3,5"/><path class="ql-even ql-fill ql-stroke" d="M14,8c0,4.031-3,5-3,5"/></svg>', J1 = '<svg viewbox="0 0 18 18"><path class="ql-stroke" d="M5,4H9.5A2.5,2.5,0,0,1,12,6.5v0A2.5,2.5,0,0,1,9.5,9H5A0,0,0,0,1,5,9V4A0,0,0,0,1,5,4Z"/><path class="ql-stroke" d="M5,9h5.5A2.5,2.5,0,0,1,13,11.5v0A2.5,2.5,0,0,1,10.5,14H5a0,0,0,0,1,0,0V9A0,0,0,0,1,5,9Z"/></svg>', ey = '<svg class="" viewbox="0 0 18 18"><line class="ql-stroke" x1="5" x2="13" y1="3" y2="3"/><line class="ql-stroke" x1="6" x2="9.35" y1="12" y2="3"/><line class="ql-stroke" x1="11" x2="15" y1="11" y2="15"/><line class="ql-stroke" x1="15" x2="11" y1="11" y2="15"/><rect class="ql-fill" height="1" rx="0.5" ry="0.5" width="7" x="2" y="14"/></svg>', Al = '<svg viewbox="0 0 18 18"><polyline class="ql-even ql-stroke" points="5 7 3 9 5 11"/><polyline class="ql-even ql-stroke" points="13 7 15 9 13 11"/><line class="ql-stroke" x1="10" x2="8" y1="5" y2="13"/></svg>', ty = '<svg viewbox="0 0 18 18"><line class="ql-color-label ql-stroke ql-transparent" x1="3" x2="15" y1="15" y2="15"/><polyline class="ql-stroke" points="5.5 11 9 3 12.5 11"/><line class="ql-stroke" x1="11.63" x2="6.38" y1="9" y2="9"/></svg>', ny = '<svg viewbox="0 0 18 18"><polygon class="ql-stroke ql-fill" points="3 11 5 9 3 7 3 11"/><line class="ql-stroke ql-fill" x1="15" x2="11" y1="4" y2="4"/><path class="ql-fill" d="M11,3a3,3,0,0,0,0,6h1V3H11Z"/><rect class="ql-fill" height="11" width="1" x="11" y="4"/><rect class="ql-fill" height="11" width="1" x="13" y="4"/></svg>', ry = '<svg viewbox="0 0 18 18"><polygon class="ql-stroke ql-fill" points="15 12 13 10 15 8 15 12"/><line class="ql-stroke ql-fill" x1="9" x2="5" y1="4" y2="4"/><path class="ql-fill" d="M5,3A3,3,0,0,0,5,9H6V3H5Z"/><rect class="ql-fill" height="11" width="1" x="5" y="4"/><rect class="ql-fill" height="11" width="1" x="7" y="4"/></svg>', sy = '<svg viewbox="0 0 18 18"><path class="ql-fill" d="M11.759,2.482a2.561,2.561,0,0,0-3.53.607A7.656,7.656,0,0,0,6.8,6.2C6.109,9.188,5.275,14.677,4.15,14.927a1.545,1.545,0,0,0-1.3-.933A0.922,0.922,0,0,0,2,15.036S1.954,16,4.119,16s3.091-2.691,3.7-5.553c0.177-.826.36-1.726,0.554-2.6L8.775,6.2c0.381-1.421.807-2.521,1.306-2.676a1.014,1.014,0,0,0,1.02.56A0.966,0.966,0,0,0,11.759,2.482Z"/><rect class="ql-fill" height="1.6" rx="0.8" ry="0.8" width="5" x="5.15" y="6.2"/><path class="ql-fill" d="M13.663,12.027a1.662,1.662,0,0,1,.266-0.276q0.193,0.069.456,0.138a2.1,2.1,0,0,0,.535.069,1.075,1.075,0,0,0,.767-0.3,1.044,1.044,0,0,0,.314-0.8,0.84,0.84,0,0,0-.238-0.619,0.8,0.8,0,0,0-.594-0.239,1.154,1.154,0,0,0-.781.3,4.607,4.607,0,0,0-.781,1q-0.091.15-.218,0.346l-0.246.38c-0.068-.288-0.137-0.582-0.212-0.885-0.459-1.847-2.494-.984-2.941-0.8-0.482.2-.353,0.647-0.094,0.529a0.869,0.869,0,0,1,1.281.585c0.217,0.751.377,1.436,0.527,2.038a5.688,5.688,0,0,1-.362.467,2.69,2.69,0,0,1-.264.271q-0.221-.08-0.471-0.147a2.029,2.029,0,0,0-.522-0.066,1.079,1.079,0,0,0-.768.3A1.058,1.058,0,0,0,9,15.131a0.82,0.82,0,0,0,.832.852,1.134,1.134,0,0,0,.787-0.3,5.11,5.11,0,0,0,.776-0.993q0.141-.219.215-0.34c0.046-.076.122-0.194,0.223-0.346a2.786,2.786,0,0,0,.918,1.726,2.582,2.582,0,0,0,2.376-.185c0.317-.181.212-0.565,0-0.494A0.807,0.807,0,0,1,14.176,15a5.159,5.159,0,0,1-.913-2.446l0,0Q13.487,12.24,13.663,12.027Z"/></svg>', iy = '<svg viewBox="0 0 18 18"><path class="ql-fill" d="M10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Zm6.06787,9.209H14.98975V7.59863a.54085.54085,0,0,0-.605-.60547h-.62744a1.01119,1.01119,0,0,0-.748.29688L11.645,8.56641a.5435.5435,0,0,0-.022.8584l.28613.30762a.53861.53861,0,0,0,.84717.0332l.09912-.08789a1.2137,1.2137,0,0,0,.2417-.35254h.02246s-.01123.30859-.01123.60547V13.209H12.041a.54085.54085,0,0,0-.605.60547v.43945a.54085.54085,0,0,0,.605.60547h4.02686a.54085.54085,0,0,0,.605-.60547v-.43945A.54085.54085,0,0,0,16.06787,13.209Z"/></svg>', ay = '<svg viewBox="0 0 18 18"><path class="ql-fill" d="M16.73975,13.81445v.43945a.54085.54085,0,0,1-.605.60547H11.855a.58392.58392,0,0,1-.64893-.60547V14.0127c0-2.90527,3.39941-3.42187,3.39941-4.55469a.77675.77675,0,0,0-.84717-.78125,1.17684,1.17684,0,0,0-.83594.38477c-.2749.26367-.561.374-.85791.13184l-.4292-.34082c-.30811-.24219-.38525-.51758-.1543-.81445a2.97155,2.97155,0,0,1,2.45361-1.17676,2.45393,2.45393,0,0,1,2.68408,2.40918c0,2.45312-3.1792,2.92676-3.27832,3.93848h2.79443A.54085.54085,0,0,1,16.73975,13.81445ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z"/></svg>', oy = '<svg viewBox="0 0 18 18"><path class="ql-fill" d="M16.65186,12.30664a2.6742,2.6742,0,0,1-2.915,2.68457,3.96592,3.96592,0,0,1-2.25537-.6709.56007.56007,0,0,1-.13232-.83594L11.64648,13c.209-.34082.48389-.36328.82471-.1543a2.32654,2.32654,0,0,0,1.12256.33008c.71484,0,1.12207-.35156,1.12207-.78125,0-.61523-.61621-.86816-1.46338-.86816H13.2085a.65159.65159,0,0,1-.68213-.41895l-.05518-.10937a.67114.67114,0,0,1,.14307-.78125l.71533-.86914a8.55289,8.55289,0,0,1,.68213-.7373V8.58887a3.93913,3.93913,0,0,1-.748.05469H11.9873a.54085.54085,0,0,1-.605-.60547V7.59863a.54085.54085,0,0,1,.605-.60547h3.75146a.53773.53773,0,0,1,.60547.59375v.17676a1.03723,1.03723,0,0,1-.27539.748L14.74854,10.0293A2.31132,2.31132,0,0,1,16.65186,12.30664ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z"/></svg>', ly = '<svg viewBox="0 0 18 18"><path class="ql-fill" d="M10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Zm7.05371,7.96582v.38477c0,.39648-.165.60547-.46191.60547h-.47314v1.29785a.54085.54085,0,0,1-.605.60547h-.69336a.54085.54085,0,0,1-.605-.60547V12.95605H11.333a.5412.5412,0,0,1-.60547-.60547v-.15332a1.199,1.199,0,0,1,.22021-.748l2.56348-4.05957a.7819.7819,0,0,1,.72607-.39648h1.27637a.54085.54085,0,0,1,.605.60547v3.7627h.33008A.54055.54055,0,0,1,17.05371,11.96582ZM14.28125,8.7207h-.022a4.18969,4.18969,0,0,1-.38525.81348l-1.188,1.80469v.02246h1.5293V9.60059A7.04058,7.04058,0,0,1,14.28125,8.7207Z"/></svg>', uy = '<svg viewBox="0 0 18 18"><path class="ql-fill" d="M16.74023,12.18555a2.75131,2.75131,0,0,1-2.91553,2.80566,3.908,3.908,0,0,1-2.25537-.68164.54809.54809,0,0,1-.13184-.8252L11.73438,13c.209-.34082.48389-.36328.8252-.1543a2.23757,2.23757,0,0,0,1.1001.33008,1.01827,1.01827,0,0,0,1.1001-.96777c0-.61621-.53906-.97949-1.25439-.97949a2.15554,2.15554,0,0,0-.64893.09961,1.15209,1.15209,0,0,1-.814.01074l-.12109-.04395a.64116.64116,0,0,1-.45117-.71484l.231-3.00391a.56666.56666,0,0,1,.62744-.583H15.541a.54085.54085,0,0,1,.605.60547v.43945a.54085.54085,0,0,1-.605.60547H13.41748l-.04395.72559a1.29306,1.29306,0,0,1-.04395.30859h.022a2.39776,2.39776,0,0,1,.57227-.07715A2.53266,2.53266,0,0,1,16.74023,12.18555ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z"/></svg>', cy = '<svg viewBox="0 0 18 18"><path class="ql-fill" d="M14.51758,9.64453a1.85627,1.85627,0,0,0-1.24316.38477H13.252a1.73532,1.73532,0,0,1,1.72754-1.4082,2.66491,2.66491,0,0,1,.5498.06641c.35254.05469.57227.01074.70508-.40723l.16406-.5166a.53393.53393,0,0,0-.373-.75977,4.83723,4.83723,0,0,0-1.17773-.14258c-2.43164,0-3.7627,2.17773-3.7627,4.43359,0,2.47559,1.60645,3.69629,3.19043,3.69629A2.70585,2.70585,0,0,0,16.96,12.19727,2.43861,2.43861,0,0,0,14.51758,9.64453Zm-.23047,3.58691c-.67187,0-1.22168-.81445-1.22168-1.45215,0-.47363.30762-.583.72559-.583.96875,0,1.27734.59375,1.27734,1.12207A.82182.82182,0,0,1,14.28711,13.23145ZM10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Z"/></svg>', fy = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="7" x2="13" y1="4" y2="4"/><line class="ql-stroke" x1="5" x2="11" y1="14" y2="14"/><line class="ql-stroke" x1="8" x2="10" y1="14" y2="4"/></svg>', dy = '<svg viewbox="0 0 18 18"><rect class="ql-stroke" height="10" width="12" x="3" y="4"/><circle class="ql-fill" cx="6" cy="7" r="1"/><polyline class="ql-even ql-fill" points="5 12 5 11 7 9 8 10 11 7 13 9 13 12 5 12"/></svg>', hy = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="3" x2="15" y1="14" y2="14"/><line class="ql-stroke" x1="3" x2="15" y1="4" y2="4"/><line class="ql-stroke" x1="9" x2="15" y1="9" y2="9"/><polyline class="ql-fill ql-stroke" points="3 7 3 11 5 9 3 7"/></svg>', py = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="3" x2="15" y1="14" y2="14"/><line class="ql-stroke" x1="3" x2="15" y1="4" y2="4"/><line class="ql-stroke" x1="9" x2="15" y1="9" y2="9"/><polyline class="ql-stroke" points="5 7 5 11 3 9 5 7"/></svg>', gy = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="7" x2="11" y1="7" y2="11"/><path class="ql-even ql-stroke" d="M8.9,4.577a3.476,3.476,0,0,1,.36,4.679A3.476,3.476,0,0,1,4.577,8.9C3.185,7.5,2.035,6.4,4.217,4.217S7.5,3.185,8.9,4.577Z"/><path class="ql-even ql-stroke" d="M13.423,9.1a3.476,3.476,0,0,0-4.679-.36,3.476,3.476,0,0,0,.36,4.679c1.392,1.392,2.5,2.542,4.679.36S14.815,10.5,13.423,9.1Z"/></svg>', vy = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="6" x2="15" y1="4" y2="4"/><line class="ql-stroke" x1="6" x2="15" y1="9" y2="9"/><line class="ql-stroke" x1="6" x2="15" y1="14" y2="14"/><line class="ql-stroke" x1="3" x2="3" y1="4" y2="4"/><line class="ql-stroke" x1="3" x2="3" y1="9" y2="9"/><line class="ql-stroke" x1="3" x2="3" y1="14" y2="14"/></svg>', my = '<svg class="" viewbox="0 0 18 18"><line class="ql-stroke" x1="9" x2="15" y1="4" y2="4"/><polyline class="ql-stroke" points="3 4 4 5 6 3"/><line class="ql-stroke" x1="9" x2="15" y1="14" y2="14"/><polyline class="ql-stroke" points="3 14 4 15 6 13"/><line class="ql-stroke" x1="9" x2="15" y1="9" y2="9"/><polyline class="ql-stroke" points="3 9 4 10 6 8"/></svg>', yy = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="7" x2="15" y1="4" y2="4"/><line class="ql-stroke" x1="7" x2="15" y1="9" y2="9"/><line class="ql-stroke" x1="7" x2="15" y1="14" y2="14"/><line class="ql-stroke ql-thin" x1="2.5" x2="4.5" y1="5.5" y2="5.5"/><path class="ql-fill" d="M3.5,6A0.5,0.5,0,0,1,3,5.5V3.085l-0.276.138A0.5,0.5,0,0,1,2.053,3c-0.124-.247-0.023-0.324.224-0.447l1-.5A0.5,0.5,0,0,1,4,2.5v3A0.5,0.5,0,0,1,3.5,6Z"/><path class="ql-stroke ql-thin" d="M4.5,10.5h-2c0-.234,1.85-1.076,1.85-2.234A0.959,0.959,0,0,0,2.5,8.156"/><path class="ql-stroke ql-thin" d="M2.5,14.846a0.959,0.959,0,0,0,1.85-.109A0.7,0.7,0,0,0,3.75,14a0.688,0.688,0,0,0,.6-0.736,0.959,0.959,0,0,0-1.85-.109"/></svg>', by = '<svg viewbox="0 0 18 18"><path class="ql-fill" d="M15.5,15H13.861a3.858,3.858,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.921,1.921,0,0,0,12.021,11.7a0.50013,0.50013,0,1,0,.957.291h0a0.914,0.914,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.076-1.16971,1.86982-1.93971,2.43082A1.45639,1.45639,0,0,0,12,15.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,15Z"/><path class="ql-fill" d="M9.65,5.241a1,1,0,0,0-1.409.108L6,7.964,3.759,5.349A1,1,0,0,0,2.192,6.59178Q2.21541,6.6213,2.241,6.649L4.684,9.5,2.241,12.35A1,1,0,0,0,3.71,13.70722q0.02557-.02768.049-0.05722L6,11.036,8.241,13.65a1,1,0,1,0,1.567-1.24277Q9.78459,12.3777,9.759,12.35L7.316,9.5,9.759,6.651A1,1,0,0,0,9.65,5.241Z"/></svg>', xy = '<svg viewbox="0 0 18 18"><path class="ql-fill" d="M15.5,7H13.861a4.015,4.015,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.922,1.922,0,0,0,12.021,3.7a0.5,0.5,0,1,0,.957.291,0.917,0.917,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.077-1.164,1.925-1.934,2.486A1.423,1.423,0,0,0,12,7.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,7Z"/><path class="ql-fill" d="M9.651,5.241a1,1,0,0,0-1.41.108L6,7.964,3.759,5.349a1,1,0,1,0-1.519,1.3L4.683,9.5,2.241,12.35a1,1,0,1,0,1.519,1.3L6,11.036,8.241,13.65a1,1,0,0,0,1.519-1.3L7.317,9.5,9.759,6.651A1,1,0,0,0,9.651,5.241Z"/></svg>', Ay = '<svg viewbox="0 0 18 18"><line class="ql-stroke ql-thin" x1="15.5" x2="2.5" y1="8.5" y2="9.5"/><path class="ql-fill" d="M9.007,8C6.542,7.791,6,7.519,6,6.5,6,5.792,7.283,5,9,5c1.571,0,2.765.679,2.969,1.309a1,1,0,0,0,1.9-.617C13.356,4.106,11.354,3,9,3,6.2,3,4,4.538,4,6.5a3.2,3.2,0,0,0,.5,1.843Z"/><path class="ql-fill" d="M8.984,10C11.457,10.208,12,10.479,12,11.5c0,0.708-1.283,1.5-3,1.5-1.571,0-2.765-.679-2.969-1.309a1,1,0,1,0-1.9.617C4.644,13.894,6.646,15,9,15c2.8,0,5-1.538,5-3.5a3.2,3.2,0,0,0-.5-1.843Z"/></svg>', wy = '<svg viewbox="0 0 18 18"><rect class="ql-stroke" height="12" width="12" x="3" y="3"/><rect class="ql-fill" height="2" width="3" x="5" y="5"/><rect class="ql-fill" height="2" width="4" x="9" y="5"/><g class="ql-fill ql-transparent"><rect height="2" width="3" x="5" y="8"/><rect height="2" width="4" x="9" y="8"/><rect height="2" width="3" x="5" y="11"/><rect height="2" width="4" x="9" y="11"/></g></svg>', Ey = '<svg viewbox="0 0 18 18"><path class="ql-stroke" d="M5,3V9a4.012,4.012,0,0,0,4,4H9a4.012,4.012,0,0,0,4-4V3"/><rect class="ql-fill" height="1" rx="0.5" ry="0.5" width="12" x="3" y="15"/></svg>', Sy = '<svg viewbox="0 0 18 18"><rect class="ql-stroke" height="12" width="12" x="3" y="3"/><rect class="ql-fill" height="12" width="1" x="5" y="3"/><rect class="ql-fill" height="12" width="1" x="12" y="3"/><rect class="ql-fill" height="2" width="8" x="5" y="8"/><rect class="ql-fill" height="1" width="3" x="3" y="5"/><rect class="ql-fill" height="1" width="3" x="3" y="7"/><rect class="ql-fill" height="1" width="3" x="3" y="10"/><rect class="ql-fill" height="1" width="3" x="3" y="12"/><rect class="ql-fill" height="1" width="3" x="12" y="5"/><rect class="ql-fill" height="1" width="3" x="12" y="7"/><rect class="ql-fill" height="1" width="3" x="12" y="10"/><rect class="ql-fill" height="1" width="3" x="12" y="12"/></svg>', ds = {
|
|
9253
9253
|
align: {
|
|
9254
|
-
"":
|
|
9255
|
-
center:
|
|
9256
|
-
right:
|
|
9257
|
-
justify:
|
|
9254
|
+
"": W1,
|
|
9255
|
+
center: K1,
|
|
9256
|
+
right: X1,
|
|
9257
|
+
justify: Y1
|
|
9258
9258
|
},
|
|
9259
|
-
background:
|
|
9260
|
-
blockquote:
|
|
9261
|
-
bold:
|
|
9262
|
-
clean:
|
|
9259
|
+
background: Z1,
|
|
9260
|
+
blockquote: Q1,
|
|
9261
|
+
bold: J1,
|
|
9262
|
+
clean: ey,
|
|
9263
9263
|
code: Al,
|
|
9264
9264
|
"code-block": Al,
|
|
9265
|
-
color:
|
|
9265
|
+
color: ty,
|
|
9266
9266
|
direction: {
|
|
9267
|
-
"":
|
|
9268
|
-
rtl:
|
|
9267
|
+
"": ny,
|
|
9268
|
+
rtl: ry
|
|
9269
9269
|
},
|
|
9270
|
-
formula:
|
|
9270
|
+
formula: sy,
|
|
9271
9271
|
header: {
|
|
9272
|
-
1:
|
|
9273
|
-
2:
|
|
9274
|
-
3:
|
|
9275
|
-
4:
|
|
9276
|
-
5:
|
|
9277
|
-
6:
|
|
9272
|
+
1: iy,
|
|
9273
|
+
2: ay,
|
|
9274
|
+
3: oy,
|
|
9275
|
+
4: ly,
|
|
9276
|
+
5: uy,
|
|
9277
|
+
6: cy
|
|
9278
9278
|
},
|
|
9279
|
-
italic:
|
|
9280
|
-
image:
|
|
9279
|
+
italic: fy,
|
|
9280
|
+
image: dy,
|
|
9281
9281
|
indent: {
|
|
9282
|
-
"+1":
|
|
9283
|
-
"-1":
|
|
9282
|
+
"+1": hy,
|
|
9283
|
+
"-1": py
|
|
9284
9284
|
},
|
|
9285
|
-
link:
|
|
9285
|
+
link: gy,
|
|
9286
9286
|
list: {
|
|
9287
|
-
bullet:
|
|
9288
|
-
check:
|
|
9289
|
-
ordered:
|
|
9287
|
+
bullet: vy,
|
|
9288
|
+
check: my,
|
|
9289
|
+
ordered: yy
|
|
9290
9290
|
},
|
|
9291
9291
|
script: {
|
|
9292
|
-
sub:
|
|
9293
|
-
super:
|
|
9292
|
+
sub: by,
|
|
9293
|
+
super: xy
|
|
9294
9294
|
},
|
|
9295
|
-
strike:
|
|
9296
|
-
table:
|
|
9297
|
-
underline:
|
|
9298
|
-
video:
|
|
9299
|
-
},
|
|
9295
|
+
strike: Ay,
|
|
9296
|
+
table: wy,
|
|
9297
|
+
underline: Ey,
|
|
9298
|
+
video: Sy
|
|
9299
|
+
}, Ty = '<svg viewbox="0 0 18 18"><polygon class="ql-stroke" points="7 11 9 13 11 11 7 11"/><polygon class="ql-stroke" points="7 7 9 5 11 7 7 7"/></svg>';
|
|
9300
9300
|
let wl = 0;
|
|
9301
9301
|
function El(n, e) {
|
|
9302
9302
|
n.setAttribute(e, `${n.getAttribute(e) !== "true"}`);
|
|
@@ -9338,7 +9338,7 @@ class gi {
|
|
|
9338
9338
|
}
|
|
9339
9339
|
buildLabel() {
|
|
9340
9340
|
const e = document.createElement("span");
|
|
9341
|
-
return e.classList.add("ql-picker-label"), e.innerHTML =
|
|
9341
|
+
return e.classList.add("ql-picker-label"), e.innerHTML = Ty, e.tabIndex = "0", e.setAttribute("role", "button"), e.setAttribute("aria-expanded", "false"), this.container.appendChild(e), e;
|
|
9342
9342
|
}
|
|
9343
9343
|
buildOptions() {
|
|
9344
9344
|
const e = document.createElement("span");
|
|
@@ -9408,7 +9408,7 @@ class ec extends gi {
|
|
|
9408
9408
|
}
|
|
9409
9409
|
}
|
|
9410
9410
|
}
|
|
9411
|
-
const
|
|
9411
|
+
const Oy = (n) => {
|
|
9412
9412
|
const {
|
|
9413
9413
|
overflowY: e
|
|
9414
9414
|
} = getComputedStyle(n, null);
|
|
@@ -9416,7 +9416,7 @@ const Ty = (n) => {
|
|
|
9416
9416
|
};
|
|
9417
9417
|
class tc {
|
|
9418
9418
|
constructor(e, t) {
|
|
9419
|
-
this.quill = e, this.boundsContainer = t || document.body, this.root = e.addContainer("ql-tooltip"), this.root.innerHTML = this.constructor.TEMPLATE,
|
|
9419
|
+
this.quill = e, this.boundsContainer = t || document.body, this.root = e.addContainer("ql-tooltip"), this.root.innerHTML = this.constructor.TEMPLATE, Oy(this.quill.root) && this.quill.root.addEventListener("scroll", () => {
|
|
9420
9420
|
this.root.style.marginTop = `${-1 * this.quill.root.scrollTop}px`;
|
|
9421
9421
|
}), this.hide();
|
|
9422
9422
|
}
|
|
@@ -9438,8 +9438,8 @@ class tc {
|
|
|
9438
9438
|
this.root.classList.remove("ql-editing"), this.root.classList.remove("ql-hidden");
|
|
9439
9439
|
}
|
|
9440
9440
|
}
|
|
9441
|
-
const
|
|
9442
|
-
class
|
|
9441
|
+
const Ny = [!1, "center", "right", "justify"], Ry = ["#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"], Cy = [!1, "serif", "monospace"], Iy = ["1", "2", "3", !1], Ly = ["small", !1, "large", "huge"];
|
|
9442
|
+
class As extends Dr {
|
|
9443
9443
|
constructor(e, t) {
|
|
9444
9444
|
super(e, t);
|
|
9445
9445
|
const r = (s) => {
|
|
@@ -9476,13 +9476,13 @@ class xs extends Dr {
|
|
|
9476
9476
|
}
|
|
9477
9477
|
buildPickers(e, t) {
|
|
9478
9478
|
this.pickers = Array.from(e).map((s) => {
|
|
9479
|
-
if (s.classList.contains("ql-align") && (s.querySelector("option") == null && Wr(s,
|
|
9479
|
+
if (s.classList.contains("ql-align") && (s.querySelector("option") == null && Wr(s, Ny), typeof t.align == "object"))
|
|
9480
9480
|
return new ec(s, t.align);
|
|
9481
9481
|
if (s.classList.contains("ql-background") || s.classList.contains("ql-color")) {
|
|
9482
9482
|
const o = s.classList.contains("ql-background") ? "background" : "color";
|
|
9483
|
-
return s.querySelector("option") == null && Wr(s,
|
|
9483
|
+
return s.querySelector("option") == null && Wr(s, Ry, o === "background" ? "#ffffff" : "#000000"), new Ju(s, t[o]);
|
|
9484
9484
|
}
|
|
9485
|
-
return s.querySelector("option") == null && (s.classList.contains("ql-font") ? Wr(s,
|
|
9485
|
+
return s.querySelector("option") == null && (s.classList.contains("ql-font") ? Wr(s, Cy) : s.classList.contains("ql-header") ? Wr(s, Iy) : s.classList.contains("ql-size") && Wr(s, Ly)), new gi(s);
|
|
9486
9486
|
});
|
|
9487
9487
|
const r = () => {
|
|
9488
9488
|
this.pickers.forEach((s) => {
|
|
@@ -9492,7 +9492,7 @@ class xs extends Dr {
|
|
|
9492
9492
|
this.quill.on(Oe.events.EDITOR_CHANGE, r);
|
|
9493
9493
|
}
|
|
9494
9494
|
}
|
|
9495
|
-
|
|
9495
|
+
As.DEFAULTS = zn({}, Dr.DEFAULTS, {
|
|
9496
9496
|
modules: {
|
|
9497
9497
|
toolbar: {
|
|
9498
9498
|
handlers: {
|
|
@@ -9550,7 +9550,7 @@ class nc extends tc {
|
|
|
9550
9550
|
break;
|
|
9551
9551
|
}
|
|
9552
9552
|
case "video":
|
|
9553
|
-
e =
|
|
9553
|
+
e = ky(e);
|
|
9554
9554
|
// eslint-disable-next-line no-fallthrough
|
|
9555
9555
|
case "formula": {
|
|
9556
9556
|
if (!e) break;
|
|
@@ -9571,7 +9571,7 @@ class nc extends tc {
|
|
|
9571
9571
|
this.textbox.value = "", this.hide();
|
|
9572
9572
|
}
|
|
9573
9573
|
}
|
|
9574
|
-
function
|
|
9574
|
+
function ky(n) {
|
|
9575
9575
|
let e = n.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtube\.com\/watch.*v=([a-zA-Z0-9_-]+)/) || n.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtu\.be\/([a-zA-Z0-9_-]+)/);
|
|
9576
9576
|
return e ? `${e[1] || "https"}://www.youtube.com/embed/${e[2]}?showinfo=0` : (e = n.match(/^(?:(https?):\/\/)?(?:www\.)?vimeo\.com\/(\d+)/)) ? `${e[1] || "https"}://player.vimeo.com/video/${e[2]}/` : n;
|
|
9577
9577
|
}
|
|
@@ -9582,7 +9582,7 @@ function Wr(n, e) {
|
|
|
9582
9582
|
r === t ? s.setAttribute("selected", "selected") : s.setAttribute("value", String(r)), n.appendChild(s);
|
|
9583
9583
|
});
|
|
9584
9584
|
}
|
|
9585
|
-
const
|
|
9585
|
+
const Py = [["bold", "italic", "link"], [{
|
|
9586
9586
|
header: 1
|
|
9587
9587
|
}, {
|
|
9588
9588
|
header: 2
|
|
@@ -9627,15 +9627,15 @@ class rc extends nc {
|
|
|
9627
9627
|
}
|
|
9628
9628
|
}
|
|
9629
9629
|
Ee(rc, "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(""));
|
|
9630
|
-
class sc extends
|
|
9630
|
+
class sc extends As {
|
|
9631
9631
|
constructor(e, t) {
|
|
9632
|
-
t.modules.toolbar != null && t.modules.toolbar.container == null && (t.modules.toolbar.container =
|
|
9632
|
+
t.modules.toolbar != null && t.modules.toolbar.container == null && (t.modules.toolbar.container = Py), super(e, t), this.quill.container.classList.add("ql-bubble");
|
|
9633
9633
|
}
|
|
9634
9634
|
extendToolbar(e) {
|
|
9635
9635
|
this.tooltip = new rc(this.quill, this.options.bounds), e.container != null && (this.tooltip.root.appendChild(e.container), this.buildButtons(e.container.querySelectorAll("button"), ds), this.buildPickers(e.container.querySelectorAll("select"), ds));
|
|
9636
9636
|
}
|
|
9637
9637
|
}
|
|
9638
|
-
sc.DEFAULTS = zn({},
|
|
9638
|
+
sc.DEFAULTS = zn({}, As.DEFAULTS, {
|
|
9639
9639
|
modules: {
|
|
9640
9640
|
toolbar: {
|
|
9641
9641
|
handlers: {
|
|
@@ -9646,7 +9646,7 @@ sc.DEFAULTS = zn({}, xs.DEFAULTS, {
|
|
|
9646
9646
|
}
|
|
9647
9647
|
}
|
|
9648
9648
|
});
|
|
9649
|
-
const
|
|
9649
|
+
const Fy = [[{
|
|
9650
9650
|
header: ["1", "2", "3", !1]
|
|
9651
9651
|
}], ["bold", "italic", "underline", "link"], [{
|
|
9652
9652
|
list: "ordered"
|
|
@@ -9690,9 +9690,9 @@ class ic extends nc {
|
|
|
9690
9690
|
}
|
|
9691
9691
|
}
|
|
9692
9692
|
Ee(ic, "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(""));
|
|
9693
|
-
class ac extends
|
|
9693
|
+
class ac extends As {
|
|
9694
9694
|
constructor(e, t) {
|
|
9695
|
-
t.modules.toolbar != null && t.modules.toolbar.container == null && (t.modules.toolbar.container =
|
|
9695
|
+
t.modules.toolbar != null && t.modules.toolbar.container == null && (t.modules.toolbar.container = Fy), super(e, t), this.quill.container.classList.add("ql-snow");
|
|
9696
9696
|
}
|
|
9697
9697
|
extendToolbar(e) {
|
|
9698
9698
|
e.container != null && (e.container.classList.add("ql-snow"), this.buildButtons(e.container.querySelectorAll("button"), ds), this.buildPickers(e.container.querySelectorAll("select"), ds), this.tooltip = new ic(this.quill, this.options.bounds), e.container.querySelector(".ql-link") && this.quill.keyboard.addBinding({
|
|
@@ -9703,7 +9703,7 @@ class ac extends xs {
|
|
|
9703
9703
|
}));
|
|
9704
9704
|
}
|
|
9705
9705
|
}
|
|
9706
|
-
ac.DEFAULTS = zn({},
|
|
9706
|
+
ac.DEFAULTS = zn({}, As.DEFAULTS, {
|
|
9707
9707
|
modules: {
|
|
9708
9708
|
toolbar: {
|
|
9709
9709
|
handlers: {
|
|
@@ -9727,8 +9727,8 @@ ac.DEFAULTS = zn({}, xs.DEFAULTS, {
|
|
|
9727
9727
|
le.register({
|
|
9728
9728
|
"attributors/attribute/direction": ju,
|
|
9729
9729
|
"attributors/class/align": Du,
|
|
9730
|
-
"attributors/class/background":
|
|
9731
|
-
"attributors/class/color":
|
|
9730
|
+
"attributors/class/background": Q0,
|
|
9731
|
+
"attributors/class/color": Z0,
|
|
9732
9732
|
"attributors/class/direction": $u,
|
|
9733
9733
|
"attributors/class/font": zu,
|
|
9734
9734
|
"attributors/class/size": Vu,
|
|
@@ -9742,7 +9742,7 @@ le.register({
|
|
|
9742
9742
|
le.register({
|
|
9743
9743
|
"formats/align": Du,
|
|
9744
9744
|
"formats/direction": $u,
|
|
9745
|
-
"formats/indent":
|
|
9745
|
+
"formats/indent": q1,
|
|
9746
9746
|
"formats/background": eo,
|
|
9747
9747
|
"formats/color": Ja,
|
|
9748
9748
|
"formats/font": zu,
|
|
@@ -9750,7 +9750,7 @@ le.register({
|
|
|
9750
9750
|
"formats/blockquote": Oa,
|
|
9751
9751
|
"formats/code-block": Ft,
|
|
9752
9752
|
"formats/header": Na,
|
|
9753
|
-
"formats/list":
|
|
9753
|
+
"formats/list": xs,
|
|
9754
9754
|
"formats/bold": fs,
|
|
9755
9755
|
"formats/code": to,
|
|
9756
9756
|
"formats/italic": Ra,
|
|
@@ -9758,11 +9758,11 @@ le.register({
|
|
|
9758
9758
|
"formats/script": Ca,
|
|
9759
9759
|
"formats/strike": Ia,
|
|
9760
9760
|
"formats/underline": La,
|
|
9761
|
-
"formats/formula":
|
|
9761
|
+
"formats/formula": Ks,
|
|
9762
9762
|
"formats/image": ka,
|
|
9763
|
-
"formats/video":
|
|
9763
|
+
"formats/video": Xs,
|
|
9764
9764
|
"modules/syntax": Qu,
|
|
9765
|
-
"modules/table":
|
|
9765
|
+
"modules/table": H1,
|
|
9766
9766
|
"modules/toolbar": ao,
|
|
9767
9767
|
"themes/bubble": sc,
|
|
9768
9768
|
"themes/snow": ac,
|
|
@@ -9772,7 +9772,7 @@ le.register({
|
|
|
9772
9772
|
"ui/color-picker": Ju,
|
|
9773
9773
|
"ui/tooltip": tc
|
|
9774
9774
|
}, !0);
|
|
9775
|
-
const
|
|
9775
|
+
const My = {
|
|
9776
9776
|
name: "QuillEditor",
|
|
9777
9777
|
props: {
|
|
9778
9778
|
modelValue: {
|
|
@@ -9820,16 +9820,16 @@ const Fy = {
|
|
|
9820
9820
|
editorContainer: t
|
|
9821
9821
|
};
|
|
9822
9822
|
}
|
|
9823
|
-
},
|
|
9824
|
-
function
|
|
9825
|
-
return fe(), ye("div",
|
|
9826
|
-
ne("div",
|
|
9823
|
+
}, Dy = { class: "q-editor" }, By = { ref: "editorContainer" };
|
|
9824
|
+
function Uy(n, e, t, r, s, o) {
|
|
9825
|
+
return fe(), ye("div", Dy, [
|
|
9826
|
+
ne("div", By, null, 512)
|
|
9827
9827
|
]);
|
|
9828
9828
|
}
|
|
9829
|
-
const
|
|
9829
|
+
const jy = /* @__PURE__ */ vs(My, [["render", Uy]]), $y = { class: "rounded-xl bg-gray-50 px-6 py-5" }, _y = {
|
|
9830
9830
|
key: 0,
|
|
9831
9831
|
class: "pb-5"
|
|
9832
|
-
},
|
|
9832
|
+
}, qy = { class: "text-lg font-semibold text-gray-900" }, zy = {
|
|
9833
9833
|
key: 0,
|
|
9834
9834
|
class: "text-sm text-gray-600"
|
|
9835
9835
|
}, Kr = {
|
|
@@ -9845,10 +9845,10 @@ const Uy = /* @__PURE__ */ oi(Fy, [["render", By]]), jy = { class: "rounded-xl b
|
|
|
9845
9845
|
}
|
|
9846
9846
|
},
|
|
9847
9847
|
setup(n) {
|
|
9848
|
-
return (e, t) => (fe(), ye("div",
|
|
9849
|
-
n.title ? (fe(), ye("div",
|
|
9850
|
-
ne("div",
|
|
9851
|
-
n.supporting_text ? (fe(), ye("div",
|
|
9848
|
+
return (e, t) => (fe(), ye("div", $y, [
|
|
9849
|
+
n.title ? (fe(), ye("div", _y, [
|
|
9850
|
+
ne("div", qy, ze(n.title), 1),
|
|
9851
|
+
n.supporting_text ? (fe(), ye("div", zy, ze(n.supporting_text), 1)) : at("", !0)
|
|
9852
9852
|
])) : at("", !0),
|
|
9853
9853
|
kr(e.$slots, "default")
|
|
9854
9854
|
]));
|
|
@@ -9859,29 +9859,29 @@ function oc(n, e) {
|
|
|
9859
9859
|
return n.apply(e, arguments);
|
|
9860
9860
|
};
|
|
9861
9861
|
}
|
|
9862
|
-
const { toString:
|
|
9863
|
-
const t =
|
|
9862
|
+
const { toString: Hy } = Object.prototype, { getPrototypeOf: oo } = Object, { iterator: vi, toStringTag: lc } = Symbol, mi = /* @__PURE__ */ ((n) => (e) => {
|
|
9863
|
+
const t = Hy.call(e);
|
|
9864
9864
|
return n[t] || (n[t] = t.slice(8, -1).toLowerCase());
|
|
9865
9865
|
})(/* @__PURE__ */ Object.create(null)), hn = (n) => (n = n.toLowerCase(), (e) => mi(e) === n), yi = (n) => (e) => typeof e === n, { isArray: $r } = Array, hs = yi("undefined");
|
|
9866
|
-
function
|
|
9866
|
+
function Vy(n) {
|
|
9867
9867
|
return n !== null && !hs(n) && n.constructor !== null && !hs(n.constructor) && jt(n.constructor.isBuffer) && n.constructor.isBuffer(n);
|
|
9868
9868
|
}
|
|
9869
9869
|
const uc = hn("ArrayBuffer");
|
|
9870
|
-
function
|
|
9870
|
+
function Gy(n) {
|
|
9871
9871
|
let e;
|
|
9872
9872
|
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? e = ArrayBuffer.isView(n) : e = n && n.buffer && uc(n.buffer), e;
|
|
9873
9873
|
}
|
|
9874
|
-
const
|
|
9874
|
+
const Wy = yi("string"), jt = yi("function"), cc = yi("number"), bi = (n) => n !== null && typeof n == "object", Ky = (n) => n === !0 || n === !1, Ys = (n) => {
|
|
9875
9875
|
if (mi(n) !== "object")
|
|
9876
9876
|
return !1;
|
|
9877
9877
|
const e = oo(n);
|
|
9878
9878
|
return (e === null || e === Object.prototype || Object.getPrototypeOf(e) === null) && !(lc in n) && !(vi in n);
|
|
9879
|
-
},
|
|
9879
|
+
}, Xy = hn("Date"), Yy = hn("File"), Zy = hn("Blob"), Qy = hn("FileList"), Jy = (n) => bi(n) && jt(n.pipe), eb = (n) => {
|
|
9880
9880
|
let e;
|
|
9881
9881
|
return n && (typeof FormData == "function" && n instanceof FormData || jt(n.append) && ((e = mi(n)) === "formdata" || // detect form-data instance
|
|
9882
9882
|
e === "object" && jt(n.toString) && n.toString() === "[object FormData]"));
|
|
9883
|
-
},
|
|
9884
|
-
function
|
|
9883
|
+
}, tb = hn("URLSearchParams"), [nb, rb, sb, ib] = ["ReadableStream", "Request", "Response", "Headers"].map(hn), ab = (n) => n.trim ? n.trim() : n.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
9884
|
+
function ws(n, e, { allOwnKeys: t = !1 } = {}) {
|
|
9885
9885
|
if (n === null || typeof n > "u")
|
|
9886
9886
|
return;
|
|
9887
9887
|
let r, s;
|
|
@@ -9908,19 +9908,19 @@ const Zn = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typ
|
|
|
9908
9908
|
function Pa() {
|
|
9909
9909
|
const { caseless: n } = dc(this) && this || {}, e = {}, t = (r, s) => {
|
|
9910
9910
|
const o = n && fc(e, s) || s;
|
|
9911
|
-
|
|
9911
|
+
Ys(e[o]) && Ys(r) ? e[o] = Pa(e[o], r) : Ys(r) ? e[o] = Pa({}, r) : $r(r) ? e[o] = r.slice() : e[o] = r;
|
|
9912
9912
|
};
|
|
9913
9913
|
for (let r = 0, s = arguments.length; r < s; r++)
|
|
9914
|
-
arguments[r] &&
|
|
9914
|
+
arguments[r] && ws(arguments[r], t);
|
|
9915
9915
|
return e;
|
|
9916
9916
|
}
|
|
9917
|
-
const
|
|
9917
|
+
const ob = (n, e, t, { allOwnKeys: r } = {}) => (ws(e, (s, o) => {
|
|
9918
9918
|
t && jt(s) ? n[o] = oc(s, t) : n[o] = s;
|
|
9919
|
-
}, { allOwnKeys: r }), n),
|
|
9919
|
+
}, { allOwnKeys: r }), n), lb = (n) => (n.charCodeAt(0) === 65279 && (n = n.slice(1)), n), ub = (n, e, t, r) => {
|
|
9920
9920
|
n.prototype = Object.create(e.prototype, r), n.prototype.constructor = n, Object.defineProperty(n, "super", {
|
|
9921
9921
|
value: e.prototype
|
|
9922
9922
|
}), t && Object.assign(n.prototype, t);
|
|
9923
|
-
},
|
|
9923
|
+
}, cb = (n, e, t, r) => {
|
|
9924
9924
|
let s, o, a;
|
|
9925
9925
|
const u = {};
|
|
9926
9926
|
if (e = e || {}, n == null) return e;
|
|
@@ -9930,11 +9930,11 @@ const ab = (n, e, t, { allOwnKeys: r } = {}) => (As(e, (s, o) => {
|
|
|
9930
9930
|
n = t !== !1 && oo(n);
|
|
9931
9931
|
} while (n && (!t || t(n, e)) && n !== Object.prototype);
|
|
9932
9932
|
return e;
|
|
9933
|
-
},
|
|
9933
|
+
}, fb = (n, e, t) => {
|
|
9934
9934
|
n = String(n), (t === void 0 || t > n.length) && (t = n.length), t -= e.length;
|
|
9935
9935
|
const r = n.indexOf(e, t);
|
|
9936
9936
|
return r !== -1 && r === t;
|
|
9937
|
-
},
|
|
9937
|
+
}, db = (n) => {
|
|
9938
9938
|
if (!n) return null;
|
|
9939
9939
|
if ($r(n)) return n;
|
|
9940
9940
|
let e = n.length;
|
|
@@ -9943,31 +9943,31 @@ const ab = (n, e, t, { allOwnKeys: r } = {}) => (As(e, (s, o) => {
|
|
|
9943
9943
|
for (; e-- > 0; )
|
|
9944
9944
|
t[e] = n[e];
|
|
9945
9945
|
return t;
|
|
9946
|
-
},
|
|
9946
|
+
}, hb = /* @__PURE__ */ ((n) => (e) => n && e instanceof n)(typeof Uint8Array < "u" && oo(Uint8Array)), pb = (n, e) => {
|
|
9947
9947
|
const r = (n && n[vi]).call(n);
|
|
9948
9948
|
let s;
|
|
9949
9949
|
for (; (s = r.next()) && !s.done; ) {
|
|
9950
9950
|
const o = s.value;
|
|
9951
9951
|
e.call(n, o[0], o[1]);
|
|
9952
9952
|
}
|
|
9953
|
-
},
|
|
9953
|
+
}, gb = (n, e) => {
|
|
9954
9954
|
let t;
|
|
9955
9955
|
const r = [];
|
|
9956
9956
|
for (; (t = n.exec(e)) !== null; )
|
|
9957
9957
|
r.push(t);
|
|
9958
9958
|
return r;
|
|
9959
|
-
},
|
|
9959
|
+
}, vb = hn("HTMLFormElement"), mb = (n) => n.toLowerCase().replace(
|
|
9960
9960
|
/[-_\s]([a-z\d])(\w*)/g,
|
|
9961
9961
|
function(t, r, s) {
|
|
9962
9962
|
return r.toUpperCase() + s;
|
|
9963
9963
|
}
|
|
9964
|
-
), Sl = (({ hasOwnProperty: n }) => (e, t) => n.call(e, t))(Object.prototype),
|
|
9964
|
+
), Sl = (({ hasOwnProperty: n }) => (e, t) => n.call(e, t))(Object.prototype), yb = hn("RegExp"), hc = (n, e) => {
|
|
9965
9965
|
const t = Object.getOwnPropertyDescriptors(n), r = {};
|
|
9966
|
-
|
|
9966
|
+
ws(t, (s, o) => {
|
|
9967
9967
|
let a;
|
|
9968
9968
|
(a = e(s, o, n)) !== !1 && (r[o] = a || s);
|
|
9969
9969
|
}), Object.defineProperties(n, r);
|
|
9970
|
-
},
|
|
9970
|
+
}, bb = (n) => {
|
|
9971
9971
|
hc(n, (e, t) => {
|
|
9972
9972
|
if (jt(n) && ["arguments", "caller", "callee"].indexOf(t) !== -1)
|
|
9973
9973
|
return !1;
|
|
@@ -9982,19 +9982,19 @@ const ab = (n, e, t, { allOwnKeys: r } = {}) => (As(e, (s, o) => {
|
|
|
9982
9982
|
});
|
|
9983
9983
|
}
|
|
9984
9984
|
});
|
|
9985
|
-
},
|
|
9985
|
+
}, xb = (n, e) => {
|
|
9986
9986
|
const t = {}, r = (s) => {
|
|
9987
9987
|
s.forEach((o) => {
|
|
9988
9988
|
t[o] = !0;
|
|
9989
9989
|
});
|
|
9990
9990
|
};
|
|
9991
9991
|
return $r(n) ? r(n) : r(String(n).split(e)), t;
|
|
9992
|
-
},
|
|
9993
|
-
},
|
|
9994
|
-
function
|
|
9992
|
+
}, Ab = () => {
|
|
9993
|
+
}, wb = (n, e) => n != null && Number.isFinite(n = +n) ? n : e;
|
|
9994
|
+
function Eb(n) {
|
|
9995
9995
|
return !!(n && jt(n.append) && n[lc] === "FormData" && n[vi]);
|
|
9996
9996
|
}
|
|
9997
|
-
const
|
|
9997
|
+
const Sb = (n) => {
|
|
9998
9998
|
const e = new Array(10), t = (r, s) => {
|
|
9999
9999
|
if (bi(r)) {
|
|
10000
10000
|
if (e.indexOf(r) >= 0)
|
|
@@ -10002,7 +10002,7 @@ const Eb = (n) => {
|
|
|
10002
10002
|
if (!("toJSON" in r)) {
|
|
10003
10003
|
e[s] = r;
|
|
10004
10004
|
const o = $r(r) ? [] : {};
|
|
10005
|
-
return
|
|
10005
|
+
return ws(r, (a, u) => {
|
|
10006
10006
|
const i = t(a, s + 1);
|
|
10007
10007
|
!hs(i) && (o[u] = i);
|
|
10008
10008
|
}), e[s] = void 0, o;
|
|
@@ -10011,71 +10011,71 @@ const Eb = (n) => {
|
|
|
10011
10011
|
return r;
|
|
10012
10012
|
};
|
|
10013
10013
|
return t(n, 0);
|
|
10014
|
-
},
|
|
10014
|
+
}, Tb = hn("AsyncFunction"), Ob = (n) => n && (bi(n) || jt(n)) && jt(n.then) && jt(n.catch), pc = ((n, e) => n ? setImmediate : e ? ((t, r) => (Zn.addEventListener("message", ({ source: s, data: o }) => {
|
|
10015
10015
|
s === Zn && o === t && r.length && r.shift()();
|
|
10016
10016
|
}, !1), (s) => {
|
|
10017
10017
|
r.push(s), Zn.postMessage(t, "*");
|
|
10018
10018
|
}))(`axios@${Math.random()}`, []) : (t) => setTimeout(t))(
|
|
10019
10019
|
typeof setImmediate == "function",
|
|
10020
10020
|
jt(Zn.postMessage)
|
|
10021
|
-
),
|
|
10021
|
+
), Nb = typeof queueMicrotask < "u" ? queueMicrotask.bind(Zn) : typeof process < "u" && process.nextTick || pc, Rb = (n) => n != null && jt(n[vi]), te = {
|
|
10022
10022
|
isArray: $r,
|
|
10023
10023
|
isArrayBuffer: uc,
|
|
10024
|
-
isBuffer:
|
|
10025
|
-
isFormData:
|
|
10026
|
-
isArrayBufferView:
|
|
10027
|
-
isString:
|
|
10024
|
+
isBuffer: Vy,
|
|
10025
|
+
isFormData: eb,
|
|
10026
|
+
isArrayBufferView: Gy,
|
|
10027
|
+
isString: Wy,
|
|
10028
10028
|
isNumber: cc,
|
|
10029
|
-
isBoolean:
|
|
10029
|
+
isBoolean: Ky,
|
|
10030
10030
|
isObject: bi,
|
|
10031
|
-
isPlainObject:
|
|
10032
|
-
isReadableStream:
|
|
10033
|
-
isRequest:
|
|
10034
|
-
isResponse:
|
|
10035
|
-
isHeaders:
|
|
10031
|
+
isPlainObject: Ys,
|
|
10032
|
+
isReadableStream: nb,
|
|
10033
|
+
isRequest: rb,
|
|
10034
|
+
isResponse: sb,
|
|
10035
|
+
isHeaders: ib,
|
|
10036
10036
|
isUndefined: hs,
|
|
10037
|
-
isDate:
|
|
10038
|
-
isFile:
|
|
10039
|
-
isBlob:
|
|
10040
|
-
isRegExp:
|
|
10037
|
+
isDate: Xy,
|
|
10038
|
+
isFile: Yy,
|
|
10039
|
+
isBlob: Zy,
|
|
10040
|
+
isRegExp: yb,
|
|
10041
10041
|
isFunction: jt,
|
|
10042
|
-
isStream:
|
|
10043
|
-
isURLSearchParams:
|
|
10044
|
-
isTypedArray:
|
|
10045
|
-
isFileList:
|
|
10046
|
-
forEach:
|
|
10042
|
+
isStream: Jy,
|
|
10043
|
+
isURLSearchParams: tb,
|
|
10044
|
+
isTypedArray: hb,
|
|
10045
|
+
isFileList: Qy,
|
|
10046
|
+
forEach: ws,
|
|
10047
10047
|
merge: Pa,
|
|
10048
|
-
extend:
|
|
10049
|
-
trim:
|
|
10050
|
-
stripBOM:
|
|
10051
|
-
inherits:
|
|
10052
|
-
toFlatObject:
|
|
10048
|
+
extend: ob,
|
|
10049
|
+
trim: ab,
|
|
10050
|
+
stripBOM: lb,
|
|
10051
|
+
inherits: ub,
|
|
10052
|
+
toFlatObject: cb,
|
|
10053
10053
|
kindOf: mi,
|
|
10054
10054
|
kindOfTest: hn,
|
|
10055
|
-
endsWith:
|
|
10056
|
-
toArray:
|
|
10057
|
-
forEachEntry:
|
|
10058
|
-
matchAll:
|
|
10059
|
-
isHTMLForm:
|
|
10055
|
+
endsWith: fb,
|
|
10056
|
+
toArray: db,
|
|
10057
|
+
forEachEntry: pb,
|
|
10058
|
+
matchAll: gb,
|
|
10059
|
+
isHTMLForm: vb,
|
|
10060
10060
|
hasOwnProperty: Sl,
|
|
10061
10061
|
hasOwnProp: Sl,
|
|
10062
10062
|
// an alias to avoid ESLint no-prototype-builtins detection
|
|
10063
10063
|
reduceDescriptors: hc,
|
|
10064
|
-
freezeMethods:
|
|
10065
|
-
toObjectSet:
|
|
10066
|
-
toCamelCase:
|
|
10067
|
-
noop:
|
|
10068
|
-
toFiniteNumber:
|
|
10064
|
+
freezeMethods: bb,
|
|
10065
|
+
toObjectSet: xb,
|
|
10066
|
+
toCamelCase: mb,
|
|
10067
|
+
noop: Ab,
|
|
10068
|
+
toFiniteNumber: wb,
|
|
10069
10069
|
findKey: fc,
|
|
10070
10070
|
global: Zn,
|
|
10071
10071
|
isContextDefined: dc,
|
|
10072
|
-
isSpecCompliantForm:
|
|
10073
|
-
toJSONObject:
|
|
10074
|
-
isAsyncFn:
|
|
10075
|
-
isThenable:
|
|
10072
|
+
isSpecCompliantForm: Eb,
|
|
10073
|
+
toJSONObject: Sb,
|
|
10074
|
+
isAsyncFn: Tb,
|
|
10075
|
+
isThenable: Ob,
|
|
10076
10076
|
setImmediate: pc,
|
|
10077
|
-
asap:
|
|
10078
|
-
isIterable:
|
|
10077
|
+
asap: Nb,
|
|
10078
|
+
isIterable: Rb
|
|
10079
10079
|
};
|
|
10080
10080
|
function je(n, e, t, r, s) {
|
|
10081
10081
|
Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = n, this.name = "AxiosError", e && (this.code = e), t && (this.config = t), r && (this.request = r), s && (this.response = s, this.status = s.status ? s.status : null);
|
|
@@ -10127,7 +10127,7 @@ je.from = (n, e, t, r, s, o) => {
|
|
|
10127
10127
|
return i !== Error.prototype;
|
|
10128
10128
|
}, (u) => u !== "isAxiosError"), je.call(a, n.message, e, t, r, s), a.cause = n, a.name = n.name, o && Object.assign(a, o), a;
|
|
10129
10129
|
};
|
|
10130
|
-
const
|
|
10130
|
+
const Cb = null;
|
|
10131
10131
|
function Fa(n) {
|
|
10132
10132
|
return te.isPlainObject(n) || te.isArray(n);
|
|
10133
10133
|
}
|
|
@@ -10139,10 +10139,10 @@ function Tl(n, e, t) {
|
|
|
10139
10139
|
return s = mc(s), !t && o ? "[" + s + "]" : s;
|
|
10140
10140
|
}).join(t ? "." : "") : e;
|
|
10141
10141
|
}
|
|
10142
|
-
function
|
|
10142
|
+
function Ib(n) {
|
|
10143
10143
|
return te.isArray(n) && !n.some(Fa);
|
|
10144
10144
|
}
|
|
10145
|
-
const
|
|
10145
|
+
const Lb = te.toFlatObject(te, {}, null, function(e) {
|
|
10146
10146
|
return /^is[A-Z]/.test(e);
|
|
10147
10147
|
});
|
|
10148
10148
|
function xi(n, e, t) {
|
|
@@ -10171,7 +10171,7 @@ function xi(n, e, t) {
|
|
|
10171
10171
|
if (h && !b && typeof h == "object") {
|
|
10172
10172
|
if (te.endsWith(v, "{}"))
|
|
10173
10173
|
v = r ? v : v.slice(0, -2), h = JSON.stringify(h);
|
|
10174
|
-
else if (te.isArray(h) &&
|
|
10174
|
+
else if (te.isArray(h) && Ib(h) || (te.isFileList(h) || te.endsWith(v, "[]")) && (S = te.toArray(h)))
|
|
10175
10175
|
return v = mc(v), S.forEach(function(C, F) {
|
|
10176
10176
|
!(te.isUndefined(C) || C === null) && e.append(
|
|
10177
10177
|
// eslint-disable-next-line no-nested-ternary
|
|
@@ -10182,7 +10182,7 @@ function xi(n, e, t) {
|
|
|
10182
10182
|
}
|
|
10183
10183
|
return Fa(h) ? !0 : (e.append(Tl(b, v, o), l(h)), !1);
|
|
10184
10184
|
}
|
|
10185
|
-
const d = [], f = Object.assign(
|
|
10185
|
+
const d = [], f = Object.assign(Lb, {
|
|
10186
10186
|
defaultVisitor: c,
|
|
10187
10187
|
convertValue: l,
|
|
10188
10188
|
isVisitable: Fa
|
|
@@ -10235,13 +10235,13 @@ yc.toString = function(e) {
|
|
|
10235
10235
|
return t(s[0]) + "=" + t(s[1]);
|
|
10236
10236
|
}, "").join("&");
|
|
10237
10237
|
};
|
|
10238
|
-
function
|
|
10238
|
+
function kb(n) {
|
|
10239
10239
|
return encodeURIComponent(n).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
|
|
10240
10240
|
}
|
|
10241
10241
|
function bc(n, e, t) {
|
|
10242
10242
|
if (!e)
|
|
10243
10243
|
return n;
|
|
10244
|
-
const r = t && t.encode ||
|
|
10244
|
+
const r = t && t.encode || kb;
|
|
10245
10245
|
te.isFunction(t) && (t = {
|
|
10246
10246
|
serialize: t
|
|
10247
10247
|
});
|
|
@@ -10311,37 +10311,37 @@ const xc = {
|
|
|
10311
10311
|
silentJSONParsing: !0,
|
|
10312
10312
|
forcedJSONParsing: !0,
|
|
10313
10313
|
clarifyTimeoutError: !1
|
|
10314
|
-
},
|
|
10314
|
+
}, Pb = typeof URLSearchParams < "u" ? URLSearchParams : lo, Fb = typeof FormData < "u" ? FormData : null, Mb = typeof Blob < "u" ? Blob : null, Db = {
|
|
10315
10315
|
isBrowser: !0,
|
|
10316
10316
|
classes: {
|
|
10317
|
-
URLSearchParams:
|
|
10318
|
-
FormData:
|
|
10319
|
-
Blob:
|
|
10317
|
+
URLSearchParams: Pb,
|
|
10318
|
+
FormData: Fb,
|
|
10319
|
+
Blob: Mb
|
|
10320
10320
|
},
|
|
10321
10321
|
protocols: ["http", "https", "file", "blob", "url", "data"]
|
|
10322
|
-
}, uo = typeof window < "u" && typeof document < "u", Ma = typeof navigator == "object" && navigator || void 0,
|
|
10323
|
-
self instanceof WorkerGlobalScope && typeof self.importScripts == "function",
|
|
10322
|
+
}, uo = typeof window < "u" && typeof document < "u", Ma = typeof navigator == "object" && navigator || void 0, Bb = uo && (!Ma || ["ReactNative", "NativeScript", "NS"].indexOf(Ma.product) < 0), Ub = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
|
|
10323
|
+
self instanceof WorkerGlobalScope && typeof self.importScripts == "function", jb = uo && window.location.href || "http://localhost", $b = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10324
10324
|
__proto__: null,
|
|
10325
10325
|
hasBrowserEnv: uo,
|
|
10326
|
-
hasStandardBrowserEnv:
|
|
10327
|
-
hasStandardBrowserWebWorkerEnv:
|
|
10326
|
+
hasStandardBrowserEnv: Bb,
|
|
10327
|
+
hasStandardBrowserWebWorkerEnv: Ub,
|
|
10328
10328
|
navigator: Ma,
|
|
10329
|
-
origin:
|
|
10329
|
+
origin: jb
|
|
10330
10330
|
}, Symbol.toStringTag, { value: "Module" })), Pt = {
|
|
10331
|
-
|
|
10332
|
-
...
|
|
10331
|
+
...$b,
|
|
10332
|
+
...Db
|
|
10333
10333
|
};
|
|
10334
|
-
function
|
|
10334
|
+
function _b(n, e) {
|
|
10335
10335
|
return xi(n, new Pt.classes.URLSearchParams(), Object.assign({
|
|
10336
10336
|
visitor: function(t, r, s, o) {
|
|
10337
10337
|
return Pt.isNode && te.isBuffer(t) ? (this.append(r, t.toString("base64")), !1) : o.defaultVisitor.apply(this, arguments);
|
|
10338
10338
|
}
|
|
10339
10339
|
}, e));
|
|
10340
10340
|
}
|
|
10341
|
-
function
|
|
10341
|
+
function qb(n) {
|
|
10342
10342
|
return te.matchAll(/\w+|\[(\w*)]/g, n).map((e) => e[0] === "[]" ? "" : e[1] || e[0]);
|
|
10343
10343
|
}
|
|
10344
|
-
function
|
|
10344
|
+
function zb(n) {
|
|
10345
10345
|
const e = {}, t = Object.keys(n);
|
|
10346
10346
|
let r;
|
|
10347
10347
|
const s = t.length;
|
|
@@ -10355,17 +10355,17 @@ function Ac(n) {
|
|
|
10355
10355
|
let a = t[o++];
|
|
10356
10356
|
if (a === "__proto__") return !0;
|
|
10357
10357
|
const u = Number.isFinite(+a), i = o >= t.length;
|
|
10358
|
-
return a = !a && te.isArray(s) ? s.length : a, i ? (te.hasOwnProp(s, a) ? s[a] = [s[a], r] : s[a] = r, !u) : ((!s[a] || !te.isObject(s[a])) && (s[a] = []), e(t, r, s[a], o) && te.isArray(s[a]) && (s[a] =
|
|
10358
|
+
return a = !a && te.isArray(s) ? s.length : a, i ? (te.hasOwnProp(s, a) ? s[a] = [s[a], r] : s[a] = r, !u) : ((!s[a] || !te.isObject(s[a])) && (s[a] = []), e(t, r, s[a], o) && te.isArray(s[a]) && (s[a] = zb(s[a])), !u);
|
|
10359
10359
|
}
|
|
10360
10360
|
if (te.isFormData(n) && te.isFunction(n.entries)) {
|
|
10361
10361
|
const t = {};
|
|
10362
10362
|
return te.forEachEntry(n, (r, s) => {
|
|
10363
|
-
e(
|
|
10363
|
+
e(qb(r), s, t, 0);
|
|
10364
10364
|
}), t;
|
|
10365
10365
|
}
|
|
10366
10366
|
return null;
|
|
10367
10367
|
}
|
|
10368
|
-
function
|
|
10368
|
+
function Hb(n, e, t) {
|
|
10369
10369
|
if (te.isString(n))
|
|
10370
10370
|
try {
|
|
10371
10371
|
return (e || JSON.parse)(n), te.trim(n);
|
|
@@ -10375,7 +10375,7 @@ function zb(n, e, t) {
|
|
|
10375
10375
|
}
|
|
10376
10376
|
return (t || JSON.stringify)(n);
|
|
10377
10377
|
}
|
|
10378
|
-
const
|
|
10378
|
+
const Es = {
|
|
10379
10379
|
transitional: xc,
|
|
10380
10380
|
adapter: ["xhr", "http", "fetch"],
|
|
10381
10381
|
transformRequest: [function(e, t) {
|
|
@@ -10391,7 +10391,7 @@ const ws = {
|
|
|
10391
10391
|
let u;
|
|
10392
10392
|
if (o) {
|
|
10393
10393
|
if (r.indexOf("application/x-www-form-urlencoded") > -1)
|
|
10394
|
-
return
|
|
10394
|
+
return _b(e, this.formSerializer).toString();
|
|
10395
10395
|
if ((u = te.isFileList(e)) || r.indexOf("multipart/form-data") > -1) {
|
|
10396
10396
|
const i = this.env && this.env.FormData;
|
|
10397
10397
|
return xi(
|
|
@@ -10401,10 +10401,10 @@ const ws = {
|
|
|
10401
10401
|
);
|
|
10402
10402
|
}
|
|
10403
10403
|
}
|
|
10404
|
-
return o || s ? (t.setContentType("application/json", !1),
|
|
10404
|
+
return o || s ? (t.setContentType("application/json", !1), Hb(e)) : e;
|
|
10405
10405
|
}],
|
|
10406
10406
|
transformResponse: [function(e) {
|
|
10407
|
-
const t = this.transitional ||
|
|
10407
|
+
const t = this.transitional || Es.transitional, r = t && t.forcedJSONParsing, s = this.responseType === "json";
|
|
10408
10408
|
if (te.isResponse(e) || te.isReadableStream(e))
|
|
10409
10409
|
return e;
|
|
10410
10410
|
if (e && te.isString(e) && (r && !this.responseType || s)) {
|
|
@@ -10442,9 +10442,9 @@ const ws = {
|
|
|
10442
10442
|
}
|
|
10443
10443
|
};
|
|
10444
10444
|
te.forEach(["delete", "get", "head", "post", "put", "patch"], (n) => {
|
|
10445
|
-
|
|
10445
|
+
Es.headers[n] = {};
|
|
10446
10446
|
});
|
|
10447
|
-
const
|
|
10447
|
+
const Vb = te.toObjectSet([
|
|
10448
10448
|
"age",
|
|
10449
10449
|
"authorization",
|
|
10450
10450
|
"content-length",
|
|
@@ -10462,28 +10462,28 @@ const Hb = te.toObjectSet([
|
|
|
10462
10462
|
"referer",
|
|
10463
10463
|
"retry-after",
|
|
10464
10464
|
"user-agent"
|
|
10465
|
-
]),
|
|
10465
|
+
]), Gb = (n) => {
|
|
10466
10466
|
const e = {};
|
|
10467
10467
|
let t, r, s;
|
|
10468
10468
|
return n && n.split(`
|
|
10469
10469
|
`).forEach(function(a) {
|
|
10470
|
-
s = a.indexOf(":"), t = a.substring(0, s).trim().toLowerCase(), r = a.substring(s + 1).trim(), !(!t || e[t] &&
|
|
10470
|
+
s = a.indexOf(":"), t = a.substring(0, s).trim().toLowerCase(), r = a.substring(s + 1).trim(), !(!t || e[t] && Vb[t]) && (t === "set-cookie" ? e[t] ? e[t].push(r) : e[t] = [r] : e[t] = e[t] ? e[t] + ", " + r : r);
|
|
10471
10471
|
}), e;
|
|
10472
10472
|
}, Rl = Symbol("internals");
|
|
10473
10473
|
function Xr(n) {
|
|
10474
10474
|
return n && String(n).trim().toLowerCase();
|
|
10475
10475
|
}
|
|
10476
|
-
function
|
|
10477
|
-
return n === !1 || n == null ? n : te.isArray(n) ? n.map(
|
|
10476
|
+
function Zs(n) {
|
|
10477
|
+
return n === !1 || n == null ? n : te.isArray(n) ? n.map(Zs) : String(n);
|
|
10478
10478
|
}
|
|
10479
|
-
function
|
|
10479
|
+
function Wb(n) {
|
|
10480
10480
|
const e = /* @__PURE__ */ Object.create(null), t = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
|
|
10481
10481
|
let r;
|
|
10482
10482
|
for (; r = t.exec(n); )
|
|
10483
10483
|
e[r[1]] = r[2];
|
|
10484
10484
|
return e;
|
|
10485
10485
|
}
|
|
10486
|
-
const
|
|
10486
|
+
const Kb = (n) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(n.trim());
|
|
10487
10487
|
function ea(n, e, t, r, s) {
|
|
10488
10488
|
if (te.isFunction(r))
|
|
10489
10489
|
return r.call(this, e, t);
|
|
@@ -10494,10 +10494,10 @@ function ea(n, e, t, r, s) {
|
|
|
10494
10494
|
return r.test(e);
|
|
10495
10495
|
}
|
|
10496
10496
|
}
|
|
10497
|
-
function
|
|
10497
|
+
function Xb(n) {
|
|
10498
10498
|
return n.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (e, t, r) => t.toUpperCase() + r);
|
|
10499
10499
|
}
|
|
10500
|
-
function
|
|
10500
|
+
function Yb(n, e) {
|
|
10501
10501
|
const t = te.toCamelCase(" " + e);
|
|
10502
10502
|
["get", "set", "has"].forEach((r) => {
|
|
10503
10503
|
Object.defineProperty(n, r + t, {
|
|
@@ -10519,13 +10519,13 @@ let $t = class {
|
|
|
10519
10519
|
if (!c)
|
|
10520
10520
|
throw new Error("header name must be a non-empty string");
|
|
10521
10521
|
const d = te.findKey(s, c);
|
|
10522
|
-
(!d || s[d] === void 0 || l === !0 || l === void 0 && s[d] !== !1) && (s[d || i] =
|
|
10522
|
+
(!d || s[d] === void 0 || l === !0 || l === void 0 && s[d] !== !1) && (s[d || i] = Zs(u));
|
|
10523
10523
|
}
|
|
10524
10524
|
const a = (u, i) => te.forEach(u, (l, c) => o(l, c, i));
|
|
10525
10525
|
if (te.isPlainObject(e) || e instanceof this.constructor)
|
|
10526
10526
|
a(e, t);
|
|
10527
|
-
else if (te.isString(e) && (e = e.trim()) && !
|
|
10528
|
-
a(
|
|
10527
|
+
else if (te.isString(e) && (e = e.trim()) && !Kb(e))
|
|
10528
|
+
a(Gb(e), t);
|
|
10529
10529
|
else if (te.isObject(e) && te.isIterable(e)) {
|
|
10530
10530
|
let u = {}, i, l;
|
|
10531
10531
|
for (const c of e) {
|
|
@@ -10546,7 +10546,7 @@ let $t = class {
|
|
|
10546
10546
|
if (!t)
|
|
10547
10547
|
return s;
|
|
10548
10548
|
if (t === !0)
|
|
10549
|
-
return
|
|
10549
|
+
return Wb(s);
|
|
10550
10550
|
if (te.isFunction(t))
|
|
10551
10551
|
return t.call(this, s, r);
|
|
10552
10552
|
if (te.isRegExp(t))
|
|
@@ -10587,11 +10587,11 @@ let $t = class {
|
|
|
10587
10587
|
return te.forEach(this, (s, o) => {
|
|
10588
10588
|
const a = te.findKey(r, o);
|
|
10589
10589
|
if (a) {
|
|
10590
|
-
t[a] =
|
|
10590
|
+
t[a] = Zs(s), delete t[o];
|
|
10591
10591
|
return;
|
|
10592
10592
|
}
|
|
10593
|
-
const u = e ?
|
|
10594
|
-
u !== o && delete t[o], t[u] =
|
|
10593
|
+
const u = e ? Xb(o) : String(o).trim();
|
|
10594
|
+
u !== o && delete t[o], t[u] = Zs(s), r[u] = !0;
|
|
10595
10595
|
}), this;
|
|
10596
10596
|
}
|
|
10597
10597
|
concat(...e) {
|
|
@@ -10629,7 +10629,7 @@ let $t = class {
|
|
|
10629
10629
|
}).accessors, s = this.prototype;
|
|
10630
10630
|
function o(a) {
|
|
10631
10631
|
const u = Xr(a);
|
|
10632
|
-
r[u] || (
|
|
10632
|
+
r[u] || (Yb(s, a), r[u] = !0);
|
|
10633
10633
|
}
|
|
10634
10634
|
return te.isArray(e) ? e.forEach(o) : o(e), this;
|
|
10635
10635
|
}
|
|
@@ -10646,7 +10646,7 @@ te.reduceDescriptors($t.prototype, ({ value: n }, e) => {
|
|
|
10646
10646
|
});
|
|
10647
10647
|
te.freezeMethods($t);
|
|
10648
10648
|
function ta(n, e) {
|
|
10649
|
-
const t = this ||
|
|
10649
|
+
const t = this || Es, r = e || t, s = $t.from(r.headers);
|
|
10650
10650
|
let o = r.data;
|
|
10651
10651
|
return te.forEach(n, function(u) {
|
|
10652
10652
|
o = u.call(t, o, s.normalize(), e ? e.status : void 0);
|
|
@@ -10671,11 +10671,11 @@ function Ec(n, e, t) {
|
|
|
10671
10671
|
t
|
|
10672
10672
|
));
|
|
10673
10673
|
}
|
|
10674
|
-
function
|
|
10674
|
+
function Zb(n) {
|
|
10675
10675
|
const e = /^([-+\w]{1,25})(:?\/\/|:)/.exec(n);
|
|
10676
10676
|
return e && e[1] || "";
|
|
10677
10677
|
}
|
|
10678
|
-
function
|
|
10678
|
+
function Qb(n, e) {
|
|
10679
10679
|
n = n || 10;
|
|
10680
10680
|
const t = new Array(n), r = new Array(n);
|
|
10681
10681
|
let s = 0, o = 0, a;
|
|
@@ -10691,7 +10691,7 @@ function Zb(n, e) {
|
|
|
10691
10691
|
return g ? Math.round(f * 1e3 / g) : void 0;
|
|
10692
10692
|
};
|
|
10693
10693
|
}
|
|
10694
|
-
function
|
|
10694
|
+
function Jb(n, e) {
|
|
10695
10695
|
let t = 0, r = 1e3 / e, s, o;
|
|
10696
10696
|
const a = (l, c = Date.now()) => {
|
|
10697
10697
|
t = c, s = null, o && (clearTimeout(o), o = null), n.apply(null, l);
|
|
@@ -10703,10 +10703,10 @@ function Qb(n, e) {
|
|
|
10703
10703
|
}, r - d)));
|
|
10704
10704
|
}, () => s && a(s)];
|
|
10705
10705
|
}
|
|
10706
|
-
const
|
|
10706
|
+
const si = (n, e, t = 3) => {
|
|
10707
10707
|
let r = 0;
|
|
10708
|
-
const s =
|
|
10709
|
-
return
|
|
10708
|
+
const s = Qb(50, 250);
|
|
10709
|
+
return Jb((o) => {
|
|
10710
10710
|
const a = o.loaded, u = o.lengthComputable ? o.total : void 0, i = a - r, l = s(i), c = a <= u;
|
|
10711
10711
|
r = a;
|
|
10712
10712
|
const d = {
|
|
@@ -10729,10 +10729,10 @@ const ri = (n, e, t = 3) => {
|
|
|
10729
10729
|
total: n,
|
|
10730
10730
|
loaded: r
|
|
10731
10731
|
}), e[1]];
|
|
10732
|
-
}, Il = (n) => (...e) => te.asap(() => n(...e)),
|
|
10732
|
+
}, Il = (n) => (...e) => te.asap(() => n(...e)), ex = Pt.hasStandardBrowserEnv ? /* @__PURE__ */ ((n, e) => (t) => (t = new URL(t, Pt.origin), n.protocol === t.protocol && n.host === t.host && (e || n.port === t.port)))(
|
|
10733
10733
|
new URL(Pt.origin),
|
|
10734
10734
|
Pt.navigator && /(msie|trident)/i.test(Pt.navigator.userAgent)
|
|
10735
|
-
) : () => !0,
|
|
10735
|
+
) : () => !0, tx = Pt.hasStandardBrowserEnv ? (
|
|
10736
10736
|
// Standard browser envs support document.cookie
|
|
10737
10737
|
{
|
|
10738
10738
|
write(n, e, t, r, s, o) {
|
|
@@ -10759,15 +10759,15 @@ const ri = (n, e, t = 3) => {
|
|
|
10759
10759
|
}
|
|
10760
10760
|
}
|
|
10761
10761
|
);
|
|
10762
|
-
function
|
|
10762
|
+
function nx(n) {
|
|
10763
10763
|
return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(n);
|
|
10764
10764
|
}
|
|
10765
|
-
function
|
|
10765
|
+
function rx(n, e) {
|
|
10766
10766
|
return e ? n.replace(/\/?\/$/, "") + "/" + e.replace(/^\/+/, "") : n;
|
|
10767
10767
|
}
|
|
10768
10768
|
function Sc(n, e, t) {
|
|
10769
|
-
let r = !
|
|
10770
|
-
return n && (r || t == !1) ?
|
|
10769
|
+
let r = !nx(e);
|
|
10770
|
+
return n && (r || t == !1) ? rx(n, e) : e;
|
|
10771
10771
|
}
|
|
10772
10772
|
const Ll = (n) => n instanceof $t ? { ...n } : n;
|
|
10773
10773
|
function sr(n, e) {
|
|
@@ -10850,12 +10850,12 @@ const Tc = (n) => {
|
|
|
10850
10850
|
a.setContentType([l || "multipart/form-data", ...c].join("; "));
|
|
10851
10851
|
}
|
|
10852
10852
|
}
|
|
10853
|
-
if (Pt.hasStandardBrowserEnv && (r && te.isFunction(r) && (r = r(e)), r || r !== !1 &&
|
|
10854
|
-
const l = s && o &&
|
|
10853
|
+
if (Pt.hasStandardBrowserEnv && (r && te.isFunction(r) && (r = r(e)), r || r !== !1 && ex(e.url))) {
|
|
10854
|
+
const l = s && o && tx.read(o);
|
|
10855
10855
|
l && a.set(s, l);
|
|
10856
10856
|
}
|
|
10857
10857
|
return e;
|
|
10858
|
-
},
|
|
10858
|
+
}, sx = typeof XMLHttpRequest < "u", ix = sx && function(n) {
|
|
10859
10859
|
return new Promise(function(t, r) {
|
|
10860
10860
|
const s = Tc(n);
|
|
10861
10861
|
let o = s.data;
|
|
@@ -10902,17 +10902,17 @@ const Tc = (n) => {
|
|
|
10902
10902
|
)), b = null;
|
|
10903
10903
|
}, o === void 0 && a.setContentType(null), "setRequestHeader" in b && te.forEach(a.toJSON(), function(F, M) {
|
|
10904
10904
|
b.setRequestHeader(M, F);
|
|
10905
|
-
}), te.isUndefined(s.withCredentials) || (b.withCredentials = !!s.withCredentials), u && u !== "json" && (b.responseType = s.responseType), l && ([f, h] =
|
|
10905
|
+
}), te.isUndefined(s.withCredentials) || (b.withCredentials = !!s.withCredentials), u && u !== "json" && (b.responseType = s.responseType), l && ([f, h] = si(l, !0), b.addEventListener("progress", f)), i && b.upload && ([d, g] = si(i), b.upload.addEventListener("progress", d), b.upload.addEventListener("loadend", g)), (s.cancelToken || s.signal) && (c = (C) => {
|
|
10906
10906
|
b && (r(!C || C.type ? new _r(null, n, b) : C), b.abort(), b = null);
|
|
10907
10907
|
}, s.cancelToken && s.cancelToken.subscribe(c), s.signal && (s.signal.aborted ? c() : s.signal.addEventListener("abort", c)));
|
|
10908
|
-
const E =
|
|
10908
|
+
const E = Zb(s.url);
|
|
10909
10909
|
if (E && Pt.protocols.indexOf(E) === -1) {
|
|
10910
10910
|
r(new je("Unsupported protocol " + E + ":", je.ERR_BAD_REQUEST, n));
|
|
10911
10911
|
return;
|
|
10912
10912
|
}
|
|
10913
10913
|
b.send(o || null);
|
|
10914
10914
|
});
|
|
10915
|
-
},
|
|
10915
|
+
}, ax = (n, e) => {
|
|
10916
10916
|
const { length: t } = n = n ? n.filter(Boolean) : [];
|
|
10917
10917
|
if (e || t) {
|
|
10918
10918
|
let r = new AbortController(), s;
|
|
@@ -10935,7 +10935,7 @@ const Tc = (n) => {
|
|
|
10935
10935
|
const { signal: i } = r;
|
|
10936
10936
|
return i.unsubscribe = () => te.asap(u), i;
|
|
10937
10937
|
}
|
|
10938
|
-
},
|
|
10938
|
+
}, ox = function* (n, e) {
|
|
10939
10939
|
let t = n.byteLength;
|
|
10940
10940
|
if (t < e) {
|
|
10941
10941
|
yield n;
|
|
@@ -10944,10 +10944,10 @@ const Tc = (n) => {
|
|
|
10944
10944
|
let r = 0, s;
|
|
10945
10945
|
for (; r < t; )
|
|
10946
10946
|
s = r + e, yield n.slice(r, s), r = s;
|
|
10947
|
-
},
|
|
10948
|
-
for await (const t of
|
|
10949
|
-
yield*
|
|
10950
|
-
},
|
|
10947
|
+
}, lx = async function* (n, e) {
|
|
10948
|
+
for await (const t of ux(n))
|
|
10949
|
+
yield* ox(t, e);
|
|
10950
|
+
}, ux = async function* (n) {
|
|
10951
10951
|
if (n[Symbol.asyncIterator]) {
|
|
10952
10952
|
yield* n;
|
|
10953
10953
|
return;
|
|
@@ -10964,7 +10964,7 @@ const Tc = (n) => {
|
|
|
10964
10964
|
await e.cancel();
|
|
10965
10965
|
}
|
|
10966
10966
|
}, kl = (n, e, t, r) => {
|
|
10967
|
-
const s =
|
|
10967
|
+
const s = lx(n, e);
|
|
10968
10968
|
let o = 0, a, u = (i) => {
|
|
10969
10969
|
a || (a = !0, r && r(i));
|
|
10970
10970
|
};
|
|
@@ -10992,13 +10992,13 @@ const Tc = (n) => {
|
|
|
10992
10992
|
}, {
|
|
10993
10993
|
highWaterMark: 2
|
|
10994
10994
|
});
|
|
10995
|
-
}, Ai = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", Oc = Ai && typeof ReadableStream == "function",
|
|
10995
|
+
}, Ai = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", Oc = Ai && typeof ReadableStream == "function", cx = Ai && (typeof TextEncoder == "function" ? /* @__PURE__ */ ((n) => (e) => n.encode(e))(new TextEncoder()) : async (n) => new Uint8Array(await new Response(n).arrayBuffer())), Nc = (n, ...e) => {
|
|
10996
10996
|
try {
|
|
10997
10997
|
return !!n(...e);
|
|
10998
10998
|
} catch {
|
|
10999
10999
|
return !1;
|
|
11000
11000
|
}
|
|
11001
|
-
},
|
|
11001
|
+
}, fx = Oc && Nc(() => {
|
|
11002
11002
|
let n = !1;
|
|
11003
11003
|
const e = new Request(Pt.origin, {
|
|
11004
11004
|
body: new ReadableStream(),
|
|
@@ -11008,17 +11008,17 @@ const Tc = (n) => {
|
|
|
11008
11008
|
}
|
|
11009
11009
|
}).headers.has("Content-Type");
|
|
11010
11010
|
return n && !e;
|
|
11011
|
-
}), Pl = 64 * 1024, Da = Oc && Nc(() => te.isReadableStream(new Response("").body)),
|
|
11011
|
+
}), Pl = 64 * 1024, Da = Oc && Nc(() => te.isReadableStream(new Response("").body)), ii = {
|
|
11012
11012
|
stream: Da && ((n) => n.body)
|
|
11013
11013
|
};
|
|
11014
11014
|
Ai && ((n) => {
|
|
11015
11015
|
["text", "arrayBuffer", "blob", "formData", "stream"].forEach((e) => {
|
|
11016
|
-
!
|
|
11016
|
+
!ii[e] && (ii[e] = te.isFunction(n[e]) ? (t) => t[e]() : (t, r) => {
|
|
11017
11017
|
throw new je(`Response type '${e}' is not supported`, je.ERR_NOT_SUPPORT, r);
|
|
11018
11018
|
});
|
|
11019
11019
|
});
|
|
11020
11020
|
})(new Response());
|
|
11021
|
-
const
|
|
11021
|
+
const dx = async (n) => {
|
|
11022
11022
|
if (n == null)
|
|
11023
11023
|
return 0;
|
|
11024
11024
|
if (te.isBlob(n))
|
|
@@ -11031,11 +11031,11 @@ const fx = async (n) => {
|
|
|
11031
11031
|
if (te.isArrayBufferView(n) || te.isArrayBuffer(n))
|
|
11032
11032
|
return n.byteLength;
|
|
11033
11033
|
if (te.isURLSearchParams(n) && (n = n + ""), te.isString(n))
|
|
11034
|
-
return (await
|
|
11035
|
-
},
|
|
11034
|
+
return (await cx(n)).byteLength;
|
|
11035
|
+
}, hx = async (n, e) => {
|
|
11036
11036
|
const t = te.toFiniteNumber(n.getContentLength());
|
|
11037
|
-
return t ??
|
|
11038
|
-
},
|
|
11037
|
+
return t ?? dx(e);
|
|
11038
|
+
}, px = Ai && (async (n) => {
|
|
11039
11039
|
let {
|
|
11040
11040
|
url: e,
|
|
11041
11041
|
method: t,
|
|
@@ -11051,13 +11051,13 @@ const fx = async (n) => {
|
|
|
11051
11051
|
fetchOptions: f
|
|
11052
11052
|
} = Tc(n);
|
|
11053
11053
|
l = l ? (l + "").toLowerCase() : "text";
|
|
11054
|
-
let g =
|
|
11054
|
+
let g = ax([s, o && o.toAbortSignal()], a), h;
|
|
11055
11055
|
const v = g && g.unsubscribe && (() => {
|
|
11056
11056
|
g.unsubscribe();
|
|
11057
11057
|
});
|
|
11058
11058
|
let b;
|
|
11059
11059
|
try {
|
|
11060
|
-
if (i &&
|
|
11060
|
+
if (i && fx && t !== "get" && t !== "head" && (b = await hx(c, r)) !== 0) {
|
|
11061
11061
|
let M = new Request(e, {
|
|
11062
11062
|
method: "POST",
|
|
11063
11063
|
body: r,
|
|
@@ -11066,7 +11066,7 @@ const fx = async (n) => {
|
|
|
11066
11066
|
if (te.isFormData(r) && (z = M.headers.get("content-type")) && c.setContentType(z), M.body) {
|
|
11067
11067
|
const [K, H] = Cl(
|
|
11068
11068
|
b,
|
|
11069
|
-
|
|
11069
|
+
si(Il(i))
|
|
11070
11070
|
);
|
|
11071
11071
|
r = kl(M.body, Pl, K, H);
|
|
11072
11072
|
}
|
|
@@ -11091,7 +11091,7 @@ const fx = async (n) => {
|
|
|
11091
11091
|
});
|
|
11092
11092
|
const z = te.toFiniteNumber(E.headers.get("content-length")), [K, H] = u && Cl(
|
|
11093
11093
|
z,
|
|
11094
|
-
|
|
11094
|
+
si(Il(u), !0)
|
|
11095
11095
|
) || [];
|
|
11096
11096
|
E = new Response(
|
|
11097
11097
|
kl(E.body, Pl, K, () => {
|
|
@@ -11101,7 +11101,7 @@ const fx = async (n) => {
|
|
|
11101
11101
|
);
|
|
11102
11102
|
}
|
|
11103
11103
|
l = l || "text";
|
|
11104
|
-
let F = await
|
|
11104
|
+
let F = await ii[te.findKey(ii, l) || "text"](E, n);
|
|
11105
11105
|
return !C && v && v(), await new Promise((M, z) => {
|
|
11106
11106
|
Ec(M, z, {
|
|
11107
11107
|
data: F,
|
|
@@ -11121,9 +11121,9 @@ const fx = async (n) => {
|
|
|
11121
11121
|
) : je.from(S, S && S.code, n, h);
|
|
11122
11122
|
}
|
|
11123
11123
|
}), Ba = {
|
|
11124
|
-
http:
|
|
11125
|
-
xhr:
|
|
11126
|
-
fetch:
|
|
11124
|
+
http: Cb,
|
|
11125
|
+
xhr: ix,
|
|
11126
|
+
fetch: px
|
|
11127
11127
|
};
|
|
11128
11128
|
te.forEach(Ba, (n, e) => {
|
|
11129
11129
|
if (n) {
|
|
@@ -11134,7 +11134,7 @@ te.forEach(Ba, (n, e) => {
|
|
|
11134
11134
|
Object.defineProperty(n, "adapterName", { value: e });
|
|
11135
11135
|
}
|
|
11136
11136
|
});
|
|
11137
|
-
const Fl = (n) => `- ${n}`,
|
|
11137
|
+
const Fl = (n) => `- ${n}`, gx = (n) => te.isFunction(n) || n === null || n === !1, Rc = {
|
|
11138
11138
|
getAdapter: (n) => {
|
|
11139
11139
|
n = te.isArray(n) ? n : [n];
|
|
11140
11140
|
const { length: e } = n;
|
|
@@ -11143,7 +11143,7 @@ const Fl = (n) => `- ${n}`, px = (n) => te.isFunction(n) || n === null || n ===
|
|
|
11143
11143
|
for (let o = 0; o < e; o++) {
|
|
11144
11144
|
t = n[o];
|
|
11145
11145
|
let a;
|
|
11146
|
-
if (r = t, !
|
|
11146
|
+
if (r = t, !gx(t) && (r = Ba[(a = String(t)).toLowerCase()], r === void 0))
|
|
11147
11147
|
throw new je(`Unknown adapter '${a}'`);
|
|
11148
11148
|
if (r)
|
|
11149
11149
|
break;
|
|
@@ -11173,7 +11173,7 @@ function Ml(n) {
|
|
|
11173
11173
|
return na(n), n.headers = $t.from(n.headers), n.data = ta.call(
|
|
11174
11174
|
n,
|
|
11175
11175
|
n.transformRequest
|
|
11176
|
-
), ["post", "put", "patch"].indexOf(n.method) !== -1 && n.headers.setContentType("application/x-www-form-urlencoded", !1), Rc.getAdapter(n.adapter ||
|
|
11176
|
+
), ["post", "put", "patch"].indexOf(n.method) !== -1 && n.headers.setContentType("application/x-www-form-urlencoded", !1), Rc.getAdapter(n.adapter || Es.adapter)(n).then(function(r) {
|
|
11177
11177
|
return na(n), r.data = ta.call(
|
|
11178
11178
|
n,
|
|
11179
11179
|
n.transformResponse,
|
|
@@ -11215,7 +11215,7 @@ wi.transitional = function(e, t, r) {
|
|
|
11215
11215
|
wi.spelling = function(e) {
|
|
11216
11216
|
return (t, r) => (console.warn(`${r} is likely a misspelling of ${e}`), !0);
|
|
11217
11217
|
};
|
|
11218
|
-
function
|
|
11218
|
+
function vx(n, e, t) {
|
|
11219
11219
|
if (typeof n != "object")
|
|
11220
11220
|
throw new je("options must be an object", je.ERR_BAD_OPTION_VALUE);
|
|
11221
11221
|
const r = Object.keys(n);
|
|
@@ -11232,10 +11232,10 @@ function gx(n, e, t) {
|
|
|
11232
11232
|
throw new je("Unknown option " + o, je.ERR_BAD_OPTION);
|
|
11233
11233
|
}
|
|
11234
11234
|
}
|
|
11235
|
-
const
|
|
11236
|
-
assertOptions:
|
|
11235
|
+
const Qs = {
|
|
11236
|
+
assertOptions: vx,
|
|
11237
11237
|
validators: wi
|
|
11238
|
-
}, vn =
|
|
11238
|
+
}, vn = Qs.validators;
|
|
11239
11239
|
let Jn = class {
|
|
11240
11240
|
constructor(e) {
|
|
11241
11241
|
this.defaults = e || {}, this.interceptors = {
|
|
@@ -11271,16 +11271,16 @@ let Jn = class {
|
|
|
11271
11271
|
_request(e, t) {
|
|
11272
11272
|
typeof e == "string" ? (t = t || {}, t.url = e) : t = e || {}, t = sr(this.defaults, t);
|
|
11273
11273
|
const { transitional: r, paramsSerializer: s, headers: o } = t;
|
|
11274
|
-
r !== void 0 &&
|
|
11274
|
+
r !== void 0 && Qs.assertOptions(r, {
|
|
11275
11275
|
silentJSONParsing: vn.transitional(vn.boolean),
|
|
11276
11276
|
forcedJSONParsing: vn.transitional(vn.boolean),
|
|
11277
11277
|
clarifyTimeoutError: vn.transitional(vn.boolean)
|
|
11278
11278
|
}, !1), s != null && (te.isFunction(s) ? t.paramsSerializer = {
|
|
11279
11279
|
serialize: s
|
|
11280
|
-
} :
|
|
11280
|
+
} : Qs.assertOptions(s, {
|
|
11281
11281
|
encode: vn.function,
|
|
11282
11282
|
serialize: vn.function
|
|
11283
|
-
}, !0)), t.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls !== void 0 ? t.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls : t.allowAbsoluteUrls = !0),
|
|
11283
|
+
}, !0)), t.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls !== void 0 ? t.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls : t.allowAbsoluteUrls = !0), Qs.assertOptions(t, {
|
|
11284
11284
|
baseUrl: vn.spelling("baseURL"),
|
|
11285
11285
|
withXsrfToken: vn.spelling("withXSRFToken")
|
|
11286
11286
|
}, !0), t.method = (t.method || this.defaults.method || "get").toLowerCase();
|
|
@@ -11360,7 +11360,7 @@ te.forEach(["post", "put", "patch"], function(e) {
|
|
|
11360
11360
|
}
|
|
11361
11361
|
Jn.prototype[e] = t(), Jn.prototype[e + "Form"] = t(!0);
|
|
11362
11362
|
});
|
|
11363
|
-
let
|
|
11363
|
+
let mx = class Ic {
|
|
11364
11364
|
constructor(e) {
|
|
11365
11365
|
if (typeof e != "function")
|
|
11366
11366
|
throw new TypeError("executor must be a function.");
|
|
@@ -11433,12 +11433,12 @@ let vx = class Ic {
|
|
|
11433
11433
|
};
|
|
11434
11434
|
}
|
|
11435
11435
|
};
|
|
11436
|
-
function
|
|
11436
|
+
function yx(n) {
|
|
11437
11437
|
return function(t) {
|
|
11438
11438
|
return n.apply(null, t);
|
|
11439
11439
|
};
|
|
11440
11440
|
}
|
|
11441
|
-
function
|
|
11441
|
+
function bx(n) {
|
|
11442
11442
|
return te.isObject(n) && n.isAxiosError === !0;
|
|
11443
11443
|
}
|
|
11444
11444
|
const Ua = {
|
|
@@ -11515,10 +11515,10 @@ function Lc(n) {
|
|
|
11515
11515
|
return Lc(sr(n, s));
|
|
11516
11516
|
}, t;
|
|
11517
11517
|
}
|
|
11518
|
-
const ft = Lc(
|
|
11518
|
+
const ft = Lc(Es);
|
|
11519
11519
|
ft.Axios = Jn;
|
|
11520
11520
|
ft.CanceledError = _r;
|
|
11521
|
-
ft.CancelToken =
|
|
11521
|
+
ft.CancelToken = mx;
|
|
11522
11522
|
ft.isCancel = wc;
|
|
11523
11523
|
ft.VERSION = Cc;
|
|
11524
11524
|
ft.toFormData = xi;
|
|
@@ -11527,8 +11527,8 @@ ft.Cancel = ft.CanceledError;
|
|
|
11527
11527
|
ft.all = function(e) {
|
|
11528
11528
|
return Promise.all(e);
|
|
11529
11529
|
};
|
|
11530
|
-
ft.spread =
|
|
11531
|
-
ft.isAxiosError =
|
|
11530
|
+
ft.spread = yx;
|
|
11531
|
+
ft.isAxiosError = bx;
|
|
11532
11532
|
ft.mergeConfig = sr;
|
|
11533
11533
|
ft.AxiosHeaders = $t;
|
|
11534
11534
|
ft.formToJSON = (n) => Ac(te.isHTMLForm(n) ? new FormData(n) : n);
|
|
@@ -11536,25 +11536,25 @@ ft.getAdapter = Rc.getAdapter;
|
|
|
11536
11536
|
ft.HttpStatusCode = Ua;
|
|
11537
11537
|
ft.default = ft;
|
|
11538
11538
|
const {
|
|
11539
|
-
Axios:
|
|
11540
|
-
AxiosError:
|
|
11541
|
-
CanceledError:
|
|
11542
|
-
isCancel:
|
|
11543
|
-
CancelToken:
|
|
11544
|
-
VERSION:
|
|
11545
|
-
all:
|
|
11546
|
-
Cancel:
|
|
11547
|
-
isAxiosError:
|
|
11548
|
-
spread:
|
|
11549
|
-
toFormData:
|
|
11550
|
-
AxiosHeaders:
|
|
11551
|
-
HttpStatusCode:
|
|
11552
|
-
formToJSON:
|
|
11553
|
-
getAdapter:
|
|
11554
|
-
mergeConfig:
|
|
11539
|
+
Axios: sA,
|
|
11540
|
+
AxiosError: iA,
|
|
11541
|
+
CanceledError: aA,
|
|
11542
|
+
isCancel: oA,
|
|
11543
|
+
CancelToken: lA,
|
|
11544
|
+
VERSION: uA,
|
|
11545
|
+
all: cA,
|
|
11546
|
+
Cancel: fA,
|
|
11547
|
+
isAxiosError: dA,
|
|
11548
|
+
spread: hA,
|
|
11549
|
+
toFormData: pA,
|
|
11550
|
+
AxiosHeaders: gA,
|
|
11551
|
+
HttpStatusCode: vA,
|
|
11552
|
+
formToJSON: mA,
|
|
11553
|
+
getAdapter: yA,
|
|
11554
|
+
mergeConfig: bA
|
|
11555
11555
|
} = ft;
|
|
11556
11556
|
var ra = { exports: {} }, Bl;
|
|
11557
|
-
function
|
|
11557
|
+
function xx() {
|
|
11558
11558
|
return Bl || (Bl = 1, function(n, e) {
|
|
11559
11559
|
(function(r, s) {
|
|
11560
11560
|
n.exports = s();
|
|
@@ -17315,15 +17315,15 @@ Expect errors in decoding.`), A = A.replace(/[^A-Za-z0-9\+\/\=]/g, ""); I = this
|
|
|
17315
17315
|
});
|
|
17316
17316
|
}(ra)), ra.exports;
|
|
17317
17317
|
}
|
|
17318
|
-
var
|
|
17319
|
-
const sa = /* @__PURE__ */ Ya(
|
|
17318
|
+
var Ax = xx();
|
|
17319
|
+
const sa = /* @__PURE__ */ Ya(Ax), wx = {
|
|
17320
17320
|
xmlns: "http://www.w3.org/2000/svg",
|
|
17321
17321
|
fill: "none",
|
|
17322
17322
|
stroke: "currentColor",
|
|
17323
17323
|
viewBox: "0 0 24 24"
|
|
17324
17324
|
};
|
|
17325
|
-
function
|
|
17326
|
-
return fe(), ye("svg",
|
|
17325
|
+
function Ex(n, e) {
|
|
17326
|
+
return fe(), ye("svg", wx, e[0] || (e[0] = [
|
|
17327
17327
|
ne("path", {
|
|
17328
17328
|
"stroke-linecap": "round",
|
|
17329
17329
|
"stroke-linejoin": "round",
|
|
@@ -17332,13 +17332,13 @@ function wx(n, e) {
|
|
|
17332
17332
|
}, null, -1)
|
|
17333
17333
|
]));
|
|
17334
17334
|
}
|
|
17335
|
-
const
|
|
17335
|
+
const Sx = { render: Ex }, Tx = { class: "file-upload" }, Ox = ["name", "value"], Nx = {
|
|
17336
17336
|
key: 0,
|
|
17337
17337
|
class: "preview"
|
|
17338
|
-
},
|
|
17338
|
+
}, Rx = { class: "file-upload-preview" }, Cx = ["src"], Ix = {
|
|
17339
17339
|
key: 1,
|
|
17340
17340
|
class: "preview"
|
|
17341
|
-
},
|
|
17341
|
+
}, Lx = { class: "file-upload-preview" }, kx = ["src", "title"], Px = ["href"], Fx = { class: "file-upload-title" }, Mx = { class: "file-upload-file-remove" }, Dx = { class: "relative" }, Bx = { class: "absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 p-4 rounded-lg flex flex-col justify-center items-center w-full" }, Ux = {
|
|
17342
17342
|
__name: "FileUpload",
|
|
17343
17343
|
props: {
|
|
17344
17344
|
name: {
|
|
@@ -17393,53 +17393,53 @@ const Ex = { render: wx }, Sx = { class: "file-upload" }, Tx = ["name", "value"]
|
|
|
17393
17393
|
(f = s.value) == null || f.removeFile(d);
|
|
17394
17394
|
}
|
|
17395
17395
|
}), r.value = t.modelValue;
|
|
17396
|
-
}), (l, c) => (fe(), ye("div",
|
|
17396
|
+
}), (l, c) => (fe(), ye("div", Tx, [
|
|
17397
17397
|
ne("input", {
|
|
17398
17398
|
type: "hidden",
|
|
17399
17399
|
name: n.name,
|
|
17400
17400
|
value: a.value
|
|
17401
|
-
}, null, 8,
|
|
17402
|
-
n.modelValue ? (fe(), ye("div",
|
|
17403
|
-
c[1] || (c[1] =
|
|
17404
|
-
ne("span",
|
|
17401
|
+
}, null, 8, Ox),
|
|
17402
|
+
n.modelValue ? (fe(), ye("div", Nx, [
|
|
17403
|
+
c[1] || (c[1] = oi(" @todo handle upload here ")),
|
|
17404
|
+
ne("span", Rx, [
|
|
17405
17405
|
ne("img", {
|
|
17406
17406
|
class: "img rounded-lg",
|
|
17407
17407
|
src: n.modelValue,
|
|
17408
17408
|
title: "Image"
|
|
17409
|
-
}, null, 8,
|
|
17409
|
+
}, null, 8, Cx)
|
|
17410
17410
|
])
|
|
17411
|
-
])) : r.value && r.value.length ? (fe(), ye("div",
|
|
17412
|
-
ne("span",
|
|
17411
|
+
])) : r.value && r.value.length ? (fe(), ye("div", Ix, [
|
|
17412
|
+
ne("span", Lx, [
|
|
17413
17413
|
u(r.value.mime_type) ? (fe(), ye("img", {
|
|
17414
17414
|
key: 0,
|
|
17415
17415
|
class: "img",
|
|
17416
17416
|
src: r.value.url,
|
|
17417
17417
|
title: r.value.file_name
|
|
17418
|
-
}, null, 8,
|
|
17418
|
+
}, null, 8, kx)) : at("", !0)
|
|
17419
17419
|
]),
|
|
17420
17420
|
ne("a", {
|
|
17421
17421
|
href: r.value.url,
|
|
17422
17422
|
target: "_blank",
|
|
17423
17423
|
class: "link"
|
|
17424
17424
|
}, [
|
|
17425
|
-
ne("div",
|
|
17426
|
-
], 8,
|
|
17427
|
-
ne("a",
|
|
17425
|
+
ne("div", Fx, ze(r.value.file_name), 1)
|
|
17426
|
+
], 8, Px),
|
|
17427
|
+
ne("a", Mx, [
|
|
17428
17428
|
ne("i", {
|
|
17429
17429
|
class: "fal fa-times",
|
|
17430
17430
|
onClick: c[0] || (c[0] = (d) => i(r.value))
|
|
17431
17431
|
})
|
|
17432
17432
|
])
|
|
17433
17433
|
])) : at("", !0),
|
|
17434
|
-
on(ne("div",
|
|
17434
|
+
on(ne("div", Dx, [
|
|
17435
17435
|
ne("div", {
|
|
17436
17436
|
class: "dropzone border border-dashed rounded-lg z-10 h-[200px] w-full cursor-pointer relative",
|
|
17437
17437
|
ref_key: "dropzone",
|
|
17438
17438
|
ref: s
|
|
17439
17439
|
}, null, 512),
|
|
17440
|
-
ne("div",
|
|
17440
|
+
ne("div", Bx, [
|
|
17441
17441
|
ne("div", null, [
|
|
17442
|
-
qe(He(
|
|
17442
|
+
qe(He(Sx), { class: "w-6 h-6" })
|
|
17443
17443
|
]),
|
|
17444
17444
|
c[2] || (c[2] = ne("div", { class: "text-sm text-center" }, [
|
|
17445
17445
|
ne("p", null, [
|
|
@@ -17454,7 +17454,7 @@ const Ex = { render: wx }, Sx = { class: "file-upload" }, Tx = ["name", "value"]
|
|
|
17454
17454
|
])
|
|
17455
17455
|
]));
|
|
17456
17456
|
}
|
|
17457
|
-
},
|
|
17457
|
+
}, jx = { class: "item-edit" }, $x = { class: "flex items-start gap-4 px-6 pt-4 h-full" }, _x = { class: "flex flex-1 flex-col gap-4" }, qx = { class: "flex flex-col gap-8" }, zx = { class: "flex flex-col gap-8" }, Hx = { class: "flex flex-col gap-4" }, Vx = { class: "flex w-full max-w-[356px] flex-col gap-4" }, Gx = { class: "flex justify-between space-x-xsSpace pt-xsSpace gap-4 fixed bottom-0 w-full bg-gray-200 py-2 px-6" }, xA = {
|
|
17458
17458
|
__name: "ItemEdit",
|
|
17459
17459
|
props: {
|
|
17460
17460
|
item: {
|
|
@@ -17495,12 +17495,12 @@ const Ex = { render: wx }, Sx = { class: "file-upload" }, Tx = ["name", "value"]
|
|
|
17495
17495
|
});
|
|
17496
17496
|
return (i, l) => {
|
|
17497
17497
|
var c, d, f, g;
|
|
17498
|
-
return fe(), ye("div",
|
|
17499
|
-
ne("div",
|
|
17500
|
-
ne("div",
|
|
17498
|
+
return fe(), ye("div", jx, [
|
|
17499
|
+
ne("div", $x, [
|
|
17500
|
+
ne("div", _x, [
|
|
17501
17501
|
qe(Kr, { title: "Description" }, {
|
|
17502
17502
|
default: St(() => [
|
|
17503
|
-
ne("div",
|
|
17503
|
+
ne("div", qx, [
|
|
17504
17504
|
qe(jn, {
|
|
17505
17505
|
"is-vertical": "",
|
|
17506
17506
|
field: "title",
|
|
@@ -17532,7 +17532,7 @@ const Ex = { render: wx }, Sx = { class: "file-upload" }, Tx = ["name", "value"]
|
|
|
17532
17532
|
"show-count": !0
|
|
17533
17533
|
}, {
|
|
17534
17534
|
default: St(() => [
|
|
17535
|
-
qe(
|
|
17535
|
+
qe(jy, {
|
|
17536
17536
|
modelValue: s.value.description,
|
|
17537
17537
|
"onUpdate:modelValue": l[1] || (l[1] = (h) => s.value.description = h)
|
|
17538
17538
|
}, null, 8, ["modelValue"])
|
|
@@ -17548,8 +17548,8 @@ const Ex = { render: wx }, Sx = { class: "file-upload" }, Tx = ["name", "value"]
|
|
|
17548
17548
|
title: ((d = (c = n.item) == null ? void 0 : c.primary_button) == null ? void 0 : d.name) ?? "Primary button"
|
|
17549
17549
|
}, {
|
|
17550
17550
|
default: St(() => [
|
|
17551
|
-
ne("div",
|
|
17552
|
-
qe(
|
|
17551
|
+
ne("div", zx, [
|
|
17552
|
+
qe(Gs, {
|
|
17553
17553
|
name: "show",
|
|
17554
17554
|
modelValue: s.value.primary_button.show,
|
|
17555
17555
|
"onUpdate:modelValue": l[2] || (l[2] = (h) => s.value.primary_button.show = h),
|
|
@@ -17598,8 +17598,8 @@ const Ex = { render: wx }, Sx = { class: "file-upload" }, Tx = ["name", "value"]
|
|
|
17598
17598
|
default: St(() => {
|
|
17599
17599
|
var h;
|
|
17600
17600
|
return [
|
|
17601
|
-
ne("div",
|
|
17602
|
-
qe(
|
|
17601
|
+
ne("div", Hx, [
|
|
17602
|
+
qe(Gs, {
|
|
17603
17603
|
name: "show",
|
|
17604
17604
|
modelValue: s.value.secondary_button.show,
|
|
17605
17605
|
"onUpdate:modelValue": l[7] || (l[7] = (v) => s.value.secondary_button.show = v),
|
|
@@ -17645,13 +17645,13 @@ const Ex = { render: wx }, Sx = { class: "file-upload" }, Tx = ["name", "value"]
|
|
|
17645
17645
|
_: 1
|
|
17646
17646
|
}, 8, ["title"])) : at("", !0)
|
|
17647
17647
|
]),
|
|
17648
|
-
ne("div",
|
|
17648
|
+
ne("div", Vx, [
|
|
17649
17649
|
qe(Kr, {
|
|
17650
17650
|
title: "Visibility",
|
|
17651
17651
|
supporting_text: "Toggle off if you'd like to hide this item"
|
|
17652
17652
|
}, {
|
|
17653
17653
|
default: St(() => [
|
|
17654
|
-
qe(
|
|
17654
|
+
qe(Gs, {
|
|
17655
17655
|
modelValue: s.value.public,
|
|
17656
17656
|
"onUpdate:modelValue": l[12] || (l[12] = (h) => s.value.public = h),
|
|
17657
17657
|
name: "public",
|
|
@@ -17665,7 +17665,7 @@ const Ex = { render: wx }, Sx = { class: "file-upload" }, Tx = ["name", "value"]
|
|
|
17665
17665
|
supporting_text: "Recommended dimension: 1200*1060px"
|
|
17666
17666
|
}, {
|
|
17667
17667
|
default: St(() => [
|
|
17668
|
-
qe(
|
|
17668
|
+
qe(Ux, {
|
|
17669
17669
|
name: "image",
|
|
17670
17670
|
modelValue: s.value.featured_image,
|
|
17671
17671
|
"onUpdate:modelValue": l[13] || (l[13] = (h) => s.value.featured_image = h)
|
|
@@ -17676,13 +17676,13 @@ const Ex = { render: wx }, Sx = { class: "file-upload" }, Tx = ["name", "value"]
|
|
|
17676
17676
|
])
|
|
17677
17677
|
]),
|
|
17678
17678
|
kr(i.$slots, "default", {}, () => [
|
|
17679
|
-
ne("div",
|
|
17679
|
+
ne("div", Gx, [
|
|
17680
17680
|
ne("a", {
|
|
17681
17681
|
onClick: a,
|
|
17682
17682
|
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"
|
|
17683
17683
|
}, " Cancel "),
|
|
17684
17684
|
ne("a", {
|
|
17685
|
-
onClick:
|
|
17685
|
+
onClick: ai(o, ["prevent"]),
|
|
17686
17686
|
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"
|
|
17687
17687
|
}, "Save changes")
|
|
17688
17688
|
])
|
|
@@ -17692,7 +17692,7 @@ const Ex = { render: wx }, Sx = { class: "file-upload" }, Tx = ["name", "value"]
|
|
|
17692
17692
|
}
|
|
17693
17693
|
};
|
|
17694
17694
|
export {
|
|
17695
|
-
|
|
17696
|
-
|
|
17697
|
-
|
|
17695
|
+
xA as ItemEdit,
|
|
17696
|
+
Xx as PageBuilder,
|
|
17697
|
+
Yx as PageRender
|
|
17698
17698
|
};
|