12345678910111213 |
- /*
- * /MathJax/config/TeX-AMS-MML_SVG.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.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=[],d=[],b,c,e=this.config;this.match={};b=0;for(c=e.inlineMath.length;b<c;b++)a.push(this.patternQuote(e.inlineMath[b][0])),this.match[e.inlineMath[b][0]]={mode:"",end:e.inlineMath[b][1],pattern:this.endPattern(e.inlineMath[b][1])};b=0;for(c=e.displayMath.length;b<c;b++)a.push(this.patternQuote(e.displayMath[b][0])),this.match[e.displayMath[b][0]]={mode:"; mode\x3ddisplay",end:e.displayMath[b][1],pattern:this.endPattern(e.displayMath[b][1])};a.length&&d.push(a.sort(this.sortLength).join("|"));e.processEnvironments&&d.push("\\\\begin\\{([^}]*)\\}");e.processEscapes&&d.push("\\\\*\\\\\\$");e.processRefs&&d.push("\\\\(eq)?ref\\{[^}]*\\}");this.start=new RegExp(d.join("|"),"g");this.skipTags=new RegExp("^("+e.skipTags.join("|")+")$","i");a=[];MathJax.Hub.config.preRemoveClass&&a.push(MathJax.Hub.config.preRemoveClass);e.ignoreClass&&a.push(e.ignoreClass);this.ignoreClass=a.length?new RegExp("(^| )("+a.join("|")+")( |$)"):/^$/;this.processClass=new RegExp("(^| )("+e.processClass+")( |$)");return 0<d.length},patternQuote:function(a){return a.replace(/([\^$(){}+*?\-|\[\]\:\\])/g,"\\$1")},endPattern:function(a){return new RegExp(this.patternQuote(a)+"|\\\\.|[{}]","g")},sortLength:function(a,d){return a.length!==d.length?d.length-a.length:a==d?0:a<d?-1:1},scanElement:function(a,d,b){for(var c,e,m;a&&a!=d;)"#text"===a.nodeName.toLowerCase()?b||(a=this.scanText(a)):(c="undefined"===typeof a.className?"":a.className,e="undefined"===typeof a.tagName?"":a.tagName,"string"!==typeof c&&(c=String(c)),m=this.processClass.exec(c),!a.firstChild||c.match(/(^| )MathJax/)||!m&&this.skipTags.exec(e)||(c=(b||this.ignoreClass.exec(c))&&!m,this.scanElement(a.firstChild,d,c))),a&&(a=a.nextSibling)},scanText:function(a){if(""==a.nodeValue.replace(/\s+/,""))return a;var d,b;this.search={start:!0};for(this.pattern=this.start;a;){for(this.pattern.lastIndex=0;a&&"#text"===a.nodeName.toLowerCase()&&(d=this.pattern.exec(a.nodeValue));)a=this.search.start?this.startMatch(d,a):this.endMatch(d,a);this.search.matched&&(a=this.encloseMath(a));if(a){do b=a,a=a.nextSibling;while(a&&("br"===a.nodeName.toLowerCase()||"#comment"===a.nodeName.toLowerCase()));if(!a||"#text"!==a.nodeName)return this.search.close?this.prevEndMatch():b}}return a},startMatch:function(a,d){var b=this.match[a[0]];if(null!=b)this.search={end:b.end,mode:b.mode,pcount:0,open:d,olen:a[0].length,opos:this.pattern.lastIndex-a[0].length},this.switchPattern(b.pattern);else if("\\begin"===a[0].substr(0,6))this.search={end:"\\end{"+a[1]+"}",mode:"; mode\x3ddisplay",pcount:0,open:d,olen:0,opos:this.pattern.lastIndex-a[0].length,isBeginEnd:!0},this.switchPattern(this.endPattern(this.search.end));else{if("\\ref"===a[0].substr(0,4)||"\\eqref"===a[0].substr(0,6))return this.search={mode:"",end:"",open:d,pcount:0,olen:0,opos:this.pattern.lastIndex-a[0].length},this.endMatch([""],d);var b=a[0].substr(0,a[0].length-1),c;0===b.length%2?(c=[b.replace(/\\\\/g,"\\")],b=1):(c=[b.substr(1).replace(/\\\\/g,"\\"),"$"],b=0);c=MathJax.HTML.Element("span",null,c);var e=MathJax.HTML.TextNode(d.nodeValue.substr(0,a.index));d.nodeValue=d.nodeValue.substr(a.index+a[0].length-b);d.parentNode.insertBefore(c,d);d.parentNode.insertBefore(e,c);this.pattern.lastIndex=b}return d},endMatch:function(a,d){var b=this.search;a[0]==b.end?(b.close&&0!==b.pcount||(b.close=d,b.cpos=this.pattern.lastIndex,b.clen=b.isBeginEnd?0:a[0].length),0===b.pcount&&(b.matched=!0,d=this.encloseMath(d),this.switchPattern(this.start))):"{"===a[0]?b.pcount++:"}"===a[0]&&b.pcount&&b.pcount--;return d},prevEndMatch:function(){this.search.matched=!0;var a=this.encloseMath(this.search.close);this.switchPattern(this.start);return a},switchPattern:function(a){a.lastIndex=this.pattern.lastIndex;this.pattern=a;this.search.start=a===this.start},encloseMath:function(a){a=this.search;var d=a.close,b,c;(d=a.cpos===d.length?d.nextSibling:d.splitText(a.cpos))||(b=d=MathJax.HTML.addText(a.close.parentNode,""));a.close=d;for(c=a.opos?a.open.splitText(a.opos):a.open;c.nextSibling&&c.nextSibling!==d;)c.nodeValue=null!==c.nextSibling.nodeValue?"#comment"===c.nextSibling.nodeName?c.nodeValue+c.nextSibling.nodeValue.replace(/^\[CDATA\[((.|\n|\r)*)\]\]$/,"$1"):c.nodeValue+c.nextSibling.nodeValue:this.msieNewlineBug?c.nodeValue+("br"===c.nextSibling.nodeName.toLowerCase()?"\n":" "):c.nodeValue+" ",c.parentNode.removeChild(c.nextSibling);d=c.nodeValue.substr(a.olen,c.nodeValue.length-a.olen-a.clen);c.parentNode.removeChild(c);"none"!==this.config.preview&&this.createPreview(a.mode,d);c=this.createMathTag(a.mode,d);this.search={};this.pattern.lastIndex=0;b&&b.parentNode.removeChild(b);return c},insertNode:function(a){var d=this.search;d.close.parentNode.insertBefore(a,d.close)},createPreview:function(a,d){var b=this.config.preview;"none"!==b&&("TeX"===b&&(b=[this.filterPreview(d)]),b&&(b=MathJax.HTML.Element("span",{className:MathJax.Hub.config.preRemoveClass},b),this.insertNode(b)))},createMathTag:function(a,d){var b=document.createElement("script");b.type="math/tex"+a;MathJax.HTML.setScript(b,d);this.insertNode(b);return b},filterPreview:function(a){return a},msieNewlineBug:MathJax.Hub.Browser.isMSIE&&9>document.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 d,b;if("undefined"!==typeof document.namespaces)try{for(d=0,b=document.namespaces.length;d<b;d++){var c=document.namespaces[d];c.urn===this.MMLnamespace&&this.ProcessMathArray(a.getElementsByTagName(c.name+":math"))}}catch(m){}else if(c=document.getElementsByTagName("html")[0])for(d=0,b=c.attributes.length;d<b;d++){var e=c.attributes[d];"xmlns:"===e.nodeName.substr(0,6)&&e.nodeValue===this.MMLnamespace&&this.ProcessMathArray(a.getElementsByTagName(e.nodeName.substr(6)+":math"))}},ProcessMathArray:function(a){var d;if(a.length)if(this.MathTagBug)for(d=a.length-1;0<=d;d--)"MATH"===a[d].nodeName?this.ProcessMathFlattened(a[d]):this.ProcessMath(a[d]);else for(d=a.length-1;0<=d;d--)this.ProcessMath(a[d])},ProcessMath:function(a){var d=a.parentNode,b=document.createElement("script");b.type="math/mml";d.insertBefore(b,a);if(this.AttributeBug){var c=this.OuterHTML(a);this.CleanupHTML&&(c=c.replace(/<\?import .*?>/i,"").replace(/<\?xml:namespace .*?\/>/i,""),c=c.replace(/ /g,"\x26#xA0;"));MathJax.HTML.setScript(b,c);d.removeChild(a)}else d=MathJax.HTML.Element("span"),d.appendChild(a),MathJax.HTML.setScript(b,d.innerHTML);"none"!==this.config.preview&&this.createPreview(a,b)},ProcessMathFlattened:function(a){var d=a.parentNode,b=document.createElement("script");b.type="math/mml";d.insertBefore(b,a);for(var d="",c,e=a;a&&"/MATH"!==a.nodeName;)c=a,a=a.nextSibling,d+=this.NodeHTML(c),c.parentNode.removeChild(c);a&&"/MATH"===a.nodeName&&a.parentNode.removeChild(a);b.text=d+"\x3c/math\x3e";"none"!==this.config.preview&&this.createPreview(e,b)},NodeHTML:function(a){var d,b,c;if("#text"===a.nodeName)d=this.quoteHTML(a.nodeValue);else if("#comment"===a.nodeName)d="\x3c!--"+a.nodeValue+"--\x3e";else{d="\x3c"+a.nodeName.toLowerCase();b=0;for(c=a.attributes.length;b<c;b++){var e=a.attributes[b];if(e.specified){d+=" "+e.nodeName.toLowerCase().replace(/xmlns:xmlns/,"xmlns")+"\x3d";var m=e.nodeValue;null==m&&"style"===e.nodeName&&a.style&&(m=a.style.cssText);d+='"'+this.quoteHTML(m)+'"'}}d+="\x3e";if(null!=a.outerHTML&&a.outerHTML.match(/(.<\/[A-Z]+>|\/>)$/)){b=0;for(c=a.childNodes.length;b<c;b++)d+=this.OuterHTML(a.childNodes[b]);d+="\x3c/"+a.nodeName.toLowerCase()+"\x3e"}}return d},OuterHTML:function(a){if("#"===a.nodeName.charAt(0))return this.NodeHTML(a);if(!this.AttributeBug)return a.outerHTML;for(var d=this.NodeHTML(a),b=0,c=a.childNodes.length;b<c;b++)d+=this.OuterHTML(a.childNodes[b]);return d+="\x3c/"+a.nodeName.toLowerCase()+"\x3e"},quoteHTML:function(a){null==a&&(a="");return a.replace(/&/g,"\x26#x26;").replace(/</g,"\x26lt;").replace(/>/g,"\x26gt;").replace(/\"/g,"\x26quot;")},createPreview:function(a,d){var b=this.config.preview;"none"!==b&&("alttext"===b&&(b=a.getAttribute("alttext"),b=null!=b?[this.filterPreview(b)]:null),b&&(b=MathJax.HTML.Element("span",{className:MathJax.Hub.config.preRemoveClass},b),d.parentNode.insertBefore(b,d)))},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"}),d=a.outerHTML||"";this.AttributeBug=""!==d&&!(d.match(/id="<"/)&&d.match(/class="mathjax"/)&&d.match(/<\/math>/));this.MathTagBug=1<a.childNodes.length;this.CleanupHTML=MathJax.Hub.Browser.isMSIE}};MathJax.Hub.Register.PreProcessor(["PreProcess",MathJax.Extension.mml2jax]);MathJax.Ajax.loadComplete("[MathJax]/extensions/mml2jax.js");(function(a,d,b,c,e,m,g){var k=MathJax.Extension,p=k.MathEvents={version:"2.2"},f=a.config.menuSettings,l={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(m.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"}}},n=p.Event={LEFTBUTTON:0,RIGHTBUTTON:2,MENUKEY:"altKey",Mousedown:function(a){return n.Handler(a,"Mousedown",this)},Mouseup:function(a){return n.Handler(a,"Mouseup",this)},Mousemove:function(a){return n.Handler(a,"Mousemove",this)},Mouseover:function(a){return n.Handler(a,"Mouseover",this)},Mouseout:function(a){return n.Handler(a,"Mouseout",this)},Click:function(a){return n.Handler(a,"Click",this)},DblClick:function(a){return n.Handler(a,"DblClick",this)},Menu:function(a){return n.Handler(a,"ContextMenu",this)},Handler:function(a,f,c){if(b.loadingMathMenu)return n.False(a);var l=m[c.jaxID];a||(a=window.event);a.isContextMenu="ContextMenu"===f;if(l[f])return l[f](a,c);if(k.MathZoom)return k.MathZoom.HandleEvent(a,f,c)},False:function(a){a||(a=window.event);a&&(a.preventDefault&&a.preventDefault(),a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0,a.returnValue=!1);return!1},ContextMenu:function(l,d,k){var h=m[d.jaxID],r=h.getJaxFromMath(d);if((null!=h.config.showMathMenu?h:a).config.showMathMenu&&("MathJax"===f.context||k)){p.msieEventBug&&(l=window.event||l);n.ClearSelection();t.ClearHoverTimer();r.hover&&(r.hover.remove&&(clearTimeout(r.hover.remove),delete r.hover.remove),r.hover.nofade=!0);var v=MathJax.Menu;if(v){if(v.loadingDomain)return n.False(l);h=e.loadDomain("MathMenu");if(!h)return v.jax=r,d=v.menu.Find("Show Math As").menu,d.items[0].name=r.sourceMenuTitle,d.items[0].format=r.sourceMenuFormat||"MathML",d.items[1].name=g[r.inputJax].sourceMenuTitle,v.menu.Find("Math Settings","MathPlayer").hidden=!("NativeMML"===r.outputJax&&a.Browser.hasMathPlayer),v.menu.Post(l);v.loadingDomain=!0;r=function(){delete v.loadingDomain}}else{if(b.loadingMathMenu)return n.False(l);b.loadingMathMenu=!0;h=b.Require("[MathJax]/extensions/MathMenu.js");r=function(){delete b.loadingMathMenu;MathJax.Menu||(MathJax.Menu={})}}c.Queue(h,r,["ContextMenu",n,{pageX:l.pageX,pageY:l.pageY,clientX:l.clientX,clientY:l.clientY},d,k]);return n.False(l)}},AltContextMenu:function(c,l){var b=m[l.jaxID],e=(null!=b.config.showMathMenu?b:a).config.showMathMenu;if(e){e=(null!=b.config.showMathMenuMSIE?b:a).config.showMathMenuMSIE;if("MathJax"===f.context&&!f.mpContext&&e){if(!p.noContextMenuBug||c.button!==n.RIGHTBUTTON)return}else if(!c[n.MENUKEY]||c.button!==n.LEFTBUTTON)return;return b.ContextMenu(c,l,!0)}},ClearSelection:function(){p.safariContextMenuBug&&setTimeout("window.getSelection().empty()",0);document.selection&&setTimeout("document.selection.empty()",0)},getBBox:function(a){a.appendChild(p.topImg);var f=p.topImg.offsetTop,c=a.offsetHeight-f,l=a.offsetWidth;a.removeChild(p.topImg);return{w:l,h:f,d:c}}},t=p.Hover={Mouseover:function(c,l){if(f.discoverable||"Hover"===f.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(l),b.hover?t.ReHover(b):t.HoverTimer(b,l),n.False(c)}},Mouseout:function(c,l){if(f.discoverable||"Hover"===f.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(l),b.hover?t.UnHover(b):t.ClearHoverTimer(),n.False(c)}},Mousemove:function(a,c){if(f.discoverable||"Hover"===f.zoom){var l=this.getJaxFromMath(c);if(!l.hover&&(t.lastX!=a.clientX||t.lastY!=a.clientY))return t.lastX=a.clientX,t.lastY=a.clientY,t.HoverTimer(l,c),n.False(a)}},HoverTimer:function(a,f){this.ClearHoverTimer();this.hoverTimer=setTimeout(c(["Hover",this,a,f]),l.hover)},ClearHoverTimer:function(){this.hoverTimer&&(clearTimeout(this.hoverTimer),delete this.hoverTimer)},Hover:function(f,c){if(!k.MathZoom||!k.MathZoom.Hover({},c)){var b=m[f.outputJax],n=b.getHoverSpan(f,c),e=b.getHoverBBox(f,n,c),t=(null!=b.config.showMathMenu?b:a).config.showMathMenu,h=l.frame.x,g=l.frame.y,r=l.frame.bwidth;p.msieBorderWidthBug&&(r=0);f.hover={opacity:0,id:f.inputID+"-Hover"};var x=d.Element("span",{id:f.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(-e.h-g-r-(e.y||0)),left:this.Px(-h-r+(e.x||0)),width:this.Px(e.w+2*h),height:this.Px(e.h+e.d+2*g),opacity:0,filter:"alpha(opacity\x3d0)"}}]]),b=d.Element("span",{isMathJax:!0,id:f.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:l.button.src,onclick:this.HoverMenu,jax:b.id,style:{left:this.Px(e.w+h+r+(e.x||0)+l.button.x),top:this.Px(-e.h-g-r-(e.y||0)-l.button.y),opacity:0,filter:"alpha(opacity\x3d0)"}}]]);e.width&&(x.style.width=b.style.width=e.width,x.style.marginRight=b.style.marginRight="-"+e.width,x.firstChild.style.width=e.width,b.firstChild.style.left="",b.firstChild.style.right=this.Px(l.button.wx));n.parentNode.insertBefore(x,n);t&&n.parentNode.insertBefore(b,n);n.style&&(n.style.position="relative");this.ReHover(f)}},ReHover:function(a){a.hover.remove&&clearTimeout(a.hover.remove);a.hover.remove=setTimeout(c(["UnHover",this,a]),l.fadeoutDelay);this.HoverFadeTimer(a,l.fadeinInc)},UnHover:function(a){a.hover.nofade||this.HoverFadeTimer(a,-l.fadeoutInc,l.fadeoutStart)},HoverFade:function(a){delete a.hover.timer;a.hover.opacity=Math.max(0,Math.min(1,a.hover.opacity+a.hover.inc));a.hover.opacity=Math.floor(1E3*a.hover.opacity)/1E3;var f=document.getElementById(a.hover.id),c=document.getElementById(a.hover.id+"Menu");f.firstChild.style.opacity=a.hover.opacity;f.firstChild.style.filter="alpha(opacity\x3d"+Math.floor(100*a.hover.opacity)+")";c&&(c.firstChild.style.opacity=a.hover.opacity,c.firstChild.style.filter=f.style.filter);1!==a.hover.opacity&&(0<a.hover.opacity?this.HoverFadeTimer(a,a.hover.inc):(f.parentNode.removeChild(f),c&&c.parentNode.removeChild(c),a.hover.remove&&clearTimeout(a.hover.remove),delete a.hover))},HoverFadeTimer:function(a,f,b){a.hover.inc=f;a.hover.timer||(a.hover.timer=setTimeout(c(["HoverFade",this,a]),b||l.fadeDelay))},HoverMenu:function(a){a||(a=window.event);return m[this.jax].ContextMenu(a,this.math,!0)},ClearHover:function(a){a.hover.remove&&clearTimeout(a.hover.remove);a.hover.timer&&clearTimeout(a.hover.timer);t.ClearHoverTimer();delete a.hover},Px:function(a){return.006>Math.abs(a)?"0px":a.toFixed(2).replace(/\.?0+$/,"")+"px"},getImages:function(){(new Image).src=l.button.src}},r=p.Touch={last:0,delay:500,start:function(a){var f=(new Date).getTime(),c=f-r.last<r.delay&&r.up;r.last=f;r.up=!1;c&&(r.timeout=setTimeout(r.menu,r.delay,a,this),a.preventDefault())},end:function(a){var f=(new Date).getTime();r.up=f-r.last<r.delay;if(r.timeout)return clearTimeout(r.timeout),delete r.timeout,r.last=0,r.up=!1,a.preventDefault(),n.Handler(a.touches[0]||a.touch,"DblClick",this)},menu:function(a,f){delete r.timeout;r.last=0;r.up=!1;return n.Handler(a.touches[0]||a.touch,"ContextMenu",f)}};if(a.Browser.isMobile){var h=l.styles[".MathJax_Hover_Arrow"];h.width="25px";h.height="18px";l.button.x=-6}a.Browser.Select({MSIE:function(a){var f=document.documentMode||0,c=a.versionAtLeast("8.0");p.msieBorderWidthBug="BackCompat"===document.compatMode;p.msieEventBug=a.isIE9;p.msieAlignBug=!c||8>f;9>f&&(n.LEFTBUTTON=1)},Safari:function(a){p.safariContextMenuBug=!0},Opera:function(a){p.operaPositionBug=!0},Konqueror:function(a){p.noContextMenuBug=!0}});p.topImg=p.msieAlignBug?d.Element("img",{style:{width:0,height:0,position:"relative"},src:"about:blank"}):d.Element("span",{style:{width:0,height:0,display:"inline-block"}});p.operaPositionBug&&(p.topImg.style.border="1px solid");p.config=l=a.CombineConfig("MathEvents",l);c.Queue(a.Register.StartupHook("End Config",{}),[function(){var a=l.styles[".MathJax_Hover_Frame"];a.border=l.frame.bwidth+"px solid "+l.frame.bcolor+" ! important";a["box-shadow"]=a["-webkit-box-shadow"]=a["-moz-box-shadow"]=a["-khtml-box-shadow"]="0px 0px "+l.frame.hwidth+" "+l.frame.hcolor}],["getImages",t],["Styles",b,l.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,d,b,c,e){var m=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)"}}}),g,k,p;MathJax.Hub.Register.StartupHook("MathEvents Ready",function(){p=MathJax.Extension.MathEvents.Event;g=MathJax.Extension.MathEvents.Event.False;k=MathJax.Extension.MathEvents.Hover});var f=MathJax.Extension.MathZoom={version:"2.2",settings:a.config.menuSettings,scrollSize:18,HandleEvent:function(a,c,b){return f.settings.CTRL&&!a.ctrlKey||f.settings.ALT&&!a.altKey||f.settings.CMD&&!a.metaKey||f.settings.Shift&&!a.shiftKey||!f[c]?!0:f[c](a,b)},Click:function(a,f){if("Click"===this.settings.zoom)return this.Zoom(a,f)},DblClick:function(a,f){if("Double-Click"===this.settings.zoom)return this.Zoom(a,f)},Hover:function(a,f){return"Hover"===this.settings.zoom?(this.Zoom(a,f),!0):!1},Zoom:function(f,c){this.Remove();k.ClearHoverTimer();p.ClearSelection();var b=MathJax.OutputJax[c.jaxID],e=b.getJaxFromMath(c);e.hover&&k.UnHover(e);var h=Math.floor(.85*document.body.clientWidth),q=Math.floor(.85*Math.max(document.body.clientHeight,document.documentElement.clientHeight)),w=d.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":h+"px","max-height":q+"px"}},[["span",{style:{display:"inline-block","white-space":"nowrap"}}]]]]),u=w.lastChild,y=u.firstChild,z=w.firstChild;c.parentNode.insertBefore(w,c);c.parentNode.insertBefore(c,w);y.addEventListener&&y.addEventListener("mousedown",this.Remove,!0);if(this.msieTrapEventBug){var v=d.Element("span",{id:"MathJax_ZoomEventTrap",onmousedown:this.Remove});w.insertBefore(v,u)}this.msieZIndexBug&&(d.addElement(document.body,"img",{src:"about:blank",id:"MathJax_ZoomTracker",width:0,height:0,style:{width:0,height:0,position:"relative"}}),w.style.position="relative",w.style.zIndex=m.styles["#MathJax_ZoomOverlay"]["z-index"]);b=b.Zoom(e,y,c,h,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>h&&(u.style.width=h+"px",u.style.height=b.zH+this.scrollSize+"px"));this.operaPositionBug&&(u.style.width=Math.min(h,b.zW)+"px");u.offsetWidth&&u.offsetWidth<h&&u.offsetHeight<q&&(u.style.overflow="visible");this.Position(u,b);this.msieTrapEventBug&&(v.style.height=u.clientHeight+"px",v.style.width=u.clientWidth+"px",v.style.left=parseFloat(u.style.left)+u.clientLeft+"px",v.style.top=parseFloat(u.style.top)+u.clientTop+"px");u.style.visibility="";"Hover"===this.settings.zoom&&(z.onmouseover=this.Remove);window.addEventListener?addEventListener("resize",this.Resize,!1):window.attachEvent?attachEvent("onresize",this.Resize):(this.onresize=window.onresize,window.onresize=this.Resize);a.signal.Post(["math zoomed",e]);return g(f)},Position:function(a,c){var b=this.Resize(),e=b.y,d=c.mW,k=c.Y;a.style.left=Math.max(-d-Math.floor((a.offsetWidth-d)/2),10-b.x)+"px";a.style.top=Math.max(k,10-e)+"px";f.msiePositionBug||f.SetWH()},Resize:function(a){if(f.onresize)f.onresize(a);var c=document.getElementById("MathJax_ZoomFrame");a=document.getElementById("MathJax_ZoomOverlay");for(var b=f.getXY(c),c=c.parentNode,e=f.getOverflow(c);c.parentNode&&c!==document.body&&"visible"===e;)c=c.parentNode,e=f.getOverflow(c);"visible"!==e&&(a.scroll_parent=c,e=f.getXY(c),b.x-=e.x,b.y-=e.y,e=f.getBorder(c),b.x-=e.x,b.y-=e.y);a.style.left=-b.x+"px";a.style.top=-b.y+"px";f.msiePositionBug?setTimeout(f.SetWH,0):f.SetWH();return b},SetWH:function(){var a=document.getElementById("MathJax_ZoomOverlay");a.style.width=a.style.height="1px";var f=a.scroll_parent||document.documentElement||document.body;a.style.width=f.scrollWidth+"px";a.style.height=Math.max(f.clientHeight,f.scrollHeight)+"px"},getOverflow:window.getComputedStyle?function(a){return getComputedStyle(a).overflow}:function(a){return(a.currentStyle||{overflow:"visible"}).overflow},getBorder:function(a){var f={thin:1,medium:2,thick:3},c=window.getComputedStyle?getComputedStyle(a):a.currentStyle||{borderLeftWidth:0,borderTopWidth:0};a=c.borderLeftWidth;c=c.borderTopWidth;a=f[a]?f[a]:parseInt(a);c=f[c]?f[c]:parseInt(c);return{x:a,y:c}},getXY:function(a){var c=0,b=0,e;for(e=a;e.offsetParent;)c+=e.offsetLeft,e=e.offsetParent;f.operaPositionBug&&(a.style.border="1px solid");for(e=a;e.offsetParent;)b+=e.offsetTop,e=e.offsetParent;f.operaPositionBug&&(a.style.border="");return{x:c,y:b}},Remove:function(c){var b=document.getElementById("MathJax_ZoomFrame");if(b){var e=MathJax.OutputJax[b.previousSibling.jaxID].getJaxFromMath(b.previousSibling);a.signal.Post(["math unzoomed",e]);b.parentNode.removeChild(b);(b=document.getElementById("MathJax_ZoomTracker"))&&b.parentNode.removeChild(b);f.operaRefreshBug&&(b=d.addElement(document.body,"div",{style:{position:"fixed",left:0,top:0,width:"100%",height:"100%",backgroundColor:"white",opacity:0},id:"MathJax_OperaDiv"}),document.body.removeChild(b));window.removeEventListener?removeEventListener("resize",f.Resize,!1):window.detachEvent?detachEvent("onresize",f.Resize):(window.onresize=f.onresize,delete f.onresize)}return g(c)}};a.Browser.Select({MSIE:function(a){var c=document.documentMode||0,b=9<=c;f.msiePositionBug=!b;f.msieSizeBug=a.versionAtLeast("7.0")&&(!document.documentMode||7===c||8===c);f.msieZIndexBug=7>=c;f.msieInlineBlockAlignBug=7>=c;f.msieTrapEventBug=!window.addEventListener;"BackCompat"===document.compatMode&&(f.scrollSize=52);b&&delete m.styles["#MathJax_Zoom"].filter},Opera:function(a){f.operaPositionBug=!0;f.operaRefreshBug=!0}});f.topImg=f.msieInlineBlockAlignBug?d.Element("img",{style:{width:0,height:0,position:"relative"},src:"about:blank"}):d.Element("span",{style:{width:0,height:0,display:"inline-block"}});if(f.operaPositionBug||f.msieTopBug)f.topImg.style.border="1px solid";MathJax.Callback.Queue(["StartupHook",MathJax.Hub.Register,"Begin Styles",{}],["Styles",b,m.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,d,b,c,e){var m=MathJax.Callback.Signal("menu");MathJax.Extension.MathMenu={version:"2.2",signal:m};var g=function(a){return MathJax.Localization._.apply(MathJax.Localization,[["MathMenu",a]].concat([].slice.call(arguments,1)))},k=a.Browser.isPC,p=a.Browser.isMSIE,f=8<(document.documentMode||0),l=k?null:"5px",n=a.CombineConfig("MathMenu",{delay:150,closeImg:b.fileURL(e.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:k?"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":l,"-webkit-border-radius":l,"-moz-border-radius":l,"-khtml-border-radius":l,"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:k?"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:k?"1em":".7em"},".MathJax_MenuLabel":{padding:k?"2px 2em 4px 1.33em":"1px 2em 3px 1.33em","font-style":"italic"},".MathJax_MenuRule":{"border-top":k?"1px solid #CCCCCC":"1px solid #DDDDDD",margin:k?"4px 1px 0px":"4px 3px"},".MathJax_MenuDisabled":{color:"GrayText"},".MathJax_MenuActive":{"background-color":k?"Highlight":"#606872",color:k?"HighlightText":"white"},".MathJax_Menu_Close":{position:"absolute",width:"31px",height:"31px",top:"-15px",left:"-15px"}}}),t,r;a.Register.StartupHook("MathEvents Ready",function(){t=MathJax.Extension.MathEvents.Event.False;r=MathJax.Extension.MathEvents.Hover});var h=MathJax.Menu=MathJax.Object.Subclass({version:"2.2",items:[],posted:!1,title:null,margin:5,Init:function(a){this.items=[].slice.call(arguments,0)},With:function(f){f&&a.Insert(this,f);return this},Post:function(a,f){a||(a=window.event);var c=document.getElementById("MathJax_MenuFrame");c||(c=h.Background(this),delete q.lastItem,delete q.lastMenu,delete h.skipUp,m.Post(["post",h.jax]));var b=d.addElement(c,"div",{onmouseup:h.Mouseup,ondblclick:t,ondragstart:t,onselectstart:t,oncontextmenu:t,menuItem:this,className:"MathJax_Menu"});MathJax.Localization.setCSS(b);for(var l=0,e=this.items.length;l<e;l++)this.items[l].Create(b);h.isMobile&&d.addElement(b,"span",{className:"MathJax_Menu_Close",menu:f,ontouchstart:h.Close,ontouchend:t,onmousedown:h.Close,onmouseup:t},[["img",{src:n.closeImg,style:{width:"100%",height:"100%"}}]]);this.posted=!0;b.style.width=b.offsetWidth+2+"px";l=a.pageX;e=a.pageY;l||e||(l=a.clientX+document.body.scrollLeft+document.documentElement.scrollLeft,e=a.clientY+document.body.scrollTop+document.documentElement.scrollTop);if(f){for(var g="left",p=f.offsetWidth,l=h.isMobile?30:p-2,e=0;f&&f!==c;)l+=f.offsetLeft,e+=f.offsetTop,f=f.parentNode;l+b.offsetWidth>document.body.offsetWidth-this.margin&&!h.isMobile&&(g="right",l=Math.max(this.margin,l-p-b.offsetWidth+6));k||(b.style["borderRadiusTop"+g]=0,b.style["WebkitBorderRadiusTop"+g]=0,b.style["MozBorderRadiusTop"+g]=0,b.style["KhtmlBorderRadiusTop"+g]=0)}else l+b.offsetWidth>document.body.offsetWidth-this.margin&&(l=document.body.offsetWidth-b.offsetWidth-this.margin),h.isMobile&&(l=Math.max(5,l-Math.floor(b.offsetWidth/2)),e-=20),h.skipUp=a.isContextMenu;b.style.left=l+"px";b.style.top=e+"px";document.selection&&document.selection.empty&&document.selection.empty();return t(a)},Remove:function(a,f){m.Post(["unpost",h.jax]);var c=document.getElementById("MathJax_MenuFrame");c&&(c.parentNode.removeChild(c),this.msieFixedPositionBug&&detachEvent("onresize",h.Resize));h.jax.hover&&(delete h.jax.hover.nofade,r.UnHover(h.jax));return t(a)},Find:function(a){return this.FindN(1,a,[].slice.call(arguments,1))},FindId:function(a){return this.FindN(0,a,[].slice.call(arguments,1))},FindN:function(a,f,c){for(var b=0,l=this.items.length;b<l;b++)if(this.items[b].name[a]===f){if(c.length){if(!this.items[b].menu)break;return this.items[b].menu.FindN(a,c[0],c.slice(1))}return this.items[b]}return null},IndexOf:function(a){return this.IndexOfN(1,a)},IndexOfId:function(a){return this.IndexOfN(0,a)},IndexOfN:function(a,f){for(var c=0,b=this.items.length;c<b;c++)if(this.items[c].name[a]===f)return c;return null}},{config:n,div:null,Close:function(a){return h.Event(a,this.menu||this.parentNode,this.menu?"Touchend":"Remove")},Remove:function(a){return h.Event(a,this,"Remove")},Mouseover:function(a){return h.Event(a,this,"Mouseover")},Mouseout:function(a){return h.Event(a,this,"Mouseout")},Mousedown:function(a){return h.Event(a,this,"Mousedown")},Mouseup:function(a){return h.Event(a,this,"Mouseup")},Touchstart:function(a){return h.Event(a,this,"Touchstart")},Touchend:function(a){return h.Event(a,this,"Touchend")},Event:function(a,f,c,b){if(h.skipMouseover&&"Mouseover"===c&&!b)return t(a);if(h.skipUp){if(c.match(/Mouseup|Touchend/))return delete h.skipUp,t(a);("Touchstart"===c||"Mousedown"===c&&!h.skipMousedown)&&delete h.skipUp}a||(a=window.event);return(b=f.menuItem)&&b[c]?b[c](a,f):null},BGSTYLE:{position:"absolute",left:0,top:0,"z-index":200,width:"100%",height:"100%",border:0,padding:0,margin:0},Background:function(a){a=d.addElement(document.body,"div",{style:this.BGSTYLE,id:"MathJax_MenuFrame"},[["div",{style:this.BGSTYLE,menuItem:a,onmousedown:this.Remove}]]);var f=a.firstChild;h.msieBackgroundBug&&(f.style.backgroundColor="white",f.style.filter="alpha(opacity\x3d0)");h.msieFixedPositionBug?(a.width=a.height=0,this.Resize(),attachEvent("onresize",this.Resize)):f.style.position="fixed";return a},Resize:function(){setTimeout(h.SetWH,0)},SetWH:function(){var a=document.getElementById("MathJax_MenuFrame");a&&(a=a.firstChild,a.style.width=a.style.height="1px",a.style.width=document.body.scrollWidth+"px",a.style.height=document.body.scrollHeight+"px")},saveCookie:function(){d.Cookie.Set("menu",this.cookie)},getCookie:function(){this.cookie=d.Cookie.Get("menu")},getImages:function(){h.isMobile&&((new Image).src=n.closeImg)}}),q=h.ITEM=MathJax.Object.Subclass({name:"",Create:function(a){if(!this.hidden){var f={onmouseover:h.Mouseover,onmouseout:h.Mouseout,onmouseup:h.Mouseup,onmousedown:h.Mousedown,ondragstart:t,onselectstart:t,onselectend:t,ontouchstart:h.Touchstart,ontouchend:h.Touchend,className:"MathJax_MenuItem",menuItem:this};this.disabled&&(f.className+=" MathJax_MenuDisabled");d.addElement(a,"div",f,this.Label(f,a))}},Name:function(){return g(this.name[0],this.name[1])},Mouseover:function(a,f){this.disabled||this.Activate(f);if(!this.menu||!this.menu.posted){for(var c=document.getElementById("MathJax_MenuFrame").childNodes,b=f.parentNode.childNodes,l=0,e=b.length;l<e;l++){var n=b[l].menuItem;n&&n.menu&&n.menu.posted&&n.Deactivate(b[l])}for(e=c.length-1;0<=e&&f.parentNode.menuItem!==c[e].menuItem;)c[e].menuItem.posted=!1,c[e].parentNode.removeChild(c[e]),e--;this.Timer&&!h.isMobile&&this.Timer(a,f)}},Mouseout:function(a,f){this.menu&&this.menu.posted||this.Deactivate(f);this.timer&&(clearTimeout(this.timer),delete this.timer)},Mouseup:function(a,f){return this.Remove(a,f)},Touchstart:function(a,f){return this.TouchEvent(a,f,"Mousedown")},Touchend:function(a,f){return this.TouchEvent(a,f,"Mouseup")},TouchEvent:function(a,f,c){this!==q.lastItem&&(q.lastMenu&&h.Event(a,q.lastMenu,"Mouseout"),h.Event(a,f,"Mouseover",!0),q.lastItem=this,q.lastMenu=f);if(this.nativeTouch)return null;h.Event(a,f,c);return!1},Remove:function(a,f){f=f.parentNode.menuItem;return f.Remove(a,f)},Activate:function(a){this.Deactivate(a);a.className+=" MathJax_MenuActive"},Deactivate:function(a){a.className=a.className.replace(/ MathJax_MenuActive/,"")},With:function(f){f&&a.Insert(this,f);return this}});h.ITEM.COMMAND=h.ITEM.Subclass({action:function(){},Init:function(a,f,c){a instanceof Array||(a=[a,a]);this.name=a;this.action=f;this.With(c)},Label:function(a,f){return[this.Name()]},Mouseup:function(a,f){this.disabled||(this.Remove(a,f),m.Post(["command",this]),this.action.call(this,a));return t(a)}});h.ITEM.SUBMENU=h.ITEM.Subclass({menu:null,marker:k&&!a.Browser.isSafari?"\u25b6":"\u25b8",Init:function(a,f){a instanceof Array||(a=[a,a]);this.name=a;var c=1;f instanceof h.ITEM||(this.With(f),c++);this.menu=h.apply(h,[].slice.call(arguments,c))},Label:function(a,f){this.menu.posted=!1;return[this.Name()+" ",["span",{className:"MathJax_MenuArrow"},[this.marker]]]},Timer:function(a,f){this.timer&&clearTimeout(this.timer);a={clientX:a.clientX,clientY:a.clientY};this.timer=setTimeout(c(["Mouseup",this,a,f]),n.delay)},Touchend:function(a,f){var c=this.menu.posted,b=this.SUPER(arguments).Touchend.apply(this,arguments);c&&(this.Deactivate(f),delete q.lastItem,delete q.lastMenu);return b},Mouseup:function(a,f){if(!this.disabled)if(this.menu.posted)for(var c=document.getElementById("MathJax_MenuFrame").childNodes,b=c.length-1;0<=b;){var l=c[b];l.menuItem.posted=!1;l.parentNode.removeChild(l);if(l.menuItem===this.menu)break;b--}else this.timer&&(clearTimeout(this.timer),delete this.timer),this.menu.Post(a,f);return t(a)}});h.ITEM.RADIO=h.ITEM.Subclass({variable:null,marker:k?"\u25cf":"\u2713",Init:function(a,f,c){a instanceof Array||(a=[a,a]);this.name=a;this.variable=f;this.With(c);null==this.value&&(this.value=this.name[0])},Label:function(a,f){var c={className:"MathJax_MenuRadioCheck"};n.settings[this.variable]!==this.value&&(c={style:{display:"none"}});return[["span",c,[this.marker]]," "+this.Name()]},Mouseup:function(a,f){if(!this.disabled){for(var c=f.parentNode.childNodes,b=0,l=c.length;b<l;b++){var e=c[b].menuItem;e&&e.variable===this.variable&&(c[b].firstChild.style.display="none")}f.firstChild.display="";n.settings[this.variable]=this.value;h.cookie[this.variable]=n.settings[this.variable];h.saveCookie();m.Post(["radio button",this])}this.Remove(a,f);this.action&&!this.disabled&&this.action.call(h,this);return t(a)}});h.ITEM.CHECKBOX=h.ITEM.Subclass({variable:null,marker:"\u2713",Init:function(a,f,c){a instanceof Array||(a=[a,a]);this.name=a;this.variable=f;this.With(c)},Label:function(a,f){var c={className:"MathJax_MenuCheck"};n.settings[this.variable]||(c={style:{display:"none"}});return[["span",c,[this.marker]]," "+this.Name()]},Mouseup:function(a,f){this.disabled||(f.firstChild.display=n.settings[this.variable]?"none":"",n.settings[this.variable]=!n.settings[this.variable],h.cookie[this.variable]=n.settings[this.variable],h.saveCookie(),m.Post(["checkbox",this]));this.Remove(a,f);this.action&&!this.disabled&&this.action.call(h,this);return t(a)}});h.ITEM.LABEL=h.ITEM.Subclass({Init:function(a,f){a instanceof Array||(a=[a,a]);this.name=a;this.With(f)},Label:function(a,f){delete a.onmouseover;delete a.onmouseout;delete a.onmousedown;a.className+=" MathJax_MenuLabel";return[this.Name()]}});h.ITEM.RULE=h.ITEM.Subclass({Label:function(a,f){delete a.onmouseover;delete a.onmouseout;delete a.onmousedown;a.className+=" MathJax_MenuRule";return null}});h.About=function(){var f=e["HTML-CSS"]||{},c=(f.imgFonts?"image":f.fontInUse?(f.webFonts?"web":"local")+" "+f.fontInUse:e.SVG?"web SVG":"generic")+" fonts",f=!f.webFonts||f.imgFonts?null:f.allowWebFonts.replace(/otf/,"woff or otf")+" fonts",b=["MathJax.js v"+MathJax.fileversion,["br"]];b.push(["div",{style:{"border-top":"groove 2px",margin:".25em 0"}}]);h.About.GetJax(b,MathJax.InputJax,["InputJax","%1 Input Jax v%2"]);h.About.GetJax(b,MathJax.OutputJax,["OutputJax","%1 Output Jax v%2"]);h.About.GetJax(b,MathJax.ElementJax,["ElementJax","%1 Element Jax v%2"]);b.push(["div",{style:{"border-top":"groove 2px",margin:".25em 0"}}]);h.About.GetJax(b,MathJax.Extension,["Extension","%1 Extension v%2"],!0);b.push(["div",{style:{"border-top":"groove 2px",margin:".25em 0"}}],["center",{},[a.Browser+" v"+a.Browser.version+(f?" \u2014 "+g(f.replace(/ /g,""),f):"")]]);h.About.div=h.Background(h.About);c=d.addElement(h.About.div,"div",{id:"MathJax_About"},[["b",{style:{fontSize:"120%"}},["MathJax"]]," v"+MathJax.version,["br"],g(c.replace(/ /g,""),"using "+c),["br"],["br"],["span",{style:{display:"inline-block","text-align":"left","font-size":"80%","max-height":"20em",overflow:"auto","background-color":"#E4E4E4",padding:".4em .6em",border:"1px inset"}},b],["br"],["br"],["a",{href:"http://www.mathjax.org/"},["www.mathjax.org"]],["img",{src:n.closeImg,style:{width:"21px",height:"21px",position:"absolute",top:".2em",right:".2em"},onclick:h.About.Remove}]]);MathJax.Localization.setCSS(c);f=document.documentElement||{};f=window.innerHeight||f.clientHeight||f.scrollHeight||0;h.prototype.msieAboutBug?(c.style.width="20em",c.style.position="absolute",c.style.left=Math.floor((document.documentElement.scrollWidth-c.offsetWidth)/2)+"px",c.style.top=Math.floor((f-c.offsetHeight)/3)+document.body.scrollTop+"px"):(c.style.marginLeft=Math.floor(-c.offsetWidth/2)+"px",c.style.top=Math.floor((f-c.offsetHeight)/3)+"px")};h.About.Remove=function(a){h.About.div&&(document.body.removeChild(h.About.div),delete h.About.div)};h.About.GetJax=function(a,f,c,b){var l=[],e;for(e in f)f.hasOwnProperty(e)&&f[e]&&(b&&f[e].version||f[e].isa&&f[e].isa(f))&&l.push(g(c[0],c[1],f[e].id||e,f[e].version));l.sort();f=0;for(c=l.length;f<c;f++)a.push(l[f],["br"]);return a};h.Help=function(){b.Require("[MathJax]/extensions/HelpDialog.js",function(){MathJax.Extension.Help.Dialog()})};h.ShowSource=function(a){a||(a=window.event);var f={screenX:a.screenX,screenY:a.screenY};if(h.jax)if("MathML"===this.format){var l=MathJax.ElementJax.mml;if(l&&"undefined"!==typeof l.mbase.prototype.toMathML)try{h.ShowSource.Text(h.jax.root.toMathML(),a)}catch(e){if(!e.restart)throw e;c.After([this,h.ShowSource,f],e.restart)}else b.loadingToMathML||(b.loadingToMathML=!0,h.ShowSource.Window(a),c.Queue(b.Require("[MathJax]/extensions/toMathML.js"),function(){delete b.loadingToMathML;l.mbase.prototype.toMathML||(l.mbase.prototype.toMathML=function(){})},[this,h.ShowSource,f]))}else"Error"===this.format?h.ShowSource.Text(h.jax.errorText,a):null==h.jax.originalText?alert(g("NoOriginalForm","No original form available")):h.ShowSource.Text(h.jax.originalText,a)};h.ShowSource.Window=function(a){if(!h.ShowSource.w){a=[];var f=n.windowSettings,c;for(c in f)f.hasOwnProperty(c)&&a.push(c+"\x3d"+f[c]);h.ShowSource.w=window.open("","_blank",a.join(","))}return h.ShowSource.w};h.ShowSource.Text=function(a,f){var c=h.ShowSource.Window(f);delete h.ShowSource.w;a=a.replace(/^\s*/,"").replace(/\s*$/,"");a=a.replace(/&/g,"\x26amp;").replace(/</g,"\x26lt;").replace(/>/g,"\x26gt;");var b=g("EqSource","MathJax Equation Source");if(h.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"+b+"\x3c/title\x3e\x3c/head\x3e\x3cbody style\x3d'font-size:85%'\x3e"),c.document.write("\x3cpre\x3e"+a+"\x3c/pre\x3e"),c.document.write("\x3chr\x3e\x3cinput type\x3d'button' value\x3d'"+g("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"+b+"\x3c/title\x3e\x3c/head\x3e\x3cbody style\x3d'font-size:85%'\x3e");c.document.write("\x3ctable\x3e\x3ctr\x3e\x3ctd\x3e\x3cpre\x3e"+a+"\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 l=c.document.body.firstChild;setTimeout(function(){var a=c.outerHeight-c.innerHeight||30,b=c.outerWidth-c.innerWidth||30,b=Math.max(100,Math.min(Math.floor(.5*screen.width),l.offsetWidth+b+25)),a=Math.max(40,Math.min(Math.floor(.5*screen.height),l.offsetHeight+a+25));c.resizeTo(b,a);f&&null!=f.screenX&&(b=Math.max(0,Math.min(f.screenX-Math.floor(b/2),screen.width-b-20)),a=Math.max(0,Math.min(f.screenY-Math.floor(a/2),screen.height-a-20)),c.moveTo(b,a))},50)}};h.Scale=function(){var f=e["HTML-CSS"],c=e.NativeMML,b=e.SVG,l=(f||c||b||{config:{scale:100}}).config.scale,n=prompt(g("ScaleMath","Scale all mathematics (compared to surrounding text) by"),l+"%");n&&(n.match(/^\s*\d+(\.\d*)?\s*%?\s*$/)?(n=parseFloat(n))?n!==l&&(f&&(f.config.scale=n),c&&(c.config.scale=n),b&&(b.config.scale=n),h.cookie.scale=n,h.saveCookie(),a.Reprocess()):alert(g("NonZeroScale","The scale should not be zero")):alert(g("PercentScale","The scale should be a percentage (e.g., 120%%)")))};h.Zoom=function(){MathJax.Extension.MathZoom||b.Require("[MathJax]/extensions/MathZoom.js")};h.Renderer=function(){var c=a.outputJax["jax/mml"];if(c[0]!==n.settings.renderer){var b=a.Browser,l,e=h.Renderer.Messages,k;switch(n.settings.renderer){case "NativeMML":n.settings.warnedMML||(b.isChrome&&"24."!==b.version.substr(0,3)?l=e.MML.WebKit:b.isSafari&&!b.versionAtLeast("5.0")?l=e.MML.WebKit:b.isMSIE?b.hasMathPlayer||(l=e.MML.MSIE):l=e.MML[b],k="warnedMML");break;case "SVG":n.settings.warnedSVG||!b.isMSIE||f||(l=e.SVG.MSIE)}if(l){l=g(l[0],l[1]);l=l+"\n\n"+g("SwitchAnyway","Switch the renderer anyway?\n\n(Press OK to switch, CANCEL to continue with the current renderer)");h.cookie.renderer=c[0].id;h.saveCookie();if(!confirm(l)){h.cookie.renderer=n.settings.renderer=d.Cookie.Get("menu").renderer;h.saveCookie();return}k&&(h.cookie.warned=n.settings.warned=!0);h.cookie.renderer=n.settings.renderer;h.saveCookie()}a.Queue(["setRenderer",a,n.settings.renderer,"jax/mml"],["Rerender",a])}};h.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."]}};h.Font=function(){e["HTML-CSS"]&&document.location.reload()};h.Locale=function(){MathJax.Localization.setLocale(n.settings.locale);MathJax.Hub.Queue(["Reprocess",MathJax.Hub])};h.LoadLocale=function(){var a=prompt(g("LoadURL","Load translation data from this URL:"));a&&(a.match(/\.js$/)||alert(g("BadURL","The URL should be for a javascript file that defines MathJax translation data. Javascript file names should end with '.js'")),b.Require(a,function(f){f!=b.STATUS.OK&&alert(g("BadData","Failed to load translation data from %1",a))}))};h.MPEvents=function(a){var c=n.settings.discoverable,b=h.MPEvents.Messages;f?!c&&"Menu Events"===a.name[1]&&n.settings.mpContext&&alert(g.apply(g,b.IE9warning)):n.settings.mpMouse&&!confirm(g.apply(g,b.IE8warning))?(delete h.cookie.mpContext,delete n.settings.mpContext,delete h.cookie.mpMouse,delete n.settings.mpMouse,h.saveCookie()):(n.settings.mpContext=n.settings.mpMouse,h.cookie.mpContext=h.cookie.mpMouse=n.settings.mpMouse,h.saveCookie(),MathJax.Hub.Queue(["Rerender",MathJax.Hub]))};h.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")&&7<document.documentMode;h.Augment({margin:20,msieBackgroundBug:9>document.documentMode,msieFixedPositionBug:c||!a,msieAboutBug:c});f&&(delete n.styles["#MathJax_About"].filter,delete n.styles[".MathJax_Menu"].filter)},Firefox:function(a){h.skipMouseover=a.isMobile&&a.versionAtLeast("6.0");h.skipMousedown=a.isMobile}});h.isMobile=a.Browser.isMobile;h.noContextMenu=a.Browser.noContextMenu;h.CreateLocaleMenu=function(){if(h.menu){var a=h.menu.Find("Language").menu,f=a.items,c=[],b=MathJax.Localization.strings,l;for(l in b)b.hasOwnProperty(l)&&c.push(l);c=c.sort();a.items=[];l=0;for(var e=c.length;l<e;l++){var n=b[c[l]].menuTitle,n=n?n+(" ("+c[l]+")"):c[l];a.items.push(q.RADIO([c[l],n],"locale",{action:h.Locale}))}a.items.push(f[f.length-2],f[f.length-1])}};a.Register.StartupHook("End Config",function(){n.settings=a.config.menuSettings;"undefined"!==typeof n.settings.showRenderer&&(n.showRenderer=n.settings.showRenderer);"undefined"!==typeof n.settings.showFontMenu&&(n.showFontMenu=n.settings.showFontMenu);"undefined"!==typeof n.settings.showContext&&(n.showContext=n.settings.showContext);h.getCookie();h.menu=h(q.SUBMENU(["Show","Show Math As"],q.COMMAND(["MathMLcode","MathML Code"],h.ShowSource,{nativeTouch:!0,format:"MathML"}),q.COMMAND(["Original","Original Form"],h.ShowSource,{nativeTouch:!0}),q.RULE(),q.CHECKBOX(["texHints","Show TeX hints in MathML"],"texHints")),q.RULE(),q.SUBMENU(["Settings","Math Settings"],q.SUBMENU(["ZoomTrigger","Zoom Trigger"],q.RADIO(["Hover","Hover"],"zoom",{action:h.Zoom}),q.RADIO(["Click","Click"],"zoom",{action:h.Zoom}),q.RADIO(["DoubleClick","Double-Click"],"zoom",{action:h.Zoom}),q.RADIO(["NoZoom","No Zoom"],"zoom",{value:"None"}),q.RULE(),q.LABEL(["TriggerRequires","Trigger Requires:"]),q.CHECKBOX(a.Browser.isMac?["Option","Option"]:["Alt","Alt"],"ALT"),q.CHECKBOX(["Command","Command"],"CMD",{hidden:!a.Browser.isMac}),q.CHECKBOX(["Control","Control"],"CTRL",{hidden:a.Browser.isMac}),q.CHECKBOX(["Shift","Shift"],"Shift")),q.SUBMENU(["ZoomFactor","Zoom Factor"],q.RADIO("125%","zscale"),q.RADIO("133%","zscale"),q.RADIO("150%","zscale"),q.RADIO("175%","zscale"),q.RADIO("200%","zscale"),q.RADIO("250%","zscale"),q.RADIO("300%","zscale"),q.RADIO("400%","zscale")),q.RULE(),q.SUBMENU(["Renderer","Math Renderer"],{hidden:!n.showRenderer},q.RADIO("HTML-CSS","renderer",{action:h.Renderer}),q.RADIO("MathML","renderer",{action:h.Renderer,value:"NativeMML"}),q.RADIO("SVG","renderer",{action:h.Renderer})),q.SUBMENU("MathPlayer",{hidden:!a.Browser.isMSIE||!n.showMathPlayer,disabled:!a.Browser.hasMathPlayer},q.LABEL(["MPHandles","Let MathPlayer Handle:"]),q.CHECKBOX(["MenuEvents","Menu Events"],"mpContext",{action:h.MPEvents,hidden:!f}),q.CHECKBOX(["MouseEvents","Mouse Events"],"mpMouse",{action:h.MPEvents,hidden:!f}),q.CHECKBOX(["MenuAndMouse","Mouse and Menu Events"],"mpMouse",{action:h.MPEvents,hidden:f})),q.SUBMENU(["FontPrefs","Font Preference"],{hidden:!n.showFontMenu},q.LABEL(["ForHTMLCSS","For HTML-CSS:"]),q.RADIO(["Auto","Auto"],"font",{action:h.Font}),q.RULE(),q.RADIO(["TeXLocal","TeX (local)"],"font",{action:h.Font}),q.RADIO(["TeXWeb","TeX (web)"],"font",{action:h.Font}),q.RADIO(["TeXImage","TeX (image)"],"font",{action:h.Font}),q.RULE(),q.RADIO(["STIXlocal","STIX (local)"],"font",{action:h.Font})),q.SUBMENU(["ContextMenu","Contextual Menu"],{hidden:!n.showContext},q.RADIO("MathJax","context"),q.RADIO(["Browser","Browser"],"context")),q.COMMAND(["Scale","Scale All Math ..."],h.Scale),q.RULE().With({hidden:!n.showDiscoverable,name:["","discover_rule"]}),q.CHECKBOX(["Discoverable","Highlight on Hover"],"discoverable",{hidden:!n.showDiscoverable})),q.SUBMENU(["Locale","Language"],{hidden:!n.showLocale},q.RADIO("en","locale",{action:h.Locale}),q.RULE().With({hidden:!n.showLocaleURL,name:["","localURL_rule"]}),q.COMMAND(["LoadLocale","Load from URL ..."],h.LoadLocale,{hidden:!n.showLocaleURL})),q.RULE(),q.COMMAND(["About","About MathJax"],h.About),q.COMMAND(["Help","MathJax Help"],h.Help));if(h.isMobile){var c=n.settings,b=h.menu.Find("Math Settings","Zoom Trigger").menu;b.items[0].disabled=b.items[1].disabled=!0;if("Hover"===c.zoom||"Click"==c.zoom)c.zoom="None";b.items=b.items.slice(0,4);navigator.appVersion.match(/[ (]Android[) ]/)&&h.ITEM.SUBMENU.Augment({marker:"\u00bb"})}h.CreateLocaleMenu()});h.showRenderer=function(a){h.cookie.showRenderer=n.showRenderer=a;h.saveCookie();h.menu.Find("Math Settings","Math Renderer").hidden=!a};h.showMathPlayer=function(a){h.cookie.showMathPlayer=n.showMathPlayer=a;h.saveCookie();h.menu.Find("Math Settings","MathPlayer").hidden=!a};h.showFontMenu=function(a){h.cookie.showFontMenu=n.showFontMenu=a;h.saveCookie();h.menu.Find("Math Settings","Font Preference").hidden=!a};h.showContext=function(a){h.cookie.showContext=n.showContext=a;h.saveCookie();h.menu.Find("Math Settings","Contextual Menu").hidden=!a};h.showDiscoverable=function(a){h.cookie.showDiscoverable=n.showDiscoverable=a;h.saveCookie();h.menu.Find("Math Settings","Highlight on Hover").hidden=!a;h.menu.Find("Math Settings","discover_rule").hidden=!a};h.showLocale=function(a){h.cookie.showLocale=n.showLocale=a;h.saveCookie();h.menu.Find("Language").hidden=!a};MathJax.Hub.Register.StartupHook("HTML-CSS Jax Ready",function(){MathJax.OutputJax["HTML-CSS"].config.imageFont||(h.menu.Find("Math Settings","Font Preference","TeX (image)").disabled=!0)});c.Queue(a.Register.StartupHook("End Config",{}),["getImages",h],["Styles",b,n.styles],["Post",a.Startup.signal,"MathMenu Ready"],["loadComplete",b,"[MathJax]/extensions/MathMenu.js"])})(MathJax.Hub,MathJax.HTML,MathJax.Ajax,MathJax.CallBack,MathJax.OutputJax);MathJax.ElementJax.mml=MathJax.ElementJax({mimeType:"jax/mml"},{id:"mml",version:"2.2",directory:MathJax.ElementJax.directory+"/mml",extensionDir:MathJax.ElementJax.extensionDir+"/mml",optableDir:MathJax.ElementJax.directory+"/mml/optable"});MathJax.ElementJax.mml.Augment({Init:function(){this.root=1===arguments.length&&"math"===arguments[0].type?arguments[0]:MathJax.ElementJax.mml.math.apply(this,arguments);if(this.root.attr&&this.root.attr.mode){this.root.display||"display"!==this.root.attr.mode||(this.root.display="block",this.root.attrNames.push("display"));delete this.root.attr.mode;for(var a=0,d=this.root.attrNames.length;a<d;a++)if("mode"===this.root.attrNames[a]){this.root.attrNames.splice(a,1);break}}}},{INHERIT:"_inherit_",AUTO:"_auto_",SIZE:{INFINITY:"infinity",SMALL:"small",NORMAL:"normal",BIG:"big"},COLOR:{TRANSPARENT:"transparent"},VARIANT:{NORMAL:"normal",BOLD:"bold",ITALIC:"italic",BOLDITALIC:"bold-italic",DOUBLESTRUCK:"double-struck",FRAKTUR:"fraktur",BOLDFRAKTUR:"bold-fraktur",SCRIPT:"script",BOLDSCRIPT:"bold-script",SANSSERIF:"sans-serif",BOLDSANSSERIF:"bold-sans-serif",SANSSERIFITALIC:"sans-serif-italic",SANSSERIFBOLDITALIC:"sans-serif-bold-italic",MONOSPACE:"monospace",INITIAL:"inital",TAILED:"tailed",LOOPED:"looped",STRETCHED:"stretched",CALIGRAPHIC:"-tex-caligraphic",OLDSTYLE:"-tex-oldstyle"},FORM:{PREFIX:"prefix",INFIX:"infix",POSTFIX:"postfix"},LINEBREAK:{AUTO:"auto",NEWLINE:"newline",NOBREAK:"nobreak",GOODBREAK:"goodbreak",BADBREAK:"badbreak"},LINEBREAKSTYLE:{BEFORE:"before",AFTER:"after",DUPLICATE:"duplicate",INFIXLINBREAKSTYLE:"infixlinebreakstyle"},INDENTALIGN:{LEFT:"left",CENTER:"center",RIGHT:"right",AUTO:"auto",ID:"id",INDENTALIGN:"indentalign"},INDENTSHIFT:{INDENTSHIFT:"indentshift"},LINETHICKNESS:{THIN:"thin",MEDIUM:"medium",THICK:"thick"},NOTATION:{LONGDIV:"longdiv",ACTUARIAL:"actuarial",RADICAL:"radical",BOX:"box",ROUNDEDBOX:"roundedbox",CIRCLE:"circle",LEFT:"left",RIGHT:"right",TOP:"top",BOTTOM:"bottom",UPDIAGONALSTRIKE:"updiagonalstrike",DOWNDIAGONALSTRIKE:"downdiagonalstrike",VERTICALSTRIKE:"verticalstrike",HORIZONTALSTRIKE:"horizontalstrike",MADRUWB:"madruwb"},ALIGN:{TOP:"top",BOTTOM:"bottom",CENTER:"center",BASELINE:"baseline",AXIS:"axis",LEFT:"left",RIGHT:"right"},LINES:{NONE:"none",SOLID:"solid",DASHED:"dashed"},SIDE:{LEFT:"left",RIGHT:"right",LEFTOVERLAP:"leftoverlap",RIGHTOVERLAP:"rightoverlap"},WIDTH:{AUTO:"auto",FIT:"fit"},ACTIONTYPE:{TOGGLE:"toggle",STATUSLINE:"statusline",TOOLTIP:"tooltip",INPUT:"input"},LENGTH:{VERYVERYTHINMATHSPACE:"veryverythinmathspace",VERYTHINMATHSPACE:"verythinmathspace",THINMATHSPACE:"thinmathspace",MEDIUMMATHSPACE:"mediummathspace",THICKMATHSPACE:"thickmathspace",VERYTHICKMATHSPACE:"verythickmathspace",VERYVERYTHICKMATHSPACE:"veryverythickmathspace",NEGATIVEVERYVERYTHINMATHSPACE:"negativeveryverythinmathspace",NEGATIVEVERYTHINMATHSPACE:"negativeverythinmathspace",NEGATIVETHINMATHSPACE:"negativethinmathspace",NEGATIVEMEDIUMMATHSPACE:"negativemediummathspace",NEGATIVETHICKMATHSPACE:"negativethickmathspace",NEGATIVEVERYTHICKMATHSPACE:"negativeverythickmathspace",NEGATIVEVERYVERYTHICKMATHSPACE:"negativeveryverythickmathspace"},OVERFLOW:{LINBREAK:"linebreak",SCROLL:"scroll",ELIDE:"elide",TRUNCATE:"truncate",SCALE:"scale"},UNIT:{EM:"em",EX:"ex",PX:"px",IN:"in",CM:"cm",MM:"mm",PT:"pt",PC:"pc"},TEXCLASS:{ORD:0,OP:1,BIN:2,REL:3,OPEN:4,CLOSE:5,PUNCT:6,INNER:7,VCENTER:8,NONE:-1},TEXCLASSNAMES:"ORD OP BIN REL OPEN CLOSE PUNCT INNER VCENTER".split(" "),copyAttributes:{fontfamily:!0,fontsize:!0,fontweight:!0,fontstyle:!0,color:!0,background:!0,id:!0,"class":!0,href:!0,style:!0},skipAttributes:{texClass:!0,useHeight:!0,texprimestyle:!0},copyAttributeNames:"fontfamily fontsize fontweight fontstyle color background id class href style".split(" ")});(function(a){a.mbase=MathJax.Object.Subclass({type:"base",isToken:!1,defaults:{mathbackground:a.INHERIT,mathcolor:a.INHERIT},noInherit:{},noInheritAttribute:{texClass:!0},linebreakContainer:!1,Init:function(){this.data=[];!this.inferRow||1===arguments.length&&arguments[0].inferred||this.Append(a.mrow().With({inferred:!0,notParent:!0}));this.Append.apply(this,arguments)},With:function(a){for(var b in a)a.hasOwnProperty(b)&&(this[b]=a[b]);return this},Append:function(){if(this.inferRow&&this.data.length)this.data[0].Append.apply(this.data[0],arguments);else for(var a=0,b=arguments.length;a<b;a++)this.SetData(this.data.length,arguments[a])},SetData:function(c,b){null!=b&&(b instanceof a.mbase||(b=this.isToken?a.chars(b):a.mtext(b)),b.parent=this,b.setInherit(this.inheritFromMe?this:this.inherit));this.data[c]=b},Parent:function(){for(var a=this.parent;a&&a.notParent;)a=a.parent;return a},Get:function(c,b){if(null!=this[c])return this[c];if(this.attr&&null!=this.attr[c])return this.attr[c];var d=this.Parent();if(d&&null!=d["adjustChild_"+c])return d["adjustChild_"+c](this.childPosition(),b);for(var g=d=this.inherit;d;){g=d[c];null==g&&d.attr&&(g=d.attr[c]);if(null!=g&&d.noInheritAttribute&&!d.noInheritAttribute[c]){var k=d.noInherit[this.type];if(!k||!k[c])return g}g=d;d=d.inherit}if(!b){if(this.defaults[c]===a.AUTO)return this.autoDefault(c);if(this.defaults[c]!==a.INHERIT&&null!=this.defaults[c])return this.defaults[c];if(g)return g.defaults[c]}return null},hasValue:function(a){return null!=this.Get(a,!0)},getValues:function(){for(var a={},b=0,d=arguments.length;b<d;b++)a[arguments[b]]=this.Get(arguments[b]);return a},adjustChild_scriptlevel:function(a,b){return this.Get("scriptlevel",b)},adjustChild_displaystyle:function(a,b){return this.Get("displaystyle",b)},adjustChild_texprimestyle:function(a,b){return this.Get("texprimestyle",b)},childPosition:function(){for(var a=this,b=a.parent;b.notParent;)a=b,b=a.parent;for(var d=0,g=b.data.length;d<g;d++)if(b.data[d]===a)return d;return null},setInherit:function(a){if(a!==this.inherit&&null==this.inherit){this.inherit=a;for(var b=0,d=this.data.length;b<d;b++)this.data[b]&&this.data[b].setInherit&&this.data[b].setInherit(a)}},setTeXclass:function(a){this.getPrevClass(a);return"undefined"!==typeof this.texClass?this:a},getPrevClass:function(a){a&&(this.prevClass=a.Get("texClass"),this.prevLevel=a.Get("scriptlevel"))},updateTeXclass:function(a){a&&(this.prevClass=a.prevClass,delete a.prevClass,this.prevLevel=a.prevLevel,delete a.prevLevel,this.texClass=a.Get("texClass"))},texSpacing:function(){var c=null!=this.prevClass?this.prevClass:a.TEXCLASS.NONE,b=this.Get("texClass")||a.TEXCLASS.ORD;if(c===a.TEXCLASS.NONE||b===a.TEXCLASS.NONE)return"";c===a.TEXCLASS.VCENTER&&(c=a.TEXCLASS.ORD);b===a.TEXCLASS.VCENTER&&(b=a.TEXCLASS.ORD);c=this.TEXSPACE[c][b];return 0<this.prevLevel&&0<this.Get("scriptlevel")&&0<=c?"":this.TEXSPACELENGTH[Math.abs(c)]},TEXSPACELENGTH:["",a.LENGTH.THINMATHSPACE,a.LENGTH.MEDIUMMATHSPACE,a.LENGTH.THICKMATHSPACE],TEXSPACE:[[0,-1,2,3,0,0,0,1],[-1,-1,0,3,0,0,0,1],[2,2,0,0,2,0,0,2],[3,3,0,0,3,0,0,3],[0,0,0,0,0,0,0,0],[0,-1,2,3,0,0,0,1],[1,1,0,1,1,1,1,1],[1,-1,2,3,1,0,1,1]],autoDefault:function(a){return""},isSpacelike:function(){return!1},isEmbellished:function(){return!1},Core:function(){return this},CoreMO:function(){return this},hasNewline:function(){if(this.isEmbellished())return this.CoreMO().hasNewline();if(this.isToken||this.linebreakContainer)return!1;for(var a=0,b=this.data.length;a<b;a++)if(this.data[a]&&this.data[a].hasNewline())return!0;return!1},array:function(){return this.inferred?this.data:[this]},toString:function(){return this.type+"("+this.data.join(",")+")"}},{childrenSpacelike:function(){for(var a=0,b=this.data.length;a<b;a++)if(!this.data[a].isSpacelike())return!1;return!0},childEmbellished:function(){return this.data[0]&&this.data[0].isEmbellished()},childCore:function(){return this.data[0]},childCoreMO:function(){return this.data[0]?this.data[0].CoreMO():null},setChildTeXclass:function(a){this.data[0]&&(a=this.data[0].setTeXclass(a),this.updateTeXclass(this.data[0]));return a},setBaseTeXclasses:function(c){this.getPrevClass(c);this.texClass=null;this.data[0]?this.isEmbellished()||this.data[0].isa(a.mi)?(c=this.data[0].setTeXclass(c),this.updateTeXclass(this.Core())):(this.data[0].setTeXclass(),c=this):c=this;for(var b=1,d=this.data.length;b<d;b++)this.data[b]&&this.data[b].setTeXclass();return c},setSeparateTeXclasses:function(a){this.getPrevClass(a);a=0;for(var b=this.data.length;a<b;a++)this.data[a]&&this.data[a].setTeXclass();this.isEmbellished()&&this.updateTeXclass(this.Core());return this}});a.mi=a.mbase.Subclass({type:"mi",isToken:!0,texClass:a.TEXCLASS.ORD,defaults:{mathvariant:a.AUTO,mathsize:a.INHERIT,mathbackground:a.INHERIT,mathcolor:a.INHERIT},autoDefault:function(c){return"mathvariant"===c?(c=(this.data[0]||"").toString(),1===c.length||2===c.length&&55296<=c.charCodeAt(0)&&56320>c.charCodeAt(0)?a.VARIANT.ITALIC:a.VARIANT.NORMAL):""},setTeXclass:function(c){this.getPrevClass(c);c=this.data.join("");1<c.length&&c.match(/^[a-z][a-z0-9]*$/i)&&this.texClass===a.TEXCLASS.ORD&&(this.texClass=a.TEXCLASS.OP,this.autoOP=!0);return this}});a.mn=a.mbase.Subclass({type:"mn",isToken:!0,texClass:a.TEXCLASS.ORD,defaults:{mathvariant:a.INHERIT,mathsize:a.INHERIT,mathbackground:a.INHERIT,mathcolor:a.INHERIT}});a.mo=a.mbase.Subclass({type:"mo",isToken:!0,defaults:{mathvariant:a.INHERIT,mathsize:a.INHERIT,mathbackground:a.INHERIT,mathcolor:a.INHERIT,form:a.AUTO,fence:a.AUTO,separator:a.AUTO,lspace:a.AUTO,rspace:a.AUTO,stretchy:a.AUTO,symmetric:a.AUTO,maxsize:a.AUTO,minsize:a.AUTO,largeop:a.AUTO,movablelimits:a.AUTO,accent:a.AUTO,linebreak:a.LINEBREAK.AUTO,lineleading:a.INHERIT,linebreakstyle:a.AUTO,linebreakmultchar:a.INHERIT,indentalign:a.INHERIT,indentshift:a.INHERIT,indenttarget:a.INHERIT,indentalignfirst:a.INHERIT,indentshiftfirst:a.INHERIT,indentalignlast:a.INHERIT,indentshiftlast:a.INHERIT,texClass:a.AUTO},defaultDef:{form:a.FORM.INFIX,fence:!1,separator:!1,lspace:a.LENGTH.THICKMATHSPACE,rspace:a.LENGTH.THICKMATHSPACE,stretchy:!1,symmetric:!0,maxsize:a.SIZE.INFINITY,minsize:"0em",largeop:!1,movablelimits:!1,accent:!1,linebreak:a.LINEBREAK.AUTO,lineleading:"1ex",linebreakstyle:"before",indentalign:a.INDENTALIGN.AUTO,indentshift:"0",indenttarget:"",indentalignfirst:a.INDENTALIGN.INDENTALIGN,indentshiftfirst:a.INDENTSHIFT.INDENTSHIFT,indentalignlast:a.INDENTALIGN.INDENTALIGN,indentshiftlast:a.INDENTSHIFT.INDENTSHIFT,texClass:a.TEXCLASS.REL},SPACE_ATTR:{lspace:1,rspace:2,form:4},useMMLspacing:7,autoDefault:function(c,b){var d=this.def;if(!d){if("form"===c)return this.useMMLspacing&=~this.SPACE_ATTR.form,this.getForm();for(var g=this.data.join(""),k=[this.Get("form"),a.FORM.INFIX,a.FORM.POSTFIX,a.FORM.PREFIX],p=0,f=k.length;p<f;p++){var l=this.OPTABLE[k[p]][g];if(l){d=this.makeDef(l);break}}d||(d=this.CheckRange(g));!d&&b?d={}:(d||(d=MathJax.Hub.Insert({},this.defaultDef)),d.form=k[0],this.def=d)}this.useMMLspacing&=~(this.SPACE_ATTR[c]||0);return null!=d[c]?d[c]:b?"":this.defaultDef[c]},CheckRange:function(c){var b=c.charCodeAt(0);55296<=b&&56320>b&&(b=(b-55296<<10)+(c.charCodeAt(1)-56320)+65536);for(var d=0,g=this.RANGES.length;d<g&&this.RANGES[d][0]<=b;d++)if(b<=this.RANGES[d][1])return this.RANGES[d][3]&&(b=a.optableDir+"/"+this.RANGES[d][3]+".js",this.RANGES[d][3]=null,MathJax.Hub.RestartAfter(MathJax.Ajax.Require(b))),d=a.TEXCLASSNAMES[this.RANGES[d][2]],d=this.OPTABLE.infix[c]=a.mo.OPTYPES["BIN"===d?"BIN3":d],this.makeDef(d);return null},makeDef:function(c){null==c[2]&&(c[2]=this.defaultDef.texClass);c[3]||(c[3]={});var b=MathJax.Hub.Insert({},c[3]);b.lspace=this.SPACE[c[0]];b.rspace=this.SPACE[c[1]];b.texClass=c[2];b.texClass===a.TEXCLASS.REL&&(this.movablelimits||this.data.join("").match(/^[a-z]+$/i))&&(b.texClass=a.TEXCLASS.OP);return b},getForm:function(){for(var c=this,b=this.parent,d=this.Parent();d&&d.isEmbellished();)c=b,b=d.parent,d=d.Parent();if(b&&"mrow"===b.type&&1!==b.NonSpaceLength()){if(b.FirstNonSpace()===c)return a.FORM.PREFIX;if(b.LastNonSpace()===c)return a.FORM.POSTFIX}return a.FORM.INFIX},isEmbellished:function(){return!0},hasNewline:function(){return this.Get("linebreak")===a.LINEBREAK.NEWLINE},setTeXclass:function(c){this.getValues("lspace","rspace");if(this.useMMLspacing)return this.texClass=a.TEXCLASS.NONE,this;this.texClass=this.Get("texClass");return"\u2061"===this.data.join("")?(c&&(c.texClass=a.TEXCLASS.OP),this.texClass=this.prevClass=a.TEXCLASS.NONE,c):this.adjustTeXclass(c)},adjustTeXclass:function(c){if(this.texClass===a.TEXCLASS.NONE)return c;c?(!c.autoOP||this.texClass!==a.TEXCLASS.BIN&&this.texClass!==a.TEXCLASS.REL||(c.texClass=a.TEXCLASS.ORD),this.prevClass=c.texClass||a.TEXCLASS.ORD,this.prevLevel=c.Get("scriptlevel")):this.prevClass=a.TEXCLASS.NONE;this.texClass!==a.TEXCLASS.BIN||this.prevClass!==a.TEXCLASS.NONE&&this.prevClass!==a.TEXCLASS.BIN&&this.prevClass!==a.TEXCLASS.OP&&this.prevClass!==a.TEXCLASS.REL&&this.prevClass!==a.TEXCLASS.OPEN&&this.prevClass!==a.TEXCLASS.PUNCT?this.prevClass!==a.TEXCLASS.BIN||this.texClass!==a.TEXCLASS.REL&&this.texClass!==a.TEXCLASS.CLOSE&&this.texClass!==a.TEXCLASS.PUNCT||(c.texClass=this.prevClass=a.TEXCLASS.ORD):this.texClass=a.TEXCLASS.ORD;return this}});a.mtext=a.mbase.Subclass({type:"mtext",isToken:!0,isSpacelike:function(){return!0},texClass:a.TEXCLASS.ORD,defaults:{mathvariant:a.INHERIT,mathsize:a.INHERIT,mathbackground:a.INHERIT,mathcolor:a.INHERIT}});a.mspace=a.mbase.Subclass({type:"mspace",isToken:!0,isSpacelike:function(){return!0},defaults:{mathbackground:a.INHERIT,mathcolor:a.INHERIT,width:"0em",height:"0ex",depth:"0ex",linebreak:a.LINEBREAK.AUTO},hasDimAttr:function(){return this.hasValue("width")||this.hasValue("height")||this.hasValue("depth")},hasNewline:function(){return!this.hasDimAttr()&&this.Get("linebreak")===a.LINEBREAK.NEWLINE}});a.ms=a.mbase.Subclass({type:"ms",isToken:!0,texClass:a.TEXCLASS.ORD,defaults:{mathvariant:a.INHERIT,mathsize:a.INHERIT,mathbackground:a.INHERIT,mathcolor:a.INHERIT,lquote:'"',rquote:'"'}});a.mglyph=a.mbase.Subclass({type:"mglyph",isToken:!0,texClass:a.TEXCLASS.ORD,defaults:{mathbackground:a.INHERIT,mathcolor:a.INHERIT,alt:"",src:"",width:a.AUTO,height:a.AUTO,valign:"0em"}});a.mrow=a.mbase.Subclass({type:"mrow",isSpacelike:a.mbase.childrenSpacelike,inferred:!1,notParent:!1,isEmbellished:function(){for(var a=!1,b=0,d=this.data.length;b<d;b++)if(null!=this.data[b])if(this.data[b].isEmbellished()){if(a)return!1;a=!0;this.core=b}else if(!this.data[b].isSpacelike())return!1;return a},NonSpaceLength:function(){for(var a=0,b=0,d=this.data.length;b<d;b++)this.data[b]&&!this.data[b].isSpacelike()&&a++;return a},FirstNonSpace:function(){for(var a=0,b=this.data.length;a<b;a++)if(this.data[a]&&!this.data[a].isSpacelike())return this.data[a];return null},LastNonSpace:function(){for(var a=this.data.length-1;0<=a;a--)if(this.data[0]&&!this.data[a].isSpacelike())return this.data[a];return null},Core:function(){return this.isEmbellished()&&"undefined"!==typeof this.core?this.data[this.core]:this},CoreMO:function(){return this.isEmbellished()&&"undefined"!==typeof this.core?this.data[this.core].CoreMO():this},toString:function(){return this.inferred?"["+this.data.join(",")+"]":this.SUPER(arguments).toString.call(this)},setTeXclass:function(a){for(var b=0,d=this.data.length;b<d;b++)this.data[b]&&(a=this.data[b].setTeXclass(a));this.data[0]&&this.updateTeXclass(this.data[0]);return a}});a.mfrac=a.mbase.Subclass({type:"mfrac",num:0,den:1,linebreakContainer:!0,texClass:a.TEXCLASS.INNER,isEmbellished:a.mbase.childEmbellished,Core:a.mbase.childCore,CoreMO:a.mbase.childCoreMO,defaults:{mathbackground:a.INHERIT,mathcolor:a.INHERIT,linethickness:a.LINETHICKNESS.MEDIUM,numalign:a.ALIGN.CENTER,denomalign:a.ALIGN.CENTER,bevelled:!1},adjustChild_displaystyle:function(a){return!1},adjustChild_scriptlevel:function(a){a=this.Get("scriptlevel");(!this.Get("displaystyle")||0<a)&&a++;return a},adjustChild_texprimestyle:function(a){return a==this.den?!0:this.Get("texprimestyle")},setTeXclass:a.mbase.setSeparateTeXclasses});a.msqrt=a.mbase.Subclass({type:"msqrt",inferRow:!0,linebreakContainer:!0,texClass:a.TEXCLASS.ORD,setTeXclass:a.mbase.setSeparateTeXclasses,adjustChild_texprimestyle:function(a){return!0}});a.mroot=a.mbase.Subclass({type:"mroot",linebreakContainer:!0,texClass:a.TEXCLASS.ORD,adjustChild_displaystyle:function(a){return 1===a?!1:this.Get("displaystyle")},adjustChild_scriptlevel:function(a){var b=this.Get("scriptlevel");1===a&&(b+=2);return b},adjustChild_texprimestyle:function(a){return 0===a?!0:this.Get("texprimestyle")},setTeXclass:a.mbase.setSeparateTeXclasses});a.mstyle=a.mbase.Subclass({type:"mstyle",isSpacelike:a.mbase.childrenSpacelike,isEmbellished:a.mbase.childEmbellished,Core:a.mbase.childCore,CoreMO:a.mbase.childCoreMO,inferRow:!0,defaults:{scriptlevel:a.INHERIT,displaystyle:a.INHERIT,scriptsizemultiplier:Math.sqrt(.5),scriptminsize:"8pt",mathbackground:a.INHERIT,mathcolor:a.INHERIT,infixlinebreakstyle:a.LINEBREAKSTYLE.BEFORE,decimalseparator:"."},adjustChild_scriptlevel:function(a){a=this.scriptlevel;if(null==a)a=this.Get("scriptlevel");else if(String(a).match(/^ *[-+]/)){delete this.scriptlevel;var b=this.Get("scriptlevel");this.scriptlevel=a;a=b+parseInt(a)}return a},inheritFromMe:!0,noInherit:{mpadded:{width:!0,height:!0,depth:!0,lspace:!0,voffset:!0},mtable:{width:!0,height:!0,depth:!0,align:!0}},setTeXclass:a.mbase.setChildTeXclass});a.merror=a.mbase.Subclass({type:"merror",inferRow:!0,linebreakContainer:!0,texClass:a.TEXCLASS.ORD});a.mpadded=a.mbase.Subclass({type:"mpadded",inferRow:!0,isSpacelike:a.mbase.childrenSpacelike,isEmbellished:a.mbase.childEmbellished,Core:a.mbase.childCore,CoreMO:a.mbase.childCoreMO,defaults:{mathbackground:a.INHERIT,mathcolor:a.INHERIT,width:"",height:"",depth:"",lspace:0,voffset:0},setTeXclass:a.mbase.setChildTeXclass});a.mphantom=a.mbase.Subclass({type:"mphantom",texClass:a.TEXCLASS.ORD,inferRow:!0,isSpacelike:a.mbase.childrenSpacelike,isEmbellished:a.mbase.childEmbellished,Core:a.mbase.childCore,CoreMO:a.mbase.childCoreMO,setTeXclass:a.mbase.setChildTeXclass});a.mfenced=a.mbase.Subclass({type:"mfenced",defaults:{mathbackground:a.INHERIT,mathcolor:a.INHERIT,open:"(",close:")",separators:","},texClass:a.TEXCLASS.OPEN,setTeXclass:function(b){this.getPrevClass(b);var d=this.getValues("open","close","separators");d.open=d.open.replace(/[ \t\n\r]/g,"");d.close=d.close.replace(/[ \t\n\r]/g,"");d.separators=d.separators.replace(/[ \t\n\r]/g,"");""!==d.open&&(this.SetData("open",a.mo(d.open).With({stretchy:!0,texClass:a.TEXCLASS.OPEN})),b=this.data.open.setTeXclass(b));if(""!==d.separators)for(;d.separators.length<this.data.length;)d.separators+=d.separators.charAt(d.separators.length-1);this.data[0]&&(b=this.data[0].setTeXclass(b));for(var m=1,g=this.data.length;m<g;m++)this.data[m]&&(""!==d.separators&&(this.SetData("sep"+m,a.mo(d.separators.charAt(m-1))),b=this.data["sep"+m].setTeXclass(b)),b=this.data[m].setTeXclass(b));""!==d.close&&(this.SetData("close",a.mo(d.close).With({stretchy:!0,texClass:a.TEXCLASS.CLOSE})),b=this.data.close.setTeXclass(b));this.updateTeXclass(this.data.open);return b}});a.menclose=a.mbase.Subclass({type:"menclose",inferRow:!0,linebreakContainer:!0,defaults:{mathbackground:a.INHERIT,mathcolor:a.INHERIT,notation:a.NOTATION.LONGDIV,texClass:a.TEXCLASS.ORD},setTeXclass:a.mbase.setSeparateTeXclasses});a.msubsup=a.mbase.Subclass({type:"msubsup",base:0,sub:1,sup:2,isEmbellished:a.mbase.childEmbellished,Core:a.mbase.childCore,CoreMO:a.mbase.childCoreMO,defaults:{mathbackground:a.INHERIT,mathcolor:a.INHERIT,subscriptshift:"",superscriptshift:"",texClass:a.AUTO},autoDefault:function(b){return"texClass"===b?this.isEmbellished()?this.CoreMO().Get(b):a.TEXCLASS.ORD:0},adjustChild_displaystyle:function(a){return 0<a?!1:this.Get("displaystyle")},adjustChild_scriptlevel:function(a){var b=this.Get("scriptlevel");0<a&&b++;return b},adjustChild_texprimestyle:function(a){return a===this.sub?!0:this.Get("texprimestyle")},setTeXclass:a.mbase.setBaseTeXclasses});a.msub=a.msubsup.Subclass({type:"msub"});a.msup=a.msubsup.Subclass({type:"msup",sub:2,sup:1});a.mmultiscripts=a.msubsup.Subclass({type:"mmultiscripts",adjustChild_texprimestyle:function(a){return 1===a%2?!0:this.Get("texprimestyle")}});a.mprescripts=a.mbase.Subclass({type:"mprescripts"});a.none=a.mbase.Subclass({type:"none"});a.munderover=a.mbase.Subclass({type:"munderover",base:0,under:1,over:2,sub:1,sup:2,ACCENTS:["","accentunder","accent"],linebreakContainer:!0,isEmbellished:a.mbase.childEmbellished,Core:a.mbase.childCore,CoreMO:a.mbase.childCoreMO,defaults:{mathbackground:a.INHERIT,mathcolor:a.INHERIT,accent:a.AUTO,accentunder:a.AUTO,align:a.ALIGN.CENTER,texClass:a.AUTO,subscriptshift:"",superscriptshift:""},autoDefault:function(b){return"texClass"===b?this.isEmbellished()?this.CoreMO().Get(b):a.TEXCLASS.ORD:"accent"===b&&this.data[this.over]?this.data[this.over].CoreMO().Get("accent"):"accentunder"===b&&this.data[this.under]?this.data[this.under].CoreMO().Get("accent"):!1},adjustChild_displaystyle:function(a){return 0<a?!1:this.Get("displaystyle")},adjustChild_scriptlevel:function(a){var b=this.Get("scriptlevel"),d=this.data[this.base]&&!this.Get("displaystyle")&&this.data[this.base].CoreMO().Get("movablelimits");a!=this.under||!d&&this.Get("accentunder")||b++;a!=this.over||!d&&this.Get("accent")||b++;return b},adjustChild_texprimestyle:function(a){return a===this.base&&this.data[this.over]?!0:this.Get("texprimestyle")},setTeXclass:a.mbase.setBaseTeXclasses});a.munder=a.munderover.Subclass({type:"munder"});a.mover=a.munderover.Subclass({type:"mover",over:1,under:2,sup:1,sub:2,ACCENTS:["","accent","accentunder"]});a.mtable=a.mbase.Subclass({type:"mtable",defaults:{mathbackground:a.INHERIT,mathcolor:a.INHERIT,align:a.ALIGN.AXIS,rowalign:a.ALIGN.BASELINE,columnalign:a.ALIGN.CENTER,groupalign:"{left}",alignmentscope:!0,columnwidth:a.WIDTH.AUTO,width:a.WIDTH.AUTO,rowspacing:"1ex",columnspacing:".8em",rowlines:a.LINES.NONE,columnlines:a.LINES.NONE,frame:a.LINES.NONE,framespacing:"0.4em 0.5ex",equalrows:!1,equalcolumns:!1,displaystyle:!1,side:a.SIDE.RIGHT,minlabelspacing:"0.8em",texClass:a.TEXCLASS.ORD,useHeight:1},inheritFromMe:!0,noInherit:{mover:{align:!0},munder:{align:!0},munderover:{align:!0},mtable:{align:!0,rowalign:!0,columnalign:!0,groupalign:!0,alignmentscope:!0,columnwidth:!0,width:!0,rowspacing:!0,columnspacing:!0,rowlines:!0,columnlines:!0,frame:!0,framespacing:!0,equalrows:!0,equalcolumns:!0,side:!0,minlabelspacing:!0,texClass:!0,useHeight:1}},linebreakContainer:!0,Append:function(){for(var b=0,d=arguments.length;b<d;b++)arguments[b]instanceof a.mtr||arguments[b]instanceof a.mlabeledtr||(arguments[b]=a.mtd(arguments[b]));this.SUPER(arguments).Append.apply(this,arguments)},setTeXclass:a.mbase.setSeparateTeXclasses});a.mtr=a.mbase.Subclass({type:"mtr",defaults:{mathbackground:a.INHERIT,mathcolor:a.INHERIT,rowalign:a.INHERIT,columnalign:a.INHERIT,groupalign:a.INHERIT},inheritFromMe:!0,noInherit:{mrow:{rowalign:!0,columnalign:!0,groupalign:!0},mtable:{rowalign:!0,columnalign:!0,groupalign:!0}},linebreakContainer:!0,Append:function(){for(var b=0,d=arguments.length;b<d;b++)arguments[b]instanceof a.mtd||(arguments[b]=a.mtd(arguments[b]));this.SUPER(arguments).Append.apply(this,arguments)},setTeXclass:a.mbase.setSeparateTeXclasses});a.mtd=a.mbase.Subclass({type:"mtd",inferRow:!0,linebreakContainer:!0,isEmbellished:a.mbase.childEmbellished,Core:a.mbase.childCore,CoreMO:a.mbase.childCoreMO,defaults:{mathbackground:a.INHERIT,mathcolor:a.INHERIT,rowspan:1,columnspan:1,rowalign:a.INHERIT,columnalign:a.INHERIT,groupalign:a.INHERIT},setTeXclass:a.mbase.setSeparateTeXclasses});a.maligngroup=a.mbase.Subclass({type:"malign",isSpacelike:function(){return!0},defaults:{mathbackground:a.INHERIT,mathcolor:a.INHERIT,groupalign:a.INHERIT},inheritFromMe:!0,noInherit:{mrow:{groupalign:!0},mtable:{groupalign:!0}}});a.malignmark=a.mbase.Subclass({type:"malignmark",defaults:{mathbackground:a.INHERIT,mathcolor:a.INHERIT,edge:a.SIDE.LEFT},isSpacelike:function(){return!0}});a.mlabeledtr=a.mtr.Subclass({type:"mlabeledtr"});a.maction=a.mbase.Subclass({type:"maction",defaults:{mathbackground:a.INHERIT,mathcolor:a.INHERIT,actiontype:a.ACTIONTYPE.TOGGLE,selection:1},selected:function(){return this.data[this.Get("selection")-1]||a.NULL},isEmbellished:function(){return this.selected().isEmbellished()},isSpacelike:function(){return this.selected().isSpacelike()},Core:function(){return this.selected().Core()},CoreMO:function(){return this.selected().CoreMO()},setTeXclass:function(b){this.Get("actiontype")===a.ACTIONTYPE.TOOLTIP&&this.data[1]&&this.data[1].setTeXclass();return this.selected().setTeXclass(b)}});a.semantics=a.mbase.Subclass({type:"semantics",notParent:!0,isEmbellished:a.mbase.childEmbellished,Core:a.mbase.childCore,CoreMO:a.mbase.childCoreMO,defaults:{definitionURL:null,encoding:null},setTeXclass:a.mbase.setChildTeXclass});a.annotation=a.mbase.Subclass({type:"annotation",isToken:!0,linebreakContainer:!0,defaults:{definitionURL:null,encoding:null,cd:"mathmlkeys",name:"",src:null}});a["annotation-xml"]=a.mbase.Subclass({type:"annotation-xml",linebreakContainer:!0,defaults:{definitionURL:null,encoding:null,cd:"mathmlkeys",name:"",src:null}});a.math=a.mstyle.Subclass({type:"math",defaults:{mathvariant:a.VARIANT.NORMAL,mathsize:a.SIZE.NORMAL,mathcolor:"",mathbackground:a.COLOR.TRANSPARENT,scriptlevel:0,displaystyle:a.AUTO,display:"inline",maxwidth:"",overflow:a.OVERFLOW.LINEBREAK,altimg:"","altimg-width":"","altimg-height":"","altimg-valign":"",alttext:"",cdgroup:"",scriptsizemultiplier:Math.sqrt(.5),scriptminsize:"8px",infixlinebreakstyle:a.LINEBREAKSTYLE.BEFORE,lineleading:"1ex",indentshift:"auto",indentalign:a.INDENTALIGN.AUTO,indentalignfirst:a.INDENTALIGN.INDENTALIGN,indentshiftfirst:a.INDENTSHIFT.INDENTSHIFT,indentalignlast:a.INDENTALIGN.INDENTALIGN,indentshiftlast:a.INDENTSHIFT.INDENTSHIFT,decimalseparator:".",texprimestyle:!1},autoDefault:function(a){return"displaystyle"===a?"block"===this.Get("display"):""},linebreakContainer:!0,setTeXclass:a.mbase.setChildTeXclass});a.chars=a.mbase.Subclass({type:"chars",Append:function(){this.data.push.apply(this.data,arguments)},value:function(){return this.data.join("")},toString:function(){return this.data.join("")}});a.entity=a.mbase.Subclass({type:"entity",Append:function(){this.data.push.apply(this.data,arguments)},value:function(){return"#x"===this.data[0].substr(0,2)?parseInt(this.data[0].substr(2),16):"#"===this.data[0].substr(0,1)?parseInt(this.data[0].substr(1)):0},toString:function(){var a=this.value();if(65535>=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<b;a++){var d=this.Import(arguments[a]);this.data.push(d);this.div.appendChild(d)}},Import:function(a){if(document.importNode)return document.importNode(a,!0);var b,d,g;if(1===a.nodeType){b=document.createElement(a.nodeName);d=0;for(g=a.attributes.length;d<g;d++){var k=a.attributes[d];k.specified&&null!=k.nodeValue&&""!=k.nodeValue&&b.setAttribute(k.nodeName,k.nodeValue);"style"===k.nodeName&&(b.style.cssText=k.nodeValue)}a.className&&(b.className=a.className)}else if(3===a.nodeType||4===a.nodeType)b=document.createTextNode(a.nodeValue);else if(8===a.nodeType)b=document.createComment(a.nodeValue);else return document.createTextNode("");d=0;for(g=a.childNodes.length;d<g;d++)b.appendChild(this.Import(a.childNodes[d]));return b},value:function(){return this.div},toString:function(){return this.div.innerHTML}});a.TeXAtom=a.mbase.Subclass({type:"texatom",inferRow:!0,notParent:!0,texClass:a.TEXCLASS.ORD,Core:a.mbase.childCore,CoreMO:a.mbase.childCoreMO,isEmbellished:a.mbase.childEmbellished,setTeXclass:function(a){this.data[0].setTeXclass();return this.adjustTeXclass(a)},adjustTeXclass:a.mo.prototype.adjustTeXclass});a.NULL=a.mbase().With({type:"null"});var d=a.TEXCLASS,b={ORD:[0,0,d.ORD],ORD11:[1,1,d.ORD],ORD21:[2,1,d.ORD],ORD02:[0,2,d.ORD],ORD55:[5,5,d.ORD],OP:[1,2,d.OP,{largeop:!0,movablelimits:!0,symmetric:!0}],OPFIXED:[1,2,d.OP,{largeop:!0,movablelimits:!0}],INTEGRAL:[0,1,d.OP,{largeop:!0,symmetric:!0}],INTEGRAL2:[1,2,d.OP,{largeop:!0,symmetric:!0}],BIN3:[3,3,d.BIN],BIN4:[4,4,d.BIN],BIN01:[0,1,d.BIN],BIN5:[5,5,d.BIN],TALLBIN:[4,4,d.BIN,{stretchy:!0}],BINOP:[4,4,d.BIN,{largeop:!0,movablelimits:!0}],REL:[5,5,d.REL],REL1:[1,1,d.REL,{stretchy:!0}],REL4:[4,4,d.REL],RELSTRETCH:[5,5,d.REL,{stretchy:!0}],RELACCENT:[5,5,d.REL,{accent:!0}],WIDEREL:[5,5,d.REL,{accent:!0,stretchy:!0}],OPEN:[0,0,d.OPEN,{fence:!0,stretchy:!0,symmetric:!0}],CLOSE:[0,0,d.CLOSE,{fence:!0,stretchy:!0,symmetric:!0}],INNER:[0,0,d.INNER],PUNCT:[0,3,d.PUNCT],ACCENT:[0,0,d.ORD,{accent:!0}],WIDEACCENT:[0,0,d.ORD,{accent:!0,stretchy:!0}]};a.mo.Augment({SPACE:"0em 0.1111em 0.1667em 0.2222em 0.2667em 0.3333em".split(" "),RANGES:[[32,127,d.REL,"BasicLatin"],[160,255,d.ORD,"Latin1Supplement"],[256,383,d.ORD],[384,591,d.ORD],[688,767,d.ORD,"SpacingModLetters"],[768,879,d.ORD,"CombDiacritMarks"],[880,1023,d.ORD,"GreekAndCoptic"],[7680,7935,d.ORD],[8192,8303,d.PUNCT,"GeneralPunctuation"],[8304,8351,d.ORD],[8352,8399,d.ORD],[8400,8447,d.ORD,"CombDiactForSymbols"],[8448,8527,d.ORD,"LetterlikeSymbols"],[8528,8591,d.ORD],[8592,8703,d.REL,"Arrows"],[8704,8959,d.BIN,"MathOperators"],[8960,9215,d.ORD,"MiscTechnical"],[9312,9471,d.ORD],[9472,9631,d.ORD],[9632,9727,d.ORD,"GeometricShapes"],[9984,10175,d.ORD,"Dingbats"],[10176,10223,d.ORD,"MiscMathSymbolsA"],[10224,10239,d.REL,"SupplementalArrowsA"],[10496,10623,d.REL,"SupplementalArrowsB"],[10624,10751,d.ORD,"MiscMathSymbolsB"],[10752,11007,d.BIN,"SuppMathOperators"],[11008,11263,d.ORD,"MiscSymbolsAndArrows"],[119808,120831,d.ORD]],OPTABLE:{prefix:{"\u2200":b.ORD21,"\u2202":b.ORD21,"\u2203":b.ORD21,"\u2207":b.ORD21,"\u220f":b.OP,"\u2210":b.OP,"\u2211":b.OP,"\u2212":b.BIN01,"\u2213":b.BIN01,"\u221a":[1,1,d.ORD,{stretchy:!0}],"\u2220":b.ORD,"\u222b":b.INTEGRAL,"\u222e":b.INTEGRAL,"\u22c0":b.OP,"\u22c1":b.OP,"\u22c2":b.OP,"\u22c3":b.OP,"\u2308":b.OPEN,"\u230a":b.OPEN,"\u27e8":b.OPEN,"\u27ee":b.OPEN,"\u2a00":b.OP,"\u2a01":b.OP,"\u2a02":b.OP,"\u2a04":b.OP,"\u2a06":b.OP,"\u00ac":b.ORD21,"\u00b1":b.BIN01,"(":b.OPEN,"+":b.BIN01,"-":b.BIN01,"[":b.OPEN,"{":b.OPEN,"|":b.OPEN},postfix:{"!":[1,0,d.CLOSE],"\x26":b.ORD,"\u2032":b.ORD02,"\u203e":b.WIDEACCENT,"\u2309":b.CLOSE,"\u230b":b.CLOSE,"\u23de":b.WIDEACCENT,"\u23df":b.WIDEACCENT,"\u266d":b.ORD02,"\u266e":b.ORD02,"\u266f":b.ORD02,"\u27e9":b.CLOSE,"\u27ef":b.CLOSE,"\u02c6":b.WIDEACCENT,"\u02c7":b.WIDEACCENT,"\u02c9":b.WIDEACCENT,"\u02ca":b.ACCENT,"\u02cb":b.ACCENT,"\u02d8":b.ACCENT,"\u02d9":b.ACCENT,"\u02dc":b.WIDEACCENT,"\u0302":b.WIDEACCENT,"\u00a8":b.ACCENT,"\u00af":b.WIDEACCENT,")":b.CLOSE,"]":b.CLOSE,"^":b.WIDEACCENT,_:b.WIDEACCENT,"`":b.ACCENT,"|":b.CLOSE,"}":b.CLOSE,"~":b.WIDEACCENT},infix:{"":b.ORD,"%":[3,3,d.ORD],"\u2022":b.BIN4,"\u2026":b.INNER,"\u2044":b.TALLBIN,"\u2061":b.ORD,"\u2062":b.ORD,"\u2063":[0,0,d.ORD,{linebreakstyle:"after",separator:!0}],"\u2064":b.ORD,"\u2190":b.WIDEREL,"\u2191":b.RELSTRETCH,"\u2192":b.WIDEREL,"\u2193":b.RELSTRETCH,"\u2194":b.WIDEREL,"\u2195":b.RELSTRETCH,"\u2196":b.RELSTRETCH,"\u2197":b.RELSTRETCH,"\u2198":b.RELSTRETCH,"\u2199":b.RELSTRETCH,"\u21a6":b.WIDEREL,"\u21a9":b.WIDEREL,"\u21aa":b.WIDEREL,"\u21bc":b.WIDEREL,"\u21bd":b.WIDEREL,"\u21c0":b.WIDEREL,"\u21c1":b.WIDEREL,"\u21cc":b.WIDEREL,"\u21d0":b.WIDEREL,"\u21d1":b.RELSTRETCH,"\u21d2":b.WIDEREL,"\u21d3":b.RELSTRETCH,"\u21d4":b.WIDEREL,"\u21d5":b.RELSTRETCH,"\u2208":b.REL,"\u2209":b.REL,"\u220b":b.REL,"\u2212":b.BIN4,"\u2213":b.BIN4,"\u2215":b.TALLBIN,"\u2216":b.BIN4,"\u2217":b.BIN4,"\u2218":b.BIN4,"\u2219":b.BIN4,"\u221d":b.REL,"\u2223":b.REL,"\u2225":b.REL,"\u2227":b.BIN4,"\u2228":b.BIN4,"\u2229":b.BIN4,"\u222a":b.BIN4,"\u223c":b.REL,"\u2240":b.BIN4,"\u2243":b.REL,"\u2245":b.REL,"\u2248":b.REL,"\u224d":b.REL,"\u2250":b.REL,"\u2260":b.REL,"\u2261":b.REL,"\u2264":b.REL,"\u2265":b.REL,"\u226a":b.REL,"\u226b":b.REL,"\u227a":b.REL,"\u227b":b.REL,"\u2282":b.REL,"\u2283":b.REL,"\u2286":b.REL,"\u2287":b.REL,"\u228e":b.BIN4,"\u2291":b.REL,"\u2292":b.REL,"\u2293":b.BIN4,"\u2294":b.BIN4,"\u2295":b.BIN4,"\u2296":b.BIN4,"\u2297":b.BIN4,"\u2298":b.BIN4,"\u2299":b.BIN4,"\u22a2":b.REL,"\u22a3":b.REL,"\u22a4":b.ORD55,"\u22a5":b.REL,"\u22a8":b.REL,"\u22c4":b.BIN4,"\u22c5":b.BIN4,"\u22c6":b.BIN4,"\u22c8":b.REL,"\u22ee":b.ORD55,"\u22ef":b.INNER,"\u22f1":[5,5,d.INNER],"\u25b3":b.BIN4,"\u25b5":b.BIN4,"\u25b9":b.BIN4,"\u25bd":b.BIN4,"\u25bf":b.BIN4,"\u25c3":b.BIN4,"\u2758":b.REL,"\u27f5":b.WIDEREL,"\u27f6":b.WIDEREL,"\u27f7":b.WIDEREL,"\u27f8":b.WIDEREL,"\u27f9":b.WIDEREL,"\u27fa":b.WIDEREL,"\u27fc":b.WIDEREL,"\u2a2f":b.BIN4,"\u2a3f":b.BIN4,"\u2aaf":b.REL,"\u2ab0":b.REL,"\u00b1":b.BIN4,"\u00b7":b.BIN4,"\u00d7":b.BIN4,"\u00f7":b.BIN4,"*":b.BIN3,"+":b.BIN4,",":[0,3,d.PUNCT,{linebreakstyle:"after",separator:!0}],"-":b.BIN4,".":[3,3,d.ORD],"/":b.ORD11,":":[1,2,d.REL],";":[0,3,d.PUNCT,{linebreakstyle:"after",separator:!0}],"\x3c":b.REL,"\x3d":b.REL,"\x3e":b.REL,"?":[1,1,d.CLOSE],"\\":b.ORD,"^":b.ORD11,_:b.ORD11,"|":[2,2,d.ORD,{fence:!0,stretchy:!0,symmetric:!0}],"#":b.ORD,$:b.ORD,".":[0,3,d.PUNCT,{separator:!0}],"\u02b9":b.ORD,"\u0300":b.ACCENT,"\u0301":b.ACCENT,"\u0303":b.WIDEACCENT,"\u0304":b.ACCENT,"\u0306":b.ACCENT,"\u0307":b.ACCENT,"\u0308":b.ACCENT,"\u030c":b.ACCENT,"\u0332":b.WIDEACCENT,"\u0338":b.REL4,"\u2015":[0,0,d.ORD,{stretchy:!0}],"\u2017":[0,0,d.ORD,{stretchy:!0}],"\u2020":b.BIN3,"\u2021":b.BIN3,"\u20d7":b.ACCENT,"\u2111":b.ORD,"\u2113":b.ORD,"\u2118":b.ORD,"\u211c":b.ORD,"\u2205":b.ORD,"\u221e":b.ORD,"\u2305":b.BIN3,"\u2306":b.BIN3,"\u2322":b.REL4,"\u2323":b.REL4,"\u2329":b.OPEN,"\u232a":b.CLOSE,"\u23aa":b.ORD,"\u23af":[0,0,d.ORD,{stretchy:!0}],"\u23b0":b.OPEN,"\u23b1":b.CLOSE,"\u2500":b.ORD,"\u25ef":b.BIN3,"\u2660":b.ORD,"\u2661":b.ORD,"\u2662":b.ORD,"\u2663":b.ORD,"\u3008":b.OPEN,"\u3009":b.CLOSE,"\ufe37":b.WIDEACCENT,"\ufe38":b.WIDEACCENT}}},{OPTYPES:b});a.mo.prototype.OPTABLE.infix["^"]=b.WIDEREL;a.mo.prototype.OPTABLE.infix._=b.WIDEREL})(MathJax.ElementJax.mml);MathJax.ElementJax.mml.loadComplete("jax.js");MathJax.Hub.Register.LoadHook("[MathJax]/jax/element/mml/jax.js",function(){var a=MathJax.ElementJax.mml;SETTINGS=MathJax.Hub.config.menuSettings;a.mbase.Augment({toMathML:function(a){var b=this.inferred&&this.parent.inferRow;null==a&&(a="");var c=this.type,e=this.toMathMLattributes();if("mspace"===c)return a+"\x3c"+c+e+" /\x3e";for(var m=[],g=this.isToken?"":a+(b?"":" "),k=0,p=this.data.length;k<p;k++)this.data[k]?m.push(this.data[k].toMathML(g)):this.isToken||m.push(g+"\x3cmrow /\x3e");return this.isToken?a+"\x3c"+c+e+"\x3e"+m.join("")+"\x3c/"+c+"\x3e":b?m.join("\n"):0===m.length||1===m.length&&""===m[0]?a+"\x3c"+c+e+" /\x3e":a+"\x3c"+c+e+"\x3e\n"+m.join("\n")+"\n"+a+"\x3c/"+c+"\x3e"},toMathMLattributes:function(){var d=[],b=this.defaults,c=this.attrNames||a.copyAttributeNames,e=a.skipAttributes;"math"!==this.type||this.attr&&this.attr.xmlns||d.push('xmlns\x3d"http://www.w3.org/1998/Math/MathML"');if(!this.attrNames){"mstyle"===this.type&&(b=a.math.prototype.defaults);for(var m in b)if(!e[m]&&b.hasOwnProperty(m)){var g="open"===m||"close"===m;if(null!=this[m]&&(g||this[m]!==b[m])){var k=this[m];delete this[m];(g||this.Get(m)!==k)&&d.push(m+'\x3d"'+this.toMathMLattribute(k)+'"');this[m]=k}}}b=0;for(e=c.length;b<e;b++)"class"!==c[b]&&(k=(this.attr||{})[c[b]],null==k&&(k=this[c[b]]),null!=k&&d.push(c[b]+'\x3d"'+this.toMathMLquote(k)+'"'));this.toMathMLclass(d);return d.length?" "+d.join(" "):""},toMathMLclass:function(d){var b=[];this["class"]&&b.push(this["class"]);if(this.isa(a.TeXAtom)&&SETTINGS.texHints){var c="ORD OP BIN REL OPEN CLOSE PUNCT INNER VCENTER".split(" ")[this.texClass];c&&b.push("MJX-TeXAtom-"+c)}this.mathvariant&&this.toMathMLvariants[this.mathvariant]&&b.push("MJX"+this.mathvariant);this.arrow&&b.push("MJX-arrow");this.variantForm&&b.push("MJX-variant");b.length&&d.unshift('class\x3d"'+b.join(" ")+'"')},toMathMLattribute:function(a){return"string"===typeof a&&a.replace(/ /g,"").match(/^(([-+])?(\d+(\.\d*)?|\.\d+))mu$/)?RegExp.$2+(1/18*RegExp.$3).toFixed(3).replace(/\.?0+$/,"")+"em":this.toMathMLvariants[a]?this.toMathMLvariants[a]:this.toMathMLquote(a)},toMathMLvariants:{"-tex-caligraphic":a.VARIANT.SCRIPT,"-tex-caligraphic-bold":a.VARIANT.BOLDSCRIPT,"-tex-oldstyle":a.VARIANT.NORMAL,"-tex-oldstyle-bold":a.VARIANT.BOLD,"-tex-mathit":a.VARIANT.ITALIC},toMathMLquote:function(a){a=String(a).split("");for(var b=0,c=a.length;b<c;b++){var e=a[b].charCodeAt(0);if(55295>=e||57344<=e)32>e||126<e?a[b]="\x26#x"+e.toString(16).toUpperCase()+";":(e={"\x26":"\x26amp;","\x3c":"\x26lt;","\x3e":"\x26gt;",'"':"\x26quot;"}[a[b]])&&(a[b]=e);else if(b+1<c){var m=a[b+1].charCodeAt(0);a[b]="\x26#x"+((e-55296<<10)+(m-56320)+65536).toString(16).toUpperCase()+";";a[b+1]="";b++}else a[b]=""}return a.join("")}});a.msubsup.Augment({toMathML:function(a){var b=this.type;null==this.data[this.sup]&&(b="msub");null==this.data[this.sub]&&(b="msup");var c=this.toMathMLattributes();delete this.data[0].inferred;for(var e=[],m=0,g=this.data.length;m<g;m++)this.data[m]&&e.push(this.data[m].toMathML(a+" "));return a+"\x3c"+b+c+"\x3e\n"+e.join("\n")+"\n"+a+"\x3c/"+b+"\x3e"}});a.munderover.Augment({toMathML:function(a){var b=this.type;null==this.data[this.under]&&(b="mover");null==this.data[this.over]&&(b="munder");var c=this.toMathMLattributes();delete this.data[0].inferred;for(var e=[],m=0,g=this.data.length;m<g;m++)this.data[m]&&e.push(this.data[m].toMathML(a+" "));return a+"\x3c"+b+c+"\x3e\n"+e.join("\n")+"\n"+a+"\x3c/"+b+"\x3e"}});a.TeXAtom.Augment({toMathML:function(a){var b=this.toMathMLattributes();return b||1!==this.data[0].data.length?a+"\x3cmrow"+b+"\x3e\n"+this.data[0].toMathML(a+" ")+"\n"+a+"\x3c/mrow\x3e":a.substr(2)+this.data[0].toMathML(a)}});a.chars.Augment({toMathML:function(a){return(a||"")+this.toMathMLquote(this.toString())}});a.entity.Augment({toMathML:function(a){return(a||"")+"\x26"+this.data[0]+";\x3c!-- "+this.toString()+" --\x3e"}});a.xml.Augment({toMathML:function(a){return(a||"")+this.toString()}});MathJax.Hub.Register.StartupHook("TeX mathchoice Ready",function(){a.TeXmathchoice.Augment({toMathML:function(a){return this.Core().toMathML(a)}})});MathJax.Hub.Startup.signal.Post("toMathML Ready")});MathJax.Ajax.loadComplete("[MathJax]/extensions/toMathML.js");(function(a,d){var b=a.CombineConfig("TeX.noErrors",{disabled:!1,multiLine:!0,inlineDelimiters:["",""],style:{"font-size":"90%","text-align":"left",color:"black",padding:"1px 3px",border:"1px solid"}});MathJax.Extension["TeX/noErrors"]={version:"2.2",config:b};a.Register.StartupHook("TeX Jax Ready",function(){var c=MathJax.InputJax.TeX.formatError;MathJax.InputJax.TeX.Augment({formatError:function(d,m,g,k){if(b.disabled)return c.apply(this,arguments);var p=d.message.replace(/\n.*/,"");a.signal.Post(["TeX Jax - parse error",p,m,g,k]);var p=b.inlineDelimiters,f=g||b.multiLine;g||(m=p[0]+m+p[1]);m=f?m.replace(/ /g,"\u00a0"):m.replace(/\n/g," ");return MathJax.ElementJax.mml.merror(m).With({isError:!0,multiLine:f})}})});a.Register.StartupHook("HTML-CSS Jax Config",function(){a.Config({"HTML-CSS":{styles:{".MathJax .noError":a.Insert({"vertical-align":a.Browser.isMSIE&&b.multiLine?"-2px":""},b.style)}}})});a.Register.StartupHook("HTML-CSS Jax Ready",function(){var a=MathJax.ElementJax.mml,b=MathJax.OutputJax["HTML-CSS"],d=a.math.prototype.toHTML,g=a.merror.prototype.toHTML;a.math.Augment({toHTML:function(a,b){var f=this.data[0];f&&f.data[0]&&f.data[0].isError?(a.style.fontSize="",a=this.HTMLcreateSpan(a),a.bbox=f.data[0].toHTML(a).bbox):a=d.call(this,a,b);return a}});a.merror.Augment({toHTML:function(a){if(!this.isError)return g.call(this,a);a=this.HTMLcreateSpan(a);a.className="noError";this.multiLine&&(a.style.display="inline-block");for(var c=this.data[0].data[0].data.join("").split(/\n/),f=0,l=c.length;f<l;f++)b.addText(a,c[f]),f!==l-1&&b.addElement(a,"br",{isMathJax:!0});c=b.getHD(a.parentNode);f=b.getW(a.parentNode);if(1<l){var l=(c.h+c.d)/2,d=b.TeX.x_height/2;a.parentNode.style.verticalAlign=b.Em(c.d+(d-l));c.h=d+l;c.d=l-d}a.bbox={h:c.h,d:c.d,w:f,lw:0,rw:f};return a}})});a.Register.StartupHook("SVG Jax Config",function(){a.Config({SVG:{styles:{".MathJax_SVG .noError":a.Insert({"vertical-align":a.Browser.isMSIE&&b.multiLine?"-2px":""},b.style)}}})});a.Register.StartupHook("SVG Jax Ready",function(){var a=MathJax.ElementJax.mml,b=a.math.prototype.toSVG,m=a.merror.prototype.toSVG;a.math.Augment({toSVG:function(a,c){var d=this.data[0];return a=d&&d.data[0]&&d.data[0].isError?d.data[0].toSVG(a):b.call(this,a,c)}});a.merror.Augment({toSVG:function(a){if(!this.isError||"math"!==this.Parent().type)return m.call(this,a);a=d.addElement(a,"span",{className:"noError",isMathJax:!0});this.multiLine&&(a.style.display="inline-block");for(var b=this.data[0].data[0].data.join("").split(/\n/),c=0,f=b.length;c<f;c++)d.addText(a,b[c]),c!==f-1&&d.addElement(a,"br",{isMathJax:!0});1<f&&(b=a.offsetHeight/2,a.style.verticalAlign=-b+b/f+"px");return a}})});a.Register.StartupHook("NativeMML Jax Ready",function(){var a=MathJax.ElementJax.mml,b=MathJax.Extension["TeX/noErrors"].config,d=a.math.prototype.toNativeMML,g=a.merror.prototype.toNativeMML;a.math.Augment({toNativeMML:function(a){var b=this.data[0];return a=b&&b.data[0]&&b.data[0].isError?b.data[0].toNativeMML(a):d.call(this,a)}});a.merror.Augment({toNativeMML:function(a){if(!this.isError)return g.call(this,a);a=a.appendChild(document.createElement("span"));for(var c=this.data[0].data[0].data.join("").split(/\n/),f=0,l=c.length;f<l;f++)a.appendChild(document.createTextNode(c[f])),f!==l-1&&a.appendChild(document.createElement("br"));this.multiLine&&(a.style.display="inline-block",1<l&&(a.style.verticalAlign="middle"));for(var d in b.style)b.style.hasOwnProperty(d)&&(c=d.replace(/-./g,function(a){return a.charAt(1).toUpperCase()}),a.style[c]=b.style[d]);return a}})});a.Startup.signal.Post("TeX noErrors Ready")})(MathJax.Hub,MathJax.HTML);MathJax.Ajax.loadComplete("[MathJax]/extensions/TeX/noErrors.js");MathJax.Extension["TeX/noUndefined"]={version:"2.2",config:MathJax.Hub.CombineConfig("TeX.noUndefined",{disabled:!1,attributes:{mathcolor:"red"}})};MathJax.Hub.Register.StartupHook("TeX Jax Ready",function(){var a=MathJax.Extension["TeX/noUndefined"].config,d=MathJax.ElementJax.mml,b=MathJax.InputJax.TeX.Parse.prototype.csUndefined;MathJax.InputJax.TeX.Parse.Augment({csUndefined:function(c){if(a.disabled)return b.apply(this,arguments);MathJax.Hub.signal.Post(["TeX Jax - undefined control sequence",c]);this.Push(d.mtext(c).With(a.attributes))}});MathJax.Hub.Startup.signal.Post("TeX noUndefined Ready")});MathJax.Ajax.loadComplete("[MathJax]/extensions/TeX/noUndefined.js");(function(a,d,b){var c,e=function(a){return MathJax.Localization._.apply(MathJax.Localization,[["TeX",a]].concat([].slice.call(arguments,1)))},m=MathJax.Object.Subclass({Init:function(a,b){this.global={isInner:b};this.data=[g.start(this.global)];a&&(this.data[0].env=a);this.env=this.data[0].env},Push:function(){var a,b,d,e;a=0;for(b=arguments.length;a<b;a++)if(d=arguments[a],d instanceof c.mbase&&(d=g.mml(d)),d.global=this.global,e=this.data.length?this.Top().checkItem(d):!0,e instanceof Array)this.Pop(),this.Push.apply(this,e);else if(e instanceof g)this.Pop(),this.Push(e);else if(e)if(this.data.push(d),d.env){for(var k in this.env)this.env.hasOwnProperty(k)&&(d.env[k]=this.env[k]);this.env=d.env}else d.env=this.env},Pop:function(){var a=this.data.pop();a.isOpen||delete a.env;this.env=this.data.length?this.Top().env:{};return a},Top:function(a){null==a&&(a=1);return this.data.length<a?null:this.data[this.data.length-a]},Prev:function(a){var b=this.Top();return a?b.data[b.data.length-1]:b.Pop()},toString:function(){return"stack[\n "+this.data.join("\n ")+"\n]"}}),g=m.Item=MathJax.Object.Subclass({type:"base",endError:["ExtraOpenMissingClose","Extra open brace or missing close brace"],closeError:["ExtraCloseMissingOpen","Extra close brace or missing open brace"],rightError:["MissingLeftExtraRight","Missing \\left or extra \\right"],Init:function(){this.isOpen&&(this.env={});this.data=[];this.Push.apply(this,arguments)},Push:function(){this.data.push.apply(this.data,arguments)},Pop:function(){return this.data.pop()},mmlData:function(a,b){null==a&&(a=!0);return 1!==this.data.length||b?c.mrow.apply(c,this.data).With(a?{inferred:!0}:{}):this.data[0]},checkItem:function(f){"over"===f.type&&this.isOpen&&(f.num=this.mmlData(!1),this.data=[]);if("cell"===f.type&&this.isOpen){if(f.linebreak)return!1;a.Error(["Misplaced","Misplaced %1",f.name])}f.isClose&&this[f.type+"Error"]&&a.Error(this[f.type+"Error"]);if(!f.isNotStack)return!0;this.Push(f.data[0]);return!1},With:function(a){for(var b in a)a.hasOwnProperty(b)&&(this[b]=a[b]);return this},toString:function(){return this.type+"["+this.data.join("; ")+"]"}});g.start=g.Subclass({type:"start",isOpen:!0,Init:function(a){this.SUPER(arguments).Init.call(this);this.global=a},checkItem:function(a){return"stop"===a.type?g.mml(this.mmlData()):this.SUPER(arguments).checkItem.call(this,a)}});g.stop=g.Subclass({type:"stop",isClose:!0});g.open=g.Subclass({type:"open",isOpen:!0,stopError:["ExtraOpenMissingClose","Extra open brace or missing close brace"],checkItem:function(a){if("close"===a.type){var b=this.mmlData();return g.mml(c.TeXAtom(b))}return this.SUPER(arguments).checkItem.call(this,a)}});g.close=g.Subclass({type:"close",isClose:!0});g.prime=g.Subclass({type:"prime",checkItem:function(a){if("msubsup"!==this.data[0].type)return[c.msup(this.data[0],this.data[1]),a];this.data[0].SetData(this.data[0].sup,this.data[1]);return[this.data[0],a]}});g.subsup=g.Subclass({type:"subsup",stopError:["MissingScript","Missing superscript or subscript argument"],supError:["MissingOpenForSup","Missing open brace for superscript"],subError:["MissingOpenForSup","Missing open brace for subscript"],checkItem:function(f){if("open"===f.type||"left"===f.type)return!0;if("mml"===f.type)return this.primes&&(2!==this.position?this.data[0].SetData(2,this.primes):f.data[0]=c.mrow(this.primes.With({variantForm:!0}),f.data[0])),this.data[0].SetData(this.position,f.data[0]),g.mml(this.data[0]);this.SUPER(arguments).checkItem.call(this,f)&&a.Error(this[["","subError","supError"][this.position]])},Pop:function(){}});g.over=g.Subclass({type:"over",isClose:!0,name:"\\over",checkItem:function(f,b){"over"===f.type&&a.Error(["AmbiguousUseOf","Ambiguous use of %1",f.name]);if(f.isClose){var d=c.mfrac(this.num,this.mmlData(!1));null!=this.thickness&&(d.linethickness=this.thickness);if(this.open||this.close)d.texClass=c.TEXCLASS.INNER,d.texWithDelims=!0,d=a.fenced(this.open,d,this.close);return[g.mml(d),f]}return this.SUPER(arguments).checkItem.call(this,f)},toString:function(){return"over["+this.num+" / "+this.data.join("; ")+"]"}});g.left=g.Subclass({type:"left",isOpen:!0,delim:"(",stopError:["ExtraLeftMissingRight","Extra \\left or missing \\right"],checkItem:function(f){return"right"===f.type?g.mml(a.fenced(this.delim,this.mmlData(),f.delim)):this.SUPER(arguments).checkItem.call(this,f)}});g.right=g.Subclass({type:"right",isClose:!0,delim:")"});g.begin=g.Subclass({type:"begin",isOpen:!0,checkItem:function(f){if("end"===f.type)return f.name!==this.name&&a.Error(["EnvBadEnd","\\begin{%1} ended with \\end{%2}",this.name,f.name]),this.end?this.parse[this.end].call(this.parse,this,this.data):g.mml(this.mmlData());"stop"===f.type&&a.Error(["EnvMissingEnd","Missing \\end{%1}",this.name]);return this.SUPER(arguments).checkItem.call(this,f)}});g.end=g.Subclass({type:"end",isClose:!0});g.style=g.Subclass({type:"style",checkItem:function(a){if(!a.isClose)return this.SUPER(arguments).checkItem.call(this,a);var b=c.mstyle.apply(c,this.data).With(this.styles);return[g.mml(b),a]}});g.position=g.Subclass({type:"position",checkItem:function(f){f.isClose&&a.Error(["MissingBoxFor","Missing box for %1",name]);if(f.isNotStack){var b=f.mmlData();switch(this.move){case "vertical":return b=c.mpadded(b).With({height:this.dh,depth:this.dd,voffset:this.dh}),[g.mml(b)];case "horizontal":return[g.mml(this.left),f,g.mml(this.right)]}}return this.SUPER(arguments).checkItem.call(this,f)}});g.array=g.Subclass({type:"array",isOpen:!0,arraydef:{},Init:function(){this.table=[];this.row=[];this.env={};this.frame=[];this.SUPER(arguments).Init.apply(this,arguments)},checkItem:function(f){if(f.isClose&&"over"!==f.type){if(f.isEntry)return this.EndEntry(),this.clearEnv(),!1;if(f.isCR)return this.EndEntry(),this.EndRow(),this.clearEnv(),!1;this.EndTable();this.clearEnv();var b=c.mtable.apply(c,this.table).With(this.arraydef);4===this.frame.length?b.frame=this.frame.dashed?"dashed":"solid":this.frame.length&&(b.hasFrame=!0,this.arraydef.rowlines&&(this.arraydef.rowlines=this.arraydef.rowlines.replace(/none( none)+$/,"none")),b=c.menclose(b).With({notation:this.frame.join(" "),isFrame:!0}),"none"!=(this.arraydef.columnlines||"none")||"none"!=(this.arraydef.rowlines||"none"))&&(b.padding=0);if(this.open||this.close)b=a.fenced(this.open,b,this.close);b=g.mml(b);if(this.requireClose){if("close"===f.type)return b;a.Error(["MissingCloseBrace","Missing close brace"])}return[b,f]}return this.SUPER(arguments).checkItem.call(this,f)},EndEntry:function(){this.row.push(c.mtd.apply(c,this.data));this.data=[]},EndRow:function(){this.table.push(c.mtr.apply(c,this.row));this.row=[]},EndTable:function(){if(this.data.length||this.row.length)this.EndEntry(),this.EndRow();this.checkLines()},checkLines:function(){if(this.arraydef.rowlines){var a=this.arraydef.rowlines.split(/ /);a.length===this.table.length?(this.frame.push("bottom"),a.pop(),this.arraydef.rowlines=a.join(" ")):a.length<this.table.length-1&&(this.arraydef.rowlines+=" none")}if(this.rowspacing){for(a=this.arraydef.rowspacing.split(/ /);a.length<this.table.length;)a.push(this.rowspacing+"em");this.arraydef.rowspacing=a.join(" ")}},clearEnv:function(){for(var a in this.env)this.env.hasOwnProperty(a)&&delete this.env[a]}});g.cell=g.Subclass({type:"cell",isClose:!0});g.mml=g.Subclass({type:"mml",isNotStack:!0,Add:function(){this.data.push.apply(this.data,arguments);return this}});g.fn=g.Subclass({type:"fn",checkItem:function(a){if(this.data[0]){if("mml"!==a.type||!a.data[0]||a.data[0].isa(c.mspace))return[this.data[0],a];var b=a.data[0];b.isEmbellished()&&(b=b.CoreMO());return[0,0,1,1,0,1,1,0,0,0][b.Get("texClass")]?[this.data[0],a]:[this.data[0],c.mo(c.entity("#x2061")).With({texClass:c.TEXCLASS.NONE}),a]}return this.SUPER(arguments).checkItem.apply(this,arguments)}});g.not=g.Subclass({type:"not",checkItem:function(a){var b,d;if("open"===a.type||"left"===a.type)return!0;if("mml"===a.type&&a.data[0].type.match(/^(mo|mi|mtext)$/)&&(b=a.data[0],d=b.data.join(""),1===d.length&&!b.movesupsub))return(d=g.not.remap[d.charCodeAt(0)])?b.SetData(0,c.chars(String.fromCharCode(d))):b.Append(c.chars("\u0338")),a;b=c.mpadded(c.mtext("\u29f8")).With({width:0});b=c.TeXAtom(b).With({texClass:c.TEXCLASS.REL});return[b,a]}});g.not.remap={8592:8602,8594:8603,8596:8622,8656:8653,8658:8655,8660:8654,8712:8713,8715:8716,8739:8740,8741:8742,8764:8769,126:8769,8771:8772,8773:8775,8776:8777,8781:8813,61:8800,8801:8802,60:8814,62:8815,8804:8816,8805:8817,8818:8820,8819:8821,8822:8824,8823:8825,8826:8832,8827:8833,8834:8836,8835:8837,8838:8840,8839:8841,8866:8876,8872:8877,8873:8878,8875:8879,8828:8928,8829:8929,8849:8930,8850:8931,8882:8938,8883:8939,8884:8940,8885:8941,8707:8708};g.dots=g.Subclass({type:"dots",checkItem:function(a){if("open"===a.type||"left"===a.type)return!0;var b=this.ldots;if("mml"===a.type&&a.data[0].isEmbellished()){var d=a.data[0].CoreMO().Get("texClass");if(d===c.TEXCLASS.BIN||d===c.TEXCLASS.REL)b=this.cdots}return[b,a]}});var k={Add:function(a,b,c){b||(b=this);for(var d in a)a.hasOwnProperty(d)&&("object"!==typeof a[d]||a[d]instanceof Array||"object"!==typeof b[d]&&"function"!==typeof b[d]?b[d]&&b[d].isUser&&c||(b[d]=a[d]):this.Add(a[d],b[d],a[d],c));return b}},p=MathJax.Object.Subclass({Init:function(b,c){this.string=b;this.macroCount=this.i=0;var d;if(c){d={};for(var e in c)c.hasOwnProperty(e)&&(d[e]=c[e])}this.stack=a.Stack(d,!!c);this.Parse();this.Push(g.stop())},Parse:function(){for(var a,b;this.i<this.string.length;)if(a=this.string.charAt(this.i++),b=a.charCodeAt(0),55296<=b&&56320>b&&(a+=this.string.charAt(this.i++)),k.special[a])this[k.special[a]](a);else k.letter.test(a)?this.Variable(a):k.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 d=c[0];d instanceof Function||(d=this[d]);d.apply(this,[a+b].concat(c.slice(1)))}else k.mathchar0mi[b]?this.csMathchar0mi(b,k.mathchar0mi[b]):k.mathchar0mo[b]?this.csMathchar0mo(b,k.mathchar0mo[b]):k.mathchar7[b]?this.csMathchar7(b,k.mathchar7[b]):null!=k.delimiter["\\"+b]?this.csDelimiter(b,k.delimiter["\\"+b]):this.csUndefined(a+b)},csFindMacro:function(a){return k.macros[a]},csMathchar0mi:function(a,b){var d={mathvariant:c.VARIANT.ITALIC};b instanceof Array&&(d=b[1],b=b[0]);this.Push(this.mmlToken(c.mi(c.entity("#x"+b)).With(d)))},csMathchar0mo:function(a,b){var d={stretchy:!1};b instanceof Array&&(d=b[1],d.stretchy=!1,b=b[0]);this.Push(this.mmlToken(c.mo(c.entity("#x"+b)).With(d)))},csMathchar7:function(a,b){var d={mathvariant:c.VARIANT.NORMAL};b instanceof Array&&(d=b[1],b=b[0]);this.stack.env.font&&(d.mathvariant=this.stack.env.font);this.Push(this.mmlToken(c.mi(c.entity("#x"+b)).With(d)))},csDelimiter:function(a,b){var d={};b instanceof Array&&(d=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(d)))},csUndefined:function(b){a.Error(["UndefinedControlSequence","Undefined control sequence %1",b])},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(k.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(g.open())},Close:function(a){this.Push(g.close())},Tilde:function(a){this.Push(c.mtext(c.chars("\u00a0")))},Space:function(a){},Superscript:function(b){this.GetNext().match(/\d/)&&(this.string=this.string.substr(0,this.i+1)+" "+this.string.substr(this.i+1));var l,d;l=this.stack.Top();"prime"===l.type?(b=l.data[0],d=l.data[1],this.stack.Pop()):(b=this.stack.Prev())||(b=c.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"]),l=b.sup;else if(b.movesupsub){if("munderover"!==b.type||b.data[b.over])b.movablelimits&&b.isa(c.mi)&&(b=this.mi2mo(b)),b=c.munderover(b,null,null).With({movesupsub:!0});l=b.over}else b=c.msubsup(b,null,null),l=b.sup;this.Push(g.subsup(b).With({position:l,primes:d}))},Subscript:function(b){this.GetNext().match(/\d/)&&(this.string=this.string.substr(0,this.i+1)+" "+this.string.substr(this.i+1));var d,e;d=this.stack.Top();"prime"===d.type?(b=d.data[0],e=d.data[1],this.stack.Pop()):(b=this.stack.Prev())||(b=c.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"]),d=b.sub;else if(b.movesupsub){if("munderover"!==b.type||b.data[b.under])b.movablelimits&&b.isa(c.mi)&&(b=this.mi2mo(b)),b=c.munderover(b,null,null).With({movesupsub:!0});d=b.under}else b=c.msubsup(b,null,null),d=b.sub;this.Push(g.subsup(b).With({position:d,primes:e}))},PRIME:"\u2032",SMARTQUOTE:"\u2019",Prime:function(b){var d=this.stack.Prev();d||(d=c.mi());"msubsup"===d.type&&d.data[d.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(g.prime(d,this.mmlToken(c.mo(e))))},mi2mo:function(a){var b=c.mo();b.Append.apply(b,a.data);for(var d in b.defaults)b.defaults.hasOwnProperty(d)&&null!=a[d]&&(b[d]=a[d]);for(d in c.copyAttributes)c.copyAttributes.hasOwnProperty(d)&&null!=a[d]&&(b[d]=a[d]);return b},Comment:function(a){for(;this.i<this.string.length&&"\n"!=this.string.charAt(this.i);)this.i++},Hash:function(b){a.Error(["CantUseHash1","You can't use 'macro parameter character #' in math mode"])},Other:function(a){var b={stretchy:!1};this.stack.env.font&&(b.mathvariant=this.stack.env.font);k.remap[a]?(a=k.remap[a],a instanceof Array&&(b=a[1],a=a[0]),a=c.mo(c.entity("#x"+a)).With(b)):a=c.mo(a).With(b);""==a.autoDefault("texClass",!0)&&(a=c.TeXAtom(a));this.Push(this.mmlToken(a))},SetFont:function(a,b){this.stack.env.font=b},SetStyle:function(a,b,c,d){this.stack.env.style=b;this.stack.env.level=d;this.Push(g.style().With({styles:{displaystyle:c,scriptlevel:d}}))},SetSize:function(a,b){this.stack.env.size=b;this.Push(g.style().With({styles:{mathsize:b+"em"}}))},Color:function(a){var b=this.GetArgument(a),d=this.stack.env.color;this.stack.env.color=b;a=this.ParseArg(a);d?this.stack.env.color:delete this.stack.env.color;this.Push(c.mstyle(a).With({mathcolor:b}))},Spacer:function(a,b){this.Push(c.mspace().With({width:b,mathsize:c.SIZE.NORMAL,scriptlevel:0}))},LeftRight:function(a){this.Push(g[a.substr(1)]().With({delim:this.GetDelimiter(a)}))},Middle:function(b){var d=this.GetDelimiter(b);"left"!==this.stack.Top().type&&a.Error(["MisplacedMiddle","%1 must be within \\left and \\right",b]);this.Push(c.mo(d).With({stretchy:!0}))},NamedFn:function(a,b){b||(b=a.substr(1));var d=c.mi(b).With({texClass:c.TEXCLASS.OP});this.Push(g.fn(this.mmlToken(d)))},NamedOp:function(a,b){b||(b=a.substr(1));b=b.replace(/ /,"\u2006");var d=c.mo(b).With({movablelimits:!0,movesupsub:!0,form:c.FORM.PREFIX,texClass:c.TEXCLASS.OP});d.useMMLspacing&=~d.SPACE_ATTR.form;this.Push(this.mmlToken(d))},Limits:function(b,d){var e=this.stack.Prev("nopop");e&&e.texClass===c.TEXCLASS.OP||a.Error(["MisplacedLimits","%1 is allowed only on operators",b]);e.movesupsub=d?!0:!1;e.movablelimits=!1},Over:function(a,b,c){var d=g.over().With({name:a});b||c?(d.open=b,d.close=c):a.match(/withdelims$/)&&(d.open=this.GetDelimiter(a),d.close=this.GetDelimiter(a));if(a.match(/^\\above/))d.thickness=this.GetDimen(a);else if(a.match(/^\\atop/)||b||c)d.thickness=0;this.Push(d)},Frac:function(a){var b=this.ParseArg(a);a=this.ParseArg(a);this.Push(c.mfrac(b,a))},Sqrt:function(b){var d=this.GetBrackets(b);b=this.GetArgument(b);"\\frac"===b&&(b+="{"+this.GetArgument(b)+"}{"+this.GetArgument(b)+"}");b=a.Parse(b,this.stack.env).mml();b=d?c.mroot(b,this.parseRoot(d)):c.msqrt.apply(c,b.array());this.Push(b)},Root:function(a){var b=this.GetUpTo(a,"\\of");a=this.ParseArg(a);this.Push(c.mroot(a,this.parseRoot(b)))},parseRoot:function(b){var d=this.stack.env,e=d.inRoot;d.inRoot=!0;var k=a.Parse(b,d);b=k.mml();k=k.stack.global;if(k.leftRoot||k.upRoot)b=c.mpadded(b),k.leftRoot&&(b.width=k.leftRoot),k.upRoot&&(b.voffset=k.upRoot,b.height=k.upRoot);d.inRoot=e;return b},MoveRoot:function(b,c){this.stack.env.inRoot||a.Error(["MisplacedMoveRoot","%1 can appear only within a root",b]);this.stack.global[c]&&a.Error(["MultipleMoveRoot","Multiple use of %1",b]);var d=this.GetArgument(b);d.match(/-?[0-9]+/)||a.Error(["IntegerArg","The argument to %1 must be an integer",b]);d=d/15+"em";"-"!==d.substr(0,1)&&(d="+"+d);this.stack.global[c]=d},Accent:function(a,b,d){a=this.ParseArg(a);var e={accent:!0};this.stack.env.font&&(e.mathvariant=this.stack.env.font);b=this.mmlToken(c.mo(c.entity("#x"+b)).With(e));b.stretchy=d?!0:!1;this.Push(c.TeXAtom(c.munderover(a,null,b).With({accent:!0})))},UnderOver:function(a,b,d){var e={o:"over",u:"under"}[a.charAt(1)];a=this.ParseArg(a);a.Get("movablelimits")&&(a.movablelimits=!1);a=c.munderover(a,null,null);d&&(a.movesupsub=!0);a.data[a[e]]=this.mmlToken(c.mo(c.entity("#x"+b)).With({stretchy:!0,accent:"under"==e}));this.Push(a)},Overset:function(a){var b=this.ParseArg(a);a=this.ParseArg(a);this.Push(c.mover(a,b))},Underset:function(a){var b=this.ParseArg(a);a=this.ParseArg(a);this.Push(c.munder(a,b))},TeXAtom:function(b,d){var e={texClass:d};if(d==c.TEXCLASS.OP){e.movesupsub=e.movablelimits=!0;var k=this.GetArgument(b),p=k.match(/^\s*\\rm\s+([a-zA-Z0-9 ]+)$/);p?(e.mathvariant=c.VARIANT.NORMAL,e=g.fn(this.mmlToken(c.mi(p[1]).With(e)))):e=g.fn(c.TeXAtom(a.Parse(k,this.stack.env).mml()).With(e))}else e=c.TeXAtom(this.ParseArg(b)).With(e);this.Push(e)},MmlToken:function(b){var d=this.GetArgument(b),e=this.GetBrackets(b,"").replace(/^\s+/,"");b=this.GetArgument(b);var k={attrNames:[]},g;for(c[d]&&c[d].prototype.isToken||a.Error(["NotMathMLToken","%1 is not a token element",d]);""!==e;){(g=e.match(/^([a-z]+)\s*=\s*(\'[^']*'|"[^"]*"|[^ ]*)\s*/i))||a.Error("InvalidMathMLAttr","Invalid MathML attribute: %1",e);c[d].prototype.defaults[g[1]]||this.MmlTokenAllow[g[1]]||a.Error(["UnknownAttrForElement","%1 is not a recognized attribute for %2",g[1],d]);var h=this.MmlFilterAttribute(g[1],g[2].replace(/^(['"])(.*)\1$/,"$2"));h&&("true"===h.toLowerCase()?h=!0:"false"===h.toLowerCase()&&(h=!1),k[g[1]]=h,k.attrNames.push(g[1]));e=e.substr(g[0].length)}this.Push(this.mmlToken(c[d](b).With(k)))},MmlFilterAttribute:function(a,b){return b},MmlTokenAllow:{fontfamily:1,fontsize:1,fontweight:1,fontstyle:1,color:1,background:1,id:1,"class":1,href:1,style:1},Strut:function(a){this.Push(c.mpadded(c.mrow()).With({height:"8.6pt",depth:"3pt",width:0}))},Phantom:function(a,b,d){a=c.mphantom(this.ParseArg(a));if(b||d)a=c.mpadded(a),d&&(a.height=a.depth=0),b&&(a.width=0);this.Push(c.TeXAtom(a))},Smash:function(a){var b=this.trimSpaces(this.GetBrackets(a,""));a=c.mpadded(this.ParseArg(a));switch(b){case "b":a.depth=0;break;case "t":a.height=0;break;default:a.height=a.depth=0}this.Push(c.TeXAtom(a))},Lap:function(a){var b=c.mpadded(this.ParseArg(a)).With({width:0});"\\llap"===a&&(b.lspace="-1 width");this.Push(c.TeXAtom(b))},RaiseLower:function(a){var b=this.GetDimen(a),c=g.position().With({name:a,move:"vertical"});"-"===b.charAt(0)&&(b=b.slice(1),a={raise:"\\lower",lower:"\\raise"}[a.substr(1)]);"\\lower"===a?(c.dh="-"+b,c.dd="+"+b):(c.dh="+"+b,c.dd="-"+b);this.Push(c)},MoveLeftRight:function(a){var b=this.GetDimen(a),d="-"===b.charAt(0)?b.slice(1):"-"+b;if("\\moveleft"===a)var e=b,b=d,d=e;this.Push(g.position().With({name:a,move:"horizontal",left:c.mspace().With({width:b,mathsize:c.SIZE.NORMAL}),right:c.mspace().With({width:d,mathsize:c.SIZE.NORMAL})}))},Hskip:function(a){this.Push(c.mspace().With({width:this.GetDimen(a),mathsize:c.SIZE.NORMAL}))},Rule:function(a,b){var d=this.GetDimen(a),e=this.GetDimen(a),k=this.GetDimen(a),h={width:d,height:e,depth:k};"blank"!==b?(parseFloat(d)&&parseFloat(e)+parseFloat(k)&&(h.mathbackground=this.stack.env.color||"black"),d=c.mpadded(c.mrow()).With(h)):d=c.mspace().With(h);this.Push(d)},MakeBig:function(a,b,d){d*=k.p_height;d=String(d).replace(/(\.\d\d\d).+/,"$1")+"em";a=this.GetDelimiter(a);this.Push(c.TeXAtom(c.mo(a).With({minsize:d,maxsize:d,fence:!0,stretchy:!0,symmetric:!0})).With({texClass:b}))},BuildRel:function(a){var b=this.ParseUpTo(a,"\\over");a=this.ParseArg(a);this.Push(c.TeXAtom(c.munderover(a,null,b)).With({mclass:c.TEXCLASS.REL}))},HBox:function(a,b){this.Push.apply(this,this.InternalMath(this.GetArgument(a),b))},FBox:function(a){this.Push(c.menclose.apply(c,this.InternalMath(this.GetArgument(a))).With({notation:"box"}))},Not:function(a){this.Push(g.not())},Dots:function(a){this.Push(g.dots().With({ldots:this.mmlToken(c.mo(c.entity("#x2026")).With({stretchy:!1})),cdots:this.mmlToken(c.mo(c.entity("#x22EF")).With({stretchy:!1}))}))},Require:function(a){a=this.GetArgument(a).replace(/.*\//,"").replace(/[^a-z0-9_.-]/ig,"");this.Extension(null,a)},Extension:function(c,e,g){e=a.extensionDir+"/"+e;e.match(/\.js$/)||(e+=".js");b.loaded[b.fileURL(e)]||(null!=c&&delete k[g||"macros"][c.replace(/^\\/,"")],d.RestartAfter(b.Require(e)))},Macro:function(b,c,d,e){if(d){var k=[];if(null!=e){var h=this.GetBrackets(b);k.push(null==h?e:h)}for(e=k.length;e<d;e++)k.push(this.GetArgument(b));c=this.SubstituteArgs(k,c)}this.string=this.AddArgs(c,this.string.slice(this.i));this.i=0;++this.macroCount>a.config.MAXMACROS&&a.Error(["MaxMacroSub1","MathJax maximum macro substitution count exceeded; is there a recursive macro call?"])},Matrix:function(b,c,d,e,k,h,p,m){var u=this.GetNext();""===u&&a.Error(["MissingArgFor","Missing argument for %1",b]);"{"===u?this.i++:(this.string=u+"}"+this.string.slice(this.i+1),this.i=0);b=g.array().With({requireClose:!0,arraydef:{rowspacing:h||"4pt",columnspacing:k||"1em"}});m&&(b.isCases=!0);if(c||d)b.open=c,b.close=d;"D"===p&&(b.arraydef.displaystyle=!0);null!=e&&(b.arraydef.columnalign=e);this.Push(b)},Entry:function(b){this.Push(g.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;b<e;){var k=c.charAt(b);"{"===k?(d++,b++):"}"===k?0===d?e=0:(d--,b++):"\x26"===k&&0===d?a.Error(["ExtraAlignTab","Extra alignment tab in \\cases text"]):"\\"===k?c.substr(b).match(/^((\\cr)[^a-zA-Z]|\\\\)/)?e=0:b+=2:b++}c=c.substr(this.i,b-this.i);c.match(/^\s*\\text[^a-zA-Z]/)||(this.Push.apply(this,this.InternalMath(c)),this.i=b)}},Cr:function(a){this.Push(g.cell().With({isCR:!0,name:a}))},CrLaTeX:function(b){var d;"["===this.string.charAt(this.i)&&(d=this.GetBrackets(b,"").replace(/ /g,""))&&!d.match(/^((-?(\.\d+|\d+(\.\d*)?))(pt|em|ex|mu|mm|cm|in|pc))$/)&&a.Error(["BracketMustBeDimension","Bracket argument to %1 must be a dimension",b]);this.Push(g.cell().With({isCR:!0,name:b,linebreak:!0}));b=this.stack.Top();if(b.isa(g.array)){if(d&&b.arraydef.rowspacing){var e=b.arraydef.rowspacing.split(/ /);b.rowspacing||(b.rowspacing=this.dimen2em(e[0]));for(;e.length<b.table.length;)e.push(this.Em(b.rowspacing));e[b.table.length-1]=this.Em(Math.max(0,b.rowspacing+this.dimen2em(d)));b.arraydef.rowspacing=e.join(" ")}}else d&&this.Push(c.mspace().With({depth:d})),this.Push(c.mo().With({linebreak:c.LINEBREAK.NEWLINE}))},emPerInch:7.2,dimen2em:function(a){var b=a.match(/^(-?(?:\.\d+|\d+(?:\.\d*)?))(pt|em|ex|mu|pc|in|mm|cm)/);a=parseFloat(b[1]||"1");b=b[2];return"em"===b?a:"ex"===b?.43*a:"pt"===b?a/10:"pc"===b?1.2*a:"in"===b?a*this.emPerInch:"cm"===b?a*this.emPerInch/2.54:"mm"===b?a*this.emPerInch/25.4:"mu"===b?a/18:0},Em:function(a){return 6E-4>Math.abs(a)?"0em":a.toFixed(3).replace(/\.?0+$/,"")+"em"},HLine:function(b,c){null==c&&(c="solid");var d=this.stack.Top();d.isa(g.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.length<d.table.length;)e.push("none");e[d.table.length-1]=c;d.arraydef.rowlines=e.join(" ")}},Begin:function(b){var c=this.GetArgument(b);c.match(/[^a-z*]/i)&&a.Error(["InvalidEnv","Invalid environment name '%1'",c]);(b=this.envFindName(c))||a.Error(["UnknownEnv","Unknown environment '%1'",c]);++this.macroCount>a.config.MAXMACROS&&a.Error(["MaxMacroSub2","MathJax maximum substitution count exceeded; is there a recursive latex environment?"]);b instanceof Array||(b=[b]);c=g.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(g.end().With({name:this.GetArgument(a)}))},envFindName:function(a){return k.environment[a]},Equation:function(a,b){return b},ExtensionEnv:function(a,b){this.Extension(a.name,b,"environment")},Array:function(a,b,c,d,e,k,p,m){d||(d=this.GetArgument("\\begin{"+a.name+"}"));var u=("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=g.array().With({arraydef:{columnalign:d,columnspacing:e||"1em",rowspacing:k||"4pt"}});u.match(/[|:]/)&&(u.charAt(0).match(/[|:]/)&&(d.frame.push("left"),d.frame.dashed=":"===u.charAt(0)),u.charAt(u.length-1).match(/[|:]/)&&d.frame.push("right"),u=u.substr(1,u.length-2),d.arraydef.columnlines=u.split("").join(" ").replace(/[^|: ]/g,"none").replace(/\|/g,"solid").replace(/:/g,"dashed"));b&&(d.open=this.convertDelimiter(b));c&&(d.close=this.convertDelimiter(c));"D"===p&&(d.arraydef.displaystyle=!0);"S"===p&&(d.arraydef.scriptlevel=1);m&&(d.arraydef.useHeight=!1);this.Push(a);return d},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=k.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 d=++this.i,e=1;this.i<this.string.length;)switch(this.string.charAt(this.i++)){case "\\":this.i++;break;case "{":e++;break;case "}":if(0==e&&a.Error(["ExtraClose","Extra close brace"]),0==--e)return this.string.slice(d,this.i-1)}a.Error(["MissingCloseBrace","Missing close brace"])}return this.string.charAt(this.i++)},GetBrackets:function(b,c){if("["!=this.GetNext())return c;for(var d=++this.i,e=0;this.i<this.string.length;)switch(this.string.charAt(this.i++)){case "{":e++;break;case "\\":this.i++;break;case "}":0>=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.i<this.string.length&&(this.i++,"\\"==c&&(c+=this.GetCS(b)),null!=k.delimiter[c]))return this.convertDelimiter(c);a.Error(["MissingOrUnrecognizedDelim","Missing or unrecognized delimiter for %1",b])},GetDimen:function(b){var c;this.nextIsSpace()&&this.i++;if("{"==this.string.charAt(this.i)){if(c=this.GetArgument(b),c.match(/^\s*([-+]?(\.\d+|\d+(\.\d*)?))\s*(pt|em|ex|mu|px|mm|cm|in|pc)\s*$/))return c.replace(/ /g,"")}else if(c=this.string.slice(this.i),c=c.match(/^\s*(([-+]?(\.\d+|\d+(\.\d*)?))\s*(pt|em|ex|mu|px|mm|cm|in|pc)) ?/))return this.i+=c[0].length,c[1].replace(/ /g,"");a.Error(["MissingDimOrUnits","Missing dimension or its units for %1",b])},GetUpTo:function(b,c){for(;this.nextIsSpace();)this.i++;for(var d=this.i,e,k,h=0;this.i<this.string.length;){e=this.i;k=this.string.charAt(this.i++);switch(k){case "\\":k+=this.GetCS();break;case "{":h++;break;case "}":0==h&&a.Error(["ExtraCloseLooking","Extra close brace while looking for %1",c]),h--}if(0==h&&k==c)return this.string.slice(d,e)}a.Error(["TokenNotFoundForCommand","Couldn't find %1 for %2",c,b])},ParseArg:function(b){return a.Parse(this.GetArgument(b),this.stack.env).mml()},ParseUpTo:function(b,c){return a.Parse(this.GetUpTo(b,c),this.stack.env).mml()},InternalMath:function(b,d){var e={displaystyle:!1};null!=d&&(e.scriptlevel=d);this.stack.env.font&&(e.mathvariant=this.stack.env.font);if(!b.match(/\\?\$|\\\(|\\(eq)?ref\s*\{/))return[this.InternalText(b,e)];for(var k=0,g=0,h,p="",m=[];k<b.length;)h=b.charAt(k++),"$"===h?"$"===p?(m.push(c.TeXAtom(a.Parse(b.slice(g,k-1),{}).mml().With(e))),p="",g=k):""===p&&(g<k-1&&m.push(this.InternalText(b.slice(g,k-1),e)),p="$",g=k):"}"===h&&"}"===p?(m.push(c.TeXAtom(a.Parse(b.slice(g,k),{}).mml().With(e))),p="",g=k):"\\"===h&&(""===p&&b.substr(k).match(/^(eq)?ref\s*\{/)?(g<k-1&&m.push(this.InternalText(b.slice(g,k-1),e)),p="}",g=k-1):(h=b.charAt(k++),"("===h&&""===p?(g<k-2&&m.push(this.InternalText(b.slice(g,k-2),e)),p=")",g=k):")"===h&&")"===p?(m.push(c.TeXAtom(a.Parse(b.slice(g,k-2),{}).mml().With(e))),p="",g=k):"$"===h&&""===p&&(k--,b=b.substr(0,k-1)+b.substr(k))));""!==p&&a.Error(["MathNotTerminated","Math not terminated in text box"]);g<b.length&&m.push(this.InternalText(b.slice(g),e));return m},InternalText:function(a,b){a=a.replace(/^\s+/,"\u00a0").replace(/\s+$/,"\u00a0");return c.mtext(c.chars(a)).With(b)},SubstituteArgs:function(b,c){for(var d="",e="",k,h=0;h<c.length;)k=c.charAt(h++),"\\"===k?d+=k+c.charAt(h++):"#"===k?(k=c.charAt(h++),"#"===k?d+=k:((!k.match(/[1-9]/)||k>b.length)&&a.Error(["IllegalMacroParam","Illegal macro parameter reference"]),e=this.AddArgs(this.AddArgs(e,d),b[k-1]),d="")):d+=k;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:m,Parse:p,Definitions:k,Startup:function(){c=MathJax.ElementJax.mml;d.Insert(k,{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)&&(k.macros[b]="string"===typeof a[b]?["Macro",a[b]]:["Macro"].concat(a[b]),k.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 d,e=!1,k=MathJax.HTML.getScript(b),g=null!=b.type.replace(/\n/g," ").match(/(;|\s|\n)mode\s*=\s*display(;|\s|\n|$)/),h={math:k,display:g,script:b};this.prefilterHooks.Execute(h);k=h.math;try{d=a.Parse(k).mml()}catch(p){if(!p.texError)throw p;d=this.formatError(p,k,g,b);e=!0}d=d.inferred?c.apply(MathJax.ElementJax,d.data):c(d);g&&(d.root.display="block");e&&(d.texError=!0);h.math=d;this.postfilterHooks.Execute(h);return h.math},prefilterMath:function(a,b,c){return a},postfilterMath:function(a,b,c){this.combineRelations(a.root);return a},formatError:function(a,b,e,k){a=a.message.replace(/\n.*/,"");d.signal.Post(["TeX Jax - parse error",a,b,e,k]);return c.merror(a)},Error:function(a){a instanceof Array&&(a=e.apply(e,a));throw d.Insert(Error(a),{texError:!0});},Macro:function(a,b,c){k.macros[a]=["Macro"].concat([].slice.call(arguments,1));k.macros[a].isUser=!0},fenced:function(a,b,d){var e=c.mrow();e.open=a;e.close=d;a&&e.Append(c.mo(a).With({fence:!0,stretchy:!0,texClass:c.TEXCLASS.OPEN}));"mrow"===b.type?e.Append.apply(e,b.data):e.Append(b);d&&e.Append(c.mo(d).With({fence:!0,stretchy:!0,texClass:c.TEXCLASS.CLOSE}));return e},combineRelations:function(a){var b,d,e,k;b=0;for(d=a.data.length;b<d;b++)if(a.data[b]){if(a.isa(c.mrow))for(;b+1<d&&(e=a.data[b])&&(k=a.data[b+1])&&e.isa(c.mo)&&k.isa(c.mo)&&e.Get("texClass")===c.TEXCLASS.REL&&k.Get("texClass")===c.TEXCLASS.REL;)e.variantForm!=k.variantForm||e.Get("mathvariant")!=k.Get("mathvariant")||e.style!=k.style||e["class"]!=k["class"]||e.id||k.id?(e.rspace=k.lspace="0pt",b++):(e.Append.apply(e,k.data),a.data.splice(b+1,1),d--);a.data[b].isToken||this.combineRelations(a.data[b])}}});a.prefilterHooks.Add(function(b){b.math=a.prefilterMath(b.math,b.display,b.script)});a.postfilterHooks.Add(function(b){b.math=a.postfilterMath(b.math,b.display,b.script)});a.loadComplete("jax.js")})(MathJax.InputJax.TeX,MathJax.Hub,MathJax.Ajax);MathJax.Extension["TeX/AMSmath"]={version:"2.2",number:0,startNumber:0,labels:{},eqlabels:{},refs:[]};MathJax.Hub.Register.StartupHook("TeX Jax Ready",function(){var a=MathJax.ElementJax.mml,d=MathJax.InputJax.TeX,b=MathJax.Extension["TeX/AMSmath"],c=d.Definitions,e=d.Stack.Item,m=d.config.equationNumbers,g=function(a){for(var b=[],c=0,e=a.length;c<e;c++)b[c]=d.Parse.prototype.Em(a[c]);return b.join(" ")};c.Add({mathchar0mo:{iiiint:["2A0C",{texClass:a.TEXCLASS.OP}]},macros:{mathring:["Accent","2DA"],nobreakspace:"Tilde",negmedspace:["Spacer",a.LENGTH.NEGATIVEMEDIUMMATHSPACE],negthickspace:["Spacer",a.LENGTH.NEGATIVETHICKMATHSPACE],idotsint:["MultiIntegral","\\int\\cdots\\int"],dddot:["Accent","20DB"],ddddot:["Accent","20DC"],sideset:["Macro","\\mathop{\\mathop{\\rlap{\\phantom{#3}}}\\nolimits#1\\!\\mathop{#3}\\nolimits#2}",3],boxed:["Macro","\\fbox{$\\displaystyle{#1}$}",1],tag:"HandleTag",notag:"HandleNoTag",label:"HandleLabel",ref:"HandleRef",eqref:["HandleRef",!0],substack:["Macro","\\begin{subarray}{c}#1\\end{subarray}",1],injlim:["NamedOp","inj\x26thinsp;lim"],projlim:["NamedOp","proj\x26thinsp;lim"],varliminf:["Macro","\\mathop{\\underline{\\mmlToken{mi}{lim}}}"],varlimsup:["Macro","\\mathop{\\overline{\\mmlToken{mi}{lim}}}"],varinjlim:["Macro","\\mathop{\\underrightarrow{\\mmlToken{mi}{lim}\\Rule{-1pt}{0pt}{1pt}}\\Rule{0pt}{0pt}{.45em}}"],varprojlim:["Macro","\\mathop{\\underleftarrow{\\mmlToken{mi}{lim}\\Rule{-1pt}{0pt}{1pt}}\\Rule{0pt}{0pt}{.45em}}"],DeclareMathOperator:"HandleDeclareOp",operatorname:"HandleOperatorName",genfrac:"Genfrac",frac:["Genfrac","","","",""],tfrac:["Genfrac","","","",1],dfrac:["Genfrac","","","",0],binom:["Genfrac","(",")","0em",""],tbinom:["Genfrac","(",")","0em",1],dbinom:["Genfrac","(",")","0em",0],cfrac:"CFrac",shoveleft:["HandleShove",a.ALIGN.LEFT],shoveright:["HandleShove",a.ALIGN.RIGHT],xrightarrow:["xArrow",8594,5,6],xleftarrow:["xArrow",8592,7,3]},environment:{align:["AMSarray",null,!0,!0,"rlrlrlrlrlrl",g([5/18,2,5/18,2,5/18,2,5/18,2,5/18,2,5/18])],"align*":["AMSarray",null,!1,!0,"rlrlrlrlrlrl",g([5/18,2,5/18,2,5/18,2,5/18,2,5/18,2,5/18])],multline:["Multline",null,!0],"multline*":["Multline",null,!1],split:["AMSarray",null,!1,!1,"rl",g([5/18])],gather:["AMSarray",null,!0,!0,"c"],"gather*":["AMSarray",null,!1,!0,"c"],alignat:["AlignAt",null,!0,!0],"alignat*":["AlignAt",null,!1,!0],alignedat:["AlignAt",null,!1,!1],aligned:["AlignedArray",null,null,null,"rlrlrlrlrlrl",g([5/18,2,5/18,2,5/18,2,5/18,2,5/18,2,5/18]),".5em","D"],gathered:["AlignedArray",null,null,null,"c",null,".5em","D"],subarray:["Array",null,null,null,null,g([0,0,0,0]),"0.1em","S",1],smallmatrix:["Array",null,null,null,"c",g([1/3]),".2em","S",1],equation:["EquationBegin","Equation",!0],"equation*":["EquationBegin","EquationStar",!1],eqnarray:["AMSarray",null,!0,!0,"rcl",a.LENGTH.THICKMATHSPACE,".5em"],"eqnarray*":["AMSarray",null,!1,!0,"rcl",a.LENGTH.THICKMATHSPACE,".5em"]},delimiter:{"\\lvert":["2223",{texClass:a.TEXCLASS.OPEN}],"\\rvert":["2223",{texClass:a.TEXCLASS.CLOSE}],"\\lVert":["2225",{texClass:a.TEXCLASS.OPEN}],"\\rVert":["2225",{texClass:a.TEXCLASS.CLOSE}]}},null,!0);d.Parse.Augment({HandleTag:function(b){var c=this.GetStar(),e=this.trimSpaces(this.GetArgument(b)),g=e;c||(e=m.formatTag(e));c=this.stack.global;c.tagID=g;c.notags&&d.Error(["CommandNotAllowedInEnv","%1 not allowed in %2 environment",b,c.notags]);c.tag&&d.Error(["MultipleCommand","Multiple %1",b]);c.tag=a.mtd.apply(a,this.InternalMath(e)).With({id:m.formatID(g)})},HandleNoTag:function(a){this.stack.global.tag&&delete this.stack.global.tag;this.stack.global.notag=!0},HandleLabel:function(a){var c=this.stack.global,e=this.GetArgument(a);""===e||b.refUpdate||(c.label&&d.Error(["MultipleCommand","Multiple %1",a]),c.label=e,(b.labels[e]||b.eqlabels[e])&&d.Error(["MultipleLabel","Label '%1' multiply defined",e]),b.eqlabels[e]="???")},HandleRef:function(c,d){var e=this.GetArgument(c),g=b.labels[e]||b.eqlabels[e];g||(g="??",b.badref=!b.refUpdate);var n=g;d&&(n=m.formatTag(n));m.useLabelIds&&(g=e);this.Push(a.mrow.apply(a,this.InternalMath(n)).With({href:m.formatURL(m.formatID(g)),"class":"MathJax_ref"}))},HandleDeclareOp:function(a){var b=this.GetStar()?"\\limits":"",c=this.trimSpaces(this.GetArgument(a));"\\"==c.charAt(0)&&(c=c.substr(1));a=this.GetArgument(a);a=a.replace(/\*/g,"\\text{*}").replace(/-/g,"\\text{-}");d.Definitions.macros[c]=["Macro","\\mathop{\\rm "+a+"}"+b]},HandleOperatorName:function(a){var b=this.GetStar()?"\\limits":"\\nolimits";a=this.trimSpaces(this.GetArgument(a));a=a.replace(/\*/g,"\\text{*}").replace(/-/g,"\\text{-}");this.string="\\mathop{\\rm "+a+"}"+b+" "+this.string.slice(this.i);this.i=0},HandleShove:function(a,b){var c=this.stack.Top();("multline"!==c.type||c.data.length)&&d.Error(["CommandAtTheBeginingOfLine","%1 must come at the beginning of the line",a]);c.data.shove=b},CFrac:function(b){var c=this.trimSpaces(this.GetBrackets(b,"")),e=this.GetArgument(b),g=this.GetArgument(b),e=a.mfrac(d.Parse("\\strut\\textstyle{"+e+"}",this.stack.env).mml(),d.Parse("\\strut\\textstyle{"+g+"}",this.stack.env).mml()),c={l:a.ALIGN.LEFT,r:a.ALIGN.RIGHT,"":""}[c];null==c&&d.Error(["IllegalAlign","Illegal alignment specified in %1",b]);c&&(e.numalign=e.denomalign=c);this.Push(e)},Genfrac:function(b,c,e,g,m){c=null==c?this.GetDelimiterArg(b):this.convertDelimiter(c);e=null==e?this.GetDelimiterArg(b):this.convertDelimiter(e);null==g&&(g=this.GetArgument(b));null==m&&(m=this.trimSpaces(this.GetArgument(b)));var t=this.ParseArg(b),r=this.ParseArg(b),t=a.mfrac(t,r);""!==g&&(t.linethickness=g);if(c||e)t=d.fenced(c,t,e);""!==m&&(c=["D","T","S","SS"][m],null==c&&d.Error(["BadMathStyleFor","Bad math style for %1",b]),t=a.mstyle(t),"D"===c?(t.displaystyle=!0,t.scriptlevel=0):(t.displaystyle=!1,t.scriptlevel=m-1));this.Push(t)},Multline:function(a,b){this.Push(a);this.checkEqnEnv();return e.multline(b,this.stack).With({arraydef:{displaystyle:!0,rowspacing:".5em",width:d.config.MultLineWidth,columnwidth:"100%",side:d.config.TagSide,minlabelspacing:d.config.TagIndent}})},AMSarray:function(a,b,c,g,m){this.Push(a);c&&this.checkEqnEnv();g=g.replace(/[^clr]/g,"").split("").join(" ");g=g.replace(/l/g,"left").replace(/r/g,"right").replace(/c/g,"center");return e.AMSarray(a.name,b,c,this.stack).With({arraydef:{displaystyle:!0,rowspacing:".5em",columnalign:g,columnspacing:m||"1em",rowspacing:"3pt",side:d.config.TagSide,minlabelspacing:d.config.TagIndent}})},AlignAt:function(a,b,c){var e,g,m="",r=[];c||(g=this.GetBrackets("\\begin{"+a.name+"}"));e=this.GetArgument("\\begin{"+a.name+"}");for(e.match(/[^0-9]/)&&d.Error(["PositiveIntegerArg","Argument to %1 must me a positive integer","\\begin{"+a.name+"}"]);0<e;)m+="rl",r.push("0em 0em"),e--;r=r.join(" ");if(c)return this.AMSarray(a,b,c,m,r);a=this.Array.call(this,a,null,null,m,r,".5em","D");return this.setArrayAlign(a,g)},EquationBegin:function(a,b){this.checkEqnEnv();this.stack.global.forcetag=b&&"none"!==m.autoNumber;return a},EquationStar:function(a,b){this.stack.global.tagged=!0;return b},checkEqnEnv:function(){this.stack.global.eqnenv&&d.Error(["ErroneousNestingEq","Erroneous nesting of equation structures"]);this.stack.global.eqnenv=!0},MultiIntegral:function(a,b){var c=this.GetNext();if("\\"===c){var d=this.i,c=this.GetArgument(a);this.i=d;"\\limits"===c&&(b="\\idotsint"===a?"\\!\\!\\mathop{\\,\\,"+b+"}":"\\!\\!\\!\\mathop{\\,\\,\\,"+b+"}")}this.string=b+" "+this.string.slice(this.i);this.i=0},xArrow:function(b,c,e,g){e={width:"+"+(e+g)+"mu",lspace:e+"mu"};g=this.GetBrackets(b);b=this.ParseArg(b);c=a.mo(a.chars(String.fromCharCode(c))).With({stretchy:!0,texClass:a.TEXCLASS.REL});c=a.munderover(c);c.SetData(c.over,a.mpadded(b).With(e).With({voffset:".15em"}));g&&(g=d.Parse(g,this.stack.env).mml(),c.SetData(c.under,a.mpadded(g).With(e).With({voffset:"-.24em"})));this.Push(c)},GetDelimiterArg:function(a){var b=this.trimSpaces(this.GetArgument(a));if(""==b)return null;null==c.delimiter[b]&&d.Error(["MissingOrUnrecognizedDelim","Missing or unrecognized delimiter for %1",a]);return this.convertDelimiter(b)},GetStar:function(){var a="*"===this.GetNext();a&&this.i++;return a}});e.Augment({autoTag:function(){var c=this.global;if(!c.notag){b.number++;c.tagID=m.formatNumber(b.number.toString());var e=d.Parse("\\text{"+m.formatTag(c.tagID)+"}",{}).mml();c.tag=a.mtd(e.With({id:m.formatID(c.tagID)}))}},getTag:function(){var a=this.global,c=a.tag;a.tagged=!0;a.label&&(b.eqlabels[a.label]=a.tagID,m.useLabelIds&&(c.id=m.formatID(a.label)));delete a.tag;delete a.tagID;delete a.label;return c}});e.multline=e.array.Subclass({type:"multline",Init:function(a,b){this.SUPER(arguments).Init.apply(this);this.numbered=a&&"none"!==m.autoNumber;this.save={notag:b.global.notag};b.global.tagged=!a&&!b.global.forcetag},EndEntry:function(){var b=a.mtd.apply(a,this.data);this.data.shove&&(b.columnalign=this.data.shove);this.row.push(b);this.data=[]},EndRow:function(){1!=this.row.length&&d.Error(["MultlineRowsOneCol","The rows within the %1 environment must have exactly one column","multline"]);this.table.push(this.row);this.row=[]},EndTable:function(){this.SUPER(arguments).EndTable.call(this);if(this.table.length){var b=this.table.length-1,c,d=-1;this.table[0][0].columnalign||(this.table[0][0].columnalign=a.ALIGN.LEFT);this.table[b][0].columnalign||(this.table[b][0].columnalign=a.ALIGN.RIGHT);!this.global.tag&&this.numbered&&this.autoTag();this.global.tag&&!this.global.notags&&(d="left"===this.arraydef.side?0:this.table.length-1,this.table[d]=[this.getTag()].concat(this.table[d]));c=0;for(b=this.table.length;c<b;c++)this.table[c]=(c===d?a.mlabeledtr:a.mtr).apply(a,this.table[c])}this.global.notag=this.save.notag}});e.AMSarray=e.array.Subclass({type:"AMSarray",Init:function(a,b,c,d){this.SUPER(arguments).Init.apply(this);this.numbered=b&&"none"!==m.autoNumber;this.save={notags:d.global.notags,notag:d.global.notag};d.global.notags=c?null:a;d.global.tagged=!b&&!d.global.forcetag},EndRow:function(){var b=a.mtr;!this.global.tag&&this.numbered&&this.autoTag();this.global.tag&&!this.global.notags&&(this.row=[this.getTag()].concat(this.row),b=a.mlabeledtr);this.numbered&&delete this.global.notag;this.table.push(b.apply(a,this.row));this.row=[]},EndTable:function(){this.SUPER(arguments).EndTable.call(this);this.global.notags=this.save.notags;this.global.notag=this.save.notag}});e.start.Augment({oldCheckItem:e.start.prototype.checkItem,checkItem:function(c){if("stop"===c.type){c=this.mmlData();var g=this.global;!b.display||g.tag||g.tagged||g.isInner||"all"!==m.autoNumber&&!g.forcetag||this.autoTag();if(g.tag){var g=[this.getTag(),a.mtd(c)],f={side:d.config.TagSide,minlabelspacing:d.config.TagIndent,columnalign:c.displayAlign};c.displayAlign===a.INDENTALIGN.LEFT?(f.width="100%",c.displayIndent&&!String(c.displayIndent).match(/^0+(\.0*)?($|[a-z%])/)&&(f.columnwidth=c.displayIndent+" fit",f.columnspacing="0",g=[g[0],a.mtd(),g[1]])):c.displayAlign===a.INDENTALIGN.RIGHT&&(f.width="100%",c.displayIndent&&!String(c.displayIndent).match(/^0+(\.0*)?($|[a-z%])/)&&(f.columnwidth="fit "+c.displayIndent,f.columnspacing="0",g[2]=a.mtd()));c=a.mtable(a.mlabeledtr.apply(a,g)).With(f)}return e.mml(c)}return this.oldCheckItem.call(this,c)}});d.prefilterHooks.Add(function(a){b.display=a.display;b.number=b.startNumber;b.eqlabels={};b.badref=!1;b.refUpdate&&(b.number=a.script.MathJax.startNumber)});d.postfilterHooks.Add(function(a){a.script.MathJax.startNumber=b.startNumber;b.startNumber=b.number;MathJax.Hub.Insert(b.labels,b.eqlabels);b.badref&&!a.math.texError&&b.refs.push(a.script)});MathJax.Hub.Register.MessageHook("Begin Math Input",function(){b.refs=[];b.refUpdate=!1});MathJax.Hub.Register.MessageHook("End Math Input",function(a){if(b.refs.length){b.refUpdate=!0;a=0;for(var c=b.refs.length;a<c;a++)b.refs[a].MathJax.state=MathJax.ElementJax.STATE.UPDATE;return MathJax.Hub.processInput({scripts:b.refs,start:(new Date).getTime(),i:0,j:0,jax:{},jaxIDs:[]})}return null});d.resetEquationNumbers=function(a,c){b.startNumber=a||0;c||(b.labels={})};MathJax.Hub.Startup.signal.Post("TeX AMSmath Ready")});MathJax.Ajax.loadComplete("[MathJax]/extensions/TeX/AMSmath.js");MathJax.Extension["TeX/AMSsymbols"]={version:"2.2"};MathJax.Hub.Register.StartupHook("TeX Jax Ready",function(){var a=MathJax.ElementJax.mml;MathJax.InputJax.TeX.Definitions.Add({mathchar0mi:{digamma:"03DD",varkappa:"03F0",varGamma:["0393",{mathvariant:a.VARIANT.ITALIC}],varDelta:["0394",{mathvariant:a.VARIANT.ITALIC}],varTheta:["0398",{mathvariant:a.VARIANT.ITALIC}],varLambda:["039B",{mathvariant:a.VARIANT.ITALIC}],varXi:["039E",{mathvariant:a.VARIANT.ITALIC}],varPi:["03A0",{mathvariant:a.VARIANT.ITALIC}],varSigma:["03A3",{mathvariant:a.VARIANT.ITALIC}],varUpsilon:["03A5",{mathvariant:a.VARIANT.ITALIC}],varPhi:["03A6",{mathvariant:a.VARIANT.ITALIC}],varPsi:["03A8",{mathvariant:a.VARIANT.ITALIC}],varOmega:["03A9",{mathvariant:a.VARIANT.ITALIC}],beth:"2136",gimel:"2137",daleth:"2138",backprime:["2035",{variantForm:!0}],hslash:"210F",varnothing:["2205",{variantForm:!0}],blacktriangle:"25B4",triangledown:["25BD",{variantForm:!0}],blacktriangledown:"25BE",square:"25FB",Box:"25FB",blacksquare:"25FC",lozenge:"25CA",Diamond:"25CA",blacklozenge:"29EB",circledS:["24C8",{mathvariant:a.VARIANT.NORMAL}],bigstar:"2605",sphericalangle:"2222",measuredangle:"2221",nexists:"2204",complement:"2201",mho:"2127",eth:["00F0",{mathvariant:a.VARIANT.NORMAL}],Finv:"2132",diagup:"2571",Game:"2141",diagdown:"2572",Bbbk:["006B",{mathvariant:a.VARIANT.DOUBLESTRUCK}],yen:"00A5",circledR:"00AE",checkmark:"2713",maltese:"2720"},mathchar0mo:{dotplus:"2214",ltimes:"22C9",smallsetminus:"2216",rtimes:"22CA",Cap:"22D2",doublecap:"22D2",leftthreetimes:"22CB",Cup:"22D3",doublecup:"22D3",rightthreetimes:"22CC",barwedge:"22BC",curlywedge:"22CF",veebar:"22BB",curlyvee:"22CE",doublebarwedge:"2A5E",boxminus:"229F",circleddash:"229D",boxtimes:"22A0",circledast:"229B",boxdot:"22A1",circledcirc:"229A",boxplus:"229E",centerdot:"22C5",divideontimes:"22C7",intercal:"22BA",leqq:"2266",geqq:"2267",leqslant:"2A7D",geqslant:"2A7E",eqslantless:"2A95",eqslantgtr:"2A96",lesssim:"2272",gtrsim:"2273",lessapprox:"2A85",gtrapprox:"2A86",approxeq:"224A",lessdot:"22D6",gtrdot:"22D7",lll:"22D8",llless:"22D8",ggg:"22D9",gggtr:"22D9",lessgtr:"2276",gtrless:"2277",lesseqgtr:"22DA",gtreqless:"22DB",lesseqqgtr:"2A8B",gtreqqless:"2A8C",doteqdot:"2251",Doteq:"2251",eqcirc:"2256",risingdotseq:"2253",circeq:"2257",fallingdotseq:"2252",triangleq:"225C",backsim:"223D",thicksim:["223C",{variantForm:!0}],backsimeq:"22CD",thickapprox:["2248",{variantForm:!0}],subseteqq:"2AC5",supseteqq:"2AC6",Subset:"22D0",Supset:"22D1",sqsubset:"228F",sqsupset:"2290",preccurlyeq:"227C",succcurlyeq:"227D",curlyeqprec:"22DE",curlyeqsucc:"22DF",precsim:"227E",succsim:"227F",precapprox:"2AB7",succapprox:"2AB8",vartriangleleft:"22B2",lhd:"22B2",vartriangleright:"22B3",rhd:"22B3",trianglelefteq:"22B4",unlhd:"22B4",trianglerighteq:"22B5",unrhd:"22B5",vDash:"22A8",Vdash:"22A9",Vvdash:"22AA",smallsmile:["2323",{variantForm:!0}],shortmid:["2223",{variantForm:!0}],smallfrown:["2322",{variantForm:!0}],shortparallel:["2225",{variantForm:!0}],bumpeq:"224F",between:"226C",Bumpeq:"224E",pitchfork:"22D4",varpropto:"221D",backepsilon:"220D",blacktriangleleft:"25C2",blacktriangleright:"25B8",therefore:"2234",because:"2235",eqsim:"2242",vartriangle:["25B3",{variantForm:!0}],Join:"22C8",nless:"226E",ngtr:"226F",nleq:"2270",ngeq:"2271",nleqslant:["2A87",{variantForm:!0}],ngeqslant:["2A88",{variantForm:!0}],nleqq:["2270",{variantForm:!0}],ngeqq:["2271",{variantForm:!0}],lneq:"2A87",gneq:"2A88",lneqq:"2268",gneqq:"2269",lvertneqq:["2268",{variantForm:!0}],gvertneqq:["2269",{variantForm:!0}],lnsim:"22E6",gnsim:"22E7",lnapprox:"2A89",gnapprox:"2A8A",nprec:"2280",nsucc:"2281",npreceq:["22E0",{variantForm:!0}],nsucceq:["22E1",{variantForm:!0}],precneqq:"2AB5",succneqq:"2AB6",precnsim:"22E8",succnsim:"22E9",precnapprox:"2AB9",succnapprox:"2ABA",nsim:"2241",ncong:"2246",nshortmid:["2224",{variantForm:!0}],nshortparallel:["2226",{variantForm:!0}],nmid:"2224",nparallel:"2226",nvdash:"22AC",nvDash:"22AD",nVdash:"22AE",nVDash:"22AF",ntriangleleft:"22EA",ntriangleright:"22EB",ntrianglelefteq:"22EC",ntrianglerighteq:"22ED",nsubseteq:"2288",nsupseteq:"2289",nsubseteqq:["2288",{variantForm:!0}],nsupseteqq:["2289",{variantForm:!0}],subsetneq:"228A",supsetneq:"228B",varsubsetneq:["228A",{variantForm:!0}],varsupsetneq:["228B",{variantForm:!0}],subsetneqq:"2ACB",supsetneqq:"2ACC",varsubsetneqq:["2ACB",{variantForm:!0}],varsupsetneqq:["2ACC",{variantForm:!0}],leftleftarrows:"21C7",rightrightarrows:"21C9",leftrightarrows:"21C6",rightleftarrows:"21C4",Lleftarrow:"21DA",Rrightarrow:"21DB",twoheadleftarrow:"219E",twoheadrightarrow:"21A0",leftarrowtail:"21A2",rightarrowtail:"21A3",looparrowleft:"21AB",looparrowright:"21AC",leftrightharpoons:"21CB",rightleftharpoons:["21CC",{variantForm:!0}],curvearrowleft:"21B6",curvearrowright:"21B7",circlearrowleft:"21BA",circlearrowright:"21BB",Lsh:"21B0",Rsh:"21B1",upuparrows:"21C8",downdownarrows:"21CA",upharpoonleft:"21BF",upharpoonright:"21BE",downharpoonleft:"21C3",restriction:"21BE",multimap:"22B8",downharpoonright:"21C2",leftrightsquigarrow:"21AD",rightsquigarrow:"21DD",leadsto:"21DD",dashrightarrow:"21E2",dashleftarrow:"21E0",nleftarrow:"219A",nrightarrow:"219B",nLeftarrow:"21CD",nRightarrow:"21CF",nleftrightarrow:"21AE",nLeftrightarrow:"21CE"},delimiter:{"\\ulcorner":"231C","\\urcorner":"231D","\\llcorner":"231E","\\lrcorner":"231F"},macros:{implies:["Macro","\\;\\Longrightarrow\\;"],impliedby:["Macro","\\;\\Longleftarrow\\;"]}},null,!0);var d=a.mo.OPTYPES.REL;MathJax.Hub.Insert(a.mo.prototype,{OPTABLE:{infix:{"\u2322":d,"\u2323":d,"\u25b3":d,"\ue006":d,"\ue007":d,"\ue00c":d,"\ue00d":d,"\ue00e":d,"\ue00f":d,"\ue010":d,"\ue011":d,"\ue016":d,"\ue017":d,"\ue018":d,"\ue019":d,"\ue01a":d,"\ue01b":d,"\ue04b":d,"\ue04f":d}}});MathJax.Hub.Startup.signal.Post("TeX AMSsymbols Ready")});MathJax.Ajax.loadComplete("[MathJax]/extensions/TeX/AMSsymbols.js");(function(a,d){var b,c=function(a){return MathJax.Localization._.apply(MathJax.Localization,[["MathML",a]].concat([].slice.call(arguments,1)))};a.Parse=MathJax.Object.Subclass({Init:function(a){this.Parse(a)},Parse:function(b){"string"!==typeof b?b=b.parentNode:(b=a.ParseXML(this.preProcessMath.call(this,b)),null==b&&a.Error(["ErrorParsingMathML","Error parsing MathML"]));var c=b.getElementsByTagName("parsererror")[0];c&&a.Error(["ParsingError","Error parsing MathML: %1",c.textContent.replace(/This page.*?errors:|XML Parsing Error: |Below is a rendering of the page.*/g,"")]);1!==b.childNodes.length&&a.Error(["MathMLSingleElement","MathML must be formed by a single element"]);"html"===b.firstChild.nodeName.toLowerCase()&&(c=b.getElementsByTagName("h1")[0])&&"XML parsing error"===c.textContent&&c.nextSibling&&a.Error(["ParsingError","Error parsing MathML: %1",String(c.nextSibling.nodeValue).replace(/fatal parsing error: /,"")]);"math"!==b.firstChild.nodeName.toLowerCase().replace(/^[a-z]+:/,"")&&a.Error(["MathMLRootElement","MathML must be formed by a \x3cmath\x3e element, not %1","\x3c"+b.firstChild.nodeName+"\x3e"]);this.mml=this.MakeMML(b.firstChild)},MakeMML:function(d){var m=String(d.getAttribute("class")||""),g;g=d.nodeName.toLowerCase().replace(/^[a-z]+:/,"");if(m=m.match(/(^| )MJX-TeXAtom-([^ ]*)/))g=this.TeXAtom(m[2]);else if(b[g]&&b[g].isa&&b[g].isa(b.mbase))g=b[g]();else return MathJax.Hub.signal.Post(["MathML Jax - unknown node type",g]),b.merror(c("UnknownNodeType","Unknown node type: %1",g));this.AddAttributes(g,d);this.CheckClass(g,g["class"]);this.AddChildren(g,d);a.config.useMathMLspacing&&(g.useMMLspacing=8);return g},TeXAtom:function(a){a=b.TeXAtom().With({texClass:b.TEXCLASS[a]});a.texClass===b.TEXCLASS.OP&&(a.movesupsub=a.movablelimits=!0);return a},CheckClass:function(a,b){b=(b||"").split(/ /);for(var c=[],d=0,p=b.length;d<p;d++)"MJX-"===b[d].substr(0,4)?"MJX-arrow"===b[d]?a.arrow=!0:"MJX-variant"===b[d]?(a.variantForm=!0,MathJax.Extension["TeX/AMSsymbols"]||MathJax.Hub.RestartAfter(MathJax.Ajax.Require("[MathJax]/extensions/TeX/AMSsymbols.js"))):"MJX-TeXAtom"!==b[d].substr(0,11)&&(a.mathvariant=b[d].substr(3),"-tex-caligraphic-bold"===a.mathvariant||"-tex-oldstyle-bold"===a.mathvariant)&&(MathJax.Extension["TeX/boldsymbol"]||MathJax.Hub.RestartAfter(MathJax.Ajax.Require("[MathJax]/extensions/TeX/boldsymbol.js"))):c.push(b[d]);c.length?a["class"]=c.join(" "):delete a["class"]},AddAttributes:function(a,c){a.attr={};a.attrNames=[];for(var d=0,k=c.attributes.length;d<k;d++){var p=c.attributes[d].name;"xlink:href"==p&&(p="href");if(!p.match(/:/)&&!p.match(/^_moz-math-((column|row)(align|line)|font-style)$/)){var f=c.attributes[d].value,f=this.filterAttribute(p,f);null!=f&&("true"===f.toLowerCase()?f=!0:"false"===f.toLowerCase()&&(f=!1),null!=a.defaults[p]||b.copyAttributes[p]?a[p]=f:a.attr[p]=f,a.attrNames.push(p))}}},filterAttribute:function(a,b){return b},AddChildren:function(c,d){for(var g=0,k=d.childNodes.length;g<k;g++){var p=d.childNodes[g];"#comment"!==p.nodeName&&("#text"===p.nodeName?c.isToken&&!c.mmlSelfClosing?(p=p.nodeValue.replace(/&([a-z][a-z0-9]*);/ig,this.replaceEntity),c.Append(b.chars(this.trimSpace(p)))):p.nodeValue.match(/\S/)&&a.Error(["UnexpectedTextNode","Unexpected text node: %1","'"+p.nodeValue+"'"]):"annotation-xml"===c.type?c.Append(b.xml(p)):(p=this.MakeMML(p),c.Append(p),p.mmlSelfClosing&&p.data.length&&(c.Append.apply(c,p.data),p.data=[])))}"mrow"===c.type&&2<=c.data.length&&(g=c.data[0],k=c.data[c.data.length-1],"mo"===g.type&&g.Get("fence")&&"mo"===k.type&&k.Get("fence")&&(g.data[0]&&(c.open=g.data.join("")),k.data[0]&&(c.close=k.data.join(""))))},preProcessMath:function(a){a.match(/^<[a-z]+:/i)&&!a.match(/^<[^<>]* xmlns:/)&&(a=a.replace(/^<([a-z]+)(:math)/i,'\x3c$1$2 xmlns:$1\x3d"http://www.w3.org/1998/Math/MathML"'));var b=a.match(/^(<math( ('.*?'|".*?"|[^>])+)>)/i);b&&b[2].match(/ (?!xmlns=)[a-z]+=\"http:/i)&&(a=b[1].replace(/ (?!xmlns=)([a-z]+=(['"])http:.*?\2)/ig," xmlns:$1 $1")+a.substr(b[0].length));a.match(/^<math/i)&&!a.match(/^<[^<>]* xmlns=/)&&(a=a.replace(/^<(math)/i,'\x3cmath xmlns\x3d"http://www.w3.org/1998/Math/MathML"'));a=a.replace(/^\s*(?:\/\/)?<!(--)?\[CDATA\[((.|\n)*)(\/\/)?\]\]\1>\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(b,c){if(c.match(/^(lt|amp|quot)$/))return b;if(a.Parse.Entity[c])return a.Parse.Entity[c];var d=c.charAt(0).toLowerCase(),k=c.match(/^[a-zA-Z](fr|scr|opf)$/);k&&(d=k[1]);a.Parse.loaded[d]||(a.Parse.loaded[d]=!0,MathJax.Hub.RestartAfter(MathJax.Ajax.Require(a.entityDir+"/"+d+".js")));return b}},{loaded:[]});a.Augment({sourceMenuTitle:["OriginalMathML","Original MathML"],prefilterHooks:MathJax.Callback.Hooks(!0),postfilterHooks:MathJax.Callback.Hooks(!0),Translate:function(c){this.ParseXML||(this.ParseXML=this.createParser());var m,g,k={script:c};c.firstChild&&"math"===c.firstChild.nodeName.toLowerCase().replace(/^[a-z]+:/,"")?k.math=c.firstChild:(g=MathJax.HTML.getScript(c),d.isMSIE&&(g=g.replace(/( )+$/,"")),k.math=g);this.prefilterHooks.Execute(k);g=k.math;try{m=a.Parse(g).mml}catch(p){if(!p.mathmlError)throw p;m=this.formatError(p,g,c)}k.math=b(m);this.postfilterHooks.Execute(k);return k.math},prefilterMath:function(a,b){return a},prefilterMathML:function(a,b){return a},formatError:function(a,c,d){a=a.message.replace(/\n.*/,"");MathJax.Hub.signal.Post(["MathML Jax - parse error",a,c,d]);return b.merror(a)},Error:function(a){a instanceof Array&&(a=c.apply(c,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,b="MSXML2.DOMDocument.6.0 MSXML2.DOMDocument.5.0 MSXML2.DOMDocument.4.0 MSXML2.DOMDocument.3.0 MSXML2.DOMDocument.2.0 Microsoft.XMLDOM".split(" "),c=0,d=b.length;c<d&&!a;c++)try{a=new ActiveXObject(b[c])}catch(p){}return a},createParser:function(){if(window.DOMParser)return this.parser=new DOMParser,this.parseDOM;if(window.ActiveXObject){this.parser=this.createMSParser();if(!this.parser)return MathJax.Localization.Try(this.parserCreationError),this.parseError;this.parser.async=!1;return this.parseMS}this.div=MathJax.Hub.Insert(document.createElement("div"),{style:{visibility:"hidden",overflow:"hidden",height:"1px",position:"absolute",top:0}});document.body.firstChild?document.body.insertBefore(this.div,document.body.firstChild):document.body.appendChild(this.div);return this.parseDIV},parserCreationError:function(){alert(c("CantCreateXMLParser","MathJax can't create an XML parser for MathML. Check that\nthe 'Script ActiveX controls marked safe for scripting' security\nsetting is enabled (use the Internet Options item in the Tools\nmenu, and select the Security panel, then press the Custom Level\nbutton to check this).\n\nMathML equations will not be able to be processed by MathJax."))},Startup:function(){b=MathJax.ElementJax.mml;b.mspace.Augment({mmlSelfClosing:!0});b.none.Augment({mmlSelfClosing:!0});b.mprescripts.Augment({mmlSelfClosing:!0})}});a.prefilterHooks.Add(function(b){b.math="string"===typeof b.math?a.prefilterMath(b.math,b.script):a.prefilterMathML(b.math,b.script)});a.Parse.Entity={ApplyFunction:"\u2061",Backslash:"\u2216",Because:"\u2235",Breve:"\u02d8",Cap:"\u22d2",CenterDot:"\u00b7",CircleDot:"\u2299",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",Congruent:"\u2261",ContourIntegral:"\u222e",Coproduct:"\u2210",Cross:"\u2a2f",Cup:"\u22d3",CupCap:"\u224d",Dagger:"\u2021",Del:"\u2207",Delta:"\u0394",Diamond:"\u22c4",DifferentialD:"\u2146",DotEqual:"\u2250",DoubleDot:"\u00a8",DoubleRightTee:"\u22a8",DoubleVerticalBar:"\u2225",DownArrow:"\u2193",DownLeftVector:"\u21bd",DownRightVector:"\u21c1",DownTee:"\u22a4",Downarrow:"\u21d3",Element:"\u2208",EqualTilde:"\u2242",Equilibrium:"\u21cc",Exists:"\u2203",ExponentialE:"\u2147",FilledVerySmallSquare:"\u25aa",ForAll:"\u2200",Gamma:"\u0393",Gg:"\u22d9",GreaterEqual:"\u2265",GreaterEqualLess:"\u22db",GreaterFullEqual:"\u2267",GreaterLess:"\u2277",GreaterSlantEqual:"\u2a7e",GreaterTilde:"\u2273",Hacek:"\u02c7",Hat:"^",HumpDownHump:"\u224e",HumpEqual:"\u224f",Im:"\u2111",ImaginaryI:"\u2148",Integral:"\u222b",Intersection:"\u22c2",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",Lambda:"\u039b",Larr:"\u219e",LeftAngleBracket:"\u27e8",LeftArrow:"\u2190",LeftArrowRightArrow:"\u21c6",LeftCeiling:"\u2308",LeftDownVector:"\u21c3",LeftFloor:"\u230a",LeftRightArrow:"\u2194",LeftTee:"\u22a3",LeftTriangle:"\u22b2",LeftTriangleEqual:"\u22b4",LeftUpVector:"\u21bf",LeftVector:"\u21bc",Leftarrow:"\u21d0",Leftrightarrow:"\u21d4",LessEqualGreater:"\u22da",LessFullEqual:"\u2266",LessGreater:"\u2276",LessSlantEqual:"\u2a7d",LessTilde:"\u2272",Ll:"\u22d8",Lleftarrow:"\u21da",LongLeftArrow:"\u27f5",LongLeftRightArrow:"\u27f7",LongRightArrow:"\u27f6",Longleftarrow:"\u27f8",Longleftrightarrow:"\u27fa",Longrightarrow:"\u27f9",Lsh:"\u21b0",MinusPlus:"\u2213",NestedGreaterGreater:"\u226b",NestedLessLess:"\u226a",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotExists:"\u2204",NotGreater:"\u226f",NotGreaterEqual:"\u2271",NotLeftTriangle:"\u22ea",NotLeftTriangleEqual:"\u22ec",NotLess:"\u226e",NotLessEqual:"\u2270",NotPrecedes:"\u2280",NotPrecedesSlantEqual:"\u22e0",NotRightTriangle:"\u22eb",NotRightTriangleEqual:"\u22ed",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsSlantEqual:"\u22e1",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotVerticalBar:"\u2224",Omega:"\u03a9",OverBar:"\u203e",OverBrace:"\u23de",PartialD:"\u2202",Phi:"\u03a6",Pi:"\u03a0",PlusMinus:"\u00b1",Precedes:"\u227a",PrecedesEqual:"\u2aaf",PrecedesSlantEqual:"\u227c",PrecedesTilde:"\u227e",Product:"\u220f",Proportional:"\u221d",Psi:"\u03a8",Rarr:"\u21a0",Re:"\u211c",ReverseEquilibrium:"\u21cb",RightAngleBracket:"\u27e9",RightArrow:"\u2192",RightArrowLeftArrow:"\u21c4",RightCeiling:"\u2309",RightDownVector:"\u21c2",RightFloor:"\u230b",RightTee:"\u22a2",RightTeeArrow:"\u21a6",RightTriangle:"\u22b3",RightTriangleEqual:"\u22b5",RightUpVector:"\u21be",RightVector:"\u21c0",Rightarrow:"\u21d2",Rrightarrow:"\u21db",Rsh:"\u21b1",Sigma:"\u03a3",SmallCircle:"\u2218",Sqrt:"\u221a",Square:"\u25a1",SquareIntersection:"\u2293",SquareSubset:"\u228f",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",Star:"\u22c6",Subset:"\u22d0",SubsetEqual:"\u2286",Succeeds:"\u227b",SucceedsEqual:"\u2ab0",SucceedsSlantEqual:"\u227d",SucceedsTilde:"\u227f",SuchThat:"\u220b",Sum:"\u2211",Superset:"\u2283",SupersetEqual:"\u2287",Supset:"\u22d1",Therefore:"\u2234",Theta:"\u0398",Tilde:"\u223c",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",UnderBar:"_",UnderBrace:"\u23df",Union:"\u22c3",UnionPlus:"\u228e",UpArrow:"\u2191",UpDownArrow:"\u2195",UpTee:"\u22a5",Uparrow:"\u21d1",Updownarrow:"\u21d5",Upsilon:"\u03a5",Vdash:"\u22a9",Vee:"\u22c1",VerticalBar:"\u2223",VerticalTilde:"\u2240",Vvdash:"\u22aa",Wedge:"\u22c0",Xi:"\u039e",acute:"\u00b4",aleph:"\u2135",alpha:"\u03b1",amalg:"\u2a3f",and:"\u2227",ang:"\u2220",angmsd:"\u2221",angsph:"\u2222",ape:"\u224a",backprime:"\u2035",backsim:"\u223d",backsimeq:"\u22cd",beta:"\u03b2",beth:"\u2136",between:"\u226c",bigcirc:"\u25ef",bigodot:"\u2a00",bigoplus:"\u2a01",bigotimes:"\u2a02",bigsqcup:"\u2a06",bigstar:"\u2605",bigtriangledown:"\u25bd",bigtriangleup:"\u25b3",biguplus:"\u2a04",blacklozenge:"\u29eb",blacktriangle:"\u25b4",blacktriangledown:"\u25be",blacktriangleleft:"\u25c2",bowtie:"\u22c8",boxdl:"\u2510",boxdr:"\u250c",boxminus:"\u229f",boxplus:"\u229e",boxtimes:"\u22a0",boxul:"\u2518",boxur:"\u2514",bsol:"\\",bull:"\u2022",cap:"\u2229",check:"\u2713",chi:"\u03c7",circ:"\u02c6",circeq:"\u2257",circlearrowleft:"\u21ba",circlearrowright:"\u21bb",circledR:"\u00ae",circledS:"\u24c8",circledast:"\u229b",circledcirc:"\u229a",circleddash:"\u229d",clubs:"\u2663",colon:":",comp:"\u2201",ctdot:"\u22ef",cuepr:"\u22de",cuesc:"\u22df",cularr:"\u21b6",cup:"\u222a",curarr:"\u21b7",curlyvee:"\u22ce",curlywedge:"\u22cf",dagger:"\u2020",daleth:"\u2138",ddarr:"\u21ca",deg:"\u00b0",delta:"\u03b4",digamma:"\u03dd",div:"\u00f7",divideontimes:"\u22c7",dot:"\u02d9",doteqdot:"\u2251",dotplus:"\u2214",dotsquare:"\u22a1",dtdot:"\u22f1",ecir:"\u2256",efDot:"\u2252",egs:"\u2a96",ell:"\u2113",els:"\u2a95",empty:"\u2205",epsi:"\u03b5",epsiv:"\u03f5",erDot:"\u2253",eta:"\u03b7",eth:"\u00f0",flat:"\u266d",fork:"\u22d4",frown:"\u2322",gEl:"\u2a8c",gamma:"\u03b3",gap:"\u2a86",gimel:"\u2137",gnE:"\u2269",gnap:"\u2a8a",gne:"\u2a88",gnsim:"\u22e7",gt:"\x3e",gtdot:"\u22d7",harrw:"\u21ad",hbar:"\u210f",hellip:"\u2026",hookleftarrow:"\u21a9",hookrightarrow:"\u21aa",imath:"\u0131",infin:"\u221e",intcal:"\u22ba",iota:"\u03b9",jmath:"\u0237",kappa:"\u03ba",kappav:"\u03f0",lEg:"\u2a8b",lambda:"\u03bb",lap:"\u2a85",larrlp:"\u21ab",larrtl:"\u21a2",lbrace:"{",lbrack:"[",le:"\u2264",leftleftarrows:"\u21c7",leftthreetimes:"\u22cb",lessdot:"\u22d6",lmoust:"\u23b0",lnE:"\u2268",lnap:"\u2a89",lne:"\u2a87",lnsim:"\u22e6",longmapsto:"\u27fc",looparrowright:"\u21ac",lowast:"\u2217",loz:"\u25ca",lt:"\x3c",ltimes:"\u22c9",ltri:"\u25c3",macr:"\u00af",malt:"\u2720",mho:"\u2127",mu:"\u03bc",multimap:"\u22b8",nLeftarrow:"\u21cd",nLeftrightarrow:"\u21ce",nRightarrow:"\u21cf",nVDash:"\u22af",nVdash:"\u22ae",natur:"\u266e",nearr:"\u2197",nharr:"\u21ae",nlarr:"\u219a",not:"\u00ac",nrarr:"\u219b",nu:"\u03bd",nvDash:"\u22ad",nvdash:"\u22ac",nwarr:"\u2196",omega:"\u03c9",omicron:"\u03bf",or:"\u2228",osol:"\u2298",period:".",phi:"\u03c6",phiv:"\u03d5",pi:"\u03c0",piv:"\u03d6",prap:"\u2ab7",precnapprox:"\u2ab9",precneqq:"\u2ab5",precnsim:"\u22e8",prime:"\u2032",psi:"\u03c8",rarrtl:"\u21a3",rbrace:"}",rbrack:"]",rho:"\u03c1",rhov:"\u03f1",rightrightarrows:"\u21c9",rightthreetimes:"\u22cc",ring:"\u02da",rmoust:"\u23b1",rtimes:"\u22ca",rtri:"\u25b9",scap:"\u2ab8",scnE:"\u2ab6",scnap:"\u2aba",scnsim:"\u22e9",sdot:"\u22c5",searr:"\u2198",sect:"\u00a7",sharp:"\u266f",sigma:"\u03c3",sigmav:"\u03c2",simne:"\u2246",smile:"\u2323",spades:"\u2660",sub:"\u2282",subE:"\u2ac5",subnE:"\u2acb",subne:"\u228a",supE:"\u2ac6",supnE:"\u2acc",supne:"\u228b",swarr:"\u2199",tau:"\u03c4",theta:"\u03b8",thetav:"\u03d1",tilde:"\u02dc",times:"\u00d7",triangle:"\u25b5",triangleq:"\u225c",upsi:"\u03c5",upuparrows:"\u21c8",veebar:"\u22bb",vellip:"\u22ee",weierp:"\u2118",xi:"\u03be",yen:"\u00a5",zeta:"\u03b6",zigrarr:"\u21dd"};a.loadComplete("jax.js")})(MathJax.InputJax.MathML,MathJax.Hub.Browser);MathJax.Ajax.loadComplete("[MathJax]/config/TeX-AMS-MML_SVG.js");
|