UNPKG

@zklogic/draw.io

Version:

Draw.IO - Graph Editor integration in Angular-cli

1 lines 169 kB
MathJax.Hub.Config({delayJaxRegistration:!0}),MathJax.Ajax.Preloading("[MathJax]/jax/input/AsciiMath/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/asciimath2jax.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/AsciiMath/jax.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.AsciiMath=MathJax.InputJax({id:"AsciiMath",version:"2.7.9",directory:MathJax.InputJax.directory+"/AsciiMath",extensionDir:MathJax.InputJax.extensionDir+"/AsciiMath",config:{fixphi:!0,useMathMLspacing:!0,displaystyle:!0,decimalsign:"."}}),MathJax.InputJax.AsciiMath.Register("math/asciimath"),MathJax.InputJax.AsciiMath.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,n=t.getJaxFor(e),o=["[Math]"],s=document.createElement("span",{className:"MathJax_Preview"});"TeX"===n.inputJax&&(n.root.Get("displaystyle")?(o=[(a=i.displayMathDelimiters)[0]+n.originalText+a[1]],i.multilineDisplay&&(o=o[0].split(/\n/))):o=[(a=i.inlineMathDelimiters)[0]+n.originalText.replace(/^\s+/,"").replace(/\s+$/,"")+a[1]]);for(var r=0,l=o.length;r<l;r++)s.appendChild(document.createTextNode(o[r])),r<l-1&&s.appendChild(document.createElement("br"));e.parentNode.insertBefore(s,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),n=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||n?!n||"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.asciimath2jax={version:"2.7.9",config:{delimiters:[["`","`"]],skipTags:["script","noscript","style","textarea","pre","code","annotation","annotation-xml"],ignoreClass:"asciimath2jax_ignore",processClass:"asciimath2jax_process",preview:"AsciiMath"},ignoreTags:{br:MathJax.Hub.Browser.isMSIE&&document.documentMode<9?"\n":" ",wbr:"","#comment":""},PreProcess:function(t){this.configured||(this.config=MathJax.Hub.CombineConfig("asciimath2jax",this.config),this.config.Augment&&MathJax.Hub.Insert(this,this.config.Augment),this.configured=!0),"string"==typeof t&&(t=document.getElementById(t)),t||(t=document.body),this.createPatterns()&&this.scanElement(t,t.nextSibling)},createPatterns:function(){var t,e,i=[],a=this.config;if(this.match={},0===a.delimiters.length)return!1;for(t=0,e=a.delimiters.length;t<e;t++)i.push(this.patternQuote(a.delimiters[t][0])),this.match[a.delimiters[t][0]]={mode:"",end:a.delimiters[t][1],pattern:this.endPattern(a.delimiters[t][1])};this.start=new RegExp(i.sort(this.sortLength).join("|"),"g"),this.skipTags=new RegExp("^("+a.skipTags.join("|")+")$","i");var n=[];return MathJax.Hub.config.preRemoveClass&&n.push(MathJax.Hub.config.preRemoveClass),a.ignoreClass&&n.push(a.ignoreClass),this.ignoreClass=n.length?new RegExp("(^| )("+n.join("|")+")( |$)"):/^$/,this.processClass=new RegExp("(^| )("+a.processClass+")( |$)"),!0},patternQuote:function(t){return t.replace(/([\^$(){}+*?\-|\[\]\:\\])/g,"\\$1")},endPattern:function(t){return new RegExp(this.patternQuote(t)+"|\\\\.","g")},sortLength:function(t,e){return t.length!==e.length?e.length-t.length:t==e?0:t<e?-1:1},scanElement:function(t,e,i){for(var a,n,o,s;t&&t!=e;)"#text"===t.nodeName.toLowerCase()?i||(t=this.scanText(t)):(a=void 0===t.className?"":t.className,n=void 0===t.tagName?"":t.tagName,"string"!=typeof a&&(a=String(a)),s=this.processClass.exec(a),!t.firstChild||a.match(/(^| )MathJax/)||!s&&this.skipTags.exec(n)||(o=(i||this.ignoreClass.exec(a))&&!s,this.scanElement(t.firstChild,e,o))),t&&(t=t.nextSibling)},scanText:function(t){if(""==t.nodeValue.replace(/\s+/,""))return t;var e,i,a,n=0;for(this.search={start:!0},this.pattern=this.start;t;){for(a=null,this.pattern.lastIndex=n||0,n=0;t&&"#text"===t.nodeName.toLowerCase()&&(e=this.pattern.exec(t.nodeValue));)t=this.search.start?this.startMatch(e,t):this.endMatch(e,t);if(this.search.matched?t=this.encloseMath(t):this.search.start||(a=this.search),t){do{i=t,t=t.nextSibling}while(t&&null!=this.ignoreTags[t.nodeName.toLowerCase()]);if(!t||"#text"!==t.nodeName){if(!a)return i;t=a.open,n=a.opos+a.olen,this.search={start:!0},this.pattern=this.start}}}return t},startMatch:function(t,e){var i=this.match[t[0]];return null!=i&&(this.search={end:i.end,mode:i.mode,open:e,olen:t[0].length,opos:this.pattern.lastIndex-t[0].length},this.switchPattern(i.pattern)),e},endMatch:function(t,e){return t[0]==this.search.end&&(this.search.close=e,this.search.cpos=this.pattern.lastIndex,this.search.clen=this.search.isBeginEnd?0:t[0].length,this.search.matched=!0,e=this.encloseMath(e),this.switchPattern(this.start)),e},switchPattern:function(t){t.lastIndex=this.pattern.lastIndex,this.pattern=t,this.search.start=t===this.start},encloseMath:function(t){var e,i,a,n=this.search,o=n.close;for((o=n.cpos===o.length?o.nextSibling:o.splitText(n.cpos))||(e=o=MathJax.HTML.addText(n.close.parentNode,"")),n.close=o,i=n.opos?n.open.splitText(n.opos):n.open;(a=i.nextSibling)&&a!==o;){if(null!==a.nodeValue)"#comment"===a.nodeName?i.nodeValue+=a.nodeValue.replace(/^\[CDATA\[((.|\n|\r)*)\]\]$/,"$1"):i.nodeValue+=i.nextSibling.nodeValue;else{var s=this.ignoreTags[a.nodeName.toLowerCase()];i.nodeValue+=null==s?" ":s}i.parentNode.removeChild(a)}var r=i.nodeValue.substr(n.olen,i.nodeValue.length-n.olen-n.clen);return i.parentNode.removeChild(i),"none"!==this.config.preview&&this.createPreview(n.mode,r),i=this.createMathTag(n.mode,r),this.search={},this.pattern.lastIndex=0,e&&e.parentNode.removeChild(e),i},insertNode:function(t){var e=this.search;e.close.parentNode.insertBefore(t,e.close)},createPreview:function(t,e){var i=MathJax.Hub.config.preRemoveClass,a=this.config.preview;"none"!==a&&(this.search.close.previousSibling||{}).className!==i&&("AsciiMath"===a&&(a=[this.filterPreview(e)]),a&&(a=MathJax.HTML.Element("span",{className:i},a),this.insertNode(a)))},createMathTag:function(t,e){var i=document.createElement("script");return i.type="math/asciimath"+t,MathJax.HTML.setScript(i,e),this.insertNode(i),i},filterPreview:function(t){return t}},MathJax.Hub.Register.PreProcessor(["PreProcess",MathJax.Extension.asciimath2jax]),MathJax.Ajax.loadComplete("[MathJax]/extensions/asciimath2jax.js"),function(t,e,i,a,n,o,s){var r=MathJax.Extension,l=r.MathEvents={version:"2.7.9"},u=t.config.menuSettings,h={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"}}},d=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 d.Handler(t,"Mousedown",this)},Mouseup:function(t){return d.Handler(t,"Mouseup",this)},Mousemove:function(t){return d.Handler(t,"Mousemove",this)},Mouseover:function(t){return d.Handler(t,"Mouseover",this)},Mouseout:function(t){return d.Handler(t,"Mouseout",this)},Click:function(t){return d.Handler(t,"Click",this)},DblClick:function(t){return d.Handler(t,"DblClick",this)},Menu:function(t){return d.Handler(t,"ContextMenu",this)},Handler:function(t,e,a){if(i.loadingMathMenu)return d.False(t);var n=o[a.jaxID];return t||(t=window.event),t.isContextMenu="ContextMenu"===e,n[e]?n[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===d.KEY.SPACE&&d.ContextMenu(t,this)},ContextMenu:function(e,r,h){var c=o[r.jaxID],m=c.getJaxFromMath(r);if((null!=c.config.showMathMenu?c:t).config.showMathMenu&&("MathJax"===u.context||h)){l.msieEventBug&&(e=window.event||e),d.ClearSelection(),p.ClearHoverTimer(),m.hover&&(m.hover.remove&&(clearTimeout(m.hover.remove),delete m.hover.remove),m.hover.nofade=!0);var f,M,x=MathJax.Menu;if(x){if(x.loadingDomain)return d.False(e);if(!(f=n.loadDomain("MathMenu"))){x.jax=m;var g=x.menu.Find("Show Math As").submenu;g.items[0].name=m.sourceMenuTitle,g.items[0].format=m.sourceMenuFormat||"MathML",g.items[1].name=s[m.inputJax].sourceMenuTitle,g.items[5].disabled=!s[m.inputJax].annotationEncoding;var v=g.items[2];v.disabled=!0;var b=v.submenu.items;annotationList=MathJax.Hub.Config.semanticsAnnotations;for(var C=0,T=b.length;C<T;C++){var E=b[C].name[1];m.root&&null!==m.root.getAnnotation(E)?(v.disabled=!1,b[C].hidden=!1):b[C].hidden=!0}return x.menu.Find("Math Settings","MathPlayer").hidden=!("NativeMML"===m.outputJax&&t.Browser.hasMathPlayer),x.menu.Post(e)}x.loadingDomain=!0,M=function(){delete x.loadingDomain}}else{if(i.loadingMathMenu)return d.False(e);i.loadingMathMenu=!0,f=i.Require("[MathJax]/extensions/MathMenu.js"),M=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(f,M,["ContextMenu",d,y,r,h]),d.False(e)}},AltContextMenu:function(e,i){var a=o[i.jaxID],n=(null!=a.config.showMathMenu?a:t).config.showMathMenu;if(n){if(n=(null!=a.config.showMathMenuMSIE?a:t).config.showMathMenuMSIE,"MathJax"===u.context&&!u.mpContext&&n){if(!l.noContextMenuBug||e.button!==d.RIGHTBUTTON)return}else if(!e[d.MENUKEY]||e.button!==d.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}}},p=l.Hover={Mouseover:function(e,i){if(u.discoverable||"Hover"===u.zoom){var a=e.fromElement||e.relatedTarget,n=e.toElement||e.target;if(a&&n&&(t.isMathJaxNode(a)!==t.isMathJaxNode(n)||t.getJaxFor(a)!==t.getJaxFor(n))){var o=this.getJaxFromMath(i);return o.hover?p.ReHover(o):p.HoverTimer(o,i),d.False(e)}}},Mouseout:function(e,i){if(u.discoverable||"Hover"===u.zoom){var a=e.fromElement||e.relatedTarget,n=e.toElement||e.target;if(a&&n&&(t.isMathJaxNode(a)!==t.isMathJaxNode(n)||t.getJaxFor(a)!==t.getJaxFor(n))){var o=this.getJaxFromMath(i);return o.hover?p.UnHover(o):p.ClearHoverTimer(),d.False(e)}}},Mousemove:function(t,e){if(u.discoverable||"Hover"===u.zoom){var i=this.getJaxFromMath(e);if(i.hover)return;if(p.lastX==t.clientX&&p.lastY==t.clientY)return;return p.lastX=t.clientX,p.lastY=t.clientY,p.HoverTimer(i,e),d.False(t)}},HoverTimer:function(t,e){this.ClearHoverTimer(),this.hoverTimer=setTimeout(a(["Hover",this,t,e]),h.hover)},ClearHoverTimer:function(){this.hoverTimer&&(clearTimeout(this.hoverTimer),delete this.hoverTimer)},Hover:function(i,a){if(!r.MathZoom||!r.MathZoom.Hover({},a)){var n=o[i.outputJax],s=n.getHoverSpan(i,a),u=n.getHoverBBox(i,s,a),d=(null!=n.config.showMathMenu?n:t).config.showMathMenu,p=h.frame.x,c=h.frame.y,m=h.frame.bwidth;l.msieBorderWidthBug&&(m=0),i.hover={opacity:0,id:i.inputID+"-Hover"};var f=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(-u.h-c-m-(u.y||0)),left:this.Px(-p-m+(u.x||0)),width:this.Px(u.w+2*p),height:this.Px(u.h+u.d+2*c),opacity:0,filter:"alpha(opacity=0)"}}]]),M=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:n.id,style:{left:this.Px(u.w+p+m+(u.x||0)+h.button.x),top:this.Px(-u.h-c-m-(u.y||0)-h.button.y),opacity:0,filter:"alpha(opacity=0)"}},[["span",{isMathJax:!0},"▼"]]]]);u.width&&(f.style.width=M.style.width=u.width,f.style.marginRight=M.style.marginRight="-"+u.width,f.firstChild.style.width=u.width,M.firstChild.style.left="",M.firstChild.style.right=this.Px(h.button.wx)),s.parentNode.insertBefore(f,s),d&&s.parentNode.insertBefore(M,s),s.style&&(s.style.position="relative"),this.ReHover(i)}},ReHover:function(t){t.hover.remove&&clearTimeout(t.hover.remove),t.hover.remove=setTimeout(a(["UnHover",this,t]),h.fadeoutDelay),this.HoverFadeTimer(t,h.fadeinInc)},UnHover:function(t){t.hover.nofade||this.HoverFadeTimer(t,-h.fadeoutInc,h.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||h.fadeDelay))},HoverMenu:function(t){return t||(t=window.event),o[this.jax].ContextMenu(t,this.math,!0)},ClearHover:function(t){t.hover.remove&&clearTimeout(t.hover.remove),t.hover.timer&&clearTimeout(t.hover.timer),p.ClearHoverTimer(),delete t.hover},Px:function(t){return Math.abs(t)<.006?"0px":t.toFixed(2).replace(/\.?0+$/,"")+"px"},getImages:function(){u.discoverable&&((new Image).src=h.button.src)}},c=l.Touch={last:0,delay:500,start:function(t){var e=(new Date).getTime(),i=e-c.last<c.delay&&c.up;c.last=e,c.up=!1,i&&(c.timeout=setTimeout(c.menu,c.delay,t,this),t.preventDefault())},end:function(t){var e=(new Date).getTime();if(c.up=e-c.last<c.delay,c.timeout)return clearTimeout(c.timeout),delete c.timeout,c.last=0,c.up=!1,t.preventDefault(),d.Handler(t.touches[0]||t.touch,"DblClick",this)},menu:function(t,e){return delete c.timeout,c.last=0,c.up=!1,d.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&&(d.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=h=t.CombineConfig("MathEvents",h),a.Queue(t.Register.StartupHook("End Config",{}),[function(){var t=h.styles[".MathJax_Hover_Frame"];t.border=h.frame.bwidth+"px solid "+h.frame.bcolor+" ! important",t["box-shadow"]=t["-webkit-box-shadow"]=t["-moz-box-shadow"]=t["-khtml-box-shadow"]="0px 0px "+h.frame.hwidth+" "+h.frame.hcolor}],["getImages",p],["Styles",i,h.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,n){var o,s,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,o=MathJax.Extension.MathEvents.Event.False,s=MathJax.Extension.MathEvents.Hover}));var u=MathJax.Extension.MathZoom={version:"2.7.9",settings:t.config.menuSettings,scrollSize:18,HandleEvent:function(t,e,i){return!(!u.settings.CTRL||t.ctrlKey)||!(!u.settings.ALT||t.altKey)||!(!u.settings.CMD||t.metaKey)||!(!u.settings.Shift||t.shiftKey)||!u[e]||u[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(),s.ClearHoverTimer(),r.ClearSelection();var n=MathJax.OutputJax[a.jaxID],u=n.getJaxFromMath(a);u.hover&&s.UnHover(u);var h=this.findContainer(a),d=Math.floor(.85*h.clientWidth),p=Math.max(document.body.clientHeight,document.documentElement.clientHeight);"visible"!==this.getOverflow(h)&&(p=Math.min(h.clientHeight,p)),p=Math.floor(.85*p);var c=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"}}]]]]),m=c.lastChild,f=m.firstChild,M=c.firstChild;a.parentNode.insertBefore(c,a),a.parentNode.insertBefore(a,c),f.addEventListener&&f.addEventListener("mousedown",this.Remove,!0);var x=m.offsetWidth||m.clientWidth;if(d-=x,p-=x,m.style.maxWidth=d+"px",m.style.maxHeight=p+"px",this.msieTrapEventBug){var g=e.Element("span",{id:"MathJax_ZoomEventTrap",onmousedown:this.Remove});c.insertBefore(g,m)}if(this.msieZIndexBug){var v=e.addElement(document.body,"img",{src:"about:blank",id:"MathJax_ZoomTracker",width:0,height:0,style:{width:0,height:0,position:"relative"}});c.style.position="relative",c.style.zIndex=l.styles["#MathJax_ZoomOverlay"]["z-index"],c=v}var b=n.Zoom(u,f,a,d,p);return this.msiePositionBug&&(this.msieSizeBug&&(m.style.height=b.zH+"px",m.style.width=b.zW+"px"),m.offsetHeight>p&&(m.style.height=p+"px",m.style.width=b.zW+this.scrollSize+"px"),m.offsetWidth>d&&(m.style.width=d+"px",m.style.height=b.zH+this.scrollSize+"px")),this.operaPositionBug&&(m.style.width=Math.min(d,b.zW)+"px"),m.offsetWidth>x&&m.offsetWidth-x<d&&m.offsetHeight-x<p&&(m.style.overflow="visible"),this.Position(m,b),this.msieTrapEventBug&&(g.style.height=m.clientHeight+"px",g.style.width=m.clientWidth+"px",g.style.left=parseFloat(m.style.left)+m.clientLeft+"px",g.style.top=parseFloat(m.style.top)+m.clientTop+"px"),m.style.visibility="","Hover"===this.settings.zoom&&(M.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",u]),o(i)},Position:function(t,e){t.style.display="none";var i=this.Resize(),a=i.x,n=i.y,o=e.mW;t.style.display="";var s=-o-Math.floor((t.offsetWidth-o)/2),r=e.Y;t.style.left=Math.max(s,10-a)+"px",t.style.top=Math.max(r,10-n)+"px",u.msiePositionBug||u.SetWH()},Resize:function(t){u.onresize&&u.onresize(t);var e=document.getElementById("MathJax_ZoomFrame"),i=document.getElementById("MathJax_ZoomOverlay"),a=u.getXY(e),n=u.findContainer(e);if("visible"!==u.getOverflow(n)){i.scroll_parent=n;var o=u.getXY(n);a.x-=o.x,a.y-=o.y,o=u.getBorder(n),a.x-=o.x,a.y-=o.y}return i.style.left=-a.x+"px",i.style.top=-a.y+"px",u.msiePositionBug?setTimeout(u.SetWH,0):u.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"===u.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,n=i.borderTopWidth;return{x:a=e[a]?e[a]:parseInt(a),y:n=e[n]?e[n]:parseInt(n)}},getXY:function(t){var e,i=0,a=0;for(e=t;e.offsetParent;)i+=e.offsetLeft,e=e.offsetParent;for(u.operaPositionBug&&(t.style.border="1px solid"),e=t;e.offsetParent;)a+=e.offsetTop,e=e.offsetParent;return u.operaPositionBug&&(t.style.border=""),{x:i,y:a}},Remove:function(i){var a=document.getElementById("MathJax_ZoomFrame");if(a){var n=MathJax.OutputJax[a.previousSibling.jaxID].getJaxFromMath(a.previousSibling);if(t.signal.Post(["math unzoomed",n]),a.parentNode.removeChild(a),(a=document.getElementById("MathJax_ZoomTracker"))&&a.parentNode.removeChild(a),u.operaRefreshBug){var s=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(s)}window.removeEventListener?removeEventListener("resize",u.Resize,!1):window.detachEvent?detachEvent("onresize",u.Resize):(window.onresize=u.onresize,delete u.onresize)}return o(i)}};t.Browser.Select({MSIE:function(t){var e=document.documentMode||0,i=e>=9;u.msiePositionBug=!i,u.msieSizeBug=t.versionAtLeast("7.0")&&(!document.documentMode||7===e||8===e),u.msieZIndexBug=e<=7,u.msieInlineBlockAlignBug=e<=7,u.msieTrapEventBug=!window.addEventListener,"BackCompat"===document.compatMode&&(u.scrollSize=52),i&&delete l.styles["#MathJax_Zoom"].filter},Opera:function(t){u.operaPositionBug=!0,u.operaRefreshBug=!0}}),u.topImg=u.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"}}),(u.operaPositionBug||u.msieTopBug)&&(u.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,n){var o="2.7.9",s=MathJax.Callback.Signal("menu");MathJax.Extension.MathMenu={version:o,signal:s};var r,l,u,h=function(t){return MathJax.Localization._.apply(MathJax.Localization,[["MathMenu",t]].concat([].slice.call(arguments,1)))},d=MathJax.Object.isArray,p=t.Browser.isPC,c=t.Browser.isMSIE,m=(document.documentMode||0)>8,f=p?null:"5px",M=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:p?"2px":"5px 0px",border:"1px solid #CCCCCC",margin:0,cursor:"default",font:"menu","text-align":"left","text-indent":0,"text-transform":"none","line-height":"normal","letter-spacing":"normal","word-spacing":"normal","word-wrap":"normal","white-space":"nowrap",float:"none","z-index":201,"border-radius":f,"-webkit-border-radius":f,"-moz-border-radius":f,"-khtml-border-radius":f,"box-shadow":"0px 10px 20px #808080","-webkit-box-shadow":"0px 10px 20px #808080","-moz-box-shadow":"0px 10px 20px #808080","-khtml-box-shadow":"0px 10px 20px #808080",filter:"progid:DXImageTransform.Microsoft.dropshadow(OffX=2, OffY=2, Color='gray', Positive='true')"},".MathJax_MenuItem":{padding:p?"2px 2em":"1px 2em",background:"transparent"},".MathJax_MenuArrow":{position:"absolute",right:".5em","padding-top":".25em",color:"#666666","font-family":c?"'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":c?"'Arial unicode MS'":null},".MathJax_MenuCheck.RTL":{right:".7em",left:"auto"},".MathJax_MenuRadioCheck":{position:"absolute",left:p?"1em":".7em"},".MathJax_MenuRadioCheck.RTL":{right:p?"1em":".7em",left:"auto"},".MathJax_MenuLabel":{padding:p?"2px 2em 4px 1.33em":"1px 2em 3px 1.33em","font-style":"italic"},".MathJax_MenuRule":{"border-top":p?"1px solid #CCCCCC":"1px solid #DDDDDD",margin:p?"4px 1px 0px":"4px 3px"},".MathJax_MenuDisabled":{color:"GrayText"},".MathJax_MenuActive":{"background-color":p?"Highlight":"#606872",color:p?"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,u=MathJax.Extension.MathEvents.Event.KEY}));var x=MathJax.Object.Subclass({Keydown:function(t,e){switch(t.keyCode){case u.ESCAPE:this.Remove(t,e);break;case u.RIGHT:this.Right(t,e);break;case u.LEFT:this.Left(t,e);break;case u.UP:this.Up(t,e);break;case u.DOWN:this.Down(t,e);break;case u.RETURN:case u.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){}},{}),g=MathJax.Menu=x.Subclass({version:o,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 n=document.getElementById("MathJax_MenuFrame");n||(n=g.Background(this),delete v.lastItem,delete v.lastMenu,delete g.skipUp,s.Post(["post",g.jax]),g.isRTL="rtl"===MathJax.Localization.fontDirection());var o=e.Element("div",{onmouseup:g.Mouseup,ondblclick:r,ondragstart:r,onselectstart:r,oncontextmenu:r,menuItem:this,className:"MathJax_Menu",onkeydown:g.Keydown,role:"menu"});"contextmenu"!==t.type&&"mouseover"!==t.type||(o.className+=" MathJax_ContextMenu"),a||MathJax.Localization.setCSS(o);for(var l=0,u=this.items.length;l<u;l++)this.items[l].Create(o);g.isMobile&&e.addElement(o,"span",{className:"MathJax_MenuClose",menu:i,ontouchstart:g.Close,ontouchend:r,onmousedown:g.Close,onmouseup:r},[["span",{},"×"]]),n.appendChild(o),this.posted=!0,o.offsetWidth&&(o.style.width=o.offsetWidth+2+"px");var h=t.pageX,d=t.pageY,c=document.body.getBoundingClientRect(),m=window.getComputedStyle?window.getComputedStyle(document.body):{marginLeft:"0px"},f=c.right-Math.min(0,c.left)+parseFloat(m.marginLeft);if(h||d||!("clientX"in t)||(h=t.clientX+document.body.scrollLeft+document.documentElement.scrollLeft,d=t.clientY+document.body.scrollTop+document.documentElement.scrollTop),i){var x="left",b=i.offsetWidth;for(h=g.isMobile?30:b-2,d=0;i&&i!==n;)h+=i.offsetLeft,d+=i.offsetTop,i=i.parentNode;g.isMobile||(g.isRTL&&h-b-o.offsetWidth>this.margin||!g.isRTL&&h+o.offsetWidth>f-this.margin)&&(x="right",h=Math.max(this.margin,h-b-o.offsetWidth+6)),p||(o.style["borderRadiusTop"+x]=0,o.style["WebkitBorderRadiusTop"+x]=0,o.style["MozBorderRadiusTop"+x]=0,o.style["KhtmlBorderRadiusTop"+x]=0)}else{var C=g.CurrentNode()||t.target;if(("keydown"===t.type||!h&&!d)&&C){var T=window.pageXOffset||document.documentElement.scrollLeft,E=window.pageYOffset||document.documentElement.scrollTop,y=C.getBoundingClientRect();h=(y.right+y.left)/2+T,d=(y.bottom+y.top)/2+E}h+o.offsetWidth>f-this.margin&&(h=f-o.offsetWidth-this.margin),g.isMobile&&(h=Math.max(5,h-Math.floor(o.offsetWidth/2)),d-=20),g.skipUp=t.isContextMenu}o.style.left=h+"px",o.style.top=d+"px",document.selection&&document.selection.empty&&document.selection.empty();var L=window.pageXOffset||document.documentElement.scrollLeft,A=window.pageYOffset||document.documentElement.scrollTop;return g.Focus(o),"keydown"===t.type&&(g.skipMouseoverFromKey=!0,setTimeout((function(){delete g.skipMouseoverFromKey}),M.delay)),window.scrollTo(L,A),r(t)},Remove:function(t,e){s.Post(["unpost",g.jax]);var i=document.getElementById("MathJax_MenuFrame");return i&&(i.parentNode.removeChild(i),this.msieFixedPositionBug&&detachEvent("onresize",g.Resize)),g.jax.hover&&(delete g.jax.hover.nofade,l.UnHover(g.jax)),g.Unfocus(e),"mousedown"===t.type&&g.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,n=this.items.length;a<n;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){g.Right(t,e)},Left:function(t,e){g.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:M,Remove:function(t){return g.Event(t,this,"Remove")},Mouseover:function(t){return g.Event(t,this,"Mouseover")},Mouseout:function(t){return g.Event(t,this,"Mouseout")},Mousedown:function(t){return g.Event(t,this,"Mousedown")},Mouseup:function(t){return g.Event(t,this,"Mouseup")},Keydown:function(t){return g.Event(t,this,"Keydown")},Touchstart:function(t){return g.Event(t,this,"Touchstart")},Touchend:function(t){return g.Event(t,this,"Touchend")},Close:function(t){return g.Event(t,this.menu||this.parentNode,this.menu?"Touchend":"Remove")},Event:function(t,e,i,a){if(g.skipMouseover&&"Mouseover"===i&&!a)return r(t);if(g.skipMouseoverFromKey&&"Mouseover"===i)return delete g.skipMouseoverFromKey,r(t);if(g.skipUp){if(i.match(/Mouseup|Touchend/))return delete g.skipUp,r(t);("Touchstart"===i||"Mousedown"===i&&!g.skipMousedown)&&delete g.skipUp}t||(t=window.event);var n=e.menuItem;return n&&n[i]?n[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 g.msieBackgroundBug&&(a.style.backgroundColor="white",a.style.filter="alpha(opacity=0)"),g.msieFixedPositionBug?(i.width=i.height=0,this.Resize(),attachEvent("onresize",this.Resize)):a.style.position="fixed",i},Resize:function(){setTimeout(g.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 g.GetNode(g.jax)},AllNodes:function(){for(var t,e=MathJax.Hub.getAllJax(),i=[],a=0;t=e[a];a++)i.push(g.GetNode(t));return i},ActiveNode:function(){return g.active},FocusNode:function(t){g.active=t,t.focus()},Focus:function(t){g.posted?g.ActiveNode().tabIndex=-1:g.Activate(t),t.tabIndex=0,g.FocusNode(t)},Activate:function(t,e){g.UnsetTabIndex(),g.posted=!0},Unfocus:function(){g.ActiveNode().tabIndex=-1,g.SetTabIndex(),g.FocusNode(g.CurrentNode()),g.posted=!1},MoveHorizontal:function(t,e,i){if(t.shiftKey){var a=g.AllNodes(),n=a.length;if(0!==n){var o=a[g.Mod(i(g.IndexOf(a,g.CurrentNode())),n)];o!==g.CurrentNode()&&(g.menu.Remove(t,e),g.jax=MathJax.Hub.getJaxFor(o),g.FocusNode(o),g.menu.Post(null))}}},Right:function(t,e){g.MoveHorizontal(t,e,(function(t){return t+1}))},Left:function(t,e){g.MoveHorizontal(t,e,(function(t){return t-1}))},UnsetTabIndex:function(){for(var t,e=g.AllNodes(),i=0;t=e[i];i++)t.tabIndex>0&&(t.oldTabIndex=t.tabIndex),t.tabIndex=-1},SetTabIndex:function(){for(var e,i=g.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,n=t.length;a<n;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=x;var v=g.ITEM=x.Subclass({name:"",node:null,menu:null,Attributes:function(e){return t.Insert({onmouseup:g.Mouseup,ondragstart:r,onselectstart:r,onselectend:r,ontouchstart:g.Touchstart,ontouchend:g.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 h(this.name[0],this.name[1])},Mouseover:function(t,e){e.parentNode===g.ActiveNode().parentNode&&this.Deactivate(g.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=v.GetMenuNode(t).childNodes,a=0,n=i.length;a<n;a++){var o=i[a].menuItem;o&&o.submenu&&o.submenu.posted&&o!==t.menuItem&&o.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&&v.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!==v.lastItem&&(v.lastMenu&&g.Event(t,v.lastMenu,"Mouseout"),g.Event(t,e,"Mouseover",!0),v.lastItem=this,v.lastMenu=e),this.nativeTouch?null:(g.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 g.isRTL},rtlClass:function(){return this.isRTL()?" RTL":""}},{GetMenuNode:function(t){return t.parentNode}});g.ENTRY=g.ITEM.Subclass({role:"menuitem",Attributes:function(e){return e=t.Insert({onmouseover:g.Mouseover,onmouseout:g.Mouseout,onmousedown:g.Mousedown,onkeydown:g.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,n=v.GetMenuNode(e),o=[],s=0,r=n.menuItem.items;a=r[s];s++)a.hidden||o.push(a);var l=g.IndexOf(o,this);if(-1!==l){var u=o.length,h=n.childNodes;do{l=g.Mod(i(l),u)}while(o[l].hidden||!h[l].role||"separator"===h[l].role);this.Deactivate(e),o[l].Activate(t,h[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,g.Right,!this.isRTL())},Left:function(t,e){this.MoveHorizontal(t,e,g.Left,this.isRTL())},MoveHorizontal:function(t,e,i,a){var n=v.GetMenuNode(e);if(n.menuItem===g.menu&&t.shiftKey&&i(t,e),!a){n.menuItem!==g.menu&&this.Deactivate(e);for(var o=n.previousSibling.childNodes,s=o.length;s--;){var r=o[s];if(r.menuItem.submenu&&r.menuItem.submenu===n.menuItem){g.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),g.Focus(e)},Deactivate:function(t){t.className=t.className.replace(/ MathJax_MenuActive/,"")}}),g.ITEM.COMMAND=g.ENTRY.Subclass({action:function(){},Init:function(t,e,i){d(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),s.Post(["command",this]),this.action.call(this,t)),r(t)}}),g.ITEM.SUBMENU=g.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){d(t)||(t=[t,t]),this.name=t;var i=1;e instanceof g.ITEM||(this.With(e),i++),this.submenu=g.apply(g,[].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]),M.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 v.lastItem,delete v.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),g.Focus(e))),r(t)},Activate:function(t,e){this.disabled||(this.Deactivate(e),e.className+=" MathJax_MenuActive"),this.submenu.posted||(this.DeactivateSubmenus(e),g.isMobile||this.Timer(t,e)),g.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 n=v.GetMenuNode(e).nextSibling.childNodes;n.length>0&&this.submenu.items[0].Activate(t,n[0])}else this.Activate(t,e)}else this.SUPER(arguments).MoveHorizontal.apply(this,arguments)}}),g.ITEM.RADIO=g.ENTRY.Subclass({variable:null,marker:p?"●":"✓",role:"menuitemradio",Attributes:function(e){var i=M.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){d(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 M.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,n=i.length;a<n;a++){var o=i[a].menuItem;o&&o.variable===this.variable&&(i[a].firstChild.style.display="none")}e.firstChild.display="",M.settings[this.variable]=this.value,g.cookie[this.variable]=M.settings[this.variable],g.saveCookie(),s.Post(["radio button",this])}return this.Remove(t,e),this.action&&!this.disabled&&this.action.call(g,this),r(t)}}),g.ITEM.CHECKBOX=g.ENTRY.Subclass({variable:null,marker:"✓",role:"menuitemcheckbox",Attributes:function(e){var i=M.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){d(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 M.settings[this.variable]||(i={style:{display:"none"}}),[["span",i,[this.marker]]," "+this.Name()]},Mouseup:function(t,e){return this.disabled||(e.firstChild.display=M.settings[this.variable]?"none":"",M.settings[this.variable]=!M.settings[this.variable],g.cookie[this.variable]=M.settings[this.variable],g.saveCookie(),s.Post(["checkbox",this])),this.Remove(t,e),this.action&&!this.disabled&&this.action.call(g,this),r(t)}}),g.ITEM.LABEL=g.ENTRY.Subclass({role:"menuitem",Init:function(t,e){d(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),g.Focus(e)},Mouseup:function(t,e){}}),g.ITEM.RULE=g.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}}),g.About=function(i){var a=g.About.GetFont(),n=g.About.GetFormat(),o=["MathJax.js v"+MathJax.fileversion,["br"]];o.push(["div",{style:{"border-top":"groove 2px",margin:".25em 0"}}]),g.About.GetJax(o,MathJax.InputJax,["InputJax","%1 Input Jax v%2"]),g.About.GetJax(o,MathJax.OutputJax,["OutputJax","%1 Output Jax v%2"]),g.About.GetJax(o,MathJax.ElementJax,["ElementJax","%1 Element Jax v%2"]),o.push(["div",{style:{"border-top":"groove 2px",margin:".25em 0"}}]),g.About.GetJax(o,MathJax.Extension,["Extension","%1 Extension v%2"],!0),o.push(["div",{style:{"border-top":"groove 2px",margin:".25em 0"}}],["center",{},[t.Browser+" v"+t.Browser.version+(n?" — "+h(n.replace(/ /g,""),n):"")]]),g.About.div=g.Background(g.About);var s=e.addElement(g.About.div,"div",{id:"MathJax_About",tabIndex:0,onkeydown:g.About.Keydown},[["b",{style:{fontSize:"120%"}},["MathJax"]]," v"+MathJax.version,["br"],h(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},o],["br"],["br"],["a",{href:"http://www.mathjax.org/"},["www.mathjax.org"]],["span",{className:"MathJax_MenuClose",id:"MathJax_AboutClose",onclick:g.About.Remove,onkeydown:g.About.Keydown,tabIndex:0,role:"button","aria-label":h("CloseAboutDialog","Close about MathJax dialog")},[["span",{},"×"]]]]);"mouseup"===i.type&&(s.className+=" MathJax_MousePost"),s.focus(),MathJax.Localization.setCSS(s);var r=document.documentElement||{},l=window.innerHeight||r.clientHeight||r.scrollHeight||0;g.prototype.msieAboutBug?(s.style.width="20em",s.style.position="absolute",s.style.left=Math.floor((document.documentElement.scrollWidth-s.offsetWidth)/2)+"px",s.style.top=Math.floor((l-s.offsetHeight)/3)+document.body.scrollTop+"px"):(s.style.marginLeft=Math.floor(-s.offsetWidth/2)+"px",s.style.top=Math.floor((l-s.offsetHeight)/3)+"px")},g.About.Remove=function(t){g.About.div&&(document.body.removeChild(g.About.div),delete g.About.div)},g.About.Keydown=function(t){t.keyCode!==u.ESCAPE&&("MathJax_AboutClose"!==this.id||t.keyCode!==u.SPACE&&t.keyCode!==u.RETURN)||(g.About.Remove(t),g.CurrentNode().focus(),r(t))},g.About.GetJax=function(t,e,i,a){var n=[];for(var o in e)e.hasOwnProperty(o)&&e[o]&&(a&&e[o].version||e[o].isa&&e[o].isa(e))&&n.push(h(i[0],i[1],e[o].id||o,e[o].version));n.sort();for(var s=0,r=n.length;s<r;s++)t.push(n[s],["br"]);return t},g.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"},g.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"},g.Help=function(t){i.Require("[MathJax]/extensions/HelpDialog.js",(function(){MathJax.Extension.Help.Dialog({type:t.type})}))},g.ShowSource=function(t){t||(t=window.event);var e={screenX:t.screenX,screenY:t.screenY};if(g.jax)if("MathML"===this.format){var n=MathJax.ElementJax.mml;if(n&&void 0!==n.mbase.prototype.toMathML)try{g.ShowSource.Text(g.jax.root.toMathML("",g.jax),t)}catch(t){if(!t.restart)throw t;a.After([this,g.ShowSource,e],t.restart)}else if(!i.loadingToMathML)return i.loadingToMathML=!0,g.ShowSource.Window(t),void a.Queue(i.Require("[MathJax]/extensions/toMathML.js"),(function(){delete i.loadingToMathML,n.mbase.prototype.toMathML||(n.mbase.prototype.toMathML=function(){})}),[this,g.ShowSource,e])}else if("Error"===this.format)g.ShowSource.Text(g.jax.errorText,t);else if(M.semanticsAnnotations[this.format]){var o=g.jax.root.getAnnotation(this.format);o.data[0]&&g.ShowSource.Text(o.data[0].toString())}else{if(null==g.jax.originalText)return void alert(h("NoOriginalForm","No original form available"));g.ShowSource.Text(g.jax.originalText,t)}},g.ShowSource.Window=function(t){if(!g.ShowSource.w){var e=[],i=M.windowSettings;for(var a in i)i.hasOwnProperty(a)&&e.push(a+"="+i[a]);g.ShowSource.w=window.open("","_blank",e.join(","))}return g.ShowSource.w},g.ShowSource.Text=function(t,e){var i=g.ShowSource.Window(e);delete g.ShowSource.w,t=(t=t.replace(/^\s*/,"").replace(/\s*$/,"")).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;");var a=h("EqSource","MathJax Equation Source");if(g.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='"+h("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 n=i.document.body.firstChild;setTimeout((function(){var t,a,o,s=i.outerHeight-i.innerHeight||30,r=i.outerWidth-i.innerWidth||30;r=Math.max(140,Math.min(Math.floor(.5*screen.width),n.offsetWidth+r+25)),s=Math.max(40,Math.min(Math.floor(.5*screen.height),n.offsetHeight+s+25)),g.prototype.msieHeightBug&&(s+=35),i.resizeTo(r,s);try{o=e.screenX}catch(t){}e&&null!=o&&(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(s/2),screen.height-s-20)),i.moveTo(t,a))}),50)}},g.Scale=function(){var e,i,a=["CommonHTML","HTML-CSS","SVG","NativeMML","PreviewHTML"],o=a.length,s=100;for(e=0;e<o;e++)if(i=n[a[e]]){s=i.config.scale;break}var r=prompt(h("ScaleMath","Scale all mathematics (compared to surrounding text) by"),s+"%");if(r)if(r.match(/^\s*\d+(\.\d*)?\s*%?\s*$/))if(r=parseFloat(r)){if(r!==s){for(e=0;e<o;e++)(i=n[a[e]])&&(i.config.scale=r);g.cookie.scale=t.config.scale=r,g.saveCookie(),t.Queue(["Rerender",t])}}else alert(h("NonZeroScale","The scale should not be zero"));else alert(h("PercentScale","The scale should be a percentage (e.g., 120%%)"))},g.Zoom=function(){MathJax.Extension.MathZoom||i.Require("[MathJax]/extensions/MathZoom.js")},g.Renderer=function(){var i=t.outputJax["jax/mml"];if(i[0]!==M.settings.renderer){var a,n,o=t.Browser,s=g.Renderer.Messages;switch(M.settings.renderer){case"NativeMML":M.settings.warnedMML||(o.isChrome&&"24."!==o.version.substr(0,3)||o.isSafari&&!o.versionAtLeast("5.0")?a=s.MML.WebKit:o.isMSIE?o.hasMathPlayer||(a=s.MML.MSIE):a=o.isEdge?s.MML.WebKit:s.MML[o],n="warnedMML");break;case"SVG":M.settings.warnedSVG||o.isMSIE&&!m&&(a=s.SVG.MSIE)}if(a){if(a=h(a[0],a[1]),a+="\n\n",a+=h("SwitchAnyway","Switch the renderer anyway?\n\n(Press OK to switch, CANCEL to continue with the current renderer)"),g.cookie.renderer=i[0].id,g.saveCookie(),!confirm(a))return g.cookie.renderer=M.settings.renderer=e.Cookie.Get("menu").renderer,void g.saveCookie();n&&(g.cookie.warned=M.settings.warned=!0),g.cookie.renderer=M.settings.renderer,g.saveCookie()}t.Queue(["setRenderer",t,M.settings.renderer,"jax/mml"],["Rerender",t])}},g.Renderer.Messages={MML:{WebKit:["WebkitNativeMMLWarning","Your browser doesn't seem to support MathML natively, so switching to MathML output may cause the mathematics on the page to become unreadable."],MSIE:["MSIENativeMMLWarning","Internet Explorer requires the MathPlayer plugin in order to process MathML output."],Opera:["OperaNativeMMLWarning","Opera's support for MathML is limited, so switching to MathML output may cause some expressions to render poorly."],Safari:["SafariNativeMMLWarning","Your browser's native MathML does not implement all the features used by MathJax, so some expressions may not render properly."],Firefox:["FirefoxNativeMMLWarning","Your browser's native MathML does not implement all the features used by MathJax, so some expressions may not render properly."]},SVG:{MSIE:["MSIESVGWarning","SVG is not implemented in Internet Explorer prior to IE9 or when it is emulating IE8 or below. Switching to SVG output will cause the mathematics to not display properly."]}},g.AssistiveMML=function(t,e){var a=MathJax.Extension.AssistiveMML;a?MathJax.Hub.Queue([(M.settings.assistiveMML?"Add":"Remove")+"AssistiveMathML",a]):e||i.Require("[MathJax]/extensions/AssistiveMML.js",["AssistiveMML",g,t,!0])},g.Font=function(){n["HTML-CSS"]&&document.location.reload()},g.Locale=function(){MathJax.Localization.setLocale(M.settings.locale),MathJax.Hub.Queue(["Reprocess",MathJax.Hub])},g.LoadLocale=function(){var t=prompt(h("LoadURL","Load translation data from this URL:"));t&&(t.match(/\.js$/)||alert(h("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(h("BadData","Failed to load translation data from %1",t))})))},g.MPEvents=function(t){var e=M.settings.discoverable,i=g.MPEvents.Messages;if(m)!e&&"Menu Events"===t.name[1]&&M.settings.mpContext&&alert(h.apply(h,i.IE9warning));else{if(M.settings.mpMouse&&!confirm(h.apply(h,i.IE8warning)))return delete g.cookie.mpContext,delete M.settings.mpContext,delete g.cookie.mpMouse,delete M.settings.mpMouse,void g.saveCookie();M.settings.mpContext=M.settings.mpMouse,g.cookie.mpContext=g.cookie.mpMouse=M.settings.mpMouse,g.saveCookie(),MathJax.Hub.Queue(["Rerender",MathJax.Hub])}},g.MPEvents.Messages={IE8warning:["IE8warning","This will disable the MathJax menu and zoom features, but you can Alt-Click on an expression to obtain the MathJax menu instead.\n\nReally change the MathPlayer settings?"],IE9warning:["IE9warning","The MathJax contextual menu will be disabled, but you can Alt-Click on an expression to obtain the MathJax menu instead."]},t.Browser.Select({MSIE:function(t){var e="BackCompat"===document.compatMode,i=t.versionAtLeast("8.0")&&document.documentMode>7;g.Augment({margin:20,msieBackgroundBug:(document.documentMode||0)<9,msieFixedPositionBug:e||!i,msieAboutBug:e,msieHeightBug:(document.documentMode||0)<9}),m&&(delete M.styles["#MathJax_About"].filter,delete M.styles[".MathJax_Menu"].filter)},Firefox:function(t){g.skipMouseover=t.isMobile&&t.versionAtLeast("6.0"),g.skipMousedown=t.isMobile}}),g.isMobile=t.Browser.isMobile,g.noContextMenu=t.Browser.noContextMenu,g.CreateLocaleMenu=function(){if(g.menu){var t=g.menu.Find("Language").submenu,e=t.items,i=[],a=MathJax.Localization.strings;for(var n in a)a.hasOwnProperty(n)&&i.push(n);i=i.sort(),t.items=[];for(var o=0,s=i.length;o<s;o++){var r=a[i[o]].menuTitle;r?r+=" ("+i[o]+")":r=i[o],t.items.push(v.RADIO([i[o],r],"locale",{action:g.Locale}))}t.items.push(e[e.length-2],e[e.length-1])}},g.CreateAnnotationMenu=function(){if(g.menu){var t=g.menu.Find("Show Math As","Annotation").submenu,e=M.semanticsAnnotations;for(var i in e)e.hasOwnProperty(i)&&t.items.push(v.COMMAND([i,i],g.ShowSource,{hidden:!0,nativeTouch:!0,format:i}))}},t.Register.StartupHook("End Config",(function(){var e,i;M.settings=t.config.menuSettings,void 0!==M.settings.showRenderer&&(M.showRenderer=M.settings.showRenderer),void 0!==M.settings.showFontMenu&&(M.showFontMenu=M.settings.showFontMenu),void 0!==M.settings.showContext&&(M.showContext=M.settings.showContext),g.getCookie(),g.menu=g(v.SUBMENU(["Show","Show Math As"],v.COMMAND(["MathMLcode","MathML Code"],g.ShowSource,{nativeTouch:!0,format:"MathML"}),v.COMMAND(["Original","Original Form"],g.ShowSource,{nativeTouch:!0}),v.SUBMENU(["Annotation","Annotation"],{disabled:!0}),v.RULE(),v.CHECKBOX(["texHints","Show TeX hints in MathML"],"texHints"),v.CHECKBOX(["semantics","Add original form as annotation"],"semantics")),v.RULE(),v.SUBMENU(["Settings","Math Settings"],v.SUBMENU(["ZoomTrigger","Zoom Trigger"],v.RADIO(["Hover","Hover"],"zoom",{action:g.Zoom}),v.RADIO(["Click","Click"],"zoom",{action:g.Zoom}),v.RADIO(["DoubleClick","Double-Click"],"zoom",{action:g.Zoom}),v.RADIO(["NoZoom","No Zoom"],"zoom",{value:"None"}),v.RULE(),v.LABEL(["TriggerRequires","Trigger Requires:"]),v.CHECKBOX(t.Browser.isMac?["Option","Option"]:["Alt","Alt"],"ALT"),v.CHECKBOX(["Command","Command"],"CMD",{hidden:!t.Browser.isMac}),v.CHECKBOX(["Control","Control"],"CTRL",{hidden:t.Browser.isMac}),v.CHECKBOX(["Shift","Shift"],"Shift")),v.SUBMENU(["ZoomFactor","Zoom Factor"],v.RADIO("125%","zscale"),v.RADIO("133%","zscale"),v.RADIO("150%","zscale"),v.RADIO("175%","zscale"),v.RADIO("200%","zscale"),v.RADIO("250%","zscale"),v.RADIO("300%","zscale"),v.RADIO("400%","zscale")),v.RULE(),v.SUBMENU(["Renderer","Math Renderer"],{hidden:!M.showRenderer},v.RADIO(["HTML-CSS","HTML-CSS"],"renderer",{action:g.Renderer}),v.RADIO(["CommonHTML","Common HTML"],"renderer",{action:g.Renderer,value:"CommonHTML"}),v.RADIO(["PreviewHTML","Preview HTML"],"renderer",{action:g.Renderer,value:"PreviewHTML"}),v.RADIO(["MathML","MathML"],"renderer",{action:g.Renderer,value:"NativeMML"}),v.RADIO(["SVG","SVG"],"renderer",{action:g.Renderer}),v.RADIO(["PlainSource","Plain Source"],"renderer",{action:g.Renderer,value:"PlainSource"}),v.RULE(),v.CHECKBOX(["FastPreview","Fast Preview"],"FastPreview")),v.SUBMENU("MathPlayer",{hidden:!t.Browser.isMSIE||!M.showMathPlayer,disabled:!t.Browser.hasMathPlayer},v.LABEL(["MPHandles","Let MathPlayer Handle:"]),v.CHECKBOX(["MenuEvents","Menu Events"],"mpContext",{action:g.MPEvents,hidden:!m}),v.CHECKBOX(["MouseEvents","Mouse Events"],"mpMouse",{action:g.MPEvents,hidden:!m}),v.CHECKBOX(["MenuAndMouse","Mouse and Menu Events"],"mpMouse",{action:g.MPEvents,hidden:m})),v.SUBMENU(["FontPrefs","Font Preference"],{hidden:!M.showFontMenu},v.LABEL(["ForHTMLCSS","For HTML-CSS:"]),v.RADIO(["Auto","Auto"],"font",{action:g.Font}),v.RULE(),v.RADIO(["TeXLocal","TeX (local)"],"font",{action:g.Font}),v.RADIO(["TeXWeb","TeX (web)"],"font",{action:g.Font}),v.RADIO(["TeXImage","TeX (image)"],"font",{action:g.Font}),v.RULE(),v.RADIO(["STIXLocal","STIX (local)"],"font",{action:g.Font}),v.RADIO(["STIXWeb","STIX (web)"],"font",{action:g.Font}),v.RULE(),v.RADIO(["AsanaMathWeb","Asana Math (web)"],"font",{action:g.Font}),v.RADIO(["GyrePagellaWeb","Gyre Pagella (web)"],"font",{action:g.Font}),v.RADIO(["GyreTermesWeb","Gyre Termes (web)"],"font",{action:g.Font}),v.RADIO(["LatinModernWeb","Latin Modern (web)"],"font",{action:g.Font}),v.RADIO(["NeoEulerWeb","Neo Euler (web)"],"font",{action:g.Font})),v.SUBMENU(["ContextMenu","Contextual Menu"],{hidden:!M.showContext},v.RADIO(["MathJax","MathJax"],"context"),v.RADIO(["Browser","Browser"],"context")),v.COMMAND(["Scale","Scale All Math ..."],g.Scale),v.RULE().With({hidden:!M.showDiscoverable,name:["","discover_rule"]}),v.CHECKBOX(["Discoverable","Highlight on Hover"],"discoverable",{hidden:!M.showDiscoverable})),v.SUBMENU(["Accessibility","Accessibility"],v.CHECKBOX(["AssistiveMML","Assistive MathML"],"assistiveMML",{action:g.AssistiveMML}),v.CHECKBOX(["InTabOrder","Include in Tab Order"],"inTabOrder")),v.SUBMENU(["Locale","Language"],{hidden:!M.showLocale,ltr:!0},v.RADIO("en","locale",{action:g.Locale}),v.RULE().With({hidden:!M.showLocaleURL,name:["","localURL_rule"]}),v.COMMAND(["LoadLocale","Load from URL ..."],g.LoadLocale,{hidden:!M.showLocaleURL})),v.RULE(),v.COMMAND(["About","About MathJax"],g.About),v.COMMAND(["Help","MathJax Help"],g.Help)),g.isMobile&&(e=M.settings,(i=g.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[) ]/)&&g.ITEM.SUBMENU.Augment({marker:"»"})),g.CreateLocaleMenu(),g.CreateAnnotationMenu()})),g.showRenderer=function(t){g.cookie.showRenderer=M.showRenderer=t,g.saveCookie(),g.menu.Find("Math Settings","Math Renderer").hidden=!t},g.showMathPlayer=function(t){g.cookie.showMathPlayer=M.showMathPlayer=t,g.saveCookie(),g.menu.Find("Math Settings","MathPlayer").hidden=!t},g.showFontMenu=function(t){g.cookie.showFontMenu=M.showFontMenu=t,g.saveCookie(),g.menu.Find("Math Settings","Font Preference").hidden=!t},g.showContext=function(t){g.cookie.showContext=M.showContext=t,g.saveCookie(),g.menu.Find("Math Settings","Contextual Menu").hidden=!t},g.showDiscoverable=function(t){g.cookie.showDiscoverable=M.showDiscoverable=t,g.saveCookie(),g.menu.Find("Math Settings","Highlight on Hover").hidden=!t,g.menu.Find("Math Settings","discover_rule").hidden=!t},g.showLocale=function(t){g.cookie.showLocale=M.showLocale=t,g.saveCookie(),g.menu.Find("Language").hidden=!t},MathJax.Hub.Register.StartupHook("HTML-CSS Jax Ready",(function(){MathJax.OutputJax["HTML-CSS"].config.imageFont||(g.menu.Find("Math Settings","Font Preference","TeX (image)").disabled=!0)})),a.Queue(t.Register.StartupHook("End Config",{}),["Styles",i,M.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(),n=MathJax.Localization.fontFamily();return e&&(i=i.With(e)),(a||n)&&(i=this.mstyle(i),a&&(i.dir=a),n&&(i.style.fontFamily="font-family: "+n)),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 n=this.Parent();if(n&&null!=n["adjustChild_"+e])return n["adjustChild_"+e](this.childPosition(),i);for(var o=this.inherit,s=o;o;){var r=o[e];if(null==r&&o.attr&&(r=o.attr[e]),o.removedStyles&&o.getRemoved[e]&&null==r&&(r=o.removedStyles[o.getRemoved[e]]),null!=r&&o.noInheritAttribute&&!o.noInheritAttribute[e]){var l=o.noInherit[this.type];if(!l||!l[e])return r}s=o,o=o.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(s)return s.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 n=this.data.join(""),o=[this.Get("form"),t.FORM.INFIX,t.FORM.POSTFIX,t.FORM.PREFIX],s=0,r=o.length;s<r;s++){var l=this.OPTABLE[o[s]][n];if(l){a=this.makeDef(l);break}}a||(a=this.CheckRange(n)),!a&&i?a={}:(a||(a=MathJax.Hub.Insert({},this.defaultDef)),this.parent?this.def=a:a=MathJax.Hub.Insert({},a),a.form=o[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,n=this.RANGES.length;a<n&&this.RANGES[a][0]<=i;a++)if(i<=this.RANGES[a][1]){if(this.RANGES[a][3]){var o=t.optableDir+"/"+this.RANGES[a][3]+".js";this.RANGES[a][3]=null,MathJax.Hub.RestartAfter(MathJax.Ajax.Require(o))}var s=t.TEXCLASSNAMES[this.RANGES[a][2]];return s=this.OPTABLE.infix[e]=t.mo.OPTYPES["BIN"===s?"BIN3":s],this.makeDef(s)}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 n=this.data[i].Get("encoding");if(n)for(var o=0,s=e.length;o<s;o++)if(e[o]===n)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 n=t.attributes[i];n.specified&&null!=n.nodeValue&&""!=n.nodeValue&&e.setAttribute(n.nodeName,n.nodeValue),"style"===n.nodeName&&(e.style.cssText=n.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 n=[],o=this.isToken?"":t+(e?"":"  "),s=0,r=this.data.length;s<r;s++)this.data[s]?n.push(this.data[s].toMathML(o)):this.isToken||this.isChars||n.push(o+"<mrow />");return this.isToken||this.isChars?t+"<"+i+a+">"+n.join("")+"</"+i+">":e?n.join("\n"):0===n.length||1===n.length&&""===n[0]?t+"<"+i+a+" />":t+"<"+i+a+">\n"+n.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,n=t.copyAttributes,o=[];if("math"!==this.type||this.attr&&"xmlns"in this.attr||o.push('xmlns="http://www.w3.org/1998/Math/MathML"'),!this.attrNames)for(var s in e)a[s]||n[s]||!e.hasOwnProperty(s)||null!=this[s]&&this[s]!==e[s]&&this.Get(s,null,1)!==this[s]&&o.push(s+'="'+this.toMathMLattribute(this[s])+'"');for(var r=0,l=i.length;r<l;r++)(1!==n[i[r]]||e.hasOwnProperty(i[r]))&&(value=(this.attr||{})[i[r]],null==value&&(value=this[i[r]]),null!=value&&o.push(i[r]+'="'+this.toMathMLquote(value)+'"'));return this.toMathMLclass(o),o.length?" "+o.join(" "):""},toMathMLclass:function(i){var a=[];if(this.class&&a.push(this.class),this.isa(t.TeXAtom)&&e.texHints){var n=["ORD","OP","BIN","REL","OPEN","CLOSE","PUNCT","INNER","VCENTER"][this.texClass];n&&(a.push("MJX-TeXAtom-"+n),"OP"!==n||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 n={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"}[t[e]];n&&(t[e]=n)}else if(e+1<i){var o=t[e+1].charCodeAt(0)-56320+(a-55296<<10)+65536;t[e]="&#x"+o.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 n=this.data[0]&&this.data[0].data.length>1,o=this.type,s=this.toMathMLattributes(),r=[],l=t+(a?"  "+(n?"  ":""):"")+"  ",u=0,h=this.data.length;u<h;u++)this.data[u]?r.push(this.data[u].toMathML(l)):r.push(l+"<mrow />");if(0===r.length||1===r.length&&""===r[0]){if(!a)return"<"+o+s+" />";r.push(l+"<mrow />")}if(a){n&&(r.unshift(t+"    <mrow>"),r.push(t+"    </mrow>")),r.unshift(t+"  <semantics>");var d=i.originalText.replace(/[&<>]/g,(function(t){return{">":"&gt;","<":"&lt;","&":"&amp;"}[t]}));r.push(t+'    <annotation encoding="'+this.toMathMLquote(a)+'">'+d+"</annotation>"),r.push(t+"  </semantics>")}return t+"<"+o+s+">\n"+r.join("\n")+"\n"+t+"</"+o+">"}}),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=[],n=0,o=this.data.length;n<o;n++)this.data[n]&&a.push(this.data[n].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 n=this.toMathMLattributes();delete this.data[0].inferred;for(var o=[],s=0,r=this.data.length;s<r;s++)this.data[s]&&o.push(this.data[s].toMathML(e+"  "));return e+"<"+i+n+">\n"+o.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){var e,i=MathJax.Object.Subclass({firstChild:null,lastChild:null,Init:function(){this.childNodes=[]},appendChild:function(t){return t.parent&&t.parent.removeChild(t),this.lastChild&&(this.lastChild.nextSibling=t),this.firstChild||(this.firstChild=t),this.childNodes.push(t),t.parent=this,this.lastChild=t,t},removeChild:function(t){for(var e=0,i=this.childNodes.length;e<i&&this.childNodes[e]!==t;e++);if(e!==i)return this.childNodes.splice(e,1),t===this.firstChild&&(this.firstChild=t.nextSibling),t===this.lastChild&&(this.childNodes.length?this.lastChild=this.childNodes[this.childNodes.length-1]:this.lastChild=null),e&&(this.childNodes[e-1].nextSibling=t.nextSibling),t.nextSibling=t.parent=null,t},replaceChild:function(t,e){for(var i=0,a=this.childNodes.length;i<a&&this.childNodes[i]!==e;i++);return i?this.childNodes[i-1].nextSibling=t:this.firstChild=t,i>=a-1&&(this.lastChild=t),this.childNodes[i]=t,t.nextSibling=e.nextSibling,e.nextSibling=e.parent=null,e},hasChildNodes:function(t){return this.childNodes.length>0},toString:function(){return"{"+this.childNodes.join("")+"}"}}),a={getElementById:!0,createElementNS:function(i,a){var n=e[a]();return"mo"===a&&t.config.useMathMLspacing&&(n.useMMLspacing=128),n},createTextNode:function(t){return e.chars(t).With({nodeValue:t})},createDocumentFragment:function(){return i()}},n="blue",o=!0,s=!0,r=".",l="Microsoft"=="MathJax".slice(0,9);function u(t){return l?a.createElement(t):a.createElementNS("http://www.w3.org/1999/xhtml",t)}var h="http://www.w3.org/1998/Math/MathML";function d(t){return l?a.createElement("m:"+t):a.createElementNS(h,t)}function p(t,e){var i;return i=l?a.createElement("m:"+t):a.createElementNS(h,t),e&&i.appendChild(e),i}var c=["𝒜","ℬ","𝒞","𝒟","ℰ","ℱ","𝒢","ℋ","ℐ","𝒥","𝒦","ℒ","ℳ","𝒩","𝒪","𝒫","𝒬","ℛ","𝒮","𝒯","𝒰","𝒱","𝒲","𝒳","𝒴","𝒵","𝒶","𝒷","𝒸","𝒹","ℯ","𝒻","ℊ","𝒽","𝒾","𝒿","𝓀","𝓁","𝓂","𝓃","ℴ","𝓅","𝓆","𝓇","𝓈","𝓉","𝓊","𝓋","𝓌","𝓍","𝓎","𝓏"],m=["𝔄","𝔅","ℭ","𝔇","𝔈","𝔉","𝔊","ℌ","ℑ","𝔍","𝔎","𝔏","𝔐","𝔑","𝔒","𝔓","𝔔","ℜ","𝔖","𝔗","𝔘","𝔙","𝔚","𝔛","𝔜","ℨ","𝔞","𝔟","𝔠","𝔡","𝔢","𝔣","𝔤","𝔥","𝔦","𝔧","𝔨","𝔩","𝔪","𝔫","𝔬","𝔭","𝔮","𝔯","𝔰","𝔱","𝔲","𝔳","𝔴","𝔵","𝔶","𝔷"],f=["𝔸","𝔹","ℂ","𝔻","𝔼","𝔽","𝔾","ℍ","𝕀","𝕁","𝕂","𝕃","𝕄","ℕ","𝕆","ℙ","ℚ","ℝ","𝕊","𝕋","𝕌","𝕍","𝕎","𝕏","𝕐","ℤ","𝕒","𝕓","𝕔","𝕕","𝕖","𝕗","𝕘","𝕙","𝕚","𝕛","𝕜","𝕝","𝕞","𝕟","𝕠","𝕡","𝕢","𝕣","𝕤","𝕥","𝕦","𝕧","𝕨","𝕩","𝕪","𝕫"],M={input:'"',tag:"mtext",output:"mbox",tex:null,ttype:10},x=[{input:"alpha",tag:"mi",output:"α",tex:null,ttype:0},{input:"beta",tag:"mi",output:"β",tex:null,ttype:0},{input:"chi",tag:"mi",output:"χ",tex:null,ttype:0},{input:"delta",tag:"mi",output:"δ",tex:null,ttype:0},{input:"Delta",tag:"mo",output:"Δ",tex:null,ttype:0},{input:"epsi",tag:"mi",output:"ε",tex:"epsilon",ttype:0},{input:"varepsilon",tag:"mi",output:"ɛ",tex:null,ttype:0},{input:"eta",tag:"mi",output:"η",tex:null,ttype:0},{input:"gamma",tag:"mi",output:"γ",tex:null,ttype:0},{input:"Gamma",tag:"mo",output:"Γ",tex:null,ttype:0},{input:"iota",tag:"mi",output:"ι",tex:null,ttype:0},{input:"kappa",tag:"mi",output:"κ",tex:null,ttype:0},{input:"lambda",tag:"mi",output:"λ",tex:null,ttype:0},{input:"Lambda",tag:"mo",output:"Λ",tex:null,ttype:0},{input:"lamda",tag:"mi",output:"λ",tex:null,ttype:0},{input:"Lamda",tag:"mo",output:"Λ",tex:null,ttype:0},{input:"mu",tag:"mi",output:"μ",tex:null,ttype:0},{input:"nu",tag:"mi",output:"ν",tex:null,ttype:0},{input:"omega",tag:"mi",output:"ω",tex:null,ttype:0},{input:"Omega",tag:"mo",output:"Ω",tex:null,ttype:0},{input:"phi",tag:"mi",output:"ϕ",tex:null,ttype:0},{input:"varphi",tag:"mi",output:"φ",tex:null,ttype:0},{input:"Phi",tag:"mo",output:"Φ",tex:null,ttype:0},{input:"pi",tag:"mi",output:"π",tex:null,ttype:0},{input:"Pi",tag:"mo",output:"Π",tex:null,ttype:0},{input:"psi",tag:"mi",output:"ψ",tex:null,ttype:0},{input:"Psi",tag:"mi",output:"Ψ",tex:null,ttype:0},{input:"rho",tag:"mi",output:"ρ",tex:null,ttype:0},{input:"sigma",tag:"mi",output:"σ",tex:null,ttype:0},{input:"Sigma",tag:"mo",output:"Σ",tex:null,ttype:0},{input:"tau",tag:"mi",output:"τ",tex:null,ttype:0},{input:"theta",tag:"mi",output:"θ",tex:null,ttype:0},{input:"vartheta",tag:"mi",output:"ϑ",tex:null,ttype:0},{input:"Theta",tag:"mo",output:"Θ",tex:null,ttype:0},{input:"upsilon",tag:"mi",output:"υ",tex:null,ttype:0},{input:"xi",tag:"mi",output:"ξ",tex:null,ttype:0},{input:"Xi",tag:"mo",output:"Ξ",tex:null,ttype:0},{input:"zeta",tag:"mi",output:"ζ",tex:null,ttype:0},{input:"*",tag:"mo",output:"⋅",tex:"cdot",ttype:0},{input:"**",tag:"mo",output:"∗",tex:"ast",ttype:0},{input:"***",tag:"mo",output:"⋆",tex:"star",ttype:0},{input:"//",tag:"mo",output:"/",tex:null,ttype:0},{input:"\\\\",tag:"mo",output:"\\",tex:"backslash",ttype:0},{input:"setminus",tag:"mo",output:"\\",tex:null,ttype:0},{input:"xx",tag:"mo",output:"×",tex:"times",ttype:0},{input:"|><",tag:"mo",output:"⋉",tex:"ltimes",ttype:0},{input:"><|",tag:"mo",output:"⋊",tex:"rtimes",ttype:0},{input:"|><|",tag:"mo",output:"⋈",tex:"bowtie",ttype:0},{input:"-:",tag:"mo",output:"÷",tex:"div",ttype:0},{input:"divide",tag:"mo",output:"-:",tex:null,ttype:8},{input:"@",tag:"mo",output:"∘",tex:"circ",ttype:0},{input:"o+",tag:"mo",output:"⊕",tex:"oplus",ttype:0},{input:"ox",tag:"mo",output:"⊗",tex:"otimes",ttype:0},{input:"o.",tag:"mo",output:"⊙",tex:"odot",ttype:0},{input:"sum",tag:"mo",output:"∑",tex:null,ttype:7},{input:"prod",tag:"mo",output:"∏",tex:null,ttype:7},{input:"^^",tag:"mo",output:"∧",tex:"wedge",ttype:0},{input:"^^^",tag:"mo",output:"⋀",tex:"bigwedge",ttype:7},{input:"vv",tag:"mo",output:"∨",tex:"vee",ttype:0},{input:"vvv",tag:"mo",output:"⋁",tex:"bigvee",ttype:7},{input:"nn",tag:"mo",output:"∩",tex:"cap",ttype:0},{input:"nnn",tag:"mo",output:"⋂",tex:"bigcap",ttype:7},{input:"uu",tag:"mo",output:"∪",tex:"cup",ttype:0},{input:"uuu",tag:"mo",output:"⋃",tex:"bigcup",ttype:7},{input:"!=",tag:"mo",output:"≠",tex:"ne",ttype:0},{input:":=",tag:"mo",output:":=",tex:null,ttype:0},{input:"lt",tag:"mo",output:"<",tex:null,ttype:0},{input:"<=",tag:"mo",output:"≤",tex:"le",ttype:0},{input:"lt=",tag:"mo",output:"≤",tex:"leq",ttype:0},{input:"gt",tag:"mo",output:">",tex:null,ttype:0},{input:">=",tag:"mo",output:"≥",tex:"ge",ttype:0},{input:"gt=",tag:"mo",output:"≥",tex:"geq",ttype:0},{input:"-<",tag:"mo",output:"≺",tex:"prec",ttype:0},{input:"-lt",tag:"mo",output:"≺",tex:null,ttype:0},{input:">-",tag:"mo",output:"≻",tex:"succ",ttype:0},{input:"-<=",tag:"mo",output:"⪯",tex:"preceq",ttype:0},{input:">-=",tag:"mo",output:"⪰",tex:"succeq",ttype:0},{input:"in",tag:"mo",output:"∈",tex:null,ttype:0},{input:"!in",tag:"mo",output:"∉",tex:"notin",ttype:0},{input:"sub",tag:"mo",output:"⊂",tex:"subset",ttype:0},{input:"sup",tag:"mo",output:"⊃",tex:"supset",ttype:0},{input:"sube",tag:"mo",output:"⊆",tex:"subseteq",ttype:0},{input:"supe",tag:"mo",output:"⊇",tex:"supseteq",ttype:0},{input:"-=",tag:"mo",output:"≡",tex:"equiv",ttype:0},{input:"~=",tag:"mo",output:"≅",tex:"cong",ttype:0},{input:"~~",tag:"mo",output:"≈",tex:"approx",ttype:0},{input:"prop",tag:"mo",output:"∝",tex:"propto",ttype:0},{input:"and",tag:"mtext",output:"and",tex:null,ttype:6},{input:"or",tag:"mtext",output:"or",tex:null,ttype:6},{input:"not",tag:"mo",output:"¬",tex:"neg",ttype:0},{input:"=>",tag:"mo",output:"⇒",tex:"implies",ttype:0},{input:"if",tag:"mo",output:"if",tex:null,ttype:6},{input:"<=>",tag:"mo",output:"⇔",tex:"iff",ttype:0},{input:"AA",tag:"mo",output:"∀",tex:"forall",ttype:0},{input:"EE",tag:"mo",output:"∃",tex:"exists",ttype:0},{input:"_|_",tag:"mo",output:"⊥",tex:"bot",ttype:0},{input:"TT",tag:"mo",output:"⊤",tex:"top",ttype:0},{input:"|--",tag:"mo",output:"⊢",tex:"vdash",ttype:0},{input:"|==",tag:"mo",output:"⊨",tex:"models",ttype:0},{input:"(",tag:"mo",output:"(",tex:"left(",ttype:4},{input:")",tag:"mo",output:")",tex:"right)",ttype:5},{input:"[",tag:"mo",output:"[",tex:"left[",ttype:4},{input:"]",tag:"mo",output:"]",tex:"right]",ttype:5},{input:"{",tag:"mo",output:"{",tex:null,ttype:4},{input:"}",tag:"mo",output:"}",tex:null,ttype:5},{input:"|",tag:"mo",output:"|",tex:null,ttype:9},{input:":|:",tag:"mo",output:"|",tex:null,ttype:0},{input:"|:",tag:"mo",output:"|",tex:null,ttype:4},{input:":|",tag:"mo",output:"|",tex:null,ttype:5},{input:"(:",tag:"mo",output:"〈",tex:"langle",ttype:4},{input:":)",tag:"mo",output:"〉",tex:"rangle",ttype:5},{input:"<<",tag:"mo",output:"〈",tex:null,ttype:4},{input:">>",tag:"mo",output:"〉",tex:null,ttype:5},{input:"{:",tag:"mo",output:"{:",tex:null,ttype:4,invisible:!0},{input:":}",tag:"mo",output:":}",tex:null,ttype:5,invisible:!0},{input:"int",tag:"mo",output:"∫",tex:null,ttype:0},{input:"dx",tag:"mi",output:"{:d x:}",tex:null,ttype:8},{input:"dy",tag:"mi",output:"{:d y:}",tex:null,ttype:8},{input:"dz",tag:"mi",output:"{:d z:}",tex:null,ttype:8},{input:"dt",tag:"mi",output:"{:d t:}",tex:null,ttype:8},{input:"oint",tag:"mo",output:"∮",tex:null,ttype:0},{input:"del",tag:"mo",output:"∂",tex:"partial",ttype:0},{input:"grad",tag:"mo",output:"∇",tex:"nabla",ttype:0},{input:"+-",tag:"mo",output:"±",tex:"pm",ttype:0},{input:"O/",tag:"mo",output:"∅",tex:"emptyset",ttype:0},{input:"oo",tag:"mo",output:"∞",tex:"infty",ttype:0},{input:"aleph",tag:"mo",output:"ℵ",tex:null,ttype:0},{input:"...",tag:"mo",output:"...",tex:"ldots",ttype:0},{input:":.",tag:"mo",output:"∴",tex:"therefore",ttype:0},{input:":'",tag:"mo",output:"∵",tex:"because",ttype:0},{input:"/_",tag:"mo",output:"∠",tex:"angle",ttype:0},{input:"/_\\",tag:"mo",output:"△",tex:"triangle",ttype:0},{input:"'",tag:"mo",output:"′",tex:"prime",ttype:0},{input:"tilde",tag:"mover",output:"~",tex:null,ttype:1,acc:!0},{input:"\\ ",tag:"mo",output:" ",tex:null,ttype:0},{input:"frown",tag:"mo",output:"⌢",tex:null,ttype:0},{input:"quad",tag:"mo",output:"  ",tex:null,ttype:0},{input:"qquad",tag:"mo",output:"    ",tex:null,ttype:0},{input:"cdots",tag:"mo",output:"⋯",tex:null,ttype:0},{input:"vdots",tag:"mo",output:"⋮",tex:null,ttype:0},{input:"ddots",tag:"mo",output:"⋱",tex:null,ttype:0},{input:"diamond",tag:"mo",output:"⋄",tex:null,ttype:0},{input:"square",tag:"mo",output:"□",tex:null,ttype:0},{input:"|__",tag:"mo",output:"⌊",tex:"lfloor",ttype:0},{input:"__|",tag:"mo",output:"⌋",tex:"rfloor",ttype:0},{input:"|~",tag:"mo",output:"⌈",tex:"lceiling",ttype:0},{input:"~|",tag:"mo",output:"⌉",tex:"rceiling",ttype:0},{input:"CC",tag:"mo",output:"ℂ",tex:null,ttype:0},{input:"NN",tag:"mo",output:"ℕ",tex:null,ttype:0},{input:"QQ",tag:"mo",output:"ℚ",tex:null,ttype:0},{input:"RR",tag:"mo",output:"ℝ",tex:null,ttype:0},{input:"ZZ",tag:"mo",output:"ℤ",tex:null,ttype:0},{input:"f",tag:"mi",output:"f",tex:null,ttype:1,func:!0},{input:"g",tag:"mi",output:"g",tex:null,ttype:1,func:!0},{input:"lim",tag:"mo",output:"lim",tex:null,ttype:7},{input:"Lim",tag:"mo",output:"Lim",tex:null,ttype:7},{input:"sin",tag:"mo",output:"sin",tex:null,ttype:1,func:!0},{input:"cos",tag:"mo",output:"cos",tex:null,ttype:1,func:!0},{input:"tan",tag:"mo",output:"tan",tex:null,ttype:1,func:!0},{input:"sinh",tag:"mo",output:"sinh",tex:null,ttype:1,func:!0},{input:"cosh",tag:"mo",output:"cosh",tex:null,ttype:1,func:!0},{input:"tanh",tag:"mo",output:"tanh",tex:null,ttype:1,func:!0},{input:"cot",tag:"mo",output:"cot",tex:null,ttype:1,func:!0},{input:"sec",tag:"mo",output:"sec",tex:null,ttype:1,func:!0},{input:"csc",tag:"mo",output:"csc",tex:null,ttype:1,func:!0},{input:"arcsin",tag:"mo",output:"arcsin",tex:null,ttype:1,func:!0},{input:"arccos",tag:"mo",output:"arccos",tex:null,ttype:1,func:!0},{input:"arctan",tag:"mo",output:"arctan",tex:null,ttype:1,func:!0},{input:"coth",tag:"mo",output:"coth",tex:null,ttype:1,func:!0},{input:"sech",tag:"mo",output:"sech",tex:null,ttype:1,func:!0},{input:"csch",tag:"mo",output:"csch",tex:null,ttype:1,func:!0},{input:"exp",tag:"mo",output:"exp",tex:null,ttype:1,func:!0},{input:"abs",tag:"mo",output:"abs",tex:null,ttype:1,rewriteleftright:["|","|"]},{input:"norm",tag:"mo",output:"norm",tex:null,ttype:1,rewriteleftright:["∥","∥"]},{input:"floor",tag:"mo",output:"floor",tex:null,ttype:1,rewriteleftright:["⌊","⌋"]},{input:"ceil",tag:"mo",output:"ceil",tex:null,ttype:1,rewriteleftright:["⌈","⌉"]},{input:"log",tag:"mo",output:"log",tex:null,ttype:1,func:!0},{input:"ln",tag:"mo",output:"ln",tex:null,ttype:1,func:!0},{input:"det",tag:"mo",output:"det",tex:null,ttype:1,func:!0},{input:"dim",tag:"mo",output:"dim",tex:null,ttype:0},{input:"mod",tag:"mo",output:"mod",tex:null,ttype:0},{input:"gcd",tag:"mo",output:"gcd",tex:null,ttype:1,func:!0},{input:"lcm",tag:"mo",output:"lcm",tex:null,ttype:1,func:!0},{input:"lub",tag:"mo",output:"lub",tex:null,ttype:0},{input:"glb",tag:"mo",output:"glb",tex:null,ttype:0},{input:"min",tag:"mo",output:"min",tex:null,ttype:7},{input:"max",tag:"mo",output:"max",tex:null,ttype:7},{input:"Sin",tag:"mo",output:"Sin",tex:null,ttype:1,func:!0},{input:"Cos",tag:"mo",output:"Cos",tex:null,ttype:1,func:!0},{input:"Tan",tag:"mo",output:"Tan",tex:null,ttype:1,func:!0},{input:"Arcsin",tag:"mo",output:"Arcsin",tex:null,ttype:1,func:!0},{input:"Arccos",tag:"mo",output:"Arccos",tex:null,ttype:1,func:!0},{input:"Arctan",tag:"mo",output:"Arctan",tex:null,ttype:1,func:!0},{input:"Sinh",tag:"mo",output:"Sinh",tex:null,ttype:1,func:!0},{input:"Cosh",tag:"mo",output:"Cosh",tex:null,ttype:1,func:!0},{input:"Tanh",tag:"mo",output:"Tanh",tex:null,ttype:1,func:!0},{input:"Cot",tag:"mo",output:"Cot",tex:null,ttype:1,func:!0},{input:"Sec",tag:"mo",output:"Sec",tex:null,ttype:1,func:!0},{input:"Csc",tag:"mo",output:"Csc",tex:null,ttype:1,func:!0},{input:"Log",tag:"mo",output:"Log",tex:null,ttype:1,func:!0},{input:"Ln",tag:"mo",output:"Ln",tex:null,ttype:1,func:!0},{input:"Abs",tag:"mo",output:"abs",tex:null,ttype:1,notexcopy:!0,rewriteleftright:["|","|"]},{input:"uarr",tag:"mo",output:"↑",tex:"uparrow",ttype:0},{input:"darr",tag:"mo",output:"↓",tex:"downarrow",ttype:0},{input:"rarr",tag:"mo",output:"→",tex:"rightarrow",ttype:0},{input:"->",tag:"mo",output:"→",tex:"to",ttype:0},{input:">->",tag:"mo",output:"↣",tex:"rightarrowtail",ttype:0},{input:"->>",tag:"mo",output:"↠",tex:"twoheadrightarrow",ttype:0},{input:">->>",tag:"mo",output:"⤖",tex:"twoheadrightarrowtail",ttype:0},{input:"|->",tag:"mo",output:"↦",tex:"mapsto",ttype:0},{input:"larr",tag:"mo",output:"←",tex:"leftarrow",ttype:0},{input:"harr",tag:"mo",output:"↔",tex:"leftrightarrow",ttype:0},{input:"rArr",tag:"mo",output:"⇒",tex:"Rightarrow",ttype:0},{input:"lArr",tag:"mo",output:"⇐",tex:"Leftarrow",ttype:0},{input:"hArr",tag:"mo",output:"⇔",tex:"Leftrightarrow",ttype:0},{input:"sqrt",tag:"msqrt",output:"sqrt",tex:null,ttype:1},{input:"root",tag:"mroot",output:"root",tex:null,ttype:2},{input:"frac",tag:"mfrac",output:"/",tex:null,ttype:2},{input:"/",tag:"mfrac",output:"/",tex:null,ttype:3},{input:"stackrel",tag:"mover",output:"stackrel",tex:null,ttype:2},{input:"overset",tag:"mover",output:"stackrel",tex:null,ttype:2},{input:"underset",tag:"munder",output:"stackrel",tex:null,ttype:2},{input:"_",tag:"msub",output:"_",tex:null,ttype:3},{input:"^",tag:"msup",output:"^",tex:null,ttype:3},{input:"hat",tag:"mover",output:"^",tex:null,ttype:1,acc:!0},{input:"bar",tag:"mover",output:"¯",tex:"overline",ttype:1,acc:!0},{input:"vec",tag:"mover",output:"→",tex:null,ttype:1,acc:!0},{input:"dot",tag:"mover",output:".",tex:null,ttype:1,acc:!0},{input:"ddot",tag:"mover",output:"..",tex:null,ttype:1,acc:!0},{input:"overarc",tag:"mover",output:"⏜",tex:"overparen",ttype:1,acc:!0},{input:"ul",tag:"munder",output:"̲",tex:"underline",ttype:1,acc:!0},{input:"ubrace",tag:"munder",output:"⏟",tex:"underbrace",ttype:15,acc:!0},{input:"obrace",tag:"mover",output:"⏞",tex:"overbrace",ttype:15,acc:!0},{input:"text",tag:"mtext",output:"text",tex:null,ttype:10},{input:"mbox",tag:"mtext",output:"mbox",tex:null,ttype:10},{input:"color",tag:"mstyle",ttype:2},{input:"id",tag:"mrow",ttype:2},{input:"class",tag:"mrow",ttype:2},{input:"cancel",tag:"menclose",output:"cancel",tex:null,ttype:1},M,{input:"bb",tag:"mstyle",atname:"mathvariant",atval:"bold",output:"bb",tex:null,ttype:1},{input:"mathbf",tag:"mstyle",atname:"mathvariant",atval:"bold",output:"mathbf",tex:null,ttype:1},{input:"sf",tag:"mstyle",atname:"mathvariant",atval:"sans-serif",output:"sf",tex:null,ttype:1},{input:"mathsf",tag:"mstyle",atname:"mathvariant",atval:"sans-serif",output:"mathsf",tex:null,ttype:1},{input:"bbb",tag:"mstyle",atname:"mathvariant",atval:"double-struck",output:"bbb",tex:null,ttype:1,codes:f},{input:"mathbb",tag:"mstyle",atname:"mathvariant",atval:"double-struck",output:"mathbb",tex:null,ttype:1,codes:f},{input:"cc",tag:"mstyle",atname:"mathvariant",atval:"script",output:"cc",tex:null,ttype:1,codes:c},{input:"mathcal",tag:"mstyle",atname:"mathvariant",atval:"script",output:"mathcal",tex:null,ttype:1,codes:c},{input:"tt",tag:"mstyle",atname:"mathvariant",atval:"monospace",output:"tt",tex:null,ttype:1},{input:"mathtt",tag:"mstyle",atname:"mathvariant",atval:"monospace",output:"mathtt",tex:null,ttype:1},{input:"fr",tag:"mstyle",atname:"mathvariant",atval:"fraktur",output:"fr",tex:null,ttype:1,codes:m},{input:"mathfrak",tag:"mstyle",atname:"mathvariant",atval:"fraktur",output:"mathfrak",tex:null,ttype:1,codes:m}];function g(t,e){return t.input>e.input?1:-1}var v,b,C,T=[];function E(){var t,e=x.length;for(t=0;t<e;t++)x[t].tex&&x.push({input:x[t].tex,tag:x[t].tag,output:x[t].output,ttype:x[t].ttype,acc:x[t].acc||!1});y()}function y(){var t;for(x.sort(g),t=0;t<x.length;t++)T[t]=x[t].input}function L(t,e){var i;i="\\"==t.charAt(e)&&"\\"!=t.charAt(e+1)&&" "!=t.charAt(e+1)?t.slice(e+1):t.slice(e);for(var a=0;a<i.length&&i.charCodeAt(a)<=32;a+=1);return i.slice(a)}function A(t,e,i){if(0==i){var a,n;for(i=-1,a=t.length;i+1<a;)t[n=i+a>>1]<e?i=n:a=n;return a}for(var o=i;o<t.length&&t[o]<e;o++);return o}function S(t){for(var e,i,a,n=0,o="",s=!0,l=1;l<=t.length&&s;l++)i=t.slice(0,l),(n=A(T,i,n))<T.length&&t.slice(0,T[n].length)==T[n]&&(e=n,l=(o=T[n]).length),s=n<T.length&&t.slice(0,T[n].length)>=T[n];if(b=C,""!=o)return C=x[e].ttype,x[e];C=0,n=1,i=t.slice(0,1);for(var u=!0;"0"<=i&&i<="9"&&n<=t.length;)i=t.slice(n,n+1),n++;if(i==r&&"0"<=(i=t.slice(n,n+1))&&i<="9")for(u=!1,n++;"0"<=i&&i<="9"&&n<=t.length;)i=t.slice(n,n+1),n++;return u&&n>1||n>2?(i=t.slice(0,n-1),a="mn"):(n=2,a=("A">(i=t.slice(0,1))||i>"Z")&&("a">i||i>"z")?"mo":"mi"),"-"==i&&3==b?(C=3,{input:i,tag:a,output:i,ttype:1,func:!0}):{input:i,tag:a,output:i,ttype:0}}function N(t){var e;t.hasChildNodes()&&(!t.firstChild.hasChildNodes()||"mrow"!=t.nodeName&&"M:MROW"!=t.nodeName||"("!=(e=t.firstChild.firstChild.nodeValue)&&"["!=e&&"{"!=e||t.removeChild(t.firstChild),!t.lastChild.hasChildNodes()||"mrow"!=t.nodeName&&"M:MROW"!=t.nodeName||")"!=(e=t.lastChild.firstChild.nodeValue)&&"]"!=e&&"}"!=e||t.removeChild(t.lastChild))}function I(t){var e,i,n,o,s,r=a.createDocumentFragment();if(null==(e=S(t=L(t,0)))||5==e.ttype&&v>0)return[null,t];switch(8==e.ttype&&(e=S(t=e.output+L(t,e.input.length))),e.ttype){case 7:case 0:default:return t=L(t,e.input.length),[p(e.tag,a.createTextNode(e.output)),t];case 4:return v++,n=w(t=L(t,e.input.length),!0),v--,"boolean"==typeof e.invisible&&e.invisible?i=p("mrow",n[0]):(i=p("mo",a.createTextNode(e.output)),(i=p("mrow",i)).appendChild(n[0])),[i,n[1]];case 10:return e!=M&&(t=L(t,e.input.length)),-1==(o="{"==t.charAt(0)?t.indexOf("}"):"("==t.charAt(0)?t.indexOf(")"):"["==t.charAt(0)?t.indexOf("]"):e==M?t.slice(1).indexOf('"')+1:0)&&(o=t.length)," "==(s=t.slice(1,o)).charAt(0)&&((i=p("mspace")).setAttribute("width","1ex"),r.appendChild(i)),r.appendChild(p(e.tag,a.createTextNode(s)))," "==s.charAt(s.length-1)&&((i=p("mspace")).setAttribute("width","1ex"),r.appendChild(i)),t=L(t,o+1),[p("mrow",r),t];case 15:case 1:if(null==(n=I(t=L(t,e.input.length)))[0])return[p(e.tag,a.createTextNode(e.output)),t];if("boolean"==typeof e.func&&e.func)return"^"==(s=t.charAt(0))||"_"==s||"/"==s||"|"==s||","==s||1==e.input.length&&e.input.match(/\w/)&&"("!=s?[p(e.tag,a.createTextNode(e.output)),t]:((i=p("mrow",p(e.tag,a.createTextNode(e.output)))).appendChild(n[0]),[i,n[1]]);if(N(n[0]),"sqrt"==e.input)return[p(e.tag,n[0]),n[1]];if(void 0!==e.rewriteleftright)return(i=p("mrow",p("mo",a.createTextNode(e.rewriteleftright[0])))).appendChild(n[0]),i.appendChild(p("mo",a.createTextNode(e.rewriteleftright[1]))),[i,n[1]];if("cancel"==e.input)return(i=p(e.tag,n[0])).setAttribute("notation","updiagonalstrike"),[i,n[1]];if("boolean"==typeof e.acc&&e.acc){i=p(e.tag,n[0]);var u=p("mo",a.createTextNode(e.output));return"vec"==e.input&&("mrow"==n[0].nodeName&&1==n[0].childNodes.length&&null!==n[0].firstChild.firstChild.nodeValue&&1==n[0].firstChild.firstChild.nodeValue.length||null!==n[0].firstChild.nodeValue&&1==n[0].firstChild.nodeValue.length)&&u.setAttribute("stretchy",!1),i.appendChild(u),[i,n[1]]}if(!l&&void 0!==e.codes)for(o=0;o<n[0].childNodes.length;o++)if("mi"==n[0].childNodes[o].nodeName||"mi"==n[0].nodeName){s="mi"==n[0].nodeName?n[0].firstChild.nodeValue:n[0].childNodes[o].firstChild.nodeValue;for(var h=[],d=0;d<s.length;d++)s.charCodeAt(d)>64&&s.charCodeAt(d)<91?h+=e.codes[s.charCodeAt(d)-65]:s.charCodeAt(d)>96&&s.charCodeAt(d)<123?h+=e.codes[s.charCodeAt(d)-71]:h+=s.charAt(d);"mi"==n[0].nodeName?n[0]=p("mo").appendChild(a.createTextNode(h)):n[0].replaceChild(p("mo").appendChild(a.createTextNode(h)),n[0].childNodes[o])}return(i=p(e.tag,n[0])).setAttribute(e.atname,e.atval),[i,n[1]];case 2:if(null==(n=I(t=L(t,e.input.length)))[0])return[p("mo",a.createTextNode(e.input)),t];N(n[0]);var c=I(n[1]);return null==c[0]?[p("mo",a.createTextNode(e.input)),t]:(N(c[0]),["color","class","id"].indexOf(e.input)>=0?("{"==t.charAt(0)?o=t.indexOf("}"):"("==t.charAt(0)?o=t.indexOf(")"):"["==t.charAt(0)&&(o=t.indexOf("]")),s=t.slice(1,o),i=p(e.tag,c[0]),"color"===e.input?i.setAttribute("mathcolor",s):"class"===e.input?i.setAttribute("class",s):"id"===e.input&&i.setAttribute("id",s),[i,c[1]]):("root"!=e.input&&"stackrel"!=e.output||r.appendChild(c[0]),r.appendChild(n[0]),"frac"==e.input&&r.appendChild(c[0]),[p(e.tag,r),c[1]]));case 3:return t=L(t,e.input.length),[p("mo",a.createTextNode(e.output)),t];case 6:return t=L(t,e.input.length),(i=p("mspace")).setAttribute("width","1ex"),r.appendChild(i),r.appendChild(p(e.tag,a.createTextNode(e.output))),(i=p("mspace")).setAttribute("width","1ex"),r.appendChild(i),[p("mrow",r),t];case 9:return v++,n=w(t=L(t,e.input.length),!1),v--,s="",null!=n[0].lastChild&&(s=n[0].lastChild.firstChild.nodeValue),"|"==s&&","!==t.charAt(0)?(i=p("mo",a.createTextNode(e.output)),(i=p("mrow",i)).appendChild(n[0]),[i,n[1]]):(i=p("mo",a.createTextNode("∣")),[i=p("mrow",i),t])}}function R(t){var e,i,n,o,s,r;if(i=S(t=L(t,0)),o=(s=I(t))[0],3==(e=S(t=s[1])).ttype&&"/"!=e.input){if(null==(s=I(t=L(t,e.input.length)))[0]?s[0]=p("mo",a.createTextNode("□")):N(s[0]),t=s[1],r=7==i.ttype||15==i.ttype,"_"==e.input)if("^"==(n=S(t)).input){var l=I(t=L(t,n.input.length));N(l[0]),t=l[1],(o=p(r?"munderover":"msubsup",o)).appendChild(s[0]),o.appendChild(l[0]),o=p("mrow",o)}else(o=p(r?"munder":"msub",o)).appendChild(s[0]);else"^"==e.input&&r?(o=p("mover",o)).appendChild(s[0]):(o=p(e.tag,o)).appendChild(s[0]);void 0!==i.func&&i.func&&3!=(n=S(t)).ttype&&5!=n.ttype&&(i.input.length>1||4==n.ttype)&&(s=R(t),(o=p("mrow",o)).appendChild(s[0]),t=s[1])}return[o,t]}function w(t,e){var i,n,o,s,r=a.createDocumentFragment();do{n=(o=R(t=L(t,0)))[0],3==(i=S(t=o[1])).ttype&&"/"==i.input?(null==(o=R(t=L(t,i.input.length)))[0]?o[0]=p("mo",a.createTextNode("□")):N(o[0]),t=o[1],N(n),(n=p(i.tag,n)).appendChild(o[0]),r.appendChild(n),i=S(t)):null!=n&&r.appendChild(n)}while((5!=i.ttype&&(9!=i.ttype||e)||0==v)&&null!=i&&""!=i.output);if(5==i.ttype||9==i.ttype){var l=r.childNodes.length;if(l>0&&"mrow"==r.childNodes[l-1].nodeName&&r.childNodes[l-1].lastChild&&r.childNodes[l-1].lastChild.firstChild){var u=r.childNodes[l-1].lastChild.firstChild.nodeValue;if(")"==u||"]"==u){var h=r.childNodes[l-1].firstChild.firstChild.nodeValue;if("("==h&&")"==u&&"}"!=i.output||"["==h&&"]"==u){var d=[],c=!0,m=r.childNodes.length;for(s=0;c&&s<m;s+=2){if(d[s]=[],n=r.childNodes[s],c&&(c="mrow"==n.nodeName&&(s==m-1||"mo"==n.nextSibling.nodeName&&","==n.nextSibling.firstChild.nodeValue)&&n.firstChild.firstChild.nodeValue==h&&n.lastChild.firstChild.nodeValue==u),c)for(var f=0;f<n.childNodes.length;f++)","==n.childNodes[f].firstChild.nodeValue&&(d[s][d[s].length]=f);c&&s>1&&(c=d[s].length==d[s-2].length)}var M=[];if(c=c&&(d.length>1||d[0].length>0)){var x,g,b,C,T=a.createDocumentFragment();for(s=0;s<m;s+=2){for(x=a.createDocumentFragment(),g=a.createDocumentFragment(),b=(n=r.firstChild).childNodes.length,C=0,n.removeChild(n.firstChild),f=1;f<b-1;f++)void 0!==d[s][C]&&f==d[s][C]?(n.removeChild(n.firstChild),"mrow"==n.firstChild.nodeName&&1==n.firstChild.childNodes.length&&"∣"==n.firstChild.firstChild.firstChild.nodeValue?(0==s&&M.push("solid"),n.removeChild(n.firstChild),n.removeChild(n.firstChild),f+=2,C++):0==s&&M.push("none"),x.appendChild(p("mtd",g)),C++):g.appendChild(n.firstChild);x.appendChild(p("mtd",g)),0==s&&M.push("none"),r.childNodes.length>2&&(r.removeChild(r.firstChild),r.removeChild(r.firstChild)),T.appendChild(p("mtr",x))}(n=p("mtable",T)).setAttribute("columnlines",M.join(" ")),"boolean"==typeof i.invisible&&i.invisible&&n.setAttribute("columnalign","left"),r.replaceChild(n,r.firstChild)}}}}t=L(t,i.input.length),"boolean"==typeof i.invisible&&i.invisible||(n=p("mo",a.createTextNode(i.output)),r.appendChild(n))}return[r,t]}function H(t,e){var i;return v=0,i=p("mstyle",w((t=(t=(t=t.replace(/&nbsp;/g,"")).replace(/&gt;/g,">")).replace(/&lt;/g,"<")).replace(/^\s+/g,""),!1)[0]),""!=n&&i.setAttribute("mathcolor",n),""!=mathfontsize&&(i.setAttribute("fontsize",mathfontsize),i.setAttribute("mathsize",mathfontsize)),""!=mathfontfamily&&(i.setAttribute("fontfamily",mathfontfamily),i.setAttribute("mathvariant",mathfontfamily)),o&&i.setAttribute("displaystyle","true"),i=p("math",i),s&&i.setAttribute("title",t.replace(/\s+/g," ")),i}s=!1,mathfontfamily="",n="",mathfontsize="",function(){for(var t=0,e=x.length;t<e;t++)x[t].codes&&delete x[t].codes,x[t].func&&(x[t].tag="mi")}(),t.Augment({AM:{Init:function(){if(o=t.config.displaystyle,r=t.config.decimal||t.config.decimalsign,!t.config.fixphi)for(var a=0,n=x.length;a<n;a++)"phi"===x[a].input&&(x[a].output="φ"),"varphi"===x[a].input&&(x[a].output="ϕ",a=n);!function(){var t=(e=MathJax.ElementJax.mml).mbase.prototype.Init;e.mbase.Augment({firstChild:null,lastChild:null,nodeValue:null,nextSibling:null,Init:function(){var e=t.apply(this,arguments)||this;return e.childNodes=e.data,e.nodeName=e.type,e},appendChild:function(t){t.parent&&t.parent.removeChild(t);var e=arguments;t.isa(i)&&(e=t.childNodes,t.data=t.childNodes=[],t.firstChild=t.lastChild=null);for(var a=0,n=e.length;a<n;a++)t=e[a],this.lastChild&&(this.lastChild.nextSibling=t),this.firstChild||(this.firstChild=t),this.Append(t),this.lastChild=t;return t},removeChild:function(t){for(var e=0,i=this.childNodes.length;e<i&&this.childNodes[e]!==t;e++);if(e!==i)return this.childNodes.splice(e,1),t===this.firstChild&&(this.firstChild=t.nextSibling),t===this.lastChild&&(this.childNodes.length?this.lastChild=this.childNodes[this.childNodes.length-1]:this.lastChild=null),e&&(this.childNodes[e-1].nextSibling=t.nextSibling),t.nextSibling=t.parent=null,t},replaceChild:function(t,e){for(var i=0,a=this.childNodes.length;i<a&&this.childNodes[i]!==e;i++);return i?this.childNodes[i-1].nextSibling=t:this.firstChild=t,i>=a-1&&(this.lastChild=t),this.SetData(i,t),t.nextSibling=e.nextSibling,e.nextSibling=e.parent=null,e},hasChildNodes:function(t){return this.childNodes.length>0},setAttribute:function(t,e){this[t]=e}})}(),E()},Augment:function(t){for(var e in t)if(t.hasOwnProperty(e)){switch(e){case"displaystyle":o=t[e];break;case"decimal":decimal=t[e];break;case"parseMath":H=t[e];break;case"parseExpr":w=t[e];break;case"parseIexpr":R=t[e];break;case"parseSexpr":I=t[e];break;case"removeBrackets":N=t[e];break;case"getSymbol":S=t[e];break;case"position":A=t[e];break;case"removeCharsAndBlanks":L=t[e];break;case"createMmlNode":p=t[e];break;case"createElementMathML":d=t[e];break;case"createElementXHTML":u=t[e];break;case"initSymbols":E=t[e];break;case"refreshSymbols":y=t[e];break;case"compareNames":g=t[e]}this[e]=t[e]}},parseMath:H,parseExpr:w,parseIexpr:R,parseSexr:I,removeBrackets:N,getSymbol:S,position:A,removeCharsAndBlanks:L,createMmlNode:p,createElementMathML:d,createElementXHTML:u,initSymbols:E,refreshSymbols:y,compareNames:g,createDocumentFragment:i,document:a,define:function(t,e){x.push({input:t,tag:"mo",output:e,tex:null,ttype:8}),y()},newcommand:function(t,e){x.push({input:t,tag:"mo",output:e,tex:null,ttype:8}),y()},newsymbol:function(t){x.push(t),y()},symbols:x,names:T,TOKEN:{CONST:0,UNARY:1,BINARY:2,INFIX:3,LEFTBRACKET:4,RIGHTBRACKET:5,SPACE:6,UNDEROVER:7,DEFINITION:8,LEFTRIGHT:9,TEXT:10,UNARYUNDEROVER:15}}})}(MathJax.InputJax.AsciiMath),function(t){var e;t.Augment({sourceMenuTitle:["AsciiMathInput","AsciiMath Input"],annotationEncoding:"text/x-asciimath",prefilterHooks:MathJax.Callback.Hooks(!0),postfilterHooks:MathJax.Callback.Hooks(!0),Translate:function(t){var i,a=MathJax.HTML.getScript(t),n={math:a,script:t},o=this.prefilterHooks.Execute(n);if(o)return o;a=n.math;try{i=this.AM.parseMath(a)}catch(t){if(!t.asciimathError)throw t;i=this.formatError(t,a)}return n.math=e(i),this.postfilterHooks.Execute(n),this.postfilterHooks.Execute(n)||n.math},formatError:function(t,i,a){var n=t.message.replace(/\n.*/,"");return MathJax.Hub.signal.Post(["AsciiMath Jax - parse error",n,i,a]),e.Error(n)},Error:function(t){throw MathJax.Hub.Insert(Error(t),{asciimathError:!0})},Startup:function(){e=MathJax.ElementJax.mml,this.AM.Init()}}),t.loadComplete("jax.js")}(MathJax.InputJax.AsciiMath),function(t,e,i,a){var n,o,s,r,l="'Times New Roman',Times,STIXGeneral,serif",u={".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+")";u[".MJXp-scale"+t]={"-webkit-transform":e,"-moz-transform":e,"-ms-transform":e,"-o-transform":e,transform:e}}}();var h=1e6,d="V",p="H";a.Augment({settings:e.config.menuSettings,config:{styles:u},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(){o=MathJax.Extension.MathEvents.Event,s=MathJax.Extension.MathEvents.Touch,r=MathJax.Extension.MathEvents.Hover,this.ContextMenu=o.ContextMenu,this.Mousedown=o.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,n,r,l,u,h,d=t.jax[this.id],p=d.length;for(a=0;a<p;a++)(n=d[a]).parentNode&&((r=n.previousSibling)&&String(r.className).match(/^MathJax(_PHTML)?(_Display)?( MathJax_Process(ing|ed))?$/)&&r.parentNode.removeChild(r),(h=n.MathJax.elementJax)&&(h.PHTML={display:"block"===h.root.Get("display")},l=u=i.Element("span",{className:"MathJax_PHTML",id:h.inputID+"-Frame",isMathJax:!0,jaxID:this.id,oncontextmenu:o.Menu,onmousedown:o.Mousedown,onmouseover:o.Mouseover,onmouseout:o.Mouseout,onmousemove:o.Mousemove,onclick:o.Click,ondblclick:o.DblClick,onkeydown:o.Keydown,tabIndex:e.getTabOrder(h)}),e.Browser.noContextMenu&&(l.ontouchstart=s.start,l.ontouchend=s.end),h.PHTML.display&&(u=i.Element("div",{className:"MathJax_PHTML_Display"})).appendChild(l),u.className+=" MathJax_Processing",n.parentNode.insertBefore(u,n)))},Translate:function(t,e){if(t.parentNode){var i=t.MathJax.elementJax,a=i.root,n=document.getElementById(i.inputID+"-Frame"),o=i.PHTML.display?n.parentNode:n;this.initPHTML(a,n);try{a.toPreviewHTML(n)}catch(t){if(t.restart)for(;n.firstChild;)n.removeChild(n.firstChild);throw t}o.className=o.className.split(/ /)[0],this.hideProcessedMath&&(o.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 n=e[i];if(n&&n.MathJax.elementJax){n.previousSibling.className=n.previousSibling.className.split(/ /)[0];var o=n.MathJax.elementJax.PHTML;o.preview&&(o.preview.innerHTML="",n.MathJax.preview=o.preview,delete o.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,n=t.PHTML.outerEm,o={w:a.w*n,h:a.h*n,d:a.d*n};return a.width&&(o.width=a.width),o},Zoom:function(t,e,i,a,n){e.className="MathJax",this.idPostfix="-zoom",t.root.toPHTML(e,e),this.idPostfix="",e.style.position="absolute",width||(i.style.position="absolute");var s=e.offsetWidth,r=e.offsetHeight,l=i.offsetHeight,u=i.offsetWidth;return 0===u&&(u=i.parentNode.offsetWidth),e.style.position=i.style.position="",{Y:-o.getBBox(e).h,mW:u,mH:l,zW:s,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:h},TeX:{x_height:.430554},pxPerInch:72,em:16,DELIMITERS:{"(":{dir:d},"{":{dir:d,w:.58},"[":{dir:d},"|":{dir:d,w:.275},")":{dir:d},"}":{dir:d,w:.58},"]":{dir:d},"/":{dir:d},"\\":{dir:d},"∣":{dir:d,w:.275},"∥":{dir:d,w:.55},"⌊":{dir:d,w:.5},"⌋":{dir:d,w:.5},"⌈":{dir:d,w:.5},"⌉":{dir:d,w:.5},"⟨":{dir:d,w:.5},"⟩":{dir:d,w:.5},"↑":{dir:d,w:.65},"↓":{dir:d,w:.65},"⇑":{dir:d,w:.75},"⇓":{dir:d,w:.75},"↕":{dir:d,w:.65},"⇕":{dir:d,w:.75},"⟮":{dir:d,w:.275},"⟯":{dir:d,w:.275},"⎰":{dir:d,w:.6},"⎱":{dir:d,w:.6}},REMAPACCENT:{"⃗":"→","'":"ˋ","`":"ˊ",".":"˙","^":"ˆ","-":"ˉ","~":"˜","¯":"ˉ","°":"˚","´":"ˊ","̀":"ˋ","́":"ˊ","̂":"ˆ","̃":"˜","̄":"ˉ","̅":"ˉ","̆":"˘","̇":"˙","̈":"¨","̌":"ˇ"},REMAPACCENTUNDER:{},length2em:function(t,e){if("string"!=typeof t&&(t=t.toString()),""===t)return"";if(t===n.SIZE.NORMAL)return 1;if(t===n.SIZE.BIG)return 2;if(t===n.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"),o=i[2];return null==e&&(e=1),"em"===o?a:"ex"===o?a*this.TeX.x_height:"%"===o?a/100*e:"px"===o?a/this.em:"pt"===o?a/10:"pc"===o?1.2*a:"in"===o?a*this.pxPerInch/this.em:"cm"===o?a*this.pxPerInch/this.em/2.54:"mm"===o?a*this.pxPerInch/this.em/25.4:"mu"===o?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(){(n=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 n=this.data[e];n?(a.childSpans&&(t=i.addElement(t,"span",{className:a.className})),n.toPreviewHTML(t),a.noBBox||(this.PHTML.w+=n.PHTML.w+n.PHTML.l+n.PHTML.r,n.PHTML.h>this.PHTML.h&&(this.PHTML.h=n.PHTML.h),n.PHTML.d>this.PHTML.d&&(this.PHTML.d=n.PHTML.d),n.PHTML.t>this.PHTML.t&&(this.PHTML.t=n.PHTML.t),n.PHTML.b>this.PHTML.b&&(this.PHTML.b=n.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 n=this.PHTML,o=a.PHTML,s=o.w;a.PHTMLstretchV(e,i),n.w+=o.w-s,o.h>n.h&&(n.h=o.h),o.d>n.d&&(n.d=o.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!==n.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 n,o,s=0,r=0,l=0,u=0,h=e.length;u<h;u++){o=e.charCodeAt(u),n=e.charAt(u),o>=55296&&o<56319&&(u++,o=(o-55296<<10)+(e.charCodeAt(u)-56320)+65536);var d=.7,p=.22,c=.5;o<127&&(n.match(/[A-Za-ehik-or-xz0-9]/)&&(p=0),n.match(/[A-HK-Z]/)?c=.67:n.match(/[IJ]/)&&(c=.36),n.match(/[acegm-su-z]/)?d=.45:n.match(/[ij]/)&&(d=.75),n.match(/[ijlt]/)&&(c=.28)),a.DELIMITERS[n]&&(c=a.DELIMITERS[n].w||.4),d>s&&(s=d),p>r&&(r=p),l+=c}this.CHML||(this.PHTML={}),this.PHTML={h:.9,d:.3,w:l,l:0,r:0,t:s,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(n.math);)t=t.Parent();return t},CoreText:function(t){if(!t)return"";if(t.isEmbellished())return t.CoreMO().data.join("");for(;(t.isa(n.mrow)||t.isa(n.TeXAtom)||t.isa(n.mstyle)||t.isa(n.mphantom))&&1===t.data.length&&t.data[0];)t=t.data[0];return t.isToken?t.data.join(""):""}}),n.chars.Augment({toPreviewHTML:function(t){var e=this.toString().replace(/[\u2061-\u2064]/g,"");this.PHTMLhandleText(t,e)}}),n.entity.Augment({toPreviewHTML:function(t){var e=this.toString().replace(/[\u2061-\u2064]/g,"");this.PHTMLhandleText(t,e)}}),n.math.Augment({toPreviewHTML:function(t){return t=this.PHTMLdefaultSpan(t),"block"===this.Get("display")&&(t.className+=" MJXp-display"),t}}),n.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 n=i.Element("span",{className:"MJXp-largeop"});n.appendChild(t.firstChild),t.appendChild(n),this.PHTML.h*=1.2,this.PHTML.d*=1.2,"∫"===this.data.join("")&&(n.className+=" MJXp-int")}return t},PHTMLadjustAccent:function(t){var e=this.CoreParent();if(e&&e.isa(n.munderover)&&1===this.CoreText(e.data[e.base]).length){var i,o=e.data[e.over],s=e.data[e.under],r=this.data.join("");o&&this===o.CoreMO()&&e.Get("accent")?i=a.REMAPACCENT[r]:s&&this===s.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 n=this.data.join("");if(n.length>1)return!1;var o=(n=a.DELIMITERS[n])&&n.dir===t.substr(0,1);return o&&(o=this.PHTML.h!==e||this.PHTML.d!==i||this.Get("minsize",!0)||this.Get("maxsize",!0)),o},PHTMLstretchV:function(t,e){var n=this.PHTMLspanElement(),o=this.PHTML,s=this.getValues("symmetric","maxsize","minsize");p=s.symmetric?2*Math.max(t-.25,e+.25):t+e,s.maxsize=a.length2em(s.maxsize,o.h+o.d),s.minsize=a.length2em(s.minsize,o.h+o.d);var r=(p=Math.max(s.minsize,Math.min(s.maxsize,p)))/(o.h+o.d-.3),l=i.Element("span",{style:{"font-size":a.Em(r)}});if(r>1.25){var u=Math.ceil(1.25/r*10);l.className="MJXp-right MJXp-scale"+u,l.style.marginLeft=a.Em(o.w*(u/10-1)+.07),o.w*=r*u/10}l.appendChild(n.firstChild),n.appendChild(l),s.symmetric&&(n.style.verticalAlign=a.Em(.25*(1-r)))}}),n.mspace.Augment({toPreviewHTML:function(t){t=this.PHTMLdefaultSpan(t);var e=this.getValues("height","depth","width"),i=a.length2em(e.width),n=a.length2em(e.height),o=a.length2em(e.depth),s=this.PHTML;return s.w=i,s.h=n,s.d=o,i<0&&(a.lastIsInt||(t.style.marginLeft=a.Em(i)),i=0),t.style.width=a.Em(i),t.style.height=a.Em(n+o),o&&(t.style.verticalAlign=a.Em(-o)),t}}),n.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"),n=this.PHTMLdimen(i.lspace),o=0,s=0,r=n.len,l=-n.len,u=0;return""!==i.width&&((n=this.PHTMLdimen(i.width,"w",0)).pm?l+=n.len:t.style.width=a.Em(n.len)),""!==i.height&&((n=this.PHTMLdimen(i.height,"h",0)).pm||(o+=-this.PHTMLbboxFor(0).h),o+=n.len),""!==i.depth&&((n=this.PHTMLdimen(i.depth,"d",0)).pm||(s+=-this.PHTMLbboxFor(0).d,u+=-n.len),s+=n.len),""!==i.voffset&&(o-=(n=this.PHTMLdimen(i.voffset)).len,s+=n.len,u+=n.len),o&&(e.style.marginTop=a.Em(o)),s&&(e.style.marginBottom=a.Em(s)),r&&(e.style.marginLeft=a.Em(r)),l&&(e.style.marginRight=a.Em(l)),u&&(t.style.verticalAlign=a.Em(u)),t},PHTMLdimen:function(t,e,i){null==i&&(i=-h);var n=(t=String(t)).match(/width|height|depth/),o=n?this.PHTML[n[0].charAt(0)]:e?this.PHTML[e]:0;return{len:a.length2em(t,o)||0,pm:!!t.match(/^[-+]/)}}}),n.munderover.Augment({toPreviewHTML:function(t){var e=this.getValues("displaystyle","accent","accentunder","align"),o=this.data[this.base];if(!e.displaystyle&&null!=o&&(o.movablelimits||o.CoreMO().Get("movablelimits")))return(t=n.msubsup.prototype.toPreviewHTML.call(this,t)).className=t.className.replace(/munderover/,"msubsup"),t;t=this.PHTMLdefaultSpan(t,{childSpans:!0,className:"",noBBox:!0});var s=this.PHTMLbboxFor(this.over),r=this.PHTMLbboxFor(this.under),l=this.PHTMLbboxFor(this.base),u=this.PHTML,h=s.acc;if(this.data[this.over]){t.lastChild.firstChild&&(t.lastChild.firstChild.style.marginLeft=s.l=t.lastChild.firstChild.style.marginRight=s.r=0);var d=i.Element("span",{},[["span",{className:"MJXp-over"}]]);d.firstChild.appendChild(t.lastChild),t.childNodes.length>(this.data[this.under]?1:0)&&d.firstChild.appendChild(t.firstChild),this.data[this.over].PHTMLhandleScriptlevel(d.firstChild.firstChild),null!=h&&(s.vec&&(d.firstChild.firstChild.firstChild.style.fontSize="60%",s.h*=.6,s.d*=.6,s.w*=.6),h=h-s.d+.1,null!=l.t&&(h+=l.t-l.h),d.firstChild.firstChild.style.marginBottom=a.Em(h)),t.firstChild?t.insertBefore(d,t.firstChild):t.appendChild(d)}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)),u.w=Math.max(.8*s.w,.8*r.w,l.w),u.h=.8*(s.h+s.d+(h||0))+l.h,u.d=l.d+.8*(r.h+r.d),t}}),n.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],n=this.data[this.sub],o=this.data[this.sup];e||(e={bbox:{h:.8,d:.2}}),t.firstChild.style.marginRight=".05em";var s=Math.max(.4,e.PHTML.h-.4),r=Math.max(.2,e.PHTML.d+.1),l=this.PHTML;if(o&&n){var u=i.Element("span",{className:"MJXp-script-box",style:{height:a.Em(s+.8*o.PHTML.h+r+.8*n.PHTML.d),"vertical-align":a.Em(-r-.8*n.PHTML.d)}},[["span",{},[["span",{},[["span",{style:{"margin-bottom":a.Em(-(o.PHTML.d-.05))}}]]]]],["span",{},[["span",{},[["span",{style:{"margin-top":a.Em(-(o.PHTML.h-.05))}}]]]]]]);n.PHTMLhandleScriptlevel(u.firstChild),o.PHTMLhandleScriptlevel(u.lastChild),u.firstChild.firstChild.firstChild.appendChild(t.lastChild),u.lastChild.firstChild.firstChild.appendChild(t.lastChild),t.appendChild(u),l.h=Math.max(e.PHTML.h,.8*o.PHTML.h+s),l.d=Math.max(e.PHTML.d,.8*n.PHTML.d+r),l.w=e.PHTML.w+Math.max(o.PHTML.w,n.PHTML.w)+.07}else o?(t.lastChild.style.verticalAlign=a.Em(s),o.PHTMLhandleScriptlevel(t.lastChild),l.h=Math.max(e.PHTML.h,.8*o.PHTML.h+s),l.d=Math.max(e.PHTML.d,.8*o.PHTML.d-s),l.w=e.PHTML.w+o.PHTML.w+.07):n&&(t.lastChild.style.verticalAlign=a.Em(-r),n.PHTMLhandleScriptlevel(t.lastChild),l.h=Math.max(e.PHTML.h,.8*n.PHTML.h-r),l.d=Math.max(e.PHTML.d,.8*n.PHTML.d+r),l.w=e.PHTML.w+n.PHTML.w+.07);return t}}),n.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 n=i.Element("span",{className:"MJXp-box"},[["span",{className:"MJXp-denom"},[["span",{},[["span",{className:"MJXp-rule",style:{height:"1em"}}]]],["span"]]]]);n.firstChild.lastChild.appendChild(t.lastChild),t.appendChild(n);var o=this.PHTMLbboxFor(0),s=this.PHTMLbboxFor(1),r=this.PHTML;if(r.w=.8*Math.max(o.w,s.w),r.h=o.h+o.d+.1+.25,r.d=s.h+s.d-.25,r.l=r.r=.125,e.linethickness=Math.max(0,a.length2em(e.linethickness||"0",0)),e.linethickness){var l=n.firstChild.firstChild.firstChild,u=a.Em(e.linethickness);l.style.borderTop="none",l.style.borderBottom=(e.linethickness<.15?"1px":u)+" solid",l.style.margin=u+" 0",u=e.linethickness,n.style.marginTop=a.Em(3*u-1.2),t.style.verticalAlign=a.Em(1.5*u+.1),r.h+=1.5*u-.1,r.d+=1.5*u}else n.style.marginTop="-.7em";return t}}),n.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 n=this.PHTMLbboxFor(0),o=Math.ceil(100*(n.h+n.d+.14)),s=a.Em(14/o),r=i.Element("span",{className:"MJXp-surd"},[["span",{style:{"font-size":o+"%","margin-top":s}},["√"]]]),l=i.Element("span",{className:"MJXp-root"},[["span",{className:"MJXp-rule",style:{"border-top":".08em solid"}}]]),u=1.2/2.2*o/100;if(o>150){var h=Math.ceil(150/o*10);r.firstChild.className="MJXp-right MJXp-scale"+h,r.firstChild.style.marginLeft=a.Em(u*(h/10-1)/o*100),u=u*h/10,l.firstChild.style.borderTopWidth=a.Em(.08/Math.sqrt(h/10))}return l.appendChild(e),t.appendChild(r),t.appendChild(l),this.PHTML.h=n.h+.18,this.PHTML.d=n.d,this.PHTML.w=n.w+u,t}}),n.mroot.Augment({toPreviewHTML:function(t){t=this.PHTMLdefaultSpan(t,{childSpans:!0,className:"MJXp-box",forceChild:!0,noBBox:!0});var e=this.PHTMLbboxFor(1),n=t.removeChild(t.lastChild),o=this.PHTMLlayoutRoot(i.Element("span"),t.firstChild);n.className="MJXp-script";var s=parseInt(o.firstChild.firstChild.style.fontSize),r=s/120*.55+.8*e.d,l=s/120*-.6;return s>150&&(l*=.95*Math.ceil(150/s*10)/10),n.style.marginRight=a.Em(l),n.style.verticalAlign=a.Em(r),-l>.8*e.w&&(n.style.marginLeft=a.Em(-l-.8*e.w)),t.appendChild(n),t.appendChild(o),this.PHTML.w+=Math.max(0,.8*e.w+l),this.PHTML.h=Math.max(this.PHTML.h,.8*e.h+r),t},PHTMLlayoutRoot:n.msqrt.prototype.PHTMLlayoutRoot}),n.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,n=this.PHTML.d;for(this.PHTMLstretchChild("open",a,n),e=0,i=this.data.length;e<i;e++)this.PHTMLstretchChild("sep"+e,a,n),this.PHTMLstretchChild(e,a,n);return this.PHTMLstretchChild("close",a,n),t}}),n.mrow.Augment({toPreviewHTML:function(t){t=this.PHTMLdefaultSpan(t);for(var e=this.PHTML.h,i=this.PHTML.d,a=0,n=this.data.length;a<n;a++)this.PHTMLstretchChild(a,e,i);return t}}),n.mstyle.Augment({toPreviewHTML:function(t){return t=this.PHTMLdefaultSpan(t),this.PHTMLhandleScriptlevel(t),t}}),n.TeXAtom.Augment({toPreviewHTML:function(t){return(t=this.PHTMLdefaultSpan(t)).className="MJXp-mrow",t}}),n.mtable.Augment({toPreviewHTML:function(t){t=this.PHTMLdefaultSpan(t,{noBBox:!0});var e,n,o,s,r=this.getValues("columnalign","rowalign","columnspacing","rowspacing","columnwidth","equalcolumns","equalrows","columnlines","rowlines","frame","framespacing","align","width"),l=MathJax.Hub.SplitList,u=l(r.columnspacing),h=l(r.rowspacing),d=l(r.columnalign),p=l(r.rowalign);for(e=0,n=u.length;e<n;e++)u[e]=a.length2em(u[e]);for(e=0,n=h.length;e<n;e++)h[e]=a.length2em(h[e]);for(var c=i.Element("span");t.firstChild;)c.appendChild(t.firstChild);t.appendChild(c);var m=0,f=0;for(e=0,n=this.data.length;e<n;e++){var M=this.data[e];if(M){var x=a.arrayEntry(h,e-1),g=a.arrayEntry(p,e),v=M.PHTML;M.PHTMLspanElement().style.verticalAlign=g;var b="mlabeledtr"===M.type?1:0;for(o=0,s=M.data.length;o<s-b;o++){var C=M.data[o+b];if(C){var T=a.arrayEntry(u,o-1),E=a.arrayEntry(d,o),y=C.PHTMLspanElement();o&&(v.w+=T,y.style.paddingLeft=a.Em(T)),e&&(y.style.paddingTop=a.Em(x)),y.style.textAlign=E}}m+=v.h+v.d,e&&(m+=x),v.w>f&&(f=v.w)}}var L=this.PHTML;return L.w=f,L.h=m/2+.25,L.d=m/2-.25,L.l=L.r=.125,t}}),n.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}}),n.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}}),n.annotation.Augment({toPreviewHTML:function(t){}}),n["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,n=MathJax.OutputJax,o=i.isMSIE&&(document.documentMode||0)<8,s=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,n,o,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(){!o&&s.Active()&&(e=t.processUpdateTime,i=t.processUpdateDelay,n=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(){!o&&r&&(t.processUpdateTime=e,t.processUpdateDelay=i,t.Config({messageStyle:n}),o=!0)}))},Disable:function(){this.enabled=!1},Enable:function(){this.enabled=!0},Active:function(){return a.FastPreview&&this.enabled&&!(n[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=o?"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)}))}};s.Register("TeX"),s.Register("MathML"),s.Register("AsciiMath"),t.Register.StartupHook("End Config",["Config",s]),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 n=i.config.menuSettings,o=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!=n.assistiveMML||i.Config({menuSettings:{assistiveMML:!0}}),t.Styles(this.config.styles),i.Register.MessageHook("End Math",(function(t){if(n.assistiveMML)return o.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),n=0,o=a.length;n<o;n++)(e=document.getElementById(a[n].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,n,o,s=t.jax.length,r=MathJax.ElementJax.mml;for(r.copyAttributes.id=1;t.i<s;){if(e=t.jax[t.i],n=document.getElementById(e.inputID+"-Frame"),"NativeMML"!==e.outputJax&&"PlainSource"!==e.outputJax&&n&&!n.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)}n.setAttribute("data-mathml",i),o=a.addElement(n,"span",{isMathJax:!0,unselectable:"on",className:"MJX_Assistive_MathML"+("block"===e.root.Get("display")?" MJX_Assistive_MathML_Block":"")});try{o.innerHTML=i}catch(t){}n.style.position="relative",n.setAttribute("role","presentation"),n.firstChild.setAttribute("aria-hidden","true"),o.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,n=t.config.menuSettings,o=Function.prototype.bind?function(t,e){return t.bind(e)}:function(t,e){return function(){t.apply(e,arguments)}},s=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 n[l.MakeOption(t)]},AddDefaults:function(){for(var t,e=s(l.defaults),i=0;t=e[i];i++){var a=l.MakeOption(t);void 0===n[a]&&(n[a]=l.defaults[t])}},AddMenu:function(){for(var t,e=Array(this.modules.length),n=0;t=this.modules[n];n++)e[n]=t.placeHolder;var o,s,r=a.FindId("Accessibility");r?(e.unshift(i.RULE()),r.submenu.items.push.apply(r.submenu.items,e)):((o=(a.FindId("Settings","Renderer")||{}).submenu)&&(e.unshift(i.RULE()),e.unshift(o.items.pop()),e.unshift(o.items.pop())),e.unshift("Accessibility"),r=i.SUBMENU.apply(i.SUBMENU,e),(s=a.IndexOfId("Locale"))?a.items.splice(s,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++)n[e.option]&&i.push(e.module);return i.length?t.Startup.loadArray(i):null}},u=MathJax.Extension.ModuleLoader=MathJax.Object.Subclass({option:"",name:["",""],module:"",placeHolder:null,submenu:!1,extension:null,Init:function(t,e,i,a,n){this.option=t,this.name=[e.replace(/ /g,""),e],this.module=i,this.extension=a,this.submenu=n||!1},CreateMenu:function(){var t=o(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(u("collapsible","Collapsible Math","[a11y]/collapsible.js","collapsible")),l.Register(u("autocollapse","Auto Collapse","[a11y]/auto-collapse.js","auto-collapse")),l.Register(u("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/AM_HTMLorMML.js");