/* * /MathJax/config/TeX-AMS_HTML.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/output/HTML-CSS/config.js","[MathJax]/extensions/tex2jax.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.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.OutputJax["HTML-CSS"]=MathJax.OutputJax({id:"HTML-CSS",version:"2.2",directory:MathJax.OutputJax.directory+"/HTML-CSS",extensionDir:MathJax.OutputJax.extensionDir+"/HTML-CSS",autoloadDir:MathJax.OutputJax.directory+"/HTML-CSS/autoload",fontDir:MathJax.OutputJax.directory+"/HTML-CSS/fonts",webfontDir:MathJax.OutputJax.fontDir+"/HTML-CSS",config:{scale:100,minScaleAdjust:50,availableFonts:["STIX","TeX"],preferredFont:"TeX",webFont:"TeX",imageFont:"TeX",undefinedFamily:"STIXGeneral,'Arial Unicode MS',serif",mtextFontInherit:!1,EqnChunk:MathJax.Hub.Browser.isMobile?10:50,EqnChunkFactor:1.5,EqnChunkDelay:100,linebreaks:{automatic:!1,width:"container"},styles:{".MathJax_Display":{"text-align":"center",margin:"1em 0em"},".MathJax .merror":{"background-color":"#FFFF88",color:"#CC0000",border:"1px solid #CC0000",padding:"1px 3px","font-style":"normal","font-size":"90%"},"#MathJax_Tooltip":{"background-color":"InfoBackground",color:"InfoText",border:"1px solid black","box-shadow":"2px 2px 5px #AAAAAA","-webkit-box-shadow":"2px 2px 5px #AAAAAA","-moz-box-shadow":"2px 2px 5px #AAAAAA","-khtml-box-shadow":"2px 2px 5px #AAAAAA",filter:"progid:DXImageTransform.Microsoft.dropshadow(OffX\x3d2, OffY\x3d2, Color\x3d'gray', Positive\x3d'true')",padding:"3px 4px","z-index":401}}}});MathJax.Hub.Browser.isMSIE&&9<=document.documentMode&&delete MathJax.OutputJax["HTML-CSS"].config.styles["#MathJax_Tooltip"].filter;MathJax.Hub.config.delayJaxRegistration||MathJax.OutputJax["HTML-CSS"].Register("jax/mml");MathJax.Hub.Register.StartupHook("End Config",[function(a,e){var b=a.Insert({minBrowserVersion:{Firefox:3,Opera:9.52,MSIE:6,Chrome:.3,Safari:2,Konqueror:4},inlineMathDelimiters:["$","$"],displayMathDelimiters:["$$","$$"],multilineDisplay:!0,minBrowserTranslate:function(c){var e=a.getJaxFor(c),n=["[Math]"],f=document.createElement("span",{className:"MathJax_Preview"});"TeX"===e.inputJax&&(e.root.Get("displaystyle")?(n=b.displayMathDelimiters,n=[n[0]+e.originalText+n[1]],b.multilineDisplay&&(n=n[0].split(/\n/))):(n=b.inlineMathDelimiters,n=[n[0]+e.originalText.replace(/^\s+/,"").replace(/\s+$/,"")+n[1]]));for(var e=0,h=n.length;edocument.documentMode};MathJax.Hub.Register.PreProcessor(["PreProcess",MathJax.Extension.tex2jax]);MathJax.Ajax.loadComplete("[MathJax]/extensions/tex2jax.js");(function(a,e,b,c,m,n,f){var h=MathJax.Extension,p=h.MathEvents={version:"2.2"},d=a.config.menuSettings,k={hover:500,frame:{x:3.5,y:5,bwidth:1,bcolor:"#A6D",hwidth:"15px",hcolor:"#83A"},button:{x:-4,y:-3,wx:-2,src:b.fileURL(n.imageDir+"/MenuArrow-15.png")},fadeinInc:.2,fadeoutInc:.05,fadeDelay:50,fadeoutStart:400,fadeoutDelay:15E3,styles:{".MathJax_Hover_Frame":{"border-radius":".25em","-webkit-border-radius":".25em","-moz-border-radius":".25em","-khtml-border-radius":".25em","box-shadow":"0px 0px 15px #83A","-webkit-box-shadow":"0px 0px 15px #83A","-moz-box-shadow":"0px 0px 15px #83A","-khtml-box-shadow":"0px 0px 15px #83A",border:"1px solid #A6D ! important",display:"inline-block",position:"absolute"},".MathJax_Hover_Arrow":{position:"absolute",width:"15px",height:"11px",cursor:"pointer"}}},l=p.Event={LEFTBUTTON:0,RIGHTBUTTON:2,MENUKEY:"altKey",Mousedown:function(d){return l.Handler(d,"Mousedown",this)},Mouseup:function(d){return l.Handler(d,"Mouseup",this)},Mousemove:function(d){return l.Handler(d,"Mousemove",this)},Mouseover:function(d){return l.Handler(d,"Mouseover",this)},Mouseout:function(d){return l.Handler(d,"Mouseout",this)},Click:function(d){return l.Handler(d,"Click",this)},DblClick:function(d){return l.Handler(d,"DblClick",this)},Menu:function(d){return l.Handler(d,"ContextMenu",this)},Handler:function(d,a,c){if(b.loadingMathMenu)return l.False(d);var k=n[c.jaxID];d||(d=window.event);d.isContextMenu="ContextMenu"===a;if(k[a])return k[a](d,c);if(h.MathZoom)return h.MathZoom.HandleEvent(d,a,c)},False:function(d){d||(d=window.event);d&&(d.preventDefault&&d.preventDefault(),d.stopPropagation&&d.stopPropagation(),d.cancelBubble=!0,d.returnValue=!1);return!1},ContextMenu:function(k,v,e){var h=n[v.jaxID],g=h.getJaxFromMath(v);if((null!=h.config.showMathMenu?h:a).config.showMathMenu&&("MathJax"===d.context||e)){p.msieEventBug&&(k=window.event||k);l.ClearSelection();r.ClearHoverTimer();g.hover&&(g.hover.remove&&(clearTimeout(g.hover.remove),delete g.hover.remove),g.hover.nofade=!0);var t=MathJax.Menu;if(t){if(t.loadingDomain)return l.False(k);h=m.loadDomain("MathMenu");if(!h)return t.jax=g,v=t.menu.Find("Show Math As").menu,v.items[0].name=g.sourceMenuTitle,v.items[0].format=g.sourceMenuFormat||"MathML",v.items[1].name=f[g.inputJax].sourceMenuTitle,t.menu.Find("Math Settings","MathPlayer").hidden=!("NativeMML"===g.outputJax&&a.Browser.hasMathPlayer),t.menu.Post(k);t.loadingDomain=!0;g=function(){delete t.loadingDomain}}else{if(b.loadingMathMenu)return l.False(k);b.loadingMathMenu=!0;h=b.Require("[MathJax]/extensions/MathMenu.js");g=function(){delete b.loadingMathMenu;MathJax.Menu||(MathJax.Menu={})}}c.Queue(h,g,["ContextMenu",l,{pageX:k.pageX,pageY:k.pageY,clientX:k.clientX,clientY:k.clientY},v,e]);return l.False(k)}},AltContextMenu:function(c,k){var b=n[k.jaxID],e=(null!=b.config.showMathMenu?b:a).config.showMathMenu;if(e){e=(null!=b.config.showMathMenuMSIE?b:a).config.showMathMenuMSIE;if("MathJax"===d.context&&!d.mpContext&&e){if(!p.noContextMenuBug||c.button!==l.RIGHTBUTTON)return}else if(!c[l.MENUKEY]||c.button!==l.LEFTBUTTON)return;return b.ContextMenu(c,k,!0)}},ClearSelection:function(){p.safariContextMenuBug&&setTimeout("window.getSelection().empty()",0);document.selection&&setTimeout("document.selection.empty()",0)},getBBox:function(d){d.appendChild(p.topImg);var a=p.topImg.offsetTop,c=d.offsetHeight-a,k=d.offsetWidth;d.removeChild(p.topImg);return{w:k,h:a,d:c}}},r=p.Hover={Mouseover:function(c,k){if(d.discoverable||"Hover"===d.zoom){var b=c.fromElement||c.relatedTarget,e=c.toElement||c.target;if(b&&e&&(b.isMathJax!=e.isMathJax||a.getJaxFor(b)!==a.getJaxFor(e)))return b=this.getJaxFromMath(k),b.hover?r.ReHover(b):r.HoverTimer(b,k),l.False(c)}},Mouseout:function(c,k){if(d.discoverable||"Hover"===d.zoom){var b=c.fromElement||c.relatedTarget,e=c.toElement||c.target;if(b&&e&&(b.isMathJax!=e.isMathJax||a.getJaxFor(b)!==a.getJaxFor(e)))return b=this.getJaxFromMath(k),b.hover?r.UnHover(b):r.ClearHoverTimer(),l.False(c)}},Mousemove:function(a,c){if(d.discoverable||"Hover"===d.zoom){var k=this.getJaxFromMath(c);if(!k.hover&&(r.lastX!=a.clientX||r.lastY!=a.clientY))return r.lastX=a.clientX,r.lastY=a.clientY,r.HoverTimer(k,c),l.False(a)}},HoverTimer:function(d,a){this.ClearHoverTimer();this.hoverTimer=setTimeout(c(["Hover",this,d,a]),k.hover)},ClearHoverTimer:function(){this.hoverTimer&&(clearTimeout(this.hoverTimer),delete this.hoverTimer)},Hover:function(d,c){if(!h.MathZoom||!h.MathZoom.Hover({},c)){var b=n[d.outputJax],l=b.getHoverSpan(d,c),r=b.getHoverBBox(d,l,c),g=(null!=b.config.showMathMenu?b:a).config.showMathMenu,m=k.frame.x,f=k.frame.y,t=k.frame.bwidth;p.msieBorderWidthBug&&(t=0);d.hover={opacity:0,id:d.inputID+"-Hover"};var x=e.Element("span",{id:d.hover.id,isMathJax:!0,style:{display:"inline-block",width:0,height:0,position:"relative"}},[["span",{className:"MathJax_Hover_Frame",isMathJax:!0,style:{display:"inline-block",position:"absolute",top:this.Px(-r.h-f-t-(r.y||0)),left:this.Px(-m-t+(r.x||0)),width:this.Px(r.w+2*m),height:this.Px(r.h+r.d+2*f),opacity:0,filter:"alpha(opacity\x3d0)"}}]]),b=e.Element("span",{isMathJax:!0,id:d.hover.id+"Menu",style:{display:"inline-block","z-index":1,width:0,height:0,position:"relative"}},[["img",{className:"MathJax_Hover_Arrow",isMathJax:!0,math:c,src:k.button.src,onclick:this.HoverMenu,jax:b.id,style:{left:this.Px(r.w+m+t+(r.x||0)+k.button.x),top:this.Px(-r.h-f-t-(r.y||0)-k.button.y),opacity:0,filter:"alpha(opacity\x3d0)"}}]]);r.width&&(x.style.width=b.style.width=r.width,x.style.marginRight=b.style.marginRight="-"+r.width,x.firstChild.style.width=r.width,b.firstChild.style.left="",b.firstChild.style.right=this.Px(k.button.wx));l.parentNode.insertBefore(x,l);g&&l.parentNode.insertBefore(b,l);l.style&&(l.style.position="relative");this.ReHover(d)}},ReHover:function(d){d.hover.remove&&clearTimeout(d.hover.remove);d.hover.remove=setTimeout(c(["UnHover",this,d]),k.fadeoutDelay);this.HoverFadeTimer(d,k.fadeinInc)},UnHover:function(d){d.hover.nofade||this.HoverFadeTimer(d,-k.fadeoutInc,k.fadeoutStart)},HoverFade:function(d){delete d.hover.timer;d.hover.opacity=Math.max(0,Math.min(1,d.hover.opacity+d.hover.inc));d.hover.opacity=Math.floor(1E3*d.hover.opacity)/1E3;var a=document.getElementById(d.hover.id),c=document.getElementById(d.hover.id+"Menu");a.firstChild.style.opacity=d.hover.opacity;a.firstChild.style.filter="alpha(opacity\x3d"+Math.floor(100*d.hover.opacity)+")";c&&(c.firstChild.style.opacity=d.hover.opacity,c.firstChild.style.filter=a.style.filter);1!==d.hover.opacity&&(0Math.abs(d)?"0px":d.toFixed(2).replace(/\.?0+$/,"")+"px"},getImages:function(){(new Image).src=k.button.src}},t=p.Touch={last:0,delay:500,start:function(d){var a=(new Date).getTime(),c=a-t.lasta;9>a&&(l.LEFTBUTTON=1)},Safari:function(d){p.safariContextMenuBug=!0},Opera:function(d){p.operaPositionBug=!0},Konqueror:function(d){p.noContextMenuBug=!0}});p.topImg=p.msieAlignBug?e.Element("img",{style:{width:0,height:0,position:"relative"},src:"about:blank"}):e.Element("span",{style:{width:0,height:0,display:"inline-block"}});p.operaPositionBug&&(p.topImg.style.border="1px solid");p.config=k=a.CombineConfig("MathEvents",k);c.Queue(a.Register.StartupHook("End Config",{}),[function(){var d=k.styles[".MathJax_Hover_Frame"];d.border=k.frame.bwidth+"px solid "+k.frame.bcolor+" ! important";d["box-shadow"]=d["-webkit-box-shadow"]=d["-moz-box-shadow"]=d["-khtml-box-shadow"]="0px 0px "+k.frame.hwidth+" "+k.frame.hcolor}],["getImages",r],["Styles",b,k.styles],["Post",a.Startup.signal,"MathEvents Ready"],["loadComplete",b,"[MathJax]/extensions/MathEvents.js"])})(MathJax.Hub,MathJax.HTML,MathJax.Ajax,MathJax.Callback,MathJax.Localization,MathJax.OutputJax,MathJax.InputJax);(function(a,e,b,c,m){var n=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)"}}}),f,h,p;MathJax.Hub.Register.StartupHook("MathEvents Ready",function(){p=MathJax.Extension.MathEvents.Event;f=MathJax.Extension.MathEvents.Event.False;h=MathJax.Extension.MathEvents.Hover});var d=MathJax.Extension.MathZoom={version:"2.2",settings:a.config.menuSettings,scrollSize:18,HandleEvent:function(a,c,b){return d.settings.CTRL&&!a.ctrlKey||d.settings.ALT&&!a.altKey||d.settings.CMD&&!a.metaKey||d.settings.Shift&&!a.shiftKey||!d[c]?!0:d[c](a,b)},Click:function(d,a){if("Click"===this.settings.zoom)return this.Zoom(d,a)},DblClick:function(d,a){if("Double-Click"===this.settings.zoom)return this.Zoom(d,a)},Hover:function(d,a){return"Hover"===this.settings.zoom?(this.Zoom(d,a),!0):!1},Zoom:function(d,c){this.Remove();h.ClearHoverTimer();p.ClearSelection();var b=MathJax.OutputJax[c.jaxID],m=b.getJaxFromMath(c);m.hover&&h.UnHover(m);var g=Math.floor(.85*document.body.clientWidth),q=Math.floor(.85*Math.max(document.body.clientHeight,document.documentElement.clientHeight)),v=e.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":g+"px","max-height":q+"px"}},[["span",{style:{display:"inline-block","white-space":"nowrap"}}]]]]),u=v.lastChild,y=u.firstChild,z=v.firstChild;c.parentNode.insertBefore(v,c);c.parentNode.insertBefore(c,v);y.addEventListener&&y.addEventListener("mousedown",this.Remove,!0);if(this.msieTrapEventBug){var w=e.Element("span",{id:"MathJax_ZoomEventTrap",onmousedown:this.Remove});v.insertBefore(w,u)}this.msieZIndexBug&&(e.addElement(document.body,"img",{src:"about:blank",id:"MathJax_ZoomTracker",width:0,height:0,style:{width:0,height:0,position:"relative"}}),v.style.position="relative",v.style.zIndex=n.styles["#MathJax_ZoomOverlay"]["z-index"]);b=b.Zoom(m,y,c,g,q);this.msiePositionBug&&(this.msieSizeBug&&(u.style.height=b.zH+"px",u.style.width=b.zW+"px"),u.offsetHeight>q&&(u.style.height=q+"px",u.style.width=b.zW+this.scrollSize+"px"),u.offsetWidth>g&&(u.style.width=g+"px",u.style.height=b.zH+this.scrollSize+"px"));this.operaPositionBug&&(u.style.width=Math.min(g,b.zW)+"px");u.offsetWidth&&u.offsetWidth=c;d.msieInlineBlockAlignBug=7>=c;d.msieTrapEventBug=!window.addEventListener;"BackCompat"===document.compatMode&&(d.scrollSize=52);b&&delete n.styles["#MathJax_Zoom"].filter},Opera:function(a){d.operaPositionBug=!0;d.operaRefreshBug=!0}});d.topImg=d.msieInlineBlockAlignBug?e.Element("img",{style:{width:0,height:0,position:"relative"},src:"about:blank"}):e.Element("span",{style:{width:0,height:0,display:"inline-block"}});if(d.operaPositionBug||d.msieTopBug)d.topImg.style.border="1px solid";MathJax.Callback.Queue(["StartupHook",MathJax.Hub.Register,"Begin Styles",{}],["Styles",b,n.styles],["Post",a.Startup.signal,"MathZoom Ready"],["loadComplete",b,"[MathJax]/extensions/MathZoom.js"])})(MathJax.Hub,MathJax.HTML,MathJax.Ajax,MathJax.OutputJax["HTML-CSS"],MathJax.OutputJax.NativeMML);(function(a,e,b,c,m){var n=MathJax.Callback.Signal("menu");MathJax.Extension.MathMenu={version:"2.2",signal:n};var f=function(d){return MathJax.Localization._.apply(MathJax.Localization,[["MathMenu",d]].concat([].slice.call(arguments,1)))},h=a.Browser.isPC,p=a.Browser.isMSIE,d=8<(document.documentMode||0),k=h?null:"5px",l=a.CombineConfig("MathMenu",{delay:150,closeImg:b.fileURL(m.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:h?"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":k,"-webkit-border-radius":k,"-moz-border-radius":k,"-khtml-border-radius":k,"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:h?"2px 2em":"1px 2em",background:"transparent"},".MathJax_MenuArrow":{position:"absolute",right:".5em",color:"#666666","font-family":p?"'Arial unicode MS'":null},".MathJax_MenuActive .MathJax_MenuArrow":{color:"white"},".MathJax_MenuCheck":{position:"absolute",left:".7em","font-family":p?"'Arial unicode MS'":null},".MathJax_MenuRadioCheck":{position:"absolute",left:h?"1em":".7em"},".MathJax_MenuLabel":{padding:h?"2px 2em 4px 1.33em":"1px 2em 3px 1.33em","font-style":"italic"},".MathJax_MenuRule":{"border-top":h?"1px solid #CCCCCC":"1px solid #DDDDDD",margin:h?"4px 1px 0px":"4px 3px"},".MathJax_MenuDisabled":{color:"GrayText"},".MathJax_MenuActive":{"background-color":h?"Highlight":"#606872",color:h?"HighlightText":"white"},".MathJax_Menu_Close":{position:"absolute",width:"31px",height:"31px",top:"-15px",left:"-15px"}}}),r,t;a.Register.StartupHook("MathEvents Ready",function(){r=MathJax.Extension.MathEvents.Event.False;t=MathJax.Extension.MathEvents.Hover});var g=MathJax.Menu=MathJax.Object.Subclass({version:"2.2",items:[],posted:!1,title:null,margin:5,Init:function(d){this.items=[].slice.call(arguments,0)},With:function(d){d&&a.Insert(this,d);return this},Post:function(d,a){d||(d=window.event);var c=document.getElementById("MathJax_MenuFrame");c||(c=g.Background(this),delete q.lastItem,delete q.lastMenu,delete g.skipUp,n.Post(["post",g.jax]));var k=e.addElement(c,"div",{onmouseup:g.Mouseup,ondblclick:r,ondragstart:r,onselectstart:r,oncontextmenu:r,menuItem:this,className:"MathJax_Menu"});MathJax.Localization.setCSS(k);for(var b=0,m=this.items.length;bdocument.body.offsetWidth-this.margin&&!g.isMobile&&(f="right",b=Math.max(this.margin,b-p-k.offsetWidth+6));h||(k.style["borderRadiusTop"+f]=0,k.style["WebkitBorderRadiusTop"+f]=0,k.style["MozBorderRadiusTop"+f]=0,k.style["KhtmlBorderRadiusTop"+f]=0)}else b+k.offsetWidth>document.body.offsetWidth-this.margin&&(b=document.body.offsetWidth-k.offsetWidth-this.margin),g.isMobile&&(b=Math.max(5,b-Math.floor(k.offsetWidth/2)),m-=20),g.skipUp=d.isContextMenu;k.style.left=b+"px";k.style.top=m+"px";document.selection&&document.selection.empty&&document.selection.empty();return r(d)},Remove:function(d,a){n.Post(["unpost",g.jax]);var c=document.getElementById("MathJax_MenuFrame");c&&(c.parentNode.removeChild(c),this.msieFixedPositionBug&&detachEvent("onresize",g.Resize));g.jax.hover&&(delete g.jax.hover.nofade,t.UnHover(g.jax));return r(d)},Find:function(d){return this.FindN(1,d,[].slice.call(arguments,1))},FindId:function(d){return this.FindN(0,d,[].slice.call(arguments,1))},FindN:function(d,a,c){for(var k=0,b=this.items.length;k/g,"\x26gt;");var k=f("EqSource","MathJax Equation Source");if(g.isMobile)c.document.open(),c.document.write("\x3chtml\x3e\x3chead\x3e\x3cmeta name\x3d'viewport' content\x3d'width\x3ddevice-width, initial-scale\x3d1.0' /\x3e\x3ctitle\x3e"+k+"\x3c/title\x3e\x3c/head\x3e\x3cbody style\x3d'font-size:85%'\x3e"),c.document.write("\x3cpre\x3e"+d+"\x3c/pre\x3e"),c.document.write("\x3chr\x3e\x3cinput type\x3d'button' value\x3d'"+f("Close","Close")+"' onclick\x3d'window.close()' /\x3e"),c.document.write("\x3c/body\x3e\x3c/html\x3e"),c.document.close();else{c.document.open();c.document.write("\x3chtml\x3e\x3chead\x3e\x3ctitle\x3e"+k+"\x3c/title\x3e\x3c/head\x3e\x3cbody style\x3d'font-size:85%'\x3e");c.document.write("\x3ctable\x3e\x3ctr\x3e\x3ctd\x3e\x3cpre\x3e"+d+"\x3c/pre\x3e\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e");c.document.write("\x3c/body\x3e\x3c/html\x3e");c.document.close();var b=c.document.body.firstChild;setTimeout(function(){var d=c.outerHeight-c.innerHeight||30,k=c.outerWidth-c.innerWidth||30,k=Math.max(100,Math.min(Math.floor(.5*screen.width),b.offsetWidth+k+25)),d=Math.max(40,Math.min(Math.floor(.5*screen.height),b.offsetHeight+d+25));c.resizeTo(k,d);a&&null!=a.screenX&&(k=Math.max(0,Math.min(a.screenX-Math.floor(k/2),screen.width-k-20)),d=Math.max(0,Math.min(a.screenY-Math.floor(d/2),screen.height-d-20)),c.moveTo(k,d))},50)}};g.Scale=function(){var d=m["HTML-CSS"],c=m.NativeMML,k=m.SVG,b=(d||c||k||{config:{scale:100}}).config.scale,l=prompt(f("ScaleMath","Scale all mathematics (compared to surrounding text) by"),b+"%");l&&(l.match(/^\s*\d+(\.\d*)?\s*%?\s*$/)?(l=parseFloat(l))?l!==b&&(d&&(d.config.scale=l),c&&(c.config.scale=l),k&&(k.config.scale=l),g.cookie.scale=l,g.saveCookie(),a.Reprocess()):alert(f("NonZeroScale","The scale should not be zero")):alert(f("PercentScale","The scale should be a percentage (e.g., 120%%)")))};g.Zoom=function(){MathJax.Extension.MathZoom||b.Require("[MathJax]/extensions/MathZoom.js")};g.Renderer=function(){var c=a.outputJax["jax/mml"];if(c[0]!==l.settings.renderer){var k=a.Browser,b,h=g.Renderer.Messages,m;switch(l.settings.renderer){case "NativeMML":l.settings.warnedMML||(k.isChrome&&"24."!==k.version.substr(0,3)?b=h.MML.WebKit:k.isSafari&&!k.versionAtLeast("5.0")?b=h.MML.WebKit:k.isMSIE?k.hasMathPlayer||(b=h.MML.MSIE):b=h.MML[k],m="warnedMML");break;case "SVG":l.settings.warnedSVG||!k.isMSIE||d||(b=h.SVG.MSIE)}if(b){b=f(b[0],b[1]);b=b+"\n\n"+f("SwitchAnyway","Switch the renderer anyway?\n\n(Press OK to switch, CANCEL to continue with the current renderer)");g.cookie.renderer=c[0].id;g.saveCookie();if(!confirm(b)){g.cookie.renderer=l.settings.renderer=e.Cookie.Get("menu").renderer;g.saveCookie();return}m&&(g.cookie.warned=l.settings.warned=!0);g.cookie.renderer=l.settings.renderer;g.saveCookie()}a.Queue(["setRenderer",a,l.settings.renderer,"jax/mml"],["Rerender",a])}};g.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."]}};g.Font=function(){m["HTML-CSS"]&&document.location.reload()};g.Locale=function(){MathJax.Localization.setLocale(l.settings.locale);MathJax.Hub.Queue(["Reprocess",MathJax.Hub])};g.LoadLocale=function(){var d=prompt(f("LoadURL","Load translation data from this URL:"));d&&(d.match(/\.js$/)||alert(f("BadURL","The URL should be for a javascript file that defines MathJax translation data. Javascript file names should end with '.js'")),b.Require(d,function(a){a!=b.STATUS.OK&&alert(f("BadData","Failed to load translation data from %1",d))}))};g.MPEvents=function(a){var c=l.settings.discoverable,k=g.MPEvents.Messages;d?!c&&"Menu Events"===a.name[1]&&l.settings.mpContext&&alert(f.apply(f,k.IE9warning)):l.settings.mpMouse&&!confirm(f.apply(f,k.IE8warning))?(delete g.cookie.mpContext,delete l.settings.mpContext,delete g.cookie.mpMouse,delete l.settings.mpMouse,g.saveCookie()):(l.settings.mpContext=l.settings.mpMouse,g.cookie.mpContext=g.cookie.mpMouse=l.settings.mpMouse,g.saveCookie(),MathJax.Hub.Queue(["Rerender",MathJax.Hub]))};g.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(a){var c="BackCompat"===document.compatMode;a=a.versionAtLeast("8.0")&&7document.documentMode,msieFixedPositionBug:c||!a,msieAboutBug:c});d&&(delete l.styles["#MathJax_About"].filter,delete l.styles[".MathJax_Menu"].filter)},Firefox:function(d){g.skipMouseover=d.isMobile&&d.versionAtLeast("6.0");g.skipMousedown=d.isMobile}});g.isMobile=a.Browser.isMobile;g.noContextMenu=a.Browser.noContextMenu;g.CreateLocaleMenu=function(){if(g.menu){var d=g.menu.Find("Language").menu,a=d.items,c=[],k=MathJax.Localization.strings,b;for(b in k)k.hasOwnProperty(b)&&c.push(b);c=c.sort();d.items=[];b=0;for(var l=c.length;bc.charCodeAt(0)?a.VARIANT.ITALIC:a.VARIANT.NORMAL):""},setTeXclass:function(c){this.getPrevClass(c);c=this.data.join("");1b&&(b=(b-55296<<10)+(c.charCodeAt(1)-56320)+65536);for(var e=0,f=this.RANGES.length;e=a)return String.fromCharCode(a);a-=65536;return String.fromCharCode((a>>10)+55296)+String.fromCharCode((a&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 a=0,b=arguments.length;a=m||57344<=m)32>m||126b&&(a+=this.string.charAt(this.i++)),h.special[a])this[h.special[a]](a);else h.letter.test(a)?this.Variable(a):h.digit.test(a)?this.Number(a):this.Other(a)},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(a){return a},ControlSequence:function(a){var b=this.GetCS(),c=this.csFindMacro(b);if(c){c instanceof Array||(c=[c]);var e=c[0];e instanceof Function||(e=this[e]);e.apply(this,[a+b].concat(c.slice(1)))}else h.mathchar0mi[b]?this.csMathchar0mi(b,h.mathchar0mi[b]):h.mathchar0mo[b]?this.csMathchar0mo(b,h.mathchar0mo[b]):h.mathchar7[b]?this.csMathchar7(b,h.mathchar7[b]):null!=h.delimiter["\\"+b]?this.csDelimiter(b,h.delimiter["\\"+b]):this.csUndefined(a+b)},csFindMacro:function(a){return h.macros[a]},csMathchar0mi:function(a,b){var e={mathvariant:c.VARIANT.ITALIC};b instanceof Array&&(e=b[1],b=b[0]);this.Push(this.mmlToken(c.mi(c.entity("#x"+b)).With(e)))},csMathchar0mo:function(a,b){var e={stretchy:!1};b instanceof Array&&(e=b[1],e.stretchy=!1,b=b[0]);this.Push(this.mmlToken(c.mo(c.entity("#x"+b)).With(e)))},csMathchar7:function(a,b){var e={mathvariant:c.VARIANT.NORMAL};b instanceof Array&&(e=b[1],b=b[0]);this.stack.env.font&&(e.mathvariant=this.stack.env.font);this.Push(this.mmlToken(c.mi(c.entity("#x"+b)).With(e)))},csDelimiter:function(a,b){var e={};b instanceof Array&&(e=b[1],b=b[0]);b=4===b.length?c.entity("#x"+b):c.chars(b);this.Push(this.mmlToken(c.mo(b).With({fence:!1,stretchy:!1}).With(e)))},csUndefined:function(d){a.Error(["UndefinedControlSequence","Undefined control sequence %1",d])},Variable:function(a){var b={};this.stack.env.font&&(b.mathvariant=this.stack.env.font);this.Push(this.mmlToken(c.mi(c.chars(a)).With(b)))},Number:function(a){var b=this.string.slice(this.i-1).match(h.number);b?(a=c.mn(b[0].replace(/[{}]/g,"")),this.i+=b[0].length-1):a=c.mo(c.chars(a));this.stack.env.font&&(a.mathvariant=this.stack.env.font);this.Push(this.mmlToken(a))},Open:function(a){this.Push(f.open())},Close:function(a){this.Push(f.close())},Tilde:function(a){this.Push(c.mtext(c.chars("\u00a0")))},Space:function(a){},Superscript:function(d){this.GetNext().match(/\d/)&&(this.string=this.string.substr(0,this.i+1)+" "+this.string.substr(this.i+1));var b,e;b=this.stack.Top();"prime"===b.type?(d=b.data[0],e=b.data[1],this.stack.Pop()):(d=this.stack.Prev())||(d=c.mi(""));d.isEmbellishedWrapper&&(d=d.data[0].data[0]);if("msubsup"===d.type)d.data[d.sup]&&a.Error(["DoubleExponent","Double exponent: use braces to clarify"]),b=d.sup;else if(d.movesupsub){if("munderover"!==d.type||d.data[d.over])d.movablelimits&&d.isa(c.mi)&&(d=this.mi2mo(d)),d=c.munderover(d,null,null).With({movesupsub:!0});b=d.over}else d=c.msubsup(d,null,null),b=d.sup;this.Push(f.subsup(d).With({position:b,primes:e}))},Subscript:function(d){this.GetNext().match(/\d/)&&(this.string=this.string.substr(0,this.i+1)+" "+this.string.substr(this.i+1));var b,e;b=this.stack.Top();"prime"===b.type?(d=b.data[0],e=b.data[1],this.stack.Pop()):(d=this.stack.Prev())||(d=c.mi(""));d.isEmbellishedWrapper&&(d=d.data[0].data[0]);if("msubsup"===d.type)d.data[d.sub]&&a.Error(["DoubleSubscripts","Double subscripts: use braces to clarify"]),b=d.sub;else if(d.movesupsub){if("munderover"!==d.type||d.data[d.under])d.movablelimits&&d.isa(c.mi)&&(d=this.mi2mo(d)),d=c.munderover(d,null,null).With({movesupsub:!0});b=d.under}else d=c.msubsup(d,null,null),b=d.sub;this.Push(f.subsup(d).With({position:b,primes:e}))},PRIME:"\u2032",SMARTQUOTE:"\u2019",Prime:function(d){var b=this.stack.Prev();b||(b=c.mi());"msubsup"===b.type&&b.data[b.sup]&&a.Error(["DoubleExponentPrime","Prime causes double exponent: use braces to clarify"]);var e="";this.i--;do e+=this.PRIME,this.i++,d=this.GetNext();while("'"===d||d===this.SMARTQUOTE);e=["","\u2032","\u2033","\u2034","\u2057"][e.length]||e;this.Push(f.prime(b,this.mmlToken(c.mo(e))))},mi2mo:function(a){var b=c.mo();b.Append.apply(b,a.data);for(var e in b.defaults)b.defaults.hasOwnProperty(e)&&null!=a[e]&&(b[e]=a[e]);for(e in c.copyAttributes)c.copyAttributes.hasOwnProperty(e)&&null!=a[e]&&(b[e]=a[e]);return b},Comment:function(a){for(;this.ia.config.MAXMACROS&&a.Error(["MaxMacroSub1","MathJax maximum macro substitution count exceeded; is there a recursive macro call?"])},Matrix:function(b,c,e,h,p,g,q,n){var m=this.GetNext();""===m&&a.Error(["MissingArgFor","Missing argument for %1",b]);"{"===m?this.i++:(this.string=m+"}"+this.string.slice(this.i+1),this.i=0);b=f.array().With({requireClose:!0,arraydef:{rowspacing:g||"4pt",columnspacing:p||"1em"}});n&&(b.isCases=!0);if(c||e)b.open=c,b.close=e;"D"===q&&(b.arraydef.displaystyle=!0);null!=h&&(b.arraydef.columnalign=h);this.Push(b)},Entry:function(b){this.Push(f.cell().With({isEntry:!0,name:b}));if(this.stack.Top().isCases){var c=this.string,e=0;b=this.i;for(var h=c.length;bMath.abs(a)?"0em":a.toFixed(3).replace(/\.?0+$/,"")+"em"},HLine:function(b,c){null==c&&(c="solid");var e=this.stack.Top();e.isa(f.array)&&!e.data.length||a.Error(["Misplaced","Misplaced %1",b]);if(0==e.table.length)e.frame.push("top");else{for(var h=e.arraydef.rowlines?e.arraydef.rowlines.split(/ /):[];h.lengtha.config.MAXMACROS&&a.Error(["MaxMacroSub2","MathJax maximum substitution count exceeded; is there a recursive latex environment?"]);b instanceof Array||(b=[b]);c=f.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(a){this.Push(f.end().With({name:this.GetArgument(a)}))},envFindName:function(a){return h.environment[a]},Equation:function(a,b){return b},ExtensionEnv:function(a,b){this.Extension(a.name,b,"environment")},Array:function(a,b,c,e,h,g,p,n){e||(e=this.GetArgument("\\begin{"+a.name+"}"));var m=("c"+e).replace(/[^clr|:]/g,"").replace(/[^|:]([|:])+/g,"$1");e=e.replace(/[^clr]/g,"").split("").join(" ");e=e.replace(/l/g,"left").replace(/r/g,"right").replace(/c/g,"center");e=f.array().With({arraydef:{columnalign:e,columnspacing:h||"1em",rowspacing:g||"4pt"}});m.match(/[|:]/)&&(m.charAt(0).match(/[|:]/)&&(e.frame.push("left"),e.frame.dashed=":"===m.charAt(0)),m.charAt(m.length-1).match(/[|:]/)&&e.frame.push("right"),m=m.substr(1,m.length-2),e.arraydef.columnlines=m.split("").join(" ").replace(/[^|: ]/g,"none").replace(/\|/g,"solid").replace(/:/g,"dashed"));b&&(e.open=this.convertDelimiter(b));c&&(e.close=this.convertDelimiter(c));"D"===p&&(e.arraydef.displaystyle=!0);"S"===p&&(e.arraydef.scriptlevel=1);n&&(e.arraydef.useHeight=!1);this.Push(a);return e},AlignedArray:function(a){var b=this.GetBrackets("\\begin{"+a.name+"}");return this.setArrayAlign(this.Array.apply(this,arguments),b)},setArrayAlign:function(a,b){b=this.trimSpaces(b||"");"t"===b?a.arraydef.align="baseline 1":"b"===b?a.arraydef.align="baseline -1":"c"===b?a.arraydef.align="center":b&&(a.arraydef.align=b);return a},convertDelimiter:function(a){a&&(a=h.delimiter[a]);if(null==a)return null;a instanceof Array&&(a=a[0]);4===a.length&&(a=String.fromCharCode(parseInt(a,16)));return a},trimSpaces:function(a){return"string"!=typeof a?a:a.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 a=this.string.slice(this.i).match(/^([a-z]+|.) ?/i);if(a)return this.i+=a[1].length,a[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 e=++this.i,h=1;this.i=h--&&a.Error(["ExtraCloseLooking","Extra close brace while looking for %1","']'"]);break;case "]":if(0==h)return this.string.slice(e,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"]),h=this.AddArgs(this.AddArgs(h,e),b[f-1]),e="")):e+=f;return this.AddArgs(h,e)},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:n,Parse:p,Definitions:h,Startup:function(){c=MathJax.ElementJax.mml;e.Insert(h,{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:c.VARIANT.NORMAL}],aleph:["2135",{mathvariant:c.VARIANT.NORMAL}],hbar:["210F",{variantForm:!0}],imath:"0131",jmath:"0237",ell:"2113",wp:["2118",{mathvariant:c.VARIANT.NORMAL}],Re:["211C",{mathvariant:c.VARIANT.NORMAL}],Im:["2111",{mathvariant:c.VARIANT.NORMAL}],partial:["2202",{mathvariant:c.VARIANT.NORMAL}],infty:["221E",{mathvariant:c.VARIANT.NORMAL}],prime:["2032",{mathvariant:c.VARIANT.NORMAL,variantForm:!0}],emptyset:["2205",{mathvariant:c.VARIANT.NORMAL}],nabla:["2207",{mathvariant:c.VARIANT.NORMAL}],top:["22A4",{mathvariant:c.VARIANT.NORMAL}],bot:["22A5",{mathvariant:c.VARIANT.NORMAL}],angle:["2220",{mathvariant:c.VARIANT.NORMAL}],triangle:["25B3",{mathvariant:c.VARIANT.NORMAL}],backslash:["2216",{mathvariant:c.VARIANT.NORMAL,variantForm:!0}],forall:["2200",{mathvariant:c.VARIANT.NORMAL}],exists:["2203",{mathvariant:c.VARIANT.NORMAL}],neg:["00AC",{mathvariant:c.VARIANT.NORMAL}],lnot:["00AC",{mathvariant:c.VARIANT.NORMAL}],flat:["266D",{mathvariant:c.VARIANT.NORMAL}],natural:["266E",{mathvariant:c.VARIANT.NORMAL}],sharp:["266F",{mathvariant:c.VARIANT.NORMAL}],clubsuit:["2663",{mathvariant:c.VARIANT.NORMAL}],diamondsuit:["2662",{mathvariant:c.VARIANT.NORMAL}],heartsuit:["2661",{mathvariant:c.VARIANT.NORMAL}],spadesuit:["2660",{mathvariant:c.VARIANT.NORMAL}]},mathchar0mo:{surd:"221A",coprod:["2210",{texClass:c.TEXCLASS.OP,movesupsub:!0}],bigvee:["22C1",{texClass:c.TEXCLASS.OP,movesupsub:!0}],bigwedge:["22C0",{texClass:c.TEXCLASS.OP,movesupsub:!0}],biguplus:["2A04",{texClass:c.TEXCLASS.OP,movesupsub:!0}],bigcap:["22C2",{texClass:c.TEXCLASS.OP,movesupsub:!0}],bigcup:["22C3",{texClass:c.TEXCLASS.OP,movesupsub:!0}],"int":["222B",{texClass:c.TEXCLASS.OP}],intop:["222B",{texClass:c.TEXCLASS.OP,movesupsub:!0,movablelimits:!0}],iint:["222C",{texClass:c.TEXCLASS.OP}],iiint:["222D",{texClass:c.TEXCLASS.OP}],prod:["220F",{texClass:c.TEXCLASS.OP,movesupsub:!0}],sum:["2211",{texClass:c.TEXCLASS.OP,movesupsub:!0}],bigotimes:["2A02",{texClass:c.TEXCLASS.OP,movesupsub:!0}],bigoplus:["2A01",{texClass:c.TEXCLASS.OP,movesupsub:!0}],bigodot:["2A00",{texClass:c.TEXCLASS.OP,movesupsub:!0}],oint:["222E",{texClass:c.TEXCLASS.OP}],bigsqcup:["2A06",{texClass:c.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:c.TEXCLASS.PUNCT}],cdotp:["22C5",{texClass:c.TEXCLASS.PUNCT}],colon:["003A",{texClass:c.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:c.TEXCLASS.ORD}],".":"","\\\\":"\\","\\lmoustache":"23B0","\\rmoustache":"23B1","\\lgroup":"27EE","\\rgroup":"27EF","\\arrowvert":"23D0","\\Arrowvert":"2016","\\bracevert":"23AA","\\Vert":["2225",{texClass:c.TEXCLASS.ORD}],"\\|":["2225",{texClass:c.TEXCLASS.ORD}],"\\vert":["|",{texClass:c.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",c.VARIANT.NORMAL],mit:["SetFont",c.VARIANT.ITALIC],oldstyle:["SetFont",c.VARIANT.OLDSTYLE],cal:["SetFont",c.VARIANT.CALIGRAPHIC],it:["SetFont","-tex-mathit"],bf:["SetFont",c.VARIANT.BOLD],bbFont:["SetFont",c.VARIANT.DOUBLESTRUCK],scr:["SetFont",c.VARIANT.SCRIPT],frak:["SetFont",c.VARIANT.FRAKTUR],sf:["SetFont",c.VARIANT.SANSSERIF],tt:["SetFont",c.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",c.LENGTH.THINMATHSPACE],":":["Spacer",c.LENGTH.MEDIUMMATHSPACE],"\x3e":["Spacer",c.LENGTH.MEDIUMMATHSPACE],";":["Spacer",c.LENGTH.THICKMATHSPACE],"!":["Spacer",c.LENGTH.NEGATIVETHINMATHSPACE],enspace:["Spacer",".5em"],quad:["Spacer","1em"],qquad:["Spacer","2em"],thinspace:["Spacer",c.LENGTH.THINMATHSPACE],negthinspace:["Spacer",c.LENGTH.NEGATIVETHINMATHSPACE],hskip:"Hskip",hspace:"Hskip",kern:"Hskip",mskip:"Hskip",mspace:"Hskip",mkern:"Hskip",Rule:["Rule"],Space:["Rule","blank"],big:["MakeBig",c.TEXCLASS.ORD,.85],Big:["MakeBig",c.TEXCLASS.ORD,1.15],bigg:["MakeBig",c.TEXCLASS.ORD,1.45],Bigg:["MakeBig",c.TEXCLASS.ORD,1.75],bigl:["MakeBig",c.TEXCLASS.OPEN,.85],Bigl:["MakeBig",c.TEXCLASS.OPEN,1.15],biggl:["MakeBig",c.TEXCLASS.OPEN,1.45],Biggl:["MakeBig",c.TEXCLASS.OPEN,1.75],bigr:["MakeBig",c.TEXCLASS.CLOSE,.85],Bigr:["MakeBig",c.TEXCLASS.CLOSE,1.15],biggr:["MakeBig",c.TEXCLASS.CLOSE,1.45],Biggr:["MakeBig",c.TEXCLASS.CLOSE,1.75],bigm:["MakeBig",c.TEXCLASS.REL,.85],Bigm:["MakeBig",c.TEXCLASS.REL,1.15],biggm:["MakeBig",c.TEXCLASS.REL,1.45],Biggm:["MakeBig",c.TEXCLASS.REL,1.75],mathord:["TeXAtom",c.TEXCLASS.ORD],mathop:["TeXAtom",c.TEXCLASS.OP],mathopen:["TeXAtom",c.TEXCLASS.OPEN],mathclose:["TeXAtom",c.TEXCLASS.CLOSE],mathbin:["TeXAtom",c.TEXCLASS.BIN],mathrel:["TeXAtom",c.TEXCLASS.REL],mathpunct:["TeXAtom",c.TEXCLASS.PUNCT],mathinner:["TeXAtom",c.TEXCLASS.INNER],vcenter:["TeXAtom",c.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",c.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",c.LENGTH.THICKMATHSPACE+" 3em",".5em","D"],leqalignno:["Matrix",null,null,"right left right",c.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 a=this.config.Macros,b;for(b in a)a.hasOwnProperty(b)&&(h.macros[b]="string"===typeof a[b]?["Macro",a[b]]:["Macro"].concat(a[b]),h.macros[b].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 e,h=!1,f=MathJax.HTML.getScript(b),p=null!=b.type.replace(/\n/g," ").match(/(;|\s|\n)mode\s*=\s*display(;|\s|\n|$)/),g={math:f,display:p,script:b};this.prefilterHooks.Execute(g);f=g.math;try{e=a.Parse(f).mml()}catch(m){if(!m.texError)throw m;e=this.formatError(m,f,p,b);h=!0}e=e.inferred?c.apply(MathJax.ElementJax,e.data):c(e);p&&(e.root.display="block");h&&(e.texError=!0);g.math=e;this.postfilterHooks.Execute(g);return g.math},prefilterMath:function(a,b,c){return a},postfilterMath:function(a,b,c){this.combineRelations(a.root);return a},formatError:function(a,b,h,f){a=a.message.replace(/\n.*/,"");e.signal.Post(["TeX Jax - parse error",a,b,h,f]);return c.merror(a)},Error:function(a){a instanceof Array&&(a=m.apply(m,a));throw e.Insert(Error(a),{texError:!0});},Macro:function(a,b,c){h.macros[a]=["Macro"].concat([].slice.call(arguments,1));h.macros[a].isUser=!0},fenced:function(a,b,e){var h=c.mrow();h.open=a;h.close=e;a&&h.Append(c.mo(a).With({fence:!0,stretchy:!0,texClass:c.TEXCLASS.OPEN}));"mrow"===b.type?h.Append.apply(h,b.data):h.Append(b);e&&h.Append(c.mo(e).With({fence:!0,stretchy:!0,texClass:c.TEXCLASS.CLOSE}));return h},combineRelations:function(a){var b,e,h,f;b=0;for(e=a.data.length;b