-
Notifications
You must be signed in to change notification settings - Fork 0
/
vendors-b85d2b4d.c29bfff9.bundle.js
1 lines (1 loc) · 261 KB
/
vendors-b85d2b4d.c29bfff9.bundle.js
1
(self.webpackChunktypescript_tutorial_exercises=self.webpackChunktypescript_tutorial_exercises||[]).push([["267"],{99068:function(e,t,r){"use strict";r.d(t,{Z:function(){return aY}});class a{constructor(e,t,r){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=e,this.start=t,this.end=r}static range(e,t){return t?e&&e.loc&&t.loc&&e.loc.lexer===t.loc.lexer?new a(e.loc.lexer,e.loc.start,t.loc.end):null:e&&e.loc}}class n{constructor(e,t){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=e,this.loc=t}range(e,t){return new n(t,a.range(this,e))}}class i{constructor(e,t){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var r="KaTeX parse error: "+e,a=t&&t.loc;if(a&&a.start<=a.end){var n,s,o,l,h=a.lexer.input;n=a.start,s=a.end,n===h.length?r+=" at end of input: ":r+=" at position "+(n+1)+": ";var m=h.slice(n,s).replace(/[^]/g,"$&̲");o=n>15?"…"+h.slice(n-15,n):h.slice(0,n),r+=o+m+(l=s+15<h.length?h.slice(s,s+15)+"…":h.slice(s))}var c=Error(r);return c.name="ParseError",c.__proto__=i.prototype,c.position=n,null!=n&&null!=s&&(c.length=s-n),c.rawMessage=e,c}}i.prototype.__proto__=Error.prototype;var s,o,l,h,m,c,p,u,d,g,f,v,b,y,x,w,k,S,M,z,A,T,B=/([A-Z])/g,C={"&":"&",">":">","<":"<",'"':""","'":"'"},q=/[&><"']/g,N=function e(t){if("ordgroup"===t.type)return 1===t.body.length?e(t.body[0]):t;if("color"===t.type)return 1===t.body.length?e(t.body[0]):t;if("font"===t.type)return e(t.body);else return t},I=function(e){if(!e)throw Error("Expected non-null, but got "+String(e));return e},H={contains:function(e,t){return -1!==e.indexOf(t)},deflt:function(e,t){return void 0===e?t:e},escape:function(e){return String(e).replace(q,e=>C[e])},hyphenate:function(e){return e.replace(B,"-$1").toLowerCase()},getBaseElem:N,isCharacterBox:function(e){var t=N(e);return"mathord"===t.type||"textord"===t.type||"atom"===t.type},protocolFromUrl:function(e){var t=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(e);return t?":"===t[2]&&/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(t[1])?t[1].toLowerCase():null:"_relative"}},R={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:e=>"#"+e},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:(e,t)=>(t.push(e),t)},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:e=>Math.max(0,e),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:e=>Math.max(0,e),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:e=>Math.max(0,e),cli:"-e, --max-expand <n>",cliProcessor:e=>"Infinity"===e?1/0:parseInt(e)},globalGroup:{type:"boolean",cli:!1}};class O{constructor(e){for(var t in 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||{},R)if(R.hasOwnProperty(t)){var r=R[t];this[t]=void 0!==e[t]?r.processor?r.processor(e[t]):e[t]:function(e){if(e.default)return e.default;var t=e.type,r=Array.isArray(t)?t[0]:t;if("string"!=typeof r)return r.enum[0];switch(r){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}(r)}}reportNonstrict(e,t,r){var a=this.strict;if("function"==typeof a&&(a=a(e,t,r)),!!a&&"ignore"!==a){if(!0===a||"error"===a)throw new i("LaTeX-incompatible input and strict mode is set to 'error': "+(t+" ["+e)+"]",r);"warn"===a?"undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(t+" ["+e)+"]"):"undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+a+"': "+t+" ["+e)+"]")}}useStrictBehavior(e,t,r){var a=this.strict;if("function"==typeof a)try{a=a(e,t,r)}catch(e){a="error"}if(!a||"ignore"===a)return!1;if(!0===a||"error"===a)return!0;if("warn"===a)return"undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(t+" ["+e)+"]"),!1;else return"undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+a+"': "+t+" ["+e)+"]"),!1}isTrusted(e){if(e.url&&!e.protocol){var t=H.protocolFromUrl(e.url);if(null==t)return!1;e.protocol=t}return!!("function"==typeof this.trust?this.trust(e):this.trust)}}class E{constructor(e,t,r){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=t,this.cramped=r}sup(){return L[D[this.id]]}sub(){return L[V[this.id]]}fracNum(){return L[P[this.id]]}fracDen(){return L[F[this.id]]}cramp(){return L[G[this.id]]}text(){return L[U[this.id]]}isTight(){return this.size>=2}}var L=[new E(0,0,!1),new E(1,0,!0),new E(2,1,!1),new E(3,1,!0),new E(4,2,!1),new E(5,2,!0),new E(6,3,!1),new E(7,3,!0)],D=[4,5,4,5,6,7,6,7],V=[5,5,5,5,7,7,7,7],P=[2,3,4,5,6,7,6,7],F=[3,3,5,5,7,7,7,7],G=[1,1,3,3,5,5,7,7],U=[0,1,2,3,2,3,2,3],Y={DISPLAY:L[0],TEXT:L[2],SCRIPT:L[4],SCRIPTSCRIPT:L[6]},X=[{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]]}],W=[];function _(e){for(var t=0;t<W.length;t+=2)if(e>=W[t]&&e<=W[t+1])return!0;return!1}X.forEach(e=>e.blocks.forEach(e=>W.push(...e)));var j=function(e,t,r){t*=1e3;var a,n,i,s,o,l,h,m,c,p,u,d,g="";switch(e){case"sqrtMain":;n=80,g="M95,"+(622+(a=t)+80)+"\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"+a/2.075+" -"+a+"\nc5.3,-9.3,12,-14,20,-14\nH400000v"+(40+a)+"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+a)+" "+n+"h400000v"+(40+a)+"h-400000z";break;case"sqrtSize1":;s=80,g="M263,"+(601+(i=t)+80)+"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"+i/2.084+" -"+i+"\nc4.7,-7.3,11,-11,19,-11\nH40000v"+(40+i)+"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+i)+" "+s+"h400000v"+(40+i)+"h-400000z";break;case"sqrtSize2":;l=80,g="M983 "+(10+(o=t)+80)+"\nl"+o/3.13+" -"+o+"\nc4,-6.7,10,-10,18,-10 H400000v"+(40+o)+"\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+o)+" "+l+"h400000v"+(40+o)+"h-400000z";break;case"sqrtSize3":;m=80,g="M424,"+(2398+(h=t)+80)+"\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"+h/4.223+" -"+h+"c4,-6.7,10,-10,18,-10 H400000\nv"+(40+h)+"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+h)+" "+m+"\nh400000v"+(40+h)+"h-400000z";break;case"sqrtSize4":;p=80,g="M473,"+(2713+(c=t)+80)+"\nc339.3,-1799.3,509.3,-2700,510,-2702 l"+c/5.298+" -"+c+"\nc3.3,-7.3,9.3,-11,18,-11 H400000v"+(40+c)+"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+c)+" "+p+"h400000v"+(40+c)+"H1017.7z";break;case"sqrtTall":;d=80,g="M702 "+((u=t)+80)+"H400000"+(40+u)+"\nH742v"+(r-54-d-u)+"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 "+d+"H400000v"+(40+u)+"H742z"}return g},$=function(e,t){switch(e){case"⎜":return"M291 0 H417 V"+t+" H291z M291 0 H417 V"+t+" H291z";case"∣":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145z";case"∥":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145z"+("M367 0 H410 V"+t+" H367z M367 0 H410 V"+t)+" H367z";case"⎟":return"M457 0 H583 V"+t+" H457z M457 0 H583 V"+t+" H457z";case"⎢":return"M319 0 H403 V"+t+" H319z M319 0 H403 V"+t+" H319z";case"⎥":return"M263 0 H347 V"+t+" H263z M263 0 H347 V"+t+" H263z";case"⎪":return"M384 0 H504 V"+t+" H384z M384 0 H504 V"+t+" H384z";case"⏐":return"M312 0 H355 V"+t+" H312z M312 0 H355 V"+t+" H312z";case"‖":return"M257 0 H300 V"+t+" H257z M257 0 H300 V"+t+" H257z"+("M478 0 H521 V"+t+" H478z M478 0 H521 V"+t)+" H478z";default:return""}},Z={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"},K=function(e,t){switch(e){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+" v1759 h347 v-84\nH403z M403 1759 V0 H319 V1759 v"+t+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+" v1759 H0 v84 H347z\nM347 1759 V0 H263 V1759 v"+t+" v1759 h84z";case"vert":return"M145 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M188 15 H145 v585 v"+t+" v585 h43z";case"doublevert":return"M145 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M188 15 H145 v585 v"+t+" v585 h43z\nM367 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M410 15 H367 v585 v"+t+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+t+" v1715 h263 v84 H319z\nMM319 602 V0 H403 V602 v"+t+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+t+" v1799 H0 v-84 H319z\nMM319 602 V0 H403 V602 v"+t+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+" v602 h84z\nM403 1759 V0 H319 V1759 v"+t+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+" v602 h84z\nM347 1759 V0 h-84 V1759 v"+t+" 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,"+(t+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,-"+(t+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,"+(t+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,-"+(t+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 Error("Unknown stretchy delimiter.")}};class J{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 H.contains(this.classes,e)}toNode(){for(var e=document.createDocumentFragment(),t=0;t<this.children.length;t++)e.appendChild(this.children[t].toNode());return e}toMarkup(){for(var e="",t=0;t<this.children.length;t++)e+=this.children[t].toMarkup();return e}toText(){return this.children.map(e=>e.toText()).join("")}}var Q={"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:[-.00099,.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:[-.00099,.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:[-.00099,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-.00099,.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]}},ee={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]},et={Å:"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 er(e,t,r){if(!Q[t])throw Error("Font metrics not found for font: "+t+".");var a=e.charCodeAt(0),n=Q[t][a];if(!n&&e[0]in et&&(a=et[e[0]].charCodeAt(0),n=Q[t][a]),!n&&"text"===r&&_(a)&&(n=Q[t][77]),n)return{depth:n[0],height:n[1],italic:n[2],skew:n[3],width:n[4]}}var ea={},en=[[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]],ei=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],es=function(e,t){return t.size<2?e:en[e-1][t.size-1]};class eo{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||eo.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=ei[this.size-1],this.maxSize=e.maxSize,this.minRuleThickness=e.minRuleThickness,this._fontMetrics=void 0}extend(e){var t={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 r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);return new eo(t)}havingStyle(e){return this.style===e?this:this.extend({style:e,size:es(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:ei[e-1]})}havingBaseStyle(e){e=e||this.style.text();var t=es(eo.BASESIZE,e);return this.size===t&&this.textSize===eo.BASESIZE&&this.style===e?this:this.extend({style:e,size:t})}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!==eo.BASESIZE?["sizing","reset-size"+this.size,"size"+eo.BASESIZE]:[]}fontMetrics(){return!this._fontMetrics&&(this._fontMetrics=function(e){var t;if(!ea[t=e>=5?0:e>=3?1:2]){var r=ea[t]={cssEmPerMu:ee.quad[t]/18};for(var a in ee)ee.hasOwnProperty(a)&&(r[a]=ee[a][t])}return ea[t]}(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}eo.BASESIZE=6;var el={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:1.00375,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:1.00375},eh={ex:!0,em:!0,mu:!0},em=function(e){return"string"!=typeof e&&(e=e.unit),e in el||e in eh||"ex"===e},ec=function(e,t){var r,a;if(e.unit in el)r=el[e.unit]/t.fontMetrics().ptPerEm/t.sizeMultiplier;else if("mu"===e.unit)r=t.fontMetrics().cssEmPerMu;else{if(a=t.style.isTight()?t.havingStyle(t.style.text()):t,"ex"===e.unit)r=a.fontMetrics().xHeight;else if("em"===e.unit)r=a.fontMetrics().quad;else throw new i("Invalid unit: '"+e.unit+"'");a!==t&&(r*=a.sizeMultiplier/t.sizeMultiplier)}return Math.min(e.number*r,t.maxSize)},ep=function(e){return+e.toFixed(4)+"em"},eu=function(e){return e.filter(e=>e).join(" ")},ed=function(e,t,r){if(this.classes=e||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=r||{},t){t.style.isTight()&&this.classes.push("mtight");var a=t.getColor();a&&(this.style.color=a)}},eg=function(e){var t=document.createElement(e);for(var r in t.className=eu(this.classes),this.style)this.style.hasOwnProperty(r)&&(t.style[r]=this.style[r]);for(var a in this.attributes)this.attributes.hasOwnProperty(a)&&t.setAttribute(a,this.attributes[a]);for(var n=0;n<this.children.length;n++)t.appendChild(this.children[n].toNode());return t},ef=function(e){var t="<"+e;this.classes.length&&(t+=' class="'+H.escape(eu(this.classes))+'"');var r="";for(var a in this.style)this.style.hasOwnProperty(a)&&(r+=H.hyphenate(a)+":"+this.style[a]+";");for(var n in r&&(t+=' style="'+H.escape(r)+'"'),this.attributes)this.attributes.hasOwnProperty(n)&&(t+=" "+n+'="'+H.escape(this.attributes[n])+'"');t+=">";for(var i=0;i<this.children.length;i++)t+=this.children[i].toMarkup();return t+="</"+e+">"};class ev{constructor(e,t,r,a){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,ed.call(this,e,r,a),this.children=t||[]}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return H.contains(this.classes,e)}toNode(){return eg.call(this,"span")}toMarkup(){return ef.call(this,"span")}}class eb{constructor(e,t,r,a){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,ed.call(this,t,a),this.children=r||[],this.setAttribute("href",e)}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return H.contains(this.classes,e)}toNode(){return eg.call(this,"a")}toMarkup(){return ef.call(this,"a")}}class ey{constructor(e,t,r){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=t,this.src=e,this.classes=["mord"],this.style=r}hasClass(e){return H.contains(this.classes,e)}toNode(){var e=document.createElement("img");for(var t in e.src=this.src,e.alt=this.alt,e.className="mord",this.style)this.style.hasOwnProperty(t)&&(e.style[t]=this.style[t]);return e}toMarkup(){var e='<img src="'+H.escape(this.src)+'"'+(' alt="'+H.escape(this.alt))+'"',t="";for(var r in this.style)this.style.hasOwnProperty(r)&&(t+=H.hyphenate(r)+":"+this.style[r]+";");return t&&(e+=' style="'+H.escape(t)+'"'),e+="'/>"}}var ex={î:"ı̂",ï:"ı̈",í:"ı́",ì:"ı̀"};class ew{constructor(e,t,r,a,n,i,s,o){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=t||0,this.depth=r||0,this.italic=a||0,this.skew=n||0,this.width=i||0,this.classes=s||[],this.style=o||{},this.maxFontSize=0;var l=function(e){for(var t=0;t<X.length;t++){for(var r=X[t],a=0;a<r.blocks.length;a++){var n=r.blocks[a];if(e>=n[0]&&e<=n[1])return r.name}}return null}(this.text.charCodeAt(0));l&&this.classes.push(l+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=ex[this.text])}hasClass(e){return H.contains(this.classes,e)}toNode(){var e=document.createTextNode(this.text),t=null;for(var r in this.italic>0&&((t=document.createElement("span")).style.marginRight=ep(this.italic)),this.classes.length>0&&((t=t||document.createElement("span")).className=eu(this.classes)),this.style)this.style.hasOwnProperty(r)&&((t=t||document.createElement("span")).style[r]=this.style[r]);return t?(t.appendChild(e),t):e}toMarkup(){var e=!1,t="<span";this.classes.length&&(e=!0,t+=' class="'+H.escape(eu(this.classes))+'"');var r="";for(var a in this.italic>0&&(r+="margin-right:"+this.italic+"em;"),this.style)this.style.hasOwnProperty(a)&&(r+=H.hyphenate(a)+":"+this.style[a]+";");r&&(e=!0,t+=' style="'+H.escape(r)+'"');var n=H.escape(this.text);return e?t+=">"+n+"</span>":n}}class ek{constructor(e,t){this.children=void 0,this.attributes=void 0,this.children=e||[],this.attributes=t||{}}toNode(){var e=document.createElementNS("http://www.w3.org/2000/svg","svg");for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);for(var r=0;r<this.children.length;r++)e.appendChild(this.children[r].toNode());return e}toMarkup(){var e='<svg xmlns="http://www.w3.org/2000/svg"';for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+'="'+H.escape(this.attributes[t])+'"');e+=">";for(var r=0;r<this.children.length;r++)e+=this.children[r].toMarkup();return e+="</svg>"}}class eS{constructor(e,t){this.pathName=void 0,this.alternate=void 0,this.pathName=e,this.alternate=t}toNode(){var e=document.createElementNS("http://www.w3.org/2000/svg","path");return this.alternate?e.setAttribute("d",this.alternate):e.setAttribute("d",Z[this.pathName]),e}toMarkup(){return this.alternate?'<path d="'+H.escape(this.alternate)+'"/>':'<path d="'+H.escape(Z[this.pathName])+'"/>'}}class eM{constructor(e){this.attributes=void 0,this.attributes=e||{}}toNode(){var e=document.createElementNS("http://www.w3.org/2000/svg","line");for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);return e}toMarkup(){var e="<line";for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+'="'+H.escape(this.attributes[t])+'"');return e+="/>"}}function ez(e){if(e instanceof ew)return e;throw Error("Expected symbolNode but got "+String(e)+".")}var eA={bin:1,close:1,inner:1,open:1,punct:1,rel:1},eT={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},eB={math:{},text:{}};function eC(e,t,r,a,n,i){eB[e][n]={font:t,group:r,replace:a},i&&a&&(eB[e][a]=eB[e][n])}var eq="math",eN="text",eI="main",eH="accent-token",eR="close",eO="inner",eE="mathord",eL="op-token",eD="open",eV="punct",eP="spacing",eF="textord";eC(eq,eI,"rel","≡","\\equiv",!0),eC(eq,eI,"rel","≺","\\prec",!0),eC(eq,eI,"rel","≻","\\succ",!0),eC(eq,eI,"rel","∼","\\sim",!0),eC(eq,eI,"rel","⊥","\\perp"),eC(eq,eI,"rel","⪯","\\preceq",!0),eC(eq,eI,"rel","⪰","\\succeq",!0),eC(eq,eI,"rel","≃","\\simeq",!0),eC(eq,eI,"rel","∣","\\mid",!0),eC(eq,eI,"rel","≪","\\ll",!0),eC(eq,eI,"rel","≫","\\gg",!0),eC(eq,eI,"rel","≍","\\asymp",!0),eC(eq,eI,"rel","∥","\\parallel"),eC(eq,eI,"rel","⋈","\\bowtie",!0),eC(eq,eI,"rel","⌣","\\smile",!0),eC(eq,eI,"rel","⊑","\\sqsubseteq",!0),eC(eq,eI,"rel","⊒","\\sqsupseteq",!0),eC(eq,eI,"rel","≐","\\doteq",!0),eC(eq,eI,"rel","⌢","\\frown",!0),eC(eq,eI,"rel","∋","\\ni",!0),eC(eq,eI,"rel","∝","\\propto",!0),eC(eq,eI,"rel","⊢","\\vdash",!0),eC(eq,eI,"rel","⊣","\\dashv",!0),eC(eq,eI,"rel","∋","\\owns"),eC(eq,eI,eV,".","\\ldotp"),eC(eq,eI,eV,"⋅","\\cdotp"),eC(eq,eI,eF,"#","\\#"),eC(eN,eI,eF,"#","\\#"),eC(eq,eI,eF,"&","\\&"),eC(eN,eI,eF,"&","\\&"),eC(eq,eI,eF,"ℵ","\\aleph",!0),eC(eq,eI,eF,"∀","\\forall",!0),eC(eq,eI,eF,"ℏ","\\hbar",!0),eC(eq,eI,eF,"∃","\\exists",!0),eC(eq,eI,eF,"∇","\\nabla",!0),eC(eq,eI,eF,"♭","\\flat",!0),eC(eq,eI,eF,"ℓ","\\ell",!0),eC(eq,eI,eF,"♮","\\natural",!0),eC(eq,eI,eF,"♣","\\clubsuit",!0),eC(eq,eI,eF,"℘","\\wp",!0),eC(eq,eI,eF,"♯","\\sharp",!0),eC(eq,eI,eF,"♢","\\diamondsuit",!0),eC(eq,eI,eF,"ℜ","\\Re",!0),eC(eq,eI,eF,"♡","\\heartsuit",!0),eC(eq,eI,eF,"ℑ","\\Im",!0),eC(eq,eI,eF,"♠","\\spadesuit",!0),eC(eq,eI,eF,"\xa7","\\S",!0),eC(eN,eI,eF,"\xa7","\\S"),eC(eq,eI,eF,"\xb6","\\P",!0),eC(eN,eI,eF,"\xb6","\\P"),eC(eq,eI,eF,"†","\\dag"),eC(eN,eI,eF,"†","\\dag"),eC(eN,eI,eF,"†","\\textdagger"),eC(eq,eI,eF,"‡","\\ddag"),eC(eN,eI,eF,"‡","\\ddag"),eC(eN,eI,eF,"‡","\\textdaggerdbl"),eC(eq,eI,eR,"⎱","\\rmoustache",!0),eC(eq,eI,eD,"⎰","\\lmoustache",!0),eC(eq,eI,eR,"⟯","\\rgroup",!0),eC(eq,eI,eD,"⟮","\\lgroup",!0),eC(eq,eI,"bin","∓","\\mp",!0),eC(eq,eI,"bin","⊖","\\ominus",!0),eC(eq,eI,"bin","⊎","\\uplus",!0),eC(eq,eI,"bin","⊓","\\sqcap",!0),eC(eq,eI,"bin","∗","\\ast"),eC(eq,eI,"bin","⊔","\\sqcup",!0),eC(eq,eI,"bin","◯","\\bigcirc",!0),eC(eq,eI,"bin","∙","\\bullet",!0),eC(eq,eI,"bin","‡","\\ddagger"),eC(eq,eI,"bin","≀","\\wr",!0),eC(eq,eI,"bin","⨿","\\amalg"),eC(eq,eI,"bin","&","\\And"),eC(eq,eI,"rel","⟵","\\longleftarrow",!0),eC(eq,eI,"rel","⇐","\\Leftarrow",!0),eC(eq,eI,"rel","⟸","\\Longleftarrow",!0),eC(eq,eI,"rel","⟶","\\longrightarrow",!0),eC(eq,eI,"rel","⇒","\\Rightarrow",!0),eC(eq,eI,"rel","⟹","\\Longrightarrow",!0),eC(eq,eI,"rel","↔","\\leftrightarrow",!0),eC(eq,eI,"rel","⟷","\\longleftrightarrow",!0),eC(eq,eI,"rel","⇔","\\Leftrightarrow",!0),eC(eq,eI,"rel","⟺","\\Longleftrightarrow",!0),eC(eq,eI,"rel","↦","\\mapsto",!0),eC(eq,eI,"rel","⟼","\\longmapsto",!0),eC(eq,eI,"rel","↗","\\nearrow",!0),eC(eq,eI,"rel","↩","\\hookleftarrow",!0),eC(eq,eI,"rel","↪","\\hookrightarrow",!0),eC(eq,eI,"rel","↘","\\searrow",!0),eC(eq,eI,"rel","↼","\\leftharpoonup",!0),eC(eq,eI,"rel","⇀","\\rightharpoonup",!0),eC(eq,eI,"rel","↙","\\swarrow",!0),eC(eq,eI,"rel","↽","\\leftharpoondown",!0),eC(eq,eI,"rel","⇁","\\rightharpoondown",!0),eC(eq,eI,"rel","↖","\\nwarrow",!0),eC(eq,eI,"rel","⇌","\\rightleftharpoons",!0),eC(eq,"ams","rel","≮","\\nless",!0),eC(eq,"ams","rel","","\\@nleqslant"),eC(eq,"ams","rel","","\\@nleqq"),eC(eq,"ams","rel","⪇","\\lneq",!0),eC(eq,"ams","rel","≨","\\lneqq",!0),eC(eq,"ams","rel","","\\@lvertneqq"),eC(eq,"ams","rel","⋦","\\lnsim",!0),eC(eq,"ams","rel","⪉","\\lnapprox",!0),eC(eq,"ams","rel","⊀","\\nprec",!0),eC(eq,"ams","rel","⋠","\\npreceq",!0),eC(eq,"ams","rel","⋨","\\precnsim",!0),eC(eq,"ams","rel","⪹","\\precnapprox",!0),eC(eq,"ams","rel","≁","\\nsim",!0),eC(eq,"ams","rel","","\\@nshortmid"),eC(eq,"ams","rel","∤","\\nmid",!0),eC(eq,"ams","rel","⊬","\\nvdash",!0),eC(eq,"ams","rel","⊭","\\nvDash",!0),eC(eq,"ams","rel","⋪","\\ntriangleleft"),eC(eq,"ams","rel","⋬","\\ntrianglelefteq",!0),eC(eq,"ams","rel","⊊","\\subsetneq",!0),eC(eq,"ams","rel","","\\@varsubsetneq"),eC(eq,"ams","rel","⫋","\\subsetneqq",!0),eC(eq,"ams","rel","","\\@varsubsetneqq"),eC(eq,"ams","rel","≯","\\ngtr",!0),eC(eq,"ams","rel","","\\@ngeqslant"),eC(eq,"ams","rel","","\\@ngeqq"),eC(eq,"ams","rel","⪈","\\gneq",!0),eC(eq,"ams","rel","≩","\\gneqq",!0),eC(eq,"ams","rel","","\\@gvertneqq"),eC(eq,"ams","rel","⋧","\\gnsim",!0),eC(eq,"ams","rel","⪊","\\gnapprox",!0),eC(eq,"ams","rel","⊁","\\nsucc",!0),eC(eq,"ams","rel","⋡","\\nsucceq",!0),eC(eq,"ams","rel","⋩","\\succnsim",!0),eC(eq,"ams","rel","⪺","\\succnapprox",!0),eC(eq,"ams","rel","≆","\\ncong",!0),eC(eq,"ams","rel","","\\@nshortparallel"),eC(eq,"ams","rel","∦","\\nparallel",!0),eC(eq,"ams","rel","⊯","\\nVDash",!0),eC(eq,"ams","rel","⋫","\\ntriangleright"),eC(eq,"ams","rel","⋭","\\ntrianglerighteq",!0),eC(eq,"ams","rel","","\\@nsupseteqq"),eC(eq,"ams","rel","⊋","\\supsetneq",!0),eC(eq,"ams","rel","","\\@varsupsetneq"),eC(eq,"ams","rel","⫌","\\supsetneqq",!0),eC(eq,"ams","rel","","\\@varsupsetneqq"),eC(eq,"ams","rel","⊮","\\nVdash",!0),eC(eq,"ams","rel","⪵","\\precneqq",!0),eC(eq,"ams","rel","⪶","\\succneqq",!0),eC(eq,"ams","rel","","\\@nsubseteqq"),eC(eq,"ams","bin","⊴","\\unlhd"),eC(eq,"ams","bin","⊵","\\unrhd"),eC(eq,"ams","rel","↚","\\nleftarrow",!0),eC(eq,"ams","rel","↛","\\nrightarrow",!0),eC(eq,"ams","rel","⇍","\\nLeftarrow",!0),eC(eq,"ams","rel","⇏","\\nRightarrow",!0),eC(eq,"ams","rel","↮","\\nleftrightarrow",!0),eC(eq,"ams","rel","⇎","\\nLeftrightarrow",!0),eC(eq,"ams","rel","△","\\vartriangle"),eC(eq,"ams",eF,"ℏ","\\hslash"),eC(eq,"ams",eF,"▽","\\triangledown"),eC(eq,"ams",eF,"◊","\\lozenge"),eC(eq,"ams",eF,"Ⓢ","\\circledS"),eC(eq,"ams",eF,"\xae","\\circledR"),eC(eN,"ams",eF,"\xae","\\circledR"),eC(eq,"ams",eF,"∡","\\measuredangle",!0),eC(eq,"ams",eF,"∄","\\nexists"),eC(eq,"ams",eF,"℧","\\mho"),eC(eq,"ams",eF,"Ⅎ","\\Finv",!0),eC(eq,"ams",eF,"⅁","\\Game",!0),eC(eq,"ams",eF,"‵","\\backprime"),eC(eq,"ams",eF,"▲","\\blacktriangle"),eC(eq,"ams",eF,"▼","\\blacktriangledown"),eC(eq,"ams",eF,"■","\\blacksquare"),eC(eq,"ams",eF,"⧫","\\blacklozenge"),eC(eq,"ams",eF,"★","\\bigstar"),eC(eq,"ams",eF,"∢","\\sphericalangle",!0),eC(eq,"ams",eF,"∁","\\complement",!0),eC(eq,"ams",eF,"\xf0","\\eth",!0),eC(eN,eI,eF,"\xf0","\xf0"),eC(eq,"ams",eF,"╱","\\diagup"),eC(eq,"ams",eF,"╲","\\diagdown"),eC(eq,"ams",eF,"□","\\square"),eC(eq,"ams",eF,"□","\\Box"),eC(eq,"ams",eF,"◊","\\Diamond"),eC(eq,"ams",eF,"\xa5","\\yen",!0),eC(eN,"ams",eF,"\xa5","\\yen",!0),eC(eq,"ams",eF,"✓","\\checkmark",!0),eC(eN,"ams",eF,"✓","\\checkmark"),eC(eq,"ams",eF,"ℶ","\\beth",!0),eC(eq,"ams",eF,"ℸ","\\daleth",!0),eC(eq,"ams",eF,"ℷ","\\gimel",!0),eC(eq,"ams",eF,"ϝ","\\digamma",!0),eC(eq,"ams",eF,"ϰ","\\varkappa"),eC(eq,"ams",eD,"┌","\\@ulcorner",!0),eC(eq,"ams",eR,"┐","\\@urcorner",!0),eC(eq,"ams",eD,"└","\\@llcorner",!0),eC(eq,"ams",eR,"┘","\\@lrcorner",!0),eC(eq,"ams","rel","≦","\\leqq",!0),eC(eq,"ams","rel","⩽","\\leqslant",!0),eC(eq,"ams","rel","⪕","\\eqslantless",!0),eC(eq,"ams","rel","≲","\\lesssim",!0),eC(eq,"ams","rel","⪅","\\lessapprox",!0),eC(eq,"ams","rel","≊","\\approxeq",!0),eC(eq,"ams","bin","⋖","\\lessdot"),eC(eq,"ams","rel","⋘","\\lll",!0),eC(eq,"ams","rel","≶","\\lessgtr",!0),eC(eq,"ams","rel","⋚","\\lesseqgtr",!0),eC(eq,"ams","rel","⪋","\\lesseqqgtr",!0),eC(eq,"ams","rel","≑","\\doteqdot"),eC(eq,"ams","rel","≓","\\risingdotseq",!0),eC(eq,"ams","rel","≒","\\fallingdotseq",!0),eC(eq,"ams","rel","∽","\\backsim",!0),eC(eq,"ams","rel","⋍","\\backsimeq",!0),eC(eq,"ams","rel","⫅","\\subseteqq",!0),eC(eq,"ams","rel","⋐","\\Subset",!0),eC(eq,"ams","rel","⊏","\\sqsubset",!0),eC(eq,"ams","rel","≼","\\preccurlyeq",!0),eC(eq,"ams","rel","⋞","\\curlyeqprec",!0),eC(eq,"ams","rel","≾","\\precsim",!0),eC(eq,"ams","rel","⪷","\\precapprox",!0),eC(eq,"ams","rel","⊲","\\vartriangleleft"),eC(eq,"ams","rel","⊴","\\trianglelefteq"),eC(eq,"ams","rel","⊨","\\vDash",!0),eC(eq,"ams","rel","⊪","\\Vvdash",!0),eC(eq,"ams","rel","⌣","\\smallsmile"),eC(eq,"ams","rel","⌢","\\smallfrown"),eC(eq,"ams","rel","≏","\\bumpeq",!0),eC(eq,"ams","rel","≎","\\Bumpeq",!0),eC(eq,"ams","rel","≧","\\geqq",!0),eC(eq,"ams","rel","⩾","\\geqslant",!0),eC(eq,"ams","rel","⪖","\\eqslantgtr",!0),eC(eq,"ams","rel","≳","\\gtrsim",!0),eC(eq,"ams","rel","⪆","\\gtrapprox",!0),eC(eq,"ams","bin","⋗","\\gtrdot"),eC(eq,"ams","rel","⋙","\\ggg",!0),eC(eq,"ams","rel","≷","\\gtrless",!0),eC(eq,"ams","rel","⋛","\\gtreqless",!0),eC(eq,"ams","rel","⪌","\\gtreqqless",!0),eC(eq,"ams","rel","≖","\\eqcirc",!0),eC(eq,"ams","rel","≗","\\circeq",!0),eC(eq,"ams","rel","≜","\\triangleq",!0),eC(eq,"ams","rel","∼","\\thicksim"),eC(eq,"ams","rel","≈","\\thickapprox"),eC(eq,"ams","rel","⫆","\\supseteqq",!0),eC(eq,"ams","rel","⋑","\\Supset",!0),eC(eq,"ams","rel","⊐","\\sqsupset",!0),eC(eq,"ams","rel","≽","\\succcurlyeq",!0),eC(eq,"ams","rel","⋟","\\curlyeqsucc",!0),eC(eq,"ams","rel","≿","\\succsim",!0),eC(eq,"ams","rel","⪸","\\succapprox",!0),eC(eq,"ams","rel","⊳","\\vartriangleright"),eC(eq,"ams","rel","⊵","\\trianglerighteq"),eC(eq,"ams","rel","⊩","\\Vdash",!0),eC(eq,"ams","rel","∣","\\shortmid"),eC(eq,"ams","rel","∥","\\shortparallel"),eC(eq,"ams","rel","≬","\\between",!0),eC(eq,"ams","rel","⋔","\\pitchfork",!0),eC(eq,"ams","rel","∝","\\varpropto"),eC(eq,"ams","rel","◀","\\blacktriangleleft"),eC(eq,"ams","rel","∴","\\therefore",!0),eC(eq,"ams","rel","∍","\\backepsilon"),eC(eq,"ams","rel","▶","\\blacktriangleright"),eC(eq,"ams","rel","∵","\\because",!0),eC(eq,"ams","rel","⋘","\\llless"),eC(eq,"ams","rel","⋙","\\gggtr"),eC(eq,"ams","bin","⊲","\\lhd"),eC(eq,"ams","bin","⊳","\\rhd"),eC(eq,"ams","rel","≂","\\eqsim",!0),eC(eq,eI,"rel","⋈","\\Join"),eC(eq,"ams","rel","≑","\\Doteq",!0),eC(eq,"ams","bin","∔","\\dotplus",!0),eC(eq,"ams","bin","∖","\\smallsetminus"),eC(eq,"ams","bin","⋒","\\Cap",!0),eC(eq,"ams","bin","⋓","\\Cup",!0),eC(eq,"ams","bin","⩞","\\doublebarwedge",!0),eC(eq,"ams","bin","⊟","\\boxminus",!0),eC(eq,"ams","bin","⊞","\\boxplus",!0),eC(eq,"ams","bin","⋇","\\divideontimes",!0),eC(eq,"ams","bin","⋉","\\ltimes",!0),eC(eq,"ams","bin","⋊","\\rtimes",!0),eC(eq,"ams","bin","⋋","\\leftthreetimes",!0),eC(eq,"ams","bin","⋌","\\rightthreetimes",!0),eC(eq,"ams","bin","⋏","\\curlywedge",!0),eC(eq,"ams","bin","⋎","\\curlyvee",!0),eC(eq,"ams","bin","⊝","\\circleddash",!0),eC(eq,"ams","bin","⊛","\\circledast",!0),eC(eq,"ams","bin","⋅","\\centerdot"),eC(eq,"ams","bin","⊺","\\intercal",!0),eC(eq,"ams","bin","⋒","\\doublecap"),eC(eq,"ams","bin","⋓","\\doublecup"),eC(eq,"ams","bin","⊠","\\boxtimes",!0),eC(eq,"ams","rel","⇢","\\dashrightarrow",!0),eC(eq,"ams","rel","⇠","\\dashleftarrow",!0),eC(eq,"ams","rel","⇇","\\leftleftarrows",!0),eC(eq,"ams","rel","⇆","\\leftrightarrows",!0),eC(eq,"ams","rel","⇚","\\Lleftarrow",!0),eC(eq,"ams","rel","↞","\\twoheadleftarrow",!0),eC(eq,"ams","rel","↢","\\leftarrowtail",!0),eC(eq,"ams","rel","↫","\\looparrowleft",!0),eC(eq,"ams","rel","⇋","\\leftrightharpoons",!0),eC(eq,"ams","rel","↶","\\curvearrowleft",!0),eC(eq,"ams","rel","↺","\\circlearrowleft",!0),eC(eq,"ams","rel","↰","\\Lsh",!0),eC(eq,"ams","rel","⇈","\\upuparrows",!0),eC(eq,"ams","rel","↿","\\upharpoonleft",!0),eC(eq,"ams","rel","⇃","\\downharpoonleft",!0),eC(eq,eI,"rel","⊶","\\origof",!0),eC(eq,eI,"rel","⊷","\\imageof",!0),eC(eq,"ams","rel","⊸","\\multimap",!0),eC(eq,"ams","rel","↭","\\leftrightsquigarrow",!0),eC(eq,"ams","rel","⇉","\\rightrightarrows",!0),eC(eq,"ams","rel","⇄","\\rightleftarrows",!0),eC(eq,"ams","rel","↠","\\twoheadrightarrow",!0),eC(eq,"ams","rel","↣","\\rightarrowtail",!0),eC(eq,"ams","rel","↬","\\looparrowright",!0),eC(eq,"ams","rel","↷","\\curvearrowright",!0),eC(eq,"ams","rel","↻","\\circlearrowright",!0),eC(eq,"ams","rel","↱","\\Rsh",!0),eC(eq,"ams","rel","⇊","\\downdownarrows",!0),eC(eq,"ams","rel","↾","\\upharpoonright",!0),eC(eq,"ams","rel","⇂","\\downharpoonright",!0),eC(eq,"ams","rel","⇝","\\rightsquigarrow",!0),eC(eq,"ams","rel","⇝","\\leadsto"),eC(eq,"ams","rel","⇛","\\Rrightarrow",!0),eC(eq,"ams","rel","↾","\\restriction"),eC(eq,eI,eF,"‘","`"),eC(eq,eI,eF,"$","\\$"),eC(eN,eI,eF,"$","\\$"),eC(eN,eI,eF,"$","\\textdollar"),eC(eq,eI,eF,"%","\\%"),eC(eN,eI,eF,"%","\\%"),eC(eq,eI,eF,"_","\\_"),eC(eN,eI,eF,"_","\\_"),eC(eN,eI,eF,"_","\\textunderscore"),eC(eq,eI,eF,"∠","\\angle",!0),eC(eq,eI,eF,"∞","\\infty",!0),eC(eq,eI,eF,"′","\\prime"),eC(eq,eI,eF,"△","\\triangle"),eC(eq,eI,eF,"Γ","\\Gamma",!0),eC(eq,eI,eF,"Δ","\\Delta",!0),eC(eq,eI,eF,"Θ","\\Theta",!0),eC(eq,eI,eF,"Λ","\\Lambda",!0),eC(eq,eI,eF,"Ξ","\\Xi",!0),eC(eq,eI,eF,"Π","\\Pi",!0),eC(eq,eI,eF,"Σ","\\Sigma",!0),eC(eq,eI,eF,"Υ","\\Upsilon",!0),eC(eq,eI,eF,"Φ","\\Phi",!0),eC(eq,eI,eF,"Ψ","\\Psi",!0),eC(eq,eI,eF,"Ω","\\Omega",!0),eC(eq,eI,eF,"A","Α"),eC(eq,eI,eF,"B","Β"),eC(eq,eI,eF,"E","Ε"),eC(eq,eI,eF,"Z","Ζ"),eC(eq,eI,eF,"H","Η"),eC(eq,eI,eF,"I","Ι"),eC(eq,eI,eF,"K","Κ"),eC(eq,eI,eF,"M","Μ"),eC(eq,eI,eF,"N","Ν"),eC(eq,eI,eF,"O","Ο"),eC(eq,eI,eF,"P","Ρ"),eC(eq,eI,eF,"T","Τ"),eC(eq,eI,eF,"X","Χ"),eC(eq,eI,eF,"\xac","\\neg",!0),eC(eq,eI,eF,"\xac","\\lnot"),eC(eq,eI,eF,"⊤","\\top"),eC(eq,eI,eF,"⊥","\\bot"),eC(eq,eI,eF,"∅","\\emptyset"),eC(eq,"ams",eF,"∅","\\varnothing"),eC(eq,eI,eE,"α","\\alpha",!0),eC(eq,eI,eE,"β","\\beta",!0),eC(eq,eI,eE,"γ","\\gamma",!0),eC(eq,eI,eE,"δ","\\delta",!0),eC(eq,eI,eE,"ϵ","\\epsilon",!0),eC(eq,eI,eE,"ζ","\\zeta",!0),eC(eq,eI,eE,"η","\\eta",!0),eC(eq,eI,eE,"θ","\\theta",!0),eC(eq,eI,eE,"ι","\\iota",!0),eC(eq,eI,eE,"κ","\\kappa",!0),eC(eq,eI,eE,"λ","\\lambda",!0),eC(eq,eI,eE,"μ","\\mu",!0),eC(eq,eI,eE,"ν","\\nu",!0),eC(eq,eI,eE,"ξ","\\xi",!0),eC(eq,eI,eE,"ο","\\omicron",!0),eC(eq,eI,eE,"π","\\pi",!0),eC(eq,eI,eE,"ρ","\\rho",!0),eC(eq,eI,eE,"σ","\\sigma",!0),eC(eq,eI,eE,"τ","\\tau",!0),eC(eq,eI,eE,"υ","\\upsilon",!0),eC(eq,eI,eE,"ϕ","\\phi",!0),eC(eq,eI,eE,"χ","\\chi",!0),eC(eq,eI,eE,"ψ","\\psi",!0),eC(eq,eI,eE,"ω","\\omega",!0),eC(eq,eI,eE,"ε","\\varepsilon",!0),eC(eq,eI,eE,"ϑ","\\vartheta",!0),eC(eq,eI,eE,"ϖ","\\varpi",!0),eC(eq,eI,eE,"ϱ","\\varrho",!0),eC(eq,eI,eE,"ς","\\varsigma",!0),eC(eq,eI,eE,"φ","\\varphi",!0),eC(eq,eI,"bin","∗","*",!0),eC(eq,eI,"bin","+","+"),eC(eq,eI,"bin","−","-",!0),eC(eq,eI,"bin","⋅","\\cdot",!0),eC(eq,eI,"bin","∘","\\circ",!0),eC(eq,eI,"bin","\xf7","\\div",!0),eC(eq,eI,"bin","\xb1","\\pm",!0),eC(eq,eI,"bin","\xd7","\\times",!0),eC(eq,eI,"bin","∩","\\cap",!0),eC(eq,eI,"bin","∪","\\cup",!0),eC(eq,eI,"bin","∖","\\setminus",!0),eC(eq,eI,"bin","∧","\\land"),eC(eq,eI,"bin","∨","\\lor"),eC(eq,eI,"bin","∧","\\wedge",!0),eC(eq,eI,"bin","∨","\\vee",!0),eC(eq,eI,eF,"√","\\surd"),eC(eq,eI,eD,"⟨","\\langle",!0),eC(eq,eI,eD,"∣","\\lvert"),eC(eq,eI,eD,"∥","\\lVert"),eC(eq,eI,eR,"?","?"),eC(eq,eI,eR,"!","!"),eC(eq,eI,eR,"⟩","\\rangle",!0),eC(eq,eI,eR,"∣","\\rvert"),eC(eq,eI,eR,"∥","\\rVert"),eC(eq,eI,"rel","=","="),eC(eq,eI,"rel",":",":"),eC(eq,eI,"rel","≈","\\approx",!0),eC(eq,eI,"rel","≅","\\cong",!0),eC(eq,eI,"rel","≥","\\ge"),eC(eq,eI,"rel","≥","\\geq",!0),eC(eq,eI,"rel","←","\\gets"),eC(eq,eI,"rel",">","\\gt",!0),eC(eq,eI,"rel","∈","\\in",!0),eC(eq,eI,"rel","","\\@not"),eC(eq,eI,"rel","⊂","\\subset",!0),eC(eq,eI,"rel","⊃","\\supset",!0),eC(eq,eI,"rel","⊆","\\subseteq",!0),eC(eq,eI,"rel","⊇","\\supseteq",!0),eC(eq,"ams","rel","⊈","\\nsubseteq",!0),eC(eq,"ams","rel","⊉","\\nsupseteq",!0),eC(eq,eI,"rel","⊨","\\models"),eC(eq,eI,"rel","←","\\leftarrow",!0),eC(eq,eI,"rel","≤","\\le"),eC(eq,eI,"rel","≤","\\leq",!0),eC(eq,eI,"rel","<","\\lt",!0),eC(eq,eI,"rel","→","\\rightarrow",!0),eC(eq,eI,"rel","→","\\to"),eC(eq,"ams","rel","≱","\\ngeq",!0),eC(eq,"ams","rel","≰","\\nleq",!0),eC(eq,eI,eP,"\xa0","\\ "),eC(eq,eI,eP,"\xa0","\\space"),eC(eq,eI,eP,"\xa0","\\nobreakspace"),eC(eN,eI,eP,"\xa0","\\ "),eC(eN,eI,eP,"\xa0"," "),eC(eN,eI,eP,"\xa0","\\space"),eC(eN,eI,eP,"\xa0","\\nobreakspace"),eC(eq,eI,eP,null,"\\nobreak"),eC(eq,eI,eP,null,"\\allowbreak"),eC(eq,eI,eV,",",","),eC(eq,eI,eV,";",";"),eC(eq,"ams","bin","⊼","\\barwedge",!0),eC(eq,"ams","bin","⊻","\\veebar",!0),eC(eq,eI,"bin","⊙","\\odot",!0),eC(eq,eI,"bin","⊕","\\oplus",!0),eC(eq,eI,"bin","⊗","\\otimes",!0),eC(eq,eI,eF,"∂","\\partial",!0),eC(eq,eI,"bin","⊘","\\oslash",!0),eC(eq,"ams","bin","⊚","\\circledcirc",!0),eC(eq,"ams","bin","⊡","\\boxdot",!0),eC(eq,eI,"bin","△","\\bigtriangleup"),eC(eq,eI,"bin","▽","\\bigtriangledown"),eC(eq,eI,"bin","†","\\dagger"),eC(eq,eI,"bin","⋄","\\diamond"),eC(eq,eI,"bin","⋆","\\star"),eC(eq,eI,"bin","◃","\\triangleleft"),eC(eq,eI,"bin","▹","\\triangleright"),eC(eq,eI,eD,"{","\\{"),eC(eN,eI,eF,"{","\\{"),eC(eN,eI,eF,"{","\\textbraceleft"),eC(eq,eI,eR,"}","\\}"),eC(eN,eI,eF,"}","\\}"),eC(eN,eI,eF,"}","\\textbraceright"),eC(eq,eI,eD,"{","\\lbrace"),eC(eq,eI,eR,"}","\\rbrace"),eC(eq,eI,eD,"[","\\lbrack",!0),eC(eN,eI,eF,"[","\\lbrack",!0),eC(eq,eI,eR,"]","\\rbrack",!0),eC(eN,eI,eF,"]","\\rbrack",!0),eC(eq,eI,eD,"(","\\lparen",!0),eC(eq,eI,eR,")","\\rparen",!0),eC(eN,eI,eF,"<","\\textless",!0),eC(eN,eI,eF,">","\\textgreater",!0),eC(eq,eI,eD,"⌊","\\lfloor",!0),eC(eq,eI,eR,"⌋","\\rfloor",!0),eC(eq,eI,eD,"⌈","\\lceil",!0),eC(eq,eI,eR,"⌉","\\rceil",!0),eC(eq,eI,eF,"\\","\\backslash"),eC(eq,eI,eF,"∣","|"),eC(eq,eI,eF,"∣","\\vert"),eC(eN,eI,eF,"|","\\textbar",!0),eC(eq,eI,eF,"∥","\\|"),eC(eq,eI,eF,"∥","\\Vert"),eC(eN,eI,eF,"∥","\\textbardbl"),eC(eN,eI,eF,"~","\\textasciitilde"),eC(eN,eI,eF,"\\","\\textbackslash"),eC(eN,eI,eF,"^","\\textasciicircum"),eC(eq,eI,"rel","↑","\\uparrow",!0),eC(eq,eI,"rel","⇑","\\Uparrow",!0),eC(eq,eI,"rel","↓","\\downarrow",!0),eC(eq,eI,"rel","⇓","\\Downarrow",!0),eC(eq,eI,"rel","↕","\\updownarrow",!0),eC(eq,eI,"rel","⇕","\\Updownarrow",!0),eC(eq,eI,eL,"∐","\\coprod"),eC(eq,eI,eL,"⋁","\\bigvee"),eC(eq,eI,eL,"⋀","\\bigwedge"),eC(eq,eI,eL,"⨄","\\biguplus"),eC(eq,eI,eL,"⋂","\\bigcap"),eC(eq,eI,eL,"⋃","\\bigcup"),eC(eq,eI,eL,"∫","\\int"),eC(eq,eI,eL,"∫","\\intop"),eC(eq,eI,eL,"∬","\\iint"),eC(eq,eI,eL,"∭","\\iiint"),eC(eq,eI,eL,"∏","\\prod"),eC(eq,eI,eL,"∑","\\sum"),eC(eq,eI,eL,"⨂","\\bigotimes"),eC(eq,eI,eL,"⨁","\\bigoplus"),eC(eq,eI,eL,"⨀","\\bigodot"),eC(eq,eI,eL,"∮","\\oint"),eC(eq,eI,eL,"∯","\\oiint"),eC(eq,eI,eL,"∰","\\oiiint"),eC(eq,eI,eL,"⨆","\\bigsqcup"),eC(eq,eI,eL,"∫","\\smallint"),eC(eN,eI,eO,"…","\\textellipsis"),eC(eq,eI,eO,"…","\\mathellipsis"),eC(eN,eI,eO,"…","\\ldots",!0),eC(eq,eI,eO,"…","\\ldots",!0),eC(eq,eI,eO,"⋯","\\@cdots",!0),eC(eq,eI,eO,"⋱","\\ddots",!0),eC(eq,eI,eF,"⋮","\\varvdots"),eC(eq,eI,eH,"ˊ","\\acute"),eC(eq,eI,eH,"ˋ","\\grave"),eC(eq,eI,eH,"\xa8","\\ddot"),eC(eq,eI,eH,"~","\\tilde"),eC(eq,eI,eH,"ˉ","\\bar"),eC(eq,eI,eH,"˘","\\breve"),eC(eq,eI,eH,"ˇ","\\check"),eC(eq,eI,eH,"^","\\hat"),eC(eq,eI,eH,"⃗","\\vec"),eC(eq,eI,eH,"˙","\\dot"),eC(eq,eI,eH,"˚","\\mathring"),eC(eq,eI,eE,"","\\@imath"),eC(eq,eI,eE,"","\\@jmath"),eC(eq,eI,eF,"ı","ı"),eC(eq,eI,eF,"ȷ","ȷ"),eC(eN,eI,eF,"ı","\\i",!0),eC(eN,eI,eF,"ȷ","\\j",!0),eC(eN,eI,eF,"\xdf","\\ss",!0),eC(eN,eI,eF,"\xe6","\\ae",!0),eC(eN,eI,eF,"œ","\\oe",!0),eC(eN,eI,eF,"\xf8","\\o",!0),eC(eN,eI,eF,"\xc6","\\AE",!0),eC(eN,eI,eF,"Œ","\\OE",!0),eC(eN,eI,eF,"\xd8","\\O",!0),eC(eN,eI,eH,"ˊ","\\'"),eC(eN,eI,eH,"ˋ","\\`"),eC(eN,eI,eH,"ˆ","\\^"),eC(eN,eI,eH,"˜","\\~"),eC(eN,eI,eH,"ˉ","\\="),eC(eN,eI,eH,"˘","\\u"),eC(eN,eI,eH,"˙","\\."),eC(eN,eI,eH,"\xb8","\\c"),eC(eN,eI,eH,"˚","\\r"),eC(eN,eI,eH,"ˇ","\\v"),eC(eN,eI,eH,"\xa8",'\\"'),eC(eN,eI,eH,"˝","\\H"),eC(eN,eI,eH,"◯","\\textcircled");var eG={"--":!0,"---":!0,"``":!0,"''":!0};eC(eN,eI,eF,"–","--",!0),eC(eN,eI,eF,"–","\\textendash"),eC(eN,eI,eF,"—","---",!0),eC(eN,eI,eF,"—","\\textemdash"),eC(eN,eI,eF,"‘","`",!0),eC(eN,eI,eF,"‘","\\textquoteleft"),eC(eN,eI,eF,"’","'",!0),eC(eN,eI,eF,"’","\\textquoteright"),eC(eN,eI,eF,"“","``",!0),eC(eN,eI,eF,"“","\\textquotedblleft"),eC(eN,eI,eF,"”","''",!0),eC(eN,eI,eF,"”","\\textquotedblright"),eC(eq,eI,eF,"\xb0","\\degree",!0),eC(eN,eI,eF,"\xb0","\\degree"),eC(eN,eI,eF,"\xb0","\\textdegree",!0),eC(eq,eI,eF,"\xa3","\\pounds"),eC(eq,eI,eF,"\xa3","\\mathsterling",!0),eC(eN,eI,eF,"\xa3","\\pounds"),eC(eN,eI,eF,"\xa3","\\textsterling",!0),eC(eq,"ams",eF,"✠","\\maltese"),eC(eN,"ams",eF,"✠","\\maltese");for(var eU='0123456789/@."',eY=0;eY<eU.length;eY++){var eX=eU.charAt(eY);eC(eq,eI,eF,eX,eX)}for(var eW='0123456789!@*()-=+";:?/.,',e_=0;e_<eW.length;e_++){var ej=eW.charAt(e_);eC(eN,eI,eF,ej,ej)}for(var e$="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",eZ=0;eZ<e$.length;eZ++){var eK=e$.charAt(eZ);eC(eq,eI,eE,eK,eK),eC(eN,eI,eF,eK,eK)}eC(eq,"ams",eF,"C","ℂ"),eC(eN,"ams",eF,"C","ℂ"),eC(eq,"ams",eF,"H","ℍ"),eC(eN,"ams",eF,"H","ℍ"),eC(eq,"ams",eF,"N","ℕ"),eC(eN,"ams",eF,"N","ℕ"),eC(eq,"ams",eF,"P","ℙ"),eC(eN,"ams",eF,"P","ℙ"),eC(eq,"ams",eF,"Q","ℚ"),eC(eN,"ams",eF,"Q","ℚ"),eC(eq,"ams",eF,"R","ℝ"),eC(eN,"ams",eF,"R","ℝ"),eC(eq,"ams",eF,"Z","ℤ"),eC(eN,"ams",eF,"Z","ℤ"),eC(eq,eI,eE,"h","ℎ"),eC(eN,eI,eE,"h","ℎ");for(var eJ="",eQ=0;eQ<e$.length;eQ++){var e0=e$.charAt(eQ);eC(eq,eI,eE,e0,eJ=String.fromCharCode(55349,56320+eQ)),eC(eN,eI,eF,e0,eJ),eC(eq,eI,eE,e0,eJ=String.fromCharCode(55349,56372+eQ)),eC(eN,eI,eF,e0,eJ),eC(eq,eI,eE,e0,eJ=String.fromCharCode(55349,56424+eQ)),eC(eN,eI,eF,e0,eJ),eC(eq,eI,eE,e0,eJ=String.fromCharCode(55349,56580+eQ)),eC(eN,eI,eF,e0,eJ),eC(eq,eI,eE,e0,eJ=String.fromCharCode(55349,56684+eQ)),eC(eN,eI,eF,e0,eJ),eC(eq,eI,eE,e0,eJ=String.fromCharCode(55349,56736+eQ)),eC(eN,eI,eF,e0,eJ),eC(eq,eI,eE,e0,eJ=String.fromCharCode(55349,56788+eQ)),eC(eN,eI,eF,e0,eJ),eC(eq,eI,eE,e0,eJ=String.fromCharCode(55349,56840+eQ)),eC(eN,eI,eF,e0,eJ),eC(eq,eI,eE,e0,eJ=String.fromCharCode(55349,56944+eQ)),eC(eN,eI,eF,e0,eJ),eQ<26&&(eC(eq,eI,eE,e0,eJ=String.fromCharCode(55349,56632+eQ)),eC(eN,eI,eF,e0,eJ),eC(eq,eI,eE,e0,eJ=String.fromCharCode(55349,56476+eQ)),eC(eN,eI,eF,e0,eJ))}eC(eq,eI,eE,"k",eJ=String.fromCharCode(55349,56668)),eC(eN,eI,eF,"k",eJ);for(var e1=0;e1<10;e1++){var e4=e1.toString();eC(eq,eI,eE,e4,eJ=String.fromCharCode(55349,57294+e1)),eC(eN,eI,eF,e4,eJ),eC(eq,eI,eE,e4,eJ=String.fromCharCode(55349,57314+e1)),eC(eN,eI,eF,e4,eJ),eC(eq,eI,eE,e4,eJ=String.fromCharCode(55349,57324+e1)),eC(eN,eI,eF,e4,eJ),eC(eq,eI,eE,e4,eJ=String.fromCharCode(55349,57334+e1)),eC(eN,eI,eF,e4,eJ)}for(var e5="\xd0\xde\xfe",e6=0;e6<e5.length;e6++){var e7=e5.charAt(e6);eC(eq,eI,eE,e7,e7),eC(eN,eI,eF,e7,e7)}var e3=[["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"]],e8=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],e2=function(e,t){var r=(e.charCodeAt(0)-55296)*1024+(e.charCodeAt(1)-56320)+65536,a="math"===t?0:1;if(119808<=r&&r<120484){var n=Math.floor((r-119808)/26);return[e3[n][2],e3[n][a]]}if(120782<=r&&r<=120831){var s=Math.floor((r-120782)/10);return[e8[s][2],e8[s][a]]}if(120485===r||120486===r)return[e3[0][2],e3[0][a]];else if(120486<r&&r<120782)return["",""];else throw new i("Unsupported character: "+e)},e9=function(e,t,r){return eB[r][e]&&eB[r][e].replace&&(e=eB[r][e].replace),{value:e,metrics:er(e,t,r)}},te=function(e,t,r,a,n){var i,s=e9(e,t,r),o=s.metrics;if(e=s.value,o){var l=o.italic;("text"===r||a&&"mathit"===a.font)&&(l=0),i=new ew(e,o.height,o.depth,l,o.skew,o.width,n)}else"undefined"!=typeof console&&console.warn("No character metrics "+("for '"+e+"' in style '"+t+"' and mode '"+r)+"'"),i=new ew(e,0,0,0,0,0,n);if(a){i.maxFontSize=a.sizeMultiplier,a.style.isTight()&&i.classes.push("mtight");var h=a.getColor();h&&(i.style.color=h)}return i},tt=(e,t)=>{if(eu(e.classes)!==eu(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize)return!1;if(1===e.classes.length){var r=e.classes[0];if("mbin"===r||"mord"===r)return!1}for(var a in e.style)if(e.style.hasOwnProperty(a)&&e.style[a]!==t.style[a])return!1;for(var n in t.style)if(t.style.hasOwnProperty(n)&&e.style[n]!==t.style[n])return!1;return!0},tr=function(e){for(var t=0,r=0,a=0,n=0;n<e.children.length;n++){var i=e.children[n];i.height>t&&(t=i.height),i.depth>r&&(r=i.depth),i.maxFontSize>a&&(a=i.maxFontSize)}e.height=t,e.depth=r,e.maxFontSize=a},ta=function(e,t,r,a){var n=new ev(e,t,r,a);return tr(n),n},tn=(e,t,r,a)=>new ev(e,t,r,a),ti=function(e){var t=new J(e);return tr(t),t},ts=function(e){if("individualShift"===e.positionType){for(var t,r=e.children,a=[r[0]],n=-r[0].shift-r[0].elem.depth,i=n,s=1;s<r.length;s++){var o=-r[s].shift-i-r[s].elem.depth,l=o-(r[s-1].elem.height+r[s-1].elem.depth);i+=o,a.push({type:"kern",size:l}),a.push(r[s])}return{children:a,depth:n}}if("top"===e.positionType){for(var h=e.positionData,m=0;m<e.children.length;m++){var c=e.children[m];h-="kern"===c.type?c.size:c.elem.height+c.elem.depth}t=h}else if("bottom"===e.positionType)t=-e.positionData;else{var p=e.children[0];if("elem"!==p.type)throw Error('First child must have type "elem".');if("shift"===e.positionType)t=-p.elem.depth-e.positionData;else if("firstBaseline"===e.positionType)t=-p.elem.depth;else throw Error("Invalid positionType "+e.positionType+".")}return{children:e.children,depth:t}},to=function(e,t,r){var a,n="";switch(e){case"amsrm":n="AMS";break;case"textrm":n="Main";break;case"textsf":n="SansSerif";break;case"texttt":n="Typewriter";break;default:n=e}return n+"-"+(a="textbf"===t&&"textit"===r?"BoldItalic":"textbf"===t?"Bold":"textit"===t?"Italic":"Regular")},tl={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"}},th={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},tm={fontMap:tl,makeSymbol:te,mathsym:function(e,t,r,a){return(void 0===a&&(a=[]),"boldsymbol"===r.font&&e9(e,"Main-Bold",t).metrics)?te(e,"Main-Bold",t,r,a.concat(["mathbf"])):"\\"===e||"main"===eB[t][e].font?te(e,"Main-Regular",t,r,a):te(e,"AMS-Regular",t,r,a.concat(["amsrm"]))},makeSpan:ta,makeSvgSpan:tn,makeLineSpan:function(e,t,r){var a=ta([e],[],t);return a.height=Math.max(r||t.fontMetrics().defaultRuleThickness,t.minRuleThickness),a.style.borderBottomWidth=ep(a.height),a.maxFontSize=1,a},makeAnchor:function(e,t,r,a){var n=new eb(e,t,r,a);return tr(n),n},makeFragment:ti,wrapFragment:function(e,t){return e instanceof J?ta([],[e],t):e},makeVList:function(e,t){for(var r,{children:a,depth:n}=ts(e),i=0,s=0;s<a.length;s++){var o=a[s];if("elem"===o.type){var l=o.elem;i=Math.max(i,l.maxFontSize,l.height)}}i+=2;var h=ta(["pstrut"],[]);h.style.height=ep(i);for(var m=[],c=n,p=n,u=n,d=0;d<a.length;d++){var g=a[d];if("kern"===g.type)u+=g.size;else{var f=g.elem,v=ta(g.wrapperClasses||[],[h,f],void 0,g.wrapperStyle||{});v.style.top=ep(-i-u-f.depth),g.marginLeft&&(v.style.marginLeft=g.marginLeft),g.marginRight&&(v.style.marginRight=g.marginRight),m.push(v),u+=f.height+f.depth}c=Math.min(c,u),p=Math.max(p,u)}var b=ta(["vlist"],m);if(b.style.height=ep(p),c<0){var y=ta([],[]),x=ta(["vlist"],[y]);x.style.height=ep(-c);var w=ta(["vlist-s"],[new ew("")]);r=[ta(["vlist-r"],[b,w]),ta(["vlist-r"],[x])]}else r=[ta(["vlist-r"],[b])];var k=ta(["vlist-t"],r);return 2===r.length&&k.classes.push("vlist-t2"),k.height=p,k.depth=-c,k},makeOrd:function(e,t,r){var a=e.mode,n=e.text,i=["mord"],s="math"===a||"text"===a&&t.font,o=s?t.font:t.fontFamily,l="",h="";if(55349===n.charCodeAt(0)&&([l,h]=e2(n,a)),l.length>0)return te(n,l,a,t,i.concat(h));if(o){if("boldsymbol"===o){var m,c,p,u,d,g,f=(m=n,c=a,p=0,u=0,"textord"!==r&&e9(m,"Math-BoldItalic",c).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"});d=f.fontName,g=[f.fontClass]}else s?(d=tl[o].fontName,g=[o]):(d=to(o,t.fontWeight,t.fontShape),g=[o,t.fontWeight,t.fontShape]);if(e9(n,d,a).metrics)return te(n,d,a,t,i.concat(g));if(eG.hasOwnProperty(n)&&"Typewriter"===d.slice(0,10)){for(var v=[],b=0;b<n.length;b++)v.push(te(n[b],d,a,t,i.concat(g)));return ti(v)}}if("mathord"===r)return te(n,"Math-Italic",a,t,i.concat(["mathnormal"]));if("textord"===r){var y=eB[a][n]&&eB[a][n].font;if("ams"===y)return te(n,to("amsrm",t.fontWeight,t.fontShape),a,t,i.concat("amsrm",t.fontWeight,t.fontShape));if("main"===y||!y)return te(n,to("textrm",t.fontWeight,t.fontShape),a,t,i.concat(t.fontWeight,t.fontShape));else{var x=to(y,t.fontWeight,t.fontShape);return te(n,x,a,t,i.concat(x,t.fontWeight,t.fontShape))}}throw Error("unexpected type: "+r+" in makeOrd")},makeGlue:(e,t)=>{var r=ta(["mspace"],[],t),a=ec(e,t);return r.style.marginRight=ep(a),r},staticSvg:function(e,t){var[r,a,n]=th[e],i=tn(["overlay"],[new ek([new eS(r)],{width:ep(a),height:ep(n),style:"width:"+ep(a),viewBox:"0 0 "+1e3*a+" "+1e3*n,preserveAspectRatio:"xMinYMin"})],t);return i.height=n,i.style.height=ep(n),i.style.width=ep(a),i},svgData:th,tryCombineChars:e=>{for(var t=0;t<e.length-1;t++){var r=e[t],a=e[t+1];r instanceof ew&&a instanceof ew&&tt(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,e.splice(t+1,1),t--)}return e}},tc={number:3,unit:"mu"},tp={number:4,unit:"mu"},tu={number:5,unit:"mu"},td={mord:{mop:tc,mbin:tp,mrel:tu,minner:tc},mop:{mord:tc,mop:tc,mrel:tu,minner:tc},mbin:{mord:tp,mop:tp,mopen:tp,minner:tp},mrel:{mord:tu,mop:tu,mopen:tu,minner:tu},mopen:{},mclose:{mop:tc,mbin:tp,mrel:tu,minner:tc},mpunct:{mord:tc,mop:tc,mrel:tu,mopen:tc,mclose:tc,mpunct:tc,minner:tc},minner:{mord:tc,mop:tc,mbin:tp,mrel:tu,mopen:tc,mpunct:tc,minner:tc}},tg={mord:{mop:tc},mop:{mord:tc,mop:tc},mbin:{},mrel:{},mopen:{},mclose:{mop:tc},mpunct:{},minner:{mop:tc}},tf={},tv={},tb={};function ty(e){for(var{type:t,names:r,props:a,handler:n,htmlBuilder:i,mathmlBuilder:s}=e,o={type:t,numArgs:a.numArgs,argTypes:a.argTypes,allowedInArgument:!!a.allowedInArgument,allowedInText:!!a.allowedInText,allowedInMath:void 0===a.allowedInMath||a.allowedInMath,numOptionalArgs:a.numOptionalArgs||0,infix:!!a.infix,primitive:!!a.primitive,handler:n},l=0;l<r.length;++l)tf[r[l]]=o;t&&(i&&(tv[t]=i),s&&(tb[t]=s))}function tx(e){var{type:t,htmlBuilder:r,mathmlBuilder:a}=e;ty({type:t,names:[],props:{numArgs:0},handler(){throw Error("Should never be called.")},htmlBuilder:r,mathmlBuilder:a})}var tw=function(e){return"ordgroup"===e.type&&1===e.body.length?e.body[0]:e},tk=function(e){return"ordgroup"===e.type?e.body:[e]},tS=tm.makeSpan,tM=["leftmost","mbin","mopen","mrel","mop","mpunct"],tz=["rightmost","mrel","mclose","mpunct"],tA={display:Y.DISPLAY,text:Y.TEXT,script:Y.SCRIPT,scriptscript:Y.SCRIPTSCRIPT},tT={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},tB=function(e,t,r,a){void 0===a&&(a=[null,null]);for(var n=[],i=0;i<e.length;i++){var s=tR(e[i],t);if(s instanceof J){var o=s.children;n.push(...o)}else n.push(s)}if(tm.tryCombineChars(n),!r)return n;var l=t;if(1===e.length){var h=e[0];"sizing"===h.type?l=t.havingSize(h.size):"styling"===h.type&&(l=t.havingStyle(tA[h.style]))}var m=tS([a[0]||"leftmost"],[],t),c=tS([a[1]||"rightmost"],[],t),p="root"===r;return tC(n,(e,t)=>{var r=t.classes[0],a=e.classes[0];"mbin"===r&&H.contains(tz,a)?t.classes[0]="mord":"mbin"===a&&H.contains(tM,r)&&(e.classes[0]="mord")},{node:m},c,p),tC(n,(e,t)=>{var r=tI(t),a=tI(e),n=r&&a?e.hasClass("mtight")?tg[r][a]:td[r][a]:null;if(n)return tm.makeGlue(n,l)},{node:m},c,p),n},tC=function e(t,r,a,n,i){n&&t.push(n);for(var s=0;s<t.length;s++){let n;var o=t[s],l=tq(o);if(l){e(l.children,r,a,null,i);continue}var h=!o.hasClass("mspace");if(h){var m=r(o,a.node);m&&(a.insertAfter?a.insertAfter(m):(t.unshift(m),s++))}h?a.node=o:i&&o.hasClass("newline")&&(a.node=tS(["leftmost"]));a.insertAfter=(n=s,e=>{t.splice(n+1,0,e),s++})}n&&t.pop()},tq=function(e){return e instanceof J||e instanceof eb||e instanceof ev&&e.hasClass("enclosing")?e:null},tN=function e(t,r){var a=tq(t);if(a){var n=a.children;if(n.length){if("right"===r)return e(n[n.length-1],"right");if("left"===r)return e(n[0],"left")}}return t},tI=function(e,t){return e?(t&&(e=tN(e,t)),tT[e.classes[0]]||null):null},tH=function(e,t){var r=["nulldelimiter"].concat(e.baseSizingClasses());return tS(t.concat(r))},tR=function(e,t,r){if(!e)return tS();if(tv[e.type]){var a=tv[e.type](e,t);if(r&&t.size!==r.size){a=tS(t.sizingClasses(r),[a],t);var n=t.sizeMultiplier/r.sizeMultiplier;a.height*=n,a.depth*=n}return a}throw new i("Got group of unknown type: '"+e.type+"'")};function tO(e,t){var r=tS(["base"],e,t),a=tS(["strut"]);return a.style.height=ep(r.height+r.depth),r.depth&&(a.style.verticalAlign=ep(-r.depth)),r.children.unshift(a),r}function tE(e,t){var r,a,n=null;1===e.length&&"tag"===e[0].type&&(n=e[0].tag,e=e[0].body);var i=tB(e,t,"root");2===i.length&&i[1].hasClass("tag")&&(r=i.pop());for(var s=[],o=[],l=0;l<i.length;l++)if(o.push(i[l]),i[l].hasClass("mbin")||i[l].hasClass("mrel")||i[l].hasClass("allowbreak")){for(var h=!1;l<i.length-1&&i[l+1].hasClass("mspace")&&!i[l+1].hasClass("newline");)l++,o.push(i[l]),i[l].hasClass("nobreak")&&(h=!0);!h&&(s.push(tO(o,t)),o=[])}else i[l].hasClass("newline")&&(o.pop(),o.length>0&&(s.push(tO(o,t)),o=[]),s.push(i[l]));o.length>0&&s.push(tO(o,t)),n?((a=tO(tB(n,t,!0))).classes=["tag"],s.push(a)):r&&s.push(r);var m=tS(["katex-html"],s);if(m.setAttribute("aria-hidden","true"),a){var c=a.children[0];c.style.height=ep(m.height+m.depth),m.depth&&(c.style.verticalAlign=ep(-m.depth))}return m}function tL(e){return new J(e)}class tD{constructor(e,t,r){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=e,this.attributes={},this.children=t||[],this.classes=r||[]}setAttribute(e,t){this.attributes[e]=t}getAttribute(e){return this.attributes[e]}toNode(){var e=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);this.classes.length>0&&(e.className=eu(this.classes));for(var r=0;r<this.children.length;r++)e.appendChild(this.children[r].toNode());return e}toMarkup(){var e="<"+this.type;for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+'="'+H.escape(this.attributes[t])+'"');this.classes.length>0&&(e+=' class ="'+H.escape(eu(this.classes))+'"'),e+=">";for(var r=0;r<this.children.length;r++)e+=this.children[r].toMarkup();return e+="</"+this.type+">"}toText(){return this.children.map(e=>e.toText()).join("")}}class tV{constructor(e){this.text=void 0,this.text=e}toNode(){return document.createTextNode(this.text)}toMarkup(){return H.escape(this.toText())}toText(){return this.text}}var tP={MathNode:tD,TextNode:tV,SpaceNode:class e{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",ep(this.width)),e}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+ep(this.width)+'"/>'}toText(){return this.character?this.character:" "}},newDocumentFragment:tL},tF=function(e,t,r){return eB[t][e]&&eB[t][e].replace&&55349!==e.charCodeAt(0)&&!(eG.hasOwnProperty(e)&&r&&(r.fontFamily&&"tt"===r.fontFamily.slice(4,6)||r.font&&"tt"===r.font.slice(4,6)))&&(e=eB[t][e].replace),new tP.TextNode(e)},tG=function(e){return 1===e.length?e[0]:new tP.MathNode("mrow",e)},tU=function(e,t){if("texttt"===t.fontFamily)return"monospace";if("textsf"===t.fontFamily){if("textit"===t.fontShape&&"textbf"===t.fontWeight)return"sans-serif-bold-italic";if("textit"===t.fontShape)return"sans-serif-italic";else if("textbf"===t.fontWeight)return"bold-sans-serif";else return"sans-serif"}if("textit"===t.fontShape&&"textbf"===t.fontWeight)return"bold-italic";else if("textit"===t.fontShape)return"italic";else if("textbf"===t.fontWeight)return"bold";var r=t.font;if(!r||"mathnormal"===r)return null;var a=e.mode;if("mathit"===r)return"italic";if("boldsymbol"===r)return"textord"===e.type?"bold":"bold-italic";if("mathbf"===r)return"bold";else if("mathbb"===r)return"double-struck";else if("mathfrak"===r)return"fraktur";else if("mathscr"===r||"mathcal"===r)return"script";else if("mathsf"===r)return"sans-serif";else if("mathtt"===r)return"monospace";var n=e.text;return H.contains(["\\imath","\\jmath"],n)?null:(eB[a][n]&&eB[a][n].replace&&(n=eB[a][n].replace),er(n,tm.fontMap[r].fontName,a))?tm.fontMap[r].variant:null},tY=function(e,t,r){if(1===e.length){var a,n=tW(e[0],t);return r&&n instanceof tD&&"mo"===n.type&&(n.setAttribute("lspace","0em"),n.setAttribute("rspace","0em")),[n]}for(var i=[],s=0;s<e.length;s++){var o=tW(e[s],t);if(o instanceof tD&&a instanceof tD){if("mtext"===o.type&&"mtext"===a.type&&o.getAttribute("mathvariant")===a.getAttribute("mathvariant")){a.children.push(...o.children);continue}if("mn"===o.type&&"mn"===a.type){a.children.push(...o.children);continue}else if("mi"===o.type&&1===o.children.length&&"mn"===a.type){var l=o.children[0];if(l instanceof tV&&"."===l.text){a.children.push(...o.children);continue}}else if("mi"===a.type&&1===a.children.length){var h=a.children[0];if(h instanceof tV&&"̸"===h.text&&("mo"===o.type||"mi"===o.type||"mn"===o.type)){var m=o.children[0];m instanceof tV&&m.text.length>0&&(m.text=m.text.slice(0,1)+"̸"+m.text.slice(1),i.pop())}}}i.push(o),a=o}return i},tX=function(e,t,r){return tG(tY(e,t,r))},tW=function(e,t){if(!e)return new tP.MathNode("mrow");if(tb[e.type])return tb[e.type](e,t);throw new i("Got group of unknown type: '"+e.type+"'")};function t_(e,t,r,a,n){var i,s=tY(e,r);i=1===s.length&&s[0]instanceof tD&&H.contains(["mrow","mtable"],s[0].type)?s[0]:new tP.MathNode("mrow",s);var o=new tP.MathNode("annotation",[new tP.TextNode(t)]);o.setAttribute("encoding","application/x-tex");var l=new tP.MathNode("semantics",[i,o]),h=new tP.MathNode("math",[l]);return h.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),a&&h.setAttribute("display","block"),tm.makeSpan([n?"katex":"katex-mathml"],[h])}var tj=function(e){return new eo({style:e.displayMode?Y.DISPLAY:Y.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},t$=function(e,t){if(t.displayMode){var r=["katex-display"];t.leqno&&r.push("leqno"),t.fleqn&&r.push("fleqn"),e=tm.makeSpan(r,[e])}return e},tZ=function(e,t,r){var a,n=tj(r);if("mathml"===r.output)return t_(e,t,n,r.displayMode,!0);if("html"===r.output){var i=tE(e,n);a=tm.makeSpan(["katex"],[i])}else{var s=t_(e,t,n,r.displayMode,!1),o=tE(e,n);a=tm.makeSpan(["katex"],[s,o])}return t$(a,r)},tK=function(e,t,r){var a=tE(e,tj(r));return t$(tm.makeSpan(["katex"],[a]),r)},tJ={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":"="},tQ={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]},t0={encloseSpan:function(e,t,r,a,n){var i,s=e.height+e.depth+r+a;if(/fbox|color|angl/.test(t)){if(i=tm.makeSpan(["stretchy",t],[],n),"fbox"===t){var o=n.color&&n.getColor();o&&(i.style.borderColor=o)}}else{var l=[];/^[bx]cancel$/.test(t)&&l.push(new eM({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&l.push(new eM({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var h=new ek(l,{width:"100%",height:ep(s)});i=tm.makeSvgSpan([],[h],n)}return i.height=s,i.style.height=ep(s),i},mathMLnode:function(e){var t=new tP.MathNode("mo",[new tP.TextNode(tJ[e.replace(/^\\/,"")])]);return t.setAttribute("stretchy","true"),t},svgSpan:function(e,t){var{span:r,minWidth:a,height:n}=function(){var r=4e5,a=e.label.slice(1);if(H.contains(["widehat","widecheck","widetilde","utilde"],a)){var n,i,s,o,l="ordgroup"===(o=e.base).type?o.body.length:1;if(l>5)"widehat"===a||"widecheck"===a?(n=420,r=2364,s=.42,i=a+"4"):(n=312,r=2340,s=.34,i="tilde4");else{var h=[1,1,2,2,3,3][l];"widehat"===a||"widecheck"===a?(r=[0,1062,2364,2364,2364][h],n=[0,239,300,360,420][h],s=[0,.24,.3,.3,.36,.42][h],i=a+h):(r=[0,600,1033,2339,2340][h],n=[0,260,286,306,312][h],s=[0,.26,.286,.3,.306,.34][h],i="tilde"+h)}var m=new ek([new eS(i)],{width:"100%",height:ep(s),viewBox:"0 0 "+r+" "+n,preserveAspectRatio:"none"});return{span:tm.makeSvgSpan([],[m],t),minWidth:0,height:s}}var c,p,u=[],d=tQ[a],[g,f,v]=d,b=v/1e3,y=g.length;if(1===y){var x=d[3];c=["hide-tail"],p=[x]}else if(2===y)c=["halfarrow-left","halfarrow-right"],p=["xMinYMin","xMaxYMin"];else if(3===y)c=["brace-left","brace-center","brace-right"],p=["xMinYMin","xMidYMin","xMaxYMin"];else throw Error("Correct katexImagesData or update code here to support\n "+y+" children.");for(var w=0;w<y;w++){var k=new ek([new eS(g[w])],{width:"400em",height:ep(b),viewBox:"0 0 "+r+" "+v,preserveAspectRatio:p[w]+" slice"}),S=tm.makeSvgSpan([c[w]],[k],t);if(1===y)return{span:S,minWidth:f,height:b};S.style.height=ep(b),u.push(S)}return{span:tm.makeSpan(["stretchy"],u,t),minWidth:f,height:b}}();return r.height=n,r.style.height=ep(n),a>0&&(r.style.minWidth=ep(a)),r}};function t1(e,t){if(!e||e.type!==t)throw Error("Expected node of type "+t+", but got "+(e?"node of type "+e.type:String(e)));return e}function t4(e){var t=t5(e);if(!t)throw Error("Expected node of symbol group type, but got "+(e?"node of type "+e.type:String(e)));return t}function t5(e){return e&&("atom"===e.type||eT.hasOwnProperty(e.type))?e:null}var t6=(e,t)=>{e&&"supsub"===e.type?(o=(l=t1(e.base,"accent")).base,e.base=o,h=function(e){if(e instanceof ev)return e;throw Error("Expected span<HtmlDomNode> but got "+String(e)+".")}(tR(e,t)),e.base=l):o=(l=t1(e,"accent")).base;var r=tR(o,t.havingCrampedStyle()),a=l.isShifty&&H.isCharacterBox(o),n=0;a&&(n=ez(tR(H.getBaseElem(o),t.havingCrampedStyle())).skew);var i="\\c"===l.label,s=i?r.height+r.depth:Math.min(r.height,t.fontMetrics().xHeight);if(l.isStretchy)m=t0.svgSpan(l,t),m=tm.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"elem",elem:m,wrapperClasses:["svg-align"],wrapperStyle:n>0?{width:"calc(100% - "+ep(2*n)+")",marginLeft:ep(2*n)}:void 0}]},t);else{"\\vec"===l.label?(c=tm.staticSvg("vec",t),p=tm.svgData.vec[1]):((c=ez(c=tm.makeOrd({mode:l.mode,text:l.label},t,"textord"))).italic=0,p=c.width,i&&(s+=c.depth)),m=tm.makeSpan(["accent-body"],[c]);var o,l,h,m,c,p,u="\\textcircled"===l.label;u&&(m.classes.push("accent-full"),s=r.height);var d=n;!u&&(d-=p/2),m.style.left=ep(d),"\\textcircled"===l.label&&(m.style.top=".2em"),m=tm.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:-s},{type:"elem",elem:m}]},t)}var g=tm.makeSpan(["mord","accent"],[m],t);return h?(h.children[0]=g,h.height=Math.max(g.height,h.height),h.classes[0]="mord",h):g},t7=(e,t)=>{var r=e.isStretchy?t0.mathMLnode(e.label):new tP.MathNode("mo",[tF(e.label,e.mode)]),a=new tP.MathNode("mover",[tW(e.base,t),r]);return a.setAttribute("accent","true"),a},t3=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(e=>"\\"+e).join("|"));ty({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:(e,t)=>{var r=tw(t[0]),a=!t3.test(e.funcName),n=!a||"\\widehat"===e.funcName||"\\widetilde"===e.funcName||"\\widecheck"===e.funcName;return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:a,isShifty:n,base:r}},htmlBuilder:t6,mathmlBuilder:t7}),ty({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(e,t)=>{var r=t[0],a=e.parser.mode;return"math"===a&&(e.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+e.funcName+" works only in text mode"),a="text"),{type:"accent",mode:a,label:e.funcName,isStretchy:!1,isShifty:!0,base:r}},htmlBuilder:t6,mathmlBuilder:t7}),ty({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(e,t)=>{var{parser:r,funcName:a}=e,n=t[0];return{type:"accentUnder",mode:r.mode,label:a,base:n}},htmlBuilder:(e,t)=>{var r=tR(e.base,t),a=t0.svgSpan(e,t),n="\\utilde"===e.label?.12:0,i=tm.makeVList({positionType:"top",positionData:r.height,children:[{type:"elem",elem:a,wrapperClasses:["svg-align"]},{type:"kern",size:n},{type:"elem",elem:r}]},t);return tm.makeSpan(["mord","accentunder"],[i],t)},mathmlBuilder:(e,t)=>{var r=t0.mathMLnode(e.label),a=new tP.MathNode("munder",[tW(e.base,t),r]);return a.setAttribute("accentunder","true"),a}});var t8=e=>{var t=new tP.MathNode("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};ty({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(e,t,r){var{parser:a,funcName:n}=e;return{type:"xArrow",mode:a.mode,label:n,body:t[0],below:r[0]}},htmlBuilder(e,t){var r,a,n=t.style,i=t.havingStyle(n.sup()),s=tm.wrapFragment(tR(e.body,i,t),t),o="\\x"===e.label.slice(0,2)?"x":"cd";s.classes.push(o+"-arrow-pad"),e.below&&(i=t.havingStyle(n.sub()),(r=tm.wrapFragment(tR(e.below,i,t),t)).classes.push(o+"-arrow-pad"));var l=t0.svgSpan(e,t),h=-t.fontMetrics().axisHeight+.5*l.height,m=-t.fontMetrics().axisHeight-.5*l.height-.111;if((s.depth>.25||"\\xleftequilibrium"===e.label)&&(m-=s.depth),r){var c=-t.fontMetrics().axisHeight+r.height+.5*l.height+.111;a=tm.makeVList({positionType:"individualShift",children:[{type:"elem",elem:s,shift:m},{type:"elem",elem:l,shift:h},{type:"elem",elem:r,shift:c}]},t)}else a=tm.makeVList({positionType:"individualShift",children:[{type:"elem",elem:s,shift:m},{type:"elem",elem:l,shift:h}]},t);return a.children[0].children[0].children[1].classes.push("svg-align"),tm.makeSpan(["mrel","x-arrow"],[a],t)},mathmlBuilder(e,t){var r,a=t0.mathMLnode(e.label);if(a.setAttribute("minsize","x"===e.label.charAt(0)?"1.75em":"3.0em"),e.body){var n=t8(tW(e.body,t));if(e.below){var i=t8(tW(e.below,t));r=new tP.MathNode("munderover",[a,i,n])}else r=new tP.MathNode("mover",[a,n])}else if(e.below){var s=t8(tW(e.below,t));r=new tP.MathNode("munder",[a,s])}else r=t8(),r=new tP.MathNode("mover",[a,r]);return r}});var t2=tm.makeSpan;function t9(e,t){var r=tB(e.body,t,!0);return t2([e.mclass],r,t)}function re(e,t){var r,a=tY(e.body,t);return"minner"===e.mclass?r=new tP.MathNode("mpadded",a):"mord"===e.mclass?e.isCharacterBox?(r=a[0]).type="mi":r=new tP.MathNode("mi",a):(e.isCharacterBox?(r=a[0]).type="mo":r=new tP.MathNode("mo",a),"mbin"===e.mclass?(r.attributes.lspace="0.22em",r.attributes.rspace="0.22em"):"mpunct"===e.mclass?(r.attributes.lspace="0em",r.attributes.rspace="0.17em"):"mopen"===e.mclass||"mclose"===e.mclass?(r.attributes.lspace="0em",r.attributes.rspace="0em"):"minner"===e.mclass&&(r.attributes.lspace="0.0556em",r.attributes.width="+0.1111em")),r}ty({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(e,t){var{parser:r,funcName:a}=e,n=t[0];return{type:"mclass",mode:r.mode,mclass:"m"+a.slice(5),body:tk(n),isCharacterBox:H.isCharacterBox(n)}},htmlBuilder:t9,mathmlBuilder:re});var rt=e=>{var t="ordgroup"===e.type&&e.body.length?e.body[0]:e;return"atom"===t.type&&("bin"===t.family||"rel"===t.family)?"m"+t.family:"mord"};ty({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){var{parser:r}=e;return{type:"mclass",mode:r.mode,mclass:rt(t[0]),body:tk(t[1]),isCharacterBox:H.isCharacterBox(t[1])}}}),ty({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(e,t){var r,{parser:a,funcName:n}=e,i=t[1],s=t[0];r="\\stackrel"!==n?rt(i):"mrel";var o={type:"op",mode:i.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:"\\stackrel"!==n,body:tk(i)},l={type:"supsub",mode:s.mode,base:o,sup:"\\underset"===n?null:s,sub:"\\underset"===n?s:null};return{type:"mclass",mode:a.mode,mclass:r,body:[l],isCharacterBox:H.isCharacterBox(l)}},htmlBuilder:t9,mathmlBuilder:re}),ty({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"pmb",mode:r.mode,mclass:rt(t[0]),body:tk(t[0])}},htmlBuilder(e,t){var r=tB(e.body,t,!0),a=tm.makeSpan([e.mclass],r,t);return a.style.textShadow="0.02em 0.01em 0.04px",a},mathmlBuilder(e,t){var r=tY(e.body,t),a=new tP.MathNode("mstyle",r);return a.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),a}});var rr={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},ra=()=>({type:"styling",body:[],mode:"math",style:"display"}),rn=e=>"textord"===e.type&&"@"===e.text,ri=(e,t)=>("mathord"===e.type||"atom"===e.type)&&e.text===t;ty({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:a}=e;return{type:"cdlabel",mode:r.mode,side:a.slice(4),label:t[0]}},htmlBuilder(e,t){var r=t.havingStyle(t.style.sup()),a=tm.wrapFragment(tR(e.label,r,t),t);return a.classes.push("cd-label-"+e.side),a.style.bottom=ep(.8-a.depth),a.height=0,a.depth=0,a},mathmlBuilder(e,t){var r=new tP.MathNode("mrow",[tW(e.label,t)]);return(r=new tP.MathNode("mpadded",[r])).setAttribute("width","0"),"left"===e.side&&r.setAttribute("lspace","-1width"),r.setAttribute("voffset","0.7em"),(r=new tP.MathNode("mstyle",[r])).setAttribute("displaystyle","false"),r.setAttribute("scriptlevel","1"),r}}),ty({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(e,t){var{parser:r}=e;return{type:"cdlabelparent",mode:r.mode,fragment:t[0]}},htmlBuilder(e,t){var r=tm.wrapFragment(tR(e.fragment,t),t);return r.classes.push("cd-vert-arrow"),r},mathmlBuilder:(e,t)=>new tP.MathNode("mrow",[tW(e.fragment,t)])}),ty({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){for(var r,{parser:a}=e,n=t1(t[0],"ordgroup").body,s="",o=0;o<n.length;o++)s+=t1(n[o],"textord").text;var l=parseInt(s);if(isNaN(l))throw new i("\\@char has non-numeric argument "+s);if(l<0||l>=1114111)throw new i("\\@char with invalid code point "+s);l<=65535?r=String.fromCharCode(l):(l-=65536,r=String.fromCharCode((l>>10)+55296,(1023&l)+56320));return{type:"textord",mode:a.mode,text:r}}});var rs=(e,t)=>{var r=tB(e.body,t.withColor(e.color),!1);return tm.makeFragment(r)},ro=(e,t)=>{var r=tY(e.body,t.withColor(e.color)),a=new tP.MathNode("mstyle",r);return a.setAttribute("mathcolor",e.color),a};ty({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){var{parser:r}=e,a=t1(t[0],"color-token").color,n=t[1];return{type:"color",mode:r.mode,color:a,body:tk(n)}},htmlBuilder:rs,mathmlBuilder:ro}),ty({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){var{parser:r,breakOnTokenText:a}=e,n=t1(t[0],"color-token").color;r.gullet.macros.set("\\current@color",n);var i=r.parseExpression(!0,a);return{type:"color",mode:r.mode,color:n,body:i}},htmlBuilder:rs,mathmlBuilder:ro}),ty({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(e,t,r){var{parser:a}=e,n="["===a.gullet.future().text?a.parseSizeGroup(!0):null,i=!a.settings.displayMode||!a.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:a.mode,newLine:i,size:n&&t1(n,"size").value}},htmlBuilder(e,t){var r=tm.makeSpan(["mspace"],[],t);return e.newLine&&(r.classes.push("newline"),e.size&&(r.style.marginTop=ep(ec(e.size,t)))),r},mathmlBuilder(e,t){var r=new tP.MathNode("mspace");return e.newLine&&(r.setAttribute("linebreak","newline"),e.size&&r.setAttribute("height",ep(ec(e.size,t)))),r}});var rl={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},rh=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new i("Expected a control sequence",e);return t},rm=e=>{var t=e.gullet.popToken();return"="===t.text&&" "===(t=e.gullet.popToken()).text&&(t=e.gullet.popToken()),t},rc=(e,t,r,a)=>{var n=e.gullet.macros.get(r.text);null==n&&(r.noexpand=!0,n={tokens:[r],numArgs:0,unexpandable:!e.gullet.isExpandable(r.text)}),e.gullet.macros.set(t,n,a)};ty({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:t,funcName:r}=e;t.consumeSpaces();var a=t.fetch();if(rl[a.text])return("\\global"===r||"\\\\globallong"===r)&&(a.text=rl[a.text]),t1(t.parseFunction(),"internal");throw new i("Invalid token after macro prefix",a)}}),ty({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var t,{parser:r,funcName:a}=e,n=r.gullet.popToken(),s=n.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(s))throw new i("Expected a control sequence",n);for(var o=0,l=[[]];"{"!==r.gullet.future().text;)if("#"===(n=r.gullet.popToken()).text){if("{"===r.gullet.future().text){t=r.gullet.future(),l[o].push("{");break}if(n=r.gullet.popToken(),!/^[1-9]$/.test(n.text))throw new i('Invalid argument number "'+n.text+'"');if(parseInt(n.text)!==o+1)throw new i('Argument number "'+n.text+'" out of order');o++,l.push([])}else if("EOF"===n.text)throw new i("Expected a macro definition");else l[o].push(n.text);var{tokens:h}=r.gullet.consumeArg();return t&&h.unshift(t),("\\edef"===a||"\\xdef"===a)&&(h=r.gullet.expandTokens(h)).reverse(),r.gullet.macros.set(s,{tokens:h,numArgs:o,delimiters:l},a===rl[a]),{type:"internal",mode:r.mode}}}),ty({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,a=rh(t.gullet.popToken());t.gullet.consumeSpaces();var n=rm(t);return rc(t,a,n,"\\\\globallet"===r),{type:"internal",mode:t.mode}}}),ty({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,a=rh(t.gullet.popToken()),n=t.gullet.popToken(),i=t.gullet.popToken();return rc(t,a,i,"\\\\globalfuture"===r),t.gullet.pushToken(i),t.gullet.pushToken(n),{type:"internal",mode:t.mode}}});var rp=function(e,t,r){var a=er(eB.math[e]&&eB.math[e].replace||e,t,r);if(!a)throw Error("Unsupported symbol "+e+" and font size "+t+".");return a},ru=function(e,t,r,a){var n=r.havingBaseStyle(t),i=tm.makeSpan(a.concat(n.sizingClasses(r)),[e],r),s=n.sizeMultiplier/r.sizeMultiplier;return i.height*=s,i.depth*=s,i.maxFontSize=n.sizeMultiplier,i},rd=function(e,t,r){var a=t.havingBaseStyle(r),n=(1-t.sizeMultiplier/a.sizeMultiplier)*t.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=ep(n),e.height-=n,e.depth+=n},rg=function(e,t,r,a,n,i){var s=ru(tm.makeSymbol(e,"Main-Regular",n,a),t,a,i);return r&&rd(s,a,t),s},rf=function(e,t,r,a,n,i){var s,o,l,h,m=(s=e,o=t,l=n,h=a,tm.makeSymbol(s,"Size"+o+"-Regular",l,h)),c=ru(tm.makeSpan(["delimsizing","size"+t],[m],a),Y.TEXT,a,i);return r&&rd(c,a,Y.TEXT),c},rv=function(e,t,r){var a;return a="Size1-Regular"===t?"delim-size1":"delim-size4",{type:"elem",elem:tm.makeSpan(["delimsizinginner",a],[tm.makeSpan([],[tm.makeSymbol(e,t,r)])])}},rb=function(e,t,r){var a=Q["Size4-Regular"][e.charCodeAt(0)]?Q["Size4-Regular"][e.charCodeAt(0)][4]:Q["Size1-Regular"][e.charCodeAt(0)][4],n=new ek([new eS("inner",$(e,Math.round(1e3*t)))],{width:ep(a),height:ep(t),style:"width:"+ep(a),viewBox:"0 0 "+1e3*a+" "+Math.round(1e3*t),preserveAspectRatio:"xMinYMin"}),i=tm.makeSvgSpan([],[n],r);return i.height=t,i.style.height=ep(t),i.style.width=ep(a),{type:"elem",elem:i}},ry={type:"kern",size:-.008},rx=["|","\\lvert","\\rvert","\\vert"],rw=["\\|","\\lVert","\\rVert","\\Vert"],rk=function(e,t,r,a,n,i){var s,o,l,h,m="",c=0;s=l=h=e,o=null;var p="Size1-Regular";"\\uparrow"===e?l=h="⏐":"\\Uparrow"===e?l=h="‖":"\\downarrow"===e?s=l="⏐":"\\Downarrow"===e?s=l="‖":"\\updownarrow"===e?(s="\\uparrow",l="⏐",h="\\downarrow"):"\\Updownarrow"===e?(s="\\Uparrow",l="‖",h="\\Downarrow"):H.contains(rx,e)?(l="∣",m="vert",c=333):H.contains(rw,e)?(l="∥",m="doublevert",c=556):"["===e||"\\lbrack"===e?(s="⎡",l="⎢",h="⎣",p="Size4-Regular",m="lbrack",c=667):"]"===e||"\\rbrack"===e?(s="⎤",l="⎥",h="⎦",p="Size4-Regular",m="rbrack",c=667):"\\lfloor"===e||"⌊"===e?(l=s="⎢",h="⎣",p="Size4-Regular",m="lfloor",c=667):"\\lceil"===e||"⌈"===e?(s="⎡",l=h="⎢",p="Size4-Regular",m="lceil",c=667):"\\rfloor"===e||"⌋"===e?(l=s="⎥",h="⎦",p="Size4-Regular",m="rfloor",c=667):"\\rceil"===e||"⌉"===e?(s="⎤",l=h="⎥",p="Size4-Regular",m="rceil",c=667):"("===e||"\\lparen"===e?(s="⎛",l="⎜",h="⎝",p="Size4-Regular",m="lparen",c=875):")"===e||"\\rparen"===e?(s="⎞",l="⎟",h="⎠",p="Size4-Regular",m="rparen",c=875):"\\{"===e||"\\lbrace"===e?(s="⎧",o="⎨",h="⎩",l="⎪",p="Size4-Regular"):"\\}"===e||"\\rbrace"===e?(s="⎫",o="⎬",h="⎭",l="⎪",p="Size4-Regular"):"\\lgroup"===e||"⟮"===e?(s="⎧",h="⎩",l="⎪",p="Size4-Regular"):"\\rgroup"===e||"⟯"===e?(s="⎫",h="⎭",l="⎪",p="Size4-Regular"):"\\lmoustache"===e||"⎰"===e?(s="⎧",h="⎭",l="⎪",p="Size4-Regular"):("\\rmoustache"===e||"⎱"===e)&&(s="⎫",h="⎩",l="⎪",p="Size4-Regular");var u=rp(s,p,n),d=u.height+u.depth,g=rp(l,p,n),f=g.height+g.depth,v=rp(h,p,n),b=v.height+v.depth,y=0,x=1;if(null!==o){var w=rp(o,p,n);y=w.height+w.depth,x=2}var k=d+b+y,S=Math.max(0,Math.ceil((t-k)/(x*f))),M=k+S*x*f,z=a.fontMetrics().axisHeight;r&&(z*=a.sizeMultiplier);var A=M/2-z,T=[];if(m.length>0){var B=Math.round(1e3*M),C=K(m,Math.round(1e3*(M-d-b))),q=new eS(m,C),N=(c/1e3).toFixed(3)+"em",I=(B/1e3).toFixed(3)+"em",R=new ek([q],{width:N,height:I,viewBox:"0 0 "+c+" "+B}),O=tm.makeSvgSpan([],[R],a);O.height=B/1e3,O.style.width=N,O.style.height=I,T.push({type:"elem",elem:O})}else{if(T.push(rv(h,p,n)),T.push(ry),null===o)T.push(rb(l,M-d-b+.016,a));else{var E=(M-d-b-y)/2+.016;T.push(rb(l,E,a)),T.push(ry),T.push(rv(o,p,n)),T.push(ry),T.push(rb(l,E,a))}T.push(ry),T.push(rv(s,p,n))}var L=a.havingBaseStyle(Y.TEXT),D=tm.makeVList({positionType:"bottom",positionData:A,children:T},L);return ru(tm.makeSpan(["delimsizing","mult"],[D],L),Y.TEXT,a,i)},rS=function(e,t,r,a,n){var i=j(e,a,r),s=new ek([new eS(e,i)],{width:"400em",height:ep(t),viewBox:"0 0 400000 "+r,preserveAspectRatio:"xMinYMin slice"});return tm.makeSvgSpan(["hide-tail"],[s],n)},rM=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],rz=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],rA=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],rT=[0,1.2,1.8,2.4,3],rB=[{type:"small",style:Y.SCRIPTSCRIPT},{type:"small",style:Y.SCRIPT},{type:"small",style:Y.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],rC=[{type:"small",style:Y.SCRIPTSCRIPT},{type:"small",style:Y.SCRIPT},{type:"small",style:Y.TEXT},{type:"stack"}],rq=[{type:"small",style:Y.SCRIPTSCRIPT},{type:"small",style:Y.SCRIPT},{type:"small",style:Y.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],rN=function(e){if("small"===e.type)return"Main-Regular";if("large"===e.type)return"Size"+e.size+"-Regular";if("stack"===e.type)return"Size4-Regular";else throw Error("Add support for delim type '"+e.type+"' here.")},rI=function(e,t,r,a){for(var n=Math.min(2,3-a.style.size),i=n;i<r.length&&"stack"!==r[i].type;i++){var s=rp(e,rN(r[i]),"math"),o=s.height+s.depth;if("small"===r[i].type&&(o*=a.havingBaseStyle(r[i].style).sizeMultiplier),o>t)return r[i]}return r[r.length-1]},rH=function(e,t,r,a,n,i){"<"===e||"\\lt"===e||"⟨"===e?e="\\langle":(">"===e||"\\gt"===e||"⟩"===e)&&(e="\\rangle"),s=H.contains(rA,e)?rB:H.contains(rM,e)?rq:rC;var s,o=rI(e,t,s,a);return"small"===o.type?rg(e,o.style,r,a,n,i):"large"===o.type?rf(e,o.size,r,a,n,i):rk(e,t,r,a,n,i)},rR={sqrtImage:function(e,t){var r,a,n=t.havingBaseSizing(),i=rI("\\surd",e*n.sizeMultiplier,rq,n),s=n.sizeMultiplier,o=Math.max(0,t.minRuleThickness-t.fontMetrics().sqrtRuleThickness),l=0,h=0,m=0;return"small"===i.type?(m=1e3+1e3*o+80,e<1?s=1:e<1.4&&(s=.7),l=(1+o+.08)/s,h=(1+o)/s,(r=rS("sqrtMain",l,m,o,t)).style.minWidth="0.853em",a=.833/s):"large"===i.type?(m=1080*rT[i.size],h=(rT[i.size]+o)/s,l=(rT[i.size]+o+.08)/s,(r=rS("sqrtSize"+i.size,l,m,o,t)).style.minWidth="1.02em",a=1/s):(l=e+o+.08,h=e+o,(r=rS("sqrtTall",l,m=Math.floor(1e3*e+o)+80,o,t)).style.minWidth="0.742em",a=1.056),r.height=h,r.style.height=ep(l),{span:r,advanceWidth:a,ruleWidth:(t.fontMetrics().sqrtRuleThickness+o)*s}},sizedDelim:function(e,t,r,a,n){if("<"===e||"\\lt"===e||"⟨"===e?e="\\langle":(">"===e||"\\gt"===e||"⟩"===e)&&(e="\\rangle"),H.contains(rM,e)||H.contains(rA,e))return rf(e,t,!1,r,a,n);if(H.contains(rz,e))return rk(e,rT[t],!1,r,a,n);throw new i("Illegal delimiter: '"+e+"'")},sizeToMaxHeight:rT,customSizedDelim:rH,leftRightDelim:function(e,t,r,a,n,i){var s=a.fontMetrics().axisHeight*a.sizeMultiplier,o=5/a.fontMetrics().ptPerEm,l=Math.max(t-s,r+s);return rH(e,Math.max(l/500*901,2*l-o),!0,a,n,i)}},rO={"\\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}},rE=["(","\\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 rL(e,t){var r=t5(e);if(r&&H.contains(rE,r.text))return r;if(r)throw new i("Invalid delimiter '"+r.text+"' after '"+t.funcName+"'",e);throw new i("Invalid delimiter type '"+e.type+"'",e)}function rD(e){if(!e.body)throw Error("Bug: The leftright ParseNode wasn't fully parsed.")}ty({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:(e,t)=>{var r=rL(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:rO[e.funcName].size,mclass:rO[e.funcName].mclass,delim:r.text}},htmlBuilder:(e,t)=>"."===e.delim?tm.makeSpan([e.mclass]):rR.sizedDelim(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];"."!==e.delim&&t.push(tF(e.delim,e.mode));var r=new tP.MathNode("mo",t);"mopen"===e.mclass||"mclose"===e.mclass?r.setAttribute("fence","true"):r.setAttribute("fence","false"),r.setAttribute("stretchy","true");var a=ep(rR.sizeToMaxHeight[e.size]);return r.setAttribute("minsize",a),r.setAttribute("maxsize",a),r}}),ty({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=e.parser.gullet.macros.get("\\current@color");if(r&&"string"!=typeof r)throw new i("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:rL(t[0],e).text,color:r}}}),ty({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=rL(t[0],e),a=e.parser;++a.leftrightDepth;var n=a.parseExpression(!1);--a.leftrightDepth,a.expect("\\right",!1);var i=t1(a.parseFunction(),"leftright-right");return{type:"leftright",mode:a.mode,body:n,left:r.text,right:i.delim,rightColor:i.color}},htmlBuilder:(e,t)=>{rD(e);for(var r,a,n=tB(e.body,t,!0,["mopen","mclose"]),i=0,s=0,o=!1,l=0;l<n.length;l++)n[l].isMiddle?o=!0:(i=Math.max(n[l].height,i),s=Math.max(n[l].depth,s));if(i*=t.sizeMultiplier,s*=t.sizeMultiplier,r="."===e.left?tH(t,["mopen"]):rR.leftRightDelim(e.left,i,s,t,e.mode,["mopen"]),n.unshift(r),o)for(var h=1;h<n.length;h++){var m=n[h].isMiddle;m&&(n[h]=rR.leftRightDelim(m.delim,i,s,m.options,e.mode,[]))}if("."===e.right)a=tH(t,["mclose"]);else{var c=e.rightColor?t.withColor(e.rightColor):t;a=rR.leftRightDelim(e.right,i,s,c,e.mode,["mclose"])}return n.push(a),tm.makeSpan(["minner"],n,t)},mathmlBuilder:(e,t)=>{rD(e);var r=tY(e.body,t);if("."!==e.left){var a=new tP.MathNode("mo",[tF(e.left,e.mode)]);a.setAttribute("fence","true"),r.unshift(a)}if("."!==e.right){var n=new tP.MathNode("mo",[tF(e.right,e.mode)]);n.setAttribute("fence","true"),e.rightColor&&n.setAttribute("mathcolor",e.rightColor),r.push(n)}return tG(r)}}),ty({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=rL(t[0],e);if(!e.parser.leftrightDepth)throw new i("\\middle without preceding \\left",r);return{type:"middle",mode:e.parser.mode,delim:r.text}},htmlBuilder:(e,t)=>{var r;if("."===e.delim)r=tH(t,[]);else{r=rR.sizedDelim(e.delim,1,t,e.mode,[]);var a={delim:e.delim,options:t};r.isMiddle=a}return r},mathmlBuilder:(e,t)=>{var r="\\vert"===e.delim||"|"===e.delim?tF("|","text"):tF(e.delim,e.mode),a=new tP.MathNode("mo",[r]);return a.setAttribute("fence","true"),a.setAttribute("lspace","0.05em"),a.setAttribute("rspace","0.05em"),a}});var rV=(e,t)=>{var r,a,n=tm.wrapFragment(tR(e.body,t),t),i=e.label.slice(1),s=t.sizeMultiplier,o=0,l=H.isCharacterBox(e.body);if("sout"===i)(r=tm.makeSpan(["stretchy","sout"])).height=t.fontMetrics().defaultRuleThickness/s,o=-.5*t.fontMetrics().xHeight;else if("phase"===i){var h,m=ec({number:.6,unit:"pt"},t),c=ec({number:.35,unit:"ex"},t);s/=t.havingBaseSizing().sizeMultiplier;var p=n.height+n.depth+m+c;n.style.paddingLeft=ep(p/2+m);var u=Math.floor(1e3*p*s);var d=new ek([new eS("phase","M400000 "+(h=u)+" H0 L"+h/2+" 0 l65 45 L145 "+(h-80)+" H400000z")],{width:"400em",height:ep(u/1e3),viewBox:"0 0 400000 "+u,preserveAspectRatio:"xMinYMin slice"});(r=tm.makeSvgSpan(["hide-tail"],[d],t)).style.height=ep(p),o=n.depth+m+c}else{/cancel/.test(i)?!l&&n.classes.push("cancel-pad"):"angl"===i?n.classes.push("anglpad"):n.classes.push("boxpad");var g=0,f=0,v=0;/box/.test(i)?(v=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),f=g=t.fontMetrics().fboxsep+("colorbox"===i?0:v)):"angl"===i?(g=4*(v=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness)),f=Math.max(0,.25-n.depth)):f=g=l?.2:0,r=t0.encloseSpan(n,i,g,f,t),/fbox|boxed|fcolorbox/.test(i)?(r.style.borderStyle="solid",r.style.borderWidth=ep(v)):"angl"===i&&.049!==v&&(r.style.borderTopWidth=ep(v),r.style.borderRightWidth=ep(v)),o=n.depth+f,e.backgroundColor&&(r.style.backgroundColor=e.backgroundColor,e.borderColor&&(r.style.borderColor=e.borderColor))}if(e.backgroundColor)a=tm.makeVList({positionType:"individualShift",children:[{type:"elem",elem:r,shift:o},{type:"elem",elem:n,shift:0}]},t);else{var b=/cancel|phase/.test(i)?["svg-align"]:[];a=tm.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:0},{type:"elem",elem:r,shift:o,wrapperClasses:b}]},t)}return(/cancel/.test(i)&&(a.height=n.height,a.depth=n.depth),/cancel/.test(i)&&!l)?tm.makeSpan(["mord","cancel-lap"],[a],t):tm.makeSpan(["mord"],[a],t)},rP=(e,t)=>{var r=0,a=new tP.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[tW(e.body,t)]);switch(e.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=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,a.setAttribute("width","+"+2*r+"pt"),a.setAttribute("height","+"+2*r+"pt"),a.setAttribute("lspace",r+"pt"),a.setAttribute("voffset",r+"pt"),"\\fcolorbox"===e.label){var n=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);a.setAttribute("style","border: "+n+"em solid "+String(e.borderColor))}break;case"\\xcancel":a.setAttribute("notation","updiagonalstrike downdiagonalstrike")}return e.backgroundColor&&a.setAttribute("mathbackground",e.backgroundColor),a};ty({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(e,t,r){var{parser:a,funcName:n}=e,i=t1(t[0],"color-token").color,s=t[1];return{type:"enclose",mode:a.mode,label:n,backgroundColor:i,body:s}},htmlBuilder:rV,mathmlBuilder:rP}),ty({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,t,r){var{parser:a,funcName:n}=e,i=t1(t[0],"color-token").color,s=t1(t[1],"color-token").color,o=t[2];return{type:"enclose",mode:a.mode,label:n,backgroundColor:s,borderColor:i,body:o}},htmlBuilder:rV,mathmlBuilder:rP}),ty({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"enclose",mode:r.mode,label:"\\fbox",body:t[0]}}}),ty({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:a}=e,n=t[0];return{type:"enclose",mode:r.mode,label:a,body:n}},htmlBuilder:rV,mathmlBuilder:rP}),ty({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(e,t){var{parser:r}=e;return{type:"enclose",mode:r.mode,label:"\\angl",body:t[0]}}});var rF={};function rG(e){for(var{type:t,names:r,props:a,handler:n,htmlBuilder:i,mathmlBuilder:s}=e,o={type:t,numArgs:a.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:n},l=0;l<r.length;++l)rF[r[l]]=o;i&&(tv[t]=i),s&&(tb[t]=s)}var rU={};function rY(e,t){rU[e]=t}function rX(e){var t=[];e.consumeSpaces();var r=e.fetch().text;for("\\relax"===r&&(e.consume(),e.consumeSpaces(),r=e.fetch().text);"\\hline"===r||"\\hdashline"===r;)e.consume(),t.push("\\hdashline"===r),e.consumeSpaces(),r=e.fetch().text;return t}var rW=e=>{if(!e.parser.settings.displayMode)throw new i("{"+e.envName+"} can be used only in display mode.")};function r_(e){if(-1===e.indexOf("ed"))return -1===e.indexOf("*")}function rj(e,t,r){var{hskipBeforeAndAfter:a,addJot:s,cols:o,arraystretch:l,colSeparationType:h,autoTag:m,singleRow:c,emptySingleRow:p,maxNumCols:u,leqno:d}=t;if(e.gullet.beginGroup(),!c&&e.gullet.macros.set("\\cr","\\\\\\relax"),!l){var g=e.gullet.expandMacroAsText("\\arraystretch");if(null==g)l=1;else if(!(l=parseFloat(g))||l<0)throw new i("Invalid \\arraystretch: "+g)}e.gullet.beginGroup();var f=[],v=[f],b=[],y=[],x=null!=m?[]:void 0;function w(){m&&e.gullet.macros.set("\\@eqnsw","1",!0)}function k(){x&&(e.gullet.macros.get("\\df@tag")?(x.push(e.subparse([new n("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):x.push(!!m&&"1"===e.gullet.macros.get("\\@eqnsw")))}for(w(),y.push(rX(e));;){var S=e.parseExpression(!1,c?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup(),S={type:"ordgroup",mode:e.mode,body:S},r&&(S={type:"styling",mode:e.mode,style:r,body:[S]}),f.push(S);var M=e.fetch().text;if("&"===M){if(u&&f.length===u){if(c||h)throw new i("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else if("\\end"===M){k(),1===f.length&&"styling"===S.type&&0===S.body[0].body.length&&(v.length>1||!p)&&v.pop(),y.length<v.length+1&&y.push([]);break}else if("\\\\"===M){e.consume();var z=void 0;" "!==e.gullet.future().text&&(z=e.parseSizeGroup(!0)),b.push(z?z.value:null),k(),y.push(rX(e)),f=[],v.push(f),w()}else throw new i("Expected & or \\\\ or \\cr or \\end",e.nextToken)}return e.gullet.endGroup(),e.gullet.endGroup(),{type:"array",mode:e.mode,addJot:s,arraystretch:l,body:v,cols:o,rowGaps:b,hskipBeforeAndAfter:a,hLinesBeforeRow:y,colSeparationType:h,tags:x,leqno:d}}function r$(e){return"d"===e.slice(0,1)?"display":"text"}var rZ=function(e,t){var r,a,n,s,o=e.body.length,l=e.hLinesBeforeRow,h=0,m=Array(o),c=[],p=Math.max(t.fontMetrics().arrayRuleWidth,t.minRuleThickness),u=1/t.fontMetrics().ptPerEm,d=5*u;e.colSeparationType&&"small"===e.colSeparationType&&(d=t.havingStyle(Y.SCRIPT).sizeMultiplier/t.sizeMultiplier*.2778);var g="CD"===e.colSeparationType?ec({number:3,unit:"ex"},t):12*u,f=3*u,v=e.arraystretch*g,b=.7*v,y=.3*v,x=0;function w(e){for(var t=0;t<e.length;++t)t>0&&(x+=.25),c.push({pos:x,isDashed:e[t]})}for(w(l[0]),r=0;r<e.body.length;++r){var k=e.body[r],S=b,M=y;h<k.length&&(h=k.length);var z=Array(k.length);for(a=0;a<k.length;++a){var A=tR(k[a],t);M<A.depth&&(M=A.depth),S<A.height&&(S=A.height),z[a]=A}var T=e.rowGaps[r],B=0;T&&(B=ec(T,t))>0&&(M<(B+=y)&&(M=B),B=0),e.addJot&&(M+=f),z.height=S,z.depth=M,x+=S,z.pos=x,x+=M+B,m[r]=z,w(l[r+1])}var C=x/2+t.fontMetrics().axisHeight,q=e.cols||[],N=[],I=[];if(e.tags&&e.tags.some(e=>e))for(r=0;r<o;++r){var R=m[r],O=R.pos-C,E=e.tags[r],L=void 0;(L=!0===E?tm.makeSpan(["eqn-num"],[],t):!1===E?tm.makeSpan([],[],t):tm.makeSpan([],tB(E,t,!0),t)).depth=R.depth,L.height=R.height,I.push({type:"elem",elem:L,shift:O})}for(a=0,s=0;a<h||s<q.length;++a,++s){for(var D=q[s]||{},V=!0;"separator"===D.type;){if(!V&&((n=tm.makeSpan(["arraycolsep"],[])).style.width=ep(t.fontMetrics().doubleRuleSep),N.push(n)),"|"===D.separator||":"===D.separator){var P="|"===D.separator?"solid":"dashed",F=tm.makeSpan(["vertical-separator"],[],t);F.style.height=ep(x),F.style.borderRightWidth=ep(p),F.style.borderRightStyle=P,F.style.margin="0 "+ep(-p/2);var G=x-C;G&&(F.style.verticalAlign=ep(-G)),N.push(F)}else throw new i("Invalid separator type: "+D.separator);D=q[++s]||{},V=!1}if(!(a>=h)){var U=void 0;(a>0||e.hskipBeforeAndAfter)&&0!==(U=H.deflt(D.pregap,d))&&((n=tm.makeSpan(["arraycolsep"],[])).style.width=ep(U),N.push(n));var X=[];for(r=0;r<o;++r){var W=m[r],_=W[a];if(_){var j=W.pos-C;_.depth=W.depth,_.height=W.height,X.push({type:"elem",elem:_,shift:j})}}X=tm.makeVList({positionType:"individualShift",children:X},t),X=tm.makeSpan(["col-align-"+(D.align||"c")],[X]),N.push(X),(a<h-1||e.hskipBeforeAndAfter)&&0!==(U=H.deflt(D.postgap,d))&&((n=tm.makeSpan(["arraycolsep"],[])).style.width=ep(U),N.push(n))}}if(m=tm.makeSpan(["mtable"],N),c.length>0){for(var $=tm.makeLineSpan("hline",t,p),Z=tm.makeLineSpan("hdashline",t,p),K=[{type:"elem",elem:m,shift:0}];c.length>0;){var J=c.pop(),Q=J.pos-C;J.isDashed?K.push({type:"elem",elem:Z,shift:Q}):K.push({type:"elem",elem:$,shift:Q})}m=tm.makeVList({positionType:"individualShift",children:K},t)}if(0===I.length)return tm.makeSpan(["mord"],[m],t);var ee=tm.makeVList({positionType:"individualShift",children:I},t);return ee=tm.makeSpan(["tag"],[ee],t),tm.makeFragment([m,ee])},rK={c:"center ",l:"left ",r:"right "},rJ=function(e,t){for(var r=[],a=new tP.MathNode("mtd",[],["mtr-glue"]),n=new tP.MathNode("mtd",[],["mml-eqn-num"]),i=0;i<e.body.length;i++){for(var s=e.body[i],o=[],l=0;l<s.length;l++)o.push(new tP.MathNode("mtd",[tW(s[l],t)]));e.tags&&e.tags[i]&&(o.unshift(a),o.push(a),e.leqno?o.unshift(n):o.push(n)),r.push(new tP.MathNode("mtr",o))}var h=new tP.MathNode("mtable",r),m=.5===e.arraystretch?.1:.16+e.arraystretch-1+(e.addJot?.09:0);h.setAttribute("rowspacing",ep(m));var c="",p="";if(e.cols&&e.cols.length>0){var u=e.cols,d="",g=!1,f=0,v=u.length;"separator"===u[0].type&&(c+="top ",f=1),"separator"===u[u.length-1].type&&(c+="bottom ",v-=1);for(var b=f;b<v;b++)"align"===u[b].type?(p+=rK[u[b].align],g&&(d+="none "),g=!0):"separator"===u[b].type&&g&&(d+="|"===u[b].separator?"solid ":"dashed ",g=!1);h.setAttribute("columnalign",p.trim()),/[sd]/.test(d)&&h.setAttribute("columnlines",d.trim())}if("align"===e.colSeparationType){for(var y=e.cols||[],x="",w=1;w<y.length;w++)x+=w%2?"0em ":"1em ";h.setAttribute("columnspacing",x.trim())}else"alignat"===e.colSeparationType||"gather"===e.colSeparationType?h.setAttribute("columnspacing","0em"):"small"===e.colSeparationType?h.setAttribute("columnspacing","0.2778em"):"CD"===e.colSeparationType?h.setAttribute("columnspacing","0.5em"):h.setAttribute("columnspacing","1em");var k="",S=e.hLinesBeforeRow;c+=(S[0].length>0?"left ":"")+(S[S.length-1].length>0?"right ":"");for(var M=1;M<S.length-1;M++)k+=0===S[M].length?"none ":S[M][0]?"dashed ":"solid ";return/[sd]/.test(k)&&h.setAttribute("rowlines",k.trim()),""!==c&&(h=new tP.MathNode("menclose",[h])).setAttribute("notation",c.trim()),e.arraystretch&&e.arraystretch<1&&(h=new tP.MathNode("mstyle",[h])).setAttribute("scriptlevel","1"),h},rQ=function(e,t){-1===e.envName.indexOf("ed")&&rW(e);var r,a=[],n=e.envName.indexOf("at")>-1?"alignat":"align",s="split"===e.envName,o=rj(e.parser,{cols:a,addJot:!0,autoTag:s?void 0:r_(e.envName),emptySingleRow:!0,colSeparationType:n,maxNumCols:s?2:void 0,leqno:e.parser.settings.leqno},"display"),l=0,h={type:"ordgroup",mode:e.mode,body:[]};if(t[0]&&"ordgroup"===t[0].type){for(var m="",c=0;c<t[0].body.length;c++)m+=t1(t[0].body[c],"textord").text;l=2*(r=Number(m))}var p=!l;o.body.forEach(function(e){for(var t=1;t<e.length;t+=2){var a=t1(e[t],"styling");t1(a.body[0],"ordgroup").body.unshift(h)}if(p)l<e.length&&(l=e.length);else{var n=e.length/2;if(r<n)throw new i("Too many math in a row: "+("expected "+r+", but got ")+n,e[0])}});for(var u=0;u<l;++u){var d="r",g=0;u%2==1?d="l":u>0&&p&&(g=1),a[u]={type:"align",align:d,pregap:g,postgap:0}}return o.colSeparationType=p?"align":"alignat",o};rG({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){var r=(t5(t[0])?[t[0]]:t1(t[0],"ordgroup").body).map(function(e){var t=t4(e).text;if(-1!=="lcr".indexOf(t))return{type:"align",align:t};if("|"===t)return{type:"separator",separator:"|"};if(":"===t)return{type:"separator",separator:":"};throw new i("Unknown column alignment: "+t,e)}),a={cols:r,hskipBeforeAndAfter:!0,maxNumCols:r.length};return rj(e.parser,a,r$(e.envName))},htmlBuilder:rZ,mathmlBuilder:rJ}),rG({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(e){var t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName.replace("*","")],r="c",a={hskipBeforeAndAfter:!1,cols:[{type:"align",align:r}]};if("*"===e.envName.charAt(e.envName.length-1)){var n=e.parser;if(n.consumeSpaces(),"["===n.fetch().text){if(n.consume(),n.consumeSpaces(),r=n.fetch().text,-1==="lcr".indexOf(r))throw new i("Expected l or c or r",n.nextToken);n.consume(),n.consumeSpaces(),n.expect("]"),n.consume(),a.cols=[{type:"align",align:r}]}}var s=rj(e.parser,a,r$(e.envName)),o=Math.max(0,...s.body.map(e=>e.length));return s.cols=Array(o).fill({type:"align",align:r}),t?{type:"leftright",mode:e.mode,body:[s],left:t[0],right:t[1],rightColor:void 0}:s},htmlBuilder:rZ,mathmlBuilder:rJ}),rG({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var t=rj(e.parser,{arraystretch:.5},"script");return t.colSeparationType="small",t},htmlBuilder:rZ,mathmlBuilder:rJ}),rG({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){var r=(t5(t[0])?[t[0]]:t1(t[0],"ordgroup").body).map(function(e){var t=t4(e).text;if(-1!=="lc".indexOf(t))return{type:"align",align:t};throw new i("Unknown column alignment: "+t,e)});if(r.length>1)throw new i("{subarray} can contain only one column");var a={cols:r,hskipBeforeAndAfter:!1,arraystretch:.5};if((a=rj(e.parser,a,"script")).body.length>0&&a.body[0].length>1)throw new i("{subarray} can contain only one column");return a},htmlBuilder:rZ,mathmlBuilder:rJ}),rG({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(e){var t=rj(e.parser,{arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},r$(e.envName));return{type:"leftright",mode:e.mode,body:[t],left:e.envName.indexOf("r")>-1?".":"\\{",right:e.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:rZ,mathmlBuilder:rJ}),rG({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:rQ,htmlBuilder:rZ,mathmlBuilder:rJ}),rG({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){H.contains(["gather","gather*"],e.envName)&&rW(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:r_(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return rj(e.parser,t,"display")},htmlBuilder:rZ,mathmlBuilder:rJ}),rG({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:rQ,htmlBuilder:rZ,mathmlBuilder:rJ}),rG({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){rW(e);var t={autoTag:r_(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return rj(e.parser,t,"display")},htmlBuilder:rZ,mathmlBuilder:rJ}),rG({type:"array",names:["CD"],props:{numArgs:0},handler:e=>(rW(e),function(e){var t=[];for(e.gullet.beginGroup(),e.gullet.macros.set("\\cr","\\\\\\relax"),e.gullet.beginGroup();;){t.push(e.parseExpression(!1,"\\\\")),e.gullet.endGroup(),e.gullet.beginGroup();var r=e.fetch().text;if("&"===r||"\\\\"===r)e.consume();else if("\\end"===r){0===t[t.length-1].length&&t.pop();break}else throw new i("Expected \\\\ or \\cr or \\end",e.nextToken)}for(var a=[],n=[a],s=0;s<t.length;s++){for(var o=t[s],l=ra(),h=0;h<o.length;h++)if(rn(o[h])){a.push(l);var m=t4(o[h+=1]).text,c=[,,];if(c[0]={type:"ordgroup",mode:"math",body:[]},c[1]={type:"ordgroup",mode:"math",body:[]},"=|.".indexOf(m)>-1);else if("<>AV".indexOf(m)>-1)for(var p=0;p<2;p++){for(var u=!0,d=h+1;d<o.length;d++){if(ri(o[d],m)){u=!1,h=d;break}if(rn(o[d]))throw new i("Missing a "+m+" character to complete a CD arrow.",o[d]);c[p].body.push(o[d])}if(u)throw new i("Missing a "+m+" character to complete a CD arrow.",o[h])}else throw new i('Expected one of "<>AV=|." after @',o[h]);var g={type:"styling",body:[function(e,t,r){var a=rr[e];switch(a){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return r.callFunction(a,[t[0]],[t[1]]);case"\\uparrow":case"\\downarrow":var n=r.callFunction("\\\\cdleft",[t[0]],[]),i=r.callFunction("\\Big",[{type:"atom",text:a,mode:"math",family:"rel"}],[]),s=r.callFunction("\\\\cdright",[t[1]],[]);return r.callFunction("\\\\cdparent",[{type:"ordgroup",mode:"math",body:[n,i,s]}],[]);case"\\\\cdlongequal":return r.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":return r.callFunction("\\Big",[{type:"textord",text:"\\Vert",mode:"math"}],[]);default:return{type:"textord",text:" ",mode:"math"}}}(m,c,e)],mode:"math",style:"display"};a.push(g),l=ra()}else l.body.push(o[h]);s%2==0?a.push(l):a.shift(),a=[],n.push(a)}e.gullet.endGroup(),e.gullet.endGroup();var f=Array(n[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:n,arraystretch:1,addJot:!0,rowGaps:[null],cols:f,colSeparationType:"CD",hLinesBeforeRow:Array(n.length+1).fill([])}}(e.parser)),htmlBuilder:rZ,mathmlBuilder:rJ}),rU["\\nonumber"]="\\gdef\\@eqnsw{0}",rU["\\notag"]="\\nonumber",ty({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,t){throw new i(e.funcName+" valid only within array environment")}});ty({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(e,t){var{parser:r,funcName:a}=e,n=t[0];if("ordgroup"!==n.type)throw new i("Invalid environment name",n);for(var s="",o=0;o<n.body.length;++o)s+=t1(n.body[o],"textord").text;if("\\begin"===a){if(!rF.hasOwnProperty(s))throw new i("No such environment: "+s,n);var l=rF[s],{args:h,optArgs:m}=r.parseArguments("\\begin{"+s+"}",l),c={mode:r.mode,envName:s,parser:r},p=l.handler(c,h,m);r.expect("\\end",!1);var u=r.nextToken,d=t1(r.parseFunction(),"environment");if(d.name!==s)throw new i("Mismatch: \\begin{"+s+"} matched by \\end{"+d.name+"}",u);return p}return{type:"environment",mode:r.mode,name:s,nameGroup:n}}});var r0=(e,t)=>{var r=e.font,a=t.withFont(r);return tR(e.body,a)},r1=(e,t)=>{var r=e.font,a=t.withFont(r);return tW(e.body,a)},r4={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};ty({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(e,t)=>{var{parser:r,funcName:a}=e,n=tw(t[0]),i=a;return i in r4&&(i=r4[i]),{type:"font",mode:r.mode,font:i.slice(1),body:n}},htmlBuilder:r0,mathmlBuilder:r1}),ty({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,t)=>{var{parser:r}=e,a=t[0],n=H.isCharacterBox(a);return{type:"mclass",mode:r.mode,mclass:rt(a),body:[{type:"font",mode:r.mode,font:"boldsymbol",body:a}],isCharacterBox:n}}}),ty({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:a,breakOnTokenText:n}=e,{mode:i}=r,s=r.parseExpression(!0,n);return{type:"font",mode:i,font:"math"+a.slice(1),body:{type:"ordgroup",mode:r.mode,body:s}}},htmlBuilder:r0,mathmlBuilder:r1});var r5=(e,t)=>{var r=t;return"display"===e?r=r.id>=Y.SCRIPT.id?r.text():Y.DISPLAY:"text"===e&&r.size===Y.DISPLAY.size?r=Y.TEXT:"script"===e?r=Y.SCRIPT:"scriptscript"===e&&(r=Y.SCRIPTSCRIPT),r},r6=(e,t)=>{var r,a,n,i,s,o,l,h,m,c,p,u=r5(e.size,t.style),d=u.fracNum(),g=u.fracDen();r=t.havingStyle(d);var f=tR(e.numer,r,t);if(e.continued){var v=8.5/t.fontMetrics().ptPerEm,b=3.5/t.fontMetrics().ptPerEm;f.height=f.height<v?v:f.height,f.depth=f.depth<b?b:f.depth}r=t.havingStyle(g);var y=tR(e.denom,r,t);if(e.hasBarLine?(e.barSize?(n=ec(e.barSize,t),a=tm.makeLineSpan("frac-line",t,n)):a=tm.makeLineSpan("frac-line",t),n=a.height,i=a.height):(a=null,n=0,i=t.fontMetrics().defaultRuleThickness),u.size===Y.DISPLAY.size||"display"===e.size?(s=t.fontMetrics().num1,o=n>0?3*i:7*i,l=t.fontMetrics().denom1):(n>0?(s=t.fontMetrics().num2,o=i):(s=t.fontMetrics().num3,o=3*i),l=t.fontMetrics().denom2),a){var x=t.fontMetrics().axisHeight;s-f.depth-(x+.5*n)<o&&(s+=o-(s-f.depth-(x+.5*n))),x-.5*n-(y.height-l)<o&&(l+=o-(x-.5*n-(y.height-l)));var w=-(x-.5*n);h=tm.makeVList({positionType:"individualShift",children:[{type:"elem",elem:y,shift:l},{type:"elem",elem:a,shift:w},{type:"elem",elem:f,shift:-s}]},t)}else{var k=s-f.depth-(y.height-l);k<o&&(s+=.5*(o-k),l+=.5*(o-k)),h=tm.makeVList({positionType:"individualShift",children:[{type:"elem",elem:y,shift:l},{type:"elem",elem:f,shift:-s}]},t)}return r=t.havingStyle(u),h.height*=r.sizeMultiplier/t.sizeMultiplier,h.depth*=r.sizeMultiplier/t.sizeMultiplier,m=u.size===Y.DISPLAY.size?t.fontMetrics().delim1:u.size===Y.SCRIPTSCRIPT.size?t.havingStyle(Y.SCRIPT).fontMetrics().delim2:t.fontMetrics().delim2,c=null==e.leftDelim?tH(t,["mopen"]):rR.customSizedDelim(e.leftDelim,m,!0,t.havingStyle(u),e.mode,["mopen"]),p=e.continued?tm.makeSpan([]):null==e.rightDelim?tH(t,["mclose"]):rR.customSizedDelim(e.rightDelim,m,!0,t.havingStyle(u),e.mode,["mclose"]),tm.makeSpan(["mord"].concat(r.sizingClasses(t)),[c,tm.makeSpan(["mfrac"],[h]),p],t)},r7=(e,t)=>{var r=new tP.MathNode("mfrac",[tW(e.numer,t),tW(e.denom,t)]);if(e.hasBarLine){if(e.barSize){var a=ec(e.barSize,t);r.setAttribute("linethickness",ep(a))}}else r.setAttribute("linethickness","0px");var n=r5(e.size,t.style);if(n.size!==t.style.size){r=new tP.MathNode("mstyle",[r]);var i=n.size===Y.DISPLAY.size?"true":"false";r.setAttribute("displaystyle",i),r.setAttribute("scriptlevel","0")}if(null!=e.leftDelim||null!=e.rightDelim){var s=[];if(null!=e.leftDelim){var o=new tP.MathNode("mo",[new tP.TextNode(e.leftDelim.replace("\\",""))]);o.setAttribute("fence","true"),s.push(o)}if(s.push(r),null!=e.rightDelim){var l=new tP.MathNode("mo",[new tP.TextNode(e.rightDelim.replace("\\",""))]);l.setAttribute("fence","true"),s.push(l)}return tG(s)}return r};ty({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(e,t)=>{var r,{parser:a,funcName:n}=e,i=t[0],s=t[1],o=null,l=null,h="auto";switch(n){case"\\dfrac":case"\\frac":case"\\tfrac":r=!0;break;case"\\\\atopfrac":r=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":r=!1,o="(",l=")";break;case"\\\\bracefrac":r=!1,o="\\{",l="\\}";break;case"\\\\brackfrac":r=!1,o="[",l="]";break;default:throw Error("Unrecognized genfrac command")}switch(n){case"\\dfrac":case"\\dbinom":h="display";break;case"\\tfrac":case"\\tbinom":h="text"}return{type:"genfrac",mode:a.mode,continued:!1,numer:i,denom:s,hasBarLine:r,leftDelim:o,rightDelim:l,size:h,barSize:null}},htmlBuilder:r6,mathmlBuilder:r7}),ty({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(e,t)=>{var{parser:r,funcName:a}=e,n=t[0],i=t[1];return{type:"genfrac",mode:r.mode,continued:!0,numer:n,denom:i,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}}),ty({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(e){var t,{parser:r,funcName:a,token:n}=e;switch(a){case"\\over":t="\\frac";break;case"\\choose":t="\\binom";break;case"\\atop":t="\\\\atopfrac";break;case"\\brace":t="\\\\bracefrac";break;case"\\brack":t="\\\\brackfrac";break;default:throw Error("Unrecognized infix genfrac command")}return{type:"infix",mode:r.mode,replaceWith:t,token:n}}});var r3=["display","text","script","scriptscript"],r8=function(e){var t=null;return e.length>0&&(t="."===(t=e)?null:t),t};ty({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(e,t){var r,{parser:a}=e,n=t[4],i=t[5],s=tw(t[0]),o="atom"===s.type&&"open"===s.family?r8(s.text):null,l=tw(t[1]),h="atom"===l.type&&"close"===l.family?r8(l.text):null,m=t1(t[2],"size"),c=null;r=!!m.isBlank||(c=m.value).number>0;var p="auto",u=t[3];return"ordgroup"===u.type?u.body.length>0&&(p=r3[Number(t1(u.body[0],"textord").text)]):p=r3[Number((u=t1(u,"textord")).text)],{type:"genfrac",mode:a.mode,numer:n,denom:i,continued:!1,hasBarLine:r,barSize:c,leftDelim:o,rightDelim:h,size:p}},htmlBuilder:r6,mathmlBuilder:r7}),ty({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(e,t){var{parser:r,funcName:a,token:n}=e;return{type:"infix",mode:r.mode,replaceWith:"\\\\abovefrac",size:t1(t[0],"size").value,token:n}}}),ty({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,t)=>{var{parser:r,funcName:a}=e,n=t[0],i=I(t1(t[1],"infix").size),s=t[2],o=i.number>0;return{type:"genfrac",mode:r.mode,numer:n,denom:s,continued:!1,hasBarLine:o,barSize:i,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:r6,mathmlBuilder:r7});var r2=(e,t)=>{var r,a,n,i=t.style;"supsub"===e.type?(r=e.sup?tR(e.sup,t.havingStyle(i.sup()),t):tR(e.sub,t.havingStyle(i.sub()),t),a=t1(e.base,"horizBrace")):a=t1(e,"horizBrace");var s=tR(a.base,t.havingBaseStyle(Y.DISPLAY)),o=t0.svgSpan(a,t);if(a.isOver?(n=tm.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"kern",size:.1},{type:"elem",elem:o}]},t)).children[0].children[0].children[1].classes.push("svg-align"):(n=tm.makeVList({positionType:"bottom",positionData:s.depth+.1+o.height,children:[{type:"elem",elem:o},{type:"kern",size:.1},{type:"elem",elem:s}]},t)).children[0].children[0].children[0].classes.push("svg-align"),r){var l=tm.makeSpan(["mord",a.isOver?"mover":"munder"],[n],t);n=a.isOver?tm.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:.2},{type:"elem",elem:r}]},t):tm.makeVList({positionType:"bottom",positionData:l.depth+.2+r.height+r.depth,children:[{type:"elem",elem:r},{type:"kern",size:.2},{type:"elem",elem:l}]},t)}return tm.makeSpan(["mord",a.isOver?"mover":"munder"],[n],t)};ty({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:a}=e;return{type:"horizBrace",mode:r.mode,label:a,isOver:/^\\over/.test(a),base:t[0]}},htmlBuilder:r2,mathmlBuilder:(e,t)=>{var r=t0.mathMLnode(e.label);return new tP.MathNode(e.isOver?"mover":"munder",[tW(e.base,t),r])}}),ty({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,a=t[1],n=t1(t[0],"url").url;return r.settings.isTrusted({command:"\\href",url:n})?{type:"href",mode:r.mode,href:n,body:tk(a)}:r.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{var r=tB(e.body,t,!1);return tm.makeAnchor(e.href,[],r,t)},mathmlBuilder:(e,t)=>{var r=tX(e.body,t);return!(r instanceof tD)&&(r=new tD("mrow",[r])),r.setAttribute("href",e.href),r}}),ty({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,a=t1(t[0],"url").url;if(!r.settings.isTrusted({command:"\\url",url:a}))return r.formatUnsupportedCmd("\\url");for(var n=[],i=0;i<a.length;i++){var s=a[i];"~"===s&&(s="\\textasciitilde"),n.push({type:"textord",mode:"text",text:s})}var o={type:"text",mode:r.mode,font:"\\texttt",body:n};return{type:"href",mode:r.mode,href:a,body:tk(o)}}}),ty({type:"hbox",names:["\\hbox"],props:{numArgs:1,argTypes:["text"],allowedInText:!0,primitive:!0},handler(e,t){var{parser:r}=e;return{type:"hbox",mode:r.mode,body:tk(t[0])}},htmlBuilder(e,t){var r=tB(e.body,t,!1);return tm.makeFragment(r)},mathmlBuilder:(e,t)=>new tP.MathNode("mrow",tY(e.body,t))}),ty({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(e,t)=>{var r,{parser:a,funcName:n,token:s}=e,o=t1(t[0],"raw").string,l=t[1];a.settings.strict&&a.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var h={};switch(n){case"\\htmlClass":h.class=o,r={command:"\\htmlClass",class:o};break;case"\\htmlId":h.id=o,r={command:"\\htmlId",id:o};break;case"\\htmlStyle":h.style=o,r={command:"\\htmlStyle",style:o};break;case"\\htmlData":for(var m=o.split(","),c=0;c<m.length;c++){var p=m[c].split("=");if(2!==p.length)throw new i("Error parsing key-value for \\htmlData");h["data-"+p[0].trim()]=p[1].trim()}r={command:"\\htmlData",attributes:h};break;default:throw Error("Unrecognized html command")}return a.settings.isTrusted(r)?{type:"html",mode:a.mode,attributes:h,body:tk(l)}:a.formatUnsupportedCmd(n)},htmlBuilder:(e,t)=>{var r=tB(e.body,t,!1),a=["enclosing"];e.attributes.class&&a.push(...e.attributes.class.trim().split(/\s+/));var n=tm.makeSpan(a,r,t);for(var i in e.attributes)"class"!==i&&e.attributes.hasOwnProperty(i)&&n.setAttribute(i,e.attributes[i]);return n},mathmlBuilder:(e,t)=>tX(e.body,t)}),ty({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"htmlmathml",mode:r.mode,html:tk(t[0]),mathml:tk(t[1])}},htmlBuilder:(e,t)=>{var r=tB(e.html,t,!1);return tm.makeFragment(r)},mathmlBuilder:(e,t)=>tX(e.mathml,t)});var r9=function(e){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(e))return{number:+e,unit:"bp"};var t=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(e);if(!t)throw new i("Invalid size: '"+e+"' in \\includegraphics");var r={number:+(t[1]+t[2]),unit:t[3]};if(!em(r))throw new i("Invalid unit: '"+r.unit+"' in \\includegraphics.");return r};ty({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(e,t,r)=>{var{parser:a}=e,n={number:0,unit:"em"},s={number:.9,unit:"em"},o={number:0,unit:"em"},l="";if(r[0]){for(var h=t1(r[0],"raw").string.split(","),m=0;m<h.length;m++){var c=h[m].split("=");if(2===c.length){var p=c[1].trim();switch(c[0].trim()){case"alt":l=p;break;case"width":n=r9(p);break;case"height":s=r9(p);break;case"totalheight":o=r9(p);break;default:throw new i("Invalid key: '"+c[0]+"' in \\includegraphics.")}}}}var u=t1(t[0],"url").url;return(""===l&&(l=(l=(l=u).replace(/^.*[\\/]/,"")).substring(0,l.lastIndexOf("."))),a.settings.isTrusted({command:"\\includegraphics",url:u}))?{type:"includegraphics",mode:a.mode,alt:l,width:n,height:s,totalheight:o,src:u}:a.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(e,t)=>{var r=ec(e.height,t),a=0;e.totalheight.number>0&&(a=ec(e.totalheight,t)-r);var n=0;e.width.number>0&&(n=ec(e.width,t));var i={height:ep(r+a)};n>0&&(i.width=ep(n)),a>0&&(i.verticalAlign=ep(-a));var s=new ey(e.src,e.alt,i);return s.height=r,s.depth=a,s},mathmlBuilder:(e,t)=>{var r=new tP.MathNode("mglyph",[]);r.setAttribute("alt",e.alt);var a=ec(e.height,t),n=0;if(e.totalheight.number>0&&(n=ec(e.totalheight,t)-a,r.setAttribute("valign",ep(-n))),r.setAttribute("height",ep(a+n)),e.width.number>0){var i=ec(e.width,t);r.setAttribute("width",ep(i))}return r.setAttribute("src",e.src),r}}),ty({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(e,t){var{parser:r,funcName:a}=e,n=t1(t[0],"size");if(r.settings.strict){var i="m"===a[1],s="mu"===n.value.unit;i?(!s&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+a+" supports only mu units, "+("not "+n.value.unit)+" units"),"math"!==r.mode&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+a+" works only in math mode")):s&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+a+" doesn't support mu units")}return{type:"kern",mode:r.mode,dimension:n.value}},htmlBuilder:(e,t)=>tm.makeGlue(e.dimension,t),mathmlBuilder(e,t){var r=ec(e.dimension,t);return new tP.SpaceNode(r)}}),ty({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:a}=e,n=t[0];return{type:"lap",mode:r.mode,alignment:a.slice(5),body:n}},htmlBuilder:(e,t)=>{"clap"===e.alignment?(r=tm.makeSpan([],[tR(e.body,t)]),r=tm.makeSpan(["inner"],[r],t)):r=tm.makeSpan(["inner"],[tR(e.body,t)]);var r,a=tm.makeSpan(["fix"],[]),n=tm.makeSpan([e.alignment],[r,a],t),i=tm.makeSpan(["strut"]);return i.style.height=ep(n.height+n.depth),n.depth&&(i.style.verticalAlign=ep(-n.depth)),n.children.unshift(i),n=tm.makeSpan(["thinbox"],[n],t),tm.makeSpan(["mord","vbox"],[n],t)},mathmlBuilder:(e,t)=>{var r=new tP.MathNode("mpadded",[tW(e.body,t)]);if("rlap"!==e.alignment){var a="llap"===e.alignment?"-1":"-0.5";r.setAttribute("lspace",a+"width")}return r.setAttribute("width","0px"),r}}),ty({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){var{funcName:r,parser:a}=e,n=a.mode;a.switchMode("math");var i="\\("===r?"\\)":"$",s=a.parseExpression(!1,i);return a.expect(i),a.switchMode(n),{type:"styling",mode:a.mode,style:"text",body:s}}}),ty({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new i("Mismatched "+e.funcName)}});var ae=(e,t)=>{switch(t.style.size){case Y.DISPLAY.size:return e.display;case Y.TEXT.size:return e.text;case Y.SCRIPT.size:return e.script;case Y.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};ty({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"mathchoice",mode:r.mode,display:tk(t[0]),text:tk(t[1]),script:tk(t[2]),scriptscript:tk(t[3])}},htmlBuilder:(e,t)=>{var r=tB(ae(e,t),t,!1);return tm.makeFragment(r)},mathmlBuilder:(e,t)=>tX(ae(e,t),t)});var at=(e,t,r,a,n,i,s)=>{e=tm.makeSpan([],[e]);var o,l,h,m=r&&H.isCharacterBox(r);if(t){var c=tR(t,a.havingStyle(n.sup()),a);l={elem:c,kern:Math.max(a.fontMetrics().bigOpSpacing1,a.fontMetrics().bigOpSpacing3-c.depth)}}if(r){var p=tR(r,a.havingStyle(n.sub()),a);o={elem:p,kern:Math.max(a.fontMetrics().bigOpSpacing2,a.fontMetrics().bigOpSpacing4-p.height)}}if(l&&o){var u=a.fontMetrics().bigOpSpacing5+o.elem.height+o.elem.depth+o.kern+e.depth+s;h=tm.makeVList({positionType:"bottom",positionData:u,children:[{type:"kern",size:a.fontMetrics().bigOpSpacing5},{type:"elem",elem:o.elem,marginLeft:ep(-i)},{type:"kern",size:o.kern},{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:ep(i)},{type:"kern",size:a.fontMetrics().bigOpSpacing5}]},a)}else if(o){var d=e.height-s;h=tm.makeVList({positionType:"top",positionData:d,children:[{type:"kern",size:a.fontMetrics().bigOpSpacing5},{type:"elem",elem:o.elem,marginLeft:ep(-i)},{type:"kern",size:o.kern},{type:"elem",elem:e}]},a)}else{if(!l)return e;var g=e.depth+s;h=tm.makeVList({positionType:"bottom",positionData:g,children:[{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:ep(i)},{type:"kern",size:a.fontMetrics().bigOpSpacing5}]},a)}var f=[h];if(o&&0!==i&&!m){var v=tm.makeSpan(["mspace"],[],a);v.style.marginRight=ep(i),f.unshift(v)}return tm.makeSpan(["mop","op-limits"],f,a)},ar=["\\smallint"],aa=(e,t)=>{var r,a,n,i,s=!1;"supsub"===e.type?(r=e.sup,a=e.sub,n=t1(e.base,"op"),s=!0):n=t1(e,"op");var o=t.style,l=!1;if(o.size===Y.DISPLAY.size&&n.symbol&&!H.contains(ar,n.name)&&(l=!0),n.symbol){var h=l?"Size2-Regular":"Size1-Regular",m="";if(("\\oiint"===n.name||"\\oiiint"===n.name)&&(m=n.name.slice(1),n.name="oiint"===m?"\\iint":"\\iiint"),i=tm.makeSymbol(n.name,h,"math",t,["mop","op-symbol",l?"large-op":"small-op"]),m.length>0){var c=i.italic,p=tm.staticSvg(m+"Size"+(l?"2":"1"),t);i=tm.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:0},{type:"elem",elem:p,shift:l?.08:0}]},t),n.name="\\"+m,i.classes.unshift("mop"),i.italic=c}}else if(n.body){var u=tB(n.body,t,!0);1===u.length&&u[0]instanceof ew?(i=u[0]).classes[0]="mop":i=tm.makeSpan(["mop"],u,t)}else{for(var d=[],g=1;g<n.name.length;g++)d.push(tm.mathsym(n.name[g],n.mode,t));i=tm.makeSpan(["mop"],d,t)}var f=0,v=0;return((i instanceof ew||"\\oiint"===n.name||"\\oiiint"===n.name)&&!n.suppressBaseShift&&(f=(i.height-i.depth)/2-t.fontMetrics().axisHeight,v=i.italic),s)?at(i,r,a,t,o,v,f):(f&&(i.style.position="relative",i.style.top=ep(f)),i)},an=(e,t)=>{var r;if(e.symbol)r=new tD("mo",[tF(e.name,e.mode)]),H.contains(ar,e.name)&&r.setAttribute("largeop","false");else if(e.body)r=new tD("mo",tY(e.body,t));else{r=new tD("mi",[new tV(e.name.slice(1))]);var a=new tD("mo",[tF("","text")]);r=e.parentIsSupSub?new tD("mrow",[r,a]):tL([r,a])}return r},ai={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};ty({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","⋁","⋂","⋃","⨀","⨁","⨂","⨄","⨆"],props:{numArgs:0},handler:(e,t)=>{var{parser:r,funcName:a}=e,n=a;return 1===n.length&&(n=ai[n]),{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:aa,mathmlBuilder:an}),ty({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var{parser:r}=e,a=t[0];return{type:"op",mode:r.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:tk(a)}},htmlBuilder:aa,mathmlBuilder:an});var as={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};ty({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(e){var{parser:t,funcName:r}=e;return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:aa,mathmlBuilder:an}),ty({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e;return{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:aa,mathmlBuilder:an}),ty({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e,a=r;return 1===a.length&&(a=as[a]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:a}},htmlBuilder:aa,mathmlBuilder:an});var ao=(e,t)=>{var r,a,n,i,s=!1;if("supsub"===e.type?(r=e.sup,a=e.sub,n=t1(e.base,"operatorname"),s=!0):n=t1(e,"operatorname"),n.body.length>0){for(var o=tB(n.body.map(e=>{var t=e.text;return"string"==typeof t?{type:"textord",mode:e.mode,text:t}:e}),t.withFont("mathrm"),!0),l=0;l<o.length;l++){var h=o[l];h instanceof ew&&(h.text=h.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}i=tm.makeSpan(["mop"],o,t)}else i=tm.makeSpan(["mop"],[],t);return s?at(i,r,a,t,t.style,0,0):i};function al(e,t,r){for(var a=tB(e,t,!1),n=t.sizeMultiplier/r.sizeMultiplier,i=0;i<a.length;i++){var s=a[i].classes.indexOf("sizing");s<0?Array.prototype.push.apply(a[i].classes,t.sizingClasses(r)):a[i].classes[s+1]==="reset-size"+t.size&&(a[i].classes[s+1]="reset-size"+r.size),a[i].height*=n,a[i].depth*=n}return tm.makeFragment(a)}ty({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(e,t)=>{var{parser:r,funcName:a}=e,n=t[0];return{type:"operatorname",mode:r.mode,body:tk(n),alwaysHandleSupSub:"\\operatornamewithlimits"===a,limits:!1,parentIsSupSub:!1}},htmlBuilder:ao,mathmlBuilder:(e,t)=>{for(var r=tY(e.body,t.withFont("mathrm")),a=!0,n=0;n<r.length;n++){var i=r[n];if(i instanceof tP.SpaceNode);else if(i instanceof tP.MathNode)switch(i.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":var s=i.children[0];1===i.children.length&&s instanceof tP.TextNode?s.text=s.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):a=!1;break;default:a=!1}else a=!1}if(a){var o=r.map(e=>e.toText()).join("");r=[new tP.TextNode(o)]}var l=new tP.MathNode("mi",r);l.setAttribute("mathvariant","normal");var h=new tP.MathNode("mo",[tF("","text")]);return e.parentIsSupSub?new tP.MathNode("mrow",[l,h]):tP.newDocumentFragment([l,h])}}),rU["\\operatorname"]="\\@ifstar\\operatornamewithlimits\\operatorname@",tx({type:"ordgroup",htmlBuilder:(e,t)=>e.semisimple?tm.makeFragment(tB(e.body,t,!1)):tm.makeSpan(["mord"],tB(e.body,t,!0),t),mathmlBuilder:(e,t)=>tX(e.body,t,!0)}),ty({type:"overline",names:["\\overline"],props:{numArgs:1},handler(e,t){var{parser:r}=e,a=t[0];return{type:"overline",mode:r.mode,body:a}},htmlBuilder(e,t){var r=tR(e.body,t.havingCrampedStyle()),a=tm.makeLineSpan("overline-line",t),n=t.fontMetrics().defaultRuleThickness,i=tm.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:3*n},{type:"elem",elem:a},{type:"kern",size:n}]},t);return tm.makeSpan(["mord","overline"],[i],t)},mathmlBuilder(e,t){var r=new tP.MathNode("mo",[new tP.TextNode("‾")]);r.setAttribute("stretchy","true");var a=new tP.MathNode("mover",[tW(e.body,t),r]);return a.setAttribute("accent","true"),a}}),ty({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,a=t[0];return{type:"phantom",mode:r.mode,body:tk(a)}},htmlBuilder:(e,t)=>{var r=tB(e.body,t.withPhantom(),!1);return tm.makeFragment(r)},mathmlBuilder:(e,t)=>{var r=tY(e.body,t);return new tP.MathNode("mphantom",r)}}),ty({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,a=t[0];return{type:"hphantom",mode:r.mode,body:a}},htmlBuilder:(e,t)=>{var r=tm.makeSpan([],[tR(e.body,t.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=tm.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r}]},t),tm.makeSpan(["mord"],[r],t)},mathmlBuilder:(e,t)=>{var r=tY(tk(e.body),t),a=new tP.MathNode("mphantom",r),n=new tP.MathNode("mpadded",[a]);return n.setAttribute("height","0px"),n.setAttribute("depth","0px"),n}}),ty({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,a=t[0];return{type:"vphantom",mode:r.mode,body:a}},htmlBuilder:(e,t)=>{var r=tm.makeSpan(["inner"],[tR(e.body,t.withPhantom())]),a=tm.makeSpan(["fix"],[]);return tm.makeSpan(["mord","rlap"],[r,a],t)},mathmlBuilder:(e,t)=>{var r=tY(tk(e.body),t),a=new tP.MathNode("mphantom",r),n=new tP.MathNode("mpadded",[a]);return n.setAttribute("width","0px"),n}}),ty({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e,a=t1(t[0],"size").value,n=t[1];return{type:"raisebox",mode:r.mode,dy:a,body:n}},htmlBuilder(e,t){var r=tR(e.body,t),a=ec(e.dy,t);return tm.makeVList({positionType:"shift",positionData:-a,children:[{type:"elem",elem:r}]},t)},mathmlBuilder(e,t){var r=new tP.MathNode("mpadded",[tW(e.body,t)]),a=e.dy.number+e.dy.unit;return r.setAttribute("voffset",a),r}}),ty({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:t}=e;return{type:"internal",mode:t.mode}}}),ty({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler(e,t,r){var{parser:a}=e,n=r[0],i=t1(t[0],"size"),s=t1(t[1],"size");return{type:"rule",mode:a.mode,shift:n&&t1(n,"size").value,width:i.value,height:s.value}},htmlBuilder(e,t){var r=tm.makeSpan(["mord","rule"],[],t),a=ec(e.width,t),n=ec(e.height,t),i=e.shift?ec(e.shift,t):0;return r.style.borderRightWidth=ep(a),r.style.borderTopWidth=ep(n),r.style.bottom=ep(i),r.width=a,r.height=n+i,r.depth=-i,r.maxFontSize=1.125*n*t.sizeMultiplier,r},mathmlBuilder(e,t){var r=ec(e.width,t),a=ec(e.height,t),n=e.shift?ec(e.shift,t):0,i=t.color&&t.getColor()||"black",s=new tP.MathNode("mspace");s.setAttribute("mathbackground",i),s.setAttribute("width",ep(r)),s.setAttribute("height",ep(a));var o=new tP.MathNode("mpadded",[s]);return n>=0?o.setAttribute("height",ep(n)):(o.setAttribute("height",ep(n)),o.setAttribute("depth",ep(-n))),o.setAttribute("voffset",ep(n)),o}});var ah=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"];ty({type:"sizing",names:ah,props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{breakOnTokenText:r,funcName:a,parser:n}=e,i=n.parseExpression(!1,r);return{type:"sizing",mode:n.mode,size:ah.indexOf(a)+1,body:i}},htmlBuilder:(e,t)=>{var r=t.havingSize(e.size);return al(e.body,r,t)},mathmlBuilder:(e,t)=>{var r=t.havingSize(e.size),a=tY(e.body,r),n=new tP.MathNode("mstyle",a);return n.setAttribute("mathsize",ep(r.sizeMultiplier)),n}}),ty({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,t,r)=>{var{parser:a}=e,n=!1,i=!1,s=r[0]&&t1(r[0],"ordgroup");if(s){for(var o="",l=0;l<s.body.length;++l)if("t"===(o=s.body[l].text))n=!0;else if("b"===o)i=!0;else{n=!1,i=!1;break}}else n=!0,i=!0;var h=t[0];return{type:"smash",mode:a.mode,body:h,smashHeight:n,smashDepth:i}},htmlBuilder:(e,t)=>{var r=tm.makeSpan([],[tR(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return r;if(e.smashHeight&&(r.height=0,r.children))for(var a=0;a<r.children.length;a++)r.children[a].height=0;if(e.smashDepth&&(r.depth=0,r.children))for(var n=0;n<r.children.length;n++)r.children[n].depth=0;var i=tm.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r}]},t);return tm.makeSpan(["mord"],[i],t)},mathmlBuilder:(e,t)=>{var r=new tP.MathNode("mpadded",[tW(e.body,t)]);return e.smashHeight&&r.setAttribute("height","0px"),e.smashDepth&&r.setAttribute("depth","0px"),r}}),ty({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,r){var{parser:a}=e,n=r[0],i=t[0];return{type:"sqrt",mode:a.mode,body:i,index:n}},htmlBuilder(e,t){var r=tR(e.body,t.havingCrampedStyle());0===r.height&&(r.height=t.fontMetrics().xHeight),r=tm.wrapFragment(r,t);var a=t.fontMetrics().defaultRuleThickness,n=a;t.style.id<Y.TEXT.id&&(n=t.fontMetrics().xHeight);var i=a+n/4,s=r.height+r.depth+i+a,{span:o,ruleWidth:l,advanceWidth:h}=rR.sqrtImage(s,t),m=o.height-l;m>r.height+r.depth+i&&(i=(i+m-r.height-r.depth)/2);var c=o.height-r.height-i-l;r.style.paddingLeft=ep(h);var p=tm.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:-(r.height+c)},{type:"elem",elem:o},{type:"kern",size:l}]},t);if(!e.index)return tm.makeSpan(["mord","sqrt"],[p],t);var u=t.havingStyle(Y.SCRIPTSCRIPT),d=tR(e.index,u,t),g=.6*(p.height-p.depth),f=tm.makeVList({positionType:"shift",positionData:-g,children:[{type:"elem",elem:d}]},t),v=tm.makeSpan(["root"],[f]);return tm.makeSpan(["mord","sqrt"],[v,p],t)},mathmlBuilder(e,t){var{body:r,index:a}=e;return a?new tP.MathNode("mroot",[tW(r,t),tW(a,t)]):new tP.MathNode("msqrt",[tW(r,t)])}});var am={display:Y.DISPLAY,text:Y.TEXT,script:Y.SCRIPT,scriptscript:Y.SCRIPTSCRIPT};ty({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e,t){var{breakOnTokenText:r,funcName:a,parser:n}=e,i=n.parseExpression(!0,r),s=a.slice(1,a.length-5);return{type:"styling",mode:n.mode,style:s,body:i}},htmlBuilder(e,t){var r=am[e.style],a=t.havingStyle(r).withFont("");return al(e.body,a,t)},mathmlBuilder(e,t){var r=am[e.style],a=t.havingStyle(r),n=tY(e.body,a),i=new tP.MathNode("mstyle",n),s={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]}[e.style];return i.setAttribute("scriptlevel",s[0]),i.setAttribute("displaystyle",s[1]),i}});var ac=function(e,t){var r=e.base;if(!r)return null;if("op"===r.type)return r.limits&&(t.style.size===Y.DISPLAY.size||r.alwaysHandleSupSub)?aa:null;if("operatorname"===r.type)return r.alwaysHandleSupSub&&(t.style.size===Y.DISPLAY.size||r.limits)?ao:null;else if("accent"===r.type)return H.isCharacterBox(r.base)?t6:null;else if("horizBrace"===r.type)return!e.sub===r.isOver?r2:null;else return null};tx({type:"supsub",htmlBuilder(e,t){var r,a,n,i,s=ac(e,t);if(s)return s(e,t);var{base:o,sup:l,sub:h}=e,m=tR(o,t),c=t.fontMetrics(),p=0,u=0,d=o&&H.isCharacterBox(o);if(l){var g=t.havingStyle(t.style.sup());r=tR(l,g,t),!d&&(p=m.height-g.fontMetrics().supDrop*g.sizeMultiplier/t.sizeMultiplier)}if(h){var f=t.havingStyle(t.style.sub());a=tR(h,f,t),!d&&(u=m.depth+f.fontMetrics().subDrop*f.sizeMultiplier/t.sizeMultiplier)}n=t.style===Y.DISPLAY?c.sup1:t.style.cramped?c.sup3:c.sup2;var v=t.sizeMultiplier,b=ep(.5/c.ptPerEm/v),y=null;if(a){var x=e.base&&"op"===e.base.type&&e.base.name&&("\\oiint"===e.base.name||"\\oiiint"===e.base.name);(m instanceof ew||x)&&(y=ep(-m.italic))}if(r&&a){p=Math.max(p,n,r.depth+.25*c.xHeight),u=Math.max(u,c.sub2);var w=4*c.defaultRuleThickness;if(p-r.depth-(a.height-u)<w){u=w-(p-r.depth)+a.height;var k=.8*c.xHeight-(p-r.depth);k>0&&(p+=k,u-=k)}var S=[{type:"elem",elem:a,shift:u,marginRight:b,marginLeft:y},{type:"elem",elem:r,shift:-p,marginRight:b}];i=tm.makeVList({positionType:"individualShift",children:S},t)}else if(a){u=Math.max(u,c.sub1,a.height-.8*c.xHeight);var M=[{type:"elem",elem:a,marginLeft:y,marginRight:b}];i=tm.makeVList({positionType:"shift",positionData:u,children:M},t)}else if(r)p=Math.max(p,n,r.depth+.25*c.xHeight),i=tm.makeVList({positionType:"shift",positionData:-p,children:[{type:"elem",elem:r,marginRight:b}]},t);else throw Error("supsub must have either sup or sub.");var z=tI(m,"right")||"mord";return tm.makeSpan([z],[m,tm.makeSpan(["msupsub"],[i])],t)},mathmlBuilder(e,t){var r,a,n=!1;e.base&&"horizBrace"===e.base.type&&!!e.sup===e.base.isOver&&(n=!0,r=e.base.isOver),e.base&&("op"===e.base.type||"operatorname"===e.base.type)&&(e.base.parentIsSupSub=!0);var i=[tW(e.base,t)];if(e.sub&&i.push(tW(e.sub,t)),e.sup&&i.push(tW(e.sup,t)),n)a=r?"mover":"munder";else if(e.sub){if(e.sup){var s=e.base;a=s&&"op"===s.type&&s.limits&&t.style===Y.DISPLAY?"munderover":s&&"operatorname"===s.type&&s.alwaysHandleSupSub&&(t.style===Y.DISPLAY||s.limits)?"munderover":"msubsup"}else{var o=e.base;a=o&&"op"===o.type&&o.limits&&(t.style===Y.DISPLAY||o.alwaysHandleSupSub)?"munder":o&&"operatorname"===o.type&&o.alwaysHandleSupSub&&(o.limits||t.style===Y.DISPLAY)?"munder":"msub"}}else{var l=e.base;a=l&&"op"===l.type&&l.limits&&(t.style===Y.DISPLAY||l.alwaysHandleSupSub)?"mover":l&&"operatorname"===l.type&&l.alwaysHandleSupSub&&(l.limits||t.style===Y.DISPLAY)?"mover":"msup"}return new tP.MathNode(a,i)}}),tx({type:"atom",htmlBuilder:(e,t)=>tm.mathsym(e.text,e.mode,t,["m"+e.family]),mathmlBuilder(e,t){var r=new tP.MathNode("mo",[tF(e.text,e.mode)]);if("bin"===e.family){var a=tU(e,t);"bold-italic"===a&&r.setAttribute("mathvariant",a)}else"punct"===e.family?r.setAttribute("separator","true"):("open"===e.family||"close"===e.family)&&r.setAttribute("stretchy","false");return r}});var ap={mi:"italic",mn:"normal",mtext:"normal"};tx({type:"mathord",htmlBuilder:(e,t)=>tm.makeOrd(e,t,"mathord"),mathmlBuilder(e,t){var r=new tP.MathNode("mi",[tF(e.text,e.mode,t)]),a=tU(e,t)||"italic";return a!==ap[r.type]&&r.setAttribute("mathvariant",a),r}}),tx({type:"textord",htmlBuilder:(e,t)=>tm.makeOrd(e,t,"textord"),mathmlBuilder(e,t){var r,a=tF(e.text,e.mode,t),n=tU(e,t)||"normal";return n!==ap[(r="text"===e.mode?new tP.MathNode("mtext",[a]):/[0-9]/.test(e.text)?new tP.MathNode("mn",[a]):"\\prime"===e.text?new tP.MathNode("mo",[a]):new tP.MathNode("mi",[a])).type]&&r.setAttribute("mathvariant",n),r}});var au={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},ad={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};tx({type:"spacing",htmlBuilder(e,t){if(ad.hasOwnProperty(e.text)){var r=ad[e.text].className||"";if("text"!==e.mode)return tm.makeSpan(["mspace",r],[tm.mathsym(e.text,e.mode,t)],t);var a=tm.makeOrd(e,t,"textord");return a.classes.push(r),a}if(au.hasOwnProperty(e.text))return tm.makeSpan(["mspace",au[e.text]],[],t);throw new i('Unknown type of space "'+e.text+'"')},mathmlBuilder(e,t){var r;if(ad.hasOwnProperty(e.text))r=new tP.MathNode("mtext",[new tP.TextNode("\xa0")]);else if(au.hasOwnProperty(e.text))return new tP.MathNode("mspace");else throw new i('Unknown type of space "'+e.text+'"');return r}});var ag=()=>{var e=new tP.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};tx({type:"tag",mathmlBuilder(e,t){var r=new tP.MathNode("mtable",[new tP.MathNode("mtr",[ag(),new tP.MathNode("mtd",[tX(e.body,t)]),ag(),new tP.MathNode("mtd",[tX(e.tag,t)])])]);return r.setAttribute("width","100%"),r}});var af={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},av={"\\textbf":"textbf","\\textmd":"textmd"},ab={"\\textit":"textit","\\textup":"textup"},ay=(e,t)=>{var r=e.font;if(!r)return t;if(af[r])return t.withTextFontFamily(af[r]);if(av[r])return t.withTextFontWeight(av[r]);else return t.withTextFontShape(ab[r])};ty({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(e,t){var{parser:r,funcName:a}=e,n=t[0];return{type:"text",mode:r.mode,body:tk(n),font:a}},htmlBuilder(e,t){var r=ay(e,t),a=tB(e.body,r,!0);return tm.makeSpan(["mord","text"],a,r)},mathmlBuilder(e,t){var r=ay(e,t);return tX(e.body,r)}}),ty({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"underline",mode:r.mode,body:t[0]}},htmlBuilder(e,t){var r=tR(e.body,t),a=tm.makeLineSpan("underline-line",t),n=t.fontMetrics().defaultRuleThickness,i=tm.makeVList({positionType:"top",positionData:r.height,children:[{type:"kern",size:n},{type:"elem",elem:a},{type:"kern",size:3*n},{type:"elem",elem:r}]},t);return tm.makeSpan(["mord","underline"],[i],t)},mathmlBuilder(e,t){var r=new tP.MathNode("mo",[new tP.TextNode("‾")]);r.setAttribute("stretchy","true");var a=new tP.MathNode("munder",[tW(e.body,t),r]);return a.setAttribute("accentunder","true"),a}}),ty({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(e,t){var{parser:r}=e;return{type:"vcenter",mode:r.mode,body:t[0]}},htmlBuilder(e,t){var r=tR(e.body,t),a=t.fontMetrics().axisHeight,n=.5*(r.height-a-(r.depth+a));return tm.makeVList({positionType:"shift",positionData:n,children:[{type:"elem",elem:r}]},t)},mathmlBuilder:(e,t)=>new tP.MathNode("mpadded",[tW(e.body,t)],["vcenter"])}),ty({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,r){throw new i("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){for(var r=ax(e),a=[],n=t.havingStyle(t.style.text()),i=0;i<r.length;i++){var s=r[i];"~"===s&&(s="\\textasciitilde"),a.push(tm.makeSymbol(s,"Typewriter-Regular",e.mode,n,["mord","texttt"]))}return tm.makeSpan(["mord","text"].concat(n.sizingClasses(t)),tm.tryCombineChars(a),n)},mathmlBuilder(e,t){var r=new tP.TextNode(ax(e)),a=new tP.MathNode("mtext",[r]);return a.setAttribute("mathvariant","monospace"),a}});var ax=e=>e.body.replace(/ /g,e.star?"␣":"\xa0"),aw="[ \r\n ]",ak="[̀-ͯ]",aS=RegExp(ak+"+$"),aM="("+aw+"+)|\\\\(\n|[ \r ]+\n?)[ \r ]*|([!-\\[\\]-‧-豈-]"+ak+"*|[\uD800-\uDBFF][\uDC00-\uDFFF]"+ak+"*|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|(\\\\[a-zA-Z@]+)"+aw)+"*|\\\\[^\uD800-\uDFFF])";class az{constructor(e,t){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=e,this.settings=t,this.tokenRegex=RegExp(aM,"g"),this.catcodes={"%":14,"~":13}}setCatcode(e,t){this.catcodes[e]=t}lex(){var e=this.input,t=this.tokenRegex.lastIndex;if(t===e.length)return new n("EOF",new a(this,t,t));var r=this.tokenRegex.exec(e);if(null===r||r.index!==t)throw new i("Unexpected character: '"+e[t]+"'",new n(e[t],new a(this,t,t+1)));var s=r[6]||r[3]||(r[2]?"\\ ":" ");if(14===this.catcodes[s]){var o=e.indexOf("\n",this.tokenRegex.lastIndex);return -1===o?(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=o+1,this.lex()}return new n(s,new a(this,t,this.tokenRegex.lastIndex))}}class aA{constructor(e,t){void 0===e&&(e={}),void 0===t&&(t={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=t,this.builtins=e,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(0===this.undefStack.length)throw new i("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var e=this.undefStack.pop();for(var t in e)e.hasOwnProperty(t)&&(null==e[t]?delete this.current[t]:this.current[t]=e[t])}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,t,r){if(void 0===r&&(r=!1),r){for(var a=0;a<this.undefStack.length;a++)delete this.undefStack[a][e];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][e]=t)}else{var n=this.undefStack[this.undefStack.length-1];n&&!n.hasOwnProperty(e)&&(n[e]=this.current[e])}null==t?delete this.current[e]:this.current[e]=t}}s=function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}},rU["\\noexpand"]=s,o=function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}},rU["\\expandafter"]=o,l=function(e){return{tokens:e.consumeArgs(2)[0],numArgs:0}},rU["\\@firstoftwo"]=l,h=function(e){return{tokens:e.consumeArgs(2)[1],numArgs:0}},rU["\\@secondoftwo"]=h,m=function(e){var t=e.consumeArgs(3);e.consumeSpaces();var r=e.future();return 1===t[0].length&&t[0][0].text===r.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}},rU["\\@ifnextchar"]=m,rU["\\@ifstar"]="\\@ifnextchar *{\\@firstoftwo{#1}}",c=function(e){var t=e.consumeArgs(2);return"text"===e.mode?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}},rU["\\TextOrMath"]=c;var aT={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};p=function(e){var t,r,a=e.popToken(),n="";if("'"===a.text)t=8,a=e.popToken();else if('"'===a.text)t=16,a=e.popToken();else if("`"===a.text){if("\\"===(a=e.popToken()).text[0])n=a.text.charCodeAt(1);else if("EOF"===a.text)throw new i("\\char` missing argument");else n=a.text.charCodeAt(0)}else t=10;if(t){if(null==(n=aT[a.text])||n>=t)throw new i("Invalid base-"+t+" digit "+a.text);for(;null!=(r=aT[e.future().text])&&r<t;)n*=t,n+=r,e.popToken()}return"\\@char{"+n+"}"},rU["\\char"]=p;var aB=(e,t,r)=>{var a=e.consumeArg().tokens;if(1!==a.length)throw new i("\\newcommand's first argument must be a macro name");var n=a[0].text,s=e.isDefined(n);if(s&&!t)throw new i("\\newcommand{"+n+"} attempting to redefine "+n+"; use \\renewcommand");if(!s&&!r)throw new i("\\renewcommand{"+n+"} when command "+n+" does not yet exist; use \\newcommand");var o=0;if(1===(a=e.consumeArg().tokens).length&&"["===a[0].text){for(var l="",h=e.expandNextToken();"]"!==h.text&&"EOF"!==h.text;)l+=h.text,h=e.expandNextToken();if(!l.match(/^\s*[0-9]+\s*$/))throw new i("Invalid number of arguments: "+l);o=parseInt(l),a=e.consumeArg().tokens}return e.macros.set(n,{tokens:a,numArgs:o}),""};u=e=>aB(e,!1,!0),rU["\\newcommand"]=u,d=e=>aB(e,!0,!1),rU["\\renewcommand"]=d,g=e=>aB(e,!0,!0),rU["\\providecommand"]=g,f=e=>(console.log(e.consumeArgs(1)[0].reverse().map(e=>e.text).join("")),""),rU["\\message"]=f,v=e=>(console.error(e.consumeArgs(1)[0].reverse().map(e=>e.text).join("")),""),rU["\\errmessage"]=v,b=e=>{var t=e.popToken(),r=t.text;return console.log(t,e.macros.get(r),tf[r],eB.math[r],eB.text[r]),""},rU["\\show"]=b,rU["\\bgroup"]="{",rU["\\egroup"]="}",rU["~"]="\\nobreakspace",rU["\\lq"]="`",rU["\\rq"]="'",rU["\\aa"]="\\r a",rU["\\AA"]="\\r A",rU["\\textcopyright"]="\\html@mathml{\\textcircled{c}}{\\char`\xa9}",rU["\\copyright"]="\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}",rU["\\textregistered"]="\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xae}",rU["ℬ"]="\\mathscr{B}",rU["ℰ"]="\\mathscr{E}",rU["ℱ"]="\\mathscr{F}",rU["ℋ"]="\\mathscr{H}",rU["ℐ"]="\\mathscr{I}",rU["ℒ"]="\\mathscr{L}",rU["ℳ"]="\\mathscr{M}",rU["ℛ"]="\\mathscr{R}",rU["ℭ"]="\\mathfrak{C}",rU["ℌ"]="\\mathfrak{H}",rU["ℨ"]="\\mathfrak{Z}",rU["\\Bbbk"]="\\Bbb{k}",rU["\xb7"]="\\cdotp",rU["\\llap"]="\\mathllap{\\textrm{#1}}",rU["\\rlap"]="\\mathrlap{\\textrm{#1}}",rU["\\clap"]="\\mathclap{\\textrm{#1}}",rU["\\mathstrut"]="\\vphantom{(}",rU["\\underbar"]="\\underline{\\text{#1}}",rU["\\not"]='\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}',rU["\\neq"]="\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}",rU["\\ne"]="\\neq",rU["≠"]="\\neq",rU["\\notin"]="\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}",rU["∉"]="\\notin",rU["≘"]="\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}",rU["≙"]="\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}",rU["≚"]="\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}",rU["≛"]="\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}",rU["≝"]="\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}",rU["≞"]="\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}",rU["≟"]="\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}",rU["⟂"]="\\perp",rU["‼"]="\\mathclose{!\\mkern-0.8mu!}",rU["∌"]="\\notni",rU["⌜"]="\\ulcorner",rU["⌝"]="\\urcorner",rU["⌞"]="\\llcorner",rU["⌟"]="\\lrcorner",rU["\xa9"]="\\copyright",rU["\xae"]="\\textregistered",rU["️"]="\\textregistered",rU["\\ulcorner"]='\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}',rU["\\urcorner"]='\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}',rU["\\llcorner"]='\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}',rU["\\lrcorner"]='\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}',rU["\\vdots"]="\\mathord{\\varvdots\\rule{0pt}{15pt}}",rU["⋮"]="\\vdots",rU["\\varGamma"]="\\mathit{\\Gamma}",rU["\\varDelta"]="\\mathit{\\Delta}",rU["\\varTheta"]="\\mathit{\\Theta}",rU["\\varLambda"]="\\mathit{\\Lambda}",rU["\\varXi"]="\\mathit{\\Xi}",rU["\\varPi"]="\\mathit{\\Pi}",rU["\\varSigma"]="\\mathit{\\Sigma}",rU["\\varUpsilon"]="\\mathit{\\Upsilon}",rU["\\varPhi"]="\\mathit{\\Phi}",rU["\\varPsi"]="\\mathit{\\Psi}",rU["\\varOmega"]="\\mathit{\\Omega}",rU["\\substack"]="\\begin{subarray}{c}#1\\end{subarray}",rU["\\colon"]="\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax",rU["\\boxed"]="\\fbox{$\\displaystyle{#1}$}",rU["\\iff"]="\\DOTSB\\;\\Longleftrightarrow\\;",rU["\\implies"]="\\DOTSB\\;\\Longrightarrow\\;",rU["\\impliedby"]="\\DOTSB\\;\\Longleftarrow\\;";var aC={",":"\\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"};y=function(e){var t="\\dotso",r=e.expandAfterFuture().text;return r in aC?t=aC[r]:"\\not"===r.slice(0,4)?t="\\dotsb":r in eB.math&&H.contains(["bin","rel"],eB.math[r].group)&&(t="\\dotsb"),t},rU["\\dots"]=y;var aq={")":!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};x=function(e){return e.future().text in aq?"\\ldots\\,":"\\ldots"},rU["\\dotso"]=x,w=function(e){var t=e.future().text;return t in aq&&","!==t?"\\ldots\\,":"\\ldots"},rU["\\dotsc"]=w,k=function(e){return e.future().text in aq?"\\@cdots\\,":"\\@cdots"},rU["\\cdots"]=k,rU["\\dotsb"]="\\cdots",rU["\\dotsm"]="\\cdots",rU["\\dotsi"]="\\!\\cdots",rU["\\dotsx"]="\\ldots\\,",rU["\\DOTSI"]="\\relax",rU["\\DOTSB"]="\\relax",rU["\\DOTSX"]="\\relax",rU["\\tmspace"]="\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax",rU["\\,"]="\\tmspace+{3mu}{.1667em}",rU["\\thinspace"]="\\,",rU["\\>"]="\\mskip{4mu}",rU["\\:"]="\\tmspace+{4mu}{.2222em}",rU["\\medspace"]="\\:",rU["\\;"]="\\tmspace+{5mu}{.2777em}",rU["\\thickspace"]="\\;",rU["\\!"]="\\tmspace-{3mu}{.1667em}",rU["\\negthinspace"]="\\!",rU["\\negmedspace"]="\\tmspace-{4mu}{.2222em}",rU["\\negthickspace"]="\\tmspace-{5mu}{.277em}",rU["\\enspace"]="\\kern.5em ",rU["\\enskip"]="\\hskip.5em\\relax",rU["\\quad"]="\\hskip1em\\relax",rU["\\qquad"]="\\hskip2em\\relax",rU["\\tag"]="\\@ifstar\\tag@literal\\tag@paren",rU["\\tag@paren"]="\\tag@literal{({#1})}",S=e=>{if(e.macros.get("\\df@tag"))throw new i("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"},rU["\\tag@literal"]=S,rU["\\bmod"]="\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}",rU["\\pod"]="\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)",rU["\\pmod"]="\\pod{{\\rm mod}\\mkern6mu#1}",rU["\\mod"]="\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1",rU["\\newline"]="\\\\\\relax",rU["\\TeX"]="\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}";var aN=ep(Q["Main-Regular"][84][1]-.7*Q["Main-Regular"][65][1]);M="\\textrm{\\html@mathml{L\\kern-.36em\\raisebox{"+aN+"}{\\scriptstyle A}\\kern-.15em\\TeX}{LaTeX}}",rU["\\LaTeX"]=M,z="\\textrm{\\html@mathml{K\\kern-.17em\\raisebox{"+aN+"}{\\scriptstyle A}\\kern-.15em\\TeX}{KaTeX}}",rU["\\KaTeX"]=z,rU["\\hspace"]="\\@ifstar\\@hspacer\\@hspace",rU["\\@hspace"]="\\hskip #1\\relax",rU["\\@hspacer"]="\\rule{0pt}{0pt}\\hskip #1\\relax",rU["\\ordinarycolon"]=":",rU["\\vcentcolon"]="\\mathrel{\\mathop\\ordinarycolon}",rU["\\dblcolon"]='\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}',rU["\\coloneqq"]='\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}',rU["\\Coloneqq"]='\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}',rU["\\coloneq"]='\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}',rU["\\Coloneq"]='\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}',rU["\\eqqcolon"]='\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}',rU["\\Eqqcolon"]='\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}',rU["\\eqcolon"]='\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}',rU["\\Eqcolon"]='\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}',rU["\\colonapprox"]='\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}',rU["\\Colonapprox"]='\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}',rU["\\colonsim"]='\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}',rU["\\Colonsim"]='\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}',rU["∷"]="\\dblcolon",rU["∹"]="\\eqcolon",rU["≔"]="\\coloneqq",rU["≕"]="\\eqqcolon",rU["⩴"]="\\Coloneqq",rU["\\ratio"]="\\vcentcolon",rU["\\coloncolon"]="\\dblcolon",rU["\\colonequals"]="\\coloneqq",rU["\\coloncolonequals"]="\\Coloneqq",rU["\\equalscolon"]="\\eqqcolon",rU["\\equalscoloncolon"]="\\Eqqcolon",rU["\\colonminus"]="\\coloneq",rU["\\coloncolonminus"]="\\Coloneq",rU["\\minuscolon"]="\\eqcolon",rU["\\minuscoloncolon"]="\\Eqcolon",rU["\\coloncolonapprox"]="\\Colonapprox",rU["\\coloncolonsim"]="\\Colonsim",rU["\\simcolon"]="\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}",rU["\\simcoloncolon"]="\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}",rU["\\approxcolon"]="\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}",rU["\\approxcoloncolon"]="\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}",rU["\\notni"]="\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}",rU["\\limsup"]="\\DOTSB\\operatorname*{lim\\,sup}",rU["\\liminf"]="\\DOTSB\\operatorname*{lim\\,inf}",rU["\\injlim"]="\\DOTSB\\operatorname*{inj\\,lim}",rU["\\projlim"]="\\DOTSB\\operatorname*{proj\\,lim}",rU["\\varlimsup"]="\\DOTSB\\operatorname*{\\overline{lim}}",rU["\\varliminf"]="\\DOTSB\\operatorname*{\\underline{lim}}",rU["\\varinjlim"]="\\DOTSB\\operatorname*{\\underrightarrow{lim}}",rU["\\varprojlim"]="\\DOTSB\\operatorname*{\\underleftarrow{lim}}",rU["\\gvertneqq"]="\\html@mathml{\\@gvertneqq}{≩}",rU["\\lvertneqq"]="\\html@mathml{\\@lvertneqq}{≨}",rU["\\ngeqq"]="\\html@mathml{\\@ngeqq}{≱}",rU["\\ngeqslant"]="\\html@mathml{\\@ngeqslant}{≱}",rU["\\nleqq"]="\\html@mathml{\\@nleqq}{≰}",rU["\\nleqslant"]="\\html@mathml{\\@nleqslant}{≰}",rU["\\nshortmid"]="\\html@mathml{\\@nshortmid}{∤}",rU["\\nshortparallel"]="\\html@mathml{\\@nshortparallel}{∦}",rU["\\nsubseteqq"]="\\html@mathml{\\@nsubseteqq}{⊈}",rU["\\nsupseteqq"]="\\html@mathml{\\@nsupseteqq}{⊉}",rU["\\varsubsetneq"]="\\html@mathml{\\@varsubsetneq}{⊊}",rU["\\varsubsetneqq"]="\\html@mathml{\\@varsubsetneqq}{⫋}",rU["\\varsupsetneq"]="\\html@mathml{\\@varsupsetneq}{⊋}",rU["\\varsupsetneqq"]="\\html@mathml{\\@varsupsetneqq}{⫌}",rU["\\imath"]="\\html@mathml{\\@imath}{ı}",rU["\\jmath"]="\\html@mathml{\\@jmath}{ȷ}",rU["\\llbracket"]="\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}",rU["\\rrbracket"]="\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}",rU["⟦"]="\\llbracket",rU["⟧"]="\\rrbracket",rU["\\lBrace"]="\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}",rU["\\rBrace"]="\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}",rU["⦃"]="\\lBrace",rU["⦄"]="\\rBrace",rU["\\minuso"]="\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}",rU["⦵"]="\\minuso",rU["\\darr"]="\\downarrow",rU["\\dArr"]="\\Downarrow",rU["\\Darr"]="\\Downarrow",rU["\\lang"]="\\langle",rU["\\rang"]="\\rangle",rU["\\uarr"]="\\uparrow",rU["\\uArr"]="\\Uparrow",rU["\\Uarr"]="\\Uparrow",rU["\\N"]="\\mathbb{N}",rU["\\R"]="\\mathbb{R}",rU["\\Z"]="\\mathbb{Z}",rU["\\alef"]="\\aleph",rU["\\alefsym"]="\\aleph",rU["\\Alpha"]="\\mathrm{A}",rU["\\Beta"]="\\mathrm{B}",rU["\\bull"]="\\bullet",rU["\\Chi"]="\\mathrm{X}",rU["\\clubs"]="\\clubsuit",rU["\\cnums"]="\\mathbb{C}",rU["\\Complex"]="\\mathbb{C}",rU["\\Dagger"]="\\ddagger",rU["\\diamonds"]="\\diamondsuit",rU["\\empty"]="\\emptyset",rU["\\Epsilon"]="\\mathrm{E}",rU["\\Eta"]="\\mathrm{H}",rU["\\exist"]="\\exists",rU["\\harr"]="\\leftrightarrow",rU["\\hArr"]="\\Leftrightarrow",rU["\\Harr"]="\\Leftrightarrow",rU["\\hearts"]="\\heartsuit",rU["\\image"]="\\Im",rU["\\infin"]="\\infty",rU["\\Iota"]="\\mathrm{I}",rU["\\isin"]="\\in",rU["\\Kappa"]="\\mathrm{K}",rU["\\larr"]="\\leftarrow",rU["\\lArr"]="\\Leftarrow",rU["\\Larr"]="\\Leftarrow",rU["\\lrarr"]="\\leftrightarrow",rU["\\lrArr"]="\\Leftrightarrow",rU["\\Lrarr"]="\\Leftrightarrow",rU["\\Mu"]="\\mathrm{M}",rU["\\natnums"]="\\mathbb{N}",rU["\\Nu"]="\\mathrm{N}",rU["\\Omicron"]="\\mathrm{O}",rU["\\plusmn"]="\\pm",rU["\\rarr"]="\\rightarrow",rU["\\rArr"]="\\Rightarrow",rU["\\Rarr"]="\\Rightarrow",rU["\\real"]="\\Re",rU["\\reals"]="\\mathbb{R}",rU["\\Reals"]="\\mathbb{R}",rU["\\Rho"]="\\mathrm{P}",rU["\\sdot"]="\\cdot",rU["\\sect"]="\\S",rU["\\spades"]="\\spadesuit",rU["\\sub"]="\\subset",rU["\\sube"]="\\subseteq",rU["\\supe"]="\\supseteq",rU["\\Tau"]="\\mathrm{T}",rU["\\thetasym"]="\\vartheta",rU["\\weierp"]="\\wp",rU["\\Zeta"]="\\mathrm{Z}",rU["\\argmin"]="\\DOTSB\\operatorname*{arg\\,min}",rU["\\argmax"]="\\DOTSB\\operatorname*{arg\\,max}",rU["\\plim"]="\\DOTSB\\mathop{\\operatorname{plim}}\\limits",rU["\\bra"]="\\mathinner{\\langle{#1}|}",rU["\\ket"]="\\mathinner{|{#1}\\rangle}",rU["\\braket"]="\\mathinner{\\langle{#1}\\rangle}",rU["\\Bra"]="\\left\\langle#1\\right|",rU["\\Ket"]="\\left|#1\\right\\rangle";var aI=e=>t=>{var r=t.consumeArg().tokens,a=t.consumeArg().tokens,n=t.consumeArg().tokens,i=t.consumeArg().tokens,s=t.macros.get("|"),o=t.macros.get("\\|");t.macros.beginGroup();var l=t=>r=>{e&&(r.macros.set("|",s),n.length&&r.macros.set("\\|",o));var i=t;return!t&&n.length&&"|"===r.future().text&&(r.popToken(),i=!0),{tokens:i?n:a,numArgs:0}};t.macros.set("|",l(!1)),n.length&&t.macros.set("\\|",l(!0));var h=t.consumeArg().tokens,m=t.expandTokens([...i,...h,...r]);return t.macros.endGroup(),{tokens:m.reverse(),numArgs:0}};A=aI(!1),rU["\\bra@ket"]=A,T=aI(!0),rU["\\bra@set"]=T,rU["\\Braket"]="\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}",rU["\\Set"]="\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}",rU["\\set"]="\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}",rU["\\angln"]="{\\angl n}",rU["\\blue"]="\\textcolor{##6495ed}{#1}",rU["\\orange"]="\\textcolor{##ffa500}{#1}",rU["\\pink"]="\\textcolor{##ff00af}{#1}",rU["\\red"]="\\textcolor{##df0030}{#1}",rU["\\green"]="\\textcolor{##28ae7b}{#1}",rU["\\gray"]="\\textcolor{gray}{#1}",rU["\\purple"]="\\textcolor{##9d38bd}{#1}",rU["\\blueA"]="\\textcolor{##ccfaff}{#1}",rU["\\blueB"]="\\textcolor{##80f6ff}{#1}",rU["\\blueC"]="\\textcolor{##63d9ea}{#1}",rU["\\blueD"]="\\textcolor{##11accd}{#1}",rU["\\blueE"]="\\textcolor{##0c7f99}{#1}",rU["\\tealA"]="\\textcolor{##94fff5}{#1}",rU["\\tealB"]="\\textcolor{##26edd5}{#1}",rU["\\tealC"]="\\textcolor{##01d1c1}{#1}",rU["\\tealD"]="\\textcolor{##01a995}{#1}",rU["\\tealE"]="\\textcolor{##208170}{#1}",rU["\\greenA"]="\\textcolor{##b6ffb0}{#1}",rU["\\greenB"]="\\textcolor{##8af281}{#1}",rU["\\greenC"]="\\textcolor{##74cf70}{#1}",rU["\\greenD"]="\\textcolor{##1fab54}{#1}",rU["\\greenE"]="\\textcolor{##0d923f}{#1}",rU["\\goldA"]="\\textcolor{##ffd0a9}{#1}",rU["\\goldB"]="\\textcolor{##ffbb71}{#1}",rU["\\goldC"]="\\textcolor{##ff9c39}{#1}",rU["\\goldD"]="\\textcolor{##e07d10}{#1}",rU["\\goldE"]="\\textcolor{##a75a05}{#1}",rU["\\redA"]="\\textcolor{##fca9a9}{#1}",rU["\\redB"]="\\textcolor{##ff8482}{#1}",rU["\\redC"]="\\textcolor{##f9685d}{#1}",rU["\\redD"]="\\textcolor{##e84d39}{#1}",rU["\\redE"]="\\textcolor{##bc2612}{#1}",rU["\\maroonA"]="\\textcolor{##ffbde0}{#1}",rU["\\maroonB"]="\\textcolor{##ff92c6}{#1}",rU["\\maroonC"]="\\textcolor{##ed5fa6}{#1}",rU["\\maroonD"]="\\textcolor{##ca337c}{#1}",rU["\\maroonE"]="\\textcolor{##9e034e}{#1}",rU["\\purpleA"]="\\textcolor{##ddd7ff}{#1}",rU["\\purpleB"]="\\textcolor{##c6b9fc}{#1}",rU["\\purpleC"]="\\textcolor{##aa87ff}{#1}",rU["\\purpleD"]="\\textcolor{##7854ab}{#1}",rU["\\purpleE"]="\\textcolor{##543b78}{#1}",rU["\\mintA"]="\\textcolor{##f5f9e8}{#1}",rU["\\mintB"]="\\textcolor{##edf2df}{#1}",rU["\\mintC"]="\\textcolor{##e0e5cc}{#1}",rU["\\grayA"]="\\textcolor{##f6f7f7}{#1}",rU["\\grayB"]="\\textcolor{##f0f1f2}{#1}",rU["\\grayC"]="\\textcolor{##e3e5e6}{#1}",rU["\\grayD"]="\\textcolor{##d6d8da}{#1}",rU["\\grayE"]="\\textcolor{##babec2}{#1}",rU["\\grayF"]="\\textcolor{##888d93}{#1}",rU["\\grayG"]="\\textcolor{##626569}{#1}",rU["\\grayH"]="\\textcolor{##3b3e40}{#1}",rU["\\grayI"]="\\textcolor{##21242c}{#1}",rU["\\kaBlue"]="\\textcolor{##314453}{#1}",rU["\\kaGreen"]="\\textcolor{##71B307}{#1}";var aH={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class aR{constructor(e,t,r){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=t,this.expansionCount=0,this.feed(e),this.macros=new aA(rU,t.macros),this.mode=r,this.stack=[]}feed(e){this.lexer=new az(e,this.settings)}switchMode(e){this.mode=e}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return 0===this.stack.length&&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 t,r,a;if(e){if(this.consumeSpaces(),"["!==this.future().text)return null;t=this.popToken(),{tokens:a,end:r}=this.consumeArg(["]"])}else({tokens:a,start:t,end:r}=this.consumeArg());return this.pushToken(new n("EOF",r.loc)),this.pushTokens(a),t.range(r,"")}consumeSpaces(){for(;;)if(" "===this.future().text)this.stack.pop();else break}consumeArg(e){var t,r=[],a=e&&e.length>0;!a&&this.consumeSpaces();var n=this.future(),s=0,o=0;do{if(t=this.popToken(),r.push(t),"{"===t.text)++s;else if("}"===t.text){if(-1==--s)throw new i("Extra }",t)}else if("EOF"===t.text)throw new i("Unexpected end of input in a macro argument, expected '"+(e&&a?e[o]:"}")+"'",t);if(e&&a){if((0===s||1===s&&"{"===e[o])&&t.text===e[o]){if(++o===e.length){r.splice(-o,o);break}}else o=0}}while(0!==s||a);return"{"===n.text&&"}"===r[r.length-1].text&&(r.pop(),r.shift()),r.reverse(),{tokens:r,start:n,end:t}}consumeArgs(e,t){if(t){if(t.length!==e+1)throw new i("The length of delimiters doesn't match the number of args!");for(var r=t[0],a=0;a<r.length;a++){var n=this.popToken();if(r[a]!==n.text)throw new i("Use of the macro doesn't match its definition",n)}}for(var s=[],o=0;o<e;o++)s.push(this.consumeArg(t&&t[o+1]).tokens);return s}countExpansion(e){if(this.expansionCount+=e,this.expansionCount>this.settings.maxExpand)throw new i("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(e){var t=this.popToken(),r=t.text,a=t.noexpand?null:this._getExpansion(r);if(null==a||e&&a.unexpandable){if(e&&null==a&&"\\"===r[0]&&!this.isDefined(r))throw new i("Undefined control sequence: "+r);return this.pushToken(t),!1}this.countExpansion(1);var n=a.tokens,s=this.consumeArgs(a.numArgs,a.delimiters);if(a.numArgs){n=n.slice();for(var o=n.length-1;o>=0;--o){var l=n[o];if("#"===l.text){if(0===o)throw new i("Incomplete placeholder at end of macro body",l);if("#"===(l=n[--o]).text)n.splice(o+1,1);else if(/^[1-9]$/.test(l.text))n.splice(o,2,...s[+l.text-1]);else throw new i("Not a valid argument number",l)}}}return this.pushTokens(n),n.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(!1===this.expandOnce()){var e=this.stack.pop();return e.treatAsRelax&&(e.text="\\relax"),e}throw Error()}expandMacro(e){return this.macros.has(e)?this.expandTokens([new n(e)]):void 0}expandTokens(e){var t=[],r=this.stack.length;for(this.pushTokens(e);this.stack.length>r;)if(!1===this.expandOnce(!0)){var a=this.stack.pop();a.treatAsRelax&&(a.noexpand=!1,a.treatAsRelax=!1),t.push(a)}return this.countExpansion(t.length),t}expandMacroAsText(e){var t=this.expandMacro(e);return t?t.map(e=>e.text).join(""):t}_getExpansion(e){var t=this.macros.get(e);if(null==t)return t;if(1===e.length){var r=this.lexer.catcodes[e];if(null!=r&&13!==r)return}var a="function"==typeof t?t(this):t;if("string"==typeof a){var n=0;if(-1!==a.indexOf("#")){for(var i=a.replace(/##/g,"");-1!==i.indexOf("#"+(n+1));)++n}for(var s=new az(a,this.settings),o=[],l=s.lex();"EOF"!==l.text;)o.push(l),l=s.lex();return o.reverse(),{tokens:o,numArgs:n}}return a}isDefined(e){return this.macros.has(e)||tf.hasOwnProperty(e)||eB.math.hasOwnProperty(e)||eB.text.hasOwnProperty(e)||aH.hasOwnProperty(e)}isExpandable(e){var t=this.macros.get(e);return null!=t?"string"==typeof t||"function"==typeof t||!t.unexpandable:tf.hasOwnProperty(e)&&!tf[e].primitive}}var aO=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,aE=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","\xb9":"1","\xb2":"2","\xb3":"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",ᵝ:"β",ᵞ:"γ",ᵟ:"δ",ᵠ:"ϕ",ᵡ:"χ",ᶿ:"θ"}),aL={"́":{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"}},aD={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};class aV{constructor(e,t){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 aR(e,t,this.mode),this.settings=t,this.leftrightDepth=0}expect(e,t){if(void 0===t&&(t=!0),this.fetch().text!==e)throw new i("Expected '"+e+"', got '"+this.fetch().text+"'",this.fetch());t&&this.consume()}consume(){this.nextToken=null}fetch(){return null==this.nextToken&&(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 t=this.nextToken;this.consume(),this.gullet.pushToken(new n("}")),this.gullet.pushTokens(e);var r=this.parseExpression(!1);return this.expect("}"),this.nextToken=t,r}parseExpression(e,t){for(var r=[];;){"math"===this.mode&&this.consumeSpaces();var a=this.fetch();if(-1!==aV.endOfExpression.indexOf(a.text)||t&&a.text===t||e&&tf[a.text]&&tf[a.text].infix)break;var n=this.parseAtom(t);if(n){if("internal"===n.type)continue}else break;r.push(n)}return"text"===this.mode&&this.formLigatures(r),this.handleInfixNodes(r)}handleInfixNodes(e){for(var t=-1,r=0;r<e.length;r++)if("infix"===e[r].type){if(-1!==t)throw new i("only one infix operator per group",e[r].token);t=r,a=e[r].replaceWith}if(-1===t||!a)return e;var a,n,s,o,l=e.slice(0,t),h=e.slice(t+1);return n=1===l.length&&"ordgroup"===l[0].type?l[0]:{type:"ordgroup",mode:this.mode,body:l},s=1===h.length&&"ordgroup"===h[0].type?h[0]:{type:"ordgroup",mode:this.mode,body:h},[o="\\\\abovefrac"===a?this.callFunction(a,[n,e[t],s],[]):this.callFunction(a,[n,s],[])]}handleSupSubscript(e){var t=this.fetch(),r=t.text;this.consume(),this.consumeSpaces();var a=this.parseGroup(e);if(!a)throw new i("Expected group after '"+r+"'",t);return a}formatUnsupportedCmd(e){for(var t=[],r=0;r<e.length;r++)t.push({type:"textord",mode:"text",text:e[r]});var a={type:"text",mode:this.mode,body:t};return{type:"color",mode:this.mode,color:this.settings.errorColor,body:[a]}}parseAtom(e){var t,r,a=this.parseGroup("atom",e);if("text"===this.mode)return a;for(;;){this.consumeSpaces();var s=this.fetch();if("\\limits"===s.text||"\\nolimits"===s.text){if(a&&"op"===a.type){var o="\\limits"===s.text;a.limits=o,a.alwaysHandleSupSub=!0}else if(a&&"operatorname"===a.type)a.alwaysHandleSupSub&&(a.limits="\\limits"===s.text);else throw new i("Limit controls must follow a math operator",s);this.consume()}else if("^"===s.text){if(t)throw new i("Double superscript",s);t=this.handleSupSubscript("superscript")}else if("_"===s.text){if(r)throw new i("Double subscript",s);r=this.handleSupSubscript("subscript")}else if("'"===s.text){if(t)throw new i("Double superscript",s);var l={type:"textord",mode:this.mode,text:"\\prime"},h=[l];for(this.consume();"'"===this.fetch().text;)h.push(l),this.consume();"^"===this.fetch().text&&h.push(this.handleSupSubscript("superscript")),t={type:"ordgroup",mode:this.mode,body:h}}else if(aE[s.text]){var m=aO.test(s.text),c=[];for(c.push(new n(aE[s.text])),this.consume();;){var p=this.fetch().text;if(!aE[p]||aO.test(p)!==m)break;c.unshift(new n(aE[p])),this.consume()}var u=this.subparse(c);m?r={type:"ordgroup",mode:"math",body:u}:t={type:"ordgroup",mode:"math",body:u}}else break}return t||r?{type:"supsub",mode:this.mode,base:a,sup:t,sub:r}:a}parseFunction(e,t){var r=this.fetch(),a=r.text,n=tf[a];if(!n)return null;if(this.consume(),t&&"atom"!==t&&!n.allowedInArgument)throw new i("Got function '"+a+"' with no arguments"+(t?" as "+t:""),r);if("text"!==this.mode||n.allowedInText){if("math"===this.mode&&!1===n.allowedInMath)throw new i("Can't use function '"+a+"' in math mode",r)}else throw new i("Can't use function '"+a+"' in text mode",r);var{args:s,optArgs:o}=this.parseArguments(a,n);return this.callFunction(a,s,o,r,e)}callFunction(e,t,r,a,n){var s=tf[e];if(s&&s.handler)return s.handler({funcName:e,parser:this,token:a,breakOnTokenText:n},t,r);throw new i("No function handler for "+e)}parseArguments(e,t){var r=t.numArgs+t.numOptionalArgs;if(0===r)return{args:[],optArgs:[]};for(var a=[],n=[],s=0;s<r;s++){var o=t.argTypes&&t.argTypes[s],l=s<t.numOptionalArgs;(t.primitive&&null==o||"sqrt"===t.type&&1===s&&null==n[0])&&(o="primitive");var h=this.parseGroupOfType("argument to '"+e+"'",o,l);if(l)n.push(h);else if(null!=h)a.push(h);else throw new i("Null argument, please report this as a bug")}return{args:a,optArgs:n}}parseGroupOfType(e,t,r){switch(t){case"color":return this.parseColorGroup(r);case"size":return this.parseSizeGroup(r);case"url":return this.parseUrlGroup(r);case"math":case"text":return this.parseArgumentGroup(r,t);case"hbox":var a=this.parseArgumentGroup(r,"text");return null!=a?{type:"styling",mode:a.mode,body:[a],style:"text"}:null;case"raw":var n=this.parseStringGroup("raw",r);return null!=n?{type:"raw",mode:"text",string:n.text}:null;case"primitive":if(r)throw new i("A primitive argument cannot be optional");var s=this.parseGroup(e);if(null==s)throw new i("Expected group as "+e,this.fetch());return s;case"original":case null:case void 0:return this.parseArgumentGroup(r);default:throw new i("Unknown group type as "+e,this.fetch())}}consumeSpaces(){for(;" "===this.fetch().text;)this.consume()}parseStringGroup(e,t){var r,a=this.gullet.scanArgument(t);if(null==a)return null;for(var n="";"EOF"!==(r=this.fetch()).text;)n+=r.text,this.consume();return this.consume(),a.text=n,a}parseRegexGroup(e,t){for(var r,a=this.fetch(),n=a,s="";"EOF"!==(r=this.fetch()).text&&e.test(s+r.text);)s+=(n=r).text,this.consume();if(""===s)throw new i("Invalid "+t+": '"+a.text+"'",a);return a.range(n,s)}parseColorGroup(e){var t=this.parseStringGroup("color",e);if(null==t)return null;var r=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(t.text);if(!r)throw new i("Invalid color: '"+t.text+"'",t);var a=r[0];return/^[0-9a-f]{6}$/i.test(a)&&(a="#"+a),{type:"color-token",mode:this.mode,color:a}}parseSizeGroup(e){var t,r=!1;if(this.gullet.consumeSpaces(),!(t=e||"{"===this.gullet.future().text?this.parseStringGroup("size",e):this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size")))return null;!e&&0===t.text.length&&(t.text="0pt",r=!0);var a=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t.text);if(!a)throw new i("Invalid size: '"+t.text+"'",t);var n={number:+(a[1]+a[2]),unit:a[3]};if(!em(n))throw new i("Invalid unit: '"+n.unit+"'",t);return{type:"size",mode:this.mode,value:n,isBlank:r}}parseUrlGroup(e){this.gullet.lexer.setCatcode("%",13),this.gullet.lexer.setCatcode("~",12);var t=this.parseStringGroup("url",e);if(this.gullet.lexer.setCatcode("%",14),this.gullet.lexer.setCatcode("~",13),null==t)return null;var r=t.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:r}}parseArgumentGroup(e,t){var r=this.gullet.scanArgument(e);if(null==r)return null;var a=this.mode;t&&this.switchMode(t),this.gullet.beginGroup();var n=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();var i={type:"ordgroup",mode:this.mode,loc:r.loc,body:n};return t&&this.switchMode(a),i}parseGroup(e,t){var r,n=this.fetch(),s=n.text;if("{"===s||"\\begingroup"===s){this.consume();var o="{"===s?"}":"\\endgroup";this.gullet.beginGroup();var l=this.parseExpression(!1,o),h=this.fetch();this.expect(o),this.gullet.endGroup(),r={type:"ordgroup",mode:this.mode,loc:a.range(n,h),body:l,semisimple:"\\begingroup"===s||void 0}}else if(null==(r=this.parseFunction(t,e)||this.parseSymbol())&&"\\"===s[0]&&!aH.hasOwnProperty(s)){if(this.settings.throwOnError)throw new i("Undefined control sequence: "+s,n);r=this.formatUnsupportedCmd(s),this.consume()}return r}formLigatures(e){for(var t=e.length-1,r=0;r<t;++r){var n=e[r],i=n.text;"-"===i&&"-"===e[r+1].text&&(r+1<t&&"-"===e[r+2].text?(e.splice(r,3,{type:"textord",mode:"text",loc:a.range(n,e[r+2]),text:"---"}),t-=2):(e.splice(r,2,{type:"textord",mode:"text",loc:a.range(n,e[r+1]),text:"--"}),t-=1)),("'"===i||"`"===i)&&e[r+1].text===i&&(e.splice(r,2,{type:"textord",mode:"text",loc:a.range(n,e[r+1]),text:i+i}),t-=1)}}parseSymbol(){var e=this.fetch(),t=e.text;if(/^\\verb[^a-zA-Z]/.test(t)){this.consume();var r=t.slice(5),n="*"===r.charAt(0);if(n&&(r=r.slice(1)),r.length<2||r.charAt(0)!==r.slice(-1))throw new i("\\verb assertion failed --\n please report what input caused this bug");return{type:"verb",mode:"text",body:r=r.slice(1,-1),star:n}}aD.hasOwnProperty(t[0])&&!eB[this.mode][t[0]]&&(this.settings.strict&&"math"===this.mode&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+t[0]+'" used in math mode',e),t=aD[t[0]]+t.slice(1));var s=aS.exec(t);if(s&&("i"===(t=t.substring(0,s.index))?t="ı":"j"===t&&(t="ȷ")),eB[this.mode][t]){this.settings.strict&&"math"===this.mode&&e5.indexOf(t)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+t[0]+'" used in math mode',e);var o,l,h=eB[this.mode][t].group,m=a.range(e);o=l=eA.hasOwnProperty(h)?{type:"atom",mode:this.mode,family:h,loc:m,text:t}:{type:h,mode:this.mode,loc:m,text:t}}else{if(!(t.charCodeAt(0)>=128))return null;this.settings.strict&&(_(t.charCodeAt(0))?"math"===this.mode&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+t[0]+'" used in math mode',e):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+t[0]+'"'+(" ("+t.charCodeAt(0))+")",e)),o={type:"textord",mode:"text",loc:a.range(e),text:t}}if(this.consume(),s)for(var c=0;c<s[0].length;c++){var p=s[0][c];if(!aL[p])throw new i("Unknown accent ' "+p+"'",e);var u=aL[p][this.mode]||aL[p].text;if(!u)throw new i("Accent "+p+" unsupported in "+this.mode+" mode",e);o={type:"accent",mode:this.mode,loc:a.range(e),label:u,isStretchy:!1,isShifty:!0,base:o}}return o}}aV.endOfExpression=["}","\\endgroup","\\end","\\right","&"];var aP=function(e,t){if(!("string"==typeof e||e instanceof String))throw TypeError("KaTeX can only parse string typed expression");var r=new aV(e,t);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(!t.displayMode)throw new i("\\tag works only in display equations");a=[{type:"tag",mode:"text",body:a,tag:r.subparse([new n("\\df@tag")])}]}return a},aF=function(e,t,r){t.textContent="";var a=aU(e,r).toNode();t.appendChild(a)};"undefined"!=typeof document&&"CSS1Compat"!==document.compatMode&&("undefined"!=typeof console&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),aF=function(){throw new i("KaTeX doesn't work in quirks mode.")});var aG=function(e,t,r){if(r.throwOnError||!(e instanceof i))throw e;var a=tm.makeSpan(["katex-error"],[new ew(t)]);return a.setAttribute("title",e.toString()),a.setAttribute("style","color:"+r.errorColor),a},aU=function(e,t){var r=new O(t);try{var a=aP(e,r);return tZ(a,e,r)}catch(t){return aG(t,e,r)}},aY={version:"0.16.10",render:aF,renderToString:function(e,t){return aU(e,t).toMarkup()},ParseError:i,SETTINGS_SCHEMA:R,__parse:function(e,t){return aP(e,new O(t))},__renderToDomTree:aU,__renderToHTMLTree:function(e,t){var r=new O(t);try{var a=aP(e,r);return tK(a,e,r)}catch(t){return aG(t,e,r)}},__setFontMetrics:function(e,t){Q[e]=t},__defineSymbol:eC,__defineFunction:ty,__defineMacro:rY,__domTree:{Span:ev,Anchor:eb,SymbolNode:ew,SvgNode:ek,PathNode:eS,LineNode:eM}}}}]);