(()=>{"use strict";var e={d:(t,a)=>{for(var n in a)e.o(a,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:a[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{EmpheqUtil:()=>b});var a={};e.r(a),e.d(a,{EmpheqConfiguration:()=>f,EmpheqMethods:()=>E});const n=("undefined"!=typeof window?window:global).MathJax._.components.global,i=(n.GLOBAL,n.isObject,n.combineConfig,n.combineDefaults,n.combineWithMathJax),r=(n.MathJax,MathJax._.input.tex.HandlerTypes),p=r.ConfigurationType,o=r.HandlerType,h=MathJax._.input.tex.Configuration,l=h.Configuration,m=(h.ConfigurationHandler,h.ParserConfiguration,MathJax._.input.tex.TokenMap),s=(m.parseResult,m.AbstractTokenMap,m.RegExpMap,m.AbstractParseMap,m.CharacterMap,m.DelimiterMap,m.MacroMap,m.CommandMap),c=m.EnvironmentMap,d=MathJax._.input.tex.ParseUtil,q=(d.KeyValueDef,d.KeyValueTypes,d.ParseUtil),g=MathJax._.input.tex.TexError.default,u=MathJax._.input.tex.TexParser.default,b={splitOptions:(e,t=null)=>q.keyvalOptions(e,t,!0),columnCount(e){let t=0;for(const a of e.childNodes){const e=a.childNodes.length-(a.isKind("mlabeledtr")?1:0);e>t&&(t=e)}return t},cellBlock(e,t,a,n){const i=a.create("node","mpadded",[],{height:0,depth:0,voffset:"-1height"}),r=new u(e,a.stack.env,a.configuration),p=r.mml();n&&r.configuration.tags.label&&(r.configuration.tags.currentTag.env=n,r.configuration.tags.getTag(!0));for(const e of p.isInferred?p.childNodes:[p])i.appendChild(e);return i.appendChild(a.create("node","mphantom",[a.create("node","mpadded",[t],{width:0})])),i},topRowTable(e,t){const a=q.copyNode(e,t);return a.setChildren(a.childNodes.slice(0,1)),a.attributes.set("align","baseline 1"),e.factory.create("mphantom",{},[t.create("node","mpadded",[a],{width:0})])},rowspanCell(e,t,a,n,i){e.appendChild(n.create("node","mpadded",[this.cellBlock(t,q.copyNode(a,n),n,i),this.topRowTable(a,n)],{height:0,depth:0,voffset:"height"}))},left(e,t,a,n,i=""){let r;e.attributes.set("columnalign","right "+e.attributes.get("columnalign")),e.attributes.set("columnspacing","0em "+e.attributes.get("columnspacing")),0===e.childNodes.length&&e.appendChild(n.create("node","mtr"));for(const t of e.childNodes.slice(0).reverse())r=n.create("node","mtd"),t.childNodes.unshift(r),r.parent=t,t.isKind("mlabeledtr")&&(t.childNodes[0]=t.childNodes[1],t.childNodes[1]=r);this.rowspanCell(r,a,t,n,i)},right(e,t,a,n,i=""){0===e.childNodes.length&&e.appendChild(n.create("node","mtr"));const r=e.childNodes[0],p=b.columnCount(e)+(r.isKind("mlabeledtr")?1:0);for(;r.childNodes.length