%PDF- %PDF-
Direktori : /www/varak.net/nextcloud.varak.net/apps_old/apps/text/js/ |
Current File : //www/varak.net/nextcloud.varak.net/apps_old/apps/text/js/katex-B5HeYN0F.chunk.mjs |
/*! third party licenses: js/vendor.LICENSE.txt */ class u0{constructor(e,r,a){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=e,this.start=r,this.end=a}static range(e,r){return r?!e||!e.loc||!r.loc||e.loc.lexer!==r.loc.lexer?null:new u0(e.loc.lexer,e.loc.start,r.loc.end):e&&e.loc}}class d0{constructor(e,r){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=e,this.loc=r}range(e,r){return new d0(r,u0.range(this,e))}}class S{constructor(e,r){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var a="KaTeX parse error: "+e,i,s,u=r&&r.loc;if(u&&u.start<=u.end){var h=u.lexer.input;i=u.start,s=u.end,i===h.length?a+=" at end of input: ":a+=" at position "+(i+1)+": ";var c=h.slice(i,s).replace(/[^]/g,"$&̲"),g;i>15?g="…"+h.slice(i-15,i):g=h.slice(0,i);var v;s+15<h.length?v=h.slice(s,s+15)+"…":v=h.slice(s),a+=g+c+v}var y=new Error(a);return y.name="ParseError",y.__proto__=S.prototype,y.position=i,i!=null&&s!=null&&(y.length=s-i),y.rawMessage=e,y}}S.prototype.__proto__=Error.prototype;var cr=function(t,e){return t.indexOf(e)!==-1},pr=function(t,e){return t===void 0?e:t},dr=/([A-Z])/g,gr=function(t){return t.replace(dr,"-$1").toLowerCase()},fr={"&":"&",">":">","<":"<",'"':""","'":"'"},vr=/[&><"']/g;function br(t){return String(t).replace(vr,e=>fr[e])}var M1=function t(e){return e.type==="ordgroup"||e.type==="color"?e.body.length===1?t(e.body[0]):e:e.type==="font"?t(e.body):e},yr=function(t){var e=M1(t);return e.type==="mathord"||e.type==="textord"||e.type==="atom"},xr=function(t){if(!t)throw new Error("Expected non-null, but got "+String(t));return t},wr=function(t){var e=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(t);return e?e[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(e[1])?null:e[1].toLowerCase():"_relative"},F={contains:cr,deflt:pr,escape:br,hyphenate:gr,getBaseElem:M1,isCharacterBox:yr,protocolFromUrl:wr},Me={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format <type>"},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color <color>",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:t=>"#"+t},macros:{type:"object",cli:"-m, --macro <def>",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(t,e)=>(e.push(t),e)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:t=>Math.max(0,t),cli:"--min-rule-thickness <size>",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:t=>Math.max(0,t),cli:"-s, --max-size <n>",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:t=>Math.max(0,t),cli:"-e, --max-expand <n>",cliProcessor:t=>t==="Infinity"?1/0:parseInt(t)},globalGroup:{type:"boolean",cli:!1}};function kr(t){if(t.default)return t.default;var e=t.type,r=Array.isArray(e)?e[0]:e;if(typeof r!="string")return r.enum[0];switch(r){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class kt{constructor(e){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,e=e||{};for(var r in Me)if(Me.hasOwnProperty(r)){var a=Me[r];this[r]=e[r]!==void 0?a.processor?a.processor(e[r]):e[r]:kr(a)}}reportNonstrict(e,r,a){var i=this.strict;if(typeof i=="function"&&(i=i(e,r,a)),!(!i||i==="ignore")){if(i===!0||i==="error")throw new S("LaTeX-incompatible input and strict mode is set to 'error': "+(r+" ["+e+"]"),a);i==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+e+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+i+"': "+r+" ["+e+"]"))}}useStrictBehavior(e,r,a){var i=this.strict;if(typeof i=="function")try{i=i(e,r,a)}catch{i="error"}return!i||i==="ignore"?!1:i===!0||i==="error"?!0:i==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+e+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+i+"': "+r+" ["+e+"]")),!1)}isTrusted(e){if(e.url&&!e.protocol){var r=F.protocolFromUrl(e.url);if(r==null)return!1;e.protocol=r}var a=typeof this.trust=="function"?this.trust(e):this.trust;return!!a}}class R0{constructor(e,r,a){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=r,this.cramped=a}sup(){return w0[Ar[this.id]]}sub(){return w0[Sr[this.id]]}fracNum(){return w0[Mr[this.id]]}fracDen(){return w0[Br[this.id]]}cramp(){return w0[zr[this.id]]}text(){return w0[Cr[this.id]]}isTight(){return this.size>=2}}var At=0,Te=1,J0=2,C0=3,le=4,c0=5,te=6,i0=7,w0=[new R0(At,0,!1),new R0(Te,0,!0),new R0(J0,1,!1),new R0(C0,1,!0),new R0(le,2,!1),new R0(c0,2,!0),new R0(te,3,!1),new R0(i0,3,!0)],Ar=[le,c0,le,c0,te,i0,te,i0],Sr=[c0,c0,c0,c0,i0,i0,i0,i0],Mr=[J0,C0,le,c0,te,i0,te,i0],Br=[C0,C0,c0,c0,i0,i0,i0,i0],zr=[Te,Te,C0,C0,c0,c0,i0,i0],Cr=[At,Te,J0,C0,J0,C0,J0,C0],R={DISPLAY:w0[At],TEXT:w0[J0],SCRIPT:w0[le],SCRIPTSCRIPT:w0[te]},lt=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function Er(t){for(var e=0;e<lt.length;e++)for(var r=lt[e],a=0;a<r.blocks.length;a++){var i=r.blocks[a];if(t>=i[0]&&t<=i[1])return r.name}return null}var Be=[];lt.forEach(t=>t.blocks.forEach(e=>Be.push(...e)));function B1(t){for(var e=0;e<Be.length;e+=2)if(t>=Be[e]&&t<=Be[e+1])return!0;return!1}var K0=80,Tr=function(t,e){return"M95,"+(622+t+e)+"\nc-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14\nc0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54\nc44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10\ns173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429\nc69,-144,104.5,-217.7,106.5,-221\nl"+t/2.075+" -"+t+"\nc5.3,-9.3,12,-14,20,-14\nH400000v"+(40+t)+"H845.2724\ns-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7\nc-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z\nM"+(834+t)+" "+e+"h400000v"+(40+t)+"h-400000z"},Dr=function(t,e){return"M263,"+(601+t+e)+"c0.7,0,18,39.7,52,119\nc34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120\nc340,-704.7,510.7,-1060.3,512,-1067\nl"+t/2.084+" -"+t+"\nc4.7,-7.3,11,-11,19,-11\nH40000v"+(40+t)+"H1012.3\ns-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232\nc-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1\ns-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26\nc-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z\nM"+(1001+t)+" "+e+"h400000v"+(40+t)+"h-400000z"},Fr=function(t,e){return"M983 "+(10+t+e)+"\nl"+t/3.13+" -"+t+"\nc4,-6.7,10,-10,18,-10 H400000v"+(40+t)+"\nH1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7\ns-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744\nc-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30\nc26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722\nc56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5\nc53.7,-170.3,84.5,-266.8,92.5,-289.5z\nM"+(1001+t)+" "+e+"h400000v"+(40+t)+"h-400000z"},qr=function(t,e){return"M424,"+(2398+t+e)+"\nc-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514\nc0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20\ns-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121\ns209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081\nl"+t/4.223+" -"+t+"c4,-6.7,10,-10,18,-10 H400000\nv"+(40+t)+"H1014.6\ns-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185\nc-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2z M"+(1001+t)+" "+e+"\nh400000v"+(40+t)+"h-400000z"},Nr=function(t,e){return"M473,"+(2713+t+e)+"\nc339.3,-1799.3,509.3,-2700,510,-2702 l"+t/5.298+" -"+t+"\nc3.3,-7.3,9.3,-11,18,-11 H400000v"+(40+t)+"H1017.7\ns-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200\nc0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26\ns76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,\n606zM"+(1001+t)+" "+e+"h400000v"+(40+t)+"H1017.7z"},Rr=function(t){var e=t/2;return"M400000 "+t+" H0 L"+e+" 0 l65 45 L145 "+(t-80)+" H400000z"},Hr=function(t,e,r){var a=r-54-e-t;return"M702 "+(t+e)+"H400000"+(40+t)+"\nH742v"+a+"l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1\nh-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170\nc-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667\n219 661 l218 661zM702 "+e+"H400000v"+(40+t)+"H742z"},Or=function(t,e,r){e=1e3*e;var a="";switch(t){case"sqrtMain":a=Tr(e,K0);break;case"sqrtSize1":a=Dr(e,K0);break;case"sqrtSize2":a=Fr(e,K0);break;case"sqrtSize3":a=qr(e,K0);break;case"sqrtSize4":a=Nr(e,K0);break;case"sqrtTall":a=Hr(e,K0,r)}return a},Ir=function(t,e){switch(t){case"⎜":return"M291 0 H417 V"+e+" H291z M291 0 H417 V"+e+" H291z";case"∣":return"M145 0 H188 V"+e+" H145z M145 0 H188 V"+e+" H145z";case"∥":return"M145 0 H188 V"+e+" H145z M145 0 H188 V"+e+" H145z"+("M367 0 H410 V"+e+" H367z M367 0 H410 V"+e+" H367z");case"⎟":return"M457 0 H583 V"+e+" H457z M457 0 H583 V"+e+" H457z";case"⎢":return"M319 0 H403 V"+e+" H319z M319 0 H403 V"+e+" H319z";case"⎥":return"M263 0 H347 V"+e+" H263z M263 0 H347 V"+e+" H263z";case"⎪":return"M384 0 H504 V"+e+" H384z M384 0 H504 V"+e+" H384z";case"⏐":return"M312 0 H355 V"+e+" H312z M312 0 H355 V"+e+" H312z";case"‖":return"M257 0 H300 V"+e+" H257z M257 0 H300 V"+e+" H257z"+("M478 0 H521 V"+e+" H478z M478 0 H521 V"+e+" H478z");default:return""}},Nt={doubleleftarrow:"M262 157\nl10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3\n 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28\n 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5\nc2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5\n 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87\n-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7\n-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z\nm8 0v40h399730v-40zm0 194v40h399730v-40z",doublerightarrow:"M399738 392l\n-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5\n 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88\n-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68\n-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18\n-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782\nc-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3\n-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z",leftarrow:"M400000 241H110l3-3c68.7-52.7 113.7-120\n 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8\n-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247\nc-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208\n 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3\n 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202\n l-3-3h399890zM100 241v40h399900v-40z",leftbrace:"M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117\n-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7\n 5-6 9-10 13-.7 1-7.3 1-20 1H6z",leftbraceunder:"M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13\n 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688\n 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7\n-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z",leftgroup:"M400000 80\nH435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0\n 435 0h399565z",leftgroupunder:"M400000 262\nH435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219\n 435 219h399565z",leftharpoon:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3\n-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5\n-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7\n-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z",leftharpoonplus:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5\n 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3\n-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7\n-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z\nm0 0v40h400000v-40z",leftharpoondown:"M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333\n 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5\n 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667\n-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z",leftharpoondownplus:"M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12\n 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7\n-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0\nv40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z",lefthook:"M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5\n-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3\n-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21\n 71.5 23h399859zM103 281v-40h399897v40z",leftlinesegment:"M40 281 V428 H0 V94 H40 V241 H400000 v40z\nM40 281 V428 H0 V94 H40 V241 H400000 v40z",leftmapsto:"M40 281 V448H0V74H40V241H400000v40z\nM40 281 V448H0V74H40V241H400000v40z",leftToFrom:"M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23\n-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8\nc28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3\n 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z",longequal:"M0 50 h400000 v40H0z m0 194h40000v40H0z\nM0 50 h400000 v40H0z m0 194h40000v40H0z",midbrace:"M200428 334\nc-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14\n-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7\n 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11\n 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z",midbraceunder:"M199572 214\nc100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14\n 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3\n 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0\n-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z",oiintSize1:"M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6\n-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z\nm368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8\n60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z",oiintSize2:"M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8\n-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z\nm502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2\nc0 110 84 276 504 276s502.4-166 502.4-276z",oiiintSize1:"M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6\n-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z\nm525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0\n85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z",oiiintSize2:"M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8\n-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z\nm770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1\nc0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z",rightarrow:"M0 241v40h399891c-47.3 35.3-84 78-110 128\n-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20\n 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7\n 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85\n-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n 151.7 139 205zm0 0v40h399900v-40z",rightbrace:"M400000 542l\n-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5\ns-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1\nc124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z",rightbraceunder:"M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3\n 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237\n-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z",rightgroup:"M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0\n 3-1 3-3v-38c-76-158-257-219-435-219H0z",rightgroupunder:"M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18\n 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z",rightharpoon:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3\n-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2\n-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58\n 69.2 92 94.5zm0 0v40h399900v-40z",rightharpoonplus:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11\n-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7\n 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z\nm0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z",rightharpoondown:"M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8\n 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5\n-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95\n-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z",rightharpoondownplus:"M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8\n 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3\n 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3\n-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z\nm0-194v40h400000v-40zm0 0v40h400000v-40z",righthook:"M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3\n 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0\n-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21\n 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z",rightlinesegment:"M399960 241 V94 h40 V428 h-40 V281 H0 v-40z\nM399960 241 V94 h40 V428 h-40 V281 H0 v-40z",rightToFrom:"M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23\n 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32\n-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142\n-167z M100 147v40h399900v-40zM0 341v40h399900v-40z",twoheadleftarrow:"M0 167c68 40\n 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69\n-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3\n-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19\n-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101\n 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z",twoheadrightarrow:"M400000 167\nc-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3\n 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42\n 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333\n-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70\n 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z",tilde1:"M200 55.538c-77 0-168 73.953-177 73.953-3 0-7\n-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0\n 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0\n 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128\n-68.267.847-113-73.952-191-73.952z",tilde2:"M344 55.266c-142 0-300.638 81.316-311.5 86.418\n-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9\n 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114\nc1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751\n 181.476 676 181.476c-149 0-189-126.21-332-126.21z",tilde3:"M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457\n-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0\n 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697\n 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696\n -338 0-409-156.573-744-156.573z",tilde4:"M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345\n-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409\n 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9\n 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409\n -175.236-744-175.236z",vec:"M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5\n3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11\n10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63\n-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1\n-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59\nH213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359\nc-16-25.333-24-45-24-59z",widehat1:"M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22\nc-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z",widehat2:"M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat3:"M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat4:"M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widecheck1:"M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,\n-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z",widecheck2:"M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck3:"M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck4:"M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",baraboveleftarrow:"M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202\nc4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5\nc-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130\ns-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47\n121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6\ns2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11\nc0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z\nM100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z",rightarrowabovebar:"M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32\n-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0\n13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39\n-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5\n-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z",baraboveshortleftharpoon:"M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17\nc2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21\nc-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40\nc-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z\nM0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z",rightharpoonaboveshortbar:"M0,241 l0,40c399126,0,399993,0,399993,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z",shortbaraboveleftharpoon:"M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,\n1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,\n-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z\nM93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z",shortrightharpoonabovebar:"M53,241l0,40c398570,0,399437,0,399437,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z"},Lr=function(t,e){switch(t){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+e+" v1759 h347 v-84\nH403z M403 1759 V0 H319 V1759 v"+e+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+e+" v1759 H0 v84 H347z\nM347 1759 V0 H263 V1759 v"+e+" v1759 h84z";case"vert":return"M145 15 v585 v"+e+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-e+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M188 15 H145 v585 v"+e+" v585 h43z";case"doublevert":return"M145 15 v585 v"+e+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-e+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M188 15 H145 v585 v"+e+" v585 h43z\nM367 15 v585 v"+e+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-e+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M410 15 H367 v585 v"+e+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+e+" v1715 h263 v84 H319z\nMM319 602 V0 H403 V602 v"+e+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+e+" v1799 H0 v-84 H319z\nMM319 602 V0 H403 V602 v"+e+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+e+" v602 h84z\nM403 1759 V0 H319 V1759 v"+e+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+e+" v602 h84z\nM347 1759 V0 h-84 V1759 v"+e+" v602 h84z";case"lparen":return"M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1\nc-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349,\n-36,557 l0,"+(e+84)+"c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,\n949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9\nc0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5,\n-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189\nl0,-"+(e+92)+"c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,\n-210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z";case"rparen":return"M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3,\n63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5\nc11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,"+(e+9)+"\nc-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664\nc-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11\nc0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17\nc242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558\nl0,-"+(e+144)+"c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,\n-470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z";default:throw new Error("Unknown stretchy delimiter.")}};class ue{constructor(e){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=e,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(e){return F.contains(this.classes,e)}toNode(){for(var e=document.createDocumentFragment(),r=0;r<this.children.length;r++)e.appendChild(this.children[r].toNode());return e}toMarkup(){for(var e="",r=0;r<this.children.length;r++)e+=this.children[r].toMarkup();return e}toText(){var e=r=>r.toText();return this.children.map(e).join("")}}var k0={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},ge={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},Rt={Å:"A",Ð:"D",Þ:"o",å:"a",ð:"d",þ:"o",А:"A",Б:"B",В:"B",Г:"F",Д:"A",Е:"E",Ж:"K",З:"3",И:"N",Й:"N",К:"K",Л:"N",М:"M",Н:"H",О:"O",П:"N",Р:"P",С:"C",Т:"T",У:"y",Ф:"O",Х:"X",Ц:"U",Ч:"h",Ш:"W",Щ:"W",Ъ:"B",Ы:"X",Ь:"B",Э:"3",Ю:"X",Я:"R",а:"a",б:"b",в:"a",г:"r",д:"y",е:"e",ж:"m",з:"e",и:"n",й:"n",к:"n",л:"n",м:"m",н:"n",о:"o",п:"n",р:"p",с:"c",т:"o",у:"y",ф:"b",х:"x",ц:"n",ч:"n",ш:"w",щ:"w",ъ:"a",ы:"m",ь:"a",э:"e",ю:"m",я:"r"};function Vr(t,e){k0[t]=e}function St(t,e,r){if(!k0[e])throw new Error("Font metrics not found for font: "+e+".");var a=t.charCodeAt(0),i=k0[e][a];if(!i&&t[0]in Rt&&(a=Rt[t[0]].charCodeAt(0),i=k0[e][a]),!i&&r==="text"&&B1(a)&&(i=k0[e][77]),i)return{depth:i[0],height:i[1],italic:i[2],skew:i[3],width:i[4]}}var Ge={};function Pr(t){var e;if(t>=5?e=0:t>=3?e=1:e=2,!Ge[e]){var r=Ge[e]={cssEmPerMu:ge.quad[e]/18};for(var a in ge)ge.hasOwnProperty(a)&&(r[a]=ge[a][e])}return Ge[e]}var Gr=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],Ht=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],Ot=function(t,e){return e.size<2?t:Gr[t-1][e.size-1]};class B0{constructor(e){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=e.style,this.color=e.color,this.size=e.size||B0.BASESIZE,this.textSize=e.textSize||this.size,this.phantom=!!e.phantom,this.font=e.font||"",this.fontFamily=e.fontFamily||"",this.fontWeight=e.fontWeight||"",this.fontShape=e.fontShape||"",this.sizeMultiplier=Ht[this.size-1],this.maxSize=e.maxSize,this.minRuleThickness=e.minRuleThickness,this._fontMetrics=void 0}extend(e){var r={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var a in e)e.hasOwnProperty(a)&&(r[a]=e[a]);return new B0(r)}havingStyle(e){return this.style===e?this:this.extend({style:e,size:Ot(this.textSize,e)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(e){return this.size===e&&this.textSize===e?this:this.extend({style:this.style.text(),size:e,textSize:e,sizeMultiplier:Ht[e-1]})}havingBaseStyle(e){e=e||this.style.text();var r=Ot(B0.BASESIZE,e);return this.size===r&&this.textSize===B0.BASESIZE&&this.style===e?this:this.extend({style:e,size:r})}havingBaseSizing(){var e;switch(this.style.id){case 4:case 5:e=3;break;case 6:case 7:e=1;break;default:e=6}return this.extend({style:this.style.text(),size:e})}withColor(e){return this.extend({color:e})}withPhantom(){return this.extend({phantom:!0})}withFont(e){return this.extend({font:e})}withTextFontFamily(e){return this.extend({fontFamily:e,font:""})}withTextFontWeight(e){return this.extend({fontWeight:e,font:""})}withTextFontShape(e){return this.extend({fontShape:e,font:""})}sizingClasses(e){return e.size!==this.size?["sizing","reset-size"+e.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==B0.BASESIZE?["sizing","reset-size"+this.size,"size"+B0.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=Pr(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}B0.BASESIZE=6;var ut={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},Ur={ex:!0,em:!0,mu:!0},z1=function(t){return typeof t!="string"&&(t=t.unit),t in ut||t in Ur||t==="ex"},j=function(t,e){var r;if(t.unit in ut)r=ut[t.unit]/e.fontMetrics().ptPerEm/e.sizeMultiplier;else if(t.unit==="mu")r=e.fontMetrics().cssEmPerMu;else{var a;if(e.style.isTight()?a=e.havingStyle(e.style.text()):a=e,t.unit==="ex")r=a.fontMetrics().xHeight;else if(t.unit==="em")r=a.fontMetrics().quad;else throw new S("Invalid unit: '"+t.unit+"'");a!==e&&(r*=a.sizeMultiplier/e.sizeMultiplier)}return Math.min(t.number*r,e.maxSize)},M=function(t){return+t.toFixed(4)+"em"},V0=function(t){return t.filter(e=>e).join(" ")},C1=function(t,e,r){if(this.classes=t||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=r||{},e){e.style.isTight()&&this.classes.push("mtight");var a=e.getColor();a&&(this.style.color=a)}},E1=function(t){var e=document.createElement(t);e.className=V0(this.classes);for(var r in this.style)this.style.hasOwnProperty(r)&&(e.style[r]=this.style[r]);for(var a in this.attributes)this.attributes.hasOwnProperty(a)&&e.setAttribute(a,this.attributes[a]);for(var i=0;i<this.children.length;i++)e.appendChild(this.children[i].toNode());return e},T1=function(t){var e="<"+t;this.classes.length&&(e+=' class="'+F.escape(V0(this.classes))+'"');var r="";for(var a in this.style)this.style.hasOwnProperty(a)&&(r+=F.hyphenate(a)+":"+this.style[a]+";");r&&(e+=' style="'+F.escape(r)+'"');for(var i in this.attributes)this.attributes.hasOwnProperty(i)&&(e+=" "+i+'="'+F.escape(this.attributes[i])+'"');e+=">";for(var s=0;s<this.children.length;s++)e+=this.children[s].toMarkup();return e+="</"+t+">",e};class he{constructor(e,r,a,i){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,C1.call(this,e,a,i),this.children=r||[]}setAttribute(e,r){this.attributes[e]=r}hasClass(e){return F.contains(this.classes,e)}toNode(){return E1.call(this,"span")}toMarkup(){return T1.call(this,"span")}}class Mt{constructor(e,r,a,i){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,C1.call(this,r,i),this.children=a||[],this.setAttribute("href",e)}setAttribute(e,r){this.attributes[e]=r}hasClass(e){return F.contains(this.classes,e)}toNode(){return E1.call(this,"a")}toMarkup(){return T1.call(this,"a")}}class Xr{constructor(e,r,a){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=r,this.src=e,this.classes=["mord"],this.style=a}hasClass(e){return F.contains(this.classes,e)}toNode(){var e=document.createElement("img");e.src=this.src,e.alt=this.alt,e.className="mord";for(var r in this.style)this.style.hasOwnProperty(r)&&(e.style[r]=this.style[r]);return e}toMarkup(){var e='<img src="'+F.escape(this.src)+'"'+(' alt="'+F.escape(this.alt)+'"'),r="";for(var a in this.style)this.style.hasOwnProperty(a)&&(r+=F.hyphenate(a)+":"+this.style[a]+";");return r&&(e+=' style="'+F.escape(r)+'"'),e+="'/>",e}}var Wr={î:"ı̂",ï:"ı̈",í:"ı́",ì:"ı̀"};class g0{constructor(e,r,a,i,s,u,h,c){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=e,this.height=r||0,this.depth=a||0,this.italic=i||0,this.skew=s||0,this.width=u||0,this.classes=h||[],this.style=c||{},this.maxFontSize=0;var g=Er(this.text.charCodeAt(0));g&&this.classes.push(g+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=Wr[this.text])}hasClass(e){return F.contains(this.classes,e)}toNode(){var e=document.createTextNode(this.text),r=null;this.italic>0&&(r=document.createElement("span"),r.style.marginRight=M(this.italic)),this.classes.length>0&&(r=r||document.createElement("span"),r.className=V0(this.classes));for(var a in this.style)this.style.hasOwnProperty(a)&&(r=r||document.createElement("span"),r.style[a]=this.style[a]);return r?(r.appendChild(e),r):e}toMarkup(){var e=!1,r="<span";this.classes.length&&(e=!0,r+=' class="',r+=F.escape(V0(this.classes)),r+='"');var a="";this.italic>0&&(a+="margin-right:"+this.italic+"em;");for(var i in this.style)this.style.hasOwnProperty(i)&&(a+=F.hyphenate(i)+":"+this.style[i]+";");a&&(e=!0,r+=' style="'+F.escape(a)+'"');var s=F.escape(this.text);return e?(r+=">",r+=s,r+="</span>",r):s}}class E0{constructor(e,r){this.children=void 0,this.attributes=void 0,this.children=e||[],this.attributes=r||{}}toNode(){var e="http://www.w3.org/2000/svg",r=document.createElementNS(e,"svg");for(var a in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,a)&&r.setAttribute(a,this.attributes[a]);for(var i=0;i<this.children.length;i++)r.appendChild(this.children[i].toNode());return r}toMarkup(){var e='<svg xmlns="http://www.w3.org/2000/svg"';for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&(e+=" "+r+'="'+F.escape(this.attributes[r])+'"');e+=">";for(var a=0;a<this.children.length;a++)e+=this.children[a].toMarkup();return e+="</svg>",e}}class P0{constructor(e,r){this.pathName=void 0,this.alternate=void 0,this.pathName=e,this.alternate=r}toNode(){var e="http://www.w3.org/2000/svg",r=document.createElementNS(e,"path");return this.alternate?r.setAttribute("d",this.alternate):r.setAttribute("d",Nt[this.pathName]),r}toMarkup(){return this.alternate?'<path d="'+F.escape(this.alternate)+'"/>':'<path d="'+F.escape(Nt[this.pathName])+'"/>'}}class ht{constructor(e){this.attributes=void 0,this.attributes=e||{}}toNode(){var e="http://www.w3.org/2000/svg",r=document.createElementNS(e,"line");for(var a in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,a)&&r.setAttribute(a,this.attributes[a]);return r}toMarkup(){var e="<line";for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&(e+=" "+r+'="'+F.escape(this.attributes[r])+'"');return e+="/>",e}}function It(t){if(t instanceof g0)return t;throw new Error("Expected symbolNode but got "+String(t)+".")}function Yr(t){if(t instanceof he)return t;throw new Error("Expected span<HtmlDomNode> but got "+String(t)+".")}var $r={bin:1,close:1,inner:1,open:1,punct:1,rel:1},_r={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Y={math:{},text:{}};function n(t,e,r,a,i,s){Y[t][i]={font:e,group:r,replace:a},s&&a&&(Y[t][a]=Y[t][i])}var o="math",k="text",l="main",p="ams",$="accent-token",E="bin",r0="close",Q0="inner",N="mathord",Q="op-token",l0="open",fe="punct",d="rel",S0="spacing",f="textord";n(o,l,d,"≡","\\equiv",!0),n(o,l,d,"≺","\\prec",!0),n(o,l,d,"≻","\\succ",!0),n(o,l,d,"∼","\\sim",!0),n(o,l,d,"⊥","\\perp"),n(o,l,d,"⪯","\\preceq",!0),n(o,l,d,"⪰","\\succeq",!0),n(o,l,d,"≃","\\simeq",!0),n(o,l,d,"∣","\\mid",!0),n(o,l,d,"≪","\\ll",!0),n(o,l,d,"≫","\\gg",!0),n(o,l,d,"≍","\\asymp",!0),n(o,l,d,"∥","\\parallel"),n(o,l,d,"⋈","\\bowtie",!0),n(o,l,d,"⌣","\\smile",!0),n(o,l,d,"⊑","\\sqsubseteq",!0),n(o,l,d,"⊒","\\sqsupseteq",!0),n(o,l,d,"≐","\\doteq",!0),n(o,l,d,"⌢","\\frown",!0),n(o,l,d,"∋","\\ni",!0),n(o,l,d,"∝","\\propto",!0),n(o,l,d,"⊢","\\vdash",!0),n(o,l,d,"⊣","\\dashv",!0),n(o,l,d,"∋","\\owns"),n(o,l,fe,".","\\ldotp"),n(o,l,fe,"⋅","\\cdotp"),n(o,l,f,"#","\\#"),n(k,l,f,"#","\\#"),n(o,l,f,"&","\\&"),n(k,l,f,"&","\\&"),n(o,l,f,"ℵ","\\aleph",!0),n(o,l,f,"∀","\\forall",!0),n(o,l,f,"ℏ","\\hbar",!0),n(o,l,f,"∃","\\exists",!0),n(o,l,f,"∇","\\nabla",!0),n(o,l,f,"♭","\\flat",!0),n(o,l,f,"ℓ","\\ell",!0),n(o,l,f,"♮","\\natural",!0),n(o,l,f,"♣","\\clubsuit",!0),n(o,l,f,"℘","\\wp",!0),n(o,l,f,"♯","\\sharp",!0),n(o,l,f,"♢","\\diamondsuit",!0),n(o,l,f,"ℜ","\\Re",!0),n(o,l,f,"♡","\\heartsuit",!0),n(o,l,f,"ℑ","\\Im",!0),n(o,l,f,"♠","\\spadesuit",!0),n(o,l,f,"§","\\S",!0),n(k,l,f,"§","\\S"),n(o,l,f,"¶","\\P",!0),n(k,l,f,"¶","\\P"),n(o,l,f,"†","\\dag"),n(k,l,f,"†","\\dag"),n(k,l,f,"†","\\textdagger"),n(o,l,f,"‡","\\ddag"),n(k,l,f,"‡","\\ddag"),n(k,l,f,"‡","\\textdaggerdbl"),n(o,l,r0,"⎱","\\rmoustache",!0),n(o,l,l0,"⎰","\\lmoustache",!0),n(o,l,r0,"⟯","\\rgroup",!0),n(o,l,l0,"⟮","\\lgroup",!0),n(o,l,E,"∓","\\mp",!0),n(o,l,E,"⊖","\\ominus",!0),n(o,l,E,"⊎","\\uplus",!0),n(o,l,E,"⊓","\\sqcap",!0),n(o,l,E,"∗","\\ast"),n(o,l,E,"⊔","\\sqcup",!0),n(o,l,E,"◯","\\bigcirc",!0),n(o,l,E,"∙","\\bullet",!0),n(o,l,E,"‡","\\ddagger"),n(o,l,E,"≀","\\wr",!0),n(o,l,E,"⨿","\\amalg"),n(o,l,E,"&","\\And"),n(o,l,d,"⟵","\\longleftarrow",!0),n(o,l,d,"⇐","\\Leftarrow",!0),n(o,l,d,"⟸","\\Longleftarrow",!0),n(o,l,d,"⟶","\\longrightarrow",!0),n(o,l,d,"⇒","\\Rightarrow",!0),n(o,l,d,"⟹","\\Longrightarrow",!0),n(o,l,d,"↔","\\leftrightarrow",!0),n(o,l,d,"⟷","\\longleftrightarrow",!0),n(o,l,d,"⇔","\\Leftrightarrow",!0),n(o,l,d,"⟺","\\Longleftrightarrow",!0),n(o,l,d,"↦","\\mapsto",!0),n(o,l,d,"⟼","\\longmapsto",!0),n(o,l,d,"↗","\\nearrow",!0),n(o,l,d,"↩","\\hookleftarrow",!0),n(o,l,d,"↪","\\hookrightarrow",!0),n(o,l,d,"↘","\\searrow",!0),n(o,l,d,"↼","\\leftharpoonup",!0),n(o,l,d,"⇀","\\rightharpoonup",!0),n(o,l,d,"↙","\\swarrow",!0),n(o,l,d,"↽","\\leftharpoondown",!0),n(o,l,d,"⇁","\\rightharpoondown",!0),n(o,l,d,"↖","\\nwarrow",!0),n(o,l,d,"⇌","\\rightleftharpoons",!0),n(o,p,d,"≮","\\nless",!0),n(o,p,d,"","\\@nleqslant"),n(o,p,d,"","\\@nleqq"),n(o,p,d,"⪇","\\lneq",!0),n(o,p,d,"≨","\\lneqq",!0),n(o,p,d,"","\\@lvertneqq"),n(o,p,d,"⋦","\\lnsim",!0),n(o,p,d,"⪉","\\lnapprox",!0),n(o,p,d,"⊀","\\nprec",!0),n(o,p,d,"⋠","\\npreceq",!0),n(o,p,d,"⋨","\\precnsim",!0),n(o,p,d,"⪹","\\precnapprox",!0),n(o,p,d,"≁","\\nsim",!0),n(o,p,d,"","\\@nshortmid"),n(o,p,d,"∤","\\nmid",!0),n(o,p,d,"⊬","\\nvdash",!0),n(o,p,d,"⊭","\\nvDash",!0),n(o,p,d,"⋪","\\ntriangleleft"),n(o,p,d,"⋬","\\ntrianglelefteq",!0),n(o,p,d,"⊊","\\subsetneq",!0),n(o,p,d,"","\\@varsubsetneq"),n(o,p,d,"⫋","\\subsetneqq",!0),n(o,p,d,"","\\@varsubsetneqq"),n(o,p,d,"≯","\\ngtr",!0),n(o,p,d,"","\\@ngeqslant"),n(o,p,d,"","\\@ngeqq"),n(o,p,d,"⪈","\\gneq",!0),n(o,p,d,"≩","\\gneqq",!0),n(o,p,d,"","\\@gvertneqq"),n(o,p,d,"⋧","\\gnsim",!0),n(o,p,d,"⪊","\\gnapprox",!0),n(o,p,d,"⊁","\\nsucc",!0),n(o,p,d,"⋡","\\nsucceq",!0),n(o,p,d,"⋩","\\succnsim",!0),n(o,p,d,"⪺","\\succnapprox",!0),n(o,p,d,"≆","\\ncong",!0),n(o,p,d,"","\\@nshortparallel"),n(o,p,d,"∦","\\nparallel",!0),n(o,p,d,"⊯","\\nVDash",!0),n(o,p,d,"⋫","\\ntriangleright"),n(o,p,d,"⋭","\\ntrianglerighteq",!0),n(o,p,d,"","\\@nsupseteqq"),n(o,p,d,"⊋","\\supsetneq",!0),n(o,p,d,"","\\@varsupsetneq"),n(o,p,d,"⫌","\\supsetneqq",!0),n(o,p,d,"","\\@varsupsetneqq"),n(o,p,d,"⊮","\\nVdash",!0),n(o,p,d,"⪵","\\precneqq",!0),n(o,p,d,"⪶","\\succneqq",!0),n(o,p,d,"","\\@nsubseteqq"),n(o,p,E,"⊴","\\unlhd"),n(o,p,E,"⊵","\\unrhd"),n(o,p,d,"↚","\\nleftarrow",!0),n(o,p,d,"↛","\\nrightarrow",!0),n(o,p,d,"⇍","\\nLeftarrow",!0),n(o,p,d,"⇏","\\nRightarrow",!0),n(o,p,d,"↮","\\nleftrightarrow",!0),n(o,p,d,"⇎","\\nLeftrightarrow",!0),n(o,p,d,"△","\\vartriangle"),n(o,p,f,"ℏ","\\hslash"),n(o,p,f,"▽","\\triangledown"),n(o,p,f,"◊","\\lozenge"),n(o,p,f,"Ⓢ","\\circledS"),n(o,p,f,"®","\\circledR"),n(k,p,f,"®","\\circledR"),n(o,p,f,"∡","\\measuredangle",!0),n(o,p,f,"∄","\\nexists"),n(o,p,f,"℧","\\mho"),n(o,p,f,"Ⅎ","\\Finv",!0),n(o,p,f,"⅁","\\Game",!0),n(o,p,f,"‵","\\backprime"),n(o,p,f,"▲","\\blacktriangle"),n(o,p,f,"▼","\\blacktriangledown"),n(o,p,f,"■","\\blacksquare"),n(o,p,f,"⧫","\\blacklozenge"),n(o,p,f,"★","\\bigstar"),n(o,p,f,"∢","\\sphericalangle",!0),n(o,p,f,"∁","\\complement",!0),n(o,p,f,"ð","\\eth",!0),n(k,l,f,"ð","ð"),n(o,p,f,"╱","\\diagup"),n(o,p,f,"╲","\\diagdown"),n(o,p,f,"□","\\square"),n(o,p,f,"□","\\Box"),n(o,p,f,"◊","\\Diamond"),n(o,p,f,"¥","\\yen",!0),n(k,p,f,"¥","\\yen",!0),n(o,p,f,"✓","\\checkmark",!0),n(k,p,f,"✓","\\checkmark"),n(o,p,f,"ℶ","\\beth",!0),n(o,p,f,"ℸ","\\daleth",!0),n(o,p,f,"ℷ","\\gimel",!0),n(o,p,f,"ϝ","\\digamma",!0),n(o,p,f,"ϰ","\\varkappa"),n(o,p,l0,"┌","\\@ulcorner",!0),n(o,p,r0,"┐","\\@urcorner",!0),n(o,p,l0,"└","\\@llcorner",!0),n(o,p,r0,"┘","\\@lrcorner",!0),n(o,p,d,"≦","\\leqq",!0),n(o,p,d,"⩽","\\leqslant",!0),n(o,p,d,"⪕","\\eqslantless",!0),n(o,p,d,"≲","\\lesssim",!0),n(o,p,d,"⪅","\\lessapprox",!0),n(o,p,d,"≊","\\approxeq",!0),n(o,p,E,"⋖","\\lessdot"),n(o,p,d,"⋘","\\lll",!0),n(o,p,d,"≶","\\lessgtr",!0),n(o,p,d,"⋚","\\lesseqgtr",!0),n(o,p,d,"⪋","\\lesseqqgtr",!0),n(o,p,d,"≑","\\doteqdot"),n(o,p,d,"≓","\\risingdotseq",!0),n(o,p,d,"≒","\\fallingdotseq",!0),n(o,p,d,"∽","\\backsim",!0),n(o,p,d,"⋍","\\backsimeq",!0),n(o,p,d,"⫅","\\subseteqq",!0),n(o,p,d,"⋐","\\Subset",!0),n(o,p,d,"⊏","\\sqsubset",!0),n(o,p,d,"≼","\\preccurlyeq",!0),n(o,p,d,"⋞","\\curlyeqprec",!0),n(o,p,d,"≾","\\precsim",!0),n(o,p,d,"⪷","\\precapprox",!0),n(o,p,d,"⊲","\\vartriangleleft"),n(o,p,d,"⊴","\\trianglelefteq"),n(o,p,d,"⊨","\\vDash",!0),n(o,p,d,"⊪","\\Vvdash",!0),n(o,p,d,"⌣","\\smallsmile"),n(o,p,d,"⌢","\\smallfrown"),n(o,p,d,"≏","\\bumpeq",!0),n(o,p,d,"≎","\\Bumpeq",!0),n(o,p,d,"≧","\\geqq",!0),n(o,p,d,"⩾","\\geqslant",!0),n(o,p,d,"⪖","\\eqslantgtr",!0),n(o,p,d,"≳","\\gtrsim",!0),n(o,p,d,"⪆","\\gtrapprox",!0),n(o,p,E,"⋗","\\gtrdot"),n(o,p,d,"⋙","\\ggg",!0),n(o,p,d,"≷","\\gtrless",!0),n(o,p,d,"⋛","\\gtreqless",!0),n(o,p,d,"⪌","\\gtreqqless",!0),n(o,p,d,"≖","\\eqcirc",!0),n(o,p,d,"≗","\\circeq",!0),n(o,p,d,"≜","\\triangleq",!0),n(o,p,d,"∼","\\thicksim"),n(o,p,d,"≈","\\thickapprox"),n(o,p,d,"⫆","\\supseteqq",!0),n(o,p,d,"⋑","\\Supset",!0),n(o,p,d,"⊐","\\sqsupset",!0),n(o,p,d,"≽","\\succcurlyeq",!0),n(o,p,d,"⋟","\\curlyeqsucc",!0),n(o,p,d,"≿","\\succsim",!0),n(o,p,d,"⪸","\\succapprox",!0),n(o,p,d,"⊳","\\vartriangleright"),n(o,p,d,"⊵","\\trianglerighteq"),n(o,p,d,"⊩","\\Vdash",!0),n(o,p,d,"∣","\\shortmid"),n(o,p,d,"∥","\\shortparallel"),n(o,p,d,"≬","\\between",!0),n(o,p,d,"⋔","\\pitchfork",!0),n(o,p,d,"∝","\\varpropto"),n(o,p,d,"◀","\\blacktriangleleft"),n(o,p,d,"∴","\\therefore",!0),n(o,p,d,"∍","\\backepsilon"),n(o,p,d,"▶","\\blacktriangleright"),n(o,p,d,"∵","\\because",!0),n(o,p,d,"⋘","\\llless"),n(o,p,d,"⋙","\\gggtr"),n(o,p,E,"⊲","\\lhd"),n(o,p,E,"⊳","\\rhd"),n(o,p,d,"≂","\\eqsim",!0),n(o,l,d,"⋈","\\Join"),n(o,p,d,"≑","\\Doteq",!0),n(o,p,E,"∔","\\dotplus",!0),n(o,p,E,"∖","\\smallsetminus"),n(o,p,E,"⋒","\\Cap",!0),n(o,p,E,"⋓","\\Cup",!0),n(o,p,E,"⩞","\\doublebarwedge",!0),n(o,p,E,"⊟","\\boxminus",!0),n(o,p,E,"⊞","\\boxplus",!0),n(o,p,E,"⋇","\\divideontimes",!0),n(o,p,E,"⋉","\\ltimes",!0),n(o,p,E,"⋊","\\rtimes",!0),n(o,p,E,"⋋","\\leftthreetimes",!0),n(o,p,E,"⋌","\\rightthreetimes",!0),n(o,p,E,"⋏","\\curlywedge",!0),n(o,p,E,"⋎","\\curlyvee",!0),n(o,p,E,"⊝","\\circleddash",!0),n(o,p,E,"⊛","\\circledast",!0),n(o,p,E,"⋅","\\centerdot"),n(o,p,E,"⊺","\\intercal",!0),n(o,p,E,"⋒","\\doublecap"),n(o,p,E,"⋓","\\doublecup"),n(o,p,E,"⊠","\\boxtimes",!0),n(o,p,d,"⇢","\\dashrightarrow",!0),n(o,p,d,"⇠","\\dashleftarrow",!0),n(o,p,d,"⇇","\\leftleftarrows",!0),n(o,p,d,"⇆","\\leftrightarrows",!0),n(o,p,d,"⇚","\\Lleftarrow",!0),n(o,p,d,"↞","\\twoheadleftarrow",!0),n(o,p,d,"↢","\\leftarrowtail",!0),n(o,p,d,"↫","\\looparrowleft",!0),n(o,p,d,"⇋","\\leftrightharpoons",!0),n(o,p,d,"↶","\\curvearrowleft",!0),n(o,p,d,"↺","\\circlearrowleft",!0),n(o,p,d,"↰","\\Lsh",!0),n(o,p,d,"⇈","\\upuparrows",!0),n(o,p,d,"↿","\\upharpoonleft",!0),n(o,p,d,"⇃","\\downharpoonleft",!0),n(o,l,d,"⊶","\\origof",!0),n(o,l,d,"⊷","\\imageof",!0),n(o,p,d,"⊸","\\multimap",!0),n(o,p,d,"↭","\\leftrightsquigarrow",!0),n(o,p,d,"⇉","\\rightrightarrows",!0),n(o,p,d,"⇄","\\rightleftarrows",!0),n(o,p,d,"↠","\\twoheadrightarrow",!0),n(o,p,d,"↣","\\rightarrowtail",!0),n(o,p,d,"↬","\\looparrowright",!0),n(o,p,d,"↷","\\curvearrowright",!0),n(o,p,d,"↻","\\circlearrowright",!0),n(o,p,d,"↱","\\Rsh",!0),n(o,p,d,"⇊","\\downdownarrows",!0),n(o,p,d,"↾","\\upharpoonright",!0),n(o,p,d,"⇂","\\downharpoonright",!0),n(o,p,d,"⇝","\\rightsquigarrow",!0),n(o,p,d,"⇝","\\leadsto"),n(o,p,d,"⇛","\\Rrightarrow",!0),n(o,p,d,"↾","\\restriction"),n(o,l,f,"‘","`"),n(o,l,f,"$","\\$"),n(k,l,f,"$","\\$"),n(k,l,f,"$","\\textdollar"),n(o,l,f,"%","\\%"),n(k,l,f,"%","\\%"),n(o,l,f,"_","\\_"),n(k,l,f,"_","\\_"),n(k,l,f,"_","\\textunderscore"),n(o,l,f,"∠","\\angle",!0),n(o,l,f,"∞","\\infty",!0),n(o,l,f,"′","\\prime"),n(o,l,f,"△","\\triangle"),n(o,l,f,"Γ","\\Gamma",!0),n(o,l,f,"Δ","\\Delta",!0),n(o,l,f,"Θ","\\Theta",!0),n(o,l,f,"Λ","\\Lambda",!0),n(o,l,f,"Ξ","\\Xi",!0),n(o,l,f,"Π","\\Pi",!0),n(o,l,f,"Σ","\\Sigma",!0),n(o,l,f,"Υ","\\Upsilon",!0),n(o,l,f,"Φ","\\Phi",!0),n(o,l,f,"Ψ","\\Psi",!0),n(o,l,f,"Ω","\\Omega",!0),n(o,l,f,"A","Α"),n(o,l,f,"B","Β"),n(o,l,f,"E","Ε"),n(o,l,f,"Z","Ζ"),n(o,l,f,"H","Η"),n(o,l,f,"I","Ι"),n(o,l,f,"K","Κ"),n(o,l,f,"M","Μ"),n(o,l,f,"N","Ν"),n(o,l,f,"O","Ο"),n(o,l,f,"P","Ρ"),n(o,l,f,"T","Τ"),n(o,l,f,"X","Χ"),n(o,l,f,"¬","\\neg",!0),n(o,l,f,"¬","\\lnot"),n(o,l,f,"⊤","\\top"),n(o,l,f,"⊥","\\bot"),n(o,l,f,"∅","\\emptyset"),n(o,p,f,"∅","\\varnothing"),n(o,l,N,"α","\\alpha",!0),n(o,l,N,"β","\\beta",!0),n(o,l,N,"γ","\\gamma",!0),n(o,l,N,"δ","\\delta",!0),n(o,l,N,"ϵ","\\epsilon",!0),n(o,l,N,"ζ","\\zeta",!0),n(o,l,N,"η","\\eta",!0),n(o,l,N,"θ","\\theta",!0),n(o,l,N,"ι","\\iota",!0),n(o,l,N,"κ","\\kappa",!0),n(o,l,N,"λ","\\lambda",!0),n(o,l,N,"μ","\\mu",!0),n(o,l,N,"ν","\\nu",!0),n(o,l,N,"ξ","\\xi",!0),n(o,l,N,"ο","\\omicron",!0),n(o,l,N,"π","\\pi",!0),n(o,l,N,"ρ","\\rho",!0),n(o,l,N,"σ","\\sigma",!0),n(o,l,N,"τ","\\tau",!0),n(o,l,N,"υ","\\upsilon",!0),n(o,l,N,"ϕ","\\phi",!0),n(o,l,N,"χ","\\chi",!0),n(o,l,N,"ψ","\\psi",!0),n(o,l,N,"ω","\\omega",!0),n(o,l,N,"ε","\\varepsilon",!0),n(o,l,N,"ϑ","\\vartheta",!0),n(o,l,N,"ϖ","\\varpi",!0),n(o,l,N,"ϱ","\\varrho",!0),n(o,l,N,"ς","\\varsigma",!0),n(o,l,N,"φ","\\varphi",!0),n(o,l,E,"∗","*",!0),n(o,l,E,"+","+"),n(o,l,E,"−","-",!0),n(o,l,E,"⋅","\\cdot",!0),n(o,l,E,"∘","\\circ",!0),n(o,l,E,"÷","\\div",!0),n(o,l,E,"±","\\pm",!0),n(o,l,E,"×","\\times",!0),n(o,l,E,"∩","\\cap",!0),n(o,l,E,"∪","\\cup",!0),n(o,l,E,"∖","\\setminus",!0),n(o,l,E,"∧","\\land"),n(o,l,E,"∨","\\lor"),n(o,l,E,"∧","\\wedge",!0),n(o,l,E,"∨","\\vee",!0),n(o,l,f,"√","\\surd"),n(o,l,l0,"⟨","\\langle",!0),n(o,l,l0,"∣","\\lvert"),n(o,l,l0,"∥","\\lVert"),n(o,l,r0,"?","?"),n(o,l,r0,"!","!"),n(o,l,r0,"⟩","\\rangle",!0),n(o,l,r0,"∣","\\rvert"),n(o,l,r0,"∥","\\rVert"),n(o,l,d,"=","="),n(o,l,d,":",":"),n(o,l,d,"≈","\\approx",!0),n(o,l,d,"≅","\\cong",!0),n(o,l,d,"≥","\\ge"),n(o,l,d,"≥","\\geq",!0),n(o,l,d,"←","\\gets"),n(o,l,d,">","\\gt",!0),n(o,l,d,"∈","\\in",!0),n(o,l,d,"","\\@not"),n(o,l,d,"⊂","\\subset",!0),n(o,l,d,"⊃","\\supset",!0),n(o,l,d,"⊆","\\subseteq",!0),n(o,l,d,"⊇","\\supseteq",!0),n(o,p,d,"⊈","\\nsubseteq",!0),n(o,p,d,"⊉","\\nsupseteq",!0),n(o,l,d,"⊨","\\models"),n(o,l,d,"←","\\leftarrow",!0),n(o,l,d,"≤","\\le"),n(o,l,d,"≤","\\leq",!0),n(o,l,d,"<","\\lt",!0),n(o,l,d,"→","\\rightarrow",!0),n(o,l,d,"→","\\to"),n(o,p,d,"≱","\\ngeq",!0),n(o,p,d,"≰","\\nleq",!0),n(o,l,S0," ","\\ "),n(o,l,S0," ","\\space"),n(o,l,S0," ","\\nobreakspace"),n(k,l,S0," ","\\ "),n(k,l,S0," "," "),n(k,l,S0," ","\\space"),n(k,l,S0," ","\\nobreakspace"),n(o,l,S0,null,"\\nobreak"),n(o,l,S0,null,"\\allowbreak"),n(o,l,fe,",",","),n(o,l,fe,";",";"),n(o,p,E,"⊼","\\barwedge",!0),n(o,p,E,"⊻","\\veebar",!0),n(o,l,E,"⊙","\\odot",!0),n(o,l,E,"⊕","\\oplus",!0),n(o,l,E,"⊗","\\otimes",!0),n(o,l,f,"∂","\\partial",!0),n(o,l,E,"⊘","\\oslash",!0),n(o,p,E,"⊚","\\circledcirc",!0),n(o,p,E,"⊡","\\boxdot",!0),n(o,l,E,"△","\\bigtriangleup"),n(o,l,E,"▽","\\bigtriangledown"),n(o,l,E,"†","\\dagger"),n(o,l,E,"⋄","\\diamond"),n(o,l,E,"⋆","\\star"),n(o,l,E,"◃","\\triangleleft"),n(o,l,E,"▹","\\triangleright"),n(o,l,l0,"{","\\{"),n(k,l,f,"{","\\{"),n(k,l,f,"{","\\textbraceleft"),n(o,l,r0,"}","\\}"),n(k,l,f,"}","\\}"),n(k,l,f,"}","\\textbraceright"),n(o,l,l0,"{","\\lbrace"),n(o,l,r0,"}","\\rbrace"),n(o,l,l0,"[","\\lbrack",!0),n(k,l,f,"[","\\lbrack",!0),n(o,l,r0,"]","\\rbrack",!0),n(k,l,f,"]","\\rbrack",!0),n(o,l,l0,"(","\\lparen",!0),n(o,l,r0,")","\\rparen",!0),n(k,l,f,"<","\\textless",!0),n(k,l,f,">","\\textgreater",!0),n(o,l,l0,"⌊","\\lfloor",!0),n(o,l,r0,"⌋","\\rfloor",!0),n(o,l,l0,"⌈","\\lceil",!0),n(o,l,r0,"⌉","\\rceil",!0),n(o,l,f,"\\","\\backslash"),n(o,l,f,"∣","|"),n(o,l,f,"∣","\\vert"),n(k,l,f,"|","\\textbar",!0),n(o,l,f,"∥","\\|"),n(o,l,f,"∥","\\Vert"),n(k,l,f,"∥","\\textbardbl"),n(k,l,f,"~","\\textasciitilde"),n(k,l,f,"\\","\\textbackslash"),n(k,l,f,"^","\\textasciicircum"),n(o,l,d,"↑","\\uparrow",!0),n(o,l,d,"⇑","\\Uparrow",!0),n(o,l,d,"↓","\\downarrow",!0),n(o,l,d,"⇓","\\Downarrow",!0),n(o,l,d,"↕","\\updownarrow",!0),n(o,l,d,"⇕","\\Updownarrow",!0),n(o,l,Q,"∐","\\coprod"),n(o,l,Q,"⋁","\\bigvee"),n(o,l,Q,"⋀","\\bigwedge"),n(o,l,Q,"⨄","\\biguplus"),n(o,l,Q,"⋂","\\bigcap"),n(o,l,Q,"⋃","\\bigcup"),n(o,l,Q,"∫","\\int"),n(o,l,Q,"∫","\\intop"),n(o,l,Q,"∬","\\iint"),n(o,l,Q,"∭","\\iiint"),n(o,l,Q,"∏","\\prod"),n(o,l,Q,"∑","\\sum"),n(o,l,Q,"⨂","\\bigotimes"),n(o,l,Q,"⨁","\\bigoplus"),n(o,l,Q,"⨀","\\bigodot"),n(o,l,Q,"∮","\\oint"),n(o,l,Q,"∯","\\oiint"),n(o,l,Q,"∰","\\oiiint"),n(o,l,Q,"⨆","\\bigsqcup"),n(o,l,Q,"∫","\\smallint"),n(k,l,Q0,"…","\\textellipsis"),n(o,l,Q0,"…","\\mathellipsis"),n(k,l,Q0,"…","\\ldots",!0),n(o,l,Q0,"…","\\ldots",!0),n(o,l,Q0,"⋯","\\@cdots",!0),n(o,l,Q0,"⋱","\\ddots",!0),n(o,l,f,"⋮","\\varvdots"),n(o,l,$,"ˊ","\\acute"),n(o,l,$,"ˋ","\\grave"),n(o,l,$,"¨","\\ddot"),n(o,l,$,"~","\\tilde"),n(o,l,$,"ˉ","\\bar"),n(o,l,$,"˘","\\breve"),n(o,l,$,"ˇ","\\check"),n(o,l,$,"^","\\hat"),n(o,l,$,"⃗","\\vec"),n(o,l,$,"˙","\\dot"),n(o,l,$,"˚","\\mathring"),n(o,l,N,"","\\@imath"),n(o,l,N,"","\\@jmath"),n(o,l,f,"ı","ı"),n(o,l,f,"ȷ","ȷ"),n(k,l,f,"ı","\\i",!0),n(k,l,f,"ȷ","\\j",!0),n(k,l,f,"ß","\\ss",!0),n(k,l,f,"æ","\\ae",!0),n(k,l,f,"œ","\\oe",!0),n(k,l,f,"ø","\\o",!0),n(k,l,f,"Æ","\\AE",!0),n(k,l,f,"Œ","\\OE",!0),n(k,l,f,"Ø","\\O",!0),n(k,l,$,"ˊ","\\'"),n(k,l,$,"ˋ","\\`"),n(k,l,$,"ˆ","\\^"),n(k,l,$,"˜","\\~"),n(k,l,$,"ˉ","\\="),n(k,l,$,"˘","\\u"),n(k,l,$,"˙","\\."),n(k,l,$,"¸","\\c"),n(k,l,$,"˚","\\r"),n(k,l,$,"ˇ","\\v"),n(k,l,$,"¨",'\\"'),n(k,l,$,"˝","\\H"),n(k,l,$,"◯","\\textcircled");var D1={"--":!0,"---":!0,"``":!0,"''":!0};n(k,l,f,"–","--",!0),n(k,l,f,"–","\\textendash"),n(k,l,f,"—","---",!0),n(k,l,f,"—","\\textemdash"),n(k,l,f,"‘","`",!0),n(k,l,f,"‘","\\textquoteleft"),n(k,l,f,"’","'",!0),n(k,l,f,"’","\\textquoteright"),n(k,l,f,"“","``",!0),n(k,l,f,"“","\\textquotedblleft"),n(k,l,f,"”","''",!0),n(k,l,f,"”","\\textquotedblright"),n(o,l,f,"°","\\degree",!0),n(k,l,f,"°","\\degree"),n(k,l,f,"°","\\textdegree",!0),n(o,l,f,"£","\\pounds"),n(o,l,f,"£","\\mathsterling",!0),n(k,l,f,"£","\\pounds"),n(k,l,f,"£","\\textsterling",!0),n(o,p,f,"✠","\\maltese"),n(k,p,f,"✠","\\maltese");for(var Lt='0123456789/@."',Ue=0;Ue<Lt.length;Ue++){var Vt=Lt.charAt(Ue);n(o,l,f,Vt,Vt)}for(var Pt='0123456789!@*()-=+";:?/.,',Xe=0;Xe<Pt.length;Xe++){var Gt=Pt.charAt(Xe);n(k,l,f,Gt,Gt)}for(var De="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",We=0;We<De.length;We++){var ve=De.charAt(We);n(o,l,N,ve,ve),n(k,l,f,ve,ve)}n(o,p,f,"C","ℂ"),n(k,p,f,"C","ℂ"),n(o,p,f,"H","ℍ"),n(k,p,f,"H","ℍ"),n(o,p,f,"N","ℕ"),n(k,p,f,"N","ℕ"),n(o,p,f,"P","ℙ"),n(k,p,f,"P","ℙ"),n(o,p,f,"Q","ℚ"),n(k,p,f,"Q","ℚ"),n(o,p,f,"R","ℝ"),n(k,p,f,"R","ℝ"),n(o,p,f,"Z","ℤ"),n(k,p,f,"Z","ℤ"),n(o,l,N,"h","ℎ"),n(k,l,N,"h","ℎ");for(var H="",a0=0;a0<De.length;a0++){var Z=De.charAt(a0);H=String.fromCharCode(55349,56320+a0),n(o,l,N,Z,H),n(k,l,f,Z,H),H=String.fromCharCode(55349,56372+a0),n(o,l,N,Z,H),n(k,l,f,Z,H),H=String.fromCharCode(55349,56424+a0),n(o,l,N,Z,H),n(k,l,f,Z,H),H=String.fromCharCode(55349,56580+a0),n(o,l,N,Z,H),n(k,l,f,Z,H),H=String.fromCharCode(55349,56684+a0),n(o,l,N,Z,H),n(k,l,f,Z,H),H=String.fromCharCode(55349,56736+a0),n(o,l,N,Z,H),n(k,l,f,Z,H),H=String.fromCharCode(55349,56788+a0),n(o,l,N,Z,H),n(k,l,f,Z,H),H=String.fromCharCode(55349,56840+a0),n(o,l,N,Z,H),n(k,l,f,Z,H),H=String.fromCharCode(55349,56944+a0),n(o,l,N,Z,H),n(k,l,f,Z,H),a0<26&&(H=String.fromCharCode(55349,56632+a0),n(o,l,N,Z,H),n(k,l,f,Z,H),H=String.fromCharCode(55349,56476+a0),n(o,l,N,Z,H),n(k,l,f,Z,H))}H="𝕜",n(o,l,N,"k",H),n(k,l,f,"k",H);for(var U0=0;U0<10;U0++){var H0=U0.toString();H=String.fromCharCode(55349,57294+U0),n(o,l,N,H0,H),n(k,l,f,H0,H),H=String.fromCharCode(55349,57314+U0),n(o,l,N,H0,H),n(k,l,f,H0,H),H=String.fromCharCode(55349,57324+U0),n(o,l,N,H0,H),n(k,l,f,H0,H),H=String.fromCharCode(55349,57334+U0),n(o,l,N,H0,H),n(k,l,f,H0,H)}for(var mt="ÐÞþ",Ye=0;Ye<mt.length;Ye++){var be=mt.charAt(Ye);n(o,l,N,be,be),n(k,l,f,be,be)}var ye=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathnormal","textit","Math-Italic"],["mathnormal","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],Ut=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],jr=function(t,e){var r=t.charCodeAt(0),a=t.charCodeAt(1),i=(r-55296)*1024+(a-56320)+65536,s=e==="math"?0:1;if(119808<=i&&i<120484){var u=Math.floor((i-119808)/26);return[ye[u][2],ye[u][s]]}else if(120782<=i&&i<=120831){var h=Math.floor((i-120782)/10);return[Ut[h][2],Ut[h][s]]}else{if(i===120485||i===120486)return[ye[0][2],ye[0][s]];if(120486<i&&i<120782)return["",""];throw new S("Unsupported character: "+t)}},He=function(t,e,r){return Y[r][t]&&Y[r][t].replace&&(t=Y[r][t].replace),{value:t,metrics:St(t,e,r)}},v0=function(t,e,r,a,i){var s=He(t,e,r),u=s.metrics;t=s.value;var h;if(u){var c=u.italic;(r==="text"||a&&a.font==="mathit")&&(c=0),h=new g0(t,u.height,u.depth,c,u.skew,u.width,i)}else typeof console<"u"&&console.warn("No character metrics "+("for '"+t+"' in style '"+e+"' and mode '"+r+"'")),h=new g0(t,0,0,0,0,0,i);if(a){h.maxFontSize=a.sizeMultiplier,a.style.isTight()&&h.classes.push("mtight");var g=a.getColor();g&&(h.style.color=g)}return h},Zr=function(t,e,r,a){return a===void 0&&(a=[]),r.font==="boldsymbol"&&He(t,"Main-Bold",e).metrics?v0(t,"Main-Bold",e,r,a.concat(["mathbf"])):t==="\\"||Y[e][t].font==="main"?v0(t,"Main-Regular",e,r,a):v0(t,"AMS-Regular",e,r,a.concat(["amsrm"]))},Kr=function(t,e,r,a,i){return i!=="textord"&&He(t,"Math-BoldItalic",e).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},Qr=function(t,e,r){var a=t.mode,i=t.text,s=["mord"],u=a==="math"||a==="text"&&e.font,h=u?e.font:e.fontFamily,c="",g="";if(i.charCodeAt(0)===55349&&([c,g]=jr(i,a)),c.length>0)return v0(i,c,a,e,s.concat(g));if(h){var v,y;if(h==="boldsymbol"){var x=Kr(i,a,e,s,r);v=x.fontName,y=[x.fontClass]}else u?(v=N1[h].fontName,y=[h]):(v=xe(h,e.fontWeight,e.fontShape),y=[h,e.fontWeight,e.fontShape]);if(He(i,v,a).metrics)return v0(i,v,a,e,s.concat(y));if(D1.hasOwnProperty(i)&&v.slice(0,10)==="Typewriter"){for(var w=[],B=0;B<i.length;B++)w.push(v0(i[B],v,a,e,s.concat(y)));return q1(w)}}if(r==="mathord")return v0(i,"Math-Italic",a,e,s.concat(["mathnormal"]));if(r==="textord"){var z=Y[a][i]&&Y[a][i].font;if(z==="ams"){var T=xe("amsrm",e.fontWeight,e.fontShape);return v0(i,T,a,e,s.concat("amsrm",e.fontWeight,e.fontShape))}else if(z==="main"||!z){var D=xe("textrm",e.fontWeight,e.fontShape);return v0(i,D,a,e,s.concat(e.fontWeight,e.fontShape))}else{var q=xe(z,e.fontWeight,e.fontShape);return v0(i,q,a,e,s.concat(q,e.fontWeight,e.fontShape))}}else throw new Error("unexpected type: "+r+" in makeOrd")},Jr=(t,e)=>{if(V0(t.classes)!==V0(e.classes)||t.skew!==e.skew||t.maxFontSize!==e.maxFontSize)return!1;if(t.classes.length===1){var r=t.classes[0];if(r==="mbin"||r==="mord")return!1}for(var a in t.style)if(t.style.hasOwnProperty(a)&&t.style[a]!==e.style[a])return!1;for(var i in e.style)if(e.style.hasOwnProperty(i)&&t.style[i]!==e.style[i])return!1;return!0},ea=t=>{for(var e=0;e<t.length-1;e++){var r=t[e],a=t[e+1];r instanceof g0&&a instanceof g0&&Jr(r,a)&&(r.text+=a.text,r.height=Math.max(r.height,a.height),r.depth=Math.max(r.depth,a.depth),r.italic=a.italic,t.splice(e+1,1),e--)}return t},Bt=function(t){for(var e=0,r=0,a=0,i=0;i<t.children.length;i++){var s=t.children[i];s.height>e&&(e=s.height),s.depth>r&&(r=s.depth),s.maxFontSize>a&&(a=s.maxFontSize)}t.height=e,t.depth=r,t.maxFontSize=a},o0=function(t,e,r,a){var i=new he(t,e,r,a);return Bt(i),i},F1=(t,e,r,a)=>new he(t,e,r,a),ta=function(t,e,r){var a=o0([t],[],e);return a.height=Math.max(r||e.fontMetrics().defaultRuleThickness,e.minRuleThickness),a.style.borderBottomWidth=M(a.height),a.maxFontSize=1,a},ra=function(t,e,r,a){var i=new Mt(t,e,r,a);return Bt(i),i},q1=function(t){var e=new ue(t);return Bt(e),e},aa=function(t,e){return t instanceof ue?o0([],[t],e):t},ia=function(t){if(t.positionType==="individualShift"){for(var e=t.children,r=[e[0]],a=-e[0].shift-e[0].elem.depth,i=a,s=1;s<e.length;s++){var u=-e[s].shift-i-e[s].elem.depth,h=u-(e[s-1].elem.height+e[s-1].elem.depth);i=i+u,r.push({type:"kern",size:h}),r.push(e[s])}return{children:r,depth:a}}var c;if(t.positionType==="top"){for(var g=t.positionData,v=0;v<t.children.length;v++){var y=t.children[v];g-=y.type==="kern"?y.size:y.elem.height+y.elem.depth}c=g}else if(t.positionType==="bottom")c=-t.positionData;else{var x=t.children[0];if(x.type!=="elem")throw new Error('First child must have type "elem".');if(t.positionType==="shift")c=-x.elem.depth-t.positionData;else if(t.positionType==="firstBaseline")c=-x.elem.depth;else throw new Error("Invalid positionType "+t.positionType+".")}return{children:t.children,depth:c}},na=function(t,e){for(var{children:r,depth:a}=ia(t),i=0,s=0;s<r.length;s++){var u=r[s];if(u.type==="elem"){var h=u.elem;i=Math.max(i,h.maxFontSize,h.height)}}i+=2;var c=o0(["pstrut"],[]);c.style.height=M(i);for(var g=[],v=a,y=a,x=a,w=0;w<r.length;w++){var B=r[w];if(B.type==="kern")x+=B.size;else{var z=B.elem,T=B.wrapperClasses||[],D=B.wrapperStyle||{},q=o0(T,[c,z],void 0,D);q.style.top=M(-i-x-z.depth),B.marginLeft&&(q.style.marginLeft=B.marginLeft),B.marginRight&&(q.style.marginRight=B.marginRight),g.push(q),x+=z.height+z.depth}v=Math.min(v,x),y=Math.max(y,x)}var U=o0(["vlist"],g);U.style.height=M(y);var I;if(v<0){var P=o0([],[]),L=o0(["vlist"],[P]);L.style.height=M(-v);var G=o0(["vlist-s"],[new g0("")]);I=[o0(["vlist-r"],[U,G]),o0(["vlist-r"],[L])]}else I=[o0(["vlist-r"],[U])];var X=o0(["vlist-t"],I);return I.length===2&&X.classes.push("vlist-t2"),X.height=y,X.depth=-v,X},oa=(t,e)=>{var r=o0(["mspace"],[],e),a=j(t,e);return r.style.marginRight=M(a),r},xe=function(t,e,r){var a="";switch(t){case"amsrm":a="AMS";break;case"textrm":a="Main";break;case"textsf":a="SansSerif";break;case"texttt":a="Typewriter";break;default:a=t}var i;return e==="textbf"&&r==="textit"?i="BoldItalic":e==="textbf"?i="Bold":e==="textit"?i="Italic":i="Regular",a+"-"+i},N1={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},R1={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},sa=function(t,e){var[r,a,i]=R1[t],s=new P0(r),u=new E0([s],{width:M(a),height:M(i),style:"width:"+M(a),viewBox:"0 0 "+1e3*a+" "+1e3*i,preserveAspectRatio:"xMinYMin"}),h=F1(["overlay"],[u],e);return h.height=i,h.style.height=M(i),h.style.width=M(a),h},b={fontMap:N1,makeSymbol:v0,mathsym:Zr,makeSpan:o0,makeSvgSpan:F1,makeLineSpan:ta,makeAnchor:ra,makeFragment:q1,wrapFragment:aa,makeVList:na,makeOrd:Qr,makeGlue:oa,staticSvg:sa,svgData:R1,tryCombineChars:ea},_={number:3,unit:"mu"},X0={number:4,unit:"mu"},M0={number:5,unit:"mu"},la={mord:{mop:_,mbin:X0,mrel:M0,minner:_},mop:{mord:_,mop:_,mrel:M0,minner:_},mbin:{mord:X0,mop:X0,mopen:X0,minner:X0},mrel:{mord:M0,mop:M0,mopen:M0,minner:M0},mopen:{},mclose:{mop:_,mbin:X0,mrel:M0,minner:_},mpunct:{mord:_,mop:_,mrel:M0,mopen:_,mclose:_,mpunct:_,minner:_},minner:{mord:_,mop:_,mbin:X0,mrel:M0,mopen:_,mpunct:_,minner:_}},ua={mord:{mop:_},mop:{mord:_,mop:_},mbin:{},mrel:{},mopen:{},mclose:{mop:_},mpunct:{},minner:{mop:_}},H1={},Fe={},qe={};function C(t){for(var{type:e,names:r,props:a,handler:i,htmlBuilder:s,mathmlBuilder:u}=t,h={type:e,numArgs:a.numArgs,argTypes:a.argTypes,allowedInArgument:!!a.allowedInArgument,allowedInText:!!a.allowedInText,allowedInMath:a.allowedInMath===void 0?!0:a.allowedInMath,numOptionalArgs:a.numOptionalArgs||0,infix:!!a.infix,primitive:!!a.primitive,handler:i},c=0;c<r.length;++c)H1[r[c]]=h;e&&(s&&(Fe[e]=s),u&&(qe[e]=u))}function W0(t){var{type:e,htmlBuilder:r,mathmlBuilder:a}=t;C({type:e,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:r,mathmlBuilder:a})}var Ne=function(t){return t.type==="ordgroup"&&t.body.length===1?t.body[0]:t},K=function(t){return t.type==="ordgroup"?t.body:[t]},T0=b.makeSpan,ha=["leftmost","mbin","mopen","mrel","mop","mpunct"],ma=["rightmost","mrel","mclose","mpunct"],ca={display:R.DISPLAY,text:R.TEXT,script:R.SCRIPT,scriptscript:R.SCRIPTSCRIPT},pa={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},e0=function(t,e,r,a){a===void 0&&(a=[null,null]);for(var i=[],s=0;s<t.length;s++){var u=V(t[s],e);if(u instanceof ue){var h=u.children;i.push(...h)}else i.push(u)}if(b.tryCombineChars(i),!r)return i;var c=e;if(t.length===1){var g=t[0];g.type==="sizing"?c=e.havingSize(g.size):g.type==="styling"&&(c=e.havingStyle(ca[g.style]))}var v=T0([a[0]||"leftmost"],[],e),y=T0([a[1]||"rightmost"],[],e),x=r==="root";return Xt(i,(w,B)=>{var z=B.classes[0],T=w.classes[0];z==="mbin"&&F.contains(ma,T)?B.classes[0]="mord":T==="mbin"&&F.contains(ha,z)&&(w.classes[0]="mord")},{node:v},y,x),Xt(i,(w,B)=>{var z=ct(B),T=ct(w),D=z&&T?w.hasClass("mtight")?ua[z][T]:la[z][T]:null;if(D)return b.makeGlue(D,c)},{node:v},y,x),i},Xt=function t(e,r,a,i,s){i&&e.push(i);for(var u=0;u<e.length;u++){var h=e[u],c=O1(h);if(c){t(c.children,r,a,null,s);continue}var g=!h.hasClass("mspace");if(g){var v=r(h,a.node);v&&(a.insertAfter?a.insertAfter(v):(e.unshift(v),u++))}g?a.node=h:s&&h.hasClass("newline")&&(a.node=T0(["leftmost"])),a.insertAfter=(y=>x=>{e.splice(y+1,0,x),u++})(u)}i&&e.pop()},O1=function(t){return t instanceof ue||t instanceof Mt||t instanceof he&&t.hasClass("enclosing")?t:null},da=function t(e,r){var a=O1(e);if(a){var i=a.children;if(i.length){if(r==="right")return t(i[i.length-1],"right");if(r==="left")return t(i[0],"left")}}return e},ct=function(t,e){return t?(e&&(t=da(t,e)),pa[t.classes[0]]||null):null},ie=function(t,e){var r=["nulldelimiter"].concat(t.baseSizingClasses());return T0(e.concat(r))},V=function(t,e,r){if(!t)return T0();if(Fe[t.type]){var a=Fe[t.type](t,e);if(r&&e.size!==r.size){a=T0(e.sizingClasses(r),[a],e);var i=e.sizeMultiplier/r.sizeMultiplier;a.height*=i,a.depth*=i}return a}else throw new S("Got group of unknown type: '"+t.type+"'")};function we(t,e){var r=T0(["base"],t,e),a=T0(["strut"]);return a.style.height=M(r.height+r.depth),r.depth&&(a.style.verticalAlign=M(-r.depth)),r.children.unshift(a),r}function pt(t,e){var r=null;t.length===1&&t[0].type==="tag"&&(r=t[0].tag,t=t[0].body);var a=e0(t,e,"root"),i;a.length===2&&a[1].hasClass("tag")&&(i=a.pop());for(var s=[],u=[],h=0;h<a.length;h++)if(u.push(a[h]),a[h].hasClass("mbin")||a[h].hasClass("mrel")||a[h].hasClass("allowbreak")){for(var c=!1;h<a.length-1&&a[h+1].hasClass("mspace")&&!a[h+1].hasClass("newline");)h++,u.push(a[h]),a[h].hasClass("nobreak")&&(c=!0);c||(s.push(we(u,e)),u=[])}else a[h].hasClass("newline")&&(u.pop(),u.length>0&&(s.push(we(u,e)),u=[]),s.push(a[h]));u.length>0&&s.push(we(u,e));var g;r?(g=we(e0(r,e,!0)),g.classes=["tag"],s.push(g)):i&&s.push(i);var v=T0(["katex-html"],s);if(v.setAttribute("aria-hidden","true"),g){var y=g.children[0];y.style.height=M(v.height+v.depth),v.depth&&(y.style.verticalAlign=M(-v.depth))}return v}function I1(t){return new ue(t)}class m0{constructor(e,r,a){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=e,this.attributes={},this.children=r||[],this.classes=a||[]}setAttribute(e,r){this.attributes[e]=r}getAttribute(e){return this.attributes[e]}toNode(){var e=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&e.setAttribute(r,this.attributes[r]);this.classes.length>0&&(e.className=V0(this.classes));for(var a=0;a<this.children.length;a++)e.appendChild(this.children[a].toNode());return e}toMarkup(){var e="<"+this.type;for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&(e+=" "+r+'="',e+=F.escape(this.attributes[r]),e+='"');this.classes.length>0&&(e+=' class ="'+F.escape(V0(this.classes))+'"'),e+=">";for(var a=0;a<this.children.length;a++)e+=this.children[a].toMarkup();return e+="</"+this.type+">",e}toText(){return this.children.map(e=>e.toText()).join("")}}class ne{constructor(e){this.text=void 0,this.text=e}toNode(){return document.createTextNode(this.text)}toMarkup(){return F.escape(this.toText())}toText(){return this.text}}class ga{constructor(e){this.width=void 0,this.character=void 0,this.width=e,e>=.05555&&e<=.05556?this.character=" ":e>=.1666&&e<=.1667?this.character=" ":e>=.2222&&e<=.2223?this.character=" ":e>=.2777&&e<=.2778?this.character=" ":e>=-.05556&&e<=-.05555?this.character=" ":e>=-.1667&&e<=-.1666?this.character=" ":e>=-.2223&&e<=-.2222?this.character=" ":e>=-.2778&&e<=-.2777?this.character=" ":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var e=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return e.setAttribute("width",M(this.width)),e}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+M(this.width)+'"/>'}toText(){return this.character?this.character:" "}}var A={MathNode:m0,TextNode:ne,SpaceNode:ga,newDocumentFragment:I1},p0=function(t,e,r){return Y[e][t]&&Y[e][t].replace&&t.charCodeAt(0)!==55349&&!(D1.hasOwnProperty(t)&&r&&(r.fontFamily&&r.fontFamily.slice(4,6)==="tt"||r.font&&r.font.slice(4,6)==="tt"))&&(t=Y[e][t].replace),new A.TextNode(t)},zt=function(t){return t.length===1?t[0]:new A.MathNode("mrow",t)},dt=function(t,e){if(e.fontFamily==="texttt")return"monospace";if(e.fontFamily==="textsf")return e.fontShape==="textit"&&e.fontWeight==="textbf"?"sans-serif-bold-italic":e.fontShape==="textit"?"sans-serif-italic":e.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(e.fontShape==="textit"&&e.fontWeight==="textbf")return"bold-italic";if(e.fontShape==="textit")return"italic";if(e.fontWeight==="textbf")return"bold";var r=e.font;if(!r||r==="mathnormal")return null;var a=t.mode;if(r==="mathit")return"italic";if(r==="boldsymbol")return t.type==="textord"?"bold":"bold-italic";if(r==="mathbf")return"bold";if(r==="mathbb")return"double-struck";if(r==="mathfrak")return"fraktur";if(r==="mathscr"||r==="mathcal")return"script";if(r==="mathsf")return"sans-serif";if(r==="mathtt")return"monospace";var i=t.text;if(F.contains(["\\imath","\\jmath"],i))return null;Y[a][i]&&Y[a][i].replace&&(i=Y[a][i].replace);var s=b.fontMap[r].fontName;return St(i,s,a)?b.fontMap[r].variant:null},s0=function(t,e,r){if(t.length===1){var a=W(t[0],e);return r&&a instanceof m0&&a.type==="mo"&&(a.setAttribute("lspace","0em"),a.setAttribute("rspace","0em")),[a]}for(var i=[],s,u=0;u<t.length;u++){var h=W(t[u],e);if(h instanceof m0&&s instanceof m0){if(h.type==="mtext"&&s.type==="mtext"&&h.getAttribute("mathvariant")===s.getAttribute("mathvariant")){s.children.push(...h.children);continue}else if(h.type==="mn"&&s.type==="mn"){s.children.push(...h.children);continue}else if(h.type==="mi"&&h.children.length===1&&s.type==="mn"){var c=h.children[0];if(c instanceof ne&&c.text==="."){s.children.push(...h.children);continue}}else if(s.type==="mi"&&s.children.length===1){var g=s.children[0];if(g instanceof ne&&g.text==="̸"&&(h.type==="mo"||h.type==="mi"||h.type==="mn")){var v=h.children[0];v instanceof ne&&v.text.length>0&&(v.text=v.text.slice(0,1)+"̸"+v.text.slice(1),i.pop())}}}i.push(h),s=h}return i},L0=function(t,e,r){return zt(s0(t,e,r))},W=function(t,e){if(!t)return new A.MathNode("mrow");if(qe[t.type]){var r=qe[t.type](t,e);return r}else throw new S("Got group of unknown type: '"+t.type+"'")};function Wt(t,e,r,a,i){var s=s0(t,r),u;s.length===1&&s[0]instanceof m0&&F.contains(["mrow","mtable"],s[0].type)?u=s[0]:u=new A.MathNode("mrow",s);var h=new A.MathNode("annotation",[new A.TextNode(e)]);h.setAttribute("encoding","application/x-tex");var c=new A.MathNode("semantics",[u,h]),g=new A.MathNode("math",[c]);g.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),a&&g.setAttribute("display","block");var v=i?"katex":"katex-mathml";return b.makeSpan([v],[g])}var L1=function(t){return new B0({style:t.displayMode?R.DISPLAY:R.TEXT,maxSize:t.maxSize,minRuleThickness:t.minRuleThickness})},V1=function(t,e){if(e.displayMode){var r=["katex-display"];e.leqno&&r.push("leqno"),e.fleqn&&r.push("fleqn"),t=b.makeSpan(r,[t])}return t},fa=function(t,e,r){var a=L1(r),i;if(r.output==="mathml")return Wt(t,e,a,r.displayMode,!0);if(r.output==="html"){var s=pt(t,a);i=b.makeSpan(["katex"],[s])}else{var u=Wt(t,e,a,r.displayMode,!1),h=pt(t,a);i=b.makeSpan(["katex"],[u,h])}return V1(i,r)},va=function(t,e,r){var a=L1(r),i=pt(t,a),s=b.makeSpan(["katex"],[i]);return V1(s,r)},ba={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋","\\cdrightarrow":"→","\\cdleftarrow":"←","\\cdlongequal":"="},ya=function(t){var e=new A.MathNode("mo",[new A.TextNode(ba[t.replace(/^\\/,"")])]);return e.setAttribute("stretchy","true"),e},xa={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},wa=function(t){return t.type==="ordgroup"?t.body.length:1},ka=function(t,e){function r(){var u=4e5,h=t.label.slice(1);if(F.contains(["widehat","widecheck","widetilde","utilde"],h)){var c=t,g=wa(c.base),v,y,x;if(g>5)h==="widehat"||h==="widecheck"?(v=420,u=2364,x=.42,y=h+"4"):(v=312,u=2340,x=.34,y="tilde4");else{var w=[1,1,2,2,3,3][g];h==="widehat"||h==="widecheck"?(u=[0,1062,2364,2364,2364][w],v=[0,239,300,360,420][w],x=[0,.24,.3,.3,.36,.42][w],y=h+w):(u=[0,600,1033,2339,2340][w],v=[0,260,286,306,312][w],x=[0,.26,.286,.3,.306,.34][w],y="tilde"+w)}var B=new P0(y),z=new E0([B],{width:"100%",height:M(x),viewBox:"0 0 "+u+" "+v,preserveAspectRatio:"none"});return{span:b.makeSvgSpan([],[z],e),minWidth:0,height:x}}else{var T=[],D=xa[h],[q,U,I]=D,P=I/1e3,L=q.length,G,X;if(L===1){var A0=D[3];G=["hide-tail"],X=[A0]}else if(L===2)G=["halfarrow-left","halfarrow-right"],X=["xMinYMin","xMaxYMin"];else if(L===3)G=["brace-left","brace-center","brace-right"],X=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error("Correct katexImagesData or update code here to support\n "+L+" children.");for(var t0=0;t0<L;t0++){var J=new P0(q[t0]),G0=new E0([J],{width:"400em",height:M(P),viewBox:"0 0 "+u+" "+I,preserveAspectRatio:X[t0]+" slice"}),n0=b.makeSvgSpan([G[t0]],[G0],e);if(L===1)return{span:n0,minWidth:U,height:P};n0.style.height=M(P),T.push(n0)}return{span:b.makeSpan(["stretchy"],T,e),minWidth:U,height:P}}}var{span:a,minWidth:i,height:s}=r();return a.height=s,a.style.height=M(s),i>0&&(a.style.minWidth=M(i)),a},Aa=function(t,e,r,a,i){var s,u=t.height+t.depth+r+a;if(/fbox|color|angl/.test(e)){if(s=b.makeSpan(["stretchy",e],[],i),e==="fbox"){var h=i.color&&i.getColor();h&&(s.style.borderColor=h)}}else{var c=[];/^[bx]cancel$/.test(e)&&c.push(new ht({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(e)&&c.push(new ht({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var g=new E0(c,{width:"100%",height:M(u)});s=b.makeSvgSpan([],[g],i)}return s.height=u,s.style.height=M(u),s},D0={encloseSpan:Aa,mathMLnode:ya,svgSpan:ka};function O(t,e){if(!t||t.type!==e)throw new Error("Expected node of type "+e+", but got "+(t?"node of type "+t.type:String(t)));return t}function gt(t){var e=Re(t);if(!e)throw new Error("Expected node of symbol group type, but got "+(t?"node of type "+t.type:String(t)));return e}function Re(t){return t&&(t.type==="atom"||_r.hasOwnProperty(t.type))?t:null}var ft=(t,e)=>{var r,a,i;t&&t.type==="supsub"?(a=O(t.base,"accent"),r=a.base,t.base=r,i=Yr(V(t,e)),t.base=a):(a=O(t,"accent"),r=a.base);var s=V(r,e.havingCrampedStyle()),u=a.isShifty&&F.isCharacterBox(r),h=0;if(u){var c=F.getBaseElem(r),g=V(c,e.havingCrampedStyle());h=It(g).skew}var v=a.label==="\\c",y=v?s.height+s.depth:Math.min(s.height,e.fontMetrics().xHeight),x;if(a.isStretchy)x=D0.svgSpan(a,e),x=b.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"elem",elem:x,wrapperClasses:["svg-align"],wrapperStyle:h>0?{width:"calc(100% - "+M(2*h)+")",marginLeft:M(2*h)}:void 0}]},e);else{var w,B;a.label==="\\vec"?(w=b.staticSvg("vec",e),B=b.svgData.vec[1]):(w=b.makeOrd({mode:a.mode,text:a.label},e,"textord"),w=It(w),w.italic=0,B=w.width,v&&(y+=w.depth)),x=b.makeSpan(["accent-body"],[w]);var z=a.label==="\\textcircled";z&&(x.classes.push("accent-full"),y=s.height);var T=h;z||(T-=B/2),x.style.left=M(T),a.label==="\\textcircled"&&(x.style.top=".2em"),x=b.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"kern",size:-y},{type:"elem",elem:x}]},e)}var D=b.makeSpan(["mord","accent"],[x],e);return i?(i.children[0]=D,i.height=Math.max(D.height,i.height),i.classes[0]="mord",i):D},Yt=(t,e)=>{var r=t.isStretchy?D0.mathMLnode(t.label):new A.MathNode("mo",[p0(t.label,t.mode)]),a=new A.MathNode("mover",[W(t.base,e),r]);return a.setAttribute("accent","true"),a},Sa=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(t=>"\\"+t).join("|"));C({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(t,e)=>{var r=Ne(e[0]),a=!Sa.test(t.funcName),i=!a||t.funcName==="\\widehat"||t.funcName==="\\widetilde"||t.funcName==="\\widecheck";return{type:"accent",mode:t.parser.mode,label:t.funcName,isStretchy:a,isShifty:i,base:r}},htmlBuilder:ft,mathmlBuilder:Yt}),C({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(t,e)=>{var r=e[0],a=t.parser.mode;return a==="math"&&(t.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+t.funcName+" works only in text mode"),a="text"),{type:"accent",mode:a,label:t.funcName,isStretchy:!1,isShifty:!0,base:r}},htmlBuilder:ft,mathmlBuilder:Yt}),C({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(t,e)=>{var{parser:r,funcName:a}=t,i=e[0];return{type:"accentUnder",mode:r.mode,label:a,base:i}},htmlBuilder:(t,e)=>{var r=V(t.base,e),a=D0.svgSpan(t,e),i=t.label==="\\utilde"?.12:0,s=b.makeVList({positionType:"top",positionData:r.height,children:[{type:"elem",elem:a,wrapperClasses:["svg-align"]},{type:"kern",size:i},{type:"elem",elem:r}]},e);return b.makeSpan(["mord","accentunder"],[s],e)},mathmlBuilder:(t,e)=>{var r=D0.mathMLnode(t.label),a=new A.MathNode("munder",[W(t.base,e),r]);return a.setAttribute("accentunder","true"),a}});var ke=t=>{var e=new A.MathNode("mpadded",t?[t]:[]);return e.setAttribute("width","+0.6em"),e.setAttribute("lspace","0.3em"),e};C({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(t,e,r){var{parser:a,funcName:i}=t;return{type:"xArrow",mode:a.mode,label:i,body:e[0],below:r[0]}},htmlBuilder(t,e){var r=e.style,a=e.havingStyle(r.sup()),i=b.wrapFragment(V(t.body,a,e),e),s=t.label.slice(0,2)==="\\x"?"x":"cd";i.classes.push(s+"-arrow-pad");var u;t.below&&(a=e.havingStyle(r.sub()),u=b.wrapFragment(V(t.below,a,e),e),u.classes.push(s+"-arrow-pad"));var h=D0.svgSpan(t,e),c=-e.fontMetrics().axisHeight+.5*h.height,g=-e.fontMetrics().axisHeight-.5*h.height-.111;(i.depth>.25||t.label==="\\xleftequilibrium")&&(g-=i.depth);var v;if(u){var y=-e.fontMetrics().axisHeight+u.height+.5*h.height+.111;v=b.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:g},{type:"elem",elem:h,shift:c},{type:"elem",elem:u,shift:y}]},e)}else v=b.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:g},{type:"elem",elem:h,shift:c}]},e);return v.children[0].children[0].children[1].classes.push("svg-align"),b.makeSpan(["mrel","x-arrow"],[v],e)},mathmlBuilder(t,e){var r=D0.mathMLnode(t.label);r.setAttribute("minsize",t.label.charAt(0)==="x"?"1.75em":"3.0em");var a;if(t.body){var i=ke(W(t.body,e));if(t.below){var s=ke(W(t.below,e));a=new A.MathNode("munderover",[r,s,i])}else a=new A.MathNode("mover",[r,i])}else if(t.below){var u=ke(W(t.below,e));a=new A.MathNode("munder",[r,u])}else a=ke(),a=new A.MathNode("mover",[r,a]);return a}});var Ma=b.makeSpan;function P1(t,e){var r=e0(t.body,e,!0);return Ma([t.mclass],r,e)}function G1(t,e){var r,a=s0(t.body,e);return t.mclass==="minner"?r=new A.MathNode("mpadded",a):t.mclass==="mord"?t.isCharacterBox?(r=a[0],r.type="mi"):r=new A.MathNode("mi",a):(t.isCharacterBox?(r=a[0],r.type="mo"):r=new A.MathNode("mo",a),t.mclass==="mbin"?(r.attributes.lspace="0.22em",r.attributes.rspace="0.22em"):t.mclass==="mpunct"?(r.attributes.lspace="0em",r.attributes.rspace="0.17em"):t.mclass==="mopen"||t.mclass==="mclose"?(r.attributes.lspace="0em",r.attributes.rspace="0em"):t.mclass==="minner"&&(r.attributes.lspace="0.0556em",r.attributes.width="+0.1111em")),r}C({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(t,e){var{parser:r,funcName:a}=t,i=e[0];return{type:"mclass",mode:r.mode,mclass:"m"+a.slice(5),body:K(i),isCharacterBox:F.isCharacterBox(i)}},htmlBuilder:P1,mathmlBuilder:G1});var ze=t=>{var e=t.type==="ordgroup"&&t.body.length?t.body[0]:t;return e.type==="atom"&&(e.family==="bin"||e.family==="rel")?"m"+e.family:"mord"};C({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(t,e){var{parser:r}=t;return{type:"mclass",mode:r.mode,mclass:ze(e[0]),body:K(e[1]),isCharacterBox:F.isCharacterBox(e[1])}}}),C({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(t,e){var{parser:r,funcName:a}=t,i=e[1],s=e[0],u;a!=="\\stackrel"?u=ze(i):u="mrel";var h={type:"op",mode:i.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:a!=="\\stackrel",body:K(i)},c={type:"supsub",mode:s.mode,base:h,sup:a==="\\underset"?null:s,sub:a==="\\underset"?s:null};return{type:"mclass",mode:r.mode,mclass:u,body:[c],isCharacterBox:F.isCharacterBox(c)}},htmlBuilder:P1,mathmlBuilder:G1}),C({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(t,e){var{parser:r}=t;return{type:"pmb",mode:r.mode,mclass:ze(e[0]),body:K(e[0])}},htmlBuilder(t,e){var r=e0(t.body,e,!0),a=b.makeSpan([t.mclass],r,e);return a.style.textShadow="0.02em 0.01em 0.04px",a},mathmlBuilder(t,e){var r=s0(t.body,e),a=new A.MathNode("mstyle",r);return a.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),a}});var Ba={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},$t=()=>({type:"styling",body:[],mode:"math",style:"display"}),_t=t=>t.type==="textord"&&t.text==="@",za=(t,e)=>(t.type==="mathord"||t.type==="atom")&&t.text===e;function Ca(t,e,r){var a=Ba[t];switch(a){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return r.callFunction(a,[e[0]],[e[1]]);case"\\uparrow":case"\\downarrow":{var i=r.callFunction("\\\\cdleft",[e[0]],[]),s={type:"atom",text:a,mode:"math",family:"rel"},u=r.callFunction("\\Big",[s],[]),h=r.callFunction("\\\\cdright",[e[1]],[]),c={type:"ordgroup",mode:"math",body:[i,u,h]};return r.callFunction("\\\\cdparent",[c],[])}case"\\\\cdlongequal":return r.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var g={type:"textord",text:"\\Vert",mode:"math"};return r.callFunction("\\Big",[g],[])}default:return{type:"textord",text:" ",mode:"math"}}}function Ea(t){var e=[];for(t.gullet.beginGroup(),t.gullet.macros.set("\\cr","\\\\\\relax"),t.gullet.beginGroup();;){e.push(t.parseExpression(!1,"\\\\")),t.gullet.endGroup(),t.gullet.beginGroup();var r=t.fetch().text;if(r==="&"||r==="\\\\")t.consume();else if(r==="\\end"){e[e.length-1].length===0&&e.pop();break}else throw new S("Expected \\\\ or \\cr or \\end",t.nextToken)}for(var a=[],i=[a],s=0;s<e.length;s++){for(var u=e[s],h=$t(),c=0;c<u.length;c++)if(!_t(u[c]))h.body.push(u[c]);else{a.push(h),c+=1;var g=gt(u[c]).text,v=new Array(2);if(v[0]={type:"ordgroup",mode:"math",body:[]},v[1]={type:"ordgroup",mode:"math",body:[]},!("=|.".indexOf(g)>-1))if("<>AV".indexOf(g)>-1)for(var y=0;y<2;y++){for(var x=!0,w=c+1;w<u.length;w++){if(za(u[w],g)){x=!1,c=w;break}if(_t(u[w]))throw new S("Missing a "+g+" character to complete a CD arrow.",u[w]);v[y].body.push(u[w])}if(x)throw new S("Missing a "+g+" character to complete a CD arrow.",u[c])}else throw new S('Expected one of "<>AV=|." after @',u[c]);var B=Ca(g,v,t),z={type:"styling",body:[B],mode:"math",style:"display"};a.push(z),h=$t()}s%2===0?a.push(h):a.shift(),a=[],i.push(a)}t.gullet.endGroup(),t.gullet.endGroup();var T=new Array(i[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:i,arraystretch:1,addJot:!0,rowGaps:[null],cols:T,colSeparationType:"CD",hLinesBeforeRow:new Array(i.length+1).fill([])}}C({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(t,e){var{parser:r,funcName:a}=t;return{type:"cdlabel",mode:r.mode,side:a.slice(4),label:e[0]}},htmlBuilder(t,e){var r=e.havingStyle(e.style.sup()),a=b.wrapFragment(V(t.label,r,e),e);return a.classes.push("cd-label-"+t.side),a.style.bottom=M(.8-a.depth),a.height=0,a.depth=0,a},mathmlBuilder(t,e){var r=new A.MathNode("mrow",[W(t.label,e)]);return r=new A.MathNode("mpadded",[r]),r.setAttribute("width","0"),t.side==="left"&&r.setAttribute("lspace","-1width"),r.setAttribute("voffset","0.7em"),r=new A.MathNode("mstyle",[r]),r.setAttribute("displaystyle","false"),r.setAttribute("scriptlevel","1"),r}}),C({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(t,e){var{parser:r}=t;return{type:"cdlabelparent",mode:r.mode,fragment:e[0]}},htmlBuilder(t,e){var r=b.wrapFragment(V(t.fragment,e),e);return r.classes.push("cd-vert-arrow"),r},mathmlBuilder(t,e){return new A.MathNode("mrow",[W(t.fragment,e)])}}),C({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(t,e){for(var{parser:r}=t,a=O(e[0],"ordgroup"),i=a.body,s="",u=0;u<i.length;u++){var h=O(i[u],"textord");s+=h.text}var c=parseInt(s),g;if(isNaN(c))throw new S("\\@char has non-numeric argument "+s);if(c<0||c>=1114111)throw new S("\\@char with invalid code point "+s);return c<=65535?g=String.fromCharCode(c):(c-=65536,g=String.fromCharCode((c>>10)+55296,(c&1023)+56320)),{type:"textord",mode:r.mode,text:g}}});var jt=(t,e)=>{var r=e0(t.body,e.withColor(t.color),!1);return b.makeFragment(r)},Zt=(t,e)=>{var r=s0(t.body,e.withColor(t.color)),a=new A.MathNode("mstyle",r);return a.setAttribute("mathcolor",t.color),a};C({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(t,e){var{parser:r}=t,a=O(e[0],"color-token").color,i=e[1];return{type:"color",mode:r.mode,color:a,body:K(i)}},htmlBuilder:jt,mathmlBuilder:Zt}),C({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(t,e){var{parser:r,breakOnTokenText:a}=t,i=O(e[0],"color-token").color;r.gullet.macros.set("\\current@color",i);var s=r.parseExpression(!0,a);return{type:"color",mode:r.mode,color:i,body:s}},htmlBuilder:jt,mathmlBuilder:Zt}),C({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(t,e,r){var{parser:a}=t,i=a.gullet.future().text==="["?a.parseSizeGroup(!0):null,s=!a.settings.displayMode||!a.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:a.mode,newLine:s,size:i&&O(i,"size").value}},htmlBuilder(t,e){var r=b.makeSpan(["mspace"],[],e);return t.newLine&&(r.classes.push("newline"),t.size&&(r.style.marginTop=M(j(t.size,e)))),r},mathmlBuilder(t,e){var r=new A.MathNode("mspace");return t.newLine&&(r.setAttribute("linebreak","newline"),t.size&&r.setAttribute("height",M(j(t.size,e)))),r}});var $e={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},Kt=t=>{var e=t.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(e))throw new S("Expected a control sequence",t);return e},Ta=t=>{var e=t.gullet.popToken();return e.text==="="&&(e=t.gullet.popToken(),e.text===" "&&(e=t.gullet.popToken())),e},Qt=(t,e,r,a)=>{var i=t.gullet.macros.get(r.text);i==null&&(r.noexpand=!0,i={tokens:[r],numArgs:0,unexpandable:!t.gullet.isExpandable(r.text)}),t.gullet.macros.set(e,i,a)};C({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(t){var{parser:e,funcName:r}=t;e.consumeSpaces();var a=e.fetch();if($e[a.text])return(r==="\\global"||r==="\\\\globallong")&&(a.text=$e[a.text]),O(e.parseFunction(),"internal");throw new S("Invalid token after macro prefix",a)}}),C({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t){var{parser:e,funcName:r}=t,a=e.gullet.popToken(),i=a.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(i))throw new S("Expected a control sequence",a);for(var s=0,u,h=[[]];e.gullet.future().text!=="{";)if(a=e.gullet.popToken(),a.text==="#"){if(e.gullet.future().text==="{"){u=e.gullet.future(),h[s].push("{");break}if(a=e.gullet.popToken(),!/^[1-9]$/.test(a.text))throw new S('Invalid argument number "'+a.text+'"');if(parseInt(a.text)!==s+1)throw new S('Argument number "'+a.text+'" out of order');s++,h.push([])}else{if(a.text==="EOF")throw new S("Expected a macro definition");h[s].push(a.text)}var{tokens:c}=e.gullet.consumeArg();return u&&c.unshift(u),(r==="\\edef"||r==="\\xdef")&&(c=e.gullet.expandTokens(c),c.reverse()),e.gullet.macros.set(i,{tokens:c,numArgs:s,delimiters:h},r===$e[r]),{type:"internal",mode:e.mode}}}),C({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t){var{parser:e,funcName:r}=t,a=Kt(e.gullet.popToken());e.gullet.consumeSpaces();var i=Ta(e);return Qt(e,a,i,r==="\\\\globallet"),{type:"internal",mode:e.mode}}}),C({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t){var{parser:e,funcName:r}=t,a=Kt(e.gullet.popToken()),i=e.gullet.popToken(),s=e.gullet.popToken();return Qt(e,a,s,r==="\\\\globalfuture"),e.gullet.pushToken(s),e.gullet.pushToken(i),{type:"internal",mode:e.mode}}});var ae=function(t,e,r){var a=Y.math[t]&&Y.math[t].replace,i=St(a||t,e,r);if(!i)throw new Error("Unsupported symbol "+t+" and font size "+e+".");return i},Ct=function(t,e,r,a){var i=r.havingBaseStyle(e),s=b.makeSpan(a.concat(i.sizingClasses(r)),[t],r),u=i.sizeMultiplier/r.sizeMultiplier;return s.height*=u,s.depth*=u,s.maxFontSize=i.sizeMultiplier,s},U1=function(t,e,r){var a=e.havingBaseStyle(r),i=(1-e.sizeMultiplier/a.sizeMultiplier)*e.fontMetrics().axisHeight;t.classes.push("delimcenter"),t.style.top=M(i),t.height-=i,t.depth+=i},Da=function(t,e,r,a,i,s){var u=b.makeSymbol(t,"Main-Regular",i,a),h=Ct(u,e,a,s);return r&&U1(h,a,e),h},Fa=function(t,e,r,a){return b.makeSymbol(t,"Size"+e+"-Regular",r,a)},X1=function(t,e,r,a,i,s){var u=Fa(t,e,i,a),h=Ct(b.makeSpan(["delimsizing","size"+e],[u],a),R.TEXT,a,s);return r&&U1(h,a,R.TEXT),h},_e=function(t,e,r){var a;e==="Size1-Regular"?a="delim-size1":a="delim-size4";var i=b.makeSpan(["delimsizinginner",a],[b.makeSpan([],[b.makeSymbol(t,e,r)])]);return{type:"elem",elem:i}},je=function(t,e,r){var a=k0["Size4-Regular"][t.charCodeAt(0)]?k0["Size4-Regular"][t.charCodeAt(0)][4]:k0["Size1-Regular"][t.charCodeAt(0)][4],i=new P0("inner",Ir(t,Math.round(1e3*e))),s=new E0([i],{width:M(a),height:M(e),style:"width:"+M(a),viewBox:"0 0 "+1e3*a+" "+Math.round(1e3*e),preserveAspectRatio:"xMinYMin"}),u=b.makeSvgSpan([],[s],r);return u.height=e,u.style.height=M(e),u.style.width=M(a),{type:"elem",elem:u}},vt=.008,Ae={type:"kern",size:-1*vt},qa=["|","\\lvert","\\rvert","\\vert"],Na=["\\|","\\lVert","\\rVert","\\Vert"],W1=function(t,e,r,a,i,s){var u,h,c,g,v="",y=0;u=c=g=t,h=null;var x="Size1-Regular";t==="\\uparrow"?c=g="⏐":t==="\\Uparrow"?c=g="‖":t==="\\downarrow"?u=c="⏐":t==="\\Downarrow"?u=c="‖":t==="\\updownarrow"?(u="\\uparrow",c="⏐",g="\\downarrow"):t==="\\Updownarrow"?(u="\\Uparrow",c="‖",g="\\Downarrow"):F.contains(qa,t)?(c="∣",v="vert",y=333):F.contains(Na,t)?(c="∥",v="doublevert",y=556):t==="["||t==="\\lbrack"?(u="⎡",c="⎢",g="⎣",x="Size4-Regular",v="lbrack",y=667):t==="]"||t==="\\rbrack"?(u="⎤",c="⎥",g="⎦",x="Size4-Regular",v="rbrack",y=667):t==="\\lfloor"||t==="⌊"?(c=u="⎢",g="⎣",x="Size4-Regular",v="lfloor",y=667):t==="\\lceil"||t==="⌈"?(u="⎡",c=g="⎢",x="Size4-Regular",v="lceil",y=667):t==="\\rfloor"||t==="⌋"?(c=u="⎥",g="⎦",x="Size4-Regular",v="rfloor",y=667):t==="\\rceil"||t==="⌉"?(u="⎤",c=g="⎥",x="Size4-Regular",v="rceil",y=667):t==="("||t==="\\lparen"?(u="⎛",c="⎜",g="⎝",x="Size4-Regular",v="lparen",y=875):t===")"||t==="\\rparen"?(u="⎞",c="⎟",g="⎠",x="Size4-Regular",v="rparen",y=875):t==="\\{"||t==="\\lbrace"?(u="⎧",h="⎨",g="⎩",c="⎪",x="Size4-Regular"):t==="\\}"||t==="\\rbrace"?(u="⎫",h="⎬",g="⎭",c="⎪",x="Size4-Regular"):t==="\\lgroup"||t==="⟮"?(u="⎧",g="⎩",c="⎪",x="Size4-Regular"):t==="\\rgroup"||t==="⟯"?(u="⎫",g="⎭",c="⎪",x="Size4-Regular"):t==="\\lmoustache"||t==="⎰"?(u="⎧",g="⎭",c="⎪",x="Size4-Regular"):(t==="\\rmoustache"||t==="⎱")&&(u="⎫",g="⎩",c="⎪",x="Size4-Regular");var w=ae(u,x,i),B=w.height+w.depth,z=ae(c,x,i),T=z.height+z.depth,D=ae(g,x,i),q=D.height+D.depth,U=0,I=1;if(h!==null){var P=ae(h,x,i);U=P.height+P.depth,I=2}var L=B+q+U,G=Math.max(0,Math.ceil((e-L)/(I*T))),X=L+G*I*T,A0=a.fontMetrics().axisHeight;r&&(A0*=a.sizeMultiplier);var t0=X/2-A0,J=[];if(v.length>0){var G0=X-B-q,n0=Math.round(X*1e3),f0=Lr(v,Math.round(G0*1e3)),F0=new P0(v,f0),Y0=(y/1e3).toFixed(3)+"em",$0=(n0/1e3).toFixed(3)+"em",Ie=new E0([F0],{width:Y0,height:$0,viewBox:"0 0 "+y+" "+n0}),q0=b.makeSvgSpan([],[Ie],a);q0.height=n0/1e3,q0.style.width=Y0,q0.style.height=$0,J.push({type:"elem",elem:q0})}else{if(J.push(_e(g,x,i)),J.push(Ae),h===null){var N0=X-B-q+2*vt;J.push(je(c,N0,a))}else{var h0=(X-B-q-U)/2+2*vt;J.push(je(c,h0,a)),J.push(Ae),J.push(_e(h,x,i)),J.push(Ae),J.push(je(c,h0,a))}J.push(Ae),J.push(_e(u,x,i))}var re=a.havingBaseStyle(R.TEXT),Le=b.makeVList({positionType:"bottom",positionData:t0,children:J},re);return Ct(b.makeSpan(["delimsizing","mult"],[Le],re),R.TEXT,a,s)},Ze=80,Ke=.08,Qe=function(t,e,r,a,i){var s=Or(t,a,r),u=new P0(t,s),h=new E0([u],{width:"400em",height:M(e),viewBox:"0 0 400000 "+r,preserveAspectRatio:"xMinYMin slice"});return b.makeSvgSpan(["hide-tail"],[h],i)},Ra=function(t,e){var r=e.havingBaseSizing(),a=j1("\\surd",t*r.sizeMultiplier,_1,r),i=r.sizeMultiplier,s=Math.max(0,e.minRuleThickness-e.fontMetrics().sqrtRuleThickness),u,h=0,c=0,g=0,v;return a.type==="small"?(g=1e3+1e3*s+Ze,t<1?i=1:t<1.4&&(i=.7),h=(1+s+Ke)/i,c=(1+s)/i,u=Qe("sqrtMain",h,g,s,e),u.style.minWidth="0.853em",v=.833/i):a.type==="large"?(g=(1e3+Ze)*oe[a.size],c=(oe[a.size]+s)/i,h=(oe[a.size]+s+Ke)/i,u=Qe("sqrtSize"+a.size,h,g,s,e),u.style.minWidth="1.02em",v=1/i):(h=t+s+Ke,c=t+s,g=Math.floor(1e3*t+s)+Ze,u=Qe("sqrtTall",h,g,s,e),u.style.minWidth="0.742em",v=1.056),u.height=c,u.style.height=M(h),{span:u,advanceWidth:v,ruleWidth:(e.fontMetrics().sqrtRuleThickness+s)*i}},Y1=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],Ha=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],$1=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],oe=[0,1.2,1.8,2.4,3],Oa=function(t,e,r,a,i){if(t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle"),F.contains(Y1,t)||F.contains($1,t))return X1(t,e,!1,r,a,i);if(F.contains(Ha,t))return W1(t,oe[e],!1,r,a,i);throw new S("Illegal delimiter: '"+t+"'")},Ia=[{type:"small",style:R.SCRIPTSCRIPT},{type:"small",style:R.SCRIPT},{type:"small",style:R.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],La=[{type:"small",style:R.SCRIPTSCRIPT},{type:"small",style:R.SCRIPT},{type:"small",style:R.TEXT},{type:"stack"}],_1=[{type:"small",style:R.SCRIPTSCRIPT},{type:"small",style:R.SCRIPT},{type:"small",style:R.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],Va=function(t){if(t.type==="small")return"Main-Regular";if(t.type==="large")return"Size"+t.size+"-Regular";if(t.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+t.type+"' here.")},j1=function(t,e,r,a){for(var i=Math.min(2,3-a.style.size),s=i;s<r.length&&r[s].type!=="stack";s++){var u=ae(t,Va(r[s]),"math"),h=u.height+u.depth;if(r[s].type==="small"){var c=a.havingBaseStyle(r[s].style);h*=c.sizeMultiplier}if(h>e)return r[s]}return r[r.length-1]},Z1=function(t,e,r,a,i,s){t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle");var u;F.contains($1,t)?u=Ia:F.contains(Y1,t)?u=_1:u=La;var h=j1(t,e,u,a);return h.type==="small"?Da(t,h.style,r,a,i,s):h.type==="large"?X1(t,h.size,r,a,i,s):W1(t,e,r,a,i,s)},Pa=function(t,e,r,a,i,s){var u=a.fontMetrics().axisHeight*a.sizeMultiplier,h=901,c=5/a.fontMetrics().ptPerEm,g=Math.max(e-u,r+u),v=Math.max(g/500*h,2*g-c);return Z1(t,v,!0,a,i,s)},z0={sqrtImage:Ra,sizedDelim:Oa,sizeToMaxHeight:oe,customSizedDelim:Z1,leftRightDelim:Pa},Jt={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},Ga=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","<",">","\\langle","⟨","\\rangle","⟩","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function Ce(t,e){var r=Re(t);if(r&&F.contains(Ga,r.text))return r;throw r?new S("Invalid delimiter '"+r.text+"' after '"+e.funcName+"'",t):new S("Invalid delimiter type '"+t.type+"'",t)}C({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(t,e)=>{var r=Ce(e[0],t);return{type:"delimsizing",mode:t.parser.mode,size:Jt[t.funcName].size,mclass:Jt[t.funcName].mclass,delim:r.text}},htmlBuilder:(t,e)=>t.delim==="."?b.makeSpan([t.mclass]):z0.sizedDelim(t.delim,t.size,e,t.mode,[t.mclass]),mathmlBuilder:t=>{var e=[];t.delim!=="."&&e.push(p0(t.delim,t.mode));var r=new A.MathNode("mo",e);t.mclass==="mopen"||t.mclass==="mclose"?r.setAttribute("fence","true"):r.setAttribute("fence","false"),r.setAttribute("stretchy","true");var a=M(z0.sizeToMaxHeight[t.size]);return r.setAttribute("minsize",a),r.setAttribute("maxsize",a),r}});function e1(t){if(!t.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}C({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(t,e)=>{var r=t.parser.gullet.macros.get("\\current@color");if(r&&typeof r!="string")throw new S("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:t.parser.mode,delim:Ce(e[0],t).text,color:r}}}),C({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(t,e)=>{var r=Ce(e[0],t),a=t.parser;++a.leftrightDepth;var i=a.parseExpression(!1);--a.leftrightDepth,a.expect("\\right",!1);var s=O(a.parseFunction(),"leftright-right");return{type:"leftright",mode:a.mode,body:i,left:r.text,right:s.delim,rightColor:s.color}},htmlBuilder:(t,e)=>{e1(t);for(var r=e0(t.body,e,!0,["mopen","mclose"]),a=0,i=0,s=!1,u=0;u<r.length;u++)r[u].isMiddle?s=!0:(a=Math.max(r[u].height,a),i=Math.max(r[u].depth,i));a*=e.sizeMultiplier,i*=e.sizeMultiplier;var h;if(t.left==="."?h=ie(e,["mopen"]):h=z0.leftRightDelim(t.left,a,i,e,t.mode,["mopen"]),r.unshift(h),s)for(var c=1;c<r.length;c++){var g=r[c],v=g.isMiddle;v&&(r[c]=z0.leftRightDelim(v.delim,a,i,v.options,t.mode,[]))}var y;if(t.right===".")y=ie(e,["mclose"]);else{var x=t.rightColor?e.withColor(t.rightColor):e;y=z0.leftRightDelim(t.right,a,i,x,t.mode,["mclose"])}return r.push(y),b.makeSpan(["minner"],r,e)},mathmlBuilder:(t,e)=>{e1(t);var r=s0(t.body,e);if(t.left!=="."){var a=new A.MathNode("mo",[p0(t.left,t.mode)]);a.setAttribute("fence","true"),r.unshift(a)}if(t.right!=="."){var i=new A.MathNode("mo",[p0(t.right,t.mode)]);i.setAttribute("fence","true"),t.rightColor&&i.setAttribute("mathcolor",t.rightColor),r.push(i)}return zt(r)}}),C({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(t,e)=>{var r=Ce(e[0],t);if(!t.parser.leftrightDepth)throw new S("\\middle without preceding \\left",r);return{type:"middle",mode:t.parser.mode,delim:r.text}},htmlBuilder:(t,e)=>{var r;if(t.delim===".")r=ie(e,[]);else{r=z0.sizedDelim(t.delim,1,e,t.mode,[]);var a={delim:t.delim,options:e};r.isMiddle=a}return r},mathmlBuilder:(t,e)=>{var r=t.delim==="\\vert"||t.delim==="|"?p0("|","text"):p0(t.delim,t.mode),a=new A.MathNode("mo",[r]);return a.setAttribute("fence","true"),a.setAttribute("lspace","0.05em"),a.setAttribute("rspace","0.05em"),a}});var Je=(t,e)=>{var r=b.wrapFragment(V(t.body,e),e),a=t.label.slice(1),i=e.sizeMultiplier,s,u=0,h=F.isCharacterBox(t.body);if(a==="sout")s=b.makeSpan(["stretchy","sout"]),s.height=e.fontMetrics().defaultRuleThickness/i,u=-.5*e.fontMetrics().xHeight;else if(a==="phase"){var c=j({number:.6,unit:"pt"},e),g=j({number:.35,unit:"ex"},e),v=e.havingBaseSizing();i=i/v.sizeMultiplier;var y=r.height+r.depth+c+g;r.style.paddingLeft=M(y/2+c);var x=Math.floor(1e3*y*i),w=Rr(x),B=new E0([new P0("phase",w)],{width:"400em",height:M(x/1e3),viewBox:"0 0 400000 "+x,preserveAspectRatio:"xMinYMin slice"});s=b.makeSvgSpan(["hide-tail"],[B],e),s.style.height=M(y),u=r.depth+c+g}else{/cancel/.test(a)?h||r.classes.push("cancel-pad"):a==="angl"?r.classes.push("anglpad"):r.classes.push("boxpad");var z=0,T=0,D=0;/box/.test(a)?(D=Math.max(e.fontMetrics().fboxrule,e.minRuleThickness),z=e.fontMetrics().fboxsep+(a==="colorbox"?0:D),T=z):a==="angl"?(D=Math.max(e.fontMetrics().defaultRuleThickness,e.minRuleThickness),z=4*D,T=Math.max(0,.25-r.depth)):(z=h?.2:0,T=z),s=D0.encloseSpan(r,a,z,T,e),/fbox|boxed|fcolorbox/.test(a)?(s.style.borderStyle="solid",s.style.borderWidth=M(D)):a==="angl"&&D!==.049&&(s.style.borderTopWidth=M(D),s.style.borderRightWidth=M(D)),u=r.depth+T,t.backgroundColor&&(s.style.backgroundColor=t.backgroundColor,t.borderColor&&(s.style.borderColor=t.borderColor))}var q;if(t.backgroundColor)q=b.makeVList({positionType:"individualShift",children:[{type:"elem",elem:s,shift:u},{type:"elem",elem:r,shift:0}]},e);else{var U=/cancel|phase/.test(a)?["svg-align"]:[];q=b.makeVList({positionType:"individualShift",children:[{type:"elem",elem:r,shift:0},{type:"elem",elem:s,shift:u,wrapperClasses:U}]},e)}return/cancel/.test(a)&&(q.height=r.height,q.depth=r.depth),/cancel/.test(a)&&!h?b.makeSpan(["mord","cancel-lap"],[q],e):b.makeSpan(["mord"],[q],e)},et=(t,e)=>{var r=0,a=new A.MathNode(t.label.indexOf("colorbox")>-1?"mpadded":"menclose",[W(t.body,e)]);switch(t.label){case"\\cancel":a.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":a.setAttribute("notation","downdiagonalstrike");break;case"\\phase":a.setAttribute("notation","phasorangle");break;case"\\sout":a.setAttribute("notation","horizontalstrike");break;case"\\fbox":a.setAttribute("notation","box");break;case"\\angl":a.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(r=e.fontMetrics().fboxsep*e.fontMetrics().ptPerEm,a.setAttribute("width","+"+2*r+"pt"),a.setAttribute("height","+"+2*r+"pt"),a.setAttribute("lspace",r+"pt"),a.setAttribute("voffset",r+"pt"),t.label==="\\fcolorbox"){var i=Math.max(e.fontMetrics().fboxrule,e.minRuleThickness);a.setAttribute("style","border: "+i+"em solid "+String(t.borderColor))}break;case"\\xcancel":a.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return t.backgroundColor&&a.setAttribute("mathbackground",t.backgroundColor),a};C({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(t,e,r){var{parser:a,funcName:i}=t,s=O(e[0],"color-token").color,u=e[1];return{type:"enclose",mode:a.mode,label:i,backgroundColor:s,body:u}},htmlBuilder:Je,mathmlBuilder:et}),C({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(t,e,r){var{parser:a,funcName:i}=t,s=O(e[0],"color-token").color,u=O(e[1],"color-token").color,h=e[2];return{type:"enclose",mode:a.mode,label:i,backgroundColor:u,borderColor:s,body:h}},htmlBuilder:Je,mathmlBuilder:et}),C({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(t,e){var{parser:r}=t;return{type:"enclose",mode:r.mode,label:"\\fbox",body:e[0]}}}),C({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(t,e){var{parser:r,funcName:a}=t,i=e[0];return{type:"enclose",mode:r.mode,label:a,body:i}},htmlBuilder:Je,mathmlBuilder:et}),C({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(t,e){var{parser:r}=t;return{type:"enclose",mode:r.mode,label:"\\angl",body:e[0]}}});var K1={};function b0(t){for(var{type:e,names:r,props:a,handler:i,htmlBuilder:s,mathmlBuilder:u}=t,h={type:e,numArgs:a.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:i},c=0;c<r.length;++c)K1[r[c]]=h;s&&(Fe[e]=s),u&&(qe[e]=u)}var Q1={};function m(t,e){Q1[t]=e}function t1(t){var e=[];t.consumeSpaces();var r=t.fetch().text;for(r==="\\relax"&&(t.consume(),t.consumeSpaces(),r=t.fetch().text);r==="\\hline"||r==="\\hdashline";)t.consume(),e.push(r==="\\hdashline"),t.consumeSpaces(),r=t.fetch().text;return e}var Ee=t=>{var e=t.parser.settings;if(!e.displayMode)throw new S("{"+t.envName+"} can be used only in display mode.")};function bt(t){if(t.indexOf("ed")===-1)return t.indexOf("*")===-1}function O0(t,e,r){var{hskipBeforeAndAfter:a,addJot:i,cols:s,arraystretch:u,colSeparationType:h,autoTag:c,singleRow:g,emptySingleRow:v,maxNumCols:y,leqno:x}=e;if(t.gullet.beginGroup(),g||t.gullet.macros.set("\\cr","\\\\\\relax"),!u){var w=t.gullet.expandMacroAsText("\\arraystretch");if(w==null)u=1;else if(u=parseFloat(w),!u||u<0)throw new S("Invalid \\arraystretch: "+w)}t.gullet.beginGroup();var B=[],z=[B],T=[],D=[],q=c!=null?[]:void 0;function U(){c&&t.gullet.macros.set("\\@eqnsw","1",!0)}function I(){q&&(t.gullet.macros.get("\\df@tag")?(q.push(t.subparse([new d0("\\df@tag")])),t.gullet.macros.set("\\df@tag",void 0,!0)):q.push(!!c&&t.gullet.macros.get("\\@eqnsw")==="1"))}for(U(),D.push(t1(t));;){var P=t.parseExpression(!1,g?"\\end":"\\\\");t.gullet.endGroup(),t.gullet.beginGroup(),P={type:"ordgroup",mode:t.mode,body:P},r&&(P={type:"styling",mode:t.mode,style:r,body:[P]}),B.push(P);var L=t.fetch().text;if(L==="&"){if(y&&B.length===y){if(g||h)throw new S("Too many tab characters: &",t.nextToken);t.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}t.consume()}else if(L==="\\end"){I(),B.length===1&&P.type==="styling"&&P.body[0].body.length===0&&(z.length>1||!v)&&z.pop(),D.length<z.length+1&&D.push([]);break}else if(L==="\\\\"){t.consume();var G=void 0;t.gullet.future().text!==" "&&(G=t.parseSizeGroup(!0)),T.push(G?G.value:null),I(),D.push(t1(t)),B=[],z.push(B),U()}else throw new S("Expected & or \\\\ or \\cr or \\end",t.nextToken)}return t.gullet.endGroup(),t.gullet.endGroup(),{type:"array",mode:t.mode,addJot:i,arraystretch:u,body:z,cols:s,rowGaps:T,hskipBeforeAndAfter:a,hLinesBeforeRow:D,colSeparationType:h,tags:q,leqno:x}}function tt(t){return t.slice(0,1)==="d"?"display":"text"}var y0=function(t,e){var r,a,i=t.body.length,s=t.hLinesBeforeRow,u=0,h=new Array(i),c=[],g=Math.max(e.fontMetrics().arrayRuleWidth,e.minRuleThickness),v=1/e.fontMetrics().ptPerEm,y=5*v;if(t.colSeparationType&&t.colSeparationType==="small"){var x=e.havingStyle(R.SCRIPT).sizeMultiplier;y=.2778*(x/e.sizeMultiplier)}var w=t.colSeparationType==="CD"?j({number:3,unit:"ex"},e):12*v,B=3*v,z=t.arraystretch*w,T=.7*z,D=.3*z,q=0;function U(pe){for(var de=0;de<pe.length;++de)de>0&&(q+=.25),c.push({pos:q,isDashed:pe[de]})}for(U(s[0]),r=0;r<t.body.length;++r){var I=t.body[r],P=T,L=D;u<I.length&&(u=I.length);var G=new Array(I.length);for(a=0;a<I.length;++a){var X=V(I[a],e);L<X.depth&&(L=X.depth),P<X.height&&(P=X.height),G[a]=X}var A0=t.rowGaps[r],t0=0;A0&&(t0=j(A0,e),t0>0&&(t0+=D,L<t0&&(L=t0),t0=0)),t.addJot&&(L+=B),G.height=P,G.depth=L,q+=P,G.pos=q,q+=L+t0,h[r]=G,U(s[r+1])}var J=q/2+e.fontMetrics().axisHeight,G0=t.cols||[],n0=[],f0,F0,Y0=[];if(t.tags&&t.tags.some(pe=>pe))for(r=0;r<i;++r){var $0=h[r],Ie=$0.pos-J,q0=t.tags[r],N0=void 0;q0===!0?N0=b.makeSpan(["eqn-num"],[],e):q0===!1?N0=b.makeSpan([],[],e):N0=b.makeSpan([],e0(q0,e,!0),e),N0.depth=$0.depth,N0.height=$0.height,Y0.push({type:"elem",elem:N0,shift:Ie})}for(a=0,F0=0;a<u||F0<G0.length;++a,++F0){for(var h0=G0[F0]||{},re=!0;h0.type==="separator";){if(re||(f0=b.makeSpan(["arraycolsep"],[]),f0.style.width=M(e.fontMetrics().doubleRuleSep),n0.push(f0)),h0.separator==="|"||h0.separator===":"){var Le=h0.separator==="|"?"solid":"dashed",_0=b.makeSpan(["vertical-separator"],[],e);_0.style.height=M(q),_0.style.borderRightWidth=M(g),_0.style.borderRightStyle=Le,_0.style.margin="0 "+M(-g/2);var Dt=q-J;Dt&&(_0.style.verticalAlign=M(-Dt)),n0.push(_0)}else throw new S("Invalid separator type: "+h0.separator);F0++,h0=G0[F0]||{},re=!1}if(!(a>=u)){var j0=void 0;(a>0||t.hskipBeforeAndAfter)&&(j0=F.deflt(h0.pregap,y),j0!==0&&(f0=b.makeSpan(["arraycolsep"],[]),f0.style.width=M(j0),n0.push(f0)));var Z0=[];for(r=0;r<i;++r){var me=h[r],ce=me[a];if(ce){var ur=me.pos-J;ce.depth=me.depth,ce.height=me.height,Z0.push({type:"elem",elem:ce,shift:ur})}}Z0=b.makeVList({positionType:"individualShift",children:Z0},e),Z0=b.makeSpan(["col-align-"+(h0.align||"c")],[Z0]),n0.push(Z0),(a<u-1||t.hskipBeforeAndAfter)&&(j0=F.deflt(h0.postgap,y),j0!==0&&(f0=b.makeSpan(["arraycolsep"],[]),f0.style.width=M(j0),n0.push(f0)))}}if(h=b.makeSpan(["mtable"],n0),c.length>0){for(var hr=b.makeLineSpan("hline",e,g),mr=b.makeLineSpan("hdashline",e,g),Ve=[{type:"elem",elem:h,shift:0}];c.length>0;){var Ft=c.pop(),qt=Ft.pos-J;Ft.isDashed?Ve.push({type:"elem",elem:mr,shift:qt}):Ve.push({type:"elem",elem:hr,shift:qt})}h=b.makeVList({positionType:"individualShift",children:Ve},e)}if(Y0.length===0)return b.makeSpan(["mord"],[h],e);var Pe=b.makeVList({positionType:"individualShift",children:Y0},e);return Pe=b.makeSpan(["tag"],[Pe],e),b.makeFragment([h,Pe])},Ua={c:"center ",l:"left ",r:"right "},x0=function(t,e){for(var r=[],a=new A.MathNode("mtd",[],["mtr-glue"]),i=new A.MathNode("mtd",[],["mml-eqn-num"]),s=0;s<t.body.length;s++){for(var u=t.body[s],h=[],c=0;c<u.length;c++)h.push(new A.MathNode("mtd",[W(u[c],e)]));t.tags&&t.tags[s]&&(h.unshift(a),h.push(a),t.leqno?h.unshift(i):h.push(i)),r.push(new A.MathNode("mtr",h))}var g=new A.MathNode("mtable",r),v=t.arraystretch===.5?.1:.16+t.arraystretch-1+(t.addJot?.09:0);g.setAttribute("rowspacing",M(v));var y="",x="";if(t.cols&&t.cols.length>0){var w=t.cols,B="",z=!1,T=0,D=w.length;w[0].type==="separator"&&(y+="top ",T=1),w[w.length-1].type==="separator"&&(y+="bottom ",D-=1);for(var q=T;q<D;q++)w[q].type==="align"?(x+=Ua[w[q].align],z&&(B+="none "),z=!0):w[q].type==="separator"&&z&&(B+=w[q].separator==="|"?"solid ":"dashed ",z=!1);g.setAttribute("columnalign",x.trim()),/[sd]/.test(B)&&g.setAttribute("columnlines",B.trim())}if(t.colSeparationType==="align"){for(var U=t.cols||[],I="",P=1;P<U.length;P++)I+=P%2?"0em ":"1em ";g.setAttribute("columnspacing",I.trim())}else t.colSeparationType==="alignat"||t.colSeparationType==="gather"?g.setAttribute("columnspacing","0em"):t.colSeparationType==="small"?g.setAttribute("columnspacing","0.2778em"):t.colSeparationType==="CD"?g.setAttribute("columnspacing","0.5em"):g.setAttribute("columnspacing","1em");var L="",G=t.hLinesBeforeRow;y+=G[0].length>0?"left ":"",y+=G[G.length-1].length>0?"right ":"";for(var X=1;X<G.length-1;X++)L+=G[X].length===0?"none ":G[X][0]?"dashed ":"solid ";return/[sd]/.test(L)&&g.setAttribute("rowlines",L.trim()),y!==""&&(g=new A.MathNode("menclose",[g]),g.setAttribute("notation",y.trim())),t.arraystretch&&t.arraystretch<1&&(g=new A.MathNode("mstyle",[g]),g.setAttribute("scriptlevel","1")),g},r1=function(t,e){t.envName.indexOf("ed")===-1&&Ee(t);var r=[],a=t.envName.indexOf("at")>-1?"alignat":"align",i=t.envName==="split",s=O0(t.parser,{cols:r,addJot:!0,autoTag:i?void 0:bt(t.envName),emptySingleRow:!0,colSeparationType:a,maxNumCols:i?2:void 0,leqno:t.parser.settings.leqno},"display"),u,h=0,c={type:"ordgroup",mode:t.mode,body:[]};if(e[0]&&e[0].type==="ordgroup"){for(var g="",v=0;v<e[0].body.length;v++){var y=O(e[0].body[v],"textord");g+=y.text}u=Number(g),h=u*2}var x=!h;s.body.forEach(function(T){for(var D=1;D<T.length;D+=2){var q=O(T[D],"styling"),U=O(q.body[0],"ordgroup");U.body.unshift(c)}if(x)h<T.length&&(h=T.length);else{var I=T.length/2;if(u<I)throw new S("Too many math in a row: "+("expected "+u+", but got "+I),T[0])}});for(var w=0;w<h;++w){var B="r",z=0;w%2===1?B="l":w>0&&x&&(z=1),r[w]={type:"align",align:B,pregap:z,postgap:0}}return s.colSeparationType=x?"align":"alignat",s};b0({type:"array",names:["array","darray"],props:{numArgs:1},handler(t,e){var r=Re(e[0]),a=r?[e[0]]:O(e[0],"ordgroup").body,i=a.map(function(u){var h=gt(u),c=h.text;if("lcr".indexOf(c)!==-1)return{type:"align",align:c};if(c==="|")return{type:"separator",separator:"|"};if(c===":")return{type:"separator",separator:":"};throw new S("Unknown column alignment: "+c,u)}),s={cols:i,hskipBeforeAndAfter:!0,maxNumCols:i.length};return O0(t.parser,s,tt(t.envName))},htmlBuilder:y0,mathmlBuilder:x0}),b0({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(t){var e={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[t.envName.replace("*","")],r="c",a={hskipBeforeAndAfter:!1,cols:[{type:"align",align:r}]};if(t.envName.charAt(t.envName.length-1)==="*"){var i=t.parser;if(i.consumeSpaces(),i.fetch().text==="["){if(i.consume(),i.consumeSpaces(),r=i.fetch().text,"lcr".indexOf(r)===-1)throw new S("Expected l or c or r",i.nextToken);i.consume(),i.consumeSpaces(),i.expect("]"),i.consume(),a.cols=[{type:"align",align:r}]}}var s=O0(t.parser,a,tt(t.envName)),u=Math.max(0,...s.body.map(h=>h.length));return s.cols=new Array(u).fill({type:"align",align:r}),e?{type:"leftright",mode:t.mode,body:[s],left:e[0],right:e[1],rightColor:void 0}:s},htmlBuilder:y0,mathmlBuilder:x0}),b0({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(t){var e={arraystretch:.5},r=O0(t.parser,e,"script");return r.colSeparationType="small",r},htmlBuilder:y0,mathmlBuilder:x0}),b0({type:"array",names:["subarray"],props:{numArgs:1},handler(t,e){var r=Re(e[0]),a=r?[e[0]]:O(e[0],"ordgroup").body,i=a.map(function(u){var h=gt(u),c=h.text;if("lc".indexOf(c)!==-1)return{type:"align",align:c};throw new S("Unknown column alignment: "+c,u)});if(i.length>1)throw new S("{subarray} can contain only one column");var s={cols:i,hskipBeforeAndAfter:!1,arraystretch:.5};if(s=O0(t.parser,s,"script"),s.body.length>0&&s.body[0].length>1)throw new S("{subarray} can contain only one column");return s},htmlBuilder:y0,mathmlBuilder:x0}),b0({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(t){var e={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},r=O0(t.parser,e,tt(t.envName));return{type:"leftright",mode:t.mode,body:[r],left:t.envName.indexOf("r")>-1?".":"\\{",right:t.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:y0,mathmlBuilder:x0}),b0({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:r1,htmlBuilder:y0,mathmlBuilder:x0}),b0({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(t){F.contains(["gather","gather*"],t.envName)&&Ee(t);var e={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:bt(t.envName),emptySingleRow:!0,leqno:t.parser.settings.leqno};return O0(t.parser,e,"display")},htmlBuilder:y0,mathmlBuilder:x0}),b0({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:r1,htmlBuilder:y0,mathmlBuilder:x0}),b0({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(t){Ee(t);var e={autoTag:bt(t.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:t.parser.settings.leqno};return O0(t.parser,e,"display")},htmlBuilder:y0,mathmlBuilder:x0}),b0({type:"array",names:["CD"],props:{numArgs:0},handler(t){return Ee(t),Ea(t.parser)},htmlBuilder:y0,mathmlBuilder:x0}),m("\\nonumber","\\gdef\\@eqnsw{0}"),m("\\notag","\\nonumber"),C({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(t,e){throw new S(t.funcName+" valid only within array environment")}});var a1=K1;C({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(t,e){var{parser:r,funcName:a}=t,i=e[0];if(i.type!=="ordgroup")throw new S("Invalid environment name",i);for(var s="",u=0;u<i.body.length;++u)s+=O(i.body[u],"textord").text;if(a==="\\begin"){if(!a1.hasOwnProperty(s))throw new S("No such environment: "+s,i);var h=a1[s],{args:c,optArgs:g}=r.parseArguments("\\begin{"+s+"}",h),v={mode:r.mode,envName:s,parser:r},y=h.handler(v,c,g);r.expect("\\end",!1);var x=r.nextToken,w=O(r.parseFunction(),"environment");if(w.name!==s)throw new S("Mismatch: \\begin{"+s+"} matched by \\end{"+w.name+"}",x);return y}return{type:"environment",mode:r.mode,name:s,nameGroup:i}}});var i1=(t,e)=>{var r=t.font,a=e.withFont(r);return V(t.body,a)},n1=(t,e)=>{var r=t.font,a=e.withFont(r);return W(t.body,a)},o1={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};C({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(t,e)=>{var{parser:r,funcName:a}=t,i=Ne(e[0]),s=a;return s in o1&&(s=o1[s]),{type:"font",mode:r.mode,font:s.slice(1),body:i}},htmlBuilder:i1,mathmlBuilder:n1}),C({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(t,e)=>{var{parser:r}=t,a=e[0],i=F.isCharacterBox(a);return{type:"mclass",mode:r.mode,mclass:ze(a),body:[{type:"font",mode:r.mode,font:"boldsymbol",body:a}],isCharacterBox:i}}}),C({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(t,e)=>{var{parser:r,funcName:a,breakOnTokenText:i}=t,{mode:s}=r,u=r.parseExpression(!0,i),h="math"+a.slice(1);return{type:"font",mode:s,font:h,body:{type:"ordgroup",mode:r.mode,body:u}}},htmlBuilder:i1,mathmlBuilder:n1});var J1=(t,e)=>{var r=e;return t==="display"?r=r.id>=R.SCRIPT.id?r.text():R.DISPLAY:t==="text"&&r.size===R.DISPLAY.size?r=R.TEXT:t==="script"?r=R.SCRIPT:t==="scriptscript"&&(r=R.SCRIPTSCRIPT),r},yt=(t,e)=>{var r=J1(t.size,e.style),a=r.fracNum(),i=r.fracDen(),s;s=e.havingStyle(a);var u=V(t.numer,s,e);if(t.continued){var h=8.5/e.fontMetrics().ptPerEm,c=3.5/e.fontMetrics().ptPerEm;u.height=u.height<h?h:u.height,u.depth=u.depth<c?c:u.depth}s=e.havingStyle(i);var g=V(t.denom,s,e),v,y,x;t.hasBarLine?(t.barSize?(y=j(t.barSize,e),v=b.makeLineSpan("frac-line",e,y)):v=b.makeLineSpan("frac-line",e),y=v.height,x=v.height):(v=null,y=0,x=e.fontMetrics().defaultRuleThickness);var w,B,z;r.size===R.DISPLAY.size||t.size==="display"?(w=e.fontMetrics().num1,y>0?B=3*x:B=7*x,z=e.fontMetrics().denom1):(y>0?(w=e.fontMetrics().num2,B=x):(w=e.fontMetrics().num3,B=3*x),z=e.fontMetrics().denom2);var T;if(v){var D=e.fontMetrics().axisHeight;w-u.depth-(D+.5*y)<B&&(w+=B-(w-u.depth-(D+.5*y))),D-.5*y-(g.height-z)<B&&(z+=B-(D-.5*y-(g.height-z)));var q=-(D-.5*y);T=b.makeVList({positionType:"individualShift",children:[{type:"elem",elem:g,shift:z},{type:"elem",elem:v,shift:q},{type:"elem",elem:u,shift:-w}]},e)}else{var U=w-u.depth-(g.height-z);U<B&&(w+=.5*(B-U),z+=.5*(B-U)),T=b.makeVList({positionType:"individualShift",children:[{type:"elem",elem:g,shift:z},{type:"elem",elem:u,shift:-w}]},e)}s=e.havingStyle(r),T.height*=s.sizeMultiplier/e.sizeMultiplier,T.depth*=s.sizeMultiplier/e.sizeMultiplier;var I;r.size===R.DISPLAY.size?I=e.fontMetrics().delim1:r.size===R.SCRIPTSCRIPT.size?I=e.havingStyle(R.SCRIPT).fontMetrics().delim2:I=e.fontMetrics().delim2;var P,L;return t.leftDelim==null?P=ie(e,["mopen"]):P=z0.customSizedDelim(t.leftDelim,I,!0,e.havingStyle(r),t.mode,["mopen"]),t.continued?L=b.makeSpan([]):t.rightDelim==null?L=ie(e,["mclose"]):L=z0.customSizedDelim(t.rightDelim,I,!0,e.havingStyle(r),t.mode,["mclose"]),b.makeSpan(["mord"].concat(s.sizingClasses(e)),[P,b.makeSpan(["mfrac"],[T]),L],e)},xt=(t,e)=>{var r=new A.MathNode("mfrac",[W(t.numer,e),W(t.denom,e)]);if(!t.hasBarLine)r.setAttribute("linethickness","0px");else if(t.barSize){var a=j(t.barSize,e);r.setAttribute("linethickness",M(a))}var i=J1(t.size,e.style);if(i.size!==e.style.size){r=new A.MathNode("mstyle",[r]);var s=i.size===R.DISPLAY.size?"true":"false";r.setAttribute("displaystyle",s),r.setAttribute("scriptlevel","0")}if(t.leftDelim!=null||t.rightDelim!=null){var u=[];if(t.leftDelim!=null){var h=new A.MathNode("mo",[new A.TextNode(t.leftDelim.replace("\\",""))]);h.setAttribute("fence","true"),u.push(h)}if(u.push(r),t.rightDelim!=null){var c=new A.MathNode("mo",[new A.TextNode(t.rightDelim.replace("\\",""))]);c.setAttribute("fence","true"),u.push(c)}return zt(u)}return r};C({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(t,e)=>{var{parser:r,funcName:a}=t,i=e[0],s=e[1],u,h=null,c=null,g="auto";switch(a){case"\\dfrac":case"\\frac":case"\\tfrac":u=!0;break;case"\\\\atopfrac":u=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":u=!1,h="(",c=")";break;case"\\\\bracefrac":u=!1,h="\\{",c="\\}";break;case"\\\\brackfrac":u=!1,h="[",c="]";break;default:throw new Error("Unrecognized genfrac command")}switch(a){case"\\dfrac":case"\\dbinom":g="display";break;case"\\tfrac":case"\\tbinom":g="text";break}return{type:"genfrac",mode:r.mode,continued:!1,numer:i,denom:s,hasBarLine:u,leftDelim:h,rightDelim:c,size:g,barSize:null}},htmlBuilder:yt,mathmlBuilder:xt}),C({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(t,e)=>{var{parser:r,funcName:a}=t,i=e[0],s=e[1];return{type:"genfrac",mode:r.mode,continued:!0,numer:i,denom:s,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}}),C({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(t){var{parser:e,funcName:r,token:a}=t,i;switch(r){case"\\over":i="\\frac";break;case"\\choose":i="\\binom";break;case"\\atop":i="\\\\atopfrac";break;case"\\brace":i="\\\\bracefrac";break;case"\\brack":i="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:e.mode,replaceWith:i,token:a}}});var s1=["display","text","script","scriptscript"],l1=function(t){var e=null;return t.length>0&&(e=t,e=e==="."?null:e),e};C({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(t,e){var{parser:r}=t,a=e[4],i=e[5],s=Ne(e[0]),u=s.type==="atom"&&s.family==="open"?l1(s.text):null,h=Ne(e[1]),c=h.type==="atom"&&h.family==="close"?l1(h.text):null,g=O(e[2],"size"),v,y=null;g.isBlank?v=!0:(y=g.value,v=y.number>0);var x="auto",w=e[3];if(w.type==="ordgroup"){if(w.body.length>0){var B=O(w.body[0],"textord");x=s1[Number(B.text)]}}else w=O(w,"textord"),x=s1[Number(w.text)];return{type:"genfrac",mode:r.mode,numer:a,denom:i,continued:!1,hasBarLine:v,barSize:y,leftDelim:u,rightDelim:c,size:x}},htmlBuilder:yt,mathmlBuilder:xt}),C({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(t,e){var{parser:r,funcName:a,token:i}=t;return{type:"infix",mode:r.mode,replaceWith:"\\\\abovefrac",size:O(e[0],"size").value,token:i}}}),C({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(t,e)=>{var{parser:r,funcName:a}=t,i=e[0],s=xr(O(e[1],"infix").size),u=e[2],h=s.number>0;return{type:"genfrac",mode:r.mode,numer:i,denom:u,continued:!1,hasBarLine:h,barSize:s,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:yt,mathmlBuilder:xt});var er=(t,e)=>{var r=e.style,a,i;t.type==="supsub"?(a=t.sup?V(t.sup,e.havingStyle(r.sup()),e):V(t.sub,e.havingStyle(r.sub()),e),i=O(t.base,"horizBrace")):i=O(t,"horizBrace");var s=V(i.base,e.havingBaseStyle(R.DISPLAY)),u=D0.svgSpan(i,e),h;if(i.isOver?(h=b.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"kern",size:.1},{type:"elem",elem:u}]},e),h.children[0].children[0].children[1].classes.push("svg-align")):(h=b.makeVList({positionType:"bottom",positionData:s.depth+.1+u.height,children:[{type:"elem",elem:u},{type:"kern",size:.1},{type:"elem",elem:s}]},e),h.children[0].children[0].children[0].classes.push("svg-align")),a){var c=b.makeSpan(["mord",i.isOver?"mover":"munder"],[h],e);i.isOver?h=b.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:c},{type:"kern",size:.2},{type:"elem",elem:a}]},e):h=b.makeVList({positionType:"bottom",positionData:c.depth+.2+a.height+a.depth,children:[{type:"elem",elem:a},{type:"kern",size:.2},{type:"elem",elem:c}]},e)}return b.makeSpan(["mord",i.isOver?"mover":"munder"],[h],e)},Xa=(t,e)=>{var r=D0.mathMLnode(t.label);return new A.MathNode(t.isOver?"mover":"munder",[W(t.base,e),r])};C({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(t,e){var{parser:r,funcName:a}=t;return{type:"horizBrace",mode:r.mode,label:a,isOver:/^\\over/.test(a),base:e[0]}},htmlBuilder:er,mathmlBuilder:Xa}),C({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(t,e)=>{var{parser:r}=t,a=e[1],i=O(e[0],"url").url;return r.settings.isTrusted({command:"\\href",url:i})?{type:"href",mode:r.mode,href:i,body:K(a)}:r.formatUnsupportedCmd("\\href")},htmlBuilder:(t,e)=>{var r=e0(t.body,e,!1);return b.makeAnchor(t.href,[],r,e)},mathmlBuilder:(t,e)=>{var r=L0(t.body,e);return r instanceof m0||(r=new m0("mrow",[r])),r.setAttribute("href",t.href),r}}),C({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(t,e)=>{var{parser:r}=t,a=O(e[0],"url").url;if(!r.settings.isTrusted({command:"\\url",url:a}))return r.formatUnsupportedCmd("\\url");for(var i=[],s=0;s<a.length;s++){var u=a[s];u==="~"&&(u="\\textasciitilde"),i.push({type:"textord",mode:"text",text:u})}var h={type:"text",mode:r.mode,font:"\\texttt",body:i};return{type:"href",mode:r.mode,href:a,body:K(h)}}}),C({type:"hbox",names:["\\hbox"],props:{numArgs:1,argTypes:["text"],allowedInText:!0,primitive:!0},handler(t,e){var{parser:r}=t;return{type:"hbox",mode:r.mode,body:K(e[0])}},htmlBuilder(t,e){var r=e0(t.body,e,!1);return b.makeFragment(r)},mathmlBuilder(t,e){return new A.MathNode("mrow",s0(t.body,e))}}),C({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(t,e)=>{var{parser:r,funcName:a,token:i}=t,s=O(e[0],"raw").string,u=e[1];r.settings.strict&&r.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var h,c={};switch(a){case"\\htmlClass":c.class=s,h={command:"\\htmlClass",class:s};break;case"\\htmlId":c.id=s,h={command:"\\htmlId",id:s};break;case"\\htmlStyle":c.style=s,h={command:"\\htmlStyle",style:s};break;case"\\htmlData":{for(var g=s.split(","),v=0;v<g.length;v++){var y=g[v].split("=");if(y.length!==2)throw new S("Error parsing key-value for \\htmlData");c["data-"+y[0].trim()]=y[1].trim()}h={command:"\\htmlData",attributes:c};break}default:throw new Error("Unrecognized html command")}return r.settings.isTrusted(h)?{type:"html",mode:r.mode,attributes:c,body:K(u)}:r.formatUnsupportedCmd(a)},htmlBuilder:(t,e)=>{var r=e0(t.body,e,!1),a=["enclosing"];t.attributes.class&&a.push(...t.attributes.class.trim().split(/\s+/));var i=b.makeSpan(a,r,e);for(var s in t.attributes)s!=="class"&&t.attributes.hasOwnProperty(s)&&i.setAttribute(s,t.attributes[s]);return i},mathmlBuilder:(t,e)=>L0(t.body,e)}),C({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(t,e)=>{var{parser:r}=t;return{type:"htmlmathml",mode:r.mode,html:K(e[0]),mathml:K(e[1])}},htmlBuilder:(t,e)=>{var r=e0(t.html,e,!1);return b.makeFragment(r)},mathmlBuilder:(t,e)=>L0(t.mathml,e)});var rt=function(t){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(t))return{number:+t,unit:"bp"};var e=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t);if(!e)throw new S("Invalid size: '"+t+"' in \\includegraphics");var r={number:+(e[1]+e[2]),unit:e[3]};if(!z1(r))throw new S("Invalid unit: '"+r.unit+"' in \\includegraphics.");return r};C({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(t,e,r)=>{var{parser:a}=t,i={number:0,unit:"em"},s={number:.9,unit:"em"},u={number:0,unit:"em"},h="";if(r[0])for(var c=O(r[0],"raw").string,g=c.split(","),v=0;v<g.length;v++){var y=g[v].split("=");if(y.length===2){var x=y[1].trim();switch(y[0].trim()){case"alt":h=x;break;case"width":i=rt(x);break;case"height":s=rt(x);break;case"totalheight":u=rt(x);break;default:throw new S("Invalid key: '"+y[0]+"' in \\includegraphics.")}}}var w=O(e[0],"url").url;return h===""&&(h=w,h=h.replace(/^.*[\\/]/,""),h=h.substring(0,h.lastIndexOf("."))),a.settings.isTrusted({command:"\\includegraphics",url:w})?{type:"includegraphics",mode:a.mode,alt:h,width:i,height:s,totalheight:u,src:w}:a.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(t,e)=>{var r=j(t.height,e),a=0;t.totalheight.number>0&&(a=j(t.totalheight,e)-r);var i=0;t.width.number>0&&(i=j(t.width,e));var s={height:M(r+a)};i>0&&(s.width=M(i)),a>0&&(s.verticalAlign=M(-a));var u=new Xr(t.src,t.alt,s);return u.height=r,u.depth=a,u},mathmlBuilder:(t,e)=>{var r=new A.MathNode("mglyph",[]);r.setAttribute("alt",t.alt);var a=j(t.height,e),i=0;if(t.totalheight.number>0&&(i=j(t.totalheight,e)-a,r.setAttribute("valign",M(-i))),r.setAttribute("height",M(a+i)),t.width.number>0){var s=j(t.width,e);r.setAttribute("width",M(s))}return r.setAttribute("src",t.src),r}}),C({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(t,e){var{parser:r,funcName:a}=t,i=O(e[0],"size");if(r.settings.strict){var s=a[1]==="m",u=i.value.unit==="mu";s?(u||r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+a+" supports only mu units, "+("not "+i.value.unit+" units")),r.mode!=="math"&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+a+" works only in math mode")):u&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+a+" doesn't support mu units")}return{type:"kern",mode:r.mode,dimension:i.value}},htmlBuilder(t,e){return b.makeGlue(t.dimension,e)},mathmlBuilder(t,e){var r=j(t.dimension,e);return new A.SpaceNode(r)}}),C({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(t,e)=>{var{parser:r,funcName:a}=t,i=e[0];return{type:"lap",mode:r.mode,alignment:a.slice(5),body:i}},htmlBuilder:(t,e)=>{var r;t.alignment==="clap"?(r=b.makeSpan([],[V(t.body,e)]),r=b.makeSpan(["inner"],[r],e)):r=b.makeSpan(["inner"],[V(t.body,e)]);var a=b.makeSpan(["fix"],[]),i=b.makeSpan([t.alignment],[r,a],e),s=b.makeSpan(["strut"]);return s.style.height=M(i.height+i.depth),i.depth&&(s.style.verticalAlign=M(-i.depth)),i.children.unshift(s),i=b.makeSpan(["thinbox"],[i],e),b.makeSpan(["mord","vbox"],[i],e)},mathmlBuilder:(t,e)=>{var r=new A.MathNode("mpadded",[W(t.body,e)]);if(t.alignment!=="rlap"){var a=t.alignment==="llap"?"-1":"-0.5";r.setAttribute("lspace",a+"width")}return r.setAttribute("width","0px"),r}}),C({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(t,e){var{funcName:r,parser:a}=t,i=a.mode;a.switchMode("math");var s=r==="\\("?"\\)":"$",u=a.parseExpression(!1,s);return a.expect(s),a.switchMode(i),{type:"styling",mode:a.mode,style:"text",body:u}}}),C({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(t,e){throw new S("Mismatched "+t.funcName)}});var u1=(t,e)=>{switch(e.style.size){case R.DISPLAY.size:return t.display;case R.TEXT.size:return t.text;case R.SCRIPT.size:return t.script;case R.SCRIPTSCRIPT.size:return t.scriptscript;default:return t.text}};C({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(t,e)=>{var{parser:r}=t;return{type:"mathchoice",mode:r.mode,display:K(e[0]),text:K(e[1]),script:K(e[2]),scriptscript:K(e[3])}},htmlBuilder:(t,e)=>{var r=u1(t,e),a=e0(r,e,!1);return b.makeFragment(a)},mathmlBuilder:(t,e)=>{var r=u1(t,e);return L0(r,e)}});var tr=(t,e,r,a,i,s,u)=>{t=b.makeSpan([],[t]);var h=r&&F.isCharacterBox(r),c,g;if(e){var v=V(e,a.havingStyle(i.sup()),a);g={elem:v,kern:Math.max(a.fontMetrics().bigOpSpacing1,a.fontMetrics().bigOpSpacing3-v.depth)}}if(r){var y=V(r,a.havingStyle(i.sub()),a);c={elem:y,kern:Math.max(a.fontMetrics().bigOpSpacing2,a.fontMetrics().bigOpSpacing4-y.height)}}var x;if(g&&c){var w=a.fontMetrics().bigOpSpacing5+c.elem.height+c.elem.depth+c.kern+t.depth+u;x=b.makeVList({positionType:"bottom",positionData:w,children:[{type:"kern",size:a.fontMetrics().bigOpSpacing5},{type:"elem",elem:c.elem,marginLeft:M(-s)},{type:"kern",size:c.kern},{type:"elem",elem:t},{type:"kern",size:g.kern},{type:"elem",elem:g.elem,marginLeft:M(s)},{type:"kern",size:a.fontMetrics().bigOpSpacing5}]},a)}else if(c){var B=t.height-u;x=b.makeVList({positionType:"top",positionData:B,children:[{type:"kern",size:a.fontMetrics().bigOpSpacing5},{type:"elem",elem:c.elem,marginLeft:M(-s)},{type:"kern",size:c.kern},{type:"elem",elem:t}]},a)}else if(g){var z=t.depth+u;x=b.makeVList({positionType:"bottom",positionData:z,children:[{type:"elem",elem:t},{type:"kern",size:g.kern},{type:"elem",elem:g.elem,marginLeft:M(s)},{type:"kern",size:a.fontMetrics().bigOpSpacing5}]},a)}else return t;var T=[x];if(c&&s!==0&&!h){var D=b.makeSpan(["mspace"],[],a);D.style.marginRight=M(s),T.unshift(D)}return b.makeSpan(["mop","op-limits"],T,a)},rr=["\\smallint"],ee=(t,e)=>{var r,a,i=!1,s;t.type==="supsub"?(r=t.sup,a=t.sub,s=O(t.base,"op"),i=!0):s=O(t,"op");var u=e.style,h=!1;u.size===R.DISPLAY.size&&s.symbol&&!F.contains(rr,s.name)&&(h=!0);var c;if(s.symbol){var g=h?"Size2-Regular":"Size1-Regular",v="";if((s.name==="\\oiint"||s.name==="\\oiiint")&&(v=s.name.slice(1),s.name=v==="oiint"?"\\iint":"\\iiint"),c=b.makeSymbol(s.name,g,"math",e,["mop","op-symbol",h?"large-op":"small-op"]),v.length>0){var y=c.italic,x=b.staticSvg(v+"Size"+(h?"2":"1"),e);c=b.makeVList({positionType:"individualShift",children:[{type:"elem",elem:c,shift:0},{type:"elem",elem:x,shift:h?.08:0}]},e),s.name="\\"+v,c.classes.unshift("mop"),c.italic=y}}else if(s.body){var w=e0(s.body,e,!0);w.length===1&&w[0]instanceof g0?(c=w[0],c.classes[0]="mop"):c=b.makeSpan(["mop"],w,e)}else{for(var B=[],z=1;z<s.name.length;z++)B.push(b.mathsym(s.name[z],s.mode,e));c=b.makeSpan(["mop"],B,e)}var T=0,D=0;return(c instanceof g0||s.name==="\\oiint"||s.name==="\\oiiint")&&!s.suppressBaseShift&&(T=(c.height-c.depth)/2-e.fontMetrics().axisHeight,D=c.italic),i?tr(c,r,a,e,u,D,T):(T&&(c.style.position="relative",c.style.top=M(T)),c)},se=(t,e)=>{var r;if(t.symbol)r=new m0("mo",[p0(t.name,t.mode)]),F.contains(rr,t.name)&&r.setAttribute("largeop","false");else if(t.body)r=new m0("mo",s0(t.body,e));else{r=new m0("mi",[new ne(t.name.slice(1))]);var a=new m0("mo",[p0("","text")]);t.parentIsSupSub?r=new m0("mrow",[r,a]):r=I1([r,a])}return r},Wa={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};C({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","⋁","⋂","⋃","⨀","⨁","⨂","⨄","⨆"],props:{numArgs:0},handler:(t,e)=>{var{parser:r,funcName:a}=t,i=a;return i.length===1&&(i=Wa[i]),{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:i}},htmlBuilder:ee,mathmlBuilder:se}),C({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(t,e)=>{var{parser:r}=t,a=e[0];return{type:"op",mode:r.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:K(a)}},htmlBuilder:ee,mathmlBuilder:se});var Ya={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};C({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(t){var{parser:e,funcName:r}=t;return{type:"op",mode:e.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:ee,mathmlBuilder:se}),C({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(t){var{parser:e,funcName:r}=t;return{type:"op",mode:e.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:ee,mathmlBuilder:se}),C({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0},handler(t){var{parser:e,funcName:r}=t,a=r;return a.length===1&&(a=Ya[a]),{type:"op",mode:e.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:a}},htmlBuilder:ee,mathmlBuilder:se});var ar=(t,e)=>{var r,a,i=!1,s;t.type==="supsub"?(r=t.sup,a=t.sub,s=O(t.base,"operatorname"),i=!0):s=O(t,"operatorname");var u;if(s.body.length>0){for(var h=s.body.map(y=>{var x=y.text;return typeof x=="string"?{type:"textord",mode:y.mode,text:x}:y}),c=e0(h,e.withFont("mathrm"),!0),g=0;g<c.length;g++){var v=c[g];v instanceof g0&&(v.text=v.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}u=b.makeSpan(["mop"],c,e)}else u=b.makeSpan(["mop"],[],e);return i?tr(u,r,a,e,e.style,0,0):u},$a=(t,e)=>{for(var r=s0(t.body,e.withFont("mathrm")),a=!0,i=0;i<r.length;i++){var s=r[i];if(!(s instanceof A.SpaceNode))if(s instanceof A.MathNode)switch(s.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var u=s.children[0];s.children.length===1&&u instanceof A.TextNode?u.text=u.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):a=!1;break}default:a=!1}else a=!1}if(a){var h=r.map(v=>v.toText()).join("");r=[new A.TextNode(h)]}var c=new A.MathNode("mi",r);c.setAttribute("mathvariant","normal");var g=new A.MathNode("mo",[p0("","text")]);return t.parentIsSupSub?new A.MathNode("mrow",[c,g]):A.newDocumentFragment([c,g])};C({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(t,e)=>{var{parser:r,funcName:a}=t,i=e[0];return{type:"operatorname",mode:r.mode,body:K(i),alwaysHandleSupSub:a==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:ar,mathmlBuilder:$a}),m("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@"),W0({type:"ordgroup",htmlBuilder(t,e){return t.semisimple?b.makeFragment(e0(t.body,e,!1)):b.makeSpan(["mord"],e0(t.body,e,!0),e)},mathmlBuilder(t,e){return L0(t.body,e,!0)}}),C({type:"overline",names:["\\overline"],props:{numArgs:1},handler(t,e){var{parser:r}=t,a=e[0];return{type:"overline",mode:r.mode,body:a}},htmlBuilder(t,e){var r=V(t.body,e.havingCrampedStyle()),a=b.makeLineSpan("overline-line",e),i=e.fontMetrics().defaultRuleThickness,s=b.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:3*i},{type:"elem",elem:a},{type:"kern",size:i}]},e);return b.makeSpan(["mord","overline"],[s],e)},mathmlBuilder(t,e){var r=new A.MathNode("mo",[new A.TextNode("‾")]);r.setAttribute("stretchy","true");var a=new A.MathNode("mover",[W(t.body,e),r]);return a.setAttribute("accent","true"),a}}),C({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(t,e)=>{var{parser:r}=t,a=e[0];return{type:"phantom",mode:r.mode,body:K(a)}},htmlBuilder:(t,e)=>{var r=e0(t.body,e.withPhantom(),!1);return b.makeFragment(r)},mathmlBuilder:(t,e)=>{var r=s0(t.body,e);return new A.MathNode("mphantom",r)}}),C({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(t,e)=>{var{parser:r}=t,a=e[0];return{type:"hphantom",mode:r.mode,body:a}},htmlBuilder:(t,e)=>{var r=b.makeSpan([],[V(t.body,e.withPhantom())]);if(r.height=0,r.depth=0,r.children)for(var a=0;a<r.children.length;a++)r.children[a].height=0,r.children[a].depth=0;return r=b.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r}]},e),b.makeSpan(["mord"],[r],e)},mathmlBuilder:(t,e)=>{var r=s0(K(t.body),e),a=new A.MathNode("mphantom",r),i=new A.MathNode("mpadded",[a]);return i.setAttribute("height","0px"),i.setAttribute("depth","0px"),i}}),C({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(t,e)=>{var{parser:r}=t,a=e[0];return{type:"vphantom",mode:r.mode,body:a}},htmlBuilder:(t,e)=>{var r=b.makeSpan(["inner"],[V(t.body,e.withPhantom())]),a=b.makeSpan(["fix"],[]);return b.makeSpan(["mord","rlap"],[r,a],e)},mathmlBuilder:(t,e)=>{var r=s0(K(t.body),e),a=new A.MathNode("mphantom",r),i=new A.MathNode("mpadded",[a]);return i.setAttribute("width","0px"),i}}),C({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(t,e){var{parser:r}=t,a=O(e[0],"size").value,i=e[1];return{type:"raisebox",mode:r.mode,dy:a,body:i}},htmlBuilder(t,e){var r=V(t.body,e),a=j(t.dy,e);return b.makeVList({positionType:"shift",positionData:-a,children:[{type:"elem",elem:r}]},e)},mathmlBuilder(t,e){var r=new A.MathNode("mpadded",[W(t.body,e)]),a=t.dy.number+t.dy.unit;return r.setAttribute("voffset",a),r}}),C({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0},handler(t){var{parser:e}=t;return{type:"internal",mode:e.mode}}}),C({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler(t,e,r){var{parser:a}=t,i=r[0],s=O(e[0],"size"),u=O(e[1],"size");return{type:"rule",mode:a.mode,shift:i&&O(i,"size").value,width:s.value,height:u.value}},htmlBuilder(t,e){var r=b.makeSpan(["mord","rule"],[],e),a=j(t.width,e),i=j(t.height,e),s=t.shift?j(t.shift,e):0;return r.style.borderRightWidth=M(a),r.style.borderTopWidth=M(i),r.style.bottom=M(s),r.width=a,r.height=i+s,r.depth=-s,r.maxFontSize=i*1.125*e.sizeMultiplier,r},mathmlBuilder(t,e){var r=j(t.width,e),a=j(t.height,e),i=t.shift?j(t.shift,e):0,s=e.color&&e.getColor()||"black",u=new A.MathNode("mspace");u.setAttribute("mathbackground",s),u.setAttribute("width",M(r)),u.setAttribute("height",M(a));var h=new A.MathNode("mpadded",[u]);return i>=0?h.setAttribute("height",M(i)):(h.setAttribute("height",M(i)),h.setAttribute("depth",M(-i))),h.setAttribute("voffset",M(i)),h}});function ir(t,e,r){for(var a=e0(t,e,!1),i=e.sizeMultiplier/r.sizeMultiplier,s=0;s<a.length;s++){var u=a[s].classes.indexOf("sizing");u<0?Array.prototype.push.apply(a[s].classes,e.sizingClasses(r)):a[s].classes[u+1]==="reset-size"+e.size&&(a[s].classes[u+1]="reset-size"+r.size),a[s].height*=i,a[s].depth*=i}return b.makeFragment(a)}var h1=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],_a=(t,e)=>{var r=e.havingSize(t.size);return ir(t.body,r,e)};C({type:"sizing",names:h1,props:{numArgs:0,allowedInText:!0},handler:(t,e)=>{var{breakOnTokenText:r,funcName:a,parser:i}=t,s=i.parseExpression(!1,r);return{type:"sizing",mode:i.mode,size:h1.indexOf(a)+1,body:s}},htmlBuilder:_a,mathmlBuilder:(t,e)=>{var r=e.havingSize(t.size),a=s0(t.body,r),i=new A.MathNode("mstyle",a);return i.setAttribute("mathsize",M(r.sizeMultiplier)),i}}),C({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(t,e,r)=>{var{parser:a}=t,i=!1,s=!1,u=r[0]&&O(r[0],"ordgroup");if(u)for(var h="",c=0;c<u.body.length;++c){var g=u.body[c];if(h=g.text,h==="t")i=!0;else if(h==="b")s=!0;else{i=!1,s=!1;break}}else i=!0,s=!0;var v=e[0];return{type:"smash",mode:a.mode,body:v,smashHeight:i,smashDepth:s}},htmlBuilder:(t,e)=>{var r=b.makeSpan([],[V(t.body,e)]);if(!t.smashHeight&&!t.smashDepth)return r;if(t.smashHeight&&(r.height=0,r.children))for(var a=0;a<r.children.length;a++)r.children[a].height=0;if(t.smashDepth&&(r.depth=0,r.children))for(var i=0;i<r.children.length;i++)r.children[i].depth=0;var s=b.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r}]},e);return b.makeSpan(["mord"],[s],e)},mathmlBuilder:(t,e)=>{var r=new A.MathNode("mpadded",[W(t.body,e)]);return t.smashHeight&&r.setAttribute("height","0px"),t.smashDepth&&r.setAttribute("depth","0px"),r}}),C({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(t,e,r){var{parser:a}=t,i=r[0],s=e[0];return{type:"sqrt",mode:a.mode,body:s,index:i}},htmlBuilder(t,e){var r=V(t.body,e.havingCrampedStyle());r.height===0&&(r.height=e.fontMetrics().xHeight),r=b.wrapFragment(r,e);var a=e.fontMetrics(),i=a.defaultRuleThickness,s=i;e.style.id<R.TEXT.id&&(s=e.fontMetrics().xHeight);var u=i+s/4,h=r.height+r.depth+u+i,{span:c,ruleWidth:g,advanceWidth:v}=z0.sqrtImage(h,e),y=c.height-g;y>r.height+r.depth+u&&(u=(u+y-r.height-r.depth)/2);var x=c.height-r.height-u-g;r.style.paddingLeft=M(v);var w=b.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:-(r.height+x)},{type:"elem",elem:c},{type:"kern",size:g}]},e);if(t.index){var B=e.havingStyle(R.SCRIPTSCRIPT),z=V(t.index,B,e),T=.6*(w.height-w.depth),D=b.makeVList({positionType:"shift",positionData:-T,children:[{type:"elem",elem:z}]},e),q=b.makeSpan(["root"],[D]);return b.makeSpan(["mord","sqrt"],[q,w],e)}else return b.makeSpan(["mord","sqrt"],[w],e)},mathmlBuilder(t,e){var{body:r,index:a}=t;return a?new A.MathNode("mroot",[W(r,e),W(a,e)]):new A.MathNode("msqrt",[W(r,e)])}});var m1={display:R.DISPLAY,text:R.TEXT,script:R.SCRIPT,scriptscript:R.SCRIPTSCRIPT};C({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t,e){var{breakOnTokenText:r,funcName:a,parser:i}=t,s=i.parseExpression(!0,r),u=a.slice(1,a.length-5);return{type:"styling",mode:i.mode,style:u,body:s}},htmlBuilder(t,e){var r=m1[t.style],a=e.havingStyle(r).withFont("");return ir(t.body,a,e)},mathmlBuilder(t,e){var r=m1[t.style],a=e.havingStyle(r),i=s0(t.body,a),s=new A.MathNode("mstyle",i),u={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},h=u[t.style];return s.setAttribute("scriptlevel",h[0]),s.setAttribute("displaystyle",h[1]),s}});var ja=function(t,e){var r=t.base;if(r)if(r.type==="op"){var a=r.limits&&(e.style.size===R.DISPLAY.size||r.alwaysHandleSupSub);return a?ee:null}else if(r.type==="operatorname"){var i=r.alwaysHandleSupSub&&(e.style.size===R.DISPLAY.size||r.limits);return i?ar:null}else{if(r.type==="accent")return F.isCharacterBox(r.base)?ft:null;if(r.type==="horizBrace"){var s=!t.sub;return s===r.isOver?er:null}else return null}else return null};W0({type:"supsub",htmlBuilder(t,e){var r=ja(t,e);if(r)return r(t,e);var{base:a,sup:i,sub:s}=t,u=V(a,e),h,c,g=e.fontMetrics(),v=0,y=0,x=a&&F.isCharacterBox(a);if(i){var w=e.havingStyle(e.style.sup());h=V(i,w,e),x||(v=u.height-w.fontMetrics().supDrop*w.sizeMultiplier/e.sizeMultiplier)}if(s){var B=e.havingStyle(e.style.sub());c=V(s,B,e),x||(y=u.depth+B.fontMetrics().subDrop*B.sizeMultiplier/e.sizeMultiplier)}var z;e.style===R.DISPLAY?z=g.sup1:e.style.cramped?z=g.sup3:z=g.sup2;var T=e.sizeMultiplier,D=M(.5/g.ptPerEm/T),q=null;if(c){var U=t.base&&t.base.type==="op"&&t.base.name&&(t.base.name==="\\oiint"||t.base.name==="\\oiiint");(u instanceof g0||U)&&(q=M(-u.italic))}var I;if(h&&c){v=Math.max(v,z,h.depth+.25*g.xHeight),y=Math.max(y,g.sub2);var P=g.defaultRuleThickness,L=4*P;if(v-h.depth-(c.height-y)<L){y=L-(v-h.depth)+c.height;var G=.8*g.xHeight-(v-h.depth);G>0&&(v+=G,y-=G)}var X=[{type:"elem",elem:c,shift:y,marginRight:D,marginLeft:q},{type:"elem",elem:h,shift:-v,marginRight:D}];I=b.makeVList({positionType:"individualShift",children:X},e)}else if(c){y=Math.max(y,g.sub1,c.height-.8*g.xHeight);var A0=[{type:"elem",elem:c,marginLeft:q,marginRight:D}];I=b.makeVList({positionType:"shift",positionData:y,children:A0},e)}else if(h)v=Math.max(v,z,h.depth+.25*g.xHeight),I=b.makeVList({positionType:"shift",positionData:-v,children:[{type:"elem",elem:h,marginRight:D}]},e);else throw new Error("supsub must have either sup or sub.");var t0=ct(u,"right")||"mord";return b.makeSpan([t0],[u,b.makeSpan(["msupsub"],[I])],e)},mathmlBuilder(t,e){var r=!1,a,i;t.base&&t.base.type==="horizBrace"&&(i=!!t.sup,i===t.base.isOver&&(r=!0,a=t.base.isOver)),t.base&&(t.base.type==="op"||t.base.type==="operatorname")&&(t.base.parentIsSupSub=!0);var s=[W(t.base,e)];t.sub&&s.push(W(t.sub,e)),t.sup&&s.push(W(t.sup,e));var u;if(r)u=a?"mover":"munder";else if(t.sub)if(t.sup){var h=t.base;h&&h.type==="op"&&h.limits&&e.style===R.DISPLAY||h&&h.type==="operatorname"&&h.alwaysHandleSupSub&&(e.style===R.DISPLAY||h.limits)?u="munderover":u="msubsup"}else{var c=t.base;c&&c.type==="op"&&c.limits&&(e.style===R.DISPLAY||c.alwaysHandleSupSub)||c&&c.type==="operatorname"&&c.alwaysHandleSupSub&&(c.limits||e.style===R.DISPLAY)?u="munder":u="msub"}else{var g=t.base;g&&g.type==="op"&&g.limits&&(e.style===R.DISPLAY||g.alwaysHandleSupSub)||g&&g.type==="operatorname"&&g.alwaysHandleSupSub&&(g.limits||e.style===R.DISPLAY)?u="mover":u="msup"}return new A.MathNode(u,s)}}),W0({type:"atom",htmlBuilder(t,e){return b.mathsym(t.text,t.mode,e,["m"+t.family])},mathmlBuilder(t,e){var r=new A.MathNode("mo",[p0(t.text,t.mode)]);if(t.family==="bin"){var a=dt(t,e);a==="bold-italic"&&r.setAttribute("mathvariant",a)}else t.family==="punct"?r.setAttribute("separator","true"):(t.family==="open"||t.family==="close")&&r.setAttribute("stretchy","false");return r}});var c1={mi:"italic",mn:"normal",mtext:"normal"};W0({type:"mathord",htmlBuilder(t,e){return b.makeOrd(t,e,"mathord")},mathmlBuilder(t,e){var r=new A.MathNode("mi",[p0(t.text,t.mode,e)]),a=dt(t,e)||"italic";return a!==c1[r.type]&&r.setAttribute("mathvariant",a),r}}),W0({type:"textord",htmlBuilder(t,e){return b.makeOrd(t,e,"textord")},mathmlBuilder(t,e){var r=p0(t.text,t.mode,e),a=dt(t,e)||"normal",i;return t.mode==="text"?i=new A.MathNode("mtext",[r]):/[0-9]/.test(t.text)?i=new A.MathNode("mn",[r]):t.text==="\\prime"?i=new A.MathNode("mo",[r]):i=new A.MathNode("mi",[r]),a!==c1[i.type]&&i.setAttribute("mathvariant",a),i}});var at={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},it={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};W0({type:"spacing",htmlBuilder(t,e){if(it.hasOwnProperty(t.text)){var r=it[t.text].className||"";if(t.mode==="text"){var a=b.makeOrd(t,e,"textord");return a.classes.push(r),a}else return b.makeSpan(["mspace",r],[b.mathsym(t.text,t.mode,e)],e)}else{if(at.hasOwnProperty(t.text))return b.makeSpan(["mspace",at[t.text]],[],e);throw new S('Unknown type of space "'+t.text+'"')}},mathmlBuilder(t,e){var r;if(it.hasOwnProperty(t.text))r=new A.MathNode("mtext",[new A.TextNode(" ")]);else{if(at.hasOwnProperty(t.text))return new A.MathNode("mspace");throw new S('Unknown type of space "'+t.text+'"')}return r}});var p1=()=>{var t=new A.MathNode("mtd",[]);return t.setAttribute("width","50%"),t};W0({type:"tag",mathmlBuilder(t,e){var r=new A.MathNode("mtable",[new A.MathNode("mtr",[p1(),new A.MathNode("mtd",[L0(t.body,e)]),p1(),new A.MathNode("mtd",[L0(t.tag,e)])])]);return r.setAttribute("width","100%"),r}});var d1={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},g1={"\\textbf":"textbf","\\textmd":"textmd"},Za={"\\textit":"textit","\\textup":"textup"},f1=(t,e)=>{var r=t.font;return r?d1[r]?e.withTextFontFamily(d1[r]):g1[r]?e.withTextFontWeight(g1[r]):e.withTextFontShape(Za[r]):e};C({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(t,e){var{parser:r,funcName:a}=t,i=e[0];return{type:"text",mode:r.mode,body:K(i),font:a}},htmlBuilder(t,e){var r=f1(t,e),a=e0(t.body,r,!0);return b.makeSpan(["mord","text"],a,r)},mathmlBuilder(t,e){var r=f1(t,e);return L0(t.body,r)}}),C({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(t,e){var{parser:r}=t;return{type:"underline",mode:r.mode,body:e[0]}},htmlBuilder(t,e){var r=V(t.body,e),a=b.makeLineSpan("underline-line",e),i=e.fontMetrics().defaultRuleThickness,s=b.makeVList({positionType:"top",positionData:r.height,children:[{type:"kern",size:i},{type:"elem",elem:a},{type:"kern",size:3*i},{type:"elem",elem:r}]},e);return b.makeSpan(["mord","underline"],[s],e)},mathmlBuilder(t,e){var r=new A.MathNode("mo",[new A.TextNode("‾")]);r.setAttribute("stretchy","true");var a=new A.MathNode("munder",[W(t.body,e),r]);return a.setAttribute("accentunder","true"),a}}),C({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(t,e){var{parser:r}=t;return{type:"vcenter",mode:r.mode,body:e[0]}},htmlBuilder(t,e){var r=V(t.body,e),a=e.fontMetrics().axisHeight,i=.5*(r.height-a-(r.depth+a));return b.makeVList({positionType:"shift",positionData:i,children:[{type:"elem",elem:r}]},e)},mathmlBuilder(t,e){return new A.MathNode("mpadded",[W(t.body,e)],["vcenter"])}}),C({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(t,e,r){throw new S("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(t,e){for(var r=v1(t),a=[],i=e.havingStyle(e.style.text()),s=0;s<r.length;s++){var u=r[s];u==="~"&&(u="\\textasciitilde"),a.push(b.makeSymbol(u,"Typewriter-Regular",t.mode,i,["mord","texttt"]))}return b.makeSpan(["mord","text"].concat(i.sizingClasses(e)),b.tryCombineChars(a),i)},mathmlBuilder(t,e){var r=new A.TextNode(v1(t)),a=new A.MathNode("mtext",[r]);return a.setAttribute("mathvariant","monospace"),a}});var v1=t=>t.body.replace(/ /g,t.star?"␣":" "),I0=H1,nr="[ \r\n ]",Ka="\\\\[a-zA-Z@]+",Qa="\\\\[^\uD800-\uDFFF]",Ja="("+Ka+")"+nr+"*",e4="\\\\(\n|[ \r ]+\n?)[ \r ]*",wt="[̀-ͯ]",t4=new RegExp(wt+"+$"),r4="("+nr+"+)|"+(e4+"|")+"([!-\\[\\]-‧-豈-]"+(wt+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(wt+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+Ja)+("|"+Qa+")");class b1{constructor(e,r){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=e,this.settings=r,this.tokenRegex=new RegExp(r4,"g"),this.catcodes={"%":14,"~":13}}setCatcode(e,r){this.catcodes[e]=r}lex(){var e=this.input,r=this.tokenRegex.lastIndex;if(r===e.length)return new d0("EOF",new u0(this,r,r));var a=this.tokenRegex.exec(e);if(a===null||a.index!==r)throw new S("Unexpected character: '"+e[r]+"'",new d0(e[r],new u0(this,r,r+1)));var i=a[6]||a[3]||(a[2]?"\\ ":" ");if(this.catcodes[i]===14){var s=e.indexOf("\n",this.tokenRegex.lastIndex);return s===-1?(this.tokenRegex.lastIndex=e.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=s+1,this.lex()}return new d0(i,new u0(this,r,this.tokenRegex.lastIndex))}}class a4{constructor(e,r){e===void 0&&(e={}),r===void 0&&(r={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=r,this.builtins=e,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new S("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var e=this.undefStack.pop();for(var r in e)e.hasOwnProperty(r)&&(e[r]==null?delete this.current[r]:this.current[r]=e[r])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(e){return this.current.hasOwnProperty(e)||this.builtins.hasOwnProperty(e)}get(e){return this.current.hasOwnProperty(e)?this.current[e]:this.builtins[e]}set(e,r,a){if(a===void 0&&(a=!1),a){for(var i=0;i<this.undefStack.length;i++)delete this.undefStack[i][e];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][e]=r)}else{var s=this.undefStack[this.undefStack.length-1];s&&!s.hasOwnProperty(e)&&(s[e]=this.current[e])}r==null?delete this.current[e]:this.current[e]=r}}var i4=Q1;m("\\noexpand",function(t){var e=t.popToken();return t.isExpandable(e.text)&&(e.noexpand=!0,e.treatAsRelax=!0),{tokens:[e],numArgs:0}}),m("\\expandafter",function(t){var e=t.popToken();return t.expandOnce(!0),{tokens:[e],numArgs:0}}),m("\\@firstoftwo",function(t){var e=t.consumeArgs(2);return{tokens:e[0],numArgs:0}}),m("\\@secondoftwo",function(t){var e=t.consumeArgs(2);return{tokens:e[1],numArgs:0}}),m("\\@ifnextchar",function(t){var e=t.consumeArgs(3);t.consumeSpaces();var r=t.future();return e[0].length===1&&e[0][0].text===r.text?{tokens:e[1],numArgs:0}:{tokens:e[2],numArgs:0}}),m("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),m("\\TextOrMath",function(t){var e=t.consumeArgs(2);return t.mode==="text"?{tokens:e[0],numArgs:0}:{tokens:e[1],numArgs:0}});var y1={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};m("\\char",function(t){var e=t.popToken(),r,a="";if(e.text==="'")r=8,e=t.popToken();else if(e.text==='"')r=16,e=t.popToken();else if(e.text==="`")if(e=t.popToken(),e.text[0]==="\\")a=e.text.charCodeAt(1);else{if(e.text==="EOF")throw new S("\\char` missing argument");a=e.text.charCodeAt(0)}else r=10;if(r){if(a=y1[e.text],a==null||a>=r)throw new S("Invalid base-"+r+" digit "+e.text);for(var i;(i=y1[t.future().text])!=null&&i<r;)a*=r,a+=i,t.popToken()}return"\\@char{"+a+"}"});var nt=(t,e,r)=>{var a=t.consumeArg().tokens;if(a.length!==1)throw new S("\\newcommand's first argument must be a macro name");var i=a[0].text,s=t.isDefined(i);if(s&&!e)throw new S("\\newcommand{"+i+"} attempting to redefine "+(i+"; use \\renewcommand"));if(!s&&!r)throw new S("\\renewcommand{"+i+"} when command "+i+" does not yet exist; use \\newcommand");var u=0;if(a=t.consumeArg().tokens,a.length===1&&a[0].text==="["){for(var h="",c=t.expandNextToken();c.text!=="]"&&c.text!=="EOF";)h+=c.text,c=t.expandNextToken();if(!h.match(/^\s*[0-9]+\s*$/))throw new S("Invalid number of arguments: "+h);u=parseInt(h),a=t.consumeArg().tokens}return t.macros.set(i,{tokens:a,numArgs:u}),""};m("\\newcommand",t=>nt(t,!1,!0)),m("\\renewcommand",t=>nt(t,!0,!1)),m("\\providecommand",t=>nt(t,!0,!0)),m("\\message",t=>{var e=t.consumeArgs(1)[0];return console.log(e.reverse().map(r=>r.text).join("")),""}),m("\\errmessage",t=>{var e=t.consumeArgs(1)[0];return console.error(e.reverse().map(r=>r.text).join("")),""}),m("\\show",t=>{var e=t.popToken(),r=e.text;return console.log(e,t.macros.get(r),I0[r],Y.math[r],Y.text[r]),""}),m("\\bgroup","{"),m("\\egroup","}"),m("~","\\nobreakspace"),m("\\lq","`"),m("\\rq","'"),m("\\aa","\\r a"),m("\\AA","\\r A"),m("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}"),m("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),m("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}"),m("ℬ","\\mathscr{B}"),m("ℰ","\\mathscr{E}"),m("ℱ","\\mathscr{F}"),m("ℋ","\\mathscr{H}"),m("ℐ","\\mathscr{I}"),m("ℒ","\\mathscr{L}"),m("ℳ","\\mathscr{M}"),m("ℛ","\\mathscr{R}"),m("ℭ","\\mathfrak{C}"),m("ℌ","\\mathfrak{H}"),m("ℨ","\\mathfrak{Z}"),m("\\Bbbk","\\Bbb{k}"),m("·","\\cdotp"),m("\\llap","\\mathllap{\\textrm{#1}}"),m("\\rlap","\\mathrlap{\\textrm{#1}}"),m("\\clap","\\mathclap{\\textrm{#1}}"),m("\\mathstrut","\\vphantom{(}"),m("\\underbar","\\underline{\\text{#1}}"),m("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),m("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}"),m("\\ne","\\neq"),m("≠","\\neq"),m("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}"),m("∉","\\notin"),m("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}"),m("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}"),m("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}"),m("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}"),m("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}"),m("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}"),m("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}"),m("⟂","\\perp"),m("‼","\\mathclose{!\\mkern-0.8mu!}"),m("∌","\\notni"),m("⌜","\\ulcorner"),m("⌝","\\urcorner"),m("⌞","\\llcorner"),m("⌟","\\lrcorner"),m("©","\\copyright"),m("®","\\textregistered"),m("️","\\textregistered"),m("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}'),m("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}'),m("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}'),m("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}'),m("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}"),m("⋮","\\vdots"),m("\\varGamma","\\mathit{\\Gamma}"),m("\\varDelta","\\mathit{\\Delta}"),m("\\varTheta","\\mathit{\\Theta}"),m("\\varLambda","\\mathit{\\Lambda}"),m("\\varXi","\\mathit{\\Xi}"),m("\\varPi","\\mathit{\\Pi}"),m("\\varSigma","\\mathit{\\Sigma}"),m("\\varUpsilon","\\mathit{\\Upsilon}"),m("\\varPhi","\\mathit{\\Phi}"),m("\\varPsi","\\mathit{\\Psi}"),m("\\varOmega","\\mathit{\\Omega}"),m("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),m("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax"),m("\\boxed","\\fbox{$\\displaystyle{#1}$}"),m("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),m("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),m("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var x1={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};m("\\dots",function(t){var e="\\dotso",r=t.expandAfterFuture().text;return r in x1?e=x1[r]:(r.slice(0,4)==="\\not"||r in Y.math&&F.contains(["bin","rel"],Y.math[r].group))&&(e="\\dotsb"),e});var ot={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};m("\\dotso",function(t){var e=t.future().text;return e in ot?"\\ldots\\,":"\\ldots"}),m("\\dotsc",function(t){var e=t.future().text;return e in ot&&e!==","?"\\ldots\\,":"\\ldots"}),m("\\cdots",function(t){var e=t.future().text;return e in ot?"\\@cdots\\,":"\\@cdots"}),m("\\dotsb","\\cdots"),m("\\dotsm","\\cdots"),m("\\dotsi","\\!\\cdots"),m("\\dotsx","\\ldots\\,"),m("\\DOTSI","\\relax"),m("\\DOTSB","\\relax"),m("\\DOTSX","\\relax"),m("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),m("\\,","\\tmspace+{3mu}{.1667em}"),m("\\thinspace","\\,"),m("\\>","\\mskip{4mu}"),m("\\:","\\tmspace+{4mu}{.2222em}"),m("\\medspace","\\:"),m("\\;","\\tmspace+{5mu}{.2777em}"),m("\\thickspace","\\;"),m("\\!","\\tmspace-{3mu}{.1667em}"),m("\\negthinspace","\\!"),m("\\negmedspace","\\tmspace-{4mu}{.2222em}"),m("\\negthickspace","\\tmspace-{5mu}{.277em}"),m("\\enspace","\\kern.5em "),m("\\enskip","\\hskip.5em\\relax"),m("\\quad","\\hskip1em\\relax"),m("\\qquad","\\hskip2em\\relax"),m("\\tag","\\@ifstar\\tag@literal\\tag@paren"),m("\\tag@paren","\\tag@literal{({#1})}"),m("\\tag@literal",t=>{if(t.macros.get("\\df@tag"))throw new S("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),m("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),m("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),m("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),m("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),m("\\newline","\\\\\\relax"),m("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var w1=M(k0["Main-Regular"][84][1]-.7*k0["Main-Regular"][65][1]);m("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+w1+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),m("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+w1+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),m("\\hspace","\\@ifstar\\@hspacer\\@hspace"),m("\\@hspace","\\hskip #1\\relax"),m("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),m("\\ordinarycolon",":"),m("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),m("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),m("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),m("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),m("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),m("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),m("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),m("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),m("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),m("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),m("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),m("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),m("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),m("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),m("∷","\\dblcolon"),m("∹","\\eqcolon"),m("≔","\\coloneqq"),m("≕","\\eqqcolon"),m("⩴","\\Coloneqq"),m("\\ratio","\\vcentcolon"),m("\\coloncolon","\\dblcolon"),m("\\colonequals","\\coloneqq"),m("\\coloncolonequals","\\Coloneqq"),m("\\equalscolon","\\eqqcolon"),m("\\equalscoloncolon","\\Eqqcolon"),m("\\colonminus","\\coloneq"),m("\\coloncolonminus","\\Coloneq"),m("\\minuscolon","\\eqcolon"),m("\\minuscoloncolon","\\Eqcolon"),m("\\coloncolonapprox","\\Colonapprox"),m("\\coloncolonsim","\\Colonsim"),m("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),m("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),m("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),m("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),m("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}"),m("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),m("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),m("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}"),m("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}"),m("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}"),m("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}"),m("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}"),m("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}"),m("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}"),m("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}"),m("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}"),m("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}"),m("\\nleqq","\\html@mathml{\\@nleqq}{≰}"),m("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}"),m("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}"),m("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}"),m("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}"),m("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}"),m("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}"),m("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}"),m("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}"),m("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}"),m("\\imath","\\html@mathml{\\@imath}{ı}"),m("\\jmath","\\html@mathml{\\@jmath}{ȷ}"),m("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}"),m("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}"),m("⟦","\\llbracket"),m("⟧","\\rrbracket"),m("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}"),m("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}"),m("⦃","\\lBrace"),m("⦄","\\rBrace"),m("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}"),m("⦵","\\minuso"),m("\\darr","\\downarrow"),m("\\dArr","\\Downarrow"),m("\\Darr","\\Downarrow"),m("\\lang","\\langle"),m("\\rang","\\rangle"),m("\\uarr","\\uparrow"),m("\\uArr","\\Uparrow"),m("\\Uarr","\\Uparrow"),m("\\N","\\mathbb{N}"),m("\\R","\\mathbb{R}"),m("\\Z","\\mathbb{Z}"),m("\\alef","\\aleph"),m("\\alefsym","\\aleph"),m("\\Alpha","\\mathrm{A}"),m("\\Beta","\\mathrm{B}"),m("\\bull","\\bullet"),m("\\Chi","\\mathrm{X}"),m("\\clubs","\\clubsuit"),m("\\cnums","\\mathbb{C}"),m("\\Complex","\\mathbb{C}"),m("\\Dagger","\\ddagger"),m("\\diamonds","\\diamondsuit"),m("\\empty","\\emptyset"),m("\\Epsilon","\\mathrm{E}"),m("\\Eta","\\mathrm{H}"),m("\\exist","\\exists"),m("\\harr","\\leftrightarrow"),m("\\hArr","\\Leftrightarrow"),m("\\Harr","\\Leftrightarrow"),m("\\hearts","\\heartsuit"),m("\\image","\\Im"),m("\\infin","\\infty"),m("\\Iota","\\mathrm{I}"),m("\\isin","\\in"),m("\\Kappa","\\mathrm{K}"),m("\\larr","\\leftarrow"),m("\\lArr","\\Leftarrow"),m("\\Larr","\\Leftarrow"),m("\\lrarr","\\leftrightarrow"),m("\\lrArr","\\Leftrightarrow"),m("\\Lrarr","\\Leftrightarrow"),m("\\Mu","\\mathrm{M}"),m("\\natnums","\\mathbb{N}"),m("\\Nu","\\mathrm{N}"),m("\\Omicron","\\mathrm{O}"),m("\\plusmn","\\pm"),m("\\rarr","\\rightarrow"),m("\\rArr","\\Rightarrow"),m("\\Rarr","\\Rightarrow"),m("\\real","\\Re"),m("\\reals","\\mathbb{R}"),m("\\Reals","\\mathbb{R}"),m("\\Rho","\\mathrm{P}"),m("\\sdot","\\cdot"),m("\\sect","\\S"),m("\\spades","\\spadesuit"),m("\\sub","\\subset"),m("\\sube","\\subseteq"),m("\\supe","\\supseteq"),m("\\Tau","\\mathrm{T}"),m("\\thetasym","\\vartheta"),m("\\weierp","\\wp"),m("\\Zeta","\\mathrm{Z}"),m("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),m("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),m("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),m("\\bra","\\mathinner{\\langle{#1}|}"),m("\\ket","\\mathinner{|{#1}\\rangle}"),m("\\braket","\\mathinner{\\langle{#1}\\rangle}"),m("\\Bra","\\left\\langle#1\\right|"),m("\\Ket","\\left|#1\\right\\rangle");var k1=t=>e=>{var r=e.consumeArg().tokens,a=e.consumeArg().tokens,i=e.consumeArg().tokens,s=e.consumeArg().tokens,u=e.macros.get("|"),h=e.macros.get("\\|");e.macros.beginGroup();var c=y=>x=>{t&&(x.macros.set("|",u),i.length&&x.macros.set("\\|",h));var w=y;if(!y&&i.length){var B=x.future();B.text==="|"&&(x.popToken(),w=!0)}return{tokens:w?i:a,numArgs:0}};e.macros.set("|",c(!1)),i.length&&e.macros.set("\\|",c(!0));var g=e.consumeArg().tokens,v=e.expandTokens([...s,...g,...r]);return e.macros.endGroup(),{tokens:v.reverse(),numArgs:0}};m("\\bra@ket",k1(!1)),m("\\bra@set",k1(!0)),m("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}"),m("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}"),m("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}"),m("\\angln","{\\angl n}"),m("\\blue","\\textcolor{##6495ed}{#1}"),m("\\orange","\\textcolor{##ffa500}{#1}"),m("\\pink","\\textcolor{##ff00af}{#1}"),m("\\red","\\textcolor{##df0030}{#1}"),m("\\green","\\textcolor{##28ae7b}{#1}"),m("\\gray","\\textcolor{gray}{#1}"),m("\\purple","\\textcolor{##9d38bd}{#1}"),m("\\blueA","\\textcolor{##ccfaff}{#1}"),m("\\blueB","\\textcolor{##80f6ff}{#1}"),m("\\blueC","\\textcolor{##63d9ea}{#1}"),m("\\blueD","\\textcolor{##11accd}{#1}"),m("\\blueE","\\textcolor{##0c7f99}{#1}"),m("\\tealA","\\textcolor{##94fff5}{#1}"),m("\\tealB","\\textcolor{##26edd5}{#1}"),m("\\tealC","\\textcolor{##01d1c1}{#1}"),m("\\tealD","\\textcolor{##01a995}{#1}"),m("\\tealE","\\textcolor{##208170}{#1}"),m("\\greenA","\\textcolor{##b6ffb0}{#1}"),m("\\greenB","\\textcolor{##8af281}{#1}"),m("\\greenC","\\textcolor{##74cf70}{#1}"),m("\\greenD","\\textcolor{##1fab54}{#1}"),m("\\greenE","\\textcolor{##0d923f}{#1}"),m("\\goldA","\\textcolor{##ffd0a9}{#1}"),m("\\goldB","\\textcolor{##ffbb71}{#1}"),m("\\goldC","\\textcolor{##ff9c39}{#1}"),m("\\goldD","\\textcolor{##e07d10}{#1}"),m("\\goldE","\\textcolor{##a75a05}{#1}"),m("\\redA","\\textcolor{##fca9a9}{#1}"),m("\\redB","\\textcolor{##ff8482}{#1}"),m("\\redC","\\textcolor{##f9685d}{#1}"),m("\\redD","\\textcolor{##e84d39}{#1}"),m("\\redE","\\textcolor{##bc2612}{#1}"),m("\\maroonA","\\textcolor{##ffbde0}{#1}"),m("\\maroonB","\\textcolor{##ff92c6}{#1}"),m("\\maroonC","\\textcolor{##ed5fa6}{#1}"),m("\\maroonD","\\textcolor{##ca337c}{#1}"),m("\\maroonE","\\textcolor{##9e034e}{#1}"),m("\\purpleA","\\textcolor{##ddd7ff}{#1}"),m("\\purpleB","\\textcolor{##c6b9fc}{#1}"),m("\\purpleC","\\textcolor{##aa87ff}{#1}"),m("\\purpleD","\\textcolor{##7854ab}{#1}"),m("\\purpleE","\\textcolor{##543b78}{#1}"),m("\\mintA","\\textcolor{##f5f9e8}{#1}"),m("\\mintB","\\textcolor{##edf2df}{#1}"),m("\\mintC","\\textcolor{##e0e5cc}{#1}"),m("\\grayA","\\textcolor{##f6f7f7}{#1}"),m("\\grayB","\\textcolor{##f0f1f2}{#1}"),m("\\grayC","\\textcolor{##e3e5e6}{#1}"),m("\\grayD","\\textcolor{##d6d8da}{#1}"),m("\\grayE","\\textcolor{##babec2}{#1}"),m("\\grayF","\\textcolor{##888d93}{#1}"),m("\\grayG","\\textcolor{##626569}{#1}"),m("\\grayH","\\textcolor{##3b3e40}{#1}"),m("\\grayI","\\textcolor{##21242c}{#1}"),m("\\kaBlue","\\textcolor{##314453}{#1}"),m("\\kaGreen","\\textcolor{##71B307}{#1}");var or={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class n4{constructor(e,r,a){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=r,this.expansionCount=0,this.feed(e),this.macros=new a4(i4,r.macros),this.mode=a,this.stack=[]}feed(e){this.lexer=new b1(e,this.settings)}switchMode(e){this.mode=e}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(e){this.stack.push(e)}pushTokens(e){this.stack.push(...e)}scanArgument(e){var r,a,i;if(e){if(this.consumeSpaces(),this.future().text!=="[")return null;r=this.popToken(),{tokens:i,end:a}=this.consumeArg(["]"])}else({tokens:i,start:r,end:a}=this.consumeArg());return this.pushToken(new d0("EOF",a.loc)),this.pushTokens(i),r.range(a,"")}consumeSpaces(){for(;;){var e=this.future();if(e.text===" ")this.stack.pop();else break}}consumeArg(e){var r=[],a=e&&e.length>0;a||this.consumeSpaces();var i=this.future(),s,u=0,h=0;do{if(s=this.popToken(),r.push(s),s.text==="{")++u;else if(s.text==="}"){if(--u,u===-1)throw new S("Extra }",s)}else if(s.text==="EOF")throw new S("Unexpected end of input in a macro argument, expected '"+(e&&a?e[h]:"}")+"'",s);if(e&&a)if((u===0||u===1&&e[h]==="{")&&s.text===e[h]){if(++h,h===e.length){r.splice(-h,h);break}}else h=0}while(u!==0||a);return i.text==="{"&&r[r.length-1].text==="}"&&(r.pop(),r.shift()),r.reverse(),{tokens:r,start:i,end:s}}consumeArgs(e,r){if(r){if(r.length!==e+1)throw new S("The length of delimiters doesn't match the number of args!");for(var a=r[0],i=0;i<a.length;i++){var s=this.popToken();if(a[i]!==s.text)throw new S("Use of the macro doesn't match its definition",s)}}for(var u=[],h=0;h<e;h++)u.push(this.consumeArg(r&&r[h+1]).tokens);return u}countExpansion(e){if(this.expansionCount+=e,this.expansionCount>this.settings.maxExpand)throw new S("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(e){var r=this.popToken(),a=r.text,i=r.noexpand?null:this._getExpansion(a);if(i==null||e&&i.unexpandable){if(e&&i==null&&a[0]==="\\"&&!this.isDefined(a))throw new S("Undefined control sequence: "+a);return this.pushToken(r),!1}this.countExpansion(1);var s=i.tokens,u=this.consumeArgs(i.numArgs,i.delimiters);if(i.numArgs){s=s.slice();for(var h=s.length-1;h>=0;--h){var c=s[h];if(c.text==="#"){if(h===0)throw new S("Incomplete placeholder at end of macro body",c);if(c=s[--h],c.text==="#")s.splice(h+1,1);else if(/^[1-9]$/.test(c.text))s.splice(h,2,...u[+c.text-1]);else throw new S("Not a valid argument number",c)}}}return this.pushTokens(s),s.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){var e=this.stack.pop();return e.treatAsRelax&&(e.text="\\relax"),e}throw new Error}expandMacro(e){return this.macros.has(e)?this.expandTokens([new d0(e)]):void 0}expandTokens(e){var r=[],a=this.stack.length;for(this.pushTokens(e);this.stack.length>a;)if(this.expandOnce(!0)===!1){var i=this.stack.pop();i.treatAsRelax&&(i.noexpand=!1,i.treatAsRelax=!1),r.push(i)}return this.countExpansion(r.length),r}expandMacroAsText(e){var r=this.expandMacro(e);return r&&r.map(a=>a.text).join("")}_getExpansion(e){var r=this.macros.get(e);if(r==null)return r;if(e.length===1){var a=this.lexer.catcodes[e];if(a!=null&&a!==13)return}var i=typeof r=="function"?r(this):r;if(typeof i=="string"){var s=0;if(i.indexOf("#")!==-1)for(var u=i.replace(/##/g,"");u.indexOf("#"+(s+1))!==-1;)++s;for(var h=new b1(i,this.settings),c=[],g=h.lex();g.text!=="EOF";)c.push(g),g=h.lex();c.reverse();var v={tokens:c,numArgs:s};return v}return i}isDefined(e){return this.macros.has(e)||I0.hasOwnProperty(e)||Y.math.hasOwnProperty(e)||Y.text.hasOwnProperty(e)||or.hasOwnProperty(e)}isExpandable(e){var r=this.macros.get(e);return r!=null?typeof r=="string"||typeof r=="function"||!r.unexpandable:I0.hasOwnProperty(e)&&!I0[e].primitive}}var A1=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,Se=Object.freeze({"₊":"+","₋":"-","₌":"=","₍":"(","₎":")","₀":"0","₁":"1","₂":"2","₃":"3","₄":"4","₅":"5","₆":"6","₇":"7","₈":"8","₉":"9","ₐ":"a","ₑ":"e","ₕ":"h","ᵢ":"i","ⱼ":"j","ₖ":"k","ₗ":"l","ₘ":"m","ₙ":"n","ₒ":"o","ₚ":"p","ᵣ":"r","ₛ":"s","ₜ":"t","ᵤ":"u","ᵥ":"v","ₓ":"x","ᵦ":"β","ᵧ":"γ","ᵨ":"ρ","ᵩ":"ϕ","ᵪ":"χ","⁺":"+","⁻":"-","⁼":"=","⁽":"(","⁾":")","⁰":"0","¹":"1","²":"2","³":"3","⁴":"4","⁵":"5","⁶":"6","⁷":"7","⁸":"8","⁹":"9","ᴬ":"A","ᴮ":"B","ᴰ":"D","ᴱ":"E","ᴳ":"G","ᴴ":"H","ᴵ":"I","ᴶ":"J","ᴷ":"K","ᴸ":"L","ᴹ":"M","ᴺ":"N","ᴼ":"O","ᴾ":"P","ᴿ":"R","ᵀ":"T","ᵁ":"U","ⱽ":"V","ᵂ":"W","ᵃ":"a","ᵇ":"b","ᶜ":"c","ᵈ":"d","ᵉ":"e","ᶠ":"f","ᵍ":"g",ʰ:"h","ⁱ":"i",ʲ:"j","ᵏ":"k",ˡ:"l","ᵐ":"m",ⁿ:"n","ᵒ":"o","ᵖ":"p",ʳ:"r",ˢ:"s","ᵗ":"t","ᵘ":"u","ᵛ":"v",ʷ:"w",ˣ:"x",ʸ:"y","ᶻ":"z","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),st={"́":{text:"\\'",math:"\\acute"},"̀":{text:"\\`",math:"\\grave"},"̈":{text:'\\"',math:"\\ddot"},"̃":{text:"\\~",math:"\\tilde"},"̄":{text:"\\=",math:"\\bar"},"̆":{text:"\\u",math:"\\breve"},"̌":{text:"\\v",math:"\\check"},"̂":{text:"\\^",math:"\\hat"},"̇":{text:"\\.",math:"\\dot"},"̊":{text:"\\r",math:"\\mathring"},"̋":{text:"\\H"},"̧":{text:"\\c"}},S1={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};class Oe{constructor(e,r){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new n4(e,r,this.mode),this.settings=r,this.leftrightDepth=0}expect(e,r){if(r===void 0&&(r=!0),this.fetch().text!==e)throw new S("Expected '"+e+"', got '"+this.fetch().text+"'",this.fetch());r&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(e){this.mode=e,this.gullet.switchMode(e)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var e=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),e}finally{this.gullet.endGroups()}}subparse(e){var r=this.nextToken;this.consume(),this.gullet.pushToken(new d0("}")),this.gullet.pushTokens(e);var a=this.parseExpression(!1);return this.expect("}"),this.nextToken=r,a}parseExpression(e,r){for(var a=[];;){this.mode==="math"&&this.consumeSpaces();var i=this.fetch();if(Oe.endOfExpression.indexOf(i.text)!==-1||r&&i.text===r||e&&I0[i.text]&&I0[i.text].infix)break;var s=this.parseAtom(r);if(s){if(s.type==="internal")continue}else break;a.push(s)}return this.mode==="text"&&this.formLigatures(a),this.handleInfixNodes(a)}handleInfixNodes(e){for(var r=-1,a,i=0;i<e.length;i++)if(e[i].type==="infix"){if(r!==-1)throw new S("only one infix operator per group",e[i].token);r=i,a=e[i].replaceWith}if(r!==-1&&a){var s,u,h=e.slice(0,r),c=e.slice(r+1);h.length===1&&h[0].type==="ordgroup"?s=h[0]:s={type:"ordgroup",mode:this.mode,body:h},c.length===1&&c[0].type==="ordgroup"?u=c[0]:u={type:"ordgroup",mode:this.mode,body:c};var g;return a==="\\\\abovefrac"?g=this.callFunction(a,[s,e[r],u],[]):g=this.callFunction(a,[s,u],[]),[g]}else return e}handleSupSubscript(e){var r=this.fetch(),a=r.text;this.consume(),this.consumeSpaces();var i=this.parseGroup(e);if(!i)throw new S("Expected group after '"+a+"'",r);return i}formatUnsupportedCmd(e){for(var r=[],a=0;a<e.length;a++)r.push({type:"textord",mode:"text",text:e[a]});var i={type:"text",mode:this.mode,body:r},s={type:"color",mode:this.mode,color:this.settings.errorColor,body:[i]};return s}parseAtom(e){var r=this.parseGroup("atom",e);if(this.mode==="text")return r;for(var a,i;;){this.consumeSpaces();var s=this.fetch();if(s.text==="\\limits"||s.text==="\\nolimits"){if(r&&r.type==="op"){var u=s.text==="\\limits";r.limits=u,r.alwaysHandleSupSub=!0}else if(r&&r.type==="operatorname")r.alwaysHandleSupSub&&(r.limits=s.text==="\\limits");else throw new S("Limit controls must follow a math operator",s);this.consume()}else if(s.text==="^"){if(a)throw new S("Double superscript",s);a=this.handleSupSubscript("superscript")}else if(s.text==="_"){if(i)throw new S("Double subscript",s);i=this.handleSupSubscript("subscript")}else if(s.text==="'"){if(a)throw new S("Double superscript",s);var h={type:"textord",mode:this.mode,text:"\\prime"},c=[h];for(this.consume();this.fetch().text==="'";)c.push(h),this.consume();this.fetch().text==="^"&&c.push(this.handleSupSubscript("superscript")),a={type:"ordgroup",mode:this.mode,body:c}}else if(Se[s.text]){var g=A1.test(s.text),v=[];for(v.push(new d0(Se[s.text])),this.consume();;){var y=this.fetch().text;if(!Se[y]||A1.test(y)!==g)break;v.unshift(new d0(Se[y])),this.consume()}var x=this.subparse(v);g?i={type:"ordgroup",mode:"math",body:x}:a={type:"ordgroup",mode:"math",body:x}}else break}return a||i?{type:"supsub",mode:this.mode,base:r,sup:a,sub:i}:r}parseFunction(e,r){var a=this.fetch(),i=a.text,s=I0[i];if(!s)return null;if(this.consume(),r&&r!=="atom"&&!s.allowedInArgument)throw new S("Got function '"+i+"' with no arguments"+(r?" as "+r:""),a);if(this.mode==="text"&&!s.allowedInText)throw new S("Can't use function '"+i+"' in text mode",a);if(this.mode==="math"&&s.allowedInMath===!1)throw new S("Can't use function '"+i+"' in math mode",a);var{args:u,optArgs:h}=this.parseArguments(i,s);return this.callFunction(i,u,h,a,e)}callFunction(e,r,a,i,s){var u={funcName:e,parser:this,token:i,breakOnTokenText:s},h=I0[e];if(h&&h.handler)return h.handler(u,r,a);throw new S("No function handler for "+e)}parseArguments(e,r){var a=r.numArgs+r.numOptionalArgs;if(a===0)return{args:[],optArgs:[]};for(var i=[],s=[],u=0;u<a;u++){var h=r.argTypes&&r.argTypes[u],c=u<r.numOptionalArgs;(r.primitive&&h==null||r.type==="sqrt"&&u===1&&s[0]==null)&&(h="primitive");var g=this.parseGroupOfType("argument to '"+e+"'",h,c);if(c)s.push(g);else if(g!=null)i.push(g);else throw new S("Null argument, please report this as a bug")}return{args:i,optArgs:s}}parseGroupOfType(e,r,a){switch(r){case"color":return this.parseColorGroup(a);case"size":return this.parseSizeGroup(a);case"url":return this.parseUrlGroup(a);case"math":case"text":return this.parseArgumentGroup(a,r);case"hbox":{var i=this.parseArgumentGroup(a,"text");return i!=null?{type:"styling",mode:i.mode,body:[i],style:"text"}:null}case"raw":{var s=this.parseStringGroup("raw",a);return s!=null?{type:"raw",mode:"text",string:s.text}:null}case"primitive":{if(a)throw new S("A primitive argument cannot be optional");var u=this.parseGroup(e);if(u==null)throw new S("Expected group as "+e,this.fetch());return u}case"original":case null:case void 0:return this.parseArgumentGroup(a);default:throw new S("Unknown group type as "+e,this.fetch())}}consumeSpaces(){for(;this.fetch().text===" ";)this.consume()}parseStringGroup(e,r){var a=this.gullet.scanArgument(r);if(a==null)return null;for(var i="",s;(s=this.fetch()).text!=="EOF";)i+=s.text,this.consume();return this.consume(),a.text=i,a}parseRegexGroup(e,r){for(var a=this.fetch(),i=a,s="",u;(u=this.fetch()).text!=="EOF"&&e.test(s+u.text);)i=u,s+=i.text,this.consume();if(s==="")throw new S("Invalid "+r+": '"+a.text+"'",a);return a.range(i,s)}parseColorGroup(e){var r=this.parseStringGroup("color",e);if(r==null)return null;var a=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(r.text);if(!a)throw new S("Invalid color: '"+r.text+"'",r);var i=a[0];return/^[0-9a-f]{6}$/i.test(i)&&(i="#"+i),{type:"color-token",mode:this.mode,color:i}}parseSizeGroup(e){var r,a=!1;if(this.gullet.consumeSpaces(),!e&&this.gullet.future().text!=="{"?r=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):r=this.parseStringGroup("size",e),!r)return null;!e&&r.text.length===0&&(r.text="0pt",a=!0);var i=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(r.text);if(!i)throw new S("Invalid size: '"+r.text+"'",r);var s={number:+(i[1]+i[2]),unit:i[3]};if(!z1(s))throw new S("Invalid unit: '"+s.unit+"'",r);return{type:"size",mode:this.mode,value:s,isBlank:a}}parseUrlGroup(e){this.gullet.lexer.setCatcode("%",13),this.gullet.lexer.setCatcode("~",12);var r=this.parseStringGroup("url",e);if(this.gullet.lexer.setCatcode("%",14),this.gullet.lexer.setCatcode("~",13),r==null)return null;var a=r.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:a}}parseArgumentGroup(e,r){var a=this.gullet.scanArgument(e);if(a==null)return null;var i=this.mode;r&&this.switchMode(r),this.gullet.beginGroup();var s=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();var u={type:"ordgroup",mode:this.mode,loc:a.loc,body:s};return r&&this.switchMode(i),u}parseGroup(e,r){var a=this.fetch(),i=a.text,s;if(i==="{"||i==="\\begingroup"){this.consume();var u=i==="{"?"}":"\\endgroup";this.gullet.beginGroup();var h=this.parseExpression(!1,u),c=this.fetch();this.expect(u),this.gullet.endGroup(),s={type:"ordgroup",mode:this.mode,loc:u0.range(a,c),body:h,semisimple:i==="\\begingroup"||void 0}}else if(s=this.parseFunction(r,e)||this.parseSymbol(),s==null&&i[0]==="\\"&&!or.hasOwnProperty(i)){if(this.settings.throwOnError)throw new S("Undefined control sequence: "+i,a);s=this.formatUnsupportedCmd(i),this.consume()}return s}formLigatures(e){for(var r=e.length-1,a=0;a<r;++a){var i=e[a],s=i.text;s==="-"&&e[a+1].text==="-"&&(a+1<r&&e[a+2].text==="-"?(e.splice(a,3,{type:"textord",mode:"text",loc:u0.range(i,e[a+2]),text:"---"}),r-=2):(e.splice(a,2,{type:"textord",mode:"text",loc:u0.range(i,e[a+1]),text:"--"}),r-=1)),(s==="'"||s==="`")&&e[a+1].text===s&&(e.splice(a,2,{type:"textord",mode:"text",loc:u0.range(i,e[a+1]),text:s+s}),r-=1)}}parseSymbol(){var e=this.fetch(),r=e.text;if(/^\\verb[^a-zA-Z]/.test(r)){this.consume();var a=r.slice(5),i=a.charAt(0)==="*";if(i&&(a=a.slice(1)),a.length<2||a.charAt(0)!==a.slice(-1))throw new S("\\verb assertion failed --\n please report what input caused this bug");return a=a.slice(1,-1),{type:"verb",mode:"text",body:a,star:i}}S1.hasOwnProperty(r[0])&&!Y[this.mode][r[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+r[0]+'" used in math mode',e),r=S1[r[0]]+r.slice(1));var s=t4.exec(r);s&&(r=r.substring(0,s.index),r==="i"?r="ı":r==="j"&&(r="ȷ"));var u;if(Y[this.mode][r]){this.settings.strict&&this.mode==="math"&&mt.indexOf(r)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+r[0]+'" used in math mode',e);var h=Y[this.mode][r].group,c=u0.range(e),g;if($r.hasOwnProperty(h)){var v=h;g={type:"atom",mode:this.mode,family:v,loc:c,text:r}}else g={type:h,mode:this.mode,loc:c,text:r};u=g}else if(r.charCodeAt(0)>=128)this.settings.strict&&(B1(r.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+r[0]+'" used in math mode',e):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+r[0]+'"'+(" ("+r.charCodeAt(0)+")"),e)),u={type:"textord",mode:"text",loc:u0.range(e),text:r};else return null;if(this.consume(),s)for(var y=0;y<s[0].length;y++){var x=s[0][y];if(!st[x])throw new S("Unknown accent ' "+x+"'",e);var w=st[x][this.mode]||st[x].text;if(!w)throw new S("Accent "+x+" unsupported in "+this.mode+" mode",e);u={type:"accent",mode:this.mode,loc:u0.range(e),label:w,isStretchy:!1,isShifty:!0,base:u}}return u}}Oe.endOfExpression=["}","\\endgroup","\\end","\\right","&"];var Et=function(t,e){if(!(typeof t=="string"||t instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var r=new Oe(t,e);delete r.gullet.macros.current["\\df@tag"];var a=r.parse();if(delete r.gullet.macros.current["\\current@color"],delete r.gullet.macros.current["\\color"],r.gullet.macros.get("\\df@tag")){if(!e.displayMode)throw new S("\\tag works only in display equations");a=[{type:"tag",mode:"text",body:a,tag:r.subparse([new d0("\\df@tag")])}]}return a},sr=function(t,e,r){e.textContent="";var a=Tt(t,r).toNode();e.appendChild(a)};typeof document<"u"&&document.compatMode!=="CSS1Compat"&&(typeof console<"u"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),sr=function(){throw new S("KaTeX doesn't work in quirks mode.")});var o4=function(t,e){var r=Tt(t,e).toMarkup();return r},s4=function(t,e){var r=new kt(e);return Et(t,r)},lr=function(t,e,r){if(r.throwOnError||!(t instanceof S))throw t;var a=b.makeSpan(["katex-error"],[new g0(e)]);return a.setAttribute("title",t.toString()),a.setAttribute("style","color:"+r.errorColor),a},Tt=function(t,e){var r=new kt(e);try{var a=Et(t,r);return fa(a,t,r)}catch(i){return lr(i,t,r)}},l4=function(t,e){var r=new kt(e);try{var a=Et(t,r);return va(a,t,r)}catch(i){return lr(i,t,r)}},u4={version:"0.16.10",render:sr,renderToString:o4,ParseError:S,SETTINGS_SCHEMA:Me,__parse:s4,__renderToDomTree:Tt,__renderToHTMLTree:l4,__setFontMetrics:Vr,__defineSymbol:n,__defineFunction:C,__defineMacro:m,__domTree:{Span:he,Anchor:Mt,SymbolNode:g0,SvgNode:E0,PathNode:P0,LineNode:ht}};export{u4 as default};