From dff483c8ee68f530421814aa5a870ce5272e48ea Mon Sep 17 00:00:00 2001 From: Prefetch Date: Mon, 22 Feb 2021 14:17:04 +0100 Subject: Test custom MathJax build --- static/mathjax/custom-mathjax.min.js | 1 + 1 file changed, 1 insertion(+) create mode 100644 static/mathjax/custom-mathjax.min.js (limited to 'static/mathjax') diff --git a/static/mathjax/custom-mathjax.min.js b/static/mathjax/custom-mathjax.min.js new file mode 100644 index 0000000..5ac0695 --- /dev/null +++ b/static/mathjax/custom-mathjax.min.js @@ -0,0 +1 @@ +!function(Q){var t={};function T(e){if(t[e])return t[e].exports;var r=t[e]={i:e,l:!1,exports:{}};return Q[e].call(r.exports,r,r.exports,T),r.l=!0,r.exports}T.m=Q,T.c=t,T.d=function(Q,t,e){T.o(Q,t)||Object.defineProperty(Q,t,{enumerable:!0,get:e})},T.r=function(Q){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(Q,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(Q,"__esModule",{value:!0})},T.t=function(Q,t){if(1&t&&(Q=T(Q)),8&t)return Q;if(4&t&&"object"==typeof Q&&Q&&Q.__esModule)return Q;var e=Object.create(null);if(T.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:Q}),2&t&&"string"!=typeof Q)for(var r in Q)T.d(e,r,function(t){return Q[t]}.bind(null,r));return e},T.n=function(Q){var t=Q&&Q.__esModule?function(){return Q.default}:function(){return Q};return T.d(t,"a",t),t},T.o=function(Q,t){return Object.prototype.hasOwnProperty.call(Q,t)},T.p="",T(T.s=224)}([function(Q,t,T){"use strict";var e,r=this&&this.__extends||(e=function(Q,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Q,t){Q.__proto__=t}||function(Q,t){for(var T in t)t.hasOwnProperty(T)&&(Q[T]=t[T])})(Q,t)},function(Q,t){function T(){this.constructor=Q}e(Q,t),Q.prototype=null===t?Object.create(t):(T.prototype=t.prototype,new T)}),n=this&&this.__assign||function(){return(n=Object.assign||function(Q){for(var t,T=1,e=arguments.length;T=Q.length&&(Q=void 0),{value:Q&&Q[e++],done:!Q}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},o=this&&this.__read||function(Q,t){var T="function"==typeof Symbol&&Q[Symbol.iterator];if(!T)return Q;var e,r,n=T.call(Q),i=[];try{for(;(void 0===t||t-- >0)&&!(e=n.next()).done;)i.push(e.value)}catch(Q){r={error:Q}}finally{try{e&&!e.done&&(T=n.return)&&T.call(n)}finally{if(r)throw r.error}}return i};Object.defineProperty(t,"__esModule",{value:!0}),t.XMLNode=t.TextNode=t.AbstractMmlEmptyNode=t.AbstractMmlBaseNode=t.AbstractMmlLayoutNode=t.AbstractMmlTokenNode=t.AbstractMmlNode=t.indentAttributes=t.TEXCLASSNAMES=t.TEXCLASS=void 0;var a=T(16),s=T(45);t.TEXCLASS={ORD:0,OP:1,BIN:2,REL:3,OPEN:4,CLOSE:5,PUNCT:6,INNER:7,VCENTER:8,NONE:-1},t.TEXCLASSNAMES=["ORD","OP","BIN","REL","OPEN","CLOSE","PUNCT","INNER","VCENTER"];var l=["","thinmathspace","mediummathspace","thickmathspace"],c=[[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]];t.indentAttributes=["indentalign","indentalignfirst","indentshift","indentshiftfirst"];var u=function(Q){function T(t,T,e){void 0===T&&(T={}),void 0===e&&(e=[]);var r=Q.call(this,t)||this;return r.texClass=null,r.prevClass=null,r.prevLevel=null,r.arity<0&&(r.childNodes=[t.create("inferredMrow")],r.childNodes[0].parent=r),r.setChildren(e),r.attributes=new a.Attributes(t.getNodeClass(r.kind).defaults,t.getNodeClass("math").defaults),r.attributes.setList(T),r}return r(T,Q),Object.defineProperty(T.prototype,"isToken",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"isEmbellished",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"isSpacelike",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"linebreakContainer",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"hasNewLine",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"arity",{get:function(){return 1/0},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"isInferred",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"Parent",{get:function(){for(var Q=this.parent;Q&&Q.notParent;)Q=Q.Parent;return Q},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"notParent",{get:function(){return!1},enumerable:!1,configurable:!0}),T.prototype.setChildren=function(t){return this.arity<0?this.childNodes[0].setChildren(t):Q.prototype.setChildren.call(this,t)},T.prototype.appendChild=function(t){return this.arity<0?(this.childNodes[0].appendChild(t),t):Q.prototype.appendChild.call(this,t)},T.prototype.replaceChild=function(t,T){return this.arity<0?(this.childNodes[0].replaceChild(t,T),t):Q.prototype.replaceChild.call(this,t,T)},T.prototype.core=function(){return this},T.prototype.coreMO=function(){return this},T.prototype.coreIndex=function(){return 0},T.prototype.childPosition=function(){for(var Q,t,T=this,e=T.parent;e&&e.notParent;)T=e,e=e.parent;if(e){var r=0;try{for(var n=i(e.childNodes),o=n.next();!o.done;o=n.next()){if(o.value===T)return r;r++}}catch(t){Q={error:t}}finally{try{o&&!o.done&&(t=n.return)&&t.call(n)}finally{if(Q)throw Q.error}}}return null},T.prototype.setTeXclass=function(Q){return this.getPrevClass(Q),null!=this.texClass?this:Q},T.prototype.updateTeXclass=function(Q){Q&&(this.prevClass=Q.prevClass,this.prevLevel=Q.prevLevel,Q.prevClass=Q.prevLevel=null,this.texClass=Q.texClass)},T.prototype.getPrevClass=function(Q){Q&&(this.prevClass=Q.texClass,this.prevLevel=Q.attributes.get("scriptlevel"))},T.prototype.texSpacing=function(){var Q=null!=this.prevClass?this.prevClass:t.TEXCLASS.NONE,T=this.texClass||t.TEXCLASS.ORD;if(Q===t.TEXCLASS.NONE||T===t.TEXCLASS.NONE)return"";Q===t.TEXCLASS.VCENTER&&(Q=t.TEXCLASS.ORD),T===t.TEXCLASS.VCENTER&&(T=t.TEXCLASS.ORD);var e=c[Q][T];return(this.prevLevel>0||this.attributes.get("scriptlevel")>0)&&e>=0?"":l[Math.abs(e)]},T.prototype.hasSpacingAttributes=function(){return this.isEmbellished&&this.coreMO().hasSpacingAttributes()},T.prototype.setInheritedAttributes=function(Q,t,e,r){var n,a;void 0===Q&&(Q={}),void 0===t&&(t=!1),void 0===e&&(e=0),void 0===r&&(r=!1);var s=this.attributes.getAllDefaults();try{for(var l=i(Object.keys(Q)),c=l.next();!c.done;c=l.next()){var u=c.value;if(s.hasOwnProperty(u)||T.alwaysInherit.hasOwnProperty(u)){var L=o(Q[u],2),h=L[0],p=L[1];((T.noInherit[h]||{})[this.kind]||{})[u]||this.attributes.setInherited(u,p)}}}catch(Q){n={error:Q}}finally{try{c&&!c.done&&(a=l.return)&&a.call(l)}finally{if(n)throw n.error}}void 0===this.attributes.getExplicit("displaystyle")&&this.attributes.setInherited("displaystyle",t),void 0===this.attributes.getExplicit("scriptlevel")&&this.attributes.setInherited("scriptlevel",e),r&&this.setProperty("texprimestyle",r);var f=this.arity;if(f>=0&&f!==1/0&&(1===f&&0===this.childNodes.length||1!==f&&this.childNodes.length!==f))if(f=0&&t!==1/0&&(1===t&&0===this.childNodes.length||1!==t&&this.childNodes.length!==t)&&this.mError('Wrong number of children for "'+this.kind+'" node',Q,!0),this.verifyChildren(Q)}},T.prototype.verifyAttributes=function(Q){var t,T;if(Q.checkAttributes){var e=this.attributes,r=[];try{for(var n=i(e.getExplicitNames()),o=n.next();!o.done;o=n.next()){var a=o.value;"data-"===a.substr(0,5)||void 0!==e.getDefault(a)||a.match(/^(?:class|style|id|(?:xlink:)?href)$/)||r.push(a)}}catch(Q){t={error:Q}}finally{try{o&&!o.done&&(T=n.return)&&T.call(n)}finally{if(t)throw t.error}}r.length&&this.mError("Unknown attributes for "+this.kind+" node: "+r.join(", "),Q)}},T.prototype.verifyChildren=function(Q){var t,T;try{for(var e=i(this.childNodes),r=e.next();!r.done;r=e.next()){r.value.verifyTree(Q)}}catch(Q){t={error:Q}}finally{try{r&&!r.done&&(T=e.return)&&T.call(e)}finally{if(t)throw t.error}}},T.prototype.mError=function(Q,t,T){if(void 0===T&&(T=!1),this.parent&&this.parent.isKind("merror"))return null;var e=this.factory.create("merror");if(t.fullErrors||T){var r=this.factory.create("mtext"),n=this.factory.create("text");n.setText(t.fullErrors?Q:this.kind),r.appendChild(n),e.appendChild(r),this.parent.replaceChild(e,this)}else this.parent.replaceChild(e,this),e.appendChild(this);return e},T.defaults={mathbackground:a.INHERIT,mathcolor:a.INHERIT,mathsize:a.INHERIT,dir:a.INHERIT},T.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}}},T.alwaysInherit={scriptminsize:!0,scriptsizemultiplier:!0},T.verifyDefaults={checkArity:!0,checkAttributes:!1,fullErrors:!1,fixMmultiscripts:!0,fixMtables:!0},T}(s.AbstractNode);t.AbstractMmlNode=u;var L=function(Q){function t(){return null!==Q&&Q.apply(this,arguments)||this}return r(t,Q),Object.defineProperty(t.prototype,"isToken",{get:function(){return!0},enumerable:!1,configurable:!0}),t.prototype.getText=function(){var Q,t,T="";try{for(var e=i(this.childNodes),r=e.next();!r.done;r=e.next()){var n=r.value;n instanceof d&&(T+=n.getText())}}catch(t){Q={error:t}}finally{try{r&&!r.done&&(t=e.return)&&t.call(e)}finally{if(Q)throw Q.error}}return T},t.prototype.setChildInheritedAttributes=function(Q,t,T,e){var r,n;try{for(var o=i(this.childNodes),a=o.next();!a.done;a=o.next()){var s=a.value;s instanceof u&&s.setInheritedAttributes(Q,t,T,e)}}catch(Q){r={error:Q}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}},t.prototype.walkTree=function(Q,t){var T,e;Q(this,t);try{for(var r=i(this.childNodes),n=r.next();!n.done;n=r.next()){var o=n.value;o instanceof u&&o.walkTree(Q,t)}}catch(Q){T={error:Q}}finally{try{n&&!n.done&&(e=r.return)&&e.call(r)}finally{if(T)throw T.error}}return t},t.defaults=n(n({},u.defaults),{mathvariant:"normal",mathsize:a.INHERIT}),t}(u);t.AbstractMmlTokenNode=L;var h=function(Q){function t(){return null!==Q&&Q.apply(this,arguments)||this}return r(t,Q),Object.defineProperty(t.prototype,"isSpacelike",{get:function(){return this.childNodes[0].isSpacelike},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isEmbellished",{get:function(){return this.childNodes[0].isEmbellished},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"arity",{get:function(){return-1},enumerable:!1,configurable:!0}),t.prototype.core=function(){return this.childNodes[0]},t.prototype.coreMO=function(){return this.childNodes[0].coreMO()},t.prototype.setTeXclass=function(Q){return Q=this.childNodes[0].setTeXclass(Q),this.updateTeXclass(this.childNodes[0]),Q},t.defaults=u.defaults,t}(u);t.AbstractMmlLayoutNode=h;var p=function(Q){function T(){return null!==Q&&Q.apply(this,arguments)||this}return r(T,Q),Object.defineProperty(T.prototype,"isEmbellished",{get:function(){return this.childNodes[0].isEmbellished},enumerable:!1,configurable:!0}),T.prototype.core=function(){return this.childNodes[0]},T.prototype.coreMO=function(){return this.childNodes[0].coreMO()},T.prototype.setTeXclass=function(Q){var T,e;this.getPrevClass(Q),this.texClass=t.TEXCLASS.ORD;var r=this.childNodes[0];r?this.isEmbellished||r.isKind("mi")?(Q=r.setTeXclass(Q),this.updateTeXclass(this.core())):(r.setTeXclass(null),Q=this):Q=this;try{for(var n=i(this.childNodes.slice(1)),o=n.next();!o.done;o=n.next()){var a=o.value;a&&a.setTeXclass(null)}}catch(Q){T={error:Q}}finally{try{o&&!o.done&&(e=n.return)&&e.call(n)}finally{if(T)throw T.error}}return Q},T.defaults=u.defaults,T}(u);t.AbstractMmlBaseNode=p;var f=function(Q){function T(){return null!==Q&&Q.apply(this,arguments)||this}return r(T,Q),Object.defineProperty(T.prototype,"isToken",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"isEmbellished",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"isSpacelike",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"linebreakContainer",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"hasNewLine",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"arity",{get:function(){return 0},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"isInferred",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"notParent",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"Parent",{get:function(){return this.parent},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"texClass",{get:function(){return t.TEXCLASS.NONE},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"prevClass",{get:function(){return t.TEXCLASS.NONE},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"prevLevel",{get:function(){return 0},enumerable:!1,configurable:!0}),T.prototype.hasSpacingAttributes=function(){return!1},Object.defineProperty(T.prototype,"attributes",{get:function(){return null},enumerable:!1,configurable:!0}),T.prototype.core=function(){return this},T.prototype.coreMO=function(){return this},T.prototype.coreIndex=function(){return 0},T.prototype.childPosition=function(){return 0},T.prototype.setTeXclass=function(Q){return Q},T.prototype.texSpacing=function(){return""},T.prototype.setInheritedAttributes=function(Q,t,T,e){},T.prototype.inheritAttributesFrom=function(Q){},T.prototype.verifyTree=function(Q){},T.prototype.mError=function(Q,t,T){void 0===T&&(T=!1)},T}(s.AbstractEmptyNode);t.AbstractMmlEmptyNode=f;var d=function(Q){function t(){var t=null!==Q&&Q.apply(this,arguments)||this;return t.text="",t}return r(t,Q),Object.defineProperty(t.prototype,"kind",{get:function(){return"text"},enumerable:!1,configurable:!0}),t.prototype.getText=function(){return this.text},t.prototype.setText=function(Q){return this.text=Q,this},t.prototype.toString=function(){return this.text},t}(f);t.TextNode=d;var H=function(Q){function t(){var t=null!==Q&&Q.apply(this,arguments)||this;return t.xml=null,t.adaptor=null,t}return r(t,Q),Object.defineProperty(t.prototype,"kind",{get:function(){return"XML"},enumerable:!1,configurable:!0}),t.prototype.getXML=function(){return this.xml},t.prototype.setXML=function(Q,t){return void 0===t&&(t=null),this.xml=Q,this.adaptor=t,this},t.prototype.getSerializedXML=function(){return this.adaptor.outerHTML(this.xml)},t.prototype.toString=function(){return"XML data"},t}(f);t.XMLNode=H},function(Q,t,T){"use strict";var e,r=this&&this.__extends||(e=function(Q,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Q,t){Q.__proto__=t}||function(Q,t){for(var T in t)t.hasOwnProperty(T)&&(Q[T]=t[T])})(Q,t)},function(Q,t){function T(){this.constructor=Q}e(Q,t),Q.prototype=null===t?Object.create(t):(T.prototype=t.prototype,new T)}),n=this&&this.__values||function(Q){var t="function"==typeof Symbol&&Symbol.iterator,T=t&&Q[t],e=0;if(T)return T.call(Q);if(Q&&"number"==typeof Q.length)return{next:function(){return Q&&e>=Q.length&&(Q=void 0),{value:Q&&Q[e++],done:!Q}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},i=this&&this.__read||function(Q,t){var T="function"==typeof Symbol&&Q[Symbol.iterator];if(!T)return Q;var e,r,n=T.call(Q),i=[];try{for(;(void 0===t||t-- >0)&&!(e=n.next()).done;)i.push(e.value)}catch(Q){r={error:Q}}finally{try{e&&!e.done&&(T=n.return)&&T.call(n)}finally{if(r)throw r.error}}return i};Object.defineProperty(t,"__esModule",{value:!0}),t.SVGWrapper=void 0;var o=T(116),a=T(38),s=function(Q){function t(){var t=null!==Q&&Q.apply(this,arguments)||this;return t.element=null,t}return r(t,Q),t.prototype.toSVG=function(Q){this.addChildren(this.standardSVGnode(Q))},t.prototype.addChildren=function(Q){var t,T,e=0;try{for(var r=n(this.childNodes),i=r.next();!i.done;i=r.next()){var o=i.value;o.toSVG(Q),o.element&&o.place(e+o.bbox.L*o.bbox.rscale,0),e+=(o.bbox.L+o.bbox.w+o.bbox.R)*o.bbox.rscale}}catch(Q){t={error:Q}}finally{try{i&&!i.done&&(T=r.return)&&T.call(r)}finally{if(t)throw t.error}}},t.prototype.standardSVGnode=function(Q){var t=this.createSVGnode(Q);return this.handleStyles(),this.handleScale(),this.handleColor(),this.handleAttributes(),t},t.prototype.createSVGnode=function(Q){var t=this.node.attributes.get("href");if(t){Q=this.adaptor.append(Q,this.svg("a",{href:t}));var T=this.getBBox(),e=T.h,r=T.d,n=T.w;this.adaptor.append(Q,this.svg("rect",{"data-hitbox":!0,fill:"none",stroke:"none","pointer-events":"all",width:this.fixed(n),height:this.fixed(e+r),y:this.fixed(-r)}))}return this.element=this.adaptor.append(Q,this.svg("g",{"data-mml-node":this.node.kind})),this.element},t.prototype.handleStyles=function(){if(this.styles){var Q=this.styles.cssText;Q&&this.adaptor.setAttribute(this.element,"style",Q)}},t.prototype.handleScale=function(){if(1!==this.bbox.rscale){var Q="scale("+this.fixed(this.bbox.rscale/1e3,3)+")";this.adaptor.setAttribute(this.element,"transform",Q)}},t.prototype.handleColor=function(){var Q=this.adaptor,t=this.node.attributes,T=t.getExplicit("mathcolor"),e=t.getExplicit("color"),r=t.getExplicit("mathbackground"),n=t.getExplicit("background");if((T||e)&&(Q.setAttribute(this.element,"fill",T||e),Q.setAttribute(this.element,"stroke",T||e)),r||n){var i=this.getBBox(),o=i.h,a=i.d,s=i.w,l=this.svg("rect",{fill:r||n,x:0,y:this.fixed(-a),width:this.fixed(s),height:this.fixed(o+a),"data-bgcolor":!0}),c=Q.firstChild(this.element);c?Q.insert(l,c):Q.append(this.element,l)}},t.prototype.handleAttributes=function(){var Q,T,e,r,i=this.node.attributes,o=i.getAllDefaults(),a=t.skipAttributes;try{for(var s=n(i.getExplicitNames()),l=s.next();!l.done;l=s.next()){var c=l.value;!1!==a[c]&&(c in o||a[c]||this.adaptor.hasAttribute(this.element,c))||this.adaptor.setAttribute(this.element,c,i.getExplicit(c))}}catch(t){Q={error:t}}finally{try{l&&!l.done&&(T=s.return)&&T.call(s)}finally{if(Q)throw Q.error}}if(i.get("class")){var u=i.get("class").trim().split(/ +/);try{for(var L=n(u),h=L.next();!h.done;h=L.next()){var p=h.value;this.adaptor.addClass(this.element,p)}}catch(Q){e={error:Q}}finally{try{h&&!h.done&&(r=L.return)&&r.call(L)}finally{if(e)throw e.error}}}},t.prototype.place=function(Q,t,T){if(void 0===T&&(T=null),Q||t){T||(T=this.element);var e=this.adaptor.getAttribute(T,"transform")||"";e="translate("+this.fixed(Q)+", "+this.fixed(t)+")"+(e?" "+e:""),this.adaptor.setAttribute(T,"transform",e)}},t.prototype.placeChar=function(Q,t,T,e,r){var o,a;void 0===r&&(r=null),null===r&&(r=this.variant);var s=Q.toString(16).toUpperCase(),l=i(this.getVariantChar(r,Q),4),c=l[2],u=l[3];if("p"in u){var L=u.p?"M"+u.p+"Z":"";this.place(t,T,this.adaptor.append(e,this.charNode(r,s,L)))}else if("c"in u){var h=this.adaptor.append(e,this.svg("g",{"data-c":s}));this.place(t,T,h),t=0;try{for(var p=n(this.unicodeChars(u.c,r)),f=p.next();!f.done;f=p.next()){var d=f.value;t+=this.placeChar(d,t,T,h,r)}}catch(Q){o={error:Q}}finally{try{f&&!f.done&&(a=p.return)&&a.call(p)}finally{if(o)throw o.error}}}else if(u.unknown){var H=String.fromCodePoint(Q),y=this.adaptor.append(e,this.jax.unknownText(H,r));return this.place(t,T,y),this.jax.measureTextNodeWithCache(y,H,r).w}return c},t.prototype.charNode=function(Q,t,T){return"none"!==this.jax.options.fontCache?this.useNode(Q,t,T):this.pathNode(t,T)},t.prototype.pathNode=function(Q,t){return this.svg("path",{"data-c":Q,d:t})},t.prototype.useNode=function(Q,t,T){var e=this.svg("use"),r="#"+this.jax.fontCache.cachePath(Q,t,T);return this.adaptor.setAttribute(e,"href",r,a.XLINKNS),e},t.prototype.drawBBox=function(){var Q=this.getBBox(),t=Q.w,T=Q.h,e=Q.d,r=this.svg("g",{style:{opacity:.25}},[this.svg("rect",{fill:"red",height:this.fixed(T),width:this.fixed(t)}),this.svg("rect",{fill:"green",height:this.fixed(e),width:this.fixed(t),y:this.fixed(-e)})]),n=this.element||this.parent.element;this.adaptor.append(n,r)},t.prototype.html=function(Q,t,T){return void 0===t&&(t={}),void 0===T&&(T=[]),this.jax.html(Q,t,T)},t.prototype.svg=function(Q,t,T){return void 0===t&&(t={}),void 0===T&&(T=[]),this.jax.svg(Q,t,T)},t.prototype.text=function(Q){return this.jax.text(Q)},t.prototype.fixed=function(Q,t){return void 0===t&&(t=1),this.jax.fixed(1e3*Q,t)},t.kind="unknown",t}(o.CommonWrapper);t.SVGWrapper=s},function(Q,t,T){"use strict";(function(Q){var T=this&&this.__values||function(Q){var t="function"==typeof Symbol&&Symbol.iterator,T=t&&Q[t],e=0;if(T)return T.call(Q);if(Q&&"number"==typeof Q.length)return{next:function(){return Q&&e>=Q.length&&(Q=void 0),{value:Q&&Q[e++],done:!Q}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};function e(Q){return"object"==typeof Q&&null!==Q}function r(Q,t){var n,i;try{for(var o=T(Object.keys(t)),a=o.next();!a.done;a=o.next()){var s=a.value;"__esModule"!==s&&(!e(Q[s])||!e(t[s])||t[s]instanceof Promise?null!==t[s]&&void 0!==t[s]&&(Q[s]=t[s]):r(Q[s],t[s]))}}catch(Q){n={error:Q}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}return Q}Object.defineProperty(t,"__esModule",{value:!0}),t.MathJax=t.combineWithMathJax=t.combineDefaults=t.combineConfig=t.isObject=void 0,t.isObject=e,t.combineConfig=r,t.combineDefaults=function Q(t,r,n){var i,o;t[r]||(t[r]={}),t=t[r];try{for(var a=T(Object.keys(n)),s=a.next();!s.done;s=a.next()){var l=s.value;e(t[l])&&e(n[l])?Q(t,l,n[l]):null==t[l]&&null!=n[l]&&(t[l]=n[l])}}catch(Q){i={error:Q}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(i)throw i.error}}return t},t.combineWithMathJax=function(Q){return r(t.MathJax,Q)},void 0===Q.MathJax&&(Q.MathJax={}),Q.MathJax.version||(Q.MathJax={version:"3.1.2",_:{},config:Q.MathJax}),t.MathJax=Q.MathJax}).call(this,T(216))},function(Q,t,T){"use strict";var e,r=this&&this.__extends||(e=function(Q,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Q,t){Q.__proto__=t}||function(Q,t){for(var T in t)t.hasOwnProperty(T)&&(Q[T]=t[T])})(Q,t)},function(Q,t){function T(){this.constructor=Q}e(Q,t),Q.prototype=null===t?Object.create(t):(T.prototype=t.prototype,new T)}),n=this&&this.__createBinding||(Object.create?function(Q,t,T,e){void 0===e&&(e=T),Object.defineProperty(Q,e,{enumerable:!0,get:function(){return t[T]}})}:function(Q,t,T,e){void 0===e&&(e=T),Q[e]=t[T]}),i=this&&this.__exportStar||function(Q,t){for(var T in Q)"default"===T||t.hasOwnProperty(T)||n(t,Q,T)},o=this&&this.__values||function(Q){var t="function"==typeof Symbol&&Symbol.iterator,T=t&&Q[t],e=0;if(T)return T.call(Q);if(Q&&"number"==typeof Q.length)return{next:function(){return Q&&e>=Q.length&&(Q=void 0),{value:Q&&Q[e++],done:!Q}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.AddPaths=t.SVGFontData=void 0;var a=T(19);i(T(19),t);var s=function(Q){function t(){return null!==Q&&Q.apply(this,arguments)||this}return r(t,Q),t.charOptions=function(t,T){return Q.charOptions.call(this,t,T)},t}(a.FontData);t.SVGFontData=s,t.AddPaths=function(Q,t,T){var e,r,n,i;try{for(var a=o(Object.keys(t)),l=a.next();!l.done;l=a.next()){var c=l.value,u=parseInt(c);s.charOptions(Q,u).p=t[u]}}catch(Q){e={error:Q}}finally{try{l&&!l.done&&(r=a.return)&&r.call(a)}finally{if(e)throw e.error}}try{for(var L=o(Object.keys(T)),h=L.next();!h.done;h=L.next()){c=h.value,u=parseInt(c);s.charOptions(Q,u).c=T[u]}}catch(Q){n={error:Q}}finally{try{h&&!h.done&&(i=L.return)&&i.call(L)}finally{if(n)throw n.error}}return Q}},function(Q,t,T){"use strict";var e=this&&this.__values||function(Q){var t="function"==typeof Symbol&&Symbol.iterator,T=t&&Q[t],e=0;if(T)return T.call(Q);if(Q&&"number"==typeof Q.length)return{next:function(){return Q&&e>=Q.length&&(Q=void 0),{value:Q&&Q[e++],done:!Q}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},r=this&&this.__read||function(Q,t){var T="function"==typeof Symbol&&Q[Symbol.iterator];if(!T)return Q;var e,r,n=T.call(Q),i=[];try{for(;(void 0===t||t-- >0)&&!(e=n.next()).done;)i.push(e.value)}catch(Q){r={error:Q}}finally{try{e&&!e.done&&(T=n.return)&&T.call(n)}finally{if(r)throw r.error}}return i},n=this&&this.__spread||function(){for(var Q=[],t=0;t=Q.length&&(Q=void 0),{value:Q&&Q[e++],done:!Q}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},r=this&&this.__read||function(Q,t){var T="function"==typeof Symbol&&Q[Symbol.iterator];if(!T)return Q;var e,r,n=T.call(Q),i=[];try{for(;(void 0===t||t-- >0)&&!(e=n.next()).done;)i.push(e.value)}catch(Q){r={error:Q}}finally{try{e&&!e.done&&(T=n.return)&&T.call(n)}finally{if(r)throw r.error}}return i},n=this&&this.__spread||function(){for(var Q=[],t=0;t="0"&&i<="9")e[r]=T[parseInt(e[r],10)-1],"number"==typeof e[r]&&(e[r]=e[r].toString());else if("{"===i){if((i=e[r].substr(1))>="0"&&i<="9")e[r]=T[parseInt(e[r].substr(1,e[r].length-2),10)-1],"number"==typeof e[r]&&(e[r]=e[r].toString());else e[r].match(/^\{([a-z]+):%(\d+)\|(.*)\}$/)&&(e[r]="%"+e[r])}null==e[r]&&(e[r]="???")}return e.join("")},Q.pattern=/%(\d+|\{\d+\}|\{[a-z]+:\%\d+(?:\|(?:%\{\d+\}|%.|[^\}])*)+\}|.)/g,Q}();t.default=e},function(Q,t,T){"use strict";var e=this&&this.__read||function(Q,t){var T="function"==typeof Symbol&&Q[Symbol.iterator];if(!T)return Q;var e,r,n=T.call(Q),i=[];try{for(;(void 0===t||t-- >0)&&!(e=n.next()).done;)i.push(e.value)}catch(Q){r={error:Q}}finally{try{e&&!e.done&&(T=n.return)&&T.call(n)}finally{if(r)throw r.error}}return i},r=this&&this.__values||function(Q){var t="function"==typeof Symbol&&Symbol.iterator,T=t&&Q[t],e=0;if(T)return T.call(Q);if(Q&&"number"==typeof Q.length)return{next:function(){return Q&&e>=Q.length&&(Q=void 0),{value:Q&&Q[e++],done:!Q}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0});var n,i=T(0),o=T(5),a=T(11),s=T(6),l=T(14);T(217),function(Q){var t={em:function(Q){return Q},ex:function(Q){return.43*Q},pt:function(Q){return Q/10},pc:function(Q){return 1.2*Q},px:function(Q){return 7.2*Q/72},in:function(Q){return 7.2*Q},cm:function(Q){return 7.2*Q/2.54},mm:function(Q){return 7.2*Q/25.4},mu:function(Q){return Q/18}},T="([-+]?([.,]\\d+|\\d+([.,]\\d*)?))",n="(pt|em|ex|mu|px|mm|cm|in|pc)",c=RegExp("^\\s*"+T+"\\s*"+n+"\\s*$"),u=RegExp("^\\s*"+T+"\\s*"+n+" ?");function L(Q,T){void 0===T&&(T=!1);var r=Q.match(T?u:c);return r?function(Q){var T=e(Q,3),r=T[0],n=T[1],i=T[2];if("mu"!==n)return[r,n,i];return[h(t[n](parseFloat(r||"1"))).slice(0,-2),"em",i]}([r[1].replace(/,/,"."),r[4],r[0].length]):[null,null,0]}function h(Q){return Math.abs(Q)<6e-4?"0em":Q.toFixed(3).replace(/\.?0+$/,"")+"em"}function p(Q,t,T){"{"!==t&&"}"!==t||(t="\\"+t);var e="{\\bigg"+T+" "+t+"}",r="{\\big"+T+" "+t+"}";return new a.default("\\mathchoice"+e+r+r+r,{},Q).mml()}function f(Q,t,T){t=t.replace(/^\s+/,l.entities.nbsp).replace(/\s+$/,l.entities.nbsp);var e=Q.create("text",t);return Q.create("node","mtext",[],T,e)}function d(Q,t,T){if(T.match(/^[a-z]/i)&&t.match(/(^|[^\\])(\\\\)*\\[a-z]+$/i)&&(t+=" "),t.length+T.length>Q.configuration.options.maxBuffer)throw new s.default("MaxBufferSize","MathJax internal buffer size exceeded; is there a recursive macro call?");return t+T}function H(Q,t){for(;t>0;)Q=Q.trim().slice(1,-1),t--;return Q.trim()}function y(Q,t){for(var T=Q.length,e=0,r="",n=0,i=0,o=!0,a=!1;ne&&(i=e)),e++;break;case"}":e&&e--,(o||a)&&(i--,a=!0),o=!1;break;default:if(!e&&-1!==t.indexOf(l))return[a?"true":H(r,i),l,Q.slice(n)];o=!1,a=!1}r+=l}if(e)throw new s.default("ExtraOpenMissingClose","Extra open brace or missing close brace");return[a?"true":H(r,i),"",Q.slice(n)]}Q.matchDimen=L,Q.dimen2em=function(Q){var T=e(L(Q),2),r=T[0],n=T[1],i=parseFloat(r||"1"),o=t[n];return o?o(i):0},Q.Em=h,Q.fenced=function(Q,t,T,e,r){void 0===r&&(r="");var n,s=Q.nodeFactory,l=s.create("node","mrow",[],{open:t,close:e,texClass:i.TEXCLASS.INNER});if(r)n=new a.default("\\"+r+"l"+t,Q.parser.stack.env,Q).mml();else{var c=s.create("text",t);n=s.create("node","mo",[],{fence:!0,stretchy:!0,symmetric:!0,texClass:i.TEXCLASS.OPEN},c)}if(o.default.appendChildren(l,[n]),o.default.isType(T,"mrow")&&o.default.isInferred(T)?o.default.appendChildren(l,o.default.getChildren(T)):o.default.appendChildren(l,[T]),r)n=new a.default("\\"+r+"r"+e,Q.parser.stack.env,Q).mml();else{var u=s.create("text",e);n=s.create("node","mo",[],{fence:!0,stretchy:!0,symmetric:!0,texClass:i.TEXCLASS.CLOSE},u)}return o.default.appendChildren(l,[n]),l},Q.fixedFence=function(Q,t,T,e){var r=Q.nodeFactory.create("node","mrow",[],{open:t,close:e,texClass:i.TEXCLASS.ORD});return t&&o.default.appendChildren(r,[p(Q,t,"l")]),o.default.isType(T,"mrow")?o.default.appendChildren(r,o.default.getChildren(T)):o.default.appendChildren(r,[T]),e&&o.default.appendChildren(r,[p(Q,e,"r")]),r},Q.mathPalette=p,Q.fixInitialMO=function(Q,t){for(var T=0,e=t.length;T1&&(l=[Q.create("node","mrow",l)]),l},Q.internalText=f,Q.trimSpaces=function(Q){if("string"!=typeof Q)return Q;var t=Q.trim();return t.match(/\\$/)&&Q.match(/ $/)&&(t+=" "),t},Q.setArrayAlign=function(t,T){return"t"===(T=Q.trimSpaces(T||""))?t.arraydef.align="baseline 1":"b"===T?t.arraydef.align="baseline -1":"c"===T?t.arraydef.align="center":T&&(t.arraydef.align=T),t},Q.substituteArgs=function(Q,t,T){for(var e="",r="",n=0;nt.length)throw new s.default("IllegalMacroParam","Illegal macro parameter reference");r=d(Q,d(Q,r,e),t[parseInt(i,10)-1]),e=""}else e+=i}return d(Q,r,e)},Q.addArgs=d,Q.checkEqnEnv=function(Q){if(Q.stack.global.eqnenv)throw new s.default("ErroneousNestingEq","Erroneous nesting of equation structures");Q.stack.global.eqnenv=!0},Q.MmlFilterAttribute=function(Q,t,T){return T},Q.getFontDef=function(Q){var t=Q.stack.env.font;return t?{mathvariant:t}:{}},Q.keyvalOptions=function(Q,t,T){var n,i;void 0===t&&(t=null),void 0===T&&(T=!1);var o=function(Q){var t,T,r,n,i,o={},a=Q;for(;a;)n=(t=e(y(a,["=",","]),3))[0],r=t[1],a=t[2],"="===r?(i=(T=e(y(a,[","]),3))[0],r=T[1],a=T[2],i="false"===i||"true"===i?JSON.parse(i):i,o[n]=i):n&&(o[n]=!0);return o}(Q);if(t)try{for(var a=r(Object.keys(o)),l=a.next();!l.done;l=a.next()){var c=l.value;if(!t.hasOwnProperty(c)){if(T)throw new s.default("InvalidOption","Invalid optional argument: %1",c);delete o[c]}}}catch(Q){n={error:Q}}finally{try{l&&!l.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}return o}}(n||(n={})),t.default=n},function(Q,t,T){"use strict";(function(Q){var e=this&&this.__values||function(Q){var t="function"==typeof Symbol&&Symbol.iterator,T=t&&Q[t],e=0;if(T)return T.call(Q);if(Q&&"number"==typeof Q.length)return{next:function(){return Q&&e>=Q.length&&(Q=void 0),{value:Q&&Q[e++],done:!Q}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.CONFIG=t.MathJax=t.Loader=void 0;var r,n=T(2),i=T(39),o=T(39);Object.defineProperty(t,"Package",{enumerable:!0,get:function(){return o.Package}}),Object.defineProperty(t,"PackageError",{enumerable:!0,get:function(){return o.PackageError}}),function(T){T.ready=function(){for(var Q,t,T=[],r=0;rthis.w&&(this.w=r),n>this.h&&(this.h=n),i>this.d&&(this.d=i)},Q.prototype.append=function(Q){var t=Q.rscale;this.w+=t*(Q.w+Q.L+Q.R),t*Q.h>this.h&&(this.h=t*Q.h),t*Q.d>this.d&&(this.d=t*Q.d)},Q.prototype.updateFrom=function(Q){this.h=Q.h,this.d=Q.d,this.w=Q.w,Q.pwidth&&(this.pwidth=Q.pwidth)},Q.fullWidth="100%",Q}();t.BBox=r},function(Q,t,T){"use strict";var e=this&&this.__values||function(Q){var t="function"==typeof Symbol&&Symbol.iterator,T=t&&Q[t],e=0;if(T)return T.call(Q);if(Q&&"number"==typeof Q.length)return{next:function(){return Q&&e>=Q.length&&(Q=void 0),{value:Q&&Q[e++],done:!Q}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},r=this&&this.__read||function(Q,t){var T="function"==typeof Symbol&&Q[Symbol.iterator];if(!T)return Q;var e,r,n=T.call(Q),i=[];try{for(;(void 0===t||t-- >0)&&!(e=n.next()).done;)i.push(e.value)}catch(Q){r={error:Q}}finally{try{e&&!e.done&&(T=n.return)&&T.call(n)}finally{if(r)throw r.error}}return i},n=this&&this.__spread||function(){for(var Q=[],t=0;tt.length}}}},Q.prototype.add=function(t,T){void 0===T&&(T=Q.DEFAULTPRIORITY);var e=this.items.length;do{e--}while(e>=0&&T=0&&this.items[t].item!==Q);t>=0&&this.items.splice(t,1)},Q.prototype.toArray=function(){return Array.from(this)},Q.DEFAULTPRIORITY=5,Q}();t.PrioritizedList=e},function(Q,t,T){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.numeric=t.translate=t.remove=t.add=t.entities=t.options=void 0;var e=T(71),r=T(103);t.options={loadMissingEntities:!0},t.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 n={};function i(Q,T){if("#"===T.charAt(0))return o(T.slice(1));if(t.entities[T])return t.entities[T];if(t.options.loadMissingEntities){var i=T.match(/^[a-zA-Z](fr|scr|opf)$/)?RegExp.$1:T.charAt(0).toLowerCase();n[i]||(n[i]=!0,e.retryAfter(r.asyncLoad("./util/entities/"+i+".js")))}return Q}function o(Q){var t="x"===Q.charAt(0)?parseInt(Q.slice(1),16):parseInt(Q);return String.fromCodePoint(t)}t.add=function(Q,T){Object.assign(t.entities,Q),n[T]=!0},t.remove=function(Q){delete t.entities[Q]},t.translate=function(Q){return Q.replace(/&([a-z][a-z0-9]*|#(?:[0-9]+|x[0-9a-f]+));/gi,i)},t.numeric=o},function(Q,t,T){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.newState=t.STATE=t.AbstractMathItem=t.protoItem=void 0,t.protoItem=function(Q,t,T,e,r,n,i){return void 0===i&&(i=null),{open:Q,math:t,close:T,n:e,start:{n:r},end:{n:n},display:i}};var e=function(){function Q(Q,T,e,r,n){void 0===e&&(e=!0),void 0===r&&(r={i:0,n:0,delim:""}),void 0===n&&(n={i:0,n:0,delim:""}),this.root=null,this.typesetRoot=null,this.metrics={},this.inputData={},this.outputData={},this._state=t.STATE.UNPROCESSED,this.math=Q,this.inputJax=T,this.display=e,this.start=r,this.end=n,this.root=null,this.typesetRoot=null,this.metrics={},this.inputData={},this.outputData={}}return Object.defineProperty(Q.prototype,"isEscaped",{get:function(){return null===this.display},enumerable:!1,configurable:!0}),Q.prototype.render=function(Q){Q.renderActions.renderMath(this,Q)},Q.prototype.rerender=function(Q,T){void 0===T&&(T=t.STATE.RERENDER),this.state()>=T&&this.state(T-1),Q.renderActions.renderMath(this,Q,T)},Q.prototype.convert=function(Q,T){void 0===T&&(T=t.STATE.LAST),Q.renderActions.renderConvert(this,Q,T)},Q.prototype.compile=function(Q){this.state()=t.STATE.INSERTED&&this.removeFromDocument(T),Q=t.STATE.TYPESET&&(this.outputData={}),Q=t.STATE.COMPILED&&(this.inputData={}),this._state=Q),this._state},Q.prototype.reset=function(Q){void 0===Q&&(Q=!1),this.state(t.STATE.UNPROCESSED,Q)},Q}();t.AbstractMathItem=e,t.STATE={UNPROCESSED:0,FINDMATH:10,COMPILED:20,CONVERT:100,METRICS:110,RERENDER:125,TYPESET:150,INSERTED:200,LAST:1e4},t.newState=function(Q,T){if(Q in t.STATE)throw Error("State "+Q+" already exists");t.STATE[Q]=T}},function(Q,t,T){"use strict";var e=this&&this.__values||function(Q){var t="function"==typeof Symbol&&Symbol.iterator,T=t&&Q[t],e=0;if(T)return T.call(Q);if(Q&&"number"==typeof Q.length)return{next:function(){return Q&&e>=Q.length&&(Q=void 0),{value:Q&&Q[e++],done:!Q}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.Attributes=t.INHERIT=void 0,t.INHERIT="_inherit_";var r=function(){function Q(Q,t){this.global=t,this.defaults=Object.create(t),this.inherited=Object.create(this.defa