v-notion-editor 0.2.76 → 0.2.78
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.
|
@@ -25916,7 +25916,7 @@ const BI = { class: "tooltip-wrapper" }, PI = /* @__PURE__ */ Ae({
|
|
|
25916
25916
|
nr(o.$slots, "color-picker", { editor: o.editor }, () => [
|
|
25917
25917
|
he(v5, { editor: o.editor }, null, 8, ["editor"])
|
|
25918
25918
|
], !0),
|
|
25919
|
-
(g = o.editor) != null && g.isActive("heading") ? (U(), re("div", hD, [
|
|
25919
|
+
(g = o.editor) != null && g.isActive("heading") && !o.isCanvas ? (U(), re("div", hD, [
|
|
25920
25920
|
a[9] || (a[9] = V("div", { class: "w-px h-4.5 bg-secondary-dark mx-0.5" }, null, -1)),
|
|
25921
25921
|
he(rD, { editor: o.editor }, null, 8, ["editor"])
|
|
25922
25922
|
])) : ae("", !0),
|
|
@@ -25954,7 +25954,7 @@ const BI = { class: "tooltip-wrapper" }, PI = /* @__PURE__ */ Ae({
|
|
|
25954
25954
|
], 32);
|
|
25955
25955
|
};
|
|
25956
25956
|
}
|
|
25957
|
-
}), gD = /* @__PURE__ */ ii(mD, [["__scopeId", "data-v-
|
|
25957
|
+
}), gD = /* @__PURE__ */ ii(mD, [["__scopeId", "data-v-de47ec58"]]);
|
|
25958
25958
|
var bD = rn.create({
|
|
25959
25959
|
name: "horizontalRule",
|
|
25960
25960
|
addOptions() {
|
|
@@ -35107,7 +35107,7 @@ const Mz = /* @__PURE__ */ Ae({
|
|
|
35107
35107
|
}, e.click();
|
|
35108
35108
|
}), Gx = async (t) => new Promise(async (e, n) => {
|
|
35109
35109
|
try {
|
|
35110
|
-
(await import("./papaparse.min-
|
|
35110
|
+
(await import("./papaparse.min-BRnpgh7B.js").then((i) => i.p)).default.parse(t, {
|
|
35111
35111
|
complete: (i) => {
|
|
35112
35112
|
try {
|
|
35113
35113
|
const s = i.data;
|
|
@@ -35541,8 +35541,7 @@ var _z = Pe.create({
|
|
|
35541
35541
|
allowGapCursor: (e = Ye(ve(t, "allowGapCursor", n))) != null ? e : null
|
|
35542
35542
|
};
|
|
35543
35543
|
}
|
|
35544
|
-
})
|
|
35545
|
-
Pe.create({
|
|
35544
|
+
}), Rz = Pe.create({
|
|
35546
35545
|
name: "placeholder",
|
|
35547
35546
|
addOptions() {
|
|
35548
35547
|
return {
|
|
@@ -35679,7 +35678,7 @@ Pe.create({
|
|
|
35679
35678
|
};
|
|
35680
35679
|
}
|
|
35681
35680
|
});
|
|
35682
|
-
const
|
|
35681
|
+
const Iz = {
|
|
35683
35682
|
"var(--editor-content-color-gray)": "vEditor-text-gray",
|
|
35684
35683
|
"var(--editor-content-color-orange)": "vEditor-text-orange",
|
|
35685
35684
|
"var(--editor-content-color-yellow)": "vEditor-text-yellow",
|
|
@@ -35689,7 +35688,7 @@ const Rz = {
|
|
|
35689
35688
|
"var(--editor-content-color-pink)": "vEditor-text-pink",
|
|
35690
35689
|
"var(--editor-content-color-red)": "vEditor-text-red",
|
|
35691
35690
|
"var(--editor-content-color-white)": "vEditor-text-white"
|
|
35692
|
-
},
|
|
35691
|
+
}, Dz = /* @__PURE__ */ Ae({
|
|
35693
35692
|
__name: "NotesLinkView",
|
|
35694
35693
|
props: LC,
|
|
35695
35694
|
setup(t) {
|
|
@@ -35705,7 +35704,7 @@ const Rz = {
|
|
|
35705
35704
|
};
|
|
35706
35705
|
}
|
|
35707
35706
|
});
|
|
35708
|
-
var
|
|
35707
|
+
var Lz = /(?:^|\s)(!\[(.+|:?)]\((\S+)(?:(?:\s+)["'](\S+)["'])?\))$/, Bz = rn.create({
|
|
35709
35708
|
name: "image",
|
|
35710
35709
|
addOptions() {
|
|
35711
35710
|
return {
|
|
@@ -35761,7 +35760,7 @@ var Dz = /(?:^|\s)(!\[(.+|:?)]\((\S+)(?:(?:\s+)["'](\S+)["'])?\))$/, Lz = rn.cre
|
|
|
35761
35760
|
addInputRules() {
|
|
35762
35761
|
return [
|
|
35763
35762
|
xw({
|
|
35764
|
-
find:
|
|
35763
|
+
find: Lz,
|
|
35765
35764
|
type: this.type,
|
|
35766
35765
|
getAttributes: (t) => {
|
|
35767
35766
|
const [, , e, n, r] = t;
|
|
@@ -35770,8 +35769,8 @@ var Dz = /(?:^|\s)(!\[(.+|:?)]\((\S+)(?:(?:\s+)["'](\S+)["'])?\))$/, Lz = rn.cre
|
|
|
35770
35769
|
})
|
|
35771
35770
|
];
|
|
35772
35771
|
}
|
|
35773
|
-
}),
|
|
35774
|
-
const
|
|
35772
|
+
}), Pz = Bz;
|
|
35773
|
+
const $z = 50, zz = /* @__PURE__ */ Ae({
|
|
35775
35774
|
__name: "ResizableImageView",
|
|
35776
35775
|
props: ni,
|
|
35777
35776
|
setup(t) {
|
|
@@ -35798,7 +35797,7 @@ const Pz = 50, $z = /* @__PURE__ */ Ae({
|
|
|
35798
35797
|
y = l.value + (o.value === "right" ? S : -S) * k;
|
|
35799
35798
|
const C = ((A = u.value.match(/max-width:\s*([^;]+)/)) == null ? void 0 : A[1]) || "100%";
|
|
35800
35799
|
let T = c.value;
|
|
35801
|
-
C.endsWith("%") ? T = c.value * (parseFloat(C) / 100) : C.endsWith("px") && (T = parseFloat(C)), y = Math.max(
|
|
35800
|
+
C.endsWith("%") ? T = c.value * (parseFloat(C) / 100) : C.endsWith("px") && (T = parseFloat(C)), y = Math.max($z, Math.min(y, T)), i.value.style.width = `${y}px`;
|
|
35802
35801
|
}));
|
|
35803
35802
|
}, b = () => {
|
|
35804
35803
|
var S;
|
|
@@ -35863,7 +35862,7 @@ const Pz = 50, $z = /* @__PURE__ */ Ae({
|
|
|
35863
35862
|
_: 1
|
|
35864
35863
|
}, 8, ["style"]));
|
|
35865
35864
|
}
|
|
35866
|
-
}),
|
|
35865
|
+
}), Fz = Pz.extend({
|
|
35867
35866
|
name: "resizableImage",
|
|
35868
35867
|
addOptions() {
|
|
35869
35868
|
var t;
|
|
@@ -35911,10 +35910,10 @@ const Pz = 50, $z = /* @__PURE__ */ Ae({
|
|
|
35911
35910
|
return ["img", ot(this.options.HTMLAttributes, t)];
|
|
35912
35911
|
},
|
|
35913
35912
|
addNodeView() {
|
|
35914
|
-
return ws(
|
|
35913
|
+
return ws(zz);
|
|
35915
35914
|
}
|
|
35916
35915
|
});
|
|
35917
|
-
var
|
|
35916
|
+
var Hz = (t) => {
|
|
35918
35917
|
if (!t.children.length)
|
|
35919
35918
|
return;
|
|
35920
35919
|
const e = t.querySelectorAll("span");
|
|
@@ -35937,7 +35936,7 @@ var Fz = (t) => {
|
|
|
35937
35936
|
{
|
|
35938
35937
|
tag: "span",
|
|
35939
35938
|
consuming: !1,
|
|
35940
|
-
getAttrs: (t) => t.hasAttribute("style") ? (this.options.mergeNestedSpanStyles &&
|
|
35939
|
+
getAttrs: (t) => t.hasAttribute("style") ? (this.options.mergeNestedSpanStyles && Hz(t), {}) : !1
|
|
35941
35940
|
}
|
|
35942
35941
|
];
|
|
35943
35942
|
},
|
|
@@ -36021,7 +36020,7 @@ var Fz = (t) => {
|
|
|
36021
36020
|
unsetColor: () => ({ chain: t }) => t().setMark("textStyle", { color: null }).removeEmptyTextStyle().run()
|
|
36022
36021
|
};
|
|
36023
36022
|
}
|
|
36024
|
-
}),
|
|
36023
|
+
}), Uz = Pe.create({
|
|
36025
36024
|
name: "fontFamily",
|
|
36026
36025
|
addOptions() {
|
|
36027
36026
|
return {
|
|
@@ -36050,7 +36049,7 @@ var Fz = (t) => {
|
|
|
36050
36049
|
unsetFontFamily: () => ({ chain: t }) => t().setMark("textStyle", { fontFamily: null }).removeEmptyTextStyle().run()
|
|
36051
36050
|
};
|
|
36052
36051
|
}
|
|
36053
|
-
}),
|
|
36052
|
+
}), Vz = Pe.create({
|
|
36054
36053
|
name: "fontSize",
|
|
36055
36054
|
addOptions() {
|
|
36056
36055
|
return {
|
|
@@ -36079,7 +36078,7 @@ var Fz = (t) => {
|
|
|
36079
36078
|
unsetFontSize: () => ({ chain: t }) => t().setMark("textStyle", { fontSize: null }).removeEmptyTextStyle().run()
|
|
36080
36079
|
};
|
|
36081
36080
|
}
|
|
36082
|
-
}),
|
|
36081
|
+
}), qz = Pe.create({
|
|
36083
36082
|
name: "lineHeight",
|
|
36084
36083
|
addOptions() {
|
|
36085
36084
|
return {
|
|
@@ -36113,7 +36112,7 @@ Pe.create({
|
|
|
36113
36112
|
name: "textStyleKit",
|
|
36114
36113
|
addExtensions() {
|
|
36115
36114
|
const t = [];
|
|
36116
|
-
return this.options.backgroundColor !== !1 && t.push(Jx.configure(this.options.backgroundColor)), this.options.color !== !1 && t.push(Zx.configure(this.options.color)), this.options.fontFamily !== !1 && t.push(
|
|
36115
|
+
return this.options.backgroundColor !== !1 && t.push(Jx.configure(this.options.backgroundColor)), this.options.color !== !1 && t.push(Zx.configure(this.options.color)), this.options.fontFamily !== !1 && t.push(Uz.configure(this.options.fontFamily)), this.options.fontSize !== !1 && t.push(Vz.configure(this.options.fontSize)), this.options.lineHeight !== !1 && t.push(qz.configure(this.options.lineHeight)), this.options.textStyle !== !1 && t.push(Xx.configure(this.options.textStyle)), t;
|
|
36117
36116
|
}
|
|
36118
36117
|
});
|
|
36119
36118
|
const Dd = (t, e = -1) => {
|
|
@@ -36132,7 +36131,7 @@ const Dd = (t, e = -1) => {
|
|
|
36132
36131
|
function Mp(t, e, n, r = -1) {
|
|
36133
36132
|
t == null || t.preventDefault(), t == null || t.stopPropagation(), Dd(e, r) && (Nr.value.chain().focus().addColumnAfter().run(), Dd(e, r == -1 ? r : r + 1), n == null || n(e, r));
|
|
36134
36133
|
}
|
|
36135
|
-
const ar = /* @__PURE__ */ new Map(),
|
|
36134
|
+
const ar = /* @__PURE__ */ new Map(), Wz = (t) => ({
|
|
36136
36135
|
state: hh({
|
|
36137
36136
|
isHovering: !1,
|
|
36138
36137
|
isMenuOpen: !1,
|
|
@@ -36154,7 +36153,7 @@ const ar = /* @__PURE__ */ new Map(), qz = (t) => ({
|
|
|
36154
36153
|
subscribers: /* @__PURE__ */ new Set(),
|
|
36155
36154
|
cleanupCallbacks: /* @__PURE__ */ new Set(),
|
|
36156
36155
|
mutationObserver: null
|
|
36157
|
-
}), Sy = (t) => (ar.has(t) || ar.set(t,
|
|
36156
|
+
}), Sy = (t) => (ar.has(t) || ar.set(t, Wz(t)), ar.get(t)), Ey = (t) => {
|
|
36158
36157
|
var n;
|
|
36159
36158
|
const e = ar.get(t);
|
|
36160
36159
|
e && (e.cleanupCallbacks.forEach((r) => r()), (n = e.mutationObserver) == null || n.disconnect(), e.abortController.abort(), Qx(t), delete t.__notesTableHighlightInstance, ar.delete(t));
|
|
@@ -36167,7 +36166,7 @@ const ar = /* @__PURE__ */ new Map(), qz = (t) => ({
|
|
|
36167
36166
|
}), e.clear(), delete t.__notesTableCachedCells), t.querySelectorAll("colgroup > col").forEach((s) => s.classList.remove("active-column")), t.querySelectorAll("th").forEach((s) => s.classList.remove("show-menu"));
|
|
36168
36167
|
const i = ar.get(t);
|
|
36169
36168
|
i && (i.state.activeColumnIndex = -1);
|
|
36170
|
-
},
|
|
36169
|
+
}, jz = (t) => {
|
|
36171
36170
|
if (!t) return;
|
|
36172
36171
|
t.classList.add("is-menu-open");
|
|
36173
36172
|
const e = t.getAttribute("data-last-highlighted-column");
|
|
@@ -36179,7 +36178,7 @@ const ar = /* @__PURE__ */ new Map(), qz = (t) => ({
|
|
|
36179
36178
|
const i = r.querySelectorAll("col")[e];
|
|
36180
36179
|
i && i.classList.add("active-column");
|
|
36181
36180
|
}
|
|
36182
|
-
},
|
|
36181
|
+
}, Gz = (t) => {
|
|
36183
36182
|
if (!t) return;
|
|
36184
36183
|
t.classList.remove("is-menu-open");
|
|
36185
36184
|
const e = t.getAttribute("data-active-column");
|
|
@@ -36306,7 +36305,7 @@ function P0(t) {
|
|
|
36306
36305
|
subscribeToTableUpdates: m
|
|
36307
36306
|
};
|
|
36308
36307
|
}
|
|
36309
|
-
const
|
|
36308
|
+
const Kz = /* @__PURE__ */ Ae({
|
|
36310
36309
|
__name: "NotesTableColumnMenu",
|
|
36311
36310
|
props: ni,
|
|
36312
36311
|
setup(t) {
|
|
@@ -36318,11 +36317,11 @@ const Gz = /* @__PURE__ */ Ae({
|
|
|
36318
36317
|
], s = () => {
|
|
36319
36318
|
var u;
|
|
36320
36319
|
const c = (u = n.value) == null ? void 0 : u.closest("table");
|
|
36321
|
-
|
|
36320
|
+
jz(c);
|
|
36322
36321
|
}, o = () => {
|
|
36323
36322
|
var u;
|
|
36324
36323
|
const c = (u = n.value) == null ? void 0 : u.closest("table");
|
|
36325
|
-
|
|
36324
|
+
Gz(c);
|
|
36326
36325
|
};
|
|
36327
36326
|
function a(c) {
|
|
36328
36327
|
var u;
|
|
@@ -36374,7 +36373,7 @@ const Gz = /* @__PURE__ */ Ae({
|
|
|
36374
36373
|
})
|
|
36375
36374
|
], 512));
|
|
36376
36375
|
}
|
|
36377
|
-
}), e6 = /* @__PURE__ */ ii(
|
|
36376
|
+
}), e6 = /* @__PURE__ */ ii(Kz, [["__scopeId", "data-v-c6415822"]]), as = (t, e = -1) => {
|
|
36378
36377
|
try {
|
|
36379
36378
|
if (!t) return null;
|
|
36380
36379
|
const n = t.querySelectorAll("tr");
|
|
@@ -36391,13 +36390,13 @@ function Tp(t, e, n, r = -1, i = !1) {
|
|
|
36391
36390
|
var o, a;
|
|
36392
36391
|
(o = t == null ? void 0 : t.preventDefault) == null || o.call(t), (a = t == null ? void 0 : t.stopPropagation) == null || a.call(t), as(e, r) && (i ? Nr.value.chain().focus().addRowBefore().run() : Nr.value.chain().focus().addRowAfter().run(), as(e, r == -1 || i ? r : r + 1), n == null || n(e));
|
|
36393
36392
|
}
|
|
36394
|
-
const
|
|
36393
|
+
const Yz = { class: "p-1 px-2 space-y-3" }, Xz = { class: "space-y-1" }, Jz = { class: "grid grid-cols-5 gap-1" }, Zz = ["title", "onClick"], Qz = {
|
|
36395
36394
|
key: 0,
|
|
36396
36395
|
class: "absolute inset-0 flex items-center justify-center"
|
|
36397
|
-
},
|
|
36396
|
+
}, eF = { class: "space-y-2" }, tF = { class: "grid grid-cols-5 gap-1" }, nF = ["title", "onClick"], rF = {
|
|
36398
36397
|
key: 0,
|
|
36399
36398
|
class: "absolute inset-0 flex items-center justify-center"
|
|
36400
|
-
},
|
|
36399
|
+
}, iF = /* @__PURE__ */ Ae({
|
|
36401
36400
|
__name: "NotesTableRowColorPicker",
|
|
36402
36401
|
props: {
|
|
36403
36402
|
currentBgClass: {},
|
|
@@ -36447,10 +36446,10 @@ const Kz = { class: "p-1 px-2 space-y-3" }, Yz = { class: "space-y-1" }, Xz = {
|
|
|
36447
36446
|
})
|
|
36448
36447
|
]),
|
|
36449
36448
|
menu: qe(() => [
|
|
36450
|
-
V("div",
|
|
36451
|
-
V("div",
|
|
36449
|
+
V("div", Yz, [
|
|
36450
|
+
V("div", Xz, [
|
|
36452
36451
|
a[1] || (a[1] = V("small", { class: "text-color opacity-75 -text-fs-3" }, "Background Color", -1)),
|
|
36453
|
-
V("div",
|
|
36452
|
+
V("div", Jz, [
|
|
36454
36453
|
(U(), re(dn, null, Cr(n, ({ className: l, name: c, display: u }) => V("button", {
|
|
36455
36454
|
key: l,
|
|
36456
36455
|
title: c,
|
|
@@ -36464,7 +36463,7 @@ const Kz = { class: "p-1 px-2 space-y-3" }, Yz = { class: "space-y-1" }, Xz = {
|
|
|
36464
36463
|
}),
|
|
36465
36464
|
onClick: (d) => i(l)
|
|
36466
36465
|
}, [
|
|
36467
|
-
o.currentBgClass === l ? (U(), re("div",
|
|
36466
|
+
o.currentBgClass === l ? (U(), re("div", Qz, [...a[0] || (a[0] = [
|
|
36468
36467
|
V("svg", {
|
|
36469
36468
|
class: "w-3 h-3 text-color opacity-75 drop-shadow-sm",
|
|
36470
36469
|
fill: "currentColor",
|
|
@@ -36477,14 +36476,14 @@ const Kz = { class: "p-1 px-2 space-y-3" }, Yz = { class: "space-y-1" }, Xz = {
|
|
|
36477
36476
|
})
|
|
36478
36477
|
], -1)
|
|
36479
36478
|
])])) : ae("", !0)
|
|
36480
|
-
], 14,
|
|
36479
|
+
], 14, Zz)), 64))
|
|
36481
36480
|
])
|
|
36482
36481
|
]),
|
|
36483
|
-
V("div",
|
|
36482
|
+
V("div", eF, [
|
|
36484
36483
|
a[3] || (a[3] = V("div", { class: "flex items-center gap-2" }, [
|
|
36485
36484
|
V("small", { class: "text-color opacity-75 -text-fs-3" }, "Border Color")
|
|
36486
36485
|
], -1)),
|
|
36487
|
-
V("div",
|
|
36486
|
+
V("div", tF, [
|
|
36488
36487
|
(U(), re(dn, null, Cr(r, ({ className: l, name: c, display: u }) => V("button", {
|
|
36489
36488
|
key: l,
|
|
36490
36489
|
title: c,
|
|
@@ -36499,7 +36498,7 @@ const Kz = { class: "p-1 px-2 space-y-3" }, Yz = { class: "space-y-1" }, Xz = {
|
|
|
36499
36498
|
}),
|
|
36500
36499
|
onClick: (d) => s(l)
|
|
36501
36500
|
}, [
|
|
36502
|
-
o.currentBorderClass === l ? (U(), re("div",
|
|
36501
|
+
o.currentBorderClass === l ? (U(), re("div", rF, [...a[2] || (a[2] = [
|
|
36503
36502
|
V("svg", {
|
|
36504
36503
|
class: "w-3 h-3 text-color opacity-75 drop-shadow-sm",
|
|
36505
36504
|
fill: "currentColor",
|
|
@@ -36512,7 +36511,7 @@ const Kz = { class: "p-1 px-2 space-y-3" }, Yz = { class: "space-y-1" }, Xz = {
|
|
|
36512
36511
|
})
|
|
36513
36512
|
], -1)
|
|
36514
36513
|
])])) : ae("", !0)
|
|
36515
|
-
], 14,
|
|
36514
|
+
], 14, nF)), 64))
|
|
36516
36515
|
])
|
|
36517
36516
|
])
|
|
36518
36517
|
])
|
|
@@ -36520,7 +36519,7 @@ const Kz = { class: "p-1 px-2 space-y-3" }, Yz = { class: "space-y-1" }, Xz = {
|
|
|
36520
36519
|
_: 1
|
|
36521
36520
|
}));
|
|
36522
36521
|
}
|
|
36523
|
-
}),
|
|
36522
|
+
}), sF = { class: "absolute top-1/2 left-0 z-[5] grid w-max -translate-y-1/2 items-center vEditor-table-cell-menu-container note-row-menu-container" }, oF = { class: "z-[5] grid h-[25px] w-[18px] cursor-pointer place-content-center rounded-sm border bg-body vEditor-table-row-container-btn bottom-center -mt-4" }, t6 = /* @__PURE__ */ Ae({
|
|
36524
36523
|
__name: "NotesTableRowMenu",
|
|
36525
36524
|
props: {
|
|
36526
36525
|
...ni,
|
|
@@ -36676,7 +36675,7 @@ const Kz = { class: "p-1 px-2 space-y-3" }, Yz = { class: "space-y-1" }, Xz = {
|
|
|
36676
36675
|
() => {
|
|
36677
36676
|
d();
|
|
36678
36677
|
}
|
|
36679
|
-
), (m, g) => (U(), re("div",
|
|
36678
|
+
), (m, g) => (U(), re("div", sF, [
|
|
36680
36679
|
he(Dr, {
|
|
36681
36680
|
options: a.value,
|
|
36682
36681
|
selected: "",
|
|
@@ -36688,7 +36687,7 @@ const Kz = { class: "p-1 px-2 space-y-3" }, Yz = { class: "space-y-1" }, Xz = {
|
|
|
36688
36687
|
onOnSelect: p
|
|
36689
36688
|
}, {
|
|
36690
36689
|
trigger: qe(() => [
|
|
36691
|
-
V("div",
|
|
36690
|
+
V("div", oF, [
|
|
36692
36691
|
he(lr, {
|
|
36693
36692
|
icon: "drag-handle-dots",
|
|
36694
36693
|
class: "h-5! w-5! text-color"
|
|
@@ -36696,7 +36695,7 @@ const Kz = { class: "p-1 px-2 space-y-3" }, Yz = { class: "space-y-1" }, Xz = {
|
|
|
36696
36695
|
])
|
|
36697
36696
|
]),
|
|
36698
36697
|
menu: qe(() => [
|
|
36699
|
-
he(
|
|
36698
|
+
he(iF, {
|
|
36700
36699
|
currentBgClass: r.value,
|
|
36701
36700
|
currentBorderClass: i.value,
|
|
36702
36701
|
onBackgroundColorChange: f,
|
|
@@ -36707,7 +36706,7 @@ const Kz = { class: "p-1 px-2 space-y-3" }, Yz = { class: "space-y-1" }, Xz = {
|
|
|
36707
36706
|
}, 8, ["options"])
|
|
36708
36707
|
]));
|
|
36709
36708
|
}
|
|
36710
|
-
}),
|
|
36709
|
+
}), aF = /* @__PURE__ */ Ae({
|
|
36711
36710
|
__name: "NotesTableHeader",
|
|
36712
36711
|
props: ni,
|
|
36713
36712
|
setup(t) {
|
|
@@ -36839,7 +36838,7 @@ const Kz = { class: "p-1 px-2 space-y-3" }, Yz = { class: "space-y-1" }, Xz = {
|
|
|
36839
36838
|
function Ap(t, e) {
|
|
36840
36839
|
return e ? ["width", `${Math.max(e, t)}px`] : ["min-width", `${t}px`];
|
|
36841
36840
|
}
|
|
36842
|
-
function
|
|
36841
|
+
function lF(t, e, n) {
|
|
36843
36842
|
let r = !1, i = 0, s = !1, o = 0;
|
|
36844
36843
|
const a = () => {
|
|
36845
36844
|
const h = t.closest(".tableWrapper");
|
|
@@ -36890,13 +36889,13 @@ function aF(t, e, n) {
|
|
|
36890
36889
|
};
|
|
36891
36890
|
return t.addEventListener("mousedown", l), f;
|
|
36892
36891
|
}
|
|
36893
|
-
const
|
|
36892
|
+
const cF = (t, e, n) => {
|
|
36894
36893
|
const r = document.createElement("div");
|
|
36895
36894
|
r.className = "table-buttons-container";
|
|
36896
36895
|
const i = document.createElement("button");
|
|
36897
36896
|
i.textContent = "+", i.className = "table-add-row-button", i.setAttribute("title", "Click to add a row, or drag to add/remove multiple"), i.type = "button";
|
|
36898
36897
|
const s = document.createElement("button");
|
|
36899
|
-
s.textContent = "+", s.className = "table-add-column-button", s.setAttribute("title", "Add Column"), s.type = "button", r.appendChild(i), r.appendChild(s), t.appendChild(r),
|
|
36898
|
+
s.textContent = "+", s.className = "table-add-column-button", s.setAttribute("title", "Add Column"), s.type = "button", r.appendChild(i), r.appendChild(s), t.appendChild(r), lF(i, e, n), s.addEventListener("click", (o) => Mp(o, e, n));
|
|
36900
36899
|
};
|
|
36901
36900
|
function Cy(t, e, n, r, i, s) {
|
|
36902
36901
|
var u;
|
|
@@ -36925,7 +36924,7 @@ function Cy(t, e, n, r, i, s) {
|
|
|
36925
36924
|
}
|
|
36926
36925
|
a ? (n.style.width = `${o}px`, n.style.minWidth = "") : (n.style.width = "", n.style.minWidth = `${o}px`);
|
|
36927
36926
|
}
|
|
36928
|
-
class
|
|
36927
|
+
class uF {
|
|
36929
36928
|
constructor(e, n) {
|
|
36930
36929
|
Ts(this, "node");
|
|
36931
36930
|
Ts(this, "cellMinWidth");
|
|
@@ -36933,7 +36932,7 @@ class cF {
|
|
|
36933
36932
|
Ts(this, "table");
|
|
36934
36933
|
Ts(this, "colgroup");
|
|
36935
36934
|
Ts(this, "contentDOM");
|
|
36936
|
-
this.node = e, this.cellMinWidth = n, this.dom = document.createElement("div"), this.dom.className = "tableWrapper", this.table = this.dom.appendChild(document.createElement("table")), this.colgroup = this.table.appendChild(document.createElement("colgroup")), Cy(e, this.colgroup, this.table, n), this.contentDOM = this.table.appendChild(document.createElement("tbody")),
|
|
36935
|
+
this.node = e, this.cellMinWidth = n, this.dom = document.createElement("div"), this.dom.className = "tableWrapper", this.table = this.dom.appendChild(document.createElement("table")), this.colgroup = this.table.appendChild(document.createElement("colgroup")), Cy(e, this.colgroup, this.table, n), this.contentDOM = this.table.appendChild(document.createElement("tbody")), cF(this.dom, this.table, this.setUpColumnHover), this.setUpColumnHover(this.table);
|
|
36937
36936
|
}
|
|
36938
36937
|
setUpColumnHover(e) {
|
|
36939
36938
|
const { setupColumnHover: n, refreshCache: r } = P0();
|
|
@@ -36946,7 +36945,7 @@ class cF {
|
|
|
36946
36945
|
return e.type === "attributes" && (e.target === this.table || this.colgroup.contains(e.target));
|
|
36947
36946
|
}
|
|
36948
36947
|
}
|
|
36949
|
-
function
|
|
36948
|
+
function dF(t, e, n, r) {
|
|
36950
36949
|
let i = 0, s = !0;
|
|
36951
36950
|
const o = [], a = t.firstChild;
|
|
36952
36951
|
if (!a)
|
|
@@ -36966,7 +36965,7 @@ function uF(t, e, n, r) {
|
|
|
36966
36965
|
function My(t, e) {
|
|
36967
36966
|
return t.createAndFill();
|
|
36968
36967
|
}
|
|
36969
|
-
function
|
|
36968
|
+
function fF(t) {
|
|
36970
36969
|
if (t.cached.tableNodeTypes)
|
|
36971
36970
|
return t.cached.tableNodeTypes;
|
|
36972
36971
|
const e = {};
|
|
@@ -36975,8 +36974,8 @@ function dF(t) {
|
|
|
36975
36974
|
r.spec.tableRole && (e[r.spec.tableRole] = r);
|
|
36976
36975
|
}), t.cached.tableNodeTypes = e, e;
|
|
36977
36976
|
}
|
|
36978
|
-
function
|
|
36979
|
-
const s =
|
|
36977
|
+
function hF(t, e, n, r, i) {
|
|
36978
|
+
const s = fF(t), o = [], a = [];
|
|
36980
36979
|
for (let c = 0; c < n; c += 1) {
|
|
36981
36980
|
const u = My(s.cell);
|
|
36982
36981
|
if (u && a.push(u), r) {
|
|
@@ -36989,12 +36988,12 @@ function fF(t, e, n, r, i) {
|
|
|
36989
36988
|
l.push(s.row.createChecked(null, r && c === 0 ? o : a));
|
|
36990
36989
|
return s.table.createChecked(null, l);
|
|
36991
36990
|
}
|
|
36992
|
-
function
|
|
36991
|
+
function pF(t) {
|
|
36993
36992
|
return t instanceof et;
|
|
36994
36993
|
}
|
|
36995
36994
|
const qc = ({ editor: t }) => {
|
|
36996
36995
|
const { selection: e } = t.state;
|
|
36997
|
-
if (!
|
|
36996
|
+
if (!pF(e))
|
|
36998
36997
|
return !1;
|
|
36999
36998
|
let n = 0;
|
|
37000
36999
|
const r = Pu(e.ranges[0].$from, (s) => s.type.name === "table");
|
|
@@ -37015,7 +37014,7 @@ const qc = ({ editor: t }) => {
|
|
|
37015
37014
|
handleWidth: 5,
|
|
37016
37015
|
cellMinWidth: 25,
|
|
37017
37016
|
// TODO: fix
|
|
37018
|
-
View:
|
|
37017
|
+
View: uF,
|
|
37019
37018
|
lastColumnResizable: !0,
|
|
37020
37019
|
allowTableNodeSelection: !1
|
|
37021
37020
|
};
|
|
@@ -37028,7 +37027,7 @@ const qc = ({ editor: t }) => {
|
|
|
37028
37027
|
return [{ tag: "table" }];
|
|
37029
37028
|
},
|
|
37030
37029
|
renderHTML({ node: t, HTMLAttributes: e }) {
|
|
37031
|
-
const { colgroup: n, tableWidth: r, tableMinWidth: i } =
|
|
37030
|
+
const { colgroup: n, tableWidth: r, tableMinWidth: i } = dF(t, this.options.cellMinWidth);
|
|
37032
37031
|
return [
|
|
37033
37032
|
"table",
|
|
37034
37033
|
ot(this.options.HTMLAttributes, e, {
|
|
@@ -37041,7 +37040,7 @@ const qc = ({ editor: t }) => {
|
|
|
37041
37040
|
addCommands() {
|
|
37042
37041
|
return {
|
|
37043
37042
|
insertTable: ({ rows: t = 3, cols: e = 3, withHeaderRow: n = !0 } = {}) => ({ tr: r, dispatch: i, editor: s }) => {
|
|
37044
|
-
const o =
|
|
37043
|
+
const o = hF(s.schema, t, e, n);
|
|
37045
37044
|
if (i) {
|
|
37046
37045
|
const a = r.selection.from + 1;
|
|
37047
37046
|
r.replaceSelectionWith(o).scrollIntoView().setSelection(Q.near(r.doc.resolve(a)));
|
|
@@ -37159,7 +37158,7 @@ Pe.create({
|
|
|
37159
37158
|
return this.options.table !== !1 && t.push(s6.configure(this.options.table)), this.options.tableCell !== !1 && t.push(n6.configure(this.options.tableCell)), this.options.tableHeader !== !1 && t.push(r6.configure(this.options.tableHeader)), this.options.tableRow !== !1 && t.push(i6.configure(this.options.tableRow)), t;
|
|
37160
37159
|
}
|
|
37161
37160
|
});
|
|
37162
|
-
const
|
|
37161
|
+
const mF = /* @__PURE__ */ Ae({
|
|
37163
37162
|
__name: "NotesTableRow",
|
|
37164
37163
|
props: ni,
|
|
37165
37164
|
setup(t) {
|
|
@@ -37173,10 +37172,10 @@ const pF = /* @__PURE__ */ Ae({
|
|
|
37173
37172
|
}, null, -1)
|
|
37174
37173
|
])], 2));
|
|
37175
37174
|
}
|
|
37176
|
-
}),
|
|
37175
|
+
}), gF = /* @__PURE__ */ ii(mF, [["__scopeId", "data-v-7078823e"]]), bF = {
|
|
37177
37176
|
key: 0,
|
|
37178
37177
|
class: "table-cell-header-menu"
|
|
37179
|
-
},
|
|
37178
|
+
}, vF = /* @__PURE__ */ Ae({
|
|
37180
37179
|
__name: "NotesTableCell",
|
|
37181
37180
|
props: ni,
|
|
37182
37181
|
setup(t) {
|
|
@@ -37202,7 +37201,7 @@ const pF = /* @__PURE__ */ Ae({
|
|
|
37202
37201
|
"data-node-view-content": "",
|
|
37203
37202
|
class: "table-cell"
|
|
37204
37203
|
}, null, -1)),
|
|
37205
|
-
s.value === 0 ? (U(), re("div",
|
|
37204
|
+
s.value === 0 ? (U(), re("div", bF, [
|
|
37206
37205
|
he(e6, el(tl(e)), null, 16)
|
|
37207
37206
|
])) : ae("", !0),
|
|
37208
37207
|
De(o) ? (U(), we(t6, qd({ key: 1 }, e, {
|
|
@@ -37213,30 +37212,30 @@ const pF = /* @__PURE__ */ Ae({
|
|
|
37213
37212
|
}), null, 16, ["table", "position", "cellRef"])) : ae("", !0)
|
|
37214
37213
|
], 512));
|
|
37215
37214
|
}
|
|
37216
|
-
}),
|
|
37215
|
+
}), yF = s6.extend({}), wF = r6.extend({
|
|
37217
37216
|
addNodeView() {
|
|
37218
|
-
return ws(
|
|
37217
|
+
return ws(aF, { stopEvent: (t) => !1 });
|
|
37219
37218
|
}
|
|
37220
37219
|
}), Gf = n6.extend({
|
|
37221
37220
|
addNodeView() {
|
|
37222
|
-
return ws(
|
|
37221
|
+
return ws(vF, { stopEvent: (t) => !1 });
|
|
37223
37222
|
}
|
|
37224
|
-
}),
|
|
37223
|
+
}), xF = i6.extend({
|
|
37225
37224
|
addNodeView() {
|
|
37226
|
-
return ws(
|
|
37225
|
+
return ws(gF, { stopEvent: (t) => !1 });
|
|
37227
37226
|
}
|
|
37228
|
-
}),
|
|
37227
|
+
}), kF = Pe.create({
|
|
37229
37228
|
name: "notesTableExtension",
|
|
37230
37229
|
addExtensions() {
|
|
37231
37230
|
return [
|
|
37232
|
-
|
|
37231
|
+
yF.configure({
|
|
37233
37232
|
lastColumnResizable: !1,
|
|
37234
37233
|
resizable: !0,
|
|
37235
37234
|
// Increased min width from 25 to 100 to prevent squashed columns
|
|
37236
37235
|
cellMinWidth: 100
|
|
37237
37236
|
}),
|
|
37238
|
-
yF,
|
|
37239
37237
|
wF,
|
|
37238
|
+
xF,
|
|
37240
37239
|
Gf == null ? void 0 : Gf.configure({
|
|
37241
37240
|
HTMLAttributes: {
|
|
37242
37241
|
id: "vEditor-table-cell"
|
|
@@ -37244,7 +37243,7 @@ const pF = /* @__PURE__ */ Ae({
|
|
|
37244
37243
|
})
|
|
37245
37244
|
];
|
|
37246
37245
|
}
|
|
37247
|
-
}),
|
|
37246
|
+
}), SF = /* @__PURE__ */ Ae({
|
|
37248
37247
|
__name: "Slider",
|
|
37249
37248
|
props: {
|
|
37250
37249
|
min: {},
|
|
@@ -37311,15 +37310,15 @@ const pF = /* @__PURE__ */ Ae({
|
|
|
37311
37310
|
], 544)
|
|
37312
37311
|
], 2));
|
|
37313
37312
|
}
|
|
37314
|
-
}), La = /* @__PURE__ */ ii(
|
|
37313
|
+
}), La = /* @__PURE__ */ ii(SF, [["__scopeId", "data-v-0ab0598f"]]), EF = { class: "masonry-grid-controls" }, CF = {
|
|
37315
37314
|
class: "grid-menu-btn",
|
|
37316
37315
|
type: "button",
|
|
37317
37316
|
"aria-label": "Grid Menu",
|
|
37318
37317
|
tabindex: "-1"
|
|
37319
|
-
},
|
|
37318
|
+
}, MF = { class: "border-b border-gray-300 mb-0.5" }, TF = { class: "space-y-3 pt-1" }, AF = { class: "setting-section mt-3 border-t pt-2 border-gray-300" }, NF = { class: "border-color-grid pt-2" }, OF = ["title", "onClick"], _F = {
|
|
37320
37319
|
key: 0,
|
|
37321
37320
|
class: "checkmark"
|
|
37322
|
-
},
|
|
37321
|
+
}, RF = { class: "setting-section mt-3 border-t pt-2 pb-3 border-gray-300" }, IF = { class: "color-grid masonry-color-grid pt-2" }, DF = ["title", "onClick"], LF = /* @__PURE__ */ Ae({
|
|
37323
37322
|
__name: "MasonryGrid",
|
|
37324
37323
|
props: ni,
|
|
37325
37324
|
setup(t) {
|
|
@@ -37421,7 +37420,7 @@ const pF = /* @__PURE__ */ Ae({
|
|
|
37421
37420
|
})
|
|
37422
37421
|
}, {
|
|
37423
37422
|
default: qe(() => [
|
|
37424
|
-
V("div",
|
|
37423
|
+
V("div", EF, [
|
|
37425
37424
|
he(Dr, {
|
|
37426
37425
|
options: n.value,
|
|
37427
37426
|
position: "bottom-start",
|
|
@@ -37431,7 +37430,7 @@ const pF = /* @__PURE__ */ Ae({
|
|
|
37431
37430
|
className: "!min-w-[135px] !w-[135px] !px-2.5 "
|
|
37432
37431
|
}, {
|
|
37433
37432
|
trigger: qe(() => [
|
|
37434
|
-
V("button",
|
|
37433
|
+
V("button", CF, [
|
|
37435
37434
|
he(lr, {
|
|
37436
37435
|
icon: "dots-vertical",
|
|
37437
37436
|
class: "h-5! w-5!"
|
|
@@ -37439,8 +37438,8 @@ const pF = /* @__PURE__ */ Ae({
|
|
|
37439
37438
|
])
|
|
37440
37439
|
]),
|
|
37441
37440
|
menu: qe(() => [
|
|
37442
|
-
V("div",
|
|
37443
|
-
V("div",
|
|
37441
|
+
V("div", MF, [
|
|
37442
|
+
V("div", TF, [
|
|
37444
37443
|
he(La, {
|
|
37445
37444
|
min: 0,
|
|
37446
37445
|
max: 32,
|
|
@@ -37475,22 +37474,22 @@ const pF = /* @__PURE__ */ Ae({
|
|
|
37475
37474
|
ariaLabel: "Padding Y"
|
|
37476
37475
|
}, null, 8, ["value"])
|
|
37477
37476
|
]),
|
|
37478
|
-
V("div",
|
|
37477
|
+
V("div", AF, [
|
|
37479
37478
|
T[0] || (T[0] = V("label", { class: "setting-label" }, "Border Color", -1)),
|
|
37480
|
-
V("div",
|
|
37479
|
+
V("div", NF, [
|
|
37481
37480
|
(U(), re(dn, null, Cr(r, (A) => V("button", {
|
|
37482
37481
|
key: A.value,
|
|
37483
37482
|
title: A.name,
|
|
37484
37483
|
class: Le(["border-color-swatch", A.className]),
|
|
37485
37484
|
onClick: (_) => x(A.value)
|
|
37486
37485
|
}, [
|
|
37487
|
-
s.value === A.value ? (U(), re("span",
|
|
37488
|
-
], 10,
|
|
37486
|
+
s.value === A.value ? (U(), re("span", _F, "✓")) : ae("", !0)
|
|
37487
|
+
], 10, OF)), 64))
|
|
37489
37488
|
])
|
|
37490
37489
|
]),
|
|
37491
|
-
V("div",
|
|
37490
|
+
V("div", RF, [
|
|
37492
37491
|
T[1] || (T[1] = V("label", { class: "setting-label" }, "Item Background", -1)),
|
|
37493
|
-
V("div",
|
|
37492
|
+
V("div", IF, [
|
|
37494
37493
|
(U(), re(dn, null, Cr(i, (A) => V("button", {
|
|
37495
37494
|
key: A.value || "default",
|
|
37496
37495
|
title: A.name,
|
|
@@ -37501,7 +37500,7 @@ const pF = /* @__PURE__ */ Ae({
|
|
|
37501
37500
|
key: 0,
|
|
37502
37501
|
class: Le(["checkmark", { "text-black": A.value !== "black" }])
|
|
37503
37502
|
}, "✓", 2)) : ae("", !0)
|
|
37504
|
-
], 10,
|
|
37503
|
+
], 10, DF)), 64))
|
|
37505
37504
|
])
|
|
37506
37505
|
])
|
|
37507
37506
|
])
|
|
@@ -37537,7 +37536,7 @@ const pF = /* @__PURE__ */ Ae({
|
|
|
37537
37536
|
_: 1
|
|
37538
37537
|
}, 8, ["class", "style"]));
|
|
37539
37538
|
}
|
|
37540
|
-
}),
|
|
37539
|
+
}), BF = /* @__PURE__ */ ii(LF, [["__scopeId", "data-v-30749573"]]), PF = rn.create({
|
|
37541
37540
|
name: "masonryGrid",
|
|
37542
37541
|
group: "block",
|
|
37543
37542
|
content: "masonryGridColumn+",
|
|
@@ -37610,7 +37609,7 @@ const pF = /* @__PURE__ */ Ae({
|
|
|
37610
37609
|
];
|
|
37611
37610
|
},
|
|
37612
37611
|
addNodeView() {
|
|
37613
|
-
return ws(
|
|
37612
|
+
return ws(BF);
|
|
37614
37613
|
},
|
|
37615
37614
|
addKeyboardShortcuts() {
|
|
37616
37615
|
return {
|
|
@@ -37618,7 +37617,7 @@ const pF = /* @__PURE__ */ Ae({
|
|
|
37618
37617
|
"Shift-Tab": () => this.editor.commands.goToPreviousMasonryItem()
|
|
37619
37618
|
};
|
|
37620
37619
|
}
|
|
37621
|
-
}),
|
|
37620
|
+
}), $F = rn.create({
|
|
37622
37621
|
name: "masonryGridColumn",
|
|
37623
37622
|
group: "block",
|
|
37624
37623
|
content: "masonryGridItem+",
|
|
@@ -37822,7 +37821,7 @@ const pF = /* @__PURE__ */ Ae({
|
|
|
37822
37821
|
];
|
|
37823
37822
|
}
|
|
37824
37823
|
});
|
|
37825
|
-
function
|
|
37824
|
+
function zF(t, e) {
|
|
37826
37825
|
let n;
|
|
37827
37826
|
return function(...r) {
|
|
37828
37827
|
clearTimeout(n), n = setTimeout(() => {
|
|
@@ -37830,15 +37829,15 @@ function $F(t, e) {
|
|
|
37830
37829
|
}, e);
|
|
37831
37830
|
};
|
|
37832
37831
|
}
|
|
37833
|
-
const
|
|
37832
|
+
const FF = { class: "masonry-item-controls" }, HF = {
|
|
37834
37833
|
class: "grid-menu-btn item-menu-btn",
|
|
37835
37834
|
type: "button",
|
|
37836
37835
|
"aria-label": "Grid Menu",
|
|
37837
37836
|
tabindex: "-1"
|
|
37838
|
-
},
|
|
37837
|
+
}, UF = { class: "color-picker" }, VF = { class: "color-grid" }, qF = ["title", "onClick"], WF = {
|
|
37839
37838
|
key: 0,
|
|
37840
37839
|
class: "checkmark"
|
|
37841
|
-
},
|
|
37840
|
+
}, jF = { class: "pt-2 px-1.5 pb-2" }, GF = /* @__PURE__ */ Ae({
|
|
37842
37841
|
__name: "MasonryGridItem",
|
|
37843
37842
|
props: ni,
|
|
37844
37843
|
setup(t) {
|
|
@@ -37887,7 +37886,7 @@ const zF = { class: "masonry-item-controls" }, FF = {
|
|
|
37887
37886
|
u.value = g * S + b;
|
|
37888
37887
|
} catch {
|
|
37889
37888
|
}
|
|
37890
|
-
}, f =
|
|
37889
|
+
}, f = zF(d, 100), h = ({ transaction: p }) => {
|
|
37891
37890
|
p.docChanged && f();
|
|
37892
37891
|
};
|
|
37893
37892
|
return tn(() => {
|
|
@@ -37906,7 +37905,7 @@ const zF = { class: "masonry-item-controls" }, FF = {
|
|
|
37906
37905
|
})
|
|
37907
37906
|
}, {
|
|
37908
37907
|
default: qe(() => [
|
|
37909
|
-
V("div",
|
|
37908
|
+
V("div", FF, [
|
|
37910
37909
|
he(Dr, {
|
|
37911
37910
|
options: n.value,
|
|
37912
37911
|
offset: [0, 0],
|
|
@@ -37916,7 +37915,7 @@ const zF = { class: "masonry-item-controls" }, FF = {
|
|
|
37916
37915
|
"class-name": "!min-w-[125px] !w-[125px]"
|
|
37917
37916
|
}, {
|
|
37918
37917
|
trigger: qe(() => [
|
|
37919
|
-
V("button",
|
|
37918
|
+
V("button", HF, [
|
|
37920
37919
|
he(lr, {
|
|
37921
37920
|
icon: "dots-vertical",
|
|
37922
37921
|
class: "h-4! w-4!"
|
|
@@ -37924,20 +37923,20 @@ const zF = { class: "masonry-item-controls" }, FF = {
|
|
|
37924
37923
|
])
|
|
37925
37924
|
]),
|
|
37926
37925
|
menu: qe(() => [
|
|
37927
|
-
V("div",
|
|
37926
|
+
V("div", UF, [
|
|
37928
37927
|
m[0] || (m[0] = V("div", { class: "color-picker-title" }, "Background Color", -1)),
|
|
37929
|
-
V("div",
|
|
37928
|
+
V("div", VF, [
|
|
37930
37929
|
(U(), re(dn, null, Cr(r, (g) => V("button", {
|
|
37931
37930
|
key: g.value || "default",
|
|
37932
37931
|
title: g.name,
|
|
37933
37932
|
class: Le([g.className, "color-swatch"]),
|
|
37934
37933
|
onClick: (b) => c(g.value)
|
|
37935
37934
|
}, [
|
|
37936
|
-
e.node.attrs.backgroundColor === g.value ? (U(), re("span",
|
|
37937
|
-
], 10,
|
|
37935
|
+
e.node.attrs.backgroundColor === g.value ? (U(), re("span", WF, "✓")) : ae("", !0)
|
|
37936
|
+
], 10, qF)), 64))
|
|
37938
37937
|
])
|
|
37939
37938
|
]),
|
|
37940
|
-
V("div",
|
|
37939
|
+
V("div", jF, [
|
|
37941
37940
|
m[1] || (m[1] = V("div", { class: "text-[0.8em] font-[450] text-[var(--editor-content-color-heading)] mb-2 px-1" }, " Padding ", -1)),
|
|
37942
37941
|
he(La, {
|
|
37943
37942
|
min: 0,
|
|
@@ -37970,7 +37969,7 @@ const zF = { class: "masonry-item-controls" }, FF = {
|
|
|
37970
37969
|
_: 1
|
|
37971
37970
|
}, 8, ["class", "style"]));
|
|
37972
37971
|
}
|
|
37973
|
-
}),
|
|
37972
|
+
}), KF = /* @__PURE__ */ ii(GF, [["__scopeId", "data-v-a4e16bf3"]]), YF = rn.create({
|
|
37974
37973
|
name: "masonryGridItem",
|
|
37975
37974
|
group: "block",
|
|
37976
37975
|
// Restrict content - no nested grid items, similar to table cells
|
|
@@ -38023,12 +38022,12 @@ const zF = { class: "masonry-item-controls" }, FF = {
|
|
|
38023
38022
|
];
|
|
38024
38023
|
},
|
|
38025
38024
|
addNodeView() {
|
|
38026
|
-
return ws(
|
|
38025
|
+
return ws(KF);
|
|
38027
38026
|
}
|
|
38028
|
-
}),
|
|
38027
|
+
}), XF = Pe.create({
|
|
38029
38028
|
name: "masonryGridExtension",
|
|
38030
38029
|
addExtensions() {
|
|
38031
|
-
return [
|
|
38030
|
+
return [PF, $F, YF];
|
|
38032
38031
|
},
|
|
38033
38032
|
addCommands() {
|
|
38034
38033
|
return {
|
|
@@ -38165,7 +38164,7 @@ const zF = { class: "masonry-item-controls" }, FF = {
|
|
|
38165
38164
|
}
|
|
38166
38165
|
};
|
|
38167
38166
|
}
|
|
38168
|
-
}),
|
|
38167
|
+
}), JF = ({
|
|
38169
38168
|
key: t,
|
|
38170
38169
|
editor: e,
|
|
38171
38170
|
onPaste: n,
|
|
@@ -38197,7 +38196,7 @@ const zF = { class: "masonry-item-controls" }, FF = {
|
|
|
38197
38196
|
return u && ["tableCell", "tableHeader"].includes(u.type.name) && l.includes("<table") ? (o.preventDefault(), o.stopPropagation(), !0) : a.some((h) => h.type.startsWith("image/")) ? (o.preventDefault(), o.stopPropagation(), n(e, a, l), !0) : l.length > 0 ? !1 : (o.preventDefault(), o.stopPropagation(), n(e, a, l), !0);
|
|
38198
38197
|
}
|
|
38199
38198
|
}
|
|
38200
|
-
}),
|
|
38199
|
+
}), ZF = Pe.create({
|
|
38201
38200
|
name: "fileHandler",
|
|
38202
38201
|
addOptions() {
|
|
38203
38202
|
return {
|
|
@@ -38208,7 +38207,7 @@ const zF = { class: "masonry-item-controls" }, FF = {
|
|
|
38208
38207
|
},
|
|
38209
38208
|
addProseMirrorPlugins() {
|
|
38210
38209
|
return [
|
|
38211
|
-
|
|
38210
|
+
JF({
|
|
38212
38211
|
key: new me(this.name),
|
|
38213
38212
|
editor: this.editor,
|
|
38214
38213
|
allowedMimeTypes: this.options.allowedMimeTypes,
|
|
@@ -38217,13 +38216,13 @@ const zF = { class: "masonry-item-controls" }, FF = {
|
|
|
38217
38216
|
})
|
|
38218
38217
|
];
|
|
38219
38218
|
}
|
|
38220
|
-
}),
|
|
38219
|
+
}), QF = {
|
|
38221
38220
|
key: 0,
|
|
38222
38221
|
class: "iframe-overlay-controls"
|
|
38223
|
-
},
|
|
38222
|
+
}, eH = {
|
|
38224
38223
|
key: 0,
|
|
38225
38224
|
class: "iframe-placeholder"
|
|
38226
|
-
},
|
|
38225
|
+
}, tH = { class: "iframe-input-container" }, nH = ["src", "allowfullscreen"], rH = 200, iH = /* @__PURE__ */ Ae({
|
|
38227
38226
|
__name: "IframeView",
|
|
38228
38227
|
props: ni,
|
|
38229
38228
|
setup(t) {
|
|
@@ -38315,7 +38314,7 @@ const zF = { class: "masonry-item-controls" }, FF = {
|
|
|
38315
38314
|
const $ = D.clientX - l.value;
|
|
38316
38315
|
let j;
|
|
38317
38316
|
const I = d.value ? 1 : 2, z = (a.value === "right" ? $ : -$) * I;
|
|
38318
|
-
j = c.value + z, j = Math.max(
|
|
38317
|
+
j = c.value + z, j = Math.max(rH, Math.min(j, g.value)), r.value.style.width = `${j}px`;
|
|
38319
38318
|
}));
|
|
38320
38319
|
}, P = () => {
|
|
38321
38320
|
var $;
|
|
@@ -38336,7 +38335,7 @@ const zF = { class: "masonry-item-controls" }, FF = {
|
|
|
38336
38335
|
style: Kt(h.value)
|
|
38337
38336
|
}, {
|
|
38338
38337
|
default: qe(() => [
|
|
38339
|
-
s.value ? ae("", !0) : (U(), re("div",
|
|
38338
|
+
s.value ? ae("", !0) : (U(), re("div", QF, [
|
|
38340
38339
|
he(ye, {
|
|
38341
38340
|
icon: "align-left",
|
|
38342
38341
|
variant: C.value === "left" ? "primary" : "transparent",
|
|
@@ -38375,11 +38374,11 @@ const zF = { class: "masonry-item-controls" }, FF = {
|
|
|
38375
38374
|
class: Le(["iframe-content-wrapper", { "is-resizing": o.value }]),
|
|
38376
38375
|
style: Kt(p.value)
|
|
38377
38376
|
}, [
|
|
38378
|
-
s.value ? (U(), re("div",
|
|
38377
|
+
s.value ? (U(), re("div", eH, [
|
|
38379
38378
|
$[4] || ($[4] = V("div", { class: "flex items-center gap-2 opacity-90" }, [
|
|
38380
38379
|
V("span", { class: "font-medium" }, "Embed Video or Website")
|
|
38381
38380
|
], -1)),
|
|
38382
|
-
V("div",
|
|
38381
|
+
V("div", tH, [
|
|
38383
38382
|
Fp(V("input", {
|
|
38384
38383
|
"onUpdate:modelValue": $[0] || ($[0] = (j) => i.value = j),
|
|
38385
38384
|
type: "text",
|
|
@@ -38411,7 +38410,7 @@ const zF = { class: "masonry-item-controls" }, FF = {
|
|
|
38411
38410
|
style: Kt({ height: m.value.height || "100%" }),
|
|
38412
38411
|
frameborder: "0",
|
|
38413
38412
|
loading: "lazy"
|
|
38414
|
-
}, null, 14,
|
|
38413
|
+
}, null, 14, nH)
|
|
38415
38414
|
], 4)),
|
|
38416
38415
|
s.value ? ae("", !0) : (U(), re("div", {
|
|
38417
38416
|
key: 2,
|
|
@@ -38428,7 +38427,7 @@ const zF = { class: "masonry-item-controls" }, FF = {
|
|
|
38428
38427
|
_: 1
|
|
38429
38428
|
}, 8, ["style"]));
|
|
38430
38429
|
}
|
|
38431
|
-
}),
|
|
38430
|
+
}), sH = rn.create({
|
|
38432
38431
|
name: "iframe",
|
|
38433
38432
|
group: "block",
|
|
38434
38433
|
atom: !0,
|
|
@@ -38479,9 +38478,9 @@ const zF = { class: "masonry-item-controls" }, FF = {
|
|
|
38479
38478
|
};
|
|
38480
38479
|
},
|
|
38481
38480
|
addNodeView() {
|
|
38482
|
-
return ws(
|
|
38481
|
+
return ws(iH);
|
|
38483
38482
|
}
|
|
38484
|
-
}), Ld = (t, e) => e.view.domAtPos(t).node.offsetParent !== null,
|
|
38483
|
+
}), Ld = (t, e) => e.view.domAtPos(t).node.offsetParent !== null, oH = (t, e, n) => {
|
|
38485
38484
|
for (let r = t.depth; r > 0; r -= 1) {
|
|
38486
38485
|
const i = t.node(r), s = e(i), o = Ld(t.start(r), n);
|
|
38487
38486
|
if (s && o)
|
|
@@ -38507,7 +38506,7 @@ const zF = { class: "masonry-item-controls" }, FF = {
|
|
|
38507
38506
|
return !1;
|
|
38508
38507
|
const { tr: m } = n, g = new ct(p);
|
|
38509
38508
|
return m.setSelection(g), m.scrollIntoView(), r.dispatch(m), !0;
|
|
38510
|
-
},
|
|
38509
|
+
}, aH = rn.create({
|
|
38511
38510
|
name: "details",
|
|
38512
38511
|
content: "detailsSummary detailsContent",
|
|
38513
38512
|
group: "block",
|
|
@@ -38721,7 +38720,7 @@ const zF = { class: "masonry-item-controls" }, FF = {
|
|
|
38721
38720
|
if (r.view.composing || !t.some((p) => p.selectionSet) || !e.selection.empty || !n.selection.empty || !rw(n, i.name)) return;
|
|
38722
38721
|
const { $from: a } = n.selection;
|
|
38723
38722
|
if (Ld(a.pos, r)) return;
|
|
38724
|
-
const c =
|
|
38723
|
+
const c = oH(a, (p) => p.type === i, r);
|
|
38725
38724
|
if (!c) return;
|
|
38726
38725
|
const u = Vs(
|
|
38727
38726
|
c.node,
|
|
@@ -38734,7 +38733,7 @@ const zF = { class: "masonry-item-controls" }, FF = {
|
|
|
38734
38733
|
})
|
|
38735
38734
|
];
|
|
38736
38735
|
}
|
|
38737
|
-
}),
|
|
38736
|
+
}), lH = rn.create({
|
|
38738
38737
|
name: "detailsContent",
|
|
38739
38738
|
content: "block+",
|
|
38740
38739
|
defining: !0,
|
|
@@ -38803,7 +38802,7 @@ const zF = { class: "masonry-item-controls" }, FF = {
|
|
|
38803
38802
|
...h0({
|
|
38804
38803
|
nodeName: "detailsContent"
|
|
38805
38804
|
})
|
|
38806
|
-
}),
|
|
38805
|
+
}), cH = rn.create({
|
|
38807
38806
|
name: "detailsSummary",
|
|
38808
38807
|
content: "text*",
|
|
38809
38808
|
defining: !0,
|
|
@@ -38883,39 +38882,39 @@ class X {
|
|
|
38883
38882
|
}
|
|
38884
38883
|
}
|
|
38885
38884
|
X.prototype.__proto__ = Error.prototype;
|
|
38886
|
-
var
|
|
38885
|
+
var uH = function(e, n) {
|
|
38887
38886
|
return e === void 0 ? n : e;
|
|
38888
|
-
},
|
|
38889
|
-
return e.replace(
|
|
38890
|
-
},
|
|
38887
|
+
}, dH = /([A-Z])/g, fH = function(e) {
|
|
38888
|
+
return e.replace(dH, "-$1").toLowerCase();
|
|
38889
|
+
}, hH = {
|
|
38891
38890
|
"&": "&",
|
|
38892
38891
|
">": ">",
|
|
38893
38892
|
"<": "<",
|
|
38894
38893
|
'"': """,
|
|
38895
38894
|
"'": "'"
|
|
38896
|
-
},
|
|
38897
|
-
function
|
|
38898
|
-
return String(t).replace(
|
|
38895
|
+
}, pH = /[&><"']/g;
|
|
38896
|
+
function mH(t) {
|
|
38897
|
+
return String(t).replace(pH, (e) => hH[e]);
|
|
38899
38898
|
}
|
|
38900
38899
|
var o6 = function t(e) {
|
|
38901
38900
|
return e.type === "ordgroup" || e.type === "color" ? e.body.length === 1 ? t(e.body[0]) : e : e.type === "font" ? t(e.body) : e;
|
|
38902
|
-
},
|
|
38901
|
+
}, gH = function(e) {
|
|
38903
38902
|
var n = o6(e);
|
|
38904
38903
|
return n.type === "mathord" || n.type === "textord" || n.type === "atom";
|
|
38905
|
-
},
|
|
38904
|
+
}, bH = function(e) {
|
|
38906
38905
|
if (!e)
|
|
38907
38906
|
throw new Error("Expected non-null, but got " + String(e));
|
|
38908
38907
|
return e;
|
|
38909
|
-
},
|
|
38908
|
+
}, vH = function(e) {
|
|
38910
38909
|
var n = /^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(e);
|
|
38911
38910
|
return n ? n[2] !== ":" || !/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(n[1]) ? null : n[1].toLowerCase() : "_relative";
|
|
38912
38911
|
}, We = {
|
|
38913
|
-
deflt:
|
|
38914
|
-
escape:
|
|
38915
|
-
hyphenate:
|
|
38912
|
+
deflt: uH,
|
|
38913
|
+
escape: mH,
|
|
38914
|
+
hyphenate: fH,
|
|
38916
38915
|
getBaseElem: o6,
|
|
38917
|
-
isCharacterBox:
|
|
38918
|
-
protocolFromUrl:
|
|
38916
|
+
isCharacterBox: gH,
|
|
38917
|
+
protocolFromUrl: vH
|
|
38919
38918
|
}, Su = {
|
|
38920
38919
|
displayMode: {
|
|
38921
38920
|
type: "boolean",
|
|
@@ -39003,7 +39002,7 @@ var o6 = function t(e) {
|
|
|
39003
39002
|
cli: !1
|
|
39004
39003
|
}
|
|
39005
39004
|
};
|
|
39006
|
-
function
|
|
39005
|
+
function yH(t) {
|
|
39007
39006
|
if (t.default)
|
|
39008
39007
|
return t.default;
|
|
39009
39008
|
var e = t.type, n = Array.isArray(e) ? e[0] : e;
|
|
@@ -39026,7 +39025,7 @@ class Pg {
|
|
|
39026
39025
|
for (var n in Su)
|
|
39027
39026
|
if (Su.hasOwnProperty(n)) {
|
|
39028
39027
|
var r = Su[n];
|
|
39029
|
-
this[n] = e[n] !== void 0 ? r.processor ? r.processor(e[n]) : e[n] :
|
|
39028
|
+
this[n] = e[n] !== void 0 ? r.processor ? r.processor(e[n]) : e[n] : yH(r);
|
|
39030
39029
|
}
|
|
39031
39030
|
}
|
|
39032
39031
|
/**
|
|
@@ -39086,40 +39085,40 @@ class Fi {
|
|
|
39086
39085
|
* Get the style of a superscript given a base in the current style.
|
|
39087
39086
|
*/
|
|
39088
39087
|
sup() {
|
|
39089
|
-
return Hr[
|
|
39088
|
+
return Hr[wH[this.id]];
|
|
39090
39089
|
}
|
|
39091
39090
|
/**
|
|
39092
39091
|
* Get the style of a subscript given a base in the current style.
|
|
39093
39092
|
*/
|
|
39094
39093
|
sub() {
|
|
39095
|
-
return Hr[
|
|
39094
|
+
return Hr[xH[this.id]];
|
|
39096
39095
|
}
|
|
39097
39096
|
/**
|
|
39098
39097
|
* Get the style of a fraction numerator given the fraction in the current
|
|
39099
39098
|
* style.
|
|
39100
39099
|
*/
|
|
39101
39100
|
fracNum() {
|
|
39102
|
-
return Hr[
|
|
39101
|
+
return Hr[kH[this.id]];
|
|
39103
39102
|
}
|
|
39104
39103
|
/**
|
|
39105
39104
|
* Get the style of a fraction denominator given the fraction in the current
|
|
39106
39105
|
* style.
|
|
39107
39106
|
*/
|
|
39108
39107
|
fracDen() {
|
|
39109
|
-
return Hr[
|
|
39108
|
+
return Hr[SH[this.id]];
|
|
39110
39109
|
}
|
|
39111
39110
|
/**
|
|
39112
39111
|
* Get the cramped version of a style (in particular, cramping a cramped style
|
|
39113
39112
|
* doesn't change the style).
|
|
39114
39113
|
*/
|
|
39115
39114
|
cramp() {
|
|
39116
|
-
return Hr[
|
|
39115
|
+
return Hr[EH[this.id]];
|
|
39117
39116
|
}
|
|
39118
39117
|
/**
|
|
39119
39118
|
* Get a text or display version of this style.
|
|
39120
39119
|
*/
|
|
39121
39120
|
text() {
|
|
39122
|
-
return Hr[
|
|
39121
|
+
return Hr[CH[this.id]];
|
|
39123
39122
|
}
|
|
39124
39123
|
/**
|
|
39125
39124
|
* Return true if this style is tightly spaced (scriptstyle/scriptscriptstyle)
|
|
@@ -39128,7 +39127,7 @@ class Fi {
|
|
|
39128
39127
|
return this.size >= 2;
|
|
39129
39128
|
}
|
|
39130
39129
|
}
|
|
39131
|
-
var $g = 0, Bd = 1, Fo = 2, Si = 3, Bl = 4, tr = 5, ma = 6, un = 7, Hr = [new Fi($g, 0, !1), new Fi(Bd, 0, !0), new Fi(Fo, 1, !1), new Fi(Si, 1, !0), new Fi(Bl, 2, !1), new Fi(tr, 2, !0), new Fi(ma, 3, !1), new Fi(un, 3, !0)],
|
|
39130
|
+
var $g = 0, Bd = 1, Fo = 2, Si = 3, Bl = 4, tr = 5, ma = 6, un = 7, Hr = [new Fi($g, 0, !1), new Fi(Bd, 0, !0), new Fi(Fo, 1, !1), new Fi(Si, 1, !0), new Fi(Bl, 2, !1), new Fi(tr, 2, !0), new Fi(ma, 3, !1), new Fi(un, 3, !0)], wH = [Bl, tr, Bl, tr, ma, un, ma, un], xH = [tr, tr, tr, tr, un, un, un, un], kH = [Fo, Si, Bl, tr, ma, un, ma, un], SH = [Si, Si, tr, tr, un, un, un, un], EH = [Bd, Bd, Si, Si, tr, tr, un, un], CH = [$g, Bd, Fo, Si, Fo, Si, Fo, Si], ke = {
|
|
39132
39131
|
DISPLAY: Hr[$g],
|
|
39133
39132
|
TEXT: Hr[Fo],
|
|
39134
39133
|
SCRIPT: Hr[Bl],
|
|
@@ -39192,7 +39191,7 @@ var $g = 0, Bd = 1, Fo = 2, Si = 3, Bl = 4, tr = 5, ma = 6, un = 7, Hr = [new Fi
|
|
|
39192
39191
|
name: "hangul",
|
|
39193
39192
|
blocks: [[44032, 55215]]
|
|
39194
39193
|
}];
|
|
39195
|
-
function
|
|
39194
|
+
function MH(t) {
|
|
39196
39195
|
for (var e = 0; e < Np.length; e++)
|
|
39197
39196
|
for (var n = Np[e], r = 0; r < n.blocks.length; r++) {
|
|
39198
39197
|
var i = n.blocks[r];
|
|
@@ -39209,7 +39208,7 @@ function a6(t) {
|
|
|
39209
39208
|
return !0;
|
|
39210
39209
|
return !1;
|
|
39211
39210
|
}
|
|
39212
|
-
var xo = 80,
|
|
39211
|
+
var xo = 80, TH = function(e, n) {
|
|
39213
39212
|
return "M95," + (622 + e + n) + `
|
|
39214
39213
|
c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
|
|
39215
39214
|
c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
|
|
@@ -39222,7 +39221,7 @@ H400000v` + (40 + e) + `H845.2724
|
|
|
39222
39221
|
s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7
|
|
39223
39222
|
c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z
|
|
39224
39223
|
M` + (834 + e) + " " + n + "h400000v" + (40 + e) + "h-400000z";
|
|
39225
|
-
},
|
|
39224
|
+
}, AH = function(e, n) {
|
|
39226
39225
|
return "M263," + (601 + e + n) + `c0.7,0,18,39.7,52,119
|
|
39227
39226
|
c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120
|
|
39228
39227
|
c340,-704.7,510.7,-1060.3,512,-1067
|
|
@@ -39234,7 +39233,7 @@ c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1
|
|
|
39234
39233
|
s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26
|
|
39235
39234
|
c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z
|
|
39236
39235
|
M` + (1001 + e) + " " + n + "h400000v" + (40 + e) + "h-400000z";
|
|
39237
|
-
},
|
|
39236
|
+
}, NH = function(e, n) {
|
|
39238
39237
|
return "M983 " + (10 + e + n) + `
|
|
39239
39238
|
l` + e / 3.13 + " -" + e + `
|
|
39240
39239
|
c4,-6.7,10,-10,18,-10 H400000v` + (40 + e) + `
|
|
@@ -39245,7 +39244,7 @@ c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722
|
|
|
39245
39244
|
c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5
|
|
39246
39245
|
c53.7,-170.3,84.5,-266.8,92.5,-289.5z
|
|
39247
39246
|
M` + (1001 + e) + " " + n + "h400000v" + (40 + e) + "h-400000z";
|
|
39248
|
-
},
|
|
39247
|
+
}, OH = function(e, n) {
|
|
39249
39248
|
return "M424," + (2398 + e + n) + `
|
|
39250
39249
|
c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514
|
|
39251
39250
|
c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20
|
|
@@ -39257,7 +39256,7 @@ s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185
|
|
|
39257
39256
|
c-2,6,-10,9,-24,9
|
|
39258
39257
|
c-8,0,-12,-0.7,-12,-2z M` + (1001 + e) + " " + n + `
|
|
39259
39258
|
h400000v` + (40 + e) + "h-400000z";
|
|
39260
|
-
},
|
|
39259
|
+
}, _H = function(e, n) {
|
|
39261
39260
|
return "M473," + (2713 + e + n) + `
|
|
39262
39261
|
c339.3,-1799.3,509.3,-2700,510,-2702 l` + e / 5.298 + " -" + e + `
|
|
39263
39262
|
c3.3,-7.3,9.3,-11,18,-11 H400000v` + (40 + e) + `H1017.7
|
|
@@ -39266,40 +39265,40 @@ c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1
|
|
|
39266
39265
|
c0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26
|
|
39267
39266
|
s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,
|
|
39268
39267
|
606zM` + (1001 + e) + " " + n + "h400000v" + (40 + e) + "H1017.7z";
|
|
39269
|
-
},
|
|
39268
|
+
}, RH = function(e) {
|
|
39270
39269
|
var n = e / 2;
|
|
39271
39270
|
return "M400000 " + e + " H0 L" + n + " 0 l65 45 L145 " + (e - 80) + " H400000z";
|
|
39272
|
-
},
|
|
39271
|
+
}, IH = function(e, n, r) {
|
|
39273
39272
|
var i = r - 54 - n - e;
|
|
39274
39273
|
return "M702 " + (e + n) + "H400000" + (40 + e) + `
|
|
39275
39274
|
H742v` + i + `l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1
|
|
39276
39275
|
h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170
|
|
39277
39276
|
c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667
|
|
39278
39277
|
219 661 l218 661zM702 ` + n + "H400000v" + (40 + e) + "H742z";
|
|
39279
|
-
},
|
|
39278
|
+
}, DH = function(e, n, r) {
|
|
39280
39279
|
n = 1e3 * n;
|
|
39281
39280
|
var i = "";
|
|
39282
39281
|
switch (e) {
|
|
39283
39282
|
case "sqrtMain":
|
|
39284
|
-
i =
|
|
39283
|
+
i = TH(n, xo);
|
|
39285
39284
|
break;
|
|
39286
39285
|
case "sqrtSize1":
|
|
39287
|
-
i =
|
|
39286
|
+
i = AH(n, xo);
|
|
39288
39287
|
break;
|
|
39289
39288
|
case "sqrtSize2":
|
|
39290
|
-
i =
|
|
39289
|
+
i = NH(n, xo);
|
|
39291
39290
|
break;
|
|
39292
39291
|
case "sqrtSize3":
|
|
39293
|
-
i =
|
|
39292
|
+
i = OH(n, xo);
|
|
39294
39293
|
break;
|
|
39295
39294
|
case "sqrtSize4":
|
|
39296
|
-
i =
|
|
39295
|
+
i = _H(n, xo);
|
|
39297
39296
|
break;
|
|
39298
39297
|
case "sqrtTall":
|
|
39299
|
-
i =
|
|
39298
|
+
i = IH(n, xo, r);
|
|
39300
39299
|
}
|
|
39301
39300
|
return i;
|
|
39302
|
-
},
|
|
39301
|
+
}, LH = function(e, n) {
|
|
39303
39302
|
switch (e) {
|
|
39304
39303
|
case "⎜":
|
|
39305
39304
|
return "M291 0 H417 V" + n + " H291z M291 0 H417 V" + n + " H291z";
|
|
@@ -39574,7 +39573,7 @@ c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
|
|
|
39574
39573
|
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
|
|
39575
39574
|
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
|
|
39576
39575
|
M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`
|
|
39577
|
-
},
|
|
39576
|
+
}, BH = function(e, n) {
|
|
39578
39577
|
switch (e) {
|
|
39579
39578
|
case "lbrack":
|
|
39580
39579
|
return "M403 1759 V84 H666 V0 H319 V1759 v" + n + ` v1759 h347 v-84
|
|
@@ -41887,7 +41886,7 @@ var Vr = {
|
|
|
41887
41886
|
ю: "m",
|
|
41888
41887
|
я: "r"
|
|
41889
41888
|
};
|
|
41890
|
-
function
|
|
41889
|
+
function PH(t, e) {
|
|
41891
41890
|
Vr[t] = e;
|
|
41892
41891
|
}
|
|
41893
41892
|
function zg(t, e, n) {
|
|
@@ -41904,7 +41903,7 @@ function zg(t, e, n) {
|
|
|
41904
41903
|
};
|
|
41905
41904
|
}
|
|
41906
41905
|
var Kf = {};
|
|
41907
|
-
function
|
|
41906
|
+
function $H(t) {
|
|
41908
41907
|
var e;
|
|
41909
41908
|
if (t >= 5 ? e = 0 : t >= 3 ? e = 1 : e = 2, !Kf[e]) {
|
|
41910
41909
|
var n = Kf[e] = {
|
|
@@ -41915,7 +41914,7 @@ function PH(t) {
|
|
|
41915
41914
|
}
|
|
41916
41915
|
return Kf[e];
|
|
41917
41916
|
}
|
|
41918
|
-
var
|
|
41917
|
+
var zH = [
|
|
41919
41918
|
// Each element contains [textsize, scriptsize, scriptscriptsize].
|
|
41920
41919
|
// The size mappings are taken from TeX with \normalsize=10pt.
|
|
41921
41920
|
[1, 1, 1],
|
|
@@ -41955,7 +41954,7 @@ var $H = [
|
|
|
41955
41954
|
2.074,
|
|
41956
41955
|
2.488
|
|
41957
41956
|
], _y = function(e, n) {
|
|
41958
|
-
return n.size < 2 ? e :
|
|
41957
|
+
return n.size < 2 ? e : zH[e - 1][n.size - 1];
|
|
41959
41958
|
};
|
|
41960
41959
|
class bi {
|
|
41961
41960
|
// A font family applies to a group of fonts (i.e. SansSerif), while a font
|
|
@@ -42123,7 +42122,7 @@ class bi {
|
|
|
42123
42122
|
* Return the font metrics for this size.
|
|
42124
42123
|
*/
|
|
42125
42124
|
fontMetrics() {
|
|
42126
|
-
return this._fontMetrics || (this._fontMetrics =
|
|
42125
|
+
return this._fontMetrics || (this._fontMetrics = $H(this.size)), this._fontMetrics;
|
|
42127
42126
|
}
|
|
42128
42127
|
/**
|
|
42129
42128
|
* Gets the CSS color of the current options object
|
|
@@ -42161,12 +42160,12 @@ var Op = {
|
|
|
42161
42160
|
// https://tex.stackexchange.com/a/41371
|
|
42162
42161
|
px: 803 / 800
|
|
42163
42162
|
// \pdfpxdimen defaults to 1 bp in pdfTeX and LuaTeX
|
|
42164
|
-
},
|
|
42163
|
+
}, FH = {
|
|
42165
42164
|
ex: !0,
|
|
42166
42165
|
em: !0,
|
|
42167
42166
|
mu: !0
|
|
42168
42167
|
}, l6 = function(e) {
|
|
42169
|
-
return typeof e != "string" && (e = e.unit), e in Op || e in
|
|
42168
|
+
return typeof e != "string" && (e = e.unit), e in Op || e in FH || e === "ex";
|
|
42170
42169
|
}, ht = function(e, n) {
|
|
42171
42170
|
var r;
|
|
42172
42171
|
if (e.unit in Op)
|
|
@@ -42204,7 +42203,7 @@ var Op = {
|
|
|
42204
42203
|
for (var s = 0; s < this.children.length; s++)
|
|
42205
42204
|
n.appendChild(this.children[s].toNode());
|
|
42206
42205
|
return n;
|
|
42207
|
-
},
|
|
42206
|
+
}, HH = /[\s"'>/=\x00-\x1f]/, d6 = function(e) {
|
|
42208
42207
|
var n = "<" + e;
|
|
42209
42208
|
this.classes.length && (n += ' class="' + We.escape(ps(this.classes)) + '"');
|
|
42210
42209
|
var r = "";
|
|
@@ -42213,7 +42212,7 @@ var Op = {
|
|
|
42213
42212
|
r && (n += ' style="' + We.escape(r) + '"');
|
|
42214
42213
|
for (var s in this.attributes)
|
|
42215
42214
|
if (this.attributes.hasOwnProperty(s)) {
|
|
42216
|
-
if (
|
|
42215
|
+
if (HH.test(s))
|
|
42217
42216
|
throw new X("Invalid attribute name '" + s + "'");
|
|
42218
42217
|
n += " " + s + '="' + We.escape(this.attributes[s]) + '"';
|
|
42219
42218
|
}
|
|
@@ -42261,7 +42260,7 @@ class Fg {
|
|
|
42261
42260
|
return d6.call(this, "a");
|
|
42262
42261
|
}
|
|
42263
42262
|
}
|
|
42264
|
-
class
|
|
42263
|
+
class UH {
|
|
42265
42264
|
constructor(e, n, r) {
|
|
42266
42265
|
this.src = void 0, this.alt = void 0, this.classes = void 0, this.height = void 0, this.depth = void 0, this.maxFontSize = void 0, this.style = void 0, this.alt = n, this.src = e, this.classes = ["mord"], this.style = r;
|
|
42267
42266
|
}
|
|
@@ -42282,7 +42281,7 @@ class HH {
|
|
|
42282
42281
|
return n && (e += ' style="' + We.escape(n) + '"'), e += "'/>", e;
|
|
42283
42282
|
}
|
|
42284
42283
|
}
|
|
42285
|
-
var
|
|
42284
|
+
var VH = {
|
|
42286
42285
|
î: "ı̂",
|
|
42287
42286
|
ï: "ı̈",
|
|
42288
42287
|
í: "ı́",
|
|
@@ -42292,8 +42291,8 @@ var UH = {
|
|
|
42292
42291
|
class pr {
|
|
42293
42292
|
constructor(e, n, r, i, s, o, a, l) {
|
|
42294
42293
|
this.text = void 0, this.height = void 0, this.depth = void 0, this.italic = void 0, this.skew = void 0, this.width = void 0, this.maxFontSize = void 0, this.classes = void 0, this.style = void 0, this.text = e, this.height = n || 0, this.depth = r || 0, this.italic = i || 0, this.skew = s || 0, this.width = o || 0, this.classes = a || [], this.style = l || {}, this.maxFontSize = 0;
|
|
42295
|
-
var c =
|
|
42296
|
-
c && this.classes.push(c + "_fallback"), /[îïíì]/.test(this.text) && (this.text =
|
|
42294
|
+
var c = MH(this.text.charCodeAt(0));
|
|
42295
|
+
c && this.classes.push(c + "_fallback"), /[îïíì]/.test(this.text) && (this.text = VH[this.text]);
|
|
42297
42296
|
}
|
|
42298
42297
|
hasClass(e) {
|
|
42299
42298
|
return this.classes.includes(e);
|
|
@@ -42380,19 +42379,19 @@ function Ry(t) {
|
|
|
42380
42379
|
return t;
|
|
42381
42380
|
throw new Error("Expected symbolNode but got " + String(t) + ".");
|
|
42382
42381
|
}
|
|
42383
|
-
function
|
|
42382
|
+
function qH(t) {
|
|
42384
42383
|
if (t instanceof cc)
|
|
42385
42384
|
return t;
|
|
42386
42385
|
throw new Error("Expected span<HtmlDomNode> but got " + String(t) + ".");
|
|
42387
42386
|
}
|
|
42388
|
-
var
|
|
42387
|
+
var WH = {
|
|
42389
42388
|
bin: 1,
|
|
42390
42389
|
close: 1,
|
|
42391
42390
|
inner: 1,
|
|
42392
42391
|
open: 1,
|
|
42393
42392
|
punct: 1,
|
|
42394
42393
|
rel: 1
|
|
42395
|
-
},
|
|
42394
|
+
}, jH = {
|
|
42396
42395
|
"accent-token": 1,
|
|
42397
42396
|
mathord: 1,
|
|
42398
42397
|
"op-token": 1,
|
|
@@ -43123,7 +43122,7 @@ var Kc = [
|
|
|
43123
43122
|
// 0-9 bold sans-serif
|
|
43124
43123
|
["mathtt", "texttt", "Typewriter-Regular"]
|
|
43125
43124
|
// 0-9 monospace
|
|
43126
|
-
],
|
|
43125
|
+
], GH = function(e, n) {
|
|
43127
43126
|
var r = e.charCodeAt(0), i = e.charCodeAt(1), s = (r - 55296) * 1024 + (i - 56320) + 65536, o = n === "math" ? 0 : 1;
|
|
43128
43127
|
if (119808 <= s && s < 120484) {
|
|
43129
43128
|
var a = Math.floor((s - 119808) / 26);
|
|
@@ -43158,9 +43157,9 @@ var Kc = [
|
|
|
43158
43157
|
u && (l.style.color = u);
|
|
43159
43158
|
}
|
|
43160
43159
|
return l;
|
|
43161
|
-
},
|
|
43160
|
+
}, KH = function(e, n, r, i) {
|
|
43162
43161
|
return i === void 0 && (i = []), r.font === "boldsymbol" && z0(e, "Main-Bold", n).metrics ? vr(e, "Main-Bold", n, r, i.concat(["mathbf"])) : e === "\\" || nt[n][e].font === "main" ? vr(e, "Main-Regular", n, r, i) : vr(e, "AMS-Regular", n, r, i.concat(["amsrm"]));
|
|
43163
|
-
},
|
|
43162
|
+
}, YH = function(e, n, r, i, s) {
|
|
43164
43163
|
return s !== "textord" && z0(e, "Math-BoldItalic", n).metrics ? {
|
|
43165
43164
|
fontName: "Math-BoldItalic",
|
|
43166
43165
|
fontClass: "boldsymbol"
|
|
@@ -43168,14 +43167,14 @@ var Kc = [
|
|
|
43168
43167
|
fontName: "Main-Bold",
|
|
43169
43168
|
fontClass: "mathbf"
|
|
43170
43169
|
};
|
|
43171
|
-
},
|
|
43170
|
+
}, XH = function(e, n, r) {
|
|
43172
43171
|
var i = e.mode, s = e.text, o = ["mord"], a = i === "math" || i === "text" && n.font, l = a ? n.font : n.fontFamily, c = "", u = "";
|
|
43173
|
-
if (s.charCodeAt(0) === 55349 && ([c, u] =
|
|
43172
|
+
if (s.charCodeAt(0) === 55349 && ([c, u] = GH(s, i)), c.length > 0)
|
|
43174
43173
|
return vr(s, c, i, n, o.concat(u));
|
|
43175
43174
|
if (l) {
|
|
43176
43175
|
var d, f;
|
|
43177
43176
|
if (l === "boldsymbol") {
|
|
43178
|
-
var h =
|
|
43177
|
+
var h = YH(s, i, n, o, r);
|
|
43179
43178
|
d = h.fontName, f = [h.fontClass];
|
|
43180
43179
|
} else a ? (d = m6[l].fontName, f = [l]) : (d = Yc(l, n.fontWeight, n.fontShape), f = [l, n.fontWeight, n.fontShape]);
|
|
43181
43180
|
if (z0(s, d, i).metrics)
|
|
@@ -43202,7 +43201,7 @@ var Kc = [
|
|
|
43202
43201
|
}
|
|
43203
43202
|
} else
|
|
43204
43203
|
throw new Error("unexpected type: " + r + " in makeOrd");
|
|
43205
|
-
},
|
|
43204
|
+
}, JH = (t, e) => {
|
|
43206
43205
|
if (ps(t.classes) !== ps(e.classes) || t.skew !== e.skew || t.maxFontSize !== e.maxFontSize)
|
|
43207
43206
|
return !1;
|
|
43208
43207
|
if (t.classes.length === 1) {
|
|
@@ -43217,10 +43216,10 @@ var Kc = [
|
|
|
43217
43216
|
if (e.style.hasOwnProperty(i) && t.style[i] !== e.style[i])
|
|
43218
43217
|
return !1;
|
|
43219
43218
|
return !0;
|
|
43220
|
-
},
|
|
43219
|
+
}, ZH = (t) => {
|
|
43221
43220
|
for (var e = 0; e < t.length - 1; e++) {
|
|
43222
43221
|
var n = t[e], r = t[e + 1];
|
|
43223
|
-
n instanceof pr && r instanceof pr &&
|
|
43222
|
+
n instanceof pr && r instanceof pr && JH(n, r) && (n.text += r.text, n.height = Math.max(n.height, r.height), n.depth = Math.max(n.depth, r.depth), n.italic = r.italic, t.splice(e + 1, 1), e--);
|
|
43224
43223
|
}
|
|
43225
43224
|
return t;
|
|
43226
43225
|
}, Hg = function(e) {
|
|
@@ -43232,18 +43231,18 @@ var Kc = [
|
|
|
43232
43231
|
}, bn = function(e, n, r, i) {
|
|
43233
43232
|
var s = new cc(e, n, r, i);
|
|
43234
43233
|
return Hg(s), s;
|
|
43235
|
-
}, h6 = (t, e, n, r) => new cc(t, e, n, r),
|
|
43234
|
+
}, h6 = (t, e, n, r) => new cc(t, e, n, r), QH = function(e, n, r) {
|
|
43236
43235
|
var i = bn([e], [], n);
|
|
43237
43236
|
return i.height = Math.max(r || n.fontMetrics().defaultRuleThickness, n.minRuleThickness), i.style.borderBottomWidth = ee(i.height), i.maxFontSize = 1, i;
|
|
43238
|
-
},
|
|
43237
|
+
}, eU = function(e, n, r, i) {
|
|
43239
43238
|
var s = new Fg(e, n, r, i);
|
|
43240
43239
|
return Hg(s), s;
|
|
43241
43240
|
}, p6 = function(e) {
|
|
43242
43241
|
var n = new lc(e);
|
|
43243
43242
|
return Hg(n), n;
|
|
43244
|
-
},
|
|
43243
|
+
}, tU = function(e, n) {
|
|
43245
43244
|
return e instanceof lc ? bn([], [e], n) : e;
|
|
43246
|
-
},
|
|
43245
|
+
}, nU = function(e) {
|
|
43247
43246
|
if (e.positionType === "individualShift") {
|
|
43248
43247
|
for (var n = e.children, r = [n[0]], i = -n[0].shift - n[0].elem.depth, s = i, o = 1; o < n.length; o++) {
|
|
43249
43248
|
var a = -n[o].shift - s - n[o].elem.depth, l = a - (n[o - 1].elem.height + n[o - 1].elem.depth);
|
|
@@ -43281,11 +43280,11 @@ var Kc = [
|
|
|
43281
43280
|
children: e.children,
|
|
43282
43281
|
depth: c
|
|
43283
43282
|
};
|
|
43284
|
-
},
|
|
43283
|
+
}, rU = function(e, n) {
|
|
43285
43284
|
for (var {
|
|
43286
43285
|
children: r,
|
|
43287
43286
|
depth: i
|
|
43288
|
-
} =
|
|
43287
|
+
} = nU(e), s = 0, o = 0; o < r.length; o++) {
|
|
43289
43288
|
var a = r[o];
|
|
43290
43289
|
if (a.type === "elem") {
|
|
43291
43290
|
var l = a.elem;
|
|
@@ -43317,7 +43316,7 @@ var Kc = [
|
|
|
43317
43316
|
k = [bn(["vlist-r"], [y])];
|
|
43318
43317
|
var _ = bn(["vlist-t"], k);
|
|
43319
43318
|
return k.length === 2 && _.classes.push("vlist-t2"), _.height = f, _.depth = -d, _;
|
|
43320
|
-
},
|
|
43319
|
+
}, iU = (t, e) => {
|
|
43321
43320
|
var n = bn(["mspace"], [], e), r = ht(t, e);
|
|
43322
43321
|
return n.style.marginRight = ee(r), n;
|
|
43323
43322
|
}, Yc = function(e, n, r) {
|
|
@@ -43403,7 +43402,7 @@ var Kc = [
|
|
|
43403
43402
|
oiintSize2: ["oiintSize2", 1.472, 0.659],
|
|
43404
43403
|
oiiintSize1: ["oiiintSize1", 1.304, 0.499],
|
|
43405
43404
|
oiiintSize2: ["oiiintSize2", 1.98, 0.659]
|
|
43406
|
-
},
|
|
43405
|
+
}, sU = function(e, n) {
|
|
43407
43406
|
var [r, i, s] = g6[e], o = new ms(r), a = new Ni([o], {
|
|
43408
43407
|
width: ee(i),
|
|
43409
43408
|
height: ee(s),
|
|
@@ -43416,19 +43415,19 @@ var Kc = [
|
|
|
43416
43415
|
}, B = {
|
|
43417
43416
|
fontMap: m6,
|
|
43418
43417
|
makeSymbol: vr,
|
|
43419
|
-
mathsym:
|
|
43418
|
+
mathsym: KH,
|
|
43420
43419
|
makeSpan: bn,
|
|
43421
43420
|
makeSvgSpan: h6,
|
|
43422
|
-
makeLineSpan:
|
|
43423
|
-
makeAnchor:
|
|
43421
|
+
makeLineSpan: QH,
|
|
43422
|
+
makeAnchor: eU,
|
|
43424
43423
|
makeFragment: p6,
|
|
43425
|
-
wrapFragment:
|
|
43426
|
-
makeVList:
|
|
43427
|
-
makeOrd:
|
|
43428
|
-
makeGlue:
|
|
43429
|
-
staticSvg:
|
|
43424
|
+
wrapFragment: tU,
|
|
43425
|
+
makeVList: rU,
|
|
43426
|
+
makeOrd: XH,
|
|
43427
|
+
makeGlue: iU,
|
|
43428
|
+
staticSvg: sU,
|
|
43430
43429
|
svgData: g6,
|
|
43431
|
-
tryCombineChars:
|
|
43430
|
+
tryCombineChars: ZH
|
|
43432
43431
|
}, dt = {
|
|
43433
43432
|
number: 3,
|
|
43434
43433
|
unit: "mu"
|
|
@@ -43438,7 +43437,7 @@ var Kc = [
|
|
|
43438
43437
|
}, fi = {
|
|
43439
43438
|
number: 5,
|
|
43440
43439
|
unit: "mu"
|
|
43441
|
-
},
|
|
43440
|
+
}, oU = {
|
|
43442
43441
|
mord: {
|
|
43443
43442
|
mop: dt,
|
|
43444
43443
|
mbin: Os,
|
|
@@ -43488,7 +43487,7 @@ var Kc = [
|
|
|
43488
43487
|
mpunct: dt,
|
|
43489
43488
|
minner: dt
|
|
43490
43489
|
}
|
|
43491
|
-
},
|
|
43490
|
+
}, aU = {
|
|
43492
43491
|
mord: {
|
|
43493
43492
|
mop: dt
|
|
43494
43493
|
},
|
|
@@ -43553,12 +43552,12 @@ var Fd = function(e) {
|
|
|
43553
43552
|
return e.type === "ordgroup" && e.body.length === 1 ? e.body[0] : e;
|
|
43554
43553
|
}, wt = function(e) {
|
|
43555
43554
|
return e.type === "ordgroup" ? e.body : [e];
|
|
43556
|
-
}, Oi = B.makeSpan,
|
|
43555
|
+
}, Oi = B.makeSpan, lU = ["leftmost", "mbin", "mopen", "mrel", "mop", "mpunct"], cU = ["rightmost", "mrel", "mclose", "mpunct"], uU = {
|
|
43557
43556
|
display: ke.DISPLAY,
|
|
43558
43557
|
text: ke.TEXT,
|
|
43559
43558
|
script: ke.SCRIPT,
|
|
43560
43559
|
scriptscript: ke.SCRIPTSCRIPT
|
|
43561
|
-
},
|
|
43560
|
+
}, dU = {
|
|
43562
43561
|
mord: "mord",
|
|
43563
43562
|
mop: "mop",
|
|
43564
43563
|
mbin: "mbin",
|
|
@@ -43582,16 +43581,16 @@ var Fd = function(e) {
|
|
|
43582
43581
|
var c = n;
|
|
43583
43582
|
if (e.length === 1) {
|
|
43584
43583
|
var u = e[0];
|
|
43585
|
-
u.type === "sizing" ? c = n.havingSize(u.size) : u.type === "styling" && (c = n.havingStyle(
|
|
43584
|
+
u.type === "sizing" ? c = n.havingSize(u.size) : u.type === "styling" && (c = n.havingStyle(uU[u.style]));
|
|
43586
43585
|
}
|
|
43587
43586
|
var d = Oi([i[0] || "leftmost"], [], n), f = Oi([i[1] || "rightmost"], [], n), h = r === "root";
|
|
43588
43587
|
return $y(s, (p, m) => {
|
|
43589
43588
|
var g = m.classes[0], b = p.classes[0];
|
|
43590
|
-
g === "mbin" &&
|
|
43589
|
+
g === "mbin" && cU.includes(b) ? m.classes[0] = "mord" : b === "mbin" && lU.includes(g) && (p.classes[0] = "mord");
|
|
43591
43590
|
}, {
|
|
43592
43591
|
node: d
|
|
43593
43592
|
}, f, h), $y(s, (p, m) => {
|
|
43594
|
-
var g = Ip(m), b = Ip(p), x = g && b ? p.hasClass("mtight") ?
|
|
43593
|
+
var g = Ip(m), b = Ip(p), x = g && b ? p.hasClass("mtight") ? aU[g][b] : oU[g][b] : null;
|
|
43595
43594
|
if (x)
|
|
43596
43595
|
return B.makeGlue(x, c);
|
|
43597
43596
|
}, {
|
|
@@ -43617,7 +43616,7 @@ var Fd = function(e) {
|
|
|
43617
43616
|
i && e.pop();
|
|
43618
43617
|
}, v6 = function(e) {
|
|
43619
43618
|
return e instanceof lc || e instanceof Fg || e instanceof cc && e.hasClass("enclosing") ? e : null;
|
|
43620
|
-
},
|
|
43619
|
+
}, fU = function t(e, n) {
|
|
43621
43620
|
var r = v6(e);
|
|
43622
43621
|
if (r) {
|
|
43623
43622
|
var i = r.children;
|
|
@@ -43630,7 +43629,7 @@ var Fd = function(e) {
|
|
|
43630
43629
|
}
|
|
43631
43630
|
return e;
|
|
43632
43631
|
}, Ip = function(e, n) {
|
|
43633
|
-
return e ? (n && (e =
|
|
43632
|
+
return e ? (n && (e = fU(e, n)), dU[e.classes[0]] || null) : null;
|
|
43634
43633
|
}, Pl = function(e, n) {
|
|
43635
43634
|
var r = ["nulldelimiter"].concat(e.baseSizingClasses());
|
|
43636
43635
|
return Oi(n.concat(r));
|
|
@@ -43754,7 +43753,7 @@ class qr {
|
|
|
43754
43753
|
return this.text;
|
|
43755
43754
|
}
|
|
43756
43755
|
}
|
|
43757
|
-
class
|
|
43756
|
+
class hU {
|
|
43758
43757
|
/**
|
|
43759
43758
|
* Create a Space node with width given in CSS ems.
|
|
43760
43759
|
*/
|
|
@@ -43786,7 +43785,7 @@ class fU {
|
|
|
43786
43785
|
var K = {
|
|
43787
43786
|
MathNode: Bn,
|
|
43788
43787
|
TextNode: qr,
|
|
43789
|
-
SpaceNode:
|
|
43788
|
+
SpaceNode: hU,
|
|
43790
43789
|
newDocumentFragment: y6
|
|
43791
43790
|
}, mr = function(e, n, r) {
|
|
43792
43791
|
return nt[n][e] && nt[n][e].replace && e.charCodeAt(0) !== 55349 && !(f6.hasOwnProperty(e) && r && (r.fontFamily && r.fontFamily.slice(4, 6) === "tt" || r.font && r.font.slice(4, 6) === "tt")) && (e = nt[n][e].replace), new K.TextNode(e);
|
|
@@ -43910,7 +43909,7 @@ var w6 = function(e) {
|
|
|
43910
43909
|
n.leqno && r.push("leqno"), n.fleqn && r.push("fleqn"), e = B.makeSpan(r, [e]);
|
|
43911
43910
|
}
|
|
43912
43911
|
return e;
|
|
43913
|
-
},
|
|
43912
|
+
}, pU = function(e, n, r) {
|
|
43914
43913
|
var i = w6(r), s;
|
|
43915
43914
|
if (r.output === "mathml")
|
|
43916
43915
|
return zy(e, n, i, r.displayMode, !0);
|
|
@@ -43922,10 +43921,10 @@ var w6 = function(e) {
|
|
|
43922
43921
|
s = B.makeSpan(["katex"], [a, l]);
|
|
43923
43922
|
}
|
|
43924
43923
|
return x6(s, r);
|
|
43925
|
-
},
|
|
43924
|
+
}, mU = function(e, n, r) {
|
|
43926
43925
|
var i = w6(r), s = Dp(e, i), o = B.makeSpan(["katex"], [s]);
|
|
43927
43926
|
return x6(o, r);
|
|
43928
|
-
},
|
|
43927
|
+
}, gU = {
|
|
43929
43928
|
widehat: "^",
|
|
43930
43929
|
widecheck: "ˇ",
|
|
43931
43930
|
widetilde: "~",
|
|
@@ -43970,10 +43969,10 @@ var w6 = function(e) {
|
|
|
43970
43969
|
"\\cdrightarrow": "→",
|
|
43971
43970
|
"\\cdleftarrow": "←",
|
|
43972
43971
|
"\\cdlongequal": "="
|
|
43973
|
-
},
|
|
43974
|
-
var n = new K.MathNode("mo", [new K.TextNode(
|
|
43972
|
+
}, bU = function(e) {
|
|
43973
|
+
var n = new K.MathNode("mo", [new K.TextNode(gU[e.replace(/^\\/, "")])]);
|
|
43975
43974
|
return n.setAttribute("stretchy", "true"), n;
|
|
43976
|
-
},
|
|
43975
|
+
}, vU = {
|
|
43977
43976
|
// path(s), minWidth, height, align
|
|
43978
43977
|
overrightarrow: [["rightarrow"], 0.888, 522, "xMaxYMin"],
|
|
43979
43978
|
overleftarrow: [["leftarrow"], 0.888, 522, "xMinYMin"],
|
|
@@ -44020,13 +44019,13 @@ var w6 = function(e) {
|
|
|
44020
44019
|
xrightleftarrows: [["baraboveleftarrow", "rightarrowabovebar"], 1.75, 901],
|
|
44021
44020
|
xrightequilibrium: [["baraboveshortleftharpoon", "rightharpoonaboveshortbar"], 1.75, 716],
|
|
44022
44021
|
xleftequilibrium: [["shortbaraboveleftharpoon", "shortrightharpoonabovebar"], 1.75, 716]
|
|
44023
|
-
},
|
|
44022
|
+
}, yU = function(e) {
|
|
44024
44023
|
return e.type === "ordgroup" ? e.body.length : 1;
|
|
44025
|
-
},
|
|
44024
|
+
}, wU = function(e, n) {
|
|
44026
44025
|
function r() {
|
|
44027
44026
|
var a = 4e5, l = e.label.slice(1);
|
|
44028
44027
|
if (["widehat", "widecheck", "widetilde", "utilde"].includes(l)) {
|
|
44029
|
-
var c = e, u =
|
|
44028
|
+
var c = e, u = yU(c.base), d, f, h;
|
|
44030
44029
|
if (u > 5)
|
|
44031
44030
|
l === "widehat" || l === "widecheck" ? (d = 420, a = 2364, h = 0.42, f = l + "4") : (d = 312, a = 2340, h = 0.34, f = "tilde4");
|
|
44032
44031
|
else {
|
|
@@ -44045,7 +44044,7 @@ var w6 = function(e) {
|
|
|
44045
44044
|
height: h
|
|
44046
44045
|
};
|
|
44047
44046
|
} else {
|
|
44048
|
-
var b = [], x =
|
|
44047
|
+
var b = [], x = vU[l], [S, y, k] = x, C = k / 1e3, T = S.length, A, _;
|
|
44049
44048
|
if (T === 1) {
|
|
44050
44049
|
var L = x[3];
|
|
44051
44050
|
A = ["hide-tail"], _ = [L];
|
|
@@ -44084,7 +44083,7 @@ var w6 = function(e) {
|
|
|
44084
44083
|
height: o
|
|
44085
44084
|
} = r();
|
|
44086
44085
|
return i.height = o, i.style.height = ee(o), s > 0 && (i.style.minWidth = ee(s)), i;
|
|
44087
|
-
},
|
|
44086
|
+
}, xU = function(e, n, r, i, s) {
|
|
44088
44087
|
var o, a = e.height + e.depth + r + i;
|
|
44089
44088
|
if (/fbox|color|angl/.test(n)) {
|
|
44090
44089
|
if (o = B.makeSpan(["stretchy", n], [], s), n === "fbox") {
|
|
@@ -44114,9 +44113,9 @@ var w6 = function(e) {
|
|
|
44114
44113
|
}
|
|
44115
44114
|
return o.height = a, o.style.height = ee(a), o;
|
|
44116
44115
|
}, _i = {
|
|
44117
|
-
encloseSpan:
|
|
44118
|
-
mathMLnode:
|
|
44119
|
-
svgSpan:
|
|
44116
|
+
encloseSpan: xU,
|
|
44117
|
+
mathMLnode: bU,
|
|
44118
|
+
svgSpan: wU
|
|
44120
44119
|
};
|
|
44121
44120
|
function Ne(t, e) {
|
|
44122
44121
|
if (!t || t.type !== e)
|
|
@@ -44130,11 +44129,11 @@ function qg(t) {
|
|
|
44130
44129
|
return e;
|
|
44131
44130
|
}
|
|
44132
44131
|
function F0(t) {
|
|
44133
|
-
return t && (t.type === "atom" ||
|
|
44132
|
+
return t && (t.type === "atom" || jH.hasOwnProperty(t.type)) ? t : null;
|
|
44134
44133
|
}
|
|
44135
44134
|
var Wg = (t, e) => {
|
|
44136
44135
|
var n, r, i;
|
|
44137
|
-
t && t.type === "supsub" ? (r = Ne(t.base, "accent"), n = r.base, t.base = n, i =
|
|
44136
|
+
t && t.type === "supsub" ? (r = Ne(t.base, "accent"), n = r.base, t.base = n, i = qH(Ve(t, e)), t.base = r) : (r = Ne(t, "accent"), n = r.base);
|
|
44138
44137
|
var s = Ve(n, e.havingCrampedStyle()), o = r.isShifty && We.isCharacterBox(n), a = 0;
|
|
44139
44138
|
if (o) {
|
|
44140
44139
|
var l = We.getBaseElem(n), c = Ve(l, e.havingCrampedStyle());
|
|
@@ -44185,7 +44184,7 @@ var Wg = (t, e) => {
|
|
|
44185
44184
|
}, k6 = (t, e) => {
|
|
44186
44185
|
var n = t.isStretchy ? _i.mathMLnode(t.label) : new K.MathNode("mo", [mr(t.label, t.mode)]), r = new K.MathNode("mover", [tt(t.base, e), n]);
|
|
44187
44186
|
return r.setAttribute("accent", "true"), r;
|
|
44188
|
-
},
|
|
44187
|
+
}, kU = new RegExp(["\\acute", "\\grave", "\\ddot", "\\tilde", "\\bar", "\\breve", "\\check", "\\hat", "\\vec", "\\dot", "\\mathring"].map((t) => "\\" + t).join("|"));
|
|
44189
44188
|
ie({
|
|
44190
44189
|
type: "accent",
|
|
44191
44190
|
names: ["\\acute", "\\grave", "\\ddot", "\\tilde", "\\bar", "\\breve", "\\check", "\\hat", "\\vec", "\\dot", "\\mathring", "\\widecheck", "\\widehat", "\\widetilde", "\\overrightarrow", "\\overleftarrow", "\\Overrightarrow", "\\overleftrightarrow", "\\overgroup", "\\overlinesegment", "\\overleftharpoon", "\\overrightharpoon"],
|
|
@@ -44193,7 +44192,7 @@ ie({
|
|
|
44193
44192
|
numArgs: 1
|
|
44194
44193
|
},
|
|
44195
44194
|
handler: (t, e) => {
|
|
44196
|
-
var n = Fd(e[0]), r = !
|
|
44195
|
+
var n = Fd(e[0]), r = !kU.test(t.funcName), i = !r || t.funcName === "\\widehat" || t.funcName === "\\widetilde" || t.funcName === "\\widecheck";
|
|
44197
44196
|
return {
|
|
44198
44197
|
type: "accent",
|
|
44199
44198
|
mode: t.parser.mode,
|
|
@@ -44386,10 +44385,10 @@ ie({
|
|
|
44386
44385
|
return r;
|
|
44387
44386
|
}
|
|
44388
44387
|
});
|
|
44389
|
-
var
|
|
44388
|
+
var SU = B.makeSpan;
|
|
44390
44389
|
function S6(t, e) {
|
|
44391
44390
|
var n = Nt(t.body, e, !0);
|
|
44392
|
-
return
|
|
44391
|
+
return SU([t.mclass], n, e);
|
|
44393
44392
|
}
|
|
44394
44393
|
function E6(t, e) {
|
|
44395
44394
|
var n, r = Nn(t.body, e);
|
|
@@ -44508,7 +44507,7 @@ ie({
|
|
|
44508
44507
|
return r.setAttribute("style", "text-shadow: 0.02em 0.01em 0.04px"), r;
|
|
44509
44508
|
}
|
|
44510
44509
|
});
|
|
44511
|
-
var
|
|
44510
|
+
var EU = {
|
|
44512
44511
|
">": "\\\\cdrightarrow",
|
|
44513
44512
|
"<": "\\\\cdleftarrow",
|
|
44514
44513
|
"=": "\\\\cdlongequal",
|
|
@@ -44521,9 +44520,9 @@ var SU = {
|
|
|
44521
44520
|
body: [],
|
|
44522
44521
|
mode: "math",
|
|
44523
44522
|
style: "display"
|
|
44524
|
-
}), Hy = (t) => t.type === "textord" && t.text === "@",
|
|
44525
|
-
function
|
|
44526
|
-
var r =
|
|
44523
|
+
}), Hy = (t) => t.type === "textord" && t.text === "@", CU = (t, e) => (t.type === "mathord" || t.type === "atom") && t.text === e;
|
|
44524
|
+
function MU(t, e, n) {
|
|
44525
|
+
var r = EU[t];
|
|
44527
44526
|
switch (r) {
|
|
44528
44527
|
case "\\\\cdrightarrow":
|
|
44529
44528
|
case "\\\\cdleftarrow":
|
|
@@ -44560,7 +44559,7 @@ function CU(t, e, n) {
|
|
|
44560
44559
|
};
|
|
44561
44560
|
}
|
|
44562
44561
|
}
|
|
44563
|
-
function
|
|
44562
|
+
function TU(t) {
|
|
44564
44563
|
var e = [];
|
|
44565
44564
|
for (t.gullet.beginGroup(), t.gullet.macros.set("\\cr", "\\\\\\relax"), t.gullet.beginGroup(); ; ) {
|
|
44566
44565
|
e.push(t.parseExpression(!1, "\\\\")), t.gullet.endGroup(), t.gullet.beginGroup();
|
|
@@ -44591,7 +44590,7 @@ function MU(t) {
|
|
|
44591
44590
|
}, !("=|.".indexOf(c) > -1)) if ("<>AV".indexOf(c) > -1)
|
|
44592
44591
|
for (var d = 0; d < 2; d++) {
|
|
44593
44592
|
for (var f = !0, h = l + 1; h < o.length; h++) {
|
|
44594
|
-
if (
|
|
44593
|
+
if (CU(o[h], c)) {
|
|
44595
44594
|
f = !1, l = h;
|
|
44596
44595
|
break;
|
|
44597
44596
|
}
|
|
@@ -44604,7 +44603,7 @@ function MU(t) {
|
|
|
44604
44603
|
}
|
|
44605
44604
|
else
|
|
44606
44605
|
throw new X('Expected one of "<>AV=|." after @', o[l]);
|
|
44607
|
-
var p =
|
|
44606
|
+
var p = MU(c, u, t), m = {
|
|
44608
44607
|
type: "styling",
|
|
44609
44608
|
body: [p],
|
|
44610
44609
|
mode: "math",
|
|
@@ -44812,7 +44811,7 @@ var Lp = {
|
|
|
44812
44811
|
if (/^(?:[\\{}$&#^_]|EOF)$/.test(e))
|
|
44813
44812
|
throw new X("Expected a control sequence", t);
|
|
44814
44813
|
return e;
|
|
44815
|
-
},
|
|
44814
|
+
}, AU = (t) => {
|
|
44816
44815
|
var e = t.gullet.popToken();
|
|
44817
44816
|
return e.text === "=" && (e = t.gullet.popToken(), e.text === " " && (e = t.gullet.popToken())), e;
|
|
44818
44817
|
}, A6 = (t, e, n, r) => {
|
|
@@ -44910,7 +44909,7 @@ ie({
|
|
|
44910
44909
|
funcName: n
|
|
44911
44910
|
} = t, r = T6(e.gullet.popToken());
|
|
44912
44911
|
e.gullet.consumeSpaces();
|
|
44913
|
-
var i =
|
|
44912
|
+
var i = AU(e);
|
|
44914
44913
|
return A6(e, r, i, n === "\\\\globallet"), {
|
|
44915
44914
|
type: "internal",
|
|
44916
44915
|
mode: e.mode
|
|
@@ -44951,13 +44950,13 @@ var Ba = function(e, n, r) {
|
|
|
44951
44950
|
}, N6 = function(e, n, r) {
|
|
44952
44951
|
var i = n.havingBaseStyle(r), s = (1 - n.sizeMultiplier / i.sizeMultiplier) * n.fontMetrics().axisHeight;
|
|
44953
44952
|
e.classes.push("delimcenter"), e.style.top = ee(s), e.height -= s, e.depth += s;
|
|
44954
|
-
},
|
|
44953
|
+
}, NU = function(e, n, r, i, s, o) {
|
|
44955
44954
|
var a = B.makeSymbol(e, "Main-Regular", s, i), l = jg(a, n, i, o);
|
|
44956
44955
|
return r && N6(l, i, n), l;
|
|
44957
|
-
},
|
|
44956
|
+
}, OU = function(e, n, r, i) {
|
|
44958
44957
|
return B.makeSymbol(e, "Size" + n + "-Regular", r, i);
|
|
44959
44958
|
}, O6 = function(e, n, r, i, s, o) {
|
|
44960
|
-
var a =
|
|
44959
|
+
var a = OU(e, n, s, i), l = jg(B.makeSpan(["delimsizing", "size" + n], [a], i), ke.TEXT, i, o);
|
|
44961
44960
|
return r && N6(l, i, ke.TEXT), l;
|
|
44962
44961
|
}, eh = function(e, n, r) {
|
|
44963
44962
|
var i;
|
|
@@ -44968,7 +44967,7 @@ var Ba = function(e, n, r) {
|
|
|
44968
44967
|
elem: s
|
|
44969
44968
|
};
|
|
44970
44969
|
}, th = function(e, n, r) {
|
|
44971
|
-
var i = Vr["Size4-Regular"][e.charCodeAt(0)] ? Vr["Size4-Regular"][e.charCodeAt(0)][4] : Vr["Size1-Regular"][e.charCodeAt(0)][4], s = new ms("inner",
|
|
44970
|
+
var i = Vr["Size4-Regular"][e.charCodeAt(0)] ? Vr["Size4-Regular"][e.charCodeAt(0)][4] : Vr["Size1-Regular"][e.charCodeAt(0)][4], s = new ms("inner", LH(e, Math.round(1e3 * n))), o = new Ni([s], {
|
|
44972
44971
|
width: ee(i),
|
|
44973
44972
|
height: ee(n),
|
|
44974
44973
|
// Override CSS rule `.katex svg { width: 100% }`
|
|
@@ -44983,11 +44982,11 @@ var Ba = function(e, n, r) {
|
|
|
44983
44982
|
}, Bp = 8e-3, Zc = {
|
|
44984
44983
|
type: "kern",
|
|
44985
44984
|
size: -1 * Bp
|
|
44986
|
-
},
|
|
44985
|
+
}, _U = ["|", "\\lvert", "\\rvert", "\\vert"], RU = ["\\|", "\\lVert", "\\rVert", "\\Vert"], _6 = function(e, n, r, i, s, o) {
|
|
44987
44986
|
var a, l, c, u, d = "", f = 0;
|
|
44988
44987
|
a = c = u = e, l = null;
|
|
44989
44988
|
var h = "Size1-Regular";
|
|
44990
|
-
e === "\\uparrow" ? c = u = "⏐" : e === "\\Uparrow" ? c = u = "‖" : e === "\\downarrow" ? a = c = "⏐" : e === "\\Downarrow" ? a = c = "‖" : e === "\\updownarrow" ? (a = "\\uparrow", c = "⏐", u = "\\downarrow") : e === "\\Updownarrow" ? (a = "\\Uparrow", c = "‖", u = "\\Downarrow") :
|
|
44989
|
+
e === "\\uparrow" ? c = u = "⏐" : e === "\\Uparrow" ? c = u = "‖" : e === "\\downarrow" ? a = c = "⏐" : e === "\\Downarrow" ? a = c = "‖" : e === "\\updownarrow" ? (a = "\\uparrow", c = "⏐", u = "\\downarrow") : e === "\\Updownarrow" ? (a = "\\Uparrow", c = "‖", u = "\\Downarrow") : _U.includes(e) ? (c = "∣", d = "vert", f = 333) : RU.includes(e) ? (c = "∥", d = "doublevert", f = 556) : e === "[" || e === "\\lbrack" ? (a = "⎡", c = "⎢", u = "⎣", h = "Size4-Regular", d = "lbrack", f = 667) : e === "]" || e === "\\rbrack" ? (a = "⎤", c = "⎥", u = "⎦", h = "Size4-Regular", d = "rbrack", f = 667) : e === "\\lfloor" || e === "⌊" ? (c = a = "⎢", u = "⎣", h = "Size4-Regular", d = "lfloor", f = 667) : e === "\\lceil" || e === "⌈" ? (a = "⎡", c = u = "⎢", h = "Size4-Regular", d = "lceil", f = 667) : e === "\\rfloor" || e === "⌋" ? (c = a = "⎥", u = "⎦", h = "Size4-Regular", d = "rfloor", f = 667) : e === "\\rceil" || e === "⌉" ? (a = "⎤", c = u = "⎥", h = "Size4-Regular", d = "rceil", f = 667) : e === "(" || e === "\\lparen" ? (a = "⎛", c = "⎜", u = "⎝", h = "Size4-Regular", d = "lparen", f = 875) : e === ")" || e === "\\rparen" ? (a = "⎞", c = "⎟", u = "⎠", h = "Size4-Regular", d = "rparen", f = 875) : e === "\\{" || e === "\\lbrace" ? (a = "⎧", l = "⎨", u = "⎩", c = "⎪", h = "Size4-Regular") : e === "\\}" || e === "\\rbrace" ? (a = "⎫", l = "⎬", u = "⎭", c = "⎪", h = "Size4-Regular") : e === "\\lgroup" || e === "⟮" ? (a = "⎧", u = "⎩", c = "⎪", h = "Size4-Regular") : e === "\\rgroup" || e === "⟯" ? (a = "⎫", u = "⎭", c = "⎪", h = "Size4-Regular") : e === "\\lmoustache" || e === "⎰" ? (a = "⎧", u = "⎭", c = "⎪", h = "Size4-Regular") : (e === "\\rmoustache" || e === "⎱") && (a = "⎫", u = "⎩", c = "⎪", h = "Size4-Regular");
|
|
44991
44990
|
var p = Ba(a, h, s), m = p.height + p.depth, g = Ba(c, h, s), b = g.height + g.depth, x = Ba(u, h, s), S = x.height + x.depth, y = 0, k = 1;
|
|
44992
44991
|
if (l !== null) {
|
|
44993
44992
|
var C = Ba(l, h, s);
|
|
@@ -44997,7 +44996,7 @@ var Ba = function(e, n, r) {
|
|
|
44997
44996
|
r && (L *= i.sizeMultiplier);
|
|
44998
44997
|
var F = _ / 2 - L, P = [];
|
|
44999
44998
|
if (d.length > 0) {
|
|
45000
|
-
var D = _ - m - S, $ = Math.round(_ * 1e3), j =
|
|
44999
|
+
var D = _ - m - S, $ = Math.round(_ * 1e3), j = BH(d, Math.round(D * 1e3)), I = new ms(d, j), z = (f / 1e3).toFixed(3) + "em", q = ($ / 1e3).toFixed(3) + "em", J = new Ni([I], {
|
|
45001
45000
|
width: z,
|
|
45002
45001
|
height: q,
|
|
45003
45002
|
viewBox: "0 0 " + f + " " + $
|
|
@@ -45023,7 +45022,7 @@ var Ba = function(e, n, r) {
|
|
|
45023
45022
|
}, $e);
|
|
45024
45023
|
return jg(B.makeSpan(["delimsizing", "mult"], [Ie], $e), ke.TEXT, i, o);
|
|
45025
45024
|
}, nh = 80, rh = 0.08, ih = function(e, n, r, i, s) {
|
|
45026
|
-
var o =
|
|
45025
|
+
var o = DH(e, i, r), a = new ms(e, o), l = new Ni([a], {
|
|
45027
45026
|
// Note: 1000:1 ratio of viewBox to document em width.
|
|
45028
45027
|
width: "400em",
|
|
45029
45028
|
height: ee(n),
|
|
@@ -45031,7 +45030,7 @@ var Ba = function(e, n, r) {
|
|
|
45031
45030
|
preserveAspectRatio: "xMinYMin slice"
|
|
45032
45031
|
});
|
|
45033
45032
|
return B.makeSvgSpan(["hide-tail"], [l], s);
|
|
45034
|
-
},
|
|
45033
|
+
}, IU = function(e, n) {
|
|
45035
45034
|
var r = n.havingBaseSizing(), i = L6("\\surd", e * r.sizeMultiplier, D6, r), s = r.sizeMultiplier, o = Math.max(0, n.minRuleThickness - n.fontMetrics().sqrtRuleThickness), a, l = 0, c = 0, u = 0, d;
|
|
45036
45035
|
return i.type === "small" ? (u = 1e3 + 1e3 * o + nh, e < 1 ? s = 1 : e < 1.4 && (s = 0.7), l = (1 + o + rh) / s, c = (1 + o) / s, a = ih("sqrtMain", l, u, o, n), a.style.minWidth = "0.853em", d = 0.833 / s) : i.type === "large" ? (u = (1e3 + nh) * Qa[i.size], c = (Qa[i.size] + o) / s, l = (Qa[i.size] + o + rh) / s, a = ih("sqrtSize" + i.size, l, u, o, n), a.style.minWidth = "1.02em", d = 1 / s) : (l = e + o + rh, c = e + o, u = Math.floor(1e3 * e + o) + nh, a = ih("sqrtTall", l, u, o, n), a.style.minWidth = "0.742em", d = 1.056), a.height = c, a.style.height = ee(l), {
|
|
45037
45036
|
span: a,
|
|
@@ -45042,13 +45041,13 @@ var Ba = function(e, n, r) {
|
|
|
45042
45041
|
// have thicker rules.
|
|
45043
45042
|
ruleWidth: (n.fontMetrics().sqrtRuleThickness + o) * s
|
|
45044
45043
|
};
|
|
45045
|
-
}, R6 = ["(", "\\lparen", ")", "\\rparen", "[", "\\lbrack", "]", "\\rbrack", "\\{", "\\lbrace", "\\}", "\\rbrace", "\\lfloor", "\\rfloor", "⌊", "⌋", "\\lceil", "\\rceil", "⌈", "⌉", "\\surd"],
|
|
45044
|
+
}, R6 = ["(", "\\lparen", ")", "\\rparen", "[", "\\lbrack", "]", "\\rbrack", "\\{", "\\lbrace", "\\}", "\\rbrace", "\\lfloor", "\\rfloor", "⌊", "⌋", "\\lceil", "\\rceil", "⌈", "⌉", "\\surd"], DU = ["\\uparrow", "\\downarrow", "\\updownarrow", "\\Uparrow", "\\Downarrow", "\\Updownarrow", "|", "\\|", "\\vert", "\\Vert", "\\lvert", "\\rvert", "\\lVert", "\\rVert", "\\lgroup", "\\rgroup", "⟮", "⟯", "\\lmoustache", "\\rmoustache", "⎰", "⎱"], I6 = ["<", ">", "\\langle", "\\rangle", "/", "\\backslash", "\\lt", "\\gt"], Qa = [0, 1.2, 1.8, 2.4, 3], LU = function(e, n, r, i, s) {
|
|
45046
45045
|
if (e === "<" || e === "\\lt" || e === "⟨" ? e = "\\langle" : (e === ">" || e === "\\gt" || e === "⟩") && (e = "\\rangle"), R6.includes(e) || I6.includes(e))
|
|
45047
45046
|
return O6(e, n, !1, r, i, s);
|
|
45048
|
-
if (
|
|
45047
|
+
if (DU.includes(e))
|
|
45049
45048
|
return _6(e, Qa[n], !1, r, i, s);
|
|
45050
45049
|
throw new X("Illegal delimiter: '" + e + "'");
|
|
45051
|
-
},
|
|
45050
|
+
}, BU = [{
|
|
45052
45051
|
type: "small",
|
|
45053
45052
|
style: ke.SCRIPTSCRIPT
|
|
45054
45053
|
}, {
|
|
@@ -45069,7 +45068,7 @@ var Ba = function(e, n, r) {
|
|
|
45069
45068
|
}, {
|
|
45070
45069
|
type: "large",
|
|
45071
45070
|
size: 4
|
|
45072
|
-
}],
|
|
45071
|
+
}], PU = [{
|
|
45073
45072
|
type: "small",
|
|
45074
45073
|
style: ke.SCRIPTSCRIPT
|
|
45075
45074
|
}, {
|
|
@@ -45103,7 +45102,7 @@ var Ba = function(e, n, r) {
|
|
|
45103
45102
|
size: 4
|
|
45104
45103
|
}, {
|
|
45105
45104
|
type: "stack"
|
|
45106
|
-
}],
|
|
45105
|
+
}], $U = function(e) {
|
|
45107
45106
|
if (e.type === "small")
|
|
45108
45107
|
return "Main-Regular";
|
|
45109
45108
|
if (e.type === "large")
|
|
@@ -45113,7 +45112,7 @@ var Ba = function(e, n, r) {
|
|
|
45113
45112
|
throw new Error("Add support for delim type '" + e.type + "' here.");
|
|
45114
45113
|
}, L6 = function(e, n, r, i) {
|
|
45115
45114
|
for (var s = Math.min(2, 3 - i.style.size), o = s; o < r.length && r[o].type !== "stack"; o++) {
|
|
45116
|
-
var a = Ba(e,
|
|
45115
|
+
var a = Ba(e, $U(r[o]), "math"), l = a.height + a.depth;
|
|
45117
45116
|
if (r[o].type === "small") {
|
|
45118
45117
|
var c = i.havingBaseStyle(r[o].style);
|
|
45119
45118
|
l *= c.sizeMultiplier;
|
|
@@ -45125,10 +45124,10 @@ var Ba = function(e, n, r) {
|
|
|
45125
45124
|
}, B6 = function(e, n, r, i, s, o) {
|
|
45126
45125
|
e === "<" || e === "\\lt" || e === "⟨" ? e = "\\langle" : (e === ">" || e === "\\gt" || e === "⟩") && (e = "\\rangle");
|
|
45127
45126
|
var a;
|
|
45128
|
-
I6.includes(e) ? a =
|
|
45127
|
+
I6.includes(e) ? a = BU : R6.includes(e) ? a = D6 : a = PU;
|
|
45129
45128
|
var l = L6(e, n, a, i);
|
|
45130
|
-
return l.type === "small" ?
|
|
45131
|
-
},
|
|
45129
|
+
return l.type === "small" ? NU(e, l.style, r, i, s, o) : l.type === "large" ? O6(e, l.size, r, i, s, o) : _6(e, n, r, i, s, o);
|
|
45130
|
+
}, zU = function(e, n, r, i, s, o) {
|
|
45132
45131
|
var a = i.fontMetrics().axisHeight * i.sizeMultiplier, l = 901, c = 5 / i.fontMetrics().ptPerEm, u = Math.max(n - a, r + a), d = Math.max(
|
|
45133
45132
|
// In real TeX, calculations are done using integral values which are
|
|
45134
45133
|
// 65536 per pt, or 655360 per em. So, the division here truncates in
|
|
@@ -45144,11 +45143,11 @@ var Ba = function(e, n, r) {
|
|
|
45144
45143
|
);
|
|
45145
45144
|
return B6(e, d, !0, i, s, o);
|
|
45146
45145
|
}, Ei = {
|
|
45147
|
-
sqrtImage:
|
|
45148
|
-
sizedDelim:
|
|
45146
|
+
sqrtImage: IU,
|
|
45147
|
+
sizedDelim: LU,
|
|
45149
45148
|
sizeToMaxHeight: Qa,
|
|
45150
45149
|
customSizedDelim: B6,
|
|
45151
|
-
leftRightDelim:
|
|
45150
|
+
leftRightDelim: zU
|
|
45152
45151
|
}, Uy = {
|
|
45153
45152
|
"\\bigl": {
|
|
45154
45153
|
mclass: "mopen",
|
|
@@ -45214,10 +45213,10 @@ var Ba = function(e, n, r) {
|
|
|
45214
45213
|
mclass: "mord",
|
|
45215
45214
|
size: 4
|
|
45216
45215
|
}
|
|
45217
|
-
},
|
|
45216
|
+
}, FU = ["(", "\\lparen", ")", "\\rparen", "[", "\\lbrack", "]", "\\rbrack", "\\{", "\\lbrace", "\\}", "\\rbrace", "\\lfloor", "\\rfloor", "⌊", "⌋", "\\lceil", "\\rceil", "⌈", "⌉", "<", ">", "\\langle", "⟨", "\\rangle", "⟩", "\\lt", "\\gt", "\\lvert", "\\rvert", "\\lVert", "\\rVert", "\\lgroup", "\\rgroup", "⟮", "⟯", "\\lmoustache", "\\rmoustache", "⎰", "⎱", "/", "\\backslash", "|", "\\vert", "\\|", "\\Vert", "\\uparrow", "\\Uparrow", "\\downarrow", "\\Downarrow", "\\updownarrow", "\\Updownarrow", "."];
|
|
45218
45217
|
function U0(t, e) {
|
|
45219
45218
|
var n = F0(t);
|
|
45220
|
-
if (n &&
|
|
45219
|
+
if (n && FU.includes(n.text))
|
|
45221
45220
|
return n;
|
|
45222
45221
|
throw n ? new X("Invalid delimiter '" + n.text + "' after '" + e.funcName + "'", t) : new X("Invalid delimiter type '" + t.type + "'", t);
|
|
45223
45222
|
}
|
|
@@ -45379,7 +45378,7 @@ var Gg = (t, e) => {
|
|
|
45379
45378
|
i = i / u.sizeMultiplier;
|
|
45380
45379
|
var d = n.height + n.depth + l + c;
|
|
45381
45380
|
n.style.paddingLeft = ee(d / 2 + l);
|
|
45382
|
-
var f = Math.floor(1e3 * d * i), h =
|
|
45381
|
+
var f = Math.floor(1e3 * d * i), h = RH(f), p = new Ni([new ms("phase", h)], {
|
|
45383
45382
|
width: "400em",
|
|
45384
45383
|
height: ee(f / 1e3),
|
|
45385
45384
|
viewBox: "0 0 400000 " + f,
|
|
@@ -45810,7 +45809,7 @@ var oi = function(e, n) {
|
|
|
45810
45809
|
children: z
|
|
45811
45810
|
}, n);
|
|
45812
45811
|
return vt = B.makeSpan(["tag"], [vt], n), B.makeFragment([l, vt]);
|
|
45813
|
-
},
|
|
45812
|
+
}, HU = {
|
|
45814
45813
|
c: "center ",
|
|
45815
45814
|
l: "left ",
|
|
45816
45815
|
r: "right "
|
|
@@ -45827,7 +45826,7 @@ var oi = function(e, n) {
|
|
|
45827
45826
|
var p = e.cols, m = "", g = !1, b = 0, x = p.length;
|
|
45828
45827
|
p[0].type === "separator" && (f += "top ", b = 1), p[p.length - 1].type === "separator" && (f += "bottom ", x -= 1);
|
|
45829
45828
|
for (var S = b; S < x; S++)
|
|
45830
|
-
p[S].type === "align" ? (h +=
|
|
45829
|
+
p[S].type === "align" ? (h += HU[p[S].align], g && (m += "none "), g = !0) : p[S].type === "separator" && g && (m += p[S].separator === "|" ? "solid " : "dashed ", g = !1);
|
|
45831
45830
|
u.setAttribute("columnalign", h.trim()), /[sd]/.test(m) && u.setAttribute("columnlines", m.trim());
|
|
45832
45831
|
}
|
|
45833
45832
|
if (e.colSeparationType === "align") {
|
|
@@ -46126,7 +46125,7 @@ si({
|
|
|
46126
46125
|
numArgs: 0
|
|
46127
46126
|
},
|
|
46128
46127
|
handler(t) {
|
|
46129
|
-
return V0(t),
|
|
46128
|
+
return V0(t), TU(t.parser);
|
|
46130
46129
|
},
|
|
46131
46130
|
htmlBuilder: oi,
|
|
46132
46131
|
mathmlBuilder: ai
|
|
@@ -46591,7 +46590,7 @@ ie({
|
|
|
46591
46590
|
var {
|
|
46592
46591
|
parser: n,
|
|
46593
46592
|
funcName: r
|
|
46594
|
-
} = t, i = e[0], s =
|
|
46593
|
+
} = t, i = e[0], s = bH(Ne(e[1], "infix").size), o = e[2], a = s.number > 0;
|
|
46595
46594
|
return {
|
|
46596
46595
|
type: "genfrac",
|
|
46597
46596
|
mode: n.mode,
|
|
@@ -46667,7 +46666,7 @@ var V6 = (t, e) => {
|
|
|
46667
46666
|
}, e);
|
|
46668
46667
|
}
|
|
46669
46668
|
return B.makeSpan(["mord", i.isOver ? "mover" : "munder"], [a], e);
|
|
46670
|
-
},
|
|
46669
|
+
}, UU = (t, e) => {
|
|
46671
46670
|
var n = _i.mathMLnode(t.label);
|
|
46672
46671
|
return new K.MathNode(t.isOver ? "mover" : "munder", [tt(t.base, e), n]);
|
|
46673
46672
|
};
|
|
@@ -46691,7 +46690,7 @@ ie({
|
|
|
46691
46690
|
};
|
|
46692
46691
|
},
|
|
46693
46692
|
htmlBuilder: V6,
|
|
46694
|
-
mathmlBuilder:
|
|
46693
|
+
mathmlBuilder: UU
|
|
46695
46694
|
});
|
|
46696
46695
|
ie({
|
|
46697
46696
|
type: "href",
|
|
@@ -46969,7 +46968,7 @@ ie({
|
|
|
46969
46968
|
height: ee(n + r)
|
|
46970
46969
|
};
|
|
46971
46970
|
i > 0 && (s.width = ee(i)), r > 0 && (s.verticalAlign = ee(-r));
|
|
46972
|
-
var o = new
|
|
46971
|
+
var o = new UH(t.src, t.alt, s);
|
|
46973
46972
|
return o.height = n, o.depth = r, o;
|
|
46974
46973
|
},
|
|
46975
46974
|
mathmlBuilder: (t, e) => {
|
|
@@ -47269,7 +47268,7 @@ var q6 = (t, e, n, r, i, s, o) => {
|
|
|
47269
47268
|
t.parentIsSupSub ? n = new Bn("mrow", [n, r]) : n = y6([n, r]);
|
|
47270
47269
|
}
|
|
47271
47270
|
return n;
|
|
47272
|
-
},
|
|
47271
|
+
}, VU = {
|
|
47273
47272
|
"∏": "\\prod",
|
|
47274
47273
|
"∐": "\\coprod",
|
|
47275
47274
|
"∑": "\\sum",
|
|
@@ -47294,7 +47293,7 @@ ie({
|
|
|
47294
47293
|
parser: n,
|
|
47295
47294
|
funcName: r
|
|
47296
47295
|
} = t, i = r;
|
|
47297
|
-
return i.length === 1 && (i =
|
|
47296
|
+
return i.length === 1 && (i = VU[i]), {
|
|
47298
47297
|
type: "op",
|
|
47299
47298
|
mode: n.mode,
|
|
47300
47299
|
limits: !0,
|
|
@@ -47329,7 +47328,7 @@ ie({
|
|
|
47329
47328
|
htmlBuilder: Ea,
|
|
47330
47329
|
mathmlBuilder: uc
|
|
47331
47330
|
});
|
|
47332
|
-
var
|
|
47331
|
+
var qU = {
|
|
47333
47332
|
"∫": "\\int",
|
|
47334
47333
|
"∬": "\\iint",
|
|
47335
47334
|
"∭": "\\iiint",
|
|
@@ -47395,7 +47394,7 @@ ie({
|
|
|
47395
47394
|
parser: e,
|
|
47396
47395
|
funcName: n
|
|
47397
47396
|
} = t, r = n;
|
|
47398
|
-
return r.length === 1 && (r =
|
|
47397
|
+
return r.length === 1 && (r = qU[r]), {
|
|
47399
47398
|
type: "op",
|
|
47400
47399
|
mode: e.mode,
|
|
47401
47400
|
limits: !1,
|
|
@@ -47427,7 +47426,7 @@ var j6 = (t, e) => {
|
|
|
47427
47426
|
} else
|
|
47428
47427
|
o = B.makeSpan(["mop"], [], e);
|
|
47429
47428
|
return i ? q6(o, n, r, e, e.style, 0, 0) : o;
|
|
47430
|
-
},
|
|
47429
|
+
}, WU = (t, e) => {
|
|
47431
47430
|
for (var n = Nn(t.body, e.withFont("mathrm")), r = !0, i = 0; i < n.length; i++) {
|
|
47432
47431
|
var s = n[i];
|
|
47433
47432
|
if (!(s instanceof K.SpaceNode)) if (s instanceof K.MathNode)
|
|
@@ -47479,7 +47478,7 @@ ie({
|
|
|
47479
47478
|
};
|
|
47480
47479
|
},
|
|
47481
47480
|
htmlBuilder: j6,
|
|
47482
|
-
mathmlBuilder:
|
|
47481
|
+
mathmlBuilder: WU
|
|
47483
47482
|
});
|
|
47484
47483
|
M("\\operatorname", "\\@ifstar\\operatornamewithlimits\\operatorname@");
|
|
47485
47484
|
fo({
|
|
@@ -47713,7 +47712,7 @@ function G6(t, e, n) {
|
|
|
47713
47712
|
}
|
|
47714
47713
|
return B.makeFragment(r);
|
|
47715
47714
|
}
|
|
47716
|
-
var Xy = ["\\tiny", "\\sixptsize", "\\scriptsize", "\\footnotesize", "\\small", "\\normalsize", "\\large", "\\Large", "\\LARGE", "\\huge", "\\Huge"],
|
|
47715
|
+
var Xy = ["\\tiny", "\\sixptsize", "\\scriptsize", "\\footnotesize", "\\small", "\\normalsize", "\\large", "\\Large", "\\LARGE", "\\huge", "\\Huge"], jU = (t, e) => {
|
|
47717
47716
|
var n = e.havingSize(t.size);
|
|
47718
47717
|
return G6(t.body, n, e);
|
|
47719
47718
|
};
|
|
@@ -47738,7 +47737,7 @@ ie({
|
|
|
47738
47737
|
body: s
|
|
47739
47738
|
};
|
|
47740
47739
|
},
|
|
47741
|
-
htmlBuilder:
|
|
47740
|
+
htmlBuilder: jU,
|
|
47742
47741
|
mathmlBuilder: (t, e) => {
|
|
47743
47742
|
var n = e.havingSize(t.size), r = Nn(t.body, n), i = new K.MathNode("mstyle", r);
|
|
47744
47743
|
return i.setAttribute("mathsize", ee(n.sizeMultiplier)), i;
|
|
@@ -47915,7 +47914,7 @@ ie({
|
|
|
47915
47914
|
return s.setAttribute("scriptlevel", a[0]), s.setAttribute("displaystyle", a[1]), s;
|
|
47916
47915
|
}
|
|
47917
47916
|
});
|
|
47918
|
-
var
|
|
47917
|
+
var GU = function(e, n) {
|
|
47919
47918
|
var r = e.base;
|
|
47920
47919
|
if (r)
|
|
47921
47920
|
if (r.type === "op") {
|
|
@@ -47938,7 +47937,7 @@ var jU = function(e, n) {
|
|
|
47938
47937
|
fo({
|
|
47939
47938
|
type: "supsub",
|
|
47940
47939
|
htmlBuilder(t, e) {
|
|
47941
|
-
var n =
|
|
47940
|
+
var n = GU(t, e);
|
|
47942
47941
|
if (n)
|
|
47943
47942
|
return n(t, e);
|
|
47944
47943
|
var {
|
|
@@ -48138,7 +48137,7 @@ var Qy = {
|
|
|
48138
48137
|
}, e2 = {
|
|
48139
48138
|
"\\textbf": "textbf",
|
|
48140
48139
|
"\\textmd": "textmd"
|
|
48141
|
-
},
|
|
48140
|
+
}, KU = {
|
|
48142
48141
|
"\\textit": "textit",
|
|
48143
48142
|
"\\textup": "textup"
|
|
48144
48143
|
}, t2 = (t, e) => {
|
|
@@ -48151,7 +48150,7 @@ var Qy = {
|
|
|
48151
48150
|
if (n === "\\emph")
|
|
48152
48151
|
return e.fontShape === "textit" ? e.withTextFontShape("textup") : e.withTextFontShape("textit");
|
|
48153
48152
|
} else return e;
|
|
48154
|
-
return e.withTextFontShape(
|
|
48153
|
+
return e.withTextFontShape(KU[n]);
|
|
48155
48154
|
};
|
|
48156
48155
|
ie({
|
|
48157
48156
|
type: "text",
|
|
@@ -48298,22 +48297,22 @@ ie({
|
|
|
48298
48297
|
}
|
|
48299
48298
|
});
|
|
48300
48299
|
var n2 = (t) => t.body.replace(/ /g, t.star ? "␣" : " "), ts = b6, Y6 = `[ \r
|
|
48301
|
-
]`,
|
|
48300
|
+
]`, YU = "\\\\[a-zA-Z@]+", XU = "\\\\[^\uD800-\uDFFF]", JU = "(" + YU + ")" + Y6 + "*", ZU = `\\\\(
|
|
48302
48301
|
|[ \r ]+
|
|
48303
|
-
?)[ \r ]*`, Pp = "[̀-ͯ]",
|
|
48304
|
-
(
|
|
48302
|
+
?)[ \r ]*`, Pp = "[̀-ͯ]", QU = new RegExp(Pp + "+$"), eV = "(" + Y6 + "+)|" + // whitespace
|
|
48303
|
+
(ZU + "|") + // \whitespace
|
|
48305
48304
|
"([!-\\[\\]-‧-豈-]" + // single codepoint
|
|
48306
48305
|
(Pp + "*") + // ...plus accents
|
|
48307
48306
|
"|[\uD800-\uDBFF][\uDC00-\uDFFF]" + // surrogate pair
|
|
48308
48307
|
(Pp + "*") + // ...plus accents
|
|
48309
48308
|
"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5" + // \verb unstarred
|
|
48310
|
-
("|" +
|
|
48311
|
-
("|" +
|
|
48309
|
+
("|" + JU) + // \macroName + spaces
|
|
48310
|
+
("|" + XU + ")");
|
|
48312
48311
|
class r2 {
|
|
48313
48312
|
// Category codes. The lexer only supports comment characters (14) for now.
|
|
48314
48313
|
// MacroExpander additionally distinguishes active (13).
|
|
48315
48314
|
constructor(e, n) {
|
|
48316
|
-
this.input = void 0, this.settings = void 0, this.tokenRegex = void 0, this.catcodes = void 0, this.input = e, this.settings = n, this.tokenRegex = new RegExp(
|
|
48315
|
+
this.input = void 0, this.settings = void 0, this.tokenRegex = void 0, this.catcodes = void 0, this.input = e, this.settings = n, this.tokenRegex = new RegExp(eV, "g"), this.catcodes = {
|
|
48317
48316
|
"%": 14,
|
|
48318
48317
|
// comment character
|
|
48319
48318
|
"~": 13
|
|
@@ -48342,7 +48341,7 @@ class r2 {
|
|
|
48342
48341
|
return new zn(i, new vn(this, n, this.tokenRegex.lastIndex));
|
|
48343
48342
|
}
|
|
48344
48343
|
}
|
|
48345
|
-
class
|
|
48344
|
+
class tV {
|
|
48346
48345
|
/**
|
|
48347
48346
|
* Both arguments are optional. The first argument is an object of
|
|
48348
48347
|
* built-in mappings which never change. The second argument is an object
|
|
@@ -48413,7 +48412,7 @@ class eV {
|
|
|
48413
48412
|
n == null ? delete this.current[e] : this.current[e] = n;
|
|
48414
48413
|
}
|
|
48415
48414
|
}
|
|
48416
|
-
var
|
|
48415
|
+
var nV = $6;
|
|
48417
48416
|
M("\\noexpand", function(t) {
|
|
48418
48417
|
var e = t.popToken();
|
|
48419
48418
|
return t.isExpandable(e.text) && (e.noexpand = !0, e.treatAsRelax = !0), {
|
|
@@ -49004,9 +49003,9 @@ var Z6 = {
|
|
|
49004
49003
|
"\\nolimits": !0
|
|
49005
49004
|
// Parser.js
|
|
49006
49005
|
};
|
|
49007
|
-
class
|
|
49006
|
+
class rV {
|
|
49008
49007
|
constructor(e, n, r) {
|
|
49009
|
-
this.settings = void 0, this.expansionCount = void 0, this.lexer = void 0, this.macros = void 0, this.stack = void 0, this.mode = void 0, this.settings = n, this.expansionCount = 0, this.feed(e), this.macros = new
|
|
49008
|
+
this.settings = void 0, this.expansionCount = void 0, this.lexer = void 0, this.macros = void 0, this.stack = void 0, this.mode = void 0, this.settings = n, this.expansionCount = 0, this.feed(e), this.macros = new tV(nV, n.macros), this.mode = r, this.stack = [];
|
|
49010
49009
|
}
|
|
49011
49010
|
/**
|
|
49012
49011
|
* Feed a new input string to the same MacroExpander
|
|
@@ -49796,7 +49795,7 @@ var o2 = /^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗ
|
|
|
49796
49795
|
};
|
|
49797
49796
|
class q0 {
|
|
49798
49797
|
constructor(e, n) {
|
|
49799
|
-
this.mode = void 0, this.gullet = void 0, this.settings = void 0, this.leftrightDepth = void 0, this.nextToken = void 0, this.mode = "math", this.gullet = new
|
|
49798
|
+
this.mode = void 0, this.gullet = void 0, this.settings = void 0, this.leftrightDepth = void 0, this.nextToken = void 0, this.mode = "math", this.gullet = new rV(e, n, this.mode), this.settings = n, this.leftrightDepth = 0;
|
|
49800
49799
|
}
|
|
49801
49800
|
/**
|
|
49802
49801
|
* Checks a result to make sure it has the right type, and throws an
|
|
@@ -50310,13 +50309,13 @@ class q0 {
|
|
|
50310
50309
|
};
|
|
50311
50310
|
}
|
|
50312
50311
|
a2.hasOwnProperty(n[0]) && !nt[this.mode][n[0]] && (this.settings.strict && this.mode === "math" && this.settings.reportNonstrict("unicodeTextInMathMode", 'Accented Unicode text character "' + n[0] + '" used in math mode', e), n = a2[n[0]] + n.slice(1));
|
|
50313
|
-
var s =
|
|
50312
|
+
var s = QU.exec(n);
|
|
50314
50313
|
s && (n = n.substring(0, s.index), n === "i" ? n = "ı" : n === "j" && (n = "ȷ"));
|
|
50315
50314
|
var o;
|
|
50316
50315
|
if (nt[this.mode][n]) {
|
|
50317
50316
|
this.settings.strict && this.mode === "math" && Rp.indexOf(n) >= 0 && this.settings.reportNonstrict("unicodeTextInMathMode", 'Latin-1/Unicode text character "' + n[0] + '" used in math mode', e);
|
|
50318
50317
|
var a = nt[this.mode][n].group, l = vn.range(e), c;
|
|
50319
|
-
if (
|
|
50318
|
+
if (WH.hasOwnProperty(a)) {
|
|
50320
50319
|
var u = a;
|
|
50321
50320
|
c = {
|
|
50322
50321
|
type: "atom",
|
|
@@ -50390,10 +50389,10 @@ var t1 = function(e, n) {
|
|
|
50390
50389
|
typeof document < "u" && document.compatMode !== "CSS1Compat" && (typeof console < "u" && console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."), Q6 = function() {
|
|
50391
50390
|
throw new X("KaTeX doesn't work in quirks mode.");
|
|
50392
50391
|
});
|
|
50393
|
-
var
|
|
50392
|
+
var iV = function(e, n) {
|
|
50394
50393
|
var r = n1(e, n).toMarkup();
|
|
50395
50394
|
return r;
|
|
50396
|
-
},
|
|
50395
|
+
}, sV = function(e, n) {
|
|
50397
50396
|
var r = new Pg(n);
|
|
50398
50397
|
return t1(e, r);
|
|
50399
50398
|
}, ek = function(e, n, r) {
|
|
@@ -50405,19 +50404,19 @@ var rV = function(e, n) {
|
|
|
50405
50404
|
var r = new Pg(n);
|
|
50406
50405
|
try {
|
|
50407
50406
|
var i = t1(e, r);
|
|
50408
|
-
return
|
|
50407
|
+
return pU(i, e, r);
|
|
50409
50408
|
} catch (s) {
|
|
50410
50409
|
return ek(s, e, r);
|
|
50411
50410
|
}
|
|
50412
|
-
},
|
|
50411
|
+
}, oV = function(e, n) {
|
|
50413
50412
|
var r = new Pg(n);
|
|
50414
50413
|
try {
|
|
50415
50414
|
var i = t1(e, r);
|
|
50416
|
-
return
|
|
50415
|
+
return mU(i, e, r);
|
|
50417
50416
|
} catch (s) {
|
|
50418
50417
|
return ek(s, e, r);
|
|
50419
50418
|
}
|
|
50420
|
-
},
|
|
50419
|
+
}, aV = "0.16.27", lV = {
|
|
50421
50420
|
Span: cc,
|
|
50422
50421
|
Anchor: Fg,
|
|
50423
50422
|
SymbolNode: pr,
|
|
@@ -50428,7 +50427,7 @@ var rV = function(e, n) {
|
|
|
50428
50427
|
/**
|
|
50429
50428
|
* Current KaTeX version
|
|
50430
50429
|
*/
|
|
50431
|
-
version:
|
|
50430
|
+
version: aV,
|
|
50432
50431
|
/**
|
|
50433
50432
|
* Renders the given LaTeX into an HTML+MathML combination, and adds
|
|
50434
50433
|
* it as a child to the specified DOM node.
|
|
@@ -50438,7 +50437,7 @@ var rV = function(e, n) {
|
|
|
50438
50437
|
* Renders the given LaTeX into an HTML+MathML combination string,
|
|
50439
50438
|
* for sending to the client.
|
|
50440
50439
|
*/
|
|
50441
|
-
renderToString:
|
|
50440
|
+
renderToString: iV,
|
|
50442
50441
|
/**
|
|
50443
50442
|
* KaTeX error, usually during parsing.
|
|
50444
50443
|
*/
|
|
@@ -50455,7 +50454,7 @@ var rV = function(e, n) {
|
|
|
50455
50454
|
* The internal tree representation is unstable and is very likely
|
|
50456
50455
|
* to change. Use at your own risk.
|
|
50457
50456
|
*/
|
|
50458
|
-
__parse:
|
|
50457
|
+
__parse: sV,
|
|
50459
50458
|
/**
|
|
50460
50459
|
* Renders the given LaTeX into an HTML+MathML internal DOM tree
|
|
50461
50460
|
* representation, without flattening that representation to a string.
|
|
@@ -50473,12 +50472,12 @@ var rV = function(e, n) {
|
|
|
50473
50472
|
* The internal tree representation is unstable and is very likely
|
|
50474
50473
|
* to change. Use at your own risk.
|
|
50475
50474
|
*/
|
|
50476
|
-
__renderToHTMLTree:
|
|
50475
|
+
__renderToHTMLTree: oV,
|
|
50477
50476
|
/**
|
|
50478
50477
|
* extends internal font metrics object with a new object
|
|
50479
50478
|
* each key in the new object represents a font name
|
|
50480
50479
|
*/
|
|
50481
|
-
__setFontMetrics:
|
|
50480
|
+
__setFontMetrics: PH,
|
|
50482
50481
|
/**
|
|
50483
50482
|
* adds a new symbol to builtin symbols table
|
|
50484
50483
|
*/
|
|
@@ -50500,9 +50499,9 @@ var rV = function(e, n) {
|
|
|
50500
50499
|
* The internal tree representation is unstable and is very likely
|
|
50501
50500
|
* to change. Use at your own risk.
|
|
50502
50501
|
*/
|
|
50503
|
-
__domTree:
|
|
50502
|
+
__domTree: lV
|
|
50504
50503
|
};
|
|
50505
|
-
const
|
|
50504
|
+
const cV = rn.create({
|
|
50506
50505
|
name: "inlineMath",
|
|
50507
50506
|
group: "inline",
|
|
50508
50507
|
inline: !0,
|
|
@@ -50623,7 +50622,7 @@ const lV = rn.create({
|
|
|
50623
50622
|
};
|
|
50624
50623
|
};
|
|
50625
50624
|
}
|
|
50626
|
-
}),
|
|
50625
|
+
}), uV = Pe.create({
|
|
50627
50626
|
name: "Mathematics",
|
|
50628
50627
|
addOptions() {
|
|
50629
50628
|
return {
|
|
@@ -50634,13 +50633,13 @@ const lV = rn.create({
|
|
|
50634
50633
|
},
|
|
50635
50634
|
addExtensions() {
|
|
50636
50635
|
return [
|
|
50637
|
-
|
|
50636
|
+
cV.configure({
|
|
50638
50637
|
...this.options.inlineOptions,
|
|
50639
50638
|
katexOptions: this.options.katexOptions
|
|
50640
50639
|
})
|
|
50641
50640
|
];
|
|
50642
50641
|
}
|
|
50643
|
-
}),
|
|
50642
|
+
}), dV = Pe.create({
|
|
50644
50643
|
name: "fontSize",
|
|
50645
50644
|
addOptions() {
|
|
50646
50645
|
return {
|
|
@@ -50670,7 +50669,7 @@ const lV = rn.create({
|
|
|
50670
50669
|
};
|
|
50671
50670
|
}
|
|
50672
50671
|
});
|
|
50673
|
-
function
|
|
50672
|
+
function fV(t) {
|
|
50674
50673
|
const e = t.regex, n = t.COMMENT("//", "$", { contains: [{ begin: /\\\n/ }] }), r = "decltype\\(auto\\)", i = "[a-zA-Z_]\\w*::", o = "(?!struct)(" + r + "|" + e.optional(i) + "[a-zA-Z_]\\w*" + e.optional("<[^<>]+>") + ")", a = {
|
|
50675
50674
|
className: "type",
|
|
50676
50675
|
begin: "\\b[a-z\\d_]*_t\\b"
|
|
@@ -51188,7 +51187,7 @@ function dV(t) {
|
|
|
51188
51187
|
)
|
|
51189
51188
|
};
|
|
51190
51189
|
}
|
|
51191
|
-
function
|
|
51190
|
+
function hV(t) {
|
|
51192
51191
|
const e = {
|
|
51193
51192
|
type: [
|
|
51194
51193
|
"boolean",
|
|
@@ -51554,7 +51553,7 @@ function fV(t) {
|
|
|
51554
51553
|
"HIGH",
|
|
51555
51554
|
"LOW"
|
|
51556
51555
|
]
|
|
51557
|
-
}, n =
|
|
51556
|
+
}, n = fV(t), r = (
|
|
51558
51557
|
/** @type {Record<string,any>} */
|
|
51559
51558
|
n.keywords
|
|
51560
51559
|
);
|
|
@@ -51569,7 +51568,7 @@ function fV(t) {
|
|
|
51569
51568
|
...e.built_in
|
|
51570
51569
|
], r._hints = e._hints, n.name = "Arduino", n.aliases = ["ino"], n.supersetOf = "cpp", n;
|
|
51571
51570
|
}
|
|
51572
|
-
function
|
|
51571
|
+
function pV(t) {
|
|
51573
51572
|
const e = t.regex, n = {}, r = {
|
|
51574
51573
|
begin: /\$\{/,
|
|
51575
51574
|
end: /\}/,
|
|
@@ -51943,7 +51942,7 @@ function hV(t) {
|
|
|
51943
51942
|
]
|
|
51944
51943
|
};
|
|
51945
51944
|
}
|
|
51946
|
-
function
|
|
51945
|
+
function mV(t) {
|
|
51947
51946
|
const e = t.regex, n = t.COMMENT("//", "$", { contains: [{ begin: /\\\n/ }] }), r = "decltype\\(auto\\)", i = "[a-zA-Z_]\\w*::", o = "(" + r + "|" + e.optional(i) + "[a-zA-Z_]\\w*" + e.optional("<[^<>]+>") + ")", a = {
|
|
51948
51947
|
className: "type",
|
|
51949
51948
|
variants: [
|
|
@@ -52217,7 +52216,7 @@ function pV(t) {
|
|
|
52217
52216
|
}
|
|
52218
52217
|
};
|
|
52219
52218
|
}
|
|
52220
|
-
function
|
|
52219
|
+
function gV(t) {
|
|
52221
52220
|
const e = t.regex, n = t.COMMENT("//", "$", { contains: [{ begin: /\\\n/ }] }), r = "decltype\\(auto\\)", i = "[a-zA-Z_]\\w*::", o = "(?!struct)(" + r + "|" + e.optional(i) + "[a-zA-Z_]\\w*" + e.optional("<[^<>]+>") + ")", a = {
|
|
52222
52221
|
className: "type",
|
|
52223
52222
|
begin: "\\b[a-z\\d_]*_t\\b"
|
|
@@ -52735,7 +52734,7 @@ function mV(t) {
|
|
|
52735
52734
|
)
|
|
52736
52735
|
};
|
|
52737
52736
|
}
|
|
52738
|
-
function
|
|
52737
|
+
function bV(t) {
|
|
52739
52738
|
const e = [
|
|
52740
52739
|
"bool",
|
|
52741
52740
|
"byte",
|
|
@@ -53114,7 +53113,7 @@ function gV(t) {
|
|
|
53114
53113
|
]
|
|
53115
53114
|
};
|
|
53116
53115
|
}
|
|
53117
|
-
const
|
|
53116
|
+
const vV = (t) => ({
|
|
53118
53117
|
IMPORTANT: {
|
|
53119
53118
|
scope: "meta",
|
|
53120
53119
|
begin: "!important"
|
|
@@ -53147,7 +53146,7 @@ const bV = (t) => ({
|
|
|
53147
53146
|
className: "attr",
|
|
53148
53147
|
begin: /--[A-Za-z_][A-Za-z0-9_-]*/
|
|
53149
53148
|
}
|
|
53150
|
-
}),
|
|
53149
|
+
}), yV = [
|
|
53151
53150
|
"a",
|
|
53152
53151
|
"abbr",
|
|
53153
53152
|
"address",
|
|
@@ -53225,7 +53224,7 @@ const bV = (t) => ({
|
|
|
53225
53224
|
"ul",
|
|
53226
53225
|
"var",
|
|
53227
53226
|
"video"
|
|
53228
|
-
],
|
|
53227
|
+
], wV = [
|
|
53229
53228
|
"defs",
|
|
53230
53229
|
"g",
|
|
53231
53230
|
"marker",
|
|
@@ -53267,10 +53266,10 @@ const bV = (t) => ({
|
|
|
53267
53266
|
"tspan",
|
|
53268
53267
|
"foreignObject",
|
|
53269
53268
|
"clipPath"
|
|
53270
|
-
], wV = [
|
|
53271
|
-
...vV,
|
|
53272
|
-
...yV
|
|
53273
53269
|
], xV = [
|
|
53270
|
+
...yV,
|
|
53271
|
+
...wV
|
|
53272
|
+
], kV = [
|
|
53274
53273
|
"any-hover",
|
|
53275
53274
|
"any-pointer",
|
|
53276
53275
|
"aspect-ratio",
|
|
@@ -53305,7 +53304,7 @@ const bV = (t) => ({
|
|
|
53305
53304
|
"max-width",
|
|
53306
53305
|
"min-height",
|
|
53307
53306
|
"max-height"
|
|
53308
|
-
].sort().reverse(),
|
|
53307
|
+
].sort().reverse(), SV = [
|
|
53309
53308
|
"active",
|
|
53310
53309
|
"any-link",
|
|
53311
53310
|
"blank",
|
|
@@ -53379,7 +53378,7 @@ const bV = (t) => ({
|
|
|
53379
53378
|
"visited",
|
|
53380
53379
|
"where"
|
|
53381
53380
|
// where()
|
|
53382
|
-
].sort().reverse(),
|
|
53381
|
+
].sort().reverse(), EV = [
|
|
53383
53382
|
"after",
|
|
53384
53383
|
"backdrop",
|
|
53385
53384
|
"before",
|
|
@@ -53394,7 +53393,7 @@ const bV = (t) => ({
|
|
|
53394
53393
|
"selection",
|
|
53395
53394
|
"slotted",
|
|
53396
53395
|
"spelling-error"
|
|
53397
|
-
].sort().reverse(),
|
|
53396
|
+
].sort().reverse(), CV = [
|
|
53398
53397
|
"accent-color",
|
|
53399
53398
|
"align-content",
|
|
53400
53399
|
"align-items",
|
|
@@ -53911,8 +53910,8 @@ const bV = (t) => ({
|
|
|
53911
53910
|
"z-index",
|
|
53912
53911
|
"zoom"
|
|
53913
53912
|
].sort().reverse();
|
|
53914
|
-
function
|
|
53915
|
-
const e = t.regex, n =
|
|
53913
|
+
function MV(t) {
|
|
53914
|
+
const e = t.regex, n = vV(t), r = { begin: /-(webkit|moz|ms|o)-(?=[a-z])/ }, i = "and or not only", s = /@-?\w[\w]*(-\w+)*/, o = "[a-zA-Z-][a-zA-Z0-9_-]*", a = [
|
|
53916
53915
|
t.APOS_STRING_MODE,
|
|
53917
53916
|
t.QUOTE_STRING_MODE
|
|
53918
53917
|
];
|
|
@@ -53946,8 +53945,8 @@ function CV(t) {
|
|
|
53946
53945
|
{
|
|
53947
53946
|
className: "selector-pseudo",
|
|
53948
53947
|
variants: [
|
|
53949
|
-
{ begin: ":(" +
|
|
53950
|
-
{ begin: ":(:)?(" +
|
|
53948
|
+
{ begin: ":(" + SV.join("|") + ")" },
|
|
53949
|
+
{ begin: ":(:)?(" + EV.join("|") + ")" }
|
|
53951
53950
|
]
|
|
53952
53951
|
},
|
|
53953
53952
|
// we may actually need this (12/2020)
|
|
@@ -53959,7 +53958,7 @@ function CV(t) {
|
|
|
53959
53958
|
n.CSS_VARIABLE,
|
|
53960
53959
|
{
|
|
53961
53960
|
className: "attribute",
|
|
53962
|
-
begin: "\\b(" +
|
|
53961
|
+
begin: "\\b(" + CV.join("|") + ")\\b"
|
|
53963
53962
|
},
|
|
53964
53963
|
// attribute values
|
|
53965
53964
|
{
|
|
@@ -54014,7 +54013,7 @@ function CV(t) {
|
|
|
54014
54013
|
keywords: {
|
|
54015
54014
|
$pattern: /[a-z-]+/,
|
|
54016
54015
|
keyword: i,
|
|
54017
|
-
attribute:
|
|
54016
|
+
attribute: kV.join(" ")
|
|
54018
54017
|
},
|
|
54019
54018
|
contains: [
|
|
54020
54019
|
{
|
|
@@ -54029,12 +54028,12 @@ function CV(t) {
|
|
|
54029
54028
|
},
|
|
54030
54029
|
{
|
|
54031
54030
|
className: "selector-tag",
|
|
54032
|
-
begin: "\\b(" +
|
|
54031
|
+
begin: "\\b(" + xV.join("|") + ")\\b"
|
|
54033
54032
|
}
|
|
54034
54033
|
]
|
|
54035
54034
|
};
|
|
54036
54035
|
}
|
|
54037
|
-
function
|
|
54036
|
+
function TV(t) {
|
|
54038
54037
|
const e = t.regex;
|
|
54039
54038
|
return {
|
|
54040
54039
|
name: "Diff",
|
|
@@ -54085,7 +54084,7 @@ function MV(t) {
|
|
|
54085
54084
|
]
|
|
54086
54085
|
};
|
|
54087
54086
|
}
|
|
54088
|
-
function
|
|
54087
|
+
function AV(t) {
|
|
54089
54088
|
const s = {
|
|
54090
54089
|
keyword: [
|
|
54091
54090
|
"break",
|
|
@@ -54233,7 +54232,7 @@ function TV(t) {
|
|
|
54233
54232
|
]
|
|
54234
54233
|
};
|
|
54235
54234
|
}
|
|
54236
|
-
function
|
|
54235
|
+
function NV(t) {
|
|
54237
54236
|
const e = t.regex, n = /[_A-Za-z][_0-9A-Za-z]*/;
|
|
54238
54237
|
return {
|
|
54239
54238
|
name: "GraphQL",
|
|
@@ -54300,7 +54299,7 @@ function AV(t) {
|
|
|
54300
54299
|
]
|
|
54301
54300
|
};
|
|
54302
54301
|
}
|
|
54303
|
-
function
|
|
54302
|
+
function OV(t) {
|
|
54304
54303
|
const e = t.regex, n = {
|
|
54305
54304
|
className: "number",
|
|
54306
54305
|
relevance: 0,
|
|
@@ -54430,7 +54429,7 @@ var No = "[0-9](_*[0-9])*", eu = `\\.(${No})`, tu = "[0-9a-fA-F](_*[0-9a-fA-F])*
|
|
|
54430
54429
|
function nk(t, e, n) {
|
|
54431
54430
|
return n === -1 ? "" : t.replace(e, (r) => nk(t, e, n - 1));
|
|
54432
54431
|
}
|
|
54433
|
-
function
|
|
54432
|
+
function _V(t) {
|
|
54434
54433
|
const e = t.regex, n = "[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*", r = n + nk("(?:<" + n + "~~~(?:\\s*,\\s*" + n + "~~~)*>)?", /~~~/g, 2), l = {
|
|
54435
54434
|
keyword: [
|
|
54436
54435
|
"synchronized",
|
|
@@ -54641,7 +54640,7 @@ function OV(t) {
|
|
|
54641
54640
|
]
|
|
54642
54641
|
};
|
|
54643
54642
|
}
|
|
54644
|
-
const c2 = "[A-Za-z$_][0-9A-Za-z$_]*",
|
|
54643
|
+
const c2 = "[A-Za-z$_][0-9A-Za-z$_]*", RV = [
|
|
54645
54644
|
"as",
|
|
54646
54645
|
// for exports
|
|
54647
54646
|
"in",
|
|
@@ -54686,7 +54685,7 @@ const c2 = "[A-Za-z$_][0-9A-Za-z$_]*", _V = [
|
|
|
54686
54685
|
"extends",
|
|
54687
54686
|
// It's reached stage 3, which is "recommended for implementation":
|
|
54688
54687
|
"using"
|
|
54689
|
-
],
|
|
54688
|
+
], IV = [
|
|
54690
54689
|
"true",
|
|
54691
54690
|
"false",
|
|
54692
54691
|
"null",
|
|
@@ -54770,7 +54769,7 @@ const c2 = "[A-Za-z$_][0-9A-Za-z$_]*", _V = [
|
|
|
54770
54769
|
"encodeURIComponent",
|
|
54771
54770
|
"escape",
|
|
54772
54771
|
"unescape"
|
|
54773
|
-
],
|
|
54772
|
+
], DV = [
|
|
54774
54773
|
"arguments",
|
|
54775
54774
|
"this",
|
|
54776
54775
|
"super",
|
|
@@ -54782,12 +54781,12 @@ const c2 = "[A-Za-z$_][0-9A-Za-z$_]*", _V = [
|
|
|
54782
54781
|
"module",
|
|
54783
54782
|
"global"
|
|
54784
54783
|
// Node.js
|
|
54785
|
-
],
|
|
54784
|
+
], LV = [].concat(
|
|
54786
54785
|
sk,
|
|
54787
54786
|
rk,
|
|
54788
54787
|
ik
|
|
54789
54788
|
);
|
|
54790
|
-
function
|
|
54789
|
+
function BV(t) {
|
|
54791
54790
|
const e = t.regex, n = (q, { after: J }) => {
|
|
54792
54791
|
const ne = "</" + q[0].slice(1);
|
|
54793
54792
|
return q.input.indexOf(ne, J) !== -1;
|
|
@@ -54828,10 +54827,10 @@ function LV(t) {
|
|
|
54828
54827
|
}
|
|
54829
54828
|
}, a = {
|
|
54830
54829
|
$pattern: c2,
|
|
54831
|
-
keyword:
|
|
54832
|
-
literal:
|
|
54833
|
-
built_in:
|
|
54834
|
-
"variable.language":
|
|
54830
|
+
keyword: RV,
|
|
54831
|
+
literal: IV,
|
|
54832
|
+
built_in: LV,
|
|
54833
|
+
"variable.language": DV
|
|
54835
54834
|
}, l = "[0-9](_?[0-9])*", c = `\\.(${l})`, u = "0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*", d = {
|
|
54836
54835
|
className: "number",
|
|
54837
54836
|
variants: [
|
|
@@ -55296,7 +55295,7 @@ function LV(t) {
|
|
|
55296
55295
|
]
|
|
55297
55296
|
};
|
|
55298
55297
|
}
|
|
55299
|
-
function
|
|
55298
|
+
function PV(t) {
|
|
55300
55299
|
const e = {
|
|
55301
55300
|
className: "attr",
|
|
55302
55301
|
begin: /"(\\.|[^\\"\r\n])*"(?=\s*:)/,
|
|
@@ -55331,7 +55330,7 @@ function BV(t) {
|
|
|
55331
55330
|
illegal: "\\S"
|
|
55332
55331
|
};
|
|
55333
55332
|
}
|
|
55334
|
-
var Oo = "[0-9](_*[0-9])*", nu = `\\.(${Oo})`, ru = "[0-9a-fA-F](_*[0-9a-fA-F])*",
|
|
55333
|
+
var Oo = "[0-9](_*[0-9])*", nu = `\\.(${Oo})`, ru = "[0-9a-fA-F](_*[0-9a-fA-F])*", $V = {
|
|
55335
55334
|
className: "number",
|
|
55336
55335
|
variants: [
|
|
55337
55336
|
// DecimalFloatingPointLiteral
|
|
@@ -55354,7 +55353,7 @@ var Oo = "[0-9](_*[0-9])*", nu = `\\.(${Oo})`, ru = "[0-9a-fA-F](_*[0-9a-fA-F])*
|
|
|
55354
55353
|
],
|
|
55355
55354
|
relevance: 0
|
|
55356
55355
|
};
|
|
55357
|
-
function
|
|
55356
|
+
function zV(t) {
|
|
55358
55357
|
const e = {
|
|
55359
55358
|
keyword: "abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual",
|
|
55360
55359
|
built_in: "Byte Short Char Int Long Boolean Float Double Void Unit Nothing",
|
|
@@ -55428,7 +55427,7 @@ function $V(t) {
|
|
|
55428
55427
|
]
|
|
55429
55428
|
}
|
|
55430
55429
|
]
|
|
55431
|
-
}, c =
|
|
55430
|
+
}, c = $V, u = t.COMMENT(
|
|
55432
55431
|
"/\\*",
|
|
55433
55432
|
"\\*/",
|
|
55434
55433
|
{ contains: [t.C_BLOCK_COMMENT_MODE] }
|
|
@@ -55570,7 +55569,7 @@ function $V(t) {
|
|
|
55570
55569
|
]
|
|
55571
55570
|
};
|
|
55572
55571
|
}
|
|
55573
|
-
const
|
|
55572
|
+
const FV = (t) => ({
|
|
55574
55573
|
IMPORTANT: {
|
|
55575
55574
|
scope: "meta",
|
|
55576
55575
|
begin: "!important"
|
|
@@ -55603,7 +55602,7 @@ const zV = (t) => ({
|
|
|
55603
55602
|
className: "attr",
|
|
55604
55603
|
begin: /--[A-Za-z_][A-Za-z0-9_-]*/
|
|
55605
55604
|
}
|
|
55606
|
-
}),
|
|
55605
|
+
}), HV = [
|
|
55607
55606
|
"a",
|
|
55608
55607
|
"abbr",
|
|
55609
55608
|
"address",
|
|
@@ -55681,7 +55680,7 @@ const zV = (t) => ({
|
|
|
55681
55680
|
"ul",
|
|
55682
55681
|
"var",
|
|
55683
55682
|
"video"
|
|
55684
|
-
],
|
|
55683
|
+
], UV = [
|
|
55685
55684
|
"defs",
|
|
55686
55685
|
"g",
|
|
55687
55686
|
"marker",
|
|
@@ -55723,10 +55722,10 @@ const zV = (t) => ({
|
|
|
55723
55722
|
"tspan",
|
|
55724
55723
|
"foreignObject",
|
|
55725
55724
|
"clipPath"
|
|
55726
|
-
], UV = [
|
|
55727
|
-
...FV,
|
|
55728
|
-
...HV
|
|
55729
55725
|
], VV = [
|
|
55726
|
+
...HV,
|
|
55727
|
+
...UV
|
|
55728
|
+
], qV = [
|
|
55730
55729
|
"any-hover",
|
|
55731
55730
|
"any-pointer",
|
|
55732
55731
|
"aspect-ratio",
|
|
@@ -55850,7 +55849,7 @@ const zV = (t) => ({
|
|
|
55850
55849
|
"selection",
|
|
55851
55850
|
"slotted",
|
|
55852
55851
|
"spelling-error"
|
|
55853
|
-
].sort().reverse(),
|
|
55852
|
+
].sort().reverse(), WV = [
|
|
55854
55853
|
"accent-color",
|
|
55855
55854
|
"align-content",
|
|
55856
55855
|
"align-items",
|
|
@@ -56366,9 +56365,9 @@ const zV = (t) => ({
|
|
|
56366
56365
|
"y",
|
|
56367
56366
|
"z-index",
|
|
56368
56367
|
"zoom"
|
|
56369
|
-
].sort().reverse(),
|
|
56370
|
-
function
|
|
56371
|
-
const e =
|
|
56368
|
+
].sort().reverse(), jV = ok.concat(ak).sort().reverse();
|
|
56369
|
+
function GV(t) {
|
|
56370
|
+
const e = FV(t), n = jV, r = "and or not only", i = "[\\w-]+", s = "(" + i + "|@\\{" + i + "\\})", o = [], a = [], l = function(S) {
|
|
56372
56371
|
return {
|
|
56373
56372
|
// Less strings are not multiline (also include '~' for more consistent coloring of "escaped" strings)
|
|
56374
56373
|
className: "string",
|
|
@@ -56383,7 +56382,7 @@ function jV(t) {
|
|
|
56383
56382
|
}, u = {
|
|
56384
56383
|
$pattern: /[a-z-]+/,
|
|
56385
56384
|
keyword: r,
|
|
56386
|
-
attribute:
|
|
56385
|
+
attribute: qV.join(" ")
|
|
56387
56386
|
}, d = {
|
|
56388
56387
|
// used only to properly balance nested parens inside mixin call, def. arg list
|
|
56389
56388
|
begin: "\\(",
|
|
@@ -56444,7 +56443,7 @@ function jV(t) {
|
|
|
56444
56443
|
e.CSS_VARIABLE,
|
|
56445
56444
|
{
|
|
56446
56445
|
className: "attribute",
|
|
56447
|
-
begin: "\\b(" +
|
|
56446
|
+
begin: "\\b(" + WV.join("|") + ")\\b",
|
|
56448
56447
|
end: /(?=:)/,
|
|
56449
56448
|
starts: {
|
|
56450
56449
|
endsWithParent: !0,
|
|
@@ -56509,7 +56508,7 @@ function jV(t) {
|
|
|
56509
56508
|
c("variable", "@\\{" + i + "\\}"),
|
|
56510
56509
|
// otherwise it’s identified as tag
|
|
56511
56510
|
{
|
|
56512
|
-
begin: "\\b(" +
|
|
56511
|
+
begin: "\\b(" + VV.join("|") + ")\\b",
|
|
56513
56512
|
className: "selector-tag"
|
|
56514
56513
|
},
|
|
56515
56514
|
e.CSS_NUMBER_MODE,
|
|
@@ -56559,7 +56558,7 @@ function jV(t) {
|
|
|
56559
56558
|
contains: o
|
|
56560
56559
|
};
|
|
56561
56560
|
}
|
|
56562
|
-
function
|
|
56561
|
+
function KV(t) {
|
|
56563
56562
|
const e = "\\[=*\\[", n = "\\]=*\\]", r = {
|
|
56564
56563
|
begin: e,
|
|
56565
56564
|
end: n,
|
|
@@ -56615,7 +56614,7 @@ function GV(t) {
|
|
|
56615
56614
|
])
|
|
56616
56615
|
};
|
|
56617
56616
|
}
|
|
56618
|
-
function
|
|
56617
|
+
function YV(t) {
|
|
56619
56618
|
const e = {
|
|
56620
56619
|
className: "variable",
|
|
56621
56620
|
variants: [
|
|
@@ -56679,7 +56678,7 @@ function KV(t) {
|
|
|
56679
56678
|
]
|
|
56680
56679
|
};
|
|
56681
56680
|
}
|
|
56682
|
-
function
|
|
56681
|
+
function XV(t) {
|
|
56683
56682
|
const e = t.regex, n = {
|
|
56684
56683
|
begin: /<\/?[A-Za-z_]/,
|
|
56685
56684
|
end: ">",
|
|
@@ -56892,7 +56891,7 @@ function YV(t) {
|
|
|
56892
56891
|
]
|
|
56893
56892
|
};
|
|
56894
56893
|
}
|
|
56895
|
-
function
|
|
56894
|
+
function JV(t) {
|
|
56896
56895
|
const e = {
|
|
56897
56896
|
className: "built_in",
|
|
56898
56897
|
begin: "\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"
|
|
@@ -57126,7 +57125,7 @@ function XV(t) {
|
|
|
57126
57125
|
]
|
|
57127
57126
|
};
|
|
57128
57127
|
}
|
|
57129
|
-
function
|
|
57128
|
+
function ZV(t) {
|
|
57130
57129
|
const e = t.regex, n = [
|
|
57131
57130
|
"abs",
|
|
57132
57131
|
"accept",
|
|
@@ -57592,7 +57591,7 @@ function JV(t) {
|
|
|
57592
57591
|
contains: p
|
|
57593
57592
|
};
|
|
57594
57593
|
}
|
|
57595
|
-
function
|
|
57594
|
+
function QV(t) {
|
|
57596
57595
|
const e = t.regex, n = /(?![A-Za-z0-9])(?![$])/, r = e.concat(
|
|
57597
57596
|
/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,
|
|
57598
57597
|
n
|
|
@@ -58155,7 +58154,7 @@ function ZV(t) {
|
|
|
58155
58154
|
]
|
|
58156
58155
|
};
|
|
58157
58156
|
}
|
|
58158
|
-
function
|
|
58157
|
+
function eq(t) {
|
|
58159
58158
|
return {
|
|
58160
58159
|
name: "PHP template",
|
|
58161
58160
|
subLanguage: "xml",
|
|
@@ -58199,7 +58198,7 @@ function QV(t) {
|
|
|
58199
58198
|
]
|
|
58200
58199
|
};
|
|
58201
58200
|
}
|
|
58202
|
-
function
|
|
58201
|
+
function tq(t) {
|
|
58203
58202
|
return {
|
|
58204
58203
|
name: "Plain text",
|
|
58205
58204
|
aliases: [
|
|
@@ -58209,7 +58208,7 @@ function eq(t) {
|
|
|
58209
58208
|
disableAutodetect: !0
|
|
58210
58209
|
};
|
|
58211
58210
|
}
|
|
58212
|
-
function
|
|
58211
|
+
function nq(t) {
|
|
58213
58212
|
const e = t.regex, n = new RegExp("[\\p{XID_Start}_]\\p{XID_Continue}*", "u"), r = [
|
|
58214
58213
|
"and",
|
|
58215
58214
|
"as",
|
|
@@ -58605,7 +58604,7 @@ function tq(t) {
|
|
|
58605
58604
|
]
|
|
58606
58605
|
};
|
|
58607
58606
|
}
|
|
58608
|
-
function
|
|
58607
|
+
function rq(t) {
|
|
58609
58608
|
return {
|
|
58610
58609
|
aliases: ["pycon"],
|
|
58611
58610
|
contains: [
|
|
@@ -58628,7 +58627,7 @@ function nq(t) {
|
|
|
58628
58627
|
]
|
|
58629
58628
|
};
|
|
58630
58629
|
}
|
|
58631
|
-
function
|
|
58630
|
+
function iq(t) {
|
|
58632
58631
|
const e = t.regex, n = /(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/, r = e.either(
|
|
58633
58632
|
// Special case: only hexadecimal binary powers can contain fractions
|
|
58634
58633
|
/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/,
|
|
@@ -58832,7 +58831,7 @@ function rq(t) {
|
|
|
58832
58831
|
]
|
|
58833
58832
|
};
|
|
58834
58833
|
}
|
|
58835
|
-
function
|
|
58834
|
+
function sq(t) {
|
|
58836
58835
|
const e = t.regex, n = "([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)", r = e.either(
|
|
58837
58836
|
/\b([A-Z]+[a-z0-9]+)+/,
|
|
58838
58837
|
// ends in caps
|
|
@@ -59217,7 +59216,7 @@ function iq(t) {
|
|
|
59217
59216
|
contains: [t.SHEBANG({ binary: "ruby" })].concat(L).concat(c).concat(C)
|
|
59218
59217
|
};
|
|
59219
59218
|
}
|
|
59220
|
-
function
|
|
59219
|
+
function oq(t) {
|
|
59221
59220
|
const e = t.regex, n = /(r#)?/, r = e.concat(n, t.UNDERSCORE_IDENT_RE), i = e.concat(n, t.IDENT_RE), s = {
|
|
59222
59221
|
className: "title.function.invoke",
|
|
59223
59222
|
relevance: 0,
|
|
@@ -59519,7 +59518,7 @@ function sq(t) {
|
|
|
59519
59518
|
]
|
|
59520
59519
|
};
|
|
59521
59520
|
}
|
|
59522
|
-
const
|
|
59521
|
+
const aq = (t) => ({
|
|
59523
59522
|
IMPORTANT: {
|
|
59524
59523
|
scope: "meta",
|
|
59525
59524
|
begin: "!important"
|
|
@@ -59552,7 +59551,7 @@ const oq = (t) => ({
|
|
|
59552
59551
|
className: "attr",
|
|
59553
59552
|
begin: /--[A-Za-z_][A-Za-z0-9_-]*/
|
|
59554
59553
|
}
|
|
59555
|
-
}),
|
|
59554
|
+
}), lq = [
|
|
59556
59555
|
"a",
|
|
59557
59556
|
"abbr",
|
|
59558
59557
|
"address",
|
|
@@ -59630,7 +59629,7 @@ const oq = (t) => ({
|
|
|
59630
59629
|
"ul",
|
|
59631
59630
|
"var",
|
|
59632
59631
|
"video"
|
|
59633
|
-
],
|
|
59632
|
+
], cq = [
|
|
59634
59633
|
"defs",
|
|
59635
59634
|
"g",
|
|
59636
59635
|
"marker",
|
|
@@ -59672,10 +59671,10 @@ const oq = (t) => ({
|
|
|
59672
59671
|
"tspan",
|
|
59673
59672
|
"foreignObject",
|
|
59674
59673
|
"clipPath"
|
|
59675
|
-
], cq = [
|
|
59676
|
-
...aq,
|
|
59677
|
-
...lq
|
|
59678
59674
|
], uq = [
|
|
59675
|
+
...lq,
|
|
59676
|
+
...cq
|
|
59677
|
+
], dq = [
|
|
59679
59678
|
"any-hover",
|
|
59680
59679
|
"any-pointer",
|
|
59681
59680
|
"aspect-ratio",
|
|
@@ -59710,7 +59709,7 @@ const oq = (t) => ({
|
|
|
59710
59709
|
"max-width",
|
|
59711
59710
|
"min-height",
|
|
59712
59711
|
"max-height"
|
|
59713
|
-
].sort().reverse(),
|
|
59712
|
+
].sort().reverse(), fq = [
|
|
59714
59713
|
"active",
|
|
59715
59714
|
"any-link",
|
|
59716
59715
|
"blank",
|
|
@@ -59784,7 +59783,7 @@ const oq = (t) => ({
|
|
|
59784
59783
|
"visited",
|
|
59785
59784
|
"where"
|
|
59786
59785
|
// where()
|
|
59787
|
-
].sort().reverse(),
|
|
59786
|
+
].sort().reverse(), hq = [
|
|
59788
59787
|
"after",
|
|
59789
59788
|
"backdrop",
|
|
59790
59789
|
"before",
|
|
@@ -59799,7 +59798,7 @@ const oq = (t) => ({
|
|
|
59799
59798
|
"selection",
|
|
59800
59799
|
"slotted",
|
|
59801
59800
|
"spelling-error"
|
|
59802
|
-
].sort().reverse(),
|
|
59801
|
+
].sort().reverse(), pq = [
|
|
59803
59802
|
"accent-color",
|
|
59804
59803
|
"align-content",
|
|
59805
59804
|
"align-items",
|
|
@@ -60316,8 +60315,8 @@ const oq = (t) => ({
|
|
|
60316
60315
|
"z-index",
|
|
60317
60316
|
"zoom"
|
|
60318
60317
|
].sort().reverse();
|
|
60319
|
-
function
|
|
60320
|
-
const e =
|
|
60318
|
+
function mq(t) {
|
|
60319
|
+
const e = aq(t), n = hq, r = fq, i = "@[a-z-]+", s = "and or not only", a = {
|
|
60321
60320
|
className: "variable",
|
|
60322
60321
|
begin: "(\\$" + "[a-zA-Z-][a-zA-Z0-9_-]*" + ")\\b",
|
|
60323
60322
|
relevance: 0
|
|
@@ -60345,7 +60344,7 @@ function pq(t) {
|
|
|
60345
60344
|
e.ATTRIBUTE_SELECTOR_MODE,
|
|
60346
60345
|
{
|
|
60347
60346
|
className: "selector-tag",
|
|
60348
|
-
begin: "\\b(" +
|
|
60347
|
+
begin: "\\b(" + uq.join("|") + ")\\b",
|
|
60349
60348
|
// was there, before, but why?
|
|
60350
60349
|
relevance: 0
|
|
60351
60350
|
},
|
|
@@ -60367,7 +60366,7 @@ function pq(t) {
|
|
|
60367
60366
|
e.CSS_VARIABLE,
|
|
60368
60367
|
{
|
|
60369
60368
|
className: "attribute",
|
|
60370
|
-
begin: "\\b(" +
|
|
60369
|
+
begin: "\\b(" + pq.join("|") + ")\\b"
|
|
60371
60370
|
},
|
|
60372
60371
|
{ begin: "\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b" },
|
|
60373
60372
|
{
|
|
@@ -60402,7 +60401,7 @@ function pq(t) {
|
|
|
60402
60401
|
keywords: {
|
|
60403
60402
|
$pattern: /[a-z-]+/,
|
|
60404
60403
|
keyword: s,
|
|
60405
|
-
attribute:
|
|
60404
|
+
attribute: dq.join(" ")
|
|
60406
60405
|
},
|
|
60407
60406
|
contains: [
|
|
60408
60407
|
{
|
|
@@ -60424,7 +60423,7 @@ function pq(t) {
|
|
|
60424
60423
|
]
|
|
60425
60424
|
};
|
|
60426
60425
|
}
|
|
60427
|
-
function
|
|
60426
|
+
function gq(t) {
|
|
60428
60427
|
return {
|
|
60429
60428
|
name: "Shell Session",
|
|
60430
60429
|
aliases: [
|
|
@@ -60446,7 +60445,7 @@ function mq(t) {
|
|
|
60446
60445
|
]
|
|
60447
60446
|
};
|
|
60448
60447
|
}
|
|
60449
|
-
function
|
|
60448
|
+
function bq(t) {
|
|
60450
60449
|
const e = t.regex, n = t.COMMENT("--", "$"), r = {
|
|
60451
60450
|
scope: "string",
|
|
60452
60451
|
variants: [
|
|
@@ -61067,18 +61066,18 @@ function Oa(t) {
|
|
|
61067
61066
|
function Je(...t) {
|
|
61068
61067
|
return t.map((n) => lk(n)).join("");
|
|
61069
61068
|
}
|
|
61070
|
-
function
|
|
61069
|
+
function vq(t) {
|
|
61071
61070
|
const e = t[t.length - 1];
|
|
61072
61071
|
return typeof e == "object" && e.constructor === Object ? (t.splice(t.length - 1, 1), e) : {};
|
|
61073
61072
|
}
|
|
61074
61073
|
function ln(...t) {
|
|
61075
|
-
return "(" + (
|
|
61074
|
+
return "(" + (vq(t).capture ? "" : "?:") + t.map((r) => lk(r)).join("|") + ")";
|
|
61076
61075
|
}
|
|
61077
61076
|
const r1 = (t) => Je(
|
|
61078
61077
|
/\b/,
|
|
61079
61078
|
t,
|
|
61080
61079
|
/\w$/.test(t) ? /\b/ : /\B/
|
|
61081
|
-
),
|
|
61080
|
+
), yq = [
|
|
61082
61081
|
"Protocol",
|
|
61083
61082
|
// contextual
|
|
61084
61083
|
"Type"
|
|
@@ -61086,7 +61085,7 @@ const r1 = (t) => Je(
|
|
|
61086
61085
|
].map(r1), u2 = [
|
|
61087
61086
|
"init",
|
|
61088
61087
|
"self"
|
|
61089
|
-
].map(r1),
|
|
61088
|
+
].map(r1), wq = [
|
|
61090
61089
|
"Any",
|
|
61091
61090
|
"Self"
|
|
61092
61091
|
], ch = [
|
|
@@ -61229,7 +61228,7 @@ const r1 = (t) => Je(
|
|
|
61229
61228
|
"false",
|
|
61230
61229
|
"nil",
|
|
61231
61230
|
"true"
|
|
61232
|
-
],
|
|
61231
|
+
], xq = [
|
|
61233
61232
|
"assignment",
|
|
61234
61233
|
"associativity",
|
|
61235
61234
|
"higherThan",
|
|
@@ -61237,7 +61236,7 @@ const r1 = (t) => Je(
|
|
|
61237
61236
|
"lowerThan",
|
|
61238
61237
|
"none",
|
|
61239
61238
|
"right"
|
|
61240
|
-
],
|
|
61239
|
+
], kq = [
|
|
61241
61240
|
"#colorLiteral",
|
|
61242
61241
|
"#column",
|
|
61243
61242
|
"#dsohandle",
|
|
@@ -61342,7 +61341,7 @@ const r1 = (t) => Je(
|
|
|
61342
61341
|
dk,
|
|
61343
61342
|
/\d/,
|
|
61344
61343
|
/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/
|
|
61345
|
-
), Pr = Je(dk, Hd, "*"), iu = Je(/[A-Z]/, Hd, "*"),
|
|
61344
|
+
), Pr = Je(dk, Hd, "*"), iu = Je(/[A-Z]/, Hd, "*"), Sq = [
|
|
61346
61345
|
"attached",
|
|
61347
61346
|
"autoclosure",
|
|
61348
61347
|
Je(/convention\(/, ln("swift", "block", "c"), /\)/),
|
|
@@ -61377,7 +61376,7 @@ const r1 = (t) => Je(
|
|
|
61377
61376
|
"unknown",
|
|
61378
61377
|
"usableFromInline",
|
|
61379
61378
|
"warn_unqualified_access"
|
|
61380
|
-
],
|
|
61379
|
+
], Eq = [
|
|
61381
61380
|
"iOS",
|
|
61382
61381
|
"iOSApplicationExtension",
|
|
61383
61382
|
"macOS",
|
|
@@ -61390,7 +61389,7 @@ const r1 = (t) => Je(
|
|
|
61390
61389
|
"tvOSApplicationExtension",
|
|
61391
61390
|
"swift"
|
|
61392
61391
|
];
|
|
61393
|
-
function
|
|
61392
|
+
function Cq(t) {
|
|
61394
61393
|
const e = {
|
|
61395
61394
|
match: /\s+/,
|
|
61396
61395
|
relevance: 0
|
|
@@ -61404,14 +61403,14 @@ function Eq(t) {
|
|
|
61404
61403
|
], i = {
|
|
61405
61404
|
match: [
|
|
61406
61405
|
/\./,
|
|
61407
|
-
ln(...
|
|
61406
|
+
ln(...yq, ...u2)
|
|
61408
61407
|
],
|
|
61409
61408
|
className: { 2: "keyword" }
|
|
61410
61409
|
}, s = {
|
|
61411
61410
|
// Consume .keyword to prevent highlighting properties and methods as keywords.
|
|
61412
61411
|
match: Je(/\./, ln(...ch)),
|
|
61413
61412
|
relevance: 0
|
|
61414
|
-
}, o = ch.filter((Oe) => typeof Oe == "string").concat(["_|0"]), a = ch.filter((Oe) => typeof Oe != "string").concat(
|
|
61413
|
+
}, o = ch.filter((Oe) => typeof Oe == "string").concat(["_|0"]), a = ch.filter((Oe) => typeof Oe != "string").concat(wq).map(r1), l = { variants: [
|
|
61415
61414
|
{
|
|
61416
61415
|
className: "keyword",
|
|
61417
61416
|
match: ln(...a, ...u2)
|
|
@@ -61423,7 +61422,7 @@ function Eq(t) {
|
|
|
61423
61422
|
/#\w+/
|
|
61424
61423
|
// number keywords
|
|
61425
61424
|
),
|
|
61426
|
-
keyword: o.concat(
|
|
61425
|
+
keyword: o.concat(kq),
|
|
61427
61426
|
literal: d2
|
|
61428
61427
|
}, u = [
|
|
61429
61428
|
i,
|
|
@@ -61563,7 +61562,7 @@ function Eq(t) {
|
|
|
61563
61562
|
{
|
|
61564
61563
|
begin: /\(/,
|
|
61565
61564
|
end: /\)/,
|
|
61566
|
-
keywords:
|
|
61565
|
+
keywords: Eq,
|
|
61567
61566
|
contains: [
|
|
61568
61567
|
...g,
|
|
61569
61568
|
S,
|
|
@@ -61573,7 +61572,7 @@ function Eq(t) {
|
|
|
61573
61572
|
] }
|
|
61574
61573
|
}, J = {
|
|
61575
61574
|
scope: "keyword",
|
|
61576
|
-
match: Je(/@/, ln(...
|
|
61575
|
+
match: Je(/@/, ln(...Sq), Oa(ln(/\(/, /\s+/)))
|
|
61577
61576
|
}, ne = {
|
|
61578
61577
|
scope: "meta",
|
|
61579
61578
|
match: Je(/@/, Pr)
|
|
@@ -61743,7 +61742,7 @@ function Eq(t) {
|
|
|
61743
61742
|
},
|
|
61744
61743
|
contains: [be],
|
|
61745
61744
|
keywords: [
|
|
61746
|
-
...
|
|
61745
|
+
...xq,
|
|
61747
61746
|
...d2
|
|
61748
61747
|
],
|
|
61749
61748
|
end: /}/
|
|
@@ -62000,7 +61999,7 @@ const Ud = "[A-Za-z$_][0-9A-Za-z$_]*", fk = [
|
|
|
62000
61999
|
pk,
|
|
62001
62000
|
mk
|
|
62002
62001
|
);
|
|
62003
|
-
function
|
|
62002
|
+
function Mq(t) {
|
|
62004
62003
|
const e = t.regex, n = (q, { after: J }) => {
|
|
62005
62004
|
const ne = "</" + q[0].slice(1);
|
|
62006
62005
|
return q.input.indexOf(ne, J) !== -1;
|
|
@@ -62509,8 +62508,8 @@ function Cq(t) {
|
|
|
62509
62508
|
]
|
|
62510
62509
|
};
|
|
62511
62510
|
}
|
|
62512
|
-
function
|
|
62513
|
-
const e = t.regex, n =
|
|
62511
|
+
function Tq(t) {
|
|
62512
|
+
const e = t.regex, n = Mq(t), r = Ud, i = [
|
|
62514
62513
|
"any",
|
|
62515
62514
|
"void",
|
|
62516
62515
|
"number",
|
|
@@ -62604,7 +62603,7 @@ function Mq(t) {
|
|
|
62604
62603
|
]
|
|
62605
62604
|
}), n;
|
|
62606
62605
|
}
|
|
62607
|
-
function
|
|
62606
|
+
function Aq(t) {
|
|
62608
62607
|
const e = t.regex, n = {
|
|
62609
62608
|
className: "string",
|
|
62610
62609
|
begin: /"(""|[^/n])"C\b/
|
|
@@ -62723,7 +62722,7 @@ function Tq(t) {
|
|
|
62723
62722
|
]
|
|
62724
62723
|
};
|
|
62725
62724
|
}
|
|
62726
|
-
function
|
|
62725
|
+
function Nq(t) {
|
|
62727
62726
|
t.regex;
|
|
62728
62727
|
const e = t.COMMENT(/\(;/, /;\)/);
|
|
62729
62728
|
e.contains.push("self");
|
|
@@ -62834,7 +62833,7 @@ function Aq(t) {
|
|
|
62834
62833
|
]
|
|
62835
62834
|
};
|
|
62836
62835
|
}
|
|
62837
|
-
function
|
|
62836
|
+
function Oq(t) {
|
|
62838
62837
|
const e = t.regex, n = e.concat(/[\p{L}_]/u, e.optional(/[\p{L}0-9_.-]*:/u), /[\p{L}0-9_.-]*/u), r = /[\p{L}0-9._:-]+/u, i = {
|
|
62839
62838
|
className: "symbol",
|
|
62840
62839
|
begin: /&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/
|
|
@@ -63050,7 +63049,7 @@ function Nq(t) {
|
|
|
63050
63049
|
]
|
|
63051
63050
|
};
|
|
63052
63051
|
}
|
|
63053
|
-
function
|
|
63052
|
+
function _q(t) {
|
|
63054
63053
|
const e = "true false yes no null", n = "[\\w#;/?:@&=+$,.~*'()[\\]]+", r = {
|
|
63055
63054
|
className: "attr",
|
|
63056
63055
|
variants: [
|
|
@@ -63231,46 +63230,46 @@ function Oq(t) {
|
|
|
63231
63230
|
};
|
|
63232
63231
|
}
|
|
63233
63232
|
const yk = {
|
|
63234
|
-
arduino:
|
|
63235
|
-
bash:
|
|
63236
|
-
c:
|
|
63237
|
-
cpp:
|
|
63238
|
-
csharp:
|
|
63239
|
-
css:
|
|
63240
|
-
diff:
|
|
63241
|
-
go:
|
|
63242
|
-
graphql:
|
|
63243
|
-
ini:
|
|
63244
|
-
java:
|
|
63245
|
-
javascript:
|
|
63246
|
-
json:
|
|
63247
|
-
kotlin:
|
|
63248
|
-
less:
|
|
63249
|
-
lua:
|
|
63250
|
-
makefile:
|
|
63251
|
-
markdown:
|
|
63252
|
-
objectivec:
|
|
63253
|
-
perl:
|
|
63254
|
-
php:
|
|
63255
|
-
"php-template":
|
|
63256
|
-
plaintext:
|
|
63257
|
-
python:
|
|
63258
|
-
"python-repl":
|
|
63259
|
-
r:
|
|
63260
|
-
ruby:
|
|
63261
|
-
rust:
|
|
63262
|
-
scss:
|
|
63263
|
-
shell:
|
|
63264
|
-
sql:
|
|
63265
|
-
swift:
|
|
63266
|
-
typescript:
|
|
63267
|
-
vbnet:
|
|
63268
|
-
wasm:
|
|
63269
|
-
xml:
|
|
63270
|
-
yaml:
|
|
63233
|
+
arduino: hV,
|
|
63234
|
+
bash: pV,
|
|
63235
|
+
c: mV,
|
|
63236
|
+
cpp: gV,
|
|
63237
|
+
csharp: bV,
|
|
63238
|
+
css: MV,
|
|
63239
|
+
diff: TV,
|
|
63240
|
+
go: AV,
|
|
63241
|
+
graphql: NV,
|
|
63242
|
+
ini: OV,
|
|
63243
|
+
java: _V,
|
|
63244
|
+
javascript: BV,
|
|
63245
|
+
json: PV,
|
|
63246
|
+
kotlin: zV,
|
|
63247
|
+
less: GV,
|
|
63248
|
+
lua: KV,
|
|
63249
|
+
makefile: YV,
|
|
63250
|
+
markdown: XV,
|
|
63251
|
+
objectivec: JV,
|
|
63252
|
+
perl: ZV,
|
|
63253
|
+
php: QV,
|
|
63254
|
+
"php-template": eq,
|
|
63255
|
+
plaintext: tq,
|
|
63256
|
+
python: nq,
|
|
63257
|
+
"python-repl": rq,
|
|
63258
|
+
r: iq,
|
|
63259
|
+
ruby: sq,
|
|
63260
|
+
rust: oq,
|
|
63261
|
+
scss: mq,
|
|
63262
|
+
shell: gq,
|
|
63263
|
+
sql: bq,
|
|
63264
|
+
swift: Cq,
|
|
63265
|
+
typescript: Tq,
|
|
63266
|
+
vbnet: Aq,
|
|
63267
|
+
wasm: Nq,
|
|
63268
|
+
xml: Oq,
|
|
63269
|
+
yaml: _q
|
|
63271
63270
|
};
|
|
63272
|
-
var
|
|
63273
|
-
function
|
|
63271
|
+
var Aj = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
63272
|
+
function Rq(t) {
|
|
63274
63273
|
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
|
63275
63274
|
}
|
|
63276
63275
|
function wk(t) {
|
|
@@ -63307,7 +63306,7 @@ function ns(t, ...e) {
|
|
|
63307
63306
|
}), /** @type {T} */
|
|
63308
63307
|
n;
|
|
63309
63308
|
}
|
|
63310
|
-
const
|
|
63309
|
+
const Iq = "</span>", p2 = (t) => !!t.scope, Dq = (t, { prefix: e }) => {
|
|
63311
63310
|
if (t.startsWith("language:"))
|
|
63312
63311
|
return t.replace("language:", "language-");
|
|
63313
63312
|
if (t.includes(".")) {
|
|
@@ -63319,7 +63318,7 @@ const Rq = "</span>", p2 = (t) => !!t.scope, Iq = (t, { prefix: e }) => {
|
|
|
63319
63318
|
}
|
|
63320
63319
|
return `${e}${t}`;
|
|
63321
63320
|
};
|
|
63322
|
-
class
|
|
63321
|
+
class Lq {
|
|
63323
63322
|
/**
|
|
63324
63323
|
* Creates a new HTMLRenderer
|
|
63325
63324
|
*
|
|
@@ -63342,7 +63341,7 @@ class Dq {
|
|
|
63342
63341
|
* @param {Node} node */
|
|
63343
63342
|
openNode(e) {
|
|
63344
63343
|
if (!p2(e)) return;
|
|
63345
|
-
const n =
|
|
63344
|
+
const n = Dq(
|
|
63346
63345
|
e.scope,
|
|
63347
63346
|
{ prefix: this.classPrefix }
|
|
63348
63347
|
);
|
|
@@ -63353,7 +63352,7 @@ class Dq {
|
|
|
63353
63352
|
*
|
|
63354
63353
|
* @param {Node} node */
|
|
63355
63354
|
closeNode(e) {
|
|
63356
|
-
p2(e) && (this.buffer +=
|
|
63355
|
+
p2(e) && (this.buffer += Iq);
|
|
63357
63356
|
}
|
|
63358
63357
|
/**
|
|
63359
63358
|
* returns the accumulated buffer
|
|
@@ -63426,7 +63425,7 @@ class i1 {
|
|
|
63426
63425
|
}));
|
|
63427
63426
|
}
|
|
63428
63427
|
}
|
|
63429
|
-
class
|
|
63428
|
+
class Bq extends i1 {
|
|
63430
63429
|
/**
|
|
63431
63430
|
* @param {*} options
|
|
63432
63431
|
*/
|
|
@@ -63455,7 +63454,7 @@ class Lq extends i1 {
|
|
|
63455
63454
|
n && (r.scope = `language:${n}`), this.add(r);
|
|
63456
63455
|
}
|
|
63457
63456
|
toHTML() {
|
|
63458
|
-
return new
|
|
63457
|
+
return new Lq(this, this.options).value();
|
|
63459
63458
|
}
|
|
63460
63459
|
finalize() {
|
|
63461
63460
|
return this.closeAllNodes(), !0;
|
|
@@ -63467,30 +63466,30 @@ function $l(t) {
|
|
|
63467
63466
|
function kk(t) {
|
|
63468
63467
|
return ho("(?=", t, ")");
|
|
63469
63468
|
}
|
|
63470
|
-
function
|
|
63469
|
+
function Pq(t) {
|
|
63471
63470
|
return ho("(?:", t, ")*");
|
|
63472
63471
|
}
|
|
63473
|
-
function
|
|
63472
|
+
function $q(t) {
|
|
63474
63473
|
return ho("(?:", t, ")?");
|
|
63475
63474
|
}
|
|
63476
63475
|
function ho(...t) {
|
|
63477
63476
|
return t.map((n) => $l(n)).join("");
|
|
63478
63477
|
}
|
|
63479
|
-
function
|
|
63478
|
+
function zq(t) {
|
|
63480
63479
|
const e = t[t.length - 1];
|
|
63481
63480
|
return typeof e == "object" && e.constructor === Object ? (t.splice(t.length - 1, 1), e) : {};
|
|
63482
63481
|
}
|
|
63483
63482
|
function s1(...t) {
|
|
63484
|
-
return "(" + (
|
|
63483
|
+
return "(" + (zq(t).capture ? "" : "?:") + t.map((r) => $l(r)).join("|") + ")";
|
|
63485
63484
|
}
|
|
63486
63485
|
function Sk(t) {
|
|
63487
63486
|
return new RegExp(t.toString() + "|").exec("").length - 1;
|
|
63488
63487
|
}
|
|
63489
|
-
function
|
|
63488
|
+
function Fq(t, e) {
|
|
63490
63489
|
const n = t && t.exec(e);
|
|
63491
63490
|
return n && n.index === 0;
|
|
63492
63491
|
}
|
|
63493
|
-
const
|
|
63492
|
+
const Hq = /\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;
|
|
63494
63493
|
function o1(t, { joinWith: e }) {
|
|
63495
63494
|
let n = 0;
|
|
63496
63495
|
return t.map((r) => {
|
|
@@ -63498,7 +63497,7 @@ function o1(t, { joinWith: e }) {
|
|
|
63498
63497
|
const i = n;
|
|
63499
63498
|
let s = $l(r), o = "";
|
|
63500
63499
|
for (; s.length > 0; ) {
|
|
63501
|
-
const a =
|
|
63500
|
+
const a = Hq.exec(s);
|
|
63502
63501
|
if (!a) {
|
|
63503
63502
|
o += s;
|
|
63504
63503
|
break;
|
|
@@ -63508,7 +63507,7 @@ function o1(t, { joinWith: e }) {
|
|
|
63508
63507
|
return o;
|
|
63509
63508
|
}).map((r) => `(${r})`).join(e);
|
|
63510
63509
|
}
|
|
63511
|
-
const
|
|
63510
|
+
const Uq = /\b\B/, Ek = "[a-zA-Z]\\w*", a1 = "[a-zA-Z_]\\w*", Ck = "\\b\\d+(\\.\\d+)?", Mk = "(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)", Tk = "\\b(0b[01]+)", Vq = "!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~", qq = (t = {}) => {
|
|
63512
63511
|
const e = /^#![ ]*\//;
|
|
63513
63512
|
return t.binary && (t.begin = ho(
|
|
63514
63513
|
e,
|
|
@@ -63528,19 +63527,19 @@ const Hq = /\b\B/, Ek = "[a-zA-Z]\\w*", a1 = "[a-zA-Z_]\\w*", Ck = "\\b\\d+(\\.\
|
|
|
63528
63527
|
}, zl = {
|
|
63529
63528
|
begin: "\\\\[\\s\\S]",
|
|
63530
63529
|
relevance: 0
|
|
63531
|
-
},
|
|
63530
|
+
}, Wq = {
|
|
63532
63531
|
scope: "string",
|
|
63533
63532
|
begin: "'",
|
|
63534
63533
|
end: "'",
|
|
63535
63534
|
illegal: "\\n",
|
|
63536
63535
|
contains: [zl]
|
|
63537
|
-
},
|
|
63536
|
+
}, jq = {
|
|
63538
63537
|
scope: "string",
|
|
63539
63538
|
begin: '"',
|
|
63540
63539
|
end: '"',
|
|
63541
63540
|
illegal: "\\n",
|
|
63542
63541
|
contains: [zl]
|
|
63543
|
-
},
|
|
63542
|
+
}, Gq = {
|
|
63544
63543
|
begin: /\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/
|
|
63545
63544
|
}, W0 = function(t, e, n = {}) {
|
|
63546
63545
|
const r = ns(
|
|
@@ -63608,19 +63607,19 @@ const Hq = /\b\B/, Ek = "[a-zA-Z]\\w*", a1 = "[a-zA-Z_]\\w*", Ck = "\\b\\d+(\\.\
|
|
|
63608
63607
|
// look for 3 words in a row
|
|
63609
63608
|
}
|
|
63610
63609
|
), r;
|
|
63611
|
-
},
|
|
63610
|
+
}, Kq = W0("//", "$"), Yq = W0("/\\*", "\\*/"), Xq = W0("#", "$"), Jq = {
|
|
63612
63611
|
scope: "number",
|
|
63613
63612
|
begin: Ck,
|
|
63614
63613
|
relevance: 0
|
|
63615
|
-
},
|
|
63614
|
+
}, Zq = {
|
|
63616
63615
|
scope: "number",
|
|
63617
63616
|
begin: Mk,
|
|
63618
63617
|
relevance: 0
|
|
63619
|
-
},
|
|
63618
|
+
}, Qq = {
|
|
63620
63619
|
scope: "number",
|
|
63621
63620
|
begin: Tk,
|
|
63622
63621
|
relevance: 0
|
|
63623
|
-
},
|
|
63622
|
+
}, eW = {
|
|
63624
63623
|
scope: "regexp",
|
|
63625
63624
|
begin: /\/(?=[^/\n]*\/)/,
|
|
63626
63625
|
end: /\/[gimuy]*/,
|
|
@@ -63633,19 +63632,19 @@ const Hq = /\b\B/, Ek = "[a-zA-Z]\\w*", a1 = "[a-zA-Z_]\\w*", Ck = "\\b\\d+(\\.\
|
|
|
63633
63632
|
contains: [zl]
|
|
63634
63633
|
}
|
|
63635
63634
|
]
|
|
63636
|
-
},
|
|
63635
|
+
}, tW = {
|
|
63637
63636
|
scope: "title",
|
|
63638
63637
|
begin: Ek,
|
|
63639
63638
|
relevance: 0
|
|
63640
|
-
},
|
|
63639
|
+
}, nW = {
|
|
63641
63640
|
scope: "title",
|
|
63642
63641
|
begin: a1,
|
|
63643
63642
|
relevance: 0
|
|
63644
|
-
},
|
|
63643
|
+
}, rW = {
|
|
63645
63644
|
// excludes method names from keyword processing
|
|
63646
63645
|
begin: "\\.\\s*" + a1,
|
|
63647
63646
|
relevance: 0
|
|
63648
|
-
},
|
|
63647
|
+
}, iW = function(t) {
|
|
63649
63648
|
return Object.assign(
|
|
63650
63649
|
t,
|
|
63651
63650
|
{
|
|
@@ -63662,53 +63661,53 @@ const Hq = /\b\B/, Ek = "[a-zA-Z]\\w*", a1 = "[a-zA-Z_]\\w*", Ck = "\\b\\d+(\\.\
|
|
|
63662
63661
|
};
|
|
63663
63662
|
var su = /* @__PURE__ */ Object.freeze({
|
|
63664
63663
|
__proto__: null,
|
|
63665
|
-
APOS_STRING_MODE:
|
|
63664
|
+
APOS_STRING_MODE: Wq,
|
|
63666
63665
|
BACKSLASH_ESCAPE: zl,
|
|
63667
|
-
BINARY_NUMBER_MODE:
|
|
63666
|
+
BINARY_NUMBER_MODE: Qq,
|
|
63668
63667
|
BINARY_NUMBER_RE: Tk,
|
|
63669
63668
|
COMMENT: W0,
|
|
63670
|
-
C_BLOCK_COMMENT_MODE:
|
|
63671
|
-
C_LINE_COMMENT_MODE:
|
|
63672
|
-
C_NUMBER_MODE:
|
|
63669
|
+
C_BLOCK_COMMENT_MODE: Yq,
|
|
63670
|
+
C_LINE_COMMENT_MODE: Kq,
|
|
63671
|
+
C_NUMBER_MODE: Zq,
|
|
63673
63672
|
C_NUMBER_RE: Mk,
|
|
63674
|
-
END_SAME_AS_BEGIN:
|
|
63675
|
-
HASH_COMMENT_MODE:
|
|
63673
|
+
END_SAME_AS_BEGIN: iW,
|
|
63674
|
+
HASH_COMMENT_MODE: Xq,
|
|
63676
63675
|
IDENT_RE: Ek,
|
|
63677
|
-
MATCH_NOTHING_RE:
|
|
63678
|
-
METHOD_GUARD:
|
|
63679
|
-
NUMBER_MODE:
|
|
63676
|
+
MATCH_NOTHING_RE: Uq,
|
|
63677
|
+
METHOD_GUARD: rW,
|
|
63678
|
+
NUMBER_MODE: Jq,
|
|
63680
63679
|
NUMBER_RE: Ck,
|
|
63681
|
-
PHRASAL_WORDS_MODE:
|
|
63682
|
-
QUOTE_STRING_MODE:
|
|
63683
|
-
REGEXP_MODE:
|
|
63684
|
-
RE_STARTERS_RE:
|
|
63685
|
-
SHEBANG:
|
|
63686
|
-
TITLE_MODE:
|
|
63680
|
+
PHRASAL_WORDS_MODE: Gq,
|
|
63681
|
+
QUOTE_STRING_MODE: jq,
|
|
63682
|
+
REGEXP_MODE: eW,
|
|
63683
|
+
RE_STARTERS_RE: Vq,
|
|
63684
|
+
SHEBANG: qq,
|
|
63685
|
+
TITLE_MODE: tW,
|
|
63687
63686
|
UNDERSCORE_IDENT_RE: a1,
|
|
63688
|
-
UNDERSCORE_TITLE_MODE:
|
|
63687
|
+
UNDERSCORE_TITLE_MODE: nW
|
|
63689
63688
|
});
|
|
63690
|
-
function iW(t, e) {
|
|
63691
|
-
t.input[t.index - 1] === "." && e.ignoreMatch();
|
|
63692
|
-
}
|
|
63693
63689
|
function sW(t, e) {
|
|
63694
|
-
t.
|
|
63690
|
+
t.input[t.index - 1] === "." && e.ignoreMatch();
|
|
63695
63691
|
}
|
|
63696
63692
|
function oW(t, e) {
|
|
63697
|
-
|
|
63693
|
+
t.className !== void 0 && (t.scope = t.className, delete t.className);
|
|
63698
63694
|
}
|
|
63699
63695
|
function aW(t, e) {
|
|
63700
|
-
|
|
63696
|
+
e && t.beginKeywords && (t.begin = "\\b(" + t.beginKeywords.split(" ").join("|") + ")(?!\\.)(?=\\b|\\s)", t.__beforeBegin = sW, t.keywords = t.keywords || t.beginKeywords, delete t.beginKeywords, t.relevance === void 0 && (t.relevance = 0));
|
|
63701
63697
|
}
|
|
63702
63698
|
function lW(t, e) {
|
|
63699
|
+
Array.isArray(t.illegal) && (t.illegal = s1(...t.illegal));
|
|
63700
|
+
}
|
|
63701
|
+
function cW(t, e) {
|
|
63703
63702
|
if (t.match) {
|
|
63704
63703
|
if (t.begin || t.end) throw new Error("begin & end are not supported with match");
|
|
63705
63704
|
t.begin = t.match, delete t.match;
|
|
63706
63705
|
}
|
|
63707
63706
|
}
|
|
63708
|
-
function
|
|
63707
|
+
function uW(t, e) {
|
|
63709
63708
|
t.relevance === void 0 && (t.relevance = 1);
|
|
63710
63709
|
}
|
|
63711
|
-
const
|
|
63710
|
+
const dW = (t, e) => {
|
|
63712
63711
|
if (!t.beforeMatch) return;
|
|
63713
63712
|
if (t.starts) throw new Error("beforeMatch cannot be used with starts");
|
|
63714
63713
|
const n = Object.assign({}, t);
|
|
@@ -63720,7 +63719,7 @@ const uW = (t, e) => {
|
|
|
63720
63719
|
Object.assign(n, { endsParent: !0 })
|
|
63721
63720
|
]
|
|
63722
63721
|
}, t.relevance = 0, delete n.beforeMatch;
|
|
63723
|
-
},
|
|
63722
|
+
}, fW = [
|
|
63724
63723
|
"of",
|
|
63725
63724
|
"and",
|
|
63726
63725
|
"for",
|
|
@@ -63735,8 +63734,8 @@ const uW = (t, e) => {
|
|
|
63735
63734
|
// common variable name
|
|
63736
63735
|
"value"
|
|
63737
63736
|
// common variable name
|
|
63738
|
-
],
|
|
63739
|
-
function Ak(t, e, n =
|
|
63737
|
+
], hW = "keyword";
|
|
63738
|
+
function Ak(t, e, n = hW) {
|
|
63740
63739
|
const r = /* @__PURE__ */ Object.create(null);
|
|
63741
63740
|
return typeof t == "string" ? i(n, t.split(" ")) : Array.isArray(t) ? i(n, t) : Object.keys(t).forEach(function(s) {
|
|
63742
63741
|
Object.assign(
|
|
@@ -63747,15 +63746,15 @@ function Ak(t, e, n = fW) {
|
|
|
63747
63746
|
function i(s, o) {
|
|
63748
63747
|
e && (o = o.map((a) => a.toLowerCase())), o.forEach(function(a) {
|
|
63749
63748
|
const l = a.split("|");
|
|
63750
|
-
r[l[0]] = [s,
|
|
63749
|
+
r[l[0]] = [s, pW(l[0], l[1])];
|
|
63751
63750
|
});
|
|
63752
63751
|
}
|
|
63753
63752
|
}
|
|
63754
|
-
function
|
|
63755
|
-
return e ? Number(e) :
|
|
63753
|
+
function pW(t, e) {
|
|
63754
|
+
return e ? Number(e) : mW(t) ? 0 : 1;
|
|
63756
63755
|
}
|
|
63757
|
-
function
|
|
63758
|
-
return
|
|
63756
|
+
function mW(t) {
|
|
63757
|
+
return fW.includes(t.toLowerCase());
|
|
63759
63758
|
}
|
|
63760
63759
|
const g2 = {}, Ks = (t) => {
|
|
63761
63760
|
console.error(t);
|
|
@@ -63771,7 +63770,7 @@ function Nk(t, e, { key: n }) {
|
|
|
63771
63770
|
o[a + r] = i[a], s[a + r] = !0, r += Sk(e[a - 1]);
|
|
63772
63771
|
t[n] = o, t[n]._emit = s, t[n]._multi = !0;
|
|
63773
63772
|
}
|
|
63774
|
-
function
|
|
63773
|
+
function gW(t) {
|
|
63775
63774
|
if (Array.isArray(t.begin)) {
|
|
63776
63775
|
if (t.skip || t.excludeBegin || t.returnBegin)
|
|
63777
63776
|
throw Ks("skip, excludeBegin, returnBegin not compatible with beginScope: {}"), Vd;
|
|
@@ -63780,7 +63779,7 @@ function mW(t) {
|
|
|
63780
63779
|
Nk(t, t.begin, { key: "beginScope" }), t.begin = o1(t.begin, { joinWith: "" });
|
|
63781
63780
|
}
|
|
63782
63781
|
}
|
|
63783
|
-
function
|
|
63782
|
+
function bW(t) {
|
|
63784
63783
|
if (Array.isArray(t.end)) {
|
|
63785
63784
|
if (t.skip || t.excludeEnd || t.returnEnd)
|
|
63786
63785
|
throw Ks("skip, excludeEnd, returnEnd not compatible with endScope: {}"), Vd;
|
|
@@ -63789,13 +63788,13 @@ function gW(t) {
|
|
|
63789
63788
|
Nk(t, t.end, { key: "endScope" }), t.end = o1(t.end, { joinWith: "" });
|
|
63790
63789
|
}
|
|
63791
63790
|
}
|
|
63792
|
-
function bW(t) {
|
|
63793
|
-
t.scope && typeof t.scope == "object" && t.scope !== null && (t.beginScope = t.scope, delete t.scope);
|
|
63794
|
-
}
|
|
63795
63791
|
function vW(t) {
|
|
63796
|
-
|
|
63792
|
+
t.scope && typeof t.scope == "object" && t.scope !== null && (t.beginScope = t.scope, delete t.scope);
|
|
63797
63793
|
}
|
|
63798
63794
|
function yW(t) {
|
|
63795
|
+
vW(t), typeof t.beginScope == "string" && (t.beginScope = { _wrap: t.beginScope }), typeof t.endScope == "string" && (t.endScope = { _wrap: t.endScope }), gW(t), bW(t);
|
|
63796
|
+
}
|
|
63797
|
+
function wW(t) {
|
|
63799
63798
|
function e(o, a) {
|
|
63800
63799
|
return new RegExp(
|
|
63801
63800
|
$l(o),
|
|
@@ -63868,26 +63867,26 @@ function yW(t) {
|
|
|
63868
63867
|
);
|
|
63869
63868
|
if (o.isCompiled) return l;
|
|
63870
63869
|
[
|
|
63871
|
-
|
|
63870
|
+
oW,
|
|
63872
63871
|
// do this early so compiler extensions generally don't have to worry about
|
|
63873
63872
|
// the distinction between match/begin
|
|
63874
|
-
|
|
63875
|
-
|
|
63876
|
-
|
|
63873
|
+
cW,
|
|
63874
|
+
yW,
|
|
63875
|
+
dW
|
|
63877
63876
|
].forEach((u) => u(o, a)), t.compilerExtensions.forEach((u) => u(o, a)), o.__beforeBegin = null, [
|
|
63878
|
-
|
|
63877
|
+
aW,
|
|
63879
63878
|
// do this later so compiler extensions that come earlier have access to the
|
|
63880
63879
|
// raw array if they wanted to perhaps manipulate it, etc.
|
|
63881
|
-
|
|
63880
|
+
lW,
|
|
63882
63881
|
// default to 1 relevance if not specified
|
|
63883
|
-
|
|
63882
|
+
uW
|
|
63884
63883
|
].forEach((u) => u(o, a)), o.isCompiled = !0;
|
|
63885
63884
|
let c = null;
|
|
63886
63885
|
return typeof o.keywords == "object" && o.keywords.$pattern && (o.keywords = Object.assign({}, o.keywords), c = o.keywords.$pattern, delete o.keywords.$pattern), c = c || /\w+/, o.keywords && (o.keywords = Ak(o.keywords, t.case_insensitive)), l.keywordPatternRe = e(c, !0), a && (o.begin || (o.begin = /\B|\b/), l.beginRe = e(l.begin), !o.end && !o.endsWithParent && (o.end = /\B|\b/), o.end && (l.endRe = e(l.end)), l.terminatorEnd = $l(l.end) || "", o.endsWithParent && a.terminatorEnd && (l.terminatorEnd += (o.end ? "|" : "") + a.terminatorEnd)), o.illegal && (l.illegalRe = e(
|
|
63887
63886
|
/** @type {RegExp | string} */
|
|
63888
63887
|
o.illegal
|
|
63889
63888
|
)), o.contains || (o.contains = []), o.contains = [].concat(...o.contains.map(function(u) {
|
|
63890
|
-
return
|
|
63889
|
+
return xW(u === "self" ? o : u);
|
|
63891
63890
|
})), o.contains.forEach(function(u) {
|
|
63892
63891
|
s(
|
|
63893
63892
|
/** @type Mode */
|
|
@@ -63906,18 +63905,18 @@ function yW(t) {
|
|
|
63906
63905
|
function Ok(t) {
|
|
63907
63906
|
return t ? t.endsWithParent || Ok(t.starts) : !1;
|
|
63908
63907
|
}
|
|
63909
|
-
function
|
|
63908
|
+
function xW(t) {
|
|
63910
63909
|
return t.variants && !t.cachedVariants && (t.cachedVariants = t.variants.map(function(e) {
|
|
63911
63910
|
return ns(t, { variants: null }, e);
|
|
63912
63911
|
})), t.cachedVariants ? t.cachedVariants : Ok(t) ? ns(t, { starts: t.starts ? ns(t.starts) : null }) : Object.isFrozen(t) ? ns(t) : t;
|
|
63913
63912
|
}
|
|
63914
|
-
var
|
|
63915
|
-
class
|
|
63913
|
+
var kW = "11.11.1";
|
|
63914
|
+
class SW extends Error {
|
|
63916
63915
|
constructor(e, n) {
|
|
63917
63916
|
super(e), this.name = "HTMLInjectionError", this.html = n;
|
|
63918
63917
|
}
|
|
63919
63918
|
}
|
|
63920
|
-
const dh = xk, v2 = ns, y2 = Symbol("nomatch"),
|
|
63919
|
+
const dh = xk, v2 = ns, y2 = Symbol("nomatch"), EW = 7, _k = function(t) {
|
|
63921
63920
|
const e = /* @__PURE__ */ Object.create(null), n = /* @__PURE__ */ Object.create(null), r = [];
|
|
63922
63921
|
let i = !0;
|
|
63923
63922
|
const s = "Could not find the language '{}', did you forget to load/include a language module?", o = { disableAutodetect: !0, name: "Plain text", contains: [] };
|
|
@@ -63931,7 +63930,7 @@ const dh = xk, v2 = ns, y2 = Symbol("nomatch"), SW = 7, _k = function(t) {
|
|
|
63931
63930
|
languages: null,
|
|
63932
63931
|
// beta configuration options, subject to change, welcome to discuss
|
|
63933
63932
|
// https://github.com/highlightjs/highlight.js/issues/1086
|
|
63934
|
-
__emitter:
|
|
63933
|
+
__emitter: Bq
|
|
63935
63934
|
};
|
|
63936
63935
|
function l(I) {
|
|
63937
63936
|
return a.noHighlightRe.test(I);
|
|
@@ -63976,7 +63975,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), ne = I, J = z), q ===
|
|
|
63976
63975
|
const je = pt.case_insensitive ? ue[0].toLowerCase() : ue[0], _t = ge(de, je);
|
|
63977
63976
|
if (_t) {
|
|
63978
63977
|
const [br, j0] = _t;
|
|
63979
|
-
if (ze.addText(Ce), Ce = "", ne[je] = (ne[je] || 0) + 1, ne[je] <=
|
|
63978
|
+
if (ze.addText(Ce), Ce = "", ne[je] = (ne[je] || 0) + 1, ne[je] <= EW && (On += j0), br.startsWith("_"))
|
|
63980
63979
|
Ce += ue[0];
|
|
63981
63980
|
else {
|
|
63982
63981
|
const G0 = pt.classNameAliases[br] || br;
|
|
@@ -64024,7 +64023,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), ne = I, J = z), q ===
|
|
|
64024
64023
|
return te.scope && typeof te.scope == "string" && ze.openNode(pt.classNameAliases[te.scope] || te.scope), te.beginScope && (te.beginScope._wrap ? (Te(_e, pt.classNameAliases[te.beginScope._wrap] || te.beginScope._wrap), _e = "") : te.beginScope._multi && (at(te.beginScope, ue), _e = "")), de = Object.create(te, { parent: { value: de } }), de;
|
|
64025
64024
|
}
|
|
64026
64025
|
function Ge(te, ue, Ce) {
|
|
64027
|
-
let je =
|
|
64026
|
+
let je = Fq(te.endRe, Ce);
|
|
64028
64027
|
if (je) {
|
|
64029
64028
|
if (te["on:end"]) {
|
|
64030
64029
|
const _t = new h2(te);
|
|
@@ -64098,7 +64097,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), ne = I, J = z), q ===
|
|
|
64098
64097
|
const pt = A(I);
|
|
64099
64098
|
if (!pt)
|
|
64100
64099
|
throw Ks(s.replace("{}", I)), new Error('Unknown language: "' + I + '"');
|
|
64101
|
-
const Oe =
|
|
64100
|
+
const Oe = wW(pt);
|
|
64102
64101
|
let vt = "", de = J || Oe;
|
|
64103
64102
|
const Wt = {}, ze = new a.__emitter(a);
|
|
64104
64103
|
Wn();
|
|
@@ -64197,7 +64196,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), ne = I, J = z), q ===
|
|
|
64197
64196
|
return;
|
|
64198
64197
|
}
|
|
64199
64198
|
if (I.children.length > 0 && (a.ignoreUnescapedHTML || (console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."), console.warn("https://github.com/highlightjs/highlight.js/wiki/security"), console.warn("The element with unescaped HTML:"), console.warn(I)), a.throwUnescapedHTML))
|
|
64200
|
-
throw new
|
|
64199
|
+
throw new SW(
|
|
64201
64200
|
"One of your code blocks includes unescaped HTML.",
|
|
64202
64201
|
I.innerHTML
|
|
64203
64202
|
);
|
|
@@ -64316,22 +64315,22 @@ https://github.com/highlightjs/highlight.js/issues/2277`), ne = I, J = z), q ===
|
|
|
64316
64315
|
i = !1;
|
|
64317
64316
|
}, t.safeMode = function() {
|
|
64318
64317
|
i = !0;
|
|
64319
|
-
}, t.versionString =
|
|
64318
|
+
}, t.versionString = kW, t.regex = {
|
|
64320
64319
|
concat: ho,
|
|
64321
64320
|
lookahead: kk,
|
|
64322
64321
|
either: s1,
|
|
64323
|
-
optional:
|
|
64324
|
-
anyNumberOfTimes:
|
|
64322
|
+
optional: $q,
|
|
64323
|
+
anyNumberOfTimes: Pq
|
|
64325
64324
|
};
|
|
64326
64325
|
for (const I in su)
|
|
64327
64326
|
typeof su[I] == "object" && wk(su[I]);
|
|
64328
64327
|
return Object.assign(t, su), t;
|
|
64329
64328
|
}, ga = _k({});
|
|
64330
64329
|
ga.newInstance = () => _k({});
|
|
64331
|
-
var
|
|
64330
|
+
var CW = ga;
|
|
64332
64331
|
ga.HighlightJS = ga;
|
|
64333
64332
|
ga.default = ga;
|
|
64334
|
-
const Rk = /* @__PURE__ */
|
|
64333
|
+
const Rk = /* @__PURE__ */ Rq(CW), w2 = {}, MW = "hljs-";
|
|
64335
64334
|
function Ik(t) {
|
|
64336
64335
|
const e = Rk.newInstance();
|
|
64337
64336
|
return t && s(t), {
|
|
@@ -64343,10 +64342,10 @@ function Ik(t) {
|
|
|
64343
64342
|
registered: a
|
|
64344
64343
|
};
|
|
64345
64344
|
function n(l, c, u) {
|
|
64346
|
-
const d = u || w2, f = typeof d.prefix == "string" ? d.prefix :
|
|
64345
|
+
const d = u || w2, f = typeof d.prefix == "string" ? d.prefix : MW;
|
|
64347
64346
|
if (!e.getLanguage(l))
|
|
64348
64347
|
throw new Error("Unknown language: `" + l + "` is not registered");
|
|
64349
|
-
e.configure({ __emitter:
|
|
64348
|
+
e.configure({ __emitter: TW, classPrefix: f });
|
|
64350
64349
|
const h = (
|
|
64351
64350
|
/** @type {HighlightResult & {_emitter: HastEmitter}} */
|
|
64352
64351
|
e.highlight(c, { ignoreIllegals: !0, language: l })
|
|
@@ -64412,7 +64411,7 @@ function Ik(t) {
|
|
|
64412
64411
|
return !!e.getLanguage(l);
|
|
64413
64412
|
}
|
|
64414
64413
|
}
|
|
64415
|
-
class
|
|
64414
|
+
class TW {
|
|
64416
64415
|
/**
|
|
64417
64416
|
* @param {Readonly<HljsOptions>} options
|
|
64418
64417
|
* Configuration.
|
|
@@ -64513,7 +64512,7 @@ class MW {
|
|
|
64513
64512
|
return "";
|
|
64514
64513
|
}
|
|
64515
64514
|
}
|
|
64516
|
-
const fh = 4,
|
|
64515
|
+
const fh = 4, AW = /^```([a-z]+)?[\s\n]$/, NW = /^~~~([a-z]+)?[\s\n]$/, OW = rn.create({
|
|
64517
64516
|
name: "codeBlock",
|
|
64518
64517
|
addOptions() {
|
|
64519
64518
|
return {
|
|
@@ -64685,14 +64684,14 @@ const fh = 4, TW = /^```([a-z]+)?[\s\n]$/, AW = /^~~~([a-z]+)?[\s\n]$/, NW = rn.
|
|
|
64685
64684
|
addInputRules() {
|
|
64686
64685
|
return [
|
|
64687
64686
|
Dh({
|
|
64688
|
-
find:
|
|
64687
|
+
find: AW,
|
|
64689
64688
|
type: this.type,
|
|
64690
64689
|
getAttributes: (t) => ({
|
|
64691
64690
|
language: t[1]
|
|
64692
64691
|
})
|
|
64693
64692
|
}),
|
|
64694
64693
|
Dh({
|
|
64695
|
-
find:
|
|
64694
|
+
find: NW,
|
|
64696
64695
|
type: this.type,
|
|
64697
64696
|
getAttributes: (t) => ({
|
|
64698
64697
|
language: t[1]
|
|
@@ -64728,10 +64727,10 @@ const fh = 4, TW = /^```([a-z]+)?[\s\n]$/, AW = /^~~~([a-z]+)?[\s\n]$/, NW = rn.
|
|
|
64728
64727
|
})
|
|
64729
64728
|
];
|
|
64730
64729
|
}
|
|
64731
|
-
}),
|
|
64730
|
+
}), _W = {
|
|
64732
64731
|
key: 0,
|
|
64733
64732
|
class: "w-px h-4 bg-secondary-dark mx-0.5"
|
|
64734
|
-
},
|
|
64733
|
+
}, RW = /* @__PURE__ */ Ae({
|
|
64735
64734
|
__name: "CodeBlockView",
|
|
64736
64735
|
props: ni,
|
|
64737
64736
|
setup(t) {
|
|
@@ -64762,7 +64761,7 @@ const fh = 4, TW = /^```([a-z]+)?[\s\n]$/, AW = /^~~~([a-z]+)?[\s\n]$/, NW = rn.
|
|
|
64762
64761
|
tooltip: s.value ? "Disable Highlighting" : "Enable Highlighting",
|
|
64763
64762
|
onClick: o
|
|
64764
64763
|
}, null, 8, ["icon", "variant", "tooltip"]),
|
|
64765
|
-
s.value ? (U(), re("div",
|
|
64764
|
+
s.value ? (U(), re("div", _W)) : ae("", !0),
|
|
64766
64765
|
s.value ? (U(), we(Dr, {
|
|
64767
64766
|
key: 1,
|
|
64768
64767
|
options: r.value,
|
|
@@ -64806,7 +64805,7 @@ function Dk(t, e = []) {
|
|
|
64806
64805
|
function x2(t) {
|
|
64807
64806
|
return t.value || t.children || [];
|
|
64808
64807
|
}
|
|
64809
|
-
function
|
|
64808
|
+
function IW(t) {
|
|
64810
64809
|
return !!Rk.getLanguage(t);
|
|
64811
64810
|
}
|
|
64812
64811
|
function k2({
|
|
@@ -64821,7 +64820,7 @@ function k2({
|
|
|
64821
64820
|
if (!s.node.attrs.syntaxHighlighting)
|
|
64822
64821
|
return;
|
|
64823
64822
|
let o = s.pos + 1;
|
|
64824
|
-
const a = s.node.attrs.language || r, l = n.listLanguages(), c = a && (l.includes(a) ||
|
|
64823
|
+
const a = s.node.attrs.language || r, l = n.listLanguages(), c = a && (l.includes(a) || IW(a) || (u = n.registered) != null && u.call(n, a)) ? x2(n.highlight(a, s.node.textContent)) : x2(n.highlightAuto(s.node.textContent));
|
|
64825
64824
|
Dk(c).forEach((d) => {
|
|
64826
64825
|
const f = o + d.text.length;
|
|
64827
64826
|
if (d.classes.length) {
|
|
@@ -64834,15 +64833,15 @@ function k2({
|
|
|
64834
64833
|
});
|
|
64835
64834
|
}), Fe.create(t, i);
|
|
64836
64835
|
}
|
|
64837
|
-
function
|
|
64836
|
+
function DW(t) {
|
|
64838
64837
|
return typeof t == "function";
|
|
64839
64838
|
}
|
|
64840
|
-
function
|
|
64839
|
+
function LW({
|
|
64841
64840
|
name: t,
|
|
64842
64841
|
lowlight: e,
|
|
64843
64842
|
defaultLanguage: n
|
|
64844
64843
|
}) {
|
|
64845
|
-
if (!["highlight", "highlightAuto", "listLanguages"].every((i) =>
|
|
64844
|
+
if (!["highlight", "highlightAuto", "listLanguages"].every((i) => DW(e[i])))
|
|
64846
64845
|
throw Error("You should provide an instance of lowlight to use the code-block-lowlight extension");
|
|
64847
64846
|
const r = new pe({
|
|
64848
64847
|
key: new me("lowlight"),
|
|
@@ -64885,7 +64884,7 @@ function DW({
|
|
|
64885
64884
|
});
|
|
64886
64885
|
return r;
|
|
64887
64886
|
}
|
|
64888
|
-
const
|
|
64887
|
+
const BW = OW.extend({
|
|
64889
64888
|
addOptions() {
|
|
64890
64889
|
var t;
|
|
64891
64890
|
return {
|
|
@@ -64914,20 +64913,20 @@ const LW = NW.extend({
|
|
|
64914
64913
|
};
|
|
64915
64914
|
},
|
|
64916
64915
|
addNodeView() {
|
|
64917
|
-
return ws(
|
|
64916
|
+
return ws(RW);
|
|
64918
64917
|
},
|
|
64919
64918
|
addProseMirrorPlugins() {
|
|
64920
64919
|
var t;
|
|
64921
64920
|
return [
|
|
64922
64921
|
...((t = this.parent) == null ? void 0 : t.call(this)) || [],
|
|
64923
|
-
|
|
64922
|
+
LW({
|
|
64924
64923
|
name: this.name,
|
|
64925
64924
|
lowlight: this.options.lowlight,
|
|
64926
64925
|
defaultLanguage: this.options.defaultLanguage
|
|
64927
64926
|
})
|
|
64928
64927
|
];
|
|
64929
64928
|
}
|
|
64930
|
-
}),
|
|
64929
|
+
}), PW = rn.create({
|
|
64931
64930
|
name: "heading",
|
|
64932
64931
|
addOptions() {
|
|
64933
64932
|
return {
|
|
@@ -65003,7 +65002,7 @@ const LW = NW.extend({
|
|
|
65003
65002
|
}
|
|
65004
65003
|
}));
|
|
65005
65004
|
}
|
|
65006
|
-
}),
|
|
65005
|
+
}), $W = /* @__PURE__ */ new Set([
|
|
65007
65006
|
"table",
|
|
65008
65007
|
"thead",
|
|
65009
65008
|
"tbody",
|
|
@@ -65025,7 +65024,7 @@ const LW = NW.extend({
|
|
|
65025
65024
|
"details",
|
|
65026
65025
|
"summary"
|
|
65027
65026
|
]);
|
|
65028
|
-
function
|
|
65027
|
+
function zW(t) {
|
|
65029
65028
|
const n = new DOMParser().parseFromString(t, "text/html");
|
|
65030
65029
|
return $p(n.body), n.body.innerHTML;
|
|
65031
65030
|
}
|
|
@@ -65034,11 +65033,11 @@ function $p(t) {
|
|
|
65034
65033
|
for (const n of e)
|
|
65035
65034
|
if (n.nodeType !== Node.TEXT_NODE && n.nodeType === Node.ELEMENT_NODE) {
|
|
65036
65035
|
const r = n, i = r.tagName.toLowerCase();
|
|
65037
|
-
if (
|
|
65036
|
+
if ($W.has(i)) {
|
|
65038
65037
|
const s = r.textContent || "";
|
|
65039
65038
|
if (s.trim())
|
|
65040
65039
|
if (i === "table") {
|
|
65041
|
-
const o =
|
|
65040
|
+
const o = FW(r);
|
|
65042
65041
|
r.replaceWith(o);
|
|
65043
65042
|
} else if (i === "blockquote") {
|
|
65044
65043
|
const o = document.createDocumentFragment();
|
|
@@ -65058,13 +65057,13 @@ function $p(t) {
|
|
|
65058
65057
|
continue;
|
|
65059
65058
|
}
|
|
65060
65059
|
if (r.hasAttribute("style")) {
|
|
65061
|
-
const s =
|
|
65060
|
+
const s = HW(r.style);
|
|
65062
65061
|
s ? r.setAttribute("style", s) : r.removeAttribute("style");
|
|
65063
65062
|
}
|
|
65064
|
-
r.hasAttribute("class") && !
|
|
65063
|
+
r.hasAttribute("class") && !UW(i) && i !== "code" && i !== "pre" && r.removeAttribute("class"), $p(r);
|
|
65065
65064
|
}
|
|
65066
65065
|
}
|
|
65067
|
-
function
|
|
65066
|
+
function FW(t) {
|
|
65068
65067
|
const e = document.createDocumentFragment();
|
|
65069
65068
|
return t.querySelectorAll("tr").forEach((r) => {
|
|
65070
65069
|
const i = r.querySelectorAll("td, th"), s = [];
|
|
@@ -65078,7 +65077,7 @@ function zW(t) {
|
|
|
65078
65077
|
}
|
|
65079
65078
|
}), e;
|
|
65080
65079
|
}
|
|
65081
|
-
function
|
|
65080
|
+
function HW(t) {
|
|
65082
65081
|
const e = [
|
|
65083
65082
|
"color",
|
|
65084
65083
|
"background-color",
|
|
@@ -65094,10 +65093,10 @@ function FW(t) {
|
|
|
65094
65093
|
i && n.push(`${r}: ${i}`);
|
|
65095
65094
|
}), n.join("; ");
|
|
65096
65095
|
}
|
|
65097
|
-
function
|
|
65096
|
+
function UW(t) {
|
|
65098
65097
|
return t === "ul" || t === "ol" || t === "li";
|
|
65099
65098
|
}
|
|
65100
|
-
const
|
|
65099
|
+
const VW = Pe.create({
|
|
65101
65100
|
name: "canvasPasteFilter",
|
|
65102
65101
|
addProseMirrorPlugins() {
|
|
65103
65102
|
return [
|
|
@@ -65105,7 +65104,7 @@ const UW = Pe.create({
|
|
|
65105
65104
|
key: new me("canvasPasteFilter"),
|
|
65106
65105
|
props: {
|
|
65107
65106
|
transformPastedHTML(t) {
|
|
65108
|
-
return
|
|
65107
|
+
return zW(t);
|
|
65109
65108
|
},
|
|
65110
65109
|
// Also handle plain text paste to ensure consistency
|
|
65111
65110
|
transformPastedText(t) {
|
|
@@ -65115,13 +65114,15 @@ const UW = Pe.create({
|
|
|
65115
65114
|
})
|
|
65116
65115
|
];
|
|
65117
65116
|
}
|
|
65118
|
-
})
|
|
65117
|
+
});
|
|
65118
|
+
var qW = Rz;
|
|
65119
|
+
const WW = {
|
|
65119
65120
|
key: 0,
|
|
65120
65121
|
class: "absolute inset-0 z-[60] flex items-center justify-center bg-white/50 backdrop-blur-sm rounded-lg"
|
|
65121
|
-
},
|
|
65122
|
+
}, jW = { class: "flex items-center gap-2 px-4 py-2 bg-white shadow-lg border rounded-md" }, GW = { class: "custom-drag-handle" }, KW = {
|
|
65122
65123
|
key: 0,
|
|
65123
65124
|
class: "sticky top-0 left-0 z-[50] light bubble-menu"
|
|
65124
|
-
},
|
|
65125
|
+
}, Nj = /* @__PURE__ */ Ae({
|
|
65125
65126
|
__name: "NotionEditor",
|
|
65126
65127
|
props: {
|
|
65127
65128
|
modelValue: {},
|
|
@@ -65160,7 +65161,7 @@ const UW = Pe.create({
|
|
|
65160
65161
|
color: {
|
|
65161
65162
|
default: "",
|
|
65162
65163
|
renderHTML: (x) => x.color ? {
|
|
65163
|
-
class:
|
|
65164
|
+
class: Iz[x.color],
|
|
65164
65165
|
style: `color: ${x.color}`
|
|
65165
65166
|
} : {},
|
|
65166
65167
|
parseHTML: (x) => x.style.color
|
|
@@ -65199,29 +65200,34 @@ const UW = Pe.create({
|
|
|
65199
65200
|
// Disable blockquote in canvas mode
|
|
65200
65201
|
blockquote: i.isCanvas ? !1 : {}
|
|
65201
65202
|
}),
|
|
65203
|
+
qW.configure({
|
|
65204
|
+
placeholder: "Start typing, or press '/' to add elements",
|
|
65205
|
+
includeChildren: !0,
|
|
65206
|
+
showOnlyCurrent: !0
|
|
65207
|
+
}),
|
|
65202
65208
|
// Enable CodeBlockLowlight in BOTH modes (Canvas needs it for code block nodes)
|
|
65203
|
-
|
|
65209
|
+
BW.configure({
|
|
65204
65210
|
lowlight: r
|
|
65205
65211
|
}),
|
|
65206
|
-
|
|
65212
|
+
PW.configure({
|
|
65207
65213
|
levels: [1, 2, 3, 4, 5, 6]
|
|
65208
65214
|
}),
|
|
65209
65215
|
// Canvas paste filter to strip unsupported elements on paste
|
|
65210
|
-
...i.isCanvas ? [
|
|
65216
|
+
...i.isCanvas ? [VW] : [],
|
|
65211
65217
|
...i.isCanvas ? [] : [
|
|
65212
|
-
|
|
65213
|
-
|
|
65214
|
-
|
|
65218
|
+
kF,
|
|
65219
|
+
XF,
|
|
65220
|
+
sH,
|
|
65215
65221
|
vD,
|
|
65216
|
-
|
|
65222
|
+
aH.configure({
|
|
65217
65223
|
persist: !0,
|
|
65218
65224
|
HTMLAttributes: { class: "details" }
|
|
65219
65225
|
}),
|
|
65220
|
-
|
|
65221
|
-
|
|
65226
|
+
cH,
|
|
65227
|
+
lH.configure({
|
|
65222
65228
|
HTMLAttributes: { class: "details-content", "data-type": "detailsContent" }
|
|
65223
65229
|
}),
|
|
65224
|
-
|
|
65230
|
+
ZF.configure({
|
|
65225
65231
|
allowedMimeTypes: [
|
|
65226
65232
|
"image/png",
|
|
65227
65233
|
"image/jpeg",
|
|
@@ -65248,7 +65254,7 @@ const UW = Pe.create({
|
|
|
65248
65254
|
}
|
|
65249
65255
|
})
|
|
65250
65256
|
],
|
|
65251
|
-
|
|
65257
|
+
uV.configure({
|
|
65252
65258
|
inlineOptions: {
|
|
65253
65259
|
onClick: (S, y) => {
|
|
65254
65260
|
p.value && p.value.chain().setNodeSelection(y).run();
|
|
@@ -65260,13 +65266,13 @@ const UW = Pe.create({
|
|
|
65260
65266
|
}),
|
|
65261
65267
|
dM.extend({
|
|
65262
65268
|
addMarkView() {
|
|
65263
|
-
return $C(
|
|
65269
|
+
return $C(Dz);
|
|
65264
65270
|
}
|
|
65265
65271
|
}),
|
|
65266
65272
|
fR.configure({
|
|
65267
65273
|
key: null
|
|
65268
65274
|
}),
|
|
65269
|
-
|
|
65275
|
+
Fz.configure({
|
|
65270
65276
|
inline: !1,
|
|
65271
65277
|
allowBase64: !0,
|
|
65272
65278
|
HTMLAttributes: {
|
|
@@ -65293,7 +65299,7 @@ const UW = Pe.create({
|
|
|
65293
65299
|
multicolor: !0
|
|
65294
65300
|
}),
|
|
65295
65301
|
Xx,
|
|
65296
|
-
|
|
65302
|
+
dV,
|
|
65297
65303
|
o,
|
|
65298
65304
|
Jx,
|
|
65299
65305
|
Nz.configure({
|
|
@@ -65391,8 +65397,8 @@ const UW = Pe.create({
|
|
|
65391
65397
|
onBlur: S[0] || (S[0] = (y) => m.value = !0),
|
|
65392
65398
|
"data-tauri-drag-region": ""
|
|
65393
65399
|
}, [
|
|
65394
|
-
l.value ? (U(), re("div",
|
|
65395
|
-
V("div",
|
|
65400
|
+
l.value ? (U(), re("div", WW, [
|
|
65401
|
+
V("div", jW, [
|
|
65396
65402
|
he(lr, {
|
|
65397
65403
|
icon: "loading",
|
|
65398
65404
|
class: "animate-spin w-5 h-5 text-blue-600"
|
|
@@ -65410,7 +65416,7 @@ const UW = Pe.create({
|
|
|
65410
65416
|
class: "absolute"
|
|
65411
65417
|
}, {
|
|
65412
65418
|
default: qe(() => [
|
|
65413
|
-
V("div",
|
|
65419
|
+
V("div", GW, [
|
|
65414
65420
|
he(lr, {
|
|
65415
65421
|
class: "custom-drag-handle-icon",
|
|
65416
65422
|
icon: "drag-handle-dots"
|
|
@@ -65438,7 +65444,7 @@ const UW = Pe.create({
|
|
|
65438
65444
|
default: qe(() => {
|
|
65439
65445
|
var y, k, C, T, A, _, L, F;
|
|
65440
65446
|
return [
|
|
65441
|
-
!((y = De(p)) != null && y.isActive("horizontalRule")) && !((k = De(p)) != null && k.isActive("iframe")) && !((C = De(p)) != null && C.isActive("codeBlock")) ? (U(), re("div",
|
|
65447
|
+
!((y = De(p)) != null && y.isActive("horizontalRule")) && !((k = De(p)) != null && k.isActive("iframe")) && !((C = De(p)) != null && C.isActive("codeBlock")) ? (U(), re("div", KW, [
|
|
65442
65448
|
(T = De(p)) != null && T.isActive("resizableImage") ? (U(), we(kR, {
|
|
65443
65449
|
key: 0,
|
|
65444
65450
|
editor: De(p)
|
|
@@ -65469,7 +65475,7 @@ const UW = Pe.create({
|
|
|
65469
65475
|
], 2)) : ae("", !0)
|
|
65470
65476
|
], 34));
|
|
65471
65477
|
}
|
|
65472
|
-
}),
|
|
65478
|
+
}), YW = { class: "flex items-center gap-1" }, XW = /* @__PURE__ */ Ae({
|
|
65473
65479
|
__name: "TextFormatToolbar",
|
|
65474
65480
|
props: {
|
|
65475
65481
|
editor: {},
|
|
@@ -65503,7 +65509,7 @@ const UW = Pe.create({
|
|
|
65503
65509
|
};
|
|
65504
65510
|
return (a, l) => {
|
|
65505
65511
|
var c, u, d, f, h;
|
|
65506
|
-
return U(), re("div",
|
|
65512
|
+
return U(), re("div", YW, [
|
|
65507
65513
|
o("headings") ? (U(), we(Dr, {
|
|
65508
65514
|
key: 0,
|
|
65509
65515
|
options: n,
|
|
@@ -65579,7 +65585,7 @@ const UW = Pe.create({
|
|
|
65579
65585
|
]);
|
|
65580
65586
|
};
|
|
65581
65587
|
}
|
|
65582
|
-
}),
|
|
65588
|
+
}), JW = { class: "flex items-center gap-1" }, ZW = /* @__PURE__ */ Ae({
|
|
65583
65589
|
__name: "ListToolbar",
|
|
65584
65590
|
props: {
|
|
65585
65591
|
editor: {},
|
|
@@ -65592,7 +65598,7 @@ const UW = Pe.create({
|
|
|
65592
65598
|
};
|
|
65593
65599
|
return (r, i) => {
|
|
65594
65600
|
var s, o, a;
|
|
65595
|
-
return U(), re("div",
|
|
65601
|
+
return U(), re("div", JW, [
|
|
65596
65602
|
n("bulletList") ? (U(), we(ye, {
|
|
65597
65603
|
key: 0,
|
|
65598
65604
|
icon: "list",
|
|
@@ -65629,7 +65635,7 @@ const UW = Pe.create({
|
|
|
65629
65635
|
]);
|
|
65630
65636
|
};
|
|
65631
65637
|
}
|
|
65632
|
-
}),
|
|
65638
|
+
}), QW = { class: "flex items-center gap-1" }, ej = /* @__PURE__ */ Ae({
|
|
65633
65639
|
__name: "BlockToolbar",
|
|
65634
65640
|
props: {
|
|
65635
65641
|
editor: {},
|
|
@@ -65642,7 +65648,7 @@ const UW = Pe.create({
|
|
|
65642
65648
|
};
|
|
65643
65649
|
return (r, i) => {
|
|
65644
65650
|
var s, o, a;
|
|
65645
|
-
return U(), re("div",
|
|
65651
|
+
return U(), re("div", QW, [
|
|
65646
65652
|
n("blockquote") ? (U(), we(ye, {
|
|
65647
65653
|
key: 0,
|
|
65648
65654
|
icon: "quote",
|
|
@@ -65679,7 +65685,7 @@ const UW = Pe.create({
|
|
|
65679
65685
|
]);
|
|
65680
65686
|
};
|
|
65681
65687
|
}
|
|
65682
|
-
}),
|
|
65688
|
+
}), tj = { class: "flex items-center gap-1" }, nj = /* @__PURE__ */ Ae({
|
|
65683
65689
|
__name: "TableToolbar",
|
|
65684
65690
|
props: {
|
|
65685
65691
|
editor: {},
|
|
@@ -65713,7 +65719,7 @@ const UW = Pe.create({
|
|
|
65713
65719
|
var l;
|
|
65714
65720
|
return ((l = e.visibleToolbars) == null ? void 0 : l.includes(a)) ?? !0;
|
|
65715
65721
|
};
|
|
65716
|
-
return (a, l) => (U(), re("div",
|
|
65722
|
+
return (a, l) => (U(), re("div", tj, [
|
|
65717
65723
|
o("table") ? (U(), we(ye, {
|
|
65718
65724
|
key: 0,
|
|
65719
65725
|
icon: "table",
|
|
@@ -65738,7 +65744,7 @@ const UW = Pe.create({
|
|
|
65738
65744
|
})) : ae("", !0)
|
|
65739
65745
|
]));
|
|
65740
65746
|
}
|
|
65741
|
-
}),
|
|
65747
|
+
}), rj = { class: "flex items-center gap-1" }, ij = /* @__PURE__ */ Ae({
|
|
65742
65748
|
__name: "ImageToolbar",
|
|
65743
65749
|
props: {
|
|
65744
65750
|
editor: {}
|
|
@@ -65750,7 +65756,7 @@ const UW = Pe.create({
|
|
|
65750
65756
|
}), s = () => {
|
|
65751
65757
|
!e.editor || r.value || n(e.editor);
|
|
65752
65758
|
};
|
|
65753
|
-
return (o, a) => (U(), re("div",
|
|
65759
|
+
return (o, a) => (U(), re("div", rj, [
|
|
65754
65760
|
he(ye, {
|
|
65755
65761
|
icon: "image",
|
|
65756
65762
|
size: "sm",
|
|
@@ -65775,7 +65781,7 @@ const UW = Pe.create({
|
|
|
65775
65781
|
]), 1032, ["variant", "disabled"])
|
|
65776
65782
|
]));
|
|
65777
65783
|
}
|
|
65778
|
-
}),
|
|
65784
|
+
}), sj = /* @__PURE__ */ ii(ij, [["__scopeId", "data-v-f07ead10"]]), oj = { class: "flex items-center gap-1" }, aj = /* @__PURE__ */ Ae({
|
|
65779
65785
|
__name: "InsertToolbar",
|
|
65780
65786
|
props: {
|
|
65781
65787
|
editor: {},
|
|
@@ -65792,8 +65798,8 @@ const UW = Pe.create({
|
|
|
65792
65798
|
};
|
|
65793
65799
|
return (s, o) => {
|
|
65794
65800
|
var a;
|
|
65795
|
-
return U(), re("div",
|
|
65796
|
-
i("image") ? (U(), we(
|
|
65801
|
+
return U(), re("div", oj, [
|
|
65802
|
+
i("image") ? (U(), we(sj, {
|
|
65797
65803
|
key: 0,
|
|
65798
65804
|
editor: s.editor
|
|
65799
65805
|
}, null, 8, ["editor"])) : ae("", !0),
|
|
@@ -65827,7 +65833,7 @@ const UW = Pe.create({
|
|
|
65827
65833
|
]);
|
|
65828
65834
|
};
|
|
65829
65835
|
}
|
|
65830
|
-
}),
|
|
65836
|
+
}), lj = { class: "flex items-center gap-1" }, cj = /* @__PURE__ */ Ae({
|
|
65831
65837
|
__name: "UndoRedoToolbar",
|
|
65832
65838
|
props: {
|
|
65833
65839
|
editor: {},
|
|
@@ -65840,7 +65846,7 @@ const UW = Pe.create({
|
|
|
65840
65846
|
};
|
|
65841
65847
|
return (r, i) => {
|
|
65842
65848
|
var s, o;
|
|
65843
|
-
return U(), re("div",
|
|
65849
|
+
return U(), re("div", lj, [
|
|
65844
65850
|
n("undo") ? (U(), we(ye, {
|
|
65845
65851
|
key: 0,
|
|
65846
65852
|
icon: "undo",
|
|
@@ -65868,13 +65874,13 @@ const UW = Pe.create({
|
|
|
65868
65874
|
]);
|
|
65869
65875
|
};
|
|
65870
65876
|
}
|
|
65871
|
-
}),
|
|
65877
|
+
}), uj = { class: "v-notion-editor" }, dj = {
|
|
65872
65878
|
class: "flex items-center gap-1 p-2 flex-wrap select-none",
|
|
65873
65879
|
"data-tauri-drag-region": ""
|
|
65874
|
-
},
|
|
65880
|
+
}, fj = {
|
|
65875
65881
|
key: 0,
|
|
65876
65882
|
class: "w-px h-6 bg-secondary-dark mx-1"
|
|
65877
|
-
},
|
|
65883
|
+
}, Oj = /* @__PURE__ */ Ae({
|
|
65878
65884
|
__name: "NotionToolbar",
|
|
65879
65885
|
props: {
|
|
65880
65886
|
visibleToolbars: {}
|
|
@@ -65903,18 +65909,18 @@ const UW = Pe.create({
|
|
|
65903
65909
|
], r = Se(() => e.visibleToolbars || n), i = [
|
|
65904
65910
|
{
|
|
65905
65911
|
tools: ["headings", "bold", "italic", "underline", "strike", "code", "color"],
|
|
65906
|
-
component:
|
|
65912
|
+
component: XW
|
|
65907
65913
|
},
|
|
65908
65914
|
{ tools: ["align"], component: y5 },
|
|
65909
|
-
{ tools: ["bulletList", "orderedList", "taskList"], component:
|
|
65910
|
-
{ tools: ["blockquote", "code"], component:
|
|
65911
|
-
{ tools: ["table", "grid"], component:
|
|
65915
|
+
{ tools: ["bulletList", "orderedList", "taskList"], component: ZW },
|
|
65916
|
+
{ tools: ["blockquote", "code"], component: ej },
|
|
65917
|
+
{ tools: ["table", "grid"], component: nj },
|
|
65912
65918
|
// Added grid to this group
|
|
65913
|
-
{ tools: ["image", "link", "divider"], component:
|
|
65914
|
-
{ tools: ["undo", "redo"], component:
|
|
65919
|
+
{ tools: ["image", "link", "divider"], component: aj },
|
|
65920
|
+
{ tools: ["undo", "redo"], component: cj }
|
|
65915
65921
|
], s = Se(() => i.filter((o) => o.tools.some((a) => r.value.includes(a))));
|
|
65916
|
-
return (o, a) => (U(), re("div",
|
|
65917
|
-
V("div",
|
|
65922
|
+
return (o, a) => (U(), re("div", uj, [
|
|
65923
|
+
V("div", dj, [
|
|
65918
65924
|
(U(!0), re(dn, null, Cr(s.value, (l, c) => (U(), re(dn, {
|
|
65919
65925
|
key: l.component.name
|
|
65920
65926
|
}, [
|
|
@@ -65922,13 +65928,13 @@ const UW = Pe.create({
|
|
|
65922
65928
|
editor: De(Nr),
|
|
65923
65929
|
visibleToolbars: r.value
|
|
65924
65930
|
}, null, 8, ["editor", "visibleToolbars"])),
|
|
65925
|
-
c < s.value.length - 1 ? (U(), re("div",
|
|
65931
|
+
c < s.value.length - 1 ? (U(), re("div", fj)) : ae("", !0)
|
|
65926
65932
|
], 64))), 128))
|
|
65927
65933
|
])
|
|
65928
65934
|
]));
|
|
65929
65935
|
}
|
|
65930
65936
|
});
|
|
65931
|
-
function
|
|
65937
|
+
function hj(t) {
|
|
65932
65938
|
return t.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'");
|
|
65933
65939
|
}
|
|
65934
65940
|
function Cu(t) {
|
|
@@ -65937,14 +65943,14 @@ function Cu(t) {
|
|
|
65937
65943
|
if (Array.isArray(t))
|
|
65938
65944
|
return t.map(Cu).join("");
|
|
65939
65945
|
if (t.type === "text")
|
|
65940
|
-
return
|
|
65946
|
+
return hj(t.value);
|
|
65941
65947
|
if (t.type === "element") {
|
|
65942
65948
|
const e = t.tagName, n = t.properties || {}, r = Object.entries(n).map(([a, l]) => a === "className" && Array.isArray(l) ? `class="${l.join(" ")}"` : `${a}="${l}"`).join(" "), i = `<${e}${r ? " " + r : ""}>`, s = `</${e}>`, o = Cu(t.children || []);
|
|
65943
65949
|
return `${i}${o}${s}`;
|
|
65944
65950
|
}
|
|
65945
65951
|
return "";
|
|
65946
65952
|
}
|
|
65947
|
-
const
|
|
65953
|
+
const pj = ["innerHTML"], _j = /* @__PURE__ */ Ae({
|
|
65948
65954
|
__name: "NotionReadMode",
|
|
65949
65955
|
props: {
|
|
65950
65956
|
content: {},
|
|
@@ -66037,14 +66043,14 @@ const fj = ["innerHTML"], Nj = /* @__PURE__ */ Ae({
|
|
|
66037
66043
|
ref: n,
|
|
66038
66044
|
class: Le(["v-notion-editor read-mode", c.className]),
|
|
66039
66045
|
innerHTML: c.content
|
|
66040
|
-
}, null, 10,
|
|
66046
|
+
}, null, 10, pj));
|
|
66041
66047
|
}
|
|
66042
66048
|
});
|
|
66043
66049
|
export {
|
|
66044
66050
|
_C as E,
|
|
66045
|
-
|
|
66046
|
-
|
|
66047
|
-
|
|
66048
|
-
|
|
66049
|
-
|
|
66051
|
+
Nj as _,
|
|
66052
|
+
Oj as a,
|
|
66053
|
+
_j as b,
|
|
66054
|
+
Aj as c,
|
|
66055
|
+
Rq as g
|
|
66050
66056
|
};
|