!(function (t) { var e = {}; function r(n) { if (e[n]) return e[n].exports; var o = (e[n] = { i: n, l: !1, exports: {} }); return t[n].call(o.exports, o, o.exports, r), (o.l = !0), o.exports; } (r.m = t), (r.c = e), (r.d = function (t, e, n) { r.o(t, e) || Object.defineProperty(t, e, { enumerable: !0, get: n }); }), (r.r = function (t) { "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(t, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(t, "__esModule", { value: !0 }); }), (r.t = function (t, e) { if ((1 & e && (t = r(t)), 8 & e)) return t; if (4 & e && "object" == typeof t && t && t.__esModule) return t; var n = Object.create(null); if ( (r.r(n), Object.defineProperty(n, "default", { enumerable: !0, value: t }), 2 & e && "string" != typeof t) ) for (var o in t) r.d( n, o, function (e) { return t[e]; }.bind(null, o), ); return n; }), (r.n = function (t) { var e = t && t.__esModule ? function () { return t.default; } : function () { return t; }; return r.d(e, "a", e), e; }), (r.o = function (t, e) { return Object.prototype.hasOwnProperty.call(t, e); }), (r.p = ""), r((r.s = 234)); })([ function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__assign) || function () { return (i = Object.assign || function (t) { for (var e, r = 1, n = arguments.length; r < n; r++) for (var o in (e = arguments[r])) Object.prototype.hasOwnProperty.call(e, o) && (t[o] = e[o]); return t; }).apply(this, arguments); }, s = (this && this.__values) || function (t) { var e = "function" == typeof Symbol && Symbol.iterator, r = e && t[e], n = 0; if (r) return r.call(t); if (t && "number" == typeof t.length) return { next: function () { return ( t && n >= t.length && (t = void 0), { value: t && t[n++], done: !t } ); }, }; throw new TypeError( e ? "Object is not iterable." : "Symbol.iterator is not defined.", ); }, a = (this && this.__read) || function (t, e) { var r = "function" == typeof Symbol && t[Symbol.iterator]; if (!r) return t; var n, o, i = r.call(t), s = []; try { for (; (void 0 === e || e-- > 0) && !(n = i.next()).done; ) s.push(n.value); } catch (t) { o = { error: t }; } finally { try { n && !n.done && (r = i.return) && r.call(i); } finally { if (o) throw o.error; } } return s; }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.XMLNode = e.TextNode = e.AbstractMmlEmptyNode = e.AbstractMmlBaseNode = e.AbstractMmlLayoutNode = e.AbstractMmlTokenNode = e.AbstractMmlNode = e.indentAttributes = e.TEXCLASSNAMES = e.TEXCLASS = void 0); var c = r(12), l = r(36); (e.TEXCLASS = { ORD: 0, OP: 1, BIN: 2, REL: 3, OPEN: 4, CLOSE: 5, PUNCT: 6, INNER: 7, VCENTER: 8, NONE: -1, }), (e.TEXCLASSNAMES = [ "ORD", "OP", "BIN", "REL", "OPEN", "CLOSE", "PUNCT", "INNER", "VCENTER", ]); var u = ["", "thinmathspace", "mediummathspace", "thickmathspace"], h = [ [0, -1, 2, 3, 0, 0, 0, 1], [-1, -1, 0, 3, 0, 0, 0, 1], [2, 2, 0, 0, 2, 0, 0, 2], [3, 3, 0, 0, 3, 0, 0, 3], [0, 0, 0, 0, 0, 0, 0, 0], [0, -1, 2, 3, 0, 0, 0, 1], [1, 1, 0, 1, 1, 1, 1, 1], [1, -1, 2, 3, 1, 0, 1, 1], ]; e.indentAttributes = [ "indentalign", "indentalignfirst", "indentshift", "indentshiftfirst", ]; var p = (function (t) { function r(e, r, n) { void 0 === r && (r = {}), void 0 === n && (n = []); var o = t.call(this, e) || this; return ( (o.texClass = null), (o.prevClass = null), (o.prevLevel = null), o.arity < 0 && ((o.childNodes = [e.create("inferredMrow")]), (o.childNodes[0].parent = o)), o.setChildren(n), (o.attributes = new c.Attributes( e.getNodeClass(o.kind).defaults, e.getNodeClass("math").defaults, )), o.attributes.setList(r), o ); } return ( o(r, t), Object.defineProperty(r.prototype, "isToken", { get: function () { return !1; }, enumerable: !1, configurable: !0, }), Object.defineProperty(r.prototype, "isEmbellished", { get: function () { return !1; }, enumerable: !1, configurable: !0, }), Object.defineProperty(r.prototype, "isSpacelike", { get: function () { return !1; }, enumerable: !1, configurable: !0, }), Object.defineProperty(r.prototype, "linebreakContainer", { get: function () { return !1; }, enumerable: !1, configurable: !0, }), Object.defineProperty(r.prototype, "hasNewLine", { get: function () { return !1; }, enumerable: !1, configurable: !0, }), Object.defineProperty(r.prototype, "arity", { get: function () { return 1 / 0; }, enumerable: !1, configurable: !0, }), Object.defineProperty(r.prototype, "isInferred", { get: function () { return !1; }, enumerable: !1, configurable: !0, }), Object.defineProperty(r.prototype, "Parent", { get: function () { for (var t = this.parent; t && t.notParent; ) t = t.Parent; return t; }, enumerable: !1, configurable: !0, }), Object.defineProperty(r.prototype, "notParent", { get: function () { return !1; }, enumerable: !1, configurable: !0, }), (r.prototype.setChildren = function (e) { return this.arity < 0 ? this.childNodes[0].setChildren(e) : t.prototype.setChildren.call(this, e); }), (r.prototype.appendChild = function (e) { return this.arity < 0 ? (this.childNodes[0].appendChild(e), e) : t.prototype.appendChild.call(this, e); }), (r.prototype.replaceChild = function (e, r) { return this.arity < 0 ? (this.childNodes[0].replaceChild(e, r), e) : t.prototype.replaceChild.call(this, e, r); }), (r.prototype.core = function () { return this; }), (r.prototype.coreMO = function () { return this; }), (r.prototype.coreIndex = function () { return 0; }), (r.prototype.childPosition = function () { for (var t, e, r = this, n = r.parent; n && n.notParent; ) (r = n), (n = n.parent); if (n) { var o = 0; try { for ( var i = s(n.childNodes), a = i.next(); !a.done; a = i.next() ) { if (a.value === r) return o; o++; } } catch (e) { t = { error: e }; } finally { try { a && !a.done && (e = i.return) && e.call(i); } finally { if (t) throw t.error; } } } return null; }), (r.prototype.setTeXclass = function (t) { return this.getPrevClass(t), null != this.texClass ? this : t; }), (r.prototype.updateTeXclass = function (t) { t && ((this.prevClass = t.prevClass), (this.prevLevel = t.prevLevel), (t.prevClass = t.prevLevel = null), (this.texClass = t.texClass)); }), (r.prototype.getPrevClass = function (t) { t && ((this.prevClass = t.texClass), (this.prevLevel = t.attributes.get("scriptlevel"))); }), (r.prototype.texSpacing = function () { var t = null != this.prevClass ? this.prevClass : e.TEXCLASS.NONE, r = this.texClass || e.TEXCLASS.ORD; if (t === e.TEXCLASS.NONE || r === e.TEXCLASS.NONE) return ""; t === e.TEXCLASS.VCENTER && (t = e.TEXCLASS.ORD), r === e.TEXCLASS.VCENTER && (r = e.TEXCLASS.ORD); var n = h[t][r]; return (this.prevLevel > 0 || this.attributes.get("scriptlevel") > 0) && n >= 0 ? "" : u[Math.abs(n)]; }), (r.prototype.hasSpacingAttributes = function () { return this.isEmbellished && this.coreMO().hasSpacingAttributes(); }), (r.prototype.setInheritedAttributes = function (t, e, n, o) { var i, c; void 0 === t && (t = {}), void 0 === e && (e = !1), void 0 === n && (n = 0), void 0 === o && (o = !1); var l = this.attributes.getAllDefaults(); try { for ( var u = s(Object.keys(t)), h = u.next(); !h.done; h = u.next() ) { var p = h.value; if (l.hasOwnProperty(p) || r.alwaysInherit.hasOwnProperty(p)) { var f = a(t[p], 2), d = f[0], y = f[1]; ((r.noInherit[d] || {})[this.kind] || {})[p] || this.attributes.setInherited(p, y); } } } catch (t) { i = { error: t }; } finally { try { h && !h.done && (c = u.return) && c.call(u); } finally { if (i) throw i.error; } } void 0 === this.attributes.getExplicit("displaystyle") && this.attributes.setInherited("displaystyle", e), void 0 === this.attributes.getExplicit("scriptlevel") && this.attributes.setInherited("scriptlevel", n), o && this.setProperty("texprimestyle", o); var m = this.arity; if ( m >= 0 && m !== 1 / 0 && ((1 === m && 0 === this.childNodes.length) || (1 !== m && this.childNodes.length !== m)) ) if (m < this.childNodes.length) this.childNodes = this.childNodes.slice(0, m); else for (; this.childNodes.length < m; ) this.appendChild(this.factory.create("mrow")); this.setChildInheritedAttributes(t, e, n, o); }), (r.prototype.setChildInheritedAttributes = function (t, e, r, n) { var o, i; try { for ( var a = s(this.childNodes), c = a.next(); !c.done; c = a.next() ) { c.value.setInheritedAttributes(t, e, r, n); } } catch (t) { o = { error: t }; } finally { try { c && !c.done && (i = a.return) && i.call(a); } finally { if (o) throw o.error; } } }), (r.prototype.addInheritedAttributes = function (t, e) { var r, n, o = i({}, t); try { for ( var a = s(Object.keys(e)), c = a.next(); !c.done; c = a.next() ) { var l = c.value; "displaystyle" !== l && "scriptlevel" !== l && "style" !== l && (o[l] = [this.kind, e[l]]); } } catch (t) { r = { error: t }; } finally { try { c && !c.done && (n = a.return) && n.call(a); } finally { if (r) throw r.error; } } return o; }), (r.prototype.inheritAttributesFrom = function (t) { var e = t.attributes, r = e.get("displaystyle"), n = e.get("scriptlevel"), o = e.isSet("mathsize") ? { mathsize: ["math", e.get("mathsize")] } : {}, i = t.getProperty("texprimestyle") || !1; this.setInheritedAttributes(o, r, n, i); }), (r.prototype.verifyTree = function (t) { if ((void 0 === t && (t = null), null !== t)) { this.verifyAttributes(t); var e = this.arity; t.checkArity && e >= 0 && e !== 1 / 0 && ((1 === e && 0 === this.childNodes.length) || (1 !== e && this.childNodes.length !== e)) && this.mError( 'Wrong number of children for "' + this.kind + '" node', t, !0, ), this.verifyChildren(t); } }), (r.prototype.verifyAttributes = function (t) { var e, r; if (t.checkAttributes) { var n = this.attributes, o = []; try { for ( var i = s(n.getExplicitNames()), a = i.next(); !a.done; a = i.next() ) { var c = a.value; "data-" === c.substr(0, 5) || void 0 !== n.getDefault(c) || c.match(/^(?:class|style|id|(?:xlink:)?href)$/) || o.push(c); } } catch (t) { e = { error: t }; } finally { try { a && !a.done && (r = i.return) && r.call(i); } finally { if (e) throw e.error; } } o.length && this.mError( "Unknown attributes for " + this.kind + " node: " + o.join(", "), t, ); } }), (r.prototype.verifyChildren = function (t) { var e, r; try { for ( var n = s(this.childNodes), o = n.next(); !o.done; o = n.next() ) { o.value.verifyTree(t); } } catch (t) { e = { error: t }; } finally { try { o && !o.done && (r = n.return) && r.call(n); } finally { if (e) throw e.error; } } }), (r.prototype.mError = function (t, e, r) { if ( (void 0 === r && (r = !1), this.parent && this.parent.isKind("merror")) ) return null; var n = this.factory.create("merror"); if (e.fullErrors || r) { var o = this.factory.create("mtext"), i = this.factory.create("text"); i.setText(e.fullErrors ? t : this.kind), o.appendChild(i), n.appendChild(o), this.parent.replaceChild(n, this); } else this.parent.replaceChild(n, this), n.appendChild(this); return n; }), (r.defaults = { mathbackground: c.INHERIT, mathcolor: c.INHERIT, mathsize: c.INHERIT, dir: c.INHERIT, }), (r.noInherit = { mstyle: { mpadded: { width: !0, height: !0, depth: !0, lspace: !0, voffset: !0, }, mtable: { width: !0, height: !0, depth: !0, align: !0 }, }, maligngroup: { mrow: { groupalign: !0 }, mtable: { groupalign: !0 } }, }), (r.alwaysInherit = { scriptminsize: !0, scriptsizemultiplier: !0 }), (r.verifyDefaults = { checkArity: !0, checkAttributes: !1, fullErrors: !1, fixMmultiscripts: !0, fixMtables: !0, }), r ); })(l.AbstractNode); e.AbstractMmlNode = p; var f = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), Object.defineProperty(e.prototype, "isToken", { get: function () { return !0; }, enumerable: !1, configurable: !0, }), (e.prototype.getText = function () { var t, e, r = ""; try { for ( var n = s(this.childNodes), o = n.next(); !o.done; o = n.next() ) { var i = o.value; i instanceof v && (r += i.getText()); } } catch (e) { t = { error: e }; } finally { try { o && !o.done && (e = n.return) && e.call(n); } finally { if (t) throw t.error; } } return r; }), (e.prototype.setChildInheritedAttributes = function (t, e, r, n) { var o, i; try { for ( var a = s(this.childNodes), c = a.next(); !c.done; c = a.next() ) { var l = c.value; l instanceof p && l.setInheritedAttributes(t, e, r, n); } } catch (t) { o = { error: t }; } finally { try { c && !c.done && (i = a.return) && i.call(a); } finally { if (o) throw o.error; } } }), (e.prototype.walkTree = function (t, e) { var r, n; t(this, e); try { for ( var o = s(this.childNodes), i = o.next(); !i.done; i = o.next() ) { var a = i.value; a instanceof p && a.walkTree(t, e); } } catch (t) { r = { error: t }; } finally { try { i && !i.done && (n = o.return) && n.call(o); } finally { if (r) throw r.error; } } return e; }), (e.defaults = i(i({}, p.defaults), { mathvariant: "normal", mathsize: c.INHERIT, })), e ); })(p); e.AbstractMmlTokenNode = f; var d = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), Object.defineProperty(e.prototype, "isSpacelike", { get: function () { return this.childNodes[0].isSpacelike; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "isEmbellished", { get: function () { return this.childNodes[0].isEmbellished; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "arity", { get: function () { return -1; }, enumerable: !1, configurable: !0, }), (e.prototype.core = function () { return this.childNodes[0]; }), (e.prototype.coreMO = function () { return this.childNodes[0].coreMO(); }), (e.prototype.setTeXclass = function (t) { return ( (t = this.childNodes[0].setTeXclass(t)), this.updateTeXclass(this.childNodes[0]), t ); }), (e.defaults = p.defaults), e ); })(p); e.AbstractMmlLayoutNode = d; var y = (function (t) { function r() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(r, t), Object.defineProperty(r.prototype, "isEmbellished", { get: function () { return this.childNodes[0].isEmbellished; }, enumerable: !1, configurable: !0, }), (r.prototype.core = function () { return this.childNodes[0]; }), (r.prototype.coreMO = function () { return this.childNodes[0].coreMO(); }), (r.prototype.setTeXclass = function (t) { var r, n; this.getPrevClass(t), (this.texClass = e.TEXCLASS.ORD); var o = this.childNodes[0]; o ? this.isEmbellished || o.isKind("mi") ? ((t = o.setTeXclass(t)), this.updateTeXclass(this.core())) : (o.setTeXclass(null), (t = this)) : (t = this); try { for ( var i = s(this.childNodes.slice(1)), a = i.next(); !a.done; a = i.next() ) { var c = a.value; c && c.setTeXclass(null); } } catch (t) { r = { error: t }; } finally { try { a && !a.done && (n = i.return) && n.call(i); } finally { if (r) throw r.error; } } return t; }), (r.defaults = p.defaults), r ); })(p); e.AbstractMmlBaseNode = y; var m = (function (t) { function r() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(r, t), Object.defineProperty(r.prototype, "isToken", { get: function () { return !1; }, enumerable: !1, configurable: !0, }), Object.defineProperty(r.prototype, "isEmbellished", { get: function () { return !1; }, enumerable: !1, configurable: !0, }), Object.defineProperty(r.prototype, "isSpacelike", { get: function () { return !1; }, enumerable: !1, configurable: !0, }), Object.defineProperty(r.prototype, "linebreakContainer", { get: function () { return !1; }, enumerable: !1, configurable: !0, }), Object.defineProperty(r.prototype, "hasNewLine", { get: function () { return !1; }, enumerable: !1, configurable: !0, }), Object.defineProperty(r.prototype, "arity", { get: function () { return 0; }, enumerable: !1, configurable: !0, }), Object.defineProperty(r.prototype, "isInferred", { get: function () { return !1; }, enumerable: !1, configurable: !0, }), Object.defineProperty(r.prototype, "notParent", { get: function () { return !1; }, enumerable: !1, configurable: !0, }), Object.defineProperty(r.prototype, "Parent", { get: function () { return this.parent; }, enumerable: !1, configurable: !0, }), Object.defineProperty(r.prototype, "texClass", { get: function () { return e.TEXCLASS.NONE; }, enumerable: !1, configurable: !0, }), Object.defineProperty(r.prototype, "prevClass", { get: function () { return e.TEXCLASS.NONE; }, enumerable: !1, configurable: !0, }), Object.defineProperty(r.prototype, "prevLevel", { get: function () { return 0; }, enumerable: !1, configurable: !0, }), (r.prototype.hasSpacingAttributes = function () { return !1; }), Object.defineProperty(r.prototype, "attributes", { get: function () { return null; }, enumerable: !1, configurable: !0, }), (r.prototype.core = function () { return this; }), (r.prototype.coreMO = function () { return this; }), (r.prototype.coreIndex = function () { return 0; }), (r.prototype.childPosition = function () { return 0; }), (r.prototype.setTeXclass = function (t) { return t; }), (r.prototype.texSpacing = function () { return ""; }), (r.prototype.setInheritedAttributes = function (t, e, r, n) {}), (r.prototype.inheritAttributesFrom = function (t) {}), (r.prototype.verifyTree = function (t) {}), (r.prototype.mError = function (t, e, r) { void 0 === r && (r = !1); }), r ); })(l.AbstractEmptyNode); e.AbstractMmlEmptyNode = m; var v = (function (t) { function e() { var e = (null !== t && t.apply(this, arguments)) || this; return (e.text = ""), e; } return ( o(e, t), Object.defineProperty(e.prototype, "kind", { get: function () { return "text"; }, enumerable: !1, configurable: !0, }), (e.prototype.getText = function () { return this.text; }), (e.prototype.setText = function (t) { return (this.text = t), this; }), (e.prototype.toString = function () { return this.text; }), e ); })(m); e.TextNode = v; var b = (function (t) { function e() { var e = (null !== t && t.apply(this, arguments)) || this; return (e.xml = null), (e.adaptor = null), e; } return ( o(e, t), Object.defineProperty(e.prototype, "kind", { get: function () { return "XML"; }, enumerable: !1, configurable: !0, }), (e.prototype.getXML = function () { return this.xml; }), (e.prototype.setXML = function (t, e) { return ( void 0 === e && (e = null), (this.xml = t), (this.adaptor = e), this ); }), (e.prototype.getSerializedXML = function () { return this.adaptor.outerHTML(this.xml); }), (e.prototype.toString = function () { return "XML data"; }), e ); })(m); e.XMLNode = b; }, function (t, e, r) { "use strict"; (function (t) { var r = (this && this.__values) || function (t) { var e = "function" == typeof Symbol && Symbol.iterator, r = e && t[e], n = 0; if (r) return r.call(t); if (t && "number" == typeof t.length) return { next: function () { return ( t && n >= t.length && (t = void 0), { value: t && t[n++], done: !t } ); }, }; throw new TypeError( e ? "Object is not iterable." : "Symbol.iterator is not defined.", ); }; function n(t) { return "object" == typeof t && null !== t; } function o(t, e) { var i, s; try { for (var a = r(Object.keys(e)), c = a.next(); !c.done; c = a.next()) { var l = c.value; "__esModule" !== l && (!n(t[l]) || !n(e[l]) || e[l] instanceof Promise ? null !== e[l] && void 0 !== e[l] && (t[l] = e[l]) : o(t[l], e[l])); } } catch (t) { i = { error: t }; } finally { try { c && !c.done && (s = a.return) && s.call(a); } finally { if (i) throw i.error; } } return t; } Object.defineProperty(e, "__esModule", { value: !0 }), (e.MathJax = e.combineWithMathJax = e.combineDefaults = e.combineConfig = e.isObject = void 0), (e.isObject = n), (e.combineConfig = o), (e.combineDefaults = function t(e, o, i) { var s, a; e[o] || (e[o] = {}), (e = e[o]); try { for ( var c = r(Object.keys(i)), l = c.next(); !l.done; l = c.next() ) { var u = l.value; n(e[u]) && n(i[u]) ? t(e, u, i[u]) : null == e[u] && null != i[u] && (e[u] = i[u]); } } catch (t) { s = { error: t }; } finally { try { l && !l.done && (a = c.return) && a.call(c); } finally { if (s) throw s.error; } } return e; }), (e.combineWithMathJax = function (t) { return o(e.MathJax, t); }), void 0 === t.MathJax && (t.MathJax = {}), t.MathJax.version || (t.MathJax = { version: "3.1.2", _: {}, config: t.MathJax }), (e.MathJax = t.MathJax); }).call(this, r(201)); }, function (t, e, r) { "use strict"; var n, o, i = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), s = (this && this.__values) || function (t) { var e = "function" == typeof Symbol && Symbol.iterator, r = e && t[e], n = 0; if (r) return r.call(t); if (t && "number" == typeof t.length) return { next: function () { return ( t && n >= t.length && (t = void 0), { value: t && t[n++], done: !t } ); }, }; throw new TypeError( e ? "Object is not iterable." : "Symbol.iterator is not defined.", ); }, a = (this && this.__read) || function (t, e) { var r = "function" == typeof Symbol && t[Symbol.iterator]; if (!r) return t; var n, o, i = r.call(t), s = []; try { for (; (void 0 === e || e-- > 0) && !(n = i.next()).done; ) s.push(n.value); } catch (t) { o = { error: t }; } finally { try { n && !n.done && (r = i.return) && r.call(i); } finally { if (o) throw o.error; } } return s; }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.CHTMLWrapper = e.SPACE = e.FONTSIZE = void 0); var c = r(11), l = r(108), u = r(8); (e.FONTSIZE = { "70.7%": "s", "70%": "s", "50%": "ss", "60%": "Tn", "85%": "sm", "120%": "lg", "144%": "Lg", "173%": "LG", "207%": "hg", "249%": "HG", }), (e.SPACE = (((o = {})[c.em(2 / 18)] = "1"), (o[c.em(3 / 18)] = "2"), (o[c.em(4 / 18)] = "3"), (o[c.em(5 / 18)] = "4"), (o[c.em(6 / 18)] = "5"), o)); var h = (function (t) { function r() { var e = (null !== t && t.apply(this, arguments)) || this; return (e.chtml = null), e; } return ( i(r, t), (r.prototype.toCHTML = function (t) { var e, r, n = this.standardCHTMLnode(t); try { for ( var o = s(this.childNodes), i = o.next(); !i.done; i = o.next() ) { i.value.toCHTML(n); } } catch (t) { e = { error: t }; } finally { try { i && !i.done && (r = o.return) && r.call(o); } finally { if (e) throw e.error; } } }), (r.prototype.standardCHTMLnode = function (t) { this.markUsed(); var e = this.createCHTMLnode(t); return ( this.handleStyles(), this.handleVariant(), this.handleScale(), this.handleColor(), this.handleSpace(), this.handleAttributes(), this.handlePWidth(), e ); }), (r.prototype.markUsed = function () { this.constructor.used = !0; }), (r.prototype.createCHTMLnode = function (t) { var e = this.node.attributes.get("href"); return ( e && (t = this.adaptor.append(t, this.html("a", { href: e }))), (this.chtml = this.adaptor.append( t, this.html("mjx-" + this.node.kind), )), this.chtml ); }), (r.prototype.handleStyles = function () { if (this.styles) { var t = this.styles.cssText; if (t) { this.adaptor.setAttribute(this.chtml, "style", t); var e = this.styles.get("font-family"); e && this.adaptor.setStyle( this.chtml, "font-family", "MJXZERO, " + e, ); } } }), (r.prototype.handleVariant = function () { this.node.isToken && "-explicitFont" !== this.variant && this.adaptor.setAttribute( this.chtml, "class", ( this.font.getVariant(this.variant) || this.font.getVariant("normal") ).classes, ); }), (r.prototype.handleScale = function () { this.setScale(this.chtml, this.bbox.rscale); }), (r.prototype.setScale = function (t, r) { var n = Math.abs(r - 1) < 0.001 ? 1 : r; if (t && 1 !== n) { var o = this.percent(n); e.FONTSIZE[o] ? this.adaptor.setAttribute(t, "size", e.FONTSIZE[o]) : this.adaptor.setStyle(t, "fontSize", o); } return t; }), (r.prototype.handleSpace = function () { var t, r; try { for ( var n = s([ [this.bbox.L, "space", "marginLeft"], [this.bbox.R, "rspace", "marginRight"], ]), o = n.next(); !o.done; o = n.next() ) { var i = o.value, c = a(i, 3), l = c[0], u = c[1], h = c[2]; if (l) { var p = this.em(l); e.SPACE[p] ? this.adaptor.setAttribute(this.chtml, u, e.SPACE[p]) : this.adaptor.setStyle(this.chtml, h, p); } } } catch (e) { t = { error: e }; } finally { try { o && !o.done && (r = n.return) && r.call(n); } finally { if (t) throw t.error; } } }), (r.prototype.handleColor = function () { var t = this.node.attributes, e = t.getExplicit("mathcolor"), r = t.getExplicit("color"), n = t.getExplicit("mathbackground"), o = t.getExplicit("background"); (e || r) && this.adaptor.setStyle(this.chtml, "color", e || r), (n || o) && this.adaptor.setStyle(this.chtml, "backgroundColor", n || o); }), (r.prototype.handleAttributes = function () { var t, e, n, o, i = this.node.attributes, a = i.getAllDefaults(), c = r.skipAttributes; try { for ( var l = s(i.getExplicitNames()), u = l.next(); !u.done; u = l.next() ) { var h = u.value; (!1 !== c[h] && (h in a || c[h] || this.adaptor.hasAttribute(this.chtml, h))) || this.adaptor.setAttribute(this.chtml, h, i.getExplicit(h)); } } catch (e) { t = { error: e }; } finally { try { u && !u.done && (e = l.return) && e.call(l); } finally { if (t) throw t.error; } } if (i.get("class")) { var p = i.get("class").trim().split(/ +/); try { for (var f = s(p), d = f.next(); !d.done; d = f.next()) { var y = d.value; this.adaptor.addClass(this.chtml, y); } } catch (t) { n = { error: t }; } finally { try { d && !d.done && (o = f.return) && o.call(f); } finally { if (n) throw n.error; } } } }), (r.prototype.handlePWidth = function () { this.bbox.pwidth && (this.bbox.pwidth === u.BBox.fullWidth ? this.adaptor.setAttribute(this.chtml, "width", "full") : this.adaptor.setStyle(this.chtml, "width", this.bbox.pwidth)); }), (r.prototype.setIndent = function (t, e, r) { var n = this.adaptor; if ("center" === e || "left" === e) { var o = this.getBBox().L; n.setStyle(t, "margin-left", this.em(r + o)); } if ("center" === e || "right" === e) { var i = this.getBBox().R; n.setStyle(t, "margin-right", this.em(-r + i)); } }), (r.prototype.drawBBox = function () { var t = this.getBBox(), e = t.w, r = t.h, n = t.d, o = t.R, i = this.html( "mjx-box", { style: { opacity: 0.25, "margin-left": this.em(-e - o) } }, [ this.html("mjx-box", { style: { height: this.em(r), width: this.em(e), "background-color": "red", }, }), this.html("mjx-box", { style: { height: this.em(n), width: this.em(e), "margin-left": this.em(-e), "vertical-align": this.em(-n), "background-color": "green", }, }), ], ), s = this.chtml || this.parent.chtml, a = this.adaptor.getAttribute(s, "size"); a && this.adaptor.setAttribute(i, "size", a); var c = this.adaptor.getStyle(s, "fontSize"); c && this.adaptor.setStyle(i, "fontSize", c), this.adaptor.append(this.adaptor.parent(s), i), this.adaptor.setStyle(s, "backgroundColor", "#FFEE00"); }), (r.prototype.html = function (t, e, r) { return ( void 0 === e && (e = {}), void 0 === r && (r = []), this.jax.html(t, e, r) ); }), (r.prototype.text = function (t) { return this.jax.text(t); }), (r.prototype.char = function (t) { return this.font.charSelector(t).substr(1); }), (r.kind = "unknown"), (r.autoStyle = !0), (r.used = !1), r ); })(l.CommonWrapper); e.CHTMLWrapper = h; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__assign) || function () { return (i = Object.assign || function (t) { for (var e, r = 1, n = arguments.length; r < n; r++) for (var o in (e = arguments[r])) Object.prototype.hasOwnProperty.call(e, o) && (t[o] = e[o]); return t; }).apply(this, arguments); }, s = (this && this.__createBinding) || (Object.create ? function (t, e, r, n) { void 0 === n && (n = r), Object.defineProperty(t, n, { enumerable: !0, get: function () { return e[r]; }, }); } : function (t, e, r, n) { void 0 === n && (n = r), (t[n] = e[r]); }), a = (this && this.__exportStar) || function (t, e) { for (var r in t) "default" === r || e.hasOwnProperty(r) || s(e, t, r); }, c = (this && this.__values) || function (t) { var e = "function" == typeof Symbol && Symbol.iterator, r = e && t[e], n = 0; if (r) return r.call(t); if (t && "number" == typeof t.length) return { next: function () { return ( t && n >= t.length && (t = void 0), { value: t && t[n++], done: !t } ); }, }; throw new TypeError( e ? "Object is not iterable." : "Symbol.iterator is not defined.", ); }, l = (this && this.__read) || function (t, e) { var r = "function" == typeof Symbol && t[Symbol.iterator]; if (!r) return t; var n, o, i = r.call(t), s = []; try { for (; (void 0 === e || e-- > 0) && !(n = i.next()).done; ) s.push(n.value); } catch (t) { o = { error: t }; } finally { try { n && !n.done && (r = i.return) && r.call(i); } finally { if (o) throw o.error; } } return s; }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.AddCSS = e.CHTMLFontData = void 0); var u = r(13), h = r(11), p = r(4); a(r(13), e); var f = (function (t) { function e(e) { void 0 === e && (e = null); var r = t.call(this) || this, n = r.constructor; return ( (r.options = p.userOptions(p.defaultOptions({}, n.OPTIONS), e)), r ); } return ( o(e, t), (e.charOptions = function (e, r) { return t.charOptions.call(this, e, r); }), (e.prototype.adaptiveCSS = function (t) { this.options.adaptiveCSS = t; }), (e.prototype.clearCache = function () { var t, e, r, n, o, i; if (this.options.adaptiveCSS) { try { for ( var s = c(Object.keys(this.delimiters)), a = s.next(); !a.done; a = s.next() ) { var l = a.value; this.delimiters[parseInt(l)].used = !1; } } catch (e) { t = { error: e }; } finally { try { a && !a.done && (e = s.return) && e.call(s); } finally { if (t) throw t.error; } } try { for ( var u = c(Object.keys(this.variant)), h = u.next(); !h.done; h = u.next() ) { var p = h.value, f = this.variant[p].chars; try { for ( var d = ((o = void 0), c(Object.keys(f))), y = d.next(); !y.done; y = d.next() ) { l = y.value; var m = f[parseInt(l)][3]; m && (m.used = !1); } } catch (t) { o = { error: t }; } finally { try { y && !y.done && (i = d.return) && i.call(d); } finally { if (o) throw o.error; } } } } catch (t) { r = { error: t }; } finally { try { h && !h.done && (n = u.return) && n.call(u); } finally { if (r) throw r.error; } } } }), (e.prototype.createVariant = function (e, r, n) { void 0 === r && (r = null), void 0 === n && (n = null), t.prototype.createVariant.call(this, e, r, n); var o = this.constructor; (this.variant[e].classes = o.defaultVariantClasses[e]), (this.variant[e].letter = o.defaultVariantLetters[e]); }), (e.prototype.defineChars = function (r, n) { var o, i; t.prototype.defineChars.call(this, r, n); var s = this.variant[r].letter; try { for ( var a = c(Object.keys(n)), l = a.next(); !l.done; l = a.next() ) { var u = l.value, h = e.charOptions(n, parseInt(u)); void 0 === h.f && (h.f = s); } } catch (t) { o = { error: t }; } finally { try { l && !l.done && (i = a.return) && i.call(a); } finally { if (o) throw o.error; } } }), Object.defineProperty(e.prototype, "styles", { get: function () { var t, e, r = this.constructor, n = i({}, r.defaultStyles); this.addFontURLs(n, r.defaultFonts, this.options.fontURL); try { for ( var o = c(Object.keys(this.delimiters)), s = o.next(); !s.done; s = o.next() ) { var a = s.value, l = parseInt(a); this.addDelimiterStyles(n, l, this.delimiters[l]); } } catch (e) { t = { error: e }; } finally { try { s && !s.done && (e = o.return) && e.call(o); } finally { if (t) throw t.error; } } return this.addVariantChars(n), n; }, enumerable: !1, configurable: !0, }), (e.prototype.addVariantChars = function (t) { var e, r, n, o, i = !this.options.adaptiveCSS; try { for ( var s = c(Object.keys(this.variant)), a = s.next(); !a.done; a = s.next() ) { var l = a.value, u = this.variant[l], h = u.letter; try { for ( var p = ((n = void 0), c(Object.keys(u.chars))), f = p.next(); !f.done; f = p.next() ) { var d = f.value, y = parseInt(d), m = u.chars[y]; (m[3] || {}).smp || (i && m.length < 4 && (m[3] = {}), (4 === m.length || i) && this.addCharStyles(t, h, y, m)); } } catch (t) { n = { error: t }; } finally { try { f && !f.done && (o = p.return) && o.call(p); } finally { if (n) throw n.error; } } } } catch (t) { e = { error: t }; } finally { try { a && !a.done && (r = s.return) && r.call(s); } finally { if (e) throw e.error; } } }), (e.prototype.addFontURLs = function (t, e, r) { var n, o; try { for ( var s = c(Object.keys(e)), a = s.next(); !a.done; a = s.next() ) { var l = a.value, u = i({}, e[l]); (u.src = u.src.replace(/%%URL%%/, r)), (t[l] = u); } } catch (t) { n = { error: t }; } finally { try { a && !a.done && (o = s.return) && o.call(s); } finally { if (n) throw n.error; } } }), (e.prototype.addDelimiterStyles = function (t, e, r) { if (!this.options.adaptiveCSS || r.used) { var n = this.charSelector(e); r.c && r.c !== e && (t[".mjx-stretched mjx-c" + n + "::before"] = { content: this.charContent(r.c), }), r.stretch && (1 === r.dir ? this.addDelimiterVStyles(t, n, r) : this.addDelimiterHStyles(t, n, r)); } }), (e.prototype.addDelimiterVStyles = function (t, e, r) { var n = r.HDW[2], o = l(r.stretch, 4), i = o[0], s = o[1], a = o[2], c = o[3], u = this.addDelimiterVPart(t, e, n, "beg", i); this.addDelimiterVPart(t, e, n, "ext", s); var h = this.addDelimiterVPart(t, e, n, "end", a), p = {}; if (c) { var f = this.addDelimiterVPart(t, e, n, "mid", c); (p.height = "50%"), (t["mjx-stretchy-v" + e + " > mjx-mid"] = { "margin-top": this.em(-f / 2), "margin-bottom": this.em(-f / 2), }); } u && (p["border-top-width"] = this.em0(u - 0.03)), h && ((p["border-bottom-width"] = this.em0(h - 0.03)), (t["mjx-stretchy-v" + e + " > mjx-end"] = { "margin-top": this.em(-h), })), Object.keys(p).length && (t["mjx-stretchy-v" + e + " > mjx-ext"] = p); }), (e.prototype.addDelimiterVPart = function (t, e, r, n, o) { if (!o) return 0; var i = this.getDelimiterData(o), s = (r - i[2]) / 2, a = { content: this.charContent(o) }; return ( "ext" !== n ? (a.padding = this.padding(i, s)) : s && (a["padding-left"] = this.em0(s)), (t["mjx-stretchy-v" + e + " mjx-" + n + " mjx-c::before"] = a), i[0] + i[1] ); }), (e.prototype.addDelimiterHStyles = function (t, e, r) { var n = l(r.stretch, 4), o = n[0], i = n[1], s = n[2], a = n[3]; this.addDelimiterHPart(t, e, "beg", o), this.addDelimiterHPart(t, e, "ext", i, !(o || s)), this.addDelimiterHPart(t, e, "end", s), a && (this.addDelimiterHPart(t, e, "mid", a), (t["mjx-stretchy-h" + e + " > mjx-ext"] = { width: "50%" })); }), (e.prototype.addDelimiterHPart = function (t, e, r, n, o) { if ((void 0 === o && (o = !1), n)) { var i = this.getDelimiterData(n), s = i[3], a = { content: s && s.c ? '"' + s.c + '"' : this.charContent(n) }; ("ext" !== r || o) && (a.padding = this.padding(i, 0, -i[2])), (t["mjx-stretchy-h" + e + " mjx-" + r + " mjx-c::before"] = a); } }), (e.prototype.addCharStyles = function (t, e, r, n) { var o = l(n, 4), i = o[2], s = o[3]; if (!this.options.adaptiveCSS || s.used) { var a = void 0 !== s.f ? s.f : e, c = "mjx-c" + this.charSelector(r) + (a ? ".TEX-" + a : ""); (t[c + "::before"] = { padding: this.padding(n, 0, s.ic || 0), content: null != s.c ? '"' + s.c + '"' : this.charContent(r), }), s.ic && (t["[noIC] " + c + ":last-child::before"] = { "padding-right": this.em(i), }); } }), (e.prototype.getDelimiterData = function (t) { return this.getChar("-smallop", t); }), (e.prototype.em = function (t) { return h.em(t); }), (e.prototype.em0 = function (t) { return h.em(Math.max(0, t)); }), (e.prototype.padding = function (t, e, r) { var n = l(t, 3), o = n[0], i = n[1]; return ( void 0 === e && (e = 0), void 0 === r && (r = 0), [o, n[2] + r, i, e].map(this.em0).join(" ") ); }), (e.prototype.charContent = function (t) { return ( '"' + (t >= 32 && t <= 126 && 34 !== t && 39 !== t && 92 !== t ? String.fromCharCode(t) : "\\" + t.toString(16).toUpperCase()) + '"' ); }), (e.prototype.charSelector = function (t) { return ".mjx-c" + t.toString(16).toUpperCase(); }), (e.OPTIONS = { fontURL: "js/output/chtml/fonts/tex-woff-v2" }), (e.defaultVariantClasses = {}), (e.defaultVariantLetters = {}), (e.defaultStyles = { "mjx-c::before": { display: "block", width: 0 } }), (e.defaultFonts = { "@font-face /* 0 */": { "font-family": "MJXZERO", src: 'url("%%URL%%/MathJax_Zero.woff") format("woff")', }, }), e ); })(u.FontData); (e.CHTMLFontData = f), (e.AddCSS = function (t, e) { var r, n; try { for (var o = c(Object.keys(e)), i = o.next(); !i.done; i = o.next()) { var s = i.value, a = parseInt(s); Object.assign(u.FontData.charOptions(t, a), e[a]); } } catch (t) { r = { error: t }; } finally { try { i && !i.done && (n = o.return) && n.call(o); } finally { if (r) throw r.error; } } return t; }); }, function (t, e, r) { "use strict"; var n = (this && this.__values) || function (t) { var e = "function" == typeof Symbol && Symbol.iterator, r = e && t[e], n = 0; if (r) return r.call(t); if (t && "number" == typeof t.length) return { next: function () { return ( t && n >= t.length && (t = void 0), { value: t && t[n++], done: !t } ); }, }; throw new TypeError( e ? "Object is not iterable." : "Symbol.iterator is not defined.", ); }, o = (this && this.__read) || function (t, e) { var r = "function" == typeof Symbol && t[Symbol.iterator]; if (!r) return t; var n, o, i = r.call(t), s = []; try { for (; (void 0 === e || e-- > 0) && !(n = i.next()).done; ) s.push(n.value); } catch (t) { o = { error: t }; } finally { try { n && !n.done && (r = i.return) && r.call(i); } finally { if (o) throw o.error; } } return s; }, i = (this && this.__spread) || function () { for (var t = [], e = 0; e < arguments.length; e++) t = t.concat(o(arguments[e])); return t; }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.separateOptions = e.selectOptionsFromKeys = e.selectOptions = e.userOptions = e.defaultOptions = e.insert = e.copy = e.keys = e.makeArray = e.expandable = e.Expandable = e.REMOVE = e.APPEND = void 0); var s = {}.constructor; function a(t) { return ( "object" == typeof t && null !== t && (t.constructor === s || t.constructor === c) ); } (e.APPEND = "[+]"), (e.REMOVE = "[-]"); var c = function () {}; function l(t) { return Object.assign(Object.create(c.prototype), t); } function u(t) { return t ? Object.keys(t).concat(Object.getOwnPropertySymbols(t)) : []; } function h(t) { var e, r, o = {}; try { for (var i = n(u(t)), s = i.next(); !s.done; s = i.next()) { var f = s.value, d = Object.getOwnPropertyDescriptor(t, f), y = d.value; Array.isArray(y) ? (d.value = p([], y, !1)) : a(y) && (d.value = h(y)), d.enumerable && (o[f] = d); } } catch (t) { e = { error: t }; } finally { try { s && !s.done && (r = i.return) && r.call(i); } finally { if (e) throw e.error; } } return Object.defineProperties(t.constructor === c ? l({}) : {}, o); } function p(t, r, o) { var s, l; void 0 === o && (o = !0); var f = function (n) { if (o && void 0 === t[n] && t.constructor !== c) throw ( ("symbol" == typeof n && (n = n.toString()), new Error('Invalid option "' + n + '" (no default value).')) ); var s = r[n], l = t[n]; if ( !a(s) || null === l || ("object" != typeof l && "function" != typeof l) ) Array.isArray(s) ? ((t[n] = []), p(t[n], s, !1)) : a(s) ? (t[n] = h(s)) : (t[n] = s); else { var f = u(s); Array.isArray(l) && ((1 === f.length && (f[0] === e.APPEND || f[0] === e.REMOVE) && Array.isArray(s[f[0]])) || (2 === f.length && f.sort().join(",") === e.APPEND + "," + e.REMOVE && Array.isArray(s[e.APPEND]) && Array.isArray(s[e.REMOVE]))) ? (s[e.REMOVE] && (l = t[n] = l.filter(function (t) { return s[e.REMOVE].indexOf(t) < 0; })), s[e.APPEND] && (t[n] = i(l, s[e.APPEND]))) : p(l, s, o); } }; try { for (var d = n(u(r)), y = d.next(); !y.done; y = d.next()) { f(y.value); } } catch (t) { s = { error: t }; } finally { try { y && !y.done && (l = d.return) && l.call(d); } finally { if (s) throw s.error; } } return t; } function f(t) { for (var e, r, o = [], i = 1; i < arguments.length; i++) o[i - 1] = arguments[i]; var s = {}; try { for (var a = n(o), c = a.next(); !c.done; c = a.next()) { var l = c.value; t.hasOwnProperty(l) && (s[l] = t[l]); } } catch (t) { e = { error: t }; } finally { try { c && !c.done && (r = a.return) && r.call(a); } finally { if (e) throw e.error; } } return s; } (e.Expandable = c), (e.expandable = l), (e.makeArray = function (t) { return Array.isArray(t) ? t : [t]; }), (e.keys = u), (e.copy = h), (e.insert = p), (e.defaultOptions = function (t) { for (var e = [], r = 1; r < arguments.length; r++) e[r - 1] = arguments[r]; return ( e.forEach(function (e) { return p(t, e, !1); }), t ); }), (e.userOptions = function (t) { for (var e = [], r = 1; r < arguments.length; r++) e[r - 1] = arguments[r]; return ( e.forEach(function (e) { return p(t, e, !0); }), t ); }), (e.selectOptions = f), (e.selectOptionsFromKeys = function (t, e) { return f.apply(void 0, i([t], Object.keys(e))); }), (e.separateOptions = function (t) { for (var e, r, o, i, s = [], a = 1; a < arguments.length; a++) s[a - 1] = arguments[a]; var c = []; try { for (var l = n(s), u = l.next(); !u.done; u = l.next()) { var h = u.value, p = {}, f = {}; try { for ( var d = ((o = void 0), n(Object.keys(t || {}))), y = d.next(); !y.done; y = d.next() ) { var m = y.value; (void 0 === h[m] ? f : p)[m] = t[m]; } } catch (t) { o = { error: t }; } finally { try { y && !y.done && (i = d.return) && i.call(d); } finally { if (o) throw o.error; } } c.push(p), (t = f); } } catch (t) { e = { error: t }; } finally { try { u && !u.done && (r = l.return) && r.call(l); } finally { if (e) throw e.error; } } return c.unshift(t), c; }); }, function (t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }), (e.HtmlAttrs = e.HtmlClasses = void 0); function n(t) { return "CtxtMenu_" + t; } function o(t) { return n(t); } function i(t) { return n(t); } (e.HtmlClasses = { ATTACHED: o("Attached"), CONTEXTMENU: o("ContextMenu"), MENU: o("Menu"), MENUARROW: o("MenuArrow"), MENUACTIVE: o("MenuActive"), MENUCHECK: o("MenuCheck"), MENUCLOSE: o("MenuClose"), MENUCOMBOBOX: o("MenuComboBox"), MENUDISABLED: o("MenuDisabled"), MENUFRAME: o("MenuFrame"), MENUITEM: o("MenuItem"), MENULABEL: o("MenuLabel"), MENURADIOCHECK: o("MenuRadioCheck"), MENUINPUTBOX: o("MenuInputBox"), MENURULE: o("MenuRule"), MENUSLIDER: o("MenuSlider"), MOUSEPOST: o("MousePost"), RTL: o("RTL"), INFO: o("Info"), INFOCLOSE: o("InfoClose"), INFOCONTENT: o("InfoContent"), INFOSIGNATURE: o("InfoSignature"), INFOTITLE: o("InfoTitle"), SLIDERVALUE: o("SliderValue"), SLIDERBAR: o("SliderBar"), SELECTION: o("Selection"), SELECTIONBOX: o("SelectionBox"), SELECTIONMENU: o("SelectionMenu"), SELECTIONDIVIDER: o("SelectionDivider"), SELECTIONITEM: o("SelectionItem"), }), (e.HtmlAttrs = { COUNTER: i("Counter"), KEYDOWNFUNC: i("keydownFunc"), CONTEXTMENUFUNC: i("contextmenuFunc"), OLDTAB: i("Oldtabindex"), TOUCHFUNC: i("TouchFunc"), }); }, function (t, e, r) { "use strict"; (function (t) { var n = (this && this.__values) || function (t) { var e = "function" == typeof Symbol && Symbol.iterator, r = e && t[e], n = 0; if (r) return r.call(t); if (t && "number" == typeof t.length) return { next: function () { return ( t && n >= t.length && (t = void 0), { value: t && t[n++], done: !t } ); }, }; throw new TypeError( e ? "Object is not iterable." : "Symbol.iterator is not defined.", ); }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.CONFIG = e.MathJax = e.Loader = void 0); var o, i = r(1), s = r(16), a = r(16); Object.defineProperty(e, "Package", { enumerable: !0, get: function () { return a.Package; }, }), Object.defineProperty(e, "PackageError", { enumerable: !0, get: function () { return a.PackageError; }, }), (function (r) { (r.ready = function () { for (var t, e, r = [], o = 0; o < arguments.length; o++) r[o] = arguments[o]; 0 === r.length && (r = Array.from(s.Package.packages.keys())); var i = []; try { for (var a = n(r), c = a.next(); !c.done; c = a.next()) { var l = c.value, u = s.Package.packages.get(l) || new s.Package(l, !0); i.push(u.promise); } } catch (e) { t = { error: e }; } finally { try { c && !c.done && (e = a.return) && e.call(a); } finally { if (t) throw t.error; } } return Promise.all(i); }), (r.load = function () { for (var t, r, o = [], i = 0; i < arguments.length; i++) o[i] = arguments[i]; if (0 === o.length) return Promise.resolve(); var a = []; try { for (var c = n(o), l = c.next(); !l.done; l = c.next()) { var u = l.value, h = s.Package.packages.get(u); h || (h = new s.Package(u)).provides(e.CONFIG.provides[u]), h.checkNoLoad(), a.push(h.promise); } } catch (e) { t = { error: e }; } finally { try { l && !l.done && (r = c.return) && r.call(c); } finally { if (t) throw t.error; } } return s.Package.loadAll(), Promise.all(a); }), (r.preLoad = function () { for (var t, r, o = [], i = 0; i < arguments.length; i++) o[i] = arguments[i]; try { for (var a = n(o), c = a.next(); !c.done; c = a.next()) { var l = c.value, u = s.Package.packages.get(l); u || (u = new s.Package(l, !0)).provides(e.CONFIG.provides[l]), u.loaded(); } } catch (e) { t = { error: e }; } finally { try { c && !c.done && (r = a.return) && r.call(a); } finally { if (t) throw t.error; } } }), (r.defaultReady = function () { void 0 !== e.MathJax.startup && e.MathJax.config.startup.ready(); }), (r.getRoot = function () { var e = t + "/../../es5"; if ("undefined" != typeof document) { var r = document.currentScript || document.getElementById("MathJax-script"); r && (e = r.src.replace(/\/[^\/]*$/, "")); } return e; }); })((o = e.Loader || (e.Loader = {}))), (e.MathJax = i.MathJax), void 0 === e.MathJax.loader && (i.combineDefaults(e.MathJax.config, "loader", { paths: { mathjax: o.getRoot() }, source: {}, dependencies: {}, provides: {}, load: [], ready: o.defaultReady.bind(o), failed: function (t) { return console.log( "MathJax(" + (t.package || "?") + "): " + t.message, ); }, require: null, }), i.combineWithMathJax({ loader: o })), (e.CONFIG = e.MathJax.config.loader); }).call(this, "/"); }, function (t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }), (e.split = e.isPercent = e.unicodeChars = e.quotePattern = e.sortLength = void 0), (e.sortLength = function (t, e) { return t.length !== e.length ? e.length - t.length : t === e ? 0 : t < e ? -1 : 1; }), (e.quotePattern = function (t) { return t.replace(/([\^$(){}+*?\-|\[\]\:\\])/g, "\\$1"); }), (e.unicodeChars = function (t) { return Array.from(t).map(function (t) { return t.codePointAt(0); }); }), (e.isPercent = function (t) { return !!t.match(/%\s*$/); }), (e.split = function (t) { return t.trim().split(/\s+/); }); }, function (t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }), (e.BBox = e.BBoxStyleAdjust = void 0); var n = r(11); e.BBoxStyleAdjust = [ ["borderTopWidth", "h"], ["borderRightWidth", "w"], ["borderBottomWidth", "d"], ["borderLeftWidth", "w", 0], ["paddingTop", "h"], ["paddingRight", "w"], ["paddingBottom", "d"], ["paddingLeft", "w", 0], ]; var o = (function () { function t(t) { void 0 === t && (t = { w: 0, h: -n.BIGDIMEN, d: -n.BIGDIMEN }), (this.w = t.w || 0), (this.h = "h" in t ? t.h : -n.BIGDIMEN), (this.d = "d" in t ? t.d : -n.BIGDIMEN), (this.L = this.R = this.ic = this.sk = 0), (this.scale = this.rscale = 1), (this.pwidth = ""); } return ( (t.zero = function () { return new t({ h: 0, d: 0, w: 0 }); }), (t.empty = function () { return new t(); }), (t.prototype.empty = function () { return (this.w = 0), (this.h = this.d = -n.BIGDIMEN), this; }), (t.prototype.clean = function () { this.w === -n.BIGDIMEN && (this.w = 0), this.h === -n.BIGDIMEN && (this.h = 0), this.d === -n.BIGDIMEN && (this.d = 0); }), (t.prototype.rescale = function (t) { (this.w *= t), (this.h *= t), (this.d *= t); }), (t.prototype.combine = function (t, e, r) { void 0 === e && (e = 0), void 0 === r && (r = 0); var n = t.rscale, o = e + n * (t.w + t.L + t.R), i = r + n * t.h, s = n * t.d - r; o > this.w && (this.w = o), i > this.h && (this.h = i), s > this.d && (this.d = s); }), (t.prototype.append = function (t) { var e = t.rscale; (this.w += e * (t.w + t.L + t.R)), e * t.h > this.h && (this.h = e * t.h), e * t.d > this.d && (this.d = e * t.d); }), (t.prototype.updateFrom = function (t) { (this.h = t.h), (this.d = t.d), (this.w = t.w), t.pwidth && (this.pwidth = t.pwidth); }), (t.fullWidth = "100%"), t ); })(); e.BBox = o; }, function (t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }), (e.MenuUtil = void 0), (function (t) { (t.close = function (t) { var e = t.menu; e.baseMenu ? e.baseMenu.unpost() : e.unpost(); }), (t.getActiveElement = function (t) { var e = t.menu; return (e.baseMenu ? e.baseMenu : e).store.active; }), (t.error = function (t, e) { console.error("ContextMenu Error: " + e); }), (t.counter = function () { return e++; }); var e = 0; })(e.MenuUtil || (e.MenuUtil = {})); }, function (t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }), (e.newState = e.STATE = e.AbstractMathItem = e.protoItem = void 0), (e.protoItem = function (t, e, r, n, o, i, s) { return ( void 0 === s && (s = null), { open: t, math: e, close: r, n: n, start: { n: o }, end: { n: i }, display: s, } ); }); var n = (function () { function t(t, r, n, o, i) { void 0 === n && (n = !0), void 0 === o && (o = { i: 0, n: 0, delim: "" }), void 0 === i && (i = { i: 0, n: 0, delim: "" }), (this.root = null), (this.typesetRoot = null), (this.metrics = {}), (this.inputData = {}), (this.outputData = {}), (this._state = e.STATE.UNPROCESSED), (this.math = t), (this.inputJax = r), (this.display = n), (this.start = o), (this.end = i), (this.root = null), (this.typesetRoot = null), (this.metrics = {}), (this.inputData = {}), (this.outputData = {}); } return ( Object.defineProperty(t.prototype, "isEscaped", { get: function () { return null === this.display; }, enumerable: !1, configurable: !0, }), (t.prototype.render = function (t) { t.renderActions.renderMath(this, t); }), (t.prototype.rerender = function (t, r) { void 0 === r && (r = e.STATE.RERENDER), this.state() >= r && this.state(r - 1), t.renderActions.renderMath(this, t, r); }), (t.prototype.convert = function (t, r) { void 0 === r && (r = e.STATE.LAST), t.renderActions.renderConvert(this, t, r); }), (t.prototype.compile = function (t) { this.state() < e.STATE.COMPILED && ((this.root = this.inputJax.compile(this, t)), this.state(e.STATE.COMPILED)); }), (t.prototype.typeset = function (t) { this.state() < e.STATE.TYPESET && ((this.typesetRoot = t.outputJax[ this.isEscaped ? "escaped" : "typeset" ](this, t)), this.state(e.STATE.TYPESET)); }), (t.prototype.updateDocument = function (t) {}), (t.prototype.removeFromDocument = function (t) { void 0 === t && (t = !1); }), (t.prototype.setMetrics = function (t, e, r, n, o) { this.metrics = { em: t, ex: e, containerWidth: r, lineWidth: n, scale: o, }; }), (t.prototype.state = function (t, r) { return ( void 0 === t && (t = null), void 0 === r && (r = !1), null != t && (t < e.STATE.INSERTED && this._state >= e.STATE.INSERTED && this.removeFromDocument(r), t < e.STATE.TYPESET && this._state >= e.STATE.TYPESET && (this.outputData = {}), t < e.STATE.COMPILED && this._state >= e.STATE.COMPILED && (this.inputData = {}), (this._state = t)), this._state ); }), (t.prototype.reset = function (t) { void 0 === t && (t = !1), this.state(e.STATE.UNPROCESSED, t); }), t ); })(); (e.AbstractMathItem = n), (e.STATE = { UNPROCESSED: 0, FINDMATH: 10, COMPILED: 20, CONVERT: 100, METRICS: 110, RERENDER: 125, TYPESET: 150, INSERTED: 200, LAST: 1e4, }), (e.newState = function (t, r) { if (t in e.STATE) throw Error("State " + t + " already exists"); e.STATE[t] = r; }); }, function (t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }), (e.px = e.emRounded = e.em = e.percent = e.length2em = e.MATHSPACE = e.RELUNITS = e.UNITS = e.BIGDIMEN = void 0), (e.BIGDIMEN = 1e6), (e.UNITS = { px: 1, in: 96, cm: 96 / 2.54, mm: 96 / 25.4 }), (e.RELUNITS = { em: 1, ex: 0.431, pt: 0.1, pc: 1.2, mu: 1 / 18 }), (e.MATHSPACE = { veryverythinmathspace: 1 / 18, verythinmathspace: 2 / 18, thinmathspace: 3 / 18, mediummathspace: 4 / 18, thickmathspace: 5 / 18, verythickmathspace: 6 / 18, veryverythickmathspace: 7 / 18, negativeveryverythinmathspace: -1 / 18, negativeverythinmathspace: -2 / 18, negativethinmathspace: -3 / 18, negativemediummathspace: -4 / 18, negativethickmathspace: -5 / 18, negativeverythickmathspace: -6 / 18, negativeveryverythickmathspace: -7 / 18, thin: 0.04, medium: 0.06, thick: 0.1, normal: 1, big: 2, small: 1 / Math.sqrt(2), infinity: e.BIGDIMEN, }), (e.length2em = function (t, r, n, o) { if ( (void 0 === r && (r = 0), void 0 === n && (n = 1), void 0 === o && (o = 16), "string" != typeof t && (t = String(t)), "" === t || null == t) ) return r; if (e.MATHSPACE[t]) return e.MATHSPACE[t]; var i = t.match( /^\s*([-+]?(?:\.\d+|\d+(?:\.\d*)?))?(pt|em|ex|mu|px|pc|in|mm|cm|%)?/, ); if (!i) return r; var s = parseFloat(i[1] || "1"), a = i[2]; return e.UNITS.hasOwnProperty(a) ? (s * e.UNITS[a]) / o / n : e.RELUNITS.hasOwnProperty(a) ? s * e.RELUNITS[a] : "%" === a ? (s / 100) * r : s * r; }), (e.percent = function (t) { return (100 * t).toFixed(1).replace(/\.?0+$/, "") + "%"; }), (e.em = function (t) { return Math.abs(t) < 0.001 ? "0" : t.toFixed(3).replace(/\.?0+$/, "") + "em"; }), (e.emRounded = function (t, e) { return ( void 0 === e && (e = 16), (t = (Math.round(t * e) + 0.05) / e), Math.abs(t) < 0.001 ? "0em" : t.toFixed(3).replace(/\.?0+$/, "") + "em" ); }), (e.px = function (t, r, n) { return ( void 0 === r && (r = -e.BIGDIMEN), void 0 === n && (n = 16), (t *= n), r && t < r && (t = r), Math.abs(t) < 0.1 ? "0" : t.toFixed(1).replace(/\.0$/, "") + "px" ); }); }, function (t, e, r) { "use strict"; var n = (this && this.__values) || function (t) { var e = "function" == typeof Symbol && Symbol.iterator, r = e && t[e], n = 0; if (r) return r.call(t); if (t && "number" == typeof t.length) return { next: function () { return ( t && n >= t.length && (t = void 0), { value: t && t[n++], done: !t } ); }, }; throw new TypeError( e ? "Object is not iterable." : "Symbol.iterator is not defined.", ); }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.Attributes = e.INHERIT = void 0), (e.INHERIT = "_inherit_"); var o = (function () { function t(t, e) { (this.global = e), (this.defaults = Object.create(e)), (this.inherited = Object.create(this.defaults)), (this.attributes = Object.create(this.inherited)), Object.assign(this.defaults, t); } return ( (t.prototype.set = function (t, e) { this.attributes[t] = e; }), (t.prototype.setList = function (t) { Object.assign(this.attributes, t); }), (t.prototype.get = function (t) { var r = this.attributes[t]; return r === e.INHERIT && (r = this.global[t]), r; }), (t.prototype.getExplicit = function (t) { if (this.attributes.hasOwnProperty(t)) return this.attributes[t]; }), (t.prototype.getList = function () { for (var t, e, r = [], o = 0; o < arguments.length; o++) r[o] = arguments[o]; var i = {}; try { for (var s = n(r), a = s.next(); !a.done; a = s.next()) { var c = a.value; i[c] = this.get(c); } } catch (e) { t = { error: e }; } finally { try { a && !a.done && (e = s.return) && e.call(s); } finally { if (t) throw t.error; } } return i; }), (t.prototype.setInherited = function (t, e) { this.inherited[t] = e; }), (t.prototype.getInherited = function (t) { return this.inherited[t]; }), (t.prototype.getDefault = function (t) { return this.defaults[t]; }), (t.prototype.isSet = function (t) { return ( this.attributes.hasOwnProperty(t) || this.inherited.hasOwnProperty(t) ); }), (t.prototype.hasDefault = function (t) { return t in this.defaults; }), (t.prototype.getExplicitNames = function () { return Object.keys(this.attributes); }), (t.prototype.getInheritedNames = function () { return Object.keys(this.inherited); }), (t.prototype.getDefaultNames = function () { return Object.keys(this.defaults); }), (t.prototype.getGlobalNames = function () { return Object.keys(this.global); }), (t.prototype.getAllAttributes = function () { return this.attributes; }), (t.prototype.getAllInherited = function () { return this.inherited; }), (t.prototype.getAllDefaults = function () { return this.defaults; }), (t.prototype.getAllGlobals = function () { return this.global; }), t ); })(); e.Attributes = o; }, function (t, e, r) { "use strict"; var n = (this && this.__assign) || function () { return (n = Object.assign || function (t) { for (var e, r = 1, n = arguments.length; r < n; r++) for (var o in (e = arguments[r])) Object.prototype.hasOwnProperty.call(e, o) && (t[o] = e[o]); return t; }).apply(this, arguments); }, o = (this && this.__read) || function (t, e) { var r = "function" == typeof Symbol && t[Symbol.iterator]; if (!r) return t; var n, o, i = r.call(t), s = []; try { for (; (void 0 === e || e-- > 0) && !(n = i.next()).done; ) s.push(n.value); } catch (t) { o = { error: t }; } finally { try { n && !n.done && (r = i.return) && r.call(i); } finally { if (o) throw o.error; } } return s; }, i = (this && this.__spread) || function () { for (var t = [], e = 0; e < arguments.length; e++) t = t.concat(o(arguments[e])); return t; }, s = (this && this.__values) || function (t) { var e = "function" == typeof Symbol && Symbol.iterator, r = e && t[e], n = 0; if (r) return r.call(t); if (t && "number" == typeof t.length) return { next: function () { return ( t && n >= t.length && (t = void 0), { value: t && t[n++], done: !t } ); }, }; throw new TypeError( e ? "Object is not iterable." : "Symbol.iterator is not defined.", ); }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.FontData = e.NOSTRETCH = e.H = e.V = void 0), (e.V = 1), (e.H = 2), (e.NOSTRETCH = { dir: 0 }); var a = (function () { function t() { var t, e; (this.variant = {}), (this.delimiters = {}), (this.cssFontMap = {}), (this.remapChars = {}); var r = this.constructor; (this.params = n({}, r.defaultParams)), (this.sizeVariants = i(r.defaultSizeVariants)), (this.cssFontMap = n({}, r.defaultCssFonts)), (this.cssFamilyPrefix = r.defaultCssFamilyPrefix), this.createVariants(r.defaultVariants), this.defineDelimiters(r.defaultDelimiters); try { for ( var o = s(Object.keys(r.defaultChars)), a = o.next(); !a.done; a = o.next() ) { var c = a.value; this.defineChars(c, r.defaultChars[c]); } } catch (e) { t = { error: e }; } finally { try { a && !a.done && (e = o.return) && e.call(o); } finally { if (t) throw t.error; } } this.defineRemap("accent", r.defaultAccentMap), this.defineRemap("mo", r.defaultMoMap), this.defineRemap("mn", r.defaultMnMap); } return ( (t.charOptions = function (t, e) { var r = t[e]; return 3 === r.length && (r[3] = {}), r[3]; }), (t.prototype.createVariant = function (t, e, r) { void 0 === e && (e = null), void 0 === r && (r = null); var n = { linked: [], chars: e ? Object.create(this.variant[e].chars) : {}, }; r && this.variant[r] && (Object.assign(n.chars, this.variant[r].chars), this.variant[r].linked.push(n.chars), (n.chars = Object.create(n.chars))), this.remapSmpChars(n.chars, t), (this.variant[t] = n); }), (t.prototype.remapSmpChars = function (t, e) { var r, n, i, a, c = this.constructor; if (c.VariantSmp[e]) { var l = c.SmpRemap, u = [null, null, c.SmpRemapGreekU, c.SmpRemapGreekL]; try { for ( var h = s(c.SmpRanges), p = h.next(); !p.done; p = h.next() ) { var f = o(p.value, 3), d = f[0], y = f[1], m = f[2], v = c.VariantSmp[e][d]; if (v) { for (var b = y; b <= m; b++) if (930 !== b) { var M = v + b - y; t[b] = this.smpChar(l[M] || M); } if (u[d]) try { for ( var g = ((i = void 0), s( Object.keys(u[d]).map(function (t) { return parseInt(t); }), )), O = g.next(); !O.done; O = g.next() ) { t[(b = O.value)] = this.smpChar(v + u[d][b]); } } catch (t) { i = { error: t }; } finally { try { O && !O.done && (a = g.return) && a.call(g); } finally { if (i) throw i.error; } } } } } catch (t) { r = { error: t }; } finally { try { p && !p.done && (n = h.return) && n.call(h); } finally { if (r) throw r.error; } } } "bold" === e && ((t[988] = this.smpChar(120778)), (t[989] = this.smpChar(120779))); }), (t.prototype.smpChar = function (t) { return [, , , { smp: t }]; }), (t.prototype.createVariants = function (t) { var e, r; try { for (var n = s(t), o = n.next(); !o.done; o = n.next()) { var i = o.value; this.createVariant(i[0], i[1], i[2]); } } catch (t) { e = { error: t }; } finally { try { o && !o.done && (r = n.return) && r.call(n); } finally { if (e) throw e.error; } } }), (t.prototype.defineChars = function (t, e) { var r, n, o = this.variant[t]; Object.assign(o.chars, e); try { for (var i = s(o.linked), a = i.next(); !a.done; a = i.next()) { var c = a.value; Object.assign(c, e); } } catch (t) { r = { error: t }; } finally { try { a && !a.done && (n = i.return) && n.call(i); } finally { if (r) throw r.error; } } }), (t.prototype.defineDelimiters = function (t) { Object.assign(this.delimiters, t); }), (t.prototype.defineRemap = function (t, e) { this.remapChars.hasOwnProperty(t) || (this.remapChars[t] = {}), Object.assign(this.remapChars[t], e); }), (t.prototype.getDelimiter = function (t) { return this.delimiters[t]; }), (t.prototype.getSizeVariant = function (t, e) { return ( this.delimiters[t].variants && (e = this.delimiters[t].variants[e]), this.sizeVariants[e] ); }), (t.prototype.getChar = function (t, e) { return this.variant[t].chars[e]; }), (t.prototype.getVariant = function (t) { return this.variant[t]; }), (t.prototype.getCssFont = function (t) { return this.cssFontMap[t] || ["serif", !1, !1]; }), (t.prototype.getFamily = function (t) { return this.cssFamilyPrefix ? this.cssFamilyPrefix + ", " + t : t; }), (t.prototype.getRemappedChar = function (t, e) { return (this.remapChars[t] || {})[e]; }), (t.OPTIONS = {}), (t.defaultVariants = [ ["normal"], ["bold", "normal"], ["italic", "normal"], ["bold-italic", "italic", "bold"], ["double-struck", "bold"], ["fraktur", "normal"], ["bold-fraktur", "bold", "fraktur"], ["script", "italic"], ["bold-script", "bold-italic", "script"], ["sans-serif", "normal"], ["bold-sans-serif", "bold", "sans-serif"], ["sans-serif-italic", "italic", "sans-serif"], ["sans-serif-bold-italic", "bold-italic", "bold-sans-serif"], ["monospace", "normal"], ]), (t.defaultCssFonts = { normal: ["serif", !1, !1], bold: ["serif", !1, !0], italic: ["serif", !0, !1], "bold-italic": ["serif", !0, !0], "double-struck": ["serif", !1, !0], fraktur: ["serif", !1, !1], "bold-fraktur": ["serif", !1, !0], script: ["cursive", !1, !1], "bold-script": ["cursive", !1, !0], "sans-serif": ["sans-serif", !1, !1], "bold-sans-serif": ["sans-serif", !1, !0], "sans-serif-italic": ["sans-serif", !0, !1], "sans-serif-bold-italic": ["sans-serif", !0, !0], monospace: ["monospace", !1, !1], }), (t.defaultCssFamilyPrefix = ""), (t.VariantSmp = { bold: [119808, 119834, 120488, 120514, 120782], italic: [119860, 119886, 120546, 120572], "bold-italic": [119912, 119938, 120604, 120630], script: [119964, 119990], "bold-script": [120016, 120042], fraktur: [120068, 120094], "double-struck": [120120, 120146, , , 120792], "bold-fraktur": [120172, 120198], "sans-serif": [120224, 120250, , , 120802], "bold-sans-serif": [120276, 120302, 120662, 120688, 120812], "sans-serif-italic": [120328, 120354], "sans-serif-bold-italic": [120380, 120406, 120720, 120746], monospace: [120432, 120458, , , 120822], }), (t.SmpRanges = [ [0, 65, 90], [1, 97, 122], [2, 913, 937], [3, 945, 969], [4, 48, 57], ]), (t.SmpRemap = { 119893: 8462, 119965: 8492, 119968: 8496, 119969: 8497, 119971: 8459, 119972: 8464, 119975: 8466, 119976: 8499, 119981: 8475, 119994: 8495, 119996: 8458, 120004: 8500, 120070: 8493, 120075: 8460, 120076: 8465, 120085: 8476, 120093: 8488, 120122: 8450, 120127: 8461, 120133: 8469, 120135: 8473, 120136: 8474, 120137: 8477, 120145: 8484, }), (t.SmpRemapGreekU = { 8711: 25, 1012: 17 }), (t.SmpRemapGreekL = { 977: 27, 981: 29, 982: 31, 1008: 28, 1009: 30, 1013: 26, 8706: 25, }), (t.defaultAccentMap = { 768: "\u02cb", 769: "\u02ca", 770: "\u02c6", 771: "\u02dc", 772: "\u02c9", 774: "\u02d8", 775: "\u02d9", 776: "\xa8", 778: "\u02da", 780: "\u02c7", 8594: "\u20d7", 8242: "'", 8243: "''", 8244: "'''", 8245: "`", 8246: "``", 8247: "```", 8279: "''''", 8400: "\u21bc", 8401: "\u21c0", 8406: "\u2190", 8417: "\u2194", 8432: "*", 8411: "...", 8412: "....", 8428: "\u21c1", 8429: "\u21bd", 8430: "\u2190", 8431: "\u2192", }), (t.defaultMoMap = { 45: "\u2212" }), (t.defaultMnMap = { 45: "\u2212" }), (t.defaultParams = { x_height: 0.442, quad: 1, num1: 0.676, num2: 0.394, num3: 0.444, denom1: 0.686, denom2: 0.345, sup1: 0.413, sup2: 0.363, sup3: 0.289, sub1: 0.15, sub2: 0.247, sup_drop: 0.386, sub_drop: 0.05, delim1: 2.39, delim2: 1, axis_height: 0.25, rule_thickness: 0.06, big_op_spacing1: 0.111, big_op_spacing2: 0.167, big_op_spacing3: 0.2, big_op_spacing4: 0.6, big_op_spacing5: 0.1, surd_height: 0.075, scriptspace: 0.05, nulldelimiterspace: 0.12, delimiterfactor: 901, delimitershortfall: 0.3, min_rule_thickness: 1.25, }), (t.defaultDelimiters = {}), (t.defaultChars = {}), (t.defaultSizeVariants = []), t ); })(); e.FontData = a; }, function (t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }), (e.PrioritizedList = void 0); var n = (function () { function t() { (this.items = []), (this.items = []); } return ( (t.prototype[Symbol.iterator] = function () { var t = 0, e = this.items; return { next: function () { return { value: e[t++], done: t > e.length }; }, }; }), (t.prototype.add = function (e, r) { void 0 === r && (r = t.DEFAULTPRIORITY); var n = this.items.length; do { n--; } while (n >= 0 && r < this.items[n].priority); return this.items.splice(n + 1, 0, { item: e, priority: r }), e; }), (t.prototype.remove = function (t) { var e = this.items.length; do { e--; } while (e >= 0 && this.items[e].item !== t); e >= 0 && this.items.splice(e, 1); }), (t.prototype.toArray = function () { return Array.from(this); }), (t.DEFAULTPRIORITY = 5), t ); })(); e.PrioritizedList = n; }, function (t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }), (e.mathjax = void 0); var n = r(90), o = r(60); e.mathjax = { version: "3.1.2", handlers: new n.HandlerList(), document: function (t, r) { return e.mathjax.handlers.document(t, r); }, handleRetriesFor: o.handleRetriesFor, retryAfter: o.retryAfter, asyncLoad: null, }; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__values) || function (t) { var e = "function" == typeof Symbol && Symbol.iterator, r = e && t[e], n = 0; if (r) return r.call(t); if (t && "number" == typeof t.length) return { next: function () { return ( t && n >= t.length && (t = void 0), { value: t && t[n++], done: !t } ); }, }; throw new TypeError( e ? "Object is not iterable." : "Symbol.iterator is not defined.", ); }, s = (this && this.__read) || function (t, e) { var r = "function" == typeof Symbol && t[Symbol.iterator]; if (!r) return t; var n, o, i = r.call(t), s = []; try { for (; (void 0 === e || e-- > 0) && !(n = i.next()).done; ) s.push(n.value); } catch (t) { o = { error: t }; } finally { try { n && !n.done && (r = i.return) && r.call(i); } finally { if (o) throw o.error; } } return s; }, a = (this && this.__spread) || function () { for (var t = [], e = 0; e < arguments.length; e++) t = t.concat(s(arguments[e])); return t; }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.Package = e.PackageError = void 0); var c = r(6), l = (function (t) { function e(e, r) { var n = t.call(this, e) || this; return (n.package = r), n; } return o(e, t), e; })(Error); e.PackageError = l; var u = (function () { function t(e, r) { void 0 === r && (r = !1), (this.isLoaded = !1), (this.isLoading = !1), (this.hasFailed = !1), (this.dependents = []), (this.dependencies = []), (this.dependencyCount = 0), (this.provided = []), (this.name = e), (this.noLoad = r), t.packages.set(e, this), (this.promise = this.makePromise(this.makeDependencies())); } return ( Object.defineProperty(t.prototype, "canLoad", { get: function () { return ( 0 === this.dependencyCount && !this.noLoad && !this.isLoading && !this.hasFailed ); }, enumerable: !1, configurable: !0, }), (t.resolvePath = function (t, e) { void 0 === e && (e = !0); var r, n = c.CONFIG.source[t] || t; for ( n.match(/^(?:[a-z]+:\/)?\/|[a-z]:\\|\[/i) || (n = "[mathjax]/" + n.replace(/^\.\//, "")), e && !n.match(/\.[^\/]+$/) && (n += ".js"); (r = n.match(/^\[([^\]]*)\]/)) && c.CONFIG.paths.hasOwnProperty(r[1]); ) n = c.CONFIG.paths[r[1]] + n.substr(r[0].length); return n; }), (t.loadAll = function () { var t, e; try { for ( var r = i(this.packages.values()), n = r.next(); !n.done; n = r.next() ) { var o = n.value; o.canLoad && o.load(); } } catch (e) { t = { error: e }; } finally { try { n && !n.done && (e = r.return) && e.call(r); } finally { if (t) throw t.error; } } }), (t.prototype.makeDependencies = function () { var e, r, n = [], o = t.packages, s = this.noLoad, l = this.name, u = []; c.CONFIG.dependencies.hasOwnProperty(l) ? u.push.apply(u, a(c.CONFIG.dependencies[l])) : "core" !== l && u.push("core"); try { for (var h = i(u), p = h.next(); !p.done; p = h.next()) { var f = p.value, d = o.get(f) || new t(f, s); this.dependencies.indexOf(d) < 0 && (d.addDependent(this, s), this.dependencies.push(d), d.isLoaded || (this.dependencyCount++, n.push(d.promise))); } } catch (t) { e = { error: t }; } finally { try { p && !p.done && (r = h.return) && r.call(h); } finally { if (e) throw e.error; } } return n; }), (t.prototype.makePromise = function (t) { var e = this, r = new Promise(function (t, r) { (e.resolve = t), (e.reject = r); }), n = c.CONFIG[this.name] || {}; return ( n.ready && (r = r.then(function (t) { return n.ready(e.name); })), t.length && (t.push(r), (r = Promise.all(t).then(function (t) { return t.join(", "); }))), n.failed && r.catch(function (t) { return n.failed(new l(t, e.name)); }), r ); }), (t.prototype.load = function () { if (!this.isLoaded && !this.isLoading && !this.noLoad) { this.isLoading = !0; var e = t.resolvePath(this.name); c.CONFIG.require ? this.loadCustom(e) : this.loadScript(e); } }), (t.prototype.loadCustom = function (t) { var e = this; try { var r = c.CONFIG.require(t); r instanceof Promise ? r .then(function () { return e.checkLoad(); }) .catch(function (r) { return e.failed( "Can't load \"" + t + '"\n' + r.message.trim(), ); }) : this.checkLoad(); } catch (t) { this.failed(t.message); } }), (t.prototype.loadScript = function (t) { var e = this, r = document.createElement("script"); (r.src = t), (r.charset = "UTF-8"), (r.onload = function (t) { return e.checkLoad(); }), (r.onerror = function (r) { return e.failed("Can't load \"" + t + '"'); }), document.head.appendChild(r); }), (t.prototype.loaded = function () { var t, e, r, n; (this.isLoaded = !0), (this.isLoading = !1); try { for ( var o = i(this.dependents), s = o.next(); !s.done; s = o.next() ) { s.value.requirementSatisfied(); } } catch (e) { t = { error: e }; } finally { try { s && !s.done && (e = o.return) && e.call(o); } finally { if (t) throw t.error; } } try { for ( var a = i(this.provided), c = a.next(); !c.done; c = a.next() ) { c.value.loaded(); } } catch (t) { r = { error: t }; } finally { try { c && !c.done && (n = a.return) && n.call(a); } finally { if (r) throw r.error; } } this.resolve(this.name); }), (t.prototype.failed = function (t) { (this.hasFailed = !0), (this.isLoading = !1), this.reject(new l(t, this.name)); }), (t.prototype.checkLoad = function () { var t = this; ( (c.CONFIG[this.name] || {}).checkReady || function () { return Promise.resolve(); } )() .then(function () { return t.loaded(); }) .catch(function (e) { return t.failed(e); }); }), (t.prototype.requirementSatisfied = function () { this.dependencyCount && (this.dependencyCount--, this.canLoad && this.load()); }), (t.prototype.provides = function (e) { var r, n; void 0 === e && (e = []); try { for (var o = i(e), s = o.next(); !s.done; s = o.next()) { var a = s.value, l = t.packages.get(a); l || (c.CONFIG.dependencies[a] || (c.CONFIG.dependencies[a] = []), c.CONFIG.dependencies[a].push(a), ((l = new t(a, !0)).isLoading = !0)), this.provided.push(l); } } catch (t) { r = { error: t }; } finally { try { s && !s.done && (n = o.return) && n.call(o); } finally { if (r) throw r.error; } } }), (t.prototype.addDependent = function (t, e) { this.dependents.push(t), e || this.checkNoLoad(); }), (t.prototype.checkNoLoad = function () { var t, e; if (this.noLoad) { this.noLoad = !1; try { for ( var r = i(this.dependencies), n = r.next(); !n.done; n = r.next() ) { n.value.checkNoLoad(); } } catch (e) { t = { error: e }; } finally { try { n && !n.done && (e = r.return) && e.call(r); } finally { if (t) throw t.error; } } } }), (t.packages = new Map()), t ); })(); e.Package = u; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__assign) || function () { return (i = Object.assign || function (t) { for (var e, r = 1, n = arguments.length; r < n; r++) for (var o in (e = arguments[r])) Object.prototype.hasOwnProperty.call(e, o) && (t[o] = e[o]); return t; }).apply(this, arguments); }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.TeXFont = void 0); var s = r(3), a = r(209), c = r(155), l = r(157), u = r(210), h = r(160), p = r(162), f = r(164), d = r(166), y = r(168), m = r(170), v = r(172), b = r(174), M = r(176), g = r(178), O = r(211), x = r(212), S = r(182), _ = r(184), E = r(213), C = r(214), L = r(215), T = r(216), A = r(190), w = r(192), N = r(194), j = r(196), R = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), (e.defaultCssFamilyPrefix = "MJXZERO"), (e.defaultVariantClasses = { normal: "mjx-n", bold: "mjx-b", italic: "mjx-i", "bold-italic": "mjx-b mjx-i", "double-struck": "mjx-ds mjx-b", fraktur: "mjx-fr", "bold-fraktur": "mjx-fr mjx-b", script: "mjx-sc mjx-i", "bold-script": "mjx-sc mjx-b mjx-i", "sans-serif": "mjx-ss", "bold-sans-serif": "mjx-ss mjx-b", "sans-serif-italic": "mjx-ss mjx-i", "sans-serif-bold-italic": "mjx-ss mjx-b mjx-i", monospace: "mjx-ty", "-smallop": "mjx-sop", "-largeop": "mjx-lop", "-size3": "mjx-s3", "-size4": "mjx-s4", "-tex-calligraphic": "mjx-cal mjx-i", "-tex-bold-calligraphic": "mjx-cal mjx-b", "-tex-mathit": "mjx-mit mjx-i", "-tex-oldstyle": "mjx-os", "-tex-bold-oldstyle": "mjx-os mjx-b", "-tex-variant": "mjx-var", }), (e.defaultVariantLetters = { normal: "", bold: "B", italic: "MI", "bold-italic": "BI", "double-struck": "A", fraktur: "FR", "bold-fraktur": "FRB", script: "SC", "bold-script": "SCB", "sans-serif": "SS", "bold-sans-serif": "SSB", "sans-serif-italic": "SSI", "sans-serif-bold-italic": "SSBI", monospace: "T", "-smallop": "S1", "-largeop": "S2", "-size3": "S3", "-size4": "S4", "-tex-calligraphic": "C", "-tex-bold-calligraphic": "CB", "-tex-mathit": "MI", "-tex-oldstyle": "C", "-tex-bold-oldstyle": "CB", "-tex-variant": "A", }), (e.defaultDelimiters = j.delimiters), (e.defaultChars = { normal: m.normal, bold: l.bold, italic: f.italic, "bold-italic": c.boldItalic, "double-struck": u.doubleStruck, fraktur: p.fraktur, "bold-fraktur": h.frakturBold, script: x.script, "bold-script": O.scriptBold, "sans-serif": g.sansSerif, "bold-sans-serif": b.sansSerifBold, "sans-serif-italic": M.sansSerifItalic, "sans-serif-bold-italic": v.sansSerifBoldItalic, monospace: y.monospace, "-smallop": S.smallop, "-largeop": d.largeop, "-size3": A.texSize3, "-size4": w.texSize4, "-tex-calligraphic": E.texCalligraphic, "-tex-bold-calligraphic": _.texCalligraphicBold, "-tex-mathit": C.texMathit, "-tex-oldstyle": T.texOldstyle, "-tex-bold-oldstyle": L.texOldstyleBold, "-tex-variant": N.texVariant, }), (e.defaultStyles = i(i({}, s.CHTMLFontData.defaultStyles), { ".MJX-TEX": { "font-family": "MJXZERO, MJXTEX" }, ".TEX-B": { "font-family": "MJXZERO, MJXTEX-B" }, ".TEX-I": { "font-family": "MJXZERO, MJXTEX-I" }, ".TEX-MI": { "font-family": "MJXZERO, MJXTEX-MI" }, ".TEX-BI": { "font-family": "MJXZERO, MJXTEX-BI" }, ".TEX-S1": { "font-family": "MJXZERO, MJXTEX-S1" }, ".TEX-S2": { "font-family": "MJXZERO, MJXTEX-S2" }, ".TEX-S3": { "font-family": "MJXZERO, MJXTEX-S3" }, ".TEX-S4": { "font-family": "MJXZERO, MJXTEX-S4" }, ".TEX-A": { "font-family": "MJXZERO, MJXTEX-A" }, ".TEX-C": { "font-family": "MJXZERO, MJXTEX-C" }, ".TEX-CB": { "font-family": "MJXZERO, MJXTEX-CB" }, ".TEX-FR": { "font-family": "MJXZERO, MJXTEX-FR" }, ".TEX-FRB": { "font-family": "MJXZERO, MJXTEX-FRB" }, ".TEX-SS": { "font-family": "MJXZERO, MJXTEX-SS" }, ".TEX-SSB": { "font-family": "MJXZERO, MJXTEX-SSB" }, ".TEX-SSI": { "font-family": "MJXZERO, MJXTEX-SSI" }, ".TEX-SC": { "font-family": "MJXZERO, MJXTEX-SC" }, ".TEX-T": { "font-family": "MJXZERO, MJXTEX-T" }, ".TEX-V": { "font-family": "MJXZERO, MJXTEX-V" }, ".TEX-VB": { "font-family": "MJXZERO, MJXTEX-VB" }, "mjx-stretchy-v mjx-c, mjx-stretchy-h mjx-c": { "font-family": "MJXZERO, MJXTEX-S1, MJXTEX-S4, MJXTEX, MJXTEX-A ! important", }, })), (e.defaultFonts = i(i({}, s.CHTMLFontData.defaultFonts), { "@font-face /* 1 */": { "font-family": "MJXTEX", src: 'url("%%URL%%/MathJax_Main-Regular.woff") format("woff")', }, "@font-face /* 2 */": { "font-family": "MJXTEX-B", src: 'url("%%URL%%/MathJax_Main-Bold.woff") format("woff")', }, "@font-face /* 3 */": { "font-family": "MJXTEX-I", src: 'url("%%URL%%/MathJax_Math-Italic.woff") format("woff")', }, "@font-face /* 4 */": { "font-family": "MJXTEX-MI", src: 'url("%%URL%%/MathJax_Main-Italic.woff") format("woff")', }, "@font-face /* 5 */": { "font-family": "MJXTEX-BI", src: 'url("%%URL%%/MathJax_Math-BoldItalic.woff") format("woff")', }, "@font-face /* 6 */": { "font-family": "MJXTEX-S1", src: 'url("%%URL%%/MathJax_Size1-Regular.woff") format("woff")', }, "@font-face /* 7 */": { "font-family": "MJXTEX-S2", src: 'url("%%URL%%/MathJax_Size2-Regular.woff") format("woff")', }, "@font-face /* 8 */": { "font-family": "MJXTEX-S3", src: 'url("%%URL%%/MathJax_Size3-Regular.woff") format("woff")', }, "@font-face /* 9 */": { "font-family": "MJXTEX-S4", src: 'url("%%URL%%/MathJax_Size4-Regular.woff") format("woff")', }, "@font-face /* 10 */": { "font-family": "MJXTEX-A", src: 'url("%%URL%%/MathJax_AMS-Regular.woff") format("woff")', }, "@font-face /* 11 */": { "font-family": "MJXTEX-C", src: 'url("%%URL%%/MathJax_Calligraphic-Regular.woff") format("woff")', }, "@font-face /* 12 */": { "font-family": "MJXTEX-CB", src: 'url("%%URL%%/MathJax_Calligraphic-Bold.woff") format("woff")', }, "@font-face /* 13 */": { "font-family": "MJXTEX-FR", src: 'url("%%URL%%/MathJax_Fraktur-Regular.woff") format("woff")', }, "@font-face /* 14 */": { "font-family": "MJXTEX-FRB", src: 'url("%%URL%%/MathJax_Fraktur-Bold.woff") format("woff")', }, "@font-face /* 15 */": { "font-family": "MJXTEX-SS", src: 'url("%%URL%%/MathJax_SansSerif-Regular.woff") format("woff")', }, "@font-face /* 16 */": { "font-family": "MJXTEX-SSB", src: 'url("%%URL%%/MathJax_SansSerif-Bold.woff") format("woff")', }, "@font-face /* 17 */": { "font-family": "MJXTEX-SSI", src: 'url("%%URL%%/MathJax_SansSerif-Italic.woff") format("woff")', }, "@font-face /* 18 */": { "font-family": "MJXTEX-SC", src: 'url("%%URL%%/MathJax_Script-Regular.woff") format("woff")', }, "@font-face /* 19 */": { "font-family": "MJXTEX-T", src: 'url("%%URL%%/MathJax_Typewriter-Regular.woff") format("woff")', }, "@font-face /* 20 */": { "font-family": "MJXTEX-V", src: 'url("%%URL%%/MathJax_Vector-Regular.woff") format("woff")', }, "@font-face /* 21 */": { "font-family": "MJXTEX-VB", src: 'url("%%URL%%/MathJax_Vector-Bold.woff") format("woff")', }, })), e ); })(a.CommonTeXFontMixin(s.CHTMLFontData)); e.TeXFont = R; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__values) || function (t) { var e = "function" == typeof Symbol && Symbol.iterator, r = e && t[e], n = 0; if (r) return r.call(t); if (t && "number" == typeof t.length) return { next: function () { return ( t && n >= t.length && (t = void 0), { value: t && t[n++], done: !t } ); }, }; throw new TypeError( e ? "Object is not iterable." : "Symbol.iterator is not defined.", ); }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.AbstractItem = void 0); var s = r(204), a = r(9), c = r(5), l = (function (t) { function e(e, r, n, o) { var i = t.call(this, e, r) || this; return ( (i._content = n), (i.disabled = !1), (i.callbacks = []), (i._id = o || n), i ); } return ( o(e, t), Object.defineProperty(e.prototype, "content", { get: function () { return this._content; }, set: function (t) { (this._content = t), this.generateHtml(), this.menu && this.menu.generateHtml(); }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "id", { get: function () { return this._id; }, enumerable: !1, configurable: !0, }), (e.prototype.press = function () { this.disabled || (this.executeAction(), this.executeCallbacks_()); }), (e.prototype.executeAction = function () {}), (e.prototype.registerCallback = function (t) { -1 === this.callbacks.indexOf(t) && this.callbacks.push(t); }), (e.prototype.unregisterCallback = function (t) { var e = this.callbacks.indexOf(t); -1 !== e && this.callbacks.splice(e, 1); }), (e.prototype.mousedown = function (t) { this.press(), this.stop(t); }), (e.prototype.mouseover = function (t) { this.focus(), this.stop(t); }), (e.prototype.mouseout = function (t) { this.deactivate(), this.stop(t); }), (e.prototype.generateHtml = function () { t.prototype.generateHtml.call(this); var e = this.html; e.setAttribute("aria-disabled", "false"), (e.textContent = this.content); }), (e.prototype.activate = function () { this.disabled || this.html.classList.add(c.HtmlClasses.MENUACTIVE); }), (e.prototype.deactivate = function () { this.html.classList.remove(c.HtmlClasses.MENUACTIVE); }), (e.prototype.focus = function () { (this.menu.focused = this), t.prototype.focus.call(this), this.activate(); }), (e.prototype.unfocus = function () { this.deactivate(), t.prototype.unfocus.call(this); }), (e.prototype.escape = function (t) { a.MenuUtil.close(this); }), (e.prototype.up = function (t) { this.menu.up(t); }), (e.prototype.down = function (t) { this.menu.down(t); }), (e.prototype.left = function (t) { this.menu.left(t); }), (e.prototype.right = function (t) { this.menu.right(t); }), (e.prototype.space = function (t) { this.press(); }), (e.prototype.disable = function () { this.disabled = !0; var t = this.html; t.classList.add(c.HtmlClasses.MENUDISABLED), t.setAttribute("aria-disabled", "true"); }), (e.prototype.enable = function () { this.disabled = !1; var t = this.html; t.classList.remove(c.HtmlClasses.MENUDISABLED), t.removeAttribute("aria-disabled"); }), (e.prototype.executeCallbacks_ = function () { var t, e; try { for ( var r = i(this.callbacks), n = r.next(); !n.done; n = r.next() ) { var o = n.value; try { o(this); } catch (t) { a.MenuUtil.error( t, "Callback for menu entry " + this.id + " failed.", ); } } } catch (e) { t = { error: e }; } finally { try { n && !n.done && (e = r.return) && e.call(r); } finally { if (t) throw t.error; } } }), e ); })(s.AbstractEntry); e.AbstractItem = l; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__values) || function (t) { var e = "function" == typeof Symbol && Symbol.iterator, r = e && t[e], n = 0; if (r) return r.call(t); if (t && "number" == typeof t.length) return { next: function () { return ( t && n >= t.length && (t = void 0), { value: t && t[n++], done: !t } ); }, }; throw new TypeError( e ? "Object is not iterable." : "Symbol.iterator is not defined.", ); }, s = (this && this.__read) || function (t, e) { var r = "function" == typeof Symbol && t[Symbol.iterator]; if (!r) return t; var n, o, i = r.call(t), s = []; try { for (; (void 0 === e || e-- > 0) && !(n = i.next()).done; ) s.push(n.value); } catch (t) { o = { error: t }; } finally { try { n && !n.done && (r = i.return) && r.call(i); } finally { if (o) throw o.error; } } return s; }, a = (this && this.__spread) || function () { for (var t = [], e = 0; e < arguments.length; e++) t = t.concat(s(arguments[e])); return t; }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.FunctionList = void 0); var c = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), (e.prototype.execute = function () { for (var t, e, r = [], n = 0; n < arguments.length; n++) r[n] = arguments[n]; try { for (var o = i(this), s = o.next(); !s.done; s = o.next()) { var c = s.value, l = c.item.apply(c, a(r)); if (!1 === l) return !1; } } catch (e) { t = { error: e }; } finally { try { s && !s.done && (e = o.return) && e.call(o); } finally { if (t) throw t.error; } } return !0; }), (e.prototype.asyncExecute = function () { for (var t = [], e = 0; e < arguments.length; e++) t[e] = arguments[e]; var r = -1, n = this.items; return new Promise(function (e, o) { !(function i() { for (var s; ++r < n.length; ) { var c = (s = n[r]).item.apply(s, a(t)); if (c instanceof Promise) return void c.then(i).catch(function (t) { return o(t); }); if (!1 === c) return void e(!1); } e(!0); })(); }); }), e ); })(r(14).PrioritizedList); e.FunctionList = c; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__assign) || function () { return (i = Object.assign || function (t) { for (var e, r = 1, n = arguments.length; r < n; r++) for (var o in (e = arguments[r])) Object.prototype.hasOwnProperty.call(e, o) && (t[o] = e[o]); return t; }).apply(this, arguments); }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.MmlMi = void 0); var s = r(0), a = (function (t) { function e() { var e = (null !== t && t.apply(this, arguments)) || this; return (e.texClass = s.TEXCLASS.ORD), e; } return ( o(e, t), Object.defineProperty(e.prototype, "kind", { get: function () { return "mi"; }, enumerable: !1, configurable: !0, }), (e.prototype.setInheritedAttributes = function (r, n, o, i) { void 0 === r && (r = {}), void 0 === n && (n = !1), void 0 === o && (o = 0), void 0 === i && (i = !1), t.prototype.setInheritedAttributes.call(this, r, n, o, i), this.getText().match(e.singleCharacter) && !r.mathvariant && this.attributes.setInherited("mathvariant", "italic"); }), (e.prototype.setTeXclass = function (t) { this.getPrevClass(t); var r = this.getText(); return ( r.length > 1 && r.match(e.operatorName) && this.texClass === s.TEXCLASS.ORD && ((this.texClass = s.TEXCLASS.OP), this.setProperty("autoOP", !0)), this ); }), (e.defaults = i({}, s.AbstractMmlTokenNode.defaults)), (e.operatorName = /^[a-z][a-z0-9]*$/i), (e.singleCharacter = /^[\uD800-\uDBFF]?.$/), e ); })(s.AbstractMmlTokenNode); e.MmlMi = a; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__assign) || function () { return (i = Object.assign || function (t) { for (var e, r = 1, n = arguments.length; r < n; r++) for (var o in (e = arguments[r])) Object.prototype.hasOwnProperty.call(e, o) && (t[o] = e[o]); return t; }).apply(this, arguments); }, s = (this && this.__read) || function (t, e) { var r = "function" == typeof Symbol && t[Symbol.iterator]; if (!r) return t; var n, o, i = r.call(t), s = []; try { for (; (void 0 === e || e-- > 0) && !(n = i.next()).done; ) s.push(n.value); } catch (t) { o = { error: t }; } finally { try { n && !n.done && (r = i.return) && r.call(i); } finally { if (o) throw o.error; } } return s; }, a = (this && this.__values) || function (t) { var e = "function" == typeof Symbol && Symbol.iterator, r = e && t[e], n = 0; if (r) return r.call(t); if (t && "number" == typeof t.length) return { next: function () { return ( t && n >= t.length && (t = void 0), { value: t && t[n++], done: !t } ); }, }; throw new TypeError( e ? "Object is not iterable." : "Symbol.iterator is not defined.", ); }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.MmlMo = void 0); var c = r(0), l = r(82), u = (function (t) { function e() { var e = (null !== t && t.apply(this, arguments)) || this; return ( (e._texClass = null), (e.lspace = 5 / 18), (e.rspace = 5 / 18), e ); } return ( o(e, t), Object.defineProperty(e.prototype, "texClass", { get: function () { if (null === this._texClass) { var t = this.getText(), e = s(this.handleExplicitForm(this.getForms()), 3), r = e[0], n = e[1], o = e[2], i = this.constructor.OPTABLE, a = i[r][t] || i[n][t] || i[o][t]; return a ? a[2] : c.TEXCLASS.REL; } return this._texClass; }, set: function (t) { this._texClass = t; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "kind", { get: function () { return "mo"; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "isEmbellished", { get: function () { return !0; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "hasNewLine", { get: function () { return "newline" === this.attributes.get("linebreak"); }, enumerable: !1, configurable: !0, }), (e.prototype.coreParent = function () { for ( var t = this, e = this, r = this.factory.getNodeClass("math"); e && e.isEmbellished && e.coreMO() === this && !(e instanceof r); ) (t = e), (e = e.Parent); return t; }), (e.prototype.coreText = function (t) { if (!t) return ""; if (t.isEmbellished) return t.coreMO().getText(); for ( ; (((t.isKind("mrow") || t.isKind("TeXAtom") || t.isKind("mstyle") || t.isKind("mphantom")) && 1 === t.childNodes.length) || t.isKind("munderover")) && t.childNodes[0]; ) t = t.childNodes[0]; return t.isToken ? t.getText() : ""; }), (e.prototype.hasSpacingAttributes = function () { return ( this.attributes.isSet("lspace") || this.attributes.isSet("rspace") ); }), Object.defineProperty(e.prototype, "isAccent", { get: function () { var t = !1, e = this.coreParent().parent; if (e) { var r = e.isKind("mover") ? e.childNodes[e.over].coreMO() ? "accent" : "" : e.isKind("munder") ? e.childNodes[e.under].coreMO() ? "accentunder" : "" : e.isKind("munderover") ? this === e.childNodes[e.over].coreMO() ? "accent" : this === e.childNodes[e.under].coreMO() ? "accentunder" : "" : ""; if (r) t = void 0 !== e.attributes.getExplicit(r) ? t : this.attributes.get("accent"); } return t; }, enumerable: !1, configurable: !0, }), (e.prototype.setTeXclass = function (t) { var e = this.attributes.getList("form", "fence"), r = e.form, n = e.fence; return void 0 === this.getProperty("texClass") && (this.attributes.isSet("lspace") || this.attributes.isSet("rspace")) ? null : (n && this.texClass === c.TEXCLASS.REL && ("prefix" === r && (this.texClass = c.TEXCLASS.OPEN), "postfix" === r && (this.texClass = c.TEXCLASS.CLOSE)), "\u2061" === this.getText() ? (t && ((t.texClass = c.TEXCLASS.OP), t.setProperty("fnOP", !0)), (this.texClass = this.prevClass = c.TEXCLASS.NONE), t) : this.adjustTeXclass(t)); }), (e.prototype.adjustTeXclass = function (t) { var e = this.texClass, r = this.prevClass; if (e === c.TEXCLASS.NONE) return t; if ( (t ? (!t.getProperty("autoOP") || (e !== c.TEXCLASS.BIN && e !== c.TEXCLASS.REL) || (r = t.texClass = c.TEXCLASS.ORD), (r = this.prevClass = t.texClass || c.TEXCLASS.ORD), (this.prevLevel = this.attributes.getInherited("scriptlevel"))) : (r = this.prevClass = c.TEXCLASS.NONE), e !== c.TEXCLASS.BIN || (r !== c.TEXCLASS.NONE && r !== c.TEXCLASS.BIN && r !== c.TEXCLASS.OP && r !== c.TEXCLASS.REL && r !== c.TEXCLASS.OPEN && r !== c.TEXCLASS.PUNCT)) ) if ( r !== c.TEXCLASS.BIN || (e !== c.TEXCLASS.REL && e !== c.TEXCLASS.CLOSE && e !== c.TEXCLASS.PUNCT) ) { if (e === c.TEXCLASS.BIN) { for ( var n = this, o = this.parent; o && o.parent && o.isEmbellished && (1 === o.childNodes.length || (!o.isKind("mrow") && o.core() === n)); ) (n = o), (o = o.parent); o.childNodes[o.childNodes.length - 1] === n && (this.texClass = c.TEXCLASS.ORD); } } else t.texClass = this.prevClass = c.TEXCLASS.ORD; else this.texClass = c.TEXCLASS.ORD; return this; }), (e.prototype.setInheritedAttributes = function (e, r, n, o) { var i, c; void 0 === e && (e = {}), void 0 === r && (r = !1), void 0 === n && (n = 0), void 0 === o && (o = !1), t.prototype.setInheritedAttributes.call(this, e, r, n, o); var l = this.getText(), u = s(this.handleExplicitForm(this.getForms()), 3), h = u[0], p = u[1], f = u[2]; this.attributes.setInherited("form", h); var d = this.constructor.OPTABLE, y = d[h][l] || d[p][l] || d[f][l]; if (y) { void 0 === this.getProperty("texClass") && (this.texClass = y[2]); try { for ( var m = a(Object.keys(y[3] || {})), v = m.next(); !v.done; v = m.next() ) { var b = v.value; this.attributes.setInherited(b, y[3][b]); } } catch (t) { i = { error: t }; } finally { try { v && !v.done && (c = m.return) && c.call(m); } finally { if (i) throw i.error; } } (this.lspace = (y[0] + 1) / 18), (this.rspace = (y[1] + 1) / 18); } else { var M = this.getRange(l); if (M) { void 0 === this.getProperty("texClass") && (this.texClass = M[2]); var g = this.constructor.MMLSPACING[M[2]]; (this.lspace = (g[0] + 1) / 18), (this.rspace = (g[1] + 1) / 18); } } }), (e.prototype.getForms = function () { for ( var t = this, e = this.parent, r = this.Parent; r && r.isEmbellished; ) (t = e), (e = r.parent), (r = r.Parent); if (e && e.isKind("mrow") && 1 !== e.nonSpaceLength()) { if (e.firstNonSpace() === t) return ["prefix", "infix", "postfix"]; if (e.lastNonSpace() === t) return ["postfix", "infix", "prefix"]; } return ["infix", "prefix", "postfix"]; }), (e.prototype.handleExplicitForm = function (t) { if (this.attributes.isSet("form")) { var e = this.attributes.get("form"); t = [e].concat( t.filter(function (t) { return t !== e; }), ); } return t; }), (e.prototype.getRange = function (t) { var e, r; if (!t.match(/^[\uD800-\uDBFF]?.$/)) return null; var n = t.codePointAt(0), o = this.constructor.RANGES; try { for (var i = a(o), s = i.next(); !s.done; s = i.next()) { var c = s.value; if (c[0] <= n && n <= c[1]) return c; if (n < c[0]) return null; } } catch (t) { e = { error: t }; } finally { try { s && !s.done && (r = i.return) && r.call(i); } finally { if (e) throw e.error; } } return null; }), (e.defaults = i(i({}, c.AbstractMmlTokenNode.defaults), { form: "infix", fence: !1, separator: !1, lspace: "thickmathspace", rspace: "thickmathspace", stretchy: !1, symmetric: !1, maxsize: "infinity", minsize: "0em", largeop: !1, movablelimits: !1, accent: !1, linebreak: "auto", lineleading: "1ex", linebreakstyle: "before", indentalign: "auto", indentshift: "0", indenttarget: "", indentalignfirst: "indentalign", indentshiftfirst: "indentshift", indentalignlast: "indentalign", indentshiftlast: "indentshift", })), (e.RANGES = l.RANGES), (e.MMLSPACING = l.MMLSPACING), (e.OPTABLE = l.OPTABLE), e ); })(c.AbstractMmlTokenNode); e.MmlMo = u; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__assign) || function () { return (i = Object.assign || function (t) { for (var e, r = 1, n = arguments.length; r < n; r++) for (var o in (e = arguments[r])) Object.prototype.hasOwnProperty.call(e, o) && (t[o] = e[o]); return t; }).apply(this, arguments); }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.MmlMsup = e.MmlMsub = e.MmlMsubsup = void 0); var s = r(0), a = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), Object.defineProperty(e.prototype, "kind", { get: function () { return "msubsup"; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "arity", { get: function () { return 3; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "base", { get: function () { return 0; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "sub", { get: function () { return 1; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "sup", { get: function () { return 2; }, enumerable: !1, configurable: !0, }), (e.prototype.setChildInheritedAttributes = function (t, e, r, n) { var o = this.childNodes; o[0].setInheritedAttributes(t, e, r, n), o[1].setInheritedAttributes(t, !1, r + 1, n || 1 === this.sub), o[2] && o[2].setInheritedAttributes(t, !1, r + 1, n || 2 === this.sub); }), (e.defaults = i(i({}, s.AbstractMmlBaseNode.defaults), { subscriptshift: "", superscriptshift: "", })), e ); })(s.AbstractMmlBaseNode); e.MmlMsubsup = a; var c = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), Object.defineProperty(e.prototype, "kind", { get: function () { return "msub"; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "arity", { get: function () { return 2; }, enumerable: !1, configurable: !0, }), (e.defaults = i({}, a.defaults)), e ); })(a); e.MmlMsub = c; var l = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), Object.defineProperty(e.prototype, "kind", { get: function () { return "msup"; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "arity", { get: function () { return 2; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "sup", { get: function () { return 1; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "sub", { get: function () { return 2; }, enumerable: !1, configurable: !0, }), (e.defaults = i({}, a.defaults)), e ); })(a); e.MmlMsup = l; }, function (t, e, r) { "use strict"; var n = (this && this.__read) || function (t, e) { var r = "function" == typeof Symbol && t[Symbol.iterator]; if (!r) return t; var n, o, i = r.call(t), s = []; try { for (; (void 0 === e || e-- > 0) && !(n = i.next()).done; ) s.push(n.value); } catch (t) { o = { error: t }; } finally { try { n && !n.done && (r = i.return) && r.call(i); } finally { if (o) throw o.error; } } return s; }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.CommonArrow = e.CommonDiagonalArrow = e.CommonDiagonalStrike = e.CommonBorder2 = e.CommonBorder = e.arrowBBox = e.diagonalArrowDef = e.arrowDef = e.arrowBBoxW = e.arrowBBoxHD = e.arrowHead = e.fullBorder = e.fullPadding = e.fullBBox = e.sideNames = e.sideIndex = e.SOLID = e.PADDING = e.THICKNESS = e.ARROWY = e.ARROWDX = e.ARROWX = void 0), (e.ARROWX = 4), (e.ARROWDX = 1), (e.ARROWY = 2), (e.THICKNESS = 0.067), (e.PADDING = 0.2), (e.SOLID = e.THICKNESS + "em solid"), (e.sideIndex = { top: 0, right: 1, bottom: 2, left: 3 }), (e.sideNames = Object.keys(e.sideIndex)), (e.fullBBox = function (t) { return new Array(4).fill(t.thickness + t.padding); }), (e.fullPadding = function (t) { return new Array(4).fill(t.padding); }), (e.fullBorder = function (t) { return new Array(4).fill(t.thickness); }), (e.arrowHead = function (t) { return Math.max( t.padding, t.thickness * (t.arrowhead.x + t.arrowhead.dx + 1), ); }), (e.arrowBBoxHD = function (t, e) { if (t.childNodes[0]) { var r = t.childNodes[0].getBBox(), n = r.h, o = r.d; e[0] = e[2] = Math.max(0, t.thickness * t.arrowhead.y - (n + o) / 2); } return e; }), (e.arrowBBoxW = function (t, e) { if (t.childNodes[0]) { var r = t.childNodes[0].getBBox().w; e[1] = e[3] = Math.max(0, t.thickness * t.arrowhead.y - r / 2); } return e; }), (e.arrowDef = { up: [-Math.PI / 2, !1, !0, "verticalstrike"], down: [Math.PI / 2, !1, !0, "verticakstrike"], right: [0, !1, !1, "horizontalstrike"], left: [Math.PI, !1, !1, "horizontalstrike"], updown: [Math.PI / 2, !0, !0, "verticalstrike uparrow downarrow"], leftright: [0, !0, !1, "horizontalstrike leftarrow rightarrow"], }), (e.diagonalArrowDef = { updiagonal: [-1, 0, !1, "updiagonalstrike northeastarrow"], northeast: [-1, 0, !1, "updiagonalstrike updiagonalarrow"], southeast: [1, 0, !1, "downdiagonalstrike"], northwest: [1, Math.PI, !1, "downdiagonalstrike"], southwest: [-1, Math.PI, !1, "updiagonalstrike"], northeastsouthwest: [ -1, 0, !0, "updiagonalstrike northeastarrow updiagonalarrow southwestarrow", ], northwestsoutheast: [ 1, 0, !0, "downdiagonalstrike northwestarrow southeastarrow", ], }), (e.arrowBBox = { up: function (t) { return e.arrowBBoxW(t, [e.arrowHead(t), 0, t.padding, 0]); }, down: function (t) { return e.arrowBBoxW(t, [t.padding, 0, e.arrowHead(t), 0]); }, right: function (t) { return e.arrowBBoxHD(t, [0, e.arrowHead(t), 0, t.padding]); }, left: function (t) { return e.arrowBBoxHD(t, [0, t.padding, 0, e.arrowHead(t)]); }, updown: function (t) { return e.arrowBBoxW(t, [e.arrowHead(t), 0, e.arrowHead(t), 0]); }, leftright: function (t) { return e.arrowBBoxHD(t, [0, e.arrowHead(t), 0, e.arrowHead(t)]); }, }), (e.CommonBorder = function (t) { return function (r) { var n = e.sideIndex[r]; return [ r, { renderer: t, bbox: function (t) { var e = [0, 0, 0, 0]; return (e[n] = t.thickness + t.padding), e; }, border: function (t) { var e = [0, 0, 0, 0]; return (e[n] = t.thickness), e; }, }, ]; }; }), (e.CommonBorder2 = function (t) { return function (r, n, o) { var i = e.sideIndex[n], s = e.sideIndex[o]; return [ r, { renderer: t, bbox: function (t) { var e = t.thickness + t.padding, r = [0, 0, 0, 0]; return (r[i] = r[s] = e), r; }, border: function (t) { var e = [0, 0, 0, 0]; return (e[i] = e[s] = t.thickness), e; }, remove: n + " " + o, }, ]; }; }), (e.CommonDiagonalStrike = function (t) { return function (r) { var n = "mjx-" + r.charAt(0) + "strike"; return [r + "diagonalstrike", { renderer: t(n), bbox: e.fullBBox }]; }; }), (e.CommonDiagonalArrow = function (t) { return function (r) { var o = n(e.diagonalArrowDef[r], 4), i = o[0], s = o[1], a = o[2]; return [ r + "arrow", { renderer: function (e, r) { var n = e.arrowData(), o = n.a, c = n.W, l = e.arrow(c, i * (o - s), a); t(e, l); }, bbox: function (t) { var e = t.arrowData(), r = e.a, o = e.x, i = e.y, s = n([t.arrowhead.x, t.arrowhead.y, t.arrowhead.dx], 3), a = s[0], c = s[1], l = s[2], u = n(t.getArgMod(a + l, c), 2), h = u[0], p = u[1], f = i + (h > r ? t.thickness * p * Math.sin(h - r) : 0), d = o + (h > Math.PI / 2 - r ? t.thickness * p * Math.sin(h + r - Math.PI / 2) : 0); return [f, d, f, d]; }, remove: o[3], }, ]; }; }), (e.CommonArrow = function (t) { return function (r) { var o = n(e.arrowDef[r], 4), i = o[0], s = o[1], a = o[2], c = o[3]; return [ r + "arrow", { renderer: function (e, r) { var n = e.getBBox(), o = n.w, c = n.h, l = n.d, u = a ? c + l : o, h = e.arrow(u, i, s); t(e, h); }, bbox: e.arrowBBox[r], remove: c, }, ]; }; }); }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__read) || function (t, e) { var r = "function" == typeof Symbol && t[Symbol.iterator]; if (!r) return t; var n, o, i = r.call(t), s = []; try { for (; (void 0 === e || e-- > 0) && !(n = i.next()).done; ) s.push(n.value); } catch (t) { o = { error: t }; } finally { try { n && !n.done && (r = i.return) && r.call(i); } finally { if (o) throw o.error; } } return s; }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.CHTMLmsubsup = e.CHTMLmsup = e.CHTMLmsub = void 0); var s = r(136), a = r(25), c = r(25), l = r(25), u = r(22), h = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return o(e, t), (e.kind = u.MmlMsub.prototype.kind), (e.useIC = !1), e; })(a.CommonMsubMixin(s.CHTMLscriptbase)); e.CHTMLmsub = h; var p = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return o(e, t), (e.kind = u.MmlMsup.prototype.kind), (e.useIC = !0), e; })(c.CommonMsupMixin(s.CHTMLscriptbase)); e.CHTMLmsup = p; var f = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), (e.prototype.markUsed = function () { t.prototype.markUsed.call(this), (e.used = !0); }), (e.prototype.toCHTML = function (t) { var e = this.standardCHTMLnode(t), r = i([this.baseChild, this.supChild, this.subChild], 3), n = r[0], o = r[1], s = r[2], a = i(this.getUVQ(n.getBBox(), s.getBBox(), o.getBBox()), 3), c = a[1], l = a[2], u = this.baseCore.bbox.ic ? this.coreIC() * this.coreScale() : 0, h = { "vertical-align": this.em(c) }; n.toCHTML(e); var p = this.adaptor.append(e, this.html("mjx-script", { style: h })); o.toCHTML(p), this.adaptor.append( p, this.html("mjx-spacer", { style: { "margin-top": this.em(l) } }), ), s.toCHTML(p), this.baseCore.bbox.ic && this.adaptor.setStyle( o.chtml, "marginLeft", this.em(u / o.bbox.rscale), ); }), (e.kind = u.MmlMsubsup.prototype.kind), (e.styles = { "mjx-script": { display: "inline-block", "padding-right": ".05em" }, "mjx-script > *": { display: "block" }, }), (e.useIC = !1), e ); })(l.CommonMsubsupMixin(s.CHTMLscriptbase)); e.CHTMLmsubsup = f; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__read) || function (t, e) { var r = "function" == typeof Symbol && t[Symbol.iterator]; if (!r) return t; var n, o, i = r.call(t), s = []; try { for (; (void 0 === e || e-- > 0) && !(n = i.next()).done; ) s.push(n.value); } catch (t) { o = { error: t }; } finally { try { n && !n.done && (r = i.return) && r.call(i); } finally { if (o) throw o.error; } } return s; }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.CommonMsubsupMixin = e.CommonMsupMixin = e.CommonMsubMixin = void 0), (e.CommonMsubMixin = function (t) { return (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), Object.defineProperty(e.prototype, "script", { get: function () { return this.childNodes[this.node.sub]; }, enumerable: !1, configurable: !0, }), (e.prototype.getOffset = function (t, e) { return [0, -this.getV(t, e)]; }), e ); })(t); }), (e.CommonMsupMixin = function (t) { return (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), Object.defineProperty(e.prototype, "script", { get: function () { return this.childNodes[this.node.sup]; }, enumerable: !1, configurable: !0, }), (e.prototype.getOffset = function (t, e) { return [ (this.baseCore.bbox.ic ? 0.05 * this.baseCore.bbox.ic + 0.05 : 0) * this.coreScale(), this.getU(t, e), ]; }), e ); })(t); }), (e.CommonMsubsupMixin = function (t) { return (function (t) { function e() { var e = (null !== t && t.apply(this, arguments)) || this; return (e.UVQ = null), e; } return ( o(e, t), Object.defineProperty(e.prototype, "subChild", { get: function () { return this.childNodes[this.node.sub]; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "supChild", { get: function () { return this.childNodes[this.node.sup]; }, enumerable: !1, configurable: !0, }), (e.prototype.computeBBox = function (t, e) { void 0 === e && (e = !1); var r = this.baseChild.getBBox(), n = this.subChild.getBBox(), o = this.supChild.getBBox(); t.empty(), t.append(r); var s = t.w, a = i(this.getUVQ(r, n, o), 2), c = a[0], l = a[1], u = this.baseCore.bbox.ic ? this.coreIC() * this.coreScale() : 0; t.combine(n, s, l), t.combine(o, s + u, c), (t.w += this.font.params.scriptspace), t.clean(), this.setChildPWidths(e); }), (e.prototype.getUVQ = function (t, e, r) { if (this.UVQ) return this.UVQ; var n = this.font.params, o = 3 * n.rule_thickness, s = this.length2em( this.node.attributes.get("subscriptshift"), n.sub2, ), a = this.isCharBase() ? 0 : t.d * t.rscale + n.sub_drop * e.rscale, c = i([this.getU(t, r), Math.max(a, s)], 2), l = c[0], u = c[1], h = l - r.d * r.rscale - (e.h * e.rscale - u); if (h < o) { u += o - h; var p = 0.8 * n.x_height - (l - r.d * r.rscale); p > 0 && ((l += p), (u -= p)); } return ( (l = Math.max( this.length2em( this.node.attributes.get("superscriptshift"), l, ), l, )), (u = Math.max( this.length2em(this.node.attributes.get("subscriptshift"), u), u, )), (h = l - r.d * r.rscale - (e.h * e.rscale - u)), (this.UVQ = [l, -u, h]), this.UVQ ); }), e ); })(t); }); }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__read) || function (t, e) { var r = "function" == typeof Symbol && t[Symbol.iterator]; if (!r) return t; var n, o, i = r.call(t), s = []; try { for (; (void 0 === e || e-- > 0) && !(n = i.next()).done; ) s.push(n.value); } catch (t) { o = { error: t }; } finally { try { n && !n.done && (r = i.return) && r.call(i); } finally { if (o) throw o.error; } } return s; }, s = (this && this.__spread) || function () { for (var t = [], e = 0; e < arguments.length; e++) t = t.concat(i(arguments[e])); return t; }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.CommonMunderoverMixin = e.CommonMoverMixin = e.CommonMunderMixin = void 0), (e.CommonMunderMixin = function (t) { return (function (t) { function e() { for (var e = [], r = 0; r < arguments.length; r++) e[r] = arguments[r]; var n = t.apply(this, s(e)) || this; return n.stretchChildren(), n; } return ( o(e, t), Object.defineProperty(e.prototype, "script", { get: function () { return this.childNodes[this.node.under]; }, enumerable: !1, configurable: !0, }), (e.prototype.computeBBox = function (e, r) { if ((void 0 === r && (r = !1), this.hasMovableLimits())) t.prototype.computeBBox.call(this, e, r); else { e.empty(); var n = this.baseChild.getBBox(), o = this.script.getBBox(), s = this.getUnderKV(n, o)[1], a = this.getDelta(!0), c = i(this.getDeltaW([n, o], [0, -a]), 2), l = c[0], u = c[1]; e.combine(n, l, 0), e.combine(o, u, s), (e.d += this.font.params.big_op_spacing5), (e.ic = -this.baseCore.bbox.ic), e.clean(), this.setChildPWidths(r); } }), e ); })(t); }), (e.CommonMoverMixin = function (t) { return (function (t) { function e() { for (var e = [], r = 0; r < arguments.length; r++) e[r] = arguments[r]; var n = t.apply(this, s(e)) || this; return n.stretchChildren(), n; } return ( o(e, t), Object.defineProperty(e.prototype, "script", { get: function () { return this.childNodes[this.node.over]; }, enumerable: !1, configurable: !0, }), (e.prototype.computeBBox = function (e) { if (this.hasMovableLimits()) t.prototype.computeBBox.call(this, e); else { e.empty(); var r = this.baseChild.getBBox(), n = this.script.getBBox(), o = this.getOverKU(r, n)[1], s = this.getDelta(), a = i(this.getDeltaW([r, n], [0, s]), 2), c = a[0], l = a[1]; e.combine(r, c, 0), e.combine(n, l, o), (e.h += this.font.params.big_op_spacing5), (e.ic = -this.baseCore.bbox.ic), e.clean(); } }), e ); })(t); }), (e.CommonMunderoverMixin = function (t) { return (function (t) { function e() { for (var e = [], r = 0; r < arguments.length; r++) e[r] = arguments[r]; var n = t.apply(this, s(e)) || this; return n.stretchChildren(), n; } return ( o(e, t), Object.defineProperty(e.prototype, "underChild", { get: function () { return this.childNodes[this.node.under]; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "overChild", { get: function () { return this.childNodes[this.node.over]; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "subChild", { get: function () { return this.underChild; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "supChild", { get: function () { return this.overChild; }, enumerable: !1, configurable: !0, }), (e.prototype.computeBBox = function (e) { if (this.hasMovableLimits()) t.prototype.computeBBox.call(this, e); else { e.empty(); var r = this.overChild.getBBox(), n = this.baseChild.getBBox(), o = this.underChild.getBBox(), s = this.getOverKU(n, r)[1], a = this.getUnderKV(n, o)[1], c = this.getDelta(), l = i(this.getDeltaW([n, o, r], [0, -c, c]), 3), u = l[0], h = l[1], p = l[2]; e.combine(n, u, 0), e.combine(r, p, s), e.combine(o, h, a); var f = this.font.params.big_op_spacing5; (e.h += f), (e.d += f), (e.ic = -this.baseCore.bbox.ic), e.clean(); } }), e ); })(t); }); }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }); Object.defineProperty(e, "__esModule", { value: !0 }), (e.HTMLHandler = void 0); var i = r(78), s = r(94), a = (function (t) { function e() { var e = (null !== t && t.apply(this, arguments)) || this; return (e.documentClass = s.HTMLDocument), e; } return ( o(e, t), (e.prototype.handlesDocument = function (t) { var e = this.adaptor; if ("string" == typeof t) try { t = e.parse(t, "text/html"); } catch (t) {} return ( t instanceof e.window.Document || t instanceof e.window.HTMLElement || t instanceof e.window.DocumentFragment ); }), (e.prototype.create = function (e, r) { var n = this.adaptor; if ("string" == typeof e) e = n.parse(e, "text/html"); else if ( e instanceof n.window.HTMLElement || e instanceof n.window.DocumentFragment ) { var o = e; (e = n.parse("", "text/html")), n.append(n.body(e), o); } return t.prototype.create.call(this, e, r); }), e ); })(i.AbstractHandler); e.HTMLHandler = a; }, function (t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }), (e.KEY = void 0), (function (t) { (t[(t.RETURN = 13)] = "RETURN"), (t[(t.ESCAPE = 27)] = "ESCAPE"), (t[(t.SPACE = 32)] = "SPACE"), (t[(t.LEFT = 37)] = "LEFT"), (t[(t.UP = 38)] = "UP"), (t[(t.RIGHT = 39)] = "RIGHT"), (t[(t.DOWN = 40)] = "DOWN"); })(e.KEY || (e.KEY = {})); }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }); Object.defineProperty(e, "__esModule", { value: !0 }), (e.AbstractVariableItem = void 0); var i = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), (e.prototype.generateHtml = function () { t.prototype.generateHtml.call(this); var e = this.html; this.span || this.generateSpan(), e.appendChild(this.span), this.update(); }), (e.prototype.register = function () { this.variable.register(this); }), (e.prototype.unregister = function () { this.variable.unregister(this); }), (e.prototype.update = function () { this.updateAria(), this.span && this.updateSpan(); }), e ); })(r(18).AbstractItem); e.AbstractVariableItem = i; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__values) || function (t) { var e = "function" == typeof Symbol && Symbol.iterator, r = e && t[e], n = 0; if (r) return r.call(t); if (t && "number" == typeof t.length) return { next: function () { return ( t && n >= t.length && (t = void 0), { value: t && t[n++], done: !t } ); }, }; throw new TypeError( e ? "Object is not iterable." : "Symbol.iterator is not defined.", ); }, s = (this && this.__read) || function (t, e) { var r = "function" == typeof Symbol && t[Symbol.iterator]; if (!r) return t; var n, o, i = r.call(t), s = []; try { for (; (void 0 === e || e-- > 0) && !(n = i.next()).done; ) s.push(n.value); } catch (t) { o = { error: t }; } finally { try { n && !n.done && (r = i.return) && r.call(i); } finally { if (o) throw o.error; } } return s; }, a = (this && this.__spread) || function () { for (var t = [], e = 0; e < arguments.length; e++) t = t.concat(s(arguments[e])); return t; }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.AbstractMathDocument = e.RenderList = void 0); var c = r(4), l = r(31), u = r(32), h = r(33), p = r(10), f = r(34), d = r(89), y = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), (e.create = function (t) { var e, r, n = new this(); try { for ( var o = i(Object.keys(t)), a = o.next(); !a.done; a = o.next() ) { var c = a.value, l = s(this.action(c, t[c]), 2), u = l[0], h = l[1]; h && n.add(u, h); } } catch (t) { e = { error: t }; } finally { try { a && !a.done && (r = o.return) && r.call(o); } finally { if (e) throw e.error; } } return n; }), (e.action = function (t, e) { var r, n, o, i, a, c, l = !0, u = e[0]; if (1 === e.length || "boolean" == typeof e[1]) 2 === e.length && (l = e[1]), (a = (r = s(this.methodActions(t), 2))[0]), (c = r[1]); else if ("string" == typeof e[1]) if ("string" == typeof e[2]) { 4 === e.length && (l = e[3]); var h = s(e.slice(1), 2), p = h[0], f = h[1]; (a = (n = s(this.methodActions(p, f), 2))[0]), (c = n[1]); } else 3 === e.length && (l = e[2]), (a = (o = s(this.methodActions(e[1]), 2))[0]), (c = o[1]); else 4 === e.length && (l = e[3]), (a = (i = s(e.slice(1), 2))[0]), (c = i[1]); return [{ id: t, renderDoc: a, renderMath: c, convert: l }, u]; }), (e.methodActions = function (t, e) { return ( void 0 === e && (e = t), [ function (e) { return t && e[t](), !1; }, function (t, r) { return e && t[e](r), !1; }, ] ); }), (e.prototype.renderDoc = function (t, e) { var r, n; void 0 === e && (e = p.STATE.UNPROCESSED); try { for (var o = i(this.items), s = o.next(); !s.done; s = o.next()) { var a = s.value; if (a.priority >= e && a.item.renderDoc(t)) return; } } catch (t) { r = { error: t }; } finally { try { s && !s.done && (n = o.return) && n.call(o); } finally { if (r) throw r.error; } } }), (e.prototype.renderMath = function (t, e, r) { var n, o; void 0 === r && (r = p.STATE.UNPROCESSED); try { for (var s = i(this.items), a = s.next(); !a.done; a = s.next()) { var c = a.value; if (c.priority >= r && c.item.renderMath(t, e)) return; } } catch (t) { n = { error: t }; } finally { try { a && !a.done && (o = s.return) && o.call(s); } finally { if (n) throw n.error; } } }), (e.prototype.renderConvert = function (t, e, r) { var n, o; void 0 === r && (r = p.STATE.LAST); try { for (var s = i(this.items), a = s.next(); !a.done; a = s.next()) { var c = a.value; if (c.priority > r) return; if (c.item.convert && c.item.renderMath(t, e)) return; } } catch (t) { n = { error: t }; } finally { try { a && !a.done && (o = s.return) && o.call(s); } finally { if (n) throw n.error; } } }), (e.prototype.findID = function (t) { var e, r; try { for (var n = i(this.items), o = n.next(); !o.done; o = n.next()) { var s = o.value; if (s.item.id === t) return s.item; } } catch (t) { e = { error: t }; } finally { try { o && !o.done && (r = n.return) && r.call(n); } finally { if (e) throw e.error; } } return null; }), e ); })(r(14).PrioritizedList); e.RenderList = y; var m = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), (e.prototype.compile = function (t) { return null; }), e ); })(l.AbstractInputJax), v = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), (e.prototype.typeset = function (t, e) { return void 0 === e && (e = null), null; }), (e.prototype.escaped = function (t, e) { return null; }), e ); })(u.AbstractOutputJax), b = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return o(e, t), e; })(h.AbstractMathList), M = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return o(e, t), e; })(p.AbstractMathItem), g = (function () { function t(e, r, n) { var o = this, i = this.constructor; (this.document = e), (this.options = c.userOptions(c.defaultOptions({}, i.OPTIONS), n)), (this.math = new (this.options.MathList || b)()), (this.renderActions = y.create(this.options.renderActions)), (this.processed = new t.ProcessBits()), (this.outputJax = this.options.OutputJax || new v()); var s = this.options.InputJax || [new m()]; Array.isArray(s) || (s = [s]), (this.inputJax = s), (this.adaptor = r), this.outputJax.setAdaptor(r), this.inputJax.map(function (t) { return t.setAdaptor(r); }), (this.mmlFactory = this.options.MmlFactory || new f.MmlFactory()), this.inputJax.map(function (t) { return t.setMmlFactory(o.mmlFactory); }), this.outputJax.initialize(), this.inputJax.map(function (t) { return t.initialize(); }); } return ( Object.defineProperty(t.prototype, "kind", { get: function () { return this.constructor.KIND; }, enumerable: !1, configurable: !0, }), (t.prototype.addRenderAction = function (t) { for (var e = [], r = 1; r < arguments.length; r++) e[r - 1] = arguments[r]; var n = s(y.action(t, e), 2), o = n[0], i = n[1]; this.renderActions.add(o, i); }), (t.prototype.removeRenderAction = function (t) { var e = this.renderActions.findID(t); e && this.renderActions.remove(e); }), (t.prototype.render = function () { return this.renderActions.renderDoc(this), this; }), (t.prototype.rerender = function (t) { return ( void 0 === t && (t = p.STATE.RERENDER), this.state(t - 1), this.render(), this ); }), (t.prototype.convert = function (t, e) { void 0 === e && (e = {}); var r = c.userOptions( { format: this.inputJax[0].name, display: !0, end: p.STATE.LAST, em: 16, ex: 8, containerWidth: null, lineWidth: 1e6, scale: 1, family: "", }, e, ), n = r.format, o = r.display, i = r.end, s = r.ex, a = r.em, l = r.containerWidth, u = r.lineWidth, h = r.scale, f = r.family; null === l && (l = 80 * s); var d = this.inputJax.reduce(function (t, e) { return e.name === n ? e : t; }, null), y = new this.options.MathItem(t, d, o); return ( (y.start.node = this.adaptor.body(this.document)), y.setMetrics(a, s, l, u, h), this.outputJax.options.mtextInheritFont && (y.outputData.mtextFamily = f), this.outputJax.options.merrorInheritFont && (y.outputData.merrorFamily = f), y.convert(this, i), y.typesetRoot || y.root ); }), (t.prototype.findMath = function (t) { return ( void 0 === t && (t = null), this.processed.set("findMath"), this ); }), (t.prototype.compile = function () { var t, e, r, n; if (!this.processed.isSet("compile")) { var o = []; try { for ( var s = i(this.math), a = s.next(); !a.done; a = s.next() ) { var c = a.value; this.compileMath(c), void 0 !== c.inputData.recompile && o.push(c); } } catch (e) { t = { error: e }; } finally { try { a && !a.done && (e = s.return) && e.call(s); } finally { if (t) throw t.error; } } try { for (var l = i(o), u = l.next(); !u.done; u = l.next()) { var h = (c = u.value).inputData.recompile; c.state(h.state), (c.inputData.recompile = h), this.compileMath(c); } } catch (t) { r = { error: t }; } finally { try { u && !u.done && (n = l.return) && n.call(l); } finally { if (r) throw r.error; } } this.processed.set("compile"); } return this; }), (t.prototype.compileMath = function (t) { try { t.compile(this); } catch (e) { if (e.retry || e.restart) throw e; this.options.compileError(this, t, e), (t.inputData.error = e); } }), (t.prototype.compileError = function (t, e) { (t.root = this.mmlFactory.create("math", null, [ this.mmlFactory.create( "merror", { "data-mjx-error": e.message, title: e.message }, [ this.mmlFactory.create("mtext", null, [ this.mmlFactory.create("text").setText("Math input error"), ]), ], ), ])), t.display && t.root.attributes.set("display", "block"), (t.inputData.error = e.message); }), (t.prototype.typeset = function () { var t, e; if (!this.processed.isSet("typeset")) { try { for ( var r = i(this.math), n = r.next(); !n.done; n = r.next() ) { var o = n.value; try { o.typeset(this); } catch (t) { if (t.retry || t.restart) throw t; this.options.typesetError(this, o, t), (o.outputData.error = t); } } } catch (e) { t = { error: e }; } finally { try { n && !n.done && (e = r.return) && e.call(r); } finally { if (t) throw t.error; } } this.processed.set("typeset"); } return this; }), (t.prototype.typesetError = function (t, e) { (t.typesetRoot = this.adaptor.node( "mjx-container", { class: "MathJax mjx-output-error", jax: this.outputJax.name }, [ this.adaptor.node( "span", { "data-mjx-error": e.message, title: e.message, style: { color: "red", "background-color": "yellow", "line-height": "normal", }, }, [this.adaptor.text("Math output error")], ), ], )), t.display && this.adaptor.setAttributes(t.typesetRoot, { style: { display: "block", margin: "1em 0", "text-align": "center", }, }), (t.outputData.error = e.message); }), (t.prototype.getMetrics = function () { return ( this.processed.isSet("getMetrics") || (this.outputJax.getMetrics(this), this.processed.set("getMetrics")), this ); }), (t.prototype.updateDocument = function () { var t, e; if (!this.processed.isSet("updateDocument")) { try { for ( var r = i(this.math.reversed()), n = r.next(); !n.done; n = r.next() ) { n.value.updateDocument(this); } } catch (e) { t = { error: e }; } finally { try { n && !n.done && (e = r.return) && e.call(r); } finally { if (t) throw t.error; } } this.processed.set("updateDocument"); } return this; }), (t.prototype.removeFromDocument = function (t) { return void 0 === t && (t = !1), this; }), (t.prototype.state = function (t, e) { var r, n; void 0 === e && (e = !1); try { for (var o = i(this.math), s = o.next(); !s.done; s = o.next()) { s.value.state(t, e); } } catch (t) { r = { error: t }; } finally { try { s && !s.done && (n = o.return) && n.call(o); } finally { if (r) throw r.error; } } return ( t < p.STATE.INSERTED && this.processed.clear("updateDocument"), t < p.STATE.TYPESET && (this.processed.clear("typeset"), this.processed.clear("getMetrics")), t < p.STATE.COMPILED && this.processed.clear("compile"), this ); }), (t.prototype.reset = function () { return this.processed.reset(), this; }), (t.prototype.clear = function () { return this.reset(), this.math.clear(), this; }), (t.prototype.concat = function (t) { return this.math.merge(t), this; }), (t.prototype.clearMathItemsWithin = function (t) { var e; (e = this.math).remove.apply(e, a(this.getMathItemsWithin(t))); }), (t.prototype.getMathItemsWithin = function (t) { var e, r, n, o; Array.isArray(t) || (t = [t]); var s = this.adaptor, a = [], c = s.getElements(t, this.document); try { t: for ( var l = i(this.math), u = l.next(); !u.done; u = l.next() ) { var h = u.value; try { for ( var p = ((n = void 0), i(c)), f = p.next(); !f.done; f = p.next() ) { var d = f.value; if (h.start.node && s.contains(d, h.start.node)) { a.push(h); continue t; } } } catch (t) { n = { error: t }; } finally { try { f && !f.done && (o = p.return) && o.call(p); } finally { if (n) throw n.error; } } } } catch (t) { e = { error: t }; } finally { try { u && !u.done && (r = l.return) && r.call(l); } finally { if (e) throw e.error; } } return a; }), (t.KIND = "MathDocument"), (t.OPTIONS = { OutputJax: null, InputJax: null, MmlFactory: null, MathList: b, MathItem: M, compileError: function (t, e, r) { t.compileError(e, r); }, typesetError: function (t, e, r) { t.typesetError(e, r); }, renderActions: c.expandable({ find: [p.STATE.FINDMATH, "findMath", "", !1], compile: [p.STATE.COMPILED], metrics: [p.STATE.METRICS, "getMetrics", "", !1], typeset: [p.STATE.TYPESET], update: [p.STATE.INSERTED, "updateDocument", !1], }), }), (t.ProcessBits = d.BitFieldClass( "findMath", "compile", "getMetrics", "typeset", "updateDocument", )), t ); })(); e.AbstractMathDocument = g; }, function (t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }), (e.AbstractInputJax = void 0); var n = r(4), o = r(19), i = (function () { function t(t) { void 0 === t && (t = {}), (this.adaptor = null), (this.mmlFactory = null); var e = this.constructor; (this.options = n.userOptions(n.defaultOptions({}, e.OPTIONS), t)), (this.preFilters = new o.FunctionList()), (this.postFilters = new o.FunctionList()); } return ( Object.defineProperty(t.prototype, "name", { get: function () { return this.constructor.NAME; }, enumerable: !1, configurable: !0, }), (t.prototype.setAdaptor = function (t) { this.adaptor = t; }), (t.prototype.setMmlFactory = function (t) { this.mmlFactory = t; }), (t.prototype.initialize = function () {}), Object.defineProperty(t.prototype, "processStrings", { get: function () { return !0; }, enumerable: !1, configurable: !0, }), (t.prototype.findMath = function (t, e) { return []; }), (t.prototype.executeFilters = function (t, e, r, n) { var o = { math: e, document: r, data: n }; return t.execute(o), o.data; }), (t.NAME = "generic"), (t.OPTIONS = {}), t ); })(); e.AbstractInputJax = i; }, function (t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }), (e.AbstractOutputJax = void 0); var n = r(4), o = r(19), i = (function () { function t(t) { void 0 === t && (t = {}), (this.adaptor = null); var e = this.constructor; (this.options = n.userOptions(n.defaultOptions({}, e.OPTIONS), t)), (this.postFilters = new o.FunctionList()); } return ( Object.defineProperty(t.prototype, "name", { get: function () { return this.constructor.NAME; }, enumerable: !1, configurable: !0, }), (t.prototype.setAdaptor = function (t) { this.adaptor = t; }), (t.prototype.initialize = function () {}), (t.prototype.getMetrics = function (t) {}), (t.prototype.styleSheet = function (t) { return null; }), (t.prototype.pageElements = function (t) { return null; }), (t.prototype.executeFilters = function (t, e, r, n) { var o = { math: e, document: r, data: n }; return t.execute(o), o.data; }), (t.NAME = "generic"), (t.OPTIONS = {}), t ); })(); e.AbstractOutputJax = i; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }); Object.defineProperty(e, "__esModule", { value: !0 }), (e.AbstractMathList = void 0); var i = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), (e.prototype.isBefore = function (t, e) { return ( t.start.i < e.start.i || (t.start.i === e.start.i && t.start.n < e.start.n) ); }), e ); })(r(79).LinkedList); e.AbstractMathList = i; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }); Object.defineProperty(e, "__esModule", { value: !0 }), (e.MmlFactory = void 0); var i = r(80), s = r(81), a = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), Object.defineProperty(e.prototype, "MML", { get: function () { return this.node; }, enumerable: !1, configurable: !0, }), (e.defaultNodes = s.MML), e ); })(i.AbstractNodeFactory); e.MmlFactory = a; }, function (t, e, r) { "use strict"; var n = (this && this.__values) || function (t) { var e = "function" == typeof Symbol && Symbol.iterator, r = e && t[e], n = 0; if (r) return r.call(t); if (t && "number" == typeof t.length) return { next: function () { return ( t && n >= t.length && (t = void 0), { value: t && t[n++], done: !t } ); }, }; throw new TypeError( e ? "Object is not iterable." : "Symbol.iterator is not defined.", ); }, o = (this && this.__read) || function (t, e) { var r = "function" == typeof Symbol && t[Symbol.iterator]; if (!r) return t; var n, o, i = r.call(t), s = []; try { for (; (void 0 === e || e-- > 0) && !(n = i.next()).done; ) s.push(n.value); } catch (t) { o = { error: t }; } finally { try { n && !n.done && (r = i.return) && r.call(i); } finally { if (o) throw o.error; } } return s; }, i = (this && this.__spread) || function () { for (var t = [], e = 0; e < arguments.length; e++) t = t.concat(o(arguments[e])); return t; }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.AbstractFactory = void 0); var s = (function () { function t(t) { var e, r; void 0 === t && (t = null), (this.defaultKind = "unknown"), (this.nodeMap = new Map()), (this.node = {}), null === t && (t = this.constructor.defaultNodes); try { for (var o = n(Object.keys(t)), i = o.next(); !i.done; i = o.next()) { var s = i.value; this.setNodeClass(s, t[s]); } } catch (t) { e = { error: t }; } finally { try { i && !i.done && (r = o.return) && r.call(o); } finally { if (e) throw e.error; } } } return ( (t.prototype.create = function (t) { for (var e = [], r = 1; r < arguments.length; r++) e[r - 1] = arguments[r]; return (this.node[t] || this.node[this.defaultKind]).apply( void 0, i(e), ); }), (t.prototype.setNodeClass = function (t, e) { this.nodeMap.set(t, e); var r = this, n = this.nodeMap.get(t); this.node[t] = function () { for (var t = [], e = 0; e < arguments.length; e++) t[e] = arguments[e]; return new (n.bind.apply(n, i([void 0, r], t)))(); }; }), (t.prototype.getNodeClass = function (t) { return this.nodeMap.get(t); }), (t.prototype.deleteNodeClass = function (t) { this.nodeMap.delete(t), delete this.node[t]; }), (t.prototype.nodeIsKind = function (t, e) { return t instanceof this.getNodeClass(e); }), (t.prototype.getKinds = function () { return Array.from(this.nodeMap.keys()); }), (t.defaultNodes = {}), t ); })(); e.AbstractFactory = s; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__values) || function (t) { var e = "function" == typeof Symbol && Symbol.iterator, r = e && t[e], n = 0; if (r) return r.call(t); if (t && "number" == typeof t.length) return { next: function () { return ( t && n >= t.length && (t = void 0), { value: t && t[n++], done: !t } ); }, }; throw new TypeError( e ? "Object is not iterable." : "Symbol.iterator is not defined.", ); }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.AbstractEmptyNode = e.AbstractNode = void 0); var s = (function () { function t(t, e, r) { var n, o; void 0 === e && (e = {}), void 0 === r && (r = []), (this.parent = null), (this.properties = {}), (this._factory = null), (this.childNodes = []), (this._factory = t); try { for (var s = i(Object.keys(e)), a = s.next(); !a.done; a = s.next()) { var c = a.value; this.setProperty(c, e[c]); } } catch (t) { n = { error: t }; } finally { try { a && !a.done && (o = s.return) && o.call(s); } finally { if (n) throw n.error; } } r.length && this.setChildren(r); } return ( Object.defineProperty(t.prototype, "factory", { get: function () { return this._factory; }, enumerable: !1, configurable: !0, }), Object.defineProperty(t.prototype, "kind", { get: function () { return "unknown"; }, enumerable: !1, configurable: !0, }), (t.prototype.setProperty = function (t, e) { this.properties[t] = e; }), (t.prototype.getProperty = function (t) { return this.properties[t]; }), (t.prototype.getPropertyNames = function () { return Object.keys(this.properties); }), (t.prototype.getAllProperties = function () { return this.properties; }), (t.prototype.removeProperty = function () { for (var t, e, r = [], n = 0; n < arguments.length; n++) r[n] = arguments[n]; try { for (var o = i(r), s = o.next(); !s.done; s = o.next()) { var a = s.value; delete this.properties[a]; } } catch (e) { t = { error: e }; } finally { try { s && !s.done && (e = o.return) && e.call(o); } finally { if (t) throw t.error; } } }), (t.prototype.isKind = function (t) { return this.factory.nodeIsKind(this, t); }), (t.prototype.setChildren = function (t) { var e, r; this.childNodes = []; try { for (var n = i(t), o = n.next(); !o.done; o = n.next()) { var s = o.value; this.appendChild(s); } } catch (t) { e = { error: t }; } finally { try { o && !o.done && (r = n.return) && r.call(n); } finally { if (e) throw e.error; } } }), (t.prototype.appendChild = function (t) { return this.childNodes.push(t), (t.parent = this), t; }), (t.prototype.replaceChild = function (t, e) { var r = this.childIndex(e); return null !== r && ((this.childNodes[r] = t), (t.parent = this)), t; }), (t.prototype.childIndex = function (t) { var e = this.childNodes.indexOf(t); return -1 === e ? null : e; }), (t.prototype.findNodes = function (t) { var e = []; return ( this.walkTree(function (r) { r.isKind(t) && e.push(r); }), e ); }), (t.prototype.walkTree = function (t, e) { var r, n; t(this, e); try { for ( var o = i(this.childNodes), s = o.next(); !s.done; s = o.next() ) { var a = s.value; a && a.walkTree(t, e); } } catch (t) { r = { error: t }; } finally { try { s && !s.done && (n = o.return) && n.call(o); } finally { if (r) throw r.error; } } return e; }), (t.prototype.toString = function () { return this.kind + "(" + this.childNodes.join(",") + ")"; }), t ); })(); e.AbstractNode = s; var a = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), (e.prototype.setChildren = function (t) {}), (e.prototype.appendChild = function (t) { return t; }), (e.prototype.replaceChild = function (t, e) { return e; }), (e.prototype.childIndex = function (t) { return null; }), (e.prototype.walkTree = function (t, e) { return t(this, e), e; }), (e.prototype.toString = function () { return this.kind; }), e ); })(s); e.AbstractEmptyNode = a; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__assign) || function () { return (i = Object.assign || function (t) { for (var e, r = 1, n = arguments.length; r < n; r++) for (var o in (e = arguments[r])) Object.prototype.hasOwnProperty.call(e, o) && (t[o] = e[o]); return t; }).apply(this, arguments); }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.MmlMath = void 0); var s = r(0), a = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), Object.defineProperty(e.prototype, "kind", { get: function () { return "math"; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "linebreakContainer", { get: function () { return !0; }, enumerable: !1, configurable: !0, }), (e.prototype.setChildInheritedAttributes = function (e, r, n, o) { "display" === this.attributes.get("mode") && this.attributes.setInherited("display", "block"), (e = this.addInheritedAttributes( e, this.attributes.getAllAttributes(), )), (r = !!this.attributes.get("displaystyle") || (!this.attributes.get("displaystyle") && "block" === this.attributes.get("display"))), this.attributes.setInherited("displaystyle", r), (n = this.attributes.get("scriptlevel") || this.constructor.defaults.scriptlevel), t.prototype.setChildInheritedAttributes.call(this, e, r, n, o); }), (e.defaults = i(i({}, s.AbstractMmlLayoutNode.defaults), { mathvariant: "normal", mathsize: "normal", mathcolor: "", mathbackground: "transparent", dir: "ltr", scriptlevel: 0, displaystyle: !1, display: "inline", maxwidth: "", overflow: "linebreak", altimg: "", "altimg-width": "", "altimg-height": "", "altimg-valign": "", alttext: "", cdgroup: "", scriptsizemultiplier: 1 / Math.sqrt(2), scriptminsize: "8px", infixlinebreakstyle: "before", lineleading: "1ex", linebreakmultchar: "\u2062", indentshift: "auto", indentalign: "auto", indenttarget: "", indentalignfirst: "indentalign", indentshiftfirst: "indentshift", indentalignlast: "indentalign", indentshiftlast: "indentshift", })), e ); })(s.AbstractMmlLayoutNode); e.MmlMath = a; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__assign) || function () { return (i = Object.assign || function (t) { for (var e, r = 1, n = arguments.length; r < n; r++) for (var o in (e = arguments[r])) Object.prototype.hasOwnProperty.call(e, o) && (t[o] = e[o]); return t; }).apply(this, arguments); }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.MmlMn = void 0); var s = r(0), a = (function (t) { function e() { var e = (null !== t && t.apply(this, arguments)) || this; return (e.texClass = s.TEXCLASS.ORD), e; } return ( o(e, t), Object.defineProperty(e.prototype, "kind", { get: function () { return "mn"; }, enumerable: !1, configurable: !0, }), (e.defaults = i({}, s.AbstractMmlTokenNode.defaults)), e ); })(s.AbstractMmlTokenNode); e.MmlMn = a; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__assign) || function () { return (i = Object.assign || function (t) { for (var e, r = 1, n = arguments.length; r < n; r++) for (var o in (e = arguments[r])) Object.prototype.hasOwnProperty.call(e, o) && (t[o] = e[o]); return t; }).apply(this, arguments); }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.MmlMtext = void 0); var s = r(0), a = (function (t) { function e() { var e = (null !== t && t.apply(this, arguments)) || this; return (e.texClass = s.TEXCLASS.ORD), e; } return ( o(e, t), Object.defineProperty(e.prototype, "kind", { get: function () { return "mtext"; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "isSpacelike", { get: function () { return !0; }, enumerable: !1, configurable: !0, }), (e.defaults = i({}, s.AbstractMmlTokenNode.defaults)), e ); })(s.AbstractMmlTokenNode); e.MmlMtext = a; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__assign) || function () { return (i = Object.assign || function (t) { for (var e, r = 1, n = arguments.length; r < n; r++) for (var o in (e = arguments[r])) Object.prototype.hasOwnProperty.call(e, o) && (t[o] = e[o]); return t; }).apply(this, arguments); }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.MmlMspace = void 0); var s = r(0), a = (function (t) { function e() { var e = (null !== t && t.apply(this, arguments)) || this; return (e.texClass = s.TEXCLASS.ORD), e; } return ( o(e, t), Object.defineProperty(e.prototype, "kind", { get: function () { return "mspace"; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "arity", { get: function () { return 0; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "isSpacelike", { get: function () { return !0; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "hasNewline", { get: function () { var t = this.attributes; return ( null == t.getExplicit("width") && null == t.getExplicit("height") && null == t.getExplicit("depth") && "newline" === t.get("linebreak") ); }, enumerable: !1, configurable: !0, }), (e.defaults = i(i({}, s.AbstractMmlTokenNode.defaults), { width: "0em", height: "0ex", depth: "0ex", linebreak: "auto", })), e ); })(s.AbstractMmlTokenNode); e.MmlMspace = a; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__assign) || function () { return (i = Object.assign || function (t) { for (var e, r = 1, n = arguments.length; r < n; r++) for (var o in (e = arguments[r])) Object.prototype.hasOwnProperty.call(e, o) && (t[o] = e[o]); return t; }).apply(this, arguments); }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.MmlMs = void 0); var s = r(0), a = (function (t) { function e() { var e = (null !== t && t.apply(this, arguments)) || this; return (e.texClass = s.TEXCLASS.ORD), e; } return ( o(e, t), Object.defineProperty(e.prototype, "kind", { get: function () { return "ms"; }, enumerable: !1, configurable: !0, }), (e.defaults = i(i({}, s.AbstractMmlTokenNode.defaults), { lquote: '"', rquote: '"', })), e ); })(s.AbstractMmlTokenNode); e.MmlMs = a; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__assign) || function () { return (i = Object.assign || function (t) { for (var e, r = 1, n = arguments.length; r < n; r++) for (var o in (e = arguments[r])) Object.prototype.hasOwnProperty.call(e, o) && (t[o] = e[o]); return t; }).apply(this, arguments); }, s = (this && this.__values) || function (t) { var e = "function" == typeof Symbol && Symbol.iterator, r = e && t[e], n = 0; if (r) return r.call(t); if (t && "number" == typeof t.length) return { next: function () { return ( t && n >= t.length && (t = void 0), { value: t && t[n++], done: !t } ); }, }; throw new TypeError( e ? "Object is not iterable." : "Symbol.iterator is not defined.", ); }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.MmlInferredMrow = e.MmlMrow = void 0); var a = r(0), c = (function (t) { function e() { var e = (null !== t && t.apply(this, arguments)) || this; return (e._core = null), e; } return ( o(e, t), Object.defineProperty(e.prototype, "kind", { get: function () { return "mrow"; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "isSpacelike", { get: function () { var t, e; try { for ( var r = s(this.childNodes), n = r.next(); !n.done; n = r.next() ) { if (!n.value.isSpacelike) return !1; } } catch (e) { t = { error: e }; } finally { try { n && !n.done && (e = r.return) && e.call(r); } finally { if (t) throw t.error; } } return !0; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "isEmbellished", { get: function () { var t, e, r = !1, n = 0; try { for ( var o = s(this.childNodes), i = o.next(); !i.done; i = o.next() ) { var a = i.value; if (a) if (a.isEmbellished) { if (r) return !1; (r = !0), (this._core = n); } else if (!a.isSpacelike) return !1; n++; } } catch (e) { t = { error: e }; } finally { try { i && !i.done && (e = o.return) && e.call(o); } finally { if (t) throw t.error; } } return r; }, enumerable: !1, configurable: !0, }), (e.prototype.core = function () { return this.isEmbellished && null != this._core ? this.childNodes[this._core] : this; }), (e.prototype.coreMO = function () { return this.isEmbellished && null != this._core ? this.childNodes[this._core].coreMO() : this; }), (e.prototype.nonSpaceLength = function () { var t, e, r = 0; try { for ( var n = s(this.childNodes), o = n.next(); !o.done; o = n.next() ) { var i = o.value; i && !i.isSpacelike && r++; } } catch (e) { t = { error: e }; } finally { try { o && !o.done && (e = n.return) && e.call(n); } finally { if (t) throw t.error; } } return r; }), (e.prototype.firstNonSpace = function () { var t, e; try { for ( var r = s(this.childNodes), n = r.next(); !n.done; n = r.next() ) { var o = n.value; if (o && !o.isSpacelike) return o; } } catch (e) { t = { error: e }; } finally { try { n && !n.done && (e = r.return) && e.call(r); } finally { if (t) throw t.error; } } return null; }), (e.prototype.lastNonSpace = function () { for (var t = this.childNodes.length; --t >= 0; ) { var e = this.childNodes[t]; if (e && !e.isSpacelike) return e; } return null; }), (e.prototype.setTeXclass = function (t) { var e, r, n, o; if ( (null == this.getProperty("open") && null == this.getProperty("close")) || (t && null == t.getProperty("fnOP")) ) { try { for ( var i = s(this.childNodes), c = i.next(); !c.done; c = i.next() ) { t = c.value.setTeXclass(t); } } catch (t) { n = { error: t }; } finally { try { c && !c.done && (o = i.return) && o.call(i); } finally { if (n) throw n.error; } } this.childNodes[0] && this.updateTeXclass(this.childNodes[0]); } else { this.getPrevClass(t), (t = null); try { for ( var l = s(this.childNodes), u = l.next(); !u.done; u = l.next() ) { t = u.value.setTeXclass(t); } } catch (t) { e = { error: t }; } finally { try { u && !u.done && (r = l.return) && r.call(l); } finally { if (e) throw e.error; } } null == this.texClass && (this.texClass = a.TEXCLASS.INNER); } return t; }), (e.defaults = i({}, a.AbstractMmlNode.defaults)), e ); })(a.AbstractMmlNode); e.MmlMrow = c; var l = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), Object.defineProperty(e.prototype, "kind", { get: function () { return "inferredMrow"; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "isInferred", { get: function () { return !0; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "notParent", { get: function () { return !0; }, enumerable: !1, configurable: !0, }), (e.prototype.toString = function () { return "[" + this.childNodes.join(",") + "]"; }), (e.defaults = c.defaults), e ); })(c); e.MmlInferredMrow = l; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__assign) || function () { return (i = Object.assign || function (t) { for (var e, r = 1, n = arguments.length; r < n; r++) for (var o in (e = arguments[r])) Object.prototype.hasOwnProperty.call(e, o) && (t[o] = e[o]); return t; }).apply(this, arguments); }, s = (this && this.__values) || function (t) { var e = "function" == typeof Symbol && Symbol.iterator, r = e && t[e], n = 0; if (r) return r.call(t); if (t && "number" == typeof t.length) return { next: function () { return ( t && n >= t.length && (t = void 0), { value: t && t[n++], done: !t } ); }, }; throw new TypeError( e ? "Object is not iterable." : "Symbol.iterator is not defined.", ); }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.MmlMfrac = void 0); var a = r(0), c = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), Object.defineProperty(e.prototype, "kind", { get: function () { return "mfrac"; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "arity", { get: function () { return 2; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "linebreakContainer", { get: function () { return !0; }, enumerable: !1, configurable: !0, }), (e.prototype.setTeXclass = function (t) { var e, r; this.getPrevClass(t); try { for ( var n = s(this.childNodes), o = n.next(); !o.done; o = n.next() ) { o.value.setTeXclass(null); } } catch (t) { e = { error: t }; } finally { try { o && !o.done && (r = n.return) && r.call(n); } finally { if (e) throw e.error; } } return this; }), (e.prototype.setChildInheritedAttributes = function (t, e, r, n) { (!e || r > 0) && r++, this.childNodes[0].setInheritedAttributes(t, !1, r, n), this.childNodes[1].setInheritedAttributes(t, !1, r, !0); }), (e.defaults = i(i({}, a.AbstractMmlBaseNode.defaults), { linethickness: "medium", numalign: "center", denomalign: "center", bevelled: !1, })), e ); })(a.AbstractMmlBaseNode); e.MmlMfrac = c; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__assign) || function () { return (i = Object.assign || function (t) { for (var e, r = 1, n = arguments.length; r < n; r++) for (var o in (e = arguments[r])) Object.prototype.hasOwnProperty.call(e, o) && (t[o] = e[o]); return t; }).apply(this, arguments); }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.MmlMsqrt = void 0); var s = r(0), a = (function (t) { function e() { var e = (null !== t && t.apply(this, arguments)) || this; return (e.texClass = s.TEXCLASS.ORD), e; } return ( o(e, t), Object.defineProperty(e.prototype, "kind", { get: function () { return "msqrt"; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "arity", { get: function () { return -1; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "linebreakContainer", { get: function () { return !0; }, enumerable: !1, configurable: !0, }), (e.prototype.setTeXclass = function (t) { return ( this.getPrevClass(t), this.childNodes[0].setTeXclass(null), this ); }), (e.prototype.setChildInheritedAttributes = function (t, e, r, n) { this.childNodes[0].setInheritedAttributes(t, e, r, !0); }), (e.defaults = i({}, s.AbstractMmlNode.defaults)), e ); })(s.AbstractMmlNode); e.MmlMsqrt = a; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__assign) || function () { return (i = Object.assign || function (t) { for (var e, r = 1, n = arguments.length; r < n; r++) for (var o in (e = arguments[r])) Object.prototype.hasOwnProperty.call(e, o) && (t[o] = e[o]); return t; }).apply(this, arguments); }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.MmlMroot = void 0); var s = r(0), a = (function (t) { function e() { var e = (null !== t && t.apply(this, arguments)) || this; return (e.texClass = s.TEXCLASS.ORD), e; } return ( o(e, t), Object.defineProperty(e.prototype, "kind", { get: function () { return "mroot"; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "arity", { get: function () { return 2; }, enumerable: !1, configurable: !0, }), (e.prototype.setChildInheritedAttributes = function (t, e, r, n) { this.childNodes[0].setInheritedAttributes(t, e, r, !0), this.childNodes[1].setInheritedAttributes(t, !1, r + 2, n); }), (e.defaults = i({}, s.AbstractMmlNode.defaults)), e ); })(s.AbstractMmlNode); e.MmlMroot = a; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__assign) || function () { return (i = Object.assign || function (t) { for (var e, r = 1, n = arguments.length; r < n; r++) for (var o in (e = arguments[r])) Object.prototype.hasOwnProperty.call(e, o) && (t[o] = e[o]); return t; }).apply(this, arguments); }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.MmlMpadded = void 0); var s = r(0), a = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), Object.defineProperty(e.prototype, "kind", { get: function () { return "mpadded"; }, enumerable: !1, configurable: !0, }), (e.defaults = i(i({}, s.AbstractMmlLayoutNode.defaults), { width: "", height: "", depth: "", lspace: 0, voffset: 0, })), e ); })(s.AbstractMmlLayoutNode); e.MmlMpadded = a; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__assign) || function () { return (i = Object.assign || function (t) { for (var e, r = 1, n = arguments.length; r < n; r++) for (var o in (e = arguments[r])) Object.prototype.hasOwnProperty.call(e, o) && (t[o] = e[o]); return t; }).apply(this, arguments); }, s = (this && this.__values) || function (t) { var e = "function" == typeof Symbol && Symbol.iterator, r = e && t[e], n = 0; if (r) return r.call(t); if (t && "number" == typeof t.length) return { next: function () { return ( t && n >= t.length && (t = void 0), { value: t && t[n++], done: !t } ); }, }; throw new TypeError( e ? "Object is not iterable." : "Symbol.iterator is not defined.", ); }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.MmlMfenced = void 0); var a = r(0), c = (function (t) { function e() { var e = (null !== t && t.apply(this, arguments)) || this; return ( (e.texClass = a.TEXCLASS.INNER), (e.separators = []), (e.open = null), (e.close = null), e ); } return ( o(e, t), Object.defineProperty(e.prototype, "kind", { get: function () { return "mfenced"; }, enumerable: !1, configurable: !0, }), (e.prototype.setTeXclass = function (t) { this.getPrevClass(t), this.open && (t = this.open.setTeXclass(t)), this.childNodes[0] && (t = this.childNodes[0].setTeXclass(t)); for (var e = 1, r = this.childNodes.length; e < r; e++) this.separators[e - 1] && (t = this.separators[e - 1].setTeXclass(t)), this.childNodes[e] && (t = this.childNodes[e].setTeXclass(t)); return ( this.close && (t = this.close.setTeXclass(t)), this.updateTeXclass(this.open), t ); }), (e.prototype.setChildInheritedAttributes = function (e, r, n, o) { var i, a; this.addFakeNodes(); try { for ( var c = s([this.open, this.close].concat(this.separators)), l = c.next(); !l.done; l = c.next() ) { var u = l.value; u && u.setInheritedAttributes(e, r, n, o); } } catch (t) { i = { error: t }; } finally { try { l && !l.done && (a = c.return) && a.call(c); } finally { if (i) throw i.error; } } t.prototype.setChildInheritedAttributes.call(this, e, r, n, o); }), (e.prototype.addFakeNodes = function () { var t, e, r = this.attributes.getList("open", "close", "separators"), n = r.open, o = r.close, i = r.separators; if ( ((n = n.replace(/[ \t\n\r]/g, "")), (o = o.replace(/[ \t\n\r]/g, "")), (i = i.replace(/[ \t\n\r]/g, "")), n && (this.open = this.fakeNode( n, { fence: !0, form: "prefix" }, a.TEXCLASS.OPEN, )), i) ) { for (; i.length < this.childNodes.length - 1; ) i += i.charAt(i.length - 1); var c = 0; try { for ( var l = s(this.childNodes.slice(1)), u = l.next(); !u.done; u = l.next() ) { u.value && this.separators.push(this.fakeNode(i.charAt(c++))); } } catch (e) { t = { error: e }; } finally { try { u && !u.done && (e = l.return) && e.call(l); } finally { if (t) throw t.error; } } } o && (this.close = this.fakeNode( o, { fence: !0, form: "postfix" }, a.TEXCLASS.CLOSE, )); }), (e.prototype.fakeNode = function (t, e, r) { void 0 === e && (e = {}), void 0 === r && (r = null); var n = this.factory.create("text").setText(t), o = this.factory.create("mo", e, [n]); return (o.texClass = r), (o.parent = this), o; }), (e.defaults = i(i({}, a.AbstractMmlNode.defaults), { open: "(", close: ")", separators: ",", })), e ); })(a.AbstractMmlNode); e.MmlMfenced = c; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__assign) || function () { return (i = Object.assign || function (t) { for (var e, r = 1, n = arguments.length; r < n; r++) for (var o in (e = arguments[r])) Object.prototype.hasOwnProperty.call(e, o) && (t[o] = e[o]); return t; }).apply(this, arguments); }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.MmlMenclose = void 0); var s = r(0), a = (function (t) { function e() { var e = (null !== t && t.apply(this, arguments)) || this; return (e.texClass = s.TEXCLASS.ORD), e; } return ( o(e, t), Object.defineProperty(e.prototype, "kind", { get: function () { return "menclose"; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "arity", { get: function () { return -1; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "linebreakContininer", { get: function () { return !0; }, enumerable: !1, configurable: !0, }), (e.prototype.setTeXclass = function (t) { return ( (t = this.childNodes[0].setTeXclass(t)), this.updateTeXclass(this.childNodes[0]), t ); }), (e.defaults = i(i({}, s.AbstractMmlNode.defaults), { notation: "longdiv", })), e ); })(s.AbstractMmlNode); e.MmlMenclose = a; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__assign) || function () { return (i = Object.assign || function (t) { for (var e, r = 1, n = arguments.length; r < n; r++) for (var o in (e = arguments[r])) Object.prototype.hasOwnProperty.call(e, o) && (t[o] = e[o]); return t; }).apply(this, arguments); }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.MmlMaction = void 0); var s = r(0), a = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), Object.defineProperty(e.prototype, "kind", { get: function () { return "maction"; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "arity", { get: function () { return 1; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "selected", { get: function () { var t = this.attributes.get("selection"), e = Math.max(1, Math.min(this.childNodes.length, t)) - 1; return this.childNodes[e] || this.factory.create("mrow"); }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "isEmbellished", { get: function () { return this.selected.isEmbellished; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "isSpacelike", { get: function () { return this.selected.isSpacelike; }, enumerable: !1, configurable: !0, }), (e.prototype.core = function () { return this.selected.core(); }), (e.prototype.coreMO = function () { return this.selected.coreMO(); }), (e.prototype.verifyAttributes = function (e) { (t.prototype.verifyAttributes.call(this, e), "toggle" !== this.attributes.get("actiontype") && void 0 !== this.attributes.getExplicit("selection")) && delete this.attributes.getAllAttributes().selection; }), (e.prototype.setTeXclass = function (t) { "tooltip" === this.attributes.get("actiontype") && this.childNodes[1] && this.childNodes[1].setTeXclass(null); var e = this.selected; return (t = e.setTeXclass(t)), this.updateTeXclass(e), t; }), (e.prototype.nextToggleSelection = function () { var t = Math.max(1, this.attributes.get("selection") + 1); t > this.childNodes.length && (t = 1), this.attributes.set("selection", t); }), (e.defaults = i(i({}, s.AbstractMmlNode.defaults), { actiontype: "toggle", selection: 1, })), e ); })(s.AbstractMmlNode); e.MmlMaction = a; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__assign) || function () { return (i = Object.assign || function (t) { for (var e, r = 1, n = arguments.length; r < n; r++) for (var o in (e = arguments[r])) Object.prototype.hasOwnProperty.call(e, o) && (t[o] = e[o]); return t; }).apply(this, arguments); }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.MmlMover = e.MmlMunder = e.MmlMunderover = void 0); var s = r(0), a = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), Object.defineProperty(e.prototype, "kind", { get: function () { return "munderover"; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "arity", { get: function () { return 3; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "base", { get: function () { return 0; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "under", { get: function () { return 1; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "over", { get: function () { return 2; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "linebreakContainer", { get: function () { return !0; }, enumerable: !1, configurable: !0, }), (e.prototype.setChildInheritedAttributes = function (t, e, r, n) { var o = this.childNodes; o[0].setInheritedAttributes(t, e, r, n || !!o[this.over]); var i = !(e || !o[0].coreMO().attributes.get("movablelimits")), s = this.constructor.ACCENTS; o[1].setInheritedAttributes( t, !1, this.getScriptlevel(s[1], i, r), n || 1 === this.under, ), this.setInheritedAccent(1, s[1], e, r, n, i), o[2] && (o[2].setInheritedAttributes( t, !1, this.getScriptlevel(s[2], i, r), n || 2 === this.under, ), this.setInheritedAccent(2, s[2], e, r, n, i)); }), (e.prototype.getScriptlevel = function (t, e, r) { return (!e && this.attributes.get(t)) || r++, r; }), (e.prototype.setInheritedAccent = function (t, e, r, n, o, i) { var s = this.childNodes[t]; if (null == this.attributes.getExplicit(e) && s.isEmbellished) { var a = s.coreMO().attributes.get("accent"); this.attributes.setInherited(e, a), a !== this.attributes.getDefault(e) && s.setInheritedAttributes( {}, r, this.getScriptlevel(e, i, n), o, ); } }), (e.defaults = i(i({}, s.AbstractMmlBaseNode.defaults), { accent: !1, accentunder: !1, align: "center", })), (e.ACCENTS = ["", "accentunder", "accent"]), e ); })(s.AbstractMmlBaseNode); e.MmlMunderover = a; var c = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), Object.defineProperty(e.prototype, "kind", { get: function () { return "munder"; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "arity", { get: function () { return 2; }, enumerable: !1, configurable: !0, }), (e.defaults = i({}, a.defaults)), e ); })(a); e.MmlMunder = c; var l = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), Object.defineProperty(e.prototype, "kind", { get: function () { return "mover"; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "arity", { get: function () { return 2; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "over", { get: function () { return 1; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "under", { get: function () { return 2; }, enumerable: !1, configurable: !0, }), (e.defaults = i({}, a.defaults)), (e.ACCENTS = ["", "accent", "accentunder"]), e ); })(a); e.MmlMover = l; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__assign) || function () { return (i = Object.assign || function (t) { for (var e, r = 1, n = arguments.length; r < n; r++) for (var o in (e = arguments[r])) Object.prototype.hasOwnProperty.call(e, o) && (t[o] = e[o]); return t; }).apply(this, arguments); }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.MmlNone = e.MmlMprescripts = e.MmlMmultiscripts = void 0); var s = r(0), a = r(22), c = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), Object.defineProperty(e.prototype, "kind", { get: function () { return "mmultiscripts"; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "arity", { get: function () { return 1; }, enumerable: !1, configurable: !0, }), (e.prototype.setChildInheritedAttributes = function (t, e, r, n) { this.childNodes[0].setInheritedAttributes(t, e, r, n); for (var o = !1, i = 1, s = 0; i < this.childNodes.length; i++) { var a = this.childNodes[i]; if (a.isKind("mprescripts")) { if (!o && ((o = !0), i % 2 == 0)) { var c = this.factory.create("mrow"); this.childNodes.splice(i, 0, c), (c.parent = this), i++; } } else { var l = n || s % 2 == 0; a.setInheritedAttributes(t, !1, r + 1, l), s++; } } this.childNodes.length % 2 == (o ? 1 : 0) && (this.appendChild(this.factory.create("mrow")), this.childNodes[ this.childNodes.length - 1 ].setInheritedAttributes(t, !1, r + 1, n)); }), (e.prototype.verifyChildren = function (e) { for ( var r = !1, n = e.fixMmultiscripts, o = 0; o < this.childNodes.length; o++ ) { var i = this.childNodes[o]; i.isKind("mprescripts") && (r ? i.mError( i.kind + " can only appear once in " + this.kind, e, !0, ) : ((r = !0), o % 2 != 0 || n || this.mError( "There must be an equal number of prescripts of each type", e, ))); } this.childNodes.length % 2 != (r ? 1 : 0) || n || this.mError( "There must be an equal number of scripts of each type", e, ), t.prototype.verifyChildren.call(this, e); }), (e.defaults = i({}, a.MmlMsubsup.defaults)), e ); })(a.MmlMsubsup); e.MmlMmultiscripts = c; var l = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), Object.defineProperty(e.prototype, "kind", { get: function () { return "mprescripts"; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "arity", { get: function () { return 0; }, enumerable: !1, configurable: !0, }), (e.prototype.verifyTree = function (e) { t.prototype.verifyTree.call(this, e), this.parent && !this.parent.isKind("mmultiscripts") && this.mError( this.kind + " must be a child of mmultiscripts", e, !0, ); }), (e.defaults = i({}, s.AbstractMmlNode.defaults)), e ); })(s.AbstractMmlNode); e.MmlMprescripts = l; var u = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), Object.defineProperty(e.prototype, "kind", { get: function () { return "none"; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "arity", { get: function () { return 0; }, enumerable: !1, configurable: !0, }), (e.prototype.verifyTree = function (e) { t.prototype.verifyTree.call(this, e), this.parent && !this.parent.isKind("mmultiscripts") && this.mError( this.kind + " must be a child of mmultiscripts", e, !0, ); }), (e.defaults = i({}, s.AbstractMmlNode.defaults)), e ); })(s.AbstractMmlNode); e.MmlNone = u; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__assign) || function () { return (i = Object.assign || function (t) { for (var e, r = 1, n = arguments.length; r < n; r++) for (var o in (e = arguments[r])) Object.prototype.hasOwnProperty.call(e, o) && (t[o] = e[o]); return t; }).apply(this, arguments); }, s = (this && this.__values) || function (t) { var e = "function" == typeof Symbol && Symbol.iterator, r = e && t[e], n = 0; if (r) return r.call(t); if (t && "number" == typeof t.length) return { next: function () { return ( t && n >= t.length && (t = void 0), { value: t && t[n++], done: !t } ); }, }; throw new TypeError( e ? "Object is not iterable." : "Symbol.iterator is not defined.", ); }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.MmlMtable = void 0); var a = r(0), c = r(7), l = (function (t) { function e() { var e = (null !== t && t.apply(this, arguments)) || this; return ( (e.properties = { useHeight: 1 }), (e.texClass = a.TEXCLASS.ORD), e ); } return ( o(e, t), Object.defineProperty(e.prototype, "kind", { get: function () { return "mtable"; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "linebreakContainer", { get: function () { return !0; }, enumerable: !1, configurable: !0, }), (e.prototype.setInheritedAttributes = function (e, r, n, o) { var i, c; try { for ( var l = s(a.indentAttributes), u = l.next(); !u.done; u = l.next() ) { var h = u.value; e[h] && this.attributes.setInherited(h, e[h][1]), void 0 !== this.attributes.getExplicit(h) && delete this.attributes.getAllAttributes()[h]; } } catch (t) { i = { error: t }; } finally { try { u && !u.done && (c = l.return) && c.call(l); } finally { if (i) throw i.error; } } t.prototype.setInheritedAttributes.call(this, e, r, n, o); }), (e.prototype.setChildInheritedAttributes = function (t, e, r, n) { var o, i, a, l; try { for ( var u = s(this.childNodes), h = u.next(); !h.done; h = u.next() ) { (y = h.value).isKind("mtr") || this.replaceChild(this.factory.create("mtr"), y).appendChild( y, ); } } catch (t) { o = { error: t }; } finally { try { h && !h.done && (i = u.return) && i.call(u); } finally { if (o) throw o.error; } } (e = !( !this.attributes.getExplicit("displaystyle") && !this.attributes.getDefault("displaystyle") )), (t = this.addInheritedAttributes(t, { columnalign: this.attributes.get("columnalign"), rowalign: "center", })); var p = c.split(this.attributes.get("rowalign")); try { for ( var f = s(this.childNodes), d = f.next(); !d.done; d = f.next() ) { var y = d.value; (t.rowalign[1] = p.shift() || t.rowalign[1]), y.setInheritedAttributes(t, e, r, n); } } catch (t) { a = { error: t }; } finally { try { d && !d.done && (l = f.return) && l.call(f); } finally { if (a) throw a.error; } } }), (e.prototype.verifyChildren = function (e) { var r, n; if (!e.fixMtables) try { for ( var o = s(this.childNodes), i = o.next(); !i.done; i = o.next() ) { i.value.isKind("mtr") || this.mError( "Children of " + this.kind + " must be mtr or mlabeledtr", e, ); } } catch (t) { r = { error: t }; } finally { try { i && !i.done && (n = o.return) && n.call(o); } finally { if (r) throw r.error; } } t.prototype.verifyChildren.call(this, e); }), (e.prototype.setTeXclass = function (t) { var e, r; this.getPrevClass(t); try { for ( var n = s(this.childNodes), o = n.next(); !o.done; o = n.next() ) { o.value.setTeXclass(null); } } catch (t) { e = { error: t }; } finally { try { o && !o.done && (r = n.return) && r.call(n); } finally { if (e) throw e.error; } } return this; }), (e.defaults = i(i({}, a.AbstractMmlNode.defaults), { align: "axis", rowalign: "baseline", columnalign: "center", groupalign: "{left}", alignmentscope: !0, columnwidth: "auto", width: "auto", rowspacing: "1ex", columnspacing: ".8em", rowlines: "none", columnlines: "none", frame: "none", framespacing: "0.4em 0.5ex", equalrows: !1, equalcolumns: !1, displaystyle: !1, side: "right", minlabelspacing: "0.8em", })), e ); })(a.AbstractMmlNode); e.MmlMtable = l; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__assign) || function () { return (i = Object.assign || function (t) { for (var e, r = 1, n = arguments.length; r < n; r++) for (var o in (e = arguments[r])) Object.prototype.hasOwnProperty.call(e, o) && (t[o] = e[o]); return t; }).apply(this, arguments); }, s = (this && this.__values) || function (t) { var e = "function" == typeof Symbol && Symbol.iterator, r = e && t[e], n = 0; if (r) return r.call(t); if (t && "number" == typeof t.length) return { next: function () { return ( t && n >= t.length && (t = void 0), { value: t && t[n++], done: !t } ); }, }; throw new TypeError( e ? "Object is not iterable." : "Symbol.iterator is not defined.", ); }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.MmlMlabeledtr = e.MmlMtr = void 0); var a = r(0), c = r(12), l = r(7), u = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), Object.defineProperty(e.prototype, "kind", { get: function () { return "mtr"; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "linebreakContainer", { get: function () { return !0; }, enumerable: !1, configurable: !0, }), (e.prototype.setChildInheritedAttributes = function (t, e, r, n) { var o, i, a, c; try { for ( var u = s(this.childNodes), h = u.next(); !h.done; h = u.next() ) { (y = h.value).isKind("mtd") || this.replaceChild(this.factory.create("mtd"), y).appendChild( y, ); } } catch (t) { o = { error: t }; } finally { try { h && !h.done && (i = u.return) && i.call(u); } finally { if (o) throw o.error; } } var p = l.split(this.attributes.get("columnalign")); 1 === this.arity && p.unshift(this.parent.attributes.get("side")), (t = this.addInheritedAttributes(t, { rowalign: this.attributes.get("rowalign"), columnalign: "center", })); try { for ( var f = s(this.childNodes), d = f.next(); !d.done; d = f.next() ) { var y = d.value; (t.columnalign[1] = p.shift() || t.columnalign[1]), y.setInheritedAttributes(t, e, r, n); } } catch (t) { a = { error: t }; } finally { try { d && !d.done && (c = f.return) && c.call(f); } finally { if (a) throw a.error; } } }), (e.prototype.verifyChildren = function (e) { var r, n; if (!this.parent || this.parent.isKind("mtable")) { if (!e.fixMtables) try { for ( var o = s(this.childNodes), i = o.next(); !i.done; i = o.next() ) { var a = i.value; if (!a.isKind("mtd")) this.replaceChild(this.factory.create("mtr"), a).mError( "Children of " + this.kind + " must be mtd", e, !0, ); } } catch (t) { r = { error: t }; } finally { try { i && !i.done && (n = o.return) && n.call(o); } finally { if (r) throw r.error; } } t.prototype.verifyChildren.call(this, e); } else this.mError( this.kind + " can only be a child of an mtable", e, !0, ); }), (e.prototype.setTeXclass = function (t) { var e, r; this.getPrevClass(t); try { for ( var n = s(this.childNodes), o = n.next(); !o.done; o = n.next() ) { o.value.setTeXclass(null); } } catch (t) { e = { error: t }; } finally { try { o && !o.done && (r = n.return) && r.call(n); } finally { if (e) throw e.error; } } return this; }), (e.defaults = i(i({}, a.AbstractMmlNode.defaults), { rowalign: c.INHERIT, columnalign: c.INHERIT, groupalign: c.INHERIT, })), e ); })(a.AbstractMmlNode); e.MmlMtr = u; var h = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), Object.defineProperty(e.prototype, "kind", { get: function () { return "mlabeledtr"; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "arity", { get: function () { return 1; }, enumerable: !1, configurable: !0, }), e ); })(u); e.MmlMlabeledtr = h; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__assign) || function () { return (i = Object.assign || function (t) { for (var e, r = 1, n = arguments.length; r < n; r++) for (var o in (e = arguments[r])) Object.prototype.hasOwnProperty.call(e, o) && (t[o] = e[o]); return t; }).apply(this, arguments); }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.MmlMtd = void 0); var s = r(0), a = r(12), c = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), Object.defineProperty(e.prototype, "kind", { get: function () { return "mtd"; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "arity", { get: function () { return -1; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "linebreakContainer", { get: function () { return !0; }, enumerable: !1, configurable: !0, }), (e.prototype.verifyChildren = function (e) { !this.parent || this.parent.isKind("mtr") ? t.prototype.verifyChildren.call(this, e) : this.mError( this.kind + " can only be a child of an mtr or mlabeledtr", e, !0, ); }), (e.prototype.setTeXclass = function (t) { return ( this.getPrevClass(t), this.childNodes[0].setTeXclass(null), this ); }), (e.defaults = i(i({}, s.AbstractMmlBaseNode.defaults), { rowspan: 1, columnspan: 1, rowalign: a.INHERIT, columnalign: a.INHERIT, groupalign: a.INHERIT, })), e ); })(s.AbstractMmlBaseNode); e.MmlMtd = c; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__assign) || function () { return (i = Object.assign || function (t) { for (var e, r = 1, n = arguments.length; r < n; r++) for (var o in (e = arguments[r])) Object.prototype.hasOwnProperty.call(e, o) && (t[o] = e[o]); return t; }).apply(this, arguments); }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.MmlMglyph = void 0); var s = r(0), a = (function (t) { function e() { var e = (null !== t && t.apply(this, arguments)) || this; return (e.texClass = s.TEXCLASS.ORD), e; } return ( o(e, t), Object.defineProperty(e.prototype, "kind", { get: function () { return "mglyph"; }, enumerable: !1, configurable: !0, }), (e.defaults = i(i({}, s.AbstractMmlTokenNode.defaults), { alt: "", src: "", width: "auto", height: "auto", valign: "0em", })), e ); })(s.AbstractMmlTokenNode); e.MmlMglyph = a; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__assign) || function () { return (i = Object.assign || function (t) { for (var e, r = 1, n = arguments.length; r < n; r++) for (var o in (e = arguments[r])) Object.prototype.hasOwnProperty.call(e, o) && (t[o] = e[o]); return t; }).apply(this, arguments); }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.MmlAnnotation = e.MmlAnnotationXML = e.MmlSemantics = void 0); var s = r(0), a = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), Object.defineProperty(e.prototype, "kind", { get: function () { return "semantics"; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "arity", { get: function () { return 1; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "notParent", { get: function () { return !0; }, enumerable: !1, configurable: !0, }), (e.defaults = i(i({}, s.AbstractMmlBaseNode.defaults), { definitionUrl: null, encoding: null, })), e ); })(s.AbstractMmlBaseNode); e.MmlSemantics = a; var c = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), Object.defineProperty(e.prototype, "kind", { get: function () { return "annotation-xml"; }, enumerable: !1, configurable: !0, }), (e.prototype.setChildInheritedAttributes = function () {}), (e.defaults = i(i({}, s.AbstractMmlNode.defaults), { definitionUrl: null, encoding: null, cd: "mathmlkeys", name: "", src: null, })), e ); })(s.AbstractMmlNode); e.MmlAnnotationXML = c; var l = (function (t) { function e() { var e = (null !== t && t.apply(this, arguments)) || this; return (e.properties = { isChars: !0 }), e; } return ( o(e, t), Object.defineProperty(e.prototype, "kind", { get: function () { return "annotation"; }, enumerable: !1, configurable: !0, }), (e.defaults = i({}, c.defaults)), e ); })(c); e.MmlAnnotation = l; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__assign) || function () { return (i = Object.assign || function (t) { for (var e, r = 1, n = arguments.length; r < n; r++) for (var o in (e = arguments[r])) Object.prototype.hasOwnProperty.call(e, o) && (t[o] = e[o]); return t; }).apply(this, arguments); }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.TeXAtom = void 0); var s = r(0), a = r(21), c = (function (t) { function e() { var e = (null !== t && t.apply(this, arguments)) || this; return (e.texClass = s.TEXCLASS.ORD), e; } return ( o(e, t), Object.defineProperty(e.prototype, "kind", { get: function () { return "TeXAtom"; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "arity", { get: function () { return -1; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "notParent", { get: function () { return !0; }, enumerable: !1, configurable: !0, }), (e.prototype.setTeXclass = function (t) { return this.childNodes[0].setTeXclass(null), this.adjustTeXclass(t); }), (e.prototype.adjustTeXclass = function (t) { return t; }), (e.defaults = i({}, s.AbstractMmlBaseNode.defaults)), e ); })(s.AbstractMmlBaseNode); (e.TeXAtom = c), (c.prototype.adjustTeXclass = a.MmlMo.prototype.adjustTeXclass); }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }); Object.defineProperty(e, "__esModule", { value: !0 }), (e.MmlVisitor = void 0); var i = r(34), s = (function (t) { function e(e) { void 0 === e && (e = null); return e || (e = new i.MmlFactory()), t.call(this, e) || this; } return ( o(e, t), (e.prototype.visitTextNode = function (t) { for (var e = [], r = 1; r < arguments.length; r++) e[r - 1] = arguments[r]; }), (e.prototype.visitXMLNode = function (t) { for (var e = [], r = 1; r < arguments.length; r++) e[r - 1] = arguments[r]; }), e ); })(r(91).AbstractVisitor); e.MmlVisitor = s; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__values) || function (t) { var e = "function" == typeof Symbol && Symbol.iterator, r = e && t[e], n = 0; if (r) return r.call(t); if (t && "number" == typeof t.length) return { next: function () { return ( t && n >= t.length && (t = void 0), { value: t && t[n++], done: !t } ); }, }; throw new TypeError( e ? "Object is not iterable." : "Symbol.iterator is not defined.", ); }, s = (this && this.__read) || function (t, e) { var r = "function" == typeof Symbol && t[Symbol.iterator]; if (!r) return t; var n, o, i = r.call(t), s = []; try { for (; (void 0 === e || e-- > 0) && !(n = i.next()).done; ) s.push(n.value); } catch (t) { o = { error: t }; } finally { try { n && !n.done && (r = i.return) && r.call(i); } finally { if (o) throw o.error; } } return s; }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.SerializedMmlVisitor = e.toEntity = e.DATAMJX = void 0); var a = r(58), c = r(0), l = r(20); (e.DATAMJX = "data-mjx-"), (e.toEntity = function (t) { return "&#x" + t.codePointAt(0).toString(16).toUpperCase() + ";"; }); var u = (function (t) { function r() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(r, t), (r.prototype.visitTree = function (t) { return this.visitNode(t, ""); }), (r.prototype.visitTextNode = function (t, e) { return this.quoteHTML(t.getText()); }), (r.prototype.visitXMLNode = function (t, e) { return e + t.getSerializedXML(); }), (r.prototype.visitInferredMrowNode = function (t, e) { var r, n, o = []; try { for (var s = i(t.childNodes), a = s.next(); !a.done; a = s.next()) { var c = a.value; o.push(this.visitNode(c, e)); } } catch (t) { r = { error: t }; } finally { try { a && !a.done && (n = s.return) && n.call(s); } finally { if (r) throw r.error; } } return o.join("\n"); }), (r.prototype.visitTeXAtomNode = function (t, e) { var r = this.childNodeMml(t, e + " ", "\n"); return ( e + "" + (r.match(/\S/) ? "\n" + r + e : "") + "" ); }), (r.prototype.visitAnnotationNode = function (t, e) { return ( e + "" + this.childNodeMml(t, "", "") + "" ); }), (r.prototype.visitDefault = function (t, e) { var r = t.kind, n = s( t.isToken || 0 === t.childNodes.length ? ["", ""] : ["\n", e], 2, ), o = n[0], i = n[1], a = this.childNodeMml(t, e + " ", o); return ( e + "<" + r + this.getAttributes(t) + ">" + (a.match(/\S/) ? o + a + i : "") + "" ); }), (r.prototype.childNodeMml = function (t, e, r) { var n, o, s = ""; try { for (var a = i(t.childNodes), c = a.next(); !c.done; c = a.next()) { var l = c.value; s += this.visitNode(l, e) + r; } } catch (t) { n = { error: t }; } finally { try { c && !c.done && (o = a.return) && o.call(a); } finally { if (n) throw n.error; } } return s; }), (r.prototype.getAttributes = function (t) { var e, r, n = [], o = this.constructor.defaultAttributes[t.kind] || {}, s = Object.assign( {}, o, this.getDataAttributes(t), t.attributes.getAllAttributes(), ), a = this.constructor.variants; s.hasOwnProperty("mathvariant") && a.hasOwnProperty(s.mathvariant) && (s.mathvariant = a[s.mathvariant]); try { for ( var c = i(Object.keys(s)), l = c.next(); !l.done; l = c.next() ) { var u = l.value, h = String(s[u]); void 0 !== h && n.push(u + '="' + this.quoteHTML(h) + '"'); } } catch (t) { e = { error: t }; } finally { try { l && !l.done && (r = c.return) && r.call(c); } finally { if (e) throw e.error; } } return n.length ? " " + n.join(" ") : ""; }), (r.prototype.getDataAttributes = function (t) { var e = {}, r = t.attributes.getExplicit("mathvariant"), n = this.constructor.variants; r && n.hasOwnProperty(r) && this.setDataAttribute(e, "variant", r), t.getProperty("variantForm") && this.setDataAttribute(e, "alternate", "1"); var o = t.getProperty("texClass"); if (void 0 !== o) { var i = !0; if (o === c.TEXCLASS.OP && t.isKind("mi")) { var s = t.getText(); i = !(s.length > 1 && s.match(l.MmlMi.operatorName)); } i && this.setDataAttribute( e, "texclass", o < 0 ? "NONE" : c.TEXCLASSNAMES[o], ); } return e; }), (r.prototype.setDataAttribute = function (t, r, n) { t[e.DATAMJX + r] = n; }), (r.prototype.quoteHTML = function (t) { return t .replace(/&/g, "&") .replace(//g, ">") .replace(/\"/g, """) .replace(/[\uD800-\uDBFF]./g, e.toEntity) .replace(/[\u0080-\uD7FF\uE000-\uFFFF]/g, e.toEntity); }), (r.variants = { "-tex-calligraphic": "script", "-tex-calligraphic-bold": "bold-script", "-tex-oldstyle": "normal", "-tex-oldstyle-bold": "bold", "-tex-mathit": "italic", }), (r.defaultAttributes = { math: { xmlns: "http://www.w3.org/1998/Math/MathML" }, }), r ); })(a.MmlVisitor); e.SerializedMmlVisitor = u; }, function (t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }), (e.retryAfter = e.handleRetriesFor = void 0), (e.handleRetriesFor = function (t) { return new Promise(function e(r, n) { try { r(t()); } catch (t) { t.retry && t.retry instanceof Promise ? t.retry .then(function () { return e(r, n); }) .catch(function (t) { return n(t); }) : t.restart && t.restart.isCallback ? MathJax.Callback.After(function () { return e(r, n); }, t.restart) : n(t); } }); }), (e.retryAfter = function (t) { var e = new Error("MathJax retry"); throw ((e.retry = t), e); }); }, function (t, e, r) { "use strict"; var n = (this && this.__values) || function (t) { var e = "function" == typeof Symbol && Symbol.iterator, r = e && t[e], n = 0; if (r) return r.call(t); if (t && "number" == typeof t.length) return { next: function () { return ( t && n >= t.length && (t = void 0), { value: t && t[n++], done: !t } ); }, }; throw new TypeError( e ? "Object is not iterable." : "Symbol.iterator is not defined.", ); }, o = (this && this.__read) || function (t, e) { var r = "function" == typeof Symbol && t[Symbol.iterator]; if (!r) return t; var n, o, i = r.call(t), s = []; try { for (; (void 0 === e || e-- > 0) && !(n = i.next()).done; ) s.push(n.value); } catch (t) { o = { error: t }; } finally { try { n && !n.done && (r = i.return) && r.call(i); } finally { if (o) throw o.error; } } return s; }, i = (this && this.__spread) || function () { for (var t = [], e = 0; e < arguments.length; e++) t = t.concat(o(arguments[e])); return t; }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.Styles = void 0); var s = ["top", "right", "bottom", "left"], a = ["width", "style", "color"]; function c(t) { for ( var e = t.split(/((?:'[^']*'|"[^"]*"|,[\s\n]|[^\s\n])*)/g), r = []; e.length > 1; ) e.shift(), r.push(e.shift()); return r; } function l(t) { var e, r, o = c(this.styles[t]); 0 === o.length && o.push(""), 1 === o.length && o.push(o[0]), 2 === o.length && o.push(o[0]), 3 === o.length && o.push(o[1]); try { for ( var i = n(g.connect[t].children), s = i.next(); !s.done; s = i.next() ) { var a = s.value; this.setStyle(this.childName(t, a), o.shift()); } } catch (t) { e = { error: t }; } finally { try { s && !s.done && (r = i.return) && r.call(i); } finally { if (e) throw e.error; } } } function u(t) { var e, r, o = g.connect[t].children, i = []; try { for (var s = n(o), a = s.next(); !a.done; a = s.next()) { var c = a.value, l = this.styles[t + "-" + c]; if (!l) return void delete this.styles[t]; i.push(l); } } catch (t) { e = { error: t }; } finally { try { a && !a.done && (r = s.return) && r.call(s); } finally { if (e) throw e.error; } } i[3] === i[1] && (i.pop(), i[2] === i[0] && (i.pop(), i[1] === i[0] && i.pop())), (this.styles[t] = i.join(" ")); } function h(t) { var e, r; try { for ( var o = n(g.connect[t].children), i = o.next(); !i.done; i = o.next() ) { var s = i.value; this.setStyle(this.childName(t, s), this.styles[t]); } } catch (t) { e = { error: t }; } finally { try { i && !i.done && (r = o.return) && r.call(o); } finally { if (e) throw e.error; } } } function p(t) { var e, r, o = i(g.connect[t].children), s = this.styles[this.childName(t, o.shift())]; try { for (var a = n(o), c = a.next(); !c.done; c = a.next()) { var l = c.value; if (this.styles[this.childName(t, l)] !== s) return void delete this.styles[t]; } } catch (t) { e = { error: t }; } finally { try { c && !c.done && (r = a.return) && r.call(a); } finally { if (e) throw e.error; } } this.styles[t] = s; } var f = /^(?:[\d.]+(?:[a-z]+)|thin|medium|thick|inherit|initial|unset)$/, d = /^(?:none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|inherit|initial|unset)$/; function y(t) { var e, r, o, i, s = { width: "", style: "", color: "" }; try { for ( var a = n(c(this.styles[t])), l = a.next(); !l.done; l = a.next() ) { var u = l.value; u.match(f) && "" === s.width ? (s.width = u) : u.match(d) && "" === s.style ? (s.style = u) : (s.color = u); } } catch (t) { e = { error: t }; } finally { try { l && !l.done && (r = a.return) && r.call(a); } finally { if (e) throw e.error; } } try { for ( var h = n(g.connect[t].children), p = h.next(); !p.done; p = h.next() ) { var y = p.value; this.setStyle(this.childName(t, y), s[y]); } } catch (t) { o = { error: t }; } finally { try { p && !p.done && (i = h.return) && i.call(h); } finally { if (o) throw o.error; } } } function m(t) { var e, r, o = []; try { for ( var i = n(g.connect[t].children), s = i.next(); !s.done; s = i.next() ) { var a = s.value, c = this.styles[this.childName(t, a)]; c && o.push(c); } } catch (t) { e = { error: t }; } finally { try { s && !s.done && (r = i.return) && r.call(i); } finally { if (e) throw e.error; } } o.length ? (this.styles[t] = o.join(" ")) : delete this.styles[t]; } var v = { style: /^(?:normal|italic|oblique|inherit|initial|unset)$/, variant: new RegExp( "^(?:" + [ "normal|none", "inherit|initial|unset", "common-ligatures|no-common-ligatures", "discretionary-ligatures|no-discretionary-ligatures", "historical-ligatures|no-historical-ligatures", "contextual|no-contextual", "(?:stylistic|character-variant|swash|ornaments|annotation)\\([^)]*\\)", "small-caps|all-small-caps|petite-caps|all-petite-caps|unicase|titling-caps", "lining-nums|oldstyle-nums|proportional-nums|tabular-nums", "diagonal-fractions|stacked-fractions", "ordinal|slashed-zero", "jis78|jis83|jis90|jis04|simplified|traditional", "full-width|proportional-width", "ruby", ].join("|") + ")$", ), weight: /^(?:normal|bold|bolder|lighter|[1-9]00|inherit|initial|unset)$/, stretch: new RegExp( "^(?:" + [ "normal", "(?:(?:ultra|extra|semi)-)?condensed", "(?:(?:semi|extra|ulta)-)?expanded", "inherit|initial|unset", ].join("|") + ")$", ), size: new RegExp( "^(?:" + [ "xx-small|x-small|small|medium|large|x-large|xx-large|larger|smaller", "[d.]+%|[d.]+[a-z]+", "inherit|initial|unset", ].join("|") + ")(?:/(?:normal|[d.+](?:%|[a-z]+)?))?$", ), }; function b(t) { var e, r, i, s, a = c(this.styles[t]), l = { style: "", variant: [], weight: "", stretch: "", size: "", family: "", "line-height": "", }; try { for (var u = n(a), h = u.next(); !h.done; h = u.next()) { var p = h.value; l.family = p; try { for ( var f = ((i = void 0), n(Object.keys(v))), d = f.next(); !d.done; d = f.next() ) { var y = d.value; if ((Array.isArray(l[y]) || "" === l[y]) && p.match(v[y])) if ("size" === y) { var m = o(p.split(/\//), 2), b = m[0], M = m[1]; (l[y] = b), M && (l["line-height"] = M); } else "" === l.size && (Array.isArray(l[y]) ? l[y].push(p) : (l[y] = p)); } } catch (t) { i = { error: t }; } finally { try { d && !d.done && (s = f.return) && s.call(f); } finally { if (i) throw i.error; } } } } catch (t) { e = { error: t }; } finally { try { h && !h.done && (r = u.return) && r.call(u); } finally { if (e) throw e.error; } } !(function (t, e) { var r, o; try { for ( var i = n(g.connect[t].children), s = i.next(); !s.done; s = i.next() ) { var a = s.value, c = this.childName(t, a); if (Array.isArray(e[a])) { var l = e[a]; l.length && (this.styles[c] = l.join(" ")); } else "" !== e[a] && (this.styles[c] = e[a]); } } catch (t) { r = { error: t }; } finally { try { s && !s.done && (o = i.return) && o.call(i); } finally { if (r) throw r.error; } } })(t, l), delete this.styles[t]; } function M(t) {} var g = (function () { function t(t) { void 0 === t && (t = ""), this.parse(t); } return ( Object.defineProperty(t.prototype, "cssText", { get: function () { var t, e, r = []; try { for ( var o = n(Object.keys(this.styles)), i = o.next(); !i.done; i = o.next() ) { var s = i.value, a = this.parentName(s); this.styles[a] || r.push(s + ": " + this.styles[s]); } } catch (e) { t = { error: e }; } finally { try { i && !i.done && (e = o.return) && e.call(o); } finally { if (t) throw t.error; } } return r.join("; "); }, enumerable: !1, configurable: !0, }), (t.prototype.set = function (e, r) { for ( e = this.normalizeName(e), this.setStyle(e, r), t.connect[e] && !t.connect[e].combine && (this.combineChildren(e), delete this.styles[e]); e.match(/-/) && ((e = this.parentName(e)), t.connect[e]); ) t.connect[e].combine.call(this, e); }), (t.prototype.get = function (t) { return ( (t = this.normalizeName(t)), this.styles.hasOwnProperty(t) ? this.styles[t] : "" ); }), (t.prototype.setStyle = function (e, r) { (this.styles[e] = r), t.connect[e] && t.connect[e].children && t.connect[e].split.call(this, e), "" === r && delete this.styles[e]; }), (t.prototype.combineChildren = function (e) { var r, o, i = this.parentName(e); try { for ( var s = n(t.connect[e].children), a = s.next(); !a.done; a = s.next() ) { var c = a.value, l = this.childName(i, c); t.connect[l].combine.call(this, l); } } catch (t) { r = { error: t }; } finally { try { a && !a.done && (o = s.return) && o.call(s); } finally { if (r) throw r.error; } } }), (t.prototype.parentName = function (t) { var e = t.replace(/-[^-]*$/, ""); return t === e ? "" : e; }), (t.prototype.childName = function (e, r) { return r.match(/-/) ? r : (t.connect[e] && !t.connect[e].combine && ((r += e.replace(/.*-/, "-")), (e = this.parentName(e))), e + "-" + r); }), (t.prototype.normalizeName = function (t) { return t.replace(/[A-Z]/g, function (t) { return "-" + t.toLowerCase(); }); }), (t.prototype.parse = function (t) { void 0 === t && (t = ""); var e = this.constructor.pattern; this.styles = {}; for ( var r = t.replace(e.comment, "").split(e.style); r.length > 1; ) { var n = o(r.splice(0, 3), 3), i = n[0], s = n[1], a = n[2]; if (i.match(/[^\s\n]/)) return; this.set(s, a); } }), (t.pattern = { style: /([-a-z]+)[\s\n]*:[\s\n]*((?:'[^']*'|"[^"]*"|\n|.)*?)[\s\n]*(?:;|$)/g, comment: /\/\*[^]*?\*\//g, }), (t.connect = { padding: { children: s, split: l, combine: u }, border: { children: s, split: h, combine: p }, "border-top": { children: a, split: y, combine: m }, "border-right": { children: a, split: y, combine: m }, "border-bottom": { children: a, split: y, combine: m }, "border-left": { children: a, split: y, combine: m }, "border-width": { children: s, split: l, combine: null }, "border-style": { children: s, split: l, combine: null }, "border-color": { children: s, split: l, combine: null }, font: { children: [ "style", "variant", "weight", "stretch", "line-height", "size", "family", ], split: b, combine: M, }, }), t ); })(); e.Styles = g; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__read) || function (t, e) { var r = "function" == typeof Symbol && t[Symbol.iterator]; if (!r) return t; var n, o, i = r.call(t), s = []; try { for (; (void 0 === e || e-- > 0) && !(n = i.next()).done; ) s.push(n.value); } catch (t) { o = { error: t }; } finally { try { n && !n.done && (r = i.return) && r.call(i); } finally { if (o) throw o.error; } } return s; }, s = (this && this.__spread) || function () { for (var t = [], e = 0; e < arguments.length; e++) t = t.concat(i(arguments[e])); return t; }, a = (this && this.__values) || function (t) { var e = "function" == typeof Symbol && Symbol.iterator, r = e && t[e], n = 0; if (r) return r.call(t); if (t && "number" == typeof t.length) return { next: function () { return ( t && n >= t.length && (t = void 0), { value: t && t[n++], done: !t } ); }, }; throw new TypeError( e ? "Object is not iterable." : "Symbol.iterator is not defined.", ); }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.CommonInferredMrowMixin = e.CommonMrowMixin = void 0); var c = r(8); (e.CommonMrowMixin = function (t) { return (function (t) { function e() { for (var e, r, n = [], o = 0; o < arguments.length; o++) n[o] = arguments[o]; var i = t.apply(this, s(n)) || this; i.stretchChildren(); try { for (var l = a(i.childNodes), u = l.next(); !u.done; u = l.next()) { var h = u.value; if (h.bbox.pwidth) { i.bbox.pwidth = c.BBox.fullWidth; break; } } } catch (t) { e = { error: t }; } finally { try { u && !u.done && (r = l.return) && r.call(l); } finally { if (e) throw e.error; } } return i; } return ( o(e, t), Object.defineProperty(e.prototype, "fixesPWidth", { get: function () { return !1; }, enumerable: !1, configurable: !0, }), (e.prototype.stretchChildren = function () { var t, e, r, n, o, i, s = []; try { for ( var c = a(this.childNodes), l = c.next(); !l.done; l = c.next() ) { (S = l.value).canStretch(1) && s.push(S); } } catch (e) { t = { error: e }; } finally { try { l && !l.done && (e = c.return) && e.call(c); } finally { if (t) throw t.error; } } var u = s.length, h = this.childNodes.length; if (u && h > 1) { var p = 0, f = 0, d = u > 1 && u === h; try { for ( var y = a(this.childNodes), m = y.next(); !m.done; m = y.next() ) { var v = 0 === (S = m.value).stretch.dir; if (d || v) { var b = S.getBBox(v), M = b.h, g = b.d; M > p && (p = M), g > f && (f = g); } } } catch (t) { r = { error: t }; } finally { try { m && !m.done && (n = y.return) && n.call(y); } finally { if (r) throw r.error; } } try { for (var O = a(s), x = O.next(); !x.done; x = O.next()) { var S; (S = x.value).coreMO().getStretchedVariant([p, f]); } } catch (t) { o = { error: t }; } finally { try { x && !x.done && (i = O.return) && i.call(O); } finally { if (o) throw o.error; } } } }), e ); })(t); }), (e.CommonInferredMrowMixin = function (t) { return (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), (e.prototype.getScale = function () { (this.bbox.scale = this.parent.bbox.scale), (this.bbox.rscale = 1); }), e ); })(t); }); }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__read) || function (t, e) { var r = "function" == typeof Symbol && t[Symbol.iterator]; if (!r) return t; var n, o, i = r.call(t), s = []; try { for (; (void 0 === e || e-- > 0) && !(n = i.next()).done; ) s.push(n.value); } catch (t) { o = { error: t }; } finally { try { n && !n.done && (r = i.return) && r.call(i); } finally { if (o) throw o.error; } } return s; }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.CHTMLmsqrt = void 0); var s = r(2), a = r(133), c = r(44), l = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), (e.prototype.toCHTML = function (t) { var e, r, n, o, s = this.childNodes[this.surd], a = this.childNodes[this.base], c = s.getBBox(), l = a.getBBox(), u = i(this.getPQ(c), 2)[1], h = this.font.params.rule_thickness, p = l.h + u + h, f = this.standardCHTMLnode(t); null != this.root && ((n = this.adaptor.append(f, this.html("mjx-root"))), (o = this.childNodes[this.root])); var d = this.adaptor.append( f, this.html("mjx-sqrt", {}, [ (e = this.html("mjx-surd")), (r = this.html("mjx-box", { style: { paddingTop: this.em(u) }, })), ]), ); this.addRoot(n, o, c, p), s.toCHTML(e), a.toCHTML(r), s.size < 0 && this.adaptor.addClass(d, "mjx-tall"); }), (e.prototype.addRoot = function (t, e, r, n) {}), (e.kind = c.MmlMsqrt.prototype.kind), (e.styles = { "mjx-root": { display: "inline-block", "white-space": "nowrap" }, "mjx-surd": { display: "inline-block", "vertical-align": "top" }, "mjx-sqrt": { display: "inline-block", "padding-top": ".07em" }, "mjx-sqrt > mjx-box": { "border-top": ".07em solid" }, "mjx-sqrt.mjx-tall > mjx-box": { "padding-left": ".3em", "margin-left": "-.3em", }, }), e ); })(a.CommonMsqrtMixin(s.CHTMLWrapper)); e.CHTMLmsqrt = l; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__values) || function (t) { var e = "function" == typeof Symbol && Symbol.iterator, r = e && t[e], n = 0; if (r) return r.call(t); if (t && "number" == typeof t.length) return { next: function () { return ( t && n >= t.length && (t = void 0), { value: t && t[n++], done: !t } ); }, }; throw new TypeError( e ? "Object is not iterable." : "Symbol.iterator is not defined.", ); }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.CommonMlabeledtrMixin = e.CommonMtrMixin = void 0), (e.CommonMtrMixin = function (t) { return (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), Object.defineProperty(e.prototype, "fixesPWidth", { get: function () { return !1; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "numCells", { get: function () { return this.childNodes.length; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "labeled", { get: function () { return !1; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "tableCells", { get: function () { return this.childNodes; }, enumerable: !1, configurable: !0, }), (e.prototype.getChild = function (t) { return this.childNodes[t]; }), (e.prototype.getChildBBoxes = function () { return this.childNodes.map(function (t) { return t.getBBox(); }); }), (e.prototype.stretchChildren = function (t) { var e, r, n, o, s, a; void 0 === t && (t = null); var c = [], l = this.labeled ? this.childNodes.slice(1) : this.childNodes; try { for (var u = i(l), h = u.next(); !h.done; h = u.next()) { (E = h.value.childNodes[0]).canStretch(1) && c.push(E); } } catch (t) { e = { error: t }; } finally { try { h && !h.done && (r = u.return) && r.call(u); } finally { if (e) throw e.error; } } var p = c.length, f = this.childNodes.length; if (p && f > 1) { if (null === t) { var d = 0, y = 0, m = p > 1 && p === f; try { for (var v = i(l), b = v.next(); !b.done; b = v.next()) { var M = 0 === (E = b.value.childNodes[0]).stretch.dir; if (m || M) { var g = E.getBBox(M), O = g.h, x = g.d; O > d && (d = O), x > y && (y = x); } } } catch (t) { n = { error: t }; } finally { try { b && !b.done && (o = v.return) && o.call(v); } finally { if (n) throw n.error; } } t = [d, y]; } try { for (var S = i(c), _ = S.next(); !_.done; _ = S.next()) { var E; (E = _.value).coreMO().getStretchedVariant(t); } } catch (t) { s = { error: t }; } finally { try { _ && !_.done && (a = S.return) && a.call(S); } finally { if (s) throw s.error; } } } }), e ); })(t); }), (e.CommonMlabeledtrMixin = function (t) { return (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), Object.defineProperty(e.prototype, "numCells", { get: function () { return Math.max(0, this.childNodes.length - 1); }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "labeled", { get: function () { return !0; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "tableCells", { get: function () { return this.childNodes.slice(1); }, enumerable: !1, configurable: !0, }), (e.prototype.getChild = function (t) { return this.childNodes[t + 1]; }), (e.prototype.getChildBBoxes = function () { return this.childNodes.slice(1).map(function (t) { return t.getBBox(); }); }), e ); })(t); }); }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__read) || function (t, e) { var r = "function" == typeof Symbol && t[Symbol.iterator]; if (!r) return t; var n, o, i = r.call(t), s = []; try { for (; (void 0 === e || e-- > 0) && !(n = i.next()).done; ) s.push(n.value); } catch (t) { o = { error: t }; } finally { try { n && !n.done && (r = i.return) && r.call(i); } finally { if (o) throw o.error; } } return s; }, s = (this && this.__spread) || function () { for (var t = [], e = 0; e < arguments.length; e++) t = t.concat(i(arguments[e])); return t; }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.CommonMactionMixin = e.TooltipData = void 0); var a = r(7); (e.TooltipData = { dx: ".2em", dy: ".1em", postDelay: 600, clearDelay: 100, hoverTimer: new Map(), clearTimer: new Map(), stopTimers: function (t, e) { e.clearTimer.has(t) && (clearTimeout(e.clearTimer.get(t)), e.clearTimer.delete(t)), e.hoverTimer.has(t) && (clearTimeout(e.hoverTimer.get(t)), e.hoverTimer.delete(t)); }, }), (e.CommonMactionMixin = function (t) { return (function (t) { function r() { for (var e = [], r = 0; r < arguments.length; r++) e[r] = arguments[r]; var n = t.apply(this, s(e)) || this, o = n.constructor.actions, a = n.node.attributes.get("actiontype"), c = i(o.get(a) || [function (t, e) {}, {}], 2), l = c[0], u = c[1]; return (n.action = l), (n.data = u), n.getParameters(), n; } return ( o(r, t), Object.defineProperty(r.prototype, "selected", { get: function () { var t = this.node.attributes.get("selection"), e = Math.max(1, Math.min(this.childNodes.length, t)) - 1; return this.childNodes[e] || this.wrap(this.node.selected); }, enumerable: !1, configurable: !0, }), (r.prototype.getParameters = function () { var t = this.node.attributes.get("data-offsets"), r = i(a.split(t || ""), 2), n = r[0], o = r[1]; (this.dx = this.length2em(n || e.TooltipData.dx)), (this.dy = this.length2em(o || e.TooltipData.dy)); }), (r.prototype.computeBBox = function (t, e) { void 0 === e && (e = !1), t.updateFrom(this.selected.getBBox()), this.selected.setChildPWidths(e); }), r ); })(t); }); }, function (t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }), (e.browserAdaptor = void 0); var n = r(75); e.browserAdaptor = function () { return new n.HTMLAdaptor(window); }; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__read) || function (t, e) { var r = "function" == typeof Symbol && t[Symbol.iterator]; if (!r) return t; var n, o, i = r.call(t), s = []; try { for (; (void 0 === e || e-- > 0) && !(n = i.next()).done; ) s.push(n.value); } catch (t) { o = { error: t }; } finally { try { n && !n.done && (r = i.return) && r.call(i); } finally { if (o) throw o.error; } } return s; }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.MathML = void 0); var s = r(31), a = r(4), c = r(19), l = r(102), u = r(103), h = (function (t) { function e(e) { void 0 === e && (e = {}); var r = this, n = i( a.separateOptions( e, l.FindMathML.OPTIONS, u.MathMLCompile.OPTIONS, ), 3, ), o = n[0], s = n[1], h = n[2]; return ( ((r = t.call(this, o) || this).findMathML = r.options.FindMathML || new l.FindMathML(s)), (r.mathml = r.options.MathMLCompile || new u.MathMLCompile(h)), (r.mmlFilters = new c.FunctionList()), r ); } return ( o(e, t), (e.prototype.setAdaptor = function (e) { t.prototype.setAdaptor.call(this, e), (this.findMathML.adaptor = e), (this.mathml.adaptor = e); }), (e.prototype.setMmlFactory = function (e) { t.prototype.setMmlFactory.call(this, e), this.mathml.setMmlFactory(e); }), Object.defineProperty(e.prototype, "processStrings", { get: function () { return !1; }, enumerable: !1, configurable: !0, }), (e.prototype.compile = function (t, e) { var r = t.start.node; if ( !r || !t.end.node || this.options.forceReparse || "#text" === this.adaptor.kind(r) ) { var n = this.executeFilters( this.preFilters, t, e, t.math || "", ), o = this.checkForErrors( this.adaptor.parse(n, "text/" + this.options.parseAs), ), i = this.adaptor.body(o); 1 !== this.adaptor.childNodes(i).length && this.error("MathML must consist of a single element"), (r = this.adaptor.remove(this.adaptor.firstChild(i))), "math" !== this.adaptor.kind(r).replace(/^[a-z]+:/, "") && this.error( "MathML must be formed by a element, not <" + this.adaptor.kind(r) + ">", ); } return ( (r = this.executeFilters(this.mmlFilters, t, e, r)), this.executeFilters( this.postFilters, t, e, this.mathml.compile(r), ) ); }), (e.prototype.checkForErrors = function (t) { var e = this.adaptor.tags(this.adaptor.body(t), "parsererror")[0]; return ( e && ("" === this.adaptor.textContent(e) && this.error("Error processing MathML"), this.options.parseError.call(this, e)), t ); }), (e.prototype.error = function (t) { throw new Error(t); }), (e.prototype.findMath = function (t) { return this.findMathML.findMath(t); }), (e.NAME = "MathML"), (e.OPTIONS = a.defaultOptions( { parseAs: "html", forceReparse: !1, FindMathML: null, MathMLCompile: null, parseError: function (t) { this.error(this.adaptor.textContent(t).replace(/\n.*/g, "")); }, }, s.AbstractInputJax.OPTIONS, )), e ); })(s.AbstractInputJax); e.MathML = h; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__assign) || function () { return (i = Object.assign || function (t) { for (var e, r = 1, n = arguments.length; r < n; r++) for (var o in (e = arguments[r])) Object.prototype.hasOwnProperty.call(e, o) && (t[o] = e[o]); return t; }).apply(this, arguments); }, s = (this && this.__values) || function (t) { var e = "function" == typeof Symbol && Symbol.iterator, r = e && t[e], n = 0; if (r) return r.call(t); if (t && "number" == typeof t.length) return { next: function () { return ( t && n >= t.length && (t = void 0), { value: t && t[n++], done: !t } ); }, }; throw new TypeError( e ? "Object is not iterable." : "Symbol.iterator is not defined.", ); }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.CHTML = void 0); var a = r(104), c = r(105), l = r(17), u = r(11), h = r(7), p = (function (t) { function e(e) { void 0 === e && (e = null); var r = t.call(this, e, c.CHTMLWrapperFactory, l.TeXFont) || this; return ( (r.chtmlStyles = null), r.font.adaptiveCSS(r.options.adaptiveCSS), r ); } return ( o(e, t), (e.prototype.escaped = function (t, e) { return ( this.setDocument(e), this.html("span", {}, [this.text(t.math)]) ); }), (e.prototype.styleSheet = function (r) { if (this.chtmlStyles && !this.options.adaptiveCSS) return null; var n = (this.chtmlStyles = t.prototype.styleSheet.call(this, r)); return this.adaptor.setAttribute(n, "id", e.STYLESHEETID), n; }), (e.prototype.addClassStyles = function (e) { var r; (this.options.adaptiveCSS && !e.used) || (e.autoStyle && "unknown" !== e.kind && this.cssStyles.addStyles( (((r = {})["mjx-" + e.kind] = { display: "inline-block", "text-align": "left", }), r), ), t.prototype.addClassStyles.call(this, e)); }), (e.prototype.processMath = function (t, e) { this.factory.wrap(t).toCHTML(e); }), (e.prototype.clearCache = function () { var t, e; this.cssStyles.clear(), this.font.clearCache(); try { for ( var r = s(this.factory.getKinds()), n = r.next(); !n.done; n = r.next() ) { var o = n.value; this.factory.getNodeClass(o).used = !1; } } catch (e) { t = { error: e }; } finally { try { n && !n.done && (e = r.return) && e.call(r); } finally { if (t) throw t.error; } } }), (e.prototype.unknownText = function (t, e) { var r = {}, n = 100 / this.math.metrics.scale; if ( (100 !== n && ((r["font-size"] = this.fixed(n, 1) + "%"), (r.padding = u.em(75 / n) + " 0 " + u.em(20 / n) + " 0")), "-explicitFont" !== e) ) { var o = h.unicodeChars(t); (1 !== o.length || o[0] < 119808 || o[0] > 120831) && this.cssFontStyles(this.font.getCssFont(e), r); } return this.html("mjx-utext", { variant: e, style: r }, [ this.text(t), ]); }), (e.prototype.measureTextNode = function (t) { var e = this.adaptor; t = e.clone(t); var r = this.html( "mjx-measure-text", { style: { position: "absolute", "white-space": "nowrap" } }, [t], ); e.append(e.parent(this.math.start.node), this.container), e.append(this.container, r); var n = e.nodeSize(t, this.math.metrics.em)[0] / this.math.metrics.scale; return ( e.remove(this.container), e.remove(r), { w: n, h: 0.75, d: 0.2 } ); }), (e.NAME = "CHTML"), (e.OPTIONS = i(i({}, a.CommonOutputJax.OPTIONS), { adaptiveCSS: !0, })), (e.commonStyles = { 'mjx-container[jax="CHTML"]': { "line-height": 0 }, 'mjx-container [space="1"]': { "margin-left": ".111em" }, 'mjx-container [space="2"]': { "margin-left": ".167em" }, 'mjx-container [space="3"]': { "margin-left": ".222em" }, 'mjx-container [space="4"]': { "margin-left": ".278em" }, 'mjx-container [space="5"]': { "margin-left": ".333em" }, 'mjx-container [rspace="1"]': { "margin-right": ".111em" }, 'mjx-container [rspace="2"]': { "margin-right": ".167em" }, 'mjx-container [rspace="3"]': { "margin-right": ".222em" }, 'mjx-container [rspace="4"]': { "margin-right": ".278em" }, 'mjx-container [rspace="5"]': { "margin-right": ".333em" }, 'mjx-container [size="s"]': { "font-size": "70.7%" }, 'mjx-container [size="ss"]': { "font-size": "50%" }, 'mjx-container [size="Tn"]': { "font-size": "60%" }, 'mjx-container [size="sm"]': { "font-size": "85%" }, 'mjx-container [size="lg"]': { "font-size": "120%" }, 'mjx-container [size="Lg"]': { "font-size": "144%" }, 'mjx-container [size="LG"]': { "font-size": "173%" }, 'mjx-container [size="hg"]': { "font-size": "207%" }, 'mjx-container [size="HG"]': { "font-size": "249%" }, 'mjx-container [width="full"]': { width: "100%" }, "mjx-box": { display: "inline-block" }, "mjx-block": { display: "block" }, "mjx-itable": { display: "inline-table" }, "mjx-row": { display: "table-row" }, "mjx-row > *": { display: "table-cell" }, "mjx-mtext": { display: "inline-block" }, "mjx-mstyle": { display: "inline-block" }, "mjx-merror": { display: "inline-block", color: "red", "background-color": "yellow", }, "mjx-mphantom": { visibility: "hidden" }, }), (e.STYLESHEETID = "MJX-CHTML-styles"), e ); })(a.CommonOutputJax); e.CHTML = p; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__assign) || function () { return (i = Object.assign || function (t) { for (var e, r = 1, n = arguments.length; r < n; r++) for (var o in (e = arguments[r])) Object.prototype.hasOwnProperty.call(e, o) && (t[o] = e[o]); return t; }).apply(this, arguments); }, s = (this && this.__read) || function (t, e) { var r = "function" == typeof Symbol && t[Symbol.iterator]; if (!r) return t; var n, o, i = r.call(t), s = []; try { for (; (void 0 === e || e-- > 0) && !(n = i.next()).done; ) s.push(n.value); } catch (t) { o = { error: t }; } finally { try { n && !n.done && (r = i.return) && r.call(i); } finally { if (o) throw o.error; } } return s; }, a = (this && this.__spread) || function () { for (var t = [], e = 0; e < arguments.length; e++) t = t.concat(s(arguments[e])); return t; }, c = (this && this.__values) || function (t) { var e = "function" == typeof Symbol && Symbol.iterator, r = e && t[e], n = 0; if (r) return r.call(t); if (t && "number" == typeof t.length) return { next: function () { return ( t && n >= t.length && (t = void 0), { value: t && t[n++], done: !t } ); }, }; throw new TypeError( e ? "Object is not iterable." : "Symbol.iterator is not defined.", ); }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.MenuHandler = e.MenuMathDocumentMixin = e.MenuMathItemMixin = void 0); var l = r(15), u = r(10), h = r(4), p = r(198); function f(t) { return (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), (e.prototype.addMenu = function (t, e) { void 0 === e && (e = !1), this.state() >= u.STATE.CONTEXT_MENU || (this.isEscaped || (!t.options.enableMenu && !e) || t.menu.addMenu(this), this.state(u.STATE.CONTEXT_MENU)); }), (e.prototype.checkLoading = function (t) { t.checkLoading(); }), e ); })(t); } function d(t) { var e; return ( ((e = (function (t) { function e() { for (var e = [], r = 0; r < arguments.length; r++) e[r] = arguments[r]; var n = t.apply(this, a(e)) || this; n.menu = new n.options.MenuClass(n, n.options.menuOptions); var o = n.constructor.ProcessBits; return ( o.has("context-menu") || o.allocate("context-menu"), (n.options.MathItem = f(n.options.MathItem)), n ); } return ( o(e, t), (e.prototype.addMenu = function () { var t, e; if (!this.processed.isSet("context-menu")) { try { for ( var r = c(this.math), n = r.next(); !n.done; n = r.next() ) { n.value.addMenu(this); } } catch (e) { t = { error: e }; } finally { try { n && !n.done && (e = r.return) && e.call(r); } finally { if (t) throw t.error; } } this.processed.set("context-menu"); } return this; }), (e.prototype.checkLoading = function () { this.menu.isLoading && l.mathjax.retryAfter( this.menu.loadingPromise.catch(function (t) { return console.log(t); }), ); var t = this.menu.settings; return ( t.collapsible && ((this.options.enableComplexity = !0), this.menu.checkComponent("a11y/complexity")), t.explorer && ((this.options.enableEnrichment = !0), (this.options.enableExplorer = !0), this.menu.checkComponent("a11y/explorer")), this ); }), (e.prototype.state = function (e, r) { return ( void 0 === r && (r = !1), t.prototype.state.call(this, e, r), e < u.STATE.CONTEXT_MENU && this.processed.clear("context-menu"), this ); }), (e.prototype.updateDocument = function () { return ( t.prototype.updateDocument.call(this), this.menu.menu.store.sort(), this ); }), e ); })(t)).OPTIONS = i(i({}, t.OPTIONS), { MenuClass: p.Menu, menuOptions: p.Menu.OPTIONS, enableMenu: !0, a11y: t.OPTIONS.a11y || h.expandable({}), renderActions: h.expandable( i(i({}, t.OPTIONS.renderActions), { addMenu: [u.STATE.CONTEXT_MENU], checkLoading: [u.STATE.UNPROCESSED + 1], }), ), })), e ); } u.newState("CONTEXT_MENU", 170), (e.MenuMathItemMixin = f), (e.MenuMathDocumentMixin = d), (e.MenuHandler = function (t) { return (t.documentClass = d(t.documentClass)), t; }); }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__assign) || function () { return (i = Object.assign || function (t) { for (var e, r = 1, n = arguments.length; r < n; r++) for (var o in (e = arguments[r])) Object.prototype.hasOwnProperty.call(e, o) && (t[o] = e[o]); return t; }).apply(this, arguments); }, s = (this && this.__read) || function (t, e) { var r = "function" == typeof Symbol && t[Symbol.iterator]; if (!r) return t; var n, o, i = r.call(t), s = []; try { for (; (void 0 === e || e-- > 0) && !(n = i.next()).done; ) s.push(n.value); } catch (t) { o = { error: t }; } finally { try { n && !n.done && (r = i.return) && r.call(i); } finally { if (o) throw o.error; } } return s; }, a = (this && this.__spread) || function () { for (var t = [], e = 0; e < arguments.length; e++) t = t.concat(s(arguments[e])); return t; }, c = (this && this.__values) || function (t) { var e = "function" == typeof Symbol && Symbol.iterator, r = e && t[e], n = 0; if (r) return r.call(t); if (t && "number" == typeof t.length) return { next: function () { return ( t && n >= t.length && (t = void 0), { value: t && t[n++], done: !t } ); }, }; throw new TypeError( e ? "Object is not iterable." : "Symbol.iterator is not defined.", ); }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.AssistiveMmlHandler = e.AssistiveMmlMathDocumentMixin = e.AssistiveMmlMathItemMixin = e.LimitedMmlVisitor = void 0); var l = r(10), u = r(59), h = r(4), p = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), (e.prototype.getAttributes = function (e) { return t.prototype.getAttributes .call(this, e) .replace(/ ?id=".*?"/, ""); }), e ); })(u.SerializedMmlVisitor); function f(t) { return (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), (e.prototype.assistiveMml = function (t, e) { if ( (void 0 === e && (e = !1), !(this.state() >= l.STATE.ASSISTIVEMML)) ) { if (!this.isEscaped && (t.options.enableAssistiveMml || e)) { var r = t.adaptor, n = t .toMML(this.root) .replace(/\n */g, "") .replace(//g, ""), o = r.firstChild(r.body(r.parse(n, "text/html"))), i = r.node( "mjx-assistive-mml", { role: "presentation", unselectable: "on", display: this.display ? "block" : "inline", }, [o], ); r.setAttribute(this.typesetRoot, "role", "presentation"), r.setAttribute( r.firstChild(this.typesetRoot), "aria-hidden", "true", ), r.setStyle(this.typesetRoot, "position", "relative"), r.append(this.typesetRoot, i); } this.state(l.STATE.ASSISTIVEMML); } }), e ); })(t); } function d(t) { var e; return ( ((e = (function (t) { function e() { for (var e = [], r = 0; r < arguments.length; r++) e[r] = arguments[r]; var n = t.apply(this, a(e)) || this, o = n.constructor, i = o.ProcessBits; return ( i.has("assistive-mml") || i.allocate("assistive-mml"), (n.visitor = new p(n.mmlFactory)), (n.options.MathItem = f(n.options.MathItem)), "addStyles" in n && n.addStyles(o.assistiveStyles), n ); } return ( o(e, t), (e.prototype.toMML = function (t) { return this.visitor.visitTree(t); }), (e.prototype.assistiveMml = function () { var t, e; if (!this.processed.isSet("assistive-mml")) { try { for ( var r = c(this.math), n = r.next(); !n.done; n = r.next() ) { n.value.assistiveMml(this); } } catch (e) { t = { error: e }; } finally { try { n && !n.done && (e = r.return) && e.call(r); } finally { if (t) throw t.error; } } this.processed.set("assistive-mml"); } return this; }), (e.prototype.state = function (e, r) { return ( void 0 === r && (r = !1), t.prototype.state.call(this, e, r), e < l.STATE.ASSISTIVEMML && this.processed.clear("assistive-mml"), this ); }), e ); })(t)).OPTIONS = i(i({}, t.OPTIONS), { enableAssistiveMml: !0, renderActions: h.expandable( i(i({}, t.OPTIONS.renderActions), { assistiveMml: [l.STATE.ASSISTIVEMML], }), ), })), (e.assistiveStyles = { "mjx-assistive-mml": { position: "absolute !important", top: "0px", left: "0px", clip: "rect(1px, 1px, 1px, 1px)", padding: "1px 0px 0px 0px !important", border: "0px !important", display: "block !important", width: "auto !important", overflow: "hidden !important", "-webkit-touch-callout": "none", "-webkit-user-select": "none", "-khtml-user-select": "none", "-moz-user-select": "none", "-ms-user-select": "none", "user-select": "none", }, 'mjx-assistive-mml[display="block"]': { width: "100% !important" }, }), e ); } (e.LimitedMmlVisitor = p), l.newState("ASSISTIVEMML", 153), (e.AssistiveMmlMathItemMixin = f), (e.AssistiveMmlMathDocumentMixin = d), (e.AssistiveMmlHandler = function (t) { return (t.documentClass = d(t.documentClass)), t; }); }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__values) || function (t) { var e = "function" == typeof Symbol && Symbol.iterator, r = e && t[e], n = 0; if (r) return r.call(t); if (t && "number" == typeof t.length) return { next: function () { return ( t && n >= t.length && (t = void 0), { value: t && t[n++], done: !t } ); }, }; throw new TypeError( e ? "Object is not iterable." : "Symbol.iterator is not defined.", ); }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.AbstractMenu = void 0); var s = r(72), a = r(18), c = r(5), l = r(73), u = (function (t) { function e() { var e = (null !== t && t.apply(this, arguments)) || this; return ( (e.className = c.HtmlClasses.CONTEXTMENU), (e.role = "menu"), (e._items = []), (e._baseMenu = null), e ); } return ( o(e, t), Object.defineProperty(e.prototype, "baseMenu", { get: function () { return this._baseMenu; }, set: function (t) { this._baseMenu = t; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "items", { get: function () { return this._items; }, set: function (t) { this._items = t; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "pool", { get: function () { return this.variablePool; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "focused", { get: function () { return this._focused; }, set: function (t) { if (this._focused !== t) { this._focused || this.unfocus(); var e = this._focused; (this._focused = t), e && e.unfocus(); } }, enumerable: !1, configurable: !0, }), (e.prototype.up = function (t) { var e = this.items.filter(function (t) { return t instanceof a.AbstractItem && !t.isHidden(); }); if (0 !== e.length) if (this.focused) { var r = e.indexOf(this.focused); -1 !== r && e[(r = r ? --r : e.length - 1)].focus(); } else e[e.length - 1].focus(); }), (e.prototype.down = function (t) { var e = this.items.filter(function (t) { return t instanceof a.AbstractItem && !t.isHidden(); }); if (0 !== e.length) if (this.focused) { var r = e.indexOf(this.focused); -1 !== r && e[(r = ++r === e.length ? 0 : r)].focus(); } else e[0].focus(); }), (e.prototype.generateHtml = function () { t.prototype.generateHtml.call(this), this.generateMenu(); }), (e.prototype.generateMenu = function () { var t, e, r = this.html; r.classList.add(c.HtmlClasses.MENU); try { for (var n = i(this.items), o = n.next(); !o.done; o = n.next()) { var s = o.value; if (s.isHidden()) { var a = s.html; a.parentNode && a.parentNode.removeChild(a); } else r.appendChild(s.html); } } catch (e) { t = { error: e }; } finally { try { o && !o.done && (e = n.return) && e.call(n); } finally { if (t) throw t.error; } } }), (e.prototype.post = function (e, r) { this.variablePool.update(), t.prototype.post.call(this, e, r); }), (e.prototype.unpostSubmenus = function () { var t, e, r = this.items.filter(function (t) { return t instanceof l.Submenu; }); try { for (var n = i(r), o = n.next(); !o.done; o = n.next()) { var s = o.value; s.submenu.unpost(), s !== this.focused && s.unfocus(); } } catch (e) { t = { error: e }; } finally { try { o && !o.done && (e = n.return) && e.call(n); } finally { if (t) throw t.error; } } }), (e.prototype.unpost = function () { t.prototype.unpost.call(this), this.unpostSubmenus(), (this.focused = null); }), (e.prototype.find = function (t) { var e, r; try { for (var n = i(this.items), o = n.next(); !o.done; o = n.next()) { var s = o.value; if ("rule" !== s.type) { if (s.id === t) return s; if ("submenu" === s.type) { var a = s.submenu.find(t); if (a) return a; } } } } catch (t) { e = { error: t }; } finally { try { o && !o.done && (r = n.return) && r.call(n); } finally { if (e) throw e.error; } } return null; }), e ); })(s.AbstractPostable); e.AbstractMenu = u; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }); Object.defineProperty(e, "__esModule", { value: !0 }), (e.AbstractPostable = void 0); var i = (function (t) { function e() { var e = (null !== t && t.apply(this, arguments)) || this; return (e.posted = !1), e; } return ( o(e, t), (e.prototype.isPosted = function () { return this.posted; }), (e.prototype.post = function (t, e) { this.posted || (void 0 !== t && void 0 !== e && this.html.setAttribute( "style", "left: " + t + "px; top: " + e + "px;", ), this.display(), (this.posted = !0)); }), (e.prototype.unpost = function () { if (this.posted) { var t = this.html; t.parentNode && t.parentNode.removeChild(t), (this.posted = !1); } }), e ); })(r(203).MenuElement); e.AbstractPostable = i; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }); Object.defineProperty(e, "__esModule", { value: !0 }), (e.Submenu = void 0); var i = r(18), s = r(5), a = (function (t) { function e(e, r, n) { var o = t.call(this, e, "submenu", r, n) || this; return (o._submenu = null), o; } return ( o(e, t), (e.fromJson = function (t, e, r) { var n = e.content, o = e.menu, i = new this(r, n, e.id), s = t.get("subMenu")(t, o, i); return (i.submenu = s), i; }), Object.defineProperty(e.prototype, "submenu", { get: function () { return this._submenu; }, set: function (t) { this._submenu = t; }, enumerable: !1, configurable: !0, }), (e.prototype.mouseover = function (t) { this.focus(), this.stop(t); }), (e.prototype.mouseout = function (t) { this.stop(t); }), (e.prototype.unfocus = function () { if (this.submenu.isPosted()) { if (this.menu.focused !== this) return ( t.prototype.unfocus.call(this), void this.menu.unpostSubmenus() ); this.html.setAttribute("tabindex", "-1"), this.html.blur(); } else t.prototype.unfocus.call(this); }), (e.prototype.focus = function () { t.prototype.focus.call(this), this.submenu.isPosted() || this.disabled || this.submenu.post(); }), (e.prototype.executeAction = function () { this.submenu.isPosted() ? this.submenu.unpost() : this.submenu.post(); }), (e.prototype.generateHtml = function () { t.prototype.generateHtml.call(this); var e = this.html; (this.span = document.createElement("span")), (this.span.textContent = "\u25ba"), this.span.classList.add(s.HtmlClasses.MENUARROW), e.appendChild(this.span), e.setAttribute("aria-haspopup", "true"); }), (e.prototype.left = function (e) { this.submenu.isPosted() ? this.submenu.unpost() : t.prototype.left.call(this, e); }), (e.prototype.right = function (t) { this.submenu.isPosted() ? this.submenu.down(t) : this.submenu.post(); }), (e.prototype.toJson = function () { return { type: "" }; }), e ); })(i.AbstractItem); e.Submenu = a; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }); Object.defineProperty(e, "__esModule", { value: !0 }), (e.Info = void 0); var i = r(221), s = r(5), a = (function (t) { function e(e, r, n) { var o = t.call(this) || this; return ( (o.title = e), (o.signature = n), (o.className = s.HtmlClasses.INFO), (o.role = "dialog"), (o.contentDiv = o.generateContent()), (o.close = o.generateClose()), (o.content = r || function () { return ""; }), o ); } return ( o(e, t), (e.prototype.attachMenu = function (t) { this.menu = t; }), (e.prototype.generateHtml = function () { t.prototype.generateHtml.call(this); var e = this.html; e.appendChild(this.generateTitle()), e.appendChild(this.contentDiv), e.appendChild(this.generateSignature()), e.appendChild(this.close.html), e.setAttribute("tabindex", "0"); }), (e.prototype.post = function () { t.prototype.post.call(this); var e = document.documentElement, r = this.html, n = window.innerHeight || e.clientHeight || e.scrollHeight || 0, o = Math.floor(-r.offsetWidth / 2), i = Math.floor((n - r.offsetHeight) / 3); r.setAttribute( "style", "margin-left: " + o + "px; top: " + i + "px;", ), window.event instanceof MouseEvent && r.classList.add(s.HtmlClasses.MOUSEPOST), r.focus(); }), (e.prototype.display = function () { this.menu.registerWidget(this), (this.contentDiv.innerHTML = this.content()); var t = this.menu.html; t.parentNode && t.parentNode.removeChild(t), this.menu.frame.appendChild(this.html); }), (e.prototype.click = function (t) {}), (e.prototype.keydown = function (e) { this.bubbleKey(), t.prototype.keydown.call(this, e); }), (e.prototype.escape = function (t) { this.unpost(); }), (e.prototype.unpost = function () { t.prototype.unpost.call(this), this.html.classList.remove(s.HtmlClasses.MOUSEPOST), this.menu.unregisterWidget(this); }), (e.prototype.generateClose = function () { var t = new i.CloseButton(this), e = t.html; return ( e.classList.add(s.HtmlClasses.INFOCLOSE), e.setAttribute("aria-label", "Close Dialog Box"), t ); }), (e.prototype.generateTitle = function () { var t = document.createElement("span"); return ( (t.innerHTML = this.title), t.classList.add(s.HtmlClasses.INFOTITLE), t ); }), (e.prototype.generateContent = function () { var t = document.createElement("div"); return ( t.classList.add(s.HtmlClasses.INFOCONTENT), t.setAttribute("tabindex", "0"), t ); }), (e.prototype.generateSignature = function () { var t = document.createElement("span"); return ( (t.innerHTML = this.signature), t.classList.add(s.HtmlClasses.INFOSIGNATURE), t ); }), (e.prototype.toJson = function () { return { type: "" }; }), e ); })(r(72).AbstractPostable); e.Info = a; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__values) || function (t) { var e = "function" == typeof Symbol && Symbol.iterator, r = e && t[e], n = 0; if (r) return r.call(t); if (t && "number" == typeof t.length) return { next: function () { return ( t && n >= t.length && (t = void 0), { value: t && t[n++], done: !t } ); }, }; throw new TypeError( e ? "Object is not iterable." : "Symbol.iterator is not defined.", ); }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.HTMLAdaptor = void 0); var s = (function (t) { function e(e) { var r = t.call(this, e.document) || this; return (r.window = e), (r.parser = new e.DOMParser()), r; } return ( o(e, t), (e.prototype.parse = function (t, e) { return ( void 0 === e && (e = "text/html"), this.parser.parseFromString(t, e) ); }), (e.prototype.create = function (t, e) { return e ? this.document.createElementNS(e, t) : this.document.createElement(t); }), (e.prototype.text = function (t) { return this.document.createTextNode(t); }), (e.prototype.head = function (t) { return t.head; }), (e.prototype.body = function (t) { return t.body; }), (e.prototype.root = function (t) { return t.documentElement; }), (e.prototype.doctype = function (t) { return ""; }), (e.prototype.tags = function (t, e, r) { void 0 === r && (r = null); var n = r ? t.getElementsByTagNameNS(r, e) : t.getElementsByTagName(e); return Array.from(n); }), (e.prototype.getElements = function (t, e) { var r, n, o = []; try { for (var s = i(t), a = s.next(); !a.done; a = s.next()) { var c = a.value; "string" == typeof c ? (o = o.concat(Array.from(this.document.querySelectorAll(c)))) : Array.isArray(c) || c instanceof this.window.NodeList || c instanceof this.window.HTMLCollection ? (o = o.concat(Array.from(c))) : o.push(c); } } catch (t) { r = { error: t }; } finally { try { a && !a.done && (n = s.return) && n.call(s); } finally { if (r) throw r.error; } } return o; }), (e.prototype.contains = function (t, e) { return t.contains(e); }), (e.prototype.parent = function (t) { return t.parentNode; }), (e.prototype.append = function (t, e) { return t.appendChild(e); }), (e.prototype.insert = function (t, e) { return this.parent(e).insertBefore(t, e); }), (e.prototype.remove = function (t) { return this.parent(t).removeChild(t); }), (e.prototype.replace = function (t, e) { return this.parent(e).replaceChild(t, e); }), (e.prototype.clone = function (t) { return t.cloneNode(!0); }), (e.prototype.split = function (t, e) { return t.splitText(e); }), (e.prototype.next = function (t) { return t.nextSibling; }), (e.prototype.previous = function (t) { return t.previousSibling; }), (e.prototype.firstChild = function (t) { return t.firstChild; }), (e.prototype.lastChild = function (t) { return t.lastChild; }), (e.prototype.childNodes = function (t) { return Array.from(t.childNodes); }), (e.prototype.childNode = function (t, e) { return t.childNodes[e]; }), (e.prototype.kind = function (t) { return t.nodeName.toLowerCase(); }), (e.prototype.value = function (t) { return t.nodeValue || ""; }), (e.prototype.textContent = function (t) { return t.textContent; }), (e.prototype.innerHTML = function (t) { return t.innerHTML; }), (e.prototype.outerHTML = function (t) { return t.outerHTML; }), (e.prototype.setAttribute = function (t, e, r, n) { return ( void 0 === n && (n = null), n ? ((e = n.replace(/.*\//, "") + ":" + e.replace(/^.*:/, "")), t.setAttributeNS(n, e, r)) : t.setAttribute(e, r) ); }), (e.prototype.getAttribute = function (t, e) { return t.getAttribute(e); }), (e.prototype.removeAttribute = function (t, e) { return t.removeAttribute(e); }), (e.prototype.hasAttribute = function (t, e) { return t.hasAttribute(e); }), (e.prototype.allAttributes = function (t) { return Array.from(t.attributes).map(function (t) { return { name: t.name, value: t.value }; }); }), (e.prototype.addClass = function (t, e) { t.classList ? t.classList.add(e) : (t.className = (t.className + " " + e).trim()); }), (e.prototype.removeClass = function (t, e) { t.classList ? t.classList.remove(e) : (t.className = t.className .split(/ /) .filter(function (t) { return t !== e; }) .join(" ")); }), (e.prototype.hasClass = function (t, e) { return t.classList ? t.classList.contains(e) : t.className.split(/ /).indexOf(e) >= 0; }), (e.prototype.setStyle = function (t, e, r) { t.style[e] = r; }), (e.prototype.getStyle = function (t, e) { return t.style[e]; }), (e.prototype.allStyles = function (t) { return t.style.cssText; }), (e.prototype.fontSize = function (t) { var e = this.window.getComputedStyle(t); return parseFloat(e.fontSize); }), (e.prototype.fontFamily = function (t) { return this.window.getComputedStyle(t).fontFamily || ""; }), (e.prototype.nodeSize = function (t, e, r) { if ( (void 0 === e && (e = 1), void 0 === r && (r = !1), r && t.getBBox) ) { var n = t.getBBox(); return [n.width / e, n.height / e]; } return [t.offsetWidth / e, t.offsetHeight / e]; }), (e.prototype.nodeBBox = function (t) { var e = t.getBoundingClientRect(); return { left: e.left, right: e.right, top: e.top, bottom: e.bottom }; }), e ); })(r(76).AbstractDOMAdaptor); e.HTMLAdaptor = s; }, function (t, e, r) { "use strict"; var n = (this && this.__values) || function (t) { var e = "function" == typeof Symbol && Symbol.iterator, r = e && t[e], n = 0; if (r) return r.call(t); if (t && "number" == typeof t.length) return { next: function () { return ( t && n >= t.length && (t = void 0), { value: t && t[n++], done: !t } ); }, }; throw new TypeError( e ? "Object is not iterable." : "Symbol.iterator is not defined.", ); }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.AbstractDOMAdaptor = void 0); var o = (function () { function t(t) { void 0 === t && (t = null), (this.document = t); } return ( (t.prototype.node = function (t, e, r, o) { var i, s; void 0 === e && (e = {}), void 0 === r && (r = []); var a = this.create(t, o); this.setAttributes(a, e); try { for (var c = n(r), l = c.next(); !l.done; l = c.next()) { var u = l.value; this.append(a, u); } } catch (t) { i = { error: t }; } finally { try { l && !l.done && (s = c.return) && s.call(c); } finally { if (i) throw i.error; } } return a; }), (t.prototype.setAttributes = function (t, e) { var r, o, i, s, a, c; if (e.style && "string" != typeof e.style) try { for ( var l = n(Object.keys(e.style)), u = l.next(); !u.done; u = l.next() ) { var h = u.value; this.setStyle( t, h.replace(/-([a-z])/g, function (t, e) { return e.toUpperCase(); }), e.style[h], ); } } catch (t) { r = { error: t }; } finally { try { u && !u.done && (o = l.return) && o.call(l); } finally { if (r) throw r.error; } } if (e.properties) try { for ( var p = n(Object.keys(e.properties)), f = p.next(); !f.done; f = p.next() ) { t[(h = f.value)] = e.properties[h]; } } catch (t) { i = { error: t }; } finally { try { f && !f.done && (s = p.return) && s.call(p); } finally { if (i) throw i.error; } } try { for ( var d = n(Object.keys(e)), y = d.next(); !y.done; y = d.next() ) { ("style" === (h = y.value) && "string" != typeof e.style) || "properties" === h || this.setAttribute(t, h, e[h]); } } catch (t) { a = { error: t }; } finally { try { y && !y.done && (c = d.return) && c.call(d); } finally { if (a) throw a.error; } } }), (t.prototype.replace = function (t, e) { return this.insert(t, e), this.remove(e), e; }), (t.prototype.childNode = function (t, e) { return this.childNodes(t)[e]; }), (t.prototype.allClasses = function (t) { var e = this.getAttribute(t, "class"); return e ? e .replace(/ +/g, " ") .replace(/^ /, "") .replace(/ $/, "") .split(/ /) : []; }), t ); })(); e.AbstractDOMAdaptor = o; }, function (t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }), (e.AbstractFindMath = void 0); var n = r(4), o = (function () { function t(t) { var e = this.constructor; this.options = n.userOptions(n.defaultOptions({}, e.OPTIONS), t); } return (t.OPTIONS = {}), t; })(); e.AbstractFindMath = o; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }); Object.defineProperty(e, "__esModule", { value: !0 }), (e.AbstractHandler = void 0); var i = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return o(e, t), e; })(r(30).AbstractMathDocument), s = (function () { function t(t, e) { void 0 === e && (e = 5), (this.documentClass = i), (this.adaptor = t), (this.priority = e); } return ( Object.defineProperty(t.prototype, "name", { get: function () { return this.constructor.NAME; }, enumerable: !1, configurable: !0, }), (t.prototype.handlesDocument = function (t) { return !1; }), (t.prototype.create = function (t, e) { return new this.documentClass(t, this.adaptor, e); }), (t.NAME = "generic"), t ); })(); e.AbstractHandler = s; }, function (t, e, r) { "use strict"; var n = (this && this.__read) || function (t, e) { var r = "function" == typeof Symbol && t[Symbol.iterator]; if (!r) return t; var n, o, i = r.call(t), s = []; try { for (; (void 0 === e || e-- > 0) && !(n = i.next()).done; ) s.push(n.value); } catch (t) { o = { error: t }; } finally { try { n && !n.done && (r = i.return) && r.call(i); } finally { if (o) throw o.error; } } return s; }, o = (this && this.__spread) || function () { for (var t = [], e = 0; e < arguments.length; e++) t = t.concat(n(arguments[e])); return t; }, i = (this && this.__values) || function (t) { var e = "function" == typeof Symbol && Symbol.iterator, r = e && t[e], n = 0; if (r) return r.call(t); if (t && "number" == typeof t.length) return { next: function () { return ( t && n >= t.length && (t = void 0), { value: t && t[n++], done: !t } ); }, }; throw new TypeError( e ? "Object is not iterable." : "Symbol.iterator is not defined.", ); }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.LinkedList = e.ListItem = e.END = void 0), (e.END = Symbol()); var s = function (t) { void 0 === t && (t = null), (this.next = null), (this.prev = null), (this.data = t); }; e.ListItem = s; var a = (function () { function t() { for (var t = [], r = 0; r < arguments.length; r++) t[r] = arguments[r]; (this.list = new s(e.END)), (this.list.next = this.list.prev = this.list), this.push.apply(this, o(t)); } return ( (t.prototype.toArray = function () { return Array.from(this); }), (t.prototype.isBefore = function (t, e) { return t < e; }), (t.prototype.push = function () { for (var t, e, r = [], n = 0; n < arguments.length; n++) r[n] = arguments[n]; try { for (var o = i(r), a = o.next(); !a.done; a = o.next()) { var c = a.value, l = new s(c); (l.next = this.list), (l.prev = this.list.prev), (this.list.prev = l), (l.prev.next = l); } } catch (e) { t = { error: e }; } finally { try { a && !a.done && (e = o.return) && e.call(o); } finally { if (t) throw t.error; } } return this; }), (t.prototype.pop = function () { var t = this.list.prev; return t.data === e.END ? null : ((this.list.prev = t.prev), (t.prev.next = this.list), (t.next = t.prev = null), t.data); }), (t.prototype.unshift = function () { for (var t, e, r = [], n = 0; n < arguments.length; n++) r[n] = arguments[n]; try { for ( var o = i(r.slice(0).reverse()), a = o.next(); !a.done; a = o.next() ) { var c = a.value, l = new s(c); (l.next = this.list.next), (l.prev = this.list), (this.list.next = l), (l.next.prev = l); } } catch (e) { t = { error: e }; } finally { try { a && !a.done && (e = o.return) && e.call(o); } finally { if (t) throw t.error; } } return this; }), (t.prototype.shift = function () { var t = this.list.next; return t.data === e.END ? null : ((this.list.next = t.next), (t.next.prev = this.list), (t.next = t.prev = null), t.data); }), (t.prototype.remove = function () { for (var t, r, n = [], o = 0; o < arguments.length; o++) n[o] = arguments[o]; var s = new Map(); try { for (var a = i(n), c = a.next(); !c.done; c = a.next()) { var l = c.value; s.set(l, !0); } } catch (e) { t = { error: e }; } finally { try { c && !c.done && (r = a.return) && r.call(a); } finally { if (t) throw t.error; } } for (var u = this.list.next; u.data !== e.END; ) { var h = u.next; s.has(u.data) && ((u.prev.next = u.next), (u.next.prev = u.prev), (u.next = u.prev = null)), (u = h); } }), (t.prototype.clear = function () { return ( (this.list.next.prev = this.list.prev.next = null), (this.list.next = this.list.prev = this.list), this ); }), (t.prototype[Symbol.iterator] = function () { var t = this.list; return { next: function () { return (t = t.next).data === e.END ? { value: null, done: !0 } : { value: t.data, done: !1 }; }, }; }), (t.prototype.reversed = function () { var t, r = this.list; return ( ((t = {})[Symbol.iterator] = function () { return this; }), (t.next = function () { return (r = r.prev).data === e.END ? { value: null, done: !0 } : { value: r.data, done: !1 }; }), (t.toArray = function () { return Array.from(this); }), t ); }), (t.prototype.insert = function (t, r) { void 0 === r && (r = null), null === r && (r = this.isBefore.bind(this)); for ( var n = new s(t), o = this.list.next; o.data !== e.END && r(o.data, n.data); ) o = o.next; return ( (n.prev = o.prev), (n.next = o), (o.prev.next = o.prev = n), this ); }), (t.prototype.sort = function (e) { var r, n; void 0 === e && (e = null), null === e && (e = this.isBefore.bind(this)); var o = []; try { for (var s = i(this), a = s.next(); !a.done; a = s.next()) { var c = a.value; o.push(new t(c)); } } catch (t) { r = { error: t }; } finally { try { a && !a.done && (n = s.return) && n.call(s); } finally { if (r) throw r.error; } } for (this.list.next = this.list.prev = this.list; o.length > 1; ) { var l = o.shift(), u = o.shift(); l.merge(u, e), o.push(l); } return o.length && (this.list = o[0].list), this; }), (t.prototype.merge = function (t, r) { var o, i, s, a, c; void 0 === r && (r = null), null === r && (r = this.isBefore.bind(this)); for ( var l = this.list.next, u = t.list.next; l.data !== e.END && u.data !== e.END; ) r(u.data, l.data) ? ((o = n([l, u], 2)), (u.prev.next = o[0]), (l.prev.next = o[1]), (i = n([l.prev, u.prev], 2)), (u.prev = i[0]), (l.prev = i[1]), (s = n([t.list, this.list], 2)), (this.list.prev.next = s[0]), (t.list.prev.next = s[1]), (a = n([t.list.prev, this.list.prev], 2)), (this.list.prev = a[0]), (t.list.prev = a[1]), (l = (c = n([u.next, l], 2))[0]), (u = c[1])) : (l = l.next); return ( u.data !== e.END && ((this.list.prev.next = t.list.next), (t.list.next.prev = this.list.prev), (t.list.prev.next = this.list), (this.list.prev = t.list.prev), (t.list.next = t.list.prev = t.list)), this ); }), t ); })(); e.LinkedList = a; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }); Object.defineProperty(e, "__esModule", { value: !0 }), (e.AbstractNodeFactory = void 0); var i = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), (e.prototype.create = function (t, e, r) { return ( void 0 === e && (e = {}), void 0 === r && (r = []), this.node[t](e, r) ); }), e ); })(r(35).AbstractFactory); e.AbstractNodeFactory = i; }, function (t, e, r) { "use strict"; var n; Object.defineProperty(e, "__esModule", { value: !0 }), (e.MML = void 0); var o = r(0), i = r(37), s = r(20), a = r(38), c = r(21), l = r(39), u = r(40), h = r(41), p = r(42), f = r(43), d = r(44), y = r(45), m = r(83), v = r(84), b = r(46), M = r(85), g = r(47), O = r(48), x = r(49), S = r(22), _ = r(50), E = r(51), C = r(52), L = r(53), T = r(54), A = r(86), w = r(87), N = r(55), j = r(56), R = r(57), I = r(88); e.MML = (((n = {})[i.MmlMath.prototype.kind] = i.MmlMath), (n[s.MmlMi.prototype.kind] = s.MmlMi), (n[a.MmlMn.prototype.kind] = a.MmlMn), (n[c.MmlMo.prototype.kind] = c.MmlMo), (n[l.MmlMtext.prototype.kind] = l.MmlMtext), (n[u.MmlMspace.prototype.kind] = u.MmlMspace), (n[h.MmlMs.prototype.kind] = h.MmlMs), (n[p.MmlMrow.prototype.kind] = p.MmlMrow), (n[p.MmlInferredMrow.prototype.kind] = p.MmlInferredMrow), (n[f.MmlMfrac.prototype.kind] = f.MmlMfrac), (n[d.MmlMsqrt.prototype.kind] = d.MmlMsqrt), (n[y.MmlMroot.prototype.kind] = y.MmlMroot), (n[m.MmlMstyle.prototype.kind] = m.MmlMstyle), (n[v.MmlMerror.prototype.kind] = v.MmlMerror), (n[b.MmlMpadded.prototype.kind] = b.MmlMpadded), (n[M.MmlMphantom.prototype.kind] = M.MmlMphantom), (n[g.MmlMfenced.prototype.kind] = g.MmlMfenced), (n[O.MmlMenclose.prototype.kind] = O.MmlMenclose), (n[x.MmlMaction.prototype.kind] = x.MmlMaction), (n[S.MmlMsub.prototype.kind] = S.MmlMsub), (n[S.MmlMsup.prototype.kind] = S.MmlMsup), (n[S.MmlMsubsup.prototype.kind] = S.MmlMsubsup), (n[_.MmlMunder.prototype.kind] = _.MmlMunder), (n[_.MmlMover.prototype.kind] = _.MmlMover), (n[_.MmlMunderover.prototype.kind] = _.MmlMunderover), (n[E.MmlMmultiscripts.prototype.kind] = E.MmlMmultiscripts), (n[E.MmlMprescripts.prototype.kind] = E.MmlMprescripts), (n[E.MmlNone.prototype.kind] = E.MmlNone), (n[C.MmlMtable.prototype.kind] = C.MmlMtable), (n[L.MmlMlabeledtr.prototype.kind] = L.MmlMlabeledtr), (n[L.MmlMtr.prototype.kind] = L.MmlMtr), (n[T.MmlMtd.prototype.kind] = T.MmlMtd), (n[A.MmlMaligngroup.prototype.kind] = A.MmlMaligngroup), (n[w.MmlMalignmark.prototype.kind] = w.MmlMalignmark), (n[N.MmlMglyph.prototype.kind] = N.MmlMglyph), (n[j.MmlSemantics.prototype.kind] = j.MmlSemantics), (n[j.MmlAnnotation.prototype.kind] = j.MmlAnnotation), (n[j.MmlAnnotationXML.prototype.kind] = j.MmlAnnotationXML), (n[R.TeXAtom.prototype.kind] = R.TeXAtom), (n[I.MathChoice.prototype.kind] = I.MathChoice), (n[o.TextNode.prototype.kind] = o.TextNode), (n[o.XMLNode.prototype.kind] = o.XMLNode), n); }, function (t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }), (e.OPTABLE = e.MMLSPACING = e.RANGES = e.MO = e.OPDEF = void 0); var n = r(0); function o(t, e, r, o) { return ( void 0 === r && (r = n.TEXCLASS.BIN), void 0 === o && (o = null), [t, e, r, o] ); } (e.OPDEF = o), (e.MO = { ORD: o(0, 0, n.TEXCLASS.ORD), ORD11: o(1, 1, n.TEXCLASS.ORD), ORD21: o(2, 1, n.TEXCLASS.ORD), ORD02: o(0, 2, n.TEXCLASS.ORD), ORD55: o(5, 5, n.TEXCLASS.ORD), OP: o(1, 2, n.TEXCLASS.OP, { largeop: !0, movablelimits: !0, symmetric: !0, }), OPFIXED: o(1, 2, n.TEXCLASS.OP, { largeop: !0, movablelimits: !0 }), INTEGRAL: o(0, 1, n.TEXCLASS.OP, { largeop: !0, symmetric: !0 }), INTEGRAL2: o(1, 2, n.TEXCLASS.OP, { largeop: !0, symmetric: !0 }), BIN3: o(3, 3, n.TEXCLASS.BIN), BIN4: o(4, 4, n.TEXCLASS.BIN), BIN01: o(0, 1, n.TEXCLASS.BIN), BIN5: o(5, 5, n.TEXCLASS.BIN), TALLBIN: o(4, 4, n.TEXCLASS.BIN, { stretchy: !0 }), BINOP: o(4, 4, n.TEXCLASS.BIN, { largeop: !0, movablelimits: !0 }), REL: o(5, 5, n.TEXCLASS.REL), REL1: o(1, 1, n.TEXCLASS.REL, { stretchy: !0 }), REL4: o(4, 4, n.TEXCLASS.REL), RELSTRETCH: o(5, 5, n.TEXCLASS.REL, { stretchy: !0 }), RELACCENT: o(5, 5, n.TEXCLASS.REL, { accent: !0 }), WIDEREL: o(5, 5, n.TEXCLASS.REL, { accent: !0, stretchy: !0 }), OPEN: o(0, 0, n.TEXCLASS.OPEN, { fence: !0, stretchy: !0, symmetric: !0, }), CLOSE: o(0, 0, n.TEXCLASS.CLOSE, { fence: !0, stretchy: !0, symmetric: !0, }), INNER: o(0, 0, n.TEXCLASS.INNER), PUNCT: o(0, 3, n.TEXCLASS.PUNCT), ACCENT: o(0, 0, n.TEXCLASS.ORD, { accent: !0 }), WIDEACCENT: o(0, 0, n.TEXCLASS.ORD, { accent: !0, stretchy: !0 }), }), (e.RANGES = [ [32, 127, n.TEXCLASS.REL, "BasicLatin"], [160, 255, n.TEXCLASS.ORD, "Latin1Supplement"], [256, 383, n.TEXCLASS.ORD, "LatinExtendedA"], [384, 591, n.TEXCLASS.ORD, "LatinExtendedB"], [688, 767, n.TEXCLASS.ORD, "SpacingModLetters"], [768, 879, n.TEXCLASS.ORD, "CombDiacritMarks"], [880, 1023, n.TEXCLASS.ORD, "GreekAndCoptic"], [7680, 7935, n.TEXCLASS.ORD, "LatinExtendedAdditional"], [8192, 8303, n.TEXCLASS.PUNCT, "GeneralPunctuation"], [8304, 8351, n.TEXCLASS.ORD, "SuperAndSubscripts"], [8352, 8399, n.TEXCLASS.ORD, "Currency"], [8400, 8447, n.TEXCLASS.ORD, "CombDiactForSymbols"], [8448, 8527, n.TEXCLASS.ORD, "LetterlikeSymbols"], [8528, 8591, n.TEXCLASS.ORD, "NumberForms"], [8592, 8703, n.TEXCLASS.REL, "Arrows"], [8704, 8959, n.TEXCLASS.BIN, "MathOperators"], [8960, 9215, n.TEXCLASS.ORD, "MiscTechnical"], [9312, 9471, n.TEXCLASS.ORD, "EnclosedAlphaNums"], [9472, 9631, n.TEXCLASS.ORD, "BoxDrawing"], [9632, 9727, n.TEXCLASS.ORD, "GeometricShapes"], [9984, 10175, n.TEXCLASS.ORD, "Dingbats"], [10176, 10223, n.TEXCLASS.ORD, "MiscMathSymbolsA"], [10224, 10239, n.TEXCLASS.REL, "SupplementalArrowsA"], [10496, 10623, n.TEXCLASS.REL, "SupplementalArrowsB"], [10624, 10751, n.TEXCLASS.ORD, "MiscMathSymbolsB"], [10752, 11007, n.TEXCLASS.BIN, "SuppMathOperators"], [11008, 11263, n.TEXCLASS.ORD, "MiscSymbolsAndArrows"], [119808, 120831, n.TEXCLASS.ORD, "MathAlphabets"], ]), (e.MMLSPACING = [ [0, 0], [1, 2], [3, 3], [4, 4], [0, 0], [0, 0], [0, 3], ]), (e.OPTABLE = { prefix: { "(": e.MO.OPEN, "+": e.MO.BIN01, "-": e.MO.BIN01, "[": e.MO.OPEN, "{": e.MO.OPEN, "|": e.MO.OPEN, "||": [ 0, 0, n.TEXCLASS.BIN, { fence: !0, stretchy: !0, symmetric: !0 }, ], "|||": [ 0, 0, n.TEXCLASS.ORD, { fence: !0, stretchy: !0, symmetric: !0 }, ], "\xac": e.MO.ORD21, "\xb1": e.MO.BIN01, "\u2016": [0, 0, n.TEXCLASS.ORD, { fence: !0, stretchy: !0 }], "\u2018": [0, 0, n.TEXCLASS.OPEN, { fence: !0 }], "\u201c": [0, 0, n.TEXCLASS.OPEN, { fence: !0 }], "\u2145": e.MO.ORD21, "\u2146": o(2, 0, n.TEXCLASS.ORD), "\u2200": e.MO.ORD21, "\u2202": e.MO.ORD21, "\u2203": e.MO.ORD21, "\u2204": e.MO.ORD21, "\u2207": e.MO.ORD21, "\u220f": e.MO.OP, "\u2210": e.MO.OP, "\u2211": e.MO.OP, "\u2212": e.MO.BIN01, "\u2213": e.MO.BIN01, "\u221a": [1, 1, n.TEXCLASS.ORD, { stretchy: !0 }], "\u221b": e.MO.ORD11, "\u221c": e.MO.ORD11, "\u2220": e.MO.ORD, "\u2221": e.MO.ORD, "\u2222": e.MO.ORD, "\u222b": e.MO.INTEGRAL, "\u222c": e.MO.INTEGRAL, "\u222d": e.MO.INTEGRAL, "\u222e": e.MO.INTEGRAL, "\u222f": e.MO.INTEGRAL, "\u2230": e.MO.INTEGRAL, "\u2231": e.MO.INTEGRAL, "\u2232": e.MO.INTEGRAL, "\u2233": e.MO.INTEGRAL, "\u22c0": e.MO.OP, "\u22c1": e.MO.OP, "\u22c2": e.MO.OP, "\u22c3": e.MO.OP, "\u2308": e.MO.OPEN, "\u230a": e.MO.OPEN, "\u2772": e.MO.OPEN, "\u27e6": e.MO.OPEN, "\u27e8": e.MO.OPEN, "\u27ea": e.MO.OPEN, "\u27ec": e.MO.OPEN, "\u27ee": e.MO.OPEN, "\u2980": [0, 0, n.TEXCLASS.ORD, { fence: !0, stretchy: !0 }], "\u2983": e.MO.OPEN, "\u2985": e.MO.OPEN, "\u2987": e.MO.OPEN, "\u2989": e.MO.OPEN, "\u298b": e.MO.OPEN, "\u298d": e.MO.OPEN, "\u298f": e.MO.OPEN, "\u2991": e.MO.OPEN, "\u2993": e.MO.OPEN, "\u2995": e.MO.OPEN, "\u2997": e.MO.OPEN, "\u29fc": e.MO.OPEN, "\u2a00": e.MO.OP, "\u2a01": e.MO.OP, "\u2a02": e.MO.OP, "\u2a03": e.MO.OP, "\u2a04": e.MO.OP, "\u2a05": e.MO.OP, "\u2a06": e.MO.OP, "\u2a07": e.MO.OP, "\u2a08": e.MO.OP, "\u2a09": e.MO.OP, "\u2a0a": e.MO.OP, "\u2a0b": e.MO.INTEGRAL2, "\u2a0c": e.MO.INTEGRAL, "\u2a0d": e.MO.INTEGRAL2, "\u2a0e": e.MO.INTEGRAL2, "\u2a0f": e.MO.INTEGRAL2, "\u2a10": e.MO.OP, "\u2a11": e.MO.OP, "\u2a12": e.MO.OP, "\u2a13": e.MO.OP, "\u2a14": e.MO.OP, "\u2a15": e.MO.INTEGRAL2, "\u2a16": e.MO.INTEGRAL2, "\u2a17": e.MO.INTEGRAL2, "\u2a18": e.MO.INTEGRAL2, "\u2a19": e.MO.INTEGRAL2, "\u2a1a": e.MO.INTEGRAL2, "\u2a1b": e.MO.INTEGRAL2, "\u2a1c": e.MO.INTEGRAL2, "\u2afc": e.MO.OP, "\u2aff": e.MO.OP, }, postfix: { "!!": o(1, 0), "!": [1, 0, n.TEXCLASS.CLOSE, null], "&": e.MO.ORD, ")": e.MO.CLOSE, "++": o(0, 0), "--": o(0, 0), "..": o(0, 0), "...": e.MO.ORD, "'": e.MO.ACCENT, "]": e.MO.CLOSE, "^": e.MO.WIDEACCENT, _: e.MO.WIDEACCENT, "`": e.MO.ACCENT, "|": e.MO.CLOSE, "}": e.MO.CLOSE, "~": e.MO.WIDEACCENT, "||": [ 0, 0, n.TEXCLASS.BIN, { fence: !0, stretchy: !0, symmetric: !0 }, ], "|||": [ 0, 0, n.TEXCLASS.ORD, { fence: !0, stretchy: !0, symmetric: !0 }, ], "\xa8": e.MO.ACCENT, "\xaf": e.MO.WIDEACCENT, "\xb0": e.MO.ORD, "\xb4": e.MO.ACCENT, "\xb8": e.MO.ACCENT, "\u02c6": e.MO.WIDEACCENT, "\u02c7": e.MO.WIDEACCENT, "\u02c9": e.MO.WIDEACCENT, "\u02ca": e.MO.ACCENT, "\u02cb": e.MO.ACCENT, "\u02cd": e.MO.WIDEACCENT, "\u02d8": e.MO.ACCENT, "\u02d9": e.MO.ACCENT, "\u02da": e.MO.ACCENT, "\u02dc": e.MO.WIDEACCENT, "\u02dd": e.MO.ACCENT, "\u02f7": e.MO.WIDEACCENT, "\u0302": e.MO.WIDEACCENT, "\u0311": e.MO.ACCENT, "\u03f6": e.MO.REL, "\u2016": [0, 0, n.TEXCLASS.ORD, { fence: !0, stretchy: !0 }], "\u2019": [0, 0, n.TEXCLASS.CLOSE, { fence: !0 }], "\u201d": [0, 0, n.TEXCLASS.CLOSE, { fence: !0 }], "\u2032": e.MO.ORD02, "\u203e": e.MO.WIDEACCENT, "\u20db": e.MO.ACCENT, "\u20dc": e.MO.ACCENT, "\u2309": e.MO.CLOSE, "\u230b": e.MO.CLOSE, "\u23b4": e.MO.WIDEACCENT, "\u23b5": e.MO.WIDEACCENT, "\u23dc": e.MO.WIDEACCENT, "\u23dd": e.MO.WIDEACCENT, "\u23de": e.MO.WIDEACCENT, "\u23df": e.MO.WIDEACCENT, "\u23e0": e.MO.WIDEACCENT, "\u23e1": e.MO.WIDEACCENT, "\u25a0": e.MO.BIN3, "\u25a1": e.MO.BIN3, "\u25aa": e.MO.BIN3, "\u25ab": e.MO.BIN3, "\u25ad": e.MO.BIN3, "\u25ae": e.MO.BIN3, "\u25af": e.MO.BIN3, "\u25b0": e.MO.BIN3, "\u25b1": e.MO.BIN3, "\u25b2": e.MO.BIN4, "\u25b4": e.MO.BIN4, "\u25b6": e.MO.BIN4, "\u25b7": e.MO.BIN4, "\u25b8": e.MO.BIN4, "\u25bc": e.MO.BIN4, "\u25be": e.MO.BIN4, "\u25c0": e.MO.BIN4, "\u25c1": e.MO.BIN4, "\u25c2": e.MO.BIN4, "\u25c4": e.MO.BIN4, "\u25c5": e.MO.BIN4, "\u25c6": e.MO.BIN4, "\u25c7": e.MO.BIN4, "\u25c8": e.MO.BIN4, "\u25c9": e.MO.BIN4, "\u25cc": e.MO.BIN4, "\u25cd": e.MO.BIN4, "\u25ce": e.MO.BIN4, "\u25cf": e.MO.BIN4, "\u25d6": e.MO.BIN4, "\u25d7": e.MO.BIN4, "\u25e6": e.MO.BIN4, "\u266d": e.MO.ORD02, "\u266e": e.MO.ORD02, "\u266f": e.MO.ORD02, "\u2773": e.MO.CLOSE, "\u27e7": e.MO.CLOSE, "\u27e9": e.MO.CLOSE, "\u27eb": e.MO.CLOSE, "\u27ed": e.MO.CLOSE, "\u27ef": e.MO.CLOSE, "\u2980": [0, 0, n.TEXCLASS.ORD, { fence: !0, stretchy: !0 }], "\u2984": e.MO.CLOSE, "\u2986": e.MO.CLOSE, "\u2988": e.MO.CLOSE, "\u298a": e.MO.CLOSE, "\u298c": e.MO.CLOSE, "\u298e": e.MO.CLOSE, "\u2990": e.MO.CLOSE, "\u2992": e.MO.CLOSE, "\u2994": e.MO.CLOSE, "\u2996": e.MO.CLOSE, "\u2998": e.MO.CLOSE, "\u29fd": e.MO.CLOSE, }, infix: { "!=": e.MO.BIN4, "#": e.MO.ORD, $: e.MO.ORD, "%": [3, 3, n.TEXCLASS.ORD, null], "&&": e.MO.BIN4, "": e.MO.ORD, "*": e.MO.BIN3, "**": o(1, 1), "*=": e.MO.BIN4, "+": e.MO.BIN4, "+=": e.MO.BIN4, ",": [ 0, 3, n.TEXCLASS.PUNCT, { linebreakstyle: "after", separator: !0 }, ], "-": e.MO.BIN4, "-=": e.MO.BIN4, "->": e.MO.BIN5, ".": [0, 3, n.TEXCLASS.PUNCT, { separator: !0 }], "/": e.MO.ORD11, "//": o(1, 1), "/=": e.MO.BIN4, ":": [1, 2, n.TEXCLASS.REL, null], ":=": e.MO.BIN4, ";": [ 0, 3, n.TEXCLASS.PUNCT, { linebreakstyle: "after", separator: !0 }, ], "<": e.MO.REL, "<=": e.MO.BIN5, "<>": o(1, 1), "=": e.MO.REL, "==": e.MO.BIN4, ">": e.MO.REL, ">=": e.MO.BIN5, "?": [1, 1, n.TEXCLASS.CLOSE, null], "@": e.MO.ORD11, "\\": e.MO.ORD, "^": e.MO.ORD11, _: e.MO.ORD11, "|": [ 2, 2, n.TEXCLASS.ORD, { fence: !0, stretchy: !0, symmetric: !0 }, ], "||": [ 2, 2, n.TEXCLASS.BIN, { fence: !0, stretchy: !0, symmetric: !0 }, ], "|||": [ 2, 2, n.TEXCLASS.ORD, { fence: !0, stretchy: !0, symmetric: !0 }, ], "\xb1": e.MO.BIN4, "\xb7": e.MO.BIN4, "\xd7": e.MO.BIN4, "\xf7": e.MO.BIN4, "\u02b9": e.MO.ORD, "\u0300": e.MO.ACCENT, "\u0301": e.MO.ACCENT, "\u0303": e.MO.WIDEACCENT, "\u0304": e.MO.ACCENT, "\u0306": e.MO.ACCENT, "\u0307": e.MO.ACCENT, "\u0308": e.MO.ACCENT, "\u030c": e.MO.ACCENT, "\u0332": e.MO.WIDEACCENT, "\u0338": e.MO.REL4, "\u2015": [0, 0, n.TEXCLASS.ORD, { stretchy: !0 }], "\u2017": [0, 0, n.TEXCLASS.ORD, { stretchy: !0 }], "\u2020": e.MO.BIN3, "\u2021": e.MO.BIN3, "\u2022": e.MO.BIN4, "\u2026": e.MO.INNER, "\u2044": e.MO.TALLBIN, "\u2061": e.MO.ORD, "\u2062": e.MO.ORD, "\u2063": [ 0, 0, n.TEXCLASS.ORD, { linebreakstyle: "after", separator: !0 }, ], "\u2064": e.MO.ORD, "\u20d7": e.MO.ACCENT, "\u2111": e.MO.ORD, "\u2113": e.MO.ORD, "\u2118": e.MO.ORD, "\u211c": e.MO.ORD, "\u2190": e.MO.WIDEREL, "\u2191": e.MO.RELSTRETCH, "\u2192": e.MO.WIDEREL, "\u2193": e.MO.RELSTRETCH, "\u2194": e.MO.WIDEREL, "\u2195": e.MO.RELSTRETCH, "\u2196": e.MO.RELSTRETCH, "\u2197": e.MO.RELSTRETCH, "\u2198": e.MO.RELSTRETCH, "\u2199": e.MO.RELSTRETCH, "\u219a": e.MO.RELACCENT, "\u219b": e.MO.RELACCENT, "\u219c": e.MO.WIDEREL, "\u219d": e.MO.WIDEREL, "\u219e": e.MO.WIDEREL, "\u219f": e.MO.WIDEREL, "\u21a0": e.MO.WIDEREL, "\u21a1": e.MO.RELSTRETCH, "\u21a2": e.MO.WIDEREL, "\u21a3": e.MO.WIDEREL, "\u21a4": e.MO.WIDEREL, "\u21a5": e.MO.RELSTRETCH, "\u21a6": e.MO.WIDEREL, "\u21a7": e.MO.RELSTRETCH, "\u21a8": e.MO.RELSTRETCH, "\u21a9": e.MO.WIDEREL, "\u21aa": e.MO.WIDEREL, "\u21ab": e.MO.WIDEREL, "\u21ac": e.MO.WIDEREL, "\u21ad": e.MO.WIDEREL, "\u21ae": e.MO.RELACCENT, "\u21af": e.MO.RELSTRETCH, "\u21b0": e.MO.RELSTRETCH, "\u21b1": e.MO.RELSTRETCH, "\u21b2": e.MO.RELSTRETCH, "\u21b3": e.MO.RELSTRETCH, "\u21b4": e.MO.RELSTRETCH, "\u21b5": e.MO.RELSTRETCH, "\u21b6": e.MO.RELACCENT, "\u21b7": e.MO.RELACCENT, "\u21b8": e.MO.REL, "\u21b9": e.MO.WIDEREL, "\u21ba": e.MO.REL, "\u21bb": e.MO.REL, "\u21bc": e.MO.WIDEREL, "\u21bd": e.MO.WIDEREL, "\u21be": e.MO.RELSTRETCH, "\u21bf": e.MO.RELSTRETCH, "\u21c0": e.MO.WIDEREL, "\u21c1": e.MO.WIDEREL, "\u21c2": e.MO.RELSTRETCH, "\u21c3": e.MO.RELSTRETCH, "\u21c4": e.MO.WIDEREL, "\u21c5": e.MO.RELSTRETCH, "\u21c6": e.MO.WIDEREL, "\u21c7": e.MO.WIDEREL, "\u21c8": e.MO.RELSTRETCH, "\u21c9": e.MO.WIDEREL, "\u21ca": e.MO.RELSTRETCH, "\u21cb": e.MO.WIDEREL, "\u21cc": e.MO.WIDEREL, "\u21cd": e.MO.RELACCENT, "\u21ce": e.MO.RELACCENT, "\u21cf": e.MO.RELACCENT, "\u21d0": e.MO.WIDEREL, "\u21d1": e.MO.RELSTRETCH, "\u21d2": e.MO.WIDEREL, "\u21d3": e.MO.RELSTRETCH, "\u21d4": e.MO.WIDEREL, "\u21d5": e.MO.RELSTRETCH, "\u21d6": e.MO.RELSTRETCH, "\u21d7": e.MO.RELSTRETCH, "\u21d8": e.MO.RELSTRETCH, "\u21d9": e.MO.RELSTRETCH, "\u21da": e.MO.WIDEREL, "\u21db": e.MO.WIDEREL, "\u21dc": e.MO.WIDEREL, "\u21dd": e.MO.WIDEREL, "\u21de": e.MO.REL, "\u21df": e.MO.REL, "\u21e0": e.MO.WIDEREL, "\u21e1": e.MO.RELSTRETCH, "\u21e2": e.MO.WIDEREL, "\u21e3": e.MO.RELSTRETCH, "\u21e4": e.MO.WIDEREL, "\u21e5": e.MO.WIDEREL, "\u21e6": e.MO.WIDEREL, "\u21e7": e.MO.RELSTRETCH, "\u21e8": e.MO.WIDEREL, "\u21e9": e.MO.RELSTRETCH, "\u21ea": e.MO.RELSTRETCH, "\u21eb": e.MO.RELSTRETCH, "\u21ec": e.MO.RELSTRETCH, "\u21ed": e.MO.RELSTRETCH, "\u21ee": e.MO.RELSTRETCH, "\u21ef": e.MO.RELSTRETCH, "\u21f0": e.MO.WIDEREL, "\u21f1": e.MO.REL, "\u21f2": e.MO.REL, "\u21f3": e.MO.RELSTRETCH, "\u21f4": e.MO.RELACCENT, "\u21f5": e.MO.RELSTRETCH, "\u21f6": e.MO.WIDEREL, "\u21f7": e.MO.RELACCENT, "\u21f8": e.MO.RELACCENT, "\u21f9": e.MO.RELACCENT, "\u21fa": e.MO.RELACCENT, "\u21fb": e.MO.RELACCENT, "\u21fc": e.MO.RELACCENT, "\u21fd": e.MO.WIDEREL, "\u21fe": e.MO.WIDEREL, "\u21ff": e.MO.WIDEREL, "\u2201": o(1, 2, n.TEXCLASS.ORD), "\u2205": e.MO.ORD, "\u2206": e.MO.BIN3, "\u2208": e.MO.REL, "\u2209": e.MO.REL, "\u220a": e.MO.REL, "\u220b": e.MO.REL, "\u220c": e.MO.REL, "\u220d": e.MO.REL, "\u220e": e.MO.BIN3, "\u2212": e.MO.BIN4, "\u2213": e.MO.BIN4, "\u2214": e.MO.BIN4, "\u2215": e.MO.TALLBIN, "\u2216": e.MO.BIN4, "\u2217": e.MO.BIN4, "\u2218": e.MO.BIN4, "\u2219": e.MO.BIN4, "\u221d": e.MO.REL, "\u221e": e.MO.ORD, "\u221f": e.MO.REL, "\u2223": e.MO.REL, "\u2224": e.MO.REL, "\u2225": e.MO.REL, "\u2226": e.MO.REL, "\u2227": e.MO.BIN4, "\u2228": e.MO.BIN4, "\u2229": e.MO.BIN4, "\u222a": e.MO.BIN4, "\u2234": e.MO.REL, "\u2235": e.MO.REL, "\u2236": e.MO.REL, "\u2237": e.MO.REL, "\u2238": e.MO.BIN4, "\u2239": e.MO.REL, "\u223a": e.MO.BIN4, "\u223b": e.MO.REL, "\u223c": e.MO.REL, "\u223d": e.MO.REL, "\u223d\u0331": e.MO.BIN3, "\u223e": e.MO.REL, "\u223f": e.MO.BIN3, "\u2240": e.MO.BIN4, "\u2241": e.MO.REL, "\u2242": e.MO.REL, "\u2242\u0338": e.MO.REL, "\u2243": e.MO.REL, "\u2244": e.MO.REL, "\u2245": e.MO.REL, "\u2246": e.MO.REL, "\u2247": e.MO.REL, "\u2248": e.MO.REL, "\u2249": e.MO.REL, "\u224a": e.MO.REL, "\u224b": e.MO.REL, "\u224c": e.MO.REL, "\u224d": e.MO.REL, "\u224e": e.MO.REL, "\u224e\u0338": e.MO.REL, "\u224f": e.MO.REL, "\u224f\u0338": e.MO.REL, "\u2250": e.MO.REL, "\u2251": e.MO.REL, "\u2252": e.MO.REL, "\u2253": e.MO.REL, "\u2254": e.MO.REL, "\u2255": e.MO.REL, "\u2256": e.MO.REL, "\u2257": e.MO.REL, "\u2258": e.MO.REL, "\u2259": e.MO.REL, "\u225a": e.MO.REL, "\u225c": e.MO.REL, "\u225d": e.MO.REL, "\u225e": e.MO.REL, "\u225f": e.MO.REL, "\u2260": e.MO.REL, "\u2261": e.MO.REL, "\u2262": e.MO.REL, "\u2263": e.MO.REL, "\u2264": e.MO.REL, "\u2265": e.MO.REL, "\u2266": e.MO.REL, "\u2266\u0338": e.MO.REL, "\u2267": e.MO.REL, "\u2268": e.MO.REL, "\u2269": e.MO.REL, "\u226a": e.MO.REL, "\u226a\u0338": e.MO.REL, "\u226b": e.MO.REL, "\u226b\u0338": e.MO.REL, "\u226c": e.MO.REL, "\u226d": e.MO.REL, "\u226e": e.MO.REL, "\u226f": e.MO.REL, "\u2270": e.MO.REL, "\u2271": e.MO.REL, "\u2272": e.MO.REL, "\u2273": e.MO.REL, "\u2274": e.MO.REL, "\u2275": e.MO.REL, "\u2276": e.MO.REL, "\u2277": e.MO.REL, "\u2278": e.MO.REL, "\u2279": e.MO.REL, "\u227a": e.MO.REL, "\u227b": e.MO.REL, "\u227c": e.MO.REL, "\u227d": e.MO.REL, "\u227e": e.MO.REL, "\u227f": e.MO.REL, "\u227f\u0338": e.MO.REL, "\u2280": e.MO.REL, "\u2281": e.MO.REL, "\u2282": e.MO.REL, "\u2282\u20d2": e.MO.REL, "\u2283": e.MO.REL, "\u2283\u20d2": e.MO.REL, "\u2284": e.MO.REL, "\u2285": e.MO.REL, "\u2286": e.MO.REL, "\u2287": e.MO.REL, "\u2288": e.MO.REL, "\u2289": e.MO.REL, "\u228a": e.MO.REL, "\u228b": e.MO.REL, "\u228c": e.MO.BIN4, "\u228d": e.MO.BIN4, "\u228e": e.MO.BIN4, "\u228f": e.MO.REL, "\u228f\u0338": e.MO.REL, "\u2290": e.MO.REL, "\u2290\u0338": e.MO.REL, "\u2291": e.MO.REL, "\u2292": e.MO.REL, "\u2293": e.MO.BIN4, "\u2294": e.MO.BIN4, "\u2295": e.MO.BIN4, "\u2296": e.MO.BIN4, "\u2297": e.MO.BIN4, "\u2298": e.MO.BIN4, "\u2299": e.MO.BIN4, "\u229a": e.MO.BIN4, "\u229b": e.MO.BIN4, "\u229c": e.MO.BIN4, "\u229d": e.MO.BIN4, "\u229e": e.MO.BIN4, "\u229f": e.MO.BIN4, "\u22a0": e.MO.BIN4, "\u22a1": e.MO.BIN4, "\u22a2": e.MO.REL, "\u22a3": e.MO.REL, "\u22a4": e.MO.ORD55, "\u22a5": e.MO.REL, "\u22a6": e.MO.REL, "\u22a7": e.MO.REL, "\u22a8": e.MO.REL, "\u22a9": e.MO.REL, "\u22aa": e.MO.REL, "\u22ab": e.MO.REL, "\u22ac": e.MO.REL, "\u22ad": e.MO.REL, "\u22ae": e.MO.REL, "\u22af": e.MO.REL, "\u22b0": e.MO.REL, "\u22b1": e.MO.REL, "\u22b2": e.MO.REL, "\u22b3": e.MO.REL, "\u22b4": e.MO.REL, "\u22b5": e.MO.REL, "\u22b6": e.MO.REL, "\u22b7": e.MO.REL, "\u22b8": e.MO.REL, "\u22b9": e.MO.REL, "\u22ba": e.MO.BIN4, "\u22bb": e.MO.BIN4, "\u22bc": e.MO.BIN4, "\u22bd": e.MO.BIN4, "\u22be": e.MO.BIN3, "\u22bf": e.MO.BIN3, "\u22c4": e.MO.BIN4, "\u22c5": e.MO.BIN4, "\u22c6": e.MO.BIN4, "\u22c7": e.MO.BIN4, "\u22c8": e.MO.REL, "\u22c9": e.MO.BIN4, "\u22ca": e.MO.BIN4, "\u22cb": e.MO.BIN4, "\u22cc": e.MO.BIN4, "\u22cd": e.MO.REL, "\u22ce": e.MO.BIN4, "\u22cf": e.MO.BIN4, "\u22d0": e.MO.REL, "\u22d1": e.MO.REL, "\u22d2": e.MO.BIN4, "\u22d3": e.MO.BIN4, "\u22d4": e.MO.REL, "\u22d5": e.MO.REL, "\u22d6": e.MO.REL, "\u22d7": e.MO.REL, "\u22d8": e.MO.REL, "\u22d9": e.MO.REL, "\u22da": e.MO.REL, "\u22db": e.MO.REL, "\u22dc": e.MO.REL, "\u22dd": e.MO.REL, "\u22de": e.MO.REL, "\u22df": e.MO.REL, "\u22e0": e.MO.REL, "\u22e1": e.MO.REL, "\u22e2": e.MO.REL, "\u22e3": e.MO.REL, "\u22e4": e.MO.REL, "\u22e5": e.MO.REL, "\u22e6": e.MO.REL, "\u22e7": e.MO.REL, "\u22e8": e.MO.REL, "\u22e9": e.MO.REL, "\u22ea": e.MO.REL, "\u22eb": e.MO.REL, "\u22ec": e.MO.REL, "\u22ed": e.MO.REL, "\u22ee": e.MO.ORD55, "\u22ef": e.MO.INNER, "\u22f0": e.MO.REL, "\u22f1": [5, 5, n.TEXCLASS.INNER, null], "\u22f2": e.MO.REL, "\u22f3": e.MO.REL, "\u22f4": e.MO.REL, "\u22f5": e.MO.REL, "\u22f6": e.MO.REL, "\u22f7": e.MO.REL, "\u22f8": e.MO.REL, "\u22f9": e.MO.REL, "\u22fa": e.MO.REL, "\u22fb": e.MO.REL, "\u22fc": e.MO.REL, "\u22fd": e.MO.REL, "\u22fe": e.MO.REL, "\u22ff": e.MO.REL, "\u2305": e.MO.BIN3, "\u2306": e.MO.BIN3, "\u2322": e.MO.REL4, "\u2323": e.MO.REL4, "\u2329": e.MO.OPEN, "\u232a": e.MO.CLOSE, "\u23aa": e.MO.ORD, "\u23af": [0, 0, n.TEXCLASS.ORD, { stretchy: !0 }], "\u23b0": e.MO.OPEN, "\u23b1": e.MO.CLOSE, "\u2500": e.MO.ORD, "\u25b3": e.MO.BIN4, "\u25b5": e.MO.BIN4, "\u25b9": e.MO.BIN4, "\u25bd": e.MO.BIN4, "\u25bf": e.MO.BIN4, "\u25c3": e.MO.BIN4, "\u25ef": e.MO.BIN3, "\u2660": e.MO.ORD, "\u2661": e.MO.ORD, "\u2662": e.MO.ORD, "\u2663": e.MO.ORD, "\u2758": e.MO.REL, "\u27f0": e.MO.RELSTRETCH, "\u27f1": e.MO.RELSTRETCH, "\u27f5": e.MO.WIDEREL, "\u27f6": e.MO.WIDEREL, "\u27f7": e.MO.WIDEREL, "\u27f8": e.MO.WIDEREL, "\u27f9": e.MO.WIDEREL, "\u27fa": e.MO.WIDEREL, "\u27fb": e.MO.WIDEREL, "\u27fc": e.MO.WIDEREL, "\u27fd": e.MO.WIDEREL, "\u27fe": e.MO.WIDEREL, "\u27ff": e.MO.WIDEREL, "\u2900": e.MO.RELACCENT, "\u2901": e.MO.RELACCENT, "\u2902": e.MO.RELACCENT, "\u2903": e.MO.RELACCENT, "\u2904": e.MO.RELACCENT, "\u2905": e.MO.RELACCENT, "\u2906": e.MO.RELACCENT, "\u2907": e.MO.RELACCENT, "\u2908": e.MO.REL, "\u2909": e.MO.REL, "\u290a": e.MO.RELSTRETCH, "\u290b": e.MO.RELSTRETCH, "\u290c": e.MO.WIDEREL, "\u290d": e.MO.WIDEREL, "\u290e": e.MO.WIDEREL, "\u290f": e.MO.WIDEREL, "\u2910": e.MO.WIDEREL, "\u2911": e.MO.RELACCENT, "\u2912": e.MO.RELSTRETCH, "\u2913": e.MO.RELSTRETCH, "\u2914": e.MO.RELACCENT, "\u2915": e.MO.RELACCENT, "\u2916": e.MO.RELACCENT, "\u2917": e.MO.RELACCENT, "\u2918": e.MO.RELACCENT, "\u2919": e.MO.RELACCENT, "\u291a": e.MO.RELACCENT, "\u291b": e.MO.RELACCENT, "\u291c": e.MO.RELACCENT, "\u291d": e.MO.RELACCENT, "\u291e": e.MO.RELACCENT, "\u291f": e.MO.RELACCENT, "\u2920": e.MO.RELACCENT, "\u2921": e.MO.RELSTRETCH, "\u2922": e.MO.RELSTRETCH, "\u2923": e.MO.REL, "\u2924": e.MO.REL, "\u2925": e.MO.REL, "\u2926": e.MO.REL, "\u2927": e.MO.REL, "\u2928": e.MO.REL, "\u2929": e.MO.REL, "\u292a": e.MO.REL, "\u292b": e.MO.REL, "\u292c": e.MO.REL, "\u292d": e.MO.REL, "\u292e": e.MO.REL, "\u292f": e.MO.REL, "\u2930": e.MO.REL, "\u2931": e.MO.REL, "\u2932": e.MO.REL, "\u2933": e.MO.RELACCENT, "\u2934": e.MO.REL, "\u2935": e.MO.REL, "\u2936": e.MO.REL, "\u2937": e.MO.REL, "\u2938": e.MO.REL, "\u2939": e.MO.REL, "\u293a": e.MO.RELACCENT, "\u293b": e.MO.RELACCENT, "\u293c": e.MO.RELACCENT, "\u293d": e.MO.RELACCENT, "\u293e": e.MO.REL, "\u293f": e.MO.REL, "\u2940": e.MO.REL, "\u2941": e.MO.REL, "\u2942": e.MO.RELACCENT, "\u2943": e.MO.RELACCENT, "\u2944": e.MO.RELACCENT, "\u2945": e.MO.RELACCENT, "\u2946": e.MO.RELACCENT, "\u2947": e.MO.RELACCENT, "\u2948": e.MO.RELACCENT, "\u2949": e.MO.REL, "\u294a": e.MO.RELACCENT, "\u294b": e.MO.RELACCENT, "\u294c": e.MO.REL, "\u294d": e.MO.REL, "\u294e": e.MO.WIDEREL, "\u294f": e.MO.RELSTRETCH, "\u2950": e.MO.WIDEREL, "\u2951": e.MO.RELSTRETCH, "\u2952": e.MO.WIDEREL, "\u2953": e.MO.WIDEREL, "\u2954": e.MO.RELSTRETCH, "\u2955": e.MO.RELSTRETCH, "\u2956": e.MO.RELSTRETCH, "\u2957": e.MO.RELSTRETCH, "\u2958": e.MO.RELSTRETCH, "\u2959": e.MO.RELSTRETCH, "\u295a": e.MO.WIDEREL, "\u295b": e.MO.WIDEREL, "\u295c": e.MO.RELSTRETCH, "\u295d": e.MO.RELSTRETCH, "\u295e": e.MO.WIDEREL, "\u295f": e.MO.WIDEREL, "\u2960": e.MO.RELSTRETCH, "\u2961": e.MO.RELSTRETCH, "\u2962": e.MO.RELACCENT, "\u2963": e.MO.REL, "\u2964": e.MO.RELACCENT, "\u2965": e.MO.REL, "\u2966": e.MO.RELACCENT, "\u2967": e.MO.RELACCENT, "\u2968": e.MO.RELACCENT, "\u2969": e.MO.RELACCENT, "\u296a": e.MO.RELACCENT, "\u296b": e.MO.RELACCENT, "\u296c": e.MO.RELACCENT, "\u296d": e.MO.RELACCENT, "\u296e": e.MO.RELSTRETCH, "\u296f": e.MO.RELSTRETCH, "\u2970": e.MO.RELACCENT, "\u2971": e.MO.RELACCENT, "\u2972": e.MO.RELACCENT, "\u2973": e.MO.RELACCENT, "\u2974": e.MO.RELACCENT, "\u2975": e.MO.RELACCENT, "\u2976": e.MO.RELACCENT, "\u2977": e.MO.RELACCENT, "\u2978": e.MO.RELACCENT, "\u2979": e.MO.RELACCENT, "\u297a": e.MO.RELACCENT, "\u297b": e.MO.RELACCENT, "\u297c": e.MO.RELACCENT, "\u297d": e.MO.RELACCENT, "\u297e": e.MO.REL, "\u297f": e.MO.REL, "\u2981": e.MO.BIN3, "\u2982": e.MO.BIN3, "\u2999": e.MO.BIN3, "\u299a": e.MO.BIN3, "\u299b": e.MO.BIN3, "\u299c": e.MO.BIN3, "\u299d": e.MO.BIN3, "\u299e": e.MO.BIN3, "\u299f": e.MO.BIN3, "\u29a0": e.MO.BIN3, "\u29a1": e.MO.BIN3, "\u29a2": e.MO.BIN3, "\u29a3": e.MO.BIN3, "\u29a4": e.MO.BIN3, "\u29a5": e.MO.BIN3, "\u29a6": e.MO.BIN3, "\u29a7": e.MO.BIN3, "\u29a8": e.MO.BIN3, "\u29a9": e.MO.BIN3, "\u29aa": e.MO.BIN3, "\u29ab": e.MO.BIN3, "\u29ac": e.MO.BIN3, "\u29ad": e.MO.BIN3, "\u29ae": e.MO.BIN3, "\u29af": e.MO.BIN3, "\u29b0": e.MO.BIN3, "\u29b1": e.MO.BIN3, "\u29b2": e.MO.BIN3, "\u29b3": e.MO.BIN3, "\u29b4": e.MO.BIN3, "\u29b5": e.MO.BIN3, "\u29b6": e.MO.BIN4, "\u29b7": e.MO.BIN4, "\u29b8": e.MO.BIN4, "\u29b9": e.MO.BIN4, "\u29ba": e.MO.BIN4, "\u29bb": e.MO.BIN4, "\u29bc": e.MO.BIN4, "\u29bd": e.MO.BIN4, "\u29be": e.MO.BIN4, "\u29bf": e.MO.BIN4, "\u29c0": e.MO.REL, "\u29c1": e.MO.REL, "\u29c2": e.MO.BIN3, "\u29c3": e.MO.BIN3, "\u29c4": e.MO.BIN4, "\u29c5": e.MO.BIN4, "\u29c6": e.MO.BIN4, "\u29c7": e.MO.BIN4, "\u29c8": e.MO.BIN4, "\u29c9": e.MO.BIN3, "\u29ca": e.MO.BIN3, "\u29cb": e.MO.BIN3, "\u29cc": e.MO.BIN3, "\u29cd": e.MO.BIN3, "\u29ce": e.MO.REL, "\u29cf": e.MO.REL, "\u29cf\u0338": e.MO.REL, "\u29d0": e.MO.REL, "\u29d0\u0338": e.MO.REL, "\u29d1": e.MO.REL, "\u29d2": e.MO.REL, "\u29d3": e.MO.REL, "\u29d4": e.MO.REL, "\u29d5": e.MO.REL, "\u29d6": e.MO.BIN4, "\u29d7": e.MO.BIN4, "\u29d8": e.MO.BIN3, "\u29d9": e.MO.BIN3, "\u29db": e.MO.BIN3, "\u29dc": e.MO.BIN3, "\u29dd": e.MO.BIN3, "\u29de": e.MO.REL, "\u29df": e.MO.BIN3, "\u29e0": e.MO.BIN3, "\u29e1": e.MO.REL, "\u29e2": e.MO.BIN4, "\u29e3": e.MO.REL, "\u29e4": e.MO.REL, "\u29e5": e.MO.REL, "\u29e6": e.MO.REL, "\u29e7": e.MO.BIN3, "\u29e8": e.MO.BIN3, "\u29e9": e.MO.BIN3, "\u29ea": e.MO.BIN3, "\u29eb": e.MO.BIN3, "\u29ec": e.MO.BIN3, "\u29ed": e.MO.BIN3, "\u29ee": e.MO.BIN3, "\u29ef": e.MO.BIN3, "\u29f0": e.MO.BIN3, "\u29f1": e.MO.BIN3, "\u29f2": e.MO.BIN3, "\u29f3": e.MO.BIN3, "\u29f4": e.MO.REL, "\u29f5": e.MO.BIN4, "\u29f6": e.MO.BIN4, "\u29f7": e.MO.BIN4, "\u29f8": e.MO.BIN3, "\u29f9": e.MO.BIN3, "\u29fa": e.MO.BIN3, "\u29fb": e.MO.BIN3, "\u29fe": e.MO.BIN4, "\u29ff": e.MO.BIN4, "\u2a1d": e.MO.BIN3, "\u2a1e": e.MO.BIN3, "\u2a1f": e.MO.BIN3, "\u2a20": e.MO.BIN3, "\u2a21": e.MO.BIN3, "\u2a22": e.MO.BIN4, "\u2a23": e.MO.BIN4, "\u2a24": e.MO.BIN4, "\u2a25": e.MO.BIN4, "\u2a26": e.MO.BIN4, "\u2a27": e.MO.BIN4, "\u2a28": e.MO.BIN4, "\u2a29": e.MO.BIN4, "\u2a2a": e.MO.BIN4, "\u2a2b": e.MO.BIN4, "\u2a2c": e.MO.BIN4, "\u2a2d": e.MO.BIN4, "\u2a2e": e.MO.BIN4, "\u2a2f": e.MO.BIN4, "\u2a30": e.MO.BIN4, "\u2a31": e.MO.BIN4, "\u2a32": e.MO.BIN4, "\u2a33": e.MO.BIN4, "\u2a34": e.MO.BIN4, "\u2a35": e.MO.BIN4, "\u2a36": e.MO.BIN4, "\u2a37": e.MO.BIN4, "\u2a38": e.MO.BIN4, "\u2a39": e.MO.BIN4, "\u2a3a": e.MO.BIN4, "\u2a3b": e.MO.BIN4, "\u2a3c": e.MO.BIN4, "\u2a3d": e.MO.BIN4, "\u2a3e": e.MO.BIN4, "\u2a3f": e.MO.BIN4, "\u2a40": e.MO.BIN4, "\u2a41": e.MO.BIN4, "\u2a42": e.MO.BIN4, "\u2a43": e.MO.BIN4, "\u2a44": e.MO.BIN4, "\u2a45": e.MO.BIN4, "\u2a46": e.MO.BIN4, "\u2a47": e.MO.BIN4, "\u2a48": e.MO.BIN4, "\u2a49": e.MO.BIN4, "\u2a4a": e.MO.BIN4, "\u2a4b": e.MO.BIN4, "\u2a4c": e.MO.BIN4, "\u2a4d": e.MO.BIN4, "\u2a4e": e.MO.BIN4, "\u2a4f": e.MO.BIN4, "\u2a50": e.MO.BIN4, "\u2a51": e.MO.BIN4, "\u2a52": e.MO.BIN4, "\u2a53": e.MO.BIN4, "\u2a54": e.MO.BIN4, "\u2a55": e.MO.BIN4, "\u2a56": e.MO.BIN4, "\u2a57": e.MO.BIN4, "\u2a58": e.MO.BIN4, "\u2a59": e.MO.REL, "\u2a5a": e.MO.BIN4, "\u2a5b": e.MO.BIN4, "\u2a5c": e.MO.BIN4, "\u2a5d": e.MO.BIN4, "\u2a5e": e.MO.BIN4, "\u2a5f": e.MO.BIN4, "\u2a60": e.MO.BIN4, "\u2a61": e.MO.BIN4, "\u2a62": e.MO.BIN4, "\u2a63": e.MO.BIN4, "\u2a64": e.MO.BIN4, "\u2a65": e.MO.BIN4, "\u2a66": e.MO.REL, "\u2a67": e.MO.REL, "\u2a68": e.MO.REL, "\u2a69": e.MO.REL, "\u2a6a": e.MO.REL, "\u2a6b": e.MO.REL, "\u2a6c": e.MO.REL, "\u2a6d": e.MO.REL, "\u2a6e": e.MO.REL, "\u2a6f": e.MO.REL, "\u2a70": e.MO.REL, "\u2a71": e.MO.BIN4, "\u2a72": e.MO.BIN4, "\u2a73": e.MO.REL, "\u2a74": e.MO.REL, "\u2a75": e.MO.REL, "\u2a76": e.MO.REL, "\u2a77": e.MO.REL, "\u2a78": e.MO.REL, "\u2a79": e.MO.REL, "\u2a7a": e.MO.REL, "\u2a7b": e.MO.REL, "\u2a7c": e.MO.REL, "\u2a7d": e.MO.REL, "\u2a7d\u0338": e.MO.REL, "\u2a7e": e.MO.REL, "\u2a7e\u0338": e.MO.REL, "\u2a7f": e.MO.REL, "\u2a80": e.MO.REL, "\u2a81": e.MO.REL, "\u2a82": e.MO.REL, "\u2a83": e.MO.REL, "\u2a84": e.MO.REL, "\u2a85": e.MO.REL, "\u2a86": e.MO.REL, "\u2a87": e.MO.REL, "\u2a88": e.MO.REL, "\u2a89": e.MO.REL, "\u2a8a": e.MO.REL, "\u2a8b": e.MO.REL, "\u2a8c": e.MO.REL, "\u2a8d": e.MO.REL, "\u2a8e": e.MO.REL, "\u2a8f": e.MO.REL, "\u2a90": e.MO.REL, "\u2a91": e.MO.REL, "\u2a92": e.MO.REL, "\u2a93": e.MO.REL, "\u2a94": e.MO.REL, "\u2a95": e.MO.REL, "\u2a96": e.MO.REL, "\u2a97": e.MO.REL, "\u2a98": e.MO.REL, "\u2a99": e.MO.REL, "\u2a9a": e.MO.REL, "\u2a9b": e.MO.REL, "\u2a9c": e.MO.REL, "\u2a9d": e.MO.REL, "\u2a9e": e.MO.REL, "\u2a9f": e.MO.REL, "\u2aa0": e.MO.REL, "\u2aa1": e.MO.REL, "\u2aa1\u0338": e.MO.REL, "\u2aa2": e.MO.REL, "\u2aa2\u0338": e.MO.REL, "\u2aa3": e.MO.REL, "\u2aa4": e.MO.REL, "\u2aa5": e.MO.REL, "\u2aa6": e.MO.REL, "\u2aa7": e.MO.REL, "\u2aa8": e.MO.REL, "\u2aa9": e.MO.REL, "\u2aaa": e.MO.REL, "\u2aab": e.MO.REL, "\u2aac": e.MO.REL, "\u2aad": e.MO.REL, "\u2aae": e.MO.REL, "\u2aaf": e.MO.REL, "\u2aaf\u0338": e.MO.REL, "\u2ab0": e.MO.REL, "\u2ab0\u0338": e.MO.REL, "\u2ab1": e.MO.REL, "\u2ab2": e.MO.REL, "\u2ab3": e.MO.REL, "\u2ab4": e.MO.REL, "\u2ab5": e.MO.REL, "\u2ab6": e.MO.REL, "\u2ab7": e.MO.REL, "\u2ab8": e.MO.REL, "\u2ab9": e.MO.REL, "\u2aba": e.MO.REL, "\u2abb": e.MO.REL, "\u2abc": e.MO.REL, "\u2abd": e.MO.REL, "\u2abe": e.MO.REL, "\u2abf": e.MO.REL, "\u2ac0": e.MO.REL, "\u2ac1": e.MO.REL, "\u2ac2": e.MO.REL, "\u2ac3": e.MO.REL, "\u2ac4": e.MO.REL, "\u2ac5": e.MO.REL, "\u2ac6": e.MO.REL, "\u2ac7": e.MO.REL, "\u2ac8": e.MO.REL, "\u2ac9": e.MO.REL, "\u2aca": e.MO.REL, "\u2acb": e.MO.REL, "\u2acc": e.MO.REL, "\u2acd": e.MO.REL, "\u2ace": e.MO.REL, "\u2acf": e.MO.REL, "\u2ad0": e.MO.REL, "\u2ad1": e.MO.REL, "\u2ad2": e.MO.REL, "\u2ad3": e.MO.REL, "\u2ad4": e.MO.REL, "\u2ad5": e.MO.REL, "\u2ad6": e.MO.REL, "\u2ad7": e.MO.REL, "\u2ad8": e.MO.REL, "\u2ad9": e.MO.REL, "\u2ada": e.MO.REL, "\u2adb": e.MO.REL, "\u2adc": e.MO.REL, "\u2add": e.MO.REL, "\u2ade": e.MO.REL, "\u2adf": e.MO.REL, "\u2ae0": e.MO.REL, "\u2ae1": e.MO.REL, "\u2ae2": e.MO.REL, "\u2ae3": e.MO.REL, "\u2ae4": e.MO.REL, "\u2ae5": e.MO.REL, "\u2ae6": e.MO.REL, "\u2ae7": e.MO.REL, "\u2ae8": e.MO.REL, "\u2ae9": e.MO.REL, "\u2aea": e.MO.REL, "\u2aeb": e.MO.REL, "\u2aec": e.MO.REL, "\u2aed": e.MO.REL, "\u2aee": e.MO.REL, "\u2aef": e.MO.REL, "\u2af0": e.MO.REL, "\u2af1": e.MO.REL, "\u2af2": e.MO.REL, "\u2af3": e.MO.REL, "\u2af4": e.MO.BIN4, "\u2af5": e.MO.BIN4, "\u2af6": e.MO.BIN4, "\u2af7": e.MO.REL, "\u2af8": e.MO.REL, "\u2af9": e.MO.REL, "\u2afa": e.MO.REL, "\u2afb": e.MO.BIN4, "\u2afd": e.MO.BIN4, "\u2afe": e.MO.BIN3, "\u2b45": e.MO.RELSTRETCH, "\u2b46": e.MO.RELSTRETCH, "\u3008": e.MO.OPEN, "\u3009": e.MO.CLOSE, "\ufe37": e.MO.WIDEACCENT, "\ufe38": e.MO.WIDEACCENT, }, }), (e.OPTABLE.infix["^"] = e.MO.WIDEREL), (e.OPTABLE.infix._ = e.MO.WIDEREL), (e.OPTABLE.prefix["\u2223"] = e.MO.OPEN), (e.OPTABLE.prefix["\u2225"] = e.MO.OPEN), (e.OPTABLE.postfix["\u2223"] = e.MO.CLOSE), (e.OPTABLE.postfix["\u2225"] = e.MO.CLOSE); }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__assign) || function () { return (i = Object.assign || function (t) { for (var e, r = 1, n = arguments.length; r < n; r++) for (var o in (e = arguments[r])) Object.prototype.hasOwnProperty.call(e, o) && (t[o] = e[o]); return t; }).apply(this, arguments); }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.MmlMstyle = void 0); var s = r(0), a = r(12), c = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), Object.defineProperty(e.prototype, "kind", { get: function () { return "mstyle"; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "notParent", { get: function () { return !0; }, enumerable: !1, configurable: !0, }), (e.prototype.setChildInheritedAttributes = function (t, e, r, n) { var o = this.attributes.getExplicit("scriptlevel"); null != o && ((o = o.toString()).match(/^\s*[-+]/) ? (r += parseInt(o)) : (r = parseInt(o))); var i = this.attributes.getExplicit("displaystyle"); null != i && (e = !0 === i), (t = this.addInheritedAttributes( t, this.attributes.getAllAttributes(), )), this.childNodes[0].setInheritedAttributes(t, e, r, n); }), (e.defaults = i(i({}, s.AbstractMmlLayoutNode.defaults), { scriptlevel: a.INHERIT, displaystyle: a.INHERIT, scriptsizemultiplier: 1 / Math.sqrt(2), scriptminsize: "8px", mathbackground: a.INHERIT, mathcolor: a.INHERIT, dir: a.INHERIT, infixlinebreakstyle: "before", })), e ); })(s.AbstractMmlLayoutNode); e.MmlMstyle = c; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__assign) || function () { return (i = Object.assign || function (t) { for (var e, r = 1, n = arguments.length; r < n; r++) for (var o in (e = arguments[r])) Object.prototype.hasOwnProperty.call(e, o) && (t[o] = e[o]); return t; }).apply(this, arguments); }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.MmlMerror = void 0); var s = r(0), a = (function (t) { function e() { var e = (null !== t && t.apply(this, arguments)) || this; return (e.texClass = s.TEXCLASS.ORD), e; } return ( o(e, t), Object.defineProperty(e.prototype, "kind", { get: function () { return "merror"; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "arity", { get: function () { return -1; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "linebreakContainer", { get: function () { return !0; }, enumerable: !1, configurable: !0, }), (e.defaults = i({}, s.AbstractMmlNode.defaults)), e ); })(s.AbstractMmlNode); e.MmlMerror = a; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__assign) || function () { return (i = Object.assign || function (t) { for (var e, r = 1, n = arguments.length; r < n; r++) for (var o in (e = arguments[r])) Object.prototype.hasOwnProperty.call(e, o) && (t[o] = e[o]); return t; }).apply(this, arguments); }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.MmlMphantom = void 0); var s = r(0), a = (function (t) { function e() { var e = (null !== t && t.apply(this, arguments)) || this; return (e.texClass = s.TEXCLASS.ORD), e; } return ( o(e, t), Object.defineProperty(e.prototype, "kind", { get: function () { return "mphantom"; }, enumerable: !1, configurable: !0, }), (e.defaults = i({}, s.AbstractMmlLayoutNode.defaults)), e ); })(s.AbstractMmlLayoutNode); e.MmlMphantom = a; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__assign) || function () { return (i = Object.assign || function (t) { for (var e, r = 1, n = arguments.length; r < n; r++) for (var o in (e = arguments[r])) Object.prototype.hasOwnProperty.call(e, o) && (t[o] = e[o]); return t; }).apply(this, arguments); }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.MmlMaligngroup = void 0); var s = r(0), a = r(12), c = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), Object.defineProperty(e.prototype, "kind", { get: function () { return "maligngroup"; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "isSpacelike", { get: function () { return !0; }, enumerable: !1, configurable: !0, }), (e.prototype.setChildInheritedAttributes = function (e, r, n, o) { (e = this.addInheritedAttributes( e, this.attributes.getAllAttributes(), )), t.prototype.setChildInheritedAttributes.call(this, e, r, n, o); }), (e.defaults = i(i({}, s.AbstractMmlLayoutNode.defaults), { groupalign: a.INHERIT, })), e ); })(s.AbstractMmlLayoutNode); e.MmlMaligngroup = c; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__assign) || function () { return (i = Object.assign || function (t) { for (var e, r = 1, n = arguments.length; r < n; r++) for (var o in (e = arguments[r])) Object.prototype.hasOwnProperty.call(e, o) && (t[o] = e[o]); return t; }).apply(this, arguments); }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.MmlMalignmark = void 0); var s = r(0), a = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), Object.defineProperty(e.prototype, "kind", { get: function () { return "malignmark"; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "arity", { get: function () { return 0; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "isSpacelike", { get: function () { return !0; }, enumerable: !1, configurable: !0, }), (e.defaults = i(i({}, s.AbstractMmlNode.defaults), { edge: "left" })), e ); })(s.AbstractMmlNode); e.MmlMalignmark = a; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__assign) || function () { return (i = Object.assign || function (t) { for (var e, r = 1, n = arguments.length; r < n; r++) for (var o in (e = arguments[r])) Object.prototype.hasOwnProperty.call(e, o) && (t[o] = e[o]); return t; }).apply(this, arguments); }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.MathChoice = void 0); var s = r(0), a = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), Object.defineProperty(e.prototype, "kind", { get: function () { return "MathChoice"; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "arity", { get: function () { return 4; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "notParent", { get: function () { return !0; }, enumerable: !1, configurable: !0, }), (e.prototype.setInheritedAttributes = function (t, e, r, n) { var o = e ? 0 : Math.max(0, Math.min(r, 2)) + 1, i = this.childNodes[o] || this.factory.create("mrow"); this.parent.replaceChild(i, this), i.setInheritedAttributes(t, e, r, n); }), (e.defaults = i({}, s.AbstractMmlBaseNode.defaults)), e ); })(s.AbstractMmlBaseNode); e.MathChoice = a; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__values) || function (t) { var e = "function" == typeof Symbol && Symbol.iterator, r = e && t[e], n = 0; if (r) return r.call(t); if (t && "number" == typeof t.length) return { next: function () { return ( t && n >= t.length && (t = void 0), { value: t && t[n++], done: !t } ); }, }; throw new TypeError( e ? "Object is not iterable." : "Symbol.iterator is not defined.", ); }, s = (this && this.__read) || function (t, e) { var r = "function" == typeof Symbol && t[Symbol.iterator]; if (!r) return t; var n, o, i = r.call(t), s = []; try { for (; (void 0 === e || e-- > 0) && !(n = i.next()).done; ) s.push(n.value); } catch (t) { o = { error: t }; } finally { try { n && !n.done && (r = i.return) && r.call(i); } finally { if (o) throw o.error; } } return s; }, a = (this && this.__spread) || function () { for (var t = [], e = 0; e < arguments.length; e++) t = t.concat(s(arguments[e])); return t; }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.BitFieldClass = e.BitField = void 0); var c = (function () { function t() { this.bits = 0; } return ( (t.allocate = function () { for (var e, r, n = [], o = 0; o < arguments.length; o++) n[o] = arguments[o]; try { for (var s = i(n), a = s.next(); !a.done; a = s.next()) { var c = a.value; if (this.has(c)) throw new Error("Bit already allocated for " + c); if (this.next === t.MAXBIT) throw new Error("Maximum number of bits already allocated"); this.names.set(c, this.next), (this.next <<= 1); } } catch (t) { e = { error: t }; } finally { try { a && !a.done && (r = s.return) && r.call(s); } finally { if (e) throw e.error; } } }), (t.has = function (t) { return this.names.has(t); }), (t.prototype.set = function (t) { this.bits |= this.getBit(t); }), (t.prototype.clear = function (t) { this.bits &= ~this.getBit(t); }), (t.prototype.isSet = function (t) { return !!(this.bits & this.getBit(t)); }), (t.prototype.reset = function () { this.bits = 0; }), (t.prototype.getBit = function (t) { var e = this.constructor.names.get(t); if (!e) throw new Error("Unknown bit-field name: " + t); return e; }), (t.MAXBIT = 1 << 31), (t.next = 1), (t.names = new Map()), t ); })(); (e.BitField = c), (e.BitFieldClass = function () { for (var t = [], e = 0; e < arguments.length; e++) t[e] = arguments[e]; var r = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return o(e, t), e; })(c); return r.allocate.apply(r, a(t)), r; }); }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__values) || function (t) { var e = "function" == typeof Symbol && Symbol.iterator, r = e && t[e], n = 0; if (r) return r.call(t); if (t && "number" == typeof t.length) return { next: function () { return ( t && n >= t.length && (t = void 0), { value: t && t[n++], done: !t } ); }, }; throw new TypeError( e ? "Object is not iterable." : "Symbol.iterator is not defined.", ); }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.HandlerList = void 0); var s = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), (e.prototype.register = function (t) { return this.add(t, t.priority); }), (e.prototype.unregister = function (t) { this.remove(t); }), (e.prototype.handlesDocument = function (t) { var e, r; try { for (var n = i(this), o = n.next(); !o.done; o = n.next()) { var s = o.value.item; if (s.handlesDocument(t)) return s; } } catch (t) { e = { error: t }; } finally { try { o && !o.done && (r = n.return) && r.call(n); } finally { if (e) throw e.error; } } throw new Error("Can't find handler for document"); }), (e.prototype.document = function (t, e) { return ( void 0 === e && (e = null), this.handlesDocument(t).create(t, e) ); }), e ); })(r(14).PrioritizedList); e.HandlerList = s; }, function (t, e, r) { "use strict"; var n = (this && this.__values) || function (t) { var e = "function" == typeof Symbol && Symbol.iterator, r = e && t[e], n = 0; if (r) return r.call(t); if (t && "number" == typeof t.length) return { next: function () { return ( t && n >= t.length && (t = void 0), { value: t && t[n++], done: !t } ); }, }; throw new TypeError( e ? "Object is not iterable." : "Symbol.iterator is not defined.", ); }, o = (this && this.__read) || function (t, e) { var r = "function" == typeof Symbol && t[Symbol.iterator]; if (!r) return t; var n, o, i = r.call(t), s = []; try { for (; (void 0 === e || e-- > 0) && !(n = i.next()).done; ) s.push(n.value); } catch (t) { o = { error: t }; } finally { try { n && !n.done && (r = i.return) && r.call(i); } finally { if (o) throw o.error; } } return s; }, i = (this && this.__spread) || function () { for (var t = [], e = 0; e < arguments.length; e++) t = t.concat(o(arguments[e])); return t; }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.AbstractVisitor = void 0); var s = r(36), a = (function () { function t(e) { var r, o; this.nodeHandlers = new Map(); try { for (var i = n(e.getKinds()), s = i.next(); !s.done; s = i.next()) { var a = s.value, c = this[t.methodName(a)]; c && this.nodeHandlers.set(a, c); } } catch (t) { r = { error: t }; } finally { try { s && !s.done && (o = i.return) && o.call(i); } finally { if (r) throw r.error; } } } return ( (t.methodName = function (t) { return ( "visit" + (t.charAt(0).toUpperCase() + t.substr(1)).replace( /[^a-z0-9_]/gi, "_", ) + "Node" ); }), (t.prototype.visitTree = function (t) { for (var e = [], r = 1; r < arguments.length; r++) e[r - 1] = arguments[r]; return this.visitNode.apply(this, i([t], e)); }), (t.prototype.visitNode = function (t) { for (var e = [], r = 1; r < arguments.length; r++) e[r - 1] = arguments[r]; var n = this.nodeHandlers.get(t.kind) || this.visitDefault; return n.call.apply(n, i([this, t], e)); }), (t.prototype.visitDefault = function (t) { for (var e, r, o = [], a = 1; a < arguments.length; a++) o[a - 1] = arguments[a]; if (t instanceof s.AbstractNode) try { for ( var c = n(t.childNodes), l = c.next(); !l.done; l = c.next() ) { var u = l.value; this.visitNode.apply(this, i([u], o)); } } catch (t) { e = { error: t }; } finally { try { l && !l.done && (r = c.return) && r.call(c); } finally { if (e) throw e.error; } } }), (t.prototype.setNodeHandler = function (t, e) { this.nodeHandlers.set(t, e); }), (t.prototype.removeNodeHandler = function (t) { this.nodeHandlers.delete(t); }), t ); })(); e.AbstractVisitor = a; }, function (t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }), (e.AbstractWrapper = void 0); var n = (function () { function t(t, e) { (this.factory = t), (this.node = e); } return ( Object.defineProperty(t.prototype, "kind", { get: function () { return this.node.kind; }, enumerable: !1, configurable: !0, }), (t.prototype.wrap = function (t) { return this.factory.wrap(t); }), t ); })(); e.AbstractWrapper = n; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__read) || function (t, e) { var r = "function" == typeof Symbol && t[Symbol.iterator]; if (!r) return t; var n, o, i = r.call(t), s = []; try { for (; (void 0 === e || e-- > 0) && !(n = i.next()).done; ) s.push(n.value); } catch (t) { o = { error: t }; } finally { try { n && !n.done && (r = i.return) && r.call(i); } finally { if (o) throw o.error; } } return s; }, s = (this && this.__spread) || function () { for (var t = [], e = 0; e < arguments.length; e++) t = t.concat(i(arguments[e])); return t; }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.AbstractWrapperFactory = void 0); var a = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), (e.prototype.wrap = function (t) { for (var e = [], r = 1; r < arguments.length; r++) e[r - 1] = arguments[r]; return this.create.apply(this, s([t.kind, t], e)); }), e ); })(r(35).AbstractFactory); e.AbstractWrapperFactory = a; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__assign) || function () { return (i = Object.assign || function (t) { for (var e, r = 1, n = arguments.length; r < n; r++) for (var o in (e = arguments[r])) Object.prototype.hasOwnProperty.call(e, o) && (t[o] = e[o]); return t; }).apply(this, arguments); }, s = (this && this.__read) || function (t, e) { var r = "function" == typeof Symbol && t[Symbol.iterator]; if (!r) return t; var n, o, i = r.call(t), s = []; try { for (; (void 0 === e || e-- > 0) && !(n = i.next()).done; ) s.push(n.value); } catch (t) { o = { error: t }; } finally { try { n && !n.done && (r = i.return) && r.call(i); } finally { if (o) throw o.error; } } return s; }, a = (this && this.__values) || function (t) { var e = "function" == typeof Symbol && Symbol.iterator, r = e && t[e], n = 0; if (r) return r.call(t); if (t && "number" == typeof t.length) return { next: function () { return ( t && n >= t.length && (t = void 0), { value: t && t[n++], done: !t } ); }, }; throw new TypeError( e ? "Object is not iterable." : "Symbol.iterator is not defined.", ); }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.HTMLDocument = void 0); var c = r(30), l = r(4), u = r(95), h = r(96), p = r(97), f = r(10), d = (function (t) { function e(e, r, n) { var o = this, i = s(l.separateOptions(n, p.HTMLDomStrings.OPTIONS), 2), a = i[0], c = i[1]; return ( ((o = t.call(this, e, r, a) || this).domStrings = o.options.DomStrings || new p.HTMLDomStrings(c)), (o.domStrings.adaptor = r), (o.styles = []), o ); } return ( o(e, t), (e.prototype.findPosition = function (t, e, r, n) { var o, i, c = this.adaptor; try { for (var l = a(n[t]), u = l.next(); !u.done; u = l.next()) { var h = u.value, p = s(h, 2), f = p[0], d = p[1]; if (e <= d && "#text" === c.kind(f)) return { node: f, n: Math.max(e, 0), delim: r }; e -= d; } } catch (t) { o = { error: t }; } finally { try { u && !u.done && (i = l.return) && i.call(l); } finally { if (o) throw o.error; } } return { node: null, n: 0, delim: r }; }), (e.prototype.mathItem = function (t, e, r) { var n = t.math, o = this.findPosition(t.n, t.start.n, t.open, r), i = this.findPosition(t.n, t.end.n, t.close, r); return new this.options.MathItem(n, e, t.display, o, i); }), (e.prototype.findMath = function (t) { var e, r, n, o, i, c, u, h, p; if (!this.processed.isSet("findMath")) { (this.adaptor.document = this.document), (t = l.userOptions( { elements: this.options.elements || [ this.adaptor.body(this.document), ], }, t, )); try { for ( var f = a( this.adaptor.getElements(t.elements, this.document), ), d = f.next(); !d.done; d = f.next() ) { var y = d.value, m = s([null, null], 2), v = m[0], b = m[1]; try { for ( var M = ((n = void 0), a(this.inputJax)), g = M.next(); !g.done; g = M.next() ) { var O = g.value, x = new this.options.MathList(); if (O.processStrings) { null === v && ((v = (i = s(this.domStrings.find(y), 2))[0]), (b = i[1])); try { for ( var S = ((c = void 0), a(O.findMath(v))), _ = S.next(); !_.done; _ = S.next() ) { var E = _.value; x.push(this.mathItem(E, O, b)); } } catch (t) { c = { error: t }; } finally { try { _ && !_.done && (u = S.return) && u.call(S); } finally { if (c) throw c.error; } } } else try { for ( var C = ((h = void 0), a(O.findMath(y))), L = C.next(); !L.done; L = C.next() ) { E = L.value; var T = new this.options.MathItem( E.math, O, E.display, E.start, E.end, ); x.push(T); } } catch (t) { h = { error: t }; } finally { try { L && !L.done && (p = C.return) && p.call(C); } finally { if (h) throw h.error; } } this.math.merge(x); } } catch (t) { n = { error: t }; } finally { try { g && !g.done && (o = M.return) && o.call(M); } finally { if (n) throw n.error; } } } } catch (t) { e = { error: t }; } finally { try { d && !d.done && (r = f.return) && r.call(f); } finally { if (e) throw e.error; } } this.processed.set("findMath"); } return this; }), (e.prototype.updateDocument = function () { return ( this.processed.isSet("updateDocument") || (this.addPageElements(), this.addStyleSheet(), t.prototype.updateDocument.call(this), this.processed.set("updateDocument")), this ); }), (e.prototype.addPageElements = function () { var t = this.adaptor.body(this.document), e = this.documentPageElements(); e && this.adaptor.append(t, e); }), (e.prototype.addStyleSheet = function () { var t = this.documentStyleSheet(); if (t) { var e = this.adaptor.head(this.document), r = this.findSheet(e, this.adaptor.getAttribute(t, "id")); r ? this.adaptor.replace(t, r) : this.adaptor.append(e, t); } }), (e.prototype.findSheet = function (t, e) { var r, n; if (e) try { for ( var o = a(this.adaptor.tags(t, "style")), i = o.next(); !i.done; i = o.next() ) { var s = i.value; if (this.adaptor.getAttribute(s, "id") === e) return s; } } catch (t) { r = { error: t }; } finally { try { i && !i.done && (n = o.return) && n.call(o); } finally { if (r) throw r.error; } } return null; }), (e.prototype.removeFromDocument = function (t) { var e, r; if ( (void 0 === t && (t = !1), this.processed.isSet("updateDocument")) ) try { for ( var n = a(this.math), o = n.next(); !o.done; o = n.next() ) { var i = o.value; i.state() >= f.STATE.INSERTED && i.state(f.STATE.TYPESET, t); } } catch (t) { e = { error: t }; } finally { try { o && !o.done && (r = n.return) && r.call(n); } finally { if (e) throw e.error; } } return this.processed.clear("updateDocument"), this; }), (e.prototype.documentStyleSheet = function () { return this.outputJax.styleSheet(this); }), (e.prototype.documentPageElements = function () { return this.outputJax.pageElements(this); }), (e.prototype.addStyles = function (t) { this.styles.push(t); }), (e.prototype.getStyles = function () { return this.styles; }), (e.KIND = "HTML"), (e.OPTIONS = i(i({}, c.AbstractMathDocument.OPTIONS), { renderActions: l.expandable( i(i({}, c.AbstractMathDocument.OPTIONS.renderActions), { styles: [f.STATE.INSERTED + 1, "", "updateStyleSheet", !1], }), ), MathList: h.HTMLMathList, MathItem: u.HTMLMathItem, DomStrings: null, })), e ); })(c.AbstractMathDocument); e.HTMLDocument = d; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }); Object.defineProperty(e, "__esModule", { value: !0 }), (e.HTMLMathItem = void 0); var i = r(10), s = (function (t) { function e(e, r, n, o, i) { return ( void 0 === n && (n = !0), void 0 === o && (o = { node: null, n: 0, delim: "" }), void 0 === i && (i = { node: null, n: 0, delim: "" }), t.call(this, e, r, n, o, i) || this ); } return ( o(e, t), Object.defineProperty(e.prototype, "adaptor", { get: function () { return this.inputJax.adaptor; }, enumerable: !1, configurable: !0, }), (e.prototype.updateDocument = function (t) { if (this.state() < i.STATE.INSERTED) { if (this.inputJax.processStrings) { var e = this.start.node; if (e === this.end.node) this.end.n && this.end.n < this.adaptor.value(this.end.node).length && this.adaptor.split(this.end.node, this.end.n), this.start.n && (e = this.adaptor.split(this.start.node, this.start.n)), this.adaptor.replace(this.typesetRoot, e); else { for ( this.start.n && (e = this.adaptor.split(e, this.start.n)); e !== this.end.node; ) { var r = this.adaptor.next(e); this.adaptor.remove(e), (e = r); } this.adaptor.insert(this.typesetRoot, e), this.end.n < this.adaptor.value(e).length && this.adaptor.split(e, this.end.n), this.adaptor.remove(e); } } else this.adaptor.replace(this.typesetRoot, this.start.node); (this.start.node = this.end.node = this.typesetRoot), (this.start.n = this.end.n = 0), this.state(i.STATE.INSERTED); } }), (e.prototype.updateStyleSheet = function (t) { t.addStyleSheet(); }), (e.prototype.removeFromDocument = function (t) { if ((void 0 === t && (t = !1), this.state() >= i.STATE.TYPESET)) { var e = this.adaptor, r = this.start.node, n = e.text(""); if (t) { var o = this.start.delim + this.math + this.end.delim; if (this.inputJax.processStrings) n = e.text(o); else { var s = e.parse(o, "text/html"); n = e.firstChild(e.body(s)); } } e.parent(r) && e.replace(n, r), (this.start.node = this.end.node = n), (this.start.n = this.end.n = 0); } }), e ); })(i.AbstractMathItem); e.HTMLMathItem = s; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }); Object.defineProperty(e, "__esModule", { value: !0 }), (e.HTMLMathList = void 0); var i = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return o(e, t), e; })(r(33).AbstractMathList); e.HTMLMathList = i; }, function (t, e, r) { "use strict"; var n = (this && this.__read) || function (t, e) { var r = "function" == typeof Symbol && t[Symbol.iterator]; if (!r) return t; var n, o, i = r.call(t), s = []; try { for (; (void 0 === e || e-- > 0) && !(n = i.next()).done; ) s.push(n.value); } catch (t) { o = { error: t }; } finally { try { n && !n.done && (r = i.return) && r.call(i); } finally { if (o) throw o.error; } } return s; }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.HTMLDomStrings = void 0); var o = r(4), i = (function () { function t(t) { void 0 === t && (t = null); var e = this.constructor; (this.options = o.userOptions(o.defaultOptions({}, e.OPTIONS), t)), this.init(), this.getPatterns(); } return ( (t.prototype.init = function () { (this.strings = []), (this.string = ""), (this.snodes = []), (this.nodes = []), (this.stack = []); }), (t.prototype.getPatterns = function () { var t = o.makeArray(this.options.skipHtmlTags), e = o.makeArray(this.options.ignoreHtmlClass), r = o.makeArray(this.options.processHtmlClass); (this.skipHtmlTags = new RegExp("^(?:" + t.join("|") + ")$", "i")), (this.ignoreHtmlClass = new RegExp( "(?:^| )(?:" + e.join("|") + ")(?: |$)", )), (this.processHtmlClass = new RegExp( "(?:^| )(?:" + r + ")(?: |$)", )); }), (t.prototype.pushString = function () { this.string.match(/\S/) && (this.strings.push(this.string), this.nodes.push(this.snodes)), (this.string = ""), (this.snodes = []); }), (t.prototype.extendString = function (t, e) { this.snodes.push([t, e.length]), (this.string += e); }), (t.prototype.handleText = function (t, e) { return ( e || this.extendString(t, this.adaptor.value(t)), this.adaptor.next(t) ); }), (t.prototype.handleTag = function (t, e) { if (!e) { var r = this.options.includeHtmlTags[this.adaptor.kind(t)]; this.extendString(t, r); } return this.adaptor.next(t); }), (t.prototype.handleContainer = function (t, e) { this.pushString(); var r = this.adaptor.getAttribute(t, "class") || "", n = this.adaptor.kind(t) || "", o = this.processHtmlClass.exec(r), i = t; return ( !this.adaptor.firstChild(t) || this.adaptor.getAttribute(t, "data-MJX") || (!o && this.skipHtmlTags.exec(n)) ? (i = this.adaptor.next(t)) : (this.adaptor.next(t) && this.stack.push([this.adaptor.next(t), e]), (i = this.adaptor.firstChild(t)), (e = (e || this.ignoreHtmlClass.exec(r)) && !o)), [i, e] ); }), (t.prototype.find = function (t) { var e, r; this.init(); for ( var o = this.adaptor.next(t), i = !1, s = this.options.includeHtmlTags; t && t !== o; ) "#text" === this.adaptor.kind(t) ? (t = this.handleText(t, i)) : void 0 !== s[this.adaptor.kind(t)] ? (t = this.handleTag(t, i)) : ((t = (e = n(this.handleContainer(t, i), 2))[0]), (i = e[1])), !t && this.stack.length && (this.pushString(), (t = (r = n(this.stack.pop(), 2))[0]), (i = r[1])); this.pushString(); var a = [this.strings, this.nodes]; return this.init(), a; }), (t.OPTIONS = { skipHtmlTags: [ "script", "noscript", "style", "textarea", "pre", "code", "annotation", "annotation-xml", ], includeHtmlTags: { br: "\n", wbr: "", "#comment": "" }, ignoreHtmlClass: "mathjax_ignore", processHtmlClass: "mathjax_process", }), t ); })(); e.HTMLDomStrings = i; }, function (t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }), (e.asyncLoad = void 0); var n = r(15); e.asyncLoad = function (t) { return n.mathjax.asyncLoad ? new Promise(function (e, r) { var o = n.mathjax.asyncLoad(t); o instanceof Promise ? o .then(function (t) { return e(t); }) .catch(function (t) { return r(t); }) : e(o); }) : Promise.reject( "Can't load '" + t + "': No asyncLoad method specified", ); }; }, function (t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }), (e.numeric = e.translate = e.remove = e.add = e.entities = e.options = void 0); var n = r(60), o = r(98); (e.options = { loadMissingEntities: !0 }), (e.entities = { ApplyFunction: "\u2061", Backslash: "\u2216", Because: "\u2235", Breve: "\u02d8", Cap: "\u22d2", CenterDot: "\xb7", CircleDot: "\u2299", CircleMinus: "\u2296", CirclePlus: "\u2295", CircleTimes: "\u2297", Congruent: "\u2261", ContourIntegral: "\u222e", Coproduct: "\u2210", Cross: "\u2a2f", Cup: "\u22d3", CupCap: "\u224d", Dagger: "\u2021", Del: "\u2207", Delta: "\u0394", Diamond: "\u22c4", DifferentialD: "\u2146", DotEqual: "\u2250", DoubleDot: "\xa8", DoubleRightTee: "\u22a8", DoubleVerticalBar: "\u2225", DownArrow: "\u2193", DownLeftVector: "\u21bd", DownRightVector: "\u21c1", DownTee: "\u22a4", Downarrow: "\u21d3", Element: "\u2208", EqualTilde: "\u2242", Equilibrium: "\u21cc", Exists: "\u2203", ExponentialE: "\u2147", FilledVerySmallSquare: "\u25aa", ForAll: "\u2200", Gamma: "\u0393", Gg: "\u22d9", GreaterEqual: "\u2265", GreaterEqualLess: "\u22db", GreaterFullEqual: "\u2267", GreaterLess: "\u2277", GreaterSlantEqual: "\u2a7e", GreaterTilde: "\u2273", Hacek: "\u02c7", Hat: "^", HumpDownHump: "\u224e", HumpEqual: "\u224f", Im: "\u2111", ImaginaryI: "\u2148", Integral: "\u222b", Intersection: "\u22c2", InvisibleComma: "\u2063", InvisibleTimes: "\u2062", Lambda: "\u039b", Larr: "\u219e", LeftAngleBracket: "\u27e8", LeftArrow: "\u2190", LeftArrowRightArrow: "\u21c6", LeftCeiling: "\u2308", LeftDownVector: "\u21c3", LeftFloor: "\u230a", LeftRightArrow: "\u2194", LeftTee: "\u22a3", LeftTriangle: "\u22b2", LeftTriangleEqual: "\u22b4", LeftUpVector: "\u21bf", LeftVector: "\u21bc", Leftarrow: "\u21d0", Leftrightarrow: "\u21d4", LessEqualGreater: "\u22da", LessFullEqual: "\u2266", LessGreater: "\u2276", LessSlantEqual: "\u2a7d", LessTilde: "\u2272", Ll: "\u22d8", Lleftarrow: "\u21da", LongLeftArrow: "\u27f5", LongLeftRightArrow: "\u27f7", LongRightArrow: "\u27f6", Longleftarrow: "\u27f8", Longleftrightarrow: "\u27fa", Longrightarrow: "\u27f9", Lsh: "\u21b0", MinusPlus: "\u2213", NestedGreaterGreater: "\u226b", NestedLessLess: "\u226a", NotDoubleVerticalBar: "\u2226", NotElement: "\u2209", NotEqual: "\u2260", NotExists: "\u2204", NotGreater: "\u226f", NotGreaterEqual: "\u2271", NotLeftTriangle: "\u22ea", NotLeftTriangleEqual: "\u22ec", NotLess: "\u226e", NotLessEqual: "\u2270", NotPrecedes: "\u2280", NotPrecedesSlantEqual: "\u22e0", NotRightTriangle: "\u22eb", NotRightTriangleEqual: "\u22ed", NotSubsetEqual: "\u2288", NotSucceeds: "\u2281", NotSucceedsSlantEqual: "\u22e1", NotSupersetEqual: "\u2289", NotTilde: "\u2241", NotVerticalBar: "\u2224", Omega: "\u03a9", OverBar: "\u203e", OverBrace: "\u23de", PartialD: "\u2202", Phi: "\u03a6", Pi: "\u03a0", PlusMinus: "\xb1", Precedes: "\u227a", PrecedesEqual: "\u2aaf", PrecedesSlantEqual: "\u227c", PrecedesTilde: "\u227e", Product: "\u220f", Proportional: "\u221d", Psi: "\u03a8", Rarr: "\u21a0", Re: "\u211c", ReverseEquilibrium: "\u21cb", RightAngleBracket: "\u27e9", RightArrow: "\u2192", RightArrowLeftArrow: "\u21c4", RightCeiling: "\u2309", RightDownVector: "\u21c2", RightFloor: "\u230b", RightTee: "\u22a2", RightTeeArrow: "\u21a6", RightTriangle: "\u22b3", RightTriangleEqual: "\u22b5", RightUpVector: "\u21be", RightVector: "\u21c0", Rightarrow: "\u21d2", Rrightarrow: "\u21db", Rsh: "\u21b1", Sigma: "\u03a3", SmallCircle: "\u2218", Sqrt: "\u221a", Square: "\u25a1", SquareIntersection: "\u2293", SquareSubset: "\u228f", SquareSubsetEqual: "\u2291", SquareSuperset: "\u2290", SquareSupersetEqual: "\u2292", SquareUnion: "\u2294", Star: "\u22c6", Subset: "\u22d0", SubsetEqual: "\u2286", Succeeds: "\u227b", SucceedsEqual: "\u2ab0", SucceedsSlantEqual: "\u227d", SucceedsTilde: "\u227f", SuchThat: "\u220b", Sum: "\u2211", Superset: "\u2283", SupersetEqual: "\u2287", Supset: "\u22d1", Therefore: "\u2234", Theta: "\u0398", Tilde: "\u223c", TildeEqual: "\u2243", TildeFullEqual: "\u2245", TildeTilde: "\u2248", UnderBar: "_", UnderBrace: "\u23df", Union: "\u22c3", UnionPlus: "\u228e", UpArrow: "\u2191", UpDownArrow: "\u2195", UpTee: "\u22a5", Uparrow: "\u21d1", Updownarrow: "\u21d5", Upsilon: "\u03a5", Vdash: "\u22a9", Vee: "\u22c1", VerticalBar: "\u2223", VerticalTilde: "\u2240", Vvdash: "\u22aa", Wedge: "\u22c0", Xi: "\u039e", amp: "&", acute: "\xb4", aleph: "\u2135", alpha: "\u03b1", amalg: "\u2a3f", and: "\u2227", ang: "\u2220", angmsd: "\u2221", angsph: "\u2222", ape: "\u224a", backprime: "\u2035", backsim: "\u223d", backsimeq: "\u22cd", beta: "\u03b2", beth: "\u2136", between: "\u226c", bigcirc: "\u25ef", bigodot: "\u2a00", bigoplus: "\u2a01", bigotimes: "\u2a02", bigsqcup: "\u2a06", bigstar: "\u2605", bigtriangledown: "\u25bd", bigtriangleup: "\u25b3", biguplus: "\u2a04", blacklozenge: "\u29eb", blacktriangle: "\u25b4", blacktriangledown: "\u25be", blacktriangleleft: "\u25c2", bowtie: "\u22c8", boxdl: "\u2510", boxdr: "\u250c", boxminus: "\u229f", boxplus: "\u229e", boxtimes: "\u22a0", boxul: "\u2518", boxur: "\u2514", bsol: "\\", bull: "\u2022", cap: "\u2229", check: "\u2713", chi: "\u03c7", circ: "\u02c6", circeq: "\u2257", circlearrowleft: "\u21ba", circlearrowright: "\u21bb", circledR: "\xae", circledS: "\u24c8", circledast: "\u229b", circledcirc: "\u229a", circleddash: "\u229d", clubs: "\u2663", colon: ":", comp: "\u2201", ctdot: "\u22ef", cuepr: "\u22de", cuesc: "\u22df", cularr: "\u21b6", cup: "\u222a", curarr: "\u21b7", curlyvee: "\u22ce", curlywedge: "\u22cf", dagger: "\u2020", daleth: "\u2138", ddarr: "\u21ca", deg: "\xb0", delta: "\u03b4", digamma: "\u03dd", div: "\xf7", divideontimes: "\u22c7", dot: "\u02d9", doteqdot: "\u2251", dotplus: "\u2214", dotsquare: "\u22a1", dtdot: "\u22f1", ecir: "\u2256", efDot: "\u2252", egs: "\u2a96", ell: "\u2113", els: "\u2a95", empty: "\u2205", epsi: "\u03b5", epsiv: "\u03f5", erDot: "\u2253", eta: "\u03b7", eth: "\xf0", flat: "\u266d", fork: "\u22d4", frown: "\u2322", gEl: "\u2a8c", gamma: "\u03b3", gap: "\u2a86", gimel: "\u2137", gnE: "\u2269", gnap: "\u2a8a", gne: "\u2a88", gnsim: "\u22e7", gt: ">", gtdot: "\u22d7", harrw: "\u21ad", hbar: "\u210f", hellip: "\u2026", hookleftarrow: "\u21a9", hookrightarrow: "\u21aa", imath: "\u0131", infin: "\u221e", intcal: "\u22ba", iota: "\u03b9", jmath: "\u0237", kappa: "\u03ba", kappav: "\u03f0", lEg: "\u2a8b", lambda: "\u03bb", lap: "\u2a85", larrlp: "\u21ab", larrtl: "\u21a2", lbrace: "{", lbrack: "[", le: "\u2264", leftleftarrows: "\u21c7", leftthreetimes: "\u22cb", lessdot: "\u22d6", lmoust: "\u23b0", lnE: "\u2268", lnap: "\u2a89", lne: "\u2a87", lnsim: "\u22e6", longmapsto: "\u27fc", looparrowright: "\u21ac", lowast: "\u2217", loz: "\u25ca", lt: "<", ltimes: "\u22c9", ltri: "\u25c3", macr: "\xaf", malt: "\u2720", mho: "\u2127", mu: "\u03bc", multimap: "\u22b8", nLeftarrow: "\u21cd", nLeftrightarrow: "\u21ce", nRightarrow: "\u21cf", nVDash: "\u22af", nVdash: "\u22ae", natur: "\u266e", nearr: "\u2197", nharr: "\u21ae", nlarr: "\u219a", not: "\xac", nrarr: "\u219b", nu: "\u03bd", nvDash: "\u22ad", nvdash: "\u22ac", nwarr: "\u2196", omega: "\u03c9", omicron: "\u03bf", or: "\u2228", osol: "\u2298", period: ".", phi: "\u03c6", phiv: "\u03d5", pi: "\u03c0", piv: "\u03d6", prap: "\u2ab7", precnapprox: "\u2ab9", precneqq: "\u2ab5", precnsim: "\u22e8", prime: "\u2032", psi: "\u03c8", quot: '"', rarrtl: "\u21a3", rbrace: "}", rbrack: "]", rho: "\u03c1", rhov: "\u03f1", rightrightarrows: "\u21c9", rightthreetimes: "\u22cc", ring: "\u02da", rmoust: "\u23b1", rtimes: "\u22ca", rtri: "\u25b9", scap: "\u2ab8", scnE: "\u2ab6", scnap: "\u2aba", scnsim: "\u22e9", sdot: "\u22c5", searr: "\u2198", sect: "\xa7", sharp: "\u266f", sigma: "\u03c3", sigmav: "\u03c2", simne: "\u2246", smile: "\u2323", spades: "\u2660", sub: "\u2282", subE: "\u2ac5", subnE: "\u2acb", subne: "\u228a", supE: "\u2ac6", supnE: "\u2acc", supne: "\u228b", swarr: "\u2199", tau: "\u03c4", theta: "\u03b8", thetav: "\u03d1", tilde: "\u02dc", times: "\xd7", triangle: "\u25b5", triangleq: "\u225c", upsi: "\u03c5", upuparrows: "\u21c8", veebar: "\u22bb", vellip: "\u22ee", weierp: "\u2118", xi: "\u03be", yen: "\xa5", zeta: "\u03b6", zigrarr: "\u21dd", }); var i = {}; function s(t, r) { if ("#" === r.charAt(0)) return a(r.slice(1)); if (e.entities[r]) return e.entities[r]; if (e.options.loadMissingEntities) { var s = r.match(/^[a-zA-Z](fr|scr|opf)$/) ? RegExp.$1 : r.charAt(0).toLowerCase(); i[s] || ((i[s] = !0), n.retryAfter(o.asyncLoad("./util/entities/" + s + ".js"))); } return t; } function a(t) { var e = "x" === t.charAt(0) ? parseInt(t.slice(1), 16) : parseInt(t); return String.fromCodePoint(e); } (e.add = function (t, r) { Object.assign(e.entities, t), (i[r] = !0); }), (e.remove = function (t) { delete e.entities[t]; }), (e.translate = function (t) { return t.replace(/&([a-z][a-z0-9]*|#(?:[0-9]+|x[0-9a-f]+));/gi, s); }), (e.numeric = a); }, function (t, e, r) { "use strict"; var n = (this && this.__values) || function (t) { var e = "function" == typeof Symbol && Symbol.iterator, r = e && t[e], n = 0; if (r) return r.call(t); if (t && "number" == typeof t.length) return { next: function () { return ( t && n >= t.length && (t = void 0), { value: t && t[n++], done: !t } ); }, }; throw new TypeError( e ? "Object is not iterable." : "Symbol.iterator is not defined.", ); }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.CssStyles = void 0); var o = (function () { function t(t) { void 0 === t && (t = null), (this.styles = {}), this.addStyles(t); } return ( Object.defineProperty(t.prototype, "cssText", { get: function () { return this.getStyleString(); }, enumerable: !1, configurable: !0, }), (t.prototype.addStyles = function (t) { var e, r; if (t) try { for ( var o = n(Object.keys(t)), i = o.next(); !i.done; i = o.next() ) { var s = i.value; this.styles[s] || (this.styles[s] = {}), Object.assign(this.styles[s], t[s]); } } catch (t) { e = { error: t }; } finally { try { i && !i.done && (r = o.return) && r.call(o); } finally { if (e) throw e.error; } } }), (t.prototype.removeStyles = function () { for (var t, e, r = [], o = 0; o < arguments.length; o++) r[o] = arguments[o]; try { for (var i = n(r), s = i.next(); !s.done; s = i.next()) { var a = s.value; delete this.styles[a]; } } catch (e) { t = { error: e }; } finally { try { s && !s.done && (e = i.return) && e.call(i); } finally { if (t) throw t.error; } } }), (t.prototype.clear = function () { this.styles = {}; }), (t.prototype.getStyleString = function () { var t, e, r = Object.keys(this.styles), o = new Array(r.length), i = 0; try { for (var s = n(r), a = s.next(); !a.done; a = s.next()) { var c = a.value; o[i++] = c + " {\n" + this.getStyleDefString(this.styles[c]) + "\n}"; } } catch (e) { t = { error: e }; } finally { try { a && !a.done && (e = s.return) && e.call(s); } finally { if (t) throw t.error; } } return o.join("\n\n"); }), (t.prototype.getStyleDefString = function (t) { var e, r, o = Object.keys(t), i = new Array(o.length), s = 0; try { for (var a = n(o), c = a.next(); !c.done; c = a.next()) { var l = c.value; i[s++] = " " + l + ": " + t[l] + ";"; } } catch (t) { e = { error: t }; } finally { try { c && !c.done && (r = a.return) && r.call(a); } finally { if (e) throw e.error; } } return i.join("\n"); }), t ); })(); e.CssStyles = o; }, function (t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }), (e.max = e.sum = void 0), (e.sum = function (t) { return t.reduce(function (t, e) { return t + e; }, 0); }), (e.max = function (t) { return t.reduce(function (t, e) { return Math.max(t, e); }, 0); }); }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__values) || function (t) { var e = "function" == typeof Symbol && Symbol.iterator, r = e && t[e], n = 0; if (r) return r.call(t); if (t && "number" == typeof t.length) return { next: function () { return ( t && n >= t.length && (t = void 0), { value: t && t[n++], done: !t } ); }, }; throw new TypeError( e ? "Object is not iterable." : "Symbol.iterator is not defined.", ); }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.FindMathML = void 0); var s = r(77), a = "http://www.w3.org/1998/Math/MathML", c = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), (e.prototype.findMath = function (t) { var e = new Set(); this.findMathNodes(t, e), this.findMathPrefixed(t, e); var r = this.adaptor.root(this.adaptor.document); return ( "html" === this.adaptor.kind(r) && 0 === e.size && this.findMathNS(t, e), this.processMath(e) ); }), (e.prototype.findMathNodes = function (t, e) { var r, n; try { for ( var o = i(this.adaptor.tags(t, "math")), s = o.next(); !s.done; s = o.next() ) { var a = s.value; e.add(a); } } catch (t) { r = { error: t }; } finally { try { s && !s.done && (n = o.return) && n.call(o); } finally { if (r) throw r.error; } } }), (e.prototype.findMathPrefixed = function (t, e) { var r, n, o, s, c = this.adaptor.root(this.adaptor.document); try { for ( var l = i(this.adaptor.allAttributes(c)), u = l.next(); !u.done; u = l.next() ) { var h = u.value; if ("xmlns:" === h.name.substr(0, 6) && h.value === a) { var p = h.name.substr(6); try { for ( var f = ((o = void 0), i(this.adaptor.tags(t, p + ":math"))), d = f.next(); !d.done; d = f.next() ) { var y = d.value; e.add(y); } } catch (t) { o = { error: t }; } finally { try { d && !d.done && (s = f.return) && s.call(f); } finally { if (o) throw o.error; } } } } } catch (t) { r = { error: t }; } finally { try { u && !u.done && (n = l.return) && n.call(l); } finally { if (r) throw r.error; } } }), (e.prototype.findMathNS = function (t, e) { var r, n; try { for ( var o = i(this.adaptor.tags(t, "math", a)), s = o.next(); !s.done; s = o.next() ) { var c = s.value; e.add(c); } } catch (t) { r = { error: t }; } finally { try { s && !s.done && (n = o.return) && n.call(o); } finally { if (r) throw r.error; } } }), (e.prototype.processMath = function (t) { var e, r, n = []; try { for ( var o = i(Array.from(t)), s = o.next(); !s.done; s = o.next() ) { var a = s.value, c = "block" === this.adaptor.getAttribute(a, "display") || "display" === this.adaptor.getAttribute(a, "mode"), l = { node: a, n: 0, delim: "" }, u = { node: a, n: 0, delim: "" }; n.push({ math: this.adaptor.outerHTML(a), start: l, end: u, display: c, }); } } catch (t) { e = { error: t }; } finally { try { s && !s.done && (r = o.return) && r.call(o); } finally { if (e) throw e.error; } } return n; }), (e.OPTIONS = {}), e ); })(s.AbstractFindMath); e.FindMathML = c; }, function (t, e, r) { "use strict"; var n = (this && this.__assign) || function () { return (n = Object.assign || function (t) { for (var e, r = 1, n = arguments.length; r < n; r++) for (var o in (e = arguments[r])) Object.prototype.hasOwnProperty.call(e, o) && (t[o] = e[o]); return t; }).apply(this, arguments); }, o = (this && this.__values) || function (t) { var e = "function" == typeof Symbol && Symbol.iterator, r = e && t[e], n = 0; if (r) return r.call(t); if (t && "number" == typeof t.length) return { next: function () { return ( t && n >= t.length && (t = void 0), { value: t && t[n++], done: !t } ); }, }; throw new TypeError( e ? "Object is not iterable." : "Symbol.iterator is not defined.", ); }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.MathMLCompile = void 0); var i = r(0), s = r(4), a = r(99), c = (function () { function t(t) { void 0 === t && (t = {}); var e = this.constructor; this.options = s.userOptions(s.defaultOptions({}, e.OPTIONS), t); } return ( (t.prototype.setMmlFactory = function (t) { this.factory = t; }), (t.prototype.compile = function (t) { var e = this.makeNode(t); return ( e.verifyTree(this.options.verify), e.setInheritedAttributes({}, !1, 0, !1), e.walkTree(this.markMrows), e ); }), (t.prototype.makeNode = function (t) { var e, r, n = this.adaptor, s = !1, a = n.kind(t).replace(/^.*:/, ""), c = n.getAttribute(t, "data-mjx-texclass") || ""; c && (c = this.filterAttribute("data-mjx-texclass", c) || ""); var l = c && "mrow" === a ? "TeXAtom" : a; try { for ( var u = o(this.filterClassList(n.allClasses(t))), h = u.next(); !h.done; h = u.next() ) { var p = h.value; p.match(/^MJX-TeXAtom-/) ? ((c = p.substr(12)), (l = "TeXAtom")) : "MJX-fixedlimits" === p && (s = !0); } } catch (t) { e = { error: t }; } finally { try { h && !h.done && (r = u.return) && r.call(u); } finally { if (e) throw e.error; } } this.factory.getNodeClass(l) || this.error('Unknown node type "' + l + '"'); var f = this.factory.create(l); return ( "TeXAtom" === l ? this.texAtom(f, c, s) : c && ((f.texClass = i.TEXCLASS[c]), f.setProperty("texClass", f.texClass)), this.addAttributes(f, t), this.checkClass(f, t), this.addChildren(f, t), f ); }), (t.prototype.addAttributes = function (t, e) { var r, n, i = !1; try { for ( var s = o(this.adaptor.allAttributes(e)), a = s.next(); !a.done; a = s.next() ) { var c = a.value, l = c.name, u = this.filterAttribute(l, c.value); if (null === u) return; if ("data-mjx-" === l.substr(0, 9)) "data-mjx-alternate" === l ? t.setProperty("variantForm", !0) : "data-mjx-variant" === l && (t.attributes.set("mathvariant", u), (i = !0)); else if ("class" !== l) { var h = u.toLowerCase(); "true" === h || "false" === h ? t.attributes.set(l, "true" === h) : (i && "mathvariant" === l) || t.attributes.set(l, u); } } } catch (t) { r = { error: t }; } finally { try { a && !a.done && (n = s.return) && n.call(s); } finally { if (r) throw r.error; } } }), (t.prototype.filterAttribute = function (t, e) { return e; }), (t.prototype.filterClassList = function (t) { return t; }), (t.prototype.addChildren = function (t, e) { var r, n; if (0 !== t.arity) { var i = this.adaptor; try { for ( var s = o(i.childNodes(e)), a = s.next(); !a.done; a = s.next() ) { var c = a.value, l = i.kind(c); if ("#comment" !== l) if ("#text" === l) this.addText(t, c); else if (t.isKind("annotation-xml")) t.appendChild(this.factory.create("XML").setXML(c, i)); else { var u = t.appendChild(this.makeNode(c)); 0 === u.arity && i.childNodes(c).length && (this.options.fixMisplacedChildren ? this.addChildren(t, c) : u.mError( "There should not be children for " + u.kind + " nodes", this.options.verify, !0, )); } } } catch (t) { r = { error: t }; } finally { try { a && !a.done && (n = s.return) && n.call(s); } finally { if (r) throw r.error; } } } }), (t.prototype.addText = function (t, e) { var r = this.adaptor.value(e); (t.isToken || t.getProperty("isChars")) && t.arity ? (t.isToken && ((r = a.translate(r)), (r = this.trimSpace(r))), t.appendChild(this.factory.create("text").setText(r))) : r.match(/\S/) && this.error('Unexpected text node "' + r + '"'); }), (t.prototype.checkClass = function (t, e) { var r, n, i = []; try { for ( var s = o(this.filterClassList(this.adaptor.allClasses(e))), a = s.next(); !a.done; a = s.next() ) { var c = a.value; "MJX-" === c.substr(0, 4) ? "MJX-variant" === c ? t.setProperty("variantForm", !0) : "MJX-TeXAtom" !== c.substr(0, 11) && t.attributes.set( "mathvariant", this.fixCalligraphic(c.substr(3)), ) : i.push(c); } } catch (t) { r = { error: t }; } finally { try { a && !a.done && (n = s.return) && n.call(s); } finally { if (r) throw r.error; } } i.length && t.attributes.set("class", i.join(" ")); }), (t.prototype.fixCalligraphic = function (t) { return t.replace(/caligraphic/, "calligraphic"); }), (t.prototype.texAtom = function (t, e, r) { (t.texClass = i.TEXCLASS[e]), t.setProperty("texClass", t.texClass), "OP" !== e || r || (t.setProperty("movesupsub", !0), t.attributes.setInherited("movablelimits", !0)); }), (t.prototype.markMrows = function (t) { if (t.isKind("mrow") && !t.isInferred && t.childNodes.length >= 2) { var e = t.childNodes[0], r = t.childNodes[t.childNodes.length - 1]; e.isKind("mo") && e.attributes.get("fence") && r.isKind("mo") && r.attributes.get("fence") && (e.childNodes.length && t.setProperty("open", e.getText()), r.childNodes.length && t.setProperty("close", r.getText())); } }), (t.prototype.trimSpace = function (t) { return t .replace(/[\t\n\r]/g, " ") .replace(/^ +/, "") .replace(/ +$/, "") .replace(/ +/g, " "); }), (t.prototype.error = function (t) { throw new Error(t); }), (t.OPTIONS = { MmlFactory: null, fixMisplacedChildren: !0, verify: n({}, i.AbstractMmlNode.verifyDefaults), translateEntities: !0, }), t ); })(); e.MathMLCompile = c; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__assign) || function () { return (i = Object.assign || function (t) { for (var e, r = 1, n = arguments.length; r < n; r++) for (var o in (e = arguments[r])) Object.prototype.hasOwnProperty.call(e, o) && (t[o] = e[o]); return t; }).apply(this, arguments); }, s = (this && this.__read) || function (t, e) { var r = "function" == typeof Symbol && t[Symbol.iterator]; if (!r) return t; var n, o, i = r.call(t), s = []; try { for (; (void 0 === e || e-- > 0) && !(n = i.next()).done; ) s.push(n.value); } catch (t) { o = { error: t }; } finally { try { n && !n.done && (r = i.return) && r.call(i); } finally { if (o) throw o.error; } } return s; }, a = (this && this.__values) || function (t) { var e = "function" == typeof Symbol && Symbol.iterator, r = e && t[e], n = 0; if (r) return r.call(t); if (t && "number" == typeof t.length) return { next: function () { return ( t && n >= t.length && (t = void 0), { value: t && t[n++], done: !t } ); }, }; throw new TypeError( e ? "Object is not iterable." : "Symbol.iterator is not defined.", ); }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.CommonOutputJax = void 0); var c = r(32), l = r(10), u = r(4), h = r(11), p = r(61), f = r(100), d = (function (t) { function e(e, r, n) { void 0 === e && (e = null), void 0 === r && (r = null), void 0 === n && (n = null); var o = this, i = s(u.separateOptions(e, n.OPTIONS), 2), a = i[0], c = i[1]; return ( ((o = t.call(this, a) || this).factory = o.options.wrapperFactory || new r()), (o.factory.jax = o), (o.cssStyles = o.options.cssStyles || new f.CssStyles()), (o.font = o.options.font || new n(c)), (o.unknownCache = new Map()), o ); } return ( o(e, t), (e.prototype.typeset = function (t, e) { this.setDocument(e); var r = this.createNode(); return this.toDOM(t, r, e), r; }), (e.prototype.createNode = function () { var t = this.constructor.NAME; return this.html("mjx-container", { class: "MathJax", jax: t }); }), (e.prototype.setScale = function (t) { var e = this.math.metrics.scale * this.options.scale; 1 !== e && this.adaptor.setStyle(t, "fontSize", h.percent(e)); }), (e.prototype.toDOM = function (t, e, r) { void 0 === r && (r = null), this.setDocument(r), (this.math = t), (this.pxPerEm = t.metrics.ex / this.font.params.x_height), t.root.setTeXclass(null), this.setScale(e), (this.nodeMap = new Map()), (this.container = e), this.processMath(t.root, e), (this.nodeMap = null), this.executeFilters(this.postFilters, t, r, e); }), (e.prototype.getBBox = function (t, e) { this.setDocument(e), (this.math = t), t.root.setTeXclass(null), (this.nodeMap = new Map()); var r = this.factory.wrap(t.root).getBBox(); return (this.nodeMap = null), r; }), (e.prototype.getMetrics = function (t) { var e, r; this.setDocument(t); var n = this.adaptor, o = this.getMetricMaps(t); try { for (var i = a(t.math), s = i.next(); !s.done; s = i.next()) { var c = s.value, u = n.parent(c.start.node); if (c.state() < l.STATE.METRICS && u) { var h = o[c.display ? 1 : 0].get(u), p = h.em, f = h.ex, d = h.containerWidth, y = h.lineWidth, m = h.scale, v = h.family; c.setMetrics(p, f, d, y, m), this.options.mtextInheritFont && (c.outputData.mtextFamily = v), this.options.merrorInheritFont && (c.outputData.merrorFamily = v), c.state(l.STATE.METRICS); } } } catch (t) { e = { error: t }; } finally { try { s && !s.done && (r = i.return) && r.call(i); } finally { if (e) throw e.error; } } }), (e.prototype.getMetricsFor = function (t, e) { var r = this.options.mtextInheritFont || this.options.merrorInheritFont, n = this.getTestElement(t, e), o = this.measureMetrics(n, r); return this.adaptor.remove(n), o; }), (e.prototype.getMetricMaps = function (t) { var e, r, n, o, i, s, c, u, h, p, f = this.adaptor, d = [new Map(), new Map()]; try { for (var y = a(t.math), m = y.next(); !m.done; m = y.next()) { var v = m.value; if ( (C = f.parent(v.start.node)) && v.state() < l.STATE.METRICS ) { var b = d[v.display ? 1 : 0]; b.has(C) || b.set(C, this.getTestElement(C, v.display)); } } } catch (t) { e = { error: t }; } finally { try { m && !m.done && (r = y.return) && r.call(y); } finally { if (e) throw e.error; } } var M = this.options.mtextInheritFont || this.options.merrorInheritFont, g = [new Map(), new Map()]; try { for (var O = a(g.keys()), x = O.next(); !x.done; x = O.next()) { var S = x.value; try { for ( var _ = ((i = void 0), a(d[S].keys())), E = _.next(); !E.done; E = _.next() ) { var C = E.value; g[S].set(C, this.measureMetrics(d[S].get(C), M)); } } catch (t) { i = { error: t }; } finally { try { E && !E.done && (s = _.return) && s.call(_); } finally { if (i) throw i.error; } } } } catch (t) { n = { error: t }; } finally { try { x && !x.done && (o = O.return) && o.call(O); } finally { if (n) throw n.error; } } try { for (var L = a(g.keys()), T = L.next(); !T.done; T = L.next()) { S = T.value; try { for ( var A = ((h = void 0), a(d[S].values())), w = A.next(); !w.done; w = A.next() ) { C = w.value; f.remove(C); } } catch (t) { h = { error: t }; } finally { try { w && !w.done && (p = A.return) && p.call(A); } finally { if (h) throw h.error; } } } } catch (t) { c = { error: t }; } finally { try { T && !T.done && (u = L.return) && u.call(L); } finally { if (c) throw c.error; } } return g; }), (e.prototype.getTestElement = function (t, e) { var r = this.adaptor; if (!this.testInline) { (this.testInline = this.html( "mjx-test", { style: { display: "inline-block", width: "100%", "font-style": "normal", "font-weight": "normal", "font-size": "100%", "font-size-adjust": "none", "text-indent": 0, "text-transform": "none", "letter-spacing": "normal", "word-spacing": "normal", overflow: "hidden", height: "1px", "margin-right": "-1px", }, }, [ this.html("mjx-left-box", { style: { display: "inline-block", width: 0, float: "left" }, }), this.html("mjx-ex-box", { style: { position: "absolute", overflow: "hidden", width: "1px", height: "60ex", }, }), this.html("mjx-right-box", { style: { display: "inline-block", width: 0, float: "right", }, }), ], )), (this.testDisplay = r.clone(this.testInline)), r.setStyle(this.testDisplay, "display", "table"), r.setStyle(this.testDisplay, "margin-right", ""), r.setStyle(r.firstChild(this.testDisplay), "display", "none"); var n = r.lastChild(this.testDisplay); r.setStyle(n, "display", "table-cell"), r.setStyle(n, "width", "10000em"), r.setStyle(n, "float", ""); } return r.append(t, r.clone(e ? this.testDisplay : this.testInline)); }), (e.prototype.measureMetrics = function (t, e) { var r = this.adaptor, n = e ? r.fontFamily(t) : "", o = r.fontSize(t), i = r.nodeSize(r.childNode(t, 1))[1] / 60 || o * this.options.exFactor; return { em: o, ex: i, containerWidth: "table" === r.getStyle(t, "display") ? r.nodeSize(r.lastChild(t))[0] - 1 : r.nodeBBox(r.lastChild(t)).left - r.nodeBBox(r.firstChild(t)).left - 2, lineWidth: 1e6, scale: Math.max( this.options.minScale, this.options.matchFontHeight ? i / this.font.params.x_height / o : 1, ), family: n, }; }), (e.prototype.styleSheet = function (t) { var e, r, n, o; if ( (this.setDocument(t), this.cssStyles.clear(), this.cssStyles.addStyles(this.constructor.commonStyles), "getStyles" in t) ) try { for ( var i = a(t.getStyles()), s = i.next(); !s.done; s = i.next() ) { var c = s.value; this.cssStyles.addStyles(c); } } catch (t) { e = { error: t }; } finally { try { s && !s.done && (r = i.return) && r.call(i); } finally { if (e) throw e.error; } } try { for ( var l = a(this.factory.getKinds()), u = l.next(); !u.done; u = l.next() ) { var h = u.value; this.addClassStyles(this.factory.getNodeClass(h)); } } catch (t) { n = { error: t }; } finally { try { u && !u.done && (o = l.return) && o.call(l); } finally { if (n) throw n.error; } } return ( this.cssStyles.addStyles(this.font.styles), this.html("style", { id: "MJX-styles" }, [ this.text("\n" + this.cssStyles.cssText + "\n"), ]) ); }), (e.prototype.addClassStyles = function (t) { this.cssStyles.addStyles(t.styles); }), (e.prototype.setDocument = function (t) { t && ((this.document = t), (this.adaptor.document = t.document)); }), (e.prototype.html = function (t, e, r, n) { return ( void 0 === e && (e = {}), void 0 === r && (r = []), this.adaptor.node(t, e, r, n) ); }), (e.prototype.text = function (t) { return this.adaptor.text(t); }), (e.prototype.fixed = function (t, e) { return ( void 0 === e && (e = 3), Math.abs(t) < 6e-4 ? "0" : t.toFixed(e).replace(/\.?0+$/, "") ); }), (e.prototype.measureText = function (t, e, r) { void 0 === r && (r = ["", !1, !1]); var n = this.unknownText(t, e); if ("-explicitFont" === e) { var o = this.cssFontStyles(r); this.adaptor.setAttributes(n, { style: o }); } return this.measureTextNodeWithCache(n, t, e, r); }), (e.prototype.measureTextNodeWithCache = function (t, e, r, n) { void 0 === n && (n = ["", !1, !1]), "-explicitFont" === r && (r = [n[0], n[1] ? "T" : "F", n[2] ? "T" : "F", ""].join("-")), this.unknownCache.has(r) || this.unknownCache.set(r, new Map()); var o = this.unknownCache.get(r), i = o.get(e); if (i) return i; var s = this.measureTextNode(t); return o.set(e, s), s; }), (e.prototype.measureXMLnode = function (t) { var e = this.adaptor, r = this.html( "mjx-xml-block", { style: { display: "inline-block" } }, [e.clone(t)], ), n = this.html("mjx-baseline", { style: { display: "inline-block", width: 0, height: 0 }, }), o = this.html( "mjx-measure-xml", { style: { position: "absolute", display: "inline-block", "font-family": "initial", "line-height": "normal", }, }, [n, r], ); e.append(e.parent(this.math.start.node), this.container), e.append(this.container, o); var i = this.math.metrics.em * this.math.metrics.scale, s = e.nodeBBox(r), a = s.left, c = s.right, l = s.bottom, u = s.top, h = (c - a) / i, p = (e.nodeBBox(n).top - u) / i, f = (l - u) / i - p; return e.remove(this.container), e.remove(o), { w: h, h: p, d: f }; }), (e.prototype.cssFontStyles = function (t, e) { void 0 === e && (e = {}); var r = s(t, 3), n = r[0], o = r[1], i = r[2]; return ( (e["font-family"] = this.font.getFamily(n)), o && (e["font-style"] = "italic"), i && (e["font-weight"] = "bold"), e ); }), (e.prototype.getFontData = function (t) { return ( t || (t = new p.Styles()), [ this.font.getFamily(t.get("font-family")), "italic" === t.get("font-style"), "bold" === t.get("font-weight"), ] ); }), (e.NAME = "Common"), (e.OPTIONS = i(i({}, c.AbstractOutputJax.OPTIONS), { scale: 1, minScale: 0.5, matchFontHeight: !0, mtextInheritFont: !1, merrorInheritFont: !1, mtextFont: "", merrorFont: "serif", mathmlSpacing: !1, skipAttributes: {}, exFactor: 0.5, displayAlign: "center", displayIndent: "0", wrapperFactory: null, font: null, cssStyles: null, })), (e.commonStyles = {}), e ); })(c.AbstractOutputJax); e.CommonOutputJax = d; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }); Object.defineProperty(e, "__esModule", { value: !0 }), (e.CHTMLWrapperFactory = void 0); var i = r(106), s = r(107), a = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return o(e, t), (e.defaultNodes = s.CHTMLWrappers), e; })(i.CommonWrapperFactory); e.CHTMLWrapperFactory = a; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }); Object.defineProperty(e, "__esModule", { value: !0 }), (e.CommonWrapperFactory = void 0); var i = (function (t) { function e() { var e = (null !== t && t.apply(this, arguments)) || this; return (e.jax = null), e; } return ( o(e, t), Object.defineProperty(e.prototype, "Wrappers", { get: function () { return this.node; }, enumerable: !1, configurable: !0, }), (e.defaultNodes = {}), e ); })(r(93).AbstractWrapperFactory); e.CommonWrapperFactory = i; }, function (t, e, r) { "use strict"; var n; Object.defineProperty(e, "__esModule", { value: !0 }), (e.CHTMLWrappers = void 0); var o = r(2), i = r(109), s = r(111), a = r(113), c = r(115), l = r(117), u = r(119), h = r(121), p = r(123), f = r(125), d = r(128), y = r(129), m = r(131), v = r(63), b = r(134), M = r(24), g = r(138), O = r(139), x = r(141), S = r(143), _ = r(144), E = r(146), C = r(147), L = r(149), T = r(151), A = r(153); e.CHTMLWrappers = (((n = {})[i.CHTMLmath.kind] = i.CHTMLmath), (n[d.CHTMLmrow.kind] = d.CHTMLmrow), (n[d.CHTMLinferredMrow.kind] = d.CHTMLinferredMrow), (n[s.CHTMLmi.kind] = s.CHTMLmi), (n[a.CHTMLmo.kind] = a.CHTMLmo), (n[c.CHTMLmn.kind] = c.CHTMLmn), (n[l.CHTMLms.kind] = l.CHTMLms), (n[u.CHTMLmtext.kind] = u.CHTMLmtext), (n[h.CHTMLmspace.kind] = h.CHTMLmspace), (n[p.CHTMLmpadded.kind] = p.CHTMLmpadded), (n[f.CHTMLmenclose.kind] = f.CHTMLmenclose), (n[m.CHTMLmfrac.kind] = m.CHTMLmfrac), (n[v.CHTMLmsqrt.kind] = v.CHTMLmsqrt), (n[b.CHTMLmroot.kind] = b.CHTMLmroot), (n[M.CHTMLmsub.kind] = M.CHTMLmsub), (n[M.CHTMLmsup.kind] = M.CHTMLmsup), (n[M.CHTMLmsubsup.kind] = M.CHTMLmsubsup), (n[g.CHTMLmunder.kind] = g.CHTMLmunder), (n[g.CHTMLmover.kind] = g.CHTMLmover), (n[g.CHTMLmunderover.kind] = g.CHTMLmunderover), (n[O.CHTMLmmultiscripts.kind] = O.CHTMLmmultiscripts), (n[y.CHTMLmfenced.kind] = y.CHTMLmfenced), (n[x.CHTMLmtable.kind] = x.CHTMLmtable), (n[S.CHTMLmtr.kind] = S.CHTMLmtr), (n[S.CHTMLmlabeledtr.kind] = S.CHTMLmlabeledtr), (n[_.CHTMLmtd.kind] = _.CHTMLmtd), (n[E.CHTMLmaction.kind] = E.CHTMLmaction), (n[C.CHTMLmglyph.kind] = C.CHTMLmglyph), (n[L.CHTMLsemantics.kind] = L.CHTMLsemantics), (n[L.CHTMLannotation.kind] = L.CHTMLannotation), (n[L.CHTMLannotationXML.kind] = L.CHTMLannotationXML), (n[L.CHTMLxml.kind] = L.CHTMLxml), (n[T.CHTMLTeXAtom.kind] = T.CHTMLTeXAtom), (n[A.CHTMLTextNode.kind] = A.CHTMLTextNode), (n[o.CHTMLWrapper.kind] = o.CHTMLWrapper), n); }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__values) || function (t) { var e = "function" == typeof Symbol && Symbol.iterator, r = e && t[e], n = 0; if (r) return r.call(t); if (t && "number" == typeof t.length) return { next: function () { return ( t && n >= t.length && (t = void 0), { value: t && t[n++], done: !t } ); }, }; throw new TypeError( e ? "Object is not iterable." : "Symbol.iterator is not defined.", ); }, s = (this && this.__read) || function (t, e) { var r = "function" == typeof Symbol && t[Symbol.iterator]; if (!r) return t; var n, o, i = r.call(t), s = []; try { for (; (void 0 === e || e-- > 0) && !(n = i.next()).done; ) s.push(n.value); } catch (t) { o = { error: t }; } finally { try { n && !n.done && (r = i.return) && r.call(i); } finally { if (o) throw o.error; } } return s; }, a = (this && this.__spread) || function () { for (var t = [], e = 0; e < arguments.length; e++) t = t.concat(s(arguments[e])); return t; }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.CommonWrapper = void 0); var c = r(92), l = r(0), u = r(7), h = r(11), p = r(61), f = r(8), d = r(13); function y(t, e) { return t ? (e < 0.1111111111111111 ? 0 : 0.1111111111111111) : e; } var m = (function (t) { function e(e, r, n) { void 0 === n && (n = null); var o = t.call(this, e, r) || this; return ( (o.parent = null), (o.removedStyles = null), (o.styles = null), (o.variant = ""), (o.bboxComputed = !1), (o.stretch = d.NOSTRETCH), (o.font = null), (o.parent = n), (o.font = e.jax.font), (o.bbox = f.BBox.zero()), o.getStyles(), o.getVariant(), o.getScale(), o.getSpace(), (o.childNodes = r.childNodes.map(function (t) { var e = o.wrap(t); return ( e.bbox.pwidth && (r.notParent || r.isKind("math")) && (o.bbox.pwidth = f.BBox.fullWidth), e ); })), o ); } return ( o(e, t), Object.defineProperty(e.prototype, "jax", { get: function () { return this.factory.jax; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "adaptor", { get: function () { return this.factory.jax.adaptor; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "metrics", { get: function () { return this.factory.jax.math.metrics; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "fixesPWidth", { get: function () { return !this.node.notParent && !this.node.isToken; }, enumerable: !1, configurable: !0, }), (e.prototype.wrap = function (t, e) { void 0 === e && (e = null); var r = this.factory.wrap(t, e || this); return e && e.childNodes.push(r), this.jax.nodeMap.set(t, r), r; }), (e.prototype.getBBox = function (t) { if ((void 0 === t && (t = !0), this.bboxComputed)) return this.bbox; var e = t ? this.bbox : f.BBox.zero(); return this.computeBBox(e), (this.bboxComputed = t), e; }), (e.prototype.computeBBox = function (t, e) { var r, n; void 0 === e && (e = !1), t.empty(); try { for ( var o = i(this.childNodes), s = o.next(); !s.done; s = o.next() ) { var a = s.value; t.append(a.getBBox()); } } catch (t) { r = { error: t }; } finally { try { s && !s.done && (n = o.return) && n.call(o); } finally { if (r) throw r.error; } } t.clean(), this.fixesPWidth && this.setChildPWidths(e) && this.computeBBox(t, !0); }), (e.prototype.setChildPWidths = function (t, e, r) { var n, o; if ((void 0 === e && (e = null), void 0 === r && (r = !0), t)) return !1; r && (this.bbox.pwidth = ""); var s = !1; try { for ( var a = i(this.childNodes), c = a.next(); !c.done; c = a.next() ) { var l = c.value, u = l.getBBox(); u.pwidth && l.setChildPWidths(t, null === e ? u.w : e, r) && (s = !0); } } catch (t) { n = { error: t }; } finally { try { c && !c.done && (o = a.return) && o.call(a); } finally { if (n) throw n.error; } } return s; }), (e.prototype.invalidateBBox = function () { this.bboxComputed && ((this.bboxComputed = !1), this.parent && this.parent.invalidateBBox()); }), (e.prototype.copySkewIC = function (t) { var e = this.childNodes[0]; e && e.bbox.sk && (t.sk = e.bbox.sk); var r = this.childNodes[this.childNodes.length - 1]; r && r.bbox.ic && ((t.ic = r.bbox.ic), (t.w += t.ic)); }), (e.prototype.getStyles = function () { var t = this.node.attributes.getExplicit("style"); if (t) for ( var r = (this.styles = new p.Styles(t)), n = 0, o = e.removeStyles.length; n < o; n++ ) { var i = e.removeStyles[n]; r.get(i) && (this.removedStyles || (this.removedStyles = {}), (this.removedStyles[i] = r.get(i)), r.set(i, "")); } }), (e.prototype.getVariant = function () { if (this.node.isToken) { var t = this.node.attributes, r = t.get("mathvariant"); if (!t.getExplicit("mathvariant")) { var n = t.getList("fontfamily", "fontweight", "fontstyle"); if (this.removedStyles) { var o = this.removedStyles; o.fontFamily && (n.family = o.fontFamily), o.fontWeight && (n.weight = o.fontWeight), o.fontStyle && (n.style = o.fontStyle); } n.fontfamily && (n.family = n.fontfamily), n.fontweight && (n.weight = n.fontweight), n.fontstyle && (n.style = n.fontstyle), n.weight && n.weight.match(/^\d+$/) && (n.weight = parseInt(n.weight) > 600 ? "bold" : "normal"), n.family ? (r = this.explicitVariant(n.family, n.weight, n.style)) : (this.node.getProperty("variantForm") && (r = "-tex-variant"), (r = (e.BOLDVARIANTS[n.weight] || {})[r] || r), (r = (e.ITALICVARIANTS[n.style] || {})[r] || r)); } this.variant = r; } }), (e.prototype.explicitVariant = function (t, e, r) { var n = this.styles; return ( n || (n = this.styles = new p.Styles()), n.set("fontFamily", t), e && n.set("fontWeight", e), r && n.set("fontStyle", r), "-explicitFont" ); }), (e.prototype.getScale = function () { var t = 1, e = this.parent, r = e ? e.bbox.scale : 1, n = this.node.attributes, o = Math.min(n.get("scriptlevel"), 2), i = n.get("fontsize"), s = this.node.isToken || this.node.isKind("mstyle") ? n.get("mathsize") : n.getInherited("mathsize"); if (0 !== o) { t = Math.pow(n.get("scriptsizemultiplier"), o); var a = this.length2em(n.get("scriptminsize"), 0.8, 1); t < a && (t = a); } this.removedStyles && this.removedStyles.fontSize && !i && (i = this.removedStyles.fontSize), i && !n.getExplicit("mathsize") && (s = i), "1" !== s && (t *= this.length2em(s, 1, 1)), (this.bbox.scale = t), (this.bbox.rscale = t / r); }), (e.prototype.getSpace = function () { var t = this.isTopEmbellished(), e = this.node.hasSpacingAttributes(); this.jax.options.mathmlSpacing || e ? t && this.getMathMLSpacing() : this.getTeXSpacing(t, e); }), (e.prototype.getMathMLSpacing = function () { var t = this.node.coreMO(), e = t.attributes, r = e.get("scriptlevel") > 0; (this.bbox.L = e.isSet("lspace") ? Math.max(0, this.length2em(e.get("lspace"))) : y(r, t.lspace)), (this.bbox.R = e.isSet("rspace") ? Math.max(0, this.length2em(e.get("rspace"))) : y(r, t.rspace)); }), (e.prototype.getTeXSpacing = function (t, e) { if (!e) { var r = this.node.texSpacing(); r && (this.bbox.L = this.length2em(r)); } if (t || e) { var n = this.node.coreMO().attributes; n.isSet("lspace") && (this.bbox.L = Math.max(0, this.length2em(n.get("lspace")))), n.isSet("rspace") && (this.bbox.R = Math.max(0, this.length2em(n.get("rspace")))); } }), (e.prototype.isTopEmbellished = function () { return ( this.node.isEmbellished && !(this.node.Parent && this.node.Parent.isEmbellished) ); }), (e.prototype.core = function () { return this.jax.nodeMap.get(this.node.core()); }), (e.prototype.coreMO = function () { return this.jax.nodeMap.get(this.node.coreMO()); }), (e.prototype.getText = function () { var t, e, r = ""; if (this.node.isToken) try { for ( var n = i(this.node.childNodes), o = n.next(); !o.done; o = n.next() ) { var s = o.value; s instanceof l.TextNode && (r += s.getText()); } } catch (e) { t = { error: e }; } finally { try { o && !o.done && (e = n.return) && e.call(n); } finally { if (t) throw t.error; } } return r; }), (e.prototype.canStretch = function (t) { if (((this.stretch = d.NOSTRETCH), this.node.isEmbellished)) { var e = this.core(); e && e.node !== this.node && e.canStretch(t) && (this.stretch = e.stretch); } return 0 !== this.stretch.dir; }), (e.prototype.getAlignShift = function () { var t, e = (t = this.node.attributes).getList.apply( t, a(l.indentAttributes), ), r = e.indentalign, n = e.indentshift, o = e.indentalignfirst, i = e.indentshiftfirst; return ( "indentalign" !== o && (r = o), "auto" === r && (r = this.jax.options.displayAlign), "indentshift" !== i && (n = i), "auto" === n && ((n = this.jax.options.displayIndent), "right" !== r || n.match(/^\s*0[a-z]*\s*$/) || (n = ("-" + n.trim()).replace(/^--/, ""))), [r, this.length2em(n, this.metrics.containerWidth)] ); }), (e.prototype.getAlignX = function (t, e, r) { return "right" === r ? t - (e.w + e.R) * e.rscale : "left" === r ? e.L * e.rscale : (t - e.w * e.rscale) / 2; }), (e.prototype.getAlignY = function (t, e, r, n, o) { return "top" === o ? t - r : "bottom" === o ? n - e : "middle" === o ? (t - r - (e - n)) / 2 : 0; }), (e.prototype.getWrapWidth = function (t) { return this.childNodes[t].getBBox().w; }), (e.prototype.getChildAlign = function (t) { return "left"; }), (e.prototype.percent = function (t) { return h.percent(t); }), (e.prototype.em = function (t) { return h.em(t); }), (e.prototype.px = function (t, e) { return void 0 === e && (e = -h.BIGDIMEN), h.px(t, e, this.metrics.em); }), (e.prototype.length2em = function (t, e, r) { return ( void 0 === e && (e = 1), void 0 === r && (r = null), null === r && (r = this.bbox.scale), h.length2em(t, e, r, this.jax.pxPerEm) ); }), (e.prototype.unicodeChars = function (t, e) { void 0 === e && (e = this.variant); var r = u.unicodeChars(t), n = this.font.getVariant(e); if (n && n.chars) { var o = n.chars; r = r.map(function (t) { return ((o[t] || [])[3] || {}).smp || t; }); } return r; }), (e.prototype.remapChars = function (t) { return t; }), (e.prototype.mmlText = function (t) { return this.node.factory.create("text").setText(t); }), (e.prototype.mmlNode = function (t, e, r) { return ( void 0 === e && (e = {}), void 0 === r && (r = []), this.node.factory.create(t, e, r) ); }), (e.prototype.createMo = function (t) { var e = this.node.factory, r = e.create("text").setText(t), n = e.create("mo", { stretchy: !0 }, [r]); n.inheritAttributesFrom(this.node); var o = this.wrap(n); return (o.parent = this), o; }), (e.prototype.getVariantChar = function (t, e) { var r = this.font.getChar(t, e) || [0, 0, 0, { unknown: !0 }]; return 3 === r.length && (r[3] = {}), r; }), (e.kind = "unknown"), (e.styles = {}), (e.removeStyles = [ "fontSize", "fontFamily", "fontWeight", "fontStyle", "fontVariant", "font", ]), (e.skipAttributes = { fontfamily: !0, fontsize: !0, fontweight: !0, fontstyle: !0, color: !0, background: !0, class: !0, href: !0, style: !0, xmlns: !0, }), (e.BOLDVARIANTS = { bold: { normal: "bold", italic: "bold-italic", fraktur: "bold-fraktur", script: "bold-script", "sans-serif": "bold-sans-serif", "sans-serif-italic": "sans-serif-bold-italic", }, normal: { bold: "normal", "bold-italic": "italic", "bold-fraktur": "fraktur", "bold-script": "script", "bold-sans-serif": "sans-serif", "sans-serif-bold-italic": "sans-serif-italic", }, }), (e.ITALICVARIANTS = { italic: { normal: "italic", bold: "bold-italic", "sans-serif": "sans-serif-italic", "bold-sans-serif": "sans-serif-bold-italic", }, normal: { italic: "normal", "bold-italic": "bold", "sans-serif-italic": "sans-serif", "sans-serif-bold-italic": "bold-sans-serif", }, }), e ); })(c.AbstractWrapper); e.CommonWrapper = m; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__read) || function (t, e) { var r = "function" == typeof Symbol && t[Symbol.iterator]; if (!r) return t; var n, o, i = r.call(t), s = []; try { for (; (void 0 === e || e-- > 0) && !(n = i.next()).done; ) s.push(n.value); } catch (t) { o = { error: t }; } finally { try { n && !n.done && (r = i.return) && r.call(i); } finally { if (o) throw o.error; } } return s; }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.CHTMLmath = void 0); var s = r(2), a = r(110), c = r(37), l = r(8), u = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), (e.prototype.toCHTML = function (e) { t.prototype.toCHTML.call(this, e); var r = this.chtml, n = this.adaptor; "block" === this.node.attributes.get("display") ? (n.setAttribute(r, "display", "true"), n.setAttribute(e, "display", "true"), this.handleDisplay(e)) : this.handleInline(e), n.addClass(r, "MJX-TEX"); }), (e.prototype.handleDisplay = function (t) { var e = this.adaptor, r = i(this.getAlignShift(), 2), n = r[0], o = r[1]; if ( ("center" !== n && e.setAttribute(t, "justify", n), this.bbox.pwidth === l.BBox.fullWidth) ) { if ((e.setAttribute(t, "width", "full"), this.jax.table)) { var s = this.jax.table.getBBox(), a = s.L, c = s.w, u = s.R; "right" === n ? (u = Math.max(u || -o, -o)) : "left" === n ? (a = Math.max(a || o, o)) : "center" === n && (c += 2 * Math.abs(o)); var h = this.em(Math.max(0, a + c + u)); e.setStyle(t, "min-width", h), e.setStyle(this.jax.table.chtml, "min-width", h); } } else this.setIndent(this.chtml, n, o); }), (e.prototype.handleInline = function (t) { var e = this.adaptor, r = e.getStyle(this.chtml, "margin-right"); r && (e.setStyle(this.chtml, "margin-right", ""), e.setStyle(t, "margin-right", r), e.setStyle(t, "width", "0")); }), (e.prototype.setChildPWidths = function (e, r, n) { return ( void 0 === r && (r = null), void 0 === n && (n = !0), !!this.parent && t.prototype.setChildPWidths.call(this, e, r, n) ); }), (e.kind = c.MmlMath.prototype.kind), (e.styles = { "mjx-math": { "line-height": 0, "text-align": "left", "text-indent": 0, "font-style": "normal", "font-weight": "normal", "font-size": "100%", "font-size-adjust": "none", "letter-spacing": "normal", "word-wrap": "normal", "word-spacing": "normal", "white-space": "nowrap", direction: "ltr", padding: "1px 0", }, 'mjx-container[jax="CHTML"][display="true"]': { display: "block", "text-align": "center", margin: "1em 0", }, 'mjx-container[jax="CHTML"][display="true"][width="full"]': { display: "flex", }, 'mjx-container[jax="CHTML"][display="true"] mjx-math': { padding: 0, }, 'mjx-container[jax="CHTML"][justify="left"]': { "text-align": "left", }, 'mjx-container[jax="CHTML"][justify="right"]': { "text-align": "right", }, }), e ); })(a.CommonMathMixin(s.CHTMLWrapper)); e.CHTMLmath = u; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }); Object.defineProperty(e, "__esModule", { value: !0 }), (e.CommonMathMixin = void 0), (e.CommonMathMixin = function (t) { return (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), (e.prototype.getWrapWidth = function (t) { return this.parent ? this.getBBox().w : this.metrics.containerWidth / this.jax.pxPerEm; }), e ); })(t); }); }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }); Object.defineProperty(e, "__esModule", { value: !0 }), (e.CHTMLmi = void 0); var i = r(2), s = r(112), a = r(20), c = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), (e.prototype.toCHTML = function (e) { t.prototype.toCHTML.call(this, e), this.noIC && this.adaptor.setAttribute(this.chtml, "noIC", "true"); }), (e.kind = a.MmlMi.prototype.kind), e ); })(s.CommonMiMixin(i.CHTMLWrapper)); e.CHTMLmi = c; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }); Object.defineProperty(e, "__esModule", { value: !0 }), (e.CommonMiMixin = void 0), (e.CommonMiMixin = function (t) { return (function (t) { function e() { var e = (null !== t && t.apply(this, arguments)) || this; return (e.noIC = !1), e; } return ( o(e, t), (e.prototype.computeBBox = function (e, r) { void 0 === r && (r = !1), t.prototype.computeBBox.call(this, e), this.copySkewIC(e), this.noIC && (e.w -= e.ic); }), e ); })(t); }); }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__values) || function (t) { var e = "function" == typeof Symbol && Symbol.iterator, r = e && t[e], n = 0; if (r) return r.call(t); if (t && "number" == typeof t.length) return { next: function () { return ( t && n >= t.length && (t = void 0), { value: t && t[n++], done: !t } ); }, }; throw new TypeError( e ? "Object is not iterable." : "Symbol.iterator is not defined.", ); }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.CHTMLmo = void 0); var s = r(2), a = r(114), c = r(21), l = r(8), u = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), (e.prototype.toCHTML = function (e) { var r, n, o = this.node.attributes, s = o.get("symmetric") && 2 !== this.stretch.dir, a = 0 !== this.stretch.dir; a && null === this.size && this.getStretchedVariant([]); var c = this.standardCHTMLnode(e); if ( (this.noIC && this.adaptor.setAttribute(c, "noIC", "true"), a && this.size < 0) ) this.stretchHTML(c); else { if (s || o.get("largeop")) { var u = l.BBox.empty(); t.prototype.computeBBox.call(this, u); var h = this.em((u.d - u.h) / 2 + this.font.params.axis_height); "0" !== h && this.adaptor.setStyle(c, "verticalAlign", h); } try { for ( var p = i(this.childNodes), f = p.next(); !f.done; f = p.next() ) { f.value.toCHTML(c); } } catch (t) { r = { error: t }; } finally { try { f && !f.done && (n = p.return) && n.call(p); } finally { if (r) throw r.error; } } } }), (e.prototype.stretchHTML = function (t) { var e = this.getText().codePointAt(0), r = this.stretch; r.used = !0; var n = r.stretch, o = []; n[0] && o.push(this.html("mjx-beg", {}, [this.html("mjx-c")])), o.push(this.html("mjx-ext", {}, [this.html("mjx-c")])), 4 === n.length && o.push( this.html("mjx-mid", {}, [this.html("mjx-c")]), this.html("mjx-ext", {}, [this.html("mjx-c")]), ), n[2] && o.push(this.html("mjx-end", {}, [this.html("mjx-c")])); var i = {}, s = this.bbox, c = s.h, l = s.d, u = s.w; 1 === r.dir ? (o.push(this.html("mjx-mark")), (i.height = this.em(c + l)), (i.verticalAlign = this.em(-l))) : (i.width = this.em(u)); var h = a.DirectionVH[r.dir], p = { class: this.char(r.c || e), style: i }, f = this.html("mjx-stretchy-" + h, p, o); this.adaptor.append(t, f); }), (e.kind = c.MmlMo.prototype.kind), (e.styles = { "mjx-stretchy-h": { display: "inline-table", width: "100%" }, "mjx-stretchy-h > *": { display: "table-cell", width: 0 }, "mjx-stretchy-h > * > mjx-c": { display: "inline-block", transform: "scalex(1.0000001)", }, "mjx-stretchy-h > * > mjx-c::before": { display: "inline-block", padding: ".001em 0", width: "initial", }, "mjx-stretchy-h > mjx-ext": { overflow: "hidden", width: "100%" }, "mjx-stretchy-h > mjx-ext > mjx-c::before": { transform: "scalex(500)", }, "mjx-stretchy-h > mjx-ext > mjx-c": { width: 0 }, "mjx-stretchy-h > mjx-beg > mjx-c": { "margin-right": "-.1em" }, "mjx-stretchy-h > mjx-end > mjx-c": { "margin-left": "-.1em" }, "mjx-stretchy-v": { display: "inline-block" }, "mjx-stretchy-v > *": { display: "block" }, "mjx-stretchy-v > mjx-beg": { height: 0 }, "mjx-stretchy-v > mjx-end > mjx-c": { display: "block" }, "mjx-stretchy-v > * > mjx-c": { transform: "scaley(1.0000001)", "transform-origin": "left center", overflow: "hidden", }, "mjx-stretchy-v > mjx-ext": { display: "block", height: "100%", "box-sizing": "border-box", border: "0px solid transparent", overflow: "hidden", }, "mjx-stretchy-v > mjx-ext > mjx-c::before": { width: "initial" }, "mjx-stretchy-v > mjx-ext > mjx-c": { transform: "scaleY(500) translateY(.1em)", overflow: "visible", }, "mjx-mark": { display: "inline-block", height: "0px" }, }), e ); })(a.CommonMoMixin(s.CHTMLWrapper)); e.CHTMLmo = u; }, function (t, e, r) { "use strict"; var n, o, i = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), s = (this && this.__read) || function (t, e) { var r = "function" == typeof Symbol && t[Symbol.iterator]; if (!r) return t; var n, o, i = r.call(t), s = []; try { for (; (void 0 === e || e-- > 0) && !(n = i.next()).done; ) s.push(n.value); } catch (t) { o = { error: t }; } finally { try { n && !n.done && (r = i.return) && r.call(i); } finally { if (o) throw o.error; } } return s; }, a = (this && this.__spread) || function () { for (var t = [], e = 0; e < arguments.length; e++) t = t.concat(s(arguments[e])); return t; }, c = (this && this.__values) || function (t) { var e = "function" == typeof Symbol && Symbol.iterator, r = e && t[e], n = 0; if (r) return r.call(t); if (t && "number" == typeof t.length) return { next: function () { return ( t && n >= t.length && (t = void 0), { value: t && t[n++], done: !t } ); }, }; throw new TypeError( e ? "Object is not iterable." : "Symbol.iterator is not defined.", ); }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.CommonMoMixin = e.DirectionVH = void 0); var l = r(13); (e.DirectionVH = (((o = {})[1] = "v"), (o[2] = "h"), o)), (e.CommonMoMixin = function (t) { return (function (t) { function e() { for (var e = [], r = 0; r < arguments.length; r++) e[r] = arguments[r]; var n = t.apply(this, a(e)) || this; return ( (n.noIC = !1), (n.size = null), (n.isAccent = n.node.isAccent), n ); } return ( i(e, t), (e.prototype.computeBBox = function (e, r) { void 0 === r && (r = !1); var n = 0 !== this.stretch.dir; if ( (n && null === this.size && this.getStretchedVariant([0]), !(n && this.size < 0) && (t.prototype.computeBBox.call(this, e), this.copySkewIC(e), this.noIC && (e.w -= e.ic), this.node.attributes.get("symmetric") && 2 !== this.stretch.dir)) ) { var o = (e.h + e.d) / 2 + this.font.params.axis_height - e.h; (e.h += o), (e.d -= o); } }), (e.prototype.getVariant = function () { this.node.attributes.get("largeop") ? (this.variant = this.node.attributes.get("displaystyle") ? "-largeop" : "-smallop") : t.prototype.getVariant.call(this); }), (e.prototype.canStretch = function (t) { if (0 !== this.stretch.dir) return this.stretch.dir === t; if (!this.node.attributes.get("stretchy")) return !1; var e = this.getText(); if (1 !== Array.from(e).length) return !1; var r = this.font.getDelimiter(e.codePointAt(0)); return ( (this.stretch = r && r.dir === t ? r : l.NOSTRETCH), 0 !== this.stretch.dir ); }), (e.prototype.getStretchedVariant = function (t, e) { var r, n; if ((void 0 === e && (e = !1), 0 !== this.stretch.dir)) { var o = this.getWH(t), i = this.getSize("minsize", 0), s = this.getSize("maxsize", 1 / 0); o = Math.max(i, Math.min(s, o)); var a = i || e ? o : Math.max( (o * this.font.params.delimiterfactor) / 1e3, o - this.font.params.delimitershortfall, ), l = this.stretch, u = l.c || this.getText().codePointAt(0), h = 0; if (l.sizes) try { for ( var p = c(l.sizes), f = p.next(); !f.done; f = p.next() ) { if (f.value >= a) return ( (this.variant = this.font.getSizeVariant(u, h)), void (this.size = h) ); h++; } } catch (t) { r = { error: t }; } finally { try { f && !f.done && (n = p.return) && n.call(p); } finally { if (r) throw r.error; } } l.stretch ? ((this.size = -1), this.invalidateBBox(), this.getStretchBBox(t, o, l)) : ((this.variant = this.font.getSizeVariant(u, h - 1)), (this.size = h - 1)); } }), (e.prototype.getSize = function (t, e) { var r = this.node.attributes; return r.isSet(t) && (e = this.length2em(r.get(t), 1, 1)), e; }), (e.prototype.getWH = function (t) { if (0 === t.length) return 0; if (1 === t.length) return t[0]; var e = s(t, 2), r = e[0], n = e[1], o = this.font.params.axis_height; return this.node.attributes.get("symmetric") ? 2 * Math.max(r - o, n + o) : r + n; }), (e.prototype.getStretchBBox = function (t, e, r) { var n; r.hasOwnProperty("min") && r.min > e && (e = r.min); var o = s(r.HDW, 3), i = o[0], a = o[1], c = o[2]; 1 === this.stretch.dir ? ((i = (n = s(this.getBaseline(t, e, r), 2))[0]), (a = n[1])) : (c = e), (this.bbox.h = i), (this.bbox.d = a), (this.bbox.w = c); }), (e.prototype.getBaseline = function (t, e, r) { var n = 2 === t.length && t[0] + t[1] === e, o = this.node.attributes.get("symmetric"), i = s(n ? t : [e, 0], 2), a = i[0], c = i[1], l = s([a + c, 0], 2), u = l[0], h = l[1]; if (o) { var p = this.font.params.axis_height; n && (u = 2 * Math.max(a - p, c + p)), (h = u / 2 - p); } else if (n) h = c; else { var f = s(r.HDW || [0.75, 0.25], 2), d = f[0], y = f[1]; h = y * (u / (d + y)); } return [u - h, h]; }), (e.prototype.remapChars = function (t) { if (1 === t.length) { var e = this.node.coreParent().parent, r = this.isAccent && !e.isKind("mrow") ? "accent" : "mo", n = this.font.getRemappedChar(r, t[0]); n && (t = this.unicodeChars(n, this.variant)); } return t; }), e ); })(t); }); }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }); Object.defineProperty(e, "__esModule", { value: !0 }), (e.CHTMLmn = void 0); var i = r(2), s = r(116), a = r(38), c = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return o(e, t), (e.kind = a.MmlMn.prototype.kind), e; })(s.CommonMnMixin(i.CHTMLWrapper)); e.CHTMLmn = c; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }); Object.defineProperty(e, "__esModule", { value: !0 }), (e.CommonMnMixin = void 0), (e.CommonMnMixin = function (t) { return (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), (e.prototype.remapChars = function (t) { if (t.length) { var e = this.font.getRemappedChar("mn", t[0]); if (e) { var r = this.unicodeChars(e, this.variant); 1 === r.length ? (t[0] = r[0]) : (t = r.concat(t.slice(1))); } } return t; }), e ); })(t); }); }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }); Object.defineProperty(e, "__esModule", { value: !0 }), (e.CHTMLms = void 0); var i = r(2), s = r(118), a = r(41), c = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return o(e, t), (e.kind = a.MmlMs.prototype.kind), e; })(s.CommonMsMixin(i.CHTMLWrapper)); e.CHTMLms = c; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__read) || function (t, e) { var r = "function" == typeof Symbol && t[Symbol.iterator]; if (!r) return t; var n, o, i = r.call(t), s = []; try { for (; (void 0 === e || e-- > 0) && !(n = i.next()).done; ) s.push(n.value); } catch (t) { o = { error: t }; } finally { try { n && !n.done && (r = i.return) && r.call(i); } finally { if (o) throw o.error; } } return s; }, s = (this && this.__spread) || function () { for (var t = [], e = 0; e < arguments.length; e++) t = t.concat(i(arguments[e])); return t; }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.CommonMsMixin = void 0), (e.CommonMsMixin = function (t) { return (function (t) { function e() { for (var e = [], r = 0; r < arguments.length; r++) e[r] = arguments[r]; var n = t.apply(this, s(e)) || this, o = n.node.attributes, i = o.getList("lquote", "rquote"); return ( "monospace" !== n.variant && (o.isSet("lquote") || '"' !== i.lquote || (i.lquote = "\u201c"), o.isSet("rquote") || '"' !== i.rquote || (i.rquote = "\u201d")), n.childNodes.unshift(n.createText(i.lquote)), n.childNodes.push(n.createText(i.rquote)), n ); } return ( o(e, t), (e.prototype.createText = function (t) { var e = this.wrap(this.mmlText(t)); return (e.parent = this), e; }), e ); })(t); }); }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }); Object.defineProperty(e, "__esModule", { value: !0 }), (e.CHTMLmtext = void 0); var i = r(2), s = r(120), a = r(39), c = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return o(e, t), (e.kind = a.MmlMtext.prototype.kind), e; })(s.CommonMtextMixin(i.CHTMLWrapper)); e.CHTMLmtext = c; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }); Object.defineProperty(e, "__esModule", { value: !0 }), (e.CommonMtextMixin = void 0), (e.CommonMtextMixin = function (t) { var e; return ( ((e = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), (e.prototype.getVariant = function () { var e = this.jax.options, r = this.jax.math.outputData, n = (!!r.merrorFamily || !!e.merrorFont) && this.node.Parent.isKind("merror"); if (r.mtextFamily || e.mtextFont || n) { var o = this.node.attributes.get("mathvariant"), i = this.constructor.INHERITFONTS[o] || this.jax.font.getCssFont(o), s = i[0] || (n ? r.merrorFamily || e.merrorFont : r.mtextFamily || e.mtextFont); this.variant = this.explicitVariant( s, i[2] ? "bold" : "", i[1] ? "italic" : "", ); } else t.prototype.getVariant.call(this); }), e ); })(t)).INHERITFONTS = { normal: ["", !1, !1], bold: ["", !1, !0], italic: ["", !0, !1], "bold-italic": ["", !0, !0], }), e ); }); }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }); Object.defineProperty(e, "__esModule", { value: !0 }), (e.CHTMLmspace = void 0); var i = r(2), s = r(122), a = r(40), c = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), (e.prototype.toCHTML = function (t) { var e = this.standardCHTMLnode(t), r = this.getBBox(), n = r.w, o = r.h, i = r.d; n < 0 && (this.adaptor.setStyle(e, "marginRight", this.em(n)), (n = 0)), n && this.adaptor.setStyle(e, "width", this.em(n)), (o = Math.max(0, o + i)) && this.adaptor.setStyle(e, "height", this.em(Math.max(0, o))), i && this.adaptor.setStyle(e, "verticalAlign", this.em(-i)); }), (e.kind = a.MmlMspace.prototype.kind), e ); })(s.CommonMspaceMixin(i.CHTMLWrapper)); e.CHTMLmspace = c; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }); Object.defineProperty(e, "__esModule", { value: !0 }), (e.CommonMspaceMixin = void 0), (e.CommonMspaceMixin = function (t) { return (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), (e.prototype.computeBBox = function (t, e) { void 0 === e && (e = !1); var r = this.node.attributes; (t.w = this.length2em(r.get("width"), 0)), (t.h = this.length2em(r.get("height"), 0)), (t.d = this.length2em(r.get("depth"), 0)); }), (e.prototype.handleVariant = function () {}), e ); })(t); }); }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__read) || function (t, e) { var r = "function" == typeof Symbol && t[Symbol.iterator]; if (!r) return t; var n, o, i = r.call(t), s = []; try { for (; (void 0 === e || e-- > 0) && !(n = i.next()).done; ) s.push(n.value); } catch (t) { o = { error: t }; } finally { try { n && !n.done && (r = i.return) && r.call(i); } finally { if (o) throw o.error; } } return s; }, s = (this && this.__values) || function (t) { var e = "function" == typeof Symbol && Symbol.iterator, r = e && t[e], n = 0; if (r) return r.call(t); if (t && "number" == typeof t.length) return { next: function () { return ( t && n >= t.length && (t = void 0), { value: t && t[n++], done: !t } ); }, }; throw new TypeError( e ? "Object is not iterable." : "Symbol.iterator is not defined.", ); }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.CHTMLmpadded = void 0); var a = r(2), c = r(124), l = r(46), u = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), (e.prototype.toCHTML = function (t) { var e, r, n = this.standardCHTMLnode(t), o = [], a = {}, c = i(this.getDimens(), 9), l = c[2], u = c[3], h = c[4], p = c[5], f = c[6], d = c[7], y = c[8]; if ( (p && (a.width = this.em(l + p)), (u || h) && (a.margin = this.em(u) + " 0 " + this.em(h)), f + y || d) ) { a.position = "relative"; var m = this.html("mjx-rbox", { style: { left: this.em(f + y), top: this.em(-d) }, }); f + y && this.childNodes[0].getBBox().pwidth && (this.adaptor.setAttribute(m, "width", "full"), this.adaptor.setStyle(m, "left", this.em(f))), o.push(m); } n = this.adaptor.append(n, this.html("mjx-block", { style: a }, o)); try { for ( var v = s(this.childNodes), b = v.next(); !b.done; b = v.next() ) { b.value.toCHTML(o[0] || n); } } catch (t) { e = { error: t }; } finally { try { b && !b.done && (r = v.return) && r.call(v); } finally { if (e) throw e.error; } } }), (e.kind = l.MmlMpadded.prototype.kind), (e.styles = { "mjx-mpadded": { display: "inline-block" }, "mjx-rbox": { display: "inline-block", position: "relative" }, }), e ); })(c.CommonMpaddedMixin(a.CHTMLWrapper)); e.CHTMLmpadded = u; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__read) || function (t, e) { var r = "function" == typeof Symbol && t[Symbol.iterator]; if (!r) return t; var n, o, i = r.call(t), s = []; try { for (; (void 0 === e || e-- > 0) && !(n = i.next()).done; ) s.push(n.value); } catch (t) { o = { error: t }; } finally { try { n && !n.done && (r = i.return) && r.call(i); } finally { if (o) throw o.error; } } return s; }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.CommonMpaddedMixin = void 0), (e.CommonMpaddedMixin = function (t) { return (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), (e.prototype.getDimens = function () { var t = this.node.attributes.getList( "width", "height", "depth", "lspace", "voffset", ), e = this.childNodes[0].getBBox(), r = e.w, n = e.h, o = e.d, i = r, s = n, a = o, c = 0, l = 0, u = 0; "" !== t.width && (r = this.dimen(t.width, e, "w", 0)), "" !== t.height && (n = this.dimen(t.height, e, "h", 0)), "" !== t.depth && (o = this.dimen(t.depth, e, "d", 0)), "" !== t.voffset && (l = this.dimen(t.voffset, e)), "" !== t.lspace && (c = this.dimen(t.lspace, e)); var h = this.node.attributes.get("data-align"); return ( h && (u = this.getAlignX(r, e, h)), [s, a, i, n - s, o - a, r - i, c, l, u] ); }), (e.prototype.dimen = function (t, e, r, n) { void 0 === r && (r = ""), void 0 === n && (n = null); var o = (t = String(t)).match(/width|height|depth/), i = o ? e[o[0].charAt(0)] : r ? e[r] : 0, s = this.length2em(t, i) || 0; return ( t.match(/^[-+]/) && r && (s += i), null != n && (s = Math.max(n, s)), s ); }), (e.prototype.computeBBox = function (t, e) { void 0 === e && (e = !1); var r = i(this.getDimens(), 6), n = r[0], o = r[1], s = r[2], a = r[3], c = r[4], l = r[5]; (t.w = s + l), (t.h = n + a), (t.d = o + c), this.setChildPWidths(e, t.w); }), (e.prototype.getWrapWidth = function (t) { return this.getBBox().w; }), (e.prototype.getChildAlign = function (t) { return this.node.attributes.get("data-align") || "left"; }), e ); })(t); }); }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__values) || function (t) { var e = "function" == typeof Symbol && Symbol.iterator, r = e && t[e], n = 0; if (r) return r.call(t); if (t && "number" == typeof t.length) return { next: function () { return ( t && n >= t.length && (t = void 0), { value: t && t[n++], done: !t } ); }, }; throw new TypeError( e ? "Object is not iterable." : "Symbol.iterator is not defined.", ); }, s = (this && this.__read) || function (t, e) { var r = "function" == typeof Symbol && t[Symbol.iterator]; if (!r) return t; var n, o, i = r.call(t), s = []; try { for (; (void 0 === e || e-- > 0) && !(n = i.next()).done; ) s.push(n.value); } catch (t) { o = { error: t }; } finally { try { n && !n.done && (r = i.return) && r.call(i); } finally { if (o) throw o.error; } } return s; }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.CHTMLmenclose = void 0); var a = r(2), c = r(126), l = r(127), u = r(48), h = r(11); function p(t, e) { return Math.atan2(t, e) .toFixed(3) .replace(/\.?0+$/, ""); } var f = p(l.ARROWDX, l.ARROWY), d = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), (e.prototype.toCHTML = function (t) { var e, r, n, o, s = this.adaptor, a = this.standardCHTMLnode(t), c = s.append(a, this.html("mjx-box")); this.renderChild ? this.renderChild(this, c) : this.childNodes[0].toCHTML(c); try { for ( var u = i(Object.keys(this.notations)), h = u.next(); !h.done; h = u.next() ) { var p = h.value, f = this.notations[p]; !f.renderChild && f.renderer(this, c); } } catch (t) { e = { error: t }; } finally { try { h && !h.done && (r = u.return) && r.call(u); } finally { if (e) throw e.error; } } var d = this.getPadding(); try { for ( var y = i(l.sideNames), m = y.next(); !m.done; m = y.next() ) { var v = m.value, b = l.sideIndex[v]; d[b] > 0 && s.setStyle(c, "padding-" + v, this.em(d[b])); } } catch (t) { n = { error: t }; } finally { try { m && !m.done && (o = y.return) && o.call(y); } finally { if (n) throw n.error; } } }), (e.prototype.arrow = function (t, e, r) { void 0 === r && (r = !1); var n = this.getBBox().w, o = { width: this.em(t) }; n !== t && (o.left = this.em((n - t) / 2)), e && (o.transform = "rotate(" + this.fixed(e) + "rad)"); var i = this.html("mjx-arrow", { style: o }, [ this.html("mjx-aline"), this.html("mjx-rthead"), this.html("mjx-rbhead"), ]); return ( r && (this.adaptor.append(i, this.html("mjx-lthead")), this.adaptor.append(i, this.html("mjx-lbhead")), this.adaptor.setAttribute(i, "double", "true")), this.adjustArrow(i, r), i ); }), (e.prototype.adjustArrow = function (t, e) { var r = this, n = this.thickness, o = this.arrowhead; if ( o.x !== l.ARROWX || o.y !== l.ARROWY || o.dx !== l.ARROWDX || n !== l.THICKNESS ) { var i = s( [n * o.x, n * o.y].map(function (t) { return r.em(t); }), 2, ), a = i[0], c = i[1], u = p(o.dx, o.y), h = s(this.adaptor.childNodes(t), 5), f = h[0], d = h[1], y = h[2], m = h[3], v = h[4]; this.adjustHead(d, [c, "0", "1px", a], u), this.adjustHead(y, ["1px", "0", c, a], "-" + u), this.adjustHead(m, [c, a, "1px", "0"], "-" + u), this.adjustHead(v, ["1px", a, c, "0"], u), this.adjustLine(f, n, o.x, e); } }), (e.prototype.adjustHead = function (t, e, r) { t && (this.adaptor.setStyle(t, "border-width", e.join(" ")), this.adaptor.setStyle(t, "transform", "skewX(" + r + "rad)")); }), (e.prototype.adjustLine = function (t, e, r, n) { this.adaptor.setStyle(t, "borderTop", this.em(e) + " solid"), this.adaptor.setStyle(t, "top", this.em(-e / 2)), this.adaptor.setStyle(t, "right", this.em(e * (r - 1))), n && this.adaptor.setStyle(t, "left", this.em(e * (r - 1))); }), (e.prototype.adjustBorder = function (t) { return ( this.thickness !== l.THICKNESS && this.adaptor.setStyle( t, "borderWidth", this.em(this.thickness), ), t ); }), (e.prototype.adjustThickness = function (t) { return ( this.thickness !== l.THICKNESS && this.adaptor.setStyle( t, "strokeWidth", this.fixed(this.thickness), ), t ); }), (e.prototype.fixed = function (t, e) { return ( void 0 === e && (e = 3), Math.abs(t) < 6e-4 ? "0" : t.toFixed(e).replace(/\.?0+$/, "") ); }), (e.prototype.em = function (e) { return t.prototype.em.call(this, e); }), (e.kind = u.MmlMenclose.prototype.kind), (e.styles = { "mjx-menclose": { position: "relative" }, "mjx-menclose > mjx-dstrike": { display: "inline-block", left: 0, top: 0, position: "absolute", "border-top": l.SOLID, "transform-origin": "top left", }, "mjx-menclose > mjx-ustrike": { display: "inline-block", left: 0, bottom: 0, position: "absolute", "border-top": l.SOLID, "transform-origin": "bottom left", }, "mjx-menclose > mjx-hstrike": { "border-top": l.SOLID, position: "absolute", left: 0, right: 0, bottom: "50%", transform: "translateY(" + h.em(l.THICKNESS / 2) + ")", }, "mjx-menclose > mjx-vstrike": { "border-left": l.SOLID, position: "absolute", top: 0, bottom: 0, right: "50%", transform: "translateX(" + h.em(l.THICKNESS / 2) + ")", }, "mjx-menclose > mjx-rbox": { position: "absolute", top: 0, bottom: 0, right: 0, left: 0, border: l.SOLID, "border-radius": h.em(l.THICKNESS + l.PADDING), }, "mjx-menclose > mjx-cbox": { position: "absolute", top: 0, bottom: 0, right: 0, left: 0, border: l.SOLID, "border-radius": "50%", }, "mjx-menclose > mjx-arrow": { position: "absolute", left: 0, bottom: "50%", height: 0, width: 0, }, "mjx-menclose > mjx-arrow > *": { display: "block", position: "absolute", "transform-origin": "bottom", "border-left": h.em(l.THICKNESS * l.ARROWX) + " solid", "border-right": 0, "box-sizing": "border-box", }, "mjx-menclose > mjx-arrow > mjx-aline": { left: 0, top: h.em(-l.THICKNESS / 2), right: h.em(l.THICKNESS * (l.ARROWX - 1)), height: 0, "border-top": h.em(l.THICKNESS) + " solid", "border-left": 0, }, "mjx-menclose > mjx-arrow[double] > mjx-aline": { left: h.em(l.THICKNESS * (l.ARROWX - 1)), height: 0, }, "mjx-menclose > mjx-arrow > mjx-rthead": { transform: "skewX(" + f + "rad)", right: 0, bottom: "-1px", "border-bottom": "1px solid transparent", "border-top": h.em(l.THICKNESS * l.ARROWY) + " solid transparent", }, "mjx-menclose > mjx-arrow > mjx-rbhead": { transform: "skewX(-" + f + "rad)", "transform-origin": "top", right: 0, top: "-1px", "border-top": "1px solid transparent", "border-bottom": h.em(l.THICKNESS * l.ARROWY) + " solid transparent", }, "mjx-menclose > mjx-arrow > mjx-lthead": { transform: "skewX(-" + f + "rad)", left: 0, bottom: "-1px", "border-left": 0, "border-right": h.em(l.THICKNESS * l.ARROWX) + " solid", "border-bottom": "1px solid transparent", "border-top": h.em(l.THICKNESS * l.ARROWY) + " solid transparent", }, "mjx-menclose > mjx-arrow > mjx-lbhead": { transform: "skewX(" + f + "rad)", "transform-origin": "top", left: 0, top: "-1px", "border-left": 0, "border-right": h.em(l.THICKNESS * l.ARROWX) + " solid", "border-top": "1px solid transparent", "border-bottom": h.em(l.THICKNESS * l.ARROWY) + " solid transparent", }, "mjx-menclose > dbox": { position: "absolute", top: 0, bottom: 0, left: h.em(-1.5 * l.PADDING), width: h.em(3 * l.PADDING), border: h.em(l.THICKNESS) + " solid", "border-radius": "50%", "clip-path": "inset(0 0 0 " + h.em(1.5 * l.PADDING) + ")", "box-sizing": "border-box", }, }), (e.notations = new Map([ l.Border("top"), l.Border("right"), l.Border("bottom"), l.Border("left"), l.Border2("actuarial", "top", "right"), l.Border2("madruwb", "bottom", "right"), l.DiagonalStrike("up", 1), l.DiagonalStrike("down", -1), [ "horizontalstrike", { renderer: l.RenderElement("hstrike", "Y"), bbox: function (t) { return [0, t.padding, 0, t.padding]; }, }, ], [ "verticalstrike", { renderer: l.RenderElement("vstrike", "X"), bbox: function (t) { return [t.padding, 0, t.padding, 0]; }, }, ], [ "box", { renderer: function (t, e) { t.adaptor.setStyle(e, "border", t.em(t.thickness) + " solid"); }, bbox: l.fullBBox, border: l.fullBorder, remove: "left right top bottom", }, ], [ "roundedbox", { renderer: l.RenderElement("rbox"), bbox: l.fullBBox }, ], ["circle", { renderer: l.RenderElement("cbox"), bbox: l.fullBBox }], [ "phasorangle", { renderer: function (t, e) { var r = t.getBBox(), n = r.h, o = r.d, i = s(t.getArgMod(1.75 * t.padding, n + o), 2), a = i[0], c = i[1], l = t.thickness * Math.sin(a) * 0.9; t.adaptor.setStyle( e, "border-bottom", t.em(t.thickness) + " solid", ); var u = t.adjustBorder( t.html("mjx-ustrike", { style: { width: t.em(c), transform: "translateX(" + t.em(l) + ") rotate(" + t.fixed(-a) + "rad)", }, }), ); t.adaptor.append(t.chtml, u); }, bbox: function (t) { var e = t.padding / 2, r = t.thickness; return [2 * e, e, e + r, 3 * e + r]; }, border: function (t) { return [0, 0, t.thickness, 0]; }, remove: "bottom", }, ], l.Arrow("up"), l.Arrow("down"), l.Arrow("left"), l.Arrow("right"), l.Arrow("updown"), l.Arrow("leftright"), l.DiagonalArrow("updiagonal"), l.DiagonalArrow("northeast"), l.DiagonalArrow("southeast"), l.DiagonalArrow("northwest"), l.DiagonalArrow("southwest"), l.DiagonalArrow("northeastsouthwest"), l.DiagonalArrow("northwestsoutheast"), [ "longdiv", { renderer: function (t, e) { var r = t.adaptor; r.setStyle(e, "border-top", t.em(t.thickness) + " solid"); var n = r.append(t.chtml, t.html("dbox")), o = t.thickness, i = t.padding; o !== l.THICKNESS && r.setStyle(n, "border-width", t.em(o)), i !== l.PADDING && (r.setStyle(n, "left", t.em(-1.5 * i)), r.setStyle(n, "width", t.em(3 * i)), r.setStyle( n, "clip-path", "inset(0 0 0 " + t.em(1.5 * i) + ")", )); }, bbox: function (t) { var e = t.padding, r = t.thickness; return [e + r, e, e, 2 * e + r / 2]; }, }, ], [ "radical", { renderer: function (t, e) { t.msqrt.toCHTML(e); var r = t.sqrtTRBL(); t.adaptor.setStyle( t.msqrt.chtml, "margin", r .map(function (e) { return t.em(-e); }) .join(" "), ); }, init: function (t) { t.msqrt = t.createMsqrt(t.childNodes[0]); }, bbox: function (t) { return t.sqrtTRBL(); }, renderChild: !0, }, ], ])), e ); })(c.CommonMencloseMixin(a.CHTMLWrapper)); e.CHTMLmenclose = d; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__read) || function (t, e) { var r = "function" == typeof Symbol && t[Symbol.iterator]; if (!r) return t; var n, o, i = r.call(t), s = []; try { for (; (void 0 === e || e-- > 0) && !(n = i.next()).done; ) s.push(n.value); } catch (t) { o = { error: t }; } finally { try { n && !n.done && (r = i.return) && r.call(i); } finally { if (o) throw o.error; } } return s; }, s = (this && this.__spread) || function () { for (var t = [], e = 0; e < arguments.length; e++) t = t.concat(i(arguments[e])); return t; }, a = (this && this.__values) || function (t) { var e = "function" == typeof Symbol && Symbol.iterator, r = e && t[e], n = 0; if (r) return r.call(t); if (t && "number" == typeof t.length) return { next: function () { return ( t && n >= t.length && (t = void 0), { value: t && t[n++], done: !t } ); }, }; throw new TypeError( e ? "Object is not iterable." : "Symbol.iterator is not defined.", ); }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.CommonMencloseMixin = void 0); var c = r(23), l = r(7); e.CommonMencloseMixin = function (t) { return (function (t) { function e() { for (var e = [], r = 0; r < arguments.length; r++) e[r] = arguments[r]; var n = t.apply(this, s(e)) || this; return ( (n.notations = {}), (n.renderChild = null), (n.msqrt = null), (n.padding = c.PADDING), (n.thickness = c.THICKNESS), (n.arrowhead = { x: c.ARROWX, y: c.ARROWY, dx: c.ARROWDX }), n.getParameters(), n.getNotations(), n.removeRedundantNotations(), n.initializeNotations(), n ); } return ( o(e, t), (e.prototype.getParameters = function () { var t = this.node.attributes, e = t.get("data-padding"); void 0 !== e && (this.padding = this.length2em(e, c.PADDING)); var r = t.get("data-thickness"); void 0 !== r && (this.thickness = this.length2em(r, c.THICKNESS)); var n = t.get("data-arrowhead"); if (void 0 !== n) { var o = i(l.split(n), 3), s = o[0], a = o[1], u = o[2]; this.arrowhead = { x: s ? parseFloat(s) : c.ARROWX, y: a ? parseFloat(a) : c.ARROWY, dx: u ? parseFloat(u) : c.ARROWDX, }; } }), (e.prototype.getNotations = function () { var t, e, r = this.constructor.notations; try { for ( var n = a(l.split(this.node.attributes.get("notation"))), o = n.next(); !o.done; o = n.next() ) { var i = o.value, s = r.get(i); s && ((this.notations[i] = s), s.renderChild && (this.renderChild = s.renderer)); } } catch (e) { t = { error: e }; } finally { try { o && !o.done && (e = n.return) && e.call(n); } finally { if (t) throw t.error; } } }), (e.prototype.removeRedundantNotations = function () { var t, e, r, n; try { for ( var o = a(Object.keys(this.notations)), i = o.next(); !i.done; i = o.next() ) { var s = i.value; if (this.notations[s]) { var c = this.notations[s].remove || ""; try { for ( var l = ((r = void 0), a(c.split(/ /))), u = l.next(); !u.done; u = l.next() ) { var h = u.value; delete this.notations[h]; } } catch (t) { r = { error: t }; } finally { try { u && !u.done && (n = l.return) && n.call(l); } finally { if (r) throw r.error; } } } } } catch (e) { t = { error: e }; } finally { try { i && !i.done && (e = o.return) && e.call(o); } finally { if (t) throw t.error; } } }), (e.prototype.initializeNotations = function () { var t, e; try { for ( var r = a(Object.keys(this.notations)), n = r.next(); !n.done; n = r.next() ) { var o = n.value, i = this.notations[o].init; i && i(this); } } catch (e) { t = { error: e }; } finally { try { n && !n.done && (e = r.return) && e.call(r); } finally { if (t) throw t.error; } } }), (e.prototype.computeBBox = function (t, e) { void 0 === e && (e = !1); var r = i(this.getBBoxExtenders(), 4), n = r[0], o = r[1], s = r[2], a = r[3], c = this.childNodes[0].getBBox(); t.combine(c, a, 0), (t.h += n), (t.d += s), (t.w += o), this.setChildPWidths(e); }), (e.prototype.getBBoxExtenders = function () { var t, e, r = [0, 0, 0, 0]; try { for ( var n = a(Object.keys(this.notations)), o = n.next(); !o.done; o = n.next() ) { var i = o.value; this.maximizeEntries(r, this.notations[i].bbox(this)); } } catch (e) { t = { error: e }; } finally { try { o && !o.done && (e = n.return) && e.call(n); } finally { if (t) throw t.error; } } return r; }), (e.prototype.getPadding = function () { var t, e, r = [0, 0, 0, 0], n = [0, 0, 0, 0]; try { for ( var o = a(Object.keys(this.notations)), i = o.next(); !i.done; i = o.next() ) { var s = i.value; this.maximizeEntries(r, this.notations[s].bbox(this)); var c = this.notations[s].border; c && this.maximizeEntries(n, c(this)); } } catch (e) { t = { error: e }; } finally { try { i && !i.done && (e = o.return) && e.call(o); } finally { if (t) throw t.error; } } return [0, 1, 2, 3].map(function (t) { return r[t] - n[t]; }); }), (e.prototype.maximizeEntries = function (t, e) { for (var r = 0; r < t.length; r++) t[r] < e[r] && (t[r] = e[r]); }), (e.prototype.getArgMod = function (t, e) { return [Math.atan2(e, t), Math.sqrt(t * t + e * e)]; }), (e.prototype.arrow = function (t, e, r) { return void 0 === r && (r = !1), null; }), (e.prototype.arrowData = function () { var t = i([this.padding, this.thickness], 2), e = t[0], r = t[1] * (this.arrowhead.x + Math.max(1, this.arrowhead.dx)), n = this.childNodes[0].getBBox(), o = n.h, s = n.d, a = n.w, c = o + s, l = Math.sqrt(c * c + a * a), u = Math.max(e, (r * a) / l), h = Math.max(e, (r * c) / l), p = i(this.getArgMod(a + 2 * u, c + 2 * h), 2); return { a: p[0], W: p[1], x: u, y: h }; }), (e.prototype.createMsqrt = function (t) { var e = this.node.factory.create("msqrt"); e.inheritAttributesFrom(this.node), (e.childNodes[0] = t.node); var r = this.wrap(e); return (r.parent = this), r; }), (e.prototype.sqrtTRBL = function () { var t = this.msqrt.getBBox(), e = this.msqrt.childNodes[0].getBBox(); return [t.h - e.h, 0, t.d - e.d, t.w - e.w]; }), e ); })(t); }; }, function (t, e, r) { "use strict"; var n = (this && this.__createBinding) || (Object.create ? function (t, e, r, n) { void 0 === n && (n = r), Object.defineProperty(t, n, { enumerable: !0, get: function () { return e[r]; }, }); } : function (t, e, r, n) { void 0 === n && (n = r), (t[n] = e[r]); }), o = (this && this.__exportStar) || function (t, e) { for (var r in t) "default" === r || e.hasOwnProperty(r) || n(e, t, r); }, i = (this && this.__read) || function (t, e) { var r = "function" == typeof Symbol && t[Symbol.iterator]; if (!r) return t; var n, o, i = r.call(t), s = []; try { for (; (void 0 === e || e-- > 0) && !(n = i.next()).done; ) s.push(n.value); } catch (t) { o = { error: t }; } finally { try { n && !n.done && (r = i.return) && r.call(i); } finally { if (o) throw o.error; } } return s; }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.Arrow = e.DiagonalArrow = e.DiagonalStrike = e.Border2 = e.Border = e.RenderElement = void 0); var s = r(23); o(r(23), e), (e.RenderElement = function (t, e) { return ( void 0 === e && (e = ""), function (r, n) { var o = r.adjustBorder(r.html("mjx-" + t)); if (e && r.thickness !== s.THICKNESS) { var i = "translate" + e + "(" + r.em(r.thickness / 2) + ")"; r.adaptor.setStyle(o, "transform", i); } r.adaptor.append(r.chtml, o); } ); }), (e.Border = function (t) { return s.CommonBorder(function (e, r) { e.adaptor.setStyle(r, "border-" + t, e.em(e.thickness) + " solid"); })(t); }), (e.Border2 = function (t, e, r) { return s.CommonBorder2(function (t, n) { var o = t.em(t.thickness) + " solid"; t.adaptor.setStyle(n, "border-" + e, o), t.adaptor.setStyle(n, "border-" + r, o); })(t, e, r); }), (e.DiagonalStrike = function (t, e) { return s.CommonDiagonalStrike(function (t) { return function (r, n) { var o = r.getBBox(), s = o.w, a = o.h, c = o.d, l = i(r.getArgMod(s, a + c), 2), u = l[0], h = l[1], p = (e * r.thickness) / 2, f = r.adjustBorder( r.html(t, { style: { width: r.em(h), transform: "rotate(" + r.fixed(-e * u) + "rad) translateY(" + p + "em)", }, }), ); r.adaptor.append(r.chtml, f); }; })(t); }), (e.DiagonalArrow = function (t) { return s.CommonDiagonalArrow(function (t, e) { t.adaptor.append(t.chtml, e); })(t); }), (e.Arrow = function (t) { return s.CommonArrow(function (t, e) { t.adaptor.append(t.chtml, e); })(t); }); }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__values) || function (t) { var e = "function" == typeof Symbol && Symbol.iterator, r = e && t[e], n = 0; if (r) return r.call(t); if (t && "number" == typeof t.length) return { next: function () { return ( t && n >= t.length && (t = void 0), { value: t && t[n++], done: !t } ); }, }; throw new TypeError( e ? "Object is not iterable." : "Symbol.iterator is not defined.", ); }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.CHTMLinferredMrow = e.CHTMLmrow = void 0); var s = r(2), a = r(62), c = r(62), l = r(42), u = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), (e.prototype.toCHTML = function (t) { var e, r, n = this.node.isInferred ? (this.chtml = t) : this.standardCHTMLnode(t), o = !1; try { for ( var s = i(this.childNodes), a = s.next(); !a.done; a = s.next() ) { var c = a.value; c.toCHTML(n), c.bbox.w < 0 && (o = !0); } } catch (t) { e = { error: t }; } finally { try { a && !a.done && (r = s.return) && r.call(s); } finally { if (e) throw e.error; } } if (o) { var l = this.getBBox().w; l && (this.adaptor.setStyle(n, "width", this.em(Math.max(0, l))), l < 0 && this.adaptor.setStyle(n, "marginRight", this.em(l))); } }), (e.kind = l.MmlMrow.prototype.kind), e ); })(a.CommonMrowMixin(s.CHTMLWrapper)); e.CHTMLmrow = u; var h = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return o(e, t), (e.kind = l.MmlInferredMrow.prototype.kind), e; })(c.CommonInferredMrowMixin(u)); e.CHTMLinferredMrow = h; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }); Object.defineProperty(e, "__esModule", { value: !0 }), (e.CHTMLmfenced = void 0); var i = r(2), s = r(130), a = r(47), c = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), (e.prototype.toCHTML = function (t) { var e = this.standardCHTMLnode(t); this.mrow.toCHTML(e); }), (e.kind = a.MmlMfenced.prototype.kind), e ); })(s.CommonMfencedMixin(i.CHTMLWrapper)); e.CHTMLmfenced = c; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__read) || function (t, e) { var r = "function" == typeof Symbol && t[Symbol.iterator]; if (!r) return t; var n, o, i = r.call(t), s = []; try { for (; (void 0 === e || e-- > 0) && !(n = i.next()).done; ) s.push(n.value); } catch (t) { o = { error: t }; } finally { try { n && !n.done && (r = i.return) && r.call(i); } finally { if (o) throw o.error; } } return s; }, s = (this && this.__spread) || function () { for (var t = [], e = 0; e < arguments.length; e++) t = t.concat(i(arguments[e])); return t; }, a = (this && this.__values) || function (t) { var e = "function" == typeof Symbol && Symbol.iterator, r = e && t[e], n = 0; if (r) return r.call(t); if (t && "number" == typeof t.length) return { next: function () { return ( t && n >= t.length && (t = void 0), { value: t && t[n++], done: !t } ); }, }; throw new TypeError( e ? "Object is not iterable." : "Symbol.iterator is not defined.", ); }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.CommonMfencedMixin = void 0), (e.CommonMfencedMixin = function (t) { return (function (t) { function e() { for (var e = [], r = 0; r < arguments.length; r++) e[r] = arguments[r]; var n = t.apply(this, s(e)) || this; return (n.mrow = null), n.createMrow(), n.addMrowChildren(), n; } return ( o(e, t), (e.prototype.createMrow = function () { var t = this.node.factory.create("inferredMrow"); t.inheritAttributesFrom(this.node), (this.mrow = this.wrap(t)), (this.mrow.parent = this); }), (e.prototype.addMrowChildren = function () { var t, e, r = this.node, n = this.mrow; this.addMo(r.open), this.childNodes.length && n.childNodes.push(this.childNodes[0]); var o = 0; try { for ( var i = a(this.childNodes.slice(1)), s = i.next(); !s.done; s = i.next() ) { var c = s.value; this.addMo(r.separators[o++]), n.childNodes.push(c); } } catch (e) { t = { error: e }; } finally { try { s && !s.done && (e = i.return) && e.call(i); } finally { if (t) throw t.error; } } this.addMo(r.close), n.stretchChildren(); }), (e.prototype.addMo = function (t) { if (t) { var e = this.wrap(t); this.mrow.childNodes.push(e), (e.parent = this.mrow); } }), (e.prototype.computeBBox = function (t, e) { void 0 === e && (e = !1), t.updateFrom(this.mrow.getBBox()), this.setChildPWidths(e); }), e ); })(t); }); }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__assign) || function () { return (i = Object.assign || function (t) { for (var e, r = 1, n = arguments.length; r < n; r++) for (var o in (e = arguments[r])) Object.prototype.hasOwnProperty.call(e, o) && (t[o] = e[o]); return t; }).apply(this, arguments); }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.CHTMLmfrac = void 0); var s = r(2), a = r(132), c = r(43), l = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), (e.prototype.toCHTML = function (t) { this.standardCHTMLnode(t); var e = this.node.attributes.getList("linethickness", "bevelled"), r = e.linethickness, n = e.bevelled, o = this.isDisplay(); if (n) this.makeBevelled(o); else { var i = this.length2em(String(r), 0.06); 0 === i ? this.makeAtop(o) : this.makeFraction(o, i); } }), (e.prototype.makeFraction = function (t, e) { var r, n, o = this.node.attributes.getList("numalign", "denomalign"), s = o.numalign, a = o.denomalign, c = t ? { type: "d" } : {}, l = this.node.getProperty("withDelims") ? i(i({}, c), { delims: "true" }) : i({}, c), u = "center" !== s ? { align: s } : {}, h = "center" !== a ? { align: a } : {}, p = i({}, c), f = i({}, c), d = this.font.params; if (0.06 !== e) { var y = d.axis_height, m = this.em(e), v = this.getTUV(t, e), b = v.T, M = v.u, g = v.v, O = (t ? this.em(3 * e) : m) + " -.1em"; c.style = { height: m, "border-top": m + " solid", margin: O }; var x = this.em(Math.max(0, M)); (f.style = { height: x, "vertical-align": "-" + x }), (p.style = { height: this.em(Math.max(0, g)) }), (l.style = { "vertical-align": this.em(y - b) }); } this.adaptor.append( this.chtml, this.html("mjx-frac", l, [ (r = this.html("mjx-num", u, [this.html("mjx-nstrut", f)])), this.html("mjx-dbox", {}, [ this.html("mjx-dtable", {}, [ this.html("mjx-line", c), this.html("mjx-row", {}, [ (n = this.html("mjx-den", h, [ this.html("mjx-dstrut", p), ])), ]), ]), ]), ]), ), this.childNodes[0].toCHTML(r), this.childNodes[1].toCHTML(n); }), (e.prototype.makeAtop = function (t) { var e, r, n = this.node.attributes.getList("numalign", "denomalign"), o = n.numalign, s = n.denomalign, a = t ? { type: "d", atop: !0 } : { atop: !0 }, c = this.node.getProperty("withDelims") ? i(i({}, a), { delims: !0 }) : i({}, a), l = "center" !== o ? { align: o } : {}, u = "center" !== s ? { align: s } : {}, h = this.getUVQ(t), p = h.v, f = h.q; (l.style = { "padding-bottom": this.em(f) }), (c.style = { "vertical-align": this.em(-p) }), this.adaptor.append( this.chtml, this.html("mjx-frac", c, [ (e = this.html("mjx-num", l)), (r = this.html("mjx-den", u)), ]), ), this.childNodes[0].toCHTML(e), this.childNodes[1].toCHTML(r); }), (e.prototype.makeBevelled = function (t) { var e = this.adaptor; e.setAttribute(this.chtml, "bevelled", "ture"); var r = e.append(this.chtml, this.html("mjx-num")); this.childNodes[0].toCHTML(r), this.bevel.toCHTML(this.chtml); var n = e.append(this.chtml, this.html("mjx-den")); this.childNodes[1].toCHTML(n); var o = this.getBevelData(t), i = o.u, s = o.v, a = o.delta, c = o.nbox, l = o.dbox; i && e.setStyle(r, "verticalAlign", this.em(i / c.scale)), s && e.setStyle(n, "verticalAlign", this.em(s / l.scale)); var u = this.em(-a / 2); e.setStyle(this.bevel.chtml, "marginLeft", u), e.setStyle(this.bevel.chtml, "marginRight", u); }), (e.kind = c.MmlMfrac.prototype.kind), (e.styles = { "mjx-frac": { display: "inline-block", "vertical-align": "0.17em", padding: "0 .22em", }, 'mjx-frac[type="d"]': { "vertical-align": ".04em" }, "mjx-frac[delims]": { padding: "0 .1em" }, "mjx-frac[atop]": { padding: "0 .12em" }, "mjx-frac[atop][delims]": { padding: "0" }, "mjx-dtable": { display: "inline-table", width: "100%" }, "mjx-dtable > *": { "font-size": "2000%" }, "mjx-dbox": { display: "block", "font-size": "5%" }, "mjx-num": { display: "block", "text-align": "center" }, "mjx-den": { display: "block", "text-align": "center" }, "mjx-mfrac[bevelled] > mjx-num": { display: "inline-block" }, "mjx-mfrac[bevelled] > mjx-den": { display: "inline-block" }, 'mjx-den[align="right"], mjx-num[align="right"]': { "text-align": "right", }, 'mjx-den[align="left"], mjx-num[align="left"]': { "text-align": "left", }, "mjx-nstrut": { display: "inline-block", height: ".054em", width: 0, "vertical-align": "-.054em", }, 'mjx-nstrut[type="d"]': { height: ".217em", "vertical-align": "-.217em", }, "mjx-dstrut": { display: "inline-block", height: ".505em", width: 0, }, 'mjx-dstrut[type="d"]': { height: ".726em" }, "mjx-line": { display: "block", "box-sizing": "border-box", "min-height": "1px", height: ".06em", "border-top": ".06em solid", margin: ".06em -.1em", overflow: "hidden", }, 'mjx-line[type="d"]': { margin: ".18em -.1em" }, }), e ); })(a.CommonMfracMixin(s.CHTMLWrapper)); e.CHTMLmfrac = l; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__read) || function (t, e) { var r = "function" == typeof Symbol && t[Symbol.iterator]; if (!r) return t; var n, o, i = r.call(t), s = []; try { for (; (void 0 === e || e-- > 0) && !(n = i.next()).done; ) s.push(n.value); } catch (t) { o = { error: t }; } finally { try { n && !n.done && (r = i.return) && r.call(i); } finally { if (o) throw o.error; } } return s; }, s = (this && this.__spread) || function () { for (var t = [], e = 0; e < arguments.length; e++) t = t.concat(i(arguments[e])); return t; }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.CommonMfracMixin = void 0), (e.CommonMfracMixin = function (t) { return (function (t) { function e() { for (var e = [], r = 0; r < arguments.length; r++) e[r] = arguments[r]; var n = t.apply(this, s(e)) || this; if ( ((n.bevel = null), (n.pad = n.node.getProperty("withDelims") ? 0 : n.font.params.nulldelimiterspace), n.node.attributes.get("bevelled")) ) { var o = n.getBevelData(n.isDisplay()).H, i = (n.bevel = n.createMo("/")); i.canStretch(1), i.getStretchedVariant([o], !0); } return n; } return ( o(e, t), (e.prototype.computeBBox = function (t, e) { void 0 === e && (e = !1), t.empty(); var r = this.node.attributes.getList("linethickness", "bevelled"), n = r.linethickness, o = r.bevelled, i = this.isDisplay(), s = null; if (o) this.getBevelledBBox(t, i); else { var a = this.length2em(String(n), 0.06); (s = -2 * this.pad), 0 === a ? this.getAtopBBox(t, i) : (this.getFractionBBox(t, i, a), (s -= 0.2)), (s += t.w); } t.clean(), this.setChildPWidths(e, s); }), (e.prototype.getFractionBBox = function (t, e, r) { var n = this.childNodes[0].getBBox(), o = this.childNodes[1].getBBox(), i = this.font.params.axis_height, s = this.getTUV(e, r), a = s.T, c = s.u, l = s.v; t.combine(n, 0, i + a + Math.max(n.d * n.rscale, c)), t.combine(o, 0, i - a - Math.max(o.h * o.rscale, l)), (t.w += 2 * this.pad + 0.2); }), (e.prototype.getTUV = function (t, e) { var r = this.font.params, n = r.axis_height, o = (t ? 3.5 : 1.5) * e; return { T: (t ? 3.5 : 1.5) * e, u: (t ? r.num1 : r.num2) - n - o, v: (t ? r.denom1 : r.denom2) + n - o, }; }), (e.prototype.getAtopBBox = function (t, e) { var r = this.getUVQ(e), n = r.u, o = r.v, i = r.nbox, s = r.dbox; t.combine(i, 0, n), t.combine(s, 0, -o), (t.w += 2 * this.pad); }), (e.prototype.getUVQ = function (t) { var e = this.childNodes[0].getBBox(), r = this.childNodes[1].getBBox(), n = this.font.params, o = i(t ? [n.num1, n.denom1] : [n.num3, n.denom2], 2), s = o[0], a = o[1], c = (t ? 7 : 3) * n.rule_thickness, l = s - e.d * e.scale - (r.h * r.scale - a); return ( l < c && ((s += (c - l) / 2), (a += (c - l) / 2), (l = c)), { u: s, v: a, q: l, nbox: e, dbox: r } ); }), (e.prototype.getBevelledBBox = function (t, e) { var r = this.getBevelData(e), n = r.u, o = r.v, i = r.delta, s = r.nbox, a = r.dbox, c = this.bevel.getBBox(); t.combine(s, 0, n), t.combine(c, t.w - i / 2, 0), t.combine(a, t.w - i / 2, o); }), (e.prototype.getBevelData = function (t) { var e = this.childNodes[0].getBBox(), r = this.childNodes[1].getBBox(), n = t ? 0.4 : 0.15, o = Math.max(e.scale * (e.h + e.d), r.scale * (r.h + r.d)) + 2 * n, i = this.font.params.axis_height; return { H: o, delta: n, u: (e.scale * (e.d - e.h)) / 2 + i + n, v: (r.scale * (r.d - r.h)) / 2 + i - n, nbox: e, dbox: r, }; }), (e.prototype.canStretch = function (t) { return !1; }), (e.prototype.isDisplay = function () { var t = this.node.attributes.getList( "displaystyle", "scriptlevel", ), e = t.displaystyle, r = t.scriptlevel; return e && 0 === r; }), (e.prototype.getWrapWidth = function (t) { var e = this.node.attributes; return e.get("bevelled") ? this.childNodes[t].getBBox().w : this.getBBox().w - (this.length2em(e.get("linethickness")) ? 0.2 : 0) - 2 * this.pad; }), (e.prototype.getChildAlign = function (t) { var e = this.node.attributes; return e.get("bevelled") ? "left" : e.get(["numalign", "denomalign"][t]); }), e ); })(t); }); }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__read) || function (t, e) { var r = "function" == typeof Symbol && t[Symbol.iterator]; if (!r) return t; var n, o, i = r.call(t), s = []; try { for (; (void 0 === e || e-- > 0) && !(n = i.next()).done; ) s.push(n.value); } catch (t) { o = { error: t }; } finally { try { n && !n.done && (r = i.return) && r.call(i); } finally { if (o) throw o.error; } } return s; }, s = (this && this.__spread) || function () { for (var t = [], e = 0; e < arguments.length; e++) t = t.concat(i(arguments[e])); return t; }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.CommonMsqrtMixin = void 0); var a = r(8); e.CommonMsqrtMixin = function (t) { return (function (t) { function e() { for (var e = [], r = 0; r < arguments.length; r++) e[r] = arguments[r]; var n = t.apply(this, s(e)) || this, o = n.createMo("\u221a"); o.canStretch(1); var i = n.childNodes[n.base].getBBox(), a = i.h, c = i.d, l = n.font.params.rule_thickness, u = n.node.attributes.get("displaystyle") ? n.font.params.x_height : l; return ( (n.surdH = a + c + 2 * l + u / 4), o.getStretchedVariant([n.surdH - c, c], !0), n ); } return ( o(e, t), Object.defineProperty(e.prototype, "base", { get: function () { return 0; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "surd", { get: function () { return 1; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "root", { get: function () { return null; }, enumerable: !1, configurable: !0, }), (e.prototype.createMo = function (e) { var r = t.prototype.createMo.call(this, e); return this.childNodes.push(r), r; }), (e.prototype.computeBBox = function (t, e) { void 0 === e && (e = !1); var r = this.childNodes[this.surd].getBBox(), n = new a.BBox(this.childNodes[this.base].getBBox()), o = this.getPQ(r)[1], s = this.font.params.rule_thickness, c = n.h + o + s, l = i(this.getRootDimens(r, c), 1)[0]; (t.h = c + s), this.combineRootBBox(t, r, c), t.combine(r, l, c - r.h), t.combine(n, l + r.w, 0), t.clean(), this.setChildPWidths(e); }), (e.prototype.combineRootBBox = function (t, e, r) {}), (e.prototype.getPQ = function (t) { var e = this.font.params.rule_thickness, r = this.node.attributes.get("displaystyle") ? this.font.params.x_height : e; return [ r, t.h + t.d > this.surdH ? (t.h + t.d - (this.surdH - 2 * e - r / 2)) / 2 : e + r / 4, ]; }), (e.prototype.getRootDimens = function (t, e) { return [0, 0, 0, 0]; }), e ); })(t); }; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__read) || function (t, e) { var r = "function" == typeof Symbol && t[Symbol.iterator]; if (!r) return t; var n, o, i = r.call(t), s = []; try { for (; (void 0 === e || e-- > 0) && !(n = i.next()).done; ) s.push(n.value); } catch (t) { o = { error: t }; } finally { try { n && !n.done && (r = i.return) && r.call(i); } finally { if (o) throw o.error; } } return s; }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.CHTMLmroot = void 0); var s = r(63), a = r(135), c = r(45), l = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), (e.prototype.addRoot = function (t, e, r, n) { e.toCHTML(t); var o = i(this.getRootDimens(r, n), 3), s = o[0], a = o[1], c = o[2]; this.adaptor.setStyle(t, "verticalAlign", this.em(a)), this.adaptor.setStyle(t, "width", this.em(s)), c && this.adaptor.setStyle( this.adaptor.firstChild(t), "paddingLeft", this.em(c), ); }), (e.kind = c.MmlMroot.prototype.kind), e ); })(a.CommonMrootMixin(s.CHTMLmsqrt)); e.CHTMLmroot = l; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }); Object.defineProperty(e, "__esModule", { value: !0 }), (e.CommonMrootMixin = void 0), (e.CommonMrootMixin = function (t) { return (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), Object.defineProperty(e.prototype, "surd", { get: function () { return 2; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "root", { get: function () { return 1; }, enumerable: !1, configurable: !0, }), (e.prototype.combineRootBBox = function (t, e, r) { var n = this.childNodes[this.root].getBBox(), o = this.getRootDimens(e, r)[1]; t.combine(n, 0, o); }), (e.prototype.getRootDimens = function (t, e) { var r = this.childNodes[this.surd], n = this.childNodes[this.root].getBBox(), o = (r.size < 0 ? 0.5 : 0.6) * t.w, i = n.w, s = n.rscale, a = Math.max(i, o / s), c = Math.max(0, a - i); return [a * s - o, this.rootHeight(n, t, r.size, e), c]; }), (e.prototype.rootHeight = function (t, e, r, n) { var o = e.h + e.d; return ( (r < 0 ? 1.9 : 0.55 * o) - (o - n) + Math.max(0, t.d * t.rscale) ); }), e ); })(t); }); }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__read) || function (t, e) { var r = "function" == typeof Symbol && t[Symbol.iterator]; if (!r) return t; var n, o, i = r.call(t), s = []; try { for (; (void 0 === e || e-- > 0) && !(n = i.next()).done; ) s.push(n.value); } catch (t) { o = { error: t }; } finally { try { n && !n.done && (r = i.return) && r.call(i); } finally { if (o) throw o.error; } } return s; }, s = (this && this.__values) || function (t) { var e = "function" == typeof Symbol && Symbol.iterator, r = e && t[e], n = 0; if (r) return r.call(t); if (t && "number" == typeof t.length) return { next: function () { return ( t && n >= t.length && (t = void 0), { value: t && t[n++], done: !t } ); }, }; throw new TypeError( e ? "Object is not iterable." : "Symbol.iterator is not defined.", ); }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.CHTMLscriptbase = void 0); var a = r(2), c = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), (e.prototype.toCHTML = function (t) { this.chtml = this.standardCHTMLnode(t); var e = i( this.getOffset(this.baseChild.getBBox(), this.script.getBBox()), 2, ), r = e[0], n = e[1], o = { "vertical-align": this.em(n) }; r && (o["margin-left"] = this.em(r)), this.baseChild.toCHTML(this.chtml), this.script.toCHTML( this.adaptor.append( this.chtml, this.html("mjx-script", { style: o }), ), ); }), (e.prototype.setDeltaW = function (t, e) { for (var r = 0; r < e.length; r++) e[r] && this.adaptor.setStyle(t[r], "paddingLeft", this.em(e[r])); }), (e.prototype.adjustOverDepth = function (t, e) { e.d >= 0 || this.adaptor.setStyle(t, "marginBottom", this.em(e.d * e.rscale)); }), (e.prototype.adjustUnderDepth = function (t, e) { var r, n; if (!(e.d >= 0)) { var o = this.adaptor, i = this.em(e.d), a = this.html("mjx-box", { style: { "margin-bottom": i, "vertical-align": i }, }); try { for ( var c = s(o.childNodes(o.firstChild(t))), l = c.next(); !l.done; l = c.next() ) { var u = l.value; o.append(a, u); } } catch (t) { r = { error: t }; } finally { try { l && !l.done && (n = c.return) && n.call(c); } finally { if (r) throw r.error; } } o.append(o.firstChild(t), a); } }), (e.kind = "scriptbase"), (e.useIC = !1), e ); })(r(137).CommonScriptbaseMixin(a.CHTMLWrapper)); e.CHTMLscriptbase = c; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__read) || function (t, e) { var r = "function" == typeof Symbol && t[Symbol.iterator]; if (!r) return t; var n, o, i = r.call(t), s = []; try { for (; (void 0 === e || e-- > 0) && !(n = i.next()).done; ) s.push(n.value); } catch (t) { o = { error: t }; } finally { try { n && !n.done && (r = i.return) && r.call(i); } finally { if (o) throw o.error; } } return s; }, s = (this && this.__spread) || function () { for (var t = [], e = 0; e < arguments.length; e++) t = t.concat(i(arguments[e])); return t; }, a = (this && this.__values) || function (t) { var e = "function" == typeof Symbol && Symbol.iterator, r = e && t[e], n = 0; if (r) return r.call(t); if (t && "number" == typeof t.length) return { next: function () { return ( t && n >= t.length && (t = void 0), { value: t && t[n++], done: !t } ); }, }; throw new TypeError( e ? "Object is not iterable." : "Symbol.iterator is not defined.", ); }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.CommonScriptbaseMixin = void 0); e.CommonScriptbaseMixin = function (t) { var e; return ( ((e = (function (t) { function e() { for (var e = [], r = 0; r < arguments.length; r++) e[r] = arguments[r]; var n = t.apply(this, s(e)) || this, o = (n.baseCore = n.childNodes[0]); if (!o) return n; for ( ; 1 === o.childNodes.length && (o.node.isKind("mrow") || o.node.isKind("TeXAtom") || o.node.isKind("mstyle") || o.node.isKind("mpadded") || o.node.isKind("mphantom") || o.node.isKind("semantics")); ) if (!(o = o.childNodes[0])) return n; return "noIC" in o ? ((n.baseCore = o), n.constructor.useIC || (o.noIC = !0), n) : n; } return ( o(e, t), Object.defineProperty(e.prototype, "baseChild", { get: function () { return this.childNodes[this.node.base]; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "script", { get: function () { return this.childNodes[1]; }, enumerable: !1, configurable: !0, }), (e.prototype.computeBBox = function (t, e) { void 0 === e && (e = !1); var r = this.baseChild.getBBox(), n = this.script.getBBox(), o = i(this.getOffset(r, n), 2), s = o[0], a = o[1]; t.append(r), t.combine(n, t.w + s, a), (t.w += this.font.params.scriptspace), t.clean(), this.setChildPWidths(e); }), (e.prototype.coreIC = function () { var t = this.baseCore.getBBox(); return t.ic ? 1.05 * t.ic + 0.05 : 0; }), (e.prototype.coreScale = function () { for ( var t = this.baseChild.getBBox().rscale, e = this.baseChild; (e.node.isKind("mstyle") || e.node.isKind("mrow") || e.node.isKind("TeXAtom")) && 1 === e.childNodes.length; ) t *= (e = e.childNodes[0]).getBBox().rscale; return t; }), (e.prototype.isCharBase = function () { for ( var t = this.baseChild; (t.node.isKind("mstyle") || t.node.isKind("mrow")) && 1 === t.childNodes.length; ) t = t.childNodes[0]; return ( (t.node.isKind("mo") || t.node.isKind("mi") || t.node.isKind("mn")) && 1 === t.bbox.rscale && 1 === Array.from(t.getText()).length && !t.node.attributes.get("largeop") ); }), (e.prototype.getOffset = function (t, e) { return [0, 0]; }), (e.prototype.getV = function (t, e) { var r = this.font.params, n = this.length2em( this.node.attributes.get("subscriptshift"), r.sub1, ); return Math.max( this.isCharBase() ? 0 : t.d * t.rscale + r.sub_drop * e.rscale, n, e.h * e.rscale - 0.8 * r.x_height, ); }), (e.prototype.getU = function (t, e) { var r = this.font.params, n = this.node.attributes.getList( "displaystyle", "superscriptshift", ), o = this.node.getProperty("texprimestyle") ? r.sup3 : n.displaystyle ? r.sup1 : r.sup2, i = this.length2em(n.superscriptshift, o); return Math.max( this.isCharBase() ? 0 : t.h * t.rscale - r.sup_drop * e.rscale, i, e.d * e.rscale + (1 / 4) * r.x_height, ); }), (e.prototype.hasMovableLimits = function () { var t = this.node.attributes.get("displaystyle"), e = this.baseChild.coreMO().node; return !t && !!e.attributes.get("movablelimits"); }), (e.prototype.getOverKU = function (t, e) { var r = this.node.attributes.get("accent"), n = this.font.params, o = e.d * e.rscale, i = (r ? n.rule_thickness : Math.max( n.big_op_spacing1, n.big_op_spacing3 - Math.max(0, o), )) - (this.baseChild.node.isKind("munderover") ? 0.1 : 0); return [i, t.h * t.rscale + i + o]; }), (e.prototype.getUnderKV = function (t, e) { var r = this.node.attributes.get("accentunder"), n = this.font.params, o = e.h * e.rscale, i = (r ? n.rule_thickness : Math.max(n.big_op_spacing2, n.big_op_spacing4 - o)) - (this.baseChild.node.isKind("munderover") ? 0.1 : 0); return [i, -(t.d * t.rscale + i + o)]; }), (e.prototype.getDeltaW = function (t, e) { var r, n, o, i; void 0 === e && (e = [0, 0, 0]); var c = this.node.attributes.get("align"), l = t.map(function (t) { return t.w * t.rscale; }), u = Math.max.apply(Math, s(l)), h = [], p = 0; try { for (var f = a(l.keys()), d = f.next(); !d.done; d = f.next()) { (h[(v = d.value)] = ("center" === c ? (u - l[v]) / 2 : "right" === c ? u - l[v] : 0) + e[v]), h[v] < p && (p = -h[v]); } } catch (t) { r = { error: t }; } finally { try { d && !d.done && (n = f.return) && n.call(f); } finally { if (r) throw r.error; } } if (p) try { for ( var y = a(h.keys()), m = y.next(); !m.done; m = y.next() ) { var v; h[(v = m.value)] += p; } } catch (t) { o = { error: t }; } finally { try { m && !m.done && (i = y.return) && i.call(y); } finally { if (o) throw o.error; } } return h; }), (e.prototype.getDelta = function (t) { void 0 === t && (t = !1); var e = this.node.attributes.get("accent") && !t ? this.baseChild.coreMO().bbox.sk : 0; return ((1.5 * this.baseCore.bbox.ic) / 2 + e) * this.coreScale(); }), (e.prototype.stretchChildren = function () { var t, e, r, n, o, i, s = []; try { for ( var c = a(this.childNodes), l = c.next(); !l.done; l = c.next() ) { (x = l.value).canStretch(2) && s.push(x); } } catch (e) { t = { error: e }; } finally { try { l && !l.done && (e = c.return) && e.call(c); } finally { if (t) throw t.error; } } var u = s.length, h = this.childNodes.length; if (u && h > 1) { var p = 0, f = u > 1 && u === h; try { for ( var d = a(this.childNodes), y = d.next(); !y.done; y = d.next() ) { var m = 0 === (x = y.value).stretch.dir; if (f || m) { var v = x.getBBox(m), b = v.w, M = v.rscale; b * M > p && (p = b * M); } } } catch (t) { r = { error: t }; } finally { try { y && !y.done && (n = d.return) && n.call(d); } finally { if (r) throw r.error; } } try { for (var g = a(s), O = g.next(); !O.done; O = g.next()) { var x; (x = O.value) .coreMO() .getStretchedVariant([p / x.bbox.rscale]); } } catch (t) { o = { error: t }; } finally { try { O && !O.done && (i = g.return) && i.call(g); } finally { if (o) throw o.error; } } } }), e ); })(t)).useIC = !1), e ); }; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }); Object.defineProperty(e, "__esModule", { value: !0 }), (e.CHTMLmunderover = e.CHTMLmover = e.CHTMLmunder = void 0); var i = r(24), s = r(26), a = r(26), c = r(26), l = r(50), u = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), (e.prototype.toCHTML = function (e) { if (this.hasMovableLimits()) return ( t.prototype.toCHTML.call(this, e), void this.adaptor.setAttribute(this.chtml, "limits", "false") ); this.chtml = this.standardCHTMLnode(e); var r = this.adaptor.append( this.adaptor.append(this.chtml, this.html("mjx-row")), this.html("mjx-base"), ), n = this.adaptor.append( this.adaptor.append(this.chtml, this.html("mjx-row")), this.html("mjx-under"), ); this.baseChild.toCHTML(r), this.script.toCHTML(n); var o = this.baseChild.getBBox(), i = this.script.getBBox(), s = this.getUnderKV(o, i)[0], a = this.getDelta(!0); this.adaptor.setStyle(n, "paddingTop", this.em(s)), this.setDeltaW([r, n], this.getDeltaW([o, i], [0, -a])), this.adjustUnderDepth(n, i); }), (e.kind = l.MmlMunder.prototype.kind), (e.useIC = !0), (e.styles = { "mjx-over": { "text-align": "left" }, 'mjx-munder:not([limits="false"])': { display: "inline-table" }, "mjx-munder > mjx-row": { "text-align": "left" }, "mjx-under": { "padding-bottom": ".1em" }, }), e ); })(s.CommonMunderMixin(i.CHTMLmsub)); e.CHTMLmunder = u; var h = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), (e.prototype.toCHTML = function (e) { if (this.hasMovableLimits()) return ( t.prototype.toCHTML.call(this, e), void this.adaptor.setAttribute(this.chtml, "limits", "false") ); this.chtml = this.standardCHTMLnode(e); var r = this.adaptor.append(this.chtml, this.html("mjx-over")), n = this.adaptor.append(this.chtml, this.html("mjx-base")); this.script.toCHTML(r), this.baseChild.toCHTML(n); var o = this.script.getBBox(), i = this.baseChild.getBBox(), s = this.getOverKU(i, o)[0], a = this.getDelta(); this.adaptor.setStyle(r, "paddingBottom", this.em(s)), this.setDeltaW([n, r], this.getDeltaW([i, o], [0, a])), this.adjustOverDepth(r, o); }), (e.kind = l.MmlMover.prototype.kind), (e.useIC = !0), (e.styles = { 'mjx-mover:not([limits="false"])': { "padding-top": ".1em" }, 'mjx-mover:not([limits="false"]) > *': { display: "block", "text-align": "left", }, }), e ); })(a.CommonMoverMixin(i.CHTMLmsup)); e.CHTMLmover = h; var p = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), (e.prototype.toCHTML = function (e) { if (this.hasMovableLimits()) return ( t.prototype.toCHTML.call(this, e), void this.adaptor.setAttribute(this.chtml, "limits", "false") ); this.chtml = this.standardCHTMLnode(e); var r = this.adaptor.append(this.chtml, this.html("mjx-over")), n = this.adaptor.append( this.adaptor.append(this.chtml, this.html("mjx-box")), this.html("mjx-munder"), ), o = this.adaptor.append( this.adaptor.append(n, this.html("mjx-row")), this.html("mjx-base"), ), i = this.adaptor.append( this.adaptor.append(n, this.html("mjx-row")), this.html("mjx-under"), ); this.overChild.toCHTML(r), this.baseChild.toCHTML(o), this.underChild.toCHTML(i); var s = this.overChild.getBBox(), a = this.baseChild.getBBox(), c = this.underChild.getBBox(), l = this.getOverKU(a, s)[0], u = this.getUnderKV(a, c)[0], h = this.getDelta(); this.adaptor.setStyle(r, "paddingBottom", this.em(l)), this.adaptor.setStyle(i, "paddingTop", this.em(u)), this.setDeltaW([o, i, r], this.getDeltaW([a, c, s], [0, -h, h])), this.adjustOverDepth(r, s), this.adjustUnderDepth(i, c); }), (e.kind = l.MmlMunderover.prototype.kind), (e.useIC = !0), (e.styles = { 'mjx-munderover:not([limits="false"])': { "padding-top": ".1em" }, 'mjx-munderover:not([limits="false"]) > *': { display: "block" }, }), e ); })(c.CommonMunderoverMixin(i.CHTMLmsubsup)); e.CHTMLmunderover = p; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__read) || function (t, e) { var r = "function" == typeof Symbol && t[Symbol.iterator]; if (!r) return t; var n, o, i = r.call(t), s = []; try { for (; (void 0 === e || e-- > 0) && !(n = i.next()).done; ) s.push(n.value); } catch (t) { o = { error: t }; } finally { try { n && !n.done && (r = i.return) && r.call(i); } finally { if (o) throw o.error; } } return s; }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.CHTMLmmultiscripts = void 0); var s = r(24), a = r(140), c = r(51), l = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), (e.prototype.toCHTML = function (t) { var e = this.standardCHTMLnode(t), r = this.getScriptData(), n = this.combinePrePost(r.sub, r.psub), o = this.combinePrePost(r.sup, r.psup), s = i(this.getUVQ(r.base, n, o), 2), a = s[0], c = s[1]; r.numPrescripts && this.addScripts( a, -c, !0, r.psub, r.psup, this.firstPrescript, r.numPrescripts, ), this.childNodes[0].toCHTML(e), r.numScripts && this.addScripts(a, -c, !1, r.sub, r.sup, 1, r.numScripts); }), (e.prototype.addScripts = function (t, e, r, n, o, i, s) { var a = this.adaptor, c = t - o.d + (e - n.h), l = t < 0 && 0 === e ? n.h + t : t, u = c > 0 ? { style: { height: this.em(c) } } : {}, h = l ? { style: { "vertical-align": this.em(l) } } : {}, p = this.html("mjx-row"), f = this.html("mjx-row", u), d = this.html("mjx-row"), y = "mjx-" + (r ? "pre" : "") + "scripts"; a.append(this.chtml, this.html(y, h, [p, f, d])); for (var m = i + 2 * s; i < m; ) this.childNodes[i++].toCHTML(a.append(d, this.html("mjx-cell"))), this.childNodes[i++].toCHTML( a.append(p, this.html("mjx-cell")), ); }), (e.kind = c.MmlMmultiscripts.prototype.kind), (e.styles = { "mjx-prescripts": { display: "inline-table", "padding-left": ".05em", }, "mjx-scripts": { display: "inline-table", "padding-right": ".05em", }, "mjx-prescripts > mjx-row > mjx-cell": { "text-align": "right" }, }), e ); })(a.CommonMmultiscriptsMixin(s.CHTMLmsubsup)); e.CHTMLmmultiscripts = l; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__read) || function (t, e) { var r = "function" == typeof Symbol && t[Symbol.iterator]; if (!r) return t; var n, o, i = r.call(t), s = []; try { for (; (void 0 === e || e-- > 0) && !(n = i.next()).done; ) s.push(n.value); } catch (t) { o = { error: t }; } finally { try { n && !n.done && (r = i.return) && r.call(i); } finally { if (o) throw o.error; } } return s; }, s = (this && this.__values) || function (t) { var e = "function" == typeof Symbol && Symbol.iterator, r = e && t[e], n = 0; if (r) return r.call(t); if (t && "number" == typeof t.length) return { next: function () { return ( t && n >= t.length && (t = void 0), { value: t && t[n++], done: !t } ); }, }; throw new TypeError( e ? "Object is not iterable." : "Symbol.iterator is not defined.", ); }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.CommonMmultiscriptsMixin = e.ScriptNames = e.NextScript = void 0); var a = r(8); (e.NextScript = { base: "subList", subList: "supList", supList: "subList", psubList: "psupList", psupList: "psubList", }), (e.ScriptNames = ["sup", "sup", "psup", "psub"]), (e.CommonMmultiscriptsMixin = function (t) { return (function (t) { function r() { var e = (null !== t && t.apply(this, arguments)) || this; return (e.scriptData = null), (e.firstPrescript = 0), e; } return ( o(r, t), (r.prototype.combinePrePost = function (t, e) { var r = new a.BBox(t); return r.combine(e, 0, 0), r; }), (r.prototype.computeBBox = function (t, e) { void 0 === e && (e = !1); var r = this.font.params.scriptspace, n = this.getScriptData(), o = this.combinePrePost(n.sub, n.psub), s = this.combinePrePost(n.sup, n.psup), a = i(this.getUVQ(n.base, o, s), 2), c = a[0], l = a[1]; if ( (t.empty(), n.numPrescripts && (t.combine(n.psup, r, c), t.combine(n.psub, r, l)), t.append(n.base), n.numScripts) ) { var u = t.w; t.combine(n.sup, u, c), t.combine(n.sub, u, l), (t.w += r); } t.clean(), this.setChildPWidths(e); }), (r.prototype.getScriptData = function () { if (this.scriptData) return this.scriptData; var t = (this.scriptData = { base: null, sub: a.BBox.empty(), sup: a.BBox.empty(), psub: a.BBox.empty(), psup: a.BBox.empty(), numPrescripts: 0, numScripts: 0, }), e = this.getScriptBBoxLists(); return ( this.combineBBoxLists(t.sub, t.sup, e.subList, e.supList), this.combineBBoxLists(t.psub, t.psup, e.psubList, e.psupList), (this.scriptData.base = e.base[0]), (this.scriptData.numPrescripts = e.psubList.length), (this.scriptData.numScripts = e.subList.length), this.scriptData ); }), (r.prototype.getScriptBBoxLists = function () { var t, r, n = { base: [], subList: [], supList: [], psubList: [], psupList: [], }, o = "base"; try { for ( var i = s(this.childNodes), a = i.next(); !a.done; a = i.next() ) { var c = a.value; c.node.isKind("mprescripts") ? (o = "psubList") : (n[o].push(c.getBBox()), (o = e.NextScript[o])); } } catch (e) { t = { error: e }; } finally { try { a && !a.done && (r = i.return) && r.call(i); } finally { if (t) throw t.error; } } return ( (this.firstPrescript = n.subList.length + n.supList.length + 2), this.padLists(n.subList, n.supList), this.padLists(n.psubList, n.psupList), n ); }), (r.prototype.padLists = function (t, e) { t.length > e.length && e.push(a.BBox.empty()); }), (r.prototype.combineBBoxLists = function (t, e, r, n) { for (var o = 0; o < r.length; o++) { var s = i(this.getScaledWHD(r[o]), 3), a = s[0], c = s[1], l = s[2], u = i(this.getScaledWHD(n[o]), 3), h = u[0], p = u[1], f = u[2], d = Math.max(a, h); (t.w += d), (e.w += d), c > t.h && (t.h = c), l > t.d && (t.d = l), p > e.h && (e.h = p), f > e.d && (e.d = f); } }), (r.prototype.getScaledWHD = function (t) { var e = t.w, r = t.h, n = t.d, o = t.rscale; return [e * o, r * o, n * o]; }), (r.prototype.getUVQ = function (e, r, n) { var o; if (!this.UVQ) { var s = i([0, 0, 0], 3), a = s[0], c = s[1], l = s[2]; 0 === r.h && 0 === r.d ? (a = this.getU(e, n)) : 0 === n.h && 0 === n.d ? (a = -this.getV(e, r)) : ((a = (o = i( t.prototype.getUVQ.call(this, e, r, n), 3, ))[0]), (c = o[1]), (l = o[2])), (this.UVQ = [a, c, l]); } return this.UVQ; }), r ); })(t); }); }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__values) || function (t) { var e = "function" == typeof Symbol && Symbol.iterator, r = e && t[e], n = 0; if (r) return r.call(t); if (t && "number" == typeof t.length) return { next: function () { return ( t && n >= t.length && (t = void 0), { value: t && t[n++], done: !t } ); }, }; throw new TypeError( e ? "Object is not iterable." : "Symbol.iterator is not defined.", ); }, s = (this && this.__read) || function (t, e) { var r = "function" == typeof Symbol && t[Symbol.iterator]; if (!r) return t; var n, o, i = r.call(t), s = []; try { for (; (void 0 === e || e-- > 0) && !(n = i.next()).done; ) s.push(n.value); } catch (t) { o = { error: t }; } finally { try { n && !n.done && (r = i.return) && r.call(i); } finally { if (o) throw o.error; } } return s; }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.CHTMLmtable = void 0); var a = r(2), c = r(142), l = r(52), u = r(7), h = (function (t) { function e(e, r, n) { void 0 === n && (n = null); var o = t.call(this, e, r, n) || this; return ( (o.itable = o.html("mjx-itable")), (o.labels = o.html("mjx-itable")), o ); } return ( o(e, t), (e.prototype.getAlignShift = function () { var e = t.prototype.getAlignShift.call(this); return this.isTop || (e[1] = 0), e; }), (e.prototype.toCHTML = function (t) { var e, r, n = this.standardCHTMLnode(t); this.adaptor.append(n, this.html("mjx-table", {}, [this.itable])); try { for ( var o = i(this.childNodes), s = o.next(); !s.done; s = o.next() ) { s.value.toCHTML(this.itable); } } catch (t) { e = { error: t }; } finally { try { s && !s.done && (r = o.return) && r.call(o); } finally { if (e) throw e.error; } } this.padRows(), this.handleColumnSpacing(), this.handleColumnLines(), this.handleColumnWidths(), this.handleRowSpacing(), this.handleRowLines(), this.handleEqualRows(), this.handleFrame(), this.handleWidth(), this.handleLabels(), this.handleAlign(), this.handleJustify(), this.shiftColor(); }), (e.prototype.shiftColor = function () { var t = this.adaptor, e = t.getStyle(this.chtml, "backgroundColor"); e && (t.setStyle(this.chtml, "backgroundColor", ""), t.setStyle(this.itable, "backgroundColor", e)); }), (e.prototype.padRows = function () { var t, e, r = this.adaptor; try { for ( var n = i(r.childNodes(this.itable)), o = n.next(); !o.done; o = n.next() ) for (var s = o.value; r.childNodes(s).length < this.numCols; ) r.append(s, this.html("mjx-mtd")); } catch (e) { t = { error: e }; } finally { try { o && !o.done && (e = n.return) && e.call(n); } finally { if (t) throw t.error; } } }), (e.prototype.handleColumnSpacing = function () { var t, e, r, n, o = this.getEmHalfSpacing(this.fSpace[0], this.cSpace), s = this.frame; try { for ( var a = i(this.tableRows), c = a.next(); !c.done; c = a.next() ) { var l = c.value, u = 0; try { for ( var h = ((r = void 0), i(l.tableCells)), p = h.next(); !p.done; p = h.next() ) { var f = p.value, d = o[u++], y = o[u], m = f ? f.chtml : this.adaptor.childNodes(l.chtml)[u]; ((u > 1 && "0.4em" !== d) || (s && 1 === u)) && this.adaptor.setStyle(m, "paddingLeft", d), ((u < this.numCols && "0.4em" !== y) || (s && u === this.numCols)) && this.adaptor.setStyle(m, "paddingRight", y); } } catch (t) { r = { error: t }; } finally { try { p && !p.done && (n = h.return) && n.call(h); } finally { if (r) throw r.error; } } } } catch (e) { t = { error: e }; } finally { try { c && !c.done && (e = a.return) && e.call(a); } finally { if (t) throw t.error; } } }), (e.prototype.handleColumnLines = function () { var t, e, r, n; if ("none" !== this.node.attributes.get("columnlines")) { var o = this.getColumnAttributes("columnlines"); try { for ( var s = i(this.childNodes), a = s.next(); !a.done; a = s.next() ) { var c = a.value, l = 0; try { for ( var u = ((r = void 0), i(this.adaptor.childNodes(c.chtml).slice(1))), h = u.next(); !h.done; h = u.next() ) { var p = h.value, f = o[l++]; "none" !== f && this.adaptor.setStyle(p, "borderLeft", ".07em " + f); } } catch (t) { r = { error: t }; } finally { try { h && !h.done && (n = u.return) && n.call(u); } finally { if (r) throw r.error; } } } } catch (e) { t = { error: e }; } finally { try { a && !a.done && (e = s.return) && e.call(s); } finally { if (t) throw t.error; } } } }), (e.prototype.handleColumnWidths = function () { var t, e, r, n; try { for ( var o = i(this.childNodes), s = o.next(); !s.done; s = o.next() ) { var a = s.value, c = 0; try { for ( var l = ((r = void 0), i(this.adaptor.childNodes(a.chtml))), u = l.next(); !u.done; u = l.next() ) { var h = u.value, p = this.cWidths[c++]; if (null !== p) { var f = "number" == typeof p ? this.em(p) : p; this.adaptor.setStyle(h, "width", f), this.adaptor.setStyle(h, "maxWidth", f), this.adaptor.setStyle(h, "minWidth", f); } } } catch (t) { r = { error: t }; } finally { try { u && !u.done && (n = l.return) && n.call(l); } finally { if (r) throw r.error; } } } } catch (e) { t = { error: e }; } finally { try { s && !s.done && (e = o.return) && e.call(o); } finally { if (t) throw t.error; } } }), (e.prototype.handleRowSpacing = function () { var t, e, r, n, o = this.getEmHalfSpacing(this.fSpace[1], this.rSpace), s = this.frame, a = 0; try { for ( var c = i(this.childNodes), l = c.next(); !l.done; l = c.next() ) { var u = l.value, h = o[a++], p = o[a]; try { for ( var f = ((r = void 0), i(u.childNodes)), d = f.next(); !d.done; d = f.next() ) { var y = d.value; ((a > 1 && "0.215em" !== h) || (s && 1 === a)) && this.adaptor.setStyle(y.chtml, "paddingTop", h), ((a < this.numRows && "0.215em" !== p) || (s && a === this.numRows)) && this.adaptor.setStyle(y.chtml, "paddingBottom", p); } } catch (t) { r = { error: t }; } finally { try { d && !d.done && (n = f.return) && n.call(f); } finally { if (r) throw r.error; } } } } catch (e) { t = { error: e }; } finally { try { l && !l.done && (e = c.return) && e.call(c); } finally { if (t) throw t.error; } } }), (e.prototype.handleRowLines = function () { var t, e, r, n; if ("none" !== this.node.attributes.get("rowlines")) { var o = this.getRowAttributes("rowlines"), s = 0; try { for ( var a = i(this.childNodes.slice(1)), c = a.next(); !c.done; c = a.next() ) { var l = c.value, u = o[s++]; if ("none" !== u) try { for ( var h = ((r = void 0), i(this.adaptor.childNodes(l.chtml))), p = h.next(); !p.done; p = h.next() ) { var f = p.value; this.adaptor.setStyle(f, "borderTop", ".07em " + u); } } catch (t) { r = { error: t }; } finally { try { p && !p.done && (n = h.return) && n.call(h); } finally { if (r) throw r.error; } } } } catch (e) { t = { error: e }; } finally { try { c && !c.done && (e = a.return) && e.call(a); } finally { if (t) throw t.error; } } } }), (e.prototype.handleEqualRows = function () { if (this.node.attributes.get("equalrows")) for ( var t = this.getRowHalfSpacing(), e = this.getTableData(), r = e.H, n = e.D, o = e.NH, i = e.ND, s = this.getEqualRowHeight(), a = 0; a < this.numRows; a++ ) { var c = this.childNodes[a]; s !== o[a] + i[a] && this.setRowHeight( c, s, (s - r[a] + n[a]) / 2, t[a] + t[a + 1], ); } }), (e.prototype.setRowHeight = function (t, e, r, n) { var o, s; this.adaptor.setStyle(t.chtml, "height", this.em(e + n)); var a = t.node.attributes.get("rowalign"); try { for ( var c = i(t.childNodes), l = c.next(); !l.done; l = c.next() ) { var u = l.value; if (this.setCellBaseline(u, a, e, r)) break; } } catch (t) { o = { error: t }; } finally { try { l && !l.done && (s = c.return) && s.call(c); } finally { if (o) throw o.error; } } }), (e.prototype.setCellBaseline = function (t, e, r, n) { var o = t.node.attributes.get("rowalign"); if ("baseline" === o || "axis" === o) { var i = this.adaptor, s = i.lastChild(t.chtml); i.setStyle(s, "height", this.em(r)), i.setStyle(s, "verticalAlign", this.em(-n)); var a = t.parent; if ( !( (a.node.isKind("mlabeledtr") && t === a.childNodes[0]) || ("baseline" !== e && "axis" !== e) ) ) return !0; } return !1; }), (e.prototype.handleFrame = function () { this.frame && this.adaptor.setStyle( this.itable, "border", ".07em " + this.node.attributes.get("frame"), ); }), (e.prototype.handleWidth = function () { var t = this.adaptor, e = this.getBBox(), r = e.w, n = e.L, o = e.R; t.setStyle(this.chtml, "minWidth", this.em(n + r + o)); var i = this.node.attributes.get("width"); if (u.isPercent(i)) t.setStyle(this.chtml, "width", ""), t.setAttribute(this.chtml, "width", "full"); else if (!this.hasLabels) { if ("auto" === i) return; i = this.em(this.length2em(i) + 2 * this.fLine); } var s = t.firstChild(this.chtml); t.setStyle(s, "width", i), t.setStyle(s, "minWidth", this.em(r)), (n || o) && (t.setStyle(this.chtml, "margin", ""), n === o ? t.setStyle(s, "margin", "0 " + this.em(o)) : t.setStyle( s, "margin", "0 " + this.em(o) + " 0 " + this.em(n), )), t.setAttribute(this.itable, "width", "full"); }), (e.prototype.handleAlign = function () { var t = s(this.getAlignmentRow(), 2), e = t[0], r = t[1]; if (null === r) "axis" !== e && this.adaptor.setAttribute(this.chtml, "align", e); else { var n = this.getVerticalPosition(r, e); this.adaptor.setAttribute(this.chtml, "align", "top"), this.adaptor.setStyle(this.chtml, "verticalAlign", this.em(n)); } }), (e.prototype.handleJustify = function () { var t = this.getAlignShift()[0]; "center" !== t && this.adaptor.setAttribute(this.chtml, "justify", t); }), (e.prototype.handleLabels = function () { if (this.hasLabels) { var t = this.labels, e = this.node.attributes, r = this.adaptor, n = e.get("side"); r.setAttribute(this.chtml, "side", n), r.setAttribute(t, "align", n), r.setStyle(t, n, "0"); var o = s(this.addLabelPadding(n), 2), i = o[0], a = o[1]; if (a) { var c = r.firstChild(this.chtml); this.setIndent(c, i, a); } this.updateRowHeights(), this.addLabelSpacing(); } }), (e.prototype.addLabelPadding = function (t) { var e = s(this.getPadAlignShift(t), 3), r = e[1], n = e[2], o = {}; if ("right" === t) { var i = this.node.attributes.get("width"), a = this.getBBox(), c = a.w, l = a.L, h = a.R; o.style = { width: u.isPercent(i) ? "calc(" + i + " + " + this.em(l + h) + ")" : this.em(l + c + h), }; } return ( this.adaptor.append( this.chtml, this.html("mjx-labels", o, [this.labels]), ), [r, n] ); }), (e.prototype.updateRowHeights = function () { if (!this.node.attributes.get("equalrows")) for ( var t = this.getTableData(), e = t.H, r = t.D, n = t.NH, o = t.ND, i = this.getRowHalfSpacing(), s = 0; s < this.numRows; s++ ) { var a = this.childNodes[s]; e[s] !== n[s] || r[s] !== o[s] ? this.setRowHeight(a, e[s] + r[s], r[s], i[s] + i[s + 1]) : a.node.isKind("mlabeledtr") && this.setCellBaseline( a.childNodes[0], "", e[s] + r[s], r[s], ); } }), (e.prototype.addLabelSpacing = function () { for ( var t = this.adaptor, e = this.node.attributes.get("equalrows"), r = this.getTableData(), n = r.H, o = r.D, i = e ? this.getEqualRowHeight() : 0, s = this.getRowHalfSpacing(), a = this.fLine, c = t.firstChild(this.labels), l = 0; l < this.numRows; l++ ) { this.childNodes[l].node.isKind("mlabeledtr") ? (a && t.insert( this.html("mjx-mtr", { style: { height: this.em(a) } }), c, ), t.setStyle( c, "height", this.em((e ? i : n[l] + o[l]) + s[l] + s[l + 1]), ), (c = t.next(c)), (a = this.rLines[l])) : (a += s[l] + (e ? i : n[l] + o[l]) + s[l + 1] + this.rLines[l]); } }), (e.kind = l.MmlMtable.prototype.kind), (e.styles = { "mjx-mtable": { "vertical-align": ".25em", "text-align": "center", position: "relative", "box-sizing": "border-box", }, "mjx-labels": { position: "absolute", left: 0, top: 0 }, "mjx-table": { display: "inline-block", "vertical-align": "-.5ex" }, "mjx-table > mjx-itable": { "vertical-align": "middle", "text-align": "left", "box-sizing": "border-box", }, "mjx-labels > mjx-itable": { position: "absolute", top: 0 }, 'mjx-mtable[justify="left"]': { "text-align": "left" }, 'mjx-mtable[justify="right"]': { "text-align": "right" }, 'mjx-mtable[justify="left"][side="left"]': { "padding-right": "0 ! important", }, 'mjx-mtable[justify="left"][side="right"]': { "padding-left": "0 ! important", }, 'mjx-mtable[justify="right"][side="left"]': { "padding-right": "0 ! important", }, 'mjx-mtable[justify="right"][side="right"]': { "padding-left": "0 ! important", }, "mjx-mtable[align]": { "vertical-align": "baseline" }, 'mjx-mtable[align="top"] > mjx-table': { "vertical-align": "top" }, 'mjx-mtable[align="bottom"] > mjx-table': { "vertical-align": "bottom", }, 'mjx-mtable[side="right"] mjx-labels': { "min-width": "100%" }, }), e ); })(c.CommonMtableMixin(a.CHTMLWrapper)); e.CHTMLmtable = h; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__read) || function (t, e) { var r = "function" == typeof Symbol && t[Symbol.iterator]; if (!r) return t; var n, o, i = r.call(t), s = []; try { for (; (void 0 === e || e-- > 0) && !(n = i.next()).done; ) s.push(n.value); } catch (t) { o = { error: t }; } finally { try { n && !n.done && (r = i.return) && r.call(i); } finally { if (o) throw o.error; } } return s; }, s = (this && this.__spread) || function () { for (var t = [], e = 0; e < arguments.length; e++) t = t.concat(i(arguments[e])); return t; }, a = (this && this.__values) || function (t) { var e = "function" == typeof Symbol && Symbol.iterator, r = e && t[e], n = 0; if (r) return r.call(t); if (t && "number" == typeof t.length) return { next: function () { return ( t && n >= t.length && (t = void 0), { value: t && t[n++], done: !t } ); }, }; throw new TypeError( e ? "Object is not iterable." : "Symbol.iterator is not defined.", ); }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.CommonMtableMixin = void 0); var c = r(8), l = r(7), u = r(101); e.CommonMtableMixin = function (t) { return (function (t) { function e() { for (var e = [], r = 0; r < arguments.length; r++) e[r] = arguments[r]; var n = t.apply(this, s(e)) || this; (n.numCols = 0), (n.numRows = 0), (n.data = null), (n.pwidthCells = []), (n.pWidth = 0), (n.numCols = u.max( n.tableRows.map(function (t) { return t.numCells; }), )), (n.numRows = n.childNodes.length), (n.hasLabels = n.childNodes.reduce(function (t, e) { return t || e.node.isKind("mlabeledtr"); }, !1)), n.findContainer(), (n.isTop = !n.container || (n.container.node.isKind("math") && !n.container.parent)), n.isTop && (n.jax.table = n), n.getPercentageWidth(); var o = n.node.attributes; return ( (n.frame = "none" !== o.get("frame")), (n.fLine = n.frame ? 0.07 : 0), (n.fSpace = n.frame ? n.convertLengths(n.getAttributeArray("framespacing")) : [0, 0]), (n.cSpace = n.convertLengths( n.getColumnAttributes("columnspacing"), )), (n.rSpace = n.convertLengths(n.getRowAttributes("rowspacing"))), (n.cLines = n.getColumnAttributes("columnlines").map(function (t) { return "none" === t ? 0 : 0.07; })), (n.rLines = n.getRowAttributes("rowlines").map(function (t) { return "none" === t ? 0 : 0.07; })), (n.cWidths = n.getColumnWidths()), n.stretchRows(), n.stretchColumns(), n ); } return ( o(e, t), Object.defineProperty(e.prototype, "tableRows", { get: function () { return this.childNodes; }, enumerable: !1, configurable: !0, }), (e.prototype.findContainer = function () { for ( var t = this, e = t.parent; e && (e.node.notParent || e.node.isKind("mrow")); ) (t = e), (e = e.parent); (this.container = e), (this.containerI = t.node.childPosition()); }), (e.prototype.getPercentageWidth = function () { if (this.hasLabels) this.bbox.pwidth = c.BBox.fullWidth; else { var t = this.node.attributes.get("width"); l.isPercent(t) && (this.bbox.pwidth = t); } }), (e.prototype.stretchRows = function () { for ( var t = this.node.attributes.get("equalrows"), e = t ? this.getEqualRowHeight() : 0, r = t ? this.getTableData() : { H: [0], D: [0] }, n = r.H, o = r.D, i = this.tableRows, s = 0; s < this.numRows; s++ ) { var a = t ? [(e + n[s] - o[s]) / 2, (e - n[s] + o[s]) / 2] : null; i[s].stretchChildren(a); } }), (e.prototype.stretchColumns = function () { for (var t = 0; t < this.numCols; t++) { var e = "number" == typeof this.cWidths[t] ? this.cWidths[t] : null; this.stretchColumn(t, e); } }), (e.prototype.stretchColumn = function (t, e) { var r, n, o, i, s, c, l = []; try { for ( var u = a(this.tableRows), h = u.next(); !h.done; h = u.next() ) { if ((v = h.value.getChild(t))) 0 === (x = v.childNodes[0]).stretch.dir && x.canStretch(2) && l.push(x); } } catch (t) { r = { error: t }; } finally { try { h && !h.done && (n = u.return) && n.call(u); } finally { if (r) throw r.error; } } var p = l.length, f = this.childNodes.length; if (p && f > 1) { if (null === e) { e = 0; var d = p > 1 && p === f; try { for ( var y = a(this.tableRows), m = y.next(); !m.done; m = y.next() ) { var v; if ((v = m.value.getChild(t))) { var b = 0 === (x = v.childNodes[0]).stretch.dir; if (d || b) { var M = x.getBBox(b).w; M > e && (e = M); } } } } catch (t) { o = { error: t }; } finally { try { m && !m.done && (i = y.return) && i.call(y); } finally { if (o) throw o.error; } } } try { for (var g = a(l), O = g.next(); !O.done; O = g.next()) { var x; (x = O.value).coreMO().getStretchedVariant([e]); } } catch (t) { s = { error: t }; } finally { try { O && !O.done && (c = g.return) && c.call(g); } finally { if (s) throw s.error; } } } }), (e.prototype.getTableData = function () { if (this.data) return this.data; for ( var t = new Array(this.numRows).fill(0), e = new Array(this.numRows).fill(0), r = new Array(this.numCols).fill(0), n = new Array(this.numRows), o = new Array(this.numRows), i = [0], s = this.tableRows, a = 0; a < s.length; a++ ) { for (var c = s[a], l = 0; l < c.numCells; l++) { var u = c.getChild(l); this.updateHDW(u, l, a, t, e, r), this.recordPWidthCell(u, l); } (n[a] = t[a]), (o[a] = e[a]), c.labeled && this.updateHDW(c.childNodes[0], 0, a, t, e, i); } var h = i[0]; return ( (this.data = { H: t, D: e, W: r, NH: n, ND: o, L: h }), this.data ); }), (e.prototype.updateHDW = function (t, e, r, n, o, i) { void 0 === i && (i = null); var s = t.getBBox(), a = s.h, c = s.d, l = s.w; a < 0.75 && (a = 0.75), c < 0.25 && (c = 0.25), a > n[r] && (n[r] = a), c > o[r] && (o[r] = c), i && l > i[e] && (i[e] = l); }), (e.prototype.recordPWidthCell = function (t, e) { t.childNodes[0] && t.childNodes[0].getBBox().pwidth && this.pwidthCells.push([t, e]); }), (e.prototype.computeBBox = function (t, e) { void 0 === e && (e = !1); var r, n, o = this.getTableData(), s = o.H, a = o.D; if (this.node.attributes.get("equalrows")) { var c = this.getEqualRowHeight(); r = u.sum([].concat(this.rLines, this.rSpace)) + c * this.numRows; } else r = u.sum(s.concat(a, this.rLines, this.rSpace)); r += 2 * (this.fLine + this.fSpace[1]); var h = this.getComputedWidths(); n = u.sum(h.concat(this.cLines, this.cSpace)) + 2 * (this.fLine + this.fSpace[0]); var p = this.node.attributes.get("width"); "auto" !== p && (n = Math.max(this.length2em(p, 0) + 2 * this.fLine, n)); var f = i(this.getBBoxHD(r), 2), d = f[0], y = f[1]; (t.h = d), (t.d = y), (t.w = n); var m = i(this.getBBoxLR(), 2), v = m[0], b = m[1]; (t.L = v), (t.R = b), l.isPercent(p) || this.setColumnPWidths(); }), (e.prototype.setChildPWidths = function (t, e, r) { var n = this.node.attributes.get("width"); if (!l.isPercent(n)) return !1; this.hasLabels || ((this.bbox.pwidth = ""), (this.container.bbox.pwidth = "")); var o = this.bbox, i = o.w, s = o.L, a = o.R, c = Math.max(i, this.length2em(n, Math.max(e, s + i + a))), h = this.node.attributes.get("equalcolumns") ? Array(this.numCols).fill( this.percent(1 / Math.max(1, this.numCols)), ) : this.getColumnAttributes("columnwidth", 0); this.cWidths = this.getColumnWidthsFixed(h, c); var p = this.getComputedWidths(); return ( (this.pWidth = u.sum(p.concat(this.cLines, this.cSpace)) + 2 * (this.fLine + this.fSpace[0])), this.isTop && (this.bbox.w = this.pWidth), this.setColumnPWidths(), this.pWidth !== i && this.parent.invalidateBBox(), this.pWidth !== i ); }), (e.prototype.setColumnPWidths = function () { var t, e, r = this.cWidths; try { for ( var n = a(this.pwidthCells), o = n.next(); !o.done; o = n.next() ) { var s = i(o.value, 2), c = s[0], l = s[1]; c.setChildPWidths(!1, r[l]) && (c.invalidateBBox(), c.getBBox()); } } catch (e) { t = { error: e }; } finally { try { o && !o.done && (e = n.return) && e.call(n); } finally { if (t) throw t.error; } } }), (e.prototype.getBBoxHD = function (t) { var e = i(this.getAlignmentRow(), 2), r = e[0], n = e[1]; if (null === n) { var o = this.font.params.axis_height, s = t / 2; return ( { top: [0, t], center: [s, s], bottom: [t, 0], baseline: [s, s], axis: [s + o, s - o], }[r] || [s, s] ); } var a = this.getVerticalPosition(n, r); return [a, t - a]; }), (e.prototype.getBBoxLR = function () { if (this.hasLabels) { var t = this.node.attributes.get("side"), e = i(this.getPadAlignShift(t), 2), r = e[0]; return "center" === e[1] ? [r, r] : "left" === t ? [r, 0] : [0, r]; } return [0, 0]; }), (e.prototype.getPadAlignShift = function (t) { var e = this.getTableData().L + this.length2em(this.node.attributes.get("minlabelspacing")), r = i( null == this.styles ? ["", ""] : [ this.styles.get("padding-left"), this.styles.get("padding-right"), ], 2, ), n = r[0], o = r[1]; (n || o) && (e = Math.max( e, this.length2em(n || "0"), this.length2em(o || "0"), )); var s = i(this.getAlignShift(), 2), a = s[0], c = s[1]; return ( a === t && (c = "left" === t ? Math.max(e, c) - e : Math.min(-e, c) + e), [e, a, c] ); }), (e.prototype.getAlignShift = function () { return this.isTop ? t.prototype.getAlignShift.call(this) : [this.container.getChildAlign(this.containerI), 0]; }), (e.prototype.getWidth = function () { return this.pWidth || this.getBBox().w; }), (e.prototype.getEqualRowHeight = function () { var t = this.getTableData(), e = t.H, r = t.D, n = Array.from(e.keys()).map(function (t) { return e[t] + r[t]; }); return Math.max.apply(Math, n); }), (e.prototype.getComputedWidths = function () { var t = this, e = this.getTableData().W, r = Array.from(e.keys()).map(function (r) { return "number" == typeof t.cWidths[r] ? t.cWidths[r] : e[r]; }); return ( this.node.attributes.get("equalcolumns") && (r = Array(r.length).fill(u.max(r))), r ); }), (e.prototype.getColumnWidths = function () { var t = this.node.attributes.get("width"); if (this.node.attributes.get("equalcolumns")) return this.getEqualColumns(t); var e = this.getColumnAttributes("columnwidth", 0); return "auto" === t ? this.getColumnWidthsAuto(e) : l.isPercent(t) ? this.getColumnWidthsPercent(e) : this.getColumnWidthsFixed(e, this.length2em(t)); }), (e.prototype.getEqualColumns = function (t) { var e, r = Math.max(1, this.numCols); if ("auto" === t) { var n = this.getTableData().W; e = u.max(n); } else if (l.isPercent(t)) e = this.percent(1 / r); else { var o = u.sum([].concat(this.cLines, this.cSpace)) + 2 * this.fSpace[0]; e = Math.max(0, this.length2em(t) - o) / r; } return Array(this.numCols).fill(e); }), (e.prototype.getColumnWidthsAuto = function (t) { var e = this; return t.map(function (t) { return "auto" === t || "fit" === t ? null : l.isPercent(t) ? t : e.length2em(t); }); }), (e.prototype.getColumnWidthsPercent = function (t) { var e = this, r = t.indexOf("fit") >= 0, n = (r ? this.getTableData() : { W: null }).W; return Array.from(t.keys()).map(function (o) { var i = t[o]; return "fit" === i ? null : "auto" === i ? r ? n[o] : null : l.isPercent(i) ? i : e.length2em(i); }); }), (e.prototype.getColumnWidthsFixed = function (t, e) { var r = this, n = Array.from(t.keys()), o = n.filter(function (e) { return "fit" === t[e]; }), i = n.filter(function (e) { return "auto" === t[e]; }), s = o.length || i.length, a = (s ? this.getTableData() : { W: null }).W, c = e - u.sum([].concat(this.cLines, this.cSpace)) - 2 * this.fSpace[0], l = c; n.forEach(function (n) { var o = t[n]; l -= "fit" === o || "auto" === o ? a[n] : r.length2em(o, e); }); var h = s && l > 0 ? l / s : 0; return n.map(function (e) { var n = t[e]; return "fit" === n ? a[e] + h : "auto" === n ? a[e] + (0 === o.length ? h : 0) : r.length2em(n, c); }); }), (e.prototype.getVerticalPosition = function (t, e) { for ( var r = this.node.attributes.get("equalrows"), n = this.getTableData(), o = n.H, s = n.D, a = r ? this.getEqualRowHeight() : 0, c = this.getRowHalfSpacing(), l = this.fLine, u = 0; u < t; u++ ) l += c[u] + (r ? a : o[u] + s[u]) + c[u + 1] + this.rLines[u]; var h = i( r ? [(a + o[t] - s[t]) / 2, (a - o[t] + s[t]) / 2] : [o[t], s[t]], 2, ), p = h[0], f = h[1]; return (l += { top: 0, center: c[t] + (p + f) / 2, bottom: c[t] + p + f + c[t + 1], baseline: c[t] + p, axis: c[t] + p - 0.25, }[e] || 0); }), (e.prototype.getEmHalfSpacing = function (t, e) { var r = this.em(t), n = this.addEm(e, 2); return n.unshift(r), n.push(r), n; }), (e.prototype.getRowHalfSpacing = function () { var t = this.rSpace.map(function (t) { return t / 2; }); return t.unshift(this.fSpace[1]), t.push(this.fSpace[1]), t; }), (e.prototype.getColumnHalfSpacing = function () { var t = this.cSpace.map(function (t) { return t / 2; }); return t.unshift(this.fSpace[0]), t.push(this.fSpace[0]), t; }), (e.prototype.getAlignmentRow = function () { var t = i(l.split(this.node.attributes.get("align")), 2), e = t[0], r = t[1]; if (null == r) return [e, null]; var n = parseInt(r); return ( n < 0 && (n += this.numRows + 1), [e, n < 1 || n > this.numRows ? null : n - 1] ); }), (e.prototype.getColumnAttributes = function (t, e) { void 0 === e && (e = 1); var r = this.numCols - e, n = this.getAttributeArray(t); if (0 === n.length) return null; for (; n.length < r; ) n.push(n[n.length - 1]); return n.length > r && n.splice(r), n; }), (e.prototype.getRowAttributes = function (t, e) { void 0 === e && (e = 1); var r = this.numRows - e, n = this.getAttributeArray(t); if (0 === n.length) return null; for (; n.length < r; ) n.push(n[n.length - 1]); return n.length > r && n.splice(r), n; }), (e.prototype.getAttributeArray = function (t) { var e = this.node.attributes.get(t); return e ? l.split(e) : [this.node.attributes.getDefault(t)]; }), (e.prototype.addEm = function (t, e) { var r = this; return ( void 0 === e && (e = 1), t ? t.map(function (t) { return r.em(t / e); }) : null ); }), (e.prototype.convertLengths = function (t) { var e = this; return t ? t.map(function (t) { return e.length2em(t); }) : null; }), e ); })(t); }; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }); Object.defineProperty(e, "__esModule", { value: !0 }), (e.CHTMLmlabeledtr = e.CHTMLmtr = void 0); var i = r(2), s = r(64), a = r(64), c = r(53), l = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), (e.prototype.toCHTML = function (e) { t.prototype.toCHTML.call(this, e); var r = this.node.attributes.get("rowalign"); "baseline" !== r && this.adaptor.setAttribute(this.chtml, "rowalign", r); }), (e.kind = c.MmlMtr.prototype.kind), (e.styles = { "mjx-mtr": { display: "table-row" }, 'mjx-mtr[rowalign="top"] > mjx-mtd': { "vertical-align": "top" }, 'mjx-mtr[rowalign="center"] > mjx-mtd': { "vertical-align": "middle", }, 'mjx-mtr[rowalign="bottom"] > mjx-mtd': { "vertical-align": "bottom", }, 'mjx-mtr[rowalign="baseline"] > mjx-mtd': { "vertical-align": "baseline", }, 'mjx-mtr[rowalign="axis"] > mjx-mtd': { "vertical-align": ".25em" }, }), e ); })(s.CommonMtrMixin(i.CHTMLWrapper)); e.CHTMLmtr = l; var u = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), (e.prototype.toCHTML = function (e) { t.prototype.toCHTML.call(this, e); var r = this.adaptor.firstChild(this.chtml); if (r) { this.adaptor.remove(r); var n = this.node.attributes.get("rowalign"), o = "baseline" !== n && "axis" !== n ? { rowalign: n } : {}, i = this.html("mjx-mtr", o, [r]); (l.used = !0), this.adaptor.append(this.parent.labels, i); } }), (e.kind = c.MmlMlabeledtr.prototype.kind), (e.styles = { "mjx-mlabeledtr": { display: "table-row" }, 'mjx-mlabeledtr[rowalign="top"] > mjx-mtd': { "vertical-align": "top", }, 'mjx-mlabeledtr[rowalign="center"] > mjx-mtd': { "vertical-align": "middle", }, 'mjx-mlabeledtr[rowalign="bottom"] > mjx-mtd': { "vertical-align": "bottom", }, 'mjx-mlabeledtr[rowalign="baseline"] > mjx-mtd': { "vertical-align": "baseline", }, 'mjx-mlabeledtr[rowalign="axis"] > mjx-mtd': { "vertical-align": ".25em", }, }), e ); })(a.CommonMlabeledtrMixin(l)); e.CHTMLmlabeledtr = u; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }); Object.defineProperty(e, "__esModule", { value: !0 }), (e.CHTMLmtd = void 0); var i = r(2), s = r(145), a = r(54), c = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), (e.prototype.toCHTML = function (e) { t.prototype.toCHTML.call(this, e); var r = this.node.attributes.get("rowalign"), n = this.node.attributes.get("columnalign"); r !== this.parent.node.attributes.get("rowalign") && this.adaptor.setAttribute(this.chtml, "rowalign", r), "center" === n || ("mlabeledtr" === this.parent.kind && this === this.parent.childNodes[0] && n === this.parent.parent.node.attributes.get("side")) || this.adaptor.setStyle(this.chtml, "textAlign", n), this.adaptor.append(this.chtml, this.html("mjx-tstrut")); }), (e.kind = a.MmlMtd.prototype.kind), (e.styles = { "mjx-mtd": { display: "table-cell", "text-align": "center", padding: ".215em .4em", }, "mjx-mtd:first-child": { "padding-left": 0 }, "mjx-mtd:last-child": { "padding-right": 0 }, "mjx-mtable > * > mjx-itable > *:first-child > mjx-mtd": { "padding-top": 0, }, "mjx-mtable > * > mjx-itable > *:last-child > mjx-mtd": { "padding-bottom": 0, }, "mjx-tstrut": { display: "inline-block", height: "1em", "vertical-align": "-.25em", }, 'mjx-labels[align="left"] > mjx-mtr > mjx-mtd': { "text-align": "left", }, 'mjx-labels[align="right"] > mjx-mtr > mjx-mtd': { "text-align": "right", }, 'mjx-mtr mjx-mtd[rowalign="top"], mjx-mlabeledtr mjx-mtd[rowalign="top"]': { "vertical-align": "top" }, 'mjx-mtr mjx-mtd[rowalign="center"], mjx-mlabeledtr mjx-mtd[rowalign="center"]': { "vertical-align": "middle" }, 'mjx-mtr mjx-mtd[rowalign="bottom"], mjx-mlabeledtr mjx-mtd[rowalign="bottom"]': { "vertical-align": "bottom" }, 'mjx-mtr mjx-mtd[rowalign="baseline"], mjx-mlabeledtr mjx-mtd[rowalign="baseline"]': { "vertical-align": "baseline" }, 'mjx-mtr mjx-mtd[rowalign="axis"], mjx-mlabeledtr mjx-mtd[rowalign="axis"]': { "vertical-align": ".25em" }, }), e ); })(s.CommonMtdMixin(i.CHTMLWrapper)); e.CHTMLmtd = c; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }); Object.defineProperty(e, "__esModule", { value: !0 }), (e.CommonMtdMixin = void 0), (e.CommonMtdMixin = function (t) { return (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), Object.defineProperty(e.prototype, "fixesPWidth", { get: function () { return !1; }, enumerable: !1, configurable: !0, }), (e.prototype.invalidateBBox = function () { this.bboxComputed = !1; }), (e.prototype.getWrapWidth = function (t) { var e = this.parent.parent, r = this.parent, n = this.node.childPosition() - (r.labeled ? 1 : 0); return "number" == typeof e.cWidths[n] ? e.cWidths[n] : e.getTableData().W[n]; }), (e.prototype.getChildAlign = function (t) { return this.node.attributes.get("columnalign"); }), e ); })(t); }); }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }); Object.defineProperty(e, "__esModule", { value: !0 }), (e.CHTMLmaction = void 0); var i = r(2), s = r(65), a = r(65), c = r(49), l = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), (e.prototype.toCHTML = function (t) { var e = this.standardCHTMLnode(t); this.selected.toCHTML(e), this.action(this, this.data); }), (e.prototype.setEventHandler = function (t, e) { this.chtml.addEventListener(t, e); }), (e.kind = c.MmlMaction.prototype.kind), (e.styles = { "mjx-maction": { position: "relative" }, "mjx-maction > mjx-tool": { display: "none", position: "absolute", bottom: 0, right: 0, width: 0, height: 0, "z-index": 500, }, "mjx-tool > mjx-tip": { display: "inline-block", padding: ".2em", border: "1px solid #888", "font-size": "70%", "background-color": "#F8F8F8", color: "black", "box-shadow": "2px 2px 5px #AAAAAA", }, "mjx-maction[toggle]": { cursor: "pointer" }, "mjx-status": { display: "block", position: "fixed", left: "1em", bottom: "1em", "min-width": "25%", padding: ".2em .4em", border: "1px solid #888", "font-size": "90%", "background-color": "#F8F8F8", color: "black", }, }), (e.actions = new Map([ [ "toggle", [ function (t, e) { t.adaptor.setAttribute( t.chtml, "toggle", t.node.attributes.get("selection"), ); var r = t.factory.jax.math, n = t.factory.jax.document, o = t.node; t.setEventHandler("click", function (t) { r.end.node || ((r.start.node = r.end.node = r.typesetRoot), (r.start.n = r.end.n = 0)), o.nextToggleSelection(), r.rerender(n), t.stopPropagation(); }); }, {}, ], ], [ "tooltip", [ function (t, e) { var r = t.childNodes[1]; if (r) if (r.node.isKind("mtext")) { var n = r.node.getText(); t.adaptor.setAttribute(t.chtml, "title", n); } else { var o = t.adaptor, i = o.append( t.chtml, t.html( "mjx-tool", { style: { bottom: t.em(-t.dy), right: t.em(-t.dx), }, }, [t.html("mjx-tip")], ), ); r.toCHTML(o.firstChild(i)), t.setEventHandler("mouseover", function (r) { e.stopTimers(t, e); var n = setTimeout(function () { return o.setStyle(i, "display", "block"); }, e.postDelay); e.hoverTimer.set(t, n), r.stopPropagation(); }), t.setEventHandler("mouseout", function (r) { e.stopTimers(t, e); var n = setTimeout(function () { return o.setStyle(i, "display", ""); }, e.clearDelay); e.clearTimer.set(t, n), r.stopPropagation(); }); } }, a.TooltipData, ], ], [ "statusline", [ function (t, e) { var r = t.childNodes[1]; if (r && r.node.isKind("mtext")) { var n = t.adaptor, o = r.node.getText(); n.setAttribute(t.chtml, "statusline", o), t.setEventHandler("mouseover", function (r) { if (null === e.status) { var i = n.body(n.document); e.status = n.append( i, t.html("mjx-status", {}, [t.text(o)]), ); } r.stopPropagation(); }), t.setEventHandler("mouseout", function (t) { e.status && (n.remove(e.status), (e.status = null)), t.stopPropagation(); }); } }, { status: null }, ], ], ])), e ); })(s.CommonMactionMixin(i.CHTMLWrapper)); e.CHTMLmaction = l; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }); Object.defineProperty(e, "__esModule", { value: !0 }), (e.CHTMLmglyph = void 0); var i = r(2), s = r(148), a = r(55), c = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), (e.prototype.toCHTML = function (t) { var e = this.standardCHTMLnode(t), r = this.node.attributes.getList("src", "alt"), n = r.src, o = r.alt, i = { width: this.em(this.width), height: this.em(this.height) }; this.valign && (i.verticalAlign = this.em(this.valign)); var s = this.html("img", { src: n, style: i, alt: o, title: o }); this.adaptor.append(e, s); }), (e.kind = a.MmlMglyph.prototype.kind), (e.styles = { "mjx-mglyph > img": { display: "inline-block", border: 0, padding: 0, }, }), e ); })(s.CommonMglyphMixin(i.CHTMLWrapper)); e.CHTMLmglyph = c; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__read) || function (t, e) { var r = "function" == typeof Symbol && t[Symbol.iterator]; if (!r) return t; var n, o, i = r.call(t), s = []; try { for (; (void 0 === e || e-- > 0) && !(n = i.next()).done; ) s.push(n.value); } catch (t) { o = { error: t }; } finally { try { n && !n.done && (r = i.return) && r.call(i); } finally { if (o) throw o.error; } } return s; }, s = (this && this.__spread) || function () { for (var t = [], e = 0; e < arguments.length; e++) t = t.concat(i(arguments[e])); return t; }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.CommonMglyphMixin = void 0), (e.CommonMglyphMixin = function (t) { return (function (t) { function e() { for (var e = [], r = 0; r < arguments.length; r++) e[r] = arguments[r]; var n = t.apply(this, s(e)) || this; return n.getParameters(), n; } return ( o(e, t), (e.prototype.getParameters = function () { var t = this.node.attributes.getList("width", "height", "valign"), e = t.width, r = t.height, n = t.valign; (this.width = "auto" === e ? 1 : this.length2em(e)), (this.height = "auto" === r ? 1 : this.length2em(r)), (this.valign = this.length2em(n || "0")); }), (e.prototype.computeBBox = function (t, e) { void 0 === e && (e = !1), (t.w = this.width), (t.h = this.height + this.valign), (t.d = -this.valign); }), e ); })(t); }); }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }); Object.defineProperty(e, "__esModule", { value: !0 }), (e.CHTMLxml = e.CHTMLannotationXML = e.CHTMLannotation = e.CHTMLsemantics = void 0); var i = r(2), s = r(150), a = r(56), c = r(0), l = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), (e.prototype.toCHTML = function (t) { var e = this.standardCHTMLnode(t); this.childNodes.length && this.childNodes[0].toCHTML(e); }), (e.kind = a.MmlSemantics.prototype.kind), e ); })(s.CommonSemanticsMixin(i.CHTMLWrapper)); e.CHTMLsemantics = l; var u = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), (e.prototype.toCHTML = function (e) { t.prototype.toCHTML.call(this, e); }), (e.prototype.computeBBox = function () { return this.bbox; }), (e.kind = a.MmlAnnotation.prototype.kind), e ); })(i.CHTMLWrapper); e.CHTMLannotation = u; var h = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), (e.kind = a.MmlAnnotationXML.prototype.kind), (e.styles = { "mjx-annotation-xml": { "font-family": "initial", "line-height": "normal", }, }), e ); })(i.CHTMLWrapper); e.CHTMLannotationXML = h; var p = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), (e.prototype.toCHTML = function (t) { this.chtml = this.adaptor.append( t, this.adaptor.clone(this.node.getXML()), ); }), (e.prototype.computeBBox = function (t, e) { void 0 === e && (e = !1); var r = this.jax.measureXMLnode(this.node.getXML()), n = r.w, o = r.h, i = r.d; (t.w = n), (t.h = o), (t.d = i); }), (e.prototype.getStyles = function () {}), (e.prototype.getScale = function () {}), (e.prototype.getVariant = function () {}), (e.kind = c.XMLNode.prototype.kind), (e.autoStyle = !1), e ); })(i.CHTMLWrapper); e.CHTMLxml = p; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }); Object.defineProperty(e, "__esModule", { value: !0 }), (e.CommonSemanticsMixin = void 0), (e.CommonSemanticsMixin = function (t) { return (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), (e.prototype.computeBBox = function (t, e) { if ((void 0 === e && (e = !1), this.childNodes.length)) { var r = this.childNodes[0].getBBox(), n = r.w, o = r.h, i = r.d; (t.w = n), (t.h = o), (t.d = i); } }), e ); })(t); }); }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }); Object.defineProperty(e, "__esModule", { value: !0 }), (e.CHTMLTeXAtom = void 0); var i = r(2), s = r(152), a = r(57), c = r(0), l = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), (e.prototype.toCHTML = function (e) { if ( (t.prototype.toCHTML.call(this, e), this.adaptor.setAttribute( this.chtml, "texclass", c.TEXCLASSNAMES[this.node.texClass], ), this.node.texClass === c.TEXCLASS.VCENTER) ) { var r = this.childNodes[0].getBBox(), n = r.h, o = (n + r.d) / 2 + this.font.params.axis_height - n; this.adaptor.setStyle(this.chtml, "verticalAlign", this.em(o)); } }), (e.kind = a.TeXAtom.prototype.kind), e ); })(s.CommonTeXAtomMixin(i.CHTMLWrapper)); e.CHTMLTeXAtom = l; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }); Object.defineProperty(e, "__esModule", { value: !0 }), (e.CommonTeXAtomMixin = void 0); var i = r(0); e.CommonTeXAtomMixin = function (t) { return (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), (e.prototype.computeBBox = function (e, r) { if ( (void 0 === r && (r = !1), t.prototype.computeBBox.call(this, e, r), this.childNodes[0] && this.childNodes[0].bbox.ic && (e.ic = this.childNodes[0].bbox.ic), this.node.texClass === i.TEXCLASS.VCENTER) ) { var n = e.h, o = (n + e.d) / 2 + this.font.params.axis_height - n; (e.h += o), (e.d -= o); } }), e ); })(t); }; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__values) || function (t) { var e = "function" == typeof Symbol && Symbol.iterator, r = e && t[e], n = 0; if (r) return r.call(t); if (t && "number" == typeof t.length) return { next: function () { return ( t && n >= t.length && (t = void 0), { value: t && t[n++], done: !t } ); }, }; throw new TypeError( e ? "Object is not iterable." : "Symbol.iterator is not defined.", ); }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.CHTMLTextNode = void 0); var s = r(0), a = r(2), c = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), (e.prototype.toCHTML = function (t) { var e, r; this.markUsed(); var n = this.adaptor, o = this.parent.variant, s = this.node.getText(); if ("-explicitFont" === o) { var a = this.jax.getFontData(this.parent.styles); n.append(t, this.jax.unknownText(s, o, a)); } else { var c = this.remappedText(s, o); try { for (var l = i(c), u = l.next(); !u.done; u = l.next()) { var h = u.value, p = this.getVariantChar(o, h)[3], f = ((a = p.f ? " TEX-" + p.f : ""), p.unknown ? this.jax.unknownText(String.fromCodePoint(h), o) : this.html("mjx-c", { class: this.char(h) + a })); n.append(t, f), (p.used = !0); } } catch (t) { e = { error: t }; } finally { try { u && !u.done && (r = l.return) && r.call(l); } finally { if (e) throw e.error; } } } }), (e.kind = s.TextNode.prototype.kind), (e.autoStyle = !1), (e.styles = { "mjx-c": { display: "inline-block" }, "mjx-utext": { display: "inline-block", padding: ".75em 0 .2em 0" }, }), e ); })(r(154).CommonTextNodeMixin(a.CHTMLWrapper)); e.CHTMLTextNode = c; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__values) || function (t) { var e = "function" == typeof Symbol && Symbol.iterator, r = e && t[e], n = 0; if (r) return r.call(t); if (t && "number" == typeof t.length) return { next: function () { return ( t && n >= t.length && (t = void 0), { value: t && t[n++], done: !t } ); }, }; throw new TypeError( e ? "Object is not iterable." : "Symbol.iterator is not defined.", ); }, s = (this && this.__read) || function (t, e) { var r = "function" == typeof Symbol && t[Symbol.iterator]; if (!r) return t; var n, o, i = r.call(t), s = []; try { for (; (void 0 === e || e-- > 0) && !(n = i.next()).done; ) s.push(n.value); } catch (t) { o = { error: t }; } finally { try { n && !n.done && (r = i.return) && r.call(i); } finally { if (o) throw o.error; } } return s; }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.CommonTextNodeMixin = void 0), (e.CommonTextNodeMixin = function (t) { return (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), (e.prototype.computeBBox = function (t, e) { var r, n; void 0 === e && (e = !1); var o = this.parent.variant, a = this.node.getText(); if ("-explicitFont" === o) { var c = this.jax.getFontData(this.parent.styles), l = this.jax.measureText(a, o, c), u = l.w, h = l.h, p = l.d; (t.h = h), (t.d = p), (t.w = u); } else { var f = this.remappedText(a, o); t.empty(); try { for (var d = i(f), y = d.next(); !y.done; y = d.next()) { var m = y.value, v = s(this.getVariantChar(o, m), 4), b = ((h = v[0]), (p = v[1]), (u = v[2]), v[3]); if (b.unknown) { var M = this.jax.measureText(String.fromCodePoint(m), o); (u = M.w), (h = M.h), (p = M.d); } (t.w += u), h > t.h && (t.h = h), p > t.d && (t.d = p), (t.ic = b.ic || 0), (t.sk = b.sk || 0); } } catch (t) { r = { error: t }; } finally { try { y && !y.done && (n = d.return) && n.call(d); } finally { if (r) throw r.error; } } f.length > 1 && (t.sk = 0), t.clean(); } }), (e.prototype.remappedText = function (t, e) { var r = this.parent.stretch.c; return r ? [r] : this.parent.remapChars(this.unicodeChars(t, e)); }), (e.prototype.getStyles = function () {}), (e.prototype.getVariant = function () {}), (e.prototype.getScale = function () {}), (e.prototype.getSpace = function () {}), e ); })(t); }); }, function (t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }), (e.boldItalic = void 0); var n = r(3), o = r(156); e.boldItalic = n.AddCSS(o.boldItalic, { 305: { f: "B" }, 567: { f: "B" }, 8260: { c: "/" }, 8710: { c: "\\394" }, 10744: { c: "/" }, }); }, function (t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }), (e.boldItalic = void 0), (e.boldItalic = { 47: [0.711, 0.21, 0.894], 305: [0.452, 0.008, 0.394, { sk: 0.0319 }], 567: [0.451, 0.201, 0.439, { sk: 0.0958 }], 8260: [0.711, 0.21, 0.894], 8710: [0.711, 0, 0.958, { sk: 0.192 }], 10744: [0.711, 0.21, 0.894], }); }, function (t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }), (e.bold = void 0); var n = r(3), o = r(158); e.bold = n.AddCSS(o.bold, { 183: { c: "\\22C5" }, 305: { f: "" }, 567: { f: "" }, 697: { c: "\\2032" }, 8194: { c: "" }, 8195: { c: "" }, 8196: { c: "" }, 8197: { c: "" }, 8198: { c: "" }, 8201: { c: "" }, 8202: { c: "" }, 8213: { c: "\\2014" }, 8214: { c: "\\2225" }, 8215: { c: "_" }, 8226: { c: "\\2219" }, 8243: { c: "\\2032\\2032" }, 8244: { c: "\\2032\\2032\\2032" }, 8254: { c: "\\2C9" }, 8260: { c: "/" }, 8279: { c: "\\2032\\2032\\2032\\2032" }, 8407: { c: "\\2192", f: "VB" }, 8602: { c: "\\2190\\338" }, 8603: { c: "\\2192\\338" }, 8622: { c: "\\2194\\338" }, 8653: { c: "\\21D0\\338" }, 8654: { c: "\\21D4\\338" }, 8655: { c: "\\21D2\\338" }, 8708: { c: "\\2203\\338" }, 8710: { c: "\\394" }, 8716: { c: "\\220B\\338" }, 8740: { c: "\\2223\\338" }, 8742: { c: "\\2225\\338" }, 8769: { c: "\\223C\\338" }, 8772: { c: "\\2243\\338" }, 8775: { c: "\\2245\\338" }, 8777: { c: "\\2248\\338" }, 8802: { c: "\\2261\\338" }, 8813: { c: "\\224D\\338" }, 8814: { c: "<\\338" }, 8815: { c: ">\\338" }, 8816: { c: "\\2264\\338" }, 8817: { c: "\\2265\\338" }, 8832: { c: "\\227A\\338" }, 8833: { c: "\\227B\\338" }, 8836: { c: "\\2282\\338" }, 8837: { c: "\\2283\\338" }, 8840: { c: "\\2286\\338" }, 8841: { c: "\\2287\\338" }, 8876: { c: "\\22A2\\338" }, 8877: { c: "\\22A8\\338" }, 8930: { c: "\\2291\\338" }, 8931: { c: "\\2292\\338" }, 9001: { c: "\\27E8" }, 9002: { c: "\\27E9" }, 9653: { c: "\\25B3" }, 9663: { c: "\\25BD" }, 10072: { c: "\\2223" }, 10744: { c: "/", f: "BI" }, 10799: { c: "\\D7" }, 12296: { c: "\\27E8" }, 12297: { c: "\\27E9" }, }); }, function (t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }), (e.bold = void 0), (e.bold = { 33: [0.705, 0, 0.35], 34: [0.694, -0.329, 0.603], 35: [0.694, 0.193, 0.958], 36: [0.75, 0.056, 0.575], 37: [0.75, 0.056, 0.958], 38: [0.705, 0.011, 0.894], 39: [0.694, -0.329, 0.319], 40: [0.75, 0.249, 0.447], 41: [0.75, 0.249, 0.447], 42: [0.75, -0.306, 0.575], 43: [0.633, 0.131, 0.894], 44: [0.171, 0.194, 0.319], 45: [0.278, -0.166, 0.383], 46: [0.171, 0, 0.319], 47: [0.75, 0.25, 0.575], 58: [0.444, 0, 0.319], 59: [0.444, 0.194, 0.319], 60: [0.587, 0.085, 0.894], 61: [0.393, -0.109, 0.894], 62: [0.587, 0.085, 0.894], 63: [0.7, 0, 0.543], 64: [0.699, 0.006, 0.894], 91: [0.75, 0.25, 0.319], 92: [0.75, 0.25, 0.575], 93: [0.75, 0.25, 0.319], 94: [0.694, -0.52, 0.575], 95: [-0.01, 0.061, 0.575], 96: [0.706, -0.503, 0.575], 123: [0.75, 0.25, 0.575], 124: [0.75, 0.249, 0.319], 125: [0.75, 0.25, 0.575], 126: [0.344, -0.202, 0.575], 168: [0.695, -0.535, 0.575], 172: [0.371, -0.061, 0.767], 175: [0.607, -0.54, 0.575], 176: [0.702, -0.536, 0.575], 177: [0.728, 0.035, 0.894], 180: [0.706, -0.503, 0.575], 183: [0.336, -0.166, 0.319], 215: [0.53, 0.028, 0.894], 247: [0.597, 0.096, 0.894], 305: [0.442, 0, 0.278, { sk: 0.0278 }], 567: [0.442, 0.205, 0.306, { sk: 0.0833 }], 697: [0.563, -0.033, 0.344], 710: [0.694, -0.52, 0.575], 711: [0.66, -0.515, 0.575], 713: [0.607, -0.54, 0.575], 714: [0.706, -0.503, 0.575], 715: [0.706, -0.503, 0.575], 728: [0.694, -0.5, 0.575], 729: [0.695, -0.525, 0.575], 730: [0.702, -0.536, 0.575], 732: [0.694, -0.552, 0.575], 768: [0.706, -0.503, 0], 769: [0.706, -0.503, 0], 770: [0.694, -0.52, 0], 771: [0.694, -0.552, 0], 772: [0.607, -0.54, 0], 774: [0.694, -0.5, 0], 775: [0.695, -0.525, 0], 776: [0.695, -0.535, 0], 778: [0.702, -0.536, 0], 779: [0.714, -0.511, 0], 780: [0.66, -0.515, 0], 824: [0.711, 0.21, 0], 8194: [0, 0, 0.5], 8195: [0, 0, 0.999], 8196: [0, 0, 0.333], 8197: [0, 0, 0.25], 8198: [0, 0, 0.167], 8201: [0, 0, 0.167], 8202: [0, 0, 0.083], 8211: [0.3, -0.249, 0.575], 8212: [0.3, -0.249, 1.15], 8213: [0.3, -0.249, 1.15], 8214: [0.75, 0.248, 0.575], 8215: [-0.01, 0.061, 0.575], 8216: [0.694, -0.329, 0.319], 8217: [0.694, -0.329, 0.319], 8220: [0.694, -0.329, 0.603], 8221: [0.694, -0.329, 0.603], 8224: [0.702, 0.211, 0.511], 8225: [0.702, 0.202, 0.511], 8226: [0.474, -0.028, 0.575], 8230: [0.171, 0, 1.295], 8242: [0.563, -0.033, 0.344], 8243: [0.563, 0, 0.688], 8244: [0.563, 0, 1.032], 8254: [0.607, -0.54, 0.575], 8260: [0.75, 0.25, 0.575], 8279: [0.563, 0, 1.376], 8407: [0.723, -0.513, 0.575], 8463: [0.694, 0.008, 0.668, { sk: -0.0319 }], 8467: [0.702, 0.019, 0.474, { sk: 0.128 }], 8472: [0.461, 0.21, 0.74], 8501: [0.694, 0, 0.703], 8592: [0.518, 0.017, 1.15], 8593: [0.694, 0.193, 0.575], 8594: [0.518, 0.017, 1.15], 8595: [0.694, 0.194, 0.575], 8596: [0.518, 0.017, 1.15], 8597: [0.767, 0.267, 0.575], 8598: [0.724, 0.194, 1.15], 8599: [0.724, 0.193, 1.15], 8600: [0.694, 0.224, 1.15], 8601: [0.694, 0.224, 1.15], 8602: [0.711, 0.21, 1.15], 8603: [0.711, 0.21, 1.15], 8614: [0.518, 0.017, 1.15], 8617: [0.518, 0.017, 1.282], 8618: [0.518, 0.017, 1.282], 8622: [0.711, 0.21, 1.15], 8636: [0.518, -0.22, 1.15], 8637: [0.281, 0.017, 1.15], 8640: [0.518, -0.22, 1.15], 8641: [0.281, 0.017, 1.15], 8652: [0.718, 0.017, 1.15], 8653: [0.711, 0.21, 1.15], 8654: [0.711, 0.21, 1.15], 8655: [0.711, 0.21, 1.15], 8656: [0.547, 0.046, 1.15], 8657: [0.694, 0.193, 0.703], 8658: [0.547, 0.046, 1.15], 8659: [0.694, 0.194, 0.703], 8660: [0.547, 0.046, 1.15], 8661: [0.767, 0.267, 0.703], 8704: [0.694, 0.016, 0.639], 8707: [0.694, 0, 0.639], 8708: [0.711, 0.21, 0.639], 8709: [0.767, 0.073, 0.575], 8710: [0.698, 0, 0.958], 8712: [0.587, 0.086, 0.767], 8713: [0.711, 0.21, 0.767], 8715: [0.587, 0.086, 0.767], 8716: [0.711, 0.21, 0.767], 8722: [0.281, -0.221, 0.894], 8723: [0.537, 0.227, 0.894], 8725: [0.75, 0.25, 0.575], 8726: [0.75, 0.25, 0.575], 8727: [0.472, -0.028, 0.575], 8728: [0.474, -0.028, 0.575], 8729: [0.474, -0.028, 0.575], 8730: [0.82, 0.18, 0.958, { ic: 0.03 }], 8733: [0.451, 0.008, 0.894], 8734: [0.452, 0.008, 1.15], 8736: [0.714, 0, 0.722], 8739: [0.75, 0.249, 0.319], 8740: [0.75, 0.249, 0.319], 8741: [0.75, 0.248, 0.575], 8742: [0.75, 0.248, 0.575], 8743: [0.604, 0.017, 0.767], 8744: [0.604, 0.016, 0.767], 8745: [0.603, 0.016, 0.767], 8746: [0.604, 0.016, 0.767], 8747: [0.711, 0.211, 0.569, { ic: 0.063 }], 8764: [0.391, -0.109, 0.894], 8768: [0.583, 0.082, 0.319], 8769: [0.711, 0.21, 0.894], 8771: [0.502, 0, 0.894], 8772: [0.711, 0.21, 0.894], 8773: [0.638, 0.027, 0.894], 8775: [0.711, 0.21, 0.894], 8776: [0.524, -0.032, 0.894], 8777: [0.711, 0.21, 0.894], 8781: [0.533, 0.032, 0.894], 8784: [0.721, -0.109, 0.894], 8800: [0.711, 0.21, 0.894], 8801: [0.505, 0, 0.894], 8802: [0.711, 0.21, 0.894], 8804: [0.697, 0.199, 0.894], 8805: [0.697, 0.199, 0.894], 8810: [0.617, 0.116, 1.15], 8811: [0.618, 0.116, 1.15], 8813: [0.711, 0.21, 0.894], 8814: [0.711, 0.21, 0.894], 8815: [0.711, 0.21, 0.894], 8816: [0.711, 0.21, 0.894], 8817: [0.711, 0.21, 0.894], 8826: [0.585, 0.086, 0.894], 8827: [0.586, 0.086, 0.894], 8832: [0.711, 0.21, 0.894], 8833: [0.711, 0.21, 0.894], 8834: [0.587, 0.085, 0.894], 8835: [0.587, 0.086, 0.894], 8836: [0.711, 0.21, 0.894], 8837: [0.711, 0.21, 0.894], 8838: [0.697, 0.199, 0.894], 8839: [0.697, 0.199, 0.894], 8840: [0.711, 0.21, 0.894], 8841: [0.711, 0.21, 0.894], 8846: [0.604, 0.016, 0.767], 8849: [0.697, 0.199, 0.894], 8850: [0.697, 0.199, 0.894], 8851: [0.604, 0, 0.767], 8852: [0.604, 0, 0.767], 8853: [0.632, 0.132, 0.894], 8854: [0.632, 0.132, 0.894], 8855: [0.632, 0.132, 0.894], 8856: [0.632, 0.132, 0.894], 8857: [0.632, 0.132, 0.894], 8866: [0.693, 0, 0.703], 8867: [0.693, 0, 0.703], 8868: [0.694, 0, 0.894], 8869: [0.693, 0, 0.894], 8872: [0.75, 0.249, 0.974], 8876: [0.711, 0.21, 0.703], 8877: [0.75, 0.249, 0.974], 8900: [0.523, 0.021, 0.575], 8901: [0.336, -0.166, 0.319], 8902: [0.502, 0, 0.575], 8904: [0.54, 0.039, 1], 8930: [0.711, 0.21, 0.894], 8931: [0.711, 0.21, 0.894], 8942: [0.951, 0.029, 0.319], 8943: [0.336, -0.166, 1.295], 8945: [0.871, -0.101, 1.323], 8968: [0.75, 0.248, 0.511], 8969: [0.75, 0.248, 0.511], 8970: [0.749, 0.248, 0.511], 8971: [0.749, 0.248, 0.511], 8994: [0.405, -0.108, 1.15], 8995: [0.392, -0.126, 1.15], 9001: [0.75, 0.249, 0.447], 9002: [0.75, 0.249, 0.447], 9651: [0.711, 0, 1.022], 9653: [0.711, 0, 1.022], 9657: [0.54, 0.039, 0.575], 9661: [0.5, 0.21, 1.022], 9663: [0.5, 0.21, 1.022], 9667: [0.539, 0.038, 0.575], 9711: [0.711, 0.211, 1.15], 9824: [0.719, 0.129, 0.894], 9825: [0.711, 0.024, 0.894], 9826: [0.719, 0.154, 0.894], 9827: [0.719, 0.129, 0.894], 9837: [0.75, 0.017, 0.447], 9838: [0.741, 0.223, 0.447], 9839: [0.724, 0.224, 0.447], 10072: [0.75, 0.249, 0.319], 10216: [0.75, 0.249, 0.447], 10217: [0.75, 0.249, 0.447], 10229: [0.518, 0.017, 1.805], 10230: [0.518, 0.017, 1.833], 10231: [0.518, 0.017, 2.126], 10232: [0.547, 0.046, 1.868], 10233: [0.547, 0.046, 1.87], 10234: [0.547, 0.046, 2.126], 10236: [0.518, 0.017, 1.833], 10744: [0.711, 0.21, 0.894], 10799: [0.53, 0.028, 0.894], 10815: [0.686, 0, 0.9], 10927: [0.696, 0.199, 0.894], 10928: [0.697, 0.199, 0.894], 12296: [0.75, 0.249, 0.447], 12297: [0.75, 0.249, 0.447], }); }, function (t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }), (e.doubleStruck = void 0), (e.doubleStruck = {}); }, function (t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }), (e.frakturBold = void 0); var n = r(3), o = r(161); e.frakturBold = n.AddCSS(o.frakturBold, { 8260: { c: "/" } }); }, function (t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }), (e.frakturBold = void 0), (e.frakturBold = { 33: [0.689, 0.012, 0.349], 34: [0.695, -0.432, 0.254], 38: [0.696, 0.016, 0.871], 39: [0.695, -0.436, 0.25], 40: [0.737, 0.186, 0.459], 41: [0.735, 0.187, 0.459], 42: [0.692, -0.449, 0.328], 43: [0.598, 0.082, 0.893], 44: [0.107, 0.191, 0.328], 45: [0.275, -0.236, 0.893], 46: [0.102, 0.015, 0.328], 47: [0.721, 0.182, 0.593], 48: [0.501, 0.012, 0.593], 49: [0.489, 0, 0.593], 50: [0.491, 0, 0.593], 51: [0.487, 0.193, 0.593], 52: [0.495, 0.196, 0.593], 53: [0.481, 0.19, 0.593], 54: [0.704, 0.012, 0.593], 55: [0.479, 0.197, 0.593], 56: [0.714, 0.005, 0.593], 57: [0.487, 0.195, 0.593], 58: [0.457, 0.012, 0.255], 59: [0.458, 0.19, 0.255], 61: [0.343, -0.168, 0.582], 63: [0.697, 0.014, 0.428], 91: [0.74, 0.13, 0.257], 93: [0.738, 0.132, 0.257], 94: [0.734, -0.452, 0.59], 8216: [0.708, -0.411, 0.254], 8217: [0.692, -0.394, 0.254], 8260: [0.721, 0.182, 0.593], 58113: [0.63, 0.027, 0.587], 58114: [0.693, 0.212, 0.394, { ic: 0.014 }], 58115: [0.681, 0.219, 0.387], 58116: [0.473, 0.212, 0.593], 58117: [0.684, 0.027, 0.393], 58120: [0.679, 0.22, 0.981], 58121: [0.717, 0.137, 0.727], }); }, function (t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }), (e.fraktur = void 0); var n = r(3), o = r(163); e.fraktur = n.AddCSS(o.fraktur, { 8260: { c: "/" } }); }, function (t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }), (e.fraktur = void 0), (e.fraktur = { 33: [0.689, 0.012, 0.296], 34: [0.695, -0.432, 0.215], 38: [0.698, 0.011, 0.738], 39: [0.695, -0.436, 0.212], 40: [0.737, 0.186, 0.389], 41: [0.735, 0.187, 0.389], 42: [0.692, -0.449, 0.278], 43: [0.598, 0.082, 0.756], 44: [0.107, 0.191, 0.278], 45: [0.275, -0.236, 0.756], 46: [0.102, 0.015, 0.278], 47: [0.721, 0.182, 0.502], 48: [0.492, 0.013, 0.502], 49: [0.468, 0, 0.502], 50: [0.474, 0, 0.502], 51: [0.473, 0.182, 0.502], 52: [0.476, 0.191, 0.502], 53: [0.458, 0.184, 0.502], 54: [0.7, 0.013, 0.502], 55: [0.468, 0.181, 0.502], 56: [0.705, 0.01, 0.502], 57: [0.469, 0.182, 0.502], 58: [0.457, 0.012, 0.216], 59: [0.458, 0.189, 0.216], 61: [0.368, -0.132, 0.756], 63: [0.693, 0.011, 0.362], 91: [0.74, 0.13, 0.278], 93: [0.738, 0.131, 0.278], 94: [0.734, -0.452, 0.5], 8216: [0.708, -0.41, 0.215], 8217: [0.692, -0.395, 0.215], 8260: [0.721, 0.182, 0.502], 58112: [0.683, 0.032, 0.497], 58113: [0.616, 0.03, 0.498], 58114: [0.68, 0.215, 0.333], 58115: [0.679, 0.224, 0.329], 58116: [0.471, 0.214, 0.503], 58117: [0.686, 0.02, 0.333], 58118: [0.577, 0.021, 0.334, { ic: 0.013 }], 58119: [0.475, 0.022, 0.501, { ic: 0.013 }], }); }, function (t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }), (e.italic = void 0); var n = r(3), o = r(165); e.italic = n.AddCSS(o.italic, { 47: { f: "I" }, 989: { c: "\\E008", f: "A" }, 8213: { c: "\\2014" }, 8215: { c: "_" }, 8260: { c: "/", f: "I" }, 8710: { c: "\\394", f: "I" }, 10744: { c: "/", f: "I" }, }); }, function (t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }), (e.italic = void 0), (e.italic = { 33: [0.716, 0, 0.307, { ic: 0.073 }], 34: [0.694, -0.379, 0.514, { ic: 0.024 }], 35: [0.694, 0.194, 0.818, { ic: 0.01 }], 37: [0.75, 0.056, 0.818, { ic: 0.029 }], 38: [0.716, 0.022, 0.767, { ic: 0.035 }], 39: [0.694, -0.379, 0.307, { ic: 0.07 }], 40: [0.75, 0.25, 0.409, { ic: 0.108 }], 41: [0.75, 0.25, 0.409], 42: [0.75, -0.32, 0.511, { ic: 0.073 }], 43: [0.557, 0.057, 0.767], 44: [0.121, 0.194, 0.307], 45: [0.251, -0.18, 0.358], 46: [0.121, 0, 0.307], 47: [0.716, 0.215, 0.778], 48: [0.665, 0.021, 0.511, { ic: 0.051 }], 49: [0.666, 0, 0.511], 50: [0.666, 0.022, 0.511, { ic: 0.04 }], 51: [0.666, 0.022, 0.511, { ic: 0.051 }], 52: [0.666, 0.194, 0.511], 53: [0.666, 0.022, 0.511, { ic: 0.056 }], 54: [0.665, 0.022, 0.511, { ic: 0.054 }], 55: [0.666, 0.022, 0.511, { ic: 0.123 }], 56: [0.666, 0.021, 0.511, { ic: 0.042 }], 57: [0.666, 0.022, 0.511, { ic: 0.042 }], 58: [0.431, 0, 0.307], 59: [0.431, 0.194, 0.307], 61: [0.367, -0.133, 0.767], 63: [0.716, 0, 0.511, { ic: 0.04 }], 64: [0.705, 0.011, 0.767, { ic: 0.022 }], 91: [0.75, 0.25, 0.307, { ic: 0.139 }], 93: [0.75, 0.25, 0.307, { ic: 0.052 }], 94: [0.694, -0.527, 0.511, { ic: 0.017 }], 95: [-0.025, 0.062, 0.511, { ic: 0.043 }], 126: [0.318, -0.208, 0.511, { ic: 0.06 }], 305: [0.441, 0.01, 0.307, { ic: 0.033 }], 567: [0.442, 0.204, 0.332], 768: [0.697, -0.5, 0], 769: [0.697, -0.5, 0, { ic: 0.039 }], 770: [0.694, -0.527, 0, { ic: 0.017 }], 771: [0.668, -0.558, 0, { ic: 0.06 }], 772: [0.589, -0.544, 0, { ic: 0.054 }], 774: [0.694, -0.515, 0, { ic: 0.062 }], 775: [0.669, -0.548, 0], 776: [0.669, -0.554, 0, { ic: 0.045 }], 778: [0.716, -0.542, 0], 779: [0.697, -0.503, 0, { ic: 0.065 }], 780: [0.638, -0.502, 0, { ic: 0.029 }], 989: [0.605, 0.085, 0.778], 8211: [0.285, -0.248, 0.511, { ic: 0.043 }], 8212: [0.285, -0.248, 1.022, { ic: 0.016 }], 8213: [0.285, -0.248, 1.022, { ic: 0.016 }], 8215: [-0.025, 0.062, 0.511, { ic: 0.043 }], 8216: [0.694, -0.379, 0.307, { ic: 0.055 }], 8217: [0.694, -0.379, 0.307, { ic: 0.07 }], 8220: [0.694, -0.379, 0.514, { ic: 0.092 }], 8221: [0.694, -0.379, 0.514, { ic: 0.024 }], 8260: [0.716, 0.215, 0.778], 8463: [0.695, 0.013, 0.54, { ic: 0.022 }], 8710: [0.716, 0, 0.833, { sk: 0.167 }], 10744: [0.716, 0.215, 0.778], }); }, function (t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }), (e.largeop = void 0); var n = r(3), o = r(167); e.largeop = n.AddCSS(o.largeop, { 8214: { f: "S1" }, 8260: { c: "/" }, 8593: { f: "S1" }, 8595: { f: "S1" }, 8657: { f: "S1" }, 8659: { f: "S1" }, 8739: { f: "S1" }, 8741: { f: "S1" }, 9001: { c: "\\27E8" }, 9002: { c: "\\27E9" }, 9168: { f: "S1" }, 10072: { c: "\\2223", f: "S1" }, 10764: { c: "\\222C\\222C" }, 12296: { c: "\\27E8" }, 12297: { c: "\\27E9" }, }); }, function (t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }), (e.largeop = void 0), (e.largeop = { 40: [1.15, 0.649, 0.597], 41: [1.15, 0.649, 0.597], 47: [1.15, 0.649, 0.811], 91: [1.15, 0.649, 0.472], 92: [1.15, 0.649, 0.811], 93: [1.15, 0.649, 0.472], 123: [1.15, 0.649, 0.667], 125: [1.15, 0.649, 0.667], 710: [0.772, -0.565, 1], 732: [0.75, -0.611, 1], 770: [0.772, -0.565, 0], 771: [0.75, -0.611, 0], 8214: [0.602, 0, 0.778], 8260: [1.15, 0.649, 0.811], 8593: [0.6, 0, 0.667], 8595: [0.6, 0, 0.667], 8657: [0.599, 0, 0.778], 8659: [0.6, 0, 0.778], 8719: [0.95, 0.45, 1.278], 8720: [0.95, 0.45, 1.278], 8721: [0.95, 0.45, 1.444], 8730: [1.15, 0.65, 1, { ic: 0.02 }], 8739: [0.627, 0.015, 0.333], 8741: [0.627, 0.015, 0.556], 8747: [1.36, 0.862, 0.556, { ic: 0.388 }], 8748: [1.36, 0.862, 1.084, { ic: 0.388 }], 8749: [1.36, 0.862, 1.592, { ic: 0.388 }], 8750: [1.36, 0.862, 0.556, { ic: 0.388 }], 8896: [0.95, 0.45, 1.111], 8897: [0.95, 0.45, 1.111], 8898: [0.949, 0.45, 1.111], 8899: [0.95, 0.449, 1.111], 8968: [1.15, 0.649, 0.528], 8969: [1.15, 0.649, 0.528], 8970: [1.15, 0.649, 0.528], 8971: [1.15, 0.649, 0.528], 9001: [1.15, 0.649, 0.611], 9002: [1.15, 0.649, 0.611], 9168: [0.602, 0, 0.667], 10072: [0.627, 0.015, 0.333], 10216: [1.15, 0.649, 0.611], 10217: [1.15, 0.649, 0.611], 10752: [0.949, 0.449, 1.511], 10753: [0.949, 0.449, 1.511], 10754: [0.949, 0.449, 1.511], 10756: [0.95, 0.449, 1.111], 10758: [0.95, 0.45, 1.111], 10764: [1.36, 0.862, 2.168, { ic: 0.388 }], 12296: [1.15, 0.649, 0.611], 12297: [1.15, 0.649, 0.611], }); }, function (t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }), (e.monospace = void 0); var n = r(3), o = r(169); e.monospace = n.AddCSS(o.monospace, { 697: { c: "\\2032" }, 913: { c: "A" }, 914: { c: "B" }, 917: { c: "E" }, 918: { c: "Z" }, 919: { c: "H" }, 921: { c: "I" }, 922: { c: "K" }, 924: { c: "M" }, 925: { c: "N" }, 927: { c: "O" }, 929: { c: "P" }, 932: { c: "T" }, 935: { c: "X" }, 8215: { c: "_" }, 8243: { c: "\\2032\\2032" }, 8244: { c: "\\2032\\2032\\2032" }, 8260: { c: "/" }, 8279: { c: "\\2032\\2032\\2032\\2032" }, 8710: { c: "\\394" }, }); }, function (t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }), (e.monospace = void 0), (e.monospace = { 32: [0, 0, 0.525], 33: [0.622, 0, 0.525], 34: [0.623, -0.333, 0.525], 35: [0.611, 0, 0.525], 36: [0.694, 0.082, 0.525], 37: [0.694, 0.083, 0.525], 38: [0.622, 0.011, 0.525], 39: [0.611, -0.287, 0.525], 40: [0.694, 0.082, 0.525], 41: [0.694, 0.082, 0.525], 42: [0.52, -0.09, 0.525], 43: [0.531, -0.081, 0.525], 44: [0.14, 0.139, 0.525], 45: [0.341, -0.271, 0.525], 46: [0.14, 0, 0.525], 47: [0.694, 0.083, 0.525], 58: [0.431, 0, 0.525], 59: [0.431, 0.139, 0.525], 60: [0.557, -0.055, 0.525], 61: [0.417, -0.195, 0.525], 62: [0.557, -0.055, 0.525], 63: [0.617, 0, 0.525], 64: [0.617, 0.006, 0.525], 91: [0.694, 0.082, 0.525], 92: [0.694, 0.083, 0.525], 93: [0.694, 0.082, 0.525], 94: [0.611, -0.46, 0.525], 95: [-0.025, 0.095, 0.525], 96: [0.681, -0.357, 0.525], 123: [0.694, 0.083, 0.525], 124: [0.694, 0.082, 0.525], 125: [0.694, 0.083, 0.525], 126: [0.611, -0.466, 0.525], 127: [0.612, -0.519, 0.525], 160: [0, 0, 0.525], 305: [0.431, 0, 0.525], 567: [0.431, 0.228, 0.525], 697: [0.623, -0.334, 0.525], 768: [0.611, -0.485, 0], 769: [0.611, -0.485, 0], 770: [0.611, -0.46, 0], 771: [0.611, -0.466, 0], 772: [0.577, -0.5, 0], 774: [0.611, -0.504, 0], 776: [0.612, -0.519, 0], 778: [0.619, -0.499, 0], 780: [0.577, -0.449, 0], 913: [0.623, 0, 0.525], 914: [0.611, 0, 0.525], 915: [0.611, 0, 0.525], 916: [0.623, 0, 0.525], 917: [0.611, 0, 0.525], 918: [0.611, 0, 0.525], 919: [0.611, 0, 0.525], 920: [0.621, 0.01, 0.525], 921: [0.611, 0, 0.525], 922: [0.611, 0, 0.525], 923: [0.623, 0, 0.525], 924: [0.611, 0, 0.525], 925: [0.611, 0, 0.525], 926: [0.611, 0, 0.525], 927: [0.621, 0.01, 0.525], 928: [0.611, 0, 0.525], 929: [0.611, 0, 0.525], 931: [0.611, 0, 0.525], 932: [0.611, 0, 0.525], 933: [0.622, 0, 0.525], 934: [0.611, 0, 0.525], 935: [0.611, 0, 0.525], 936: [0.611, 0, 0.525], 937: [0.622, 0, 0.525], 8215: [-0.025, 0.095, 0.525], 8242: [0.623, -0.334, 0.525], 8243: [0.623, 0, 1.05], 8244: [0.623, 0, 1.575], 8260: [0.694, 0.083, 0.525], 8279: [0.623, 0, 2.1], 8710: [0.623, 0, 0.525], }); }, function (t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }), (e.normal = void 0); var n = r(3), o = r(171); e.normal = n.AddCSS(o.normal, { 163: { f: "MI" }, 165: { f: "A" }, 174: { f: "A" }, 183: { c: "\\22C5" }, 240: { f: "A" }, 697: { c: "\\2032" }, 913: { c: "A" }, 914: { c: "B" }, 917: { c: "E" }, 918: { c: "Z" }, 919: { c: "H" }, 921: { c: "I" }, 922: { c: "K" }, 924: { c: "M" }, 925: { c: "N" }, 927: { c: "O" }, 929: { c: "P" }, 932: { c: "T" }, 935: { c: "X" }, 8192: { c: "" }, 8193: { c: "" }, 8194: { c: "" }, 8195: { c: "" }, 8196: { c: "" }, 8197: { c: "" }, 8198: { c: "" }, 8201: { c: "" }, 8202: { c: "" }, 8203: { c: "" }, 8204: { c: "" }, 8213: { c: "\\2014" }, 8214: { c: "\\2225" }, 8215: { c: "_" }, 8226: { c: "\\2219" }, 8243: { c: "\\2032\\2032" }, 8244: { c: "\\2032\\2032\\2032" }, 8245: { f: "A" }, 8246: { c: "\\2035\\2035", f: "A" }, 8247: { c: "\\2035\\2035\\2035", f: "A" }, 8254: { c: "\\2C9" }, 8260: { c: "/" }, 8279: { c: "\\2032\\2032\\2032\\2032" }, 8288: { c: "" }, 8289: { c: "" }, 8290: { c: "" }, 8291: { c: "" }, 8292: { c: "" }, 8407: { c: "\\2192", f: "V" }, 8450: { c: "C", f: "A" }, 8459: { c: "H", f: "SC" }, 8460: { c: "H", f: "FR" }, 8461: { c: "H", f: "A" }, 8462: { c: "h", f: "I" }, 8463: { f: "A" }, 8464: { c: "J", f: "SC" }, 8465: { c: "I", f: "FR" }, 8466: { c: "L", f: "SC" }, 8469: { c: "N", f: "A" }, 8473: { c: "P", f: "A" }, 8474: { c: "Q", f: "A" }, 8475: { c: "R", f: "SC" }, 8476: { c: "R", f: "FR" }, 8477: { c: "R", f: "A" }, 8484: { c: "Z", f: "A" }, 8486: { c: "\\3A9" }, 8487: { f: "A" }, 8488: { c: "Z", f: "FR" }, 8492: { c: "B", f: "SC" }, 8493: { c: "C", f: "FR" }, 8496: { c: "E", f: "SC" }, 8497: { c: "F", f: "SC" }, 8498: { f: "A" }, 8499: { c: "M", f: "SC" }, 8502: { f: "A" }, 8503: { f: "A" }, 8504: { f: "A" }, 8513: { f: "A" }, 8602: { f: "A" }, 8603: { f: "A" }, 8606: { f: "A" }, 8608: { f: "A" }, 8610: { f: "A" }, 8611: { f: "A" }, 8619: { f: "A" }, 8620: { f: "A" }, 8621: { f: "A" }, 8622: { f: "A" }, 8624: { f: "A" }, 8625: { f: "A" }, 8630: { f: "A" }, 8631: { f: "A" }, 8634: { f: "A" }, 8635: { f: "A" }, 8638: { f: "A" }, 8639: { f: "A" }, 8642: { f: "A" }, 8643: { f: "A" }, 8644: { f: "A" }, 8646: { f: "A" }, 8647: { f: "A" }, 8648: { f: "A" }, 8649: { f: "A" }, 8650: { f: "A" }, 8651: { f: "A" }, 8653: { f: "A" }, 8654: { f: "A" }, 8655: { f: "A" }, 8666: { f: "A" }, 8667: { f: "A" }, 8669: { f: "A" }, 8672: { f: "A" }, 8674: { f: "A" }, 8705: { f: "A" }, 8708: { c: "\\2203\\338" }, 8710: { c: "\\394" }, 8716: { c: "\\220B\\338" }, 8717: { f: "A" }, 8719: { f: "S1" }, 8720: { f: "S1" }, 8721: { f: "S1" }, 8724: { f: "A" }, 8737: { f: "A" }, 8738: { f: "A" }, 8740: { f: "A" }, 8742: { f: "A" }, 8748: { f: "S1" }, 8749: { f: "S1" }, 8750: { f: "S1" }, 8756: { f: "A" }, 8757: { f: "A" }, 8765: { f: "A" }, 8769: { f: "A" }, 8770: { f: "A" }, 8772: { c: "\\2243\\338" }, 8775: { c: "\\2246", f: "A" }, 8777: { c: "\\2248\\338" }, 8778: { f: "A" }, 8782: { f: "A" }, 8783: { f: "A" }, 8785: { f: "A" }, 8786: { f: "A" }, 8787: { f: "A" }, 8790: { f: "A" }, 8791: { f: "A" }, 8796: { f: "A" }, 8802: { c: "\\2261\\338" }, 8806: { f: "A" }, 8807: { f: "A" }, 8808: { f: "A" }, 8809: { f: "A" }, 8812: { f: "A" }, 8813: { c: "\\224D\\338" }, 8814: { f: "A" }, 8815: { f: "A" }, 8816: { f: "A" }, 8817: { f: "A" }, 8818: { f: "A" }, 8819: { f: "A" }, 8820: { c: "\\2272\\338" }, 8821: { c: "\\2273\\338" }, 8822: { f: "A" }, 8823: { f: "A" }, 8824: { c: "\\2276\\338" }, 8825: { c: "\\2277\\338" }, 8828: { f: "A" }, 8829: { f: "A" }, 8830: { f: "A" }, 8831: { f: "A" }, 8832: { f: "A" }, 8833: { f: "A" }, 8836: { c: "\\2282\\338" }, 8837: { c: "\\2283\\338" }, 8840: { f: "A" }, 8841: { f: "A" }, 8842: { f: "A" }, 8843: { f: "A" }, 8847: { f: "A" }, 8848: { f: "A" }, 8858: { f: "A" }, 8859: { f: "A" }, 8861: { f: "A" }, 8862: { f: "A" }, 8863: { f: "A" }, 8864: { f: "A" }, 8865: { f: "A" }, 8873: { f: "A" }, 8874: { f: "A" }, 8876: { f: "A" }, 8877: { f: "A" }, 8878: { f: "A" }, 8879: { f: "A" }, 8882: { f: "A" }, 8883: { f: "A" }, 8884: { f: "A" }, 8885: { f: "A" }, 8888: { f: "A" }, 8890: { f: "A" }, 8891: { f: "A" }, 8892: { f: "A" }, 8896: { f: "S1" }, 8897: { f: "S1" }, 8898: { f: "S1" }, 8899: { f: "S1" }, 8903: { f: "A" }, 8905: { f: "A" }, 8906: { f: "A" }, 8907: { f: "A" }, 8908: { f: "A" }, 8909: { f: "A" }, 8910: { f: "A" }, 8911: { f: "A" }, 8912: { f: "A" }, 8913: { f: "A" }, 8914: { f: "A" }, 8915: { f: "A" }, 8916: { f: "A" }, 8918: { f: "A" }, 8919: { f: "A" }, 8920: { f: "A" }, 8921: { f: "A" }, 8922: { f: "A" }, 8923: { f: "A" }, 8926: { f: "A" }, 8927: { f: "A" }, 8928: { f: "A" }, 8929: { f: "A" }, 8930: { c: "\\2291\\338" }, 8931: { c: "\\2292\\338" }, 8934: { f: "A" }, 8935: { f: "A" }, 8936: { f: "A" }, 8937: { f: "A" }, 8938: { f: "A" }, 8939: { f: "A" }, 8940: { f: "A" }, 8941: { f: "A" }, 8965: { c: "\\22BC", f: "A" }, 8966: { c: "\\2A5E", f: "A" }, 8988: { c: "\\250C", f: "A" }, 8989: { c: "\\2510", f: "A" }, 8990: { c: "\\2514", f: "A" }, 8991: { c: "\\2518", f: "A" }, 9001: { c: "\\27E8" }, 9002: { c: "\\27E9" }, 9168: { f: "S1" }, 9416: { f: "A" }, 9484: { f: "A" }, 9488: { f: "A" }, 9492: { f: "A" }, 9496: { f: "A" }, 9585: { f: "A" }, 9586: { f: "A" }, 9632: { f: "A" }, 9633: { f: "A" }, 9642: { c: "\\25A0", f: "A" }, 9650: { f: "A" }, 9652: { c: "\\25B2", f: "A" }, 9653: { c: "\\25B3" }, 9654: { f: "A" }, 9656: { c: "\\25B6", f: "A" }, 9660: { f: "A" }, 9662: { c: "\\25BC", f: "A" }, 9663: { c: "\\25BD" }, 9664: { f: "A" }, 9666: { c: "\\25C0", f: "A" }, 9674: { f: "A" }, 9723: { c: "\\25A1", f: "A" }, 9724: { c: "\\25A0", f: "A" }, 9733: { f: "A" }, 10003: { f: "A" }, 10016: { f: "A" }, 10072: { c: "\\2223" }, 10731: { f: "A" }, 10744: { c: "/", f: "I" }, 10752: { f: "S1" }, 10753: { f: "S1" }, 10754: { f: "S1" }, 10756: { f: "S1" }, 10758: { f: "S1" }, 10764: { c: "\\222C\\222C", f: "S1" }, 10799: { c: "\\D7" }, 10846: { f: "A" }, 10877: { f: "A" }, 10878: { f: "A" }, 10885: { f: "A" }, 10886: { f: "A" }, 10887: { f: "A" }, 10888: { f: "A" }, 10889: { f: "A" }, 10890: { f: "A" }, 10891: { f: "A" }, 10892: { f: "A" }, 10901: { f: "A" }, 10902: { f: "A" }, 10933: { f: "A" }, 10934: { f: "A" }, 10935: { f: "A" }, 10936: { f: "A" }, 10937: { f: "A" }, 10938: { f: "A" }, 10949: { f: "A" }, 10950: { f: "A" }, 10955: { f: "A" }, 10956: { f: "A" }, 12296: { c: "\\27E8" }, 12297: { c: "\\27E9" }, 57350: { f: "A" }, 57351: { f: "A" }, 57352: { f: "A" }, 57353: { f: "A" }, 57356: { f: "A" }, 57357: { f: "A" }, 57358: { f: "A" }, 57359: { f: "A" }, 57360: { f: "A" }, 57361: { f: "A" }, 57366: { f: "A" }, 57367: { f: "A" }, 57368: { f: "A" }, 57369: { f: "A" }, 57370: { f: "A" }, 57371: { f: "A" }, 119808: { c: "A", f: "B" }, 119809: { c: "B", f: "B" }, 119810: { c: "C", f: "B" }, 119811: { c: "D", f: "B" }, 119812: { c: "E", f: "B" }, 119813: { c: "F", f: "B" }, 119814: { c: "G", f: "B" }, 119815: { c: "H", f: "B" }, 119816: { c: "I", f: "B" }, 119817: { c: "J", f: "B" }, 119818: { c: "K", f: "B" }, 119819: { c: "L", f: "B" }, 119820: { c: "M", f: "B" }, 119821: { c: "N", f: "B" }, 119822: { c: "O", f: "B" }, 119823: { c: "P", f: "B" }, 119824: { c: "Q", f: "B" }, 119825: { c: "R", f: "B" }, 119826: { c: "S", f: "B" }, 119827: { c: "T", f: "B" }, 119828: { c: "U", f: "B" }, 119829: { c: "V", f: "B" }, 119830: { c: "W", f: "B" }, 119831: { c: "X", f: "B" }, 119832: { c: "Y", f: "B" }, 119833: { c: "Z", f: "B" }, 119834: { c: "a", f: "B" }, 119835: { c: "b", f: "B" }, 119836: { c: "c", f: "B" }, 119837: { c: "d", f: "B" }, 119838: { c: "e", f: "B" }, 119839: { c: "f", f: "B" }, 119840: { c: "g", f: "B" }, 119841: { c: "h", f: "B" }, 119842: { c: "i", f: "B" }, 119843: { c: "j", f: "B" }, 119844: { c: "k", f: "B" }, 119845: { c: "l", f: "B" }, 119846: { c: "m", f: "B" }, 119847: { c: "n", f: "B" }, 119848: { c: "o", f: "B" }, 119849: { c: "p", f: "B" }, 119850: { c: "q", f: "B" }, 119851: { c: "r", f: "B" }, 119852: { c: "s", f: "B" }, 119853: { c: "t", f: "B" }, 119854: { c: "u", f: "B" }, 119855: { c: "v", f: "B" }, 119856: { c: "w", f: "B" }, 119857: { c: "x", f: "B" }, 119858: { c: "y", f: "B" }, 119859: { c: "z", f: "B" }, 119860: { c: "A", f: "I" }, 119861: { c: "B", f: "I" }, 119862: { c: "C", f: "I" }, 119863: { c: "D", f: "I" }, 119864: { c: "E", f: "I" }, 119865: { c: "F", f: "I" }, 119866: { c: "G", f: "I" }, 119867: { c: "H", f: "I" }, 119868: { c: "I", f: "I" }, 119869: { c: "J", f: "I" }, 119870: { c: "K", f: "I" }, 119871: { c: "L", f: "I" }, 119872: { c: "M", f: "I" }, 119873: { c: "N", f: "I" }, 119874: { c: "O", f: "I" }, 119875: { c: "P", f: "I" }, 119876: { c: "Q", f: "I" }, 119877: { c: "R", f: "I" }, 119878: { c: "S", f: "I" }, 119879: { c: "T", f: "I" }, 119880: { c: "U", f: "I" }, 119881: { c: "V", f: "I" }, 119882: { c: "W", f: "I" }, 119883: { c: "X", f: "I" }, 119884: { c: "Y", f: "I" }, 119885: { c: "Z", f: "I" }, 119886: { c: "a", f: "I" }, 119887: { c: "b", f: "I" }, 119888: { c: "c", f: "I" }, 119889: { c: "d", f: "I" }, 119890: { c: "e", f: "I" }, 119891: { c: "f", f: "I" }, 119892: { c: "g", f: "I" }, 119894: { c: "i", f: "I" }, 119895: { c: "j", f: "I" }, 119896: { c: "k", f: "I" }, 119897: { c: "l", f: "I" }, 119898: { c: "m", f: "I" }, 119899: { c: "n", f: "I" }, 119900: { c: "o", f: "I" }, 119901: { c: "p", f: "I" }, 119902: { c: "q", f: "I" }, 119903: { c: "r", f: "I" }, 119904: { c: "s", f: "I" }, 119905: { c: "t", f: "I" }, 119906: { c: "u", f: "I" }, 119907: { c: "v", f: "I" }, 119908: { c: "w", f: "I" }, 119909: { c: "x", f: "I" }, 119910: { c: "y", f: "I" }, 119911: { c: "z", f: "I" }, 119912: { c: "A", f: "BI" }, 119913: { c: "B", f: "BI" }, 119914: { c: "C", f: "BI" }, 119915: { c: "D", f: "BI" }, 119916: { c: "E", f: "BI" }, 119917: { c: "F", f: "BI" }, 119918: { c: "G", f: "BI" }, 119919: { c: "H", f: "BI" }, 119920: { c: "I", f: "BI" }, 119921: { c: "J", f: "BI" }, 119922: { c: "K", f: "BI" }, 119923: { c: "L", f: "BI" }, 119924: { c: "M", f: "BI" }, 119925: { c: "N", f: "BI" }, 119926: { c: "O", f: "BI" }, 119927: { c: "P", f: "BI" }, 119928: { c: "Q", f: "BI" }, 119929: { c: "R", f: "BI" }, 119930: { c: "S", f: "BI" }, 119931: { c: "T", f: "BI" }, 119932: { c: "U", f: "BI" }, 119933: { c: "V", f: "BI" }, 119934: { c: "W", f: "BI" }, 119935: { c: "X", f: "BI" }, 119936: { c: "Y", f: "BI" }, 119937: { c: "Z", f: "BI" }, 119938: { c: "a", f: "BI" }, 119939: { c: "b", f: "BI" }, 119940: { c: "c", f: "BI" }, 119941: { c: "d", f: "BI" }, 119942: { c: "e", f: "BI" }, 119943: { c: "f", f: "BI" }, 119944: { c: "g", f: "BI" }, 119945: { c: "h", f: "BI" }, 119946: { c: "i", f: "BI" }, 119947: { c: "j", f: "BI" }, 119948: { c: "k", f: "BI" }, 119949: { c: "l", f: "BI" }, 119950: { c: "m", f: "BI" }, 119951: { c: "n", f: "BI" }, 119952: { c: "o", f: "BI" }, 119953: { c: "p", f: "BI" }, 119954: { c: "q", f: "BI" }, 119955: { c: "r", f: "BI" }, 119956: { c: "s", f: "BI" }, 119957: { c: "t", f: "BI" }, 119958: { c: "u", f: "BI" }, 119959: { c: "v", f: "BI" }, 119960: { c: "w", f: "BI" }, 119961: { c: "x", f: "BI" }, 119962: { c: "y", f: "BI" }, 119963: { c: "z", f: "BI" }, 119964: { c: "A", f: "SC" }, 119966: { c: "C", f: "SC" }, 119967: { c: "D", f: "SC" }, 119970: { c: "G", f: "SC" }, 119973: { c: "J", f: "SC" }, 119974: { c: "K", f: "SC" }, 119977: { c: "N", f: "SC" }, 119978: { c: "O", f: "SC" }, 119979: { c: "P", f: "SC" }, 119980: { c: "Q", f: "SC" }, 119982: { c: "S", f: "SC" }, 119983: { c: "T", f: "SC" }, 119984: { c: "U", f: "SC" }, 119985: { c: "V", f: "SC" }, 119986: { c: "W", f: "SC" }, 119987: { c: "X", f: "SC" }, 119988: { c: "Y", f: "SC" }, 119989: { c: "Z", f: "SC" }, 120068: { c: "A", f: "FR" }, 120069: { c: "B", f: "FR" }, 120071: { c: "D", f: "FR" }, 120072: { c: "E", f: "FR" }, 120073: { c: "F", f: "FR" }, 120074: { c: "G", f: "FR" }, 120077: { c: "J", f: "FR" }, 120078: { c: "K", f: "FR" }, 120079: { c: "L", f: "FR" }, 120080: { c: "M", f: "FR" }, 120081: { c: "N", f: "FR" }, 120082: { c: "O", f: "FR" }, 120083: { c: "P", f: "FR" }, 120084: { c: "Q", f: "FR" }, 120086: { c: "S", f: "FR" }, 120087: { c: "T", f: "FR" }, 120088: { c: "U", f: "FR" }, 120089: { c: "V", f: "FR" }, 120090: { c: "W", f: "FR" }, 120091: { c: "X", f: "FR" }, 120092: { c: "Y", f: "FR" }, 120094: { c: "a", f: "FR" }, 120095: { c: "b", f: "FR" }, 120096: { c: "c", f: "FR" }, 120097: { c: "d", f: "FR" }, 120098: { c: "e", f: "FR" }, 120099: { c: "f", f: "FR" }, 120100: { c: "g", f: "FR" }, 120101: { c: "h", f: "FR" }, 120102: { c: "i", f: "FR" }, 120103: { c: "j", f: "FR" }, 120104: { c: "k", f: "FR" }, 120105: { c: "l", f: "FR" }, 120106: { c: "m", f: "FR" }, 120107: { c: "n", f: "FR" }, 120108: { c: "o", f: "FR" }, 120109: { c: "p", f: "FR" }, 120110: { c: "q", f: "FR" }, 120111: { c: "r", f: "FR" }, 120112: { c: "s", f: "FR" }, 120113: { c: "t", f: "FR" }, 120114: { c: "u", f: "FR" }, 120115: { c: "v", f: "FR" }, 120116: { c: "w", f: "FR" }, 120117: { c: "x", f: "FR" }, 120118: { c: "y", f: "FR" }, 120119: { c: "z", f: "FR" }, 120120: { c: "A", f: "A" }, 120121: { c: "B", f: "A" }, 120123: { c: "D", f: "A" }, 120124: { c: "E", f: "A" }, 120125: { c: "F", f: "A" }, 120126: { c: "G", f: "A" }, 120128: { c: "I", f: "A" }, 120129: { c: "J", f: "A" }, 120130: { c: "K", f: "A" }, 120131: { c: "L", f: "A" }, 120132: { c: "M", f: "A" }, 120134: { c: "O", f: "A" }, 120138: { c: "S", f: "A" }, 120139: { c: "T", f: "A" }, 120140: { c: "U", f: "A" }, 120141: { c: "V", f: "A" }, 120142: { c: "W", f: "A" }, 120143: { c: "X", f: "A" }, 120144: { c: "Y", f: "A" }, 120172: { c: "A", f: "FRB" }, 120173: { c: "B", f: "FRB" }, 120174: { c: "C", f: "FRB" }, 120175: { c: "D", f: "FRB" }, 120176: { c: "E", f: "FRB" }, 120177: { c: "F", f: "FRB" }, 120178: { c: "G", f: "FRB" }, 120179: { c: "H", f: "FRB" }, 120180: { c: "I", f: "FRB" }, 120181: { c: "J", f: "FRB" }, 120182: { c: "K", f: "FRB" }, 120183: { c: "L", f: "FRB" }, 120184: { c: "M", f: "FRB" }, 120185: { c: "N", f: "FRB" }, 120186: { c: "O", f: "FRB" }, 120187: { c: "P", f: "FRB" }, 120188: { c: "Q", f: "FRB" }, 120189: { c: "R", f: "FRB" }, 120190: { c: "S", f: "FRB" }, 120191: { c: "T", f: "FRB" }, 120192: { c: "U", f: "FRB" }, 120193: { c: "V", f: "FRB" }, 120194: { c: "W", f: "FRB" }, 120195: { c: "X", f: "FRB" }, 120196: { c: "Y", f: "FRB" }, 120197: { c: "Z", f: "FRB" }, 120198: { c: "a", f: "FRB" }, 120199: { c: "b", f: "FRB" }, 120200: { c: "c", f: "FRB" }, 120201: { c: "d", f: "FRB" }, 120202: { c: "e", f: "FRB" }, 120203: { c: "f", f: "FRB" }, 120204: { c: "g", f: "FRB" }, 120205: { c: "h", f: "FRB" }, 120206: { c: "i", f: "FRB" }, 120207: { c: "j", f: "FRB" }, 120208: { c: "k", f: "FRB" }, 120209: { c: "l", f: "FRB" }, 120210: { c: "m", f: "FRB" }, 120211: { c: "n", f: "FRB" }, 120212: { c: "o", f: "FRB" }, 120213: { c: "p", f: "FRB" }, 120214: { c: "q", f: "FRB" }, 120215: { c: "r", f: "FRB" }, 120216: { c: "s", f: "FRB" }, 120217: { c: "t", f: "FRB" }, 120218: { c: "u", f: "FRB" }, 120219: { c: "v", f: "FRB" }, 120220: { c: "w", f: "FRB" }, 120221: { c: "x", f: "FRB" }, 120222: { c: "y", f: "FRB" }, 120223: { c: "z", f: "FRB" }, 120224: { c: "A", f: "SS" }, 120225: { c: "B", f: "SS" }, 120226: { c: "C", f: "SS" }, 120227: { c: "D", f: "SS" }, 120228: { c: "E", f: "SS" }, 120229: { c: "F", f: "SS" }, 120230: { c: "G", f: "SS" }, 120231: { c: "H", f: "SS" }, 120232: { c: "I", f: "SS" }, 120233: { c: "J", f: "SS" }, 120234: { c: "K", f: "SS" }, 120235: { c: "L", f: "SS" }, 120236: { c: "M", f: "SS" }, 120237: { c: "N", f: "SS" }, 120238: { c: "O", f: "SS" }, 120239: { c: "P", f: "SS" }, 120240: { c: "Q", f: "SS" }, 120241: { c: "R", f: "SS" }, 120242: { c: "S", f: "SS" }, 120243: { c: "T", f: "SS" }, 120244: { c: "U", f: "SS" }, 120245: { c: "V", f: "SS" }, 120246: { c: "W", f: "SS" }, 120247: { c: "X", f: "SS" }, 120248: { c: "Y", f: "SS" }, 120249: { c: "Z", f: "SS" }, 120250: { c: "a", f: "SS" }, 120251: { c: "b", f: "SS" }, 120252: { c: "c", f: "SS" }, 120253: { c: "d", f: "SS" }, 120254: { c: "e", f: "SS" }, 120255: { c: "f", f: "SS" }, 120256: { c: "g", f: "SS" }, 120257: { c: "h", f: "SS" }, 120258: { c: "i", f: "SS" }, 120259: { c: "j", f: "SS" }, 120260: { c: "k", f: "SS" }, 120261: { c: "l", f: "SS" }, 120262: { c: "m", f: "SS" }, 120263: { c: "n", f: "SS" }, 120264: { c: "o", f: "SS" }, 120265: { c: "p", f: "SS" }, 120266: { c: "q", f: "SS" }, 120267: { c: "r", f: "SS" }, 120268: { c: "s", f: "SS" }, 120269: { c: "t", f: "SS" }, 120270: { c: "u", f: "SS" }, 120271: { c: "v", f: "SS" }, 120272: { c: "w", f: "SS" }, 120273: { c: "x", f: "SS" }, 120274: { c: "y", f: "SS" }, 120275: { c: "z", f: "SS" }, 120276: { c: "A", f: "SSB" }, 120277: { c: "B", f: "SSB" }, 120278: { c: "C", f: "SSB" }, 120279: { c: "D", f: "SSB" }, 120280: { c: "E", f: "SSB" }, 120281: { c: "F", f: "SSB" }, 120282: { c: "G", f: "SSB" }, 120283: { c: "H", f: "SSB" }, 120284: { c: "I", f: "SSB" }, 120285: { c: "J", f: "SSB" }, 120286: { c: "K", f: "SSB" }, 120287: { c: "L", f: "SSB" }, 120288: { c: "M", f: "SSB" }, 120289: { c: "N", f: "SSB" }, 120290: { c: "O", f: "SSB" }, 120291: { c: "P", f: "SSB" }, 120292: { c: "Q", f: "SSB" }, 120293: { c: "R", f: "SSB" }, 120294: { c: "S", f: "SSB" }, 120295: { c: "T", f: "SSB" }, 120296: { c: "U", f: "SSB" }, 120297: { c: "V", f: "SSB" }, 120298: { c: "W", f: "SSB" }, 120299: { c: "X", f: "SSB" }, 120300: { c: "Y", f: "SSB" }, 120301: { c: "Z", f: "SSB" }, 120302: { c: "a", f: "SSB" }, 120303: { c: "b", f: "SSB" }, 120304: { c: "c", f: "SSB" }, 120305: { c: "d", f: "SSB" }, 120306: { c: "e", f: "SSB" }, 120307: { c: "f", f: "SSB" }, 120308: { c: "g", f: "SSB" }, 120309: { c: "h", f: "SSB" }, 120310: { c: "i", f: "SSB" }, 120311: { c: "j", f: "SSB" }, 120312: { c: "k", f: "SSB" }, 120313: { c: "l", f: "SSB" }, 120314: { c: "m", f: "SSB" }, 120315: { c: "n", f: "SSB" }, 120316: { c: "o", f: "SSB" }, 120317: { c: "p", f: "SSB" }, 120318: { c: "q", f: "SSB" }, 120319: { c: "r", f: "SSB" }, 120320: { c: "s", f: "SSB" }, 120321: { c: "t", f: "SSB" }, 120322: { c: "u", f: "SSB" }, 120323: { c: "v", f: "SSB" }, 120324: { c: "w", f: "SSB" }, 120325: { c: "x", f: "SSB" }, 120326: { c: "y", f: "SSB" }, 120327: { c: "z", f: "SSB" }, 120328: { c: "A", f: "SSI" }, 120329: { c: "B", f: "SSI" }, 120330: { c: "C", f: "SSI" }, 120331: { c: "D", f: "SSI" }, 120332: { c: "E", f: "SSI" }, 120333: { c: "F", f: "SSI" }, 120334: { c: "G", f: "SSI" }, 120335: { c: "H", f: "SSI" }, 120336: { c: "I", f: "SSI" }, 120337: { c: "J", f: "SSI" }, 120338: { c: "K", f: "SSI" }, 120339: { c: "L", f: "SSI" }, 120340: { c: "M", f: "SSI" }, 120341: { c: "N", f: "SSI" }, 120342: { c: "O", f: "SSI" }, 120343: { c: "P", f: "SSI" }, 120344: { c: "Q", f: "SSI" }, 120345: { c: "R", f: "SSI" }, 120346: { c: "S", f: "SSI" }, 120347: { c: "T", f: "SSI" }, 120348: { c: "U", f: "SSI" }, 120349: { c: "V", f: "SSI" }, 120350: { c: "W", f: "SSI" }, 120351: { c: "X", f: "SSI" }, 120352: { c: "Y", f: "SSI" }, 120353: { c: "Z", f: "SSI" }, 120354: { c: "a", f: "SSI" }, 120355: { c: "b", f: "SSI" }, 120356: { c: "c", f: "SSI" }, 120357: { c: "d", f: "SSI" }, 120358: { c: "e", f: "SSI" }, 120359: { c: "f", f: "SSI" }, 120360: { c: "g", f: "SSI" }, 120361: { c: "h", f: "SSI" }, 120362: { c: "i", f: "SSI" }, 120363: { c: "j", f: "SSI" }, 120364: { c: "k", f: "SSI" }, 120365: { c: "l", f: "SSI" }, 120366: { c: "m", f: "SSI" }, 120367: { c: "n", f: "SSI" }, 120368: { c: "o", f: "SSI" }, 120369: { c: "p", f: "SSI" }, 120370: { c: "q", f: "SSI" }, 120371: { c: "r", f: "SSI" }, 120372: { c: "s", f: "SSI" }, 120373: { c: "t", f: "SSI" }, 120374: { c: "u", f: "SSI" }, 120375: { c: "v", f: "SSI" }, 120376: { c: "w", f: "SSI" }, 120377: { c: "x", f: "SSI" }, 120378: { c: "y", f: "SSI" }, 120379: { c: "z", f: "SSI" }, 120432: { c: "A", f: "T" }, 120433: { c: "B", f: "T" }, 120434: { c: "C", f: "T" }, 120435: { c: "D", f: "T" }, 120436: { c: "E", f: "T" }, 120437: { c: "F", f: "T" }, 120438: { c: "G", f: "T" }, 120439: { c: "H", f: "T" }, 120440: { c: "I", f: "T" }, 120441: { c: "J", f: "T" }, 120442: { c: "K", f: "T" }, 120443: { c: "L", f: "T" }, 120444: { c: "M", f: "T" }, 120445: { c: "N", f: "T" }, 120446: { c: "O", f: "T" }, 120447: { c: "P", f: "T" }, 120448: { c: "Q", f: "T" }, 120449: { c: "R", f: "T" }, 120450: { c: "S", f: "T" }, 120451: { c: "T", f: "T" }, 120452: { c: "U", f: "T" }, 120453: { c: "V", f: "T" }, 120454: { c: "W", f: "T" }, 120455: { c: "X", f: "T" }, 120456: { c: "Y", f: "T" }, 120457: { c: "Z", f: "T" }, 120458: { c: "a", f: "T" }, 120459: { c: "b", f: "T" }, 120460: { c: "c", f: "T" }, 120461: { c: "d", f: "T" }, 120462: { c: "e", f: "T" }, 120463: { c: "f", f: "T" }, 120464: { c: "g", f: "T" }, 120465: { c: "h", f: "T" }, 120466: { c: "i", f: "T" }, 120467: { c: "j", f: "T" }, 120468: { c: "k", f: "T" }, 120469: { c: "l", f: "T" }, 120470: { c: "m", f: "T" }, 120471: { c: "n", f: "T" }, 120472: { c: "o", f: "T" }, 120473: { c: "p", f: "T" }, 120474: { c: "q", f: "T" }, 120475: { c: "r", f: "T" }, 120476: { c: "s", f: "T" }, 120477: { c: "t", f: "T" }, 120478: { c: "u", f: "T" }, 120479: { c: "v", f: "T" }, 120480: { c: "w", f: "T" }, 120481: { c: "x", f: "T" }, 120482: { c: "y", f: "T" }, 120483: { c: "z", f: "T" }, 120488: { c: "A", f: "B" }, 120489: { c: "B", f: "B" }, 120490: { c: "\\393", f: "B" }, 120491: { c: "\\394", f: "B" }, 120492: { c: "E", f: "B" }, 120493: { c: "Z", f: "B" }, 120494: { c: "H", f: "B" }, 120495: { c: "\\398", f: "B" }, 120496: { c: "I", f: "B" }, 120497: { c: "K", f: "B" }, 120498: { c: "\\39B", f: "B" }, 120499: { c: "M", f: "B" }, 120500: { c: "N", f: "B" }, 120501: { c: "\\39E", f: "B" }, 120502: { c: "O", f: "B" }, 120503: { c: "\\3A0", f: "B" }, 120504: { c: "P", f: "B" }, 120506: { c: "\\3A3", f: "B" }, 120507: { c: "T", f: "B" }, 120508: { c: "\\3A5", f: "B" }, 120509: { c: "\\3A6", f: "B" }, 120510: { c: "X", f: "B" }, 120511: { c: "\\3A8", f: "B" }, 120512: { c: "\\3A9", f: "B" }, 120513: { c: "\\2207", f: "B" }, 120546: { c: "A", f: "I" }, 120547: { c: "B", f: "I" }, 120548: { c: "\\393", f: "I" }, 120549: { c: "\\394", f: "I" }, 120550: { c: "E", f: "I" }, 120551: { c: "Z", f: "I" }, 120552: { c: "H", f: "I" }, 120553: { c: "\\398", f: "I" }, 120554: { c: "I", f: "I" }, 120555: { c: "K", f: "I" }, 120556: { c: "\\39B", f: "I" }, 120557: { c: "M", f: "I" }, 120558: { c: "N", f: "I" }, 120559: { c: "\\39E", f: "I" }, 120560: { c: "O", f: "I" }, 120561: { c: "\\3A0", f: "I" }, 120562: { c: "P", f: "I" }, 120564: { c: "\\3A3", f: "I" }, 120565: { c: "T", f: "I" }, 120566: { c: "\\3A5", f: "I" }, 120567: { c: "\\3A6", f: "I" }, 120568: { c: "X", f: "I" }, 120569: { c: "\\3A8", f: "I" }, 120570: { c: "\\3A9", f: "I" }, 120572: { c: "\\3B1", f: "I" }, 120573: { c: "\\3B2", f: "I" }, 120574: { c: "\\3B3", f: "I" }, 120575: { c: "\\3B4", f: "I" }, 120576: { c: "\\3B5", f: "I" }, 120577: { c: "\\3B6", f: "I" }, 120578: { c: "\\3B7", f: "I" }, 120579: { c: "\\3B8", f: "I" }, 120580: { c: "\\3B9", f: "I" }, 120581: { c: "\\3BA", f: "I" }, 120582: { c: "\\3BB", f: "I" }, 120583: { c: "\\3BC", f: "I" }, 120584: { c: "\\3BD", f: "I" }, 120585: { c: "\\3BE", f: "I" }, 120586: { c: "\\3BF", f: "I" }, 120587: { c: "\\3C0", f: "I" }, 120588: { c: "\\3C1", f: "I" }, 120589: { c: "\\3C2", f: "I" }, 120590: { c: "\\3C3", f: "I" }, 120591: { c: "\\3C4", f: "I" }, 120592: { c: "\\3C5", f: "I" }, 120593: { c: "\\3C6", f: "I" }, 120594: { c: "\\3C7", f: "I" }, 120595: { c: "\\3C8", f: "I" }, 120596: { c: "\\3C9", f: "I" }, 120597: { c: "\\2202" }, 120598: { c: "\\3F5", f: "I" }, 120599: { c: "\\3D1", f: "I" }, 120600: { c: "\\E009", f: "A" }, 120601: { c: "\\3D5", f: "I" }, 120602: { c: "\\3F1", f: "I" }, 120603: { c: "\\3D6", f: "I" }, 120604: { c: "A", f: "BI" }, 120605: { c: "B", f: "BI" }, 120606: { c: "\\393", f: "BI" }, 120607: { c: "\\394", f: "BI" }, 120608: { c: "E", f: "BI" }, 120609: { c: "Z", f: "BI" }, 120610: { c: "H", f: "BI" }, 120611: { c: "\\398", f: "BI" }, 120612: { c: "I", f: "BI" }, 120613: { c: "K", f: "BI" }, 120614: { c: "\\39B", f: "BI" }, 120615: { c: "M", f: "BI" }, 120616: { c: "N", f: "BI" }, 120617: { c: "\\39E", f: "BI" }, 120618: { c: "O", f: "BI" }, 120619: { c: "\\3A0", f: "BI" }, 120620: { c: "P", f: "BI" }, 120622: { c: "\\3A3", f: "BI" }, 120623: { c: "T", f: "BI" }, 120624: { c: "\\3A5", f: "BI" }, 120625: { c: "\\3A6", f: "BI" }, 120626: { c: "X", f: "BI" }, 120627: { c: "\\3A8", f: "BI" }, 120628: { c: "\\3A9", f: "BI" }, 120630: { c: "\\3B1", f: "BI" }, 120631: { c: "\\3B2", f: "BI" }, 120632: { c: "\\3B3", f: "BI" }, 120633: { c: "\\3B4", f: "BI" }, 120634: { c: "\\3B5", f: "BI" }, 120635: { c: "\\3B6", f: "BI" }, 120636: { c: "\\3B7", f: "BI" }, 120637: { c: "\\3B8", f: "BI" }, 120638: { c: "\\3B9", f: "BI" }, 120639: { c: "\\3BA", f: "BI" }, 120640: { c: "\\3BB", f: "BI" }, 120641: { c: "\\3BC", f: "BI" }, 120642: { c: "\\3BD", f: "BI" }, 120643: { c: "\\3BE", f: "BI" }, 120644: { c: "\\3BF", f: "BI" }, 120645: { c: "\\3C0", f: "BI" }, 120646: { c: "\\3C1", f: "BI" }, 120647: { c: "\\3C2", f: "BI" }, 120648: { c: "\\3C3", f: "BI" }, 120649: { c: "\\3C4", f: "BI" }, 120650: { c: "\\3C5", f: "BI" }, 120651: { c: "\\3C6", f: "BI" }, 120652: { c: "\\3C7", f: "BI" }, 120653: { c: "\\3C8", f: "BI" }, 120654: { c: "\\3C9", f: "BI" }, 120655: { c: "\\2202", f: "B" }, 120656: { c: "\\3F5", f: "BI" }, 120657: { c: "\\3D1", f: "BI" }, 120658: { c: "\\E009", f: "A" }, 120659: { c: "\\3D5", f: "BI" }, 120660: { c: "\\3F1", f: "BI" }, 120661: { c: "\\3D6", f: "BI" }, 120662: { c: "A", f: "SSB" }, 120663: { c: "B", f: "SSB" }, 120664: { c: "\\393", f: "SSB" }, 120665: { c: "\\394", f: "SSB" }, 120666: { c: "E", f: "SSB" }, 120667: { c: "Z", f: "SSB" }, 120668: { c: "H", f: "SSB" }, 120669: { c: "\\398", f: "SSB" }, 120670: { c: "I", f: "SSB" }, 120671: { c: "K", f: "SSB" }, 120672: { c: "\\39B", f: "SSB" }, 120673: { c: "M", f: "SSB" }, 120674: { c: "N", f: "SSB" }, 120675: { c: "\\39E", f: "SSB" }, 120676: { c: "O", f: "SSB" }, 120677: { c: "\\3A0", f: "SSB" }, 120678: { c: "P", f: "SSB" }, 120680: { c: "\\3A3", f: "SSB" }, 120681: { c: "T", f: "SSB" }, 120682: { c: "\\3A5", f: "SSB" }, 120683: { c: "\\3A6", f: "SSB" }, 120684: { c: "X", f: "SSB" }, 120685: { c: "\\3A8", f: "SSB" }, 120686: { c: "\\3A9", f: "SSB" }, 120782: { c: "0", f: "B" }, 120783: { c: "1", f: "B" }, 120784: { c: "2", f: "B" }, 120785: { c: "3", f: "B" }, 120786: { c: "4", f: "B" }, 120787: { c: "5", f: "B" }, 120788: { c: "6", f: "B" }, 120789: { c: "7", f: "B" }, 120790: { c: "8", f: "B" }, 120791: { c: "9", f: "B" }, 120802: { c: "0", f: "SS" }, 120803: { c: "1", f: "SS" }, 120804: { c: "2", f: "SS" }, 120805: { c: "3", f: "SS" }, 120806: { c: "4", f: "SS" }, 120807: { c: "5", f: "SS" }, 120808: { c: "6", f: "SS" }, 120809: { c: "7", f: "SS" }, 120810: { c: "8", f: "SS" }, 120811: { c: "9", f: "SS" }, 120812: { c: "0", f: "SSB" }, 120813: { c: "1", f: "SSB" }, 120814: { c: "2", f: "SSB" }, 120815: { c: "3", f: "SSB" }, 120816: { c: "4", f: "SSB" }, 120817: { c: "5", f: "SSB" }, 120818: { c: "6", f: "SSB" }, 120819: { c: "7", f: "SSB" }, 120820: { c: "8", f: "SSB" }, 120821: { c: "9", f: "SSB" }, 120822: { c: "0", f: "T" }, 120823: { c: "1", f: "T" }, 120824: { c: "2", f: "T" }, 120825: { c: "3", f: "T" }, 120826: { c: "4", f: "T" }, 120827: { c: "5", f: "T" }, 120828: { c: "6", f: "T" }, 120829: { c: "7", f: "T" }, 120830: { c: "8", f: "T" }, 120831: { c: "9", f: "T" }, }); }, function (t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }), (e.normal = void 0), (e.normal = { 32: [0, 0, 0.25], 33: [0.716, 0, 0.278], 34: [0.694, -0.379, 0.5], 35: [0.694, 0.194, 0.833], 36: [0.75, 0.056, 0.5], 37: [0.75, 0.056, 0.833], 38: [0.716, 0.022, 0.778], 39: [0.694, -0.379, 0.278], 40: [0.75, 0.25, 0.389], 41: [0.75, 0.25, 0.389], 42: [0.75, -0.32, 0.5], 43: [0.583, 0.082, 0.778], 44: [0.121, 0.194, 0.278], 45: [0.252, -0.179, 0.333], 46: [0.12, 0, 0.278], 47: [0.75, 0.25, 0.5], 48: [0.666, 0.022, 0.5], 49: [0.666, 0, 0.5], 50: [0.666, 0, 0.5], 51: [0.665, 0.022, 0.5], 52: [0.677, 0, 0.5], 53: [0.666, 0.022, 0.5], 54: [0.666, 0.022, 0.5], 55: [0.676, 0.022, 0.5], 56: [0.666, 0.022, 0.5], 57: [0.666, 0.022, 0.5], 58: [0.43, 0, 0.278], 59: [0.43, 0.194, 0.278], 60: [0.54, 0.04, 0.778], 61: [0.583, 0.082, 0.778], 62: [0.54, 0.04, 0.778], 63: [0.705, 0, 0.472], 64: [0.705, 0.011, 0.778], 65: [0.716, 0, 0.75], 66: [0.683, 0, 0.708], 67: [0.705, 0.021, 0.722], 68: [0.683, 0, 0.764], 69: [0.68, 0, 0.681], 70: [0.68, 0, 0.653], 71: [0.705, 0.022, 0.785], 72: [0.683, 0, 0.75], 73: [0.683, 0, 0.361], 74: [0.683, 0.022, 0.514], 75: [0.683, 0, 0.778], 76: [0.683, 0, 0.625], 77: [0.683, 0, 0.917], 78: [0.683, 0, 0.75], 79: [0.705, 0.022, 0.778], 80: [0.683, 0, 0.681], 81: [0.705, 0.193, 0.778], 82: [0.683, 0.022, 0.736], 83: [0.705, 0.022, 0.556], 84: [0.677, 0, 0.722], 85: [0.683, 0.022, 0.75], 86: [0.683, 0.022, 0.75], 87: [0.683, 0.022, 1.028], 88: [0.683, 0, 0.75], 89: [0.683, 0, 0.75], 90: [0.683, 0, 0.611], 91: [0.75, 0.25, 0.278], 92: [0.75, 0.25, 0.5], 93: [0.75, 0.25, 0.278], 94: [0.694, -0.531, 0.5], 95: [-0.025, 0.062, 0.5], 96: [0.699, -0.505, 0.5], 97: [0.448, 0.011, 0.5], 98: [0.694, 0.011, 0.556], 99: [0.448, 0.011, 0.444], 100: [0.694, 0.011, 0.556], 101: [0.448, 0.011, 0.444], 102: [0.705, 0, 0.306, { ic: 0.066 }], 103: [0.453, 0.206, 0.5], 104: [0.694, 0, 0.556], 105: [0.669, 0, 0.278], 106: [0.669, 0.205, 0.306], 107: [0.694, 0, 0.528], 108: [0.694, 0, 0.278], 109: [0.442, 0, 0.833], 110: [0.442, 0, 0.556], 111: [0.448, 0.01, 0.5], 112: [0.442, 0.194, 0.556], 113: [0.442, 0.194, 0.528], 114: [0.442, 0, 0.392], 115: [0.448, 0.011, 0.394], 116: [0.615, 0.01, 0.389], 117: [0.442, 0.011, 0.556], 118: [0.431, 0.011, 0.528], 119: [0.431, 0.011, 0.722], 120: [0.431, 0, 0.528], 121: [0.431, 0.204, 0.528], 122: [0.431, 0, 0.444], 123: [0.75, 0.25, 0.5], 124: [0.75, 0.249, 0.278], 125: [0.75, 0.25, 0.5], 126: [0.318, -0.215, 0.5], 160: [0, 0, 0.25], 163: [0.714, 0.011, 0.769], 165: [0.683, 0, 0.75], 168: [0.669, -0.554, 0.5], 172: [0.356, -0.089, 0.667], 174: [0.709, 0.175, 0.947], 175: [0.59, -0.544, 0.5], 176: [0.715, -0.542, 0.5], 177: [0.666, 0, 0.778], 180: [0.699, -0.505, 0.5], 183: [0.31, -0.19, 0.278], 215: [0.491, -0.009, 0.778], 240: [0.749, 0.021, 0.556], 247: [0.537, 0.036, 0.778], 305: [0.442, 0, 0.278, { sk: 0.0278 }], 567: [0.442, 0.205, 0.306, { sk: 0.0833 }], 697: [0.56, -0.043, 0.275], 710: [0.694, -0.531, 0.5], 711: [0.644, -0.513, 0.5], 713: [0.59, -0.544, 0.5], 714: [0.699, -0.505, 0.5], 715: [0.699, -0.505, 0.5], 728: [0.694, -0.515, 0.5], 729: [0.669, -0.549, 0.5], 730: [0.715, -0.542, 0.5], 732: [0.668, -0.565, 0.5], 768: [0.699, -0.505, 0], 769: [0.699, -0.505, 0], 770: [0.694, -0.531, 0], 771: [0.668, -0.565, 0], 772: [0.59, -0.544, 0], 774: [0.694, -0.515, 0], 775: [0.669, -0.549, 0], 776: [0.669, -0.554, 0], 778: [0.715, -0.542, 0], 779: [0.701, -0.51, 0], 780: [0.644, -0.513, 0], 824: [0.716, 0.215, 0], 913: [0.716, 0, 0.75], 914: [0.683, 0, 0.708], 915: [0.68, 0, 0.625], 916: [0.716, 0, 0.833], 917: [0.68, 0, 0.681], 918: [0.683, 0, 0.611], 919: [0.683, 0, 0.75], 920: [0.705, 0.022, 0.778], 921: [0.683, 0, 0.361], 922: [0.683, 0, 0.778], 923: [0.716, 0, 0.694], 924: [0.683, 0, 0.917], 925: [0.683, 0, 0.75], 926: [0.677, 0, 0.667], 927: [0.705, 0.022, 0.778], 928: [0.68, 0, 0.75], 929: [0.683, 0, 0.681], 931: [0.683, 0, 0.722], 932: [0.677, 0, 0.722], 933: [0.705, 0, 0.778], 934: [0.683, 0, 0.722], 935: [0.683, 0, 0.75], 936: [0.683, 0, 0.778], 937: [0.704, 0, 0.722], 8192: [0, 0, 0.5], 8193: [0, 0, 1], 8194: [0, 0, 0.5], 8195: [0, 0, 1], 8196: [0, 0, 0.333], 8197: [0, 0, 0.25], 8198: [0, 0, 0.167], 8201: [0, 0, 0.167], 8202: [0, 0, 0.1], 8203: [0, 0, 0], 8204: [0, 0, 0], 8211: [0.285, -0.248, 0.5], 8212: [0.285, -0.248, 1], 8213: [0.285, -0.248, 1], 8214: [0.75, 0.25, 0.5], 8215: [-0.025, 0.062, 0.5], 8216: [0.694, -0.379, 0.278], 8217: [0.694, -0.379, 0.278], 8220: [0.694, -0.379, 0.5], 8221: [0.694, -0.379, 0.5], 8224: [0.705, 0.216, 0.444], 8225: [0.705, 0.205, 0.444], 8226: [0.444, -0.055, 0.5], 8230: [0.12, 0, 1.172], 8242: [0.56, -0.043, 0.275], 8243: [0.56, 0, 0.55], 8244: [0.56, 0, 0.825], 8245: [0.56, -0.043, 0.275], 8246: [0.56, 0, 0.55], 8247: [0.56, 0, 0.825], 8254: [0.59, -0.544, 0.5], 8260: [0.75, 0.25, 0.5], 8279: [0.56, 0, 1.1], 8288: [0, 0, 0], 8289: [0, 0, 0], 8290: [0, 0, 0], 8291: [0, 0, 0], 8292: [0, 0, 0], 8407: [0.714, -0.516, 0.5], 8450: [0.702, 0.019, 0.722], 8459: [0.717, 0.036, 0.969, { ic: 0.272, sk: 0.333 }], 8460: [0.666, 0.133, 0.72], 8461: [0.683, 0, 0.778], 8462: [0.694, 0.011, 0.576, { sk: -0.0278 }], 8463: [0.695, 0.013, 0.54, { ic: 0.022 }], 8464: [0.717, 0.314, 1.052, { ic: 0.081, sk: 0.417 }], 8465: [0.686, 0.026, 0.554], 8466: [0.717, 0.017, 0.874, { ic: 0.161, sk: 0.306 }], 8467: [0.705, 0.02, 0.417, { sk: 0.111 }], 8469: [0.683, 0.02, 0.722], 8472: [0.453, 0.216, 0.636, { sk: 0.111 }], 8473: [0.683, 0, 0.611], 8474: [0.701, 0.181, 0.778], 8475: [0.717, 0.017, 0.85, { ic: 0.037, sk: 0.194 }], 8476: [0.686, 0.026, 0.828], 8477: [0.683, 0, 0.722], 8484: [0.683, 0, 0.667], 8486: [0.704, 0, 0.722], 8487: [0.684, 0.022, 0.722], 8488: [0.729, 0.139, 0.602], 8492: [0.708, 0.028, 0.908, { ic: 0.02, sk: 0.194 }], 8493: [0.685, 0.024, 0.613], 8496: [0.707, 0.008, 0.562, { ic: 0.156, sk: 0.139 }], 8497: [0.735, 0.036, 0.895, { ic: 0.095, sk: 0.222 }], 8498: [0.695, 0, 0.556], 8499: [0.721, 0.05, 1.08, { ic: 0.136, sk: 0.444 }], 8501: [0.694, 0, 0.611], 8502: [0.763, 0.021, 0.667, { ic: 0.02 }], 8503: [0.764, 0.043, 0.444], 8504: [0.764, 0.043, 0.667], 8513: [0.705, 0.023, 0.639], 8592: [0.511, 0.011, 1], 8593: [0.694, 0.193, 0.5], 8594: [0.511, 0.011, 1], 8595: [0.694, 0.194, 0.5], 8596: [0.511, 0.011, 1], 8597: [0.772, 0.272, 0.5], 8598: [0.72, 0.195, 1], 8599: [0.72, 0.195, 1], 8600: [0.695, 0.22, 1], 8601: [0.695, 0.22, 1], 8602: [0.437, -0.06, 1], 8603: [0.437, -0.06, 1], 8606: [0.417, -0.083, 1], 8608: [0.417, -0.083, 1], 8610: [0.417, -0.083, 1.111], 8611: [0.417, -0.083, 1.111], 8614: [0.511, 0.011, 1], 8617: [0.511, 0.011, 1.126], 8618: [0.511, 0.011, 1.126], 8619: [0.575, 0.041, 1], 8620: [0.575, 0.041, 1], 8621: [0.417, -0.083, 1.389], 8622: [0.437, -0.06, 1], 8624: [0.722, 0, 0.5], 8625: [0.722, 0, 0.5], 8630: [0.461, 0, 1], 8631: [0.46, 0, 1], 8634: [0.65, 0.083, 0.778], 8635: [0.65, 0.083, 0.778], 8636: [0.511, -0.23, 1], 8637: [0.27, 0.011, 1], 8638: [0.694, 0.194, 0.417], 8639: [0.694, 0.194, 0.417], 8640: [0.511, -0.23, 1], 8641: [0.27, 0.011, 1], 8642: [0.694, 0.194, 0.417], 8643: [0.694, 0.194, 0.417], 8644: [0.667, 0, 1], 8646: [0.667, 0, 1], 8647: [0.583, 0.083, 1], 8648: [0.694, 0.193, 0.833], 8649: [0.583, 0.083, 1], 8650: [0.694, 0.194, 0.833], 8651: [0.514, 0.014, 1], 8652: [0.671, 0.011, 1], 8653: [0.534, 0.035, 1], 8654: [0.534, 0.037, 1], 8655: [0.534, 0.035, 1], 8656: [0.525, 0.024, 1], 8657: [0.694, 0.194, 0.611], 8658: [0.525, 0.024, 1], 8659: [0.694, 0.194, 0.611], 8660: [0.526, 0.025, 1], 8661: [0.772, 0.272, 0.611], 8666: [0.611, 0.111, 1], 8667: [0.611, 0.111, 1], 8669: [0.417, -0.083, 1], 8672: [0.437, -0.064, 1.334], 8674: [0.437, -0.064, 1.334], 8704: [0.694, 0.022, 0.556], 8705: [0.846, 0.021, 0.5], 8706: [0.715, 0.022, 0.531, { ic: 0.035, sk: 0.0833 }], 8707: [0.694, 0, 0.556], 8708: [0.716, 0.215, 0.556], 8709: [0.772, 0.078, 0.5], 8710: [0.716, 0, 0.833], 8711: [0.683, 0.033, 0.833], 8712: [0.54, 0.04, 0.667], 8713: [0.716, 0.215, 0.667], 8715: [0.54, 0.04, 0.667], 8716: [0.716, 0.215, 0.667], 8717: [0.44, 0, 0.429, { ic: 0.027 }], 8719: [0.75, 0.25, 0.944], 8720: [0.75, 0.25, 0.944], 8721: [0.75, 0.25, 1.056], 8722: [0.583, 0.082, 0.778], 8723: [0.5, 0.166, 0.778], 8724: [0.766, 0.093, 0.778], 8725: [0.75, 0.25, 0.5], 8726: [0.75, 0.25, 0.5], 8727: [0.465, -0.035, 0.5], 8728: [0.444, -0.055, 0.5], 8729: [0.444, -0.055, 0.5], 8730: [0.8, 0.2, 0.833, { ic: 0.02 }], 8733: [0.442, 0.011, 0.778], 8734: [0.442, 0.011, 1], 8736: [0.694, 0, 0.722], 8737: [0.714, 0.02, 0.722], 8738: [0.551, 0.051, 0.722], 8739: [0.75, 0.249, 0.278], 8740: [0.75, 0.252, 0.278, { ic: 0.019 }], 8741: [0.75, 0.25, 0.5], 8742: [0.75, 0.25, 0.5, { ic: 0.018 }], 8743: [0.598, 0.022, 0.667], 8744: [0.598, 0.022, 0.667], 8745: [0.598, 0.022, 0.667], 8746: [0.598, 0.022, 0.667], 8747: [0.716, 0.216, 0.417, { ic: 0.055 }], 8748: [0.805, 0.306, 0.819, { ic: 0.138 }], 8749: [0.805, 0.306, 1.166, { ic: 0.138 }], 8750: [0.805, 0.306, 0.472, { ic: 0.138 }], 8756: [0.471, 0.082, 0.667], 8757: [0.471, 0.082, 0.667], 8764: [0.367, -0.133, 0.778], 8765: [0.367, -0.133, 0.778], 8768: [0.583, 0.083, 0.278], 8769: [0.467, -0.032, 0.778], 8770: [0.463, -0.034, 0.778], 8771: [0.464, -0.036, 0.778], 8772: [0.716, 0.215, 0.778], 8773: [0.589, -0.022, 0.778], 8775: [0.652, 0.155, 0.778], 8776: [0.483, -0.055, 0.778], 8777: [0.716, 0.215, 0.778], 8778: [0.579, 0.039, 0.778], 8781: [0.484, -0.016, 0.778], 8782: [0.492, -0.008, 0.778], 8783: [0.492, -0.133, 0.778], 8784: [0.67, -0.133, 0.778], 8785: [0.609, 0.108, 0.778], 8786: [0.601, 0.101, 0.778], 8787: [0.601, 0.102, 0.778], 8790: [0.367, -0.133, 0.778], 8791: [0.721, -0.133, 0.778], 8796: [0.859, -0.133, 0.778], 8800: [0.716, 0.215, 0.778], 8801: [0.464, -0.036, 0.778], 8802: [0.716, 0.215, 0.778], 8804: [0.636, 0.138, 0.778], 8805: [0.636, 0.138, 0.778], 8806: [0.753, 0.175, 0.778], 8807: [0.753, 0.175, 0.778], 8808: [0.752, 0.286, 0.778], 8809: [0.752, 0.286, 0.778], 8810: [0.568, 0.067, 1], 8811: [0.567, 0.067, 1], 8812: [0.75, 0.25, 0.5], 8813: [0.716, 0.215, 0.778], 8814: [0.708, 0.209, 0.778], 8815: [0.708, 0.209, 0.778], 8816: [0.801, 0.303, 0.778], 8817: [0.801, 0.303, 0.778], 8818: [0.732, 0.228, 0.778], 8819: [0.732, 0.228, 0.778], 8820: [0.732, 0.228, 0.778], 8821: [0.732, 0.228, 0.778], 8822: [0.681, 0.253, 0.778], 8823: [0.681, 0.253, 0.778], 8824: [0.716, 0.253, 0.778], 8825: [0.716, 0.253, 0.778], 8826: [0.539, 0.041, 0.778], 8827: [0.539, 0.041, 0.778], 8828: [0.58, 0.153, 0.778], 8829: [0.58, 0.154, 0.778], 8830: [0.732, 0.228, 0.778], 8831: [0.732, 0.228, 0.778], 8832: [0.705, 0.208, 0.778], 8833: [0.705, 0.208, 0.778], 8834: [0.54, 0.04, 0.778], 8835: [0.54, 0.04, 0.778], 8836: [0.716, 0.215, 0.778], 8837: [0.716, 0.215, 0.778], 8838: [0.636, 0.138, 0.778], 8839: [0.636, 0.138, 0.778], 8840: [0.801, 0.303, 0.778], 8841: [0.801, 0.303, 0.778], 8842: [0.635, 0.241, 0.778], 8843: [0.635, 0.241, 0.778], 8846: [0.598, 0.022, 0.667], 8847: [0.539, 0.041, 0.778], 8848: [0.539, 0.041, 0.778], 8849: [0.636, 0.138, 0.778], 8850: [0.636, 0.138, 0.778], 8851: [0.598, 0, 0.667], 8852: [0.598, 0, 0.667], 8853: [0.583, 0.083, 0.778], 8854: [0.583, 0.083, 0.778], 8855: [0.583, 0.083, 0.778], 8856: [0.583, 0.083, 0.778], 8857: [0.583, 0.083, 0.778], 8858: [0.582, 0.082, 0.778], 8859: [0.582, 0.082, 0.778], 8861: [0.582, 0.082, 0.778], 8862: [0.689, 0, 0.778], 8863: [0.689, 0, 0.778], 8864: [0.689, 0, 0.778], 8865: [0.689, 0, 0.778], 8866: [0.694, 0, 0.611], 8867: [0.694, 0, 0.611], 8868: [0.668, 0, 0.778], 8869: [0.668, 0, 0.778], 8872: [0.75, 0.249, 0.867], 8873: [0.694, 0, 0.722], 8874: [0.694, 0, 0.889], 8876: [0.695, 0, 0.611], 8877: [0.695, 0, 0.611], 8878: [0.695, 0, 0.722], 8879: [0.695, 0, 0.722], 8882: [0.539, 0.041, 0.778], 8883: [0.539, 0.041, 0.778], 8884: [0.636, 0.138, 0.778], 8885: [0.636, 0.138, 0.778], 8888: [0.408, -0.092, 1.111], 8890: [0.431, 0.212, 0.556], 8891: [0.716, 0, 0.611], 8892: [0.716, 0, 0.611], 8896: [0.75, 0.249, 0.833], 8897: [0.75, 0.249, 0.833], 8898: [0.75, 0.249, 0.833], 8899: [0.75, 0.249, 0.833], 8900: [0.488, -0.012, 0.5], 8901: [0.31, -0.19, 0.278], 8902: [0.486, -0.016, 0.5], 8903: [0.545, 0.044, 0.778], 8904: [0.505, 0.005, 0.9], 8905: [0.492, -0.008, 0.778], 8906: [0.492, -0.008, 0.778], 8907: [0.694, 0.022, 0.778], 8908: [0.694, 0.022, 0.778], 8909: [0.464, -0.036, 0.778], 8910: [0.578, 0.021, 0.76], 8911: [0.578, 0.022, 0.76], 8912: [0.54, 0.04, 0.778], 8913: [0.54, 0.04, 0.778], 8914: [0.598, 0.022, 0.667], 8915: [0.598, 0.022, 0.667], 8916: [0.736, 0.022, 0.667], 8918: [0.541, 0.041, 0.778], 8919: [0.541, 0.041, 0.778], 8920: [0.568, 0.067, 1.333], 8921: [0.568, 0.067, 1.333], 8922: [0.886, 0.386, 0.778], 8923: [0.886, 0.386, 0.778], 8926: [0.734, 0, 0.778], 8927: [0.734, 0, 0.778], 8928: [0.801, 0.303, 0.778], 8929: [0.801, 0.303, 0.778], 8930: [0.716, 0.215, 0.778], 8931: [0.716, 0.215, 0.778], 8934: [0.73, 0.359, 0.778], 8935: [0.73, 0.359, 0.778], 8936: [0.73, 0.359, 0.778], 8937: [0.73, 0.359, 0.778], 8938: [0.706, 0.208, 0.778], 8939: [0.706, 0.208, 0.778], 8940: [0.802, 0.303, 0.778], 8941: [0.801, 0.303, 0.778], 8942: [1.3, 0.03, 0.278], 8943: [0.31, -0.19, 1.172], 8945: [1.52, -0.1, 1.282], 8965: [0.716, 0, 0.611], 8966: [0.813, 0.097, 0.611], 8968: [0.75, 0.25, 0.444], 8969: [0.75, 0.25, 0.444], 8970: [0.75, 0.25, 0.444], 8971: [0.75, 0.25, 0.444], 8988: [0.694, -0.306, 0.5], 8989: [0.694, -0.306, 0.5], 8990: [0.366, 0.022, 0.5], 8991: [0.366, 0.022, 0.5], 8994: [0.388, -0.122, 1], 8995: [0.378, -0.134, 1], 9001: [0.75, 0.25, 0.389], 9002: [0.75, 0.25, 0.389], 9136: [0.744, 0.244, 0.412], 9137: [0.744, 0.244, 0.412], 9168: [0.602, 0, 0.667], 9416: [0.709, 0.175, 0.902], 9484: [0.694, -0.306, 0.5], 9488: [0.694, -0.306, 0.5], 9492: [0.366, 0.022, 0.5], 9496: [0.366, 0.022, 0.5], 9585: [0.694, 0.195, 0.889], 9586: [0.694, 0.195, 0.889], 9632: [0.689, 0, 0.778], 9633: [0.689, 0, 0.778], 9642: [0.689, 0, 0.778], 9650: [0.575, 0.02, 0.722], 9651: [0.716, 0, 0.889], 9652: [0.575, 0.02, 0.722], 9653: [0.716, 0, 0.889], 9654: [0.539, 0.041, 0.778], 9656: [0.539, 0.041, 0.778], 9657: [0.505, 0.005, 0.5], 9660: [0.576, 0.019, 0.722], 9661: [0.5, 0.215, 0.889], 9662: [0.576, 0.019, 0.722], 9663: [0.5, 0.215, 0.889], 9664: [0.539, 0.041, 0.778], 9666: [0.539, 0.041, 0.778], 9667: [0.505, 0.005, 0.5], 9674: [0.716, 0.132, 0.667], 9711: [0.715, 0.215, 1], 9723: [0.689, 0, 0.778], 9724: [0.689, 0, 0.778], 9733: [0.694, 0.111, 0.944], 9824: [0.727, 0.13, 0.778], 9825: [0.716, 0.033, 0.778], 9826: [0.727, 0.162, 0.778], 9827: [0.726, 0.13, 0.778], 9837: [0.75, 0.022, 0.389], 9838: [0.734, 0.223, 0.389], 9839: [0.723, 0.223, 0.389], 10003: [0.706, 0.034, 0.833], 10016: [0.716, 0.022, 0.833], 10072: [0.75, 0.249, 0.278], 10216: [0.75, 0.25, 0.389], 10217: [0.75, 0.25, 0.389], 10222: [0.744, 0.244, 0.412], 10223: [0.744, 0.244, 0.412], 10229: [0.511, 0.011, 1.609], 10230: [0.511, 0.011, 1.638], 10231: [0.511, 0.011, 1.859], 10232: [0.525, 0.024, 1.609], 10233: [0.525, 0.024, 1.638], 10234: [0.525, 0.024, 1.858], 10236: [0.511, 0.011, 1.638], 10731: [0.716, 0.132, 0.667], 10744: [0.716, 0.215, 0.778], 10752: [0.75, 0.25, 1.111], 10753: [0.75, 0.25, 1.111], 10754: [0.75, 0.25, 1.111], 10756: [0.75, 0.249, 0.833], 10758: [0.75, 0.249, 0.833], 10764: [0.805, 0.306, 1.638, { ic: 0.138 }], 10799: [0.491, -0.009, 0.778], 10815: [0.683, 0, 0.75], 10846: [0.813, 0.097, 0.611], 10877: [0.636, 0.138, 0.778], 10878: [0.636, 0.138, 0.778], 10885: [0.762, 0.29, 0.778], 10886: [0.762, 0.29, 0.778], 10887: [0.635, 0.241, 0.778], 10888: [0.635, 0.241, 0.778], 10889: [0.761, 0.387, 0.778], 10890: [0.761, 0.387, 0.778], 10891: [1.003, 0.463, 0.778], 10892: [1.003, 0.463, 0.778], 10901: [0.636, 0.138, 0.778], 10902: [0.636, 0.138, 0.778], 10927: [0.636, 0.138, 0.778], 10928: [0.636, 0.138, 0.778], 10933: [0.752, 0.286, 0.778], 10934: [0.752, 0.286, 0.778], 10935: [0.761, 0.294, 0.778], 10936: [0.761, 0.294, 0.778], 10937: [0.761, 0.337, 0.778], 10938: [0.761, 0.337, 0.778], 10949: [0.753, 0.215, 0.778], 10950: [0.753, 0.215, 0.778], 10955: [0.783, 0.385, 0.778], 10956: [0.783, 0.385, 0.778], 12296: [0.75, 0.25, 0.389], 12297: [0.75, 0.25, 0.389], 57350: [0.43, 0.023, 0.222, { ic: 0.018 }], 57351: [0.431, 0.024, 0.389, { ic: 0.018 }], 57352: [0.605, 0.085, 0.778], 57353: [0.434, 0.006, 0.667, { ic: 0.067 }], 57356: [0.752, 0.284, 0.778], 57357: [0.752, 0.284, 0.778], 57358: [0.919, 0.421, 0.778], 57359: [0.801, 0.303, 0.778], 57360: [0.801, 0.303, 0.778], 57361: [0.919, 0.421, 0.778], 57366: [0.828, 0.33, 0.778], 57367: [0.752, 0.332, 0.778], 57368: [0.828, 0.33, 0.778], 57369: [0.752, 0.333, 0.778], 57370: [0.634, 0.255, 0.778], 57371: [0.634, 0.254, 0.778], 119808: [0.698, 0, 0.869], 119809: [0.686, 0, 0.818], 119810: [0.697, 0.011, 0.831], 119811: [0.686, 0, 0.882], 119812: [0.68, 0, 0.756], 119813: [0.68, 0, 0.724], 119814: [0.697, 0.01, 0.904], 119815: [0.686, 0, 0.9], 119816: [0.686, 0, 0.436], 119817: [0.686, 0.011, 0.594], 119818: [0.686, 0, 0.901], 119819: [0.686, 0, 0.692], 119820: [0.686, 0, 1.092], 119821: [0.686, 0, 0.9], 119822: [0.696, 0.01, 0.864], 119823: [0.686, 0, 0.786], 119824: [0.696, 0.193, 0.864], 119825: [0.686, 0.011, 0.862], 119826: [0.697, 0.011, 0.639], 119827: [0.675, 0, 0.8], 119828: [0.686, 0.011, 0.885], 119829: [0.686, 0.007, 0.869], 119830: [0.686, 0.007, 1.189], 119831: [0.686, 0, 0.869], 119832: [0.686, 0, 0.869], 119833: [0.686, 0, 0.703], 119834: [0.453, 0.006, 0.559], 119835: [0.694, 0.006, 0.639], 119836: [0.453, 0.006, 0.511], 119837: [0.694, 0.006, 0.639], 119838: [0.452, 0.006, 0.527], 119839: [0.7, 0, 0.351, { ic: 0.101 }], 119840: [0.455, 0.201, 0.575], 119841: [0.694, 0, 0.639], 119842: [0.695, 0, 0.319], 119843: [0.695, 0.2, 0.351], 119844: [0.694, 0, 0.607], 119845: [0.694, 0, 0.319], 119846: [0.45, 0, 0.958], 119847: [0.45, 0, 0.639], 119848: [0.452, 0.005, 0.575], 119849: [0.45, 0.194, 0.639], 119850: [0.45, 0.194, 0.607], 119851: [0.45, 0, 0.474], 119852: [0.453, 0.006, 0.454], 119853: [0.635, 0.005, 0.447], 119854: [0.45, 0.006, 0.639], 119855: [0.444, 0, 0.607], 119856: [0.444, 0, 0.831], 119857: [0.444, 0, 0.607], 119858: [0.444, 0.2, 0.607], 119859: [0.444, 0, 0.511], 119860: [0.716, 0, 0.75, { sk: 0.139 }], 119861: [0.683, 0, 0.759, { sk: 0.0833 }], 119862: [0.705, 0.022, 0.715, { ic: 0.045, sk: 0.0833 }], 119863: [0.683, 0, 0.828, { sk: 0.0556 }], 119864: [0.68, 0, 0.738, { ic: 0.026, sk: 0.0833 }], 119865: [0.68, 0, 0.643, { ic: 0.106, sk: 0.0833 }], 119866: [0.705, 0.022, 0.786, { sk: 0.0833 }], 119867: [0.683, 0, 0.831, { ic: 0.057, sk: 0.0556 }], 119868: [0.683, 0, 0.44, { ic: 0.064, sk: 0.111 }], 119869: [0.683, 0.022, 0.555, { ic: 0.078, sk: 0.167 }], 119870: [0.683, 0, 0.849, { ic: 0.04, sk: 0.0556 }], 119871: [0.683, 0, 0.681, { sk: 0.0278 }], 119872: [0.683, 0, 0.97, { ic: 0.081, sk: 0.0833 }], 119873: [0.683, 0, 0.803, { ic: 0.085, sk: 0.0833 }], 119874: [0.704, 0.022, 0.763, { sk: 0.0833 }], 119875: [0.683, 0, 0.642, { ic: 0.109, sk: 0.0833 }], 119876: [0.704, 0.194, 0.791, { sk: 0.0833 }], 119877: [0.683, 0.021, 0.759, { sk: 0.0833 }], 119878: [0.705, 0.022, 0.613, { ic: 0.032, sk: 0.0833 }], 119879: [0.677, 0, 0.584, { ic: 0.12, sk: 0.0833 }], 119880: [0.683, 0.022, 0.683, { ic: 0.084, sk: 0.0278 }], 119881: [0.683, 0.022, 0.583, { ic: 0.186 }], 119882: [0.683, 0.022, 0.944, { ic: 0.104 }], 119883: [0.683, 0, 0.828, { ic: 0.024, sk: 0.0833 }], 119884: [0.683, 0, 0.581, { ic: 0.182 }], 119885: [0.683, 0, 0.683, { ic: 0.04, sk: 0.0833 }], 119886: [0.441, 0.01, 0.529], 119887: [0.694, 0.011, 0.429], 119888: [0.442, 0.011, 0.433, { sk: 0.0556 }], 119889: [0.694, 0.01, 0.52, { sk: 0.167 }], 119890: [0.442, 0.011, 0.466, { sk: 0.0556 }], 119891: [0.705, 0.205, 0.49, { ic: 0.06, sk: 0.167 }], 119892: [0.442, 0.205, 0.477, { sk: 0.0278 }], 119894: [0.661, 0.011, 0.345], 119895: [0.661, 0.204, 0.412], 119896: [0.694, 0.011, 0.521], 119897: [0.694, 0.011, 0.298, { sk: 0.0833 }], 119898: [0.442, 0.011, 0.878], 119899: [0.442, 0.011, 0.6], 119900: [0.441, 0.011, 0.485, { sk: 0.0556 }], 119901: [0.442, 0.194, 0.503, { sk: 0.0833 }], 119902: [0.442, 0.194, 0.446, { ic: 0.014, sk: 0.0833 }], 119903: [0.442, 0.011, 0.451, { sk: 0.0556 }], 119904: [0.442, 0.01, 0.469, { sk: 0.0556 }], 119905: [0.626, 0.011, 0.361, { sk: 0.0833 }], 119906: [0.442, 0.011, 0.572, { sk: 0.0278 }], 119907: [0.443, 0.011, 0.485, { sk: 0.0278 }], 119908: [0.443, 0.011, 0.716, { sk: 0.0833 }], 119909: [0.442, 0.011, 0.572, { sk: 0.0278 }], 119910: [0.442, 0.205, 0.49, { sk: 0.0556 }], 119911: [0.442, 0.011, 0.465, { sk: 0.0556 }], 119912: [0.711, 0, 0.869, { sk: 0.16 }], 119913: [0.686, 0, 0.866, { sk: 0.0958 }], 119914: [0.703, 0.017, 0.817, { ic: 0.038, sk: 0.0958 }], 119915: [0.686, 0, 0.938, { sk: 0.0639 }], 119916: [0.68, 0, 0.81, { ic: 0.015, sk: 0.0958 }], 119917: [0.68, 0, 0.689, { ic: 0.12, sk: 0.0958 }], 119918: [0.703, 0.016, 0.887, { sk: 0.0958 }], 119919: [0.686, 0, 0.982, { ic: 0.045, sk: 0.0639 }], 119920: [0.686, 0, 0.511, { ic: 0.062, sk: 0.128 }], 119921: [0.686, 0.017, 0.631, { ic: 0.063, sk: 0.192 }], 119922: [0.686, 0, 0.971, { ic: 0.032, sk: 0.0639 }], 119923: [0.686, 0, 0.756, { sk: 0.0319 }], 119924: [0.686, 0, 1.142, { ic: 0.077, sk: 0.0958 }], 119925: [0.686, 0, 0.95, { ic: 0.077, sk: 0.0958 }], 119926: [0.703, 0.017, 0.837, { sk: 0.0958 }], 119927: [0.686, 0, 0.723, { ic: 0.124, sk: 0.0958 }], 119928: [0.703, 0.194, 0.869, { sk: 0.0958 }], 119929: [0.686, 0.017, 0.872, { sk: 0.0958 }], 119930: [0.703, 0.017, 0.693, { ic: 0.021, sk: 0.0958 }], 119931: [0.675, 0, 0.637, { ic: 0.135, sk: 0.0958 }], 119932: [0.686, 0.016, 0.8, { ic: 0.077, sk: 0.0319 }], 119933: [0.686, 0.016, 0.678, { ic: 0.208 }], 119934: [0.686, 0.017, 1.093, { ic: 0.114 }], 119935: [0.686, 0, 0.947, { sk: 0.0958 }], 119936: [0.686, 0, 0.675, { ic: 0.201 }], 119937: [0.686, 0, 0.773, { ic: 0.032, sk: 0.0958 }], 119938: [0.452, 0.008, 0.633], 119939: [0.694, 0.008, 0.521], 119940: [0.451, 0.008, 0.513, { sk: 0.0639 }], 119941: [0.694, 0.008, 0.61, { sk: 0.192 }], 119942: [0.452, 0.008, 0.554, { sk: 0.0639 }], 119943: [0.701, 0.201, 0.568, { ic: 0.056, sk: 0.192 }], 119944: [0.452, 0.202, 0.545, { sk: 0.0319 }], 119945: [0.694, 0.008, 0.668, { sk: -0.0319 }], 119946: [0.694, 0.008, 0.405], 119947: [0.694, 0.202, 0.471], 119948: [0.694, 0.008, 0.604], 119949: [0.694, 0.008, 0.348, { sk: 0.0958 }], 119950: [0.452, 0.008, 1.032], 119951: [0.452, 0.008, 0.713], 119952: [0.452, 0.008, 0.585, { sk: 0.0639 }], 119953: [0.452, 0.194, 0.601, { sk: 0.0958 }], 119954: [0.452, 0.194, 0.542, { sk: 0.0958 }], 119955: [0.452, 0.008, 0.529, { sk: 0.0639 }], 119956: [0.451, 0.008, 0.531, { sk: 0.0639 }], 119957: [0.643, 0.007, 0.415, { sk: 0.0958 }], 119958: [0.452, 0.008, 0.681, { sk: 0.0319 }], 119959: [0.453, 0.008, 0.567, { sk: 0.0319 }], 119960: [0.453, 0.008, 0.831, { sk: 0.0958 }], 119961: [0.452, 0.008, 0.659, { sk: 0.0319 }], 119962: [0.452, 0.202, 0.59, { sk: 0.0639 }], 119963: [0.452, 0.008, 0.555, { sk: 0.0639 }], 119964: [0.717, 0.008, 0.803, { ic: 0.213, sk: 0.389 }], 119966: [0.728, 0.026, 0.666, { ic: 0.153, sk: 0.278 }], 119967: [0.708, 0.031, 0.774, { ic: 0.081, sk: 0.111 }], 119970: [0.717, 0.037, 0.61, { ic: 0.128, sk: 0.25 }], 119973: [0.717, 0.314, 1.052, { ic: 0.081, sk: 0.417 }], 119974: [0.717, 0.037, 0.914, { ic: 0.29, sk: 0.361 }], 119977: [0.726, 0.036, 0.902, { ic: 0.306, sk: 0.389 }], 119978: [0.707, 0.008, 0.738, { ic: 0.067, sk: 0.167 }], 119979: [0.716, 0.037, 1.013, { ic: 0.018, sk: 0.222 }], 119980: [0.717, 0.017, 0.883, { sk: 0.278 }], 119982: [0.708, 0.036, 0.868, { ic: 0.148, sk: 0.333 }], 119983: [0.735, 0.037, 0.747, { ic: 0.249, sk: 0.222 }], 119984: [0.717, 0.017, 0.8, { ic: 0.16, sk: 0.25 }], 119985: [0.717, 0.017, 0.622, { ic: 0.228, sk: 0.222 }], 119986: [0.717, 0.017, 0.805, { ic: 0.221, sk: 0.25 }], 119987: [0.717, 0.017, 0.944, { ic: 0.187, sk: 0.278 }], 119988: [0.716, 0.017, 0.71, { ic: 0.249, sk: 0.194 }], 119989: [0.717, 0.016, 0.821, { ic: 0.211, sk: 0.306 }], 120068: [0.696, 0.026, 0.718], 120069: [0.691, 0.027, 0.884], 120071: [0.685, 0.027, 0.832], 120072: [0.685, 0.024, 0.663], 120073: [0.686, 0.153, 0.611], 120074: [0.69, 0.026, 0.785], 120077: [0.686, 0.139, 0.552], 120078: [0.68, 0.027, 0.668, { ic: 0.014 }], 120079: [0.686, 0.026, 0.666], 120080: [0.692, 0.027, 1.05], 120081: [0.686, 0.025, 0.832], 120082: [0.729, 0.027, 0.827], 120083: [0.692, 0.218, 0.828], 120084: [0.729, 0.069, 0.827], 120086: [0.692, 0.027, 0.829], 120087: [0.701, 0.027, 0.669], 120088: [0.697, 0.027, 0.646, { ic: 0.019 }], 120089: [0.686, 0.026, 0.831], 120090: [0.686, 0.027, 1.046], 120091: [0.688, 0.027, 0.719], 120092: [0.686, 0.218, 0.833], 120094: [0.47, 0.035, 0.5], 120095: [0.685, 0.031, 0.513], 120096: [0.466, 0.029, 0.389], 120097: [0.609, 0.033, 0.499], 120098: [0.467, 0.03, 0.401], 120099: [0.681, 0.221, 0.326], 120100: [0.47, 0.209, 0.504], 120101: [0.688, 0.205, 0.521], 120102: [0.673, 0.02, 0.279], 120103: [0.672, 0.208, 0.281], 120104: [0.689, 0.025, 0.389], 120105: [0.685, 0.02, 0.28], 120106: [0.475, 0.026, 0.767], 120107: [0.475, 0.022, 0.527], 120108: [0.48, 0.028, 0.489], 120109: [0.541, 0.212, 0.5], 120110: [0.479, 0.219, 0.489], 120111: [0.474, 0.021, 0.389], 120112: [0.478, 0.029, 0.443], 120113: [0.64, 0.02, 0.333, { ic: 0.015 }], 120114: [0.474, 0.023, 0.517], 120115: [0.53, 0.028, 0.512], 120116: [0.532, 0.028, 0.774], 120117: [0.472, 0.188, 0.389], 120118: [0.528, 0.218, 0.499], 120119: [0.471, 0.214, 0.391], 120120: [0.701, 0, 0.722], 120121: [0.683, 0, 0.667], 120123: [0.683, 0, 0.722], 120124: [0.683, 0, 0.667], 120125: [0.683, 0, 0.611], 120126: [0.702, 0.019, 0.778], 120128: [0.683, 0, 0.389], 120129: [0.683, 0.077, 0.5], 120130: [0.683, 0, 0.778], 120131: [0.683, 0, 0.667], 120132: [0.683, 0, 0.944], 120134: [0.701, 0.019, 0.778], 120138: [0.702, 0.012, 0.556], 120139: [0.683, 0, 0.667], 120140: [0.683, 0.019, 0.722], 120141: [0.683, 0.02, 0.722], 120142: [0.683, 0.019, 1], 120143: [0.683, 0, 0.722], 120144: [0.683, 0, 0.722], 120172: [0.686, 0.031, 0.847], 120173: [0.684, 0.031, 1.044], 120174: [0.676, 0.032, 0.723], 120175: [0.683, 0.029, 0.982], 120176: [0.686, 0.029, 0.783], 120177: [0.684, 0.146, 0.722], 120178: [0.687, 0.029, 0.927], 120179: [0.683, 0.126, 0.851], 120180: [0.681, 0.025, 0.655], 120181: [0.68, 0.141, 0.652], 120182: [0.681, 0.026, 0.789, { ic: 0.017 }], 120183: [0.683, 0.028, 0.786], 120184: [0.683, 0.032, 1.239], 120185: [0.679, 0.03, 0.983], 120186: [0.726, 0.03, 0.976], 120187: [0.688, 0.223, 0.977], 120188: [0.726, 0.083, 0.976], 120189: [0.688, 0.028, 0.978], 120190: [0.685, 0.031, 0.978], 120191: [0.686, 0.03, 0.79, { ic: 0.012 }], 120192: [0.688, 0.039, 0.851, { ic: 0.02 }], 120193: [0.685, 0.029, 0.982], 120194: [0.683, 0.03, 1.235], 120195: [0.681, 0.035, 0.849], 120196: [0.688, 0.214, 0.984], 120197: [0.677, 0.148, 0.711], 120198: [0.472, 0.032, 0.603], 120199: [0.69, 0.032, 0.59], 120200: [0.473, 0.026, 0.464], 120201: [0.632, 0.028, 0.589], 120202: [0.471, 0.027, 0.472], 120203: [0.687, 0.222, 0.388], 120204: [0.472, 0.208, 0.595], 120205: [0.687, 0.207, 0.615], 120206: [0.686, 0.025, 0.331], 120207: [0.682, 0.203, 0.332], 120208: [0.682, 0.025, 0.464], 120209: [0.681, 0.024, 0.337], 120210: [0.476, 0.031, 0.921], 120211: [0.473, 0.028, 0.654], 120212: [0.482, 0.034, 0.609], 120213: [0.557, 0.207, 0.604], 120214: [0.485, 0.211, 0.596], 120215: [0.472, 0.026, 0.46], 120216: [0.479, 0.034, 0.523], 120217: [0.648, 0.027, 0.393, { ic: 0.014 }], 120218: [0.472, 0.032, 0.589, { ic: 0.014 }], 120219: [0.546, 0.027, 0.604], 120220: [0.549, 0.032, 0.918], 120221: [0.471, 0.188, 0.459], 120222: [0.557, 0.221, 0.589], 120223: [0.471, 0.214, 0.461], 120224: [0.694, 0, 0.667], 120225: [0.694, 0, 0.667], 120226: [0.705, 0.011, 0.639], 120227: [0.694, 0, 0.722], 120228: [0.691, 0, 0.597], 120229: [0.691, 0, 0.569], 120230: [0.704, 0.011, 0.667], 120231: [0.694, 0, 0.708], 120232: [0.694, 0, 0.278], 120233: [0.694, 0.022, 0.472], 120234: [0.694, 0, 0.694], 120235: [0.694, 0, 0.542], 120236: [0.694, 0, 0.875], 120237: [0.694, 0, 0.708], 120238: [0.715, 0.022, 0.736], 120239: [0.694, 0, 0.639], 120240: [0.715, 0.125, 0.736], 120241: [0.694, 0, 0.646], 120242: [0.716, 0.022, 0.556], 120243: [0.688, 0, 0.681], 120244: [0.694, 0.022, 0.688], 120245: [0.694, 0, 0.667], 120246: [0.694, 0, 0.944], 120247: [0.694, 0, 0.667], 120248: [0.694, 0, 0.667], 120249: [0.694, 0, 0.611], 120250: [0.46, 0.01, 0.481], 120251: [0.694, 0.011, 0.517], 120252: [0.46, 0.01, 0.444], 120253: [0.694, 0.01, 0.517], 120254: [0.461, 0.01, 0.444], 120255: [0.705, 0, 0.306, { ic: 0.041 }], 120256: [0.455, 0.206, 0.5], 120257: [0.694, 0, 0.517], 120258: [0.68, 0, 0.239], 120259: [0.68, 0.205, 0.267], 120260: [0.694, 0, 0.489], 120261: [0.694, 0, 0.239], 120262: [0.455, 0, 0.794], 120263: [0.455, 0, 0.517], 120264: [0.46, 0.01, 0.5], 120265: [0.455, 0.194, 0.517], 120266: [0.455, 0.194, 0.517], 120267: [0.455, 0, 0.342], 120268: [0.46, 0.01, 0.383], 120269: [0.571, 0.01, 0.361], 120270: [0.444, 0.01, 0.517], 120271: [0.444, 0, 0.461], 120272: [0.444, 0, 0.683], 120273: [0.444, 0, 0.461], 120274: [0.444, 0.204, 0.461], 120275: [0.444, 0, 0.435], 120276: [0.694, 0, 0.733], 120277: [0.694, 0, 0.733], 120278: [0.704, 0.011, 0.703], 120279: [0.694, 0, 0.794], 120280: [0.691, 0, 0.642], 120281: [0.691, 0, 0.611], 120282: [0.705, 0.011, 0.733], 120283: [0.694, 0, 0.794], 120284: [0.694, 0, 0.331], 120285: [0.694, 0.022, 0.519], 120286: [0.694, 0, 0.764], 120287: [0.694, 0, 0.581], 120288: [0.694, 0, 0.978], 120289: [0.694, 0, 0.794], 120290: [0.716, 0.022, 0.794], 120291: [0.694, 0, 0.703], 120292: [0.716, 0.106, 0.794], 120293: [0.694, 0, 0.703], 120294: [0.716, 0.022, 0.611], 120295: [0.688, 0, 0.733], 120296: [0.694, 0.022, 0.764], 120297: [0.694, 0, 0.733], 120298: [0.694, 0, 1.039], 120299: [0.694, 0, 0.733], 120300: [0.694, 0, 0.733], 120301: [0.694, 0, 0.672], 120302: [0.475, 0.011, 0.525], 120303: [0.694, 0.01, 0.561], 120304: [0.475, 0.011, 0.489], 120305: [0.694, 0.011, 0.561], 120306: [0.474, 0.01, 0.511], 120307: [0.705, 0, 0.336, { ic: 0.045 }], 120308: [0.469, 0.206, 0.55], 120309: [0.694, 0, 0.561], 120310: [0.695, 0, 0.256], 120311: [0.695, 0.205, 0.286], 120312: [0.694, 0, 0.531], 120313: [0.694, 0, 0.256], 120314: [0.469, 0, 0.867], 120315: [0.468, 0, 0.561], 120316: [0.474, 0.011, 0.55], 120317: [0.469, 0.194, 0.561], 120318: [0.469, 0.194, 0.561], 120319: [0.469, 0, 0.372], 120320: [0.474, 0.01, 0.422], 120321: [0.589, 0.01, 0.404], 120322: [0.458, 0.011, 0.561], 120323: [0.458, 0, 0.5], 120324: [0.458, 0, 0.744], 120325: [0.458, 0, 0.5], 120326: [0.458, 0.205, 0.5], 120327: [0.458, 0, 0.476], 120328: [0.694, 0, 0.667], 120329: [0.694, 0, 0.667, { ic: 0.029 }], 120330: [0.705, 0.01, 0.639, { ic: 0.08 }], 120331: [0.694, 0, 0.722, { ic: 0.025 }], 120332: [0.691, 0, 0.597, { ic: 0.091 }], 120333: [0.691, 0, 0.569, { ic: 0.104 }], 120334: [0.705, 0.011, 0.667, { ic: 0.063 }], 120335: [0.694, 0, 0.708, { ic: 0.06 }], 120336: [0.694, 0, 0.278, { ic: 0.06 }], 120337: [0.694, 0.022, 0.472, { ic: 0.063 }], 120338: [0.694, 0, 0.694, { ic: 0.091 }], 120339: [0.694, 0, 0.542], 120340: [0.694, 0, 0.875, { ic: 0.054 }], 120341: [0.694, 0, 0.708, { ic: 0.058 }], 120342: [0.716, 0.022, 0.736, { ic: 0.027 }], 120343: [0.694, 0, 0.639, { ic: 0.051 }], 120344: [0.716, 0.125, 0.736, { ic: 0.027 }], 120345: [0.694, 0, 0.646, { ic: 0.052 }], 120346: [0.716, 0.022, 0.556, { ic: 0.053 }], 120347: [0.688, 0, 0.681, { ic: 0.109 }], 120348: [0.694, 0.022, 0.688, { ic: 0.059 }], 120349: [0.694, 0, 0.667, { ic: 0.132 }], 120350: [0.694, 0, 0.944, { ic: 0.132 }], 120351: [0.694, 0, 0.667, { ic: 0.091 }], 120352: [0.694, 0, 0.667, { ic: 0.143 }], 120353: [0.694, 0, 0.611, { ic: 0.091 }], 120354: [0.461, 0.01, 0.481], 120355: [0.694, 0.011, 0.517, { ic: 0.022 }], 120356: [0.46, 0.011, 0.444, { ic: 0.055 }], 120357: [0.694, 0.01, 0.517, { ic: 0.071 }], 120358: [0.46, 0.011, 0.444, { ic: 0.028 }], 120359: [0.705, 0, 0.306, { ic: 0.188 }], 120360: [0.455, 0.206, 0.5, { ic: 0.068 }], 120361: [0.694, 0, 0.517], 120362: [0.68, 0, 0.239, { ic: 0.076 }], 120363: [0.68, 0.204, 0.267, { ic: 0.069 }], 120364: [0.694, 0, 0.489, { ic: 0.054 }], 120365: [0.694, 0, 0.239, { ic: 0.072 }], 120366: [0.455, 0, 0.794], 120367: [0.454, 0, 0.517], 120368: [0.461, 0.011, 0.5, { ic: 0.023 }], 120369: [0.455, 0.194, 0.517, { ic: 0.021 }], 120370: [0.455, 0.194, 0.517, { ic: 0.021 }], 120371: [0.455, 0, 0.342, { ic: 0.082 }], 120372: [0.461, 0.011, 0.383, { ic: 0.053 }], 120373: [0.571, 0.011, 0.361, { ic: 0.049 }], 120374: [0.444, 0.01, 0.517, { ic: 0.02 }], 120375: [0.444, 0, 0.461, { ic: 0.079 }], 120376: [0.444, 0, 0.683, { ic: 0.079 }], 120377: [0.444, 0, 0.461, { ic: 0.076 }], 120378: [0.444, 0.205, 0.461, { ic: 0.079 }], 120379: [0.444, 0, 0.435, { ic: 0.059 }], 120432: [0.623, 0, 0.525], 120433: [0.611, 0, 0.525], 120434: [0.622, 0.011, 0.525], 120435: [0.611, 0, 0.525], 120436: [0.611, 0, 0.525], 120437: [0.611, 0, 0.525], 120438: [0.622, 0.011, 0.525], 120439: [0.611, 0, 0.525], 120440: [0.611, 0, 0.525], 120441: [0.611, 0.011, 0.525], 120442: [0.611, 0, 0.525], 120443: [0.611, 0, 0.525], 120444: [0.611, 0, 0.525], 120445: [0.611, 0, 0.525], 120446: [0.621, 0.01, 0.525], 120447: [0.611, 0, 0.525], 120448: [0.621, 0.138, 0.525], 120449: [0.611, 0.011, 0.525], 120450: [0.622, 0.011, 0.525], 120451: [0.611, 0, 0.525], 120452: [0.611, 0.011, 0.525], 120453: [0.611, 0.007, 0.525], 120454: [0.611, 0.007, 0.525], 120455: [0.611, 0, 0.525], 120456: [0.611, 0, 0.525], 120457: [0.611, 0, 0.525], 120458: [0.439, 0.006, 0.525], 120459: [0.611, 0.006, 0.525], 120460: [0.44, 0.006, 0.525], 120461: [0.611, 0.006, 0.525], 120462: [0.44, 0.006, 0.525], 120463: [0.617, 0, 0.525], 120464: [0.442, 0.229, 0.525], 120465: [0.611, 0, 0.525], 120466: [0.612, 0, 0.525], 120467: [0.612, 0.228, 0.525], 120468: [0.611, 0, 0.525], 120469: [0.611, 0, 0.525], 120470: [0.436, 0, 0.525, { ic: 0.011 }], 120471: [0.436, 0, 0.525], 120472: [0.44, 0.006, 0.525], 120473: [0.437, 0.221, 0.525], 120474: [0.437, 0.221, 0.525, { ic: 0.02 }], 120475: [0.437, 0, 0.525], 120476: [0.44, 0.006, 0.525], 120477: [0.554, 0.006, 0.525], 120478: [0.431, 0.005, 0.525], 120479: [0.431, 0, 0.525], 120480: [0.431, 0, 0.525], 120481: [0.431, 0, 0.525], 120482: [0.431, 0.228, 0.525], 120483: [0.431, 0, 0.525], 120488: [0.698, 0, 0.869], 120489: [0.686, 0, 0.818], 120490: [0.68, 0, 0.692], 120491: [0.698, 0, 0.958], 120492: [0.68, 0, 0.756], 120493: [0.686, 0, 0.703], 120494: [0.686, 0, 0.9], 120495: [0.696, 0.01, 0.894], 120496: [0.686, 0, 0.436], 120497: [0.686, 0, 0.901], 120498: [0.698, 0, 0.806], 120499: [0.686, 0, 1.092], 120500: [0.686, 0, 0.9], 120501: [0.675, 0, 0.767], 120502: [0.696, 0.01, 0.864], 120503: [0.68, 0, 0.9], 120504: [0.686, 0, 0.786], 120506: [0.686, 0, 0.831], 120507: [0.675, 0, 0.8], 120508: [0.697, 0, 0.894], 120509: [0.686, 0, 0.831], 120510: [0.686, 0, 0.869], 120511: [0.686, 0, 0.894], 120512: [0.696, 0, 0.831], 120513: [0.686, 0.024, 0.958], 120546: [0.716, 0, 0.75, { sk: 0.139 }], 120547: [0.683, 0, 0.759, { sk: 0.0833 }], 120548: [0.68, 0, 0.615, { ic: 0.106, sk: 0.0833 }], 120549: [0.716, 0, 0.833, { sk: 0.167 }], 120550: [0.68, 0, 0.738, { ic: 0.026, sk: 0.0833 }], 120551: [0.683, 0, 0.683, { ic: 0.04, sk: 0.0833 }], 120552: [0.683, 0, 0.831, { ic: 0.057, sk: 0.0556 }], 120553: [0.704, 0.022, 0.763, { sk: 0.0833 }], 120554: [0.683, 0, 0.44, { ic: 0.064, sk: 0.111 }], 120555: [0.683, 0, 0.849, { ic: 0.04, sk: 0.0556 }], 120556: [0.716, 0, 0.694, { sk: 0.167 }], 120557: [0.683, 0, 0.97, { ic: 0.081, sk: 0.0833 }], 120558: [0.683, 0, 0.803, { ic: 0.085, sk: 0.0833 }], 120559: [0.677, 0, 0.742, { ic: 0.035, sk: 0.0833 }], 120560: [0.704, 0.022, 0.763, { sk: 0.0833 }], 120561: [0.68, 0, 0.831, { ic: 0.056, sk: 0.0556 }], 120562: [0.683, 0, 0.642, { ic: 0.109, sk: 0.0833 }], 120564: [0.683, 0, 0.78, { ic: 0.026, sk: 0.0833 }], 120565: [0.677, 0, 0.584, { ic: 0.12, sk: 0.0833 }], 120566: [0.705, 0, 0.583, { ic: 0.117, sk: 0.0556 }], 120567: [0.683, 0, 0.667, { sk: 0.0833 }], 120568: [0.683, 0, 0.828, { ic: 0.024, sk: 0.0833 }], 120569: [0.683, 0, 0.612, { ic: 0.08, sk: 0.0556 }], 120570: [0.704, 0, 0.772, { ic: 0.014, sk: 0.0833 }], 120572: [0.442, 0.011, 0.64, { sk: 0.0278 }], 120573: [0.705, 0.194, 0.566, { sk: 0.0833 }], 120574: [0.441, 0.216, 0.518, { ic: 0.025 }], 120575: [0.717, 0.01, 0.444, { sk: 0.0556 }], 120576: [0.452, 0.022, 0.466, { sk: 0.0833 }], 120577: [0.704, 0.204, 0.438, { ic: 0.033, sk: 0.0833 }], 120578: [0.442, 0.216, 0.497, { sk: 0.0556 }], 120579: [0.705, 0.01, 0.469, { sk: 0.0833 }], 120580: [0.442, 0.01, 0.354, { sk: 0.0556 }], 120581: [0.442, 0.011, 0.576], 120582: [0.694, 0.012, 0.583], 120583: [0.442, 0.216, 0.603, { sk: 0.0278 }], 120584: [0.442, 0, 0.494, { ic: 0.036, sk: 0.0278 }], 120585: [0.704, 0.205, 0.438, { sk: 0.111 }], 120586: [0.441, 0.011, 0.485, { sk: 0.0556 }], 120587: [0.431, 0.011, 0.57], 120588: [0.442, 0.216, 0.517, { sk: 0.0833 }], 120589: [0.442, 0.107, 0.363, { ic: 0.042, sk: 0.0833 }], 120590: [0.431, 0.011, 0.571], 120591: [0.431, 0.013, 0.437, { ic: 0.08, sk: 0.0278 }], 120592: [0.443, 0.01, 0.54, { sk: 0.0278 }], 120593: [0.442, 0.218, 0.654, { sk: 0.0833 }], 120594: [0.442, 0.204, 0.626, { sk: 0.0556 }], 120595: [0.694, 0.205, 0.651, { sk: 0.111 }], 120596: [0.443, 0.011, 0.622], 120597: [0.715, 0.022, 0.531, { ic: 0.035, sk: 0.0833 }], 120598: [0.431, 0.011, 0.406, { sk: 0.0556 }], 120599: [0.705, 0.011, 0.591, { sk: 0.0833 }], 120600: [0.434, 0.006, 0.667, { ic: 0.067 }], 120601: [0.694, 0.205, 0.596, { sk: 0.0833 }], 120602: [0.442, 0.194, 0.517, { sk: 0.0833 }], 120603: [0.431, 0.01, 0.828], 120604: [0.711, 0, 0.869, { sk: 0.16 }], 120605: [0.686, 0, 0.866, { sk: 0.0958 }], 120606: [0.68, 0, 0.657, { ic: 0.12, sk: 0.0958 }], 120607: [0.711, 0, 0.958, { sk: 0.192 }], 120608: [0.68, 0, 0.81, { ic: 0.015, sk: 0.0958 }], 120609: [0.686, 0, 0.773, { ic: 0.032, sk: 0.0958 }], 120610: [0.686, 0, 0.982, { ic: 0.045, sk: 0.0639 }], 120611: [0.702, 0.017, 0.867, { sk: 0.0958 }], 120612: [0.686, 0, 0.511, { ic: 0.062, sk: 0.128 }], 120613: [0.686, 0, 0.971, { ic: 0.032, sk: 0.0639 }], 120614: [0.711, 0, 0.806, { sk: 0.192 }], 120615: [0.686, 0, 1.142, { ic: 0.077, sk: 0.0958 }], 120616: [0.686, 0, 0.95, { ic: 0.077, sk: 0.0958 }], 120617: [0.675, 0, 0.841, { ic: 0.026, sk: 0.0958 }], 120618: [0.703, 0.017, 0.837, { sk: 0.0958 }], 120619: [0.68, 0, 0.982, { ic: 0.044, sk: 0.0639 }], 120620: [0.686, 0, 0.723, { ic: 0.124, sk: 0.0958 }], 120622: [0.686, 0, 0.885, { ic: 0.017, sk: 0.0958 }], 120623: [0.675, 0, 0.637, { ic: 0.135, sk: 0.0958 }], 120624: [0.703, 0, 0.671, { ic: 0.131, sk: 0.0639 }], 120625: [0.686, 0, 0.767, { sk: 0.0958 }], 120626: [0.686, 0, 0.947, { sk: 0.0958 }], 120627: [0.686, 0, 0.714, { ic: 0.076, sk: 0.0639 }], 120628: [0.703, 0, 0.879, { sk: 0.0958 }], 120630: [0.452, 0.008, 0.761, { sk: 0.0319 }], 120631: [0.701, 0.194, 0.66, { sk: 0.0958 }], 120632: [0.451, 0.211, 0.59, { ic: 0.027 }], 120633: [0.725, 0.008, 0.522, { sk: 0.0639 }], 120634: [0.461, 0.017, 0.529, { sk: 0.0958 }], 120635: [0.711, 0.202, 0.508, { ic: 0.013, sk: 0.0958 }], 120636: [0.452, 0.211, 0.6, { sk: 0.0639 }], 120637: [0.702, 0.008, 0.562, { sk: 0.0958 }], 120638: [0.452, 0.008, 0.412, { sk: 0.0639 }], 120639: [0.452, 0.008, 0.668], 120640: [0.694, 0.013, 0.671], 120641: [0.452, 0.211, 0.708, { sk: 0.0319 }], 120642: [0.452, 0, 0.577, { ic: 0.031, sk: 0.0319 }], 120643: [0.711, 0.201, 0.508, { sk: 0.128 }], 120644: [0.452, 0.008, 0.585, { sk: 0.0639 }], 120645: [0.444, 0.008, 0.682], 120646: [0.451, 0.211, 0.612, { sk: 0.0958 }], 120647: [0.451, 0.105, 0.424, { ic: 0.033, sk: 0.0958 }], 120648: [0.444, 0.008, 0.686], 120649: [0.444, 0.013, 0.521, { ic: 0.089, sk: 0.0319 }], 120650: [0.453, 0.008, 0.631, { sk: 0.0319 }], 120651: [0.452, 0.216, 0.747, { sk: 0.0958 }], 120652: [0.452, 0.201, 0.718, { sk: 0.0639 }], 120653: [0.694, 0.202, 0.758, { sk: 0.128 }], 120654: [0.453, 0.008, 0.718], 120655: [0.71, 0.017, 0.628, { ic: 0.029, sk: 0.0958 }], 120656: [0.444, 0.007, 0.483, { sk: 0.0639 }], 120657: [0.701, 0.008, 0.692, { sk: 0.0958 }], 120658: [0.434, 0.006, 0.667, { ic: 0.067 }], 120659: [0.694, 0.202, 0.712, { sk: 0.0958 }], 120660: [0.451, 0.194, 0.612, { sk: 0.0958 }], 120661: [0.444, 0.008, 0.975], 120662: [0.694, 0, 0.733], 120663: [0.694, 0, 0.733], 120664: [0.691, 0, 0.581], 120665: [0.694, 0, 0.917], 120666: [0.691, 0, 0.642], 120667: [0.694, 0, 0.672], 120668: [0.694, 0, 0.794], 120669: [0.716, 0.022, 0.856], 120670: [0.694, 0, 0.331], 120671: [0.694, 0, 0.764], 120672: [0.694, 0, 0.672], 120673: [0.694, 0, 0.978], 120674: [0.694, 0, 0.794], 120675: [0.688, 0, 0.733], 120676: [0.716, 0.022, 0.794], 120677: [0.691, 0, 0.794], 120678: [0.694, 0, 0.703], 120680: [0.694, 0, 0.794], 120681: [0.688, 0, 0.733], 120682: [0.715, 0, 0.856], 120683: [0.694, 0, 0.794], 120684: [0.694, 0, 0.733], 120685: [0.694, 0, 0.856], 120686: [0.716, 0, 0.794], 120782: [0.654, 0.01, 0.575], 120783: [0.655, 0, 0.575], 120784: [0.654, 0, 0.575], 120785: [0.655, 0.011, 0.575], 120786: [0.656, 0, 0.575], 120787: [0.655, 0.011, 0.575], 120788: [0.655, 0.011, 0.575], 120789: [0.676, 0.011, 0.575], 120790: [0.654, 0.011, 0.575], 120791: [0.654, 0.011, 0.575], 120802: [0.678, 0.022, 0.5], 120803: [0.678, 0, 0.5], 120804: [0.677, 0, 0.5], 120805: [0.678, 0.022, 0.5], 120806: [0.656, 0, 0.5], 120807: [0.656, 0.021, 0.5], 120808: [0.677, 0.022, 0.5], 120809: [0.656, 0.011, 0.5], 120810: [0.678, 0.022, 0.5], 120811: [0.677, 0.022, 0.5], 120812: [0.715, 0.022, 0.55], 120813: [0.716, 0, 0.55], 120814: [0.716, 0, 0.55], 120815: [0.716, 0.022, 0.55], 120816: [0.694, 0, 0.55], 120817: [0.694, 0.022, 0.55], 120818: [0.716, 0.022, 0.55], 120819: [0.695, 0.011, 0.55], 120820: [0.715, 0.022, 0.55], 120821: [0.716, 0.022, 0.55], 120822: [0.621, 0.01, 0.525], 120823: [0.622, 0, 0.525], 120824: [0.622, 0, 0.525], 120825: [0.622, 0.011, 0.525], 120826: [0.624, 0, 0.525], 120827: [0.611, 0.01, 0.525], 120828: [0.622, 0.011, 0.525], 120829: [0.627, 0.01, 0.525], 120830: [0.621, 0.01, 0.525], 120831: [0.622, 0.011, 0.525], }); }, function (t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }), (e.sansSerifBoldItalic = void 0); var n = r(3), o = r(173); e.sansSerifBoldItalic = n.AddCSS(o.sansSerifBoldItalic, { 305: { f: "SSB" }, 567: { f: "SSB" }, }); }, function (t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }), (e.sansSerifBoldItalic = void 0), (e.sansSerifBoldItalic = { 305: [0.458, 0, 0.256], 567: [0.458, 0.205, 0.286], }); }, function (t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }), (e.sansSerifBold = void 0); var n = r(3), o = r(175); e.sansSerifBold = n.AddCSS(o.sansSerifBold, { 8213: { c: "\\2014" }, 8215: { c: "_" }, 8260: { c: "/" }, 8710: { c: "\\394" }, }); }, function (t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }), (e.sansSerifBold = void 0), (e.sansSerifBold = { 33: [0.694, 0, 0.367], 34: [0.694, -0.442, 0.558], 35: [0.694, 0.193, 0.917], 36: [0.75, 0.056, 0.55], 37: [0.75, 0.056, 1.029], 38: [0.716, 0.022, 0.831], 39: [0.694, -0.442, 0.306], 40: [0.75, 0.249, 0.428], 41: [0.75, 0.25, 0.428], 42: [0.75, -0.293, 0.55], 43: [0.617, 0.116, 0.856], 44: [0.146, 0.106, 0.306], 45: [0.273, -0.186, 0.367], 46: [0.146, 0, 0.306], 47: [0.75, 0.249, 0.55], 58: [0.458, 0, 0.306], 59: [0.458, 0.106, 0.306], 61: [0.407, -0.094, 0.856], 63: [0.705, 0, 0.519], 64: [0.704, 0.011, 0.733], 91: [0.75, 0.25, 0.343], 93: [0.75, 0.25, 0.343], 94: [0.694, -0.537, 0.55], 95: [-0.023, 0.11, 0.55], 126: [0.344, -0.198, 0.55], 305: [0.458, 0, 0.256], 567: [0.458, 0.205, 0.286], 768: [0.694, -0.537, 0], 769: [0.694, -0.537, 0], 770: [0.694, -0.537, 0], 771: [0.694, -0.548, 0], 772: [0.66, -0.56, 0], 774: [0.694, -0.552, 0], 775: [0.695, -0.596, 0], 776: [0.695, -0.595, 0], 778: [0.694, -0.538, 0], 779: [0.694, -0.537, 0], 780: [0.657, -0.5, 0], 8211: [0.327, -0.24, 0.55], 8212: [0.327, -0.24, 1.1], 8213: [0.327, -0.24, 1.1], 8215: [-0.023, 0.11, 0.55], 8216: [0.694, -0.443, 0.306], 8217: [0.694, -0.442, 0.306], 8220: [0.694, -0.443, 0.558], 8221: [0.694, -0.442, 0.558], 8260: [0.75, 0.249, 0.55], 8710: [0.694, 0, 0.917], }); }, function (t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }), (e.sansSerifItalic = void 0); var n = r(3), o = r(177); e.sansSerifItalic = n.AddCSS(o.sansSerifItalic, { 913: { c: "A" }, 914: { c: "B" }, 917: { c: "E" }, 918: { c: "Z" }, 919: { c: "H" }, 921: { c: "I" }, 922: { c: "K" }, 924: { c: "M" }, 925: { c: "N" }, 927: { c: "O" }, 929: { c: "P" }, 932: { c: "T" }, 935: { c: "X" }, 8213: { c: "\\2014" }, 8215: { c: "_" }, 8260: { c: "/" }, 8710: { c: "\\394" }, }); }, function (t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }), (e.sansSerifItalic = void 0), (e.sansSerifItalic = { 33: [0.694, 0, 0.319, { ic: 0.036 }], 34: [0.694, -0.471, 0.5], 35: [0.694, 0.194, 0.833, { ic: 0.018 }], 36: [0.75, 0.056, 0.5, { ic: 0.065 }], 37: [0.75, 0.056, 0.833], 38: [0.716, 0.022, 0.758], 39: [0.694, -0.471, 0.278, { ic: 0.057 }], 40: [0.75, 0.25, 0.389, { ic: 0.102 }], 41: [0.75, 0.25, 0.389], 42: [0.75, -0.306, 0.5, { ic: 0.068 }], 43: [0.583, 0.083, 0.778], 44: [0.098, 0.125, 0.278], 45: [0.259, -0.186, 0.333], 46: [0.098, 0, 0.278], 47: [0.75, 0.25, 0.5, { ic: 0.1 }], 48: [0.678, 0.022, 0.5, { ic: 0.049 }], 49: [0.678, 0, 0.5], 50: [0.678, 0, 0.5, { ic: 0.051 }], 51: [0.678, 0.022, 0.5, { ic: 0.044 }], 52: [0.656, 0, 0.5, { ic: 0.021 }], 53: [0.656, 0.022, 0.5, { ic: 0.055 }], 54: [0.678, 0.022, 0.5, { ic: 0.048 }], 55: [0.656, 0.011, 0.5, { ic: 0.096 }], 56: [0.678, 0.022, 0.5, { ic: 0.054 }], 57: [0.677, 0.022, 0.5, { ic: 0.045 }], 58: [0.444, 0, 0.278], 59: [0.444, 0.125, 0.278], 61: [0.37, -0.13, 0.778, { ic: 0.018 }], 63: [0.704, 0, 0.472, { ic: 0.064 }], 64: [0.705, 0.01, 0.667, { ic: 0.04 }], 91: [0.75, 0.25, 0.289, { ic: 0.136 }], 93: [0.75, 0.25, 0.289, { ic: 0.064 }], 94: [0.694, -0.527, 0.5, { ic: 0.033 }], 95: [-0.038, 0.114, 0.5, { ic: 0.065 }], 126: [0.327, -0.193, 0.5, { ic: 0.06 }], 305: [0.444, 0, 0.239, { ic: 0.019 }], 567: [0.444, 0.204, 0.267, { ic: 0.019 }], 768: [0.694, -0.527, 0], 769: [0.694, -0.527, 0, { ic: 0.063 }], 770: [0.694, -0.527, 0, { ic: 0.033 }], 771: [0.677, -0.543, 0, { ic: 0.06 }], 772: [0.631, -0.552, 0, { ic: 0.064 }], 774: [0.694, -0.508, 0, { ic: 0.073 }], 775: [0.68, -0.576, 0], 776: [0.68, -0.582, 0, { ic: 0.04 }], 778: [0.693, -0.527, 0], 779: [0.694, -0.527, 0, { ic: 0.063 }], 780: [0.654, -0.487, 0, { ic: 0.06 }], 913: [0.694, 0, 0.667], 914: [0.694, 0, 0.667, { ic: 0.029 }], 915: [0.691, 0, 0.542, { ic: 0.104 }], 916: [0.694, 0, 0.833], 917: [0.691, 0, 0.597, { ic: 0.091 }], 918: [0.694, 0, 0.611, { ic: 0.091 }], 919: [0.694, 0, 0.708, { ic: 0.06 }], 920: [0.715, 0.022, 0.778, { ic: 0.026 }], 921: [0.694, 0, 0.278, { ic: 0.06 }], 922: [0.694, 0, 0.694, { ic: 0.091 }], 923: [0.694, 0, 0.611], 924: [0.694, 0, 0.875, { ic: 0.054 }], 925: [0.694, 0, 0.708, { ic: 0.058 }], 926: [0.688, 0, 0.667, { ic: 0.098 }], 927: [0.716, 0.022, 0.736, { ic: 0.027 }], 928: [0.691, 0, 0.708, { ic: 0.06 }], 929: [0.694, 0, 0.639, { ic: 0.051 }], 931: [0.694, 0, 0.722, { ic: 0.091 }], 932: [0.688, 0, 0.681, { ic: 0.109 }], 933: [0.716, 0, 0.778, { ic: 0.065 }], 934: [0.694, 0, 0.722, { ic: 0.021 }], 935: [0.694, 0, 0.667, { ic: 0.091 }], 936: [0.694, 0, 0.778, { ic: 0.076 }], 937: [0.716, 0, 0.722, { ic: 0.047 }], 8211: [0.312, -0.236, 0.5, { ic: 0.065 }], 8212: [0.312, -0.236, 1, { ic: 0.065 }], 8213: [0.312, -0.236, 1, { ic: 0.065 }], 8215: [-0.038, 0.114, 0.5, { ic: 0.065 }], 8216: [0.694, -0.471, 0.278, { ic: 0.058 }], 8217: [0.694, -0.471, 0.278, { ic: 0.057 }], 8220: [0.694, -0.471, 0.5, { ic: 0.114 }], 8221: [0.694, -0.471, 0.5], 8260: [0.75, 0.25, 0.5, { ic: 0.1 }], 8710: [0.694, 0, 0.833], }); }, function (t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }), (e.sansSerif = void 0); var n = r(3), o = r(179); e.sansSerif = n.AddCSS(o.sansSerif, { 913: { c: "A" }, 914: { c: "B" }, 917: { c: "E" }, 918: { c: "Z" }, 919: { c: "H" }, 921: { c: "I" }, 922: { c: "K" }, 924: { c: "M" }, 925: { c: "N" }, 927: { c: "O" }, 929: { c: "P" }, 932: { c: "T" }, 935: { c: "X" }, 8213: { c: "\\2014" }, 8215: { c: "_" }, 8260: { c: "/" }, 8710: { c: "\\394" }, }); }, function (t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }), (e.sansSerif = void 0), (e.sansSerif = { 33: [0.694, 0, 0.319], 34: [0.694, -0.471, 0.5], 35: [0.694, 0.194, 0.833], 36: [0.75, 0.056, 0.5], 37: [0.75, 0.056, 0.833], 38: [0.716, 0.022, 0.758], 39: [0.694, -0.471, 0.278], 40: [0.75, 0.25, 0.389], 41: [0.75, 0.25, 0.389], 42: [0.75, -0.306, 0.5], 43: [0.583, 0.082, 0.778], 44: [0.098, 0.125, 0.278], 45: [0.259, -0.186, 0.333], 46: [0.098, 0, 0.278], 47: [0.75, 0.25, 0.5], 58: [0.444, 0, 0.278], 59: [0.444, 0.125, 0.278], 61: [0.37, -0.13, 0.778], 63: [0.704, 0, 0.472], 64: [0.704, 0.011, 0.667], 91: [0.75, 0.25, 0.289], 93: [0.75, 0.25, 0.289], 94: [0.694, -0.527, 0.5], 95: [-0.038, 0.114, 0.5], 126: [0.327, -0.193, 0.5], 305: [0.444, 0, 0.239], 567: [0.444, 0.205, 0.267], 768: [0.694, -0.527, 0], 769: [0.694, -0.527, 0], 770: [0.694, -0.527, 0], 771: [0.677, -0.543, 0], 772: [0.631, -0.552, 0], 774: [0.694, -0.508, 0], 775: [0.68, -0.576, 0], 776: [0.68, -0.582, 0], 778: [0.694, -0.527, 0], 779: [0.694, -0.527, 0], 780: [0.654, -0.487, 0], 913: [0.694, 0, 0.667], 914: [0.694, 0, 0.667], 915: [0.691, 0, 0.542], 916: [0.694, 0, 0.833], 917: [0.691, 0, 0.597], 918: [0.694, 0, 0.611], 919: [0.694, 0, 0.708], 920: [0.716, 0.021, 0.778], 921: [0.694, 0, 0.278], 922: [0.694, 0, 0.694], 923: [0.694, 0, 0.611], 924: [0.694, 0, 0.875], 925: [0.694, 0, 0.708], 926: [0.688, 0, 0.667], 927: [0.715, 0.022, 0.736], 928: [0.691, 0, 0.708], 929: [0.694, 0, 0.639], 931: [0.694, 0, 0.722], 932: [0.688, 0, 0.681], 933: [0.716, 0, 0.778], 934: [0.694, 0, 0.722], 935: [0.694, 0, 0.667], 936: [0.694, 0, 0.778], 937: [0.716, 0, 0.722], 8211: [0.312, -0.236, 0.5], 8212: [0.312, -0.236, 1], 8213: [0.312, -0.236, 1], 8215: [-0.038, 0.114, 0.5], 8216: [0.694, -0.471, 0.278], 8217: [0.694, -0.471, 0.278], 8220: [0.694, -0.471, 0.5], 8221: [0.694, -0.471, 0.5], 8260: [0.75, 0.25, 0.5], 8710: [0.694, 0, 0.833], }); }, function (t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }), (e.scriptBold = void 0), (e.scriptBold = {}); }, function (t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }), (e.script = void 0), (e.script = {}); }, function (t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }), (e.smallop = void 0); var n = r(3), o = r(183); e.smallop = n.AddCSS(o.smallop, { 8260: { c: "/" }, 9001: { c: "\\27E8" }, 9002: { c: "\\27E9" }, 10072: { c: "\\2223" }, 10764: { c: "\\222C\\222C" }, 12296: { c: "\\27E8" }, 12297: { c: "\\27E9" }, }); }, function (t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }), (e.smallop = void 0), (e.smallop = { 40: [0.85, 0.349, 0.458], 41: [0.85, 0.349, 0.458], 47: [0.85, 0.349, 0.578], 91: [0.85, 0.349, 0.417], 92: [0.85, 0.349, 0.578], 93: [0.85, 0.349, 0.417], 123: [0.85, 0.349, 0.583], 125: [0.85, 0.349, 0.583], 710: [0.744, -0.551, 0.556], 732: [0.722, -0.597, 0.556], 770: [0.744, -0.551, 0], 771: [0.722, -0.597, 0], 8214: [0.602, 0, 0.778], 8260: [0.85, 0.349, 0.578], 8593: [0.6, 0, 0.667], 8595: [0.6, 0, 0.667], 8657: [0.599, 0, 0.778], 8659: [0.6, 0, 0.778], 8719: [0.75, 0.25, 0.944], 8720: [0.75, 0.25, 0.944], 8721: [0.75, 0.25, 1.056], 8730: [0.85, 0.35, 1, { ic: 0.02 }], 8739: [0.627, 0.015, 0.333], 8741: [0.627, 0.015, 0.556], 8747: [0.805, 0.306, 0.472, { ic: 0.138 }], 8748: [0.805, 0.306, 0.819, { ic: 0.138 }], 8749: [0.805, 0.306, 1.166, { ic: 0.138 }], 8750: [0.805, 0.306, 0.472, { ic: 0.138 }], 8896: [0.75, 0.249, 0.833], 8897: [0.75, 0.249, 0.833], 8898: [0.75, 0.249, 0.833], 8899: [0.75, 0.249, 0.833], 8968: [0.85, 0.349, 0.472], 8969: [0.85, 0.349, 0.472], 8970: [0.85, 0.349, 0.472], 8971: [0.85, 0.349, 0.472], 9001: [0.85, 0.35, 0.472], 9002: [0.85, 0.35, 0.472], 9168: [0.602, 0, 0.667], 10072: [0.627, 0.015, 0.333], 10216: [0.85, 0.35, 0.472], 10217: [0.85, 0.35, 0.472], 10752: [0.75, 0.25, 1.111], 10753: [0.75, 0.25, 1.111], 10754: [0.75, 0.25, 1.111], 10756: [0.75, 0.249, 0.833], 10758: [0.75, 0.249, 0.833], 10764: [0.805, 0.306, 1.638, { ic: 0.138 }], 12296: [0.85, 0.35, 0.472], 12297: [0.85, 0.35, 0.472], }); }, function (t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }), (e.texCalligraphicBold = void 0); var n = r(3), o = r(185); e.texCalligraphicBold = n.AddCSS(o.texCalligraphicBold, { 305: { f: "B" }, 567: { f: "B" }, }); }, function (t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }), (e.texCalligraphicBold = void 0), (e.texCalligraphicBold = { 65: [0.751, 0.049, 0.921, { ic: 0.068, sk: 0.224 }], 66: [0.705, 0.017, 0.748, { sk: 0.16 }], 67: [0.703, 0.02, 0.613, { sk: 0.16 }], 68: [0.686, 0, 0.892, { sk: 0.0958 }], 69: [0.703, 0.016, 0.607, { ic: 0.02, sk: 0.128 }], 70: [0.686, 0.03, 0.814, { ic: 0.116, sk: 0.128 }], 71: [0.703, 0.113, 0.682, { sk: 0.128 }], 72: [0.686, 0.048, 0.987, { sk: 0.128 }], 73: [0.686, 0, 0.642, { ic: 0.104, sk: 0.0319 }], 74: [0.686, 0.114, 0.779, { ic: 0.158, sk: 0.192 }], 75: [0.703, 0.017, 0.871, { sk: 0.0639 }], 76: [0.703, 0.017, 0.788, { sk: 0.16 }], 77: [0.703, 0.049, 1.378, { sk: 0.16 }], 78: [0.84, 0.049, 0.937, { ic: 0.168, sk: 0.0958 }], 79: [0.703, 0.017, 0.906, { sk: 0.128 }], 80: [0.686, 0.067, 0.81, { ic: 0.036, sk: 0.0958 }], 81: [0.703, 0.146, 0.939, { sk: 0.128 }], 82: [0.686, 0.017, 0.99, { sk: 0.0958 }], 83: [0.703, 0.016, 0.696, { ic: 0.025, sk: 0.16 }], 84: [0.72, 0.069, 0.644, { ic: 0.303, sk: 0.0319 }], 85: [0.686, 0.024, 0.715, { ic: 0.056, sk: 0.0958 }], 86: [0.686, 0.077, 0.737, { ic: 0.037, sk: 0.0319 }], 87: [0.686, 0.077, 1.169, { ic: 0.037, sk: 0.0958 }], 88: [0.686, 0, 0.817, { ic: 0.089, sk: 0.16 }], 89: [0.686, 0.164, 0.759, { ic: 0.038, sk: 0.0958 }], 90: [0.686, 0, 0.818, { ic: 0.035, sk: 0.16 }], 305: [0.452, 0.008, 0.394, { sk: 0.0319 }], 567: [0.451, 0.201, 0.439, { sk: 0.0958 }], }); }, function (t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }), (e.texCalligraphic = void 0), (e.texCalligraphic = { 65: [0.728, 0.05, 0.798, { ic: 0.021, sk: 0.194 }], 66: [0.705, 0.022, 0.657, { sk: 0.139 }], 67: [0.705, 0.025, 0.527, { sk: 0.139 }], 68: [0.683, 0, 0.771, { sk: 0.0833 }], 69: [0.705, 0.022, 0.528, { ic: 0.036, sk: 0.111 }], 70: [0.683, 0.032, 0.719, { ic: 0.11, sk: 0.111 }], 71: [0.704, 0.119, 0.595, { sk: 0.111 }], 72: [0.683, 0.048, 0.845, { sk: 0.111 }], 73: [0.683, 0, 0.545, { ic: 0.097, sk: 0.0278 }], 74: [0.683, 0.119, 0.678, { ic: 0.161, sk: 0.167 }], 75: [0.705, 0.022, 0.762, { sk: 0.0556 }], 76: [0.705, 0.022, 0.69, { sk: 0.139 }], 77: [0.705, 0.05, 1.201, { sk: 0.139 }], 78: [0.789, 0.05, 0.82, { ic: 0.159, sk: 0.0833 }], 79: [0.705, 0.022, 0.796, { sk: 0.111 }], 80: [0.683, 0.057, 0.696, { ic: 0.037, sk: 0.0833 }], 81: [0.705, 0.131, 0.817, { sk: 0.111 }], 82: [0.682, 0.022, 0.848, { sk: 0.0833 }], 83: [0.705, 0.022, 0.606, { ic: 0.036, sk: 0.139 }], 84: [0.717, 0.068, 0.545, { ic: 0.288, sk: 0.0278 }], 85: [0.683, 0.028, 0.626, { ic: 0.061, sk: 0.0833 }], 86: [0.683, 0.052, 0.613, { ic: 0.045, sk: 0.0278 }], 87: [0.683, 0.053, 0.988, { ic: 0.046, sk: 0.0833 }], 88: [0.683, 0, 0.713, { ic: 0.094, sk: 0.139 }], 89: [0.683, 0.143, 0.668, { ic: 0.046, sk: 0.0833 }], 90: [0.683, 0, 0.725, { ic: 0.042, sk: 0.139 }], }); }, function (t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }), (e.texMathit = void 0), (e.texMathit = { 65: [0.716, 0, 0.743], 66: [0.683, 0, 0.704], 67: [0.705, 0.021, 0.716], 68: [0.683, 0, 0.755], 69: [0.68, 0, 0.678], 70: [0.68, 0, 0.653], 71: [0.705, 0.022, 0.774], 72: [0.683, 0, 0.743], 73: [0.683, 0, 0.386], 74: [0.683, 0.021, 0.525], 75: [0.683, 0, 0.769], 76: [0.683, 0, 0.627], 77: [0.683, 0, 0.897], 78: [0.683, 0, 0.743], 79: [0.704, 0.022, 0.767], 80: [0.683, 0, 0.678], 81: [0.704, 0.194, 0.767], 82: [0.683, 0.022, 0.729], 83: [0.705, 0.022, 0.562], 84: [0.677, 0, 0.716], 85: [0.683, 0.022, 0.743], 86: [0.683, 0.022, 0.743], 87: [0.683, 0.022, 0.999], 88: [0.683, 0, 0.743], 89: [0.683, 0, 0.743], 90: [0.683, 0, 0.613], 97: [0.442, 0.011, 0.511], 98: [0.694, 0.011, 0.46], 99: [0.441, 0.01, 0.46], 100: [0.694, 0.011, 0.511], 101: [0.442, 0.01, 0.46], 102: [0.705, 0.204, 0.307], 103: [0.442, 0.205, 0.46], 104: [0.694, 0.011, 0.511], 105: [0.656, 0.01, 0.307], 106: [0.656, 0.204, 0.307], 107: [0.694, 0.011, 0.46], 108: [0.694, 0.011, 0.256], 109: [0.442, 0.011, 0.818], 110: [0.442, 0.011, 0.562], 111: [0.442, 0.011, 0.511], 112: [0.442, 0.194, 0.511], 113: [0.442, 0.194, 0.46], 114: [0.442, 0.011, 0.422], 115: [0.442, 0.011, 0.409], 116: [0.626, 0.011, 0.332], 117: [0.441, 0.011, 0.537], 118: [0.443, 0.01, 0.46], 119: [0.443, 0.011, 0.664], 120: [0.442, 0.011, 0.464], 121: [0.441, 0.205, 0.486], 122: [0.442, 0.011, 0.409], }); }, function (t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }), (e.texOldstyleBold = void 0), (e.texOldstyleBold = { 48: [0.46, 0.017, 0.575], 49: [0.461, 0, 0.575], 50: [0.46, 0, 0.575], 51: [0.461, 0.211, 0.575], 52: [0.469, 0.194, 0.575], 53: [0.461, 0.211, 0.575], 54: [0.66, 0.017, 0.575], 55: [0.476, 0.211, 0.575], 56: [0.661, 0.017, 0.575], 57: [0.461, 0.21, 0.575], 65: [0.751, 0.049, 0.921, { ic: 0.068, sk: 0.224 }], 66: [0.705, 0.017, 0.748, { sk: 0.16 }], 67: [0.703, 0.02, 0.613, { sk: 0.16 }], 68: [0.686, 0, 0.892, { sk: 0.0958 }], 69: [0.703, 0.016, 0.607, { ic: 0.02, sk: 0.128 }], 70: [0.686, 0.03, 0.814, { ic: 0.116, sk: 0.128 }], 71: [0.703, 0.113, 0.682, { sk: 0.128 }], 72: [0.686, 0.048, 0.987, { sk: 0.128 }], 73: [0.686, 0, 0.642, { ic: 0.104, sk: 0.0319 }], 74: [0.686, 0.114, 0.779, { ic: 0.158, sk: 0.192 }], 75: [0.703, 0.017, 0.871, { sk: 0.0639 }], 76: [0.703, 0.017, 0.788, { sk: 0.16 }], 77: [0.703, 0.049, 1.378, { sk: 0.16 }], 78: [0.84, 0.049, 0.937, { ic: 0.168, sk: 0.0958 }], 79: [0.703, 0.017, 0.906, { sk: 0.128 }], 80: [0.686, 0.067, 0.81, { ic: 0.036, sk: 0.0958 }], 81: [0.703, 0.146, 0.939, { sk: 0.128 }], 82: [0.686, 0.017, 0.99, { sk: 0.0958 }], 83: [0.703, 0.016, 0.696, { ic: 0.025, sk: 0.16 }], 84: [0.72, 0.069, 0.644, { ic: 0.303, sk: 0.0319 }], 85: [0.686, 0.024, 0.715, { ic: 0.056, sk: 0.0958 }], 86: [0.686, 0.077, 0.737, { ic: 0.037, sk: 0.0319 }], 87: [0.686, 0.077, 1.169, { ic: 0.037, sk: 0.0958 }], 88: [0.686, 0, 0.817, { ic: 0.089, sk: 0.16 }], 89: [0.686, 0.164, 0.759, { ic: 0.038, sk: 0.0958 }], 90: [0.686, 0, 0.818, { ic: 0.035, sk: 0.16 }], }); }, function (t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }), (e.texOldstyle = void 0), (e.texOldstyle = { 48: [0.452, 0.022, 0.5], 49: [0.453, 0, 0.5], 50: [0.453, 0, 0.5], 51: [0.452, 0.216, 0.5], 52: [0.464, 0.194, 0.5], 53: [0.453, 0.216, 0.5], 54: [0.665, 0.022, 0.5], 55: [0.463, 0.216, 0.5], 56: [0.666, 0.021, 0.5], 57: [0.453, 0.216, 0.5], 65: [0.728, 0.05, 0.798, { ic: 0.021, sk: 0.194 }], 66: [0.705, 0.022, 0.657, { sk: 0.139 }], 67: [0.705, 0.025, 0.527, { sk: 0.139 }], 68: [0.683, 0, 0.771, { sk: 0.0833 }], 69: [0.705, 0.022, 0.528, { ic: 0.036, sk: 0.111 }], 70: [0.683, 0.032, 0.719, { ic: 0.11, sk: 0.111 }], 71: [0.704, 0.119, 0.595, { sk: 0.111 }], 72: [0.683, 0.048, 0.845, { sk: 0.111 }], 73: [0.683, 0, 0.545, { ic: 0.097, sk: 0.0278 }], 74: [0.683, 0.119, 0.678, { ic: 0.161, sk: 0.167 }], 75: [0.705, 0.022, 0.762, { sk: 0.0556 }], 76: [0.705, 0.022, 0.69, { sk: 0.139 }], 77: [0.705, 0.05, 1.201, { sk: 0.139 }], 78: [0.789, 0.05, 0.82, { ic: 0.159, sk: 0.0833 }], 79: [0.705, 0.022, 0.796, { sk: 0.111 }], 80: [0.683, 0.057, 0.696, { ic: 0.037, sk: 0.0833 }], 81: [0.705, 0.131, 0.817, { sk: 0.111 }], 82: [0.682, 0.022, 0.848, { sk: 0.0833 }], 83: [0.705, 0.022, 0.606, { ic: 0.036, sk: 0.139 }], 84: [0.717, 0.068, 0.545, { ic: 0.288, sk: 0.0278 }], 85: [0.683, 0.028, 0.626, { ic: 0.061, sk: 0.0833 }], 86: [0.683, 0.052, 0.613, { ic: 0.045, sk: 0.0278 }], 87: [0.683, 0.053, 0.988, { ic: 0.046, sk: 0.0833 }], 88: [0.683, 0, 0.713, { ic: 0.094, sk: 0.139 }], 89: [0.683, 0.143, 0.668, { ic: 0.046, sk: 0.0833 }], 90: [0.683, 0, 0.725, { ic: 0.042, sk: 0.139 }], }); }, function (t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }), (e.texSize3 = void 0); var n = r(3), o = r(191); e.texSize3 = n.AddCSS(o.texSize3, { 8260: { c: "/" }, 9001: { c: "\\27E8" }, 9002: { c: "\\27E9" }, 12296: { c: "\\27E8" }, 12297: { c: "\\27E9" }, }); }, function (t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }), (e.texSize3 = void 0), (e.texSize3 = { 40: [1.45, 0.949, 0.736], 41: [1.45, 0.949, 0.736], 47: [1.45, 0.949, 1.044], 91: [1.45, 0.949, 0.528], 92: [1.45, 0.949, 1.044], 93: [1.45, 0.949, 0.528], 123: [1.45, 0.949, 0.75], 125: [1.45, 0.949, 0.75], 710: [0.772, -0.564, 1.444], 732: [0.749, -0.61, 1.444], 770: [0.772, -0.564, 0], 771: [0.749, -0.61, 0], 8260: [1.45, 0.949, 1.044], 8730: [1.45, 0.95, 1, { ic: 0.02 }], 8968: [1.45, 0.949, 0.583], 8969: [1.45, 0.949, 0.583], 8970: [1.45, 0.949, 0.583], 8971: [1.45, 0.949, 0.583], 9001: [1.45, 0.95, 0.75], 9002: [1.45, 0.949, 0.75], 10216: [1.45, 0.95, 0.75], 10217: [1.45, 0.949, 0.75], 12296: [1.45, 0.95, 0.75], 12297: [1.45, 0.949, 0.75], }); }, function (t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }), (e.texSize4 = void 0); var n = r(3), o = r(193); e.texSize4 = n.AddCSS(o.texSize4, { 8260: { c: "/" }, 9001: { c: "\\27E8" }, 9002: { c: "\\27E9" }, 12296: { c: "\\27E8" }, 12297: { c: "\\27E9" }, 57685: { c: "\\E153\\E152" }, 57686: { c: "\\E151\\E150" }, }); }, function (t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }), (e.texSize4 = void 0), (e.texSize4 = { 40: [1.75, 1.249, 0.792], 41: [1.75, 1.249, 0.792], 47: [1.75, 1.249, 1.278], 91: [1.75, 1.249, 0.583], 92: [1.75, 1.249, 1.278], 93: [1.75, 1.249, 0.583], 123: [1.75, 1.249, 0.806], 125: [1.75, 1.249, 0.806], 710: [0.845, -0.561, 1.889, { ic: 0.013 }], 732: [0.823, -0.583, 1.889], 770: [0.845, -0.561, 0, { ic: 0.013 }], 771: [0.823, -0.583, 0], 8260: [1.75, 1.249, 1.278], 8730: [1.75, 1.25, 1, { ic: 0.02 }], 8968: [1.75, 1.249, 0.639], 8969: [1.75, 1.249, 0.639], 8970: [1.75, 1.249, 0.639], 8971: [1.75, 1.249, 0.639], 9001: [1.75, 1.248, 0.806], 9002: [1.75, 1.248, 0.806], 9115: [1.154, 0.655, 0.875], 9116: [0.61, 0.01, 0.875], 9117: [1.165, 0.644, 0.875], 9118: [1.154, 0.655, 0.875], 9119: [0.61, 0.01, 0.875], 9120: [1.165, 0.644, 0.875], 9121: [1.154, 0.645, 0.667], 9122: [0.602, 0, 0.667], 9123: [1.155, 0.644, 0.667], 9124: [1.154, 0.645, 0.667], 9125: [0.602, 0, 0.667], 9126: [1.155, 0.644, 0.667], 9127: [0.899, 0.01, 0.889], 9128: [1.16, 0.66, 0.889], 9129: [0.01, 0.899, 0.889], 9130: [0.29, 0.015, 0.889], 9131: [0.899, 0.01, 0.889], 9132: [1.16, 0.66, 0.889], 9133: [0.01, 0.899, 0.889], 9143: [0.935, 0.885, 1.056], 10216: [1.75, 1.248, 0.806], 10217: [1.75, 1.248, 0.806], 12296: [1.75, 1.248, 0.806], 12297: [1.75, 1.248, 0.806], 57344: [0.625, 0.014, 1.056], 57345: [0.605, 0.014, 1.056, { ic: 0.02 }], 57680: [0.12, 0.213, 0.45, { ic: 0.01 }], 57681: [0.12, 0.213, 0.45, { ic: 0.024 }], 57682: [0.333, 0, 0.45, { ic: 0.01 }], 57683: [0.333, 0, 0.45, { ic: 0.024 }], 57684: [0.32, 0.2, 0.4, { ic: 0.01 }], 57685: [0.333, 0, 0.9, { ic: 0.01 }], 57686: [0.12, 0.213, 0.9, { ic: 0.01 }], }); }, function (t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }), (e.texVariant = void 0); var n = r(3), o = r(195); e.texVariant = n.AddCSS(o.texVariant, { 1008: { c: "\\E009" }, 8463: { f: "" }, 8740: { c: "\\E006" }, 8742: { c: "\\E007" }, 8808: { c: "\\E00C" }, 8809: { c: "\\E00D" }, 8816: { c: "\\E011" }, 8817: { c: "\\E00E" }, 8840: { c: "\\E016" }, 8841: { c: "\\E018" }, 8842: { c: "\\E01A" }, 8843: { c: "\\E01B" }, 10887: { c: "\\E010" }, 10888: { c: "\\E00F" }, 10955: { c: "\\E017" }, 10956: { c: "\\E019" }, }); }, function (t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }), (e.texVariant = void 0), (e.texVariant = { 710: [0.845, -0.561, 2.333, { ic: 0.013 }], 732: [0.899, -0.628, 2.333], 770: [0.845, -0.561, 0, { ic: 0.013 }], 771: [0.899, -0.628, 0], 1008: [0.434, 0.006, 0.667, { ic: 0.067 }], 8463: [0.695, 0.013, 0.54, { ic: 0.022 }], 8592: [0.437, -0.064, 0.5], 8594: [0.437, -0.064, 0.5], 8652: [0.514, 0.014, 1], 8708: [0.86, 0.166, 0.556], 8709: [0.587, 0, 0.778], 8722: [0.27, -0.23, 0.5], 8726: [0.43, 0.023, 0.778], 8733: [0.472, -0.028, 0.778], 8739: [0.43, 0.023, 0.222], 8740: [0.43, 0.023, 0.222, { ic: 0.018 }], 8741: [0.431, 0.023, 0.389], 8742: [0.431, 0.024, 0.389, { ic: 0.018 }], 8764: [0.365, -0.132, 0.778], 8776: [0.481, -0.05, 0.778], 8808: [0.752, 0.284, 0.778], 8809: [0.752, 0.284, 0.778], 8816: [0.919, 0.421, 0.778], 8817: [0.919, 0.421, 0.778], 8840: [0.828, 0.33, 0.778], 8841: [0.828, 0.33, 0.778], 8842: [0.634, 0.255, 0.778], 8843: [0.634, 0.254, 0.778], 8872: [0.694, 0, 0.611], 8901: [0.189, 0, 0.278], 8994: [0.378, -0.122, 0.778], 8995: [0.378, -0.143, 0.778], 9651: [0.575, 0.02, 0.722], 9661: [0.576, 0.019, 0.722], 10887: [0.801, 0.303, 0.778], 10888: [0.801, 0.303, 0.778], 10955: [0.752, 0.332, 0.778], 10956: [0.752, 0.333, 0.778], }); }, function (t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }), (e.delimiters = e.VSIZES = e.HDW3 = e.HDW2 = e.HDW1 = void 0); var n = r(13); (e.HDW1 = [0.75, 0.25, 0.875]), (e.HDW2 = [0.85, 0.349, 0.667]), (e.HDW3 = [0.583, 0.082, 0.5]), (e.VSIZES = [1, 1.2, 1.8, 2.4, 3]); var o = { c: 47, dir: n.V, sizes: e.VSIZES }, i = { c: 175, dir: n.H, sizes: [0.59], stretch: [0, 175], HDW: [0.59, -0.544, 0.5], }, s = { c: 710, dir: n.H, sizes: [0.517, 0.817, 1.335, 1.777, 1.909] }, a = { c: 732, dir: n.H, sizes: [0.583, 0.805, 1.33, 1.773, 1.887] }, c = { c: 8211, dir: n.H, sizes: [0.5], stretch: [0, 8211], HDW: [0.285, -0.248, 0.5], }, l = { c: 8592, dir: n.H, sizes: [1], stretch: [8592, 8722], HDW: e.HDW3 }, u = { c: 8594, dir: n.H, sizes: [1], stretch: [0, 8722, 8594], HDW: e.HDW3, }, h = { c: 8596, dir: n.H, sizes: [1], stretch: [8592, 8722, 8594], HDW: e.HDW3, }, p = { c: 8612, dir: n.H, stretch: [8592, 8722, 8739], HDW: e.HDW3, min: 1.278, }, f = { c: 8614, dir: n.H, sizes: [1], stretch: [8739, 8722, 8594], HDW: e.HDW3, }, d = { c: 8656, dir: n.H, sizes: [1], stretch: [8656, 61], HDW: e.HDW3 }, y = { c: 8658, dir: n.H, sizes: [1], stretch: [0, 61, 8658], HDW: e.HDW3, }, m = { c: 8660, dir: n.H, sizes: [1], stretch: [8656, 61, 8658], HDW: e.HDW3, }, v = { c: 8722, dir: n.H, sizes: [0.778], stretch: [0, 8722], HDW: e.HDW3, }, b = { c: 8739, dir: n.V, sizes: [1], stretch: [0, 8739], HDW: [0.627, 0.015, 0.333], }, M = { c: 9180, dir: n.H, sizes: [0.778, 1], schar: [8994, 8994], stretch: [57680, 57684, 57681], HDW: [0.32, 0.2, 0.5], }, g = { c: 9181, dir: n.H, sizes: [0.778, 1], schar: [8995, 8995], stretch: [57682, 57684, 57683], HDW: [0.32, 0.2, 0.5], }, O = { c: 9182, dir: n.H, stretch: [57680, 57684, 57681, 57685], HDW: [0.32, 0.2, 0.5], min: 1.8, }, x = { c: 9183, dir: n.H, stretch: [57682, 57684, 57683, 57686], HDW: [0.32, 0.2, 0.5], min: 1.8, }, S = { c: 10216, dir: n.V, sizes: e.VSIZES }, _ = { c: 10217, dir: n.V, sizes: e.VSIZES }, E = { c: 10502, dir: n.H, stretch: [8656, 61, 8739], HDW: e.HDW3, min: 1.278, }, C = { c: 10503, dir: n.H, stretch: [8872, 61, 8658], HDW: e.HDW3, min: 1.278, }; e.delimiters = { 40: { dir: n.V, sizes: e.VSIZES, stretch: [9115, 9116, 9117], HDW: [0.85, 0.349, 0.875], }, 41: { dir: n.V, sizes: e.VSIZES, stretch: [9118, 9119, 9120], HDW: [0.85, 0.349, 0.875], }, 45: v, 47: o, 61: { dir: n.H, sizes: [0.767], stretch: [0, 61], HDW: e.HDW3 }, 91: { dir: n.V, sizes: e.VSIZES, stretch: [9121, 9122, 9123], HDW: e.HDW2, }, 92: { dir: n.V, sizes: e.VSIZES }, 93: { dir: n.V, sizes: e.VSIZES, stretch: [9124, 9125, 9126], HDW: e.HDW2, }, 94: s, 95: c, 123: { dir: n.V, sizes: e.VSIZES, stretch: [9127, 9130, 9129, 9128], HDW: [0.85, 0.349, 0.889], }, 124: { dir: n.V, sizes: [1], stretch: [0, 8739], HDW: [0.75, 0.25, 0.333], }, 125: { dir: n.V, sizes: e.VSIZES, stretch: [9131, 9130, 9133, 9132], HDW: [0.85, 0.349, 0.889], }, 126: a, 175: i, 710: s, 713: i, 732: a, 770: s, 771: a, 818: c, 8211: c, 8212: c, 8213: c, 8214: { dir: n.V, sizes: [0.602, 1], schar: [0, 8741], stretch: [0, 8741], HDW: [0.602, 0, 0.556], }, 8215: c, 8254: i, 8407: u, 8592: l, 8593: { dir: n.V, sizes: [0.888], stretch: [8593, 9168], HDW: [0.6, 0, 0.667], }, 8594: u, 8595: { dir: n.V, sizes: [0.888], stretch: [0, 9168, 8595], HDW: [0.6, 0, 0.667], }, 8596: h, 8597: { dir: n.V, sizes: [1.044], stretch: [8593, 9168, 8595], HDW: e.HDW1, }, 8606: { dir: n.H, sizes: [1], stretch: [8606, 8722], HDW: e.HDW3 }, 8608: { dir: n.H, sizes: [1], stretch: [0, 8722, 8608], HDW: e.HDW3 }, 8612: p, 8613: { dir: n.V, stretch: [8593, 9168, 8869], HDW: e.HDW1, min: 1.555 }, 8614: f, 8615: { dir: n.V, stretch: [8868, 9168, 8595], HDW: e.HDW1, min: 1.555 }, 8624: { dir: n.V, sizes: [0.722], stretch: [8624, 9168], HDW: e.HDW1 }, 8625: { dir: n.V, sizes: [0.722], stretch: [8625, 9168], HDW: e.HDW1 }, 8636: { dir: n.H, sizes: [1], stretch: [8636, 8722], HDW: e.HDW3 }, 8637: { dir: n.H, sizes: [1], stretch: [8637, 8722], HDW: e.HDW3 }, 8638: { dir: n.V, sizes: [0.888], stretch: [8638, 9168], HDW: e.HDW1 }, 8639: { dir: n.V, sizes: [0.888], stretch: [8639, 9168], HDW: e.HDW1 }, 8640: { dir: n.H, sizes: [1], stretch: [0, 8722, 8640], HDW: e.HDW3 }, 8641: { dir: n.H, sizes: [1], stretch: [0, 8722, 8641], HDW: e.HDW3 }, 8642: { dir: n.V, sizes: [0.888], stretch: [0, 9168, 8642], HDW: e.HDW1 }, 8643: { dir: n.V, sizes: [0.888], stretch: [0, 9168, 8643], HDW: e.HDW1 }, 8656: d, 8657: { dir: n.V, sizes: [0.888], stretch: [8657, 8214], HDW: [0.599, 0, 0.778], }, 8658: y, 8659: { dir: n.V, sizes: [0.888], stretch: [0, 8214, 8659], HDW: [0.6, 0, 0.778], }, 8660: m, 8661: { dir: n.V, sizes: [1.044], stretch: [8657, 8214, 8659], HDW: [0.75, 0.25, 0.778], }, 8666: { dir: n.H, sizes: [1], stretch: [8666, 8801], HDW: [0.464, -0.036, 0.5], }, 8667: { dir: n.H, sizes: [1], stretch: [0, 8801, 8667], HDW: [0.464, -0.036, 0.5], }, 8722: v, 8725: o, 8730: { dir: n.V, sizes: e.VSIZES, stretch: [57345, 57344, 9143], HDW: [0.85, 0.35, 1.056], }, 8739: b, 8741: { dir: n.V, sizes: [1], stretch: [0, 8741], HDW: [0.627, 0.015, 0.556], }, 8968: { dir: n.V, sizes: e.VSIZES, stretch: [9121, 9122], HDW: e.HDW2 }, 8969: { dir: n.V, sizes: e.VSIZES, stretch: [9124, 9125], HDW: e.HDW2 }, 8970: { dir: n.V, sizes: e.VSIZES, stretch: [0, 9122, 9123], HDW: e.HDW2, }, 8971: { dir: n.V, sizes: e.VSIZES, stretch: [0, 9125, 9126], HDW: e.HDW2, }, 8978: M, 8994: M, 8995: g, 9001: S, 9002: _, 9130: { dir: n.V, sizes: [0.32], stretch: [9130, 9130, 9130], HDW: [0.29, 0.015, 0.889], }, 9135: c, 9136: { dir: n.V, sizes: [0.989], stretch: [9127, 9130, 9133], HDW: [0.75, 0.25, 0.889], }, 9137: { dir: n.V, sizes: [0.989], stretch: [9131, 9130, 9129], HDW: [0.75, 0.25, 0.889], }, 9140: { dir: n.H, stretch: [9484, 8722, 9488], HDW: e.HDW3, min: 1 }, 9141: { dir: n.H, stretch: [9492, 8722, 9496], HDW: e.HDW3, min: 1 }, 9168: { dir: n.V, sizes: [0.602, 1], schar: [0, 8739], stretch: [0, 8739], HDW: [0.602, 0, 0.333], }, 9180: M, 9181: g, 9182: O, 9183: x, 9184: { dir: n.H, stretch: [714, 713, 715], HDW: [0.59, -0.544, 0.5], min: 1, }, 9185: { dir: n.H, stretch: [715, 713, 714], HDW: [0.59, -0.544, 0.5], min: 1, }, 9472: c, 10072: b, 10216: S, 10217: _, 10222: { dir: n.V, sizes: [0.989], stretch: [9127, 9130, 9129], HDW: [0.75, 0.25, 0.889], }, 10223: { dir: n.V, sizes: [0.989], stretch: [9131, 9130, 9133], HDW: [0.75, 0.25, 0.889], }, 10229: l, 10230: u, 10231: h, 10232: d, 10233: y, 10234: m, 10235: p, 10236: f, 10237: E, 10238: C, 10502: E, 10503: C, 10574: { dir: n.H, stretch: [8636, 8722, 8640], HDW: e.HDW3, min: 2 }, 10575: { dir: n.V, stretch: [8638, 9168, 8642], HDW: e.HDW1, min: 1.776 }, 10576: { dir: n.H, stretch: [8637, 8722, 8641], HDW: e.HDW3, min: 2 }, 10577: { dir: n.V, stretch: [8639, 9168, 8643], HDW: e.HDW1, min: 0.5 }, 10586: { dir: n.H, stretch: [8636, 8722, 8739], HDW: e.HDW3, min: 1.278 }, 10587: { dir: n.H, stretch: [8739, 8722, 8640], HDW: e.HDW3, min: 1.278 }, 10588: { dir: n.V, stretch: [8638, 9168, 8869], HDW: e.HDW1, min: 1.556 }, 10589: { dir: n.V, stretch: [8868, 9168, 8642], HDW: e.HDW1, min: 1.556 }, 10590: { dir: n.H, stretch: [8637, 8722, 8739], HDW: e.HDW3, min: 1.278 }, 10591: { dir: n.H, stretch: [8739, 8722, 8641], HDW: e.HDW3, min: 1.278 }, 10592: { dir: n.V, stretch: [8639, 9168, 8869], HDW: e.HDW1, min: 1.776 }, 10593: { dir: n.V, stretch: [8868, 9168, 8643], HDW: e.HDW1, min: 1.776 }, 12296: S, 12297: _, 65079: O, 65080: x, }; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__values) || function (t) { var e = "function" == typeof Symbol && Symbol.iterator, r = e && t[e], n = 0; if (r) return r.call(t); if (t && "number" == typeof t.length) return { next: function () { return ( t && n >= t.length && (t = void 0), { value: t && t[n++], done: !t } ); }, }; throw new TypeError( e ? "Object is not iterable." : "Symbol.iterator is not defined.", ); }, s = (this && this.__read) || function (t, e) { var r = "function" == typeof Symbol && t[Symbol.iterator]; if (!r) return t; var n, o, i = r.call(t), s = []; try { for (; (void 0 === e || e-- > 0) && !(n = i.next()).done; ) s.push(n.value); } catch (t) { o = { error: t }; } finally { try { n && !n.done && (r = i.return) && r.call(i); } finally { if (o) throw o.error; } } return s; }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.MJContextMenu = void 0); var a = r(202), c = r(73), l = (function (t) { function e() { var e = (null !== t && t.apply(this, arguments)) || this; return ( (e.mathItem = null), (e.annotation = ""), (e.annotationTypes = {}), e ); } return ( o(e, t), (e.prototype.post = function (e, r) { if (this.mathItem) { if (void 0 !== r) { var n = this.mathItem.inputJax.name, o = this.findID("Show", "Original"); (o.content = "MathML" === n ? "Original MathML" : n + " Commands"), (this.findID("Copy", "Original").content = o.content); var i = this.findID("Settings", "semantics"); "MathML" === n ? i.disable() : i.enable(), this.getAnnotationMenu(), this.dynamicSubmenus(); } t.prototype.post.call(this, e, r); } }), (e.prototype.unpost = function () { t.prototype.unpost.call(this), (this.mathItem = null); }), (e.prototype.findID = function () { for (var t, e, r = [], n = 0; n < arguments.length; n++) r[n] = arguments[n]; var o = this, s = null; try { for (var a = i(r), l = a.next(); !l.done; l = a.next()) { var u = l.value; o ? ((s = o.find(u)), (o = s instanceof c.Submenu ? s.submenu : null)) : (s = null); } } catch (e) { t = { error: e }; } finally { try { l && !l.done && (e = a.return) && e.call(a); } finally { if (t) throw t.error; } } return s; }), (e.prototype.getAnnotationMenu = function () { var t = this, e = this.getAnnotations(this.getSemanticNode()); this.createAnnotationMenu("Show", e, function () { return t.showAnnotation.post(); }), this.createAnnotationMenu("Copy", e, function () { return t.copyAnnotation(); }); }), (e.prototype.getSemanticNode = function () { for (var t = this.mathItem.root; t && !t.isKind("semantics"); ) { if (t.isToken || 1 !== t.childNodes.length) return null; t = t.childNodes[0]; } return t; }), (e.prototype.getAnnotations = function (t) { var e, r, n = []; if (!t) return n; try { for ( var o = i(t.childNodes), s = o.next(); !s.done; s = o.next() ) { var a = s.value; if (a.isKind("annotation")) { var c = this.annotationMatch(a); if (c) { var l = a.childNodes.reduce(function (t, e) { return t + e.toString(); }, ""); n.push([c, l]); } } } } catch (t) { e = { error: t }; } finally { try { s && !s.done && (r = o.return) && r.call(o); } finally { if (e) throw e.error; } } return n; }), (e.prototype.annotationMatch = function (t) { var e, r, n = t.attributes.get("encoding"); try { for ( var o = i(Object.keys(this.annotationTypes)), s = o.next(); !s.done; s = o.next() ) { var a = s.value; if (this.annotationTypes[a].indexOf(n) >= 0) return a; } } catch (t) { e = { error: t }; } finally { try { s && !s.done && (r = o.return) && r.call(o); } finally { if (e) throw e.error; } } return null; }), (e.prototype.createAnnotationMenu = function (t, e, r) { var n = this, o = this.findID(t, "Annotation"); (o.submenu = this.factory.get("subMenu")( this.factory, { items: e.map(function (t) { var e = s(t, 2), o = e[0], i = e[1]; return { type: "command", id: o, content: o, action: function () { (n.annotation = i), r(); }, }; }), id: "annotations", }, o, )), e.length ? o.enable() : o.disable(); }), (e.prototype.dynamicSubmenus = function () { var t, r; try { for ( var n = i(e.DynamicSubmenus), o = n.next(); !o.done; o = n.next() ) { var a = s(o.value, 2), c = a[0], l = a[1], u = this.find(c); if (u) { var h = l(this, u); (u.submenu = h), h.items.length ? u.enable() : u.disable(); } } } catch (e) { t = { error: e }; } finally { try { o && !o.done && (r = n.return) && r.call(n); } finally { if (t) throw t.error; } } }), (e.DynamicSubmenus = new Map()), e ); })(a.ContextMenu); e.MJContextMenu = l; }, function (t, e, r) { "use strict"; var n = (this && this.__values) || function (t) { var e = "function" == typeof Symbol && Symbol.iterator, r = e && t[e], n = 0; if (r) return r.call(t); if (t && "number" == typeof t.length) return { next: function () { return ( t && n >= t.length && (t = void 0), { value: t && t[n++], done: !t } ); }, }; throw new TypeError( e ? "Object is not iterable." : "Symbol.iterator is not defined.", ); }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.Menu = void 0); var o = r(15), i = r(10), s = r(1), a = r(4), c = r(197), l = r(199), u = r(200), h = r(74), p = r(222), f = r(205), d = r(233), y = s.MathJax, m = "undefined" != typeof window && window.navigator && "Mac" === window.navigator.platform.substr(0, 3), v = (function () { function t(t, e) { var r = this; void 0 === e && (e = {}), (this.settings = null), (this.defaultSettings = null), (this.menu = null), (this.MmlVisitor = new l.MmlVisitor()), (this.jax = { CHTML: null, SVG: null }), (this.rerenderStart = i.STATE.LAST), (this.about = new h.Info( 'MathJax v' + o.mathjax.version, function () { var t = []; return ( t.push( "Input Jax: " + r.document.inputJax .map(function (t) { return t.name; }) .join(", "), ), t.push("Output Jax: " + r.document.outputJax.name), t.push("Document Type: " + r.document.kind), t.join("
") ); }, 'www.mathjax.org', )), (this.help = new h.Info( "MathJax Help", function () { return [ "

MathJax is a JavaScript library that allows page", " authors to include mathematics within their web pages.", " As a reader, you don't need to do anything to make that happen.

", "

Browsers: MathJax works with all modern browsers including", " Edge, Firefox, Chrome, Safari, Opera, and most mobile browsers.

", "

Math Menu: MathJax adds a contextual menu to equations.", " Right-click or CTRL-click on any mathematics to access the menu.

", '
', "

Show Math As: These options allow you to view the formula's", " source markup (as MathML or in its original format).

", "

Copy to Clipboard: These options copy the formula's source markup,", " as MathML or in its original format, to the clipboard", " (in browsers that support that).

", "

Math Settings: These give you control over features of MathJax,", " such the size of the mathematics, and the mechanism used", " to display equations.

", "

Accessibility: MathJax can work with screen", " readers to make mathematics accessible to the visually impaired.", " Turn on the explorer to enable generation of speech strings", " and the ability to investigate expressions interactively.

", "

Language: This menu lets you select the language used by MathJax", " for its menus and warning messages. (Not yet implemented in version 3.)

", "
", "

Math Zoom: If you are having difficulty reading an", " equation, MathJax can enlarge it to help you see it better, or", " you can scall all the math on the page to make it larger.", " Turn these features on in the Math Settings menu.

", "

Preferences: MathJax uses your browser's localStorage database", " to save the preferences set via this menu locally in your browser. These", " are not used to track you, and are not transferred or used remotely by", " MathJax in any way.

", ].join("\n"); }, 'www.mathjax.org', )), (this.mathmlCode = new u.SelectableInfo( "MathJax MathML Expression", function () { if (!r.menu.mathItem) return ""; var t = r.toMML(r.menu.mathItem); return "
" + r.formatSource(t) + "
"; }, "", )), (this.originalText = new u.SelectableInfo( "MathJax Original Source", function () { if (!r.menu.mathItem) return ""; var t = r.menu.mathItem.math; return ( '
' +
									r.formatSource(t) +
									"
" ); }, "", )), (this.annotationText = new u.SelectableInfo( "MathJax Annotation Text", function () { if (!r.menu.mathItem) return ""; var t = r.menu.annotation; return ( '
' +
									r.formatSource(t) +
									"
" ); }, "", )), (this.zoomBox = new h.Info( "MathJax Zoomed Expression", function () { if (!r.menu.mathItem) return ""; var t = r.menu.mathItem.typesetRoot.cloneNode(!0); return ( (t.style.margin = "0"), '
' + t.outerHTML + "
" ); }, "", )), (this.document = t), (this.options = a.userOptions( a.defaultOptions({}, this.constructor.OPTIONS), e, )), this.initSettings(), this.mergeUserSettings(), this.initMenu(); } return ( Object.defineProperty(t.prototype, "isLoading", { get: function () { return t.loading > 0; }, enumerable: !1, configurable: !0, }), Object.defineProperty(t.prototype, "loadingPromise", { get: function () { return this.isLoading ? (t._loadingPromise || (t._loadingPromise = new Promise(function (e, r) { (t._loadingOK = e), (t._loadingFailed = r); })), t._loadingPromise) : Promise.resolve(); }, enumerable: !1, configurable: !0, }), (t.prototype.initSettings = function () { (this.settings = this.options.settings), (this.jax = this.options.jax); var t = this.document.outputJax; (this.jax[t.name] = t), (this.settings.renderer = t.name), y._.a11y && y._.a11y.explorer && Object.assign(this.settings, this.document.options.a11y), (this.settings.scale = t.options.scale), (this.defaultSettings = Object.assign({}, this.settings)); }), (t.prototype.initMenu = function () { var t = this, e = new p.Parser([ ["contextMenu", c.MJContextMenu.fromJson.bind(c.MJContextMenu)], ]); this.menu = e.parse({ type: "contextMenu", id: "MathJax_Menu", pool: [ this.variable("texHints"), this.variable("semantics"), this.variable("zoom"), this.variable("zscale"), this.variable("renderer", function (e) { return t.setRenderer(e); }), this.variable("alt"), this.variable("cmd"), this.variable("ctrl"), this.variable("shift"), this.variable("scale", function (e) { return t.setScale(e); }), this.variable("explorer", function (e) { return t.setExplorer(e); }), this.a11yVar("highlight"), this.a11yVar("backgroundColor"), this.a11yVar("backgroundOpacity"), this.a11yVar("foregroundColor"), this.a11yVar("foregroundOpacity"), this.a11yVar("speech"), this.a11yVar("subtitles"), this.a11yVar("braille"), this.a11yVar("viewBraille"), this.a11yVar("locale"), this.a11yVar("speechRules"), this.a11yVar("magnification"), this.a11yVar("magnify"), this.a11yVar("treeColoring"), this.a11yVar("infoType"), this.a11yVar("infoRole"), this.a11yVar("infoPrefix"), this.variable("autocollapse"), this.variable("collapsible", function (e) { return t.setCollapsible(e); }), this.variable("inTabOrder", function (e) { return t.setTabOrder(e); }), this.variable("assistiveMml", function (e) { return t.setAssistiveMml(e); }), ], items: [ this.submenu("Show", "Show Math As", [ this.command("MathMLcode", "MathML Code", function () { return t.mathmlCode.post(); }), this.command("Original", "Original Form", function () { return t.originalText.post(); }), this.submenu("Annotation", "Annotation"), ]), this.submenu("Copy", "Copy to Clipboard", [ this.command("MathMLcode", "MathML Code", function () { return t.copyMathML(); }), this.command("Original", "Original Form", function () { return t.copyOriginal(); }), this.submenu("Annotation", "Annotation"), ]), this.rule(), this.submenu("Settings", "Math Settings", [ this.submenu( "Renderer", "Math Renderer", this.radioGroup("renderer", [["CHTML"], ["SVG"]]), ), this.rule(), this.submenu("ZoomTrigger", "Zoom Trigger", [ this.command("ZoomNow", "Zoom Once Now", function () { return t.zoom(null, "", t.menu.mathItem); }), this.rule(), this.radioGroup("zoom", [ ["Click"], ["DoubleClick", "Double-Click"], ["NoZoom", "No Zoom"], ]), this.rule(), this.label("TriggerRequires", "Trigger Requires:"), this.checkbox( m ? "Option" : "Alt", m ? "Option" : "Alt", "alt", ), this.checkbox("Command", "Command", "cmd", { hidden: !m }), this.checkbox("Control", "Control", "ctrl", { hiddne: m }), this.checkbox("Shift", "Shift", "shift"), ]), this.submenu( "ZoomFactor", "Zoom Factor", this.radioGroup("zscale", [ ["150%"], ["175%"], ["200%"], ["250%"], ["300%"], ["400%"], ]), ), this.rule(), this.command("Scale", "Scale All Math...", function () { return t.scaleAllMath(); }), this.rule(), this.checkbox( "texHints", "Add TeX hints to MathML", "texHints", ), this.checkbox( "semantics", "Add original as annotation", "semantics", ), this.rule(), this.command("Reset", "Reset to defaults", function () { return t.resetDefaults(); }), ]), this.submenu("Accessibility", "Accessibility", [ this.checkbox("Activate", "Activate", "explorer"), this.submenu("Speech", "Speech", [ this.checkbox("Speech", "Speech Output", "speech"), this.checkbox("Subtitles", "Speech Subtities", "subtitles"), this.checkbox("Braille", "Braille Output", "braille"), this.checkbox( "View Braille", "Braille Subtitles", "viewBraille", ), this.rule(), this.submenu("A11yLanguage", "Language"), this.rule(), this.submenu( "Mathspeak", "Mathspeak Rules", this.radioGroup("speechRules", [ ["mathspeak-default", "Verbose"], ["mathspeak-brief", "Brief"], ["mathspeak-sbrief", "Superbrief"], ]), ), this.submenu( "Clearspeak", "Clearspeak Rules", this.radioGroup("speechRules", [ ["clearspeak-default", "Auto"], ]), ), this.submenu( "ChromeVox", "ChromeVox Rules", this.radioGroup("speechRules", [ ["default-default", "Standard"], ["default-alternative", "Alternative"], ]), ), ]), this.submenu("Highlight", "Highlight", [ this.submenu( "Background", "Background", this.radioGroup("backgroundColor", [ ["Blue"], ["Red"], ["Green"], ["Yellow"], ["Cyan"], ["Magenta"], ["White"], ["Black"], ]), ), { type: "slider", variable: "backgroundOpacity", content: " ", }, this.submenu( "Foreground", "Foreground", this.radioGroup("foregroundColor", [ ["Black"], ["White"], ["Magenta"], ["Cyan"], ["Yellow"], ["Green"], ["Red"], ["Blue"], ]), ), { type: "slider", variable: "foregroundOpacity", content: " ", }, this.rule(), this.radioGroup("highlight", [ ["None"], ["Hover"], ["Flame"], ]), this.rule(), this.checkbox( "TreeColoring", "Tree Coloring", "treeColoring", ), ]), this.submenu("Magnification", "Magnification", [ this.radioGroup("magnification", [ ["None"], ["Keyboard"], ["Mouse"], ]), this.rule(), this.radioGroup("magnify", [ ["200%"], ["300%"], ["400%"], ["500%"], ]), ]), this.submenu( "Semantic Info", "Semantic Info", [ this.checkbox("Type", "Type", "infoType"), this.checkbox("Role", "Role", "infoRole"), this.checkbox("Prefix", "Prefix", "infoPrefix"), ], !0, ), this.rule(), this.checkbox( "Collapsible", "Collapsible Math", "collapsible", ), this.checkbox( "AutoCollapse", "Auto Collapse", "autocollapse", { disabled: !0 }, ), this.rule(), this.checkbox( "InTabOrder", "Include in Tab Order", "inTabOrder", ), this.checkbox( "AssistiveMml", "Include Hidden MathML", "assistiveMml", ), ]), this.submenu("Language", "Language"), this.rule(), this.command("About", "About MathJax", function () { return t.about.post(); }), this.command("Help", "MathJax Help", function () { return t.help.post(); }), ], }); var r = this.menu; this.about.attachMenu(r), this.help.attachMenu(r), this.originalText.attachMenu(r), this.annotationText.attachMenu(r), this.mathmlCode.attachMenu(r), this.zoomBox.attachMenu(r), this.checkLoadableItems(), this.enableExplorerItems(this.settings.explorer), (r.showAnnotation = this.annotationText), (r.copyAnnotation = this.copyAnnotation.bind(this)), (r.annotationTypes = this.options.annotationTypes), d.CssStyles.addInfoStyles(this.document.document), d.CssStyles.addMenuStyles(this.document.document); }), (t.prototype.checkLoadableItems = function () { var t, e; if (y && y._ && y.loader && y.startup) !this.settings.collapsible || (y._.a11y && y._.a11y.complexity) || this.loadA11y("complexity"), !this.settings.explorer || (y._.a11y && y._.a11y.explorer) || this.loadA11y("explorer"), !this.settings.assistiveMml || (y._.a11y && y._.a11y["assistive-mml"]) || this.loadA11y("assistive-mml"); else { var r = this.menu; try { for ( var o = n(Object.keys(this.jax)), i = o.next(); !i.done; i = o.next() ) { var s = i.value; this.jax[s] || r.findID("Settings", "Renderer", s).disable(); } } catch (e) { t = { error: e }; } finally { try { i && !i.done && (e = o.return) && e.call(o); } finally { if (t) throw t.error; } } r.findID("Accessibility", "Activate").disable(), r.findID("Accessibility", "AutoCollapse").disable(), r.findID("Accessibility", "Collapsible").disable(); } }), (t.prototype.enableExplorerItems = function (t) { var e, r, o = this.menu.findID("Accessibility", "Activate").menu; try { for ( var i = n(o.items.slice(1)), s = i.next(); !s.done; s = i.next() ) { var a = s.value; if (a instanceof f.Rule) break; t ? a.enable() : a.disable(); } } catch (t) { e = { error: t }; } finally { try { s && !s.done && (r = i.return) && r.call(i); } finally { if (e) throw e.error; } } }), (t.prototype.mergeUserSettings = function () { try { var e = localStorage.getItem(t.MENU_STORAGE); if (!e) return; Object.assign(this.settings, JSON.parse(e)), this.setA11y(this.settings); } catch (t) { console.log("MathJax localStorage error: " + t.message); } }), (t.prototype.saveUserSettings = function () { var e, r, o = {}; try { for ( var i = n(Object.keys(this.settings)), s = i.next(); !s.done; s = i.next() ) { var a = s.value; this.settings[a] !== this.defaultSettings[a] && (o[a] = this.settings[a]); } } catch (t) { e = { error: t }; } finally { try { s && !s.done && (r = i.return) && r.call(i); } finally { if (e) throw e.error; } } try { Object.keys(o).length ? localStorage.setItem(t.MENU_STORAGE, JSON.stringify(o)) : localStorage.removeItem(t.MENU_STORAGE); } catch (t) { console.log("MathJax localStorage error: " + t.message); } }), (t.prototype.setA11y = function (t) { y._.a11y && y._.a11y.explorer && y._.a11y.explorer_ts.setA11yOptions(this.document, t); }), (t.prototype.getA11y = function (t) { if (y._.a11y && y._.a11y.explorer) return this.document.options.a11y[t]; }), (t.prototype.setScale = function (t) { (this.document.outputJax.options.scale = parseFloat(t)), this.document.rerender(); }), (t.prototype.setRenderer = function (t) { var e = this; if (this.jax[t]) this.setOutputJax(t); else { var r = t.toLowerCase(); this.loadComponent("output/" + r, function () { var n = y.startup; r in n.constructors && (n.useOutput(r, !0), (n.output = n.getOutputJax()), (e.jax[t] = n.output), e.setOutputJax(t)); }); } }), (t.prototype.setOutputJax = function (t) { this.jax[t].setAdaptor(this.document.adaptor), (this.document.outputJax = this.jax[t]), this.rerender(); }), (t.prototype.setTabOrder = function (t) { this.menu.store.inTaborder(t); }), (t.prototype.setAssistiveMml = function (t) { (this.document.options.enableAssistiveMml = t), !t || (y._.a11y && y._.a11y["assistive-mml"]) ? this.rerender() : this.loadA11y("assistive-mml"); }), (t.prototype.setExplorer = function (t) { this.enableExplorerItems(t), (this.document.options.enableExplorer = t), !t || (y._.a11y && y._.a11y.explorer) ? this.rerender( this.settings.collapsible ? i.STATE.RERENDER : i.STATE.COMPILED, ) : this.loadA11y("explorer"); }), (t.prototype.setCollapsible = function (t) { (this.document.options.enableComplexity = t), !t || (y._.a11y && y._.a11y.complexity) ? this.rerender(i.STATE.COMPILED) : this.loadA11y("complexity"); }), (t.prototype.scaleAllMath = function () { var t = (100 * parseFloat(this.settings.scale)) .toFixed(1) .replace(/.0$/, ""), e = prompt( "Scale all mathematics (compared to surrounding text) by", t + "%", ); if (e) if (e.match(/^\s*\d+(\.\d*)?\s*%?\s*$/)) { var r = parseFloat(e) / 100; r ? this.setScale(String(r)) : alert("The scale should not be zero"); } else alert("The scale should be a percentage (e.g., 120%)"); }), (t.prototype.resetDefaults = function () { var e, r; t.loading++; var o = this.menu.pool, s = this.defaultSettings; try { for ( var a = n(Object.keys(this.settings)), c = a.next(); !c.done; c = a.next() ) { var l = c.value, u = o.lookup(l); if (u) { u.setValue(s[l]); var h = u.items[0]; h && h.executeCallbacks_(); } else this.settings[l] = s[l]; } } catch (t) { e = { error: t }; } finally { try { c && !c.done && (r = a.return) && r.call(a); } finally { if (e) throw e.error; } } t.loading--, this.rerender(i.STATE.COMPILED); }), (t.prototype.checkComponent = function (e) { var r = t.loadingPromises.get(e); r && o.mathjax.retryAfter(r); }), (t.prototype.loadComponent = function (e, r) { if (!t.loadingPromises.has(e)) { var n = y.loader; if (n) { t.loading++; var o = n .load(e) .then(function () { t.loading--, t.loadingPromises.delete(e), r(), 0 === t.loading && t._loadingPromise && ((t._loadingPromise = null), t._loadingOK()); }) .catch(function (e) { t._loadingPromise ? ((t._loadingPromise = null), t._loadingFailed(e)) : console.log(e); }); t.loadingPromises.set(e, o); } } }), (t.prototype.loadA11y = function (e) { var r = this, n = !i.STATE.ENRICHED; this.loadComponent("a11y/" + e, function () { var s = y.startup; o.mathjax.handlers.unregister(s.handler), (s.handler = s.getHandler()), o.mathjax.handlers.register(s.handler); var a = r.document; (r.document = s.document = s.getDocument()), (r.document.menu = r), r.transferMathList(a), (r.document.processed = a.processed), t._loadingPromise || r.rerender( "complexity" === e || n ? i.STATE.COMPILED : i.STATE.TYPESET, ); }); }), (t.prototype.transferMathList = function (t) { var e, r, o = this.document.options.MathItem; try { for (var i = n(t.math), s = i.next(); !s.done; s = i.next()) { var a = s.value, c = new o(); Object.assign(c, a), this.document.math.push(c); } } catch (t) { e = { error: t }; } finally { try { s && !s.done && (r = i.return) && r.call(i); } finally { if (e) throw e.error; } } }), (t.prototype.formatSource = function (t) { return t .trim() .replace(/&/g, "&") .replace(//g, ">"); }), (t.prototype.toMML = function (t) { return this.MmlVisitor.visitTree(t.root, t, { texHints: this.settings.texHints, semantics: this.settings.semantics && "MathML" !== t.inputJax.name, }); }), (t.prototype.zoom = function (t, e, r) { (t && !this.isZoomEvent(t, e)) || ((this.menu.mathItem = r), t && this.menu.post(t), this.zoomBox.post()); }), (t.prototype.isZoomEvent = function (t, e) { return ( this.settings.zoom === e && (!this.settings.alt || t.altKey) && (!this.settings.ctrl || t.ctrlKey) && (!this.settings.cmd || t.metaKey) && (!this.settings.shift || t.shiftKey) ); }), (t.prototype.rerender = function (e) { void 0 === e && (e = i.STATE.TYPESET), (this.rerenderStart = Math.min(e, this.rerenderStart)), t.loading || (this.document.rerender(this.rerenderStart), (this.rerenderStart = i.STATE.LAST)); }), (t.prototype.copyMathML = function () { this.copyToClipboard(this.toMML(this.menu.mathItem)); }), (t.prototype.copyOriginal = function () { this.copyToClipboard(this.menu.mathItem.math); }), (t.prototype.copyAnnotation = function () { this.copyToClipboard(this.menu.annotation); }), (t.prototype.copyToClipboard = function (t) { var e = document.createElement("textarea"); (e.value = t), e.setAttribute("readonly", ""), (e.style.cssText = "height: 1px; width: 1px; padding: 1px; position: absolute; left: -10px"), document.body.appendChild(e), e.select(); try { document.execCommand("copy"); } catch (t) { alert("Can't copy to clipboard: " + t.message); } document.body.removeChild(e); }), (t.prototype.addMenu = function (t) { var e = this, r = t.typesetRoot; r.addEventListener( "contextmenu", function () { return (e.menu.mathItem = t); }, !0, ), r.addEventListener( "keydown", function () { return (e.menu.mathItem = t); }, !0, ), r.addEventListener( "click", function (r) { return e.zoom(r, "Click", t); }, !0, ), r.addEventListener( "dblclick", function (r) { return e.zoom(r, "DoubleClick", t); }, !0, ), this.menu.store.insert(r); }), (t.prototype.clear = function () { this.menu.store.clear(); }), (t.prototype.variable = function (t, e) { var r = this; return { name: t, getter: function () { return r.settings[t]; }, setter: function (n) { (r.settings[t] = n), e && e(n), r.saveUserSettings(); }, }; }), (t.prototype.a11yVar = function (t) { var e = this; return { name: t, getter: function () { return e.getA11y(t); }, setter: function (r) { e.settings[t] = r; var n = {}; (n[t] = r), e.setA11y(n), e.saveUserSettings(); }, }; }), (t.prototype.submenu = function (t, e, r, o) { var i, s; void 0 === r && (r = []), void 0 === o && (o = !1); var a = []; try { for (var c = n(r), l = c.next(); !l.done; l = c.next()) { var u = l.value; Array.isArray(u) ? (a = a.concat(u)) : a.push(u); } } catch (t) { i = { error: t }; } finally { try { l && !l.done && (s = c.return) && s.call(c); } finally { if (i) throw i.error; } } return { type: "submenu", id: t, content: e, menu: { items: a }, disabled: 0 === a.length || o, }; }), (t.prototype.command = function (t, e, r, n) { return ( void 0 === n && (n = {}), Object.assign( { type: "command", id: t, content: e, action: r }, n, ) ); }), (t.prototype.checkbox = function (t, e, r, n) { return ( void 0 === n && (n = {}), Object.assign( { type: "checkbox", id: t, content: e, variable: r }, n, ) ); }), (t.prototype.radioGroup = function (t, e) { var r = this; return e.map(function (e) { return r.radio(e[0], e[1] || e[0], t); }); }), (t.prototype.radio = function (t, e, r, n) { return ( void 0 === n && (n = {}), Object.assign( { type: "radio", id: t, content: e, variable: r }, n, ) ); }), (t.prototype.label = function (t, e) { return { type: "label", id: t, content: e }; }), (t.prototype.rule = function () { return { type: "rule" }; }), (t.MENU_STORAGE = "MathJax-Menu-Settings"), (t.OPTIONS = { settings: { texHints: !0, semantics: !1, zoom: "NoZoom", zscale: "200%", renderer: "CHTML", alt: !1, cmd: !1, ctrl: !1, shift: !1, scale: 1, autocollapse: !1, collapsible: !1, inTabOrder: !0, assistiveMml: !0, explorer: !1, }, jax: { CHTML: null, SVG: null }, annotationTypes: a.expandable({ TeX: ["TeX", "LaTeX", "application/x-tex"], StarMath: ["StarMath 5.0"], Maple: ["Maple"], ContentMathML: [ "MathML-Content", "application/mathml-content+xml", ], OpenMath: ["OpenMath"], }), }), (t.loading = 0), (t.loadingPromises = new Map()), (t._loadingPromise = null), (t._loadingOK = null), (t._loadingFailed = null), t ); })(); e.Menu = v; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }); Object.defineProperty(e, "__esModule", { value: !0 }), (e.MmlVisitor = void 0); var i = r(59), s = r(4), a = (function (t) { function e() { var e = (null !== t && t.apply(this, arguments)) || this; return ( (e.options = { texHints: !0, semantics: !1 }), (e.mathItem = null), e ); } return ( o(e, t), (e.prototype.visitTree = function (t, e, r) { return ( void 0 === e && (e = null), void 0 === r && (r = {}), (this.mathItem = e), s.userOptions(this.options, r), this.visitNode(t, "") ); }), (e.prototype.visitTeXAtomNode = function (e, r) { return this.options.texHints ? t.prototype.visitTeXAtomNode.call(this, e, r) : e.childNodes[0] && 1 === e.childNodes[0].childNodes.length ? this.visitNode(e.childNodes[0], r) : r + "\n" + this.childNodeMml(e, r + " ", "\n") + r + ""; }), (e.prototype.visitMathNode = function (e, r) { if ( !this.options.semantics || "TeX" !== this.mathItem.inputJax.name ) return t.prototype.visitDefault.call(this, e, r); var n = e.childNodes.length && e.childNodes[0].childNodes.length > 1; return ( r + "\n" + r + " \n" + (n ? r + " \n" : "") + this.childNodeMml(e, r + (n ? " " : " "), "\n") + (n ? r + " \n" : "") + r + ' ' + this.mathItem.math + "\n" + r + " \n" + r + "" ); }), e ); })(i.SerializedMmlVisitor); e.MmlVisitor = a; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }); Object.defineProperty(e, "__esModule", { value: !0 }), (e.SelectableInfo = void 0); var i = r(74), s = r(5), a = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), (e.prototype.addEvents = function (t) { var e = this; t.addEventListener("keypress", function (t) { "a" === t.key && (t.ctrlKey || t.metaKey) && (e.selectAll(), e.stop(t)); }); }), (e.prototype.selectAll = function () { document .getSelection() .selectAllChildren(this.html.querySelector("pre")); }), (e.prototype.copyToClipboard = function () { this.selectAll(); try { document.execCommand("copy"); } catch (t) { alert("Can't copy to clipboard: " + t.message); } document.getSelection().removeAllRanges(); }), (e.prototype.generateHtml = function () { var e = this; t.prototype.generateHtml.call(this); var r = this.html .querySelector("span." + s.HtmlClasses.INFOSIGNATURE) .appendChild(document.createElement("input")); (r.type = "button"), (r.value = "Copy to Clipboard"), r.addEventListener("click", function (t) { return e.copyToClipboard(); }); }), e ); })(i.Info); e.SelectableInfo = a; }, function (t, e) { var r; r = (function () { return this; })(); try { r = r || new Function("return this")(); } catch (t) { "object" == typeof window && (r = window); } t.exports = r; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }); Object.defineProperty(e, "__esModule", { value: !0 }), (e.ContextMenu = void 0); var i = r(71), s = r(5), a = r(219), c = r(220), l = (function (t) { function e(e) { var r = t.call(this) || this; return ( (r.factory = e), (r.id = ""), (r.moving = !1), (r._store = new a.MenuStore(r)), (r.widgets = []), (r.variablePool = new c.VariablePool()), r ); } return ( o(e, t), (e.fromJson = function (t, e) { var r = e.pool, n = e.items, o = e.id, i = void 0 === o ? "" : o, s = new this(t); s.id = i; var a = t.get("variable"); r.forEach(function (e) { return a(t, e, s.pool); }); var c = t.get("items")(t, n, s); return (s.items = c), s; }), (e.prototype.generateHtml = function () { this.isPosted() && this.unpost(), t.prototype.generateHtml.call(this), (this._frame = document.createElement("div")), this._frame.classList.add(s.HtmlClasses.MENUFRAME); var e = "left: 0px; top: 0px; z-index: 200; width: 100%; height: 100%; border: 0px; padding: 0px; margin: 0px;"; this._frame.setAttribute("style", "position: absolute; " + e); var r = document.createElement("div"); r.setAttribute("style", "position: fixed; " + e), this._frame.appendChild(r), r.addEventListener( "mousedown", function (t) { this.unpost(), this.unpostWidgets(), this.stop(t); }.bind(this), ); }), (e.prototype.display = function () { document.body.appendChild(this.frame), this.frame.appendChild(this.html), this.focus(); }), (e.prototype.escape = function (t) { this.unpost(), this.unpostWidgets(); }), (e.prototype.unpost = function () { if ((t.prototype.unpost.call(this), !(this.widgets.length > 0))) { this.frame.parentNode.removeChild(this.frame); var e = this.store; this.moving || e.insertTaborder(), e.active.focus(); } }), (e.prototype.left = function (t) { this.move_(this.store.previous()); }), (e.prototype.right = function (t) { this.move_(this.store.next()); }), Object.defineProperty(e.prototype, "frame", { get: function () { return this._frame; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "store", { get: function () { return this._store; }, enumerable: !1, configurable: !0, }), (e.prototype.post = function (e, r) { if (void 0 !== r) return ( this.moving || this.store.removeTaborder(), void t.prototype.post.call(this, e, r) ); var n, o, i, s = e; if ( (s instanceof Event ? ((n = s.target), this.stop(s)) : (n = s), s instanceof MouseEvent && ((o = s.pageX), (i = s.pageY), o || i || !s.clientX || ((o = s.clientX + document.body.scrollLeft + document.documentElement.scrollLeft), (i = s.clientY + document.body.scrollTop + document.documentElement.scrollTop))), !o && !i && n) ) { var a = window.pageXOffset || document.documentElement.scrollLeft, c = window.pageYOffset || document.documentElement.scrollTop, l = n.getBoundingClientRect(); (o = (l.right + l.left) / 2 + a), (i = (l.bottom + l.top) / 2 + c); } (this.store.active = n), (this.anchor = this.store.active); var u = this.html; o + u.offsetWidth > document.body.offsetWidth - 5 && (o = document.body.offsetWidth - u.offsetWidth - 5), this.post(o, i); }), (e.prototype.registerWidget = function (t) { this.widgets.push(t); }), (e.prototype.unregisterWidget = function (t) { var e = this.widgets.indexOf(t); e > -1 && this.widgets.splice(e, 1), 0 === this.widgets.length && this.unpost(); }), (e.prototype.unpostWidgets = function () { this.widgets.forEach(function (t) { return t.unpost(); }); }), (e.prototype.toJson = function () { return { type: "" }; }), (e.prototype.move_ = function (t) { this.anchor && t !== this.anchor && ((this.moving = !0), this.unpost(), this.post(t), (this.moving = !1)); }), e ); })(i.AbstractMenu); e.ContextMenu = l; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }); Object.defineProperty(e, "__esModule", { value: !0 }), (e.MenuElement = void 0); var i = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), (e.prototype.addAttributes = function (t) { for (var e in t) this.html.setAttribute(e, t[e]); }), Object.defineProperty(e.prototype, "html", { get: function () { return this._html || this.generateHtml(), this._html; }, set: function (t) { (this._html = t), this.addEvents(t); }, enumerable: !1, configurable: !0, }), (e.prototype.generateHtml = function () { var t = document.createElement("div"); t.classList.add(this.className), t.setAttribute("role", this.role), (this.html = t); }), (e.prototype.focus = function () { var t = this.html; t.setAttribute("tabindex", "0"), t.focus(); }), (e.prototype.unfocus = function () { var t = this.html; t.hasAttribute("tabindex") && t.setAttribute("tabindex", "-1"); try { t.blur(); } catch (t) {} t.blur(); }), e ); })(r(217).AbstractNavigatable); e.MenuElement = i; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }); Object.defineProperty(e, "__esModule", { value: !0 }), (e.AbstractEntry = void 0); var i = r(203), s = r(5), a = (function (t) { function e(e, r) { var n = t.call(this) || this; return ( (n._menu = e), (n._type = r), (n.className = s.HtmlClasses.MENUITEM), (n.role = "menuitem"), (n.hidden = !1), n ); } return ( o(e, t), Object.defineProperty(e.prototype, "menu", { get: function () { return this._menu; }, set: function (t) { this._menu = t; }, enumerable: !1, configurable: !0, }), Object.defineProperty(e.prototype, "type", { get: function () { return this._type; }, enumerable: !1, configurable: !0, }), (e.prototype.hide = function () { (this.hidden = !0), this.menu.generateMenu(); }), (e.prototype.show = function () { (this.hidden = !1), this.menu.generateMenu(); }), (e.prototype.isHidden = function () { return this.hidden; }), e ); })(i.MenuElement); e.AbstractEntry = a; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }); Object.defineProperty(e, "__esModule", { value: !0 }), (e.Rule = void 0); var i = r(204), s = r(5), a = (function (t) { function e(e) { var r = t.call(this, e, "rule") || this; return ( (r.className = s.HtmlClasses.MENUITEM), (r.role = "separator"), r ); } return ( o(e, t), (e.fromJson = function (t, e, r) { return new this(r); }), (e.prototype.generateHtml = function () { t.prototype.generateHtml.call(this); var e = this.html; e.classList.add(s.HtmlClasses.MENURULE), e.setAttribute("aria-orientation", "vertical"); }), (e.prototype.addEvents = function (t) {}), (e.prototype.toJson = function () { return { type: "rule" }; }), e ); })(i.AbstractEntry); e.Rule = a; }, function (t, e, r) { "use strict"; (function (t) { var n = (this && this.__assign) || function () { return (n = Object.assign || function (t) { for (var e, r = 1, n = arguments.length; r < n; r++) for (var o in (e = arguments[r])) Object.prototype.hasOwnProperty.call(e, o) && (t[o] = e[o]); return t; }).apply(this, arguments); }, o = (this && this.__values) || function (t) { var e = "function" == typeof Symbol && Symbol.iterator, r = e && t[e], n = 0; if (r) return r.call(t); if (t && "number" == typeof t.length) return { next: function () { return ( t && n >= t.length && (t = void 0), { value: t && t[n++], done: !t } ); }, }; throw new TypeError( e ? "Object is not iterable." : "Symbol.iterator is not defined.", ); }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.CONFIG = e.MathJax = e.Startup = void 0); var i, s = r(1), a = r(14); !(function (r) { var i, s, l = new a.PrioritizedList(); function u(t) { return i.visitTree(t, r.document); } function h() { (i = new e.MathJax._.core.MmlTree.SerializedMmlVisitor.SerializedMmlVisitor()), (s = e.MathJax._.mathjax.mathjax), (r.input = v()), (r.output = b()), (r.adaptor = M()), r.handler && s.handlers.unregister(r.handler), (r.handler = g()), r.handler && (s.handlers.register(r.handler), (r.document = O())); } function p() { var t, e; r.input && r.output && f(); var n = r.output ? r.output.name.toLowerCase() : ""; try { for (var i = o(r.input), s = i.next(); !s.done; s = i.next()) { var a = s.value, c = a.name.toLowerCase(); y(c, a), m(c, a), r.output && d(c, n, a); } } catch (e) { t = { error: e }; } finally { try { s && !s.done && (e = i.return) && e.call(i); } finally { if (t) throw t.error; } } } function f() { (e.MathJax.typeset = function (t) { void 0 === t && (t = null), (r.document.options.elements = t), r.document.reset(), r.document.render(); }), (e.MathJax.typesetPromise = function (t) { return ( void 0 === t && (t = null), (r.document.options.elements = t), r.document.reset(), s.handleRetriesFor(function () { r.document.render(); }) ); }), (e.MathJax.typesetClear = function (t) { void 0 === t && (t = null), t ? r.document.clearMathItemsWithin(t) : r.document.clear(); }); } function d(t, n, o) { var i = t + "2" + n; (e.MathJax[i] = function (t, e) { return ( void 0 === e && (e = {}), (e.format = o.name), r.document.convert(t, e) ); }), (e.MathJax[i + "Promise"] = function (t, e) { return ( void 0 === e && (e = {}), (e.format = o.name), s.handleRetriesFor(function () { return r.document.convert(t, e); }) ); }), (e.MathJax[n + "Stylesheet"] = function () { return r.output.styleSheet(r.document); }), "getMetricsFor" in r.output && (e.MathJax.getMetricsFor = function (t, e) { return r.output.getMetricsFor(t, e); }); } function y(t, n) { var o = e.MathJax._.core.MathItem.STATE; (e.MathJax[t + "2mml"] = function (t, e) { return ( void 0 === e && (e = {}), (e.end = o.CONVERT), (e.format = n.name), u(r.document.convert(t, e)) ); }), (e.MathJax[t + "2mmlPromise"] = function (t, e) { return ( void 0 === e && (e = {}), (e.end = o.CONVERT), (e.format = n.name), s.handleRetriesFor(function () { return u(r.document.convert(t, e)); }) ); }); } function m(t, r) { "tex" === t && (e.MathJax.texReset = function (t) { return void 0 === t && (t = 0), r.parseOptions.tags.reset(t); }); } function v() { var t, n, i = []; try { for ( var s = o(e.CONFIG.input), a = s.next(); !a.done; a = s.next() ) { var c = a.value, l = r.constructors[c]; if (!l) throw Error( 'Input Jax "' + c + '" is not defined (has it been loaded?)', ); i.push(new l(e.MathJax.config[c])); } } catch (e) { t = { error: e }; } finally { try { a && !a.done && (n = s.return) && n.call(s); } finally { if (t) throw t.error; } } return i; } function b() { var t = e.CONFIG.output; if (!t) return null; var n = r.constructors[t]; if (!n) throw Error( 'Output Jax "' + t + '" is not defined (has it been loaded?)', ); return new n(e.MathJax.config[t]); } function M() { var t = e.CONFIG.adaptor; if (!t || "none" === t) return null; var n = r.constructors[t]; if (!n) throw Error( 'DOMAdaptor "' + t + '" is not defined (has it been loaded?)', ); return n(e.MathJax.config[t]); } function g() { var t, n, i = e.CONFIG.handler; if (!i || "none" === i || !r.adaptor) return null; var s = r.constructors[i]; if (!s) throw Error( 'Handler "' + i + '" is not defined (has it been loaded?)', ); var a = new s(r.adaptor, 5); try { for (var c = o(l), u = c.next(); !u.done; u = c.next()) { a = u.value.item(a); } } catch (e) { t = { error: e }; } finally { try { u && !u.done && (n = c.return) && n.call(c); } finally { if (t) throw t.error; } } return a; } function O(t) { return ( void 0 === t && (t = null), s.document( t || e.CONFIG.document, n(n({}, e.MathJax.config.options), { InputJax: r.input, OutputJax: r.output, }), ) ); } (r.constructors = {}), (r.input = []), (r.output = null), (r.handler = null), (r.adaptor = null), (r.elements = null), (r.document = null), (r.promise = new Promise(function (t, e) { (r.promiseResolve = t), (r.promiseReject = e); })), (r.pagePromise = new Promise(function (e, r) { var n = t.document; if ( n && n.readyState && "complete" !== n.readyState && "interactive" !== n.readyState ) { var o = function () { return e(); }; n.defaultView.addEventListener("load", o, !0), n.defaultView.addEventListener("DOMContentLoaded", o, !0); } else e(); })), (r.toMML = u), (r.registerConstructor = function (t, e) { r.constructors[t] = e; }), (r.useHandler = function (t, r) { void 0 === r && (r = !1), (e.CONFIG.handler && !r) || (e.CONFIG.handler = t); }), (r.useAdaptor = function (t, r) { void 0 === r && (r = !1), (e.CONFIG.adaptor && !r) || (e.CONFIG.adaptor = t); }), (r.useInput = function (t, r) { void 0 === r && (r = !1), (c && !r) || e.CONFIG.input.push(t); }), (r.useOutput = function (t, r) { void 0 === r && (r = !1), (e.CONFIG.output && !r) || (e.CONFIG.output = t); }), (r.extendHandler = function (t, e) { void 0 === e && (e = 10), l.add(t, e); }), (r.defaultReady = function () { h(), p(), r.pagePromise .then(function () { return e.CONFIG.pageReady(); }) .then(function () { return r.promiseResolve(); }) .catch(function (t) { return r.promiseReject(t); }); }), (r.defaultPageReady = function () { return e.CONFIG.typeset && e.MathJax.typesetPromise ? e.MathJax.typesetPromise(e.CONFIG.elements) : Promise.resolve(); }), (r.getComponents = h), (r.makeMethods = p), (r.makeTypesetMethods = f), (r.makeOutputMethods = d), (r.makeMmlMethods = y), (r.makeResetMethod = m), (r.getInputJax = v), (r.getOutputJax = b), (r.getAdaptor = M), (r.getHandler = g), (r.getDocument = O); })((i = e.Startup || (e.Startup = {}))), (e.MathJax = s.MathJax), void 0 === e.MathJax._.startup && (s.combineDefaults(e.MathJax.config, "startup", { input: [], output: "", handler: null, adaptor: null, document: "undefined" == typeof document ? "" : document, elements: null, typeset: !0, ready: i.defaultReady.bind(i), pageReady: i.defaultPageReady.bind(i), }), s.combineWithMathJax({ startup: i, options: {} })), (e.CONFIG = e.MathJax.config.startup); var c = 0 !== e.CONFIG.input.length; }).call(this, r(201)); }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__values) || function (t) { var e = "function" == typeof Symbol && Symbol.iterator, r = e && t[e], n = 0; if (r) return r.call(t); if (t && "number" == typeof t.length) return { next: function () { return ( t && n >= t.length && (t = void 0), { value: t && t[n++], done: !t } ); }, }; throw new TypeError( e ? "Object is not iterable." : "Symbol.iterator is not defined.", ); }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.MathMLVisitor = void 0); var s = (function (t) { function e() { var e = (null !== t && t.apply(this, arguments)) || this; return (e.document = null), e; } return ( o(e, t), (e.prototype.visitTree = function (t, e) { this.document = e; var r = e.createElement("top"); return this.visitNode(t, r), (this.document = null), r.firstChild; }), (e.prototype.visitTextNode = function (t, e) { e.appendChild(this.document.createTextNode(t.getText())); }), (e.prototype.visitXMLNode = function (t, e) { e.appendChild(t.getXML().cloneNode(!0)); }), (e.prototype.visitInferredMrowNode = function (t, e) { var r, n; try { for (var o = i(t.childNodes), s = o.next(); !s.done; s = o.next()) { var a = s.value; this.visitNode(a, e); } } catch (t) { r = { error: t }; } finally { try { s && !s.done && (n = o.return) && n.call(o); } finally { if (r) throw r.error; } } }), (e.prototype.visitDefault = function (t, e) { var r, n, o = this.document.createElement(t.kind); this.addAttributes(t, o); try { for (var s = i(t.childNodes), a = s.next(); !a.done; a = s.next()) { var c = a.value; this.visitNode(c, o); } } catch (t) { r = { error: t }; } finally { try { a && !a.done && (n = s.return) && n.call(s); } finally { if (r) throw r.error; } } e.appendChild(o); }), (e.prototype.addAttributes = function (t, e) { var r, n, o = t.attributes, s = o.getExplicitNames(); try { for (var a = i(s), c = a.next(); !c.done; c = a.next()) { var l = c.value; e.setAttribute(l, o.getExplicit(l).toString()); } } catch (t) { r = { error: t }; } finally { try { c && !c.done && (n = a.return) && n.call(a); } finally { if (r) throw r.error; } } }), e ); })(r(58).MmlVisitor); e.MathMLVisitor = s; }, function (t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }), (e.RegisterHTMLHandler = void 0); var n = r(15), o = r(27); e.RegisterHTMLHandler = function (t) { var e = new o.HTMLHandler(t); return n.mathjax.handlers.register(e), e; }; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__assign) || function () { return (i = Object.assign || function (t) { for (var e, r = 1, n = arguments.length; r < n; r++) for (var o in (e = arguments[r])) Object.prototype.hasOwnProperty.call(e, o) && (t[o] = e[o]); return t; }).apply(this, arguments); }, s = (this && this.__read) || function (t, e) { var r = "function" == typeof Symbol && t[Symbol.iterator]; if (!r) return t; var n, o, i = r.call(t), s = []; try { for (; (void 0 === e || e-- > 0) && !(n = i.next()).done; ) s.push(n.value); } catch (t) { o = { error: t }; } finally { try { n && !n.done && (r = i.return) && r.call(i); } finally { if (o) throw o.error; } } return s; }, a = (this && this.__spread) || function () { for (var t = [], e = 0; e < arguments.length; e++) t = t.concat(s(arguments[e])); return t; }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.CommonTeXFontMixin = void 0), (e.CommonTeXFontMixin = function (t) { var e; return ( ((e = (function (t) { function e() { return (null !== t && t.apply(this, arguments)) || this; } return ( o(e, t), (e.prototype.getDelimiterData = function (t) { return this.getChar("-smallop", t) || this.getChar("-size4", t); }), e ); })(t)).defaultVariants = a(t.defaultVariants, [ ["-smallop", "normal"], ["-largeop", "normal"], ["-size3", "normal"], ["-size4", "normal"], ["-tex-calligraphic", "italic"], ["-tex-bold-calligraphic", "bold-italic"], ["-tex-oldstyle", "normal"], ["-tex-bold-oldstyle", "bold"], ["-tex-mathit", "italic"], ["-tex-variant", "normal"], ])), (e.defaultCssFonts = i(i({}, t.defaultCssFonts), { "-smallop": ["serif", !1, !1], "-largeop": ["serif", !1, !1], "-size3": ["serif", !1, !1], "-size4": ["serif", !1, !1], "-tex-calligraphic": ["cursive", !0, !1], "-tex-bold-calligraphic": ["cursive", !0, !0], "-tex-oldstyle": ["serif", !1, !1], "-tex-bold-oldstyle": ["serif", !1, !0], "-tex-mathit": ["serif", !0, !1], })), (e.defaultSizeVariants = [ "normal", "-smallop", "-largeop", "-size3", "-size4", ]), e ); }); }, function (t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }); var n = r(159); Object.defineProperty(e, "doubleStruck", { enumerable: !0, get: function () { return n.doubleStruck; }, }); }, function (t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }); var n = r(180); Object.defineProperty(e, "scriptBold", { enumerable: !0, get: function () { return n.scriptBold; }, }); }, function (t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }); var n = r(181); Object.defineProperty(e, "script", { enumerable: !0, get: function () { return n.script; }, }); }, function (t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }); var n = r(186); Object.defineProperty(e, "texCalligraphic", { enumerable: !0, get: function () { return n.texCalligraphic; }, }); }, function (t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }); var n = r(187); Object.defineProperty(e, "texMathit", { enumerable: !0, get: function () { return n.texMathit; }, }); }, function (t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }); var n = r(188); Object.defineProperty(e, "texOldstyleBold", { enumerable: !0, get: function () { return n.texOldstyleBold; }, }); }, function (t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }); var n = r(189); Object.defineProperty(e, "texOldstyle", { enumerable: !0, get: function () { return n.texOldstyle; }, }); }, function (t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }), (e.AbstractNavigatable = void 0); var n = r(28), o = r(218), i = (function () { function t() { this.bubble = !1; } return ( (t.prototype.bubbleKey = function () { this.bubble = !0; }), (t.prototype.keydown = function (t) { switch (t.keyCode) { case n.KEY.ESCAPE: this.escape(t); break; case n.KEY.RIGHT: this.right(t); break; case n.KEY.LEFT: this.left(t); break; case n.KEY.UP: this.up(t); break; case n.KEY.DOWN: this.down(t); break; case n.KEY.RETURN: case n.KEY.SPACE: this.space(t); break; default: return; } this.bubble ? (this.bubble = !1) : this.stop(t); }), (t.prototype.escape = function (t) {}), (t.prototype.space = function (t) {}), (t.prototype.left = function (t) {}), (t.prototype.right = function (t) {}), (t.prototype.up = function (t) {}), (t.prototype.down = function (t) {}), (t.prototype.stop = function (t) { t && (t.stopPropagation(), t.preventDefault(), (t.cancelBubble = !0)); }), (t.prototype.mousedown = function (t) { return this.stop(t); }), (t.prototype.mouseup = function (t) { return this.stop(t); }), (t.prototype.mouseover = function (t) { return this.stop(t); }), (t.prototype.mouseout = function (t) { return this.stop(t); }), (t.prototype.click = function (t) { return this.stop(t); }), (t.prototype.addEvents = function (t) { t.addEventListener(o.MOUSE.DOWN, this.mousedown.bind(this)), t.addEventListener(o.MOUSE.UP, this.mouseup.bind(this)), t.addEventListener(o.MOUSE.OVER, this.mouseover.bind(this)), t.addEventListener(o.MOUSE.OUT, this.mouseout.bind(this)), t.addEventListener(o.MOUSE.CLICK, this.click.bind(this)), t.addEventListener("keydown", this.keydown.bind(this)), t.addEventListener("dragstart", this.stop.bind(this)), t.addEventListener(o.MOUSE.SELECTSTART, this.stop.bind(this)), t.addEventListener("contextmenu", this.stop.bind(this)), t.addEventListener(o.MOUSE.DBLCLICK, this.stop.bind(this)); }), t ); })(); e.AbstractNavigatable = i; }, function (t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }), (e.MOUSE = void 0), (e.MOUSE = { CLICK: "click", DBLCLICK: "dblclick", DOWN: "mousedown", UP: "mouseup", OVER: "mouseover", OUT: "mouseout", MOVE: "mousemove", SELECTEND: "selectend", SELECTSTART: "selectstart", }); }, function (t, e, r) { "use strict"; var n = (this && this.__values) || function (t) { var e = "function" == typeof Symbol && Symbol.iterator, r = e && t[e], n = 0; if (r) return r.call(t); if (t && "number" == typeof t.length) return { next: function () { return ( t && n >= t.length && (t = void 0), { value: t && t[n++], done: !t } ); }, }; throw new TypeError( e ? "Object is not iterable." : "Symbol.iterator is not defined.", ); }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.MenuStore = void 0); var o = r(9), i = r(5), s = r(28), a = (function () { function t(t) { (this.menu = t), (this.store = []), (this._active = null), (this.counter = 0), (this.attachedClass = i.HtmlClasses.ATTACHED + "_" + o.MenuUtil.counter()), (this.taborder = !0), (this.attrMap = {}); } return ( Object.defineProperty(t.prototype, "active", { get: function () { return this._active; }, set: function (t) { do { if (-1 !== this.store.indexOf(t)) { this._active = t; break; } t = t.parentNode; } while (t); }, enumerable: !1, configurable: !0, }), (t.prototype.next = function () { var t = this.store.length; if (0 === t) return (this.active = null), null; var e = this.store.indexOf(this.active); return ( (e = -1 === e ? 0 : e < t - 1 ? e + 1 : 0), (this.active = this.store[e]), this.active ); }), (t.prototype.previous = function () { var t = this.store.length; if (0 === t) return (this.active = null), null; var e = t - 1, r = this.store.indexOf(this.active); return ( (r = -1 === r || 0 === r ? e : r - 1), (this.active = this.store[r]), this.active ); }), (t.prototype.clear = function () { this.remove(this.store); }), (t.prototype.insert = function (t) { var e, r, o = t instanceof HTMLElement ? [t] : t; try { for (var i = n(o), s = i.next(); !s.done; s = i.next()) { var a = s.value; this.insertElement(a); } } catch (t) { e = { error: t }; } finally { try { s && !s.done && (r = i.return) && r.call(i); } finally { if (e) throw e.error; } } this.sort(); }), (t.prototype.remove = function (t) { var e, r, o = t instanceof HTMLElement ? [t] : t; try { for (var i = n(o), s = i.next(); !s.done; s = i.next()) { var a = s.value; this.removeElement(a); } } catch (t) { e = { error: t }; } finally { try { s && !s.done && (r = i.return) && r.call(i); } finally { if (e) throw e.error; } } this.sort(); }), (t.prototype.inTaborder = function (t) { this.taborder && !t && this.removeTaborder(), !this.taborder && t && this.insertTaborder(), (this.taborder = t); }), (t.prototype.insertTaborder = function () { this.taborder && this.insertTaborder_(); }), (t.prototype.removeTaborder = function () { this.taborder && this.removeTaborder_(); }), (t.prototype.insertElement = function (t) { t.classList.contains(this.attachedClass) || (t.classList.add(this.attachedClass), this.taborder && this.addTabindex(t), this.addEvents(t)); }), (t.prototype.removeElement = function (t) { t.classList.contains(this.attachedClass) && (t.classList.remove(this.attachedClass), this.taborder && this.removeTabindex(t), this.removeEvents(t)); }), (t.prototype.sort = function () { var t = document.getElementsByClassName(this.attachedClass); this.store = [].slice.call(t); }), (t.prototype.insertTaborder_ = function () { this.store.forEach(function (t) { return t.setAttribute("tabindex", "0"); }); }), (t.prototype.removeTaborder_ = function () { this.store.forEach(function (t) { return t.setAttribute("tabindex", "-1"); }); }), (t.prototype.addTabindex = function (t) { t.hasAttribute("tabindex") && t.setAttribute(i.HtmlAttrs.OLDTAB, t.getAttribute("tabindex")), t.setAttribute("tabindex", "0"); }), (t.prototype.removeTabindex = function (t) { t.hasAttribute(i.HtmlAttrs.OLDTAB) ? (t.setAttribute("tabindex", t.getAttribute(i.HtmlAttrs.OLDTAB)), t.removeAttribute(i.HtmlAttrs.OLDTAB)) : t.removeAttribute("tabindex"); }), (t.prototype.addEvents = function (t) { t.hasAttribute(i.HtmlAttrs.COUNTER) || (this.addEvent(t, "contextmenu", this.menu.post.bind(this.menu)), this.addEvent(t, "keydown", this.keydown.bind(this)), t.setAttribute(i.HtmlAttrs.COUNTER, this.counter.toString()), this.counter++); }), (t.prototype.addEvent = function (t, e, r) { var n = i.HtmlAttrs[e.toUpperCase() + "FUNC"]; (this.attrMap[n + this.counter] = r), t.addEventListener(e, r); }), (t.prototype.removeEvents = function (t) { if (t.hasAttribute(i.HtmlAttrs.COUNTER)) { var e = t.getAttribute(i.HtmlAttrs.COUNTER); this.removeEvent(t, "contextmenu", e), this.removeEvent(t, "keydown", e), t.removeAttribute(i.HtmlAttrs.COUNTER); } }), (t.prototype.removeEvent = function (t, e, r) { var n = i.HtmlAttrs[e.toUpperCase() + "FUNC"], o = this.attrMap[n + r]; t.removeEventListener(e, o); }), (t.prototype.keydown = function (t) { t.keyCode === s.KEY.SPACE && (this.menu.post(t), t.preventDefault(), t.stopImmediatePropagation()); }), t ); })(); e.MenuStore = a; }, function (t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }), (e.VariablePool = void 0); var n = (function () { function t() { this.pool = {}; } return ( (t.prototype.insert = function (t) { this.pool[t.name] = t; }), (t.prototype.lookup = function (t) { return this.pool[t]; }), (t.prototype.remove = function (t) { delete this.pool[t]; }), (t.prototype.update = function () { for (var t in this.pool) this.pool[t].update(); }), t ); })(); e.VariablePool = n; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }); Object.defineProperty(e, "__esModule", { value: !0 }), (e.CloseButton = void 0); var i = r(72), s = r(5), a = (function (t) { function e(e) { var r = t.call(this) || this; return ( (r.element = e), (r.className = s.HtmlClasses.MENUCLOSE), (r.role = "button"), r ); } return ( o(e, t), (e.prototype.generateHtml = function () { var t = document.createElement("span"); t.classList.add(this.className), t.setAttribute("role", this.role), t.setAttribute("tabindex", "0"); var e = document.createElement("span"); (e.textContent = "\xd7"), t.appendChild(e), (this.html = t); }), (e.prototype.display = function () {}), (e.prototype.unpost = function () { t.prototype.unpost.call(this), this.element.unpost(); }), (e.prototype.keydown = function (e) { this.bubbleKey(), t.prototype.keydown.call(this, e); }), (e.prototype.space = function (t) { this.unpost(), this.stop(t); }), (e.prototype.mousedown = function (t) { this.unpost(), this.stop(t); }), e ); })(i.AbstractPostable); e.CloseButton = a; }, function (t, e, r) { "use strict"; var n = (this && this.__rest) || function (t, e) { var r = {}; for (var n in t) Object.prototype.hasOwnProperty.call(t, n) && e.indexOf(n) < 0 && (r[n] = t[n]); if (null != t && "function" == typeof Object.getOwnPropertySymbols) { var o = 0; for (n = Object.getOwnPropertySymbols(t); o < n.length; o++) e.indexOf(n[o]) < 0 && Object.prototype.propertyIsEnumerable.call(t, n[o]) && (r[n[o]] = t[n[o]]); } return r; }, o = (this && this.__read) || function (t, e) { var r = "function" == typeof Symbol && t[Symbol.iterator]; if (!r) return t; var n, o, i = r.call(t), s = []; try { for (; (void 0 === e || e-- > 0) && !(n = i.next()).done; ) s.push(n.value); } catch (t) { o = { error: t }; } finally { try { n && !n.done && (r = i.return) && r.call(i); } finally { if (o) throw o.error; } } return s; }, i = (this && this.__values) || function (t) { var e = "function" == typeof Symbol && Symbol.iterator, r = e && t[e], n = 0; if (r) return r.call(t); if (t && "number" == typeof t.length) return { next: function () { return ( t && n >= t.length && (t = void 0), { value: t && t[n++], done: !t } ); }, }; throw new TypeError( e ? "Object is not iterable." : "Symbol.iterator is not defined.", ); }, s = (this && this.__spread) || function () { for (var t = [], e = 0; e < arguments.length; e++) t = t.concat(o(arguments[e])); return t; }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.Parser = void 0); var a = r(223), c = r(202), l = r(224), u = r(225), h = r(226), p = r(227), f = r(228), d = r(73), y = r(205), m = r(229), v = r(230), b = r(231), M = r(232), g = (function () { function t(t) { var e = this; void 0 === t && (t = []), (this._initList = [ ["command", a.Command.fromJson.bind(a.Command)], ["checkbox", u.Checkbox.fromJson.bind(u.Checkbox)], ["combo", h.Combo.fromJson.bind(h.Combo)], ["slider", m.Slider.fromJson.bind(m.Slider)], ["label", p.Label.fromJson.bind(p.Label)], ["radio", f.Radio.fromJson.bind(f.Radio)], ["rule", y.Rule.fromJson.bind(y.Rule)], ["submenu", d.Submenu.fromJson.bind(d.Submenu)], ["contextMenu", c.ContextMenu.fromJson.bind(c.ContextMenu)], ["subMenu", v.SubMenu.fromJson.bind(v.SubMenu)], ["variable", l.Variable.fromJson.bind(l.Variable)], ["items", this.items.bind(this)], ["selectionMenu", b.SelectionMenu.fromJson.bind(b.SelectionMenu)], ["selectionBox", b.SelectionBox.fromJson.bind(b.SelectionBox)], ]), (this._factory = new M.ParserFactory(this._initList)), t.forEach(function (t) { var r = o(t, 2), n = r[0], i = r[1]; return e.factory.add(n, i); }); } return ( Object.defineProperty(t.prototype, "factory", { get: function () { return this._factory; }, enumerable: !1, configurable: !0, }), (t.prototype.items = function (t, e, r) { var n, o, s = []; try { for (var a = i(e), c = a.next(); !c.done; c = a.next()) { var l = c.value, u = this.parse(l, r); u && (r.items.push(u), l.disabled && u.disable(), l.hidden && s.push(u)); } } catch (t) { n = { error: t }; } finally { try { c && !c.done && (o = a.return) && o.call(a); } finally { if (n) throw n.error; } } return ( s.forEach(function (t) { return t.hide(); }), r.items ); }), (t.prototype.parse = function (t) { for (var e = [], r = 1; r < arguments.length; r++) e[r - 1] = arguments[r]; var o = t.type, i = n(t, ["type"]), a = this.factory.get(o); return a ? a.apply(void 0, s([this.factory, i], e)) : null; }), t ); })(); e.Parser = g; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }); Object.defineProperty(e, "__esModule", { value: !0 }), (e.Command = void 0); var i = r(18), s = r(9), a = (function (t) { function e(e, r, n, o) { var i = t.call(this, e, "command", r, o) || this; return (i.command = n), i; } return ( o(e, t), (e.fromJson = function (t, e, r) { return new this(r, e.content, e.action, e.id); }), (e.prototype.executeAction = function () { try { this.command(s.MenuUtil.getActiveElement(this)); } catch (t) { s.MenuUtil.error(t, "Illegal command callback."); } s.MenuUtil.close(this); }), (e.prototype.toJson = function () { return { type: "" }; }), e ); })(i.AbstractItem); e.Command = a; }, function (t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }), (e.Variable = void 0); var n = r(9), o = (function () { function t(t, e, r) { (this._name = t), (this.getter = e), (this.setter = r), (this.items = []); } return ( (t.fromJson = function (t, e, r) { var n = new this(e.name, e.getter, e.setter); r.insert(n); }), Object.defineProperty(t.prototype, "name", { get: function () { return this._name; }, enumerable: !1, configurable: !0, }), (t.prototype.getValue = function (t) { try { return this.getter(t); } catch (t) { return ( n.MenuUtil.error( t, "Command of variable " + this.name + " failed.", ), null ); } }), (t.prototype.setValue = function (t, e) { try { this.setter(t, e); } catch (t) { n.MenuUtil.error( t, "Command of variable " + this.name + " failed.", ); } this.update(); }), (t.prototype.register = function (t) { -1 === this.items.indexOf(t) && this.items.push(t); }), (t.prototype.unregister = function (t) { var e = this.items.indexOf(t); -1 !== e && this.items.splice(e, 1); }), (t.prototype.update = function () { this.items.forEach(function (t) { return t.update(); }); }), (t.prototype.registerCallback = function (t) { this.items.forEach(function (e) { return e.registerCallback(t); }); }), (t.prototype.unregisterCallback = function (t) { this.items.forEach(function (e) { return e.unregisterCallback(t); }); }), (t.prototype.toJson = function () { return { type: "variable", name: this.name, getter: this.getter.toString(), setter: this.setter.toString(), }; }), t ); })(); e.Variable = o; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }); Object.defineProperty(e, "__esModule", { value: !0 }), (e.Checkbox = void 0); var i = r(29), s = r(9), a = r(5), c = (function (t) { function e(e, r, n, o) { var i = t.call(this, e, "checkbox", r, o) || this; return ( (i.role = "menuitemcheckbox"), (i.variable = e.pool.lookup(n)), i.register(), i ); } return ( o(e, t), (e.fromJson = function (t, e, r) { return new this(r, e.content, e.variable, e.id); }), (e.prototype.executeAction = function () { this.variable.setValue(!this.variable.getValue()), s.MenuUtil.close(this); }), (e.prototype.generateSpan = function () { (this.span = document.createElement("span")), (this.span.textContent = "\u2713"), this.span.classList.add(a.HtmlClasses.MENUCHECK); }), (e.prototype.updateAria = function () { this.html.setAttribute( "aria-checked", this.variable.getValue() ? "true" : "false", ); }), (e.prototype.updateSpan = function () { this.span.style.display = this.variable.getValue() ? "" : "none"; }), (e.prototype.toJson = function () { return { type: "" }; }), e ); })(i.AbstractVariableItem); e.Checkbox = c; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }); Object.defineProperty(e, "__esModule", { value: !0 }), (e.Combo = void 0); var i = r(29), s = r(9), a = r(5), c = r(28), l = (function (t) { function e(e, r, n, o) { var i = t.call(this, e, "combobox", r, o) || this; return ( (i.role = "combobox"), (i.inputEvent = !1), (i.variable = e.pool.lookup(n)), i.register(), i ); } return ( o(e, t), (e.fromJson = function (t, e, r) { return new this(r, e.content, e.variable, e.id); }), (e.prototype.executeAction = function () { this.variable.setValue( this.input.value, s.MenuUtil.getActiveElement(this), ); }), (e.prototype.space = function (e) { t.prototype.space.call(this, e), s.MenuUtil.close(this); }), (e.prototype.focus = function () { t.prototype.focus.call(this), this.input.focus(); }), (e.prototype.unfocus = function () { t.prototype.unfocus.call(this), this.updateSpan(); }), (e.prototype.generateHtml = function () { t.prototype.generateHtml.call(this), this.html.classList.add(a.HtmlClasses.MENUCOMBOBOX); }), (e.prototype.generateSpan = function () { (this.span = document.createElement("span")), this.span.classList.add(a.HtmlClasses.MENUINPUTBOX), (this.input = document.createElement("input")), this.input.addEventListener("keydown", this.inputKey.bind(this)), this.input.setAttribute("size", "10em"), this.input.setAttribute("type", "text"), this.input.setAttribute("tabindex", "-1"), this.span.appendChild(this.input); }), (e.prototype.inputKey = function (t) { this.bubbleKey(), (this.inputEvent = !0); }), (e.prototype.keydown = function (e) { if ( this.inputEvent && e.keyCode !== c.KEY.ESCAPE && e.keyCode !== c.KEY.RETURN ) return (this.inputEvent = !1), void e.stopPropagation(); t.prototype.keydown.call(this, e), e.stopPropagation(); }), (e.prototype.updateAria = function () {}), (e.prototype.updateSpan = function () { var t; try { t = this.variable.getValue(s.MenuUtil.getActiveElement(this)); } catch (e) { t = ""; } this.input.value = t; }), (e.prototype.toJson = function () { return { type: "" }; }), e ); })(i.AbstractVariableItem); e.Combo = l; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }); Object.defineProperty(e, "__esModule", { value: !0 }), (e.Label = void 0); var i = r(18), s = r(5), a = (function (t) { function e(e, r, n) { return t.call(this, e, "label", r, n) || this; } return ( o(e, t), (e.fromJson = function (t, e, r) { return new this(r, e.content, e.id); }), (e.prototype.generateHtml = function () { t.prototype.generateHtml.call(this), this.html.classList.add(s.HtmlClasses.MENULABEL); }), (e.prototype.toJson = function () { return { type: "" }; }), e ); })(i.AbstractItem); e.Label = a; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }); Object.defineProperty(e, "__esModule", { value: !0 }), (e.Radio = void 0); var i = r(29), s = r(9), a = r(5), c = (function (t) { function e(e, r, n, o) { var i = t.call(this, e, "radio", r, o) || this; return ( (i.role = "menuitemradio"), (i.variable = e.pool.lookup(n)), i.register(), i ); } return ( o(e, t), (e.fromJson = function (t, e, r) { return new this(r, e.content, e.variable, e.id); }), (e.prototype.executeAction = function () { this.variable.setValue(this.id), s.MenuUtil.close(this); }), (e.prototype.generateSpan = function () { (this.span = document.createElement("span")), (this.span.textContent = "\u2713"), this.span.classList.add(a.HtmlClasses.MENURADIOCHECK); }), (e.prototype.updateAria = function () { this.html.setAttribute( "aria-checked", this.variable.getValue() === this.id ? "true" : "false", ); }), (e.prototype.updateSpan = function () { this.span.style.display = this.variable.getValue() === this.id ? "" : "none"; }), (e.prototype.toJson = function () { return { type: "" }; }), e ); })(i.AbstractVariableItem); e.Radio = c; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }); Object.defineProperty(e, "__esModule", { value: !0 }), (e.Slider = void 0); var i = r(29), s = r(9), a = r(5), c = r(28), l = (function (t) { function e(e, r, n, o) { var i = t.call(this, e, "slider", r, o) || this; return ( (i.role = "slider"), (i.labelId = "ctx_slideLabel" + s.MenuUtil.counter()), (i.valueId = "ctx_slideValue" + s.MenuUtil.counter()), (i.inputEvent = !1), (i.variable = e.pool.lookup(n)), i.register(), i ); } return ( o(e, t), (e.fromJson = function (t, e, r) { return new this(r, e.content, e.variable, e.id); }), (e.prototype.executeAction = function () { this.variable.setValue( this.input.value, s.MenuUtil.getActiveElement(this), ), this.update(); }), (e.prototype.space = function (e) { t.prototype.space.call(this, e), s.MenuUtil.close(this); }), (e.prototype.focus = function () { t.prototype.focus.call(this), this.input.focus(); }), (e.prototype.unfocus = function () { t.prototype.unfocus.call(this), this.updateSpan(); }), (e.prototype.generateHtml = function () { t.prototype.generateHtml.call(this), this.html.classList.add(a.HtmlClasses.MENUSLIDER), (this.valueSpan = document.createElement("span")), this.valueSpan.setAttribute("id", this.valueId), this.valueSpan.classList.add(a.HtmlClasses.SLIDERVALUE), this.html.appendChild(this.valueSpan); }), (e.prototype.generateSpan = function () { (this.span = document.createElement("span")), (this.labelSpan = document.createElement("span")), this.labelSpan.setAttribute("id", this.labelId), this.labelSpan.appendChild(this.html.childNodes[0]), this.html.appendChild(this.labelSpan), (this.input = document.createElement("input")), this.input.setAttribute("type", "range"), this.input.setAttribute("min", "0"), this.input.setAttribute("max", "100"), this.input.setAttribute("aria-valuemin", "0"), this.input.setAttribute("aria-valuemax", "100"), this.input.setAttribute("aria-labelledby", this.labelId), this.input.addEventListener("keydown", this.inputKey.bind(this)), this.input.addEventListener( "input", this.executeAction.bind(this), ), this.input.classList.add(a.HtmlClasses.SLIDERBAR), this.span.appendChild(this.input); }), (e.prototype.inputKey = function (t) { this.inputEvent = !0; }), (e.prototype.mousedown = function (t) { t.stopPropagation(); }), (e.prototype.mouseup = function (t) { event.stopPropagation(); }), (e.prototype.keydown = function (e) { var r = e.keyCode; return r === c.KEY.UP || r === c.KEY.DOWN ? (e.preventDefault(), void t.prototype.keydown.call(this, e)) : this.inputEvent && r !== c.KEY.ESCAPE && r !== c.KEY.RETURN ? ((this.inputEvent = !1), void e.stopPropagation()) : (t.prototype.keydown.call(this, e), void e.stopPropagation()); }), (e.prototype.updateAria = function () { var t = this.variable.getValue(); t && this.input && (this.input.setAttribute("aria-valuenow", t), this.input.setAttribute("aria-valuetext", t + "%")); }), (e.prototype.updateSpan = function () { var t; try { (t = this.variable.getValue(s.MenuUtil.getActiveElement(this))), (this.valueSpan.innerHTML = t + "%"); } catch (e) { t = ""; } this.input.value = t; }), (e.prototype.toJson = function () { return { type: "" }; }), e ); })(i.AbstractVariableItem); e.Slider = l; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }); Object.defineProperty(e, "__esModule", { value: !0 }), (e.SubMenu = void 0); var i = (function (t) { function e(e) { var r = t.call(this) || this; return ( (r._anchor = e), (r.variablePool = r.anchor.menu.pool), r.setBaseMenu(), r ); } return ( o(e, t), (e.fromJson = function (t, e, r) { var n = e.items, o = new this(r), i = t.get("items")(t, n, o); return (o.items = i), o; }), Object.defineProperty(e.prototype, "anchor", { get: function () { return this._anchor; }, enumerable: !1, configurable: !0, }), (e.prototype.post = function () { if (this.anchor.menu.isPosted()) { for ( var e = this.anchor.html, r = this.html, n = this.baseMenu.frame, o = e.offsetWidth, i = o - 2, s = 0; e && e !== n; ) (i += e.offsetLeft), (s += e.offsetTop), (e = e.parentNode); i + r.offsetWidth > document.body.offsetWidth - 5 && (i = Math.max(5, i - o - r.offsetWidth + 6)), t.prototype.post.call(this, i, s); } }), (e.prototype.display = function () { this.baseMenu.frame.appendChild(this.html); }), (e.prototype.setBaseMenu = function () { var t = this; do { t = t.anchor.menu; } while (t instanceof e); this.baseMenu = t; }), (e.prototype.left = function (t) { (this.focused = null), this.anchor.focus(); }), (e.prototype.toJson = function () { return { type: "" }; }), e ); })(r(71).AbstractMenu); e.SubMenu = i; }, function (t, e, r) { "use strict"; var n, o = (this && this.__extends) || ((n = function (t, e) { return (n = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (t, e) { t.__proto__ = e; }) || function (t, e) { for (var r in e) e.hasOwnProperty(r) && (t[r] = e[r]); })(t, e); }), function (t, e) { function r() { this.constructor = t; } n(t, e), (t.prototype = null === e ? Object.create(e) : ((r.prototype = e.prototype), new r())); }), i = (this && this.__read) || function (t, e) { var r = "function" == typeof Symbol && t[Symbol.iterator]; if (!r) return t; var n, o, i = r.call(t), s = []; try { for (; (void 0 === e || e-- > 0) && !(n = i.next()).done; ) s.push(n.value); } catch (t) { o = { error: t }; } finally { try { n && !n.done && (r = i.return) && r.call(i); } finally { if (o) throw o.error; } } return s; }; Object.defineProperty(e, "__esModule", { value: !0 }), (e.SelectionBox = e.SelectionMenu = void 0); var s = r(9), a = r(5), c = r(71), l = r(74), u = (function (t) { function e(e) { var r = t.call(this) || this; return ( (r.anchor = e), (r.className = a.HtmlClasses.SELECTIONMENU), (r.variablePool = r.anchor.menu.pool), (r.baseMenu = r.anchor.menu), r ); } return ( o(e, t), (e.fromJson = function (t, e, r) { var n = e.title, o = e.values, i = e.variable, s = new this(r), a = t.get("label")(t, { content: n || "", id: n || "id" }, s), c = t.get("rule")(t, {}, s), l = o.map(function (e) { return t.get("radio")(t, { content: e, variable: i, id: e }, s); }), u = [a, c].concat(l); return (s.items = u), s; }), (e.prototype.generateHtml = function () { t.prototype.generateHtml.call(this), this.items.forEach(function (t) { return t.html.classList.add(a.HtmlClasses.SELECTIONITEM); }); }), (e.prototype.display = function () {}), (e.prototype.right = function (t) { this.anchor.right(t); }), (e.prototype.left = function (t) { this.anchor.left(t); }), e ); })(c.AbstractMenu); e.SelectionMenu = u; var h = (function (t) { function e(e, r, n, o) { void 0 === n && (n = "none"), void 0 === o && (o = "vertical"); var i = t.call(this, e, null, r) || this; return ( (i.style = n), (i.grid = o), (i._selections = []), (i.prefix = "ctxt-selection"), (i._balanced = !0), i ); } return ( o(e, t), (e.fromJson = function (t, e, r) { var n = e.title, o = e.signature, i = e.selections, s = new this(n, o, e.order, e.grid); s.attachMenu(r); var a = i.map(function (e) { return t.get("selectionMenu")(t, e, s); }); return (s.selections = a), s; }), (e.prototype.attachMenu = function (t) { this.menu = t; }), Object.defineProperty(e.prototype, "selections", { get: function () { return this._selections; }, set: function (t) { var e = this; (this._selections = []), t.forEach(function (t) { return e.addSelection(t); }); }, enumerable: !1, configurable: !0, }), (e.prototype.addSelection = function (t) { (t.anchor = this), this._selections.push(t); }), (e.prototype.rowDiv = function (t) { var e = this, r = document.createElement("div"); this.contentDiv.appendChild(r); var n = t.map(function (t) { return ( r.appendChild(t.html), t.html.id || (t.html.id = e.prefix + s.MenuUtil.counter()), t.html.getBoundingClientRect() ); }), o = n.map(function (t) { return t.width; }), i = o.reduce(function (t, e) { return t + e; }, 0), c = n.reduce(function (t, e) { return Math.max(t, e.height); }, 0); return ( r.classList.add(a.HtmlClasses.SELECTIONDIVIDER), r.setAttribute("style", "height: " + c + "px;"), [r, i, c, o] ); }), (e.prototype.display = function () { if ( (t.prototype.display.call(this), this.order(), this.selections.length) ) { for ( var e = [], r = 0, n = [], o = this.getChunkSize(this.selections.length), s = function (t) { var s = a.selections.slice(t, t + o), c = i(a.rowDiv(s), 4), l = c[0], u = c[1], h = c[2], p = c[3]; e.push(l), (r = Math.max(r, u)), s.forEach(function (t) { return (t.html.style.height = h + "px"); }), (n = a.combineColumn(n, p)); }, a = this, c = 0; c < this.selections.length; c += o ) s(c); this._balanced && (this.balanceColumn(e, n), (r = n.reduce(function (t, e) { return t + e; }, 20))), e.forEach(function (t) { return (t.style.width = r + "px"); }); } }), (e.prototype.getChunkSize = function (t) { switch (this.grid) { case "square": return Math.floor(Math.sqrt(t)); case "horizontal": return Math.floor(t / e.chunkSize); case "vertical": default: return e.chunkSize; } }), (e.prototype.balanceColumn = function (t, e) { t.forEach(function (t) { for ( var r = Array.from(t.children), n = 0, o = void 0; (o = r[n]); n++ ) o.style.width = e[n] + "px"; }); }), (e.prototype.combineColumn = function (t, e) { for (var r = [], n = 0; t[n] || e[n]; ) { if (!t[n]) { r = r.concat(e.slice(n)); break; } if (!e[n]) { r = r.concat(t.slice(n)); break; } r.push(Math.max(t[n], e[n])), n++; } return r; }), (e.prototype.left = function (t) { var e = this; this.move(t, function (t) { return (0 === t ? e.selections.length : t) - 1; }); }), (e.prototype.right = function (t) { var e = this; this.move(t, function (t) { return t === e.selections.length - 1 ? 0 : t + 1; }); }), (e.prototype.generateHtml = function () { t.prototype.generateHtml.call(this), this.html.classList.add(a.HtmlClasses.SELECTION); }), (e.prototype.generateContent = function () { var e = t.prototype.generateContent.call(this); return ( e.classList.add(a.HtmlClasses.SELECTIONBOX), e.removeAttribute("tabindex"), e ); }), (e.prototype.findSelection = function (t) { var e = t.target, r = null; if ( (e.id && (r = this.selections.find(function (t) { return t.html.id === e.id; })), !r) ) { var n = e.parentElement.id; r = this.selections.find(function (t) { return t.html.id === n; }); } return r; }), (e.prototype.move = function (t, e) { var r = this.findSelection(t); r.focused && r.focused.unfocus(); var n = e(this.selections.indexOf(r)); this.selections[n].focus(); }), (e.prototype.order = function () { this.selections.sort(e.orderMethod.get(this.style)); }), (e.prototype.toJson = function () { return { type: "" }; }), (e.chunkSize = 4), (e.orderMethod = new Map([ [ "alphabetical", function (t, e) { return t.items[0].content.localeCompare(e.items[0].content); }, ], [ "none", function (t, e) { return 1; }, ], [ "decreasing", function (t, e) { var r = t.items.length, n = e.items.length; return r < n ? 1 : n < r ? -1 : 0; }, ], [ "increasing", function (t, e) { var r = t.items.length, n = e.items.length; return r < n ? -1 : n < r ? 1 : 0; }, ], ])), e ); })(l.Info); e.SelectionBox = h; }, function (t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }), (e.ParserFactory = void 0); var n = (function () { function t(t) { this._parser = new Map(t); } return ( (t.prototype.get = function (t) { return this._parser.get(t); }), (t.prototype.add = function (t, e) { this._parser.set(t, e); }), t ); })(); e.ParserFactory = n; }, function (t, e, r) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }), (e.CssStyles = void 0); var n = r(5); !(function (t) { function e(t) { return "." + (n.HtmlClasses[t] || t); } var r = {}; (r[e("INFOCLOSE")] = "{ top:.2em; right:.2em;}"), (r[e("INFOCONTENT")] = "{ overflow:auto; text-align:left; font-size:80%; padding:.4em .6em; border:1px inset; margin:1em 0px; max-height:20em; max-width:30em; background-color:#EEEEEE; white-space:normal;}"), (r[e("INFO") + e("MOUSEPOST")] = "{outline:none;}"), (r[e("INFO")] = '{ position:fixed; left:50%; width:auto; text-align:center; border:3px outset; padding:1em 2em; background-color:#DDDDDD; color:black; cursor:default; font-family:message-box; font-size:120%; font-style:normal; text-indent:0; text-transform:none; line-height:normal; letter-spacing:normal; word-spacing:normal; word-wrap:normal; white-space:nowrap; float:none; z-index:201; border-radius: 15px; /* Opera 10.5 and IE9 */ -webkit-border-radius:15px; /* Safari and Chrome */ -moz-border-radius:15px; /* Firefox */ -khtml-border-radius:15px; /* Konqueror */ box-shadow:0px 10px 20px #808080; /* Opera 10.5 and IE9 */ -webkit-box-shadow:0px 10px 20px #808080; /* Safari 3 & Chrome */ -moz-box-shadow:0px 10px 20px #808080; /* Forefox 3.5 */ -khtml-box-shadow:0px 10px 20px #808080; /* Konqueror */ filter:progid:DXImageTransform.Microsoft.dropshadow(OffX=2, OffY=2, Color="gray", Positive="true"); /* IE */}'); var o = {}; (o[e("MENU")] = "{ position:absolute; background-color:white; color:black; width:auto; padding:5px 0px; border:1px solid #CCCCCC; margin:0; cursor:default; font: menu; text-align:left; text-indent:0; text-transform:none; line-height:normal; letter-spacing:normal; word-spacing:normal; word-wrap:normal; white-space:nowrap; float:none; z-index:201; border-radius: 5px; /* Opera 10.5 and IE9 */ -webkit-border-radius: 5px; /* Safari and Chrome */ -moz-border-radius: 5px; /* Firefox */ -khtml-border-radius: 5px; /* Konqueror */ box-shadow:0px 10px 20px #808080; /* Opera 10.5 and IE9 */ -webkit-box-shadow:0px 10px 20px #808080; /* Safari 3 & Chrome */ -moz-box-shadow:0px 10px 20px #808080; /* Forefox 3.5 */ -khtml-box-shadow:0px 10px 20px #808080; /* Konqueror */}"), (o[e("MENUITEM")] = "{ padding: 1px 2em; background:transparent;}"), (o[e("MENUARROW")] = "{ position:absolute; right:.5em; padding-top:.25em; color:#666666; font-family: null; font-size: .75em}"), (o[e("MENUACTIVE") + " " + e("MENUARROW")] = "{color:white}"), (o[e("MENUARROW") + e("RTL")] = "{left:.5em; right:auto}"), (o[e("MENUCHECK")] = "{ position:absolute; left:.7em; font-family: null}"), (o[e("MENUCHECK") + e("RTL")] = "{ right:.7em; left:auto }"), (o[e("MENURADIOCHECK")] = "{ position:absolute; left: .7em;}"), (o[e("MENURADIOCHECK") + e("RTL")] = "{ right: .7em; left:auto}"), (o[e("MENUINPUTBOX")] = "{ padding-left: 1em; right:.5em; color:#666666; font-family: null;}"), (o[e("MENUINPUTBOX") + e("RTL")] = "{ left: .1em;}"), (o[e("MENUCOMBOBOX")] = "{ left:.1em; padding-bottom:.5em;}"), (o[e("MENUSLIDER")] = "{ left: .1em;}"), (o[e("SLIDERVALUE")] = "{ position:absolute; right:.1em; padding-top:.25em; color:#333333; font-size: .75em}"), (o[e("SLIDERBAR")] = "{ outline: none; background: #d3d3d3}"), (o[e("MENULABEL")] = "{ padding: 1px 2em 3px 1.33em; font-style:italic}"), (o[e("MENURULE")] = "{ border-top: 1px solid #DDDDDD; margin: 4px 3px;}"), (o[e("MENUDISABLED")] = "{ color:GrayText}"), (o[e("MENUACTIVE")] = "{ background-color: #606872; color: white;}"), (o[e("MENUDISABLED") + ":focus"] = "{ background-color: #E8E8E8}"), (o[e("MENULABEL") + ":focus"] = "{ background-color: #E8E8E8}"), (o[e("CONTEXTMENU") + ":focus"] = "{ outline:none}"), (o[e("CONTEXTMENU") + " " + e("MENUITEM") + ":focus"] = "{ outline:none}"), (o[e("SELECTIONMENU")] = "{ position:relative; float:left; border-bottom: none; -webkit-box-shadow:none; -webkit-border-radius:0px; }"), (o[e("SELECTIONITEM")] = "{ padding-right: 1em;}"), (o[e("SELECTION")] = "{ right: 40%; width:50%; }"), (o[e("SELECTIONBOX")] = "{ padding: 0em; max-height:20em; max-width: none; background-color:#FFFFFF;}"), (o[e("SELECTIONDIVIDER")] = "{ clear: both; border-top: 2px solid #000000;}"), (o[e("MENU") + " " + e("MENUCLOSE")] = "{ top:-10px; left:-10px}"); var i = {}; (i[e("MENUCLOSE")] = '{ position:absolute; cursor:pointer; display:inline-block; border:2px solid #AAA; border-radius:18px; -webkit-border-radius: 18px; /* Safari and Chrome */ -moz-border-radius: 18px; /* Firefox */ -khtml-border-radius: 18px; /* Konqueror */ font-family: "Courier New", Courier; font-size:24px; color:#F0F0F0}'), (i[e("MENUCLOSE") + " span"] = "{ display:block; background-color:#AAA; border:1.5px solid; border-radius:18px; -webkit-border-radius: 18px; /* Safari and Chrome */ -moz-border-radius: 18px; /* Firefox */ -khtml-border-radius: 18px; /* Konqueror */ line-height:0; padding:8px 0 6px /* may need to be browser-specific */}"), (i[e("MENUCLOSE") + ":hover"] = "{ color:white!important; border:2px solid #CCC!important}"), (i[e("MENUCLOSE") + ":hover span"] = "{ background-color:#CCC!important}"), (i[e("MENUCLOSE") + ":hover:focus"] = "{ outline:none}"); var s = !1, a = !1, c = !1; function l(t) { c || (u(i, t), (c = !0)); } function u(t, e) { var r = e || document, n = r.createElement("style"); n.type = "text/css"; var o = ""; for (var i in t) (o += i), (o += " "), (o += t[i]), (o += "\n"); (n.innerHTML = o), r.head.appendChild(n); } (t.addMenuStyles = function (t) { a || (u(o, t), (a = !0), l(t)); }), (t.addInfoStyles = function (t) { s || (u(r, t), (s = !0), l(t)); }); })(e.CssStyles || (e.CssStyles = {})); }, function (t, e, r) { "use strict"; r.r(e); var n = r(1), o = r(6), i = r(16), s = r(206); Object(n.combineWithMathJax)({ _: { components: { loader: o, package: i, startup: s } }, }), o.Loader.preLoad( "loader", "startup", "core", "input/mml", "output/chtml", "output/chtml/fonts/tex.js", "ui/menu", "a11y/assistive-mml", ); var a = r(75), c = r(66), l = r(76), u = r(77), h = r(78), p = r(90), f = r(31), d = r(30), y = r(10), m = r(33), v = r(12), b = r(81), M = r(207), g = r(34), O = r(0), x = r(57), S = r(49), _ = r(86), E = r(87), C = r(37), L = r(88), T = r(48), A = r(84), w = r(47), N = r(43), j = r(55), R = r(20), I = r(51), P = r(38), B = r(21), k = r(46), D = r(85), H = r(45), F = r(42), W = r(41), X = r(40), J = r(44), V = r(83), z = r(22), U = r(52), K = r(54), q = r(39), G = r(53), Z = r(50), Y = r(56), $ = r(58), Q = r(82), tt = r(59), et = r(32), rt = r(35), nt = r(36), ot = r(80), it = r(91), st = r(92), at = r(93), ct = r(208), lt = r(94), ut = r(97), ht = r(27), pt = r(95), ft = r(96), dt = r(15), yt = r(98), mt = r(8), vt = r(89), bt = r(99), Mt = r(19), gt = r(79), Ot = r(4), xt = r(14), St = r(60), _t = r(100), Et = r(61), Ct = r(11), Lt = r(101), Tt = r(7); Object(n.combineWithMathJax)({ _: { adaptors: { HTMLAdaptor: a, browserAdaptor: c }, components: { global: n }, core: { DOMAdaptor: l, FindMath: u, Handler: h, HandlerList: p, InputJax: f, MathDocument: d, MathItem: y, MathList: m, MmlTree: { Attributes: v, MML: b, MathMLVisitor: M, MmlFactory: g, MmlNode: O, MmlNodes: { TeXAtom: x, maction: S, maligngroup: _, malignmark: E, math: C, mathchoice: L, menclose: T, merror: A, mfenced: w, mfrac: N, mglyph: j, mi: R, mmultiscripts: I, mn: P, mo: B, mpadded: k, mphantom: D, mroot: H, mrow: F, ms: W, mspace: X, msqrt: J, mstyle: V, msubsup: z, mtable: U, mtd: K, mtext: q, mtr: G, munderover: Z, semantics: Y, }, MmlVisitor: $, OperatorDictionary: Q, SerializedMmlVisitor: tt, }, OutputJax: et, Tree: { Factory: rt, Node: nt, NodeFactory: ot, Visitor: it, Wrapper: st, WrapperFactory: at, }, }, handlers: { html_ts: ct, html: { HTMLDocument: lt, HTMLDomStrings: ut, HTMLHandler: ht, HTMLMathItem: pt, HTMLMathList: ft, }, }, mathjax: dt, util: { AsyncLoad: yt, BBox: mt, BitField: vt, Entities: bt, FunctionList: Mt, LinkedList: gt, Options: Ot, PrioritizedList: xt, Retries: St, StyleList: _t, Styles: Et, lengths: Ct, numeric: Lt, string: Tt, }, }, }), MathJax.startup && (MathJax.startup.registerConstructor("HTMLHandler", ht.HTMLHandler), MathJax.startup.registerConstructor("browserAdaptor", c.browserAdaptor), MathJax.startup.useHandler("HTMLHandler"), MathJax.startup.useAdaptor("browserAdaptor")), MathJax.loader && (MathJax._.mathjax.mathjax.asyncLoad = function (t) { return MathJax.loader.load(t); }); var At = r(67), wt = r(102), Nt = r(103); Object(n.combineWithMathJax)({ _: { input: { mathml_ts: At, mathml: { FindMathML: wt, MathMLCompile: Nt } }, }, }), MathJax.startup && (MathJax.startup.registerConstructor("mml", At.MathML), MathJax.startup.useInput("mml")); var jt = r(68), Rt = r(3), It = r(127), Pt = r(2), Bt = r(105), kt = r(107), Dt = r(151), Ht = r(153), Ft = r(146), Wt = r(109), Xt = r(125), Jt = r(129), Vt = r(131), zt = r(147), Ut = r(111), Kt = r(139), qt = r(115), Gt = r(113), Zt = r(123), Yt = r(134), $t = r(128), Qt = r(117), te = r(121), ee = r(63), re = r(24), ne = r(141), oe = r(144), ie = r(119), se = r(143), ae = r(138), ce = r(136), le = r(149), ue = r(13), he = r(23), pe = r(104), fe = r(108), de = r(106), ye = r(152), me = r(154), ve = r(65), be = r(110), Me = r(126), ge = r(130), Oe = r(132), xe = r(148), Se = r(112), _e = r(140), Ee = r(116), Ce = r(114), Le = r(124), Te = r(135), Ae = r(62), we = r(118), Ne = r(122), je = r(133), Re = r(25), Ie = r(142), Pe = r(145), Be = r(120), ke = r(64), De = r(26), He = r(137), Fe = r(150); Object(n.combineWithMathJax)({ _: { output: { chtml_ts: jt, chtml: { FontData: Rt, Notation: It, Wrapper: Pt, WrapperFactory: Bt, Wrappers_ts: kt, Wrappers: { TeXAtom: Dt, TextNode: Ht, maction: Ft, math: Wt, menclose: Xt, mfenced: Jt, mfrac: Vt, mglyph: zt, mi: Ut, mmultiscripts: Kt, mn: qt, mo: Gt, mpadded: Zt, mroot: Yt, mrow: $t, ms: Qt, mspace: te, msqrt: ee, msubsup: re, mtable: ne, mtd: oe, mtext: ie, mtr: se, munderover: ae, scriptbase: ce, semantics: le, }, }, common: { FontData: ue, Notation: he, OutputJax: pe, Wrapper: fe, WrapperFactory: de, Wrappers: { TeXAtom: ye, TextNode: me, maction: ve, math: be, menclose: Me, mfenced: ge, mfrac: Oe, mglyph: xe, mi: Se, mmultiscripts: _e, mn: Ee, mo: Ce, mpadded: Le, mroot: Te, mrow: Ae, ms: we, mspace: Ne, msqrt: je, msubsup: Re, mtable: Ie, mtd: Pe, mtext: Be, mtr: ke, munderover: De, scriptbase: He, semantics: Fe, }, }, }, }, }), MathJax.loader && Object(n.combineDefaults)(MathJax.config.loader, "output/chtml", { checkReady: function () { return MathJax.loader.load("output/chtml/fonts/tex"); }, }), MathJax.startup && (MathJax.startup.registerConstructor("chtml", jt.CHTML), MathJax.startup.useOutput("chtml")); var We = r(17), Xe = r(155), Je = r(157), Ve = r(160), ze = r(162), Ue = r(164), Ke = r(166), qe = r(168), Ge = r(170), Ze = r(172), Ye = r(174), $e = r(176), Qe = r(178), tr = r(182), er = r(184), rr = r(190), nr = r(192), or = r(194), ir = r(156), sr = r(158), ar = r(196), cr = r(159), lr = r(161), ur = r(163), hr = r(165), pr = r(167), fr = r(169), dr = r(171), yr = r(173), mr = r(175), vr = r(177), br = r(179), Mr = r(180), gr = r(181), Or = r(183), xr = r(185), Sr = r(186), _r = r(187), Er = r(188), Cr = r(189), Lr = r(191), Tr = r(193), Ar = r(195); if ( (Object(n.combineWithMathJax)({ _: { output: { chtml: { fonts: { tex_ts: We, tex: { "bold-italic": Xe, bold: Je, "fraktur-bold": Ve, fraktur: ze, italic: Ue, largeop: Ke, monospace: qe, normal: Ge, "sans-serif-bold-italic": Ze, "sans-serif-bold": Ye, "sans-serif-italic": $e, "sans-serif": Qe, smallop: tr, "tex-calligraphic-bold": er, "tex-size3": rr, "tex-size4": nr, "tex-variant": or, }, }, }, common: { fonts: { tex: { "bold-italic": ir, bold: sr, delimiters: ar, "double-struck": cr, "fraktur-bold": lr, fraktur: ur, italic: hr, largeop: pr, monospace: fr, normal: dr, "sans-serif-bold-italic": yr, "sans-serif-bold": mr, "sans-serif-italic": vr, "sans-serif": br, "script-bold": Mr, script: gr, smallop: Or, "tex-calligraphic-bold": xr, "tex-calligraphic": Sr, "tex-mathit": _r, "tex-oldstyle-bold": Er, "tex-oldstyle": Cr, "tex-size3": Lr, "tex-size4": Tr, "tex-variant": Ar, }, }, }, }, }, }), MathJax.startup) ) { Object(n.combineDefaults)(MathJax.config, "chtml", { fontURL: i.Package.resolvePath("output/chtml/fonts/woff-v2", !1), }); var wr = Object(Ot.selectOptionsFromKeys)( MathJax.config.chtml || {}, We.TeXFont.OPTIONS, ); Object(n.combineDefaults)(MathJax.config, "chtml", { font: new We.TeXFont(wr), }); } var Nr = r(197), jr = r(198), Rr = r(69), Ir = r(199), Pr = r(200); Object(n.combineWithMathJax)({ _: { ui: { menu: { MJContextMenu: Nr, Menu: jr, MenuHandler: Rr, MmlVisitor: Ir, SelectableInfo: Pr, }, }, }, }), MathJax.startup && "undefined" != typeof window && MathJax.startup.extendHandler(function (t) { return Object(Rr.MenuHandler)(t); }, 20); var Br = r(70); Object(n.combineWithMathJax)({ _: { a11y: { "assistive-mml": Br } } }), MathJax.startup && MathJax.startup.extendHandler(function (t) { return Object(Br.AssistiveMmlHandler)(t); }); var kr, Dr = { tex: "[mathjax]/input/tex/extensions", sre: "[mathjax]/sre/" + ("undefined" == typeof window ? "sre-node" : "sre_browser"), }, Hr = [ "[tex]/action", "[tex]/ams", "[tex]/amscd", "[tex]/bbox", "[tex]/boldsymbol", "[tex]/braket", "[tex]/bussproofs", "[tex]/cancel", "[tex]/color", "[tex]/configmacros", "[tex]/enclose", "[tex]/extpfeil", "[tex]/html", "[tex]/mhchem", "[tex]/newcommand", "[tex]/noerrors", "[tex]/noundefined", "[tex]/physics", "[tex]/require", "[tex]/tagformat", "[tex]/textmacros", "[tex]/unicode", "[tex]/verb", ], Fr = { startup: ["loader"], "input/tex": [ "input/tex-base", "[tex]/ams", "[tex]/newcommand", "[tex]/noundefined", "[tex]/require", "[tex]/autoload", "[tex]/configmacros", ], "input/tex-full": ["input/tex-base", "[tex]/all-packages"].concat(Hr), "[tex]/all-packages": Hr, }; function Wr(t, e) { (null == e || e > t.length) && (e = t.length); for (var r = 0, n = new Array(e); r < e; r++) n[r] = t[r]; return n; } Object(n.combineDefaults)(MathJax.config.loader, "dependencies", { "a11y/semantic-enrich": ["input/mml", "[sre]"], "a11y/complexity": ["a11y/semantic-enrich"], "a11y/explorer": ["a11y/semantic-enrich", "ui/menu"], "[tex]/all-packages": ["input/tex-base"], "[tex]/action": ["input/tex-base", "[tex]/newcommand"], "[tex]/autoload": ["input/tex-base", "[tex]/require"], "[tex]/ams": ["input/tex-base"], "[tex]/amscd": ["input/tex-base"], "[tex]/bbox": ["input/tex-base", "[tex]/ams", "[tex]/newcommand"], "[tex]/boldsymbol": ["input/tex-base"], "[tex]/braket": ["input/tex-base"], "[tex]/bussproofs": ["input/tex-base"], "[tex]/cancel": ["input/tex-base", "[tex]/enclose"], "[tex]/color": ["input/tex-base"], "[tex]/colorv2": ["input/tex-base"], "[tex]/configmacros": ["input/tex-base", "[tex]/newcommand"], "[tex]/enclose": ["input/tex-base"], "[tex]/extpfeil": ["input/tex-base", "[tex]/newcommand", "[tex]/ams"], "[tex]/html": ["input/tex-base"], "[tex]/mhchem": ["input/tex-base", "[tex]/ams"], "[tex]/newcommand": ["input/tex-base"], "[tex]/noerrors": ["input/tex-base"], "[tex]/noundefined": ["input/tex-base"], "[tex]/physics": ["input/tex-base"], "[tex]/require": ["input/tex-base"], "[tex]/tagformat": ["input/tex-base"], "[tex]/textmacros": ["input/tex-base"], "[tex]/unicode": ["input/tex-base"], "[tex]/verb": ["input/tex-base"], }), Object(n.combineDefaults)(MathJax.config.loader, "paths", Dr), Object(n.combineDefaults)(MathJax.config.loader, "provides", Fr), Object(n.combineDefaults)(MathJax.config.loader, "source", { "[tex]/amsCd": "[tex]/amscd", "[tex]/colorV2": "[tex]/colorv2", "[tex]/configMacros": "[tex]/configmacros", "[tex]/tagFormat": "[tex]/tagformat", }), o.Loader.preLoad("loader"), o.Loader.load .apply( o.Loader, ((kr = o.CONFIG.load), (function (t) { if (Array.isArray(t)) return Wr(t); })(kr) || (function (t) { if ("undefined" != typeof Symbol && Symbol.iterator in Object(t)) return Array.from(t); })(kr) || (function (t, e) { if (t) { if ("string" == typeof t) return Wr(t, e); var r = Object.prototype.toString.call(t).slice(8, -1); return ( "Object" === r && t.constructor && (r = t.constructor.name), "Map" === r || "Set" === r ? Array.from(t) : "Arguments" === r || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? Wr(t, e) : void 0 ); } })(kr) || (function () { throw new TypeError( "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.", ); })()), ) .then(function () { return o.CONFIG.ready(); }) .catch(function (t) { return o.CONFIG.failed(t); }); }, ]);