(window.__LOADABLE_LOADED_CHUNKS__=window.__LOADABLE_LOADED_CHUNKS__||[]).push([[51],{
/***/"+hbP":
/***/function(t,e,r){"use strict";var i=this&&this.__extends||function(){var t=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])};return function(e,r){function i(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(i.prototype=r.prototype,new i)}}(),n=this&&this.__values||function(t){var e="function"===typeof Symbol&&t[Symbol.iterator],r=0;return e?e.call(t):{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}}};Object.defineProperty(e,"__esModule",{value:!0});var o=r("Si5d"),s=r("yKf1"),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.toSVG=function(t){var e,r,i=this.node.getText();if("-explicitFont"===this.parent.variant)this.adaptor.append(t,this.jax.unknownText(i,this.parent.variant));else{var o=this.parent.stretch.c,s=this.parent.remapChars(o?[o]:this.unicodeChars(i)),a=0;try{for(var h=n(s),l=h.next();!l.done;l=h.next()){var p=l.value;a+=this.placeChar(p,a,0,t,this.parent.variant)}}catch(c){e={error:c}}finally{try{l&&!l.done&&(r=h.return)&&r.call(h)}finally{if(e)throw e.error}}}this.element=this.adaptor.lastChild(t)},e}(r("CW32").CommonTextNodeMixin(s.SVGWrapper));a.kind=o.TextNode.prototype.kind,a.styles={".MathJax path":{"stroke-width":3}},e.SVGTextNode=a},
/***/"/TlI":
/***/function(t,e,r){"use strict";var i=this&&this.__extends||function(){var t=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])};return function(e,r){function i(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(i.prototype=r.prototype,new i)}}(),n=this&&this.__read||function(t,e){var r="function"===typeof Symbol&&t[Symbol.iterator];if(!r)return t;var i,n,o=r.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(i=o.next()).done;)s.push(i.value)}catch(a){n={error:a}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return s};Object.defineProperty(e,"__esModule",{value:!0});var o=r("Jpq3"),s=r("hrjJ"),a=r("8Jrg"),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.addRoot=function(t,e,r){e.toSVG(t);var i=n(this.getRootDimens(r),3),o=i[0],s=i[1],a=i[2],h=e.getBBox();e.place(a*h.rscale,s),this.dx=o},e}(s.CommonMrootMixin(o.SVGmsqrt));h.kind=a.MmlMroot.prototype.kind,e.SVGmroot=h},
/***/"05CK":
/***/function(t,e,r){"use strict";var i=this&&this.__extends||function(){var t=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])};return function(e,r){function i(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(i.prototype=r.prototype,new i)}}();Object.defineProperty(e,"__esModule",{value:!0});var n=r("yKf1"),o=r("t6bs"),s=r("LyRw"),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.toSVG=function(t){var e=this.standardSVGnode(t),r=this.node.attributes.getList("src","alt"),i=r.src,n=r.alt,o=this.fixed(this.height),s={width:this.fixed(this.width),height:o,transform:"translate(0 "+o+") matrix(1 0 0 -1 0 0)",preserveAspectRatio:"none",alt:n,title:n,href:i};this.voffset&&(s.verticalAlign=this.fixed(-this.voffset));var a=this.svg("image",s);this.adaptor.append(e,a)},e}(o.CommonMglyphMixin(n.SVGWrapper));a.kind=s.MmlMglyph.prototype.kind,e.SVGmglyph=a},
/***/"0vWV":
/***/function(t,e,r){"use strict";var i=this&&this.__extends||function(){var t=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])};return function(e,r){function i(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(i.prototype=r.prototype,new i)}}(),n=this&&this.__read||function(t,e){var r="function"===typeof Symbol&&t[Symbol.iterator];if(!r)return t;var i,n,o=r.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(i=o.next()).done;)s.push(i.value)}catch(a){n={error:a}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return s};Object.defineProperty(e,"__esModule",{value:!0});var o=r("yKf1"),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.toSVG=function(t){var e=this.standardSVGnode(t),r=this.baseChild.getBBox(),i=this.script.getBBox(),o=n(this.getOffset(r,i),2),s=o[0],a=o[1];this.baseChild.toSVG(e),this.script.toSVG(e),this.script.place(r.w+s,a)},e}(r("q/ID").CommonScriptbaseMixin(o.SVGWrapper));s.kind="scriptbase",s.useIC=!1,e.SVGscriptbase=s},
/***/"1xbr":
/***/function(t,e,r){"use strict";var i=this&&this.__extends||function(){var t=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])};return function(e,r){function i(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(i.prototype=r.prototype,new i)}}();Object.defineProperty(e,"__esModule",{value:!0});var n=r("yKf1"),o=r("5JPf"),s=r("j7Sq"),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e}(o.CommonMiMixin(n.SVGWrapper));a.kind=s.MmlMi.prototype.kind,e.SVGmi=a},
/***/"4X8I":
/***/function(t,e,r){"use strict";var i=this&&this.__extends||function(){var t=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])};return function(e,r){function i(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(i.prototype=r.prototype,new i)}}();Object.defineProperty(e,"__esModule",{value:!0});var n=r("yKf1"),o=r("iS0N"),s=r("utXM"),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e}(o.CommonMnMixin(n.SVGWrapper));a.kind=s.MmlMn.prototype.kind,e.SVGmn=a},
/***/"9MLb":
/***/function(t,e,r){"use strict";var i=this&&this.__extends||function(){var t=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])};return function(e,r){function i(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(i.prototype=r.prototype,new i)}}(),n=this&&this.__read||function(t,e){var r="function"===typeof Symbol&&t[Symbol.iterator];if(!r)return t;var i,n,o=r.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(i=o.next()).done;)s.push(i.value)}catch(a){n={error:a}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return s};Object.defineProperty(e,"__esModule",{value:!0});var o=r("l3vB"),s=r("b1U9"),a=r("JZWZ"),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.toSVG=function(t){var e=this.standardSVGnode(t),r=this.getScriptData(),i=this.combinePrePost(r.sub,r.psub),o=this.combinePrePost(r.sup,r.psup),s=n(this.getUVQ(r.base,i,o),3),a=s[0],h=s[1],l=(s[2],0);r.numPrescripts&&(l=this.addScripts(.05,a,h,!0,this.firstPrescript,r.numPrescripts));var p=this.baseChild;p.toSVG(e),p.place(l,0),l+=p.getBBox().w,r.numScripts&&this.addScripts(l,a,h,!1,1,r.numScripts)},e.prototype.addScripts=function(t,e,r,i,o,s){var a=this.adaptor,h=a.append(this.element,this.svg("g")),l=a.append(this.element,this.svg("g"));this.place(t,e,h),this.place(t,r,l);for(var p=o+2*s,c=0;o<p;){var u=n([this.childNodes[o++],this.childNodes[o++]],2),d=u[0],f=u[1],y=n([d.getBBox(),f.getBBox()],2),v=y[0],m=y[1],x=n([v.rscale,m.rscale],2),_=x[0],g=x[1],b=Math.max(v.w*_,m.w*g);d.toSVG(l),f.toSVG(h),d.place(c+(i?b-v.w*_:0),0),f.place(c+(i?b-m.w*g:0),0),c+=b}return t+c},e}(s.CommonMmultiscriptsMixin(o.SVGmsubsup));h.kind=a.MmlMmultiscripts.prototype.kind,e.SVGmmultiscripts=h},
/***/"9kuc":
/***/function(t,e,r){"use strict";var i=this&&this.__extends||function(){var t=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])};return function(e,r){function i(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(i.prototype=r.prototype,new i)}}(),n=this&&this.__read||function(t,e){var r="function"===typeof Symbol&&t[Symbol.iterator];if(!r)return t;var i,n,o=r.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(i=o.next()).done;)s.push(i.value)}catch(a){n={error:a}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return s};Object.defineProperty(e,"__esModule",{value:!0});var o=r("l3vB"),s=r("XKeD"),a=r("XKeD"),h=r("XKeD"),l=r("sSig"),p=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.toSVG=function(e){if(this.hasMovableLimits())t.prototype.toSVG.call(this,e);else{var r=this.standardSVGnode(e),i=n([this.baseChild,this.script],2),o=i[0],s=i[1],a=n([o.getBBox(),s.getBBox()],2),h=a[0],l=a[1];o.toSVG(r),s.toSVG(r);var p=this.getDelta(!0),c=n(this.getUnderKV(h,l),2),u=(c[0],c[1]),d=n(this.getDeltaW([h,l],[0,-p]),2),f=d[0],y=d[1];o.place(f,0),s.place(y,u)}},e}(s.CommonMunderMixin(o.SVGmsub));p.kind=l.MmlMunder.prototype.kind,p.useIC=!0,e.SVGmunder=p;var c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.toSVG=function(e){if(this.hasMovableLimits())t.prototype.toSVG.call(this,e);else{var r=this.standardSVGnode(e),i=n([this.baseChild,this.script],2),o=i[0],s=i[1],a=n([o.getBBox(),s.getBBox()],2),h=a[0],l=a[1];o.toSVG(r),s.toSVG(r);var p=this.getDelta(),c=n(this.getOverKU(h,l),2),u=(c[0],c[1]),d=n(this.getDeltaW([h,l],[0,p]),2),f=d[0],y=d[1];o.place(f,0),s.place(y,u)}},e}(a.CommonMoverMixin(o.SVGmsup));c.kind=l.MmlMover.prototype.kind,c.useIC=!0,e.SVGmover=c;var u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.toSVG=function(e){if(this.hasMovableLimits())t.prototype.toSVG.call(this,e);else{var r=this.standardSVGnode(e),i=n([this.baseChild,this.overChild,this.underChild],3),o=i[0],s=i[1],a=i[2],h=n([o.getBBox(),s.getBBox(),a.getBBox()],3),l=h[0],p=h[1],c=h[2];o.toSVG(r),a.toSVG(r),s.toSVG(r);var u=this.getDelta(),d=n(this.getOverKU(l,p),2),f=(d[0],d[1]),y=n(this.getUnderKV(l,c),2),v=(y[0],y[1]),m=n(this.getDeltaW([l,c,p],[0,-u,u]),3),x=m[0],_=m[1],g=m[2];o.place(x,0),a.place(_,v),s.place(g,f)}},e}(h.CommonMunderoverMixin(o.SVGmsubsup));u.kind=l.MmlMunderover.prototype.kind,u.useIC=!0,e.SVGmunderover=u},
/***/"9yMK":
/***/function(t,e,r){"use strict";var i=this&&this.__extends||function(){var t=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])};return function(e,r){function i(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(i.prototype=r.prototype,new i)}}();Object.defineProperty(e,"__esModule",{value:!0});var n=r("yKf1"),o=r("VAFh"),s=r("VAFh"),a=r("GXDx"),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.toSVG=function(t){var e=this.node.isInferred?this.element=t:this.standardSVGnode(t);this.addChildren(e)},e}(o.CommonMrowMixin(n.SVGWrapper));h.kind=a.MmlMrow.prototype.kind,e.SVGmrow=h;var l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e}(s.CommonInferredMrowMixin(h));l.kind=a.MmlInferredMrow.prototype.kind,e.SVGinferredMrow=l},
/***/AUnj:
/***/function(t,e,r){"use strict";var i=this&&this.__extends||function(){var t=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])};return function(e,r){function i(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(i.prototype=r.prototype,new i)}}(),n=this&&this.__read||function(t,e){var r="function"===typeof Symbol&&t[Symbol.iterator];if(!r)return t;var i,n,o=r.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(i=o.next()).done;)s.push(i.value)}catch(a){n={error:a}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return s};Object.defineProperty(e,"__esModule",{value:!0});var o=r("yKf1"),s=r("8VwP"),a=r("IMAM"),h=r("EZA6"),l=.1,p=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.toSVG=function(e){var r=this.node.attributes,i=r.get("symmetric")&&2!==this.stretch.dir,n=0!==this.stretch.dir;n&&null===this.size&&this.getStretchedVariant([]);var o=this.standardSVGnode(e);if(n&&this.size<0)this.stretchSVG(o,i);else{if(i||r.get("largeop")){var s=h.BBox.empty();t.prototype.computeBBox.call(this,s);var a=this.fixed((s.d-s.h)/2+this.font.params.axis_height);"0"!==a&&this.adaptor.setAttribute(o,"transform","translate(0 "+a+")")}this.addChildren(o)}},e.prototype.stretchSVG=function(t,e){var r=this.stretch.stretch,i=this.getBBox();1===this.stretch.dir?this.stretchVertical(r,i):this.stretchHorizontal(r,i)},e.prototype.stretchVertical=function(t,e){var r=e.h,i=e.d,o=e.w,s=this.addTop(t[0],r,o),a=this.addBot(t[2],i,o);if(4===t.length){var h=n(this.addMidV(t[3],o),2),l=h[0],p=h[1];this.addExtV(t[1],r,0,s,l,o),this.addExtV(t[1],0,i,p,a,o)}else this.addExtV(t[1],r,i,s,a,o)},e.prototype.stretchHorizontal=function(t,e){e.h,e.d;var r=e.w,i=this.addLeft(t[0]),o=this.addRight(t[2],r);if(4===t.length){var s=n(this.addMidH(t[3],r),2),a=s[0],h=s[1],l=r/2;this.addExtH(t[1],l,i,l-a),this.addExtH(t[1],l,h-l,o,l)}else this.addExtH(t[1],r,i,o)},e.prototype.getChar=function(t){var e=this.font.getChar("-size4",t)||[0,0,0,null];return[e[0],e[1],e[2],e[3]||{}]},e.prototype.addGlyph=function(t,e,r,i){return void 0===i&&(i=null),this.placeChar(t,e,r,i||this.element,"-size4")},e.prototype.addTop=function(t,e,r){if(!t)return 0;var i=n(this.getChar(t),3),o=i[0],s=i[1],a=i[2];return this.addGlyph(t,(r-a)/2,e-o),o+s},e.prototype.addExtV=function(t,e,r,i,o,s){var a=this;if(t){i=Math.max(0,i-l),o=Math.max(0,o-l);var h=this.adaptor,p=n(this.getChar(t),3),c=p[0],u=p[1],d=p[2],f=e+r-i-o,y=1.5*f/(c+u),v=(y*(c-u)-f)/2,m=this.svg("svg",{width:this.fixed(d),height:this.fixed(f),y:this.fixed(o-r),x:this.fixed((s-d)/2),viewBox:[0,v,d,f].map((function(t){return a.fixed(t)})).join(" ")});this.addGlyph(t,0,0,m);var x=h.lastChild(m);h.setAttribute(x,"transform","scale(1, "+this.jax.fixed(y)+")"),h.append(this.element,m)}},e.prototype.addBot=function(t,e,r){if(!t)return 0;var i=n(this.getChar(t),3),o=i[0],s=i[1],a=i[2];return this.addGlyph(t,(r-a)/2,s-e),o+s},e.prototype.addMidV=function(t,e){if(!t)return[0,0];var r=n(this.getChar(t),3),i=r[0],o=r[1],s=r[2],a=(o-i)/2+this.font.params.axis_height;return this.addGlyph(t,(e-s)/2,a),[i+a,o-a]},e.prototype.addLeft=function(t){return t?this.addGlyph(t,0,0):0},e.prototype.addExtH=function(t,e,r,i,o){var s=this;if(void 0===o&&(o=0),t){i=Math.max(0,i-.1),r=Math.max(0,r-.1);this.adaptor;var a=n(this.getChar(t),3),h=a[0],l=a[1],p=a[2],c=e-r-i,u=h+l+.2,d=c/p*1.5,f=this.svg("svg",{width:this.fixed(c),height:this.fixed(u),x:this.fixed(o+r),y:this.fixed(-.1),viewBox:[(d*p-c)/2,-.1,c,u].map((function(t){return s.fixed(t)})).join(" ")});this.addGlyph(t,0,0,f);var y=this.adaptor.lastChild(f);this.adaptor.setAttribute(y,"transform","scale("+this.jax.fixed(d)+", 1)"),this.adaptor.append(this.element,f)}},e.prototype.addRight=function(t,e){if(!t)return 0;var r=n(this.getChar(t),3),i=(r[0],r[1],r[2]);return this.addGlyph(t,e-i,0)},e.prototype.addMidH=function(t,e){if(!t)return[0,0];var r=n(this.getChar(t),3),i=(r[0],r[1],r[2]);return this.addGlyph(t,(e-i)/2,0),[(e-i)/2,(e+i)/2]},e}(s.CommonMoMixin(o.SVGWrapper));p.kind=a.MmlMo.prototype.kind,e.SVGmo=p},
/***/C5Hm:
/***/function(t,e,r){"use strict";var i=this&&this.__extends||function(){var t=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])};return function(e,r){function i(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(i.prototype=r.prototype,new i)}}(),n=this&&this.__assign||Object.assign||function(t){for(var e,r=1,i=arguments.length;r<i;r++)for(var n in e=arguments[r])Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t},o=this&&this.__read||function(t,e){var r="function"===typeof Symbol&&t[Symbol.iterator];if(!r)return t;var i,n,o=r.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(i=o.next()).done;)s.push(i.value)}catch(a){n={error:a}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return s};Object.defineProperty(e,"__esModule",{value:!0});var s=r("+S0c"),a=r("TKoW"),h=r("+6eA"),l=r("zHgQ");e.SVGNS="http://www.w3.org/2000/svg",e.XLINKNS="http://www.w3.org/1999/xlink";var p=function(t){function r(e){void 0===e&&(e=null);var r=t.call(this,e,a.SVGWrapperFactory,h.TeXFont)||this;return r.minwidth=0,r.shift=0,r.fontCache=new l.FontCache(r),r}return i(r,t),r.prototype.initialize=function(){"global"===this.options.fontCache&&this.fontCache.clearCache()},r.prototype.clearFontCache=function(){this.fontCache.clearCache()},r.prototype.setScale=function(t){},r.prototype.escaped=function(t,e){return this.setDocument(e),this.html("span",{},[this.text(t.math)])},r.prototype.styleSheet=function(e){var i=t.prototype.styleSheet.call(this,e);return this.adaptor.setAttribute(i,"id",r.STYLESHEETID),i},r.prototype.addClassStyles=function(e){t.prototype.addClassStyles.call(this,e)},r.prototype.pageElements=function(t){return"global"!==this.options.fontCache||this.findCache(t)?null:this.svg("svg",{id:r.FONTCACHEID,style:{display:"none"}},[this.fontCache.getCache()])},r.prototype.findCache=function(t){for(var e=this.adaptor,i=e.tags(e.body(t.document),"svg"),n=i.length-1;n>=0;n--)if(this.adaptor.getAttribute(i[n],"id")===r.FONTCACHEID)return!0;return!1},r.prototype.processMath=function(t,e){var r=this.container;this.container=e;var i=this.factory.wrap(t),n=o(this.createRoot(i),2),s=n[0],a=n[1];this.typesetSVG(i,s,a),this.container=r},r.prototype.createRoot=function(t){var r=t.getBBox(),i=r.w,n=r.h,o=r.d,s=r.pwidth,a=Math.max(i,.001),h=this.svg("g",{stroke:"currentColor",fill:"currentColor","stroke-width":0,transform:"matrix(1 0 0 -1 0 0)"}),l=this.adaptor,p=l.append(this.container,this.svg("svg",{xmlns:e.SVGNS,width:this.ex(a),height:this.ex(n+o),style:{"vertical-align":this.ex(-o)},viewBox:[0,this.fixed(1e3*-n,1),this.fixed(1e3*a,1),this.fixed(1e3*(n+o),1)].join(" ")},[h]));if(.001===a&&(l.setAttribute(p,"preserveAspectRatio","xMidYMid slice"),i<0&&l.setStyle(this.container,"margin-right",this.ex(i))),s){l.setAttribute(p,"width",s),l.removeAttribute(p,"viewBox");var c=t.metrics.ex/(1e3*this.font.params.x_height);l.setAttribute(h,"transform","matrix(1 0 0 -1 0 0) scale("+this.fixed(c,6)+") translate(0, "+this.fixed(1e3*-n,1)+")")}return"none"!==this.options.fontCache&&l.setAttribute(p,"xmlns:xlink",e.XLINKNS),[p,h]},r.prototype.typesetSVG=function(t,e,r){var i=this.adaptor;if(this.minwidth=this.shift=0,"local"===this.options.fontCache&&(this.fontCache.clearCache(),this.fontCache.useLocalID(this.options.localID),i.insert(this.fontCache.getCache(),r)),t.toSVG(r),this.fontCache.clearLocalID(),this.minwidth)i.setStyle(e,"minWidth",this.ex(this.minwidth));else if(this.shift){var n=i.getAttribute(this.container,"justify")||"center";this.setIndent(e,n,this.shift)}},r.prototype.setIndent=function(t,e,r){"center"!==e&&"left"!==e||this.adaptor.setStyle(t,"margin-left",this.ex(r)),"center"!==e&&"right"!==e||this.adaptor.setStyle(t,"margin-right",this.ex(-r))},r.prototype.ex=function(t){return t/=this.font.params.x_height,Math.abs(t)<.001?"0":t.toFixed(3).replace(/\.?0+$/,"")+"ex"},r.prototype.svg=function(t,r,i){return void 0===r&&(r={}),void 0===i&&(i=[]),this.html(t,r,i,e.SVGNS)},r.prototype.unknownText=function(t,e){var r=this.math.metrics,i=this.font.params.x_height/r.ex*r.em*1e3,n=this.svg("text",{"data-variant":e,transform:"matrix(1 0 0 -1 0 0)","font-size":this.fixed(i,1)+"px"},[this.text(t)]),s=this.adaptor;if("-explicitFont"!==e){var a=o(this.font.getCssFont(e),3),h=a[0],l=a[1],p=a[2];s.setAttribute(n,"font-family",h),l&&s.setAttribute(n,"font-style","italic"),p&&s.setAttribute(n,"font-weight","bold")}return n},r.prototype.measureTextNode=function(t){var e=this.adaptor;t=e.clone(t),e.removeAttribute(t,"transform");var r=this.fixed(1e3*this.font.params.x_height,1),i=this.svg("svg",{position:"absolute",visibility:"hidden",width:"1ex",height:"1ex",viewBox:[0,0,r,r].join(" ")},[t]);e.append(e.body(e.document),i);var n=e.nodeSize(t,1e3,!0)[0];return e.remove(i),{w:n,h:.75,d:.25}},r}(s.CommonOutputJax);p.NAME="SVG",p.OPTIONS=n({},s.CommonOutputJax.OPTIONS,{titleID:0,fontCache:"local",localID:null}),p.commonStyles={'mjx-container[jax="SVG"] > svg':{overflow:"visible"},'mjx-container[jax="SVG"] > svg a':{fill:"blue",stroke:"blue"}},p.FONTCACHEID="MJX-SVG-global-cache",p.STYLESHEETID="MJX-SVG-styles",e.SVG=p},
/***/EZA6:
/***/function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=r("nIlK");e.BBox=i.BBox,e.BBoxStyleAdjust=i.BBoxStyleAdjust},
/***/Eup7:
/***/function(t,e,r){"use strict";var i=this&&this.__extends||function(){var t=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])};return function(e,r){function i(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(i.prototype=r.prototype,new i)}}();Object.defineProperty(e,"__esModule",{value:!0});var n=r("yKf1"),o=r("oSnk"),s=r("iWD3"),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e}(o.CommonMspaceMixin(n.SVGWrapper));a.kind=s.MmlMspace.prototype.kind,e.SVGmspace=a},
/***/Jpq3:
/***/function(t,e,r){"use strict";var i=this&&this.__extends||function(){var t=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])};return function(e,r){function i(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(i.prototype=r.prototype,new i)}}();Object.defineProperty(e,"__esModule",{value:!0});var n=r("yKf1"),o=r("/wCj"),s=r("UUIN"),a=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.dx=0,e}return i(e,t),e.prototype.toSVG=function(t){var e=this.childNodes[this.surd],r=this.childNodes[this.base],i=this.root?this.childNodes[this.root]:null,n=this.getBBox(),o=e.getBBox(),s=r.getBBox(),a=this.font.params.rule_thickness*this.bbox.scale,h=this.standardSVGnode(t),l=this.adaptor.append(h,this.svg("g"));this.addRoot(h,i,o),e.toSVG(h),e.place(this.dx,n.h-o.h-a),r.toSVG(l),r.place(this.dx+o.w,0);this.adaptor.append(h,this.svg("rect",{width:this.fixed(s.w),height:this.fixed(a),x:this.fixed(this.dx+o.w),y:this.fixed(n.h-2*a)}))},e.prototype.addRoot=function(t,e,r){},e}(o.CommonMsqrtMixin(n.SVGWrapper));a.kind=s.MmlMsqrt.prototype.kind,e.SVGmsqrt=a},
/***/OFUE:
/***/function(t,e,r){"use strict";var i=this&&this.__extends||function(){var t=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])};return function(e,r){function i(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(i.prototype=r.prototype,new i)}}(),n=this&&this.__read||function(t,e){var r="function"===typeof Symbol&&t[Symbol.iterator];if(!r)return t;var i,n,o=r.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(i=o.next()).done;)s.push(i.value)}catch(a){n={error:a}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.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};Object.defineProperty(e,"__esModule",{value:!0});var s=r("yKf1"),a=r("YIlU"),h=r("Xir0"),l=function(t){function e(e,r,i){void 0===i&&(i=null);var n=t.call(this,e,r,i)||this,o={"data-labels":!0};return n.isTop&&(o.transform="matrix(1 0 0 -1 0 0)"),n.labels=n.svg("g",o),n}return i(e,t),e.prototype.toSVG=function(t){var e=this.standardSVGnode(t);this.placeRows(e),this.handleColumnLines(e),this.handleRowLines(e),this.handleFrame(e);var r=this.handlePWidth(e);this.handleLabels(e,t,r)},e.prototype.placeRows=function(t){for(var e,r,i,s=this.node.attributes.get("equalrows"),a=this.getTableData(),h=a.H,l=a.D,p=this.getEqualRowHeight(),c=this.getRowHalfSpacing(),u=o([this.fLine],this.rLines,[this.fLine]),d=this.getBBox().h-u[0],f=0;f<this.numRows;f++){var y=this.childNodes[f];e=n(this.getRowHD(s,p,h[f],l[f]),2),y.H=e[0],y.D=e[1],r=n([c[f],c[f+1]],2),y.tSpace=r[0],y.bSpace=r[1],i=n([u[f],u[f+1]],2),y.tLine=i[0],y.bLine=i[1],y.toSVG(t),y.place(0,d-c[f]-y.H),d-=c[f]+y.H+y.D+c[f+1]+u[f+1]}},e.prototype.getRowHD=function(t,e,r,i){return t?[(e+r-i)/2,(e-r+i)/2]:[r,i]},e.prototype.handleColor=function(){t.prototype.handleColor.call(this);var e=this.adaptor.firstChild(this.element);e&&this.adaptor.setAttribute(e,"width",this.fixed(this.getWidth()))},e.prototype.handleColumnLines=function(t){if("none"!==this.node.attributes.get("columnlines")){var e=this.getColumnAttributes("columnlines");if(e)for(var r=this.getColumnHalfSpacing(),i=this.cLines,n=this.getComputedWidths(),o=this.fLine,s=0;s<e.length;s++)o+=r[s]+n[s]+r[s+1],"none"!==e[s]&&this.adaptor.append(t,this.makeVLine(o,e[s],i[s])),o+=i[s]}},e.prototype.handleRowLines=function(t){if("none"!==this.node.attributes.get("rowlines")){var e=this.getRowAttributes("rowlines");if(e)for(var r=this.node.attributes.get("equalrows"),i=this.getTableData(),o=i.H,s=i.D,a=this.getEqualRowHeight(),h=this.getRowHalfSpacing(),l=this.rLines,p=this.getBBox().h-this.fLine,c=0;c<e.length;c++){var u=n(this.getRowHD(r,a,o[c],s[c]),2),d=u[0],f=u[1];p-=h[c]+d+f+h[c+1],"none"!==e[c]&&this.adaptor.append(t,this.makeHLine(p,e[c],l[c])),p-=l[c]}}},e.prototype.handleFrame=function(t){if(this.frame){var e=this.getBBox(),r=e.h,i=e.d,n=e.w,o=this.node.attributes.get("frame");this.adaptor.append(t,this.makeFrame(n,r,i,o))}},e.prototype.handlePWidth=function(t){if(!this.pWidth)return 0;var e=this.getBBox(),r=e.w,i=e.L,o=e.R,s=i+this.pWidth+o,a=n(this.getAlignShift(),2),h=a[0],l=(a[1],Math.max(this.isTop?s:0,this.container.getWrapWidth(this.containerI))-i-o),p=r-(this.pWidth>l?l:this.pWidth),c="left"===h?0:"right"===h?p:p/2;if(c){var u=this.svg("g",{},this.adaptor.childNodes(t));this.place(c,0,u),this.adaptor.append(t,u)}return c},e.prototype.lineClass=function(t){return"mjx-"+t},e.prototype.makeFrame=function(t,e,r,i){var n=this.fLine;return this.svg("rect",this.setLineThickness(n,i,{"data-frame":!0,class:this.lineClass(i),width:this.fixed(t-n),height:this.fixed(e+r-n),x:this.fixed(n/2),y:this.fixed(n/2-r)}))},e.prototype.makeVLine=function(t,e,r){var i=this.getBBox(),n=i.h,o=i.d,s="dotted"===e?r/2:0,a=this.fixed(t+r/2);return this.svg("line",this.setLineThickness(r,e,{"data-line":"v",class:this.lineClass(e),x1:a,y1:this.fixed(s-o),x2:a,y2:this.fixed(n-s)}))},e.prototype.makeHLine=function(t,e,r){var i=this.getBBox().w,n="dotted"===e?r/2:0,o=this.fixed(t-r/2);return this.svg("line",this.setLineThickness(r,e,{"data-line":"h",class:this.lineClass(e),x1:this.fixed(n),y1:o,x2:this.fixed(i-n),y2:o}))},e.prototype.setLineThickness=function(t,e,r){return.07!==t&&(r["stroke-thickness"]=this.fixed(t),"solid"!==e&&(r["stroke-dasharray"]=("dotted"===e?"0,":"")+this.fixed(2*t))),r},e.prototype.handleLabels=function(t,e,r){if(this.hasLabels){var i=this.labels,n=this.node.attributes,o=(this.adaptor,n.get("side"));this.spaceLabels(),this.isTop?this.topTable(t,i,o):this.subTable(t,i,o,r)}},e.prototype.spaceLabels=function(){for(var t=this.adaptor,e=(this.node.attributes.get("equalrows"),this.getBBox()),r=e.h,i=(e.d,this.getTableData().L),n=this.getRowHalfSpacing(),o=r-this.fLine,s=t.firstChild(this.labels),a=0;a<this.numRows;a++){var h=this.childNodes[a];if(h.node.isKind("mlabeledtr")){var l=h.childNodes[0];o-=n[a]+h.H,h.placeCell(l,{x:0,y:o,w:i,lSpace:0,rSpace:0,lLine:0,rLine:0}),o-=h.D+n[a+1]+this.rLines[a],s=t.next(s)}else o-=n[a]+h.H+h.D+n[a+1]+this.rLines[a]}},e.prototype.topTable=function(t,e,r){var i=this.adaptor,o=this.getBBox(),s=o.h,a=o.d,h=o.w,l=o.L,p=o.R,c=l+(this.pWidth||h)+p,u=this.getTableData().L,d=n(this.getPadAlignShift(r),3),f=(d[0],d[1]),y=d[2],v=y?" translate("+this.fixed(y)+" 0)":"",m="scale("+this.jax.fixed(1e3*this.font.params.x_height/this.metrics.ex,2)+")",x="translate(0, "+this.fixed(s)+") matrix(1 0 0 -1 0 0) "+m,_=this.svg("svg",{"data-table":!0,preserveAspectRatio:"left"===f?"xMinYMid":"right"===f?"xMaxYMid":"xMidYMid",viewBox:[this.fixed(-l),this.fixed(-s),this.fixed(c),this.fixed(s+a)].join(" ")},[this.svg("g",{transform:"matrix(1 0 0 -1 0 0)"+v},i.childNodes(t))]);e=this.svg("svg",{"data-labels":!0,preserveAspectRatio:"left"===r?"xMinYMid":"xMaxYMid",viewBox:[0,this.fixed(-s),this.fixed(u),this.fixed(s+a)].join(" ")},[e]),i.append(t,this.svg("g",{transform:x},[_,e])),this.place(-l,0,t)},e.prototype.subTable=function(t,e,r,i){var o=this.adaptor,s=this.getBBox(),a=s.w,h=s.L,l=s.R,p=h+(this.pWidth||a)+l,c=this.getTableData().L,u=n(this.getAlignShift(),2),d=u[0],f=(u[1],Math.max(p,this.container.getWrapWidth(this.containerI)));this.place("left"===r?("left"===d?0:"right"===d?p-f+i:(p-f)/2+i)-h:("left"===d?f:"right"===d?p+i:(f+p)/2+i)-h-c,0,e),o.append(t,e)},e}(a.CommonMtableMixin(s.SVGWrapper));l.kind=h.MmlMtable.prototype.kind,l.styles={'g[data-mml-node="mtable"] > line[data-line]':{"stroke-width":"70px",fill:"none"},'g[data-mml-node="mtable"] > rect[data-frame]':{"stroke-width":"70px",fill:"none"},'g[data-mml-node="mtable"] > .mjx-dashed':{"stroke-dasharray":"140"},'g[data-mml-node="mtable"] > .mjx-dotted':{"stroke-linecap":"round","stroke-dasharray":"0,140"},'g[data-mml-node="mtable"] > svg':{overflow:"visible"}},e.SVGmtable=l},
/***/"Ro+G":
/***/function(t,e,r){"use strict";var i=this&&this.__extends||function(){var t=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])};return function(e,r){function i(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(i.prototype=r.prototype,new i)}}();Object.defineProperty(e,"__esModule",{value:!0});var n=r("yKf1"),o=r("j3TH"),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.toSVG=function(t){var e=this.standardSVGnode(t),r=this.getBBox(),i=r.h,n=r.d,o=r.w;this.adaptor.append(this.element,this.svg("rect",{"data-background":!0,width:this.fixed(o),height:this.fixed(i+n),y:this.fixed(-n)})),this.addChildren(e)},e}(n.SVGWrapper);s.kind=o.MmlMerror.prototype.kind,s.styles={'g[data-mml-node="merror"] > g':{fill:"red",stroke:"red"},'g[data-mml-node="merror"] > rect[data-background]':{fill:"yellow",stroke:"none"}},e.SVGmerror=s},
/***/TKoW:
/***/function(t,e,r){"use strict";var i=this&&this.__extends||function(){var t=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])};return function(e,r){function i(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(i.prototype=r.prototype,new i)}}();Object.defineProperty(e,"__esModule",{value:!0});var n=r("o9RB"),o=r("ZEzj"),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.jax=null,e}return i(e,t),e}(n.CommonWrapperFactory);s.defaultNodes=o.SVGWrappers,e.SVGWrapperFactory=s},
/***/WAP7:
/***/function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=r("XG6e");!function(t){for(var r in t)e.hasOwnProperty(r)||(e[r]=t[r])}(r("XG6e")),e.computeLineData={top:function(t,e,r,i){return[0,t-i,r,t-i]},right:function(t,e,r,i){return[r-i,-e,r-i,t]},bottom:function(t,e,r,i){return[0,i-e,r,i-e]},left:function(t,e,r,i){return[i,-e,i,t]},vertical:function(t,e,r,i){return[r/2-i,t,r/2-i,-e]},horizontal:function(t,e,r,i){return[0,(t-e)/2-i,r,(t-e)/2-i]},up:function(t,e,r,i){return[i,i-e,r-i,t-i]},down:function(t,e,r,i){return[i,t-i,r-i,i-e]}},e.lineData=function(t,r){var i=t.getBBox(),n=i.h,o=i.d,s=i.w,a=t.thickness/2;return e.computeLineData[r](n,o,s,a)},e.RenderLine=function(t){return function(r,i){r.adaptor.append(r.element,r.line(e.lineData(r,t)))}},e.Border=function(t){return i.CommonBorder((function(r,i){r.adaptor.append(r.element,r.line(e.lineData(r,t)))}))(t)},e.Border2=function(t,r,n){return i.CommonBorder2((function(t,i){t.adaptor.append(t.element,t.line(e.lineData(t,r))),t.adaptor.append(t.element,t.line(e.lineData(t,n)))}))(t,r,n)},e.DiagonalStrike=function(t){return i.CommonDiagonalStrike((function(r){return function(r,i){r.adaptor.append(r.element,r.line(e.lineData(r,t)))}}))(t)},e.DiagonalArrow=function(t){return i.CommonDiagonalArrow((function(t,e){t.adaptor.append(t.element,e)}))(t)},e.Arrow=function(t){return i.CommonArrow((function(t,e){t.adaptor.append(t.element,e)}))(t)}},
/***/Wv28:
/***/function(t,e,r){"use strict";var i=this&&this.__extends||function(){var t=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])};return function(e,r){function i(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(i.prototype=r.prototype,new i)}}(),n=this&&this.__read||function(t,e){var r="function"===typeof Symbol&&t[Symbol.iterator];if(!r)return t;var i,n,o=r.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(i=o.next()).done;)s.push(i.value)}catch(a){n={error:a}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return s};Object.defineProperty(e,"__esModule",{value:!0});var o=r("yKf1"),s=r("xqnC"),a=r("bWkn"),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.toSVG=function(t){this.standardSVGnode(t);var e=this.node.attributes.getList("linethickness","bevelled"),r=e.linethickness,i=e.bevelled,n=this.isDisplay();if(i)this.makeBevelled(n);else{var o=this.length2em(String(r));0===o?this.makeAtop(n):this.makeFraction(n,o)}},e.prototype.makeFraction=function(t,e){var r=this.element,i=this.node.attributes.getList("numalign","denomalign"),o=i.numalign,s=i.denomalign,a=n(this.childNodes,2),h=a[0],l=a[1],p=h.getBBox(),c=l.getBBox(),u=this.font.params,d=u.axis_height,f=this.node.getProperty("withDelims")?0:u.nulldelimiterspace,y=Math.max((p.L+p.w+p.R)*p.rscale,(c.L+c.w+c.R)*c.rscale),v=this.getAlignX(y,p,o)+.1+f,m=this.getAlignX(y,c,s)+.1+f,x=this.getTUV(t,e),_=x.T,g=x.u,b=x.v;h.toSVG(r),h.place(v,d+_+Math.max(p.d*p.rscale,g)),l.toSVG(r),l.place(m,d-_-Math.max(c.h*c.rscale,b)),this.adaptor.append(r,this.svg("rect",{width:this.fixed(y+.2),height:this.fixed(e),x:this.fixed(f),y:this.fixed(d-e/2)}))},e.prototype.makeAtop=function(t){var e=this.element,r=this.node.attributes.getList("numalign","denomalign"),i=r.numalign,o=r.denomalign,s=n(this.childNodes,2),a=s[0],h=s[1],l=a.getBBox(),p=h.getBBox(),c=this.font.params,u=this.node.getProperty("withDelims")?0:c.nulldelimiterspace,d=Math.max((l.L+l.w+l.R)*l.rscale,(p.L+p.w+p.R)*p.rscale),f=this.getAlignX(d,l,i)+u,y=this.getAlignX(d,p,o)+u,v=this.getUVQ(t),m=v.u,x=v.v;a.toSVG(e),a.place(f,m),h.toSVG(e),h.place(y,-x)},e.prototype.makeBevelled=function(t){var e=this.element,r=n(this.childNodes,2),i=r[0],o=r[1],s=this.getBevelData(t),a=s.u,h=s.v,l=s.delta,p=s.nbox,c=s.dbox,u=(p.L+p.w+p.R)*p.rscale;i.toSVG(e),this.bevel.toSVG(e),o.toSVG(e),i.place(p.L*p.rscale,a),this.bevel.place(u-l/2,0),o.place(u+this.bevel.getBBox().w+c.L*c.rscale-l,h)},e}(s.CommonMfracMixin(o.SVGWrapper));h.kind=a.MmlMfrac.prototype.kind,e.SVGmfrac=h},
/***/XNgC:
/***/function(t,e,r){"use strict";var i=this&&this.__extends||function(){var t=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])};return function(e,r){function i(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(i.prototype=r.prototype,new i)}}();Object.defineProperty(e,"__esModule",{value:!0});var n=r("yKf1"),o=r("yBjL"),s=r("yBjL"),a=r("3/ue"),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.toSVG=function(t){var e=this.standardSVGnode(t),r=this.selected,i=r.getBBox(),n=i.h,o=i.d,s=i.w;this.adaptor.append(this.element,this.svg("rect",{width:this.fixed(s),height:this.fixed(n+o),y:this.fixed(-o),fill:"none","pointer-events":"all"})),r.toSVG(e),this.action(this,this.data)},e.prototype.setEventHandler=function(t,e){this.element.addEventListener(t,e)},e}(o.CommonMactionMixin(n.SVGWrapper));h.kind=a.MmlMaction.prototype.kind,h.styles={'[jax="SVG"] mjx-tool':{display:"inline-block",position:"relative",width:0,height:0},'[jax="SVG"] mjx-tool > mjx-tip':{position:"absolute",top:0,left:0},"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"},'g[data-mml-node="maction"][data-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"}},h.actions=new Map([["toggle",[function(t,e){t.adaptor.setAttribute(t.element,"data-toggle",t.node.attributes.get("selection"));var r=t.factory.jax.math,i=t.factory.jax.document,n=t.node;t.setEventHandler("click",(function(t){r.start.node||(r.start.node=r.end.node=r.typesetRoot,r.start.n=r.end.n=0),n.nextToggleSelection(),r.rerender(i),t.stopPropagation()}))},{}]],["tooltip",[function(t,e){var r=t.childNodes[1];if(r){var i=t.adaptor.firstChild(t.element);if(r.node.isKind("mtext")){var n=r.node.getText();t.adaptor.insert(t.svg("title",{},[t.text(n)]),i)}else{var o=t.adaptor,s=t.jax.container,a=t.node.factory.create("math",{},[t.childNodes[1].node]),h=t.html("mjx-tool",{},[t.html("mjx-tip")]),l=o.append(i,t.svg("foreignObject",{style:{display:"none"}},[h]));t.jax.processMath(a,o.firstChild(h)),t.childNodes[1].node.parent=t.node,t.setEventHandler("mouseover",(function(r){e.stopTimers(t,e),e.hoverTimer.set(t,setTimeout((function(){o.setStyle(h,"left","0"),o.setStyle(h,"top","0"),o.append(s,h);var e=o.nodeBBox(h),r=o.nodeBBox(t.element),i=(r.right-e.left)/t.metrics.em+t.dx,n=(r.bottom-e.bottom)/t.metrics.em+t.dy;o.setStyle(h,"left",t.px(i)),o.setStyle(h,"top",t.px(n))}),e.postDelay)),r.stopPropagation()})),t.setEventHandler("mouseout",(function(r){e.stopTimers(t,e);var i=setTimeout((function(){return o.append(l,h)}),e.clearDelay);e.clearTimer.set(t,i),r.stopPropagation()}))}}},s.TooltipData]],["statusline",[function(t,e){var r=t.childNodes[1];if(r&&r.node.isKind("mtext")){var i=t.adaptor,n=r.node.getText();i.setAttribute(t.element,"data-statusline",n),t.setEventHandler("mouseover",(function(r){if(null===e.status){var o=i.body(i.document);e.status=i.append(o,t.html("mjx-status",{},[t.text(n)]))}r.stopPropagation()})),t.setEventHandler("mouseout",(function(t){e.status&&(i.remove(e.status),e.status=null),t.stopPropagation()}))}},{status:null}]]]),e.SVGmaction=h},
/***/YrGk:
/***/function(t,e,r){"use strict";var i=this&&this.__extends||function(){var t=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])};return function(e,r){function i(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(i.prototype=r.prototype,new i)}}();Object.defineProperty(e,"__esModule",{value:!0});var n=r("yKf1"),o=r("jIMc"),s=r("eLzu"),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e}(o.CommonMsMixin(n.SVGWrapper));a.kind=s.MmlMs.prototype.kind,e.SVGms=a},
/***/ZEzj:
/***/function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i,n=r("yKf1"),o=r("jUCv"),s=r("9yMK"),a=r("1xbr"),h=r("AUnj"),l=r("4X8I"),p=r("YrGk"),c=r("Ro+G"),u=r("Eup7"),d=r("zqUc"),f=r("gwbP"),y=r("Wv28"),v=r("Jpq3"),m=r("/TlI"),x=r("bkYr"),_=r("l3vB"),g=r("9kuc"),b=r("9MLb"),S=r("OFUE"),V=r("pXJQ"),w=r("xbwU"),G=r("XNgC"),M=r("bIKf"),k=r("wM+y"),O=r("05CK"),C=r("npL+"),j=r("+hbP");e.SVGWrappers=((i={})[o.SVGmath.kind]=o.SVGmath,i[s.SVGmrow.kind]=s.SVGmrow,i[s.SVGinferredMrow.kind]=s.SVGinferredMrow,i[a.SVGmi.kind]=a.SVGmi,i[h.SVGmo.kind]=h.SVGmo,i[l.SVGmn.kind]=l.SVGmn,i[p.SVGms.kind]=p.SVGms,i[c.SVGmerror.kind]=c.SVGmerror,i[u.SVGmspace.kind]=u.SVGmspace,i[d.SVGmpadded.kind]=d.SVGmpadded,i[f.SVGmphantom.kind]=f.SVGmphantom,i[y.SVGmfrac.kind]=y.SVGmfrac,i[v.SVGmsqrt.kind]=v.SVGmsqrt,i[m.SVGmroot.kind]=m.SVGmroot,i[x.SVGmfenced.kind]=x.SVGmfenced,i[_.SVGmsub.kind]=_.SVGmsub,i[_.SVGmsup.kind]=_.SVGmsup,i[_.SVGmsubsup.kind]=_.SVGmsubsup,i[g.SVGmunder.kind]=g.SVGmunder,i[g.SVGmover.kind]=g.SVGmover,i[g.SVGmunderover.kind]=g.SVGmunderover,i[b.SVGmmultiscripts.kind]=b.SVGmmultiscripts,i[S.SVGmtable.kind]=S.SVGmtable,i[V.SVGmtr.kind]=V.SVGmtr,i[V.SVGmlabeledtr.kind]=V.SVGmlabeledtr,i[w.SVGmtd.kind]=w.SVGmtd,i[G.SVGmaction.kind]=G.SVGmaction,i[M.SVGmenclose.kind]=M.SVGmenclose,i[k.SVGsemantics.kind]=k.SVGsemantics,i[k.SVGannotation.kind]=k.SVGannotation,i[k.SVGannotationXML.kind]=k.SVGannotationXML,i[k.SVGxml.kind]=k.SVGxml,i[O.SVGmglyph.kind]=O.SVGmglyph,i[C.SVGTeXAtom.kind]=C.SVGTeXAtom,i[j.SVGTextNode.kind]=j.SVGTextNode,i[n.SVGWrapper.kind]=n.SVGWrapper,i)},
/***/"aB+5":
/***/function(t,e,r){"use strict";var i=this&&this.__extends||function(){var t=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])};return function(e,r){function i(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(i.prototype=r.prototype,new i)}}(),n=this&&this.__values||function(t){var e="function"===typeof Symbol&&t[Symbol.iterator],r=0;return e?e.call(t):{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}}};Object.defineProperty(e,"__esModule",{value:!0});var o=r("WekG");!function(t){for(var r in t)e.hasOwnProperty(r)||(e[r]=t[r])}(r("WekG"));var s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.charOptions=function(e,r){return t.charOptions.call(this,e,r)},e}(o.FontData);e.SVGFontData=s,e.AddPaths=function(t,e,r){try{for(var i=n(Object.keys(e)),o=i.next();!o.done;o=i.next()){var a=o.value,h=parseInt(a);s.charOptions(t,h).p=e[h]}}catch(y){c={error:y}}finally{try{o&&!o.done&&(u=i.return)&&u.call(i)}finally{if(c)throw c.error}}try{for(var l=n(Object.keys(r)),p=l.next();!p.done;p=l.next()){a=p.value,h=parseInt(a);s.charOptions(t,h).c=r[h]}}catch(v){d={error:v}}finally{try{p&&!p.done&&(f=l.return)&&f.call(l)}finally{if(d)throw d.error}}return t;var c,u,d,f}},
/***/bIKf:
/***/function(t,e,r){"use strict";var i=this&&this.__extends||function(){var t=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])};return function(e,r){function i(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(i.prototype=r.prototype,new i)}}(),n=this&&this.__values||function(t){var e="function"===typeof Symbol&&t[Symbol.iterator],r=0;return e?e.call(t):{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}}},o=this&&this.__read||function(t,e){var r="function"===typeof Symbol&&t[Symbol.iterator];if(!r)return t;var i,n,o=r.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(i=o.next()).done;)s.push(i.value)}catch(a){n={error:a}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return s};Object.defineProperty(e,"__esModule",{value:!0});var s=r("yKf1"),a=r("keTA"),h=r("WAP7"),l=r("BHHF"),p=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.toSVG=function(t){var e=this.standardSVGnode(t),r=this.getBBoxExtenders()[3],i={};r>0&&(i.transform="translate("+this.fixed(r)+", 0)");var o,s,a=this.adaptor.append(e,this.svg("g",i));this.renderChild?this.renderChild(this,a):this.childNodes[0].toSVG(a);try{for(var h=n(Object.keys(this.notations)),l=h.next();!l.done;l=h.next()){var p=l.value,c=this.notations[p];!c.renderChild&&c.renderer(this,e)}}catch(u){o={error:u}}finally{try{l&&!l.done&&(s=h.return)&&s.call(h)}finally{if(o)throw o.error}}},e.prototype.arrow=function(t,e,r){void 0===r&&(r=!1);var i=this.getBBox(),n=i.w,s=(t-n)/2,a=(i.h-i.d)/2,h=this.thickness,l=h/2,p=o([h*this.arrowhead.x,h*this.arrowhead.y,h*this.arrowhead.dx],3),c=p[0],u=p[1],d=p[2],f=r?this.fill("M",n+s,a,"l",-(c+d),u,"l",d,l-u,"L",c-s,a+l,"l",d,u-l,"l",-(c+d),-u,"l",c+d,-u,"l",-d,u-l,"L",n+s-c,a-l,"l",-d,l-u,"Z"):this.fill("M",n+s,a,"l",-(c+d),u,"l",d,l-u,"L",-s,a+l,"l",0,-h,"L",n+s-c,a-l,"l",-d,l-u,"Z");if(e){var y=this.jax.fixed(180*-e/Math.PI);this.adaptor.setAttribute(f,"transform","rotate("+[y,this.fixed(n/2),this.fixed(a)].join(" ")+")")}return f},e.prototype.line=function(t){var e=o(t,4),r=e[0],i=e[1],n=e[2],s=e[3];return this.svg("line",{x1:this.fixed(r),y1:this.fixed(i),x2:this.fixed(n),y2:this.fixed(s),"stroke-width":this.fixed(this.thickness)})},e.prototype.box=function(t,e,r,i){void 0===i&&(i=0);var n=this.thickness,o={x:this.fixed(n/2),y:this.fixed(n/2-r),width:this.fixed(t-n),height:this.fixed(e+r-n),fill:"none","stroke-width":this.fixed(n)};return i&&(o.rx=this.fixed(i)),this.svg("rect",o)},e.prototype.ellipse=function(t,e,r){var i=this.thickness;return this.svg("ellipse",{rx:this.fixed((t-i)/2),ry:this.fixed((e+r-i)/2),cx:this.fixed(t/2),cy:this.fixed((e-r)/2),fill:"none","stroke-width":this.fixed(i)})},e.prototype.path=function(t){for(var e=this,r=[],i=1;i<arguments.length;i++)r[i-1]=arguments[i];return this.svg("path",{d:r.map((function(t){return"string"===typeof t?t:e.fixed(t)})).join(" "),style:{"stroke-width":this.fixed(this.thickness)},"stroke-linecap":"round","stroke-linejoin":t,fill:"none"})},e.prototype.fill=function(){for(var t=this,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return this.svg("path",{d:e.map((function(e){return"string"===typeof e?e:t.fixed(e)})).join(" ")})},e}(a.CommonMencloseMixin(s.SVGWrapper));p.kind=l.MmlMenclose.prototype.kind,p.notations=new Map([h.Border("top"),h.Border("right"),h.Border("bottom"),h.Border("left"),h.Border2("actuarial","top","right"),h.Border2("madruwb","bottom","right"),h.DiagonalStrike("up"),h.DiagonalStrike("down"),["horizontalstrike",{renderer:h.RenderLine("horizontal"),bbox:function(t){return[0,t.padding,0,t.padding]}}],["verticalstrike",{renderer:h.RenderLine("vertical"),bbox:function(t){return[t.padding,0,t.padding,0]}}],["box",{renderer:function(t,e){var r=t.getBBox(),i=r.w,n=r.h,o=r.d;t.adaptor.append(t.element,t.box(i,n,o))},bbox:h.fullBBox,border:h.fullBorder,remove:"left right top bottom"}],["roundedbox",{renderer:function(t,e){var r=t.getBBox(),i=r.w,n=r.h,o=r.d,s=t.thickness+t.padding;t.adaptor.append(t.element,t.box(i,n,o,s))},bbox:h.fullBBox}],["circle",{renderer:function(t,e){var r=t.getBBox(),i=r.w,n=r.h,o=r.d;t.adaptor.append(t.element,t.ellipse(i,n,o))},bbox:h.fullBBox}],["phasorangle",{renderer:function(t,e){var r=t.getBBox(),i=r.w,n=r.h,s=r.d,a=o(t.getArgMod(1.75*t.padding,n+s),2),h=a[0],l=(a[1],t.thickness/2),p=n+s,c=Math.cos(h);t.adaptor.append(t.element,t.path("mitre","M",i,l-s,"L",l+c*l,l-s,"L",c*p+l,p-s-l))},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"}],h.Arrow("up"),h.Arrow("down"),h.Arrow("left"),h.Arrow("right"),h.Arrow("updown"),h.Arrow("leftright"),h.DiagonalArrow("updiagonal"),h.DiagonalArrow("northeast"),h.DiagonalArrow("southeast"),h.DiagonalArrow("northwest"),h.DiagonalArrow("southwest"),h.DiagonalArrow("northeastsouthwest"),h.DiagonalArrow("northwestsoutheast"),["longdiv",{renderer:function(t,e){var r=t.getBBox(),i=r.w,n=r.h,o=r.d,s=t.thickness/2,a=t.padding;t.adaptor.append(t.element,t.path("round","M",s,s-o,"a",a-s/2,(n+o)/2-4*s,0,"0,1",0,n+o-2*s,"L",i-s,n-s))},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.toSVG(e);var r=t.sqrtTRBL()[3];t.place(-r,0,e)},init:function(t){t.msqrt=t.createMsqrt(t.childNodes[0])},bbox:function(t){return t.sqrtTRBL()},renderChild:!0}]]),e.SVGmenclose=p},
/***/bkYr:
/***/function(t,e,r){"use strict";var i=this&&this.__extends||function(){var t=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])};return function(e,r){function i(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(i.prototype=r.prototype,new i)}}(),n=this&&this.__values||function(t){var e="function"===typeof Symbol&&t[Symbol.iterator],r=0;return e?e.call(t):{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}}};Object.defineProperty(e,"__esModule",{value:!0});var o=r("yKf1"),s=r("PSr+"),a=r("Kk//"),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.toSVG=function(t){var e=this.standardSVGnode(t);this.setChildrenParent(this.mrow),this.mrow.toSVG(e),this.setChildrenParent(this)},e.prototype.setChildrenParent=function(t){try{for(var e=n(this.childNodes),r=e.next();!r.done;r=e.next()){r.value.parent=t}}catch(s){i={error:s}}finally{try{r&&!r.done&&(o=e.return)&&o.call(e)}finally{if(i)throw i.error}}var i,o},e}(s.CommonMfencedMixin(o.SVGWrapper));h.kind=a.MmlMfenced.prototype.kind,e.SVGmfenced=h},
/***/gwbP:
/***/function(t,e,r){"use strict";var i=this&&this.__extends||function(){var t=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])};return function(e,r){function i(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(i.prototype=r.prototype,new i)}}();Object.defineProperty(e,"__esModule",{value:!0});var n=r("yKf1"),o=r("cFcz"),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.toSVG=function(t){this.standardSVGnode(t)},e}(n.SVGWrapper);s.kind=o.MmlMphantom.prototype.kind,e.SVGmphantom=s},
/***/jUCv:
/***/function(t,e,r){"use strict";var i=this&&this.__extends||function(){var t=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])};return function(e,r){function i(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(i.prototype=r.prototype,new i)}}(),n=this&&this.__read||function(t,e){var r="function"===typeof Symbol&&t[Symbol.iterator];if(!r)return t;var i,n,o=r.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(i=o.next()).done;)s.push(i.value)}catch(a){n={error:a}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return s},o=this&&this.__values||function(t){var e="function"===typeof Symbol&&t[Symbol.iterator],r=0;return e?e.call(t):{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}}};Object.defineProperty(e,"__esModule",{value:!0});var s=r("yKf1"),a=r("0UXW"),h=r("ydOf"),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.toSVG=function(e){t.prototype.toSVG.call(this,e);var r=this.adaptor,i="block"===this.node.attributes.get("display");i&&r.setAttribute(this.jax.container,"display","true");var s=n(this.getAlignShift(),2),a=s[0],h=s[1];"center"!==a&&r.setAttribute(this.jax.container,"justify",a),i&&h&&(this.jax.shift=h);var l,p,c=this.node.attributes,u=c.get("data-semantic-speech");if(u&&!c.get("aria-label")){var d=this.getTitleID(),f=this.svg("title",{id:d},[this.text(u)]);r.insert(f,r.firstChild(this.element)),r.setAttribute(this.element,"aria-labeledby",d);try{for(var y=o(this.childNodes[0].childNodes),v=y.next();!v.done;v=y.next()){var m=v.value;r.setAttribute(m.element,"aria-hidden","true")}}catch(x){l={error:x}}finally{try{v&&!v.done&&(p=y.return)&&p.call(y)}finally{if(l)throw l.error}}}},e.prototype.getTitleID=function(){return"mjx-svg-title-"+String(this.jax.options.titleID++)},e.prototype.setChildPWidths=function(e,r,i){return void 0===r&&(r=null),void 0===i&&(i=!0),t.prototype.setChildPWidths.call(this,e,this.parent?r:this.metrics.containerWidth/this.jax.pxPerEm,!1)},e}(a.CommonMathMixin(s.SVGWrapper));l.kind=h.MmlMath.prototype.kind,l.styles={'mjx-container[jax="SVG"][display="true"]':{display:"block","text-align":"center",margin:"1em 0"},'mjx-container[jax="SVG"][justify="left"]':{"text-align":"left"},'mjx-container[jax="SVG"][justify="right"]':{"text-align":"right"}},e.SVGmath=l},
/***/l3vB:
/***/function(t,e,r){"use strict";var i=this&&this.__extends||function(){var t=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])};return function(e,r){function i(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(i.prototype=r.prototype,new i)}}(),n=this&&this.__read||function(t,e){var r="function"===typeof Symbol&&t[Symbol.iterator];if(!r)return t;var i,n,o=r.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(i=o.next()).done;)s.push(i.value)}catch(a){n={error:a}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return s};Object.defineProperty(e,"__esModule",{value:!0});var o=r("0vWV"),s=r("lvL6"),a=r("lvL6"),h=r("lvL6"),l=r("8TjU"),p=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e}(s.CommonMsubMixin(o.SVGscriptbase));p.kind=l.MmlMsub.prototype.kind,p.useIC=!1,e.SVGmsub=p;var c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e}(a.CommonMsupMixin(o.SVGscriptbase));c.kind=l.MmlMsup.prototype.kind,c.useIC=!0,e.SVGmsup=c;var u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.toSVG=function(t){var e=this.standardSVGnode(t),r=n([this.baseChild,this.supChild,this.subChild],3),i=r[0],o=r[1],s=r[2],a=i.getBBox(),h=(this.baseCore.bbox,n(this.getUVQ(a,s.getBBox(),o.getBBox()),2)),l=h[0],p=h[1];i.toSVG(e),o.toSVG(e),s.toSVG(e),s.place(a.w,p),o.place(a.w+this.coreIC(),l)},e}(h.CommonMsubsupMixin(o.SVGscriptbase));u.kind=l.MmlMsubsup.prototype.kind,u.useIC=!1,e.SVGmsubsup=u},
/***/"npL+":
/***/function(t,e,r){"use strict";var i=this&&this.__extends||function(){var t=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])};return function(e,r){function i(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(i.prototype=r.prototype,new i)}}();Object.defineProperty(e,"__esModule",{value:!0});var n=r("yKf1"),o=r("I5lB"),s=r("XVyK"),a=r("Si5d"),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.toSVG=function(e){if(t.prototype.toSVG.call(this,e),this.node.texClass===a.TEXCLASS.VCENTER){var r=this.childNodes[0].getBBox(),i=r.h,n=(i+r.d)/2+this.font.params.axis_height-i,o="translate(0 "+this.fixed(n)+")";this.adaptor.setAttribute(this.element,"transform",o)}},e}(o.CommonTeXAtomMixin(n.SVGWrapper));h.kind=s.TeXAtom.prototype.kind,e.SVGTeXAtom=h},
/***/pXJQ:
/***/function(t,e,r){"use strict";var i=this&&this.__extends||function(){var t=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])};return function(e,r){function i(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(i.prototype=r.prototype,new i)}}(),n=this&&this.__read||function(t,e){var r="function"===typeof Symbol&&t[Symbol.iterator];if(!r)return t;var i,n,o=r.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(i=o.next()).done;)s.push(i.value)}catch(a){n={error:a}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.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};Object.defineProperty(e,"__esModule",{value:!0});var s=r("yKf1"),a=r("fAxw"),h=r("fAxw"),l=r("3d4j"),p=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.toSVG=function(t){var e=this.standardSVGnode(t);this.placeCells(e),this.placeColor(e)},e.prototype.placeCells=function(t){for(var e=this.parent.getColumnHalfSpacing(),r=o([this.parent.fLine],this.parent.cLines,[this.parent.fLine]),i=this.parent.getComputedWidths(),s=n([this.tLine/2,this.bLine/2],2),a=(s[0],s[1],r[0]),h=0;h<this.numCells;h++){var l=this.getChild(h);l.toSVG(t),a+=this.placeCell(l,{x:a,y:0,lSpace:e[h],rSpace:e[h+1],w:i[h],lLine:r[h],rLine:r[h+1]})}},e.prototype.placeCell=function(t,e){var r=e.x,i=e.y,o=e.lSpace,s=e.w,a=e.rSpace,h=e.lLine,l=e.rLine,p=n(t.placeCell(r+o,i,s,this.H,this.D),2),c=p[0],u=p[1],d=o+s+a,f=n([this.H+this.tSpace,this.D+this.bSpace],2),y=f[0],v=f[1];return t.placeColor(-(c+o+h/2),-(v+this.bLine/2+u),d+(h+l)/2,y+v+(this.tLine+this.bLine)/2),d+l},e.prototype.placeColor=function(t){var e=this.adaptor,r=e.firstChild(this.element);if(r&&"rect"===e.kind(r)&&e.getAttribute(r,"data-bgcolor")){var i=n([this.tLine/2,this.bLine/2],2),o=i[0],s=i[1],a=n([this.tSpace,this.bSpace],2),h=a[0],l=a[1],p=n([this.H,this.D],2),c=p[0],u=p[1];e.setAttribute(r,"y",this.fixed(-(u+l+s))),e.setAttribute(r,"width",this.fixed(this.parent.getWidth())),e.setAttribute(r,"height",this.fixed(o+h+c+u+l+s))}},e}(a.CommonMtrMixin(s.SVGWrapper));p.kind=l.MmlMtr.prototype.kind,e.SVGmtr=p;var c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.toSVG=function(e){t.prototype.toSVG.call(this,e);var r=this.childNodes[0];r&&r.toSVG(this.parent.labels)},e}(h.CommonMlabeledtrMixin(p));c.kind=l.MmlMlabeledtr.prototype.kind,e.SVGmlabeledtr=c},
/***/"wM+y":
/***/function(t,e,r){"use strict";var i=this&&this.__extends||function(){var t=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])};return function(e,r){function i(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(i.prototype=r.prototype,new i)}}();Object.defineProperty(e,"__esModule",{value:!0});var n=r("yKf1"),o=r("ajno"),s=r("ErHo"),a=r("Si5d"),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.toSVG=function(t){var e=this.standardSVGnode(t);this.childNodes.length&&this.childNodes[0].toSVG(e)},e}(o.CommonSemanticsMixin(n.SVGWrapper));h.kind=s.MmlSemantics.prototype.kind,e.SVGsemantics=h;var l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.toSVG=function(e){t.prototype.toSVG.call(this,e)},e.prototype.computeBBox=function(){return this.bbox},e}(n.SVGWrapper);l.kind=s.MmlAnnotation.prototype.kind,e.SVGannotation=l;var p=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e}(n.SVGWrapper);p.kind=s.MmlAnnotationXML.prototype.kind,e.SVGannotationXML=p;var c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.toSVG=function(t){var e=this.adaptor.clone(this.node.getXML());this.adaptor.append(t,this.svg("foreignObject",{},[e]))},e.prototype.computeBBox=function(){return this.bbox},e.prototype.getStyles=function(){},e.prototype.getScale=function(){},e.prototype.getVariant=function(){},e}(n.SVGWrapper);c.kind=a.XMLNode.prototype.kind,c.autoStyle=!1,e.SVGxml=c},
/***/xbwU:
/***/function(t,e,r){"use strict";var i=this&&this.__extends||function(){var t=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])};return function(e,r){function i(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(i.prototype=r.prototype,new i)}}();Object.defineProperty(e,"__esModule",{value:!0});var n=r("yKf1"),o=r("+kVq"),s=r("prCZ"),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.placeCell=function(t,e,r,i,n){var o=this.getBBox(),s=Math.max(o.h,.75),a=Math.max(o.d,.25),h=this.node.attributes.get("columnalign"),l=this.node.attributes.get("rowalign"),p=this.getAlignX(r,o,h),c=this.getAlignY(i,n,s,a,l);return this.place(t+p,e+c),[p,c]},e.prototype.placeColor=function(t,e,r,i){var n=this.adaptor,o=n.firstChild(this.element);o&&"rect"===n.kind(o)&&n.getAttribute(o,"data-bgcolor")&&(n.setAttribute(o,"x",this.fixed(t)),n.setAttribute(o,"y",this.fixed(e)),n.setAttribute(o,"width",this.fixed(r)),n.setAttribute(o,"height",this.fixed(i)))},e}(o.CommonMtdMixin(n.SVGWrapper));a.kind=s.MmlMtd.prototype.kind,e.SVGmtd=a},
/***/yKf1:
/***/function(t,e,r){"use strict";var i=this&&this.__extends||function(){var t=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])};return function(e,r){function i(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(i.prototype=r.prototype,new i)}}(),n=this&&this.__values||function(t){var e="function"===typeof Symbol&&t[Symbol.iterator],r=0;return e?e.call(t):{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}}},o=this&&this.__read||function(t,e){var r="function"===typeof Symbol&&t[Symbol.iterator];if(!r)return t;var i,n,o=r.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(i=o.next()).done;)s.push(i.value)}catch(a){n={error:a}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return s};Object.defineProperty(e,"__esModule",{value:!0});var s=r("vu1z"),a=r("C5Hm"),h=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.element=null,e}return i(e,t),e.prototype.toSVG=function(t){this.addChildren(this.standardSVGnode(t))},e.prototype.addChildren=function(t){var e,r,i=0;try{for(var o=n(this.childNodes),s=o.next();!s.done;s=o.next()){var a=s.value;a.toSVG(t),a.element&&a.place(i+a.bbox.L*a.bbox.rscale,0),i+=(a.bbox.L+a.bbox.w+a.bbox.R)*a.bbox.rscale}}catch(h){e={error:h}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}},e.prototype.standardSVGnode=function(t){var e=this.createSVGnode(t);return this.handleStyles(),this.handleScale(),this.handleColor(),this.handleAttributes(),e},e.prototype.createSVGnode=function(t){var e=this.node.attributes.get("href");if(e){t=this.adaptor.append(t,this.svg("a",{href:e}));var r=this.getBBox(),i=r.h,n=r.d,o=r.w;this.adaptor.append(t,this.svg("rect",{"data-hitbox":!0,fill:"none",stroke:"none","pointer-events":"all",width:this.fixed(o),height:this.fixed(i+n),y:this.fixed(-n)}))}return this.element=this.adaptor.append(t,this.svg("g",{"data-mml-node":this.node.kind})),this.element},e.prototype.handleStyles=function(){if(this.styles){var t=this.styles.cssText;t&&this.adaptor.setAttribute(this.element,"style",t)}},e.prototype.handleScale=function(){if(1!==this.bbox.rscale){var t="scale("+this.fixed(this.bbox.rscale/1e3,3)+")";this.adaptor.setAttribute(this.element,"transform",t)}},e.prototype.handleColor=function(){var t=this.adaptor,e=this.node.attributes,r=e.getExplicit("mathcolor"),i=e.getExplicit("color"),n=e.getExplicit("mathbackground"),o=e.getExplicit("background");if((r||i)&&(t.setAttribute(this.element,"fill",r||i),t.setAttribute(this.element,"stroke",r||i)),n||o){var s=this.getBBox(),a=s.h,h=s.d,l=s.w,p=this.svg("rect",{fill:n||o,x:0,y:this.fixed(-h),width:this.fixed(l),height:this.fixed(a+h),"data-bgcolor":!0}),c=t.firstChild(this.element);c?t.insert(p,c):t.append(this.element,p)}},e.prototype.handleAttributes=function(){var t,r,i=this.node.attributes,o=i.getAllDefaults(),s=e.skipAttributes;try{for(var a=n(i.getExplicitNames()),h=a.next();!h.done;h=a.next()){var l=h.value;!1!==s[l]&&(l in o||s[l]||this.adaptor.hasAttribute(this.element,l))||this.adaptor.setAttribute(this.element,l,i.getExplicit(l))}}catch(p){t={error:p}}finally{try{h&&!h.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}i.get("class")&&this.adaptor.addClass(this.element,i.get("class"))},e.prototype.place=function(t,e,r){if(void 0===r&&(r=null),t||e){r||(r=this.element);var i=this.adaptor.getAttribute(r,"transform")||"";i="translate("+this.fixed(t)+", "+this.fixed(e)+")"+(i?" "+i:""),this.adaptor.setAttribute(r,"transform",i)}},e.prototype.placeChar=function(t,e,r,i,s){void 0===s&&(s=null),null===s&&(s=this.variant);var a,h,l=t.toString(16).toUpperCase(),p=o(this.getVariantChar(s,t),4),c=(p[0],p[1],p[2]),u=p[3];if("p"in u){var d=u.p?"M"+u.p+"Z":"";this.place(e,r,this.adaptor.append(i,this.charNode(s,l,d)))}else if("c"in u){var f=this.adaptor.append(i,this.svg("g",{"data-c":l}));this.place(e,r,f),e=0;try{for(var y=n(this.unicodeChars(u.c)),v=y.next();!v.done;v=y.next()){var m=v.value;e+=this.placeChar(m,e,r,f,s)}}catch(g){a={error:g}}finally{try{v&&!v.done&&(h=y.return)&&h.call(y)}finally{if(a)throw a.error}}}else if(u.unknown){var x=String.fromCharCode(t),_=this.adaptor.append(i,this.jax.unknownText(x,s));return this.place(e,r,_),this.jax.measureTextNodeWithCache(_,x,s).w}return c},e.prototype.charNode=function(t,e,r){return"none"!==this.jax.options.fontCache?this.useNode(t,e,r):this.pathNode(e,r)},e.prototype.pathNode=function(t,e){return this.svg("path",{"data-c":t,d:e})},e.prototype.useNode=function(t,e,r){var i=this.svg("use"),n="#"+this.jax.fontCache.cachePath(t,e,r);return this.adaptor.setAttribute(i,"href",n,a.XLINKNS),i},e.prototype.drawBBox=function(){var t=this.getBBox(),e=t.w,r=t.h,i=t.d,n=this.svg("g",{style:{opacity:.25}},[this.svg("rect",{fill:"red",height:this.fixed(r),width:this.fixed(e)}),this.svg("rect",{fill:"green",height:this.fixed(i),width:this.fixed(e),y:this.fixed(-i)})]),o=this.element||this.parent.element;this.adaptor.append(o,n)},e.prototype.html=function(t,e,r){return void 0===e&&(e={}),void 0===r&&(r=[]),this.jax.html(t,e,r)},e.prototype.svg=function(t,e,r){return void 0===e&&(e={}),void 0===r&&(r=[]),this.jax.svg(t,e,r)},e.prototype.text=function(t){return this.jax.text(t)},e.prototype.createMo=function(e){return t.prototype.createMo.call(this,e)},e.prototype.coreMO=function(){return t.prototype.coreMO.call(this)},e.prototype.fixed=function(t,e){return void 0===e&&(e=1),this.jax.fixed(1e3*t,e)},e}(s.CommonWrapper);h.kind="unknown",e.SVGWrapper=h},
/***/zHgQ:
/***/function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t){this.cache=new Map,this.defs=null,this.localID="",this.nextID=0,this.jax=t}return t.prototype.cachePath=function(t,e,r){var i="MJX-"+this.localID+(this.jax.font.getVariant(t).cacheID||"")+"-"+e;return this.cache.has(i)||(this.cache.set(i,r),this.jax.adaptor.append(this.defs,this.jax.svg("path",{id:i,d:r}))),i},t.prototype.clearLocalID=function(){this.localID=""},t.prototype.useLocalID=function(t){void 0===t&&(t=null),this.localID=(null==t?++this.nextID:t)+(""===t?"":"-")},t.prototype.clearCache=function(){this.cache=new Map,this.defs=this.jax.svg("defs")},t.prototype.getCache=function(){return this.defs},t}();e.FontCache=i},
/***/zqUc:
/***/function(t,e,r){"use strict";var i=this&&this.__extends||function(){var t=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])};return function(e,r){function i(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(i.prototype=r.prototype,new i)}}(),n=this&&this.__read||function(t,e){var r="function"===typeof Symbol&&t[Symbol.iterator];if(!r)return t;var i,n,o=r.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(i=o.next()).done;)s.push(i.value)}catch(a){n={error:a}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return s};Object.defineProperty(e,"__esModule",{value:!0});var o=r("yKf1"),s=r("QypF"),a=r("DI68"),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.toSVG=function(t){var e=this.standardSVGnode(t),r=n(this.getDimens(),9),i=(r[0],r[1],r[2],r[3],r[4],r[5]),o=r[6],s=r[7],a=r[8],h=this.node.attributes.get("data-align")||"left",l=o+a-(i<0&&"left"!==h?"center"===h?i/2:i:0);(l||s)&&(e=this.adaptor.append(e,this.svg("g")),this.place(l,s,e)),this.addChildren(e)},e}(s.CommonMpaddedMixin(o.SVGWrapper));h.kind=a.MmlMpadded.prototype.kind,e.SVGmpadded=h}}]);
//# sourceMappingURL=src-containers-Viz-Viz-b19f5742.afd0e954.chunk.js.map