12345678910111213 |
- /*
- * /MathJax/config/Accessible-full.js
- *
- * Copyright (c) 2010-2013 The MathJax Consortium
- *
- * Part of the MathJax library.
- * See http://www.mathjax.org for details.
- *
- * Licensed under the Apache License, Version 2.0;
- * you may not use this file except in compliance with the License.
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- */MathJax.Hub.Config({delayJaxRegistration:!0});MathJax.Ajax.Preloading("[MathJax]/jax/input/TeX/config.js","[MathJax]/jax/input/MathML/config.js","[MathJax]/jax/output/HTML-CSS/config.js","[MathJax]/jax/output/NativeMML/config.js","[MathJax]/config/MMLorHTML.js","[MathJax]/extensions/tex2jax.js","[MathJax]/extensions/mml2jax.js","[MathJax]/extensions/MathEvents.js","[MathJax]/extensions/MathZoom.js","[MathJax]/extensions/MathMenu.js","[MathJax]/jax/element/mml/jax.js","[MathJax]/extensions/toMathML.js","[MathJax]/extensions/TeX/noErrors.js","[MathJax]/extensions/TeX/noUndefined.js","[MathJax]/jax/input/TeX/jax.js","[MathJax]/extensions/TeX/AMSmath.js","[MathJax]/extensions/TeX/AMSsymbols.js","[MathJax]/jax/input/MathML/jax.js","[MathJax]/jax/output/NativeMML/jax.js","[MathJax]/jax/output/HTML-CSS/jax.js","[MathJax]/jax/output/HTML-CSS/autoload/mtable.js");MathJax.Hub.Config({"v1.0-compatible":!1});MathJax.Hub.Config({menuSettings:{zoom:"Double-Click",mpContext:!0,mpMouse:!0},errorSettings:{message:["[Math Error]"]}});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(c){return c},formatTag:function(c){return"("+c+")"},formatID:function(c){return"mjx-eqn-"+String(c).replace(/[:"'<>&]/g,"")},formatURL:function(c){return"#"+escape(c)},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["HTML-CSS"]=MathJax.OutputJax({id:"HTML-CSS",version:"2.2",directory:MathJax.OutputJax.directory+"/HTML-CSS",extensionDir:MathJax.OutputJax.extensionDir+"/HTML-CSS",autoloadDir:MathJax.OutputJax.directory+"/HTML-CSS/autoload",fontDir:MathJax.OutputJax.directory+"/HTML-CSS/fonts",webfontDir:MathJax.OutputJax.fontDir+"/HTML-CSS",config:{scale:100,minScaleAdjust:50,availableFonts:["STIX","TeX"],preferredFont:"TeX",webFont:"TeX",imageFont:"TeX",undefinedFamily:"STIXGeneral,'Arial Unicode MS',serif",mtextFontInherit:!1,EqnChunk:MathJax.Hub.Browser.isMobile?10:50,EqnChunkFactor:1.5,EqnChunkDelay:100,linebreaks:{automatic:!1,width:"container"},styles:{".MathJax_Display":{"text-align":"center",margin:"1em 0em"},".MathJax .merror":{"background-color":"#FFFF88",color:"#CC0000",border:"1px solid #CC0000",padding:"1px 3px","font-style":"normal","font-size":"90%"},"#MathJax_Tooltip":{"background-color":"InfoBackground",color:"InfoText",border:"1px solid black","box-shadow":"2px 2px 5px #AAAAAA","-webkit-box-shadow":"2px 2px 5px #AAAAAA","-moz-box-shadow":"2px 2px 5px #AAAAAA","-khtml-box-shadow":"2px 2px 5px #AAAAAA",filter:"progid:DXImageTransform.Microsoft.dropshadow(OffX\x3d2, OffY\x3d2, Color\x3d'gray', Positive\x3d'true')",padding:"3px 4px","z-index":401}}}});MathJax.Hub.Browser.isMSIE&&9<=document.documentMode&&delete MathJax.OutputJax["HTML-CSS"].config.styles["#MathJax_Tooltip"].filter;MathJax.Hub.config.delayJaxRegistration||MathJax.OutputJax["HTML-CSS"].Register("jax/mml");MathJax.Hub.Register.StartupHook("End Config",[function(c,e){var b=c.Insert({minBrowserVersion:{Firefox:3,Opera:9.52,MSIE:6,Chrome:.3,Safari:2,Konqueror:4},inlineMathDelimiters:["$","$"],displayMathDelimiters:["$$","$$"],multilineDisplay:!0,minBrowserTranslate:function(d){var e=c.getJaxFor(d),m=["[Math]"],l=document.createElement("span",{className:"MathJax_Preview"});"TeX"===e.inputJax&&(e.root.Get("displaystyle")?(m=b.displayMathDelimiters,m=[m[0]+e.originalText+m[1]],b.multilineDisplay&&(m=m[0].split(/\n/))):(m=b.inlineMathDelimiters,m=[m[0]+e.originalText.replace(/^\s+/,"").replace(/\s+$/,"")+m[1]]));for(var e=0,q=m.length;e<q;e++)l.appendChild(document.createTextNode(m[e])),e<q-1&&l.appendChild(document.createElement("br"));d.parentNode.insertBefore(l,d)}},c.config["HTML-CSS"]||{});"0.0"===c.Browser.version||c.Browser.versionAtLeast(b.minBrowserVersion[c.Browser]||0)||(e.Translate=b.minBrowserTranslate,c.Config({showProcessingMessages:!1}),MathJax.Message.Set(["MathJaxNotSupported","Your browser does not support MathJax"],null,4E3),c.Startup.signal.Post("MathJax not supported"))},MathJax.Hub,MathJax.OutputJax["HTML-CSS"]]);MathJax.OutputJax["HTML-CSS"].loadComplete("config.js");MathJax.OutputJax.NativeMML=MathJax.OutputJax({id:"NativeMML",version:"2.2",directory:MathJax.OutputJax.directory+"/NativeMML",extensionDir:MathJax.OutputJax.extensionDir+"/NativeMML",config:{scale:100,minScaleAdjust:50,styles:{"DIV.MathJax_MathML":{"text-align":"center",margin:".75em 0px"}}}});MathJax.Hub.config.delayJaxRegistration||MathJax.OutputJax.NativeMML.Register("jax/mml");MathJax.OutputJax.NativeMML.loadComplete("config.js");(function(c,e){var b=MathJax.Hub.CombineConfig("MMLorHTML",{prefer:{MSIE:"MML",Firefox:"HTML",Opera:"HTML",Chrome:"HTML",Safari:"HTML",other:"HTML"}}),d={Firefox:3,Opera:9.52,MSIE:6,Chrome:.3,Safari:2,Konqueror:4},n="0.0"===e.version||e.versionAtLeast(d[e]||0),m=e.isFirefox&&e.versionAtLeast("1.5")||e.isMSIE&&e.hasMathPlayer||e.isSafari&&e.versionAtLeast("5.0")||e.isOpera&&e.versionAtLeast("9.52");c.Register.StartupHook("End Config",function(){var d=b.prefer&&"object"===typeof b.prefer?b.prefer[MathJax.Hub.Browser]||b.prefer.other||"HTML":b.prefer;n||m?!m||"MML"!==d&&n?(MathJax.OutputJax["HTML-CSS"]?MathJax.OutputJax["HTML-CSS"].Register("jax/mml"):c.config.jax.unshift("output/HTML-CSS"),c.Startup.signal.Post("HTML-CSS output selected")):(MathJax.OutputJax.NativeMML?MathJax.OutputJax.NativeMML.Register("jax/mml"):c.config.jax.unshift("output/NativeMML"),c.Startup.signal.Post("NativeMML output selected")):(c.PreProcess.disabled=!0,c.prepareScripts.disabled=!0,MathJax.Message.Set(["MathJaxNotSupported","Your browser does not support MathJax"],null,4E3),c.Startup.signal.Post("MathJax not supported"))})})(MathJax.Hub,MathJax.Hub.Browser);MathJax.Ajax.loadComplete("[MathJax]/config/MMLorHTML.js");MathJax.Extension.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(c){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 c&&(c=document.getElementById(c));c||(c=document.body);this.createPatterns()&&this.scanElement(c,c.nextSibling)},createPatterns:function(){var c=[],e=[],b,d,n=this.config;this.match={};b=0;for(d=n.inlineMath.length;b<d;b++)c.push(this.patternQuote(n.inlineMath[b][0])),this.match[n.inlineMath[b][0]]={mode:"",end:n.inlineMath[b][1],pattern:this.endPattern(n.inlineMath[b][1])};b=0;for(d=n.displayMath.length;b<d;b++)c.push(this.patternQuote(n.displayMath[b][0])),this.match[n.displayMath[b][0]]={mode:"; mode\x3ddisplay",end:n.displayMath[b][1],pattern:this.endPattern(n.displayMath[b][1])};c.length&&e.push(c.sort(this.sortLength).join("|"));n.processEnvironments&&e.push("\\\\begin\\{([^}]*)\\}");n.processEscapes&&e.push("\\\\*\\\\\\$");n.processRefs&&e.push("\\\\(eq)?ref\\{[^}]*\\}");this.start=new RegExp(e.join("|"),"g");this.skipTags=new RegExp("^("+n.skipTags.join("|")+")$","i");c=[];MathJax.Hub.config.preRemoveClass&&c.push(MathJax.Hub.config.preRemoveClass);n.ignoreClass&&c.push(n.ignoreClass);this.ignoreClass=c.length?new RegExp("(^| )("+c.join("|")+")( |$)"):/^$/;this.processClass=new RegExp("(^| )("+n.processClass+")( |$)");return 0<e.length},patternQuote:function(c){return c.replace(/([\^$(){}+*?\-|\[\]\:\\])/g,"\\$1")},endPattern:function(c){return new RegExp(this.patternQuote(c)+"|\\\\.|[{}]","g")},sortLength:function(c,e){return c.length!==e.length?e.length-c.length:c==e?0:c<e?-1:1},scanElement:function(c,e,b){for(var d,n,m;c&&c!=e;)"#text"===c.nodeName.toLowerCase()?b||(c=this.scanText(c)):(d="undefined"===typeof c.className?"":c.className,n="undefined"===typeof c.tagName?"":c.tagName,"string"!==typeof d&&(d=String(d)),m=this.processClass.exec(d),!c.firstChild||d.match(/(^| )MathJax/)||!m&&this.skipTags.exec(n)||(d=(b||this.ignoreClass.exec(d))&&!m,this.scanElement(c.firstChild,e,d))),c&&(c=c.nextSibling)},scanText:function(c){if(""==c.nodeValue.replace(/\s+/,""))return c;var e,b;this.search={start:!0};for(this.pattern=this.start;c;){for(this.pattern.lastIndex=0;c&&"#text"===c.nodeName.toLowerCase()&&(e=this.pattern.exec(c.nodeValue));)c=this.search.start?this.startMatch(e,c):this.endMatch(e,c);this.search.matched&&(c=this.encloseMath(c));if(c){do b=c,c=c.nextSibling;while(c&&("br"===c.nodeName.toLowerCase()||"#comment"===c.nodeName.toLowerCase()));if(!c||"#text"!==c.nodeName)return this.search.close?this.prevEndMatch():b}}return c},startMatch:function(c,e){var b=this.match[c[0]];if(null!=b)this.search={end:b.end,mode:b.mode,pcount:0,open:e,olen:c[0].length,opos:this.pattern.lastIndex-c[0].length},this.switchPattern(b.pattern);else if("\\begin"===c[0].substr(0,6))this.search={end:"\\end{"+c[1]+"}",mode:"; mode\x3ddisplay",pcount:0,open:e,olen:0,opos:this.pattern.lastIndex-c[0].length,isBeginEnd:!0},this.switchPattern(this.endPattern(this.search.end));else{if("\\ref"===c[0].substr(0,4)||"\\eqref"===c[0].substr(0,6))return this.search={mode:"",end:"",open:e,pcount:0,olen:0,opos:this.pattern.lastIndex-c[0].length},this.endMatch([""],e);var b=c[0].substr(0,c[0].length-1),d;0===b.length%2?(d=[b.replace(/\\\\/g,"\\")],b=1):(d=[b.substr(1).replace(/\\\\/g,"\\"),"$"],b=0);d=MathJax.HTML.Element("span",null,d);var n=MathJax.HTML.TextNode(e.nodeValue.substr(0,c.index));e.nodeValue=e.nodeValue.substr(c.index+c[0].length-b);e.parentNode.insertBefore(d,e);e.parentNode.insertBefore(n,d);this.pattern.lastIndex=b}return e},endMatch:function(c,e){var b=this.search;c[0]==b.end?(b.close&&0!==b.pcount||(b.close=e,b.cpos=this.pattern.lastIndex,b.clen=b.isBeginEnd?0:c[0].length),0===b.pcount&&(b.matched=!0,e=this.encloseMath(e),this.switchPattern(this.start))):"{"===c[0]?b.pcount++:"}"===c[0]&&b.pcount&&b.pcount--;return e},prevEndMatch:function(){this.search.matched=!0;var c=this.encloseMath(this.search.close);this.switchPattern(this.start);return c},switchPattern:function(c){c.lastIndex=this.pattern.lastIndex;this.pattern=c;this.search.start=c===this.start},encloseMath:function(c){c=this.search;var e=c.close,b,d;(e=c.cpos===e.length?e.nextSibling:e.splitText(c.cpos))||(b=e=MathJax.HTML.addText(c.close.parentNode,""));c.close=e;for(d=c.opos?c.open.splitText(c.opos):c.open;d.nextSibling&&d.nextSibling!==e;)d.nodeValue=null!==d.nextSibling.nodeValue?"#comment"===d.nextSibling.nodeName?d.nodeValue+d.nextSibling.nodeValue.replace(/^\[CDATA\[((.|\n|\r)*)\]\]$/,"$1"):d.nodeValue+d.nextSibling.nodeValue:this.msieNewlineBug?d.nodeValue+("br"===d.nextSibling.nodeName.toLowerCase()?"\n":" "):d.nodeValue+" ",d.parentNode.removeChild(d.nextSibling);e=d.nodeValue.substr(c.olen,d.nodeValue.length-c.olen-c.clen);d.parentNode.removeChild(d);"none"!==this.config.preview&&this.createPreview(c.mode,e);d=this.createMathTag(c.mode,e);this.search={};this.pattern.lastIndex=0;b&&b.parentNode.removeChild(b);return d},insertNode:function(c){var e=this.search;e.close.parentNode.insertBefore(c,e.close)},createPreview:function(c,e){var b=this.config.preview;"none"!==b&&("TeX"===b&&(b=[this.filterPreview(e)]),b&&(b=MathJax.HTML.Element("span",{className:MathJax.Hub.config.preRemoveClass},b),this.insertNode(b)))},createMathTag:function(c,e){var b=document.createElement("script");b.type="math/tex"+c;MathJax.HTML.setScript(b,e);this.insertNode(b);return b},filterPreview:function(c){return c},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(c){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 c&&(c=document.getElementById(c));c||(c=document.body);this.ProcessMathArray(c.getElementsByTagName("math"));c.getElementsByTagNameNS&&this.ProcessMathArray(c.getElementsByTagNameNS(this.MMLnamespace,"math"));var e,b;if("undefined"!==typeof document.namespaces)try{for(e=0,b=document.namespaces.length;e<b;e++){var d=document.namespaces[e];d.urn===this.MMLnamespace&&this.ProcessMathArray(c.getElementsByTagName(d.name+":math"))}}catch(m){}else if(d=document.getElementsByTagName("html")[0])for(e=0,b=d.attributes.length;e<b;e++){var n=d.attributes[e];"xmlns:"===n.nodeName.substr(0,6)&&n.nodeValue===this.MMLnamespace&&this.ProcessMathArray(c.getElementsByTagName(n.nodeName.substr(6)+":math"))}},ProcessMathArray:function(c){var e;if(c.length)if(this.MathTagBug)for(e=c.length-1;0<=e;e--)"MATH"===c[e].nodeName?this.ProcessMathFlattened(c[e]):this.ProcessMath(c[e]);else for(e=c.length-1;0<=e;e--)this.ProcessMath(c[e])},ProcessMath:function(c){var e=c.parentNode,b=document.createElement("script");b.type="math/mml";e.insertBefore(b,c);if(this.AttributeBug){var d=this.OuterHTML(c);this.CleanupHTML&&(d=d.replace(/<\?import .*?>/i,"").replace(/<\?xml:namespace .*?\/>/i,""),d=d.replace(/ /g,"\x26#xA0;"));MathJax.HTML.setScript(b,d);e.removeChild(c)}else e=MathJax.HTML.Element("span"),e.appendChild(c),MathJax.HTML.setScript(b,e.innerHTML);"none"!==this.config.preview&&this.createPreview(c,b)},ProcessMathFlattened:function(c){var e=c.parentNode,b=document.createElement("script");b.type="math/mml";e.insertBefore(b,c);for(var e="",d,n=c;c&&"/MATH"!==c.nodeName;)d=c,c=c.nextSibling,e+=this.NodeHTML(d),d.parentNode.removeChild(d);c&&"/MATH"===c.nodeName&&c.parentNode.removeChild(c);b.text=e+"\x3c/math\x3e";"none"!==this.config.preview&&this.createPreview(n,b)},NodeHTML:function(c){var e,b,d;if("#text"===c.nodeName)e=this.quoteHTML(c.nodeValue);else if("#comment"===c.nodeName)e="\x3c!--"+c.nodeValue+"--\x3e";else{e="\x3c"+c.nodeName.toLowerCase();b=0;for(d=c.attributes.length;b<d;b++){var n=c.attributes[b];if(n.specified){e+=" "+n.nodeName.toLowerCase().replace(/xmlns:xmlns/,"xmlns")+"\x3d";var m=n.nodeValue;null==m&&"style"===n.nodeName&&c.style&&(m=c.style.cssText);e+='"'+this.quoteHTML(m)+'"'}}e+="\x3e";if(null!=c.outerHTML&&c.outerHTML.match(/(.<\/[A-Z]+>|\/>)$/)){b=0;for(d=c.childNodes.length;b<d;b++)e+=this.OuterHTML(c.childNodes[b]);e+="\x3c/"+c.nodeName.toLowerCase()+"\x3e"}}return e},OuterHTML:function(c){if("#"===c.nodeName.charAt(0))return this.NodeHTML(c);if(!this.AttributeBug)return c.outerHTML;for(var e=this.NodeHTML(c),b=0,d=c.childNodes.length;b<d;b++)e+=this.OuterHTML(c.childNodes[b]);return e+="\x3c/"+c.nodeName.toLowerCase()+"\x3e"},quoteHTML:function(c){null==c&&(c="");return c.replace(/&/g,"\x26#x26;").replace(/</g,"\x26lt;").replace(/>/g,"\x26gt;").replace(/\"/g,"\x26quot;")},createPreview:function(c,e){var b=this.config.preview;"none"!==b&&("alttext"===b&&(b=c.getAttribute("alttext"),b=null!=b?[this.filterPreview(b)]:null),b&&(b=MathJax.HTML.Element("span",{className:MathJax.Hub.config.preRemoveClass},b),e.parentNode.insertBefore(b,e)))},filterPreview:function(c){return c},InitBrowser:function(){var c=MathJax.HTML.Element("span",{id:"\x3c",className:"mathjax",innerHTML:"\x3cmath\x3e\x3cmi\x3ex\x3c/mi\x3e\x3cmspace /\x3e\x3c/math\x3e"}),e=c.outerHTML||"";this.AttributeBug=""!==e&&!(e.match(/id="<"/)&&e.match(/class="mathjax"/)&&e.match(/<\/math>/));this.MathTagBug=1<c.childNodes.length;this.CleanupHTML=MathJax.Hub.Browser.isMSIE}};MathJax.Hub.Register.PreProcessor(["PreProcess",MathJax.Extension.mml2jax]);MathJax.Ajax.loadComplete("[MathJax]/extensions/mml2jax.js");(function(c,e,b,d,n,m,l){var q=MathJax.Extension,r=q.MathEvents={version:"2.2"},a=c.config.menuSettings,f={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"}}},k=r.Event={LEFTBUTTON:0,RIGHTBUTTON:2,MENUKEY:"altKey",Mousedown:function(a){return k.Handler(a,"Mousedown",this)},Mouseup:function(a){return k.Handler(a,"Mouseup",this)},Mousemove:function(a){return k.Handler(a,"Mousemove",this)},Mouseover:function(a){return k.Handler(a,"Mouseover",this)},Mouseout:function(a){return k.Handler(a,"Mouseout",this)},Click:function(a){return k.Handler(a,"Click",this)},DblClick:function(a){return k.Handler(a,"DblClick",this)},Menu:function(a){return k.Handler(a,"ContextMenu",this)},Handler:function(a,f,c){if(b.loadingMathMenu)return k.False(a);var g=m[c.jaxID];a||(a=window.event);a.isContextMenu="ContextMenu"===f;if(g[f])return g[f](a,c);if(q.MathZoom)return q.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(f,g,h){var e=m[g.jaxID],q=e.getJaxFromMath(g);if((null!=e.config.showMathMenu?e:c).config.showMathMenu&&("MathJax"===a.context||h)){r.msieEventBug&&(f=window.event||f);k.ClearSelection();p.ClearHoverTimer();q.hover&&(q.hover.remove&&(clearTimeout(q.hover.remove),delete q.hover.remove),q.hover.nofade=!0);var u=MathJax.Menu;if(u){if(u.loadingDomain)return k.False(f);e=n.loadDomain("MathMenu");if(!e)return u.jax=q,g=u.menu.Find("Show Math As").menu,g.items[0].name=q.sourceMenuTitle,g.items[0].format=q.sourceMenuFormat||"MathML",g.items[1].name=l[q.inputJax].sourceMenuTitle,u.menu.Find("Math Settings","MathPlayer").hidden=!("NativeMML"===q.outputJax&&c.Browser.hasMathPlayer),u.menu.Post(f);u.loadingDomain=!0;q=function(){delete u.loadingDomain}}else{if(b.loadingMathMenu)return k.False(f);b.loadingMathMenu=!0;e=b.Require("[MathJax]/extensions/MathMenu.js");q=function(){delete b.loadingMathMenu;MathJax.Menu||(MathJax.Menu={})}}d.Queue(e,q,["ContextMenu",k,{pageX:f.pageX,pageY:f.pageY,clientX:f.clientX,clientY:f.clientY},g,h]);return k.False(f)}},AltContextMenu:function(f,g){var b=m[g.jaxID],d=(null!=b.config.showMathMenu?b:c).config.showMathMenu;if(d){d=(null!=b.config.showMathMenuMSIE?b:c).config.showMathMenuMSIE;if("MathJax"===a.context&&!a.mpContext&&d){if(!r.noContextMenuBug||f.button!==k.RIGHTBUTTON)return}else if(!f[k.MENUKEY]||f.button!==k.LEFTBUTTON)return;return b.ContextMenu(f,g,!0)}},ClearSelection:function(){r.safariContextMenuBug&&setTimeout("window.getSelection().empty()",0);document.selection&&setTimeout("document.selection.empty()",0)},getBBox:function(a){a.appendChild(r.topImg);var f=r.topImg.offsetTop,k=a.offsetHeight-f,c=a.offsetWidth;a.removeChild(r.topImg);return{w:c,h:f,d:k}}},p=r.Hover={Mouseover:function(f,b){if(a.discoverable||"Hover"===a.zoom){var g=f.fromElement||f.relatedTarget,d=f.toElement||f.target;if(g&&d&&(g.isMathJax!=d.isMathJax||c.getJaxFor(g)!==c.getJaxFor(d)))return g=this.getJaxFromMath(b),g.hover?p.ReHover(g):p.HoverTimer(g,b),k.False(f)}},Mouseout:function(f,g){if(a.discoverable||"Hover"===a.zoom){var b=f.fromElement||f.relatedTarget,d=f.toElement||f.target;if(b&&d&&(b.isMathJax!=d.isMathJax||c.getJaxFor(b)!==c.getJaxFor(d)))return b=this.getJaxFromMath(g),b.hover?p.UnHover(b):p.ClearHoverTimer(),k.False(f)}},Mousemove:function(f,c){if(a.discoverable||"Hover"===a.zoom){var b=this.getJaxFromMath(c);if(!b.hover&&(p.lastX!=f.clientX||p.lastY!=f.clientY))return p.lastX=f.clientX,p.lastY=f.clientY,p.HoverTimer(b,c),k.False(f)}},HoverTimer:function(a,k){this.ClearHoverTimer();this.hoverTimer=setTimeout(d(["Hover",this,a,k]),f.hover)},ClearHoverTimer:function(){this.hoverTimer&&(clearTimeout(this.hoverTimer),delete this.hoverTimer)},Hover:function(a,k){if(!q.MathZoom||!q.MathZoom.Hover({},k)){var b=m[a.outputJax],g=b.getHoverSpan(a,k),d=b.getHoverBBox(a,g,k),h=(null!=b.config.showMathMenu?b:c).config.showMathMenu,p=f.frame.x,n=f.frame.y,l=f.frame.bwidth;r.msieBorderWidthBug&&(l=0);a.hover={opacity:0,id:a.inputID+"-Hover"};var B=e.Element("span",{id:a.hover.id,isMathJax:!0,style:{display:"inline-block",width:0,height:0,position:"relative"}},[["span",{className:"MathJax_Hover_Frame",isMathJax:!0,style:{display:"inline-block",position:"absolute",top:this.Px(-d.h-n-l-(d.y||0)),left:this.Px(-p-l+(d.x||0)),width:this.Px(d.w+2*p),height:this.Px(d.h+d.d+2*n),opacity:0,filter:"alpha(opacity\x3d0)"}}]]),b=e.Element("span",{isMathJax:!0,id:a.hover.id+"Menu",style:{display:"inline-block","z-index":1,width:0,height:0,position:"relative"}},[["img",{className:"MathJax_Hover_Arrow",isMathJax:!0,math:k,src:f.button.src,onclick:this.HoverMenu,jax:b.id,style:{left:this.Px(d.w+p+l+(d.x||0)+f.button.x),top:this.Px(-d.h-n-l-(d.y||0)-f.button.y),opacity:0,filter:"alpha(opacity\x3d0)"}}]]);d.width&&(B.style.width=b.style.width=d.width,B.style.marginRight=b.style.marginRight="-"+d.width,B.firstChild.style.width=d.width,b.firstChild.style.left="",b.firstChild.style.right=this.Px(f.button.wx));g.parentNode.insertBefore(B,g);h&&g.parentNode.insertBefore(b,g);g.style&&(g.style.position="relative");this.ReHover(a)}},ReHover:function(a){a.hover.remove&&clearTimeout(a.hover.remove);a.hover.remove=setTimeout(d(["UnHover",this,a]),f.fadeoutDelay);this.HoverFadeTimer(a,f.fadeinInc)},UnHover:function(a){a.hover.nofade||this.HoverFadeTimer(a,-f.fadeoutInc,f.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),k=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)+")";k&&(k.firstChild.style.opacity=a.hover.opacity,k.firstChild.style.filter=f.style.filter);1!==a.hover.opacity&&(0<a.hover.opacity?this.HoverFadeTimer(a,a.hover.inc):(f.parentNode.removeChild(f),k&&k.parentNode.removeChild(k),a.hover.remove&&clearTimeout(a.hover.remove),delete a.hover))},HoverFadeTimer:function(a,k,c){a.hover.inc=k;a.hover.timer||(a.hover.timer=setTimeout(d(["HoverFade",this,a]),c||f.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);p.ClearHoverTimer();delete a.hover},Px:function(a){return.006>Math.abs(a)?"0px":a.toFixed(2).replace(/\.?0+$/,"")+"px"},getImages:function(){(new Image).src=f.button.src}},g=r.Touch={last:0,delay:500,start:function(a){var f=(new Date).getTime(),k=f-g.last<g.delay&&g.up;g.last=f;g.up=!1;k&&(g.timeout=setTimeout(g.menu,g.delay,a,this),a.preventDefault())},end:function(a){var f=(new Date).getTime();g.up=f-g.last<g.delay;if(g.timeout)return clearTimeout(g.timeout),delete g.timeout,g.last=0,g.up=!1,a.preventDefault(),k.Handler(a.touches[0]||a.touch,"DblClick",this)},menu:function(a,f){delete g.timeout;g.last=0;g.up=!1;return k.Handler(a.touches[0]||a.touch,"ContextMenu",f)}};if(c.Browser.isMobile){var h=f.styles[".MathJax_Hover_Arrow"];h.width="25px";h.height="18px";f.button.x=-6}c.Browser.Select({MSIE:function(a){var f=document.documentMode||0,c=a.versionAtLeast("8.0");r.msieBorderWidthBug="BackCompat"===document.compatMode;r.msieEventBug=a.isIE9;r.msieAlignBug=!c||8>f;9>f&&(k.LEFTBUTTON=1)},Safari:function(a){r.safariContextMenuBug=!0},Opera:function(a){r.operaPositionBug=!0},Konqueror:function(a){r.noContextMenuBug=!0}});r.topImg=r.msieAlignBug?e.Element("img",{style:{width:0,height:0,position:"relative"},src:"about:blank"}):e.Element("span",{style:{width:0,height:0,display:"inline-block"}});r.operaPositionBug&&(r.topImg.style.border="1px solid");r.config=f=c.CombineConfig("MathEvents",f);d.Queue(c.Register.StartupHook("End Config",{}),[function(){var a=f.styles[".MathJax_Hover_Frame"];a.border=f.frame.bwidth+"px solid "+f.frame.bcolor+" ! important";a["box-shadow"]=a["-webkit-box-shadow"]=a["-moz-box-shadow"]=a["-khtml-box-shadow"]="0px 0px "+f.frame.hwidth+" "+f.frame.hcolor}],["getImages",p],["Styles",b,f.styles],["Post",c.Startup.signal,"MathEvents Ready"],["loadComplete",b,"[MathJax]/extensions/MathEvents.js"])})(MathJax.Hub,MathJax.HTML,MathJax.Ajax,MathJax.Callback,MathJax.Localization,MathJax.OutputJax,MathJax.InputJax);(function(c,e,b,d,n){var m=c.CombineConfig("MathZoom",{styles:{"#MathJax_Zoom":{position:"absolute","background-color":"#F0F0F0",overflow:"auto",display:"block","z-index":301,padding:".5em",border:"1px solid black",margin:0,"font-weight":"normal","font-style":"normal","text-align":"left","text-indent":0,"text-transform":"none","line-height":"normal","letter-spacing":"normal","word-spacing":"normal","word-wrap":"normal","white-space":"nowrap","float":"none","box-shadow":"5px 5px 15px #AAAAAA","-webkit-box-shadow":"5px 5px 15px #AAAAAA","-moz-box-shadow":"5px 5px 15px #AAAAAA","-khtml-box-shadow":"5px 5px 15px #AAAAAA",filter:"progid:DXImageTransform.Microsoft.dropshadow(OffX\x3d2, OffY\x3d2, Color\x3d'gray', Positive\x3d'true')"},"#MathJax_ZoomOverlay":{position:"absolute",left:0,top:0,"z-index":300,display:"inline-block",width:"100%",height:"100%",border:0,padding:0,margin:0,"background-color":"white",opacity:0,filter:"alpha(opacity\x3d0)"},"#MathJax_ZoomFrame":{position:"relative",display:"inline-block",height:0,width:0},"#MathJax_ZoomEventTrap":{position:"absolute",left:0,top:0,"z-index":302,display:"inline-block",border:0,padding:0,margin:0,"background-color":"white",opacity:0,filter:"alpha(opacity\x3d0)"}}}),l,q,r;MathJax.Hub.Register.StartupHook("MathEvents Ready",function(){r=MathJax.Extension.MathEvents.Event;l=MathJax.Extension.MathEvents.Event.False;q=MathJax.Extension.MathEvents.Hover});var a=MathJax.Extension.MathZoom={version:"2.2",settings:c.config.menuSettings,scrollSize:18,HandleEvent:function(f,k,c){return a.settings.CTRL&&!f.ctrlKey||a.settings.ALT&&!f.altKey||a.settings.CMD&&!f.metaKey||a.settings.Shift&&!f.shiftKey||!a[k]?!0:a[k](f,c)},Click:function(a,k){if("Click"===this.settings.zoom)return this.Zoom(a,k)},DblClick:function(a,k){if("Double-Click"===this.settings.zoom)return this.Zoom(a,k)},Hover:function(a,k){return"Hover"===this.settings.zoom?(this.Zoom(a,k),!0):!1},Zoom:function(a,k){this.Remove();q.ClearHoverTimer();r.ClearSelection();var b=MathJax.OutputJax[k.jaxID],g=b.getJaxFromMath(k);g.hover&&q.UnHover(g);var d=Math.floor(.85*document.body.clientWidth),t=Math.floor(.85*Math.max(document.body.clientHeight,document.documentElement.clientHeight)),x=e.Element("span",{id:"MathJax_ZoomFrame"},[["span",{id:"MathJax_ZoomOverlay",onmousedown:this.Remove}],["span",{id:"MathJax_Zoom",onclick:this.Remove,style:{visibility:"hidden",fontSize:this.settings.zscale,"max-width":d+"px","max-height":t+"px"}},[["span",{style:{display:"inline-block","white-space":"nowrap"}}]]]]),n=x.lastChild,z=n.firstChild,w=x.firstChild;k.parentNode.insertBefore(x,k);k.parentNode.insertBefore(k,x);z.addEventListener&&z.addEventListener("mousedown",this.Remove,!0);if(this.msieTrapEventBug){var u=e.Element("span",{id:"MathJax_ZoomEventTrap",onmousedown:this.Remove});x.insertBefore(u,n)}this.msieZIndexBug&&(e.addElement(document.body,"img",{src:"about:blank",id:"MathJax_ZoomTracker",width:0,height:0,style:{width:0,height:0,position:"relative"}}),x.style.position="relative",x.style.zIndex=m.styles["#MathJax_ZoomOverlay"]["z-index"]);b=b.Zoom(g,z,k,d,t);this.msiePositionBug&&(this.msieSizeBug&&(n.style.height=b.zH+"px",n.style.width=b.zW+"px"),n.offsetHeight>t&&(n.style.height=t+"px",n.style.width=b.zW+this.scrollSize+"px"),n.offsetWidth>d&&(n.style.width=d+"px",n.style.height=b.zH+this.scrollSize+"px"));this.operaPositionBug&&(n.style.width=Math.min(d,b.zW)+"px");n.offsetWidth&&n.offsetWidth<d&&n.offsetHeight<t&&(n.style.overflow="visible");this.Position(n,b);this.msieTrapEventBug&&(u.style.height=n.clientHeight+"px",u.style.width=n.clientWidth+"px",u.style.left=parseFloat(n.style.left)+n.clientLeft+"px",u.style.top=parseFloat(n.style.top)+n.clientTop+"px");n.style.visibility="";"Hover"===this.settings.zoom&&(w.onmouseover=this.Remove);window.addEventListener?addEventListener("resize",this.Resize,!1):window.attachEvent?attachEvent("onresize",this.Resize):(this.onresize=window.onresize,window.onresize=this.Resize);c.signal.Post(["math zoomed",g]);return l(a)},Position:function(f,k){var c=this.Resize(),b=c.y,d=k.mW,t=k.Y;f.style.left=Math.max(-d-Math.floor((f.offsetWidth-d)/2),10-c.x)+"px";f.style.top=Math.max(t,10-b)+"px";a.msiePositionBug||a.SetWH()},Resize:function(f){if(a.onresize)a.onresize(f);var k=document.getElementById("MathJax_ZoomFrame");f=document.getElementById("MathJax_ZoomOverlay");for(var c=a.getXY(k),k=k.parentNode,b=a.getOverflow(k);k.parentNode&&k!==document.body&&"visible"===b;)k=k.parentNode,b=a.getOverflow(k);"visible"!==b&&(f.scroll_parent=k,b=a.getXY(k),c.x-=b.x,c.y-=b.y,b=a.getBorder(k),c.x-=b.x,c.y-=b.y);f.style.left=-c.x+"px";f.style.top=-c.y+"px";a.msiePositionBug?setTimeout(a.SetWH,0):a.SetWH();return c},SetWH:function(){var a=document.getElementById("MathJax_ZoomOverlay");a.style.width=a.style.height="1px";var k=a.scroll_parent||document.documentElement||document.body;a.style.width=k.scrollWidth+"px";a.style.height=Math.max(k.clientHeight,k.scrollHeight)+"px"},getOverflow:window.getComputedStyle?function(a){return getComputedStyle(a).overflow}:function(a){return(a.currentStyle||{overflow:"visible"}).overflow},getBorder:function(a){var k={thin:1,medium:2,thick:3},c=window.getComputedStyle?getComputedStyle(a):a.currentStyle||{borderLeftWidth:0,borderTopWidth:0};a=c.borderLeftWidth;c=c.borderTopWidth;a=k[a]?k[a]:parseInt(a);c=k[c]?k[c]:parseInt(c);return{x:a,y:c}},getXY:function(f){var k=0,c=0,b;for(b=f;b.offsetParent;)k+=b.offsetLeft,b=b.offsetParent;a.operaPositionBug&&(f.style.border="1px solid");for(b=f;b.offsetParent;)c+=b.offsetTop,b=b.offsetParent;a.operaPositionBug&&(f.style.border="");return{x:k,y:c}},Remove:function(f){var k=document.getElementById("MathJax_ZoomFrame");if(k){var b=MathJax.OutputJax[k.previousSibling.jaxID].getJaxFromMath(k.previousSibling);c.signal.Post(["math unzoomed",b]);k.parentNode.removeChild(k);(k=document.getElementById("MathJax_ZoomTracker"))&&k.parentNode.removeChild(k);a.operaRefreshBug&&(k=e.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(k));window.removeEventListener?removeEventListener("resize",a.Resize,!1):window.detachEvent?detachEvent("onresize",a.Resize):(window.onresize=a.onresize,delete a.onresize)}return l(f)}};c.Browser.Select({MSIE:function(f){var k=document.documentMode||0,c=9<=k;a.msiePositionBug=!c;a.msieSizeBug=f.versionAtLeast("7.0")&&(!document.documentMode||7===k||8===k);a.msieZIndexBug=7>=k;a.msieInlineBlockAlignBug=7>=k;a.msieTrapEventBug=!window.addEventListener;"BackCompat"===document.compatMode&&(a.scrollSize=52);c&&delete m.styles["#MathJax_Zoom"].filter},Opera:function(f){a.operaPositionBug=!0;a.operaRefreshBug=!0}});a.topImg=a.msieInlineBlockAlignBug?e.Element("img",{style:{width:0,height:0,position:"relative"},src:"about:blank"}):e.Element("span",{style:{width:0,height:0,display:"inline-block"}});if(a.operaPositionBug||a.msieTopBug)a.topImg.style.border="1px solid";MathJax.Callback.Queue(["StartupHook",MathJax.Hub.Register,"Begin Styles",{}],["Styles",b,m.styles],["Post",c.Startup.signal,"MathZoom Ready"],["loadComplete",b,"[MathJax]/extensions/MathZoom.js"])})(MathJax.Hub,MathJax.HTML,MathJax.Ajax,MathJax.OutputJax["HTML-CSS"],MathJax.OutputJax.NativeMML);(function(c,e,b,d,n){var m=MathJax.Callback.Signal("menu");MathJax.Extension.MathMenu={version:"2.2",signal:m};var l=function(a){return MathJax.Localization._.apply(MathJax.Localization,[["MathMenu",a]].concat([].slice.call(arguments,1)))},q=c.Browser.isPC,r=c.Browser.isMSIE,a=8<(document.documentMode||0),f=q?null:"5px",k=c.CombineConfig("MathMenu",{delay:150,closeImg:b.fileURL(n.imageDir+"/CloseX-31.png"),showRenderer:!0,showMathPlayer:!0,showFontMenu:!1,showContext:!1,showDiscoverable:!1,showLocale:!0,showLocaleURL:!1,windowSettings:{status:"no",toolbar:"no",locationbar:"no",menubar:"no",directories:"no",personalbar:"no",resizable:"yes",scrollbars:"yes",width:400,height:300,left:Math.round((screen.width-400)/2),top:Math.round((screen.height-300)/3)},styles:{"#MathJax_About":{position:"fixed",left:"50%",width:"auto","text-align":"center",border:"3px outset",padding:"1em 2em","background-color":"#DDDDDD",color:"black",cursor:"default","font-family":"message-box","font-size":"120%","font-style":"normal","text-indent":0,"text-transform":"none","line-height":"normal","letter-spacing":"normal","word-spacing":"normal","word-wrap":"normal","white-space":"nowrap","float":"none","z-index":201,"border-radius":"15px","-webkit-border-radius":"15px","-moz-border-radius":"15px","-khtml-border-radius":"15px","box-shadow":"0px 10px 20px #808080","-webkit-box-shadow":"0px 10px 20px #808080","-moz-box-shadow":"0px 10px 20px #808080","-khtml-box-shadow":"0px 10px 20px #808080",filter:"progid:DXImageTransform.Microsoft.dropshadow(OffX\x3d2, OffY\x3d2, Color\x3d'gray', Positive\x3d'true')"},".MathJax_Menu":{position:"absolute","background-color":"white",color:"black",width:"auto",padding:q?"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":f,"-webkit-border-radius":f,"-moz-border-radius":f,"-khtml-border-radius":f,"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:q?"2px 2em":"1px 2em",background:"transparent"},".MathJax_MenuArrow":{position:"absolute",right:".5em",color:"#666666","font-family":r?"'Arial unicode MS'":null},".MathJax_MenuActive .MathJax_MenuArrow":{color:"white"},".MathJax_MenuCheck":{position:"absolute",left:".7em","font-family":r?"'Arial unicode MS'":null},".MathJax_MenuRadioCheck":{position:"absolute",left:q?"1em":".7em"},".MathJax_MenuLabel":{padding:q?"2px 2em 4px 1.33em":"1px 2em 3px 1.33em","font-style":"italic"},".MathJax_MenuRule":{"border-top":q?"1px solid #CCCCCC":"1px solid #DDDDDD",margin:q?"4px 1px 0px":"4px 3px"},".MathJax_MenuDisabled":{color:"GrayText"},".MathJax_MenuActive":{"background-color":q?"Highlight":"#606872",color:q?"HighlightText":"white"},".MathJax_Menu_Close":{position:"absolute",width:"31px",height:"31px",top:"-15px",left:"-15px"}}}),p,g;c.Register.StartupHook("MathEvents Ready",function(){p=MathJax.Extension.MathEvents.Event.False;g=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(a){a&&c.Insert(this,a);return this},Post:function(a,f){a||(a=window.event);var c=document.getElementById("MathJax_MenuFrame");c||(c=h.Background(this),delete t.lastItem,delete t.lastMenu,delete h.skipUp,m.Post(["post",h.jax]));var b=e.addElement(c,"div",{onmouseup:h.Mouseup,ondblclick:p,ondragstart:p,onselectstart:p,oncontextmenu:p,menuItem:this,className:"MathJax_Menu"});MathJax.Localization.setCSS(b);for(var d=0,g=this.items.length;d<g;d++)this.items[d].Create(b);h.isMobile&&e.addElement(b,"span",{className:"MathJax_Menu_Close",menu:f,ontouchstart:h.Close,ontouchend:p,onmousedown:h.Close,onmouseup:p},[["img",{src:k.closeImg,style:{width:"100%",height:"100%"}}]]);this.posted=!0;b.style.width=b.offsetWidth+2+"px";d=a.pageX;g=a.pageY;d||g||(d=a.clientX+document.body.scrollLeft+document.documentElement.scrollLeft,g=a.clientY+document.body.scrollTop+document.documentElement.scrollTop);if(f){for(var n="left",l=f.offsetWidth,d=h.isMobile?30:l-2,g=0;f&&f!==c;)d+=f.offsetLeft,g+=f.offsetTop,f=f.parentNode;d+b.offsetWidth>document.body.offsetWidth-this.margin&&!h.isMobile&&(n="right",d=Math.max(this.margin,d-l-b.offsetWidth+6));q||(b.style["borderRadiusTop"+n]=0,b.style["WebkitBorderRadiusTop"+n]=0,b.style["MozBorderRadiusTop"+n]=0,b.style["KhtmlBorderRadiusTop"+n]=0)}else d+b.offsetWidth>document.body.offsetWidth-this.margin&&(d=document.body.offsetWidth-b.offsetWidth-this.margin),h.isMobile&&(d=Math.max(5,d-Math.floor(b.offsetWidth/2)),g-=20),h.skipUp=a.isContextMenu;b.style.left=d+"px";b.style.top=g+"px";document.selection&&document.selection.empty&&document.selection.empty();return p(a)},Remove:function(a,f){m.Post(["unpost",h.jax]);var k=document.getElementById("MathJax_MenuFrame");k&&(k.parentNode.removeChild(k),this.msieFixedPositionBug&&detachEvent("onresize",h.Resize));h.jax.hover&&(delete h.jax.hover.nofade,g.UnHover(h.jax));return p(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,k){for(var c=0,b=this.items.length;c<b;c++)if(this.items[c].name[a]===f){if(k.length){if(!this.items[c].menu)break;return this.items[c].menu.FindN(a,k[0],k.slice(1))}return this.items[c]}return null},IndexOf:function(a){return this.IndexOfN(1,a)},IndexOfId:function(a){return this.IndexOfN(0,a)},IndexOfN:function(a,f){for(var k=0,c=this.items.length;k<c;k++)if(this.items[k].name[a]===f)return k;return null}},{config:k,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,k,c){if(h.skipMouseover&&"Mouseover"===k&&!c)return p(a);if(h.skipUp){if(k.match(/Mouseup|Touchend/))return delete h.skipUp,p(a);("Touchstart"===k||"Mousedown"===k&&!h.skipMousedown)&&delete h.skipUp}a||(a=window.event);return(c=f.menuItem)&&c[k]?c[k](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=e.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(){e.Cookie.Set("menu",this.cookie)},getCookie:function(){this.cookie=e.Cookie.Get("menu")},getImages:function(){h.isMobile&&((new Image).src=k.closeImg)}}),t=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:p,onselectstart:p,onselectend:p,ontouchstart:h.Touchstart,ontouchend:h.Touchend,className:"MathJax_MenuItem",menuItem:this};this.disabled&&(f.className+=" MathJax_MenuDisabled");e.addElement(a,"div",f,this.Label(f,a))}},Name:function(){return l(this.name[0],this.name[1])},Mouseover:function(a,f){this.disabled||this.Activate(f);if(!this.menu||!this.menu.posted){for(var k=document.getElementById("MathJax_MenuFrame").childNodes,c=f.parentNode.childNodes,b=0,d=c.length;b<d;b++){var g=c[b].menuItem;g&&g.menu&&g.menu.posted&&g.Deactivate(c[b])}for(d=k.length-1;0<=d&&f.parentNode.menuItem!==k[d].menuItem;)k[d].menuItem.posted=!1,k[d].parentNode.removeChild(k[d]),d--;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,k){this!==t.lastItem&&(t.lastMenu&&h.Event(a,t.lastMenu,"Mouseout"),h.Event(a,f,"Mouseover",!0),t.lastItem=this,t.lastMenu=f);if(this.nativeTouch)return null;h.Event(a,f,k);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(a){a&&c.Insert(this,a);return this}});h.ITEM.COMMAND=h.ITEM.Subclass({action:function(){},Init:function(a,f,k){a instanceof Array||(a=[a,a]);this.name=a;this.action=f;this.With(k)},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 p(a)}});h.ITEM.SUBMENU=h.ITEM.Subclass({menu:null,marker:q&&!c.Browser.isSafari?"\u25b6":"\u25b8",Init:function(a,f){a instanceof Array||(a=[a,a]);this.name=a;var k=1;f instanceof h.ITEM||(this.With(f),k++);this.menu=h.apply(h,[].slice.call(arguments,k))},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(d(["Mouseup",this,a,f]),k.delay)},Touchend:function(a,f){var k=this.menu.posted,c=this.SUPER(arguments).Touchend.apply(this,arguments);k&&(this.Deactivate(f),delete t.lastItem,delete t.lastMenu);return c},Mouseup:function(a,f){if(!this.disabled)if(this.menu.posted)for(var k=document.getElementById("MathJax_MenuFrame").childNodes,c=k.length-1;0<=c;){var b=k[c];b.menuItem.posted=!1;b.parentNode.removeChild(b);if(b.menuItem===this.menu)break;c--}else this.timer&&(clearTimeout(this.timer),delete this.timer),this.menu.Post(a,f);return p(a)}});h.ITEM.RADIO=h.ITEM.Subclass({variable:null,marker:q?"\u25cf":"\u2713",Init:function(a,f,k){a instanceof Array||(a=[a,a]);this.name=a;this.variable=f;this.With(k);null==this.value&&(this.value=this.name[0])},Label:function(a,f){var c={className:"MathJax_MenuRadioCheck"};k.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,d=c.length;b<d;b++){var g=c[b].menuItem;g&&g.variable===this.variable&&(c[b].firstChild.style.display="none")}f.firstChild.display="";k.settings[this.variable]=this.value;h.cookie[this.variable]=k.settings[this.variable];h.saveCookie();m.Post(["radio button",this])}this.Remove(a,f);this.action&&!this.disabled&&this.action.call(h,this);return p(a)}});h.ITEM.CHECKBOX=h.ITEM.Subclass({variable:null,marker:"\u2713",Init:function(a,f,k){a instanceof Array||(a=[a,a]);this.name=a;this.variable=f;this.With(k)},Label:function(a,f){var c={className:"MathJax_MenuCheck"};k.settings[this.variable]||(c={style:{display:"none"}});return[["span",c,[this.marker]]," "+this.Name()]},Mouseup:function(a,f){this.disabled||(f.firstChild.display=k.settings[this.variable]?"none":"",k.settings[this.variable]=!k.settings[this.variable],h.cookie[this.variable]=k.settings[this.variable],h.saveCookie(),m.Post(["checkbox",this]));this.Remove(a,f);this.action&&!this.disabled&&this.action.call(h,this);return p(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 a=n["HTML-CSS"]||{},f=(a.imgFonts?"image":a.fontInUse?(a.webFonts?"web":"local")+" "+a.fontInUse:n.SVG?"web SVG":"generic")+" fonts",a=!a.webFonts||a.imgFonts?null:a.allowWebFonts.replace(/otf/,"woff or otf")+" fonts",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",{},[c.Browser+" v"+c.Browser.version+(a?" \u2014 "+l(a.replace(/ /g,""),a):"")]]);h.About.div=h.Background(h.About);f=e.addElement(h.About.div,"div",{id:"MathJax_About"},[["b",{style:{fontSize:"120%"}},["MathJax"]]," v"+MathJax.version,["br"],l(f.replace(/ /g,""),"using "+f),["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:k.closeImg,style:{width:"21px",height:"21px",position:"absolute",top:".2em",right:".2em"},onclick:h.About.Remove}]]);MathJax.Localization.setCSS(f);a=document.documentElement||{};a=window.innerHeight||a.clientHeight||a.scrollHeight||0;h.prototype.msieAboutBug?(f.style.width="20em",f.style.position="absolute",f.style.left=Math.floor((document.documentElement.scrollWidth-f.offsetWidth)/2)+"px",f.style.top=Math.floor((a-f.offsetHeight)/3)+document.body.scrollTop+"px"):(f.style.marginLeft=Math.floor(-f.offsetWidth/2)+"px",f.style.top=Math.floor((a-f.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,k,c){var b=[],d;for(d in f)f.hasOwnProperty(d)&&f[d]&&(c&&f[d].version||f[d].isa&&f[d].isa(f))&&b.push(l(k[0],k[1],f[d].id||d,f[d].version));b.sort();f=0;for(k=b.length;f<k;f++)a.push(b[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 k=MathJax.ElementJax.mml;if(k&&"undefined"!==typeof k.mbase.prototype.toMathML)try{h.ShowSource.Text(h.jax.root.toMathML(),a)}catch(c){if(!c.restart)throw c;d.After([this,h.ShowSource,f],c.restart)}else b.loadingToMathML||(b.loadingToMathML=!0,h.ShowSource.Window(a),d.Queue(b.Require("[MathJax]/extensions/toMathML.js"),function(){delete b.loadingToMathML;k.mbase.prototype.toMathML||(k.mbase.prototype.toMathML=function(){})},[this,h.ShowSource,f]))}else"Error"===this.format?h.ShowSource.Text(h.jax.errorText,a):null==h.jax.originalText?alert(l("NoOriginalForm","No original form available")):h.ShowSource.Text(h.jax.originalText,a)};h.ShowSource.Window=function(a){if(!h.ShowSource.w){a=[];var f=k.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 k=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 c=l("EqSource","MathJax Equation Source");if(h.isMobile)k.document.open(),k.document.write("\x3chtml\x3e\x3chead\x3e\x3cmeta name\x3d'viewport' content\x3d'width\x3ddevice-width, initial-scale\x3d1.0' /\x3e\x3ctitle\x3e"+c+"\x3c/title\x3e\x3c/head\x3e\x3cbody style\x3d'font-size:85%'\x3e"),k.document.write("\x3cpre\x3e"+a+"\x3c/pre\x3e"),k.document.write("\x3chr\x3e\x3cinput type\x3d'button' value\x3d'"+l("Close","Close")+"' onclick\x3d'window.close()' /\x3e"),k.document.write("\x3c/body\x3e\x3c/html\x3e"),k.document.close();else{k.document.open();k.document.write("\x3chtml\x3e\x3chead\x3e\x3ctitle\x3e"+c+"\x3c/title\x3e\x3c/head\x3e\x3cbody style\x3d'font-size:85%'\x3e");k.document.write("\x3ctable\x3e\x3ctr\x3e\x3ctd\x3e\x3cpre\x3e"+a+"\x3c/pre\x3e\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e");k.document.write("\x3c/body\x3e\x3c/html\x3e");k.document.close();var b=k.document.body.firstChild;setTimeout(function(){var a=k.outerHeight-k.innerHeight||30,c=k.outerWidth-k.innerWidth||30,c=Math.max(100,Math.min(Math.floor(.5*screen.width),b.offsetWidth+c+25)),a=Math.max(40,Math.min(Math.floor(.5*screen.height),b.offsetHeight+a+25));k.resizeTo(c,a);f&&null!=f.screenX&&(c=Math.max(0,Math.min(f.screenX-Math.floor(c/2),screen.width-c-20)),a=Math.max(0,Math.min(f.screenY-Math.floor(a/2),screen.height-a-20)),k.moveTo(c,a))},50)}};h.Scale=function(){var a=n["HTML-CSS"],f=n.NativeMML,k=n.SVG,b=(a||f||k||{config:{scale:100}}).config.scale,d=prompt(l("ScaleMath","Scale all mathematics (compared to surrounding text) by"),b+"%");d&&(d.match(/^\s*\d+(\.\d*)?\s*%?\s*$/)?(d=parseFloat(d))?d!==b&&(a&&(a.config.scale=d),f&&(f.config.scale=d),k&&(k.config.scale=d),h.cookie.scale=d,h.saveCookie(),c.Reprocess()):alert(l("NonZeroScale","The scale should not be zero")):alert(l("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 f=c.outputJax["jax/mml"];if(f[0]!==k.settings.renderer){var b=c.Browser,d,g=h.Renderer.Messages,p;switch(k.settings.renderer){case "NativeMML":k.settings.warnedMML||(b.isChrome&&"24."!==b.version.substr(0,3)?d=g.MML.WebKit:b.isSafari&&!b.versionAtLeast("5.0")?d=g.MML.WebKit:b.isMSIE?b.hasMathPlayer||(d=g.MML.MSIE):d=g.MML[b],p="warnedMML");break;case "SVG":k.settings.warnedSVG||!b.isMSIE||a||(d=g.SVG.MSIE)}if(d){d=l(d[0],d[1]);d=d+"\n\n"+l("SwitchAnyway","Switch the renderer anyway?\n\n(Press OK to switch, CANCEL to continue with the current renderer)");h.cookie.renderer=f[0].id;h.saveCookie();if(!confirm(d)){h.cookie.renderer=k.settings.renderer=e.Cookie.Get("menu").renderer;h.saveCookie();return}p&&(h.cookie.warned=k.settings.warned=!0);h.cookie.renderer=k.settings.renderer;h.saveCookie()}c.Queue(["setRenderer",c,k.settings.renderer,"jax/mml"],["Rerender",c])}};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(){n["HTML-CSS"]&&document.location.reload()};h.Locale=function(){MathJax.Localization.setLocale(k.settings.locale);MathJax.Hub.Queue(["Reprocess",MathJax.Hub])};h.LoadLocale=function(){var a=prompt(l("LoadURL","Load translation data from this URL:"));a&&(a.match(/\.js$/)||alert(l("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(l("BadData","Failed to load translation data from %1",a))}))};h.MPEvents=function(f){var c=k.settings.discoverable,b=h.MPEvents.Messages;a?!c&&"Menu Events"===f.name[1]&&k.settings.mpContext&&alert(l.apply(l,b.IE9warning)):k.settings.mpMouse&&!confirm(l.apply(l,b.IE8warning))?(delete h.cookie.mpContext,delete k.settings.mpContext,delete h.cookie.mpMouse,delete k.settings.mpMouse,h.saveCookie()):(k.settings.mpContext=k.settings.mpMouse,h.cookie.mpContext=h.cookie.mpMouse=k.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."]};c.Browser.Select({MSIE:function(f){var c="BackCompat"===document.compatMode;f=f.versionAtLeast("8.0")&&7<document.documentMode;h.Augment({margin:20,msieBackgroundBug:9>document.documentMode,msieFixedPositionBug:c||!f,msieAboutBug:c});a&&(delete k.styles["#MathJax_About"].filter,delete k.styles[".MathJax_Menu"].filter)},Firefox:function(a){h.skipMouseover=a.isMobile&&a.versionAtLeast("6.0");h.skipMousedown=a.isMobile}});h.isMobile=c.Browser.isMobile;h.noContextMenu=c.Browser.noContextMenu;h.CreateLocaleMenu=function(){if(h.menu){var a=h.menu.Find("Language").menu,f=a.items,k=[],c=MathJax.Localization.strings,b;for(b in c)c.hasOwnProperty(b)&&k.push(b);k=k.sort();a.items=[];b=0;for(var d=k.length;b<d;b++){var g=c[k[b]].menuTitle,g=g?g+(" ("+k[b]+")"):k[b];a.items.push(t.RADIO([k[b],g],"locale",{action:h.Locale}))}a.items.push(f[f.length-2],f[f.length-1])}};c.Register.StartupHook("End Config",function(){k.settings=c.config.menuSettings;"undefined"!==typeof k.settings.showRenderer&&(k.showRenderer=k.settings.showRenderer);"undefined"!==typeof k.settings.showFontMenu&&(k.showFontMenu=k.settings.showFontMenu);"undefined"!==typeof k.settings.showContext&&(k.showContext=k.settings.showContext);h.getCookie();h.menu=h(t.SUBMENU(["Show","Show Math As"],t.COMMAND(["MathMLcode","MathML Code"],h.ShowSource,{nativeTouch:!0,format:"MathML"}),t.COMMAND(["Original","Original Form"],h.ShowSource,{nativeTouch:!0}),t.RULE(),t.CHECKBOX(["texHints","Show TeX hints in MathML"],"texHints")),t.RULE(),t.SUBMENU(["Settings","Math Settings"],t.SUBMENU(["ZoomTrigger","Zoom Trigger"],t.RADIO(["Hover","Hover"],"zoom",{action:h.Zoom}),t.RADIO(["Click","Click"],"zoom",{action:h.Zoom}),t.RADIO(["DoubleClick","Double-Click"],"zoom",{action:h.Zoom}),t.RADIO(["NoZoom","No Zoom"],"zoom",{value:"None"}),t.RULE(),t.LABEL(["TriggerRequires","Trigger Requires:"]),t.CHECKBOX(c.Browser.isMac?["Option","Option"]:["Alt","Alt"],"ALT"),t.CHECKBOX(["Command","Command"],"CMD",{hidden:!c.Browser.isMac}),t.CHECKBOX(["Control","Control"],"CTRL",{hidden:c.Browser.isMac}),t.CHECKBOX(["Shift","Shift"],"Shift")),t.SUBMENU(["ZoomFactor","Zoom Factor"],t.RADIO("125%","zscale"),t.RADIO("133%","zscale"),t.RADIO("150%","zscale"),t.RADIO("175%","zscale"),t.RADIO("200%","zscale"),t.RADIO("250%","zscale"),t.RADIO("300%","zscale"),t.RADIO("400%","zscale")),t.RULE(),t.SUBMENU(["Renderer","Math Renderer"],{hidden:!k.showRenderer},t.RADIO("HTML-CSS","renderer",{action:h.Renderer}),t.RADIO("MathML","renderer",{action:h.Renderer,value:"NativeMML"}),t.RADIO("SVG","renderer",{action:h.Renderer})),t.SUBMENU("MathPlayer",{hidden:!c.Browser.isMSIE||!k.showMathPlayer,disabled:!c.Browser.hasMathPlayer},t.LABEL(["MPHandles","Let MathPlayer Handle:"]),t.CHECKBOX(["MenuEvents","Menu Events"],"mpContext",{action:h.MPEvents,hidden:!a}),t.CHECKBOX(["MouseEvents","Mouse Events"],"mpMouse",{action:h.MPEvents,hidden:!a}),t.CHECKBOX(["MenuAndMouse","Mouse and Menu Events"],"mpMouse",{action:h.MPEvents,hidden:a})),t.SUBMENU(["FontPrefs","Font Preference"],{hidden:!k.showFontMenu},t.LABEL(["ForHTMLCSS","For HTML-CSS:"]),t.RADIO(["Auto","Auto"],"font",{action:h.Font}),t.RULE(),t.RADIO(["TeXLocal","TeX (local)"],"font",{action:h.Font}),t.RADIO(["TeXWeb","TeX (web)"],"font",{action:h.Font}),t.RADIO(["TeXImage","TeX (image)"],"font",{action:h.Font}),t.RULE(),t.RADIO(["STIXlocal","STIX (local)"],"font",{action:h.Font})),t.SUBMENU(["ContextMenu","Contextual Menu"],{hidden:!k.showContext},t.RADIO("MathJax","context"),t.RADIO(["Browser","Browser"],"context")),t.COMMAND(["Scale","Scale All Math ..."],h.Scale),t.RULE().With({hidden:!k.showDiscoverable,name:["","discover_rule"]}),t.CHECKBOX(["Discoverable","Highlight on Hover"],"discoverable",{hidden:!k.showDiscoverable})),t.SUBMENU(["Locale","Language"],{hidden:!k.showLocale},t.RADIO("en","locale",{action:h.Locale}),t.RULE().With({hidden:!k.showLocaleURL,name:["","localURL_rule"]}),t.COMMAND(["LoadLocale","Load from URL ..."],h.LoadLocale,{hidden:!k.showLocaleURL})),t.RULE(),t.COMMAND(["About","About MathJax"],h.About),t.COMMAND(["Help","MathJax Help"],h.Help));if(h.isMobile){var f=k.settings,b=h.menu.Find("Math Settings","Zoom Trigger").menu;b.items[0].disabled=b.items[1].disabled=!0;if("Hover"===f.zoom||"Click"==f.zoom)f.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=k.showRenderer=a;h.saveCookie();h.menu.Find("Math Settings","Math Renderer").hidden=!a};h.showMathPlayer=function(a){h.cookie.showMathPlayer=k.showMathPlayer=a;h.saveCookie();h.menu.Find("Math Settings","MathPlayer").hidden=!a};h.showFontMenu=function(a){h.cookie.showFontMenu=k.showFontMenu=a;h.saveCookie();h.menu.Find("Math Settings","Font Preference").hidden=!a};h.showContext=function(a){h.cookie.showContext=k.showContext=a;h.saveCookie();h.menu.Find("Math Settings","Contextual Menu").hidden=!a};h.showDiscoverable=function(a){h.cookie.showDiscoverable=k.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=k.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)});d.Queue(c.Register.StartupHook("End Config",{}),["getImages",h],["Styles",b,k.styles],["Post",c.Startup.signal,"MathMenu Ready"],["loadComplete",b,"[MathJax]/extensions/MathMenu.js"])})(MathJax.Hub,MathJax.HTML,MathJax.Ajax,MathJax.CallBack,MathJax.OutputJax);MathJax.ElementJax.mml=MathJax.ElementJax({mimeType:"jax/mml"},{id:"mml",version:"2.2",directory:MathJax.ElementJax.directory+"/mml",extensionDir:MathJax.ElementJax.extensionDir+"/mml",optableDir:MathJax.ElementJax.directory+"/mml/optable"});MathJax.ElementJax.mml.Augment({Init:function(){this.root=1===arguments.length&&"math"===arguments[0].type?arguments[0]:MathJax.ElementJax.mml.math.apply(this,arguments);if(this.root.attr&&this.root.attr.mode){this.root.display||"display"!==this.root.attr.mode||(this.root.display="block",this.root.attrNames.push("display"));delete this.root.attr.mode;for(var c=0,e=this.root.attrNames.length;c<e;c++)if("mode"===this.root.attrNames[c]){this.root.attrNames.splice(c,1);break}}}},{INHERIT:"_inherit_",AUTO:"_auto_",SIZE:{INFINITY:"infinity",SMALL:"small",NORMAL:"normal",BIG:"big"},COLOR:{TRANSPARENT:"transparent"},VARIANT:{NORMAL:"normal",BOLD:"bold",ITALIC:"italic",BOLDITALIC:"bold-italic",DOUBLESTRUCK:"double-struck",FRAKTUR:"fraktur",BOLDFRAKTUR:"bold-fraktur",SCRIPT:"script",BOLDSCRIPT:"bold-script",SANSSERIF:"sans-serif",BOLDSANSSERIF:"bold-sans-serif",SANSSERIFITALIC:"sans-serif-italic",SANSSERIFBOLDITALIC:"sans-serif-bold-italic",MONOSPACE:"monospace",INITIAL:"inital",TAILED:"tailed",LOOPED:"looped",STRETCHED:"stretched",CALIGRAPHIC:"-tex-caligraphic",OLDSTYLE:"-tex-oldstyle"},FORM:{PREFIX:"prefix",INFIX:"infix",POSTFIX:"postfix"},LINEBREAK:{AUTO:"auto",NEWLINE:"newline",NOBREAK:"nobreak",GOODBREAK:"goodbreak",BADBREAK:"badbreak"},LINEBREAKSTYLE:{BEFORE:"before",AFTER:"after",DUPLICATE:"duplicate",INFIXLINBREAKSTYLE:"infixlinebreakstyle"},INDENTALIGN:{LEFT:"left",CENTER:"center",RIGHT:"right",AUTO:"auto",ID:"id",INDENTALIGN:"indentalign"},INDENTSHIFT:{INDENTSHIFT:"indentshift"},LINETHICKNESS:{THIN:"thin",MEDIUM:"medium",THICK:"thick"},NOTATION:{LONGDIV:"longdiv",ACTUARIAL:"actuarial",RADICAL:"radical",BOX:"box",ROUNDEDBOX:"roundedbox",CIRCLE:"circle",LEFT:"left",RIGHT:"right",TOP:"top",BOTTOM:"bottom",UPDIAGONALSTRIKE:"updiagonalstrike",DOWNDIAGONALSTRIKE:"downdiagonalstrike",VERTICALSTRIKE:"verticalstrike",HORIZONTALSTRIKE:"horizontalstrike",MADRUWB:"madruwb"},ALIGN:{TOP:"top",BOTTOM:"bottom",CENTER:"center",BASELINE:"baseline",AXIS:"axis",LEFT:"left",RIGHT:"right"},LINES:{NONE:"none",SOLID:"solid",DASHED:"dashed"},SIDE:{LEFT:"left",RIGHT:"right",LEFTOVERLAP:"leftoverlap",RIGHTOVERLAP:"rightoverlap"},WIDTH:{AUTO:"auto",FIT:"fit"},ACTIONTYPE:{TOGGLE:"toggle",STATUSLINE:"statusline",TOOLTIP:"tooltip",INPUT:"input"},LENGTH:{VERYVERYTHINMATHSPACE:"veryverythinmathspace",VERYTHINMATHSPACE:"verythinmathspace",THINMATHSPACE:"thinmathspace",MEDIUMMATHSPACE:"mediummathspace",THICKMATHSPACE:"thickmathspace",VERYTHICKMATHSPACE:"verythickmathspace",VERYVERYTHICKMATHSPACE:"veryverythickmathspace",NEGATIVEVERYVERYTHINMATHSPACE:"negativeveryverythinmathspace",NEGATIVEVERYTHINMATHSPACE:"negativeverythinmathspace",NEGATIVETHINMATHSPACE:"negativethinmathspace",NEGATIVEMEDIUMMATHSPACE:"negativemediummathspace",NEGATIVETHICKMATHSPACE:"negativethickmathspace",NEGATIVEVERYTHICKMATHSPACE:"negativeverythickmathspace",NEGATIVEVERYVERYTHICKMATHSPACE:"negativeveryverythickmathspace"},OVERFLOW:{LINBREAK:"linebreak",SCROLL:"scroll",ELIDE:"elide",TRUNCATE:"truncate",SCALE:"scale"},UNIT:{EM:"em",EX:"ex",PX:"px",IN:"in",CM:"cm",MM:"mm",PT:"pt",PC:"pc"},TEXCLASS:{ORD:0,OP:1,BIN:2,REL:3,OPEN:4,CLOSE:5,PUNCT:6,INNER:7,VCENTER:8,NONE:-1},TEXCLASSNAMES:"ORD OP BIN REL OPEN CLOSE PUNCT INNER VCENTER".split(" "),copyAttributes:{fontfamily:!0,fontsize:!0,fontweight:!0,fontstyle:!0,color:!0,background:!0,id:!0,"class":!0,href:!0,style:!0},skipAttributes:{texClass:!0,useHeight:!0,texprimestyle:!0},copyAttributeNames:"fontfamily fontsize fontweight fontstyle color background id class href style".split(" ")});(function(c){c.mbase=MathJax.Object.Subclass({type:"base",isToken:!1,defaults:{mathbackground:c.INHERIT,mathcolor:c.INHERIT},noInherit:{},noInheritAttribute:{texClass:!0},linebreakContainer:!1,Init:function(){this.data=[];!this.inferRow||1===arguments.length&&arguments[0].inferred||this.Append(c.mrow().With({inferred:!0,notParent:!0}));this.Append.apply(this,arguments)},With:function(c){for(var b in c)c.hasOwnProperty(b)&&(this[b]=c[b]);return this},Append:function(){if(this.inferRow&&this.data.length)this.data[0].Append.apply(this.data[0],arguments);else for(var c=0,b=arguments.length;c<b;c++)this.SetData(this.data.length,arguments[c])},SetData:function(b,e){null!=e&&(e instanceof c.mbase||(e=this.isToken?c.chars(e):c.mtext(e)),e.parent=this,e.setInherit(this.inheritFromMe?this:this.inherit));this.data[b]=e},Parent:function(){for(var c=this.parent;c&&c.notParent;)c=c.parent;return c},Get:function(b,e){if(null!=this[b])return this[b];if(this.attr&&null!=this.attr[b])return this.attr[b];var m=this.Parent();if(m&&null!=m["adjustChild_"+b])return m["adjustChild_"+b](this.childPosition(),e);for(var l=m=this.inherit;m;){l=m[b];null==l&&m.attr&&(l=m.attr[b]);if(null!=l&&m.noInheritAttribute&&!m.noInheritAttribute[b]){var q=m.noInherit[this.type];if(!q||!q[b])return l}l=m;m=m.inherit}if(!e){if(this.defaults[b]===c.AUTO)return this.autoDefault(b);if(this.defaults[b]!==c.INHERIT&&null!=this.defaults[b])return this.defaults[b];if(l)return l.defaults[b]}return null},hasValue:function(c){return null!=this.Get(c,!0)},getValues:function(){for(var c={},b=0,e=arguments.length;b<e;b++)c[arguments[b]]=this.Get(arguments[b]);return c},adjustChild_scriptlevel:function(c,b){return this.Get("scriptlevel",b)},adjustChild_displaystyle:function(c,b){return this.Get("displaystyle",b)},adjustChild_texprimestyle:function(c,b){return this.Get("texprimestyle",b)},childPosition:function(){for(var c=this,b=c.parent;b.notParent;)c=b,b=c.parent;for(var e=0,l=b.data.length;e<l;e++)if(b.data[e]===c)return e;return null},setInherit:function(c){if(c!==this.inherit&&null==this.inherit){this.inherit=c;for(var b=0,e=this.data.length;b<e;b++)this.data[b]&&this.data[b].setInherit&&this.data[b].setInherit(c)}},setTeXclass:function(b){this.getPrevClass(b);return"undefined"!==typeof this.texClass?this:b},getPrevClass:function(b){b&&(this.prevClass=b.Get("texClass"),this.prevLevel=b.Get("scriptlevel"))},updateTeXclass:function(b){b&&(this.prevClass=b.prevClass,delete b.prevClass,this.prevLevel=b.prevLevel,delete b.prevLevel,this.texClass=b.Get("texClass"))},texSpacing:function(){var b=null!=this.prevClass?this.prevClass:c.TEXCLASS.NONE,e=this.Get("texClass")||c.TEXCLASS.ORD;if(b===c.TEXCLASS.NONE||e===c.TEXCLASS.NONE)return"";b===c.TEXCLASS.VCENTER&&(b=c.TEXCLASS.ORD);e===c.TEXCLASS.VCENTER&&(e=c.TEXCLASS.ORD);b=this.TEXSPACE[b][e];return 0<this.prevLevel&&0<this.Get("scriptlevel")&&0<=b?"":this.TEXSPACELENGTH[Math.abs(b)]},TEXSPACELENGTH:["",c.LENGTH.THINMATHSPACE,c.LENGTH.MEDIUMMATHSPACE,c.LENGTH.THICKMATHSPACE],TEXSPACE:[[0,-1,2,3,0,0,0,1],[-1,-1,0,3,0,0,0,1],[2,2,0,0,2,0,0,2],[3,3,0,0,3,0,0,3],[0,0,0,0,0,0,0,0],[0,-1,2,3,0,0,0,1],[1,1,0,1,1,1,1,1],[1,-1,2,3,1,0,1,1]],autoDefault:function(b){return""},isSpacelike:function(){return!1},isEmbellished:function(){return!1},Core:function(){return this},CoreMO:function(){return this},hasNewline:function(){if(this.isEmbellished())return this.CoreMO().hasNewline();if(this.isToken||this.linebreakContainer)return!1;for(var b=0,c=this.data.length;b<c;b++)if(this.data[b]&&this.data[b].hasNewline())return!0;return!1},array:function(){return this.inferred?this.data:[this]},toString:function(){return this.type+"("+this.data.join(",")+")"}},{childrenSpacelike:function(){for(var b=0,c=this.data.length;b<c;b++)if(!this.data[b].isSpacelike())return!1;return!0},childEmbellished:function(){return this.data[0]&&this.data[0].isEmbellished()},childCore:function(){return this.data[0]},childCoreMO:function(){return this.data[0]?this.data[0].CoreMO():null},setChildTeXclass:function(b){this.data[0]&&(b=this.data[0].setTeXclass(b),this.updateTeXclass(this.data[0]));return b},setBaseTeXclasses:function(b){this.getPrevClass(b);this.texClass=null;this.data[0]?this.isEmbellished()||this.data[0].isa(c.mi)?(b=this.data[0].setTeXclass(b),this.updateTeXclass(this.Core())):(this.data[0].setTeXclass(),b=this):b=this;for(var e=1,m=this.data.length;e<m;e++)this.data[e]&&this.data[e].setTeXclass();return b},setSeparateTeXclasses:function(b){this.getPrevClass(b);b=0;for(var c=this.data.length;b<c;b++)this.data[b]&&this.data[b].setTeXclass();this.isEmbellished()&&this.updateTeXclass(this.Core());return this}});c.mi=c.mbase.Subclass({type:"mi",isToken:!0,texClass:c.TEXCLASS.ORD,defaults:{mathvariant:c.AUTO,mathsize:c.INHERIT,mathbackground:c.INHERIT,mathcolor:c.INHERIT},autoDefault:function(b){return"mathvariant"===b?(b=(this.data[0]||"").toString(),1===b.length||2===b.length&&55296<=b.charCodeAt(0)&&56320>b.charCodeAt(0)?c.VARIANT.ITALIC:c.VARIANT.NORMAL):""},setTeXclass:function(b){this.getPrevClass(b);b=this.data.join("");1<b.length&&b.match(/^[a-z][a-z0-9]*$/i)&&this.texClass===c.TEXCLASS.ORD&&(this.texClass=c.TEXCLASS.OP,this.autoOP=!0);return this}});c.mn=c.mbase.Subclass({type:"mn",isToken:!0,texClass:c.TEXCLASS.ORD,defaults:{mathvariant:c.INHERIT,mathsize:c.INHERIT,mathbackground:c.INHERIT,mathcolor:c.INHERIT}});c.mo=c.mbase.Subclass({type:"mo",isToken:!0,defaults:{mathvariant:c.INHERIT,mathsize:c.INHERIT,mathbackground:c.INHERIT,mathcolor:c.INHERIT,form:c.AUTO,fence:c.AUTO,separator:c.AUTO,lspace:c.AUTO,rspace:c.AUTO,stretchy:c.AUTO,symmetric:c.AUTO,maxsize:c.AUTO,minsize:c.AUTO,largeop:c.AUTO,movablelimits:c.AUTO,accent:c.AUTO,linebreak:c.LINEBREAK.AUTO,lineleading:c.INHERIT,linebreakstyle:c.AUTO,linebreakmultchar:c.INHERIT,indentalign:c.INHERIT,indentshift:c.INHERIT,indenttarget:c.INHERIT,indentalignfirst:c.INHERIT,indentshiftfirst:c.INHERIT,indentalignlast:c.INHERIT,indentshiftlast:c.INHERIT,texClass:c.AUTO},defaultDef:{form:c.FORM.INFIX,fence:!1,separator:!1,lspace:c.LENGTH.THICKMATHSPACE,rspace:c.LENGTH.THICKMATHSPACE,stretchy:!1,symmetric:!0,maxsize:c.SIZE.INFINITY,minsize:"0em",largeop:!1,movablelimits:!1,accent:!1,linebreak:c.LINEBREAK.AUTO,lineleading:"1ex",linebreakstyle:"before",indentalign:c.INDENTALIGN.AUTO,indentshift:"0",indenttarget:"",indentalignfirst:c.INDENTALIGN.INDENTALIGN,indentshiftfirst:c.INDENTSHIFT.INDENTSHIFT,indentalignlast:c.INDENTALIGN.INDENTALIGN,indentshiftlast:c.INDENTSHIFT.INDENTSHIFT,texClass:c.TEXCLASS.REL},SPACE_ATTR:{lspace:1,rspace:2,form:4},useMMLspacing:7,autoDefault:function(b,e){var m=this.def;if(!m){if("form"===b)return this.useMMLspacing&=~this.SPACE_ATTR.form,this.getForm();for(var l=this.data.join(""),q=[this.Get("form"),c.FORM.INFIX,c.FORM.POSTFIX,c.FORM.PREFIX],r=0,a=q.length;r<a;r++){var f=this.OPTABLE[q[r]][l];if(f){m=this.makeDef(f);break}}m||(m=this.CheckRange(l));!m&&e?m={}:(m||(m=MathJax.Hub.Insert({},this.defaultDef)),m.form=q[0],this.def=m)}this.useMMLspacing&=~(this.SPACE_ATTR[b]||0);return null!=m[b]?m[b]:e?"":this.defaultDef[b]},CheckRange:function(b){var e=b.charCodeAt(0);55296<=e&&56320>e&&(e=(e-55296<<10)+(b.charCodeAt(1)-56320)+65536);for(var m=0,l=this.RANGES.length;m<l&&this.RANGES[m][0]<=e;m++)if(e<=this.RANGES[m][1])return this.RANGES[m][3]&&(e=c.optableDir+"/"+this.RANGES[m][3]+".js",this.RANGES[m][3]=null,MathJax.Hub.RestartAfter(MathJax.Ajax.Require(e))),m=c.TEXCLASSNAMES[this.RANGES[m][2]],m=this.OPTABLE.infix[b]=c.mo.OPTYPES["BIN"===m?"BIN3":m],this.makeDef(m);return null},makeDef:function(b){null==b[2]&&(b[2]=this.defaultDef.texClass);b[3]||(b[3]={});var e=MathJax.Hub.Insert({},b[3]);e.lspace=this.SPACE[b[0]];e.rspace=this.SPACE[b[1]];e.texClass=b[2];e.texClass===c.TEXCLASS.REL&&(this.movablelimits||this.data.join("").match(/^[a-z]+$/i))&&(e.texClass=c.TEXCLASS.OP);return e},getForm:function(){for(var b=this,e=this.parent,m=this.Parent();m&&m.isEmbellished();)b=e,e=m.parent,m=m.Parent();if(e&&"mrow"===e.type&&1!==e.NonSpaceLength()){if(e.FirstNonSpace()===b)return c.FORM.PREFIX;if(e.LastNonSpace()===b)return c.FORM.POSTFIX}return c.FORM.INFIX},isEmbellished:function(){return!0},hasNewline:function(){return this.Get("linebreak")===c.LINEBREAK.NEWLINE},setTeXclass:function(b){this.getValues("lspace","rspace");if(this.useMMLspacing)return this.texClass=c.TEXCLASS.NONE,this;this.texClass=this.Get("texClass");return"\u2061"===this.data.join("")?(b&&(b.texClass=c.TEXCLASS.OP),this.texClass=this.prevClass=c.TEXCLASS.NONE,b):this.adjustTeXclass(b)},adjustTeXclass:function(b){if(this.texClass===c.TEXCLASS.NONE)return b;b?(!b.autoOP||this.texClass!==c.TEXCLASS.BIN&&this.texClass!==c.TEXCLASS.REL||(b.texClass=c.TEXCLASS.ORD),this.prevClass=b.texClass||c.TEXCLASS.ORD,this.prevLevel=b.Get("scriptlevel")):this.prevClass=c.TEXCLASS.NONE;this.texClass!==c.TEXCLASS.BIN||this.prevClass!==c.TEXCLASS.NONE&&this.prevClass!==c.TEXCLASS.BIN&&this.prevClass!==c.TEXCLASS.OP&&this.prevClass!==c.TEXCLASS.REL&&this.prevClass!==c.TEXCLASS.OPEN&&this.prevClass!==c.TEXCLASS.PUNCT?this.prevClass!==c.TEXCLASS.BIN||this.texClass!==c.TEXCLASS.REL&&this.texClass!==c.TEXCLASS.CLOSE&&this.texClass!==c.TEXCLASS.PUNCT||(b.texClass=this.prevClass=c.TEXCLASS.ORD):this.texClass=c.TEXCLASS.ORD;return this}});c.mtext=c.mbase.Subclass({type:"mtext",isToken:!0,isSpacelike:function(){return!0},texClass:c.TEXCLASS.ORD,defaults:{mathvariant:c.INHERIT,mathsize:c.INHERIT,mathbackground:c.INHERIT,mathcolor:c.INHERIT}});c.mspace=c.mbase.Subclass({type:"mspace",isToken:!0,isSpacelike:function(){return!0},defaults:{mathbackground:c.INHERIT,mathcolor:c.INHERIT,width:"0em",height:"0ex",depth:"0ex",linebreak:c.LINEBREAK.AUTO},hasDimAttr:function(){return this.hasValue("width")||this.hasValue("height")||this.hasValue("depth")},hasNewline:function(){return!this.hasDimAttr()&&this.Get("linebreak")===c.LINEBREAK.NEWLINE}});c.ms=c.mbase.Subclass({type:"ms",isToken:!0,texClass:c.TEXCLASS.ORD,defaults:{mathvariant:c.INHERIT,mathsize:c.INHERIT,mathbackground:c.INHERIT,mathcolor:c.INHERIT,lquote:'"',rquote:'"'}});c.mglyph=c.mbase.Subclass({type:"mglyph",isToken:!0,texClass:c.TEXCLASS.ORD,defaults:{mathbackground:c.INHERIT,mathcolor:c.INHERIT,alt:"",src:"",width:c.AUTO,height:c.AUTO,valign:"0em"}});c.mrow=c.mbase.Subclass({type:"mrow",isSpacelike:c.mbase.childrenSpacelike,inferred:!1,notParent:!1,isEmbellished:function(){for(var b=!1,c=0,e=this.data.length;c<e;c++)if(null!=this.data[c])if(this.data[c].isEmbellished()){if(b)return!1;b=!0;this.core=c}else if(!this.data[c].isSpacelike())return!1;return b},NonSpaceLength:function(){for(var b=0,c=0,e=this.data.length;c<e;c++)this.data[c]&&!this.data[c].isSpacelike()&&b++;return b},FirstNonSpace:function(){for(var b=0,c=this.data.length;b<c;b++)if(this.data[b]&&!this.data[b].isSpacelike())return this.data[b];return null},LastNonSpace:function(){for(var b=this.data.length-1;0<=b;b--)if(this.data[0]&&!this.data[b].isSpacelike())return this.data[b];return null},Core:function(){return this.isEmbellished()&&"undefined"!==typeof this.core?this.data[this.core]:this},CoreMO:function(){return this.isEmbellished()&&"undefined"!==typeof this.core?this.data[this.core].CoreMO():this},toString:function(){return this.inferred?"["+this.data.join(",")+"]":this.SUPER(arguments).toString.call(this)},setTeXclass:function(b){for(var c=0,e=this.data.length;c<e;c++)this.data[c]&&(b=this.data[c].setTeXclass(b));this.data[0]&&this.updateTeXclass(this.data[0]);return b}});c.mfrac=c.mbase.Subclass({type:"mfrac",num:0,den:1,linebreakContainer:!0,texClass:c.TEXCLASS.INNER,isEmbellished:c.mbase.childEmbellished,Core:c.mbase.childCore,CoreMO:c.mbase.childCoreMO,defaults:{mathbackground:c.INHERIT,mathcolor:c.INHERIT,linethickness:c.LINETHICKNESS.MEDIUM,numalign:c.ALIGN.CENTER,denomalign:c.ALIGN.CENTER,bevelled:!1},adjustChild_displaystyle:function(b){return!1},adjustChild_scriptlevel:function(b){b=this.Get("scriptlevel");(!this.Get("displaystyle")||0<b)&&b++;return b},adjustChild_texprimestyle:function(b){return b==this.den?!0:this.Get("texprimestyle")},setTeXclass:c.mbase.setSeparateTeXclasses});c.msqrt=c.mbase.Subclass({type:"msqrt",inferRow:!0,linebreakContainer:!0,texClass:c.TEXCLASS.ORD,setTeXclass:c.mbase.setSeparateTeXclasses,adjustChild_texprimestyle:function(b){return!0}});c.mroot=c.mbase.Subclass({type:"mroot",linebreakContainer:!0,texClass:c.TEXCLASS.ORD,adjustChild_displaystyle:function(b){return 1===b?!1:this.Get("displaystyle")},adjustChild_scriptlevel:function(b){var c=this.Get("scriptlevel");1===b&&(c+=2);return c},adjustChild_texprimestyle:function(b){return 0===b?!0:this.Get("texprimestyle")},setTeXclass:c.mbase.setSeparateTeXclasses});c.mstyle=c.mbase.Subclass({type:"mstyle",isSpacelike:c.mbase.childrenSpacelike,isEmbellished:c.mbase.childEmbellished,Core:c.mbase.childCore,CoreMO:c.mbase.childCoreMO,inferRow:!0,defaults:{scriptlevel:c.INHERIT,displaystyle:c.INHERIT,scriptsizemultiplier:Math.sqrt(.5),scriptminsize:"8pt",mathbackground:c.INHERIT,mathcolor:c.INHERIT,infixlinebreakstyle:c.LINEBREAKSTYLE.BEFORE,decimalseparator:"."},adjustChild_scriptlevel:function(b){b=this.scriptlevel;if(null==b)b=this.Get("scriptlevel");else if(String(b).match(/^ *[-+]/)){delete this.scriptlevel;var c=this.Get("scriptlevel");this.scriptlevel=b;b=c+parseInt(b)}return b},inheritFromMe:!0,noInherit:{mpadded:{width:!0,height:!0,depth:!0,lspace:!0,voffset:!0},mtable:{width:!0,height:!0,depth:!0,align:!0}},setTeXclass:c.mbase.setChildTeXclass});c.merror=c.mbase.Subclass({type:"merror",inferRow:!0,linebreakContainer:!0,texClass:c.TEXCLASS.ORD});c.mpadded=c.mbase.Subclass({type:"mpadded",inferRow:!0,isSpacelike:c.mbase.childrenSpacelike,isEmbellished:c.mbase.childEmbellished,Core:c.mbase.childCore,CoreMO:c.mbase.childCoreMO,defaults:{mathbackground:c.INHERIT,mathcolor:c.INHERIT,width:"",height:"",depth:"",lspace:0,voffset:0},setTeXclass:c.mbase.setChildTeXclass});c.mphantom=c.mbase.Subclass({type:"mphantom",texClass:c.TEXCLASS.ORD,inferRow:!0,isSpacelike:c.mbase.childrenSpacelike,isEmbellished:c.mbase.childEmbellished,Core:c.mbase.childCore,CoreMO:c.mbase.childCoreMO,setTeXclass:c.mbase.setChildTeXclass});c.mfenced=c.mbase.Subclass({type:"mfenced",defaults:{mathbackground:c.INHERIT,mathcolor:c.INHERIT,open:"(",close:")",separators:","},texClass:c.TEXCLASS.OPEN,setTeXclass:function(b){this.getPrevClass(b);var e=this.getValues("open","close","separators");e.open=e.open.replace(/[ \t\n\r]/g,"");e.close=e.close.replace(/[ \t\n\r]/g,"");e.separators=e.separators.replace(/[ \t\n\r]/g,"");""!==e.open&&(this.SetData("open",c.mo(e.open).With({stretchy:!0,texClass:c.TEXCLASS.OPEN})),b=this.data.open.setTeXclass(b));if(""!==e.separators)for(;e.separators.length<this.data.length;)e.separators+=e.separators.charAt(e.separators.length-1);this.data[0]&&(b=this.data[0].setTeXclass(b));for(var m=1,l=this.data.length;m<l;m++)this.data[m]&&(""!==e.separators&&(this.SetData("sep"+m,c.mo(e.separators.charAt(m-1))),b=this.data["sep"+m].setTeXclass(b)),b=this.data[m].setTeXclass(b));""!==e.close&&(this.SetData("close",c.mo(e.close).With({stretchy:!0,texClass:c.TEXCLASS.CLOSE})),b=this.data.close.setTeXclass(b));this.updateTeXclass(this.data.open);return b}});c.menclose=c.mbase.Subclass({type:"menclose",inferRow:!0,linebreakContainer:!0,defaults:{mathbackground:c.INHERIT,mathcolor:c.INHERIT,notation:c.NOTATION.LONGDIV,texClass:c.TEXCLASS.ORD},setTeXclass:c.mbase.setSeparateTeXclasses});c.msubsup=c.mbase.Subclass({type:"msubsup",base:0,sub:1,sup:2,isEmbellished:c.mbase.childEmbellished,Core:c.mbase.childCore,CoreMO:c.mbase.childCoreMO,defaults:{mathbackground:c.INHERIT,mathcolor:c.INHERIT,subscriptshift:"",superscriptshift:"",texClass:c.AUTO},autoDefault:function(b){return"texClass"===b?this.isEmbellished()?this.CoreMO().Get(b):c.TEXCLASS.ORD:0},adjustChild_displaystyle:function(b){return 0<b?!1:this.Get("displaystyle")},adjustChild_scriptlevel:function(b){var c=this.Get("scriptlevel");0<b&&c++;return c},adjustChild_texprimestyle:function(b){return b===this.sub?!0:this.Get("texprimestyle")},setTeXclass:c.mbase.setBaseTeXclasses});c.msub=c.msubsup.Subclass({type:"msub"});c.msup=c.msubsup.Subclass({type:"msup",sub:2,sup:1});c.mmultiscripts=c.msubsup.Subclass({type:"mmultiscripts",adjustChild_texprimestyle:function(b){return 1===b%2?!0:this.Get("texprimestyle")}});c.mprescripts=c.mbase.Subclass({type:"mprescripts"});c.none=c.mbase.Subclass({type:"none"});c.munderover=c.mbase.Subclass({type:"munderover",base:0,under:1,over:2,sub:1,sup:2,ACCENTS:["","accentunder","accent"],linebreakContainer:!0,isEmbellished:c.mbase.childEmbellished,Core:c.mbase.childCore,CoreMO:c.mbase.childCoreMO,defaults:{mathbackground:c.INHERIT,mathcolor:c.INHERIT,accent:c.AUTO,accentunder:c.AUTO,align:c.ALIGN.CENTER,texClass:c.AUTO,subscriptshift:"",superscriptshift:""},autoDefault:function(b){return"texClass"===b?this.isEmbellished()?this.CoreMO().Get(b):c.TEXCLASS.ORD:"accent"===b&&this.data[this.over]?this.data[this.over].CoreMO().Get("accent"):"accentunder"===b&&this.data[this.under]?this.data[this.under].CoreMO().Get("accent"):!1},adjustChild_displaystyle:function(b){return 0<b?!1:this.Get("displaystyle")},adjustChild_scriptlevel:function(b){var c=this.Get("scriptlevel"),e=this.data[this.base]&&!this.Get("displaystyle")&&this.data[this.base].CoreMO().Get("movablelimits");b!=this.under||!e&&this.Get("accentunder")||c++;b!=this.over||!e&&this.Get("accent")||c++;return c},adjustChild_texprimestyle:function(b){return b===this.base&&this.data[this.over]?!0:this.Get("texprimestyle")},setTeXclass:c.mbase.setBaseTeXclasses});c.munder=c.munderover.Subclass({type:"munder"});c.mover=c.munderover.Subclass({type:"mover",over:1,under:2,sup:1,sub:2,ACCENTS:["","accent","accentunder"]});c.mtable=c.mbase.Subclass({type:"mtable",defaults:{mathbackground:c.INHERIT,mathcolor:c.INHERIT,align:c.ALIGN.AXIS,rowalign:c.ALIGN.BASELINE,columnalign:c.ALIGN.CENTER,groupalign:"{left}",alignmentscope:!0,columnwidth:c.WIDTH.AUTO,width:c.WIDTH.AUTO,rowspacing:"1ex",columnspacing:".8em",rowlines:c.LINES.NONE,columnlines:c.LINES.NONE,frame:c.LINES.NONE,framespacing:"0.4em 0.5ex",equalrows:!1,equalcolumns:!1,displaystyle:!1,side:c.SIDE.RIGHT,minlabelspacing:"0.8em",texClass:c.TEXCLASS.ORD,useHeight:1},inheritFromMe:!0,noInherit:{mover:{align:!0},munder:{align:!0},munderover:{align:!0},mtable:{align:!0,rowalign:!0,columnalign:!0,groupalign:!0,alignmentscope:!0,columnwidth:!0,width:!0,rowspacing:!0,columnspacing:!0,rowlines:!0,columnlines:!0,frame:!0,framespacing:!0,equalrows:!0,equalcolumns:!0,side:!0,minlabelspacing:!0,texClass:!0,useHeight:1}},linebreakContainer:!0,Append:function(){for(var b=0,e=arguments.length;b<e;b++)arguments[b]instanceof c.mtr||arguments[b]instanceof c.mlabeledtr||(arguments[b]=c.mtd(arguments[b]));this.SUPER(arguments).Append.apply(this,arguments)},setTeXclass:c.mbase.setSeparateTeXclasses});c.mtr=c.mbase.Subclass({type:"mtr",defaults:{mathbackground:c.INHERIT,mathcolor:c.INHERIT,rowalign:c.INHERIT,columnalign:c.INHERIT,groupalign:c.INHERIT},inheritFromMe:!0,noInherit:{mrow:{rowalign:!0,columnalign:!0,groupalign:!0},mtable:{rowalign:!0,columnalign:!0,groupalign:!0}},linebreakContainer:!0,Append:function(){for(var b=0,e=arguments.length;b<e;b++)arguments[b]instanceof c.mtd||(arguments[b]=c.mtd(arguments[b]));this.SUPER(arguments).Append.apply(this,arguments)},setTeXclass:c.mbase.setSeparateTeXclasses});c.mtd=c.mbase.Subclass({type:"mtd",inferRow:!0,linebreakContainer:!0,isEmbellished:c.mbase.childEmbellished,Core:c.mbase.childCore,CoreMO:c.mbase.childCoreMO,defaults:{mathbackground:c.INHERIT,mathcolor:c.INHERIT,rowspan:1,columnspan:1,rowalign:c.INHERIT,columnalign:c.INHERIT,groupalign:c.INHERIT},setTeXclass:c.mbase.setSeparateTeXclasses});c.maligngroup=c.mbase.Subclass({type:"malign",isSpacelike:function(){return!0},defaults:{mathbackground:c.INHERIT,mathcolor:c.INHERIT,groupalign:c.INHERIT},inheritFromMe:!0,noInherit:{mrow:{groupalign:!0},mtable:{groupalign:!0}}});c.malignmark=c.mbase.Subclass({type:"malignmark",defaults:{mathbackground:c.INHERIT,mathcolor:c.INHERIT,edge:c.SIDE.LEFT},isSpacelike:function(){return!0}});c.mlabeledtr=c.mtr.Subclass({type:"mlabeledtr"});c.maction=c.mbase.Subclass({type:"maction",defaults:{mathbackground:c.INHERIT,mathcolor:c.INHERIT,actiontype:c.ACTIONTYPE.TOGGLE,selection:1},selected:function(){return this.data[this.Get("selection")-1]||c.NULL},isEmbellished:function(){return this.selected().isEmbellished()},isSpacelike:function(){return this.selected().isSpacelike()},Core:function(){return this.selected().Core()},CoreMO:function(){return this.selected().CoreMO()},setTeXclass:function(b){this.Get("actiontype")===c.ACTIONTYPE.TOOLTIP&&this.data[1]&&this.data[1].setTeXclass();return this.selected().setTeXclass(b)}});c.semantics=c.mbase.Subclass({type:"semantics",notParent:!0,isEmbellished:c.mbase.childEmbellished,Core:c.mbase.childCore,CoreMO:c.mbase.childCoreMO,defaults:{definitionURL:null,encoding:null},setTeXclass:c.mbase.setChildTeXclass});c.annotation=c.mbase.Subclass({type:"annotation",isToken:!0,linebreakContainer:!0,defaults:{definitionURL:null,encoding:null,cd:"mathmlkeys",name:"",src:null}});c["annotation-xml"]=c.mbase.Subclass({type:"annotation-xml",linebreakContainer:!0,defaults:{definitionURL:null,encoding:null,cd:"mathmlkeys",name:"",src:null}});c.math=c.mstyle.Subclass({type:"math",defaults:{mathvariant:c.VARIANT.NORMAL,mathsize:c.SIZE.NORMAL,mathcolor:"",mathbackground:c.COLOR.TRANSPARENT,scriptlevel:0,displaystyle:c.AUTO,display:"inline",maxwidth:"",overflow:c.OVERFLOW.LINEBREAK,altimg:"","altimg-width":"","altimg-height":"","altimg-valign":"",alttext:"",cdgroup:"",scriptsizemultiplier:Math.sqrt(.5),scriptminsize:"8px",infixlinebreakstyle:c.LINEBREAKSTYLE.BEFORE,lineleading:"1ex",indentshift:"auto",indentalign:c.INDENTALIGN.AUTO,indentalignfirst:c.INDENTALIGN.INDENTALIGN,indentshiftfirst:c.INDENTSHIFT.INDENTSHIFT,indentalignlast:c.INDENTALIGN.INDENTALIGN,indentshiftlast:c.INDENTSHIFT.INDENTSHIFT,decimalseparator:".",texprimestyle:!1},autoDefault:function(b){return"displaystyle"===b?"block"===this.Get("display"):""},linebreakContainer:!0,setTeXclass:c.mbase.setChildTeXclass});c.chars=c.mbase.Subclass({type:"chars",Append:function(){this.data.push.apply(this.data,arguments)},value:function(){return this.data.join("")},toString:function(){return this.data.join("")}});c.entity=c.mbase.Subclass({type:"entity",Append:function(){this.data.push.apply(this.data,arguments)},value:function(){return"#x"===this.data[0].substr(0,2)?parseInt(this.data[0].substr(2),16):"#"===this.data[0].substr(0,1)?parseInt(this.data[0].substr(1)):0},toString:function(){var b=this.value();if(65535>=b)return String.fromCharCode(b);b-=65536;return String.fromCharCode((b>>10)+55296)+String.fromCharCode((b&1023)+56320)}});c.xml=c.mbase.Subclass({type:"xml",Init:function(){this.div=document.createElement("div");return this.SUPER(arguments).Init.apply(this,arguments)},Append:function(){for(var b=0,c=arguments.length;b<c;b++){var e=this.Import(arguments[b]);this.data.push(e);this.div.appendChild(e)}},Import:function(b){if(document.importNode)return document.importNode(b,!0);var c,e,l;if(1===b.nodeType){c=document.createElement(b.nodeName);e=0;for(l=b.attributes.length;e<l;e++){var q=b.attributes[e];q.specified&&null!=q.nodeValue&&""!=q.nodeValue&&c.setAttribute(q.nodeName,q.nodeValue);"style"===q.nodeName&&(c.style.cssText=q.nodeValue)}b.className&&(c.className=b.className)}else if(3===b.nodeType||4===b.nodeType)c=document.createTextNode(b.nodeValue);else if(8===b.nodeType)c=document.createComment(b.nodeValue);else return document.createTextNode("");e=0;for(l=b.childNodes.length;e<l;e++)c.appendChild(this.Import(b.childNodes[e]));return c},value:function(){return this.div},toString:function(){return this.div.innerHTML}});c.TeXAtom=c.mbase.Subclass({type:"texatom",inferRow:!0,notParent:!0,texClass:c.TEXCLASS.ORD,Core:c.mbase.childCore,CoreMO:c.mbase.childCoreMO,isEmbellished:c.mbase.childEmbellished,setTeXclass:function(b){this.data[0].setTeXclass();return this.adjustTeXclass(b)},adjustTeXclass:c.mo.prototype.adjustTeXclass});c.NULL=c.mbase().With({type:"null"});var e=c.TEXCLASS,b={ORD:[0,0,e.ORD],ORD11:[1,1,e.ORD],ORD21:[2,1,e.ORD],ORD02:[0,2,e.ORD],ORD55:[5,5,e.ORD],OP:[1,2,e.OP,{largeop:!0,movablelimits:!0,symmetric:!0}],OPFIXED:[1,2,e.OP,{largeop:!0,movablelimits:!0}],INTEGRAL:[0,1,e.OP,{largeop:!0,symmetric:!0}],INTEGRAL2:[1,2,e.OP,{largeop:!0,symmetric:!0}],BIN3:[3,3,e.BIN],BIN4:[4,4,e.BIN],BIN01:[0,1,e.BIN],BIN5:[5,5,e.BIN],TALLBIN:[4,4,e.BIN,{stretchy:!0}],BINOP:[4,4,e.BIN,{largeop:!0,movablelimits:!0}],REL:[5,5,e.REL],REL1:[1,1,e.REL,{stretchy:!0}],REL4:[4,4,e.REL],RELSTRETCH:[5,5,e.REL,{stretchy:!0}],RELACCENT:[5,5,e.REL,{accent:!0}],WIDEREL:[5,5,e.REL,{accent:!0,stretchy:!0}],OPEN:[0,0,e.OPEN,{fence:!0,stretchy:!0,symmetric:!0}],CLOSE:[0,0,e.CLOSE,{fence:!0,stretchy:!0,symmetric:!0}],INNER:[0,0,e.INNER],PUNCT:[0,3,e.PUNCT],ACCENT:[0,0,e.ORD,{accent:!0}],WIDEACCENT:[0,0,e.ORD,{accent:!0,stretchy:!0}]};c.mo.Augment({SPACE:"0em 0.1111em 0.1667em 0.2222em 0.2667em 0.3333em".split(" "),RANGES:[[32,127,e.REL,"BasicLatin"],[160,255,e.ORD,"Latin1Supplement"],[256,383,e.ORD],[384,591,e.ORD],[688,767,e.ORD,"SpacingModLetters"],[768,879,e.ORD,"CombDiacritMarks"],[880,1023,e.ORD,"GreekAndCoptic"],[7680,7935,e.ORD],[8192,8303,e.PUNCT,"GeneralPunctuation"],[8304,8351,e.ORD],[8352,8399,e.ORD],[8400,8447,e.ORD,"CombDiactForSymbols"],[8448,8527,e.ORD,"LetterlikeSymbols"],[8528,8591,e.ORD],[8592,8703,e.REL,"Arrows"],[8704,8959,e.BIN,"MathOperators"],[8960,9215,e.ORD,"MiscTechnical"],[9312,9471,e.ORD],[9472,9631,e.ORD],[9632,9727,e.ORD,"GeometricShapes"],[9984,10175,e.ORD,"Dingbats"],[10176,10223,e.ORD,"MiscMathSymbolsA"],[10224,10239,e.REL,"SupplementalArrowsA"],[10496,10623,e.REL,"SupplementalArrowsB"],[10624,10751,e.ORD,"MiscMathSymbolsB"],[10752,11007,e.BIN,"SuppMathOperators"],[11008,11263,e.ORD,"MiscSymbolsAndArrows"],[119808,120831,e.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,e.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,e.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,e.ORD],"\u2022":b.BIN4,"\u2026":b.INNER,"\u2044":b.TALLBIN,"\u2061":b.ORD,"\u2062":b.ORD,"\u2063":[0,0,e.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,e.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,e.PUNCT,{linebreakstyle:"after",separator:!0}],"-":b.BIN4,".":[3,3,e.ORD],"/":b.ORD11,":":[1,2,e.REL],";":[0,3,e.PUNCT,{linebreakstyle:"after",separator:!0}],"\x3c":b.REL,"\x3d":b.REL,"\x3e":b.REL,"?":[1,1,e.CLOSE],"\\":b.ORD,"^":b.ORD11,_:b.ORD11,"|":[2,2,e.ORD,{fence:!0,stretchy:!0,symmetric:!0}],"#":b.ORD,$:b.ORD,".":[0,3,e.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,e.ORD,{stretchy:!0}],"\u2017":[0,0,e.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,e.ORD,{stretchy:!0}],"\u23b0":b.OPEN,"\u23b1":b.CLOSE,"\u2500":b.ORD,"\u25ef":b.BIN3,"\u2660":b.ORD,"\u2661":b.ORD,"\u2662":b.ORD,"\u2663":b.ORD,"\u3008":b.OPEN,"\u3009":b.CLOSE,"\ufe37":b.WIDEACCENT,"\ufe38":b.WIDEACCENT}}},{OPTYPES:b});c.mo.prototype.OPTABLE.infix["^"]=b.WIDEREL;c.mo.prototype.OPTABLE.infix._=b.WIDEREL})(MathJax.ElementJax.mml);MathJax.ElementJax.mml.loadComplete("jax.js");MathJax.Hub.Register.LoadHook("[MathJax]/jax/element/mml/jax.js",function(){var c=MathJax.ElementJax.mml;SETTINGS=MathJax.Hub.config.menuSettings;c.mbase.Augment({toMathML:function(c){var b=this.inferred&&this.parent.inferRow;null==c&&(c="");var d=this.type,n=this.toMathMLattributes();if("mspace"===d)return c+"\x3c"+d+n+" /\x3e";for(var m=[],l=this.isToken?"":c+(b?"":" "),q=0,r=this.data.length;q<r;q++)this.data[q]?m.push(this.data[q].toMathML(l)):this.isToken||m.push(l+"\x3cmrow /\x3e");return this.isToken?c+"\x3c"+d+n+"\x3e"+m.join("")+"\x3c/"+d+"\x3e":b?m.join("\n"):0===m.length||1===m.length&&""===m[0]?c+"\x3c"+d+n+" /\x3e":c+"\x3c"+d+n+"\x3e\n"+m.join("\n")+"\n"+c+"\x3c/"+d+"\x3e"},toMathMLattributes:function(){var e=[],b=this.defaults,d=this.attrNames||c.copyAttributeNames,n=c.skipAttributes;"math"!==this.type||this.attr&&this.attr.xmlns||e.push('xmlns\x3d"http://www.w3.org/1998/Math/MathML"');if(!this.attrNames){"mstyle"===this.type&&(b=c.math.prototype.defaults);for(var m in b)if(!n[m]&&b.hasOwnProperty(m)){var l="open"===m||"close"===m;if(null!=this[m]&&(l||this[m]!==b[m])){var q=this[m];delete this[m];(l||this.Get(m)!==q)&&e.push(m+'\x3d"'+this.toMathMLattribute(q)+'"');this[m]=q}}}b=0;for(n=d.length;b<n;b++)"class"!==d[b]&&(q=(this.attr||{})[d[b]],null==q&&(q=this[d[b]]),null!=q&&e.push(d[b]+'\x3d"'+this.toMathMLquote(q)+'"'));this.toMathMLclass(e);return e.length?" "+e.join(" "):""},toMathMLclass:function(e){var b=[];this["class"]&&b.push(this["class"]);if(this.isa(c.TeXAtom)&&SETTINGS.texHints){var d="ORD OP BIN REL OPEN CLOSE PUNCT INNER VCENTER".split(" ")[this.texClass];d&&b.push("MJX-TeXAtom-"+d)}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&&e.unshift('class\x3d"'+b.join(" ")+'"')},toMathMLattribute:function(c){return"string"===typeof c&&c.replace(/ /g,"").match(/^(([-+])?(\d+(\.\d*)?|\.\d+))mu$/)?RegExp.$2+(1/18*RegExp.$3).toFixed(3).replace(/\.?0+$/,"")+"em":this.toMathMLvariants[c]?this.toMathMLvariants[c]:this.toMathMLquote(c)},toMathMLvariants:{"-tex-caligraphic":c.VARIANT.SCRIPT,"-tex-caligraphic-bold":c.VARIANT.BOLDSCRIPT,"-tex-oldstyle":c.VARIANT.NORMAL,"-tex-oldstyle-bold":c.VARIANT.BOLD,"-tex-mathit":c.VARIANT.ITALIC},toMathMLquote:function(c){c=String(c).split("");for(var b=0,d=c.length;b<d;b++){var n=c[b].charCodeAt(0);if(55295>=n||57344<=n)32>n||126<n?c[b]="\x26#x"+n.toString(16).toUpperCase()+";":(n={"\x26":"\x26amp;","\x3c":"\x26lt;","\x3e":"\x26gt;",'"':"\x26quot;"}[c[b]])&&(c[b]=n);else if(b+1<d){var m=c[b+1].charCodeAt(0);c[b]="\x26#x"+((n-55296<<10)+(m-56320)+65536).toString(16).toUpperCase()+";";c[b+1]="";b++}else c[b]=""}return c.join("")}});c.msubsup.Augment({toMathML:function(c){var b=this.type;null==this.data[this.sup]&&(b="msub");null==this.data[this.sub]&&(b="msup");var d=this.toMathMLattributes();delete this.data[0].inferred;for(var n=[],m=0,l=this.data.length;m<l;m++)this.data[m]&&n.push(this.data[m].toMathML(c+" "));return c+"\x3c"+b+d+"\x3e\n"+n.join("\n")+"\n"+c+"\x3c/"+b+"\x3e"}});c.munderover.Augment({toMathML:function(c){var b=this.type;null==this.data[this.under]&&(b="mover");null==this.data[this.over]&&(b="munder");var d=this.toMathMLattributes();delete this.data[0].inferred;for(var n=[],m=0,l=this.data.length;m<l;m++)this.data[m]&&n.push(this.data[m].toMathML(c+" "));return c+"\x3c"+b+d+"\x3e\n"+n.join("\n")+"\n"+c+"\x3c/"+b+"\x3e"}});c.TeXAtom.Augment({toMathML:function(c){var b=this.toMathMLattributes();return b||1!==this.data[0].data.length?c+"\x3cmrow"+b+"\x3e\n"+this.data[0].toMathML(c+" ")+"\n"+c+"\x3c/mrow\x3e":c.substr(2)+this.data[0].toMathML(c)}});c.chars.Augment({toMathML:function(c){return(c||"")+this.toMathMLquote(this.toString())}});c.entity.Augment({toMathML:function(c){return(c||"")+"\x26"+this.data[0]+";\x3c!-- "+this.toString()+" --\x3e"}});c.xml.Augment({toMathML:function(c){return(c||"")+this.toString()}});MathJax.Hub.Register.StartupHook("TeX mathchoice Ready",function(){c.TeXmathchoice.Augment({toMathML:function(c){return this.Core().toMathML(c)}})});MathJax.Hub.Startup.signal.Post("toMathML Ready")});MathJax.Ajax.loadComplete("[MathJax]/extensions/toMathML.js");(function(c,e){var b=c.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};c.Register.StartupHook("TeX Jax Ready",function(){var d=MathJax.InputJax.TeX.formatError;MathJax.InputJax.TeX.Augment({formatError:function(e,m,l,q){if(b.disabled)return d.apply(this,arguments);var r=e.message.replace(/\n.*/,"");c.signal.Post(["TeX Jax - parse error",r,m,l,q]);var r=b.inlineDelimiters,a=l||b.multiLine;l||(m=r[0]+m+r[1]);m=a?m.replace(/ /g,"\u00a0"):m.replace(/\n/g," ");return MathJax.ElementJax.mml.merror(m).With({isError:!0,multiLine:a})}})});c.Register.StartupHook("HTML-CSS Jax Config",function(){c.Config({"HTML-CSS":{styles:{".MathJax .noError":c.Insert({"vertical-align":c.Browser.isMSIE&&b.multiLine?"-2px":""},b.style)}}})});c.Register.StartupHook("HTML-CSS Jax Ready",function(){var b=MathJax.ElementJax.mml,c=MathJax.OutputJax["HTML-CSS"],e=b.math.prototype.toHTML,l=b.merror.prototype.toHTML;b.math.Augment({toHTML:function(b,c){var a=this.data[0];a&&a.data[0]&&a.data[0].isError?(b.style.fontSize="",b=this.HTMLcreateSpan(b),b.bbox=a.data[0].toHTML(b).bbox):b=e.call(this,b,c);return b}});b.merror.Augment({toHTML:function(b){if(!this.isError)return l.call(this,b);b=this.HTMLcreateSpan(b);b.className="noError";this.multiLine&&(b.style.display="inline-block");for(var d=this.data[0].data[0].data.join("").split(/\n/),a=0,f=d.length;a<f;a++)c.addText(b,d[a]),a!==f-1&&c.addElement(b,"br",{isMathJax:!0});d=c.getHD(b.parentNode);a=c.getW(b.parentNode);if(1<f){var f=(d.h+d.d)/2,k=c.TeX.x_height/2;b.parentNode.style.verticalAlign=c.Em(d.d+(k-f));d.h=k+f;d.d=f-k}b.bbox={h:d.h,d:d.d,w:a,lw:0,rw:a};return b}})});c.Register.StartupHook("SVG Jax Config",function(){c.Config({SVG:{styles:{".MathJax_SVG .noError":c.Insert({"vertical-align":c.Browser.isMSIE&&b.multiLine?"-2px":""},b.style)}}})});c.Register.StartupHook("SVG Jax Ready",function(){var b=MathJax.ElementJax.mml,c=b.math.prototype.toSVG,m=b.merror.prototype.toSVG;b.math.Augment({toSVG:function(b,d){var e=this.data[0];return b=e&&e.data[0]&&e.data[0].isError?e.data[0].toSVG(b):c.call(this,b,d)}});b.merror.Augment({toSVG:function(b){if(!this.isError||"math"!==this.Parent().type)return m.call(this,b);b=e.addElement(b,"span",{className:"noError",isMathJax:!0});this.multiLine&&(b.style.display="inline-block");for(var c=this.data[0].data[0].data.join("").split(/\n/),d=0,a=c.length;d<a;d++)e.addText(b,c[d]),d!==a-1&&e.addElement(b,"br",{isMathJax:!0});1<a&&(c=b.offsetHeight/2,b.style.verticalAlign=-c+c/a+"px");return b}})});c.Register.StartupHook("NativeMML Jax Ready",function(){var b=MathJax.ElementJax.mml,c=MathJax.Extension["TeX/noErrors"].config,e=b.math.prototype.toNativeMML,l=b.merror.prototype.toNativeMML;b.math.Augment({toNativeMML:function(b){var c=this.data[0];return b=c&&c.data[0]&&c.data[0].isError?c.data[0].toNativeMML(b):e.call(this,b)}});b.merror.Augment({toNativeMML:function(b){if(!this.isError)return l.call(this,b);b=b.appendChild(document.createElement("span"));for(var d=this.data[0].data[0].data.join("").split(/\n/),a=0,f=d.length;a<f;a++)b.appendChild(document.createTextNode(d[a])),a!==f-1&&b.appendChild(document.createElement("br"));this.multiLine&&(b.style.display="inline-block",1<f&&(b.style.verticalAlign="middle"));for(var k in c.style)c.style.hasOwnProperty(k)&&(d=k.replace(/-./g,function(a){return a.charAt(1).toUpperCase()}),b.style[d]=c.style[k]);return b}})});c.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 c=MathJax.Extension["TeX/noUndefined"].config,e=MathJax.ElementJax.mml,b=MathJax.InputJax.TeX.Parse.prototype.csUndefined;MathJax.InputJax.TeX.Parse.Augment({csUndefined:function(d){if(c.disabled)return b.apply(this,arguments);MathJax.Hub.signal.Post(["TeX Jax - undefined control sequence",d]);this.Push(e.mtext(d).With(c.attributes))}});MathJax.Hub.Startup.signal.Post("TeX noUndefined Ready")});MathJax.Ajax.loadComplete("[MathJax]/extensions/TeX/noUndefined.js");(function(c,e,b){var d,n=function(a){return MathJax.Localization._.apply(MathJax.Localization,[["TeX",a]].concat([].slice.call(arguments,1)))},m=MathJax.Object.Subclass({Init:function(a,f){this.global={isInner:f};this.data=[l.start(this.global)];a&&(this.data[0].env=a);this.env=this.data[0].env},Push:function(){var a,f,b,c;a=0;for(f=arguments.length;a<f;a++)if(b=arguments[a],b instanceof d.mbase&&(b=l.mml(b)),b.global=this.global,c=this.data.length?this.Top().checkItem(b):!0,c instanceof Array)this.Pop(),this.Push.apply(this,c);else if(c instanceof l)this.Pop(),this.Push(c);else if(c)if(this.data.push(b),b.env){for(var g in this.env)this.env.hasOwnProperty(g)&&(b.env[g]=this.env[g]);this.env=b.env}else b.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 f=this.Top();return a?f.data[f.data.length-1]:f.Pop()},toString:function(){return"stack[\n "+this.data.join("\n ")+"\n]"}}),l=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,f){null==a&&(a=!0);return 1!==this.data.length||f?d.mrow.apply(d,this.data).With(a?{inferred:!0}:{}):this.data[0]},checkItem:function(a){"over"===a.type&&this.isOpen&&(a.num=this.mmlData(!1),this.data=[]);if("cell"===a.type&&this.isOpen){if(a.linebreak)return!1;c.Error(["Misplaced","Misplaced %1",a.name])}a.isClose&&this[a.type+"Error"]&&c.Error(this[a.type+"Error"]);if(!a.isNotStack)return!0;this.Push(a.data[0]);return!1},With:function(a){for(var f in a)a.hasOwnProperty(f)&&(this[f]=a[f]);return this},toString:function(){return this.type+"["+this.data.join("; ")+"]"}});l.start=l.Subclass({type:"start",isOpen:!0,Init:function(a){this.SUPER(arguments).Init.call(this);this.global=a},checkItem:function(a){return"stop"===a.type?l.mml(this.mmlData()):this.SUPER(arguments).checkItem.call(this,a)}});l.stop=l.Subclass({type:"stop",isClose:!0});l.open=l.Subclass({type:"open",isOpen:!0,stopError:["ExtraOpenMissingClose","Extra open brace or missing close brace"],checkItem:function(a){if("close"===a.type){var f=this.mmlData();return l.mml(d.TeXAtom(f))}return this.SUPER(arguments).checkItem.call(this,a)}});l.close=l.Subclass({type:"close",isClose:!0});l.prime=l.Subclass({type:"prime",checkItem:function(a){if("msubsup"!==this.data[0].type)return[d.msup(this.data[0],this.data[1]),a];this.data[0].SetData(this.data[0].sup,this.data[1]);return[this.data[0],a]}});l.subsup=l.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(a){if("open"===a.type||"left"===a.type)return!0;if("mml"===a.type)return this.primes&&(2!==this.position?this.data[0].SetData(2,this.primes):a.data[0]=d.mrow(this.primes.With({variantForm:!0}),a.data[0])),this.data[0].SetData(this.position,a.data[0]),l.mml(this.data[0]);this.SUPER(arguments).checkItem.call(this,a)&&c.Error(this[["","subError","supError"][this.position]])},Pop:function(){}});l.over=l.Subclass({type:"over",isClose:!0,name:"\\over",checkItem:function(a,f){"over"===a.type&&c.Error(["AmbiguousUseOf","Ambiguous use of %1",a.name]);if(a.isClose){var b=d.mfrac(this.num,this.mmlData(!1));null!=this.thickness&&(b.linethickness=this.thickness);if(this.open||this.close)b.texClass=d.TEXCLASS.INNER,b.texWithDelims=!0,b=c.fenced(this.open,b,this.close);return[l.mml(b),a]}return this.SUPER(arguments).checkItem.call(this,a)},toString:function(){return"over["+this.num+" / "+this.data.join("; ")+"]"}});l.left=l.Subclass({type:"left",isOpen:!0,delim:"(",stopError:["ExtraLeftMissingRight","Extra \\left or missing \\right"],checkItem:function(a){return"right"===a.type?l.mml(c.fenced(this.delim,this.mmlData(),a.delim)):this.SUPER(arguments).checkItem.call(this,a)}});l.right=l.Subclass({type:"right",isClose:!0,delim:")"});l.begin=l.Subclass({type:"begin",isOpen:!0,checkItem:function(a){if("end"===a.type)return a.name!==this.name&&c.Error(["EnvBadEnd","\\begin{%1} ended with \\end{%2}",this.name,a.name]),this.end?this.parse[this.end].call(this.parse,this,this.data):l.mml(this.mmlData());"stop"===a.type&&c.Error(["EnvMissingEnd","Missing \\end{%1}",this.name]);return this.SUPER(arguments).checkItem.call(this,a)}});l.end=l.Subclass({type:"end",isClose:!0});l.style=l.Subclass({type:"style",checkItem:function(a){if(!a.isClose)return this.SUPER(arguments).checkItem.call(this,a);var f=d.mstyle.apply(d,this.data).With(this.styles);return[l.mml(f),a]}});l.position=l.Subclass({type:"position",checkItem:function(a){a.isClose&&c.Error(["MissingBoxFor","Missing box for %1",name]);if(a.isNotStack){var f=a.mmlData();switch(this.move){case "vertical":return f=d.mpadded(f).With({height:this.dh,depth:this.dd,voffset:this.dh}),[l.mml(f)];case "horizontal":return[l.mml(this.left),a,l.mml(this.right)]}}return this.SUPER(arguments).checkItem.call(this,a)}});l.array=l.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(a){if(a.isClose&&"over"!==a.type){if(a.isEntry)return this.EndEntry(),this.clearEnv(),!1;if(a.isCR)return this.EndEntry(),this.EndRow(),this.clearEnv(),!1;this.EndTable();this.clearEnv();var f=d.mtable.apply(d,this.table).With(this.arraydef);4===this.frame.length?f.frame=this.frame.dashed?"dashed":"solid":this.frame.length&&(f.hasFrame=!0,this.arraydef.rowlines&&(this.arraydef.rowlines=this.arraydef.rowlines.replace(/none( none)+$/,"none")),f=d.menclose(f).With({notation:this.frame.join(" "),isFrame:!0}),"none"!=(this.arraydef.columnlines||"none")||"none"!=(this.arraydef.rowlines||"none"))&&(f.padding=0);if(this.open||this.close)f=c.fenced(this.open,f,this.close);f=l.mml(f);if(this.requireClose){if("close"===a.type)return f;c.Error(["MissingCloseBrace","Missing close brace"])}return[f,a]}return this.SUPER(arguments).checkItem.call(this,a)},EndEntry:function(){this.row.push(d.mtd.apply(d,this.data));this.data=[]},EndRow:function(){this.table.push(d.mtr.apply(d,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]}});l.cell=l.Subclass({type:"cell",isClose:!0});l.mml=l.Subclass({type:"mml",isNotStack:!0,Add:function(){this.data.push.apply(this.data,arguments);return this}});l.fn=l.Subclass({type:"fn",checkItem:function(a){if(this.data[0]){if("mml"!==a.type||!a.data[0]||a.data[0].isa(d.mspace))return[this.data[0],a];var f=a.data[0];f.isEmbellished()&&(f=f.CoreMO());return[0,0,1,1,0,1,1,0,0,0][f.Get("texClass")]?[this.data[0],a]:[this.data[0],d.mo(d.entity("#x2061")).With({texClass:d.TEXCLASS.NONE}),a]}return this.SUPER(arguments).checkItem.apply(this,arguments)}});l.not=l.Subclass({type:"not",checkItem:function(a){var f,b;if("open"===a.type||"left"===a.type)return!0;if("mml"===a.type&&a.data[0].type.match(/^(mo|mi|mtext)$/)&&(f=a.data[0],b=f.data.join(""),1===b.length&&!f.movesupsub))return(b=l.not.remap[b.charCodeAt(0)])?f.SetData(0,d.chars(String.fromCharCode(b))):f.Append(d.chars("\u0338")),a;f=d.mpadded(d.mtext("\u29f8")).With({width:0});f=d.TeXAtom(f).With({texClass:d.TEXCLASS.REL});return[f,a]}});l.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};l.dots=l.Subclass({type:"dots",checkItem:function(a){if("open"===a.type||"left"===a.type)return!0;var f=this.ldots;if("mml"===a.type&&a.data[0].isEmbellished()){var b=a.data[0].CoreMO().Get("texClass");if(b===d.TEXCLASS.BIN||b===d.TEXCLASS.REL)f=this.cdots}return[f,a]}});var q={Add:function(a,f,b){f||(f=this);for(var c in a)a.hasOwnProperty(c)&&("object"!==typeof a[c]||a[c]instanceof Array||"object"!==typeof f[c]&&"function"!==typeof f[c]?f[c]&&f[c].isUser&&b||(f[c]=a[c]):this.Add(a[c],f[c],a[c],b));return f}},r=MathJax.Object.Subclass({Init:function(a,f){this.string=a;this.macroCount=this.i=0;var b;if(f){b={};for(var p in f)f.hasOwnProperty(p)&&(b[p]=f[p])}this.stack=c.Stack(b,!!f);this.Parse();this.Push(l.stop())},Parse:function(){for(var a,f;this.i<this.string.length;)if(a=this.string.charAt(this.i++),f=a.charCodeAt(0),55296<=f&&56320>f&&(a+=this.string.charAt(this.i++)),q.special[a])this[q.special[a]](a);else q.letter.test(a)?this.Variable(a):q.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 f=this.GetCS(),b=this.csFindMacro(f);if(b){b instanceof Array||(b=[b]);var c=b[0];c instanceof Function||(c=this[c]);c.apply(this,[a+f].concat(b.slice(1)))}else q.mathchar0mi[f]?this.csMathchar0mi(f,q.mathchar0mi[f]):q.mathchar0mo[f]?this.csMathchar0mo(f,q.mathchar0mo[f]):q.mathchar7[f]?this.csMathchar7(f,q.mathchar7[f]):null!=q.delimiter["\\"+f]?this.csDelimiter(f,q.delimiter["\\"+f]):this.csUndefined(a+f)},csFindMacro:function(a){return q.macros[a]},csMathchar0mi:function(a,f){var b={mathvariant:d.VARIANT.ITALIC};f instanceof Array&&(b=f[1],f=f[0]);this.Push(this.mmlToken(d.mi(d.entity("#x"+f)).With(b)))},csMathchar0mo:function(a,f){var b={stretchy:!1};f instanceof Array&&(b=f[1],b.stretchy=!1,f=f[0]);this.Push(this.mmlToken(d.mo(d.entity("#x"+f)).With(b)))},csMathchar7:function(a,f){var b={mathvariant:d.VARIANT.NORMAL};f instanceof Array&&(b=f[1],f=f[0]);this.stack.env.font&&(b.mathvariant=this.stack.env.font);this.Push(this.mmlToken(d.mi(d.entity("#x"+f)).With(b)))},csDelimiter:function(a,f){var b={};f instanceof Array&&(b=f[1],f=f[0]);f=4===f.length?d.entity("#x"+f):d.chars(f);this.Push(this.mmlToken(d.mo(f).With({fence:!1,stretchy:!1}).With(b)))},csUndefined:function(a){c.Error(["UndefinedControlSequence","Undefined control sequence %1",a])},Variable:function(a){var f={};this.stack.env.font&&(f.mathvariant=this.stack.env.font);this.Push(this.mmlToken(d.mi(d.chars(a)).With(f)))},Number:function(a){var f=this.string.slice(this.i-1).match(q.number);f?(a=d.mn(f[0].replace(/[{}]/g,"")),this.i+=f[0].length-1):a=d.mo(d.chars(a));this.stack.env.font&&(a.mathvariant=this.stack.env.font);this.Push(this.mmlToken(a))},Open:function(a){this.Push(l.open())},Close:function(a){this.Push(l.close())},Tilde:function(a){this.Push(d.mtext(d.chars("\u00a0")))},Space:function(a){},Superscript:function(a){this.GetNext().match(/\d/)&&(this.string=this.string.substr(0,this.i+1)+" "+this.string.substr(this.i+1));var f,b;f=this.stack.Top();"prime"===f.type?(a=f.data[0],b=f.data[1],this.stack.Pop()):(a=this.stack.Prev())||(a=d.mi(""));a.isEmbellishedWrapper&&(a=a.data[0].data[0]);if("msubsup"===a.type)a.data[a.sup]&&c.Error(["DoubleExponent","Double exponent: use braces to clarify"]),f=a.sup;else if(a.movesupsub){if("munderover"!==a.type||a.data[a.over])a.movablelimits&&a.isa(d.mi)&&(a=this.mi2mo(a)),a=d.munderover(a,null,null).With({movesupsub:!0});f=a.over}else a=d.msubsup(a,null,null),f=a.sup;this.Push(l.subsup(a).With({position:f,primes:b}))},Subscript:function(a){this.GetNext().match(/\d/)&&(this.string=this.string.substr(0,this.i+1)+" "+this.string.substr(this.i+1));var f,b;f=this.stack.Top();"prime"===f.type?(a=f.data[0],b=f.data[1],this.stack.Pop()):(a=this.stack.Prev())||(a=d.mi(""));a.isEmbellishedWrapper&&(a=a.data[0].data[0]);if("msubsup"===a.type)a.data[a.sub]&&c.Error(["DoubleSubscripts","Double subscripts: use braces to clarify"]),f=a.sub;else if(a.movesupsub){if("munderover"!==a.type||a.data[a.under])a.movablelimits&&a.isa(d.mi)&&(a=this.mi2mo(a)),a=d.munderover(a,null,null).With({movesupsub:!0});f=a.under}else a=d.msubsup(a,null,null),f=a.sub;this.Push(l.subsup(a).With({position:f,primes:b}))},PRIME:"\u2032",SMARTQUOTE:"\u2019",Prime:function(a){var f=this.stack.Prev();f||(f=d.mi());"msubsup"===f.type&&f.data[f.sup]&&c.Error(["DoubleExponentPrime","Prime causes double exponent: use braces to clarify"]);var b="";this.i--;do b+=this.PRIME,this.i++,a=this.GetNext();while("'"===a||a===this.SMARTQUOTE);b=["","\u2032","\u2033","\u2034","\u2057"][b.length]||b;this.Push(l.prime(f,this.mmlToken(d.mo(b))))},mi2mo:function(a){var f=d.mo();f.Append.apply(f,a.data);for(var b in f.defaults)f.defaults.hasOwnProperty(b)&&null!=a[b]&&(f[b]=a[b]);for(b in d.copyAttributes)d.copyAttributes.hasOwnProperty(b)&&null!=a[b]&&(f[b]=a[b]);return f},Comment:function(a){for(;this.i<this.string.length&&"\n"!=this.string.charAt(this.i);)this.i++},Hash:function(a){c.Error(["CantUseHash1","You can't use 'macro parameter character #' in math mode"])},Other:function(a){var f={stretchy:!1};this.stack.env.font&&(f.mathvariant=this.stack.env.font);q.remap[a]?(a=q.remap[a],a instanceof Array&&(f=a[1],a=a[0]),a=d.mo(d.entity("#x"+a)).With(f)):a=d.mo(a).With(f);""==a.autoDefault("texClass",!0)&&(a=d.TeXAtom(a));this.Push(this.mmlToken(a))},SetFont:function(a,f){this.stack.env.font=f},SetStyle:function(a,f,b,c){this.stack.env.style=f;this.stack.env.level=c;this.Push(l.style().With({styles:{displaystyle:b,scriptlevel:c}}))},SetSize:function(a,f){this.stack.env.size=f;this.Push(l.style().With({styles:{mathsize:f+"em"}}))},Color:function(a){var f=this.GetArgument(a),b=this.stack.env.color;this.stack.env.color=f;a=this.ParseArg(a);b?this.stack.env.color:delete this.stack.env.color;this.Push(d.mstyle(a).With({mathcolor:f}))},Spacer:function(a,f){this.Push(d.mspace().With({width:f,mathsize:d.SIZE.NORMAL,scriptlevel:0}))},LeftRight:function(a){this.Push(l[a.substr(1)]().With({delim:this.GetDelimiter(a)}))},Middle:function(a){var f=this.GetDelimiter(a);"left"!==this.stack.Top().type&&c.Error(["MisplacedMiddle","%1 must be within \\left and \\right",a]);this.Push(d.mo(f).With({stretchy:!0}))},NamedFn:function(a,f){f||(f=a.substr(1));var b=d.mi(f).With({texClass:d.TEXCLASS.OP});this.Push(l.fn(this.mmlToken(b)))},NamedOp:function(a,f){f||(f=a.substr(1));f=f.replace(/ /,"\u2006");var b=d.mo(f).With({movablelimits:!0,movesupsub:!0,form:d.FORM.PREFIX,texClass:d.TEXCLASS.OP});b.useMMLspacing&=~b.SPACE_ATTR.form;this.Push(this.mmlToken(b))},Limits:function(a,f){var b=this.stack.Prev("nopop");b&&b.texClass===d.TEXCLASS.OP||c.Error(["MisplacedLimits","%1 is allowed only on operators",a]);b.movesupsub=f?!0:!1;b.movablelimits=!1},Over:function(a,f,b){var c=l.over().With({name:a});f||b?(c.open=f,c.close=b):a.match(/withdelims$/)&&(c.open=this.GetDelimiter(a),c.close=this.GetDelimiter(a));if(a.match(/^\\above/))c.thickness=this.GetDimen(a);else if(a.match(/^\\atop/)||f||b)c.thickness=0;this.Push(c)},Frac:function(a){var f=this.ParseArg(a);a=this.ParseArg(a);this.Push(d.mfrac(f,a))},Sqrt:function(a){var f=this.GetBrackets(a);a=this.GetArgument(a);"\\frac"===a&&(a+="{"+this.GetArgument(a)+"}{"+this.GetArgument(a)+"}");a=c.Parse(a,this.stack.env).mml();a=f?d.mroot(a,this.parseRoot(f)):d.msqrt.apply(d,a.array());this.Push(a)},Root:function(a){var f=this.GetUpTo(a,"\\of");a=this.ParseArg(a);this.Push(d.mroot(a,this.parseRoot(f)))},parseRoot:function(a){var f=this.stack.env,b=f.inRoot;f.inRoot=!0;var p=c.Parse(a,f);a=p.mml();p=p.stack.global;if(p.leftRoot||p.upRoot)a=d.mpadded(a),p.leftRoot&&(a.width=p.leftRoot),p.upRoot&&(a.voffset=p.upRoot,a.height=p.upRoot);f.inRoot=b;return a},MoveRoot:function(a,f){this.stack.env.inRoot||c.Error(["MisplacedMoveRoot","%1 can appear only within a root",a]);this.stack.global[f]&&c.Error(["MultipleMoveRoot","Multiple use of %1",a]);var b=this.GetArgument(a);b.match(/-?[0-9]+/)||c.Error(["IntegerArg","The argument to %1 must be an integer",a]);b=b/15+"em";"-"!==b.substr(0,1)&&(b="+"+b);this.stack.global[f]=b},Accent:function(a,f,b){a=this.ParseArg(a);var c={accent:!0};this.stack.env.font&&(c.mathvariant=this.stack.env.font);f=this.mmlToken(d.mo(d.entity("#x"+f)).With(c));f.stretchy=b?!0:!1;this.Push(d.TeXAtom(d.munderover(a,null,f).With({accent:!0})))},UnderOver:function(a,f,b){var c={o:"over",u:"under"}[a.charAt(1)];a=this.ParseArg(a);a.Get("movablelimits")&&(a.movablelimits=!1);a=d.munderover(a,null,null);b&&(a.movesupsub=!0);a.data[a[c]]=this.mmlToken(d.mo(d.entity("#x"+f)).With({stretchy:!0,accent:"under"==c}));this.Push(a)},Overset:function(a){var f=this.ParseArg(a);a=this.ParseArg(a);this.Push(d.mover(a,f))},Underset:function(a){var f=this.ParseArg(a);a=this.ParseArg(a);this.Push(d.munder(a,f))},TeXAtom:function(a,f){var b={texClass:f};if(f==d.TEXCLASS.OP){b.movesupsub=b.movablelimits=!0;var p=this.GetArgument(a),g=p.match(/^\s*\\rm\s+([a-zA-Z0-9 ]+)$/);g?(b.mathvariant=d.VARIANT.NORMAL,b=l.fn(this.mmlToken(d.mi(g[1]).With(b)))):b=l.fn(d.TeXAtom(c.Parse(p,this.stack.env).mml()).With(b))}else b=d.TeXAtom(this.ParseArg(a)).With(b);this.Push(b)},MmlToken:function(a){var f=this.GetArgument(a),b=this.GetBrackets(a,"").replace(/^\s+/,"");a=this.GetArgument(a);var p={attrNames:[]},g;for(d[f]&&d[f].prototype.isToken||c.Error(["NotMathMLToken","%1 is not a token element",f]);""!==b;){(g=b.match(/^([a-z]+)\s*=\s*(\'[^']*'|"[^"]*"|[^ ]*)\s*/i))||c.Error("InvalidMathMLAttr","Invalid MathML attribute: %1",b);d[f].prototype.defaults[g[1]]||this.MmlTokenAllow[g[1]]||c.Error(["UnknownAttrForElement","%1 is not a recognized attribute for %2",g[1],f]);var h=this.MmlFilterAttribute(g[1],g[2].replace(/^(['"])(.*)\1$/,"$2"));h&&("true"===h.toLowerCase()?h=!0:"false"===h.toLowerCase()&&(h=!1),p[g[1]]=h,p.attrNames.push(g[1]));b=b.substr(g[0].length)}this.Push(this.mmlToken(d[f](a).With(p)))},MmlFilterAttribute:function(a,f){return f},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(d.mpadded(d.mrow()).With({height:"8.6pt",depth:"3pt",width:0}))},Phantom:function(a,f,b){a=d.mphantom(this.ParseArg(a));if(f||b)a=d.mpadded(a),b&&(a.height=a.depth=0),f&&(a.width=0);this.Push(d.TeXAtom(a))},Smash:function(a){var f=this.trimSpaces(this.GetBrackets(a,""));a=d.mpadded(this.ParseArg(a));switch(f){case "b":a.depth=0;break;case "t":a.height=0;break;default:a.height=a.depth=0}this.Push(d.TeXAtom(a))},Lap:function(a){var f=d.mpadded(this.ParseArg(a)).With({width:0});"\\llap"===a&&(f.lspace="-1 width");this.Push(d.TeXAtom(f))},RaiseLower:function(a){var f=this.GetDimen(a),b=l.position().With({name:a,move:"vertical"});"-"===f.charAt(0)&&(f=f.slice(1),a={raise:"\\lower",lower:"\\raise"}[a.substr(1)]);"\\lower"===a?(b.dh="-"+f,b.dd="+"+f):(b.dh="+"+f,b.dd="-"+f);this.Push(b)},MoveLeftRight:function(a){var f=this.GetDimen(a),b="-"===f.charAt(0)?f.slice(1):"-"+f;if("\\moveleft"===a)var c=f,f=b,b=c;this.Push(l.position().With({name:a,move:"horizontal",left:d.mspace().With({width:f,mathsize:d.SIZE.NORMAL}),right:d.mspace().With({width:b,mathsize:d.SIZE.NORMAL})}))},Hskip:function(a){this.Push(d.mspace().With({width:this.GetDimen(a),mathsize:d.SIZE.NORMAL}))},Rule:function(a,f){var b=this.GetDimen(a),c=this.GetDimen(a),g=this.GetDimen(a),h={width:b,height:c,depth:g};"blank"!==f?(parseFloat(b)&&parseFloat(c)+parseFloat(g)&&(h.mathbackground=this.stack.env.color||"black"),b=d.mpadded(d.mrow()).With(h)):b=d.mspace().With(h);this.Push(b)},MakeBig:function(a,f,b){b*=q.p_height;b=String(b).replace(/(\.\d\d\d).+/,"$1")+"em";a=this.GetDelimiter(a);this.Push(d.TeXAtom(d.mo(a).With({minsize:b,maxsize:b,fence:!0,stretchy:!0,symmetric:!0})).With({texClass:f}))},BuildRel:function(a){var f=this.ParseUpTo(a,"\\over");a=this.ParseArg(a);this.Push(d.TeXAtom(d.munderover(a,null,f)).With({mclass:d.TEXCLASS.REL}))},HBox:function(a,f){this.Push.apply(this,this.InternalMath(this.GetArgument(a),f))},FBox:function(a){this.Push(d.menclose.apply(d,this.InternalMath(this.GetArgument(a))).With({notation:"box"}))},Not:function(a){this.Push(l.not())},Dots:function(a){this.Push(l.dots().With({ldots:this.mmlToken(d.mo(d.entity("#x2026")).With({stretchy:!1})),cdots:this.mmlToken(d.mo(d.entity("#x22EF")).With({stretchy:!1}))}))},Require:function(a){a=this.GetArgument(a).replace(/.*\//,"").replace(/[^a-z0-9_.-]/ig,"");this.Extension(null,a)},Extension:function(a,f,k){f=c.extensionDir+"/"+f;f.match(/\.js$/)||(f+=".js");b.loaded[b.fileURL(f)]||(null!=a&&delete q[k||"macros"][a.replace(/^\\/,"")],e.RestartAfter(b.Require(f)))},Macro:function(a,f,b,p){if(b){var g=[];if(null!=p){var h=this.GetBrackets(a);g.push(null==h?p:h)}for(p=g.length;p<b;p++)g.push(this.GetArgument(a));f=this.SubstituteArgs(g,f)}this.string=this.AddArgs(f,this.string.slice(this.i));this.i=0;++this.macroCount>c.config.MAXMACROS&&c.Error(["MaxMacroSub1","MathJax maximum macro substitution count exceeded; is there a recursive macro call?"])},Matrix:function(a,f,b,p,g,h,d,e){var n=this.GetNext();""===n&&c.Error(["MissingArgFor","Missing argument for %1",a]);"{"===n?this.i++:(this.string=n+"}"+this.string.slice(this.i+1),this.i=0);a=l.array().With({requireClose:!0,arraydef:{rowspacing:h||"4pt",columnspacing:g||"1em"}});e&&(a.isCases=!0);if(f||b)a.open=f,a.close=b;"D"===d&&(a.arraydef.displaystyle=!0);null!=p&&(a.arraydef.columnalign=p);this.Push(a)},Entry:function(a){this.Push(l.cell().With({isEntry:!0,name:a}));if(this.stack.Top().isCases){var f=this.string,b=0;a=this.i;for(var p=f.length;a<p;){var g=f.charAt(a);"{"===g?(b++,a++):"}"===g?0===b?p=0:(b--,a++):"\x26"===g&&0===b?c.Error(["ExtraAlignTab","Extra alignment tab in \\cases text"]):"\\"===g?f.substr(a).match(/^((\\cr)[^a-zA-Z]|\\\\)/)?p=0:a+=2:a++}f=f.substr(this.i,a-this.i);f.match(/^\s*\\text[^a-zA-Z]/)||(this.Push.apply(this,this.InternalMath(f)),this.i=a)}},Cr:function(a){this.Push(l.cell().With({isCR:!0,name:a}))},CrLaTeX:function(a){var f;"["===this.string.charAt(this.i)&&(f=this.GetBrackets(a,"").replace(/ /g,""))&&!f.match(/^((-?(\.\d+|\d+(\.\d*)?))(pt|em|ex|mu|mm|cm|in|pc))$/)&&c.Error(["BracketMustBeDimension","Bracket argument to %1 must be a dimension",a]);this.Push(l.cell().With({isCR:!0,name:a,linebreak:!0}));a=this.stack.Top();if(a.isa(l.array)){if(f&&a.arraydef.rowspacing){var b=a.arraydef.rowspacing.split(/ /);a.rowspacing||(a.rowspacing=this.dimen2em(b[0]));for(;b.length<a.table.length;)b.push(this.Em(a.rowspacing));b[a.table.length-1]=this.Em(Math.max(0,a.rowspacing+this.dimen2em(f)));a.arraydef.rowspacing=b.join(" ")}}else f&&this.Push(d.mspace().With({depth:f})),this.Push(d.mo().With({linebreak:d.LINEBREAK.NEWLINE}))},emPerInch:7.2,dimen2em:function(a){var f=a.match(/^(-?(?:\.\d+|\d+(?:\.\d*)?))(pt|em|ex|mu|pc|in|mm|cm)/);a=parseFloat(f[1]||"1");f=f[2];return"em"===f?a:"ex"===f?.43*a:"pt"===f?a/10:"pc"===f?1.2*a:"in"===f?a*this.emPerInch:"cm"===f?a*this.emPerInch/2.54:"mm"===f?a*this.emPerInch/25.4:"mu"===f?a/18:0},Em:function(a){return 6E-4>Math.abs(a)?"0em":a.toFixed(3).replace(/\.?0+$/,"")+"em"},HLine:function(a,f){null==f&&(f="solid");var b=this.stack.Top();b.isa(l.array)&&!b.data.length||c.Error(["Misplaced","Misplaced %1",a]);if(0==b.table.length)b.frame.push("top");else{for(var p=b.arraydef.rowlines?b.arraydef.rowlines.split(/ /):[];p.length<b.table.length;)p.push("none");p[b.table.length-1]=f;b.arraydef.rowlines=p.join(" ")}},Begin:function(a){var f=this.GetArgument(a);f.match(/[^a-z*]/i)&&c.Error(["InvalidEnv","Invalid environment name '%1'",f]);(a=this.envFindName(f))||c.Error(["UnknownEnv","Unknown environment '%1'",f]);++this.macroCount>c.config.MAXMACROS&&c.Error(["MaxMacroSub2","MathJax maximum substitution count exceeded; is there a recursive latex environment?"]);a instanceof Array||(a=[a]);f=l.begin().With({name:f,end:a[1],parse:this});a[0]&&this[a[0]]&&(f=this[a[0]].apply(this,[f].concat(a.slice(2))));this.Push(f)},End:function(a){this.Push(l.end().With({name:this.GetArgument(a)}))},envFindName:function(a){return q.environment[a]},Equation:function(a,f){return f},ExtensionEnv:function(a,f){this.Extension(a.name,f,"environment")},Array:function(a,f,b,c,g,h,d,e){c||(c=this.GetArgument("\\begin{"+a.name+"}"));var n=("c"+c).replace(/[^clr|:]/g,"").replace(/[^|:]([|:])+/g,"$1");c=c.replace(/[^clr]/g,"").split("").join(" ");c=c.replace(/l/g,"left").replace(/r/g,"right").replace(/c/g,"center");c=l.array().With({arraydef:{columnalign:c,columnspacing:g||"1em",rowspacing:h||"4pt"}});n.match(/[|:]/)&&(n.charAt(0).match(/[|:]/)&&(c.frame.push("left"),c.frame.dashed=":"===n.charAt(0)),n.charAt(n.length-1).match(/[|:]/)&&c.frame.push("right"),n=n.substr(1,n.length-2),c.arraydef.columnlines=n.split("").join(" ").replace(/[^|: ]/g,"none").replace(/\|/g,"solid").replace(/:/g,"dashed"));f&&(c.open=this.convertDelimiter(f));b&&(c.close=this.convertDelimiter(b));"D"===d&&(c.arraydef.displaystyle=!0);"S"===d&&(c.arraydef.scriptlevel=1);e&&(c.arraydef.useHeight=!1);this.Push(a);return c},AlignedArray:function(a){var f=this.GetBrackets("\\begin{"+a.name+"}");return this.setArrayAlign(this.Array.apply(this,arguments),f)},setArrayAlign:function(a,f){f=this.trimSpaces(f||"");"t"===f?a.arraydef.align="baseline 1":"b"===f?a.arraydef.align="baseline -1":"c"===f?a.arraydef.align="center":f&&(a.arraydef.align=f);return a},convertDelimiter:function(a){a&&(a=q.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(a,f){switch(this.GetNext()){case "":return f||c.Error(["MissingArgFor","Missing argument for %1",a]),null;case "}":return f||c.Error(["ExtraCloseMissingOpen","Extra close brace or missing open brace"]),null;case "\\":return this.i++,"\\"+this.GetCS();case "{":for(var b=++this.i,p=1;this.i<this.string.length;)switch(this.string.charAt(this.i++)){case "\\":this.i++;break;case "{":p++;break;case "}":if(0==p&&c.Error(["ExtraClose","Extra close brace"]),0==--p)return this.string.slice(b,this.i-1)}c.Error(["MissingCloseBrace","Missing close brace"])}return this.string.charAt(this.i++)},GetBrackets:function(a,f){if("["!=this.GetNext())return f;for(var b=++this.i,p=0;this.i<this.string.length;)switch(this.string.charAt(this.i++)){case "{":p++;break;case "\\":this.i++;break;case "}":0>=p--&&c.Error(["ExtraCloseLooking","Extra close brace while looking for %1","']'"]);break;case "]":if(0==p)return this.string.slice(b,this.i-1)}c.Error(["MissingCloseBracket","Couldn't find closing ']' for argument to %1",a])},GetDelimiter:function(a){for(;this.nextIsSpace();)this.i++;var f=this.string.charAt(this.i);if(this.i<this.string.length&&(this.i++,"\\"==f&&(f+=this.GetCS(a)),null!=q.delimiter[f]))return this.convertDelimiter(f);c.Error(["MissingOrUnrecognizedDelim","Missing or unrecognized delimiter for %1",a])},GetDimen:function(a){var f;this.nextIsSpace()&&this.i++;if("{"==this.string.charAt(this.i)){if(f=this.GetArgument(a),f.match(/^\s*([-+]?(\.\d+|\d+(\.\d*)?))\s*(pt|em|ex|mu|px|mm|cm|in|pc)\s*$/))return f.replace(/ /g,"")}else if(f=this.string.slice(this.i),f=f.match(/^\s*(([-+]?(\.\d+|\d+(\.\d*)?))\s*(pt|em|ex|mu|px|mm|cm|in|pc)) ?/))return this.i+=f[0].length,f[1].replace(/ /g,"");c.Error(["MissingDimOrUnits","Missing dimension or its units for %1",a])},GetUpTo:function(a,f){for(;this.nextIsSpace();)this.i++;for(var b=this.i,p,g,h=0;this.i<this.string.length;){p=this.i;g=this.string.charAt(this.i++);switch(g){case "\\":g+=this.GetCS();break;case "{":h++;break;case "}":0==h&&c.Error(["ExtraCloseLooking","Extra close brace while looking for %1",f]),h--}if(0==h&&g==f)return this.string.slice(b,p)}c.Error(["TokenNotFoundForCommand","Couldn't find %1 for %2",f,a])},ParseArg:function(a){return c.Parse(this.GetArgument(a),this.stack.env).mml()},ParseUpTo:function(a,f){return c.Parse(this.GetUpTo(a,f),this.stack.env).mml()},InternalMath:function(a,f){var b={displaystyle:!1};null!=f&&(b.scriptlevel=f);this.stack.env.font&&(b.mathvariant=this.stack.env.font);if(!a.match(/\\?\$|\\\(|\\(eq)?ref\s*\{/))return[this.InternalText(a,b)];for(var p=0,g=0,h,e="",x=[];p<a.length;)h=a.charAt(p++),"$"===h?"$"===e?(x.push(d.TeXAtom(c.Parse(a.slice(g,p-1),{}).mml().With(b))),e="",g=p):""===e&&(g<p-1&&x.push(this.InternalText(a.slice(g,p-1),b)),e="$",g=p):"}"===h&&"}"===e?(x.push(d.TeXAtom(c.Parse(a.slice(g,p),{}).mml().With(b))),e="",g=p):"\\"===h&&(""===e&&a.substr(p).match(/^(eq)?ref\s*\{/)?(g<p-1&&x.push(this.InternalText(a.slice(g,p-1),b)),e="}",g=p-1):(h=a.charAt(p++),"("===h&&""===e?(g<p-2&&x.push(this.InternalText(a.slice(g,p-2),b)),e=")",g=p):")"===h&&")"===e?(x.push(d.TeXAtom(c.Parse(a.slice(g,p-2),{}).mml().With(b))),e="",g=p):"$"===h&&""===e&&(p--,a=a.substr(0,p-1)+a.substr(p))));""!==e&&c.Error(["MathNotTerminated","Math not terminated in text box"]);g<a.length&&x.push(this.InternalText(a.slice(g),b));return x},InternalText:function(a,b){a=a.replace(/^\s+/,"\u00a0").replace(/\s+$/,"\u00a0");return d.mtext(d.chars(a)).With(b)},SubstituteArgs:function(a,b){for(var k="",p="",g,h=0;h<b.length;)g=b.charAt(h++),"\\"===g?k+=g+b.charAt(h++):"#"===g?(g=b.charAt(h++),"#"===g?k+=g:((!g.match(/[1-9]/)||g>a.length)&&c.Error(["IllegalMacroParam","Illegal macro parameter reference"]),p=this.AddArgs(this.AddArgs(p,k),a[g-1]),k="")):k+=g;return this.AddArgs(p,k)},AddArgs:function(a,b){b.match(/^[a-z]/i)&&a.match(/(^|[^\\])(\\\\)*\\[a-z]+$/i)&&(a+=" ");a.length+b.length>c.config.MAXBUFFER&&c.Error(["MaxBufferSize","MathJax internal buffer size exceeded; is there a recursive macro call?"]);return a+b}});c.Augment({Stack:m,Parse:r,Definitions:q,Startup:function(){d=MathJax.ElementJax.mml;e.Insert(q,{letter:/[a-z]/i,digit:/[0-9.]/,number:/^(?:[0-9]+(?:\{,\}[0-9]{3})*(?:\.[0-9]*)*|\.[0-9]+)/,special:{"\\":"ControlSequence","{":"Open","}":"Close","~":"Tilde","^":"Superscript",_:"Subscript"," ":"Space","\t":"Space","\r":"Space","\n":"Space","'":"Prime","%":"Comment","\x26":"Entry","#":"Hash","\u2019":"Prime"},remap:{"-":"2212","*":"2217","`":"2018"},mathchar0mi:{alpha:"03B1",beta:"03B2",gamma:"03B3",delta:"03B4",epsilon:"03F5",zeta:"03B6",eta:"03B7",theta:"03B8",iota:"03B9",kappa:"03BA",lambda:"03BB",mu:"03BC",nu:"03BD",xi:"03BE",omicron:"03BF",pi:"03C0",rho:"03C1",sigma:"03C3",tau:"03C4",upsilon:"03C5",phi:"03D5",chi:"03C7",psi:"03C8",omega:"03C9",varepsilon:"03B5",vartheta:"03D1",varpi:"03D6",varrho:"03F1",varsigma:"03C2",varphi:"03C6",S:["00A7",{mathvariant:d.VARIANT.NORMAL}],aleph:["2135",{mathvariant:d.VARIANT.NORMAL}],hbar:["210F",{variantForm:!0}],imath:"0131",jmath:"0237",ell:"2113",wp:["2118",{mathvariant:d.VARIANT.NORMAL}],Re:["211C",{mathvariant:d.VARIANT.NORMAL}],Im:["2111",{mathvariant:d.VARIANT.NORMAL}],partial:["2202",{mathvariant:d.VARIANT.NORMAL}],infty:["221E",{mathvariant:d.VARIANT.NORMAL}],prime:["2032",{mathvariant:d.VARIANT.NORMAL,variantForm:!0}],emptyset:["2205",{mathvariant:d.VARIANT.NORMAL}],nabla:["2207",{mathvariant:d.VARIANT.NORMAL}],top:["22A4",{mathvariant:d.VARIANT.NORMAL}],bot:["22A5",{mathvariant:d.VARIANT.NORMAL}],angle:["2220",{mathvariant:d.VARIANT.NORMAL}],triangle:["25B3",{mathvariant:d.VARIANT.NORMAL}],backslash:["2216",{mathvariant:d.VARIANT.NORMAL,variantForm:!0}],forall:["2200",{mathvariant:d.VARIANT.NORMAL}],exists:["2203",{mathvariant:d.VARIANT.NORMAL}],neg:["00AC",{mathvariant:d.VARIANT.NORMAL}],lnot:["00AC",{mathvariant:d.VARIANT.NORMAL}],flat:["266D",{mathvariant:d.VARIANT.NORMAL}],natural:["266E",{mathvariant:d.VARIANT.NORMAL}],sharp:["266F",{mathvariant:d.VARIANT.NORMAL}],clubsuit:["2663",{mathvariant:d.VARIANT.NORMAL}],diamondsuit:["2662",{mathvariant:d.VARIANT.NORMAL}],heartsuit:["2661",{mathvariant:d.VARIANT.NORMAL}],spadesuit:["2660",{mathvariant:d.VARIANT.NORMAL}]},mathchar0mo:{surd:"221A",coprod:["2210",{texClass:d.TEXCLASS.OP,movesupsub:!0}],bigvee:["22C1",{texClass:d.TEXCLASS.OP,movesupsub:!0}],bigwedge:["22C0",{texClass:d.TEXCLASS.OP,movesupsub:!0}],biguplus:["2A04",{texClass:d.TEXCLASS.OP,movesupsub:!0}],bigcap:["22C2",{texClass:d.TEXCLASS.OP,movesupsub:!0}],bigcup:["22C3",{texClass:d.TEXCLASS.OP,movesupsub:!0}],"int":["222B",{texClass:d.TEXCLASS.OP}],intop:["222B",{texClass:d.TEXCLASS.OP,movesupsub:!0,movablelimits:!0}],iint:["222C",{texClass:d.TEXCLASS.OP}],iiint:["222D",{texClass:d.TEXCLASS.OP}],prod:["220F",{texClass:d.TEXCLASS.OP,movesupsub:!0}],sum:["2211",{texClass:d.TEXCLASS.OP,movesupsub:!0}],bigotimes:["2A02",{texClass:d.TEXCLASS.OP,movesupsub:!0}],bigoplus:["2A01",{texClass:d.TEXCLASS.OP,movesupsub:!0}],bigodot:["2A00",{texClass:d.TEXCLASS.OP,movesupsub:!0}],oint:["222E",{texClass:d.TEXCLASS.OP}],bigsqcup:["2A06",{texClass:d.TEXCLASS.OP,movesupsub:!0}],smallint:["222B",{largeop:!1}],triangleleft:"25C3",triangleright:"25B9",bigtriangleup:"25B3",bigtriangledown:"25BD",wedge:"2227",land:"2227",vee:"2228",lor:"2228",cap:"2229",cup:"222A",ddagger:"2021",dagger:"2020",sqcap:"2293",sqcup:"2294",uplus:"228E",amalg:"2A3F",diamond:"22C4",bullet:"2219",wr:"2240",div:"00F7",odot:["2299",{largeop:!1}],oslash:["2298",{largeop:!1}],otimes:["2297",{largeop:!1}],ominus:["2296",{largeop:!1}],oplus:["2295",{largeop:!1}],mp:"2213",pm:"00B1",circ:"2218",bigcirc:"25EF",setminus:["2216",{variantForm:!0}],cdot:"22C5",ast:"2217",times:"00D7",star:"22C6",propto:"221D",sqsubseteq:"2291",sqsupseteq:"2292",parallel:"2225",mid:"2223",dashv:"22A3",vdash:"22A2",leq:"2264",le:"2264",geq:"2265",ge:"2265",lt:"003C",gt:"003E",succ:"227B",prec:"227A",approx:"2248",succeq:"2AB0",preceq:"2AAF",supset:"2283",subset:"2282",supseteq:"2287",subseteq:"2286","in":"2208",ni:"220B",notin:"2209",owns:"220B",gg:"226B",ll:"226A",sim:"223C",simeq:"2243",perp:"22A5",equiv:"2261",asymp:"224D",smile:"2323",frown:"2322",ne:"2260",neq:"2260",cong:"2245",doteq:"2250",bowtie:"22C8",models:"22A8",notChar:"29F8",Leftrightarrow:"21D4",Leftarrow:"21D0",Rightarrow:"21D2",leftrightarrow:"2194",leftarrow:"2190",gets:"2190",rightarrow:"2192",to:"2192",mapsto:"21A6",leftharpoonup:"21BC",leftharpoondown:"21BD",rightharpoonup:"21C0",rightharpoondown:"21C1",nearrow:"2197",searrow:"2198",nwarrow:"2196",swarrow:"2199",rightleftharpoons:"21CC",hookrightarrow:"21AA",hookleftarrow:"21A9",longleftarrow:"27F5",Longleftarrow:"27F8",longrightarrow:"27F6",Longrightarrow:"27F9",Longleftrightarrow:"27FA",longleftrightarrow:"27F7",longmapsto:"27FC",ldots:"2026",cdots:"22EF",vdots:"22EE",ddots:"22F1",dotsc:"2026",dotsb:"22EF",dotsm:"22EF",dotsi:"22EF",dotso:"2026",ldotp:["002E",{texClass:d.TEXCLASS.PUNCT}],cdotp:["22C5",{texClass:d.TEXCLASS.PUNCT}],colon:["003A",{texClass:d.TEXCLASS.PUNCT}]},mathchar7:{Gamma:"0393",Delta:"0394",Theta:"0398",Lambda:"039B",Xi:"039E",Pi:"03A0",Sigma:"03A3",Upsilon:"03A5",Phi:"03A6",Psi:"03A8",Omega:"03A9",_:"005F","#":"0023",$:"0024","%":"0025","\x26":"0026",And:"0026"},delimiter:{"(":"(",")":")","[":"[","]":"]","\x3c":"27E8","\x3e":"27E9","\\lt":"27E8","\\gt":"27E9","/":"/","|":["|",{texClass:d.TEXCLASS.ORD}],".":"","\\\\":"\\","\\lmoustache":"23B0","\\rmoustache":"23B1","\\lgroup":"27EE","\\rgroup":"27EF","\\arrowvert":"23D0","\\Arrowvert":"2016","\\bracevert":"23AA","\\Vert":["2225",{texClass:d.TEXCLASS.ORD}],"\\|":["2225",{texClass:d.TEXCLASS.ORD}],"\\vert":["|",{texClass:d.TEXCLASS.ORD}],"\\uparrow":"2191","\\downarrow":"2193","\\updownarrow":"2195","\\Uparrow":"21D1","\\Downarrow":"21D3","\\Updownarrow":"21D5","\\backslash":"\\","\\rangle":"27E9","\\langle":"27E8","\\rbrace":"}","\\lbrace":"{","\\}":"}","\\{":"{","\\rceil":"2309","\\lceil":"2308","\\rfloor":"230B","\\lfloor":"230A","\\lbrack":"[","\\rbrack":"]"},macros:{displaystyle:["SetStyle","D",!0,0],textstyle:["SetStyle","T",!1,0],scriptstyle:["SetStyle","S",!1,1],scriptscriptstyle:["SetStyle","SS",!1,2],rm:["SetFont",d.VARIANT.NORMAL],mit:["SetFont",d.VARIANT.ITALIC],oldstyle:["SetFont",d.VARIANT.OLDSTYLE],cal:["SetFont",d.VARIANT.CALIGRAPHIC],it:["SetFont","-tex-mathit"],bf:["SetFont",d.VARIANT.BOLD],bbFont:["SetFont",d.VARIANT.DOUBLESTRUCK],scr:["SetFont",d.VARIANT.SCRIPT],frak:["SetFont",d.VARIANT.FRAKTUR],sf:["SetFont",d.VARIANT.SANSSERIF],tt:["SetFont",d.VARIANT.MONOSPACE],tiny:["SetSize",.5],Tiny:["SetSize",.6],scriptsize:["SetSize",.7],small:["SetSize",.85],normalsize:["SetSize",1],large:["SetSize",1.2],Large:["SetSize",1.44],LARGE:["SetSize",1.73],huge:["SetSize",2.07],Huge:["SetSize",2.49],arcsin:["NamedFn"],arccos:["NamedFn"],arctan:["NamedFn"],arg:["NamedFn"],cos:["NamedFn"],cosh:["NamedFn"],cot:["NamedFn"],coth:["NamedFn"],csc:["NamedFn"],deg:["NamedFn"],det:"NamedOp",dim:["NamedFn"],exp:["NamedFn"],gcd:"NamedOp",hom:["NamedFn"],inf:"NamedOp",ker:["NamedFn"],lg:["NamedFn"],lim:"NamedOp",liminf:["NamedOp","lim\x26thinsp;inf"],limsup:["NamedOp","lim\x26thinsp;sup"],ln:["NamedFn"],log:["NamedFn"],max:"NamedOp",min:"NamedOp",Pr:"NamedOp",sec:["NamedFn"],sin:["NamedFn"],sinh:["NamedFn"],sup:"NamedOp",tan:["NamedFn"],tanh:["NamedFn"],limits:["Limits",1],nolimits:["Limits",0],overline:["UnderOver","00AF"],underline:["UnderOver","005F"],overbrace:["UnderOver","23DE",1],underbrace:["UnderOver","23DF",1],overrightarrow:["UnderOver","2192"],underrightarrow:["UnderOver","2192"],overleftarrow:["UnderOver","2190"],underleftarrow:["UnderOver","2190"],overleftrightarrow:["UnderOver","2194"],underleftrightarrow:["UnderOver","2194"],overset:"Overset",underset:"Underset",stackrel:["Macro","\\mathrel{\\mathop{#2}\\limits^{#1}}",2],over:"Over",overwithdelims:"Over",atop:"Over",atopwithdelims:"Over",above:"Over",abovewithdelims:"Over",brace:["Over","{","}"],brack:["Over","[","]"],choose:["Over","(",")"],frac:"Frac",sqrt:"Sqrt",root:"Root",uproot:["MoveRoot","upRoot"],leftroot:["MoveRoot","leftRoot"],left:"LeftRight",right:"LeftRight",middle:"Middle",llap:"Lap",rlap:"Lap",raise:"RaiseLower",lower:"RaiseLower",moveleft:"MoveLeftRight",moveright:"MoveLeftRight",",":["Spacer",d.LENGTH.THINMATHSPACE],":":["Spacer",d.LENGTH.MEDIUMMATHSPACE],"\x3e":["Spacer",d.LENGTH.MEDIUMMATHSPACE],";":["Spacer",d.LENGTH.THICKMATHSPACE],"!":["Spacer",d.LENGTH.NEGATIVETHINMATHSPACE],enspace:["Spacer",".5em"],quad:["Spacer","1em"],qquad:["Spacer","2em"],thinspace:["Spacer",d.LENGTH.THINMATHSPACE],negthinspace:["Spacer",d.LENGTH.NEGATIVETHINMATHSPACE],hskip:"Hskip",hspace:"Hskip",kern:"Hskip",mskip:"Hskip",mspace:"Hskip",mkern:"Hskip",Rule:["Rule"],Space:["Rule","blank"],big:["MakeBig",d.TEXCLASS.ORD,.85],Big:["MakeBig",d.TEXCLASS.ORD,1.15],bigg:["MakeBig",d.TEXCLASS.ORD,1.45],Bigg:["MakeBig",d.TEXCLASS.ORD,1.75],bigl:["MakeBig",d.TEXCLASS.OPEN,.85],Bigl:["MakeBig",d.TEXCLASS.OPEN,1.15],biggl:["MakeBig",d.TEXCLASS.OPEN,1.45],Biggl:["MakeBig",d.TEXCLASS.OPEN,1.75],bigr:["MakeBig",d.TEXCLASS.CLOSE,.85],Bigr:["MakeBig",d.TEXCLASS.CLOSE,1.15],biggr:["MakeBig",d.TEXCLASS.CLOSE,1.45],Biggr:["MakeBig",d.TEXCLASS.CLOSE,1.75],bigm:["MakeBig",d.TEXCLASS.REL,.85],Bigm:["MakeBig",d.TEXCLASS.REL,1.15],biggm:["MakeBig",d.TEXCLASS.REL,1.45],Biggm:["MakeBig",d.TEXCLASS.REL,1.75],mathord:["TeXAtom",d.TEXCLASS.ORD],mathop:["TeXAtom",d.TEXCLASS.OP],mathopen:["TeXAtom",d.TEXCLASS.OPEN],mathclose:["TeXAtom",d.TEXCLASS.CLOSE],mathbin:["TeXAtom",d.TEXCLASS.BIN],mathrel:["TeXAtom",d.TEXCLASS.REL],mathpunct:["TeXAtom",d.TEXCLASS.PUNCT],mathinner:["TeXAtom",d.TEXCLASS.INNER],vcenter:["TeXAtom",d.TEXCLASS.VCENTER],mathchoice:["Extension","mathchoice"],buildrel:"BuildRel",hbox:["HBox",0],text:"HBox",mbox:["HBox",0],fbox:"FBox",strut:"Strut",mathstrut:["Macro","\\vphantom{(}"],phantom:"Phantom",vphantom:["Phantom",1,0],hphantom:["Phantom",0,1],smash:"Smash",acute:["Accent","00B4"],grave:["Accent","0060"],ddot:["Accent","00A8"],tilde:["Accent","007E"],bar:["Accent","00AF"],breve:["Accent","02D8"],check:["Accent","02C7"],hat:["Accent","005E"],vec:["Accent","2192"],dot:["Accent","02D9"],widetilde:["Accent","007E",1],widehat:["Accent","005E",1],matrix:"Matrix",array:"Matrix",pmatrix:["Matrix","(",")"],cases:["Matrix","{","","left left",null,".1em",null,!0],eqalign:["Matrix",null,null,"right left",d.LENGTH.THICKMATHSPACE,".5em","D"],displaylines:["Matrix",null,null,"center",null,".5em","D"],cr:"Cr","\\":"CrLaTeX",newline:"Cr",hline:["HLine","solid"],hdashline:["HLine","dashed"],eqalignno:["Matrix",null,null,"right left right",d.LENGTH.THICKMATHSPACE+" 3em",".5em","D"],leqalignno:["Matrix",null,null,"right left right",d.LENGTH.THICKMATHSPACE+" 3em",".5em","D"],bmod:["Macro","\\mathbin{\\mmlToken{mo}{mod}}"],pmod:["Macro","\\pod{\\mmlToken{mi}{mod}\\kern 6mu #1}",1],mod:["Macro","\\mathchoice{\\kern18mu}{\\kern12mu}{\\kern12mu}{\\kern12mu}\\mmlToken{mi}{mod}\\,\\,#1",1],pod:["Macro","\\mathchoice{\\kern18mu}{\\kern8mu}{\\kern8mu}{\\kern8mu}(#1)",1],iff:["Macro","\\;\\Longleftrightarrow\\;"],skew:["Macro","{{#2{#3\\mkern#1mu}\\mkern-#1mu}{}}",3],mathcal:["Macro","{\\cal #1}",1],mathscr:["Macro","{\\scr #1}",1],mathrm:["Macro","{\\rm #1}",1],mathbf:["Macro","{\\bf #1}",1],mathbb:["Macro","{\\bbFont #1}",1],Bbb:["Macro","{\\bbFont #1}",1],mathit:["Macro","{\\it #1}",1],mathfrak:["Macro","{\\frak #1}",1],mathsf:["Macro","{\\sf #1}",1],mathtt:["Macro","{\\tt #1}",1],textrm:["Macro","\\mathord{\\rm\\text{#1}}",1],textit:["Macro","\\mathord{\\it{\\text{#1}}}",1],textbf:["Macro","\\mathord{\\bf{\\text{#1}}}",1],pmb:["Macro","\\rlap{#1}\\kern1px{#1}",1],TeX:["Macro","T\\kern-.14em\\lower.5ex{E}\\kern-.115em X"],LaTeX:["Macro","L\\kern-.325em\\raise.21em{\\scriptstyle{A}}\\kern-.17em\\TeX"]," ":["Macro","\\text{ }"],not:"Not",dots:"Dots",space:"Tilde",begin:"Begin",end:"End",newcommand:["Extension","newcommand"],renewcommand:["Extension","newcommand"],newenvironment:["Extension","newcommand"],renewenvironment:["Extension","newcommand"],def:["Extension","newcommand"],let:["Extension","newcommand"],verb:["Extension","verb"],boldsymbol:["Extension","boldsymbol"],tag:["Extension","AMSmath"],notag:["Extension","AMSmath"],label:["Extension","AMSmath"],ref:["Extension","AMSmath"],eqref:["Extension","AMSmath"],nonumber:["Macro","\\notag"],unicode:["Extension","unicode"],color:"Color",href:["Extension","HTML"],"class":["Extension","HTML"],style:["Extension","HTML"],cssId:["Extension","HTML"],bbox:["Extension","bbox"],mmlToken:"MmlToken",require:"Require"},environment:{array:["AlignedArray"],matrix:["Array",null,null,null,"c"],pmatrix:["Array",null,"(",")","c"],bmatrix:["Array",null,"[","]","c"],Bmatrix:["Array",null,"\\{","\\}","c"],vmatrix:["Array",null,"\\vert","\\vert","c"],Vmatrix:["Array",null,"\\Vert","\\Vert","c"],cases:["Array",null,"\\{",".","ll",null,".1em"],equation:[null,"Equation"],"equation*":[null,"Equation"],eqnarray:["ExtensionEnv",null,"AMSmath"],"eqnarray*":["ExtensionEnv",null,"AMSmath"],align:["ExtensionEnv",null,"AMSmath"],"align*":["ExtensionEnv",null,"AMSmath"],aligned:["ExtensionEnv",null,"AMSmath"],multline:["ExtensionEnv",null,"AMSmath"],"multline*":["ExtensionEnv",null,"AMSmath"],split:["ExtensionEnv",null,"AMSmath"],gather:["ExtensionEnv",null,"AMSmath"],"gather*":["ExtensionEnv",null,"AMSmath"],gathered:["ExtensionEnv",null,"AMSmath"],alignat:["ExtensionEnv",null,"AMSmath"],"alignat*":["ExtensionEnv",null,"AMSmath"],alignedat:["ExtensionEnv",null,"AMSmath"]},p_height:1.2/.85});if(this.config.Macros){var a=this.config.Macros,b;for(b in a)a.hasOwnProperty(b)&&(q.macros[b]="string"===typeof a[b]?["Macro",a[b]]:["Macro"].concat(a[b]),q.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(a){var b,k=!1,p=MathJax.HTML.getScript(a),g=null!=a.type.replace(/\n/g," ").match(/(;|\s|\n)mode\s*=\s*display(;|\s|\n|$)/),h={math:p,display:g,script:a};this.prefilterHooks.Execute(h);p=h.math;try{b=c.Parse(p).mml()}catch(e){if(!e.texError)throw e;b=this.formatError(e,p,g,a);k=!0}b=b.inferred?d.apply(MathJax.ElementJax,b.data):d(b);g&&(b.root.display="block");k&&(b.texError=!0);h.math=b;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,c,p){a=a.message.replace(/\n.*/,"");e.signal.Post(["TeX Jax - parse error",a,b,c,p]);return d.merror(a)},Error:function(a){a instanceof Array&&(a=n.apply(n,a));throw e.Insert(Error(a),{texError:!0});},Macro:function(a,b,c){q.macros[a]=["Macro"].concat([].slice.call(arguments,1));q.macros[a].isUser=!0},fenced:function(a,b,c){var p=d.mrow();p.open=a;p.close=c;a&&p.Append(d.mo(a).With({fence:!0,stretchy:!0,texClass:d.TEXCLASS.OPEN}));"mrow"===b.type?p.Append.apply(p,b.data):p.Append(b);c&&p.Append(d.mo(c).With({fence:!0,stretchy:!0,texClass:d.TEXCLASS.CLOSE}));return p},combineRelations:function(a){var b,c,p,g;b=0;for(c=a.data.length;b<c;b++)if(a.data[b]){if(a.isa(d.mrow))for(;b+1<c&&(p=a.data[b])&&(g=a.data[b+1])&&p.isa(d.mo)&&g.isa(d.mo)&&p.Get("texClass")===d.TEXCLASS.REL&&g.Get("texClass")===d.TEXCLASS.REL;)p.variantForm!=g.variantForm||p.Get("mathvariant")!=g.Get("mathvariant")||p.style!=g.style||p["class"]!=g["class"]||p.id||g.id?(p.rspace=g.lspace="0pt",b++):(p.Append.apply(p,g.data),a.data.splice(b+1,1),c--);a.data[b].isToken||this.combineRelations(a.data[b])}}});c.prefilterHooks.Add(function(a){a.math=c.prefilterMath(a.math,a.display,a.script)});c.postfilterHooks.Add(function(a){a.math=c.postfilterMath(a.math,a.display,a.script)});c.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 c=MathJax.ElementJax.mml,e=MathJax.InputJax.TeX,b=MathJax.Extension["TeX/AMSmath"],d=e.Definitions,n=e.Stack.Item,m=e.config.equationNumbers,l=function(b){for(var c=[],a=0,f=b.length;a<f;a++)c[a]=e.Parse.prototype.Em(b[a]);return c.join(" ")};d.Add({mathchar0mo:{iiiint:["2A0C",{texClass:c.TEXCLASS.OP}]},macros:{mathring:["Accent","2DA"],nobreakspace:"Tilde",negmedspace:["Spacer",c.LENGTH.NEGATIVEMEDIUMMATHSPACE],negthickspace:["Spacer",c.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",c.ALIGN.LEFT],shoveright:["HandleShove",c.ALIGN.RIGHT],xrightarrow:["xArrow",8594,5,6],xleftarrow:["xArrow",8592,7,3]},environment:{align:["AMSarray",null,!0,!0,"rlrlrlrlrlrl",l([5/18,2,5/18,2,5/18,2,5/18,2,5/18,2,5/18])],"align*":["AMSarray",null,!1,!0,"rlrlrlrlrlrl",l([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",l([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",l([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,l([0,0,0,0]),"0.1em","S",1],smallmatrix:["Array",null,null,null,"c",l([1/3]),".2em","S",1],equation:["EquationBegin","Equation",!0],"equation*":["EquationBegin","EquationStar",!1],eqnarray:["AMSarray",null,!0,!0,"rcl",c.LENGTH.THICKMATHSPACE,".5em"],"eqnarray*":["AMSarray",null,!1,!0,"rcl",c.LENGTH.THICKMATHSPACE,".5em"]},delimiter:{"\\lvert":["2223",{texClass:c.TEXCLASS.OPEN}],"\\rvert":["2223",{texClass:c.TEXCLASS.CLOSE}],"\\lVert":["2225",{texClass:c.TEXCLASS.OPEN}],"\\rVert":["2225",{texClass:c.TEXCLASS.CLOSE}]}},null,!0);e.Parse.Augment({HandleTag:function(b){var d=this.GetStar(),a=this.trimSpaces(this.GetArgument(b)),f=a;d||(a=m.formatTag(a));d=this.stack.global;d.tagID=f;d.notags&&e.Error(["CommandNotAllowedInEnv","%1 not allowed in %2 environment",b,d.notags]);d.tag&&e.Error(["MultipleCommand","Multiple %1",b]);d.tag=c.mtd.apply(c,this.InternalMath(a)).With({id:m.formatID(f)})},HandleNoTag:function(b){this.stack.global.tag&&delete this.stack.global.tag;this.stack.global.notag=!0},HandleLabel:function(c){var d=this.stack.global,a=this.GetArgument(c);""===a||b.refUpdate||(d.label&&e.Error(["MultipleCommand","Multiple %1",c]),d.label=a,(b.labels[a]||b.eqlabels[a])&&e.Error(["MultipleLabel","Label '%1' multiply defined",a]),b.eqlabels[a]="???")},HandleRef:function(d,e){var a=this.GetArgument(d),f=b.labels[a]||b.eqlabels[a];f||(f="??",b.badref=!b.refUpdate);var k=f;e&&(k=m.formatTag(k));m.useLabelIds&&(f=a);this.Push(c.mrow.apply(c,this.InternalMath(k)).With({href:m.formatURL(m.formatID(f)),"class":"MathJax_ref"}))},HandleDeclareOp:function(b){var c=this.GetStar()?"\\limits":"",a=this.trimSpaces(this.GetArgument(b));"\\"==a.charAt(0)&&(a=a.substr(1));b=this.GetArgument(b);b=b.replace(/\*/g,"\\text{*}").replace(/-/g,"\\text{-}");e.Definitions.macros[a]=["Macro","\\mathop{\\rm "+b+"}"+c]},HandleOperatorName:function(b){var c=this.GetStar()?"\\limits":"\\nolimits";b=this.trimSpaces(this.GetArgument(b));b=b.replace(/\*/g,"\\text{*}").replace(/-/g,"\\text{-}");this.string="\\mathop{\\rm "+b+"}"+c+" "+this.string.slice(this.i);this.i=0},HandleShove:function(b,c){var a=this.stack.Top();("multline"!==a.type||a.data.length)&&e.Error(["CommandAtTheBeginingOfLine","%1 must come at the beginning of the line",b]);a.data.shove=c},CFrac:function(b){var d=this.trimSpaces(this.GetBrackets(b,"")),a=this.GetArgument(b),f=this.GetArgument(b),a=c.mfrac(e.Parse("\\strut\\textstyle{"+a+"}",this.stack.env).mml(),e.Parse("\\strut\\textstyle{"+f+"}",this.stack.env).mml()),d={l:c.ALIGN.LEFT,r:c.ALIGN.RIGHT,"":""}[d];null==d&&e.Error(["IllegalAlign","Illegal alignment specified in %1",b]);d&&(a.numalign=a.denomalign=d);this.Push(a)},Genfrac:function(b,d,a,f,k){d=null==d?this.GetDelimiterArg(b):this.convertDelimiter(d);a=null==a?this.GetDelimiterArg(b):this.convertDelimiter(a);null==f&&(f=this.GetArgument(b));null==k&&(k=this.trimSpaces(this.GetArgument(b)));var p=this.ParseArg(b),g=this.ParseArg(b),p=c.mfrac(p,g);""!==f&&(p.linethickness=f);if(d||a)p=e.fenced(d,p,a);""!==k&&(d=["D","T","S","SS"][k],null==d&&e.Error(["BadMathStyleFor","Bad math style for %1",b]),p=c.mstyle(p),"D"===d?(p.displaystyle=!0,p.scriptlevel=0):(p.displaystyle=!1,p.scriptlevel=k-1));this.Push(p)},Multline:function(b,c){this.Push(b);this.checkEqnEnv();return n.multline(c,this.stack).With({arraydef:{displaystyle:!0,rowspacing:".5em",width:e.config.MultLineWidth,columnwidth:"100%",side:e.config.TagSide,minlabelspacing:e.config.TagIndent}})},AMSarray:function(b,c,a,f,k){this.Push(b);a&&this.checkEqnEnv();f=f.replace(/[^clr]/g,"").split("").join(" ");f=f.replace(/l/g,"left").replace(/r/g,"right").replace(/c/g,"center");return n.AMSarray(b.name,c,a,this.stack).With({arraydef:{displaystyle:!0,rowspacing:".5em",columnalign:f,columnspacing:k||"1em",rowspacing:"3pt",side:e.config.TagSide,minlabelspacing:e.config.TagIndent}})},AlignAt:function(b,c,a){var f,k,d="",g=[];a||(k=this.GetBrackets("\\begin{"+b.name+"}"));f=this.GetArgument("\\begin{"+b.name+"}");for(f.match(/[^0-9]/)&&e.Error(["PositiveIntegerArg","Argument to %1 must me a positive integer","\\begin{"+b.name+"}"]);0<f;)d+="rl",g.push("0em 0em"),f--;g=g.join(" ");if(a)return this.AMSarray(b,c,a,d,g);b=this.Array.call(this,b,null,null,d,g,".5em","D");return this.setArrayAlign(b,k)},EquationBegin:function(b,c){this.checkEqnEnv();this.stack.global.forcetag=c&&"none"!==m.autoNumber;return b},EquationStar:function(b,c){this.stack.global.tagged=!0;return c},checkEqnEnv:function(){this.stack.global.eqnenv&&e.Error(["ErroneousNestingEq","Erroneous nesting of equation structures"]);this.stack.global.eqnenv=!0},MultiIntegral:function(b,c){var a=this.GetNext();if("\\"===a){var f=this.i,a=this.GetArgument(b);this.i=f;"\\limits"===a&&(c="\\idotsint"===b?"\\!\\!\\mathop{\\,\\,"+c+"}":"\\!\\!\\!\\mathop{\\,\\,\\,"+c+"}")}this.string=c+" "+this.string.slice(this.i);this.i=0},xArrow:function(b,d,a,f){a={width:"+"+(a+f)+"mu",lspace:a+"mu"};f=this.GetBrackets(b);b=this.ParseArg(b);d=c.mo(c.chars(String.fromCharCode(d))).With({stretchy:!0,texClass:c.TEXCLASS.REL});d=c.munderover(d);d.SetData(d.over,c.mpadded(b).With(a).With({voffset:".15em"}));f&&(f=e.Parse(f,this.stack.env).mml(),d.SetData(d.under,c.mpadded(f).With(a).With({voffset:"-.24em"})));this.Push(d)},GetDelimiterArg:function(b){var c=this.trimSpaces(this.GetArgument(b));if(""==c)return null;null==d.delimiter[c]&&e.Error(["MissingOrUnrecognizedDelim","Missing or unrecognized delimiter for %1",b]);return this.convertDelimiter(c)},GetStar:function(){var b="*"===this.GetNext();b&&this.i++;return b}});n.Augment({autoTag:function(){var d=this.global;if(!d.notag){b.number++;d.tagID=m.formatNumber(b.number.toString());var n=e.Parse("\\text{"+m.formatTag(d.tagID)+"}",{}).mml();d.tag=c.mtd(n.With({id:m.formatID(d.tagID)}))}},getTag:function(){var c=this.global,d=c.tag;c.tagged=!0;c.label&&(b.eqlabels[c.label]=c.tagID,m.useLabelIds&&(d.id=m.formatID(c.label)));delete c.tag;delete c.tagID;delete c.label;return d}});n.multline=n.array.Subclass({type:"multline",Init:function(b,c){this.SUPER(arguments).Init.apply(this);this.numbered=b&&"none"!==m.autoNumber;this.save={notag:c.global.notag};c.global.tagged=!b&&!c.global.forcetag},EndEntry:function(){var b=c.mtd.apply(c,this.data);this.data.shove&&(b.columnalign=this.data.shove);this.row.push(b);this.data=[]},EndRow:function(){1!=this.row.length&&e.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,d,a=-1;this.table[0][0].columnalign||(this.table[0][0].columnalign=c.ALIGN.LEFT);this.table[b][0].columnalign||(this.table[b][0].columnalign=c.ALIGN.RIGHT);!this.global.tag&&this.numbered&&this.autoTag();this.global.tag&&!this.global.notags&&(a="left"===this.arraydef.side?0:this.table.length-1,this.table[a]=[this.getTag()].concat(this.table[a]));d=0;for(b=this.table.length;d<b;d++)this.table[d]=(d===a?c.mlabeledtr:c.mtr).apply(c,this.table[d])}this.global.notag=this.save.notag}});n.AMSarray=n.array.Subclass({type:"AMSarray",Init:function(b,c,a,f){this.SUPER(arguments).Init.apply(this);this.numbered=c&&"none"!==m.autoNumber;this.save={notags:f.global.notags,notag:f.global.notag};f.global.notags=a?null:b;f.global.tagged=!c&&!f.global.forcetag},EndRow:function(){var b=c.mtr;!this.global.tag&&this.numbered&&this.autoTag();this.global.tag&&!this.global.notags&&(this.row=[this.getTag()].concat(this.row),b=c.mlabeledtr);this.numbered&&delete this.global.notag;this.table.push(b.apply(c,this.row));this.row=[]},EndTable:function(){this.SUPER(arguments).EndTable.call(this);this.global.notags=this.save.notags;this.global.notag=this.save.notag}});n.start.Augment({oldCheckItem:n.start.prototype.checkItem,checkItem:function(d){if("stop"===d.type){d=this.mmlData();var l=this.global;!b.display||l.tag||l.tagged||l.isInner||"all"!==m.autoNumber&&!l.forcetag||this.autoTag();if(l.tag){var l=[this.getTag(),c.mtd(d)],a={side:e.config.TagSide,minlabelspacing:e.config.TagIndent,columnalign:d.displayAlign};d.displayAlign===c.INDENTALIGN.LEFT?(a.width="100%",d.displayIndent&&!String(d.displayIndent).match(/^0+(\.0*)?($|[a-z%])/)&&(a.columnwidth=d.displayIndent+" fit",a.columnspacing="0",l=[l[0],c.mtd(),l[1]])):d.displayAlign===c.INDENTALIGN.RIGHT&&(a.width="100%",d.displayIndent&&!String(d.displayIndent).match(/^0+(\.0*)?($|[a-z%])/)&&(a.columnwidth="fit "+d.displayIndent,a.columnspacing="0",l[2]=c.mtd()));d=c.mtable(c.mlabeledtr.apply(c,l)).With(a)}return n.mml(d)}return this.oldCheckItem.call(this,d)}});e.prefilterHooks.Add(function(c){b.display=c.display;b.number=b.startNumber;b.eqlabels={};b.badref=!1;b.refUpdate&&(b.number=c.script.MathJax.startNumber)});e.postfilterHooks.Add(function(c){c.script.MathJax.startNumber=b.startNumber;b.startNumber=b.number;MathJax.Hub.Insert(b.labels,b.eqlabels);b.badref&&!c.math.texError&&b.refs.push(c.script)});MathJax.Hub.Register.MessageHook("Begin Math Input",function(){b.refs=[];b.refUpdate=!1});MathJax.Hub.Register.MessageHook("End Math Input",function(c){if(b.refs.length){b.refUpdate=!0;c=0;for(var d=b.refs.length;c<d;c++)b.refs[c].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});e.resetEquationNumbers=function(c,d){b.startNumber=c||0;d||(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 c=MathJax.ElementJax.mml;MathJax.InputJax.TeX.Definitions.Add({mathchar0mi:{digamma:"03DD",varkappa:"03F0",varGamma:["0393",{mathvariant:c.VARIANT.ITALIC}],varDelta:["0394",{mathvariant:c.VARIANT.ITALIC}],varTheta:["0398",{mathvariant:c.VARIANT.ITALIC}],varLambda:["039B",{mathvariant:c.VARIANT.ITALIC}],varXi:["039E",{mathvariant:c.VARIANT.ITALIC}],varPi:["03A0",{mathvariant:c.VARIANT.ITALIC}],varSigma:["03A3",{mathvariant:c.VARIANT.ITALIC}],varUpsilon:["03A5",{mathvariant:c.VARIANT.ITALIC}],varPhi:["03A6",{mathvariant:c.VARIANT.ITALIC}],varPsi:["03A8",{mathvariant:c.VARIANT.ITALIC}],varOmega:["03A9",{mathvariant:c.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:c.VARIANT.NORMAL}],bigstar:"2605",sphericalangle:"2222",measuredangle:"2221",nexists:"2204",complement:"2201",mho:"2127",eth:["00F0",{mathvariant:c.VARIANT.NORMAL}],Finv:"2132",diagup:"2571",Game:"2141",diagdown:"2572",Bbbk:["006B",{mathvariant:c.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 e=c.mo.OPTYPES.REL;MathJax.Hub.Insert(c.mo.prototype,{OPTABLE:{infix:{"\u2322":e,"\u2323":e,"\u25b3":e,"\ue006":e,"\ue007":e,"\ue00c":e,"\ue00d":e,"\ue00e":e,"\ue00f":e,"\ue010":e,"\ue011":e,"\ue016":e,"\ue017":e,"\ue018":e,"\ue019":e,"\ue01a":e,"\ue01b":e,"\ue04b":e,"\ue04f":e}}});MathJax.Hub.Startup.signal.Post("TeX AMSsymbols Ready")});MathJax.Ajax.loadComplete("[MathJax]/extensions/TeX/AMSsymbols.js");(function(c,e){var b,d=function(b){return MathJax.Localization._.apply(MathJax.Localization,[["MathML",b]].concat([].slice.call(arguments,1)))};c.Parse=MathJax.Object.Subclass({Init:function(b){this.Parse(b)},Parse:function(b){"string"!==typeof b?b=b.parentNode:(b=c.ParseXML(this.preProcessMath.call(this,b)),null==b&&c.Error(["ErrorParsingMathML","Error parsing MathML"]));var d=b.getElementsByTagName("parsererror")[0];d&&c.Error(["ParsingError","Error parsing MathML: %1",d.textContent.replace(/This page.*?errors:|XML Parsing Error: |Below is a rendering of the page.*/g,"")]);1!==b.childNodes.length&&c.Error(["MathMLSingleElement","MathML must be formed by a single element"]);"html"===b.firstChild.nodeName.toLowerCase()&&(d=b.getElementsByTagName("h1")[0])&&"XML parsing error"===d.textContent&&d.nextSibling&&c.Error(["ParsingError","Error parsing MathML: %1",String(d.nextSibling.nodeValue).replace(/fatal parsing error: /,"")]);"math"!==b.firstChild.nodeName.toLowerCase().replace(/^[a-z]+:/,"")&&c.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(e){var m=String(e.getAttribute("class")||""),l;l=e.nodeName.toLowerCase().replace(/^[a-z]+:/,"");if(m=m.match(/(^| )MJX-TeXAtom-([^ ]*)/))l=this.TeXAtom(m[2]);else if(b[l]&&b[l].isa&&b[l].isa(b.mbase))l=b[l]();else return MathJax.Hub.signal.Post(["MathML Jax - unknown node type",l]),b.merror(d("UnknownNodeType","Unknown node type: %1",l));this.AddAttributes(l,e);this.CheckClass(l,l["class"]);this.AddChildren(l,e);c.config.useMathMLspacing&&(l.useMMLspacing=8);return l},TeXAtom:function(c){c=b.TeXAtom().With({texClass:b.TEXCLASS[c]});c.texClass===b.TEXCLASS.OP&&(c.movesupsub=c.movablelimits=!0);return c},CheckClass:function(b,c){c=(c||"").split(/ /);for(var d=[],e=0,r=c.length;e<r;e++)"MJX-"===c[e].substr(0,4)?"MJX-arrow"===c[e]?b.arrow=!0:"MJX-variant"===c[e]?(b.variantForm=!0,MathJax.Extension["TeX/AMSsymbols"]||MathJax.Hub.RestartAfter(MathJax.Ajax.Require("[MathJax]/extensions/TeX/AMSsymbols.js"))):"MJX-TeXAtom"!==c[e].substr(0,11)&&(b.mathvariant=c[e].substr(3),"-tex-caligraphic-bold"===b.mathvariant||"-tex-oldstyle-bold"===b.mathvariant)&&(MathJax.Extension["TeX/boldsymbol"]||MathJax.Hub.RestartAfter(MathJax.Ajax.Require("[MathJax]/extensions/TeX/boldsymbol.js"))):d.push(c[e]);d.length?b["class"]=d.join(" "):delete b["class"]},AddAttributes:function(c,d){c.attr={};c.attrNames=[];for(var e=0,q=d.attributes.length;e<q;e++){var r=d.attributes[e].name;"xlink:href"==r&&(r="href");if(!r.match(/:/)&&!r.match(/^_moz-math-((column|row)(align|line)|font-style)$/)){var a=d.attributes[e].value,a=this.filterAttribute(r,a);null!=a&&("true"===a.toLowerCase()?a=!0:"false"===a.toLowerCase()&&(a=!1),null!=c.defaults[r]||b.copyAttributes[r]?c[r]=a:c.attr[r]=a,c.attrNames.push(r))}}},filterAttribute:function(b,c){return c},AddChildren:function(d,e){for(var l=0,q=e.childNodes.length;l<q;l++){var r=e.childNodes[l];"#comment"!==r.nodeName&&("#text"===r.nodeName?d.isToken&&!d.mmlSelfClosing?(r=r.nodeValue.replace(/&([a-z][a-z0-9]*);/ig,this.replaceEntity),d.Append(b.chars(this.trimSpace(r)))):r.nodeValue.match(/\S/)&&c.Error(["UnexpectedTextNode","Unexpected text node: %1","'"+r.nodeValue+"'"]):"annotation-xml"===d.type?d.Append(b.xml(r)):(r=this.MakeMML(r),d.Append(r),r.mmlSelfClosing&&r.data.length&&(d.Append.apply(d,r.data),r.data=[])))}"mrow"===d.type&&2<=d.data.length&&(l=d.data[0],q=d.data[d.data.length-1],"mo"===l.type&&l.Get("fence")&&"mo"===q.type&&q.Get("fence")&&(l.data[0]&&(d.open=l.data.join("")),q.data[0]&&(d.close=q.data.join(""))))},preProcessMath:function(b){b.match(/^<[a-z]+:/i)&&!b.match(/^<[^<>]* xmlns:/)&&(b=b.replace(/^<([a-z]+)(:math)/i,'\x3c$1$2 xmlns:$1\x3d"http://www.w3.org/1998/Math/MathML"'));var c=b.match(/^(<math( ('.*?'|".*?"|[^>])+)>)/i);c&&c[2].match(/ (?!xmlns=)[a-z]+=\"http:/i)&&(b=c[1].replace(/ (?!xmlns=)([a-z]+=(['"])http:.*?\2)/ig," xmlns:$1 $1")+b.substr(c[0].length));b.match(/^<math/i)&&!b.match(/^<[^<>]* xmlns=/)&&(b=b.replace(/^<(math)/i,'\x3cmath xmlns\x3d"http://www.w3.org/1998/Math/MathML"'));b=b.replace(/^\s*(?:\/\/)?<!(--)?\[CDATA\[((.|\n)*)(\/\/)?\]\]\1>\s*$/,"$2");return b.replace(/&([a-z][a-z0-9]*);/ig,this.replaceEntity)},trimSpace:function(b){return b.replace(/[\t\n\r]/g," ").replace(/^ +/,"").replace(/ +$/,"").replace(/ +/g," ")},replaceEntity:function(b,d){if(d.match(/^(lt|amp|quot)$/))return b;if(c.Parse.Entity[d])return c.Parse.Entity[d];var e=d.charAt(0).toLowerCase(),q=d.match(/^[a-zA-Z](fr|scr|opf)$/);q&&(e=q[1]);c.Parse.loaded[e]||(c.Parse.loaded[e]=!0,MathJax.Hub.RestartAfter(MathJax.Ajax.Require(c.entityDir+"/"+e+".js")));return b}},{loaded:[]});c.Augment({sourceMenuTitle:["OriginalMathML","Original MathML"],prefilterHooks:MathJax.Callback.Hooks(!0),postfilterHooks:MathJax.Callback.Hooks(!0),Translate:function(d){this.ParseXML||(this.ParseXML=this.createParser());var m,l,q={script:d};d.firstChild&&"math"===d.firstChild.nodeName.toLowerCase().replace(/^[a-z]+:/,"")?q.math=d.firstChild:(l=MathJax.HTML.getScript(d),e.isMSIE&&(l=l.replace(/( )+$/,"")),q.math=l);this.prefilterHooks.Execute(q);l=q.math;try{m=c.Parse(l).mml}catch(r){if(!r.mathmlError)throw r;m=this.formatError(r,l,d)}q.math=b(m);this.postfilterHooks.Execute(q);return q.math},prefilterMath:function(b,c){return b},prefilterMathML:function(b,c){return b},formatError:function(c,d,e){c=c.message.replace(/\n.*/,"");MathJax.Hub.signal.Post(["MathML Jax - parse error",c,d,e]);return b.merror(c)},Error:function(b){b instanceof Array&&(b=d.apply(d,b));throw MathJax.Hub.Insert(Error(b),{mathmlError:!0});},parseDOM:function(b){return this.parser.parseFromString(b,"text/xml")},parseMS:function(b){return this.parser.loadXML(b)?this.parser:null},parseDIV:function(b){this.div.innerHTML=b.replace(/<([a-z]+)([^>]*)\/>/g,"\x3c$1$2\x3e\x3c/$1\x3e");return this.div},parseError:function(b){return null},createMSParser:function(){for(var b=null,c="MSXML2.DOMDocument.6.0 MSXML2.DOMDocument.5.0 MSXML2.DOMDocument.4.0 MSXML2.DOMDocument.3.0 MSXML2.DOMDocument.2.0 Microsoft.XMLDOM".split(" "),d=0,e=c.length;d<e&&!b;d++)try{b=new ActiveXObject(c[d])}catch(r){}return b},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(d("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})}});c.prefilterHooks.Add(function(b){b.math="string"===typeof b.math?c.prefilterMath(b.math,b.script):c.prefilterMathML(b.math,b.script)});c.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"};c.loadComplete("jax.js")})(MathJax.InputJax.MathML,MathJax.Hub.Browser);(function(c,e,b,d){var n,m=e.Browser.isMSIE,l,q,r,a;e.Register.StartupHook("MathZoom Ready",function(){a=MathJax.Extension.MathZoom});var f=function(a,b){var f=d.Element("span");a="padding"+a;b&&(f.style.cssText=b.getAttribute("style")||"",""===f.style.padding&&""===(f.style[a]||"")&&(f.style[a]="0px",b.setAttribute("style",f.style.cssText)))},k=function(a,b,f){if(a){var c=d.Element("span");c.style.cssText=a.getAttribute("style")||"";if(""===c.style.padding){b={paddingLeft:f,paddingTop:b,paddingRight:"0px",paddingBottom:"0px"};for(var k in b)b.hasOwnProperty(k)&&""===(c.style[k]||"")&&(c.style[k]=b[k])}a.setAttribute("style",c.style.cssText)}};c.Augment({config:{styles:{".MathJax_MathML":{"font-style":"normal","font-weight":"normal","line-height":"normal","font-size":"100%","font-size-adjust":"none","text-indent":0,"text-align":"left","text-transform":"none","letter-spacing":"normal","word-spacing":"normal","word-wrap":"normal","white-space":"nowrap","float":"none",direction:"ltr",border:0,padding:0,margin:0},"span.MathJax_MathML":{display:"inline"},"div.MathJax_MathML":{display:"block"},".MathJax_mmlExBox":{display:"block",overflow:"hidden",height:"1px",width:"60ex",padding:0,border:0,margin:0}}},settings:e.config.menuSettings,ex:1,Config:function(){this.SUPER(arguments).Config.call(this);this.settings.scale&&(this.config.scale=this.settings.scale);if("center"!==e.config.displayAlign){var a=e.config.displayAlign,b={"text-align":a+"!important"};b["margin-"+a]=e.config.displayIndent+"!important";e.Insert(this.config.styles,{"div.MathJax_MathML":b,"div.MathJax_MathML math":{"text-align":a},"div.MathJax_MathContainer \x3e span":{"text-align":a+"!important"}})}this.require||(this.require=[]);this.require.push(MathJax.OutputJax.extensionDir+"/MathEvents.js")},Startup:function(){l=MathJax.Extension.MathEvents.Event;q=MathJax.Extension.MathEvents.Touch;r=MathJax.Extension.MathEvents.Hover;this.ContextMenu=l.ContextMenu;this.Mousedown=l.AltContextMenu;this.Mouseover=r.Mouseover;this.Mouseout=r.Mouseout;this.Mousemove=r.Mousemove;m||(this.EmExSpan=d.Element("span",{style:{position:"absolute","font-size-adjust":"none"}},[["div",{className:"MathJax_mmlExBox"}],["span",{className:"MathJax_MathML"}]]),n.math(n.mspace().With({width:"60ex"})).toNativeMML(this.EmExSpan.lastChild));return b.Styles(this.config.styles)},InitializeMML:function(){this.initialized=!0;if(m)try{if(!e.Browser.mpNamespace){var a=document.createElement("object");a.id="mathplayer";a.classid="clsid:32F66A20-7614-11D4-BD11-00104BD3F987";document.getElementsByTagName("head")[0].appendChild(a);document.namespaces.add("m","http://www.w3.org/1998/Math/MathML");e.Browser.mpNamespace=!0}e.Browser.mpImported||(document.namespaces.m.doImport("#mathplayer"),e.Browser.mpImported=!0)}catch(b){alert(MathJax.Localization._(["MathML","MathPlayer"],"MathJax was not able to set up MathPlayer.\n\nIf MathPlayer is not installed, you need to install it first.\nOtherwise, your security settings may be preventing ActiveX \ncontrols from running. Use the Internet Options item under\nthe Tools menu and select the Security tab, then press the\nCustom Level button. Check that the settings for\n'Run ActiveX Controls', and 'Binary and script behaviors'\nare enabled.\n\nCurrently you will see error messages rather than\ntypeset mathematics."))}else document.body.appendChild(this.EmExSpan),this.defaultEx=this.EmExSpan.firstChild.offsetWidth/60,this.defaultMEx=this.EmExSpan.lastChild.offsetWidth/60,document.body.removeChild(this.EmExSpan)},preTranslate:function(a){a=a.jax[this.id];var b,f=a.length,c,k,e;for(b=0;b<f;b++)if(c=a[b],c.parentNode&&(this.initialized||this.InitializeMML(),(k=c.previousSibling)&&"MathJax_MathML"===k.className&&k.parentNode.removeChild(k),k=c.MathJax.elementJax))e=k.root,k.NativeMML={},e="block"===e.Get("display")?"div":"span",k=d.Element(e,{className:"MathJax_MathML",id:k.inputID+"-Frame"},[["span",{className:"MathJax_MathContainer",isMathJax:!0,jaxID:this.id,style:{position:"relative",display:"inline-block","white-space":"nowrap"}},[["span",{isMathJax:!0,style:{display:"inline-block"}}]]]]),c.parentNode.insertBefore(k,c),m||c.parentNode.insertBefore(this.EmExSpan.cloneNode(!0),c);for(b=0;b<f;b++)if(c=a[b],c.parentNode&&(k=c.MathJax.elementJax)){if(m)e=100;else{e=c.previousSibling;c=e.firstChild.offsetWidth/60;e=e.lastChild.offsetWidth/60;if(0===c||"NaN"===c)c=this.defaultEx,e=this.defaultMEx;e=(1<e?c/e:1)*this.config.scale;e=Math.floor(Math.max(this.config.minScaleAdjust/100,e));k.NativeMML.ex=c}k.NativeMML.fontSize=e+"%"}if(!m)for(b=0;b<f;b++)c=a[b],c.parentNode&&c.MathJax.elementJax&&(e=a[b].previousSibling,e.parentNode.removeChild(e))},Translate:function(a){if(a.parentNode){a=a.MathJax.elementJax;var b=a.root,f=document.getElementById(a.inputID+"-Frame"),c=f.firstChild,k=c.firstChild;f.style.fontSize=a.NativeMML.fontSize;this.ex=a.NativeMML.ex||this.defaultEx;try{b.toNativeMML(k)}catch(d){if(d.restart)for(;k.firstChild;)k.removeChild(k.firstChild);throw d;}if(m)if(c.addEventListener)for(var H in this.MSIE9events)this.MSIE9events.hasOwnProperty(H)&&c.addEventListener(H,this.MSIE9event,!0);else!(null!=this.config.showMathMenuMSIE?this:e).config.showMathMenuMSIE||this.settings.mpContext||this.settings.mpMouse?(c.style.position="",k.firstChild.onmousedown=this.MSIEaltMenu):this.MSIEoverlay(c);else c.oncontextmenu=l.Menu,c.onmouseover=l.Mouseover,c.onmouseout=l.Mouseout,c.onmousedown=l.Mousedown,c.onclick=l.Click,c.ondblclick=l.DblClick,e.Browser.noContextMenu&&(c.ontouchstart=q.start,c.ontouchend=q.end)}},postTranslate:function(a){this.forceReflow&&(a=(document.styleSheets||[])[0]||{},a.disabled=!0,a.disabled=!1)},Remove:function(a){(a=a.SourceElement())&&(a=a.previousSibling)&&a.className.match(/MathJax_MathML/)&&a.parentNode.removeChild(a)},MMLnamespace:"http://www.w3.org/1998/Math/MathML",MSIEoverlay:function(a){var b=a.firstChild;"span"===b.nodeName.toLowerCase()&&(b=b.firstChild);var f=this.getHoverBBox(null,b,{});d.addElement(a,"span",{style:{display:"inline-block",width:0,height:0,position:"relative"}},[["span",{isMathJax:!0,className:"MathJax_MathPlayer_Overlay",style:{display:"inline-block",position:"absolute",left:r.Px(-f.w),top:r.Px(-f.h-(f.y||0)-1),width:r.Px(f.w),height:r.Px(f.h+f.d),cursor:"pointer","background-color":"white",filter:"alpha(opacity\x3d0)"}}]]);e.Insert(a,{msieMath:b,onmousedown:this.MSIEevent,oncontextmenu:this.MSIEevent,onclick:this.MSIEevent,onmouseup:this.MSIEevent,onmousemove:this.MSIEevent,ondblclick:this.MSIEevent,onmouseover:this.MSIEevent,onmouseout:this.MSIEevent})},MSIEevents:{mousedown:"Mousedown",contextmenu:"ContextMenu",click:"Click",mouseup:"Mouseup",mousemove:"Mousemove",dblclick:"DblClick",mouseover:"Mouseover",mouseout:"Mouseout"},MSIEevent:function(){var b=window.event,f=c.MSIEevents[b.type];if(c[f]&&!1===c[f](b,this)||a&&!1===a.HandleEvent(b,f,this))return!1;"MathJax_MathPlayer_Overlay"===b.srcElement.className&&this.msieMath.fireEvent&&("ContextMenu"!==f&&"Mouseover"!==f&&"Mouseout"!==f||this.msieMath.fireEvent("on"+b.type,b));return l.False(b)},MSIEaltMenu:function(){for(var a=this.parentNode.parentNode;!a.jaxID;)a=a.parentNode;l.AltContextMenu(window.event,a)},MSIE9events:{contextmenu:"Menu",click:"Click",dblclick:"DblClick",mouseup:"False",mouseover:"Mouseover",mouseout:"Mouseout"},MSIE9event:function(a){return"contextmenu"===a.type&&c.settings.mpContext||"mouseup"===a.type&&c.settings.mpMouse?!0:"click"===a.type&&c.settings.mpContext?l.AltContextMenu(a,this):l[c.MSIE9events[a.type]].call(this,a)},getJaxFromMath:function(a){a=a.parentNode;do a=a.nextSibling;while(a&&"script"!==a.nodeName.toLowerCase());return e.getJaxFor(a)},getHoverSpan:function(a,b){return b.firstChild},getHoverBBox:function(a,b,f){return l.getBBox(b.parentNode)},Zoom:function(a,b,f,k,d){a.root.toNativeMML(b);this.msieIE8HeightBug&&(b.style.position="absolute");a=f.offsetWidth||f.scrollWidth;f=f.offsetHeight||f.scrollHeight;k=b.offsetWidth;d=b.offsetHeight;if(c.widthBug){var e=b.firstChild.firstChild.scrollWidth;e>k&&(k=e,b.style.width=k+"px")}this.msieIE8HeightBug&&(b.style.position="");return{Y:-l.getBBox(b.parentNode).h,mW:a,mH:f,zW:k,zH:d}},NAMEDSPACE:{negativeveryverythinmathspace:"-.0556em",negativeverythinmathspace:"-.1111em",negativethinmathspace:"-.1667em",negativemediummathspace:"-.2222em",negativethickmathspace:"-.2778em",negativeverythickmathspace:"-.3333em",negativeveryverythickmathspace:"-.3889em"}});e.Register.StartupHook("mml Jax Ready",function(){n=MathJax.ElementJax.mml;n.mbase.Augment({toNativeMML:function(a){var b=this.NativeMMLelement(this.type);this.NativeMMLattributes(b);for(var f=0,c=this.data.length;f<c;f++)this.data[f]?this.data[f].toNativeMML(b):b.appendChild(this.NativeMMLelement("mrow"));a.appendChild(b)},NativeMMLattributes:function(a){var b=this.defaults,f=this.attrNames||n.copyAttributeNames,c=n.skipAttributes;if(!this.attrNames){"mstyle"===this.type&&(b=n.math.prototype.defaults);for(var k in b)!c[k]&&b.hasOwnProperty(k)&&null!=this[k]&&a.setAttribute(k,this.NativeMMLattribute(this[k]))}b=0;for(c=f.length;b<c;b++)k=(this.attr||{})[f[b]],null==k&&(k=this[f[b]]),null!=k&&a.setAttribute(f[b],this.NativeMMLattribute(k));this.NativeMMLclass(a)},NativeMMLclass:function(a){var b=[];this["class"]&&b.push(this["class"]);if(this.isa(n.TeXAtom)){var f="ORD OP BIN REL OPEN CLOSE PUNCT INNER VCENTER".split(" ")[this.texClass];f&&b.push("MJX-TeXAtom-"+f)}this.mathvariant&&this.NativeMMLvariants[this.mathvariant]&&b.push("MJX"+this.mathvariant);this.arrow&&b.push("MJX-arrow");this.variantForm&&b.push("MJX-variant");b.length&&a.setAttribute("class",b.join(" "))},NativeMMLattribute:function(a){a=String(a);c.NAMEDSPACE[a]?a=c.NAMEDSPACE[a]:a.match(/^\s*(([-+])?(\d+(\.\d*)?|\.\d+))\s*mu\s*$/)?a=RegExp.$2+(1/18*RegExp.$3).toFixed(3).replace(/\.?0+$/,"")+"em":this.NativeMMLvariants[a]&&(a=this.NativeMMLvariants[a]);return a},NativeMMLvariants:{"-tex-caligraphic":n.VARIANT.SCRIPT,"-tex-caligraphic-bold":n.VARIANT.BOLDSCRIPT,"-tex-oldstyle":n.VARIANT.NORMAL,"-tex-oldstyle-bold":n.VARIANT.BOLD,"-tex-mathit":n.VARIANT.ITALIC},NativeMMLelement:function(a){a=m?document.createElement("m:"+a):document.createElementNS(c.MMLnamespace,a);a.isMathJax=!0;return a}});n.mrow.Augment({toNativeMML:function(a){var b,f;if(this.inferred&&this.parent.inferRow)for(b=0,f=this.data.length;b<f;b++)this.data[b]?this.data[b].toNativeMML(a):a.appendChild(this.NativeMMLelement("mrow"));else if(c.stretchyMoBug&&(this.open||this.close)){var k=this.NativeMMLelement("mfenced");this.NativeMMLattributes(k);b=0;f=this.data.length;this.open&&(k.setAttribute("open",this.open),b++);this.close&&(k.setAttribute("close",this.close),f--);var g=k;1<f-b+1&&(g=this.NativeMMLelement("mrow"),a.appendChild(k),a=k);for(;b<f;b++)this.data[b]?this.data[b].toNativeMML(g):g.appendChild(this.NativeMMLelement("mrow"));a.appendChild(g)}else this.SUPER(arguments).toNativeMML.call(this,a)}});n.msubsup.Augment({toNativeMML:function(a){var b=this.type;null==this.data[this.sup]&&(b="msub");null==this.data[this.sub]&&(b="msup");b=this.NativeMMLelement(b);this.NativeMMLattributes(b);delete this.data[0].inferred;for(var f=0,c=this.data.length;f<c;f++)this.data[f]&&this.data[f].toNativeMML(b);a.appendChild(b)}});n.munderover.Augment({toNativeMML:function(a){var b=this.type;null==this.data[this.under]&&(b="mover");null==this.data[this.over]&&(b="munder");b=this.NativeMMLelement(b);this.NativeMMLattributes(b);delete this.data[0].inferred;for(var f=0,c=this.data.length;f<c;f++)this.data[f]&&this.data[f].toNativeMML(b);a.appendChild(b)}});if(!m){var a=MathJax.Hub.SplitList;n.mtable.Augment({toNativeMML:function(b){var f,k;if(c.tableSpacingBug){f=this.getValues("rowspacing","columnspacing");this.nMMLtopPadding=a("0px "+f.rowspacing);this.nMMLleftPadding=a("0px "+f.columnspacing);var g=this.nMMLtopPadding,d=g.length;f=0;for(k=this.data.length;f<k;f++)this.data[f]&&(this.data[f].nMMLtopPadding=g[f<d?f:d-1])}if(c.tableLabelBug)for(f=0,k=this.data.length;f<k;f++)if(this.data[f]&&this.data[f].isa(n.mlabeledtr)){var l=e.config.displayAlign.charAt(0),m=this.Get("side").charAt(0);this.nMMLhasLabels=!0;this.nMMLlaMatch=l===m;this.nMMLforceWidth="c"===l||!!(this.width||"").match("%");break}this.width&&this.ffTableWidthBug&&(f=(this.style||"").replace(/;\s*$/,"").split(";"),""===f[0]&&f.shift(),f.push("width:"+this.width),this.style=f.join(";"));this.SUPER(arguments).toNativeMML.call(this,b);if(this.nMMLhasLabels){f=b.firstChild;if(this.nMMLforceWidth||"r"!==m)if(l=("l"!==l?1:0)+("l"===m?1:0)){var m={columnalign:"left",columnwidth:"auto",columnspacing:"0px",columnlines:"none"},q;for(q in m)m.hasOwnProperty(q)&&this[q]&&(k=[m[q],m[q]].slice(2-l).join(" ")+" ",f.setAttribute(q,k+f.getAttribute(q)))}!this.nMMLforceWidth&&this.nMMLlaMatch||f.setAttribute("width","100%")}}});n.mtr.Augment({toNativeMML:function(a){this.SUPER(arguments).toNativeMML.call(this,a);var b=a.lastChild;if(c.tableSpacingBug)for(var g=this.parent.nMMLleftPadding,d=g.length,p=b.firstChild,l=0;p;p=p.nextSibling,l++)k(p,this.nMMLtopPadding,g[l<d?l:d-1]);if(c.tableLabelBug&&(g=this.parent.nMMLforceWidth,d=this.parent.Get("side").charAt(0),p=e.config.displayAlign.charAt(0),this.parent.nMMLhasLabels&&b.firstChild)){if(g||"r"!==d)f("Left",b.firstChild),"l"!==p&&b.insertBefore(this.NativeMMLelement("mtd"),b.firstChild).setAttribute("style","padding:0"),"l"===d&&b.insertBefore(this.NativeMMLelement("mtd"),b.firstChild).setAttribute("style","padding:0");(g||"l"!==d)&&f("Right",b.lastChild)}}});n.mlabeledtr.Augment({toNativeMML:function(a){var b=this.NativeMMLelement("mtr");this.NativeMMLattributes(b);for(var g=1,d=this.data.length;g<d;g++)this.data[g]?this.data[g].toNativeMML(b):b.appendChild(this.NativeMMLelement("mtd"));if(c.tableSpacingBug)for(var d=this.parent.nMMLleftPadding,p=d.length,g=0,l=b.firstChild;l;l=l.nextSibling,g++)k(l,this.nMMLtopPadding,d[g<p?g:p-1]);if(c.tableLabelBug){var g=this.parent.Get("side").charAt(0),d=e.config.displayAlign.charAt(0),m=e.config.displayIndent;this.data[0].toNativeMML(b);l=p=b.lastChild;g===d?(p.setAttribute("style","width:"+m),p.setAttribute("columnalign",e.config.displayAlign)):(l=this.NativeMMLelement("mpadded"),l.setAttribute("style","width:0"),l.setAttribute("width","0px"),l.appendChild(p.firstChild),p.appendChild(l));f("",p);b.removeChild(p);var m=100,n=this.parent.nMMLforceWidth;(this.parent.width||"").match(/%/)&&(m-=parseFloat(this.parent.width));var q=m;if(n||"r"!==g)f("Left",b.firstChild),"l"!==d&&("c"===d&&(q/=2),m-=q,b.insertBefore(this.NativeMMLelement("mtd"),b.firstChild).setAttribute("style","padding:0;width:"+q+"%")),"l"===g&&b.insertBefore(p,b.firstChild);if(n||"l"!==g)f("Right",b.lastChild),"r"!==d&&b.appendChild(this.NativeMMLelement("mtd")).setAttribute("style","padding:0;width:"+m+"%"),"r"===g&&(g!==d&&l.setAttribute("lspace","-1width"),b.appendChild(p))}a.appendChild(b)}});n.mtd.Augment({toNativeMML:function(a){a=a.appendChild(this.NativeMMLelement(this.type));this.NativeMMLattributes(a);c.widthBug&&(a=a.appendChild(this.NativeMMLelement("mrow")));for(var b=0,f=this.data.length;b<f;b++)this.data[b]?this.data[b].toNativeMML(a):a.appendChild(this.NativeMMLelement("mrow"))}});n.mspace.Augment({toNativeMML:function(a){this.SUPER(arguments).toNativeMML.call(this,a);if(c.spaceWidthBug&&this.width){var b=a.lastChild,f=b.getAttribute("width"),k=b.getAttribute("style")||"";""!=k&&(k+=";");b.setAttribute("style",k+"width:"+f)}}});var b=MathJax.Ajax.fileURL(MathJax.OutputJax.fontDir+"/HTML-CSS/TeX/otf");c.Augment({config:{styles:{'[mathvariant\x3d"double-struck"]':{"font-family":"MathJax_AMS, MathJax_AMS-WEB"},'[mathvariant\x3d"script"]':{"font-family":"MathJax_Script, MathJax_Script-WEB"},'[mathvariant\x3d"fraktur"]':{"font-family":"MathJax_Fraktur, MathJax_Fraktur-WEB"},'[mathvariant\x3d"bold-script"]':{"font-family":"MathJax_Script, MathJax_Caligraphic-WEB","font-weight":"bold"},'[mathvariant\x3d"bold-fraktur"]':{"font-family":"MathJax_Fraktur, MathJax_Fraktur-WEB","font-weight":"bold"},'[mathvariant\x3d"monospace"]':{"font-family":"monospace"},'[mathvariant\x3d"sans-serif"]':{"font-family":"sans-serif"},'[mathvariant\x3d"bold-sans-serif"]':{"font-family":"sans-serif","font-weight":"bold"},'[mathvariant\x3d"sans-serif-italic"]':{"font-family":"sans-serif","font-style":"italic"},'[mathvariant\x3d"sans-serif-bold-italic"]':{"font-family":"sans-serif","font-style":"italic","font-weight":"bold"},'[class\x3d"MJX-tex-oldstyle"]':{"font-family":"MathJax_Caligraphic, MathJax_Caligraphic-WEB"},'[class\x3d"MJX-tex-oldstyle-bold"]':{"font-family":"MathJax_Caligraphic, MathJax_Caligraphic-WEB","font-weight":"bold"},'[class\x3d"MJX-tex-caligraphic"]':{"font-family":"MathJax_Caligraphic, MathJax_Caligraphic-WEB"},'[class\x3d"MJX-tex-caligraphic-bold"]':{"font-family":"MathJax_Caligraphic, MathJax_Caligraphic-WEB","font-weight":"bold"},"@font-face /*1*/":{"font-family":"MathJax_AMS-WEB",src:"url('"+b+"/MathJax_AMS-Regular.otf')"},"@font-face /*2*/":{"font-family":"MathJax_Script-WEB",src:"url('"+b+"/MathJax_Script-Regular.otf')"},"@font-face /*3*/":{"font-family":"MathJax_Fraktur-WEB",src:"url('"+b+"/MathJax_Fraktur-Regular.otf')"},"@font-face /*4*/":{"font-family":"MathJax_Caligraphic-WEB",src:"url('"+b+"/MathJax_Caligraphic-Regular.otf')"},"@font-face /*5*/":{"font-family":"MathJax_Fraktur-WEB","font-weight":"bold",src:"url('"+b+"/MathJax_Fraktur-Bold.otf')"},"@font-face /*6*/":{"font-family":"MathJax_Caligraphic-WEB","font-weight":"bold",src:"url('"+b+"/MathJax_Caligraphic-Bold.otf')"}}}})}n.math.Augment({toNativeMML:function(a){var b=this.NativeMMLelement(this.type),f=b;b.setAttribute("xmlns",c.MMLnamespace);this.NativeMMLattributes(b);c.widthBug&&(b=b.appendChild(this.NativeMMLelement("mrow")));for(var k=0,g=this.data.length;k<g;k++)this.data[k]?this.data[k].toNativeMML(b):b.appendChild(this.NativeMMLelement("mrow"));k=(this.data[0]||[]).data[0]||{};if(k.nMMLhasLabels){if(k.nMMLforceWidth||!k.nMMLlaMatch)b.setAttribute("style","width:100%"),a.style.width=a.parentNode.style.width="100%";k.nMMLlaMatch&&"div"===a.parentNode.parentNode.nodeName.toLowerCase()&&a.parentNode.parentNode.style.setProperty("margin-"+e.config.displayAlign,"0px","important")}a.appendChild(f);c.widthBug&&!k.nMMLforceWidth&&k.nMMLlaMatch&&(a.style.width=(f.firstChild.scrollWidth/c.ex).toFixed(3)+"ex")}});n.mfenced.Augment({toNativeMML:function(a){if(c.mfencedBug){var b=e.Browser.isOpera,f,k,g,d=this.getValues("open","close","separators");d.open=d.open.replace(/^\s+/,"").replace(/\s+$/,"");d.close=d.close.replace(/^\s+/,"").replace(/\s+$/,"");d.separators=d.separators.replace(/\s+/g,"").split("");if(0==d.separators.length)d.separators=null;else if(d.separators.length<this.data.length-1)for(k=d.separators[d.separators.length-1],f=this.data.length-1-d.separators.length;0<f;f--)d.separators.push(k);var p=this.NativeMMLelement(b?this.type:"mrow");this.NativeMMLattributes(p);p.removeAttribute("separators");b?(p.setAttribute("open",d.open),p.setAttribute("close",d.close),1<this.data.length&&(a.appendChild(p),a=p,p=this.NativeMMLelement("mrow"))):(p.removeAttribute("open"),p.removeAttribute("close"));b||(g=this.NativeMMLelement("mo"),g.setAttribute("fence","true"),g.textContent=d.open,p.appendChild(g));f=0;for(k=this.data.length;f<k;f++)d.separators&&0<f&&(g=this.NativeMMLelement("mo"),g.setAttribute("separator","true"),g.textContent=d.separators[f-1],p.appendChild(g)),this.data[f]?this.data[f].toNativeMML(p):p.appendChild(this.NativeMMLelement("mrow"));b||(g=this.NativeMMLelement("mo"),g.setAttribute("fence","true"),g.textContent=d.close,p.appendChild(g));a.appendChild(p)}else this.SUPER(arguments).toNativeMML.call(this,a)}});n.TeXAtom.Augment({toNativeMML:function(a){var b=this.NativeMMLelement("mrow");this.NativeMMLattributes(b);this.data[0].toNativeMML(b);a.appendChild(b)}});n.chars.Augment({toNativeMML:function(a){a.appendChild(document.createTextNode(this.toString()))}});n.entity.Augment({toNativeMML:function(a){a.appendChild(document.createTextNode(this.toString()))}});n.xml.Augment({toNativeMML:function(a){for(var b=0,f=this.data.length;b<f;b++)a.appendChild(this.data[b].cloneNode(!0))}});e.Register.StartupHook("TeX mathchoice Ready",function(){n.TeXmathchoice.Augment({toNativeMML:function(a){this.Core().toNativeMML(a)}})});setTimeout(MathJax.Callback(["loadComplete",c,"jax.js"]),0)});e.Browser.Select({MSIE:function(a){c.msieIE8HeightBug=8===(document.documentMode||0)},Opera:function(a){c.operaPositionBug=!0;c.stretchyMoBug=!0;c.tableLabelBug=!0;c.mfencedBug=!0},Firefox:function(a){c.ffTableWidthBug=!a.versionAtLeast("13.0");c.forceReflow=!0;c.widthBug=!0;c.spaceWidthBug=!a.versionAtLeast("20.0");c.tableSpacingBug=!0;c.tableLabelBug=!0;c.mfencedBug=!0},Chrome:function(a){c.tableSpacingBug=!0;c.tableLabelBug=!0;c.mfencedBug=!0},Safari:function(a){c.tableSpacingBug=!0;c.tableLabelBug=!0;c.mfencedBug=!0}});e.Register.StartupHook("End Cookie",function(){"None"!==e.config.menuSettings.zoom&&b.Require("[MathJax]/extensions/MathZoom.js")})})(MathJax.OutputJax.NativeMML,MathJax.Hub,MathJax.Ajax,MathJax.HTML);(function(c,e,b){var d,n=function(){var a=[].slice.call(arguments,0);a[0][0]=["HTML-CSS",a[0][0]];return MathJax.Message.Set.apply(MathJax.Message,a)},m=MathJax.Object.Subclass({timeout:1E3*(e.Browser.isMobile?15:8),FontInfo:{STIX:{family:"STIXSizeOneSym",testString:"() {} []"},TeX:{family:"MathJax_Size1",testString:"() {} []"}},comparisonFont:"sans-serif monospace script Times Courier Arial Helvetica".split(" "),testSize:["40px","50px","60px","30px","20px"],Init:function(){this.div=MathJax.HTML.addElement(document.body,"div",{id:"MathJax_Font_Test",style:{position:"absolute",visibility:"hidden",top:0,left:0,width:"auto",padding:0,border:0,margin:0,whiteSpace:"nowrap",textAlign:"left",textIndent:0,textTransform:"none",lineHeight:"normal",letterSpacing:"normal",wordSpacing:"normal",fontSize:this.testSize[0],fontWeight:"normal",fontStyle:"normal",fontSizeAdjust:"none"}},[""]);this.text=this.div.firstChild},findFont:function(a,b){if(b&&this.testCollection(b))return b;for(var c=0,d=a.length;c<d;c++)if(a[c]!==b&&this.testCollection(a[c]))return a[c];return null},testCollection:function(a){return this.testFont(this.FontInfo[a])},testFont:function(a){a.isWebFont&&b.FontFaceBug?this.div.style.fontWeight=this.div.style.fontStyle="normal":(this.div.style.fontWeight=a.weight||"normal",this.div.style.fontStyle=a.style||"normal");var f=this.getComparisonWidths(a.testString,a.noStyleChar);if(f){this.div.style.fontFamily="'"+a.family+"',"+this.comparisonFont[0];if(this.div.offsetWidth==f[0]&&(this.div.style.fontFamily="'"+a.family+"',"+this.comparisonFont[f[2]],this.div.offsetWidth==f[1]))return!1;if(this.div.offsetWidth!=f[3]||this.div.offsetHeight!=f[4]){if(a.noStyleChar||!b.FONTDATA||!b.FONTDATA.hasStyleChar)return!0;for(var f=0,c=this.testSize.length;f<c;f++)if(this.testStyleChar(a,this.testSize[f]))return!0}}return!1},styleChar:"\ueffd",versionChar:"\ueffe",compChar:"\uefff",testStyleChar:function(a,f){var c=3+(a.weight?2:0)+(a.style?4:0),d="",g=0,h=this.div.style.fontSize;this.div.style.fontSize=f;b.msieItalicWidthBug&&"italic"===a.style&&(this.text.nodeValue=d=this.compChar,g=this.div.offsetWidth);b.safariTextNodeBug?this.div.innerHTML=this.compChar+d:this.text.nodeValue=this.compChar+d;var e=this.div.offsetWidth-g;b.safariTextNodeBug?this.div.innerHTML=this.styleChar+d:this.text.nodeValue=this.styleChar+d;var l=Math.floor((this.div.offsetWidth-g)/e+.5);l===c&&(b.safariTextNodeBug?this.div.innerHTML=this.versionChar+d:this.text.nodeValue=this.versionChar+d,a.version=Math.floor((this.div.offsetWidth-g)/e+1.5)/2);this.div.style.fontSize=h;return l===c},getComparisonWidths:function(a,f){b.FONTDATA&&b.FONTDATA.hasStyleChar&&!f&&(a+=this.styleChar+" "+this.compChar);b.safariTextNodeBug?this.div.innerHTML=a:this.text.nodeValue=a;this.div.style.fontFamily=this.comparisonFont[0];var c=this.div.offsetWidth;this.div.style.fontFamily=b.webFontDefault;for(var d=this.div.offsetWidth,g=this.div.offsetHeight,h=1,e=this.comparisonFont.length;h<e;h++)if(this.div.style.fontFamily=this.comparisonFont[h],this.div.offsetWidth!=c)return[c,this.div.offsetWidth,h,d,g];return null},loadWebFont:function(a){e.Startup.signal.Post("HTML-CSS Jax - Web-Font "+b.fontInUse+"/"+a.directory);var f=n(["LoadWebFont","Loading web-font %1",b.fontInUse+"/"+a.directory]),k=MathJax.Callback({}),f=MathJax.Callback(["loadComplete",this,a,f,k]);c.timer.start(c,[this.checkWebFont,a,f],0,this.timeout);return k},loadComplete:function(a,f,k,d){MathJax.Message.Clear(f);d===c.STATUS.OK?(this.webFontLoaded=!0,k()):(this.loadError(a),e.Browser.isFirefox&&b.allowWebFonts&&(f=document.location.protocol+"//"+document.location.hostname,""!=document.location.port&&(f+=":"+document.location.port),f+="/",c.fileURL(b.webfontDir).substr(0,f.length)!==f&&this.firefoxFontError(a)),this.webFontLoaded?k():b.loadWebFontError(a,k))},loadError:function(a){n(["CantLoadWebFont","Can't load web font %1",b.fontInUse+"/"+a.directory],null,2E3);e.Startup.signal.Post(["HTML-CSS Jax - web font error",b.fontInUse+"/"+a.directory,a])},firefoxFontError:function(a){n(["FirefoxCantLoadWebFont","Firefox can't load web fonts from a remote host"],null,3E3);e.Startup.signal.Post("HTML-CSS Jax - Firefox web fonts on remote host error")},checkWebFont:function(a,f,c){a.time(c)||(b.Font.testFont(f)?c(a.STATUS.OK):setTimeout(a,a.delay))},fontFace:function(a){var f=b.allowWebFonts,k=b.FONTDATA.FONTS[a];b.msieFontCSSBug&&!k.family.match(/-Web$/)&&(k.family+="-Web");var d=c.fileURL(b.webfontDir+"/"+f),g=a.replace(/-b/,"-B").replace(/-i/,"-I").replace(/-Bold-/,"-Bold");g.match(/-/)||(g+="-Regular");var g="svg"===f?g+(".svg#"+g):g+("."+f),h={"font-family":k.family,src:"url('"+d+"/"+g+"')"};"otf"===f?(h.src+=" format('opentype')",d=c.fileURL(b.webfontDir+"/woff"),h.src="url('"+d+"/"+g.replace(/otf$/,"woff")+"') format('woff'), "+h.src):"eot"!==f&&(h.src+=" format('"+f+"')");b.FontFaceBug&&k.isWebFont||(a.match(/-bold/)&&(h["font-weight"]="bold"),a.match(/-italic/)&&(h["font-style"]="italic"));return h}}),l,q,r;b.Augment({config:{styles:{".MathJax":{display:"inline","font-style":"normal","font-weight":"normal","line-height":"normal","font-size":"100%","font-size-adjust":"none","text-indent":0,"text-align":"left","text-transform":"none","letter-spacing":"normal","word-spacing":"normal","word-wrap":"normal","white-space":"nowrap","float":"none",direction:"ltr",border:0,padding:0,margin:0},".MathJax_Display":{position:"relative",display:"block",width:"100%"},".MathJax img, .MathJax nobr, .MathJax a":{border:0,padding:0,margin:0,"max-width":"none","max-height":"none","vertical-align":0,"line-height":"normal","text-decoration":"none"},"img.MathJax_strut":{border:"0 !important",padding:"0 !important",margin:"0 !important","vertical-align":"0 !important"},".MathJax span":{display:"inline",position:"static",border:0,padding:0,margin:0,"vertical-align":0,"line-height":"normal","text-decoration":"none"},".MathJax nobr":{"white-space":"nowrap ! important"},".MathJax img":{display:"inline ! important","float":"none ! important"},".MathJax *":{transition:"none","-webkit-transition":"none","-moz-transition":"none","-ms-transition":"none","-o-transition":"none"},".MathJax_Processing":{visibility:"hidden",position:"fixed",width:0,height:0,overflow:"hidden"},".MathJax_Processed":{display:"none!important"},".MathJax_ExBox":{display:"block",overflow:"hidden",width:"1px",height:"60ex"},".MathJax .MathJax_EmBox":{display:"block",overflow:"hidden",width:"1px",height:"60em"},".MathJax .MathJax_HitBox":{cursor:"text",background:"white",opacity:0,filter:"alpha(opacity\x3d0)"},".MathJax .MathJax_HitBox *":{filter:"none",opacity:1,background:"transparent"},"#MathJax_Tooltip":{position:"absolute",left:0,top:0,width:"auto",height:"auto",display:"none"},"#MathJax_Tooltip *":{filter:"none",opacity:1,background:"transparent"},"@font-face":{"font-family":"MathJax_Blank",src:"url('about:blank')"}}},settings:e.config.menuSettings,hideProcessedMath:!0,Font:null,webFontDefault:"MathJax_Blank",allowWebFonts:"otf",maxStretchyParts:1E3,Config:function(){this.require||(this.require=[]);this.Font=m();this.SUPER(arguments).Config.call(this);var a=this.settings;this.adjustAvailableFonts&&this.adjustAvailableFonts(this.config.availableFonts);a.scale&&(this.config.scale=a.scale);a.font&&"Auto"!==a.font&&("TeX (local)"===a.font?(this.config.availableFonts=["TeX"],this.config.preferredFont=this.config.webFont="TeX"):"STIX (local)"===a.font?(this.config.availableFonts=["STIX"],this.config.preferredFont="STIX",this.config.webFont="TeX"):"TeX (web)"===a.font?(this.config.availableFonts=[],this.config.preferredFont="",this.config.webFont="TeX"):"TeX (image)"===a.font&&(this.config.availableFonts=[],this.config.preferredFont=this.config.webFont=""));a=this.Font.findFont(this.config.availableFonts,this.config.preferredFont);!a&&this.allowWebFonts&&(a=this.config.webFont)&&(this.webFonts=!0);!a&&this.config.imageFont&&(a=this.config.imageFont,this.imgFonts=!0);a?(this.fontInUse=a,this.fontDir+="/"+a,this.webfontDir+="/"+a,this.require.push(this.fontDir+"/fontdata.js"),this.imgFonts&&(this.require.push(this.directory+"/imageFonts.js"),e.Startup.signal.Post("HTML-CSS Jax - using image fonts"))):(n(["CantFindFontUsing","Can't find a valid font using %1","["+this.config.availableFonts.join(", ")+"]"],null,3E3),this.fontInUse="generic",this.FONTDATA={TeX_factor:1,baselineskip:1.2,lineH:.8,lineD:.2,ffLineH:.8,FONTS:{},VARIANT:{normal:{fonts:[]},"-generic-variant":{fonts:[]},"-largeOp":{fonts:[]},"-smallOp":{fonts:[]}},RANGES:[],DELIMITERS:{},RULECHAR:45,REMAP:{}},e.Startup.signal.Post("HTML-CSS Jax - no valid font"));this.require.push(MathJax.OutputJax.extensionDir+"/MathEvents.js")},Startup:function(){l=MathJax.Extension.MathEvents.Event;q=MathJax.Extension.MathEvents.Touch;r=MathJax.Extension.MathEvents.Hover;this.ContextMenu=l.ContextMenu;this.Mousedown=l.AltContextMenu;this.Mouseover=r.Mouseover;this.Mouseout=r.Mouseout;this.Mousemove=r.Mousemove;this.hiddenDiv=this.Element("div",{style:{visibility:"hidden",overflow:"hidden",position:"absolute",top:0,height:"1px",width:"auto",padding:0,border:0,margin:0,textAlign:"left",textIndent:0,textTransform:"none",lineHeight:"normal",letterSpacing:"normal",wordSpacing:"normal"}});document.body.firstChild?document.body.insertBefore(this.hiddenDiv,document.body.firstChild):document.body.appendChild(this.hiddenDiv);this.hiddenDiv=this.addElement(this.hiddenDiv,"div",{id:"MathJax_Hidden"});var a=this.addElement(this.hiddenDiv,"div",{style:{width:"5in"}});this.pxPerInch=a.offsetWidth/5;this.hiddenDiv.removeChild(a);this.startMarker=this.createStrut(this.Element("span"),10,!0);this.endMarker=this.addText(this.Element("span"),"x").parentNode;this.HDspan=this.Element("span");this.operaHeightBug&&this.createStrut(this.HDspan,0);if(this.msieInlineBlockAlignBug){this.HDimg=this.addElement(this.HDspan,"img",{style:{height:"0px",width:"1px"}});try{this.HDimg.src="about:blank"}catch(b){}}else this.HDimg=this.createStrut(this.HDspan,0);this.EmExSpan=this.Element("span",{style:{position:"absolute","font-size-adjust":"none"}},[["span",{className:"MathJax_ExBox"}],["span",{className:"MathJax"},[["span",{className:"MathJax_EmBox"}]]]]);this.linebreakSpan=this.Element("span",null,[["hr",{style:{width:"100%",size:1,padding:0,border:0,margin:0}}]]);return c.Styles(this.config.styles,["InitializeHTML",this])},removeSTIXfonts:function(a){for(var b=0,c=a.length;b<c;b++)"STIX"===a[b]&&(a.splice(b,1),c--,b--);"STIX"===this.config.preferredFont&&(this.config.preferredFont=a[0])},PreloadWebFonts:function(){if(b.allowWebFonts&&b.config.preloadWebFonts)for(var a=0,f=b.config.preloadWebFonts.length;a<f;a++){var c=b.FONTDATA.FONTS[b.config.preloadWebFonts[a]];c.available||b.Font.testFont(c)}},InitializeHTML:function(){this.PreloadWebFonts();document.body.appendChild(this.EmExSpan);document.body.appendChild(this.linebreakSpan);this.defaultEx=this.EmExSpan.firstChild.offsetHeight/60;this.defaultEm=this.EmExSpan.lastChild.firstChild.offsetHeight/60;this.defaultWidth=this.linebreakSpan.firstChild.offsetWidth;document.body.removeChild(this.linebreakSpan);document.body.removeChild(this.EmExSpan)},preTranslate:function(a){var b=a.jax[this.id],c,d=b.length,g,h,t,m,n,z,r=!1,u=this.config.linebreaks.automatic,v=this.config.linebreaks.width;u?((r=null!=v.match(/^\s*(\d+(\.\d*)?%\s*)?container\s*$/))?v=v.replace(/\s*container\s*/,""):z=this.defaultWidth,""===v&&(v="100%")):z=1E5;for(c=0;c<d;c++)if(g=b[c],g.parentNode&&((h=g.previousSibling)&&String(h.className).match(/^MathJax(_Display)?( MathJax_Processing)?$/)&&h.parentNode.removeChild(h),h=g.MathJax.elementJax))h.HTMLCSS={display:"block"===h.root.Get("display")},t=m=this.Element("span",{className:"MathJax",id:h.inputID+"-Frame",isMathJax:!0,jaxID:this.id,oncontextmenu:l.Menu,onmousedown:l.Mousedown,onmouseover:l.Mouseover,onmouseout:l.Mouseout,onmousemove:l.Mousemove,onclick:l.Click,ondblclick:l.DblClick}),e.Browser.noContextMenu&&(t.ontouchstart=q.start,t.ontouchend=q.end),h.HTMLCSS.display?(m=this.Element("div",{className:"MathJax_Display"}),m.appendChild(t)):this.msieDisappearingBug&&(t.style.display="inline-block"),m.setAttribute("role","textbox"),m.setAttribute("aria-readonly","true"),m.className+=" MathJax_Processing",g.parentNode.insertBefore(m,g),g.parentNode.insertBefore(this.EmExSpan.cloneNode(!0),g),r&&m.parentNode.insertBefore(this.linebreakSpan.cloneNode(!0),m);for(c=0;c<d;c++)if(g=b[c],g.parentNode&&(n=g.previousSibling,m=n.previousSibling,h=g.MathJax.elementJax)){g=n.firstChild.offsetHeight/60;n=n.lastChild.firstChild.offsetHeight/60;r&&(z=m.previousSibling.firstChild.offsetWidth);if(0===g||"NaN"===g)this.hiddenDiv.appendChild(m),h.HTMLCSS.isHidden=!0,g=this.defaultEx,n=this.defaultEm,r&&(z=this.defaultWidth);m=Math.floor(Math.max(this.config.minScaleAdjust/100,g/this.TeX.x_height/n)*this.config.scale);h.HTMLCSS.scale=m/100;h.HTMLCSS.fontSize=m+"%";h.HTMLCSS.em=h.HTMLCSS.outerEm=n;this.em=n*m/100;h.HTMLCSS.ex=g;h.HTMLCSS.lineWidth=u?this.length2em(v,1,z/this.em):1E6}for(c=0;c<d;c++)if(g=b[c],g.parentNode&&(n=b[c].previousSibling,h=b[c].MathJax.elementJax))r&&(t=n.previousSibling,h.HTMLCSS.isHidden||(t=t.previousSibling),t.parentNode.removeChild(t)),n.parentNode.removeChild(n);a.HTMLCSSeqn=a.HTMLCSSlast=0;a.HTMLCSSi=-1;a.HTMLCSSchunk=this.config.EqnChunk;a.HTMLCSSdelay=!1},Translate:function(a,b){if(a.parentNode){b.HTMLCSSdelay&&(b.HTMLCSSdelay=!1,e.RestartAfter(MathJax.Callback.Delay(this.config.EqnChunkDelay)));var c=a.MathJax.elementJax,p=c.root,g=document.getElementById(c.inputID+"-Frame"),h=c.HTMLCSS.display?g.parentNode:g;this.em=d.mbase.prototype.em=c.HTMLCSS.em*c.HTMLCSS.scale;this.outerEm=c.HTMLCSS.em;this.scale=c.HTMLCSS.scale;this.linebreakWidth=c.HTMLCSS.lineWidth;g.style.fontSize=c.HTMLCSS.fontSize;this.initImg(g);this.initHTML(p,g);p.setTeXclass();try{p.toHTML(g,h)}catch(t){if(t.restart)for(;g.firstChild;)g.removeChild(g.firstChild);throw t;}c.HTMLCSS.isHidden&&a.parentNode.insertBefore(h,a);h.className=h.className.split(/ /)[0];this.hideProcessedMath&&(h.className+=" MathJax_Processed",a.MathJax.preview&&(c.HTMLCSS.preview=a.MathJax.preview,delete a.MathJax.preview),b.HTMLCSSeqn+=b.i-b.HTMLCSSi,b.HTMLCSSi=b.i,b.HTMLCSSeqn>=b.HTMLCSSlast+b.HTMLCSSchunk&&(this.postTranslate(b),b.HTMLCSSchunk=Math.floor(b.HTMLCSSchunk*this.config.EqnChunkFactor),b.HTMLCSSdelay=!0))}},postTranslate:function(a){var b=a.jax[this.id];if(this.hideProcessedMath){for(var c=a.HTMLCSSlast,d=a.HTMLCSSeqn;c<d;c++){var g=b[c];if(g&&g.MathJax.elementJax){g.previousSibling.className=g.previousSibling.className.split(/ /)[0];var h=g.MathJax.elementJax.HTMLCSS;h.preview&&(h.preview.innerHTML="",g.MathJax.preview=h.preview,delete h.preview)}}this.forceReflow&&(b=(document.styleSheets||[])[0]||{},b.disabled=!0,b.disabled=!1);a.HTMLCSSlast=a.HTMLCSSeqn}},getJaxFromMath:function(a){"MathJax_Display"===a.parentNode.className&&(a=a.parentNode);do a=a.nextSibling;while(a&&"script"!==a.nodeName.toLowerCase());return e.getJaxFor(a)},getHoverSpan:function(a,b){return a.root.HTMLspanElement()},getHoverBBox:function(a,b,c){b=b.bbox;a=a.HTMLCSS.outerEm;a={w:b.w*a,h:b.h*a,d:b.d*a};b.width&&(a.width=b.width);return a},Zoom:function(a,f,c,e,g){f.className="MathJax";f.style.fontSize=a.HTMLCSS.fontSize;g=f.appendChild(this.EmExSpan.cloneNode(!0));var h=g.lastChild.firstChild.offsetHeight/60;this.em=d.mbase.prototype.em=h;this.outerEm=h/a.HTMLCSS.scale;g.parentNode.removeChild(g);this.idPostfix="-zoom";a.root.toHTML(f,f);this.idPostfix="";if(g=a.root.HTMLspanElement().bbox.width){f.style.width=Math.floor(e-1.5*b.em)+"px";f.style.display="inline-block";for(a=document.getElementById((a.root.id||"MathJax-Span-"+a.root.spanID)+"-zoom").firstChild;a&&a.style.width!==g;)a=a.nextSibling;a&&(a.style.width="100%")}f.style.position="absolute";g||(c.style.position="absolute");a=f.offsetWidth;e=f.offsetHeight;g=c.offsetHeight;h=c.offsetWidth;0===h&&(h=c.parentNode.offsetWidth);f.style.position=c.style.position="";return{Y:-l.getBBox(f).h,mW:h,mH:g,zW:a,zH:e}},initImg:function(a){},initHTML:function(a,b){},initFont:function(a){var f=b.FONTDATA.FONTS,k=b.config.availableFonts;if(k&&k.length&&b.Font.testFont(f[a]))return f[a].available=!0,null;if(!this.allowWebFonts)return null;f[a].isWebFont=!0;b.FontFaceBug&&(f[a].family=a,b.msieFontCSSBug&&(f[a].family+="-Web"));return c.Styles({"@font-face":this.Font.fontFace(a)})},Remove:function(a){var b=document.getElementById(a.inputID+"-Frame");b&&(a.HTMLCSS.display&&(b=b.parentNode),b.parentNode.removeChild(b));delete a.HTMLCSS},getHD:function(a){var b=a.style.position;a.style.position="absolute";this.HDimg.style.height="0px";a.appendChild(this.HDspan);var c={h:a.offsetHeight};this.HDimg.style.height=c.h+"px";c.d=a.offsetHeight-c.h;c.h-=c.d;c.h/=this.em;c.d/=this.em;a.removeChild(this.HDspan);a.style.position=b;return c},getW:function(a){var b,c;b=(a.bbox||{}).w;var d=a;if(a.bbox&&a.bbox.exactW)return b;if(a.bbox&&0<=b&&!this.initialSkipBug||this.negativeBBoxes||!a.firstChild)b=a.offsetWidth,c=a.parentNode.offsetHeight;else if(a.bbox&&0>b&&this.msieNegativeBBoxBug)b=-a.offsetWidth,c=a.parentNode.offsetHeight;else{if(this.initialSkipBug){var g=a.style.position;a.style.position="absolute";d=this.startMarker;a.insertBefore(d,a.firstChild)}a.appendChild(this.endMarker);b=this.endMarker.offsetLeft-d.offsetLeft;a.removeChild(this.endMarker);this.initialSkipBug&&(a.removeChild(d),a.style.position=g)}null!=c&&(a.parentNode.HH=c/this.em);return b/this.em},Measured:function(a,b){var c=a.bbox;if(null==c.width&&c.w&&!c.isMultiline){var d=this.getW(a);c.rw+=d-c.w;c.w=d;c.exactW=!0}b||(b=a.parentNode);b.bbox||(b.bbox=c);return a},Remeasured:function(a,b){b.bbox=this.Measured(a,b).bbox},MeasureSpans:function(a){var b=[],c,d,g,h,e;d=0;for(g=a.length;d<g;d++)if(c=a[d])h=c.bbox,e=this.parentNode(c),h.exactW||h.width||0===h.w||h.isMultiline?e.bbox||(e.bbox=h):this.negativeBBoxes||!c.firstChild||0<=h.w&&!this.initialSkipBug||0>h.w&&this.msieNegativeBBoxBug?b.push([c]):this.initialSkipBug?(h=this.startMarker.cloneNode(!0),e=this.endMarker.cloneNode(!0),c.insertBefore(h,c.firstChild),c.appendChild(e),b.push([c,h,e,c.style.position]),c.style.position="absolute"):(e=this.endMarker.cloneNode(!0),c.appendChild(e),b.push([c,null,e]));d=0;for(g=b.length;d<g;d++)c=b[d][0],h=c.bbox,e=this.parentNode(c),0<=h.w&&!this.initialSkipBug||this.negativeBBoxes||!c.firstChild?(a=c.offsetWidth,e.HH=e.offsetHeight/this.em):0>h.w&&this.msieNegativeBBoxBug?(a=-c.offsetWidth,e.HH=e.offsetHeight/this.em):a=b[d][2].offsetLeft-((b[d][1]||{}).offsetLeft||0),a/=this.em,h.rw+=a-h.w,h.w=a,h.exactW=!0,e.bbox||(e.bbox=h);d=0;for(g=b.length;d<g;d++)c=b[d],c[1]&&(c[1].parentNode.removeChild(c[1]),c[0].style.position=c[3]),c[2]&&c[2].parentNode.removeChild(c[2])},Em:function(a){return 6E-4>Math.abs(a)?"0em":a.toFixed(3).replace(/\.?0+$/,"")+"em"},EmRounded:function(a){a=(Math.round(a*b.em)+.05)/b.em;return 6E-4>Math.abs(a)?"0em":a.toFixed(3).replace(/\.?0+$/,"")+"em"},unEm:function(a){return parseFloat(a)},Px:function(a){a*=this.em;return(0>a?"-":"")+Math.abs(a).toFixed(1).replace(/\.?0+$/,"")+"px"},unPx:function(a){return parseFloat(a)/this.em},Percent:function(a){return(100*a).toFixed(1).replace(/\.?0+$/,"")+"%"},length2em:function(a,c,k){"string"!==typeof a&&(a=a.toString());if(""===a)return"";if(a===d.SIZE.NORMAL)return 1;if(a===d.SIZE.BIG)return 2;if(a===d.SIZE.SMALL)return.71;if("infinity"===a)return b.BIGDIMEN;var e=this.FONTDATA.TeX_factor;if(a.match(/mathspace$/))return b.MATHSPACE[a]*e;var g=a.match(/^\s*([-+]?(?:\.\d+|\d+(?:\.\d*)?))?(pt|em|ex|mu|px|pc|in|mm|cm|%)?/);a=parseFloat(g[1]||"1");g=g[2];null==k&&(k=1);null==c&&(c=1);return"em"===g?a*e:"ex"===g?a*b.TeX.x_height*e:"%"===g?a/100*k:"px"===g?a/b.em:"pt"===g?a/10*e:"pc"===g?1.2*a*e:"in"===g?a*this.pxPerInch/b.em:"cm"===g?a*this.pxPerInch/b.em/2.54:"mm"===g?a*this.pxPerInch/b.em/25.4:"mu"===g?a/18*e*c:a*e*k},thickness2em:function(a,c){var k=b.TeX.rule_thickness;return a===d.LINETHICKNESS.MEDIUM?k:a===d.LINETHICKNESS.THIN?.67*k:a===d.LINETHICKNESS.THICK?1.67*k:this.length2em(a,c,k)},getPadding:function(a){var b={top:0,right:0,bottom:0,left:0},c=!1,d;for(d in b)if(b.hasOwnProperty(d)){var g=a.style["padding"+d.charAt(0).toUpperCase()+d.substr(1)];g&&(b[d]=this.length2em(g),c=!0)}return c?b:!1},getBorders:function(a){var b={top:0,right:0,bottom:0,left:0},c={},d=!1,g;for(g in b)if(b.hasOwnProperty(g)){var h="border"+g.charAt(0).toUpperCase()+g.substr(1);a.style[h+"Style"]&&(d=!0,b[g]=this.length2em(a.style[h+"Width"]),c[h]=[a.style[h+"Width"],a.style[h+"Style"],a.style[h+"Color"]].join(" "))}b.css=c;return d?b:!1},setBorders:function(a,b){if(b)for(var c in b.css)b.css.hasOwnProperty(c)&&(a.style[c]=b.css[c])},createStrut:function(a,b,c){b=this.Element("span",{isMathJax:!0,style:{display:"inline-block",overflow:"hidden",height:b+"px",width:"1px",marginRight:"-1px"}});c?a.insertBefore(b,a.firstChild):a.appendChild(b);return b},createBlank:function(a,b,c){b=this.Element("span",{isMathJax:!0,style:{display:"inline-block",overflow:"hidden",height:"1px",width:this.Em(b)}});c?a.insertBefore(b,a.firstChild):a.appendChild(b);return b},createShift:function(a,b,c){b=this.Element("span",{style:{marginLeft:this.Em(b)},isMathJax:!0});c?a.insertBefore(b,a.firstChild):a.appendChild(b);return b},createSpace:function(a,c,k,e,g,h){c<-k&&(k=-c);var t=this.Em(c+k),l=this.Em(-k);this.msieInlineBlockAlignBug&&(l=this.Em(b.getHD(a.parentNode).d-k));a.isBox||h?(h=null==a.scale?1:a.scale,a.bbox={exactW:!0,h:c*h,d:k*h,w:e*h,rw:e*h,lw:0},a.style.height=t,a.style.verticalAlign=l,a.HH=(c+k)*h):a=this.addElement(a,"span",{style:{height:t,verticalAlign:l},isMathJax:!0});0<=e?(a.style.width=this.Em(e),a.style.display="inline-block",a.style.overflow="hidden"):(this.msieNegativeSpaceBug&&(a.style.height=""),a.style.marginLeft=this.Em(e),b.safariNegativeSpaceBug&&a.parentNode.firstChild==a&&this.createBlank(a,0,!0));g&&g!==d.COLOR.TRANSPARENT&&(a.style.backgroundColor=g,a.style.position="relative");return a},createRule:function(a,c,k,d,g){c<-k&&(k=-c);var h=b.TeX.min_rule_thickness,e=1;0<d&&d*this.em<h&&(d=h/this.em);0<c+k&&(c+k)*this.em<h&&(e=1/(c+k)*(h/this.em),c*=e,k*=e);g=g?"solid "+g:"solid";g=this.Em(d)+" "+g;h=1===e?this.Em(c+k):h+"px";e=this.Em(-k);g=this.addElement(a,"span",{style:{borderLeft:g,display:"inline-block",overflow:"hidden",width:0,height:h,verticalAlign:e},bbox:{h:c,d:k,w:d,rw:d,lw:0,exactW:!0},noAdjust:!0,HH:c+k,isMathJax:!0});0<d&&0==g.offsetWidth&&(g.style.width=this.Em(d));if(a.isBox||"mspace"==a.className)a.bbox=g.bbox,a.HH=c+k;return g},createFrame:function(a,b,c,d,g,h){b<-c&&(c=-b);var e=2*g;this.msieFrameSizeBug&&(d<e&&(d=e),b+c<e&&(b=e-c));this.msieBorderWidthBug&&(e=0);var l=this.Em(b+c-e),m=this.Em(-c-g),e=this.Em(d-e);g=this.Em(g)+" "+h;a=this.addElement(a,"span",{style:{border:g,display:"inline-block",overflow:"hidden",width:e,height:l},bbox:{h:b,d:c,w:d,rw:d,lw:0,exactW:!0},noAdjust:!0,HH:b+c,isMathJax:!0});m&&(a.style.verticalAlign=m);return a},parentNode:function(a){a=a.parentNode;"a"===a.nodeName.toLowerCase()&&(a=a.parentNode);return a},createStack:function(a,b,c){this.msiePaddingWidthBug&&this.createStrut(a,0);var d=String(c).match(/%$/),g=d||null==c?0:c;a=this.addElement(a,"span",{noAdjust:!0,HH:0,isMathJax:!0,style:{display:"inline-block",position:"relative",width:d?"100%":this.Em(g),height:0}});b||(a.parentNode.bbox=a.bbox={exactW:!0,h:-this.BIGDIMEN,d:-this.BIGDIMEN,w:g,lw:this.BIGDIMEN,rw:d||null==c?-this.BIGDIMEN:c},d&&(a.bbox.width=c));return a},createBox:function(a,b){var c=this.addElement(a,"span",{style:{position:"absolute"},isBox:!0,isMathJax:!0});null!=b&&(c.style.width=b);return c},addBox:function(a,b){b.style.position="absolute";b.isBox=b.isMathJax=!0;return a.appendChild(b)},placeBox:function(a,c,d,e){a.isMathJax=!0;var g=b.parentNode(a),h=a.bbox,t=g.bbox;this.msiePlaceBoxBug&&this.addText(a,this.NBSP);this.imgSpaceBug&&this.addText(a,this.imgSpace);var l,m=0;l=null!=a.HH?a.HH:h?Math.max(3,h.h+h.d):a.offsetHeight/this.em;a.noAdjust||(l=Math.round((l+1)*this.em)/this.em,this.msieInlineBlockAlignBug?this.addElement(a,"img",{className:"MathJax_strut",border:0,src:"about:blank",isMathJax:!0,style:{width:0,height:this.Em(l)}}):(this.addElement(a,"span",{isMathJax:!0,style:{display:"inline-block",width:0,height:this.Em(l)}}),b.chromeHeightBug&&(l-=(a.lastChild.offsetHeight-Math.round(l*this.em))/this.em)));if(h&&(this.initialSkipBug&&(0>h.lw&&(m=h.lw,b.createBlank(a,-m,!0)),h.rw>h.w&&b.createBlank(a,h.rw-h.w+.1)),!this.msieClipRectBug&&!h.noclip&&!e)){e=3/this.em;var n=null==h.H?h.h:h.H,q=l+(null==h.D?h.d:h.D)+e,r=h.lw-3*e,v=1E3;this.initialSkipBug&&0>h.lw&&(r=-3*e);h.isFixed&&(v=h.width-r);a.style.clip="rect("+this.Em(l-n-e)+" "+this.Em(v)+" "+this.Em(q)+" "+this.Em(r)+")"}a.style.top=this.Em(-d-l);a.style.left=this.Em(c+m);h&&t&&(null!=h.H&&(null==t.H||h.H+d>t.H)&&(t.H=h.H+d),null!=h.D&&(null==t.D||h.D-d>t.D)&&(t.D=h.D-d),h.h+d>t.h&&(t.h=h.h+d),h.d-d>t.d&&(t.d=h.d-d),null!=t.H&&t.H<=t.h&&delete t.H,null!=t.D&&t.D<=t.d&&delete t.D,h.w+c>t.w&&(t.w=h.w+c,null==t.width&&(g.style.width=this.Em(t.w))),h.rw+c>t.rw&&(t.rw=h.rw+c),h.lw+c<t.lw&&(t.lw=h.lw+c),null==h.width||h.isFixed||(null==t.width&&(g.style.width=t.width="100%",h.minWidth&&(g.style.minWidth=t.minWidth=h.minWidth)),a.style.width=h.width))},alignBox:function(a,b,c){this.placeBox(a,0,c);c=a.bbox;if(!c.isMultiline){var d=null!=c.width&&!c.isFixed,g=0,h=-c.w/2,l="50%";this.initialSkipBug&&(g=c.w-c.rw-.1,h+=c.lw);h=this.msieMarginScaleBug?h*this.em+"px":this.Em(h);d&&(h="",l=50-parseFloat(c.width)/2+"%");e.Insert(a.style,{right:{left:"",right:this.Em(g)},center:{left:l,marginLeft:h}}[b])}},setStackWidth:function(a,b){if("number"===typeof b){a.style.width=this.Em(Math.max(0,b));var c=a.bbox;c&&(c.w=b,c.exactW=!0);if(c=a.parentNode.bbox)c.w=b,c.exactW=!0}else a.style.width=a.parentNode.style.width="100%",a.bbox&&(a.bbox.width=b),a.parentNode.bbox&&(a.parentNode.bbox.width=b)},createDelimiter:function(a,b,k,p,g){if(b){p||(p=1);k instanceof Array||(k=[k,k]);var h=k[1];k=k[0];for(var l={alias:b};l.alias;)b=l.alias,(l=this.FONTDATA.DELIMITERS[b])||(l={HW:[0,this.FONTDATA.VARIANT[d.VARIANT.NORMAL]]});l.load&&e.RestartAfter(c.Require(this.fontDir+"/fontdata-"+l.load+".js"));for(var m=0,n=l.HW.length;m<n;m++)if(l.HW[m][0]*p>=k-.01||m==n-1&&!l.stretch){l.HW[m][2]&&(p*=l.HW[m][2]);l.HW[m][3]&&(b=l.HW[m][3]);k=this.addElement(a,"span");this.createChar(k,[b,l.HW[m][1]],p,g);a.bbox=k.bbox;a.offset=.65*a.bbox.w;a.scale=p;return}if(l.stretch)this["extendDelimiter"+l.dir](a,h,l.stretch,p,g)}else a.bbox={h:0,d:0,w:this.TeX.nulldelimiterspace,lw:0},a.bbox.rw=a.bbox.w,this.createSpace(a,a.bbox.h,a.bbox.d,a.bbox.w)},extendDelimiterV:function(a,b,c,d,g){var e=this.createStack(a,!0),l=this.createBox(e),m=this.createBox(e);this.createChar(l,c.top||c.ext,d,g);this.createChar(m,c.bot||c.ext,d,g);var n={bbox:{w:0,lw:0,rw:0}},z=n,q,r=l.bbox.h+l.bbox.d+m.bbox.h+m.bbox.d,v=-l.bbox.h;this.placeBox(l,0,v,!0);v-=l.bbox.d;c.mid&&(z=this.createBox(e),this.createChar(z,c.mid,d,g),r+=z.bbox.h+z.bbox.d);c.min&&b<r*c.min&&(b=r*c.min);if(b>r){n=this.Element("span");this.createChar(n,c.ext,d,g);q=n.bbox.h+n.bbox.d;var y=q-.05,C,B,D=c.mid?2:1;B=C=Math.min(Math.ceil((b-r)/(D*y)),this.maxStretchyParts);c.fullExtenders||(y=(b-r)/(D*C));b=C/(C+1)*(q-y);y=q-b;for(v+=b+y-n.bbox.h;0<D--;){for(;0<C--;)this.msieCloneNodeBug?(q=this.Element("span"),this.createChar(q,c.ext,d,g)):q=n.cloneNode(!0),q.bbox=n.bbox,v-=y,this.placeBox(this.addBox(e,q),0,v,!0);v+=b-n.bbox.d;c.mid&&D&&(this.placeBox(z,0,v-z.bbox.h,!0),C=B,v+=-(z.bbox.h+z.bbox.d)+b+y-n.bbox.h)}}else v+=(r-b)/2,c.mid&&(this.placeBox(z,0,v-z.bbox.h,!0),v+=-(z.bbox.h+z.bbox.d)),v+=(r-b)/2;this.placeBox(m,0,v-m.bbox.h,!0);v-=m.bbox.h+m.bbox.d;a.bbox={w:Math.max(l.bbox.w,n.bbox.w,m.bbox.w,z.bbox.w),lw:Math.min(l.bbox.lw,n.bbox.lw,m.bbox.lw,z.bbox.lw),rw:Math.max(l.bbox.rw,n.bbox.rw,m.bbox.rw,z.bbox.rw),h:0,d:-v,exactW:!0};a.scale=d;a.offset=.55*a.bbox.w;a.isMultiChar=!0;this.setStackWidth(e,a.bbox.w)},extendDelimiterH:function(a,b,c,d,g){var e=this.createStack(a,!0),l=this.createBox(e),m=this.createBox(e);this.createChar(l,c.left||c.rep,d,g);this.createChar(m,c.right||c.rep,d,g);var n=this.Element("span");this.createChar(n,c.rep,d,g);var q={bbox:{h:-this.BIGDIMEN,d:-this.BIGDIMEN}},r;this.placeBox(l,-l.bbox.lw,0,!0);var u=l.bbox.rw-l.bbox.lw+(m.bbox.rw-m.bbox.lw)-.05,v=l.bbox.rw-l.bbox.lw-.025;c.mid&&(q=this.createBox(e),this.createChar(q,c.mid,d,g),u+=q.bbox.w);c.min&&b<u*c.min&&(b=u*c.min);if(b>u){r=n.bbox.rw-n.bbox.lw;var y=r-.05,C,B,D=c.mid?2:1;B=C=Math.min(Math.ceil((b-u)/(D*y)),this.maxStretchyParts);c.fillExtenders||(y=(b-u)/(D*C));b=C/(C+1)*(r-y);y=r-b;for(v-=n.bbox.lw+b;0<D--;){for(;0<C--;)this.cloneNodeBug?(r=this.Element("span"),this.createChar(r,c.rep,d,g)):r=n.cloneNode(!0),r.bbox=n.bbox,this.placeBox(this.addBox(e,r),v,0,!0),v+=y;c.mid&&D&&(this.placeBox(q,v,0,!0),v+=q.bbox.w-b,C=B)}}else v-=(u-b)/2,c.mid&&(this.placeBox(q,v,0,!0),v+=q.bbox.w),v-=(u-b)/2;this.placeBox(m,v,0,!0);a.bbox={w:v+m.bbox.rw,lw:0,rw:v+m.bbox.rw,H:Math.max(l.bbox.h,n.bbox.h,m.bbox.h,q.bbox.h),D:Math.max(l.bbox.d,n.bbox.d,m.bbox.d,q.bbox.d),h:n.bbox.h,d:n.bbox.d,exactW:!0};a.scale=d;a.isMultiChar=!0;this.setStackWidth(e,a.bbox.w)},createChar:function(a,b,c,e){a.isMathJax=!0;var g=a,h="",l={fonts:[b[1]],noRemap:!0};e&&e===d.VARIANT.BOLD&&(l.fonts=[b[1]+"-bold",b[1]]);"string"!==typeof b[1]&&(l=b[1]);if(b[0]instanceof Array){e=0;for(var m=b[0].length;e<m;e++)h+=String.fromCharCode(b[0][e])}else h=String.fromCharCode(b[0]);b[4]&&(c*=b[4]);1!==c||b[3]?(g=this.addElement(a,"span",{style:{fontSize:this.Percent(c)},scale:c,isMathJax:!0}),this.handleVariant(g,l,h),a.bbox=g.bbox):this.handleVariant(a,l,h);b[2]&&(a.style.marginLeft=this.Em(b[2]));b[3]&&(a.firstChild.style.verticalAlign=this.Em(b[3]),a.bbox.h+=b[3],0>a.bbox.h&&(a.bbox.h=0));b[5]&&(a.bbox.h+=b[5]);b[6]&&(a.bbox.d+=b[6]);this.AccentBug&&0===a.bbox.w&&(g.firstChild.nodeValue+=this.NBSP)},positionDelimiter:function(a,c){c-=a.bbox.h;a.bbox.d-=c;a.bbox.h+=c;c&&(this.safariVerticalAlignBug||this.konquerorVerticalAlignBug||this.operaVerticalAlignBug&&a.isMultiChar?(""===a.firstChild.style.display&&""!==a.style.top&&(a=a.firstChild,c-=b.unEm(a.style.top)),a.style.position="relative",a.style.top=this.Em(-c)):(a.style.verticalAlign=this.Em(c),b.ffVerticalAlignBug&&b.createRule(a.parentNode,a.bbox.h,0,0)))},handleVariant:function(a,b,c){var e="",g,h,l,m=a,n=!!a.style.fontFamily;if(0!==c.length){a.bbox||(a.bbox={w:0,h:-this.BIGDIMEN,d:-this.BIGDIMEN,rw:-this.BIGDIMEN,lw:this.BIGDIMEN});b||(b=this.FONTDATA.VARIANT[d.VARIANT.NORMAL]);l=b;for(var q=0,r=c.length;q<r;q++){b=l;g=c.charCodeAt(q);c.charAt(q);if(55296<=g&&56319>g)q++,g=(g-55296<<10)+(c.charCodeAt(q)-56320)+65536,this.FONTDATA.RemapPlane1&&(b=this.FONTDATA.RemapPlane1(g,b),g=b.n,b=b.variant);else{var u,v=this.FONTDATA.RANGES;h=0;for(u=v.length;h<u;h++)if("alpha"!==v[h].name||!b.noLowerCase){var y=b["offset"+v[h].offset];if(y&&g>=v[h].low&&g<=v[h].high){v[h].remap&&v[h].remap[g]?g=y+v[h].remap[g]:(g=g-v[h].low+y,v[h].add&&(g+=v[h].add));b["variant"+v[h].offset]&&(b=this.FONTDATA.VARIANT[b["variant"+v[h].offset]]);break}}}b.remap&&b.remap[g]&&(b.remap[g]instanceof Array?(b=b.remap[g],g=b[0],b=this.FONTDATA.VARIANT[b[1]]):"string"===typeof b.remap[g]?(c=b.remap[g]+c.substr(q+1),q=0,r=c.length,g=c.charCodeAt(0)):(g=b.remap[g],b.remap.variant&&(b=this.FONTDATA.VARIANT[b.remap.variant])));this.FONTDATA.REMAP[g]&&!b.noRemap&&(g=this.FONTDATA.REMAP[g],g instanceof Array&&(b=this.FONTDATA.VARIANT[g[1]],g=g[0]),"string"===typeof g&&(c=g+c.substr(q+1),q=0,r=c.length,g=g.charCodeAt(0)));h=this.lookupChar(b,g);b=h[g];if(n||!this.checkFont(h,m.style)&&!b[5].img)e.length&&(this.addText(m,e),e=""),u=!!m.style.fontFamily||!!a.style.fontStyle||!!a.style.fontWeight||!h.directory||n,n=!1,m!==a&&(u=!this.checkFont(h,a.style),m=a),u&&(m=this.addElement(a,"span",{isMathJax:!0,subSpan:!0})),this.handleFont(m,h,m!==a);e=this.handleChar(m,h,b,g,e);(b[5]||{}).space||(b[0]/1E3>a.bbox.h&&(a.bbox.h=b[0]/1E3),b[1]/1E3>a.bbox.d&&(a.bbox.d=b[1]/1E3));a.bbox.w+b[3]/1E3<a.bbox.lw&&(a.bbox.lw=a.bbox.w+b[3]/1E3);a.bbox.w+b[4]/1E3>a.bbox.rw&&(a.bbox.rw=a.bbox.w+b[4]/1E3);a.bbox.w+=b[2]/1E3}e.length&&this.addText(m,e);a.scale&&1!==a.scale&&(a.bbox.h*=a.scale,a.bbox.d*=a.scale,a.bbox.w*=a.scale,a.bbox.lw*=a.scale,a.bbox.rw*=a.scale);1==c.length&&h.skew&&h.skew[g]&&(a.bbox.skew=h.skew[g])}},checkFont:function(a,b){var c=b.fontWeight||"normal";c.match(/^\d+$/)&&(c=600<=parseInt(c)?"bold":"normal");return a.family.replace(/'/g,"")===b.fontFamily.replace(/'/g,"")&&(a.style||"normal")===(b.fontStyle||"normal")&&(a.weight||"normal")===c},handleFont:function(a,c,d){a.style.fontFamily=c.family;c.directory||(a.style.fontSize=Math.floor(100/b.scale+.5)+"%");if(!b.FontFaceBug||!c.isWebFont){var e=c.style||"normal";c=c.weight||"normal";if("normal"!==e||d)a.style.fontStyle=e;if("normal"!==c||d)a.style.fontWeight=c}},handleChar:function(a,c,d,e,g){var h=d[5];if(h.space)return g.length&&this.addText(a,g),b.createShift(a,d[2]/1E3),"";if(h.img)return this.handleImg(a,c,d,e,g);if(h.isUnknown&&this.FONTDATA.DELIMITERS[e])return g.length&&this.addText(a,g),g=a.scale,b.createDelimiter(a,e,0,1,c),"V"===this.FONTDATA.DELIMITERS[e].dir&&(a.style.verticalAlign=this.Em(a.bbox.d),a.bbox.h+=a.bbox.d,a.bbox.d=0),a.scale=g,d[0]=1E3*a.bbox.h,d[1]=1E3*a.bbox.d,d[2]=1E3*a.bbox.w,d[3]=1E3*a.bbox.lw,d[4]=1E3*a.bbox.rw,"";null==h.c&&(65535>=e?h.c=String.fromCharCode(e):(c=e-65536,h.c=String.fromCharCode((c>>10)+55296)+String.fromCharCode((c&1023)+56320)));if(h.rfix)return this.addText(a,g+h.c),b.createShift(a,h.rfix/1E3),"";if(d[2]||!this.msieAccentBug||g.length)return g+h.c;b.createShift(a,d[3]/1E3);b.createShift(a,(d[4]-d[3])/1E3);this.addText(a,h.c);b.createShift(a,-d[4]/1E3);return""},handleImg:function(a,b,c,d,g){return g},lookupChar:function(a,c){var d,e;if(!a.FONTS){var g=this.FONTDATA.FONTS,h=a.fonts||this.FONTDATA.VARIANT.normal.fonts;h instanceof Array||(h=[h]);a.fonts!=h&&(a.fonts=h);a.FONTS=[];d=0;for(e=h.length;d<e;d++)g[h[d]]&&(a.FONTS.push(g[h[d]]),g[h[d]].name=h[d])}d=0;for(e=a.FONTS.length;d<e;d++)if(g=a.FONTS[d],"string"===typeof g&&(delete a.FONTS,this.loadFont(g)),g[c])if(5===g[c].length&&(g[c][5]={}),b.allowWebFonts&&!g.available)this.loadWebFont(g);else return g;else this.findBlock(g,c);return this.unknownChar(a,c)},unknownChar:function(a,c){var d=a.defaultFont||{family:b.config.undefinedFamily};a.bold&&(d.weight="bold");a.italic&&(d.style="italic");d[c]||(d[c]=[800,200,500,0,500,{isUnknown:!0}]);e.signal.Post(["HTML-CSS Jax - unknown char",c,a]);return d},findBlock:function(a,b){if(a.Ranges)for(var c=0,d=a.Ranges.length;c<d&&!(b<a.Ranges[c][0]);c++)if(b<=a.Ranges[c][1]){for(var g=a.Ranges[c][2],e=a.Ranges.length-1;0<=e;e--)a.Ranges[e][2]==g&&a.Ranges.splice(e,1);this.loadFont(a.directory+"/"+g+".js")}},loadFont:function(a){var f=MathJax.Callback.Queue();f.Push(["Require",c,this.fontDir+"/"+a]);this.imgFonts&&(MathJax.isPacked||(a=a.replace(/\/([^\/]*)$/,b.imgPacked+"/$1")),f.Push(["Require",c,this.webfontDir+"/png/"+a]));e.RestartAfter(f.Push({}))},loadWebFont:function(a){a.available=a.isWebFont=!0;b.FontFaceBug&&(a.family=a.name,b.msieFontCSSBug&&(a.family+="-Web"));e.RestartAfter(this.Font.loadWebFont(a))},loadWebFontError:function(a,b){e.Startup.signal.Post("HTML-CSS Jax - disable web fonts");a.isWebFont=!1;this.config.imageFont&&this.config.imageFont===this.fontInUse?(this.imgFonts=!0,e.Startup.signal.Post("HTML-CSS Jax - switch to image fonts"),e.Startup.signal.Post("HTML-CSS Jax - using image fonts"),n(["WebFontNotAvailable","Web-Fonts not available -- using image fonts instead"],null,3E3),c.Require(this.directory+"/imageFonts.js",b)):(this.allowWebFonts=!1,b())},Element:MathJax.HTML.Element,addElement:MathJax.HTML.addElement,TextNode:MathJax.HTML.TextNode,addText:MathJax.HTML.addText,ucMatch:MathJax.HTML.ucMatch,BIGDIMEN:1E7,ID:0,idPostfix:"",GetID:function(){this.ID++;return this.ID},MATHSPACE:{veryverythinmathspace:1/18,verythinmathspace:2/18,thinmathspace:3/18,mediummathspace:4/18,thickmathspace:5/18,verythickmathspace:6/18,veryverythickmathspace:7/18,negativeveryverythinmathspace:-1/18,negativeverythinmathspace:-2/18,negativethinmathspace:-3/18,negativemediummathspace:-4/18,negativethickmathspace:-5/18,negativeverythickmathspace:-6/18,negativeveryverythickmathspace:-7/18},TeX:{x_height:.430554,quad:1,num1:.676508,num2:.393732,num3:.44373,denom1:.685951,denom2:.344841,sup1:.412892,sup2:.362892,sup3:.288888,sub1:.15,sub2:.247217,sup_drop:.386108,sub_drop:.05,delim1:2.39,delim2:1,axis_height:.25,rule_thickness:.06,big_op_spacing1:.111111,big_op_spacing2:.166666,big_op_spacing3:.2,big_op_spacing4:.6,big_op_spacing5:.1,scriptspace:.1,nulldelimiterspace:.12,delimiterfactor:901,delimitershortfall:.1,min_rule_thickness:1.25},NBSP:"\u00a0",rfuzz:0});MathJax.Hub.Register.StartupHook("mml Jax Ready",function(){d=MathJax.ElementJax.mml;d.mbase.Augment({toHTML:function(a){a=this.HTMLcreateSpan(a);"mrow"!=this.type&&(a=this.HTMLhandleSize(a));for(var b=0,c=this.data.length;b<c;b++)this.data[b]&&this.data[b].toHTML(a);for(var d=this.HTMLcomputeBBox(a),g=a.bbox.h,e=a.bbox.d,b=0,c=d.length;b<c;b++)d[b].HTMLstretchV(a,g,e);d.length&&this.HTMLcomputeBBox(a,!0);this.HTMLlineBreaks(a)&&(a=this.HTMLmultiline(a));this.HTMLhandleSpace(a);this.HTMLhandleColor(a);return a},HTMLlineBreaks:function(){return!1},HTMLmultiline:function(){d.mbase.HTMLautoloadFile("multiline")},HTMLcomputeBBox:function(a,b,c,d){null==c&&(c=0);null==d&&(d=this.data.length);a=a.bbox={exactW:!0};for(var g=[];c<d;){var e=this.data[c];e&&(!b&&e.HTMLcanStretch("Vertical")&&(g.push(e),e=e.CoreMO()||e),this.HTMLcombineBBoxes(e,a),c++)}this.HTMLcleanBBox(a);return g},HTMLcombineBBoxes:function(a,c){null==c.w&&this.HTMLemptyBBox(c);var d=a.bbox?a:a.HTMLspanElement();if(d&&d.bbox){var e=d.bbox;e.d>c.d&&(c.d=e.d);e.h>c.h&&(c.h=e.h);null!=e.D&&e.D>c.D&&(c.D=e.D);null!=e.H&&e.H>c.H&&(c.H=e.H);d.style.paddingLeft&&(c.w+=b.unEm(d.style.paddingLeft)*(d.scale||1));c.w+e.lw<c.lw&&(c.lw=c.w+e.lw);c.w+e.rw>c.rw&&(c.rw=c.w+e.rw);c.w+=e.w;d.style.paddingRight&&(c.w+=b.unEm(d.style.paddingRight)*(d.scale||1));e.width&&(c.width=e.width,c.minWidth=e.minWidth);e.ic?c.ic=e.ic:delete c.ic;c.exactW&&!e.exactW&&delete c.exactW}},HTMLemptyBBox:function(a){a.h=a.d=a.H=a.D=a.rw=-b.BIGDIMEN;a.w=0;a.lw=b.BIGDIMEN;return a},HTMLcleanBBox:function(a){a.h===this.BIGDIMEN&&(a.h=a.d=a.H=a.D=a.w=a.rw=a.lw=0);a.D<=a.d&&delete a.D;a.H<=a.h&&delete a.H},HTMLzeroBBox:function(){return{h:0,d:0,w:0,lw:0,rw:0}},HTMLcanStretch:function(a){if(this.isEmbellished()){var b=this.Core();if(b&&b!==this)return b.HTMLcanStretch(a)}return!1},HTMLstretchH:function(a,b){return this.HTMLspanElement()},HTMLstretchV:function(a,b,c){return this.HTMLspanElement()},HTMLnotEmpty:function(a){for(;a;){if("mrow"!==a.type&&"texatom"!==a.type||1<a.data.length)return!0;a=a.data[0]}return!1},HTMLmeasureChild:function(a,c){this.data[a]?b.Measured(this.data[a].toHTML(c),c):c.bbox=this.HTMLzeroBBox()},HTMLboxChild:function(a,b){this.data[a]||this.SetData(a,d.mrow());return this.data[a].toHTML(b)},HTMLcreateSpan:function(a){if(this.spanID){var c=this.HTMLspanElement();if(c&&(c.parentNode===a||(c.parentNode||{}).parentNode===a)){for(;c.firstChild;)c.removeChild(c.firstChild);c.bbox=this.HTMLzeroBBox();c.scale=1;c.isMultChar=c.HH=null;c.style.cssText="";return c}}this.href&&(a=b.addElement(a,"a",{href:this.href,isMathJax:!0}));a=b.addElement(a,"span",{className:this.type,isMathJax:!0});b.imgHeightBug&&(a.style.display="inline-block");this["class"]&&(a.className+=" "+this["class"]);this.spanID||(this.spanID=b.GetID());a.id=(this.id||"MathJax-Span-"+this.spanID)+b.idPostfix;a.bbox=this.HTMLzeroBBox();this.styles={};this.style&&(a.style.cssText=this.style,a.style.fontSize&&(this.mathsize=a.style.fontSize,a.style.fontSize=""),this.styles={border:b.getBorders(a),padding:b.getPadding(a)},this.styles.border&&(a.style.border=""),this.styles.padding&&(a.style.padding=""));this.href&&(a.parentNode.bbox=a.bbox);return a},HTMLspanElement:function(){return this.spanID?document.getElementById((this.id||"MathJax-Span-"+this.spanID)+b.idPostfix):null},HTMLhandleVariant:function(a,c,d){b.handleVariant(a,c,d)},HTMLhandleSize:function(a){a.scale||(a.scale=this.HTMLgetScale(),1!==a.scale&&(a.style.fontSize=b.Percent(a.scale)));return a},HTMLhandleColor:function(a){var c=this.getValues("mathcolor","color");this.mathbackground&&(c.mathbackground=this.mathbackground);this.background&&(c.background=this.background);this.style&&a.style.backgroundColor&&(c.mathbackground=a.style.backgroundColor,a.style.backgroundColor="transparent");var e=(this.styles||{}).border,p=(this.styles||{}).padding;c.color&&!this.mathcolor&&(c.mathcolor=c.color);c.background&&!this.mathbackground&&(c.mathbackground=c.background);c.mathcolor&&(a.style.color=c.mathcolor);if(c.mathbackground&&c.mathbackground!==d.COLOR.TRANSPARENT||e||p){var g=a.bbox,h=g.exact?0:1/b.em,l=0,m=0,n=a.style.paddingLeft,q=a.style.paddingRight;this.isToken&&(l=g.lw,m=g.rw-g.w);""!==n&&(l+=b.unEm(n)*(a.scale||1));""!==q&&(m-=b.unEm(q)*(a.scale||1));var m=b.PaddingWidthBug||g.keepPadding||g.exactW?0:m-l,n=Math.max(0,b.getW(a)+m),q=g.h+g.d,r=-g.d,u=0,v=0;0<n&&(n+=2*h,l-=h);0<q&&(q+=2*h,r-=h);m=-n-l;e&&(m-=e.right,r-=e.bottom,u+=e.left,v+=e.right,g.h+=e.top,g.d+=e.bottom,g.w+=e.left+e.right,g.lw-=e.left,g.rw+=e.right);p&&(q+=p.top+p.bottom,n+=p.left+p.right,m-=p.right,r-=p.bottom,u+=p.left,v+=p.right,g.h+=p.top,g.d+=p.bottom,g.w+=p.left+p.right,g.lw-=p.left,g.rw+=p.right);v&&(a.style.paddingRight=b.Em(v));p=b.Element("span",{id:"MathJax-Color-"+this.spanID+b.idPostfix,isMathJax:!0,style:{display:"inline-block",backgroundColor:c.mathbackground,width:b.Em(n),height:b.Em(q),verticalAlign:b.Em(r),marginLeft:b.Em(l),marginRight:b.Em(m)}});b.setBorders(p,e);g.width&&(p.style.width=g.width,p.style.marginRight="-"+g.width);b.msieInlineBlockAlignBug&&(p.style.position="relative",p.style.width=p.style.height=0,p.style.verticalAlign=p.style.marginLeft=p.style.marginRight="",p.style.border=p.style.padding="",e&&b.msieBorderWidthBug&&(q+=e.top+e.bottom,n+=e.left+e.right),p.style.width=b.Em(u+h),b.placeBox(b.addElement(p,"span",{noAdjust:!0,isMathJax:!0,style:{display:"inline-block",position:"absolute",overflow:"hidden",background:c.mathbackground||"transparent",width:b.Em(n),height:b.Em(q)}}),l,g.h+h),b.setBorders(p.firstChild,e));a.parentNode.insertBefore(p,a);b.msieColorPositionBug&&(a.style.position="relative");return p}return null},HTMLremoveColor:function(){var a=document.getElementById("MathJax-Color-"+this.spanID+b.idPostfix);a&&a.parentNode.removeChild(a)},HTMLhandleSpace:function(a){if(this.useMMLspacing){if("mo"===this.type){var c=this.getValues("scriptlevel","lspace","rspace");if(0>=c.scriptlevel||this.hasValue("lspace")||this.hasValue("rspace")){var d=this.HTMLgetMu(a);c.lspace=Math.max(0,b.length2em(c.lspace,d));c.rspace=Math.max(0,b.length2em(c.rspace,d));for(var d=this,e=this.Parent();e&&e.isEmbellished()&&e.Core()===d;)d=e,e=e.Parent(),a=d.HTMLspanElement();c.lspace&&(a.style.paddingLeft=b.Em(c.lspace));c.rspace&&(a.style.paddingRight=b.Em(c.rspace))}}}else c=this.texSpacing(),""!==c&&(c=b.length2em(c,this.HTMLgetScale())/(a.scale||1),a.style.paddingLeft&&(c+=b.unEm(a.style.paddingLeft)),a.style.paddingLeft=b.Em(c))},HTMLgetScale:function(){var a=1,c=this.getValues("mathsize","scriptlevel","fontsize");if(this.style){var d=this.HTMLspanElement();""!=d.style.fontSize&&(c.fontsize=d.style.fontSize)}c.fontsize&&!this.mathsize&&(c.mathsize=c.fontsize);0!==c.scriptlevel&&(2<c.scriptlevel&&(c.scriptlevel=2),a=Math.pow(this.Get("scriptsizemultiplier"),c.scriptlevel),c.scriptminsize=b.length2em(this.Get("scriptminsize")),a<c.scriptminsize&&(a=c.scriptminsize));this.isToken&&(a*=b.length2em(c.mathsize));return a},HTMLgetMu:function(a){var b=1,c=this.getValues("scriptlevel","scriptsizemultiplier");a.scale&&1!==a.scale&&(b=1/a.scale);0!==c.scriptlevel&&(2<c.scriptlevel&&(c.scriptlevel=2),b=Math.sqrt(Math.pow(c.scriptsizemultiplier,c.scriptlevel)));return b},HTMLgetVariant:function(){var a=this.getValues("mathvariant","fontfamily","fontweight","fontstyle");a.hasVariant=this.Get("mathvariant",!0);a.hasVariant||(a.family=a.fontfamily,a.weight=a.fontweight,a.style=a.fontstyle);if(this.style){var c=this.HTMLspanElement();!a.family&&c.style.fontFamily&&(a.family=c.style.fontFamily);!a.weight&&c.style.fontWeight&&(a.weight=c.style.fontWeight);!a.style&&c.style.fontStyle&&(a.style=c.style.fontStyle)}a.weight&&a.weight.match(/^\d+$/)&&(a.weight=600<parseInt(a.weight)?"bold":"normal");c=a.mathvariant;this.variantForm&&(c="-"+b.fontInUse+"-variant");if(a.family&&!a.hasVariant)return!a.weight&&a.mathvariant.match(/bold/)&&(a.weight="bold"),!a.style&&a.mathvariant.match(/italic/)&&(a.style="italic"),{FONTS:[],fonts:[],noRemap:!0,defaultFont:{family:a.family,style:a.style,weight:a.weight}};"bold"===a.weight?c={normal:d.VARIANT.BOLD,italic:d.VARIANT.BOLDITALIC,fraktur:d.VARIANT.BOLDFRAKTUR,script:d.VARIANT.BOLDSCRIPT,"sans-serif":d.VARIANT.BOLDSANSSERIF,"sans-serif-italic":d.VARIANT.SANSSERIFBOLDITALIC}[c]||c:"normal"===a.weight&&(c={bold:d.VARIANT.normal,"bold-italic":d.VARIANT.ITALIC,"bold-fraktur":d.VARIANT.FRAKTUR,"bold-script":d.VARIANT.SCRIPT,"bold-sans-serif":d.VARIANT.SANSSERIF,"sans-serif-bold-italic":d.VARIANT.SANSSERIFITALIC}[c]||c);"italic"===a.style?c={normal:d.VARIANT.ITALIC,bold:d.VARIANT.BOLDITALIC,"sans-serif":d.VARIANT.SANSSERIFITALIC,"bold-sans-serif":d.VARIANT.SANSSERIFBOLDITALIC}[c]||c:"normal"===a.style&&(c={italic:d.VARIANT.NORMAL,"bold-italic":d.VARIANT.BOLD,"sans-serif-italic":d.VARIANT.SANSSERIF,"sans-serif-bold-italic":d.VARIANT.BOLDSANSSERIF}[c]||c);c in b.FONTDATA.VARIANT||(c="normal");return b.FONTDATA.VARIANT[c]}},{HTMLautoload:function(){e.RestartAfter(c.Require(b.autoloadDir+"/"+this.type+".js"))},HTMLautoloadFile:function(a){e.RestartAfter(c.Require(b.autoloadDir+"/"+a+".js"))},HTMLstretchH:function(a,b){this.HTMLremoveColor();return this.toHTML(a,b)},HTMLstretchV:function(a,b,c){this.HTMLremoveColor();return this.toHTML(a,b,c)}});d.chars.Augment({toHTML:function(a,c,d,e){var g=this.data.join("").replace(/[\u2061-\u2064]/g,"");d&&(g=d(g,e));c.fontInherit?(b.addElement(a,"span",{style:{"font-size":Math.floor(100/b.scale+.5)+"%"}},[g]),c.bold&&(a.lastChild.style.fontWeight="bold"),c.italic&&(a.lastChild.style.fontStyle="italic"),c=b.getHD(a),d=b.getW(a),a.bbox={h:c.h,d:c.d,w:d,lw:0,rw:d,exactW:!0}):this.HTMLhandleVariant(a,c,g)}});d.entity.Augment({toHTML:function(a,c,d,e){var g=this.toString().replace(/[\u2061-\u2064]/g,"");d&&(g=d(g,e));c.fontInherit?(b.addElement(a,"span",{style:{"font-size":Math.floor(100/b.scale+.5)+"%"}},[g]),c.bold&&(a.lastChild.style.fontWeight="bold"),c.italic&&(a.lastChild.style.fontStyle="italic"),c=b.getHD(a),d=b.getW(a),a.bbox={h:c.h,d:c.d,w:d,lw:0,rw:d,exactW:!0}):this.HTMLhandleVariant(a,c,g)}});d.mi.Augment({toHTML:function(a){a=this.HTMLhandleSize(this.HTMLcreateSpan(a));a.bbox=null;for(var c=this.HTMLgetVariant(),d=0,e=this.data.length;d<e;d++)this.data[d]&&this.data[d].toHTML(a,c);a.bbox||(a.bbox=this.HTMLzeroBBox());d=this.data.join("");e=a.bbox;e.skew&&1!==d.length&&delete e.skew;e.rw>e.w&&1===d.length&&!c.noIC&&(e.ic=e.rw-e.w,b.createBlank(a,e.ic),e.w=e.rw);this.HTMLhandleSpace(a);this.HTMLhandleColor(a);return a}});d.mn.Augment({toHTML:function(a){a=this.HTMLhandleSize(this.HTMLcreateSpan(a));a.bbox=null;for(var b=this.HTMLgetVariant(),c=0,d=this.data.length;c<d;c++)this.data[c]&&this.data[c].toHTML(a,b);a.bbox||(a.bbox=this.HTMLzeroBBox());1!==this.data.join("").length&&delete a.bbox.skew;this.HTMLhandleSpace(a);this.HTMLhandleColor(a);return a}});d.mo.Augment({toHTML:function(a){a=this.HTMLhandleSize(this.HTMLcreateSpan(a));if(0==this.data.length)return a;a.bbox=null;var c=this.data.join(""),e=this.HTMLgetVariant(),p=this.getValues("largeop","displaystyle");p.largeop&&(e=b.FONTDATA.VARIANT[p.displaystyle?"-largeOp":"-smallOp"]);var g=this.CoreParent(),h=g&&g.isa(d.msubsup)&&this!==g.data[g.base],l=h?this.HTMLremapChars:null;if(1===c.length&&g&&g.isa(d.munderover)&&1===this.CoreText(g.data[g.base]).length){var m=g.data[g.over],n=g.data[g.under];m&&this===m.CoreMO()&&g.Get("accent")?l=b.FONTDATA.REMAPACCENT:n&&this===n.CoreMO()&&g.Get("accentunder")&&(l=b.FONTDATA.REMAPACCENTUNDER)}h&&c.match(/['`"\u00B4\u2032-\u2037\u2057]/)&&(e=b.FONTDATA.VARIANT["-"+b.fontInUse+"-variant"]);g=0;for(h=this.data.length;g<h;g++)this.data[g]&&this.data[g].toHTML(a,e,this.HTMLremap,l);a.bbox||(a.bbox=this.HTMLzeroBBox());1!==c.length&&delete a.bbox.skew;b.AccentBug&&0===a.bbox.w&&1===c.length&&a.firstChild&&(a.firstChild.nodeValue+=b.NBSP,b.createSpace(a,0,0,-a.offsetWidth/b.em));p.largeop&&(c=(a.bbox.h-a.bbox.d)/2-b.TeX.axis_height*a.scale,b.safariVerticalAlignBug&&"IMG"===a.lastChild.nodeName?a.lastChild.style.verticalAlign=b.Em(b.unEm(a.lastChild.style.verticalAlign||0)/b.em-c/a.scale):b.konquerorVerticalAlignBug&&"IMG"===a.lastChild.nodeName?(a.style.position="relative",a.lastChild.style.position="relative",a.lastChild.style.top=b.Em(c/a.scale)):a.style.verticalAlign=b.Em(-c/a.scale),a.bbox.h-=c,a.bbox.d+=c,a.bbox.rw>a.bbox.w&&(a.bbox.ic=a.bbox.rw-a.bbox.w,b.createBlank(a,a.bbox.ic),a.bbox.w=a.bbox.rw));this.HTMLhandleSpace(a);this.HTMLhandleColor(a);return a},CoreParent:function(){for(var a=this;a&&a.isEmbellished()&&a.CoreMO()===this&&!a.isa(d.math);)a=a.Parent();return a},CoreText:function(a){if(!a)return"";if(a.isEmbellished())return a.CoreMO().data.join("");for(;(a.isa(d.mrow)||a.isa(d.TeXAtom)||a.isa(d.mstyle)||a.isa(d.mphantom))&&1===a.data.length&&a.data[0];)a=a.data[0];return a.isToken?a.data.join(""):""},HTMLremapChars:{"*":"\u2217",'"':"\u2033","\u00b0":"\u2218","\u00b2":"2","\u00b3":"3","\u00b4":"\u2032","\u00b9":"1"},HTMLremap:function(a,b){a=a.replace(/-/g,"\u2212");b&&(a=a.replace(/'/g,"\u2032").replace(/`/g,"\u2035"),1===a.length&&(a=b[a]||a));return a},HTMLcanStretch:function(a){if(!this.Get("stretchy"))return!1;var c=this.data.join("");if(1<c.length)return!1;var e=this.CoreParent();if(e&&e.isa(d.munderover)&&1===this.CoreText(e.data[e.base]).length){var p=e.data[e.over],g=e.data[e.under];p&&this===p.CoreMO()&&e.Get("accent")?c=b.FONTDATA.REMAPACCENT[c]||c:g&&this===g.CoreMO()&&e.Get("accentunder")&&(c=b.FONTDATA.REMAPACCENTUNDER[c]||c)}return(c=b.FONTDATA.DELIMITERS[c.charCodeAt(0)])&&c.dir==a.substr(0,1)},HTMLstretchV:function(a,c,d){this.HTMLremoveColor();var e=this.getValues("symmetric","maxsize","minsize"),g=this.HTMLspanElement(),h=this.HTMLgetMu(g),l,m=b.TeX.axis_height,n=g.scale;l=e.symmetric?2*Math.max(c-m,d+m):c+d;e.maxsize=b.length2em(e.maxsize,h,g.bbox.h+g.bbox.d);e.minsize=b.length2em(e.minsize,h,g.bbox.h+g.bbox.d);l=Math.max(e.minsize,Math.min(e.maxsize,l));g=this.HTMLcreateSpan(a);b.createDelimiter(g,this.data.join("").charCodeAt(0),l,n);l=e.symmetric?(g.bbox.h+g.bbox.d)/2+m:(g.bbox.h+g.bbox.d)*c/(c+d);b.positionDelimiter(g,l);this.HTMLhandleSpace(g);this.HTMLhandleColor(g);return g},HTMLstretchH:function(a,c){this.HTMLremoveColor();var e=this.getValues("maxsize","minsize","mathvariant","fontweight");("bold"===e.fontweight||600<=parseInt(e.fontweight))&&!this.Get("mathvariant",!0)&&(e.mathvariant=d.VARIANT.BOLD);var p=this.HTMLspanElement(),g=this.HTMLgetMu(p),h=p.scale;e.maxsize=b.length2em(e.maxsize,g,p.bbox.w);e.minsize=b.length2em(e.minsize,g,p.bbox.w);c=Math.max(e.minsize,Math.min(e.maxsize,c));p=this.HTMLcreateSpan(a);b.createDelimiter(p,this.data.join("").charCodeAt(0),c,h,e.mathvariant);this.HTMLhandleSpace(p);this.HTMLhandleColor(p);return p}});d.mtext.Augment({toHTML:function(a){a=this.HTMLhandleSize(this.HTMLcreateSpan(a));var c=this.HTMLgetVariant();if(b.config.mtextFontInherit||"merror"===this.Parent().type)c={bold:c.bold,italic:c.italic,fontInherit:!0};for(var d=0,e=this.data.length;d<e;d++)this.data[d]&&this.data[d].toHTML(a,c);a.bbox||(a.bbox=this.HTMLzeroBBox());1!==this.data.join("").length&&delete a.bbox.skew;this.HTMLhandleSpace(a);this.HTMLhandleColor(a);return a}});d.merror.Augment({toHTML:function(a){var c=MathJax.HTML.addElement(a,"span",{style:{display:"inline-block"}});a=this.SUPER(arguments).toHTML.call(this,c);var d=b.getHD(c),e=b.getW(c);c.bbox={h:d.h,d:d.d,w:e,lw:0,rw:e,exactW:!0};c.id=a.id;a.id=null;return c}});d.ms.Augment({toHTML:d.mbase.HTMLautoload});d.mglyph.Augment({toHTML:d.mbase.HTMLautoload});d.mspace.Augment({toHTML:function(a){a=this.HTMLcreateSpan(a);var c=this.getValues("height","depth","width"),d=this.HTMLgetMu(a);c.mathbackground=this.mathbackground;this.background&&!this.mathbackground&&(c.mathbackground=this.background);var e=b.length2em(c.height,d),g=b.length2em(c.depth,d),d=b.length2em(c.width,d);b.createSpace(a,e,g,d,c.mathbackground,!0);return a}});d.mphantom.Augment({toHTML:function(a,c,d){a=this.HTMLcreateSpan(a);if(null!=this.data[0]){var e=this.data[0].toHTML(a);null!=d?b.Remeasured(this.data[0].HTMLstretchV(a,c,d),a):null!=c?b.Remeasured(this.data[0].HTMLstretchH(a,c),a):e=b.Measured(e,a);a.bbox={w:e.bbox.w,h:e.bbox.h,d:e.bbox.d,lw:0,rw:0,exactW:!0};c=0;for(d=a.childNodes.length;c<d;c++)a.childNodes[c].style.visibility="hidden"}this.HTMLhandleSpace(a);this.HTMLhandleColor(a);return a},HTMLstretchH:d.mbase.HTMLstretchH,HTMLstretchV:d.mbase.HTMLstretchV});d.mpadded.Augment({toHTML:function(a,c,d){a=this.HTMLcreateSpan(a);if(null!=this.data[0]){var e=b.createStack(a,!0),g=b.createBox(e),h=this.data[0].toHTML(g);null!=d?b.Remeasured(this.data[0].HTMLstretchV(g,c,d),g):null!=c?b.Remeasured(this.data[0].HTMLstretchH(g,c),g):b.Measured(h,g);c=this.getValues("height","depth","width","lspace","voffset");var h=d=0,l=this.HTMLgetMu(a);c.lspace&&(d=this.HTMLlength2em(g,c.lspace,l));c.voffset&&(h=this.HTMLlength2em(g,c.voffset,l));b.placeBox(g,d,h);a.bbox={h:g.bbox.h,d:g.bbox.d,w:g.bbox.w,exactW:!0,lw:Math.min(0,g.bbox.lw+d),rw:Math.max(g.bbox.w,g.bbox.rw+d),H:Math.max(null==g.bbox.H?-b.BIGDIMEN:g.bbox.H,g.bbox.h+h),D:Math.max(null==g.bbox.D?-b.BIGDIMEN:g.bbox.D,g.bbox.d-h)};""!==c.height&&(a.bbox.h=this.HTMLlength2em(g,c.height,l,"h",0));""!==c.depth&&(a.bbox.d=this.HTMLlength2em(g,c.depth,l,"d",0));""!==c.width&&(a.bbox.w=this.HTMLlength2em(g,c.width,l,"w",0));a.bbox.H<=a.bbox.h&&delete a.bbox.H;a.bbox.D<=a.bbox.d&&delete a.bbox.D;g=/^\s*(\d+(\.\d*)?|\.\d+)\s*(pt|em|ex|mu|px|pc|in|mm|cm)\s*$/;a.bbox.exact=!!(this.data[0]&&0==this.data[0].data.length||g.exec(c.height)||g.exec(c.width)||g.exec(c.depth));b.setStackWidth(e,a.bbox.w)}this.HTMLhandleSpace(a);this.HTMLhandleColor(a);return a},HTMLlength2em:function(a,c,d,e,g){null==g&&(g=-b.BIGDIMEN);var h=String(c).match(/width|height|depth/),h=h?a.bbox[h[0].charAt(0)]:e?a.bbox[e]:0;d=b.length2em(c,d,h);return e&&String(c).match(/^\s*[-+]/)?Math.max(g,a.bbox[e]+d):d},HTMLstretchH:d.mbase.HTMLstretchH,HTMLstretchV:d.mbase.HTMLstretchV});d.mrow.Augment({HTMLlineBreaks:function(a){return this.parent.linebreakContainer?b.config.linebreaks.automatic&&a.bbox.w>b.linebreakWidth||this.hasNewline():!1},HTMLstretchH:function(a,b){this.HTMLremoveColor();var c=this.HTMLspanElement();this.data[this.core].HTMLstretchH(c,b);this.HTMLcomputeBBox(c,!0);this.HTMLhandleColor(c);return c},HTMLstretchV:function(a,b,c){this.HTMLremoveColor();a=this.HTMLspanElement();this.data[this.core].HTMLstretchV(a,b,c);this.HTMLcomputeBBox(a,!0);this.HTMLhandleColor(a);return a}});d.mstyle.Augment({toHTML:function(a,b,c){a=this.HTMLcreateSpan(a);if(null!=this.data[0]){var d=this.data[0].toHTML(a);null!=c?this.data[0].HTMLstretchV(a,b,c):null!=b&&this.data[0].HTMLstretchH(a,b);a.bbox=d.bbox}this.HTMLhandleSpace(a);this.HTMLhandleColor(a);return a},HTMLstretchH:d.mbase.HTMLstretchH,HTMLstretchV:d.mbase.HTMLstretchV});d.mfrac.Augment({toHTML:function(a){a=this.HTMLcreateSpan(a);var c=b.createStack(a),d=b.createBox(c),e=b.createBox(c);b.MeasureSpans([this.HTMLboxChild(0,d),this.HTMLboxChild(1,e)]);var g=this.getValues("displaystyle","linethickness","numalign","denomalign","bevelled"),h=this.HTMLgetScale(),l=g.displaystyle,m=b.TeX.axis_height*h;if(g.bevelled){var g=l?.4:.15,n=Math.max(d.bbox.h+d.bbox.d,e.bbox.h+e.bbox.d)+2*g,c=b.createBox(c);b.createDelimiter(c,47,n);b.placeBox(d,0,(d.bbox.d-d.bbox.h)/2+m+g);b.placeBox(c,d.bbox.w-g/2,(c.bbox.d-c.bbox.h)/2+m);b.placeBox(e,d.bbox.w+c.bbox.w-g,(e.bbox.d-e.bbox.h)/2+m-g)}else{var n=Math.max(d.bbox.w,e.bbox.w),q=b.thickness2em(g.linethickness,h),r,u,v=b.TeX.min_rule_thickness/this.em;l?(r=b.TeX.num1,u=b.TeX.denom1):(r=0===q?b.TeX.num3:b.TeX.num2,u=b.TeX.denom2);r*=h;u*=h;0===q?(h=Math.max((l?7:3)*b.TeX.rule_thickness,2*v),l=r-d.bbox.d-(e.bbox.h-u),l<h&&(r+=(h-l)/2,u+=(h-l)/2)):(h=Math.max((l?2:0)*v+q,q/2+1.5*v),l=r-d.bbox.d-(m+q/2),l<h&&(r+=h-l),l=m-q/2-(e.bbox.h-u),l<h&&(u+=h-l),c=b.createBox(c),b.createRule(c,q,0,n+2*q),b.placeBox(c,0,m-q/2));b.alignBox(d,g.numalign,r);b.alignBox(e,g.denomalign,-u)}this.HTMLhandleSpace(a);this.HTMLhandleColor(a);return a},HTMLcanStretch:function(a){return!1},HTMLhandleSpace:function(a){if(!this.texWithDelims){var c=(this.useMMLspacing?0:b.length2em(this.texSpacing()||0))+.12;a.style.paddingLeft=b.Em(c);a.style.paddingRight=b.Em(.12)}}});d.msqrt.Augment({toHTML:function(a){a=this.HTMLcreateSpan(a);var c=b.createStack(a),d=b.createBox(c),e=b.createBox(c),g=b.createBox(c),h=this.HTMLgetScale(),l=b.TeX.rule_thickness*h,m,n,q;m=this.Get("displaystyle")?b.TeX.x_height*h:l;m=Math.max(l+m/4,1.5*b.TeX.min_rule_thickness/this.em);var r=this.HTMLboxChild(0,d);n=r.bbox.h+r.bbox.d+m+l;b.createDelimiter(g,8730,n,h);b.MeasureSpans([r,g]);q=r.bbox.w;var u=0;if(g.isMultiChar||b.AdjustSurd&&b.imgFonts)g.bbox.w*=.95;g.bbox.h+g.bbox.d>n&&(m=(g.bbox.h+g.bbox.d-(n-l))/2);n=b.FONTDATA.DELIMITERS[b.FONTDATA.RULECHAR];!n||q<n.HW[0][0]*h||.75>h?b.createRule(e,0,l,q):b.createDelimiter(e,b.FONTDATA.RULECHAR,q,h);n=r.bbox.h+m+l;m=n*b.rfuzz;g.isMultiChar&&(m=b.rfuzz);u=this.HTMLaddRoot(c,g,u,g.bbox.h+g.bbox.d-n,h);b.placeBox(g,u,n-g.bbox.h);b.placeBox(e,u+g.bbox.w,n-e.bbox.h+m);b.placeBox(d,u+g.bbox.w,0);this.HTMLhandleSpace(a);this.HTMLhandleColor(a);return a},HTMLaddRoot:function(a,b,c,d,e){return c}});d.mroot.Augment({toHTML:d.msqrt.prototype.toHTML,HTMLaddRoot:function(a,c,d,e,g){a=b.createBox(a);this.data[1]?(d=this.data[1].toHTML(a),d.style.paddingRight=d.style.paddingLeft="",b.Measured(d,a)):a.bbox=this.HTMLzeroBBox();e=this.HTMLrootHeight(c.bbox.h+c.bbox.d,g,a)-e;g=Math.min(a.bbox.w,a.bbox.rw);d=Math.max(g,c.offset);b.placeBox(a,d-g,e);return d-c.offset},HTMLrootHeight:function(a,b,c){return.45*(a-.9*b)+.6*b+Math.max(0,c.bbox.d-.075)}});d.mfenced.Augment({toHTML:function(a){a=this.HTMLcreateSpan(a);this.data.open&&this.data.open.toHTML(a);null!=this.data[0]&&this.data[0].toHTML(a);for(var b=1,c=this.data.length;b<c;b++)this.data[b]&&(this.data["sep"+b]&&this.data["sep"+b].toHTML(a),this.data[b].toHTML(a));this.data.close&&this.data.close.toHTML(a);for(var d=this.HTMLcomputeBBox(a),e=a.bbox.h,h=a.bbox.d,b=0,c=d.length;b<c;b++)d[b].HTMLstretchV(a,e,h);d.length&&this.HTMLcomputeBBox(a,!0);this.HTMLhandleSpace(a);this.HTMLhandleColor(a);return a},HTMLcomputeBBox:function(a,b){var c=a.bbox={},d=[];this.HTMLcheckStretchy(this.data.open,c,d,b);this.HTMLcheckStretchy(this.data[0],c,d,b);for(var e=1,h=this.data.length;e<h;e++)this.data[e]&&(this.HTMLcheckStretchy(this.data["sep"+e],c,d,b),this.HTMLcheckStretchy(this.data[e],c,d,b));this.HTMLcheckStretchy(this.data.close,c,d,b);this.HTMLcleanBBox(c);return d},HTMLcheckStretchy:function(a,b,c,d){a&&(!d&&a.HTMLcanStretch("Vertical")&&(c.push(a),a=a.CoreMO()||a),this.HTMLcombineBBoxes(a,b))}});d.menclose.Augment({toHTML:d.mbase.HTMLautoload});d.maction.Augment({toHTML:d.mbase.HTMLautoload});d.semantics.Augment({toHTML:function(a,b,c){a=this.HTMLcreateSpan(a);if(null!=this.data[0]){var d=this.data[0].toHTML(a);null!=c?this.data[0].HTMLstretchV(a,b,c):null!=b&&this.data[0].HTMLstretchH(a,b);a.bbox=d.bbox}this.HTMLhandleSpace(a);return a},HTMLstretchH:d.mbase.HTMLstretchH,HTMLstretchV:d.mbase.HTMLstretchV});d.munderover.Augment({toHTML:function(a,c,e){var l=this.getValues("displaystyle","accent","accentunder","align");if(!l.displaystyle&&null!=this.data[this.base]&&this.data[this.base].CoreMO().Get("movablelimits"))return d.msubsup.prototype.toHTML.call(this,a);a=this.HTMLcreateSpan(a);var g=this.HTMLgetScale(),h=b.createStack(a),m=[],n=[],q=[],r,w,u;w=0;for(u=this.data.length;w<u;w++)null!=this.data[w]&&(r=m[w]=b.createBox(h),n[w]=this.data[w].toHTML(r),w==this.base?(null!=e?this.data[this.base].HTMLstretchV(r,c,e):null!=c&&this.data[this.base].HTMLstretchH(r,c),q[w]=null==e&&null!=c?!1:this.data[w].HTMLcanStretch("Horizontal")):q[w]=this.data[w].HTMLcanStretch("Horizontal"));b.MeasureSpans(n);h=n=-b.BIGDIMEN;w=0;for(u=this.data.length;w<u;w++)this.data[w]&&(m[w].bbox.w>h&&(h=m[w].bbox.w),!q[w]&&h>n&&(n=h));null==e&&null!=c?n=c:n==-b.BIGDIMEN&&(n=h);w=h=0;for(u=this.data.length;w<u;w++)this.data[w]&&(r=m[w],q[w]&&(r.bbox=this.data[w].HTMLstretchH(r,n).bbox),r.bbox.w>h&&(h=r.bbox.w));c=b.TeX.rule_thickness;e=b.FONTDATA.TeX_factor;var q=m[this.base]||{bbox:this.HTMLzeroBBox()},v,y,C,B=0;q.bbox.ic&&(B=1.3*q.bbox.ic+.05);w=0;for(u=this.data.length;w<u;w++)null!=this.data[w]&&(r=m[w],n=b.TeX.big_op_spacing5*g,(C=w!=this.base&&l[this.ACCENTS[w]])&&r.bbox.w<=1/b.em+1E-4&&(r.bbox.w=r.bbox.rw-r.bbox.lw,r.bbox.noclip=!0,r.bbox.lw&&r.insertBefore(b.createSpace(r.parentNode,0,0,-r.bbox.lw),r.firstChild),b.createBlank(r,0,0,r.bbox.rw+.1)),v={left:0,center:(h-r.bbox.w)/2,right:h-r.bbox.w}[l.align],y=0,w==this.over?(C?(C=Math.max(c*g*e,2.5/this.em),n=0,q.bbox.skew&&(v+=q.bbox.skew)):(C=b.TeX.big_op_spacing1*g*e,y=b.TeX.big_op_spacing3*g*e,C=Math.max(C,y-Math.max(0,r.bbox.d))),C=Math.max(C,1.5/this.em),v+=B/2,y=q.bbox.h+r.bbox.d+C,r.bbox.h+=n):w==this.under&&(C?(C=3*c*g*e,n=0):(C=b.TeX.big_op_spacing2*g*e,y=b.TeX.big_op_spacing4*g*e,C=Math.max(C,y-r.bbox.h)),C=Math.max(C,1.5/this.em),v-=B/2,y=-(q.bbox.d+r.bbox.h+C),r.bbox.d+=n),b.placeBox(r,v,y));this.HTMLhandleSpace(a);this.HTMLhandleColor(a);return a},HTMLstretchH:d.mbase.HTMLstretchH,HTMLstretchV:d.mbase.HTMLstretchV});d.msubsup.Augment({toHTML:function(a,c,d){a=this.HTMLcreateSpan(a);var e=this.HTMLgetScale(),g=this.HTMLgetMu(a),h=b.createStack(a),l,m=[],n=b.createBox(h);this.data[this.base]?(m.push(this.data[this.base].toHTML(n)),null!=d?this.data[this.base].HTMLstretchV(n,c,d):null!=c&&this.data[this.base].HTMLstretchH(n,c)):n.bbox=this.HTMLzeroBBox();c=b.TeX.x_height*e;d=b.TeX.scriptspace*e*.75;var q;this.HTMLnotEmpty(this.data[this.sup])&&(q=b.createBox(h),m.push(this.data[this.sup].toHTML(q)));this.HTMLnotEmpty(this.data[this.sub])&&(l=b.createBox(h),m.push(this.data[this.sub].toHTML(l)));b.MeasureSpans(m);q&&(q.bbox.w+=d,q.bbox.rw=Math.max(q.bbox.w,q.bbox.rw));l&&(l.bbox.w+=d,l.bbox.rw=Math.max(l.bbox.w,l.bbox.rw));b.placeBox(n,0,0);var m=q?this.data[this.sup].HTMLgetScale():l?this.data[this.sub].HTMLgetScale():this.HTMLgetScale(),r=b.TeX.sup_drop*m,h=n.bbox.h-r,u=n.bbox.d+b.TeX.sub_drop*m,m=0;n.bbox.ic&&(n.bbox.w-=n.bbox.ic,m=1.3*n.bbox.ic+.05);!this.data[this.base]||"mi"!==this.data[this.base].type&&"mo"!==this.data[this.base].type||1!==this.data[this.base].data.join("").length||1!==n.bbox.scale||this.data[this.base].Get("largeop")||(h=u=0);d=this.getValues("subscriptshift","superscriptshift");d.subscriptshift=""===d.subscriptshift?0:b.length2em(d.subscriptshift,g);d.superscriptshift=""===d.superscriptshift?0:b.length2em(d.superscriptshift,g);q?l?(u=Math.max(u,b.TeX.sub2*e),e*=b.TeX.rule_thickness,h-q.bbox.d-(l.bbox.h-u)<3*e&&(u=3*e-h+q.bbox.d+l.bbox.h,r=.8*c-(h-q.bbox.d),0<r&&(h+=r,u-=r)),b.placeBox(q,n.bbox.w+m,Math.max(h,d.superscriptshift)),b.placeBox(l,n.bbox.w,-Math.max(u,d.subscriptshift))):(l=this.getValues("displaystyle","texprimestyle"),l=b.TeX[l.displaystyle?"sup1":l.texprimestyle?"sup3":"sup2"],h=Math.max(h,l*e,q.bbox.d+.25*c,d.superscriptshift),b.placeBox(q,n.bbox.w+m,h,q.bbox)):l&&(u=Math.max(u,b.TeX.sub1*e,l.bbox.h-.8*c,d.subscriptshift),b.placeBox(l,n.bbox.w,-u,l.bbox));this.HTMLhandleSpace(a);this.HTMLhandleColor(a);return a},HTMLstretchH:d.mbase.HTMLstretchH,HTMLstretchV:d.mbase.HTMLstretchV});d.mmultiscripts.Augment({toHTML:d.mbase.HTMLautoload});d.mtable.Augment({toHTML:d.mbase.HTMLautoload});d["annotation-xml"].Augment({toHTML:d.mbase.HTMLautoload});d.math.Augment({toHTML:function(a,c){var k=this.Get("alttext");k&&""!==k&&c.setAttribute("aria-label",k);var l=b.addElement(a,"nobr",{isMathJax:!0});a=this.HTMLcreateSpan(l);var k=b.createStack(a),g=b.createBox(k),h;k.style.fontSize=l.parentNode.style.fontSize;l.parentNode.style.fontSize="";null!=this.data[0]&&(b.msieColorBug&&(this.background&&(this.data[0].background=this.background,delete this.background),this.mathbackground&&(this.data[0].mathbackground=this.mathbackground,delete this.mathbackground)),d.mbase.prototype.displayAlign=e.config.displayAlign,d.mbase.prototype.displayIndent=e.config.displayIndent,h=this.data[0].toHTML(g),h.bbox.exactW=!1,h=b.Measured(h,g));b.placeBox(g,0,0);a.style.width=b.Em((Math.round(h.bbox.w*this.em)+.25)/b.outerEm);a.style.display="inline-block";var l=1/b.em,m=b.em/b.outerEm;b.em/=m;a.bbox.h*=m;a.bbox.d*=m;a.bbox.w*=m;a.bbox.lw*=m;a.bbox.rw*=m;h&&null!=h.bbox.width&&(a.style.minWidth=h.bbox.minWidth||a.style.width,a.style.width=k.style.width=h.bbox.width,g.style.width="100%");this.HTMLhandleColor(a);h&&b.createRule(a,(h.bbox.h+l)*m,(h.bbox.d+l)*m,0);this.isMultiline||"block"!==this.Get("display")||null!=a.bbox.width||(k=this.getValues("indentalignfirst","indentshiftfirst","indentalign","indentshift"),k.indentalignfirst!==d.INDENTALIGN.INDENTALIGN&&(k.indentalign=k.indentalignfirst),k.indentalign===d.INDENTALIGN.AUTO&&(k.indentalign=this.displayAlign),c.style.textAlign=k.indentalign,k.indentshiftfirst!==d.INDENTSHIFT.INDENTSHIFT&&(k.indentshift=k.indentshiftfirst),"auto"===k.indentshift&&(k.indentshift=this.displayIndent),k.indentshift&&k.indentalign!==d.INDENTALIGN.CENTER&&(a.style[{left:"marginLeft",right:"marginRight"}[k.indentalign]]=b.Em(b.length2em(k.indentshift))));return a},HTMLspanElement:d.mbase.prototype.HTMLspanElement});d.TeXAtom.Augment({toHTML:function(a){a=this.HTMLcreateSpan(a);if(null!=this.data[0])if(this.texClass===d.TEXCLASS.VCENTER){var c=b.createStack(a),c=b.createBox(c);b.Measured(this.data[0].toHTML(c),c);b.placeBox(c,0,b.TeX.axis_height-(c.bbox.h+c.bbox.d)/2+c.bbox.d)}else a.bbox=this.data[0].toHTML(a).bbox;this.HTMLhandleSpace(a);this.HTMLhandleColor(a);return a}});MathJax.Hub.Register.StartupHook("onLoad",function(){setTimeout(MathJax.Callback(["loadComplete",b,"jax.js"]),0)})});e.Register.StartupHook("End Config",function(){e.Browser.Select({MSIE:function(a){var c=document.documentMode||0,d=a.versionAtLeast("7.0"),e=a.versionAtLeast("8.0")&&7<c,g="BackCompat"===document.compatMode;9>c&&(b.config.styles[".MathJax .MathJax_HitBox"]["background-color"]="white",b.config.styles[".MathJax .MathJax_HitBox"].opacity=0,b.config.styles[".MathJax .MathJax_HitBox"].filter="alpha(opacity\x3d0)");b.Augment({PaddingWidthBug:!0,msieAccentBug:!0,msieColorBug:!0,msieColorPositionBug:!0,msieRelativeWidthBug:g,msieDisappearingBug:8<=c,msieMarginScaleBug:8>c,msiePaddingWidthBug:!0,msieBorderWidthBug:g,msieFrameSizeBug:8>=c,msieInlineBlockAlignBug:!e||g,msiePlaceBoxBug:e&&!g,msieClipRectBug:!e,msieNegativeSpaceBug:g,cloneNodeBug:e&&"8.0"===a.version,initialSkipBug:8>c,msieNegativeBBoxBug:8<=c,msieIE6:!d,msieItalicWidthBug:!0,FontFaceBug:!0,msieFontCSSBug:a.isIE9,allowWebFonts:9<=c?"woff":"eot"})},Firefox:function(a){var c=!1;a.versionAtLeast("3.5")&&(a=String(document.location).replace(/[^\/]*$/,""),"file:"!==document.location.protocol||e.config.root.match(/^https?:\/\//)||(e.config.root+"/").substr(0,a.length)===a)&&(c="otf");b.Augment({ffVerticalAlignBug:!0,AccentBug:!0,allowWebFonts:c})},Safari:function(a){var c=a.versionAtLeast("3.0"),d=a.versionAtLeast("3.1"),l=navigator.appVersion.match(/ Safari\/\d/)&&navigator.appVersion.match(/ Version\/\d/)&&navigator.vendor.match(/Apple/),g=navigator.appVersion.match(/ Android (\d+)\.(\d+)/),g=d&&a.isMobile&&(navigator.platform.match(/iPad|iPod|iPhone/)&&!a.versionAtLeast("5.0")||null!=g&&(2>g[1]||2==g[1]&&2>g[2]));b.Augment({config:{styles:{".MathJax img, .MathJax nobr, .MathJax a":{"max-width":"5000em","max-height":"5000em"}}},rfuzz:.011,AccentBug:!0,AdjustSurd:!0,negativeBBoxes:!0,safariNegativeSpaceBug:!0,safariVerticalAlignBug:!d,safariTextNodeBug:!c,forceReflow:!0,allowWebFonts:d&&!g?"otf":!1});l&&b.Augment({webFontDefault:a.isMobile?"sans-serif":"serif"});a.isPC&&b.Augment({adjustAvailableFonts:b.removeSTIXfonts,checkWebFontsTwice:!0});g&&((a=e.config["HTML-CSS"])?(a.availableFonts=[],a.preferredFont=null):e.config["HTML-CSS"]={availableFonts:[],preferredFont:null})},Chrome:function(a){b.Augment({Em:b.EmRounded,cloneNodeBug:!0,rfuzz:.011,AccentBug:!0,AdjustSurd:!0,negativeBBoxes:!0,safariNegativeSpaceBug:!0,safariWebFontSerif:[""],forceReflow:!0,allowWebFonts:a.versionAtLeast("4.0")?"otf":"svg"})},Opera:function(a){a.isMini=null!=navigator.appVersion.match("Opera Mini");b.config.styles[".MathJax .merror"]["vertical-align"]=null;b.config.styles[".MathJax span"]["z-index"]=0;b.Augment({operaHeightBug:!0,operaVerticalAlignBug:!0,operaFontSizeBug:a.versionAtLeast("10.61"),initialSkipBug:!0,FontFaceBug:!0,PaddingWidthBug:!0,allowWebFonts:a.versionAtLeast("10.0")&&!a.isMini?"otf":!1,adjustAvailableFonts:b.removeSTIXfonts})},Konqueror:function(a){b.Augment({konquerorVerticalAlignBug:!0})}})});MathJax.Hub.Register.StartupHook("End Cookie",function(){"None"!==e.config.menuSettings.zoom&&c.Require("[MathJax]/extensions/MathZoom.js")})})(MathJax.Ajax,MathJax.Hub,MathJax.OutputJax["HTML-CSS"]);MathJax.Hub.Register.StartupHook("HTML-CSS Jax Ready",function(){var c=MathJax.ElementJax.mml,e=MathJax.OutputJax["HTML-CSS"];c.mtable.Augment({toHTML:function(b){b=this.HTMLcreateSpan(b);if(0===this.data.length)return b;var d=this.getValues("columnalign","rowalign","columnspacing","rowspacing","columnwidth","equalcolumns","equalrows","columnlines","rowlines","frame","framespacing","align","useHeight","width","side","minlabelspacing"),n=d.width.match(/%$/),m=e.createStack(b),l=this.HTMLgetScale(),q=this.HTMLgetMu(b),r=[],a=[],f=[],k=[],p=[],g,h,t=-1,x,H,z,w,u,v,y=[],C=e.FONTDATA.baselineskip*l*d.useHeight,B,D=e.FONTDATA.lineH*l,N=e.FONTDATA.lineD*l;g=0;for(x=this.data.length;g<x;g++)for(w=this.data[g],z="mlabeledtr"===w.type?-1:0,k[g]=[],r[g]=a[g]=0,h=z,H=w.data.length+z;h<H;h++)null==f[h]&&(h>t&&(t=h),p[h]=e.createStack(e.createBox(m)),f[h]=-e.BIGDIMEN),k[g][h]=e.createBox(p[h]),y.push(w.data[h-z].toHTML(k[g][h]));e.MeasureSpans(y);g=0;for(x=this.data.length;g<x;g++)for(w=this.data[g],h=z="mlabeledtr"===w.type?-1:0,H=w.data.length+z;h<H;h++){u=w.data[h-z];u.isMultiline&&(k[g][h].style.width="100%");if(u.isEmbellished()&&(v=u.CoreMO(),y=v.Get("minsize",!0))){var I=v.HTMLspanElement().bbox;if(v.HTMLcanStretch("Vertical")){if(B=I.h+I.d)y=e.length2em(y,q,B),y*I.h/B>r[g]&&(r[g]=y*I.h/B),y*I.d/B>a[g]&&(a[g]=y*I.d/B)}else v.HTMLcanStretch("Horizontal")&&(y=e.length2em(y,q,I.w),y>f[h]&&(f[h]=y))}k[g][h].bbox.h>r[g]&&(r[g]=k[g][h].bbox.h);k[g][h].bbox.d>a[g]&&(a[g]=k[g][h].bbox.d);k[g][h].bbox.w>f[h]&&(f[h]=k[g][h].bbox.w)}r[0]+a[0]&&(r[0]=Math.max(r[0],D));r[k.length-1]+a[k.length-1]&&(a[k.length-1]=Math.max(a[k.length-1],N));var J=MathJax.Hub.SplitList,y=J(d.columnspacing),D=J(d.rowspacing);H=J(d.columnalign);var A=J(d.rowalign),I=J(d.columnlines),N=J(d.rowlines),F=J(d.columnwidth),L=[];g=0;for(x=y.length;g<x;g++)y[g]=e.length2em(y[g],q);g=0;for(x=D.length;g<x;g++)D[g]=e.length2em(D[g],q);for(;y.length<t;)y.push(y[y.length-1]);for(;H.length<=t;)H.push(H[H.length-1]);for(;I.length<t;)I.push(I[I.length-1]);for(;F.length<=t;)F.push(F[F.length-1]);for(;D.length<k.length;)D.push(D[D.length-1]);for(;A.length<=k.length;)A.push(A[A.length-1]);for(;N.length<k.length;)N.push(N[N.length-1]);p[-1]&&(H[-1]="l"===d.side.substr(0,1)?"left":"right",y[-1]=-f[-1]);g=0;for(x=k.length;g<x;g++)if(w=this.data[g],L[g]=[],w.rowalign&&(A[g]=w.rowalign),w.columnalign)for(L[g]=J(w.columnalign);L[g].length<=t;)L[g].push(L[g][L[g].length-1]);if(d.equalrows){w=Math.max.apply(Math,r);var O=Math.max.apply(Math,a);g=0;for(x=k.length;g<x;g++)z=(w+O-(r[g]+a[g]))/2,r[g]+=z,a[g]+=z}B=r[0]+a[k.length-1];g=0;for(x=k.length-1;g<x;g++)B+=Math.max(r[g]+a[g]?C:0,a[g]+r[g+1]+D[g]);g=O=0;w=B;if("none"!==d.frame||(d.columnlines+d.rowlines).match(/solid|dashed/))w=J(d.framespacing),2!=w.length&&(w=J(this.defaults.framespacing)),O=e.length2em(w[0],q),g=e.length2em(w[1],q),w=B+2*g;h="";"string"!==typeof d.align&&(d.align=String(d.align));d.align.match(/(top|bottom|center|baseline|axis)( +(-?\d+))?/)?(h=RegExp.$3,d.align=RegExp.$1):d.align=this.defaults.align;if(""!==h)for(h=parseInt(h),0>h&&(h=k.length+1+h),1>h?h=1:h>k.length&&(h=k.length),J=0,l=-(B+g)+r[0],g=0,x=h-1;g<x;g++)h=Math.max(r[g]+a[g]?C:0,a[g]+r[g+1]+D[g]),J+=h,l+=h;else J={top:-(r[0]+g),bottom:B+g-r[0],center:B/2-r[0],baseline:B/2-r[0],axis:B/2+e.TeX.axis_height*l-r[0]}[d.align],l={top:-(B+2*g),bottom:0,center:-(B/2+g),baseline:-(B/2+g),axis:e.TeX.axis_height*l-B/2-g}[d.align];var E,K=0,G=0;B=v=u=0;h=[];z=[];var Q=1;if(d.equalcolumns&&"auto"!==d.width)if(n){E=(100/(t+1)).toFixed(2).replace(/\.?0+$/,"")+"%";g=0;for(x=Math.min(t+1,F.length);g<x;g++)F[g]=E;E=0;K=1;B=t+1;g=0;for(x=Math.min(t+1,y.length);g<x;g++)E+=y[g]}else{E=e.length2em(d.width,q);g=0;for(x=Math.min(t+1,y.length);g<x;g++)E-=y[g];E/=t+1;g=0;for(x=Math.min(t+1,F.length);g<x;g++)f[g]=E}else{g=0;for(x=Math.min(t+1,F.length);g<x;g++)"auto"===F[g]?G+=f[g]:"fit"===F[g]?(z[B]=g,B++,G+=f[g]):F[g].match(/%$/)?(h[v]=g,v++,u+=f[g],K+=e.length2em(F[g],q,1)):(f[g]=e.length2em(F[g],q),G+=f[g]);if(n){g=E=0;for(x=Math.min(t,y.length);g<x;g++)E+=y[g];.98<K&&(Q=.98/K,K=.98)}else{if("auto"===d.width).98<K?(Q=u/(G+u),E=G+u):E=G/(1-K);else for(E=e.length2em(d.width,q),g=0,x=Math.min(t+1,y.length);g<x;g++)E-=y[g];g=0;for(x=h.length;g<x;g++)f[h[g]]=e.length2em(F[h[g]],q,E*Q),G+=f[h[g]];if(.01<Math.abs(E-G))if(B&&E>G)for(E=(E-G)/B,g=0,x=z.length;g<x;g++)f[z[g]]+=E;else for(E/=G,h=0;h<=t;h++)f[h]*=E;if(d.equalcolumns)for(g=Math.max.apply(Math,f),h=0;h<=t;h++)f[h]=g}}var P=J;for(h=z=p[-1]?-1:0;h<=t;h++){g=0;for(x=k.length;g<x;g++)k[g][h]&&(z="mlabeledtr"===this.data[g].type?-1:0,u=this.data[g].data[h-z],u.HTMLcanStretch("Horizontal")?k[g][h].bbox=u.HTMLstretchH(p[h],f[h]).bbox:u.HTMLcanStretch("Vertical")&&(v=u.CoreMO(),z=v.symmetric,v.symmetric=!1,k[g][h].bbox=u.HTMLstretchV(p[h],r[g],a[g]).bbox,k[g][h].HH=null,v.symmetric=z),v=u.rowalign||this.data[g].rowalign||A[g],z={top:r[g]-k[g][h].bbox.h,bottom:k[g][h].bbox.d-a[g],center:(r[g]-a[g]-(k[g][h].bbox.h-k[g][h].bbox.d))/2,baseline:0,axis:0}[v]||0,v=u.columnalign||L[g][h]||H[h],e.alignBox(k[g][h],v,P+z)),g<k.length-1&&(P-=Math.max(r[g]+a[g]?C:0,a[g]+r[g+1]+D[g]));P=J}if(n)for(g=e.createBox(m),g.style.left=g.style.top=0,g.style.right=e.Em(E+2*O),g.style.display="inline-block",g.style.height="0px",e.msieRelativeWidthBug&&(g=e.createBox(g),g.style.position="relative",g.style.height="1em",g.style.width="100%",g.bbox=m.bbox),x=0,L=O,B?(z=100*(1-K)/B,G/=B):(z=100*(1-K)/(t+1),G/=t+1),h=0;h<=t;h++)e.placeBox(p[h].parentNode,0,0),p[h].style.position="relative",p[h].style.left=e.Em(L),p[h].style.width="100%",p[h].parentNode.parentNode.removeChild(p[h].parentNode),A=e.createBox(g),e.addBox(A,p[h]),p[h]=A,K=A.style,K.display="inline-block",K.left=x+"%",F[h].match(/%$/)?(u=parseFloat(F[h])*Q,0===B?(K.width=z+u+"%",x+=z+u,A=e.createBox(A),e.addBox(A,p[h].firstChild),A.style.left=0,A.style.right=e.Em(G),L-=G):(K.width=u+"%",x+=u)):"fit"===F[h]||0===B?(K.width=z+"%",A=e.createBox(A),e.addBox(A,p[h].firstChild),A.style.left=0,A.style.right=e.Em(G-f[h]),L+=f[h]-G,x+=z):(K.width=e.Em(f[h]),L+=f[h]),e.msieRelativeWidthBug&&(e.addText(A.firstChild,e.NBSP),A.firstChild.style.position="relative"),L+=y[h],"none"!==I[h]&&h<t&&-1!==h&&(A=e.createBox(g),A.style.left=x+"%",A=e.createRule(A,w,0,1.25/e.em),A.style.position="absolute",A.bbox={h:w,d:0,w:0,rw:1.25/e.em,lw:0},A.parentNode.bbox=m.bbox,e.placeBox(A,L-y[h]/2,l,!0),A.style.borderStyle=I[h]);else for(g=O,h=0;h<=t;h++)p[h].bbox.width||e.setStackWidth(p[h],f[h]),"auto"!==F[h]&&"fit"!==F[h]&&(p[h].bbox.width=f[h],p[h].bbox.isFixed=!0),e.placeBox(p[h].parentNode,g,0),g+=f[h]+y[h],"none"!==I[h]&&h<t&&-1!==h&&(A=e.createRule(m,w,0,1.25/e.em),e.addBox(m,A),A.bbox={h:w,d:0,w:0,rw:1.25/e.em,lw:0},e.placeBox(A,g-y[h]/2,l,!0),A.style.borderStyle=I[h]);m.bbox.d=-l;m.bbox.h=w+l;e.setStackWidth(m,m.bbox.w+O);var f=m.bbox.w,M;"none"!==d.frame&&(M=e.createFrame(m,w,0,f,1.25/e.em,d.frame),e.addBox(m,M),e.placeBox(M,0,l,!0),n&&(M.style.width="100%"));P=J;g=0;for(x=k.length-1;g<x;g++)z=Math.max(C,a[g]+r[g+1]+D[g]),"none"!==N[g]&&(A=e.createRule(m,1.25/e.em,0,f),e.addBox(m,A),A.bbox={h:1.25/e.em,d:0,w:f,rw:f,lw:0},e.placeBox(A,0,P-a[g]-(z-a[g]-r[g+1])/2,!0),"dashed"===N[g]||n)&&(A.style.borderTop=A.style.height+" "+N[g],A.style.height=0,A.style.width=A.style.borderLeftWidth,A.style.borderLeft="",n&&(A.style.width="100%")),P-=z;n&&(b.bbox.width=d.width,m.style.width="100%");p[-1]&&(r=m.bbox.w,k=this.getValues("indentalignfirst","indentshiftfirst","indentalign","indentshift"),k.indentalignfirst!==c.INDENTALIGN.INDENTALIGN&&(k.indentalign=k.indentalignfirst),k.indentalign===c.INDENTALIGN.AUTO&&(k.indentalign=this.displayAlign),k.indentshiftfirst!==c.INDENTSHIFT.INDENTSHIFT&&(k.indentshift=k.indentshiftfirst),"auto"===k.indentshift&&(k.indentshift=this.displayIndent),C=e.createStack(b,!1,"100%"),e.addBox(C,m),e.alignBox(m,k.indentalign,0),k.indentshift&&k.indentalign!==c.INDENTALIGN.CENTER&&(a=e.length2em(k.indentshift,q),r+=a,m.style[k.indentalign]=e.Em(a)),p[-1].parentNode.parentNode.removeChild(p[-1].parentNode),e.addBox(C,p[-1]),e.alignBox(p[-1],H[-1],0),e.msieRelativeWidthBug&&(m.style.top=p[-1].style.top=""),n&&(m.style.width=d.width,b.bbox.width="100%"),a=e.length2em(d.minlabelspacing,q),p[-1].style.marginRight=p[-1].style.marginLeft=e.Em(a),k.indentalign===c.INDENTALIGN.CENTER?r+=4*a+2*p[-1].bbox.w:k.indentalign!==H[-1]&&(r+=2*a+p[-1].bbox.w),b.style.minWidth=b.bbox.minWidth=C.style.minWidth=C.bbox.minWidth=e.Em(r));n||this.HTMLhandleSpace(b);(d=this.HTMLhandleColor(b))&&n&&(M||(M=e.createFrame(m,w,0,f,0,"none"),e.addBox(m,M),e.placeBox(M,0,l,!0),M.style.width="100%"),M.style.backgroundColor=d.style.backgroundColor,M.parentNode.insertBefore(M,M.parentNode.firstChild),d.parentNode.removeChild(d));return b},HTMLhandleSpace:function(b){b.bbox.keepPadding=!0;b.bbox.exact=!0;this.hasFrame||null!=b.bbox.width||(b.style.paddingLeft=b.style.paddingRight=e.Em(1/6));this.SUPER(arguments).HTMLhandleSpace.call(this,b)}});c.mtd.Augment({toHTML:function(b,c,e){b=this.HTMLcreateSpan(b);if(this.data[0]){var m=this.data[0].toHTML(b);null!=e?m=this.data[0].HTMLstretchV(b,c,e):null!=c&&(m=this.data[0].HTMLstretchH(b,c));b.bbox=m.bbox}this.HTMLhandleSpace(b);this.HTMLhandleColor(b);return b},HTMLstretchH:c.mbase.HTMLstretchH,HTMLstretchV:c.mbase.HTMLstretchV});MathJax.Hub.Startup.signal.Post("HTML-CSS mtable Ready");MathJax.Ajax.loadComplete(e.autoloadDir+"/mtable.js")});MathJax.Ajax.loadComplete("[MathJax]/config/Accessible-full.js");
|