AM_HTMLorMML-full.js 213 KB

12345678910111213
  1. /*
  2. * /MathJax/config/AM_HTMLorMML-full.js
  3. *
  4. * Copyright (c) 2010-2013 The MathJax Consortium
  5. *
  6. * Part of the MathJax library.
  7. * See http://www.mathjax.org for details.
  8. *
  9. * Licensed under the Apache License, Version 2.0;
  10. * you may not use this file except in compliance with the License.
  11. *
  12. * http://www.apache.org/licenses/LICENSE-2.0
  13. */MathJax.Hub.Config({delayJaxRegistration:!0});MathJax.Ajax.Preloading("[MathJax]/jax/input/AsciiMath/config.js","[MathJax]/jax/output/HTML-CSS/config.js","[MathJax]/jax/output/NativeMML/config.js","[MathJax]/config/MMLorHTML.js","[MathJax]/extensions/asciimath2jax.js","[MathJax]/extensions/MathEvents.js","[MathJax]/extensions/MathZoom.js","[MathJax]/extensions/MathMenu.js","[MathJax]/jax/element/mml/jax.js","[MathJax]/extensions/toMathML.js","[MathJax]/jax/input/AsciiMath/jax.js","[MathJax]/jax/output/NativeMML/jax.js","[MathJax]/jax/output/HTML-CSS/jax.js","[MathJax]/jax/output/HTML-CSS/autoload/mtable.js");MathJax.Hub.Config({"v1.0-compatible":!1});MathJax.InputJax.AsciiMath=MathJax.InputJax({id:"AsciiMath",version:"2.2",directory:MathJax.InputJax.directory+"/AsciiMath",extensionDir:MathJax.InputJax.extensionDir+"/AsciiMath",config:{displaystyle:!0,decimalsign:"."}});MathJax.InputJax.AsciiMath.Register("math/asciimath");MathJax.InputJax.AsciiMath.loadComplete("config.js");MathJax.OutputJax["HTML-CSS"]=MathJax.OutputJax({id:"HTML-CSS",version:"2.2",directory:MathJax.OutputJax.directory+"/HTML-CSS",extensionDir:MathJax.OutputJax.extensionDir+"/HTML-CSS",autoloadDir:MathJax.OutputJax.directory+"/HTML-CSS/autoload",fontDir:MathJax.OutputJax.directory+"/HTML-CSS/fonts",webfontDir:MathJax.OutputJax.fontDir+"/HTML-CSS",config:{scale:100,minScaleAdjust:50,availableFonts:["STIX","TeX"],preferredFont:"TeX",webFont:"TeX",imageFont:"TeX",undefinedFamily:"STIXGeneral,'Arial Unicode MS',serif",mtextFontInherit:!1,EqnChunk:MathJax.Hub.Browser.isMobile?10:50,EqnChunkFactor:1.5,EqnChunkDelay:100,linebreaks:{automatic:!1,width:"container"},styles:{".MathJax_Display":{"text-align":"center",margin:"1em 0em"},".MathJax .merror":{"background-color":"#FFFF88",color:"#CC0000",border:"1px solid #CC0000",padding:"1px 3px","font-style":"normal","font-size":"90%"},"#MathJax_Tooltip":{"background-color":"InfoBackground",color:"InfoText",border:"1px solid black","box-shadow":"2px 2px 5px #AAAAAA","-webkit-box-shadow":"2px 2px 5px #AAAAAA","-moz-box-shadow":"2px 2px 5px #AAAAAA","-khtml-box-shadow":"2px 2px 5px #AAAAAA",filter:"progid:DXImageTransform.Microsoft.dropshadow(OffX\x3d2, OffY\x3d2, Color\x3d'gray', Positive\x3d'true')",padding:"3px 4px","z-index":401}}}});MathJax.Hub.Browser.isMSIE&&9<=document.documentMode&&delete MathJax.OutputJax["HTML-CSS"].config.styles["#MathJax_Tooltip"].filter;MathJax.Hub.config.delayJaxRegistration||MathJax.OutputJax["HTML-CSS"].Register("jax/mml");MathJax.Hub.Register.StartupHook("End Config",[function(c,g){var b=c.Insert({minBrowserVersion:{Firefox:3,Opera:9.52,MSIE:6,Chrome:.3,Safari:2,Konqueror:4},inlineMathDelimiters:["$","$"],displayMathDelimiters:["$$","$$"],multilineDisplay:!0,minBrowserTranslate:function(k){var g=c.getJaxFor(k),l=["[Math]"],m=document.createElement("span",{className:"MathJax_Preview"});"TeX"===g.inputJax&&(g.root.Get("displaystyle")?(l=b.displayMathDelimiters,l=[l[0]+g.originalText+l[1]],b.multilineDisplay&&(l=l[0].split(/\n/))):(l=b.inlineMathDelimiters,l=[l[0]+g.originalText.replace(/^\s+/,"").replace(/\s+$/,"")+l[1]]));for(var g=0,t=l.length;g<t;g++)m.appendChild(document.createTextNode(l[g])),g<t-1&&m.appendChild(document.createElement("br"));k.parentNode.insertBefore(m,k)}},c.config["HTML-CSS"]||{});"0.0"===c.Browser.version||c.Browser.versionAtLeast(b.minBrowserVersion[c.Browser]||0)||(g.Translate=b.minBrowserTranslate,c.Config({showProcessingMessages:!1}),MathJax.Message.Set(["MathJaxNotSupported","Your browser does not support MathJax"],null,4E3),c.Startup.signal.Post("MathJax not supported"))},MathJax.Hub,MathJax.OutputJax["HTML-CSS"]]);MathJax.OutputJax["HTML-CSS"].loadComplete("config.js");MathJax.OutputJax.NativeMML=MathJax.OutputJax({id:"NativeMML",version:"2.2",directory:MathJax.OutputJax.directory+"/NativeMML",extensionDir:MathJax.OutputJax.extensionDir+"/NativeMML",config:{scale:100,minScaleAdjust:50,styles:{"DIV.MathJax_MathML":{"text-align":"center",margin:".75em 0px"}}}});MathJax.Hub.config.delayJaxRegistration||MathJax.OutputJax.NativeMML.Register("jax/mml");MathJax.OutputJax.NativeMML.loadComplete("config.js");(function(c,g){var b=MathJax.Hub.CombineConfig("MMLorHTML",{prefer:{MSIE:"MML",Firefox:"HTML",Opera:"HTML",Chrome:"HTML",Safari:"HTML",other:"HTML"}}),k={Firefox:3,Opera:9.52,MSIE:6,Chrome:.3,Safari:2,Konqueror:4},n="0.0"===g.version||g.versionAtLeast(k[g]||0),l=g.isFirefox&&g.versionAtLeast("1.5")||g.isMSIE&&g.hasMathPlayer||g.isSafari&&g.versionAtLeast("5.0")||g.isOpera&&g.versionAtLeast("9.52");c.Register.StartupHook("End Config",function(){var k=b.prefer&&"object"===typeof b.prefer?b.prefer[MathJax.Hub.Browser]||b.prefer.other||"HTML":b.prefer;n||l?!l||"MML"!==k&&n?(MathJax.OutputJax["HTML-CSS"]?MathJax.OutputJax["HTML-CSS"].Register("jax/mml"):c.config.jax.unshift("output/HTML-CSS"),c.Startup.signal.Post("HTML-CSS output selected")):(MathJax.OutputJax.NativeMML?MathJax.OutputJax.NativeMML.Register("jax/mml"):c.config.jax.unshift("output/NativeMML"),c.Startup.signal.Post("NativeMML output selected")):(c.PreProcess.disabled=!0,c.prepareScripts.disabled=!0,MathJax.Message.Set(["MathJaxNotSupported","Your browser does not support MathJax"],null,4E3),c.Startup.signal.Post("MathJax not supported"))})})(MathJax.Hub,MathJax.Hub.Browser);MathJax.Ajax.loadComplete("[MathJax]/config/MMLorHTML.js");MathJax.Extension.asciimath2jax={version:"2.2",config:{delimiters:[["`","`"]],skipTags:"script noscript style textarea pre code".split(" "),ignoreClass:"asciimath2jax_ignore",processClass:"asciimath2jax_process",preview:"AsciiMath"},PreProcess:function(c){this.configured||(this.config=MathJax.Hub.CombineConfig("asciimath2jax",this.config),this.config.Augment&&MathJax.Hub.Insert(this,this.config.Augment),this.configured=!0);"string"===typeof c&&(c=document.getElementById(c));c||(c=document.body);this.createPatterns()&&this.scanElement(c,c.nextSibling)},createPatterns:function(){var c=[],g,b,k=this.config;this.match={};if(0===k.delimiters.length)return!1;g=0;for(b=k.delimiters.length;g<b;g++)c.push(this.patternQuote(k.delimiters[g][0])),this.match[k.delimiters[g][0]]={mode:"",end:k.delimiters[g][1],pattern:this.endPattern(k.delimiters[g][1])};this.start=new RegExp(c.sort(this.sortLength).join("|"),"g");this.skipTags=new RegExp("^("+k.skipTags.join("|")+")$","i");c=[];MathJax.Hub.config.preRemoveClass&&c.push(MathJax.Hub.config.preRemoveClass);k.ignoreClass&&c.push(k.ignoreClass);this.ignoreClass=c.length?new RegExp("(^| )("+c.join("|")+")( |$)"):/^$/;this.processClass=new RegExp("(^| )("+k.processClass+")( |$)");return!0},patternQuote:function(c){return c.replace(/([\^$(){}+*?\-|\[\]\:\\])/g,"\\$1")},endPattern:function(c){return new RegExp(this.patternQuote(c)+"|\\\\.","g")},sortLength:function(c,g){return c.length!==g.length?g.length-c.length:c==g?0:c<g?-1:1},scanElement:function(c,g,b){for(var k,n,l;c&&c!=g;)"#text"===c.nodeName.toLowerCase()?b||(c=this.scanText(c)):(k="undefined"===typeof c.className?"":c.className,n="undefined"===typeof c.tagName?"":c.tagName,"string"!==typeof k&&(k=String(k)),l=this.processClass.exec(k),!c.firstChild||k.match(/(^| )MathJax/)||!l&&this.skipTags.exec(n)||(k=(b||this.ignoreClass.exec(k))&&!l,this.scanElement(c.firstChild,g,k))),c&&(c=c.nextSibling)},scanText:function(c){if(""==c.nodeValue.replace(/\s+/,""))return c;var g,b;this.search={start:!0};for(this.pattern=this.start;c;){for(this.pattern.lastIndex=0;c&&"#text"===c.nodeName.toLowerCase()&&(g=this.pattern.exec(c.nodeValue));)c=this.search.start?this.startMatch(g,c):this.endMatch(g,c);this.search.matched&&(c=this.encloseMath(c));if(c){do b=c,c=c.nextSibling;while(c&&("br"===c.nodeName.toLowerCase()||"#comment"===c.nodeName.toLowerCase()));if(!c||"#text"!==c.nodeName)return b}}return c},startMatch:function(c,g){var b=this.match[c[0]];null!=b&&(this.search={end:b.end,mode:b.mode,open:g,olen:c[0].length,opos:this.pattern.lastIndex-c[0].length},this.switchPattern(b.pattern));return g},endMatch:function(c,g){c[0]==this.search.end&&(this.search.close=g,this.search.cpos=this.pattern.lastIndex,this.search.clen=this.search.isBeginEnd?0:c[0].length,this.search.matched=!0,g=this.encloseMath(g),this.switchPattern(this.start));return g},switchPattern:function(c){c.lastIndex=this.pattern.lastIndex;this.pattern=c;this.search.start=c===this.start},encloseMath:function(c){c=this.search;var g=c.close,b,k;(g=c.cpos===g.length?g.nextSibling:g.splitText(c.cpos))||(b=g=MathJax.HTML.addText(c.close.parentNode,""));c.close=g;for(k=c.opos?c.open.splitText(c.opos):c.open;k.nextSibling&&k.nextSibling!==g;)k.nodeValue=null!==k.nextSibling.nodeValue?"#comment"===k.nextSibling.nodeName?k.nodeValue+k.nextSibling.nodeValue.replace(/^\[CDATA\[((.|\n|\r)*)\]\]$/,"$1"):k.nodeValue+k.nextSibling.nodeValue:this.msieNewlineBug?k.nodeValue+("br"===k.nextSibling.nodeName.toLowerCase()?"\n":" "):k.nodeValue+" ",k.parentNode.removeChild(k.nextSibling);g=k.nodeValue.substr(c.olen,k.nodeValue.length-c.olen-c.clen);k.parentNode.removeChild(k);"none"!==this.config.preview&&this.createPreview(c.mode,g);k=this.createMathTag(c.mode,g);this.search={};this.pattern.lastIndex=0;b&&b.parentNode.removeChild(b);return k},insertNode:function(c){var g=this.search;g.close.parentNode.insertBefore(c,g.close)},createPreview:function(c,g){var b=this.config.preview;"none"!==b&&("AsciiMath"===b&&(b=[this.filterPreview(g)]),b&&(b=MathJax.HTML.Element("span",{className:MathJax.Hub.config.preRemoveClass},b),this.insertNode(b)))},createMathTag:function(c,g){var b=document.createElement("script");b.type="math/asciimath"+c;MathJax.HTML.setScript(b,g);this.insertNode(b);return b},filterPreview:function(c){return c},msieNewlineBug:MathJax.Hub.Browser.isMSIE&&9>(document.documentMode||0)};MathJax.Hub.Register.PreProcessor(["PreProcess",MathJax.Extension.asciimath2jax]);MathJax.Ajax.loadComplete("[MathJax]/extensions/asciimath2jax.js");(function(c,g,b,k,n,l,m){var t=MathJax.Extension,p=t.MathEvents={version:"2.2"},a=c.config.menuSettings,h={hover:500,frame:{x:3.5,y:5,bwidth:1,bcolor:"#A6D",hwidth:"15px",hcolor:"#83A"},button:{x:-4,y:-3,wx:-2,src:b.fileURL(l.imageDir+"/MenuArrow-15.png")},fadeinInc:.2,fadeoutInc:.05,fadeDelay:50,fadeoutStart:400,fadeoutDelay:15E3,styles:{".MathJax_Hover_Frame":{"border-radius":".25em","-webkit-border-radius":".25em","-moz-border-radius":".25em","-khtml-border-radius":".25em","box-shadow":"0px 0px 15px #83A","-webkit-box-shadow":"0px 0px 15px #83A","-moz-box-shadow":"0px 0px 15px #83A","-khtml-box-shadow":"0px 0px 15px #83A",border:"1px solid #A6D ! important",display:"inline-block",position:"absolute"},".MathJax_Hover_Arrow":{position:"absolute",width:"15px",height:"11px",cursor:"pointer"}}},d=p.Event={LEFTBUTTON:0,RIGHTBUTTON:2,MENUKEY:"altKey",Mousedown:function(a){return d.Handler(a,"Mousedown",this)},Mouseup:function(a){return d.Handler(a,"Mouseup",this)},Mousemove:function(a){return d.Handler(a,"Mousemove",this)},Mouseover:function(a){return d.Handler(a,"Mouseover",this)},Mouseout:function(a){return d.Handler(a,"Mouseout",this)},Click:function(a){return d.Handler(a,"Click",this)},DblClick:function(a){return d.Handler(a,"DblClick",this)},Menu:function(a){return d.Handler(a,"ContextMenu",this)},Handler:function(a,h,f){if(b.loadingMathMenu)return d.False(a);var e=l[f.jaxID];a||(a=window.event);a.isContextMenu="ContextMenu"===h;if(e[h])return e[h](a,f);if(t.MathZoom)return t.MathZoom.HandleEvent(a,h,f)},False:function(a){a||(a=window.event);a&&(a.preventDefault&&a.preventDefault(),a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0,a.returnValue=!1);return!1},ContextMenu:function(h,f,e){var r=l[f.jaxID],g=r.getJaxFromMath(f);if((null!=r.config.showMathMenu?r:c).config.showMathMenu&&("MathJax"===a.context||e)){p.msieEventBug&&(h=window.event||h);d.ClearSelection();u.ClearHoverTimer();g.hover&&(g.hover.remove&&(clearTimeout(g.hover.remove),delete g.hover.remove),g.hover.nofade=!0);var w=MathJax.Menu;if(w){if(w.loadingDomain)return d.False(h);r=n.loadDomain("MathMenu");if(!r)return w.jax=g,f=w.menu.Find("Show Math As").menu,f.items[0].name=g.sourceMenuTitle,f.items[0].format=g.sourceMenuFormat||"MathML",f.items[1].name=m[g.inputJax].sourceMenuTitle,w.menu.Find("Math Settings","MathPlayer").hidden=!("NativeMML"===g.outputJax&&c.Browser.hasMathPlayer),w.menu.Post(h);w.loadingDomain=!0;g=function(){delete w.loadingDomain}}else{if(b.loadingMathMenu)return d.False(h);b.loadingMathMenu=!0;r=b.Require("[MathJax]/extensions/MathMenu.js");g=function(){delete b.loadingMathMenu;MathJax.Menu||(MathJax.Menu={})}}k.Queue(r,g,["ContextMenu",d,{pageX:h.pageX,pageY:h.pageY,clientX:h.clientX,clientY:h.clientY},f,e]);return d.False(h)}},AltContextMenu:function(h,f){var e=l[f.jaxID],b=(null!=e.config.showMathMenu?e:c).config.showMathMenu;if(b){b=(null!=e.config.showMathMenuMSIE?e:c).config.showMathMenuMSIE;if("MathJax"===a.context&&!a.mpContext&&b){if(!p.noContextMenuBug||h.button!==d.RIGHTBUTTON)return}else if(!h[d.MENUKEY]||h.button!==d.LEFTBUTTON)return;return e.ContextMenu(h,f,!0)}},ClearSelection:function(){p.safariContextMenuBug&&setTimeout("window.getSelection().empty()",0);document.selection&&setTimeout("document.selection.empty()",0)},getBBox:function(a){a.appendChild(p.topImg);var h=p.topImg.offsetTop,d=a.offsetHeight-h,f=a.offsetWidth;a.removeChild(p.topImg);return{w:f,h:h,d:d}}},u=p.Hover={Mouseover:function(h,f){if(a.discoverable||"Hover"===a.zoom){var e=h.fromElement||h.relatedTarget,b=h.toElement||h.target;if(e&&b&&(e.isMathJax!=b.isMathJax||c.getJaxFor(e)!==c.getJaxFor(b)))return e=this.getJaxFromMath(f),e.hover?u.ReHover(e):u.HoverTimer(e,f),d.False(h)}},Mouseout:function(h,f){if(a.discoverable||"Hover"===a.zoom){var e=h.fromElement||h.relatedTarget,b=h.toElement||h.target;if(e&&b&&(e.isMathJax!=b.isMathJax||c.getJaxFor(e)!==c.getJaxFor(b)))return e=this.getJaxFromMath(f),e.hover?u.UnHover(e):u.ClearHoverTimer(),d.False(h)}},Mousemove:function(h,f){if(a.discoverable||"Hover"===a.zoom){var e=this.getJaxFromMath(f);if(!e.hover&&(u.lastX!=h.clientX||u.lastY!=h.clientY))return u.lastX=h.clientX,u.lastY=h.clientY,u.HoverTimer(e,f),d.False(h)}},HoverTimer:function(a,d){this.ClearHoverTimer();this.hoverTimer=setTimeout(k(["Hover",this,a,d]),h.hover)},ClearHoverTimer:function(){this.hoverTimer&&(clearTimeout(this.hoverTimer),delete this.hoverTimer)},Hover:function(a,d){if(!t.MathZoom||!t.MathZoom.Hover({},d)){var f=l[a.outputJax],e=f.getHoverSpan(a,d),b=f.getHoverBBox(a,e,d),u=(null!=f.config.showMathMenu?f:c).config.showMathMenu,k=h.frame.x,n=h.frame.y,m=h.frame.bwidth;p.msieBorderWidthBug&&(m=0);a.hover={opacity:0,id:a.inputID+"-Hover"};var z=g.Element("span",{id:a.hover.id,isMathJax:!0,style:{display:"inline-block",width:0,height:0,position:"relative"}},[["span",{className:"MathJax_Hover_Frame",isMathJax:!0,style:{display:"inline-block",position:"absolute",top:this.Px(-b.h-n-m-(b.y||0)),left:this.Px(-k-m+(b.x||0)),width:this.Px(b.w+2*k),height:this.Px(b.h+b.d+2*n),opacity:0,filter:"alpha(opacity\x3d0)"}}]]),f=g.Element("span",{isMathJax:!0,id:a.hover.id+"Menu",style:{display:"inline-block","z-index":1,width:0,height:0,position:"relative"}},[["img",{className:"MathJax_Hover_Arrow",isMathJax:!0,math:d,src:h.button.src,onclick:this.HoverMenu,jax:f.id,style:{left:this.Px(b.w+k+m+(b.x||0)+h.button.x),top:this.Px(-b.h-n-m-(b.y||0)-h.button.y),opacity:0,filter:"alpha(opacity\x3d0)"}}]]);b.width&&(z.style.width=f.style.width=b.width,z.style.marginRight=f.style.marginRight="-"+b.width,z.firstChild.style.width=b.width,f.firstChild.style.left="",f.firstChild.style.right=this.Px(h.button.wx));e.parentNode.insertBefore(z,e);u&&e.parentNode.insertBefore(f,e);e.style&&(e.style.position="relative");this.ReHover(a)}},ReHover:function(a){a.hover.remove&&clearTimeout(a.hover.remove);a.hover.remove=setTimeout(k(["UnHover",this,a]),h.fadeoutDelay);this.HoverFadeTimer(a,h.fadeinInc)},UnHover:function(a){a.hover.nofade||this.HoverFadeTimer(a,-h.fadeoutInc,h.fadeoutStart)},HoverFade:function(a){delete a.hover.timer;a.hover.opacity=Math.max(0,Math.min(1,a.hover.opacity+a.hover.inc));a.hover.opacity=Math.floor(1E3*a.hover.opacity)/1E3;var h=document.getElementById(a.hover.id),d=document.getElementById(a.hover.id+"Menu");h.firstChild.style.opacity=a.hover.opacity;h.firstChild.style.filter="alpha(opacity\x3d"+Math.floor(100*a.hover.opacity)+")";d&&(d.firstChild.style.opacity=a.hover.opacity,d.firstChild.style.filter=h.style.filter);1!==a.hover.opacity&&(0<a.hover.opacity?this.HoverFadeTimer(a,a.hover.inc):(h.parentNode.removeChild(h),d&&d.parentNode.removeChild(d),a.hover.remove&&clearTimeout(a.hover.remove),delete a.hover))},HoverFadeTimer:function(a,d,f){a.hover.inc=d;a.hover.timer||(a.hover.timer=setTimeout(k(["HoverFade",this,a]),f||h.fadeDelay))},HoverMenu:function(a){a||(a=window.event);return l[this.jax].ContextMenu(a,this.math,!0)},ClearHover:function(a){a.hover.remove&&clearTimeout(a.hover.remove);a.hover.timer&&clearTimeout(a.hover.timer);u.ClearHoverTimer();delete a.hover},Px:function(a){return.006>Math.abs(a)?"0px":a.toFixed(2).replace(/\.?0+$/,"")+"px"},getImages:function(){(new Image).src=h.button.src}},e=p.Touch={last:0,delay:500,start:function(a){var h=(new Date).getTime(),d=h-e.last<e.delay&&e.up;e.last=h;e.up=!1;d&&(e.timeout=setTimeout(e.menu,e.delay,a,this),a.preventDefault())},end:function(a){var h=(new Date).getTime();e.up=h-e.last<e.delay;if(e.timeout)return clearTimeout(e.timeout),delete e.timeout,e.last=0,e.up=!1,a.preventDefault(),d.Handler(a.touches[0]||a.touch,"DblClick",this)},menu:function(a,h){delete e.timeout;e.last=0;e.up=!1;return d.Handler(a.touches[0]||a.touch,"ContextMenu",h)}};if(c.Browser.isMobile){var f=h.styles[".MathJax_Hover_Arrow"];f.width="25px";f.height="18px";h.button.x=-6}c.Browser.Select({MSIE:function(a){var h=document.documentMode||0,f=a.versionAtLeast("8.0");p.msieBorderWidthBug="BackCompat"===document.compatMode;p.msieEventBug=a.isIE9;p.msieAlignBug=!f||8>h;9>h&&(d.LEFTBUTTON=1)},Safari:function(a){p.safariContextMenuBug=!0},Opera:function(a){p.operaPositionBug=!0},Konqueror:function(a){p.noContextMenuBug=!0}});p.topImg=p.msieAlignBug?g.Element("img",{style:{width:0,height:0,position:"relative"},src:"about:blank"}):g.Element("span",{style:{width:0,height:0,display:"inline-block"}});p.operaPositionBug&&(p.topImg.style.border="1px solid");p.config=h=c.CombineConfig("MathEvents",h);k.Queue(c.Register.StartupHook("End Config",{}),[function(){var a=h.styles[".MathJax_Hover_Frame"];a.border=h.frame.bwidth+"px solid "+h.frame.bcolor+" ! important";a["box-shadow"]=a["-webkit-box-shadow"]=a["-moz-box-shadow"]=a["-khtml-box-shadow"]="0px 0px "+h.frame.hwidth+" "+h.frame.hcolor}],["getImages",u],["Styles",b,h.styles],["Post",c.Startup.signal,"MathEvents Ready"],["loadComplete",b,"[MathJax]/extensions/MathEvents.js"])})(MathJax.Hub,MathJax.HTML,MathJax.Ajax,MathJax.Callback,MathJax.Localization,MathJax.OutputJax,MathJax.InputJax);(function(c,g,b,k,n){var l=c.CombineConfig("MathZoom",{styles:{"#MathJax_Zoom":{position:"absolute","background-color":"#F0F0F0",overflow:"auto",display:"block","z-index":301,padding:".5em",border:"1px solid black",margin:0,"font-weight":"normal","font-style":"normal","text-align":"left","text-indent":0,"text-transform":"none","line-height":"normal","letter-spacing":"normal","word-spacing":"normal","word-wrap":"normal","white-space":"nowrap","float":"none","box-shadow":"5px 5px 15px #AAAAAA","-webkit-box-shadow":"5px 5px 15px #AAAAAA","-moz-box-shadow":"5px 5px 15px #AAAAAA","-khtml-box-shadow":"5px 5px 15px #AAAAAA",filter:"progid:DXImageTransform.Microsoft.dropshadow(OffX\x3d2, OffY\x3d2, Color\x3d'gray', Positive\x3d'true')"},"#MathJax_ZoomOverlay":{position:"absolute",left:0,top:0,"z-index":300,display:"inline-block",width:"100%",height:"100%",border:0,padding:0,margin:0,"background-color":"white",opacity:0,filter:"alpha(opacity\x3d0)"},"#MathJax_ZoomFrame":{position:"relative",display:"inline-block",height:0,width:0},"#MathJax_ZoomEventTrap":{position:"absolute",left:0,top:0,"z-index":302,display:"inline-block",border:0,padding:0,margin:0,"background-color":"white",opacity:0,filter:"alpha(opacity\x3d0)"}}}),m,t,p;MathJax.Hub.Register.StartupHook("MathEvents Ready",function(){p=MathJax.Extension.MathEvents.Event;m=MathJax.Extension.MathEvents.Event.False;t=MathJax.Extension.MathEvents.Hover});var a=MathJax.Extension.MathZoom={version:"2.2",settings:c.config.menuSettings,scrollSize:18,HandleEvent:function(h,d,b){return a.settings.CTRL&&!h.ctrlKey||a.settings.ALT&&!h.altKey||a.settings.CMD&&!h.metaKey||a.settings.Shift&&!h.shiftKey||!a[d]?!0:a[d](h,b)},Click:function(a,d){if("Click"===this.settings.zoom)return this.Zoom(a,d)},DblClick:function(a,d){if("Double-Click"===this.settings.zoom)return this.Zoom(a,d)},Hover:function(a,d){return"Hover"===this.settings.zoom?(this.Zoom(a,d),!0):!1},Zoom:function(a,d){this.Remove();t.ClearHoverTimer();p.ClearSelection();var b=MathJax.OutputJax[d.jaxID],e=b.getJaxFromMath(d);e.hover&&t.UnHover(e);var f=Math.floor(.85*document.body.clientWidth),k=Math.floor(.85*Math.max(document.body.clientHeight,document.documentElement.clientHeight)),y=g.Element("span",{id:"MathJax_ZoomFrame"},[["span",{id:"MathJax_ZoomOverlay",onmousedown:this.Remove}],["span",{id:"MathJax_Zoom",onclick:this.Remove,style:{visibility:"hidden",fontSize:this.settings.zscale,"max-width":f+"px","max-height":k+"px"}},[["span",{style:{display:"inline-block","white-space":"nowrap"}}]]]]),v=y.lastChild,r=v.firstChild,n=y.firstChild;d.parentNode.insertBefore(y,d);d.parentNode.insertBefore(d,y);r.addEventListener&&r.addEventListener("mousedown",this.Remove,!0);if(this.msieTrapEventBug){var w=g.Element("span",{id:"MathJax_ZoomEventTrap",onmousedown:this.Remove});y.insertBefore(w,v)}this.msieZIndexBug&&(g.addElement(document.body,"img",{src:"about:blank",id:"MathJax_ZoomTracker",width:0,height:0,style:{width:0,height:0,position:"relative"}}),y.style.position="relative",y.style.zIndex=l.styles["#MathJax_ZoomOverlay"]["z-index"]);b=b.Zoom(e,r,d,f,k);this.msiePositionBug&&(this.msieSizeBug&&(v.style.height=b.zH+"px",v.style.width=b.zW+"px"),v.offsetHeight>k&&(v.style.height=k+"px",v.style.width=b.zW+this.scrollSize+"px"),v.offsetWidth>f&&(v.style.width=f+"px",v.style.height=b.zH+this.scrollSize+"px"));this.operaPositionBug&&(v.style.width=Math.min(f,b.zW)+"px");v.offsetWidth&&v.offsetWidth<f&&v.offsetHeight<k&&(v.style.overflow="visible");this.Position(v,b);this.msieTrapEventBug&&(w.style.height=v.clientHeight+"px",w.style.width=v.clientWidth+"px",w.style.left=parseFloat(v.style.left)+v.clientLeft+"px",w.style.top=parseFloat(v.style.top)+v.clientTop+"px");v.style.visibility="";"Hover"===this.settings.zoom&&(n.onmouseover=this.Remove);window.addEventListener?addEventListener("resize",this.Resize,!1):window.attachEvent?attachEvent("onresize",this.Resize):(this.onresize=window.onresize,window.onresize=this.Resize);c.signal.Post(["math zoomed",e]);return m(a)},Position:function(h,d){var b=this.Resize(),e=b.y,f=d.mW,c=d.Y;h.style.left=Math.max(-f-Math.floor((h.offsetWidth-f)/2),10-b.x)+"px";h.style.top=Math.max(c,10-e)+"px";a.msiePositionBug||a.SetWH()},Resize:function(h){if(a.onresize)a.onresize(h);var d=document.getElementById("MathJax_ZoomFrame");h=document.getElementById("MathJax_ZoomOverlay");for(var b=a.getXY(d),d=d.parentNode,e=a.getOverflow(d);d.parentNode&&d!==document.body&&"visible"===e;)d=d.parentNode,e=a.getOverflow(d);"visible"!==e&&(h.scroll_parent=d,e=a.getXY(d),b.x-=e.x,b.y-=e.y,e=a.getBorder(d),b.x-=e.x,b.y-=e.y);h.style.left=-b.x+"px";h.style.top=-b.y+"px";a.msiePositionBug?setTimeout(a.SetWH,0):a.SetWH();return b},SetWH:function(){var a=document.getElementById("MathJax_ZoomOverlay");a.style.width=a.style.height="1px";var d=a.scroll_parent||document.documentElement||document.body;a.style.width=d.scrollWidth+"px";a.style.height=Math.max(d.clientHeight,d.scrollHeight)+"px"},getOverflow:window.getComputedStyle?function(a){return getComputedStyle(a).overflow}:function(a){return(a.currentStyle||{overflow:"visible"}).overflow},getBorder:function(a){var d={thin:1,medium:2,thick:3},b=window.getComputedStyle?getComputedStyle(a):a.currentStyle||{borderLeftWidth:0,borderTopWidth:0};a=b.borderLeftWidth;b=b.borderTopWidth;a=d[a]?d[a]:parseInt(a);b=d[b]?d[b]:parseInt(b);return{x:a,y:b}},getXY:function(h){var d=0,b=0,e;for(e=h;e.offsetParent;)d+=e.offsetLeft,e=e.offsetParent;a.operaPositionBug&&(h.style.border="1px solid");for(e=h;e.offsetParent;)b+=e.offsetTop,e=e.offsetParent;a.operaPositionBug&&(h.style.border="");return{x:d,y:b}},Remove:function(h){var d=document.getElementById("MathJax_ZoomFrame");if(d){var b=MathJax.OutputJax[d.previousSibling.jaxID].getJaxFromMath(d.previousSibling);c.signal.Post(["math unzoomed",b]);d.parentNode.removeChild(d);(d=document.getElementById("MathJax_ZoomTracker"))&&d.parentNode.removeChild(d);a.operaRefreshBug&&(d=g.addElement(document.body,"div",{style:{position:"fixed",left:0,top:0,width:"100%",height:"100%",backgroundColor:"white",opacity:0},id:"MathJax_OperaDiv"}),document.body.removeChild(d));window.removeEventListener?removeEventListener("resize",a.Resize,!1):window.detachEvent?detachEvent("onresize",a.Resize):(window.onresize=a.onresize,delete a.onresize)}return m(h)}};c.Browser.Select({MSIE:function(h){var d=document.documentMode||0,b=9<=d;a.msiePositionBug=!b;a.msieSizeBug=h.versionAtLeast("7.0")&&(!document.documentMode||7===d||8===d);a.msieZIndexBug=7>=d;a.msieInlineBlockAlignBug=7>=d;a.msieTrapEventBug=!window.addEventListener;"BackCompat"===document.compatMode&&(a.scrollSize=52);b&&delete l.styles["#MathJax_Zoom"].filter},Opera:function(h){a.operaPositionBug=!0;a.operaRefreshBug=!0}});a.topImg=a.msieInlineBlockAlignBug?g.Element("img",{style:{width:0,height:0,position:"relative"},src:"about:blank"}):g.Element("span",{style:{width:0,height:0,display:"inline-block"}});if(a.operaPositionBug||a.msieTopBug)a.topImg.style.border="1px solid";MathJax.Callback.Queue(["StartupHook",MathJax.Hub.Register,"Begin Styles",{}],["Styles",b,l.styles],["Post",c.Startup.signal,"MathZoom Ready"],["loadComplete",b,"[MathJax]/extensions/MathZoom.js"])})(MathJax.Hub,MathJax.HTML,MathJax.Ajax,MathJax.OutputJax["HTML-CSS"],MathJax.OutputJax.NativeMML);(function(c,g,b,k,n){var l=MathJax.Callback.Signal("menu");MathJax.Extension.MathMenu={version:"2.2",signal:l};var m=function(a){return MathJax.Localization._.apply(MathJax.Localization,[["MathMenu",a]].concat([].slice.call(arguments,1)))},t=c.Browser.isPC,p=c.Browser.isMSIE,a=8<(document.documentMode||0),h=t?null:"5px",d=c.CombineConfig("MathMenu",{delay:150,closeImg:b.fileURL(n.imageDir+"/CloseX-31.png"),showRenderer:!0,showMathPlayer:!0,showFontMenu:!1,showContext:!1,showDiscoverable:!1,showLocale:!0,showLocaleURL:!1,windowSettings:{status:"no",toolbar:"no",locationbar:"no",menubar:"no",directories:"no",personalbar:"no",resizable:"yes",scrollbars:"yes",width:400,height:300,left:Math.round((screen.width-400)/2),top:Math.round((screen.height-300)/3)},styles:{"#MathJax_About":{position:"fixed",left:"50%",width:"auto","text-align":"center",border:"3px outset",padding:"1em 2em","background-color":"#DDDDDD",color:"black",cursor:"default","font-family":"message-box","font-size":"120%","font-style":"normal","text-indent":0,"text-transform":"none","line-height":"normal","letter-spacing":"normal","word-spacing":"normal","word-wrap":"normal","white-space":"nowrap","float":"none","z-index":201,"border-radius":"15px","-webkit-border-radius":"15px","-moz-border-radius":"15px","-khtml-border-radius":"15px","box-shadow":"0px 10px 20px #808080","-webkit-box-shadow":"0px 10px 20px #808080","-moz-box-shadow":"0px 10px 20px #808080","-khtml-box-shadow":"0px 10px 20px #808080",filter:"progid:DXImageTransform.Microsoft.dropshadow(OffX\x3d2, OffY\x3d2, Color\x3d'gray', Positive\x3d'true')"},".MathJax_Menu":{position:"absolute","background-color":"white",color:"black",width:"auto",padding:t?"2px":"5px 0px",border:"1px solid #CCCCCC",margin:0,cursor:"default",font:"menu","text-align":"left","text-indent":0,"text-transform":"none","line-height":"normal","letter-spacing":"normal","word-spacing":"normal","word-wrap":"normal","white-space":"nowrap","float":"none","z-index":201,"border-radius":h,"-webkit-border-radius":h,"-moz-border-radius":h,"-khtml-border-radius":h,"box-shadow":"0px 10px 20px #808080","-webkit-box-shadow":"0px 10px 20px #808080","-moz-box-shadow":"0px 10px 20px #808080","-khtml-box-shadow":"0px 10px 20px #808080",filter:"progid:DXImageTransform.Microsoft.dropshadow(OffX\x3d2, OffY\x3d2, Color\x3d'gray', Positive\x3d'true')"},".MathJax_MenuItem":{padding:t?"2px 2em":"1px 2em",background:"transparent"},".MathJax_MenuArrow":{position:"absolute",right:".5em",color:"#666666","font-family":p?"'Arial unicode MS'":null},".MathJax_MenuActive .MathJax_MenuArrow":{color:"white"},".MathJax_MenuCheck":{position:"absolute",left:".7em","font-family":p?"'Arial unicode MS'":null},".MathJax_MenuRadioCheck":{position:"absolute",left:t?"1em":".7em"},".MathJax_MenuLabel":{padding:t?"2px 2em 4px 1.33em":"1px 2em 3px 1.33em","font-style":"italic"},".MathJax_MenuRule":{"border-top":t?"1px solid #CCCCCC":"1px solid #DDDDDD",margin:t?"4px 1px 0px":"4px 3px"},".MathJax_MenuDisabled":{color:"GrayText"},".MathJax_MenuActive":{"background-color":t?"Highlight":"#606872",color:t?"HighlightText":"white"},".MathJax_Menu_Close":{position:"absolute",width:"31px",height:"31px",top:"-15px",left:"-15px"}}}),u,e;c.Register.StartupHook("MathEvents Ready",function(){u=MathJax.Extension.MathEvents.Event.False;e=MathJax.Extension.MathEvents.Hover});var f=MathJax.Menu=MathJax.Object.Subclass({version:"2.2",items:[],posted:!1,title:null,margin:5,Init:function(a){this.items=[].slice.call(arguments,0)},With:function(a){a&&c.Insert(this,a);return this},Post:function(a,h){a||(a=window.event);var b=document.getElementById("MathJax_MenuFrame");b||(b=f.Background(this),delete q.lastItem,delete q.lastMenu,delete f.skipUp,l.Post(["post",f.jax]));var e=g.addElement(b,"div",{onmouseup:f.Mouseup,ondblclick:u,ondragstart:u,onselectstart:u,oncontextmenu:u,menuItem:this,className:"MathJax_Menu"});MathJax.Localization.setCSS(e);for(var c=0,k=this.items.length;c<k;c++)this.items[c].Create(e);f.isMobile&&g.addElement(e,"span",{className:"MathJax_Menu_Close",menu:h,ontouchstart:f.Close,ontouchend:u,onmousedown:f.Close,onmouseup:u},[["img",{src:d.closeImg,style:{width:"100%",height:"100%"}}]]);this.posted=!0;e.style.width=e.offsetWidth+2+"px";c=a.pageX;k=a.pageY;c||k||(c=a.clientX+document.body.scrollLeft+document.documentElement.scrollLeft,k=a.clientY+document.body.scrollTop+document.documentElement.scrollTop);if(h){for(var n="left",m=h.offsetWidth,c=f.isMobile?30:m-2,k=0;h&&h!==b;)c+=h.offsetLeft,k+=h.offsetTop,h=h.parentNode;c+e.offsetWidth>document.body.offsetWidth-this.margin&&!f.isMobile&&(n="right",c=Math.max(this.margin,c-m-e.offsetWidth+6));t||(e.style["borderRadiusTop"+n]=0,e.style["WebkitBorderRadiusTop"+n]=0,e.style["MozBorderRadiusTop"+n]=0,e.style["KhtmlBorderRadiusTop"+n]=0)}else c+e.offsetWidth>document.body.offsetWidth-this.margin&&(c=document.body.offsetWidth-e.offsetWidth-this.margin),f.isMobile&&(c=Math.max(5,c-Math.floor(e.offsetWidth/2)),k-=20),f.skipUp=a.isContextMenu;e.style.left=c+"px";e.style.top=k+"px";document.selection&&document.selection.empty&&document.selection.empty();return u(a)},Remove:function(a,h){l.Post(["unpost",f.jax]);var d=document.getElementById("MathJax_MenuFrame");d&&(d.parentNode.removeChild(d),this.msieFixedPositionBug&&detachEvent("onresize",f.Resize));f.jax.hover&&(delete f.jax.hover.nofade,e.UnHover(f.jax));return u(a)},Find:function(a){return this.FindN(1,a,[].slice.call(arguments,1))},FindId:function(a){return this.FindN(0,a,[].slice.call(arguments,1))},FindN:function(a,h,d){for(var f=0,e=this.items.length;f<e;f++)if(this.items[f].name[a]===h){if(d.length){if(!this.items[f].menu)break;return this.items[f].menu.FindN(a,d[0],d.slice(1))}return this.items[f]}return null},IndexOf:function(a){return this.IndexOfN(1,a)},IndexOfId:function(a){return this.IndexOfN(0,a)},IndexOfN:function(a,h){for(var d=0,f=this.items.length;d<f;d++)if(this.items[d].name[a]===h)return d;return null}},{config:d,div:null,Close:function(a){return f.Event(a,this.menu||this.parentNode,this.menu?"Touchend":"Remove")},Remove:function(a){return f.Event(a,this,"Remove")},Mouseover:function(a){return f.Event(a,this,"Mouseover")},Mouseout:function(a){return f.Event(a,this,"Mouseout")},Mousedown:function(a){return f.Event(a,this,"Mousedown")},Mouseup:function(a){return f.Event(a,this,"Mouseup")},Touchstart:function(a){return f.Event(a,this,"Touchstart")},Touchend:function(a){return f.Event(a,this,"Touchend")},Event:function(a,h,d,e){if(f.skipMouseover&&"Mouseover"===d&&!e)return u(a);if(f.skipUp){if(d.match(/Mouseup|Touchend/))return delete f.skipUp,u(a);("Touchstart"===d||"Mousedown"===d&&!f.skipMousedown)&&delete f.skipUp}a||(a=window.event);return(e=h.menuItem)&&e[d]?e[d](a,h):null},BGSTYLE:{position:"absolute",left:0,top:0,"z-index":200,width:"100%",height:"100%",border:0,padding:0,margin:0},Background:function(a){a=g.addElement(document.body,"div",{style:this.BGSTYLE,id:"MathJax_MenuFrame"},[["div",{style:this.BGSTYLE,menuItem:a,onmousedown:this.Remove}]]);var h=a.firstChild;f.msieBackgroundBug&&(h.style.backgroundColor="white",h.style.filter="alpha(opacity\x3d0)");f.msieFixedPositionBug?(a.width=a.height=0,this.Resize(),attachEvent("onresize",this.Resize)):h.style.position="fixed";return a},Resize:function(){setTimeout(f.SetWH,0)},SetWH:function(){var a=document.getElementById("MathJax_MenuFrame");a&&(a=a.firstChild,a.style.width=a.style.height="1px",a.style.width=document.body.scrollWidth+"px",a.style.height=document.body.scrollHeight+"px")},saveCookie:function(){g.Cookie.Set("menu",this.cookie)},getCookie:function(){this.cookie=g.Cookie.Get("menu")},getImages:function(){f.isMobile&&((new Image).src=d.closeImg)}}),q=f.ITEM=MathJax.Object.Subclass({name:"",Create:function(a){if(!this.hidden){var h={onmouseover:f.Mouseover,onmouseout:f.Mouseout,onmouseup:f.Mouseup,onmousedown:f.Mousedown,ondragstart:u,onselectstart:u,onselectend:u,ontouchstart:f.Touchstart,ontouchend:f.Touchend,className:"MathJax_MenuItem",menuItem:this};this.disabled&&(h.className+=" MathJax_MenuDisabled");g.addElement(a,"div",h,this.Label(h,a))}},Name:function(){return m(this.name[0],this.name[1])},Mouseover:function(a,h){this.disabled||this.Activate(h);if(!this.menu||!this.menu.posted){for(var d=document.getElementById("MathJax_MenuFrame").childNodes,e=h.parentNode.childNodes,b=0,c=e.length;b<c;b++){var k=e[b].menuItem;k&&k.menu&&k.menu.posted&&k.Deactivate(e[b])}for(c=d.length-1;0<=c&&h.parentNode.menuItem!==d[c].menuItem;)d[c].menuItem.posted=!1,d[c].parentNode.removeChild(d[c]),c--;this.Timer&&!f.isMobile&&this.Timer(a,h)}},Mouseout:function(a,h){this.menu&&this.menu.posted||this.Deactivate(h);this.timer&&(clearTimeout(this.timer),delete this.timer)},Mouseup:function(a,h){return this.Remove(a,h)},Touchstart:function(a,h){return this.TouchEvent(a,h,"Mousedown")},Touchend:function(a,h){return this.TouchEvent(a,h,"Mouseup")},TouchEvent:function(a,h,d){this!==q.lastItem&&(q.lastMenu&&f.Event(a,q.lastMenu,"Mouseout"),f.Event(a,h,"Mouseover",!0),q.lastItem=this,q.lastMenu=h);if(this.nativeTouch)return null;f.Event(a,h,d);return!1},Remove:function(a,h){h=h.parentNode.menuItem;return h.Remove(a,h)},Activate:function(a){this.Deactivate(a);a.className+=" MathJax_MenuActive"},Deactivate:function(a){a.className=a.className.replace(/ MathJax_MenuActive/,"")},With:function(a){a&&c.Insert(this,a);return this}});f.ITEM.COMMAND=f.ITEM.Subclass({action:function(){},Init:function(a,h,d){a instanceof Array||(a=[a,a]);this.name=a;this.action=h;this.With(d)},Label:function(a,h){return[this.Name()]},Mouseup:function(a,h){this.disabled||(this.Remove(a,h),l.Post(["command",this]),this.action.call(this,a));return u(a)}});f.ITEM.SUBMENU=f.ITEM.Subclass({menu:null,marker:t&&!c.Browser.isSafari?"\u25b6":"\u25b8",Init:function(a,h){a instanceof Array||(a=[a,a]);this.name=a;var d=1;h instanceof f.ITEM||(this.With(h),d++);this.menu=f.apply(f,[].slice.call(arguments,d))},Label:function(a,h){this.menu.posted=!1;return[this.Name()+" ",["span",{className:"MathJax_MenuArrow"},[this.marker]]]},Timer:function(a,h){this.timer&&clearTimeout(this.timer);a={clientX:a.clientX,clientY:a.clientY};this.timer=setTimeout(k(["Mouseup",this,a,h]),d.delay)},Touchend:function(a,h){var d=this.menu.posted,f=this.SUPER(arguments).Touchend.apply(this,arguments);d&&(this.Deactivate(h),delete q.lastItem,delete q.lastMenu);return f},Mouseup:function(a,h){if(!this.disabled)if(this.menu.posted)for(var d=document.getElementById("MathJax_MenuFrame").childNodes,f=d.length-1;0<=f;){var e=d[f];e.menuItem.posted=!1;e.parentNode.removeChild(e);if(e.menuItem===this.menu)break;f--}else this.timer&&(clearTimeout(this.timer),delete this.timer),this.menu.Post(a,h);return u(a)}});f.ITEM.RADIO=f.ITEM.Subclass({variable:null,marker:t?"\u25cf":"\u2713",Init:function(a,h,d){a instanceof Array||(a=[a,a]);this.name=a;this.variable=h;this.With(d);null==this.value&&(this.value=this.name[0])},Label:function(a,h){var f={className:"MathJax_MenuRadioCheck"};d.settings[this.variable]!==this.value&&(f={style:{display:"none"}});return[["span",f,[this.marker]]," "+this.Name()]},Mouseup:function(a,h){if(!this.disabled){for(var e=h.parentNode.childNodes,b=0,c=e.length;b<c;b++){var k=e[b].menuItem;k&&k.variable===this.variable&&(e[b].firstChild.style.display="none")}h.firstChild.display="";d.settings[this.variable]=this.value;f.cookie[this.variable]=d.settings[this.variable];f.saveCookie();l.Post(["radio button",this])}this.Remove(a,h);this.action&&!this.disabled&&this.action.call(f,this);return u(a)}});f.ITEM.CHECKBOX=f.ITEM.Subclass({variable:null,marker:"\u2713",Init:function(a,h,d){a instanceof Array||(a=[a,a]);this.name=a;this.variable=h;this.With(d)},Label:function(a,h){var f={className:"MathJax_MenuCheck"};d.settings[this.variable]||(f={style:{display:"none"}});return[["span",f,[this.marker]]," "+this.Name()]},Mouseup:function(a,h){this.disabled||(h.firstChild.display=d.settings[this.variable]?"none":"",d.settings[this.variable]=!d.settings[this.variable],f.cookie[this.variable]=d.settings[this.variable],f.saveCookie(),l.Post(["checkbox",this]));this.Remove(a,h);this.action&&!this.disabled&&this.action.call(f,this);return u(a)}});f.ITEM.LABEL=f.ITEM.Subclass({Init:function(a,h){a instanceof Array||(a=[a,a]);this.name=a;this.With(h)},Label:function(a,h){delete a.onmouseover;delete a.onmouseout;delete a.onmousedown;a.className+=" MathJax_MenuLabel";return[this.Name()]}});f.ITEM.RULE=f.ITEM.Subclass({Label:function(a,h){delete a.onmouseover;delete a.onmouseout;delete a.onmousedown;a.className+=" MathJax_MenuRule";return null}});f.About=function(){var a=n["HTML-CSS"]||{},h=(a.imgFonts?"image":a.fontInUse?(a.webFonts?"web":"local")+" "+a.fontInUse:n.SVG?"web SVG":"generic")+" fonts",a=!a.webFonts||a.imgFonts?null:a.allowWebFonts.replace(/otf/,"woff or otf")+" fonts",e=["MathJax.js v"+MathJax.fileversion,["br"]];e.push(["div",{style:{"border-top":"groove 2px",margin:".25em 0"}}]);f.About.GetJax(e,MathJax.InputJax,["InputJax","%1 Input Jax v%2"]);f.About.GetJax(e,MathJax.OutputJax,["OutputJax","%1 Output Jax v%2"]);f.About.GetJax(e,MathJax.ElementJax,["ElementJax","%1 Element Jax v%2"]);e.push(["div",{style:{"border-top":"groove 2px",margin:".25em 0"}}]);f.About.GetJax(e,MathJax.Extension,["Extension","%1 Extension v%2"],!0);e.push(["div",{style:{"border-top":"groove 2px",margin:".25em 0"}}],["center",{},[c.Browser+" v"+c.Browser.version+(a?" \u2014 "+m(a.replace(/ /g,""),a):"")]]);f.About.div=f.Background(f.About);h=g.addElement(f.About.div,"div",{id:"MathJax_About"},[["b",{style:{fontSize:"120%"}},["MathJax"]]," v"+MathJax.version,["br"],m(h.replace(/ /g,""),"using "+h),["br"],["br"],["span",{style:{display:"inline-block","text-align":"left","font-size":"80%","max-height":"20em",overflow:"auto","background-color":"#E4E4E4",padding:".4em .6em",border:"1px inset"}},e],["br"],["br"],["a",{href:"http://www.mathjax.org/"},["www.mathjax.org"]],["img",{src:d.closeImg,style:{width:"21px",height:"21px",position:"absolute",top:".2em",right:".2em"},onclick:f.About.Remove}]]);MathJax.Localization.setCSS(h);a=document.documentElement||{};a=window.innerHeight||a.clientHeight||a.scrollHeight||0;f.prototype.msieAboutBug?(h.style.width="20em",h.style.position="absolute",h.style.left=Math.floor((document.documentElement.scrollWidth-h.offsetWidth)/2)+"px",h.style.top=Math.floor((a-h.offsetHeight)/3)+document.body.scrollTop+"px"):(h.style.marginLeft=Math.floor(-h.offsetWidth/2)+"px",h.style.top=Math.floor((a-h.offsetHeight)/3)+"px")};f.About.Remove=function(a){f.About.div&&(document.body.removeChild(f.About.div),delete f.About.div)};f.About.GetJax=function(a,h,d,f){var e=[],b;for(b in h)h.hasOwnProperty(b)&&h[b]&&(f&&h[b].version||h[b].isa&&h[b].isa(h))&&e.push(m(d[0],d[1],h[b].id||b,h[b].version));e.sort();h=0;for(d=e.length;h<d;h++)a.push(e[h],["br"]);return a};f.Help=function(){b.Require("[MathJax]/extensions/HelpDialog.js",function(){MathJax.Extension.Help.Dialog()})};f.ShowSource=function(a){a||(a=window.event);var h={screenX:a.screenX,screenY:a.screenY};if(f.jax)if("MathML"===this.format){var d=MathJax.ElementJax.mml;if(d&&"undefined"!==typeof d.mbase.prototype.toMathML)try{f.ShowSource.Text(f.jax.root.toMathML(),a)}catch(e){if(!e.restart)throw e;k.After([this,f.ShowSource,h],e.restart)}else b.loadingToMathML||(b.loadingToMathML=!0,f.ShowSource.Window(a),k.Queue(b.Require("[MathJax]/extensions/toMathML.js"),function(){delete b.loadingToMathML;d.mbase.prototype.toMathML||(d.mbase.prototype.toMathML=function(){})},[this,f.ShowSource,h]))}else"Error"===this.format?f.ShowSource.Text(f.jax.errorText,a):null==f.jax.originalText?alert(m("NoOriginalForm","No original form available")):f.ShowSource.Text(f.jax.originalText,a)};f.ShowSource.Window=function(a){if(!f.ShowSource.w){a=[];var h=d.windowSettings,e;for(e in h)h.hasOwnProperty(e)&&a.push(e+"\x3d"+h[e]);f.ShowSource.w=window.open("","_blank",a.join(","))}return f.ShowSource.w};f.ShowSource.Text=function(a,h){var d=f.ShowSource.Window(h);delete f.ShowSource.w;a=a.replace(/^\s*/,"").replace(/\s*$/,"");a=a.replace(/&/g,"\x26amp;").replace(/</g,"\x26lt;").replace(/>/g,"\x26gt;");var e=m("EqSource","MathJax Equation Source");if(f.isMobile)d.document.open(),d.document.write("\x3chtml\x3e\x3chead\x3e\x3cmeta name\x3d'viewport' content\x3d'width\x3ddevice-width, initial-scale\x3d1.0' /\x3e\x3ctitle\x3e"+e+"\x3c/title\x3e\x3c/head\x3e\x3cbody style\x3d'font-size:85%'\x3e"),d.document.write("\x3cpre\x3e"+a+"\x3c/pre\x3e"),d.document.write("\x3chr\x3e\x3cinput type\x3d'button' value\x3d'"+m("Close","Close")+"' onclick\x3d'window.close()' /\x3e"),d.document.write("\x3c/body\x3e\x3c/html\x3e"),d.document.close();else{d.document.open();d.document.write("\x3chtml\x3e\x3chead\x3e\x3ctitle\x3e"+e+"\x3c/title\x3e\x3c/head\x3e\x3cbody style\x3d'font-size:85%'\x3e");d.document.write("\x3ctable\x3e\x3ctr\x3e\x3ctd\x3e\x3cpre\x3e"+a+"\x3c/pre\x3e\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e");d.document.write("\x3c/body\x3e\x3c/html\x3e");d.document.close();var b=d.document.body.firstChild;setTimeout(function(){var a=d.outerHeight-d.innerHeight||30,f=d.outerWidth-d.innerWidth||30,f=Math.max(100,Math.min(Math.floor(.5*screen.width),b.offsetWidth+f+25)),a=Math.max(40,Math.min(Math.floor(.5*screen.height),b.offsetHeight+a+25));d.resizeTo(f,a);h&&null!=h.screenX&&(f=Math.max(0,Math.min(h.screenX-Math.floor(f/2),screen.width-f-20)),a=Math.max(0,Math.min(h.screenY-Math.floor(a/2),screen.height-a-20)),d.moveTo(f,a))},50)}};f.Scale=function(){var a=n["HTML-CSS"],h=n.NativeMML,d=n.SVG,e=(a||h||d||{config:{scale:100}}).config.scale,b=prompt(m("ScaleMath","Scale all mathematics (compared to surrounding text) by"),e+"%");b&&(b.match(/^\s*\d+(\.\d*)?\s*%?\s*$/)?(b=parseFloat(b))?b!==e&&(a&&(a.config.scale=b),h&&(h.config.scale=b),d&&(d.config.scale=b),f.cookie.scale=b,f.saveCookie(),c.Reprocess()):alert(m("NonZeroScale","The scale should not be zero")):alert(m("PercentScale","The scale should be a percentage (e.g., 120%%)")))};f.Zoom=function(){MathJax.Extension.MathZoom||b.Require("[MathJax]/extensions/MathZoom.js")};f.Renderer=function(){var h=c.outputJax["jax/mml"];if(h[0]!==d.settings.renderer){var e=c.Browser,b,k=f.Renderer.Messages,u;switch(d.settings.renderer){case "NativeMML":d.settings.warnedMML||(e.isChrome&&"24."!==e.version.substr(0,3)?b=k.MML.WebKit:e.isSafari&&!e.versionAtLeast("5.0")?b=k.MML.WebKit:e.isMSIE?e.hasMathPlayer||(b=k.MML.MSIE):b=k.MML[e],u="warnedMML");break;case "SVG":d.settings.warnedSVG||!e.isMSIE||a||(b=k.SVG.MSIE)}if(b){b=m(b[0],b[1]);b=b+"\n\n"+m("SwitchAnyway","Switch the renderer anyway?\n\n(Press OK to switch, CANCEL to continue with the current renderer)");f.cookie.renderer=h[0].id;f.saveCookie();if(!confirm(b)){f.cookie.renderer=d.settings.renderer=g.Cookie.Get("menu").renderer;f.saveCookie();return}u&&(f.cookie.warned=d.settings.warned=!0);f.cookie.renderer=d.settings.renderer;f.saveCookie()}c.Queue(["setRenderer",c,d.settings.renderer,"jax/mml"],["Rerender",c])}};f.Renderer.Messages={MML:{WebKit:["WebkitNativeMMLWarning","Your browser doesn't seem to support MathML natively, so switching to MathML output may cause the mathematics on the page to become unreadable."],MSIE:["MSIENativeMMLWarning","Internet Explorer requires the MathPlayer plugin in order to process MathML output."],Opera:["OperaNativeMMLWarning","Opera's support for MathML is limited, so switching to MathML output may cause some expressions to render poorly."],Safari:["SafariNativeMMLWarning","Your browser's native MathML does not implement all the features used by MathJax, so some expressions may not render properly."],Firefox:["FirefoxNativeMMLWarning","Your browser's native MathML does not implement all the features used by MathJax, so some expressions may not render properly."]},SVG:{MSIE:["MSIESVGWarning","SVG is not implemented in Internet Explorer prior to IE9 or when it is emulating IE8 or below. Switching to SVG output will cause the mathematics to not display properly."]}};f.Font=function(){n["HTML-CSS"]&&document.location.reload()};f.Locale=function(){MathJax.Localization.setLocale(d.settings.locale);MathJax.Hub.Queue(["Reprocess",MathJax.Hub])};f.LoadLocale=function(){var a=prompt(m("LoadURL","Load translation data from this URL:"));a&&(a.match(/\.js$/)||alert(m("BadURL","The URL should be for a javascript file that defines MathJax translation data. Javascript file names should end with '.js'")),b.Require(a,function(h){h!=b.STATUS.OK&&alert(m("BadData","Failed to load translation data from %1",a))}))};f.MPEvents=function(h){var e=d.settings.discoverable,b=f.MPEvents.Messages;a?!e&&"Menu Events"===h.name[1]&&d.settings.mpContext&&alert(m.apply(m,b.IE9warning)):d.settings.mpMouse&&!confirm(m.apply(m,b.IE8warning))?(delete f.cookie.mpContext,delete d.settings.mpContext,delete f.cookie.mpMouse,delete d.settings.mpMouse,f.saveCookie()):(d.settings.mpContext=d.settings.mpMouse,f.cookie.mpContext=f.cookie.mpMouse=d.settings.mpMouse,f.saveCookie(),MathJax.Hub.Queue(["Rerender",MathJax.Hub]))};f.MPEvents.Messages={IE8warning:["IE8warning","This will disable the MathJax menu and zoom features, but you can Alt-Click on an expression to obtain the MathJax menu instead.\n\nReally change the MathPlayer settings?"],IE9warning:["IE9warning","The MathJax contextual menu will be disabled, but you can Alt-Click on an expression to obtain the MathJax menu instead."]};c.Browser.Select({MSIE:function(h){var e="BackCompat"===document.compatMode;h=h.versionAtLeast("8.0")&&7<document.documentMode;f.Augment({margin:20,msieBackgroundBug:9>document.documentMode,msieFixedPositionBug:e||!h,msieAboutBug:e});a&&(delete d.styles["#MathJax_About"].filter,delete d.styles[".MathJax_Menu"].filter)},Firefox:function(a){f.skipMouseover=a.isMobile&&a.versionAtLeast("6.0");f.skipMousedown=a.isMobile}});f.isMobile=c.Browser.isMobile;f.noContextMenu=c.Browser.noContextMenu;f.CreateLocaleMenu=function(){if(f.menu){var a=f.menu.Find("Language").menu,h=a.items,d=[],e=MathJax.Localization.strings,b;for(b in e)e.hasOwnProperty(b)&&d.push(b);d=d.sort();a.items=[];b=0;for(var c=d.length;b<c;b++){var k=e[d[b]].menuTitle,k=k?k+(" ("+d[b]+")"):d[b];a.items.push(q.RADIO([d[b],k],"locale",{action:f.Locale}))}a.items.push(h[h.length-2],h[h.length-1])}};c.Register.StartupHook("End Config",function(){d.settings=c.config.menuSettings;"undefined"!==typeof d.settings.showRenderer&&(d.showRenderer=d.settings.showRenderer);"undefined"!==typeof d.settings.showFontMenu&&(d.showFontMenu=d.settings.showFontMenu);"undefined"!==typeof d.settings.showContext&&(d.showContext=d.settings.showContext);f.getCookie();f.menu=f(q.SUBMENU(["Show","Show Math As"],q.COMMAND(["MathMLcode","MathML Code"],f.ShowSource,{nativeTouch:!0,format:"MathML"}),q.COMMAND(["Original","Original Form"],f.ShowSource,{nativeTouch:!0}),q.RULE(),q.CHECKBOX(["texHints","Show TeX hints in MathML"],"texHints")),q.RULE(),q.SUBMENU(["Settings","Math Settings"],q.SUBMENU(["ZoomTrigger","Zoom Trigger"],q.RADIO(["Hover","Hover"],"zoom",{action:f.Zoom}),q.RADIO(["Click","Click"],"zoom",{action:f.Zoom}),q.RADIO(["DoubleClick","Double-Click"],"zoom",{action:f.Zoom}),q.RADIO(["NoZoom","No Zoom"],"zoom",{value:"None"}),q.RULE(),q.LABEL(["TriggerRequires","Trigger Requires:"]),q.CHECKBOX(c.Browser.isMac?["Option","Option"]:["Alt","Alt"],"ALT"),q.CHECKBOX(["Command","Command"],"CMD",{hidden:!c.Browser.isMac}),q.CHECKBOX(["Control","Control"],"CTRL",{hidden:c.Browser.isMac}),q.CHECKBOX(["Shift","Shift"],"Shift")),q.SUBMENU(["ZoomFactor","Zoom Factor"],q.RADIO("125%","zscale"),q.RADIO("133%","zscale"),q.RADIO("150%","zscale"),q.RADIO("175%","zscale"),q.RADIO("200%","zscale"),q.RADIO("250%","zscale"),q.RADIO("300%","zscale"),q.RADIO("400%","zscale")),q.RULE(),q.SUBMENU(["Renderer","Math Renderer"],{hidden:!d.showRenderer},q.RADIO("HTML-CSS","renderer",{action:f.Renderer}),q.RADIO("MathML","renderer",{action:f.Renderer,value:"NativeMML"}),q.RADIO("SVG","renderer",{action:f.Renderer})),q.SUBMENU("MathPlayer",{hidden:!c.Browser.isMSIE||!d.showMathPlayer,disabled:!c.Browser.hasMathPlayer},q.LABEL(["MPHandles","Let MathPlayer Handle:"]),q.CHECKBOX(["MenuEvents","Menu Events"],"mpContext",{action:f.MPEvents,hidden:!a}),q.CHECKBOX(["MouseEvents","Mouse Events"],"mpMouse",{action:f.MPEvents,hidden:!a}),q.CHECKBOX(["MenuAndMouse","Mouse and Menu Events"],"mpMouse",{action:f.MPEvents,hidden:a})),q.SUBMENU(["FontPrefs","Font Preference"],{hidden:!d.showFontMenu},q.LABEL(["ForHTMLCSS","For HTML-CSS:"]),q.RADIO(["Auto","Auto"],"font",{action:f.Font}),q.RULE(),q.RADIO(["TeXLocal","TeX (local)"],"font",{action:f.Font}),q.RADIO(["TeXWeb","TeX (web)"],"font",{action:f.Font}),q.RADIO(["TeXImage","TeX (image)"],"font",{action:f.Font}),q.RULE(),q.RADIO(["STIXlocal","STIX (local)"],"font",{action:f.Font})),q.SUBMENU(["ContextMenu","Contextual Menu"],{hidden:!d.showContext},q.RADIO("MathJax","context"),q.RADIO(["Browser","Browser"],"context")),q.COMMAND(["Scale","Scale All Math ..."],f.Scale),q.RULE().With({hidden:!d.showDiscoverable,name:["","discover_rule"]}),q.CHECKBOX(["Discoverable","Highlight on Hover"],"discoverable",{hidden:!d.showDiscoverable})),q.SUBMENU(["Locale","Language"],{hidden:!d.showLocale},q.RADIO("en","locale",{action:f.Locale}),q.RULE().With({hidden:!d.showLocaleURL,name:["","localURL_rule"]}),q.COMMAND(["LoadLocale","Load from URL ..."],f.LoadLocale,{hidden:!d.showLocaleURL})),q.RULE(),q.COMMAND(["About","About MathJax"],f.About),q.COMMAND(["Help","MathJax Help"],f.Help));if(f.isMobile){var h=d.settings,e=f.menu.Find("Math Settings","Zoom Trigger").menu;e.items[0].disabled=e.items[1].disabled=!0;if("Hover"===h.zoom||"Click"==h.zoom)h.zoom="None";e.items=e.items.slice(0,4);navigator.appVersion.match(/[ (]Android[) ]/)&&f.ITEM.SUBMENU.Augment({marker:"\u00bb"})}f.CreateLocaleMenu()});f.showRenderer=function(a){f.cookie.showRenderer=d.showRenderer=a;f.saveCookie();f.menu.Find("Math Settings","Math Renderer").hidden=!a};f.showMathPlayer=function(a){f.cookie.showMathPlayer=d.showMathPlayer=a;f.saveCookie();f.menu.Find("Math Settings","MathPlayer").hidden=!a};f.showFontMenu=function(a){f.cookie.showFontMenu=d.showFontMenu=a;f.saveCookie();f.menu.Find("Math Settings","Font Preference").hidden=!a};f.showContext=function(a){f.cookie.showContext=d.showContext=a;f.saveCookie();f.menu.Find("Math Settings","Contextual Menu").hidden=!a};f.showDiscoverable=function(a){f.cookie.showDiscoverable=d.showDiscoverable=a;f.saveCookie();f.menu.Find("Math Settings","Highlight on Hover").hidden=!a;f.menu.Find("Math Settings","discover_rule").hidden=!a};f.showLocale=function(a){f.cookie.showLocale=d.showLocale=a;f.saveCookie();f.menu.Find("Language").hidden=!a};MathJax.Hub.Register.StartupHook("HTML-CSS Jax Ready",function(){MathJax.OutputJax["HTML-CSS"].config.imageFont||(f.menu.Find("Math Settings","Font Preference","TeX (image)").disabled=!0)});k.Queue(c.Register.StartupHook("End Config",{}),["getImages",f],["Styles",b,d.styles],["Post",c.Startup.signal,"MathMenu Ready"],["loadComplete",b,"[MathJax]/extensions/MathMenu.js"])})(MathJax.Hub,MathJax.HTML,MathJax.Ajax,MathJax.CallBack,MathJax.OutputJax);MathJax.ElementJax.mml=MathJax.ElementJax({mimeType:"jax/mml"},{id:"mml",version:"2.2",directory:MathJax.ElementJax.directory+"/mml",extensionDir:MathJax.ElementJax.extensionDir+"/mml",optableDir:MathJax.ElementJax.directory+"/mml/optable"});MathJax.ElementJax.mml.Augment({Init:function(){this.root=1===arguments.length&&"math"===arguments[0].type?arguments[0]:MathJax.ElementJax.mml.math.apply(this,arguments);if(this.root.attr&&this.root.attr.mode){this.root.display||"display"!==this.root.attr.mode||(this.root.display="block",this.root.attrNames.push("display"));delete this.root.attr.mode;for(var c=0,g=this.root.attrNames.length;c<g;c++)if("mode"===this.root.attrNames[c]){this.root.attrNames.splice(c,1);break}}}},{INHERIT:"_inherit_",AUTO:"_auto_",SIZE:{INFINITY:"infinity",SMALL:"small",NORMAL:"normal",BIG:"big"},COLOR:{TRANSPARENT:"transparent"},VARIANT:{NORMAL:"normal",BOLD:"bold",ITALIC:"italic",BOLDITALIC:"bold-italic",DOUBLESTRUCK:"double-struck",FRAKTUR:"fraktur",BOLDFRAKTUR:"bold-fraktur",SCRIPT:"script",BOLDSCRIPT:"bold-script",SANSSERIF:"sans-serif",BOLDSANSSERIF:"bold-sans-serif",SANSSERIFITALIC:"sans-serif-italic",SANSSERIFBOLDITALIC:"sans-serif-bold-italic",MONOSPACE:"monospace",INITIAL:"inital",TAILED:"tailed",LOOPED:"looped",STRETCHED:"stretched",CALIGRAPHIC:"-tex-caligraphic",OLDSTYLE:"-tex-oldstyle"},FORM:{PREFIX:"prefix",INFIX:"infix",POSTFIX:"postfix"},LINEBREAK:{AUTO:"auto",NEWLINE:"newline",NOBREAK:"nobreak",GOODBREAK:"goodbreak",BADBREAK:"badbreak"},LINEBREAKSTYLE:{BEFORE:"before",AFTER:"after",DUPLICATE:"duplicate",INFIXLINBREAKSTYLE:"infixlinebreakstyle"},INDENTALIGN:{LEFT:"left",CENTER:"center",RIGHT:"right",AUTO:"auto",ID:"id",INDENTALIGN:"indentalign"},INDENTSHIFT:{INDENTSHIFT:"indentshift"},LINETHICKNESS:{THIN:"thin",MEDIUM:"medium",THICK:"thick"},NOTATION:{LONGDIV:"longdiv",ACTUARIAL:"actuarial",RADICAL:"radical",BOX:"box",ROUNDEDBOX:"roundedbox",CIRCLE:"circle",LEFT:"left",RIGHT:"right",TOP:"top",BOTTOM:"bottom",UPDIAGONALSTRIKE:"updiagonalstrike",DOWNDIAGONALSTRIKE:"downdiagonalstrike",VERTICALSTRIKE:"verticalstrike",HORIZONTALSTRIKE:"horizontalstrike",MADRUWB:"madruwb"},ALIGN:{TOP:"top",BOTTOM:"bottom",CENTER:"center",BASELINE:"baseline",AXIS:"axis",LEFT:"left",RIGHT:"right"},LINES:{NONE:"none",SOLID:"solid",DASHED:"dashed"},SIDE:{LEFT:"left",RIGHT:"right",LEFTOVERLAP:"leftoverlap",RIGHTOVERLAP:"rightoverlap"},WIDTH:{AUTO:"auto",FIT:"fit"},ACTIONTYPE:{TOGGLE:"toggle",STATUSLINE:"statusline",TOOLTIP:"tooltip",INPUT:"input"},LENGTH:{VERYVERYTHINMATHSPACE:"veryverythinmathspace",VERYTHINMATHSPACE:"verythinmathspace",THINMATHSPACE:"thinmathspace",MEDIUMMATHSPACE:"mediummathspace",THICKMATHSPACE:"thickmathspace",VERYTHICKMATHSPACE:"verythickmathspace",VERYVERYTHICKMATHSPACE:"veryverythickmathspace",NEGATIVEVERYVERYTHINMATHSPACE:"negativeveryverythinmathspace",NEGATIVEVERYTHINMATHSPACE:"negativeverythinmathspace",NEGATIVETHINMATHSPACE:"negativethinmathspace",NEGATIVEMEDIUMMATHSPACE:"negativemediummathspace",NEGATIVETHICKMATHSPACE:"negativethickmathspace",NEGATIVEVERYTHICKMATHSPACE:"negativeverythickmathspace",NEGATIVEVERYVERYTHICKMATHSPACE:"negativeveryverythickmathspace"},OVERFLOW:{LINBREAK:"linebreak",SCROLL:"scroll",ELIDE:"elide",TRUNCATE:"truncate",SCALE:"scale"},UNIT:{EM:"em",EX:"ex",PX:"px",IN:"in",CM:"cm",MM:"mm",PT:"pt",PC:"pc"},TEXCLASS:{ORD:0,OP:1,BIN:2,REL:3,OPEN:4,CLOSE:5,PUNCT:6,INNER:7,VCENTER:8,NONE:-1},TEXCLASSNAMES:"ORD OP BIN REL OPEN CLOSE PUNCT INNER VCENTER".split(" "),copyAttributes:{fontfamily:!0,fontsize:!0,fontweight:!0,fontstyle:!0,color:!0,background:!0,id:!0,"class":!0,href:!0,style:!0},skipAttributes:{texClass:!0,useHeight:!0,texprimestyle:!0},copyAttributeNames:"fontfamily fontsize fontweight fontstyle color background id class href style".split(" ")});(function(c){c.mbase=MathJax.Object.Subclass({type:"base",isToken:!1,defaults:{mathbackground:c.INHERIT,mathcolor:c.INHERIT},noInherit:{},noInheritAttribute:{texClass:!0},linebreakContainer:!1,Init:function(){this.data=[];!this.inferRow||1===arguments.length&&arguments[0].inferred||this.Append(c.mrow().With({inferred:!0,notParent:!0}));this.Append.apply(this,arguments)},With:function(b){for(var c in b)b.hasOwnProperty(c)&&(this[c]=b[c]);return this},Append:function(){if(this.inferRow&&this.data.length)this.data[0].Append.apply(this.data[0],arguments);else for(var b=0,c=arguments.length;b<c;b++)this.SetData(this.data.length,arguments[b])},SetData:function(b,g){null!=g&&(g instanceof c.mbase||(g=this.isToken?c.chars(g):c.mtext(g)),g.parent=this,g.setInherit(this.inheritFromMe?this:this.inherit));this.data[b]=g},Parent:function(){for(var b=this.parent;b&&b.notParent;)b=b.parent;return b},Get:function(b,g){if(null!=this[b])return this[b];if(this.attr&&null!=this.attr[b])return this.attr[b];var l=this.Parent();if(l&&null!=l["adjustChild_"+b])return l["adjustChild_"+b](this.childPosition(),g);for(var m=l=this.inherit;l;){m=l[b];null==m&&l.attr&&(m=l.attr[b]);if(null!=m&&l.noInheritAttribute&&!l.noInheritAttribute[b]){var t=l.noInherit[this.type];if(!t||!t[b])return m}m=l;l=l.inherit}if(!g){if(this.defaults[b]===c.AUTO)return this.autoDefault(b);if(this.defaults[b]!==c.INHERIT&&null!=this.defaults[b])return this.defaults[b];if(m)return m.defaults[b]}return null},hasValue:function(b){return null!=this.Get(b,!0)},getValues:function(){for(var b={},c=0,g=arguments.length;c<g;c++)b[arguments[c]]=this.Get(arguments[c]);return b},adjustChild_scriptlevel:function(b,c){return this.Get("scriptlevel",c)},adjustChild_displaystyle:function(b,c){return this.Get("displaystyle",c)},adjustChild_texprimestyle:function(b,c){return this.Get("texprimestyle",c)},childPosition:function(){for(var b=this,c=b.parent;c.notParent;)b=c,c=b.parent;for(var g=0,m=c.data.length;g<m;g++)if(c.data[g]===b)return g;return null},setInherit:function(b){if(b!==this.inherit&&null==this.inherit){this.inherit=b;for(var c=0,g=this.data.length;c<g;c++)this.data[c]&&this.data[c].setInherit&&this.data[c].setInherit(b)}},setTeXclass:function(b){this.getPrevClass(b);return"undefined"!==typeof this.texClass?this:b},getPrevClass:function(b){b&&(this.prevClass=b.Get("texClass"),this.prevLevel=b.Get("scriptlevel"))},updateTeXclass:function(b){b&&(this.prevClass=b.prevClass,delete b.prevClass,this.prevLevel=b.prevLevel,delete b.prevLevel,this.texClass=b.Get("texClass"))},texSpacing:function(){var b=null!=this.prevClass?this.prevClass:c.TEXCLASS.NONE,g=this.Get("texClass")||c.TEXCLASS.ORD;if(b===c.TEXCLASS.NONE||g===c.TEXCLASS.NONE)return"";b===c.TEXCLASS.VCENTER&&(b=c.TEXCLASS.ORD);g===c.TEXCLASS.VCENTER&&(g=c.TEXCLASS.ORD);b=this.TEXSPACE[b][g];return 0<this.prevLevel&&0<this.Get("scriptlevel")&&0<=b?"":this.TEXSPACELENGTH[Math.abs(b)]},TEXSPACELENGTH:["",c.LENGTH.THINMATHSPACE,c.LENGTH.MEDIUMMATHSPACE,c.LENGTH.THICKMATHSPACE],TEXSPACE:[[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]],autoDefault:function(b){return""},isSpacelike:function(){return!1},isEmbellished:function(){return!1},Core:function(){return this},CoreMO:function(){return this},hasNewline:function(){if(this.isEmbellished())return this.CoreMO().hasNewline();if(this.isToken||this.linebreakContainer)return!1;for(var b=0,c=this.data.length;b<c;b++)if(this.data[b]&&this.data[b].hasNewline())return!0;return!1},array:function(){return this.inferred?this.data:[this]},toString:function(){return this.type+"("+this.data.join(",")+")"}},{childrenSpacelike:function(){for(var b=0,c=this.data.length;b<c;b++)if(!this.data[b].isSpacelike())return!1;return!0},childEmbellished:function(){return this.data[0]&&this.data[0].isEmbellished()},childCore:function(){return this.data[0]},childCoreMO:function(){return this.data[0]?this.data[0].CoreMO():null},setChildTeXclass:function(b){this.data[0]&&(b=this.data[0].setTeXclass(b),this.updateTeXclass(this.data[0]));return b},setBaseTeXclasses:function(b){this.getPrevClass(b);this.texClass=null;this.data[0]?this.isEmbellished()||this.data[0].isa(c.mi)?(b=this.data[0].setTeXclass(b),this.updateTeXclass(this.Core())):(this.data[0].setTeXclass(),b=this):b=this;for(var g=1,l=this.data.length;g<l;g++)this.data[g]&&this.data[g].setTeXclass();return b},setSeparateTeXclasses:function(b){this.getPrevClass(b);b=0;for(var c=this.data.length;b<c;b++)this.data[b]&&this.data[b].setTeXclass();this.isEmbellished()&&this.updateTeXclass(this.Core());return this}});c.mi=c.mbase.Subclass({type:"mi",isToken:!0,texClass:c.TEXCLASS.ORD,defaults:{mathvariant:c.AUTO,mathsize:c.INHERIT,mathbackground:c.INHERIT,mathcolor:c.INHERIT},autoDefault:function(b){return"mathvariant"===b?(b=(this.data[0]||"").toString(),1===b.length||2===b.length&&55296<=b.charCodeAt(0)&&56320>b.charCodeAt(0)?c.VARIANT.ITALIC:c.VARIANT.NORMAL):""},setTeXclass:function(b){this.getPrevClass(b);b=this.data.join("");1<b.length&&b.match(/^[a-z][a-z0-9]*$/i)&&this.texClass===c.TEXCLASS.ORD&&(this.texClass=c.TEXCLASS.OP,this.autoOP=!0);return this}});c.mn=c.mbase.Subclass({type:"mn",isToken:!0,texClass:c.TEXCLASS.ORD,defaults:{mathvariant:c.INHERIT,mathsize:c.INHERIT,mathbackground:c.INHERIT,mathcolor:c.INHERIT}});c.mo=c.mbase.Subclass({type:"mo",isToken:!0,defaults:{mathvariant:c.INHERIT,mathsize:c.INHERIT,mathbackground:c.INHERIT,mathcolor:c.INHERIT,form:c.AUTO,fence:c.AUTO,separator:c.AUTO,lspace:c.AUTO,rspace:c.AUTO,stretchy:c.AUTO,symmetric:c.AUTO,maxsize:c.AUTO,minsize:c.AUTO,largeop:c.AUTO,movablelimits:c.AUTO,accent:c.AUTO,linebreak:c.LINEBREAK.AUTO,lineleading:c.INHERIT,linebreakstyle:c.AUTO,linebreakmultchar:c.INHERIT,indentalign:c.INHERIT,indentshift:c.INHERIT,indenttarget:c.INHERIT,indentalignfirst:c.INHERIT,indentshiftfirst:c.INHERIT,indentalignlast:c.INHERIT,indentshiftlast:c.INHERIT,texClass:c.AUTO},defaultDef:{form:c.FORM.INFIX,fence:!1,separator:!1,lspace:c.LENGTH.THICKMATHSPACE,rspace:c.LENGTH.THICKMATHSPACE,stretchy:!1,symmetric:!0,maxsize:c.SIZE.INFINITY,minsize:"0em",largeop:!1,movablelimits:!1,accent:!1,linebreak:c.LINEBREAK.AUTO,lineleading:"1ex",linebreakstyle:"before",indentalign:c.INDENTALIGN.AUTO,indentshift:"0",indenttarget:"",indentalignfirst:c.INDENTALIGN.INDENTALIGN,indentshiftfirst:c.INDENTSHIFT.INDENTSHIFT,indentalignlast:c.INDENTALIGN.INDENTALIGN,indentshiftlast:c.INDENTSHIFT.INDENTSHIFT,texClass:c.TEXCLASS.REL},SPACE_ATTR:{lspace:1,rspace:2,form:4},useMMLspacing:7,autoDefault:function(b,g){var l=this.def;if(!l){if("form"===b)return this.useMMLspacing&=~this.SPACE_ATTR.form,this.getForm();for(var m=this.data.join(""),t=[this.Get("form"),c.FORM.INFIX,c.FORM.POSTFIX,c.FORM.PREFIX],p=0,a=t.length;p<a;p++){var h=this.OPTABLE[t[p]][m];if(h){l=this.makeDef(h);break}}l||(l=this.CheckRange(m));!l&&g?l={}:(l||(l=MathJax.Hub.Insert({},this.defaultDef)),l.form=t[0],this.def=l)}this.useMMLspacing&=~(this.SPACE_ATTR[b]||0);return null!=l[b]?l[b]:g?"":this.defaultDef[b]},CheckRange:function(b){var g=b.charCodeAt(0);55296<=g&&56320>g&&(g=(g-55296<<10)+(b.charCodeAt(1)-56320)+65536);for(var l=0,m=this.RANGES.length;l<m&&this.RANGES[l][0]<=g;l++)if(g<=this.RANGES[l][1])return this.RANGES[l][3]&&(g=c.optableDir+"/"+this.RANGES[l][3]+".js",this.RANGES[l][3]=null,MathJax.Hub.RestartAfter(MathJax.Ajax.Require(g))),l=c.TEXCLASSNAMES[this.RANGES[l][2]],l=this.OPTABLE.infix[b]=c.mo.OPTYPES["BIN"===l?"BIN3":l],this.makeDef(l);return null},makeDef:function(b){null==b[2]&&(b[2]=this.defaultDef.texClass);b[3]||(b[3]={});var g=MathJax.Hub.Insert({},b[3]);g.lspace=this.SPACE[b[0]];g.rspace=this.SPACE[b[1]];g.texClass=b[2];g.texClass===c.TEXCLASS.REL&&(this.movablelimits||this.data.join("").match(/^[a-z]+$/i))&&(g.texClass=c.TEXCLASS.OP);return g},getForm:function(){for(var b=this,g=this.parent,l=this.Parent();l&&l.isEmbellished();)b=g,g=l.parent,l=l.Parent();if(g&&"mrow"===g.type&&1!==g.NonSpaceLength()){if(g.FirstNonSpace()===b)return c.FORM.PREFIX;if(g.LastNonSpace()===b)return c.FORM.POSTFIX}return c.FORM.INFIX},isEmbellished:function(){return!0},hasNewline:function(){return this.Get("linebreak")===c.LINEBREAK.NEWLINE},setTeXclass:function(b){this.getValues("lspace","rspace");if(this.useMMLspacing)return this.texClass=c.TEXCLASS.NONE,this;this.texClass=this.Get("texClass");return"\u2061"===this.data.join("")?(b&&(b.texClass=c.TEXCLASS.OP),this.texClass=this.prevClass=c.TEXCLASS.NONE,b):this.adjustTeXclass(b)},adjustTeXclass:function(b){if(this.texClass===c.TEXCLASS.NONE)return b;b?(!b.autoOP||this.texClass!==c.TEXCLASS.BIN&&this.texClass!==c.TEXCLASS.REL||(b.texClass=c.TEXCLASS.ORD),this.prevClass=b.texClass||c.TEXCLASS.ORD,this.prevLevel=b.Get("scriptlevel")):this.prevClass=c.TEXCLASS.NONE;this.texClass!==c.TEXCLASS.BIN||this.prevClass!==c.TEXCLASS.NONE&&this.prevClass!==c.TEXCLASS.BIN&&this.prevClass!==c.TEXCLASS.OP&&this.prevClass!==c.TEXCLASS.REL&&this.prevClass!==c.TEXCLASS.OPEN&&this.prevClass!==c.TEXCLASS.PUNCT?this.prevClass!==c.TEXCLASS.BIN||this.texClass!==c.TEXCLASS.REL&&this.texClass!==c.TEXCLASS.CLOSE&&this.texClass!==c.TEXCLASS.PUNCT||(b.texClass=this.prevClass=c.TEXCLASS.ORD):this.texClass=c.TEXCLASS.ORD;return this}});c.mtext=c.mbase.Subclass({type:"mtext",isToken:!0,isSpacelike:function(){return!0},texClass:c.TEXCLASS.ORD,defaults:{mathvariant:c.INHERIT,mathsize:c.INHERIT,mathbackground:c.INHERIT,mathcolor:c.INHERIT}});c.mspace=c.mbase.Subclass({type:"mspace",isToken:!0,isSpacelike:function(){return!0},defaults:{mathbackground:c.INHERIT,mathcolor:c.INHERIT,width:"0em",height:"0ex",depth:"0ex",linebreak:c.LINEBREAK.AUTO},hasDimAttr:function(){return this.hasValue("width")||this.hasValue("height")||this.hasValue("depth")},hasNewline:function(){return!this.hasDimAttr()&&this.Get("linebreak")===c.LINEBREAK.NEWLINE}});c.ms=c.mbase.Subclass({type:"ms",isToken:!0,texClass:c.TEXCLASS.ORD,defaults:{mathvariant:c.INHERIT,mathsize:c.INHERIT,mathbackground:c.INHERIT,mathcolor:c.INHERIT,lquote:'"',rquote:'"'}});c.mglyph=c.mbase.Subclass({type:"mglyph",isToken:!0,texClass:c.TEXCLASS.ORD,defaults:{mathbackground:c.INHERIT,mathcolor:c.INHERIT,alt:"",src:"",width:c.AUTO,height:c.AUTO,valign:"0em"}});c.mrow=c.mbase.Subclass({type:"mrow",isSpacelike:c.mbase.childrenSpacelike,inferred:!1,notParent:!1,isEmbellished:function(){for(var b=!1,c=0,g=this.data.length;c<g;c++)if(null!=this.data[c])if(this.data[c].isEmbellished()){if(b)return!1;b=!0;this.core=c}else if(!this.data[c].isSpacelike())return!1;return b},NonSpaceLength:function(){for(var b=0,c=0,g=this.data.length;c<g;c++)this.data[c]&&!this.data[c].isSpacelike()&&b++;return b},FirstNonSpace:function(){for(var b=0,c=this.data.length;b<c;b++)if(this.data[b]&&!this.data[b].isSpacelike())return this.data[b];return null},LastNonSpace:function(){for(var b=this.data.length-1;0<=b;b--)if(this.data[0]&&!this.data[b].isSpacelike())return this.data[b];return null},Core:function(){return this.isEmbellished()&&"undefined"!==typeof this.core?this.data[this.core]:this},CoreMO:function(){return this.isEmbellished()&&"undefined"!==typeof this.core?this.data[this.core].CoreMO():this},toString:function(){return this.inferred?"["+this.data.join(",")+"]":this.SUPER(arguments).toString.call(this)},setTeXclass:function(b){for(var c=0,g=this.data.length;c<g;c++)this.data[c]&&(b=this.data[c].setTeXclass(b));this.data[0]&&this.updateTeXclass(this.data[0]);return b}});c.mfrac=c.mbase.Subclass({type:"mfrac",num:0,den:1,linebreakContainer:!0,texClass:c.TEXCLASS.INNER,isEmbellished:c.mbase.childEmbellished,Core:c.mbase.childCore,CoreMO:c.mbase.childCoreMO,defaults:{mathbackground:c.INHERIT,mathcolor:c.INHERIT,linethickness:c.LINETHICKNESS.MEDIUM,numalign:c.ALIGN.CENTER,denomalign:c.ALIGN.CENTER,bevelled:!1},adjustChild_displaystyle:function(b){return!1},adjustChild_scriptlevel:function(b){b=this.Get("scriptlevel");(!this.Get("displaystyle")||0<b)&&b++;return b},adjustChild_texprimestyle:function(b){return b==this.den?!0:this.Get("texprimestyle")},setTeXclass:c.mbase.setSeparateTeXclasses});c.msqrt=c.mbase.Subclass({type:"msqrt",inferRow:!0,linebreakContainer:!0,texClass:c.TEXCLASS.ORD,setTeXclass:c.mbase.setSeparateTeXclasses,adjustChild_texprimestyle:function(b){return!0}});c.mroot=c.mbase.Subclass({type:"mroot",linebreakContainer:!0,texClass:c.TEXCLASS.ORD,adjustChild_displaystyle:function(b){return 1===b?!1:this.Get("displaystyle")},adjustChild_scriptlevel:function(b){var c=this.Get("scriptlevel");1===b&&(c+=2);return c},adjustChild_texprimestyle:function(b){return 0===b?!0:this.Get("texprimestyle")},setTeXclass:c.mbase.setSeparateTeXclasses});c.mstyle=c.mbase.Subclass({type:"mstyle",isSpacelike:c.mbase.childrenSpacelike,isEmbellished:c.mbase.childEmbellished,Core:c.mbase.childCore,CoreMO:c.mbase.childCoreMO,inferRow:!0,defaults:{scriptlevel:c.INHERIT,displaystyle:c.INHERIT,scriptsizemultiplier:Math.sqrt(.5),scriptminsize:"8pt",mathbackground:c.INHERIT,mathcolor:c.INHERIT,infixlinebreakstyle:c.LINEBREAKSTYLE.BEFORE,decimalseparator:"."},adjustChild_scriptlevel:function(b){b=this.scriptlevel;if(null==b)b=this.Get("scriptlevel");else if(String(b).match(/^ *[-+]/)){delete this.scriptlevel;var c=this.Get("scriptlevel");this.scriptlevel=b;b=c+parseInt(b)}return b},inheritFromMe:!0,noInherit:{mpadded:{width:!0,height:!0,depth:!0,lspace:!0,voffset:!0},mtable:{width:!0,height:!0,depth:!0,align:!0}},setTeXclass:c.mbase.setChildTeXclass});c.merror=c.mbase.Subclass({type:"merror",inferRow:!0,linebreakContainer:!0,texClass:c.TEXCLASS.ORD});c.mpadded=c.mbase.Subclass({type:"mpadded",inferRow:!0,isSpacelike:c.mbase.childrenSpacelike,isEmbellished:c.mbase.childEmbellished,Core:c.mbase.childCore,CoreMO:c.mbase.childCoreMO,defaults:{mathbackground:c.INHERIT,mathcolor:c.INHERIT,width:"",height:"",depth:"",lspace:0,voffset:0},setTeXclass:c.mbase.setChildTeXclass});c.mphantom=c.mbase.Subclass({type:"mphantom",texClass:c.TEXCLASS.ORD,inferRow:!0,isSpacelike:c.mbase.childrenSpacelike,isEmbellished:c.mbase.childEmbellished,Core:c.mbase.childCore,CoreMO:c.mbase.childCoreMO,setTeXclass:c.mbase.setChildTeXclass});c.mfenced=c.mbase.Subclass({type:"mfenced",defaults:{mathbackground:c.INHERIT,mathcolor:c.INHERIT,open:"(",close:")",separators:","},texClass:c.TEXCLASS.OPEN,setTeXclass:function(b){this.getPrevClass(b);var g=this.getValues("open","close","separators");g.open=g.open.replace(/[ \t\n\r]/g,"");g.close=g.close.replace(/[ \t\n\r]/g,"");g.separators=g.separators.replace(/[ \t\n\r]/g,"");""!==g.open&&(this.SetData("open",c.mo(g.open).With({stretchy:!0,texClass:c.TEXCLASS.OPEN})),b=this.data.open.setTeXclass(b));if(""!==g.separators)for(;g.separators.length<this.data.length;)g.separators+=g.separators.charAt(g.separators.length-1);this.data[0]&&(b=this.data[0].setTeXclass(b));for(var l=1,m=this.data.length;l<m;l++)this.data[l]&&(""!==g.separators&&(this.SetData("sep"+l,c.mo(g.separators.charAt(l-1))),b=this.data["sep"+l].setTeXclass(b)),b=this.data[l].setTeXclass(b));""!==g.close&&(this.SetData("close",c.mo(g.close).With({stretchy:!0,texClass:c.TEXCLASS.CLOSE})),b=this.data.close.setTeXclass(b));this.updateTeXclass(this.data.open);return b}});c.menclose=c.mbase.Subclass({type:"menclose",inferRow:!0,linebreakContainer:!0,defaults:{mathbackground:c.INHERIT,mathcolor:c.INHERIT,notation:c.NOTATION.LONGDIV,texClass:c.TEXCLASS.ORD},setTeXclass:c.mbase.setSeparateTeXclasses});c.msubsup=c.mbase.Subclass({type:"msubsup",base:0,sub:1,sup:2,isEmbellished:c.mbase.childEmbellished,Core:c.mbase.childCore,CoreMO:c.mbase.childCoreMO,defaults:{mathbackground:c.INHERIT,mathcolor:c.INHERIT,subscriptshift:"",superscriptshift:"",texClass:c.AUTO},autoDefault:function(b){return"texClass"===b?this.isEmbellished()?this.CoreMO().Get(b):c.TEXCLASS.ORD:0},adjustChild_displaystyle:function(b){return 0<b?!1:this.Get("displaystyle")},adjustChild_scriptlevel:function(b){var c=this.Get("scriptlevel");0<b&&c++;return c},adjustChild_texprimestyle:function(b){return b===this.sub?!0:this.Get("texprimestyle")},setTeXclass:c.mbase.setBaseTeXclasses});c.msub=c.msubsup.Subclass({type:"msub"});c.msup=c.msubsup.Subclass({type:"msup",sub:2,sup:1});c.mmultiscripts=c.msubsup.Subclass({type:"mmultiscripts",adjustChild_texprimestyle:function(b){return 1===b%2?!0:this.Get("texprimestyle")}});c.mprescripts=c.mbase.Subclass({type:"mprescripts"});c.none=c.mbase.Subclass({type:"none"});c.munderover=c.mbase.Subclass({type:"munderover",base:0,under:1,over:2,sub:1,sup:2,ACCENTS:["","accentunder","accent"],linebreakContainer:!0,isEmbellished:c.mbase.childEmbellished,Core:c.mbase.childCore,CoreMO:c.mbase.childCoreMO,defaults:{mathbackground:c.INHERIT,mathcolor:c.INHERIT,accent:c.AUTO,accentunder:c.AUTO,align:c.ALIGN.CENTER,texClass:c.AUTO,subscriptshift:"",superscriptshift:""},autoDefault:function(b){return"texClass"===b?this.isEmbellished()?this.CoreMO().Get(b):c.TEXCLASS.ORD:"accent"===b&&this.data[this.over]?this.data[this.over].CoreMO().Get("accent"):"accentunder"===b&&this.data[this.under]?this.data[this.under].CoreMO().Get("accent"):!1},adjustChild_displaystyle:function(b){return 0<b?!1:this.Get("displaystyle")},adjustChild_scriptlevel:function(b){var c=this.Get("scriptlevel"),g=this.data[this.base]&&!this.Get("displaystyle")&&this.data[this.base].CoreMO().Get("movablelimits");b!=this.under||!g&&this.Get("accentunder")||c++;b!=this.over||!g&&this.Get("accent")||c++;return c},adjustChild_texprimestyle:function(b){return b===this.base&&this.data[this.over]?!0:this.Get("texprimestyle")},setTeXclass:c.mbase.setBaseTeXclasses});c.munder=c.munderover.Subclass({type:"munder"});c.mover=c.munderover.Subclass({type:"mover",over:1,under:2,sup:1,sub:2,ACCENTS:["","accent","accentunder"]});c.mtable=c.mbase.Subclass({type:"mtable",defaults:{mathbackground:c.INHERIT,mathcolor:c.INHERIT,align:c.ALIGN.AXIS,rowalign:c.ALIGN.BASELINE,columnalign:c.ALIGN.CENTER,groupalign:"{left}",alignmentscope:!0,columnwidth:c.WIDTH.AUTO,width:c.WIDTH.AUTO,rowspacing:"1ex",columnspacing:".8em",rowlines:c.LINES.NONE,columnlines:c.LINES.NONE,frame:c.LINES.NONE,framespacing:"0.4em 0.5ex",equalrows:!1,equalcolumns:!1,displaystyle:!1,side:c.SIDE.RIGHT,minlabelspacing:"0.8em",texClass:c.TEXCLASS.ORD,useHeight:1},inheritFromMe:!0,noInherit:{mover:{align:!0},munder:{align:!0},munderover:{align:!0},mtable:{align:!0,rowalign:!0,columnalign:!0,groupalign:!0,alignmentscope:!0,columnwidth:!0,width:!0,rowspacing:!0,columnspacing:!0,rowlines:!0,columnlines:!0,frame:!0,framespacing:!0,equalrows:!0,equalcolumns:!0,side:!0,minlabelspacing:!0,texClass:!0,useHeight:1}},linebreakContainer:!0,Append:function(){for(var b=0,g=arguments.length;b<g;b++)arguments[b]instanceof c.mtr||arguments[b]instanceof c.mlabeledtr||(arguments[b]=c.mtd(arguments[b]));this.SUPER(arguments).Append.apply(this,arguments)},setTeXclass:c.mbase.setSeparateTeXclasses});c.mtr=c.mbase.Subclass({type:"mtr",defaults:{mathbackground:c.INHERIT,mathcolor:c.INHERIT,rowalign:c.INHERIT,columnalign:c.INHERIT,groupalign:c.INHERIT},inheritFromMe:!0,noInherit:{mrow:{rowalign:!0,columnalign:!0,groupalign:!0},mtable:{rowalign:!0,columnalign:!0,groupalign:!0}},linebreakContainer:!0,Append:function(){for(var b=0,g=arguments.length;b<g;b++)arguments[b]instanceof c.mtd||(arguments[b]=c.mtd(arguments[b]));this.SUPER(arguments).Append.apply(this,arguments)},setTeXclass:c.mbase.setSeparateTeXclasses});c.mtd=c.mbase.Subclass({type:"mtd",inferRow:!0,linebreakContainer:!0,isEmbellished:c.mbase.childEmbellished,Core:c.mbase.childCore,CoreMO:c.mbase.childCoreMO,defaults:{mathbackground:c.INHERIT,mathcolor:c.INHERIT,rowspan:1,columnspan:1,rowalign:c.INHERIT,columnalign:c.INHERIT,groupalign:c.INHERIT},setTeXclass:c.mbase.setSeparateTeXclasses});c.maligngroup=c.mbase.Subclass({type:"malign",isSpacelike:function(){return!0},defaults:{mathbackground:c.INHERIT,mathcolor:c.INHERIT,groupalign:c.INHERIT},inheritFromMe:!0,noInherit:{mrow:{groupalign:!0},mtable:{groupalign:!0}}});c.malignmark=c.mbase.Subclass({type:"malignmark",defaults:{mathbackground:c.INHERIT,mathcolor:c.INHERIT,edge:c.SIDE.LEFT},isSpacelike:function(){return!0}});c.mlabeledtr=c.mtr.Subclass({type:"mlabeledtr"});c.maction=c.mbase.Subclass({type:"maction",defaults:{mathbackground:c.INHERIT,mathcolor:c.INHERIT,actiontype:c.ACTIONTYPE.TOGGLE,selection:1},selected:function(){return this.data[this.Get("selection")-1]||c.NULL},isEmbellished:function(){return this.selected().isEmbellished()},isSpacelike:function(){return this.selected().isSpacelike()},Core:function(){return this.selected().Core()},CoreMO:function(){return this.selected().CoreMO()},setTeXclass:function(b){this.Get("actiontype")===c.ACTIONTYPE.TOOLTIP&&this.data[1]&&this.data[1].setTeXclass();return this.selected().setTeXclass(b)}});c.semantics=c.mbase.Subclass({type:"semantics",notParent:!0,isEmbellished:c.mbase.childEmbellished,Core:c.mbase.childCore,CoreMO:c.mbase.childCoreMO,defaults:{definitionURL:null,encoding:null},setTeXclass:c.mbase.setChildTeXclass});c.annotation=c.mbase.Subclass({type:"annotation",isToken:!0,linebreakContainer:!0,defaults:{definitionURL:null,encoding:null,cd:"mathmlkeys",name:"",src:null}});c["annotation-xml"]=c.mbase.Subclass({type:"annotation-xml",linebreakContainer:!0,defaults:{definitionURL:null,encoding:null,cd:"mathmlkeys",name:"",src:null}});c.math=c.mstyle.Subclass({type:"math",defaults:{mathvariant:c.VARIANT.NORMAL,mathsize:c.SIZE.NORMAL,mathcolor:"",mathbackground:c.COLOR.TRANSPARENT,scriptlevel:0,displaystyle:c.AUTO,display:"inline",maxwidth:"",overflow:c.OVERFLOW.LINEBREAK,altimg:"","altimg-width":"","altimg-height":"","altimg-valign":"",alttext:"",cdgroup:"",scriptsizemultiplier:Math.sqrt(.5),scriptminsize:"8px",infixlinebreakstyle:c.LINEBREAKSTYLE.BEFORE,lineleading:"1ex",indentshift:"auto",indentalign:c.INDENTALIGN.AUTO,indentalignfirst:c.INDENTALIGN.INDENTALIGN,indentshiftfirst:c.INDENTSHIFT.INDENTSHIFT,indentalignlast:c.INDENTALIGN.INDENTALIGN,indentshiftlast:c.INDENTSHIFT.INDENTSHIFT,decimalseparator:".",texprimestyle:!1},autoDefault:function(b){return"displaystyle"===b?"block"===this.Get("display"):""},linebreakContainer:!0,setTeXclass:c.mbase.setChildTeXclass});c.chars=c.mbase.Subclass({type:"chars",Append:function(){this.data.push.apply(this.data,arguments)},value:function(){return this.data.join("")},toString:function(){return this.data.join("")}});c.entity=c.mbase.Subclass({type:"entity",Append:function(){this.data.push.apply(this.data,arguments)},value:function(){return"#x"===this.data[0].substr(0,2)?parseInt(this.data[0].substr(2),16):"#"===this.data[0].substr(0,1)?parseInt(this.data[0].substr(1)):0},toString:function(){var b=this.value();if(65535>=b)return String.fromCharCode(b);b-=65536;return String.fromCharCode((b>>10)+55296)+String.fromCharCode((b&1023)+56320)}});c.xml=c.mbase.Subclass({type:"xml",Init:function(){this.div=document.createElement("div");return this.SUPER(arguments).Init.apply(this,arguments)},Append:function(){for(var b=0,c=arguments.length;b<c;b++){var g=this.Import(arguments[b]);this.data.push(g);this.div.appendChild(g)}},Import:function(b){if(document.importNode)return document.importNode(b,!0);var c,g,m;if(1===b.nodeType){c=document.createElement(b.nodeName);g=0;for(m=b.attributes.length;g<m;g++){var t=b.attributes[g];t.specified&&null!=t.nodeValue&&""!=t.nodeValue&&c.setAttribute(t.nodeName,t.nodeValue);"style"===t.nodeName&&(c.style.cssText=t.nodeValue)}b.className&&(c.className=b.className)}else if(3===b.nodeType||4===b.nodeType)c=document.createTextNode(b.nodeValue);else if(8===b.nodeType)c=document.createComment(b.nodeValue);else return document.createTextNode("");g=0;for(m=b.childNodes.length;g<m;g++)c.appendChild(this.Import(b.childNodes[g]));return c},value:function(){return this.div},toString:function(){return this.div.innerHTML}});c.TeXAtom=c.mbase.Subclass({type:"texatom",inferRow:!0,notParent:!0,texClass:c.TEXCLASS.ORD,Core:c.mbase.childCore,CoreMO:c.mbase.childCoreMO,isEmbellished:c.mbase.childEmbellished,setTeXclass:function(b){this.data[0].setTeXclass();return this.adjustTeXclass(b)},adjustTeXclass:c.mo.prototype.adjustTeXclass});c.NULL=c.mbase().With({type:"null"});var g=c.TEXCLASS,b={ORD:[0,0,g.ORD],ORD11:[1,1,g.ORD],ORD21:[2,1,g.ORD],ORD02:[0,2,g.ORD],ORD55:[5,5,g.ORD],OP:[1,2,g.OP,{largeop:!0,movablelimits:!0,symmetric:!0}],OPFIXED:[1,2,g.OP,{largeop:!0,movablelimits:!0}],INTEGRAL:[0,1,g.OP,{largeop:!0,symmetric:!0}],INTEGRAL2:[1,2,g.OP,{largeop:!0,symmetric:!0}],BIN3:[3,3,g.BIN],BIN4:[4,4,g.BIN],BIN01:[0,1,g.BIN],BIN5:[5,5,g.BIN],TALLBIN:[4,4,g.BIN,{stretchy:!0}],BINOP:[4,4,g.BIN,{largeop:!0,movablelimits:!0}],REL:[5,5,g.REL],REL1:[1,1,g.REL,{stretchy:!0}],REL4:[4,4,g.REL],RELSTRETCH:[5,5,g.REL,{stretchy:!0}],RELACCENT:[5,5,g.REL,{accent:!0}],WIDEREL:[5,5,g.REL,{accent:!0,stretchy:!0}],OPEN:[0,0,g.OPEN,{fence:!0,stretchy:!0,symmetric:!0}],CLOSE:[0,0,g.CLOSE,{fence:!0,stretchy:!0,symmetric:!0}],INNER:[0,0,g.INNER],PUNCT:[0,3,g.PUNCT],ACCENT:[0,0,g.ORD,{accent:!0}],WIDEACCENT:[0,0,g.ORD,{accent:!0,stretchy:!0}]};c.mo.Augment({SPACE:"0em 0.1111em 0.1667em 0.2222em 0.2667em 0.3333em".split(" "),RANGES:[[32,127,g.REL,"BasicLatin"],[160,255,g.ORD,"Latin1Supplement"],[256,383,g.ORD],[384,591,g.ORD],[688,767,g.ORD,"SpacingModLetters"],[768,879,g.ORD,"CombDiacritMarks"],[880,1023,g.ORD,"GreekAndCoptic"],[7680,7935,g.ORD],[8192,8303,g.PUNCT,"GeneralPunctuation"],[8304,8351,g.ORD],[8352,8399,g.ORD],[8400,8447,g.ORD,"CombDiactForSymbols"],[8448,8527,g.ORD,"LetterlikeSymbols"],[8528,8591,g.ORD],[8592,8703,g.REL,"Arrows"],[8704,8959,g.BIN,"MathOperators"],[8960,9215,g.ORD,"MiscTechnical"],[9312,9471,g.ORD],[9472,9631,g.ORD],[9632,9727,g.ORD,"GeometricShapes"],[9984,10175,g.ORD,"Dingbats"],[10176,10223,g.ORD,"MiscMathSymbolsA"],[10224,10239,g.REL,"SupplementalArrowsA"],[10496,10623,g.REL,"SupplementalArrowsB"],[10624,10751,g.ORD,"MiscMathSymbolsB"],[10752,11007,g.BIN,"SuppMathOperators"],[11008,11263,g.ORD,"MiscSymbolsAndArrows"],[119808,120831,g.ORD]],OPTABLE:{prefix:{"\u2200":b.ORD21,"\u2202":b.ORD21,"\u2203":b.ORD21,"\u2207":b.ORD21,"\u220f":b.OP,"\u2210":b.OP,"\u2211":b.OP,"\u2212":b.BIN01,"\u2213":b.BIN01,"\u221a":[1,1,g.ORD,{stretchy:!0}],"\u2220":b.ORD,"\u222b":b.INTEGRAL,"\u222e":b.INTEGRAL,"\u22c0":b.OP,"\u22c1":b.OP,"\u22c2":b.OP,"\u22c3":b.OP,"\u2308":b.OPEN,"\u230a":b.OPEN,"\u27e8":b.OPEN,"\u27ee":b.OPEN,"\u2a00":b.OP,"\u2a01":b.OP,"\u2a02":b.OP,"\u2a04":b.OP,"\u2a06":b.OP,"\u00ac":b.ORD21,"\u00b1":b.BIN01,"(":b.OPEN,"+":b.BIN01,"-":b.BIN01,"[":b.OPEN,"{":b.OPEN,"|":b.OPEN},postfix:{"!":[1,0,g.CLOSE],"\x26":b.ORD,"\u2032":b.ORD02,"\u203e":b.WIDEACCENT,"\u2309":b.CLOSE,"\u230b":b.CLOSE,"\u23de":b.WIDEACCENT,"\u23df":b.WIDEACCENT,"\u266d":b.ORD02,"\u266e":b.ORD02,"\u266f":b.ORD02,"\u27e9":b.CLOSE,"\u27ef":b.CLOSE,"\u02c6":b.WIDEACCENT,"\u02c7":b.WIDEACCENT,"\u02c9":b.WIDEACCENT,"\u02ca":b.ACCENT,"\u02cb":b.ACCENT,"\u02d8":b.ACCENT,"\u02d9":b.ACCENT,"\u02dc":b.WIDEACCENT,"\u0302":b.WIDEACCENT,"\u00a8":b.ACCENT,"\u00af":b.WIDEACCENT,")":b.CLOSE,"]":b.CLOSE,"^":b.WIDEACCENT,_:b.WIDEACCENT,"`":b.ACCENT,"|":b.CLOSE,"}":b.CLOSE,"~":b.WIDEACCENT},infix:{"":b.ORD,"%":[3,3,g.ORD],"\u2022":b.BIN4,"\u2026":b.INNER,"\u2044":b.TALLBIN,"\u2061":b.ORD,"\u2062":b.ORD,"\u2063":[0,0,g.ORD,{linebreakstyle:"after",separator:!0}],"\u2064":b.ORD,"\u2190":b.WIDEREL,"\u2191":b.RELSTRETCH,"\u2192":b.WIDEREL,"\u2193":b.RELSTRETCH,"\u2194":b.WIDEREL,"\u2195":b.RELSTRETCH,"\u2196":b.RELSTRETCH,"\u2197":b.RELSTRETCH,"\u2198":b.RELSTRETCH,"\u2199":b.RELSTRETCH,"\u21a6":b.WIDEREL,"\u21a9":b.WIDEREL,"\u21aa":b.WIDEREL,"\u21bc":b.WIDEREL,"\u21bd":b.WIDEREL,"\u21c0":b.WIDEREL,"\u21c1":b.WIDEREL,"\u21cc":b.WIDEREL,"\u21d0":b.WIDEREL,"\u21d1":b.RELSTRETCH,"\u21d2":b.WIDEREL,"\u21d3":b.RELSTRETCH,"\u21d4":b.WIDEREL,"\u21d5":b.RELSTRETCH,"\u2208":b.REL,"\u2209":b.REL,"\u220b":b.REL,"\u2212":b.BIN4,"\u2213":b.BIN4,"\u2215":b.TALLBIN,"\u2216":b.BIN4,"\u2217":b.BIN4,"\u2218":b.BIN4,"\u2219":b.BIN4,"\u221d":b.REL,"\u2223":b.REL,"\u2225":b.REL,"\u2227":b.BIN4,"\u2228":b.BIN4,"\u2229":b.BIN4,"\u222a":b.BIN4,"\u223c":b.REL,"\u2240":b.BIN4,"\u2243":b.REL,"\u2245":b.REL,"\u2248":b.REL,"\u224d":b.REL,"\u2250":b.REL,"\u2260":b.REL,"\u2261":b.REL,"\u2264":b.REL,"\u2265":b.REL,"\u226a":b.REL,"\u226b":b.REL,"\u227a":b.REL,"\u227b":b.REL,"\u2282":b.REL,"\u2283":b.REL,"\u2286":b.REL,"\u2287":b.REL,"\u228e":b.BIN4,"\u2291":b.REL,"\u2292":b.REL,"\u2293":b.BIN4,"\u2294":b.BIN4,"\u2295":b.BIN4,"\u2296":b.BIN4,"\u2297":b.BIN4,"\u2298":b.BIN4,"\u2299":b.BIN4,"\u22a2":b.REL,"\u22a3":b.REL,"\u22a4":b.ORD55,"\u22a5":b.REL,"\u22a8":b.REL,"\u22c4":b.BIN4,"\u22c5":b.BIN4,"\u22c6":b.BIN4,"\u22c8":b.REL,"\u22ee":b.ORD55,"\u22ef":b.INNER,"\u22f1":[5,5,g.INNER],"\u25b3":b.BIN4,"\u25b5":b.BIN4,"\u25b9":b.BIN4,"\u25bd":b.BIN4,"\u25bf":b.BIN4,"\u25c3":b.BIN4,"\u2758":b.REL,"\u27f5":b.WIDEREL,"\u27f6":b.WIDEREL,"\u27f7":b.WIDEREL,"\u27f8":b.WIDEREL,"\u27f9":b.WIDEREL,"\u27fa":b.WIDEREL,"\u27fc":b.WIDEREL,"\u2a2f":b.BIN4,"\u2a3f":b.BIN4,"\u2aaf":b.REL,"\u2ab0":b.REL,"\u00b1":b.BIN4,"\u00b7":b.BIN4,"\u00d7":b.BIN4,"\u00f7":b.BIN4,"*":b.BIN3,"+":b.BIN4,",":[0,3,g.PUNCT,{linebreakstyle:"after",separator:!0}],"-":b.BIN4,".":[3,3,g.ORD],"/":b.ORD11,":":[1,2,g.REL],";":[0,3,g.PUNCT,{linebreakstyle:"after",separator:!0}],"\x3c":b.REL,"\x3d":b.REL,"\x3e":b.REL,"?":[1,1,g.CLOSE],"\\":b.ORD,"^":b.ORD11,_:b.ORD11,"|":[2,2,g.ORD,{fence:!0,stretchy:!0,symmetric:!0}],"#":b.ORD,$:b.ORD,".":[0,3,g.PUNCT,{separator:!0}],"\u02b9":b.ORD,"\u0300":b.ACCENT,"\u0301":b.ACCENT,"\u0303":b.WIDEACCENT,"\u0304":b.ACCENT,"\u0306":b.ACCENT,"\u0307":b.ACCENT,"\u0308":b.ACCENT,"\u030c":b.ACCENT,"\u0332":b.WIDEACCENT,"\u0338":b.REL4,"\u2015":[0,0,g.ORD,{stretchy:!0}],"\u2017":[0,0,g.ORD,{stretchy:!0}],"\u2020":b.BIN3,"\u2021":b.BIN3,"\u20d7":b.ACCENT,"\u2111":b.ORD,"\u2113":b.ORD,"\u2118":b.ORD,"\u211c":b.ORD,"\u2205":b.ORD,"\u221e":b.ORD,"\u2305":b.BIN3,"\u2306":b.BIN3,"\u2322":b.REL4,"\u2323":b.REL4,"\u2329":b.OPEN,"\u232a":b.CLOSE,"\u23aa":b.ORD,"\u23af":[0,0,g.ORD,{stretchy:!0}],"\u23b0":b.OPEN,"\u23b1":b.CLOSE,"\u2500":b.ORD,"\u25ef":b.BIN3,"\u2660":b.ORD,"\u2661":b.ORD,"\u2662":b.ORD,"\u2663":b.ORD,"\u3008":b.OPEN,"\u3009":b.CLOSE,"\ufe37":b.WIDEACCENT,"\ufe38":b.WIDEACCENT}}},{OPTYPES:b});c.mo.prototype.OPTABLE.infix["^"]=b.WIDEREL;c.mo.prototype.OPTABLE.infix._=b.WIDEREL})(MathJax.ElementJax.mml);MathJax.ElementJax.mml.loadComplete("jax.js");MathJax.Hub.Register.LoadHook("[MathJax]/jax/element/mml/jax.js",function(){var c=MathJax.ElementJax.mml;SETTINGS=MathJax.Hub.config.menuSettings;c.mbase.Augment({toMathML:function(c){var b=this.inferred&&this.parent.inferRow;null==c&&(c="");var k=this.type,n=this.toMathMLattributes();if("mspace"===k)return c+"\x3c"+k+n+" /\x3e";for(var l=[],m=this.isToken?"":c+(b?"":" "),t=0,p=this.data.length;t<p;t++)this.data[t]?l.push(this.data[t].toMathML(m)):this.isToken||l.push(m+"\x3cmrow /\x3e");return this.isToken?c+"\x3c"+k+n+"\x3e"+l.join("")+"\x3c/"+k+"\x3e":b?l.join("\n"):0===l.length||1===l.length&&""===l[0]?c+"\x3c"+k+n+" /\x3e":c+"\x3c"+k+n+"\x3e\n"+l.join("\n")+"\n"+c+"\x3c/"+k+"\x3e"},toMathMLattributes:function(){var g=[],b=this.defaults,k=this.attrNames||c.copyAttributeNames,n=c.skipAttributes;"math"!==this.type||this.attr&&this.attr.xmlns||g.push('xmlns\x3d"http://www.w3.org/1998/Math/MathML"');if(!this.attrNames){"mstyle"===this.type&&(b=c.math.prototype.defaults);for(var l in b)if(!n[l]&&b.hasOwnProperty(l)){var m="open"===l||"close"===l;if(null!=this[l]&&(m||this[l]!==b[l])){var t=this[l];delete this[l];(m||this.Get(l)!==t)&&g.push(l+'\x3d"'+this.toMathMLattribute(t)+'"');this[l]=t}}}b=0;for(n=k.length;b<n;b++)"class"!==k[b]&&(t=(this.attr||{})[k[b]],null==t&&(t=this[k[b]]),null!=t&&g.push(k[b]+'\x3d"'+this.toMathMLquote(t)+'"'));this.toMathMLclass(g);return g.length?" "+g.join(" "):""},toMathMLclass:function(g){var b=[];this["class"]&&b.push(this["class"]);if(this.isa(c.TeXAtom)&&SETTINGS.texHints){var k="ORD OP BIN REL OPEN CLOSE PUNCT INNER VCENTER".split(" ")[this.texClass];k&&b.push("MJX-TeXAtom-"+k)}this.mathvariant&&this.toMathMLvariants[this.mathvariant]&&b.push("MJX"+this.mathvariant);this.arrow&&b.push("MJX-arrow");this.variantForm&&b.push("MJX-variant");b.length&&g.unshift('class\x3d"'+b.join(" ")+'"')},toMathMLattribute:function(c){return"string"===typeof c&&c.replace(/ /g,"").match(/^(([-+])?(\d+(\.\d*)?|\.\d+))mu$/)?RegExp.$2+(1/18*RegExp.$3).toFixed(3).replace(/\.?0+$/,"")+"em":this.toMathMLvariants[c]?this.toMathMLvariants[c]:this.toMathMLquote(c)},toMathMLvariants:{"-tex-caligraphic":c.VARIANT.SCRIPT,"-tex-caligraphic-bold":c.VARIANT.BOLDSCRIPT,"-tex-oldstyle":c.VARIANT.NORMAL,"-tex-oldstyle-bold":c.VARIANT.BOLD,"-tex-mathit":c.VARIANT.ITALIC},toMathMLquote:function(c){c=String(c).split("");for(var b=0,k=c.length;b<k;b++){var n=c[b].charCodeAt(0);if(55295>=n||57344<=n)32>n||126<n?c[b]="\x26#x"+n.toString(16).toUpperCase()+";":(n={"\x26":"\x26amp;","\x3c":"\x26lt;","\x3e":"\x26gt;",'"':"\x26quot;"}[c[b]])&&(c[b]=n);else if(b+1<k){var l=c[b+1].charCodeAt(0);c[b]="\x26#x"+((n-55296<<10)+(l-56320)+65536).toString(16).toUpperCase()+";";c[b+1]="";b++}else c[b]=""}return c.join("")}});c.msubsup.Augment({toMathML:function(c){var b=this.type;null==this.data[this.sup]&&(b="msub");null==this.data[this.sub]&&(b="msup");var k=this.toMathMLattributes();delete this.data[0].inferred;for(var n=[],l=0,m=this.data.length;l<m;l++)this.data[l]&&n.push(this.data[l].toMathML(c+" "));return c+"\x3c"+b+k+"\x3e\n"+n.join("\n")+"\n"+c+"\x3c/"+b+"\x3e"}});c.munderover.Augment({toMathML:function(c){var b=this.type;null==this.data[this.under]&&(b="mover");null==this.data[this.over]&&(b="munder");var k=this.toMathMLattributes();delete this.data[0].inferred;for(var n=[],l=0,m=this.data.length;l<m;l++)this.data[l]&&n.push(this.data[l].toMathML(c+" "));return c+"\x3c"+b+k+"\x3e\n"+n.join("\n")+"\n"+c+"\x3c/"+b+"\x3e"}});c.TeXAtom.Augment({toMathML:function(c){var b=this.toMathMLattributes();return b||1!==this.data[0].data.length?c+"\x3cmrow"+b+"\x3e\n"+this.data[0].toMathML(c+" ")+"\n"+c+"\x3c/mrow\x3e":c.substr(2)+this.data[0].toMathML(c)}});c.chars.Augment({toMathML:function(c){return(c||"")+this.toMathMLquote(this.toString())}});c.entity.Augment({toMathML:function(c){return(c||"")+"\x26"+this.data[0]+";\x3c!-- "+this.toString()+" --\x3e"}});c.xml.Augment({toMathML:function(c){return(c||"")+this.toString()}});MathJax.Hub.Register.StartupHook("TeX mathchoice Ready",function(){c.TeXmathchoice.Augment({toMathML:function(c){return this.Core().toMathML(c)}})});MathJax.Hub.Startup.signal.Post("toMathML Ready")});MathJax.Ajax.loadComplete("[MathJax]/extensions/toMathML.js");(function(c){function g(a){return z?v.createElement(a):v.createElementNS("http://www.w3.org/1999/xhtml",a)}function b(a,b){return a.input>b.input?1:-1}function k(){var a=[],h;for(h=0;h<x.length;h++)x[h].tex&&(a[a.length]={input:x[h].tex,tag:x[h].tag,output:x[h].output,ttype:x[h].ttype});x=x.concat(a);x.sort(b);for(h=0;h<x.length;h++)D[h]=x[h].input}function n(a){return z?v.createElement("m:"+a):v.createElementNS("http://www.w3.org/1998/Math/MathML",a)}function l(a,b){var h=z?v.createElement("m:"+a):v.createElementNS("http://www.w3.org/1998/Math/MathML",a);h.appendChild(b);return h}function m(a,b){var h;h="\\"==a.charAt(b)&&"\\"!=a.charAt(b+1)&&" "!=a.charAt(b+1)?a.slice(b+1):a.slice(b);for(var d=0;d<h.length&&32>=h.charCodeAt(d);d+=1);return h.slice(d)}function t(a,b,h){if(0==h){var d,e;h=-1;for(d=a.length;h+1<d;)e=h+d>>1,a[e]<b?h=e:d=e;return d}for(;h<a.length&&a[h]<b;h++);return h}function p(a){var b=0,h,d,e="";d=!0;for(var f=1;f<=a.length&&d;f++)d=a.slice(0,f),b=t(D,d,b),b<D.length&&a.slice(0,D[b].length)==D[b]&&(e=D[b],h=b,f=e.length),d=b<D.length&&a.slice(0,D[b].length)>=D[b];O=E;if(""!=e)return E=x[h].ttype,x[h];E=0;b=1;d=a.slice(0,1);for(h=!0;"0"<=d&&"9">=d&&b<=a.length;)d=a.slice(b,b+1),b++;if(d==C&&(d=a.slice(b,b+1),"0"<=d&&"9">=d))for(h=!1,b++;"0"<=d&&"9">=d&&b<=a.length;)d=a.slice(b,b+1),b++;h&&1<b||2<b?(d=a.slice(0,b-1),a="mn"):(d=a.slice(0,1),a=("A">d||"Z"<d)&&("a">d||"z"<d)?"mo":"mi");return"-"==d&&3==O?(E=3,{input:d,tag:a,output:d,ttype:1,func:!0}):{input:d,tag:a,output:d,ttype:0}}function a(a){var b;"mrow"==a.nodeName&&(b=a.firstChild.firstChild.nodeValue,"("!=b&&"["!=b&&"{"!=b||a.removeChild(a.firstChild));"mrow"==a.nodeName&&(b=a.lastChild.firstChild.nodeValue,")"!=b&&"]"!=b&&"}"!=b||a.removeChild(a.lastChild))}function h(b){var d,e,f,c,q,g=v.createDocumentFragment();b=m(b,0);d=p(b);if(null==d||5==d.ttype&&0<H)return[null,b];8==d.ttype&&(b=d.output+m(b,d.input.length),d=p(b));switch(d.ttype){case 7:case 0:return b=m(b,d.input.length),[l(d.tag,v.createTextNode(d.output)),b];case 4:return H++,b=m(b,d.input.length),f=u(b,!0),H--,"boolean"==typeof d.invisible&&d.invisible?e=l("mrow",f[0]):(e=l("mo",v.createTextNode(d.output)),e=l("mrow",e),e.appendChild(f[0])),[e,f[1]];case 10:return d!=I&&(b=m(b,d.input.length)),c="{"==b.charAt(0)?b.indexOf("}"):"("==b.charAt(0)?b.indexOf(")"):"["==b.charAt(0)?b.indexOf("]"):d==I?b.slice(1).indexOf('"')+1:0,-1==c&&(c=b.length),q=b.slice(1,c)," "==q.charAt(0)&&(e=n("mspace"),e.setAttribute("width","1ex"),g.appendChild(e)),g.appendChild(l(d.tag,v.createTextNode(q)))," "==q.charAt(q.length-1)&&(e=n("mspace"),e.setAttribute("width","1ex"),g.appendChild(e)),b=m(b,c+1),[l("mrow",g),b];case 1:b=m(b,d.input.length);f=h(b);if(null==f[0])return[l(d.tag,v.createTextNode(d.output)),b];if("boolean"==typeof d.func&&d.func){q=b.charAt(0);if("^"==q||"_"==q||"/"==q||"|"==q||","==q)return[l(d.tag,v.createTextNode(d.output)),b];e=l("mrow",l(d.tag,v.createTextNode(d.output)));e.appendChild(f[0]);return[e,f[1]]}a(f[0]);if("sqrt"==d.input)return[l(d.tag,f[0]),f[1]];if("boolean"==typeof d.acc&&d.acc)e=l(d.tag,f[0]),e.appendChild(l("mo",v.createTextNode(d.output)));else{if(!z&&"undefined"!=typeof d.codes)for(c=0;c<f[0].childNodes.length;c++)if("mi"==f[0].childNodes[c].nodeName||"mi"==f[0].nodeName){q="mi"==f[0].nodeName?f[0].firstChild.nodeValue:f[0].childNodes[c].firstChild.nodeValue;b=[];for(g=0;g<q.length;g++)b=64<q.charCodeAt(g)&&91>q.charCodeAt(g)?b+String.fromCharCode(d.codes[q.charCodeAt(g)-65]):b+q.charAt(g);"mi"==f[0].nodeName?f[0]=n("mo").appendChild(v.createTextNode(b)):f[0].replaceChild(n("mo").appendChild(v.createTextNode(b)),f[0].childNodes[c])}e=l(d.tag,f[0]);e.setAttribute(d.atname,d.atval)}return[e,f[1]];case 2:b=m(b,d.input.length);f=h(b);if(null==f[0])return[l("mo",v.createTextNode(d.input)),b];a(f[0]);c=h(f[1]);if(null==c[0])return[l("mo",v.createTextNode(d.input)),b];a(c[0]);"root"!=d.input&&"stackrel"!=d.input||g.appendChild(c[0]);g.appendChild(f[0]);"frac"==d.input&&g.appendChild(c[0]);return[l(d.tag,g),c[1]];case 3:return b=m(b,d.input.length),[l("mo",v.createTextNode(d.output)),b];case 6:return b=m(b,d.input.length),e=n("mspace"),e.setAttribute("width","1ex"),g.appendChild(e),g.appendChild(l(d.tag,v.createTextNode(d.output))),e=n("mspace"),e.setAttribute("width","1ex"),g.appendChild(e),[l("mrow",g),b];case 9:H++;b=m(b,d.input.length);f=u(b,!1);H--;q="";null!=f[0].lastChild&&(q=f[0].lastChild.firstChild.nodeValue);if("|"==q)return e=l("mo",v.createTextNode(d.output)),e=l("mrow",e),e.appendChild(f[0]),[e,f[1]];e=l("mo",v.createTextNode(d.output));e=l("mrow",e);return[e,b];default:return b=m(b,d.input.length),[l(d.tag,v.createTextNode(d.output)),b]}}function d(b){var d,e,f,c;b=m(b,0);e=p(b);c=h(b);f=c[0];b=c[1];d=p(b);3==d.ttype&&"/"!=d.input&&(b=m(b,d.input.length),c=h(b),null==c[0]?c[0]=l("mo",v.createTextNode("\u25a1")):a(c[0]),b=c[1],"_"==d.input?(d=p(b),e=7==e.ttype,"^"==d.input?(b=m(b,d.input.length),d=h(b),a(d[0]),b=d[1],f=l(e?"munderover":"msubsup",f),f.appendChild(c[0]),f.appendChild(d[0]),f=l("mrow",f)):(f=l(e?"munder":"msub",f),f.appendChild(c[0]))):(f=l(d.tag,f),f.appendChild(c[0])));return[f,b]}function u(b,h){var e,f,c,u=v.createDocumentFragment();do b=m(b,0),c=d(b),f=c[0],b=c[1],e=p(b),3==e.ttype&&"/"==e.input?(b=m(b,e.input.length),c=d(b),null==c[0]?c[0]=l("mo",v.createTextNode("\u25a1")):a(c[0]),b=c[1],a(f),f=l(e.tag,f),f.appendChild(c[0]),u.appendChild(f),e=p(b)):void 0!=f&&u.appendChild(f);while((5!=e.ttype&&(9!=e.ttype||h)||0==H)&&null!=e&&""!=e.output);if(5==e.ttype||9==e.ttype){f=u.childNodes.length;if(0<f&&"mrow"==u.childNodes[f-1].nodeName&&1<f&&"mo"==u.childNodes[f-2].nodeName&&","==u.childNodes[f-2].firstChild.nodeValue){var q=u.childNodes[f-1].lastChild.firstChild.nodeValue;if(")"==q||"]"==q){var g=u.childNodes[f-1].firstChild.firstChild.nodeValue;if("("==g&&")"==q&&"}"!=e.output||"["==g&&"]"==q){var y=[],k=!0,r=u.childNodes.length;for(c=0;k&&c<r;c+=2){y[c]=[];f=u.childNodes[c];k&&(k="mrow"==f.nodeName&&(c==r-1||"mo"==f.nextSibling.nodeName&&","==f.nextSibling.firstChild.nodeValue)&&f.firstChild.firstChild.nodeValue==g&&f.lastChild.firstChild.nodeValue==q);if(k)for(var B=0;B<f.childNodes.length;B++)","==f.childNodes[B].firstChild.nodeValue&&(y[c][y[c].length]=B);k&&1<c&&(k=y[c].length==y[c-2].length)}if(k){var w,n=v.createDocumentFragment();for(c=0;c<r;c+=2){q=v.createDocumentFragment();g=v.createDocumentFragment();f=u.firstChild;k=f.childNodes.length;w=0;f.removeChild(f.firstChild);for(B=1;B<k-1;B++)"undefined"!=typeof y[c][w]&&B==y[c][w]?(f.removeChild(f.firstChild),q.appendChild(l("mtd",g)),w++):g.appendChild(f.firstChild);q.appendChild(l("mtd",g));2<u.childNodes.length&&(u.removeChild(u.firstChild),u.removeChild(u.firstChild));n.appendChild(l("mtr",q))}f=l("mtable",n);"boolean"==typeof e.invisible&&e.invisible&&f.setAttribute("columnalign","left");u.replaceChild(f,u.firstChild)}}}}b=m(b,e.input.length);"boolean"==typeof e.invisible&&e.invisible||(f=l("mo",v.createTextNode(e.output)),u.appendChild(f))}return[u,b]}function e(a){var b=n("mstyle");""!=B&&b.setAttribute("mathcolor",B);F&&b.setAttribute("displaystyle","true");""!=w&&b.setAttribute("fontfamily",w);H=0;b.appendChild(u(a.replace(/^\s+/g,""),!1)[0]);b=l("math",b);A&&b.setAttribute("title",a.replace(/\s+/g," "));return""==w||!z&&"serif"==w?b:(a=g("font"),a.setAttribute("face",w),a.appendChild(b),a)}var f,q=MathJax.Object.Subclass({firstChild:null,lastChild:null,Init:function(){this.childNodes=[]},appendChild:function(a){a.parent&&a.parent.removeChild(a);this.lastChild&&(this.lastChild.nextSibling=a);this.firstChild||(this.firstChild=a);this.childNodes.push(a);a.parent=this;return this.lastChild=a},removeChild:function(a){for(var b=0,h=this.childNodes.length;b<h&&this.childNodes[b]!==a;b++);if(b!==h)return this.childNodes.splice(b,1),a===this.firstChild&&(this.firstChild=a.nextSibling),a===this.lastChild&&(this.lastChild=this.childNodes.length?this.childNodes[this.childNodes.length-1]:null),b&&(this.childNodes[b-1].nextSibling=a.nextSibling),a.nextSibling=a.parent=null,a},replaceChild:function(a,b){for(var h=0,d=this.childNodes.length;h<d&&this.childNodes[h]!==b;h++);h?this.childNodes[h-1].nextSibling=a:this.firstChild=a;h>=d-1&&(this.lastChild=a);this.childNodes[h]=a;a.nextSibling=b.nextSibling;b.nextSibling=b.parent=null;return b},toString:function(){return"{"+this.childNodes.join("")+"}"}}),y=function(){f=MathJax.ElementJax.mml;var a=f.mbase.prototype.Init;f.mbase.Augment({firstChild:null,lastChild:null,nodeValue:"",nextSibling:null,Init:function(){var b=a.apply(this,arguments)||this;b.childNodes=b.data;b.nodeName=b.type;return b},appendChild:function(a){a.parent&&a.parent.removeChild(a);var b=arguments;a.isa(q)&&(b=a.childNodes,a.data=a.childNodes=[],a.firstChild=a.lastChild=null);for(var h=0,d=b.length;h<d;h++)a=b[h],this.lastChild&&(this.lastChild.nextSibling=a),this.firstChild||(this.firstChild=a),this.Append(a),this.lastChild=a,this.nodeValue+=a.nodeValue;return a},removeChild:function(a){for(var b=0,h=this.childNodes.length;b<h&&this.childNodes[b]!==a;b++);if(b!==h){this.childNodes.splice(b,1);a===this.firstChild&&(this.firstChild=a.nextSibling);a===this.lastChild&&(this.lastChild=this.childNodes.length?this.childNodes[this.childNodes.length-1]:null);b&&(this.childNodes[b-1].nextSibling=a.nextSibling);this.nodeValue="";b=0;for(h=this.childNodes.length;b<h;b++)this.nodeValue+=this.childNodes[b].nodeValue;a.nextSibling=a.parent=null;return a}},replaceChild:function(a,b){for(var h=0,d=this.childNodes.length;h<d&&this.childNodes[h]!==b;h++);h?this.childNodes[h-1].nextSibling=a:this.firstChild=a;h>=d-1&&(this.lastChild=a);this.SetData(h,a);a.nextSibling=b.nextSibling;this.nodeValue="";h=0;for(d=this.childNodes.length;h<d;h++)this.nodeValue+=this.childNodes[h].nodeValue;b.nextSibling=b.parent=null;return b},setAttribute:function(a,b){this[a]=b}})},v={getElementById:!0,createElementNS:function(a,b){return f[b]()},createTextNode:function(a){return f.chars(a).With({nodeValue:a})},createDocumentFragment:function(){return q()}},r,B="red",w="serif",F=!0,A=!0,C=".",z=null==v.createElementNS,G=[61237,8492,61238,61239,8496,8497,61240,8459,8464,61241,61242,8466,8499,61243,61244,61245,61246,8475,61247,61248,61249,61250,61251,61252,61253,61254],N=[61277,61278,8493,61279,61280,61281,61282,8460,8465,61283,61284,61285,61286,61287,61288,61289,61290,8476,61291,61292,61293,61294,61295,61296,61297,8488],J=[61324,61325,8450,61326,61327,61328,61329,8461,61330,61331,61332,61333,61334,8469,61335,8473,8474,8477,61336,61337,61338,61339,61340,61341,61342,8484],I={input:'"',tag:"mtext",output:"mbox",tex:null,ttype:10},x=[{input:"alpha",tag:"mi",output:"\u03b1",tex:null,ttype:0},{input:"beta",tag:"mi",output:"\u03b2",tex:null,ttype:0},{input:"chi",tag:"mi",output:"\u03c7",tex:null,ttype:0},{input:"delta",tag:"mi",output:"\u03b4",tex:null,ttype:0},{input:"Delta",tag:"mo",output:"\u0394",tex:null,ttype:0},{input:"epsi",tag:"mi",output:"\u03b5",tex:"epsilon",ttype:0},{input:"varepsilon",tag:"mi",output:"\u025b",tex:null,ttype:0},{input:"eta",tag:"mi",output:"\u03b7",tex:null,ttype:0},{input:"gamma",tag:"mi",output:"\u03b3",tex:null,ttype:0},{input:"Gamma",tag:"mo",output:"\u0393",tex:null,ttype:0},{input:"iota",tag:"mi",output:"\u03b9",tex:null,ttype:0},{input:"kappa",tag:"mi",output:"\u03ba",tex:null,ttype:0},{input:"lambda",tag:"mi",output:"\u03bb",tex:null,ttype:0},{input:"Lambda",tag:"mo",output:"\u039b",tex:null,ttype:0},{input:"mu",tag:"mi",output:"\u03bc",tex:null,ttype:0},{input:"nu",tag:"mi",output:"\u03bd",tex:null,ttype:0},{input:"omega",tag:"mi",output:"\u03c9",tex:null,ttype:0},{input:"Omega",tag:"mo",output:"\u03a9",tex:null,ttype:0},{input:"phi",tag:"mi",output:"\u03c6",tex:null,ttype:0},{input:"varphi",tag:"mi",output:"\u03d5",tex:null,ttype:0},{input:"Phi",tag:"mo",output:"\u03a6",tex:null,ttype:0},{input:"pi",tag:"mi",output:"\u03c0",tex:null,ttype:0},{input:"Pi",tag:"mo",output:"\u03a0",tex:null,ttype:0},{input:"psi",tag:"mi",output:"\u03c8",tex:null,ttype:0},{input:"Psi",tag:"mi",output:"\u03a8",tex:null,ttype:0},{input:"rho",tag:"mi",output:"\u03c1",tex:null,ttype:0},{input:"sigma",tag:"mi",output:"\u03c3",tex:null,ttype:0},{input:"Sigma",tag:"mo",output:"\u03a3",tex:null,ttype:0},{input:"tau",tag:"mi",output:"\u03c4",tex:null,ttype:0},{input:"theta",tag:"mi",output:"\u03b8",tex:null,ttype:0},{input:"vartheta",tag:"mi",output:"\u03d1",tex:null,ttype:0},{input:"Theta",tag:"mo",output:"\u0398",tex:null,ttype:0},{input:"upsilon",tag:"mi",output:"\u03c5",tex:null,ttype:0},{input:"xi",tag:"mi",output:"\u03be",tex:null,ttype:0},{input:"Xi",tag:"mo",output:"\u039e",tex:null,ttype:0},{input:"zeta",tag:"mi",output:"\u03b6",tex:null,ttype:0},{input:"*",tag:"mo",output:"\u22c5",tex:"cdot",ttype:0},{input:"**",tag:"mo",output:"\u22c6",tex:"star",ttype:0},{input:"//",tag:"mo",output:"/",tex:null,ttype:0},{input:"\\\\",tag:"mo",output:"\\",tex:"backslash",ttype:0},{input:"setminus",tag:"mo",output:"\\",tex:null,ttype:0},{input:"xx",tag:"mo",output:"\u00d7",tex:"times",ttype:0},{input:"-:",tag:"mo",output:"\u00f7",tex:"divide",ttype:0},{input:"@",tag:"mo",output:"\u2218",tex:"circ",ttype:0},{input:"o+",tag:"mo",output:"\u2295",tex:"oplus",ttype:0},{input:"ox",tag:"mo",output:"\u2297",tex:"otimes",ttype:0},{input:"o.",tag:"mo",output:"\u2299",tex:"odot",ttype:0},{input:"sum",tag:"mo",output:"\u2211",tex:null,ttype:7},{input:"prod",tag:"mo",output:"\u220f",tex:null,ttype:7},{input:"^^",tag:"mo",output:"\u2227",tex:"wedge",ttype:0},{input:"^^^",tag:"mo",output:"\u22c0",tex:"bigwedge",ttype:7},{input:"vv",tag:"mo",output:"\u2228",tex:"vee",ttype:0},{input:"vvv",tag:"mo",output:"\u22c1",tex:"bigvee",ttype:7},{input:"nn",tag:"mo",output:"\u2229",tex:"cap",ttype:0},{input:"nnn",tag:"mo",output:"\u22c2",tex:"bigcap",ttype:7},{input:"uu",tag:"mo",output:"\u222a",tex:"cup",ttype:0},{input:"uuu",tag:"mo",output:"\u22c3",tex:"bigcup",ttype:7},{input:"!\x3d",tag:"mo",output:"\u2260",tex:"ne",ttype:0},{input:":\x3d",tag:"mo",output:":\x3d",tex:null,ttype:0},{input:"lt",tag:"mo",output:"\x3c",tex:null,ttype:0},{input:"\x3c\x3d",tag:"mo",output:"\u2264",tex:"le",ttype:0},{input:"lt\x3d",tag:"mo",output:"\u2264",tex:"leq",ttype:0},{input:"\x3e\x3d",tag:"mo",output:"\u2265",tex:"ge",ttype:0},{input:"geq",tag:"mo",output:"\u2265",tex:null,ttype:0},{input:"-\x3c",tag:"mo",output:"\u227a",tex:"prec",ttype:0},{input:"-lt",tag:"mo",output:"\u227a",tex:null,ttype:0},{input:"\x3e-",tag:"mo",output:"\u227b",tex:"succ",ttype:0},{input:"in",tag:"mo",output:"\u2208",tex:null,ttype:0},{input:"!in",tag:"mo",output:"\u2209",tex:"notin",ttype:0},{input:"sub",tag:"mo",output:"\u2282",tex:"subset",ttype:0},{input:"sup",tag:"mo",output:"\u2283",tex:"supset",ttype:0},{input:"sube",tag:"mo",output:"\u2286",tex:"subseteq",ttype:0},{input:"supe",tag:"mo",output:"\u2287",tex:"supseteq",ttype:0},{input:"-\x3d",tag:"mo",output:"\u2261",tex:"equiv",ttype:0},{input:"~\x3d",tag:"mo",output:"\u2245",tex:"cong",ttype:0},{input:"~~",tag:"mo",output:"\u2248",tex:"approx",ttype:0},{input:"prop",tag:"mo",output:"\u221d",tex:"propto",ttype:0},{input:"and",tag:"mtext",output:"and",tex:null,ttype:6},{input:"or",tag:"mtext",output:"or",tex:null,ttype:6},{input:"not",tag:"mo",output:"\u00ac",tex:"neg",ttype:0},{input:"\x3d\x3e",tag:"mo",output:"\u21d2",tex:"implies",ttype:0},{input:"if",tag:"mo",output:"if",tex:null,ttype:6},{input:"\x3c\x3d\x3e",tag:"mo",output:"\u21d4",tex:"iff",ttype:0},{input:"AA",tag:"mo",output:"\u2200",tex:"forall",ttype:0},{input:"EE",tag:"mo",output:"\u2203",tex:"exists",ttype:0},{input:"_|_",tag:"mo",output:"\u22a5",tex:"bot",ttype:0},{input:"TT",tag:"mo",output:"\u22a4",tex:"top",ttype:0},{input:"|--",tag:"mo",output:"\u22a2",tex:"vdash",ttype:0},{input:"|\x3d\x3d",tag:"mo",output:"\u22a8",tex:"models",ttype:0},{input:"(",tag:"mo",output:"(",tex:null,ttype:4},{input:")",tag:"mo",output:")",tex:null,ttype:5},{input:"[",tag:"mo",output:"[",tex:null,ttype:4},{input:"]",tag:"mo",output:"]",tex:null,ttype:5},{input:"{",tag:"mo",output:"{",tex:null,ttype:4},{input:"}",tag:"mo",output:"}",tex:null,ttype:5},{input:"|",tag:"mo",output:"|",tex:null,ttype:9},{input:"(:",tag:"mo",output:"\u2329",tex:"langle",ttype:4},{input:":)",tag:"mo",output:"\u232a",tex:"rangle",ttype:5},{input:"\x3c\x3c",tag:"mo",output:"\u2329",tex:null,ttype:4},{input:"\x3e\x3e",tag:"mo",output:"\u232a",tex:null,ttype:5},{input:"{:",tag:"mo",output:"{:",tex:null,ttype:4,invisible:!0},{input:":}",tag:"mo",output:":}",tex:null,ttype:5,invisible:!0},{input:"int",tag:"mo",output:"\u222b",tex:null,ttype:0},{input:"dx",tag:"mi",output:"{:d x:}",tex:null,ttype:8},{input:"dy",tag:"mi",output:"{:d y:}",tex:null,ttype:8},{input:"dz",tag:"mi",output:"{:d z:}",tex:null,ttype:8},{input:"dt",tag:"mi",output:"{:d t:}",tex:null,ttype:8},{input:"oint",tag:"mo",output:"\u222e",tex:null,ttype:0},{input:"del",tag:"mo",output:"\u2202",tex:"partial",ttype:0},{input:"grad",tag:"mo",output:"\u2207",tex:"nabla",ttype:0},{input:"+-",tag:"mo",output:"\u00b1",tex:"pm",ttype:0},{input:"O/",tag:"mo",output:"\u2205",tex:"emptyset",ttype:0},{input:"oo",tag:"mo",output:"\u221e",tex:"infty",ttype:0},{input:"aleph",tag:"mo",output:"\u2135",tex:null,ttype:0},{input:"...",tag:"mo",output:"...",tex:"ldots",ttype:0},{input:":.",tag:"mo",output:"\u2234",tex:"therefore",ttype:0},{input:"/_",tag:"mo",output:"\u2220",tex:"angle",ttype:0},{input:"\\ ",tag:"mo",output:"\u00a0",tex:null,ttype:0},{input:"quad",tag:"mo",output:"\u00a0\u00a0",tex:null,ttype:0},{input:"qquad",tag:"mo",output:"\u00a0\u00a0\u00a0\u00a0",tex:null,ttype:0},{input:"cdots",tag:"mo",output:"\u22ef",tex:null,ttype:0},{input:"vdots",tag:"mo",output:"\u22ee",tex:null,ttype:0},{input:"ddots",tag:"mo",output:"\u22f1",tex:null,ttype:0},{input:"diamond",tag:"mo",output:"\u22c4",tex:null,ttype:0},{input:"square",tag:"mo",output:"\u25a1",tex:null,ttype:0},{input:"|__",tag:"mo",output:"\u230a",tex:"lfloor",ttype:0},{input:"__|",tag:"mo",output:"\u230b",tex:"rfloor",ttype:0},{input:"|~",tag:"mo",output:"\u2308",tex:"lceiling",ttype:0},{input:"~|",tag:"mo",output:"\u2309",tex:"rceiling",ttype:0},{input:"CC",tag:"mo",output:"\u2102",tex:null,ttype:0},{input:"NN",tag:"mo",output:"\u2115",tex:null,ttype:0},{input:"QQ",tag:"mo",output:"\u211a",tex:null,ttype:0},{input:"RR",tag:"mo",output:"\u211d",tex:null,ttype:0},{input:"ZZ",tag:"mo",output:"\u2124",tex:null,ttype:0},{input:"f",tag:"mi",output:"f",tex:null,ttype:1,func:!0},{input:"g",tag:"mi",output:"g",tex:null,ttype:1,func:!0},{input:"lim",tag:"mo",output:"lim",tex:null,ttype:7},{input:"Lim",tag:"mo",output:"Lim",tex:null,ttype:7},{input:"sin",tag:"mo",output:"sin",tex:null,ttype:1,func:!0},{input:"cos",tag:"mo",output:"cos",tex:null,ttype:1,func:!0},{input:"tan",tag:"mo",output:"tan",tex:null,ttype:1,func:!0},{input:"sinh",tag:"mo",output:"sinh",tex:null,ttype:1,func:!0},{input:"cosh",tag:"mo",output:"cosh",tex:null,ttype:1,func:!0},{input:"tanh",tag:"mo",output:"tanh",tex:null,ttype:1,func:!0},{input:"cot",tag:"mo",output:"cot",tex:null,ttype:1,func:!0},{input:"sec",tag:"mo",output:"sec",tex:null,ttype:1,func:!0},{input:"csc",tag:"mo",output:"csc",tex:null,ttype:1,func:!0},{input:"log",tag:"mo",output:"log",tex:null,ttype:1,func:!0},{input:"ln",tag:"mo",output:"ln",tex:null,ttype:1,func:!0},{input:"det",tag:"mo",output:"det",tex:null,ttype:1,func:!0},{input:"dim",tag:"mo",output:"dim",tex:null,ttype:0},{input:"mod",tag:"mo",output:"mod",tex:null,ttype:0},{input:"gcd",tag:"mo",output:"gcd",tex:null,ttype:1,func:!0},{input:"lcm",tag:"mo",output:"lcm",tex:null,ttype:1,func:!0},{input:"lub",tag:"mo",output:"lub",tex:null,ttype:0},{input:"glb",tag:"mo",output:"glb",tex:null,ttype:0},{input:"min",tag:"mo",output:"min",tex:null,ttype:7},{input:"max",tag:"mo",output:"max",tex:null,ttype:7},{input:"uarr",tag:"mo",output:"\u2191",tex:"uparrow",ttype:0},{input:"darr",tag:"mo",output:"\u2193",tex:"downarrow",ttype:0},{input:"rarr",tag:"mo",output:"\u2192",tex:"rightarrow",ttype:0},{input:"-\x3e",tag:"mo",output:"\u2192",tex:"to",ttype:0},{input:"|-\x3e",tag:"mo",output:"\u21a6",tex:"mapsto",ttype:0},{input:"larr",tag:"mo",output:"\u2190",tex:"leftarrow",ttype:0},{input:"harr",tag:"mo",output:"\u2194",tex:"leftrightarrow",ttype:0},{input:"rArr",tag:"mo",output:"\u21d2",tex:"Rightarrow",ttype:0},{input:"lArr",tag:"mo",output:"\u21d0",tex:"Leftarrow",ttype:0},{input:"hArr",tag:"mo",output:"\u21d4",tex:"Leftrightarrow",ttype:0},{input:"sqrt",tag:"msqrt",output:"sqrt",tex:null,ttype:1},{input:"root",tag:"mroot",output:"root",tex:null,ttype:2},{input:"frac",tag:"mfrac",output:"/",tex:null,ttype:2},{input:"/",tag:"mfrac",output:"/",tex:null,ttype:3},{input:"stackrel",tag:"mover",output:"stackrel",tex:null,ttype:2},{input:"_",tag:"msub",output:"_",tex:null,ttype:3},{input:"^",tag:"msup",output:"^",tex:null,ttype:3},{input:"hat",tag:"mover",output:"^",tex:null,ttype:1,acc:!0},{input:"bar",tag:"mover",output:"\u00af",tex:"overline",ttype:1,acc:!0},{input:"vec",tag:"mover",output:"\u2192",tex:null,ttype:1,acc:!0},{input:"dot",tag:"mover",output:".",tex:null,ttype:1,acc:!0},{input:"ddot",tag:"mover",output:"..",tex:null,ttype:1,acc:!0},{input:"ul",tag:"munder",output:"\u0332",tex:"underline",ttype:1,acc:!0},{input:"text",tag:"mtext",output:"text",tex:null,ttype:10},{input:"mbox",tag:"mtext",output:"mbox",tex:null,ttype:10},I,{input:"bb",tag:"mstyle",atname:"fontweight",atval:"bold",output:"bb",tex:null,ttype:1},{input:"mathbf",tag:"mstyle",atname:"fontweight",atval:"bold",output:"mathbf",tex:null,ttype:1},{input:"sf",tag:"mstyle",atname:"fontfamily",atval:"sans-serif",output:"sf",tex:null,ttype:1},{input:"mathsf",tag:"mstyle",atname:"fontfamily",atval:"sans-serif",output:"mathsf",tex:null,ttype:1},{input:"bbb",tag:"mstyle",atname:"mathvariant",atval:"double-struck",output:"bbb",tex:null,ttype:1,codes:J},{input:"mathbb",tag:"mstyle",atname:"mathvariant",atval:"double-struck",output:"mathbb",tex:null,ttype:1,codes:J},{input:"cc",tag:"mstyle",atname:"mathvariant",atval:"script",output:"cc",tex:null,ttype:1,codes:G},{input:"mathcal",tag:"mstyle",atname:"mathvariant",atval:"script",output:"mathcal",tex:null,ttype:1,codes:G},{input:"tt",tag:"mstyle",atname:"fontfamily",atval:"monospace",output:"tt",tex:null,ttype:1},{input:"mathtt",tag:"mstyle",atname:"fontfamily",atval:"monospace",output:"mathtt",tex:null,ttype:1},{input:"fr",tag:"mstyle",atname:"mathvariant",atval:"fraktur",output:"fr",tex:null,ttype:1,codes:N},{input:"mathfrak",tag:"mstyle",atname:"mathvariant",atval:"fraktur",output:"mathfrak",tex:null,ttype:1,codes:N}],D=[],H,O,E,A=!1,B=w="";(function(){for(var a=0,b=x.length;a<b;a++)if(x[a].codes&&delete x[a].codes,x[a].func&&(x[a].tag="mi"),"fontfamily"===x[a].atname||"fontweight"===x[a].atname)x[a].atname="mathvariant"})();x.push({input:"gt",tag:"mo",output:"\x3e",tex:null,ttype:0},{input:"gt\x3d",tag:"mo",output:"\u2265",tex:"geq",ttype:0},{input:"-\x3c\x3d",tag:"mo",output:"\u2aaf",tex:"preceq",ttype:0},{input:"\x3e-\x3d",tag:"mo",output:"\u2ab0",tex:"succeq",ttype:0},{input:"'",tag:"mo",output:"\u2032",tex:"prime",ttype:0},{input:"arcsin",tag:"mi",output:"arcsin",tex:null,ttype:1,func:!0},{input:"arccos",tag:"mi",output:"arccos",tex:null,ttype:1,func:!0},{input:"arctan",tag:"mi",output:"arctan",tex:null,ttype:1,func:!0},{input:"coth",tag:"mi",output:"coth",tex:null,ttype:1,func:!0},{input:"sech",tag:"mi",output:"sech",tex:null,ttype:1,func:!0},{input:"csch",tag:"mi",output:"csch",tex:null,ttype:1,func:!0},{input:"abs",tag:"mi",output:"abs",tex:null,ttype:1,func:!0},{input:"exp",tag:"mi",output:"exp",tex:null,ttype:1,func:!0},{input:"tilde",tag:"mover",output:"~",tex:null,ttype:1,acc:!0});c.Augment({AM:{Init:function(){F=c.config.displaystyle;C=c.config.decimal||c.config.decimalsign;y();k()},Augment:function(b){for(var f in b)if(b.hasOwnProperty(f)){switch(f){case "displaystyle":F=b[f];break;case "decimal":decimal=b[f];break;case "parseMath":e=b[f];break;case "parseExpr":u=b[f];break;case "parseIexpr":d=b[f];break;case "parseSexpr":h=b[f];break;case "removeBrackets":a=b[f];break;case "getSymbol":p=b[f];break;case "position":t=b[f];break;case "removeCharsAndBlanks":m=b[f];break;case "createMmlNode":l=b[f];break;case "createElementMathML":n=b[f];break;case "createElementXHTML":g=b[f];break;case "initSymbols":k=b[f];break;case "compareNames":comareNames=b[f]}this[f]=b[f]}},parseMath:e,parseExpr:u,parseIexpr:d,parseSexr:h,removeBrackets:a,getSymbol:p,position:t,removeCharsAndBlanks:m,createMmlNode:l,createElementMathML:n,createElementXHTML:g,initSymbols:k,compareNames:b,createDocumentFragment:q,document:v,define:function(a,h){x=x.concat([{input:a,tag:"mo",output:h,tex:null,ttype:8}]);x.sort(b);for(r=0;r<x.length;r++)D[r]=x[r].input},symbols:x,names:D,TOKEN:{CONST:0,UNARY:1,BINARY:2,INFIX:3,LEFTBRACKET:4,RIGHTBRACKET:5,SPACE:6,UNDEROVER:7,DEFINITION:8,LEFTRIGHT:9,TEXT:10}}})})(MathJax.InputJax.AsciiMath);(function(c){var g;c.Augment({sourceMenuTitle:["AsciiMathInput","AsciiMath Input"],prefilterHooks:MathJax.Callback.Hooks(!0),postfilterHooks:MathJax.Callback.Hooks(!0),Translate:function(b){var c,n=MathJax.HTML.getScript(b);b={math:n,script:b};this.prefilterHooks.Execute(b);n=b.math;try{c=this.AM.parseMath(n)}catch(l){if(!l.asciimathError)throw l;c=this.formatError(l,n)}b.math=g(c);this.postfilterHooks.Execute(b);return b.math},formatError:function(b,c,n){b=b.message.replace(/\n.*/,"");MathJax.Hub.signal.Post(["AsciiMath Jax - parse error",b,c,n]);return g.merror(b)},Error:function(b){throw MathJax.Hub.Insert(Error(b),{asciimathError:!0});},Startup:function(){g=MathJax.ElementJax.mml;this.AM.Init()}});c.loadComplete("jax.js")})(MathJax.InputJax.AsciiMath);(function(c,g,b,k){var n,l=g.Browser.isMSIE,m,t,p,a;g.Register.StartupHook("MathZoom Ready",function(){a=MathJax.Extension.MathZoom});var h=function(a,b){var h=k.Element("span");a="padding"+a;b&&(h.style.cssText=b.getAttribute("style")||"",""===h.style.padding&&""===(h.style[a]||"")&&(h.style[a]="0px",b.setAttribute("style",h.style.cssText)))},d=function(a,b,h){if(a){var d=k.Element("span");d.style.cssText=a.getAttribute("style")||"";if(""===d.style.padding){b={paddingLeft:h,paddingTop:b,paddingRight:"0px",paddingBottom:"0px"};for(var c in b)b.hasOwnProperty(c)&&""===(d.style[c]||"")&&(d.style[c]=b[c])}a.setAttribute("style",d.style.cssText)}};c.Augment({config:{styles:{".MathJax_MathML":{"font-style":"normal","font-weight":"normal","line-height":"normal","font-size":"100%","font-size-adjust":"none","text-indent":0,"text-align":"left","text-transform":"none","letter-spacing":"normal","word-spacing":"normal","word-wrap":"normal","white-space":"nowrap","float":"none",direction:"ltr",border:0,padding:0,margin:0},"span.MathJax_MathML":{display:"inline"},"div.MathJax_MathML":{display:"block"},".MathJax_mmlExBox":{display:"block",overflow:"hidden",height:"1px",width:"60ex",padding:0,border:0,margin:0}}},settings:g.config.menuSettings,ex:1,Config:function(){this.SUPER(arguments).Config.call(this);this.settings.scale&&(this.config.scale=this.settings.scale);if("center"!==g.config.displayAlign){var a=g.config.displayAlign,b={"text-align":a+"!important"};b["margin-"+a]=g.config.displayIndent+"!important";g.Insert(this.config.styles,{"div.MathJax_MathML":b,"div.MathJax_MathML math":{"text-align":a},"div.MathJax_MathContainer \x3e span":{"text-align":a+"!important"}})}this.require||(this.require=[]);this.require.push(MathJax.OutputJax.extensionDir+"/MathEvents.js")},Startup:function(){m=MathJax.Extension.MathEvents.Event;t=MathJax.Extension.MathEvents.Touch;p=MathJax.Extension.MathEvents.Hover;this.ContextMenu=m.ContextMenu;this.Mousedown=m.AltContextMenu;this.Mouseover=p.Mouseover;this.Mouseout=p.Mouseout;this.Mousemove=p.Mousemove;l||(this.EmExSpan=k.Element("span",{style:{position:"absolute","font-size-adjust":"none"}},[["div",{className:"MathJax_mmlExBox"}],["span",{className:"MathJax_MathML"}]]),n.math(n.mspace().With({width:"60ex"})).toNativeMML(this.EmExSpan.lastChild));return b.Styles(this.config.styles)},InitializeMML:function(){this.initialized=!0;if(l)try{if(!g.Browser.mpNamespace){var a=document.createElement("object");a.id="mathplayer";a.classid="clsid:32F66A20-7614-11D4-BD11-00104BD3F987";document.getElementsByTagName("head")[0].appendChild(a);document.namespaces.add("m","http://www.w3.org/1998/Math/MathML");g.Browser.mpNamespace=!0}g.Browser.mpImported||(document.namespaces.m.doImport("#mathplayer"),g.Browser.mpImported=!0)}catch(b){alert(MathJax.Localization._(["MathML","MathPlayer"],"MathJax was not able to set up MathPlayer.\n\nIf MathPlayer is not installed, you need to install it first.\nOtherwise, your security settings may be preventing ActiveX \ncontrols from running. Use the Internet Options item under\nthe Tools menu and select the Security tab, then press the\nCustom Level button. Check that the settings for\n'Run ActiveX Controls', and 'Binary and script behaviors'\nare enabled.\n\nCurrently you will see error messages rather than\ntypeset mathematics."))}else document.body.appendChild(this.EmExSpan),this.defaultEx=this.EmExSpan.firstChild.offsetWidth/60,this.defaultMEx=this.EmExSpan.lastChild.offsetWidth/60,document.body.removeChild(this.EmExSpan)},preTranslate:function(a){a=a.jax[this.id];var b,h=a.length,d,c,g;for(b=0;b<h;b++)if(d=a[b],d.parentNode&&(this.initialized||this.InitializeMML(),(c=d.previousSibling)&&"MathJax_MathML"===c.className&&c.parentNode.removeChild(c),c=d.MathJax.elementJax))g=c.root,c.NativeMML={},g="block"===g.Get("display")?"div":"span",c=k.Element(g,{className:"MathJax_MathML",id:c.inputID+"-Frame"},[["span",{className:"MathJax_MathContainer",isMathJax:!0,jaxID:this.id,style:{position:"relative",display:"inline-block","white-space":"nowrap"}},[["span",{isMathJax:!0,style:{display:"inline-block"}}]]]]),d.parentNode.insertBefore(c,d),l||d.parentNode.insertBefore(this.EmExSpan.cloneNode(!0),d);for(b=0;b<h;b++)if(d=a[b],d.parentNode&&(c=d.MathJax.elementJax)){if(l)g=100;else{g=d.previousSibling;d=g.firstChild.offsetWidth/60;g=g.lastChild.offsetWidth/60;if(0===d||"NaN"===d)d=this.defaultEx,g=this.defaultMEx;g=(1<g?d/g:1)*this.config.scale;g=Math.floor(Math.max(this.config.minScaleAdjust/100,g));c.NativeMML.ex=d}c.NativeMML.fontSize=g+"%"}if(!l)for(b=0;b<h;b++)d=a[b],d.parentNode&&d.MathJax.elementJax&&(g=a[b].previousSibling,g.parentNode.removeChild(g))},Translate:function(a){if(a.parentNode){a=a.MathJax.elementJax;var b=a.root,h=document.getElementById(a.inputID+"-Frame"),d=h.firstChild,c=d.firstChild;h.style.fontSize=a.NativeMML.fontSize;this.ex=a.NativeMML.ex||this.defaultEx;try{b.toNativeMML(c)}catch(k){if(k.restart)for(;c.firstChild;)c.removeChild(c.firstChild);throw k;}if(l)if(d.addEventListener)for(var v in this.MSIE9events)this.MSIE9events.hasOwnProperty(v)&&d.addEventListener(v,this.MSIE9event,!0);else!(null!=this.config.showMathMenuMSIE?this:g).config.showMathMenuMSIE||this.settings.mpContext||this.settings.mpMouse?(d.style.position="",c.firstChild.onmousedown=this.MSIEaltMenu):this.MSIEoverlay(d);else d.oncontextmenu=m.Menu,d.onmouseover=m.Mouseover,d.onmouseout=m.Mouseout,d.onmousedown=m.Mousedown,d.onclick=m.Click,d.ondblclick=m.DblClick,g.Browser.noContextMenu&&(d.ontouchstart=t.start,d.ontouchend=t.end)}},postTranslate:function(a){this.forceReflow&&(a=(document.styleSheets||[])[0]||{},a.disabled=!0,a.disabled=!1)},Remove:function(a){(a=a.SourceElement())&&(a=a.previousSibling)&&a.className.match(/MathJax_MathML/)&&a.parentNode.removeChild(a)},MMLnamespace:"http://www.w3.org/1998/Math/MathML",MSIEoverlay:function(a){var b=a.firstChild;"span"===b.nodeName.toLowerCase()&&(b=b.firstChild);var h=this.getHoverBBox(null,b,{});k.addElement(a,"span",{style:{display:"inline-block",width:0,height:0,position:"relative"}},[["span",{isMathJax:!0,className:"MathJax_MathPlayer_Overlay",style:{display:"inline-block",position:"absolute",left:p.Px(-h.w),top:p.Px(-h.h-(h.y||0)-1),width:p.Px(h.w),height:p.Px(h.h+h.d),cursor:"pointer","background-color":"white",filter:"alpha(opacity\x3d0)"}}]]);g.Insert(a,{msieMath:b,onmousedown:this.MSIEevent,oncontextmenu:this.MSIEevent,onclick:this.MSIEevent,onmouseup:this.MSIEevent,onmousemove:this.MSIEevent,ondblclick:this.MSIEevent,onmouseover:this.MSIEevent,onmouseout:this.MSIEevent})},MSIEevents:{mousedown:"Mousedown",contextmenu:"ContextMenu",click:"Click",mouseup:"Mouseup",mousemove:"Mousemove",dblclick:"DblClick",mouseover:"Mouseover",mouseout:"Mouseout"},MSIEevent:function(){var b=window.event,h=c.MSIEevents[b.type];if(c[h]&&!1===c[h](b,this)||a&&!1===a.HandleEvent(b,h,this))return!1;"MathJax_MathPlayer_Overlay"===b.srcElement.className&&this.msieMath.fireEvent&&("ContextMenu"!==h&&"Mouseover"!==h&&"Mouseout"!==h||this.msieMath.fireEvent("on"+b.type,b));return m.False(b)},MSIEaltMenu:function(){for(var a=this.parentNode.parentNode;!a.jaxID;)a=a.parentNode;m.AltContextMenu(window.event,a)},MSIE9events:{contextmenu:"Menu",click:"Click",dblclick:"DblClick",mouseup:"False",mouseover:"Mouseover",mouseout:"Mouseout"},MSIE9event:function(a){return"contextmenu"===a.type&&c.settings.mpContext||"mouseup"===a.type&&c.settings.mpMouse?!0:"click"===a.type&&c.settings.mpContext?m.AltContextMenu(a,this):m[c.MSIE9events[a.type]].call(this,a)},getJaxFromMath:function(a){a=a.parentNode;do a=a.nextSibling;while(a&&"script"!==a.nodeName.toLowerCase());return g.getJaxFor(a)},getHoverSpan:function(a,b){return b.firstChild},getHoverBBox:function(a,b,h){return m.getBBox(b.parentNode)},Zoom:function(a,b,h,d,g){a.root.toNativeMML(b);this.msieIE8HeightBug&&(b.style.position="absolute");a=h.offsetWidth||h.scrollWidth;h=h.offsetHeight||h.scrollHeight;d=b.offsetWidth;g=b.offsetHeight;if(c.widthBug){var k=b.firstChild.firstChild.scrollWidth;k>d&&(d=k,b.style.width=d+"px")}this.msieIE8HeightBug&&(b.style.position="");return{Y:-m.getBBox(b.parentNode).h,mW:a,mH:h,zW:d,zH:g}},NAMEDSPACE:{negativeveryverythinmathspace:"-.0556em",negativeverythinmathspace:"-.1111em",negativethinmathspace:"-.1667em",negativemediummathspace:"-.2222em",negativethickmathspace:"-.2778em",negativeverythickmathspace:"-.3333em",negativeveryverythickmathspace:"-.3889em"}});g.Register.StartupHook("mml Jax Ready",function(){n=MathJax.ElementJax.mml;n.mbase.Augment({toNativeMML:function(a){var b=this.NativeMMLelement(this.type);this.NativeMMLattributes(b);for(var h=0,d=this.data.length;h<d;h++)this.data[h]?this.data[h].toNativeMML(b):b.appendChild(this.NativeMMLelement("mrow"));a.appendChild(b)},NativeMMLattributes:function(a){var b=this.defaults,h=this.attrNames||n.copyAttributeNames,d=n.skipAttributes;if(!this.attrNames){"mstyle"===this.type&&(b=n.math.prototype.defaults);for(var e in b)!d[e]&&b.hasOwnProperty(e)&&null!=this[e]&&a.setAttribute(e,this.NativeMMLattribute(this[e]))}b=0;for(d=h.length;b<d;b++)e=(this.attr||{})[h[b]],null==e&&(e=this[h[b]]),null!=e&&a.setAttribute(h[b],this.NativeMMLattribute(e));this.NativeMMLclass(a)},NativeMMLclass:function(a){var b=[];this["class"]&&b.push(this["class"]);if(this.isa(n.TeXAtom)){var h="ORD OP BIN REL OPEN CLOSE PUNCT INNER VCENTER".split(" ")[this.texClass];h&&b.push("MJX-TeXAtom-"+h)}this.mathvariant&&this.NativeMMLvariants[this.mathvariant]&&b.push("MJX"+this.mathvariant);this.arrow&&b.push("MJX-arrow");this.variantForm&&b.push("MJX-variant");b.length&&a.setAttribute("class",b.join(" "))},NativeMMLattribute:function(a){a=String(a);c.NAMEDSPACE[a]?a=c.NAMEDSPACE[a]:a.match(/^\s*(([-+])?(\d+(\.\d*)?|\.\d+))\s*mu\s*$/)?a=RegExp.$2+(1/18*RegExp.$3).toFixed(3).replace(/\.?0+$/,"")+"em":this.NativeMMLvariants[a]&&(a=this.NativeMMLvariants[a]);return a},NativeMMLvariants:{"-tex-caligraphic":n.VARIANT.SCRIPT,"-tex-caligraphic-bold":n.VARIANT.BOLDSCRIPT,"-tex-oldstyle":n.VARIANT.NORMAL,"-tex-oldstyle-bold":n.VARIANT.BOLD,"-tex-mathit":n.VARIANT.ITALIC},NativeMMLelement:function(a){a=l?document.createElement("m:"+a):document.createElementNS(c.MMLnamespace,a);a.isMathJax=!0;return a}});n.mrow.Augment({toNativeMML:function(a){var b,h;if(this.inferred&&this.parent.inferRow)for(b=0,h=this.data.length;b<h;b++)this.data[b]?this.data[b].toNativeMML(a):a.appendChild(this.NativeMMLelement("mrow"));else if(c.stretchyMoBug&&(this.open||this.close)){var d=this.NativeMMLelement("mfenced");this.NativeMMLattributes(d);b=0;h=this.data.length;this.open&&(d.setAttribute("open",this.open),b++);this.close&&(d.setAttribute("close",this.close),h--);var e=d;1<h-b+1&&(e=this.NativeMMLelement("mrow"),a.appendChild(d),a=d);for(;b<h;b++)this.data[b]?this.data[b].toNativeMML(e):e.appendChild(this.NativeMMLelement("mrow"));a.appendChild(e)}else this.SUPER(arguments).toNativeMML.call(this,a)}});n.msubsup.Augment({toNativeMML:function(a){var b=this.type;null==this.data[this.sup]&&(b="msub");null==this.data[this.sub]&&(b="msup");b=this.NativeMMLelement(b);this.NativeMMLattributes(b);delete this.data[0].inferred;for(var h=0,d=this.data.length;h<d;h++)this.data[h]&&this.data[h].toNativeMML(b);a.appendChild(b)}});n.munderover.Augment({toNativeMML:function(a){var b=this.type;null==this.data[this.under]&&(b="mover");null==this.data[this.over]&&(b="munder");b=this.NativeMMLelement(b);this.NativeMMLattributes(b);delete this.data[0].inferred;for(var h=0,d=this.data.length;h<d;h++)this.data[h]&&this.data[h].toNativeMML(b);a.appendChild(b)}});if(!l){var a=MathJax.Hub.SplitList;n.mtable.Augment({toNativeMML:function(b){var h,d;if(c.tableSpacingBug){h=this.getValues("rowspacing","columnspacing");this.nMMLtopPadding=a("0px "+h.rowspacing);this.nMMLleftPadding=a("0px "+h.columnspacing);var e=this.nMMLtopPadding,k=e.length;h=0;for(d=this.data.length;h<d;h++)this.data[h]&&(this.data[h].nMMLtopPadding=e[h<k?h:k-1])}if(c.tableLabelBug)for(h=0,d=this.data.length;h<d;h++)if(this.data[h]&&this.data[h].isa(n.mlabeledtr)){var l=g.config.displayAlign.charAt(0),w=this.Get("side").charAt(0);this.nMMLhasLabels=!0;this.nMMLlaMatch=l===w;this.nMMLforceWidth="c"===l||!!(this.width||"").match("%");break}this.width&&this.ffTableWidthBug&&(h=(this.style||"").replace(/;\s*$/,"").split(";"),""===h[0]&&h.shift(),h.push("width:"+this.width),this.style=h.join(";"));this.SUPER(arguments).toNativeMML.call(this,b);if(this.nMMLhasLabels){h=b.firstChild;if(this.nMMLforceWidth||"r"!==w)if(l=("l"!==l?1:0)+("l"===w?1:0)){var w={columnalign:"left",columnwidth:"auto",columnspacing:"0px",columnlines:"none"},m;for(m in w)w.hasOwnProperty(m)&&this[m]&&(d=[w[m],w[m]].slice(2-l).join(" ")+" ",h.setAttribute(m,d+h.getAttribute(m)))}!this.nMMLforceWidth&&this.nMMLlaMatch||h.setAttribute("width","100%")}}});n.mtr.Augment({toNativeMML:function(a){this.SUPER(arguments).toNativeMML.call(this,a);var b=a.lastChild;if(c.tableSpacingBug)for(var e=this.parent.nMMLleftPadding,u=e.length,k=b.firstChild,l=0;k;k=k.nextSibling,l++)d(k,this.nMMLtopPadding,e[l<u?l:u-1]);if(c.tableLabelBug&&(e=this.parent.nMMLforceWidth,u=this.parent.Get("side").charAt(0),k=g.config.displayAlign.charAt(0),this.parent.nMMLhasLabels&&b.firstChild)){if(e||"r"!==u)h("Left",b.firstChild),"l"!==k&&b.insertBefore(this.NativeMMLelement("mtd"),b.firstChild).setAttribute("style","padding:0"),"l"===u&&b.insertBefore(this.NativeMMLelement("mtd"),b.firstChild).setAttribute("style","padding:0");(e||"l"!==u)&&h("Right",b.lastChild)}}});n.mlabeledtr.Augment({toNativeMML:function(a){var b=this.NativeMMLelement("mtr");this.NativeMMLattributes(b);for(var e=1,u=this.data.length;e<u;e++)this.data[e]?this.data[e].toNativeMML(b):b.appendChild(this.NativeMMLelement("mtd"));if(c.tableSpacingBug)for(var u=this.parent.nMMLleftPadding,k=u.length,e=0,l=b.firstChild;l;l=l.nextSibling,e++)d(l,this.nMMLtopPadding,u[e<k?e:k-1]);if(c.tableLabelBug){var e=this.parent.Get("side").charAt(0),u=g.config.displayAlign.charAt(0),w=g.config.displayIndent;this.data[0].toNativeMML(b);l=k=b.lastChild;e===u?(k.setAttribute("style","width:"+w),k.setAttribute("columnalign",g.config.displayAlign)):(l=this.NativeMMLelement("mpadded"),l.setAttribute("style","width:0"),l.setAttribute("width","0px"),l.appendChild(k.firstChild),k.appendChild(l));h("",k);b.removeChild(k);var w=100,m=this.parent.nMMLforceWidth;(this.parent.width||"").match(/%/)&&(w-=parseFloat(this.parent.width));var n=w;if(m||"r"!==e)h("Left",b.firstChild),"l"!==u&&("c"===u&&(n/=2),w-=n,b.insertBefore(this.NativeMMLelement("mtd"),b.firstChild).setAttribute("style","padding:0;width:"+n+"%")),"l"===e&&b.insertBefore(k,b.firstChild);if(m||"l"!==e)h("Right",b.lastChild),"r"!==u&&b.appendChild(this.NativeMMLelement("mtd")).setAttribute("style","padding:0;width:"+w+"%"),"r"===e&&(e!==u&&l.setAttribute("lspace","-1width"),b.appendChild(k))}a.appendChild(b)}});n.mtd.Augment({toNativeMML:function(a){a=a.appendChild(this.NativeMMLelement(this.type));this.NativeMMLattributes(a);c.widthBug&&(a=a.appendChild(this.NativeMMLelement("mrow")));for(var b=0,h=this.data.length;b<h;b++)this.data[b]?this.data[b].toNativeMML(a):a.appendChild(this.NativeMMLelement("mrow"))}});n.mspace.Augment({toNativeMML:function(a){this.SUPER(arguments).toNativeMML.call(this,a);if(c.spaceWidthBug&&this.width){var b=a.lastChild,h=b.getAttribute("width"),d=b.getAttribute("style")||"";""!=d&&(d+=";");b.setAttribute("style",d+"width:"+h)}}});var b=MathJax.Ajax.fileURL(MathJax.OutputJax.fontDir+"/HTML-CSS/TeX/otf");c.Augment({config:{styles:{'[mathvariant\x3d"double-struck"]':{"font-family":"MathJax_AMS, MathJax_AMS-WEB"},'[mathvariant\x3d"script"]':{"font-family":"MathJax_Script, MathJax_Script-WEB"},'[mathvariant\x3d"fraktur"]':{"font-family":"MathJax_Fraktur, MathJax_Fraktur-WEB"},'[mathvariant\x3d"bold-script"]':{"font-family":"MathJax_Script, MathJax_Caligraphic-WEB","font-weight":"bold"},'[mathvariant\x3d"bold-fraktur"]':{"font-family":"MathJax_Fraktur, MathJax_Fraktur-WEB","font-weight":"bold"},'[mathvariant\x3d"monospace"]':{"font-family":"monospace"},'[mathvariant\x3d"sans-serif"]':{"font-family":"sans-serif"},'[mathvariant\x3d"bold-sans-serif"]':{"font-family":"sans-serif","font-weight":"bold"},'[mathvariant\x3d"sans-serif-italic"]':{"font-family":"sans-serif","font-style":"italic"},'[mathvariant\x3d"sans-serif-bold-italic"]':{"font-family":"sans-serif","font-style":"italic","font-weight":"bold"},'[class\x3d"MJX-tex-oldstyle"]':{"font-family":"MathJax_Caligraphic, MathJax_Caligraphic-WEB"},'[class\x3d"MJX-tex-oldstyle-bold"]':{"font-family":"MathJax_Caligraphic, MathJax_Caligraphic-WEB","font-weight":"bold"},'[class\x3d"MJX-tex-caligraphic"]':{"font-family":"MathJax_Caligraphic, MathJax_Caligraphic-WEB"},'[class\x3d"MJX-tex-caligraphic-bold"]':{"font-family":"MathJax_Caligraphic, MathJax_Caligraphic-WEB","font-weight":"bold"},"@font-face /*1*/":{"font-family":"MathJax_AMS-WEB",src:"url('"+b+"/MathJax_AMS-Regular.otf')"},"@font-face /*2*/":{"font-family":"MathJax_Script-WEB",src:"url('"+b+"/MathJax_Script-Regular.otf')"},"@font-face /*3*/":{"font-family":"MathJax_Fraktur-WEB",src:"url('"+b+"/MathJax_Fraktur-Regular.otf')"},"@font-face /*4*/":{"font-family":"MathJax_Caligraphic-WEB",src:"url('"+b+"/MathJax_Caligraphic-Regular.otf')"},"@font-face /*5*/":{"font-family":"MathJax_Fraktur-WEB","font-weight":"bold",src:"url('"+b+"/MathJax_Fraktur-Bold.otf')"},"@font-face /*6*/":{"font-family":"MathJax_Caligraphic-WEB","font-weight":"bold",src:"url('"+b+"/MathJax_Caligraphic-Bold.otf')"}}}})}n.math.Augment({toNativeMML:function(a){var b=this.NativeMMLelement(this.type),h=b;b.setAttribute("xmlns",c.MMLnamespace);this.NativeMMLattributes(b);c.widthBug&&(b=b.appendChild(this.NativeMMLelement("mrow")));for(var d=0,e=this.data.length;d<e;d++)this.data[d]?this.data[d].toNativeMML(b):b.appendChild(this.NativeMMLelement("mrow"));d=(this.data[0]||[]).data[0]||{};if(d.nMMLhasLabels){if(d.nMMLforceWidth||!d.nMMLlaMatch)b.setAttribute("style","width:100%"),a.style.width=a.parentNode.style.width="100%";d.nMMLlaMatch&&"div"===a.parentNode.parentNode.nodeName.toLowerCase()&&a.parentNode.parentNode.style.setProperty("margin-"+g.config.displayAlign,"0px","important")}a.appendChild(h);c.widthBug&&!d.nMMLforceWidth&&d.nMMLlaMatch&&(a.style.width=(h.firstChild.scrollWidth/c.ex).toFixed(3)+"ex")}});n.mfenced.Augment({toNativeMML:function(a){if(c.mfencedBug){var b=g.Browser.isOpera,h,d,e,u=this.getValues("open","close","separators");u.open=u.open.replace(/^\s+/,"").replace(/\s+$/,"");u.close=u.close.replace(/^\s+/,"").replace(/\s+$/,"");u.separators=u.separators.replace(/\s+/g,"").split("");if(0==u.separators.length)u.separators=null;else if(u.separators.length<this.data.length-1)for(d=u.separators[u.separators.length-1],h=this.data.length-1-u.separators.length;0<h;h--)u.separators.push(d);var k=this.NativeMMLelement(b?this.type:"mrow");this.NativeMMLattributes(k);k.removeAttribute("separators");b?(k.setAttribute("open",u.open),k.setAttribute("close",u.close),1<this.data.length&&(a.appendChild(k),a=k,k=this.NativeMMLelement("mrow"))):(k.removeAttribute("open"),k.removeAttribute("close"));b||(e=this.NativeMMLelement("mo"),e.setAttribute("fence","true"),e.textContent=u.open,k.appendChild(e));h=0;for(d=this.data.length;h<d;h++)u.separators&&0<h&&(e=this.NativeMMLelement("mo"),e.setAttribute("separator","true"),e.textContent=u.separators[h-1],k.appendChild(e)),this.data[h]?this.data[h].toNativeMML(k):k.appendChild(this.NativeMMLelement("mrow"));b||(e=this.NativeMMLelement("mo"),e.setAttribute("fence","true"),e.textContent=u.close,k.appendChild(e));a.appendChild(k)}else this.SUPER(arguments).toNativeMML.call(this,a)}});n.TeXAtom.Augment({toNativeMML:function(a){var b=this.NativeMMLelement("mrow");this.NativeMMLattributes(b);this.data[0].toNativeMML(b);a.appendChild(b)}});n.chars.Augment({toNativeMML:function(a){a.appendChild(document.createTextNode(this.toString()))}});n.entity.Augment({toNativeMML:function(a){a.appendChild(document.createTextNode(this.toString()))}});n.xml.Augment({toNativeMML:function(a){for(var b=0,h=this.data.length;b<h;b++)a.appendChild(this.data[b].cloneNode(!0))}});g.Register.StartupHook("TeX mathchoice Ready",function(){n.TeXmathchoice.Augment({toNativeMML:function(a){this.Core().toNativeMML(a)}})});setTimeout(MathJax.Callback(["loadComplete",c,"jax.js"]),0)});g.Browser.Select({MSIE:function(a){c.msieIE8HeightBug=8===(document.documentMode||0)},Opera:function(a){c.operaPositionBug=!0;c.stretchyMoBug=!0;c.tableLabelBug=!0;c.mfencedBug=!0},Firefox:function(a){c.ffTableWidthBug=!a.versionAtLeast("13.0");c.forceReflow=!0;c.widthBug=!0;c.spaceWidthBug=!a.versionAtLeast("20.0");c.tableSpacingBug=!0;c.tableLabelBug=!0;c.mfencedBug=!0},Chrome:function(a){c.tableSpacingBug=!0;c.tableLabelBug=!0;c.mfencedBug=!0},Safari:function(a){c.tableSpacingBug=!0;c.tableLabelBug=!0;c.mfencedBug=!0}});g.Register.StartupHook("End Cookie",function(){"None"!==g.config.menuSettings.zoom&&b.Require("[MathJax]/extensions/MathZoom.js")})})(MathJax.OutputJax.NativeMML,MathJax.Hub,MathJax.Ajax,MathJax.HTML);(function(c,g,b){var k,n=function(){var a=[].slice.call(arguments,0);a[0][0]=["HTML-CSS",a[0][0]];return MathJax.Message.Set.apply(MathJax.Message,a)},l=MathJax.Object.Subclass({timeout:1E3*(g.Browser.isMobile?15:8),FontInfo:{STIX:{family:"STIXSizeOneSym",testString:"() {} []"},TeX:{family:"MathJax_Size1",testString:"() {} []"}},comparisonFont:"sans-serif monospace script Times Courier Arial Helvetica".split(" "),testSize:["40px","50px","60px","30px","20px"],Init:function(){this.div=MathJax.HTML.addElement(document.body,"div",{id:"MathJax_Font_Test",style:{position:"absolute",visibility:"hidden",top:0,left:0,width:"auto",padding:0,border:0,margin:0,whiteSpace:"nowrap",textAlign:"left",textIndent:0,textTransform:"none",lineHeight:"normal",letterSpacing:"normal",wordSpacing:"normal",fontSize:this.testSize[0],fontWeight:"normal",fontStyle:"normal",fontSizeAdjust:"none"}},[""]);this.text=this.div.firstChild},findFont:function(a,b){if(b&&this.testCollection(b))return b;for(var d=0,c=a.length;d<c;d++)if(a[d]!==b&&this.testCollection(a[d]))return a[d];return null},testCollection:function(a){return this.testFont(this.FontInfo[a])},testFont:function(a){a.isWebFont&&b.FontFaceBug?this.div.style.fontWeight=this.div.style.fontStyle="normal":(this.div.style.fontWeight=a.weight||"normal",this.div.style.fontStyle=a.style||"normal");var h=this.getComparisonWidths(a.testString,a.noStyleChar);if(h){this.div.style.fontFamily="'"+a.family+"',"+this.comparisonFont[0];if(this.div.offsetWidth==h[0]&&(this.div.style.fontFamily="'"+a.family+"',"+this.comparisonFont[h[2]],this.div.offsetWidth==h[1]))return!1;if(this.div.offsetWidth!=h[3]||this.div.offsetHeight!=h[4]){if(a.noStyleChar||!b.FONTDATA||!b.FONTDATA.hasStyleChar)return!0;for(var h=0,d=this.testSize.length;h<d;h++)if(this.testStyleChar(a,this.testSize[h]))return!0}}return!1},styleChar:"\ueffd",versionChar:"\ueffe",compChar:"\uefff",testStyleChar:function(a,h){var d=3+(a.weight?2:0)+(a.style?4:0),c="",e=0,f=this.div.style.fontSize;this.div.style.fontSize=h;b.msieItalicWidthBug&&"italic"===a.style&&(this.text.nodeValue=c=this.compChar,e=this.div.offsetWidth);b.safariTextNodeBug?this.div.innerHTML=this.compChar+c:this.text.nodeValue=this.compChar+c;var g=this.div.offsetWidth-e;b.safariTextNodeBug?this.div.innerHTML=this.styleChar+c:this.text.nodeValue=this.styleChar+c;var k=Math.floor((this.div.offsetWidth-e)/g+.5);k===d&&(b.safariTextNodeBug?this.div.innerHTML=this.versionChar+c:this.text.nodeValue=this.versionChar+c,a.version=Math.floor((this.div.offsetWidth-e)/g+1.5)/2);this.div.style.fontSize=f;return k===d},getComparisonWidths:function(a,h){b.FONTDATA&&b.FONTDATA.hasStyleChar&&!h&&(a+=this.styleChar+" "+this.compChar);b.safariTextNodeBug?this.div.innerHTML=a:this.text.nodeValue=a;this.div.style.fontFamily=this.comparisonFont[0];var d=this.div.offsetWidth;this.div.style.fontFamily=b.webFontDefault;for(var c=this.div.offsetWidth,e=this.div.offsetHeight,f=1,g=this.comparisonFont.length;f<g;f++)if(this.div.style.fontFamily=this.comparisonFont[f],this.div.offsetWidth!=d)return[d,this.div.offsetWidth,f,c,e];return null},loadWebFont:function(a){g.Startup.signal.Post("HTML-CSS Jax - Web-Font "+b.fontInUse+"/"+a.directory);var h=n(["LoadWebFont","Loading web-font %1",b.fontInUse+"/"+a.directory]),d=MathJax.Callback({}),h=MathJax.Callback(["loadComplete",this,a,h,d]);c.timer.start(c,[this.checkWebFont,a,h],0,this.timeout);return d},loadComplete:function(a,h,d,u){MathJax.Message.Clear(h);u===c.STATUS.OK?(this.webFontLoaded=!0,d()):(this.loadError(a),g.Browser.isFirefox&&b.allowWebFonts&&(h=document.location.protocol+"//"+document.location.hostname,""!=document.location.port&&(h+=":"+document.location.port),h+="/",c.fileURL(b.webfontDir).substr(0,h.length)!==h&&this.firefoxFontError(a)),this.webFontLoaded?d():b.loadWebFontError(a,d))},loadError:function(a){n(["CantLoadWebFont","Can't load web font %1",b.fontInUse+"/"+a.directory],null,2E3);g.Startup.signal.Post(["HTML-CSS Jax - web font error",b.fontInUse+"/"+a.directory,a])},firefoxFontError:function(a){n(["FirefoxCantLoadWebFont","Firefox can't load web fonts from a remote host"],null,3E3);g.Startup.signal.Post("HTML-CSS Jax - Firefox web fonts on remote host error")},checkWebFont:function(a,h,d){a.time(d)||(b.Font.testFont(h)?d(a.STATUS.OK):setTimeout(a,a.delay))},fontFace:function(a){var h=b.allowWebFonts,d=b.FONTDATA.FONTS[a];b.msieFontCSSBug&&!d.family.match(/-Web$/)&&(d.family+="-Web");var g=c.fileURL(b.webfontDir+"/"+h),e=a.replace(/-b/,"-B").replace(/-i/,"-I").replace(/-Bold-/,"-Bold");e.match(/-/)||(e+="-Regular");var e="svg"===h?e+(".svg#"+e):e+("."+h),f={"font-family":d.family,src:"url('"+g+"/"+e+"')"};"otf"===h?(f.src+=" format('opentype')",g=c.fileURL(b.webfontDir+"/woff"),f.src="url('"+g+"/"+e.replace(/otf$/,"woff")+"') format('woff'), "+f.src):"eot"!==h&&(f.src+=" format('"+h+"')");b.FontFaceBug&&d.isWebFont||(a.match(/-bold/)&&(f["font-weight"]="bold"),a.match(/-italic/)&&(f["font-style"]="italic"));return f}}),m,t,p;b.Augment({config:{styles:{".MathJax":{display:"inline","font-style":"normal","font-weight":"normal","line-height":"normal","font-size":"100%","font-size-adjust":"none","text-indent":0,"text-align":"left","text-transform":"none","letter-spacing":"normal","word-spacing":"normal","word-wrap":"normal","white-space":"nowrap","float":"none",direction:"ltr",border:0,padding:0,margin:0},".MathJax_Display":{position:"relative",display:"block",width:"100%"},".MathJax img, .MathJax nobr, .MathJax a":{border:0,padding:0,margin:0,"max-width":"none","max-height":"none","vertical-align":0,"line-height":"normal","text-decoration":"none"},"img.MathJax_strut":{border:"0 !important",padding:"0 !important",margin:"0 !important","vertical-align":"0 !important"},".MathJax span":{display:"inline",position:"static",border:0,padding:0,margin:0,"vertical-align":0,"line-height":"normal","text-decoration":"none"},".MathJax nobr":{"white-space":"nowrap ! important"},".MathJax img":{display:"inline ! important","float":"none ! important"},".MathJax *":{transition:"none","-webkit-transition":"none","-moz-transition":"none","-ms-transition":"none","-o-transition":"none"},".MathJax_Processing":{visibility:"hidden",position:"fixed",width:0,height:0,overflow:"hidden"},".MathJax_Processed":{display:"none!important"},".MathJax_ExBox":{display:"block",overflow:"hidden",width:"1px",height:"60ex"},".MathJax .MathJax_EmBox":{display:"block",overflow:"hidden",width:"1px",height:"60em"},".MathJax .MathJax_HitBox":{cursor:"text",background:"white",opacity:0,filter:"alpha(opacity\x3d0)"},".MathJax .MathJax_HitBox *":{filter:"none",opacity:1,background:"transparent"},"#MathJax_Tooltip":{position:"absolute",left:0,top:0,width:"auto",height:"auto",display:"none"},"#MathJax_Tooltip *":{filter:"none",opacity:1,background:"transparent"},"@font-face":{"font-family":"MathJax_Blank",src:"url('about:blank')"}}},settings:g.config.menuSettings,hideProcessedMath:!0,Font:null,webFontDefault:"MathJax_Blank",allowWebFonts:"otf",maxStretchyParts:1E3,Config:function(){this.require||(this.require=[]);this.Font=l();this.SUPER(arguments).Config.call(this);var a=this.settings;this.adjustAvailableFonts&&this.adjustAvailableFonts(this.config.availableFonts);a.scale&&(this.config.scale=a.scale);a.font&&"Auto"!==a.font&&("TeX (local)"===a.font?(this.config.availableFonts=["TeX"],this.config.preferredFont=this.config.webFont="TeX"):"STIX (local)"===a.font?(this.config.availableFonts=["STIX"],this.config.preferredFont="STIX",this.config.webFont="TeX"):"TeX (web)"===a.font?(this.config.availableFonts=[],this.config.preferredFont="",this.config.webFont="TeX"):"TeX (image)"===a.font&&(this.config.availableFonts=[],this.config.preferredFont=this.config.webFont=""));a=this.Font.findFont(this.config.availableFonts,this.config.preferredFont);!a&&this.allowWebFonts&&(a=this.config.webFont)&&(this.webFonts=!0);!a&&this.config.imageFont&&(a=this.config.imageFont,this.imgFonts=!0);a?(this.fontInUse=a,this.fontDir+="/"+a,this.webfontDir+="/"+a,this.require.push(this.fontDir+"/fontdata.js"),this.imgFonts&&(this.require.push(this.directory+"/imageFonts.js"),g.Startup.signal.Post("HTML-CSS Jax - using image fonts"))):(n(["CantFindFontUsing","Can't find a valid font using %1","["+this.config.availableFonts.join(", ")+"]"],null,3E3),this.fontInUse="generic",this.FONTDATA={TeX_factor:1,baselineskip:1.2,lineH:.8,lineD:.2,ffLineH:.8,FONTS:{},VARIANT:{normal:{fonts:[]},"-generic-variant":{fonts:[]},"-largeOp":{fonts:[]},"-smallOp":{fonts:[]}},RANGES:[],DELIMITERS:{},RULECHAR:45,REMAP:{}},g.Startup.signal.Post("HTML-CSS Jax - no valid font"));this.require.push(MathJax.OutputJax.extensionDir+"/MathEvents.js")},Startup:function(){m=MathJax.Extension.MathEvents.Event;t=MathJax.Extension.MathEvents.Touch;p=MathJax.Extension.MathEvents.Hover;this.ContextMenu=m.ContextMenu;this.Mousedown=m.AltContextMenu;this.Mouseover=p.Mouseover;this.Mouseout=p.Mouseout;this.Mousemove=p.Mousemove;this.hiddenDiv=this.Element("div",{style:{visibility:"hidden",overflow:"hidden",position:"absolute",top:0,height:"1px",width:"auto",padding:0,border:0,margin:0,textAlign:"left",textIndent:0,textTransform:"none",lineHeight:"normal",letterSpacing:"normal",wordSpacing:"normal"}});document.body.firstChild?document.body.insertBefore(this.hiddenDiv,document.body.firstChild):document.body.appendChild(this.hiddenDiv);this.hiddenDiv=this.addElement(this.hiddenDiv,"div",{id:"MathJax_Hidden"});var a=this.addElement(this.hiddenDiv,"div",{style:{width:"5in"}});this.pxPerInch=a.offsetWidth/5;this.hiddenDiv.removeChild(a);this.startMarker=this.createStrut(this.Element("span"),10,!0);this.endMarker=this.addText(this.Element("span"),"x").parentNode;this.HDspan=this.Element("span");this.operaHeightBug&&this.createStrut(this.HDspan,0);if(this.msieInlineBlockAlignBug){this.HDimg=this.addElement(this.HDspan,"img",{style:{height:"0px",width:"1px"}});try{this.HDimg.src="about:blank"}catch(b){}}else this.HDimg=this.createStrut(this.HDspan,0);this.EmExSpan=this.Element("span",{style:{position:"absolute","font-size-adjust":"none"}},[["span",{className:"MathJax_ExBox"}],["span",{className:"MathJax"},[["span",{className:"MathJax_EmBox"}]]]]);this.linebreakSpan=this.Element("span",null,[["hr",{style:{width:"100%",size:1,padding:0,border:0,margin:0}}]]);return c.Styles(this.config.styles,["InitializeHTML",this])},removeSTIXfonts:function(a){for(var b=0,d=a.length;b<d;b++)"STIX"===a[b]&&(a.splice(b,1),d--,b--);"STIX"===this.config.preferredFont&&(this.config.preferredFont=a[0])},PreloadWebFonts:function(){if(b.allowWebFonts&&b.config.preloadWebFonts)for(var a=0,h=b.config.preloadWebFonts.length;a<h;a++){var d=b.FONTDATA.FONTS[b.config.preloadWebFonts[a]];d.available||b.Font.testFont(d)}},InitializeHTML:function(){this.PreloadWebFonts();document.body.appendChild(this.EmExSpan);document.body.appendChild(this.linebreakSpan);this.defaultEx=this.EmExSpan.firstChild.offsetHeight/60;this.defaultEm=this.EmExSpan.lastChild.firstChild.offsetHeight/60;this.defaultWidth=this.linebreakSpan.firstChild.offsetWidth;document.body.removeChild(this.linebreakSpan);document.body.removeChild(this.EmExSpan)},preTranslate:function(a){var b=a.jax[this.id],d,c=b.length,e,f,q,k,l,r,B=!1,w=this.config.linebreaks.automatic,n=this.config.linebreaks.width;w?((B=null!=n.match(/^\s*(\d+(\.\d*)?%\s*)?container\s*$/))?n=n.replace(/\s*container\s*/,""):r=this.defaultWidth,""===n&&(n="100%")):r=1E5;for(d=0;d<c;d++)if(e=b[d],e.parentNode&&((f=e.previousSibling)&&String(f.className).match(/^MathJax(_Display)?( MathJax_Processing)?$/)&&f.parentNode.removeChild(f),f=e.MathJax.elementJax))f.HTMLCSS={display:"block"===f.root.Get("display")},q=k=this.Element("span",{className:"MathJax",id:f.inputID+"-Frame",isMathJax:!0,jaxID:this.id,oncontextmenu:m.Menu,onmousedown:m.Mousedown,onmouseover:m.Mouseover,onmouseout:m.Mouseout,onmousemove:m.Mousemove,onclick:m.Click,ondblclick:m.DblClick}),g.Browser.noContextMenu&&(q.ontouchstart=t.start,q.ontouchend=t.end),f.HTMLCSS.display?(k=this.Element("div",{className:"MathJax_Display"}),k.appendChild(q)):this.msieDisappearingBug&&(q.style.display="inline-block"),k.setAttribute("role","textbox"),k.setAttribute("aria-readonly","true"),k.className+=" MathJax_Processing",e.parentNode.insertBefore(k,e),e.parentNode.insertBefore(this.EmExSpan.cloneNode(!0),e),B&&k.parentNode.insertBefore(this.linebreakSpan.cloneNode(!0),k);for(d=0;d<c;d++)if(e=b[d],e.parentNode&&(l=e.previousSibling,k=l.previousSibling,f=e.MathJax.elementJax)){e=l.firstChild.offsetHeight/60;l=l.lastChild.firstChild.offsetHeight/60;B&&(r=k.previousSibling.firstChild.offsetWidth);if(0===e||"NaN"===e)this.hiddenDiv.appendChild(k),f.HTMLCSS.isHidden=!0,e=this.defaultEx,l=this.defaultEm,B&&(r=this.defaultWidth);k=Math.floor(Math.max(this.config.minScaleAdjust/100,e/this.TeX.x_height/l)*this.config.scale);f.HTMLCSS.scale=k/100;f.HTMLCSS.fontSize=k+"%";f.HTMLCSS.em=f.HTMLCSS.outerEm=l;this.em=l*k/100;f.HTMLCSS.ex=e;f.HTMLCSS.lineWidth=w?this.length2em(n,1,r/this.em):1E6}for(d=0;d<c;d++)if(e=b[d],e.parentNode&&(l=b[d].previousSibling,f=b[d].MathJax.elementJax))B&&(q=l.previousSibling,f.HTMLCSS.isHidden||(q=q.previousSibling),q.parentNode.removeChild(q)),l.parentNode.removeChild(l);a.HTMLCSSeqn=a.HTMLCSSlast=0;a.HTMLCSSi=-1;a.HTMLCSSchunk=this.config.EqnChunk;a.HTMLCSSdelay=!1},Translate:function(a,b){if(a.parentNode){b.HTMLCSSdelay&&(b.HTMLCSSdelay=!1,g.RestartAfter(MathJax.Callback.Delay(this.config.EqnChunkDelay)));var d=a.MathJax.elementJax,c=d.root,e=document.getElementById(d.inputID+"-Frame"),f=d.HTMLCSS.display?e.parentNode:e;this.em=k.mbase.prototype.em=d.HTMLCSS.em*d.HTMLCSS.scale;this.outerEm=d.HTMLCSS.em;this.scale=d.HTMLCSS.scale;this.linebreakWidth=d.HTMLCSS.lineWidth;e.style.fontSize=d.HTMLCSS.fontSize;this.initImg(e);this.initHTML(c,e);c.setTeXclass();try{c.toHTML(e,f)}catch(q){if(q.restart)for(;e.firstChild;)e.removeChild(e.firstChild);throw q;}d.HTMLCSS.isHidden&&a.parentNode.insertBefore(f,a);f.className=f.className.split(/ /)[0];this.hideProcessedMath&&(f.className+=" MathJax_Processed",a.MathJax.preview&&(d.HTMLCSS.preview=a.MathJax.preview,delete a.MathJax.preview),b.HTMLCSSeqn+=b.i-b.HTMLCSSi,b.HTMLCSSi=b.i,b.HTMLCSSeqn>=b.HTMLCSSlast+b.HTMLCSSchunk&&(this.postTranslate(b),b.HTMLCSSchunk=Math.floor(b.HTMLCSSchunk*this.config.EqnChunkFactor),b.HTMLCSSdelay=!0))}},postTranslate:function(a){var b=a.jax[this.id];if(this.hideProcessedMath){for(var d=a.HTMLCSSlast,c=a.HTMLCSSeqn;d<c;d++){var e=b[d];if(e&&e.MathJax.elementJax){e.previousSibling.className=e.previousSibling.className.split(/ /)[0];var f=e.MathJax.elementJax.HTMLCSS;f.preview&&(f.preview.innerHTML="",e.MathJax.preview=f.preview,delete f.preview)}}this.forceReflow&&(b=(document.styleSheets||[])[0]||{},b.disabled=!0,b.disabled=!1);a.HTMLCSSlast=a.HTMLCSSeqn}},getJaxFromMath:function(a){"MathJax_Display"===a.parentNode.className&&(a=a.parentNode);do a=a.nextSibling;while(a&&"script"!==a.nodeName.toLowerCase());return g.getJaxFor(a)},getHoverSpan:function(a,b){return a.root.HTMLspanElement()},getHoverBBox:function(a,b,d){b=b.bbox;a=a.HTMLCSS.outerEm;a={w:b.w*a,h:b.h*a,d:b.d*a};b.width&&(a.width=b.width);return a},Zoom:function(a,h,d,c,e){h.className="MathJax";h.style.fontSize=a.HTMLCSS.fontSize;e=h.appendChild(this.EmExSpan.cloneNode(!0));var f=e.lastChild.firstChild.offsetHeight/60;this.em=k.mbase.prototype.em=f;this.outerEm=f/a.HTMLCSS.scale;e.parentNode.removeChild(e);this.idPostfix="-zoom";a.root.toHTML(h,h);this.idPostfix="";if(e=a.root.HTMLspanElement().bbox.width){h.style.width=Math.floor(c-1.5*b.em)+"px";h.style.display="inline-block";for(a=document.getElementById((a.root.id||"MathJax-Span-"+a.root.spanID)+"-zoom").firstChild;a&&a.style.width!==e;)a=a.nextSibling;a&&(a.style.width="100%")}h.style.position="absolute";e||(d.style.position="absolute");a=h.offsetWidth;c=h.offsetHeight;e=d.offsetHeight;f=d.offsetWidth;0===f&&(f=d.parentNode.offsetWidth);h.style.position=d.style.position="";return{Y:-m.getBBox(h).h,mW:f,mH:e,zW:a,zH:c}},initImg:function(a){},initHTML:function(a,b){},initFont:function(a){var h=b.FONTDATA.FONTS,d=b.config.availableFonts;if(d&&d.length&&b.Font.testFont(h[a]))return h[a].available=!0,null;if(!this.allowWebFonts)return null;h[a].isWebFont=!0;b.FontFaceBug&&(h[a].family=a,b.msieFontCSSBug&&(h[a].family+="-Web"));return c.Styles({"@font-face":this.Font.fontFace(a)})},Remove:function(a){var b=document.getElementById(a.inputID+"-Frame");b&&(a.HTMLCSS.display&&(b=b.parentNode),b.parentNode.removeChild(b));delete a.HTMLCSS},getHD:function(a){var b=a.style.position;a.style.position="absolute";this.HDimg.style.height="0px";a.appendChild(this.HDspan);var d={h:a.offsetHeight};this.HDimg.style.height=d.h+"px";d.d=a.offsetHeight-d.h;d.h-=d.d;d.h/=this.em;d.d/=this.em;a.removeChild(this.HDspan);a.style.position=b;return d},getW:function(a){var b,d;b=(a.bbox||{}).w;var c=a;if(a.bbox&&a.bbox.exactW)return b;if(a.bbox&&0<=b&&!this.initialSkipBug||this.negativeBBoxes||!a.firstChild)b=a.offsetWidth,d=a.parentNode.offsetHeight;else if(a.bbox&&0>b&&this.msieNegativeBBoxBug)b=-a.offsetWidth,d=a.parentNode.offsetHeight;else{if(this.initialSkipBug){var e=a.style.position;a.style.position="absolute";c=this.startMarker;a.insertBefore(c,a.firstChild)}a.appendChild(this.endMarker);b=this.endMarker.offsetLeft-c.offsetLeft;a.removeChild(this.endMarker);this.initialSkipBug&&(a.removeChild(c),a.style.position=e)}null!=d&&(a.parentNode.HH=d/this.em);return b/this.em},Measured:function(a,b){var d=a.bbox;if(null==d.width&&d.w&&!d.isMultiline){var c=this.getW(a);d.rw+=c-d.w;d.w=c;d.exactW=!0}b||(b=a.parentNode);b.bbox||(b.bbox=d);return a},Remeasured:function(a,b){b.bbox=this.Measured(a,b).bbox},MeasureSpans:function(a){var b=[],d,c,e,f,g;c=0;for(e=a.length;c<e;c++)if(d=a[c])f=d.bbox,g=this.parentNode(d),f.exactW||f.width||0===f.w||f.isMultiline?g.bbox||(g.bbox=f):this.negativeBBoxes||!d.firstChild||0<=f.w&&!this.initialSkipBug||0>f.w&&this.msieNegativeBBoxBug?b.push([d]):this.initialSkipBug?(f=this.startMarker.cloneNode(!0),g=this.endMarker.cloneNode(!0),d.insertBefore(f,d.firstChild),d.appendChild(g),b.push([d,f,g,d.style.position]),d.style.position="absolute"):(g=this.endMarker.cloneNode(!0),d.appendChild(g),b.push([d,null,g]));c=0;for(e=b.length;c<e;c++)d=b[c][0],f=d.bbox,g=this.parentNode(d),0<=f.w&&!this.initialSkipBug||this.negativeBBoxes||!d.firstChild?(a=d.offsetWidth,g.HH=g.offsetHeight/this.em):0>f.w&&this.msieNegativeBBoxBug?(a=-d.offsetWidth,g.HH=g.offsetHeight/this.em):a=b[c][2].offsetLeft-((b[c][1]||{}).offsetLeft||0),a/=this.em,f.rw+=a-f.w,f.w=a,f.exactW=!0,g.bbox||(g.bbox=f);c=0;for(e=b.length;c<e;c++)d=b[c],d[1]&&(d[1].parentNode.removeChild(d[1]),d[0].style.position=d[3]),d[2]&&d[2].parentNode.removeChild(d[2])},Em:function(a){return 6E-4>Math.abs(a)?"0em":a.toFixed(3).replace(/\.?0+$/,"")+"em"},EmRounded:function(a){a=(Math.round(a*b.em)+.05)/b.em;return 6E-4>Math.abs(a)?"0em":a.toFixed(3).replace(/\.?0+$/,"")+"em"},unEm:function(a){return parseFloat(a)},Px:function(a){a*=this.em;return(0>a?"-":"")+Math.abs(a).toFixed(1).replace(/\.?0+$/,"")+"px"},unPx:function(a){return parseFloat(a)/this.em},Percent:function(a){return(100*a).toFixed(1).replace(/\.?0+$/,"")+"%"},length2em:function(a,h,d){"string"!==typeof a&&(a=a.toString());if(""===a)return"";if(a===k.SIZE.NORMAL)return 1;if(a===k.SIZE.BIG)return 2;if(a===k.SIZE.SMALL)return.71;if("infinity"===a)return b.BIGDIMEN;var c=this.FONTDATA.TeX_factor;if(a.match(/mathspace$/))return b.MATHSPACE[a]*c;var e=a.match(/^\s*([-+]?(?:\.\d+|\d+(?:\.\d*)?))?(pt|em|ex|mu|px|pc|in|mm|cm|%)?/);a=parseFloat(e[1]||"1");e=e[2];null==d&&(d=1);null==h&&(h=1);return"em"===e?a*c:"ex"===e?a*b.TeX.x_height*c:"%"===e?a/100*d:"px"===e?a/b.em:"pt"===e?a/10*c:"pc"===e?1.2*a*c:"in"===e?a*this.pxPerInch/b.em:"cm"===e?a*this.pxPerInch/b.em/2.54:"mm"===e?a*this.pxPerInch/b.em/25.4:"mu"===e?a/18*c*h:a*c*d},thickness2em:function(a,h){var d=b.TeX.rule_thickness;return a===k.LINETHICKNESS.MEDIUM?d:a===k.LINETHICKNESS.THIN?.67*d:a===k.LINETHICKNESS.THICK?1.67*d:this.length2em(a,h,d)},getPadding:function(a){var b={top:0,right:0,bottom:0,left:0},d=!1,c;for(c in b)if(b.hasOwnProperty(c)){var e=a.style["padding"+c.charAt(0).toUpperCase()+c.substr(1)];e&&(b[c]=this.length2em(e),d=!0)}return d?b:!1},getBorders:function(a){var b={top:0,right:0,bottom:0,left:0},d={},c=!1,e;for(e in b)if(b.hasOwnProperty(e)){var f="border"+e.charAt(0).toUpperCase()+e.substr(1);a.style[f+"Style"]&&(c=!0,b[e]=this.length2em(a.style[f+"Width"]),d[f]=[a.style[f+"Width"],a.style[f+"Style"],a.style[f+"Color"]].join(" "))}b.css=d;return c?b:!1},setBorders:function(a,b){if(b)for(var d in b.css)b.css.hasOwnProperty(d)&&(a.style[d]=b.css[d])},createStrut:function(a,b,d){b=this.Element("span",{isMathJax:!0,style:{display:"inline-block",overflow:"hidden",height:b+"px",width:"1px",marginRight:"-1px"}});d?a.insertBefore(b,a.firstChild):a.appendChild(b);return b},createBlank:function(a,b,d){b=this.Element("span",{isMathJax:!0,style:{display:"inline-block",overflow:"hidden",height:"1px",width:this.Em(b)}});d?a.insertBefore(b,a.firstChild):a.appendChild(b);return b},createShift:function(a,b,d){b=this.Element("span",{style:{marginLeft:this.Em(b)},isMathJax:!0});d?a.insertBefore(b,a.firstChild):a.appendChild(b);return b},createSpace:function(a,h,d,c,e,f){h<-d&&(d=-h);var g=this.Em(h+d),l=this.Em(-d);this.msieInlineBlockAlignBug&&(l=this.Em(b.getHD(a.parentNode).d-d));a.isBox||f?(f=null==a.scale?1:a.scale,a.bbox={exactW:!0,h:h*f,d:d*f,w:c*f,rw:c*f,lw:0},a.style.height=g,a.style.verticalAlign=l,a.HH=(h+d)*f):a=this.addElement(a,"span",{style:{height:g,verticalAlign:l},isMathJax:!0});0<=c?(a.style.width=this.Em(c),a.style.display="inline-block",a.style.overflow="hidden"):(this.msieNegativeSpaceBug&&(a.style.height=""),a.style.marginLeft=this.Em(c),b.safariNegativeSpaceBug&&a.parentNode.firstChild==a&&this.createBlank(a,0,!0));e&&e!==k.COLOR.TRANSPARENT&&(a.style.backgroundColor=e,a.style.position="relative");return a},createRule:function(a,h,d,c,e){h<-d&&(d=-h);var f=b.TeX.min_rule_thickness,g=1;0<c&&c*this.em<f&&(c=f/this.em);0<h+d&&(h+d)*this.em<f&&(g=1/(h+d)*(f/this.em),h*=g,d*=g);e=e?"solid "+e:"solid";e=this.Em(c)+" "+e;f=1===g?this.Em(h+d):f+"px";g=this.Em(-d);e=this.addElement(a,"span",{style:{borderLeft:e,display:"inline-block",overflow:"hidden",width:0,height:f,verticalAlign:g},bbox:{h:h,d:d,w:c,rw:c,lw:0,exactW:!0},noAdjust:!0,HH:h+d,isMathJax:!0});0<c&&0==e.offsetWidth&&(e.style.width=this.Em(c));if(a.isBox||"mspace"==a.className)a.bbox=e.bbox,a.HH=h+d;return e},createFrame:function(a,b,d,c,e,f){b<-d&&(d=-b);var g=2*e;this.msieFrameSizeBug&&(c<g&&(c=g),b+d<g&&(b=g-d));this.msieBorderWidthBug&&(g=0);var k=this.Em(b+d-g),l=this.Em(-d-e),g=this.Em(c-g);e=this.Em(e)+" "+f;a=this.addElement(a,"span",{style:{border:e,display:"inline-block",overflow:"hidden",width:g,height:k},bbox:{h:b,d:d,w:c,rw:c,lw:0,exactW:!0},noAdjust:!0,HH:b+d,isMathJax:!0});l&&(a.style.verticalAlign=l);return a},parentNode:function(a){a=a.parentNode;"a"===a.nodeName.toLowerCase()&&(a=a.parentNode);return a},createStack:function(a,b,d){this.msiePaddingWidthBug&&this.createStrut(a,0);var c=String(d).match(/%$/),e=c||null==d?0:d;a=this.addElement(a,"span",{noAdjust:!0,HH:0,isMathJax:!0,style:{display:"inline-block",position:"relative",width:c?"100%":this.Em(e),height:0}});b||(a.parentNode.bbox=a.bbox={exactW:!0,h:-this.BIGDIMEN,d:-this.BIGDIMEN,w:e,lw:this.BIGDIMEN,rw:c||null==d?-this.BIGDIMEN:d},c&&(a.bbox.width=d));return a},createBox:function(a,b){var d=this.addElement(a,"span",{style:{position:"absolute"},isBox:!0,isMathJax:!0});null!=b&&(d.style.width=b);return d},addBox:function(a,b){b.style.position="absolute";b.isBox=b.isMathJax=!0;return a.appendChild(b)},placeBox:function(a,h,d,c){a.isMathJax=!0;var e=b.parentNode(a),f=a.bbox,g=e.bbox;this.msiePlaceBoxBug&&this.addText(a,this.NBSP);this.imgSpaceBug&&this.addText(a,this.imgSpace);var k,l=0;k=null!=a.HH?a.HH:f?Math.max(3,f.h+f.d):a.offsetHeight/this.em;a.noAdjust||(k=Math.round((k+1)*this.em)/this.em,this.msieInlineBlockAlignBug?this.addElement(a,"img",{className:"MathJax_strut",border:0,src:"about:blank",isMathJax:!0,style:{width:0,height:this.Em(k)}}):(this.addElement(a,"span",{isMathJax:!0,style:{display:"inline-block",width:0,height:this.Em(k)}}),b.chromeHeightBug&&(k-=(a.lastChild.offsetHeight-Math.round(k*this.em))/this.em)));if(f&&(this.initialSkipBug&&(0>f.lw&&(l=f.lw,b.createBlank(a,-l,!0)),f.rw>f.w&&b.createBlank(a,f.rw-f.w+.1)),!this.msieClipRectBug&&!f.noclip&&!c)){c=3/this.em;var r=null==f.H?f.h:f.H,m=k+(null==f.D?f.d:f.D)+c,w=f.lw-3*c,n=1E3;this.initialSkipBug&&0>f.lw&&(w=-3*c);f.isFixed&&(n=f.width-w);a.style.clip="rect("+this.Em(k-r-c)+" "+this.Em(n)+" "+this.Em(m)+" "+this.Em(w)+")"}a.style.top=this.Em(-d-k);a.style.left=this.Em(h+l);f&&g&&(null!=f.H&&(null==g.H||f.H+d>g.H)&&(g.H=f.H+d),null!=f.D&&(null==g.D||f.D-d>g.D)&&(g.D=f.D-d),f.h+d>g.h&&(g.h=f.h+d),f.d-d>g.d&&(g.d=f.d-d),null!=g.H&&g.H<=g.h&&delete g.H,null!=g.D&&g.D<=g.d&&delete g.D,f.w+h>g.w&&(g.w=f.w+h,null==g.width&&(e.style.width=this.Em(g.w))),f.rw+h>g.rw&&(g.rw=f.rw+h),f.lw+h<g.lw&&(g.lw=f.lw+h),null==f.width||f.isFixed||(null==g.width&&(e.style.width=g.width="100%",f.minWidth&&(e.style.minWidth=g.minWidth=f.minWidth)),a.style.width=f.width))},alignBox:function(a,b,d){this.placeBox(a,0,d);d=a.bbox;if(!d.isMultiline){var c=null!=d.width&&!d.isFixed,e=0,f=-d.w/2,k="50%";this.initialSkipBug&&(e=d.w-d.rw-.1,f+=d.lw);f=this.msieMarginScaleBug?f*this.em+"px":this.Em(f);c&&(f="",k=50-parseFloat(d.width)/2+"%");g.Insert(a.style,{right:{left:"",right:this.Em(e)},center:{left:k,marginLeft:f}}[b])}},setStackWidth:function(a,b){if("number"===typeof b){a.style.width=this.Em(Math.max(0,b));var d=a.bbox;d&&(d.w=b,d.exactW=!0);if(d=a.parentNode.bbox)d.w=b,d.exactW=!0}else a.style.width=a.parentNode.style.width="100%",a.bbox&&(a.bbox.width=b),a.parentNode.bbox&&(a.parentNode.bbox.width=b)},createDelimiter:function(a,b,d,u,e){if(b){u||(u=1);d instanceof Array||(d=[d,d]);var f=d[1];d=d[0];for(var q={alias:b};q.alias;)b=q.alias,(q=this.FONTDATA.DELIMITERS[b])||(q={HW:[0,this.FONTDATA.VARIANT[k.VARIANT.NORMAL]]});q.load&&g.RestartAfter(c.Require(this.fontDir+"/fontdata-"+q.load+".js"));for(var l=0,v=q.HW.length;l<v;l++)if(q.HW[l][0]*u>=d-.01||l==v-1&&!q.stretch){q.HW[l][2]&&(u*=q.HW[l][2]);q.HW[l][3]&&(b=q.HW[l][3]);d=this.addElement(a,"span");this.createChar(d,[b,q.HW[l][1]],u,e);a.bbox=d.bbox;a.offset=.65*a.bbox.w;a.scale=u;return}if(q.stretch)this["extendDelimiter"+q.dir](a,f,q.stretch,u,e)}else a.bbox={h:0,d:0,w:this.TeX.nulldelimiterspace,lw:0},a.bbox.rw=a.bbox.w,this.createSpace(a,a.bbox.h,a.bbox.d,a.bbox.w)},extendDelimiterV:function(a,b,d,c,e){var f=this.createStack(a,!0),g=this.createBox(f),k=this.createBox(f);this.createChar(g,d.top||d.ext,c,e);this.createChar(k,d.bot||d.ext,c,e);var l={bbox:{w:0,lw:0,rw:0}},r=l,m,n=g.bbox.h+g.bbox.d+k.bbox.h+k.bbox.d,p=-g.bbox.h;this.placeBox(g,0,p,!0);p-=g.bbox.d;d.mid&&(r=this.createBox(f),this.createChar(r,d.mid,c,e),n+=r.bbox.h+r.bbox.d);d.min&&b<n*d.min&&(b=n*d.min);if(b>n){l=this.Element("span");this.createChar(l,d.ext,c,e);m=l.bbox.h+l.bbox.d;var t=m-.05,C,z,G=d.mid?2:1;z=C=Math.min(Math.ceil((b-n)/(G*t)),this.maxStretchyParts);d.fullExtenders||(t=(b-n)/(G*C));b=C/(C+1)*(m-t);t=m-b;for(p+=b+t-l.bbox.h;0<G--;){for(;0<C--;)this.msieCloneNodeBug?(m=this.Element("span"),this.createChar(m,d.ext,c,e)):m=l.cloneNode(!0),m.bbox=l.bbox,p-=t,this.placeBox(this.addBox(f,m),0,p,!0);p+=b-l.bbox.d;d.mid&&G&&(this.placeBox(r,0,p-r.bbox.h,!0),C=z,p+=-(r.bbox.h+r.bbox.d)+b+t-l.bbox.h)}}else p+=(n-b)/2,d.mid&&(this.placeBox(r,0,p-r.bbox.h,!0),p+=-(r.bbox.h+r.bbox.d)),p+=(n-b)/2;this.placeBox(k,0,p-k.bbox.h,!0);p-=k.bbox.h+k.bbox.d;a.bbox={w:Math.max(g.bbox.w,l.bbox.w,k.bbox.w,r.bbox.w),lw:Math.min(g.bbox.lw,l.bbox.lw,k.bbox.lw,r.bbox.lw),rw:Math.max(g.bbox.rw,l.bbox.rw,k.bbox.rw,r.bbox.rw),h:0,d:-p,exactW:!0};a.scale=c;a.offset=.55*a.bbox.w;a.isMultiChar=!0;this.setStackWidth(f,a.bbox.w)},extendDelimiterH:function(a,b,d,c,e){var f=this.createStack(a,!0),g=this.createBox(f),k=this.createBox(f);this.createChar(g,d.left||d.rep,c,e);this.createChar(k,d.right||d.rep,c,e);var l=this.Element("span");this.createChar(l,d.rep,c,e);var r={bbox:{h:-this.BIGDIMEN,d:-this.BIGDIMEN}},m;this.placeBox(g,-g.bbox.lw,0,!0);var n=g.bbox.rw-g.bbox.lw+(k.bbox.rw-k.bbox.lw)-.05,p=g.bbox.rw-g.bbox.lw-.025;d.mid&&(r=this.createBox(f),this.createChar(r,d.mid,c,e),n+=r.bbox.w);d.min&&b<n*d.min&&(b=n*d.min);if(b>n){m=l.bbox.rw-l.bbox.lw;var t=m-.05,C,z,G=d.mid?2:1;z=C=Math.min(Math.ceil((b-n)/(G*t)),this.maxStretchyParts);d.fillExtenders||(t=(b-n)/(G*C));b=C/(C+1)*(m-t);t=m-b;for(p-=l.bbox.lw+b;0<G--;){for(;0<C--;)this.cloneNodeBug?(m=this.Element("span"),this.createChar(m,d.rep,c,e)):m=l.cloneNode(!0),m.bbox=l.bbox,this.placeBox(this.addBox(f,m),p,0,!0),p+=t;d.mid&&G&&(this.placeBox(r,p,0,!0),p+=r.bbox.w-b,C=z)}}else p-=(n-b)/2,d.mid&&(this.placeBox(r,p,0,!0),p+=r.bbox.w),p-=(n-b)/2;this.placeBox(k,p,0,!0);a.bbox={w:p+k.bbox.rw,lw:0,rw:p+k.bbox.rw,H:Math.max(g.bbox.h,l.bbox.h,k.bbox.h,r.bbox.h),D:Math.max(g.bbox.d,l.bbox.d,k.bbox.d,r.bbox.d),h:l.bbox.h,d:l.bbox.d,exactW:!0};a.scale=c;a.isMultiChar=!0;this.setStackWidth(f,a.bbox.w)},createChar:function(a,b,d,c){a.isMathJax=!0;var e=a,f="",g={fonts:[b[1]],noRemap:!0};c&&c===k.VARIANT.BOLD&&(g.fonts=[b[1]+"-bold",b[1]]);"string"!==typeof b[1]&&(g=b[1]);if(b[0]instanceof Array){c=0;for(var l=b[0].length;c<l;c++)f+=String.fromCharCode(b[0][c])}else f=String.fromCharCode(b[0]);b[4]&&(d*=b[4]);1!==d||b[3]?(e=this.addElement(a,"span",{style:{fontSize:this.Percent(d)},scale:d,isMathJax:!0}),this.handleVariant(e,g,f),a.bbox=e.bbox):this.handleVariant(a,g,f);b[2]&&(a.style.marginLeft=this.Em(b[2]));b[3]&&(a.firstChild.style.verticalAlign=this.Em(b[3]),a.bbox.h+=b[3],0>a.bbox.h&&(a.bbox.h=0));b[5]&&(a.bbox.h+=b[5]);b[6]&&(a.bbox.d+=b[6]);this.AccentBug&&0===a.bbox.w&&(e.firstChild.nodeValue+=this.NBSP)},positionDelimiter:function(a,h){h-=a.bbox.h;a.bbox.d-=h;a.bbox.h+=h;h&&(this.safariVerticalAlignBug||this.konquerorVerticalAlignBug||this.operaVerticalAlignBug&&a.isMultiChar?(""===a.firstChild.style.display&&""!==a.style.top&&(a=a.firstChild,h-=b.unEm(a.style.top)),a.style.position="relative",a.style.top=this.Em(-h)):(a.style.verticalAlign=this.Em(h),b.ffVerticalAlignBug&&b.createRule(a.parentNode,a.bbox.h,0,0)))},handleVariant:function(a,b,d){var c="",e,f,g,l=a,m=!!a.style.fontFamily;if(0!==d.length){a.bbox||(a.bbox={w:0,h:-this.BIGDIMEN,d:-this.BIGDIMEN,rw:-this.BIGDIMEN,lw:this.BIGDIMEN});b||(b=this.FONTDATA.VARIANT[k.VARIANT.NORMAL]);g=b;for(var r=0,n=d.length;r<n;r++){b=g;e=d.charCodeAt(r);d.charAt(r);if(55296<=e&&56319>e)r++,e=(e-55296<<10)+(d.charCodeAt(r)-56320)+65536,this.FONTDATA.RemapPlane1&&(b=this.FONTDATA.RemapPlane1(e,b),e=b.n,b=b.variant);else{var p,t=this.FONTDATA.RANGES;f=0;for(p=t.length;f<p;f++)if("alpha"!==t[f].name||!b.noLowerCase){var A=b["offset"+t[f].offset];if(A&&e>=t[f].low&&e<=t[f].high){t[f].remap&&t[f].remap[e]?e=A+t[f].remap[e]:(e=e-t[f].low+A,t[f].add&&(e+=t[f].add));b["variant"+t[f].offset]&&(b=this.FONTDATA.VARIANT[b["variant"+t[f].offset]]);break}}}b.remap&&b.remap[e]&&(b.remap[e]instanceof Array?(b=b.remap[e],e=b[0],b=this.FONTDATA.VARIANT[b[1]]):"string"===typeof b.remap[e]?(d=b.remap[e]+d.substr(r+1),r=0,n=d.length,e=d.charCodeAt(0)):(e=b.remap[e],b.remap.variant&&(b=this.FONTDATA.VARIANT[b.remap.variant])));this.FONTDATA.REMAP[e]&&!b.noRemap&&(e=this.FONTDATA.REMAP[e],e instanceof Array&&(b=this.FONTDATA.VARIANT[e[1]],e=e[0]),"string"===typeof e&&(d=e+d.substr(r+1),r=0,n=d.length,e=e.charCodeAt(0)));f=this.lookupChar(b,e);b=f[e];if(m||!this.checkFont(f,l.style)&&!b[5].img)c.length&&(this.addText(l,c),c=""),p=!!l.style.fontFamily||!!a.style.fontStyle||!!a.style.fontWeight||!f.directory||m,m=!1,l!==a&&(p=!this.checkFont(f,a.style),l=a),p&&(l=this.addElement(a,"span",{isMathJax:!0,subSpan:!0})),this.handleFont(l,f,l!==a);c=this.handleChar(l,f,b,e,c);(b[5]||{}).space||(b[0]/1E3>a.bbox.h&&(a.bbox.h=b[0]/1E3),b[1]/1E3>a.bbox.d&&(a.bbox.d=b[1]/1E3));a.bbox.w+b[3]/1E3<a.bbox.lw&&(a.bbox.lw=a.bbox.w+b[3]/1E3);a.bbox.w+b[4]/1E3>a.bbox.rw&&(a.bbox.rw=a.bbox.w+b[4]/1E3);a.bbox.w+=b[2]/1E3}c.length&&this.addText(l,c);a.scale&&1!==a.scale&&(a.bbox.h*=a.scale,a.bbox.d*=a.scale,a.bbox.w*=a.scale,a.bbox.lw*=a.scale,a.bbox.rw*=a.scale);1==d.length&&f.skew&&f.skew[e]&&(a.bbox.skew=f.skew[e])}},checkFont:function(a,b){var d=b.fontWeight||"normal";d.match(/^\d+$/)&&(d=600<=parseInt(d)?"bold":"normal");return a.family.replace(/'/g,"")===b.fontFamily.replace(/'/g,"")&&(a.style||"normal")===(b.fontStyle||"normal")&&(a.weight||"normal")===d},handleFont:function(a,c,d){a.style.fontFamily=c.family;c.directory||(a.style.fontSize=Math.floor(100/b.scale+.5)+"%");if(!b.FontFaceBug||!c.isWebFont){var g=c.style||"normal";c=c.weight||"normal";if("normal"!==g||d)a.style.fontStyle=g;if("normal"!==c||d)a.style.fontWeight=c}},handleChar:function(a,c,d,g,e){var f=d[5];if(f.space)return e.length&&this.addText(a,e),b.createShift(a,d[2]/1E3),"";if(f.img)return this.handleImg(a,c,d,g,e);if(f.isUnknown&&this.FONTDATA.DELIMITERS[g])return e.length&&this.addText(a,e),e=a.scale,b.createDelimiter(a,g,0,1,c),"V"===this.FONTDATA.DELIMITERS[g].dir&&(a.style.verticalAlign=this.Em(a.bbox.d),a.bbox.h+=a.bbox.d,a.bbox.d=0),a.scale=e,d[0]=1E3*a.bbox.h,d[1]=1E3*a.bbox.d,d[2]=1E3*a.bbox.w,d[3]=1E3*a.bbox.lw,d[4]=1E3*a.bbox.rw,"";null==f.c&&(65535>=g?f.c=String.fromCharCode(g):(c=g-65536,f.c=String.fromCharCode((c>>10)+55296)+String.fromCharCode((c&1023)+56320)));if(f.rfix)return this.addText(a,e+f.c),b.createShift(a,f.rfix/1E3),"";if(d[2]||!this.msieAccentBug||e.length)return e+f.c;b.createShift(a,d[3]/1E3);b.createShift(a,(d[4]-d[3])/1E3);this.addText(a,f.c);b.createShift(a,-d[4]/1E3);return""},handleImg:function(a,b,d,c,e){return e},lookupChar:function(a,c){var d,g;if(!a.FONTS){var e=this.FONTDATA.FONTS,f=a.fonts||this.FONTDATA.VARIANT.normal.fonts;f instanceof Array||(f=[f]);a.fonts!=f&&(a.fonts=f);a.FONTS=[];d=0;for(g=f.length;d<g;d++)e[f[d]]&&(a.FONTS.push(e[f[d]]),e[f[d]].name=f[d])}d=0;for(g=a.FONTS.length;d<g;d++)if(e=a.FONTS[d],"string"===typeof e&&(delete a.FONTS,this.loadFont(e)),e[c])if(5===e[c].length&&(e[c][5]={}),b.allowWebFonts&&!e.available)this.loadWebFont(e);else return e;else this.findBlock(e,c);return this.unknownChar(a,c)},unknownChar:function(a,c){var d=a.defaultFont||{family:b.config.undefinedFamily};a.bold&&(d.weight="bold");a.italic&&(d.style="italic");d[c]||(d[c]=[800,200,500,0,500,{isUnknown:!0}]);g.signal.Post(["HTML-CSS Jax - unknown char",c,a]);return d},findBlock:function(a,b){if(a.Ranges)for(var d=0,c=a.Ranges.length;d<c&&!(b<a.Ranges[d][0]);d++)if(b<=a.Ranges[d][1]){for(var e=a.Ranges[d][2],f=a.Ranges.length-1;0<=f;f--)a.Ranges[f][2]==e&&a.Ranges.splice(f,1);this.loadFont(a.directory+"/"+e+".js")}},loadFont:function(a){var h=MathJax.Callback.Queue();h.Push(["Require",c,this.fontDir+"/"+a]);this.imgFonts&&(MathJax.isPacked||(a=a.replace(/\/([^\/]*)$/,b.imgPacked+"/$1")),h.Push(["Require",c,this.webfontDir+"/png/"+a]));g.RestartAfter(h.Push({}))},loadWebFont:function(a){a.available=a.isWebFont=!0;b.FontFaceBug&&(a.family=a.name,b.msieFontCSSBug&&(a.family+="-Web"));g.RestartAfter(this.Font.loadWebFont(a))},loadWebFontError:function(a,b){g.Startup.signal.Post("HTML-CSS Jax - disable web fonts");a.isWebFont=!1;this.config.imageFont&&this.config.imageFont===this.fontInUse?(this.imgFonts=!0,g.Startup.signal.Post("HTML-CSS Jax - switch to image fonts"),g.Startup.signal.Post("HTML-CSS Jax - using image fonts"),n(["WebFontNotAvailable","Web-Fonts not available -- using image fonts instead"],null,3E3),c.Require(this.directory+"/imageFonts.js",b)):(this.allowWebFonts=!1,b())},Element:MathJax.HTML.Element,addElement:MathJax.HTML.addElement,TextNode:MathJax.HTML.TextNode,addText:MathJax.HTML.addText,ucMatch:MathJax.HTML.ucMatch,BIGDIMEN:1E7,ID:0,idPostfix:"",GetID:function(){this.ID++;return this.ID},MATHSPACE:{veryverythinmathspace:1/18,verythinmathspace:2/18,thinmathspace:3/18,mediummathspace:4/18,thickmathspace:5/18,verythickmathspace:6/18,veryverythickmathspace:7/18,negativeveryverythinmathspace:-1/18,negativeverythinmathspace:-2/18,negativethinmathspace:-3/18,negativemediummathspace:-4/18,negativethickmathspace:-5/18,negativeverythickmathspace:-6/18,negativeveryverythickmathspace:-7/18},TeX:{x_height:.430554,quad:1,num1:.676508,num2:.393732,num3:.44373,denom1:.685951,denom2:.344841,sup1:.412892,sup2:.362892,sup3:.288888,sub1:.15,sub2:.247217,sup_drop:.386108,sub_drop:.05,delim1:2.39,delim2:1,axis_height:.25,rule_thickness:.06,big_op_spacing1:.111111,big_op_spacing2:.166666,big_op_spacing3:.2,big_op_spacing4:.6,big_op_spacing5:.1,scriptspace:.1,nulldelimiterspace:.12,delimiterfactor:901,delimitershortfall:.1,min_rule_thickness:1.25},NBSP:"\u00a0",rfuzz:0});MathJax.Hub.Register.StartupHook("mml Jax Ready",function(){k=MathJax.ElementJax.mml;k.mbase.Augment({toHTML:function(a){a=this.HTMLcreateSpan(a);"mrow"!=this.type&&(a=this.HTMLhandleSize(a));for(var b=0,d=this.data.length;b<d;b++)this.data[b]&&this.data[b].toHTML(a);for(var c=this.HTMLcomputeBBox(a),e=a.bbox.h,f=a.bbox.d,b=0,d=c.length;b<d;b++)c[b].HTMLstretchV(a,e,f);c.length&&this.HTMLcomputeBBox(a,!0);this.HTMLlineBreaks(a)&&(a=this.HTMLmultiline(a));this.HTMLhandleSpace(a);this.HTMLhandleColor(a);return a},HTMLlineBreaks:function(){return!1},HTMLmultiline:function(){k.mbase.HTMLautoloadFile("multiline")},HTMLcomputeBBox:function(a,b,d,c){null==d&&(d=0);null==c&&(c=this.data.length);a=a.bbox={exactW:!0};for(var e=[];d<c;){var f=this.data[d];f&&(!b&&f.HTMLcanStretch("Vertical")&&(e.push(f),f=f.CoreMO()||f),this.HTMLcombineBBoxes(f,a),d++)}this.HTMLcleanBBox(a);return e},HTMLcombineBBoxes:function(a,c){null==c.w&&this.HTMLemptyBBox(c);var d=a.bbox?a:a.HTMLspanElement();if(d&&d.bbox){var g=d.bbox;g.d>c.d&&(c.d=g.d);g.h>c.h&&(c.h=g.h);null!=g.D&&g.D>c.D&&(c.D=g.D);null!=g.H&&g.H>c.H&&(c.H=g.H);d.style.paddingLeft&&(c.w+=b.unEm(d.style.paddingLeft)*(d.scale||1));c.w+g.lw<c.lw&&(c.lw=c.w+g.lw);c.w+g.rw>c.rw&&(c.rw=c.w+g.rw);c.w+=g.w;d.style.paddingRight&&(c.w+=b.unEm(d.style.paddingRight)*(d.scale||1));g.width&&(c.width=g.width,c.minWidth=g.minWidth);g.ic?c.ic=g.ic:delete c.ic;c.exactW&&!g.exactW&&delete c.exactW}},HTMLemptyBBox:function(a){a.h=a.d=a.H=a.D=a.rw=-b.BIGDIMEN;a.w=0;a.lw=b.BIGDIMEN;return a},HTMLcleanBBox:function(a){a.h===this.BIGDIMEN&&(a.h=a.d=a.H=a.D=a.w=a.rw=a.lw=0);a.D<=a.d&&delete a.D;a.H<=a.h&&delete a.H},HTMLzeroBBox:function(){return{h:0,d:0,w:0,lw:0,rw:0}},HTMLcanStretch:function(a){if(this.isEmbellished()){var b=this.Core();if(b&&b!==this)return b.HTMLcanStretch(a)}return!1},HTMLstretchH:function(a,b){return this.HTMLspanElement()},HTMLstretchV:function(a,b,d){return this.HTMLspanElement()},HTMLnotEmpty:function(a){for(;a;){if("mrow"!==a.type&&"texatom"!==a.type||1<a.data.length)return!0;a=a.data[0]}return!1},HTMLmeasureChild:function(a,c){this.data[a]?b.Measured(this.data[a].toHTML(c),c):c.bbox=this.HTMLzeroBBox()},HTMLboxChild:function(a,b){this.data[a]||this.SetData(a,k.mrow());return this.data[a].toHTML(b)},HTMLcreateSpan:function(a){if(this.spanID){var c=this.HTMLspanElement();if(c&&(c.parentNode===a||(c.parentNode||{}).parentNode===a)){for(;c.firstChild;)c.removeChild(c.firstChild);c.bbox=this.HTMLzeroBBox();c.scale=1;c.isMultChar=c.HH=null;c.style.cssText="";return c}}this.href&&(a=b.addElement(a,"a",{href:this.href,isMathJax:!0}));a=b.addElement(a,"span",{className:this.type,isMathJax:!0});b.imgHeightBug&&(a.style.display="inline-block");this["class"]&&(a.className+=" "+this["class"]);this.spanID||(this.spanID=b.GetID());a.id=(this.id||"MathJax-Span-"+this.spanID)+b.idPostfix;a.bbox=this.HTMLzeroBBox();this.styles={};this.style&&(a.style.cssText=this.style,a.style.fontSize&&(this.mathsize=a.style.fontSize,a.style.fontSize=""),this.styles={border:b.getBorders(a),padding:b.getPadding(a)},this.styles.border&&(a.style.border=""),this.styles.padding&&(a.style.padding=""));this.href&&(a.parentNode.bbox=a.bbox);return a},HTMLspanElement:function(){return this.spanID?document.getElementById((this.id||"MathJax-Span-"+this.spanID)+b.idPostfix):null},HTMLhandleVariant:function(a,c,d){b.handleVariant(a,c,d)},HTMLhandleSize:function(a){a.scale||(a.scale=this.HTMLgetScale(),1!==a.scale&&(a.style.fontSize=b.Percent(a.scale)));return a},HTMLhandleColor:function(a){var c=this.getValues("mathcolor","color");this.mathbackground&&(c.mathbackground=this.mathbackground);this.background&&(c.background=this.background);this.style&&a.style.backgroundColor&&(c.mathbackground=a.style.backgroundColor,a.style.backgroundColor="transparent");var d=(this.styles||{}).border,g=(this.styles||{}).padding;c.color&&!this.mathcolor&&(c.mathcolor=c.color);c.background&&!this.mathbackground&&(c.mathbackground=c.background);c.mathcolor&&(a.style.color=c.mathcolor);if(c.mathbackground&&c.mathbackground!==k.COLOR.TRANSPARENT||d||g){var e=a.bbox,f=e.exact?0:1/b.em,l=0,m=0,n=a.style.paddingLeft,r=a.style.paddingRight;this.isToken&&(l=e.lw,m=e.rw-e.w);""!==n&&(l+=b.unEm(n)*(a.scale||1));""!==r&&(m-=b.unEm(r)*(a.scale||1));var m=b.PaddingWidthBug||e.keepPadding||e.exactW?0:m-l,n=Math.max(0,b.getW(a)+m),r=e.h+e.d,p=-e.d,w=0,t=0;0<n&&(n+=2*f,l-=f);0<r&&(r+=2*f,p-=f);m=-n-l;d&&(m-=d.right,p-=d.bottom,w+=d.left,t+=d.right,e.h+=d.top,e.d+=d.bottom,e.w+=d.left+d.right,e.lw-=d.left,e.rw+=d.right);g&&(r+=g.top+g.bottom,n+=g.left+g.right,m-=g.right,p-=g.bottom,w+=g.left,t+=g.right,e.h+=g.top,e.d+=g.bottom,e.w+=g.left+g.right,e.lw-=g.left,e.rw+=g.right);t&&(a.style.paddingRight=b.Em(t));g=b.Element("span",{id:"MathJax-Color-"+this.spanID+b.idPostfix,isMathJax:!0,style:{display:"inline-block",backgroundColor:c.mathbackground,width:b.Em(n),height:b.Em(r),verticalAlign:b.Em(p),marginLeft:b.Em(l),marginRight:b.Em(m)}});b.setBorders(g,d);e.width&&(g.style.width=e.width,g.style.marginRight="-"+e.width);b.msieInlineBlockAlignBug&&(g.style.position="relative",g.style.width=g.style.height=0,g.style.verticalAlign=g.style.marginLeft=g.style.marginRight="",g.style.border=g.style.padding="",d&&b.msieBorderWidthBug&&(r+=d.top+d.bottom,n+=d.left+d.right),g.style.width=b.Em(w+f),b.placeBox(b.addElement(g,"span",{noAdjust:!0,isMathJax:!0,style:{display:"inline-block",position:"absolute",overflow:"hidden",background:c.mathbackground||"transparent",width:b.Em(n),height:b.Em(r)}}),l,e.h+f),b.setBorders(g.firstChild,d));a.parentNode.insertBefore(g,a);b.msieColorPositionBug&&(a.style.position="relative");return g}return null},HTMLremoveColor:function(){var a=document.getElementById("MathJax-Color-"+this.spanID+b.idPostfix);a&&a.parentNode.removeChild(a)},HTMLhandleSpace:function(a){if(this.useMMLspacing){if("mo"===this.type){var c=this.getValues("scriptlevel","lspace","rspace");if(0>=c.scriptlevel||this.hasValue("lspace")||this.hasValue("rspace")){var d=this.HTMLgetMu(a);c.lspace=Math.max(0,b.length2em(c.lspace,d));c.rspace=Math.max(0,b.length2em(c.rspace,d));for(var d=this,g=this.Parent();g&&g.isEmbellished()&&g.Core()===d;)d=g,g=g.Parent(),a=d.HTMLspanElement();c.lspace&&(a.style.paddingLeft=b.Em(c.lspace));c.rspace&&(a.style.paddingRight=b.Em(c.rspace))}}}else c=this.texSpacing(),""!==c&&(c=b.length2em(c,this.HTMLgetScale())/(a.scale||1),a.style.paddingLeft&&(c+=b.unEm(a.style.paddingLeft)),a.style.paddingLeft=b.Em(c))},HTMLgetScale:function(){var a=1,c=this.getValues("mathsize","scriptlevel","fontsize");if(this.style){var d=this.HTMLspanElement();""!=d.style.fontSize&&(c.fontsize=d.style.fontSize)}c.fontsize&&!this.mathsize&&(c.mathsize=c.fontsize);0!==c.scriptlevel&&(2<c.scriptlevel&&(c.scriptlevel=2),a=Math.pow(this.Get("scriptsizemultiplier"),c.scriptlevel),c.scriptminsize=b.length2em(this.Get("scriptminsize")),a<c.scriptminsize&&(a=c.scriptminsize));this.isToken&&(a*=b.length2em(c.mathsize));return a},HTMLgetMu:function(a){var b=1,c=this.getValues("scriptlevel","scriptsizemultiplier");a.scale&&1!==a.scale&&(b=1/a.scale);0!==c.scriptlevel&&(2<c.scriptlevel&&(c.scriptlevel=2),b=Math.sqrt(Math.pow(c.scriptsizemultiplier,c.scriptlevel)));return b},HTMLgetVariant:function(){var a=this.getValues("mathvariant","fontfamily","fontweight","fontstyle");a.hasVariant=this.Get("mathvariant",!0);a.hasVariant||(a.family=a.fontfamily,a.weight=a.fontweight,a.style=a.fontstyle);if(this.style){var c=this.HTMLspanElement();!a.family&&c.style.fontFamily&&(a.family=c.style.fontFamily);!a.weight&&c.style.fontWeight&&(a.weight=c.style.fontWeight);!a.style&&c.style.fontStyle&&(a.style=c.style.fontStyle)}a.weight&&a.weight.match(/^\d+$/)&&(a.weight=600<parseInt(a.weight)?"bold":"normal");c=a.mathvariant;this.variantForm&&(c="-"+b.fontInUse+"-variant");if(a.family&&!a.hasVariant)return!a.weight&&a.mathvariant.match(/bold/)&&(a.weight="bold"),!a.style&&a.mathvariant.match(/italic/)&&(a.style="italic"),{FONTS:[],fonts:[],noRemap:!0,defaultFont:{family:a.family,style:a.style,weight:a.weight}};"bold"===a.weight?c={normal:k.VARIANT.BOLD,italic:k.VARIANT.BOLDITALIC,fraktur:k.VARIANT.BOLDFRAKTUR,script:k.VARIANT.BOLDSCRIPT,"sans-serif":k.VARIANT.BOLDSANSSERIF,"sans-serif-italic":k.VARIANT.SANSSERIFBOLDITALIC}[c]||c:"normal"===a.weight&&(c={bold:k.VARIANT.normal,"bold-italic":k.VARIANT.ITALIC,"bold-fraktur":k.VARIANT.FRAKTUR,"bold-script":k.VARIANT.SCRIPT,"bold-sans-serif":k.VARIANT.SANSSERIF,"sans-serif-bold-italic":k.VARIANT.SANSSERIFITALIC}[c]||c);"italic"===a.style?c={normal:k.VARIANT.ITALIC,bold:k.VARIANT.BOLDITALIC,"sans-serif":k.VARIANT.SANSSERIFITALIC,"bold-sans-serif":k.VARIANT.SANSSERIFBOLDITALIC}[c]||c:"normal"===a.style&&(c={italic:k.VARIANT.NORMAL,"bold-italic":k.VARIANT.BOLD,"sans-serif-italic":k.VARIANT.SANSSERIF,"sans-serif-bold-italic":k.VARIANT.BOLDSANSSERIF}[c]||c);c in b.FONTDATA.VARIANT||(c="normal");return b.FONTDATA.VARIANT[c]}},{HTMLautoload:function(){g.RestartAfter(c.Require(b.autoloadDir+"/"+this.type+".js"))},HTMLautoloadFile:function(a){g.RestartAfter(c.Require(b.autoloadDir+"/"+a+".js"))},HTMLstretchH:function(a,b){this.HTMLremoveColor();return this.toHTML(a,b)},HTMLstretchV:function(a,b,c){this.HTMLremoveColor();return this.toHTML(a,b,c)}});k.chars.Augment({toHTML:function(a,c,d,g){var e=this.data.join("").replace(/[\u2061-\u2064]/g,"");d&&(e=d(e,g));c.fontInherit?(b.addElement(a,"span",{style:{"font-size":Math.floor(100/b.scale+.5)+"%"}},[e]),c.bold&&(a.lastChild.style.fontWeight="bold"),c.italic&&(a.lastChild.style.fontStyle="italic"),c=b.getHD(a),d=b.getW(a),a.bbox={h:c.h,d:c.d,w:d,lw:0,rw:d,exactW:!0}):this.HTMLhandleVariant(a,c,e)}});k.entity.Augment({toHTML:function(a,c,d,g){var e=this.toString().replace(/[\u2061-\u2064]/g,"");d&&(e=d(e,g));c.fontInherit?(b.addElement(a,"span",{style:{"font-size":Math.floor(100/b.scale+.5)+"%"}},[e]),c.bold&&(a.lastChild.style.fontWeight="bold"),c.italic&&(a.lastChild.style.fontStyle="italic"),c=b.getHD(a),d=b.getW(a),a.bbox={h:c.h,d:c.d,w:d,lw:0,rw:d,exactW:!0}):this.HTMLhandleVariant(a,c,e)}});k.mi.Augment({toHTML:function(a){a=this.HTMLhandleSize(this.HTMLcreateSpan(a));a.bbox=null;for(var c=this.HTMLgetVariant(),d=0,g=this.data.length;d<g;d++)this.data[d]&&this.data[d].toHTML(a,c);a.bbox||(a.bbox=this.HTMLzeroBBox());d=this.data.join("");g=a.bbox;g.skew&&1!==d.length&&delete g.skew;g.rw>g.w&&1===d.length&&!c.noIC&&(g.ic=g.rw-g.w,b.createBlank(a,g.ic),g.w=g.rw);this.HTMLhandleSpace(a);this.HTMLhandleColor(a);return a}});k.mn.Augment({toHTML:function(a){a=this.HTMLhandleSize(this.HTMLcreateSpan(a));a.bbox=null;for(var b=this.HTMLgetVariant(),c=0,g=this.data.length;c<g;c++)this.data[c]&&this.data[c].toHTML(a,b);a.bbox||(a.bbox=this.HTMLzeroBBox());1!==this.data.join("").length&&delete a.bbox.skew;this.HTMLhandleSpace(a);this.HTMLhandleColor(a);return a}});k.mo.Augment({toHTML:function(a){a=this.HTMLhandleSize(this.HTMLcreateSpan(a));if(0==this.data.length)return a;a.bbox=null;var c=this.data.join(""),d=this.HTMLgetVariant(),g=this.getValues("largeop","displaystyle");g.largeop&&(d=b.FONTDATA.VARIANT[g.displaystyle?"-largeOp":"-smallOp"]);var e=this.CoreParent(),f=e&&e.isa(k.msubsup)&&this!==e.data[e.base],l=f?this.HTMLremapChars:null;if(1===c.length&&e&&e.isa(k.munderover)&&1===this.CoreText(e.data[e.base]).length){var m=e.data[e.over],n=e.data[e.under];m&&this===m.CoreMO()&&e.Get("accent")?l=b.FONTDATA.REMAPACCENT:n&&this===n.CoreMO()&&e.Get("accentunder")&&(l=b.FONTDATA.REMAPACCENTUNDER)}f&&c.match(/['`"\u00B4\u2032-\u2037\u2057]/)&&(d=b.FONTDATA.VARIANT["-"+b.fontInUse+"-variant"]);e=0;for(f=this.data.length;e<f;e++)this.data[e]&&this.data[e].toHTML(a,d,this.HTMLremap,l);a.bbox||(a.bbox=this.HTMLzeroBBox());1!==c.length&&delete a.bbox.skew;b.AccentBug&&0===a.bbox.w&&1===c.length&&a.firstChild&&(a.firstChild.nodeValue+=b.NBSP,b.createSpace(a,0,0,-a.offsetWidth/b.em));g.largeop&&(c=(a.bbox.h-a.bbox.d)/2-b.TeX.axis_height*a.scale,b.safariVerticalAlignBug&&"IMG"===a.lastChild.nodeName?a.lastChild.style.verticalAlign=b.Em(b.unEm(a.lastChild.style.verticalAlign||0)/b.em-c/a.scale):b.konquerorVerticalAlignBug&&"IMG"===a.lastChild.nodeName?(a.style.position="relative",a.lastChild.style.position="relative",a.lastChild.style.top=b.Em(c/a.scale)):a.style.verticalAlign=b.Em(-c/a.scale),a.bbox.h-=c,a.bbox.d+=c,a.bbox.rw>a.bbox.w&&(a.bbox.ic=a.bbox.rw-a.bbox.w,b.createBlank(a,a.bbox.ic),a.bbox.w=a.bbox.rw));this.HTMLhandleSpace(a);this.HTMLhandleColor(a);return a},CoreParent:function(){for(var a=this;a&&a.isEmbellished()&&a.CoreMO()===this&&!a.isa(k.math);)a=a.Parent();return a},CoreText:function(a){if(!a)return"";if(a.isEmbellished())return a.CoreMO().data.join("");for(;(a.isa(k.mrow)||a.isa(k.TeXAtom)||a.isa(k.mstyle)||a.isa(k.mphantom))&&1===a.data.length&&a.data[0];)a=a.data[0];return a.isToken?a.data.join(""):""},HTMLremapChars:{"*":"\u2217",'"':"\u2033","\u00b0":"\u2218","\u00b2":"2","\u00b3":"3","\u00b4":"\u2032","\u00b9":"1"},HTMLremap:function(a,b){a=a.replace(/-/g,"\u2212");b&&(a=a.replace(/'/g,"\u2032").replace(/`/g,"\u2035"),1===a.length&&(a=b[a]||a));return a},HTMLcanStretch:function(a){if(!this.Get("stretchy"))return!1;var c=this.data.join("");if(1<c.length)return!1;var d=this.CoreParent();if(d&&d.isa(k.munderover)&&1===this.CoreText(d.data[d.base]).length){var g=d.data[d.over],e=d.data[d.under];g&&this===g.CoreMO()&&d.Get("accent")?c=b.FONTDATA.REMAPACCENT[c]||c:e&&this===e.CoreMO()&&d.Get("accentunder")&&(c=b.FONTDATA.REMAPACCENTUNDER[c]||c)}return(c=b.FONTDATA.DELIMITERS[c.charCodeAt(0)])&&c.dir==a.substr(0,1)},HTMLstretchV:function(a,c,d){this.HTMLremoveColor();var g=this.getValues("symmetric","maxsize","minsize"),e=this.HTMLspanElement(),f=this.HTMLgetMu(e),k,l=b.TeX.axis_height,m=e.scale;k=g.symmetric?2*Math.max(c-l,d+l):c+d;g.maxsize=b.length2em(g.maxsize,f,e.bbox.h+e.bbox.d);g.minsize=b.length2em(g.minsize,f,e.bbox.h+e.bbox.d);k=Math.max(g.minsize,Math.min(g.maxsize,k));e=this.HTMLcreateSpan(a);b.createDelimiter(e,this.data.join("").charCodeAt(0),k,m);k=g.symmetric?(e.bbox.h+e.bbox.d)/2+l:(e.bbox.h+e.bbox.d)*c/(c+d);b.positionDelimiter(e,k);this.HTMLhandleSpace(e);this.HTMLhandleColor(e);return e},HTMLstretchH:function(a,c){this.HTMLremoveColor();var d=this.getValues("maxsize","minsize","mathvariant","fontweight");("bold"===d.fontweight||600<=parseInt(d.fontweight))&&!this.Get("mathvariant",!0)&&(d.mathvariant=k.VARIANT.BOLD);var g=this.HTMLspanElement(),e=this.HTMLgetMu(g),f=g.scale;d.maxsize=b.length2em(d.maxsize,e,g.bbox.w);d.minsize=b.length2em(d.minsize,e,g.bbox.w);c=Math.max(d.minsize,Math.min(d.maxsize,c));g=this.HTMLcreateSpan(a);b.createDelimiter(g,this.data.join("").charCodeAt(0),c,f,d.mathvariant);this.HTMLhandleSpace(g);this.HTMLhandleColor(g);return g}});k.mtext.Augment({toHTML:function(a){a=this.HTMLhandleSize(this.HTMLcreateSpan(a));var c=this.HTMLgetVariant();if(b.config.mtextFontInherit||"merror"===this.Parent().type)c={bold:c.bold,italic:c.italic,fontInherit:!0};for(var d=0,g=this.data.length;d<g;d++)this.data[d]&&this.data[d].toHTML(a,c);a.bbox||(a.bbox=this.HTMLzeroBBox());1!==this.data.join("").length&&delete a.bbox.skew;this.HTMLhandleSpace(a);this.HTMLhandleColor(a);return a}});k.merror.Augment({toHTML:function(a){var c=MathJax.HTML.addElement(a,"span",{style:{display:"inline-block"}});a=this.SUPER(arguments).toHTML.call(this,c);var d=b.getHD(c),g=b.getW(c);c.bbox={h:d.h,d:d.d,w:g,lw:0,rw:g,exactW:!0};c.id=a.id;a.id=null;return c}});k.ms.Augment({toHTML:k.mbase.HTMLautoload});k.mglyph.Augment({toHTML:k.mbase.HTMLautoload});k.mspace.Augment({toHTML:function(a){a=this.HTMLcreateSpan(a);var c=this.getValues("height","depth","width"),d=this.HTMLgetMu(a);c.mathbackground=this.mathbackground;this.background&&!this.mathbackground&&(c.mathbackground=this.background);var g=b.length2em(c.height,d),e=b.length2em(c.depth,d),d=b.length2em(c.width,d);b.createSpace(a,g,e,d,c.mathbackground,!0);return a}});k.mphantom.Augment({toHTML:function(a,c,d){a=this.HTMLcreateSpan(a);if(null!=this.data[0]){var g=this.data[0].toHTML(a);null!=d?b.Remeasured(this.data[0].HTMLstretchV(a,c,d),a):null!=c?b.Remeasured(this.data[0].HTMLstretchH(a,c),a):g=b.Measured(g,a);a.bbox={w:g.bbox.w,h:g.bbox.h,d:g.bbox.d,lw:0,rw:0,exactW:!0};c=0;for(d=a.childNodes.length;c<d;c++)a.childNodes[c].style.visibility="hidden"}this.HTMLhandleSpace(a);this.HTMLhandleColor(a);return a},HTMLstretchH:k.mbase.HTMLstretchH,HTMLstretchV:k.mbase.HTMLstretchV});k.mpadded.Augment({toHTML:function(a,c,d){a=this.HTMLcreateSpan(a);if(null!=this.data[0]){var g=b.createStack(a,!0),e=b.createBox(g),f=this.data[0].toHTML(e);null!=d?b.Remeasured(this.data[0].HTMLstretchV(e,c,d),e):null!=c?b.Remeasured(this.data[0].HTMLstretchH(e,c),e):b.Measured(f,e);c=this.getValues("height","depth","width","lspace","voffset");var f=d=0,k=this.HTMLgetMu(a);c.lspace&&(d=this.HTMLlength2em(e,c.lspace,k));c.voffset&&(f=this.HTMLlength2em(e,c.voffset,k));b.placeBox(e,d,f);a.bbox={h:e.bbox.h,d:e.bbox.d,w:e.bbox.w,exactW:!0,lw:Math.min(0,e.bbox.lw+d),rw:Math.max(e.bbox.w,e.bbox.rw+d),H:Math.max(null==e.bbox.H?-b.BIGDIMEN:e.bbox.H,e.bbox.h+f),D:Math.max(null==e.bbox.D?-b.BIGDIMEN:e.bbox.D,e.bbox.d-f)};""!==c.height&&(a.bbox.h=this.HTMLlength2em(e,c.height,k,"h",0));""!==c.depth&&(a.bbox.d=this.HTMLlength2em(e,c.depth,k,"d",0));""!==c.width&&(a.bbox.w=this.HTMLlength2em(e,c.width,k,"w",0));a.bbox.H<=a.bbox.h&&delete a.bbox.H;a.bbox.D<=a.bbox.d&&delete a.bbox.D;e=/^\s*(\d+(\.\d*)?|\.\d+)\s*(pt|em|ex|mu|px|pc|in|mm|cm)\s*$/;a.bbox.exact=!!(this.data[0]&&0==this.data[0].data.length||e.exec(c.height)||e.exec(c.width)||e.exec(c.depth));b.setStackWidth(g,a.bbox.w)}this.HTMLhandleSpace(a);this.HTMLhandleColor(a);return a},HTMLlength2em:function(a,c,d,g,e){null==e&&(e=-b.BIGDIMEN);var f=String(c).match(/width|height|depth/),f=f?a.bbox[f[0].charAt(0)]:g?a.bbox[g]:0;d=b.length2em(c,d,f);return g&&String(c).match(/^\s*[-+]/)?Math.max(e,a.bbox[g]+d):d},HTMLstretchH:k.mbase.HTMLstretchH,HTMLstretchV:k.mbase.HTMLstretchV});k.mrow.Augment({HTMLlineBreaks:function(a){return this.parent.linebreakContainer?b.config.linebreaks.automatic&&a.bbox.w>b.linebreakWidth||this.hasNewline():!1},HTMLstretchH:function(a,b){this.HTMLremoveColor();var c=this.HTMLspanElement();this.data[this.core].HTMLstretchH(c,b);this.HTMLcomputeBBox(c,!0);this.HTMLhandleColor(c);return c},HTMLstretchV:function(a,b,c){this.HTMLremoveColor();a=this.HTMLspanElement();this.data[this.core].HTMLstretchV(a,b,c);this.HTMLcomputeBBox(a,!0);this.HTMLhandleColor(a);return a}});k.mstyle.Augment({toHTML:function(a,b,c){a=this.HTMLcreateSpan(a);if(null!=this.data[0]){var g=this.data[0].toHTML(a);null!=c?this.data[0].HTMLstretchV(a,b,c):null!=b&&this.data[0].HTMLstretchH(a,b);a.bbox=g.bbox}this.HTMLhandleSpace(a);this.HTMLhandleColor(a);return a},HTMLstretchH:k.mbase.HTMLstretchH,HTMLstretchV:k.mbase.HTMLstretchV});k.mfrac.Augment({toHTML:function(a){a=this.HTMLcreateSpan(a);var c=b.createStack(a),d=b.createBox(c),g=b.createBox(c);b.MeasureSpans([this.HTMLboxChild(0,d),this.HTMLboxChild(1,g)]);var e=this.getValues("displaystyle","linethickness","numalign","denomalign","bevelled"),f=this.HTMLgetScale(),k=e.displaystyle,l=b.TeX.axis_height*f;if(e.bevelled){var e=k?.4:.15,m=Math.max(d.bbox.h+d.bbox.d,g.bbox.h+g.bbox.d)+2*e,c=b.createBox(c);b.createDelimiter(c,47,m);b.placeBox(d,0,(d.bbox.d-d.bbox.h)/2+l+e);b.placeBox(c,d.bbox.w-e/2,(c.bbox.d-c.bbox.h)/2+l);b.placeBox(g,d.bbox.w+c.bbox.w-e,(g.bbox.d-g.bbox.h)/2+l-e)}else{var m=Math.max(d.bbox.w,g.bbox.w),r=b.thickness2em(e.linethickness,f),n,p,t=b.TeX.min_rule_thickness/this.em;k?(n=b.TeX.num1,p=b.TeX.denom1):(n=0===r?b.TeX.num3:b.TeX.num2,p=b.TeX.denom2);n*=f;p*=f;0===r?(f=Math.max((k?7:3)*b.TeX.rule_thickness,2*t),k=n-d.bbox.d-(g.bbox.h-p),k<f&&(n+=(f-k)/2,p+=(f-k)/2)):(f=Math.max((k?2:0)*t+r,r/2+1.5*t),k=n-d.bbox.d-(l+r/2),k<f&&(n+=f-k),k=l-r/2-(g.bbox.h-p),k<f&&(p+=f-k),c=b.createBox(c),b.createRule(c,r,0,m+2*r),b.placeBox(c,0,l-r/2));b.alignBox(d,e.numalign,n);b.alignBox(g,e.denomalign,-p)}this.HTMLhandleSpace(a);this.HTMLhandleColor(a);return a},HTMLcanStretch:function(a){return!1},HTMLhandleSpace:function(a){if(!this.texWithDelims){var c=(this.useMMLspacing?0:b.length2em(this.texSpacing()||0))+.12;a.style.paddingLeft=b.Em(c);a.style.paddingRight=b.Em(.12)}}});k.msqrt.Augment({toHTML:function(a){a=this.HTMLcreateSpan(a);var c=b.createStack(a),d=b.createBox(c),g=b.createBox(c),e=b.createBox(c),f=this.HTMLgetScale(),k=b.TeX.rule_thickness*f,l,m,n;l=this.Get("displaystyle")?b.TeX.x_height*f:k;l=Math.max(k+l/4,1.5*b.TeX.min_rule_thickness/this.em);var p=this.HTMLboxChild(0,d);m=p.bbox.h+p.bbox.d+l+k;b.createDelimiter(e,8730,m,f);b.MeasureSpans([p,e]);n=p.bbox.w;var t=0;if(e.isMultiChar||b.AdjustSurd&&b.imgFonts)e.bbox.w*=.95;e.bbox.h+e.bbox.d>m&&(l=(e.bbox.h+e.bbox.d-(m-k))/2);m=b.FONTDATA.DELIMITERS[b.FONTDATA.RULECHAR];!m||n<m.HW[0][0]*f||.75>f?b.createRule(g,0,k,n):b.createDelimiter(g,b.FONTDATA.RULECHAR,n,f);m=p.bbox.h+l+k;l=m*b.rfuzz;e.isMultiChar&&(l=b.rfuzz);t=this.HTMLaddRoot(c,e,t,e.bbox.h+e.bbox.d-m,f);b.placeBox(e,t,m-e.bbox.h);b.placeBox(g,t+e.bbox.w,m-g.bbox.h+l);b.placeBox(d,t+e.bbox.w,0);this.HTMLhandleSpace(a);this.HTMLhandleColor(a);return a},HTMLaddRoot:function(a,b,c,g,e){return c}});k.mroot.Augment({toHTML:k.msqrt.prototype.toHTML,HTMLaddRoot:function(a,c,d,g,e){a=b.createBox(a);this.data[1]?(d=this.data[1].toHTML(a),d.style.paddingRight=d.style.paddingLeft="",b.Measured(d,a)):a.bbox=this.HTMLzeroBBox();g=this.HTMLrootHeight(c.bbox.h+c.bbox.d,e,a)-g;e=Math.min(a.bbox.w,a.bbox.rw);d=Math.max(e,c.offset);b.placeBox(a,d-e,g);return d-c.offset},HTMLrootHeight:function(a,b,c){return.45*(a-.9*b)+.6*b+Math.max(0,c.bbox.d-.075)}});k.mfenced.Augment({toHTML:function(a){a=this.HTMLcreateSpan(a);this.data.open&&this.data.open.toHTML(a);null!=this.data[0]&&this.data[0].toHTML(a);for(var b=1,c=this.data.length;b<c;b++)this.data[b]&&(this.data["sep"+b]&&this.data["sep"+b].toHTML(a),this.data[b].toHTML(a));this.data.close&&this.data.close.toHTML(a);for(var g=this.HTMLcomputeBBox(a),e=a.bbox.h,f=a.bbox.d,b=0,c=g.length;b<c;b++)g[b].HTMLstretchV(a,e,f);g.length&&this.HTMLcomputeBBox(a,!0);this.HTMLhandleSpace(a);this.HTMLhandleColor(a);return a},HTMLcomputeBBox:function(a,b){var c=a.bbox={},g=[];this.HTMLcheckStretchy(this.data.open,c,g,b);this.HTMLcheckStretchy(this.data[0],c,g,b);for(var e=1,f=this.data.length;e<f;e++)this.data[e]&&(this.HTMLcheckStretchy(this.data["sep"+e],c,g,b),this.HTMLcheckStretchy(this.data[e],c,g,b));this.HTMLcheckStretchy(this.data.close,c,g,b);this.HTMLcleanBBox(c);return g},HTMLcheckStretchy:function(a,b,c,g){a&&(!g&&a.HTMLcanStretch("Vertical")&&(c.push(a),a=a.CoreMO()||a),this.HTMLcombineBBoxes(a,b))}});k.menclose.Augment({toHTML:k.mbase.HTMLautoload});k.maction.Augment({toHTML:k.mbase.HTMLautoload});k.semantics.Augment({toHTML:function(a,b,c){a=this.HTMLcreateSpan(a);if(null!=this.data[0]){var g=this.data[0].toHTML(a);null!=c?this.data[0].HTMLstretchV(a,b,c):null!=b&&this.data[0].HTMLstretchH(a,b);a.bbox=g.bbox}this.HTMLhandleSpace(a);return a},HTMLstretchH:k.mbase.HTMLstretchH,HTMLstretchV:k.mbase.HTMLstretchV});k.munderover.Augment({toHTML:function(a,c,d){var g=this.getValues("displaystyle","accent","accentunder","align");if(!g.displaystyle&&null!=this.data[this.base]&&this.data[this.base].CoreMO().Get("movablelimits"))return k.msubsup.prototype.toHTML.call(this,a);a=this.HTMLcreateSpan(a);var e=this.HTMLgetScale(),f=b.createStack(a),l=[],m=[],n=[],r,p,t;p=0;for(t=this.data.length;p<t;p++)null!=this.data[p]&&(r=l[p]=b.createBox(f),m[p]=this.data[p].toHTML(r),p==this.base?(null!=d?this.data[this.base].HTMLstretchV(r,c,d):null!=c&&this.data[this.base].HTMLstretchH(r,c),n[p]=null==d&&null!=c?!1:this.data[p].HTMLcanStretch("Horizontal")):n[p]=this.data[p].HTMLcanStretch("Horizontal"));b.MeasureSpans(m);f=m=-b.BIGDIMEN;p=0;for(t=this.data.length;p<t;p++)this.data[p]&&(l[p].bbox.w>f&&(f=l[p].bbox.w),!n[p]&&f>m&&(m=f));null==d&&null!=c?m=c:m==-b.BIGDIMEN&&(m=f);p=f=0;for(t=this.data.length;p<t;p++)this.data[p]&&(r=l[p],n[p]&&(r.bbox=this.data[p].HTMLstretchH(r,m).bbox),r.bbox.w>f&&(f=r.bbox.w));c=b.TeX.rule_thickness;d=b.FONTDATA.TeX_factor;var n=l[this.base]||{bbox:this.HTMLzeroBBox()},F,A,C,z=0;n.bbox.ic&&(z=1.3*n.bbox.ic+.05);p=0;for(t=this.data.length;p<t;p++)null!=this.data[p]&&(r=l[p],m=b.TeX.big_op_spacing5*e,(C=p!=this.base&&g[this.ACCENTS[p]])&&r.bbox.w<=1/b.em+1E-4&&(r.bbox.w=r.bbox.rw-r.bbox.lw,r.bbox.noclip=!0,r.bbox.lw&&r.insertBefore(b.createSpace(r.parentNode,0,0,-r.bbox.lw),r.firstChild),b.createBlank(r,0,0,r.bbox.rw+.1)),F={left:0,center:(f-r.bbox.w)/2,right:f-r.bbox.w}[g.align],A=0,p==this.over?(C?(C=Math.max(c*e*d,2.5/this.em),m=0,n.bbox.skew&&(F+=n.bbox.skew)):(C=b.TeX.big_op_spacing1*e*d,A=b.TeX.big_op_spacing3*e*d,C=Math.max(C,A-Math.max(0,r.bbox.d))),C=Math.max(C,1.5/this.em),F+=z/2,A=n.bbox.h+r.bbox.d+C,r.bbox.h+=m):p==this.under&&(C?(C=3*c*e*d,m=0):(C=b.TeX.big_op_spacing2*e*d,A=b.TeX.big_op_spacing4*e*d,C=Math.max(C,A-r.bbox.h)),C=Math.max(C,1.5/this.em),F-=z/2,A=-(n.bbox.d+r.bbox.h+C),r.bbox.d+=m),b.placeBox(r,F,A));this.HTMLhandleSpace(a);this.HTMLhandleColor(a);return a},HTMLstretchH:k.mbase.HTMLstretchH,HTMLstretchV:k.mbase.HTMLstretchV});k.msubsup.Augment({toHTML:function(a,c,d){a=this.HTMLcreateSpan(a);var g=this.HTMLgetScale(),e=this.HTMLgetMu(a),f=b.createStack(a),k,l=[],m=b.createBox(f);this.data[this.base]?(l.push(this.data[this.base].toHTML(m)),null!=d?this.data[this.base].HTMLstretchV(m,c,d):null!=c&&this.data[this.base].HTMLstretchH(m,c)):m.bbox=this.HTMLzeroBBox();c=b.TeX.x_height*g;d=b.TeX.scriptspace*g*.75;var n;this.HTMLnotEmpty(this.data[this.sup])&&(n=b.createBox(f),l.push(this.data[this.sup].toHTML(n)));this.HTMLnotEmpty(this.data[this.sub])&&(k=b.createBox(f),l.push(this.data[this.sub].toHTML(k)));b.MeasureSpans(l);n&&(n.bbox.w+=d,n.bbox.rw=Math.max(n.bbox.w,n.bbox.rw));k&&(k.bbox.w+=d,k.bbox.rw=Math.max(k.bbox.w,k.bbox.rw));b.placeBox(m,0,0);var l=n?this.data[this.sup].HTMLgetScale():k?this.data[this.sub].HTMLgetScale():this.HTMLgetScale(),p=b.TeX.sup_drop*l,f=m.bbox.h-p,t=m.bbox.d+b.TeX.sub_drop*l,l=0;m.bbox.ic&&(m.bbox.w-=m.bbox.ic,l=1.3*m.bbox.ic+.05);!this.data[this.base]||"mi"!==this.data[this.base].type&&"mo"!==this.data[this.base].type||1!==this.data[this.base].data.join("").length||1!==m.bbox.scale||this.data[this.base].Get("largeop")||(f=t=0);d=this.getValues("subscriptshift","superscriptshift");d.subscriptshift=""===d.subscriptshift?0:b.length2em(d.subscriptshift,e);d.superscriptshift=""===d.superscriptshift?0:b.length2em(d.superscriptshift,e);n?k?(t=Math.max(t,b.TeX.sub2*g),g*=b.TeX.rule_thickness,f-n.bbox.d-(k.bbox.h-t)<3*g&&(t=3*g-f+n.bbox.d+k.bbox.h,p=.8*c-(f-n.bbox.d),0<p&&(f+=p,t-=p)),b.placeBox(n,m.bbox.w+l,Math.max(f,d.superscriptshift)),b.placeBox(k,m.bbox.w,-Math.max(t,d.subscriptshift))):(k=this.getValues("displaystyle","texprimestyle"),k=b.TeX[k.displaystyle?"sup1":k.texprimestyle?"sup3":"sup2"],f=Math.max(f,k*g,n.bbox.d+.25*c,d.superscriptshift),b.placeBox(n,m.bbox.w+l,f,n.bbox)):k&&(t=Math.max(t,b.TeX.sub1*g,k.bbox.h-.8*c,d.subscriptshift),b.placeBox(k,m.bbox.w,-t,k.bbox));this.HTMLhandleSpace(a);this.HTMLhandleColor(a);return a},HTMLstretchH:k.mbase.HTMLstretchH,HTMLstretchV:k.mbase.HTMLstretchV});k.mmultiscripts.Augment({toHTML:k.mbase.HTMLautoload});k.mtable.Augment({toHTML:k.mbase.HTMLautoload});k["annotation-xml"].Augment({toHTML:k.mbase.HTMLautoload});k.math.Augment({toHTML:function(a,c){var d=this.Get("alttext");d&&""!==d&&c.setAttribute("aria-label",d);var l=b.addElement(a,"nobr",{isMathJax:!0});a=this.HTMLcreateSpan(l);var d=b.createStack(a),e=b.createBox(d),f;d.style.fontSize=l.parentNode.style.fontSize;l.parentNode.style.fontSize="";null!=this.data[0]&&(b.msieColorBug&&(this.background&&(this.data[0].background=this.background,delete this.background),this.mathbackground&&(this.data[0].mathbackground=this.mathbackground,delete this.mathbackground)),k.mbase.prototype.displayAlign=g.config.displayAlign,k.mbase.prototype.displayIndent=g.config.displayIndent,f=this.data[0].toHTML(e),f.bbox.exactW=!1,f=b.Measured(f,e));b.placeBox(e,0,0);a.style.width=b.Em((Math.round(f.bbox.w*this.em)+.25)/b.outerEm);a.style.display="inline-block";var l=1/b.em,m=b.em/b.outerEm;b.em/=m;a.bbox.h*=m;a.bbox.d*=m;a.bbox.w*=m;a.bbox.lw*=m;a.bbox.rw*=m;f&&null!=f.bbox.width&&(a.style.minWidth=f.bbox.minWidth||a.style.width,a.style.width=d.style.width=f.bbox.width,e.style.width="100%");this.HTMLhandleColor(a);f&&b.createRule(a,(f.bbox.h+l)*m,(f.bbox.d+l)*m,0);this.isMultiline||"block"!==this.Get("display")||null!=a.bbox.width||(d=this.getValues("indentalignfirst","indentshiftfirst","indentalign","indentshift"),d.indentalignfirst!==k.INDENTALIGN.INDENTALIGN&&(d.indentalign=d.indentalignfirst),d.indentalign===k.INDENTALIGN.AUTO&&(d.indentalign=this.displayAlign),c.style.textAlign=d.indentalign,d.indentshiftfirst!==k.INDENTSHIFT.INDENTSHIFT&&(d.indentshift=d.indentshiftfirst),"auto"===d.indentshift&&(d.indentshift=this.displayIndent),d.indentshift&&d.indentalign!==k.INDENTALIGN.CENTER&&(a.style[{left:"marginLeft",right:"marginRight"}[d.indentalign]]=b.Em(b.length2em(d.indentshift))));return a},HTMLspanElement:k.mbase.prototype.HTMLspanElement});k.TeXAtom.Augment({toHTML:function(a){a=this.HTMLcreateSpan(a);if(null!=this.data[0])if(this.texClass===k.TEXCLASS.VCENTER){var c=b.createStack(a),c=b.createBox(c);b.Measured(this.data[0].toHTML(c),c);b.placeBox(c,0,b.TeX.axis_height-(c.bbox.h+c.bbox.d)/2+c.bbox.d)}else a.bbox=this.data[0].toHTML(a).bbox;this.HTMLhandleSpace(a);this.HTMLhandleColor(a);return a}});MathJax.Hub.Register.StartupHook("onLoad",function(){setTimeout(MathJax.Callback(["loadComplete",b,"jax.js"]),0)})});g.Register.StartupHook("End Config",function(){g.Browser.Select({MSIE:function(a){var c=document.documentMode||0,d=a.versionAtLeast("7.0"),g=a.versionAtLeast("8.0")&&7<c,e="BackCompat"===document.compatMode;9>c&&(b.config.styles[".MathJax .MathJax_HitBox"]["background-color"]="white",b.config.styles[".MathJax .MathJax_HitBox"].opacity=0,b.config.styles[".MathJax .MathJax_HitBox"].filter="alpha(opacity\x3d0)");b.Augment({PaddingWidthBug:!0,msieAccentBug:!0,msieColorBug:!0,msieColorPositionBug:!0,msieRelativeWidthBug:e,msieDisappearingBug:8<=c,msieMarginScaleBug:8>c,msiePaddingWidthBug:!0,msieBorderWidthBug:e,msieFrameSizeBug:8>=c,msieInlineBlockAlignBug:!g||e,msiePlaceBoxBug:g&&!e,msieClipRectBug:!g,msieNegativeSpaceBug:e,cloneNodeBug:g&&"8.0"===a.version,initialSkipBug:8>c,msieNegativeBBoxBug:8<=c,msieIE6:!d,msieItalicWidthBug:!0,FontFaceBug:!0,msieFontCSSBug:a.isIE9,allowWebFonts:9<=c?"woff":"eot"})},Firefox:function(a){var c=!1;a.versionAtLeast("3.5")&&(a=String(document.location).replace(/[^\/]*$/,""),"file:"!==document.location.protocol||g.config.root.match(/^https?:\/\//)||(g.config.root+"/").substr(0,a.length)===a)&&(c="otf");b.Augment({ffVerticalAlignBug:!0,AccentBug:!0,allowWebFonts:c})},Safari:function(a){var c=a.versionAtLeast("3.0"),d=a.versionAtLeast("3.1"),k=navigator.appVersion.match(/ Safari\/\d/)&&navigator.appVersion.match(/ Version\/\d/)&&navigator.vendor.match(/Apple/),e=navigator.appVersion.match(/ Android (\d+)\.(\d+)/),e=d&&a.isMobile&&(navigator.platform.match(/iPad|iPod|iPhone/)&&!a.versionAtLeast("5.0")||null!=e&&(2>e[1]||2==e[1]&&2>e[2]));b.Augment({config:{styles:{".MathJax img, .MathJax nobr, .MathJax a":{"max-width":"5000em","max-height":"5000em"}}},rfuzz:.011,AccentBug:!0,AdjustSurd:!0,negativeBBoxes:!0,safariNegativeSpaceBug:!0,safariVerticalAlignBug:!d,safariTextNodeBug:!c,forceReflow:!0,allowWebFonts:d&&!e?"otf":!1});k&&b.Augment({webFontDefault:a.isMobile?"sans-serif":"serif"});a.isPC&&b.Augment({adjustAvailableFonts:b.removeSTIXfonts,checkWebFontsTwice:!0});e&&((a=g.config["HTML-CSS"])?(a.availableFonts=[],a.preferredFont=null):g.config["HTML-CSS"]={availableFonts:[],preferredFont:null})},Chrome:function(a){b.Augment({Em:b.EmRounded,cloneNodeBug:!0,rfuzz:.011,AccentBug:!0,AdjustSurd:!0,negativeBBoxes:!0,safariNegativeSpaceBug:!0,safariWebFontSerif:[""],forceReflow:!0,allowWebFonts:a.versionAtLeast("4.0")?"otf":"svg"})},Opera:function(a){a.isMini=null!=navigator.appVersion.match("Opera Mini");b.config.styles[".MathJax .merror"]["vertical-align"]=null;b.config.styles[".MathJax span"]["z-index"]=0;b.Augment({operaHeightBug:!0,operaVerticalAlignBug:!0,operaFontSizeBug:a.versionAtLeast("10.61"),initialSkipBug:!0,FontFaceBug:!0,PaddingWidthBug:!0,allowWebFonts:a.versionAtLeast("10.0")&&!a.isMini?"otf":!1,adjustAvailableFonts:b.removeSTIXfonts})},Konqueror:function(a){b.Augment({konquerorVerticalAlignBug:!0})}})});MathJax.Hub.Register.StartupHook("End Cookie",function(){"None"!==g.config.menuSettings.zoom&&c.Require("[MathJax]/extensions/MathZoom.js")})})(MathJax.Ajax,MathJax.Hub,MathJax.OutputJax["HTML-CSS"]);MathJax.Hub.Register.StartupHook("HTML-CSS Jax Ready",function(){var c=MathJax.ElementJax.mml,g=MathJax.OutputJax["HTML-CSS"];c.mtable.Augment({toHTML:function(b){b=this.HTMLcreateSpan(b);if(0===this.data.length)return b;var k=this.getValues("columnalign","rowalign","columnspacing","rowspacing","columnwidth","equalcolumns","equalrows","columnlines","rowlines","frame","framespacing","align","useHeight","width","side","minlabelspacing"),n=k.width.match(/%$/),l=g.createStack(b),m=this.HTMLgetScale(),t=this.HTMLgetMu(b),p=[],a=[],h=[],d=[],u=[],e,f,q=-1,y,v,r,B,w,F,A=[],C=g.FONTDATA.baselineskip*m*k.useHeight,z,G=g.FONTDATA.lineH*m,N=g.FONTDATA.lineD*m;e=0;for(y=this.data.length;e<y;e++)for(B=this.data[e],r="mlabeledtr"===B.type?-1:0,d[e]=[],p[e]=a[e]=0,f=r,v=B.data.length+r;f<v;f++)null==h[f]&&(f>q&&(q=f),u[f]=g.createStack(g.createBox(l)),h[f]=-g.BIGDIMEN),d[e][f]=g.createBox(u[f]),A.push(B.data[f-r].toHTML(d[e][f]));g.MeasureSpans(A);e=0;for(y=this.data.length;e<y;e++)for(B=this.data[e],f=r="mlabeledtr"===B.type?-1:0,v=B.data.length+r;f<v;f++){w=B.data[f-r];w.isMultiline&&(d[e][f].style.width="100%");if(w.isEmbellished()&&(F=w.CoreMO(),A=F.Get("minsize",!0))){var J=F.HTMLspanElement().bbox;if(F.HTMLcanStretch("Vertical")){if(z=J.h+J.d)A=g.length2em(A,t,z),A*J.h/z>p[e]&&(p[e]=A*J.h/z),A*J.d/z>a[e]&&(a[e]=A*J.d/z)}else F.HTMLcanStretch("Horizontal")&&(A=g.length2em(A,t,J.w),A>h[f]&&(h[f]=A))}d[e][f].bbox.h>p[e]&&(p[e]=d[e][f].bbox.h);d[e][f].bbox.d>a[e]&&(a[e]=d[e][f].bbox.d);d[e][f].bbox.w>h[f]&&(h[f]=d[e][f].bbox.w)}p[0]+a[0]&&(p[0]=Math.max(p[0],G));p[d.length-1]+a[d.length-1]&&(a[d.length-1]=Math.max(a[d.length-1],N));var I=MathJax.Hub.SplitList,A=I(k.columnspacing),G=I(k.rowspacing);v=I(k.columnalign);var x=I(k.rowalign),J=I(k.columnlines),N=I(k.rowlines),D=I(k.columnwidth),H=[];e=0;for(y=A.length;e<y;e++)A[e]=g.length2em(A[e],t);e=0;for(y=G.length;e<y;e++)G[e]=g.length2em(G[e],t);for(;A.length<q;)A.push(A[A.length-1]);for(;v.length<=q;)v.push(v[v.length-1]);for(;J.length<q;)J.push(J[J.length-1]);for(;D.length<=q;)D.push(D[D.length-1]);for(;G.length<d.length;)G.push(G[G.length-1]);for(;x.length<=d.length;)x.push(x[x.length-1]);for(;N.length<d.length;)N.push(N[N.length-1]);u[-1]&&(v[-1]="l"===k.side.substr(0,1)?"left":"right",A[-1]=-h[-1]);e=0;for(y=d.length;e<y;e++)if(B=this.data[e],H[e]=[],B.rowalign&&(x[e]=B.rowalign),B.columnalign)for(H[e]=I(B.columnalign);H[e].length<=q;)H[e].push(H[e][H[e].length-1]);if(k.equalrows){B=Math.max.apply(Math,p);var O=Math.max.apply(Math,a);e=0;for(y=d.length;e<y;e++)r=(B+O-(p[e]+a[e]))/2,p[e]+=r,a[e]+=r}z=p[0]+a[d.length-1];e=0;for(y=d.length-1;e<y;e++)z+=Math.max(p[e]+a[e]?C:0,a[e]+p[e+1]+G[e]);e=O=0;B=z;if("none"!==k.frame||(k.columnlines+k.rowlines).match(/solid|dashed/))B=I(k.framespacing),2!=B.length&&(B=I(this.defaults.framespacing)),O=g.length2em(B[0],t),e=g.length2em(B[1],t),B=z+2*e;f="";"string"!==typeof k.align&&(k.align=String(k.align));k.align.match(/(top|bottom|center|baseline|axis)( +(-?\d+))?/)?(f=RegExp.$3,k.align=RegExp.$1):k.align=this.defaults.align;if(""!==f)for(f=parseInt(f),0>f&&(f=d.length+1+f),1>f?f=1:f>d.length&&(f=d.length),I=0,m=-(z+e)+p[0],e=0,y=f-1;e<y;e++)f=Math.max(p[e]+a[e]?C:0,a[e]+p[e+1]+G[e]),I+=f,m+=f;else I={top:-(p[0]+e),bottom:z+e-p[0],center:z/2-p[0],baseline:z/2-p[0],axis:z/2+g.TeX.axis_height*m-p[0]}[k.align],m={top:-(z+2*e),bottom:0,center:-(z/2+e),baseline:-(z/2+e),axis:g.TeX.axis_height*m-z/2-e}[k.align];var E,L=0,K=0;z=F=w=0;f=[];r=[];var Q=1;if(k.equalcolumns&&"auto"!==k.width)if(n){E=(100/(q+1)).toFixed(2).replace(/\.?0+$/,"")+"%";e=0;for(y=Math.min(q+1,D.length);e<y;e++)D[e]=E;E=0;L=1;z=q+1;e=0;for(y=Math.min(q+1,A.length);e<y;e++)E+=A[e]}else{E=g.length2em(k.width,t);e=0;for(y=Math.min(q+1,A.length);e<y;e++)E-=A[e];E/=q+1;e=0;for(y=Math.min(q+1,D.length);e<y;e++)h[e]=E}else{e=0;for(y=Math.min(q+1,D.length);e<y;e++)"auto"===D[e]?K+=h[e]:"fit"===D[e]?(r[z]=e,z++,K+=h[e]):D[e].match(/%$/)?(f[F]=e,F++,w+=h[e],L+=g.length2em(D[e],t,1)):(h[e]=g.length2em(D[e],t),K+=h[e]);if(n){e=E=0;for(y=Math.min(q,A.length);e<y;e++)E+=A[e];.98<L&&(Q=.98/L,L=.98)}else{if("auto"===k.width).98<L?(Q=w/(K+w),E=K+w):E=K/(1-L);else for(E=g.length2em(k.width,t),e=0,y=Math.min(q+1,A.length);e<y;e++)E-=A[e];e=0;for(y=f.length;e<y;e++)h[f[e]]=g.length2em(D[f[e]],t,E*Q),K+=h[f[e]];if(.01<Math.abs(E-K))if(z&&E>K)for(E=(E-K)/z,e=0,y=r.length;e<y;e++)h[r[e]]+=E;else for(E/=K,f=0;f<=q;f++)h[f]*=E;if(k.equalcolumns)for(e=Math.max.apply(Math,h),f=0;f<=q;f++)h[f]=e}}var P=I;for(f=r=u[-1]?-1:0;f<=q;f++){e=0;for(y=d.length;e<y;e++)d[e][f]&&(r="mlabeledtr"===this.data[e].type?-1:0,w=this.data[e].data[f-r],w.HTMLcanStretch("Horizontal")?d[e][f].bbox=w.HTMLstretchH(u[f],h[f]).bbox:w.HTMLcanStretch("Vertical")&&(F=w.CoreMO(),r=F.symmetric,F.symmetric=!1,d[e][f].bbox=w.HTMLstretchV(u[f],p[e],a[e]).bbox,d[e][f].HH=null,F.symmetric=r),F=w.rowalign||this.data[e].rowalign||x[e],r={top:p[e]-d[e][f].bbox.h,bottom:d[e][f].bbox.d-a[e],center:(p[e]-a[e]-(d[e][f].bbox.h-d[e][f].bbox.d))/2,baseline:0,axis:0}[F]||0,F=w.columnalign||H[e][f]||v[f],g.alignBox(d[e][f],F,P+r)),e<d.length-1&&(P-=Math.max(p[e]+a[e]?C:0,a[e]+p[e+1]+G[e]));P=I}if(n)for(e=g.createBox(l),e.style.left=e.style.top=0,e.style.right=g.Em(E+2*O),e.style.display="inline-block",e.style.height="0px",g.msieRelativeWidthBug&&(e=g.createBox(e),e.style.position="relative",e.style.height="1em",e.style.width="100%",e.bbox=l.bbox),y=0,H=O,z?(r=100*(1-L)/z,K/=z):(r=100*(1-L)/(q+1),K/=q+1),f=0;f<=q;f++)g.placeBox(u[f].parentNode,0,0),u[f].style.position="relative",u[f].style.left=g.Em(H),u[f].style.width="100%",u[f].parentNode.parentNode.removeChild(u[f].parentNode),x=g.createBox(e),g.addBox(x,u[f]),u[f]=x,L=x.style,L.display="inline-block",L.left=y+"%",D[f].match(/%$/)?(w=parseFloat(D[f])*Q,0===z?(L.width=r+w+"%",y+=r+w,x=g.createBox(x),g.addBox(x,u[f].firstChild),x.style.left=0,x.style.right=g.Em(K),H-=K):(L.width=w+"%",y+=w)):"fit"===D[f]||0===z?(L.width=r+"%",x=g.createBox(x),g.addBox(x,u[f].firstChild),x.style.left=0,x.style.right=g.Em(K-h[f]),H+=h[f]-K,y+=r):(L.width=g.Em(h[f]),H+=h[f]),g.msieRelativeWidthBug&&(g.addText(x.firstChild,g.NBSP),x.firstChild.style.position="relative"),H+=A[f],"none"!==J[f]&&f<q&&-1!==f&&(x=g.createBox(e),x.style.left=y+"%",x=g.createRule(x,B,0,1.25/g.em),x.style.position="absolute",x.bbox={h:B,d:0,w:0,rw:1.25/g.em,lw:0},x.parentNode.bbox=l.bbox,g.placeBox(x,H-A[f]/2,m,!0),x.style.borderStyle=J[f]);else for(e=O,f=0;f<=q;f++)u[f].bbox.width||g.setStackWidth(u[f],h[f]),"auto"!==D[f]&&"fit"!==D[f]&&(u[f].bbox.width=h[f],u[f].bbox.isFixed=!0),g.placeBox(u[f].parentNode,e,0),e+=h[f]+A[f],"none"!==J[f]&&f<q&&-1!==f&&(x=g.createRule(l,B,0,1.25/g.em),g.addBox(l,x),x.bbox={h:B,d:0,w:0,rw:1.25/g.em,lw:0},g.placeBox(x,e-A[f]/2,m,!0),x.style.borderStyle=J[f]);l.bbox.d=-m;l.bbox.h=B+m;g.setStackWidth(l,l.bbox.w+O);var h=l.bbox.w,M;"none"!==k.frame&&(M=g.createFrame(l,B,0,h,1.25/g.em,k.frame),g.addBox(l,M),g.placeBox(M,0,m,!0),n&&(M.style.width="100%"));P=I;e=0;for(y=d.length-1;e<y;e++)r=Math.max(C,a[e]+p[e+1]+G[e]),"none"!==N[e]&&(x=g.createRule(l,1.25/g.em,0,h),g.addBox(l,x),x.bbox={h:1.25/g.em,d:0,w:h,rw:h,lw:0},g.placeBox(x,0,P-a[e]-(r-a[e]-p[e+1])/2,!0),"dashed"===N[e]||n)&&(x.style.borderTop=x.style.height+" "+N[e],x.style.height=0,x.style.width=x.style.borderLeftWidth,x.style.borderLeft="",n&&(x.style.width="100%")),P-=r;n&&(b.bbox.width=k.width,l.style.width="100%");u[-1]&&(p=l.bbox.w,d=this.getValues("indentalignfirst","indentshiftfirst","indentalign","indentshift"),d.indentalignfirst!==c.INDENTALIGN.INDENTALIGN&&(d.indentalign=d.indentalignfirst),d.indentalign===c.INDENTALIGN.AUTO&&(d.indentalign=this.displayAlign),d.indentshiftfirst!==c.INDENTSHIFT.INDENTSHIFT&&(d.indentshift=d.indentshiftfirst),"auto"===d.indentshift&&(d.indentshift=this.displayIndent),C=g.createStack(b,!1,"100%"),g.addBox(C,l),g.alignBox(l,d.indentalign,0),d.indentshift&&d.indentalign!==c.INDENTALIGN.CENTER&&(a=g.length2em(d.indentshift,t),p+=a,l.style[d.indentalign]=g.Em(a)),u[-1].parentNode.parentNode.removeChild(u[-1].parentNode),g.addBox(C,u[-1]),g.alignBox(u[-1],v[-1],0),g.msieRelativeWidthBug&&(l.style.top=u[-1].style.top=""),n&&(l.style.width=k.width,b.bbox.width="100%"),a=g.length2em(k.minlabelspacing,t),u[-1].style.marginRight=u[-1].style.marginLeft=g.Em(a),d.indentalign===c.INDENTALIGN.CENTER?p+=4*a+2*u[-1].bbox.w:d.indentalign!==v[-1]&&(p+=2*a+u[-1].bbox.w),b.style.minWidth=b.bbox.minWidth=C.style.minWidth=C.bbox.minWidth=g.Em(p));n||this.HTMLhandleSpace(b);(k=this.HTMLhandleColor(b))&&n&&(M||(M=g.createFrame(l,B,0,h,0,"none"),g.addBox(l,M),g.placeBox(M,0,m,!0),M.style.width="100%"),M.style.backgroundColor=k.style.backgroundColor,M.parentNode.insertBefore(M,M.parentNode.firstChild),k.parentNode.removeChild(k));return b},HTMLhandleSpace:function(b){b.bbox.keepPadding=!0;b.bbox.exact=!0;this.hasFrame||null!=b.bbox.width||(b.style.paddingLeft=b.style.paddingRight=g.Em(1/6));this.SUPER(arguments).HTMLhandleSpace.call(this,b)}});c.mtd.Augment({toHTML:function(b,c,g){b=this.HTMLcreateSpan(b);if(this.data[0]){var l=this.data[0].toHTML(b);null!=g?l=this.data[0].HTMLstretchV(b,c,g):null!=c&&(l=this.data[0].HTMLstretchH(b,c));b.bbox=l.bbox}this.HTMLhandleSpace(b);this.HTMLhandleColor(b);return b},HTMLstretchH:c.mbase.HTMLstretchH,HTMLstretchV:c.mbase.HTMLstretchV});MathJax.Hub.Startup.signal.Post("HTML-CSS mtable Ready");MathJax.Ajax.loadComplete(g.autoloadDir+"/mtable.js")});MathJax.Ajax.loadComplete("[MathJax]/config/AM_HTMLorMML-full.js");