/*
 *  /MathJax/config/MML_HTMLorMML-full.js
 *  
 *  Copyright (c) 2010-11 Design Science, Inc.
 *
 *  Part of the MathJax library.
 *  See http://www.mathjax.org for details.
 * 
 *  Licensed under the Apache License, Version 2.0;
 *  you may not use this file except in compliance with the License.
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 */

MathJax.Hub.Config({delayJaxRegistration: true});

MathJax.Ajax.Preloading(
  "[MathJax]/jax/input/MathML/config.js",
  "[MathJax]/jax/output/HTML-CSS/config.js",
  "[MathJax]/jax/output/NativeMML/config.js",
  "[MathJax]/config/MMLorHTML.js",
  "[MathJax]/extensions/mml2jax.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/MathML/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":false});

MathJax.InputJax.MathML=MathJax.InputJax({id:"MathML",version:"1.1.8",directory:MathJax.InputJax.directory+"/MathML",extensionDir:MathJax.InputJax.extensionDir+"/MathML",entityDir:MathJax.InputJax.directory+"/MathML/entities",config:{useMathMLspacing:false}});MathJax.InputJax.MathML.Register("math/mml");MathJax.InputJax.MathML.loadComplete("config.js");

MathJax.OutputJax["HTML-CSS"]=MathJax.OutputJax({id:"HTML-CSS",version:"1.1.14",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:false,EqnChunk:50,EqnChunkFactor:1.5,EqChunkDelay:100,linebreaks:{automatic:false,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_Preview":{color:"#888888"},"#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=2, OffY=2, Color='gray', Positive='true')",padding:"3px 4px"}}}});if(MathJax.Hub.Browser.isMSIE&&document.documentMode>=9){delete MathJax.OutputJax["HTML-CSS"].config.styles["#MathJax_Tooltip"].filter}if(!MathJax.Hub.config.delayJaxRegistration){MathJax.OutputJax["HTML-CSS"].Register("jax/mml")}MathJax.Hub.Register.StartupHook("End Config",[function(b,c){var a=b.Insert({minBrowserVersion:{Firefox:3,Opera:9.52,MSIE:6,Chrome:0.3,Safari:2,Konqueror:4},inlineMathDelimiters:["$","$"],displayMathDelimiters:["$$","$$"],multilineDisplay:true,minBrowserTranslate:function(f){var e=b.getJaxFor(f),k=["[Math]"],j;var h=document.createElement("span",{className:"MathJax_Preview"});if(e.inputJax==="TeX"){if(e.root.Get("displaystyle")){j=a.displayMathDelimiters;k=[j[0]+e.originalText+j[1]];if(a.multilineDisplay){k=k[0].split(/\n/)}}else{j=a.inlineMathDelimiters;k=[j[0]+e.originalText.replace(/^\s+/,"").replace(/\s+$/,"")+j[1]]}}for(var g=0,d=k.length;g<d;g++){h.appendChild(document.createTextNode(k[g]));if(g<d-1){h.appendChild(document.createElement("br"))}}f.parentNode.insertBefore(h,f)}},(b.config["HTML-CSS"]||{}));if(b.Browser.version!=="0.0"&&!b.Browser.versionAtLeast(a.minBrowserVersion[b.Browser]||0)){c.Translate=a.minBrowserTranslate;b.Config({showProcessingMessages:false});MathJax.Message.Set("Your browser does not support MathJax",null,4000);b.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:"1.1.11",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"}}}});if(!MathJax.Hub.config.delayJaxRegistration){MathJax.OutputJax.NativeMML.Register("jax/mml")}MathJax.OutputJax.NativeMML.loadComplete("config.js");

(function(c){var h="1.1.1";var a=MathJax.Hub.CombineConfig("MMLorHTML",{prefer:{MSIE:"MML",Firefox:"MML",Opera:"HTML",other:"HTML"}});var e={Firefox:3,Opera:9.52,MSIE:6,Chrome:0.3,Safari:2,Konqueror:4};var b=(c.Browser.version==="0.0"||c.Browser.versionAtLeast(e[c.Browser]||0));var g=false;try{new ActiveXObject("MathPlayer.Factory.1");g=true}catch(f){}var d=(c.Browser.isFirefox&&c.Browser.versionAtLeast("1.5"))||(c.Browser.isMSIE&&g)||(c.Browser.isOpera&&c.Browser.versionAtLeast("9.52"));c.Register.StartupHook("End Config",function(){var i=(a.prefer&&typeof(a.prefer)==="object"?a.prefer[MathJax.Hub.Browser]||a.prefer.other||"HTML":a.prefer);if(b||d){if(d&&(i==="MML"||!b)){if(MathJax.OutputJax.NativeMML){MathJax.OutputJax.NativeMML.Register("jax/mml")}else{c.config.jax.unshift("output/NativeMML")}c.Startup.signal.Post("NativeMML output selected")}else{if(MathJax.OutputJax["HTML-CSS"]){MathJax.OutputJax["HTML-CSS"].Register("jax/mml")}else{c.config.jax.unshift("output/HTML-CSS")}c.Startup.signal.Post("HTML-CSS output selected")}}else{c.PreProcess.disabled=true;c.prepareScripts.disabled=true;MathJax.Message.Set("Your browser does not support MathJax",null,4000);c.Startup.signal.Post("MathJax not supported")}})})(MathJax.Hub);MathJax.Ajax.loadComplete("[MathJax]/config/MMLorHTML.js");

MathJax.Extension.mml2jax={version:"1.1.2",config:{preview:"alttext"},MMLnamespace:"http://www.w3.org/1998/Math/MathML",PreProcess:function(e){if(!this.configured){this.config=MathJax.Hub.CombineConfig("mml2jax",this.config);if(this.config.Augment){MathJax.Hub.Insert(this,this.config.Augment)}this.InitBrowser();this.configured=true}if(typeof(e)==="string"){e=document.getElementById(e)}if(!e){e=document.body}this.ProcessMathArray(e.getElementsByTagName("math"));if(e.getElementsByTagNameNS){this.ProcessMathArray(e.getElementsByTagNameNS(this.MMLnamespace,"math"))}var d=document.getElementsByTagName("html")[0];if(d){for(var c=0,b=d.attributes.length;c<b;c++){var a=d.attributes[c];if(a.nodeName.substr(0,6)==="xmlns:"&&a.nodeValue===this.MMLnamespace){this.ProcessMathArray(e.getElementsByTagName(a.nodeName.substr(6)+":math"))}}}},ProcessMathArray:function(b){var a;if(b.length){if(this.MathTagBug){for(a=b.length-1;a>=0;a--){if(b[a].nodeName==="MATH"){this.ProcessMathFlattened(b[a])}else{this.ProcessMath(b[a])}}}else{for(a=b.length-1;a>=0;a--){this.ProcessMath(b[a])}}}},ProcessMath:function(e){var d=e.parentNode;var a=document.createElement("script");a.type="math/mml";d.insertBefore(a,e);if(this.AttributeBug){var b=this.OuterHTML(e);if(this.CleanupHTML){b=b.replace(/<\?import .*?>/i,"").replace(/<\?xml:namespace .*?\/>/i,"");b=b.replace(/&nbsp;/g,"&#xA0;")}MathJax.HTML.setScript(a,b);d.removeChild(e)}else{var c=MathJax.HTML.Element("span");c.appendChild(e);MathJax.HTML.setScript(a,c.innerHTML)}if(this.config.preview!=="none"){this.createPreview(e,a)}},ProcessMathFlattened:function(f){var d=f.parentNode;var b=document.createElement("script");b.type="math/mml";d.insertBefore(b,f);var c="",e,a=f;while(f&&f.nodeName!=="/MATH"){e=f;f=f.nextSibling;c+=this.NodeHTML(e);e.parentNode.removeChild(e)}if(f&&f.nodeName==="/MATH"){f.parentNode.removeChild(f)}b.text=c+"</math>";if(this.config.preview!=="none"){this.createPreview(a,b)}},NodeHTML:function(e){var c,b,a;if(e.nodeName==="#text"){c=this.quoteHTML(e.nodeValue)}else{if(e.nodeName==="#comment"){c="<!--"+e.nodeValue+"-->"}else{c="<"+e.nodeName.toLowerCase();for(b=0,a=e.attributes.length;b<a;b++){var d=e.attributes[b];if(d.specified){c+=" "+d.nodeName.toLowerCase().replace(/xmlns:xmlns/,"xmlns")+"=";var f=d.nodeValue;if(f==null&&d.nodeName==="style"&&e.style){f=e.style.cssText}c+='"'+this.quoteHTML(f)+'"'}}c+=">";if(e.outerHTML!=null&&e.outerHTML.match(/(.<\/[A-Z]+>|\/>)$/)){for(b=0,a=e.childNodes.length;b<a;b++){c+=this.OuterHTML(e.childNodes[b])}c+="</"+e.nodeName.toLowerCase()+">"}}}return c},OuterHTML:function(d){if(d.nodeName.charAt(0)==="#"){return this.NodeHTML(d)}if(!this.AttributeBug){return d.outerHTML}var c=this.NodeHTML(d);for(var b=0,a=d.childNodes.length;b<a;b++){c+=this.OuterHTML(d.childNodes[b])}c+="</"+d.nodeName.toLowerCase()+">";return c},quoteHTML:function(a){if(a==null){a=""}return a.replace(/&/g,"&#x26;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;")},createPreview:function(b,a){var c;if(this.config.preview==="alttext"){var d=b.getAttribute("alttext");if(d!=null){c=[this.filterText(d)]}}else{if(this.config.preview instanceof Array){c=this.config.preview}}if(c){c=MathJax.HTML.Element("span",{className:MathJax.Hub.config.preRemoveClass},c);a.parentNode.insertBefore(c,a)}},filterText:function(a){return a},InitBrowser:function(){var b=MathJax.HTML.Element("span",{id:"<",className:"mathjax",innerHTML:"<math><mi>x</mi><mspace /></math>"});var a=b.outerHTML||"";this.AttributeBug=a!==""&&!(a.match(/id="&lt;"/)&&a.match(/class="mathjax"/)&&a.match(/<\/math>/));this.MathTagBug=b.childNodes.length>1;this.CleanupHTML=MathJax.Hub.Browser.isMSIE}};MathJax.Hub.Register.PreProcessor(["PreProcess",MathJax.Extension.mml2jax]);MathJax.Ajax.loadComplete("[MathJax]/extensions/mml2jax.js");

(function(d,h,l,g,b,j){var p="1.1";var i=MathJax.Extension;var c=i.MathEvents={version:p};var k=d.config.menuSettings;var o={hover:500,frame:{x:3.5,y:5,bwidth:1,bcolor:"#A6D",hwidth:"15px",hcolor:"#83A"},button:{x:-4,y:-3,wx:-2,src:l.fileURL(b.imageDir+"/MenuArrow-15.png")},fadeinInc:0.2,fadeoutInc:0.05,fadeDelay:50,fadeoutStart:400,fadeoutDelay:15*1000,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"}}};var m=c.Event={LEFTBUTTON:0,RIGHTBUTTON:2,MENUKEY:"altKey",Mousedown:function(q){return m.Handler(q,"Mousedown",this)},Mouseup:function(q){return m.Handler(q,"Mouseup",this)},Mousemove:function(q){return m.Handler(q,"Mousemove",this)},Mouseover:function(q){return m.Handler(q,"Mouseover",this)},Mouseout:function(q){return m.Handler(q,"Mouseout",this)},Click:function(q){return m.Handler(q,"Click",this)},DblClick:function(q){return m.Handler(q,"DblClick",this)},Menu:function(q){return m.Handler(q,"ContextMenu",this)},Handler:function(t,r,s){if(l.loadingMathMenu){return m.False(t)}var q=b[s.jaxID];if(!t){t=window.event}t.isContextMenu=(r==="ContextMenu");if(q[r]){return q[r](t,s)}if(i.MathZoom){return i.MathZoom.HandleEvent(t,r,s)}},False:function(q){if(!q){q=window.event}if(q){if(q.preventDefault){q.preventDefault()}if(q.stopPropagation){q.stopPropagation()}q.cancelBubble=true;q.returnValue=false}return false},ContextMenu:function(r,x,u){var v=b[x.jaxID],t=v.getJaxFromMath(x);var y=(v.config.showMathMenu!=null?v:d).config.showMathMenu;if(!y||(k.context!=="MathJax"&&!u)){return}if(c.msieEventBug){r=window.event}m.ClearSelection();f.ClearHoverTimer();if(t.hover){if(t.hover.remove){clearTimeout(t.hover.remove);delete t.hover.remove}t.hover.nofade=true}var s=MathJax.Menu;if(s){s.jax=t;var q=s.menu.Find("Show Math As").menu;q.items[1].name=(j[t.inputJax].sourceMenuTitle||"Original Form");q.items[0].hidden=(t.inputJax==="Error");return s.menu.Post(r)}else{if(!l.loadingMathMenu){l.loadingMathMenu=true;var w={pageX:r.pageX,pageY:r.pageY,clientX:r.clientX,clientY:r.clientY};g.Queue(l.Require("[MathJax]/extensions/MathMenu.js"),function(){delete l.loadingMathMenu;if(!MathJax.Menu){MathJax.Menu={}}},["ContextMenu",this,w,x,u])}return m.False(r)}},AltContextMenu:function(s,r){var t=b[r.jaxID];var q=(t.config.showMathMenu!=null?t:d).config.showMathMenu;if(q){if(k.context==="MathJax"){if(!c.noContextMenuBug||s.button!==m.RIGHTBUTTON){return}}else{if(!s[m.MENUKEY]||s.button!==m.LEFTBUTTON){return}}return t.ContextMenu(s,r,true)}},ClearSelection:function(){if(c.safariContextMenuBug){setTimeout("window.getSelection().empty()",0)}if(document.selection){setTimeout("document.selection.empty()",0)}},getBBox:function(s){s.appendChild(c.topImg);var r=c.topImg.offsetTop,t=s.offsetHeight-r,q=s.offsetWidth;s.removeChild(c.topImg);return{w:q,h:r,d:t}}};var f=c.Hover={Mouseover:function(s,r){if(k.discoverable||k.zoom==="Hover"){var u=s.fromElement||s.relatedTarget,t=s.toElement||s.target;if(u&&t&&u.isMathJax!=t.isMathJax){var q=this.getJaxFromMath(r);if(q.hover){f.ReHover(q)}else{f.HoverTimer(q,r)}return m.False(s)}}},Mouseout:function(s,r){if(k.discoverable||k.zoom==="Hover"){var u=s.fromElement||s.relatedTarget,t=s.toElement||s.target;if(u&&t&&u.isMathJax!=t.isMathJax){var q=this.getJaxFromMath(r);if(q.hover){f.UnHover(q)}else{f.ClearHoverTimer()}return m.False(s)}}},Mousemove:function(s,r){if(k.discoverable||k.zoom==="Hover"){var q=this.getJaxFromMath(r);if(q.hover){return}if(f.lastX==s.clientX&&f.lastY==s.clientY){return}f.lastX=s.clientX;f.lastY=s.clientY;f.HoverTimer(q,r);return m.False(s)}},HoverTimer:function(q,r){this.ClearHoverTimer();this.hoverTimer=setTimeout(g(["Hover",this,q,r]),o.hover)},ClearHoverTimer:function(){if(this.hoverTimer){clearTimeout(this.hoverTimer);delete this.hoverTimer}},Hover:function(q,u){if(i.MathZoom&&i.MathZoom.Hover({},u)){return}var t=b[q.outputJax],v=t.getHoverSpan(q,u),y=t.getHoverBBox(q,v,u),w=(t.config.showMathMenu!=null?t:d).config.showMathMenu;var A=o.frame.x,z=o.frame.y,x=o.frame.bwidth;if(c.msieBorderWidthBug){x=0}q.hover={opacity:0,id:q.inputID+"-Hover"};var r=h.Element("span",{id:q.hover.id,isMathJax:true,style:{display:"inline-block",width:0,height:0,position:"relative"}},[["span",{className:"MathJax_Hover_Frame",isMathJax:true,style:{display:"inline-block",position:"absolute",top:this.Px(-y.h-z-x-(y.y||0)),left:this.Px(-A-x+(y.x||0)),width:this.Px(y.w+2*A),height:this.Px(y.h+y.d+2*z),opacity:0,filter:"alpha(opacity=0)"}}]]);var s=h.Element("span",{isMathJax:true,id:q.hover.id+"Menu",style:{display:"inline-block","z-index":1,width:0,height:0,position:"relative"}},[["img",{className:"MathJax_Hover_Arrow",isMathJax:true,math:u,src:o.button.src,onclick:this.HoverMenu,jax:t.id,style:{left:this.Px(y.w+A+x+(y.x||0)+o.button.x),top:this.Px(-y.h-z-x-(y.y||0)-o.button.y),opacity:0,filter:"alpha(opacity=0)"}}]]);if(y.width){r.style.width=s.style.width=y.width;r.style.marginRight=s.style.marginRight="-"+y.width;r.firstChild.style.width=y.width;s.firstChild.style.left="";s.firstChild.style.right=this.Px(o.button.wx)}v.parentNode.insertBefore(r,v);if(w){v.parentNode.insertBefore(s,v)}if(v.style){v.style.position="relative"}this.ReHover(q)},ReHover:function(q){if(q.hover.remove){clearTimeout(q.hover.remove)}q.hover.remove=setTimeout(g(["UnHover",this,q]),o.fadeoutDelay);this.HoverFadeTimer(q,o.fadeinInc)},UnHover:function(q){if(!q.hover.nofade){this.HoverFadeTimer(q,-o.fadeoutInc,o.fadeoutStart)}},HoverFade:function(q){delete q.hover.timer;q.hover.opacity=Math.max(0,Math.min(1,q.hover.opacity+q.hover.inc));q.hover.opacity=Math.floor(1000*q.hover.opacity)/1000;var s=document.getElementById(q.hover.id),r=document.getElementById(q.hover.id+"Menu");s.firstChild.style.opacity=q.hover.opacity;s.firstChild.style.filter="alpha(opacity="+Math.floor(100*q.hover.opacity)+")";if(r){r.firstChild.style.opacity=q.hover.opacity;r.firstChild.style.filter=s.style.filter}if(q.hover.opacity===1){return}if(q.hover.opacity>0){this.HoverFadeTimer(q,q.hover.inc);return}s.parentNode.removeChild(s);if(r){r.parentNode.removeChild(r)}if(q.hover.remove){clearTimeout(q.hover.remove)}delete q.hover},HoverFadeTimer:function(q,s,r){q.hover.inc=s;if(!q.hover.timer){q.hover.timer=setTimeout(g(["HoverFade",this,q]),(r||o.fadeDelay))}},HoverMenu:function(q){if(!q){q=window.event}return b[this.jax].ContextMenu(q,this.math,true)},ClearHover:function(q){if(q.hover.remove){clearTimeout(q.hover.remove)}if(q.hover.timer){clearTimeout(q.hover.timer)}f.ClearHoverTimer();delete q.hover},Px:function(q){if(Math.abs(q)<0.006){return"0px"}return q.toFixed(2).replace(/\.?0+$/,"")+"px"},getImages:function(){var q=new Image();q.src=o.button.src}};var a=c.Touch={last:0,delay:500,start:function(r){var q=new Date().getTime();var s=(q-a.last<a.delay);a.last=q;if(s){a.timeout=setTimeout(a.menu,a.delay,r,this);r.preventDefault()}},end:function(q){if(a.timeout){clearTimeout(a.timeout);delete a.timeout;a.last=0;q.preventDefault();return m.Handler((q.touches[0]||q.touch),"DblClick",this)}},menu:function(r,q){delete a.timeout;a.last=0;return m.Handler((r.touches[0]||r.touch),"ContextMenu",q)}};if(d.Browser.isMobile){var n=o.styles[".MathJax_Hover_Arrow"];n.width="25px";n.height="18px";o.button.x=-6}d.Browser.Select({MSIE:function(q){var s=(document.documentMode||0);var r=q.versionAtLeast("8.0");c.msieBorderWidthBug=(document.compatMode==="BackCompat");c.msieEventBug=q.isIE9;c.msieAlignBug=(!r||s<8);if(s<9){m.LEFTBUTTON=1}},Safari:function(q){c.safariContextMenuBug=true},Opera:function(q){c.operaPositionBug=true},Konqueror:function(q){c.noContextMenuBug=true}});c.topImg=(c.msieAlignBug?h.Element("img",{style:{width:0,height:0,position:"relative"},src:"about:blank"}):h.Element("span",{style:{width:0,height:0,display:"inline-block"}}));if(1||c.operaPositionBug){c.topImg.style.border="1px solid"}c.config=o=d.CombineConfig("MathEvents",o);var e=function(){var q=o.styles[".MathJax_Hover_Frame"];q.border=o.frame.bwidth+"px solid "+o.frame.bcolor+" ! important";q["box-shadow"]=q["-webkit-box-shadow"]=q["-moz-box-shadow"]=q["-khtml-box-shadow"]="0px 0px "+o.frame.hwidth+" "+o.frame.hcolor};g.Queue(d.Register.StartupHook("End Config",{}),[e],["getImages",f],["Styles",l,o.styles],["Post",d.Startup.signal,"MathEvents Ready"],["loadComplete",l,"[MathJax]/extensions/MathEvents.js"])})(MathJax.Hub,MathJax.HTML,MathJax.Ajax,MathJax.Callback,MathJax.OutputJax,MathJax.InputJax);

(function(a,d,f,c,j){var k="1.1.4";var i=a.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=2, OffY=2, Color='gray', Positive='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=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=0)"}}});var e,b,g;MathJax.Hub.Register.StartupHook("MathEvents Ready",function(){g=MathJax.Extension.MathEvents.Event;e=MathJax.Extension.MathEvents.Event.False;b=MathJax.Extension.MathEvents.Hover});var h=MathJax.Extension.MathZoom={version:k,settings:a.config.menuSettings,scrollSize:18,HandleEvent:function(n,l,m){if(h.settings.CTRL&&!n.ctrlKey){return true}if(h.settings.ALT&&!n.altKey){return true}if(h.settings.CMD&&!n.metaKey){return true}if(h.settings.Shift&&!n.shiftKey){return true}if(!h[l]){return true}return h[l](n,m)},Click:function(m,l){if(this.settings.zoom==="Click"){return this.Zoom(m,l)}},DblClick:function(m,l){if(this.settings.zoom==="Double-Click"){return this.Zoom(m,l)}},Hover:function(m,l){if(this.settings.zoom==="Hover"){this.Zoom(m,l);return true}return false},Zoom:function(n,s){this.Remove();b.ClearHoverTimer();g.ClearSelection();var q=MathJax.OutputJax[s.jaxID];var o=q.getJaxFromMath(s);if(o.hover){b.UnHover(o)}var l=Math.floor(0.85*document.body.clientWidth),r=Math.floor(0.85*Math.max(document.body.clientHeight,document.documentElement.clientHeight));var m=d.Element("span",{style:{position:"relative",display:"inline-block",height:0,width:0},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":l+"px","max-height":r+"px"}},[["span",{style:{display:"inline-block","white-space":"nowrap"}}]]]]);var x=m.lastChild,u=x.firstChild,p=m.firstChild;s.parentNode.insertBefore(m,s);if(u.addEventListener){u.addEventListener("mousedown",this.Remove,true)}if(this.msieTrapEventBug){var w=d.Element("span",{id:"MathJax_ZoomEventTrap",onmousedown:this.Remove});m.insertBefore(w,x)}if(this.msieZIndexBug){var t=d.addElement(document.body,"img",{src:"about:blank",id:"MathJax_ZoomTracker",width:0,height:0,style:{width:0,height:0,position:"relative"}});m.style.position="relative";m.style.zIndex=i.styles["#MathJax_ZoomOverlay"]["z-index"];m=t}var v=q.Zoom(o,u,s,l,r);if(this.msiePositionBug){if(this.msieSizeBug){x.style.height=v.zH+"px";x.style.width=v.zW+"px"}if(x.offsetHeight>r){x.style.height=r+"px";x.style.width=(v.zW+this.scrollSize)+"px"}if(x.offsetWidth>l){x.style.width=l+"px";x.style.height=(v.zH+this.scrollSize)+"px"}}if(this.operaPositionBug){x.style.width=Math.min(l,v.zW)+"px"}if(x.offsetWidth<l&&x.offsetHeight<r){x.style.overflow="visible"}this.Position(x,v);if(this.msieTrapEventBug){w.style.height=x.clientHeight+"px";w.style.width=x.clientWidth+"px";w.style.left=(parseFloat(x.style.left)+x.clientLeft)+"px";w.style.top=(parseFloat(x.style.top)+x.clientTop)+"px"}x.style.visibility="";if(this.settings.zoom==="Hover"){p.onmouseover=this.Remove}if(window.addEventListener){addEventListener("resize",this.Resize,false)}else{if(window.attachEvent){attachEvent("onresize",this.Resize)}else{this.onresize=window.onresize;window.onresize=this.Resize}}return e(n)},Position:function(p,r){var q=this.Resize(),m=q.x,s=q.y,l=r.mW;var o=-Math.floor((p.offsetWidth-l)/2),n=r.Y;p.style.left=Math.max(o,10-m)+"px";p.style.top=Math.max(n,10-s)+"px";if(!h.msiePositionBug){h.SetWH()}},Resize:function(n){if(h.onresize){h.onresize(n)}var l=0,q=0,o,p=document.getElementById("MathJax_ZoomFrame"),m=document.getElementById("MathJax_ZoomOverlay");o=p;while(o.offsetParent){l+=o.offsetLeft;o=o.offsetParent}if(h.operaPositionBug){p.style.border="1px solid"}o=p;while(o.offsetParent){q+=o.offsetTop;o=o.offsetParent}if(h.operaPositionBug){p.style.border=""}m.style.left=(-l)+"px";m.style.top=(-q)+"px";if(h.msiePositionBug){setTimeout(h.SetWH,0)}else{h.SetWH()}return{x:l,y:q}},SetWH:function(){var l=document.getElementById("MathJax_ZoomOverlay");l.style.width=l.style.height="1px";var m=document.documentElement||document.body;l.style.width=m.scrollWidth+"px";l.style.height=Math.max(m.clientHeight,m.scrollHeight)+"px"},Remove:function(m){var n=document.getElementById("MathJax_ZoomFrame");if(n){n.parentNode.removeChild(n);n=document.getElementById("MathJax_ZoomTracker");if(n){n.parentNode.removeChild(n)}if(h.operaRefreshBug){var l=d.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(l)}if(window.removeEventListener){removeEventListener("resize",h.Resize,false)}else{if(window.detachEvent){detachEvent("onresize",h.Resize)}else{window.onresize=h.onresize;delete h.onresize}}}return e(m)}};a.Browser.Select({MSIE:function(l){var n=(document.documentMode||0);var m=(n>=9);h.msiePositionBug=!m;h.msieSizeBug=l.versionAtLeast("7.0")&&(!document.documentMode||n===7||n===8);h.msieZIndexBug=(n<=7);h.msieInlineBlockAlignBug=(n<=7);h.msieTrapEventBug=!window.addEventListener;if(document.compatMode==="BackCompat"){h.scrollSize=52}if(m){delete i.styles["#MathJax_Zoom"].filter}},Opera:function(l){h.operaPositionBug=true;h.operaRefreshBug=true}});h.topImg=(h.msieInlineBlockAlignBug?d.Element("img",{style:{width:0,height:0,position:"relative"},src:"about:blank"}):d.Element("span",{style:{width:0,height:0,display:"inline-block"}}));if(h.operaPositionBug||h.msieTopBug){h.topImg.style.border="1px solid"}MathJax.Callback.Queue(["StartupHook",MathJax.Hub.Register,"Begin Styles",{}],["Styles",f,i.styles],["Post",a.Startup.signal,"MathZoom Ready"],["loadComplete",f,"[MathJax]/extensions/MathZoom.js"])})(MathJax.Hub,MathJax.HTML,MathJax.Ajax,MathJax.OutputJax["HTML-CSS"],MathJax.OutputJax.NativeMML);

(function(c,f,i,e,b){var n="1.1.9";MathJax.Extension.MathMenu={version:n};var l=c.Browser.isPC,j=c.Browser.isMSIE;var h=(l?null:"5px");var m=c.CombineConfig("MathMenu",{delay:150,helpURL:"http://www.mathjax.org/help/user/",closeImg:i.fileURL(b.imageDir+"/CloseX-31.png"),showRenderer:true,showFontMenu:false,showContext:false,windowSettings:{status:"no",toolbar:"no",locationbar:"no",menubar:"no",directories:"no",personalbar:"no",resizable:"yes",scrollbars:"yes",width:100,height:50},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=2, OffY=2, Color='gray', Positive='true')"},".MathJax_Menu":{position:"absolute","background-color":"white",color:"black",width:"auto",padding:(l?"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=2, OffY=2, Color='gray', Positive='true')"},".MathJax_MenuItem":{padding:(l?"2px 2em":"1px 2em"),background:"transparent"},".MathJax_MenuTitle":{"background-color":"#CCCCCC",margin:(l?"-1px -1px 1px -1px":"-5px 0 0 0"),"text-align":"center","font-style":"italic","font-size":"80%",color:"#444444",padding:"2px 0",overflow:"hidden"},".MathJax_MenuArrow":{position:"absolute",right:".5em",color:"#666666","font-family":(j?"'Arial unicode MS'":null)},".MathJax_MenuActive .MathJax_MenuArrow":{color:"white"},".MathJax_MenuCheck":{position:"absolute",left:".7em","font-family":(j?"'Arial unicode MS'":null)},".MathJax_MenuRadioCheck":{position:"absolute",left:(l?"1em":".7em")},".MathJax_MenuLabel":{padding:(l?"2px 2em 4px 1.33em":"1px 2em 3px 1.33em"),"font-style":"italic"},".MathJax_MenuRule":{"border-top":(l?"1px solid #CCCCCC":"1px solid #DDDDDD"),margin:(l?"4px 1px 0px":"4px 3px")},".MathJax_MenuDisabled":{color:"GrayText"},".MathJax_MenuActive":{"background-color":(l?"Highlight":"#606872"),color:(l?"HighlightText":"white")},".MathJax_Menu_Close":{position:"absolute",width:"31px",height:"31px",top:"-15px",left:"-15px"}}});var g,d;c.Register.StartupHook("MathEvents Ready",function(){g=MathJax.Extension.MathEvents.Event.False;d=MathJax.Extension.MathEvents.Hover});var a=MathJax.Menu=MathJax.Object.Subclass({version:n,items:[],posted:false,title:null,margin:5,Init:function(o){this.items=[].slice.call(arguments,0)},With:function(o){if(o){c.Insert(this,o)}return this},Post:function(p,z){if(!p){p=window.event}var v=(!this.title?null:[["div",{className:"MathJax_MenuTitle"},[this.title]]]);var o=document.getElementById("MathJax_MenuFrame");if(!o){o=a.Background(this);delete k.lastItem;delete k.lastMenu;delete a.skipUp}var q=f.addElement(o,"div",{onmouseup:a.Mouseup,ondblclick:g,ondragstart:g,onselectstart:g,oncontextmenu:g,menuItem:this,className:"MathJax_Menu"},v);for(var s=0,r=this.items.length;s<r;s++){this.items[s].Create(q)}if(a.isMobile){f.addElement(q,"img",{className:"MathJax_Menu_Close",menu:z,src:m.closeImg,ontouchstart:a.Close,ontouchend:g,onmousedown:a.Close})}this.posted=true;q.style.width=(q.offsetWidth+2)+"px";var w=p.pageX,u=p.pageY;if(!w&&!u){w=p.clientX+document.body.scrollLeft+document.documentElement.scrollLeft;u=p.clientY+document.body.scrollTop+document.documentElement.scrollTop}if(!z){if(w+q.offsetWidth>document.body.offsetWidth-this.margin){w=document.body.offsetWidth-q.offsetWidth-this.margin}if(a.isMobile){w=Math.max(5,w-Math.floor(q.offsetWidth/2));u-=20}a.skipUp=p.isContextMenu}else{var t="left",A=z.offsetWidth;w=(a.isMobile?30:A-2);u=0;while(z&&z!==o){w+=z.offsetLeft;u+=z.offsetTop;z=z.parentNode}if(w+q.offsetWidth>document.body.offsetWidth-this.margin&&!a.isMobile){t="right";w=Math.max(this.margin,w-A-q.offsetWidth+6)}if(!l){q.style["borderRadiusTop"+t]=0;q.style["WebkitBorderRadiusTop"+t]=0;q.style["MozBorderRadiusTop"+t]=0;q.style["KhtmlBorderRadiusTop"+t]=0}}q.style.left=w+"px";q.style.top=u+"px";if(document.selection&&document.selection.empty){document.selection.empty()}return g(p)},Remove:function(o,p){var q=document.getElementById("MathJax_MenuFrame");if(q){q.parentNode.removeChild(q);if(this.msieBackgroundBug){detachEvent("onresize",a.Resize)}}if(a.jax.hover){delete a.jax.hover.nofade;d.UnHover(a.jax)}},Find:function(p){var r=[].slice.call(arguments,1);for(var q=0,o=this.items.length;q<o;q++){if(this.items[q].name===p){if(r.length){if(!this.items[q].menu){return null}return this.items[q].menu.Find.apply(this.items[q].menu,r)}return this.items[q]}}return null}},{config:m,div:null,Close:function(o){return a.Event(o,this.menu||this.parentNode,(this.menu?"Touchend":"Remove"))},Remove:function(o){return a.Event(o,this,"Remove")},Mouseover:function(o){return a.Event(o,this,"Mouseover")},Mouseout:function(o){return a.Event(o,this,"Mouseout")},Mousedown:function(o){return a.Event(o,this,"Mousedown")},Mouseup:function(o){return a.Event(o,this,"Mouseup")},Touchstart:function(o){return a.Event(o,this,"Touchstart")},Touchend:function(o){return a.Event(o,this,"Touchend")},Event:function(q,s,o,r){if(a.skipMouseover&&o==="Mouseover"&&!r){return g(q)}if(a.skipUp){if(o.match(/Mouseup|Touchend/)){delete a.skipUp;return g(q)}if(o==="Touchstart"||(o==="Mousedown"&&!a.skipMousedown)){delete a.skipUp}}if(!q){q=window.event}var p=s.menuItem;if(p&&p[o]){return p[o](q,s)}return null},BGSTYLE:{position:"absolute",left:0,top:0,"z-index":200,width:"100%",height:"100%",border:0,padding:0,margin:0},Background:function(p){var q=f.addElement(document.body,"div",{style:this.BGSTYLE,id:"MathJax_MenuFrame"},[["div",{style:this.BGSTYLE,menuItem:p,onmousedown:this.Remove}]]);var o=q.firstChild;if(p.msieBackgroundBug){o.style.backgroundColor="white";o.style.filter="alpha(opacity=0)";q.width=q.height=0;this.Resize();attachEvent("onresize",this.Resize)}else{o.style.position="fixed"}return q},Resize:function(){setTimeout(a.SetWH,0)},SetWH:function(){var o=document.getElementById("MathJax_MenuFrame");if(o){o=o.firstChild;o.style.width=o.style.height="1px";o.style.width=document.body.scrollWidth+"px";o.style.height=document.body.scrollHeight+"px"}},saveCookie:function(){f.Cookie.Set("menu",this.cookie)},getCookie:function(){this.cookie=f.Cookie.Get("menu")},getImages:function(){if(a.isMobile){var o=new Image();o.src=m.closeImg}}});var k=a.ITEM=MathJax.Object.Subclass({name:"",Create:function(p){if(!this.hidden){var o={onmouseover:a.Mouseover,onmouseout:a.Mouseout,onmouseup:a.Mouseup,onmousedown:a.Mousedown,ondragstart:g,onselectstart:g,onselectend:g,ontouchstart:a.Touchstart,ontouchend:a.Touchend,className:"MathJax_MenuItem",menuItem:this};if(this.disabled){o.className+=" MathJax_MenuDisabled"}f.addElement(p,"div",o,this.Label(o,p))}},Mouseover:function(s,u){if(!this.disabled){this.Activate(u)}if(!this.menu||!this.menu.posted){var t=document.getElementById("MathJax_MenuFrame").childNodes,p=u.parentNode.childNodes;for(var q=0,o=p.length;q<o;q++){var r=p[q].menuItem;if(r&&r.menu&&r.menu.posted){r.Deactivate(p[q])}}o=t.length-1;while(o>=0&&u.parentNode.menuItem!==t[o].menuItem){t[o].menuItem.posted=false;t[o].parentNode.removeChild(t[o]);o--}if(this.Timer&&!a.isMobile){this.Timer(s,u)}}},Mouseout:function(o,p){if(!this.menu||!this.menu.posted){this.Deactivate(p)}if(this.timer){clearTimeout(this.timer);delete this.timer}},Mouseup:function(o,p){return this.Remove(o,p)},Touchstart:function(o,p){return this.TouchEvent(o,p,"Mousedown")},Touchend:function(o,p){return this.TouchEvent(o,p,"Mouseup")},TouchEvent:function(p,q,o){if(this!==k.lastItem){if(k.lastMenu){a.Event(p,k.lastMenu,"Mouseout")}a.Event(p,q,"Mouseover",true);k.lastItem=this;k.lastMenu=q}if(this.nativeTouch){return null}a.Event(p,q,o);return false},Remove:function(o,p){p=p.parentNode.menuItem;return p.Remove(o,p)},Activate:function(o){this.Deactivate(o);o.className+=" MathJax_MenuActive"},Deactivate:function(o){o.className=o.className.replace(/ MathJax_MenuActive/,"")},With:function(o){if(o){c.Insert(this,o)}return this}});a.ITEM.COMMAND=a.ITEM.Subclass({action:function(){},Init:function(o,q,p){this.name=o;this.action=q;this.With(p)},Label:function(o,p){return[this.name]},Mouseup:function(o,p){if(!this.disabled){this.Remove(o,p);this.action.call(this,o)}return g(o)}});a.ITEM.SUBMENU=a.ITEM.Subclass({menu:null,marker:(l&&!c.Browser.isSafari?"\u25B6":"\u25B8"),Init:function(o,q){this.name=o;var p=1;if(!(q instanceof a.ITEM)){this.With(q),p++}this.menu=a.apply(a,[].slice.call(arguments,p))},Label:function(o,p){this.menu.posted=false;return[this.name+" ",["span",{className:"MathJax_MenuArrow"},[this.marker]]]},Timer:function(o,p){if(this.timer){clearTimeout(this.timer)}o={clientX:o.clientX,clientY:o.clientY};this.timer=setTimeout(e(["Mouseup",this,o,p]),m.delay)},Touchend:function(p,r){var q=this.menu.posted;var o=this.SUPER(arguments).Touchend.apply(this,arguments);if(q){this.Deactivate(r);delete k.lastItem;delete k.lastMenu}return o},Mouseup:function(p,r){if(!this.disabled){if(!this.menu.posted){if(this.timer){clearTimeout(this.timer);delete this.timer}this.menu.Post(p,r)}else{var q=document.getElementById("MathJax_MenuFrame").childNodes,o=q.length-1;while(o>=0){var s=q[o];s.menuItem.posted=false;s.parentNode.removeChild(s);if(s.menuItem===this.menu){break}o--}}}return g(p)}});a.ITEM.RADIO=a.ITEM.Subclass({variable:null,marker:(l?"\u25CF":"\u2713"),Init:function(p,o,q){this.name=p;this.variable=o;this.With(q);if(this.value==null){this.value=this.name}},Label:function(p,q){var o={className:"MathJax_MenuRadioCheck"};if(m.settings[this.variable]!==this.value){o={style:{display:"none"}}}return[["span",o,[this.marker]]," "+this.name]},Mouseup:function(r,s){if(!this.disabled){var t=s.parentNode.childNodes;for(var p=0,o=t.length;p<o;p++){var q=t[p].menuItem;if(q&&q.variable===this.variable){t[p].firstChild.style.display="none"}}s.firstChild.display="";m.settings[this.variable]=this.value;a.cookie[this.variable]=m.settings[this.variable];a.saveCookie();if(this.action){this.action.call(a)}}this.Remove(r,s);return g(r)}});a.ITEM.CHECKBOX=a.ITEM.Subclass({variable:null,marker:"\u2713",Init:function(p,o,q){this.name=p;this.variable=o;this.With(q)},Label:function(p,q){var o={className:"MathJax_MenuCheck"};if(!m.settings[this.variable]){o={style:{display:"none"}}}return[["span",o,[this.marker]]," "+this.name]},Mouseup:function(o,p){if(!this.disabled){p.firstChild.display=(m.settings[this.variable]?"none":"");m.settings[this.variable]=!m.settings[this.variable];a.cookie[this.variable]=m.settings[this.variable];a.saveCookie();if(this.action){this.action.call(a)}}this.Remove(o,p);return g(o)}});a.ITEM.LABEL=a.ITEM.Subclass({Init:function(o,p){this.name=o;this.With(p)},Label:function(o,p){delete o.onmouseover,delete o.onmouseout;delete o.onmousedown;o.className+=" MathJax_MenuLabel";return[this.name]}});a.ITEM.RULE=a.ITEM.Subclass({Label:function(o,p){delete o.onmouseover,delete o.onmouseout;delete o.onmousedown;o.className+=" MathJax_MenuRule";return null}});a.About=function(){var r=b["HTML-CSS"]||{fontInUse:""};var t=(r.webFonts?"":"local "),p=(r.webFonts?" web":"");var q=(r.imgFonts?"Image":t+r.fontInUse+p)+" fonts";var o=["MathJax.js v"+MathJax.fileversion,["br"]];o.push(["div",{style:{"border-top":"groove 2px",margin:".25em 0"}}]);a.About.GetJax(o,MathJax.InputJax,"Input Jax");a.About.GetJax(o,MathJax.OutputJax,"Output Jax");a.About.GetJax(o,MathJax.ElementJax,"Element Jax");o.push(["div",{style:{"border-top":"groove 2px",margin:".25em 0"}}]);a.About.GetJax(o,MathJax.Extension,"Extension",true);o.push(["div",{style:{"border-top":"groove 2px",margin:".25em 0"}}],["center",{},[c.Browser+" v"+c.Browser.version+(r.webFonts?" \u2014 "+r.allowWebFonts+" fonts":"")]]);a.About.div=a.Background(a.About);var u=f.addElement(a.About.div,"div",{id:"MathJax_About",onclick:a.About.Remove},[["b",{style:{fontSize:"120%"}},["MathJax"]]," v"+MathJax.version,["br"],"using "+q,["br"],["br"],["span",{style:{display:"inline-block","text-align":"left","font-size":"80%","background-color":"#E4E4E4",padding:".4em .6em",border:"1px inset"}},o],["br"],["br"],["a",{href:"http://www.mathjax.org/"},["www.mathjax.org"]]]);var v=(document.documentElement||{});var s=window.innerHeight||v.clientHeight||v.scrollHeight||0;if(a.prototype.msieAboutBug){u.style.width="20em";u.style.position="absolute";u.style.left=Math.floor((document.documentElement.scrollWidth-u.offsetWidth)/2)+"px";u.style.top=(Math.floor((s-u.offsetHeight)/3)+document.body.scrollTop)+"px"}else{u.style.marginLeft=Math.floor(-u.offsetWidth/2)+"px";u.style.top=Math.floor((s-u.offsetHeight)/3)+"px"}};a.About.Remove=function(o){if(a.About.div){document.body.removeChild(a.About.div);delete a.About.div}};a.About.GetJax=function(p,u,s,r){var t=[];for(var v in u){if(u.hasOwnProperty(v)&&u[v]){if((r&&u[v].version)||(u[v].isa&&u[v].isa(u))){t.push((u[v].id||v)+" "+s+" v"+u[v].version)}}}t.sort();for(var q=0,o=t.length;q<o;q++){p.push(t[q],["br"])}return p};a.Help=function(){window.open(m.helpURL,"MathJaxHelp")};a.ShowSource=function(r){if(!r){r=window.event}var q={screenX:r.screenX,screenY:r.screenY};if(!a.jax){return}if(this.format==="MathML"){var o=MathJax.ElementJax.mml;if(o&&typeof(o.mbase.prototype.toMathML)!=="undefined"){try{a.ShowSource.Text(a.jax.root.toMathML(),r)}catch(p){if(!p.restart){throw p}e.After([this,a.ShowSource,q])}}else{if(!i.loadingToMathML){i.loadingToMathML=true;a.ShowSource.Window(r);e.Queue(i.Require("[MathJax]/extensions/toMathML.js"),function(){delete i.loadingToMathML;if(!o.mbase.prototype.toMathML){o.mbase.prototype.toMathML=function(){}}},[this,a.ShowSource,q]);return}}}else{if(a.jax.originalText==null){alert("No TeX form available");return}a.ShowSource.Text(a.jax.originalText,r)}};a.ShowSource.Window=function(p){if(!a.ShowSource.w){var q=[],o=m.windowSettings;for(var r in o){if(o.hasOwnProperty(r)){q.push(r+"="+o[r])}}a.ShowSource.w=window.open("","_blank",q.join(","))}return a.ShowSource.w};a.ShowSource.Text=function(u,t){var q=a.ShowSource.Window(t);u=u.replace(/^\s*/,"").replace(/\s*$/,"");u=u.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;");if(a.isMobile){q.document.open();q.document.write("<html><head><meta name='viewport' content='width=device-width, initial-scale=1.0' /><title>MathJax Equation Source</title></head><body style='font-size:85%'>");q.document.write("<pre>"+u+"</pre>");q.document.write("<hr><input type='button' value='Close' onclick='window.close()' />");q.document.write("</body></html>");q.document.close()}else{q.document.open();q.document.write("<html><head><title>MathJax Equation Source</title></head><body style='font-size:85%'>");q.document.write("<table><tr><td><pre>"+u+"</pre></td></tr></table>");q.document.write("</body></html>");q.document.close();var s=q.document.body.firstChild;var r=(q.outerHeight-q.innerHeight)||30,p=(q.outerWidth-q.innerWidth)||30;p=Math.min(Math.floor(0.5*screen.width),s.offsetWidth+p+25);r=Math.min(Math.floor(0.5*screen.height),s.offsetHeight+r+25);q.resizeTo(p,r);if(t&&t.screenX!=null){var o=Math.max(0,Math.min(t.screenX-Math.floor(p/2),screen.width-p-20)),v=Math.max(0,Math.min(t.screenY-Math.floor(r/2),screen.height-r-20));q.moveTo(o,v)}}delete a.ShowSource.w};a.Scale=function(){var p=b["HTML-CSS"],o=b.NativeMML;var r=(p?p.config.scale:o.config.scale);var q=prompt("Scale all mathematics (compared to surrounding text) by",r+"%");if(q){if(q.match(/^\s*\d+\s*%?\s*$/)){q=parseInt(q);if(q){if(q!==r){if(p){p.config.scale=q}if(o){o.config.scale=q}a.cookie.scale=q;a.saveCookie();c.Reprocess()}}else{alert("The scale should not be zero")}}else{alert("The scale should be a perentage (e.g., 120%)")}}};a.Zoom=function(){if(!MathJax.Extension.MathZoom){i.Require("[MathJax]/extensions/MathZoom.js")}};a.Renderer=function(){var o=c.outputJax["jax/mml"];if(o[0]!==m.settings.renderer){c.Queue(["setRenderer",c,m.settings.renderer,"jax/mml"],["Rerender",c])}};a.Font=function(){var o=b["HTML-CSS"];if(!o){return}document.location.reload()};c.Browser.Select({MSIE:function(o){var p=(document.compatMode==="BackCompat");var q=o.versionAtLeast("8.0")&&document.documentMode>7;a.Augment({margin:20,msieBackgroundBug:(p||!q),msieAboutBug:p});if(document.documentMode>=9){delete m.styles["#MathJax_About"].filter;delete m.styles[".MathJax_Menu"].filter}},Firefox:function(o){a.skipMouseover=o.isMobile&&o.versionAtLeast("6.0");a.skipMousedown=o.isMobile}});a.isMobile=c.Browser.isMobile;a.noContextMenu=c.Browser.noContextMenu;c.Register.StartupHook("End Config",function(){m.settings=c.config.menuSettings;if(typeof(m.settings.showRenderer)!=="undefined"){m.showRenderer=m.settings.showRenderer}if(typeof(m.settings.showFontMenu)!=="undefined"){m.showFontMenu=m.settings.showFontMenu}if(typeof(m.settings.showContext)!=="undefined"){m.showContext=m.settings.showContext}a.getCookie();a.menu=a(k.SUBMENU("Show Math As",k.COMMAND("MathML Code",a.ShowSource,{nativeTouch:true,format:"MathML"}),k.COMMAND("Original Form",a.ShowSource,{nativeTouch:true})),k.RULE(),k.SUBMENU("Math Settings",k.SUBMENU("Zoom Trigger",k.RADIO("Hover","zoom",{action:a.Zoom}),k.RADIO("Click","zoom",{action:a.Zoom}),k.RADIO("Double-Click","zoom",{action:a.Zoom}),k.RADIO("No Zoom","zoom",{value:"None"}),k.RULE(),k.LABEL("Trigger Requires:"),k.CHECKBOX((c.Browser.isMac?"Option":"Alt"),"ALT"),k.CHECKBOX("Command","CMD",{hidden:!c.Browser.isMac}),k.CHECKBOX("Control","CTRL",{hidden:c.Browser.isMac}),k.CHECKBOX("Shift","Shift")),k.SUBMENU("Zoom Factor",k.RADIO("125%","zscale"),k.RADIO("133%","zscale"),k.RADIO("150%","zscale"),k.RADIO("175%","zscale"),k.RADIO("200%","zscale"),k.RADIO("250%","zscale"),k.RADIO("300%","zscale"),k.RADIO("400%","zscale")),k.RULE(),k.SUBMENU("Math Renderer",{hidden:!m.showRenderer},k.RADIO("HTML-CSS","renderer",{action:a.Renderer}),k.RADIO("MathML","renderer",{action:a.Renderer,value:"NativeMML"})),k.SUBMENU("Font Preference",{hidden:!m.showFontMenu},k.LABEL("For HTML-CSS:"),k.RADIO("Auto","font",{action:a.Font}),k.RULE(),k.RADIO("TeX (local)","font",{action:a.Font}),k.RADIO("TeX (web)","font",{action:a.Font}),k.RADIO("TeX (image)","font",{action:a.Font}),k.RULE(),k.RADIO("STIX (local)","font",{action:a.Font})),k.SUBMENU("Contextual Menu",{hidden:!m.showContext},k.RADIO("MathJax","context"),k.RADIO("Browser","context")),k.COMMAND("Scale All Math ...",a.Scale),k.RULE().With({hidden:true}),k.CHECKBOX("Highlight on Hover","discoverable",{hidden:true})),k.RULE(),k.COMMAND("About MathJax",a.About),k.COMMAND("MathJax Help",a.Help))});a.showRenderer=function(o){a.cookie.showRenderer=m.showRenderer=o;a.saveCookie();a.menu.Find("Math Settings","Math Renderer").hidden=!o};a.showFontMenu=function(o){a.cookie.showFontMenu=m.showFontMenu=o;a.saveCookie();a.menu.Find("Math Settings","Font Preference").hidden=!o};a.showContext=function(o){a.cookie.showContext=m.showContext=o;a.saveCookie();a.menu.Find("Math Settings","Contextual Menu").hidden=!o};if(a.isMobile){(function(){var p=m.settings;var o=a.menu.Find("Math Settings","Zoom Trigger").menu;o.items[0].disabled=o.items[1].disabled=true;if(p.zoom==="Hover"||p.zoom=="Click"){p.zoom="None"}o.items=o.items.slice(0,4);if(navigator.appVersion.match(/[ (]Android[) ]/)){a.ITEM.SUBMENU.Augment({marker:"\u00BB"})}})()}e.Queue(c.Register.StartupHook("End Config",{}),["getImages",a],["Styles",i,m.styles],["Post",c.Startup.signal,"MathMenu Ready"],["loadComplete",i,"[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:"1.1.4",directory:MathJax.ElementJax.directory+"/mml",extensionDir:MathJax.ElementJax.extensionDir+"/mml",optableDir:MathJax.ElementJax.directory+"/mml/optable"});MathJax.ElementJax.mml.Augment({Init:function(){if(arguments.length===1&&arguments[0].type==="math"){this.root=arguments[0]}else{this.root=MathJax.ElementJax.mml.math.apply(this,arguments)}if(this.root.mode){if(!this.root.display&&this.root.mode==="display"){this.root.display="block"}delete this.root.mode}}},{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},PLANE1:String.fromCharCode(55349)});(function(a){var d=false;var b=true;a.mbase=MathJax.Object.Subclass({type:"base",isToken:d,defaults:{mathbackground:a.INHERIT,mathcolor:a.INHERIT},noInherit:{},noInheritAttribute:{texClass:true},linebreakContainer:d,Init:function(){this.data=[];if(this.inferRow&&!(arguments.length===1&&arguments[0].inferred)){this.Append(a.mrow().With({inferred:b}))}this.Append.apply(this,arguments)},With:function(f){for(var g in f){if(f.hasOwnProperty(g)){this[g]=f[g]}}return this},Append:function(){if(this.inferRow&&this.data.length){this.data[0].Append.apply(this.data[0],arguments)}else{for(var g=0,f=arguments.length;g<f;g++){this.SetData(this.data.length,arguments[g])}}},SetData:function(f,g){if(g!=null){if(!(g instanceof a.mbase)){g=(this.isToken?a.chars(g):a.mtext(g))}g.parent=this;g.setInherit(this.inheritFromMe?this:this.inherit)}this.data[f]=g},Parent:function(){var f=this.parent;while(f&&f.inferred){f=f.parent}return f},Get:function(g,k){if(typeof(this[g])!=="undefined"){return this[g]}var h=this.Parent();if(h&&h["adjustChild_"+g]!=null){return(h["adjustChild_"+g])(h.childPosition(this))}var j=this.inherit;var f=j;while(j){if(typeof(j[g])!=="undefined"&&!j.noInheritAttribute[g]){var i=j.noInherit[this.type];if(!(i&&i[g])){return j[g]}}f=j;j=j.inherit}if(!k){if(this.defaults[g]===a.AUTO){return this.autoDefault(g)}if(this.defaults[g]!==a.INHERIT&&this.defaults[g]!=null){return this.defaults[g]}if(f){return f.defaults[g]}}return null},hasValue:function(f){return(this.Get(f,true)!=null)},getValues:function(){var g={};for(var h=0,f=arguments.length;h<f;h++){g[arguments[h]]=this.Get(arguments[h])}return g},adjustChild_scriptlevel:function(f){return this.Get("scriptlevel")},adjustChild_displaystyle:function(f){return this.Get("displaystyle")},adjustChild_texprimestyle:function(f){return this.Get("texprimestyle")},childPosition:function(h){if(h.parent.inferred){h=h.parent}for(var g=0,f=this.data.length;g<f;g++){if(this.data[g]===h){return g}}return null},setInherit:function(h){if(h!==this.inherit&&this.inherit==null){this.inherit=h;for(var g=0,f=this.data.length;g<f;g++){if(this.data[g]&&this.data[g].setInherit){this.data[g].setInherit(h)}}}},setTeXclass:function(f){this.getPrevClass(f);return(typeof(this.texClass)!=="undefined"?this:f)},getPrevClass:function(f){if(f){this.prevClass=f.Get("texClass");this.prevLevel=f.Get("scriptlevel")}},updateTeXclass:function(f){if(f){this.prevClass=f.prevClass;delete f.prevClass;this.prevLevel=f.prevLevel;delete f.prevLevel;this.texClass=f.Get("texClass")}},texSpacing:function(){var g=(this.prevClass!=null?this.prevClass:a.TEXCLASS.NONE);var f=(this.Get("texClass")||a.TEXCLASS.ORD);if(g===a.TEXCLASS.NONE||f===a.TEXCLASS.NONE){return""}if(g===a.TEXCLASS.VCENTER){g=a.TEXCLASS.ORD}if(f===a.TEXCLASS.VCENTER){f=a.TEXCLASS.ORD}var h=this.TEXSPACE[g][f];if(this.prevLevel>0&&this.Get("scriptlevel")>0&&h>=0){return""}return this.TEXSPACELENGTH[Math.abs(h)]},TEXSPACELENGTH:["",a.LENGTH.THINMATHSPACE,a.LENGTH.MEDIUMMATHSPACE,a.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(f){return""},isSpacelike:function(){return d},isEmbellished:function(){return d},Core:function(){return this},CoreMO:function(){return this},lineBreak:function(){if(this.isEmbellished()){return this.CoreMO().lineBreak()}else{return"none"}},hasNewline:function(){if(this.isEmbellished()){return this.CoreMO().hasNewline()}if(this.isToken||this.linebreakContainer){return d}for(var g=0,f=this.data.length;g<f;g++){if(this.data[g]&&this.data[g].hasNewline()){return b}}return d},array:function(){if(this.inferred){return this.data}else{return[this]}},toString:function(){return this.type+"("+this.data.join(",")+")"}},{childrenSpacelike:function(){for(var g=0,f=this.data.length;g<f;g++){if(!this.data[g].isSpacelike()){return d}}return b},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(f){if(this.data[0]){f=this.data[0].setTeXclass(f);this.updateTeXclass(this.data[0])}return f},setBaseTeXclasses:function(h){this.getPrevClass(h);this.texClass=null;if(this.isEmbellished()){h=this.data[0].setTeXclass(h);this.updateTeXclass(this.Core())}else{if(this.data[0]){this.data[0].setTeXclass()}h=this}for(var g=1,f=this.data.length;g<f;g++){if(this.data[g]){this.data[g].setTeXclass()}}return h},setSeparateTeXclasses:function(h){this.getPrevClass(h);for(var g=0,f=this.data.length;g<f;g++){if(this.data[g]){this.data[g].setTeXclass()}}if(this.isEmbellished()){this.updateTeXclass(this.Core())}return this}});a.mi=a.mbase.Subclass({type:"mi",isToken:b,texClass:a.TEXCLASS.ORD,defaults:{mathvariant:a.AUTO,mathsize:a.INHERIT,mathbackground:a.INHERIT,mathcolor:a.INHERIT},autoDefault:function(g){if(g==="mathvariant"){var f=(this.data[0]||"").toString();return(f.length===1||(f.length===2&&f.charCodeAt(0)===this.PLANE1)?a.VARIANT.ITALIC:a.VARIANT.NORMAL)}return""}});a.mn=a.mbase.Subclass({type:"mn",isToken:b,texClass:a.TEXCLASS.ORD,defaults:{mathvariant:a.INHERIT,mathsize:a.INHERIT,mathbackground:a.INHERIT,mathcolor:a.INHERIT}});a.mo=a.mbase.Subclass({type:"mo",isToken:b,defaults:{mathvariant:a.INHERIT,mathsize:a.INHERIT,mathbackground:a.INHERIT,mathcolor:a.INHERIT,form:a.AUTO,fence:a.AUTO,separator:a.AUTO,lspace:a.AUTO,rspace:a.AUTO,stretchy:a.AUTO,symmetric:a.AUTO,maxsize:a.AUTO,minsize:a.AUTO,largeop:a.AUTO,movablelimits:a.AUTO,accent:a.AUTO,linebreak:a.LINEBREAK.AUTO,lineleading:a.INHERIT,linebreakstyle:a.AUTO,linebreakmultchar:a.INHERIT,indentalign:a.INHERIT,indentshift:a.INHERIT,indenttarget:a.INHERIT,indentalignfirst:a.INHERIT,indentshiftfirst:a.INHERIT,indentalignlast:a.INHERIT,indentshiftlast:a.INHERIT,texClass:a.AUTO},defaultDef:{form:a.FORM.INFIX,fence:d,separator:d,lspace:a.LENGTH.THICKMATHSPACE,rspace:a.LENGTH.THICKMATHSPACE,stretchy:d,symmetric:b,maxsize:a.SIZE.INFINITY,minsize:"0em",largeop:d,movablelimits:d,accent:d,linebreak:a.LINEBREAK.AUTO,lineleading:"1ex",linebreakstyle:"before",indentalign:a.INDENTALIGN.AUTO,indentshift:"0",indenttarget:"",indentalignfirst:a.INDENTALIGN.INDENTALIGN,indentshiftfirst:a.INDENTSHIFT.INDENTSHIFT,indentalignlast:a.INDENTALIGN.INDENTALIGN,indentshiftlast:a.INDENTSHIFT.INDENTSHIFT,texClass:a.TEXCLASS.REL},SPACE_ATTR:{lspace:1,rspace:2,form:4},useMMLspacing:7,autoDefault:function(h,o){var n=this.def;if(!n){if(h==="form"){this.useMMLspacing&=~this.SPACE_ATTR.form;return this.getForm()}var l=this.data.join("");var g=[this.Get("form"),a.FORM.INFIX,a.FORM.POSTFIX,a.FORM.PREFIX];for(var j=0,f=g.length;j<f;j++){var k=this.OPTABLE[g[j]][l];if(k){n=this.makeDef(k);break}}if(!n){n=this.CheckRange(l)}if(!n&&o){n={}}else{if(!n){n=MathJax.Hub.Insert({},this.defaultDef)}n.form=g[0];this.def=n}}this.useMMLspacing&=~(this.SPACE_ATTR[h]||0);if(n[h]!=null){return n[h]}else{if(!o){return this.defaultDef[h]}}return""},CheckRange:function(k){var l=k.charCodeAt(0);if(k.charAt(0)===a.PLANE1){l=k.charCodeAt(1)+119808-56320}for(var h=0,f=this.RANGES.length;h<f&&this.RANGES[h][0]<=l;h++){if(l<=this.RANGES[h][1]){if(this.RANGES[h][3]){var g=a.optableDir+"/"+this.RANGES[h][3]+".js";this.RANGES[h][3]=null;MathJax.Hub.RestartAfter(MathJax.Ajax.Require(g))}var j=(["ORD","OP","BIN","REL","OPEN","CLOSE","PUNCT","INNER"])[this.RANGES[h][2]];j=this.OPTABLE.infix[k]=a.mo.OPTYPES[j==="BIN"?"BIN3":j];return this.makeDef(j)}}return null},makeDef:function(g){if(g[2]==null){g[2]=this.defaultDef.texClass}if(!g[3]){g[3]={}}var f=MathJax.Hub.Insert({},g[3]);f.lspace=this.SPACE[g[0]];f.rspace=this.SPACE[g[1]];f.texClass=g[2];return f},getForm:function(){var f=this,h=this.parent,g=this.Parent();while(g&&g.isEmbellished()){f=h;h=g.parent;g=g.Parent()}if(h&&h.type==="mrow"&&h.NonSpaceLength()!==1){if(h.FirstNonSpace()===f){return a.FORM.PREFIX}if(h.LastNonSpace()===f){return a.FORM.POSTFIX}}return a.FORM.INFIX},isEmbellished:function(){return b},hasNewline:function(){return(this.Get("linebreak")===a.LINEBREAK.NEWLINE)},lineBreak:function(){var f=this.getValues("linebreak","linebreakstyle");if(f.linebreak===a.LINEBREAK.NEWLINE){if(f.linebreakstyle===a.LINEBREAKSTYLE.INFIXLINEBREAKSTYLE){f.linebreakstyle=this.Get("infixlinebreakstyle")}return f.linebreakstyle}return"none"},setTeXclass:function(f){this.getValues("lspace","rspace");if(this.useMMLspacing){this.texClass=a.TEXCLASS.NONE;return this}this.texClass=this.Get("texClass");if(this.texClass===a.TEXCLASS.NONE){return f}if(f){this.prevClass=f.texClass||a.TEXCLASS.ORD;this.prevLevel=f.Get("scriptlevel")}else{this.prevClass=a.TEXCLASS.NONE}if(this.texClass===a.TEXCLASS.BIN&&(this.prevClass===a.TEXCLASS.NONE||this.prevClass===a.TEXCLASS.BIN||this.prevClass===a.TEXCLASS.OP||this.prevClass===a.TEXCLASS.REL||this.prevClass===a.TEXCLASS.OPEN||this.prevClass===a.TEXCLASS.PUNCT)){this.texClass=a.TEXCLASS.ORD}else{if(this.prevClass===a.TEXCLASS.BIN&&(this.texClass===a.TEXCLASS.REL||this.texClass===a.TEXCLASS.CLOSE||this.texClass===a.TEXCLASS.PUNCT)){f.texClass=this.prevClass=a.TEXCLASS.ORD}}return this}});a.mtext=a.mbase.Subclass({type:"mtext",isToken:b,isSpacelike:function(){return b},texClass:a.TEXCLASS.ORD,defaults:{mathvariant:a.INHERIT,mathsize:a.INHERIT,mathbackground:a.INHERIT,mathcolor:a.INHERIT}});a.mspace=a.mbase.Subclass({type:"mspace",isToken:b,isSpacelike:function(){return b},defaults:{mathbackground:a.INHERIT,mathcolor:a.INHERIT,width:"0em",height:"0ex",depth:"0ex",linebreak:a.LINEBREAK.AUTO},hasNewline:function(){return(this.Get("linebreak")===a.LINEBREAK.NEWLINE)},lineBreak:function(){return(this.Get("linebreak")===a.LINEBREAK.NEWLINE?a.LINEBREAKSTYLE.AFTER:"none")}});a.ms=a.mbase.Subclass({type:"ms",isToken:b,texClass:a.TEXCLASS.ORD,defaults:{mathvariant:a.INHERIT,mathsize:a.INHERIT,mathbackground:a.INHERIT,mathcolor:a.INHERIT,lquote:'"',rquote:'"'}});a.mglyph=a.mbase.Subclass({type:"mglyph",isToken:b,texClass:a.TEXCLASS.ORD,defaults:{mathbackground:a.INHERIT,mathcolor:a.INHERIT,alt:"",src:"",width:a.AUTO,height:a.AUTO,valign:"0em"}});a.mrow=a.mbase.Subclass({type:"mrow",isSpacelike:a.mbase.childrenSpacelike,inferred:d,isEmbellished:function(){var g=d;for(var h=0,f=this.data.length;h<f;h++){if(this.data[h]==null){continue}if(this.data[h].isEmbellished()){if(g){return d}g=b;this.core=h}else{if(!this.data[h].isSpacelike()){return d}}}return g},NonSpaceLength:function(){var h=0;for(var g=0,f=this.data.length;g<f;g++){if(this.data[g]&&!this.data[g].isSpacelike()){h++}}return h},FirstNonSpace:function(){for(var g=0,f=this.data.length;g<f;g++){if(this.data[g]&&!this.data[g].isSpacelike()){return this.data[g]}}return null},LastNonSpace:function(){for(var f=this.data.length-1;f>=0;f--){if(this.data[0]&&!this.data[f].isSpacelike()){return this.data[f]}}return null},Core:function(){if(!(this.isEmbellished())||typeof(this.core)==="undefined"){return this}return this.data[this.core]},CoreMO:function(){if(!(this.isEmbellished())||typeof(this.core)==="undefined"){return this}return this.data[this.core].CoreMO()},toString:function(){if(this.inferred){return"["+this.data.join(",")+"]"}return this.SUPER(arguments).toString.call(this)},setTeXclass:function(h){for(var g=0,f=this.data.length;g<f;g++){if(this.data[g]){h=this.data[g].setTeXclass(h)}}if(this.data[0]){this.updateTeXclass(this.data[0])}return h}});a.mfrac=a.mbase.Subclass({type:"mfrac",num:0,den:1,linebreakContainer:b,texClass:a.TEXCLASS.INNER,isEmbellished:a.mbase.childEmbellished,Core:a.mbase.childCore,CoreMO:a.mbase.childCoreMO,defaults:{mathbackground:a.INHERIT,mathcolor:a.INHERIT,linethickness:a.LINETHICKNESS.MEDIUM,numalign:a.ALIGN.CENTER,denomalign:a.ALIGN.CENTER,bevelled:d},adjustChild_displaystyle:function(f){return d},adjustChild_scriptlevel:function(g){var f=this.Get("scriptlevel");if(!this.Get("displaystyle")||f>0){f++}return f},adjustChild_texprimestyle:function(f){if(f==this.den){return true}return this.Get("texprimestyle")},setTeXclass:a.mbase.setSeparateTeXclasses});a.msqrt=a.mbase.Subclass({type:"msqrt",inferRow:b,linebreakContainer:b,texClass:a.TEXCLASS.ORD,setTeXclass:a.mbase.setSeparateTeXclasses,adjustChild_texprimestyle:function(f){return b}});a.mroot=a.mbase.Subclass({type:"mroot",linebreakContainer:b,texClass:a.TEXCLASS.ORD,adjustChild_displaystyle:function(f){if(f===1){return d}return this.Get("displaystyle")},adjustChild_scriptlevel:function(g){var f=this.Get("scriptlevel");if(g===1){f+=2}return f},adjustChild_texprimestyle:function(f){if(f===0){return b}return this.Get("texprimestyle")},setTeXclass:a.mbase.setSeparateTeXclasses});a.mstyle=a.mbase.Subclass({type:"mstyle",isSpacelike:a.mbase.childrenSpacelike,isEmbellished:a.mbase.childEmbellished,Core:a.mbase.childCore,CoreMO:a.mbase.childCoreMO,inferRow:b,defaults:{scriptlevel:a.INHERIT,displaystyle:a.INHERIT,scriptsizemultiplier:Math.sqrt(1/2),scriptminsize:"8pt",mathbackground:a.INHERIT,mathcolor:a.INHERIT,infixlinebreakstyle:a.LINEBREAKSTYLE.BEFORE,decimalseparator:"."},adjustChild_scriptlevel:function(h){var g=this.scriptlevel;if(g==null){g=this.Get("scriptlevel")}else{if(String(g).match(/^ *[-+]/)){delete this.scriptlevel;var f=this.Get("scriptlevel");this.scriptlevel=g;g=f+parseInt(g)}}return g},inheritFromMe:b,noInherit:{mpadded:{width:b,height:b,depth:b,lspace:b,voffset:b},mtable:{width:b,height:b,depth:b,align:b}},setTeXclass:a.mbase.setChildTeXclass});a.merror=a.mbase.Subclass({type:"merror",inferRow:b,linebreakContainer:b,texClass:a.TEXCLASS.ORD});a.mpadded=a.mbase.Subclass({type:"mpadded",inferRow:b,isSpacelike:a.mbase.childrenSpacelike,isEmbellished:a.mbase.childEmbellished,Core:a.mbase.childCore,CoreMO:a.mbase.childCoreMO,defaults:{mathbackground:a.INHERIT,mathcolor:a.INHERIT,width:"",height:"",depth:"",lspace:0,voffset:0},setTeXclass:a.mbase.setChildTeXclass});a.mphantom=a.mbase.Subclass({type:"mphantom",texClass:a.TEXCLASS.ORD,inferRow:b,isSpacelike:a.mbase.childrenSpacelike,isEmbellished:a.mbase.childEmbellished,Core:a.mbase.childCore,CoreMO:a.mbase.childCoreMO,setTeXclass:a.mbase.setChildTeXclass});a.mfenced=a.mbase.Subclass({type:"mfenced",defaults:{mathbackground:a.INHERIT,mathcolor:a.INHERIT,open:"(",close:")",separators:","},texClass:a.TEXCLASS.OPEN,setTeXclass:function(j){this.getPrevClass(j);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,"");if(g.open!==""){this.SetData("open",a.mo(g.open).With({stretchy:true,texClass:a.TEXCLASS.OPEN}));j=this.data.open.setTeXclass(j)}if(g.separators!==""){while(g.separators.length<this.data.length){g.separators+=g.separators.charAt(g.separators.length-1)}}if(this.data[0]){j=this.data[0].setTeXclass(j)}for(var h=1,f=this.data.length;h<f;h++){if(this.data[h]){if(g.separators!==""){this.SetData("sep"+h,a.mo(g.separators.charAt(h-1)));j=this.data["sep"+h].setTeXclass(j)}j=this.data[h].setTeXclass(j)}}if(g.close!==""){this.SetData("close",a.mo(g.close).With({stretchy:true,texClass:a.TEXCLASS.CLOSE}));j=this.data.close.setTeXclass(j)}this.updateTeXclass(this.data.open);return j}});a.menclose=a.mbase.Subclass({type:"menclose",inferRow:b,linebreakContainer:b,defaults:{mathbackground:a.INHERIT,mathcolor:a.INHERIT,notation:a.NOTATION.LONGDIV,texClass:a.TEXCLASS.ORD},setTeXclass:a.mbase.setSeparateTeXclasses});a.msubsup=a.mbase.Subclass({type:"msubsup",base:0,sub:1,sup:2,linebreakContainer:b,isEmbellished:a.mbase.childEmbellished,Core:a.mbase.childCore,CoreMO:a.mbase.childCoreMO,defaults:{mathbackground:a.INHERIT,mathcolor:a.INHERIT,subscriptshift:"",superscriptshift:"",texClass:a.AUTO},autoDefault:function(f){if(f==="texClass"){return(this.isEmbellished()?this.CoreMO().Get(f):a.TEXCLASS.ORD)}return 0},adjustChild_displaystyle:function(f){if(f>0){return d}return this.Get("displaystyle")},adjustChild_scriptlevel:function(g){var f=this.Get("scriptlevel");if(g>0){f++}return f},adjustChild_texprimestyle:function(f){if(f===this.sub){return b}return this.Get("texprimestyle")},setTeXclass:a.mbase.setBaseTeXclasses});a.msub=a.msubsup.Subclass({type:"msub"});a.msup=a.msubsup.Subclass({type:"msup",sub:2,sup:1});a.mmultiscripts=a.msubsup.Subclass({type:"mmultiscripts",adjustChild_texprimestyle:function(f){if(f%2===1){return b}return this.Get("texprimestyle")}});a.mprescripts=a.mbase.Subclass({type:"mprescripts"});a.none=a.mbase.Subclass({type:"none"});a.munderover=a.mbase.Subclass({type:"munderover",base:0,under:1,over:2,sub:1,sup:2,ACCENTS:["","accentunder","accent"],linebreakContainer:b,isEmbellished:a.mbase.childEmbellished,Core:a.mbase.childCore,CoreMO:a.mbase.childCoreMO,defaults:{mathbackground:a.INHERIT,mathcolor:a.INHERIT,accent:a.AUTO,accentunder:a.AUTO,align:a.ALIGN.CENTER,texClass:a.AUTO,subscriptshift:"",superscriptshift:""},autoDefault:function(f){if(f==="texClass"){return(this.isEmbellished()?this.CoreMO().Get(f):a.TEXCLASS.ORD)}if(f==="accent"&&this.data[this.over]){return this.data[this.over].CoreMO().Get("accent")}if(f==="accentunder"&&this.data[this.under]){return this.data[this.under].CoreMO().Get("accent")}return d},adjustChild_displaystyle:function(f){if(f>0){return d}return this.Get("displaystyle")},adjustChild_scriptlevel:function(h){var g=this.Get("scriptlevel");var f=(this.data[this.base]&&!this.Get("displaystyle")&&this.data[this.base].CoreMO().Get("movablelimits"));if(h==this.under&&(f||!this.Get("accentunder"))){g++}if(h==this.over&&(f||!this.Get("accent"))){g++}return g},adjustChild_texprimestyle:function(f){if(f===this.base&&this.data[this.over]){return b}return this.Get("texprimestyle")},setTeXclass:a.mbase.setBaseTeXclasses});a.munder=a.munderover.Subclass({type:"munder"});a.mover=a.munderover.Subclass({type:"mover",over:1,under:2,sup:1,sub:2,ACCENTS:["","accent","accentunder"]});a.mtable=a.mbase.Subclass({type:"mtable",defaults:{mathbackground:a.INHERIT,mathcolor:a.INHERIT,align:a.ALIGN.AXIS,rowalign:a.ALIGN.BASELINE,columnalign:a.ALIGN.CENTER,groupalign:"{left}",alignmentscope:b,columnwidth:a.WIDTH.AUTO,width:a.WIDTH.AUTO,rowspacing:"1ex",columnspacing:".8em",rowlines:a.LINES.NONE,columnlines:a.LINES.NONE,frame:a.LINES.NONE,framespacing:"0.4em 0.5ex",equalrows:d,equalcolumns:d,displaystyle:d,side:a.SIDE.RIGHT,minlabelspacing:"0.8em",texClass:a.TEXCLASS.ORD,useHeight:1},inheritFromMe:b,noInherit:{mtable:{align:b,rowalign:b,columnalign:b,groupalign:b,alignmentscope:b,columnwidth:b,width:b,rowspacing:b,columnspacing:b,rowlines:b,columnlines:b,frame:b,framespacing:b,equalrows:b,equalcolumns:b,side:b,minlabelspacing:b,texClass:b,useHeight:1}},linebreakContainer:b,Append:function(){for(var g=0,f=arguments.length;g<f;g++){if(!((arguments[g] instanceof a.mtr)||(arguments[g] instanceof a.mlabeledtr))){arguments[g]=a.mtd(arguments[g])}}this.SUPER(arguments).Append.apply(this,arguments)},setTeXclass:a.mbase.setSeparateTeXclasses});a.mtr=a.mbase.Subclass({type:"mtr",defaults:{mathbackground:a.INHERIT,mathcolor:a.INHERIT,rowalign:a.INHERIT,columnalign:a.INHERIT,groupalign:a.INHERIT},inheritFromMe:b,noInherit:{mrow:{rowalign:b,columnalign:b,groupalign:b},mtable:{rowalign:b,columnalign:b,groupalign:b}},linebreakContainer:b,Append:function(){for(var g=0,f=arguments.length;g<f;g++){if(!(arguments[g] instanceof a.mtd)){arguments[g]=a.mtd(arguments[g])}}this.SUPER(arguments).Append.apply(this,arguments)},setTeXclass:a.mbase.setSeparateTeXclasses});a.mtd=a.mbase.Subclass({type:"mtd",inferRow:b,linebreakContainer:b,isEmbellished:a.mbase.childEmbellished,Core:a.mbase.childCore,CoreMO:a.mbase.childCoreMO,defaults:{mathbackground:a.INHERIT,mathcolor:a.INHERIT,rowspan:1,columnspan:1,rowalign:a.INHERIT,columnalign:a.INHERIT,groupalign:a.INHERIT},setTeXclass:a.mbase.setSeparateTeXclasses});a.maligngroup=a.mbase.Subclass({type:"malign",isSpacelike:function(){return b},defaults:{mathbackground:a.INHERIT,mathcolor:a.INHERIT,groupalign:a.INHERIT},inheritFromMe:b,noInherit:{mrow:{groupalign:b},mtable:{groupalign:b}}});a.malignmark=a.mbase.Subclass({type:"malignmark",defaults:{mathbackground:a.INHERIT,mathcolor:a.INHERIT,edge:a.SIDE.LEFT},isSpacelike:function(){return b}});a.mlabeledtr=a.mtr.Subclass({type:"mlabeledtr"});a.maction=a.mbase.Subclass({type:"maction",defaults:{mathbackground:a.INHERIT,mathcolor:a.INHERIT,actiontype:a.ACTIONTYPE.TOGGLE,selection:1},selected:function(){return this.data[this.Get("selection")-1]||a.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(f){return this.selected().setTeXclass(f)}});a.semantics=a.mbase.Subclass({type:"semantics",isEmbellished:a.mbase.childEmbellished,Core:a.mbase.childCore,CoreMO:a.mbase.childCoreMO,defaults:{definitionURL:null,encoding:null},setTeXclass:a.mbase.setChildTeXclass});a.annotation=a.mbase.Subclass({type:"annotation",isToken:b,linebreakContainer:b,defaults:{definitionURL:null,encoding:null,cd:"mathmlkeys",name:"",src:null}});a["annotation-xml"]=a.mbase.Subclass({type:"annotation-xml",linebreakContainer:true,defaults:{definitionURL:null,encoding:null,cd:"mathmlkeys",name:"",src:null}});a.math=a.mstyle.Subclass({type:"math",defaults:{mathvariant:a.VARIANT.NORMAL,mathsize:a.SIZE.NORMAL,mathcolor:"",mathbackground:a.COLOR.TRANSPARENT,scriptlevel:0,displaystyle:a.AUTO,display:"inline",maxwidth:"",overflow:a.OVERFLOW.LINEBREAK,altimg:"","altimg-width":"","altimg-height":"","altimg-valign":"",alttext:"",cdgroup:"",scriptsizemultiplier:Math.sqrt(1/2),scriptminsize:"8px",infixlinebreakstyle:a.LINEBREAKSTYLE.BEFORE,lineleading:"1ex",indentshift:"auto",indentalign:a.INDENTALIGN.AUTO,indentalignfirst:a.INDENTALIGN.INDENTALIGN,indentshiftfirst:a.INDENTSHIFT.INDENTSHIFT,indentalignlast:a.INDENTALIGN.INDENTALIGN,indentshiftlast:a.INDENTSHIFT.INDENTSHIFT,decimalseparator:".",texprimestyle:d},autoDefault:function(f){if(f==="displaystyle"){return this.Get("display")==="block"}return""},linebreakContainer:b,setTeXclass:a.mbase.setChildTeXclass});a.chars=a.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("")}});a.entity=a.mbase.Subclass({type:"entity",Append:function(){this.data.push.apply(this.data,arguments)},value:function(){if(this.data[0].substr(0,2)==="#x"){return parseInt(this.data[0].substr(2),16)}else{if(this.data[0].substr(0,1)==="#"){return parseInt(this.data[0].substr(1))}else{return 0}}},toString:function(){var f=this.value();if(f<=65535){return String.fromCharCode(f)}return this.PLANE1+String.fromCharCode(f-119808+56320)}});a.xml=a.mbase.Subclass({type:"xml",Init:function(){this.div=document.createElement("div");return this.SUPER(arguments).Init.apply(this,arguments)},Append:function(){for(var g=0,f=arguments.length;g<f;g++){var h=this.Import(arguments[g]);this.data.push(h);this.div.appendChild(h)}},Import:function(k){if(document.importNode){return document.importNode(k,true)}var g,h,f;if(k.nodeType===1){g=document.createElement(k.nodeName);if(k.className){g.className=iNode.className}for(h=0,f=k.attributes.length;h<f;h++){var j=k.attributes[h];if(j.specified&&j.nodeValue!=null&&j.nodeValue!=""){g.setAttribute(j.nodeName,j.nodeValue)}if(j.nodeName==="style"){g.style.cssText=j.nodeValue}}if(k.className){g.className=k.className}}else{if(k.nodeType===3||k.nodeType===4){g=document.createTextNode(k.nodeValue)}else{if(k.nodeType===8){g=document.createComment(k.nodeValue)}else{return document.createTextNode("")}}}for(h=0,f=k.childNodes.length;h<f;h++){g.appendChild(this.Import(k.childNodes[h]))}return g},value:function(){return this.div},toString:function(){return this.div.innerHTML}});a.TeXAtom=a.mbase.Subclass({type:"texatom",inferRow:b,texClass:a.TEXCLASS.ORD,setTeXclass:function(f){this.getPrevClass(f);this.data[0].setTeXclass();return this}});a.NULL=a.mbase().With({type:"null"});var c=a.TEXCLASS;var e={ORD:[0,0,c.ORD],ORD11:[1,1,c.ORD],ORD21:[2,1,c.ORD],ORD02:[0,2,c.ORD],ORD55:[5,5,c.ORD],OP:[1,2,c.OP,{largeop:true,movablelimits:true,symmetric:true}],OPFIXED:[1,2,c.OP,{largeop:true,movablelimits:true}],INTEGRAL:[0,1,c.OP,{largeop:true,symmetric:true}],INTEGRAL2:[1,2,c.OP,{largeop:true,symmetric:true}],BIN3:[3,3,c.BIN],BIN4:[4,4,c.BIN],BIN01:[0,1,c.BIN],BIN5:[5,5,c.BIN],TALLBIN:[4,4,c.BIN,{stretchy:true}],BINOP:[4,4,c.BIN,{largeop:true,movablelimits:true}],REL:[5,5,c.REL],REL1:[1,1,c.REL,{stretchy:true}],REL4:[4,4,c.REL],RELSTRETCH:[5,5,c.REL,{stretchy:true}],RELACCENT:[5,5,c.REL,{accent:true}],WIDEREL:[5,5,c.REL,{accent:true,stretchy:true}],OPEN:[0,0,c.OPEN,{fence:true,stretchy:true,symmetric:true}],CLOSE:[0,0,c.CLOSE,{fence:true,stretchy:true,symmetric:true}],INNER:[0,0,c.INNER],PUNCT:[0,3,c.PUNCT],ACCENT:[0,0,c.ORD,{accent:true}],WIDEACCENT:[0,0,c.ORD,{accent:true,stretchy:true}]};a.mo.Augment({SPACE:["0em","0.1111em","0.1667em","0.2222em","0.2667em","0.3333em"],RANGES:[[32,127,c.REL,"BasicLatin"],[160,255,c.ORD,"Latin1Supplement"],[256,383,c.ORD],[384,591,c.ORD],[688,767,c.ORD,"SpacingModLetters"],[768,879,c.ORD,"CombDiacritMarks"],[880,1023,c.ORD,"GreekAndCoptic"],[7680,7935,c.ORD],[8192,8303,c.PUNCT,"GeneralPunctuation"],[8304,8351,c.ORD],[8352,8399,c.ORD],[8400,8447,c.ORD,"CombDiactForSymbols"],[8448,8527,c.ORD,"LetterlikeSymbols"],[8528,8591,c.ORD],[8592,8703,c.REL,"Arrows"],[8704,8959,c.BIN,"MathOperators"],[8960,9215,c.ORD,"MiscTechnical"],[9312,9471,c.ORD],[9632,9727,c.ORD,"GeometricShapes"],[9984,10175,c.ORD,"Dingbats"],[10176,10223,c.ORD,"MiscMathSymbolsA"],[10224,10239,c.REL,"SupplementalArrowsA"],[10496,10623,c.REL,"SupplementalArrowsB"],[10624,10751,c.ORD,"MiscMathSymbolsB"],[10752,11007,c.BIN,"SuppMathOperators"],[11008,11263,c.ORD,"MiscSymbolsAndArrows"],[119808,120831,c.ORD]],OPTABLE:{prefix:{"\u2200":e.ORD21,"\u2202":e.ORD21,"\u2203":e.ORD21,"\u2207":e.ORD21,"\u220F":e.OP,"\u2210":e.OP,"\u2211":e.OP,"\u2212":e.BIN01,"\u2213":e.BIN01,"\u221A":[1,1,c.ORD,{stretchy:true}],"\u2220":e.ORD,"\u222B":e.INTEGRAL,"\u222E":e.INTEGRAL,"\u22C0":e.OP,"\u22C1":e.OP,"\u22C2":e.OP,"\u22C3":e.OP,"\u2308":e.OPEN,"\u230A":e.OPEN,"\u27E8":e.OPEN,"\u27EE":e.OPEN,"\u2A00":e.OP,"\u2A01":e.OP,"\u2A02":e.OP,"\u2A04":e.OP,"\u2A06":e.OP,"\u00AC":e.ORD21,"\u00B1":e.BIN01,"(":e.OPEN,"+":e.BIN01,"-":e.BIN01,"[":e.OPEN,"{":e.OPEN,"|":e.OPEN},postfix:{"!":[1,0,c.CLOSE],"&":e.ORD,"\u2032":e.ORD02,"\u203E":e.WIDEACCENT,"\u2309":e.CLOSE,"\u230B":e.CLOSE,"\u23DE":e.WIDEACCENT,"\u23DF":e.WIDEACCENT,"\u266D":e.ORD02,"\u266E":e.ORD02,"\u266F":e.ORD02,"\u27E9":e.CLOSE,"\u27EF":e.CLOSE,"\u02C6":e.WIDEACCENT,"\u02C7":e.WIDEACCENT,"\u02C9":e.WIDEACCENT,"\u02CA":e.ACCENT,"\u02CB":e.ACCENT,"\u02D8":e.ACCENT,"\u02D9":e.ACCENT,"\u02DC":e.WIDEACCENT,"\u0302":e.WIDEACCENT,"\u00A8":e.ACCENT,"\u00AF":e.WIDEACCENT,")":e.CLOSE,"]":e.CLOSE,"^":e.WIDEACCENT,_:e.WIDEACCENT,"`":e.ACCENT,"|":e.CLOSE,"}":e.CLOSE,"~":e.WIDEACCENT},infix:{"":e.ORD,"%":[3,3,c.ORD],"\u2022":e.BIN4,"\u2026":e.INNER,"\u2044":e.TALLBIN,"\u2061":e.ORD,"\u2062":e.ORD,"\u2063":[0,0,c.ORD,{linebreakstyle:"after",separator:true}],"\u2064":e.ORD,"\u2190":e.WIDEREL,"\u2191":e.RELSTRETCH,"\u2192":e.WIDEREL,"\u2193":e.RELSTRETCH,"\u2194":e.WIDEREL,"\u2195":e.RELSTRETCH,"\u2196":e.RELSTRETCH,"\u2197":e.RELSTRETCH,"\u2198":e.RELSTRETCH,"\u2199":e.RELSTRETCH,"\u21A6":e.WIDEREL,"\u21A9":e.WIDEREL,"\u21AA":e.WIDEREL,"\u21BC":e.WIDEREL,"\u21BD":e.WIDEREL,"\u21C0":e.WIDEREL,"\u21C1":e.WIDEREL,"\u21CC":e.WIDEREL,"\u21D0":e.WIDEREL,"\u21D1":e.RELSTRETCH,"\u21D2":e.WIDEREL,"\u21D3":e.RELSTRETCH,"\u21D4":e.WIDEREL,"\u21D5":e.RELSTRETCH,"\u2208":e.REL,"\u2209":e.REL,"\u220B":e.REL,"\u2212":e.BIN4,"\u2213":e.BIN4,"\u2215":e.TALLBIN,"\u2216":e.BIN4,"\u2217":e.BIN4,"\u2218":e.BIN4,"\u2219":e.BIN4,"\u221D":e.REL,"\u2223":e.REL,"\u2225":e.REL,"\u2227":e.BIN4,"\u2228":e.BIN4,"\u2229":e.BIN4,"\u222A":e.BIN4,"\u223C":e.REL,"\u2240":e.BIN4,"\u2243":e.REL,"\u2245":e.REL,"\u2248":e.REL,"\u224D":e.REL,"\u2250":e.REL,"\u2260":e.REL,"\u2261":e.REL,"\u2264":e.REL,"\u2265":e.REL,"\u226A":e.REL,"\u226B":e.REL,"\u227A":e.REL,"\u227B":e.REL,"\u2282":e.REL,"\u2283":e.REL,"\u2286":e.REL,"\u2287":e.REL,"\u228E":e.BIN4,"\u2291":e.REL,"\u2292":e.REL,"\u2293":e.BIN4,"\u2294":e.BIN4,"\u2295":e.BIN4,"\u2296":e.BIN4,"\u2297":e.BIN4,"\u2298":e.BIN4,"\u2299":e.BIN4,"\u22A2":e.REL,"\u22A3":e.REL,"\u22A4":e.ORD55,"\u22A5":e.REL,"\u22A8":e.REL,"\u22C4":e.BIN4,"\u22C5":e.BIN4,"\u22C6":e.BIN4,"\u22C8":e.REL,"\u22EE":e.ORD55,"\u22EF":e.INNER,"\u22F1":[5,5,c.INNER],"\u25B3":e.BIN4,"\u25B5":e.BIN4,"\u25B9":e.BIN4,"\u25BD":e.BIN4,"\u25BF":e.BIN4,"\u25C3":e.BIN4,"\u2758":e.REL,"\u27F5":e.WIDEREL,"\u27F6":e.WIDEREL,"\u27F7":e.WIDEREL,"\u27F8":e.WIDEREL,"\u27F9":e.WIDEREL,"\u27FA":e.WIDEREL,"\u27FC":e.WIDEREL,"\u2A2F":e.BIN4,"\u2A3F":e.BIN4,"\u2AAF":e.REL,"\u2AB0":e.REL,"\u00B1":e.BIN4,"\u00B7":e.BIN4,"\u00D7":e.BIN4,"\u00F7":e.BIN4,"*":e.BIN3,"+":e.BIN4,",":[0,3,c.PUNCT,{linebreakstyle:"after",separator:true}],"-":e.BIN4,".":[3,3,c.ORD],"/":e.ORD11,":":[1,2,c.REL],";":[0,3,c.PUNCT,{linebreakstyle:"after",separator:true}],"<":e.REL,"=":e.REL,">":e.REL,"?":[1,1,c.CLOSE],"\\":e.ORD,"^":e.ORD11,_:e.ORD11,"|":[2,2,c.ORD,{fence:true,stretchy:true,symmetric:true}],"#":e.ORD,"$":e.ORD,"\u002E":[0,3,c.PUNCT,{separator:true}],"\u02B9":e.ORD,"\u0300":e.ACCENT,"\u0301":e.ACCENT,"\u0303":e.WIDEACCENT,"\u0304":e.ACCENT,"\u0306":e.ACCENT,"\u0307":e.ACCENT,"\u0308":e.ACCENT,"\u030C":e.ACCENT,"\u0332":e.WIDEACCENT,"\u0338":e.REL4,"\u2015":[0,0,c.ORD,{stretchy:true}],"\u2017":[0,0,c.ORD,{stretchy:true}],"\u2020":e.BIN3,"\u2021":e.BIN3,"\u20D7":e.ACCENT,"\u2111":e.ORD,"\u2113":e.ORD,"\u2118":e.ORD,"\u211C":e.ORD,"\u2205":e.ORD,"\u221E":e.ORD,"\u2305":e.BIN3,"\u2306":e.BIN3,"\u2322":e.REL4,"\u2323":e.REL4,"\u2329":e.OPEN,"\u232A":e.CLOSE,"\u23AA":e.ORD,"\u23AF":[0,0,c.ORD,{stretchy:true}],"\u23B0":e.OPEN,"\u23B1":e.CLOSE,"\u2500":e.ORD,"\u25EF":e.BIN3,"\u2660":e.ORD,"\u2661":e.ORD,"\u2662":e.ORD,"\u2663":e.ORD,"\u3008":e.OPEN,"\u3009":e.CLOSE,"\uFE37":e.WIDEACCENT,"\uFE38":e.WIDEACCENT}}},{OPTYPES:e})})(MathJax.ElementJax.mml);MathJax.ElementJax.mml.loadComplete("jax.js");

MathJax.Hub.Register.LoadHook("[MathJax]/jax/element/mml/jax.js",function(){var b="1.1.2";var a=MathJax.ElementJax.mml;a.mbase.Augment({toMathML:function(k){var g=(this.inferred&&this.parent.inferRow);if(k==null){k=""}var e=this.type,d=this.MathMLattributes();if(e==="mspace"){return k+"<"+e+d+" />"}var j=[];var h=(this.isToken?"":k+(g?"":"  "));for(var f=0,c=this.data.length;f<c;f++){if(this.data[f]){j.push(this.data[f].toMathML(h))}else{if(!this.isToken){j.push(h+"<mrow />")}}}if(this.isToken){return k+"<"+e+d+">"+j.join("")+"</"+e+">"}if(g){return j.join("\n")}if(j.length===0||(j.length===1&&j[0]==="")){return k+"<"+e+d+" />"}return k+"<"+e+d+">\n"+j.join("\n")+"\n"+k+"</"+e+">"},MathMLattributes:function(){var j=[],g=this.defaults;var c=this.copyAttributes,l=this.skipAttributes;if(this.type==="math"){j.push('xmlns="http://www.w3.org/1998/Math/MathML"')}if(this.type==="mstyle"){g=a.math.prototype.defaults}for(var d in g){if(!l[d]&&g.hasOwnProperty(d)){var e=(d==="open"||d==="close");if(this[d]!=null&&(e||this[d]!==g[d])){var k=this[d];delete this[d];if(e||this.Get(d)!==k){j.push(d+'="'+this.formatAttr(k)+'"')}this[d]=k}}}for(var h=0,f=c.length;h<f;h++){if(this[c[h]]!=null){j.push(c[h]+'="'+this.quoteHTML(this[c[h]])+'"')}}if(j.length){return" "+j.join(" ")}else{return""}},copyAttributes:["fontfamily","fontsize","fontweight","fontstyle","color","background","id","class","href","style"],skipAttributes:{texClass:1,useHeight:1,texprimestyle:1},formatAttr:function(c){if(typeof(c)==="string"&&c.replace(/ /g,"").match(/^(([-+])?(\d+(\.\d*)?|\.\d+))mu$/)){return(RegExp.$2+(1/18)*RegExp.$1).replace(/(\.\d\d\d).*/,"$1")+"em"}if(c==="-tex-caligraphic"){return"script"}if(c==="-tex-oldstyle"){return"normal"}return this.quoteHTML(c)},quoteHTML:function(e){e=String(e).split("");for(var f=0,d=e.length;f<d;f++){var h=e[f].charCodeAt(0);if(h<32||h>126){e[f]="&#x"+h.toString(16).toUpperCase()+";"}else{var g={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"}[e[f]];if(g){e[f]=g}}}return e.join("")}});a.msubsup.Augment({toMathML:function(h){var e=this.type;if(this.data[this.sup]==null){e="msub"}if(this.data[this.sub]==null){e="msup"}var d=this.MathMLattributes();delete this.data[0].inferred;var g=[];for(var f=0,c=this.data.length;f<c;f++){if(this.data[f]){g.push(this.data[f].toMathML(h+"  "))}}return h+"<"+e+d+">\n"+g.join("\n")+"\n"+h+"</"+e+">"}});a.munderover.Augment({toMathML:function(h){var e=this.type;if(this.data[this.under]==null){e="mover"}if(this.data[this.over]==null){e="munder"}var d=this.MathMLattributes();delete this.data[0].inferred;var g=[];for(var f=0,c=this.data.length;f<c;f++){if(this.data[f]){g.push(this.data[f].toMathML(h+"  "))}}return h+"<"+e+d+">\n"+g.join("\n")+"\n"+h+"</"+e+">"}});a.TeXAtom.Augment({toMathML:function(c){return c+"<mrow>\n"+this.data[0].toMathML(c+"  ")+"\n"+c+"</mrow>"}});a.chars.Augment({toMathML:function(c){return(c||"")+this.quoteHTML(this.toString())}});a.entity.Augment({toMathML:function(c){return(c||"")+"&"+this.data[0]+";<!-- "+this.toString()+" -->"}});a.xml.Augment({toMathML:function(c){return(c||"")+this.toString()}});MathJax.Hub.Register.StartupHook("TeX mathchoice Ready",function(){a.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(b,c){var a;b.Parse=MathJax.Object.Subclass({Init:function(d){this.Parse(d)},Parse:function(g){var h;if(typeof g!=="string"){h=g.parentNode}else{if(g.match(/^<[a-z]+:/i)&&!g.match(/^<[^<>]* xmlns:/)){g=g.replace(/^<([a-z]+)(:math)/i,'<$1$2 xmlns:$1="http://www.w3.org/1998/Math/MathML"')}var d=g.match(/^(<math( ('.*?'|".*?"|[^>])+)>)/i);if(d&&d[2].match(/ (?!xmlns=)[a-z]+=\"http:/i)){g=d[1].replace(/ (?!xmlns=)([a-z]+=(['"])http:.*?\2)/ig," xmlns:$1 $1")+g.substr(d[0].length)}g=g.replace(/^\s*(?:\/\/)?<!(--)?\[CDATA\[((.|\n)*)(\/\/)?\]\]\1>\s*$/,"$2");g=g.replace(/&([a-z][a-z0-9]*);/ig,this.replaceEntity);h=b.ParseXML(g);if(h==null){b.Error("Error parsing MathML")}}var f=h.getElementsByTagName("parsererror")[0];if(f){b.Error("Error parsing MathML: "+f.textContent.replace(/This page.*?errors:|XML Parsing Error: |Below is a rendering of the page.*/g,""))}if(h.childNodes.length!==1){b.Error("MathML must be formed by a single element")}if(h.firstChild.nodeName.toLowerCase()==="html"){var e=h.getElementsByTagName("h1")[0];if(e&&e.textContent==="XML parsing error"&&e.nextSibling){b.Error("Error parsing MathML: "+String(e.nextSibling.nodeValue).replace(/fatal parsing error: /,""))}}if(h.firstChild.nodeName.toLowerCase().replace(/^[a-z]+:/,"")!=="math"){b.Error("MathML must be formed by a <math> element, not <"+h.firstChild.nodeName+">")}this.mml=this.MakeMML(h.firstChild)},MakeMML:function(h){var l=h.nodeName.toLowerCase().replace(/^[a-z]+:/,"");if(!(a[l]&&a[l].isa&&a[l].isa(a.mbase))){return a.merror("Unknown node type: "+l)}var d=a[l](),k,j,e,n;for(k=0,j=h.attributes.length;k<j;k++){e=h.attributes[k].name;if(e=="xlink:href"){e="href"}if(e.match(/:/)){continue}n=h.attributes[k].value;if(n.toLowerCase()==="true"){n=true}else{if(n.toLowerCase()==="false"){n=false}}d[e]=n}for(k=0,j=h.childNodes.length;k<j;k++){var f=h.childNodes[k];if(f.nodeName==="#comment"){continue}if(f.nodeName==="#text"){if(d.isToken&&!d.mmlSelfClosing){var o=this.trimSpace(f.nodeValue);if(d.isa(a.mo)&&o.length===1&&this.Remap[o.charAt(0)]){o=this.Remap[o.charAt(0)]}o=o.replace(/&([a-z][a-z0-9]*);/ig,this.replaceEntity);d.Append(a.chars(o))}else{if(f.nodeValue.match(/\S/)){b.Error("Unexpected text node: '"+f.nodeValue+"'")}}}else{if(d.type==="annotation-xml"){d.Append(a.xml(f))}else{var g=this.MakeMML(f);d.Append(g);if(g.mmlSelfClosing&&g.data.length){d.Append.apply(d,g.data);g.data=[]}}}}if(b.config.useMathMLspacing){d.useMMLspacing=8}return d},trimSpace:function(d){return d.replace(/[\t\n\r]/g," ").replace(/^ +/,"").replace(/ +$/,"").replace(/  +/g," ")},replaceEntity:function(f,e){if(e.match(/^(lt|amp|quot)$/)){return f}if(b.Parse.Entity[e]){return b.Parse.Entity[e]}var g=e.charAt(0).toLowerCase();var d=e.match(/^[a-zA-Z](fr|scr|opf)$/);if(d){g=d[1]}if(!b.Parse.loaded[g]){b.Parse.loaded[g]=true;MathJax.Hub.RestartAfter(MathJax.Ajax.Require(b.entityDir+"/"+g+".js"))}return f},Remap:{"\u0027":"\u2032","\u002A":"\u2217","\u002D":"\u2212"}},{loaded:[]});b.Augment({sourceMenuTitle:"Original MathML",Translate:function(d){if(!this.ParseXML){this.ParseXML=this.createParser()}var e,g;if(d.firstChild&&d.firstChild.nodeName.toLowerCase().replace(/^[a-z]+:/,"")==="math"){g=this.prefilterMathML(d.firstChild)}else{g=d.innerHTML.replace(/^\s+/,"").replace(/\s+$/,"");if(c.isMSIE){g=g.replace(/(&nbsp;)+$/,"")}else{if(c.isKonqueror){g=g.replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,"&")}}g=this.prefilterMath(g,d)}try{e=b.Parse(g).mml}catch(f){if(!f.mathmlError){throw f}e=this.formatError(f,g,d)}return a(e)},prefilterMath:function(e,d){return e},prefilterMathML:function(d){return d},formatError:function(f,e,d){return a.merror(f.message.replace(/\n.*/,""))},Error:function(d){throw MathJax.Hub.Insert(Error(d),{mathmlError:true})},parseDOM:function(d){return this.parser.parseFromString(d,"text/xml")},parseMS:function(d){return(this.parser.loadXML(d)?this.parser:null)},parseDIV:function(d){this.div.innerHTML=d.replace(/<([a-z]+)([^>]*)\/>/g,"<$1$2></$1>");return this.div},parseError:function(d){return null},createParser:function(){if(window.DOMParser){this.parser=new DOMParser();return(this.parseDOM)}else{if(window.ActiveXObject){var e=["MSXML2.DOMDocument.6.0","MSXML2.DOMDocument.5.0","MSXML2.DOMDocument.4.0","MSXML2.DOMDocument.3.0","MSXML2.DOMDocument.2.0","Microsoft.XMLDOM"];for(var f=0,d=e.length;f<d&&!this.parser;f++){try{this.parser=new ActiveXObject(e[f])}catch(g){}}if(!this.parser){alert("MathJax can't create an XML parser for MathML.  Check that\nthe 'Script ActiveX controls marked safe for scripting' security\nsetting is enabled (use the Internet Options item in the Tools\nmenu, and select the Security panel, then press the Custom Level\nbutton to check this).\n\nMathML equations will not be able to be processed by MathJax.");return(this.parseError)}this.parser.async=false;return(this.parseMS)}}this.div=MathJax.Hub.Insert(document.createElement("div"),{style:{visibility:"hidden",overflow:"hidden",height:"1px",position:"absolute",top:0}});if(!document.body.firstChild){document.body.appendChild(this.div)}else{document.body.insertBefore(this.div,document.body.firstChild)}return(this.parseDIV)},Startup:function(){a=MathJax.ElementJax.mml;a.mspace.Augment({mmlSelfClosing:true});a.none.Augment({mmlSelfClosing:true});a.mprescripts.Augment({mmlSelfClosing:true})}});b.Parse.Entity={ApplyFunction:"\u2061",Backslash:"\u2216",Because:"\u2235",Breve:"\u02D8",Cap:"\u22D2",CenterDot:"\u00B7",CircleDot:"\u2299",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",Congruent:"\u2261",ContourIntegral:"\u222E",Coproduct:"\u2210",Cross:"\u2A2F",Cup:"\u22D3",CupCap:"\u224D",Dagger:"\u2021",Del:"\u2207",Delta:"\u0394",Diamond:"\u22C4",DifferentialD:"\u2146",DotEqual:"\u2250",DoubleDot:"\u00A8",DoubleRightTee:"\u22A8",DoubleVerticalBar:"\u2225",DownArrow:"\u2193",DownLeftVector:"\u21BD",DownRightVector:"\u21C1",DownTee:"\u22A4",Downarrow:"\u21D3",Element:"\u2208",EqualTilde:"\u2242",Equilibrium:"\u21CC",Exists:"\u2203",ExponentialE:"\u2147",FilledVerySmallSquare:"\u25AA",ForAll:"\u2200",Gamma:"\u0393",Gg:"\u22D9",GreaterEqual:"\u2265",GreaterEqualLess:"\u22DB",GreaterFullEqual:"\u2267",GreaterLess:"\u2277",GreaterSlantEqual:"\u2A7E",GreaterTilde:"\u2273",Hacek:"\u02C7",Hat:"\u005E",HumpDownHump:"\u224E",HumpEqual:"\u224F",Im:"\u2111",ImaginaryI:"\u2148",Integral:"\u222B",Intersection:"\u22C2",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",Lambda:"\u039B",Larr:"\u219E",LeftAngleBracket:"\u27E8",LeftArrow:"\u2190",LeftArrowRightArrow:"\u21C6",LeftCeiling:"\u2308",LeftDownVector:"\u21C3",LeftFloor:"\u230A",LeftRightArrow:"\u2194",LeftTee:"\u22A3",LeftTriangle:"\u22B2",LeftTriangleEqual:"\u22B4",LeftUpVector:"\u21BF",LeftVector:"\u21BC",Leftarrow:"\u21D0",Leftrightarrow:"\u21D4",LessEqualGreater:"\u22DA",LessFullEqual:"\u2266",LessGreater:"\u2276",LessSlantEqual:"\u2A7D",LessTilde:"\u2272",Ll:"\u22D8",Lleftarrow:"\u21DA",LongLeftArrow:"\u27F5",LongLeftRightArrow:"\u27F7",LongRightArrow:"\u27F6",Longleftarrow:"\u27F8",Longleftrightarrow:"\u27FA",Longrightarrow:"\u27F9",Lsh:"\u21B0",MinusPlus:"\u2213",NestedGreaterGreater:"\u226B",NestedLessLess:"\u226A",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotExists:"\u2204",NotGreater:"\u226F",NotGreaterEqual:"\u2271",NotLeftTriangle:"\u22EA",NotLeftTriangleEqual:"\u22EC",NotLess:"\u226E",NotLessEqual:"\u2270",NotPrecedes:"\u2280",NotPrecedesSlantEqual:"\u22E0",NotRightTriangle:"\u22EB",NotRightTriangleEqual:"\u22ED",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsSlantEqual:"\u22E1",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotVerticalBar:"\u2224",Omega:"\u03A9",OverBar:"\u203E",OverBrace:"\u23DE",PartialD:"\u2202",Phi:"\u03A6",Pi:"\u03A0",PlusMinus:"\u00B1",Precedes:"\u227A",PrecedesEqual:"\u2AAF",PrecedesSlantEqual:"\u227C",PrecedesTilde:"\u227E",Product:"\u220F",Proportional:"\u221D",Psi:"\u03A8",Rarr:"\u21A0",Re:"\u211C",ReverseEquilibrium:"\u21CB",RightAngleBracket:"\u27E9",RightArrow:"\u2192",RightArrowLeftArrow:"\u21C4",RightCeiling:"\u2309",RightDownVector:"\u21C2",RightFloor:"\u230B",RightTee:"\u22A2",RightTeeArrow:"\u21A6",RightTriangle:"\u22B3",RightTriangleEqual:"\u22B5",RightUpVector:"\u21BE",RightVector:"\u21C0",Rightarrow:"\u21D2",Rrightarrow:"\u21DB",Rsh:"\u21B1",Sigma:"\u03A3",SmallCircle:"\u2218",Sqrt:"\u221A",Square:"\u25A1",SquareIntersection:"\u2293",SquareSubset:"\u228F",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",Star:"\u22C6",Subset:"\u22D0",SubsetEqual:"\u2286",Succeeds:"\u227B",SucceedsEqual:"\u2AB0",SucceedsSlantEqual:"\u227D",SucceedsTilde:"\u227F",SuchThat:"\u220B",Sum:"\u2211",Superset:"\u2283",SupersetEqual:"\u2287",Supset:"\u22D1",Therefore:"\u2234",Theta:"\u0398",Tilde:"\u223C",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",UnderBar:"\u005F",UnderBrace:"\u23DF",Union:"\u22C3",UnionPlus:"\u228E",UpArrow:"\u2191",UpDownArrow:"\u2195",UpTee:"\u22A5",Uparrow:"\u21D1",Updownarrow:"\u21D5",Upsilon:"\u03A5",Vdash:"\u22A9",Vee:"\u22C1",VerticalBar:"\u2223",VerticalTilde:"\u2240",Vvdash:"\u22AA",Wedge:"\u22C0",Xi:"\u039E",acute:"\u00B4",aleph:"\u2135",alpha:"\u03B1",amalg:"\u2A3F",and:"\u2227",ang:"\u2220",angmsd:"\u2221",angsph:"\u2222",ape:"\u224A",backprime:"\u2035",backsim:"\u223D",backsimeq:"\u22CD",beta:"\u03B2",beth:"\u2136",between:"\u226C",bigcirc:"\u25EF",bigodot:"\u2A00",bigoplus:"\u2A01",bigotimes:"\u2A02",bigsqcup:"\u2A06",bigstar:"\u2605",bigtriangledown:"\u25BD",bigtriangleup:"\u25B3",biguplus:"\u2A04",blacklozenge:"\u29EB",blacktriangle:"\u25B4",blacktriangledown:"\u25BE",blacktriangleleft:"\u25C2",bowtie:"\u22C8",boxdl:"\u2510",boxdr:"\u250C",boxminus:"\u229F",boxplus:"\u229E",boxtimes:"\u22A0",boxul:"\u2518",boxur:"\u2514",bsol:"\u005C",bull:"\u2022",cap:"\u2229",check:"\u2713",chi:"\u03C7",circ:"\u02C6",circeq:"\u2257",circlearrowleft:"\u21BA",circlearrowright:"\u21BB",circledR:"\u00AE",circledS:"\u24C8",circledast:"\u229B",circledcirc:"\u229A",circleddash:"\u229D",clubs:"\u2663",colon:"\u003A",comp:"\u2201",ctdot:"\u22EF",cuepr:"\u22DE",cuesc:"\u22DF",cularr:"\u21B6",cup:"\u222A",curarr:"\u21B7",curlyvee:"\u22CE",curlywedge:"\u22CF",dagger:"\u2020",daleth:"\u2138",ddarr:"\u21CA",deg:"\u00B0",delta:"\u03B4",digamma:"\u03DD",div:"\u00F7",divideontimes:"\u22C7",dot:"\u02D9",doteqdot:"\u2251",dotplus:"\u2214",dotsquare:"\u22A1",dtdot:"\u22F1",ecir:"\u2256",efDot:"\u2252",egs:"\u2A96",ell:"\u2113",els:"\u2A95",empty:"\u2205",epsi:"\u03B5",epsiv:"\u03F5",erDot:"\u2253",eta:"\u03B7",eth:"\u00F0",flat:"\u266D",fork:"\u22D4",frown:"\u2322",gEl:"\u2A8C",gamma:"\u03B3",gap:"\u2A86",gimel:"\u2137",gnE:"\u2269",gnap:"\u2A8A",gne:"\u2A88",gnsim:"\u22E7",gt:"\u003E",gtdot:"\u22D7",harrw:"\u21AD",hbar:"\u210F",hellip:"\u2026",hookleftarrow:"\u21A9",hookrightarrow:"\u21AA",imath:"\u0131",infin:"\u221E",intcal:"\u22BA",iota:"\u03B9",jmath:"\u0237",kappa:"\u03BA",kappav:"\u03F0",lEg:"\u2A8B",lambda:"\u03BB",lap:"\u2A85",larrlp:"\u21AB",larrtl:"\u21A2",lbrace:"\u007B",lbrack:"\u005B",le:"\u2264",leftleftarrows:"\u21C7",leftthreetimes:"\u22CB",lessdot:"\u22D6",lmoust:"\u23B0",lnE:"\u2268",lnap:"\u2A89",lne:"\u2A87",lnsim:"\u22E6",longmapsto:"\u27FC",looparrowright:"\u21AC",lowast:"\u2217",loz:"\u25CA",lt:"\u003C",ltimes:"\u22C9",ltri:"\u25C3",macr:"\u00AF",malt:"\u2720",mho:"\u2127",mu:"\u03BC",multimap:"\u22B8",nLeftarrow:"\u21CD",nLeftrightarrow:"\u21CE",nRightarrow:"\u21CF",nVDash:"\u22AF",nVdash:"\u22AE",natur:"\u266E",nearr:"\u2197",nharr:"\u21AE",nlarr:"\u219A",not:"\u00AC",nrarr:"\u219B",nu:"\u03BD",nvDash:"\u22AD",nvdash:"\u22AC",nwarr:"\u2196",omega:"\u03C9",omicron:"\u03BF",or:"\u2228",osol:"\u2298",period:"\u002E",phi:"\u03C6",phiv:"\u03D5",pi:"\u03C0",piv:"\u03D6",prap:"\u2AB7",precnapprox:"\u2AB9",precneqq:"\u2AB5",precnsim:"\u22E8",prime:"\u2032",psi:"\u03C8",rarrtl:"\u21A3",rbrace:"\u007D",rbrack:"\u005D",rho:"\u03C1",rhov:"\u03F1",rightrightarrows:"\u21C9",rightthreetimes:"\u22CC",ring:"\u02DA",rmoust:"\u23B1",rtimes:"\u22CA",rtri:"\u25B9",scap:"\u2AB8",scnE:"\u2AB6",scnap:"\u2ABA",scnsim:"\u22E9",sdot:"\u22C5",searr:"\u2198",sect:"\u00A7",sharp:"\u266F",sigma:"\u03C3",sigmav:"\u03C2",simne:"\u2246",smile:"\u2323",spades:"\u2660",sub:"\u2282",subE:"\u2AC5",subnE:"\u2ACB",subne:"\u228A",supE:"\u2AC6",supnE:"\u2ACC",supne:"\u228B",swarr:"\u2199",tau:"\u03C4",theta:"\u03B8",thetav:"\u03D1",tilde:"\u02DC",times:"\u00D7",triangle:"\u25B5",triangleq:"\u225C",upsi:"\u03C5",upuparrows:"\u21C8",veebar:"\u22BB",vellip:"\u22EE",weierp:"\u2118",xi:"\u03BE",yen:"\u00A5",zeta:"\u03B6",zigrarr:"\u21DD"};b.loadComplete("jax.js")})(MathJax.InputJax.MathML,MathJax.Hub.Browser);

(function(j,b,f,d){var e,h=b.Browser.isMSIE;var g,a,c,i;b.Register.StartupHook("MathZoom Ready",function(){i=MathJax.Extension.MathZoom});j.Augment({config:{styles:{".MathJax_mmlExBox":{display:"block",overflow:"hidden",height:"1px",width:"60ex",padding:0,border:0,margin:0}}},settings:b.config.menuSettings,Config:function(){this.SUPER(arguments).Config.call(this);if(this.settings.scale){this.config.scale=this.settings.scale}if(b.config.displayAlign!=="center"){var m=b.config.displayAlign,k=b.config.displayIndent;var l={"text-align":m+"!important"};l["margin-"+m]=k+"!important";MathJax.Hub.Insert(this.config.styles,{"div.MathJax_MathML":l,"div.MathJax_MathML math":{"text-align":m},"div.MathJax_MathContainer > span":{"text-align":m+"!important"}})}this.require.push(MathJax.OutputJax.extensionDir+"/MathEvents.js")},Startup:function(){g=MathJax.Extension.MathEvents.Event;a=MathJax.Extension.MathEvents.Touch;c=MathJax.Extension.MathEvents.Hover;this.ContextMenu=g.ContextMenu;this.Mousedown=g.AltContextMenu;this.Mouseover=c.Mouseover;this.Mouseout=c.Mouseout;this.Mousemove=c.Mousemove;if(!h){this.EmExSpan=d.Element("span",{style:{position:"absolute","font-size-adjust":"none"}},[["div",{className:"MathJax_mmlExBox"}],["span",{className:"MathJax_MathML"}]]);e.math(e.mspace().With({width:"60ex"})).toNativeMML(this.EmExSpan.lastChild)}return f.Styles(this.config.styles)},InitializeMML:function(){this.initialized=true;if(h){try{var k=document.createElement("object");k.id="mathplayer";k.classid="clsid:32F66A20-7614-11D4-BD11-00104BD3F987";document.getElementsByTagName("head")[0].appendChild(k);document.namespaces.add("mjx","http://www.w3.org/1998/Math/MathML");document.namespaces.mjx.doImport("#mathplayer")}catch(l){alert("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(l){var r=l.jax[this.id],s,n=r.length,w,p,y,u,x,k,t,q,o;for(s=0;s<n;s++){w=r[s];if(!w.parentNode){continue}if(!this.initialized){this.InitializeMML()}p=w.previousSibling;if(p&&p.className==="MathJax_MathML"){p.parentNode.removeChild(p)}k=w.MathJax.elementJax;x=k.root;k.NativeMML={};var v=(x.Get("display")==="block"?"div":"span");y=d.Element(v,{className:"MathJax_MathML",id:k.inputID+"-Frame"},[["span",{className:"MathJax_MathContainer",isMathJax:true,jaxID:this.id,style:{position:"relative",display:"inline-block","white-space":"nowrap"}},[["span",{isMathJax:true,style:{display:"inline-block"}}]]]]);w.parentNode.insertBefore(y,w);if(!h){w.parentNode.insertBefore(this.EmExSpan.cloneNode(true),w)}}for(s=0;s<n;s++){w=r[s];if(!w.parentNode){continue}k=w.MathJax.elementJax;if(!h){u=w.previousSibling;y=u.previousSibling;t=u.firstChild.offsetWidth/60;q=u.lastChild.offsetWidth/60;if(t===0||t==="NaN"){t=this.defaultEx;q=this.defaultMEx}o=(q>1?t/q:1)*this.config.scale;o=Math.floor(Math.max(this.config.minScaleAdjust/100,o))}else{o=100}k.NativeMML.fontSize=o+"%"}if(!h){for(s=0;s<n;s++){w=r[s];if(!w.parentNode){continue}u=r[s].previousSibling;u.parentNode.removeChild(u)}}},Translate:function(m){if(!m.parentNode){return}var l=m.MathJax.elementJax,q=l.root;var o=document.getElementById(l.inputID+"-Frame"),k=o.firstChild,r=k.firstChild;o.style.fontSize=l.NativeMML.fontSize;try{q.toNativeMML(r)}catch(p){if(p.restart){while(r.firstChild){r.removeChild(r.firstChild)}}throw p}if(h){if(k.addEventListener){k.addEventListener("contextmenu",g.Menu,true);k.addEventListener("mouseover",g.Mouseover,true);k.addEventListener("mouseout",g.Mouseout,true);k.addEventListener("mousedown",g.Mousedown,true);k.addEventListener("mouseup",g.False,true);k.addEventListener("click",g.Click,true);k.addEventListener("dblclick",g.DblClick,true)}else{var n=(this.config.showMathMenuMSIE!=null?this:b).config;if(n.showMathMenuMSIE){this.MSIEoverlay(k)}}}else{k.oncontextmenu=g.Menu;k.onmouseover=g.Mouseover;k.onmouseout=g.Mouseout;k.onmousedown=g.Mousedown;k.onclick=g.Click;k.ondblclick=g.DblClick}},Remove:function(k){var l=k.SourceElement();if(!l){return}l=l.previousSibling;if(!l){return}if(l.className.match(/MathJax_MathML/)){l.parentNode.removeChild(l)}},MMLnamespace:"http://www.w3.org/1998/Math/MathML",MSIEoverlay:function(k){var l=k.firstChild;if(l.nodeName.toLowerCase()==="span"){l=l.firstChild}var m=this.getHoverBBox(null,l,{});d.addElement(k,"span",{style:{display:"inline-block",width:0,height:0,position:"relative"}},[["span",{isMathJax:true,className:"MathJax_MathPlayer_Overlay",style:{display:"inline-block",position:"absolute",left:c.Px(-m.w),top:c.Px(-m.h-(m.y||0)-1),width:c.Px(m.w),height:c.Px(m.h+m.d),cursor:"pointer","background-color":"white",filter:"alpha(opacity=0)"}}]]);b.Insert(k,{msieMath:l,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 l=window.event;var k=j.MSIEevents[l.type];if(j[k]&&j[k](l,this)===false){return false}if(i&&i.HandleEvent(l,k,this)===false){return false}if(l.srcElement.className==="MathJax_MathPlayer_Overlay"&&this.msieMath.fireEvent){if(k==="ContextMenu"){this.msieMath.fireEvent("on"+l.type,l)}}return g.False(l)},getJaxFromMath:function(k){return b.getJaxFor(k.parentNode.nextSibling)},getHoverSpan:function(k,l){return l.firstChild},getHoverBBox:function(k,l,m){return g.getBBox(l.parentNode)},Zoom:function(l,r,p,k,o){l.root.toNativeMML(r,r);if(this.msieIE8HeightBug){r.style.position="absolute"}var m=p.offsetWidth||p.scrollWidth,s=p.offsetHeight||p.scrollHeight;var q=r.offsetWidth,n=r.offsetHeight;if(this.msieIE8HeightBug){r.style.position=""}return{Y:-g.getBBox(r.parentNode).h,mW:m,mH:s,zW:q,zH:n}},NAMEDSPACE:{negativeveryverythinmathspace:"-.0556em",negativeverythinmathspace:"-.1111em",negativethinmathspace:"-.1667em",negativemediummathspace:"-.2222em",negativethickmathspace:"-.2778em",negativeverythickmathspace:"-.3333em",negativeveryverythickmathspace:"-.3889em"}});b.Register.StartupHook("mml Jax Ready",function(){e=MathJax.ElementJax.mml;e.mbase.Augment({toNativeMML:function(p){var n=this.NativeMMLelement(this.type);this.NativeMMLattributes(n);for(var o=0,l=this.data.length;o<l;o++){if(this.data[o]){this.data[o].toNativeMML(n)}else{n.appendChild(this.NativeMMLelement("mrow"))}}p.appendChild(n)},NativeMMLattributes:function(n){var q=this.defaults;var s=this.NativeMMLcopyAttributes,p=this.NativeMMLskipAttributes;if(this.type==="mstyle"){q=e.math.prototype.defaults}for(var r in q){if(!p[r]&&q.hasOwnProperty(r)){if(this[r]!=null){n.setAttribute(r,this.NativeMMLattribute(r,this[r]))}}}for(var o=0,l=s.length;o<l;o++){if(this[s[o]]!=null){n.setAttribute(s[o],this.NativeMMLattribute(s[o],this[s[o]]))}}},NativeMMLcopyAttributes:["fontfamily","fontsize","fontweight","fontstyle","color","background","id","class","href","style"],NativeMMLskipAttributes:{texClass:1,useHeight:1,texprimestyle:1},NativeMMLattribute:function(m,l){l=String(l);if(j.NAMEDSPACE[l]){l=j.NAMEDSPACE[l]}else{if(l.match(/^\s*(([-+])?(\d+(\.\d*)?|\.\d+))\s*mu\s*$/)){l=(RegExp.$2+(1/18)*RegExp.$1).replace(/(\.\d\d\d).*/,"$1")+"em"}else{if(l==="-tex-caligraphic"){l="script"}else{if(l==="-tex-oldstyle"){l="normal"}}}}return l},NativeMMLelement:function(l){var m=(h?document.createElement("mjx:"+l):document.createElementNS(j.MMLnamespace,l));m.isMathJax=true;return m}});e.mrow.Augment({toNativeMML:function(o){if(this.inferred&&this.parent.inferRow){for(var n=0,l=this.data.length;n<l;n++){if(this.data[n]){this.data[n].toNativeMML(o)}else{o.appendChild(this.NativeMMLelement("mrow"))}}}else{this.SUPER(arguments).toNativeMML.call(this,o)}}});e.msubsup.Augment({toNativeMML:function(q){var p=this.type;if(this.data[this.sup]==null){p="msub"}if(this.data[this.sub]==null){p="msup"}var n=this.NativeMMLelement(p);this.NativeMMLattributes(n);delete this.data[0].inferred;for(var o=0,l=this.data.length;o<l;o++){if(this.data[o]){this.data[o].toNativeMML(n)}}q.appendChild(n)}});e.munderover.Augment({toNativeMML:function(q){var p=this.type;if(this.data[this.under]==null){p="mover"}if(this.data[this.over]==null){p="munder"}var n=this.NativeMMLelement(p);this.NativeMMLattributes(n);delete this.data[0].inferred;for(var o=0,l=this.data.length;o<l;o++){if(this.data[o]){this.data[o].toNativeMML(n)}}q.appendChild(n)}});if(b.Browser.isFirefox){e.mtable.Augment({toNativeMML:function(l){if(this.width){var m=(this.style||"").replace(/;\s*$/,"").split(";");m.push("width:"+this.width);this.style=m.join(";")}this.SUPER(arguments).toNativeMML.call(this,l)}});e.mlabeledtr.Augment({toNativeMML:function(p){var n=this.NativeMMLelement("mtr");this.NativeMMLattributes(n);for(var o=1,l=this.data.length;o<l;o++){if(this.data[o]){this.data[o].toNativeMML(n)}else{n.appendChild(this.NativeMMLelement("mrow"))}}p.appendChild(n)}});var k=MathJax.OutputJax.fontDir+"/HTML-CSS/TeX/otf";j.Augment({config:{styles:{'[mathvariant="double-struck"]':{"font-family":"MathJax_AMS, MathJax_AMS-WEB"},'[mathvariant="script"]':{"font-family":"MathJax_Script, MathJax_Script-WEB"},'[mathvariant="fraktur"]':{"font-family":"MathJax_Fraktur, MathJax_Fraktur-WEB"},'[mathvariant="-tex-oldstyle"]':{"font-family":"MathJax_Caligraphic, MathJax_Caligraphic-WEB"},'[mathvariant="-tex-oldstyle-bold"]':{"font-family":"MathJax_Caligraphic, MathJax_Caligraphic-WEB","font-weight":"bold"},'[mathvariant="-tex-caligraphic"]':{"font-family":"MathJax_Caligraphic, MathJax_Caligraphic-WEB"},'[mathvariant="-tex-caligraphic-bold"]':{"font-family":"MathJax_Caligraphic, MathJax_Caligraphic-WEB","font-weight":"bold"},'[mathvariant="bold-script"]':{"font-family":"MathJax_Script, MathJax_Caligraphic-WEB","font-weight":"bold"},'[mathvariant="bold-fraktur"]':{"font-family":"MathJax_Fraktur, MathJax_Fraktur-WEB","font-weight":"bold"},'[mathvariant="monospace"]':{"font-family":"monospace"},'[mathvariant="sans-serif"]':{"font-family":"sans-serif"},'[mathvariant="bold-sans-serif"]':{"font-family":"sans-serif","font-weight":"bold"},'[mathvariant="sans-serif-italic"]':{"font-family":"sans-serif","font-style":"italic"},'[mathvariant="sans-serif-bold-italic"]':{"font-family":"sans-serif","font-style":"italic","font-weight":"bold"},"@font-face /*1*/":{"font-family":"MathJax_AMS-WEB",src:"url('"+k+"/MathJax_AMS-Regular.otf')"},"@font-face /*2*/":{"font-family":"MathJax_Script-WEB",src:"url('"+k+"/MathJax_Script-Regular.otf')"},"@font-face /*3*/":{"font-family":"MathJax_Fraktur-WEB",src:"url('"+k+"/MathJax_Fraktur-Regular.otf')"},"@font-face /*4*/":{"font-family":"MathJax_Caligraphic-WEB",src:"url('"+k+"/MathJax_Caligraphic-Regular.otf')"},"@font-face /*5*/":{"font-family":"MathJax_Fraktur-WEB","font-weight":"bold",src:"url('"+k+"/MathJax_Fraktur-Bold.otf')"},"@font-face /*6*/":{"font-family":"MathJax_Caligraphic-WEB","font-weight":"bold",src:"url('"+k+"/MathJax_Caligraphic-Bold.otf')"}}}})}e.TeXAtom.Augment({toNativeMML:function(m){var l=this.NativeMMLelement("mrow");this.data[0].toNativeMML(l);m.appendChild(l)}});e.chars.Augment({toNativeMML:function(l){l.appendChild(document.createTextNode(this.toString()))}});e.entity.Augment({toNativeMML:function(l){l.appendChild(document.createTextNode(this.toString()))}});e.xml.Augment({toNativeMML:function(o){for(var n=0,l=this.data.length;n<l;n++){o.appendChild(this.data[n].cloneNode(true))}}});b.Register.StartupHook("TeX mathchoice Ready",function(){e.TeXmathchoice.Augment({toNativeMML:function(l){this.Core().toNativeMML(l)}})});setTimeout(MathJax.Callback(["loadComplete",j,"jax.js"]),0)});b.Browser.Select({MSIE:function(k){var l=(document.documentMode||0);j.msieIE8HeightBug=(l===8)},Opera:function(k){j.operaPositionBug=true}});b.Register.StartupHook("End Cookie",function(){if(b.config.menuSettings.zoom!=="None"){f.Require("[MathJax]/extensions/MathZoom.js")}})})(MathJax.OutputJax.NativeMML,MathJax.Hub,MathJax.Ajax,MathJax.HTML);

(function(c,d,e){var a;var b=MathJax.Object.Subclass({timeout:5*1000,FontInfo:{STIX:{family:"STIXSizeOneSym",testString:"() {} []"},TeX:{family:"MathJax_Size1",testString:"() {} []"}},comparisonFont:["sans-serif","monospace","script","Times","Courier","Arial","Helvetica"],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,"white-space":"nowrap",textAlign:"left",textIndent:0,textTransform:"none",lineHeight:"normal",letterSpacing:"normal",wordSpacing:"normal",fontSize:this.testSize[0],fontWeight:"normal",fontStyle:"normal"}},[""]);this.text=this.div.firstChild},findFont:function(n,k){if(k&&this.testCollection(k)){return k}for(var l=0,j=n.length;l<j;l++){if(n[l]===k){continue}if(this.testCollection(n[l])){return n[l]}}return null},testCollection:function(i){return this.testFont(this.FontInfo[i])},testFont:function(l){if(l.isWebFont&&e.FontFaceBug){this.div.style.fontWeight=this.div.style.fontStyle="normal"}else{this.div.style.fontWeight=(l.weight||"normal");this.div.style.fontStyle=(l.style||"normal")}var k=this.getComparisonWidths(l.testString,l.noStyleChar);if(k){this.div.style.fontFamily="'"+l.family+"',"+this.comparisonFont[0];if(this.div.offsetWidth==k[0]){this.div.style.fontFamily="'"+l.family+"',"+this.comparisonFont[k[2]];if(this.div.offsetWidth==k[1]){return false}}if(this.div.offsetWidth!=k[3]){if(l.noStyleChar||!e.FONTDATA||!e.FONTDATA.hasStyleChar){return true}for(var n=0,j=this.testSize.length;n<j;n++){if(this.testStyleChar(l,this.testSize[n])){return true}}}}return false},styleChar:"\uEFFD",versionChar:"\uEFFE",compChar:"\uEFFF",testStyleChar:function(k,m){var q=3+(k.weight?2:0)+(k.style?4:0);var j="",l=0;var p=this.div.style.fontSize;this.div.style.fontSize=m;if(e.msieItalicWidthBug&&k.style==="italic"){this.text.nodeValue=j=this.compChar;l=this.div.offsetWidth}if(e.safariTextNodeBug){this.div.innerHTML=this.compChar+j}else{this.text.nodeValue=this.compChar+j}var i=this.div.offsetWidth-l;if(e.safariTextNodeBug){this.div.innerHTML=this.styleChar+j}else{this.text.nodeValue=this.styleChar+j}var o=Math.floor((this.div.offsetWidth-l)/i+0.5);if(o===q){if(e.safariTextNodeBug){this.div.innerHTML=this.versionChar+j}else{this.text.nodeValue=this.versionChar+j}k.version=Math.floor((this.div.offsetWidth-l)/i+1.5)/2}this.div.style.fontSize=p;return(o===q)},getComparisonWidths:function(n,l){if(e.FONTDATA&&e.FONTDATA.hasStyleChar&&!l){n+=this.styleChar+" "+this.compChar}if(e.safariTextNodeBug){this.div.innerHTML=n}else{this.text.nodeValue=n}this.div.style.fontFamily=this.comparisonFont[0];var k=this.div.offsetWidth,p=-1;if(e.safariWebFontSerif){this.div.style.fontFamily=e.safariWebFontSerif[0];p=this.div.offsetWidth}for(var o=1,j=this.comparisonFont.length;o<j;o++){this.div.style.fontFamily=this.comparisonFont[o];if(this.div.offsetWidth!=k){return[k,this.div.offsetWidth,o,p]}}return null},loadWebFont:function(j){d.Startup.signal.Post("HTML-CSS Jax - Web-Font "+e.fontInUse+"/"+j.directory);var l=MathJax.Message.File("Web-Font "+e.fontInUse+"/"+j.directory);var i=MathJax.Callback({});var k=MathJax.Callback(["loadComplete",this,j,l,i]);c.timer.start(c,[this.checkWebFont,j,k],0,this.timeout);return i},loadComplete:function(k,m,j,i){MathJax.Message.Clear(m);if(i===c.STATUS.OK){j();return}this.loadError(k);if(d.Browser.isFirefox&&e.allowWebFonts){var l=document.location.protocol+"//"+document.location.hostname;if(document.location.port!=""){l+=":"+document.location.port}l+="/";if(c.fileURL(e.webfontDir).substr(0,l.length)!==l){this.firefoxFontError(k)}}e.loadWebFontError(k,j)},loadError:function(i){MathJax.Message.Set("Can't load web font "+e.fontInUse+"/"+i.directory,null,2000)},firefoxFontError:function(i){MathJax.Message.Set("Firefox can't load web fonts from a remote host",null,3000)},checkWebFont:function(i,j,k){if(i.time(k)){return}if(e.Font.testFont(j)){k(i.STATUS.OK)}else{setTimeout(i,i.delay)}},fontFace:function(k){var l=e.allowWebFonts;var n=e.FONTDATA.FONTS[k];if(e.msieFontCSSBug&&!n.family.match(/-Web$/)){n.family+="-Web"}var j=c.fileURL(e.webfontDir+"/"+l);var i=k.replace(/-b/,"-B").replace(/-i/,"-I").replace(/-Bold-/,"-Bold");if(!i.match(/-/)){i+="-Regular"}if(l==="svg"){i+=".svg#"+i}else{i+="."+l}var m={"font-family":n.family,src:"url('"+j+"/"+i+"')"};if(l==="svg"){m.src+=" format('svg')"}if(!(e.FontFaceBug&&n.isWebFont)){if(k.match(/-bold/)){m["font-weight"]="bold"}if(k.match(/-italic/)){m["font-style"]="italic"}}return m}});var g,h,f;e.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"},".MathJax_Processing":{visibility:"hidden",position:"fixed",width:0,height:0,overflow:"hidden"},".MathJax_Processed":{display:"none!important"},".MathJax_ExBox":{display:"block",overflow:"hidden",height:"1px",width:"60ex"},".MathJax .MathJax_EmBox":{display:"block",overflow:"hidden",height:"1px",width:"60em"},".MathJax .MathJax_HitBox":{cursor:"text",background:"white",opacity:0,filter:"alpha(opacity=0)"},".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"}}},settings:d.config.menuSettings,hideProcessedMath:true,Font:null,Config:function(){this.Font=b();this.SUPER(arguments).Config.call(this);var j=this.settings;if(this.adjustAvailableFonts){this.adjustAvailableFonts(this.config.availableFonts)}if(j.scale){this.config.scale=j.scale}if(j.font&&j.font!=="Auto"){if(j.font==="TeX (local)"){this.config.availableFonts=["TeX"];this.config.preferredFont="TeX";this.config.webFont="TeX"}else{if(j.font==="STIX (local)"){this.config.availableFonts=["STIX"];this.config.preferredFont="STIX";this.config.webFont="TeX"}else{if(j.font==="TeX (web)"){this.config.availableFonts=[];this.config.preferredFont="";this.config.webFont="TeX"}else{if(j.font==="TeX (image)"){this.config.availableFonts=[];this.config.preferredFont="";this.config.webFont=""}}}}}var i=this.Font.findFont(this.config.availableFonts,this.config.preferredFont);if(!i&&this.allowWebFonts){i=this.config.webFont;if(i){this.webFonts=true}}if(!i&&this.config.imageFont){i=this.config.imageFont;this.imgFonts=true}if(i){this.fontInUse=i;this.fontDir+="/"+i;this.webfontDir+="/"+i;if(!this.require){this.require=[]}this.require.push(this.fontDir+"/fontdata.js");if(this.imgFonts){this.require.push(this.directory+"/imageFonts.js");d.Startup.signal.Post("HTML-CSS Jax - using image fonts")}}else{MathJax.Message.Set("Can't find a valid font using ["+this.config.availableFonts.join(", ")+"]",null,3000);this.FONTDATA={TeX_factor:1,baselineskip:1.2,lineH:0.8,lineD:0.2,ffLineH:0.8,FONTS:{},VARIANT:{normal:{fonts:[]}},RANGES:[],DELIMITERS:{},RULECHAR:45,REMAP:{}};if(MathJax.InputJax.TeX&&MathJax.InputJax.TeX.Definitions){MathJax.InputJax.TeX.Definitions.macros.overline[1]="002D";MathJax.InputJax.TeX.Definitions.macros.underline[1]="002D"}d.Startup.signal.Post("HTML-CSS Jax - no valid font")}this.require.push(MathJax.OutputJax.extensionDir+"/MathEvents.js")},Startup:function(){g=MathJax.Extension.MathEvents.Event;h=MathJax.Extension.MathEvents.Touch;f=MathJax.Extension.MathEvents.Hover;this.ContextMenu=g.ContextMenu;this.Mousedown=g.AltContextMenu;this.Mouseover=f.Mouseover;this.Mouseout=f.Mouseout;this.Mousemove=f.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"}});if(!document.body.firstChild){document.body.appendChild(this.hiddenDiv)}else{document.body.insertBefore(this.hiddenDiv,document.body.firstChild)}this.hiddenDiv=this.addElement(this.hiddenDiv,"div",{id:"MathJax_Hidden"});var j=this.addElement(this.hiddenDiv,"div",{style:{width:"5in"}});this.pxPerInch=j.offsetWidth/5;this.hiddenDiv.removeChild(j);this.startMarker=e.createStrut(this.Element("span"),10,true);this.endMarker=this.addText(this.Element("span"),"x").parentNode;this.HDspan=this.Element("span");if(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(i){}}else{this.HDimg=e.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=e.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(l){for(var k=0,j=l.length;k<j;k++){if(l[k]==="STIX"){l.splice(k,1);j--;k--}}if(this.config.preferredFont==="STIX"){this.config.preferredFont=l[0]}},PreloadWebFonts:function(){if(!e.allowWebFonts||!e.config.preloadWebFonts){return}for(var k=0,j=e.config.preloadWebFonts.length;k<j;k++){var l=e.FONTDATA.FONTS[e.config.preloadWebFonts[k]];if(!l.available){e.Font.testFont(l)}}},InitializeHTML:function(){this.PreloadWebFonts();document.body.appendChild(this.EmExSpan);this.defaultEx=this.EmExSpan.firstChild.offsetWidth/60;this.defaultEm=this.EmExSpan.lastChild.firstChild.offsetWidth/60;document.body.removeChild(this.EmExSpan)},preTranslate:function(l){var r=l.jax[this.id],s,o=r.length,v,q,w,k,u,j,t,n,p;for(s=0;s<o;s++){v=r[s];if(!v.parentNode){continue}q=v.previousSibling;if(q&&String(q.className).match(/^MathJax(_Display)?$/)){q.parentNode.removeChild(q)}j=v.MathJax.elementJax;j.HTMLCSS={display:(j.root.Get("display")==="block")};w=k=this.Element("span",{className:"MathJax",id:j.inputID+"-Frame",isMathJax:true,jaxID:this.id,oncontextmenu:g.Menu,onmousedown:g.Mousedown,onmouseover:g.Mouseover,onmouseout:g.Mouseout,onmousemove:g.Mousemove,onclick:g.Click,ondblclick:g.DblClick});if(d.Browser.noContextMenu){w.ontouchstart=h.start;w.ontouchend=h.end}if(j.HTMLCSS.display){k=this.Element("div",{className:"MathJax_Display",style:{width:"100%"}});k.appendChild(w)}else{if(this.msieDisappearingBug){w.style.display="inline-block"}}k.setAttribute("role","textbox");k.setAttribute("aria-readonly","true");k.className+=" MathJax_Processing";v.parentNode.insertBefore(k,v);v.parentNode.insertBefore(this.EmExSpan.cloneNode(true),v)}for(s=0;s<o;s++){v=r[s];if(!v.parentNode){continue}j=v.MathJax.elementJax;u=v.previousSibling;t=j.HTMLCSS.ex=u.firstChild.offsetWidth/60;n=u.lastChild.firstChild.offsetWidth/60;if(t===0||t==="NaN"){this.hiddenDiv.appendChild(u.previousSibling);j.HTMLCSS.isHidden=true;t=j.HTMLCSS.ex=this.defaultEx;n=this.defaultEm}p=Math.floor(Math.max(this.config.minScaleAdjust/100,(t/this.TeX.x_height)/n)*this.config.scale);j.HTMLCSS.scale=p/100;j.HTMLCSS.fontSize=p+"%";j.HTMLCSS.em=j.HTMLCSS.outerEm=n}for(s=0;s<o;s++){v=r[s];if(!v.parentNode){continue}u=r[s].previousSibling;u.parentNode.removeChild(u)}l.HTMLCSSeqn=l.HTMLCSSlast=0;l.HTMLCSSchunk=this.config.EqnChunk},getTestSpan:function(j){var i=j.MathJax.elementJax;var k=document.getElementById(i.inputID+"-Frame");if(i.HTMLCSS.display){k=k.parentNode}return k.nextSibling},Translate:function(j,n){if(!j.parentNode){return}var i=j.MathJax.elementJax,m=i.root,k=document.getElementById(i.inputID+"-Frame"),o=(i.HTMLCSS.display?k.parentNode:k);this.em=a.mbase.prototype.em=i.HTMLCSS.em*i.HTMLCSS.scale;this.outerEm=i.HTMLCSS.em;this.scale=i.HTMLCSS.scale;k.style.fontSize=i.HTMLCSS.fontSize;this.getLinebreakWidth(o);this.initImg(k);this.initHTML(m,k);m.setTeXclass();try{m.toHTML(k,o)}catch(l){if(l.restart){while(k.firstChild){k.removeChild(k.firstChild)}}throw l}if(i.HTMLCSS.isHidden){j.parentNode.insertBefore(o,j)}o.className=o.className.split(/ /)[0];if(this.hideProcessedMath){o.className+=" MathJax_Processed";if(j.MathJax.preview){i.HTMLCSS.preview=j.MathJax.preview;delete j.MathJax.preview}n.HTMLCSSeqn++;if(n.HTMLCSSeqn>=n.HTMLCSSlast+n.HTMLCSSchunk){this.postTranslate(n);n.HTMLCSSchunk=Math.floor(n.HTMLCSSchunk*this.config.EqnChunkFactor)}}},postTranslate:function(p){var k=p.jax[this.id];if(!this.hideProcessedMath){return}for(var n=p.HTMLCSSlast,j=p.HTMLCSSeqn;n<j;n++){var l=k[n];if(l){l.previousSibling.className=l.previousSibling.className.split(/ /)[0];var o=l.MathJax.elementJax.HTMLCSS;if(o.preview){o.preview.style.display="none";l.MathJax.preview=o.preview;delete o.preview}}}p.HTMLCSSlast=p.HTMLCSSeqn},getJaxFromMath:function(i){if(i.parentNode.className==="MathJax_Display"){i=i.parentNode}return d.getJaxFor(i.nextSibling)},getHoverSpan:function(i){return i.root.HTMLspanElement()},getHoverBBox:function(i,l){var m=l.bbox,k=i.HTMLCSS.outerEm;var j={w:m.w*k,h:m.h*k,d:m.d*k};if(m.width){j.width=m.width}return j},Zoom:function(j,t,s,i,q){t.className="MathJax";t.style.fontSize=j.HTMLCSS.fontSize;var v=t.appendChild(this.EmExSpan.cloneNode(true));var m=v.lastChild.firstChild.offsetWidth/60;this.em=a.mbase.prototype.em=m;this.outerEm=m/j.HTMLCSS.scale;v.parentNode.removeChild(v);this.idPostfix="-zoom";j.root.toHTML(t,t);this.idPostfix="";var l=j.root.HTMLspanElement().bbox.width;if(l){t.style.width=Math.floor(i-1.5*e.em)+"px";t.style.display="inline-block";var k=(j.root.id||"MathJax-Span-"+j.root.spanID)+"-zoom";var n=document.getElementById(k).firstChild;while(n&&n.style.width!==l){n=n.nextSibling}if(n){n.style.width="100%"}}t.style.position=s.style.position="absolute";var r=t.offsetWidth,p=t.offsetHeight,u=s.offsetHeight,o=s.offsetWidth;if(o===0){o=s.parentNode.offsetWidth}t.style.position=s.style.position="";return{Y:-g.getBBox(t).h,mW:o,mH:u,zW:r,zH:p}},initImg:function(i){},initHTML:function(j,i){},initFont:function(i){var k=e.FONTDATA.FONTS,j=e.config.availableFonts;if(j&&j.length&&e.Font.testFont(k[i])){k[i].available=true;return null}if(!this.allowWebFonts){return null}k[i].isWebFont=true;if(e.FontFaceBug){k[i].family=i;if(e.msieFontCSSBug){k[i].family+="-Web"}}return c.Styles({"@font-face":this.Font.fontFace(i)})},Remove:function(i){var j=document.getElementById(i.inputID+"-Frame");if(j){if(i.HTMLCSS.display){j=j.parentNode}j.parentNode.removeChild(j)}delete i.HTMLCSS},getLinebreakWidth:function(k){if(this.config.linebreaks.automatic){var j=this.config.linebreaks.width,i;if(j.match(/^\s*(\d+(\.\d*)?%\s*)?container\s*$/)){k.parentNode.insertBefore(this.linebreakSpan,k);i=this.linebreakSpan.firstChild.offsetWidth/this.em;this.linebreakSpan.parentNode.removeChild(this.linebreakSpan);j=j.replace(/\s*container\s*/,"")}else{i=document.body.offsetWidth/this.em}this.linebreakWidth=(j===""?i:this.length2em(j,i))}else{this.linebreakWidth=100000}},getHD:function(j){var i=j.style.position;j.style.position="absolute";this.HDimg.style.height="0px";j.appendChild(this.HDspan);var k={h:j.offsetHeight};this.HDimg.style.height=k.h+"px";k.d=j.offsetHeight-k.h;k.h-=k.d;k.h/=this.em;k.d/=this.em;j.removeChild(this.HDspan);j.style.position=i;return k},getW:function(m){var j,l,k=(m.bbox||{}).w,n=m;if(m.bbox&&m.bbox.exactW){return k}if((m.bbox&&k>=0&&!this.initialSkipBug)||this.negativeBBoxes||!m.firstChild){j=m.offsetWidth;l=m.parentNode.offsetHeight}else{if(m.bbox&&k<0&&this.msieNegativeBBoxBug){j=-m.offsetWidth,l=m.parentNode.offsetHeight}else{if(this.initialSkipBug){var i=m.style.position;m.style.position="absolute";n=this.startMarker;m.insertBefore(n,m.firstChild)}m.appendChild(this.endMarker);j=this.endMarker.offsetLeft-n.offsetLeft;m.removeChild(this.endMarker);if(this.initialSkipBug){m.removeChild(n);m.style.position=i}}}if(l!=null){m.parentNode.HH=l/this.em}return j/this.em},Measured:function(k,j){var l=k.bbox;if(l.width==null&&l.w&&!l.isMultiline){var i=this.getW(k);l.rw+=i-l.w;l.w=i;l.exactW=true}if(!j){j=k.parentNode}if(!j.bbox){j.bbox=l}return k},Remeasured:function(j,i){i.bbox=this.Measured(j,i).bbox},MeasureSpans:function(n){var q=[],s,p,l,t,j,o,k;for(p=0,l=n.length;p<l;p++){s=n[p];if(!s){continue}t=s.bbox;if(t.exactW||t.width||t.w===0||t.isMultiline){if(!s.parentNode.bbox){s.parentNode.bbox=t}continue}if(this.negativeBBoxes||!s.firstChild||(t.w>=0&&!this.initialSkipBug)||(t.w<0&&this.msieNegativeBBoxBug)){q.push([s])}else{if(this.initialSkipBug){j=this.startMarker.cloneNode(true);o=this.endMarker.cloneNode(true);s.insertBefore(j,s.firstChild);s.appendChild(o);q.push([s,j,o,s.style.position]);s.style.position="absolute"}else{o=this.endMarker.cloneNode(true);s.appendChild(o);q.push([s,null,o])}}}for(p=0,l=q.length;p<l;p++){s=q[p][0];t=s.bbox;var r=s.parentNode;if((t.w>=0&&!this.initialSkipBug)||this.negativeBBoxes||!s.firstChild){k=s.offsetWidth;r.HH=s.parentNode.offsetHeight/this.em}else{if(t.w<0&&this.msieNegativeBBoxBug){k=-s.offsetWidth,r.HH=s.parentNode.offsetHeight/this.em}else{k=q[p][2].offsetLeft-q[p][1].offsetLeft}}k/=this.em;t.rw+=k-t.w;t.w=k;t.exactW=true;if(!r.bbox){r.bbox=t}}for(p=0,l=q.length;p<l;p++){s=q[p];if(s[1]){s[1].parentNode.removeChild(s[1]),s[0].style.position=s[3]}if(s[2]){s[2].parentNode.removeChild(s[2])}}},Em:function(i){if(Math.abs(i)<0.0006){return"0em"}return i.toFixed(3).replace(/\.?0+$/,"")+"em"},Percent:function(i){return(100*i).toFixed(1).replace(/\.?0+$/,"")+"%"},length2em:function(p,j,n){if(typeof(p)!=="string"){p=p.toString()}if(p===""){return""}if(p===a.SIZE.NORMAL){return 1}if(p===a.SIZE.BIG){return 2}if(p===a.SIZE.SMALL){return 0.71}if(p==="infinity"){return e.BIGDIMEN}var l=this.FONTDATA.TeX_factor;if(p.match(/mathspace$/)){return e.MATHSPACE[p]*l}var k=p.match(/^\s*([-+]?(?:\.\d+|\d+(?:\.\d*)?))?(pt|em|ex|mu|px|pc|in|mm|cm|%)?/);var i=parseFloat(k[1]||"1"),o=k[2];if(n==null){n=1}if(j==null){j=1}if(o==="em"){return i*l}if(o==="ex"){return i*e.TeX.x_height*l}if(o==="%"){return i/100*n}if(o==="px"){return i/e.em}if(o==="pt"){return i/10*l}if(o==="pc"){return i*1.2*l}if(o==="in"){return i*this.pxPerInch/e.em}if(o==="cm"){return i*this.pxPerInch/e.em/2.54}if(o==="mm"){return i*this.pxPerInch/e.em/25.4}if(o==="mu"){return i/18*l*j}return i*l*n},thickness2em:function(j,i){var k=e.TeX.rule_thickness;if(j===a.LINETHICKNESS.MEDIUM){return k}if(j===a.LINETHICKNESS.THIN){return 0.67*k}if(j===a.LINETHICKNESS.THICK){return 1.67*k}return this.length2em(j,i,k)},getPadding:function(j){var l={top:0,right:0,bottom:0,left:0},i=false;for(var m in l){if(l.hasOwnProperty(m)){var k=j.style["padding"+m.charAt(0).toUpperCase()+m.substr(1)];if(k){l[m]=this.length2em(k);i=true}}}return(i?l:false)},getBorders:function(n){var k={top:0,right:0,bottom:0,left:0},l={},j=false;for(var o in k){if(k.hasOwnProperty(o)){var i="border"+o.charAt(0).toUpperCase()+o.substr(1);var m=n.style[i+"Style"];if(m){j=true;k[o]=this.length2em(n.style[i+"Width"]);l[i]=[n.style[i+"Width"],n.style[i+"Style"],n.style[i+"Color"]].join(" ")}}}k.css=l;return(j?k:false)},setBorders:function(i,j){if(j){for(var k in j.css){if(j.css.hasOwnProperty(k)){i.style[k]=j.css[k]}}}},createStrut:function(k,j,l){var i=this.Element("span",{isMathJax:true,style:{display:"inline-block",overflow:"hidden",height:j+"px",width:"1px",marginRight:"-1px"}});if(l){k.insertBefore(i,k.firstChild)}else{k.appendChild(i)}return i},createBlank:function(j,i,k){var l=this.Element("span",{isMathJax:true,style:{display:"inline-block",overflow:"hidden",height:"1px",width:this.Em(i)}});if(k){j.insertBefore(l,j.firstChild)}else{j.appendChild(l)}return l},createShift:function(j,i,l){var k=this.Element("span",{style:{marginLeft:this.Em(i)},isMathJax:true});if(l){j.insertBefore(k,j.firstChild)}else{j.appendChild(k)}return k},createSpace:function(m,l,p,i,j){var k=this.Em(Math.max(0,l+p)),n=this.Em(-p);if(this.msieInlineBlockAlignBug){n=this.Em(e.getHD(m.parentNode).d-p)}if(m.isBox||m.className=="mspace"){var o=(m.scale==null?1:m.scale);m.bbox={exactW:true,h:l*o,d:p*o,w:i*o,rw:i*o,lw:0};m.style.height=k;m.style.verticalAlign=n;m.HH=(l+p)*o}else{m=this.addElement(m,"span",{style:{height:k,verticalAlign:n},isMathJax:true})}if(i>=0){m.style.width=this.Em(i);m.style.display="inline-block"}else{if(this.msieNegativeSpaceBug){m.style.height=""}m.style.marginLeft=this.Em(i);if(e.safariNegativeSpaceBug&&m.parentNode.firstChild==m){this.createBlank(m,0,true)}}if(j&&j!==a.COLOR.TRANSPARENT){m.style.backgroundColor=j;m.style.position="relative"}return m},createRule:function(p,l,n,q,j){var k=e.TeX.min_rule_thickness,m=1;if(q>0&&q*this.em<k){q=k/this.em}if(l+n>0&&(l+n)*this.em<k){m=1/(l+n)*(k/this.em);l*=m;n*=m}if(!j){j="solid"}else{j="solid "+j}j=this.Em(q)+" "+j;var r=(m===1?this.Em(l+n):k+"px"),i=this.Em(-n);var o=this.addElement(p,"span",{style:{borderLeft:j,display:"inline-block",overflow:"hidden",width:0,height:r,verticalAlign:i},bbox:{h:l,d:n,w:q,rw:q,lw:0,exactW:true},noAdjust:true,HH:l+n,isMathJax:true});if(q>0&&o.offsetWidth==0){o.style.width=this.Em(q)}if(p.isBox||p.className=="mspace"){p.bbox=o.bbox,p.HH=l+n}return o},createFrame:function(q,o,p,r,u,j){var n=(this.msieBorderWidthBug?0:2*u);var s=this.Em(o+p-n),i=this.Em(-p-u),m=this.Em(r-n);var k=this.Em(u)+" "+j;var l=this.addElement(q,"span",{style:{border:k,display:"inline-block",overflow:"hidden",width:m,height:s},bbox:{h:o,d:p,w:r,rw:r,lw:0,exactW:true},noAdjust:true,HH:o+p,isMathJax:true});if(i){l.style.verticalAlign=i}return l},createStack:function(k,m,j){if(this.msiePaddingWidthBug){this.createStrut(k,0)}var l=String(j).match(/%$/);var i=(!l&&j!=null?j:0);k=this.addElement(k,"span",{noAdjust:true,HH:0,isMathJax:true,style:{display:"inline-block",position:"relative",width:(l?"100%":this.Em(i)),height:0}});if(!m){k.parentNode.bbox=k.bbox={exactW:true,h:-this.BIGDIMEN,d:-this.BIGDIMEN,w:i,lw:this.BIGDIMEN,rw:(!l&&j!=null?j:-this.BIGDIMEN)};if(l){k.bbox.width=j}}return k},createBox:function(j,i){var k=this.addElement(j,"span",{style:{position:"absolute"},isBox:true,isMathJax:true});if(i!=null){k.style.width=i}return k},addBox:function(i,j){j.style.position="absolute";j.isBox=true;return i.appendChild(j)},placeBox:function(q,p,o,m){q.isMathJax=true;var s=q.parentNode,A=q.bbox,v=s.bbox;if(this.msiePlaceBoxBug){this.addText(q,this.NBSP)}if(this.imgSpaceBug){this.addText(q,this.imgSpace)}var u,C=0;if(q.HH!=null){u=q.HH}else{if(A){u=Math.max(3,A.h+A.d)}else{u=q.offsetHeight/this.em}}if(!q.noAdjust){u+=1;if(this.msieInlineBlockAlignBug){this.addElement(q,"img",{className:"MathJax_strut",border:0,src:"about:blank",isMathJax:true,style:{width:0,height:this.Em(u)}})}else{this.addElement(q,"span",{isMathJax:true,style:{display:"inline-block",width:0,height:this.Em(u)}})}}q.style.top=this.Em(-o-u);q.style.left=this.Em(p+C);if(A){if(this.initialSkipBug){if(A.lw<0){C=A.lw;e.createBlank(q,-C,true);k=0}if(A.rw>A.w){e.createBlank(q,A.rw-A.w+0.1)}}if(!this.msieClipRectBug&&!A.noclip&&!m){var z=3/this.em;var w=(A.H==null?A.h:A.H),j=(A.D==null?A.d:A.D);var B=u-w-z,n=u+j+z,k=A.lw-3*z,i=1000;if(A.isFixed){i=A.width-k}q.style.clip="rect("+this.Em(B)+" "+this.Em(i)+" "+this.Em(n)+" "+this.Em(k)+")"}}if(A&&v){if(A.H!=null&&(v.H==null||A.H+o>v.H)){v.H=A.H+o}if(A.D!=null&&(v.D==null||A.D-o>v.D)){v.D=A.D-o}if(A.h+o>v.h){v.h=A.h+o}if(A.d-o>v.d){v.d=A.d-o}if(v.H!=null&&v.H<=v.h){delete v.H}if(v.D!=null&&v.D<=v.d){delete v.D}if(A.w+p>v.w){v.w=A.w+p;if(v.width==null){s.style.width=this.Em(v.w)}}if(A.rw+p>v.rw){v.rw=A.rw+p}if(A.lw+p<v.lw){v.lw=A.lw+p}if(A.width!=null&&!A.isFixed){if(v.width==null){s.style.width=v.width="100%"}q.style.width=A.width}}},alignBox:function(k,q,p){this.placeBox(k,0,p);var n=k.bbox;if(n.isMultiline){return}var j=n.width!=null&&!n.isFixed;var m=0,o=-n.w/2,i="50%";if(this.initialSkipBug){m=n.w-n.rw-0.1;o+=n.lw}if(this.msieMarginScaleBug){o=(o*this.em)+"px"}else{o=this.Em(o)}if(j){o="";i=(50-parseFloat(n.width)/2)+"%"}d.Insert(k.style,({right:{left:"",right:this.Em(m)},center:{left:i,marginLeft:o}})[q])},setStackWidth:function(j,i){if(typeof(i)==="number"){j.style.width=this.Em(Math.max(0,i));var k=j.bbox;if(k){k.w=i;k.exactW=true}k=j.parentNode.bbox;if(k){k.w=i;k.exactW=true}}else{j.style.width=j.parentNode.style.width="100%";if(j.bbox){j.bbox.width=i}if(j.parentNode.bbox){j.parentNode.bbox.width=i}}},createDelimiter:function(t,j,l,p,n){if(!j){t.bbox={h:0,d:0,w:this.TeX.nulldelimiterspace,lw:0};t.bbox.rw=t.bbox.w;this.createSpace(t,t.bbox.h,t.bbox.d,t.bbox.w);return}if(!p){p=1}if(!(l instanceof Array)){l=[l,l]}var s=l[1];l=l[0];var k={alias:j};while(k.alias){j=k.alias;k=this.FONTDATA.DELIMITERS[j];if(!k){k={HW:[0,this.FONTDATA.VARIANT[a.VARIANT.NORMAL]]}}}if(k.load){d.RestartAfter(c.Require(this.fontDir+"/fontdata-"+k.load+".js"))}for(var r=0,o=k.HW.length;r<o;r++){if(k.HW[r][0]*p>=l-0.01||(r==o-1&&!k.stretch)){if(k.HW[r][2]){p*=k.HW[r][2]}if(k.HW[r][3]){j=k.HW[r][3]}var q=this.addElement(t,"span");this.createChar(q,[j,k.HW[r][1]],p,n);t.bbox=q.bbox;t.offset=0.65*t.bbox.w;t.scale=p;return}}if(k.stretch){this["extendDelimiter"+k.dir](t,s,k.stretch,p,n)}},extendDelimiterV:function(x,r,C,D,u){var l=this.createStack(x,true);var t=this.createBox(l),s=this.createBox(l);this.createChar(t,(C.top||C.ext),D,u);this.createChar(s,(C.bot||C.ext),D,u);var j={bbox:{w:0,lw:0,rw:0}},B=j,m;var z=t.bbox.h+t.bbox.d+s.bbox.h+s.bbox.d;var p=-t.bbox.h;this.placeBox(t,0,p,true);p-=t.bbox.d;if(C.mid){B=this.createBox(l);this.createChar(B,C.mid,D,u);z+=B.bbox.h+B.bbox.d}if(r>z){j=this.Element("span");this.createChar(j,C.ext,D,u);var A=j.bbox.h+j.bbox.d,i=A-0.05,v,o,w=(C.mid?2:1);o=v=Math.ceil((r-z)/(w*i));if(!C.fullExtenders){i=(r-z)/(w*v)}var q=(v/(v+1))*(A-i);i=A-q;p+=q+i-j.bbox.h;while(w-->0){while(v-->0){if(!this.msieCloneNodeBug){m=j.cloneNode(true)}else{m=this.Element("span");this.createChar(m,C.ext,D,u)}p-=i;this.placeBox(this.addBox(l,m),0,p,true)}p+=q-j.bbox.d;if(C.mid&&w){this.placeBox(B,0,p-B.bbox.h,true);v=o;p+=-(B.bbox.h+B.bbox.d)+q+i-j.bbox.h}}}else{p+=(z-r)/2;if(C.mid){this.placeBox(B,0,p-B.bbox.h,true);p+=-(B.bbox.h+B.bbox.d)}p+=(z-r)/2}this.placeBox(s,0,p-s.bbox.h,true);p-=s.bbox.h+s.bbox.d;x.bbox={w:Math.max(t.bbox.w,j.bbox.w,s.bbox.w,B.bbox.w),lw:Math.min(t.bbox.lw,j.bbox.lw,s.bbox.lw,B.bbox.lw),rw:Math.max(t.bbox.rw,j.bbox.rw,s.bbox.rw,B.bbox.rw),h:0,d:-p,exactW:true};x.scale=D;x.offset=0.55*x.bbox.w;x.isMultiChar=true;this.setStackWidth(l,x.bbox.w)},extendDelimiterH:function(z,l,C,E,u){var p=this.createStack(z,true);var m=this.createBox(p),A=this.createBox(p);this.createChar(m,(C.left||C.rep),E,u);this.createChar(A,(C.right||C.rep),E,u);var i=this.Element("span");this.createChar(i,C.rep,E,u);var B={bbox:{h:-this.BIGDIMEN,d:-this.BIGDIMEN}},j;this.placeBox(m,-m.bbox.lw,0,true);var s=(m.bbox.rw-m.bbox.lw)+(A.bbox.rw-A.bbox.lw)-0.05,r=m.bbox.rw-m.bbox.lw-0.025,t;if(C.mid){B=this.createBox(p);this.createChar(B,C.mid,E,u);s+=B.bbox.w}if(l>s){var D=i.bbox.rw-i.bbox.lw,o=D-0.05,v,q,y=(C.mid?2:1);q=v=Math.ceil((l-s)/(y*o));if(!C.fillExtenders){o=(l-s)/(y*v)}t=(v/(v+1))*(D-o);o=D-t;r-=i.bbox.lw+t;while(y-->0){while(v-->0){if(!this.msieCloneNodeBug){j=i.cloneNode(true)}else{j=this.Element("span");this.createChar(j,C.rep,E,u)}this.placeBox(this.addBox(p,j),r,0,true);r+=o}if(C.mid&&y){this.placeBox(B,r,0,true);r+=B.bbox.w-t;v=q}}}else{t=Math.min(s-l,m.bbox.w/2);r-=t/2;if(C.mid){this.placeBox(B,r,0,true);r+=B.bbox.w}r-=t/2}this.placeBox(A,r,0,true);z.bbox={w:r+A.bbox.rw,lw:0,rw:r+A.bbox.rw,H:Math.max(m.bbox.h,i.bbox.h,A.bbox.h,B.bbox.h),D:Math.max(m.bbox.d,i.bbox.d,A.bbox.d,B.bbox.d),h:i.bbox.h,d:i.bbox.d,exactW:true};z.scale=E;z.isMultiChar=true;this.setStackWidth(p,z.bbox.w)},createChar:function(r,o,l,j){r.isMathJax=true;var q=r,s="",n={fonts:[o[1]],noRemap:true};if(j&&j===a.VARIANT.BOLD){n.fonts=[o[1]+"-bold",o[1]]}if(typeof(o[1])!=="string"){n=o[1]}if(o[0] instanceof Array){for(var p=0,k=o[0].length;p<k;p++){s+=String.fromCharCode(o[0][p])}}else{s=String.fromCharCode(o[0])}if(o[4]){l*=o[4]}if(l!==1||o[3]){q=this.addElement(r,"span",{style:{fontSize:this.Percent(l)},scale:l,isMathJax:true});this.handleVariant(q,n,s);r.bbox=q.bbox}else{this.handleVariant(r,n,s)}if(o[2]){r.style.marginLeft=this.Em(o[2])}if(o[3]){r.firstChild.style.verticalAlign=this.Em(o[3]);r.bbox.h+=o[3];if(r.bbox.h<0){r.bbox.h=0}}if(o[5]){r.bbox.h+=o[5]}if(o[6]){r.bbox.d+=o[6]}if(this.AccentBug&&r.bbox.w===0){q.firstChild.nodeValue+=this.NBSP}},positionDelimiter:function(j,i){i-=j.bbox.h;j.bbox.d-=i;j.bbox.h+=i;if(i){if(this.safariVerticalAlignBug||this.konquerorVerticalAlignBug||(this.operaVerticalAlignBug&&j.isMultiChar)){if(j.firstChild.style.display===""&&j.style.top!==""){j=j.firstChild;i-=parseFloat(j.style.top)}j.style.position="relative";j.style.top=this.Em(-i)}else{j.style.verticalAlign=this.Em(i);if(e.ffVerticalAlignBug){e.createRule(j.parentNode,j.bbox.h,0,0)}}}},handleVariant:function(y,o,r){var x="",v,B,s,k,A,C,j=y;if(r.length===0){return}if(!y.bbox){y.bbox={w:0,h:-this.BIGDIMEN,d:-this.BIGDIMEN,rw:-this.BIGDIMEN,lw:this.BIGDIMEN}}if(!o){o=this.FONTDATA.VARIANT[a.VARIANT.NORMAL]}C=o;for(var z=0,w=r.length;z<w;z++){o=C;v=r.charCodeAt(z);B=r.charAt(z);if(B===this.PLANE1){z++;v=r.charCodeAt(z)+119808-56320;if(this.FONTDATA.RemapPlane1){var D=this.FONTDATA.RemapPlane1(v,o);v=D.n;o=D.variant}}else{var t,q,u=this.FONTDATA.RANGES;for(t=0,q=u.length;t<q;t++){if(u[t].name==="alpha"&&o.noLowerCase){continue}var p=o["offset"+u[t].offset];if(p&&v>=u[t].low&&v<=u[t].high){if(u[t].remap&&u[t].remap[v]){v=p+u[t].remap[v]}else{v=v-u[t].low+p;if(u[t].add){v+=u[t].add}}if(o["variant"+u[t].offset]){o=this.FONTDATA.VARIANT[o["variant"+u[t].offset]]}break}}}if(o.remap&&o.remap[v]){if(o.remap[v] instanceof Array){var l=o.remap[v];v=l[0];o=this.FONTDATA.VARIANT[l[1]]}else{v=o.remap[v];if(o.remap.variant){o=this.FONTDATA.VARIANT[o.remap.variant]}}}if(this.FONTDATA.REMAP[v]&&!o.noRemap){v=this.FONTDATA.REMAP[v]}s=this.lookupChar(o,v);B=s[v];if(o!==A&&!B[5].img){if(x.length){this.addText(j,x);x=""}j=y;A=k;if(o!==A){if(A){j=this.addElement(y,"span",{isMathJax:true})}else{k=o}}this.handleFont(j,s,j!==y);A=o}x=this.handleChar(j,s,B,v,x);if(B[0]/1000>y.bbox.h){y.bbox.h=B[0]/1000}if(B[1]/1000>y.bbox.d){y.bbox.d=B[1]/1000}if(y.bbox.w+B[3]/1000<y.bbox.lw){y.bbox.lw=y.bbox.w+B[3]/1000}if(y.bbox.w+B[4]/1000>y.bbox.rw){y.bbox.rw=y.bbox.w+B[4]/1000}y.bbox.w+=B[2]/1000}if(x.length){this.addText(j,x)}if(y.scale&&y.scale!==1){y.bbox.h*=y.scale;y.bbox.d*=y.scale;y.bbox.w*=y.scale;y.bbox.lw*=y.scale;y.bbox.rw*=y.scale}if(r.length==1&&s.skew&&s.skew[v]){y.bbox.skew=s.skew[v]}},handleFont:function(k,i,m){k.style.fontFamily=i.family;if(!(e.FontFaceBug&&i.isWebFont)){var j=i.style||"normal",l=i.weight||"normal";if(j!=="normal"||m){k.style.fontStyle=j}if(l!=="normal"||m){k.style.fontWeight=l}}},handleChar:function(j,i,p,o,m){var l=p[5];if(l.img){return this.handleImg(j,i,p,o,m)}if(l.isUnknown&&this.FONTDATA.DELIMITERS[o]){if(m.length){this.addText(j,m)}var k=j.scale;e.createDelimiter(j,o,0,1,i);j.scale=k;p[0]=j.bbox.h*1000;p[1]=j.bbox.d*1000;p[2]=j.bbox.w*1000;p[3]=j.bbox.lw*1000;p[4]=j.bbox.rw*1000;return""}if(l.c==null){if(o<=65535){l.c=String.fromCharCode(o)}else{l.c=this.PLANE1+String.fromCharCode(o-119808+56320)}}if(p[2]||!this.msieAccentBug||m.length){return m+l.c}e.createShift(j,p[3]/1000);e.createShift(j,(p[4]-p[3])/1000);this.addText(j,l.c);e.createShift(j,-p[4]/1000);return""},handleImg:function(j,i,m,l,k){return k},lookupChar:function(o,s){var l,j;if(!o.FONTS){var r=this.FONTDATA.FONTS;var q=(o.fonts||this.FONTDATA.VARIANT.normal.fonts);if(!(q instanceof Array)){q=[q]}if(o.fonts!=q){o.fonts=q}o.FONTS=[];for(l=0,j=q.length;l<j;l++){if(r[q[l]]){o.FONTS.push(r[q[l]]);r[q[l]].name=q[l]}}}for(l=0,j=o.FONTS.length;l<j;l++){var k=o.FONTS[l];if(typeof(k)==="string"){delete o.FONTS;this.loadFont(k)}if(k[s]){if(k[s].length===5){k[s][5]={}}if(e.allowWebFonts&&!k.available){this.loadWebFont(k)}else{return k}}else{this.findBlock(k,s)}}var p=(o.defaultFont||{family:e.config.undefinedFamily});if(o.bold){p.weight="bold"}if(o.italic){p.style="italic"}p[s]=[800,200,500,0,500,{isUnknown:true}];return p},findBlock:function(l,q){if(l.Ranges){for(var p=0,k=l.Ranges.length;p<k;p++){if(q<l.Ranges[p][0]){return}if(q<=l.Ranges[p][1]){var o=l.Ranges[p][2];for(var n=l.Ranges.length-1;n>=0;n--){if(l.Ranges[n][2]==o){l.Ranges.splice(n,1)}}this.loadFont(l.directory+"/"+o+".js")}}}},loadFont:function(j){var i=MathJax.Callback.Queue();i.Push(["Require",c,this.fontDir+"/"+j]);if(this.imgFonts){if(!MathJax.isPacked){j=j.replace(/\/([^\/]*)$/,e.imgPacked+"/$1")}i.Push(["Require",c,this.webfontDir+"/png/"+j])}d.RestartAfter(i.Push({}))},loadWebFont:function(i){i.available=i.isWebFont=true;if(e.FontFaceBug){i.family=i.name;if(e.msieFontCSSBug){i.family+="-Web"}}d.RestartAfter(this.Font.loadWebFont(i))},loadWebFontError:function(j,i){d.Startup.signal.Post("HTML-CSS Jax - disable web fonts");j.isWebFont=false;if(this.config.imageFont&&this.config.imageFont===this.fontInUse){this.imgFonts=true;d.Startup.signal.Post("HTML-CSS Jax - switch to image fonts");d.Startup.signal.Post("HTML-CSS Jax - using image fonts");MathJax.Message.Set("Web-Fonts not available -- using image fonts instead",null,3000);c.Require(this.directory+"/imageFonts.js",i)}else{this.allowWebFonts=false;i()}},Element:MathJax.HTML.Element,addElement:MathJax.HTML.addElement,TextNode:MathJax.HTML.TextNode,addText:MathJax.HTML.addText,ucMatch:MathJax.HTML.ucMatch,BIGDIMEN:10000000,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:0.430554,quad:1,num1:0.676508,num2:0.393732,num3:0.44373,denom1:0.685951,denom2:0.344841,sup1:0.412892,sup2:0.362892,sup3:0.288888,sub1:0.15,sub2:0.247217,sup_drop:0.386108,sub_drop:0.05,delim1:2.39,delim2:1,axis_height:0.25,rule_thickness:0.06,big_op_spacing1:0.111111,big_op_spacing2:0.166666,big_op_spacing3:0.2,big_op_spacing4:0.6,big_op_spacing5:0.1,scriptspace:0.1,nulldelimiterspace:0.12,delimiterfactor:901,delimitershortfall:0.1,min_rule_thickness:1.25},PLANE1:String.fromCharCode(55349),NBSP:String.fromCharCode(160),rfuzz:0});MathJax.Hub.Register.StartupHook("mml Jax Ready",function(){a=MathJax.ElementJax.mml;a.mbase.Augment({toHTML:function(n){n=this.HTMLcreateSpan(n);if(this.type!="mrow"){n=this.HTMLhandleSize(n)}for(var k=0,j=this.data.length;k<j;k++){if(this.data[k]){this.data[k].toHTML(n)}}var p=this.HTMLcomputeBBox(n);var l=n.bbox.h,o=n.bbox.d;for(k=0,j=p.length;k<j;k++){p[k].HTMLstretchV(n,l,o)}if(p.length){this.HTMLcomputeBBox(n,true)}if(this.HTMLlineBreaks(n)){n=this.HTMLmultiline(n)}this.HTMLhandleSpace(n);this.HTMLhandleColor(n);return n},HTMLlineBreaks:function(){return false},HTMLmultiline:function(){a.mbase.HTMLautoloadFile("multiline")},HTMLcomputeBBox:function(p,o,n,j){if(n==null){n=0}if(j==null){j=this.data.length}var l=p.bbox={exactW:true},q=[];while(n<j){var k=this.data[n];if(!k){continue}if(!o&&k.HTMLcanStretch("Vertical")){q.push(k);k=(k.CoreMO()||k)}this.HTMLcombineBBoxes(k,l);n++}this.HTMLcleanBBox(l);return q},HTMLcombineBBoxes:function(i,j){if(j.w==null){this.HTMLemptyBBox(j)}var l=(i.bbox?i:i.HTMLspanElement());if(!l||!l.bbox){return}var k=l.bbox;if(k.d>j.d){j.d=k.d}if(k.h>j.h){j.h=k.h}if(k.D!=null&&k.D>j.D){j.D=k.D}if(k.H!=null&&k.H>j.H){j.H=k.H}if(l.style.paddingLeft){j.w+=parseFloat(l.style.paddingLeft)*(l.scale||1)}if(j.w+k.lw<j.lw){j.lw=j.w+k.lw}if(j.w+k.rw>j.rw){j.rw=j.w+k.rw}j.w+=k.w;if(l.style.paddingRight){j.w+=parseFloat(l.style.paddingRight)*(l.scale||1)}if(k.width){j.width=k.width}if(j.exactW&&!k.exactW){delete j.exactW}},HTMLemptyBBox:function(i){i.h=i.d=i.H=i.D=i.rw=-e.BIGDIMEN;i.w=0;i.lw=e.BIGDIMEN;return i},HTMLcleanBBox:function(i){if(i.h===this.BIGDIMEN){i.h=i.d=i.H=i.D=i.w=i.rw=i.lw=0}if(i.D<=i.d){delete i.D}if(i.H<=i.h){delete i.H}},HTMLzeroBBox:function(){return{h:0,d:0,w:0,lw:0,rw:0}},HTMLcanStretch:function(i){if(this.isEmbellished()){return this.Core().HTMLcanStretch(i)}return false},HTMLstretchH:function(j,i){return this.HTMLspanElement()},HTMLstretchV:function(j,i,k){return this.HTMLspanElement()},HTMLnotEmpty:function(i){while(i){if((i.type!=="mrow"&&i.type!=="texatom")||i.data.length>1){return true}i=i.data[0]}return false},HTMLmeasureChild:function(j,i){if(this.data[j]){e.Measured(this.data[j].toHTML(i),i)}else{i.bbox=this.HTMLzeroBBox()}},HTMLboxChild:function(j,i){if(this.data[j]){return this.data[j].toHTML(i)}return null},HTMLcreateSpan:function(i){if(this.spanID){var j=this.HTMLspanElement();if(j){while(j.firstChild){j.removeChild(j.firstChild)}j.bbox={w:0,h:0,d:0,lw:0,rw:0};j.scale=1;j.isMultChar=null;j.style.cssText="";return j}}if(this.href){i=e.addElement(i,"a",{href:this.href,isMathJax:true})}i=e.addElement(i,"span",{className:this.type,isMathJax:true});if(e.imgHeightBug){i.style.display="inline-block"}if(this["class"]!=null){i.className+=" "+this["class"]}if(!this.spanID){this.spanID=e.GetID()}i.id=(this.id||"MathJax-Span-"+this.spanID)+e.idPostfix;i.bbox={w:0,h:0,d:0,lw:0,rw:0};this.styles={};if(this.style){i.style.cssText=this.style;if(i.style.fontSize){this.mathsize=i.style.fontSize;i.style.fontSize=""}this.styles={border:e.getBorders(i),padding:e.getPadding(i)};if(this.styles.border){i.style.border=""}if(this.styles.padding){i.style.padding=""}}if(this.href){i.parentNode.bbox=i.bbox}return i},HTMLspanElement:function(){if(!this.spanID){return null}return document.getElementById((this.id||"MathJax-Span-"+this.spanID)+e.idPostfix)},HTMLhandleVariant:function(j,i,k){e.handleVariant(j,i,k)},HTMLhandleSize:function(i){if(!i.scale){i.scale=this.HTMLgetScale();if(i.scale!==1){i.style.fontSize=e.Percent(i.scale)}}return i},HTMLhandleColor:function(t){var v=this.getValues("mathcolor","color");if(this.mathbackground){v.mathbackground=this.mathbackground}if(this.background){v.background=this.background}if(this.style&&t.style.backgroundColor){v.mathbackground=t.style.backgroundColor;t.style.backgroundColor="transparent"}var q=(this.styles||{}).border,s=(this.styles||{}).padding;if(v.color&&!this.mathcolor){v.mathcolor=v.color}if(v.background&&!this.mathbackground){v.mathbackground=v.background}if(v.mathcolor){t.style.color=v.mathcolor}if((v.mathbackground&&v.mathbackground!==a.COLOR.TRANSPARENT)||q||s){var w=(t.bbox.exact?0:1/e.em),r=0,p=0,j=t.style.paddingLeft,n=t.style.paddingRight;if(this.isToken){r=t.bbox.lw;p=t.bbox.rw-t.bbox.w}if(j!==""){r+=parseFloat(j)*(t.scale||1)}if(n!==""){p-=parseFloat(n)*(t.scale||1)}var l=Math.max(0,e.getW(t)+(e.PaddingWidthBug?0:p-r));var u=t.bbox.h+t.bbox.d,i=-t.bbox.d,o=0,m=0;if(l>0){l+=2*w;r-=w}if(u>0){u+=2*w;i-=w}p=-l-r;if(q){p-=q.right;i-=q.bottom;o+=q.left;m+=q.right;t.bbox.h+=q.top;t.bbox.d+=q.bottom;t.bbox.w+=q.left+q.right;t.bbox.lw-=q.left;t.bbox.rw+=q.right}if(s){u+=s.top+s.bottom;l+=s.left+s.right;p-=s.right;i-=s.bottom;o+=s.left;m+=s.right;t.bbox.h+=s.top;t.bbox.d+=s.bottom;t.bbox.w+=s.left+s.right;t.bbox.lw-=s.left;t.bbox.rw+=s.right}if(m){t.style.paddingRight=e.Em(m)}var k=e.Element("span",{id:"MathJax-Color-"+this.spanID+e.idPostfix,isMathJax:true,style:{display:"inline-block",backgroundColor:v.mathbackground,width:e.Em(l),height:e.Em(u),verticalAlign:e.Em(i),marginLeft:e.Em(r),marginRight:e.Em(p)}});e.setBorders(k,q);if(t.bbox.width){k.style.width=t.bbox.width;k.style.marginRight="-"+t.bbox.width}if(e.msieInlineBlockAlignBug){k.style.position="relative";k.style.width=k.style.height=0;k.style.verticalAlign=k.style.marginLeft=k.style.marginRight="";k.style.border=k.style.padding="";if(q&&e.msieBorderWidthBug){u+=q.top+q.bottom;l+=q.left+q.right}k.style.width=e.Em(o+w);e.placeBox(e.addElement(k,"span",{noAdjust:true,isMathJax:true,style:{display:"inline-block",position:"absolute",overflow:"hidden",background:(v.mathbackground||"transparent"),width:e.Em(l),height:e.Em(u)}}),r,t.bbox.h+w);e.setBorders(k.firstChild,q)}t.parentNode.insertBefore(k,t);if(e.msieColorPositionBug){t.style.position="relative"}return k}return null},HTMLremoveColor:function(){var i=document.getElementById("MathJax-Color-"+this.spanID+e.idPostfix);if(i){i.parentNode.removeChild(i)}},HTMLhandleSpace:function(m){if(this.useMMLspacing){if(this.type!=="mo"){return}var k=this.getValues("scriptlevel","lspace","rspace");if(k.scriptlevel<=0||this.hasValue("lspace")||this.hasValue("rspace")){var j=this.HTMLgetMu(m);k.lspace=Math.max(0,e.length2em(k.lspace,j));k.rspace=Math.max(0,e.length2em(k.rspace,j));var i=this,l=this.Parent();while(l&&l.isEmbellished()&&l.Core()===i){i=l;l=l.Parent();m=i.HTMLspanElement()}if(k.lspace){m.style.paddingLeft=e.Em(k.lspace)}if(k.rspace){m.style.paddingRight=e.Em(k.rspace)}}}else{var n=this.texSpacing();if(n!==""){n=e.length2em(n,this.HTMLgetScale())/(m.scale||1);if(m.style.paddingLeft){n+=parseFloat(m.style.paddingLeft)}m.style.paddingLeft=e.Em(n)}}},HTMLgetScale:function(){var k=1,i=this.getValues("mathsize","scriptlevel","fontsize","scriptminsize");if(this.style){var j=this.HTMLspanElement();if(j.style.fontSize!=""){i.fontsize=j.style.fontSize}}if(i.fontsize&&!this.mathsize){i.mathsize=i.fontsize}if(i.scriptlevel!==0){if(i.scriptlevel>2){i.scriptlevel=2}k=Math.pow(this.Get("scriptsizemultiplier"),i.scriptlevel);i.scriptminsize=e.length2em(i.scriptminsize);if(k<i.scriptminsize){k=i.scriptminsize}}k*=e.length2em(i.mathsize);return k},HTMLgetMu:function(k){var i=1,j=this.getValues("scriptlevel","scriptsizemultiplier");if(k.scale&&k.scale!==1){i=1/k.scale}if(j.scriptlevel!==0){if(j.scriptlevel>2){j.scriptlevel=2}i=Math.sqrt(Math.pow(j.scriptsizemultiplier,j.scriptlevel))}return i},HTMLgetVariant:function(){var i=this.getValues("mathvariant","fontfamily","fontweight","fontstyle");if(this.style){var k=this.HTMLspanElement();if(k.style.fontFamily){i.fontfamily=k.style.fontFamily}if(k.style.fontWeight){i.fontweight=k.style.fontWeight}if(k.style.fontStyle){i.fontStyle=k.style.fontStyle}}var j=i.mathvariant;if(this.variantForm){j="-"+e.fontInUse+"-variant"}if(i.fontfamily&&!this.mathvariant){if(!i.fontweight&&i.mathvariant.match(/bold/)){i.fontweight="bold"}if(!i.fontstyle&&i.mathvariant.match(/italic/)){i.fontstyle="italic"}return{FONTS:[],fonts:[],noRemap:true,defaultFont:{family:i.fontfamily,style:i.fontstyle,weight:i.fontweight}}}if(i.fontweight==="bold"){j={normal:a.VARIANT.BOLD,italic:a.VARIANT.BOLDITALIC,fraktur:a.VARIANT.BOLDFRAKTUR,script:a.VARIANT.BOLDSCRIPT,"sans-serif":a.VARIANT.BOLDSANSSERIF,"sans-serif-italic":a.VARIANT.SANSSERIFBOLDITALIC}[j]||j}else{if(i.fontweight==="normal"){j={bold:a.VARIANT.normal,"bold-italic":a.VARIANT.ITALIC,"bold-fraktur":a.VARIANT.FRAKTUR,"bold-script":a.VARIANT.SCRIPT,"bold-sans-serif":a.VARIANT.SANSSERIF,"sans-serif-bold-italic":a.VARIANT.SANSSERIFITALIC}[j]||j}}if(i.fontstyle==="italic"){j={normal:a.VARIANT.ITALIC,bold:a.VARIANT.BOLDITALIC,"sans-serif":a.VARIANT.SANSSERIFITALIC,"bold-sans-serif":a.VARIANT.SANSSERIFBOLDITALIC}[j]||j}else{if(i.fontstyle==="normal"){j={italic:a.VARIANT.NORMAL,"bold-italic":a.VARIANT.BOLD,"sans-serif-italic":a.VARIANT.SANSSERIF,"sans-serif-bold-italic":a.VARIANT.BOLDSANSSERIF}[j]||j}}return e.FONTDATA.VARIANT[j]}},{HTMLautoload:function(){var i=e.autoloadDir+"/"+this.type+".js";d.RestartAfter(c.Require(i))},HTMLautoloadFile:function(i){var j=e.autoloadDir+"/"+i+".js";d.RestartAfter(c.Require(j))},HTMLstretchH:function(j,i){this.HTMLremoveColor();return this.toHTML(j,i)},HTMLstretchV:function(j,i,k){this.HTMLremoveColor();return this.toHTML(j,i,k)}});a.chars.Augment({toHTML:function(k,j){var n=this.data.join("").replace(/[\u2061-\u2064]/g,"");if(!j){var m=Math.floor(100/e.scale+0.5)+"%";e.addElement(k,"span",{style:{"font-size":m}},[n]);var l=e.getHD(k),i=e.getW(k);k.bbox={h:l.h,d:l.d,w:i,lw:0,rw:i,exactW:true}}else{this.HTMLhandleVariant(k,j,n)}}});a.entity.Augment({toHTML:function(k,j){var n=this.toString().replace(/[\u2061-\u2064]/g,"");if(!j){var m=Math.floor(100/e.scale+0.5)+"%";e.addElement(k,"span",{style:{"font-size":m}},[n]);var l=e.getHD(k),i=e.getW(k);k.bbox={h:l.h,d:l.d,w:i,lw:0,rw:i,exactW:true}}else{this.HTMLhandleVariant(k,j,n)}}});a.mi.Augment({toHTML:function(n){n=this.HTMLhandleSize(this.HTMLcreateSpan(n));n.bbox=null;var l=this.HTMLgetVariant();for(var k=0,j=this.data.length;k<j;k++){if(this.data[k]){this.data[k].toHTML(n,l)}}if(!n.bbox){n.bbox={w:0,h:0,d:0,rw:0,lw:0}}if(this.data.join("").length!==1){delete n.bbox.skew}this.HTMLhandleSpace(n);this.HTMLhandleColor(n);return n}});a.mn.Augment({toHTML:function(n){n=this.HTMLhandleSize(this.HTMLcreateSpan(n));n.bbox=null;var l=this.HTMLgetVariant();for(var k=0,j=this.data.length;k<j;k++){if(this.data[k]){this.data[k].toHTML(n,l)}}if(!n.bbox){n.bbox={w:0,h:0,d:0,rw:0,lw:0}}if(this.data.join("").length!==1){delete n.bbox.skew}this.HTMLhandleSpace(n);this.HTMLhandleColor(n);return n}});a.mo.Augment({toHTML:function(o){o=this.HTMLhandleSize(this.HTMLcreateSpan(o));if(this.data.length==0){return o}else{o.bbox=null}var r=this.data.join("");var n=this.HTMLgetVariant();var k=this.getValues("largeop","displaystyle");if(k.largeop){n=e.FONTDATA.VARIANT[k.displaystyle?"-largeOp":"-smallOp"]}for(var l=0,j=this.data.length;l<j;l++){if(this.data[l]){this.data[l].toHTML(o,n)}}if(!o.bbox){o.bbox={w:0,h:0,d:0,rw:0,lw:0}}if(r.length!==1){delete o.bbox.skew}if(e.AccentBug&&o.bbox.w===0&&r.length===1&&o.firstChild){o.firstChild.nodeValue+=e.NBSP;e.createSpace(o,0,0,-o.offsetWidth/e.em)}if(k.largeop){var q=(o.bbox.h-o.bbox.d)/2-e.TeX.axis_height*o.scale;if(e.safariVerticalAlignBug&&o.lastChild.nodeName==="IMG"){o.lastChild.style.verticalAlign=e.Em(parseFloat(o.lastChild.style.verticalAlign||0)/e.em-q/o.scale)}else{if(e.konquerorVerticalAlignBug&&o.lastChild.nodeName==="IMG"){o.style.position="relative";o.lastChild.style.position="relative";o.lastChild.style.top=e.Em(q/o.scale)}else{o.style.verticalAlign=e.Em(-q/o.scale)}}o.bbox.h-=q;o.bbox.d+=q;if(o.bbox.rw>o.bbox.w){o.bbox.ic=o.bbox.rw-o.bbox.w;e.createBlank(o,o.bbox.ic);o.bbox.w=o.bbox.rw}}this.HTMLhandleSpace(o);this.HTMLhandleColor(o);return o},HTMLcanStretch:function(i){if(!this.Get("stretchy")){return false}var j=this.data.join("");if(j.length>1){return false}j=e.FONTDATA.DELIMITERS[j.charCodeAt(0)];return(j&&j.dir==i.substr(0,1))},HTMLstretchV:function(k,l,m){this.HTMLremoveColor();var p=this.getValues("symmetric","maxsize","minsize");var n=this.HTMLspanElement(),q=this.HTMLgetMu(n),o;var i=e.TeX.axis_height,j=n.scale;if(p.symmetric){o=2*Math.max(l-i,m+i)}else{o=l+m}p.maxsize=e.length2em(p.maxsize,q,n.bbox.h+n.bbox.d);p.minsize=e.length2em(p.minsize,q,n.bbox.h+n.bbox.d);o=Math.max(p.minsize,Math.min(p.maxsize,o));n=this.HTMLcreateSpan(k);e.createDelimiter(n,this.data.join("").charCodeAt(0),o,j);if(p.symmetric){o=(n.bbox.h+n.bbox.d)/2+i}else{o=(n.bbox.h+n.bbox.d)*l/(l+m)}e.positionDelimiter(n,o);this.HTMLhandleSpace(n);this.HTMLhandleColor(n);return n},HTMLstretchH:function(m,i){this.HTMLremoveColor();var k=this.getValues("maxsize","minsize","mathvariant","fontweight");if(k.fontweight==="bold"&&!this.mathvariant){k.mathvariant=a.VARIANT.BOLD}var l=this.HTMLspanElement(),j=this.HTMLgetMu(l),n=l.scale;k.maxsize=e.length2em(k.maxsize,j,l.bbox.w);k.minsize=e.length2em(k.minsize,j,l.bbox.w);i=Math.max(k.minsize,Math.min(k.maxsize,i));l=this.HTMLcreateSpan(m);e.createDelimiter(l,this.data.join("").charCodeAt(0),i,n,k.mathvariant);this.HTMLhandleSpace(l);this.HTMLhandleColor(l);return l}});a.mtext.Augment({toHTML:function(n){n=this.HTMLhandleSize(this.HTMLcreateSpan(n));var l=this.HTMLgetVariant();if(e.config.mtextFontInherit||this.Parent().type==="merror"){l=null}for(var k=0,j=this.data.length;k<j;k++){if(this.data[k]){this.data[k].toHTML(n,l)}}if(!n.bbox){n.bbox={w:0,h:0,d:0,rw:0,lw:0}}if(this.data.join("").length!==1){delete n.bbox.skew}this.HTMLhandleSpace(n);this.HTMLhandleColor(n);return n}});a.ms.Augment({toHTML:a.mbase.HTMLautoload});a.mglyph.Augment({toHTML:a.mbase.HTMLautoload});a.mspace.Augment({toHTML:function(m){m=this.HTMLhandleSize(this.HTMLcreateSpan(m));var k=this.getValues("height","depth","width");var j=this.HTMLgetMu(m);k.mathbackground=this.mathbackground;if(this.background&&!this.mathbackground){k.mathbackground=this.background}var l=e.length2em(k.height,j)/m.scale,n=e.length2em(k.depth,j)/m.scale,i=e.length2em(k.width,j)/m.scale;e.createSpace(m,l,n,i,k.mathbackground);return m}});a.mphantom.Augment({toHTML:function(n,k,p){n=this.HTMLcreateSpan(n);if(this.data[0]!=null){var o=this.data[0].toHTML(n);if(p!=null){e.Remeasured(this.data[0].HTMLstretchV(n,k,p),n)}else{if(k!=null){e.Remeasured(this.data[0].HTMLstretchH(n,k),n)}else{o=e.Measured(o,n)}}n.bbox={w:o.bbox.w,h:o.bbox.h,d:o.bbox.d,lw:0,rw:0,exactW:true};for(var l=0,j=n.childNodes.length;l<j;l++){n.childNodes[l].style.visibility="hidden"}}this.HTMLhandleSpace(n);this.HTMLhandleColor(n);return n},HTMLstretchH:a.mbase.HTMLstretchH,HTMLstretchV:a.mbase.HTMLstretchV});a.mpadded.Augment({toHTML:function(q,k,i){q=this.HTMLcreateSpan(q);if(this.data[0]!=null){var o=e.createStack(q,true);var l=e.createBox(o);var j=this.data[0].toHTML(l);if(i!=null){e.Remeasured(this.data[0].HTMLstretchV(l,k,i),l)}else{if(k!=null){e.Remeasured(this.data[0].HTMLstretchH(l,k),l)}else{e.Measured(j,l)}}var r=this.getValues("height","depth","width","lspace","voffset"),p=0,n=0,s=this.HTMLgetMu(q);if(r.lspace){p=this.HTMLlength2em(l,r.lspace,s)}if(r.voffset){n=this.HTMLlength2em(l,r.voffset,s)}e.placeBox(l,p,n);q.bbox={h:l.bbox.h,d:l.bbox.d,w:l.bbox.w,exactW:true,lw:Math.min(0,l.bbox.lw+p),rw:Math.max(l.bbox.w,l.bbox.rw+p),H:Math.max((l.bbox.H==null?-e.BIGDIMEN:l.bbox.H),l.bbox.h+n),D:Math.max((l.bbox.D==null?-e.BIGDIMEN:l.bbox.D),l.bbox.d-n)};if(r.height!==""){q.bbox.h=this.HTMLlength2em(l,r.height,s,"h",0)}if(r.depth!==""){q.bbox.d=this.HTMLlength2em(l,r.depth,s,"d",0)}if(r.width!==""){q.bbox.w=this.HTMLlength2em(l,r.width,s,"w",0)}if(q.bbox.H<=q.bbox.h){delete q.bbox.H}if(q.bbox.D<=q.bbox.d){delete q.bbox.D}var m=/^\s*(\d+(\.\d*)?|\.\d+)\s*(pt|em|ex|mu|px|pc|in|mm|cm)\s*$/;q.bbox.exact=(this.data[0]&&this.data[0].data.length==0)||m.exec(r.height)||m.exec(r.width)||m.exec(r.depth);e.setStackWidth(o,q.bbox.w)}this.HTMLhandleSpace(q);this.HTMLhandleColor(q);return q},HTMLlength2em:function(o,p,j,q,i){if(i==null){i=-e.BIGDIMEN}var l=String(p).match(/width|height|depth/);var n=(l?o.bbox[l[0].charAt(0)]:(q?o.bbox[q]:null));var k=e.length2em(p,j,n);if(q&&String(p).match(/^\s*[-+]/)){return Math.max(i,o.bbox[q]+k)}else{return k}},HTMLstretchH:a.mbase.HTMLstretchH,HTMLstretchV:a.mbase.HTMLstretchV});a.mrow.Augment({HTMLlineBreaks:function(i){if(!this.parent.linebreakContainer){return false}return(e.config.linebreaks.automatic&&i.bbox.w>e.linebreakWidth)||this.hasNewline()},HTMLstretchH:function(k,i){this.HTMLremoveColor();var j=this.HTMLspanElement();this.data[this.core].HTMLstretchH(j,i);this.HTMLcomputeBBox(j,true);this.HTMLhandleColor(j);return j},HTMLstretchV:function(k,j,l){this.HTMLremoveColor();var i=this.HTMLspanElement();this.data[this.core].HTMLstretchV(i,j,l);this.HTMLcomputeBBox(i,true);this.HTMLhandleColor(i);return i}});a.mstyle.Augment({toHTML:function(j,i,k){j=this.HTMLcreateSpan(j);if(this.data[0]!=null){var l=this.data[0].toHTML(j);if(k!=null){this.data[0].HTMLstretchV(j,i,k)}else{if(i!=null){this.data[0].HTMLstretchH(j,i)}}j.bbox=l.bbox}this.HTMLhandleSpace(j);this.HTMLhandleColor(j);return j},HTMLstretchH:a.mbase.HTMLstretchH,HTMLstretchV:a.mbase.HTMLstretchV});a.mfrac.Augment({toHTML:function(B){B=this.HTMLcreateSpan(B);var k=e.createStack(B);var n=e.createBox(k),m=e.createBox(k);e.MeasureSpans([this.HTMLboxChild(0,n),this.HTMLboxChild(1,m)]);var i=this.getValues("displaystyle","linethickness","numalign","denomalign","bevelled");var F=this.HTMLgetScale(),A=i.displaystyle;var E=e.TeX.axis_height*F;if(i.bevelled){var D=(A?0.4:0.15);var o=Math.max(n.bbox.h+n.bbox.d,m.bbox.h+m.bbox.d)+2*D;var C=e.createBox(k);e.createDelimiter(C,47,o);e.placeBox(n,0,(n.bbox.d-n.bbox.h)/2+E+D);e.placeBox(C,n.bbox.w-D/2,(C.bbox.d-C.bbox.h)/2+E);e.placeBox(m,n.bbox.w+C.bbox.w-D,(m.bbox.d-m.bbox.h)/2+E-D)}else{var j=Math.max(n.bbox.w,m.bbox.w);var w=e.thickness2em(i.linethickness,F),y,x,s,r;var z=e.TeX.min_rule_thickness/this.em;if(A){s=e.TeX.num1;r=e.TeX.denom1}else{s=(w===0?e.TeX.num3:e.TeX.num2);r=e.TeX.denom2}s*=F;r*=F;if(w===0){y=Math.max((A?7:3)*e.TeX.rule_thickness,2*z);x=(s-n.bbox.d)-(m.bbox.h-r);if(x<y){s+=(y-x)/2;r+=(y-x)/2}}else{y=Math.max((A?2:0)*z+w,w/2+1.5*z);x=(s-n.bbox.d)-(E+w/2);if(x<y){s+=y-x}x=(E-w/2)-(m.bbox.h-r);if(x<y){r+=y-x}var l=e.createBox(k);e.createRule(l,w,0,j+2*w);e.placeBox(l,0,E-w/2)}e.alignBox(n,i.numalign,s);e.alignBox(m,i.denomalign,-r)}this.HTMLhandleSpace(B);this.HTMLhandleColor(B);return B},HTMLcanStretch:function(i){return false},HTMLhandleSpace:function(i){if(!this.texWithDelims){var j=(this.useMMLspacing?0:e.length2em(this.texSpacing()||0))+0.12;i.style.paddingLeft=e.Em(j);i.style.paddingRight=".12em"}}});a.msqrt.Augment({toHTML:function(u){u=this.HTMLcreateSpan(u);var w=e.createStack(u);var l=e.createBox(w),r=e.createBox(w),o=e.createBox(w);var n=this.HTMLgetScale();var y=e.TeX.rule_thickness*n,k,j,v,m;if(this.Get("displaystyle")){k=e.TeX.x_height*n}else{k=y}j=Math.max(y+k/4,1.5*e.TeX.min_rule_thickness/this.em);var i=this.HTMLboxChild(0,l);v=i.bbox.h+i.bbox.d+j+y;e.createDelimiter(o,8730,v,n);e.MeasureSpans([i,o]);m=i.bbox.w;var s=0;if(o.isMultiChar||(e.AdjustSurd&&e.imgFonts)){o.bbox.w*=0.95}if(o.bbox.h+o.bbox.d>v){j=((o.bbox.h+o.bbox.d)-(v-y))/2}var z=e.FONTDATA.DELIMITERS[e.FONTDATA.RULECHAR];if(!z||m<z.HW[0][0]*n||n<0.75){e.createRule(r,y,0,m)}else{e.createDelimiter(r,e.FONTDATA.RULECHAR,m,n)}v=i.bbox.h+j+y;j=v*e.rfuzz;if(o.isMultiChar){j=e.rfuzz}s=this.HTMLaddRoot(w,o,s,o.bbox.h+o.bbox.d-v,n);e.placeBox(o,s,v-o.bbox.h);e.placeBox(r,s+o.bbox.w,v-r.bbox.h+j);e.placeBox(l,s+o.bbox.w,0);this.HTMLhandleSpace(u);this.HTMLhandleColor(u);return u},HTMLaddRoot:function(k,j,i,m,l){return i}});a.mroot.Augment({toHTML:a.msqrt.prototype.toHTML,HTMLaddRoot:function(q,j,o,m,i){var k=e.createBox(q);if(this.data[1]){var n=this.data[1].toHTML(k);n.style.paddingRight=n.style.paddingLeft="";e.Measured(n,k)}else{k.bbox=this.HTMLzeroBBox()}var l=this.HTMLrootHeight(j.bbox.h+j.bbox.d,i,k)-m;var p=Math.min(k.bbox.w,k.bbox.rw);o=Math.max(p,j.offset);e.placeBox(k,o-p,l);return o-j.offset},HTMLrootHeight:function(k,j,i){return 0.45*(k-0.9*j)+0.6*j+Math.max(0,i.bbox.d-0.075)}});a.mfenced.Augment({toHTML:function(n){n=this.HTMLcreateSpan(n);if(this.data.open){this.data.open.toHTML(n)}if(this.data[0]!=null){this.data[0].toHTML(n)}for(var k=1,j=this.data.length;k<j;k++){if(this.data[k]){if(this.data["sep"+k]){this.data["sep"+k].toHTML(n)}this.data[k].toHTML(n)}}if(this.data.close){this.data.close.toHTML(n)}var p=this.HTMLcomputeBBox(n);var l=n.bbox.h,o=n.bbox.d;for(k=0,j=p.length;k<j;k++){p[k].HTMLstretchV(n,l,o)}if(p.length){this.HTMLcomputeBBox(n,true)}this.HTMLhandleSpace(n);this.HTMLhandleColor(n);return n},HTMLcomputeBBox:function(o,n){var k=o.bbox={},p=[];this.HTMLcheckStretchy(this.data.open,k,p,n);this.HTMLcheckStretchy(this.data[0],k,p,n);for(var l=1,j=this.data.length;l<j;l++){if(this.data[l]){this.HTMLcheckStretchy(this.data["sep"+l],k,p,n);this.HTMLcheckStretchy(this.data[l],k,p,n)}}this.HTMLcheckStretchy(this.data.close,k,p,n);this.HTMLcleanBBox(k);return p},HTMLcheckStretchy:function(i,j,l,k){if(i){if(!k&&i.HTMLcanStretch("Vertical")){l.push(i);i=(i.CoreMO()||i)}this.HTMLcombineBBoxes(i,j)}}});a.menclose.Augment({toHTML:a.mbase.HTMLautoload});a.maction.Augment({toHTML:a.mbase.HTMLautoload});a.semantics.Augment({toHTML:function(i){if(this.data[0]!=null){i=this.data[0].toHTML(i);this.spanID=this.data[0].spanID;this.HTMLhandleSpace(i)}return i},HTMLspanElement:function(){return(this.data[0]!=null?this.data[0].HTMLspanElement():null)},HTMLstretchH:function(j,i){return(this.data[0]!=null?this.data[0].HTMLstretchH(j,i):j)},HTMLstretchV:function(j,i,k){return(this.data[0]!=null?this.data[0].HTMLstretchV(j,i,k):j)}});a.munderover.Augment({toHTML:function(K,G,E){var j=this.getValues("displaystyle","accent","accentunder","align");if(!j.displaystyle&&this.data[this.base]!=null&&this.data[this.base].CoreMO().Get("movablelimits")){return a.msubsup.prototype.toHTML.call(this,K)}K=this.HTMLcreateSpan(K);var O=this.HTMLgetScale();var p=e.createStack(K);var q=[],n=[],M=[],v,L,H;for(L=0,H=this.data.length;L<H;L++){if(this.data[L]!=null){v=q[L]=e.createBox(p);n[L]=this.data[L].toHTML(v);if(L==this.base){if(E!=null){this.data[this.base].HTMLstretchV(v,G,E)}else{if(G!=null){this.data[this.base].HTMLstretchH(v,G)}}M[L]=(E==null&&G!=null?false:this.data[L].HTMLcanStretch("Horizontal"))}else{M[L]=this.data[L].HTMLcanStretch("Horizontal")}}}e.MeasureSpans(n);var l=-e.BIGDIMEN,J=l;for(L=0,H=this.data.length;L<H;L++){if(this.data[L]){if(q[L].bbox.w>J){J=q[L].bbox.w}if(!M[L]&&J>l){l=J}}}if(E==null&&G!=null){l=G}else{if(l==-e.BIGDIMEN){l=J}}for(L=J=0,H=this.data.length;L<H;L++){if(this.data[L]){v=q[L];if(M[L]){v.bbox=this.data[L].HTMLstretchH(v,l).bbox}if(v.bbox.w>J){J=v.bbox.w}}}var C=e.TeX.rule_thickness,F=e.FONTDATA.TeX_factor;var o=q[this.base]||{bbox:this.HTMLzeroBBox()},N=(o.bbox.ic||0);var u,r,z,w,s,B,I;for(L=0,H=this.data.length;L<H;L++){if(this.data[L]!=null){v=q[L];s=e.TeX.big_op_spacing5*O;var A=(L!=this.base&&j[this.ACCENTS[L]]);if(A&&v.bbox.w<=1/e.em+0.0001){v.bbox.w=v.bbox.rw-v.bbox.lw;v.bbox.noclip=true;if(v.bbox.lw&&!e.zeroWidthBug){v.insertBefore(e.createSpace(v.parentNode,0,0,-v.bbox.lw),v.firstChild)}e.createBlank(v,0,0,v.bbox.rw+0.1)}B={left:0,center:(J-v.bbox.w)/2,right:J-v.bbox.w}[j.align];u=B;r=0;if(L==this.over){if(A){I=Math.max(C*O*F,2.5/this.em);s=0;if(o.bbox.skew){u+=o.bbox.skew}}else{z=e.TeX.big_op_spacing1*O*F;w=e.TeX.big_op_spacing3*O*F;I=Math.max(z,w-Math.max(0,v.bbox.d))}I=Math.max(I,1.5/this.em);u+=N;r=o.bbox.h+v.bbox.d+I;v.bbox.h+=s}else{if(L==this.under){if(A){I=3*C*O*F;s=0}else{z=e.TeX.big_op_spacing2*O*F;w=e.TeX.big_op_spacing4*O*F;I=Math.max(z,w-v.bbox.h)}I=Math.max(I,1.5/this.em);u-=N;r=-(o.bbox.d+v.bbox.h+I);v.bbox.d+=s}}e.placeBox(v,u,r)}}this.HTMLhandleSpace(K);this.HTMLhandleColor(K);return K},HTMLstretchH:a.mbase.HTMLstretchH,HTMLstretchV:a.mbase.HTMLstretchV});a.msubsup.Augment({toHTML:function(I,G,A){I=this.HTMLcreateSpan(I);var L=this.HTMLgetScale(),F=this.HTMLgetMu(I);var n=e.createStack(I),j,l=[];var m=e.createBox(n);if(this.data[this.base]){l.push(this.data[this.base].toHTML(m));if(A!=null){this.data[this.base].HTMLstretchV(m,G,A)}else{if(G!=null){this.data[this.base].HTMLstretchH(m,G)}}}else{m.bbox=this.HTMLzeroBBox()}var k=(this.data[this.sup]||this.data[this.sub]||this).HTMLgetScale();var J=e.TeX.x_height*L,z=e.TeX.scriptspace*L*0.75;var i,o;if(this.HTMLnotEmpty(this.data[this.sup])){i=e.createBox(n);l.push(this.data[this.sup].toHTML(i))}if(this.HTMLnotEmpty(this.data[this.sub])){o=e.createBox(n);l.push(this.data[this.sub].toHTML(o))}e.MeasureSpans(l);if(i){i.bbox.w+=z;i.bbox.rw=Math.max(i.bbox.w,i.bbox.rw)}if(o){o.bbox.w+=z;o.bbox.rw=Math.max(o.bbox.w,o.bbox.rw)}e.placeBox(m,0,0);var C=e.TeX.sup_drop*k,B=e.TeX.sub_drop*k;var x=m.bbox.h-C,w=m.bbox.d+B,K=0,E;if(m.bbox.ic){K=m.bbox.ic}if(this.data[this.base]&&(this.data[this.base].type==="mi"||this.data[this.base].type==="mo")){if(this.data[this.base].data.join("").length===1&&m.bbox.scale===1&&!this.data[this.base].Get("largeop")){x=w=0}}var H=this.getValues("subscriptshift","superscriptshift");H.subscriptshift=(H.subscriptshift===""?0:e.length2em(H.subscriptshift,F));H.superscriptshift=(H.superscriptshift===""?0:e.length2em(H.superscriptshift,F));if(!i){if(o){w=Math.max(w,e.TeX.sub1*L,o.bbox.h-(4/5)*J,H.subscriptshift);e.placeBox(o,m.bbox.w+z-K,-w,o.bbox)}}else{if(!o){j=this.getValues("displaystyle","texprimestyle");E=e.TeX[(j.displaystyle?"sup1":(j.texprimestyle?"sup3":"sup2"))];x=Math.max(x,E*L,i.bbox.d+(1/4)*J,H.superscriptshift);e.placeBox(i,m.bbox.w+z,x,i.bbox)}else{w=Math.max(w,e.TeX.sub2*L);var y=e.TeX.rule_thickness*L;if((x-i.bbox.d)-(o.bbox.h-w)<3*y){w=3*y-x+i.bbox.d+o.bbox.h;C=(4/5)*J-(x-i.bbox.d);if(C>0){x+=C;w-=C}}e.placeBox(i,m.bbox.w+z,Math.max(x,H.superscriptshift));e.placeBox(o,m.bbox.w+z-K,-Math.max(w,H.subscriptshift))}}this.HTMLhandleSpace(I);this.HTMLhandleColor(I);return I},HTMLstretchH:a.mbase.HTMLstretchH,HTMLstretchV:a.mbase.HTMLstretchV});a.mmultiscripts.Augment({toHTML:a.mbase.HTMLautoload});a.mtable.Augment({toHTML:a.mbase.HTMLautoload});a["annotation-xml"].Augment({toHTML:a.mbase.HTMLautoload});a.math.Augment({toHTML:function(r,j){var n=this.Get("alttext");if(n&&n!==""){j.setAttribute("aria-label",n)}var k=e.addElement(r,"nobr",{isMathJax:true});r=this.HTMLcreateSpan(k);var o=e.createStack(r),l=e.createBox(o),q;o.style.fontSize=k.parentNode.style.fontSize;k.parentNode.style.fontSize="";if(this.data[0]!=null){if(e.msieColorBug){if(this.background){this.data[0].background=this.background;delete this.background}if(this.mathbackground){this.data[0].mathbackground=this.mathbackground;delete this.mathbackground}}a.mbase.prototype.displayAlign=d.config.displayAlign;a.mbase.prototype.displayIndent=d.config.displayIndent;q=e.Measured(this.data[0].toHTML(l),l)}e.placeBox(l,0,0);var i=1/e.em,m=e.em/e.outerEm;e.em/=m;r.bbox.h*=m;r.bbox.d*=m;r.bbox.w*=m;r.bbox.lw*=m;r.bbox.rw*=m;if(q&&q.bbox.width!=null){o.style.width=q.bbox.width;l.style.width="100%"}this.HTMLhandleColor(r);if(q){e.createRule(r,(q.bbox.h+i)*m,(q.bbox.d+i)*m,0)}if(!this.isMultiline&&this.Get("display")==="block"&&r.bbox.width==null){var s=this.getValues("indentalignfirst","indentshiftfirst","indentalign","indentshift");if(s.indentalignfirst!==a.INDENTALIGN.INDENTALIGN){s.indentalign=s.indentalignfirst}if(s.indentalign===a.INDENTALIGN.AUTO){s.indentalign=this.displayAlign}j.style.textAlign=s.indentalign;if(s.indentshiftfirst!==a.INDENTSHIFT.INDENTSHIFT){s.indentshift=s.indentshiftfirst}if(s.indentshift==="auto"){s.indentshift=this.displayIndent}if(s.indentshift&&s.indentalign!==a.INDENTALIGN.CENTER){r.style[{left:"marginLeft",right:"marginRight"}[s.indentalign]]=e.Em(e.length2em(s.indentshift))}}return r},HTMLspanElement:a.mbase.prototype.HTMLspanElement});a.TeXAtom.Augment({toHTML:function(j){j=this.HTMLcreateSpan(j);if(this.data[0]!=null){if(this.texClass===a.TEXCLASS.VCENTER){var i=e.createStack(j);var k=e.createBox(i);e.Measured(this.data[0].toHTML(k),k);e.placeBox(k,0,e.TeX.axis_height-(k.bbox.h+k.bbox.d)/2+k.bbox.d)}else{j.bbox=this.data[0].toHTML(j).bbox}}this.HTMLhandleSpace(j);this.HTMLhandleColor(j);return j}});MathJax.Hub.Register.StartupHook("onLoad",function(){setTimeout(MathJax.Callback(["loadComplete",e,"jax.js"]),0)})});d.Register.StartupHook("End Config",function(){d.Browser.Select({MSIE:function(i){var m=(document.documentMode||0);var l=i.versionAtLeast("7.0");var k=i.versionAtLeast("8.0")&&m>7;var j=(document.compatMode==="BackCompat");if(m<9){e.config.styles[".MathJax .MathJax_HitBox"]["background-color"]="white";e.config.styles[".MathJax .MathJax_HitBox"].opacity=0;e.config.styles[".MathJax .MathJax_HitBox"].filter="alpha(opacity=0)"}e.Augment({PaddingWidthBug:true,msieAccentBug:true,msieColorBug:true,msieColorPositionBug:true,msieRelativeWidthBug:j,msieDisappearingBug:(m>=8),msieMarginScaleBug:(m<8),msiePaddingWidthBug:true,msieBorderWidthBug:j,msieInlineBlockAlignBug:(!k||j),msiePlaceBoxBug:(k&&!j),msieClipRectBug:!k,msieNegativeSpaceBug:j,msieCloneNodeBug:(k&&i.version==="8.0"),initialSkipBug:(m<8),msieNegativeBBoxBug:(m>=8),msieIE6:!l,msieItalicWidthBug:true,zeroWidthBug:(m<8),FontFaceBug:true,msieFontCSSBug:i.isIE9,allowWebFonts:"eot"})},Firefox:function(j){var k=false;if(j.versionAtLeast("3.5")){var i=String(document.location).replace(/[^\/]*$/,"");if(document.location.protocol!=="file:"||d.config.root.match(/^https?:\/\//)||(d.config.root+"/").substr(0,i.length)===i){k="otf"}}e.Augment({ffVerticalAlignBug:true,AccentBug:true,allowWebFonts:k})},Safari:function(m){var k=m.versionAtLeast("3.0");var j=m.versionAtLeast("3.1");var i=(navigator.appVersion.match(/ Android (\d+)\.(\d+)/));var n=(j&&m.isMobile&&((navigator.platform.match(/iPad|iPod|iPhone/)&&!m.versionAtLeast("5.0"))||(i!=null&&(i[1]<2||(i[1]==2&&i[2]<2)))));e.Augment({config:{styles:{".MathJax img, .MathJax nobr, .MathJax a":{"max-width":"5000em","max-height":"5000em"}}},rfuzz:0.011,AccentBug:true,AdjustSurd:true,negativeBBoxes:true,safariNegativeSpaceBug:true,safariVerticalAlignBug:!j,safariTextNodeBug:!k,safariWebFontSerif:["serif"],allowWebFonts:(j&&!n?"otf":false)});if(m.isPC){e.Augment({adjustAvailableFonts:e.removeSTIXfonts})}if(n){var l=d.config["HTML-CSS"];if(l){l.availableFonts=[];l.preferredFont=null}else{d.config["HTML-CSS"]={availableFonts:[],preferredFont:null}}}},Chrome:function(i){e.Augment({rfuzz:0.011,AccentBug:true,AdjustSurd:true,negativeBBoxes:true,allowWebFonts:(i.versionAtLeast("4.0")?"otf":"svg"),safariNegativeSpaceBug:true,safariWebFontSerif:[""]})},Opera:function(i){i.isMini=(navigator.appVersion.match("Opera Mini")!=null);e.config.styles[".MathJax .merror"]["vertical-align"]=null;e.Augment({operaHeightBug:true,operaVerticalAlignBug:true,operaFontSizeBug:i.versionAtLeast("10.61"),initialSkipBug:true,zeroWidthBug:true,FontFaceBug:true,PaddingWidthBug:true,allowWebFonts:(i.versionAtLeast("10.0")&&!i.isMini?"otf":false),adjustAvailableFonts:e.removeSTIXfonts})},Konqueror:function(i){e.Augment({konquerorVerticalAlignBug:true})}})});MathJax.Hub.Register.StartupHook("End Cookie",function(){if(d.config.menuSettings.zoom!=="None"){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="1.1.3";var a=MathJax.ElementJax.mml,b=MathJax.OutputJax["HTML-CSS"];a.mtable.Augment({toHTML:function(r){r=this.HTMLcreateSpan(r);if(this.data.length===0){return r}var G=this.getValues("columnalign","rowalign","columnspacing","rowspacing","columnwidth","equalcolumns","equalrows","columnlines","rowlines","frame","framespacing","align","useHeight","width","side","minlabelspacing");var aF=G.width.match(/%$/);var av=b.createStack(r);var aC=this.HTMLgetScale(),ax=this.HTMLgetMu(r),ay=-1;var ao=[],ar=[],ai=[],au=[],at=[],ad,ac,an=-1,ab,am,V,aB,aJ=[];var aj=b.FONTDATA.baselineskip*aC*G.useHeight,E=b.FONTDATA.lineH*aC,L=b.FONTDATA.lineD*aC;for(ad=0,ab=this.data.length;ad<ab;ad++){aB=this.data[ad];V=(aB.type==="mlabeledtr"?ay:0);au[ad]=[];ao[ad]=ar[ad]=0;for(ac=V,am=aB.data.length+V;ac<am;ac++){if(ai[ac]==null){if(ac>an){an=ac}at[ac]=b.createStack(b.createBox(av));ai[ac]=-b.BIGDIMEN}au[ad][ac]=b.createBox(at[ac]);aJ.push(aB.data[ac-V].toHTML(au[ad][ac]))}}b.MeasureSpans(aJ);for(ad=0,ab=this.data.length;ad<ab;ad++){aB=this.data[ad];V=(aB.type==="mlabeledtr"?ay:0);for(ac=V,am=aB.data.length+V;ac<am;ac++){if(aB.data[ac-V].isMultiline){au[ad][ac].style.width="100%"}if(au[ad][ac].bbox.h>ao[ad]){ao[ad]=au[ad][ac].bbox.h}if(au[ad][ac].bbox.d>ar[ad]){ar[ad]=au[ad][ac].bbox.d}if(au[ad][ac].bbox.w>ai[ac]){ai[ac]=au[ad][ac].bbox.w}}}if(ao[0]+ar[0]){ao[0]=Math.max(ao[0],E)}if(ao[au.length-1]+ar[au.length-1]){ar[au.length-1]=Math.max(ar[au.length-1],L)}var aw=G.columnspacing.split(/ /),aL=G.rowspacing.split(/ /),e=G.columnalign.split(/ /),z=G.rowalign.split(/ /),d=G.columnlines.split(/ /),v=G.rowlines.split(/ /),aH=G.columnwidth.split(/ /),T=[];for(ad=0,ab=aw.length;ad<ab;ad++){aw[ad]=b.length2em(aw[ad],ax)}for(ad=0,ab=aL.length;ad<ab;ad++){aL[ad]=b.length2em(aL[ad],ax)}while(aw.length<an){aw.push(aw[aw.length-1])}while(e.length<=an){e.push(e[e.length-1])}while(d.length<an){d.push(d[d.length-1])}while(aH.length<=an){aH.push(aH[aH.length-1])}while(aL.length<au.length){aL.push(aL[aL.length-1])}while(z.length<=au.length){z.push(z[z.length-1])}while(v.length<au.length){v.push(v[v.length-1])}if(at[ay]){e[ay]=(G.side.substr(0,1)==="l"?"left":"right");aw[ay]=-ai[ay]}for(ad=0,ab=au.length;ad<ab;ad++){aB=this.data[ad];T[ad]=[];if(aB.rowalign){z[ad]=aB.rowalign}if(aB.columnalign){T[ad]=aB.columnalign.split(/ /);while(T[ad].length<=an){T[ad].push(T[ad][T[ad].length-1])}}}if(G.equalrows){var aA=Math.max.apply(Math,ao),U=Math.max.apply(Math,ar);for(ad=0,ab=au.length;ad<ab;ad++){V=((aA+U)-(ao[ad]+ar[ad]))/2;ao[ad]+=V;ar[ad]+=V}}var aN=ao[0]+ar[au.length-1];for(ad=0,ab=au.length-1;ad<ab;ad++){aN+=Math.max((ao[ad]+ar[ad]?aj:0),ar[ad]+ao[ad+1]+aL[ad])}var aE=0,aD=0,aP,g=aN;if(G.frame!=="none"||(G.columnlines+G.rowlines).match(/solid|dashed/)){aE=b.length2em(G.framespacing.split(/[, ]+/)[0],ax);aD=b.length2em(G.framespacing.split(/[, ]+/)[1],ax);g=aN+2*aD}var ah,aO,Z="";if(typeof(G.align)!=="string"){G.align=String(G.align)}if(G.align.match(/(top|bottom|center|baseline|axis)( +(-?\d+))?/)){Z=RegExp.$3;G.align=RegExp.$1}else{G.align="center"}if(Z!==""){Z=parseInt(Z);if(Z<0){Z=au.length+1+Z}if(Z<1){Z=1}else{if(Z>au.length){Z=au.length}}ah=0;aO=-(aN+aD)+ao[0];for(ad=0,ab=Z-1;ad<ab;ad++){var K=Math.max((ao[ad]+ar[ad]?aj:0),ar[ad]+ao[ad+1]+aL[ad]);ah+=K;aO+=K}}else{ah=({top:-(ao[0]+aD),bottom:aN+aD-ao[0],center:aN/2-ao[0],baseline:aN/2-ao[0],axis:aN/2+b.TeX.axis_height*aC-ao[0]})[G.align];aO=({top:-(aN+2*aD),bottom:0,center:-(aN/2+aD),baseline:-(aN/2+aD),axis:b.TeX.axis_height*aC-aN/2-aD})[G.align]}var aa,ae=0,w=0,I=0,X=0,af=0,al=[],aq=[],Q=1;if(G.equalcolumns&&G.width!=="auto"){if(aF){aa=(100/(an+1)).toFixed(2).replace(/\.?0+$/,"")+"%";for(ad=0,ab=Math.min(an+1,aH.length);ad<ab;ad++){aH[ad]=aa}aa=0;ae=1;af=an+1;for(ad=0,ab=Math.min(an+1,aw.length);ad<ab;ad++){aa+=aw[ad]}}else{aa=b.length2em(G.width,ax);for(ad=0,ab=Math.min(an+1,aw.length);ad<ab;ad++){aa-=aw[ad]}aa/=an+1;for(ad=0,ab=Math.min(an+1,aH.length);ad<ab;ad++){ai[ad]=aa}}}else{for(ad=0,ab=Math.min(an+1,aH.length);ad<ab;ad++){if(aH[ad]==="auto"){w+=ai[ad]}else{if(aH[ad]==="fit"){aq[af]=ad;af++;w+=ai[ad]}else{if(aH[ad].match(/%$/)){al[X]=ad;X++;I+=ai[ad];ae+=b.length2em(aH[ad],ax,1)}else{ai[ad]=b.length2em(aH[ad],ax);w+=ai[ad]}}}}if(aF){aa=0;for(ad=0,ab=Math.min(an,aw.length);ad<ab;ad++){aa+=aw[ad]}if(ae>0.98){Q=0.98/ae;ae=0.98}}else{if(G.width==="auto"){if(ae>0.98){Q=I/(w+I);aa=w+I}else{aa=w/(1-ae)}}else{aa=b.length2em(G.width,ax);for(ad=0,ab=Math.min(an+1,aw.length);ad<ab;ad++){aa-=aw[ad]}}for(ad=0,ab=al.length;ad<ab;ad++){ai[al[ad]]=b.length2em(aH[al[ad]],ax,aa*Q);w+=ai[al[ad]]}if(Math.abs(aa-w)>0.01){if(af&&aa>w){aa=(aa-w)/af;for(ad=0,ab=aq.length;ad<ab;ad++){ai[aq[ad]]+=aa}}else{aa=aa/w;for(ac=0;ac<=an;ac++){ai[ac]*=aa}}}if(G.equalcolumns){var N=Math.max.apply(Math,ai);for(ac=0;ac<=an;ac++){ai[ac]=N}}}}var R=ah,o,q,aM;V=(at[ay]?ay:0);for(ac=V;ac<=an;ac++){for(ad=0,ab=au.length;ad<ab;ad++){if(au[ad][ac]){V=(this.data[ad].type==="mlabeledtr"?ay:0);var O=this.data[ad].data[ac-V];if(O.HTMLcanStretch("Horizontal")){au[ad][ac].bbox=O.HTMLstretchH(at[ac],ai[ac]).bbox}else{if(O.HTMLcanStretch("Vertical")){var az=O.CoreMO();var aG=az.symmetric;az.symmetric=false;au[ad][ac].bbox=O.HTMLstretchV(at[ac],ao[ad],ar[ad]).bbox;az.symmetric=aG}}aM=O.rowalign||this.data[ad].rowalign||z[ad];o=({top:ao[ad]-au[ad][ac].bbox.h,bottom:au[ad][ac].bbox.d-ar[ad],center:((ao[ad]-ar[ad])-(au[ad][ac].bbox.h-au[ad][ac].bbox.d))/2,baseline:0,axis:0})[aM];aM=(O.columnalign||T[ad][ac]||e[ac]);b.alignBox(au[ad][ac],aM,R+o)}if(ad<au.length-1){R-=Math.max((ao[ad]+ar[ad]?aj:0),ar[ad]+ao[ad+1]+aL[ad])}}R=ah}if(aF){var B=b.createBox(av);B.style.left=B.style.top=0;B.style.right=b.Em(aa+2*aE);B.style.display="inline-block";B.style.height="0px";if(b.msieRelativeWidthBug){B=b.createBox(B);B.style.position="relative";B.style.height="1em";B.style.width="100%";B.bbox=av.bbox}var aK=0,aQ=aE,k,l;if(af){k=100*(1-ae)/af,l=w/af}else{k=100*(1-ae)/(an+1);l=w/(an+1)}for(ac=0;ac<=an;ac++){b.placeBox(at[ac].parentNode,0,0);at[ac].style.position="relative";at[ac].style.left=b.Em(aQ);at[ac].style.width="100%";at[ac].parentNode.parentNode.removeChild(at[ac].parentNode);var ak=b.createBox(B);b.addBox(ak,at[ac]);at[ac]=ak;var h=ak.style;h.display="inline-block";h.left=aK+"%";if(aH[ac].match(/%$/)){var t=parseFloat(aH[ac])*Q;if(af===0){h.width=(k+t)+"%";aK+=k+t;ak=b.createBox(ak);b.addBox(ak,at[ac].firstChild);ak.style.left=0;ak.style.right=b.Em(l);aQ-=l}else{h.width=t+"%";aK+=t}}else{if(aH[ac]==="fit"||af===0){h.width=k+"%";ak=b.createBox(ak);b.addBox(ak,at[ac].firstChild);ak.style.left=0;ak.style.right=b.Em(l-ai[ac]);aQ+=ai[ac]-l;aK+=k}else{h.width=b.Em(ai[ac]);aQ+=ai[ac]}}if(b.msieRelativeWidthBug){b.addText(ak.firstChild,b.NBSP);ak.firstChild.style.position="relative"}aQ+=aw[ac];if(d[ac]!=="none"&&ac<an&&ac!==ay){q=b.createBox(B);q.style.left=aK+"%";q=b.createRule(q,g,0,1.25/b.em);q.style.position="absolute";q.bbox={h:g,d:0,w:0,rw:1.25/b.em,lw:0};q.parentNode.bbox=av.bbox;b.placeBox(q,aQ-aw[ac]/2,aO,true);q.style.borderStyle=d[ac]}}}else{var S=aE;for(ac=0;ac<=an;ac++){if(!at[ac].bbox.width){b.setStackWidth(at[ac],ai[ac])}if(aH[ac]!=="auto"&&aH[ac]!=="fit"){at[ac].bbox.width=ai[ac];at[ac].bbox.isFixed=true}b.placeBox(at[ac].parentNode,S,0);S+=ai[ac]+aw[ac];if(d[ac]!=="none"&&ac<an&&ac!==ay){q=b.createRule(av,g,0,1.25/b.em);b.addBox(av,q);q.bbox={h:g,d:0,w:0,rw:1.25/b.em,lw:0};b.placeBox(q,S-aw[ac]/2,aO,true);q.style.borderStyle=d[ac]}}}aP=av.bbox.w+aE;var ag;if(G.frame!=="none"){ag=b.createFrame(av,g,0,aP,1.25/b.em,G.frame);b.addBox(av,ag);b.placeBox(ag,0,aO,true);if(aF){ag.style.width="100%"}}R=ah;for(ad=0,ab=au.length-1;ad<ab;ad++){o=Math.max(aj,ar[ad]+ao[ad+1]+aL[ad]);if(v[ad]!=="none"){q=b.createRule(av,1.25/b.em,0,aP);b.addBox(av,q);q.bbox={h:1.25/b.em,d:0,w:aP,rw:aP,lw:0};b.placeBox(q,0,R-ar[ad]-(o-ar[ad]-ao[ad+1])/2,true);if(v[ad]==="dashed"||aF){q.style.borderTop=q.style.height+" "+v[ad];q.style.height=0;q.style.width=q.style.borderLeftWidth;q.style.borderLeft="";if(aF){q.style.width="100%"}}}R-=o}if(aF){r.bbox.width=G.width;av.style.width="100%"}if(at[ay]){var ap=this.getValues("indentalignfirst","indentshiftfirst","indentalign","indentshift");if(ap.indentalignfirst!==a.INDENTALIGN.INDENTALIGN){ap.indentalign=ap.indentalignfirst}if(ap.indentalign===a.INDENTALIGN.AUTO){ap.indentalign=this.displayAlign}if(ap.indentshiftfirst!==a.INDENTSHIFT.INDENTSHIFT){ap.indentshift=ap.indentshiftfirst}if(ap.indentshift==="auto"){ap.indentshift=this.displayIndent}var aI=b.createStack(r,false,"100%");b.addBox(aI,av);b.alignBox(av,ap.indentalign,0);if(ap.indentshift&&ap.indentalign!==a.INDENTALIGN.CENTER){av.style[{left:"Left",right:"Right"}[ap.indentalign]]=b.Em(b.length2em(ap.indentshift,ax))}at[ay].parentNode.parentNode.removeChild(at[ay].parentNode);b.addBox(aI,at[ay]);b.alignBox(at[ay],e[ay],0);if(b.msieRelativeWidthBug){av.style.top=at[ay].style.top=""}if(aF){av.style.width=G.width;r.bbox.width="100%"}at[ay].style.marginRight=at[ay].style.marginLeft=b.Em(b.length2em(G.minlabelspacing,ax))}if(!aF){this.HTMLhandleSpace(r)}var u=this.HTMLhandleColor(r);if(u&&aF){if(!ag){ag=b.createFrame(av,g,0,aP,0,"none");b.addBox(av,ag);b.placeBox(ag,0,aO,true);ag.style.width="100%"}ag.style.backgroundColor=u.style.backgroundColor;ag.parentNode.insertBefore(ag,ag.parentNode.firstChild);u.parentNode.removeChild(u)}return r},HTMLhandleSpace:function(d){d.style.paddingLeft=d.style.paddingRight=".1667em"}});a.mtd.Augment({toHTML:function(e,d,g){e=this.HTMLcreateSpan(e);if(this.data[0]){var f=this.data[0].toHTML(e);if(g!=null){f=this.data[0].HTMLstretchV(e,d,g)}else{if(d!=null){f=this.data[0].HTMLstretchH(e,d)}}e.bbox=f.bbox}this.HTMLhandleSpace(e);this.HTMLhandleColor(e);return e},HTMLstretchH:a.mbase.HTMLstretchH,HTMLstretchV:a.mbase.HTMLstretchV});MathJax.Hub.Startup.signal.Post("HTML-CSS mtable Ready");MathJax.Ajax.loadComplete(b.autoloadDir+"/mtable.js")});

MathJax.Ajax.loadComplete("[MathJax]/config/MML_HTMLorMML-full.js");
