@zklogic/draw.io
Version:
Draw.IO - Graph Editor integration in Angular-cli
1 lines • 268 kB
JavaScript
MathJax.Hub.Config({delayJaxRegistration:!0}),MathJax.Ajax.Preloading("[MathJax]/jax/input/MathML/config.js","[MathJax]/jax/output/HTML-CSS/config.js","[MathJax]/jax/output/NativeMML/config.js","[MathJax]/jax/output/PreviewHTML/config.js","[MathJax]/config/MMLorHTML.js","[MathJax]/extensions/mml2jax.js","[MathJax]/extensions/MathEvents.js","[MathJax]/extensions/MathZoom.js","[MathJax]/extensions/MathMenu.js","[MathJax]/jax/element/mml/jax.js","[MathJax]/extensions/toMathML.js","[MathJax]/jax/input/MathML/jax.js","[MathJax]/jax/output/NativeMML/jax.js","[MathJax]/jax/output/HTML-CSS/jax.js","[MathJax]/jax/output/HTML-CSS/autoload/mtable.js","[MathJax]/jax/output/PreviewHTML/jax.js","[MathJax]/extensions/fast-preview.js","[MathJax]/extensions/AssistiveMML.js","[MathJax]/extensions/a11y/accessibility-menu.js"),MathJax.Hub.Config({extensions:["[a11y]/accessibility-menu.js"]}),MathJax.InputJax.MathML=MathJax.InputJax({id:"MathML",version:"2.7.9",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.7.9",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:{noReflows:!0,matchFontHeight:!0,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 .MJX-monospace":{"font-family":"monospace"},".MathJax .MJX-sans-serif":{"font-family":"sans-serif"},"#MathJax_Tooltip":{"background-color":"InfoBackground",color:"InfoText",border:"1px solid black","box-shadow":"2px 2px 5px #AAAAAA","-webkit-box-shadow":"2px 2px 5px #AAAAAA","-moz-box-shadow":"2px 2px 5px #AAAAAA","-khtml-box-shadow":"2px 2px 5px #AAAAAA",filter:"progid:DXImageTransform.Microsoft.dropshadow(OffX=2, OffY=2, Color='gray', Positive='true')",padding:"3px 4px","z-index":401}}}}),MathJax.Hub.Browser.isMSIE&&document.documentMode>=9&&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(t,e){var i=t.Insert({minBrowserVersion:{Firefox:3,Opera:9.52,MSIE:6,Chrome:.3,Safari:2,Konqueror:4},inlineMathDelimiters:["$","$"],displayMathDelimiters:["$$","$$"],multilineDisplay:!0,minBrowserTranslate:function(e){var a,s=t.getJaxFor(e),n=["[Math]"],o=document.createElement("span",{className:"MathJax_Preview"});"TeX"===s.inputJax&&(s.root.Get("displaystyle")?(n=[(a=i.displayMathDelimiters)[0]+s.originalText+a[1]],i.multilineDisplay&&(n=n[0].split(/\n/))):n=[(a=i.inlineMathDelimiters)[0]+s.originalText.replace(/^\s+/,"").replace(/\s+$/,"")+a[1]]);for(var r=0,l=n.length;r<l;r++)o.appendChild(document.createTextNode(n[r])),r<l-1&&o.appendChild(document.createElement("br"));e.parentNode.insertBefore(o,e)}},t.config["HTML-CSS"]||{});"0.0"===t.Browser.version||t.Browser.versionAtLeast(i.minBrowserVersion[t.Browser]||0)||(e.Translate=i.minBrowserTranslate,t.Config({showProcessingMessages:!1}),MathJax.Message.Set(["MathJaxNotSupported","Your browser does not support MathJax"],null,4e3),t.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.7.9",directory:MathJax.OutputJax.directory+"/NativeMML",extensionDir:MathJax.OutputJax.extensionDir+"/NativeMML",config:{matchFontHeight:!0,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"),MathJax.OutputJax.PreviewHTML=MathJax.OutputJax({id:"PreviewHTML",version:"2.7.9",directory:MathJax.OutputJax.directory+"/PreviewHTML",extensionDir:MathJax.OutputJax.extensionDir+"/PreviewHTML",noFastPreview:!0,config:{scale:100,minScaleAdjust:50,mtextFontInherit:!1,linebreaks:{automatic:!1,width:"container"}}}),MathJax.Hub.config.delayJaxRegistration||MathJax.OutputJax.PreviewHTML.Register("jax/mml"),MathJax.OutputJax.PreviewHTML.loadComplete("config.js"),function(t,e){var i=MathJax.Hub.CombineConfig("MMLorHTML",{prefer:{MSIE:"MML",Firefox:"HTML",Opera:"HTML",Chrome:"HTML",Safari:"HTML",other:"HTML"}}),a="0.0"===e.version||e.versionAtLeast({Firefox:3,Opera:9.52,MSIE:6,Chrome:.3,Safari:2,Konqueror:4}[e]||0),s=e.isFirefox&&e.versionAtLeast("1.5")||e.isMSIE&&e.hasMathPlayer||e.isSafari&&e.versionAtLeast("5.0")||e.isOpera&&e.versionAtLeast("9.52");t.Register.StartupHook("End Config",(function(){var e=i.prefer&&"object"==typeof i.prefer?i.prefer[MathJax.Hub.Browser]||i.prefer.other||"HTML":i.prefer;a||s?!s||"MML"!==e&&a?(MathJax.OutputJax["HTML-CSS"]?MathJax.OutputJax["HTML-CSS"].Register("jax/mml"):t.config.jax.unshift("output/HTML-CSS"),t.Startup.signal.Post("HTML-CSS output selected")):(MathJax.OutputJax.NativeMML?MathJax.OutputJax.NativeMML.Register("jax/mml"):t.config.jax.unshift("output/NativeMML"),t.Startup.signal.Post("NativeMML output selected")):(t.PreProcess.disabled=!0,t.prepareScripts.disabled=!0,MathJax.Message.Set(["MathJaxNotSupported","Your browser does not support MathJax"],null,4e3),t.Startup.signal.Post("MathJax not supported"))}))}(MathJax.Hub,MathJax.Hub.Browser),MathJax.Ajax.loadComplete("[MathJax]/config/MMLorHTML.js"),MathJax.Extension.mml2jax={version:"2.7.9",config:{preview:"mathml"},MMLnamespace:"http://www.w3.org/1998/Math/MathML",PreProcess:function(t){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 t&&(t=document.getElementById(t)),t||(t=document.body);var e,i,a=[];if(this.PushMathElements(a,t,"math"),this.PushMathElements(a,t,"math",this.MMLnamespace),void 0!==document.namespaces)try{for(e=0,i=document.namespaces.length;e<i;e++){var s=document.namespaces[e];s.urn===this.MMLnamespace&&this.PushMathElements(a,t,s.name+":math")}}catch(t){}else{var n=document.getElementsByTagName("html")[0];if(n)for(e=0,i=n.attributes.length;e<i;e++){var o=n.attributes[e];"xmlns:"===o.nodeName.substr(0,6)&&o.nodeValue===this.MMLnamespace&&this.PushMathElements(a,t,o.nodeName.substr(6)+":math")}}this.ProcessMathArray(a)},PushMathElements:function(t,e,i,a){var s,n=MathJax.Hub.config.preRemoveClass;if(a){if(!e.getElementsByTagNameNS)return;s=e.getElementsByTagNameNS(a,i)}else s=e.getElementsByTagName(i);for(var o=0,r=s.length;o<r;o++){var l=s[o].parentNode;l&&l.className!==n&&!l.isMathJax&&!s[o].prefix==!a&&t.push(s[o])}},ProcessMathArray:function(t){var e,i=t.length;if(i)if(this.MathTagBug)for(e=0;e<i;e++)"MATH"===t[e].nodeName?this.ProcessMathFlattened(t[e]):this.ProcessMath(t[e]);else for(e=0;e<i;e++)this.ProcessMath(t[e])},ProcessMath:function(t){var e=t.parentNode;if(e&&e.className!==MathJax.Hub.config.preRemoveClass){var i=document.createElement("script");if(i.type="math/mml",e.insertBefore(i,t),this.AttributeBug){var a=this.OuterHTML(t);this.CleanupHTML&&(a=(a=a.replace(/<\?import .*?>/i,"").replace(/<\?xml:namespace .*?\/>/i,"")).replace(/ /g," ")),MathJax.HTML.setScript(i,a),e.removeChild(t)}else{var s=MathJax.HTML.Element("span");s.appendChild(t),MathJax.HTML.setScript(i,s.innerHTML)}"none"!==this.config.preview&&this.createPreview(t,i)}},ProcessMathFlattened:function(t){var e=t.parentNode;if(e&&e.className!==MathJax.Hub.config.preRemoveClass){var i=document.createElement("script");i.type="math/mml",e.insertBefore(i,t);for(var a,s="",n=t;t&&"/MATH"!==t.nodeName;)a=t,t=t.nextSibling,s+=this.NodeHTML(a),a.parentNode.removeChild(a);t&&"/MATH"===t.nodeName&&t.parentNode.removeChild(t),i.text=s+"</math>","none"!==this.config.preview&&this.createPreview(n,i)}},NodeHTML:function(t){var e,i,a;if("#text"===t.nodeName)e=this.quoteHTML(t.nodeValue);else if("#comment"===t.nodeName)e="\x3c!--"+t.nodeValue+"--\x3e";else{for(e="<"+t.nodeName.toLowerCase(),i=0,a=t.attributes.length;i<a;i++){var s=t.attributes[i];if(s.specified&&"_moz-math-"!==s.nodeName.substr(0,10)){e+=" "+s.nodeName.toLowerCase().replace(/xmlns:xmlns/,"xmlns")+"=";var n=s.nodeValue;null==n&&"style"===s.nodeName&&t.style&&(n=t.style.cssText),e+='"'+this.quoteHTML(n)+'"'}}if(e+=">",null!=t.outerHTML&&t.outerHTML.match(/(.<\/[A-Z]+>|\/>)$/)){for(i=0,a=t.childNodes.length;i<a;i++)e+=this.OuterHTML(t.childNodes[i]);e+="</"+t.nodeName.toLowerCase()+">"}}return e},OuterHTML:function(t){if("#"===t.nodeName.charAt(0))return this.NodeHTML(t);if(!this.AttributeBug)return t.outerHTML;for(var e=this.NodeHTML(t),i=0,a=t.childNodes.length;i<a;i++)e+=this.OuterHTML(t.childNodes[i]);return e+"</"+t.nodeName.toLowerCase()+">"},quoteHTML:function(t){return null==t&&(t=""),t.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/\"/g,""")},createPreview:function(t,e){var i=this.config.preview;if("none"!==i){var a=!1,s=MathJax.Hub.config.preRemoveClass;if((e.previousSibling||{}).className!==s){if("mathml"===i&&(a=!0,i=this.MathTagBug?"alttext":t.cloneNode(!0)),"alttext"===i||"altimg"===i){a=!0;var n=this.filterPreview(t.getAttribute("alttext"));if("alttext"===i)i=null!=n?MathJax.HTML.TextNode(n):null;else{var o=t.getAttribute("altimg");if(null!=o){var r={width:t.getAttribute("altimg-width"),height:t.getAttribute("altimg-height")};i=MathJax.HTML.Element("img",{src:o,alt:n,style:r})}else i=null}}var l;i&&(a?(l=MathJax.HTML.Element("span",{className:s})).appendChild(i):l=MathJax.HTML.Element("span",{className:s},i),e.parentNode.insertBefore(l,e))}}},filterPreview:function(t){return t},InitBrowser:function(){var t=MathJax.HTML.Element("span",{id:"<",className:"mathjax",innerHTML:"<math><mi>x</mi><mspace /></math>"}),e=t.outerHTML||"";this.AttributeBug=""!==e&&!(e.match(/id="<"/)&&e.match(/class="mathjax"/)&&e.match(/<\/math>/)),this.MathTagBug=t.childNodes.length>1,this.CleanupHTML=MathJax.Hub.Browser.isMSIE}},MathJax.Hub.Register.PreProcessor(["PreProcess",MathJax.Extension.mml2jax],5),MathJax.Ajax.loadComplete("[MathJax]/extensions/mml2jax.js"),function(t,e,i,a,s,n,o){var r=MathJax.Extension,l=r.MathEvents={version:"2.7.9"},h=t.config.menuSettings,d={hover:500,frame:{x:3.5,y:5,bwidth:1,bcolor:"#A6D",hwidth:"15px",hcolor:"#83A"},button:{x:-6,y:-3,wx:-2},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_Menu_Button .MathJax_Hover_Arrow":{position:"absolute",cursor:"pointer",display:"inline-block",border:"2px solid #AAA","border-radius":"4px","-webkit-border-radius":"4px","-moz-border-radius":"4px","-khtml-border-radius":"4px","font-family":"'Courier New',Courier","font-size":"9px",color:"#F0F0F0"},".MathJax_Menu_Button .MathJax_Hover_Arrow span":{display:"block","background-color":"#AAA",border:"1px solid","border-radius":"3px","line-height":0,padding:"4px"},".MathJax_Hover_Arrow:hover":{color:"white!important",border:"2px solid #CCC!important"},".MathJax_Hover_Arrow:hover span":{"background-color":"#CCC!important"}}},u=l.Event={LEFTBUTTON:0,RIGHTBUTTON:2,MENUKEY:"altKey",KEY:{RETURN:13,ESCAPE:27,SPACE:32,LEFT:37,UP:38,RIGHT:39,DOWN:40,LESS:188,GREATER:190,DASH:189},Mousedown:function(t){return u.Handler(t,"Mousedown",this)},Mouseup:function(t){return u.Handler(t,"Mouseup",this)},Mousemove:function(t){return u.Handler(t,"Mousemove",this)},Mouseover:function(t){return u.Handler(t,"Mouseover",this)},Mouseout:function(t){return u.Handler(t,"Mouseout",this)},Click:function(t){return u.Handler(t,"Click",this)},DblClick:function(t){return u.Handler(t,"DblClick",this)},Menu:function(t){return u.Handler(t,"ContextMenu",this)},Handler:function(t,e,a){if(i.loadingMathMenu)return u.False(t);var s=n[a.jaxID];return t||(t=window.event),t.isContextMenu="ContextMenu"===e,s[e]?s[e](t,a):r.MathZoom?r.MathZoom.HandleEvent(t,e,a):void 0},False:function(t){return t||(t=window.event),t&&(t.preventDefault?t.preventDefault():t.returnValue=!1,t.stopPropagation&&t.stopPropagation(),t.cancelBubble=!0),!1},Keydown:function(t,e){t||(t=window.event),t.keyCode===u.KEY.SPACE&&u.ContextMenu(t,this)},ContextMenu:function(e,r,d){var m=n[r.jaxID],p=m.getJaxFromMath(r);if((null!=m.config.showMathMenu?m:t).config.showMathMenu&&("MathJax"===h.context||d)){l.msieEventBug&&(e=window.event||e),u.ClearSelection(),c.ClearHoverTimer(),p.hover&&(p.hover.remove&&(clearTimeout(p.hover.remove),delete p.hover.remove),p.hover.nofade=!0);var M,f,g=MathJax.Menu;if(g){if(g.loadingDomain)return u.False(e);if(!(M=s.loadDomain("MathMenu"))){g.jax=p;var b=g.menu.Find("Show Math As").submenu;b.items[0].name=p.sourceMenuTitle,b.items[0].format=p.sourceMenuFormat||"MathML",b.items[1].name=o[p.inputJax].sourceMenuTitle,b.items[5].disabled=!o[p.inputJax].annotationEncoding;var x=b.items[2];x.disabled=!0;var v=x.submenu.items;annotationList=MathJax.Hub.Config.semanticsAnnotations;for(var T=0,L=v.length;T<L;T++){var E=v[T].name[1];p.root&&null!==p.root.getAnnotation(E)?(x.disabled=!1,v[T].hidden=!1):v[T].hidden=!0}return g.menu.Find("Math Settings","MathPlayer").hidden=!("NativeMML"===p.outputJax&&t.Browser.hasMathPlayer),g.menu.Post(e)}g.loadingDomain=!0,f=function(){delete g.loadingDomain}}else{if(i.loadingMathMenu)return u.False(e);i.loadingMathMenu=!0,M=i.Require("[MathJax]/extensions/MathMenu.js"),f=function(){delete i.loadingMathMenu,MathJax.Menu||(MathJax.Menu={})}}var y={pageX:e.pageX,pageY:e.pageY,clientX:e.clientX,clientY:e.clientY};return a.Queue(M,f,["ContextMenu",u,y,r,d]),u.False(e)}},AltContextMenu:function(e,i){var a=n[i.jaxID],s=(null!=a.config.showMathMenu?a:t).config.showMathMenu;if(s){if(s=(null!=a.config.showMathMenuMSIE?a:t).config.showMathMenuMSIE,"MathJax"===h.context&&!h.mpContext&&s){if(!l.noContextMenuBug||e.button!==u.RIGHTBUTTON)return}else if(!e[u.MENUKEY]||e.button!==u.LEFTBUTTON)return;return a.ContextMenu(e,i,!0)}},ClearSelection:function(){l.safariContextMenuBug&&setTimeout("window.getSelection().empty()",0),document.selection&&setTimeout("document.selection.empty()",0)},getBBox:function(t){t.appendChild(l.topImg);var e=l.topImg.offsetTop,i=t.offsetHeight-e,a=t.offsetWidth;return t.removeChild(l.topImg),{w:a,h:e,d:i}}},c=l.Hover={Mouseover:function(e,i){if(h.discoverable||"Hover"===h.zoom){var a=e.fromElement||e.relatedTarget,s=e.toElement||e.target;if(a&&s&&(t.isMathJaxNode(a)!==t.isMathJaxNode(s)||t.getJaxFor(a)!==t.getJaxFor(s))){var n=this.getJaxFromMath(i);return n.hover?c.ReHover(n):c.HoverTimer(n,i),u.False(e)}}},Mouseout:function(e,i){if(h.discoverable||"Hover"===h.zoom){var a=e.fromElement||e.relatedTarget,s=e.toElement||e.target;if(a&&s&&(t.isMathJaxNode(a)!==t.isMathJaxNode(s)||t.getJaxFor(a)!==t.getJaxFor(s))){var n=this.getJaxFromMath(i);return n.hover?c.UnHover(n):c.ClearHoverTimer(),u.False(e)}}},Mousemove:function(t,e){if(h.discoverable||"Hover"===h.zoom){var i=this.getJaxFromMath(e);if(i.hover)return;if(c.lastX==t.clientX&&c.lastY==t.clientY)return;return c.lastX=t.clientX,c.lastY=t.clientY,c.HoverTimer(i,e),u.False(t)}},HoverTimer:function(t,e){this.ClearHoverTimer(),this.hoverTimer=setTimeout(a(["Hover",this,t,e]),d.hover)},ClearHoverTimer:function(){this.hoverTimer&&(clearTimeout(this.hoverTimer),delete this.hoverTimer)},Hover:function(i,a){if(!r.MathZoom||!r.MathZoom.Hover({},a)){var s=n[i.outputJax],o=s.getHoverSpan(i,a),h=s.getHoverBBox(i,o,a),u=(null!=s.config.showMathMenu?s:t).config.showMathMenu,c=d.frame.x,m=d.frame.y,p=d.frame.bwidth;l.msieBorderWidthBug&&(p=0),i.hover={opacity:0,id:i.inputID+"-Hover"};var M=e.Element("span",{id:i.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(-h.h-m-p-(h.y||0)),left:this.Px(-c-p+(h.x||0)),width:this.Px(h.w+2*c),height:this.Px(h.h+h.d+2*m),opacity:0,filter:"alpha(opacity=0)"}}]]),f=e.Element("span",{isMathJax:!0,id:i.hover.id+"Menu",className:"MathJax_Menu_Button",style:{display:"inline-block","z-index":1,width:0,height:0,position:"relative"}},[["span",{className:"MathJax_Hover_Arrow",isMathJax:!0,math:a,onclick:this.HoverMenu,jax:s.id,style:{left:this.Px(h.w+c+p+(h.x||0)+d.button.x),top:this.Px(-h.h-m-p-(h.y||0)-d.button.y),opacity:0,filter:"alpha(opacity=0)"}},[["span",{isMathJax:!0},"▼"]]]]);h.width&&(M.style.width=f.style.width=h.width,M.style.marginRight=f.style.marginRight="-"+h.width,M.firstChild.style.width=h.width,f.firstChild.style.left="",f.firstChild.style.right=this.Px(d.button.wx)),o.parentNode.insertBefore(M,o),u&&o.parentNode.insertBefore(f,o),o.style&&(o.style.position="relative"),this.ReHover(i)}},ReHover:function(t){t.hover.remove&&clearTimeout(t.hover.remove),t.hover.remove=setTimeout(a(["UnHover",this,t]),d.fadeoutDelay),this.HoverFadeTimer(t,d.fadeinInc)},UnHover:function(t){t.hover.nofade||this.HoverFadeTimer(t,-d.fadeoutInc,d.fadeoutStart)},HoverFade:function(t){delete t.hover.timer,t.hover.opacity=Math.max(0,Math.min(1,t.hover.opacity+t.hover.inc)),t.hover.opacity=Math.floor(1e3*t.hover.opacity)/1e3;var e=document.getElementById(t.hover.id),i=document.getElementById(t.hover.id+"Menu");e.firstChild.style.opacity=t.hover.opacity,e.firstChild.style.filter="alpha(opacity="+Math.floor(100*t.hover.opacity)+")",i&&(i.firstChild.style.opacity=t.hover.opacity,i.firstChild.style.filter=e.style.filter),1!==t.hover.opacity&&(t.hover.opacity>0?this.HoverFadeTimer(t,t.hover.inc):(e.parentNode.removeChild(e),i&&i.parentNode.removeChild(i),t.hover.remove&&clearTimeout(t.hover.remove),delete t.hover))},HoverFadeTimer:function(t,e,i){t.hover.inc=e,t.hover.timer||(t.hover.timer=setTimeout(a(["HoverFade",this,t]),i||d.fadeDelay))},HoverMenu:function(t){return t||(t=window.event),n[this.jax].ContextMenu(t,this.math,!0)},ClearHover:function(t){t.hover.remove&&clearTimeout(t.hover.remove),t.hover.timer&&clearTimeout(t.hover.timer),c.ClearHoverTimer(),delete t.hover},Px:function(t){return Math.abs(t)<.006?"0px":t.toFixed(2).replace(/\.?0+$/,"")+"px"},getImages:function(){h.discoverable&&((new Image).src=d.button.src)}},m=l.Touch={last:0,delay:500,start:function(t){var e=(new Date).getTime(),i=e-m.last<m.delay&&m.up;m.last=e,m.up=!1,i&&(m.timeout=setTimeout(m.menu,m.delay,t,this),t.preventDefault())},end:function(t){var e=(new Date).getTime();if(m.up=e-m.last<m.delay,m.timeout)return clearTimeout(m.timeout),delete m.timeout,m.last=0,m.up=!1,t.preventDefault(),u.Handler(t.touches[0]||t.touch,"DblClick",this)},menu:function(t,e){return delete m.timeout,m.last=0,m.up=!1,u.Handler(t.touches[0]||t.touch,"ContextMenu",e)}};t.Browser.Select({MSIE:function(t){var e=document.documentMode||0,i=t.versionAtLeast("8.0");l.msieBorderWidthBug="BackCompat"===document.compatMode,l.msieEventBug=t.isIE9,l.msieAlignBug=!i||e<8,e<9&&(u.LEFTBUTTON=1)},Safari:function(t){l.safariContextMenuBug=!0},Opera:function(t){l.operaPositionBug=!0},Konqueror:function(t){l.noContextMenuBug=!0}}),l.topImg=l.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"}}),l.operaPositionBug&&(l.topImg.style.border="1px solid"),l.config=d=t.CombineConfig("MathEvents",d),a.Queue(t.Register.StartupHook("End Config",{}),[function(){var t=d.styles[".MathJax_Hover_Frame"];t.border=d.frame.bwidth+"px solid "+d.frame.bcolor+" ! important",t["box-shadow"]=t["-webkit-box-shadow"]=t["-moz-box-shadow"]=t["-khtml-box-shadow"]="0px 0px "+d.frame.hwidth+" "+d.frame.hcolor}],["getImages",c],["Styles",i,d.styles],["Post",t.Startup.signal,"MathEvents Ready"],["loadComplete",i,"[MathJax]/extensions/MathEvents.js"])}(MathJax.Hub,MathJax.HTML,MathJax.Ajax,MathJax.Callback,MathJax.Localization,MathJax.OutputJax,MathJax.InputJax),function(t,e,i,a,s){var n,o,r,l=t.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","-webkit-box-sizing":"content-box","-moz-box-sizing":"content-box","box-sizing":"content-box","box-shadow":"5px 5px 15px #AAAAAA","-webkit-box-shadow":"5px 5px 15px #AAAAAA","-moz-box-shadow":"5px 5px 15px #AAAAAA","-khtml-box-shadow":"5px 5px 15px #AAAAAA",filter:"progid:DXImageTransform.Microsoft.dropshadow(OffX=2, OffY=2, Color='gray', Positive='true')"},"#MathJax_ZoomOverlay":{position:"absolute",left:0,top:0,"z-index":300,display:"inline-block",width:"100%",height:"100%",border:0,padding:0,margin:0,"background-color":"white",opacity:0,filter:"alpha(opacity=0)"},"#MathJax_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=0)"}}});MathJax.Hub.Register.StartupHook("MathEvents Ready",(function(){r=MathJax.Extension.MathEvents.Event,n=MathJax.Extension.MathEvents.Event.False,o=MathJax.Extension.MathEvents.Hover}));var h=MathJax.Extension.MathZoom={version:"2.7.9",settings:t.config.menuSettings,scrollSize:18,HandleEvent:function(t,e,i){return!(!h.settings.CTRL||t.ctrlKey)||!(!h.settings.ALT||t.altKey)||!(!h.settings.CMD||t.metaKey)||!(!h.settings.Shift||t.shiftKey)||!h[e]||h[e](t,i)},Click:function(t,e){if("Click"===this.settings.zoom)return this.Zoom(t,e)},DblClick:function(t,e){if("Double-Click"===this.settings.zoom||"DoubleClick"===this.settings.zoom)return this.Zoom(t,e)},Hover:function(t,e){return"Hover"===this.settings.zoom&&(this.Zoom(t,e),!0)},Zoom:function(i,a){this.Remove(),o.ClearHoverTimer(),r.ClearSelection();var s=MathJax.OutputJax[a.jaxID],h=s.getJaxFromMath(a);h.hover&&o.UnHover(h);var d=this.findContainer(a),u=Math.floor(.85*d.clientWidth),c=Math.max(document.body.clientHeight,document.documentElement.clientHeight);"visible"!==this.getOverflow(d)&&(c=Math.min(d.clientHeight,c)),c=Math.floor(.85*c);var m=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}},[["span",{style:{display:"inline-block","white-space":"nowrap"}}]]]]),p=m.lastChild,M=p.firstChild,f=m.firstChild;a.parentNode.insertBefore(m,a),a.parentNode.insertBefore(a,m),M.addEventListener&&M.addEventListener("mousedown",this.Remove,!0);var g=p.offsetWidth||p.clientWidth;if(u-=g,c-=g,p.style.maxWidth=u+"px",p.style.maxHeight=c+"px",this.msieTrapEventBug){var b=e.Element("span",{id:"MathJax_ZoomEventTrap",onmousedown:this.Remove});m.insertBefore(b,p)}if(this.msieZIndexBug){var x=e.addElement(document.body,"img",{src:"about:blank",id:"MathJax_ZoomTracker",width:0,height:0,style:{width:0,height:0,position:"relative"}});m.style.position="relative",m.style.zIndex=l.styles["#MathJax_ZoomOverlay"]["z-index"],m=x}var v=s.Zoom(h,M,a,u,c);return this.msiePositionBug&&(this.msieSizeBug&&(p.style.height=v.zH+"px",p.style.width=v.zW+"px"),p.offsetHeight>c&&(p.style.height=c+"px",p.style.width=v.zW+this.scrollSize+"px"),p.offsetWidth>u&&(p.style.width=u+"px",p.style.height=v.zH+this.scrollSize+"px")),this.operaPositionBug&&(p.style.width=Math.min(u,v.zW)+"px"),p.offsetWidth>g&&p.offsetWidth-g<u&&p.offsetHeight-g<c&&(p.style.overflow="visible"),this.Position(p,v),this.msieTrapEventBug&&(b.style.height=p.clientHeight+"px",b.style.width=p.clientWidth+"px",b.style.left=parseFloat(p.style.left)+p.clientLeft+"px",b.style.top=parseFloat(p.style.top)+p.clientTop+"px"),p.style.visibility="","Hover"===this.settings.zoom&&(f.onmouseover=this.Remove),window.addEventListener?addEventListener("resize",this.Resize,!1):window.attachEvent?attachEvent("onresize",this.Resize):(this.onresize=window.onresize,window.onresize=this.Resize),t.signal.Post(["math zoomed",h]),n(i)},Position:function(t,e){t.style.display="none";var i=this.Resize(),a=i.x,s=i.y,n=e.mW;t.style.display="";var o=-n-Math.floor((t.offsetWidth-n)/2),r=e.Y;t.style.left=Math.max(o,10-a)+"px",t.style.top=Math.max(r,10-s)+"px",h.msiePositionBug||h.SetWH()},Resize:function(t){h.onresize&&h.onresize(t);var e=document.getElementById("MathJax_ZoomFrame"),i=document.getElementById("MathJax_ZoomOverlay"),a=h.getXY(e),s=h.findContainer(e);if("visible"!==h.getOverflow(s)){i.scroll_parent=s;var n=h.getXY(s);a.x-=n.x,a.y-=n.y,n=h.getBorder(s),a.x-=n.x,a.y-=n.y}return i.style.left=-a.x+"px",i.style.top=-a.y+"px",h.msiePositionBug?setTimeout(h.SetWH,0):h.SetWH(),a},SetWH:function(){var t=document.getElementById("MathJax_ZoomOverlay");if(t){t.style.display="none";var e=t.scroll_parent||document.documentElement||document.body;t.style.width=e.scrollWidth+"px",t.style.height=Math.max(e.clientHeight,e.scrollHeight)+"px",t.style.display=""}},findContainer:function(t){for(t=t.parentNode;t.parentNode&&t!==document.body&&"visible"===h.getOverflow(t);)t=t.parentNode;return t},getOverflow:window.getComputedStyle?function(t){return getComputedStyle(t).overflow}:function(t){return(t.currentStyle||{overflow:"visible"}).overflow},getBorder:function(t){var e={thin:1,medium:2,thick:3},i=window.getComputedStyle?getComputedStyle(t):t.currentStyle||{borderLeftWidth:0,borderTopWidth:0},a=i.borderLeftWidth,s=i.borderTopWidth;return{x:a=e[a]?e[a]:parseInt(a),y:s=e[s]?e[s]:parseInt(s)}},getXY:function(t){var e,i=0,a=0;for(e=t;e.offsetParent;)i+=e.offsetLeft,e=e.offsetParent;for(h.operaPositionBug&&(t.style.border="1px solid"),e=t;e.offsetParent;)a+=e.offsetTop,e=e.offsetParent;return h.operaPositionBug&&(t.style.border=""),{x:i,y:a}},Remove:function(i){var a=document.getElementById("MathJax_ZoomFrame");if(a){var s=MathJax.OutputJax[a.previousSibling.jaxID].getJaxFromMath(a.previousSibling);if(t.signal.Post(["math unzoomed",s]),a.parentNode.removeChild(a),(a=document.getElementById("MathJax_ZoomTracker"))&&a.parentNode.removeChild(a),h.operaRefreshBug){var o=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(o)}window.removeEventListener?removeEventListener("resize",h.Resize,!1):window.detachEvent?detachEvent("onresize",h.Resize):(window.onresize=h.onresize,delete h.onresize)}return n(i)}};t.Browser.Select({MSIE:function(t){var e=document.documentMode||0,i=e>=9;h.msiePositionBug=!i,h.msieSizeBug=t.versionAtLeast("7.0")&&(!document.documentMode||7===e||8===e),h.msieZIndexBug=e<=7,h.msieInlineBlockAlignBug=e<=7,h.msieTrapEventBug=!window.addEventListener,"BackCompat"===document.compatMode&&(h.scrollSize=52),i&&delete l.styles["#MathJax_Zoom"].filter},Opera:function(t){h.operaPositionBug=!0,h.operaRefreshBug=!0}}),h.topImg=h.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"}}),(h.operaPositionBug||h.msieTopBug)&&(h.topImg.style.border="1px solid"),MathJax.Callback.Queue(["StartupHook",MathJax.Hub.Register,"Begin Styles",{}],["Styles",i,l.styles],["Post",t.Startup.signal,"MathZoom Ready"],["loadComplete",i,"[MathJax]/extensions/MathZoom.js"])}(MathJax.Hub,MathJax.HTML,MathJax.Ajax,MathJax.OutputJax["HTML-CSS"],MathJax.OutputJax.NativeMML),function(t,e,i,a,s){var n="2.7.9",o=MathJax.Callback.Signal("menu");MathJax.Extension.MathMenu={version:n,signal:o};var r,l,h,d=function(t){return MathJax.Localization._.apply(MathJax.Localization,[["MathMenu",t]].concat([].slice.call(arguments,1)))},u=MathJax.Object.isArray,c=t.Browser.isPC,m=t.Browser.isMSIE,p=(document.documentMode||0)>8,M=c?null:"5px",f=t.CombineConfig("MathMenu",{delay:150,showRenderer:!0,showMathPlayer:!0,showFontMenu:!1,showContext:!1,showDiscoverable:!1,showLocale:!0,showLocaleURL:!1,semanticsAnnotations:{TeX:["TeX","LaTeX","application/x-tex"],StarMath:["StarMath 5.0"],Maple:["Maple"],ContentMathML:["MathML-Content","application/mathml-content+xml"],OpenMath:["OpenMath"]},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=2, OffY=2, Color='gray', Positive='true')"},"#MathJax_About.MathJax_MousePost":{outline:"none"},".MathJax_Menu":{position:"absolute","background-color":"white",color:"black",width:"auto",padding:c?"2px":"5px 0px",border:"1px solid #CCCCCC",margin:0,cursor:"default",font:"menu","text-align":"left","text-indent":0,"text-transform":"none","line-height":"normal","letter-spacing":"normal","word-spacing":"normal","word-wrap":"normal","white-space":"nowrap",float:"none","z-index":201,"border-radius":M,"-webkit-border-radius":M,"-moz-border-radius":M,"-khtml-border-radius":M,"box-shadow":"0px 10px 20px #808080","-webkit-box-shadow":"0px 10px 20px #808080","-moz-box-shadow":"0px 10px 20px #808080","-khtml-box-shadow":"0px 10px 20px #808080",filter:"progid:DXImageTransform.Microsoft.dropshadow(OffX=2, OffY=2, Color='gray', Positive='true')"},".MathJax_MenuItem":{padding:c?"2px 2em":"1px 2em",background:"transparent"},".MathJax_MenuArrow":{position:"absolute",right:".5em","padding-top":".25em",color:"#666666","font-family":m?"'Arial unicode MS'":null,"font-size":".75em"},".MathJax_MenuActive .MathJax_MenuArrow":{color:"white"},".MathJax_MenuArrow.RTL":{left:".5em",right:"auto"},".MathJax_MenuCheck":{position:"absolute",left:".7em","font-family":m?"'Arial unicode MS'":null},".MathJax_MenuCheck.RTL":{right:".7em",left:"auto"},".MathJax_MenuRadioCheck":{position:"absolute",left:c?"1em":".7em"},".MathJax_MenuRadioCheck.RTL":{right:c?"1em":".7em",left:"auto"},".MathJax_MenuLabel":{padding:c?"2px 2em 4px 1.33em":"1px 2em 3px 1.33em","font-style":"italic"},".MathJax_MenuRule":{"border-top":c?"1px solid #CCCCCC":"1px solid #DDDDDD",margin:c?"4px 1px 0px":"4px 3px"},".MathJax_MenuDisabled":{color:"GrayText"},".MathJax_MenuActive":{"background-color":c?"Highlight":"#606872",color:c?"HighlightText":"white"},".MathJax_MenuDisabled:focus, .MathJax_MenuLabel:focus":{"background-color":"#E8E8E8"},".MathJax_ContextMenu:focus":{outline:"none"},".MathJax_ContextMenu .MathJax_MenuItem:focus":{outline:"none"},"#MathJax_AboutClose":{top:".2em",right:".2em"},".MathJax_Menu .MathJax_MenuClose":{top:"-10px",left:"-10px"},".MathJax_MenuClose":{position:"absolute",cursor:"pointer",display:"inline-block",border:"2px solid #AAA","border-radius":"18px","-webkit-border-radius":"18px","-moz-border-radius":"18px","-khtml-border-radius":"18px","font-family":"'Courier New',Courier","font-size":"24px",color:"#F0F0F0"},".MathJax_MenuClose span":{display:"block","background-color":"#AAA",border:"1.5px solid","border-radius":"18px","-webkit-border-radius":"18px","-moz-border-radius":"18px","-khtml-border-radius":"18px","line-height":0,padding:"8px 0 6px"},".MathJax_MenuClose:hover":{color:"white!important",border:"2px solid #CCC!important"},".MathJax_MenuClose:hover span":{"background-color":"#CCC!important"},".MathJax_MenuClose:hover:focus":{outline:"none"}}});t.Register.StartupHook("MathEvents Ready",(function(){r=MathJax.Extension.MathEvents.Event.False,l=MathJax.Extension.MathEvents.Hover,h=MathJax.Extension.MathEvents.Event.KEY}));var g=MathJax.Object.Subclass({Keydown:function(t,e){switch(t.keyCode){case h.ESCAPE:this.Remove(t,e);break;case h.RIGHT:this.Right(t,e);break;case h.LEFT:this.Left(t,e);break;case h.UP:this.Up(t,e);break;case h.DOWN:this.Down(t,e);break;case h.RETURN:case h.SPACE:this.Space(t,e);break;default:return}return r(t)},Escape:function(t,e){},Right:function(t,e){},Left:function(t,e){},Up:function(t,e){},Down:function(t,e){},Space:function(t,e){}},{}),b=MathJax.Menu=g.Subclass({version:n,items:[],posted:!1,title:null,margin:5,Init:function(t){this.items=[].slice.call(arguments,0)},With:function(e){return e&&t.Insert(this,e),this},Post:function(t,i,a){t||(t=window.event||{});var s=document.getElementById("MathJax_MenuFrame");s||(s=b.Background(this),delete x.lastItem,delete x.lastMenu,delete b.skipUp,o.Post(["post",b.jax]),b.isRTL="rtl"===MathJax.Localization.fontDirection());var n=e.Element("div",{onmouseup:b.Mouseup,ondblclick:r,ondragstart:r,onselectstart:r,oncontextmenu:r,menuItem:this,className:"MathJax_Menu",onkeydown:b.Keydown,role:"menu"});"contextmenu"!==t.type&&"mouseover"!==t.type||(n.className+=" MathJax_ContextMenu"),a||MathJax.Localization.setCSS(n);for(var l=0,h=this.items.length;l<h;l++)this.items[l].Create(n);b.isMobile&&e.addElement(n,"span",{className:"MathJax_MenuClose",menu:i,ontouchstart:b.Close,ontouchend:r,onmousedown:b.Close,onmouseup:r},[["span",{},"×"]]),s.appendChild(n),this.posted=!0,n.offsetWidth&&(n.style.width=n.offsetWidth+2+"px");var d=t.pageX,u=t.pageY,m=document.body.getBoundingClientRect(),p=window.getComputedStyle?window.getComputedStyle(document.body):{marginLeft:"0px"},M=m.right-Math.min(0,m.left)+parseFloat(p.marginLeft);if(d||u||!("clientX"in t)||(d=t.clientX+document.body.scrollLeft+document.documentElement.scrollLeft,u=t.clientY+document.body.scrollTop+document.documentElement.scrollTop),i){var g="left",v=i.offsetWidth;for(d=b.isMobile?30:v-2,u=0;i&&i!==s;)d+=i.offsetLeft,u+=i.offsetTop,i=i.parentNode;b.isMobile||(b.isRTL&&d-v-n.offsetWidth>this.margin||!b.isRTL&&d+n.offsetWidth>M-this.margin)&&(g="right",d=Math.max(this.margin,d-v-n.offsetWidth+6)),c||(n.style["borderRadiusTop"+g]=0,n.style["WebkitBorderRadiusTop"+g]=0,n.style["MozBorderRadiusTop"+g]=0,n.style["KhtmlBorderRadiusTop"+g]=0)}else{var T=b.CurrentNode()||t.target;if(("keydown"===t.type||!d&&!u)&&T){var L=window.pageXOffset||document.documentElement.scrollLeft,E=window.pageYOffset||document.documentElement.scrollTop,y=T.getBoundingClientRect();d=(y.right+y.left)/2+L,u=(y.bottom+y.top)/2+E}d+n.offsetWidth>M-this.margin&&(d=M-n.offsetWidth-this.margin),b.isMobile&&(d=Math.max(5,d-Math.floor(n.offsetWidth/2)),u-=20),b.skipUp=t.isContextMenu}n.style.left=d+"px",n.style.top=u+"px",document.selection&&document.selection.empty&&document.selection.empty();var C=window.pageXOffset||document.documentElement.scrollLeft,S=window.pageYOffset||document.documentElement.scrollTop;return b.Focus(n),"keydown"===t.type&&(b.skipMouseoverFromKey=!0,setTimeout((function(){delete b.skipMouseoverFromKey}),f.delay)),window.scrollTo(C,S),r(t)},Remove:function(t,e){o.Post(["unpost",b.jax]);var i=document.getElementById("MathJax_MenuFrame");return i&&(i.parentNode.removeChild(i),this.msieFixedPositionBug&&detachEvent("onresize",b.Resize)),b.jax.hover&&(delete b.jax.hover.nofade,l.UnHover(b.jax)),b.Unfocus(e),"mousedown"===t.type&&b.CurrentNode().blur(),r(t)},Find:function(t){return this.FindN(1,t,[].slice.call(arguments,1))},FindId:function(t){return this.FindN(0,t,[].slice.call(arguments,1))},FindN:function(t,e,i){for(var a=0,s=this.items.length;a<s;a++)if(this.items[a].name[t]===e)return i.length?this.items[a].submenu?this.items[a].submenu.FindN(t,i[0],i.slice(1)):null:this.items[a];return null},IndexOf:function(t){return this.IndexOfN(1,t)},IndexOfId:function(t){return this.IndexOfN(0,t)},IndexOfN:function(t,e){for(var i=0,a=this.items.length;i<a;i++)if(this.items[i].name[t]===e)return i;return null},Right:function(t,e){b.Right(t,e)},Left:function(t,e){b.Left(t,e)},Up:function(t,e){var i=e.lastChild;i.menuItem.Activate(t,i)},Down:function(t,e){var i=e.firstChild;i.menuItem.Activate(t,i)},Space:function(t,e){this.Remove(t,e)}},{config:f,Remove:function(t){return b.Event(t,this,"Remove")},Mouseover:function(t){return b.Event(t,this,"Mouseover")},Mouseout:function(t){return b.Event(t,this,"Mouseout")},Mousedown:function(t){return b.Event(t,this,"Mousedown")},Mouseup:function(t){return b.Event(t,this,"Mouseup")},Keydown:function(t){return b.Event(t,this,"Keydown")},Touchstart:function(t){return b.Event(t,this,"Touchstart")},Touchend:function(t){return b.Event(t,this,"Touchend")},Close:function(t){return b.Event(t,this.menu||this.parentNode,this.menu?"Touchend":"Remove")},Event:function(t,e,i,a){if(b.skipMouseover&&"Mouseover"===i&&!a)return r(t);if(b.skipMouseoverFromKey&&"Mouseover"===i)return delete b.skipMouseoverFromKey,r(t);if(b.skipUp){if(i.match(/Mouseup|Touchend/))return delete b.skipUp,r(t);("Touchstart"===i||"Mousedown"===i&&!b.skipMousedown)&&delete b.skipUp}t||(t=window.event);var s=e.menuItem;return s&&s[i]?s[i](t,e):null},BGSTYLE:{position:"absolute",left:0,top:0,"z-index":200,width:"100%",height:"100%",border:0,padding:0,margin:0},Background:function(t){var i=e.addElement(document.body,"div",{style:this.BGSTYLE,id:"MathJax_MenuFrame"},[["div",{style:this.BGSTYLE,menuItem:t,onmousedown:this.Remove}]]),a=i.firstChild;return b.msieBackgroundBug&&(a.style.backgroundColor="white",a.style.filter="alpha(opacity=0)"),b.msieFixedPositionBug?(i.width=i.height=0,this.Resize(),attachEvent("onresize",this.Resize)):a.style.position="fixed",i},Resize:function(){setTimeout(b.SetWH,0)},SetWH:function(){var t=document.getElementById("MathJax_MenuFrame");t&&((t=t.firstChild).style.width=t.style.height="1px",t.style.width=document.body.scrollWidth+"px",t.style.height=document.body.scrollHeight+"px")},posted:!1,active:null,GetNode:function(t){var e=document.getElementById(t.inputID+"-Frame");return e.isMathJax?e:e.firstChild},CurrentNode:function(){return b.GetNode(b.jax)},AllNodes:function(){for(var t,e=MathJax.Hub.getAllJax(),i=[],a=0;t=e[a];a++)i.push(b.GetNode(t));return i},ActiveNode:function(){return b.active},FocusNode:function(t){b.active=t,t.focus()},Focus:function(t){b.posted?b.ActiveNode().tabIndex=-1:b.Activate(t),t.tabIndex=0,b.FocusNode(t)},Activate:function(t,e){b.UnsetTabIndex(),b.posted=!0},Unfocus:function(){b.ActiveNode().tabIndex=-1,b.SetTabIndex(),b.FocusNode(b.CurrentNode()),b.posted=!1},MoveHorizontal:function(t,e,i){if(t.shiftKey){var a=b.AllNodes(),s=a.length;if(0!==s){var n=a[b.Mod(i(b.IndexOf(a,b.CurrentNode())),s)];n!==b.CurrentNode()&&(b.menu.Remove(t,e),b.jax=MathJax.Hub.getJaxFor(n),b.FocusNode(n),b.menu.Post(null))}}},Right:function(t,e){b.MoveHorizontal(t,e,(function(t){return t+1}))},Left:function(t,e){b.MoveHorizontal(t,e,(function(t){return t-1}))},UnsetTabIndex:function(){for(var t,e=b.AllNodes(),i=0;t=e[i];i++)t.tabIndex>0&&(t.oldTabIndex=t.tabIndex),t.tabIndex=-1},SetTabIndex:function(){for(var e,i=b.AllNodes(),a=0;e=i[a];a++)void 0!==e.oldTabIndex?(e.tabIndex=e.oldTabIndex,delete e.oldTabIndex):e.tabIndex=t.getTabOrder(e)},Mod:function(t,e){return(t%e+e)%e},IndexOf:Array.prototype.indexOf?function(t,e,i){return t.indexOf(e,i)}:function(t,e,i){for(var a=i||0,s=t.length;a<s;a++)if(e===t[a])return a;return-1},saveCookie:function(){e.Cookie.Set("menu",this.cookie)},getCookie:function(){this.cookie=e.Cookie.Get("menu")}});MathJax.Menu.NAV=g;var x=b.ITEM=g.Subclass({name:"",node:null,menu:null,Attributes:function(e){return t.Insert({onmouseup:b.Mouseup,ondragstart:r,onselectstart:r,onselectend:r,ontouchstart:b.Touchstart,ontouchend:b.Touchend,className:"MathJax_MenuItem",role:this.role,menuItem:this},e)},Create:function(t){if(!this.hidden){var i=this.Attributes(),a=this.Label(i,t);e.addElement(t,"div",i,a)}},Name:function(){return d(this.name[0],this.name[1])},Mouseover:function(t,e){e.parentNode===b.ActiveNode().parentNode&&this.Deactivate(b.ActiveNode()),this.Activate(t,e)},Mouseout:function(t,e){this.Deactivate(e)},Mouseup:function(t,e){return this.Remove(t,e)},DeactivateSubmenus:function(t){for(var e=document.getElementById("MathJax_MenuFrame").childNodes,i=x.GetMenuNode(t).childNodes,a=0,s=i.length;a<s;a++){var n=i[a].menuItem;n&&n.submenu&&n.submenu.posted&&n!==t.menuItem&&n.Deactivate(i[a])}this.RemoveSubmenus(t,e)},RemoveSubmenus:function(t,e){for(var i=(e=e||document.getElementById("MathJax_MenuFrame").childNodes).length-1;i>=0&&x.GetMenuNode(t).menuItem!==e[i].menuItem;)e[i].menuItem.posted=!1,e[i].parentNode.removeChild(e[i]),i--},Touchstart:function(t,e){return this.TouchEvent(t,e,"Mousedown")},Touchend:function(t,e){return this.TouchEvent(t,e,"Mouseup")},TouchEvent:function(t,e,i){return this!==x.lastItem&&(x.lastMenu&&b.Event(t,x.lastMenu,"Mouseout"),b.Event(t,e,"Mouseover",!0),x.lastItem=this,x.lastMenu=e),this.nativeTouch?null:(b.Event(t,e,i),!1)},Remove:function(t,e){return(e=e.parentNode.menuItem).Remove(t,e)},With:function(e){return e&&t.Insert(this,e),this},isRTL:function(){return b.isRTL},rtlClass:function(){return this.isRTL()?" RTL":""}},{GetMenuNode:function(t){return t.parentNode}});b.ENTRY=b.ITEM.Subclass({role:"menuitem",Attributes:function(e){return e=t.Insert({onmouseover:b.Mouseover,onmouseout:b.Mouseout,onmousedown:b.Mousedown,onkeydown:b.Keydown,"aria-disabled":!!this.disabled},e),e=this.SUPER(arguments).Attributes.call(this,e),this.disabled&&(e.className+=" MathJax_MenuDisabled"),e},MoveVertical:function(t,e,i){for(var a,s=x.GetMenuNode(e),n=[],o=0,r=s.menuItem.items;a=r[o];o++)a.hidden||n.push(a);var l=b.IndexOf(n,this);if(-1!==l){var h=n.length,d=s.childNodes;do{l=b.Mod(i(l),h)}while(n[l].hidden||!d[l].role||"separator"===d[l].role);this.Deactivate(e),n[l].Activate(t,d[l])}},Up:function(t,e){this.MoveVertical(t,e,(function(t){return t-1}))},Down:function(t,e){this.MoveVertical(t,e,(function(t){return t+1}))},Right:function(t,e){this.MoveHorizontal(t,e,b.Right,!this.isRTL())},Left:function(t,e){this.MoveHorizontal(t,e,b.Left,this.isRTL())},MoveHorizontal:function(t,e,i,a){var s=x.GetMenuNode(e);if(s.menuItem===b.menu&&t.shiftKey&&i(t,e),!a){s.menuItem!==b.menu&&this.Deactivate(e);for(var n=s.previousSibling.childNodes,o=n.length;o--;){var r=n[o];if(r.menuItem.submenu&&r.menuItem.submenu===s.menuItem){b.Focus(r);break}}this.RemoveSubmenus(e)}},Space:function(t,e){this.Mouseup(t,e)},Activate:function(t,e){this.Deactivate(e),this.disabled||(e.className+=" MathJax_MenuActive"),this.DeactivateSubmenus(e),b.Focus(e)},Deactivate:function(t){t.className=t.className.replace(/ MathJax_MenuActive/,"")}}),b.ITEM.COMMAND=b.ENTRY.Subclass({action:function(){},Init:function(t,e,i){u(t)||(t=[t,t]),this.name=t,this.action=e,this.With(i)},Label:function(t,e){return[this.Name()]},Mouseup:function(t,e){return this.disabled||(this.Remove(t,e),o.Post(["command",this]),this.action.call(this,t)),r(t)}}),b.ITEM.SUBMENU=b.ENTRY.Subclass({submenu:null,marker:"►",markerRTL:"◄",Attributes:function(e){return e=t.Insert({"aria-haspopup":"true"},e),this.SUPER(arguments).Attributes.call(this,e)},Init:function(t,e){u(t)||(t=[t,t]),this.name=t;var i=1;e instanceof b.ITEM||(this.With(e),i++),this.submenu=b.apply(b,[].slice.call(arguments,i))},Label:function(t,e){return this.submenu.posted=!1,[this.Name()+" ",["span",{className:"MathJax_MenuArrow"+this.rtlClass()},[this.isRTL()?this.markerRTL:this.marker]]]},Timer:function(t,e){this.ClearTimer(),t={type:t.type,clientX:t.clientX,clientY:t.clientY},this.timer=setTimeout(a(["Mouseup",this,t,e]),f.delay)},ClearTimer:function(){this.timer&&clearTimeout(this.timer)},Touchend:function(t,e){var i=this.submenu.posted,a=this.SUPER(arguments).Touchend.apply(this,arguments);return i&&(this.Deactivate(e),delete x.lastItem,delete x.lastMenu),a},Mouseout:function(t,e){this.submenu.posted||this.Deactivate(e),this.ClearTimer()},Mouseover:function(t,e){this.Activate(t,e)},Mouseup:function(t,e){return this.disabled||(this.submenu.posted?this.DeactivateSubmenus(e):(this.ClearTimer(),this.submenu.Post(t,e,this.ltr),b.Focus(e))),r(t)},Activate:function(t,e){this.disabled||(this.Deactivate(e),e.className+=" MathJax_MenuActive"),this.submenu.posted||(this.DeactivateSubmenus(e),b.isMobile||this.Timer(t,e)),b.Focus(e)},MoveVertical:function(t,e,i){this.ClearTimer(),this.SUPER(arguments).MoveVertical.apply(this,arguments)},MoveHorizontal:function(t,e,i,a){if(a){if(!this.disabled)if(this.submenu.posted){var s=x.GetMenuNode(e).nextSibling.childNodes;s.length>0&&this.submenu.items[0].Activate(t,s[0])}else this.Activate(t,e)}else this.SUPER(arguments).MoveHorizontal.apply(this,arguments)}}),b.ITEM.RADIO=b.ENTRY.Subclass({variable:null,marker:c?"●":"✓",role:"menuitemradio",Attributes:function(e){var i=f.settings[this.variable]===this.value?"true":"false";return e=t.Insert({"aria-checked":i},e),this.SUPER(arguments).Attributes.call(this,e)},Init:function(t,e,i){u(t)||(t=[t,t]),this.name=t,this.variable=e,this.With(i),null==this.value&&(this.value=this.name[0])},Label:function(t,e){var i={className:"MathJax_MenuRadioCheck"+this.rtlClass()};return f.settings[this.variable]!==this.value&&(i={style:{display:"none"}}),[["span",i,[this.marker]]," "+this.Name()]},Mouseup:function(t,e){if(!this.disabled){for(var i=e.parentNode.childNodes,a=0,s=i.length;a<s;a++){var n=i[a].menuItem;n&&n.variable===this.variable&&(i[a].firstChild.style.display="none")}e.firstChild.display="",f.settings[this.variable]=this.value,b.cookie[this.variable]=f.settings[this.variable],b.saveCookie(),o.Post(["radio button",this])}return this.Remove(t,e),this.action&&!this.disabled&&this.action.call(b,this),r(t)}}),b.ITEM.CHECKBOX=b.ENTRY.Subclass({variable:null,marker:"✓",role:"menuitemcheckbox",Attributes:function(e){var i=f.settings[this.variable]?"true":"false";return e=t.Insert({"aria-checked":i},e),this.SUPER(arguments).Attributes.call(this,e)},Init:function(t,e,i){u(t)||(t=[t,t]),this.name=t,this.variable=e,this.With(i)},Label:function(t,e){var i={className:"MathJax_MenuCheck"+this.rtlClass()};return f.settings[this.variable]||(i={style:{display:"none"}}),[["span",i,[this.marker]]," "+this.Name()]},Mouseup:function(t,e){return this.disabled||(e.firstChild.display=f.settings[this.variable]?"none":"",f.settings[this.variable]=!f.settings[this.variable],b.cookie[this.variable]=f.settings[this.variable],b.saveCookie(),o.Post(["checkbox",this])),this.Remove(t,e),this.action&&!this.disabled&&this.action.call(b,this),r(t)}}),b.ITEM.LABEL=b.ENTRY.Subclass({role:"menuitem",Init:function(t,e){u(t)||(t=[t,t]),this.name=t,this.With(e)},Label:function(t,e){return t.className+=" MathJax_MenuLabel",[this.Name()]},Activate:function(t,e){this.Deactivate(e),b.Focus(e)},Mouseup:function(t,e){}}),b.ITEM.RULE=b.ITEM.Subclass({role:"separator",Attributes:function(e){return e=t.Insert({"aria-orientation":"vertical"},e),this.SUPER(arguments).Attributes.call(this,e)},Label:function(t,e){return t.className+=" MathJax_MenuRule",null}}),b.About=function(i){var a=b.About.GetFont(),s=b.About.GetFormat(),n=["MathJax.js v"+MathJax.fileversion,["br"]];n.push(["div",{style:{"border-top":"groove 2px",margin:".25em 0"}}]),b.About.GetJax(n,MathJax.InputJax,["InputJax","%1 Input Jax v%2"]),b.About.GetJax(n,MathJax.OutputJax,["OutputJax","%1 Output Jax v%2"]),b.About.GetJax(n,MathJax.ElementJax,["ElementJax","%1 Element Jax v%2"]),n.push(["div",{style:{"border-top":"groove 2px",margin:".25em 0"}}]),b.About.GetJax(n,MathJax.Extension,["Extension","%1 Extension v%2"],!0),n.push(["div",{style:{"border-top":"groove 2px",margin:".25em 0"}}],["center",{},[t.Browser+" v"+t.Browser.version+(s?" — "+d(s.replace(/ /g,""),s):"")]]),b.About.div=b.Background(b.About);var o=e.addElement(b.About.div,"div",{id:"MathJax_About",tabIndex:0,onkeydown:b.About.Keydown},[["b",{style:{fontSize:"120%"}},["MathJax"]]," v"+MathJax.version,["br"],d(a.replace(/ /g,""),"using "+a),["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"},tabIndex:0},n],["br"],["br"],["a",{href:"http://www.mathjax.org/"},["www.mathjax.org"]],["span",{className:"MathJax_MenuClose",id:"MathJax_AboutClose",onclick:b.About.Remove,onkeydown:b.About.Keydown,tabIndex:0,role:"button","aria-label":d("CloseAboutDialog","Close about MathJax dialog")},[["span",{},"×"]]]]);"mouseup"===i.type&&(o.className+=" MathJax_MousePost"),o.focus(),MathJax.Localization.setCSS(o);var r=document.documentElement||{},l=window.innerHeight||r.clientHeight||r.scrollHeight||0;b.prototype.msieAboutBug?(o.style.width="20em",o.style.position="absolute",o.style.left=Math.floor((document.documentElement.scrollWidth-o.offsetWidth)/2)+"px",o.style.top=Math.floor((l-o.offsetHeight)/3)+document.body.scrollTop+"px"):(o.style.marginLeft=Math.floor(-o.offsetWidth/2)+"px",o.style.top=Math.floor((l-o.offsetHeight)/3)+"px")},b.About.Remove=function(t){b.About.div&&(document.body.removeChild(b.About.div),delete b.About.div)},b.About.Keydown=function(t){t.keyCode!==h.ESCAPE&&("MathJax_AboutClose"!==this.id||t.keyCode!==h.SPACE&&t.keyCode!==h.RETURN)||(b.About.Remove(t),b.CurrentNode().focus(),r(t))},b.About.GetJax=function(t,e,i,a){var s=[];for(var n in e)e.hasOwnProperty(n)&&e[n]&&(a&&e[n].version||e[n].isa&&e[n].isa(e))&&s.push(d(i[0],i[1],e[n].id||n,e[n].version));s.sort();for(var o=0,r=s.length;o<r;o++)t.push(s[o],["br"]);return t},b.About.GetFont=function(){var t=MathJax.Hub.outputJax["jax/mml"][0]||{};return({SVG:"web SVG",CommonHTML:"web TeX","HTML-CSS":t.imgFonts?"image":(t.webFonts?"web":"local")+" "+t.fontInUse}[t.id]||"generic")+" fonts"},b.About.GetFormat=function(){var t=MathJax.Hub.outputJax["jax/mml"][0]||{};if("HTML-CSS"===t.id&&t.webFonts&&!t.imgFonts)return t.allowWebFonts.replace(/otf/,"woff or otf")+" fonts"},b.Help=function(t){i.Require("[MathJax]/extensions/HelpDialog.js",(function(){MathJax.Extension.Help.Dialog({type:t.type})}))},b.ShowSource=function(t){t||(t=window.event);var e={screenX:t.screenX,screenY:t.screenY};if(b.jax)if("MathML"===this.format){var s=MathJax.ElementJax.mml;if(s&&void 0!==s.mbase.prototype.toMathML)try{b.ShowSource.Text(b.jax.root.toMathML("",b.jax),t)}catch(t){if(!t.restart)throw t;a.After([this,b.ShowSource,e],t.restart)}else if(!i.loadingToMathML)return i.loadingToMathML=!0,b.ShowSource.Window(t),void a.Queue(i.Require("[MathJax]/extensions/toMathML.js"),(function(){delete i.loadingToMathML,s.mbase.prototype.toMathML||(s.mbase.prototype.toMathML=function(){})}),[this,b.ShowSource,e])}else if("Error"===this.format)b.ShowSource.Text(b.jax.errorText,t);else if(f.semanticsAnnotations[this.format]){var n=b.jax.root.getAnnotation(this.format);n.data[0]&&b.ShowSource.Text(n.data[0].toString())}else{if(null==b.jax.originalText)return void alert(d("NoOriginalForm","No original form available"));b.ShowSource.Text(b.jax.originalText,t)}},b.ShowSource.Window=function(t){if(!b.ShowSource.w){var e=[],i=f.windowSettings;for(var a in i)i.hasOwnProperty(a)&&e.push(a+"="+i[a]);b.ShowSource.w=window.open("","_blank",e.join(","))}return b.ShowSource.w},b.ShowSource.Text=function(t,e){var i=b.ShowSource.Window(e);delete b.ShowSource.w,t=(t=t.replace(/^\s*/,"").replace(/\s*$/,"")).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">");var a=d("EqSource","MathJax Equation Source");if(b.isMobile)i.document.open(),i.document.write("<html><head><meta name='viewport' content='width=device-width, initial-scale=1.0' /><title>"+a+"</title></head><body style='font-size:85%'>"),i.document.write("<pre>"+t+"</pre>"),i.document.write("<hr><input type='button' value='"+d("Close","Close")+"' onclick='window.close()' />"),i.document.write("</body></html>"),i.document.close();else{i.document.open(),i.document.write("<html><head><title>"+a+"</title></head><body style='font-size:85%'>"),i.document.write("<table><tr><td><pre>"+t+"</pre></td></tr></table>"),i.document.write("</body></html>"),i.document.close();var s=i.document.body.firstChild;setTimeout((function(){var t,a,n,o=i.outerHeight-i.innerHeight||30,r=i.outerWidth-i.innerWidth||30;r=Math.max(140,Math.min(Math.floor(.5*screen.width),s.offsetWidth+r+25)),o=Math.max(40,Math.min(Math.floor(.5*screen.height),s.offsetHeight+o+25)),b.prototype.msieHeightBug&&(o+=35),i.resizeTo(r,o);try{n=e.screenX}catch(t){}e&&null!=n&&(t=Math.max(0,Math.min(e.screenX-Math.floor(r/2),screen.width-r-20)),a=Math.max(0,Math.min(e.screenY-Math.floor(o/2),screen.height-o-20)),i.moveTo(t,a))}),50)}},b.Scale=function(){var e,i,a=["CommonHTML","HTML-CSS","SVG","NativeMML","PreviewHTML"],n=a.length,o=100;for(e=0;e<n;e++)if(i=s[a[e]]){o=i.config.scale;break}var r=prompt(d("ScaleMath","Scale all mathematics (compared to surrounding text) by"),o+"%");if(r)if(r.match(/^\s*\d+(\.\d*)?\s*%?\s*$/))if(r=parseFloat(r)){if(r!==o){for(e=0;e<n;e++)(i=s[a[e]])&&(i.config.scale=r);b.cookie.scale=t.config.scale=r,b.saveCookie(),t.Queue(["Rerender",t])}}else alert(d("NonZeroScale","The scale should not be zero"));else alert(d("PercentScale","The scale should be a percentage (e.g., 120%%)"))},b.Zoom=function(){MathJax.Extension.MathZoom||i.Require("[MathJax]/extensions/MathZoom.js")},b.Renderer=function(){var i=t.outputJax["jax/mml"];if(i[0]!==f.settings.renderer){var a,s,n=t.Browser,o=b.Renderer.Messages;switch(f.settings.renderer){case"NativeMML":f.settings.warnedMML||(n.isChrome&&"24."!==n.version.substr(0,3)||n.isSafari&&!n.versionAtLeast("5.0")?a=o.MML.WebKit:n.isMSIE?n.hasMathPlayer||(a=o.MML.MSIE):a=n.isEdge?o.MML.WebKit:o.MML[n],s="warnedMML");break;case"SVG":f.settings.warnedSVG||n.isMSIE&&!p&&(a=o.SVG.MSIE)}if(a){if(a=d(a[0],a[1]),a+="\n\n",a+=d("SwitchAnyway","Switch the renderer anyway?\n\n(Press OK to switch, CANCEL to continue with the current renderer)"),b.cookie.renderer=i[0].id,b.saveCookie(),!confirm(a))return b.cookie.renderer=f.settings.renderer=e.Cookie.Get("menu").renderer,void b.saveCookie();s&&(b.cookie.warned=f.settings.warned=!0),b.cookie.renderer=f.settings.renderer,b.saveCookie()}t.Queue(["setRenderer",t,f.settings.renderer,"jax/mml"],["Rerender",t])}},b.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."]}},b.AssistiveMML=function(t,e){var a=MathJax.Extension.AssistiveMML;a?MathJax.Hub.Queue([(f.settings.assistiveMML?"Add":"Remove")+"AssistiveMathML",a]):e||i.Require("[MathJax]/extensions/AssistiveMML.js",["AssistiveMML",b,t,!0])},b.Font=function(){s["HTML-CSS"]&&document.location.reload()},b.Locale=function(){MathJax.Localization.setLocale(f.settings.locale),MathJax.Hub.Queue(["Reprocess",MathJax.Hub])},b.LoadLocale=function(){var t=prompt(d("LoadURL","Load translation data from this URL:"));t&&(t.match(/\.js$/)||alert(d("BadURL","The URL should be for a javascript file that defines MathJax translation data. Javascript file names should end with '.js'")),i.Require(t,(function(e){e!=i.STATUS.OK&&alert(d("BadData","Failed to load translation data from %1",t))})))},b.MPEvents=function(t){var e=f.settings.discoverable,i=b.MPEvents.Messages;if(p)!e&&"Menu Events"===t.name[1]&&f.settings.mpContext&&alert(d.apply(d,i.IE9warning));else{if(f.settings.mpMouse&&!confirm(d.apply(d,i.IE8warning)))return delete b.cookie.mpContext,delete f.settings.mpContext,delete b.cookie.mpMouse,delete f.settings.mpMouse,void b.saveCookie();f.settings.mpContext=f.settings.mpMouse,b.cookie.mpContext=b.cookie.mpMouse=f.settings.mpMouse,b.saveCookie(),MathJax.Hub.Queue(["Rerender",MathJax.Hub])}},b.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."]},t.Browser.Select({MSIE:function(t){var e="BackCompat"===document.compatMode,i=t.versionAtLeast("8.0")&&document.documentMode>7;b.Augment({margin:20,msieBackgroundBug:(document.documentMode||0)<9,msieFixedPositionBug:e||!i,msieAboutBug:e,msieHeightBug:(document.documentMode||0)<9}),p&&(delete f.styles["#MathJax_About"].filter,delete f.styles[".MathJax_Menu"].filter)},Firefox:function(t){b.skipMouseover=t.isMobile&&t.versionAtLeast("6.0"),b.skipMousedown=t.isMobile}}),b.isMobile=t.Browser.isMobile,b.noContextMenu=t.Browser.noContextMenu,b.CreateLocaleMenu=function(){if(b.menu){var t=b.menu.Find("Language").submenu,e=t.items,i=[],a=MathJax.Localization.strings;for(var s in a)a.hasOwnProperty(s)&&i.push(s);i=i.sort(),t.items=[];for(var n=0,o=i.length;n<o;n++){var r=a[i[n]].menuTitle;r?r+=" ("+i[n]+")":r=i[n],t.items.push(x.RADIO([i[n],r],"locale",{action:b.Locale}))}t.items.push(e[e.length-2],e[e.length-1])}},b.CreateAnnotationMenu=function(){if(b.menu){var t=b.menu.Find("Show Math As","Annotation").submenu,e=f.semanticsAnnotations;for(var i in e)e.hasOwnProperty(i)&&t.items.push(x.COMMAND([i,i],b.ShowSource,{hidden:!0,nativeTouch:!0,format:i}))}},t.Register.StartupHook("End Config",(function(){var e,i;f.settings=t.config.menuSettings,void 0!==f.settings.showRenderer&&(f.showRenderer=f.settings.showRenderer),void 0!==f.settings.showFontMenu&&(f.showFontMenu=f.settings.showFontMenu),void 0!==f.settings.showContext&&(f.showContext=f.settings.showContext),b.getCookie(),b.menu=b(x.SUBMENU(["Show","Show Math As"],x.COMMAND(["MathMLcode","MathML Code"],b.ShowSource,{nativeTouch:!0,format:"MathML"}),x.COMMAND(["Original","Original Form"],b.ShowSource,{nativeTouch:!0}),x.SUBMENU(["Annotation","Annotation"],{disabled:!0}),x.RULE(),x.CHECKBOX(["texHints","Show TeX hints in MathML"],"texHints"),x.CHECKBOX(["semantics","Add original form as annotation"],"semantics")),x.RULE(),x.SUBMENU(["Settings","Math Settings"],x.SUBMENU(["ZoomTrigger","Zoom Trigger"],x.RADIO(["Hover","Hover"],"zoom",{action:b.Zoom}),x.RADIO(["Click","Click"],"zoom",{action:b.Zoom}),x.RADIO(["DoubleClick","Double-Click"],"zoom",{action:b.Zoom}),x.RADIO(["NoZoom","No Zoom"],"zoom",{value:"None"}),x.RULE(),x.LABEL(["TriggerRequires","Trigger Requires:"]),x.CHECKBOX(t.Browser.isMac?["Option","Option"]:["Alt","Alt"],"ALT"),x.CHECKBOX(["Command","Command"],"CMD",{hidden:!t.Browser.isMac}),x.CHECKBOX(["Control","Control"],"CTRL",{hidden:t.Browser.isMac}),x.CHECKBOX(["Shift","Shift"],"Shift")),x.SUBMENU(["ZoomFactor","Zoom Factor"],x.RADIO("125%","zscale"),x.RADIO("133%","zscale"),x.RADIO("150%","zscale"),x.RADIO("175%","zscale"),x.RADIO("200%","zscale"),x.RADIO("250%","zscale"),x.RADIO("300%","zscale"),x.RADIO("400%","zscale")),x.RULE(),x.SUBMENU(["Renderer","Math Renderer"],{hidden:!f.showRenderer},x.RADIO(["HTML-CSS","HTML-CSS"],"renderer",{action:b.Renderer}),x.RADIO(["CommonHTML","Common HTML"],"renderer",{action:b.Renderer,value:"CommonHTML"}),x.RADIO(["PreviewHTML","Preview HTML"],"renderer",{action:b.Renderer,value:"PreviewHTML"}),x.RADIO(["MathML","MathML"],"renderer",{action:b.Renderer,value:"NativeMML"}),x.RADIO(["SVG","SVG"],"renderer",{action:b.Renderer}),x.RADIO(["PlainSource","Plain Source"],"renderer",{action:b.Renderer,value:"PlainSource"}),x.RULE(),x.CHECKBOX(["FastPreview","Fast Preview"],"FastPreview")),x.SUBMENU("MathPlayer",{hidden:!t.Browser.isMSIE||!f.showMathPlayer,disabled:!t.Browser.hasMathPlayer},x.LABEL(["MPHandles","Let MathPlayer Handle:"]),x.CHECKBOX(["MenuEvents","Menu Events"],"mpContext",{action:b.MPEvents,hidden:!p}),x.CHECKBOX(["MouseEvents","Mouse Events"],"mpMouse",{action:b.MPEvents,hidden:!p}),x.CHECKBOX(["MenuAndMouse","Mouse and Menu Events"],"mpMouse",{action:b.MPEvents,hidden:p})),x.SUBMENU(["FontPrefs","Font Preference"],{hidden:!f.showFontMenu},x.LABEL(["ForHTMLCSS","For HTML-CSS:"]),x.RADIO(["Auto","Auto"],"font",{action:b.Font}),x.RULE(),x.RADIO(["TeXLocal","TeX (local)"],"font",{action:b.Font}),x.RADIO(["TeXWeb","TeX (web)"],"font",{action:b.Font}),x.RADIO(["TeXImage","TeX (image)"],"font",{action:b.Font}),x.RULE(),x.RADIO(["STIXLocal","STIX (local)"],"font",{action:b.Font}),x.RADIO(["STIXWeb","STIX (web)"],"font",{action:b.Font}),x.RULE(),x.RADIO(["AsanaMathWeb","Asana Math (web)"],"font",{action:b.Font}),x.RADIO(["GyrePagellaWeb","Gyre Pagella (web)"],"font",{action:b.Font}),x.RADIO(["GyreTermesWeb","Gyre Termes (web)"],"font",{action:b.Font}),x.RADIO(["LatinModernWeb","Latin Modern (web)"],"font",{action:b.Font}),x.RADIO(["NeoEulerWeb","Neo Euler (web)"],"font",{action:b.Font})),x.SUBMENU(["ContextMenu","Contextual Menu"],{hidden:!f.showContext},x.RADIO(["MathJax","MathJax"],"context"),x.RADIO(["Browser","Browser"],"context")),x.COMMAND(["Scale","Scale All Math ..."],b.Scale),x.RULE().With({hidden:!f.showDiscoverable,name:["","discover_rule"]}),x.CHECKBOX(["Discoverable","Highlight on Hover"],"discoverable",{hidden:!f.showDiscoverable})),x.SUBMENU(["Accessibility","Accessibility"],x.CHECKBOX(["AssistiveMML","Assistive MathML"],"assistiveMML",{action:b.AssistiveMML}),x.CHECKBOX(["InTabOrder","Include in Tab Order"],"inTabOrder")),x.SUBMENU(["Locale","Language"],{hidden:!f.showLocale,ltr:!0},x.RADIO("en","locale",{action:b.Locale}),x.RULE().With({hidden:!f.showLocaleURL,name:["","localURL_rule"]}),x.COMMAND(["LoadLocale","Load from URL ..."],b.LoadLocale,{hidden:!f.showLocaleURL})),x.RULE(),x.COMMAND(["About","About MathJax"],b.About),x.COMMAND(["Help","MathJax Help"],b.Help)),b.isMobile&&(e=f.settings,(i=b.menu.Find("Math Settings","Zoom Trigger").submenu).items[0].disabled=i.items[1].disabled=!0,"Hover"!==e.zoom&&"Click"!=e.zoom||(e.zoom="None"),i.items=i.items.slice(0,4),navigator.appVersion.match(/[ (]Android[) ]/)&&b.ITEM.SUBMENU.Augment({marker:"»"})),b.CreateLocaleMenu(),b.CreateAnnotationMenu()})),b.showRenderer=function(t){b.cookie.showRenderer=f.showRenderer=t,b.saveCookie(),b.menu.Find("Math Settings","Math Renderer").hidden=!t},b.showMathPlayer=function(t){b.cookie.showMathPlayer=f.showMathPlayer=t,b.saveCookie(),b.menu.Find("Math Settings","MathPlayer").hidden=!t},b.showFontMenu=function(t){b.cookie.showFontMenu=f.showFontMenu=t,b.saveCookie(),b.menu.Find("Math Settings","Font Preference").hidden=!t},b.showContext=function(t){b.cookie.showContext=f.showContext=t,b.saveCookie(),b.menu.Find("Math Settings","Contextual Menu").hidden=!t},b.showDiscoverable=function(t){b.cookie.showDiscoverable=f.showDiscoverable=t,b.saveCookie(),b.menu.Find("Math Settings","Highlight on Hover").hidden=!t,b.menu.Find("Math Settings","discover_rule").hidden=!t},b.showLocale=function(t){b.cookie.showLocale=f.showLocale=t,b.saveCookie(),b.menu.Find("Language").hidden=!t},MathJax.Hub.Register.StartupHook("HTML-CSS Jax Ready",(function(){MathJax.OutputJax["HTML-CSS"].config.imageFont||(b.menu.Find("Math Settings","Font Preference","TeX (image)").disabled=!0)})),a.Queue(t.Register.StartupHook("End Config",{}),["Styles",i,f.styles],["Post",t.Startup.signal,"MathMenu Ready"],["loadComplete",i,"[MathJax]/extensions/MathMenu.js"])}(MathJax.Hub,MathJax.HTML,MathJax.Ajax,MathJax.CallBack,MathJax.OutputJax),MathJax.ElementJax.mml=MathJax.ElementJax({mimeType:"jax/mml"},{id:"mml",version:"2.7.9",directory:MathJax.ElementJax.directory+"/mml",extensionDir:MathJax.ElementJax.extensionDir+"/mml",optableDir:MathJax.ElementJax.directory+"/mml/optable"}),MathJax.ElementJax.mml.Augment({Init:function(){if(1===arguments.length&&"math"===arguments[0].type?this.root=arguments[0]:this.root=MathJax.ElementJax.mml.math.apply(this,arguments),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 t=0,e=this.root.attrNames.length;t<e;t++)if("mode"===this.root.attrNames[t]){this.root.attrNames.splice(t,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:"initial",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",UPDIAGONALARROW:"updiagonalarrow",VERTICALSTRIKE:"verticalstrike",HORIZONTALSTRIKE:"horizontalstrike",PHASORANGLE:"phasorangle",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"],skipAttributes:{texClass:!0,useHeight:!0,texprimestyle:!0},copyAttributes:{displaystyle:1,scriptlevel:1,open:1,close:1,form:1,actiontype:1,fontfamily:!0,fontsize:!0,fontweight:!0,fontstyle:!0,color:!0,background:!0,id:!0,class:1,href:!0,style:!0},copyAttributeNames:["displaystyle","scriptlevel","open","close","form","actiontype","fontfamily","fontsize","fontweight","fontstyle","color","background","id","class","href","style"],nocopyAttributes:{fontfamily:!0,fontsize:!0,fontweight:!0,fontstyle:!0,color:!0,background:!0,id:!0,class:!0,href:!0,style:!0,xmlns:!0},Error:function(t,e){var i=this.merror(t),a=MathJax.Localization.fontDirection(),s=MathJax.Localization.fontFamily();return e&&(i=i.With(e)),(a||s)&&(i=this.mstyle(i),a&&(i.dir=a),s&&(i.style.fontFamily="font-family: "+s)),i}}),function(t){t.mbase=MathJax.Object.Subclass({type:"base",isToken:!1,defaults:{mathbackground:t.INHERIT,mathcolor:t.INHERIT,dir:t.INHERIT},noInherit:{},noInheritAttribute:{texClass:!0},getRemoved:{},linebreakContainer:!1,Init:function(){this.data=[],!this.inferRow||1===arguments.length&&arguments[0].inferred||this.Append(t.mrow().With({inferred:!0,notParent:!0})),this.Append.apply(this,arguments)},With:function(t){for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e]);return this},Append:function(){if(this.inferRow&&this.data.length)this.data[0].Append.apply(this.data[0],arguments);else for(var t=0,e=arguments.length;t<e;t++)this.SetData(this.data.length,arguments[t])},SetData:function(e,i){null!=i&&(i instanceof t.mbase||(i=this.isToken||this.isChars?t.chars(i):t.mtext(i)),i.parent=this,i.setInherit(this.inheritFromMe?this:this.inherit)),this.data[e]=i},Parent:function(){for(var t=this.parent;t&&t.notParent;)t=t.parent;return t},Get:function(e,i,a){if(!a){if(null!=this[e])return this[e];if(this.attr&&null!=this.attr[e])return this.attr[e]}var s=this.Parent();if(s&&null!=s["adjustChild_"+e])return s["adjustChild_"+e](this.childPosition(),i);for(var n=this.inherit,o=n;n;){var r=n[e];if(null==r&&n.attr&&(r=n.attr[e]),n.removedStyles&&n.getRemoved[e]&&null==r&&(r=n.removedStyles[n.getRemoved[e]]),null!=r&&n.noInheritAttribute&&!n.noInheritAttribute[e]){var l=n.noInherit[this.type];if(!l||!l[e])return r}o=n,n=n.inherit}if(!i){if(this.defaults[e]===t.AUTO)return this.autoDefault(e);if(this.defaults[e]!==t.INHERIT&&null!=this.defaults[e])return this.defaults[e];if(o)return o.defaults[e]}return null},hasValue:function(t){return null!=this.Get(t,!0)},getValues:function(){for(var t={},e=0,i=arguments.length;e<i;e++)t[arguments[e]]=this.Get(arguments[e]);return t},adjustChild_scriptlevel:function(t,e){return this.Get("scriptlevel",e)},adjustChild_displaystyle:function(t,e){return this.Get("displaystyle",e)},adjustChild_texprimestyle:function(t,e){return this.Get("texprimestyle",e)},hasMMLspacing:function(){return!1},childPosition:function(){for(var t=this,e=t.parent;e.notParent;)e=(t=e).parent;for(var i=0,a=e.data.length;i<a;i++)if(e.data[i]===t)return i;return null},setInherit:function(t){if(t!==this.inherit&&null==this.inherit){this.inherit=t;for(var e=0,i=this.data.length;e<i;e++)this.data[e]&&this.data[e].setInherit&&this.data[e].setInherit(t)}},setTeXclass:function(t){return this.getPrevClass(t),void 0!==this.texClass?this:t},getPrevClass:function(t){t&&(this.prevClass=t.Get("texClass"),this.prevLevel=t.Get("scriptlevel"))},updateTeXclass:function(t){t&&(this.prevClass=t.prevClass,delete t.prevClass,this.prevLevel=t.prevLevel,delete t.prevLevel,this.texClass=t.Get("texClass"))},texSpacing:function(){var e=null!=this.prevClass?this.prevClass:t.TEXCLASS.NONE,i=this.Get("texClass")||t.TEXCLASS.ORD;if(e===t.TEXCLASS.NONE||i===t.TEXCLASS.NONE)return"";e===t.TEXCLASS.VCENTER&&(e=t.TEXCLASS.ORD),i===t.TEXCLASS.VCENTER&&(i=t.TEXCLASS.ORD);var a=this.TEXSPACE[e][i];return(this.prevLevel>0||this.Get("scriptlevel")>0)&&a>=0?"":this.TEXSPACELENGTH[Math.abs(a)]},TEXSPACELENGTH:["",t.LENGTH.THINMATHSPACE,t.LENGTH.MEDIUMMATHSPACE,t.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(t){return""},isSpacelike:function(){return!1},isEmbellished:function(){return!1},Core:function(){return this},CoreMO:function(){return this},childIndex:function(t){if(null!=t)for(var e=0,i=this.data.length;e<i;e++)if(t===this.data[e])return e},CoreIndex:function(){return(this.inferRow&&this.data[0]||this).childIndex(this.Core())},hasNewline:function(){if(this.isEmbellished())return this.CoreMO().hasNewline();if(this.isToken||this.linebreakContainer)return!1;for(var t=0,e=this.data.length;t<e;t++)if(this.data[t]&&this.data[t].hasNewline())return!0;return!1},array:function(){return this.inferred?this.data:[this]},toString:function(){return this.type+"("+this.data.join(",")+")"},getAnnotation:function(){return null}},{childrenSpacelike:function(){for(var t=0,e=this.data.length;t<e;t++)if(!this.data[t].isSpacelike())return!1;return!0},childEmbellished:function(){return this.data[0]&&this.data[0].isEmbellished()},childCore:function(){return this.inferRow&&this.data[0]?this.data[0].Core():this.data[0]},childCoreMO:function(){return this.data[0]?this.data[0].CoreMO():null},setChildTeXclass:function(t){return this.data[0]&&(t=this.data[0].setTeXclass(t),this.updateTeXclass(this.data[0])),t},setBaseTeXclasses:function(e){this.getPrevClass(e),this.texClass=null,this.data[0]?this.isEmbellished()||this.data[0].isa(t.mi)?(e=this.data[0].setTeXclass(e),this.updateTeXclass(this.Core())):(this.data[0].setTeXclass(),e=this):e=this;for(var i=1,a=this.data.length;i<a;i++)this.data[i]&&this.data[i].setTeXclass();return e},setSeparateTeXclasses:function(t){this.getPrevClass(t);for(var e=0,i=this.data.length;e<i;e++)this.data[e]&&this.data[e].setTeXclass();return this.isEmbellished()&&this.updateTeXclass(this.Core()),this}}),t.mi=t.mbase.Subclass({type:"mi",isToken:!0,texClass:t.TEXCLASS.ORD,defaults:{mathvariant:t.AUTO,mathsize:t.INHERIT,mathbackground:t.INHERIT,mathcolor:t.INHERIT,dir:t.INHERIT},autoDefault:function(e){if("mathvariant"===e){var i=(this.data[0]||"").toString();return 1===i.length||2===i.length&&i.charCodeAt(0)>=55296&&i.charCodeAt(0)<56320?t.VARIANT.ITALIC:t.VARIANT.NORMAL}return""},setTeXclass:function(e){this.getPrevClass(e);var i=this.data.join("");return i.length>1&&i.match(/^[a-z][a-z0-9]*$/i)&&this.texClass===t.TEXCLASS.ORD&&(this.texClass=t.TEXCLASS.OP,this.autoOP=!0),this}}),t.mn=t.mbase.Subclass({type:"mn",isToken:!0,texClass:t.TEXCLASS.ORD,defaults:{mathvariant:t.INHERIT,mathsize:t.INHERIT,mathbackground:t.INHERIT,mathcolor:t.INHERIT,dir:t.INHERIT}}),t.mo=t.mbase.Subclass({type:"mo",isToken:!0,defaults:{mathvariant:t.INHERIT,mathsize:t.INHERIT,mathbackground:t.INHERIT,mathcolor:t.INHERIT,dir:t.INHERIT,form:t.AUTO,fence:t.AUTO,separator:t.AUTO,lspace:t.AUTO,rspace:t.AUTO,stretchy:t.AUTO,symmetric:t.AUTO,maxsize:t.AUTO,minsize:t.AUTO,largeop:t.AUTO,movablelimits:t.AUTO,accent:t.AUTO,linebreak:t.LINEBREAK.AUTO,lineleading:t.INHERIT,linebreakstyle:t.AUTO,linebreakmultchar:t.INHERIT,indentalign:t.INHERIT,indentshift:t.INHERIT,indenttarget:t.INHERIT,indentalignfirst:t.INHERIT,indentshiftfirst:t.INHERIT,indentalignlast:t.INHERIT,indentshiftlast:t.INHERIT,texClass:t.AUTO},defaultDef:{form:t.FORM.INFIX,fence:!1,separator:!1,lspace:t.LENGTH.THICKMATHSPACE,rspace:t.LENGTH.THICKMATHSPACE,stretchy:!1,symmetric:!1,maxsize:t.SIZE.INFINITY,minsize:"0em",largeop:!1,movablelimits:!1,accent:!1,linebreak:t.LINEBREAK.AUTO,lineleading:"1ex",linebreakstyle:"before",indentalign:t.INDENTALIGN.AUTO,indentshift:"0",indenttarget:"",indentalignfirst:t.INDENTALIGN.INDENTALIGN,indentshiftfirst:t.INDENTSHIFT.INDENTSHIFT,indentalignlast:t.INDENTALIGN.INDENTALIGN,indentshiftlast:t.INDENTSHIFT.INDENTSHIFT,texClass:t.TEXCLASS.REL},SPACE_ATTR:{lspace:1,rspace:2},useMMLspacing:3,hasMMLspacing:function(){return!!this.useMMLspacing||this.form&&(this.OPTABLE[this.form]||{})[this.data.join("")]},autoDefault:function(e,i){var a=this.def;if(!a){if("form"===e)return this.getForm();for(var s=this.data.join(""),n=[this.Get("form"),t.FORM.INFIX,t.FORM.POSTFIX,t.FORM.PREFIX],o=0,r=n.length;o<r;o++){var l=this.OPTABLE[n[o]][s];if(l){a=this.makeDef(l);break}}a||(a=this.CheckRange(s)),!a&&i?a={}:(a||(a=MathJax.Hub.Insert({},this.defaultDef)),this.parent?this.def=a:a=MathJax.Hub.Insert({},a),a.form=n[0])}return this.useMMLspacing&=~(this.SPACE_ATTR[e]||0),null!=a[e]?a[e]:i?"":this.defaultDef[e]},CheckRange:function(e){var i=e.charCodeAt(0);i>=55296&&i<56320&&(i=(i-55296<<10)+(e.charCodeAt(1)-56320)+65536);for(var a=0,s=this.RANGES.length;a<s&&this.RANGES[a][0]<=i;a++)if(i<=this.RANGES[a][1]){if(this.RANGES[a][3]){var n=t.optableDir+"/"+this.RANGES[a][3]+".js";this.RANGES[a][3]=null,MathJax.Hub.RestartAfter(MathJax.Ajax.Require(n))}var o=t.TEXCLASSNAMES[this.RANGES[a][2]];return o=this.OPTABLE.infix[e]=t.mo.OPTYPES["BIN"===o?"BIN3":o],this.makeDef(o)}return null},makeDef:function(e){null==e[2]&&(e[2]=this.defaultDef.texClass),e[3]||(e[3]={});var i=MathJax.Hub.Insert({},e[3]);return i.lspace=this.SPACE[e[0]],i.rspace=this.SPACE[e[1]],i.texClass=e[2],i.texClass===t.TEXCLASS.REL&&(this.movablelimits||this.data.join("").match(/^[a-z]+$/i))&&(i.texClass=t.TEXCLASS.OP),i},getForm:function(){for(var e=this,i=this.parent,a=this.Parent();a&&a.isEmbellished();)e=i,i=a.parent,a=a.Parent();if(i&&"mrow"===i.type&&1!==i.NonSpaceLength()){if(i.FirstNonSpace()===e)return t.FORM.PREFIX;if(i.LastNonSpace()===e)return t.FORM.POSTFIX}return t.FORM.INFIX},isEmbellished:function(){return!0},hasNewline:function(){return this.Get("linebreak")===t.LINEBREAK.NEWLINE},CoreParent:function(){for(var e=this;e&&e.isEmbellished()&&e.CoreMO()===this&&!e.isa(t.math);)e=e.Parent();return e},CoreText:function(e){if(!e)return"";if(e.isEmbellished())return e.CoreMO().data.join("");for(;((e.isa(t.mrow)||e.isa(t.TeXAtom)||e.isa(t.mstyle)||e.isa(t.mphantom))&&1===e.data.length||e.isa(t.munderover))&&e.data[0];)e=e.data[0];return e.isToken?e.data.join(""):""},remapChars:{"*":"∗",'"':"″","°":"∘","²":"2","³":"3","´":"′","¹":"1"},remap:function(t,e){return t=t.replace(/-/g,"−"),e&&1===(t=t.replace(/'/g,"′").replace(/`/g,"‵")).length&&(t=e[t]||t),t},setTeXclass:function(e){var i=this.getValues("form","lspace","rspace","fence");return this.hasMMLspacing()?(this.texClass=t.TEXCLASS.NONE,this):(i.fence&&!this.texClass&&(i.form===t.FORM.PREFIX&&(this.texClass=t.TEXCLASS.OPEN),i.form===t.FORM.POSTFIX&&(this.texClass=t.TEXCLASS.CLOSE)),this.texClass=this.Get("texClass"),""===this.data.join("")?(e&&(e.texClass=t.TEXCLASS.OP,e.fnOP=!0),this.texClass=this.prevClass=t.TEXCLASS.NONE,e):this.adjustTeXclass(e))},adjustTeXclass:function(e){if(this.texClass===t.TEXCLASS.NONE)return e;if(e?(!e.autoOP||this.texClass!==t.TEXCLASS.BIN&&this.texClass!==t.TEXCLASS.REL||(e.texClass=t.TEXCLASS.ORD),this.prevClass=e.texClass||t.TEXCLASS.ORD,this.prevLevel=e.Get("scriptlevel")):this.prevClass=t.TEXCLASS.NONE,this.texClass!==t.TEXCLASS.BIN||this.prevClass!==t.TEXCLASS.NONE&&this.prevClass!==t.TEXCLASS.BIN&&this.prevClass!==t.TEXCLASS.OP&&this.prevClass!==t.TEXCLASS.REL&&this.prevClass!==t.TEXCLASS.OPEN&&this.prevClass!==t.TEXCLASS.PUNCT)if(this.prevClass!==t.TEXCLASS.BIN||this.texClass!==t.TEXCLASS.REL&&this.texClass!==t.TEXCLASS.CLOSE&&this.texClass!==t.TEXCLASS.PUNCT){if(this.texClass===t.TEXCLASS.BIN){for(var i=this,a=this.parent;a&&a.parent&&a.isEmbellished()&&(1===a.data.length||"mrow"!==a.type&&a.Core()===i);)i=a,a=a.parent;a.data[a.data.length-1]===i&&(this.texClass=t.TEXCLASS.ORD)}}else e.texClass=this.prevClass=t.TEXCLASS.ORD;else this.texClass=t.TEXCLASS.ORD;return this}}),t.mtext=t.mbase.Subclass({type:"mtext",isToken:!0,isSpacelike:function(){return!0},texClass:t.TEXCLASS.ORD,defaults:{mathvariant:t.INHERIT,mathsize:t.INHERIT,mathbackground:t.INHERIT,mathcolor:t.INHERIT,dir:t.INHERIT}}),t.mspace=t.mbase.Subclass({type:"mspace",isToken:!0,isSpacelike:function(){return!0},defaults:{mathbackground:t.INHERIT,mathcolor:t.INHERIT,width:"0em",height:"0ex",depth:"0ex",linebreak:t.LINEBREAK.AUTO},hasDimAttr:function(){return this.hasValue("width")||this.hasValue("height")||this.hasValue("depth")},hasNewline:function(){return!this.hasDimAttr()&&this.Get("linebreak")===t.LINEBREAK.NEWLINE}}),t.ms=t.mbase.Subclass({type:"ms",isToken:!0,texClass:t.TEXCLASS.ORD,defaults:{mathvariant:t.INHERIT,mathsize:t.INHERIT,mathbackground:t.INHERIT,mathcolor:t.INHERIT,dir:t.INHERIT,lquote:'"',rquote:'"'}}),t.mglyph=t.mbase.Subclass({type:"mglyph",isToken:!0,texClass:t.TEXCLASS.ORD,defaults:{mathbackground:t.INHERIT,mathcolor:t.INHERIT,alt:"",src:"",width:t.AUTO,height:t.AUTO,valign:"0em"}}),t.mrow=t.mbase.Subclass({type:"mrow",isSpacelike:t.mbase.childrenSpacelike,inferred:!1,notParent:!1,isEmbellished:function(){for(var t=!1,e=0,i=this.data.length;e<i;e++)if(null!=this.data[e])if(this.data[e].isEmbellished()){if(t)return!1;t=!0,this.core=e}else if(!this.data[e].isSpacelike())return!1;return t},NonSpaceLength:function(){for(var t=0,e=0,i=this.data.length;e<i;e++)this.data[e]&&!this.data[e].isSpacelike()&&t++;return t},FirstNonSpace:function(){for(var t=0,e=this.data.length;t<e;t++)if(this.data[t]&&!this.data[t].isSpacelike())return this.data[t];return null},LastNonSpace:function(){for(var t=this.data.length-1;t>=0;t--)if(this.data[0]&&!this.data[t].isSpacelike())return this.data[t];return null},Core:function(){return this.isEmbellished()&&void 0!==this.core?this.data[this.core]:this},CoreMO:function(){return this.isEmbellished()&&void 0!==this.core?this.data[this.core].CoreMO():this},toString:function(){return this.inferred?"["+this.data.join(",")+"]":this.SUPER(arguments).toString.call(this)},setTeXclass:function(e){var i,a=this.data.length;if(!this.open&&!this.close||e&&e.fnOP){for(i=0;i<a;i++)this.data[i]&&(e=this.data[i].setTeXclass(e));return this.data[0]&&this.updateTeXclass(this.data[0]),e}for(this.getPrevClass(e),e=null,i=0;i<a;i++)this.data[i]&&(e=this.data[i].setTeXclass(e));return this.hasOwnProperty("texClass")||(this.texClass=t.TEXCLASS.INNER),this},getAnnotation:function(t){return 1!=this.data.length?null:this.data[0].getAnnotation(t)}}),t.mfrac=t.mbase.Subclass({type:"mfrac",num:0,den:1,linebreakContainer:!0,isEmbellished:t.mbase.childEmbellished,Core:t.mbase.childCore,CoreMO:t.mbase.childCoreMO,defaults:{mathbackground:t.INHERIT,mathcolor:t.INHERIT,linethickness:t.LINETHICKNESS.MEDIUM,numalign:t.ALIGN.CENTER,denomalign:t.ALIGN.CENTER,bevelled:!1},adjustChild_displaystyle:function(t){return!1},adjustChild_scriptlevel:function(t){var e=this.Get("scriptlevel");return(!this.Get("displaystyle")||e>0)&&e++,e},adjustChild_texprimestyle:function(t){return t==this.den||this.Get("texprimestyle")},setTeXclass:t.mbase.setSeparateTeXclasses}),t.msqrt=t.mbase.Subclass({type:"msqrt",inferRow:!0,linebreakContainer:!0,texClass:t.TEXCLASS.ORD,setTeXclass:t.mbase.setSeparateTeXclasses,adjustChild_texprimestyle:function(t){return!0}}),t.mroot=t.mbase.Subclass({type:"mroot",linebreakContainer:!0,texClass:t.TEXCLASS.ORD,adjustChild_displaystyle:function(t){return 1!==t&&this.Get("displaystyle")},adjustChild_scriptlevel:function(t){var e=this.Get("scriptlevel");return 1===t&&(e+=2),e},adjustChild_texprimestyle:function(t){return 0===t||this.Get("texprimestyle")},setTeXclass:t.mbase.setSeparateTeXclasses}),t.mstyle=t.mbase.Subclass({type:"mstyle",isSpacelike:t.mbase.childrenSpacelike,isEmbellished:t.mbase.childEmbellished,Core:t.mbase.childCore,CoreMO:t.mbase.childCoreMO,inferRow:!0,defaults:{scriptlevel:t.INHERIT,displaystyle:t.INHERIT,scriptsizemultiplier:Math.sqrt(.5),scriptminsize:"8pt",mathbackground:t.INHERIT,mathcolor:t.INHERIT,dir:t.INHERIT,infixlinebreakstyle:t.LINEBREAKSTYLE.BEFORE,decimalseparator:"."},adjustChild_scriptlevel:function(t){var e=this.scriptlevel;return null==e?e=this.Get("scriptlevel"):String(e).match(/^ *[-+]/)&&(e=this.Get("scriptlevel",null,!0)+parseInt(e)),e},inheritFromMe:!0,noInherit:{mpadded:{width:!0,height:!0,depth:!0,lspace:!0,voffset:!0},mtable:{width:!0,height:!0,depth:!0,align:!0}},getRemoved:{fontfamily:"fontFamily",fontweight:"fontWeight",fontstyle:"fontStyle",fontsize:"fontSize"},setTeXclass:t.mbase.setChildTeXclass}),t.merror=t.mbase.Subclass({type:"merror",inferRow:!0,linebreakContainer:!0,texClass:t.TEXCLASS.ORD}),t.mpadded=t.mbase.Subclass({type:"mpadded",inferRow:!0,isSpacelike:t.mbase.childrenSpacelike,isEmbellished:t.mbase.childEmbellished,Core:t.mbase.childCore,CoreMO:t.mbase.childCoreMO,defaults:{mathbackground:t.INHERIT,mathcolor:t.INHERIT,width:"",height:"",depth:"",lspace:0,voffset:0},setTeXclass:t.mbase.setChildTeXclass}),t.mphantom=t.mbase.Subclass({type:"mphantom",texClass:t.TEXCLASS.ORD,inferRow:!0,isSpacelike:t.mbase.childrenSpacelike,isEmbellished:t.mbase.childEmbellished,Core:t.mbase.childCore,CoreMO:t.mbase.childCoreMO,setTeXclass:t.mbase.setChildTeXclass}),t.mfenced=t.mbase.Subclass({type:"mfenced",defaults:{mathbackground:t.INHERIT,mathcolor:t.INHERIT,open:"(",close:")",separators:","},addFakeNodes:function(){var e=this.getValues("open","close","separators");if(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",t.mo(e.open).With({fence:!0,form:t.FORM.PREFIX,texClass:t.TEXCLASS.OPEN})),""!==e.separators){for(;e.separators.length<this.data.length;)e.separators+=e.separators.charAt(e.separators.length-1);for(var i=1,a=this.data.length;i<a;i++)this.data[i]&&this.SetData("sep"+i,t.mo(e.separators.charAt(i-1)).With({separator:!0}))}""!==e.close&&this.SetData("close",t.mo(e.close).With({fence:!0,form:t.FORM.POSTFIX,texClass:t.TEXCLASS.CLOSE}))},texClass:t.TEXCLASS.OPEN,setTeXclass:function(e){this.addFakeNodes(),this.getPrevClass(e),this.data.open&&(e=this.data.open.setTeXclass(e)),this.data[0]&&(e=this.data[0].setTeXclass(e));for(var i=1,a=this.data.length;i<a;i++)this.data["sep"+i]&&(e=this.data["sep"+i].setTeXclass(e)),this.data[i]&&(e=this.data[i].setTeXclass(e));return this.data.close&&(e=this.data.close.setTeXclass(e)),this.updateTeXclass(this.data.open),this.texClass=t.TEXCLASS.INNER,e}}),t.menclose=t.mbase.Subclass({type:"menclose",inferRow:!0,linebreakContainer:!0,defaults:{mathbackground:t.INHERIT,mathcolor:t.INHERIT,notation:t.NOTATION.LONGDIV,texClass:t.TEXCLASS.ORD},setTeXclass:t.mbase.setSeparateTeXclasses}),t.msubsup=t.mbase.Subclass({type:"msubsup",base:0,sub:1,sup:2,isEmbellished:t.mbase.childEmbellished,Core:t.mbase.childCore,CoreMO:t.mbase.childCoreMO,defaults:{mathbackground:t.INHERIT,mathcolor:t.INHERIT,subscriptshift:"",superscriptshift:"",texClass:t.AUTO},autoDefault:function(e){return"texClass"===e?this.isEmbellished()?this.CoreMO().Get(e):t.TEXCLASS.ORD:0},adjustChild_displaystyle:function(t){return!(t>0)&&this.Get("displaystyle")},adjustChild_scriptlevel:function(t){var e=this.Get("scriptlevel");return t>0&&e++,e},adjustChild_texprimestyle:function(t){return t===this.sub||this.Get("texprimestyle")},setTeXclass:t.mbase.setBaseTeXclasses}),t.msub=t.msubsup.Subclass({type:"msub"}),t.msup=t.msubsup.Subclass({type:"msup",sub:2,sup:1}),t.mmultiscripts=t.msubsup.Subclass({type:"mmultiscripts",adjustChild_texprimestyle:function(t){return t%2==1||this.Get("texprimestyle")}}),t.mprescripts=t.mbase.Subclass({type:"mprescripts"}),t.none=t.mbase.Subclass({type:"none"}),t.munderover=t.mbase.Subclass({type:"munderover",base:0,under:1,over:2,sub:1,sup:2,ACCENTS:["","accentunder","accent"],linebreakContainer:!0,isEmbellished:t.mbase.childEmbellished,Core:t.mbase.childCore,CoreMO:t.mbase.childCoreMO,defaults:{mathbackground:t.INHERIT,mathcolor:t.INHERIT,accent:t.AUTO,accentunder:t.AUTO,align:t.ALIGN.CENTER,texClass:t.AUTO,subscriptshift:"",superscriptshift:""},autoDefault:function(e){return"texClass"===e?this.isEmbellished()?this.CoreMO().Get(e):t.TEXCLASS.ORD:"accent"===e&&this.data[this.over]?this.data[this.over].CoreMO().Get("accent"):!("accentunder"!==e||!this.data[this.under])&&this.data[this.under].CoreMO().Get("accent")},adjustChild_displaystyle:function(t){return!(t>0)&&this.Get("displaystyle")},adjustChild_scriptlevel:function(t){var e=this.Get("scriptlevel"),i=this.data[this.base]&&!this.Get("displaystyle")&&this.data[this.base].CoreMO().Get("movablelimits");return t!=this.under||!i&&this.Get("accentunder")||e++,t!=this.over||!i&&this.Get("accent")||e++,e},adjustChild_texprimestyle:function(t){return!(t!==this.base||!this.data[this.over])||this.Get("texprimestyle")},setTeXclass:t.mbase.setBaseTeXclasses}),t.munder=t.munderover.Subclass({type:"munder"}),t.mover=t.munderover.Subclass({type:"mover",over:1,under:2,sup:1,sub:2,ACCENTS:["","accent","accentunder"]}),t.mtable=t.mbase.Subclass({type:"mtable",defaults:{mathbackground:t.INHERIT,mathcolor:t.INHERIT,align:t.ALIGN.AXIS,rowalign:t.ALIGN.BASELINE,columnalign:t.ALIGN.CENTER,groupalign:"{left}",alignmentscope:!0,columnwidth:t.WIDTH.AUTO,width:t.WIDTH.AUTO,rowspacing:"1ex",columnspacing:".8em",rowlines:t.LINES.NONE,columnlines:t.LINES.NONE,frame:t.LINES.NONE,framespacing:"0.4em 0.5ex",equalrows:!1,equalcolumns:!1,displaystyle:!1,side:t.SIDE.RIGHT,minlabelspacing:"0.8em",texClass:t.TEXCLASS.ORD,useHeight:1},adjustChild_displaystyle:function(){return null!=this.displaystyle?this.displaystyle:this.defaults.displaystyle},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,displaystyle:!0,side:!0,minlabelspacing:!0,texClass:!0,useHeight:1}},linebreakContainer:!0,Append:function(){for(var e=0,i=arguments.length;e<i;e++)arguments[e]instanceof t.mtr||arguments[e]instanceof t.mlabeledtr||(arguments[e]=t.mtr(arguments[e]));this.SUPER(arguments).Append.apply(this,arguments)},setTeXclass:t.mbase.setSeparateTeXclasses}),t.mtr=t.mbase.Subclass({type:"mtr",defaults:{mathbackground:t.INHERIT,mathcolor:t.INHERIT,rowalign:t.INHERIT,columnalign:t.INHERIT,groupalign:t.INHERIT},inheritFromMe:!0,noInherit:{mrow:{rowalign:!0,columnalign:!0,groupalign:!0},mtable:{rowalign:!0,columnalign:!0,groupalign:!0}},linebreakContainer:!0,Append:function(){for(var e=0,i=arguments.length;e<i;e++)arguments[e]instanceof t.mtd||(arguments[e]=t.mtd(arguments[e]));this.SUPER(arguments).Append.apply(this,arguments)},setTeXclass:t.mbase.setSeparateTeXclasses}),t.mtd=t.mbase.Subclass({type:"mtd",inferRow:!0,linebreakContainer:!0,isEmbellished:t.mbase.childEmbellished,Core:t.mbase.childCore,CoreMO:t.mbase.childCoreMO,defaults:{mathbackground:t.INHERIT,mathcolor:t.INHERIT,rowspan:1,columnspan:1,rowalign:t.INHERIT,columnalign:t.INHERIT,groupalign:t.INHERIT},setTeXclass:t.mbase.setSeparateTeXclasses}),t.maligngroup=t.mbase.Subclass({type:"maligngroup",isSpacelike:function(){return!0},defaults:{mathbackground:t.INHERIT,mathcolor:t.INHERIT,groupalign:t.INHERIT},inheritFromMe:!0,noInherit:{mrow:{groupalign:!0},mtable:{groupalign:!0}}}),t.malignmark=t.mbase.Subclass({type:"malignmark",defaults:{mathbackground:t.INHERIT,mathcolor:t.INHERIT,edge:t.SIDE.LEFT},isSpacelike:function(){return!0}}),t.mlabeledtr=t.mtr.Subclass({type:"mlabeledtr"}),t.maction=t.mbase.Subclass({type:"maction",defaults:{mathbackground:t.INHERIT,mathcolor:t.INHERIT,actiontype:t.ACTIONTYPE.TOGGLE,selection:1},selected:function(){return this.data[this.Get("selection")-1]||t.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(e){this.Get("actiontype")===t.ACTIONTYPE.TOOLTIP&&this.data[1]&&this.data[1].setTeXclass();var i=this.selected();return e=i.setTeXclass(e),this.updateTeXclass(i),e}}),t.semantics=t.mbase.Subclass({type:"semantics",notParent:!0,isEmbellished:t.mbase.childEmbellished,Core:t.mbase.childCore,CoreMO:t.mbase.childCoreMO,defaults:{definitionURL:null,encoding:null},setTeXclass:t.mbase.setChildTeXclass,getAnnotation:function(t){var e=MathJax.Hub.config.MathMenu.semanticsAnnotations[t];if(e)for(var i=0,a=this.data.length;i<a;i++){var s=this.data[i].Get("encoding");if(s)for(var n=0,o=e.length;n<o;n++)if(e[n]===s)return this.data[i]}return null}}),t.annotation=t.mbase.Subclass({type:"annotation",isChars:!0,linebreakContainer:!0,defaults:{definitionURL:null,encoding:null,cd:"mathmlkeys",name:"",src:null}}),t["annotation-xml"]=t.mbase.Subclass({type:"annotation-xml",linebreakContainer:!0,defaults:{definitionURL:null,encoding:null,cd:"mathmlkeys",name:"",src:null}}),t.math=t.mstyle.Subclass({type:"math",defaults:{mathvariant:t.VARIANT.NORMAL,mathsize:t.SIZE.NORMAL,mathcolor:"",mathbackground:t.COLOR.TRANSPARENT,dir:"ltr",scriptlevel:0,displaystyle:t.AUTO,display:"inline",maxwidth:"",overflow:t.OVERFLOW.LINEBREAK,altimg:"","altimg-width":"","altimg-height":"","altimg-valign":"",alttext:"",cdgroup:"",scriptsizemultiplier:Math.sqrt(.5),scriptminsize:"8px",infixlinebreakstyle:t.LINEBREAKSTYLE.BEFORE,lineleading:"1ex",indentshift:"auto",indentalign:t.INDENTALIGN.AUTO,indentalignfirst:t.INDENTALIGN.INDENTALIGN,indentshiftfirst:t.INDENTSHIFT.INDENTSHIFT,indentalignlast:t.INDENTALIGN.INDENTALIGN,indentshiftlast:t.INDENTSHIFT.INDENTSHIFT,decimalseparator:".",texprimestyle:!1},autoDefault:function(t){return"displaystyle"===t?"block"===this.Get("display"):""},linebreakContainer:!0,setTeXclass:t.mbase.setChildTeXclass,getAnnotation:function(t){return 1!=this.data.length?null:this.data[0].getAnnotation(t)}}),t.chars=t.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("")}}),t.entity=t.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 t=this.value();return t<=65535?String.fromCharCode(t):(t-=65536,String.fromCharCode(55296+(t>>10))+String.fromCharCode(56320+(1023&t)))}}),t.xml=t.mbase.Subclass({type:"xml",Init:function(){return this.div=document.createElement("div"),this.SUPER(arguments).Init.apply(this,arguments)},Append:function(){for(var t=0,e=arguments.length;t<e;t++){var i=this.Import(arguments[t]);this.data.push(i),this.div.appendChild(i)}},Import:function(t){if(document.importNode)return document.importNode(t,!0);var e,i,a;if(1===t.nodeType){for(e=document.createElement(t.nodeName),i=0,a=t.attributes.length;i<a;i++){var s=t.attributes[i];s.specified&&null!=s.nodeValue&&""!=s.nodeValue&&e.setAttribute(s.nodeName,s.nodeValue),"style"===s.nodeName&&(e.style.cssText=s.nodeValue)}t.className&&(e.className=t.className)}else if(3===t.nodeType||4===t.nodeType)e=document.createTextNode(t.nodeValue);else{if(8!==t.nodeType)return document.createTextNode("");e=document.createComment(t.nodeValue)}for(i=0,a=t.childNodes.length;i<a;i++)e.appendChild(this.Import(t.childNodes[i]));return e},value:function(){return this.div},toString:function(){return this.div.innerHTML}}),t.TeXAtom=t.mbase.Subclass({type:"texatom",linebreakContainer:!0,inferRow:!0,notParent:!0,texClass:t.TEXCLASS.ORD,Core:t.mbase.childCore,CoreMO:t.mbase.childCoreMO,isEmbellished:t.mbase.childEmbellished,setTeXclass:function(t){return this.data[0].setTeXclass(),this.adjustTeXclass(t)},adjustTeXclass:t.mo.prototype.adjustTeXclass}),t.NULL=t.mbase().With({type:"null"});var e=t.TEXCLASS,i={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}]};t.mo.Augment({SPACE:["0em","0.1111em","0.1667em","0.2222em","0.2667em","0.3333em"],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:{"∀":i.ORD21,"∂":i.ORD21,"∃":i.ORD21,"∇":i.ORD21,"∏":i.OP,"∐":i.OP,"∑":i.OP,"−":i.BIN01,"∓":i.BIN01,"√":[1,1,e.ORD,{stretchy:!0}],"∠":i.ORD,"∫":i.INTEGRAL,"∮":i.INTEGRAL,"⋀":i.OP,"⋁":i.OP,"⋂":i.OP,"⋃":i.OP,"⌈":i.OPEN,"⌊":i.OPEN,"⟨":i.OPEN,"⟮":i.OPEN,"⨀":i.OP,"⨁":i.OP,"⨂":i.OP,"⨄":i.OP,"⨆":i.OP,"¬":i.ORD21,"±":i.BIN01,"(":i.OPEN,"+":i.BIN01,"-":i.BIN01,"[":i.OPEN,"{":i.OPEN,"|":i.OPEN},postfix:{"!":[1,0,e.CLOSE],"&":i.ORD,"′":i.ORD02,"‾":i.WIDEACCENT,"⌉":i.CLOSE,"⌋":i.CLOSE,"⏞":i.WIDEACCENT,"⏟":i.WIDEACCENT,"♭":i.ORD02,"♮":i.ORD02,"♯":i.ORD02,"⟩":i.CLOSE,"⟯":i.CLOSE,ˆ:i.WIDEACCENT,ˇ:i.WIDEACCENT,ˉ:i.WIDEACCENT,ˊ:i.ACCENT,ˋ:i.ACCENT,"˘":i.ACCENT,"˙":i.ACCENT,"˜":i.WIDEACCENT,"̂":i.WIDEACCENT,"¨":i.ACCENT,"¯":i.WIDEACCENT,")":i.CLOSE,"]":i.CLOSE,"^":i.WIDEACCENT,_:i.WIDEACCENT,"`":i.ACCENT,"|":i.CLOSE,"}":i.CLOSE,"~":i.WIDEACCENT},infix:{"":i.ORD,"%":[3,3,e.ORD],"•":i.BIN4,"…":i.INNER,"⁄":i.TALLBIN,"":i.ORD,"":i.ORD,"":[0,0,e.ORD,{linebreakstyle:"after",separator:!0}],"":i.ORD,"←":i.WIDEREL,"↑":i.RELSTRETCH,"→":i.WIDEREL,"↓":i.RELSTRETCH,"↔":i.WIDEREL,"↕":i.RELSTRETCH,"↖":i.RELSTRETCH,"↗":i.RELSTRETCH,"↘":i.RELSTRETCH,"↙":i.RELSTRETCH,"↦":i.WIDEREL,"↩":i.WIDEREL,"↪":i.WIDEREL,"↼":i.WIDEREL,"↽":i.WIDEREL,"⇀":i.WIDEREL,"⇁":i.WIDEREL,"⇌":i.WIDEREL,"⇐":i.WIDEREL,"⇑":i.RELSTRETCH,"⇒":i.WIDEREL,"⇓":i.RELSTRETCH,"⇔":i.WIDEREL,"⇕":i.RELSTRETCH,"∈":i.REL,"∉":i.REL,"∋":i.REL,"−":i.BIN4,"∓":i.BIN4,"∕":i.TALLBIN,"∖":i.BIN4,"∗":i.BIN4,"∘":i.BIN4,"∙":i.BIN4,"∝":i.REL,"∣":i.REL,"∥":i.REL,"∧":i.BIN4,"∨":i.BIN4,"∩":i.BIN4,"∪":i.BIN4,"∼":i.REL,"≀":i.BIN4,"≃":i.REL,"≅":i.REL,"≈":i.REL,"≍":i.REL,"≐":i.REL,"≠":i.REL,"≡":i.REL,"≤":i.REL,"≥":i.REL,"≪":i.REL,"≫":i.REL,"≺":i.REL,"≻":i.REL,"⊂":i.REL,"⊃":i.REL,"⊆":i.REL,"⊇":i.REL,"⊎":i.BIN4,"⊑":i.REL,"⊒":i.REL,"⊓":i.BIN4,"⊔":i.BIN4,"⊕":i.BIN4,"⊖":i.BIN4,"⊗":i.BIN4,"⊘":i.BIN4,"⊙":i.BIN4,"⊢":i.REL,"⊣":i.REL,"⊤":i.ORD55,"⊥":i.REL,"⊨":i.REL,"⋄":i.BIN4,"⋅":i.BIN4,"⋆":i.BIN4,"⋈":i.REL,"⋮":i.ORD55,"⋯":i.INNER,"⋱":[5,5,e.INNER],"△":i.BIN4,"▵":i.BIN4,"▹":i.BIN4,"▽":i.BIN4,"▿":i.BIN4,"◃":i.BIN4,"❘":i.REL,"⟵":i.WIDEREL,"⟶":i.WIDEREL,"⟷":i.WIDEREL,"⟸":i.WIDEREL,"⟹":i.WIDEREL,"⟺":i.WIDEREL,"⟼":i.WIDEREL,"⨯":i.BIN4,"⨿":i.BIN4,"⪯":i.REL,"⪰":i.REL,"±":i.BIN4,"·":i.BIN4,"×":i.BIN4,"÷":i.BIN4,"*":i.BIN3,"+":i.BIN4,",":[0,3,e.PUNCT,{linebreakstyle:"after",separator:!0}],"-":i.BIN4,".":[3,3,e.ORD],"/":i.ORD11,":":[1,2,e.REL],";":[0,3,e.PUNCT,{linebreakstyle:"after",separator:!0}],"<":i.REL,"=":i.REL,">":i.REL,"?":[1,1,e.CLOSE],"\\":i.ORD,"^":i.ORD11,_:i.ORD11,"|":[2,2,e.ORD,{fence:!0,stretchy:!0,symmetric:!0}],"#":i.ORD,$:i.ORD,".":[0,3,e.PUNCT,{separator:!0}],ʹ:i.ORD,"̀":i.ACCENT,"́":i.ACCENT,"̃":i.WIDEACCENT,"̄":i.ACCENT,"̆":i.ACCENT,"̇":i.ACCENT,"̈":i.ACCENT,"̌":i.ACCENT,"̲":i.WIDEACCENT,"̸":i.REL4,"―":[0,0,e.ORD,{stretchy:!0}],"‗":[0,0,e.ORD,{stretchy:!0}],"†":i.BIN3,"‡":i.BIN3,"⃗":i.ACCENT,ℑ:i.ORD,ℓ:i.ORD,℘:i.ORD,ℜ:i.ORD,"∅":i.ORD,"∞":i.ORD,"⌅":i.BIN3,"⌆":i.BIN3,"⌢":i.REL4,"⌣":i.REL4,"〈":i.OPEN,"〉":i.CLOSE,"⎪":i.ORD,"⎯":[0,0,e.ORD,{stretchy:!0}],"⎰":i.OPEN,"⎱":i.CLOSE,"─":i.ORD,"◯":i.BIN3,"♠":i.ORD,"♡":i.ORD,"♢":i.ORD,"♣":i.ORD,"〈":i.OPEN,"〉":i.CLOSE,"︷":i.WIDEACCENT,"︸":i.WIDEACCENT}}},{OPTYPES:i});var a=t.mo.prototype.OPTABLE;a.infix["^"]=i.WIDEREL,a.infix._=i.WIDEREL,a.prefix["∣"]=i.OPEN,a.prefix["∥"]=i.OPEN,a.postfix["∣"]=i.CLOSE,a.postfix["∥"]=i.CLOSE}(MathJax.ElementJax.mml),MathJax.ElementJax.mml.loadComplete("jax.js"),MathJax.Hub.Register.LoadHook("[MathJax]/jax/element/mml/jax.js",(function(){var t=MathJax.ElementJax.mml,e=MathJax.Hub.config.menuSettings;t.mbase.Augment({toMathML:function(t){var e=this.inferred&&this.parent.inferRow;null==t&&(t="");var i=this.type,a=this.toMathMLattributes();if("mspace"===i)return t+"<"+i+a+" />";for(var s=[],n=this.isToken?"":t+(e?"":" "),o=0,r=this.data.length;o<r;o++)this.data[o]?s.push(this.data[o].toMathML(n)):this.isToken||this.isChars||s.push(n+"<mrow />");return this.isToken||this.isChars?t+"<"+i+a+">"+s.join("")+"</"+i+">":e?s.join("\n"):0===s.length||1===s.length&&""===s[0]?t+"<"+i+a+" />":t+"<"+i+a+">\n"+s.join("\n")+"\n"+t+"</"+i+">"},toMathMLattributes:function(){var e="mstyle"===this.type?t.math.prototype.defaults:this.defaults,i=this.attrNames||t.copyAttributeNames,a=t.skipAttributes,s=t.copyAttributes,n=[];if("math"!==this.type||this.attr&&"xmlns"in this.attr||n.push('xmlns="http://www.w3.org/1998/Math/MathML"'),!this.attrNames)for(var o in e)a[o]||s[o]||!e.hasOwnProperty(o)||null!=this[o]&&this[o]!==e[o]&&this.Get(o,null,1)!==this[o]&&n.push(o+'="'+this.toMathMLattribute(this[o])+'"');for(var r=0,l=i.length;r<l;r++)(1!==s[i[r]]||e.hasOwnProperty(i[r]))&&(value=(this.attr||{})[i[r]],null==value&&(value=this[i[r]]),null!=value&&n.push(i[r]+'="'+this.toMathMLquote(value)+'"'));return this.toMathMLclass(n),n.length?" "+n.join(" "):""},toMathMLclass:function(i){var a=[];if(this.class&&a.push(this.class),this.isa(t.TeXAtom)&&e.texHints){var s=["ORD","OP","BIN","REL","OPEN","CLOSE","PUNCT","INNER","VCENTER"][this.texClass];s&&(a.push("MJX-TeXAtom-"+s),"OP"!==s||this.movablelimits||a.push("MJX-fixedlimits"))}this.mathvariant&&this.toMathMLvariants[this.mathvariant]&&a.push("MJX"+this.mathvariant),this.variantForm&&a.push("MJX-variant"),a.length&&i.unshift('class="'+this.toMathMLquote(a.join(" "))+'"')},toMathMLattribute:function(t){return"string"==typeof t&&t.replace(/ /g,"").match(/^(([-+])?(\d+(\.\d*)?|\.\d+))mu$/)?(RegExp.$2||"")+(1/18*RegExp.$3).toFixed(3).replace(/\.?0+$/,"")+"em":this.toMathMLvariants[t]?this.toMathMLvariants[t]:this.toMathMLquote(t)},toMathMLvariants:{"-tex-caligraphic":t.VARIANT.SCRIPT,"-tex-caligraphic-bold":t.VARIANT.BOLDSCRIPT,"-tex-oldstyle":t.VARIANT.NORMAL,"-tex-oldstyle-bold":t.VARIANT.BOLD,"-tex-mathit":t.VARIANT.ITALIC},toMathMLquote:function(t){for(var e=0,i=(t=String(t).split("")).length;e<i;e++){var a=t[e].charCodeAt(0);if(a<=55295||57344<=a)if(a>126||a<32&&10!==a&&13!==a&&9!==a)t[e]="&#x"+a.toString(16).toUpperCase()+";";else{var s={"&":"&","<":"<",">":">",'"':"""}[t[e]];s&&(t[e]=s)}else if(e+1<i){var n=t[e+1].charCodeAt(0)-56320+(a-55296<<10)+65536;t[e]="&#x"+n.toString(16).toUpperCase()+";",t[e+1]="",e++}else t[e]=""}return t.join("")}}),t.math.Augment({toMathML:function(t,i){var a;null==t&&(t=""),i&&i.originalText&&e.semantics&&(a=MathJax.InputJax[i.inputJax].annotationEncoding);for(var s=this.data[0]&&this.data[0].data.length>1,n=this.type,o=this.toMathMLattributes(),r=[],l=t+(a?" "+(s?" ":""):"")+" ",h=0,d=this.data.length;h<d;h++)this.data[h]?r.push(this.data[h].toMathML(l)):r.push(l+"<mrow />");if(0===r.length||1===r.length&&""===r[0]){if(!a)return"<"+n+o+" />";r.push(l+"<mrow />")}if(a){s&&(r.unshift(t+" <mrow>"),r.push(t+" </mrow>")),r.unshift(t+" <semantics>");var u=i.originalText.replace(/[&<>]/g,(function(t){return{">":">","<":"<","&":"&"}[t]}));r.push(t+' <annotation encoding="'+this.toMathMLquote(a)+'">'+u+"</annotation>"),r.push(t+" </semantics>")}return t+"<"+n+o+">\n"+r.join("\n")+"\n"+t+"</"+n+">"}}),t.msubsup.Augment({toMathML:function(t){var e=this.type;null==this.data[this.sup]&&(e="msub"),null==this.data[this.sub]&&(e="msup");var i=this.toMathMLattributes();delete this.data[0].inferred;for(var a=[],s=0,n=this.data.length;s<n;s++)this.data[s]&&a.push(this.data[s].toMathML(t+" "));return t+"<"+e+i+">\n"+a.join("\n")+"\n"+t+"</"+e+">"}}),t.munderover.Augment({toMathML:function(e){var i=this.type,a=this.data[this.base];a&&a.isa(t.TeXAtom)&&a.movablelimits&&!a.Get("displaystyle")?(type="msubsup",null==this.data[this.under]&&(i="msup"),null==this.data[this.over]&&(i="msub")):(null==this.data[this.under]&&(i="mover"),null==this.data[this.over]&&(i="munder"));var s=this.toMathMLattributes();delete this.data[0].inferred;for(var n=[],o=0,r=this.data.length;o<r;o++)this.data[o]&&n.push(this.data[o].toMathML(e+" "));return e+"<"+i+s+">\n"+n.join("\n")+"\n"+e+"</"+i+">"}}),t.TeXAtom.Augment({toMathML:function(t){var e=this.toMathMLattributes();return e||1!==this.data[0].data.length?t+"<mrow"+e+">\n"+this.data[0].toMathML(t+" ")+"\n"+t+"</mrow>":t.substr(2)+this.data[0].toMathML(t)}}),t.chars.Augment({toMathML:function(t){return(t||"")+this.toMathMLquote(this.toString())}}),t.entity.Augment({toMathML:function(t){return(t||"")+"&"+this.toMathMLquote(this.data[0])+";\x3c!-- "+this.toString()+" --\x3e"}}),t.xml.Augment({toMathML:function(t){return(t||"")+this.toString()}}),MathJax.Hub.Register.StartupHook("TeX mathchoice Ready",(function(){t.TeXmathchoice.Augment({toMathML:function(t){return this.Core().toMathML(t)}})})),MathJax.Hub.Startup.signal.Post("toMathML Ready")})),MathJax.Ajax.loadComplete("[MathJax]/extensions/toMathML.js"),function(t,e){var i,a=function(t){return MathJax.Localization._.apply(MathJax.Localization,[["MathML",t]].concat([].slice.call(arguments,1)))};t.Parse=MathJax.Object.Subclass({Init:function(t,e){this.Parse(t,e)},Parse:function(e,i){var a;"string"!=typeof e?a=e.parentNode:null==(a=t.ParseXML(this.preProcessMath.call(this,e)))&&t.Error(["ErrorParsingMathML","Error parsing MathML"]);var s=a.getElementsByTagName("parsererror")[0];if(s&&t.Error(["ParsingError","Error parsing MathML: %1",s.textContent.replace(/This page.*?errors:|XML Parsing Error: |Below is a rendering of the page.*/g,"")]),1!==a.childNodes.length&&t.Error(["MathMLSingleElement","MathML must be formed by a single element"]),"html"===a.firstChild.nodeName.toLowerCase()){var n=a.getElementsByTagName("h1")[0];n&&"XML parsing error"===n.textContent&&n.nextSibling&&t.Error(["ParsingError","Error parsing MathML: %1",String(n.nextSibling.nodeValue).replace(/fatal parsing error: /,"")])}"math"!==a.firstChild.nodeName.toLowerCase().replace(/^[a-z]+:/,"")&&t.Error(["MathMLRootElement","MathML must be formed by a <math> element, not %1","<"+a.firstChild.nodeName+">"]);var o={math:a.firstChild,script:i};t.DOMfilterHooks.Execute(o),this.mml=this.MakeMML(o.math)},MakeMML:function(e){var s,n=String(e.getAttribute("class")||""),o=e.nodeName.toLowerCase().replace(/^[a-z]+:/,""),r=n.match(/(^| )MJX-TeXAtom-([^ ]*)/);if(r)s=this.TeXAtom(r[2],"OP"===r[2]&&!n.match(/MJX-fixedlimits/));else{if(!(i[o]&&i[o].isa&&i[o].isa(i.mbase)))return MathJax.Hub.signal.Post(["MathML Jax - unknown node type",o]),i.Error(a("UnknownNodeType","Unknown node type: %1",o));s=i[o]()}return this.AddAttributes(s,e),this.CheckClass(s,s.class),this.AddChildren(s,e),t.config.useMathMLspacing&&(s.useMMLspacing=8),s},TeXAtom:function(t,e){var a=i.TeXAtom().With({texClass:i.TEXCLASS[t]});return e&&(a.movesupsub=a.movablelimits=!0),a},CheckClass:function(t,e){for(var a=[],s=0,n=(e=(e||"").split(/ /)).length;s<n;s++)"MJX-"===e[s].substr(0,4)?"MJX-arrow"===e[s]?t.notation.match("/"+i.NOTATION.UPDIAGONALARROW+"/")||(t.notation+=" "+i.NOTATION.UPDIAGONALARROW):"MJX-variant"===e[s]?(t.variantForm=!0,MathJax.Extension["TeX/AMSsymbols"]||MathJax.Hub.RestartAfter(MathJax.Ajax.Require("[MathJax]/extensions/TeX/AMSsymbols.js"))):"MJX-TeXAtom"!==e[s].substr(0,11)&&(t.mathvariant=e[s].substr(3),"-tex-caligraphic-bold"!==t.mathvariant&&"-tex-oldstyle-bold"!==t.mathvariant||MathJax.Extension["TeX/boldsymbol"]||MathJax.Hub.RestartAfter(MathJax.Ajax.Require("[MathJax]/extensions/TeX/boldsymbol.js"))):a.push(e[s]);a.length?t.class=a.join(" "):delete t.class},AddAttributes:function(t,e){t.attr={},t.attrNames=[];for(var a=0,s=e.attributes.length;a<s;a++){var n=e.attributes[a].name;if("xlink:href"==n&&(n="href"),!n.match(/:/)&&!n.match(/^_moz-math-((column|row)(align|line)|font-style)$/)){var o=e.attributes[a].value;o=this.filterAttribute(n,o);var r="mstyle"===t.type?i.math.prototype.defaults:t.defaults;if(null!=o){var l=o.toLowerCase();"true"!==l&&"false"!==l||"boolean"!=typeof r[n]&&r[n]!==i.INHERIT&&"math"!==t.type&&"mstyle"!==t.type&&(r[n]!==i.AUTO||null!=t.defaultDef&&"boolean"!=typeof t.defaultDef[n])||(o="true"===l),null!=r[n]||i.copyAttributes[n]?t[n]=o:t.attr[n]=o,t.attrNames.push(n)}}}},filterAttribute:function(t,e){return e},AddChildren:function(e,a){for(var s=0,n=a.childNodes.length;s<n;s++){var o=a.childNodes[s];if("#comment"!==o.nodeName)if("#text"===o.nodeName)if(!e.isToken&&!e.isChars||e.mmlSelfClosing)o.nodeValue.match(/\S/)&&t.Error(["UnexpectedTextNode","Unexpected text node: %1","'"+o.nodeValue+"'"]);else{var r=o.nodeValue;e.isToken&&(r=r.replace(/&([a-z][a-z0-9]*);/gi,this.replaceEntity),r=this.trimSpace(r)),e.Append(i.chars(r))}else if("annotation-xml"===e.type)e.Append(i.xml(o));else{var l=this.MakeMML(o);e.Append(l),l.mmlSelfClosing&&l.data.length&&(e.Append.apply(e,l.data),l.data=[])}}if("mrow"===e.type&&e.data.length>=2){var h=e.data[0],d=e.data[e.data.length-1];"mo"===h.type&&h.Get("fence")&&"mo"===d.type&&d.Get("fence")&&(h.data[0]&&(e.open=h.data.join("")),d.data[0]&&(e.close=d.data.join("")))}},preProcessMath:function(t){t.match(/^<[a-z]+:/i)&&!t.match(/^<[^<>]* xmlns:/)&&(t=t.replace(/^<([a-z]+)(:math)/i,'<$1$2 xmlns:$1="http://www.w3.org/1998/Math/MathML"'));var e=t.match(/^(<math( ('.*?'|".*?"|[^>])+)>)/i);return e&&e[2].match(/ (?!xmlns=)[a-z]+=\"http:/i)&&(t=e[1].replace(/ (?!xmlns=)([a-z]+=(['"])http:.*?\2)/gi," xmlns:$1 $1")+t.substr(e[0].length)),t.match(/^<math[ >]/i)&&!t.match(/^<[^<>]* xmlns=/)&&(t=t.replace(/^<(math)/i,'<math xmlns="http://www.w3.org/1998/Math/MathML"')),(t=t.replace(/^\s*(?:\/\/)?<!(--)?\[CDATA\[((.|\n)*)(\/\/)?\]\]\1>\s*$/,"$2")).replace(/&([a-z][a-z0-9]*);/gi,this.replaceEntity)},trimSpace:function(t){return t.replace(/[\t\n\r]/g," ").replace(/^ +/,"").replace(/ +$/,"").replace(/ +/g," ")},replaceEntity:function(e,i){if(i.match(/^(lt|amp|quot)$/))return e;if(t.Parse.Entity[i])return t.Parse.Entity[i];var a=i.charAt(0).toLowerCase(),s=i.match(/^[a-zA-Z](fr|scr|opf)$/);return s&&(a=s[1]),t.Parse.loaded[a]||(t.Parse.loaded[a]=!0,MathJax.Hub.RestartAfter(MathJax.Ajax.Require(t.entityDir+"/"+a+".js"))),e}},{loaded:[]}),t.Augment({sourceMenuTitle:["OriginalMathML","Original MathML"],prefilterHooks:MathJax.Callback.Hooks(!0),DOMfilterHooks:MathJax.Callback.Hooks(!0),postfilterHooks:MathJax.Callback.Hooks(!0),Translate:function(a){this.ParseXML||(this.ParseXML=this.createParser());var s,n,o={script:a};a.firstChild&&"math"===a.firstChild.nodeName.toLowerCase().replace(/^[a-z]+:/,"")?o.math=a.firstChild:(n=MathJax.HTML.getScript(a),e.isMSIE&&(n=n.replace(/( )+$/,"")),o.math=n);var r=this.prefilterHooks.Execute(o);if(r)return r;n=o.math;try{s=t.Parse(n,a).mml}catch(t){if(!t.mathmlError)throw t;s=this.formatError(t,n,a)}return o.math=i(s),this.postfilterHooks.Execute(o)||o.math},prefilterMath:function(t,e){return t},prefilterMathML:function(t,e){return t},formatError:function(t,e,a){var s=t.message.replace(/\n.*/,"");return MathJax.Hub.signal.Post(["MathML Jax - parse error",s,e,a]),i.Error(s)},Error:function(t){throw MathJax.Object.isArray(t)&&(t=a.apply(a,t)),MathJax.Hub.Insert(Error(t),{mathmlError:!0})},parseDOM:function(t){return this.parser.parseFromString(t,"text/xml")},parseMS:function(t){return this.parser.loadXML(t)?this.parser:null},parseDIV:function(t){this.div.innerHTML="<div>"+t.replace(/<([a-z]+)([^>]*)\/>/g,"<$1$2></$1>")+"</div>";var e=this.div.firstChild;return this.div.innerHTML="",e},parseError:function(t){return null},createMSParser:function(){for(var t=null,e=["MSXML2.DOMDocument.6.0","MSXML2.DOMDocument.5.0","MSXML2.DOMDocument.4.0","MSXML2.DOMDocument.3.0","MSXML2.DOMDocument.2.0","Microsoft.XMLDOM"],i=0,a=e.length;i<a&&!t;i++)try{t=new ActiveXObject(e[i])}catch(t){}return t},createParser:function(){return window.DOMParser?(this.parser=new DOMParser,this.parseDOM):window.ActiveXObject?(this.parser=this.createMSParser(),this.parser?(this.parser.async=!1,this.parseMS):(MathJax.Localization.Try(this.parserCreationError),this.parseError)):(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),this.parseDIV)},parserCreationError:function(){alert(a("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(){(i=MathJax.ElementJax.mml).mspace.Augment({mmlSelfClosing:!0}),i.none.Augment({mmlSelfClosing:!0}),i.mprescripts.Augment({mmlSelfClosing:!0}),i.maligngroup.Augment({mmlSelfClosing:!0}),i.malignmark.Augment({mmlSelfClosing:!0})}}),t.prefilterHooks.Add((function(e){e.math="string"==typeof e.math?t.prefilterMath(e.math,e.script):t.prefilterMathML(e.math,e.script)})),t.Parse.Entity={ApplyFunction:"",Backslash:"∖",Because:"∵",Breve:"˘",Cap:"⋒",CenterDot:"·",CircleDot:"⊙",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",Congruent:"≡",ContourIntegral:"∮",Coproduct:"∐",Cross:"⨯",Cup:"⋓",CupCap:"≍",Dagger:"‡",Del:"∇",Delta:"Δ",Diamond:"⋄",DifferentialD:"ⅆ",DotEqual:"≐",DoubleDot:"¨",DoubleRightTee:"⊨",DoubleVerticalBar:"∥",DownArrow:"↓",DownLeftVector:"↽",DownRightVector:"⇁",DownTee:"⊤",Downarrow:"⇓",Element:"∈",EqualTilde:"≂",Equilibrium:"⇌",Exists:"∃",ExponentialE:"ⅇ",FilledVerySmallSquare:"▪",ForAll:"∀",Gamma:"Γ",Gg:"⋙",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Hacek:"ˇ",Hat:"^",HumpDownHump:"≎",HumpEqual:"≏",Im:"ℑ",ImaginaryI:"ⅈ",Integral:"∫",Intersection:"⋂",InvisibleComma:"",InvisibleTimes:"",Lambda:"Λ",Larr:"↞",LeftAngleBracket:"⟨",LeftArrow:"←",LeftArrowRightArrow:"⇆",LeftCeiling:"⌈",LeftDownVector:"⇃",LeftFloor:"⌊",LeftRightArrow:"↔",LeftTee:"⊣",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpVector:"↿",LeftVector:"↼",Leftarrow:"⇐",Leftrightarrow:"⇔",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",LessSlantEqual:"⩽",LessTilde:"≲",Ll:"⋘",Lleftarrow:"⇚",LongLeftArrow:"⟵",LongLeftRightArrow:"⟷",LongRightArrow:"⟶",Longleftarrow:"⟸",Longleftrightarrow:"⟺",Longrightarrow:"⟹",Lsh:"↰",MinusPlus:"∓",NestedGreaterGreater:"≫",NestedLessLess:"≪",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotPrecedes:"⊀",NotPrecedesSlantEqual:"⋠",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsSlantEqual:"⋡",NotSupersetEqual:"⊉",NotTilde:"≁",NotVerticalBar:"∤",Omega:"Ω",OverBar:"‾",OverBrace:"⏞",PartialD:"∂",Phi:"Φ",Pi:"Π",PlusMinus:"±",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",Product:"∏",Proportional:"∝",Psi:"Ψ",Rarr:"↠",Re:"ℜ",ReverseEquilibrium:"⇋",RightAngleBracket:"⟩",RightArrow:"→",RightArrowLeftArrow:"⇄",RightCeiling:"⌉",RightDownVector:"⇂",RightFloor:"⌋",RightTee:"⊢",RightTeeArrow:"↦",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpVector:"↾",RightVector:"⇀",Rightarrow:"⇒",Rrightarrow:"⇛",Rsh:"↱",Sigma:"Σ",SmallCircle:"∘",Sqrt:"√",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",Star:"⋆",Subset:"⋐",SubsetEqual:"⊆",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",SuchThat:"∋",Sum:"∑",Superset:"⊃",SupersetEqual:"⊇",Supset:"⋑",Therefore:"∴",Theta:"Θ",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",UnderBar:"_",UnderBrace:"⏟",Union:"⋃",UnionPlus:"⊎",UpArrow:"↑",UpDownArrow:"↕",UpTee:"⊥",Uparrow:"⇑",Updownarrow:"⇕",Upsilon:"Υ",Vdash:"⊩",Vee:"⋁",VerticalBar:"∣",VerticalTilde:"≀",Vvdash:"⊪",Wedge:"⋀",Xi:"Ξ",acute:"´",aleph:"ℵ",alpha:"α",amalg:"⨿",and:"∧",ang:"∠",angmsd:"∡",angsph:"∢",ape:"≊",backprime:"‵",backsim:"∽",backsimeq:"⋍",beta:"β",beth:"ℶ",between:"≬",bigcirc:"◯",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",blacklozenge:"⧫",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",bowtie:"⋈",boxdl:"┐",boxdr:"┌",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxur:"└",bsol:"\\",bull:"•",cap:"∩",check:"✓",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledR:"®",circledS:"Ⓢ",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",clubs:"♣",colon:":",comp:"∁",ctdot:"⋯",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cup:"∪",curarr:"↷",curlyvee:"⋎",curlywedge:"⋏",dagger:"†",daleth:"ℸ",ddarr:"⇊",deg:"°",delta:"δ",digamma:"ϝ",div:"÷",divideontimes:"⋇",dot:"˙",doteqdot:"≑",dotplus:"∔",dotsquare:"⊡",dtdot:"⋱",ecir:"≖",efDot:"≒",egs:"⪖",ell:"ℓ",els:"⪕",empty:"∅",epsi:"ε",epsiv:"ϵ",erDot:"≓",eta:"η",eth:"ð",flat:"♭",fork:"⋔",frown:"⌢",gEl:"⪌",gamma:"γ",gap:"⪆",gimel:"ℷ",gnE:"≩",gnap:"⪊",gne:"⪈",gnsim:"⋧",gt:">",gtdot:"⋗",harrw:"↭",hbar:"ℏ",hellip:"…",hookleftarrow:"↩",hookrightarrow:"↪",imath:"ı",infin:"∞",intcal:"⊺",iota:"ι",jmath:"ȷ",kappa:"κ",kappav:"ϰ",lEg:"⪋",lambda:"λ",lap:"⪅",larrlp:"↫",larrtl:"↢",lbrace:"{",lbrack:"[",le:"≤",leftleftarrows:"⇇",leftthreetimes:"⋋",lessdot:"⋖",lmoust:"⎰",lnE:"≨",lnap:"⪉",lne:"⪇",lnsim:"⋦",longmapsto:"⟼",looparrowright:"↬",lowast:"∗",loz:"◊",lt:"<",ltimes:"⋉",ltri:"◃",macr:"¯",malt:"✠",mho:"℧",mu:"μ",multimap:"⊸",nLeftarrow:"⇍",nLeftrightarrow:"⇎",nRightarrow:"⇏",nVDash:"⊯",nVdash:"⊮",natur:"♮",nearr:"↗",nharr:"↮",nlarr:"↚",not:"¬",nrarr:"↛",nu:"ν",nvDash:"⊭",nvdash:"⊬",nwarr:"↖",omega:"ω",omicron:"ο",or:"∨",osol:"⊘",period:".",phi:"φ",phiv:"ϕ",pi:"π",piv:"ϖ",prap:"⪷",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",prime:"′",psi:"ψ",rarrtl:"↣",rbrace:"}",rbrack:"]",rho:"ρ",rhov:"ϱ",rightrightarrows:"⇉",rightthreetimes:"⋌",ring:"˚",rmoust:"⎱",rtimes:"⋊",rtri:"▹",scap:"⪸",scnE:"⪶",scnap:"⪺",scnsim:"⋩",sdot:"⋅",searr:"↘",sect:"§",sharp:"♯",sigma:"σ",sigmav:"ς",simne:"≆",smile:"⌣",spades:"♠",sub:"⊂",subE:"⫅",subnE:"⫋",subne:"⊊",supE:"⫆",supnE:"⫌",supne:"⊋",swarr:"↙",tau:"τ",theta:"θ",thetav:"ϑ",tilde:"˜",times:"×",triangle:"▵",triangleq:"≜",upsi:"υ",upuparrows:"⇈",veebar:"⊻",vellip:"⋮",weierp:"℘",xi:"ξ",yen:"¥",zeta:"ζ",zigrarr:"⇝"},t.loadComplete("jax.js")}(MathJax.InputJax.MathML,MathJax.Hub.Browser),function(t,e,i,a){var s,n,o,r,l,h=e.Browser.isMSIE;e.Register.StartupHook("MathZoom Ready",(function(){l=MathJax.Extension.MathZoom}));var d=function(t,e){var i=a.Element("span");t="padding"+t,e&&(i.style.cssText=e.getAttribute("style")||"",""===i.style.padding&&""===(i.style[t]||"")&&(i.style[t]="0px",e.setAttribute("style",i.style.cssText)))},u=function(t,e,i){if(t){var s=a.Element("span");if(s.style.cssText=t.getAttribute("style")||"",""===s.style.padding){var n={paddingLeft:i,paddingTop:e,paddingRight:"0px",paddingBottom:"0px"};for(var o in n)n.hasOwnProperty(o)&&""===(s.style[o]||"")&&(s.style[o]=n[o])}t.setAttribute("style",s.style.cssText)}};t.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","max-width":"none","max-height":"none","min-width":0,"min-height":0,border:0,padding:0,margin:0},"span.MathJax_MathML":{display:"inline!important"},"div.MathJax_MathML":{display:"block!important"},".MathJax_mmlExBox":{display:"block!important",overflow:"hidden",height:"1px",width:"60ex","min-height":0,"max-height":"none",padding:0,border:0,margin:0}}},handlesVariants:!1,settings:e.config.menuSettings,ex:1,scale:1,adjustWidths:[],Config:function(){if(this.SUPER(arguments).Config.call(this),this.settings.scale&&(this.config.scale=this.settings.scale),"center"!==e.config.displayAlign){var t=e.config.displayAlign,i=e.config.displayIndent,a={"text-align":t+"!important"};a["margin-"+t]=i+"!important",e.Insert(this.config.styles,{"div.MathJax_MathML":a,"div.MathJax_MathML math":{"text-align":t},"div.MathJax_MathContainer > span":{"text-align":t+"!important"}})}this.require||(this.require=[]),this.require.push(MathJax.OutputJax.extensionDir+"/MathEvents.js")},Startup:function(){return n=MathJax.Extension.MathEvents.Event,o=MathJax.Extension.MathEvents.Touch,r=MathJax.Extension.MathEvents.Hover,this.ContextMenu=n.ContextMenu,this.Mousedown=n.AltContextMenu,this.Mouseover=r.Mouseover,this.Mouseout=r.Mouseout,this.Mousemove=r.Mousemove,e.Browser.hasMathPlayer||(this.EmExSpan=a.Element("span",{style:{position:"absolute","font-size-adjust":"none"}},[["div",{className:"MathJax_mmlExBox"}],["span",{className:"MathJax_MathML"}]]),s.math(s.mspace().With({width:"60ex"})).toNativeMML(this.EmExSpan.lastChild)),i.Styles(this.config.styles)},InitializeMML:function(){if(this.initialized=!0,e.Browser.hasMathPlayer)try{if(!e.Browser.mpNamespace){var t=document.createElement("object");t.id="mathplayer",t.classid="clsid:32F66A20-7614-11D4-BD11-00104BD3F987",document.getElementsByTagName("head")[0].appendChild(t),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(t){this.config.noMathPlayerWarning||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(t){var e,i,s,n,o,r,l,d,u,c,m=t.jax[this.id],p=m.length;for(e=0;e<p;e++)if((i=m[e]).parentNode&&(this.initialized||this.InitializeMML(),(s=i.previousSibling)&&"MathJax_MathML"===s.className&&s.parentNode.removeChild(s),l=i.MathJax.elementJax)){r=l.root,l.NativeMML={};var M="block"===r.Get("display")?"div":"span";n=a.Element(M,{className:"MathJax_MathML",id:l.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"}}]]]]),i.parentNode.insertBefore(n,i),h||i.parentNode.insertBefore(this.EmExSpan.cloneNode(!0),i)}for(e=0;e<p;e++)(i=m[e]).parentNode&&(l=i.MathJax.elementJax)&&(h?c=100:(d=(o=i.previousSibling).firstChild.offsetWidth/60,u=o.lastChild.offsetWidth/60,0!==d&&"NaN"!==d||(d=this.defaultEx,u=this.defaultMEx),c=this.config.matchFontHeight&&u>1?d/u:1,c=Math.floor(Math.max(this.config.minScaleAdjust/100,c)*this.config.scale),l.NativeMML.ex=d,l.NativeMML.mex=u),l.NativeMML.fontSize=c+"%",l.NativeMML.scale=c/100);if(!h)for(e=0;e<p;e++)(i=m[e]).parentNode&&i.MathJax.elementJax&&i.parentNode.removeChild(i.previousSibling)},Translate:function(t){if(t.parentNode){var i=t.MathJax.elementJax,a=i.root,s=document.getElementById(i.inputID+"-Frame");if(s){var r=s.firstChild,l=r.firstChild;this.ex=i.NativeMML.ex||this.defaultEx,this.scale=i.NativeMML.scale||1,1!==this.scale&&(s.style.fontSize=i.NativeMML.fontSize);try{a.toNativeMML(l,i)}catch(t){if(t.restart)for(;l.firstChild;)l.removeChild(l.firstChild);throw t}if(h)if(r.addEventListener)for(var d in this.MSIE9events)this.MSIE9events.hasOwnProperty(d)&&r.addEventListener(d,this.MSIE9event,!0);else!(null!=this.config.showMathMenuMSIE?this:e).config.showMathMenuMSIE||this.settings.mpContext||this.settings.mpMouse?(r.style.position="",l.firstChild.onmousedown=this.MSIEaltMenu):this.MSIEoverlay(r);else r.oncontextmenu=n.Menu,r.onmouseover=n.Mouseover,r.onmouseout=n.Mouseout,r.onmousedown=n.Mousedown,r.onclick=n.Click,r.ondblclick=n.DblClick,r.onkeydown=n.Keydown,r.tabIndex=e.getTabOrder(i),e.Browser.noContextMenu&&(r.ontouchstart=o.start,r.ontouchend=o.end)}}},postTranslate:function(t){if(this.forceReflow){var e=(document.styleSheets||[])[0]||{};e.disabled=!0,e.disabled=!1}},Remove:function(t){var e=t.SourceElement();e&&(e=e.previousSibling)&&e.className.match(/MathJax_MathML/)&&e.parentNode.removeChild(e)},MMLnamespace:"http://www.w3.org/1998/Math/MathML",isFullWidth:function(t){if(t){var e=t.getAttribute("width")||(String(t.getAttribute("style")).match(/(?:^| )width: *([^; ]*)/)||[])[1];if(e)return!!e.match(/%/);if(t.nodeName.match(/^(semantics|math|mstyle)$/))e=this.isFullWidth(t.firstChild);else if("mrow"===t.nodeName.toLowerCase())for(var i=0,a=t.childNodes.length;i<a&&!e;i++)e=this.isFullWidth(t.childNodes[i]);if(e){var s="width:100%; "+(t.getAttribute("style")||"");t.setAttribute("style",s.replace(/ +$/,""))}return e}},MSIEoverlay:function(t){var i=t.firstChild;"span"===i.nodeName.toLowerCase()&&(i=i.firstChild);var s=this.getHoverBBox(null,i,{});a.addElement(t,"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(-s.w),top:r.Px(-s.h-(s.y||0)-1),width:r.Px(s.w),height:r.Px(s.h+s.d),cursor:"pointer","background-color":"white",filter:"alpha(opacity=0)"}}]]),e.Insert(t,{msieMath:i,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 e=window.event,i=t.MSIEevents[e.type];return(!t[i]||!1!==t[i](e,this))&&(!l||!1!==l.HandleEvent(e,i,this))&&("MathJax_MathPlayer_Overlay"===e.srcElement.className&&this.msieMath.fireEvent&&("ContextMenu"!==i&&"Mouseover"!==i&&"Mouseout"!==i||this.msieMath.fireEvent("on"+e.type,e)),n.False(e))},MSIEaltMenu:function(){for(var t=this.parentNode.parentNode;!t.jaxID;)t=t.parentNode;n.AltContextMenu(window.event,t)},MSIE9events:{contextmenu:"Menu",click:"Click",dblclick:"DblClick",mouseup:"False",mouseover:"Mouseover",mouseout:"Mouseout"},MSIE9event:function(e){if("contextmenu"===e.type&&t.settings.mpContext)return!0;if("mouseup"===e.type&&t.settings.mpMouse)return!0;if("click"===e.type&&t.settings.mpContext)return n.AltContextMenu(e,this);var i=t.MSIE9events[e.type];return n[i].call(this,e)},getJaxFromMath:function(t){t=t.parentNode;do{t=t.nextSibling}while(t&&"script"!==t.nodeName.toLowerCase());return e.getJaxFor(t)},getHoverSpan:function(t,e){return e.firstChild},getHoverBBox:function(t,e,i){return n.getBBox(e.parentNode)},Zoom:function(e,i,a,s,o){e.root.toNativeMML(i),this.msieIE8HeightBug&&(i.style.position="absolute"),t.widthBug&&(i.style.width=i.parentNode.style.width=""),i.parentNode.style.width.match(/%$/)&&(i.parentNode.style.minWidth=Math.ceil(3*o/4)+"px");var r=a.offsetWidth||a.scrollWidth,l=a.offsetHeight||a.scrollHeight,h=i.offsetWidth,d=i.offsetHeight;if(t.widthBug||i.style.width.match(/%/)){var u=i.firstChild.firstChild.scrollWidth;u>h&&(h=u,i.parentNode.style.width=i.style.minWidth=h+"px")}return this.msieIE8HeightBug&&(i.style.position=""),{Y:-n.getBBox(i.parentNode).h,mW:r,mH:l,zW:h,zH:d}},NAMEDSPACE:{negativeveryverythinmathspace:"-.0556em",negativeverythinmathspace:"-.1111em",negativethinmathspace:"-.1667em",negativemediummathspace:"-.2222em",negativethickmathspace:"-.2778em",negativeverythickmathspace:"-.3333em",negativeveryverythickmathspace:"-.3889em",veryverythinmathspace:".0556em",verythinmathspace:".1111em",thinmathspace:".1667em",mediummathspace:".2222em",thickmathspace:".2778em",verythickmathspace:".3333em",veryverythickmathspace:".3889em"}}),e.Register.StartupHook("mml Jax Ready",(function(){if((s=MathJax.ElementJax.mml).mbase.Augment({toNativeMML:function(t){var e=this.NativeMMLelement(this.type);this.NativeMMLattributes(e);for(var i=0,a=this.data.length;i<a;i++)this.data[i]?this.data[i].toNativeMML(e):e.appendChild(this.NativeMMLelement("mrow"));t.appendChild(e)},NativeMMLattributes:function(t){var e="mstyle"===this.type?s.math.prototype.defaults:this.defaults,i=this.attrNames||s.copyAttributeNames,a=s.skipAttributes,n=s.copyAttributes;if(!this.attrNames)for(var o in e)a[o]||n[o]||!e.hasOwnProperty(o)||null!=this[o]&&this[o]!==e[o]&&this.Get(o,null,1)!==this[o]&&t.setAttribute(o,this.NativeMMLattribute(this[o]));for(var r=0,l=i.length;r<l;r++)if(1!==n[i[r]]||e.hasOwnProperty(i[r])){var h=(this.attr||{})[i[r]];null==h&&(h=this[i[r]]),null!=h&&t.setAttribute(i[r],this.NativeMMLattribute(h))}this.NativeMMLclass(t)},NativeMMLclass:function(t){var e=[];if(this.class&&e.push(this.class),this.isa(s.TeXAtom)){var i=["ORD","OP","BIN","REL","OPEN","CLOSE","PUNCT","INNER","VCENTER"][this.texClass];i&&(e.push("MJX-TeXAtom-"+i),"OP"!==i||this.movablelimits||e.push("MJX-fixedlimits"))}this.mathvariant&&this.NativeMMLvariants[this.mathvariant]&&e.push("MJX"+this.mathvariant),this.variantForm&&e.push("MJX-variant"),e.length&&t.setAttribute("class",e.join(" "))},NativeMMLattribute:function(e){return e=String(e),t.NAMEDSPACE[e]?e=t.NAMEDSPACE[e]:e.match(/^\s*(([-+])?(\d+(\.\d*)?|\.\d+))\s*mu\s*$/)?e=(RegExp.$2||"")+(1/18*RegExp.$3).toFixed(3).replace(/\.?0+$/,"")+"em":this.NativeMMLvariants[e]&&(e=this.NativeMMLvariants[e]),e},NativeMMLvariants:{"-tex-caligraphic":s.VARIANT.SCRIPT,"-tex-caligraphic-bold":s.VARIANT.BOLDSCRIPT,"-tex-oldstyle":s.VARIANT.NORMAL,"-tex-oldstyle-bold":s.VARIANT.BOLD,"-tex-mathit":s.VARIANT.ITALIC},NativeMMLelement:function(i){var a=e.Browser.mpNamespace?document.createElement("m:"+i):document.createElementNS?document.createElementNS(t.MMLnamespace,i):document.createElement(i);return a.isMathJax=!0,a}}),s.mrow.Augment({toNativeMML:function(e){var i,a;if(this.inferred&&this.parent.inferRow)for(i=0,a=this.data.length;i<a;i++)this.data[i]?this.data[i].toNativeMML(e):e.appendChild(this.NativeMMLelement("mrow"));else if(t.stretchyMoBug&&(this.open||this.close)){var s=this.NativeMMLelement("mfenced");this.NativeMMLattributes(s),i=0,a=this.data.length,this.open&&(s.setAttribute("open",this.open),i++),this.close&&(s.setAttribute("close",this.close),a--);var n=s;for(a-i+1>1&&(n=this.NativeMMLelement("mrow"),e.appendChild(s),e=s);i<a;i++)this.data[i]?this.data[i].toNativeMML(n):n.appendChild(this.NativeMMLelement("mrow"));e.appendChild(n)}else this.SUPER(arguments).toNativeMML.call(this,e)}}),s.msubsup.Augment({toNativeMML:function(t){var e=this.type;null==this.data[this.sup]&&(e="msub"),null==this.data[this.sub]&&(e="msup");var i=this.NativeMMLelement(e);this.NativeMMLattributes(i),this.data[0]&&delete this.data[0].inferred;for(var a=0,s=this.data.length;a<s;a++)this.data[a]&&this.data[a].toNativeMML(i);t.appendChild(i)}}),s.munderover.Augment({toNativeMML:function(t){var e=this.type,i=this.data[this.base];i&&i.isa(s.TeXAtom)&&i.movablelimits&&!i.Get("displaystyle")?(e="msubsup",null==this.data[this.under]&&(e="msup"),null==this.data[this.over]&&(e="msub")):(null==this.data[this.under]&&(e="mover"),null==this.data[this.over]&&(e="munder"));var a=this.NativeMMLelement(e);this.NativeMMLattributes(a),this.data[0]&&delete this.data[0].inferred;for(var n=0,o=this.data.length;n<o;n++)this.data[n]&&this.data[n].toNativeMML(a);t.appendChild(a)}}),!h){var n=e.SplitList;s.mtable.Augment({toNativeMML:function(i){var a,o;if(t.tableSpacingBug){var r=this.getValues("rowspacing","columnspacing");this.nMMLtopPadding=n("0px "+r.rowspacing),this.nMMLleftPadding=n("0px "+r.columnspacing);var l=this.nMMLtopPadding,h=l.length;for(a=0,o=this.data.length;a<o;a++)this.data[a]&&(this.data[a].nMMLtopPadding=l[a<h?a:h-1])}if(t.tableLabelBug)for(a=0,o=this.data.length;a<o;a++)if(this.data[a]&&this.data[a].isa(s.mlabeledtr)){var d=e.config.displayAlign.charAt(0),u=this.Get("side").charAt(0);this.nMMLhasLabels=!0,this.nMMLlaMatch=d===u,this.nMMLforceWidth="c"===d||!!(this.width||"").match("%");break}if(this.width&&this.ffTableWidthBug){var c=(this.style||"").replace(/;\s*$/,"").split(";");""===c[0]&&c.shift(),c.push("width:"+this.width),this.style=c.join(";")}if(this.SUPER(arguments).toNativeMML.call(this,i),this.nMMLhasLabels){var m=i.firstChild;if(this.nMMLforceWidth||"r"!==u){var p=("l"!==d?1:0)+("l"===u?1:0);if(p){var M={columnalign:"left",columnwidth:"auto",columnspacing:"0px",columnlines:"none"};for(var f in M)if(M.hasOwnProperty(f)&&this[f]){var g=[M[f],M[f]].slice(2-p).join(" ")+" ";m.setAttribute(f,g+m.getAttribute(f))}}}!this.nMMLforceWidth&&this.nMMLlaMatch||m.setAttribute("width","100%")}}}),s.mtr.Augment({toNativeMML:function(i){this.SUPER(arguments).toNativeMML.call(this,i);var a=i.lastChild;if(t.tableSpacingBug)for(var s=this.parent.nMMLleftPadding,n=s.length,o=a.firstChild,r=0;o;o=o.nextSibling,r++)u(o,this.nMMLtopPadding,s[r<n?r:n-1]);if(t.tableLabelBug){var l=this.parent.nMMLforceWidth,h=this.parent.Get("side").charAt(0),c=e.config.displayAlign.charAt(0);this.parent.nMMLhasLabels&&a.firstChild&&((l||"r"!==h)&&(d("Left",a.firstChild),"l"!==c&&a.insertBefore(this.NativeMMLelement("mtd"),a.firstChild).setAttribute("style","padding:0"),"l"===h&&a.insertBefore(this.NativeMMLelement("mtd"),a.firstChild).setAttribute("style","padding:0")),(l||"l"!==h)&&d("Right",a.lastChild))}}}),s.mlabeledtr.Augment({toNativeMML:function(i){var a=this.NativeMMLelement("mtr");this.NativeMMLattributes(a);for(var s=1,n=this.data.length;s<n;s++)this.data[s]?this.data[s].toNativeMML(a):a.appendChild(this.NativeMMLelement("mtd"));if(t.tableSpacingBug){var o=this.parent.nMMLleftPadding,r=o.length;s=0;for(var l=a.firstChild;l;l=l.nextSibling,s++)u(l,this.nMMLtopPadding,o[s<r?s:r-1])}if(t.tableLabelBug&&this.data[0]){var h=this.parent.Get("side").charAt(0),c=e.config.displayAlign.charAt(0),m=e.config.displayIndent;this.data[0].toNativeMML(a);var p=a.lastChild,M=p;h===c?(p.setAttribute("style","width:"+m),p.setAttribute("columnalign",e.config.displayAlign)):((M=this.NativeMMLelement("mpadded")).setAttribute("style","width:0"),M.setAttribute("width","0px"),M.appendChild(p.firstChild),p.appendChild(M)),d("",p),a.removeChild(p);var f=100,g=this.parent.nMMLforceWidth;(this.parent.width||"").match(/%/)&&(f-=parseFloat(this.parent.width));var b=f;(g||"r"!==h)&&(d("Left",a.firstChild),"l"!==c&&("c"===c&&(b/=2),f-=b,a.insertBefore(this.NativeMMLelement("mtd"),a.firstChild).setAttribute("style","padding:0;width:"+b+"%")),"l"===h&&a.insertBefore(p,a.firstChild)),(g||"l"!==h)&&(d("Right",a.lastChild),"r"!==c&&a.appendChild(this.NativeMMLelement("mtd")).setAttribute("style","padding:0;width:"+f+"%"),"r"===h&&(h!==c&&M.setAttribute("lspace","-1width"),a.appendChild(p)))}i.appendChild(a)}}),s.mtd.Augment({toNativeMML:function(e){var i=e.appendChild(this.NativeMMLelement(this.type));this.NativeMMLattributes(i),t.mtdWidthBug&&(t.adjustWidths.push(i),i=i.appendChild(this.NativeMMLelement("mrow")));for(var a=0,s=this.data.length;a<s;a++)this.data[a]?this.data[a].toNativeMML(i):i.appendChild(this.NativeMMLelement("mrow"))}}),s.mspace.Augment({toNativeMML:function(e){if(this.SUPER(arguments).toNativeMML.call(this,e),t.spaceWidthBug&&this.width){var i=e.lastChild,a=i.getAttribute("width"),s=(i.getAttribute("style")||"").replace(/;?\s*/,"; ");i.setAttribute("style",s+"width:"+a)}}}),s.mn.Augment({NativeMMLremapMinus:function(t){return t.replace(/^-/,"−")},toNativeMML:function(t){var e=this.NativeMMLelement(this.type);this.NativeMMLattributes(e);for(var i=this.NativeMMLremapMinus,a=0,s=this.data.length;a<s;a++)this.data[a]&&(this.data[a].toNativeMML(e,i),i=null);t.appendChild(e)}});var o=i.fileURL(MathJax.OutputJax.fontDir+"/HTML-CSS/TeX/otf");t.Augment({config:{styles:{'[class="MJX-tex-oldstyle"]':{"font-family":"MathJax_Caligraphic, MathJax_Caligraphic-WEB"},'[class="MJX-tex-oldstyle-bold"]':{"font-family":"MathJax_Caligraphic, MathJax_Caligraphic-WEB","font-weight":"bold"},'[class="MJX-tex-caligraphic"]':{"font-family":"MathJax_Caligraphic, MathJax_Caligraphic-WEB"},'[class="MJX-tex-caligraphic-bold"]':{"font-family":"MathJax_Caligraphic, MathJax_Caligraphic-WEB","font-weight":"bold"},"@font-face /*1*/":{"font-family":"MathJax_Caligraphic-WEB",src:"url('"+o+"/MathJax_Caligraphic-Regular.otf')"},"@font-face /*2*/":{"font-family":"MathJax_Caligraphic-WEB","font-weight":"bold",src:"url('"+o+"/MathJax_Caligraphic-Bold.otf')"}}}}),this.handlesVariants||t.Augment({config:{styles:{'[mathvariant="double-struck"]':{"font-family":"MathJax_AMS, MathJax_AMS-WEB"},'[mathvariant="script"]':{"font-family":"MathJax_Script, MathJax_Script-WEB"},'[mathvariant="fraktur"]':{"font-family":"MathJax_Fraktur, MathJax_Fraktur-WEB"},'[mathvariant="bold-script"]':{"font-family":"MathJax_Script, MathJax_Caligraphic-WEB","font-weight":"bold"},'[mathvariant="bold-fraktur"]':{"font-family":"MathJax_Fraktur, MathJax_Fraktur-WEB","font-weight":"bold"},'[mathvariant="monospace"]':{"font-family":"monospace"},'[mathvariant="sans-serif"]':{"font-family":"sans-serif"},'[mathvariant="bold-sans-serif"]':{"font-family":"sans-serif","font-weight":"bold"},'[mathvariant="sans-serif-italic"]':{"font-family":"sans-serif","font-style":"italic"},'[mathvariant="sans-serif-bold-italic"]':{"font-family":"sans-serif","font-style":"italic","font-weight":"bold"},"@font-face /*3*/":{"font-family":"MathJax_AMS-WEB",src:"url('"+o+"/MathJax_AMS-Regular.otf')"},"@font-face /*4*/":{"font-family":"MathJax_Script-WEB",src:"url('"+o+"/MathJax_Script-Regular.otf')"},"@font-face /*5*/":{"font-family":"MathJax_Fraktur-WEB",src:"url('"+o+"/MathJax_Fraktur-Regular.otf')"},"@font-face /*6*/":{"font-family":"MathJax_Fraktur-WEB","font-weight":"bold",src:"url('"+o+"/MathJax_Fraktur-Bold.otf')"}}}})}s.math.Augment({toNativeMML:function(i,a){var s,n,o=this.NativeMMLelement(this.type),r=o,l=a?MathJax.InputJax[a.inputJax].annotationEncoding:null;if(t.adjustWidths=[],o.setAttribute("xmlns",t.MMLnamespace),this.NativeMMLattributes(o),t.widthBug&&(o=o.appendChild(this.NativeMMLelement("mrow"))),l){(o=o.appendChild(this.NativeMMLelement("semantics"))).appendChild(this.NativeMMLelement("mrow"));var h=o.appendChild(this.NativeMMLelement("annotation"));h.appendChild(document.createTextNode(a.originalText)),h.setAttribute("encoding",l),o=o.firstChild}for(s=0,n=this.data.length;s<n;s++)this.data[s]?this.data[s].toNativeMML(o):o.appendChild(this.NativeMMLelement("mrow"));var d=(this.data[0]||{data:[]}).data[0]||{};d.nMMLhasLabels&&(!d.nMMLforceWidth&&d.nMMLlaMatch||(o.setAttribute("style","width:100%"),l&&o.parentNode.setAttribute("style","width:100%")),d.nMMLlaMatch&&"div"===i.parentNode.parentNode.nodeName.toLowerCase()&&i.parentNode.parentNode.style.setProperty("margin-"+e.config.displayAlign,"0px","important"));var u=t.isFullWidth(r);if(u&&(i.style.width=i.parentNode.style.width="100%"),i.appendChild(r),t.widthBug&&!u&&(i.style.width=(r.firstChild.scrollWidth/t.ex/t.scale).toFixed(3)+"ex",a&&(a.NativeMML.scrollWidth=r.firstChild.scrollWidth)),t.adjustWidths.length){var c=[];for(s=0,n=t.adjustWidths.length;s<n;s++){var m=(o=t.adjustWidths[s]).getAttribute("style")||"";if(!m.match(/(^|;)\s*min-width:/)){var p=o.firstChild.scrollWidth;c.push(p),p=(p/t.ex).toFixed(3)+"ex",m=m.replace(/;?\s*$/,"; "),o.setAttribute("style",m+"min-width:"+p)}}a||(a=e.getJaxFor(i)),a&&(a.NativeMML.mtds=c),r.MathJaxMtds=t.adjustWidths,t.adjustWidths=[]}}}),s.mfenced.Augment({toNativeMML:function(i){if(t.mfencedBug){var a,s,n,o=e.Browser.isOpera,r=this.getValues("open","close","separators");if(r.open=r.open.replace(/^\s+/,"").replace(/\s+$/,""),r.close=r.close.replace(/^\s+/,"").replace(/\s+$/,""),r.separators=r.separators.replace(/\s+/g,"").split(""),0==r.separators.length)r.separators=null;else if(r.separators.length<this.data.length-1){var l=r.separators[r.separators.length-1];for(a=this.data.length-1-r.separators.length;a>0;a--)r.separators.push(l)}var h=this.NativeMMLelement(o?this.type:"mrow");for(this.NativeMMLattributes(h),h.removeAttribute("separators"),o?(h.setAttribute("open",r.open),h.setAttribute("close",r.close),this.data.length>1&&(i.appendChild(h),i=h,h=this.NativeMMLelement("mrow"))):(h.removeAttribute("open"),h.removeAttribute("close")),o||((n=this.NativeMMLelement("mo")).setAttribute("fence","true"),n.textContent=r.open,h.appendChild(n)),a=0,s=this.data.length;a<s;a++)r.separators&&a>0&&((n=this.NativeMMLelement("mo")).setAttribute("separator","true"),n.textContent=r.separators[a-1],h.appendChild(n)),this.data[a]?this.data[a].toNativeMML(h):h.appendChild(this.NativeMMLelement("mrow"));o||((n=this.NativeMMLelement("mo")).setAttribute("fence","true"),n.textContent=r.close,h.appendChild(n)),i.appendChild(h)}else this.SUPER(arguments).toNativeMML.call(this,i)}}),s.TeXAtom.Augment({toNativeMML:function(t){var e=this.NativeMMLelement("mrow");this.NativeMMLattributes(e),this.data[0].toNativeMML(e),t.appendChild(e)}}),s.chars.Augment({toNativeMML:function(t,e){var i=this.toString();e&&(i=e(i)),t.appendChild(document.createTextNode(i))}}),s.entity.Augment({toNativeMML:function(t){t.appendChild(document.createTextNode(this.toString()))}}),s.xml.Augment({toNativeMML:function(t){for(var e=0,i=this.data.length;e<i;e++)t.appendChild(this.data[e].cloneNode(!0))}}),s.mi.Augment({toNativeMML:function(e){if(this.SUPER(arguments).toNativeMML.call(this,e),t.miItalicBug&&this.Get("mathvariant")===s.VARIANT.NORMAL){var i=e.lastChild;i.setAttribute("mathvariant",s.VARIANT.NORMAL)}}}),s.mo.Augment({toNativeMML:function(e){if(this.SUPER(arguments).toNativeMML.call(this,e),t.webkitMoSpacingBug){var i=0,s=0,n=this.parent;if(n&&"mrow"===n.type&&(n.inferred||!n.isEmbellished())){var o=this.getValues("lspace","rspace");i=o.lspace,s=o.rspace,t.NAMEDSPACE[i]&&(i=t.NAMEDSPACE[i]),t.NAMEDSPACE[s]&&(s=t.NAMEDSPACE[s])}var r=e.lastChild,l=a.Element("span");l.style.cssText=r.getAttribute("style")||"",l.style.setProperty("-webkit-margin-start",i),l.style.setProperty("-webkit-margin-end",s),r.setAttribute("style",l.style.cssText)}}}),s.mmultiscripts.Augment({toNativeMML:function(e){if(t.mmultiscriptsBug&&0!==this.data.length){var i=this.NativeMMLelement("mrow");this.NativeMMLattributes(i),this.data[0]?this.data[0].toNativeMML(i):i.appendChild(this.NativeMMLelement("mrow"));var a,s,n=i.removeChild(i.lastChild),o=this.data.length;for(a=1;a<o&&"mprescripts"!==this.data[a].type;a+=2)(s=this.NativeMMLelement("msubsup")).appendChild(n),this.data[a]?this.data[a].toNativeMML(s):s.appendChild(this.NativeMMLelement("mrow")),a+1<o&&this.data[a+1]?this.data[a+1].toNativeMML(s):s.appendChild(this.NativeMMLelement("mrow")),n=s;for(i.appendChild(n),a++;a<o;a+=2)(s=this.NativeMMLelement("msubsup")).appendChild(this.NativeMMLelement("mrow")),this.data[a]?this.data[a].toNativeMML(s):s.appendChild(this.NativeMMLelement("mrow")),a+1<o&&this.data[a+1]?this.data[a+1].toNativeMML(s):s.appendChild(this.NativeMMLelement("mrow")),i.insertBefore(s,n);e.appendChild(i)}else this.SUPER(arguments).toNativeMML.call(this,e)}}),e.Register.StartupHook("TeX mathchoice Ready",(function(){s.TeXmathchoice.Augment({toNativeMML:function(t){this.Core().toNativeMML(t)}})})),setTimeout(MathJax.Callback(["loadComplete",t,"jax.js"]),0)})),e.Browser.Select({MSIE:function(e){var i=document.documentMode||0;t.msieIE8HeightBug=8===i},Opera:function(e){t.stretchyMoBug=!0,t.tableLabelBug=!0,t.mfencedBug=!0,t.miBug=!0,t.mmultiscriptsBug=!0},Firefox:function(e){var i=e.versionAtLeast("29.0");t.ffTableWidthBug=!e.versionAtLeast("13.0"),t.forceReflow=!i,t.widthBug=!i,t.mtdWidthBug=!0,t.handlesVariants=i,t.spaceWidthBug=!e.versionAtLeast("20.0"),t.tableSpacingBug=!e.versionAtLeast("33.0"),t.tableLabelBug=!0,t.mfencedBug=!0},Chrome:function(e){t.tableSpacingBug=!0,t.tableLabelBug=!0,t.mfencedBug=!0},Safari:function(e){t.tableSpacingBug=!0,t.tableLabelBug=!0,t.mfencedBug=!0,t.miItalicBug=!0,t.webkitMoSpacingBug=!0,t.spaceWidthBug=!0,t.mmultiscriptsBug=!0}}),e.Register.StartupHook("End Cookie",(function(){"None"!==e.config.menuSettings.zoom&&i.Require("[MathJax]/extensions/MathZoom.js")}))}(MathJax.OutputJax.NativeMML,MathJax.Hub,MathJax.Ajax,MathJax.HTML),function(t,e,i){var a,s,n,o,r=e.Browser.isMobile,l=MathJax.Object.isArray,h=function(){var t=[].slice.call(arguments,0);return t[0][0]=["HTML-CSS",t[0][0]],MathJax.Message.Set.apply(MathJax.Message,t)},d=MathJax.Object.Subclass({timeout:1e3*(r?15:8),comparisonFont:["sans-serif","monospace","script","Times","Courier","Arial","Helvetica"],testSize:["40px","50px","60px","30px","20px"],FedoraSTIXcheck:{family:"STIXSizeOneSym",testString:"abcABC",noStyleChar:!0},Init:function(){this.div=MathJax.HTML.addElement(document.body,"div",{style:{position:"absolute",width:0,height:0,overflow:"hidden",padding:0,border:0,margin:0}},[["div",{id:"MathJax_Font_Test",style:{position:"absolute",visibility:"hidden",top:0,left:0,width:"auto","min-width":0,"max-width":"none",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"}},[""]]]).firstChild,this.text=this.div.firstChild},findFont:function(t,e){var i=null;if(e&&this.testCollection(e))i=e;else for(var a=0,s=t.length;a<s;a++)if(t[a]!==e&&this.testCollection(t[a])){i=t[a];break}return"STIX"===i&&this.testFont(this.FedoraSTIXcheck)&&(i=null),i},testCollection:function(t){var e={testString:"() {} []"};return e.family={TeX:"MathJax_Size1",STIX:"STIXSizeOneSym"}[t]||t.replace(/-(Math)?/,"")+"MathJax_Size1","STIX"===t&&(e.noStyleChar=!0),this.testFont(e)},testFont:function(t){t.isWebFont&&i.FontFaceBug?this.div.style.fontWeight=this.div.style.fontStyle="normal":(this.div.style.fontWeight=t.weight||"normal",this.div.style.fontStyle=t.style||"normal");var e=t.familyFixed||t.family;t.isWebFont||e.match(/^(STIX|MathJax)|'/)||(e=e.replace(/_/g," ").replace(/([a-z])([A-Z])/g,"$1 $2").replace(/ Jax/,"Jax")+"','"+e+"','"+e+"-",t.weight&&(e+="Bold"),t.style&&(e+="Italic"),t.weight||t.style||(e+="Regular"),t.familyFixed=e="'"+e+"'");var a=this.getComparisonWidths(t.testString,t.noStyleChar),s=null;if(a&&(this.div.style.fontFamily=e+","+this.comparisonFont[0],this.div.offsetWidth==a[0]&&(this.div.style.fontFamily=e+","+this.comparisonFont[a[2]],this.div.offsetWidth==a[1]&&(s=!1)),null===s&&(this.div.offsetWidth!=a[3]||this.div.offsetHeight!=a[4])))if(!t.noStyleChar&&i.FONTDATA&&i.FONTDATA.hasStyleChar)for(var n=0,o=this.testSize.length;n<o;n++)this.testStyleChar(t,this.testSize[n])&&(s=!0,o=0);else s=!0;return i.safariTextNodeBug?this.div.innerHTML="":this.text.nodeValue="",s},styleChar:"",versionChar:"",compChar:"",testStyleChar:function(t,e){var a=3+(t.weight?2:0)+(t.style?4:0),s="",n=0,o=this.div.style.fontSize;this.div.style.fontSize=e,i.msieItalicWidthBug&&"italic"===t.style&&(this.text.nodeValue=s=this.compChar,n=this.div.offsetWidth),i.safariTextNodeBug?this.div.innerHTML=this.compChar+s:this.text.nodeValue=this.compChar+s;var r=this.div.offsetWidth-n;i.safariTextNodeBug?this.div.innerHTML=this.styleChar+s:this.text.nodeValue=this.styleChar+s;var l=Math.floor((this.div.offsetWidth-n)/r+.5);return l===a&&(i.safariTextNodeBug?this.div.innerHTML=this.versionChar+s:this.text.nodeValue=this.versionChar+s,t.version=Math.floor((this.div.offsetWidth-n)/r+1.5)/2),this.div.style.fontSize=o,l===a},getComparisonWidths:function(t,e){i.FONTDATA&&i.FONTDATA.hasStyleChar&&!e&&(t+=this.styleChar+" "+this.compChar),i.safariTextNodeBug?this.div.innerHTML=t:this.text.nodeValue=t,this.div.style.fontFamily=this.comparisonFont[0];var a=this.div.offsetWidth;this.div.style.fontFamily=i.webFontDefault;for(var s=this.div.offsetWidth,n=this.div.offsetHeight,o=1,r=this.comparisonFont.length;o<r;o++)if(this.div.style.fontFamily=this.comparisonFont[o],this.div.offsetWidth!=a)return[a,this.div.offsetWidth,o,s,n];return null},loadWebFont:function(a){e.Startup.signal.Post("HTML-CSS Jax - Web-Font "+i.fontInUse+"/"+a.directory);var s=h(["LoadWebFont","Loading web-font %1",i.fontInUse+"/"+a.directory]),n=MathJax.Callback({}),o=MathJax.Callback(["loadComplete",this,a,s,n]);return t.timer.start(t,[this.checkWebFont,a,o],0,this.timeout),n},loadComplete:function(a,s,n,o){if(MathJax.Message.Clear(s),o===t.STATUS.OK)return this.webFontLoaded=!0,void n();if(this.loadError(a),e.Browser.isFirefox&&i.allowWebFonts){var r=document.location.protocol+"//"+document.location.hostname;""!=document.location.port&&(r+=":"+document.location.port),r+="/",t.fileURL(i.webfontDir).substr(0,r.length)!==r&&this.firefoxFontError(a)}this.webFontLoaded?n():i.loadWebFontError(a,n)},loadError:function(t){h(["CantLoadWebFont","Can't load web font %1",i.fontInUse+"/"+t.directory],null,2e3),e.Startup.signal.Post("HTML-CSS Jax - web font error for "+i.fontInUse+"/"+t.directory)},firefoxFontError:function(t){h(["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(t,e,a){t.time(a)||(i.Font.testFont(e)?a(t.STATUS.OK):setTimeout(t,t.delay))},fontFace:function(e){var a=i.allowWebFonts,s=i.FONTDATA.FONTS[e];i.msieFontCSSBug&&!s.family.match(/-Web$/)&&(s.family+="-Web"),s.isWebFont&&delete s.familyFixed;var n=i.webfontDir+"/"+a,o=t.fileURL(n),r=e.replace(/-b/,"-B").replace(/-i/,"-I").replace(/-Bold-/,"-Bold");r.match(/-/)||(r+="-Regular"),r+="svg"===a?".svg#"+r:"."+a;var l=t.fileRev(n+"/"+r.replace(/#.*/,"")),h={"font-family":s.family,src:"url('"+o+"/"+r+l+"')"};return"otf"===a?(r=r.replace(/otf$/,"woff"),l=t.fileRev(n+"/"+r),h.src+=" format('opentype')",o=t.fileURL(i.webfontDir+"/woff"),h.src="url('"+o+"/"+r+l+"') format('woff'), "+h.src):"eot"!==a&&(h.src+=" format('"+a+"')"),i.FontFaceBug&&s.isWebFont||(e.match(/-bold/)&&(h["font-weight"]="bold"),e.match(/-italic/)&&(h["font-style"]="italic")),h}}),u=MathJax.Hub.Browser.isMSIE&&(document.documentMode||0)<8;i.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","max-width":"none","max-height":"none","min-width":0,"min-height":0,border:0,padding:0,margin:0},".MathJax:focus, body :focus .MathJax":{display:"inline-table"},".MathJax_Display":{position:"relative",display:"block!important","text-indent":0,"max-width":"none","max-height":"none","min-width":0,"min-height":0,width:"100%"},".MathJax.MathJax_FullWidth":{"text-align":"center",display:(u?"block":"table-cell")+"!important",width:(u?"100%":"10000em")+"!important"},".MathJax img, .MathJax nobr, .MathJax a":{border:0,padding:0,margin:0,"max-width":"none","max-height":"none","min-width":0,"min-height":0,"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","box-sizing":"content-box"},".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_test":{"font-style":"normal","font-weight":"normal","font-size":"100%","font-size-adjust":"none","text-indent":0,"text-transform":"none","letter-spacing":"normal","word-spacing":"normal",overflow:"hidden",height:"1px"},".MathJax_test.mjx-test-display":{display:(u?"block":"table")+"!important"},".MathJax_test.mjx-test-inline":{display:"inline!important","margin-right":"-1px"},".MathJax_test.mjx-test-default":{display:"block!important",clear:"both"},".MathJax_ex_box":{display:"inline-block!important",position:"absolute",overflow:"hidden","min-height":0,"max-height":"none",padding:0,border:0,margin:0,width:"1px",height:"60ex"},".MathJax_em_box":{display:"inline-block!important",position:"absolute",overflow:"hidden","min-height":0,"max-height":"none",padding:0,border:0,margin:0,width:"1px",height:"60em"},".mjx-test-inline .MathJax_left_box":{display:"inline-block",width:0,float:"left"},".mjx-test-inline .MathJax_right_box":{display:"inline-block",width:0,float:"right"},".mjx-test-display .MathJax_right_box":{display:(u?"block":"table-cell")+"!important",width:(u?"100%":"10000em")+"!important","min-width":0,"max-width":"none",padding:0,border:0,margin:0},".MathJax .MathJax_HitBox":{cursor:"text",background:"white",opacity:0,filter:"alpha(opacity=0)"},".MathJax .MathJax_HitBox *":{filter:"none",opacity:1,background:"transparent"},"#MathJax_Tooltip":{position:"absolute",left:0,top:0,width:"auto",height:"auto",display:"none"},"#MathJax_Tooltip *":{filter:"none",opacity:1,background:"transparent"},"@font-face":{"font-family":"MathJax_Blank",src:"url('about:blank')"}}},settings:e.config.menuSettings,Font:null,webFontDefault:"MathJax_Blank",allowWebFonts:"otf",maxStretchyParts:1e3,fontName:{TeXLocal:"TeX",TeXWeb:["","TeX"],TeXImage:["",""],STIXLocal:["STIX","STIX-Web"],STIXWeb:"STIX-Web",AsanaMathWeb:"Asana-Math",GyrePagellaWeb:"Gyre-Pagella",GyreTermesWeb:"Gyre-Termes",LatinModernWeb:"Latin-Modern",NeoEulerWeb:"Neo-Euler"},fontInUse:"generic",FONTDATA:{TeX_factor:1,baselineskip:1.2,lineH:.8,lineD:.2,ffLineH:.8,FONTS:{},VARIANT:{normal:{fonts:[]},"-generic-variant":{},"-largeOp":{},"-smallOp":{}},RANGES:[],DELIMITERS:{},RULECHAR:45,REMAP:{}},Config:function(){this.require||(this.require=[]),this.Font=d(),this.SUPER(arguments).Config.call(this);var t=this.settings,i=this.config,a=t.font;this.adjustAvailableFonts&&this.adjustAvailableFonts(i.availableFonts),t.scale&&(i.scale=t.scale),a&&"Auto"!==a&&this.fontName[a]&&(i.availableFonts=[],delete i.fonts,l(this.fontName[a])?(i.preferredFont=this.fontName[a][0],i.webFont=this.fontName[a][1]):i.preferredFont=i.webFont=this.fontName[a],i.preferredFont&&(i.availableFonts[0]=i.preferredFont)),i.fonts&&(i.availableFonts=i.fonts,i.preferredFont=i.webFont=i.fonts[0],"STIX"===i.webFont&&(i.webFont+="-Web")),!(a=this.Font.findFont(i.availableFonts,i.preferredFont))&&this.allowWebFonts&&(a=i.webFont)&&(this.webFonts=!0),!a&&this.config.imageFont&&(a=i.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"))):(h(["CantFindFontUsing","Can't find a valid font using %1","["+this.config.availableFonts.join(", ")+"]"],null,3e3),e.Startup.signal.Post("HTML-CSS Jax - no valid font")),this.require.push(MathJax.OutputJax.extensionDir+"/MathEvents.js")},Startup:function(){s=MathJax.Extension.MathEvents.Event,n=MathJax.Extension.MathEvents.Touch,o=MathJax.Extension.MathEvents.Hover,this.ContextMenu=s.ContextMenu,this.Mousedown=s.AltContextMenu,this.Mouseover=o.Mouseover,this.Mouseout=o.Mouseout,this.Mousemove=o.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 e=this.addElement(this.hiddenDiv,"div",{style:{width:"5in"}});if(this.pxPerInch=e.offsetWidth/5,this.hiddenDiv.removeChild(e),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),this.msieInlineBlockAlignBug){this.HDimg=this.addElement(this.HDspan,"img",{style:{height:"0px",width:"1px"}});try{this.HDimg.src="about:blank"}catch(t){}}else this.HDimg=this.createStrut(this.HDspan,0);return this.TestSpan=this.Element("span",{className:"MathJax_test"},[["span",{className:"MathJax_left_box"}],["span",{className:"MathJax_ex_box"}],["span",{className:"MathJax_em_box"}],["span",{className:"MathJax_right_box"}]]),t.Styles(this.config.styles,["InitializeHTML",this])},removeSTIXfonts:function(t){for(var e=0,i=t.length;e<i;e++)"STIX"===t[e]&&(t.splice(e,1),i--,e--);"STIX"===this.config.preferredFont&&(this.config.preferredFont=t[0])},PreloadWebFonts:function(){if(i.allowWebFonts&&i.config.preloadWebFonts)for(var t=0,e=i.config.preloadWebFonts.length;t<e;t++){var a=i.FONTDATA.FONTS[i.config.preloadWebFonts[t]];a.available||i.Font.testFont(a)}},InitializeHTML:function(){if(this.PreloadWebFonts(),this.getDefaultExEm(),!this.defaultEm){var a=MathJax.Callback();return t.timer.start(t,(function(t){t.time(a)?e.signal.Post(["HTML-CSS Jax - no default em size"]):(i.getDefaultExEm(),i.defaultEm?a():setTimeout(t,t.delay))}),this.defaultEmDelay,this.defaultEmTimeout),a}},defaultEmDelay:100,defaultEmTimeout:1e3,getDefaultExEm:function(){var t=document.body.appendChild(this.TestSpan.cloneNode(!0));t.className+=" mjx-test-inline mjx-test-default",this.defaultEx=t.childNodes[1].offsetHeight/60,this.defaultEm=t.childNodes[2].offsetHeight/60,this.defaultWidth=Math.max(0,t.lastChild.offsetLeft-t.firstChild.offsetLeft-2),document.body.removeChild(t)},preTranslate:function(t){var i,a,o,r,l,h,d,u,c,m,p,M,f,g=t.jax[this.id],b=g.length,x=!1,v=this.config.linebreaks.automatic,T=this.config.linebreaks.width;for(v?((x=null!=T.match(/^\s*(\d+(\.\d*)?%\s*)?container\s*$/))?T=T.replace(/\s*container\s*/,""):M=this.defaultWidth,""===T&&(T="100%")):M=1e5,i=0;i<b;i++)(o=g[i]).parentNode&&((r=o.previousSibling)&&String(r.className).match(/^MathJax(_Display)?( MathJax_Process(ing|ed))?$/)&&r.parentNode.removeChild(r),o.MathJax.preview&&(o.MathJax.preview.style.display="none"),(u=o.MathJax.elementJax)&&(u.HTMLCSS={display:"block"===u.root.Get("display")},l=h=this.Element("span",{className:"MathJax",id:u.inputID+"-Frame",isMathJax:!0,jaxID:this.id,oncontextmenu:s.Menu,onmousedown:s.Mousedown,onmouseover:s.Mouseover,onmouseout:s.Mouseout,onmousemove:s.Mousemove,onclick:s.Click,ondblclick:s.DblClick,onkeydown:s.Keydown,tabIndex:e.getTabOrder(u)}),e.Browser.noContextMenu&&(l.ontouchstart=n.start,l.ontouchend=n.end),u.HTMLCSS.display?(h=this.Element("div",{className:"MathJax_Display"})).appendChild(l):this.msieDisappearingBug&&(l.style.display="inline-block"),h.className+=" MathJax_Processing",o.parentNode.insertBefore(h,o),u.HTMLCSS.span=l,u.HTMLCSS.div=h,(d=this.TestSpan.cloneNode(!0)).className+=" mjx-test-"+(u.HTMLCSS.display?"display":"inline"),o.parentNode.insertBefore(d,o)));var L=[];for(i=0;i<b;i++)(o=g[i]).parentNode&&(h=(d=o.previousSibling).previousSibling,(u=o.MathJax.elementJax)&&(c=d.childNodes[1].offsetHeight/60,m=d.childNodes[2].offsetHeight/60,f=Math.max(0,u.HTMLCSS.display?d.lastChild.offsetWidth-1:d.lastChild.offsetLeft-d.firstChild.offsetLeft-2),0!==c&&"NaN"!==c||(L.push(h),u.HTMLCSS.isHidden=!0,c=this.defaultEx,m=this.defaultEm,f=this.defaultWidth),0!==f||u.HTMLCSS.display||(f=this.defaultWidth),x&&(M=f),p=this.config.matchFontHeight?c/this.TeX.x_height/m:1,p=Math.floor(Math.max(this.config.minScaleAdjust/100,p)*this.config.scale),u.HTMLCSS.scale=p/100,u.HTMLCSS.fontSize=p+"%",u.HTMLCSS.em=u.HTMLCSS.outerEm=m,this.em=m*p/100,u.HTMLCSS.ex=c,u.HTMLCSS.cwidth=f/this.em,u.HTMLCSS.lineWidth=v?this.length2em(T,1,M/this.em):1e6));for(i=0,a=L.length;i<a;i++)this.hiddenDiv.appendChild(L[i]),this.addElement(this.hiddenDiv,"br");for(i=0;i<b;i++)(o=g[i]).parentNode&&(u=g[i].MathJax.elementJax)&&(o.parentNode.removeChild(o.previousSibling),o.MathJax.preview&&(o.MathJax.preview.style.display=""));t.HTMLCSSeqn=t.HTMLCSSlast=0,t.HTMLCSSi=-1,t.HTMLCSSchunk=this.config.EqnChunk,t.HTMLCSSdelay=!1},PHASE:{I:1,II:2,III:3},Translate:function(t,i){if(t.parentNode){i.HTMLCSSdelay&&(i.HTMLCSSdelay=!1,e.RestartAfter(MathJax.Callback.Delay(this.config.EqnChunkDelay)));var a=t.MathJax.elementJax,s=a.root,n=a.HTMLCSS.div,o=a.HTMLCSS.span;if(document.getElementById(o.id)){this.getMetrics(a),1!==this.scale&&(o.style.fontSize=a.HTMLCSS.fontSize),this.initImg(o),this.initHTML(s,o),this.savePreview(t);try{s.setTeXclass(),s.toHTML(o,n,this.PHASE.I)}catch(e){if(e.restart)for(;o.firstChild;)o.removeChild(o.firstChild);throw this.restorePreview(t),e}return this.restorePreview(t),n.className=n.className.split(/ /)[0]+" MathJax_Processed",e.signal.Post(["New Math Pending",a.inputID]),i.HTMLCSSeqn+=i.i-i.HTMLCSSi,i.HTMLCSSi=i.i,i.HTMLCSSeqn>=i.HTMLCSSlast+i.HTMLCSSchunk&&(this.postTranslate(i,!0),i.HTMLCSSchunk=Math.floor(i.HTMLCSSchunk*this.config.EqnChunkFactor),i.HTMLCSSdelay=!0),!1}}},savePreview:function(t){var e=t.MathJax.preview;e&&(t.MathJax.tmpPreview=document.createElement("span"),e.parentNode.replaceChild(t.MathJax.tmpPreview,e))},restorePreview:function(t){var e=t.MathJax.tmpPreview;e&&(e.parentNode.replaceChild(t.MathJax.preview,e),delete t.MathJax.tmpPreview)},getMetrics:function(t){var e=t.HTMLCSS;this.em=a.mbase.prototype.em=e.em*e.scale,this.outerEm=e.em,this.scale=e.scale,this.cwidth=e.cwidth,this.linebreakWidth=e.lineWidth},postTranslate:function(t,i){var a,s,n,o,r=t.jax[this.id];for(n=t.HTMLCSSlast,o=t.HTMLCSSeqn;n<o;n++)if((a=r[n])&&a.parentNode&&a.MathJax.elementJax){var l=(a.MathJax.elementJax.HTMLCSS||{}).div;l&&(l.className=l.className.split(/ /)[0]),a.MathJax.preview&&(a.MathJax.preview.innerHTML="")}for(n=t.HTMLCSSlast,o=t.HTMLCSSeqn;n<o;n++)(a=r[n])&&a.parentNode&&a.MathJax.elementJax&&(s=a.MathJax.elementJax,this.getMetrics(s),s.HTMLCSS.span&&s.HTMLCSS.div&&s.root.toHTML(s.HTMLCSS.span,s.HTMLCSS.div,this.PHASE.II));for(n=t.HTMLCSSlast,o=t.HTMLCSSeqn;n<o;n++)(a=r[n])&&a.parentNode&&a.MathJax.elementJax&&(s=a.MathJax.elementJax,this.getMetrics(s),s.HTMLCSS.span&&s.HTMLCSS.div&&(s.root.toHTML(s.HTMLCSS.span,s.HTMLCSS.div,this.PHASE.III),s.HTMLCSS.isHidden&&a.parentNode.insertBefore(s.HTMLCSS.div,a),delete s.HTMLCSS.span,delete s.HTMLCSS.div,a.MathJax.state=s.STATE.PROCESSED,e.signal.Post(["New Math",a.MathJax.elementJax.inputID])));if(this.forceReflow){var h=(document.styleSheets||[])[0]||{};h.disabled=!0,h.disabled=!1}t.HTMLCSSlast=t.HTMLCSSeqn},getJaxFromMath:function(t){t.parentNode.className.match(/MathJax_Display/)&&(t=t.parentNode);do{t=t.nextSibling}while(t&&"script"!==t.nodeName.toLowerCase());return e.getJaxFor(t)},getHoverSpan:function(t,e){return t.root.HTMLspanElement()},getHoverBBox:function(t,e,i){var a=e.bbox,s=t.HTMLCSS.outerEm,n={w:a.w*s,h:a.h*s,d:a.d*s};return a.width&&(n.width=a.width),n},Zoom:function(t,n,o,r,l){n.className="MathJax",n.style.fontSize=t.HTMLCSS.fontSize;var h=n.appendChild(this.TestSpan.cloneNode(!0)),d=h.childNodes[2].offsetHeight/60;this.em=a.mbase.prototype.em=d,this.outerEm=d/t.HTMLCSS.scale,h.parentNode.removeChild(h),this.scale=t.HTMLCSS.scale,this.linebreakWidth=t.HTMLCSS.lineWidth,this.cwidth=t.HTMLCSS.cwidth,this.zoomScale=parseInt(e.config.menuSettings.zscale)/100,this.idPostfix="-zoom",t.root.toHTML(n,n),this.idPostfix="",this.zoomScale=1;var u=t.root.HTMLspanElement().bbox,c=u.width;if(c){u.tw&&(r=u.tw*d),u.w*d<r&&(r=u.w*d),n.style.width=Math.floor(r-1.5*i.em)+"px",n.style.display="inline-block";for(var m=(t.root.id||"MathJax-Span-"+t.root.spanID)+"-zoom",p=document.getElementById(m).firstChild;p&&p.style.width!==c;)p=p.nextSibling;if(p){var M=p.offsetWidth;p.style.width="100%",M>r&&(n.style.width=M+100+"px")}}p=n.firstChild.firstChild.style,null!=u.H&&u.H>u.h&&(p.marginTop=i.Em(u.H-Math.max(u.h,i.FONTDATA.lineH))),null!=u.D&&u.D>u.d&&(p.marginBottom=i.Em(u.D-Math.max(u.d,i.FONTDATA.lineD))),u.lw<0&&(p.paddingLeft=i.Em(-u.lw)),u.rw>u.w&&(p.marginRight=i.Em(u.rw-u.w)),n.style.position="absolute",c||(o.style.position="absolute");var f=n.offsetWidth,g=n.offsetHeight,b=o.offsetHeight,x=o.offsetWidth;return n.style.position=o.style.position="",{Y:-s.getBBox(n).h,mW:x,mH:b,zW:f,zH:g}},initImg:function(t){},initHTML:function(t,e){},initFont:function(e){var a=i.FONTDATA.FONTS,s=i.config.availableFonts;return s&&s.length&&i.Font.testFont(a[e])?(a[e].available=!0,a[e].familyFixed&&(a[e].family=a[e].familyFixed,delete a[e].familyFixed),null):this.allowWebFonts?(a[e].isWebFont=!0,i.FontFaceBug&&(a[e].family=e,i.msieFontCSSBug&&(a[e].family+="-Web")),t.Styles({"@font-face":this.Font.fontFace(e)})):null},Remove:function(t){var e=document.getElementById(t.inputID+"-Frame");e&&(t.HTMLCSS.display&&(e=e.parentNode),e.parentNode.removeChild(e)),delete t.HTMLCSS},getHD:function(t,e){if(t.bbox&&this.config.noReflows&&!e)return{h:t.bbox.h,d:t.bbox.d};var i=t.style.position;t.style.position="absolute",this.HDimg.style.height="0px",t.appendChild(this.HDspan);var a={h:t.offsetHeight};return this.HDimg.style.height=a.h+"px",a.d=t.offsetHeight-a.h,a.h-=a.d,a.h/=this.em,a.d/=this.em,t.removeChild(this.HDspan),t.style.position=i,a},getW:function(t){var e,i,a=(t.bbox||{}).w,s=t;if(t.bbox&&this.config.noReflows&&!1!==t.bbox.exactW)return t.bbox.exactW||(t.style.paddingLeft&&(a+=this.unEm(t.style.paddingLeft)*(t.scale||1)),t.style.paddingRight&&(a+=this.unEm(t.style.paddingRight)*(t.scale||1))),a;if(t.bbox&&t.bbox.exactW)return a;if(t.bbox&&a>=0&&!this.initialSkipBug&&!this.msieItalicWidthBug||this.negativeBBoxes||!t.firstChild)e=t.offsetWidth,i=t.parentNode.offsetHeight;else if(t.bbox&&a<0&&this.msieNegativeBBoxBug)e=-t.offsetWidth,i=t.parentNode.offsetHeight;else{var n=t.style.position;t.style.position="absolute",s=this.startMarker,t.insertBefore(s,t.firstChild),t.appendChild(this.endMarker),e=this.endMarker.offsetLeft-s.offsetLeft,t.removeChild(this.endMarker),t.removeChild(s),t.style.position=n}return null!=i&&(t.parentNode.HH=i/this.em),e/this.em},Measured:function(t,e){var i=t.bbox;if(null==i.width&&i.w&&!i.isMultiline){var a=this.getW(t);i.rw+=a-i.w,i.w=a,i.exactW=!0}return e||(e=t.parentNode),e.bbox||(e.bbox=i),t},Remeasured:function(t,e){e.bbox=this.Measured(t,e).bbox},MeasureSpans:function(t){var e,i,a,s,n,o,r,l,h=[];for(i=0,a=t.length;i<a;i++)(e=t[i])&&(s=e.bbox,l=this.parentNode(e),s.exactW||s.width||0===s.w||s.isMultiline||this.config.noReflows&&!1!==s.exactW?l.bbox||(l.bbox=s):this.negativeBBoxes||!e.firstChild||s.w>=0&&!this.initialSkipBug||s.w<0&&this.msieNegativeBBoxBug?h.push([e]):this.initialSkipBug?(n=this.startMarker.cloneNode(!0),o=this.endMarker.cloneNode(!0),e.insertBefore(n,e.firstChild),e.appendChild(o),h.push([e,n,o,e.style.position]),e.style.position="absolute"):(o=this.endMarker.cloneNode(!0),e.appendChild(o),h.push([e,null,o])));for(i=0,a=h.length;i<a;i++)s=(e=h[i][0]).bbox,l=this.parentNode(e),s.w>=0&&!this.initialSkipBug||this.negativeBBoxes||!e.firstChild?(r=e.offsetWidth,l.HH=l.offsetHeight/this.em):s.w<0&&this.msieNegativeBBoxBug?(r=-e.offsetWidth,l.HH=l.offsetHeight/this.em):r=h[i][2].offsetLeft-((h[i][1]||{}).offsetLeft||0),r/=this.em,s.rw+=r-s.w,s.w=r,s.exactW=!0,l.bbox||(l.bbox=s);for(i=0,a=h.length;i<a;i++)(e=h[i])[1]&&(e[1].parentNode.removeChild(e[1]),e[0].style.position=e[3]),e[2]&&e[2].parentNode.removeChild(e[2])},Em:function(t){return Math.abs(t)<6e-4?"0em":t.toFixed(3).replace(/\.?0+$/,"")+"em"},EmRounded:function(t){return Math.abs(t)<6e-4?"0em":(t=(Math.round(t*i.em)+.05)/i.em).toFixed(3).replace(/\.?0+$/,"")+"em"},unEm:function(t){return parseFloat(t)},Px:function(t){return((t*=this.em)<0?"-":"")+Math.abs(t).toFixed(1).replace(/\.?0+$/,"")+"px"},unPx:function(t){return parseFloat(t)/this.em},Percent:function(t){return(100*t).toFixed(1).replace(/\.?0+$/,"")+"%"},length2em:function(t,e,s){if("string"!=typeof t&&(t=t.toString()),""===t)return"";if(t===a.SIZE.NORMAL)return 1;if(t===a.SIZE.BIG)return 2;if(t===a.SIZE.SMALL)return.71;if("infinity"===t)return i.BIGDIMEN;var n=this.FONTDATA.TeX_factor,o=(i.zoomScale||1)/i.em;if(t.match(/mathspace$/))return i.MATHSPACE[t]*n;var r=t.match(/^\s*([-+]?(?:\.\d+|\d+(?:\.\d*)?))?(pt|em|ex|mu|px|pc|in|mm|cm|%)?/),l=parseFloat(r[1]||"1"),h=r[2];return null==s&&(s=1),null==e&&(e=1),"em"===h?l*n:"ex"===h?l*i.TeX.x_height*n:"%"===h?l/100*s:"px"===h?l*o:"pt"===h?l/10*n:"pc"===h?1.2*l*n:"in"===h?l*this.pxPerInch*o:"cm"===h?l*this.pxPerInch*o/2.54:"mm"===h?l*this.pxPerInch*o/25.4:"mu"===h?l/18*n*e:l*s},thickness2em:function(t,e){var s=i.TeX.rule_thickness;return t===a.LINETHICKNESS.MEDIUM?s:t===a.LINETHICKNESS.THIN?.67*s:t===a.LINETHICKNESS.THICK?1.67*s:this.length2em(t,e,s)},border2em:function(t,e){return t===a.LINETHICKNESS.THIN&&(t="1px"),t===a.LINETHICKNESS.MEDIUM&&(t="3px"),t===a.LINETHICKNESS.THICK&&(t="5px"),this.length2em(t,e)},getPadding:function(t){var e={top:0,right:0,bottom:0,left:0},i=!1;for(var a in e)if(e.hasOwnProperty(a)){var s=t.style["padding"+a.charAt(0).toUpperCase()+a.substr(1)];s&&(e[a]=this.length2em(s),i=!0)}return!!i&&e},getBorders:function(t){var e={top:0,right:0,bottom:0,left:0},i={},s=!1;for(var n in e)if(e.hasOwnProperty(n)){var o="border"+n.charAt(0).toUpperCase()+n.substr(1);t.style[o+"Style"]&&(s=!0,e[n]=this.border2em(t.style[o+"Width"]||a.LINETHICKNESS.MEDIUM),i[o]=[t.style[o+"Width"],t.style[o+"Style"],t.style[o+"Color"]].join(" "))}return e.css=i,!!s&&e},setBorders:function(t,e){if(e)for(var i in e.css)e.css.hasOwnProperty(i)&&(t.style[i]=e.css[i])},createStrut:function(t,e,i){var a=this.Element("span",{isMathJax:!0,style:{display:"inline-block",overflow:"hidden",height:e+"px",width:"1px",marginRight:"-1px"}});return i?t.insertBefore(a,t.firstChild):t.appendChild(a),a},createBlank:function(t,e,i){var a=this.Element("span",{isMathJax:!0,style:{display:"inline-block",overflow:"hidden",height:"1px",width:this.Em(e)}});return e<0&&(a.style.marginRight=a.style.width,a.style.width=0),i?t.insertBefore(a,t.firstChild):t.appendChild(a),a},createShift:function(t,e,i){var a=this.Element("span",{style:{marginLeft:this.Em(e)},isMathJax:!0});return i?t.insertBefore(a,t.firstChild):t.appendChild(a),a},createSpace:function(t,e,s,n,o,r){e<-s&&(s=-e);var l=this.Em(e+s),h=this.Em(-s);if(this.msieInlineBlockAlignBug&&(h=this.Em(i.getHD(t.parentNode,!0).d-s)),t.isBox||r){var d=null==t.scale?1:t.scale;t.bbox={exactW:!0,h:e*d,d:s*d,w:n*d,rw:n*d,lw:0},t.style.height=l,t.style.verticalAlign=h,t.HH=(e+s)*d}else t=this.addElement(t,"span",{style:{height:l,verticalAlign:h},isMathJax:!0});return n>=0?(t.style.width=this.Em(n),t.style.display="inline-block",t.style.overflow="hidden"):(this.msieNegativeSpaceBug&&(t.style.height=""),t.style.marginLeft=this.Em(n),i.safariNegativeSpaceBug&&t.parentNode.firstChild==t&&this.createBlank(t,0,!0)),o&&o!==a.COLOR.TRANSPARENT&&(t.style.backgroundColor=o,t.style.position="relative"),t},createRule:function(t,e,a,s,n){e<-a&&(a=-e);var o=i.TeX.min_rule_thickness,r=1;s>0&&s*this.em<o&&(s=o/this.em),e+a>0&&(e+a)*this.em<o&&(e*=r=1/(e+a)*(o/this.em),a*=r),n=n?"solid "+n:"solid";var l={display:"inline-block",overflow:"hidden",verticalAlign:this.Em(-a)};s>e+a?(l.borderTop=this.Px(e+a)+" "+n,l.width=this.Em(s),l.height=this.msieRuleBug&&e+a>0?this.Em(e+a):0):(l.borderLeft=this.Px(s)+" "+n,l.width=this.msieRuleBug&&s>0?this.Em(s):0,l.height=this.Em(e+a));var h=this.addElement(t,"span",{style:l,noAdjust:!0,HH:e+a,isMathJax:!0,bbox:{h:e,d:a,w:s,rw:s,lw:0,exactW:!0}});return(t.isBox||"mspace"==t.className)&&(t.bbox=h.bbox,t.HH=e+a),h},createFrame:function(t,e,i,a,s,n){e<-i&&(i=-e);var o=2*s;this.msieFrameSizeBug&&(a<o&&(a=o),e+i<o&&(e=o-i)),this.msieBorderWidthBug&&(o=0);var r=this.Em(e+i-o),l=this.Em(-i-s),h=this.Em(a-o),d=this.Px(s)+" "+n,u=this.addElement(t,"span",{style:{border:d,display:"inline-block",overflow:"hidden",width:h,height:r},bbox:{h:e,d:i,w:a,rw:a,lw:0,exactW:!0},noAdjust:!0,HH:e+i,isMathJax:!0});return l&&(u.style.verticalAlign=l),u},parentNode:function(t){var e=t.parentNode;return"a"===e.nodeName.toLowerCase()&&(e=e.parentNode),e},createStack:function(t,e,i){this.msiePaddingWidthBug&&this.createStrut(t,0);var a=String(i).match(/%$/),s=a||null==i?0:i;return t=this.addElement(t,"span",{noAdjust:!0,HH:0,isMathJax:!0,style:{display:"inline-block",position:"relative",width:a?"100%":this.Em(s),height:0}}),e||(t.parentNode.bbox=t.bbox={exactW:!0,h:-this.BIGDIMEN,d:-this.BIGDIMEN,w:s,lw:this.BIGDIMEN,rw:a||null==i?-this.BIGDIMEN:i},a&&(t.bbox.width=i)),t},createBox:function(t,e){var i=this.addElement(t,"span",{style:{position:"absolute"},isBox:!0,isMathJax:!0});return null!=e&&(i.style.width=e),i},addBox:function(t,e){return e.style.position="absolute",e.isBox=e.isMathJax=!0,t.appendChild(e)},placeBox:function(t,e,a,s){t.isMathJax=!0;var n=i.parentNode(t),o=t.bbox,r=n.bbox;this.msiePlaceBoxBug&&this.addText(t,this.NBSP),this.imgSpaceBug&&this.addText(t,this.imgSpace);var l,h=0;if(null!=t.HH)l=t.HH;else if(o){var d=t.firstChild;l=Math.max(3,3*(d&&d.scale||1),o.h+o.d)}else l=t.offsetHeight/this.em;if(t.noAdjust||(l+=1,l=Math.round(l*this.em)/this.em,this.msieInlineBlockAlignBug?this.addElement(t,"img",{className:"MathJax_strut",border:0,src:"about:blank",isMathJax:!0,style:{width:0,height:this.Em(l)}}):(this.addElement(t,"span",{isMathJax:!0,style:{display:"inline-block",width:0,height:this.Em(l)}}),i.chromeHeightBug&&(l-=(t.lastChild.offsetHeight-Math.round(l*this.em))/this.em))),o&&(this.initialSkipBug&&(o.lw<0&&(h=o.lw,i.createBlank(t,-h,!0)),o.rw>o.w&&i.createBlank(t,o.rw-o.w+.1)),!this.msieClipRectBug&&!o.noclip&&!s)){var u=3/this.em,c=l-(null==o.H?o.h:o.H)-u,m=l+(null==o.D?o.d:o.D)+u,p=o.rw+1e3;t.style.clip="rect("+this.Em(c)+" "+this.Em(p)+" "+this.Em(m)+" "+this.Em(-1e3)+")"}t.style.top=this.Em(-a-l),t.style.left=this.Em(e+h),o&&r&&(null!=o.H&&(null==r.H||o.H+a>r.H)&&(r.H=o.H+a),null!=o.D&&(null==r.D||o.D-a>r.D)&&(r.D=o.D-a),o.h+a>r.h&&(r.h=o.h+a),o.d-a>r.d&&(r.d=o.d-a),null!=r.H&&r.H<=r.h&&delete r.H,null!=r.D&&r.D<=r.d&&delete r.D,o.w+e>r.w&&(r.w=o.w+e,null==r.width&&(n.style.width=this.Em(r.w))),o.rw+e>r.rw&&(r.rw=o.rw+e),o.lw+e<r.lw&&(r.lw=o.lw+e),null==o.width||o.isFixed||(null==r.width&&(n.style.width=r.width="100%",o.minWidth&&(n.style.minWidth=r.minWidth=o.minWidth)),t.style.width=o.width),o.tw&&(r.tw=o.tw))},alignBox:function(t,i,a,s,n){if(null==s&&(s=0),this.placeBox(t,s,a),this.msiePlaceBoxBug){for(var o=t.lastChild;o&&"#text"!==o.nodeName;)o=o.previousSibling;o&&t.removeChild(o)}var r=t.bbox;if(!r.isMultiline||n){var l=null!=r.width&&!r.isFixed,h=0,d=s-r.w/2,u="50%";this.initialSkipBug&&(h=r.w-r.rw-.1,d+=r.lw),d=this.msieMarginScaleBug?d*this.em+"px":this.Em(d),l&&(d=0===s?"":this.Em(s),u=50-parseFloat(r.width)/2+"%"),e.Insert(t.style,{right:{left:"",right:this.Em(h-s)},center:{left:u,marginLeft:d}}[i])}},setStackWidth:function(t,e){if("number"==typeof e){t.style.width=this.Em(Math.max(0,e));var i=t.bbox;i&&(i.w=e,i.exactW=!0),(i=t.parentNode.bbox)&&(i.w=e,i.exactW=!0)}else t.style.width=t.parentNode.style.width="100%",t.bbox&&(t.bbox.width=e),t.parentNode.bbox&&(t.parentNode.bbox.width=e)},createDelimiter:function(i,s,n,o,r){if(!s)return i.bbox={h:0,d:0,w:this.TeX.nulldelimiterspace,lw:0},i.bbox.rw=i.bbox.w,void this.createSpace(i,i.bbox.h,i.bbox.d,i.bbox.w);o||(o=1),n instanceof Array||(n=[n,n]);var l=n[1];n=n[0];for(var h={alias:s};h.alias;)s=h.alias,(h=this.FONTDATA.DELIMITERS[s])||(h={HW:[0,this.FONTDATA.VARIANT[a.VARIANT.NORMAL]]});h.load&&e.RestartAfter(t.Require(this.fontDir+"/fontdata-"+h.load+".js"));for(var d=0,u=h.HW.length;d<u;d++)if(h.HW[d][0]*o>=n-.01||d==u-1&&!h.stretch){h.HW[d][2]&&(o*=h.HW[d][2]),h.HW[d][3]&&(s=h.HW[d][3]);var c=this.addElement(i,"span");return this.createChar(c,[s,h.HW[d][1]],o,r),i.bbox=c.bbox,i.offset=.65*i.bbox.w,void(i.scale=o)}h.stretch&&this["extendDelimiter"+h.dir](i,l,h.stretch,o,r)},extendDelimiterV:function(t,e,i,a,s){var n=this.createStack(t,!0),o=this.createBox(n),r=this.createBox(n);this.createChar(o,i.top||i.ext,a,s),this.createChar(r,i.bot||i.ext,a,s);var l,h={bbox:{w:0,lw:0,rw:0}},d=h,u=o.bbox.h+o.bbox.d+r.bbox.h+r.bbox.d,c=-o.bbox.h;if(this.placeBox(o,0,c,!0),c-=o.bbox.d,i.mid&&(d=this.createBox(n),this.createChar(d,i.mid,a,s),u+=d.bbox.h+d.bbox.d),i.min&&e<u*i.min&&(e=u*i.min),e>u){h=this.Element("span"),this.createChar(h,i.ext,a,s);var m,p,M=h.bbox.h+h.bbox.d,f=M-.05,g=i.mid?2:1;p=m=Math.min(Math.ceil((e-u)/(g*f)),this.maxStretchyParts),i.fullExtenders||(f=(e-u)/(g*m));var b=m/(m+1)*(M-f);for(c+=b+(f=M-b)-h.bbox.h;g-- >0;){for(;m-- >0;)this.msieCloneNodeBug?(l=this.Element("span"),this.createChar(l,i.ext,a,s)):l=h.cloneNode(!0),l.bbox=h.bbox,c-=f,this.placeBox(this.addBox(n,l),0,c,!0);c+=b-h.bbox.d,i.mid&&g&&(this.placeBox(d,0,c-d.bbox.h,!0),m=p,c+=-(d.bbox.h+d.bbox.d)+b+f-h.bbox.h)}}else c+=(u-e)/2,i.mid&&(this.placeBox(d,0,c-d.bbox.h,!0),c+=-(d.bbox.h+d.bbox.d)),c+=(u-e)/2;this.placeBox(r,0,c-r.bbox.h,!0),c-=r.bbox.h+r.bbox.d,t.bbox={w:Math.max(o.bbox.w,h.bbox.w,r.bbox.w,d.bbox.w),lw:Math.min(o.bbox.lw,h.bbox.lw,r.bbox.lw,d.bbox.lw),rw:Math.max(o.bbox.rw,h.bbox.rw,r.bbox.rw,d.bbox.rw),h:0,d:-c,exactW:!0},t.scale=a,t.offset=.55*t.bbox.w,t.isMultiChar=!0,this.setStackWidth(n,t.bbox.w)},extendDelimiterH:function(t,e,i,a,s){var n=this.createStack(t,!0),o=this.createBox(n),r=this.createBox(n);this.createChar(o,i.left||i.rep,a,s),this.createChar(r,i.right||i.rep,a,s);var l=this.Element("span");this.createChar(l,i.rep,a,s);var h,d={bbox:{h:-this.BIGDIMEN,d:-this.BIGDIMEN}};this.placeBox(o,-o.bbox.lw,0,!0);var u,c=o.bbox.rw-o.bbox.lw+(r.bbox.rw-r.bbox.lw)-.05,m=o.bbox.rw-o.bbox.lw-.025;if(i.mid&&(d=this.createBox(n),this.createChar(d,i.mid,a,s),c+=d.bbox.w),i.min&&e<c*i.min&&(e=c*i.min),e>c){var p,M,f=l.bbox.rw-l.bbox.lw,g=f-.05,b=i.mid?2:1;for(M=p=Math.min(Math.ceil((e-c)/(b*g)),this.maxStretchyParts),i.fillExtenders||(g=(e-c)/(b*p)),g=f-(u=p/(p+1)*(f-g)),m-=l.bbox.lw+u;b-- >0;){for(;p-- >0;)this.cloneNodeBug?(h=this.Element("span"),this.createChar(h,i.rep,a,s)):h=l.cloneNode(!0),h.bbox=l.bbox,this.placeBox(this.addBox(n,h),m,0,!0),m+=g;i.mid&&b&&(this.placeBox(d,m,0,!0),m+=d.bbox.w-u,p=M)}}else m-=(c-e)/2,i.mid&&(this.placeBox(d,m,0,!0),m+=d.bbox.w),m-=(c-e)/2;m-=r.bbox.lw,this.placeBox(r,m,0,!0),t.bbox={w:m+r.bbox.rw,lw:0,rw:m+r.bbox.rw,h:Math.max(o.bbox.h,l.bbox.h,r.bbox.h,d.bbox.h),d:Math.max(o.bbox.d,l.bbox.d,r.bbox.d,d.bbox.d),exactW:!0},t.scale=a,t.isMultiChar=!0,this.setStackWidth(n,t.bbox.w)},createChar:function(t,e,i,s){t.isMathJax=!0;var n=t,o="",r={fonts:[e[1]],noRemap:!0};if(s&&s===a.VARIANT.BOLD&&(r.fonts=[e[1]+"-bold",e[1]]),"string"!=typeof e[1]&&(r=e[1]),e[0]instanceof Array)for(var l=0,h=e[0].length;l<h;l++)o+=String.fromCharCode(e[0][l]);else o=String.fromCharCode(e[0]);e[4]&&(i*=e[4]),1!==i||e[3]?(n=this.addElement(t,"span",{style:{fontSize:this.Percent(i)},scale:i,isMathJax:!0}),this.handleVariant(n,r,o),t.bbox=n.bbox):this.handleVariant(t,r,o),e[2]&&(t.style.marginLeft=this.Em(e[2])),e[3]&&(t.firstChild.style.verticalAlign=this.Em(e[3]),t.bbox.h+=e[3],t.bbox.h<0&&(t.bbox.h=0)),e[5]&&(t.bbox.h+=e[5]),e[6]&&(t.bbox.d+=e[6]),this.AccentBug&&0===t.bbox.w&&(n.firstChild.nodeValue+=this.NBSP)},positionDelimiter:function(t,e){e-=t.bbox.h,t.bbox.d-=e,t.bbox.h+=e,e&&(this.safariVerticalAlignBug||this.konquerorVerticalAlignBug||this.operaVerticalAlignBug&&t.isMultiChar?(""===t.firstChild.style.display&&""!==t.style.top&&(t=t.firstChild,e-=i.unEm(t.style.top)),t.style.position="relative",t.style.top=this.Em(-e)):(t.style.verticalAlign=this.Em(e),i.ffVerticalAlignBug&&(i.createRule(t.parentNode,t.bbox.h,0,0),delete t.parentNode.bbox)))},handleVariant:function(t,e,s){var n,o,r,h,d="",u=t,c=!!t.style.fontFamily;if(0!==s.length){t.bbox||(t.bbox={w:0,h:-this.BIGDIMEN,d:-this.BIGDIMEN,rw:-this.BIGDIMEN,lw:this.BIGDIMEN}),e||(e=this.FONTDATA.VARIANT[a.VARIANT.NORMAL]),h=e;for(var m=0,p=s.length;m<p;m++){if(e=h,n=s.charCodeAt(m),s.charAt(m),n>=55296&&n<56319){if(m++,n=(n-55296<<10)+(s.charCodeAt(m)-56320)+65536,this.FONTDATA.RemapPlane1){var M=this.FONTDATA.RemapPlane1(n,e);n=M.n,e=M.variant}}else{var f,g,b=this.FONTDATA.RANGES;for(f=0,g=b.length;f<g;f++)if("alpha"!==b[f].name||!e.noLowerCase){var x=e["offset"+b[f].offset];if(x&&n>=b[f].low&&n<=b[f].high){if(b[f].remap&&b[f].remap[n])n=x+b[f].remap[n];else{if(b[f].remapOnly)break;n=n-b[f].low+x,b[f].add&&(n+=b[f].add)}e["variant"+b[f].offset]&&(e=this.FONTDATA.VARIANT[e["variant"+b[f].offset]]);break}}}if(e.remap&&e.remap[n]?(n=e.remap[n],e.remap.variant&&(e=this.FONTDATA.VARIANT[e.remap.variant])):this.FONTDATA.REMAP[n]&&!e.noRemap&&(n=this.FONTDATA.REMAP[n]),l(n)&&(e=this.FONTDATA.VARIANT[n[1]],n=n[0]),"string"!=typeof n){if(o=(r=this.lookupChar(e,n))[n],c||!this.checkFont(r,u.style)&&!o[5].img){d.length&&(this.addText(u,d),d="");var v=!!u.style.fontFamily||!!t.style.fontStyle||!!t.style.fontWeight||!r.directory||c;c=!1,u!==t&&(v=!this.checkFont(r,t.style),u=t),v&&(u=this.addElement(t,"span",{isMathJax:!0,subSpan:!0})),this.handleFont(u,r,u!==t)}d=this.handleChar(u,r,o,n,d),(o[5]||{}).space||(o[0]/1e3>t.bbox.h&&(t.bbox.h=o[0]/1e3),o[1]/1e3>t.bbox.d&&(t.bbox.d=o[1]/1e3)),t.bbox.w+o[3]/1e3<t.bbox.lw&&(t.bbox.lw=t.bbox.w+o[3]/1e3),t.bbox.w+o[4]/1e3>t.bbox.rw&&(t.bbox.rw=t.bbox.w+o[4]/1e3),t.bbox.w+=o[2]/1e3,(o[5]||{}).isUnknown&&(t.bbox.exactW=!1)}else p=(s=n+s.substr(m+1)).length,m=-1}d.length&&this.addText(u,d),t.scale&&1!==t.scale&&(t.bbox.h*=t.scale,t.bbox.d*=t.scale,t.bbox.w*=t.scale,t.bbox.lw*=t.scale,t.bbox.rw*=t.scale),i.isChar(s)&&r.skew&&r.skew[n]&&(t.bbox.skew=r.skew[n])}},checkFont:function(t,e){var i=e.fontWeight||"normal";return i.match(/^\d+$/)&&(i=parseInt(i)>=600?"bold":"normal"),t.family.replace(/'/g,"")===e.fontFamily.replace(/'/g,"")&&((t.style||"normal")===(e.fontStyle||"normal")&&(t.weight||"normal")===i||this.FontFaceBug&&""!==e.fontFamily)},handleFont:function(t,e,a){if(t.style.fontFamily=e.family,e.directory||(t.style.fontSize=Math.floor(i.config.scale/i.scale+.5)+"%"),!i.FontFaceBug||!e.isWebFont){var s=e.style||"normal",n=e.weight||"normal";("normal"!==s||a)&&(t.style.fontStyle=s),("normal"!==n||a)&&(t.style.fontWeight=n)}},handleChar:function(t,e,a,s,n){var o=a[5];if(o.space)return n.length&&this.addText(t,n),i.createShift(t,a[2]/1e3),"";if(o.img)return this.handleImg(t,e,a,s,n);if(o.isUnknown&&this.FONTDATA.DELIMITERS[s]){n.length&&this.addText(t,n);var r=t.scale;return i.createDelimiter(t,s,0,1,e),"V"===this.FONTDATA.DELIMITERS[s].dir&&(t.style.verticalAlign=this.Em(t.bbox.d),t.bbox.h+=t.bbox.d,t.bbox.d=0),t.scale=r,a[0]=1e3*t.bbox.h,a[1]=1e3*t.bbox.d,a[2]=1e3*t.bbox.w,a[3]=1e3*t.bbox.lw,a[4]=1e3*t.bbox.rw,""}if(null==o.c)if(s<=65535)o.c=String.fromCharCode(s);else{var l=s-65536;o.c=String.fromCharCode(55296+(l>>10))+String.fromCharCode(56320+(1023&l))}return i.ffFontOptimizationBug&&a[4]-a[2]>125&&(t.style.textRendering="optimizeLegibility"),o.rfix?(this.addText(t,n+o.c),i.createShift(t,o.rfix/1e3),""):a[2]||!this.msieAccentBug&&!this.combiningCharBug||n.length?n+o.c:this.combiningCharBug?(i.addElement(t,"span",{style:{marginLeft:i.Em(a[3]/1e3)}},[o.c]),""):(i.createShift(t,a[3]/1e3),i.createShift(t,(a[4]-a[3])/1e3),this.addText(t,o.c),i.createShift(t,-a[4]/1e3),"")},handleImg:function(t,e,i,a,s){return s},lookupChar:function(t,e){var a,s;if(!t.FONTS){var n=this.FONTDATA.FONTS,o=t.fonts||this.FONTDATA.VARIANT.normal.fonts;for(o instanceof Array||(o=[o]),t.fonts!=o&&(t.fonts=o),t.FONTS=[],a=0,s=o.length;a<s;a++)n[o[a]]&&(t.FONTS.push(n[o[a]]),n[o[a]].name=o[a])}for(a=0,s=t.FONTS.length;a<s;a++){var r=t.FONTS[a];if("string"==typeof r&&(delete t.FONTS,this.loadFont(r)),r[e]){if(5===r[e].length&&(r[e][5]={}),!i.allowWebFonts||r.available)return r;this.loadWebFont(r)}else this.findBlock(r,e)}return this.unknownChar(t,e)},unknownChar:function(t,a){var s=t.defaultFont||{family:i.config.undefinedFamily};return t.bold&&(s.weight="bold"),t.italic&&(s.style="italic"),s[a]||(s[a]=[800,200,500,0,500,{isUnknown:!0}]),e.signal.Post(["HTML-CSS Jax - unknown char",a,t]),s},isChar:function(t){if(1===t.length)return!0;if(2!==t.length)return!1;var e=t.charCodeAt(0);return e>=55296&&e<56319},findBlock:function(t,e){if(t.Ranges)for(var i=0,a=t.Ranges.length;i<a;i++){if(e<t.Ranges[i][0])return;if(e<=t.Ranges[i][1]){for(var s=t.Ranges[i][2],n=t.Ranges.length-1;n>=0;n--)t.Ranges[n][2]==s&&t.Ranges.splice(n,1);this.loadFont(t.directory+"/"+s+".js")}}},loadFont:function(a){var s=MathJax.Callback.Queue();s.Push(["Require",t,this.fontDir+"/"+a]),this.imgFonts&&(MathJax.isPacked||(a=a.replace(/\/([^\/]*)$/,i.imgPacked+"/$1")),s.Push(["Require",t,this.webfontDir+"/png/"+a])),e.RestartAfter(s.Push({}))},loadWebFont:function(t){t.available=t.isWebFont=!0,i.FontFaceBug&&(t.family=t.name,i.msieFontCSSBug&&(t.family+="-Web")),e.RestartAfter(this.Font.loadWebFont(t))},loadWebFontError:function(i,a){e.Startup.signal.Post("HTML-CSS Jax - disable web fonts"),i.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"),h(["WebFontNotAvailable","Web-Fonts not available -- using image fonts instead"],null,3e3),t.Require(this.directory+"/imageFonts.js",a)):(this.allowWebFonts=!1,a())},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(){return this.ID++,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:.3,min_rule_thickness:1.25},NBSP:" ",rfuzz:0}),MathJax.Hub.Register.StartupHook("mml Jax Ready",(function(){(a=MathJax.ElementJax.mml).mbase.Augment({toHTML:function(t){t=this.HTMLcreateSpan(t),"mrow"!=this.type&&(t=this.HTMLhandleSize(t));for(var e=0,i=this.data.length;e<i;e++)this.data[e]&&this.data[e].toHTML(t);var a,s=this.HTMLcomputeBBox(t),n=t.bbox.h,o=t.bbox.d,r=!1;for(e=0,i=s.length;e<i;e++)a=s[e].HTMLspanElement().bbox,s[e].forceStretch||a.h!==n||a.d!==o?(s[e].HTMLstretchV(t,n,o),r=!0):s[e].needsBBox&&(r=!0);return r&&this.HTMLcomputeBBox(t,!0),this.HTMLlineBreaks(t)&&(t=this.HTMLmultiline(t)),this.HTMLhandleSpace(t),this.HTMLhandleColor(t),1===this.data.length&&this.data[0]&&(a=this.data[0].HTMLspanElement().bbox).skew&&(t.bbox.skew=a.skew),t},HTMLlineBreaks:function(){return!1},HTMLmultiline:function(){a.mbase.HTMLautoloadFile("multiline")},HTMLcomputeBBox:function(t,e,i,a){null==i&&(i=0),null==a&&(a=this.data.length);for(var s=t.bbox={exactW:!0},n=[];i<a;){var o=this.data[i];o&&(!e&&o.HTMLcanStretch("Vertical")&&(n.push(o),o=o.CoreMO()||o,n[n.length-1].needsBBox=o!==this.data[i]),this.HTMLcombineBBoxes(o,s),i++)}return this.HTMLcleanBBox(s),n},HTMLcombineBBoxes:function(t,e){null==e.w&&this.HTMLemptyBBox(e);var a=t.bbox?t:t.HTMLspanElement();if(a&&a.bbox){var s=a.bbox;s.d>e.d&&(e.d=s.d),s.h>e.h&&(e.h=s.h),null!=s.D&&s.D>e.D&&(e.D=s.D),null!=s.H&&s.H>e.H&&(e.H=s.H),a.style.paddingLeft&&(e.w+=i.unEm(a.style.paddingLeft)*(a.scale||1)),e.w+s.lw<e.lw&&(e.lw=e.w+s.lw),e.w+s.rw>e.rw&&(e.rw=e.w+s.rw),e.w+=s.w,a.style.paddingRight&&(e.w+=i.unEm(a.style.paddingRight)*(a.scale||1)),s.width&&(e.width=s.width,e.minWidth=s.minWidth),s.tw&&(e.tw=s.tw),s.ic?e.ic=s.ic:delete e.ic,e.exactW&&!s.exactW&&(e.exactW=s.exactW)}},HTMLemptyBBox:function(t){return t.h=t.d=t.H=t.D=t.rw=-i.BIGDIMEN,t.w=0,t.lw=i.BIGDIMEN,t},HTMLcleanBBox:function(t){t.h===this.BIGDIMEN&&(t.h=t.d=t.H=t.D=t.w=t.rw=t.lw=0),t.D<=t.d&&delete t.D,t.H<=t.h&&delete t.H},HTMLzeroBBox:function(){return{h:0,d:0,w:0,lw:0,rw:0}},HTMLcanStretch:function(t){if(this.isEmbellished()){var e=this.Core();if(e&&e!==this)return e.HTMLcanStretch(t)}return!1},HTMLstretchH:function(t,e){return this.HTMLspanElement()},HTMLstretchV:function(t,e,i){return this.HTMLspanElement()},HTMLnotEmpty:function(t){for(;t;){if("mrow"!==t.type&&"texatom"!==t.type||t.data.length>1)return!0;t=t.data[0]}return!1},HTMLmeasureChild:function(t,e){this.data[t]?i.Measured(this.data[t].toHTML(e),e):e.bbox=this.HTMLzeroBBox()},HTMLboxChild:function(t,e){return this.data[t]||this.SetData(t,a.mrow()),this.data[t].toHTML(e)},HTMLcreateSpan:function(t){if(this.spanID){var e=this.HTMLspanElement();if(e&&(e.parentNode===t||(e.parentNode||{}).parentNode===t)){for(;e.firstChild;)e.removeChild(e.firstChild);return e.bbox=this.HTMLzeroBBox(),e.scale=1,e.isMultChar=e.HH=null,e.style.cssText="",e}}return this.href&&(t=i.addElement(t,"a",{href:this.href,isMathJax:!0})),t=i.addElement(t,"span",{className:this.type,isMathJax:!0}),i.imgHeightBug&&(t.style.display="inline-block"),this.class&&(t.className+=" "+this.class),this.spanID||(this.spanID=i.GetID()),t.id=(this.id||"MathJax-Span-"+this.spanID)+i.idPostfix,t.bbox=this.HTMLzeroBBox(),this.styles={},this.style&&(t.style.cssText=this.style,t.style.fontSize&&(this.mathsize=t.style.fontSize,t.style.fontSize=""),this.styles={border:i.getBorders(t),padding:i.getPadding(t)},this.styles.border&&(t.style.border=""),this.styles.padding&&(t.style.padding="")),this.href&&(t.parentNode.bbox=t.bbox),this.HTMLaddAttributes(t),t},HTMLaddAttributes:function(t){if(this.attrNames)for(var i=this.attrNames,s=a.nocopyAttributes,n=e.config.ignoreMMLattributes,o="mstyle"===this.type?a.math.prototype.defaults:this.defaults,r=0,l=i.length;r<l;r++){var h=i[r];0!=n[h]&&(s[h]||n[h]||null!=o[h]||void 0!==t[h])||t.setAttribute(h,this.attr[h])}},HTMLspanElement:function(){return this.spanID?document.getElementById((this.id||"MathJax-Span-"+this.spanID)+i.idPostfix):null},HTMLhandleVariant:function(t,e,a){i.handleVariant(t,e,a)},HTMLhandleSize:function(t){return t.scale||(t.scale=this.HTMLgetScale(),1!==t.scale&&(t.style.fontSize=i.Percent(t.scale))),t},HTMLhandleDir:function(t){var e=this.Get("dir",!0);return e&&(t.dir=e),t},HTMLhandleColor:function(t){var e=this.getValues("mathcolor","color");this.mathbackground&&(e.mathbackground=this.mathbackground),this.background&&(e.background=this.background),this.style&&t.style.backgroundColor&&(e.mathbackground=t.style.backgroundColor,t.style.backgroundColor="transparent");var s=(this.styles||{}).border,n=(this.styles||{}).padding;if(e.color&&!this.mathcolor&&(e.mathcolor=e.color),e.background&&!this.mathbackground&&(e.mathbackground=e.background),e.mathcolor&&(t.style.color=e.mathcolor),e.mathbackground&&e.mathbackground!==a.COLOR.TRANSPARENT||s||n){var o=t.bbox,r=o.exact?0:1/i.em,l=0,h=0,d=t.style.paddingLeft,u=t.style.paddingRight;this.isToken&&(l=o.lw,h=o.rw-o.w),""!==d&&(l+=i.unEm(d)*(t.scale||1)),""!==u&&(h-=i.unEm(u)*(t.scale||1));var c=i.PaddingWidthBug||o.keepPadding||o.exactW?0:h-l,m=Math.max(0,i.getW(t)+c),p=o.h+o.d,M=-o.d,f=0,g=0;m>0&&(m+=2*r,l-=r),p>0&&(p+=2*r,M-=r),h=-m-l,s&&(h-=s.right,M-=s.bottom,f+=s.left,g+=s.right,o.h+=s.top,o.d+=s.bottom,o.w+=s.left+s.right,o.lw-=s.left,o.rw+=s.right),n&&(p+=n.top+n.bottom,m+=n.left+n.right,h-=n.right,M-=n.bottom,f+=n.left,g+=n.right,o.h+=n.top,o.d+=n.bottom,o.w+=n.left+n.right,o.lw-=n.left,o.rw+=n.right),g&&(t.style.paddingRight=i.Em(g));var b=i.Element("span",{id:"MathJax-Color-"+this.spanID+i.idPostfix,isMathJax:!0,style:{display:"inline-block",backgroundColor:e.mathbackground,width:i.Em(m),height:i.Em(p),verticalAlign:i.Em(M),marginLeft:i.Em(l),marginRight:i.Em(h)}});return i.setBorders(b,s),o.width&&(b.style.width=o.width,b.style.marginRight="-"+o.width),i.msieInlineBlockAlignBug&&(b.style.position="relative",b.style.width=b.style.height=0,b.style.verticalAlign=b.style.marginLeft=b.style.marginRight="",b.style.border=b.style.padding="",s&&i.msieBorderWidthBug&&(p+=s.top+s.bottom,m+=s.left+s.right),b.style.width=i.Em(f+r),i.placeBox(i.addElement(b,"span",{noAdjust:!0,isMathJax:!0,style:{display:"inline-block",position:"absolute",overflow:"hidden",background:e.mathbackground||"transparent",width:i.Em(m),height:i.Em(p)}}),l,o.h+r),i.setBorders(b.firstChild,s)),t.parentNode.insertBefore(b,t),i.msieColorPositionBug&&(t.style.position="relative"),b}return null},HTMLremoveColor:function(){var t=document.getElementById("MathJax-Color-"+this.spanID+i.idPostfix);t&&t.parentNode.removeChild(t)},HTMLhandleSpace:function(t){if(this.hasMMLspacing()){if("mo"!==this.type)return;var e=this.getValues("scriptlevel","lspace","rspace");if(e.scriptlevel<=0||this.hasValue("lspace")||this.hasValue("rspace")){var a=this.HTMLgetMu(t);e.lspace=Math.max(0,i.length2em(e.lspace,a)),e.rspace=Math.max(0,i.length2em(e.rspace,a));for(var s=this,n=this.Parent();n&&n.isEmbellished()&&n.Core()===s;)s=n,n=n.Parent(),t=s.HTMLspanElement();e.lspace&&(t.style.paddingLeft=i.Em(e.lspace)),e.rspace&&(t.style.paddingRight=i.Em(e.rspace))}}else{var o=this.texSpacing();""!==o&&(this.HTMLgetScale(),o=i.length2em(o,this.scale)/(t.scale||1)*this.mscale,t.style.paddingLeft&&(o+=i.unEm(t.style.paddingLeft)),t.style.paddingLeft=i.Em(o))}},HTMLgetScale:function(){if(this.scale)return this.scale*this.mscale;var t=1,e=this.getValues("scriptlevel","fontsize");if(e.mathsize=(this.isToken?this:this.Parent()).Get("mathsize"),this.style){var a=this.HTMLspanElement();""!=a.style.fontSize&&(e.fontsize=a.style.fontSize)}return e.fontsize&&!this.mathsize&&(e.mathsize=e.fontsize),0!==e.scriptlevel&&(e.scriptlevel>2&&(e.scriptlevel=2),t=Math.pow(this.Get("scriptsizemultiplier"),e.scriptlevel),e.scriptminsize=i.length2em(this.Get("scriptminsize")),t<e.scriptminsize&&(t=e.scriptminsize)),this.scale=t,this.mscale=i.length2em(e.mathsize),t*this.mscale},HTMLgetMu:function(t){var e=1,i=this.getValues("scriptlevel","scriptsizemultiplier");return t.scale&&1!==t.scale&&(e=1/t.scale),0!==i.scriptlevel&&(i.scriptlevel>2&&(i.scriptlevel=2),e=Math.sqrt(Math.pow(i.scriptsizemultiplier,i.scriptlevel))),e},HTMLgetVariant:function(){var t=this.getValues("mathvariant","fontfamily","fontweight","fontstyle");if(t.hasVariant=this.Get("mathvariant",!0),t.hasVariant||(t.family=t.fontfamily,t.weight=t.fontweight,t.style=t.fontstyle),this.style){var e=this.HTMLspanElement();!t.family&&e.style.fontFamily&&(t.family=e.style.fontFamily),!t.weight&&e.style.fontWeight&&(t.weight=e.style.fontWeight),!t.style&&e.style.fontStyle&&(t.style=e.style.fontStyle)}t.weight&&t.weight.match(/^\d+$/)&&(t.weight=parseInt(t.weight)>600?"bold":"normal");var s=t.mathvariant;return this.variantForm&&(s="-"+i.fontInUse+"-variant"),t.family&&!t.hasVariant?(!t.weight&&t.mathvariant.match(/bold/)&&(t.weight="bold"),!t.style&&t.mathvariant.match(/italic/)&&(t.style="italic"),{FONTS:[],fonts:[],noRemap:!0,defaultFont:{family:t.family,style:t.style,weight:t.weight}}):("bold"===t.weight?s={normal:a.VARIANT.BOLD,italic:a.VARIANT.BOLDITALIC,fraktur:a.VARIANT.BOLDFRAKTUR,script:a.VARIANT.BOLDSCRIPT,"sans-serif":a.VARIANT.BOLDSANSSERIF,"sans-serif-italic":a.VARIANT.SANSSERIFBOLDITALIC}[s]||s:"normal"===t.weight&&(s={bold:a.VARIANT.normal,"bold-italic":a.VARIANT.ITALIC,"bold-fraktur":a.VARIANT.FRAKTUR,"bold-script":a.VARIANT.SCRIPT,"bold-sans-serif":a.VARIANT.SANSSERIF,"sans-serif-bold-italic":a.VARIANT.SANSSERIFITALIC}[s]||s),"italic"===t.style?s={normal:a.VARIANT.ITALIC,bold:a.VARIANT.BOLDITALIC,"sans-serif":a.VARIANT.SANSSERIFITALIC,"bold-sans-serif":a.VARIANT.SANSSERIFBOLDITALIC}[s]||s:"normal"===t.style&&(s={italic:a.VARIANT.NORMAL,"bold-italic":a.VARIANT.BOLD,"sans-serif-italic":a.VARIANT.SANSSERIF,"sans-serif-bold-italic":a.VARIANT.BOLDSANSSERIF}[s]||s),s in i.FONTDATA.VARIANT||(s="normal"),i.FONTDATA.VARIANT[s])},HTMLdrawBBox:function(t){var e=t.bbox,a=i.Element("span",{style:{"font-size":t.style.fontSize,display:"inline-block",opacity:.25,"margin-left":i.Em(-e.w)}},[["span",{style:{height:i.Em(e.h),width:i.Em(e.w),"background-color":"red",display:"inline-block"}}],["span",{style:{height:i.Em(e.d),width:i.Em(e.w),"margin-left":i.Em(-e.w),"vertical-align":i.Em(-e.d),"background-color":"green",display:"inline-block"}}]]);t.nextSibling?t.parentNode.insertBefore(a,t.nextSibling):t.parentNode.appendChild(a)}},{HTMLautoload:function(){this.constructor.Augment({toHTML:a.mbase.HTMLautoloadFail});var s=i.autoloadDir+"/"+this.type+".js";e.RestartAfter(t.Require(s))},HTMLautoloadFail:function(){throw Error("HTML-CSS can't autoload '"+this.type+"'")},HTMLautoloadList:{},HTMLautoloadFile:function(s){if(a.mbase.HTMLautoloadList.hasOwnProperty(s))throw Error("HTML-CSS can't autoload file '"+s+"'");a.mbase.HTMLautoloadList[s]=!0;var n=i.autoloadDir+"/"+s+".js";e.RestartAfter(t.Require(n))},HTMLstretchH:function(t,e){return this.HTMLremoveColor(),this.toHTML(t,e)},HTMLstretchV:function(t,e,i){return this.HTMLremoveColor(),this.toHTML(t,e,i)}}),a.chars.Augment({toHTML:function(t,e,a,s){var n=this.data.join("").replace(/[\u2061-\u2064]/g,"");if(a&&(n=a(n,s)),e.fontInherit){var o=Math.floor(i.config.scale/i.scale+.5)+"%";i.addElement(t,"span",{style:{"font-size":o}},[n]),e.bold&&(t.lastChild.style.fontWeight="bold"),e.italic&&(t.lastChild.style.fontStyle="italic"),t.bbox=null;var r=i.getHD(t),l=i.getW(t);t.bbox={h:r.h,d:r.d,w:l,lw:0,rw:l,exactW:!0}}else this.HTMLhandleVariant(t,e,n)}}),a.entity.Augment({toHTML:function(t,e,a,s){var n=this.toString().replace(/[\u2061-\u2064]/g,"");if(a&&(n=a(n,s)),e.fontInherit){var o=Math.floor(i.config.scale/i.scale+.5)+"%";i.addElement(t,"span",{style:{"font-size":o}},[n]),e.bold&&(t.lastChild.style.fontWeight="bold"),e.italic&&(t.lastChild.style.fontStyle="italic"),delete t.bbox;var r=i.getHD(t),l=i.getW(t);t.bbox={h:r.h,d:r.d,w:l,lw:0,rw:l,exactW:!0}}else this.HTMLhandleVariant(t,e,n)}}),a.mi.Augment({toHTML:function(t){(t=this.HTMLhandleSize(this.HTMLcreateSpan(t))).bbox=null;for(var e=this.HTMLgetVariant(),a=0,s=this.data.length;a<s;a++)this.data[a]&&this.data[a].toHTML(t,e);t.bbox||(t.bbox=this.HTMLzeroBBox());var n=this.data.join(""),o=t.bbox;return o.skew&&!i.isChar(n)&&delete o.skew,o.rw>o.w&&i.isChar(n)&&!e.noIC&&(o.ic=o.rw-o.w,i.createBlank(t,o.ic/this.mscale),o.w=o.rw),this.HTMLhandleSpace(t),this.HTMLhandleColor(t),this.HTMLhandleDir(t),t}}),a.mn.Augment({HTMLremapMinus:function(t){return t.replace(/^-/,"−")},toHTML:function(t){(t=this.HTMLhandleSize(this.HTMLcreateSpan(t))).bbox=null;for(var e=this.HTMLgetVariant(),a=this.HTMLremapMinus,s=0,n=this.data.length;s<n;s++)this.data[s]&&(this.data[s].toHTML(t,e,a),a=null);return t.bbox||(t.bbox=this.HTMLzeroBBox()),i.isChar(this.data.join(""))||delete t.bbox.skew,this.HTMLhandleSpace(t),this.HTMLhandleColor(t),this.HTMLhandleDir(t),t}}),a.mo.Augment({toHTML:function(t){if(t=this.HTMLhandleSize(this.HTMLcreateSpan(t)),0==this.data.length)return t;t.bbox=null;var e=this.data.join(""),s=this.HTMLgetVariant(),n=this.getValues("largeop","displaystyle");n.largeop&&(s=i.FONTDATA.VARIANT[n.displaystyle?"-largeOp":"-smallOp"]);var o=this.CoreParent(),r=o&&o.isa(a.msubsup)&&this!==o.data[o.base],l=r?this.remapChars:null;if(i.isChar(e)&&o&&o.isa(a.munderover)&&i.isChar(this.CoreText(o.data[o.base]))){var h=o.data[o.over],d=o.data[o.under];h&&this===h.CoreMO()&&o.Get("accent")?l=i.FONTDATA.REMAPACCENT:d&&this===d.CoreMO()&&o.Get("accentunder")&&(l=i.FONTDATA.REMAPACCENTUNDER)}r&&e.match(/['`"\u00B4\u2032-\u2037\u2057]/)&&(s=i.FONTDATA.VARIANT["-"+i.fontInUse+"-variant"]);for(var u=0,c=this.data.length;u<c;u++)this.data[u]&&this.data[u].toHTML(t,s,this.remap,l);if(t.bbox||(t.bbox=this.HTMLzeroBBox()),i.isChar(e)||delete t.bbox.skew,i.AccentBug&&0===t.bbox.w&&i.isChar(e)&&t.firstChild&&(t.firstChild.nodeValue+=i.NBSP,i.createSpace(t,0,0,-t.offsetWidth/i.em)),n.largeop){var m=i.TeX.axis_height*this.scale*this.mscale,p=(t.bbox.h-t.bbox.d)/2-m;i.safariVerticalAlignBug&&"IMG"===t.lastChild.nodeName?t.lastChild.style.verticalAlign=i.Em(i.unEm(t.lastChild.style.verticalAlign||0)/i.em-p/t.scale):i.konquerorVerticalAlignBug&&"IMG"===t.lastChild.nodeName?(t.style.position="relative",t.lastChild.style.position="relative",t.lastChild.style.top=i.Em(p/t.scale)):t.style.verticalAlign=i.Em(-p/t.scale),t.bbox.h-=p,t.bbox.d+=p,t.bbox.rw>t.bbox.w&&(t.bbox.ic=t.bbox.rw-t.bbox.w,i.createBlank(t,t.bbox.ic/this.mscale),t.bbox.w=t.bbox.rw)}return this.HTMLhandleSpace(t),this.HTMLhandleColor(t),this.HTMLhandleDir(t),t},HTMLcanStretch:function(t){if(!this.Get("stretchy"))return!1;var e=this.data.join("");if(e.length>1)return!1;var s=this.CoreParent();if(s&&s.isa(a.munderover)&&i.isChar(this.CoreText(s.data[s.base]))){var n=s.data[s.over],o=s.data[s.under];n&&this===n.CoreMO()&&s.Get("accent")?e=i.FONTDATA.REMAPACCENT[e]||e:o&&this===o.CoreMO()&&s.Get("accentunder")&&(e=i.FONTDATA.REMAPACCENTUNDER[e]||e)}var r=(e=i.FONTDATA.DELIMITERS[e.charCodeAt(0)])&&e.dir===t.substr(0,1);return this.forceStretch=r&&(this.Get("minsize",!0)||this.Get("maxsize",!0)),r},HTMLstretchV:function(t,e,a){this.HTMLremoveColor();var s,n=this.getValues("symmetric","maxsize","minsize"),o=this.HTMLspanElement(),r=this.HTMLgetMu(o),l=this.HTMLgetScale(),h=i.TeX.axis_height*l;return s=n.symmetric?2*Math.max(e-h,a+h):e+a,n.maxsize=i.length2em(n.maxsize,r,o.bbox.h+o.bbox.d),n.minsize=i.length2em(n.minsize,r,o.bbox.h+o.bbox.d),(s=Math.max(n.minsize,Math.min(n.maxsize,s)))!=n.minsize&&(s=[Math.max(s*i.TeX.delimiterfactor/1e3,s-i.TeX.delimitershortfall),s]),o=this.HTMLcreateSpan(t),i.createDelimiter(o,this.data.join("").charCodeAt(0),s,l),s=n.symmetric?(o.bbox.h+o.bbox.d)/2+h:(o.bbox.h+o.bbox.d)*e/(e+a),i.positionDelimiter(o,s),this.HTMLhandleSpace(o),this.HTMLhandleColor(o),o},HTMLstretchH:function(t,e){this.HTMLremoveColor();var s=this.getValues("maxsize","minsize","mathvariant","fontweight");("bold"===s.fontweight||parseInt(s.fontweight)>=600)&&!this.Get("mathvariant",!0)&&(s.mathvariant=a.VARIANT.BOLD);var n=this.HTMLspanElement(),o=this.HTMLgetMu(n),r=n.scale;return s.maxsize=i.length2em(s.maxsize,o,n.bbox.w),s.minsize=i.length2em(s.minsize,o,n.bbox.w),e=Math.max(s.minsize,Math.min(s.maxsize,e)),n=this.HTMLcreateSpan(t),i.createDelimiter(n,this.data.join("").charCodeAt(0),e,r,s.mathvariant),this.HTMLhandleSpace(n),this.HTMLhandleColor(n),n}}),a.mtext.Augment({toHTML:function(t){t=this.HTMLhandleSize(this.HTMLcreateSpan(t));var e=this.HTMLgetVariant();if(i.config.mtextFontInherit||"merror"===this.Parent().type){var a=this.Get("mathvariant");"monospace"===a?t.className+=" MJX-monospace":a.match(/sans-serif/)&&(t.className+=" MJX-sans-serif"),e={bold:e.bold,italic:e.italic,fontInherit:!0}}for(var s=0,n=this.data.length;s<n;s++)this.data[s]&&this.data[s].toHTML(t,e);return t.bbox||(t.bbox=this.HTMLzeroBBox()),i.isChar(this.data.join(""))||delete t.bbox.skew,this.HTMLhandleSpace(t),this.HTMLhandleColor(t),this.HTMLhandleDir(t),t}}),a.merror.Augment({toHTML:function(t){var e=MathJax.HTML.addElement(t,"span",{style:{display:"inline-block"}});t=this.SUPER(arguments).toHTML.call(this,e);var a=i.getHD(e),s=i.getW(e);return e.bbox={h:a.h,d:a.d,w:s,lw:0,rw:s,exactW:!0},e.id=t.id,t.id=null,e}}),a.ms.Augment({toHTML:a.mbase.HTMLautoload}),a.mglyph.Augment({toHTML:a.mbase.HTMLautoload}),a.mspace.Augment({toHTML:function(t){t=this.HTMLcreateSpan(t);var e=this.getValues("height","depth","width"),a=this.HTMLgetMu(t);this.HTMLgetScale(),e.mathbackground=this.mathbackground,this.background&&!this.mathbackground&&(e.mathbackground=this.background);var s=i.length2em(e.height,a)*this.mscale,n=i.length2em(e.depth,a)*this.mscale,o=i.length2em(e.width,a)*this.mscale;return i.createSpace(t,s,n,o,e.mathbackground,!0),t}}),a.mphantom.Augment({toHTML:function(t,e,a){if(t=this.HTMLcreateSpan(t),null!=this.data[0]){var s=this.data[0].toHTML(t);null!=a?i.Remeasured(this.data[0].HTMLstretchV(t,e,a),t):null!=e?i.Remeasured(this.data[0].HTMLstretchH(t,e),t):s=i.Measured(s,t),t.bbox={w:s.bbox.w,h:s.bbox.h,d:s.bbox.d,lw:0,rw:0,exactW:!0};for(var n=0,o=t.childNodes.length;n<o;n++)t.childNodes[n].style.visibility="hidden"}return this.HTMLhandleSpace(t),this.HTMLhandleColor(t),t},HTMLstretchH:a.mbase.HTMLstretchH,HTMLstretchV:a.mbase.HTMLstretchV}),a.mpadded.Augment({toHTML:function(t,e,a){if(t=this.HTMLcreateSpan(t),null!=this.data[0]){var s=i.createStack(t,!0),n=i.createBox(s),o=this.data[0].toHTML(n);null!=a?i.Remeasured(this.data[0].HTMLstretchV(n,e,a),n):null!=e?i.Remeasured(this.data[0].HTMLstretchH(n,e),n):i.Measured(o,n);var r=this.getValues("height","depth","width","lspace","voffset"),l=0,h=0,d=this.HTMLgetMu(t);this.HTMLgetScale(),r.lspace&&(l=this.HTMLlength2em(n,r.lspace,d)),r.voffset&&(h=this.HTMLlength2em(n,r.voffset,d)),i.placeBox(n,l,h),l/=this.mscale,h/=this.mscale,t.bbox={h:n.bbox.h,d:n.bbox.d,w:n.bbox.w,exactW:!0,lw:n.bbox.lw+l,rw:n.bbox.rw+l,H:Math.max(null==n.bbox.H?-i.BIGDIMEN:n.bbox.H+h,n.bbox.h+h),D:Math.max(null==n.bbox.D?-i.BIGDIMEN:n.bbox.D-h,n.bbox.d-h)},""!==r.height&&(t.bbox.h=this.HTMLlength2em(n,r.height,d,"h",0)),""!==r.depth&&(t.bbox.d=this.HTMLlength2em(n,r.depth,d,"d",0)),""!==r.width&&(t.bbox.w=this.HTMLlength2em(n,r.width,d,"w",0)),t.bbox.H<=t.bbox.h&&delete t.bbox.H,t.bbox.D<=t.bbox.d&&delete t.bbox.D;var u=/^\s*(\d+(\.\d*)?|\.\d+)\s*(pt|em|ex|mu|px|pc|in|mm|cm)\s*$/;t.bbox.exact=!!(this.data[0]&&0==this.data[0].data.length||u.exec(r.height)||u.exec(r.width)||u.exec(r.depth)),i.setStackWidth(s,t.bbox.w)}return this.HTMLhandleSpace(t),this.HTMLhandleColor(t),t},HTMLlength2em:function(t,e,a,s,n){null==n&&(n=-i.BIGDIMEN);var o=String(e).match(/width|height|depth/),r=o?t.bbox[o[0].charAt(0)]:s?t.bbox[s]:0,l=i.length2em(e,a,r/this.mscale)*this.mscale;return s&&String(e).match(/^\s*[-+]/)?Math.max(n,t.bbox[s]+l):l},HTMLstretchH:a.mbase.HTMLstretchH,HTMLstretchV:a.mbase.HTMLstretchV}),a.mrow.Augment({HTMLlineBreaks:function(t){return!!this.parent.linebreakContainer&&(i.config.linebreaks.automatic&&t.bbox.w>i.linebreakWidth||this.hasNewline())},HTMLstretchH:function(t,e){this.HTMLremoveColor();var i=this.HTMLspanElement();return this.data[this.core].HTMLstretchH(i,e),this.HTMLcomputeBBox(i,!0),this.HTMLhandleColor(i),i},HTMLstretchV:function(t,e,i){this.HTMLremoveColor();var a=this.HTMLspanElement();return this.data[this.core].HTMLstretchV(a,e,i),this.HTMLcomputeBBox(a,!0),this.HTMLhandleColor(a),a}}),a.mstyle.Augment({toHTML:function(t,e,i){if(t=this.HTMLcreateSpan(t),null!=this.data[0]){var a=this.data[0].toHTML(t);null!=i?this.data[0].HTMLstretchV(t,e,i):null!=e&&this.data[0].HTMLstretchH(t,e),t.bbox=a.bbox}return this.HTMLhandleSpace(t),this.HTMLhandleColor(t),t},HTMLstretchH:a.mbase.HTMLstretchH,HTMLstretchV:a.mbase.HTMLstretchV}),a.mfrac.Augment({toHTML:function(t){t=this.HTMLcreateSpan(t);var e=i.createStack(t),a=i.createBox(e),s=i.createBox(e);i.MeasureSpans([this.HTMLboxChild(0,a),this.HTMLboxChild(1,s)]);var n=this.getValues("displaystyle","linethickness","numalign","denomalign","bevelled"),o=this.HTMLgetScale(),r=n.displaystyle,l=i.TeX.axis_height*o;if(n.bevelled){var h=r?.4:.15,d=Math.max(a.bbox.h+a.bbox.d,s.bbox.h+s.bbox.d)+2*h,u=i.createBox(e);i.createDelimiter(u,47,d),i.placeBox(a,0,(a.bbox.d-a.bbox.h)/2+l+h),i.placeBox(u,a.bbox.w-h/2,(u.bbox.d-u.bbox.h)/2+l),i.placeBox(s,a.bbox.w+u.bbox.w-h,(s.bbox.d-s.bbox.h)/2+l-h)}else{var c,m,p,M,f=Math.max(a.bbox.w,s.bbox.w),g=i.thickness2em(n.linethickness,this.scale)*this.mscale,b=i.TeX.min_rule_thickness/this.em;if(r?(p=i.TeX.num1,M=i.TeX.denom1):(p=0===g?i.TeX.num3:i.TeX.num2,M=i.TeX.denom2),p*=o,M*=o,0===g)c=Math.max((r?7:3)*i.TeX.rule_thickness,2*b),(m=p-a.bbox.d-(s.bbox.h-M))<c&&(p+=(c-m)/2,M+=(c-m)/2);else{c=Math.max((r?2:0)*b+g,g/2+1.5*b),(m=p-a.bbox.d-(l+g/2))<c&&(p+=c-m),(m=l-g/2-(s.bbox.h-M))<c&&(M+=c-m);var x=i.createBox(e);i.createRule(x,g,0,f+2*g),i.placeBox(x,0,l-g/2)}i.alignBox(a,n.numalign,p,0,!0),i.alignBox(s,n.denomalign,-M,0,!0)}return this.HTMLhandleSpace(t),this.HTMLhandleColor(t),t},HTMLcanStretch:function(t){return!1},HTMLhandleSpace:function(t){if(!this.texWithDelims){var e=i.TeX.nulldelimiterspace*this.mscale,a=t.childNodes[i.msiePaddingWidthBug?1:0].style;a.marginLeft=a.marginRight=i.Em(e),t.bbox.w+=2*e,t.bbox.rw+=2*e}this.SUPER(arguments).HTMLhandleSpace.call(this,t)}}),a.msqrt.Augment({toHTML:function(t){t=this.HTMLcreateSpan(t);var e,a,s,n,o=i.createStack(t),r=i.createBox(o),l=i.createBox(o),h=i.createBox(o),d=this.HTMLgetScale(),u=i.TeX.rule_thickness*d;e=this.Get("displaystyle")?i.TeX.x_height*d:u,a=Math.max(u+e/4,1.5*i.TeX.min_rule_thickness/this.em);var c=this.HTMLboxChild(0,r);s=c.bbox.h+c.bbox.d+a+u,i.createDelimiter(h,8730,s,d),i.MeasureSpans([c,h]),n=c.bbox.w;var m=0;(h.isMultiChar||i.AdjustSurd&&i.imgFonts)&&(h.bbox.w*=.95),h.bbox.h+h.bbox.d>s&&(a=(h.bbox.h+h.bbox.d-(s-u))/2);var p=i.FONTDATA.DELIMITERS[i.FONTDATA.RULECHAR];return!p||n<(p.HW[0]||[0])[0]*d||d<.75?(i.createRule(l,0,u,n),l.bbox.h=-u):i.createDelimiter(l,i.FONTDATA.RULECHAR,n,d),a=(s=c.bbox.h+a+u)*i.rfuzz,h.isMultiChar&&(a=i.rfuzz),m=this.HTMLaddRoot(o,h,m,h.bbox.h+h.bbox.d-s,d),i.placeBox(h,m,s-h.bbox.h),i.placeBox(l,m+h.bbox.w,s-l.bbox.h+a),i.placeBox(r,m+h.bbox.w,0),this.HTMLhandleSpace(t),this.HTMLhandleColor(t),t},HTMLaddRoot:function(t,e,i,a,s){return i}}),a.mroot.Augment({toHTML:a.msqrt.prototype.toHTML,HTMLaddRoot:function(t,e,a,s,n){var o=i.createBox(t);if(this.data[1]){var r=this.data[1].toHTML(o);r.style.paddingRight=r.style.paddingLeft="",i.Measured(r,o)}else o.bbox=this.HTMLzeroBBox();var l=this.HTMLrootHeight(e.bbox.h+e.bbox.d,n,o)-s,h=Math.min(o.bbox.w,o.bbox.rw);return a=Math.max(h,e.offset),i.placeBox(o,a-h,l),a-e.offset},HTMLrootHeight:function(t,e,i){return.45*(t-.9*e)+.6*e+Math.max(0,i.bbox.d-.075)}}),a.mfenced.Augment({toHTML:function(t){t=this.HTMLcreateSpan(t),this.data.open&&this.data.open.toHTML(t),null!=this.data[0]&&this.data[0].toHTML(t);for(var e=1,i=this.data.length;e<i;e++)this.data[e]&&(this.data["sep"+e]&&this.data["sep"+e].toHTML(t),this.data[e].toHTML(t));this.data.close&&this.data.close.toHTML(t);var a=this.HTMLcomputeBBox(t),s=t.bbox.h,n=t.bbox.d;for(e=0,i=a.length;e<i;e++)a[e].HTMLstretchV(t,s,n);return a.length&&this.HTMLcomputeBBox(t,!0),this.HTMLhandleSpace(t),this.HTMLhandleColor(t),t},HTMLcomputeBBox:function(t,e){var i=t.bbox={},a=[];this.HTMLcheckStretchy(this.data.open,i,a,e),this.HTMLcheckStretchy(this.data[0],i,a,e);for(var s=1,n=this.data.length;s<n;s++)this.data[s]&&(this.HTMLcheckStretchy(this.data["sep"+s],i,a,e),this.HTMLcheckStretchy(this.data[s],i,a,e));return this.HTMLcheckStretchy(this.data.close,i,a,e),this.HTMLcleanBBox(i),a},HTMLcheckStretchy:function(t,e,i,a){t&&(!a&&t.HTMLcanStretch("Vertical")&&(i.push(t),t=t.CoreMO()||t),this.HTMLcombineBBoxes(t,e))}}),a.menclose.Augment({toHTML:a.mbase.HTMLautoload}),a.maction.Augment({toHTML:a.mbase.HTMLautoload}),a.semantics.Augment({toHTML:function(t,e,i){if(t=this.HTMLcreateSpan(t),null!=this.data[0]){var a=this.data[0].toHTML(t);null!=i?this.data[0].HTMLstretchV(t,e,i):null!=e&&this.data[0].HTMLstretchH(t,e),t.bbox=a.bbox}return this.HTMLhandleSpace(t),t},HTMLstretchH:a.mbase.HTMLstretchH,HTMLstretchV:a.mbase.HTMLstretchV}),a.munderover.Augment({toHTML:function(t,e,s){var n=this.getValues("displaystyle","accent","accentunder","align"),o=this.data[this.base];if(!n.displaystyle&&null!=o&&(o.movablelimits||o.CoreMO().Get("movablelimits")))return a.msubsup.prototype.toHTML.call(this,t);t=this.HTMLcreateSpan(t);var r,l,h,d=this.HTMLgetScale(),u=i.createStack(t),c=[],m=[],p=[];for(l=0,h=this.data.length;l<h;l++)null!=this.data[l]&&(r=c[l]=i.createBox(u),m[l]=this.data[l].toHTML(r),l==this.base?(null!=s?this.data[this.base].HTMLstretchV(r,e,s):null!=e&&this.data[this.base].HTMLstretchH(r,e),p[l]=(null!=s||null==e)&&this.data[l].HTMLcanStretch("Horizontal"),this.data[this.over]&&n.accent&&(m[l].bbox.h=Math.max(m[l].bbox.h,d*i.TeX.x_height))):(p[l]=this.data[l].HTMLcanStretch("Horizontal"),m[l].style.paddingLeft=m[l].style.paddingRight=""));i.MeasureSpans(m);var M=-i.BIGDIMEN,f=M;for(l=0,h=this.data.length;l<h;l++)this.data[l]&&(c[l].bbox.w>f&&(f=c[l].bbox.w),!p[l]&&f>M&&(M=f));for(null==s&&null!=e?M=e:M==-i.BIGDIMEN&&(M=f),l=f=0,h=this.data.length;l<h;l++)this.data[l]&&(r=c[l],p[l]&&(r.bbox=this.data[l].HTMLstretchH(r,M).bbox,l!==this.base&&(m[l].style.paddingLeft=m[l].style.paddingRight="")),r.bbox.w>f&&(f=r.bbox.w));var g,b,x,v,T,L,E=i.TeX.rule_thickness*this.mscale,y=i.FONTDATA.TeX_factor,C=0;for((o=c[this.base]||{bbox:this.HTMLzeroBBox()}).bbox.ic&&(C=1.3*o.bbox.ic+.05),l=0,h=this.data.length;l<h;l++)if(null!=this.data[l]){r=c[l],T=i.TeX.big_op_spacing5*d;var S=l!=this.base&&n[this.ACCENTS[l]];S&&r.bbox.w<=1/i.em+1e-4&&(r.bbox.w=r.bbox.rw-r.bbox.lw,r.bbox.noclip=!0,r.bbox.lw&&r.insertBefore(i.createSpace(r.parentNode,0,0,-r.bbox.lw),r.firstChild),i.createBlank(r,0,0,r.bbox.rw+.1)),g={left:0,center:(f-r.bbox.w)/2,right:f-r.bbox.w}[n.align],b=0,l==this.over?(S?(L=Math.max(E*d*y,2.5/this.em),T=0,o.bbox.skew&&(g+=o.bbox.skew,t.bbox.skew=o.bbox.skew,g+r.bbox.w>f&&(t.bbox.skew+=(f-r.bbox.w-g)/2))):(x=i.TeX.big_op_spacing1*d*y,v=i.TeX.big_op_spacing3*d*y,L=Math.max(x,v-Math.max(0,r.bbox.d))),L=Math.max(L,1.5/this.em),g+=C/2,b=o.bbox.h+r.bbox.d+L,r.bbox.h+=T):l==this.under&&(S?(L=3*E*d*y,T=0):(x=i.TeX.big_op_spacing2*d*y,v=i.TeX.big_op_spacing4*d*y,L=Math.max(x,v-r.bbox.h)),L=Math.max(L,1.5/this.em),g-=C/2,b=-(o.bbox.d+r.bbox.h+L),r.bbox.d+=T),i.placeBox(r,g,b)}return this.HTMLhandleSpace(t),this.HTMLhandleColor(t),t},HTMLstretchH:a.mbase.HTMLstretchH,HTMLstretchV:a.mbase.HTMLstretchV}),a.msubsup.Augment({toHTML:function(t,e,a){t=this.HTMLcreateSpan(t);var s,n=this.HTMLgetScale(),o=this.HTMLgetMu(t),r=i.createStack(t),l=[],h=i.createBox(r);this.data[this.base]?(l.push(this.data[this.base].toHTML(h)),null!=a?this.data[this.base].HTMLstretchV(h,e,a):null!=e&&this.data[this.base].HTMLstretchH(h,e)):h.bbox=this.HTMLzeroBBox();var d,u,c=i.TeX.x_height*n,m=i.TeX.scriptspace*n*.75;this.HTMLnotEmpty(this.data[this.sup])&&(d=i.createBox(r),l.push(this.data[this.sup].toHTML(d))),this.HTMLnotEmpty(this.data[this.sub])&&(u=i.createBox(r),l.push(this.data[this.sub].toHTML(u))),i.MeasureSpans(l),d&&(d.bbox.w+=m,d.bbox.rw=Math.max(d.bbox.w,d.bbox.rw)),u&&(u.bbox.w+=m,u.bbox.rw=Math.max(u.bbox.w,u.bbox.rw)),i.placeBox(h,0,0);var p=n;d?p=this.data[this.sup].HTMLgetScale():u&&(p=this.data[this.sub].HTMLgetScale());var M,f=i.TeX.sup_drop*p,g=i.TeX.sub_drop*p,b=h.bbox.h-f,x=h.bbox.d+g,v=0;h.bbox.ic&&(h.bbox.w-=h.bbox.ic,v=1.3*h.bbox.ic+.05),!this.data[this.base]||null!=e||null!=a||"mi"!==this.data[this.base].type&&"mo"!==this.data[this.base].type||i.isChar(this.data[this.base].data.join(""))&&1===l[0].scale&&!this.data[this.base].Get("largeop")&&(b=x=0);var T=this.getValues("subscriptshift","superscriptshift");if(T.subscriptshift=""===T.subscriptshift?0:i.length2em(T.subscriptshift,o),T.superscriptshift=""===T.superscriptshift?0:i.length2em(T.superscriptshift,o),d)if(u){x=Math.max(x,i.TeX.sub2*n);var L=i.TeX.rule_thickness*n;b-d.bbox.d-(u.bbox.h-x)<3*L&&(x=3*L-b+d.bbox.d+u.bbox.h,(f=.8*c-(b-d.bbox.d))>0&&(b+=f,x-=f)),i.placeBox(d,h.bbox.w+v,Math.max(b,T.superscriptshift)),i.placeBox(u,h.bbox.w,-Math.max(x,T.subscriptshift))}else s=this.getValues("displaystyle","texprimestyle"),M=i.TeX[s.displaystyle?"sup1":s.texprimestyle?"sup3":"sup2"],b=Math.max(b,M*n,d.bbox.d+1/4*c,T.superscriptshift),i.placeBox(d,h.bbox.w+v,b,d.bbox);else u&&(x=Math.max(x,i.TeX.sub1*n,u.bbox.h-.8*c,T.subscriptshift),i.placeBox(u,h.bbox.w,-x,u.bbox));return this.HTMLhandleSpace(t),this.HTMLhandleColor(t),t},HTMLstretchH:a.mbase.HTMLstretchH,HTMLstretchV:a.mbase.HTMLstretchV}),a.mmultiscripts.Augment({toHTML:a.mbase.HTMLautoload}),a.mtable.Augment({toHTML:a.mbase.HTMLautoload}),a["annotation-xml"].Augment({toHTML:a.mbase.HTMLautoload}),a.annotation.Augment({toHTML:function(t){return this.HTMLcreateSpan(t)}}),a.math.Augment({toHTML:function(t,s,n){var o,r,l,h,d=t;if(n&&n!==i.PHASE.I)t=t.firstChild.firstChild,this.href&&(t=t.firstChild),"relative"!==(o=t.firstChild).style.position&&(o=o.nextSibling),l=(r=o.firstChild).firstChild;else{var u=i.addElement(t,"nobr",{isMathJax:!0});t=this.HTMLcreateSpan(u);var c=this.Get("alttext");c&&!t.getAttribute("aria-label")&&t.setAttribute("aria-label",c),o=i.createStack(t),r=i.createBox(o),o.style.fontSize=u.parentNode.style.fontSize,u.parentNode.style.fontSize="",null!=this.data[0]&&(a.mbase.prototype.displayAlign=e.config.displayAlign,a.mbase.prototype.displayIndent=e.config.displayIndent,String(e.config.displayIndent).match(/^0($|[a-z%])/i)&&(a.mbase.prototype.displayIndent="0"),(l=this.data[0].toHTML(r)).bbox.exactW=!1)}if(h=n&&n!==i.PHASE.II?l:i.Measured(l,r),!n||n===i.PHASE.III){i.placeBox(r,0,0);var m=h.bbox.w;m=Math.abs(m)<.006?0:Math.max(0,Math.round(m*this.em)+.25),t.style.width=i.EmRounded(m/i.outerEm),t.style.display="inline-block";var p=1/i.em,M=i.em/i.outerEm;i.em/=M,t.bbox.h*=M,t.bbox.d*=M,t.bbox.w*=M,t.bbox.lw*=M,t.bbox.rw*=M,t.bbox.H&&(t.bbox.H*=M),t.bbox.D&&(t.bbox.D*=M),h&&null!=h.bbox.width&&(t.style.minWidth=h.bbox.minWidth||t.style.width,t.style.width=h.bbox.width,r.style.width=o.style.width="100%",d.className+=" MathJax_FullWidth");var f=this.HTMLhandleColor(t);if(h&&i.createRule(t,(h.bbox.h+p)*M,(h.bbox.d+p)*M,0),!this.isMultiline&&"block"===this.Get("display")&&null==t.bbox.width){var g=this.getValues("indentalignfirst","indentshiftfirst","indentalign","indentshift");g.indentalignfirst!==a.INDENTALIGN.INDENTALIGN&&(g.indentalign=g.indentalignfirst),g.indentalign===a.INDENTALIGN.AUTO&&(g.indentalign=this.displayAlign),g.indentshiftfirst!==a.INDENTSHIFT.INDENTSHIFT&&(g.indentshift=g.indentshiftfirst),"auto"===g.indentshift&&(g.indentshift="0");var b=i.length2em(g.indentshift,1,i.scale*i.cwidth);if("0"!==this.displayIndent){var x=i.length2em(this.displayIndent,1,i.scale*i.cwidth);b+=g.indentalign===a.INDENTALIGN.RIGHT?-x:x}if(d.style.textAlign=s.style.textAlign=g.indentalign,b&&(e.Insert(t.style,{left:{marginLeft:i.Em(b)},right:{marginRight:i.Em(-b)},center:{marginLeft:i.Em(b),marginRight:i.Em(-b)}}[g.indentalign]),f)){var v=parseFloat(f.style.marginLeft||"0")+b,T=parseFloat(f.style.marginRight||"0")-b;f.style.marginLeft=i.Em(v),f.style.marginRight=i.Em(T+("right"===g.indentalign?t.bbox.w+b-t.bbox.w:0)),i.msieColorBug&&"right"===g.indentalign&&(parseFloat(f.style.marginLeft)>0&&(MathJax.HTML.addElement(f.parentNode,"span").style.marginLeft=i.Em(T+Math.min(0,t.bbox.w+b)),f.nextSibling.style.marginRight="0em"),f.nextSibling.style.marginLeft="0em",f.style.marginRight=f.style.marginLeft="0em")}}}return t},HTMLspanElement:a.mbase.prototype.HTMLspanElement}),a.TeXAtom.Augment({toHTML:function(t,e,s){if(t=this.HTMLcreateSpan(t),null!=this.data[0])if(this.texClass===a.TEXCLASS.VCENTER){var n=i.createStack(t),o=i.createBox(n),r=this.data[0].toHTML(o);null!=s?i.Remeasured(this.data[0].HTMLstretchV(o,e,s),o):null!=e?i.Remeasured(this.data[0].HTMLstretchH(o,e),o):i.Measured(r,o);var l=i.TeX.axis_height*this.HTMLgetScale();i.placeBox(o,0,l-(o.bbox.h+o.bbox.d)/2+o.bbox.d)}else{var h=this.data[0].toHTML(t,e,s);null!=s?h=this.data[0].HTMLstretchV(o,e,s):null!=e&&(h=this.data[0].HTMLstretchH(o,e)),t.bbox=h.bbox}return this.HTMLhandleSpace(t),this.HTMLhandleColor(t),t},HTMLstretchH:a.mbase.HTMLstretchH,HTMLstretchV:a.mbase.HTMLstretchV}),e.Register.StartupHook("onLoad",(function(){setTimeout(MathJax.Callback(["loadComplete",i,"jax.js"]),0)}))})),e.Register.StartupHook("End Config",(function(){e.Browser.Select({MSIE:function(t){var e=document.documentMode||0,a=t.versionAtLeast("7.0"),s=t.versionAtLeast("8.0")&&e>7,n="BackCompat"===document.compatMode;e<9&&(i.config.styles[".MathJax .MathJax_HitBox"]["background-color"]="white",i.config.styles[".MathJax .MathJax_HitBox"].opacity=0,i.config.styles[".MathJax .MathJax_HitBox"].filter="alpha(opacity=0)"),i.Augment({PaddingWidthBug:!0,msieAccentBug:!0,msieColorBug:e<8,msieColorPositionBug:!0,msieRelativeWidthBug:n,msieDisappearingBug:e>=8,msieMarginScaleBug:e<8,msiePaddingWidthBug:!0,msieBorderWidthBug:n,msieFrameSizeBug:e<=8,msieInlineBlockAlignBug:!s||n,msiePlaceBoxBug:s&&!n,msieClipRectBug:!s,msieNegativeSpaceBug:n,msieRuleBug:e<7,cloneNodeBug:s&&"8.0"===t.version,msieItalicWidthBug:!0,initialSkipBug:e<8,msieNegativeBBoxBug:e>=8,msieIE6:!a,msieItalicWidthBug:!0,FontFaceBug:e<9,msieFontCSSBug:t.isIE9,allowWebFonts:e>=9?"woff":"eot"})},Firefox:function(t){var a=!1;if(t.versionAtLeast("3.5")){var s=String(document.location).replace(/[^\/]*$/,"");("file:"!==document.location.protocol||e.config.root.match(/^https?:\/\//)||(e.config.root+"/").substr(0,s.length)===s)&&(a="otf")}i.Augment({ffVerticalAlignBug:!t.versionAtLeast("20.0"),AccentBug:!0,allowWebFonts:a,ffFontOptimizationBug:!0})},Safari:function(t){var a=t.versionAtLeast("3.0"),s=t.versionAtLeast("3.1"),n=navigator.appVersion.match(/ Safari\/\d/)&&navigator.appVersion.match(/ Version\/\d/)&&navigator.vendor.match(/Apple/),o=navigator.appVersion.match(/ Android (\d+)\.(\d+)/),r=s&&t.isMobile&&(navigator.platform.match(/iPad|iPod|iPhone/)&&!t.versionAtLeast("5.0")||null!=o&&(o[1]<2||2==o[1]&&o[2]<2));if(i.Augment({config:{styles:{".MathJax img, .MathJax nobr, .MathJax a":{"max-width":"5000em","max-height":"5000em"}}},Em:(t.webkit||0)>=538?i.EmRounded:i.Em,rfuzz:.011,AccentBug:!0,AdjustSurd:!0,negativeBBoxes:!0,safariNegativeSpaceBug:!0,safariVerticalAlignBug:!s,safariTextNodeBug:!a,forceReflow:!0,FontFaceBug:!0,combiningCharBug:parseInt(t.webkit)>=602,allowWebFonts:!(!s||r)&&"otf"}),n&&i.Augment({webFontDefault:t.isMobile?"sans-serif":"serif"}),t.isPC&&i.Augment({adjustAvailableFonts:i.removeSTIXfonts,checkWebFontsTwice:!0}),r){var l=e.config["HTML-CSS"];l?(l.availableFonts=[],l.preferredFont=null):e.config["HTML-CSS"]={availableFonts:[],preferredFont:null}}},Chrome:function(t){i.Augment({Em:i.EmRounded,cloneNodeBug:!0,rfuzz:-.02,AccentBug:!0,AdjustSurd:!0,FontFaceBug:t.versionAtLeast("32.0"),negativeBBoxes:!0,safariNegativeSpaceBug:!0,safariWebFontSerif:[""],forceReflow:!0,allowWebFonts:t.versionAtLeast("4.0")?"otf":"svg"})},Opera:function(t){t.isMini=null!=navigator.appVersion.match("Opera Mini"),i.config.styles[".MathJax .merror"]["vertical-align"]=null,i.config.styles[".MathJax span"]["z-index"]=0,i.Augment({operaHeightBug:!0,operaVerticalAlignBug:!0,operaFontSizeBug:t.versionAtLeast("10.61"),initialSkipBug:!0,FontFaceBug:!0,PaddingWidthBug:!0,allowWebFonts:!(!t.versionAtLeast("10.0")||t.isMini)&&"otf",adjustAvailableFonts:i.removeSTIXfonts})},Konqueror:function(t){i.Augment({konquerorVerticalAlignBug:!0})}})})),MathJax.Hub.Register.StartupHook("End Cookie",(function(){"None"!==e.config.menuSettings.zoom&&t.Require("[MathJax]/extensions/MathZoom.js")}))}(MathJax.Ajax,MathJax.Hub,MathJax.OutputJax["HTML-CSS"]),MathJax.Hub.Register.StartupHook("HTML-CSS Jax Ready",(function(){var t=MathJax.ElementJax.mml,e=MathJax.OutputJax["HTML-CSS"];t.mtable.Augment({toHTML:function(i){if(i=this.HTMLcreateSpan(i),0===this.data.length)return i;var a,s,n,o,r,l,h,d,u,c=this.getValues("columnalign","rowalign","columnspacing","rowspacing","columnwidth","equalcolumns","equalrows","columnlines","rowlines","frame","framespacing","align","useHeight","width","side","minlabelspacing"),m=c.width.match(/%$/),p=e.createStack(i),M=this.HTMLgetScale(),f=this.HTMLgetMu(i),g=-1,b=[],x=[],v=[],T=[],L=[],E=-1,y=[],C=e.FONTDATA.lineH*M*c.useHeight,S=e.FONTDATA.lineD*M*c.useHeight;for(a=0,n=this.data.length;a<n;a++)for(r="mlabeledtr"===(l=this.data[a]).type?g:0,T[a]=[],b[a]=C,x[a]=S,s=r,o=l.data.length+r;s<o;s++)null==v[s]&&(s>E&&(E=s),L[s]=e.createStack(e.createBox(p)),v[s]=-e.BIGDIMEN),T[a][s]=e.createBox(L[s]),y.push(l.data[s-r].toHTML(T[a][s]));for(e.MeasureSpans(y),a=0,n=this.data.length;a<n;a++)for(s=r="mlabeledtr"===(l=this.data[a]).type?g:0,o=l.data.length+r;s<o;s++){if((h=l.data[s-r]).isMultiline&&(T[a][s].style.width="100%"),h.isEmbellished()){var w=(d=h.CoreMO()).Get("minsize",!0);if(w){var H=d.HTMLspanElement().bbox;d.HTMLcanStretch("Vertical")?(u=H.h+H.d)&&((w=e.length2em(w,f,u))*H.h/u>b[a]&&(b[a]=w*H.h/u),w*H.d/u>x[a]&&(x[a]=w*H.d/u)):d.HTMLcanStretch("Horizontal")&&(w=e.length2em(w,f,H.w))>v[s]&&(v[s]=w)}}T[a][s].bbox.h>b[a]&&(b[a]=T[a][s].bbox.h),T[a][s].bbox.d>x[a]&&(x[a]=T[a][s].bbox.d),T[a][s].bbox.w>v[s]&&(v[s]=T[a][s].bbox.w)}var A=MathJax.Hub.SplitList,N=A(c.columnspacing),I=A(c.rowspacing),R=A(c.columnalign),J=A(c.rowalign),B=A(c.columnlines),P=A(c.rowlines),k=A(c.columnwidth),D=[];for(a=0,n=N.length;a<n;a++)N[a]=e.length2em(N[a],f);for(a=0,n=I.length;a<n;a++)I[a]=e.length2em(I[a],f);for(;N.length<E;)N.push(N[N.length-1]);for(;R.length<=E;)R.push(R[R.length-1]);for(;B.length<E;)B.push(B[B.length-1]);for(;k.length<=E;)k.push(k[k.length-1]);for(;I.length<T.length;)I.push(I[I.length-1]);for(;J.length<=T.length;)J.push(J[J.length-1]);for(;P.length<T.length;)P.push(P[P.length-1]);for(L[g]&&(R[g]="l"===c.side.substr(0,1)?"left":"right",N[g]=-v[g]),a=0,n=T.length;a<n;a++)if(l=this.data[a],D[a]=[],l.rowalign&&(J[a]=l.rowalign),l.columnalign)for(D[a]=A(l.columnalign);D[a].length<=E;)D[a].push(D[a][D[a].length-1]);if(c.equalrows){var O=Math.max.apply(Math,b),F=Math.max.apply(Math,x);for(a=0,n=T.length;a<n;a++)r=(O+F-(b[a]+x[a]))/2,b[a]+=r,x[a]+=r}for(u=b[0]+x[T.length-1],a=0,n=T.length-1;a<n;a++)u+=Math.max(0,x[a]+b[a+1]+I[a]);var X,W=0,z=0,_=u;if("none"!==c.frame||(c.columnlines+c.rowlines).match(/solid|dashed/)){var j=A(c.framespacing);2!=j.length&&(j=A(this.defaults.framespacing)),W=e.length2em(j[0],f),_=u+2*(z=e.length2em(j[1],f))}var V,G,U="";if("string"!=typeof c.align&&(c.align=String(c.align)),c.align.match(/(top|bottom|center|baseline|axis)( +(-?\d+))?/)?(U=RegExp.$3||"",c.align=RegExp.$1):c.align=this.defaults.align,""!==U)for((U=parseInt(U))<0&&(U=T.length+1+U),U<1?U=1:U>T.length&&(U=T.length),V=0,G=-(u+z)+b[0],a=0,n=U-1;a<n;a++){var q=Math.max(0,x[a]+b[a+1]+I[a]);V+=q,G+=q}else V={top:-(b[0]+z),bottom:u+z-b[0],center:u/2-b[0],baseline:u/2-b[0],axis:u/2+e.TeX.axis_height*M-b[0]}[c.align],G={top:-(u+2*z),bottom:0,center:-(u/2+z),baseline:-(u/2+z),axis:e.TeX.axis_height*M-u/2-z}[c.align];var K,$=0,Y=0,Z=0,Q=0,tt=0,et=[],it=[],at=1;if(c.equalcolumns&&"auto"!==c.width)if(m){for(K=(100/(E+1)).toFixed(2).replace(/\.?0+$/,"")+"%",a=0,n=Math.min(E+1,k.length);a<n;a++)k[a]=K;for(K=0,$=1,tt=E+1,a=0,n=Math.min(E+1,N.length);a<n;a++)K+=N[a]}else{for(K=e.length2em(c.width,f),a=0,n=Math.min(E,N.length);a<n;a++)K-=N[a];for(K/=E,a=0,n=Math.min(E+1,k.length);a<n;a++)v[a]=K}else{for(a=0,n=Math.min(E+1,k.length);a<n;a++)"auto"===k[a]?Y+=v[a]:"fit"===k[a]?(it[tt]=a,tt++,Y+=v[a]):k[a].match(/%$/)?(et[Q]=a,Q++,Z+=v[a],$+=e.length2em(k[a],f,1)):(v[a]=e.length2em(k[a],f),Y+=v[a]);if(m){for(K=0,a=0,n=Math.min(E,N.length);a<n;a++)K+=N[a];$>.98&&(at=.98/$,$=.98)}else{if("auto"===c.width)$>.98?(at=Z/(Y+Z),K=Y+Z):K=Y/(1-$);else for(K=e.length2em(c.width,f),a=0,n=Math.min(E,N.length);a<n;a++)K-=N[a];for(a=0,n=et.length;a<n;a++)v[et[a]]=e.length2em(k[et[a]],f,K*at),Y+=v[et[a]];if(Math.abs(K-Y)>.01)if(tt&&K>Y)for(K=(K-Y)/tt,a=0,n=it.length;a<n;a++)v[it[a]]+=K;else for(K/=Y,s=0;s<=E;s++)v[s]*=K;if(c.equalcolumns){var st=Math.max.apply(Math,v);for(s=0;s<=E;s++)v[s]=st}}}var nt,ot,rt,lt,ht=V;for(s=r=L[g]?g:0;s<=E;s++){for(a=0,n=T.length;a<n;a++){if(T[a][s]){if(r="mlabeledtr"===this.data[a].type?g:0,(h=this.data[a].data[s-r]).HTMLcanStretch("Horizontal"))T[a][s].bbox=h.HTMLstretchH(L[s],v[s]).bbox;else if(h.HTMLcanStretch("Vertical")){var dt=(d=h.CoreMO()).symmetric;d.symmetric=!1,T[a][s].bbox=h.HTMLstretchV(L[s],b[a],x[a]).bbox,T[a][s].HH=null,T[a][s].bbox.h>b[a]&&(T[a][s].bbox.H=T[a][s].bbox.h,T[a][s].bbox.h=b[a]),T[a][s].bbox.d>x[a]&&(T[a][s].bbox.D=T[a][s].bbox.d,T[a][s].bbox.d=x[a]),d.symmetric=dt}rt=h.rowalign||this.data[a].rowalign||J[a],nt={top:b[a]-T[a][s].bbox.h,bottom:T[a][s].bbox.d-x[a],center:(b[a]-x[a]-(T[a][s].bbox.h-T[a][s].bbox.d))/2,baseline:0,axis:0}[rt]||0,rt=h.columnalign||D[a][s]||R[s],e.alignBox(T[a][s],rt,ht+nt)}a<T.length-1&&(ht-=Math.max(0,x[a]+b[a+1]+I[a]))}ht=V}if(m){var ut=e.createBox(p);ut.style.left=ut.style.top=0,ut.style.right=e.Em(K+2*W),ut.style.display="inline-block",ut.style.height="0px",e.msieRelativeWidthBug&&((ut=e.createBox(ut)).style.position="relative",ut.style.height="1em",ut.style.width="100%",ut.bbox=p.bbox);var ct,mt,pt=0,Mt=W;for(tt?(ct=100*(1-$)/tt,mt=Y/tt):(ct=100*(1-$)/(E+1),mt=Y/(E+1)),s=0;s<=E;s++){e.placeBox(L[s].parentNode,0,0),L[s].style.position="relative",L[s].style.left=e.Em(Mt),L[s].style.width="100%",L[s].parentNode.parentNode.removeChild(L[s].parentNode);var ft=e.createBox(ut);e.addBox(ft,L[s]),L[s]=ft;var gt=ft.style;if(gt.display="inline-block",gt.left=pt+"%",k[s].match(/%$/)){var bt=parseFloat(k[s])*at;0===tt?(gt.width=ct+bt+"%",pt+=ct+bt,ft=e.createBox(ft),e.addBox(ft,L[s].firstChild),ft.style.left=0,ft.style.right=e.Em(mt),Mt-=mt):(gt.width=bt+"%",pt+=bt)}else"fit"===k[s]||0===tt?(gt.width=ct+"%",ft=e.createBox(ft),e.addBox(ft,L[s].firstChild),ft.style.left=0,ft.style.right=e.Em(mt-v[s]),Mt+=v[s]-mt,pt+=ct):(gt.width=e.Em(v[s]),Mt+=v[s]);e.msieRelativeWidthBug&&(e.addText(ft.firstChild,e.NBSP),ft.firstChild.style.position="relative"),Mt+=N[s],"none"!==B[s]&&s<E&&s!==g&&((ot=e.createBox(ut)).style.left=pt+"%",(ot=e.createRule(ot,_,0,1.25/e.em)).style.position="absolute",ot.bbox={h:_,d:0,w:0,rw:1.25/e.em,lw:0},ot.parentNode.bbox=p.bbox,e.placeBox(ot,Mt-N[s]/2,G,!0),ot.style.borderStyle=B[s])}}else{var xt=W;for(s=0;s<=E;s++)L[s].bbox.width||e.setStackWidth(L[s],v[s]),"auto"!==k[s]&&"fit"!==k[s]&&(L[s].bbox.width=v[s],L[s].bbox.isFixed=!0),e.placeBox(L[s].parentNode,xt,0),xt+=v[s]+N[s],"none"!==B[s]&&s<E&&s!==g&&(ot=e.createRule(p,_,0,1.25/e.em),e.addBox(p,ot),ot.bbox={h:_,d:0,w:0,rw:1.25/e.em,lw:0},e.placeBox(ot,xt-N[s]/2,G,!0),ot.style.borderStyle=B[s])}for(p.bbox.d=-G,p.bbox.h=_+G,e.setStackWidth(p,p.bbox.w+W),X=p.bbox.w,"none"!==c.frame&&(lt=e.createFrame(p,_,0,X,1.25/e.em,c.frame),e.addBox(p,lt),e.placeBox(lt,0,G,!0),m&&(lt.style.width="100%")),ht=V,a=0,n=T.length-1;a<n;a++)nt=Math.max(0,x[a]+b[a+1]+I[a]),P[a]!==t.LINES.NONE&&""!==P[a]&&(ot=e.createRule(p,1.25/e.em,0,X),e.addBox(p,ot),ot.bbox={h:1.25/e.em,d:0,w:X,rw:X,lw:0},e.placeBox(ot,0,ht-x[a]-(nt-x[a]-b[a+1])/2,!0),P[a]===t.LINES.DASHED&&(ot.style.borderTopStyle="dashed"),m&&(ot.style.width="100%")),ht-=nt;if(m&&(i.bbox.width=c.width,p.style.width="100%"),L[g]){var vt=p.bbox.w,Tt=this.getValues("indentalignfirst","indentshiftfirst","indentalign","indentshift");Tt.indentalignfirst!==t.INDENTALIGN.INDENTALIGN&&(Tt.indentalign=Tt.indentalignfirst),Tt.indentalign===t.INDENTALIGN.AUTO&&(Tt.indentalign=this.displayAlign),Tt.indentshiftfirst!==t.INDENTSHIFT.INDENTSHIFT&&(Tt.indentshift=Tt.indentshiftfirst),"auto"===Tt.indentshift&&(Tt.indentshift="0");var Lt=e.length2em(Tt.indentshift,f,e.cwidth),Et=e.length2em(c.minlabelspacing,f,e.cwidth)+L[g].bbox.w,yt=0,Ct=vt,St=e.length2em(this.displayIndent,f,e.cwidth);r=R[g]===t.INDENTALIGN.RIGHT?-1:1,Tt.indentalign===t.INDENTALIGN.CENTER?(Ct+=2*(Et-r*(Lt+St)),Lt+=St):R[g]===Tt.indentalign?(St<0&&(yt=r*St,St=0),Et>r*(Lt+=r*St)&&(Lt=r*Et),Ct+=r*(Lt+=yt)):(Ct+=Et-r*Lt+St,Lt-=r*St);var wt=e.createStack(i,!1,"100%");e.addBox(wt,p),e.alignBox(p,Tt.indentalign,0,Lt),L[g].parentNode.parentNode.removeChild(L[g].parentNode),e.addBox(wt,L[g]),e.alignBox(L[g],R[g],0),e.msieRelativeWidthBug&&(p.style.top=L[g].style.top=""),m&&(p.style.width=c.width,i.bbox.width="100%"),L[g].style[1===r?"marginLeft":"marginRight"]=e.Em(r*yt),i.bbox.tw=Ct,i.style.minWidth=i.bbox.minWidth=e.Em(Ct),wt.style.minWidth=wt.bbox.minWidth=e.Em(Ct/M)}m||this.HTMLhandleSpace(i);var Ht=this.HTMLhandleColor(i);return Ht&&m&&(lt||(lt=e.createFrame(p,_,0,X,0,"none"),e.addBox(p,lt),e.placeBox(lt,0,G,!0),lt.style.width="100%"),lt.style.backgroundColor=Ht.style.backgroundColor,lt.parentNode.insertBefore(lt,lt.parentNode.firstChild),Ht.parentNode.removeChild(Ht)),i},HTMLhandleSpace:function(t){t.bbox.keepPadding=!0,t.bbox.exact=!0,this.hasFrame||null!=t.bbox.width||(t.firstChild.style.marginLeft=t.firstChild.style.marginRight=e.Em(1/6),t.bbox.w+=1/3,t.bbox.rw+=1/3,t.bbox.lw+=1/6),this.SUPER(arguments).HTMLhandleSpace.call(this,t)}}),t.mtd.Augment({toHTML:function(t,e,i){if(t=this.HTMLcreateSpan(t),this.data[0]){var a=this.data[0].toHTML(t);null!=i?a=this.data[0].HTMLstretchV(t,e,i):null!=e&&(a=this.data[0].HTMLstretchH(t,e)),t.bbox=a.bbox}return this.HTMLhandleSpace(t),this.HTMLhandleColor(t),t},HTMLstretchH:t.mbase.HTMLstretchH,HTMLstretchV:t.mbase.HTMLstretchV}),MathJax.Hub.Startup.signal.Post("HTML-CSS mtable Ready"),MathJax.Ajax.loadComplete(e.autoloadDir+"/mtable.js")})),function(t,e,i,a){var s,n,o,r,l="'Times New Roman',Times,STIXGeneral,serif",h={".MJXp-script":{"font-size":".8em"},".MJXp-right":{"-webkit-transform-origin":"right","-moz-transform-origin":"right","-ms-transform-origin":"right","-o-transform-origin":"right","transform-origin":"right"},".MJXp-bold":{"font-weight":"bold"},".MJXp-italic":{"font-style":"italic"},".MJXp-scr":{"font-family":"MathJax_Script,"+l},".MJXp-frak":{"font-family":"MathJax_Fraktur,"+l},".MJXp-sf":{"font-family":"MathJax_SansSerif,"+l},".MJXp-cal":{"font-family":"MathJax_Caligraphic,"+l},".MJXp-mono":{"font-family":"MathJax_Typewriter,"+l},".MJXp-largeop":{"font-size":"150%"},".MJXp-largeop.MJXp-int":{"vertical-align":"-.2em"},".MJXp-math":{display:"inline-block","line-height":"1.2","text-indent":"0","font-family":l,"white-space":"nowrap","border-collapse":"collapse"},".MJXp-display":{display:"block","text-align":"center",margin:"1em 0"},".MJXp-math span":{display:"inline-block"},".MJXp-box":{display:"block!important","text-align":"center"},".MJXp-box:after":{content:'" "'},".MJXp-rule":{display:"block!important","margin-top":".1em"},".MJXp-char":{display:"block!important"},".MJXp-mo":{margin:"0 .15em"},".MJXp-mfrac":{margin:"0 .125em","vertical-align":".25em"},".MJXp-denom":{display:"inline-table!important",width:"100%"},".MJXp-denom > *":{display:"table-row!important"},".MJXp-surd":{"vertical-align":"top"},".MJXp-surd > *":{display:"block!important"},".MJXp-script-box > * ":{display:"table!important",height:"50%"},".MJXp-script-box > * > *":{display:"table-cell!important","vertical-align":"top"},".MJXp-script-box > *:last-child > *":{"vertical-align":"bottom"},".MJXp-script-box > * > * > *":{display:"block!important"},".MJXp-mphantom":{visibility:"hidden"},".MJXp-munderover, .MJXp-munder":{display:"inline-table!important"},".MJXp-over":{display:"inline-block!important","text-align":"center"},".MJXp-over > *":{display:"block!important"},".MJXp-munderover > *, .MJXp-munder > *":{display:"table-row!important"},".MJXp-mtable":{"vertical-align":".25em",margin:"0 .125em"},".MJXp-mtable > *":{display:"inline-table!important","vertical-align":"middle"},".MJXp-mtr":{display:"table-row!important"},".MJXp-mtd":{display:"table-cell!important","text-align":"center",padding:".5em 0 0 .5em"},".MJXp-mtr > .MJXp-mtd:first-child":{"padding-left":0},".MJXp-mtr:first-child > .MJXp-mtd":{"padding-top":0},".MJXp-mlabeledtr":{display:"table-row!important"},".MJXp-mlabeledtr > .MJXp-mtd:first-child":{"padding-left":0},".MJXp-mlabeledtr:first-child > .MJXp-mtd":{"padding-top":0},".MJXp-merror":{"background-color":"#FFFF88",color:"#CC0000",border:"1px solid #CC0000",padding:"1px 3px","font-style":"normal","font-size":"90%"}};!function(){for(var t=0;t<10;t++){var e="scaleX(."+t+")";h[".MJXp-scale"+t]={"-webkit-transform":e,"-moz-transform":e,"-ms-transform":e,"-o-transform":e,transform:e}}}();var d=1e6,u="V",c="H";a.Augment({settings:e.config.menuSettings,config:{styles:h},hideProcessedMath:!1,maxStretchyParts:1e3,Config:function(){this.require||(this.require=[]),this.SUPER(arguments).Config.call(this);var t=this.settings;t.scale&&(this.config.scale=t.scale),this.require.push(MathJax.OutputJax.extensionDir+"/MathEvents.js")},Startup:function(){n=MathJax.Extension.MathEvents.Event,o=MathJax.Extension.MathEvents.Touch,r=MathJax.Extension.MathEvents.Hover,this.ContextMenu=n.ContextMenu,this.Mousedown=n.AltContextMenu,this.Mouseover=r.Mouseover,this.Mouseout=r.Mouseout,this.Mousemove=r.Mousemove;var e=i.addElement(document.body,"div",{style:{width:"5in"}});return this.pxPerInch=e.offsetWidth/5,e.parentNode.removeChild(e),t.Styles(this.config.styles,["InitializePHTML",this])},InitializePHTML:function(){},preTranslate:function(t){var a,s,r,l,h,d,u=t.jax[this.id],c=u.length;for(a=0;a<c;a++)(s=u[a]).parentNode&&((r=s.previousSibling)&&String(r.className).match(/^MathJax(_PHTML)?(_Display)?( MathJax_Process(ing|ed))?$/)&&r.parentNode.removeChild(r),(d=s.MathJax.elementJax)&&(d.PHTML={display:"block"===d.root.Get("display")},l=h=i.Element("span",{className:"MathJax_PHTML",id:d.inputID+"-Frame",isMathJax:!0,jaxID:this.id,oncontextmenu:n.Menu,onmousedown:n.Mousedown,onmouseover:n.Mouseover,onmouseout:n.Mouseout,onmousemove:n.Mousemove,onclick:n.Click,ondblclick:n.DblClick,onkeydown:n.Keydown,tabIndex:e.getTabOrder(d)}),e.Browser.noContextMenu&&(l.ontouchstart=o.start,l.ontouchend=o.end),d.PHTML.display&&(h=i.Element("div",{className:"MathJax_PHTML_Display"})).appendChild(l),h.className+=" MathJax_Processing",s.parentNode.insertBefore(h,s)))},Translate:function(t,e){if(t.parentNode){var i=t.MathJax.elementJax,a=i.root,s=document.getElementById(i.inputID+"-Frame"),n=i.PHTML.display?s.parentNode:s;this.initPHTML(a,s);try{a.toPreviewHTML(s)}catch(t){if(t.restart)for(;s.firstChild;)s.removeChild(s.firstChild);throw t}n.className=n.className.split(/ /)[0],this.hideProcessedMath&&(n.className+=" MathJax_Processed",t.MathJax.preview&&(i.PHTML.preview=t.MathJax.preview,delete t.MathJax.preview))}},postTranslate:function(t){var e=t.jax[this.id];if(this.hideProcessedMath)for(var i=0,a=e.length;i<a;i++){var s=e[i];if(s&&s.MathJax.elementJax){s.previousSibling.className=s.previousSibling.className.split(/ /)[0];var n=s.MathJax.elementJax.PHTML;n.preview&&(n.preview.innerHTML="",s.MathJax.preview=n.preview,delete n.preview)}}},getJaxFromMath:function(t){t.parentNode.className.match(/MathJax_PHTML_Display/)&&(t=t.parentNode);do{t=t.nextSibling}while(t&&"script"!==t.nodeName.toLowerCase());return e.getJaxFor(t)},getHoverSpan:function(t,e){return t.root.PHTMLspanElement()},getHoverBBox:function(t,e,i){var a=t.root.PHTML,s=t.PHTML.outerEm,n={w:a.w*s,h:a.h*s,d:a.d*s};return a.width&&(n.width=a.width),n},Zoom:function(t,e,i,a,s){e.className="MathJax",this.idPostfix="-zoom",t.root.toPHTML(e,e),this.idPostfix="",e.style.position="absolute",width||(i.style.position="absolute");var o=e.offsetWidth,r=e.offsetHeight,l=i.offsetHeight,h=i.offsetWidth;return 0===h&&(h=i.parentNode.offsetWidth),e.style.position=i.style.position="",{Y:-n.getBBox(e).h,mW:h,mH:l,zW:o,zH:r}},initPHTML:function(t,e){},Remove:function(t){var e=document.getElementById(t.inputID+"-Frame");e&&(t.PHTML.display&&(e=e.parentNode),e.parentNode.removeChild(e)),delete t.PHTML},ID:0,idPostfix:"",GetID:function(){return this.ID++,this.ID},VARIANT:{bold:"MJXp-bold",italic:"MJXp-italic","bold-italic":"MJXp-bold MJXp-italic",script:"MJXp-scr","bold-script":"MJXp-scr MJXp-bold",fraktur:"MJXp-frak","bold-fraktur":"MJXp-frak MJXp-bold",monospace:"MJXp-mono","sans-serif":"MJXp-sf","-tex-caligraphic":"MJXp-cal"},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,thin:.08,medium:.1,thick:.15,infinity:d},TeX:{x_height:.430554},pxPerInch:72,em:16,DELIMITERS:{"(":{dir:u},"{":{dir:u,w:.58},"[":{dir:u},"|":{dir:u,w:.275},")":{dir:u},"}":{dir:u,w:.58},"]":{dir:u},"/":{dir:u},"\\":{dir:u},"∣":{dir:u,w:.275},"∥":{dir:u,w:.55},"⌊":{dir:u,w:.5},"⌋":{dir:u,w:.5},"⌈":{dir:u,w:.5},"⌉":{dir:u,w:.5},"⟨":{dir:u,w:.5},"⟩":{dir:u,w:.5},"↑":{dir:u,w:.65},"↓":{dir:u,w:.65},"⇑":{dir:u,w:.75},"⇓":{dir:u,w:.75},"↕":{dir:u,w:.65},"⇕":{dir:u,w:.75},"⟮":{dir:u,w:.275},"⟯":{dir:u,w:.275},"⎰":{dir:u,w:.6},"⎱":{dir:u,w:.6}},REMAPACCENT:{"⃗":"→","'":"ˋ","`":"ˊ",".":"˙","^":"ˆ","-":"ˉ","~":"˜","¯":"ˉ","°":"˚","´":"ˊ","̀":"ˋ","́":"ˊ","̂":"ˆ","̃":"˜","̄":"ˉ","̅":"ˉ","̆":"˘","̇":"˙","̈":"¨","̌":"ˇ"},REMAPACCENTUNDER:{},length2em:function(t,e){if("string"!=typeof t&&(t=t.toString()),""===t)return"";if(t===s.SIZE.NORMAL)return 1;if(t===s.SIZE.BIG)return 2;if(t===s.SIZE.SMALL)return.71;if(this.MATHSPACE[t])return this.MATHSPACE[t];var i=t.match(/^\s*([-+]?(?:\.\d+|\d+(?:\.\d*)?))?(pt|em|ex|mu|px|pc|in|mm|cm|%)?/),a=parseFloat(i[1]||"1"),n=i[2];return null==e&&(e=1),"em"===n?a:"ex"===n?a*this.TeX.x_height:"%"===n?a/100*e:"px"===n?a/this.em:"pt"===n?a/10:"pc"===n?1.2*a:"in"===n?a*this.pxPerInch/this.em:"cm"===n?a*this.pxPerInch/this.em/2.54:"mm"===n?a*this.pxPerInch/this.em/25.4:"mu"===n?a/18:a*e},Em:function(t){return Math.abs(t)<.001?"0em":t.toFixed(3).replace(/\.?0+$/,"")+"em"},arrayEntry:function(t,e){return t[Math.max(0,Math.min(e,t.length-1))]}}),MathJax.Hub.Register.StartupHook("mml Jax Ready",(function(){(s=MathJax.ElementJax.mml).mbase.Augment({toPreviewHTML:function(t,e){return this.PHTMLdefaultSpan(t,e)},PHTMLdefaultSpan:function(t,e){e||(e={}),t=this.PHTMLcreateSpan(t),this.PHTMLhandleStyle(t),this.PHTMLhandleColor(t),this.isToken&&this.PHTMLhandleToken(t);for(var i=0,a=this.data.length;i<a;i++)this.PHTMLaddChild(t,i,e);return t},PHTMLaddChild:function(t,e,a){var s=this.data[e];s?(a.childSpans&&(t=i.addElement(t,"span",{className:a.className})),s.toPreviewHTML(t),a.noBBox||(this.PHTML.w+=s.PHTML.w+s.PHTML.l+s.PHTML.r,s.PHTML.h>this.PHTML.h&&(this.PHTML.h=s.PHTML.h),s.PHTML.d>this.PHTML.d&&(this.PHTML.d=s.PHTML.d),s.PHTML.t>this.PHTML.t&&(this.PHTML.t=s.PHTML.t),s.PHTML.b>this.PHTML.b&&(this.PHTML.b=s.PHTML.b))):a.forceChild&&i.addElement(t,"span")},PHTMLstretchChild:function(t,e,i){var a=this.data[t];if(a&&a.PHTMLcanStretch("Vertical",e,i)){var s=this.PHTML,n=a.PHTML,o=n.w;a.PHTMLstretchV(e,i),s.w+=n.w-o,n.h>s.h&&(s.h=n.h),n.d>s.d&&(s.d=n.d)}},PHTMLcreateSpan:function(t){if(this.PHTML||(this.PHTML={}),this.PHTML={w:0,h:0,d:0,l:0,r:0,t:0,b:0},this.inferred)return t;"mo"===this.type&&"∫"===this.data.join("")?a.lastIsInt=!0:"mspace"===this.type&&"negativethinmathspace"===this.width||(a.lastIsInt=!1),this.PHTMLspanID||(this.PHTMLspanID=a.GetID());var e=this.id||"MJXp-Span-"+this.PHTMLspanID;return i.addElement(t,"span",{className:"MJXp-"+this.type,id:e})},PHTMLspanElement:function(){return this.PHTMLspanID?document.getElementById(this.id||"MJXp-Span-"+this.PHTMLspanID):null},PHTMLhandleToken:function(t){var e=this.getValues("mathvariant");e.mathvariant!==s.VARIANT.NORMAL&&(t.className+=" "+a.VARIANT[e.mathvariant])},PHTMLhandleStyle:function(t){this.style&&(t.style.cssText=this.style)},PHTMLhandleColor:function(t){this.mathcolor&&(t.style.color=this.mathcolor),this.mathbackground&&(t.style.backgroundColor=this.mathbackground)},PHTMLhandleScriptlevel:function(t){this.Get("scriptlevel")&&(t.className+=" MJXp-script")},PHTMLhandleText:function(t,e){for(var s,n,o=0,r=0,l=0,h=0,d=e.length;h<d;h++){n=e.charCodeAt(h),s=e.charAt(h),n>=55296&&n<56319&&(h++,n=(n-55296<<10)+(e.charCodeAt(h)-56320)+65536);var u=.7,c=.22,m=.5;n<127&&(s.match(/[A-Za-ehik-or-xz0-9]/)&&(c=0),s.match(/[A-HK-Z]/)?m=.67:s.match(/[IJ]/)&&(m=.36),s.match(/[acegm-su-z]/)?u=.45:s.match(/[ij]/)&&(u=.75),s.match(/[ijlt]/)&&(m=.28)),a.DELIMITERS[s]&&(m=a.DELIMITERS[s].w||.4),u>o&&(o=u),c>r&&(r=c),l+=m}this.CHML||(this.PHTML={}),this.PHTML={h:.9,d:.3,w:l,l:0,r:0,t:o,b:r},i.addText(t,e)},PHTMLbboxFor:function(t){return this.data[t]&&this.data[t].PHTML?this.data[t].PHTML:{w:0,h:0,d:0,l:0,r:0,t:0,b:0}},PHTMLcanStretch:function(t,e,i){if(this.isEmbellished()){var a=this.Core();if(a&&a!==this)return a.PHTMLcanStretch(t,e,i)}return!1},PHTMLstretchV:function(t,e){},PHTMLstretchH:function(t){},CoreParent:function(){for(var t=this;t&&t.isEmbellished()&&t.CoreMO()===this&&!t.isa(s.math);)t=t.Parent();return t},CoreText:function(t){if(!t)return"";if(t.isEmbellished())return t.CoreMO().data.join("");for(;(t.isa(s.mrow)||t.isa(s.TeXAtom)||t.isa(s.mstyle)||t.isa(s.mphantom))&&1===t.data.length&&t.data[0];)t=t.data[0];return t.isToken?t.data.join(""):""}}),s.chars.Augment({toPreviewHTML:function(t){var e=this.toString().replace(/[\u2061-\u2064]/g,"");this.PHTMLhandleText(t,e)}}),s.entity.Augment({toPreviewHTML:function(t){var e=this.toString().replace(/[\u2061-\u2064]/g,"");this.PHTMLhandleText(t,e)}}),s.math.Augment({toPreviewHTML:function(t){return t=this.PHTMLdefaultSpan(t),"block"===this.Get("display")&&(t.className+=" MJXp-display"),t}}),s.mo.Augment({toPreviewHTML:function(t){t=this.PHTMLdefaultSpan(t),this.PHTMLadjustAccent(t);var e=this.getValues("lspace","rspace","scriptlevel","displaystyle","largeop");if(0===e.scriptlevel?(this.PHTML.l=a.length2em(e.lspace),this.PHTML.r=a.length2em(e.rspace),t.style.marginLeft=a.Em(this.PHTML.l),t.style.marginRight=a.Em(this.PHTML.r)):(this.PHTML.l=.15,this.PHTML.r=.1),e.displaystyle&&e.largeop){var s=i.Element("span",{className:"MJXp-largeop"});s.appendChild(t.firstChild),t.appendChild(s),this.PHTML.h*=1.2,this.PHTML.d*=1.2,"∫"===this.data.join("")&&(s.className+=" MJXp-int")}return t},PHTMLadjustAccent:function(t){var e=this.CoreParent();if(e&&e.isa(s.munderover)&&1===this.CoreText(e.data[e.base]).length){var i,n=e.data[e.over],o=e.data[e.under],r=this.data.join("");n&&this===n.CoreMO()&&e.Get("accent")?i=a.REMAPACCENT[r]:o&&this===o.CoreMO()&&e.Get("accentunder")&&(i=a.REMAPACCENTUNDER[r]),i&&(r=t.innerHTML=i),r.match(/[\u02C6-\u02DC\u00A8]/)?this.PHTML.acc=-.52:"→"===r&&(this.PHTML.acc=-.15,this.PHTML.vec=!0)}},PHTMLcanStretch:function(t,e,i){if(!this.Get("stretchy"))return!1;var s=this.data.join("");if(s.length>1)return!1;var n=(s=a.DELIMITERS[s])&&s.dir===t.substr(0,1);return n&&(n=this.PHTML.h!==e||this.PHTML.d!==i||this.Get("minsize",!0)||this.Get("maxsize",!0)),n},PHTMLstretchV:function(t,e){var s=this.PHTMLspanElement(),n=this.PHTML,o=this.getValues("symmetric","maxsize","minsize");c=o.symmetric?2*Math.max(t-.25,e+.25):t+e,o.maxsize=a.length2em(o.maxsize,n.h+n.d),o.minsize=a.length2em(o.minsize,n.h+n.d);var r=(c=Math.max(o.minsize,Math.min(o.maxsize,c)))/(n.h+n.d-.3),l=i.Element("span",{style:{"font-size":a.Em(r)}});if(r>1.25){var h=Math.ceil(1.25/r*10);l.className="MJXp-right MJXp-scale"+h,l.style.marginLeft=a.Em(n.w*(h/10-1)+.07),n.w*=r*h/10}l.appendChild(s.firstChild),s.appendChild(l),o.symmetric&&(s.style.verticalAlign=a.Em(.25*(1-r)))}}),s.mspace.Augment({toPreviewHTML:function(t){t=this.PHTMLdefaultSpan(t);var e=this.getValues("height","depth","width"),i=a.length2em(e.width),s=a.length2em(e.height),n=a.length2em(e.depth),o=this.PHTML;return o.w=i,o.h=s,o.d=n,i<0&&(a.lastIsInt||(t.style.marginLeft=a.Em(i)),i=0),t.style.width=a.Em(i),t.style.height=a.Em(s+n),n&&(t.style.verticalAlign=a.Em(-n)),t}}),s.mpadded.Augment({toPreviewHTML:function(t){var e=(t=this.PHTMLdefaultSpan(t,{childSpans:!0,className:"MJXp-box",forceChild:!0})).firstChild,i=this.getValues("width","height","depth","lspace","voffset"),s=this.PHTMLdimen(i.lspace),n=0,o=0,r=s.len,l=-s.len,h=0;return""!==i.width&&((s=this.PHTMLdimen(i.width,"w",0)).pm?l+=s.len:t.style.width=a.Em(s.len)),""!==i.height&&((s=this.PHTMLdimen(i.height,"h",0)).pm||(n+=-this.PHTMLbboxFor(0).h),n+=s.len),""!==i.depth&&((s=this.PHTMLdimen(i.depth,"d",0)).pm||(o+=-this.PHTMLbboxFor(0).d,h+=-s.len),o+=s.len),""!==i.voffset&&(n-=(s=this.PHTMLdimen(i.voffset)).len,o+=s.len,h+=s.len),n&&(e.style.marginTop=a.Em(n)),o&&(e.style.marginBottom=a.Em(o)),r&&(e.style.marginLeft=a.Em(r)),l&&(e.style.marginRight=a.Em(l)),h&&(t.style.verticalAlign=a.Em(h)),t},PHTMLdimen:function(t,e,i){null==i&&(i=-d);var s=(t=String(t)).match(/width|height|depth/),n=s?this.PHTML[s[0].charAt(0)]:e?this.PHTML[e]:0;return{len:a.length2em(t,n)||0,pm:!!t.match(/^[-+]/)}}}),s.munderover.Augment({toPreviewHTML:function(t){var e=this.getValues("displaystyle","accent","accentunder","align"),n=this.data[this.base];if(!e.displaystyle&&null!=n&&(n.movablelimits||n.CoreMO().Get("movablelimits")))return(t=s.msubsup.prototype.toPreviewHTML.call(this,t)).className=t.className.replace(/munderover/,"msubsup"),t;t=this.PHTMLdefaultSpan(t,{childSpans:!0,className:"",noBBox:!0});var o=this.PHTMLbboxFor(this.over),r=this.PHTMLbboxFor(this.under),l=this.PHTMLbboxFor(this.base),h=this.PHTML,d=o.acc;if(this.data[this.over]){t.lastChild.firstChild&&(t.lastChild.firstChild.style.marginLeft=o.l=t.lastChild.firstChild.style.marginRight=o.r=0);var u=i.Element("span",{},[["span",{className:"MJXp-over"}]]);u.firstChild.appendChild(t.lastChild),t.childNodes.length>(this.data[this.under]?1:0)&&u.firstChild.appendChild(t.firstChild),this.data[this.over].PHTMLhandleScriptlevel(u.firstChild.firstChild),null!=d&&(o.vec&&(u.firstChild.firstChild.firstChild.style.fontSize="60%",o.h*=.6,o.d*=.6,o.w*=.6),d=d-o.d+.1,null!=l.t&&(d+=l.t-l.h),u.firstChild.firstChild.style.marginBottom=a.Em(d)),t.firstChild?t.insertBefore(u,t.firstChild):t.appendChild(u)}return this.data[this.under]&&(t.lastChild.firstChild&&(t.lastChild.firstChild.style.marginLeft=r.l=t.lastChild.firstChild.marginRight=r.r=0),this.data[this.under].PHTMLhandleScriptlevel(t.lastChild)),h.w=Math.max(.8*o.w,.8*r.w,l.w),h.h=.8*(o.h+o.d+(d||0))+l.h,h.d=l.d+.8*(r.h+r.d),t}}),s.msubsup.Augment({toPreviewHTML:function(t){t=this.PHTMLdefaultSpan(t,{noBBox:!0}),this.data[this.base]||(t.firstChild?t.insertBefore(i.Element("span"),t.firstChild):t.appendChild(i.Element("span")));var e=this.data[this.base],s=this.data[this.sub],n=this.data[this.sup];e||(e={bbox:{h:.8,d:.2}}),t.firstChild.style.marginRight=".05em";var o=Math.max(.4,e.PHTML.h-.4),r=Math.max(.2,e.PHTML.d+.1),l=this.PHTML;if(n&&s){var h=i.Element("span",{className:"MJXp-script-box",style:{height:a.Em(o+.8*n.PHTML.h+r+.8*s.PHTML.d),"vertical-align":a.Em(-r-.8*s.PHTML.d)}},[["span",{},[["span",{},[["span",{style:{"margin-bottom":a.Em(-(n.PHTML.d-.05))}}]]]]],["span",{},[["span",{},[["span",{style:{"margin-top":a.Em(-(n.PHTML.h-.05))}}]]]]]]);s.PHTMLhandleScriptlevel(h.firstChild),n.PHTMLhandleScriptlevel(h.lastChild),h.firstChild.firstChild.firstChild.appendChild(t.lastChild),h.lastChild.firstChild.firstChild.appendChild(t.lastChild),t.appendChild(h),l.h=Math.max(e.PHTML.h,.8*n.PHTML.h+o),l.d=Math.max(e.PHTML.d,.8*s.PHTML.d+r),l.w=e.PHTML.w+Math.max(n.PHTML.w,s.PHTML.w)+.07}else n?(t.lastChild.style.verticalAlign=a.Em(o),n.PHTMLhandleScriptlevel(t.lastChild),l.h=Math.max(e.PHTML.h,.8*n.PHTML.h+o),l.d=Math.max(e.PHTML.d,.8*n.PHTML.d-o),l.w=e.PHTML.w+n.PHTML.w+.07):s&&(t.lastChild.style.verticalAlign=a.Em(-r),s.PHTMLhandleScriptlevel(t.lastChild),l.h=Math.max(e.PHTML.h,.8*s.PHTML.h-r),l.d=Math.max(e.PHTML.d,.8*s.PHTML.d+r),l.w=e.PHTML.w+s.PHTML.w+.07);return t}}),s.mfrac.Augment({toPreviewHTML:function(t){t=this.PHTMLdefaultSpan(t,{childSpans:!0,className:"MJXp-box",forceChild:!0,noBBox:!0});var e=this.getValues("linethickness","displaystyle");e.displaystyle||(this.data[0]&&this.data[0].PHTMLhandleScriptlevel(t.firstChild),this.data[1]&&this.data[1].PHTMLhandleScriptlevel(t.lastChild));var s=i.Element("span",{className:"MJXp-box"},[["span",{className:"MJXp-denom"},[["span",{},[["span",{className:"MJXp-rule",style:{height:"1em"}}]]],["span"]]]]);s.firstChild.lastChild.appendChild(t.lastChild),t.appendChild(s);var n=this.PHTMLbboxFor(0),o=this.PHTMLbboxFor(1),r=this.PHTML;if(r.w=.8*Math.max(n.w,o.w),r.h=n.h+n.d+.1+.25,r.d=o.h+o.d-.25,r.l=r.r=.125,e.linethickness=Math.max(0,a.length2em(e.linethickness||"0",0)),e.linethickness){var l=s.firstChild.firstChild.firstChild,h=a.Em(e.linethickness);l.style.borderTop="none",l.style.borderBottom=(e.linethickness<.15?"1px":h)+" solid",l.style.margin=h+" 0",h=e.linethickness,s.style.marginTop=a.Em(3*h-1.2),t.style.verticalAlign=a.Em(1.5*h+.1),r.h+=1.5*h-.1,r.d+=1.5*h}else s.style.marginTop="-.7em";return t}}),s.msqrt.Augment({toPreviewHTML:function(t){return t=this.PHTMLdefaultSpan(t,{childSpans:!0,className:"MJXp-box",forceChild:!0,noBBox:!0}),this.PHTMLlayoutRoot(t,t.firstChild),t},PHTMLlayoutRoot:function(t,e){var s=this.PHTMLbboxFor(0),n=Math.ceil(100*(s.h+s.d+.14)),o=a.Em(14/n),r=i.Element("span",{className:"MJXp-surd"},[["span",{style:{"font-size":n+"%","margin-top":o}},["√"]]]),l=i.Element("span",{className:"MJXp-root"},[["span",{className:"MJXp-rule",style:{"border-top":".08em solid"}}]]),h=1.2/2.2*n/100;if(n>150){var d=Math.ceil(150/n*10);r.firstChild.className="MJXp-right MJXp-scale"+d,r.firstChild.style.marginLeft=a.Em(h*(d/10-1)/n*100),h=h*d/10,l.firstChild.style.borderTopWidth=a.Em(.08/Math.sqrt(d/10))}return l.appendChild(e),t.appendChild(r),t.appendChild(l),this.PHTML.h=s.h+.18,this.PHTML.d=s.d,this.PHTML.w=s.w+h,t}}),s.mroot.Augment({toPreviewHTML:function(t){t=this.PHTMLdefaultSpan(t,{childSpans:!0,className:"MJXp-box",forceChild:!0,noBBox:!0});var e=this.PHTMLbboxFor(1),s=t.removeChild(t.lastChild),n=this.PHTMLlayoutRoot(i.Element("span"),t.firstChild);s.className="MJXp-script";var o=parseInt(n.firstChild.firstChild.style.fontSize),r=o/120*.55+.8*e.d,l=o/120*-.6;return o>150&&(l*=.95*Math.ceil(150/o*10)/10),s.style.marginRight=a.Em(l),s.style.verticalAlign=a.Em(r),-l>.8*e.w&&(s.style.marginLeft=a.Em(-l-.8*e.w)),t.appendChild(s),t.appendChild(n),this.PHTML.w+=Math.max(0,.8*e.w+l),this.PHTML.h=Math.max(this.PHTML.h,.8*e.h+r),t},PHTMLlayoutRoot:s.msqrt.prototype.PHTMLlayoutRoot}),s.mfenced.Augment({toPreviewHTML:function(t){t=this.PHTMLcreateSpan(t),this.PHTMLhandleStyle(t),this.PHTMLhandleColor(t),this.addFakeNodes(),this.PHTMLaddChild(t,"open",{});for(var e=0,i=this.data.length;e<i;e++)this.PHTMLaddChild(t,"sep"+e,{}),this.PHTMLaddChild(t,e,{});this.PHTMLaddChild(t,"close",{});var a=this.PHTML.h,s=this.PHTML.d;for(this.PHTMLstretchChild("open",a,s),e=0,i=this.data.length;e<i;e++)this.PHTMLstretchChild("sep"+e,a,s),this.PHTMLstretchChild(e,a,s);return this.PHTMLstretchChild("close",a,s),t}}),s.mrow.Augment({toPreviewHTML:function(t){t=this.PHTMLdefaultSpan(t);for(var e=this.PHTML.h,i=this.PHTML.d,a=0,s=this.data.length;a<s;a++)this.PHTMLstretchChild(a,e,i);return t}}),s.mstyle.Augment({toPreviewHTML:function(t){return t=this.PHTMLdefaultSpan(t),this.PHTMLhandleScriptlevel(t),t}}),s.TeXAtom.Augment({toPreviewHTML:function(t){return(t=this.PHTMLdefaultSpan(t)).className="MJXp-mrow",t}}),s.mtable.Augment({toPreviewHTML:function(t){t=this.PHTMLdefaultSpan(t,{noBBox:!0});var e,s,n,o,r=this.getValues("columnalign","rowalign","columnspacing","rowspacing","columnwidth","equalcolumns","equalrows","columnlines","rowlines","frame","framespacing","align","width"),l=MathJax.Hub.SplitList,h=l(r.columnspacing),d=l(r.rowspacing),u=l(r.columnalign),c=l(r.rowalign);for(e=0,s=h.length;e<s;e++)h[e]=a.length2em(h[e]);for(e=0,s=d.length;e<s;e++)d[e]=a.length2em(d[e]);for(var m=i.Element("span");t.firstChild;)m.appendChild(t.firstChild);t.appendChild(m);var p=0,M=0;for(e=0,s=this.data.length;e<s;e++){var f=this.data[e];if(f){var g=a.arrayEntry(d,e-1),b=a.arrayEntry(c,e),x=f.PHTML;f.PHTMLspanElement().style.verticalAlign=b;var v="mlabeledtr"===f.type?1:0;for(n=0,o=f.data.length;n<o-v;n++){var T=f.data[n+v];if(T){var L=a.arrayEntry(h,n-1),E=a.arrayEntry(u,n),y=T.PHTMLspanElement();n&&(x.w+=L,y.style.paddingLeft=a.Em(L)),e&&(y.style.paddingTop=a.Em(g)),y.style.textAlign=E}}p+=x.h+x.d,e&&(p+=g),x.w>M&&(M=x.w)}}var C=this.PHTML;return C.w=M,C.h=p/2+.25,C.d=p/2-.25,C.l=C.r=.125,t}}),s.mlabeledtr.Augment({PHTMLdefaultSpan:function(t,e){e||(e={}),t=this.PHTMLcreateSpan(t),this.PHTMLhandleStyle(t),this.PHTMLhandleColor(t),this.isToken&&this.PHTMLhandleToken(t);for(var i=1,a=this.data.length;i<a;i++)this.PHTMLaddChild(t,i,e);return t}}),s.semantics.Augment({toPreviewHTML:function(t){return t=this.PHTMLcreateSpan(t),this.data[0]&&(this.data[0].toPreviewHTML(t),MathJax.Hub.Insert(this.data[0].PHTML||{},this.PHTML)),t}}),s.annotation.Augment({toPreviewHTML:function(t){}}),s["annotation-xml"].Augment({toPreviewHTML:function(t){}}),MathJax.Hub.Register.StartupHook("onLoad",(function(){setTimeout(MathJax.Callback(["loadComplete",a,"jax.js"]),0)}))})),MathJax.Hub.Register.StartupHook("End Cookie",(function(){"None"!==e.config.menuSettings.zoom&&t.Require("[MathJax]/extensions/MathZoom.js")}))}(MathJax.Ajax,MathJax.Hub,MathJax.HTML,MathJax.OutputJax.PreviewHTML),function(t,e,i){var a=t.config.menuSettings,s=MathJax.OutputJax,n=i.isMSIE&&(document.documentMode||0)<8,o=MathJax.Extension["fast-preview"]={version:"2.7.9",enabled:!0,config:t.CombineConfig("fast-preview",{Chunks:{EqnChunk:1e4,EqnChunkFactor:1,EqnChunkDelay:0},color:"inherit!important",updateTime:30,updateDelay:6,messageStyle:"none",disabled:i.isMSIE&&!i.versionAtLeast("8.0")}),Config:function(){var e,i,s,n,r;t.config["CHTML-preview"]&&MathJax.Hub.Config({"fast-preview":t.config["CHTML-preview"]});var l=this.config;l.disabled||null!=a.FastPreview||t.Config({menuSettings:{FastPreview:!0}}),a.FastPreview&&(MathJax.Ajax.Styles({".MathJax_Preview .MJXf-math":{color:l.color}}),t.Config({"HTML-CSS":l.Chunks,CommonHTML:l.Chunks,SVG:l.Chunks})),t.Register.MessageHook("Begin Math Output",(function(){!n&&o.Active()&&(e=t.processUpdateTime,i=t.processUpdateDelay,s=t.config.messageStyle,t.processUpdateTime=l.updateTime,t.processUpdateDelay=l.updateDelay,t.Config({messageStyle:l.messageStyle}),MathJax.Message.Clear(0,0),r=!0)})),t.Register.MessageHook("End Math Output",(function(){!n&&r&&(t.processUpdateTime=e,t.processUpdateDelay=i,t.Config({messageStyle:s}),n=!0)}))},Disable:function(){this.enabled=!1},Enable:function(){this.enabled=!0},Active:function(){return a.FastPreview&&this.enabled&&!(s[a.renderer]||{}).noFastPreview},Preview:function(t){if(this.Active()&&t.script.parentNode){var i=t.script.MathJax.preview||t.script.previousSibling;return i&&i.className===MathJax.Hub.config.preRemoveClass||(i=e.Element("span",{className:MathJax.Hub.config.preRemoveClass}),t.script.parentNode.insertBefore(i,t.script),t.script.MathJax.preview=i),i.innerHTML="",i.style.color=n?"black":"inherit",this.postFilter(i,t)}},postFilter:function(e,i){if(!i.math.root.toPreviewHTML){var a=MathJax.Callback.Queue();a.Push(["Require",MathJax.Ajax,"[MathJax]/jax/output/PreviewHTML/config.js"],["Require",MathJax.Ajax,"[MathJax]/jax/output/PreviewHTML/jax.js"]),t.RestartAfter(a.Push({}))}i.math.root.toPreviewHTML(e)},Register:function(e){t.Register.StartupHook(e+" Jax Require",(function(){MathJax.InputJax[e].postfilterHooks.Add(["Preview",MathJax.Extension["fast-preview"]],50)}))}};o.Register("TeX"),o.Register("MathML"),o.Register("AsciiMath"),t.Register.StartupHook("End Config",["Config",o]),t.Startup.signal.Post("fast-preview Ready")}(MathJax.Hub,MathJax.HTML,MathJax.Hub.Browser),MathJax.Ajax.loadComplete("[MathJax]/extensions/fast-preview.js"),function(t,e,i,a){var s=i.config.menuSettings,n=MathJax.Extension.AssistiveMML={version:"2.7.9",config:i.CombineConfig("AssistiveMML",{disabled:!1,styles:{".MJX_Assistive_MathML":{position:"absolute!important",top:0,left:0,clip:i.Browser.isMSIE&&(document.documentMode||0)<8?"rect(1px 1px 1px 1px)":"rect(1px, 1px, 1px, 1px)",padding:"1px 0 0 0!important",border:"0!important",height:"1px!important",width:"1px!important",overflow:"hidden!important",display:"block!important","-webkit-touch-callout":"none","-webkit-user-select":"none","-khtml-user-select":"none","-moz-user-select":"none","-ms-user-select":"none","user-select":"none"},".MJX_Assistive_MathML.MJX_Assistive_MathML_Block":{width:"100%!important"}}}),Config:function(){this.config.disabled||null!=s.assistiveMML||i.Config({menuSettings:{assistiveMML:!0}}),t.Styles(this.config.styles),i.Register.MessageHook("End Math",(function(t){if(s.assistiveMML)return n.AddAssistiveMathML(t[1])}))},AddAssistiveMathML:function(t){var e={jax:i.getAllJax(t),i:0,callback:MathJax.Callback({})};return this.HandleMML(e),e.callback},RemoveAssistiveMathML:function(t){for(var e,a=i.getAllJax(t),s=0,n=a.length;s<n;s++)(e=document.getElementById(a[s].inputID+"-Frame"))&&e.getAttribute("data-mathml")&&(e.removeAttribute("data-mathml"),e.lastChild&&e.lastChild.className.match(/MJX_Assistive_MathML/)&&e.removeChild(e.lastChild))},HandleMML:function(t){var e,i,s,n,o=t.jax.length,r=MathJax.ElementJax.mml;for(r.copyAttributes.id=1;t.i<o;){if(e=t.jax[t.i],s=document.getElementById(e.inputID+"-Frame"),"NativeMML"!==e.outputJax&&"PlainSource"!==e.outputJax&&s&&!s.getAttribute("data-mathml")){try{i=e.root.toMathML("").replace(/\n */g,"").replace(/<!--.*?-->/g,"")}catch(e){if(r.copyAttributes.id=!0,!e.restart)throw e;return MathJax.Callback.After(["HandleMML",this,t],e.restart)}s.setAttribute("data-mathml",i),n=a.addElement(s,"span",{isMathJax:!0,unselectable:"on",className:"MJX_Assistive_MathML"+("block"===e.root.Get("display")?" MJX_Assistive_MathML_Block":"")});try{n.innerHTML=i}catch(t){}s.style.position="relative",s.setAttribute("role","presentation"),s.firstChild.setAttribute("aria-hidden","true"),n.setAttribute("role","presentation")}t.i++}r.copyAttributes.id=!0,t.callback()}};i.Startup.signal.Post("AssistiveMML Ready")}(MathJax.Ajax,MathJax.Callback,MathJax.Hub,MathJax.HTML),MathJax.Callback.Queue(["Require",MathJax.Ajax,"[MathJax]/extensions/toMathML.js"],["loadComplete",MathJax.Ajax,"[MathJax]/extensions/AssistiveMML.js"],(function(){MathJax.Hub.Register.StartupHook("End Config",["Config",MathJax.Extension.AssistiveMML])})),function(t,e){var i,a,s=t.config.menuSettings,n=Function.prototype.bind?function(t,e){return t.bind(e)}:function(t,e){return function(){t.apply(e,arguments)}},o=Object.keys||function(t){var e=[];for(var i in t)t.hasOwnProperty(i)&&e.push(i);return e},r=MathJax.Ajax.config.path;r.a11y||(r.a11y=t.config.root+"/extensions/a11y");var l=e["accessibility-menu"]={version:"1.6.0",prefix:"",defaults:{},modules:[],MakeOption:function(t){return l.prefix+t},GetOption:function(t){return s[l.MakeOption(t)]},AddDefaults:function(){for(var t,e=o(l.defaults),i=0;t=e[i];i++){var a=l.MakeOption(t);void 0===s[a]&&(s[a]=l.defaults[t])}},AddMenu:function(){for(var t,e=Array(this.modules.length),s=0;t=this.modules[s];s++)e[s]=t.placeHolder;var n,o,r=a.FindId("Accessibility");r?(e.unshift(i.RULE()),r.submenu.items.push.apply(r.submenu.items,e)):((n=(a.FindId("Settings","Renderer")||{}).submenu)&&(e.unshift(i.RULE()),e.unshift(n.items.pop()),e.unshift(n.items.pop())),e.unshift("Accessibility"),r=i.SUBMENU.apply(i.SUBMENU,e),(o=a.IndexOfId("Locale"))?a.items.splice(o,0,r):a.items.push(i.RULE(),r))},Register:function(t){l.defaults[t.option]=!1,l.modules.push(t)},Startup:function(){i=MathJax.Menu.ITEM,a=MathJax.Menu.menu;for(var t,e=0;t=this.modules[e];e++)t.CreateMenu();this.AddMenu()},LoadExtensions:function(){for(var e,i=[],a=0;e=this.modules[a];a++)s[e.option]&&i.push(e.module);return i.length?t.Startup.loadArray(i):null}},h=MathJax.Extension.ModuleLoader=MathJax.Object.Subclass({option:"",name:["",""],module:"",placeHolder:null,submenu:!1,extension:null,Init:function(t,e,i,a,s){this.option=t,this.name=[e.replace(/ /g,""),e],this.module=i,this.extension=a,this.submenu=s||!1},CreateMenu:function(){var t=n(this.Load,this);this.submenu?this.placeHolder=i.SUBMENU(this.name,i.CHECKBOX(["Activate","Activate"],l.MakeOption(this.option),{action:t}),i.RULE(),i.COMMAND(["OptionsWhenActive","(Options when Active)"],null,{disabled:!0})):this.placeHolder=i.CHECKBOX(this.name,l.MakeOption(this.option),{action:t})},Load:function(){t.Queue(["Require",MathJax.Ajax,this.module,["Enable",this]])},Enable:function(t){var e=MathJax.Extension[this.extension];e&&(e.Enable(!0,!0),MathJax.Menu.saveCookie())}});l.Register(h("collapsible","Collapsible Math","[a11y]/collapsible.js","collapsible")),l.Register(h("autocollapse","Auto Collapse","[a11y]/auto-collapse.js","auto-collapse")),l.Register(h("explorer","Explorer","[a11y]/explorer.js","explorer",!0)),l.AddDefaults(),t.Register.StartupHook("End Extensions",(function(){t.Register.StartupHook("MathMenu Ready",(function(){l.Startup(),t.Startup.signal.Post("Accessibility Menu Ready")}),5)}),5),MathJax.Hub.Register.StartupHook("End Cookie",(function(){MathJax.Callback.Queue(["LoadExtensions",l],["loadComplete",MathJax.Ajax,"[a11y]/accessibility-menu.js"])}))}(MathJax.Hub,MathJax.Extension),MathJax.Ajax.loadComplete("[MathJax]/config/MML_HTMLorMML-full.js");