@zklogic/draw.io
Version:
Draw.IO - Graph Editor integration in Angular-cli
1 lines โข 30.3 kB
JavaScript
!function(t){var e,u=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,u=this.childNodes.length;e<u&&this.childNodes[e]!==t;e++);if(e!==u)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 u=0,n=this.childNodes.length;u<n&&this.childNodes[u]!==e;u++);return u?this.childNodes[u-1].nextSibling=t:this.firstChild=t,u>=n-1&&(this.lastChild=t),this.childNodes[u]=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("")+"}"}}),n={getElementById:!0,createElementNS:function(u,n){var p=e[n]();return"mo"===n&&t.config.useMathMLspacing&&(p.useMMLspacing=128),p},createTextNode:function(t){return e.chars(t).With({nodeValue:t})},createDocumentFragment:function(){return u()}},p="blue",i=!0,o=!0,a=".",l="Microsoft"=="MathJax".slice(0,9);function r(t){return l?n.createElement(t):n.createElementNS("http://www.w3.org/1999/xhtml",t)}var s="http://www.w3.org/1998/Math/MathML";function m(t){return l?n.createElement("m:"+t):n.createElementNS(s,t)}function h(t,e){var u;return u=l?n.createElement("m:"+t):n.createElementNS(s,t),e&&u.appendChild(e),u}var c=["๐","โฌ","๐","๐","โฐ","โฑ","๐ข","โ","โ","๐ฅ","๐ฆ","โ","โณ","๐ฉ","๐ช","๐ซ","๐ฌ","โ","๐ฎ","๐ฏ","๐ฐ","๐ฑ","๐ฒ","๐ณ","๐ด","๐ต","๐ถ","๐ท","๐ธ","๐น","โฏ","๐ป","โ","๐ฝ","๐พ","๐ฟ","๐","๐","๐","๐","โด","๐
","๐","๐","๐","๐","๐","๐","๐","๐","๐","๐"],d=["๐","๐
","โญ","๐","๐","๐","๐","โ","โ","๐","๐","๐","๐","๐","๐","๐","๐","โ","๐","๐","๐","๐","๐","๐","๐","โจ","๐","๐","๐ ","๐ก","๐ข","๐ฃ","๐ค","๐ฅ","๐ฆ","๐ง","๐จ","๐ฉ","๐ช","๐ซ","๐ฌ","๐ญ","๐ฎ","๐ฏ","๐ฐ","๐ฑ","๐ฒ","๐ณ","๐ด","๐ต","๐ถ","๐ท"],g=["๐ธ","๐น","โ","๐ป","๐ผ","๐ฝ","๐พ","โ","๐","๐","๐","๐","๐","โ","๐","โ","โ","โ","๐","๐","๐","๐","๐","๐","๐","โค","๐","๐","๐","๐","๐","๐","๐","๐","๐","๐","๐","๐","๐","๐","๐ ","๐ก","๐ข","๐ฃ","๐ค","๐ฅ","๐ฆ","๐ง","๐จ","๐ฉ","๐ช","๐ซ"],x={input:'"',tag:"mtext",output:"mbox",tex:null,ttype:10},y=[{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},x,{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:g},{input:"mathbb",tag:"mstyle",atname:"mathvariant",atval:"double-struck",output:"mathbb",tex:null,ttype:1,codes:g},{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:d},{input:"mathfrak",tag:"mstyle",atname:"mathvariant",atval:"fraktur",output:"mathfrak",tex:null,ttype:1,codes:d}];function f(t,e){return t.input>e.input?1:-1}var C,b,v,N=[];function A(){var t,e=y.length;for(t=0;t<e;t++)y[t].tex&&y.push({input:y[t].tex,tag:y[t].tag,output:y[t].output,ttype:y[t].ttype,acc:y[t].acc||!1});w()}function w(){var t;for(y.sort(f),t=0;t<y.length;t++)N[t]=y[t].input}function S(t,e){var u;u="\\"==t.charAt(e)&&"\\"!=t.charAt(e+1)&&" "!=t.charAt(e+1)?t.slice(e+1):t.slice(e);for(var n=0;n<u.length&&u.charCodeAt(n)<=32;n+=1);return u.slice(n)}function M(t,e,u){if(0==u){var n,p;for(u=-1,n=t.length;u+1<n;)t[p=u+n>>1]<e?u=p:n=p;return n}for(var i=u;i<t.length&&t[i]<e;i++);return i}function T(t){for(var e,u,n,p=0,i="",o=!0,l=1;l<=t.length&&o;l++)u=t.slice(0,l),(p=M(N,u,p))<N.length&&t.slice(0,N[p].length)==N[p]&&(e=p,l=(i=N[p]).length),o=p<N.length&&t.slice(0,N[p].length)>=N[p];if(b=v,""!=i)return v=y[e].ttype,y[e];v=0,p=1,u=t.slice(0,1);for(var r=!0;"0"<=u&&u<="9"&&p<=t.length;)u=t.slice(p,p+1),p++;if(u==a&&"0"<=(u=t.slice(p,p+1))&&u<="9")for(r=!1,p++;"0"<=u&&u<="9"&&p<=t.length;)u=t.slice(p,p+1),p++;return r&&p>1||p>2?(u=t.slice(0,p-1),n="mn"):(p=2,n=("A">(u=t.slice(0,1))||u>"Z")&&("a">u||u>"z")?"mo":"mi"),"-"==u&&3==b?(v=3,{input:u,tag:n,output:u,ttype:1,func:!0}):{input:u,tag:n,output:u,ttype:0}}function k(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 E(t){var e,u,p,i,o,a=n.createDocumentFragment();if(null==(e=T(t=S(t,0)))||5==e.ttype&&C>0)return[null,t];switch(8==e.ttype&&(e=T(t=e.output+S(t,e.input.length))),e.ttype){case 7:case 0:default:return t=S(t,e.input.length),[h(e.tag,n.createTextNode(e.output)),t];case 4:return C++,p=L(t=S(t,e.input.length),!0),C--,"boolean"==typeof e.invisible&&e.invisible?u=h("mrow",p[0]):(u=h("mo",n.createTextNode(e.output)),(u=h("mrow",u)).appendChild(p[0])),[u,p[1]];case 10:return e!=x&&(t=S(t,e.input.length)),-1==(i="{"==t.charAt(0)?t.indexOf("}"):"("==t.charAt(0)?t.indexOf(")"):"["==t.charAt(0)?t.indexOf("]"):e==x?t.slice(1).indexOf('"')+1:0)&&(i=t.length)," "==(o=t.slice(1,i)).charAt(0)&&((u=h("mspace")).setAttribute("width","1ex"),a.appendChild(u)),a.appendChild(h(e.tag,n.createTextNode(o)))," "==o.charAt(o.length-1)&&((u=h("mspace")).setAttribute("width","1ex"),a.appendChild(u)),t=S(t,i+1),[h("mrow",a),t];case 15:case 1:if(null==(p=E(t=S(t,e.input.length)))[0])return[h(e.tag,n.createTextNode(e.output)),t];if("boolean"==typeof e.func&&e.func)return"^"==(o=t.charAt(0))||"_"==o||"/"==o||"|"==o||","==o||1==e.input.length&&e.input.match(/\w/)&&"("!=o?[h(e.tag,n.createTextNode(e.output)),t]:((u=h("mrow",h(e.tag,n.createTextNode(e.output)))).appendChild(p[0]),[u,p[1]]);if(k(p[0]),"sqrt"==e.input)return[h(e.tag,p[0]),p[1]];if(void 0!==e.rewriteleftright)return(u=h("mrow",h("mo",n.createTextNode(e.rewriteleftright[0])))).appendChild(p[0]),u.appendChild(h("mo",n.createTextNode(e.rewriteleftright[1]))),[u,p[1]];if("cancel"==e.input)return(u=h(e.tag,p[0])).setAttribute("notation","updiagonalstrike"),[u,p[1]];if("boolean"==typeof e.acc&&e.acc){u=h(e.tag,p[0]);var r=h("mo",n.createTextNode(e.output));return"vec"==e.input&&("mrow"==p[0].nodeName&&1==p[0].childNodes.length&&null!==p[0].firstChild.firstChild.nodeValue&&1==p[0].firstChild.firstChild.nodeValue.length||null!==p[0].firstChild.nodeValue&&1==p[0].firstChild.nodeValue.length)&&r.setAttribute("stretchy",!1),u.appendChild(r),[u,p[1]]}if(!l&&void 0!==e.codes)for(i=0;i<p[0].childNodes.length;i++)if("mi"==p[0].childNodes[i].nodeName||"mi"==p[0].nodeName){o="mi"==p[0].nodeName?p[0].firstChild.nodeValue:p[0].childNodes[i].firstChild.nodeValue;for(var s=[],m=0;m<o.length;m++)o.charCodeAt(m)>64&&o.charCodeAt(m)<91?s+=e.codes[o.charCodeAt(m)-65]:o.charCodeAt(m)>96&&o.charCodeAt(m)<123?s+=e.codes[o.charCodeAt(m)-71]:s+=o.charAt(m);"mi"==p[0].nodeName?p[0]=h("mo").appendChild(n.createTextNode(s)):p[0].replaceChild(h("mo").appendChild(n.createTextNode(s)),p[0].childNodes[i])}return(u=h(e.tag,p[0])).setAttribute(e.atname,e.atval),[u,p[1]];case 2:if(null==(p=E(t=S(t,e.input.length)))[0])return[h("mo",n.createTextNode(e.input)),t];k(p[0]);var c=E(p[1]);return null==c[0]?[h("mo",n.createTextNode(e.input)),t]:(k(c[0]),["color","class","id"].indexOf(e.input)>=0?("{"==t.charAt(0)?i=t.indexOf("}"):"("==t.charAt(0)?i=t.indexOf(")"):"["==t.charAt(0)&&(i=t.indexOf("]")),o=t.slice(1,i),u=h(e.tag,c[0]),"color"===e.input?u.setAttribute("mathcolor",o):"class"===e.input?u.setAttribute("class",o):"id"===e.input&&u.setAttribute("id",o),[u,c[1]]):("root"!=e.input&&"stackrel"!=e.output||a.appendChild(c[0]),a.appendChild(p[0]),"frac"==e.input&&a.appendChild(c[0]),[h(e.tag,a),c[1]]));case 3:return t=S(t,e.input.length),[h("mo",n.createTextNode(e.output)),t];case 6:return t=S(t,e.input.length),(u=h("mspace")).setAttribute("width","1ex"),a.appendChild(u),a.appendChild(h(e.tag,n.createTextNode(e.output))),(u=h("mspace")).setAttribute("width","1ex"),a.appendChild(u),[h("mrow",a),t];case 9:return C++,p=L(t=S(t,e.input.length),!1),C--,o="",null!=p[0].lastChild&&(o=p[0].lastChild.firstChild.nodeValue),"|"==o&&","!==t.charAt(0)?(u=h("mo",n.createTextNode(e.output)),(u=h("mrow",u)).appendChild(p[0]),[u,p[1]]):(u=h("mo",n.createTextNode("โฃ")),[u=h("mrow",u),t])}}function I(t){var e,u,p,i,o,a;if(u=T(t=S(t,0)),i=(o=E(t))[0],3==(e=T(t=o[1])).ttype&&"/"!=e.input){if(null==(o=E(t=S(t,e.input.length)))[0]?o[0]=h("mo",n.createTextNode("โก")):k(o[0]),t=o[1],a=7==u.ttype||15==u.ttype,"_"==e.input)if("^"==(p=T(t)).input){var l=E(t=S(t,p.input.length));k(l[0]),t=l[1],(i=h(a?"munderover":"msubsup",i)).appendChild(o[0]),i.appendChild(l[0]),i=h("mrow",i)}else(i=h(a?"munder":"msub",i)).appendChild(o[0]);else"^"==e.input&&a?(i=h("mover",i)).appendChild(o[0]):(i=h(e.tag,i)).appendChild(o[0]);void 0!==u.func&&u.func&&3!=(p=T(t)).ttype&&5!=p.ttype&&(u.input.length>1||4==p.ttype)&&(o=I(t),(i=h("mrow",i)).appendChild(o[0]),t=o[1])}return[i,t]}function L(t,e){var u,p,i,o,a=n.createDocumentFragment();do{p=(i=I(t=S(t,0)))[0],3==(u=T(t=i[1])).ttype&&"/"==u.input?(null==(i=I(t=S(t,u.input.length)))[0]?i[0]=h("mo",n.createTextNode("โก")):k(i[0]),t=i[1],k(p),(p=h(u.tag,p)).appendChild(i[0]),a.appendChild(p),u=T(t)):null!=p&&a.appendChild(p)}while((5!=u.ttype&&(9!=u.ttype||e)||0==C)&&null!=u&&""!=u.output);if(5==u.ttype||9==u.ttype){var l=a.childNodes.length;if(l>0&&"mrow"==a.childNodes[l-1].nodeName&&a.childNodes[l-1].lastChild&&a.childNodes[l-1].lastChild.firstChild){var r=a.childNodes[l-1].lastChild.firstChild.nodeValue;if(")"==r||"]"==r){var s=a.childNodes[l-1].firstChild.firstChild.nodeValue;if("("==s&&")"==r&&"}"!=u.output||"["==s&&"]"==r){var m=[],c=!0,d=a.childNodes.length;for(o=0;c&&o<d;o+=2){if(m[o]=[],p=a.childNodes[o],c&&(c="mrow"==p.nodeName&&(o==d-1||"mo"==p.nextSibling.nodeName&&","==p.nextSibling.firstChild.nodeValue)&&p.firstChild.firstChild.nodeValue==s&&p.lastChild.firstChild.nodeValue==r),c)for(var g=0;g<p.childNodes.length;g++)","==p.childNodes[g].firstChild.nodeValue&&(m[o][m[o].length]=g);c&&o>1&&(c=m[o].length==m[o-2].length)}var x=[];if(c=c&&(m.length>1||m[0].length>0)){var y,f,b,v,N=n.createDocumentFragment();for(o=0;o<d;o+=2){for(y=n.createDocumentFragment(),f=n.createDocumentFragment(),b=(p=a.firstChild).childNodes.length,v=0,p.removeChild(p.firstChild),g=1;g<b-1;g++)void 0!==m[o][v]&&g==m[o][v]?(p.removeChild(p.firstChild),"mrow"==p.firstChild.nodeName&&1==p.firstChild.childNodes.length&&"โฃ"==p.firstChild.firstChild.firstChild.nodeValue?(0==o&&x.push("solid"),p.removeChild(p.firstChild),p.removeChild(p.firstChild),g+=2,v++):0==o&&x.push("none"),y.appendChild(h("mtd",f)),v++):f.appendChild(p.firstChild);y.appendChild(h("mtd",f)),0==o&&x.push("none"),a.childNodes.length>2&&(a.removeChild(a.firstChild),a.removeChild(a.firstChild)),N.appendChild(h("mtr",y))}(p=h("mtable",N)).setAttribute("columnlines",x.join(" ")),"boolean"==typeof u.invisible&&u.invisible&&p.setAttribute("columnalign","left"),a.replaceChild(p,a.firstChild)}}}}t=S(t,u.input.length),"boolean"==typeof u.invisible&&u.invisible||(p=h("mo",n.createTextNode(u.output)),a.appendChild(p))}return[a,t]}function V(t,e){var u;return C=0,u=h("mstyle",L((t=(t=(t=t.replace(/ /g,"")).replace(/>/g,">")).replace(/</g,"<")).replace(/^\s+/g,""),!1)[0]),""!=p&&u.setAttribute("mathcolor",p),""!=mathfontsize&&(u.setAttribute("fontsize",mathfontsize),u.setAttribute("mathsize",mathfontsize)),""!=mathfontfamily&&(u.setAttribute("fontfamily",mathfontfamily),u.setAttribute("mathvariant",mathfontfamily)),i&&u.setAttribute("displaystyle","true"),u=h("math",u),o&&u.setAttribute("title",t.replace(/\s+/g," ")),u}o=!1,mathfontfamily="",p="",mathfontsize="",function(){for(var t=0,e=y.length;t<e;t++)y[t].codes&&delete y[t].codes,y[t].func&&(y[t].tag="mi")}(),t.Augment({AM:{Init:function(){if(i=t.config.displaystyle,a=t.config.decimal||t.config.decimalsign,!t.config.fixphi)for(var n=0,p=y.length;n<p;n++)"phi"===y[n].input&&(y[n].output="ฯ"),"varphi"===y[n].input&&(y[n].output="ฯ",n=p);!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(u)&&(e=t.childNodes,t.data=t.childNodes=[],t.firstChild=t.lastChild=null);for(var n=0,p=e.length;n<p;n++)t=e[n],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,u=this.childNodes.length;e<u&&this.childNodes[e]!==t;e++);if(e!==u)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 u=0,n=this.childNodes.length;u<n&&this.childNodes[u]!==e;u++);return u?this.childNodes[u-1].nextSibling=t:this.firstChild=t,u>=n-1&&(this.lastChild=t),this.SetData(u,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}})}(),A()},Augment:function(t){for(var e in t)if(t.hasOwnProperty(e)){switch(e){case"displaystyle":i=t[e];break;case"decimal":decimal=t[e];break;case"parseMath":V=t[e];break;case"parseExpr":L=t[e];break;case"parseIexpr":I=t[e];break;case"parseSexpr":E=t[e];break;case"removeBrackets":k=t[e];break;case"getSymbol":T=t[e];break;case"position":M=t[e];break;case"removeCharsAndBlanks":S=t[e];break;case"createMmlNode":h=t[e];break;case"createElementMathML":m=t[e];break;case"createElementXHTML":r=t[e];break;case"initSymbols":A=t[e];break;case"refreshSymbols":w=t[e];break;case"compareNames":f=t[e]}this[e]=t[e]}},parseMath:V,parseExpr:L,parseIexpr:I,parseSexr:E,removeBrackets:k,getSymbol:T,position:M,removeCharsAndBlanks:S,createMmlNode:h,createElementMathML:m,createElementXHTML:r,initSymbols:A,refreshSymbols:w,compareNames:f,createDocumentFragment:u,document:n,define:function(t,e){y.push({input:t,tag:"mo",output:e,tex:null,ttype:8}),w()},newcommand:function(t,e){y.push({input:t,tag:"mo",output:e,tex:null,ttype:8}),w()},newsymbol:function(t){y.push(t),w()},symbols:y,names:N,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 u,n=MathJax.HTML.getScript(t),p={math:n,script:t},i=this.prefilterHooks.Execute(p);if(i)return i;n=p.math;try{u=this.AM.parseMath(n)}catch(t){if(!t.asciimathError)throw t;u=this.formatError(t,n)}return p.math=e(u),this.postfilterHooks.Execute(p),this.postfilterHooks.Execute(p)||p.math},formatError:function(t,u,n){var p=t.message.replace(/\n.*/,"");return MathJax.Hub.signal.Post(["AsciiMath Jax - parse error",p,u,n]),e.Error(p)},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);