!function(){"use strict";vart={306:function(t,e){e.q=void0,e.q="3.2.2"},205:function(t,e,r){varn,i=this&&this.__extends||(n=function(t,e){returnn=Object.setPrototypeOf||{__proto__:[]}instanceofArray&&function(t,e){t.__proto__=e}||function(t,e){for(varrine)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},n(t,e)},function(t,e){if("function"!=typeofe&&null!==e)thrownewTypeError("Class extends value "+String(e)+" is not a constructor or null");functionr(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,newr)}),o=this&&this.__assign||function(){returno=Object.assign||function(t){for(vare,r=1,n=arguments.length;r<n;r++)for(variine=arguments[r])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);returnt},o.apply(this,arguments)},a=this&&this.__read||function(t,e){varr="function"==typeofSymbol&&t[Symbol.iterator];if(!r)returnt;varn,i,o=r.call(t),a=[];try{for(;(void0===e||e-->0)&&!(n=o.next()).done;)a.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throwi.error}}returna},s=this&&this.__importDefault||function(t){returnt&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.TeX=void0;varl=r(309),u=r(77),c=r(982),f=s(r(199)),p=s(r(321)),h=s(r(810)),d=s(r(466)),m=s(r(394)),y=r(251),g=r(552);r(606);varv=function(t){functione(r){void0===r&&(r={});varn=this,i=a((0,u.separateOptions)(r,e.OPTIONS,c.FindTeX.OPTIONS),3),o=i[0],s=i[1],l=i[2];(n=t.call(this,s)||this).findTeX=n.options.FindTeX||newc.FindTeX(l);varp=n.options.packages,h=n.configuration=e.configure(p),d=n._parseOptions=newm.default(h,[n.options,y.TagsFactory.OPTIONS]);return(0,u.userOptions)(d.options,o),h.config(n),e.tags(d,h),n.postFilters.add(f.default.cleanSubSup,-6),n.postFilters.add(f.default.setInherited,-5),n.postFilters.add(f.default.moveLimits,-4),n.postFilters.add(f.default.cleanStretchy,-3),n.postFilters.add(f.default.cleanAttributes,-2),n.postFilters.add(f.default.combineRelations,-1),n}returni(e,t),e.configure=function(t){vare=newg.ParserConfiguration(t,["tex"]);returne.init(),e},e.tags=function(t,e){y.TagsFactory.addTags(e.tags),y.TagsFactory.setDefault(t.options.tags),t.tags=y.TagsFactory.getDefault(),t.tags.configuration=t},e.prototype.setMmlFactory=function(e){t.prototype.setMmlFactory.call(this,e),this._parseOptions.nodeFactory.setMmlFactory(e)},Object.defineProperty(e.prototype,"parseOptions",{get:function(){returnthis._parseOptions},enumerable:!1,configurable:!0}),e.prototype.reset=function(t){void0===t&&(t=0),this.parseOptions.tags.reset(t)},e.prototype.compile=function(t,e){this.parseOptions.clear(),this.executeFilters(this.preFilters,t,e,this.parseOptions);varr,n,i=t.display;this.latex=t.math,this.parseOptions.tags.startEquation(t);try{varo=newh.default(this.latex,{display:i,isInner:!1},this.parseOptions);r=o.mml(),n=o.stack.global}catch(t){if(!(tinstanceofd.default))throwt;this.parseOptions.error=!0,r=this.options.formatError(this,t)}returnr=this.parseOptions.nodeFactory.create("node","math",[r]),(null==n?void0:n.indentalign)&&p.default.setAttribute(r,"indentalign",n.indentalign),i&&p.default.setAttribute(r,"display","block"),this.parseOptions.tags.finishEquation(t),this.parseOptions.root=r,this.executeFilters(this.postFilters,t,e,this.parseOptions),this.mathNode=this.parseOptions.root,this.mathNode},e.prototype.findMath=function(t){returnthis.findTeX.findMath(t)},e.prototype.formatError=function(t){vare=t.message.replace(/\n.*/,"");returnthis.parseOptions.nodeFactory.create("error",e,t.id,this.latex)},e.NAME="TeX",e.OPTIONS=o(o({},l.AbstractInputJax.OPTIONS),{FindTeX:null,packages:["base"],digits:/^(?:[0-9]+(?:\{,\}[0-9]{3})*(?:\.[0-9]*)?|\.[0-9]+)/,maxBuffer:5120,formatError:function(t,e){returnt.formatError(e)}}),e}(l.AbstractInputJax);e.TeX=v},552:function(t,e,r){varn=this&&this.__values||function(t){vare="function"==typeofSymbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)returnr.call(t);if(t&&"number"==typeoft.length)return{next:function(){returnt&&n>=t.length&&(t=void0)