/* * /MathJax/config/TeX-AMS-MML_SVG-full.js * * Copyright (c) 2010-2013 The MathJax Consortium * * 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.Ajax.Preloading("[MathJax]/jax/input/TeX/config.js","[MathJax]/jax/input/MathML/config.js","[MathJax]/jax/output/SVG/config.js","[MathJax]/extensions/tex2jax.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]/extensions/TeX/noErrors.js","[MathJax]/extensions/TeX/noUndefined.js","[MathJax]/jax/input/TeX/jax.js","[MathJax]/extensions/TeX/AMSmath.js","[MathJax]/extensions/TeX/AMSsymbols.js","[MathJax]/jax/input/MathML/jax.js","[MathJax]/jax/output/SVG/jax.js","[MathJax]/jax/output/SVG/autoload/mtable.js");MathJax.Hub.Config({"v1.0-compatible":!1});MathJax.InputJax.TeX=MathJax.InputJax({id:"TeX",version:"2.2.1",directory:MathJax.InputJax.directory+"/TeX",extensionDir:MathJax.InputJax.extensionDir+"/TeX",config:{TagSide:"right",TagIndent:"0.8em",MultLineWidth:"85%",equationNumbers:{autoNumber:"none",formatNumber:function(a){return a},formatTag:function(a){return"("+a+")"},formatID:function(a){return"mjx-eqn-"+String(a).replace(/[:"'<>&]/g,"")},formatURL:function(a){return"#"+escape(a)},useLabelIds:!0}}});MathJax.InputJax.TeX.Register("math/tex");MathJax.InputJax.TeX.loadComplete("config.js");MathJax.InputJax.MathML=MathJax.InputJax({id:"MathML",version:"2.2",directory:MathJax.InputJax.directory+"/MathML",extensionDir:MathJax.InputJax.extensionDir+"/MathML",entityDir:MathJax.InputJax.directory+"/MathML/entities",config:{useMathMLspacing:!1}});MathJax.InputJax.MathML.Register("math/mml");MathJax.InputJax.MathML.loadComplete("config.js");MathJax.OutputJax.SVG=MathJax.OutputJax({id:"SVG",version:"2.2",directory:MathJax.OutputJax.directory+"/SVG",extensionDir:MathJax.OutputJax.extensionDir+"/SVG",autoloadDir:MathJax.OutputJax.directory+"/SVG/autoload",fontDir:MathJax.OutputJax.directory+"/SVG/fonts",config:{scale:100,minScaleAdjust:50,font:"TeX",blacker:10,mtextFontInherit:!1,undefinedFamily:"STIXGeneral,'Arial Unicode MS',serif",addMMLclasses:!1,EqnChunk:MathJax.Hub.Browser.isMobile?10:50,EqnChunkFactor:1.5,EqnChunkDelay:100,linebreaks:{automatic:!1,width:"container"},styles:{".MathJax_SVG_Display":{"text-align":"center",margin:"1em 0em"},"#MathJax_SVG_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",padding:"3px 4px","z-index":401}}}});MathJax.Hub.config.delayJaxRegistration||MathJax.OutputJax.SVG.Register("jax/mml");MathJax.OutputJax.SVG.loadComplete("config.js");MathJax.Extension.tex2jax={version:"2.2",config:{inlineMath:[["\\(","\\)"]],displayMath:[["$$","$$"],["\\[","\\]"]],balanceBraces:!0,skipTags:"script noscript style textarea pre code".split(" "),ignoreClass:"tex2jax_ignore",processClass:"tex2jax_process",processEscapes:!1,processEnvironments:!0,processRefs:!0,preview:"TeX"},PreProcess:function(a){this.configured||(this.config=MathJax.Hub.CombineConfig("tex2jax",this.config),this.config.Augment&&MathJax.Hub.Insert(this,this.config.Augment),"undefined"===typeof this.config.previewTeX||this.config.previewTeX||(this.config.preview="none"),this.configured=!0);"string"===typeof a&&(a=document.getElementById(a));a||(a=document.body);this.createPatterns()&&this.scanElement(a,a.nextSibling)},createPatterns:function(){var a=[],f=[],e,d,g=this.config;this.match={};e=0;for(d=g.inlineMath.length;edocument.documentMode};MathJax.Hub.Register.PreProcessor(["PreProcess",MathJax.Extension.tex2jax]);MathJax.Ajax.loadComplete("[MathJax]/extensions/tex2jax.js");MathJax.Extension.mml2jax={version:"2.2",config:{preview:"alttext"},MMLnamespace:"http://www.w3.org/1998/Math/MathML",PreProcess:function(a){this.configured||(this.config=MathJax.Hub.CombineConfig("mml2jax",this.config),this.config.Augment&&MathJax.Hub.Insert(this,this.config.Augment),this.InitBrowser(),this.configured=!0);"string"===typeof a&&(a=document.getElementById(a));a||(a=document.body);this.ProcessMathArray(a.getElementsByTagName("math"));a.getElementsByTagNameNS&&this.ProcessMathArray(a.getElementsByTagNameNS(this.MMLnamespace,"math"));var f,e;if("undefined"!==typeof document.namespaces)try{for(f=0,e=document.namespaces.length;f/i,"").replace(/<\?xml:namespace .*?\/>/i,""),d=d.replace(/ /g,"\x26#xA0;"));MathJax.HTML.setScript(e,d);f.removeChild(a)}else f=MathJax.HTML.Element("span"),f.appendChild(a),MathJax.HTML.setScript(e,f.innerHTML);"none"!==this.config.preview&&this.createPreview(a,e)},ProcessMathFlattened:function(a){var f=a.parentNode,e=document.createElement("script");e.type="math/mml";f.insertBefore(e,a);for(var f="",d,g=a;a&&"/MATH"!==a.nodeName;)d=a,a=a.nextSibling,f+=this.NodeHTML(d),d.parentNode.removeChild(d);a&&"/MATH"===a.nodeName&&a.parentNode.removeChild(a);e.text=f+"\x3c/math\x3e";"none"!==this.config.preview&&this.createPreview(g,e)},NodeHTML:function(a){var f,e,d;if("#text"===a.nodeName)f=this.quoteHTML(a.nodeValue);else if("#comment"===a.nodeName)f="\x3c!--"+a.nodeValue+"--\x3e";else{f="\x3c"+a.nodeName.toLowerCase();e=0;for(d=a.attributes.length;e|\/>)$/)){e=0;for(d=a.childNodes.length;e/g,"\x26gt;").replace(/\"/g,"\x26quot;")},createPreview:function(a,f){var e=this.config.preview;"none"!==e&&("alttext"===e&&(e=a.getAttribute("alttext"),e=null!=e?[this.filterPreview(e)]:null),e&&(e=MathJax.HTML.Element("span",{className:MathJax.Hub.config.preRemoveClass},e),f.parentNode.insertBefore(e,f)))},filterPreview:function(a){return a},InitBrowser:function(){var a=MathJax.HTML.Element("span",{id:"\x3c",className:"mathjax",innerHTML:"\x3cmath\x3e\x3cmi\x3ex\x3c/mi\x3e\x3cmspace /\x3e\x3c/math\x3e"}),f=a.outerHTML||"";this.AttributeBug=""!==f&&!(f.match(/id="<"/)&&f.match(/class="mathjax"/)&&f.match(/<\/math>/));this.MathTagBug=1Math.abs(b)?"0px":b.toFixed(2).replace(/\.?0+$/,"")+"px"},getImages:function(){(new Image).src=m.button.src}},r=c.Touch={last:0,delay:500,start:function(b){var m=(new Date).getTime(),c=m-r.lastm;9>m&&(t.LEFTBUTTON=1)},Safari:function(b){c.safariContextMenuBug=!0},Opera:function(b){c.operaPositionBug=!0},Konqueror:function(b){c.noContextMenuBug=!0}});c.topImg=c.msieAlignBug?f.Element("img",{style:{width:0,height:0,position:"relative"},src:"about:blank"}):f.Element("span",{style:{width:0,height:0,display:"inline-block"}});c.operaPositionBug&&(c.topImg.style.border="1px solid");c.config=m=a.CombineConfig("MathEvents",m);d.Queue(a.Register.StartupHook("End Config",{}),[function(){var b=m.styles[".MathJax_Hover_Frame"];b.border=m.frame.bwidth+"px solid "+m.frame.bcolor+" ! important";b["box-shadow"]=b["-webkit-box-shadow"]=b["-moz-box-shadow"]=b["-khtml-box-shadow"]="0px 0px "+m.frame.hwidth+" "+m.frame.hcolor}],["getImages",h],["Styles",e,m.styles],["Post",a.Startup.signal,"MathEvents Ready"],["loadComplete",e,"[MathJax]/extensions/MathEvents.js"])})(MathJax.Hub,MathJax.HTML,MathJax.Ajax,MathJax.Callback,MathJax.Localization,MathJax.OutputJax,MathJax.InputJax);(function(a,f,e,d,g){var p=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\x3d2, OffY\x3d2, Color\x3d'gray', Positive\x3d'true')"},"#MathJax_ZoomOverlay":{position:"absolute",left:0,top:0,"z-index":300,display:"inline-block",width:"100%",height:"100%",border:0,padding:0,margin:0,"background-color":"white",opacity:0,filter:"alpha(opacity\x3d0)"},"#MathJax_ZoomFrame":{position:"relative",display:"inline-block",height:0,width:0},"#MathJax_ZoomEventTrap":{position:"absolute",left:0,top:0,"z-index":302,display:"inline-block",border:0,padding:0,margin:0,"background-color":"white",opacity:0,filter:"alpha(opacity\x3d0)"}}}),n,l,c;MathJax.Hub.Register.StartupHook("MathEvents Ready",function(){c=MathJax.Extension.MathEvents.Event;n=MathJax.Extension.MathEvents.Event.False;l=MathJax.Extension.MathEvents.Hover});var b=MathJax.Extension.MathZoom={version:"2.2",settings:a.config.menuSettings,scrollSize:18,HandleEvent:function(m,c,d){return b.settings.CTRL&&!m.ctrlKey||b.settings.ALT&&!m.altKey||b.settings.CMD&&!m.metaKey||b.settings.Shift&&!m.shiftKey||!b[c]?!0:b[c](m,d)},Click:function(b,c){if("Click"===this.settings.zoom)return this.Zoom(b,c)},DblClick:function(b,c){if("Double-Click"===this.settings.zoom)return this.Zoom(b,c)},Hover:function(b,c){return"Hover"===this.settings.zoom?(this.Zoom(b,c),!0):!1},Zoom:function(b,d){this.Remove();l.ClearHoverTimer();c.ClearSelection();var h=MathJax.OutputJax[d.jaxID],g=h.getJaxFromMath(d);g.hover&&l.UnHover(g);var e=Math.floor(.85*document.body.clientWidth),q=Math.floor(.85*Math.max(document.body.clientHeight,document.documentElement.clientHeight)),A=f.Element("span",{id:"MathJax_ZoomFrame"},[["span",{id:"MathJax_ZoomOverlay",onmousedown:this.Remove}],["span",{id:"MathJax_Zoom",onclick:this.Remove,style:{visibility:"hidden",fontSize:this.settings.zscale,"max-width":e+"px","max-height":q+"px"}},[["span",{style:{display:"inline-block","white-space":"nowrap"}}]]]]),u=A.lastChild,w=u.firstChild,v=A.firstChild;d.parentNode.insertBefore(A,d);d.parentNode.insertBefore(d,A);w.addEventListener&&w.addEventListener("mousedown",this.Remove,!0);if(this.msieTrapEventBug){var x=f.Element("span",{id:"MathJax_ZoomEventTrap",onmousedown:this.Remove});A.insertBefore(x,u)}this.msieZIndexBug&&(f.addElement(document.body,"img",{src:"about:blank",id:"MathJax_ZoomTracker",width:0,height:0,style:{width:0,height:0,position:"relative"}}),A.style.position="relative",A.style.zIndex=p.styles["#MathJax_ZoomOverlay"]["z-index"]);h=h.Zoom(g,w,d,e,q);this.msiePositionBug&&(this.msieSizeBug&&(u.style.height=h.zH+"px",u.style.width=h.zW+"px"),u.offsetHeight>q&&(u.style.height=q+"px",u.style.width=h.zW+this.scrollSize+"px"),u.offsetWidth>e&&(u.style.width=e+"px",u.style.height=h.zH+this.scrollSize+"px"));this.operaPositionBug&&(u.style.width=Math.min(e,h.zW)+"px");u.offsetWidth&&u.offsetWidth=d;b.msieInlineBlockAlignBug=7>=d;b.msieTrapEventBug=!window.addEventListener;"BackCompat"===document.compatMode&&(b.scrollSize=52);a&&delete p.styles["#MathJax_Zoom"].filter},Opera:function(c){b.operaPositionBug=!0;b.operaRefreshBug=!0}});b.topImg=b.msieInlineBlockAlignBug?f.Element("img",{style:{width:0,height:0,position:"relative"},src:"about:blank"}):f.Element("span",{style:{width:0,height:0,display:"inline-block"}});if(b.operaPositionBug||b.msieTopBug)b.topImg.style.border="1px solid";MathJax.Callback.Queue(["StartupHook",MathJax.Hub.Register,"Begin Styles",{}],["Styles",e,p.styles],["Post",a.Startup.signal,"MathZoom Ready"],["loadComplete",e,"[MathJax]/extensions/MathZoom.js"])})(MathJax.Hub,MathJax.HTML,MathJax.Ajax,MathJax.OutputJax["HTML-CSS"],MathJax.OutputJax.NativeMML);(function(a,f,e,d,g){var p=MathJax.Callback.Signal("menu");MathJax.Extension.MathMenu={version:"2.2",signal:p};var n=function(b){return MathJax.Localization._.apply(MathJax.Localization,[["MathMenu",b]].concat([].slice.call(arguments,1)))},l=a.Browser.isPC,c=a.Browser.isMSIE,b=8<(document.documentMode||0),m=l?null:"5px",t=a.CombineConfig("MathMenu",{delay:150,closeImg:e.fileURL(g.imageDir+"/CloseX-31.png"),showRenderer:!0,showMathPlayer:!0,showFontMenu:!1,showContext:!1,showDiscoverable:!1,showLocale:!0,showLocaleURL:!1,windowSettings:{status:"no",toolbar:"no",locationbar:"no",menubar:"no",directories:"no",personalbar:"no",resizable:"yes",scrollbars:"yes",width:400,height:300,left:Math.round((screen.width-400)/2),top:Math.round((screen.height-300)/3)},styles:{"#MathJax_About":{position:"fixed",left:"50%",width:"auto","text-align":"center",border:"3px outset",padding:"1em 2em","background-color":"#DDDDDD",color:"black",cursor:"default","font-family":"message-box","font-size":"120%","font-style":"normal","text-indent":0,"text-transform":"none","line-height":"normal","letter-spacing":"normal","word-spacing":"normal","word-wrap":"normal","white-space":"nowrap","float":"none","z-index":201,"border-radius":"15px","-webkit-border-radius":"15px","-moz-border-radius":"15px","-khtml-border-radius":"15px","box-shadow":"0px 10px 20px #808080","-webkit-box-shadow":"0px 10px 20px #808080","-moz-box-shadow":"0px 10px 20px #808080","-khtml-box-shadow":"0px 10px 20px #808080",filter:"progid:DXImageTransform.Microsoft.dropshadow(OffX\x3d2, OffY\x3d2, Color\x3d'gray', Positive\x3d'true')"},".MathJax_Menu":{position:"absolute","background-color":"white",color:"black",width:"auto",padding: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":m,"-webkit-border-radius":m,"-moz-border-radius":m,"-khtml-border-radius":m,"box-shadow":"0px 10px 20px #808080","-webkit-box-shadow":"0px 10px 20px #808080","-moz-box-shadow":"0px 10px 20px #808080","-khtml-box-shadow":"0px 10px 20px #808080",filter:"progid:DXImageTransform.Microsoft.dropshadow(OffX\x3d2, OffY\x3d2, Color\x3d'gray', Positive\x3d'true')"},".MathJax_MenuItem":{padding:l?"2px 2em":"1px 2em",background:"transparent"},".MathJax_MenuArrow":{position:"absolute",right:".5em",color:"#666666","font-family":c?"'Arial unicode MS'":null},".MathJax_MenuActive .MathJax_MenuArrow":{color:"white"},".MathJax_MenuCheck":{position:"absolute",left:".7em","font-family":c?"'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"}}}),h,r;a.Register.StartupHook("MathEvents Ready",function(){h=MathJax.Extension.MathEvents.Event.False;r=MathJax.Extension.MathEvents.Hover});var k=MathJax.Menu=MathJax.Object.Subclass({version:"2.2",items:[],posted:!1,title:null,margin:5,Init:function(b){this.items=[].slice.call(arguments,0)},With:function(b){b&&a.Insert(this,b);return this},Post:function(b,c){b||(b=window.event);var m=document.getElementById("MathJax_MenuFrame");m||(m=k.Background(this),delete q.lastItem,delete q.lastMenu,delete k.skipUp,p.Post(["post",k.jax]));var d=f.addElement(m,"div",{onmouseup:k.Mouseup,ondblclick:h,ondragstart:h,onselectstart:h,oncontextmenu:h,menuItem:this,className:"MathJax_Menu"});MathJax.Localization.setCSS(d);for(var a=0,g=this.items.length;adocument.body.offsetWidth-this.margin&&!k.isMobile&&(e="right",a=Math.max(this.margin,a-r-d.offsetWidth+6));l||(d.style["borderRadiusTop"+e]=0,d.style["WebkitBorderRadiusTop"+e]=0,d.style["MozBorderRadiusTop"+e]=0,d.style["KhtmlBorderRadiusTop"+e]=0)}else a+d.offsetWidth>document.body.offsetWidth-this.margin&&(a=document.body.offsetWidth-d.offsetWidth-this.margin),k.isMobile&&(a=Math.max(5,a-Math.floor(d.offsetWidth/2)),g-=20),k.skipUp=b.isContextMenu;d.style.left=a+"px";d.style.top=g+"px";document.selection&&document.selection.empty&&document.selection.empty();return h(b)},Remove:function(b,c){p.Post(["unpost",k.jax]);var m=document.getElementById("MathJax_MenuFrame");m&&(m.parentNode.removeChild(m),this.msieFixedPositionBug&&detachEvent("onresize",k.Resize));k.jax.hover&&(delete k.jax.hover.nofade,r.UnHover(k.jax));return h(b)},Find:function(b){return this.FindN(1,b,[].slice.call(arguments,1))},FindId:function(b){return this.FindN(0,b,[].slice.call(arguments,1))},FindN:function(b,c,m){for(var d=0,a=this.items.length;d/g,"\x26gt;");var d=n("EqSource","MathJax Equation Source");if(k.isMobile)m.document.open(),m.document.write("\x3chtml\x3e\x3chead\x3e\x3cmeta name\x3d'viewport' content\x3d'width\x3ddevice-width, initial-scale\x3d1.0' /\x3e\x3ctitle\x3e"+d+"\x3c/title\x3e\x3c/head\x3e\x3cbody style\x3d'font-size:85%'\x3e"),m.document.write("\x3cpre\x3e"+b+"\x3c/pre\x3e"),m.document.write("\x3chr\x3e\x3cinput type\x3d'button' value\x3d'"+n("Close","Close")+"' onclick\x3d'window.close()' /\x3e"),m.document.write("\x3c/body\x3e\x3c/html\x3e"),m.document.close();else{m.document.open();m.document.write("\x3chtml\x3e\x3chead\x3e\x3ctitle\x3e"+d+"\x3c/title\x3e\x3c/head\x3e\x3cbody style\x3d'font-size:85%'\x3e");m.document.write("\x3ctable\x3e\x3ctr\x3e\x3ctd\x3e\x3cpre\x3e"+b+"\x3c/pre\x3e\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e");m.document.write("\x3c/body\x3e\x3c/html\x3e");m.document.close();var a=m.document.body.firstChild;setTimeout(function(){var b=m.outerHeight-m.innerHeight||30,d=m.outerWidth-m.innerWidth||30,d=Math.max(100,Math.min(Math.floor(.5*screen.width),a.offsetWidth+d+25)),b=Math.max(40,Math.min(Math.floor(.5*screen.height),a.offsetHeight+b+25));m.resizeTo(d,b);c&&null!=c.screenX&&(d=Math.max(0,Math.min(c.screenX-Math.floor(d/2),screen.width-d-20)),b=Math.max(0,Math.min(c.screenY-Math.floor(b/2),screen.height-b-20)),m.moveTo(d,b))},50)}};k.Scale=function(){var b=g["HTML-CSS"],c=g.NativeMML,m=g.SVG,d=(b||c||m||{config:{scale:100}}).config.scale,h=prompt(n("ScaleMath","Scale all mathematics (compared to surrounding text) by"),d+"%");h&&(h.match(/^\s*\d+(\.\d*)?\s*%?\s*$/)?(h=parseFloat(h))?h!==d&&(b&&(b.config.scale=h),c&&(c.config.scale=h),m&&(m.config.scale=h),k.cookie.scale=h,k.saveCookie(),a.Reprocess()):alert(n("NonZeroScale","The scale should not be zero")):alert(n("PercentScale","The scale should be a percentage (e.g., 120%%)")))};k.Zoom=function(){MathJax.Extension.MathZoom||e.Require("[MathJax]/extensions/MathZoom.js")};k.Renderer=function(){var c=a.outputJax["jax/mml"];if(c[0]!==t.settings.renderer){var m=a.Browser,d,h=k.Renderer.Messages,g;switch(t.settings.renderer){case "NativeMML":t.settings.warnedMML||(m.isChrome&&"24."!==m.version.substr(0,3)?d=h.MML.WebKit:m.isSafari&&!m.versionAtLeast("5.0")?d=h.MML.WebKit:m.isMSIE?m.hasMathPlayer||(d=h.MML.MSIE):d=h.MML[m],g="warnedMML");break;case "SVG":t.settings.warnedSVG||!m.isMSIE||b||(d=h.SVG.MSIE)}if(d){d=n(d[0],d[1]);d=d+"\n\n"+n("SwitchAnyway","Switch the renderer anyway?\n\n(Press OK to switch, CANCEL to continue with the current renderer)");k.cookie.renderer=c[0].id;k.saveCookie();if(!confirm(d)){k.cookie.renderer=t.settings.renderer=f.Cookie.Get("menu").renderer;k.saveCookie();return}g&&(k.cookie.warned=t.settings.warned=!0);k.cookie.renderer=t.settings.renderer;k.saveCookie()}a.Queue(["setRenderer",a,t.settings.renderer,"jax/mml"],["Rerender",a])}};k.Renderer.Messages={MML:{WebKit:["WebkitNativeMMLWarning","Your browser doesn't seem to support MathML natively, so switching to MathML output may cause the mathematics on the page to become unreadable."],MSIE:["MSIENativeMMLWarning","Internet Explorer requires the MathPlayer plugin in order to process MathML output."],Opera:["OperaNativeMMLWarning","Opera's support for MathML is limited, so switching to MathML output may cause some expressions to render poorly."],Safari:["SafariNativeMMLWarning","Your browser's native MathML does not implement all the features used by MathJax, so some expressions may not render properly."],Firefox:["FirefoxNativeMMLWarning","Your browser's native MathML does not implement all the features used by MathJax, so some expressions may not render properly."]},SVG:{MSIE:["MSIESVGWarning","SVG is not implemented in Internet Explorer prior to IE9 or when it is emulating IE8 or below. Switching to SVG output will cause the mathematics to not display properly."]}};k.Font=function(){g["HTML-CSS"]&&document.location.reload()};k.Locale=function(){MathJax.Localization.setLocale(t.settings.locale);MathJax.Hub.Queue(["Reprocess",MathJax.Hub])};k.LoadLocale=function(){var b=prompt(n("LoadURL","Load translation data from this URL:"));b&&(b.match(/\.js$/)||alert(n("BadURL","The URL should be for a javascript file that defines MathJax translation data. Javascript file names should end with '.js'")),e.Require(b,function(c){c!=e.STATUS.OK&&alert(n("BadData","Failed to load translation data from %1",b))}))};k.MPEvents=function(c){var m=t.settings.discoverable,d=k.MPEvents.Messages;b?!m&&"Menu Events"===c.name[1]&&t.settings.mpContext&&alert(n.apply(n,d.IE9warning)):t.settings.mpMouse&&!confirm(n.apply(n,d.IE8warning))?(delete k.cookie.mpContext,delete t.settings.mpContext,delete k.cookie.mpMouse,delete t.settings.mpMouse,k.saveCookie()):(t.settings.mpContext=t.settings.mpMouse,k.cookie.mpContext=k.cookie.mpMouse=t.settings.mpMouse,k.saveCookie(),MathJax.Hub.Queue(["Rerender",MathJax.Hub]))};k.MPEvents.Messages={IE8warning:["IE8warning","This will disable the MathJax menu and zoom features, but you can Alt-Click on an expression to obtain the MathJax menu instead.\n\nReally change the MathPlayer settings?"],IE9warning:["IE9warning","The MathJax contextual menu will be disabled, but you can Alt-Click on an expression to obtain the MathJax menu instead."]};a.Browser.Select({MSIE:function(c){var m="BackCompat"===document.compatMode;c=c.versionAtLeast("8.0")&&7document.documentMode,msieFixedPositionBug:m||!c,msieAboutBug:m});b&&(delete t.styles["#MathJax_About"].filter,delete t.styles[".MathJax_Menu"].filter)},Firefox:function(b){k.skipMouseover=b.isMobile&&b.versionAtLeast("6.0");k.skipMousedown=b.isMobile}});k.isMobile=a.Browser.isMobile;k.noContextMenu=a.Browser.noContextMenu;k.CreateLocaleMenu=function(){if(k.menu){var b=k.menu.Find("Language").menu,c=b.items,m=[],d=MathJax.Localization.strings,a;for(a in d)d.hasOwnProperty(a)&&m.push(a);m=m.sort();b.items=[];a=0;for(var h=m.length;ad.charCodeAt(0)?a.VARIANT.ITALIC:a.VARIANT.NORMAL):""},setTeXclass:function(d){this.getPrevClass(d);d=this.data.join("");1e&&(e=(e-55296<<10)+(d.charCodeAt(1)-56320)+65536);for(var f=0,n=this.RANGES.length;f=d)return String.fromCharCode(d);d-=65536;return String.fromCharCode((d>>10)+55296)+String.fromCharCode((d&1023)+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 d=0,a=arguments.length;d=g||57344<=g)32>g||126c&&(b+=this.string.charAt(this.i++)),l.special[b])this[l.special[b]](b);else l.letter.test(b)?this.Variable(b):l.digit.test(b)?this.Number(b):this.Other(b)},Push:function(){this.stack.Push.apply(this.stack,arguments)},mml:function(){return"mml"!==this.stack.Top().type?null:this.stack.Top().data[0]},mmlToken:function(b){return b},ControlSequence:function(b){var c=this.GetCS(),a=this.csFindMacro(c);if(a){a instanceof Array||(a=[a]);var d=a[0];d instanceof Function||(d=this[d]);d.apply(this,[b+c].concat(a.slice(1)))}else l.mathchar0mi[c]?this.csMathchar0mi(c,l.mathchar0mi[c]):l.mathchar0mo[c]?this.csMathchar0mo(c,l.mathchar0mo[c]):l.mathchar7[c]?this.csMathchar7(c,l.mathchar7[c]):null!=l.delimiter["\\"+c]?this.csDelimiter(c,l.delimiter["\\"+c]):this.csUndefined(b+c)},csFindMacro:function(b){return l.macros[b]},csMathchar0mi:function(b,c){var a={mathvariant:d.VARIANT.ITALIC};c instanceof Array&&(a=c[1],c=c[0]);this.Push(this.mmlToken(d.mi(d.entity("#x"+c)).With(a)))},csMathchar0mo:function(b,c){var a={stretchy:!1};c instanceof Array&&(a=c[1],a.stretchy=!1,c=c[0]);this.Push(this.mmlToken(d.mo(d.entity("#x"+c)).With(a)))},csMathchar7:function(b,c){var a={mathvariant:d.VARIANT.NORMAL};c instanceof Array&&(a=c[1],c=c[0]);this.stack.env.font&&(a.mathvariant=this.stack.env.font);this.Push(this.mmlToken(d.mi(d.entity("#x"+c)).With(a)))},csDelimiter:function(b,c){var a={};c instanceof Array&&(a=c[1],c=c[0]);c=4===c.length?d.entity("#x"+c):d.chars(c);this.Push(this.mmlToken(d.mo(c).With({fence:!1,stretchy:!1}).With(a)))},csUndefined:function(b){a.Error(["UndefinedControlSequence","Undefined control sequence %1",b])},Variable:function(b){var c={};this.stack.env.font&&(c.mathvariant=this.stack.env.font);this.Push(this.mmlToken(d.mi(d.chars(b)).With(c)))},Number:function(b){var c=this.string.slice(this.i-1).match(l.number);c?(b=d.mn(c[0].replace(/[{}]/g,"")),this.i+=c[0].length-1):b=d.mo(d.chars(b));this.stack.env.font&&(b.mathvariant=this.stack.env.font);this.Push(this.mmlToken(b))},Open:function(b){this.Push(n.open())},Close:function(b){this.Push(n.close())},Tilde:function(b){this.Push(d.mtext(d.chars("\u00a0")))},Space:function(b){},Superscript:function(b){this.GetNext().match(/\d/)&&(this.string=this.string.substr(0,this.i+1)+" "+this.string.substr(this.i+1));var c,e;c=this.stack.Top();"prime"===c.type?(b=c.data[0],e=c.data[1],this.stack.Pop()):(b=this.stack.Prev())||(b=d.mi(""));b.isEmbellishedWrapper&&(b=b.data[0].data[0]);if("msubsup"===b.type)b.data[b.sup]&&a.Error(["DoubleExponent","Double exponent: use braces to clarify"]),c=b.sup;else if(b.movesupsub){if("munderover"!==b.type||b.data[b.over])b.movablelimits&&b.isa(d.mi)&&(b=this.mi2mo(b)),b=d.munderover(b,null,null).With({movesupsub:!0});c=b.over}else b=d.msubsup(b,null,null),c=b.sup;this.Push(n.subsup(b).With({position:c,primes:e}))},Subscript:function(b){this.GetNext().match(/\d/)&&(this.string=this.string.substr(0,this.i+1)+" "+this.string.substr(this.i+1));var c,e;c=this.stack.Top();"prime"===c.type?(b=c.data[0],e=c.data[1],this.stack.Pop()):(b=this.stack.Prev())||(b=d.mi(""));b.isEmbellishedWrapper&&(b=b.data[0].data[0]);if("msubsup"===b.type)b.data[b.sub]&&a.Error(["DoubleSubscripts","Double subscripts: use braces to clarify"]),c=b.sub;else if(b.movesupsub){if("munderover"!==b.type||b.data[b.under])b.movablelimits&&b.isa(d.mi)&&(b=this.mi2mo(b)),b=d.munderover(b,null,null).With({movesupsub:!0});c=b.under}else b=d.msubsup(b,null,null),c=b.sub;this.Push(n.subsup(b).With({position:c,primes:e}))},PRIME:"\u2032",SMARTQUOTE:"\u2019",Prime:function(b){var c=this.stack.Prev();c||(c=d.mi());"msubsup"===c.type&&c.data[c.sup]&&a.Error(["DoubleExponentPrime","Prime causes double exponent: use braces to clarify"]);var e="";this.i--;do e+=this.PRIME,this.i++,b=this.GetNext();while("'"===b||b===this.SMARTQUOTE);e=["","\u2032","\u2033","\u2034","\u2057"][e.length]||e;this.Push(n.prime(c,this.mmlToken(d.mo(e))))},mi2mo:function(b){var c=d.mo();c.Append.apply(c,b.data);for(var a in c.defaults)c.defaults.hasOwnProperty(a)&&null!=b[a]&&(c[a]=b[a]);for(a in d.copyAttributes)d.copyAttributes.hasOwnProperty(a)&&null!=b[a]&&(c[a]=b[a]);return c},Comment:function(b){for(;this.ia.config.MAXMACROS&&a.Error(["MaxMacroSub1","MathJax maximum macro substitution count exceeded; is there a recursive macro call?"])},Matrix:function(b,c,d,e,g,k,f,l){var p=this.GetNext();""===p&&a.Error(["MissingArgFor","Missing argument for %1",b]);"{"===p?this.i++:(this.string=p+"}"+this.string.slice(this.i+1),this.i=0);b=n.array().With({requireClose:!0,arraydef:{rowspacing:k||"4pt",columnspacing:g||"1em"}});l&&(b.isCases=!0);if(c||d)b.open=c,b.close=d;"D"===f&&(b.arraydef.displaystyle=!0);null!=e&&(b.arraydef.columnalign=e);this.Push(b)},Entry:function(b){this.Push(n.cell().With({isEntry:!0,name:b}));if(this.stack.Top().isCases){var c=this.string,d=0;b=this.i;for(var e=c.length;bMath.abs(b)?"0em":b.toFixed(3).replace(/\.?0+$/,"")+"em"},HLine:function(b,c){null==c&&(c="solid");var d=this.stack.Top();d.isa(n.array)&&!d.data.length||a.Error(["Misplaced","Misplaced %1",b]);if(0==d.table.length)d.frame.push("top");else{for(var e=d.arraydef.rowlines?d.arraydef.rowlines.split(/ /):[];e.lengtha.config.MAXMACROS&&a.Error(["MaxMacroSub2","MathJax maximum substitution count exceeded; is there a recursive latex environment?"]);b instanceof Array||(b=[b]);c=n.begin().With({name:c,end:b[1],parse:this});b[0]&&this[b[0]]&&(c=this[b[0]].apply(this,[c].concat(b.slice(2))));this.Push(c)},End:function(b){this.Push(n.end().With({name:this.GetArgument(b)}))},envFindName:function(b){return l.environment[b]},Equation:function(b,c){return c},ExtensionEnv:function(b,c){this.Extension(b.name,c,"environment")},Array:function(b,c,a,d,e,k,g,f){d||(d=this.GetArgument("\\begin{"+b.name+"}"));var l=("c"+d).replace(/[^clr|:]/g,"").replace(/[^|:]([|:])+/g,"$1");d=d.replace(/[^clr]/g,"").split("").join(" ");d=d.replace(/l/g,"left").replace(/r/g,"right").replace(/c/g,"center");d=n.array().With({arraydef:{columnalign:d,columnspacing:e||"1em",rowspacing:k||"4pt"}});l.match(/[|:]/)&&(l.charAt(0).match(/[|:]/)&&(d.frame.push("left"),d.frame.dashed=":"===l.charAt(0)),l.charAt(l.length-1).match(/[|:]/)&&d.frame.push("right"),l=l.substr(1,l.length-2),d.arraydef.columnlines=l.split("").join(" ").replace(/[^|: ]/g,"none").replace(/\|/g,"solid").replace(/:/g,"dashed"));c&&(d.open=this.convertDelimiter(c));a&&(d.close=this.convertDelimiter(a));"D"===g&&(d.arraydef.displaystyle=!0);"S"===g&&(d.arraydef.scriptlevel=1);f&&(d.arraydef.useHeight=!1);this.Push(b);return d},AlignedArray:function(b){var c=this.GetBrackets("\\begin{"+b.name+"}");return this.setArrayAlign(this.Array.apply(this,arguments),c)},setArrayAlign:function(b,c){c=this.trimSpaces(c||"");"t"===c?b.arraydef.align="baseline 1":"b"===c?b.arraydef.align="baseline -1":"c"===c?b.arraydef.align="center":c&&(b.arraydef.align=c);return b},convertDelimiter:function(b){b&&(b=l.delimiter[b]);if(null==b)return null;b instanceof Array&&(b=b[0]);4===b.length&&(b=String.fromCharCode(parseInt(b,16)));return b},trimSpaces:function(b){return"string"!=typeof b?b:b.replace(/^\s+|\s+$/g,"")},nextIsSpace:function(){return this.string.charAt(this.i).match(/[ \n\r\t]/)},GetNext:function(){for(;this.nextIsSpace();)this.i++;return this.string.charAt(this.i)},GetCS:function(){var b=this.string.slice(this.i).match(/^([a-z]+|.) ?/i);if(b)return this.i+=b[1].length,b[1];this.i++;return" "},GetArgument:function(b,c){switch(this.GetNext()){case "":return c||a.Error(["MissingArgFor","Missing argument for %1",b]),null;case "}":return c||a.Error(["ExtraCloseMissingOpen","Extra close brace or missing open brace"]),null;case "\\":return this.i++,"\\"+this.GetCS();case "{":for(var d=++this.i,e=1;this.i=e--&&a.Error(["ExtraCloseLooking","Extra close brace while looking for %1","']'"]);break;case "]":if(0==e)return this.string.slice(d,this.i-1)}a.Error(["MissingCloseBracket","Couldn't find closing ']' for argument to %1",b])},GetDelimiter:function(b){for(;this.nextIsSpace();)this.i++;var c=this.string.charAt(this.i);if(this.ib.length)&&a.Error(["IllegalMacroParam","Illegal macro parameter reference"]),e=this.AddArgs(this.AddArgs(e,d),b[g-1]),d="")):d+=g;return this.AddArgs(e,d)},AddArgs:function(b,c){c.match(/^[a-z]/i)&&b.match(/(^|[^\\])(\\\\)*\\[a-z]+$/i)&&(b+=" ");b.length+c.length>a.config.MAXBUFFER&&a.Error(["MaxBufferSize","MathJax internal buffer size exceeded; is there a recursive macro call?"]);return b+c}});a.Augment({Stack:p,Parse:c,Definitions:l,Startup:function(){d=MathJax.ElementJax.mml;f.Insert(l,{letter:/[a-z]/i,digit:/[0-9.]/,number:/^(?:[0-9]+(?:\{,\}[0-9]{3})*(?:\.[0-9]*)*|\.[0-9]+)/,special:{"\\":"ControlSequence","{":"Open","}":"Close","~":"Tilde","^":"Superscript",_:"Subscript"," ":"Space","\t":"Space","\r":"Space","\n":"Space","'":"Prime","%":"Comment","\x26":"Entry","#":"Hash","\u2019":"Prime"},remap:{"-":"2212","*":"2217","`":"2018"},mathchar0mi:{alpha:"03B1",beta:"03B2",gamma:"03B3",delta:"03B4",epsilon:"03F5",zeta:"03B6",eta:"03B7",theta:"03B8",iota:"03B9",kappa:"03BA",lambda:"03BB",mu:"03BC",nu:"03BD",xi:"03BE",omicron:"03BF",pi:"03C0",rho:"03C1",sigma:"03C3",tau:"03C4",upsilon:"03C5",phi:"03D5",chi:"03C7",psi:"03C8",omega:"03C9",varepsilon:"03B5",vartheta:"03D1",varpi:"03D6",varrho:"03F1",varsigma:"03C2",varphi:"03C6",S:["00A7",{mathvariant:d.VARIANT.NORMAL}],aleph:["2135",{mathvariant:d.VARIANT.NORMAL}],hbar:["210F",{variantForm:!0}],imath:"0131",jmath:"0237",ell:"2113",wp:["2118",{mathvariant:d.VARIANT.NORMAL}],Re:["211C",{mathvariant:d.VARIANT.NORMAL}],Im:["2111",{mathvariant:d.VARIANT.NORMAL}],partial:["2202",{mathvariant:d.VARIANT.NORMAL}],infty:["221E",{mathvariant:d.VARIANT.NORMAL}],prime:["2032",{mathvariant:d.VARIANT.NORMAL,variantForm:!0}],emptyset:["2205",{mathvariant:d.VARIANT.NORMAL}],nabla:["2207",{mathvariant:d.VARIANT.NORMAL}],top:["22A4",{mathvariant:d.VARIANT.NORMAL}],bot:["22A5",{mathvariant:d.VARIANT.NORMAL}],angle:["2220",{mathvariant:d.VARIANT.NORMAL}],triangle:["25B3",{mathvariant:d.VARIANT.NORMAL}],backslash:["2216",{mathvariant:d.VARIANT.NORMAL,variantForm:!0}],forall:["2200",{mathvariant:d.VARIANT.NORMAL}],exists:["2203",{mathvariant:d.VARIANT.NORMAL}],neg:["00AC",{mathvariant:d.VARIANT.NORMAL}],lnot:["00AC",{mathvariant:d.VARIANT.NORMAL}],flat:["266D",{mathvariant:d.VARIANT.NORMAL}],natural:["266E",{mathvariant:d.VARIANT.NORMAL}],sharp:["266F",{mathvariant:d.VARIANT.NORMAL}],clubsuit:["2663",{mathvariant:d.VARIANT.NORMAL}],diamondsuit:["2662",{mathvariant:d.VARIANT.NORMAL}],heartsuit:["2661",{mathvariant:d.VARIANT.NORMAL}],spadesuit:["2660",{mathvariant:d.VARIANT.NORMAL}]},mathchar0mo:{surd:"221A",coprod:["2210",{texClass:d.TEXCLASS.OP,movesupsub:!0}],bigvee:["22C1",{texClass:d.TEXCLASS.OP,movesupsub:!0}],bigwedge:["22C0",{texClass:d.TEXCLASS.OP,movesupsub:!0}],biguplus:["2A04",{texClass:d.TEXCLASS.OP,movesupsub:!0}],bigcap:["22C2",{texClass:d.TEXCLASS.OP,movesupsub:!0}],bigcup:["22C3",{texClass:d.TEXCLASS.OP,movesupsub:!0}],"int":["222B",{texClass:d.TEXCLASS.OP}],intop:["222B",{texClass:d.TEXCLASS.OP,movesupsub:!0,movablelimits:!0}],iint:["222C",{texClass:d.TEXCLASS.OP}],iiint:["222D",{texClass:d.TEXCLASS.OP}],prod:["220F",{texClass:d.TEXCLASS.OP,movesupsub:!0}],sum:["2211",{texClass:d.TEXCLASS.OP,movesupsub:!0}],bigotimes:["2A02",{texClass:d.TEXCLASS.OP,movesupsub:!0}],bigoplus:["2A01",{texClass:d.TEXCLASS.OP,movesupsub:!0}],bigodot:["2A00",{texClass:d.TEXCLASS.OP,movesupsub:!0}],oint:["222E",{texClass:d.TEXCLASS.OP}],bigsqcup:["2A06",{texClass:d.TEXCLASS.OP,movesupsub:!0}],smallint:["222B",{largeop:!1}],triangleleft:"25C3",triangleright:"25B9",bigtriangleup:"25B3",bigtriangledown:"25BD",wedge:"2227",land:"2227",vee:"2228",lor:"2228",cap:"2229",cup:"222A",ddagger:"2021",dagger:"2020",sqcap:"2293",sqcup:"2294",uplus:"228E",amalg:"2A3F",diamond:"22C4",bullet:"2219",wr:"2240",div:"00F7",odot:["2299",{largeop:!1}],oslash:["2298",{largeop:!1}],otimes:["2297",{largeop:!1}],ominus:["2296",{largeop:!1}],oplus:["2295",{largeop:!1}],mp:"2213",pm:"00B1",circ:"2218",bigcirc:"25EF",setminus:["2216",{variantForm:!0}],cdot:"22C5",ast:"2217",times:"00D7",star:"22C6",propto:"221D",sqsubseteq:"2291",sqsupseteq:"2292",parallel:"2225",mid:"2223",dashv:"22A3",vdash:"22A2",leq:"2264",le:"2264",geq:"2265",ge:"2265",lt:"003C",gt:"003E",succ:"227B",prec:"227A",approx:"2248",succeq:"2AB0",preceq:"2AAF",supset:"2283",subset:"2282",supseteq:"2287",subseteq:"2286","in":"2208",ni:"220B",notin:"2209",owns:"220B",gg:"226B",ll:"226A",sim:"223C",simeq:"2243",perp:"22A5",equiv:"2261",asymp:"224D",smile:"2323",frown:"2322",ne:"2260",neq:"2260",cong:"2245",doteq:"2250",bowtie:"22C8",models:"22A8",notChar:"29F8",Leftrightarrow:"21D4",Leftarrow:"21D0",Rightarrow:"21D2",leftrightarrow:"2194",leftarrow:"2190",gets:"2190",rightarrow:"2192",to:"2192",mapsto:"21A6",leftharpoonup:"21BC",leftharpoondown:"21BD",rightharpoonup:"21C0",rightharpoondown:"21C1",nearrow:"2197",searrow:"2198",nwarrow:"2196",swarrow:"2199",rightleftharpoons:"21CC",hookrightarrow:"21AA",hookleftarrow:"21A9",longleftarrow:"27F5",Longleftarrow:"27F8",longrightarrow:"27F6",Longrightarrow:"27F9",Longleftrightarrow:"27FA",longleftrightarrow:"27F7",longmapsto:"27FC",ldots:"2026",cdots:"22EF",vdots:"22EE",ddots:"22F1",dotsc:"2026",dotsb:"22EF",dotsm:"22EF",dotsi:"22EF",dotso:"2026",ldotp:["002E",{texClass:d.TEXCLASS.PUNCT}],cdotp:["22C5",{texClass:d.TEXCLASS.PUNCT}],colon:["003A",{texClass:d.TEXCLASS.PUNCT}]},mathchar7:{Gamma:"0393",Delta:"0394",Theta:"0398",Lambda:"039B",Xi:"039E",Pi:"03A0",Sigma:"03A3",Upsilon:"03A5",Phi:"03A6",Psi:"03A8",Omega:"03A9",_:"005F","#":"0023",$:"0024","%":"0025","\x26":"0026",And:"0026"},delimiter:{"(":"(",")":")","[":"[","]":"]","\x3c":"27E8","\x3e":"27E9","\\lt":"27E8","\\gt":"27E9","/":"/","|":["|",{texClass:d.TEXCLASS.ORD}],".":"","\\\\":"\\","\\lmoustache":"23B0","\\rmoustache":"23B1","\\lgroup":"27EE","\\rgroup":"27EF","\\arrowvert":"23D0","\\Arrowvert":"2016","\\bracevert":"23AA","\\Vert":["2225",{texClass:d.TEXCLASS.ORD}],"\\|":["2225",{texClass:d.TEXCLASS.ORD}],"\\vert":["|",{texClass:d.TEXCLASS.ORD}],"\\uparrow":"2191","\\downarrow":"2193","\\updownarrow":"2195","\\Uparrow":"21D1","\\Downarrow":"21D3","\\Updownarrow":"21D5","\\backslash":"\\","\\rangle":"27E9","\\langle":"27E8","\\rbrace":"}","\\lbrace":"{","\\}":"}","\\{":"{","\\rceil":"2309","\\lceil":"2308","\\rfloor":"230B","\\lfloor":"230A","\\lbrack":"[","\\rbrack":"]"},macros:{displaystyle:["SetStyle","D",!0,0],textstyle:["SetStyle","T",!1,0],scriptstyle:["SetStyle","S",!1,1],scriptscriptstyle:["SetStyle","SS",!1,2],rm:["SetFont",d.VARIANT.NORMAL],mit:["SetFont",d.VARIANT.ITALIC],oldstyle:["SetFont",d.VARIANT.OLDSTYLE],cal:["SetFont",d.VARIANT.CALIGRAPHIC],it:["SetFont","-tex-mathit"],bf:["SetFont",d.VARIANT.BOLD],bbFont:["SetFont",d.VARIANT.DOUBLESTRUCK],scr:["SetFont",d.VARIANT.SCRIPT],frak:["SetFont",d.VARIANT.FRAKTUR],sf:["SetFont",d.VARIANT.SANSSERIF],tt:["SetFont",d.VARIANT.MONOSPACE],tiny:["SetSize",.5],Tiny:["SetSize",.6],scriptsize:["SetSize",.7],small:["SetSize",.85],normalsize:["SetSize",1],large:["SetSize",1.2],Large:["SetSize",1.44],LARGE:["SetSize",1.73],huge:["SetSize",2.07],Huge:["SetSize",2.49],arcsin:["NamedFn"],arccos:["NamedFn"],arctan:["NamedFn"],arg:["NamedFn"],cos:["NamedFn"],cosh:["NamedFn"],cot:["NamedFn"],coth:["NamedFn"],csc:["NamedFn"],deg:["NamedFn"],det:"NamedOp",dim:["NamedFn"],exp:["NamedFn"],gcd:"NamedOp",hom:["NamedFn"],inf:"NamedOp",ker:["NamedFn"],lg:["NamedFn"],lim:"NamedOp",liminf:["NamedOp","lim\x26thinsp;inf"],limsup:["NamedOp","lim\x26thinsp;sup"],ln:["NamedFn"],log:["NamedFn"],max:"NamedOp",min:"NamedOp",Pr:"NamedOp",sec:["NamedFn"],sin:["NamedFn"],sinh:["NamedFn"],sup:"NamedOp",tan:["NamedFn"],tanh:["NamedFn"],limits:["Limits",1],nolimits:["Limits",0],overline:["UnderOver","00AF"],underline:["UnderOver","005F"],overbrace:["UnderOver","23DE",1],underbrace:["UnderOver","23DF",1],overrightarrow:["UnderOver","2192"],underrightarrow:["UnderOver","2192"],overleftarrow:["UnderOver","2190"],underleftarrow:["UnderOver","2190"],overleftrightarrow:["UnderOver","2194"],underleftrightarrow:["UnderOver","2194"],overset:"Overset",underset:"Underset",stackrel:["Macro","\\mathrel{\\mathop{#2}\\limits^{#1}}",2],over:"Over",overwithdelims:"Over",atop:"Over",atopwithdelims:"Over",above:"Over",abovewithdelims:"Over",brace:["Over","{","}"],brack:["Over","[","]"],choose:["Over","(",")"],frac:"Frac",sqrt:"Sqrt",root:"Root",uproot:["MoveRoot","upRoot"],leftroot:["MoveRoot","leftRoot"],left:"LeftRight",right:"LeftRight",middle:"Middle",llap:"Lap",rlap:"Lap",raise:"RaiseLower",lower:"RaiseLower",moveleft:"MoveLeftRight",moveright:"MoveLeftRight",",":["Spacer",d.LENGTH.THINMATHSPACE],":":["Spacer",d.LENGTH.MEDIUMMATHSPACE],"\x3e":["Spacer",d.LENGTH.MEDIUMMATHSPACE],";":["Spacer",d.LENGTH.THICKMATHSPACE],"!":["Spacer",d.LENGTH.NEGATIVETHINMATHSPACE],enspace:["Spacer",".5em"],quad:["Spacer","1em"],qquad:["Spacer","2em"],thinspace:["Spacer",d.LENGTH.THINMATHSPACE],negthinspace:["Spacer",d.LENGTH.NEGATIVETHINMATHSPACE],hskip:"Hskip",hspace:"Hskip",kern:"Hskip",mskip:"Hskip",mspace:"Hskip",mkern:"Hskip",Rule:["Rule"],Space:["Rule","blank"],big:["MakeBig",d.TEXCLASS.ORD,.85],Big:["MakeBig",d.TEXCLASS.ORD,1.15],bigg:["MakeBig",d.TEXCLASS.ORD,1.45],Bigg:["MakeBig",d.TEXCLASS.ORD,1.75],bigl:["MakeBig",d.TEXCLASS.OPEN,.85],Bigl:["MakeBig",d.TEXCLASS.OPEN,1.15],biggl:["MakeBig",d.TEXCLASS.OPEN,1.45],Biggl:["MakeBig",d.TEXCLASS.OPEN,1.75],bigr:["MakeBig",d.TEXCLASS.CLOSE,.85],Bigr:["MakeBig",d.TEXCLASS.CLOSE,1.15],biggr:["MakeBig",d.TEXCLASS.CLOSE,1.45],Biggr:["MakeBig",d.TEXCLASS.CLOSE,1.75],bigm:["MakeBig",d.TEXCLASS.REL,.85],Bigm:["MakeBig",d.TEXCLASS.REL,1.15],biggm:["MakeBig",d.TEXCLASS.REL,1.45],Biggm:["MakeBig",d.TEXCLASS.REL,1.75],mathord:["TeXAtom",d.TEXCLASS.ORD],mathop:["TeXAtom",d.TEXCLASS.OP],mathopen:["TeXAtom",d.TEXCLASS.OPEN],mathclose:["TeXAtom",d.TEXCLASS.CLOSE],mathbin:["TeXAtom",d.TEXCLASS.BIN],mathrel:["TeXAtom",d.TEXCLASS.REL],mathpunct:["TeXAtom",d.TEXCLASS.PUNCT],mathinner:["TeXAtom",d.TEXCLASS.INNER],vcenter:["TeXAtom",d.TEXCLASS.VCENTER],mathchoice:["Extension","mathchoice"],buildrel:"BuildRel",hbox:["HBox",0],text:"HBox",mbox:["HBox",0],fbox:"FBox",strut:"Strut",mathstrut:["Macro","\\vphantom{(}"],phantom:"Phantom",vphantom:["Phantom",1,0],hphantom:["Phantom",0,1],smash:"Smash",acute:["Accent","00B4"],grave:["Accent","0060"],ddot:["Accent","00A8"],tilde:["Accent","007E"],bar:["Accent","00AF"],breve:["Accent","02D8"],check:["Accent","02C7"],hat:["Accent","005E"],vec:["Accent","2192"],dot:["Accent","02D9"],widetilde:["Accent","007E",1],widehat:["Accent","005E",1],matrix:"Matrix",array:"Matrix",pmatrix:["Matrix","(",")"],cases:["Matrix","{","","left left",null,".1em",null,!0],eqalign:["Matrix",null,null,"right left",d.LENGTH.THICKMATHSPACE,".5em","D"],displaylines:["Matrix",null,null,"center",null,".5em","D"],cr:"Cr","\\":"CrLaTeX",newline:"Cr",hline:["HLine","solid"],hdashline:["HLine","dashed"],eqalignno:["Matrix",null,null,"right left right",d.LENGTH.THICKMATHSPACE+" 3em",".5em","D"],leqalignno:["Matrix",null,null,"right left right",d.LENGTH.THICKMATHSPACE+" 3em",".5em","D"],bmod:["Macro","\\mathbin{\\mmlToken{mo}{mod}}"],pmod:["Macro","\\pod{\\mmlToken{mi}{mod}\\kern 6mu #1}",1],mod:["Macro","\\mathchoice{\\kern18mu}{\\kern12mu}{\\kern12mu}{\\kern12mu}\\mmlToken{mi}{mod}\\,\\,#1",1],pod:["Macro","\\mathchoice{\\kern18mu}{\\kern8mu}{\\kern8mu}{\\kern8mu}(#1)",1],iff:["Macro","\\;\\Longleftrightarrow\\;"],skew:["Macro","{{#2{#3\\mkern#1mu}\\mkern-#1mu}{}}",3],mathcal:["Macro","{\\cal #1}",1],mathscr:["Macro","{\\scr #1}",1],mathrm:["Macro","{\\rm #1}",1],mathbf:["Macro","{\\bf #1}",1],mathbb:["Macro","{\\bbFont #1}",1],Bbb:["Macro","{\\bbFont #1}",1],mathit:["Macro","{\\it #1}",1],mathfrak:["Macro","{\\frak #1}",1],mathsf:["Macro","{\\sf #1}",1],mathtt:["Macro","{\\tt #1}",1],textrm:["Macro","\\mathord{\\rm\\text{#1}}",1],textit:["Macro","\\mathord{\\it{\\text{#1}}}",1],textbf:["Macro","\\mathord{\\bf{\\text{#1}}}",1],pmb:["Macro","\\rlap{#1}\\kern1px{#1}",1],TeX:["Macro","T\\kern-.14em\\lower.5ex{E}\\kern-.115em X"],LaTeX:["Macro","L\\kern-.325em\\raise.21em{\\scriptstyle{A}}\\kern-.17em\\TeX"]," ":["Macro","\\text{ }"],not:"Not",dots:"Dots",space:"Tilde",begin:"Begin",end:"End",newcommand:["Extension","newcommand"],renewcommand:["Extension","newcommand"],newenvironment:["Extension","newcommand"],renewenvironment:["Extension","newcommand"],def:["Extension","newcommand"],let:["Extension","newcommand"],verb:["Extension","verb"],boldsymbol:["Extension","boldsymbol"],tag:["Extension","AMSmath"],notag:["Extension","AMSmath"],label:["Extension","AMSmath"],ref:["Extension","AMSmath"],eqref:["Extension","AMSmath"],nonumber:["Macro","\\notag"],unicode:["Extension","unicode"],color:"Color",href:["Extension","HTML"],"class":["Extension","HTML"],style:["Extension","HTML"],cssId:["Extension","HTML"],bbox:["Extension","bbox"],mmlToken:"MmlToken",require:"Require"},environment:{array:["AlignedArray"],matrix:["Array",null,null,null,"c"],pmatrix:["Array",null,"(",")","c"],bmatrix:["Array",null,"[","]","c"],Bmatrix:["Array",null,"\\{","\\}","c"],vmatrix:["Array",null,"\\vert","\\vert","c"],Vmatrix:["Array",null,"\\Vert","\\Vert","c"],cases:["Array",null,"\\{",".","ll",null,".1em"],equation:[null,"Equation"],"equation*":[null,"Equation"],eqnarray:["ExtensionEnv",null,"AMSmath"],"eqnarray*":["ExtensionEnv",null,"AMSmath"],align:["ExtensionEnv",null,"AMSmath"],"align*":["ExtensionEnv",null,"AMSmath"],aligned:["ExtensionEnv",null,"AMSmath"],multline:["ExtensionEnv",null,"AMSmath"],"multline*":["ExtensionEnv",null,"AMSmath"],split:["ExtensionEnv",null,"AMSmath"],gather:["ExtensionEnv",null,"AMSmath"],"gather*":["ExtensionEnv",null,"AMSmath"],gathered:["ExtensionEnv",null,"AMSmath"],alignat:["ExtensionEnv",null,"AMSmath"],"alignat*":["ExtensionEnv",null,"AMSmath"],alignedat:["ExtensionEnv",null,"AMSmath"]},p_height:1.2/.85});if(this.config.Macros){var b=this.config.Macros,c;for(c in b)b.hasOwnProperty(c)&&(l.macros[c]="string"===typeof b[c]?["Macro",b[c]]:["Macro"].concat(b[c]),l.macros[c].isUser=!0)}},config:{MAXMACROS:1E4,MAXBUFFER:5120},sourceMenuTitle:["TeXCommands","TeX Commands"],prefilterHooks:MathJax.Callback.Hooks(!0),postfilterHooks:MathJax.Callback.Hooks(!0),Config:function(){this.SUPER(arguments).Config.apply(this,arguments);"none"!==this.config.equationNumbers.autoNumber&&(this.config.extensions||(this.config.extensions=[]),this.config.extensions.push("AMSmath.js"))},Translate:function(b){var c,e=!1,h=MathJax.HTML.getScript(b),g=null!=b.type.replace(/\n/g," ").match(/(;|\s|\n)mode\s*=\s*display(;|\s|\n|$)/),k={math:h,display:g,script:b};this.prefilterHooks.Execute(k);h=k.math;try{c=a.Parse(h).mml()}catch(f){if(!f.texError)throw f;c=this.formatError(f,h,g,b);e=!0}c=c.inferred?d.apply(MathJax.ElementJax,c.data):d(c);g&&(c.root.display="block");e&&(c.texError=!0);k.math=c;this.postfilterHooks.Execute(k);return k.math},prefilterMath:function(b,c,a){return b},postfilterMath:function(b,c,a){this.combineRelations(b.root);return b},formatError:function(b,c,a,e){b=b.message.replace(/\n.*/,"");f.signal.Post(["TeX Jax - parse error",b,c,a,e]);return d.merror(b)},Error:function(b){b instanceof Array&&(b=g.apply(g,b));throw f.Insert(Error(b),{texError:!0});},Macro:function(b,c,a){l.macros[b]=["Macro"].concat([].slice.call(arguments,1));l.macros[b].isUser=!0},fenced:function(b,c,a){var e=d.mrow();e.open=b;e.close=a;b&&e.Append(d.mo(b).With({fence:!0,stretchy:!0,texClass:d.TEXCLASS.OPEN}));"mrow"===c.type?e.Append.apply(e,c.data):e.Append(c);a&&e.Append(d.mo(a).With({fence:!0,stretchy:!0,texClass:d.TEXCLASS.CLOSE}));return e},combineRelations:function(b){var c,a,e,g;c=0;for(a=b.data.length;c]* xmlns:/)&&(a=a.replace(/^<([a-z]+)(:math)/i,'\x3c$1$2 xmlns:$1\x3d"http://www.w3.org/1998/Math/MathML"'));var d=a.match(/^(])+)>)/i);d&&d[2].match(/ (?!xmlns=)[a-z]+=\"http:/i)&&(a=d[1].replace(/ (?!xmlns=)([a-z]+=(['"])http:.*?\2)/ig," xmlns:$1 $1")+a.substr(d[0].length));a.match(/^]* xmlns=/)&&(a=a.replace(/^<(math)/i,'\x3cmath xmlns\x3d"http://www.w3.org/1998/Math/MathML"'));a=a.replace(/^\s*(?:\/\/)?\s*$/,"$2");return a.replace(/&([a-z][a-z0-9]*);/ig,this.replaceEntity)},trimSpace:function(a){return a.replace(/[\t\n\r]/g," ").replace(/^ +/,"").replace(/ +$/,"").replace(/ +/g," ")},replaceEntity:function(d,e){if(e.match(/^(lt|amp|quot)$/))return d;if(a.Parse.Entity[e])return a.Parse.Entity[e];var f=e.charAt(0).toLowerCase(),l=e.match(/^[a-zA-Z](fr|scr|opf)$/);l&&(f=l[1]);a.Parse.loaded[f]||(a.Parse.loaded[f]=!0,MathJax.Hub.RestartAfter(MathJax.Ajax.Require(a.entityDir+"/"+f+".js")));return d}},{loaded:[]});a.Augment({sourceMenuTitle:["OriginalMathML","Original MathML"],prefilterHooks:MathJax.Callback.Hooks(!0),postfilterHooks:MathJax.Callback.Hooks(!0),Translate:function(d){this.ParseXML||(this.ParseXML=this.createParser());var p,n,l={script:d};d.firstChild&&"math"===d.firstChild.nodeName.toLowerCase().replace(/^[a-z]+:/,"")?l.math=d.firstChild:(n=MathJax.HTML.getScript(d),f.isMSIE&&(n=n.replace(/( )+$/,"")),l.math=n);this.prefilterHooks.Execute(l);n=l.math;try{p=a.Parse(n).mml}catch(c){if(!c.mathmlError)throw c;p=this.formatError(c,n,d)}l.math=e(p);this.postfilterHooks.Execute(l);return l.math},prefilterMath:function(a,d){return a},prefilterMathML:function(a,d){return a},formatError:function(a,d,f){a=a.message.replace(/\n.*/,"");MathJax.Hub.signal.Post(["MathML Jax - parse error",a,d,f]);return e.merror(a)},Error:function(a){a instanceof Array&&(a=d.apply(d,a));throw MathJax.Hub.Insert(Error(a),{mathmlError:!0});},parseDOM:function(a){return this.parser.parseFromString(a,"text/xml")},parseMS:function(a){return this.parser.loadXML(a)?this.parser:null},parseDIV:function(a){this.div.innerHTML=a.replace(/<([a-z]+)([^>]*)\/>/g,"\x3c$1$2\x3e\x3c/$1\x3e");return this.div},parseError:function(a){return null},createMSParser:function(){for(var a=null,d="MSXML2.DOMDocument.6.0 MSXML2.DOMDocument.5.0 MSXML2.DOMDocument.4.0 MSXML2.DOMDocument.3.0 MSXML2.DOMDocument.2.0 Microsoft.XMLDOM".split(" "),e=0,f=d.length;e=b.SVGlast+b.SVGchunk&&(this.postTranslate(b),b.SVGchunk=Math.floor(b.SVGchunk*this.config.EqnChunkFactor),b.SVGdelay=!0))}},postTranslate:function(c){var b=c.jax[this.id];if(this.hideProcessedMath){for(var a=c.SVGlast,d=c.SVGeqn;aMath.abs(c)?"0em":c.toFixed(3).replace(/\.?0+$/,"")+"em"},Ex:function(c){c=Math.round(c/this.TeX.x_height*this.ex)/this.ex;return 6E-4>Math.abs(c)?"0ex":c.toFixed(3).replace(/\.?0+$/,"")+"ex"},Percent:function(c){return(100*c).toFixed(1).replace(/\.?0+$/,"")+"%"},length2em:function(c,b,a){"string"!==typeof c&&(c=c.toString());if(""===c)return"";if(c===g.SIZE.NORMAL)return 1E3;if(c===g.SIZE.BIG)return 2E3;if(c===g.SIZE.SMALL)return 710;if("infinity"===c)return d.BIGDIMEN;if(c.match(/mathspace$/))return 1E3*d.MATHSPACE[c];var e=c.match(/^\s*([-+]?(?:\.\d+|\d+(?:\.\d*)?))?(pt|em|ex|mu|px|pc|in|mm|cm|%)?/);c=1E3*parseFloat(e[1]||"1");e=e[2];null==a&&(a=1E3);null==b&&(b=1);return"em"===e?c:"ex"===e?c*d.TeX.x_height/1E3:"%"===e?c/100*a/1E3:"px"===e?c/d.em:"pt"===e?c/10:"pc"===e?1.2*c:"in"===e?c*this.pxPerInch/d.em:"cm"===e?c*this.pxPerInch/d.em/2.54:"mm"===e?c*this.pxPerInch/d.em/25.4:"mu"===e?c/18*b:c*a/1E3},thickness2em:function(c,b){var a=d.TeX.rule_thickness;return c===g.LINETHICKNESS.MEDIUM?a:c===g.LINETHICKNESS.THIN?.67*a:c===g.LINETHICKNESS.THICK?1.67*a:this.length2em(c,b,a)},getPadding:function(c){var b={top:0,right:0,bottom:0,left:0},a=!1,d;for(d in b)if(b.hasOwnProperty(d)){var e=c.style["padding"+d.charAt(0).toUpperCase()+d.substr(1)];e&&(b[d]=this.length2em(e),a=!0)}return a?b:!1},getBorders:function(c){var b={top:0,right:0,bottom:0,left:0},a=!1,d;for(d in b)if(b.hasOwnProperty(d)){var e="border"+d.charAt(0).toUpperCase()+d.substr(1);c.style[e+"Style"]&&(a=!0,b[d]=this.length2em(c.style[e+"Width"]),b[d+"Style"]=c.style[e+"Style"],b[d+"Color"]=c.style[e+"Color"],"initial"===b[d+"Color"]&&(b[d+"Color"]=""))}return a?b:!1},Element:function(c,b){var a="string"===typeof c?document.createElementNS("http://www.w3.org/2000/svg",c):c;a.isMathJax=!0;if(b)for(var d in b)b.hasOwnProperty(d)&&a.setAttribute(d,b[d].toString());return a},addElement:function(c,b,a){return c.appendChild(this.Element(b,a))},TextNode:e.TextNode,addText:e.addText,ucMatch:e.ucMatch,HandleVariant:function(c,b,a){var e=p.G(),h,r,k,q,n,l,w,v;c||(c=this.FONTDATA.VARIANT[g.VARIANT.NORMAL]);c.forceFamily&&(a=p.TEXT(b,a,c.font),null!=c.h&&(a.h=c.h),null!=c.d&&(a.d=c.d),e.Add(a),a="");q=c;n=0;for(l=a.length;nh)n++,h=(h-55296<<10)+(a.charCodeAt(n)-56320)+65536,this.FONTDATA.RemapPlane1&&(c=this.FONTDATA.RemapPlane1(h,c),h=c.n,c=c.variant);else for(v=this.FONTDATA.RANGES,k=0,w=v.length;k=v[k].low&&h<=v[k].high){v[k].remap&&v[k].remap[h]?h=r+v[k].remap[h]:(h=h-v[k].low+r,v[k].add&&(h+=v[k].add));c["variant"+v[k].offset]&&(c=this.FONTDATA.VARIANT[c["variant"+v[k].offset]]);break}c.remap&&c.remap[h]&&(c.remap[h]instanceof Array?(c=c.remap[h],h=c[0],c=this.FONTDATA.VARIANT[c[1]]):"string"===typeof c.remap[h]?(a=c.remap[h]+a.substr(n+1),n=0,l=a.length,h=a.charCodeAt(0)):(h=c.remap[h],c.remap.variant&&(c=this.FONTDATA.VARIANT[c.remap.variant])));this.FONTDATA.REMAP[h]&&!c.noRemap&&(h=this.FONTDATA.REMAP[h],h instanceof Array&&(c=this.FONTDATA.VARIANT[h[1]],h=h[0]),"string"===typeof h&&(a=h+a.substr(n+1),n=0,l=a.length,h=h.charCodeAt(0)));k=this.lookupChar(c,h);(r=k[h])?r[5]&&r[5].space?e.w+=r[2]:(r=[b,k.id+"-"+h.toString(16).toUpperCase()].concat(r),e.Add(p.GLYPH.apply(p,r),e.w,0)):this.FONTDATA.DELIMITERS[h]?(r=this.createDelimiter(h,0,1,k),e.Add(r,e.w,"V"===this.FONTDATA.DELIMITERS[h].dir?r.d:0)):(65535>=h?r=String.fromCharCode(h):(r=h-65536,r=String.fromCharCode((r>>10)+55296)+String.fromCharCode((r&1023)+56320)),w=p.TEXT(b,r,{"font-family":c.defaultFamily||d.config.undefinedFamily,"font-style":c.italic?"italic":"","font-weight":c.bold?"bold":""}),null!=c.h&&(w.h=c.h),null!=c.d&&(w.d=c.d),r=p.G(),r.Add(w),e.Add(r,e.w,0),f.signal.Post(["SVG Jax - unknown char",h,c]))}1==a.length&&k.skew&&k.skew[h]&&(e.skew=1E3*k.skew[h]);1===e.element.childNodes.length&&(e.element=e.element.firstChild,e.removeable=!1,e.scale=b);return e},lookupChar:function(c,b){var a,d;if(!c.FONTS){var e=this.FONTDATA.FONTS,f=c.fonts||this.FONTDATA.VARIANT.normal.fonts;f instanceof Array||(f=[f]);c.fonts!=f&&(c.fonts=f);c.FONTS=[];a=0;for(d=f.length;a=b-10-d.config.blacker||q==n-1&&!k.stretch)return k.HW[q][2]&&(e*=k.HW[q][2]),k.HW[q][3]&&(c=k.HW[q][3]),this.createChar(e,[c,k.HW[q][1]],t).With({stretched:!0});if(k.stretch)this["extendDelimiter"+k.dir](h,r,k.stretch,e,t);return h},createChar:function(c,b,a){var d="",e={fonts:[b[1]],noRemap:!0};a&&a===g.VARIANT.BOLD&&(e.fonts=[b[1]+"-bold",b[1]]);"string"!==typeof b[1]&&(e=b[1]);if(b[0]instanceof Array){a=0;for(var f=b[0].length;ag)for(h=this.createChar(e,a.ext,h),f=a.mid?2:1,b=(b-g)/f,g=(b+100)/(h.h+h.d);0g){h=this.createChar(e,a.rep,h);var l=a.fuzz||0,p=a.mid?2:1;b=(b-g)/p;for(g=(b+l)/(h.r-h.l);0Math.abs(c.x)&&1>Math.abs(c.y)?c.remove=c.removeable:"g"===c.element.nodeName?c.element.firstChild?c.element.setAttribute("transform","translate("+Math.floor(c.x)+","+Math.floor(c.y)+")"):c.remove=c.removeable:"line"===c.element.nodeName||"polygon"===c.element.nodeName||"path"===c.element.nodeName||"a"===c.element.nodeName?c.element.setAttribute("transform","translate("+Math.floor(c.x)+","+Math.floor(c.y)+")"):(c.element.setAttribute("x",Math.floor(c.x/c.scale)),c.element.setAttribute("y",Math.floor(c.y/c.scale)));if(c.remove)for(this.n+=c.n;c.element.firstChild;)e&&this.element.firstChild?this.element.insertBefore(c.element.firstChild,this.element.firstChild):this.element.appendChild(c.element.firstChild);else e?this.element.insertBefore(c.element,this.element.firstChild):this.element.appendChild(c.element);delete c.element}c.hasIndent&&(this.hasIndent=c.hasIndent);c.d-c.y>this.d&&(this.d=c.d-c.y,this.d>this.D&&(this.D=this.d));c.y+c.h>this.h&&(this.h=c.y+c.h,this.h>this.H&&(this.H=this.h));c.D-c.y>this.D&&(this.D=c.D-c.y);c.y+c.H>this.H&&(this.H=c.y+c.H);c.x+c.lthis.r&&(this.r=c.x+c.r);if(d||c.x+c.w+(c.X||0)>this.w)this.w=c.x+c.w+(c.X||0);this.childScale=c.scale;this.childX=c.x;this.childY=c.y;this.n++;return c},Align:function(c,b,a,d){a={left:a,center:(this.w-c.w)/2,right:this.w-c.w-a}[b]||0;this.Add(c,a,d)},Clean:function(){this.h===-d.BIGDIMEN&&(this.h=this.d=this.l=0);return this}});p.ROW=p.Subclass({Init:function(){this.SUPER(arguments).Init.call(this);this.svg=[];this.sh=this.sd=0},Check:function(c){var b=c.toSVG();this.svg.push(b);c.SVGcanStretch("Vertical")&&(b.mml=c);b.h>this.sh&&(this.sh=b.h);b.d>this.sd&&(this.sd=b.d)},Stretch:function(){for(var c=0,b=this.svg.length;cb.w&&1===a.length&&!c.noIC&&(b.ic=b.r-b.w,b.w=b.r);this.SVGhandleColor(b);this.SVGsaveData(b);return b},SVGchildSVG:function(c){return this.data[c]?this.data[c].toSVG():p()},SVGdataStretched:function(c,b,a){this.SVGdata={HW:b,D:a};return this.data[c]?null!=a?this.data[c].SVGstretchV(b,a):null!=b?this.data[c].SVGstretchH(b):this.data[c].toSVG():p()},SVGsaveData:function(c){this.SVGdata||(this.SVGdata={});this.SVGdata.w=c.w;this.SVGdata.x=c.x;this.SVGdata.h=c.h;this.SVGdata.d=c.d;null!=c.X&&(this.SVGdata.X=c.X);this["class"]&&(c.removeable=!1,d.Element(c.element,{"class":this["class"]}));this.id&&(c.removeable=!1,d.Element(c.element,{id:this.id}));if(this.href){var b=d.Element("a",{"class":"mjx-svg-href"});b.setAttributeNS("http://www.w3.org/1999/xlink","href",this.href);b.onclick=this.SVGlink;d.addElement(b,"rect",{width:c.w,height:c.h+c.d,y:-c.d,fill:"none",stroke:"none","pointer-events":"all"});if("svg"===c.type){for(var a=c.element.firstChild;a.firstChild;)b.appendChild(a.firstChild);a.appendChild(b)}else b.appendChild(c.element),c.element=b;c.removeable=!1}d.config.addMMLclasses&&(this.SVGaddClass(c.element,"mjx-svg-"+this.type),c.removeable=!1);(b=this.style)&&c.element&&(c.element.style.cssText=b,c.element.style.fontSize&&(c.element.style.fontSize=""),c.element.style.border=c.element.style.padding="",c.removeable&&(c.removeable=""===c.element.style.cssText))},SVGaddClass:function(c,b){var a=c.getAttribute("class");c.setAttribute("class",(a?a+" ":"")+b)},SVGlink:function(){var c=this.href.animVal;if("#"===c.charAt(0)){var b=d.hashCheck(document.getElementById(c.substr(1)));b&&b.scrollIntoView&&setTimeout(function(){b.parentNode.scrollIntoView(!0)},1)}document.location=c},SVGgetStyles:function(){if(this.style){var c=e.Element("span");c.style.cssText=this.style;this.styles={border:d.getBorders(c),padding:d.getPadding(c)};c.style.fontSize&&(this.styles.fontSize=c.style.fontSize);c.style.color&&(this.styles.color=c.style.color);c.style.backgroundColor&&(this.styles.background=c.style.backgroundColor);c.style.fontStyle&&(this.styles.fontStyle=c.style.fontStyle);c.style.fontWeight&&(this.styles.fontWeight=c.style.fontWeight);c.style.fontFamily&&(this.styles.fontFamily=c.style.fontFamily);this.styles.fontWeight&&this.styles.fontWeight.match(/^\d+$/)&&(this.styles.fontWeight=600=b.scriptlevel||this.hasValue("lspace")||this.hasValue("rspace")){var a=this.SVGgetMu(c);b.lspace=Math.max(0,d.length2em(b.lspace,a));b.rspace=Math.max(0,d.length2em(b.rspace,a));for(var a=this,e=this.Parent();e&&e.isEmbellished()&&e.Core()===a;)a=e,e=e.Parent();b.lspace&&(c.x+=b.lspace);b.rspace&&(c.X=b.rspace)}}}else b=this.texSpacing(),""!==b&&(c.x+=d.length2em(b,this.SVGgetScale())/c.scale)},SVGhandleColor:function(c){var b=this.getValues("mathcolor","color");this.styles&&this.styles.color&&!b.color&&(b.color=this.styles.color);b.color&&!this.mathcolor&&(b.mathcolor=b.color);b.mathcolor&&(d.Element(c.element,{fill:b.mathcolor,stroke:b.mathcolor}),c.removeable=!1);var a=(this.styles||{}).border,e=(this.styles||{}).padding,h=(a||{}).left||0,f=(e||{}).left||0,k;b.background=this.mathbackground||this.background||(this.styles||{}).background||g.COLOR.TRANSPARENT;if(h+f){var n=p();for(k in c)c.hasOwnProperty(k)&&(n[k]=c[k]);n.x=0;n.y=0;c.element=d.Element("g");c.removeable=!0;c.Add(n,h+f,0)}e&&(c.w+=e.right,c.h+=e.top,c.d+=e.bottom);a&&(c.w+=a.right,c.h+=a.top,c.d+=a.bottom);b.background!==g.COLOR.TRANSPARENT&&("g"!==c.element.nodeName&&"svg"!==c.element.nodeName&&(e=d.Element("g"),e.appendChild(c.element),c.element=e,c.removeable=!0),c.Add(p.RECT(c.h,c.d,c.w,{fill:b.background,stroke:"none"}),0,0,!1,!0));if(a)for(k in b={left:["V",c.h+c.d,-5,-c.d],right:["V",c.h+c.d,c.w-a.right+5,-c.d],top:["H",c.w,0,c.h-a.top+5],bottom:["H",c.w,0,-c.d-5]},b)b.hasOwnProperty(k)&&a[k]&&(e=b[k],c.Add((0,p[e[0]+"LINE"])(e[1],a[k],a[k+"Style"],a[k+"Color"]),e[2],e[3]))},SVGhandleVariant:function(c,b,a){return d.HandleVariant(c,b,a)},SVGgetVariant:function(){var c=this.getValues("mathvariant","fontfamily","fontweight","fontstyle"),b=c.mathvariant;this.variantForm&&(b="-TeX-variant");c.hasVariant=this.Get("mathvariant",!0);c.hasVariant||(c.family=c.fontfamily,c.weight=c.fontweight,c.style=c.fontstyle);this.styles&&(!c.style&&this.styles.fontStyle&&(c.style=this.styles.fontStyle),!c.weight&&this.styles.fontWeight&&(c.weight=this.styles.fontWeight),!c.family&&this.styles.fontFamily&&(c.family=this.styles.fontFamily));if(c.family&&!c.hasVariant)return!c.weight&&c.mathvariant.match(/bold/)&&(c.weight="bold"),!c.style&&c.mathvariant.match(/italic/)&&(c.style="italic"),b={forceFamily:!0,font:{"font-family":c.family}},c.style&&(b.font["font-style"]=c.style),c.weight&&(b.font["font-weight"]=c.weight),b;"bold"===c.weight?b={normal:g.VARIANT.BOLD,italic:g.VARIANT.BOLDITALIC,fraktur:g.VARIANT.BOLDFRAKTUR,script:g.VARIANT.BOLDSCRIPT,"sans-serif":g.VARIANT.BOLDSANSSERIF,"sans-serif-italic":g.VARIANT.SANSSERIFBOLDITALIC}[b]||b:"normal"===c.weight&&(b={bold:g.VARIANT.normal,"bold-italic":g.VARIANT.ITALIC,"bold-fraktur":g.VARIANT.FRAKTUR,"bold-script":g.VARIANT.SCRIPT,"bold-sans-serif":g.VARIANT.SANSSERIF,"sans-serif-bold-italic":g.VARIANT.SANSSERIFITALIC}[b]||b);"italic"===c.style?b={normal:g.VARIANT.ITALIC,bold:g.VARIANT.BOLDITALIC,"sans-serif":g.VARIANT.SANSSERIFITALIC,"bold-sans-serif":g.VARIANT.SANSSERIFBOLDITALIC}[b]||b:"normal"===c.style&&(b={italic:g.VARIANT.NORMAL,"bold-italic":g.VARIANT.BOLD,"sans-serif-italic":g.VARIANT.SANSSERIF,"sans-serif-bold-italic":g.VARIANT.BOLDSANSSERIF}[b]||b);b in d.FONTDATA.VARIANT||(b="normal");return d.FONTDATA.VARIANT[b]},SVGgetScale:function(){var c=1,b=this.getValues("mathsize","scriptlevel","fontsize");(this.styles||{}).fontSize&&!b.fontsize&&(b.fontsize=this.styles.fontSize);b.fontsize&&!this.mathsize&&(b.mathsize=b.fontsize);0!==b.scriptlevel&&(210*p.w&&(w+=-p.l),a.Add(p,w,0,!0),p.skew&&(a.skew=p.skew));a.Clean();1!==this.data.join("").length&&delete a.skew;n.largeop&&(a.y=(a.h-a.d)/2/e-d.TeX.axis_height,a.r>a.w&&(a.ic=a.r-a.w,a.w=a.r));this.SVGhandleColor(a);this.SVGsaveData(a);return a},CoreParent:function(){for(var c=this;c&&c.isEmbellished()&&c.CoreMO()===this&&!c.isa(g.math);)c=c.Parent();return c},CoreText:function(c){if(!c)return"";if(c.isEmbellished())return c.CoreMO().data.join("");for(;(c.isa(g.mrow)||c.isa(g.TeXAtom)||c.isa(g.mstyle)||c.isa(g.mphantom))&&1===c.data.length&&c.data[0];)c=c.data[0];return c.isToken?c.data.join(""):""},SVGremapChars:{"*":"\u2217",'"':"\u2033","\u00b0":"\u2218","\u00b2":"2","\u00b3":"3","\u00b4":"\u2032","\u00b9":"1"},SVGremap:function(c,b){c=c.replace(/-/g,"\u2212");b&&(c=c.replace(/'/g,"\u2032").replace(/`/g,"\u2035"),1===c.length&&(c=b[c]||c));return c},SVGcanStretch:function(c){if(!this.Get("stretchy"))return!1;var b=this.data.join("");if(1b.w&&(b.x=b.w,b.w=b.r=0);b.h<-b.d&&(b.d=-b.h);b.l=0;b.Clean();this.SVGhandleColor(b);this.SVGsaveData(b);return b}});g.mphantom.Augment({toSVG:function(c,b){this.SVGgetStyles();var a=this.SVG();if(null!=this.data[0])for(this.SVGhandleSpace(a),a.Add(this.SVGdataStretched(0,c,b)),a.Clean();a.element.firstChild;)a.element.removeChild(a.element.firstChild);this.SVGhandleColor(a);this.SVGsaveData(a);a.removeable&&!a.element.firstChild&&delete a.element;return a}});g.mpadded.Augment({toSVG:function(a,b){this.SVGgetStyles();var d=this.SVG();if(null!=this.data[0]){this.SVGhandleSpace(d);var e=this.SVGdataStretched(0,a,b),f=this.SVGgetMu(d),g=this.getValues("height","depth","width","lspace","voffset"),k=0,n=0;g.lspace&&(k=this.SVGlength2em(e,g.lspace,f));g.voffset&&(n=this.SVGlength2em(e,g.voffset,f));var l=e.h,p=e.d,w=e.w;d.Add(e,k,n);d.Clean();d.h=l;d.d=p;d.w=w;d.removeable=!1;""!==g.height&&(d.h=this.SVGlength2em(d,g.height,f,"h",0));""!==g.depth&&(d.d=this.SVGlength2em(d,g.depth,f,"d",0));""!==g.width&&(d.w=this.SVGlength2em(d,g.width,f,"w",0));d.h>d.H&&(d.H=d.h);d.d>d.D&&(d.D=d.d)}this.SVGhandleColor(d);this.SVGsaveData(d);return d},SVGlength2em:function(a,b,e,f,h){null==h&&(h=-d.BIGDIMEN);var g=String(b).match(/width|height|depth/),g=g?a[g[0].charAt(0)]:f?a[f]:0;e=d.length2em(b,e,g);return f&&String(b).match(/^\s*[-+]/)?Math.max(h,a[f]+e):e}});g.mrow.Augment({SVG:p.ROW,toSVG:function(){this.SVGgetStyles();var a=this.SVG();this.SVGhandleSpace(a);for(var b=0,d=this.data.length;bd.linebreakWidth||this.hasNewline():!1},SVGmultiline:function(a){g.mbase.SVGautoloadFile("multiline")},SVGstretchH:function(a){a=this.data[this.core].SVGstretchH(a);this.SVGhandleColor(a);this.SVGsaveData(a);return a},SVGstretchV:function(a,b){var d=this.data[this.core].SVGstretchV(a,b);this.SVGhandleColor(d);this.SVGsaveData(d);return d}});g.mstyle.Augment({toSVG:function(){this.SVGgetStyles();var a=this.SVG();if(null!=this.data[0]){this.SVGhandleSpace(a);var b=a.Add(this.data[0].toSVG());a.Clean();b.ic&&(a.ic=b.ic);this.SVGhandleColor(a)}this.SVGsaveData(a);return a},SVGstretchH:function(a){return null!=this.data[0]?this.data[0].SVGstretchH(a):p.NULL()},SVGstretchV:function(a,b){return null!=this.data[0]?this.data[0].SVGstretchV(a,b):p.NULL()}});g.mfrac.Augment({toSVG:function(){this.SVGgetStyles();var a=this.SVG();this.SVGhandleSpace(a);var b=this.SVGchildSVG(0),e=this.SVGchildSVG(1),f=this.getValues("displaystyle","linethickness","numalign","denomalign","bevelled"),h=a.scale=this.SVGgetScale(),g=f.displaystyle,k=d.TeX.axis_height*h;if(f.bevelled){var f=g?400:150,n=d.createDelimiter(47,Math.max(b.h+b.d,e.h+e.d)+2*f);a.Add(b,0,(b.d-b.h)/2+k+f);a.Add(n,b.w-f/2,(n.d-n.h)/2+k);a.Add(e,b.w+n.w-f,(e.d-e.h)/2+k-f)}else{var n=Math.max(b.w,e.w),l=d.thickness2em(f.linethickness,h),u,w,v=d.TeX.min_rule_thickness/d.em*1E3;g?(u=d.TeX.num1,w=d.TeX.denom1):(u=0===l?d.TeX.num3:d.TeX.num2,w=d.TeX.denom2);u*=h;w*=h;0===l?(h=Math.max((g?7:3)*d.TeX.rule_thickness,2*v),g=u-b.d-(e.h-w),gn&&(k=(f.h+f.d-(n-g))/2);e=p.RECT(g,0,b.w);n=b.h+k+g;l=this.SVGaddRoot(a,f,l,f.h+f.d-n,h);a.Add(f,l,n-f.h);a.Add(e,l+f.w,n-e.h);a.Add(b,l+f.w,0);a.Clean();a.h+=g;a.H+=g;this.SVGhandleColor(a);this.SVGsaveData(a);return a},SVGaddRoot:function(a,b,d,e,f){return d}});g.mroot.Augment({toSVG:g.msqrt.prototype.toSVG,SVGaddRoot:function(a,b,d,e,f){var g=(b.isMultiChar?.55:.65)*b.w;if(this.data[1]){var k=this.data[1].toSVG();k.x=0;b=this.SVGrootHeight(b.h+b.d,f,k)-e;e=Math.min(k.w,k.r);d=Math.max(e,g);a.Add(k,d-e,b)}else g=d;return d-g},SVGrootHeight:function(a,b,d){return.45*(a-900*b)+600*b+Math.max(0,d.d-75)}});g.mfenced.Augment({SVG:p.ROW,toSVG:function(){this.SVGgetStyles();var a=this.SVG();this.SVGhandleSpace(a);this.data.open&&a.Check(this.data.open);null!=this.data[0]&&a.Check(this.data[0]);for(var b=1,d=this.data.length;bw&&(w=n[l].w),!k[l]&&w>u&&(u=w));null==b&&null!=a?u=a:u==-d.BIGDIMEN&&(u=w);l=w=0;for(A=this.data.length;lw&&(w=n[l].w));var u=d.TeX.rule_thickness,v=n[this.base]||{w:0,h:0,d:0,H:0,D:0,l:0,r:0,scale:h},x,B,z,F,y=0;v.ic&&(y=1.3*v.ic+.05);l=0;for(A=this.data.length;l=k.w&&(k.x=-k.l,n[l]=p.G().With({removeable:!1}),n[l].Add(k),n[l].Clean(),n[l].w=-k.l,k=n[l]),x={left:0,center:(w-k.w)/2,right:w-k.w}[e.align],B=0,l==this.over?(z?(z=u*h,F=0,v.skew&&(x+=v.skew)):(z=d.TeX.big_op_spacing1*h,B=d.TeX.big_op_spacing3*h,z=Math.max(z,B-Math.max(0,k.d))),z=Math.max(z,1500/d.em),x+=y/2,B=v.h+k.d+z,k.h+=F,k.h>k.H&&(k.H=k.h)):l==this.under&&(z?(z=3*u*h,F=0):(z=d.TeX.big_op_spacing2*h,B=d.TeX.big_op_spacing4*h,z=Math.max(z,B-k.h)),z=Math.max(z,1500/d.em),x-=y/2,B=-(v.d+k.h+z),k.d+=F,k.d>k.D&&(k.D=k.d)),f.Add(k,x,B));f.Clean();this.SVGhandleColor(f);this.SVGsaveData(f);return f}});g.msubsup.Augment({toSVG:function(a,b){this.SVGgetStyles();var e=this.SVG();this.SVGhandleSpace(e);var f=e.scale=this.SVGgetScale(),h=this.SVGgetMu(e),g=e.Add(this.SVGdataStretched(this.base,a,b)),k=(this.data[this.sup]||this.data[this.sub]||this).SVGgetScale(),n=d.TeX.x_height*f,l=d.TeX.scriptspace*f,p,w;this.SVGnotEmpty(this.data[this.sup])&&(p=this.data[this.sup].toSVG(),p.w+=l,p.r=Math.max(p.w,p.r));this.SVGnotEmpty(this.data[this.sub])&&(w=this.data[this.sub].toSVG(),w.w+=l,w.r=Math.max(w.w,w.r));var v=d.TeX.sup_drop*k,l=g.h+(g.y||0)-v,x=g.d-(g.y||0)+d.TeX.sub_drop*k,k=0;g.ic&&(g.w-=g.ic,k=1.3*g.ic+.05);!this.data[this.base]||"mi"!==this.data[this.base].type&&"mo"!==this.data[this.base].type||1!==this.data[this.base].data.join("").length||1!==g.scale||g.stretched||this.data[this.base].Get("largeop")||(l=x=0);var B=this.getValues("subscriptshift","superscriptshift");B.subscriptshift=""===B.subscriptshift?0:d.length2em(B.subscriptshift,h);B.superscriptshift=""===B.superscriptshift?0:d.length2em(B.superscriptshift,h);p?w?(x=Math.max(x,d.TeX.sub2*f),f*=d.TeX.rule_thickness,l-p.d-(w.h-x)<3*f&&(x=3*f-l+p.d+w.h,v=.8*n-(l-p.d),0l.h||l.D>l.d)h=e.Element("span",{style:{display:"inline-block","white-space":"nowrap",padding:"1px 0px"},isMathJax:!0},[["span",{style:{display:"inline-block",position:"relative",isMathJax:!0,width:d.Ex(l.w),height:d.Ex(l.h+l.d),"vertical-align":d.Ex(-l.d)}}]]),h.firstChild.appendChild(l.element),l.element=h,m.verticalAlign=m.margin="",m.position="absolute",m.bottom=d.Ex(l.d-l.D),m.left=0;a.appendChild(l.element);l.element=null;this.isMultiline||"block"!==this.Get("display")||(m=this.getValues("indentalignfirst","indentshiftfirst","indentalign","indentshift"),m.indentalignfirst!==g.INDENTALIGN.INDENTALIGN&&(m.indentalign=m.indentalignfirst),m.indentalign===g.INDENTALIGN.AUTO&&(m.indentalign=this.displayAlign),b.style.textAlign=m.indentalign,m.indentshiftfirst!==g.INDENTSHIFT.INDENTSHIFT&&(m.indentshift=m.indentshiftfirst),"auto"===m.indentshift&&(m.indentshift=this.displayIndent),m.indentshift&&m.indentalign!==g.INDENTALIGN.CENTER&&!l.hasIndent&&(a.style[{left:"marginLeft",right:"marginRight"}[m.indentalign]]=d.Ex(d.length2em(m.indentshift))))}return a}});g.TeXAtom.Augment({toSVG:function(){this.SVGgetStyles();var a=this.SVG();this.SVGhandleSpace(a);if(null!=this.data[0]){var b=this.data[0].toSVG(),e=0;this.texClass===g.TEXCLASS.VCENTER&&(e=d.TeX.axis_height-(b.h+b.d)/2+b.d);a.Add(b,0,e);a.ic=b.ic}this.SVGhandleColor(a);this.SVGsaveData(a);return a}});f.Register.StartupHook("onLoad",function(){setTimeout(MathJax.Callback(["loadComplete",d,"jax.js"]),0)})});f.Browser.Select({Opera:function(a){d.Augment({operaZoomRefresh:!0})}});f.Register.StartupHook("End Cookie",function(){"None"!==f.config.menuSettings.zoom&&a.Require("[MathJax]/extensions/MathZoom.js")});document.createElementNS||(document.namespaces.svg||document.namespaces.add("svg","http://www.w3.org/2000/svg"),d.Augment({Element:function(a,b){var d="string"===typeof a?document.createElement("svg:"+a):a;d.isMathJax=!0;if(b)for(var e in b)b.hasOwnProperty(e)&&d.setAttribute(e,b[e].toString());return d}}))})(MathJax.Ajax,MathJax.Hub,MathJax.HTML,MathJax.OutputJax.SVG);MathJax.Hub.Register.StartupHook("SVG Jax Ready",function(){var a=MathJax.ElementJax.mml,f=MathJax.OutputJax.SVG,e=f.BBOX;a.mtable.Augment({toSVG:function(d){this.SVGgetStyles();d=this.SVG();if(0===this.data.length)return this.SVGsaveData(d),d;var g=this.getValues("columnalign","rowalign","columnspacing","rowspacing","columnwidth","equalcolumns","equalrows","columnlines","rowlines","frame","framespacing","align","useHeight","width","side","minlabelspacing");g.width.match(/%$/)&&(d.width=g.width=Math.floor(f.cwidth*parseFloat(g.width)/100)+"px");var p=this.SVGgetScale(),n=this.SVGgetMu(d),l=[],c=[],b=[],m=[],t=[],h,r,k=-1,q,A,u,w,v,x,B=f.FONTDATA.baselineskip*p*g.useHeight,z=f.FONTDATA.lineH*p,F=f.FONTDATA.lineD*p;h=0;for(q=this.data.length;hk&&(k=r),t[r]=e.G(),b[r]=-f.BIGDIMEN);v=w.data[r-u];m[h][r]=v.toSVG();if(v.isEmbellished()){x=v.CoreMO();var y=x.Get("minsize",!0);if(y)if(x.SVGcanStretch("Vertical")){if(v=x.SVGdata.h+x.SVGdata.d)y=f.length2em(y,n,v),y*x.SVGdata.h/v>l[r]&&(l[r]=y*x.SVGdata.h/v),y*x.SVGdata.d/v>c[r]&&(c[r]=y*x.SVGdata.d/v)}else x.SVGcanStretch("Horizontal")&&(y=f.length2em(y,n,x.SVGdata.w),y>b[r]&&(b[r]=y))}m[h][r].h>l[h]&&(l[h]=m[h][r].h);m[h][r].d>c[h]&&(c[h]=m[h][r].d);m[h][r].w>b[r]&&(b[r]=m[h][r].w)}l[0]+c[0]&&(l[0]=Math.max(l[0],z));l[m.length-1]+c[m.length-1]&&(c[m.length-1]=Math.max(c[m.length-1],F));var E=MathJax.Hub.SplitList,y=E(g.columnspacing),z=E(g.rowspacing);A=E(g.columnalign);var D=E(g.rowalign),J=E(g.columnlines),F=E(g.rowlines);r=E(g.columnwidth);var I=[];h=0;for(q=y.length;hq&&(q=m.length+1+q),1>q?q=1:q>m.length&&(q=m.length),E=0,p=-(v+h)+l[0],h=0,--q;hu)for(C=(C-u)/v,h=0,q=G.length;h