diff --git a/MystEditor.js b/MystEditor.js index dc6333d..d762aba 100644 --- a/MystEditor.js +++ b/MystEditor.js @@ -62,13 +62,13 @@ function Bj(t) { } } function E7(t) { - (!t.__d && (t.__d = !0) && Wd.push(t) && !ck.__r++ || NB !== Ut.debounceRendering) && ((NB = Ut.debounceRendering) || Pj)(ck); + (!t.__d && (t.__d = !0) && Wd.push(t) && !c5.__r++ || NB !== Ut.debounceRendering) && ((NB = Ut.debounceRendering) || Pj)(c5); } -function ck() { +function c5() { var t, e, r, n, i, s, a, o, l; for (Wd.sort(C7); t = Wd.shift(); ) t.__d && (e = Wd.length, n = void 0, s = (i = (r = t).__v).__e, o = [], l = [], (a = r.__P) && ((n = Yu({}, i)).__v = i.__v + 1, Ut.vnode && Ut.vnode(n), PM(a, n, i, r.__n, a.ownerSVGElement !== void 0, 32 & i.__u ? [s] : null, o, s == null ? im(i) : s, !!(32 & i.__u), l), n.__.__k[n.__i] = n, Qj(o, n, l), n.__e != s && Bj(n)), Wd.length > e && Wd.sort(C7)); - ck.__r = 0; + c5.__r = 0; } function Fj(t, e, r, n, i, s, a, o, l, u, h) { var f, d, p, g, m, v = n && n.__k || Ij, y = e.length; @@ -325,7 +325,7 @@ Px = Ij.slice, Ut = { __e: function(t, e, r, n) { this.__v && (this.__e = !0, t && this.__h.push(t), E7(this)); }, Ul.prototype.render = au, Wd = [], Pj = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, C7 = function(t, e) { return t.__v.__b - e.__v.__b; -}, ck.__r = 0, Nj = 0; +}, c5.__r = 0, Nj = 0; var Pf, Mn, h_, FB, sm = 0, qj = [], Y4 = [], zB = Ut.__b, QB = Ut.__r, UB = Ut.diffed, VB = Ut.__c, qB = Ut.unmount; function v1(t, e) { Ut.__h && Ut.__h(Mn, t, sm || e), sm = 0; @@ -397,7 +397,7 @@ function vi(t, e) { var r = v1(Pf++, 7); return IM(r.__H, e) ? (r.__V = t(), r.i = e, r.__h = t, r.__V) : r.__; } -function uk(t, e) { +function u5(t, e) { return sm = 8, vi(function() { return t; }, e); @@ -813,7 +813,7 @@ function f_(t) { return !0; } } -var L0 = { useState: fi, useId: ube, useReducer: CT, useEffect: ri, useLayoutEffect: ET, useInsertionEffect: Gbe, useTransition: Wbe, useDeferredValue: Ybe, useSyncExternalStore: Hbe, startTransition: jj, useRef: ss, useImperativeHandle: cbe, useMemo: vi, useCallback: uk, useContext: cc, useDebugValue: A7, version: "17.0.2", Children: bbe, render: Lbe, hydrate: Rbe, unmountComponentAtNode: zbe, createPortal: Sbe, createElement: su, createContext: Vj, createFactory: $be, cloneElement: Fbe, createRef: nbe, Fragment: au, isValidElement: _T, isElement: Xbe, isFragment: Bbe, findDOMNode: Qbe, Component: Ul, PureComponent: M7, memo: mbe, forwardRef: ybe, flushSync: Vbe, unstable_batchedUpdates: Ube, StrictMode: qbe, Suspense: G4, SuspenseList: Jv, lazy: wbe, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: Ibe }, wa = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}; +var L0 = { useState: fi, useId: ube, useReducer: CT, useEffect: ri, useLayoutEffect: ET, useInsertionEffect: Gbe, useTransition: Wbe, useDeferredValue: Ybe, useSyncExternalStore: Hbe, startTransition: jj, useRef: ss, useImperativeHandle: cbe, useMemo: vi, useCallback: u5, useContext: cc, useDebugValue: A7, version: "17.0.2", Children: bbe, render: Lbe, hydrate: Rbe, unmountComponentAtNode: zbe, createPortal: Sbe, createElement: su, createContext: Vj, createFactory: $be, cloneElement: Fbe, createRef: nbe, Fragment: au, isValidElement: _T, isElement: Xbe, isFragment: Bbe, findDOMNode: Qbe, Component: Ul, PureComponent: M7, memo: mbe, forwardRef: ybe, flushSync: Vbe, unstable_batchedUpdates: Ube, StrictMode: qbe, Suspense: G4, SuspenseList: Jv, lazy: wbe, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: Ibe }, wa = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}; function Kj(t) { return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t; } @@ -1256,7 +1256,7 @@ function sK(t, e, r) { } return t; } -function hk(t, e) { +function h5(t, e) { for (var r = "", n = 0; n < t.length; n++) r += e(t[n], n, t, e) || ""; return r; @@ -1272,12 +1272,12 @@ function fxe(t, e, r, n) { case eK: return ""; case tK: - return t.return = t.value + "{" + hk(t.children, n) + "}"; + return t.return = t.value + "{" + h5(t.children, n) + "}"; case AT: if (!Mc(t.value = t.props.join(","))) return ""; } - return Mc(r = hk(t.children, n)) ? t.return = t.value + "{" + r + "}" : ""; + return Mc(r = h5(t.children, n)) ? t.return = t.value + "{" + r + "}" : ""; } function dxe(t) { var e = nK(t); @@ -1299,7 +1299,7 @@ function gxe(t, e, r, n) { t.return = sK(t.value, t.length, r); return; case tK: - return hk([Hh(t, { value: Rr(t.value, "@", "@" + jr) })], n); + return h5([Hh(t, { value: Rr(t.value, "@", "@" + jr) })], n); case AT: if (t.length) return txe(r = t.props, function(i) { @@ -1565,17 +1565,17 @@ var Pxe = function() { r += "".concat(this.tag.getRule(a)).concat(zM); return r; }, t; -}(), j4 = /* @__PURE__ */ new Map(), fk = /* @__PURE__ */ new Map(), K4 = 1, nO = function(t) { +}(), j4 = /* @__PURE__ */ new Map(), f5 = /* @__PURE__ */ new Map(), K4 = 1, nO = function(t) { if (j4.has(t)) return j4.get(t); - for (; fk.has(K4); ) + for (; f5.has(K4); ) K4++; var e = K4++; if ({}.NODE_ENV !== "production" && ((0 | e) < 0 || e > 1073741824)) throw b1(16, "".concat(e)); - return j4.set(t, e), fk.set(e, t), e; + return j4.set(t, e), f5.set(e, t), e; }, Nxe = function(t, e) { - K4 = e + 1, j4.set(t, e), fk.set(e, t); + K4 = e + 1, j4.set(t, e), f5.set(e, t); }, Ixe = "style[".concat(R0, "][").concat(oK, '="').concat(DT, '"]'), $xe = new RegExp("^".concat(R0, '\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')), Bxe = function(t, e, r) { for (var n, i = r.split(","), s = 0, a = i.length; s < a; s++) (n = i[s]) && t.registerName(e, n); @@ -1667,7 +1667,7 @@ var gK = function(t) { return function(s) { for (var a = s.getTag(), o = a.length, l = "", u = function(f) { var d = function(y) { - return fk.get(y); + return f5.get(y); }(f); if (d === void 0) return "continue"; @@ -1734,7 +1734,7 @@ function yK(t) { var v = d.replace(Wxe, ""), y = uxe(g || p ? "".concat(g, " ").concat(p, " { ").concat(v, " }") : v); a.namespace && (y = vK(y, a.namespace)); var b = []; - return hk(y, dxe(h.concat(pxe(function(w) { + return h5(y, dxe(h.concat(pxe(function(w) { return b.push(w); })))), b; }; @@ -2845,17 +2845,17 @@ class $t { return new $t(e.combine || ((r) => r), e.compareInput || ((r, n) => r === n), e.compare || (e.combine ? (r, n) => r === n : GM), !!e.static, e.enables); } of(e) { - return new e5([], this, 0, e); + return new ek([], this, 0, e); } compute(e, r) { if (this.isStatic) throw new Error("Can't compute a static facet"); - return new e5(e, this, 1, r); + return new ek(e, this, 1, r); } computeN(e, r) { if (this.isStatic) throw new Error("Can't compute a static facet"); - return new e5(e, this, 2, r); + return new ek(e, this, 2, r); } from(e, r) { return r || (r = (n) => n), this.compute([e], (n) => r(n.field(e))); @@ -2864,7 +2864,7 @@ class $t { function GM(t, e) { return t == e || t.length == e.length && t.every((r, n) => r === e[n]); } -class e5 { +class ek { constructor(e, r, n, i) { this.dependencies = e, this.facet = r, this.type = n, this.value = i, this.id = WM++; } @@ -2888,7 +2888,7 @@ class e5 { reconfigure: (f, d) => { let p, g = d.config.address[s]; if (g != null) { - let m = pk(d, g); + let m = p5(d, g); if (this.dependencies.every((v) => v instanceof $t ? d.facet(v) === f.facet(v) : v instanceof Xn ? d.field(v, !1) == f.field(v, !1) : !0) || (o ? bF(p = n(f), m, i) : i(p = n(f), m))) return f.values[a] = m, 0; } else @@ -2917,7 +2917,7 @@ function iwe(t, e, r) { function o(l) { let u = []; for (let h = 0; h < n.length; h++) { - let f = pk(l, n[h]); + let f = p5(l, n[h]); if (i[h] == 2) for (let d of f) u.push(d); @@ -3010,7 +3010,7 @@ class W7 { this.compartment = e, this.inner = r; } } -class dk { +class d5 { constructor(e, r, n, i, s, a) { for (this.base = e, this.compartments = r, this.dynamicSlots = n, this.address = i, this.staticValues = s, this.facets = a, this.statusTemplate = []; this.statusTemplate.length < n.length; ) this.statusTemplate.push(0); @@ -3043,7 +3043,7 @@ class dk { } } let f = u.map((d) => d(o)); - return new dk(e, a, f, o, l, s); + return new d5(e, a, f, o, l, s); } } function swe(t, e, r) { @@ -3068,7 +3068,7 @@ function swe(t, e, r) { s(a.inner, a.prec); else if (a instanceof Xn) n[o].push(a), a.provides && s(a.provides, o); - else if (a instanceof e5) + else if (a instanceof ek) n[o].push(a), a.facet.extensions && s(a.facet.extensions, Xd.default); else { let u = a.extension; @@ -3091,7 +3091,7 @@ function Py(t, e) { let i = t.computeSlot(t, t.config.dynamicSlots[r]); return t.status[r] = 2 | i; } -function pk(t, e) { +function p5(t, e) { return e & 1 ? t.config.staticValues[e >> 1] : t.values[e >> 1]; } const MK = /* @__PURE__ */ $t.define(), G7 = /* @__PURE__ */ $t.define({ @@ -3316,7 +3316,7 @@ class Tr { throw new RangeError("Field is not present in this state"); return; } - return Py(this, n), pk(this, n); + return Py(this, n), p5(this, n); } update(...e) { return FK(this, e, !0); @@ -3326,7 +3326,7 @@ class Tr { for (let o of e.effects) o.is(mp.reconfigure) ? (r && (i = /* @__PURE__ */ new Map(), r.compartments.forEach((l, u) => i.set(u, l)), r = null), i.set(o.value.compartment, o.value.extension)) : o.is(or.reconfigure) ? (r = null, n = o.value) : o.is(or.appendConfig) && (r = null, n = Mg(n).concat(o.value)); let s; - r ? s = e.startState.values.slice() : (r = dk.resolve(n, i, this), s = new Tr(r, this.doc, this.selection, r.dynamicSlots.map(() => null), (l, u) => u.reconfigure(l, this), null).values); + r ? s = e.startState.values.slice() : (r = d5.resolve(n, i, this), s = new Tr(r, this.doc, this.selection, r.dynamicSlots.map(() => null), (l, u) => u.reconfigure(l, this), null).values); let a = e.startState.facet(G7) ? e.newSelection : e.newSelection.asSingle(); new Tr(r, e.newDoc, a, s, (o, l) => l.update(o, e), e); } @@ -3362,7 +3362,7 @@ class Tr { } facet(e) { let r = this.config.address[e.id]; - return r == null ? e.default : (Py(this, r), pk(this, r)); + return r == null ? e.default : (Py(this, r), p5(this, r)); } toJSON(e) { let r = { @@ -3394,7 +3394,7 @@ class Tr { }); } static create(e = {}) { - let r = dk.resolve(e.extensions || [], /* @__PURE__ */ new Map()), n = e.doc instanceof qr ? e.doc : qr.of((e.doc || "").split(r.staticFacet(Tr.lineSeparator) || U7)), i = e.selection ? e.selection instanceof je ? e.selection : je.single(e.selection.anchor, e.selection.head) : je.single(0); + let r = d5.resolve(e.extensions || [], /* @__PURE__ */ new Map()), n = e.doc instanceof qr ? e.doc : qr.of((e.doc || "").split(r.staticFacet(Tr.lineSeparator) || U7)), i = e.selection ? e.selection instanceof je ? e.selection : je.single(e.selection.anchor, e.selection.head) : je.single(0); return LK(i, n.length), r.staticFacet(G7) || (i = i.asSingle()), new Tr(r, n, i, r.dynamicSlots.map(() => null), (s, a) => a.create(s), null); } get tabSize() { @@ -4118,7 +4118,7 @@ function bwe(t) { var e = vwe && t.metaKey && t.shiftKey && !t.ctrlKey && !t.altKey || ywe && t.shiftKey && t.key && t.key.length == 1 || t.key == "Unidentified", r = !e && t.key || (t.shiftKey ? f2 : Nf)[t.keyCode] || t.key || "Unidentified"; return r == "Esc" && (r = "Escape"), r == "Del" && (r = "Delete"), r == "Left" && (r = "ArrowLeft"), r == "Up" && (r = "ArrowUp"), r == "Right" && (r = "ArrowRight"), r == "Down" && (r = "ArrowDown"), r; } -function gk(t) { +function g5(t) { let e; return t.nodeType == 11 ? e = t.getSelection ? t : t.ownerDocument : e = t, e.getSelection(); } @@ -4131,7 +4131,7 @@ function xwe(t) { e = e.shadowRoot.activeElement; return e; } -function t5(t, e) { +function tk(t, e) { if (!e.anchorNode) return !1; try { @@ -4143,7 +4143,7 @@ function t5(t, e) { function d2(t) { return t.nodeType == 3 ? D0(t, 0, t.nodeValue.length).getClientRects() : t.nodeType == 1 ? t.getClientRects() : []; } -function mk(t, e, r, n) { +function m5(t, e, r, n) { return r ? EF(t, e, r, n, -1) || EF(t, e, r, n, 1) : !1; } function p2(t) { @@ -5397,7 +5397,7 @@ class ol { } } } -class vk { +class v5 { constructor(e, r, n) { this.view = e, this.state = r, this.transactions = n, this.flags = 0, this.startState = e.state, this.changes = wi.empty(this.startState.doc.length); for (let s of n) @@ -5406,7 +5406,7 @@ class vk { this.changes.iterChangedRanges((s, a, o, l) => i.push(new ol(s, a, o, l))), this.changedRanges = i; } static create(e, r, n) { - return new vk(e, r, n); + return new v5(e, r, n); } get viewportChanged() { return (this.flags & 4) > 0; @@ -5773,7 +5773,7 @@ class IF extends Dn { } updateSelection(e = !1, r = !1) { (e || !this.view.observer.selectionRange.focusNode) && this.view.observer.readSelectionRange(); - let n = this.view.root.activeElement, i = n == this.dom, s = !i && t5(this.dom, this.view.observer.selectionRange) && !(n && this.dom.contains(n)); + let n = this.view.root.activeElement, i = n == this.dom, s = !i && tk(this.dom, this.view.observer.selectionRange) && !(n && this.dom.contains(n)); if (!(i || r || s)) return; let a = this.forceSelection; @@ -5784,9 +5784,9 @@ class IF extends Dn { this.view.observer.ignore(() => l.node.insertBefore(f, l.node.childNodes[l.offset] || null)), l = u = new Zs(f, 0), a = !0; } let h = this.view.observer.selectionRange; - (a || !h.focusNode || !mk(l.node, l.offset, h.anchorNode, h.anchorOffset) || !mk(u.node, u.offset, h.focusNode, h.focusOffset)) && (this.view.observer.ignore(() => { + (a || !h.focusNode || !m5(l.node, l.offset, h.anchorNode, h.anchorOffset) || !m5(u.node, u.offset, h.focusNode, h.focusOffset)) && (this.view.observer.ignore(() => { Vt.android && Vt.chrome && this.dom.contains(h.focusNode) && Gwe(h.focusNode, this.dom) && (this.dom.blur(), this.dom.focus({ preventScroll: !0 })); - let f = gk(this.view.root); + let f = g5(this.view.root); if (f) if (o.empty) { if (Vt.gecko) { @@ -5813,7 +5813,7 @@ class IF extends Dn { enforceCursorAssoc() { if (this.hasComposition) return; - let { view: e } = this, r = e.state.selection.main, n = gk(e.root), { anchorNode: i, anchorOffset: s } = e.observer.selectionRange; + let { view: e } = this, r = e.state.selection.main, n = g5(e.root), { anchorNode: i, anchorOffset: s } = e.observer.selectionRange; if (!n || !r.empty || !r.assoc || !n.modify) return; let a = Pi.find(this, r.head); @@ -6338,7 +6338,7 @@ function rOe(t, e, r, n) { } } } -function r5(t, e, r) { +function rk(t, e, r) { for (; ; ) { let n = 0; for (let i of t) @@ -6353,7 +6353,7 @@ function r5(t, e, r) { } } function O_(t, e, r) { - let n = r5(t.state.facet(JM).map((i) => i(t)), r.from, e.head > r.from ? -1 : 1); + let n = rk(t.state.facet(JM).map((i) => i(t)), r.from, e.head > r.from ? -1 : 1); return n == r.from ? r : je.cursor(n, n < r.from ? 1 : -1); } class nOe { @@ -6500,10 +6500,10 @@ class oOe { for (let n = 0; n < e.ranges.length; n++) { let i = e.ranges[n], s = null; if (i.empty) { - let a = r5(this.atoms, i.from, 0); + let a = rk(this.atoms, i.from, 0); a != i.from && (s = je.cursor(a, -1)); } else { - let a = r5(this.atoms, i.from, -1), o = r5(this.atoms, i.to, 1); + let a = rk(this.atoms, i.from, -1), o = rk(this.atoms, i.to, 1); (a != i.from || o != i.to) && (s = je.range(i.from == i.anchor ? a : o, i.from == i.head ? a : o)); } s && (r || (r = e.ranges.slice()), r[n] = s); @@ -6533,7 +6533,7 @@ function uOe(t, e) { let { main: r } = t.state.selection; if (r.empty) return !1; - let n = gk(t.root); + let n = g5(t.root); if (!n || n.rangeCount == 0) return !0; let i = n.getRangeAt(0).getClientRects(); @@ -6896,7 +6896,7 @@ class Ic { var Rn = /* @__PURE__ */ function(t) { return t[t.ByPos = 0] = "ByPos", t[t.ByHeight = 1] = "ByHeight", t[t.ByPosNoHeight = 2] = "ByPosNoHeight", t; }(Rn || (Rn = {})); -const n5 = 1e-3; +const nk = 1e-3; class Ea { constructor(e, r, n = 2) { this.length = e, this.height = r, this.flags = n; @@ -6908,7 +6908,7 @@ class Ea { this.flags = (e ? 2 : 0) | this.flags & -3; } setHeight(e, r) { - this.height != r && (Math.abs(this.height - r) > n5 && (e.heightChanged = !0), this.height = r); + this.height != r && (Math.abs(this.height - r) > nk && (e.heightChanged = !0), this.height = r); } replace(e, r, n) { return Ea.of(n); @@ -7070,13 +7070,13 @@ class xs extends Ea { let h = e.doc.lineAt(o).length; a.length && a.push(null); let f = i.heights[i.index++]; - l == -1 ? l = f : Math.abs(f - l) >= n5 && (l = -2); + l == -1 ? l = f : Math.abs(f - l) >= nk && (l = -2); let d = new wo(h, f); d.outdated = !1, a.push(d), o += h + 1; } o <= s && a.push(null, new xs(s - o).updateHeight(e, o)); let u = Ea.of(a); - return (l < 0 || Math.abs(u.height - this.height) >= n5 || Math.abs(l - this.heightMetrics(e, r).perLine) >= n5) && (e.heightChanged = !0), u; + return (l < 0 || Math.abs(u.height - this.height) >= nk || Math.abs(l - this.heightMetrics(e, r).perLine) >= nk) && (e.heightChanged = !0), u; } else (n || this.outdated) && (this.setHeight(e, e.heightForGap(r, r + this.length)), this.outdated = !1); return this; @@ -8086,20 +8086,20 @@ class QOe { if (!this.readSelectionRange() || this.delayedAndroidKey) return; let { view: n } = this, i = this.selectionRange; - if (n.state.facet(IT) ? n.root.activeElement != this.dom : !t5(n.dom, i)) + if (n.state.facet(IT) ? n.root.activeElement != this.dom : !tk(n.dom, i)) return; let s = i.anchorNode && n.docView.nearest(i.anchorNode); if (s && s.ignoreEvent(e)) { r || (this.selectionChanged = !1); return; } - (Vt.ie && Vt.ie_version <= 11 || Vt.android && Vt.chrome) && !n.state.selection.main.empty && i.focusNode && mk(i.focusNode, i.focusOffset, i.anchorNode, i.anchorOffset) ? this.flushSoon() : this.flush(!1); + (Vt.ie && Vt.ie_version <= 11 || Vt.android && Vt.chrome) && !n.state.selection.main.empty && i.focusNode && m5(i.focusNode, i.focusOffset, i.anchorNode, i.anchorOffset) ? this.flushSoon() : this.flush(!1); } readSelectionRange() { - let { view: e } = this, r = Vt.safari && e.root.nodeType == 11 && xwe(this.dom.ownerDocument) == this.dom && UOe(this.view) || gk(e.root); + let { view: e } = this, r = Vt.safari && e.root.nodeType == 11 && xwe(this.dom.ownerDocument) == this.dom && UOe(this.view) || g5(e.root); if (!r || this.selectionRange.eq(r)) return !1; - let n = t5(this.dom, r); + let n = tk(this.dom, r); return n && !this.selectionChanged && e.inputState.lastFocusTime > Date.now() - 200 && e.inputState.lastTouchTime < Date.now() - 300 && Cwe(this.dom, r) ? (this.view.inputState.lastFocusTime = 0, e.docView.updateSelection(), !1) : (this.selectionRange.setRange(r), n && (this.selectionChanged = !0), !0); } setSelectionRange(e, r) { @@ -8185,7 +8185,7 @@ class QOe { return { from: r, to: n, typeOver: i }; } readChange() { - let { from: e, to: r, typeOver: n } = this.processRecords(), i = this.selectionChanged && t5(this.dom, this.selectionRange); + let { from: e, to: r, typeOver: n } = this.processRecords(), i = this.selectionChanged && tk(this.dom, this.selectionRange); if (e < 0 && !i) return null; e > -1 && (this.lastChange = Date.now()), this.view.inputState.lastFocusTime = 0, this.selectionChanged = !1; @@ -8251,7 +8251,7 @@ function UOe(t) { if (t.contentDOM.addEventListener("beforeinput", r, !0), t.dom.ownerDocument.execCommand("indent"), t.contentDOM.removeEventListener("beforeinput", r, !0), !e) return null; let n = e.startContainer, i = e.startOffset, s = e.endContainer, a = e.endOffset, o = t.docView.domAtPos(t.state.selection.main.anchor); - return mk(o.node, o.offset, s, a) && ([n, i, s, a] = [s, a, n, i]), { anchorNode: n, anchorOffset: i, focusNode: s, focusOffset: a }; + return m5(o.node, o.offset, s, a) && ([n, i, s, a] = [s, a, n, i]), { anchorNode: n, anchorOffset: i, focusNode: s, focusOffset: a }; } class kt { get state() { @@ -8308,7 +8308,7 @@ class kt { let u = this.observer.delayedAndroidKey, h = null; if (u ? (this.observer.clearDelayedAndroidKey(), h = this.observer.readChange(), (h && !this.state.doc.eq(s.doc) || !this.state.selection.eq(s.selection)) && (h = null)) : this.observer.clear(), s.facet(Tr.phrases) != this.state.facet(Tr.phrases)) return this.setState(s); - i = vk.create(this, s, e), i.flags |= o; + i = v5.create(this, s, e), i.flags |= o; let f = this.viewState.scrollTarget; try { this.updateState = 2; @@ -8320,7 +8320,7 @@ class kt { for (let p of d.effects) p.is(lO) && (f = p.value.clip(this.state)); } - this.viewState.update(i, f), this.bidiCache = yk.update(this.bidiCache, i.changes), i.empty || (this.updatePlugins(i), this.inputState.update(i)), r = this.docView.update(i), this.state.facet(ry) != this.styleModules && this.mountStyles(), n = this.updateAttrs(), this.showAnnouncements(e), this.docView.updateSelection(r, e.some((d) => d.isUserEvent("select.pointer"))); + this.viewState.update(i, f), this.bidiCache = y5.update(this.bidiCache, i.changes), i.empty || (this.updatePlugins(i), this.inputState.update(i)), r = this.docView.update(i), this.state.facet(ry) != this.styleModules && this.mountStyles(), n = this.updateAttrs(), this.showAnnouncements(e), this.docView.updateSelection(r, e.some((d) => d.isUserEvent("select.pointer"))); } finally { this.updateState = 0; } @@ -8414,7 +8414,7 @@ class kt { } catch (g) { return al(this.state, g), sz; } - }), f = vk.create(this, this.state, []), d = !1; + }), f = v5.create(this, this.state, []), d = !1; f.flags |= l, r ? r.flags |= l : r = f, this.updateState = 2, f.empty || (this.updatePlugins(f), this.inputState.update(f), this.updateAttrs(), d = this.docView.update(f)); for (let p = 0; p < u.length; p++) if (h[p] != sz) @@ -8591,7 +8591,7 @@ class kt { return s.order; n || (n = NF(this, e.from, e.to)); let i = zwe(e.text, r, n); - return this.bidiCache.push(new yk(e.from, e.to, r, n, !0, i)), i; + return this.bidiCache.push(new y5(e.from, e.to, r, n, !0, i)), i; } get hasFocus() { var e; @@ -8657,7 +8657,7 @@ kt.editorAttributes = lJ; kt.lineWrapping = /* @__PURE__ */ kt.contentAttributes.of({ class: "cm-lineWrapping" }); kt.announce = /* @__PURE__ */ or.define(); const VOe = 4096, sz = {}; -class yk { +class y5 { constructor(e, r, n, i, s, a) { this.from = e, this.to = r, this.dir = n, this.isolates = i, this.fresh = s, this.order = a; } @@ -8667,7 +8667,7 @@ class yk { let n = [], i = e.length ? e[e.length - 1].dir : Wn.LTR; for (let s = Math.max(0, e.length - 10); s < e.length; s++) { let a = e[s]; - a.dir == i && !r.touchesRange(a.from, a.to) && n.push(new yk(r.mapPos(a.from, 1), r.mapPos(a.to, -1), a.dir, a.isolates, !1, a.order)); + a.dir == i && !r.touchesRange(a.from, a.to) && n.push(new y5(r.mapPos(a.from, 1), r.mapPos(a.to, -1), a.dir, a.isolates, !1, a.order)); } return n; } @@ -8875,10 +8875,10 @@ class KOe { this.view = e, this.layer = r, this.drawn = [], this.scaleX = 1, this.scaleY = 1, this.measureReq = { read: this.measure.bind(this), write: this.draw.bind(this) }, this.dom = e.scrollDOM.appendChild(document.createElement("div")), this.dom.classList.add("cm-layer"), r.above && this.dom.classList.add("cm-layer-above"), r.class && this.dom.classList.add(r.class), this.scale(), this.dom.setAttribute("aria-hidden", "true"), this.setOrder(e.state), e.requestMeasure(this.measureReq), r.mount && r.mount(this.dom, e); } update(e) { - e.startState.facet(i5) != e.state.facet(i5) && this.setOrder(e.state), (this.layer.update(e, this.dom) || e.geometryChanged) && (this.scale(), e.view.requestMeasure(this.measureReq)); + e.startState.facet(ik) != e.state.facet(ik) && this.setOrder(e.state), (this.layer.update(e, this.dom) || e.geometryChanged) && (this.scale(), e.view.requestMeasure(this.measureReq)); } setOrder(e) { - let r = 0, n = e.facet(i5); + let r = 0, n = e.facet(ik); for (; r < n.length && n[r] != this.layer; ) r++; this.dom.style.zIndex = String((this.layer.above ? 150 : -1) - r); @@ -8906,11 +8906,11 @@ class KOe { this.layer.destroy && this.layer.destroy(this.dom, this.view), this.dom.remove(); } } -const i5 = /* @__PURE__ */ $t.define(); +const ik = /* @__PURE__ */ $t.define(); function $J(t) { return [ hn.define((e) => new KOe(e, t)), - i5.of(t) + ik.of(t) ]; } const BJ = !Vt.ios, v2 = /* @__PURE__ */ $t.define({ @@ -9149,7 +9149,7 @@ function l4e() { } return T_ || !1; } -const s5 = /* @__PURE__ */ $t.define({ +const sk = /* @__PURE__ */ $t.define({ combine(t) { let e = mu(t, { render: null, @@ -9160,13 +9160,13 @@ const s5 = /* @__PURE__ */ $t.define({ } }); function UJ(t = {}) { - return [s5.of(t), c4e()]; + return [sk.of(t), c4e()]; } let hz = null; function c4e() { return hz || (hz = hn.fromClass(class { constructor(t) { - this.view = t, this.decorations = It.none, this.decorationCache = /* @__PURE__ */ Object.create(null), this.decorator = this.makeDecorator(t.state.facet(s5)), this.decorations = this.decorator.createDeco(t); + this.view = t, this.decorations = It.none, this.decorationCache = /* @__PURE__ */ Object.create(null), this.decorator = this.makeDecorator(t.state.facet(sk)), this.decorations = this.decorator.createDeco(t); } makeDecorator(t) { return new s4e({ @@ -9185,8 +9185,8 @@ function c4e() { }); } update(t) { - let e = t.state.facet(s5); - t.startState.facet(s5) != e ? (this.decorator = this.makeDecorator(e), this.decorations = this.decorator.createDeco(t.view)) : this.decorations = this.decorator.updateDeco(t, this.decorations); + let e = t.state.facet(sk); + t.startState.facet(sk) != e ? (this.decorator = this.makeDecorator(e), this.decorations = this.decorator.createDeco(t.view)) : this.decorations = this.decorator.updateDeco(t, this.decorations); } }, { decorations: (t) => t.decorations @@ -9583,13 +9583,13 @@ const C_ = /* @__PURE__ */ $t.define({ } }), T4e = { x: 0, y: 0 }, rD = /* @__PURE__ */ $t.define({ enables: [tD, S4e] -}), bk = /* @__PURE__ */ $t.define(); +}), b5 = /* @__PURE__ */ $t.define(); class $T { static create(e) { return new $T(e); } constructor(e) { - this.view = e, this.mounted = !1, this.dom = document.createElement("div"), this.dom.classList.add("cm-tooltip-hover"), this.manager = new qJ(e, bk, (r) => this.createHostedView(r)); + this.view = e, this.mounted = !1, this.dom = document.createElement("div"), this.dom.classList.add("cm-tooltip-hover"), this.manager = new qJ(e, b5, (r) => this.createHostedView(r)); } createHostedView(e) { let r = e.create(this.view); @@ -9638,8 +9638,8 @@ class $T { return this.passProp("resize"); } } -const C4e = /* @__PURE__ */ rD.compute([bk], (t) => { - let e = t.facet(bk).filter((r) => r); +const C4e = /* @__PURE__ */ rD.compute([b5], (t) => { + let e = t.facet(b5).filter((r) => r); return e.length === 0 ? null : { pos: Math.min(...e.map((r) => r.pos)), end: Math.max(...e.map((r) => { @@ -9755,7 +9755,7 @@ function L4e(t, e = {}) { a.is(r) && (i = a.value), a.is(R4e) && (i = null); return i; }, - provide: (i) => bk.from(i) + provide: (i) => b5.from(i) }); return [ n, @@ -9880,7 +9880,7 @@ ul.prototype.toDOM = void 0; ul.prototype.mapMode = zi.TrackBefore; ul.prototype.startSide = ul.prototype.endSide = -1; ul.prototype.point = !0; -const a5 = /* @__PURE__ */ $t.define(), M4e = { +const ak = /* @__PURE__ */ $t.define(), M4e = { class: "", renderEmptyElements: !1, elementStyle: "", @@ -9921,7 +9921,7 @@ const D4e = /* @__PURE__ */ hn.fromClass(class { syncGutters(t) { let e = this.dom.nextSibling; t && this.dom.remove(); - let r = $r.iter(this.view.state.facet(a5), this.view.viewport.from), n = [], i = this.gutters.map((s) => new P4e(s, this.view.viewport, -this.view.documentPadding.top)); + let r = $r.iter(this.view.state.facet(ak), this.view.viewport.from), n = [], i = this.gutters.map((s) => new P4e(s, this.view.viewport, -this.view.documentPadding.top)); for (let s of this.view.viewportLineBlocks) if (n.length && (n = []), Array.isArray(s.type)) { let a = !0; @@ -9946,7 +9946,7 @@ const D4e = /* @__PURE__ */ hn.fromClass(class { t && this.view.scrollDOM.insertBefore(this.dom, e); } updateGutters(t) { - let e = t.startState.facet(Iy), r = t.state.facet(Iy), n = t.docChanged || t.heightChanged || t.viewportChanged || !$r.eq(t.startState.facet(a5), t.state.facet(a5), t.view.viewport.from, t.view.viewport.to); + let e = t.startState.facet(Iy), r = t.state.facet(Iy), n = t.docChanged || t.heightChanged || t.viewportChanged || !$r.eq(t.startState.facet(ak), t.state.facet(ak), t.view.viewport.from, t.view.viewport.to); if (e == r) for (let i of this.gutters) i.update(t) && (n = !0); @@ -10160,7 +10160,7 @@ const F4e = /* @__PURE__ */ new class extends ul { constructor() { super(...arguments), this.elementClass = "cm-activeLineGutter"; } -}(), z4e = /* @__PURE__ */ a5.compute(["selection"], (t) => { +}(), z4e = /* @__PURE__ */ ak.compute(["selection"], (t) => { let e = [], r = -1; for (let n of t.selection.ranges) { let i = t.doc.lineAt(n.head).from; @@ -10313,10 +10313,10 @@ class nn { return this.type.name ? (/\W/.test(this.type.name) && !this.type.isError ? JSON.stringify(this.type.name) : this.type.name) + (r.length ? "(" + r + ")" : "") : r; } cursor(e = 0) { - return new xk(this.topNode, e); + return new x5(this.topNode, e); } cursorAt(e, r = 0, n = 0) { - let i = yO.get(this) || this.topNode, s = new xk(i); + let i = yO.get(this) || this.topNode, s = new x5(i); return s.moveTo(e, r), yO.set(this, s._tree), s; } get topNode() { @@ -10467,7 +10467,7 @@ function w2(t, e, r, n) { } class jJ { cursor(e = 0) { - return new xk(this, e); + return new x5(this, e); } getChild(e, r = null, n = null) { let i = xz(this, e, r, n); @@ -10717,7 +10717,7 @@ function W4e(t, e, r) { } return i ? KJ(i) : n; } -class xk { +class x5 { get name() { return this.type.name; } @@ -11036,7 +11036,7 @@ function G4e(t) { return new nn(l[t.topID], b.reverse(), w.reverse(), O); } const wz = /* @__PURE__ */ new WeakMap(); -function o5(t, e) { +function ok(t, e) { if (!t.isAnonymous || e instanceof $f || e.type != t) return 1; let r = wz.get(e); @@ -11047,7 +11047,7 @@ function o5(t, e) { r = 1; break; } - r += o5(t, n); + r += ok(t, n); } wz.set(e, r); } @@ -11056,13 +11056,13 @@ function o5(t, e) { function sD(t, e, r, n, i, s, a, o, l) { let u = 0; for (let g = n; g < i; g++) - u += o5(t, e[g]); + u += ok(t, e[g]); let h = Math.ceil(u * 1.5 / 8), f = [], d = []; function p(g, m, v, y, b) { for (let w = v; w < y; ) { - let O = w, S = m[w], C = o5(t, g[w]); + let O = w, S = m[w], C = ok(t, g[w]); for (w++; w < y; w++) { - let T = o5(t, g[w]); + let T = ok(t, g[w]); if (C + T >= h) break; C += T; @@ -11237,7 +11237,7 @@ class Z4e { this.inner[r].parse.stopAt(e); } startInner() { - let e = new J4e(this.fragments), r = null, n = null, i = new xk(new ta(this.baseTree, this.ranges[0].from, 0, null), Sn.IncludeAnonymous | Sn.IgnoreMounts); + let e = new J4e(this.fragments), r = null, n = null, i = new x5(new ta(this.baseTree, this.ranges[0].from, 0, null), Sn.IncludeAnonymous | Sn.IgnoreMounts); e: for (let s, a; ; ) { let o = !0, l; @@ -11399,7 +11399,7 @@ function Cz(t, e) { } return n; } -function e5e(t, e, r, n) { +function eke(t, e, r, n) { let i = 0, s = 0, a = !1, o = !1, l = -1e9, u = []; for (; ; ) { let h = i == t.length ? 1e9 : a ? t[i].to : t[i].from, f = s == e.length ? 1e9 : o ? e[s].to : e[s].from; @@ -11418,7 +11418,7 @@ function Ez(t, e) { for (let { pos: n, mount: i, frag: s } of t) { let a = n + (i.overlay ? i.overlay[0].from : 0), o = a + i.tree.length, l = Math.max(s.from, a), u = Math.min(s.to, o); if (i.overlay) { - let h = i.overlay.map((d) => new Jo(d.from + n, d.to + n)), f = e5e(e, h, l, u); + let h = i.overlay.map((d) => new Jo(d.from + n, d.to + n)), f = eke(e, h, l, u); for (let d = 0, p = l; ; d++) { let g = d == f.length, m = g ? u : f[d].from; if (m > p && r.push(new Ju(p, m, i.tree, -a, s.from >= p || s.openStart, s.to <= m || s.openEnd)), g) @@ -11430,10 +11430,10 @@ function Ez(t, e) { } return r; } -let t5e = 0; +let tke = 0; class Il { constructor(e, r, n) { - this.set = e, this.base = r, this.modified = n, this.id = t5e++; + this.set = e, this.base = r, this.modified = n, this.id = tke++; } static define(e) { if (e != null && e.base) @@ -11445,36 +11445,36 @@ class Il { return r; } static defineModifier() { - let e = new wk(); - return (r) => r.modified.indexOf(e) > -1 ? r : wk.get(r.base || r, r.modified.concat(e).sort((n, i) => n.id - i.id)); + let e = new w5(); + return (r) => r.modified.indexOf(e) > -1 ? r : w5.get(r.base || r, r.modified.concat(e).sort((n, i) => n.id - i.id)); } } -let r5e = 0; -class wk { +let rke = 0; +class w5 { constructor() { - this.instances = [], this.id = r5e++; + this.instances = [], this.id = rke++; } static get(e, r) { if (!r.length) return e; - let n = r[0].instances.find((o) => o.base == e && n5e(r, o.modified)); + let n = r[0].instances.find((o) => o.base == e && nke(r, o.modified)); if (n) return n; let i = [], s = new Il(i, e, r); for (let o of r) o.instances.push(s); - let a = i5e(r); + let a = ike(r); for (let o of e.set) if (!o.modified.length) for (let l of a) - i.push(wk.get(o, l)); + i.push(w5.get(o, l)); return s; } } -function n5e(t, e) { +function nke(t, e) { return t.length == e.length && t.every((r, n) => r == e[n]); } -function i5e(t) { +function ike(t) { let e = [[]]; for (let r = 0; r < t.length; r++) for (let n = 0, i = e.length; n < i; n++) @@ -11511,14 +11511,14 @@ function dd(t) { let l = s.length - 1, u = s[l]; if (!u) throw new RangeError("Invalid path: " + i); - let h = new Ok(n, a, l > 0 ? s.slice(0, l) : null); + let h = new O5(n, a, l > 0 ? s.slice(0, l) : null); e[u] = h.sort(e[u]); } } return tee.add(e); } const tee = new br(); -class Ok { +class O5 { constructor(e, r, n, i) { this.tags = e, this.mode = r, this.context = n, this.next = i; } @@ -11535,7 +11535,7 @@ class Ok { return this.context ? this.context.length : 0; } } -Ok.empty = new Ok([], 2, null); +O5.empty = new O5([], 2, null); function ree(t, e) { let r = /* @__PURE__ */ Object.create(null); for (let s of t) @@ -11561,7 +11561,7 @@ function ree(t, e) { scope: n }; } -function s5e(t, e) { +function ske(t, e) { let r = null; for (let n of t) { let i = n.style(e); @@ -11569,11 +11569,11 @@ function s5e(t, e) { } return r; } -function a5e(t, e, r, n = 0, i = t.length) { - let s = new o5e(n, Array.isArray(e) ? e : [e], r); +function ake(t, e, r, n = 0, i = t.length) { + let s = new oke(n, Array.isArray(e) ? e : [e], r); s.highlightRange(t.cursor(), n, i, "", s.highlighters), s.flush(i); } -class o5e { +class oke { constructor(e, r, n) { this.at = e, this.highlighters = r, this.span = n, this.class = ""; } @@ -11588,7 +11588,7 @@ class o5e { if (o >= n || l <= r) return; a.isTop && (s = this.highlighters.filter((p) => !p.scope || p.scope(a))); - let u = i, h = l5e(e) || Ok.empty, f = s5e(s, h.tags); + let u = i, h = lke(e) || O5.empty, f = ske(s, h.tags); if (f && (u && (u += " "), u += f, h.mode == 1 && (i += (i ? " " : "") + f)), this.startSpan(Math.max(r, o), u), h.opaque) return; let d = e.tree && e.tree.prop(br.mounted); @@ -11617,7 +11617,7 @@ class o5e { } } } -function l5e(t) { +function lke(t) { let e = t.type.prop(tee); for (; e && e.context && !t.matchContext(e.context); ) e = e.next; @@ -11841,7 +11841,7 @@ function Cn(t) { let e = t.field(el.state, !1); return e ? e.tree : nn.empty; } -class c5e { +class cke { constructor(e) { this.doc = e, this.cursorPos = 0, this.string = "", this.cursor = e.iter(); } @@ -11871,7 +11871,7 @@ class O2 { return new O2(e, r, [], nn.empty, 0, n, [], null); } startParse() { - return this.parser.startParse(new c5e(this.state.doc), this.fragments); + return this.parser.startParse(new cke(this.state.doc), this.fragments); } work(e, r) { return r != null && r >= this.state.doc.length && (r = void 0), this.tree != nn.empty && this.isDone(r != null ? r : this.state.doc.length) ? (this.takeTree(), !0) : this.withContext(() => { @@ -12012,7 +12012,7 @@ typeof requestIdleCallback < "u" && (nee = (t) => { }, 100); return () => e < 0 ? clearTimeout(r) : cancelIdleCallback(e); }); -const R_ = typeof navigator < "u" && ((L_ = navigator.scheduling) === null || L_ === void 0 ? void 0 : L_.isInputPending) ? () => navigator.scheduling.isInputPending() : null, u5e = /* @__PURE__ */ hn.fromClass(class { +const R_ = typeof navigator < "u" && ((L_ = navigator.scheduling) === null || L_ === void 0 ? void 0 : L_.isInputPending) ? () => navigator.scheduling.isInputPending() : null, uke = /* @__PURE__ */ hn.fromClass(class { constructor(e) { this.view = e, this.working = null, this.workScheduled = 0, this.chunkEnd = -1, this.chunkBudget = -1, this.work = this.work.bind(this), this.scheduleWork(); } @@ -12056,7 +12056,7 @@ const R_ = typeof navigator < "u" && ((L_ = navigator.scheduling) === null || L_ }, enables: (t) => [ el.state, - u5e, + uke, kt.contentAttributes.compute([t], (e) => { let r = e.facet(t); return r && r.name ? { "data-language": r.name } : {}; @@ -12068,7 +12068,7 @@ class gm { this.language = e, this.support = r, this.extension = [e, r]; } } -class kk { +class k5 { constructor(e, r, n, i, s, a = void 0) { this.name = e, this.alias = r, this.extensions = n, this.filename = i, this.loadFunc = s, this.support = a, this.loading = null; } @@ -12084,7 +12084,7 @@ class kk { throw new RangeError("Must pass either 'load' or 'support' to LanguageDescription.of"); r = () => Promise.resolve(n); } - return new kk(e.name, (e.alias || []).concat(e.name).map((i) => i.toLowerCase()), e.extensions || [], e.filename, r, n); + return new k5(e.name, (e.alias || []).concat(e.name).map((i) => i.toLowerCase()), e.extensions || [], e.filename, r, n); } static matchFilename(e, r) { for (let i of e) @@ -12113,7 +12113,7 @@ class kk { return null; } } -const h5e = /* @__PURE__ */ $t.define(), Fx = /* @__PURE__ */ $t.define({ +const hke = /* @__PURE__ */ $t.define(), Fx = /* @__PURE__ */ $t.define({ combine: (t) => { if (!t.length) return " "; @@ -12123,7 +12123,7 @@ const h5e = /* @__PURE__ */ $t.define(), Fx = /* @__PURE__ */ $t.define({ return e; } }); -function Sk(t) { +function S5(t) { let e = t.facet(Fx); return e.charCodeAt(0) == 9 ? t.tabSize * e.length : e.length; } @@ -12140,17 +12140,17 @@ function k2(t, e) { } function cD(t, e) { t instanceof Tr && (t = new FT(t)); - for (let n of t.state.facet(h5e)) { + for (let n of t.state.facet(hke)) { let i = n(t, e); if (i !== void 0) return i; } let r = Cn(t.state); - return r.length >= e ? f5e(t, r, e) : null; + return r.length >= e ? fke(t, r, e) : null; } class FT { constructor(e, r = {}) { - this.state = e, this.options = r, this.unit = Sk(e); + this.state = e, this.options = r, this.unit = S5(e); } lineAt(e, r = 1) { let n = this.state.doc.lineAt(e), { simulateBreak: i, simulateDoubleBreak: s } = this.options; @@ -12183,7 +12183,7 @@ class FT { } } const x1 = /* @__PURE__ */ new br(); -function f5e(t, e, r) { +function fke(t, e, r) { let n = e.resolveStack(r), i = n.node.enterUnfinishedNodesBefore(r); if (i != n.node) { let s = []; @@ -12196,27 +12196,27 @@ function f5e(t, e, r) { } function iee(t, e, r) { for (let n = t; n; n = n.next) { - let i = p5e(n.node); + let i = pke(n.node); if (i) return i(uD.create(e, r, n)); } return 0; } -function d5e(t) { +function dke(t) { return t.pos == t.options.simulateBreak && t.options.simulateDoubleBreak; } -function p5e(t) { +function pke(t) { let e = t.type.prop(x1); if (e) return e; let r = t.firstChild, n; if (r && (n = r.type.prop(br.closedBy))) { let i = t.lastChild, s = i && n.indexOf(i.name) > -1; - return (a) => see(a, !0, 1, void 0, s && !d5e(a) ? i.from : void 0); + return (a) => see(a, !0, 1, void 0, s && !dke(a) ? i.from : void 0); } - return t.parent == null ? g5e : null; + return t.parent == null ? gke : null; } -function g5e() { +function gke() { return 0; } class uD extends FT { @@ -12241,7 +12241,7 @@ class uD extends FT { let n = e.resolve(r.from); for (; n.parent && n.parent.from == n.from; ) n = n.parent; - if (m5e(n, e)) + if (mke(n, e)) break; r = this.state.doc.lineAt(n.from); } @@ -12251,13 +12251,13 @@ class uD extends FT { return iee(this.context.next, this.base, this.pos); } } -function m5e(t, e) { +function mke(t, e) { for (let r = e; r; r = r.parent) if (t == r) return !0; return !1; } -function v5e(t) { +function vke(t) { let e = t.node, r = e.childAfter(e.from), n = e.lastChild; if (!r) return null; @@ -12275,18 +12275,18 @@ function C8({ closing: t, align: e = !0, units: r = 1 }) { return (n) => see(n, e, r, t); } function see(t, e, r, n, i) { - let s = t.textAfter, a = s.match(/^\s*/)[0].length, o = n && s.slice(a, a + n.length) == n || i == t.pos + a, l = e ? v5e(t) : null; + let s = t.textAfter, a = s.match(/^\s*/)[0].length, o = n && s.slice(a, a + n.length) == n || i == t.pos + a, l = e ? vke(t) : null; return l ? o ? t.column(l.from) : t.column(l.to) : t.baseIndent + (o ? 0 : t.unit * r); } -const y5e = (t) => t.baseIndent; -function l5({ except: t, units: e = 1 } = {}) { +const yke = (t) => t.baseIndent; +function lk({ except: t, units: e = 1 } = {}) { return (r) => { let n = t && t.test(r.textAfter); return r.baseIndent + (n ? 0 : e * r.unit); }; } -const b5e = 200; -function x5e() { +const bke = 200; +function xke() { return Tr.transactionFilter.of((t) => { if (!t.docChanged || !t.isUserEvent("input.type") && !t.isUserEvent("input.complete")) return t; @@ -12294,7 +12294,7 @@ function x5e() { if (!e.length) return t; let r = t.newDoc, { head: n } = t.newSelection.main, i = r.lineAt(n); - if (n > i.from + b5e) + if (n > i.from + bke) return t; let s = r.sliceString(i.from, n); if (!e.some((u) => u.test(s))) @@ -12319,7 +12319,7 @@ function hD(t) { let e = t.firstChild, r = t.lastChild; return e && e.to < r.from ? { from: e.to, to: r.type.isError ? t.to : r.from } : null; } -function w5e(t, e, r) { +function wke(t, e, r) { let n = Cn(t); if (n.length < r) return null; @@ -12331,14 +12331,14 @@ function w5e(t, e, r) { if (s && o.from < e) break; let l = o.type.prop(vp); - if (l && (o.to < n.length - 50 || n.length == t.doc.length || !O5e(o))) { + if (l && (o.to < n.length - 50 || n.length == t.doc.length || !Oke(o))) { let u = l(o, t); u && u.from <= r && u.from >= e && u.to > r && (s = u); } } return s; } -function O5e(t) { +function Oke(t) { let e = t.lastChild; return e && e.to == t.to && e.type.isError; } @@ -12348,7 +12348,7 @@ function S2(t, e, r) { if (i) return i; } - return w5e(t, e, r); + return wke(t, e, r); } function oee(t, e) { let r = e.mapPos(t.from, 1), n = e.mapPos(t.to, -1); @@ -12368,8 +12368,8 @@ const zf = /* @__PURE__ */ Xn.define({ update(t, e) { t = t.map(e.changes); for (let r of e.effects) - if (r.is(hh) && !S5e(t, r.value.from, r.value.to)) { - let { preparePlaceholder: n } = e.state.facet(fD), i = n ? It.replace({ widget: new R5e(n(e.state, r.value)) }) : Mz; + if (r.is(hh) && !Ske(t, r.value.from, r.value.to)) { + let { preparePlaceholder: n } = e.state.facet(fD), i = n ? It.replace({ widget: new Rke(n(e.state, r.value)) }) : Mz; t = t.update({ add: [i.range(r.value.from, r.value.to)] }); } else r.is(yp) && (t = t.update({ @@ -12409,17 +12409,17 @@ const zf = /* @__PURE__ */ Xn.define({ return It.set(e, !0); } }); -function k5e(t) { +function kke(t) { return t.field(zf, !1) || $r.empty; } -function Tk(t, e, r) { +function T5(t, e, r) { var n; let i = null; return (n = t.field(zf, !1)) === null || n === void 0 || n.between(e, r, (s, a) => { (!i || i.from > s) && (i = { from: s, to: a }); }), i; } -function S5e(t, e, r) { +function Ske(t, e, r) { let n = !1; return t.between(e, e, (i, s) => { i == e && s == r && (n = !0); @@ -12428,19 +12428,19 @@ function S5e(t, e, r) { function cee(t, e) { return t.field(zf, !1) ? e : e.concat(or.appendConfig.of(hee())); } -const T5e = (t) => { +const Tke = (t) => { for (let e of lee(t)) { let r = S2(t.state, e.from, e.to); if (r) return t.dispatch({ effects: cee(t.state, [hh.of(r), uee(t, r)]) }), !0; } return !1; -}, C5e = (t) => { +}, Cke = (t) => { if (!t.state.field(zf, !1)) return !1; let e = []; for (let r of lee(t)) { - let n = Tk(t.state, r.from, r.to); + let n = T5(t.state, r.from, r.to); n && e.push(yp.of(n), uee(t, n, !1)); } return e.length && t.dispatch({ effects: e }), e.length > 0; @@ -12449,14 +12449,14 @@ function uee(t, e, r = !0) { let n = t.state.doc.lineAt(e.from).number, i = t.state.doc.lineAt(e.to).number; return kt.announce.of(`${t.state.phrase(r ? "Folded lines" : "Unfolded lines")} ${n} ${t.state.phrase("to")} ${i}.`); } -const E5e = (t) => { +const Eke = (t) => { let { state: e } = t, r = []; for (let n = 0; n < e.doc.length; ) { let i = t.lineBlockAt(n), s = S2(e, i.from, i.to); s && r.push(hh.of(s)), n = (s ? t.lineBlockAt(s.to) : i).to + 1; } return r.length && t.dispatch({ effects: cee(t.state, r) }), !!r.length; -}, _5e = (t) => { +}, _ke = (t) => { let e = t.state.field(zf, !1); if (!e || !e.size) return !1; @@ -12464,27 +12464,27 @@ const E5e = (t) => { return e.between(0, t.state.doc.length, (n, i) => { r.push(yp.of({ from: n, to: i })); }), t.dispatch({ effects: r }), !0; -}, A5e = [ - { key: "Ctrl-Shift-[", mac: "Cmd-Alt-[", run: T5e }, - { key: "Ctrl-Shift-]", mac: "Cmd-Alt-]", run: C5e }, - { key: "Ctrl-Alt-[", run: E5e }, - { key: "Ctrl-Alt-]", run: _5e } -], L5e = { +}, Ake = [ + { key: "Ctrl-Shift-[", mac: "Cmd-Alt-[", run: Tke }, + { key: "Ctrl-Shift-]", mac: "Cmd-Alt-]", run: Cke }, + { key: "Ctrl-Alt-[", run: Eke }, + { key: "Ctrl-Alt-]", run: _ke } +], Lke = { placeholderDOM: null, preparePlaceholder: null, placeholderText: "\u2026" }, fD = /* @__PURE__ */ $t.define({ combine(t) { - return mu(t, L5e); + return mu(t, Lke); } }); function hee(t) { - let e = [zf, P5e]; + let e = [zf, Pke]; return t && e.push(fD.of(t)), e; } function fee(t, e) { let { state: r } = t, n = r.facet(fD), i = (a) => { - let o = t.lineBlockAt(t.posAtDOM(a.target)), l = Tk(t.state, o.from, o.to); + let o = t.lineBlockAt(t.posAtDOM(a.target)), l = T5(t.state, o.from, o.to); l && t.dispatch({ effects: yp.of(l) }), a.preventDefault(); }; if (n.placeholderDOM) @@ -12497,7 +12497,7 @@ const Mz = /* @__PURE__ */ It.replace({ widget: /* @__PURE__ */ new class extend return fee(t, null); } }() }); -class R5e extends uo { +class Rke extends uo { constructor(e) { super(), this.value = e; } @@ -12508,7 +12508,7 @@ class R5e extends uo { return fee(e, this.value); } } -const M5e = { +const Mke = { openText: "\u2304", closedText: "\u203A", markerDOM: null, @@ -12529,8 +12529,8 @@ class M_ extends ul { return r.textContent = this.open ? this.config.openText : this.config.closedText, r.title = e.state.phrase(this.open ? "Fold line" : "Unfold line"), r; } } -function D5e(t = {}) { - let e = Object.assign(Object.assign({}, M5e), t), r = new M_(e, !0), n = new M_(e, !1), i = hn.fromClass(class { +function Dke(t = {}) { + let e = Object.assign(Object.assign({}, Mke), t), r = new M_(e, !0), n = new M_(e, !1), i = hn.fromClass(class { constructor(a) { this.from = a.viewport.from, this.markers = this.buildMarkers(a); } @@ -12540,7 +12540,7 @@ function D5e(t = {}) { buildMarkers(a) { let o = new cs(); for (let l of a.viewportLineBlocks) { - let u = Tk(a.state, l.from, l.to) ? n : S2(a.state, l.from, l.to) ? r : null; + let u = T5(a.state, l.from, l.to) ? n : S2(a.state, l.from, l.to) ? r : null; u && o.add(l.from, l.from, u); } return o.finish(); @@ -12560,7 +12560,7 @@ function D5e(t = {}) { domEventHandlers: Object.assign(Object.assign({}, s), { click: (a, o, l) => { if (s.click && s.click(a, o, l)) return !0; - let u = Tk(a.state, o.from, o.to); + let u = T5(a.state, o.from, o.to); if (u) return a.dispatch({ effects: yp.of(u) }), !0; let h = S2(a.state, o.from, o.to); @@ -12570,7 +12570,7 @@ function D5e(t = {}) { hee() ]; } -const P5e = /* @__PURE__ */ kt.baseTheme({ +const Pke = /* @__PURE__ */ kt.baseTheme({ ".cm-foldPlaceholder": { backgroundColor: "#eee", border: "1px solid #ddd", @@ -12615,10 +12615,10 @@ function D_(t) { return e.length ? e : t.facet(dee); } function pee(t, e) { - let r = [I5e], n; + let r = [Ike], n; return t instanceof zT && (t.module && r.push(kt.styleModule.of(t.module)), n = t.themeType), e != null && e.fallback ? r.push(dee.of(t)) : n ? r.push(E8.computeN([kt.darkTheme], (i) => i.facet(kt.darkTheme) == (n == "dark") ? [t] : [])) : r.push(E8.of(t)), r; } -class N5e { +class Nke { constructor(e) { this.markCache = /* @__PURE__ */ Object.create(null), this.tree = Cn(e.state), this.decorations = this.buildDeco(e, D_(e.state)); } @@ -12631,13 +12631,13 @@ class N5e { return It.none; let n = new cs(); for (let { from: i, to: s } of e.visibleRanges) - a5e(this.tree, r, (a, o, l) => { + ake(this.tree, r, (a, o, l) => { n.add(a, o, this.markCache[l] || (this.markCache[l] = It.mark({ class: l }))); }, i, s); return n.finish(); } } -const I5e = /* @__PURE__ */ uc.high(/* @__PURE__ */ hn.fromClass(N5e, { +const Ike = /* @__PURE__ */ uc.high(/* @__PURE__ */ hn.fromClass(Nke, { decorations: (t) => t.decorations })), gee = /* @__PURE__ */ zT.define([ { @@ -12717,7 +12717,7 @@ const I5e = /* @__PURE__ */ uc.high(/* @__PURE__ */ hn.fromClass(N5e, { tag: Se.invalid, color: "#f00" } -]), $5e = /* @__PURE__ */ kt.baseTheme({ +]), $ke = /* @__PURE__ */ kt.baseTheme({ "&.cm-focused .cm-matchingBracket": { backgroundColor: "#328c8252" }, "&.cm-focused .cm-nonmatchingBracket": { backgroundColor: "#bb555544" } }), mee = 1e4, vee = "()[]{}", yee = /* @__PURE__ */ $t.define({ @@ -12726,15 +12726,15 @@ const I5e = /* @__PURE__ */ uc.high(/* @__PURE__ */ hn.fromClass(N5e, { afterCursor: !0, brackets: vee, maxScanDistance: mee, - renderMatch: z5e + renderMatch: zke }); } -}), B5e = /* @__PURE__ */ It.mark({ class: "cm-matchingBracket" }), F5e = /* @__PURE__ */ It.mark({ class: "cm-nonmatchingBracket" }); -function z5e(t) { - let e = [], r = t.matched ? B5e : F5e; +}), Bke = /* @__PURE__ */ It.mark({ class: "cm-matchingBracket" }), Fke = /* @__PURE__ */ It.mark({ class: "cm-nonmatchingBracket" }); +function zke(t) { + let e = [], r = t.matched ? Bke : Fke; return e.push(r.range(t.start.from, t.start.to)), t.end && e.push(r.range(t.end.from, t.end.to)), e; } -const Q5e = /* @__PURE__ */ Xn.define({ +const Qke = /* @__PURE__ */ Xn.define({ create() { return It.none; }, @@ -12751,12 +12751,12 @@ const Q5e = /* @__PURE__ */ Xn.define({ return It.set(r, !0); }, provide: (t) => kt.decorations.from(t) -}), U5e = [ - Q5e, - $5e +}), Uke = [ + Qke, + $ke ]; -function V5e(t = {}) { - return [yee.of(t), U5e]; +function Vke(t = {}) { + return [yee.of(t), Uke]; } const bee = /* @__PURE__ */ new br(); function _8(t, e, r) { @@ -12781,12 +12781,12 @@ function zc(t, e, r, n = {}) { if (u && l.from < l.to) { let h = A8(l); if (h && (r > 0 ? e >= h.from && e < h.to : e > h.from && e <= h.to)) - return q5e(t, e, r, l, h, u, s); + return qke(t, e, r, l, h, u, s); } } - return Y5e(t, e, r, a, o.type, i, s); + return Yke(t, e, r, a, o.type, i, s); } -function q5e(t, e, r, n, i, s, a) { +function qke(t, e, r, n, i, s, a) { let o = n.parent, l = { from: i.from, to: i.to }, u = 0, h = o == null ? void 0 : o.cursor(); if (h && (r < 0 ? h.childBefore(n.from) : h.childAfter(n.to))) do @@ -12811,7 +12811,7 @@ function q5e(t, e, r, n, i, s, a) { while (r < 0 ? h.prevSibling() : h.nextSibling()); return { start: l, matched: !1 }; } -function Y5e(t, e, r, n, i, s, a) { +function Yke(t, e, r, n, i, s, a) { let o = r < 0 ? t.sliceDoc(e - 1, e) : t.sliceDoc(e, e + 1), l = a.indexOf(o); if (l < 0 || l % 2 == 0 != r > 0) return null; @@ -12835,7 +12835,7 @@ function Y5e(t, e, r, n, i, s, a) { } return h.done ? { start: u, matched: !1 } : null; } -const W5e = /* @__PURE__ */ Object.create(null), Dz = [Wi.none], Pz = [], Nz = /* @__PURE__ */ Object.create(null), G5e = /* @__PURE__ */ Object.create(null); +const Wke = /* @__PURE__ */ Object.create(null), Dz = [Wi.none], Pz = [], Nz = /* @__PURE__ */ Object.create(null), Gke = /* @__PURE__ */ Object.create(null); for (let [t, e] of [ ["variable", "variableName"], ["variable-2", "variableName.special"], @@ -12850,11 +12850,11 @@ for (let [t, e] of [ ["header", "heading"], ["property", "propertyName"] ]) - G5e[t] = /* @__PURE__ */ X5e(W5e, e); + Gke[t] = /* @__PURE__ */ Xke(Wke, e); function P_(t, e) { Pz.indexOf(t) > -1 || (Pz.push(t), console.warn(e)); } -function X5e(t, e) { +function Xke(t, e) { let r = []; for (let o of e.split(" ")) { let l = []; @@ -12877,9 +12877,9 @@ function X5e(t, e) { }); return Dz.push(a), a.id; } -const H5e = (t) => { +const Hke = (t) => { let { state: e } = t, r = e.doc.lineAt(e.selection.main.from), n = pD(t.state, r.from); - return n.line ? Z5e(t) : n.block ? K5e(t) : !1; + return n.line ? Zke(t) : n.block ? Kke(t) : !1; }; function dD(t, e) { return ({ state: r, dispatch: n }) => { @@ -12889,13 +12889,13 @@ function dD(t, e) { return i ? (n(r.update(i)), !0) : !1; }; } -const Z5e = /* @__PURE__ */ dD(tke, 0), j5e = /* @__PURE__ */ dD(xee, 0), K5e = /* @__PURE__ */ dD((t, e) => xee(t, e, eke(e)), 0); +const Zke = /* @__PURE__ */ dD(t5e, 0), jke = /* @__PURE__ */ dD(xee, 0), Kke = /* @__PURE__ */ dD((t, e) => xee(t, e, e5e(e)), 0); function pD(t, e) { let r = t.languageDataAt("commentTokens", e); return r.length ? r[0] : {}; } const xv = 50; -function J5e(t, { open: e, close: r }, n, i) { +function Jke(t, { open: e, close: r }, n, i) { let s = t.sliceDoc(n - xv, n), a = t.sliceDoc(i, i + xv), o = /\s*$/.exec(s)[0].length, l = /^\s*/.exec(a)[0].length, u = s.length - o; if (s.slice(u - e.length, u) == e && a.slice(l, l + r.length) == r) return { @@ -12916,7 +12916,7 @@ function J5e(t, { open: e, close: r }, n, i) { } } : null; } -function eke(t) { +function e5e(t) { let e = []; for (let r of t.selection.ranges) { let n = t.doc.lineAt(r.from), i = r.to <= n.to ? n : t.doc.lineAt(r.to), s = e.length - 1; @@ -12928,7 +12928,7 @@ function xee(t, e, r = e.selection.ranges) { let n = r.map((s) => pD(e, s.from).block); if (!n.every((s) => s)) return null; - let i = r.map((s, a) => J5e(e, n[a], s.from, s.to)); + let i = r.map((s, a) => Jke(e, n[a], s.from, s.to)); if (t != 2 && !i.every((s) => s)) return { changes: e.changes(r.map((s, a) => i[a] ? [] : [{ from: s.from, insert: n[a].open + " " }, { from: s.to, insert: " " + n[a].close }])) }; if (t != 1 && i.some((s) => s)) { @@ -12942,7 +12942,7 @@ function xee(t, e, r = e.selection.ranges) { } return null; } -function tke(t, e, r = e.selection.ranges) { +function t5e(t, e, r = e.selection.ranges) { let n = [], i = -1; for (let { from: s, to: a } of r) { let o = n.length, l = 1e9, u = pD(e, s).line; @@ -12979,7 +12979,7 @@ function tke(t, e, r = e.selection.ranges) { } return null; } -const L8 = /* @__PURE__ */ co.define(), rke = /* @__PURE__ */ co.define(), nke = /* @__PURE__ */ $t.define(), wee = /* @__PURE__ */ $t.define({ +const L8 = /* @__PURE__ */ co.define(), r5e = /* @__PURE__ */ co.define(), n5e = /* @__PURE__ */ $t.define(), wee = /* @__PURE__ */ $t.define({ combine(t) { return mu(t, { minDepth: 100, @@ -12999,9 +12999,9 @@ const L8 = /* @__PURE__ */ co.define(), rke = /* @__PURE__ */ co.define(), nke = let r = e.state.facet(wee), n = e.annotation(L8); if (n) { let l = to.fromTransaction(e, n.selection), u = n.side, h = u == 0 ? t.undone : t.done; - return l ? h = Ek(h, h.length, r.minDepth, l) : h = Tee(h, e.startState.selection), new Qc(u == 0 ? n.rest : h, u == 0 ? h : n.rest); + return l ? h = E5(h, h.length, r.minDepth, l) : h = Tee(h, e.startState.selection), new Qc(u == 0 ? n.rest : h, u == 0 ? h : n.rest); } - let i = e.annotation(rke); + let i = e.annotation(r5e); if ((i == "full" || i == "before") && (t = t.isolate()), e.annotation(Ei.addToHistory) === !1) return e.changes.empty ? t : t.addMapping(e.changes.desc); let s = to.fromTransaction(e), a = e.annotation(Ei.time), o = e.annotation(Ei.userEvent); @@ -13020,7 +13020,7 @@ function gD(t = {}) { wee.of(t), kt.domEventHandlers({ beforeinput(e, r) { - let n = e.inputType == "historyUndo" ? kee : e.inputType == "historyRedo" ? Ck : null; + let n = e.inputType == "historyUndo" ? kee : e.inputType == "historyRedo" ? C5 : null; return n ? (e.preventDefault(), n(r)) : !1; } }) @@ -13037,7 +13037,7 @@ function QT(t, e) { return s ? (n(s), !0) : !1; }; } -const kee = /* @__PURE__ */ QT(0, !1), Ck = /* @__PURE__ */ QT(1, !1), ike = /* @__PURE__ */ QT(0, !0), ske = /* @__PURE__ */ QT(1, !0); +const kee = /* @__PURE__ */ QT(0, !1), C5 = /* @__PURE__ */ QT(1, !1), i5e = /* @__PURE__ */ QT(0, !0), s5e = /* @__PURE__ */ QT(1, !0); class to { constructor(e, r, n, i, s) { this.changes = e, this.effects = r, this.mapped = n, this.startSelection = i, this.selectionsAfter = s; @@ -13059,7 +13059,7 @@ class to { } static fromTransaction(e, r) { let n = tl; - for (let i of e.startState.facet(nke)) { + for (let i of e.startState.facet(n5e)) { let s = i(e); s.length && (n = n.concat(s)); } @@ -13069,11 +13069,11 @@ class to { return new to(void 0, tl, void 0, void 0, e); } } -function Ek(t, e, r, n) { +function E5(t, e, r, n) { let i = e + 1 > r + 20 ? e - r - 1 : 0, s = t.slice(i, e); return s.push(n), s; } -function ake(t, e) { +function a5e(t, e) { let r = [], n = !1; return t.iterChangedRanges((i, s) => r.push(i, s)), e.iterChangedRanges((i, s, a, o) => { for (let l = 0; l < r.length; ) { @@ -13082,21 +13082,21 @@ function ake(t, e) { } }), n; } -function oke(t, e) { +function o5e(t, e) { return t.ranges.length == e.ranges.length && t.ranges.filter((r, n) => r.empty != e.ranges[n].empty).length === 0; } function See(t, e) { return t.length ? e.length ? t.concat(e) : t : e; } -const tl = [], lke = 200; +const tl = [], l5e = 200; function Tee(t, e) { if (t.length) { - let r = t[t.length - 1], n = r.selectionsAfter.slice(Math.max(0, r.selectionsAfter.length - lke)); - return n.length && n[n.length - 1].eq(e) ? t : (n.push(e), Ek(t, t.length - 1, 1e9, r.setSelAfter(n))); + let r = t[t.length - 1], n = r.selectionsAfter.slice(Math.max(0, r.selectionsAfter.length - l5e)); + return n.length && n[n.length - 1].eq(e) ? t : (n.push(e), E5(t, t.length - 1, 1e9, r.setSelAfter(n))); } else return [to.selection([e])]; } -function cke(t) { +function c5e(t) { let e = t[t.length - 1], r = t.slice(); return r[t.length - 1] = e.setSelAfter(e.selectionsAfter.slice(0, e.selectionsAfter.length - 1)), r; } @@ -13105,7 +13105,7 @@ function N_(t, e) { return t; let r = t.length, n = tl; for (; r; ) { - let i = uke(t[r - 1], e, n); + let i = u5e(t[r - 1], e, n); if (i.changes && !i.changes.empty || i.effects.length) { let s = t.slice(0, r); return s[r - 1] = i, s; @@ -13114,14 +13114,14 @@ function N_(t, e) { } return n.length ? [to.selection(n)] : tl; } -function uke(t, e, r) { +function u5e(t, e, r) { let n = See(t.selectionsAfter.length ? t.selectionsAfter.map((o) => o.map(e)) : tl, r); if (!t.changes) return to.selection(n); let i = t.changes.map(e), s = e.mapDesc(t.changes, !0), a = t.mapped ? t.mapped.composeDesc(s) : s; return new to(i, or.mapEffects(t.effects, e), a, t.startSelection.map(s), n); } -const hke = /^(input\.type|delete)($|\.)/; +const h5e = /^(input\.type|delete)($|\.)/; class Qc { constructor(e, r, n = 0, i = void 0) { this.done = e, this.undone = r, this.prevTime = n, this.prevUserEvent = i; @@ -13131,11 +13131,11 @@ class Qc { } addChanges(e, r, n, i, s) { let a = this.done, o = a[a.length - 1]; - return o && o.changes && !o.changes.empty && e.changes && (!n || hke.test(n)) && (!o.selectionsAfter.length && r - this.prevTime < i.newGroupDelay && i.joinToEvent(s, ake(o.changes, e.changes)) || n == "input.type.compose") ? a = Ek(a, a.length - 1, i.minDepth, new to(e.changes.compose(o.changes), See(e.effects, o.effects), o.mapped, o.startSelection, tl)) : a = Ek(a, a.length, i.minDepth, e), new Qc(a, tl, r, n); + return o && o.changes && !o.changes.empty && e.changes && (!n || h5e.test(n)) && (!o.selectionsAfter.length && r - this.prevTime < i.newGroupDelay && i.joinToEvent(s, a5e(o.changes, e.changes)) || n == "input.type.compose") ? a = E5(a, a.length - 1, i.minDepth, new to(e.changes.compose(o.changes), See(e.effects, o.effects), o.mapped, o.startSelection, tl)) : a = E5(a, a.length, i.minDepth, e), new Qc(a, tl, r, n); } addSelection(e, r, n, i) { let s = this.done.length ? this.done[this.done.length - 1].selectionsAfter : tl; - return s.length > 0 && r - this.prevTime < i && n == this.prevUserEvent && n && /^select($|\.)/.test(n) && oke(s[s.length - 1], e) ? this : new Qc(Tee(this.done, e), this.undone, r, n); + return s.length > 0 && r - this.prevTime < i && n == this.prevUserEvent && n && /^select($|\.)/.test(n) && o5e(s[s.length - 1], e) ? this : new Qc(Tee(this.done, e), this.undone, r, n); } addMapping(e) { return new Qc(N_(this.done, e), N_(this.undone, e), this.prevTime, this.prevUserEvent); @@ -13148,7 +13148,7 @@ class Qc { if (n && s.selectionsAfter.length) return r.update({ selection: s.selectionsAfter[s.selectionsAfter.length - 1], - annotations: L8.of({ side: e, rest: cke(i), selection: a }), + annotations: L8.of({ side: e, rest: c5e(i), selection: a }), userEvent: e == 0 ? "select.undo" : "select.redo", scrollIntoView: !0 }); @@ -13170,10 +13170,10 @@ class Qc { Qc.empty = /* @__PURE__ */ new Qc(tl, tl); const Cee = [ { key: "Mod-z", run: kee, preventDefault: !0 }, - { key: "Mod-y", mac: "Mod-Shift-z", run: Ck, preventDefault: !0 }, - { linux: "Ctrl-Shift-z", run: Ck, preventDefault: !0 }, - { key: "Mod-u", run: ike, preventDefault: !0 }, - { key: "Alt-u", mac: "Mod-Shift-u", run: ske, preventDefault: !0 } + { key: "Mod-y", mac: "Mod-Shift-z", run: C5, preventDefault: !0 }, + { linux: "Ctrl-Shift-z", run: C5, preventDefault: !0 }, + { key: "Mod-u", run: i5e, preventDefault: !0 }, + { key: "Alt-u", mac: "Mod-Shift-u", run: s5e, preventDefault: !0 } ]; function w1(t, e) { return je.create(t.ranges.map(e), t.mainIndex); @@ -13198,8 +13198,8 @@ const _ee = (t) => Eee(t, !aa(t)), Aee = (t) => Eee(t, aa(t)); function Lee(t, e) { return hc(t, (r) => r.empty ? t.moveByGroup(r, e) : UT(r, e)); } -const fke = (t) => Lee(t, !aa(t)), dke = (t) => Lee(t, aa(t)); -function pke(t, e, r) { +const f5e = (t) => Lee(t, !aa(t)), d5e = (t) => Lee(t, aa(t)); +function p5e(t, e, r) { if (e.type.prop(r)) return !0; let n = e.to - e.from; @@ -13211,12 +13211,12 @@ function VT(t, e, r) { let u = r ? n.childAfter(l) : n.childBefore(l); if (!u) break; - pke(t, u, i) ? n = u : l = r ? u.to : u.from; + p5e(t, u, i) ? n = u : l = r ? u.to : u.from; } let s = n.type.prop(i), a, o; return s && (a = r ? zc(t, n.from, 1) : zc(t, n.to, -1)) && a.matched ? o = r ? a.end.to : a.end.from : o = r ? n.to : n.from, je.cursor(o, r ? -1 : 1); } -const gke = (t) => hc(t, (e) => VT(t.state, e, !aa(t))), mke = (t) => hc(t, (e) => VT(t.state, e, aa(t))); +const g5e = (t) => hc(t, (e) => VT(t.state, e, !aa(t))), m5e = (t) => hc(t, (e) => VT(t.state, e, aa(t))); function Ree(t, e) { return hc(t, (r) => { if (!r.empty) @@ -13263,8 +13263,8 @@ function pd(t, e, r) { } return i; } -const vke = (t) => hc(t, (e) => pd(t, e, !0)), yke = (t) => hc(t, (e) => pd(t, e, !1)), bke = (t) => hc(t, (e) => pd(t, e, !aa(t))), xke = (t) => hc(t, (e) => pd(t, e, aa(t))), wke = (t) => hc(t, (e) => je.cursor(t.lineBlockAt(e.head).from, 1)), Oke = (t) => hc(t, (e) => je.cursor(t.lineBlockAt(e.head).to, -1)); -function kke(t, e, r) { +const v5e = (t) => hc(t, (e) => pd(t, e, !0)), y5e = (t) => hc(t, (e) => pd(t, e, !1)), b5e = (t) => hc(t, (e) => pd(t, e, !aa(t))), x5e = (t) => hc(t, (e) => pd(t, e, aa(t))), w5e = (t) => hc(t, (e) => je.cursor(t.lineBlockAt(e.head).from, 1)), O5e = (t) => hc(t, (e) => je.cursor(t.lineBlockAt(e.head).to, -1)); +function k5e(t, e, r) { let n = !1, i = w1(t.selection, (s) => { let a = zc(t, s.head, -1) || zc(t, s.head, 1) || s.head > 0 && zc(t, s.head - 1, 1) || s.head < t.doc.length && zc(t, s.head + 1, -1); if (!a || !a.end) @@ -13275,7 +13275,7 @@ function kke(t, e, r) { }); return n ? (e(vu(t, i)), !0) : !1; } -const Ske = ({ state: t, dispatch: e }) => kke(t, e, !1); +const S5e = ({ state: t, dispatch: e }) => k5e(t, e, !1); function kl(t, e) { let r = w1(t.state.selection, (n) => { let i = e(n); @@ -13290,7 +13290,7 @@ const $ee = (t) => Iee(t, !aa(t)), Bee = (t) => Iee(t, aa(t)); function Fee(t, e) { return kl(t, (r) => t.moveByGroup(r, e)); } -const Tke = (t) => Fee(t, !aa(t)), Cke = (t) => Fee(t, aa(t)), Eke = (t) => kl(t, (e) => VT(t.state, e, !aa(t))), _ke = (t) => kl(t, (e) => VT(t.state, e, aa(t))); +const T5e = (t) => Fee(t, !aa(t)), C5e = (t) => Fee(t, aa(t)), E5e = (t) => kl(t, (e) => VT(t.state, e, !aa(t))), _5e = (t) => kl(t, (e) => VT(t.state, e, aa(t))); function zee(t, e) { return kl(t, (r) => t.moveVertically(r, e)); } @@ -13298,10 +13298,10 @@ const Qee = (t) => zee(t, !1), Uee = (t) => zee(t, !0); function Vee(t, e) { return kl(t, (r) => t.moveVertically(r, e, Pee(t).height)); } -const $z = (t) => Vee(t, !1), Bz = (t) => Vee(t, !0), Ake = (t) => kl(t, (e) => pd(t, e, !0)), Lke = (t) => kl(t, (e) => pd(t, e, !1)), Rke = (t) => kl(t, (e) => pd(t, e, !aa(t))), Mke = (t) => kl(t, (e) => pd(t, e, aa(t))), Dke = (t) => kl(t, (e) => je.cursor(t.lineBlockAt(e.head).from)), Pke = (t) => kl(t, (e) => je.cursor(t.lineBlockAt(e.head).to)), Fz = ({ state: t, dispatch: e }) => (e(vu(t, { anchor: 0 })), !0), zz = ({ state: t, dispatch: e }) => (e(vu(t, { anchor: t.doc.length })), !0), Qz = ({ state: t, dispatch: e }) => (e(vu(t, { anchor: t.selection.main.anchor, head: 0 })), !0), Uz = ({ state: t, dispatch: e }) => (e(vu(t, { anchor: t.selection.main.anchor, head: t.doc.length })), !0), Nke = ({ state: t, dispatch: e }) => (e(t.update({ selection: { anchor: 0, head: t.doc.length }, userEvent: "select" })), !0), Ike = ({ state: t, dispatch: e }) => { +const $z = (t) => Vee(t, !1), Bz = (t) => Vee(t, !0), A5e = (t) => kl(t, (e) => pd(t, e, !0)), L5e = (t) => kl(t, (e) => pd(t, e, !1)), R5e = (t) => kl(t, (e) => pd(t, e, !aa(t))), M5e = (t) => kl(t, (e) => pd(t, e, aa(t))), D5e = (t) => kl(t, (e) => je.cursor(t.lineBlockAt(e.head).from)), P5e = (t) => kl(t, (e) => je.cursor(t.lineBlockAt(e.head).to)), Fz = ({ state: t, dispatch: e }) => (e(vu(t, { anchor: 0 })), !0), zz = ({ state: t, dispatch: e }) => (e(vu(t, { anchor: t.doc.length })), !0), Qz = ({ state: t, dispatch: e }) => (e(vu(t, { anchor: t.selection.main.anchor, head: 0 })), !0), Uz = ({ state: t, dispatch: e }) => (e(vu(t, { anchor: t.selection.main.anchor, head: t.doc.length })), !0), N5e = ({ state: t, dispatch: e }) => (e(t.update({ selection: { anchor: 0, head: t.doc.length }, userEvent: "select" })), !0), I5e = ({ state: t, dispatch: e }) => { let r = qT(t).map(({ from: n, to: i }) => je.range(n, Math.min(i + 1, t.doc.length))); return e(t.update({ selection: je.create(r), userEvent: "select" })), !0; -}, $ke = ({ state: t, dispatch: e }) => { +}, $5e = ({ state: t, dispatch: e }) => { let r = w1(t.selection, (n) => { var i; let s = Cn(t).resolveStack(n.from, 1); @@ -13313,7 +13313,7 @@ const $z = (t) => Vee(t, !1), Bz = (t) => Vee(t, !0), Ake = (t) => kl(t, (e) => return n; }); return e(vu(t, r)), !0; -}, Bke = ({ state: t, dispatch: e }) => { +}, B5e = ({ state: t, dispatch: e }) => { let r = t.selection, n = null; return r.ranges.length > 1 ? n = je.create([r.main]) : r.main.empty || (n = je.create([je.cursor(r.main.head)])), n ? (e(vu(t, n)), !0) : !1; }; @@ -13348,7 +13348,7 @@ const qee = (t, e) => zx(t, (r) => { if (!e && n > s.from && n < s.from + 200 && !/[^ \t]/.test(a = s.text.slice(0, n - s.from))) { if (a[a.length - 1] == " ") return n - 1; - let l = tc(a, i.tabSize), u = l % Sk(i) || Sk(i); + let l = tc(a, i.tabSize), u = l % S5(i) || S5(i); for (let h = 0; h < u && a[a.length - 1 - h] == " "; h++) n--; o = n; @@ -13368,16 +13368,16 @@ const qee = (t, e) => zx(t, (r) => { (u != " " || n != r.head) && (o = h), n = l; } return n; -}), Gee = (t) => Wee(t, !1), Fke = (t) => Wee(t, !0), zke = (t) => zx(t, (e) => { +}), Gee = (t) => Wee(t, !1), F5e = (t) => Wee(t, !0), z5e = (t) => zx(t, (e) => { let r = t.lineBlockAt(e.head).to; return e.head < r ? r : Math.min(t.state.doc.length, e.head + 1); -}), Qke = (t) => zx(t, (e) => { +}), Q5e = (t) => zx(t, (e) => { let r = t.moveToLineBoundary(e, !1).head; return e.head > r ? r : Math.max(0, e.head - 1); -}), Uke = (t) => zx(t, (e) => { +}), U5e = (t) => zx(t, (e) => { let r = t.moveToLineBoundary(e, !0).head; return e.head < r ? r : Math.min(t.state.doc.length, e.head + 1); -}), Vke = ({ state: t, dispatch: e }) => { +}), V5e = ({ state: t, dispatch: e }) => { if (t.readOnly) return !1; let r = t.changeByRange((n) => ({ @@ -13385,7 +13385,7 @@ const qee = (t, e) => zx(t, (r) => { range: je.cursor(n.from) })); return e(t.update(r, { scrollIntoView: !0, userEvent: "input" })), !0; -}, qke = ({ state: t, dispatch: e }) => { +}, q5e = ({ state: t, dispatch: e }) => { if (t.readOnly) return !1; let r = t.changeByRange((n) => { @@ -13437,7 +13437,7 @@ function Xee(t, e, r) { userEvent: "move.line" })), !0) : !1; } -const Yke = ({ state: t, dispatch: e }) => Xee(t, e, !1), Wke = ({ state: t, dispatch: e }) => Xee(t, e, !0); +const Y5e = ({ state: t, dispatch: e }) => Xee(t, e, !1), W5e = ({ state: t, dispatch: e }) => Xee(t, e, !0); function Hee(t, e, r) { if (t.readOnly) return !1; @@ -13446,25 +13446,25 @@ function Hee(t, e, r) { r ? n.push({ from: i.from, insert: t.doc.slice(i.from, i.to) + t.lineBreak }) : n.push({ from: i.to, insert: t.lineBreak + t.doc.slice(i.from, i.to) }); return e(t.update({ changes: n, scrollIntoView: !0, userEvent: "input.copyline" })), !0; } -const Gke = ({ state: t, dispatch: e }) => Hee(t, e, !1), Xke = ({ state: t, dispatch: e }) => Hee(t, e, !0), Hke = (t) => { +const G5e = ({ state: t, dispatch: e }) => Hee(t, e, !1), X5e = ({ state: t, dispatch: e }) => Hee(t, e, !0), H5e = (t) => { if (t.state.readOnly) return !1; let { state: e } = t, r = e.changes(qT(e).map(({ from: i, to: s }) => (i > 0 ? i-- : s < e.doc.length && s++, { from: i, to: s }))), n = w1(e.selection, (i) => t.moveVertically(i, !0)).map(r); return t.dispatch({ changes: r, selection: n, scrollIntoView: !0, userEvent: "delete.line" }), !0; }; -function Zke(t, e) { +function Z5e(t, e) { if (/\(\)|\[\]|\{\}/.test(t.sliceDoc(e - 1, e + 1))) return { from: e, to: e }; let r = Cn(t).resolveInner(e), n = r.childBefore(e), i = r.childAfter(e), s; return n && i && n.to <= e && i.from >= e && (s = n.type.prop(br.closedBy)) && s.indexOf(i.name) > -1 && t.doc.lineAt(n.to).from == t.doc.lineAt(i.from).from && !/\S/.test(t.sliceDoc(n.to, i.from)) ? { from: n.to, to: i.from } : null; } -const jke = /* @__PURE__ */ Zee(!1), Kke = /* @__PURE__ */ Zee(!0); +const j5e = /* @__PURE__ */ Zee(!1), K5e = /* @__PURE__ */ Zee(!0); function Zee(t) { return ({ state: e, dispatch: r }) => { if (e.readOnly) return !1; let n = e.changeByRange((i) => { - let { from: s, to: a } = i, o = e.doc.lineAt(s), l = !t && s == a && Zke(e, s); + let { from: s, to: a } = i, o = e.doc.lineAt(s), l = !t && s == a && Z5e(e, s); t && (s = a = (a <= o.to ? o : e.doc.lineAt(a)).to); let u = new FT(e, { simulateBreak: s, simulateDoubleBreak: !!l }), h = cD(u, s); for (h == null && (h = tc(/^\s*/.exec(e.doc.lineAt(s).text)[0], e.tabSize)); a < o.to && /\s/.test(o.text[a - o.from]); ) @@ -13494,7 +13494,7 @@ function mD(t, e) { }; }); } -const Jke = ({ state: t, dispatch: e }) => { +const J5e = ({ state: t, dispatch: e }) => { if (t.readOnly) return !1; let r = /* @__PURE__ */ Object.create(null), n = new FT(t, { overrideIndentation: (s) => { @@ -13515,7 +13515,7 @@ const Jke = ({ state: t, dispatch: e }) => { let i = /^\s*/.exec(r.text)[0]; if (!i) return; - let s = tc(i, t.tabSize), a = 0, o = k2(t, Math.max(0, s - Sk(t))); + let s = tc(i, t.tabSize), a = 0, o = k2(t, Math.max(0, s - S5(t))); for (; a < i.length && a < o.length && i.charCodeAt(a) == o.charCodeAt(a); ) a++; n.push({ from: r.from + a, to: r.from + i.length, insert: o.slice(a) }); @@ -13524,22 +13524,22 @@ const Jke = ({ state: t, dispatch: e }) => { { key: "Ctrl-f", run: Aee, shift: Bee }, { key: "Ctrl-p", run: Mee, shift: Qee }, { key: "Ctrl-n", run: Dee, shift: Uee }, - { key: "Ctrl-a", run: wke, shift: Dke }, - { key: "Ctrl-e", run: Oke, shift: Pke }, + { key: "Ctrl-a", run: w5e, shift: D5e }, + { key: "Ctrl-e", run: O5e, shift: P5e }, { key: "Ctrl-d", run: Yee }, { key: "Ctrl-h", run: M8 }, - { key: "Ctrl-k", run: zke }, + { key: "Ctrl-k", run: z5e }, { key: "Ctrl-Alt-h", run: Gee }, - { key: "Ctrl-o", run: Vke }, - { key: "Ctrl-t", run: qke }, + { key: "Ctrl-o", run: V5e }, + { key: "Ctrl-t", run: q5e }, { key: "Ctrl-v", run: R8 } ], t3e = /* @__PURE__ */ [ { key: "ArrowLeft", run: _ee, shift: $ee, preventDefault: !0 }, - { key: "Mod-ArrowLeft", mac: "Alt-ArrowLeft", run: fke, shift: Tke, preventDefault: !0 }, - { mac: "Cmd-ArrowLeft", run: bke, shift: Rke, preventDefault: !0 }, + { key: "Mod-ArrowLeft", mac: "Alt-ArrowLeft", run: f5e, shift: T5e, preventDefault: !0 }, + { mac: "Cmd-ArrowLeft", run: b5e, shift: R5e, preventDefault: !0 }, { key: "ArrowRight", run: Aee, shift: Bee, preventDefault: !0 }, - { key: "Mod-ArrowRight", mac: "Alt-ArrowRight", run: dke, shift: Cke, preventDefault: !0 }, - { mac: "Cmd-ArrowRight", run: xke, shift: Mke, preventDefault: !0 }, + { key: "Mod-ArrowRight", mac: "Alt-ArrowRight", run: d5e, shift: C5e, preventDefault: !0 }, + { mac: "Cmd-ArrowRight", run: x5e, shift: M5e, preventDefault: !0 }, { key: "ArrowUp", run: Mee, shift: Qee, preventDefault: !0 }, { mac: "Cmd-ArrowUp", run: Fz, shift: Qz }, { mac: "Ctrl-ArrowUp", run: Iz, shift: $z }, @@ -13548,36 +13548,36 @@ const Jke = ({ state: t, dispatch: e }) => { { mac: "Ctrl-ArrowDown", run: R8, shift: Bz }, { key: "PageUp", run: Iz, shift: $z }, { key: "PageDown", run: R8, shift: Bz }, - { key: "Home", run: yke, shift: Lke, preventDefault: !0 }, + { key: "Home", run: y5e, shift: L5e, preventDefault: !0 }, { key: "Mod-Home", run: Fz, shift: Qz }, - { key: "End", run: vke, shift: Ake, preventDefault: !0 }, + { key: "End", run: v5e, shift: A5e, preventDefault: !0 }, { key: "Mod-End", run: zz, shift: Uz }, - { key: "Enter", run: jke }, - { key: "Mod-a", run: Nke }, + { key: "Enter", run: j5e }, + { key: "Mod-a", run: N5e }, { key: "Backspace", run: M8, shift: M8 }, { key: "Delete", run: Yee }, { key: "Mod-Backspace", mac: "Alt-Backspace", run: Gee }, - { key: "Mod-Delete", mac: "Alt-Delete", run: Fke }, - { mac: "Mod-Backspace", run: Qke }, - { mac: "Mod-Delete", run: Uke } + { key: "Mod-Delete", mac: "Alt-Delete", run: F5e }, + { mac: "Mod-Backspace", run: Q5e }, + { mac: "Mod-Delete", run: U5e } ].concat(/* @__PURE__ */ e3e.map((t) => ({ mac: t.key, run: t.run, shift: t.shift }))), Jee = /* @__PURE__ */ [ - { key: "Alt-ArrowLeft", mac: "Ctrl-ArrowLeft", run: gke, shift: Eke }, - { key: "Alt-ArrowRight", mac: "Ctrl-ArrowRight", run: mke, shift: _ke }, - { key: "Alt-ArrowUp", run: Yke }, - { key: "Shift-Alt-ArrowUp", run: Gke }, - { key: "Alt-ArrowDown", run: Wke }, - { key: "Shift-Alt-ArrowDown", run: Xke }, - { key: "Escape", run: Bke }, - { key: "Mod-Enter", run: Kke }, - { key: "Alt-l", mac: "Ctrl-l", run: Ike }, - { key: "Mod-i", run: $ke, preventDefault: !0 }, + { key: "Alt-ArrowLeft", mac: "Ctrl-ArrowLeft", run: g5e, shift: E5e }, + { key: "Alt-ArrowRight", mac: "Ctrl-ArrowRight", run: m5e, shift: _5e }, + { key: "Alt-ArrowUp", run: Y5e }, + { key: "Shift-Alt-ArrowUp", run: G5e }, + { key: "Alt-ArrowDown", run: W5e }, + { key: "Shift-Alt-ArrowDown", run: X5e }, + { key: "Escape", run: B5e }, + { key: "Mod-Enter", run: K5e }, + { key: "Alt-l", mac: "Ctrl-l", run: I5e }, + { key: "Mod-i", run: $5e, preventDefault: !0 }, { key: "Mod-[", run: Kee }, { key: "Mod-]", run: jee }, - { key: "Mod-Alt-\\", run: Jke }, - { key: "Shift-Mod-k", run: Hke }, - { key: "Shift-Mod-\\", run: Ske }, - { key: "Mod-/", run: H5e }, - { key: "Alt-A", run: j5e } + { key: "Mod-Alt-\\", run: J5e }, + { key: "Shift-Mod-k", run: H5e }, + { key: "Shift-Mod-\\", run: S5e }, + { key: "Mod-/", run: Hke }, + { key: "Alt-A", run: jke } ].concat(t3e), r3e = { key: "Tab", run: jee, shift: Kee }; function kn() { var t = arguments[0]; @@ -13663,7 +13663,7 @@ class rte { return new nte(e, r, n, i, s); this.re = new RegExp(r, vD + (n != null && n.ignoreCase ? "i" : "")), this.test = n == null ? void 0 : n.test, this.iter = e.iter(); let a = e.lineAt(i); - this.curLineStart = a.from, this.matchPos = _k(e, i), this.getLine(this.curLineStart); + this.curLineStart = a.from, this.matchPos = _5(e, i), this.getLine(this.curLineStart); } getLine(e) { this.iter.next(e), this.iter.lineBreak ? this.curLine = "" : (this.curLine = this.iter.value, this.curLineStart + this.curLine.length > this.to && (this.curLine = this.curLine.slice(0, this.to - this.curLineStart)), this.iter.next()); @@ -13677,7 +13677,7 @@ class rte { let r = this.matchPos <= this.to && this.re.exec(this.curLine); if (r) { let n = this.curLineStart + r.index, i = n + r[0].length; - if (this.matchPos = _k(this.text, i + (n == i ? 1 : 0)), n == this.curLineStart + this.curLine.length && this.nextLine(), (n < i || n > this.value.to) && (!this.test || this.test(n, i, r))) + if (this.matchPos = _5(this.text, i + (n == i ? 1 : 0)), n == this.curLineStart + this.curLine.length && this.nextLine(), (n < i || n > this.value.to) && (!this.test || this.test(n, i, r))) return this.value = { from: n, to: i, match: r }, this; e = this.matchPos - this.curLineStart; } else if (this.curLineStart + this.curLine.length < this.to) @@ -13709,7 +13709,7 @@ class Ng { } class nte { constructor(e, r, n, i, s) { - this.text = e, this.to = s, this.done = !1, this.value = tte, this.matchPos = _k(e, i), this.re = new RegExp(r, vD + (n != null && n.ignoreCase ? "i" : "")), this.test = n == null ? void 0 : n.test, this.flat = Ng.get(e, i, this.chunkEnd(i + 5e3)); + this.text = e, this.to = s, this.done = !1, this.value = tte, this.matchPos = _5(e, i), this.re = new RegExp(r, vD + (n != null && n.ignoreCase ? "i" : "")), this.test = n == null ? void 0 : n.test, this.flat = Ng.get(e, i, this.chunkEnd(i + 5e3)); } chunkEnd(e) { return e >= this.to ? this.to : this.text.lineAt(e).to; @@ -13720,7 +13720,7 @@ class nte { if (r && !r[0] && r.index == e && (this.re.lastIndex = e + 1, r = this.re.exec(this.flat.text)), r) { let n = this.flat.from + r.index, i = n + r[0].length; if ((this.flat.to >= this.to || r.index + r[0].length <= this.flat.text.length - 10) && (!this.test || this.test(n, i, r))) - return this.value = { from: n, to: i, match: r }, this.matchPos = _k(this.text, i + (n == i ? 1 : 0)), this; + return this.value = { from: n, to: i, match: r }, this.matchPos = _5(this.text, i + (n == i ? 1 : 0)), this; } if (this.flat.to == this.to) return this.done = !0, this; @@ -13738,7 +13738,7 @@ function n3e(t) { return !1; } } -function _k(t, e) { +function _5(t, e) { if (e >= t.length) return e; let r = t.lineAt(e), n; @@ -13750,7 +13750,7 @@ function D8(t) { let e = String(t.state.doc.lineAt(t.state.selection.main.head).number), r = kn("input", { class: "cm-textfield", name: "line", value: e }), n = kn("form", { class: "cm-gotoLine", onkeydown: (s) => { - s.keyCode == 27 ? (s.preventDefault(), t.dispatch({ effects: Ak.of(!1) }), t.focus()) : s.keyCode == 13 && (s.preventDefault(), i()); + s.keyCode == 27 ? (s.preventDefault(), t.dispatch({ effects: A5.of(!1) }), t.focus()) : s.keyCode == 13 && (s.preventDefault(), i()); }, onsubmit: (s) => { s.preventDefault(), i(); @@ -13768,26 +13768,26 @@ function D8(t) { u && l && (p = p * (l == "-" ? -1 : 1) + o.number); let g = a.doc.line(Math.max(1, Math.min(a.doc.lines, p))), m = je.cursor(g.from + Math.max(0, Math.min(d, g.length))); t.dispatch({ - effects: [Ak.of(!1), kt.scrollIntoView(m.from, { y: "center" })], + effects: [A5.of(!1), kt.scrollIntoView(m.from, { y: "center" })], selection: m }), t.focus(); } return { dom: n }; } -const Ak = /* @__PURE__ */ or.define(), qz = /* @__PURE__ */ Xn.define({ +const A5 = /* @__PURE__ */ or.define(), qz = /* @__PURE__ */ Xn.define({ create() { return !0; }, update(t, e) { for (let r of e.effects) - r.is(Ak) && (t = r.value); + r.is(A5) && (t = r.value); return t; }, provide: (t) => b2.from(t, (e) => e ? D8 : null) }), i3e = (t) => { let e = y2(t, D8); if (!e) { - let r = [Ak.of(!0)]; + let r = [A5.of(!0)]; t.state.field(qz, !1) == null && r.push(or.appendConfig.of([qz, s3e])), t.dispatch({ effects: r }), e = y2(t, D8); } return e && e.dom.querySelector("input").select(), !0; @@ -13941,7 +13941,7 @@ function ag(t, e, r, n) { return new mm(e.doc, t.unquoted, r, n, t.caseSensitive ? void 0 : (i) => i.toLowerCase(), t.wholeWord ? m3e(e.doc, e.charCategorizer(e.selection.main.head)) : void 0); } function m3e(t, e) { - return (r, n, i, s) => ((s > r || s + i.length < n) && (s = Math.max(0, r - 2), i = t.sliceString(s, Math.min(t.length, n + 2))), (e(Lk(i, r - s)) != Fn.Word || e(Rk(i, r - s)) != Fn.Word) && (e(Rk(i, n - s)) != Fn.Word || e(Lk(i, n - s)) != Fn.Word)); + return (r, n, i, s) => ((s > r || s + i.length < n) && (s = Math.max(0, r - 2), i = t.sliceString(s, Math.min(t.length, n + 2))), (e(L5(i, r - s)) != Fn.Word || e(R5(i, r - s)) != Fn.Word) && (e(R5(i, n - s)) != Fn.Word || e(L5(i, n - s)) != Fn.Word)); } class v3e extends ate { constructor(e) { @@ -13990,14 +13990,14 @@ function og(t, e, r, n) { test: t.wholeWord ? y3e(e.charCategorizer(e.selection.main.head)) : void 0 }, r, n); } -function Lk(t, e) { +function L5(t, e) { return t.slice(Ss(t, e, !1), e); } -function Rk(t, e) { +function R5(t, e) { return t.slice(e, Ss(t, e)); } function y3e(t) { - return (e, r, n) => !n[0].length || (t(Lk(n.input, n.index)) != Fn.Word || t(Rk(n.input, n.index)) != Fn.Word) && (t(Rk(n.input, n.index + n[0].length)) != Fn.Word || t(Lk(n.input, n.index + n[0].length)) != Fn.Word); + return (e, r, n) => !n[0].length || (t(L5(n.input, n.index)) != Fn.Word || t(R5(n.input, n.index)) != Fn.Word) && (t(R5(n.input, n.index + n[0].length)) != Fn.Word || t(L5(n.input, n.index + n[0].length)) != Fn.Word); } class b3e extends ate { nextMatch(e, r, n) { @@ -14084,7 +14084,7 @@ function Qx(t) { return r && r.query.spec.valid ? t(e, r) : cte(e); }; } -const Mk = /* @__PURE__ */ Qx((t, { query: e }) => { +const M5 = /* @__PURE__ */ Qx((t, { query: e }) => { let { to: r } = t.state.selection.main, n = e.nextMatch(t.state, r, r); if (!n) return !1; @@ -14094,7 +14094,7 @@ const Mk = /* @__PURE__ */ Qx((t, { query: e }) => { effects: [xD(t, n), s.scrollToMatch(i.main, t)], userEvent: "select.search" }), lte(t), !0; -}), Dk = /* @__PURE__ */ Qx((t, { query: e }) => { +}), D5 = /* @__PURE__ */ Qx((t, { query: e }) => { let { state: r } = t, { from: n } = r.selection.main, i = e.prevMatch(r, n, n); if (!i) return !1; @@ -14205,8 +14205,8 @@ const cte = (t) => { return r && r.dom.contains(t.root.activeElement) && t.focus(), t.dispatch({ effects: yD.of(!1) }), !0; }, C3e = [ { key: "Mod-f", run: cte, scope: "editor search-panel" }, - { key: "F3", run: Mk, shift: Dk, scope: "editor search-panel", preventDefault: !0 }, - { key: "Mod-g", run: Mk, shift: Dk, scope: "editor search-panel", preventDefault: !0 }, + { key: "F3", run: M5, shift: D5, scope: "editor search-panel", preventDefault: !0 }, + { key: "Mod-g", run: M5, shift: D5, scope: "editor search-panel", preventDefault: !0 }, { key: "Escape", run: ute, scope: "editor search-panel" }, { key: "Mod-Shift-l", run: S3e }, { key: "Mod-Alt-g", run: i3e }, @@ -14259,8 +14259,8 @@ class E3e { } this.dom = kn("div", { onkeydown: (i) => this.keydown(i), class: "cm-search" }, [ this.searchField, - n("next", () => Mk(e), [mo(e, "next")]), - n("prev", () => Dk(e), [mo(e, "previous")]), + n("next", () => M5(e), [mo(e, "next")]), + n("prev", () => D5(e), [mo(e, "previous")]), n("select", () => k3e(e), [mo(e, "all")]), kn("label", null, [this.caseField, mo(e, "match case")]), kn("label", null, [this.reField, mo(e, "regexp")]), @@ -14290,7 +14290,7 @@ class E3e { e.eq(this.query) || (this.query = e, this.view.dispatch({ effects: T2.of(e) })); } keydown(e) { - GOe(this.view, e, "search-panel") ? e.preventDefault() : e.keyCode == 13 && e.target == this.searchField ? (e.preventDefault(), (e.shiftKey ? Dk : Mk)(this.view)) : e.keyCode == 13 && e.target == this.replaceField && (e.preventDefault(), Wz(this.view)); + GOe(this.view, e, "search-panel") ? e.preventDefault() : e.keyCode == 13 && e.target == this.searchField ? (e.preventDefault(), (e.shiftKey ? D5 : M5)(this.view)) : e.keyCode == 13 && e.target == this.replaceField && (e.preventDefault(), Wz(this.view)); } update(e) { for (let r of e.transactions) @@ -14813,12 +14813,12 @@ class vg { return new vg(this.options, this.attrs, Object.assign(Object.assign({}, this.tooltip), { pos: e.mapPos(this.tooltip.pos) }), this.timestamp, this.selected, this.disabled); } } -class Pk { +class P5 { constructor(e, r, n) { this.active = e, this.id = r, this.open = n; } static start() { - return new Pk(V3e, "cm-ac-" + Math.floor(Math.random() * 2e6).toString(36), null); + return new P5(V3e, "cm-ac-" + Math.floor(Math.random() * 2e6).toString(36), null); } update(e) { let { state: r } = e, n = r.facet(js), s = (n.override || r.languageDataAt("autocomplete", kf(r)).map(D3e)).map((o) => (this.active.find((u) => u.source == o) || new Wa(o, this.active.some((u) => u.state != 0) ? 1 : 0)).update(e, n)); @@ -14827,7 +14827,7 @@ class Pk { a && e.docChanged && (a = a.map(e.changes)), e.selection || s.some((o) => o.hasResult() && e.changes.touchesRange(o.from, o.to)) || !Q3e(s, this.active) ? a = vg.build(s, r, this.id, a, n) : a && a.disabled && !s.some((o) => o.state == 1) && (a = null), !a && s.every((o) => o.state != 1) && s.some((o) => o.hasResult()) && (s = s.map((o) => o.hasResult() ? new Wa(o.source, 0) : o)); for (let o of e.effects) o.is(gte) && (a = a && a.setSelected(o.value, this.id)); - return s == this.active && a == this.open ? this : new Pk(s, this.id, a); + return s == this.active && a == this.open ? this : new P5(s, this.id, a); } get tooltip() { return this.open ? this.open.tooltip : null; @@ -14930,7 +14930,7 @@ const pte = /* @__PURE__ */ or.define({ } }), gte = /* @__PURE__ */ or.define(), To = /* @__PURE__ */ Xn.define({ create() { - return Pk.start(); + return P5.start(); }, update(t, e) { return t.update(e); @@ -15939,13 +15939,13 @@ const PSe = /* @__PURE__ */ kt.baseTheme({ Q4e(), UJ(), gD(), - D5e(), + Dke(), FJ(), n4e(), Tr.allowMultipleSelections.of(!0), - x5e(), + xke(), pee(gee, { fallback: !0 }), - V5e(), + Vke(), uSe(), wSe(), b4e(), @@ -15957,7 +15957,7 @@ const PSe = /* @__PURE__ */ kt.baseTheme({ ...Jee, ...C3e, ...Cee, - ...A5e, + ...Ake, ...kte, ...RSe ]) @@ -16021,7 +16021,7 @@ class GT { this._observers = ql(); } } -const fh = Math.floor, c5 = Math.abs, XT = (t, e) => t < e ? t : e, gd = (t, e) => t > e ? t : e, USe = Math.pow, Ate = (t) => t !== 0 ? t < 0 : 1 / t < 0, iQ = 1, sQ = 2, Q_ = 4, U_ = 8, A2 = 32, eh = 64, _o = 128, HT = 31, B8 = 63, k0 = 127, VSe = 2147483647, Lte = Number.MAX_SAFE_INTEGER, qSe = Number.isInteger || ((t) => typeof t == "number" && isFinite(t) && fh(t) === t), YSe = String.fromCharCode, WSe = (t) => t.toLowerCase(), GSe = /^\s*/g, XSe = (t) => t.replace(GSe, ""), HSe = /([A-Z])/g, aQ = (t, e) => XSe(t.replace(HSe, (r) => `${e}${WSe(r)}`)), ZSe = (t) => { +const fh = Math.floor, ck = Math.abs, XT = (t, e) => t < e ? t : e, gd = (t, e) => t > e ? t : e, USe = Math.pow, Ate = (t) => t !== 0 ? t < 0 : 1 / t < 0, iQ = 1, sQ = 2, Q_ = 4, U_ = 8, A2 = 32, eh = 64, _o = 128, HT = 31, B8 = 63, k0 = 127, VSe = 2147483647, Lte = Number.MAX_SAFE_INTEGER, qSe = Number.isInteger || ((t) => typeof t == "number" && isFinite(t) && fh(t) === t), YSe = String.fromCharCode, WSe = (t) => t.toLowerCase(), GSe = /^\s*/g, XSe = (t) => t.replace(GSe, ""), HSe = /([A-Z])/g, aQ = (t, e) => XSe(t.replace(HSe, (r) => `${e}${WSe(r)}`)), ZSe = (t) => { const e = unescape(encodeURIComponent(t)), r = e.length, n = new Uint8Array(r); for (let i = 0; i < r; i++) n[i] = e.codePointAt(i); @@ -16089,7 +16089,7 @@ const Ws = () => new Vx(), _D = (t) => { rs(t, 119), S0(t, e); break; case "number": - qSe(e) && c5(e) <= VSe ? (rs(t, 125), AD(t, e)) : aTe(e) ? (rs(t, 124), nTe(t, e)) : (rs(t, 123), iTe(t, e)); + qSe(e) && ck(e) <= VSe ? (rs(t, 125), AD(t, e)) : aTe(e) ? (rs(t, 124), nTe(t, e)) : (rs(t, 123), iTe(t, e)); break; case "bigint": rs(t, 122), sTe(t, e); @@ -16131,7 +16131,7 @@ class lQ extends Vx { const cQ = (t) => { t.count > 0 && (AD(t.encoder, t.count === 1 ? t.s : -t.s), t.count > 1 && rr(t.encoder, t.count - 2)); }; -class u5 { +class uk { constructor() { this.encoder = new Vx(), this.s = 0, this.count = 0; } @@ -16161,7 +16161,7 @@ class V_ { } class oTe { constructor() { - this.sarr = [], this.s = "", this.lensE = new u5(); + this.sarr = [], this.s = "", this.lensE = new uk(); } write(e) { this.s += e, this.s.length > 19 && (this.sarr.push(this.s), this.s = ""), this.lensE.write(e.length); @@ -16262,7 +16262,7 @@ class hQ extends jT { return this.count === 0 && (this.s = this.reader(this), lTe(this) ? this.count = wr(this) + 1 : this.count = -1), this.count--, this.s; } } -class h5 extends jT { +class hk extends jT { constructor(e) { super(e), this.s = 0, this.count = 0; } @@ -16289,7 +16289,7 @@ class q_ extends jT { } class mTe { constructor(e) { - this.decoder = new h5(e), this.str = Sf(this.decoder), this.spos = 0; + this.decoder = new hk(e), this.str = Sf(this.decoder), this.spos = 0; } read() { const e = this.spos + this.decoder.read(), r = this.str.slice(this.spos, e); @@ -16326,7 +16326,7 @@ const Nte = Pte, wTe = (t) => DD || addEventListener("storage", t), OTe = (t) => for (const n in t) r.push(e(t[n], n)); return r; -}, Nk = (t) => STe(t).length, ETe = (t) => { +}, N5 = (t) => STe(t).length, ETe = (t) => { for (const e in t) return !1; return !0; @@ -16335,7 +16335,7 @@ const Nte = Pte, wTe = (t) => DD || addEventListener("storage", t), OTe = (t) => if (!e(t[r], r)) return !1; return !0; -}, Ite = (t, e) => Object.prototype.hasOwnProperty.call(t, e), ATe = (t, e) => t === e || Nk(t) === Nk(e) && _Te(t, (r, n) => (r !== void 0 || Ite(e, n)) && e[n] === r), PD = (t, e, r = 0) => { +}, Ite = (t, e) => Object.prototype.hasOwnProperty.call(t, e), ATe = (t, e) => t === e || N5(t) === N5(e) && _Te(t, (r, n) => (r !== void 0 || Ite(e, n)) && e[n] === r), PD = (t, e, r = 0) => { try { for (; r < t.length; r++) t[r](...e); @@ -16377,7 +16377,7 @@ const Nte = Pte, wTe = (t) => DD || addEventListener("storage", t), OTe = (t) => break; } case Object: - if (Nk(t) !== Nk(e)) + if (N5(t) !== N5(e)) return !1; for (const r in t) if (!Ite(t, r) || !By(t[r], e[r])) @@ -16616,8 +16616,8 @@ const xm = (t, e, r) => e.clients.forEach((n, i) => { if (f < u) { u < d && D2(n, a, u, d - u); let p = ou(l, f), g = l[p]; - for (!g.deleted && g.id.clock < f && (l.splice(p + 1, 0, Vk(e, g, f - g.id.clock)), p++); p < l.length && (g = l[p++], g.id.clock < d); ) - g.deleted || (d < g.id.clock + g.length && l.splice(p, 0, Vk(e, g, d - g.id.clock)), g.delete(e)); + for (!g.deleted && g.id.clock < f && (l.splice(p + 1, 0, V5(e, g, f - g.id.clock)), p++); p < l.length && (g = l[p++], g.id.clock < d); ) + g.deleted || (d < g.id.clock + g.length && l.splice(p, 0, V5(e, g, d - g.id.clock)), g.delete(e)); } else D2(n, a, f, d - f); } @@ -16785,7 +16785,7 @@ class dCe { } class wm extends dCe { constructor(e) { - super(e), this.keys = [], wr(e), this.keyClockDecoder = new q_(Ys(e)), this.clientDecoder = new h5(Ys(e)), this.leftClockDecoder = new q_(Ys(e)), this.rightClockDecoder = new q_(Ys(e)), this.infoDecoder = new hQ(Ys(e), ym), this.stringDecoder = new mTe(Ys(e)), this.parentInfoDecoder = new hQ(Ys(e), ym), this.typeRefDecoder = new h5(Ys(e)), this.lenDecoder = new h5(Ys(e)); + super(e), this.keys = [], wr(e), this.keyClockDecoder = new q_(Ys(e)), this.clientDecoder = new hk(Ys(e)), this.leftClockDecoder = new q_(Ys(e)), this.rightClockDecoder = new q_(Ys(e)), this.infoDecoder = new hQ(Ys(e), ym), this.stringDecoder = new mTe(Ys(e)), this.parentInfoDecoder = new hQ(Ys(e), ym), this.typeRefDecoder = new hk(Ys(e)), this.lenDecoder = new hk(Ys(e)); } readLeftID() { return new $g(this.clientDecoder.read(), this.leftClockDecoder.read()); @@ -16904,7 +16904,7 @@ class jte { } class N0 extends jte { constructor() { - super(), this.keyMap = /* @__PURE__ */ new Map(), this.keyClock = 0, this.keyClockEncoder = new V_(), this.clientEncoder = new u5(), this.leftClockEncoder = new V_(), this.rightClockEncoder = new V_(), this.infoEncoder = new lQ(F8), this.stringEncoder = new oTe(), this.parentInfoEncoder = new lQ(F8), this.typeRefEncoder = new u5(), this.lenEncoder = new u5(); + super(), this.keyMap = /* @__PURE__ */ new Map(), this.keyClock = 0, this.keyClockEncoder = new V_(), this.clientEncoder = new uk(), this.leftClockEncoder = new V_(), this.rightClockEncoder = new V_(), this.infoEncoder = new lQ(F8), this.stringEncoder = new oTe(), this.parentInfoEncoder = new lQ(F8), this.typeRefEncoder = new uk(), this.lenEncoder = new uk(); } toUint8Array() { const e = Ws(); @@ -17082,7 +17082,7 @@ const pCe = (t, e, r, n) => { const g = h.missing.get(d); (g == null || g > p) && h.missing.set(d, p); } - h.update = $k([h.update, u.update]); + h.update = $5([h.update, u.update]); } } else o.pendingStructs = u; @@ -17091,7 +17091,7 @@ const pCe = (t, e, r, n) => { const d = new wm(md(o.pendingDs)); wr(d.restDecoder); const p = gQ(d, i, o); - f && p ? o.pendingDs = $k([f, p]) : o.pendingDs = f || p; + f && p ? o.pendingDs = $5([f, p]) : o.pendingDs = f || p; } else o.pendingDs = f; if (s) { @@ -17111,7 +17111,7 @@ const pCe = (t, e, r, n) => { if (r.constructor === Yx) return FCe(i.map((s, a) => a === 0 ? s : VCe(s))); if (r.constructor === N0) - return $k(i); + return $5(i); } return i[0]; }, OCe = (t, e) => wCe(t, e, new Yx()), kCe = (t) => { @@ -17143,7 +17143,7 @@ const yg = (t, e) => t === e || t !== null && e !== null && t.client === e.clien if (r === t) return e; throw ic(); -}, Ik = (t, e) => { +}, I5 = (t, e) => { for (; e !== null; ) { if (e.parent === t) return !0; @@ -17277,15 +17277,15 @@ const KT = (t) => { }, MCe = (t, e) => { const r = t.clients.get(e.client); return r[ou(r, e.clock)]; -}, f5 = MCe, G8 = (t, e, r) => { +}, fk = MCe, G8 = (t, e, r) => { const n = ou(e, r), i = e[n]; - return i.id.clock < r && i instanceof mn ? (e.splice(n + 1, 0, Vk(t, i, r - i.id.clock)), n + 1) : n; + return i.id.clock < r && i instanceof mn ? (e.splice(n + 1, 0, V5(t, i, r - i.id.clock)), n + 1) : n; }, Ha = (t, e) => { const r = t.doc.store.clients.get(e.client); return r[G8(t, r, e.clock)]; }, wQ = (t, e, r) => { const n = e.clients.get(r.client), i = ou(n, r.clock), s = n[i]; - return r.clock !== s.id.clock + s.length - 1 && s.constructor !== Zo && n.splice(i + 1, 0, Vk(t, s, r.clock - s.id.clock + 1)), s; + return r.clock !== s.id.clock + s.length - 1 && s.constructor !== Zo && n.splice(i + 1, 0, V5(t, s, r.clock - s.id.clock + 1)), s; }, DCe = (t, e, r) => { const n = t.clients.get(e.id.client); n[ou(n, e.id.clock)] = r; @@ -17306,7 +17306,7 @@ class PCe { const OQ = (t, e) => e.deleteSet.clients.size === 0 && !FSe(e.afterState, (r, n) => e.beforeState.get(n) !== r) ? !1 : ($D(e.deleteSet), vCe(t, e), T1(t, e.deleteSet), !0), kQ = (t, e, r) => { const n = e._item; (n === null || n.id.clock < (t.beforeState.get(n.id.client) || 0) && !n.deleted) && Lh(t.changed, e, P0).add(r); -}, d5 = (t, e) => { +}, dk = (t, e) => { let r = t[e], n = t[e - 1], i = e; for (; i > 0; r = n, n = t[--i - 1]) { if (n.deleted === r.deleted && n.constructor === r.constructor && n.mergeWith(r)) { @@ -17336,7 +17336,7 @@ const OQ = (t, e) => e.deleteSet.clients.size === 0 && !FSe(e.afterState, (r, n) for (let s = r.length - 1; s >= 0; s--) { const a = r[s], o = XT(i.length - 1, 1 + ou(i, a.clock + a.len - 1)); for (let l = o, u = i[l]; l > 0 && u.id.clock >= a.clock; u = i[l]) - l -= 1 + d5(i, l); + l -= 1 + dk(i, l); } }); }, ore = (t, e) => { @@ -17364,12 +17364,12 @@ const OQ = (t, e) => e.deleteSet.clients.size === 0 && !FSe(e.afterState, (r, n) if (d !== h) { const p = i.clients.get(f), g = gd(ou(p, d), 1); for (let m = p.length - 1; m >= g; ) - m -= 1 + d5(p, m); + m -= 1 + dk(p, m); } }); for (let h = a.length - 1; h >= 0; h--) { const { client: f, clock: d } = a[h].id, p = i.clients.get(f), g = ou(p, d); - g + 1 < p.length && d5(p, g + 1) > 1 || g > 0 && d5(p, g); + g + 1 < p.length && dk(p, g + 1) > 1 || g > 0 && dk(p, g); } if (!r.local && r.afterState.get(n.clientID) !== r.beforeState.get(n.clientID) && (lCe(ND, zte, "[yjs] ", Qte, Ute, "Changed the client-id because another client seems to be using it."), n.clientID = Gte()), n.emit("afterTransactionCleanup", [r, n]), n._observers.has("update")) { const h = new Yx(); @@ -17406,7 +17406,7 @@ class $Ce { } const SQ = (t, e, r) => { xm(t, r.deletions, (n) => { - n instanceof mn && e.scope.some((i) => Ik(i, n)) && XD(n, !1); + n instanceof mn && e.scope.some((i) => I5(i, n)) && XD(n, !1); }); }, TQ = (t, e, r) => { let n = null, i = null; @@ -17421,10 +17421,10 @@ const SQ = (t, e, r) => { let { item: g, diff: m } = H8(l, p.id); m > 0 && (g = Ha(o, Cr(g.id.client, g.id.clock + m))), p = g; } - !p.deleted && a.some((g) => Ik(g, p)) && f.push(p); + !p.deleted && a.some((g) => I5(g, p)) && f.push(p); } }), xm(o, u.deletions, (p) => { - p instanceof mn && a.some((g) => Ik(g, p)) && !qx(u.insertions, p.id) && h.add(p); + p instanceof mn && a.some((g) => I5(g, p)) && !qx(u.insertions, p.id) && h.add(p); }), h.forEach((p) => { d = Tre(o, p, h, u.insertions, t.ignoreRemoteMapChanges, t) !== null || d; }); @@ -17470,7 +17470,7 @@ class zD extends GT { } else f.push(new $Ce(l.deleteSet, d)), g = !0; !u && !h && (this.lastChange = p), xm(l, l.deleteSet, (v) => { - v instanceof mn && this.scope.some((y) => Ik(y, v)) && XD(v, !0); + v instanceof mn && this.scope.some((y) => I5(y, v)) && XD(v, !0); }); const m = [{ stackItem: f[f.length - 1], origin: l.origin, type: u ? "redo" : "undo", changedParentTypes: l.changedParentTypes }, this]; g ? this.emit("stack-item-added", m) : this.emit("stack-item-updated", m); @@ -17572,7 +17572,7 @@ class UD { this.currClient = 0, this.startClock = 0, this.written = 0, this.encoder = e, this.clientStructs = []; } } -const FCe = (t) => $k(t, Hte, Yx), zCe = (t, e) => { +const FCe = (t) => $5(t, Hte, Yx), zCe = (t, e) => { if (t.constructor === Zo) { const { client: r, clock: n } = t.id; return new Zo(Cr(r, n + e), t.length - e); @@ -17592,7 +17592,7 @@ const FCe = (t) => $k(t, Hte, Yx), zCe = (t, e) => { r.content.splice(e) ); } -}, $k = (t, e = wm, r = N0) => { +}, $5 = (t, e = wm, r = N0) => { if (t.length === 1) return t[0]; const n = t.map((h) => new e(md(h))); @@ -17781,7 +17781,7 @@ const WCe = (t) => { }, eC = (t, e) => { if (t._start === null || e === 0 || t._searchMarker === null) return null; - const r = t._searchMarker.length === 0 ? null : t._searchMarker.reduce((s, a) => c5(e - s.index) < c5(e - a.index) ? s : a); + const r = t._searchMarker.length === 0 ? null : t._searchMarker.reduce((s, a) => ck(e - s.index) < ck(e - a.index) ? s : a); let n = t._start, i = 0; for (r !== null && (n = r.p, i = r.index, WCe(r)); n.right !== null && i < e; ) { if (!n.deleted && n.countable) { @@ -17795,7 +17795,7 @@ const WCe = (t) => { n = n.left, !n.deleted && n.countable && (i -= n.length); for (; n.left !== null && n.left.id.client === n.id.client && n.left.id.clock + n.left.length === n.id.clock; ) n = n.left, !n.deleted && n.countable && (i -= n.length); - return r !== null && c5(r.index - i) < n.parent.length / cre ? (ure(r, n, i), r) : GCe(t._searchMarker, n, i); + return r !== null && ck(r.index - i) < n.parent.length / cre ? (ure(r, n, i), r) : GCe(t._searchMarker, n, i); }, N2 = (t, e, r) => { for (let n = t.length - 1; n >= 0; n--) { const i = t[n]; @@ -17938,7 +17938,7 @@ const hre = (t, e, r) => { return n.content.getContent()[e]; e -= n.length; } -}, Bk = (t, e, r, n) => { +}, B5 = (t, e, r, n) => { let i = r; const s = t.doc, a = s.clientID, o = s.store, l = r === null ? e._start : r.right; let u = []; @@ -17978,7 +17978,7 @@ const hre = (t, e, r) => { if (r > e._length) throw gre(); if (r === 0) - return e._searchMarker && N2(e._searchMarker, r, n.length), Bk(t, e, null, n); + return e._searchMarker && N2(e._searchMarker, r, n.length), B5(t, e, null, n); const i = r, s = eC(e, r); let a = e._start; for (s !== null && (a = s.p, r -= s.index, r === 0 && (a = a.prev, r += a && a.countable && !a.deleted ? a.length : 0)); a !== null; a = a.right) @@ -17989,13 +17989,13 @@ const hre = (t, e, r) => { } r -= a.length; } - return e._searchMarker && N2(e._searchMarker, i, n.length), Bk(t, e, a, n); + return e._searchMarker && N2(e._searchMarker, i, n.length), B5(t, e, a, n); }, HCe = (t, e, r) => { let i = (e._searchMarker || []).reduce((s, a) => a.index > s.index ? a : s, { index: 0, p: e._start }).p; if (i) for (; i.right; ) i = i.right; - return Bk(t, e, i, r); + return B5(t, e, i, r); }, vre = (t, e, r, n) => { if (n === 0) return; @@ -18008,7 +18008,7 @@ const hre = (t, e, r) => { if (n > 0) throw gre(); e._searchMarker && N2(e._searchMarker, i, -s + n); -}, Fk = (t, e, r) => { +}, F5 = (t, e, r) => { const n = e._map.get(r); n !== void 0 && n.delete(t); }, YD = (t, e, r, n) => { @@ -18190,7 +18190,7 @@ class eu extends Cs { } delete(e) { this.doc !== null ? gn(this.doc, (r) => { - Fk(r, this, e); + F5(r, this, e); }) : this._prelimContent.delete(e); } set(e, r) { @@ -18207,7 +18207,7 @@ class eu extends Cs { clear() { this.doc !== null ? gn(this.doc, (e) => { this.forEach(function(r, n, i) { - Fk(e, i, n); + F5(e, i, n); }); }) : this._prelimContent.clear(); } @@ -18643,7 +18643,7 @@ class Om extends Cs { } removeAttribute(e) { this.doc !== null ? gn(this.doc, (r) => { - Fk(r, this, e); + F5(r, this, e); }) : this._pending.push(() => this.removeAttribute(e)); } setAttribute(e, r) { @@ -18742,7 +18742,7 @@ class I0 extends Cs { if (this.doc !== null) gn(this.doc, (n) => { const i = e && e instanceof Cs ? e._item : e; - Bk(n, this, i, r); + B5(n, this, i, r); }); else { const n = this._prelimContent, i = e === null ? 0 : n.findIndex((s) => s === e) + 1; @@ -18820,7 +18820,7 @@ class $2 extends I0 { } removeAttribute(e) { this.doc !== null ? gn(this.doc, (r) => { - Fk(r, this, e); + F5(r, this, e); }) : this._prelimAttrs.delete(e); } setAttribute(e, r) { @@ -18859,15 +18859,15 @@ class lEe extends JT { }); } } -class zk extends eu { +class z5 extends eu { constructor(e) { super(), this.hookName = e; } _copy() { - return new zk(this.hookName); + return new z5(this.hookName); } clone() { - const e = new zk(this.hookName); + const e = new z5(this.hookName); return this.forEach((r, n) => { e.set(n, r); }), e; @@ -18881,8 +18881,8 @@ class zk extends eu { e.writeTypeRef(CEe), e.writeKey(this.hookName); } } -const cEe = (t) => new zk(t.readKey()); -class Qk extends Om { +const cEe = (t) => new z5(t.readKey()); +class Q5 extends Om { get nextSibling() { const e = this._item ? this._item.next : null; return e ? e.content.type : null; @@ -18892,10 +18892,10 @@ class Qk extends Om { return e ? e.content.type : null; } _copy() { - return new Qk(); + return new Q5(); } clone() { - const e = new Qk(); + const e = new Q5(); return e.applyDelta(this.toDelta()), e; } toDOM(e = document, r, n) { @@ -18935,7 +18935,7 @@ class Qk extends Om { e.writeTypeRef(EEe); } } -const uEe = (t) => new Qk(); +const uEe = (t) => new Q5(); class GD { constructor(e, r) { this.id = e, this.length = r; @@ -19161,7 +19161,7 @@ class Gi { } } const mEe = (t) => new Gi(t.readKey(), t.readJSON()); -class Uk { +class U5 { constructor(e) { this.arr = e; } @@ -19175,10 +19175,10 @@ class Uk { return !0; } copy() { - return new Uk(this.arr); + return new U5(this.arr); } splice(e) { - const r = new Uk(this.arr.slice(e)); + const r = new U5(this.arr.slice(e)); return this.arr = this.arr.slice(0, e), r; } mergeWith(e) { @@ -19208,7 +19208,7 @@ const vEe = (t) => { const i = t.readString(); i === "undefined" ? r.push(void 0) : r.push(JSON.parse(i)); } - return new Uk(r); + return new U5(r); }; class $0 { constructor(e) { @@ -19356,7 +19356,7 @@ class bu { const _Ee = (t) => new bu(xEe[t.readTypeRef()](t)), H8 = (t, e) => { let r = e, n = 0, i; do - n > 0 && (r = Cr(r.client, r.clock + n)), i = f5(t, r), n = r.clock - i.id.clock, r = i.redone; + n > 0 && (r = Cr(r.client, r.clock + n)), i = fk(t, r), n = r.clock - i.id.clock, r = i.redone; while (r !== null && i instanceof mn); return { item: i, @@ -19365,7 +19365,7 @@ const _Ee = (t) => new bu(xEe[t.readTypeRef()](t)), H8 = (t, e) => { }, XD = (t, e) => { for (; t !== null && t.keep !== e; ) t.keep = e, t = t.parent._item; -}, Vk = (t, e, r) => { +}, V5 = (t, e, r) => { const { client: n, clock: i } = e.id, s = new mn( Cr(n, i + r), e, @@ -19470,7 +19470,7 @@ class mn extends GD { else if (!this.parent) this.left && this.left.constructor === mn && (this.parent = this.left.parent, this.parentSub = this.left.parentSub), this.right && this.right.constructor === mn && (this.parent = this.right.parent, this.parentSub = this.right.parentSub); else if (this.parent.constructor === $g) { - const n = f5(r, this.parent); + const n = fk(r, this.parent); n.constructor === Zo ? this.parent = null : this.parent = n.content.type; } return null; @@ -19493,8 +19493,8 @@ class mn extends GD { n = i, s.clear(); else if (yg(this.rightOrigin, i.rightOrigin)) break; - } else if (i.origin !== null && a.has(f5(e.doc.store, i.origin))) - s.has(f5(e.doc.store, i.origin)) || (n = i, s.clear()); + } else if (i.origin !== null && a.has(fk(e.doc.store, i.origin))) + s.has(fk(e.doc.store, i.origin)) || (n = i, s.clear()); else break; i = i.right; @@ -19931,10 +19931,10 @@ const UEe = hn.fromClass(QEe), VEe = ({ state: t, dispatch: e }) => t.facet(rC). }) ), i; }; -class qk { +class q5 { static create(e, r, n, i, s) { let a = i + (i << 8) + e + (r << 4) | 0; - return new qk(e, r, n, a, s, [], []); + return new q5(e, r, n, a, s, [], []); } constructor(e, r, n, i, s, a, o) { this.type = e, this.value = r, this.from = n, this.hash = i, this.end = s, this.children = a, this.positions = o, this.hashProp = [[br.contextHash, i]]; @@ -20343,7 +20343,7 @@ const ZEe = { ], KEe = { text: "", end: 0 }; class JEe { constructor(e, r, n, i) { - this.parser = e, this.input = r, this.ranges = i, this.line = new GEe(), this.atEnd = !1, this.reusePlaceholders = /* @__PURE__ */ new Map(), this.stoppedAt = null, this.rangeI = 0, this.to = i[i.length - 1].to, this.lineStart = this.absoluteLineStart = this.absoluteLineEnd = i[0].from, this.block = qk.create(Tt.Document, 0, this.lineStart, 0, 0), this.stack = [this.block], this.fragments = n.length ? new n_e(n, r) : null, this.readLine(); + this.parser = e, this.input = r, this.ranges = i, this.line = new GEe(), this.atEnd = !1, this.reusePlaceholders = /* @__PURE__ */ new Map(), this.stoppedAt = null, this.rangeI = 0, this.to = i[i.length - 1].to, this.lineStart = this.absoluteLineStart = this.absoluteLineEnd = i[0].from, this.block = q5.create(Tt.Document, 0, this.lineStart, 0, 0), this.stack = [this.block], this.fragments = n.length ? new n_e(n, r) : null, this.readLine(); } get parsedPos() { return this.absoluteLineStart; @@ -20472,7 +20472,7 @@ class JEe { return this.atEnd ? this.lineStart : this.lineStart - 1; } startContext(e, r, n = 0) { - this.block = qk.create(e, n, this.lineStart + r, this.block.hash, this.lineStart + this.line.text.length), this.stack.push(this.block); + this.block = q5.create(e, n, this.lineStart + r, this.block.hash, this.lineStart + this.line.text.length), this.stack.push(this.block); } startComposite(e, r, n = 0) { this.startContext(this.parser.getNodeType(e), r, n); @@ -21297,7 +21297,7 @@ const v_e = { } }] }; -class Yk { +class Y5 { constructor(e, r, n, i, s, a, o, l, u, h = 0, f) { this.p = e, this.stack = r, this.state = n, this.reducePos = i, this.pos = s, this.score = a, this.buffer = o, this.bufferBase = l, this.curContext = u, this.lookAhead = h, this.parent = f; } @@ -21306,7 +21306,7 @@ class Yk { } static start(e, r, n = 0) { let i = e.parser.context; - return new Yk(e, [], r, n, n, 0, [], 0, i ? new qQ(i, i.start) : null, 0, null); + return new Y5(e, [], r, n, n, 0, [], 0, i ? new qQ(i, i.start) : null, 0, null); } get context() { return this.curContext ? this.curContext.context : null; @@ -21395,7 +21395,7 @@ class Yk { let n = e.buffer.slice(r), i = e.bufferBase + r; for (; e && i == e.bufferBase; ) e = e.parent; - return new Yk(this.p, this.stack.slice(), this.state, this.reducePos, this.pos, this.score, n, i, this.curContext, this.lookAhead, e); + return new Y5(this.p, this.stack.slice(), this.state, this.reducePos, this.pos, this.score, n, i, this.curContext, this.lookAhead, e); } recoverByDelete(e, r) { let n = e <= this.p.parser.maxNode; @@ -21547,12 +21547,12 @@ class x_e { this.state = i; } } -class Wk { +class W5 { constructor(e, r, n) { this.stack = e, this.pos = r, this.index = n, this.buffer = e.buffer, this.index == 0 && this.maybeNext(); } static create(e, r = e.bufferBase + e.buffer.length) { - return new Wk(e, r, r - e.bufferBase); + return new W5(e, r, r - e.bufferBase); } maybeNext() { let e = this.stack.parent; @@ -21574,7 +21574,7 @@ class Wk { this.index -= 4, this.pos -= 4, this.index == 0 && this.maybeNext(); } fork() { - return new Wk(this.stack, this.pos, this.index); + return new W5(this.stack, this.pos, this.index); } } function ay(t, e = Uint16Array) { @@ -21599,12 +21599,12 @@ function ay(t, e = Uint16Array) { } return r; } -class p5 { +class pk { constructor() { this.start = -1, this.value = -1, this.end = -1, this.extended = -1, this.lookAhead = 0, this.mask = 0, this.context = 0; } } -const YQ = new p5(); +const YQ = new pk(); class w_e { constructor(e, r) { this.input = e, this.ranges = r, this.chunk = "", this.chunkOff = 0, this.chunk2 = "", this.chunk2Pos = 0, this.next = -1, this.token = YQ, this.rangeIndex = 0, this.pos = this.chunkPos = r[0].from, this.range = r[0], this.end = r[r.length - 1].to, this.readNext(); @@ -21723,7 +21723,7 @@ class Fg { } } Fg.prototype.contextual = Fg.prototype.fallback = Fg.prototype.extend = !1; -class Gk { +class G5 { constructor(e, r, n) { this.precTable = r, this.elseToken = n, this.data = typeof e == "string" ? ay(e) : e; } @@ -21742,7 +21742,7 @@ class Gk { i && (e.reset(n, e.token), e.acceptToken(this.elseToken, i)); } } -Gk.prototype.contextual = Fg.prototype.fallback = Fg.prototype.extend = !1; +G5.prototype.contextual = Fg.prototype.fallback = Fg.prototype.extend = !1; class Pa { constructor(e, r = {}) { this.token = e, this.contextual = !!r.contextual, this.fallback = !!r.fallback, this.extend = !!r.extend; @@ -21856,7 +21856,7 @@ class k_e { } class S_e { constructor(e, r) { - this.stream = r, this.tokens = [], this.mainToken = null, this.actions = [], this.tokens = e.tokenizers.map((n) => new p5()); + this.stream = r, this.tokens = [], this.mainToken = null, this.actions = [], this.tokens = e.tokenizers.map((n) => new pk()); } getActions(e) { let r = 0, n = null, { parser: i } = e.p, { tokenizers: s } = i, a = i.stateSlot(e.state, 3), o = e.curContext ? e.curContext.hash : 0, l = 0; @@ -21872,12 +21872,12 @@ class S_e { } for (; this.actions.length > r; ) this.actions.pop(); - return l && e.setLookAhead(l), !n && e.pos == this.stream.end && (n = new p5(), n.value = e.p.parser.eofTerm, n.start = n.end = e.pos, r = this.addActions(e, n.value, n.end, r)), this.mainToken = n, this.actions; + return l && e.setLookAhead(l), !n && e.pos == this.stream.end && (n = new pk(), n.value = e.p.parser.eofTerm, n.start = n.end = e.pos, r = this.addActions(e, n.value, n.end, r)), this.mainToken = n, this.actions; } getMainToken(e) { if (this.mainToken) return this.mainToken; - let r = new p5(), { pos: n, p: i } = e; + let r = new pk(), { pos: n, p: i } = e; return r.start = n, r.end = Math.min(n + 1, i.stream.end), r.value = n == i.stream.end ? i.parser.eofTerm : 0, r; } updateCachedToken(e, r, n) { @@ -21921,7 +21921,7 @@ class T_e { constructor(e, r, n, i) { this.parser = e, this.input = r, this.ranges = i, this.recovering = 0, this.nextStackID = 9812, this.minStackPos = 0, this.reused = [], this.stoppedAt = null, this.lastBigReductionStart = -1, this.lastBigReductionSize = 0, this.bigReductionCount = 0, this.stream = new w_e(r, i), this.tokens = new S_e(e, this.stream), this.topTerm = e.top[1]; let { from: s } = i[0]; - this.stacks = [Yk.start(this, e.top[0], s)], this.fragments = n.length && this.stream.end - s > e.bufferLength * 4 ? new k_e(n, e.nodeSet) : null; + this.stacks = [Y5.start(this, e.top[0], s)], this.fragments = n.length && this.stream.end - s > e.bufferLength * 4 ? new k_e(n, e.nodeSet) : null; } get parsedPos() { return this.minStackPos; @@ -22057,7 +22057,7 @@ class T_e { } stackToTree(e) { return e.close(), nn.build({ - buffer: Wk.create(e), + buffer: W5.create(e), nodeSet: this.parser.nodeSet, topID: this.topTerm, maxBufferLength: this.parser.bufferLength, @@ -22285,7 +22285,7 @@ function HQ(t) { } return t.get; } -const __e = 54, A_e = 1, L_e = 55, R_e = 2, M_e = 56, D_e = 3, ZQ = 4, P_e = 5, Xk = 6, jre = 7, Kre = 8, Jre = 9, ene = 10, N_e = 11, I_e = 12, $_e = 13, J_ = 57, B_e = 14, jQ = 58, tne = 20, F_e = 22, rne = 23, z_e = 24, t9 = 26, nne = 27, Q_e = 28, U_e = 31, V_e = 34, q_e = 36, Y_e = 37, W_e = 0, G_e = 1, X_e = { +const __e = 54, A_e = 1, L_e = 55, R_e = 2, M_e = 56, D_e = 3, ZQ = 4, P_e = 5, X5 = 6, jre = 7, Kre = 8, Jre = 9, ene = 10, N_e = 11, I_e = 12, $_e = 13, J_ = 57, B_e = 14, jQ = 58, tne = 20, F_e = 22, rne = 23, z_e = 24, t9 = 26, nne = 27, Q_e = 28, U_e = 31, V_e = 34, q_e = 36, Y_e = 37, W_e = 0, G_e = 1, X_e = { area: !0, base: !0, br: !0, @@ -22380,13 +22380,13 @@ function r9(t, e) { i += String.fromCharCode(n), n = t.peek(++e); return eU = t, tU = r, JQ = i ? i.toLowerCase() : n == j_e || n == K_e ? void 0 : null; } -const sne = 60, Hk = 62, eP = 47, j_e = 63, K_e = 33, J_e = 45; +const sne = 60, H5 = 62, eP = 47, j_e = 63, K_e = 33, J_e = 45; function rU(t, e) { this.name = t, this.parent = e, this.hash = e ? e.hash : 0; for (let r = 0; r < t.length; r++) this.hash += (this.hash << 4) + t.charCodeAt(r) + (t.charCodeAt(r) << 8); } -const e6e = [Xk, ene, jre, Kre, Jre], t6e = new JD({ +const e6e = [X5, ene, jre, Kre, Jre], t6e = new JD({ start: null, shift(t, e, r, n) { return e6e.indexOf(e) > -1 ? new rU(r9(n, 1) || "", t) : t; @@ -22396,7 +22396,7 @@ const e6e = [Xk, ene, jre, Kre, Jre], t6e = new JD({ }, reuse(t, e, r, n) { let i = e.type.id; - return i == Xk || i == q_e ? new rU(r9(n, 1) || "", t) : t; + return i == X5 || i == q_e ? new rU(r9(n, 1) || "", t) : t; }, hash(t) { return t ? t.hash : 0; @@ -22414,7 +22414,7 @@ const e6e = [Xk, ene, jre, Kre, Jre], t6e = new JD({ if (n === void 0) return; if (!n) - return t.acceptToken(r ? B_e : Xk); + return t.acceptToken(r ? B_e : X5); let i = e.context ? e.context.name : null; if (r) { if (n == i) @@ -22436,7 +22436,7 @@ const e6e = [Xk, ene, jre, Kre, Jre], t6e = new JD({ return t.acceptToken(Jre); if (X_e.hasOwnProperty(n)) return t.acceptToken(ene); - i && KQ[i] && KQ[i][n] ? t.acceptToken(J_, -1) : t.acceptToken(Xk); + i && KQ[i] && KQ[i][n] ? t.acceptToken(J_, -1) : t.acceptToken(X5); } }, { contextual: !0 }), n6e = new Pa((t) => { for (let e = 0, r = 0; ; r++) { @@ -22446,7 +22446,7 @@ const e6e = [Xk, ene, jre, Kre, Jre], t6e = new JD({ } if (t.next == J_e) e++; - else if (t.next == Hk && e >= 2) { + else if (t.next == H5 && e >= 2) { r >= 3 && t.acceptToken(jQ, -2); break; } else @@ -22461,11 +22461,11 @@ function i6e(t) { return !1; } const s6e = new Pa((t, e) => { - if (t.next == eP && t.peek(1) == Hk) { + if (t.next == eP && t.peek(1) == H5) { let r = e.dialectEnabled(G_e) || i6e(e.context); t.acceptToken(r ? P_e : ZQ, 2); } else - t.next == Hk && t.acceptToken(ZQ, 1); + t.next == H5 && t.acceptToken(ZQ, 1); }); function tP(t, e, r) { let n = 2 + t.length; @@ -22479,7 +22479,7 @@ function tP(t, e, r) { s++, a++; else if ((s == 2 || s == n) && ine(i.next)) a++; - else if (s == n && i.next == Hk) { + else if (s == n && i.next == H5) { o > a ? i.acceptToken(e, -a) : i.acceptToken(r, -(a - 2)); break; } else if ((i.next == 10 || i.next == 13) && o) { @@ -22617,8 +22617,8 @@ const h6e = 96, iU = 1, f6e = 97, d6e = 98, sU = 2, lne = [ 8239, 8287, 12288 -], p6e = 58, g6e = 40, cne = 95, m6e = 91, g5 = 45, v6e = 46, y6e = 35, b6e = 37, x6e = 38, w6e = 92, O6e = 10; -function Zk(t) { +], p6e = 58, g6e = 40, cne = 95, m6e = 91, gk = 45, v6e = 46, y6e = 35, b6e = 37, x6e = 38, w6e = 92, O6e = 10; +function Z5(t) { return t >= 65 && t <= 90 || t >= 97 && t <= 122 || t >= 161; } function k6e(t) { @@ -22627,8 +22627,8 @@ function k6e(t) { const S6e = new Pa((t, e) => { for (let r = !1, n = 0, i = 0; ; i++) { let { next: s } = t; - if (Zk(s) || s == g5 || s == cne || r && k6e(s)) - !r && (s != g5 || i > 0) && (r = !0), n === i && s == g5 && n++, t.advance(); + if (Z5(s) || s == gk || s == cne || r && k6e(s)) + !r && (s != gk || i > 0) && (r = !0), n === i && s == gk && n++, t.advance(); else if (s == w6e && t.peek(1) != O6e) t.advance(), t.next > -1 && t.advance(), r = !0; else { @@ -22639,15 +22639,15 @@ const S6e = new Pa((t, e) => { }), T6e = new Pa((t) => { if (lne.includes(t.peek(-1))) { let { next: e } = t; - (Zk(e) || e == cne || e == y6e || e == v6e || e == m6e || e == p6e || e == g5 || e == x6e) && t.acceptToken(h6e); + (Z5(e) || e == cne || e == y6e || e == v6e || e == m6e || e == p6e || e == gk || e == x6e) && t.acceptToken(h6e); } }), C6e = new Pa((t) => { if (!lne.includes(t.peek(-1))) { let { next: e } = t; - if (e == b6e && (t.advance(), t.acceptToken(iU)), Zk(e)) { + if (e == b6e && (t.advance(), t.acceptToken(iU)), Z5(e)) { do t.advance(); - while (Zk(t.next)); + while (Z5(t.next)); t.acceptToken(iU); } } @@ -22699,7 +22699,7 @@ const S6e = new Pa((t, e) => { skippedNodes: [0, 3, 85], repeatNodeCount: 10, tokenData: "J^~R!^OX$}X^%u^p$}pq%uqr)Xrs.Rst/utu6duv$}vw7^wx7oxy9^yz9oz{9t{|:_|}?Q}!O?c!O!P@Q!P!Q@i!Q![Ab![!]B]!]!^CX!^!_$}!_!`Cj!`!aC{!a!b$}!b!cDw!c!}$}!}#OFa#O#P$}#P#QFr#Q#R6d#R#T$}#T#UGT#U#c$}#c#dHf#d#o$}#o#pH{#p#q6d#q#rI^#r#sIo#s#y$}#y#z%u#z$f$}$f$g%u$g#BY$}#BY#BZ%u#BZ$IS$}$IS$I_%u$I_$I|$}$I|$JO%u$JO$JT$}$JT$JU%u$JU$KV$}$KV$KW%u$KW&FU$}&FU&FV%u&FV;'S$};'S;=`JW<%lO$}`%QSOy%^z;'S%^;'S;=`%o<%lO%^`%cSo`Oy%^z;'S%^;'S;=`%o<%lO%^`%rP;=`<%l%^~%zh#W~OX%^X^'f^p%^pq'fqy%^z#y%^#y#z'f#z$f%^$f$g'f$g#BY%^#BY#BZ'f#BZ$IS%^$IS$I_'f$I_$I|%^$I|$JO'f$JO$JT%^$JT$JU'f$JU$KV%^$KV$KW'f$KW&FU%^&FU&FV'f&FV;'S%^;'S;=`%o<%lO%^~'mh#W~o`OX%^X^'f^p%^pq'fqy%^z#y%^#y#z'f#z$f%^$f$g'f$g#BY%^#BY#BZ'f#BZ$IS%^$IS$I_'f$I_$I|%^$I|$JO'f$JO$JT%^$JT$JU'f$JU$KV%^$KV$KW'f$KW&FU%^&FU&FV'f&FV;'S%^;'S;=`%o<%lO%^l)[UOy%^z#]%^#]#^)n#^;'S%^;'S;=`%o<%lO%^l)sUo`Oy%^z#a%^#a#b*V#b;'S%^;'S;=`%o<%lO%^l*[Uo`Oy%^z#d%^#d#e*n#e;'S%^;'S;=`%o<%lO%^l*sUo`Oy%^z#c%^#c#d+V#d;'S%^;'S;=`%o<%lO%^l+[Uo`Oy%^z#f%^#f#g+n#g;'S%^;'S;=`%o<%lO%^l+sUo`Oy%^z#h%^#h#i,V#i;'S%^;'S;=`%o<%lO%^l,[Uo`Oy%^z#T%^#T#U,n#U;'S%^;'S;=`%o<%lO%^l,sUo`Oy%^z#b%^#b#c-V#c;'S%^;'S;=`%o<%lO%^l-[Uo`Oy%^z#h%^#h#i-n#i;'S%^;'S;=`%o<%lO%^l-uS!V[o`Oy%^z;'S%^;'S;=`%o<%lO%^~.UWOY.RZr.Rrs.ns#O.R#O#P.s#P;'S.R;'S;=`/o<%lO.R~.sOh~~.vRO;'S.R;'S;=`/P;=`O.R~/SXOY.RZr.Rrs.ns#O.R#O#P.s#P;'S.R;'S;=`/o;=`<%l.R<%lO.R~/rP;=`<%l.Rn/zYtQOy%^z!Q%^!Q![0j![!c%^!c!i0j!i#T%^#T#Z0j#Z;'S%^;'S;=`%o<%lO%^l0oYo`Oy%^z!Q%^!Q![1_![!c%^!c!i1_!i#T%^#T#Z1_#Z;'S%^;'S;=`%o<%lO%^l1dYo`Oy%^z!Q%^!Q![2S![!c%^!c!i2S!i#T%^#T#Z2S#Z;'S%^;'S;=`%o<%lO%^l2ZYf[o`Oy%^z!Q%^!Q![2y![!c%^!c!i2y!i#T%^#T#Z2y#Z;'S%^;'S;=`%o<%lO%^l3QYf[o`Oy%^z!Q%^!Q![3p![!c%^!c!i3p!i#T%^#T#Z3p#Z;'S%^;'S;=`%o<%lO%^l3uYo`Oy%^z!Q%^!Q![4e![!c%^!c!i4e!i#T%^#T#Z4e#Z;'S%^;'S;=`%o<%lO%^l4lYf[o`Oy%^z!Q%^!Q![5[![!c%^!c!i5[!i#T%^#T#Z5[#Z;'S%^;'S;=`%o<%lO%^l5aYo`Oy%^z!Q%^!Q![6P![!c%^!c!i6P!i#T%^#T#Z6P#Z;'S%^;'S;=`%o<%lO%^l6WSf[o`Oy%^z;'S%^;'S;=`%o<%lO%^d6gUOy%^z!_%^!_!`6y!`;'S%^;'S;=`%o<%lO%^d7QSzSo`Oy%^z;'S%^;'S;=`%o<%lO%^b7cSXQOy%^z;'S%^;'S;=`%o<%lO%^~7rWOY7oZw7owx.nx#O7o#O#P8[#P;'S7o;'S;=`9W<%lO7o~8_RO;'S7o;'S;=`8h;=`O7o~8kXOY7oZw7owx.nx#O7o#O#P8[#P;'S7o;'S;=`9W;=`<%l7o<%lO7o~9ZP;=`<%l7on9cSb^Oy%^z;'S%^;'S;=`%o<%lO%^~9tOa~n9{UUQjWOy%^z!_%^!_!`6y!`;'S%^;'S;=`%o<%lO%^n:fWjW!PQOy%^z!O%^!O!P;O!P!Q%^!Q![>T![;'S%^;'S;=`%o<%lO%^l;TUo`Oy%^z!Q%^!Q![;g![;'S%^;'S;=`%o<%lO%^l;nYo`#b[Oy%^z!Q%^!Q![;g![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^l[[o`#b[Oy%^z!O%^!O!P;g!P!Q%^!Q![>T![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^n?VSp^Oy%^z;'S%^;'S;=`%o<%lO%^l?hWjWOy%^z!O%^!O!P;O!P!Q%^!Q![>T![;'S%^;'S;=`%o<%lO%^n@VU#_QOy%^z!Q%^!Q![;g![;'S%^;'S;=`%o<%lO%^~@nTjWOy%^z{@}{;'S%^;'S;=`%o<%lO%^~AUSo`#X~Oy%^z;'S%^;'S;=`%o<%lO%^lAg[#b[Oy%^z!O%^!O!P;g!P!Q%^!Q![>T![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^bBbU]QOy%^z![%^![!]Bt!];'S%^;'S;=`%o<%lO%^bB{S^Qo`Oy%^z;'S%^;'S;=`%o<%lO%^nC^S!W^Oy%^z;'S%^;'S;=`%o<%lO%^dCoSzSOy%^z;'S%^;'S;=`%o<%lO%^bDQU|QOy%^z!`%^!`!aDd!a;'S%^;'S;=`%o<%lO%^bDkS|Qo`Oy%^z;'S%^;'S;=`%o<%lO%^bDzWOy%^z!c%^!c!}Ed!}#T%^#T#oEd#o;'S%^;'S;=`%o<%lO%^bEk[!YQo`Oy%^z}%^}!OEd!O!Q%^!Q![Ed![!c%^!c!}Ed!}#T%^#T#oEd#o;'S%^;'S;=`%o<%lO%^bFfSxQOy%^z;'S%^;'S;=`%o<%lO%^lFwSv[Oy%^z;'S%^;'S;=`%o<%lO%^bGWUOy%^z#b%^#b#cGj#c;'S%^;'S;=`%o<%lO%^bGoUo`Oy%^z#W%^#W#XHR#X;'S%^;'S;=`%o<%lO%^bHYS!`Qo`Oy%^z;'S%^;'S;=`%o<%lO%^bHiUOy%^z#f%^#f#gHR#g;'S%^;'S;=`%o<%lO%^fIQS!RUOy%^z;'S%^;'S;=`%o<%lO%^nIcS!Q^Oy%^z;'S%^;'S;=`%o<%lO%^fItU!PQOy%^z!_%^!_!`6y!`;'S%^;'S;=`%o<%lO%^`JZP;=`<%l$}", - tokenizers: [T6e, C6e, S6e, 1, 2, 3, 4, new Gk("m~RRYZ[z{a~~g~aO#Z~~dP!P!Qg~lO#[~~", 28, 102)], + tokenizers: [T6e, C6e, S6e, 1, 2, 3, 4, new G5("m~RRYZ[z{a~~g~aO#Z~~dP!P!Qg~lO#[~~", 28, 102)], topRules: { StyleSheet: [0, 4], Styles: [1, 84] }, specialized: [{ term: 97, get: (t) => _6e[t] || -1 }, { term: 56, get: (t) => A6e[t] || -1 }, { term: 98, get: (t) => L6e[t] || -1 }], tokenPrec: 1169 @@ -23484,12 +23484,12 @@ const $6e = (t) => (e) => { return null; let a = i.resolve(n), o = a.childBefore(n); return o && o.name == ":" && a.name == "PseudoClassSelector" ? { from: n, options: aU, validFor: Uh } : o && o.name == ":" && a.name == "Declaration" || a.name == "ArgList" ? { from: n, options: oU, validFor: Uh } : a.name == "Block" || a.name == "Styles" ? { from: n, options: r6(), validFor: Uh } : null; -}, B6e = /* @__PURE__ */ $6e((t) => t.name == "VariableName"), jk = /* @__PURE__ */ Bf.define({ +}, B6e = /* @__PURE__ */ $6e((t) => t.name == "VariableName"), j5 = /* @__PURE__ */ Bf.define({ name: "css", parser: /* @__PURE__ */ R6e.configure({ props: [ /* @__PURE__ */ x1.add({ - Declaration: /* @__PURE__ */ l5() + Declaration: /* @__PURE__ */ lk() }), /* @__PURE__ */ vp.add({ "Block KeyframeList": hD @@ -23503,7 +23503,7 @@ const $6e = (t) => (e) => { } }); function F6e() { - return new gm(jk, jk.data.of({ autocomplete: B6e })); + return new gm(j5, j5.data.of({ autocomplete: B6e })); } const z6e = 309, cU = 1, Q6e = 2, U6e = 3, V6e = 310, q6e = 312, Y6e = 313, W6e = 4, G6e = 5, X6e = 0, n9 = [ 9, @@ -23652,7 +23652,7 @@ const sAe = new Pa((t, e) => { skippedNodes: [0, 4, 5, 271], repeatNodeCount: 37, tokenData: "$Fj(CSR!bOX%ZXY+gYZ-yZ[+g[]%Z]^.c^p%Zpq+gqr/mrs3cst:_tuEruvJSvwLkwx! Yxy!'iyz!(sz{!)}{|!,q|}!.O}!O!,q!O!P!/Y!P!Q!9j!Q!R#8g!R![#:v![!]#Gv!]!^#IS!^!_#J^!_!`#Ns!`!a$#_!a!b$(l!b!c$,k!c!}Er!}#O$-u#O#P$/P#P#Q$4h#Q#R$5r#R#SEr#S#T$7P#T#o$8Z#o#p$q#r#s$?}#s$f%Z$f$g+g$g#BYEr#BY#BZ$AX#BZ$ISEr$IS$I_$AX$I_$I|Er$I|$I}$Dd$I}$JO$Dd$JO$JTEr$JT$JU$AX$JU$KVEr$KV$KW$AX$KW&FUEr&FU&FV$AX&FV;'SEr;'S;=`I|<%l?HTEr?HT?HU$AX?HUOEr(n%d_$f&j(Op(R!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z&j&hT$f&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c&j&zP;=`<%l&c'|'U]$f&j(R!bOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}!b(SU(R!bOY'}Zw'}x#O'}#P;'S'};'S;=`(f<%lO'}!b(iP;=`<%l'}'|(oP;=`<%l&}'[(y]$f&j(OpOY(rYZ&cZr(rrs&cs!^(r!^!_)r!_#O(r#O#P&c#P#o(r#o#p)r#p;'S(r;'S;=`*a<%lO(rp)wU(OpOY)rZr)rs#O)r#P;'S)r;'S;=`*Z<%lO)rp*^P;=`<%l)r'[*dP;=`<%l(r#S*nX(Op(R!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g#S+^P;=`<%l*g(n+dP;=`<%l%Z(CS+rq$f&j(Op(R!b't(;dOX%ZXY+gYZ&cZ[+g[p%Zpq+gqr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p$f%Z$f$g+g$g#BY%Z#BY#BZ+g#BZ$IS%Z$IS$I_+g$I_$JT%Z$JT$JU+g$JU$KV%Z$KV$KW+g$KW&FU%Z&FU&FV+g&FV;'S%Z;'S;=`+a<%l?HT%Z?HT?HU+g?HUO%Z(CS.ST(P#S$f&j'u(;dO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c(CS.n_$f&j(Op(R!b'u(;dOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#`/x`$f&j!o$Ip(Op(R!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`0z!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#S1V`#t$Id$f&j(Op(R!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`2X!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#S2d_#t$Id$f&j(Op(R!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/|3l_'}$(n$f&j(R!bOY4kYZ5qZr4krs7nsw4kwx5qx!^4k!^!_8p!_#O4k#O#P5q#P#o4k#o#p8p#p;'S4k;'S;=`:X<%lO4k(^4r_$f&j(R!bOY4kYZ5qZr4krs7nsw4kwx5qx!^4k!^!_8p!_#O4k#O#P5q#P#o4k#o#p8p#p;'S4k;'S;=`:X<%lO4k&z5vX$f&jOr5qrs6cs!^5q!^!_6y!_#o5q#o#p6y#p;'S5q;'S;=`7h<%lO5q&z6jT$a`$f&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c`6|TOr6yrs7]s;'S6y;'S;=`7b<%lO6y`7bO$a``7eP;=`<%l6y&z7kP;=`<%l5q(^7w]$a`$f&j(R!bOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}!r8uZ(R!bOY8pYZ6yZr8prs9hsw8pwx6yx#O8p#O#P6y#P;'S8p;'S;=`:R<%lO8p!r9oU$a`(R!bOY'}Zw'}x#O'}#P;'S'};'S;=`(f<%lO'}!r:UP;=`<%l8p(^:[P;=`<%l4k#%|:hh$f&j(Op(R!bOY%ZYZ&cZq%Zqr`#P#o`x!^=^!^!_?q!_#O=^#O#P>`#P#o=^#o#p?q#p;'S=^;'S;=`@h<%lO=^&n>gXVS$f&jOY>`YZ&cZ!^>`!^!_?S!_#o>`#o#p?S#p;'S>`;'S;=`?k<%lO>`S?XSVSOY?SZ;'S?S;'S;=`?e<%lO?SS?hP;=`<%l?S&n?nP;=`<%l>`!f?xWVS(R!bOY?qZw?qwx?Sx#O?q#O#P?S#P;'S?q;'S;=`@b<%lO?q!f@eP;=`<%l?q(Q@kP;=`<%l=^'`@w]VS$f&j(OpOY@nYZ&cZr@nrs>`s!^@n!^!_Ap!_#O@n#O#P>`#P#o@n#o#pAp#p;'S@n;'S;=`Bg<%lO@ntAwWVS(OpOYApZrAprs?Ss#OAp#O#P?S#P;'SAp;'S;=`Ba<%lOAptBdP;=`<%lAp'`BjP;=`<%l@n#WBvYVS(Op(R!bOYBmZrBmrs?qswBmwxApx#OBm#O#P?S#P;'SBm;'S;=`Cf<%lOBm#WCiP;=`<%lBm(rCoP;=`<%lQ^$f&j!USOY!=yYZ&cZ!P!=y!P!Q!>|!Q!^!=y!^!_!@Y!_!}!=y!}#O!Bw#O#P!Dj#P#o!=y#o#p!@Y#p;'S!=y;'S;=`!E[<%lO!=y&n!?Ta$f&j!USO!^&c!_#Z&c#Z#[!>|#[#]&c#]#^!>|#^#a&c#a#b!>|#b#g&c#g#h!>|#h#i&c#i#j!>|#j#m&c#m#n!>|#n#o&c#p;'S&c;'S;=`&w<%lO&cS!@_X!USOY!@YZ!P!@Y!P!Q!@z!Q!}!@Y!}#O!Ac#O#P!Bb#P;'S!@Y;'S;=`!Bq<%lO!@YS!APU!US#Z#[!@z#]#^!@z#a#b!@z#g#h!@z#i#j!@z#m#n!@zS!AfVOY!AcZ#O!Ac#O#P!A{#P#Q!@Y#Q;'S!Ac;'S;=`!B[<%lO!AcS!BOSOY!AcZ;'S!Ac;'S;=`!B[<%lO!AcS!B_P;=`<%l!AcS!BeSOY!@YZ;'S!@Y;'S;=`!Bq<%lO!@YS!BtP;=`<%l!@Y&n!B|[$f&jOY!BwYZ&cZ!^!Bw!^!_!Ac!_#O!Bw#O#P!Cr#P#Q!=y#Q#o!Bw#o#p!Ac#p;'S!Bw;'S;=`!Dd<%lO!Bw&n!CwX$f&jOY!BwYZ&cZ!^!Bw!^!_!Ac!_#o!Bw#o#p!Ac#p;'S!Bw;'S;=`!Dd<%lO!Bw&n!DgP;=`<%l!Bw&n!DoX$f&jOY!=yYZ&cZ!^!=y!^!_!@Y!_#o!=y#o#p!@Y#p;'S!=y;'S;=`!E[<%lO!=y&n!E_P;=`<%l!=y(Q!Eki$f&j(R!b!USOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#Z&}#Z#[!Eb#[#]&}#]#^!Eb#^#a&}#a#b!Eb#b#g&}#g#h!Eb#h#i&}#i#j!Eb#j#m&}#m#n!Eb#n#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}!f!GaZ(R!b!USOY!GYZw!GYwx!@Yx!P!GY!P!Q!HS!Q!}!GY!}#O!Ic#O#P!Bb#P;'S!GY;'S;=`!JZ<%lO!GY!f!HZb(R!b!USOY'}Zw'}x#O'}#P#Z'}#Z#[!HS#[#]'}#]#^!HS#^#a'}#a#b!HS#b#g'}#g#h!HS#h#i'}#i#j!HS#j#m'}#m#n!HS#n;'S'};'S;=`(f<%lO'}!f!IhX(R!bOY!IcZw!Icwx!Acx#O!Ic#O#P!A{#P#Q!GY#Q;'S!Ic;'S;=`!JT<%lO!Ic!f!JWP;=`<%l!Ic!f!J^P;=`<%l!GY(Q!Jh^$f&j(R!bOY!JaYZ&cZw!Jawx!Bwx!^!Ja!^!_!Ic!_#O!Ja#O#P!Cr#P#Q!Q#V#X%Z#X#Y!4|#Y#b%Z#b#c#Zd$f&j(Op(R!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!R#?i!R!S#?i!S!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#?i#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/l#?tf$f&j(Op(R!bo$'|OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!R#?i!R!S#?i!S!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#?i#S#b%Z#b#c# { let e = t.textAfter, r = /^\s*\}/.test(e), n = /^\s*(case|default)\b/.test(e); return t.baseIndent + (r ? 0 : n ? 1 : 2) * t.unit; @@ -23842,7 +23842,7 @@ const tu = /* @__PURE__ */ Bf.define({ Block: /* @__PURE__ */ C8({ closing: "}" }), ArrowFunction: (t) => t.baseIndent + t.unit, "TemplateString BlockComment": () => null, - "Statement Property": /* @__PURE__ */ l5({ except: /^{/ }), + "Statement Property": /* @__PURE__ */ lk({ except: /^{/ }), JSXElement(t) { let e = /^\s*<\//.test(t.textAfter); return t.lineIndent(t.node.from) + (e ? 0 : t.unit); @@ -24502,12 +24502,12 @@ const CAe = /* @__PURE__ */ tu.parser.configure({ top: "SingleExpression" }), En attrs(t) { return (!t.lang || t.lang == "css") && (!t.type || /^(text\/)?(x-)?(stylesheet|css)$/i.test(t.type)); }, - parser: jk.parser + parser: j5.parser } ], _ne = /* @__PURE__ */ [ { name: "style", - parser: /* @__PURE__ */ jk.parser.configure({ top: "Styles" }) + parser: /* @__PURE__ */ j5.parser.configure({ top: "Styles" }) } ].concat(/* @__PURE__ */ kne.map((t) => ({ name: t, parser: tu.parser }))), Ane = /* @__PURE__ */ Bf.define({ name: "html", @@ -24550,22 +24550,22 @@ const CAe = /* @__PURE__ */ tu.parser.configure({ top: "SingleExpression" }), En indentOnInput: /^\s*<\/\w+\W$/, wordChars: "-._" } -}), m5 = /* @__PURE__ */ Ane.configure({ +}), mk = /* @__PURE__ */ Ane.configure({ wrap: /* @__PURE__ */ one(Ene, _ne) }); function EAe(t = {}) { let e = "", r; t.matchClosingTags === !1 && (e = "noMatch"), t.selfClosingTags === !0 && (e = (e ? e + " " : "") + "selfClosing"), (t.nestedLanguages && t.nestedLanguages.length || t.nestedAttributes && t.nestedAttributes.length) && (r = one((t.nestedLanguages || []).concat(Ene), (t.nestedAttributes || []).concat(_ne))); - let n = r ? Ane.configure({ wrap: r, dialect: e }) : e ? m5.configure({ dialect: e }) : m5; + let n = r ? Ane.configure({ wrap: r, dialect: e }) : e ? mk.configure({ dialect: e }) : mk; return new gm(n, [ - m5.data.of({ autocomplete: TAe(t) }), + mk.data.of({ autocomplete: TAe(t) }), t.autoCloseTags !== !1 ? _Ae : [], mAe().support, F6e().support ]); } const gU = /* @__PURE__ */ new Set(/* @__PURE__ */ "area base br col command embed frame hr img input keygen link meta param source track wbr menuitem".split(" ")), _Ae = /* @__PURE__ */ kt.inputHandler.of((t, e, r, n, i) => { - if (t.composing || t.state.readOnly || e != r || n != ">" && n != "/" || !m5.isActiveAt(t.state, e, -1)) + if (t.composing || t.state.readOnly || e != r || n != ">" && n != "/" || !mk.isActiveAt(t.state, e, -1)) return !1; let s = i(), { state: a } = s, o = a.changeByRange((l) => { var u, h, f; @@ -24645,7 +24645,7 @@ function DAe(t, e) { return (r) => { if (r && t) { let n = null; - if (r = /\S*/.exec(r)[0], typeof t == "function" ? n = t(r) : n = kk.matchLanguageName(t, r, !0), n instanceof kk) + if (r = /\S*/.exec(r)[0], typeof t == "function" ? n = t(r) : n = k5.matchLanguageName(t, r, !0), n instanceof k5) return n.support ? n.support.language.parser : O2.getSkippingParser(n.load()); if (n) return n.parser; @@ -25614,7 +25614,7 @@ const f7e = (t) => ["input", "delete", "undo", "redo"].some((e) => t.isUserEvent } }, { decorations: (t) => t.decorations -}), c9 = or.define(), Kk = Xn.define({ +}), c9 = or.define(), K5 = Xn.define({ create() { return null; }, @@ -25626,7 +25626,7 @@ const f7e = (t) => ["input", "delete", "undo", "redo"].some((e) => t.isUserEvent }); class xU extends ul { constructor(e, r) { - super(), r && e && (this.lineNumber = r.state.doc.lineAt(e.to).number, this.lineAuthors = r.state.facet(U2), this.selectedLine = r.state.facet(Kk)); + super(), r && e && (this.lineNumber = r.state.doc.lineAt(e.to).number, this.lineAuthors = r.state.facet(U2), this.selectedLine = r.state.facet(K5)); } authorAvatar() { const { @@ -25641,9 +25641,9 @@ class xU extends ul { } const p7e = BT({ lineMarker: (t, e) => new xU(e, t), - lineMarkerChange: (t) => t.startState.field(Kk) != t.state.field(Kk), + lineMarkerChange: (t) => t.startState.field(K5) != t.state.field(K5), initialSpacer: () => new xU(null, null) -}), g7e = (t) => [U2.of(t), Kk.init(null), p7e, d7e], xp = Ht.button` +}), g7e = (t) => [U2.of(t), K5.init(null), p7e, d7e], xp = Ht.button` &:focus { outline: 0 !important; } @@ -25844,7 +25844,7 @@ function Tv(t) { iC(); } } -var dn = void 0, Uy = void 0, Tf = 0, u9 = 0, Jk = 0; +var dn = void 0, Uy = void 0, Tf = 0, u9 = 0, J5 = 0; function Zne(t) { if (dn !== void 0) { var e = t.n; @@ -25907,7 +25907,7 @@ Object.defineProperty(Ms.prototype, "value", { get: function() { if (t !== this.v) { if (u9 > 100) throw new Error("Cycle detected"); - this.v = t, this.i++, Jk++, Tf++; + this.v = t, this.i++, J5++, Tf++; try { for (var e = this.t; e !== void 0; e = e.x) e.t.N(); @@ -25942,14 +25942,14 @@ function Jne(t) { t.s = r; } function _1(t) { - Ms.call(this, void 0), this.x = t, this.s = void 0, this.g = Jk - 1, this.f = 4; + Ms.call(this, void 0), this.x = t, this.s = void 0, this.g = J5 - 1, this.f = 4; } (_1.prototype = new Ms()).h = function() { if (this.f &= -3, 1 & this.f) return !1; - if ((36 & this.f) == 32 || (this.f &= -5, this.g === Jk)) + if ((36 & this.f) == 32 || (this.f &= -5, this.g === J5)) return !0; - if (this.g = Jk, this.f |= 1, this.i > 0 && !jne(this)) + if (this.g = J5, this.f |= 1, this.i > 0 && !jne(this)) return this.f &= -2, !0; var t = dn; try { @@ -26495,7 +26495,7 @@ const CB = class { const r = e.transactions[0].effects[0].is(hh), { from: n, to: i - } = e.transactions[0].effects[0].value, s = e.state.doc.lineAt(n).number, a = e.state.doc.lineAt(i).number, o = k5e(e.state).iter(0), l = []; + } = e.transactions[0].effects[0].value, s = e.state.doc.lineAt(n).number, a = e.state.doc.lineAt(i).number, o = kke(e.state).iter(0), l = []; for (let u = o; u.value != null; o.next()) (u.from != n || u.to != i) && l.push({ fromLine: e.state.doc.lineAt(u.from).number, @@ -29041,13 +29041,13 @@ function iRe() { return !1; } } -function v5(t, e, r) { - return iRe() ? v5 = Reflect.construct : v5 = function(i, s, a) { +function vk(t, e, r) { + return iRe() ? vk = Reflect.construct : vk = function(i, s, a) { var o = [null]; o.push.apply(o, s); var l = Function.bind.apply(i, o), u = new l(); return a && b9(u, a.prototype), u; - }, v5.apply(null, arguments); + }, vk.apply(null, arguments); } function _l(t) { return sRe(t) || aRe(t) || oRe(t) || lRe(); @@ -29092,9 +29092,9 @@ sc || (sc = function(e) { return e; }); w9 || (w9 = function(e, r) { - return v5(e, _l(r)); + return vk(e, _l(r)); }); -var pRe = hl(Array.prototype.forEach), QU = hl(Array.prototype.pop), Cv = hl(Array.prototype.push), y5 = hl(String.prototype.toLowerCase), g6 = hl(String.prototype.toString), gRe = hl(String.prototype.match), El = hl(String.prototype.replace), mRe = hl(String.prototype.indexOf), vRe = hl(String.prototype.trim), ma = hl(RegExp.prototype.test), m6 = yRe(TypeError); +var pRe = hl(Array.prototype.forEach), QU = hl(Array.prototype.pop), Cv = hl(Array.prototype.push), yk = hl(String.prototype.toLowerCase), g6 = hl(String.prototype.toString), gRe = hl(String.prototype.match), El = hl(String.prototype.replace), mRe = hl(String.prototype.indexOf), vRe = hl(String.prototype.trim), ma = hl(RegExp.prototype.test), m6 = yRe(TypeError); function hl(t) { return function(e) { for (var r = arguments.length, n = new Array(r > 1 ? r - 1 : 0), i = 1; i < r; i++) @@ -29111,7 +29111,7 @@ function yRe(t) { } function Lr(t, e, r) { var n; - r = (n = r) !== null && n !== void 0 ? n : y5, zU && zU(t, null); + r = (n = r) !== null && n !== void 0 ? n : yk, zU && zU(t, null); for (var i = e.length; i--; ) { var s = e[i]; if (typeof s == "string") { @@ -29209,7 +29209,7 @@ function sse() { })), ee = null, se = null, U = !0, j = !0, W = !1, J = !0, oe = !1, ae = !1, te = !1, De = !1, he = !1, _e = !1, Pe = !1, He = !0, nt = !1, Ge = "user-content-", Ie = !0, de = !1, H = {}, le = null, ye = Lr({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]), ie = null, fe = Lr({}, ["audio", "video", "img", "source", "image", "track"]), pe = null, ge = Lr({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), ve = "http://www.w3.org/1998/Math/MathML", we = "http://www.w3.org/2000/svg", Ee = "http://www.w3.org/1999/xhtml", Re = Ee, Ce = !1, $e = null, Le = Lr({}, [ve, we, Ee], g6), tt, Fe = ["application/xhtml+xml", "text/html"], ot = "text/html", at, bt = null, xt = n.createElement("form"), gt = function(ne) { return ne instanceof RegExp || ne instanceof Function; }, et = function(ne) { - bt && bt === ne || ((!ne || nf(ne) !== "object") && (ne = {}), ne = Ld(ne), tt = Fe.indexOf(ne.PARSER_MEDIA_TYPE) === -1 ? tt = ot : tt = ne.PARSER_MEDIA_TYPE, at = tt === "application/xhtml+xml" ? g6 : y5, Q = "ALLOWED_TAGS" in ne ? Lr({}, ne.ALLOWED_TAGS, at) : Y, G = "ALLOWED_ATTR" in ne ? Lr({}, ne.ALLOWED_ATTR, at) : X, $e = "ALLOWED_NAMESPACES" in ne ? Lr({}, ne.ALLOWED_NAMESPACES, g6) : Le, pe = "ADD_URI_SAFE_ATTR" in ne ? Lr( + bt && bt === ne || ((!ne || nf(ne) !== "object") && (ne = {}), ne = Ld(ne), tt = Fe.indexOf(ne.PARSER_MEDIA_TYPE) === -1 ? tt = ot : tt = ne.PARSER_MEDIA_TYPE, at = tt === "application/xhtml+xml" ? g6 : yk, Q = "ALLOWED_TAGS" in ne ? Lr({}, ne.ALLOWED_TAGS, at) : Y, G = "ALLOWED_ATTR" in ne ? Lr({}, ne.ALLOWED_ATTR, at) : X, $e = "ALLOWED_NAMESPACES" in ne ? Lr({}, ne.ALLOWED_NAMESPACES, g6) : Le, pe = "ADD_URI_SAFE_ATTR" in ne ? Lr( Ld(ge), ne.ADD_URI_SAFE_ATTR, at @@ -29228,7 +29228,7 @@ function sse() { namespaceURI: Re, tagName: "template" }); - var Xe = y5(ne.tagName), Ft = y5(Ne.tagName); + var Xe = yk(ne.tagName), Ft = yk(Ne.tagName); return $e[ne.namespaceURI] ? ne.namespaceURI === we ? Ne.namespaceURI === Ee ? Xe === "svg" : Ne.namespaceURI === ve ? Xe === "svg" && (Ft === "annotation-xml" || Ke[Ft]) : Boolean(it[Xe]) : ne.namespaceURI === ve ? Ne.namespaceURI === Ee ? Xe === "math" : Ne.namespaceURI === we ? Xe === "math" && wt[Ft] : Boolean(At[Xe]) : ne.namespaceURI === Ee ? Ne.namespaceURI === we && !wt[Ft] || Ne.namespaceURI === ve && !Ke[Ft] ? !1 : !At[Xe] && (ct[Xe] || !it[Xe]) : !!(tt === "application/xhtml+xml" && $e[ne.namespaceURI]) : !1; }, st = function(ne) { Cv(e.removed, { @@ -34223,7 +34223,7 @@ var Ise = { exports: {} }; }, L.en = C[S], L.Ls = C, L.p = {}, L; }); })(Ise); -const Ks = Ise.exports, b5 = { +const Ks = Ise.exports, bk = { min: { r: 0, g: 0, @@ -34262,11 +34262,11 @@ const Ks = Ise.exports, b5 = { const i = r < 0.5 ? r * (1 + e) : r + e - r * e, s = 2 * r - i; switch (n) { case "r": - return b5.hue2rgb(s, i, t + 1 / 3) * 255; + return bk.hue2rgb(s, i, t + 1 / 3) * 255; case "g": - return b5.hue2rgb(s, i, t) * 255; + return bk.hue2rgb(s, i, t) * 255; case "b": - return b5.hue2rgb(s, i, t - 1 / 3) * 255; + return bk.hue2rgb(s, i, t - 1 / 3) * 255; } }, rgb2hsl: ({ r: t, g: e, b: r }, n) => { @@ -34290,7 +34290,7 @@ const Ks = Ise.exports, b5 = { return -1; } } -}, Zvt = b5, jvt = { +}, Zvt = bk, jvt = { clamp: (t, e, r) => e > r ? Math.min(e, Math.max(r, t)) : Math.min(r, Math.max(e, t)), round: (t) => Math.round(t * 1e10) / 1e10 }, Kvt = jvt, Jvt = { @@ -34414,11 +34414,11 @@ const syt = iyt, ayt = new syt({ r: 0, g: 0, b: 0, a: 0 }, "transparent"), wC = const { r: e, g: r, b: n, a: i } = t; return i < 1 ? `#${Zh[Math.round(e)]}${Zh[Math.round(r)]}${Zh[Math.round(n)]}${Zh[Math.round(i * 255)]}` : `#${Zh[Math.round(e)]}${Zh[Math.round(r)]}${Zh[Math.round(n)]}`; } -}, Yy = $se, x5 = { +}, Yy = $se, xk = { re: /^hsla?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(?:deg|grad|rad|turn)?)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(%)?))?\s*?\)$/i, hueRe: /^(.+?)(deg|grad|rad|turn)$/i, _hue2deg: (t) => { - const e = t.match(x5.hueRe); + const e = t.match(xk.hueRe); if (e) { const [, r, n] = e; switch (n) { @@ -34436,12 +34436,12 @@ const syt = iyt, ayt = new syt({ r: 0, g: 0, b: 0, a: 0 }, "transparent"), wC = const e = t.charCodeAt(0); if (e !== 104 && e !== 72) return; - const r = t.match(x5.re); + const r = t.match(xk.re); if (!r) return; const [, n, i, s, a, o] = r; return wC.set({ - h: x5._hue2deg(n), + h: xk._hue2deg(n), s: gr.channel.clamp.s(parseFloat(i)), l: gr.channel.clamp.l(parseFloat(s)), a: a ? gr.channel.clamp.a(o ? parseFloat(a) / 100 : parseFloat(a)) : 1 @@ -34451,7 +34451,7 @@ const syt = iyt, ayt = new syt({ r: 0, g: 0, b: 0, a: 0 }, "transparent"), wC = const { h: e, s: r, l: n, a: i } = t; return i < 1 ? `hsla(${gr.lang.round(e)}, ${gr.lang.round(r)}%, ${gr.lang.round(n)}%, ${i})` : `hsl(${gr.lang.round(e)}, ${gr.lang.round(r)}%, ${gr.lang.round(n)}%)`; } -}, FO = x5, w5 = { +}, FO = xk, wk = { colors: { aliceblue: "#f0f8ff", antiquewhite: "#faebd7", @@ -34603,17 +34603,17 @@ const syt = iyt, ayt = new syt({ r: 0, g: 0, b: 0, a: 0 }, "transparent"), wC = }, parse: (t) => { t = t.toLowerCase(); - const e = w5.colors[t]; + const e = wk.colors[t]; if (!!e) return Yy.parse(e); }, stringify: (t) => { const e = Yy.stringify(t); - for (const r in w5.colors) - if (w5.colors[r] === e) + for (const r in wk.colors) + if (wk.colors[r] === e) return r; } -}, LV = w5, Bse = { +}, LV = wk, Bse = { re: /^rgba?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?)))?\s*?\)$/i, parse: (t) => { const e = t.charCodeAt(0); @@ -34713,7 +34713,7 @@ k9 || (k9 = function(e, r, n) { S9 || (S9 = function(e, r) { return new e(...r); }); -const QO = Mo(Array.prototype.forEach), MV = Mo(Array.prototype.pop), Ev = Mo(Array.prototype.push), O5 = Mo(String.prototype.toLowerCase), N6 = Mo(String.prototype.toString), DV = Mo(String.prototype.match), _v = Mo(String.prototype.replace), Cyt = Mo(String.prototype.indexOf), Eyt = Mo(String.prototype.trim), Ml = Mo(Object.prototype.hasOwnProperty), va = Mo(RegExp.prototype.test), Av = _yt(TypeError); +const QO = Mo(Array.prototype.forEach), MV = Mo(Array.prototype.pop), Ev = Mo(Array.prototype.push), Ok = Mo(String.prototype.toLowerCase), N6 = Mo(String.prototype.toString), DV = Mo(String.prototype.match), _v = Mo(String.prototype.replace), Cyt = Mo(String.prototype.indexOf), Eyt = Mo(String.prototype.trim), Ml = Mo(Object.prototype.hasOwnProperty), va = Mo(RegExp.prototype.test), Av = _yt(TypeError); function Mo(t) { return function(e) { for (var r = arguments.length, n = new Array(r > 1 ? r - 1 : 0), i = 1; i < r; i++) @@ -34729,7 +34729,7 @@ function _yt(t) { }; } function Dr(t, e) { - let r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : O5; + let r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Ok; RV && RV(t, null); let n = e.length; for (; n--; ) { @@ -34909,7 +34909,7 @@ function Wse() { }, et = function() { let ne = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}; if (!(bt && bt === ne)) { - if ((!ne || typeof ne != "object") && (ne = {}), ne = Bd(ne), tt = Fe.indexOf(ne.PARSER_MEDIA_TYPE) === -1 ? ot : ne.PARSER_MEDIA_TYPE, at = tt === "application/xhtml+xml" ? N6 : O5, B = Ml(ne, "ALLOWED_TAGS") ? Dr({}, ne.ALLOWED_TAGS, at) : Q, Y = Ml(ne, "ALLOWED_ATTR") ? Dr({}, ne.ALLOWED_ATTR, at) : G, $e = Ml(ne, "ALLOWED_NAMESPACES") ? Dr({}, ne.ALLOWED_NAMESPACES, N6) : Le, pe = Ml(ne, "ADD_URI_SAFE_ATTR") ? Dr( + if ((!ne || typeof ne != "object") && (ne = {}), ne = Bd(ne), tt = Fe.indexOf(ne.PARSER_MEDIA_TYPE) === -1 ? ot : ne.PARSER_MEDIA_TYPE, at = tt === "application/xhtml+xml" ? N6 : Ok, B = Ml(ne, "ALLOWED_TAGS") ? Dr({}, ne.ALLOWED_TAGS, at) : Q, Y = Ml(ne, "ALLOWED_ATTR") ? Dr({}, ne.ALLOWED_ATTR, at) : G, $e = Ml(ne, "ALLOWED_NAMESPACES") ? Dr({}, ne.ALLOWED_NAMESPACES, N6) : Le, pe = Ml(ne, "ADD_URI_SAFE_ATTR") ? Dr( Bd(ge), ne.ADD_URI_SAFE_ATTR, at @@ -34933,7 +34933,7 @@ function Wse() { namespaceURI: Re, tagName: "template" }); - const Xe = O5(ne.tagName), Ft = O5(Ne.tagName); + const Xe = Ok(ne.tagName), Ft = Ok(Ne.tagName); return $e[ne.namespaceURI] ? ne.namespaceURI === we ? Ne.namespaceURI === Ee ? Xe === "svg" : Ne.namespaceURI === ve ? Xe === "svg" && (Ft === "annotation-xml" || Ke[Ft]) : Boolean(it[Xe]) : ne.namespaceURI === ve ? Ne.namespaceURI === Ee ? Xe === "math" : Ne.namespaceURI === we ? Xe === "math" && wt[Ft] : Boolean(At[Xe]) : ne.namespaceURI === Ee ? Ne.namespaceURI === we && !wt[Ft] || Ne.namespaceURI === ve && !Ke[Ft] ? !1 : !At[Xe] && (ct[Xe] || !it[Xe]) : !!(tt === "application/xhtml+xml" && $e[ne.namespaceURI]) : !1; }, st = function(ne) { Ev(e.removed, { @@ -36382,9 +36382,9 @@ var oae = /* @__PURE__ */ x((t) => (l2t(), Em.sanitize(t)), "removeScript"), zV Z.info(`Graph bounds: ${o}x${l}`, t), o = s + r * 2, l = a + r * 2, Z.info(`Calculated bounds: ${o}x${l}`), Ds(e, l, o, n); const u = `${i.x - r} ${i.y - r} ${i.width + 2 * r} ${i.height + 2 * r}`; e.attr("viewBox", u); -}, "setupGraphViewbox"), k5 = {}, x2t = /* @__PURE__ */ x((t, e, r) => { +}, "setupGraphViewbox"), kk = {}, x2t = /* @__PURE__ */ x((t, e, r) => { let n = ""; - return t in k5 && k5[t] ? n = k5[t](r) : Z.warn(`No theme found for ${t}`), ` & { + return t in kk && kk[t] ? n = kk[t](r) : Z.warn(`No theme found for ${t}`), ` & { font-family: ${r.fontFamily}; font-size: ${r.fontSize}; fill: ${r.textColor} @@ -36441,7 +36441,7 @@ var oae = /* @__PURE__ */ x((t) => (l2t(), Em.sanitize(t)), "removeScript"), zV ${e} `; }, "getStyles"), w2t = /* @__PURE__ */ x((t, e) => { - e !== void 0 && (k5[t] = e); + e !== void 0 && (kk[t] = e); }, "addStylesForDiagram"), O2t = x2t, IP = {}; Xse(IP, { clear: () => us, @@ -36886,7 +36886,7 @@ function j2t(t) { return o; } yd = QP.sanitizeUrl = j2t; -function S5(t, e) { +function Sk(t, e) { return t == null || e == null ? NaN : t < e ? -1 : t > e ? 1 : t >= e ? 0 : NaN; } function K2t(t, e) { @@ -36894,7 +36894,7 @@ function K2t(t, e) { } function UP(t) { let e, r, n; - t.length !== 2 ? (e = S5, r = (o, l) => S5(t(o), l), n = (o, l) => t(o) - l) : (e = t === S5 || t === K2t ? t : J2t, r = t, n = t); + t.length !== 2 ? (e = Sk, r = (o, l) => Sk(t(o), l), n = (o, l) => t(o) - l) : (e = t === Sk || t === K2t ? t : J2t, r = t, n = t); function i(o, l, u = 0, h = o.length) { if (u < h) { if (e(l, l) !== 0) @@ -36929,7 +36929,7 @@ function J2t() { function ebt(t) { return t === null ? NaN : +t; } -const tbt = UP(S5), rbt = tbt.right; +const tbt = UP(Sk), rbt = tbt.right; UP(ebt).center; const nbt = rbt; class XV extends Map { @@ -37037,7 +37037,7 @@ function dbt(t, e, r) { function pbt(t) { return t; } -var T5 = 1, U6 = 2, D9 = 3, VO = 4, ZV = 1e-6; +var Tk = 1, U6 = 2, D9 = 3, VO = 4, ZV = 1e-6; function gbt(t) { return "translate(" + t + ",0)"; } @@ -37054,10 +37054,10 @@ function bbt() { return !this.__axis; } function mae(t, e) { - var r = [], n = null, i = null, s = 6, a = 6, o = 3, l = typeof window < "u" && window.devicePixelRatio > 1 ? 0 : 0.5, u = t === T5 || t === VO ? -1 : 1, h = t === VO || t === U6 ? "x" : "y", f = t === T5 || t === D9 ? gbt : mbt; + var r = [], n = null, i = null, s = 6, a = 6, o = 3, l = typeof window < "u" && window.devicePixelRatio > 1 ? 0 : 0.5, u = t === Tk || t === VO ? -1 : 1, h = t === VO || t === U6 ? "x" : "y", f = t === Tk || t === D9 ? gbt : mbt; function d(p) { var g = n == null ? e.ticks ? e.ticks.apply(e, r) : e.domain() : n, m = i == null ? e.tickFormat ? e.tickFormat.apply(e, r) : pbt : i, v = Math.max(s, 0) + o, y = e.range(), b = +y[0] + l, w = +y[y.length - 1] + l, O = (e.bandwidth ? ybt : vbt)(e.copy(), l), S = p.selection ? p.selection() : p, C = S.selectAll(".domain").data([null]), T = S.selectAll(".tick").data(g, e).order(), A = T.exit(), E = T.enter().append("g").attr("class", "tick"), L = T.select("line"), _ = T.select("text"); - C = C.merge(C.enter().insert("path", ".tick").attr("class", "domain").attr("stroke", "currentColor")), T = T.merge(E), L = L.merge(E.append("line").attr("stroke", "currentColor").attr(h + "2", u * s)), _ = _.merge(E.append("text").attr("fill", "currentColor").attr(h, u * v).attr("dy", t === T5 ? "0em" : t === D9 ? "0.71em" : "0.32em")), p !== S && (C = C.transition(p), T = T.transition(p), L = L.transition(p), _ = _.transition(p), A = A.transition(p).attr("opacity", ZV).attr("transform", function(R) { + C = C.merge(C.enter().insert("path", ".tick").attr("class", "domain").attr("stroke", "currentColor")), T = T.merge(E), L = L.merge(E.append("line").attr("stroke", "currentColor").attr(h + "2", u * s)), _ = _.merge(E.append("text").attr("fill", "currentColor").attr(h, u * v).attr("dy", t === Tk ? "0em" : t === D9 ? "0.71em" : "0.32em")), p !== S && (C = C.transition(p), T = T.transition(p), L = L.transition(p), _ = _.transition(p), A = A.transition(p).attr("opacity", ZV).attr("transform", function(R) { return isFinite(R = O(R)) ? f(R + l) : this.getAttribute("transform"); }), E.attr("opacity", ZV).attr("transform", function(R) { var $ = this.parentNode.__axis; @@ -37091,7 +37091,7 @@ function mae(t, e) { }, d; } function xbt(t) { - return mae(T5, t); + return mae(Tk, t); } function wbt(t) { return mae(D9, t); @@ -37104,9 +37104,9 @@ function vae() { throw new Error("illegal type: " + n); r[n] = []; } - return new C5(r); + return new Ck(r); } -function C5(t) { +function Ck(t) { this._ = t; } function kbt(t, e) { @@ -37117,8 +37117,8 @@ function kbt(t, e) { return { type: r, name: n }; }); } -C5.prototype = vae.prototype = { - constructor: C5, +Ck.prototype = vae.prototype = { + constructor: Ck, on: function(t, e) { var r = this._, n = kbt(t + "", r), i, s = -1, a = n.length; if (arguments.length < 2) { @@ -37141,7 +37141,7 @@ C5.prototype = vae.prototype = { var t = {}, e = this._; for (var r in e) t[r] = e[r].slice(); - return new C5(t); + return new Ck(t); }, call: function(t, e) { if ((i = arguments.length - 2) > 0) @@ -38377,7 +38377,7 @@ function cq(t, e, r) { n.stop(), t(i + e); }, e, r), n; } -var zwt = vae("start", "end", "cancel", "interrupt"), Qwt = [], Wae = 0, uq = 1, z9 = 2, E5 = 3, hq = 4, Q9 = 5, _5 = 6; +var zwt = vae("start", "end", "cancel", "interrupt"), Qwt = [], Wae = 0, uq = 1, z9 = 2, Ek = 3, hq = 4, Q9 = 5, _k = 6; function AC(t, e, r, n, i, s) { var a = t.__transition; if (!a) @@ -38406,7 +38406,7 @@ function GP(t, e) { } function Ou(t, e) { var r = pc(t, e); - if (r.state > E5) + if (r.state > Ek) throw new Error("too late; already running"); return r; } @@ -38428,14 +38428,14 @@ function Uwt(t, e, r) { return l(); for (h in n) if (p = n[h], p.name === r.name) { - if (p.state === E5) + if (p.state === Ek) return cq(a); - p.state === hq ? (p.state = _5, p.timer.stop(), p.on.call("interrupt", t, t.__data__, p.index, p.group), delete n[h]) : +h < e && (p.state = _5, p.timer.stop(), p.on.call("cancel", t, t.__data__, p.index, p.group), delete n[h]); + p.state === hq ? (p.state = _k, p.timer.stop(), p.on.call("interrupt", t, t.__data__, p.index, p.group), delete n[h]) : +h < e && (p.state = _k, p.timer.stop(), p.on.call("cancel", t, t.__data__, p.index, p.group), delete n[h]); } if (cq(function() { - r.state === E5 && (r.state = hq, r.timer.restart(o, r.delay, r.time), o(u)); + r.state === Ek && (r.state = hq, r.timer.restart(o, r.delay, r.time), o(u)); }), r.state = z9, r.on.call("start", t, t.__data__, r.index, r.group), r.state === z9) { - for (r.state = E5, i = new Array(d = r.tween.length), h = 0, f = -1; h < d; ++h) + for (r.state = Ek, i = new Array(d = r.tween.length), h = 0, f = -1; h < d; ++h) (p = r.tween[h].value.call(t, t.__data__, r.index, r.group)) && (i[++f] = p); i.length = f + 1; } @@ -38446,7 +38446,7 @@ function Uwt(t, e, r) { r.state === Q9 && (r.on.call("end", t, t.__data__, r.index, r.group), l()); } function l() { - r.state = _5, r.timer.stop(), delete n[e]; + r.state = _k, r.timer.stop(), delete n[e]; for (var u in n) return; delete t.__transition; @@ -38461,7 +38461,7 @@ function Vwt(t, e) { s = !1; continue; } - i = n.state > z9 && n.state < Q9, n.state = _5, n.timer.stop(), n.on.call(i ? "interrupt" : "cancel", t, t.__data__, n.index, n.group), delete r[a]; + i = n.state > z9 && n.state < Q9, n.state = _k, n.timer.stop(), n.on.call(i ? "interrupt" : "cancel", t, t.__data__, n.index, n.group), delete r[a]; } s && delete t.__transition; } @@ -39589,8 +39589,8 @@ function k4t(t) { d: Tq, e: Tq, f: W4t, - g: r5t, - G: i5t, + g: rkt, + G: ikt, H: V4t, I: q4t, j: Y4t, @@ -39606,12 +39606,12 @@ function k4t(t) { U: j4t, V: K4t, w: J4t, - W: e5t, + W: ekt, x: null, X: null, - y: t5t, - Y: n5t, - Z: s5t, + y: tkt, + Y: nkt, + Z: skt, "%": Eq }, O = { a: Y, @@ -39621,30 +39621,30 @@ function k4t(t) { c: null, d: Cq, e: Cq, - f: c5t, - g: b5t, - G: w5t, - H: a5t, - I: o5t, - j: l5t, + f: ckt, + g: bkt, + G: wkt, + H: akt, + I: okt, + j: lkt, L: doe, - m: u5t, - M: h5t, + m: ukt, + M: hkt, p: ee, q: se, Q: _q, s: Aq, - S: f5t, - u: d5t, - U: p5t, - V: g5t, - w: m5t, - W: v5t, + S: fkt, + u: dkt, + U: pkt, + V: gkt, + w: mkt, + W: vkt, x: null, X: null, - y: y5t, - Y: x5t, - Z: O5t, + y: ykt, + Y: xkt, + Z: Okt, "%": Eq }, S = { a: L, @@ -39949,87 +39949,87 @@ function K4t(t, e) { function J4t(t) { return t.getDay(); } -function e5t(t, e) { +function ekt(t, e) { return Yr(tb.count(mh(t) - 1, t), e, 2); } -function t5t(t, e) { +function tkt(t, e) { return Yr(t.getFullYear() % 100, e, 2); } -function r5t(t, e) { +function rkt(t, e) { return t = foe(t), Yr(t.getFullYear() % 100, e, 2); } -function n5t(t, e) { +function nkt(t, e) { return Yr(t.getFullYear() % 1e4, e, 4); } -function i5t(t, e) { +function ikt(t, e) { var r = t.getDay(); return t = r >= 4 || r === 0 ? V0(t) : V0.ceil(t), Yr(t.getFullYear() % 1e4, e, 4); } -function s5t(t) { +function skt(t) { var e = t.getTimezoneOffset(); return (e > 0 ? "-" : (e *= -1, "+")) + Yr(e / 60 | 0, "0", 2) + Yr(e % 60, "0", 2); } function Cq(t, e) { return Yr(t.getUTCDate(), e, 2); } -function a5t(t, e) { +function akt(t, e) { return Yr(t.getUTCHours(), e, 2); } -function o5t(t, e) { +function okt(t, e) { return Yr(t.getUTCHours() % 12 || 12, e, 2); } -function l5t(t, e) { +function lkt(t, e) { return Yr(1 + jP.count(Wf(t), t), e, 3); } function doe(t, e) { return Yr(t.getUTCMilliseconds(), e, 3); } -function c5t(t, e) { +function ckt(t, e) { return doe(t, e) + "000"; } -function u5t(t, e) { +function ukt(t, e) { return Yr(t.getUTCMonth() + 1, e, 2); } -function h5t(t, e) { +function hkt(t, e) { return Yr(t.getUTCMinutes(), e, 2); } -function f5t(t, e) { +function fkt(t, e) { return Yr(t.getUTCSeconds(), e, 2); } -function d5t(t) { +function dkt(t) { var e = t.getUTCDay(); return e === 0 ? 7 : e; } -function p5t(t, e) { +function pkt(t, e) { return Yr(KP.count(Wf(t) - 1, t), e, 2); } function poe(t) { var e = t.getUTCDay(); return e >= 4 || e === 0 ? Im(t) : Im.ceil(t); } -function g5t(t, e) { +function gkt(t, e) { return t = poe(t), Yr(Im.count(Wf(t), t) + (Wf(t).getUTCDay() === 4), e, 2); } -function m5t(t) { +function mkt(t) { return t.getUTCDay(); } -function v5t(t, e) { +function vkt(t, e) { return Yr(_3.count(Wf(t) - 1, t), e, 2); } -function y5t(t, e) { +function ykt(t, e) { return Yr(t.getUTCFullYear() % 100, e, 2); } -function b5t(t, e) { +function bkt(t, e) { return t = poe(t), Yr(t.getUTCFullYear() % 100, e, 2); } -function x5t(t, e) { +function xkt(t, e) { return Yr(t.getUTCFullYear() % 1e4, e, 4); } -function w5t(t, e) { +function wkt(t, e) { var r = t.getUTCDay(); return t = r >= 4 || r === 0 ? Im(t) : Im.ceil(t), Yr(t.getUTCFullYear() % 1e4, e, 4); } -function O5t() { +function Okt() { return "+0000"; } function Eq() { @@ -40042,7 +40042,7 @@ function Aq(t) { return Math.floor(+t / 1e3); } var Hp, A3; -k5t({ +kkt({ dateTime: "%x, %X", date: "%-m/%-d/%Y", time: "%-I:%M:%S %p", @@ -40052,13 +40052,13 @@ k5t({ months: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"], shortMonths: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"] }); -function k5t(t) { +function kkt(t) { return Hp = k4t(t), A3 = Hp.format, Hp.parse, Hp.utcFormat, Hp.utcParse, Hp; } -function S5t(t) { +function Skt(t) { return new Date(t); } -function T5t(t) { +function Tkt(t) { return t instanceof Date ? +t : +new Date(+t); } function goe(t, e, r, n, i, s, a, o, l, u) { @@ -40069,7 +40069,7 @@ function goe(t, e, r, n, i, s, a, o, l, u) { return h.invert = function(C) { return new Date(f(C)); }, h.domain = function(C) { - return arguments.length ? d(Array.from(C, T5t)) : d().map(S5t); + return arguments.length ? d(Array.from(C, Tkt)) : d().map(Skt); }, h.ticks = function(C) { var T = d(); return t(T[0], T[T.length - 1], C == null ? 10 : C); @@ -40082,22 +40082,22 @@ function goe(t, e, r, n, i, s, a, o, l, u) { return eoe(h, goe(t, e, r, n, i, s, a, o, l, u)); }, h; } -function C5t() { +function Ckt() { return LC.apply(goe(w4t, O4t, mh, rb, nw, U0, eb, J2, pf, A3).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments); } -function E5t(t) { +function Ekt(t) { for (var e = t.length / 6 | 0, r = new Array(e), n = 0; n < e; ) r[n] = "#" + t.slice(n * 6, ++n * 6); return r; } -const _5t = E5t("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab"); +const _kt = Ekt("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab"); function hi(t) { return function() { return t; }; } -const Lq = Math.abs, Qs = Math.atan2, Md = Math.cos, A5t = Math.max, eA = Math.min, Tc = Math.sin, Og = Math.sqrt, qs = 1e-12, nb = Math.PI, L3 = nb / 2, A5 = 2 * nb; -function L5t(t) { +const Lq = Math.abs, Qs = Math.atan2, Md = Math.cos, Akt = Math.max, eA = Math.min, Tc = Math.sin, Og = Math.sqrt, qs = 1e-12, nb = Math.PI, L3 = nb / 2, Ak = 2 * nb; +function Lkt(t) { return t > 1 ? 0 : t < -1 ? nb : Math.acos(t); } function Rq(t) { @@ -40119,28 +40119,28 @@ function moe(t) { return t; }, () => new ZOt(e); } -function R5t(t) { +function Rkt(t) { return t.innerRadius; } -function M5t(t) { +function Mkt(t) { return t.outerRadius; } -function D5t(t) { +function Dkt(t) { return t.startAngle; } -function P5t(t) { +function Pkt(t) { return t.endAngle; } -function N5t(t) { +function Nkt(t) { return t && t.padAngle; } -function I5t(t, e, r, n, i, s, a, o) { +function Ikt(t, e, r, n, i, s, a, o) { var l = r - t, u = n - e, h = a - i, f = o - s, d = f * l - h * u; if (!(d * d < qs)) return d = (h * (e - s) - f * (t - i)) / d, [t + d * l, e + d * u]; } function XO(t, e, r, n, i, s, a) { - var o = t - r, l = e - n, u = (a ? s : -s) / Og(o * o + l * l), h = u * l, f = -u * o, d = t + h, p = e + f, g = r + h, m = n + f, v = (d + g) / 2, y = (p + m) / 2, b = g - d, w = m - p, O = b * b + w * w, S = i - s, C = d * m - g * p, T = (w < 0 ? -1 : 1) * Og(A5t(0, S * S * O - C * C)), A = (C * w - b * T) / O, E = (-C * b - w * T) / O, L = (C * w + b * T) / O, _ = (-C * b + w * T) / O, R = A - v, $ = E - y, k = L - v, P = _ - y; + var o = t - r, l = e - n, u = (a ? s : -s) / Og(o * o + l * l), h = u * l, f = -u * o, d = t + h, p = e + f, g = r + h, m = n + f, v = (d + g) / 2, y = (p + m) / 2, b = g - d, w = m - p, O = b * b + w * w, S = i - s, C = d * m - g * p, T = (w < 0 ? -1 : 1) * Og(Akt(0, S * S * O - C * C)), A = (C * w - b * T) / O, E = (-C * b - w * T) / O, L = (C * w + b * T) / O, _ = (-C * b + w * T) / O, R = A - v, $ = E - y, k = L - v, P = _ - y; return R * R + $ * $ > k * k + P * P && (A = L, E = _), { cx: A, cy: E, @@ -40151,12 +40151,12 @@ function XO(t, e, r, n, i, s, a) { }; } function $m() { - var t = R5t, e = M5t, r = hi(0), n = null, i = D5t, s = P5t, a = N5t, o = null, l = moe(u); + var t = Rkt, e = Mkt, r = hi(0), n = null, i = Dkt, s = Pkt, a = Nkt, o = null, l = moe(u); function u() { var h, f, d = +t.apply(this, arguments), p = +e.apply(this, arguments), g = i.apply(this, arguments) - L3, m = s.apply(this, arguments) - L3, v = Lq(m - g), y = m > g; if (o || (o = h = l()), p < d && (f = p, p = d, d = f), !(p > qs)) o.moveTo(0, 0); - else if (v > A5 - qs) + else if (v > Ak - qs) o.moveTo(p * Md(g), p * Tc(g)), o.arc(0, 0, p, g, m, !y), d > qs && (o.moveTo(d * Md(m), d * Tc(m)), o.arc(0, 0, d, m, g, y)); else { var b = g, w = m, O = g, S = m, C = v, T = v, A = a.apply(this, arguments) / 2, E = A > qs && (n ? +n.apply(this, arguments) : Og(d * d + p * p)), L = eA(Lq(p - d) / 2, +r.apply(this, arguments)), _ = L, R = L, $, k; @@ -40168,8 +40168,8 @@ function $m() { if (L > qs) { var B = p * Md(w), Q = p * Tc(w), Y = d * Md(O), G = d * Tc(O), X; if (v < nb) - if (X = I5t(N, D, Y, G, B, Q, I, F)) { - var q = N - X[0], ee = D - X[1], se = B - X[0], U = Q - X[1], j = 1 / Tc(L5t((q * se + ee * U) / (Og(q * q + ee * ee) * Og(se * se + U * U))) / 2), W = Og(X[0] * X[0] + X[1] * X[1]); + if (X = Ikt(N, D, Y, G, B, Q, I, F)) { + var q = N - X[0], ee = D - X[1], se = B - X[0], U = Q - X[1], j = 1 / Tc(Lkt((q * se + ee * U) / (Og(q * q + ee * ee) * Og(se * se + U * U))) / 2), W = Og(X[0] * X[0] + X[1] * X[1]); _ = eA(L, (d - W) / (j - 1)), R = eA(L, (p - W) / (j + 1)); } else _ = R = 0; @@ -40235,15 +40235,15 @@ yoe.prototype = { function MC(t) { return new yoe(t); } -function $5t(t) { +function $kt(t) { return t[0]; } -function B5t(t) { +function Bkt(t) { return t[1]; } function Gf(t, e) { var r = hi(!0), n = null, i = MC, s = null, a = moe(o); - t = typeof t == "function" ? t : t === void 0 ? $5t : hi(t), e = typeof e == "function" ? e : e === void 0 ? B5t : hi(e); + t = typeof t == "function" ? t : t === void 0 ? $kt : hi(t), e = typeof e == "function" ? e : e === void 0 ? Bkt : hi(e); function o(l) { var u, h = (l = voe(l)).length, f, d = !1, p; for (n == null && (s = i(p = a())), u = 0; u <= h; ++u) @@ -40263,16 +40263,16 @@ function Gf(t, e) { return arguments.length ? (l == null ? n = s = null : s = i(n = l), o) : n; }, o; } -function F5t(t, e) { +function Fkt(t, e) { return e < t ? -1 : e > t ? 1 : e >= t ? 0 : NaN; } -function z5t(t) { +function zkt(t) { return t; } -function Q5t() { - var t = z5t, e = F5t, r = null, n = hi(0), i = hi(A5), s = hi(0); +function Qkt() { + var t = zkt, e = Fkt, r = null, n = hi(0), i = hi(Ak), s = hi(0); function a(o) { - var l, u = (o = voe(o)).length, h, f, d = 0, p = new Array(u), g = new Array(u), m = +n.apply(this, arguments), v = Math.min(A5, Math.max(-A5, i.apply(this, arguments) - m)), y, b = Math.min(Math.abs(v) / u, s.apply(this, arguments)), w = b * (v < 0 ? -1 : 1), O; + var l, u = (o = voe(o)).length, h, f, d = 0, p = new Array(u), g = new Array(u), m = +n.apply(this, arguments), v = Math.min(Ak, Math.max(-Ak, i.apply(this, arguments) - m)), y, b = Math.min(Math.abs(v) / u, s.apply(this, arguments)), w = b * (v < 0 ? -1 : 1), O; for (l = 0; l < u; ++l) (O = g[p[l] = l] = +t(o[l], l, o)) > 0 && (d += O); for (e != null ? p.sort(function(S, C) { @@ -40336,10 +40336,10 @@ class boe { this._x0 = e, this._y0 = r; } } -function U5t(t) { +function Ukt(t) { return new boe(t, !0); } -function V5t(t) { +function Vkt(t) { return new boe(t, !1); } function Xf() { @@ -40440,7 +40440,7 @@ xoe.prototype = { this._x0 = this._x1, this._x1 = t, this._y0 = this._y1, this._y1 = e; } }; -function q5t(t) { +function qkt(t) { return new xoe(t); } function woe(t) { @@ -40481,7 +40481,7 @@ woe.prototype = { this._x0 = this._x1, this._x1 = t, this._y0 = this._y1, this._y1 = e; } }; -function Y5t(t) { +function Ykt(t) { return new woe(t); } function Ooe(t, e) { @@ -40505,7 +40505,7 @@ Ooe.prototype = { this._x.push(+t), this._y.push(+e); } }; -const W5t = function t(e) { +const Wkt = function t(e) { function r(n) { return e === 1 ? new DC(n) : new Ooe(n, e); } @@ -40564,7 +40564,7 @@ JP.prototype = { this._x0 = this._x1, this._x1 = this._x2, this._x2 = t, this._y0 = this._y1, this._y1 = this._y2, this._y2 = e; } }; -const G5t = function t(e) { +const Gkt = function t(e) { function r(n) { return new JP(n, e); } @@ -40615,7 +40615,7 @@ eN.prototype = { this._x0 = this._x1, this._x1 = this._x2, this._x2 = t, this._y0 = this._y1, this._y1 = this._y2, this._y2 = e; } }; -const X5t = function t(e) { +const Xkt = function t(e) { function r(n) { return new eN(n, e); } @@ -40659,7 +40659,7 @@ tN.prototype = { this._x0 = this._x1, this._x1 = this._x2, this._x2 = t, this._y0 = this._y1, this._y1 = this._y2, this._y2 = e; } }; -const H5t = function t(e) { +const Hkt = function t(e) { function r(n) { return new tN(n, e); } @@ -40724,7 +40724,7 @@ koe.prototype = { this._l01_a = this._l12_a, this._l12_a = this._l23_a, this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a, this._x0 = this._x1, this._x1 = this._x2, this._x2 = t, this._y0 = this._y1, this._y1 = this._y2, this._y2 = e; } }; -const Z5t = function t(e) { +const Zkt = function t(e) { function r(n) { return e ? new koe(n, e) : new JP(n, 0); } @@ -40779,7 +40779,7 @@ Soe.prototype = { this._l01_a = this._l12_a, this._l12_a = this._l23_a, this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a, this._x0 = this._x1, this._x1 = this._x2, this._x2 = t, this._y0 = this._y1, this._y1 = this._y2, this._y2 = e; } }; -const j5t = function t(e) { +const jkt = function t(e) { function r(n) { return e ? new Soe(n, e) : new eN(n, 0); } @@ -40827,7 +40827,7 @@ Toe.prototype = { this._l01_a = this._l12_a, this._l12_a = this._l23_a, this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a, this._x0 = this._x1, this._x1 = this._x2, this._x2 = t, this._y0 = this._y1, this._y1 = this._y2, this._y2 = e; } }; -const K5t = function t(e) { +const Kkt = function t(e) { function r(n) { return e ? new Toe(n, e) : new tN(n, 0); } @@ -40851,7 +40851,7 @@ Coe.prototype = { t = +t, e = +e, this._point ? this._context.lineTo(t, e) : (this._point = 1, this._context.moveTo(t, e)); } }; -function J5t(t) { +function Jkt(t) { return new Coe(t); } function Mq(t) { @@ -40937,10 +40937,10 @@ _oe.prototype = { this._context.bezierCurveTo(e, t, n, r, s, i); } }; -function ekt(t) { +function e5t(t) { return new D3(t); } -function tkt(t) { +function t5t(t) { return new Eoe(t); } function Aoe(t) { @@ -40982,7 +40982,7 @@ function Nq(t) { s[e] = 2 * t[e + 1] - i[e + 1]; return [i, s]; } -function rkt(t) { +function r5t(t) { return new Aoe(t); } function PC(t, e) { @@ -41021,13 +41021,13 @@ PC.prototype = { this._x = t, this._y = e; } }; -function nkt(t) { +function n5t(t) { return new PC(t, 0.5); } -function ikt(t) { +function i5t(t) { return new PC(t, 0); } -function skt(t) { +function s5t(t) { return new PC(t, 1); } function kg(t, e, r) { @@ -41071,56 +41071,56 @@ kg.prototype = { }; new kg(1, 0, 0); kg.prototype; -var akt = typeof global == "object" && global && global.Object === Object && global; -const Loe = akt; -var okt = typeof self == "object" && self && self.Object === Object && self, lkt = Loe || okt || Function("return this")(); -const gc = lkt; -var ckt = gc.Symbol; -const gl = ckt; -var Roe = Object.prototype, ukt = Roe.hasOwnProperty, hkt = Roe.toString, Iv = gl ? gl.toStringTag : void 0; -function fkt(t) { - var e = ukt.call(t, Iv), r = t[Iv]; +var a5t = typeof global == "object" && global && global.Object === Object && global; +const Loe = a5t; +var o5t = typeof self == "object" && self && self.Object === Object && self, l5t = Loe || o5t || Function("return this")(); +const gc = l5t; +var c5t = gc.Symbol; +const gl = c5t; +var Roe = Object.prototype, u5t = Roe.hasOwnProperty, h5t = Roe.toString, Iv = gl ? gl.toStringTag : void 0; +function f5t(t) { + var e = u5t.call(t, Iv), r = t[Iv]; try { t[Iv] = void 0; var n = !0; } catch { } - var i = hkt.call(t); + var i = h5t.call(t); return n && (e ? t[Iv] = r : delete t[Iv]), i; } -var dkt = Object.prototype, pkt = dkt.toString; -function gkt(t) { - return pkt.call(t); +var d5t = Object.prototype, p5t = d5t.toString; +function g5t(t) { + return p5t.call(t); } -var mkt = "[object Null]", vkt = "[object Undefined]", Iq = gl ? gl.toStringTag : void 0; +var m5t = "[object Null]", v5t = "[object Undefined]", Iq = gl ? gl.toStringTag : void 0; function Ph(t) { - return t == null ? t === void 0 ? vkt : mkt : Iq && Iq in Object(t) ? fkt(t) : gkt(t); + return t == null ? t === void 0 ? v5t : m5t : Iq && Iq in Object(t) ? f5t(t) : g5t(t); } function so(t) { var e = typeof t; return t != null && (e == "object" || e == "function"); } -var ykt = "[object AsyncFunction]", bkt = "[object Function]", xkt = "[object GeneratorFunction]", wkt = "[object Proxy]"; +var y5t = "[object AsyncFunction]", b5t = "[object Function]", x5t = "[object GeneratorFunction]", w5t = "[object Proxy]"; function ml(t) { if (!so(t)) return !1; var e = Ph(t); - return e == bkt || e == xkt || e == ykt || e == wkt; + return e == b5t || e == x5t || e == y5t || e == w5t; } -var Okt = gc["__core-js_shared__"]; -const rA = Okt; +var O5t = gc["__core-js_shared__"]; +const rA = O5t; var $q = function() { var t = /[^.]+$/.exec(rA && rA.keys && rA.keys.IE_PROTO || ""); return t ? "Symbol(src)_1." + t : ""; }(); -function kkt(t) { +function k5t(t) { return !!$q && $q in t; } -var Skt = Function.prototype, Tkt = Skt.toString; +var S5t = Function.prototype, T5t = S5t.toString; function Cp(t) { if (t != null) { try { - return Tkt.call(t); + return T5t.call(t); } catch { } try { @@ -41130,49 +41130,49 @@ function Cp(t) { } return ""; } -var Ckt = /[\\^$.*+?()[\]{}|]/g, Ekt = /^\[object .+?Constructor\]$/, _kt = Function.prototype, Akt = Object.prototype, Lkt = _kt.toString, Rkt = Akt.hasOwnProperty, Mkt = RegExp( - "^" + Lkt.call(Rkt).replace(Ckt, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$" +var C5t = /[\\^$.*+?()[\]{}|]/g, E5t = /^\[object .+?Constructor\]$/, _5t = Function.prototype, A5t = Object.prototype, L5t = _5t.toString, R5t = A5t.hasOwnProperty, M5t = RegExp( + "^" + L5t.call(R5t).replace(C5t, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$" ); -function Dkt(t) { - if (!so(t) || kkt(t)) +function D5t(t) { + if (!so(t) || k5t(t)) return !1; - var e = ml(t) ? Mkt : Ekt; + var e = ml(t) ? M5t : E5t; return e.test(Cp(t)); } -function Pkt(t, e) { +function P5t(t, e) { return t == null ? void 0 : t[e]; } function Ep(t, e) { - var r = Pkt(t, e); - return Dkt(r) ? r : void 0; + var r = P5t(t, e); + return D5t(r) ? r : void 0; } -var Nkt = Ep(Object, "create"); -const ib = Nkt; -function Ikt() { +var N5t = Ep(Object, "create"); +const ib = N5t; +function I5t() { this.__data__ = ib ? ib(null) : {}, this.size = 0; } -function $kt(t) { +function $5t(t) { var e = this.has(t) && delete this.__data__[t]; return this.size -= e ? 1 : 0, e; } -var Bkt = "__lodash_hash_undefined__", Fkt = Object.prototype, zkt = Fkt.hasOwnProperty; -function Qkt(t) { +var B5t = "__lodash_hash_undefined__", F5t = Object.prototype, z5t = F5t.hasOwnProperty; +function Q5t(t) { var e = this.__data__; if (ib) { var r = e[t]; - return r === Bkt ? void 0 : r; + return r === B5t ? void 0 : r; } - return zkt.call(e, t) ? e[t] : void 0; + return z5t.call(e, t) ? e[t] : void 0; } -var Ukt = Object.prototype, Vkt = Ukt.hasOwnProperty; -function qkt(t) { +var U5t = Object.prototype, V5t = U5t.hasOwnProperty; +function q5t(t) { var e = this.__data__; - return ib ? e[t] !== void 0 : Vkt.call(e, t); + return ib ? e[t] !== void 0 : V5t.call(e, t); } -var Ykt = "__lodash_hash_undefined__"; -function Wkt(t, e) { +var Y5t = "__lodash_hash_undefined__"; +function W5t(t, e) { var r = this.__data__; - return this.size += this.has(t) ? 0 : 1, r[t] = ib && e === void 0 ? Ykt : e, this; + return this.size += this.has(t) ? 0 : 1, r[t] = ib && e === void 0 ? Y5t : e, this; } function q0(t) { var e = -1, r = t == null ? 0 : t.length; @@ -41181,12 +41181,12 @@ function q0(t) { this.set(n[0], n[1]); } } -q0.prototype.clear = Ikt; -q0.prototype.delete = $kt; -q0.prototype.get = Qkt; -q0.prototype.has = qkt; -q0.prototype.set = Wkt; -function Gkt() { +q0.prototype.clear = I5t; +q0.prototype.delete = $5t; +q0.prototype.get = Q5t; +q0.prototype.has = q5t; +q0.prototype.set = W5t; +function G5t() { this.__data__ = [], this.size = 0; } function I1(t, e) { @@ -41198,22 +41198,22 @@ function NC(t, e) { return r; return -1; } -var Xkt = Array.prototype, Hkt = Xkt.splice; -function Zkt(t) { +var X5t = Array.prototype, H5t = X5t.splice; +function Z5t(t) { var e = this.__data__, r = NC(e, t); if (r < 0) return !1; var n = e.length - 1; - return r == n ? e.pop() : Hkt.call(e, r, 1), --this.size, !0; + return r == n ? e.pop() : H5t.call(e, r, 1), --this.size, !0; } -function jkt(t) { +function j5t(t) { var e = this.__data__, r = NC(e, t); return r < 0 ? void 0 : e[r][1]; } -function Kkt(t) { +function K5t(t) { return NC(this.__data__, t) > -1; } -function Jkt(t, e) { +function J5t(t, e) { var r = this.__data__, n = NC(r, t); return n < 0 ? (++this.size, r.push([t, e])) : r[n][1] = e, this; } @@ -41224,11 +41224,11 @@ function Nh(t) { this.set(n[0], n[1]); } } -Nh.prototype.clear = Gkt; -Nh.prototype.delete = Zkt; -Nh.prototype.get = jkt; -Nh.prototype.has = Kkt; -Nh.prototype.set = Jkt; +Nh.prototype.clear = G5t; +Nh.prototype.delete = Z5t; +Nh.prototype.get = j5t; +Nh.prototype.has = K5t; +Nh.prototype.set = J5t; var e3t = Ep(gc, "Map"); const sb = e3t; function t3t() { @@ -41624,25 +41624,25 @@ var PSt = Woe(function(t, e, r) { const $3 = PSt; var Goe = "\u200B", NSt = { curveBasis: N1, - curveBasisClosed: q5t, - curveBasisOpen: Y5t, - curveBumpX: U5t, - curveBumpY: V5t, - curveBundle: W5t, - curveCardinalClosed: X5t, - curveCardinalOpen: H5t, - curveCardinal: G5t, - curveCatmullRomClosed: j5t, - curveCatmullRomOpen: K5t, - curveCatmullRom: Z5t, + curveBasisClosed: qkt, + curveBasisOpen: Ykt, + curveBumpX: Ukt, + curveBumpY: Vkt, + curveBundle: Wkt, + curveCardinalClosed: Xkt, + curveCardinalOpen: Hkt, + curveCardinal: Gkt, + curveCatmullRomClosed: jkt, + curveCatmullRomOpen: Kkt, + curveCatmullRom: Zkt, curveLinear: MC, - curveLinearClosed: J5t, - curveMonotoneX: ekt, - curveMonotoneY: tkt, - curveNatural: rkt, - curveStep: nkt, - curveStepAfter: skt, - curveStepBefore: ikt + curveLinearClosed: Jkt, + curveMonotoneX: e5t, + curveMonotoneY: t5t, + curveNatural: r5t, + curveStep: n5t, + curveStepAfter: s5t, + curveStepBefore: i5t }, ISt = /\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi, $St = /* @__PURE__ */ x(function(t, e) { const r = Xoe(t, /(?:init\b)|(?:initialize\b)/); let n = {}; @@ -44131,7 +44131,7 @@ const FTt = { randOffset: function(t, e) { function Lle(t, e, r, n, i) { return { type: "path", ops: Zf(t, e, r, n, i) }; } -function L5(t, e, r) { +function Lk(t, e, r) { const n = (t || []).length; if (n > 2) { const i = []; @@ -44143,7 +44143,7 @@ function L5(t, e, r) { } function zTt(t, e, r, n, i) { return function(s, a) { - return L5(s, !0, a); + return Lk(s, !0, a); }([[t, e], [t + r, e], [t + r, e + n], [t, e + n]], i); } function tY(t, e) { @@ -44371,15 +44371,15 @@ function oY(t, e = 0) { } return n; } -function R5(t, e) { +function Rk(t, e) { return Math.pow(t[0] - e[0], 2) + Math.pow(t[1] - e[1], 2); } function UTt(t, e, r) { - const n = R5(e, r); + const n = Rk(e, r); if (n === 0) - return R5(t, e); + return Rk(t, e); let i = ((t[0] - e[0]) * (r[0] - e[0]) + (t[1] - e[1]) * (r[1] - e[1])) / n; - return i = Math.max(0, Math.min(1, i)), R5(t, zd(e, r, i)); + return i = Math.max(0, Math.min(1, i)), Rk(t, zd(e, r, i)); } function zd(t, e, r) { return [t[0] + (e[0] - t[0]) * r, t[1] + (e[1] - t[1]) * r]; @@ -44398,7 +44398,7 @@ function J9(t, e, r, n) { return v *= v, p < m && (p = m), g < v && (g = v), p + g; }(t, e) < r) { const o = t[e + 0]; - i.length ? (s = i[i.length - 1], a = o, Math.sqrt(R5(s, a)) > 1 && i.push(o)) : i.push(o), i.push(t[e + 3]); + i.length ? (s = i[i.length - 1], a = o, Math.sqrt(Rk(s, a)) > 1 && i.push(o)) : i.push(o), i.push(t[e + 3]); } else { const l = t[e + 0], u = t[e + 1], h = t[e + 2], f = t[e + 3], d = zd(l, u, 0.5), p = zd(u, h, 0.5), g = zd(h, f, 0.5), m = zd(d, p, 0.5), v = zd(p, g, 0.5), y = zd(m, v, 0.5); J9([l, d, m, y], 0, r, i), J9([y, v, g, f], 0, r, i); @@ -44466,7 +44466,7 @@ class W3 { } linearPath(e, r) { const n = this._o(r); - return this._d("linearPath", [L5(e, !1, n)], n); + return this._d("linearPath", [Lk(e, !1, n)], n); } arc(e, r, n, i, s, a, o = !1, l) { const u = this._o(l), h = [], f = rY(e, r, n, i, s, a, o, !0, u); @@ -44510,7 +44510,7 @@ class W3 { return n.stroke !== bo && i.push(s), this._d("curve", i, n); } polygon(e, r) { - const n = this._o(r), i = [], s = L5(e, !0, n); + const n = this._o(r), i = [], s = Lk(e, !0, n); return n.fill && (n.fillStyle === "solid" ? i.push(oA([e], n)) : i.push(Zp([e], n))), n.stroke !== bo && i.push(s), this._d("polygon", i, n); } path(e, r) { @@ -44563,7 +44563,7 @@ class W3 { else i.push(Zp(l, n)); return a && (o ? l.forEach((h) => { - i.push(L5(h, !1, n)); + i.push(Lk(h, !1, n)); }) : i.push(u)), this._d("path", i, n); } opsToPath(e, r) { @@ -46046,7 +46046,7 @@ var Kle = /* @__PURE__ */ x(async (t, e) => { function nce(t) { return t.trim(); } -function M5(t, e, r) { +function Mk(t, e, r) { return t.replace(e, r); } function oEt(t, e, r) { @@ -46083,7 +46083,7 @@ function Gl() { function gf() { return lb(z1, yl); } -function D5() { +function Dk() { return yl; } function qC(t, e) { @@ -46138,7 +46138,7 @@ function dEt(t) { function pEt(t, e) { for (; --e && Gl() && !(Si < 48 || Si > 102 || Si > 57 && Si < 65 || Si > 70 && Si < 97); ) ; - return qC(t, D5() + (e < 6 && gf() == 32 && Gl() == 32)); + return qC(t, Dk() + (e < 6 && gf() == 32 && Gl() == 32)); } function rL(t) { for (; Gl(); ) @@ -46170,14 +46170,14 @@ function mEt(t) { return qC(t, yl); } function vEt(t) { - return fEt(P5("", null, null, null, [""], t = hEt(t), 0, [0], t)); + return fEt(Pk("", null, null, null, [""], t = hEt(t), 0, [0], t)); } -function P5(t, e, r, n, i, s, a, o, l) { +function Pk(t, e, r, n, i, s, a, o, l) { for (var u = 0, h = 0, f = a, d = 0, p = 0, g = 0, m = 1, v = 1, y = 1, b = 0, w = "", O = i, S = s, C = n, T = w; v; ) switch (g = b, b = Gl()) { case 40: if (g != 108 && lb(T, f - 1) == 58) { - oEt(T += M5(cA(b), "&", "&\f"), "&\f", rce(u ? o[u - 1] : 0)) != -1 && (y = -1); + oEt(T += Mk(cA(b), "&", "&\f"), "&\f", rce(u ? o[u - 1] : 0)) != -1 && (y = -1); break; } case 34: @@ -46192,13 +46192,13 @@ function P5(t, e, r, n, i, s, a, o, l) { T += dEt(g); break; case 92: - T += pEt(D5() - 1, 7); + T += pEt(Dk() - 1, 7); continue; case 47: switch (gf()) { case 42: case 47: - e4(yEt(gEt(Gl(), D5()), e, r, l), l), (cb(g || 1) == 5 || cb(gf() || 1) == 5) && Lc(T) && zm(T, -1, void 0) !== " " && (T += " "); + e4(yEt(gEt(Gl(), Dk()), e, r, l), l), (cb(g || 1) == 5 || cb(gf() || 1) == 5) && Lc(T) && zm(T, -1, void 0) !== " " && (T += " "); break; default: T += "/"; @@ -46214,24 +46214,24 @@ function P5(t, e, r, n, i, s, a, o, l) { case 125: v = 0; case 59 + h: - y == -1 && (T = M5(T, /\f/g, "")), p > 0 && (Lc(T) - f || m === 0 && g === 47) && e4(p > 32 ? gY(T + ";", n, r, f - 1, l) : gY(M5(T, " ", "") + ";", n, r, f - 2, l), l); + y == -1 && (T = Mk(T, /\f/g, "")), p > 0 && (Lc(T) - f || m === 0 && g === 47) && e4(p > 32 ? gY(T + ";", n, r, f - 1, l) : gY(Mk(T, " ", "") + ";", n, r, f - 2, l), l); break; case 59: T += ";"; default: if (e4(C = pY(T, e, r, u, h, i, o, w, O = [], S = [], f, s), s), b === 123) if (h === 0) - P5(T, e, C, C, O, s, f, o, S); + Pk(T, e, C, C, O, s, f, o, S); else switch (d === 99 && lb(T, 3) === 110 ? 100 : d) { case 100: case 108: case 109: case 115: - P5(t, C, C, n && e4(pY(t, C, C, 0, 0, i, o, w, i, O = [], f, S), S), i, S, f, o, n ? O : S); + Pk(t, C, C, n && e4(pY(t, C, C, 0, 0, i, o, w, i, O = [], f, S), S), i, S, f, o, n ? O : S); break; default: - P5(T, C, C, C, [""], S, 0, o, S); + Pk(T, C, C, C, [""], S, 0, o, S); } } u = h = p = 0, m = y = 1, w = T = "", f = a; @@ -46253,7 +46253,7 @@ function P5(t, e, r, n, i, s, a, o, l) { o[u++] = (Lc(T) - 1) * y, y = 1; break; case 64: - gf() === 45 && (T += cA(Gl())), d = gf(), h = f = Lc(w = T += mEt(D5())), b++; + gf() === 45 && (T += cA(Gl())), d = gf(), h = f = Lc(w = T += mEt(Dk())), b++; break; case 45: g === 45 && Lc(T) == 2 && (m = 0); @@ -46264,7 +46264,7 @@ function P5(t, e, r, n, i, s, a, o, l) { function pY(t, e, r, n, i, s, a, o, l, u, h, f) { for (var d = i - 1, p = i === 0 ? s : [""], g = lEt(p), m = 0, v = 0, y = 0; m < n; ++m) for (var b = 0, w = zm(t, d + 1, d = rce(v = a[m])), O = t; b < g; ++b) - (O = nce(v > 0 ? p[b] + " " + w : M5(w, /&\f/g, p[b]))) && (l[y++] = O); + (O = nce(v > 0 ? p[b] + " " + w : Mk(w, /&\f/g, p[b]))) && (l[y++] = O); return SN(t, e, r, i === 0 ? ece : o, l, u, h, f); } function yEt(t, e, r, n) { @@ -46752,18 +46752,18 @@ Vm.prototype.toString = /* @__PURE__ */ x(function(e) { return this.name + ": " + CN(this, e); }, "toString"); var Za = Vm; -function N5(t, e, r, n, i) { +function Nk(t, e, r, n, i) { var s = "", a = "", o = Math.floor(i / 2) - 1; return n - e > o && (s = " ... ", e = n - o + s.length), r - n > o && (a = " ...", r = n + o - a.length), { str: s + t.slice(e, r).replace(/\t/g, "\u2192") + a, pos: n - e + s.length }; } -x(N5, "getLine"); -function I5(t, e) { +x(Nk, "getLine"); +function Ik(t, e) { return Vi.repeat(" ", e - t.length) + t; } -x(I5, "padStart"); +x(Ik, "padStart"); function Bce(t, e) { if (e = Object.create(e || null), !t.buffer) return null; @@ -46773,24 +46773,24 @@ function Bce(t, e) { a < 0 && (a = n.length - 1); var o = "", l, u, h = Math.min(t.line + e.linesAfter, i.length).toString().length, f = e.maxLength - (e.indent + h + 3); for (l = 1; l <= e.linesBefore && !(a - l < 0); l++) - u = N5( + u = Nk( t.buffer, n[a - l], i[a - l], t.position - (n[a] - n[a - l]), f - ), o = Vi.repeat(" ", e.indent) + I5((t.line - l + 1).toString(), h) + " | " + u.str + ` + ), o = Vi.repeat(" ", e.indent) + Ik((t.line - l + 1).toString(), h) + " | " + u.str + ` ` + o; - for (u = N5(t.buffer, n[a], i[a], t.position, f), o += Vi.repeat(" ", e.indent) + I5((t.line + 1).toString(), h) + " | " + u.str + ` + for (u = Nk(t.buffer, n[a], i[a], t.position, f), o += Vi.repeat(" ", e.indent) + Ik((t.line + 1).toString(), h) + " | " + u.str + ` `, o += Vi.repeat("-", e.indent + h + 3 + u.pos) + `^ `, l = 1; l <= e.linesAfter && !(a + l >= i.length); l++) - u = N5( + u = Nk( t.buffer, n[a + l], i[a + l], t.position - (n[a] - n[a + l]), f - ), o += Vi.repeat(" ", e.indent) + I5((t.line + l + 1).toString(), h) + " | " + u.str + ` + ), o += Vi.repeat(" ", e.indent) + Ik((t.line + l + 1).toString(), h) + " | " + u.str + ` `; return o.replace(/\n$/, ""); } @@ -49727,7 +49727,7 @@ const _7t = (t, e) => () => { parent: n.parent }).use(Vvt).use(E7t).use(v7t).use(b7t).use(m7t); return n.backslashLineBreak.value && b.use(Uvt), b; - }), v = uk((b) => { + }), v = u5((b) => { if (b.startState.doc.lines === b.state.doc.lines) return; let w = 0, O = 0; @@ -49739,7 +49739,7 @@ const _7t = (t, e) => () => { for (const [C, T] of d.current.entries()) C < w || (T === S.get(C) && S.delete(C), S.set(C + O, T)); d.current = S; - }), y = uk((b, w = {}) => b.split(/(?=\n#{1,3} )/g).reduce( + }), y = u5((b, w = {}) => b.split(/(?=\n#{1,3} )/g).reduce( (O, S) => { const C = O.length - 1, T = O[C]; let A = 1; @@ -50339,7 +50339,7 @@ class _f { codeLanguages: this.codeLanguage }), VJ(), Ku.of([r3e, { key: "Mod-Z", - run: Ck + run: C5 }])]; } disable(e) { @@ -50555,7 +50555,7 @@ const k8t = Ht.div` options: r } = cc(mc); let n = ss(null); - const i = vi(() => t.lineAuthors(e), [e]), s = uk((l) => l.heightChanged && l.view.requestMeasure({ + const i = vi(() => t.lineAuthors(e), [e]), s = u5((l) => l.heightChanged && l.view.requestMeasure({ read: (u) => t.updateHeight(e, u.dom.clientHeight) }), [e]), a = t.parentLineHeight(e) + 3.8; return ri(() => { @@ -50715,7 +50715,7 @@ const k8t = Ht.div` border-radius: var(--border-radius); background: var(--gray-200); font-family: monospace; - font-size: 0.875rem; + font-size: 14px; resize: none; border: 0; padding: 20px; @@ -50766,8 +50766,8 @@ const k8t = Ht.div` } .cm-ySelectionInfo { - font-size: 0.6rem; - padding: 0.25rem 0.5rem !important; + font-size: 10px; + padding: 4px 8px !important; border-top-left-radius: 10px; border-top-right-radius: 10px; border-bottom-right-radius: 10px; @@ -51078,10 +51078,10 @@ const k8t = Ht.div` &.admonition { border: var(--border-2) solid var(--green-500); - margin-bottom: 1rem; + margin-bottom: 16px; .admonition { - margin: 0rem 1.4rem 0.9rem 1.4rem; + margin: 0 22px 14px 22px; } & > header, @@ -51100,7 +51100,7 @@ const k8t = Ht.div` &[class="admonition"] { .admonition { - margin-top: 0.9rem; + margin-top: 14px; } } @@ -51238,7 +51238,7 @@ const k8t = Ht.div` border-left: 5px solid var(--green-500); margin-left: 0; margin-top: 0; - padding-left: 0.75rem; + padding-left: 12px; } table { @@ -53468,8 +53468,8 @@ const iLt = Ht.div` padding: 0; width: 100%; margin: 0; - margin-top: 0.5rem; - max-height: 10rem; + margin-top: 12px; + max-height: 240px; overflow-y: auto; scrollbar-width: thin; overscroll-behavior: contain; @@ -53479,7 +53479,7 @@ const iLt = Ht.div` width: 100%; cursor: pointer; border-radius: var(--border-radius); - height: 2rem; + height: 48px; padding: 0 5px; display: flex; align-items: center; @@ -53685,8 +53685,8 @@ ${i.value}`); label { display: block; color: white; - margin-top: 1rem; - margin-bottom: 0.5rem; + margin-top: 24px; + margin-bottom: 12px; font-weight: 600; font-size: 14px; } @@ -53696,8 +53696,8 @@ ${i.value}`); width: 100%; p:first-child { - margin-top: 1rem; - margin-bottom: 0.5rem; + margin-top: 24px; + margin-bottom: 12px; font-weight: 600; font-size: 14px; } @@ -53705,7 +53705,7 @@ ${i.value}`); .history-wrapper { display: flex; flex-direction: column; - gap: 1rem; + gap: 24px; overflow-y: auto; scrollbar-width: thin; } @@ -53718,10 +53718,10 @@ ${i.value}`); font-weight: 600; display: flex; text-align: left; - padding: 0.25rem; + padding: 6px; border-radius: var(--border-radius); flex-direction: column; - gap: 0.5rem; + gap: 12px; &:hover { background: var(--icon-selected); @@ -54337,7 +54337,7 @@ var ofe = function t(e) { getBaseElem: ofe, isCharacterBox: CLt, protocolFromUrl: _Lt -}, $5 = { +}, $k = { displayMode: { type: "boolean", description: "Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.", @@ -54444,9 +54444,9 @@ function ALt(t) { class BN { constructor(e) { this.displayMode = void 0, this.output = void 0, this.leqno = void 0, this.fleqn = void 0, this.throwOnError = void 0, this.errorColor = void 0, this.macros = void 0, this.minRuleThickness = void 0, this.colorIsTextColor = void 0, this.strict = void 0, this.trust = void 0, this.maxSize = void 0, this.maxExpand = void 0, this.globalGroup = void 0, e = e || {}; - for (var r in $5) - if ($5.hasOwnProperty(r)) { - var n = $5[r]; + for (var r in $k) + if ($k.hasOwnProperty(r)) { + var n = $k[r]; this[r] = e[r] !== void 0 ? n.processor ? n.processor(e[r]) : e[r] : ALt(n); } } @@ -54548,11 +54548,11 @@ function ILt(t) { } return null; } -var B5 = []; -DL.forEach((t) => t.blocks.forEach((e) => B5.push(...e))); +var Bk = []; +DL.forEach((t) => t.blocks.forEach((e) => Bk.push(...e))); function lfe(t) { - for (var e = 0; e < B5.length; e += 2) - if (t >= B5[e] && t <= B5[e + 1]) + for (var e = 0; e < Bk.length; e += 2) + if (t >= Bk[e] && t <= Bk[e + 1]) return !0; return !1; } @@ -65114,7 +65114,7 @@ var dMt = function(e, r) { render: ede, renderToString: dMt, ParseError: Ot, - SETTINGS_SCHEMA: $5, + SETTINGS_SCHEMA: $k, __parse: pMt, __renderToDomTree: nI, __renderToHTMLTree: gMt, @@ -65182,7 +65182,7 @@ function _Mt(t) { return r || CMt.test(t) ? EMt(t.slice(2), r ? 2 : 8) : SMt.test(t) ? BW : +t; } var FW = 1 / 0, AMt = 17976931348623157e292; -function F5(t) { +function Fk(t) { if (!t) return t === 0 ? t : 0; if (t = _Mt(t), t === FW || t === -FW) { @@ -65192,7 +65192,7 @@ function F5(t) { return t === t ? t : 0; } function bw(t) { - var e = F5(t), r = e % 1; + var e = Fk(t), r = e % 1; return e === e ? r ? e - r : e : 0; } function Mi() { @@ -66085,7 +66085,7 @@ function qNt(t, e, r, n) { } function YNt(t) { return function(e, r, n) { - return n && typeof n != "number" && Y0(e, r, n) && (r = n = void 0), e = F5(e), r === void 0 ? (r = e, e = 0) : r = F5(r), n = n === void 0 ? e < r ? 1 : -1 : F5(n), qNt(e, r, n, t); + return n && typeof n != "number" && Y0(e, r, n) && (r = n = void 0), e = Fk(e), r === void 0 ? (r = e, e = 0) : r = Fk(r), n = n === void 0 ? e < r ? 1 : -1 : Fk(n), qNt(e, r, n, t); }; } var WNt = YNt(); @@ -69520,7 +69520,7 @@ var Wt = {}, nx, e0e = (nx = class { fontFamily: t[e + "FontFamily"], fontSize: t[e + "FontSize"], fontWeight: t[e + "FontWeight"] -}), "c4ShapeFont"), z5 = /* @__PURE__ */ x((t) => ({ +}), "c4ShapeFont"), zk = /* @__PURE__ */ x((t) => ({ fontFamily: t.boundaryFontFamily, fontSize: t.boundaryFontSize, fontWeight: t.boundaryFontWeight @@ -69548,7 +69548,7 @@ function il(t, e, r, n, i) { x(il, "calcC4ShapeTextWH"); var t0e = /* @__PURE__ */ x(function(t, e, r) { e.x = r.data.startx, e.y = r.data.starty, e.width = r.data.stopx - r.data.startx, e.height = r.data.stopy - r.data.starty, e.label.y = Wt.c4ShapeMargin - 35; - let n = e.wrap && Wt.wrap, i = z5(Wt); + let n = e.wrap && Wt.wrap, i = zk(Wt); i.fontSize = i.fontSize + 2, i.fontWeight = "bold"; let s = Wl(e.label.text, i); il("label", e, n, i, s), Rc.drawBoundary(t, e, Wt); @@ -69627,7 +69627,7 @@ function CI(t, e, r, n, i) { for (let [a, o] of n.entries()) { let l = 0; o.image = { width: 0, height: 0, Y: 0 }, o.sprite && (o.image.width = 48, o.image.height = 48, o.image.Y = l, l = o.image.Y + o.image.height); - let u = o.wrap && Wt.wrap, h = z5(Wt); + let u = o.wrap && Wt.wrap, h = zk(Wt); if (h.fontSize = h.fontSize + 2, h.fontWeight = "bold", il( "label", o, @@ -69636,7 +69636,7 @@ function CI(t, e, r, n, i) { s.data.widthLimit ), o.label.Y = l + 8, l = o.label.Y + o.label.height, o.type && o.type.text !== "") { o.type.text = "[" + o.type.text + "]"; - let g = z5(Wt); + let g = zk(Wt); il( "type", o, @@ -69646,7 +69646,7 @@ function CI(t, e, r, n, i) { ), o.type.Y = l + 5, l = o.type.Y + o.type.height; } if (o.descr && o.descr.text !== "") { - let g = z5(Wt); + let g = zk(Wt); g.fontSize = g.fontSize - 2, il( "descr", o, @@ -70514,7 +70514,7 @@ var _Ft = /* @__PURE__ */ x((t, e) => { "transform", "translate(" + (t.x + n - t.width / 2) + ", " + (t.y - t.height / 2 - r) + ")" ) : e.attr("transform", "translate(" + t.x + ", " + t.y + ")"), n; -}, "positionNode"), BFt = "flowchart-", bG = 0, Km = ke(), td = /* @__PURE__ */ new Map(), Va = [], wb = /* @__PURE__ */ new Map(), Sh = [], _I = /* @__PURE__ */ new Map(), AI = /* @__PURE__ */ new Map(), Q5 = 0, ZL = !0, qo, uE, hE = [], fE = /* @__PURE__ */ x((t) => mt.sanitizeText(t, Km), "sanitizeText"), dE = /* @__PURE__ */ x(function(t) { +}, "positionNode"), BFt = "flowchart-", bG = 0, Km = ke(), td = /* @__PURE__ */ new Map(), Va = [], wb = /* @__PURE__ */ new Map(), Sh = [], _I = /* @__PURE__ */ new Map(), AI = /* @__PURE__ */ new Map(), Qk = 0, ZL = !0, qo, uE, hE = [], fE = /* @__PURE__ */ x((t) => mt.sanitizeText(t, Km), "sanitizeText"), dE = /* @__PURE__ */ x(function(t) { for (const e of td.values()) if (e.id === t) return e.domId; @@ -70654,7 +70654,7 @@ You have to call mermaid.initialize.` }, "setupToolTips"); hE.push(m0e); var KFt = /* @__PURE__ */ x(function(t = "gen-1") { - td = /* @__PURE__ */ new Map(), wb = /* @__PURE__ */ new Map(), Va = [], hE = [m0e], Sh = [], _I = /* @__PURE__ */ new Map(), Q5 = 0, AI = /* @__PURE__ */ new Map(), ZL = !0, uE = t, Km = ke(), us(); + td = /* @__PURE__ */ new Map(), wb = /* @__PURE__ */ new Map(), Va = [], hE = [m0e], Sh = [], _I = /* @__PURE__ */ new Map(), Qk = 0, AI = /* @__PURE__ */ new Map(), ZL = !0, uE = t, Km = ke(), us(); }, "clear"), JFt = /* @__PURE__ */ x((t) => { uE = t || "gen-2"; }, "setGen"), ezt = /* @__PURE__ */ x(function() { @@ -70675,7 +70675,7 @@ var KFt = /* @__PURE__ */ x(function(t = "gen-1") { if (uE === "gen-1") for (let u = 0; u < a.length; u++) a[u] = dE(a[u]); - n = n != null ? n : "subGraph" + Q5, i = i || "", i = fE(i), Q5 = Q5 + 1; + n = n != null ? n : "subGraph" + Qk, i = i || "", i = fE(i), Qk = Qk + 1; const l = { id: n, nodes: a, @@ -72823,7 +72823,7 @@ function Gc(t) { function aQt(t) { return typeof t == "object" && t !== null && typeof t.name == "string" && typeof t.type == "string" && typeof t.path == "string"; } -function U5(t) { +function Uk(t) { return typeof t == "object" && t !== null && ea(t.container) && Gc(t.reference) && typeof t.message == "string"; } class T0e { @@ -75217,11 +75217,11 @@ class In { } } function yUt(t) { - return St(t, V5); + return St(t, Vk); } -function V5(t) { +function Vk(t) { function e(r) { - return St(r, V5); + return St(r, Vk); } if (t instanceof Ma) { const r = { @@ -75252,14 +75252,14 @@ function V5(t) { return { type: "RepetitionMandatoryWithSeparator", idx: t.idx, - separator: V5(new In({ terminalType: t.separator })), + separator: Vk(new In({ terminalType: t.separator })), definition: e(t.definition) }; if (t instanceof po) return { type: "RepetitionWithSeparator", idx: t.idx, - separator: V5(new In({ terminalType: t.separator })), + separator: Vk(new In({ terminalType: t.separator })), definition: e(t.definition) }; if (t instanceof ei) @@ -75499,19 +75499,19 @@ function TUt(t) { function CUt(t, e) { return t.name + e + kpe; } -let q5 = {}; +let qk = {}; const EUt = new fpe(); function wE(t) { const e = t.toString(); - if (q5.hasOwnProperty(e)) - return q5[e]; + if (qk.hasOwnProperty(e)) + return qk[e]; { const r = EUt.pattern(e); - return q5[e] = r, r; + return qk[e] = r, r; } } function _Ut() { - q5 = {}; + qk = {}; } const Spe = "Complement Sets are not supported for first char optimization", kS = `Unable to use "first char" lexer optimizations: `; @@ -76138,15 +76138,15 @@ function WA(t, e, r) { t[e] === void 0 ? t[e] = [r] : t[e].push(r); } const yy = 256; -let Y5 = []; +let Yk = []; function rd(t) { - return t < yy ? t : Y5[t]; + return t < yy ? t : Yk[t]; } function tVt() { - if (Hr(Y5)) { - Y5 = new Array(65536); + if (Hr(Yk)) { + Yk = new Array(65536); for (let t = 0; t < 65536; t++) - Y5[t] = t > 255 ? 255 + ~~(t / 255) : t; + Yk[t] = t > 255 ? 255 + ~~(t / 255) : t; } } function Ew(t, e) { @@ -77356,7 +77356,7 @@ function DVt(t, e, r) { })), n; } function zpe(t, e, r, n = []) { - const i = [], s = W5(e.definition); + const i = [], s = Wk(e.definition); if (Hr(s)) return []; { @@ -77376,7 +77376,7 @@ function zpe(t, e, r, n = []) { return i.concat(u); } } -function W5(t) { +function Wk(t) { let e = []; if (Hr(t)) return e; @@ -77384,15 +77384,15 @@ function W5(t) { if (r instanceof Ma) e.push(r.referencedRule); else if (r instanceof oo || r instanceof _s || r instanceof Bo || r instanceof Fo || r instanceof po || r instanceof ei) - e = e.concat(W5(r.definition)); + e = e.concat(Wk(r.definition)); else if (r instanceof go) - e = as(St(r.definition, (s) => W5(s.definition))); + e = as(St(r.definition, (s) => Wk(s.definition))); else if (!(r instanceof In)) throw Error("non exhaustive match"); const n = OS(r), i = t.length > 1; if (n && i) { const s = ms(t); - return e.concat(W5(s)); + return e.concat(Wk(s)); } else return e; } @@ -77757,7 +77757,7 @@ function HVt(t, e, r, n, i, s, a) { const f = l.isEndOfRule; this.RULE_STACK.length === 1 && f && u === void 0 && (u = nd, h = 1), !(u === void 0 || h === void 0) && this.shouldInRepetitionRecoveryBeTried(u, h, a) && this.tryInRepetitionRecovery(t, e, r, u); } -const ZVt = 4, wd = 8, Xpe = 1 << wd, Hpe = 2 << wd, uR = 3 << wd, hR = 4 << wd, fR = 5 << wd, G5 = 6 << wd; +const ZVt = 4, wd = 8, Xpe = 1 << wd, Hpe = 2 << wd, uR = 3 << wd, hR = 4 << wd, fR = 5 << wd, Gk = 6 << wd; function HA(t, e, r) { return r | e | t; } @@ -77825,7 +77825,7 @@ class jVt { }), Ve(a, (u) => { this.computeLookaheadFunc(r, u.idx, hR, "RepetitionMandatory", u.maxLookahead, Pc(u)); }), Ve(o, (u) => { - this.computeLookaheadFunc(r, u.idx, G5, "RepetitionMandatoryWithSeparator", u.maxLookahead, Pc(u)); + this.computeLookaheadFunc(r, u.idx, Gk, "RepetitionMandatoryWithSeparator", u.maxLookahead, Pc(u)); }), Ve(l, (u) => { this.computeLookaheadFunc(r, u.idx, fR, "RepetitionWithSeparator", u.maxLookahead, Pc(u)); }); @@ -78547,7 +78547,7 @@ Make sure that all grammar rule definitions are done before 'performSelfAnalysis this.attemptInRepetitionRecovery(this.atLeastOneInternal, [e, r], i, hR, e, yVt); } atLeastOneSepFirstInternal(e, r) { - const n = this.getKeyForAutomaticLookahead(G5, e); + const n = this.getKeyForAutomaticLookahead(Gk, e); this.atLeastOneSepFirstInternalLogic(e, r, n); } atLeastOneSepFirstInternalLogic(e, r, n) { @@ -78563,7 +78563,7 @@ Make sure that all grammar rule definitions are done before 'performSelfAnalysis o, i, UG - ], o, G5, e, UG); + ], o, Gk, e, UG); } else throw this.raiseEarlyExitException(e, Yn.REPETITION_MANDATORY_WITH_SEPARATOR, r.ERR_MSG); } @@ -78624,7 +78624,7 @@ Make sure that all grammar rule definitions are done before 'performSelfAnalysis n, i, s - ], n, G5, e, s); + ], n, Gk, e, s); } doSingleRepetition(e) { const r = this.getLexerPosition(); @@ -82437,7 +82437,7 @@ class QYt { if (n._ref === void 0) try { const i = this.getCandidate(e); - if (U5(i)) + if (Uk(i)) n._ref = i; else if (n._nodeDescription = i, this.langiumDocuments().hasDocument(i.documentUri)) { const s = this.loadAstNode(i); @@ -82480,7 +82480,7 @@ class QYt { return this._nodeDescription; }, get error() { - return U5(this._ref) ? this._ref : void 0; + return Uk(this._ref) ? this._ref : void 0; } }; return a; @@ -82488,7 +82488,7 @@ class QYt { getLinkedNode(e) { try { const r = this.getCandidate(e); - if (U5(r)) + if (Uk(r)) return { error: r }; const n = this.loadAstNode(r); return n ? { node: n, descr: r } : { @@ -83254,7 +83254,7 @@ class iWt { async createDescriptions(e, r = ls.None) { const n = [], i = e.parseResult.value; for (const s of Hg(i)) - await jl(r), upe(s).filter((a) => !U5(a)).forEach((a) => { + await jl(r), upe(s).filter((a) => !Uk(a)).forEach((a) => { const o = this.createDescription(a); o && n.push(o); }); @@ -86311,7 +86311,7 @@ Ks.extend(CXt); Ks.extend(EXt); Ks.extend(_Xt); var bH = { friday: 5, saturday: 6 }, Xc = "", a$ = "", o$ = void 0, l$ = "", Dw = [], Pw = [], c$ = /* @__PURE__ */ new Map(), u$ = [], qS = [], a1 = "", h$ = "", ime = ["active", "done", "crit", "milestone"], f$ = [], Nw = !1, d$ = !1, p$ = "sunday", YS = "saturday", QR = 0, LXt = /* @__PURE__ */ x(function() { - u$ = [], qS = [], a1 = "", f$ = [], X5 = 0, VR = void 0, H5 = void 0, Di = [], Xc = "", a$ = "", h$ = "", o$ = void 0, l$ = "", Dw = [], Pw = [], Nw = !1, d$ = !1, QR = 0, c$ = /* @__PURE__ */ new Map(), us(), p$ = "sunday", YS = "saturday"; + u$ = [], qS = [], a1 = "", f$ = [], Xk = 0, VR = void 0, Hk = void 0, Di = [], Xc = "", a$ = "", h$ = "", o$ = void 0, l$ = "", Dw = [], Pw = [], Nw = !1, d$ = !1, QR = 0, c$ = /* @__PURE__ */ new Map(), us(), p$ = "sunday", YS = "saturday"; }, "clear"), RXt = /* @__PURE__ */ x(function(t) { a$ = t; }, "setAxisFormat"), MXt = /* @__PURE__ */ x(function() { @@ -86440,8 +86440,8 @@ var bH = { friday: 5, saturday: 6 }, Xc = "", a$ = "", o$ = void 0, l$ = "", Dw h.isValid() && (o = h); } return o.toDate(); -}, "getEndDate"), X5 = 0, jg = /* @__PURE__ */ x(function(t) { - return t === void 0 ? (X5 = X5 + 1, "task" + X5) : t; +}, "getEndDate"), Xk = 0, jg = /* @__PURE__ */ x(function(t) { + return t === void 0 ? (Xk = Xk + 1, "task" + Xk) : t; }, "parseId"), nHt = /* @__PURE__ */ x(function(t, e) { let r; e.substr(0, 1) === ":" ? r = e.substr(1, e.length) : r = e; @@ -86496,7 +86496,7 @@ var bH = { friday: 5, saturday: 6 }, Xc = "", a$ = "", o$ = void 0, l$ = "", Dw break; } return i; -}, "parseData"), VR, H5, Di = [], cme = {}, sHt = /* @__PURE__ */ x(function(t, e) { +}, "parseData"), VR, Hk, Di = [], cme = {}, sHt = /* @__PURE__ */ x(function(t, e) { const r = { section: a1, type: a1, @@ -86506,10 +86506,10 @@ var bH = { friday: 5, saturday: 6 }, Xc = "", a$ = "", o$ = void 0, l$ = "", Dw raw: { data: e }, task: t, classes: [] - }, n = iHt(H5, e); - r.raw.startTime = n.startTime, r.raw.endTime = n.endTime, r.id = n.id, r.prevTaskId = H5, r.active = n.active, r.done = n.done, r.crit = n.crit, r.milestone = n.milestone, r.order = QR, QR++; + }, n = iHt(Hk, e); + r.raw.startTime = n.startTime, r.raw.endTime = n.endTime, r.id = n.id, r.prevTaskId = Hk, r.active = n.active, r.done = n.done, r.crit = n.crit, r.milestone = n.milestone, r.order = QR, QR++; const i = Di.push(r); - H5 = r.id, cme[r.id] = i - 1; + Hk = r.id, cme[r.id] = i - 1; }, "addTask"), Fp = /* @__PURE__ */ x(function(t) { const e = cme[t]; return Di[e]; @@ -86699,7 +86699,7 @@ var fHt = /* @__PURE__ */ x(function() { d[A] = h.filter((E) => E.type === A).length; } u.setAttribute("viewBox", "0 0 " + Iu + " " + p); - const g = o.select(`[id="${e}"]`), m = C5t().domain([ + const g = o.select(`[id="${e}"]`), m = Ckt().domain([ fbt(h, function(A) { return A.startTime; }), @@ -87281,7 +87281,7 @@ var fme = cn.pie, m$ = { label: n[0], value: n[1] })).sort((n, i) => i.value - n.value); - return Q5t().value( + return Qkt().value( (n) => n.value )(e); }, "createPieArcs"), zHt = /* @__PURE__ */ x((t, e, r, n) => { @@ -93812,15 +93812,15 @@ g.classGroup line { drawClass: wKt, drawEdge: xKt, drawNote: OKt -}, Z5 = {}, E4 = 20, Gv = /* @__PURE__ */ x(function(t) { - const e = Object.entries(Z5).find((r) => r[1].label === t); +}, Zk = {}, E4 = 20, Gv = /* @__PURE__ */ x(function(t) { + const e = Object.entries(Zk).find((r) => r[1].label === t); if (e) return e[0]; }, "getGraphId"), kKt = /* @__PURE__ */ x(function(t) { t.append("defs").append("marker").attr("id", "extensionStart").attr("class", "extension").attr("refX", 0).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").append("path").attr("d", "M 1,7 L18,13 V 1 Z"), t.append("defs").append("marker").attr("id", "extensionEnd").attr("refX", 19).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").append("path").attr("d", "M 1,1 V 13 L18,7 Z"), t.append("defs").append("marker").attr("id", "compositionStart").attr("class", "extension").attr("refX", 0).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").append("path").attr("d", "M 18,7 L9,13 L1,7 L9,1 Z"), t.append("defs").append("marker").attr("id", "compositionEnd").attr("refX", 19).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").append("path").attr("d", "M 18,7 L9,13 L1,7 L9,1 Z"), t.append("defs").append("marker").attr("id", "aggregationStart").attr("class", "extension").attr("refX", 0).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").append("path").attr("d", "M 18,7 L9,13 L1,7 L9,1 Z"), t.append("defs").append("marker").attr("id", "aggregationEnd").attr("refX", 19).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").append("path").attr("d", "M 18,7 L9,13 L1,7 L9,1 Z"), t.append("defs").append("marker").attr("id", "dependencyStart").attr("class", "extension").attr("refX", 0).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").append("path").attr("d", "M 5,7 L9,13 L1,7 L9,1 Z"), t.append("defs").append("marker").attr("id", "dependencyEnd").attr("refX", 19).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").append("path").attr("d", "M 18,7 L9,13 L14,7 L9,1 Z"); }, "insertMarkers"), SKt = /* @__PURE__ */ x(function(t, e, r, n) { const i = ke().class; - Z5 = {}, Z.info("Rendering diagram " + t); + Zk = {}, Z.info("Rendering diagram " + t); const s = ke().securityLevel; let a; s === "sandbox" && (a = ht("#i" + e)); @@ -93837,7 +93837,7 @@ g.classGroup line { const h = n.db.getClasses(), f = [...h.keys()]; for (const b of f) { const w = h.get(b), O = r7.drawClass(l, w, i, n); - Z5[O.id] = O, u.setNode(O.id, O), Z.info("Org height: " + O.height); + Zk[O.id] = O, u.setNode(O.id, O), Z.info("Org height: " + O.height); } n.db.getRelations().forEach(function(b) { Z.info( @@ -93853,7 +93853,7 @@ g.classGroup line { }), n.db.getNotes().forEach(function(b) { Z.debug(`Adding note: ${JSON.stringify(b)}`); const w = r7.drawNote(l, b, i, n); - Z5[w.id] = w, u.setNode(w.id, w), b.class && h.has(b.class) && u.setEdge( + Zk[w.id] = w, u.setNode(w.id, w), b.class && h.has(b.class) && u.setEdge( b.id, Gv(b.class), { @@ -95218,12 +95218,12 @@ var D1e = aM, uJt = "LR", P1e = "TB", JS = "state", P$ = "relation", hJt = "clas getClasses: LJt, draw: RJt, getDir: q1e -}, j5 = /* @__PURE__ */ new Map(), of = 0; -function K5(t = "", e = 0, r = "", n = N$) { +}, jk = /* @__PURE__ */ new Map(), of = 0; +function Kk(t = "", e = 0, r = "", n = N$) { const i = r !== null && r.length > 0 ? `${n}${r}` : ""; return `${_Jt}-${t}${i}-${e}`; } -x(K5, "stateDomId"); +x(Kk, "stateDomId"); var DJt = /* @__PURE__ */ x((t, e, r, n, i, s, a, o) => { Z.trace("items", e), e.forEach((l) => { switch (l.stmt) { @@ -95310,14 +95310,14 @@ var Sy = /* @__PURE__ */ x((t, e, r, n, i, s, a, o) => { const l = e.id, u = r.get(l), h = Y1e(u), f = W1e(u); if (Z.info("dataFetcher parsedItem", e, u, f), l !== "root") { let g = n7; - e.start === !0 ? g = pJt : e.start === !1 && (g = gJt), e.type !== $w && (g = e.type), j5.get(l) || j5.set(l, { + e.start === !0 ? g = pJt : e.start === !1 && (g = gJt), e.type !== $w && (g = e.type), jk.get(l) || jk.set(l, { id: l, shape: g, description: mt.sanitizeText(l, ke()), cssClasses: `${h} ${bJt}`, cssStyles: f }); - const m = j5.get(l); + const m = jk.get(l); e.description && (Array.isArray(m.description) ? (m.shape = i7, m.description.push(e.description)) : ((d = m.description) == null ? void 0 : d.length) > 0 ? (m.shape = i7, m.description === l ? m.description = [e.description] : m.description = [m.description, e.description]) : (m.shape = n7, m.description = e.description), m.description = mt.sanitizeTextOrArray(m.description, ke())), ((p = m.description) == null ? void 0 : p.length) === 1 && m.shape === i7 && (m.type === "group" ? m.shape = IH : m.shape = n7), !m.type && e.doc && (Z.info("Setting cluster for XCX", l, BH(e)), m.type = "group", m.isGroup = !0, m.dir = BH(e), m.shape = e.type === N1e ? NH : IH, m.cssClasses = `${m.cssClasses} ${TJt} ${s ? EJt : ""}`); const v = { labelStyle: "", @@ -95328,7 +95328,7 @@ var Sy = /* @__PURE__ */ x((t, e, r, n, i, s, a, o) => { cssStyles: m.cssStyles, id: l, dir: m.dir, - domId: K5(l, of), + domId: Kk(l, of), type: m.type, isGroup: m.type === "group", padding: 8, @@ -95345,7 +95345,7 @@ var Sy = /* @__PURE__ */ x((t, e, r, n, i, s, a, o) => { cssStyles: [], cssCompilesStyles: [], id: l + AJt + "-" + of, - domId: K5(l, of, V1e), + domId: Kk(l, of, V1e), type: m.type, isGroup: m.type === "group", padding: ke().flowchart.padding, @@ -95358,7 +95358,7 @@ var Sy = /* @__PURE__ */ x((t, e, r, n, i, s, a, o) => { cssClasses: m.cssClasses, cssStyles: [], id: l + $H, - domId: K5(l, of, U1e), + domId: Kk(l, of, U1e), type: "group", isGroup: !0, padding: 16, @@ -95387,7 +95387,7 @@ var Sy = /* @__PURE__ */ x((t, e, r, n, i, s, a, o) => { } e.doc && (Z.trace("Adding nodes children "), DJt(e, e.doc, r, n, i, !s, a, o)); }, "dataFetcher"), PJt = /* @__PURE__ */ x(() => { - j5.clear(), of = 0; + jk.clear(), of = 0; }, "reset"), I$ = "[*]", G1e = "start", X1e = I$, H1e = "end", FH = "color", zH = "fill", NJt = "bgFill", IJt = ","; function $$() { return /* @__PURE__ */ new Map(); @@ -95409,9 +95409,9 @@ var eT = [], B$ = [], Z1e = uJt, tT = [], Jg = $$(), j1e = /* @__PURE__ */ x(() DEPENDENCY: 3 }, A4 = /* @__PURE__ */ x((t) => JSON.parse(JSON.stringify(t)), "clone"), FJt = /* @__PURE__ */ x((t) => { Z.info("Setting root doc", t), tT = t; -}, "setRootDoc"), zJt = /* @__PURE__ */ x(() => tT, "getRootDoc"), J5 = /* @__PURE__ */ x((t, e, r) => { +}, "setRootDoc"), zJt = /* @__PURE__ */ x(() => tT, "getRootDoc"), Jk = /* @__PURE__ */ x((t, e, r) => { if (e.stmt === P$) - J5(t, e.state1, !0), J5(t, e.state2, !1); + Jk(t, e.state1, !0), Jk(t, e.state2, !1); else if (e.stmt === JS && (e.id === "[*]" ? (e.id = r ? t.id + "_start" : t.id + "_end", e.start = r) : e.id = e.id.trim()), e.doc) { const n = []; let i = [], s; @@ -95430,9 +95430,9 @@ var eT = [], B$ = [], Z1e = uJt, tT = [], Jg = $$(), j1e = /* @__PURE__ */ x(() }; n.push(A4(a)), e.doc = n; } - e.doc.forEach((a) => J5(e, a, !0)); + e.doc.forEach((a) => Jk(e, a, !0)); } -}, "docTranslator"), F$ = /* @__PURE__ */ x(() => (J5({ id: "root" }, { id: "root", doc: tT }, !0), { id: "root", doc: tT }), "getRootDocV2"), QJt = /* @__PURE__ */ x((t) => { +}, "docTranslator"), F$ = /* @__PURE__ */ x(() => (Jk({ id: "root" }, { id: "root", doc: tT }, !0), { id: "root", doc: tT }), "getRootDocV2"), QJt = /* @__PURE__ */ x((t) => { let e; t.doc ? e = t.doc : e = t, Z.info(e), K1e(!0), Z.info("Extract initial document:", e), e.forEach((s) => { switch (Z.warn("Statement", s.stmt), s.stmt) { @@ -99179,10 +99179,10 @@ var Irr = ztr(function(t, e) { e.x1 = Math.min(e.x1, r.x1), e.x2 = Math.max(e.x2, r.x2), e.w = e.x2 - e.x1, e.y1 = Math.min(e.y1, r.y1), e.y2 = Math.max(e.y2, r.y2), e.h = e.y2 - e.y1; }, anr = function(e, r, n) { e.x1 = Math.min(e.x1, r), e.x2 = Math.max(e.x2, r), e.w = e.x2 - e.x1, e.y1 = Math.min(e.y1, n), e.y2 = Math.max(e.y2, n), e.h = e.y2 - e.y1; -}, ek = function(e) { +}, e5 = function(e) { var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0; return e.x1 -= r, e.x2 += r, e.y1 -= r, e.y2 += r, e.w = e.x2 - e.x1, e.h = e.y2 - e.y1, e; -}, tk = function(e) { +}, t5 = function(e) { var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [0], n, i, s, a; if (r.length === 1) n = i = s = a = r[0]; @@ -101146,7 +101146,7 @@ var war = { delay: Jr.delay(), delayAnimation: Jr.delayAnimation(), stop: Jr.stop() -}, rk = { +}, r5 = { classes: function(e) { var r = this; if (e === void 0) { @@ -101198,7 +101198,7 @@ var war = { }, r), n; } }; -rk.className = rk.classNames = rk.classes; +r5.className = r5.classNames = r5.classes; var Fr = { metaChar: "[\\!\\\"\\#\\$\\%\\&\\'\\(\\)\\*\\+\\,\\.\\/\\:\\;\\<\\=\\>\\?\\@\\[\\]\\^\\`\\{\\|\\}\\~]", comparatorOp: "=|\\!=|>|>=|<|<=|\\$=|\\^=|\\*=", @@ -102525,7 +102525,7 @@ var Xo = function(e) { if (o !== "none") { n === "source" ? (l = s.srcX, u = s.srcY) : n === "target" ? (l = s.tgtX, u = s.tgtY) : (l = s.midX, u = s.midY); var h = i.arrowBounds = i.arrowBounds || {}, f = h[n] = h[n] || {}; - f.x1 = l - a, f.y1 = u - a, f.x2 = l + a, f.y2 = u + a, f.w = f.x2 - f.x1, f.h = f.y2 - f.y1, ek(f, 1), Nl(e, f.x1, f.y1, f.x2, f.y2); + f.x1 = l - a, f.y1 = u - a, f.x2 = l + a, f.y2 = u + a, f.w = f.x2 - f.x1, f.h = f.y2 - f.y1, e5(f, 1), Nl(e, f.x1, f.y1, f.x2, f.y2); } } }, p7 = function(e, r, n) { @@ -102605,7 +102605,7 @@ var Xo = function(e) { var s = r.pstyle("outline-offset").value, a = r.pstyle("shape").value, o = i + s, l = (e.w + o * 2) / e.w, u = (e.h + o * 2) / e.h, h = 0, f = 0; ["diamond", "pentagon", "round-triangle"].includes(a) ? (l = (e.w + o * 2.4) / e.w, f = -o / 3.6) : ["concave-hexagon", "rhomboid", "right-rhomboid"].includes(a) ? l = (e.w + o * 2.4) / e.w : a === "star" ? (l = (e.w + o * 2.8) / e.w, u = (e.h + o * 2.6) / e.h, f = -o / 3.8) : a === "triangle" ? (l = (e.w + o * 2.8) / e.w, u = (e.h + o * 2.4) / e.h, f = -o / 1.4) : a === "vee" && (l = (e.w + o * 4.4) / e.w, u = (e.h + o * 3.8) / e.h, f = -o * 0.5); var d = e.h * u - e.h, p = e.w * l - e.w; - if (tk(e, [Math.ceil(d / 2), Math.ceil(p / 2)]), h != 0 || f !== 0) { + if (t5(e, [Math.ceil(d / 2), Math.ceil(p / 2)]), h != 0 || f !== 0) { var g = snr(e, h, f); Wve(e, g); } @@ -102682,13 +102682,13 @@ var Xo = function(e) { } } var J = o.bodyBounds = o.bodyBounds || {}; - lZ(J, a), tk(J, y), ek(J, 1), i && (h = a.x1, f = a.x2, d = a.y1, p = a.y2, Nl(a, h - A, d - A, f + A, p + A)); + lZ(J, a), t5(J, y), e5(J, 1), i && (h = a.x1, f = a.x2, d = a.y1, p = a.y2, Nl(a, h - A, d - A, f + A, p + A)); var oe = o.overlayBounds = o.overlayBounds || {}; - lZ(oe, a), tk(oe, y), ek(oe, 1); + lZ(oe, a), t5(oe, y), e5(oe, 1); var ae = o.labelBounds = o.labelBounds || {}; ae.all != null ? inr(ae.all) : ae.all = lo(), i && r.includeLabels && (r.includeMainLabels && p7(a, e, null), u && (r.includeSourceLabels && p7(a, e, "source"), r.includeTargetLabels && p7(a, e, "target"))); } - return a.x1 = Xo(a.x1), a.y1 = Xo(a.y1), a.x2 = Xo(a.x2), a.y2 = Xo(a.y2), a.w = Xo(a.x2 - a.x1), a.h = Xo(a.y2 - a.y1), a.w > 0 && a.h > 0 && w && (tk(a, y), ek(a, 1)), a; + return a.x1 = Xo(a.x1), a.y1 = Xo(a.y1), a.x2 = Xo(a.x2), a.y2 = Xo(a.y2), a.w = Xo(a.x2 - a.x1), a.h = Xo(a.y2 - a.y1), a.w > 0 && a.h > 0 && w && (t5(a, y), e5(a, 1)), a; }, bye = function(e) { var r = 0, n = function(a) { return (a ? 1 : 0) << r++; @@ -103464,7 +103464,7 @@ var sor = function() { sor(); var aor = Bs({ nodeDimensionsIncludeLabels: !1 -}), nk = { +}), n5 = { layoutDimensions: function(e) { e = aor(e); var r; @@ -103586,7 +103586,7 @@ var aor = Bs({ })); } }; -nk.createLayout = nk.makeLayout = nk.layout; +n5.createLayout = n5.makeLayout = n5.layout; function Aye(t, e, r) { var n = r._private, i = n.styleCache = n.styleCache || [], s; return (s = i[t]) != null || (s = i[t] = e(r)), s; @@ -104476,7 +104476,7 @@ En.move = function(t) { } return this; }; -[tye, war, rk, Mf, g1, $ar, GE, Jar, Cye, Eye, ior, fT, nk, As, Df, ia].forEach(function(t) { +[tye, war, r5, Mf, g1, $ar, GE, Jar, Cye, Eye, ior, fT, n5, As, Df, ia].forEach(function(t) { ur(En, t); }); var hor = { @@ -104640,7 +104640,7 @@ var por = function() { return function(a, o, l) { return a + (o - a) * s(l); }; -}, ik = { +}, i5 = { linear: function(e, r, n) { return e + (r - e) * n; }, @@ -104671,7 +104671,7 @@ var por = function() { "ease-in-out-circ": wn(0.785, 0.135, 0.15, 0.86), spring: function(e, r, n) { if (n === 0) - return ik.linear; + return i5.linear; var i = por(e, r, n); return function(s, a, o) { return s + (a - s) * i(o); @@ -104710,7 +104710,7 @@ function gor(t, e, r, n) { var i = !n, s = t._private, a = e._private, o = a.easing, l = a.startTime, u = n ? t : t.cy(), h = u.style(); if (!a.easingImpl) if (o == null) - a.easingImpl = ik.linear; + a.easingImpl = i5.linear; else { var f; if (Jt(o)) { @@ -104721,7 +104721,7 @@ function gor(t, e, r, n) { var p, g; Jt(f) ? (p = f, g = []) : (p = f[1], g = f.slice(2).map(function(I) { return +I; - })), g.length > 0 ? (p === "spring" && g.push(a.duration), a.easingImpl = ik[p].apply(null, g)) : a.easingImpl = ik[p]; + })), g.length > 0 ? (p === "spring" && g.push(a.duration), a.easingImpl = i5[p].apply(null, g)) : a.easingImpl = i5[p]; } var m = a.easingImpl, v; if (a.duration === 0 ? v = 1 : v = (r - l) / a.duration, a.applying && (v = a.progress), v < 0 ? v = 0 : v > 1 && (v = 1), a.delay == null) { @@ -104870,7 +104870,7 @@ var mM = { } }; mM.jpeg = mM.jpg; -var sk = { +var s5 = { layout: function(e) { var r = this; if (e == null) { @@ -104895,7 +104895,7 @@ var sk = { return a; } }; -sk.createLayout = sk.makeLayout = sk.layout; +s5.createLayout = s5.makeLayout = s5.layout; var bor = { notify: function(e, r) { var n = this._private; @@ -105005,7 +105005,7 @@ var bor = { } }; vM.invalidateDimensions = vM.resize; -var ak = { +var a5 = { collection: function(e, r) { return Jt(e) ? this.$(e) : Ro(e) ? e.collection() : vn(e) ? (r || (r = {}), new Ls(this, e, r.unique, r.removed)) : new Ls(this); }, @@ -105029,7 +105029,7 @@ var ak = { return this._private.elements; } }; -ak.elements = ak.filter = ak.$; +a5.elements = a5.filter = a5.$; var ha = {}, s2 = "t", wor = "f"; ha.apply = function(t) { for (var e = this, r = e._private, n = r.cy, i = n.collection(), s = 0; s < t.length; s++) { @@ -107735,7 +107735,7 @@ ur(dT, { } }); dT.$id = dT.getElementById; -[hor, vor, Lye, mM, sk, bor, vM, ak, Oor, pp, Yb].forEach(function(t) { +[hor, vor, Lye, mM, s5, bor, vM, a5, Oor, pp, Yb].forEach(function(t) { ur(dT, t); }); var Sor = { @@ -109094,7 +109094,7 @@ gT.getArrowWidth = gT.getArrowHeight = function(t, e) { var r = this.arrowWidthCache = this.arrowWidthCache || {}, n = r[t + ", " + e]; return n || (n = Math.max(Math.pow(t * 13.37, 0.9), 29) * e, r[t + ", " + e] = n, n); }; -var yM, bM, _c = {}, Yo = {}, jZ, KZ, n0, ok, $u, $d, qd, Cc, ng, z4, Fye, zye, xM, wM, JZ, ej = function(e, r, n) { +var yM, bM, _c = {}, Yo = {}, jZ, KZ, n0, o5, $u, $d, qd, Cc, ng, z4, Fye, zye, xM, wM, JZ, ej = function(e, r, n) { n.x = r.x - e.x, n.y = r.y - e.y, n.len = Math.sqrt(n.x * n.x + n.y * n.y), n.nx = n.x / n.len, n.ny = n.y / n.len, n.ang = Math.atan2(n.ny, n.nx); }, Zor = function(e, r) { r.x = e.x * -1, r.y = e.y * -1, r.nx = e.nx * -1, r.ny = e.ny * -1, r.ang = e.ang > 0 ? -(Math.PI - e.ang) : Math.PI + e.ang; @@ -109103,7 +109103,7 @@ var yM, bM, _c = {}, Yo = {}, jZ, KZ, n0, ok, $u, $d, qd, Cc, ng, z4, Fye, zye, yM = r.x, bM = r.y, qd = ng = 0; return; } - n0 = 1, ok = !1, KZ < 0 ? $u < 0 ? $u = Math.PI + $u : ($u = Math.PI - $u, n0 = -1, ok = !0) : $u > 0 && (n0 = -1, ok = !0), r.radius !== void 0 ? ng = r.radius : ng = i, $d = $u / 2, z4 = Math.min(_c.len / 2, Yo.len / 2), s ? (Cc = Math.abs(Math.cos($d) * ng / Math.sin($d)), Cc > z4 ? (Cc = z4, qd = Math.abs(Cc * Math.sin($d) / Math.cos($d))) : qd = ng) : (Cc = Math.min(z4, ng), qd = Math.abs(Cc * Math.sin($d) / Math.cos($d))), xM = r.x + Yo.nx * Cc, wM = r.y + Yo.ny * Cc, yM = xM - Yo.ny * qd * n0, bM = wM + Yo.nx * qd * n0, Fye = r.x + _c.nx * Cc, zye = r.y + _c.ny * Cc, JZ = r; + n0 = 1, o5 = !1, KZ < 0 ? $u < 0 ? $u = Math.PI + $u : ($u = Math.PI - $u, n0 = -1, o5 = !0) : $u > 0 && (n0 = -1, o5 = !0), r.radius !== void 0 ? ng = r.radius : ng = i, $d = $u / 2, z4 = Math.min(_c.len / 2, Yo.len / 2), s ? (Cc = Math.abs(Math.cos($d) * ng / Math.sin($d)), Cc > z4 ? (Cc = z4, qd = Math.abs(Cc * Math.sin($d) / Math.cos($d))) : qd = ng) : (Cc = Math.min(z4, ng), qd = Math.abs(Cc * Math.sin($d) / Math.cos($d))), xM = r.x + Yo.nx * Cc, wM = r.y + Yo.ny * Cc, yM = xM - Yo.ny * qd * n0, bM = wM + Yo.nx * qd * n0, Fye = r.x + _c.nx * Cc, zye = r.y + _c.ny * Cc, JZ = r; }; function Qye(t, e) { e.radius === 0 ? t.lineTo(e.cx, e.cy) : t.arc(e.cx, e.cy, e.radius, e.startAngle, e.endAngle, e.counterClockwise); @@ -109131,7 +109131,7 @@ function pB(t, e, r, n) { stopY: wM, startAngle: _c.ang + Math.PI / 2 * n0, endAngle: Yo.ang - Math.PI / 2 * n0, - counterClockwise: ok + counterClockwise: o5 }); } var fa = {}; @@ -111525,7 +111525,7 @@ var v7 = 1e3 / 60, Hye = { return s && this.invalidateKey(i), s || this.getNumberOfIdsForKey(i) === 0; } }]), t; -}(), ij = 25, Q4 = 50, lk = -4, OM = 3, rlr = 7.99, nlr = 8, ilr = 1024, slr = 1024, alr = 1024, olr = 0.2, llr = 0.8, clr = 10, ulr = 0.15, hlr = 0.1, flr = 0.9, dlr = 0.9, plr = 100, glr = 1, Ag = { +}(), ij = 25, Q4 = 50, l5 = -4, OM = 3, rlr = 7.99, nlr = 8, ilr = 1024, slr = 1024, alr = 1024, olr = 0.2, llr = 0.8, clr = 10, ulr = 0.15, hlr = 0.1, flr = 0.9, dlr = 0.9, plr = 100, glr = 1, Ag = { dequeue: "dequeue", downscale: "downscale", highQuality: "highQuality" @@ -111568,8 +111568,8 @@ es.getElement = function(t, e, r, n, i) { var s = this, a = this.renderer, o = a.cy.zoom(), l = this.lookup; if (!e || e.w === 0 || e.h === 0 || isNaN(e.w) || isNaN(e.h) || !t.visible() || t.removed() || !s.allowEdgeTxrCaching && t.isEdge() || !s.allowParentTxrCaching && t.isParent()) return null; - if (n == null && (n = Math.ceil(eB(o * r))), n < lk) - n = lk; + if (n == null && (n = Math.ceil(eB(o * r))), n < l5) + n = l5; else if (o >= rlr || n > OM) return null; var u = Math.pow(2, n), h = e.h * u, f = e.w * u, d = a.eleTextBiggerThanMin(t, u); @@ -111609,7 +111609,7 @@ es.getElement = function(t, e, r, n, i) { else { var R; if (!w && !O && !S) - for (var $ = n - 1; $ >= lk; $--) { + for (var $ = n - 1; $ >= l5; $--) { var k = l.get(t, $); if (k) { R = k; @@ -111637,7 +111637,7 @@ es.invalidateElements = function(t) { es.invalidateElement = function(t) { var e = this, r = e.lookup, n = [], i = r.isInvalid(t); if (!!i) { - for (var s = lk; s <= OM; s++) { + for (var s = l5; s <= OM; s++) { var a = r.getForCachedKey(t, s); a && n.push(a); } @@ -117267,7 +117267,7 @@ var yT = LM, r_ = [], n_ = [], bT = /* @__PURE__ */ new Map(), Wcr = /* @__PURE_ [0, 0], [h, f] ])(y); - const S = RC(_5t); + const S = RC(_kt); u.append("g").attr("class", "nodes").selectAll(".node").data(y.nodes).join("g").attr("class", "node").attr("id", (D) => (D.uid = xj.next("node-")).id).attr("transform", function(D) { return "translate(" + D.x0 + "," + D.y0 + ")"; }).attr("x", (D) => D.x0).attr("y", (D) => D.y0).append("rect").attr("height", (D) => D.y1 - D.y0).attr("width", (D) => D.x1 - D.x0).attr("fill", (D) => S(D.id)); diff --git a/docs/collaboration.html b/docs/collaboration.html index 4c3e7bb..ff3eb0a 100644 --- a/docs/collaboration.html +++ b/docs/collaboration.html @@ -472,7 +472,7 @@

Other Collaborative Features8c864215 + f48f2673 @ main diff --git a/docs/comments.html b/docs/comments.html index 6a45c78..67095f8 100644 --- a/docs/comments.html +++ b/docs/comments.html @@ -622,7 +622,7 @@

Suggestions - 8c864215 + f48f2673 @ main diff --git a/docs/genindex.html b/docs/genindex.html index 54872c7..d0a812d 100644 --- a/docs/genindex.html +++ b/docs/genindex.html @@ -367,7 +367,7 @@ - 8c864215 + f48f2673 @ main diff --git a/docs/index.html b/docs/index.html index e21a505..c8e4356 100644 --- a/docs/index.html +++ b/docs/index.html @@ -426,7 +426,7 @@

MyST Editor - User Manual - 8c864215 + f48f2673 @ main diff --git a/docs/introduction.html b/docs/introduction.html index af85106..35fa045 100644 --- a/docs/introduction.html +++ b/docs/introduction.html @@ -426,7 +426,7 @@

Introduction - 8c864215 + f48f2673 @ main diff --git a/docs/mermaid.html b/docs/mermaid.html index 1f7501e..8e8672e 100644 --- a/docs/mermaid.html +++ b/docs/mermaid.html @@ -430,7 +430,7 @@

Mermaid Diagrams8c864215 + f48f2673 @ main diff --git a/docs/rich-links.html b/docs/rich-links.html index 313fbd1..e08ef3b 100644 --- a/docs/rich-links.html +++ b/docs/rich-links.html @@ -506,7 +506,7 @@

View Mode Buttons8c864215 + f48f2673 @ main