!function(t,e){"object"==typeofexports&&"object"==typeofmodule?module.exports=e():"function"==typeofdefine&&define.amd?define([],e):"object"==typeofexports?exports.katex=e():t.katex=e()}("undefined"!=typeofself?self:this,function(){returnfunction(t){vare={};functionr(a){if(e[a])returne[a].exports;varn=e[a]={i:a,l:!1,exports:{}};returnt[a].call(n.exports,n,n.exports,r),n.l=!0,n.exports}returnr.m=t,r.c=e,r.d=function(t,e,a){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:a})},r.r=function(t){"undefined"!=typeofSymbol&&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)returnt;if(4&e&&"object"==typeoft&&t&&t.__esModule)returnt;vara=Object.create(null);if(r.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeoft)for(varnint)r.d(a,n,function(e){returnt[e]}.bind(null,n));returna},r.n=function(t){vare=t&&t.__esModule?function(){returnt.default}:function(){returnt};returnr.d(e,"a",e),e},r.o=function(t,e){returnObject.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=1)}([function(t,e,r){},function(t,e,r){"use strict";r.r(e);r(0);vara=function(){functiont(t,e,r){this.lexer=void0,this.start=void0,this.end=void0,this.lexer=t,this.start=e,this.end=r}returnt.range=function(e,r){returnr?e&&e.loc&&r.loc&&e.loc.lexer===r.loc.lexer?newt(e.loc.lexer,e.loc.start,r.loc.end):null:e&&e.loc},t}(),n=function(){functiont(t,e){this.text=void0,this.loc=void0,this.noexpand=void0,this.treatAsRelax=void0,this.text=t,this.loc=e}returnt.prototype.range=function(e,r){returnnewt(r,a.range(this,e))},t}(),i=functiont(e,r){this.position=void0;vara,n="KaTeX parse error: "+e,i=r&&r.loc;if(i&&i.start<=i.end){varo=i.lexer.input;a=i.start;vars=i.end;a===o.length?n+=" at end of input: ":n+=" at position "+(a+1)+": ";varl=o.slice(a,s).replace(/[^]/g,"$&\u0332");n+=(a>15?"\u2026"+o.slice(a-15,a):o.slice(0,a))+l+(s+15<o.length?o.slice(s,s+15)+"\u2026":o.slice(s))}varh=newError(n);returnh.name="ParseError",h.__proto__=t.prototype,h.position=a,h};i.prototype.__proto__=Error.prototype;varo=i,s=/([A-Z])/g,l={"&":"&",">":">","<":"<",'"':""","'":"'"},h=/[&><"']/g;varm=functiont(e){return"ordgroup"===e.type?1===e.body.length?t(e.body[0]):e:"color"===e.type?1===e.body.length?t(e.body[0]):e:"font"===e.type?t(e.body):e},c={contains:function(t,e){return-1!==t.indexOf(e)},deflt:function(t,e){returnvoid0===t?e:t},escape:function(t){returnString(t).replace(h,function(t){returnl[t]})},hyphenate:function(t){returnt.replace(s,"-$1").toLowerCase()},getBaseElem:m,isCharacterBox:function(t){vare=m(t);return"mathord"===e.type||"textord"===e.type||"atom"===e.type},protocolFromUrl:function(t){vare=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(t);returnnull!=e?e[1]:"_relative"}},u=function(){functiont(t){this.displayMode=void0,this.output=void0,this.leqno=void0,this.fleqn=void0,this.throwOnError=void0,this.errorColor=void0,this.macros=void0,this.minRuleThickness=void0,this.colorIsTextColor=void0,this.strict=void0,this.trust=void0,this.maxSize=void0,this.maxExpand=void0,this.globalGroup=void0,t=t||{},this.displayMode=c.deflt(t.displayMode,!1),this.output=c.deflt(t.output,"htmlAndMathml"),this.leqno=c.deflt(t.leqno,!1),this.fleqn=c.deflt(t.fleqn,!1),this.throwOnError=c.deflt(t.throwOnError,!0),this.errorColor=c.deflt(t.errorColor,"#cc0000"),this.macros=t.macros||{},this.minRuleThickness=Math.max(0,c.deflt(t.minRuleThickness,0)),this.colorIsTextColor=c.deflt(t.colorIsTextColor,!1),this.strict=c.deflt(t.strict,"warn"),this.trust=c.deflt(t.trust,!1),this.maxSize=Math.max(0,c.deflt(t.maxSize,1/0)),this.maxExpand=Math.max(0,c.deflt(t.maxExpand,1e3)),this.globalGroup=c.deflt(t.globalGroup,!1)}vare=t.prototype;returne.reportNonstrict=function(t,e,r){vara=this.strict;if("function"==typeofa&&(a=a(t,e,r)),a&&"ignore"!==a){if(!0===a||"error"===a)thrownewo("LaTeX-incompatible input and strict mode is set to 'error': "+e+" ["+t+"]",r);"warn"===a?"un