mirror of
https://github.com/bspeice/speice.io
synced 2024-12-22 16:48:10 -05:00
1 line
268 KiB
JavaScript
1 line
268 KiB
JavaScript
"use strict";(self.webpackChunkspeice_io=self.webpackChunkspeice_io||[]).push([["5249"],{22237:function(e,t,r){r.d(t,{Z:()=>aj});var a,n,i,s,o,l,h,m,c,p,u,d,g,f,v,b,y,x,w,k,S,M,z=r("67294");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 T{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 T(t,A.range(this,e))}}class B{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,i,s,o,l=a.lexer.input;n=a.start,i=a.end,n===l.length?r+=" at end of input: ":r+=" at position "+(n+1)+": ";var h=l.slice(n,i).replace(/[^]/g,"$&\u0332");s=n>15?"\u2026"+l.slice(n-15,n):l.slice(0,n),r+=s+h+(o=i+15<l.length?l.slice(i,i+15)+"\u2026":l.slice(i))}var m=Error(r);return m.name="ParseError",m.__proto__=B.prototype,m.position=n,null!=n&&null!=i&&(m.length=i-n),m.rawMessage=e,m}}B.prototype.__proto__=Error.prototype;var C=/([A-Z])/g,q={"&":"&",">":">","<":"<",'"':""","'":"'"},N=/[&><"']/g,I=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},H=function(e){if(!e)throw Error("Expected non-null, but got "+String(e));return e},R={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(N,e=>q[e])},hyphenate:function(e){return e.replace(C,"-$1").toLowerCase()},getBaseElem:I,isCharacterBox:function(e){var t=I(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"}},O={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 E{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||{},O)if(O.hasOwnProperty(t)){var r=O[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 B("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=R.protocolFromUrl(e.url);if(null==t)return!1;e.protocol=t}return!!("function"==typeof this.trust?this.trust(e):this.trust)}}class L{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 D[V[this.id]]}sub(){return D[P[this.id]]}fracNum(){return D[F[this.id]]}fracDen(){return D[G[this.id]]}cramp(){return D[U[this.id]]}text(){return D[Y[this.id]]}isTight(){return this.size>=2}}var D=[new L(0,0,!1),new L(1,0,!0),new L(2,1,!1),new L(3,1,!0),new L(4,2,!1),new L(5,2,!0),new L(6,3,!1),new L(7,3,!0)],V=[4,5,4,5,6,7,6,7],P=[5,5,5,5,7,7,7,7],F=[2,3,4,5,6,7,6,7],G=[3,3,5,5,7,7,7,7],U=[1,1,3,3,5,5,7,7],Y=[0,1,2,3,2,3,2,3],X={DISPLAY:D[0],TEXT:D[2],SCRIPT:D[4],SCRIPTSCRIPT:D[6]},W=[{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]]}],j=[];function $(e){for(var t=0;t<j.length;t+=2)if(e>=j[t]&&e<=j[t+1])return!0;return!1}W.forEach(e=>e.blocks.forEach(e=>j.push(...e)));var _=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},Z=function(e,t){switch(e){case"\u239C":return"M291 0 H417 V"+t+" H291z M291 0 H417 V"+t+" H291z";case"\u2223":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145z";case"\u2225":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"\u239F":return"M457 0 H583 V"+t+" H457z M457 0 H583 V"+t+" H457z";case"\u23A2":return"M319 0 H403 V"+t+" H319z M319 0 H403 V"+t+" H319z";case"\u23A5":return"M263 0 H347 V"+t+" H263z M263 0 H347 V"+t+" H263z";case"\u23AA":return"M384 0 H504 V"+t+" H384z M384 0 H504 V"+t+" H384z";case"\u23D0":return"M312 0 H355 V"+t+" H312z M312 0 H355 V"+t+" H312z";case"\u2016":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""}},K={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"},J=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 Q{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 R.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 ee={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},et={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]},er={"\xc5":"A","\xd0":"D","\xde":"o","\xe5":"a","\xf0":"d","\xfe":"o",\u0410:"A",\u0411:"B",\u0412:"B",\u0413:"F",\u0414:"A",\u0415:"E",\u0416:"K",\u0417:"3",\u0418:"N",\u0419:"N",\u041A:"K",\u041B:"N",\u041C:"M",\u041D:"H",\u041E:"O",\u041F:"N",\u0420:"P",\u0421:"C",\u0422:"T",\u0423:"y",\u0424:"O",\u0425:"X",\u0426:"U",\u0427:"h",\u0428:"W",\u0429:"W",\u042A:"B",\u042B:"X",\u042C:"B",\u042D:"3",\u042E:"X",\u042F:"R",\u0430:"a",\u0431:"b",\u0432:"a",\u0433:"r",\u0434:"y",\u0435:"e",\u0436:"m",\u0437:"e",\u0438:"n",\u0439:"n",\u043A:"n",\u043B:"n",\u043C:"m",\u043D:"n",\u043E:"o",\u043F:"n",\u0440:"p",\u0441:"c",\u0442:"o",\u0443:"y",\u0444:"b",\u0445:"x",\u0446:"n",\u0447:"n",\u0448:"w",\u0449:"w",\u044A:"a",\u044B:"m",\u044C:"a",\u044D:"e",\u044E:"m",\u044F:"r"};function ea(e,t,r){if(!ee[t])throw Error("Font metrics not found for font: "+t+".");var a=e.charCodeAt(0),n=ee[t][a];if(!n&&e[0]in er&&(a=er[e[0]].charCodeAt(0),n=ee[t][a]),!n&&"text"===r&&$(a)&&(n=ee[t][77]),n)return{depth:n[0],height:n[1],italic:n[2],skew:n[3],width:n[4]}}var en={},ei=[[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]],es=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],eo=function(e,t){return t.size<2?e:ei[e-1][t.size-1]};class el{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||el.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=es[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 el(t)}havingStyle(e){return this.style===e?this:this.extend({style:e,size:eo(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:es[e-1]})}havingBaseStyle(e){e=e||this.style.text();var t=eo(el.BASESIZE,e);return this.size===t&&this.textSize===el.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!==el.BASESIZE?["sizing","reset-size"+this.size,"size"+el.BASESIZE]:[]}fontMetrics(){return!this._fontMetrics&&(this._fontMetrics=function(e){var t;if(!en[t=e>=5?0:e>=3?1:2]){var r=en[t]={cssEmPerMu:et.quad[t]/18};for(var a in et)et.hasOwnProperty(a)&&(r[a]=et[a][t])}return en[t]}(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}el.BASESIZE=6;var eh={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},em={ex:!0,em:!0,mu:!0},ec=function(e){return"string"!=typeof e&&(e=e.unit),e in eh||e in em||"ex"===e},ep=function(e,t){var r,a;if(e.unit in eh)r=eh[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 B("Invalid unit: '"+e.unit+"'");a!==t&&(r*=a.sizeMultiplier/t.sizeMultiplier)}return Math.min(e.number*r,t.maxSize)},eu=function(e){return+e.toFixed(4)+"em"},ed=function(e){return e.filter(e=>e).join(" ")},eg=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)}},ef=function(e){var t=document.createElement(e);for(var r in t.className=ed(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},ev=function(e){var t="<"+e;this.classes.length&&(t+=' class="'+R.escape(ed(this.classes))+'"');var r="";for(var a in this.style)this.style.hasOwnProperty(a)&&(r+=R.hyphenate(a)+":"+this.style[a]+";");for(var n in r&&(t+=' style="'+R.escape(r)+'"'),this.attributes)this.attributes.hasOwnProperty(n)&&(t+=" "+n+'="'+R.escape(this.attributes[n])+'"');t+=">";for(var i=0;i<this.children.length;i++)t+=this.children[i].toMarkup();return t+="</"+e+">"};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.width=void 0,this.maxFontSize=void 0,this.style=void 0,eg.call(this,e,r,a),this.children=t||[]}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return R.contains(this.classes,e)}toNode(){return ef.call(this,"span")}toMarkup(){return ev.call(this,"span")}}class ey{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,eg.call(this,t,a),this.children=r||[],this.setAttribute("href",e)}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return R.contains(this.classes,e)}toNode(){return ef.call(this,"a")}toMarkup(){return ev.call(this,"a")}}class ex{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 R.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="'+R.escape(this.src)+'"'+(' alt="'+R.escape(this.alt))+'"',t="";for(var r in this.style)this.style.hasOwnProperty(r)&&(t+=R.hyphenate(r)+":"+this.style[r]+";");return t&&(e+=' style="'+R.escape(t)+'"'),e+="'/>"}}var ew={"\xee":"\u0131\u0302","\xef":"\u0131\u0308","\xed":"\u0131\u0301","\xec":"\u0131\u0300"};class ek{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<W.length;t++){for(var r=W[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=ew[this.text])}hasClass(e){return R.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=eu(this.italic)),this.classes.length>0&&((t=t||document.createElement("span")).className=ed(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="',t+=R.escape(ed(this.classes)),t+='"');var r="";for(var a in this.italic>0&&(r+="margin-right:"+this.italic+"em;"),this.style)this.style.hasOwnProperty(a)&&(r+=R.hyphenate(a)+":"+this.style[a]+";");r&&(e=!0,t+=' style="'+R.escape(r)+'"');var n=R.escape(this.text);return e?(t+=">",t+=n,t+="</span>"):n}}class eS{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+'="'+R.escape(this.attributes[t])+'"');e+=">";for(var r=0;r<this.children.length;r++)e+=this.children[r].toMarkup();return e+="</svg>"}}class eM{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",K[this.pathName]),e}toMarkup(){return this.alternate?'<path d="'+R.escape(this.alternate)+'"/>':'<path d="'+R.escape(K[this.pathName])+'"/>'}}class ez{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+'="'+R.escape(this.attributes[t])+'"');return e+="/>"}}function eA(e){if(e instanceof ek)return e;throw Error("Expected symbolNode but got "+String(e)+".")}var eT={bin:1,close:1,inner:1,open:1,punct:1,rel:1},eB={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},eC={math:{},text:{}};function eq(e,t,r,a,n,i){eC[e][n]={font:t,group:r,replace:a},i&&a&&(eC[e][a]=eC[e][n])}var eN="math",eI="text",eH="main",eR="accent-token",eO="close",eE="inner",eL="mathord",eD="op-token",eV="open",eP="punct",eF="spacing",eG="textord";eq(eN,eH,"rel","\u2261","\\equiv",!0),eq(eN,eH,"rel","\u227A","\\prec",!0),eq(eN,eH,"rel","\u227B","\\succ",!0),eq(eN,eH,"rel","\u223C","\\sim",!0),eq(eN,eH,"rel","\u22A5","\\perp"),eq(eN,eH,"rel","\u2AAF","\\preceq",!0),eq(eN,eH,"rel","\u2AB0","\\succeq",!0),eq(eN,eH,"rel","\u2243","\\simeq",!0),eq(eN,eH,"rel","\u2223","\\mid",!0),eq(eN,eH,"rel","\u226A","\\ll",!0),eq(eN,eH,"rel","\u226B","\\gg",!0),eq(eN,eH,"rel","\u224D","\\asymp",!0),eq(eN,eH,"rel","\u2225","\\parallel"),eq(eN,eH,"rel","\u22C8","\\bowtie",!0),eq(eN,eH,"rel","\u2323","\\smile",!0),eq(eN,eH,"rel","\u2291","\\sqsubseteq",!0),eq(eN,eH,"rel","\u2292","\\sqsupseteq",!0),eq(eN,eH,"rel","\u2250","\\doteq",!0),eq(eN,eH,"rel","\u2322","\\frown",!0),eq(eN,eH,"rel","\u220B","\\ni",!0),eq(eN,eH,"rel","\u221D","\\propto",!0),eq(eN,eH,"rel","\u22A2","\\vdash",!0),eq(eN,eH,"rel","\u22A3","\\dashv",!0),eq(eN,eH,"rel","\u220B","\\owns"),eq(eN,eH,eP,".","\\ldotp"),eq(eN,eH,eP,"\u22C5","\\cdotp"),eq(eN,eH,eG,"#","\\#"),eq(eI,eH,eG,"#","\\#"),eq(eN,eH,eG,"&","\\&"),eq(eI,eH,eG,"&","\\&"),eq(eN,eH,eG,"\u2135","\\aleph",!0),eq(eN,eH,eG,"\u2200","\\forall",!0),eq(eN,eH,eG,"\u210F","\\hbar",!0),eq(eN,eH,eG,"\u2203","\\exists",!0),eq(eN,eH,eG,"\u2207","\\nabla",!0),eq(eN,eH,eG,"\u266D","\\flat",!0),eq(eN,eH,eG,"\u2113","\\ell",!0),eq(eN,eH,eG,"\u266E","\\natural",!0),eq(eN,eH,eG,"\u2663","\\clubsuit",!0),eq(eN,eH,eG,"\u2118","\\wp",!0),eq(eN,eH,eG,"\u266F","\\sharp",!0),eq(eN,eH,eG,"\u2662","\\diamondsuit",!0),eq(eN,eH,eG,"\u211C","\\Re",!0),eq(eN,eH,eG,"\u2661","\\heartsuit",!0),eq(eN,eH,eG,"\u2111","\\Im",!0),eq(eN,eH,eG,"\u2660","\\spadesuit",!0),eq(eN,eH,eG,"\xa7","\\S",!0),eq(eI,eH,eG,"\xa7","\\S"),eq(eN,eH,eG,"\xb6","\\P",!0),eq(eI,eH,eG,"\xb6","\\P"),eq(eN,eH,eG,"\u2020","\\dag"),eq(eI,eH,eG,"\u2020","\\dag"),eq(eI,eH,eG,"\u2020","\\textdagger"),eq(eN,eH,eG,"\u2021","\\ddag"),eq(eI,eH,eG,"\u2021","\\ddag"),eq(eI,eH,eG,"\u2021","\\textdaggerdbl"),eq(eN,eH,eO,"\u23B1","\\rmoustache",!0),eq(eN,eH,eV,"\u23B0","\\lmoustache",!0),eq(eN,eH,eO,"\u27EF","\\rgroup",!0),eq(eN,eH,eV,"\u27EE","\\lgroup",!0),eq(eN,eH,"bin","\u2213","\\mp",!0),eq(eN,eH,"bin","\u2296","\\ominus",!0),eq(eN,eH,"bin","\u228E","\\uplus",!0),eq(eN,eH,"bin","\u2293","\\sqcap",!0),eq(eN,eH,"bin","\u2217","\\ast"),eq(eN,eH,"bin","\u2294","\\sqcup",!0),eq(eN,eH,"bin","\u25EF","\\bigcirc",!0),eq(eN,eH,"bin","\u2219","\\bullet",!0),eq(eN,eH,"bin","\u2021","\\ddagger"),eq(eN,eH,"bin","\u2240","\\wr",!0),eq(eN,eH,"bin","\u2A3F","\\amalg"),eq(eN,eH,"bin","&","\\And"),eq(eN,eH,"rel","\u27F5","\\longleftarrow",!0),eq(eN,eH,"rel","\u21D0","\\Leftarrow",!0),eq(eN,eH,"rel","\u27F8","\\Longleftarrow",!0),eq(eN,eH,"rel","\u27F6","\\longrightarrow",!0),eq(eN,eH,"rel","\u21D2","\\Rightarrow",!0),eq(eN,eH,"rel","\u27F9","\\Longrightarrow",!0),eq(eN,eH,"rel","\u2194","\\leftrightarrow",!0),eq(eN,eH,"rel","\u27F7","\\longleftrightarrow",!0),eq(eN,eH,"rel","\u21D4","\\Leftrightarrow",!0),eq(eN,eH,"rel","\u27FA","\\Longleftrightarrow",!0),eq(eN,eH,"rel","\u21A6","\\mapsto",!0),eq(eN,eH,"rel","\u27FC","\\longmapsto",!0),eq(eN,eH,"rel","\u2197","\\nearrow",!0),eq(eN,eH,"rel","\u21A9","\\hookleftarrow",!0),eq(eN,eH,"rel","\u21AA","\\hookrightarrow",!0),eq(eN,eH,"rel","\u2198","\\searrow",!0),eq(eN,eH,"rel","\u21BC","\\leftharpoonup",!0),eq(eN,eH,"rel","\u21C0","\\rightharpoonup",!0),eq(eN,eH,"rel","\u2199","\\swarrow",!0),eq(eN,eH,"rel","\u21BD","\\leftharpoondown",!0),eq(eN,eH,"rel","\u21C1","\\rightharpoondown",!0),eq(eN,eH,"rel","\u2196","\\nwarrow",!0),eq(eN,eH,"rel","\u21CC","\\rightleftharpoons",!0),eq(eN,"ams","rel","\u226E","\\nless",!0),eq(eN,"ams","rel","\uE010","\\@nleqslant"),eq(eN,"ams","rel","\uE011","\\@nleqq"),eq(eN,"ams","rel","\u2A87","\\lneq",!0),eq(eN,"ams","rel","\u2268","\\lneqq",!0),eq(eN,"ams","rel","\uE00C","\\@lvertneqq"),eq(eN,"ams","rel","\u22E6","\\lnsim",!0),eq(eN,"ams","rel","\u2A89","\\lnapprox",!0),eq(eN,"ams","rel","\u2280","\\nprec",!0),eq(eN,"ams","rel","\u22E0","\\npreceq",!0),eq(eN,"ams","rel","\u22E8","\\precnsim",!0),eq(eN,"ams","rel","\u2AB9","\\precnapprox",!0),eq(eN,"ams","rel","\u2241","\\nsim",!0),eq(eN,"ams","rel","\uE006","\\@nshortmid"),eq(eN,"ams","rel","\u2224","\\nmid",!0),eq(eN,"ams","rel","\u22AC","\\nvdash",!0),eq(eN,"ams","rel","\u22AD","\\nvDash",!0),eq(eN,"ams","rel","\u22EA","\\ntriangleleft"),eq(eN,"ams","rel","\u22EC","\\ntrianglelefteq",!0),eq(eN,"ams","rel","\u228A","\\subsetneq",!0),eq(eN,"ams","rel","\uE01A","\\@varsubsetneq"),eq(eN,"ams","rel","\u2ACB","\\subsetneqq",!0),eq(eN,"ams","rel","\uE017","\\@varsubsetneqq"),eq(eN,"ams","rel","\u226F","\\ngtr",!0),eq(eN,"ams","rel","\uE00F","\\@ngeqslant"),eq(eN,"ams","rel","\uE00E","\\@ngeqq"),eq(eN,"ams","rel","\u2A88","\\gneq",!0),eq(eN,"ams","rel","\u2269","\\gneqq",!0),eq(eN,"ams","rel","\uE00D","\\@gvertneqq"),eq(eN,"ams","rel","\u22E7","\\gnsim",!0),eq(eN,"ams","rel","\u2A8A","\\gnapprox",!0),eq(eN,"ams","rel","\u2281","\\nsucc",!0),eq(eN,"ams","rel","\u22E1","\\nsucceq",!0),eq(eN,"ams","rel","\u22E9","\\succnsim",!0),eq(eN,"ams","rel","\u2ABA","\\succnapprox",!0),eq(eN,"ams","rel","\u2246","\\ncong",!0),eq(eN,"ams","rel","\uE007","\\@nshortparallel"),eq(eN,"ams","rel","\u2226","\\nparallel",!0),eq(eN,"ams","rel","\u22AF","\\nVDash",!0),eq(eN,"ams","rel","\u22EB","\\ntriangleright"),eq(eN,"ams","rel","\u22ED","\\ntrianglerighteq",!0),eq(eN,"ams","rel","\uE018","\\@nsupseteqq"),eq(eN,"ams","rel","\u228B","\\supsetneq",!0),eq(eN,"ams","rel","\uE01B","\\@varsupsetneq"),eq(eN,"ams","rel","\u2ACC","\\supsetneqq",!0),eq(eN,"ams","rel","\uE019","\\@varsupsetneqq"),eq(eN,"ams","rel","\u22AE","\\nVdash",!0),eq(eN,"ams","rel","\u2AB5","\\precneqq",!0),eq(eN,"ams","rel","\u2AB6","\\succneqq",!0),eq(eN,"ams","rel","\uE016","\\@nsubseteqq"),eq(eN,"ams","bin","\u22B4","\\unlhd"),eq(eN,"ams","bin","\u22B5","\\unrhd"),eq(eN,"ams","rel","\u219A","\\nleftarrow",!0),eq(eN,"ams","rel","\u219B","\\nrightarrow",!0),eq(eN,"ams","rel","\u21CD","\\nLeftarrow",!0),eq(eN,"ams","rel","\u21CF","\\nRightarrow",!0),eq(eN,"ams","rel","\u21AE","\\nleftrightarrow",!0),eq(eN,"ams","rel","\u21CE","\\nLeftrightarrow",!0),eq(eN,"ams","rel","\u25B3","\\vartriangle"),eq(eN,"ams",eG,"\u210F","\\hslash"),eq(eN,"ams",eG,"\u25BD","\\triangledown"),eq(eN,"ams",eG,"\u25CA","\\lozenge"),eq(eN,"ams",eG,"\u24C8","\\circledS"),eq(eN,"ams",eG,"\xae","\\circledR"),eq(eI,"ams",eG,"\xae","\\circledR"),eq(eN,"ams",eG,"\u2221","\\measuredangle",!0),eq(eN,"ams",eG,"\u2204","\\nexists"),eq(eN,"ams",eG,"\u2127","\\mho"),eq(eN,"ams",eG,"\u2132","\\Finv",!0),eq(eN,"ams",eG,"\u2141","\\Game",!0),eq(eN,"ams",eG,"\u2035","\\backprime"),eq(eN,"ams",eG,"\u25B2","\\blacktriangle"),eq(eN,"ams",eG,"\u25BC","\\blacktriangledown"),eq(eN,"ams",eG,"\u25A0","\\blacksquare"),eq(eN,"ams",eG,"\u29EB","\\blacklozenge"),eq(eN,"ams",eG,"\u2605","\\bigstar"),eq(eN,"ams",eG,"\u2222","\\sphericalangle",!0),eq(eN,"ams",eG,"\u2201","\\complement",!0),eq(eN,"ams",eG,"\xf0","\\eth",!0),eq(eI,eH,eG,"\xf0","\xf0"),eq(eN,"ams",eG,"\u2571","\\diagup"),eq(eN,"ams",eG,"\u2572","\\diagdown"),eq(eN,"ams",eG,"\u25A1","\\square"),eq(eN,"ams",eG,"\u25A1","\\Box"),eq(eN,"ams",eG,"\u25CA","\\Diamond"),eq(eN,"ams",eG,"\xa5","\\yen",!0),eq(eI,"ams",eG,"\xa5","\\yen",!0),eq(eN,"ams",eG,"\u2713","\\checkmark",!0),eq(eI,"ams",eG,"\u2713","\\checkmark"),eq(eN,"ams",eG,"\u2136","\\beth",!0),eq(eN,"ams",eG,"\u2138","\\daleth",!0),eq(eN,"ams",eG,"\u2137","\\gimel",!0),eq(eN,"ams",eG,"\u03DD","\\digamma",!0),eq(eN,"ams",eG,"\u03F0","\\varkappa"),eq(eN,"ams",eV,"\u250C","\\@ulcorner",!0),eq(eN,"ams",eO,"\u2510","\\@urcorner",!0),eq(eN,"ams",eV,"\u2514","\\@llcorner",!0),eq(eN,"ams",eO,"\u2518","\\@lrcorner",!0),eq(eN,"ams","rel","\u2266","\\leqq",!0),eq(eN,"ams","rel","\u2A7D","\\leqslant",!0),eq(eN,"ams","rel","\u2A95","\\eqslantless",!0),eq(eN,"ams","rel","\u2272","\\lesssim",!0),eq(eN,"ams","rel","\u2A85","\\lessapprox",!0),eq(eN,"ams","rel","\u224A","\\approxeq",!0),eq(eN,"ams","bin","\u22D6","\\lessdot"),eq(eN,"ams","rel","\u22D8","\\lll",!0),eq(eN,"ams","rel","\u2276","\\lessgtr",!0),eq(eN,"ams","rel","\u22DA","\\lesseqgtr",!0),eq(eN,"ams","rel","\u2A8B","\\lesseqqgtr",!0),eq(eN,"ams","rel","\u2251","\\doteqdot"),eq(eN,"ams","rel","\u2253","\\risingdotseq",!0),eq(eN,"ams","rel","\u2252","\\fallingdotseq",!0),eq(eN,"ams","rel","\u223D","\\backsim",!0),eq(eN,"ams","rel","\u22CD","\\backsimeq",!0),eq(eN,"ams","rel","\u2AC5","\\subseteqq",!0),eq(eN,"ams","rel","\u22D0","\\Subset",!0),eq(eN,"ams","rel","\u228F","\\sqsubset",!0),eq(eN,"ams","rel","\u227C","\\preccurlyeq",!0),eq(eN,"ams","rel","\u22DE","\\curlyeqprec",!0),eq(eN,"ams","rel","\u227E","\\precsim",!0),eq(eN,"ams","rel","\u2AB7","\\precapprox",!0),eq(eN,"ams","rel","\u22B2","\\vartriangleleft"),eq(eN,"ams","rel","\u22B4","\\trianglelefteq"),eq(eN,"ams","rel","\u22A8","\\vDash",!0),eq(eN,"ams","rel","\u22AA","\\Vvdash",!0),eq(eN,"ams","rel","\u2323","\\smallsmile"),eq(eN,"ams","rel","\u2322","\\smallfrown"),eq(eN,"ams","rel","\u224F","\\bumpeq",!0),eq(eN,"ams","rel","\u224E","\\Bumpeq",!0),eq(eN,"ams","rel","\u2267","\\geqq",!0),eq(eN,"ams","rel","\u2A7E","\\geqslant",!0),eq(eN,"ams","rel","\u2A96","\\eqslantgtr",!0),eq(eN,"ams","rel","\u2273","\\gtrsim",!0),eq(eN,"ams","rel","\u2A86","\\gtrapprox",!0),eq(eN,"ams","bin","\u22D7","\\gtrdot"),eq(eN,"ams","rel","\u22D9","\\ggg",!0),eq(eN,"ams","rel","\u2277","\\gtrless",!0),eq(eN,"ams","rel","\u22DB","\\gtreqless",!0),eq(eN,"ams","rel","\u2A8C","\\gtreqqless",!0),eq(eN,"ams","rel","\u2256","\\eqcirc",!0),eq(eN,"ams","rel","\u2257","\\circeq",!0),eq(eN,"ams","rel","\u225C","\\triangleq",!0),eq(eN,"ams","rel","\u223C","\\thicksim"),eq(eN,"ams","rel","\u2248","\\thickapprox"),eq(eN,"ams","rel","\u2AC6","\\supseteqq",!0),eq(eN,"ams","rel","\u22D1","\\Supset",!0),eq(eN,"ams","rel","\u2290","\\sqsupset",!0),eq(eN,"ams","rel","\u227D","\\succcurlyeq",!0),eq(eN,"ams","rel","\u22DF","\\curlyeqsucc",!0),eq(eN,"ams","rel","\u227F","\\succsim",!0),eq(eN,"ams","rel","\u2AB8","\\succapprox",!0),eq(eN,"ams","rel","\u22B3","\\vartriangleright"),eq(eN,"ams","rel","\u22B5","\\trianglerighteq"),eq(eN,"ams","rel","\u22A9","\\Vdash",!0),eq(eN,"ams","rel","\u2223","\\shortmid"),eq(eN,"ams","rel","\u2225","\\shortparallel"),eq(eN,"ams","rel","\u226C","\\between",!0),eq(eN,"ams","rel","\u22D4","\\pitchfork",!0),eq(eN,"ams","rel","\u221D","\\varpropto"),eq(eN,"ams","rel","\u25C0","\\blacktriangleleft"),eq(eN,"ams","rel","\u2234","\\therefore",!0),eq(eN,"ams","rel","\u220D","\\backepsilon"),eq(eN,"ams","rel","\u25B6","\\blacktriangleright"),eq(eN,"ams","rel","\u2235","\\because",!0),eq(eN,"ams","rel","\u22D8","\\llless"),eq(eN,"ams","rel","\u22D9","\\gggtr"),eq(eN,"ams","bin","\u22B2","\\lhd"),eq(eN,"ams","bin","\u22B3","\\rhd"),eq(eN,"ams","rel","\u2242","\\eqsim",!0),eq(eN,eH,"rel","\u22C8","\\Join"),eq(eN,"ams","rel","\u2251","\\Doteq",!0),eq(eN,"ams","bin","\u2214","\\dotplus",!0),eq(eN,"ams","bin","\u2216","\\smallsetminus"),eq(eN,"ams","bin","\u22D2","\\Cap",!0),eq(eN,"ams","bin","\u22D3","\\Cup",!0),eq(eN,"ams","bin","\u2A5E","\\doublebarwedge",!0),eq(eN,"ams","bin","\u229F","\\boxminus",!0),eq(eN,"ams","bin","\u229E","\\boxplus",!0),eq(eN,"ams","bin","\u22C7","\\divideontimes",!0),eq(eN,"ams","bin","\u22C9","\\ltimes",!0),eq(eN,"ams","bin","\u22CA","\\rtimes",!0),eq(eN,"ams","bin","\u22CB","\\leftthreetimes",!0),eq(eN,"ams","bin","\u22CC","\\rightthreetimes",!0),eq(eN,"ams","bin","\u22CF","\\curlywedge",!0),eq(eN,"ams","bin","\u22CE","\\curlyvee",!0),eq(eN,"ams","bin","\u229D","\\circleddash",!0),eq(eN,"ams","bin","\u229B","\\circledast",!0),eq(eN,"ams","bin","\u22C5","\\centerdot"),eq(eN,"ams","bin","\u22BA","\\intercal",!0),eq(eN,"ams","bin","\u22D2","\\doublecap"),eq(eN,"ams","bin","\u22D3","\\doublecup"),eq(eN,"ams","bin","\u22A0","\\boxtimes",!0),eq(eN,"ams","rel","\u21E2","\\dashrightarrow",!0),eq(eN,"ams","rel","\u21E0","\\dashleftarrow",!0),eq(eN,"ams","rel","\u21C7","\\leftleftarrows",!0),eq(eN,"ams","rel","\u21C6","\\leftrightarrows",!0),eq(eN,"ams","rel","\u21DA","\\Lleftarrow",!0),eq(eN,"ams","rel","\u219E","\\twoheadleftarrow",!0),eq(eN,"ams","rel","\u21A2","\\leftarrowtail",!0),eq(eN,"ams","rel","\u21AB","\\looparrowleft",!0),eq(eN,"ams","rel","\u21CB","\\leftrightharpoons",!0),eq(eN,"ams","rel","\u21B6","\\curvearrowleft",!0),eq(eN,"ams","rel","\u21BA","\\circlearrowleft",!0),eq(eN,"ams","rel","\u21B0","\\Lsh",!0),eq(eN,"ams","rel","\u21C8","\\upuparrows",!0),eq(eN,"ams","rel","\u21BF","\\upharpoonleft",!0),eq(eN,"ams","rel","\u21C3","\\downharpoonleft",!0),eq(eN,eH,"rel","\u22B6","\\origof",!0),eq(eN,eH,"rel","\u22B7","\\imageof",!0),eq(eN,"ams","rel","\u22B8","\\multimap",!0),eq(eN,"ams","rel","\u21AD","\\leftrightsquigarrow",!0),eq(eN,"ams","rel","\u21C9","\\rightrightarrows",!0),eq(eN,"ams","rel","\u21C4","\\rightleftarrows",!0),eq(eN,"ams","rel","\u21A0","\\twoheadrightarrow",!0),eq(eN,"ams","rel","\u21A3","\\rightarrowtail",!0),eq(eN,"ams","rel","\u21AC","\\looparrowright",!0),eq(eN,"ams","rel","\u21B7","\\curvearrowright",!0),eq(eN,"ams","rel","\u21BB","\\circlearrowright",!0),eq(eN,"ams","rel","\u21B1","\\Rsh",!0),eq(eN,"ams","rel","\u21CA","\\downdownarrows",!0),eq(eN,"ams","rel","\u21BE","\\upharpoonright",!0),eq(eN,"ams","rel","\u21C2","\\downharpoonright",!0),eq(eN,"ams","rel","\u21DD","\\rightsquigarrow",!0),eq(eN,"ams","rel","\u21DD","\\leadsto"),eq(eN,"ams","rel","\u21DB","\\Rrightarrow",!0),eq(eN,"ams","rel","\u21BE","\\restriction"),eq(eN,eH,eG,"\u2018","`"),eq(eN,eH,eG,"$","\\$"),eq(eI,eH,eG,"$","\\$"),eq(eI,eH,eG,"$","\\textdollar"),eq(eN,eH,eG,"%","\\%"),eq(eI,eH,eG,"%","\\%"),eq(eN,eH,eG,"_","\\_"),eq(eI,eH,eG,"_","\\_"),eq(eI,eH,eG,"_","\\textunderscore"),eq(eN,eH,eG,"\u2220","\\angle",!0),eq(eN,eH,eG,"\u221E","\\infty",!0),eq(eN,eH,eG,"\u2032","\\prime"),eq(eN,eH,eG,"\u25B3","\\triangle"),eq(eN,eH,eG,"\u0393","\\Gamma",!0),eq(eN,eH,eG,"\u0394","\\Delta",!0),eq(eN,eH,eG,"\u0398","\\Theta",!0),eq(eN,eH,eG,"\u039B","\\Lambda",!0),eq(eN,eH,eG,"\u039E","\\Xi",!0),eq(eN,eH,eG,"\u03A0","\\Pi",!0),eq(eN,eH,eG,"\u03A3","\\Sigma",!0),eq(eN,eH,eG,"\u03A5","\\Upsilon",!0),eq(eN,eH,eG,"\u03A6","\\Phi",!0),eq(eN,eH,eG,"\u03A8","\\Psi",!0),eq(eN,eH,eG,"\u03A9","\\Omega",!0),eq(eN,eH,eG,"A","\u0391"),eq(eN,eH,eG,"B","\u0392"),eq(eN,eH,eG,"E","\u0395"),eq(eN,eH,eG,"Z","\u0396"),eq(eN,eH,eG,"H","\u0397"),eq(eN,eH,eG,"I","\u0399"),eq(eN,eH,eG,"K","\u039A"),eq(eN,eH,eG,"M","\u039C"),eq(eN,eH,eG,"N","\u039D"),eq(eN,eH,eG,"O","\u039F"),eq(eN,eH,eG,"P","\u03A1"),eq(eN,eH,eG,"T","\u03A4"),eq(eN,eH,eG,"X","\u03A7"),eq(eN,eH,eG,"\xac","\\neg",!0),eq(eN,eH,eG,"\xac","\\lnot"),eq(eN,eH,eG,"\u22A4","\\top"),eq(eN,eH,eG,"\u22A5","\\bot"),eq(eN,eH,eG,"\u2205","\\emptyset"),eq(eN,"ams",eG,"\u2205","\\varnothing"),eq(eN,eH,eL,"\u03B1","\\alpha",!0),eq(eN,eH,eL,"\u03B2","\\beta",!0),eq(eN,eH,eL,"\u03B3","\\gamma",!0),eq(eN,eH,eL,"\u03B4","\\delta",!0),eq(eN,eH,eL,"\u03F5","\\epsilon",!0),eq(eN,eH,eL,"\u03B6","\\zeta",!0),eq(eN,eH,eL,"\u03B7","\\eta",!0),eq(eN,eH,eL,"\u03B8","\\theta",!0),eq(eN,eH,eL,"\u03B9","\\iota",!0),eq(eN,eH,eL,"\u03BA","\\kappa",!0),eq(eN,eH,eL,"\u03BB","\\lambda",!0),eq(eN,eH,eL,"\u03BC","\\mu",!0),eq(eN,eH,eL,"\u03BD","\\nu",!0),eq(eN,eH,eL,"\u03BE","\\xi",!0),eq(eN,eH,eL,"\u03BF","\\omicron",!0),eq(eN,eH,eL,"\u03C0","\\pi",!0),eq(eN,eH,eL,"\u03C1","\\rho",!0),eq(eN,eH,eL,"\u03C3","\\sigma",!0),eq(eN,eH,eL,"\u03C4","\\tau",!0),eq(eN,eH,eL,"\u03C5","\\upsilon",!0),eq(eN,eH,eL,"\u03D5","\\phi",!0),eq(eN,eH,eL,"\u03C7","\\chi",!0),eq(eN,eH,eL,"\u03C8","\\psi",!0),eq(eN,eH,eL,"\u03C9","\\omega",!0),eq(eN,eH,eL,"\u03B5","\\varepsilon",!0),eq(eN,eH,eL,"\u03D1","\\vartheta",!0),eq(eN,eH,eL,"\u03D6","\\varpi",!0),eq(eN,eH,eL,"\u03F1","\\varrho",!0),eq(eN,eH,eL,"\u03C2","\\varsigma",!0),eq(eN,eH,eL,"\u03C6","\\varphi",!0),eq(eN,eH,"bin","\u2217","*",!0),eq(eN,eH,"bin","+","+"),eq(eN,eH,"bin","\u2212","-",!0),eq(eN,eH,"bin","\u22C5","\\cdot",!0),eq(eN,eH,"bin","\u2218","\\circ",!0),eq(eN,eH,"bin","\xf7","\\div",!0),eq(eN,eH,"bin","\xb1","\\pm",!0),eq(eN,eH,"bin","\xd7","\\times",!0),eq(eN,eH,"bin","\u2229","\\cap",!0),eq(eN,eH,"bin","\u222A","\\cup",!0),eq(eN,eH,"bin","\u2216","\\setminus",!0),eq(eN,eH,"bin","\u2227","\\land"),eq(eN,eH,"bin","\u2228","\\lor"),eq(eN,eH,"bin","\u2227","\\wedge",!0),eq(eN,eH,"bin","\u2228","\\vee",!0),eq(eN,eH,eG,"\u221A","\\surd"),eq(eN,eH,eV,"\u27E8","\\langle",!0),eq(eN,eH,eV,"\u2223","\\lvert"),eq(eN,eH,eV,"\u2225","\\lVert"),eq(eN,eH,eO,"?","?"),eq(eN,eH,eO,"!","!"),eq(eN,eH,eO,"\u27E9","\\rangle",!0),eq(eN,eH,eO,"\u2223","\\rvert"),eq(eN,eH,eO,"\u2225","\\rVert"),eq(eN,eH,"rel","=","="),eq(eN,eH,"rel",":",":"),eq(eN,eH,"rel","\u2248","\\approx",!0),eq(eN,eH,"rel","\u2245","\\cong",!0),eq(eN,eH,"rel","\u2265","\\ge"),eq(eN,eH,"rel","\u2265","\\geq",!0),eq(eN,eH,"rel","\u2190","\\gets"),eq(eN,eH,"rel",">","\\gt",!0),eq(eN,eH,"rel","\u2208","\\in",!0),eq(eN,eH,"rel","\uE020","\\@not"),eq(eN,eH,"rel","\u2282","\\subset",!0),eq(eN,eH,"rel","\u2283","\\supset",!0),eq(eN,eH,"rel","\u2286","\\subseteq",!0),eq(eN,eH,"rel","\u2287","\\supseteq",!0),eq(eN,"ams","rel","\u2288","\\nsubseteq",!0),eq(eN,"ams","rel","\u2289","\\nsupseteq",!0),eq(eN,eH,"rel","\u22A8","\\models"),eq(eN,eH,"rel","\u2190","\\leftarrow",!0),eq(eN,eH,"rel","\u2264","\\le"),eq(eN,eH,"rel","\u2264","\\leq",!0),eq(eN,eH,"rel","<","\\lt",!0),eq(eN,eH,"rel","\u2192","\\rightarrow",!0),eq(eN,eH,"rel","\u2192","\\to"),eq(eN,"ams","rel","\u2271","\\ngeq",!0),eq(eN,"ams","rel","\u2270","\\nleq",!0),eq(eN,eH,eF,"\xa0","\\ "),eq(eN,eH,eF,"\xa0","\\space"),eq(eN,eH,eF,"\xa0","\\nobreakspace"),eq(eI,eH,eF,"\xa0","\\ "),eq(eI,eH,eF,"\xa0"," "),eq(eI,eH,eF,"\xa0","\\space"),eq(eI,eH,eF,"\xa0","\\nobreakspace"),eq(eN,eH,eF,null,"\\nobreak"),eq(eN,eH,eF,null,"\\allowbreak"),eq(eN,eH,eP,",",","),eq(eN,eH,eP,";",";"),eq(eN,"ams","bin","\u22BC","\\barwedge",!0),eq(eN,"ams","bin","\u22BB","\\veebar",!0),eq(eN,eH,"bin","\u2299","\\odot",!0),eq(eN,eH,"bin","\u2295","\\oplus",!0),eq(eN,eH,"bin","\u2297","\\otimes",!0),eq(eN,eH,eG,"\u2202","\\partial",!0),eq(eN,eH,"bin","\u2298","\\oslash",!0),eq(eN,"ams","bin","\u229A","\\circledcirc",!0),eq(eN,"ams","bin","\u22A1","\\boxdot",!0),eq(eN,eH,"bin","\u25B3","\\bigtriangleup"),eq(eN,eH,"bin","\u25BD","\\bigtriangledown"),eq(eN,eH,"bin","\u2020","\\dagger"),eq(eN,eH,"bin","\u22C4","\\diamond"),eq(eN,eH,"bin","\u22C6","\\star"),eq(eN,eH,"bin","\u25C3","\\triangleleft"),eq(eN,eH,"bin","\u25B9","\\triangleright"),eq(eN,eH,eV,"{","\\{"),eq(eI,eH,eG,"{","\\{"),eq(eI,eH,eG,"{","\\textbraceleft"),eq(eN,eH,eO,"}","\\}"),eq(eI,eH,eG,"}","\\}"),eq(eI,eH,eG,"}","\\textbraceright"),eq(eN,eH,eV,"{","\\lbrace"),eq(eN,eH,eO,"}","\\rbrace"),eq(eN,eH,eV,"[","\\lbrack",!0),eq(eI,eH,eG,"[","\\lbrack",!0),eq(eN,eH,eO,"]","\\rbrack",!0),eq(eI,eH,eG,"]","\\rbrack",!0),eq(eN,eH,eV,"(","\\lparen",!0),eq(eN,eH,eO,")","\\rparen",!0),eq(eI,eH,eG,"<","\\textless",!0),eq(eI,eH,eG,">","\\textgreater",!0),eq(eN,eH,eV,"\u230A","\\lfloor",!0),eq(eN,eH,eO,"\u230B","\\rfloor",!0),eq(eN,eH,eV,"\u2308","\\lceil",!0),eq(eN,eH,eO,"\u2309","\\rceil",!0),eq(eN,eH,eG,"\\","\\backslash"),eq(eN,eH,eG,"\u2223","|"),eq(eN,eH,eG,"\u2223","\\vert"),eq(eI,eH,eG,"|","\\textbar",!0),eq(eN,eH,eG,"\u2225","\\|"),eq(eN,eH,eG,"\u2225","\\Vert"),eq(eI,eH,eG,"\u2225","\\textbardbl"),eq(eI,eH,eG,"~","\\textasciitilde"),eq(eI,eH,eG,"\\","\\textbackslash"),eq(eI,eH,eG,"^","\\textasciicircum"),eq(eN,eH,"rel","\u2191","\\uparrow",!0),eq(eN,eH,"rel","\u21D1","\\Uparrow",!0),eq(eN,eH,"rel","\u2193","\\downarrow",!0),eq(eN,eH,"rel","\u21D3","\\Downarrow",!0),eq(eN,eH,"rel","\u2195","\\updownarrow",!0),eq(eN,eH,"rel","\u21D5","\\Updownarrow",!0),eq(eN,eH,eD,"\u2210","\\coprod"),eq(eN,eH,eD,"\u22C1","\\bigvee"),eq(eN,eH,eD,"\u22C0","\\bigwedge"),eq(eN,eH,eD,"\u2A04","\\biguplus"),eq(eN,eH,eD,"\u22C2","\\bigcap"),eq(eN,eH,eD,"\u22C3","\\bigcup"),eq(eN,eH,eD,"\u222B","\\int"),eq(eN,eH,eD,"\u222B","\\intop"),eq(eN,eH,eD,"\u222C","\\iint"),eq(eN,eH,eD,"\u222D","\\iiint"),eq(eN,eH,eD,"\u220F","\\prod"),eq(eN,eH,eD,"\u2211","\\sum"),eq(eN,eH,eD,"\u2A02","\\bigotimes"),eq(eN,eH,eD,"\u2A01","\\bigoplus"),eq(eN,eH,eD,"\u2A00","\\bigodot"),eq(eN,eH,eD,"\u222E","\\oint"),eq(eN,eH,eD,"\u222F","\\oiint"),eq(eN,eH,eD,"\u2230","\\oiiint"),eq(eN,eH,eD,"\u2A06","\\bigsqcup"),eq(eN,eH,eD,"\u222B","\\smallint"),eq(eI,eH,eE,"\u2026","\\textellipsis"),eq(eN,eH,eE,"\u2026","\\mathellipsis"),eq(eI,eH,eE,"\u2026","\\ldots",!0),eq(eN,eH,eE,"\u2026","\\ldots",!0),eq(eN,eH,eE,"\u22EF","\\@cdots",!0),eq(eN,eH,eE,"\u22F1","\\ddots",!0),eq(eN,eH,eG,"\u22EE","\\varvdots"),eq(eN,eH,eR,"\u02CA","\\acute"),eq(eN,eH,eR,"\u02CB","\\grave"),eq(eN,eH,eR,"\xa8","\\ddot"),eq(eN,eH,eR,"~","\\tilde"),eq(eN,eH,eR,"\u02C9","\\bar"),eq(eN,eH,eR,"\u02D8","\\breve"),eq(eN,eH,eR,"\u02C7","\\check"),eq(eN,eH,eR,"^","\\hat"),eq(eN,eH,eR,"\u20D7","\\vec"),eq(eN,eH,eR,"\u02D9","\\dot"),eq(eN,eH,eR,"\u02DA","\\mathring"),eq(eN,eH,eL,"\uE131","\\@imath"),eq(eN,eH,eL,"\uE237","\\@jmath"),eq(eN,eH,eG,"\u0131","\u0131"),eq(eN,eH,eG,"\u0237","\u0237"),eq(eI,eH,eG,"\u0131","\\i",!0),eq(eI,eH,eG,"\u0237","\\j",!0),eq(eI,eH,eG,"\xdf","\\ss",!0),eq(eI,eH,eG,"\xe6","\\ae",!0),eq(eI,eH,eG,"\u0153","\\oe",!0),eq(eI,eH,eG,"\xf8","\\o",!0),eq(eI,eH,eG,"\xc6","\\AE",!0),eq(eI,eH,eG,"\u0152","\\OE",!0),eq(eI,eH,eG,"\xd8","\\O",!0),eq(eI,eH,eR,"\u02CA","\\'"),eq(eI,eH,eR,"\u02CB","\\`"),eq(eI,eH,eR,"\u02C6","\\^"),eq(eI,eH,eR,"\u02DC","\\~"),eq(eI,eH,eR,"\u02C9","\\="),eq(eI,eH,eR,"\u02D8","\\u"),eq(eI,eH,eR,"\u02D9","\\."),eq(eI,eH,eR,"\xb8","\\c"),eq(eI,eH,eR,"\u02DA","\\r"),eq(eI,eH,eR,"\u02C7","\\v"),eq(eI,eH,eR,"\xa8",'\\"'),eq(eI,eH,eR,"\u02DD","\\H"),eq(eI,eH,eR,"\u25EF","\\textcircled");var eU={"--":!0,"---":!0,"``":!0,"''":!0};eq(eI,eH,eG,"\u2013","--",!0),eq(eI,eH,eG,"\u2013","\\textendash"),eq(eI,eH,eG,"\u2014","---",!0),eq(eI,eH,eG,"\u2014","\\textemdash"),eq(eI,eH,eG,"\u2018","`",!0),eq(eI,eH,eG,"\u2018","\\textquoteleft"),eq(eI,eH,eG,"\u2019","'",!0),eq(eI,eH,eG,"\u2019","\\textquoteright"),eq(eI,eH,eG,"\u201C","``",!0),eq(eI,eH,eG,"\u201C","\\textquotedblleft"),eq(eI,eH,eG,"\u201D","''",!0),eq(eI,eH,eG,"\u201D","\\textquotedblright"),eq(eN,eH,eG,"\xb0","\\degree",!0),eq(eI,eH,eG,"\xb0","\\degree"),eq(eI,eH,eG,"\xb0","\\textdegree",!0),eq(eN,eH,eG,"\xa3","\\pounds"),eq(eN,eH,eG,"\xa3","\\mathsterling",!0),eq(eI,eH,eG,"\xa3","\\pounds"),eq(eI,eH,eG,"\xa3","\\textsterling",!0),eq(eN,"ams",eG,"\u2720","\\maltese"),eq(eI,"ams",eG,"\u2720","\\maltese");for(var eY='0123456789/@."',eX=0;eX<eY.length;eX++){var eW=eY.charAt(eX);eq(eN,eH,eG,eW,eW)}for(var ej='0123456789!@*()-=+";:?/.,',e$=0;e$<ej.length;e$++){var e_=ej.charAt(e$);eq(eI,eH,eG,e_,e_)}for(var eZ="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",eK=0;eK<eZ.length;eK++){var eJ=eZ.charAt(eK);eq(eN,eH,eL,eJ,eJ),eq(eI,eH,eG,eJ,eJ)}eq(eN,"ams",eG,"C","\u2102"),eq(eI,"ams",eG,"C","\u2102"),eq(eN,"ams",eG,"H","\u210D"),eq(eI,"ams",eG,"H","\u210D"),eq(eN,"ams",eG,"N","\u2115"),eq(eI,"ams",eG,"N","\u2115"),eq(eN,"ams",eG,"P","\u2119"),eq(eI,"ams",eG,"P","\u2119"),eq(eN,"ams",eG,"Q","\u211A"),eq(eI,"ams",eG,"Q","\u211A"),eq(eN,"ams",eG,"R","\u211D"),eq(eI,"ams",eG,"R","\u211D"),eq(eN,"ams",eG,"Z","\u2124"),eq(eI,"ams",eG,"Z","\u2124"),eq(eN,eH,eL,"h","\u210E"),eq(eI,eH,eL,"h","\u210E");for(var eQ="",e0=0;e0<eZ.length;e0++){var e1=eZ.charAt(e0);eq(eN,eH,eL,e1,eQ=String.fromCharCode(55349,56320+e0)),eq(eI,eH,eG,e1,eQ),eq(eN,eH,eL,e1,eQ=String.fromCharCode(55349,56372+e0)),eq(eI,eH,eG,e1,eQ),eq(eN,eH,eL,e1,eQ=String.fromCharCode(55349,56424+e0)),eq(eI,eH,eG,e1,eQ),eq(eN,eH,eL,e1,eQ=String.fromCharCode(55349,56580+e0)),eq(eI,eH,eG,e1,eQ),eq(eN,eH,eL,e1,eQ=String.fromCharCode(55349,56684+e0)),eq(eI,eH,eG,e1,eQ),eq(eN,eH,eL,e1,eQ=String.fromCharCode(55349,56736+e0)),eq(eI,eH,eG,e1,eQ),eq(eN,eH,eL,e1,eQ=String.fromCharCode(55349,56788+e0)),eq(eI,eH,eG,e1,eQ),eq(eN,eH,eL,e1,eQ=String.fromCharCode(55349,56840+e0)),eq(eI,eH,eG,e1,eQ),eq(eN,eH,eL,e1,eQ=String.fromCharCode(55349,56944+e0)),eq(eI,eH,eG,e1,eQ),e0<26&&(eq(eN,eH,eL,e1,eQ=String.fromCharCode(55349,56632+e0)),eq(eI,eH,eG,e1,eQ),eq(eN,eH,eL,e1,eQ=String.fromCharCode(55349,56476+e0)),eq(eI,eH,eG,e1,eQ))}eq(eN,eH,eL,"k",eQ=String.fromCharCode(55349,56668)),eq(eI,eH,eG,"k",eQ);for(var e4=0;e4<10;e4++){var e5=e4.toString();eq(eN,eH,eL,e5,eQ=String.fromCharCode(55349,57294+e4)),eq(eI,eH,eG,e5,eQ),eq(eN,eH,eL,e5,eQ=String.fromCharCode(55349,57314+e4)),eq(eI,eH,eG,e5,eQ),eq(eN,eH,eL,e5,eQ=String.fromCharCode(55349,57324+e4)),eq(eI,eH,eG,e5,eQ),eq(eN,eH,eL,e5,eQ=String.fromCharCode(55349,57334+e4)),eq(eI,eH,eG,e5,eQ)}for(var e6="\xd0\xde\xfe",e7=0;e7<e6.length;e7++){var e3=e6.charAt(e7);eq(eN,eH,eL,e3,e3),eq(eI,eH,eG,e3,e3)}var e8=[["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"]],e2=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],e9=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[e8[n][2],e8[n][a]]}if(120782<=r&&r<=120831){var i=Math.floor((r-120782)/10);return[e2[i][2],e2[i][a]]}if(120485===r||120486===r)return[e8[0][2],e8[0][a]];else if(120486<r&&r<120782)return["",""];else throw new B("Unsupported character: "+e)},te=function(e,t,r){return eC[r][e]&&eC[r][e].replace&&(e=eC[r][e].replace),{value:e,metrics:ea(e,t,r)}},tt=function(e,t,r,a,n){var i,s=te(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 ek(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 ek(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},tr=(e,t)=>{if(ed(e.classes)!==ed(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},ta=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},tn=function(e,t,r,a){var n=new eb(e,t,r,a);return ta(n),n},ti=(e,t,r,a)=>new eb(e,t,r,a),ts=function(e){var t=new Q(e);return ta(t),t},to=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}},tl=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")},th={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"}},tm={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},tc={fontMap:th,makeSymbol:tt,mathsym:function(e,t,r,a){return(void 0===a&&(a=[]),"boldsymbol"===r.font&&te(e,"Main-Bold",t).metrics)?tt(e,"Main-Bold",t,r,a.concat(["mathbf"])):"\\"===e||"main"===eC[t][e].font?tt(e,"Main-Regular",t,r,a):tt(e,"AMS-Regular",t,r,a.concat(["amsrm"]))},makeSpan:tn,makeSvgSpan:ti,makeLineSpan:function(e,t,r){var a=tn([e],[],t);return a.height=Math.max(r||t.fontMetrics().defaultRuleThickness,t.minRuleThickness),a.style.borderBottomWidth=eu(a.height),a.maxFontSize=1,a},makeAnchor:function(e,t,r,a){var n=new ey(e,t,r,a);return ta(n),n},makeFragment:ts,wrapFragment:function(e,t){return e instanceof Q?tn([],[e],t):e},makeVList:function(e,t){for(var r,{children:a,depth:n}=to(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=tn(["pstrut"],[]);h.style.height=eu(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=tn(g.wrapperClasses||[],[h,f],void 0,g.wrapperStyle||{});v.style.top=eu(-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=tn(["vlist"],m);if(b.style.height=eu(p),c<0){var y=tn([],[]),x=tn(["vlist"],[y]);x.style.height=eu(-c);var w=tn(["vlist-s"],[new ek("\u200B")]);r=[tn(["vlist-r"],[b,w]),tn(["vlist-r"],[x])]}else r=[tn(["vlist-r"],[b])];var k=tn(["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]=e9(n,a)),l.length>0)return tt(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&&te(m,"Math-BoldItalic",c).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"});d=f.fontName,g=[f.fontClass]}else s?(d=th[o].fontName,g=[o]):(d=tl(o,t.fontWeight,t.fontShape),g=[o,t.fontWeight,t.fontShape]);if(te(n,d,a).metrics)return tt(n,d,a,t,i.concat(g));if(eU.hasOwnProperty(n)&&"Typewriter"===d.slice(0,10)){for(var v=[],b=0;b<n.length;b++)v.push(tt(n[b],d,a,t,i.concat(g)));return ts(v)}}if("mathord"===r)return tt(n,"Math-Italic",a,t,i.concat(["mathnormal"]));if("textord"===r){var y=eC[a][n]&&eC[a][n].font;if("ams"===y)return tt(n,tl("amsrm",t.fontWeight,t.fontShape),a,t,i.concat("amsrm",t.fontWeight,t.fontShape));if("main"===y||!y)return tt(n,tl("textrm",t.fontWeight,t.fontShape),a,t,i.concat(t.fontWeight,t.fontShape));else{var x=tl(y,t.fontWeight,t.fontShape);return tt(n,x,a,t,i.concat(x,t.fontWeight,t.fontShape))}}throw Error("unexpected type: "+r+" in makeOrd")},makeGlue:(e,t)=>{var r=tn(["mspace"],[],t),a=ep(e,t);return r.style.marginRight=eu(a),r},staticSvg:function(e,t){var[r,a,n]=tm[e],i=ti(["overlay"],[new eS([new eM(r)],{width:eu(a),height:eu(n),style:"width:"+eu(a),viewBox:"0 0 "+1e3*a+" "+1e3*n,preserveAspectRatio:"xMinYMin"})],t);return i.height=n,i.style.height=eu(n),i.style.width=eu(a),i},svgData:tm,tryCombineChars:e=>{for(var t=0;t<e.length-1;t++){var r=e[t],a=e[t+1];r instanceof ek&&a instanceof ek&&tr(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}},tp={number:3,unit:"mu"},tu={number:4,unit:"mu"},td={number:5,unit:"mu"},tg={mord:{mop:tp,mbin:tu,mrel:td,minner:tp},mop:{mord:tp,mop:tp,mrel:td,minner:tp},mbin:{mord:tu,mop:tu,mopen:tu,minner:tu},mrel:{mord:td,mop:td,mopen:td,minner:td},mopen:{},mclose:{mop:tp,mbin:tu,mrel:td,minner:tp},mpunct:{mord:tp,mop:tp,mrel:td,mopen:tp,mclose:tp,mpunct:tp,minner:tp},minner:{mord:tp,mop:tp,mbin:tu,mrel:td,mopen:tp,mpunct:tp,minner:tp}},tf={mord:{mop:tp},mop:{mord:tp,mop:tp},mbin:{},mrel:{},mopen:{},mclose:{mop:tp},mpunct:{},minner:{mop:tp}},tv={},tb={},ty={};function tx(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)tv[r[l]]=o;t&&(i&&(tb[t]=i),s&&(ty[t]=s))}function tw(e){var{type:t,htmlBuilder:r,mathmlBuilder:a}=e;tx({type:t,names:[],props:{numArgs:0},handler(){throw Error("Should never be called.")},htmlBuilder:r,mathmlBuilder:a})}var tk=function(e){return"ordgroup"===e.type&&1===e.body.length?e.body[0]:e},tS=function(e){return"ordgroup"===e.type?e.body:[e]},tM=tc.makeSpan,tz=["leftmost","mbin","mopen","mrel","mop","mpunct"],tA=["rightmost","mrel","mclose","mpunct"],tT={display:X.DISPLAY,text:X.TEXT,script:X.SCRIPT,scriptscript:X.SCRIPTSCRIPT},tB={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},tC=function(e,t,r,a){void 0===a&&(a=[null,null]);for(var n=[],i=0;i<e.length;i++){var s=tO(e[i],t);if(s instanceof Q){var o=s.children;n.push(...o)}else n.push(s)}if(tc.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(tT[h.style]))}var m=tM([a[0]||"leftmost"],[],t),c=tM([a[1]||"rightmost"],[],t),p="root"===r;return tq(n,(e,t)=>{var r=t.classes[0],a=e.classes[0];"mbin"===r&&R.contains(tA,a)?t.classes[0]="mord":"mbin"===a&&R.contains(tz,r)&&(e.classes[0]="mord")},{node:m},c,p),tq(n,(e,t)=>{var r=tH(t),a=tH(e),n=r&&a?e.hasClass("mtight")?tf[r][a]:tg[r][a]:null;if(n)return tc.makeGlue(n,l)},{node:m},c,p),n},tq=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=tN(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=tM(["leftmost"]));a.insertAfter=(n=s,e=>{t.splice(n+1,0,e),s++})}n&&t.pop()},tN=function(e){return e instanceof Q||e instanceof ey||e instanceof eb&&e.hasClass("enclosing")?e:null},tI=function e(t,r){var a=tN(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},tH=function(e,t){return e?(t&&(e=tI(e,t)),tB[e.classes[0]]||null):null},tR=function(e,t){var r=["nulldelimiter"].concat(e.baseSizingClasses());return tM(t.concat(r))},tO=function(e,t,r){if(!e)return tM();if(tb[e.type]){var a=tb[e.type](e,t);if(r&&t.size!==r.size){a=tM(t.sizingClasses(r),[a],t);var n=t.sizeMultiplier/r.sizeMultiplier;a.height*=n,a.depth*=n}return a}throw new B("Got group of unknown type: '"+e.type+"'")};function tE(e,t){var r=tM(["base"],e,t),a=tM(["strut"]);return a.style.height=eu(r.height+r.depth),r.depth&&(a.style.verticalAlign=eu(-r.depth)),r.children.unshift(a),r}function tL(e,t){var r,a,n=null;1===e.length&&"tag"===e[0].type&&(n=e[0].tag,e=e[0].body);var i=tC(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(tE(o,t)),o=[])}else i[l].hasClass("newline")&&(o.pop(),o.length>0&&(s.push(tE(o,t)),o=[]),s.push(i[l]));o.length>0&&s.push(tE(o,t)),n?((a=tE(tC(n,t,!0))).classes=["tag"],s.push(a)):r&&s.push(r);var m=tM(["katex-html"],s);if(m.setAttribute("aria-hidden","true"),a){var c=a.children[0];c.style.height=eu(m.height+m.depth),m.depth&&(c.style.verticalAlign=eu(-m.depth))}return m}function tD(e){return new Q(e)}class tV{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=ed(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+'="',e+=R.escape(this.attributes[t]),e+='"');this.classes.length>0&&(e+=' class ="'+R.escape(ed(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 tP{constructor(e){this.text=void 0,this.text=e}toNode(){return document.createTextNode(this.text)}toMarkup(){return R.escape(this.toText())}toText(){return this.text}}var tF={MathNode:tV,TextNode:tP,SpaceNode:class e{constructor(e){this.width=void 0,this.character=void 0,this.width=e,e>=.05555&&e<=.05556?this.character="\u200A":e>=.1666&&e<=.1667?this.character="\u2009":e>=.2222&&e<=.2223?this.character="\u2005":e>=.2777&&e<=.2778?this.character="\u2005\u200A":e>=-.05556&&e<=-.05555?this.character="\u200A\u2063":e>=-.1667&&e<=-.1666?this.character="\u2009\u2063":e>=-.2223&&e<=-.2222?this.character="\u205F\u2063":e>=-.2778&&e<=-.2777?this.character="\u2005\u2063":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",eu(this.width)),e}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+eu(this.width)+'"/>'}toText(){return this.character?this.character:" "}},newDocumentFragment:tD},tG=function(e,t,r){return eC[t][e]&&eC[t][e].replace&&55349!==e.charCodeAt(0)&&!(eU.hasOwnProperty(e)&&r&&(r.fontFamily&&"tt"===r.fontFamily.slice(4,6)||r.font&&"tt"===r.font.slice(4,6)))&&(e=eC[t][e].replace),new tF.TextNode(e)},tU=function(e){return 1===e.length?e[0]:new tF.MathNode("mrow",e)},tY=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 R.contains(["\\imath","\\jmath"],n)?null:(eC[a][n]&&eC[a][n].replace&&(n=eC[a][n].replace),ea(n,tc.fontMap[r].fontName,a))?tc.fontMap[r].variant:null},tX=function(e,t,r){if(1===e.length){var a,n=tj(e[0],t);return r&&n instanceof tV&&"mo"===n.type&&(n.setAttribute("lspace","0em"),n.setAttribute("rspace","0em")),[n]}for(var i=[],s=0;s<e.length;s++){var o=tj(e[s],t);if(o instanceof tV&&a instanceof tV){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 tP&&"."===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 tP&&"\u0338"===h.text&&("mo"===o.type||"mi"===o.type||"mn"===o.type)){var m=o.children[0];m instanceof tP&&m.text.length>0&&(m.text=m.text.slice(0,1)+"\u0338"+m.text.slice(1),i.pop())}}}i.push(o),a=o}return i},tW=function(e,t,r){return tU(tX(e,t,r))},tj=function(e,t){if(!e)return new tF.MathNode("mrow");if(ty[e.type])return ty[e.type](e,t);throw new B("Got group of unknown type: '"+e.type+"'")};function t$(e,t,r,a,n){var i,s=tX(e,r);i=1===s.length&&s[0]instanceof tV&&R.contains(["mrow","mtable"],s[0].type)?s[0]:new tF.MathNode("mrow",s);var o=new tF.MathNode("annotation",[new tF.TextNode(t)]);o.setAttribute("encoding","application/x-tex");var l=new tF.MathNode("semantics",[i,o]),h=new tF.MathNode("math",[l]);return h.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),a&&h.setAttribute("display","block"),tc.makeSpan([n?"katex":"katex-mathml"],[h])}var t_=function(e){return new el({style:e.displayMode?X.DISPLAY:X.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},tZ=function(e,t){if(t.displayMode){var r=["katex-display"];t.leqno&&r.push("leqno"),t.fleqn&&r.push("fleqn"),e=tc.makeSpan(r,[e])}return e},tK=function(e,t,r){var a,n=t_(r);if("mathml"===r.output)return t$(e,t,n,r.displayMode,!0);if("html"===r.output){var i=tL(e,n);a=tc.makeSpan(["katex"],[i])}else{var s=t$(e,t,n,r.displayMode,!1),o=tL(e,n);a=tc.makeSpan(["katex"],[s,o])}return tZ(a,r)},tJ=function(e,t,r){var a=tL(e,t_(r));return tZ(tc.makeSpan(["katex"],[a]),r)},tQ={widehat:"^",widecheck:"\u02C7",widetilde:"~",utilde:"~",overleftarrow:"\u2190",underleftarrow:"\u2190",xleftarrow:"\u2190",overrightarrow:"\u2192",underrightarrow:"\u2192",xrightarrow:"\u2192",underbrace:"\u23DF",overbrace:"\u23DE",overgroup:"\u23E0",undergroup:"\u23E1",overleftrightarrow:"\u2194",underleftrightarrow:"\u2194",xleftrightarrow:"\u2194",Overrightarrow:"\u21D2",xRightarrow:"\u21D2",overleftharpoon:"\u21BC",xleftharpoonup:"\u21BC",overrightharpoon:"\u21C0",xrightharpoonup:"\u21C0",xLeftarrow:"\u21D0",xLeftrightarrow:"\u21D4",xhookleftarrow:"\u21A9",xhookrightarrow:"\u21AA",xmapsto:"\u21A6",xrightharpoondown:"\u21C1",xleftharpoondown:"\u21BD",xrightleftharpoons:"\u21CC",xleftrightharpoons:"\u21CB",xtwoheadleftarrow:"\u219E",xtwoheadrightarrow:"\u21A0",xlongequal:"=",xtofrom:"\u21C4",xrightleftarrows:"\u21C4",xrightequilibrium:"\u21CC",xleftequilibrium:"\u21CB","\\cdrightarrow":"\u2192","\\cdleftarrow":"\u2190","\\cdlongequal":"="},t0={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]},t1={encloseSpan:function(e,t,r,a,n){var i,s=e.height+e.depth+r+a;if(/fbox|color|angl/.test(t)){if(i=tc.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 ez({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&l.push(new ez({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var h=new eS(l,{width:"100%",height:eu(s)});i=tc.makeSvgSpan([],[h],n)}return i.height=s,i.style.height=eu(s),i},mathMLnode:function(e){var t=new tF.MathNode("mo",[new tF.TextNode(tQ[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(R.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 eS([new eM(i)],{width:"100%",height:eu(s),viewBox:"0 0 "+r+" "+n,preserveAspectRatio:"none"});return{span:tc.makeSvgSpan([],[m],t),minWidth:0,height:s}}var c,p,u=[],d=t0[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 eS([new eM(g[w])],{width:"400em",height:eu(b),viewBox:"0 0 "+r+" "+v,preserveAspectRatio:p[w]+" slice"}),S=tc.makeSvgSpan([c[w]],[k],t);if(1===y)return{span:S,minWidth:f,height:b};S.style.height=eu(b),u.push(S)}return{span:tc.makeSpan(["stretchy"],u,t),minWidth:f,height:b}}();return r.height=n,r.style.height=eu(n),a>0&&(r.style.minWidth=eu(a)),r}};function t4(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 t5(e){var t=t6(e);if(!t)throw Error("Expected node of symbol group type, but got "+(e?"node of type "+e.type:String(e)));return t}function t6(e){return e&&("atom"===e.type||eB.hasOwnProperty(e.type))?e:null}var t7=(e,t)=>{e&&"supsub"===e.type?(o=(l=t4(e.base,"accent")).base,e.base=o,h=function(e){if(e instanceof eb)return e;throw Error("Expected span<HtmlDomNode> but got "+String(e)+".")}(tO(e,t)),e.base=l):o=(l=t4(e,"accent")).base;var r=tO(o,t.havingCrampedStyle()),a=l.isShifty&&R.isCharacterBox(o),n=0;a&&(n=eA(tO(R.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=t1.svgSpan(l,t),m=tc.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"elem",elem:m,wrapperClasses:["svg-align"],wrapperStyle:n>0?{width:"calc(100% - "+eu(2*n)+")",marginLeft:eu(2*n)}:void 0}]},t);else{"\\vec"===l.label?(c=tc.staticSvg("vec",t),p=tc.svgData.vec[1]):((c=eA(c=tc.makeOrd({mode:l.mode,text:l.label},t,"textord"))).italic=0,p=c.width,i&&(s+=c.depth)),m=tc.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=eu(d),"\\textcircled"===l.label&&(m.style.top=".2em"),m=tc.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:-s},{type:"elem",elem:m}]},t)}var g=tc.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},t3=(e,t)=>{var r=e.isStretchy?t1.mathMLnode(e.label):new tF.MathNode("mo",[tG(e.label,e.mode)]),a=new tF.MathNode("mover",[tj(e.base,t),r]);return a.setAttribute("accent","true"),a},t8=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(e=>"\\"+e).join("|"));tx({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=tk(t[0]),a=!t8.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:t7,mathmlBuilder:t3}),tx({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:t7,mathmlBuilder:t3}),tx({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=tO(e.base,t),a=t1.svgSpan(e,t),n="\\utilde"===e.label?.12:0,i=tc.makeVList({positionType:"top",positionData:r.height,children:[{type:"elem",elem:a,wrapperClasses:["svg-align"]},{type:"kern",size:n},{type:"elem",elem:r}]},t);return tc.makeSpan(["mord","accentunder"],[i],t)},mathmlBuilder:(e,t)=>{var r=t1.mathMLnode(e.label),a=new tF.MathNode("munder",[tj(e.base,t),r]);return a.setAttribute("accentunder","true"),a}});var t2=e=>{var t=new tF.MathNode("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};tx({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=tc.wrapFragment(tO(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=tc.wrapFragment(tO(e.below,i,t),t)).classes.push(o+"-arrow-pad"));var l=t1.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=tc.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=tc.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"),tc.makeSpan(["mrel","x-arrow"],[a],t)},mathmlBuilder(e,t){var r,a=t1.mathMLnode(e.label);if(a.setAttribute("minsize","x"===e.label.charAt(0)?"1.75em":"3.0em"),e.body){var n=t2(tj(e.body,t));if(e.below){var i=t2(tj(e.below,t));r=new tF.MathNode("munderover",[a,i,n])}else r=new tF.MathNode("mover",[a,n])}else if(e.below){var s=t2(tj(e.below,t));r=new tF.MathNode("munder",[a,s])}else r=t2(),r=new tF.MathNode("mover",[a,r]);return r}});var t9=tc.makeSpan;function re(e,t){var r=tC(e.body,t,!0);return t9([e.mclass],r,t)}function rt(e,t){var r,a=tX(e.body,t);return"minner"===e.mclass?r=new tF.MathNode("mpadded",a):"mord"===e.mclass?e.isCharacterBox?(r=a[0]).type="mi":r=new tF.MathNode("mi",a):(e.isCharacterBox?(r=a[0]).type="mo":r=new tF.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}tx({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:tS(n),isCharacterBox:R.isCharacterBox(n)}},htmlBuilder:re,mathmlBuilder:rt});var rr=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"};tx({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){var{parser:r}=e;return{type:"mclass",mode:r.mode,mclass:rr(t[0]),body:tS(t[1]),isCharacterBox:R.isCharacterBox(t[1])}}}),tx({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?rr(i):"mrel";var o={type:"op",mode:i.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:"\\stackrel"!==n,body:tS(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:R.isCharacterBox(l)}},htmlBuilder:re,mathmlBuilder:rt}),tx({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"pmb",mode:r.mode,mclass:rr(t[0]),body:tS(t[0])}},htmlBuilder(e,t){var r=tC(e.body,t,!0),a=tc.makeSpan([e.mclass],r,t);return a.style.textShadow="0.02em 0.01em 0.04px",a},mathmlBuilder(e,t){var r=tX(e.body,t),a=new tF.MathNode("mstyle",r);return a.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),a}});var ra={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},rn=()=>({type:"styling",body:[],mode:"math",style:"display"}),ri=e=>"textord"===e.type&&"@"===e.text,rs=(e,t)=>("mathord"===e.type||"atom"===e.type)&&e.text===t;tx({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=tc.wrapFragment(tO(e.label,r,t),t);return a.classes.push("cd-label-"+e.side),a.style.bottom=eu(.8-a.depth),a.height=0,a.depth=0,a},mathmlBuilder(e,t){var r=new tF.MathNode("mrow",[tj(e.label,t)]);return(r=new tF.MathNode("mpadded",[r])).setAttribute("width","0"),"left"===e.side&&r.setAttribute("lspace","-1width"),r.setAttribute("voffset","0.7em"),(r=new tF.MathNode("mstyle",[r])).setAttribute("displaystyle","false"),r.setAttribute("scriptlevel","1"),r}}),tx({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=tc.wrapFragment(tO(e.fragment,t),t);return r.classes.push("cd-vert-arrow"),r},mathmlBuilder:(e,t)=>new tF.MathNode("mrow",[tj(e.fragment,t)])}),tx({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){for(var r,{parser:a}=e,n=t4(t[0],"ordgroup").body,i="",s=0;s<n.length;s++)i+=t4(n[s],"textord").text;var o=parseInt(i);if(isNaN(o))throw new B("\\@char has non-numeric argument "+i);if(o<0||o>=1114111)throw new B("\\@char with invalid code point "+i);o<=65535?r=String.fromCharCode(o):(o-=65536,r=String.fromCharCode((o>>10)+55296,(1023&o)+56320));return{type:"textord",mode:a.mode,text:r}}});var ro=(e,t)=>{var r=tC(e.body,t.withColor(e.color),!1);return tc.makeFragment(r)},rl=(e,t)=>{var r=tX(e.body,t.withColor(e.color)),a=new tF.MathNode("mstyle",r);return a.setAttribute("mathcolor",e.color),a};tx({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){var{parser:r}=e,a=t4(t[0],"color-token").color,n=t[1];return{type:"color",mode:r.mode,color:a,body:tS(n)}},htmlBuilder:ro,mathmlBuilder:rl}),tx({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){var{parser:r,breakOnTokenText:a}=e,n=t4(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:ro,mathmlBuilder:rl}),tx({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&&t4(n,"size").value}},htmlBuilder(e,t){var r=tc.makeSpan(["mspace"],[],t);return e.newLine&&(r.classes.push("newline"),e.size&&(r.style.marginTop=eu(ep(e.size,t)))),r},mathmlBuilder(e,t){var r=new tF.MathNode("mspace");return e.newLine&&(r.setAttribute("linebreak","newline"),e.size&&r.setAttribute("height",eu(ep(e.size,t)))),r}});var rh={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},rm=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new B("Expected a control sequence",e);return t},rc=e=>{var t=e.gullet.popToken();return"="===t.text&&" "===(t=e.gullet.popToken()).text&&(t=e.gullet.popToken()),t},rp=(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)};tx({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(rh[a.text])return("\\global"===r||"\\\\globallong"===r)&&(a.text=rh[a.text]),t4(t.parseFunction(),"internal");throw new B("Invalid token after macro prefix",a)}}),tx({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(),i=n.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(i))throw new B("Expected a control sequence",n);for(var s=0,o=[[]];"{"!==r.gullet.future().text;)if("#"===(n=r.gullet.popToken()).text){if("{"===r.gullet.future().text){t=r.gullet.future(),o[s].push("{");break}if(n=r.gullet.popToken(),!/^[1-9]$/.test(n.text))throw new B('Invalid argument number "'+n.text+'"');if(parseInt(n.text)!==s+1)throw new B('Argument number "'+n.text+'" out of order');s++,o.push([])}else if("EOF"===n.text)throw new B("Expected a macro definition");else o[s].push(n.text);var{tokens:l}=r.gullet.consumeArg();return t&&l.unshift(t),("\\edef"===a||"\\xdef"===a)&&(l=r.gullet.expandTokens(l)).reverse(),r.gullet.macros.set(i,{tokens:l,numArgs:s,delimiters:o},a===rh[a]),{type:"internal",mode:r.mode}}}),tx({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,a=rm(t.gullet.popToken());t.gullet.consumeSpaces();var n=rc(t);return rp(t,a,n,"\\\\globallet"===r),{type:"internal",mode:t.mode}}}),tx({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,a=rm(t.gullet.popToken()),n=t.gullet.popToken(),i=t.gullet.popToken();return rp(t,a,i,"\\\\globalfuture"===r),t.gullet.pushToken(i),t.gullet.pushToken(n),{type:"internal",mode:t.mode}}});var ru=function(e,t,r){var a=ea(eC.math[e]&&eC.math[e].replace||e,t,r);if(!a)throw Error("Unsupported symbol "+e+" and font size "+t+".");return a},rd=function(e,t,r,a){var n=r.havingBaseStyle(t),i=tc.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},rg=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=eu(n),e.height-=n,e.depth+=n},rf=function(e,t,r,a,n,i){var s=rd(tc.makeSymbol(e,"Main-Regular",n,a),t,a,i);return r&&rg(s,a,t),s},rv=function(e,t,r,a,n,i){var s,o,l,h,m=(s=e,o=t,l=n,h=a,tc.makeSymbol(s,"Size"+o+"-Regular",l,h)),c=rd(tc.makeSpan(["delimsizing","size"+t],[m],a),X.TEXT,a,i);return r&&rg(c,a,X.TEXT),c},rb=function(e,t,r){var a;return a="Size1-Regular"===t?"delim-size1":"delim-size4",{type:"elem",elem:tc.makeSpan(["delimsizinginner",a],[tc.makeSpan([],[tc.makeSymbol(e,t,r)])])}},ry=function(e,t,r){var a=ee["Size4-Regular"][e.charCodeAt(0)]?ee["Size4-Regular"][e.charCodeAt(0)][4]:ee["Size1-Regular"][e.charCodeAt(0)][4],n=new eS([new eM("inner",Z(e,Math.round(1e3*t)))],{width:eu(a),height:eu(t),style:"width:"+eu(a),viewBox:"0 0 "+1e3*a+" "+Math.round(1e3*t),preserveAspectRatio:"xMinYMin"}),i=tc.makeSvgSpan([],[n],r);return i.height=t,i.style.height=eu(t),i.style.width=eu(a),{type:"elem",elem:i}},rx={type:"kern",size:-.008},rw=["|","\\lvert","\\rvert","\\vert"],rk=["\\|","\\lVert","\\rVert","\\Vert"],rS=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="\u23D0":"\\Uparrow"===e?l=h="\u2016":"\\downarrow"===e?s=l="\u23D0":"\\Downarrow"===e?s=l="\u2016":"\\updownarrow"===e?(s="\\uparrow",l="\u23D0",h="\\downarrow"):"\\Updownarrow"===e?(s="\\Uparrow",l="\u2016",h="\\Downarrow"):R.contains(rw,e)?(l="\u2223",m="vert",c=333):R.contains(rk,e)?(l="\u2225",m="doublevert",c=556):"["===e||"\\lbrack"===e?(s="\u23A1",l="\u23A2",h="\u23A3",p="Size4-Regular",m="lbrack",c=667):"]"===e||"\\rbrack"===e?(s="\u23A4",l="\u23A5",h="\u23A6",p="Size4-Regular",m="rbrack",c=667):"\\lfloor"===e||"\u230A"===e?(l=s="\u23A2",h="\u23A3",p="Size4-Regular",m="lfloor",c=667):"\\lceil"===e||"\u2308"===e?(s="\u23A1",l=h="\u23A2",p="Size4-Regular",m="lceil",c=667):"\\rfloor"===e||"\u230B"===e?(l=s="\u23A5",h="\u23A6",p="Size4-Regular",m="rfloor",c=667):"\\rceil"===e||"\u2309"===e?(s="\u23A4",l=h="\u23A5",p="Size4-Regular",m="rceil",c=667):"("===e||"\\lparen"===e?(s="\u239B",l="\u239C",h="\u239D",p="Size4-Regular",m="lparen",c=875):")"===e||"\\rparen"===e?(s="\u239E",l="\u239F",h="\u23A0",p="Size4-Regular",m="rparen",c=875):"\\{"===e||"\\lbrace"===e?(s="\u23A7",o="\u23A8",h="\u23A9",l="\u23AA",p="Size4-Regular"):"\\}"===e||"\\rbrace"===e?(s="\u23AB",o="\u23AC",h="\u23AD",l="\u23AA",p="Size4-Regular"):"\\lgroup"===e||"\u27EE"===e?(s="\u23A7",h="\u23A9",l="\u23AA",p="Size4-Regular"):"\\rgroup"===e||"\u27EF"===e?(s="\u23AB",h="\u23AD",l="\u23AA",p="Size4-Regular"):"\\lmoustache"===e||"\u23B0"===e?(s="\u23A7",h="\u23AD",l="\u23AA",p="Size4-Regular"):("\\rmoustache"===e||"\u23B1"===e)&&(s="\u23AB",h="\u23A9",l="\u23AA",p="Size4-Regular");var u=ru(s,p,n),d=u.height+u.depth,g=ru(l,p,n),f=g.height+g.depth,v=ru(h,p,n),b=v.height+v.depth,y=0,x=1;if(null!==o){var w=ru(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=J(m,Math.round(1e3*(M-d-b))),q=new eM(m,C),N=(c/1e3).toFixed(3)+"em",I=(B/1e3).toFixed(3)+"em",H=new eS([q],{width:N,height:I,viewBox:"0 0 "+c+" "+B}),O=tc.makeSvgSpan([],[H],a);O.height=B/1e3,O.style.width=N,O.style.height=I,T.push({type:"elem",elem:O})}else{if(T.push(rb(h,p,n)),T.push(rx),null===o)T.push(ry(l,M-d-b+.016,a));else{var E=(M-d-b-y)/2+.016;T.push(ry(l,E,a)),T.push(rx),T.push(rb(o,p,n)),T.push(rx),T.push(ry(l,E,a))}T.push(rx),T.push(rb(s,p,n))}var L=a.havingBaseStyle(X.TEXT),D=tc.makeVList({positionType:"bottom",positionData:A,children:T},L);return rd(tc.makeSpan(["delimsizing","mult"],[D],L),X.TEXT,a,i)},rM=function(e,t,r,a,n){var i=_(e,a,r),s=new eS([new eM(e,i)],{width:"400em",height:eu(t),viewBox:"0 0 400000 "+r,preserveAspectRatio:"xMinYMin slice"});return tc.makeSvgSpan(["hide-tail"],[s],n)},rz=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],rA=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],rT=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],rB=[0,1.2,1.8,2.4,3],rC=[{type:"small",style:X.SCRIPTSCRIPT},{type:"small",style:X.SCRIPT},{type:"small",style:X.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],rq=[{type:"small",style:X.SCRIPTSCRIPT},{type:"small",style:X.SCRIPT},{type:"small",style:X.TEXT},{type:"stack"}],rN=[{type:"small",style:X.SCRIPTSCRIPT},{type:"small",style:X.SCRIPT},{type:"small",style:X.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],rI=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.")},rH=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=ru(e,rI(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]},rR=function(e,t,r,a,n,i){"<"===e||"\\lt"===e||"\u27E8"===e?e="\\langle":(">"===e||"\\gt"===e||"\u27E9"===e)&&(e="\\rangle"),s=R.contains(rT,e)?rC:R.contains(rz,e)?rN:rq;var s,o=rH(e,t,s,a);return"small"===o.type?rf(e,o.style,r,a,n,i):"large"===o.type?rv(e,o.size,r,a,n,i):rS(e,t,r,a,n,i)},rO={sqrtImage:function(e,t){var r,a,n=t.havingBaseSizing(),i=rH("\\surd",e*n.sizeMultiplier,rN,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=rM("sqrtMain",l,m,o,t)).style.minWidth="0.853em",a=.833/s):"large"===i.type?(m=1080*rB[i.size],h=(rB[i.size]+o)/s,l=(rB[i.size]+o+.08)/s,(r=rM("sqrtSize"+i.size,l,m,o,t)).style.minWidth="1.02em",a=1/s):(l=e+o+.08,h=e+o,(r=rM("sqrtTall",l,m=Math.floor(1e3*e+o)+80,o,t)).style.minWidth="0.742em",a=1.056),r.height=h,r.style.height=eu(l),{span:r,advanceWidth:a,ruleWidth:(t.fontMetrics().sqrtRuleThickness+o)*s}},sizedDelim:function(e,t,r,a,n){if("<"===e||"\\lt"===e||"\u27E8"===e?e="\\langle":(">"===e||"\\gt"===e||"\u27E9"===e)&&(e="\\rangle"),R.contains(rz,e)||R.contains(rT,e))return rv(e,t,!1,r,a,n);if(R.contains(rA,e))return rS(e,rB[t],!1,r,a,n);throw new B("Illegal delimiter: '"+e+"'")},sizeToMaxHeight:rB,customSizedDelim:rR,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 rR(e,Math.max(l/500*901,2*l-o),!0,a,n,i)}},rE={"\\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}},rL=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","<",">","\\langle","\u27E8","\\rangle","\u27E9","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function rD(e,t){var r=t6(e);if(r&&R.contains(rL,r.text))return r;if(r)throw new B("Invalid delimiter '"+r.text+"' after '"+t.funcName+"'",e);throw new B("Invalid delimiter type '"+e.type+"'",e)}function rV(e){if(!e.body)throw Error("Bug: The leftright ParseNode wasn't fully parsed.")}tx({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=rD(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:rE[e.funcName].size,mclass:rE[e.funcName].mclass,delim:r.text}},htmlBuilder:(e,t)=>"."===e.delim?tc.makeSpan([e.mclass]):rO.sizedDelim(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];"."!==e.delim&&t.push(tG(e.delim,e.mode));var r=new tF.MathNode("mo",t);"mopen"===e.mclass||"mclose"===e.mclass?r.setAttribute("fence","true"):r.setAttribute("fence","false"),r.setAttribute("stretchy","true");var a=eu(rO.sizeToMaxHeight[e.size]);return r.setAttribute("minsize",a),r.setAttribute("maxsize",a),r}}),tx({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 B("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:rD(t[0],e).text,color:r}}}),tx({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=rD(t[0],e),a=e.parser;++a.leftrightDepth;var n=a.parseExpression(!1);--a.leftrightDepth,a.expect("\\right",!1);var i=t4(a.parseFunction(),"leftright-right");return{type:"leftright",mode:a.mode,body:n,left:r.text,right:i.delim,rightColor:i.color}},htmlBuilder:(e,t)=>{rV(e);for(var r,a,n=tC(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?tR(t,["mopen"]):rO.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]=rO.leftRightDelim(m.delim,i,s,m.options,e.mode,[]))}if("."===e.right)a=tR(t,["mclose"]);else{var c=e.rightColor?t.withColor(e.rightColor):t;a=rO.leftRightDelim(e.right,i,s,c,e.mode,["mclose"])}return n.push(a),tc.makeSpan(["minner"],n,t)},mathmlBuilder:(e,t)=>{rV(e);var r=tX(e.body,t);if("."!==e.left){var a=new tF.MathNode("mo",[tG(e.left,e.mode)]);a.setAttribute("fence","true"),r.unshift(a)}if("."!==e.right){var n=new tF.MathNode("mo",[tG(e.right,e.mode)]);n.setAttribute("fence","true"),e.rightColor&&n.setAttribute("mathcolor",e.rightColor),r.push(n)}return tU(r)}}),tx({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=rD(t[0],e);if(!e.parser.leftrightDepth)throw new B("\\middle without preceding \\left",r);return{type:"middle",mode:e.parser.mode,delim:r.text}},htmlBuilder:(e,t)=>{var r;if("."===e.delim)r=tR(t,[]);else{r=rO.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?tG("|","text"):tG(e.delim,e.mode),a=new tF.MathNode("mo",[r]);return a.setAttribute("fence","true"),a.setAttribute("lspace","0.05em"),a.setAttribute("rspace","0.05em"),a}});var rP=(e,t)=>{var r,a,n=tc.wrapFragment(tO(e.body,t),t),i=e.label.slice(1),s=t.sizeMultiplier,o=0,l=R.isCharacterBox(e.body);if("sout"===i)(r=tc.makeSpan(["stretchy","sout"])).height=t.fontMetrics().defaultRuleThickness/s,o=-.5*t.fontMetrics().xHeight;else if("phase"===i){var h,m=ep({number:.6,unit:"pt"},t),c=ep({number:.35,unit:"ex"},t);s/=t.havingBaseSizing().sizeMultiplier;var p=n.height+n.depth+m+c;n.style.paddingLeft=eu(p/2+m);var u=Math.floor(1e3*p*s);var d=new eS([new eM("phase","M400000 "+(h=u)+" H0 L"+h/2+" 0 l65 45 L145 "+(h-80)+" H400000z")],{width:"400em",height:eu(u/1e3),viewBox:"0 0 400000 "+u,preserveAspectRatio:"xMinYMin slice"});(r=tc.makeSvgSpan(["hide-tail"],[d],t)).style.height=eu(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=t1.encloseSpan(n,i,g,f,t),/fbox|boxed|fcolorbox/.test(i)?(r.style.borderStyle="solid",r.style.borderWidth=eu(v)):"angl"===i&&.049!==v&&(r.style.borderTopWidth=eu(v),r.style.borderRightWidth=eu(v)),o=n.depth+f,e.backgroundColor&&(r.style.backgroundColor=e.backgroundColor,e.borderColor&&(r.style.borderColor=e.borderColor))}if(e.backgroundColor)a=tc.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=tc.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)?tc.makeSpan(["mord","cancel-lap"],[a],t):tc.makeSpan(["mord"],[a],t)},rF=(e,t)=>{var r=0,a=new tF.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[tj(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};tx({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(e,t,r){var{parser:a,funcName:n}=e,i=t4(t[0],"color-token").color,s=t[1];return{type:"enclose",mode:a.mode,label:n,backgroundColor:i,body:s}},htmlBuilder:rP,mathmlBuilder:rF}),tx({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,t,r){var{parser:a,funcName:n}=e,i=t4(t[0],"color-token").color,s=t4(t[1],"color-token").color,o=t[2];return{type:"enclose",mode:a.mode,label:n,backgroundColor:s,borderColor:i,body:o}},htmlBuilder:rP,mathmlBuilder:rF}),tx({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]}}}),tx({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:rP,mathmlBuilder:rF}),tx({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 rG={};function rU(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)rG[r[l]]=o;i&&(tb[t]=i),s&&(ty[t]=s)}var rY={};function rX(e,t){rY[e]=t}function rW(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 rj=e=>{if(!e.parser.settings.displayMode)throw new B("{"+e.envName+"} can be used only in display mode.")};function r$(e){if(-1===e.indexOf("ed"))return -1===e.indexOf("*")}function r_(e,t,r){var{hskipBeforeAndAfter:a,addJot:n,cols:i,arraystretch:s,colSeparationType:o,autoTag:l,singleRow:h,emptySingleRow:m,maxNumCols:c,leqno:p}=t;if(e.gullet.beginGroup(),!h&&e.gullet.macros.set("\\cr","\\\\\\relax"),!s){var u=e.gullet.expandMacroAsText("\\arraystretch");if(null==u)s=1;else if(!(s=parseFloat(u))||s<0)throw new B("Invalid \\arraystretch: "+u)}e.gullet.beginGroup();var d=[],g=[d],f=[],v=[],b=null!=l?[]:void 0;function y(){l&&e.gullet.macros.set("\\@eqnsw","1",!0)}function x(){b&&(e.gullet.macros.get("\\df@tag")?(b.push(e.subparse([new T("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):b.push(!!l&&"1"===e.gullet.macros.get("\\@eqnsw")))}for(y(),v.push(rW(e));;){var w=e.parseExpression(!1,h?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup(),w={type:"ordgroup",mode:e.mode,body:w},r&&(w={type:"styling",mode:e.mode,style:r,body:[w]}),d.push(w);var k=e.fetch().text;if("&"===k){if(c&&d.length===c){if(h||o)throw new B("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else if("\\end"===k){x(),1===d.length&&"styling"===w.type&&0===w.body[0].body.length&&(g.length>1||!m)&&g.pop(),v.length<g.length+1&&v.push([]);break}else if("\\\\"===k){e.consume();var S=void 0;" "!==e.gullet.future().text&&(S=e.parseSizeGroup(!0)),f.push(S?S.value:null),x(),v.push(rW(e)),d=[],g.push(d),y()}else throw new B("Expected & or \\\\ or \\cr or \\end",e.nextToken)}return e.gullet.endGroup(),e.gullet.endGroup(),{type:"array",mode:e.mode,addJot:n,arraystretch:s,body:g,cols:i,rowGaps:f,hskipBeforeAndAfter:a,hLinesBeforeRow:v,colSeparationType:o,tags:b,leqno:p}}function rZ(e){return"d"===e.slice(0,1)?"display":"text"}var rK=function(e,t){var r,a,n,i,s=e.body.length,o=e.hLinesBeforeRow,l=0,h=Array(s),m=[],c=Math.max(t.fontMetrics().arrayRuleWidth,t.minRuleThickness),p=1/t.fontMetrics().ptPerEm,u=5*p;e.colSeparationType&&"small"===e.colSeparationType&&(u=.2778*(t.havingStyle(X.SCRIPT).sizeMultiplier/t.sizeMultiplier));var d="CD"===e.colSeparationType?ep({number:3,unit:"ex"},t):12*p,g=3*p,f=e.arraystretch*d,v=.7*f,b=.3*f,y=0;function x(e){for(var t=0;t<e.length;++t)t>0&&(y+=.25),m.push({pos:y,isDashed:e[t]})}for(x(o[0]),r=0;r<e.body.length;++r){var w=e.body[r],k=v,S=b;l<w.length&&(l=w.length);var M=Array(w.length);for(a=0;a<w.length;++a){var z=tO(w[a],t);S<z.depth&&(S=z.depth),k<z.height&&(k=z.height),M[a]=z}var A=e.rowGaps[r],T=0;A&&(T=ep(A,t))>0&&(S<(T+=b)&&(S=T),T=0),e.addJot&&(S+=g),M.height=k,M.depth=S,y+=k,M.pos=y,y+=S+T,h[r]=M,x(o[r+1])}var C=y/2+t.fontMetrics().axisHeight,q=e.cols||[],N=[],I=[];if(e.tags&&e.tags.some(e=>e))for(r=0;r<s;++r){var H=h[r],O=H.pos-C,E=e.tags[r],L=void 0;(L=!0===E?tc.makeSpan(["eqn-num"],[],t):!1===E?tc.makeSpan([],[],t):tc.makeSpan([],tC(E,t,!0),t)).depth=H.depth,L.height=H.height,I.push({type:"elem",elem:L,shift:O})}for(a=0,i=0;a<l||i<q.length;++a,++i){for(var D=q[i]||{},V=!0;"separator"===D.type;){if(!V&&((n=tc.makeSpan(["arraycolsep"],[])).style.width=eu(t.fontMetrics().doubleRuleSep),N.push(n)),"|"===D.separator||":"===D.separator){var P="|"===D.separator?"solid":"dashed",F=tc.makeSpan(["vertical-separator"],[],t);F.style.height=eu(y),F.style.borderRightWidth=eu(c),F.style.borderRightStyle=P,F.style.margin="0 "+eu(-c/2);var G=y-C;G&&(F.style.verticalAlign=eu(-G)),N.push(F)}else throw new B("Invalid separator type: "+D.separator);D=q[++i]||{},V=!1}if(!(a>=l)){var U=void 0;(a>0||e.hskipBeforeAndAfter)&&0!==(U=R.deflt(D.pregap,u))&&((n=tc.makeSpan(["arraycolsep"],[])).style.width=eu(U),N.push(n));var Y=[];for(r=0;r<s;++r){var W=h[r],j=W[a];if(!!j){var $=W.pos-C;j.depth=W.depth,j.height=W.height,Y.push({type:"elem",elem:j,shift:$})}}Y=tc.makeVList({positionType:"individualShift",children:Y},t),Y=tc.makeSpan(["col-align-"+(D.align||"c")],[Y]),N.push(Y),(a<l-1||e.hskipBeforeAndAfter)&&0!==(U=R.deflt(D.postgap,u))&&((n=tc.makeSpan(["arraycolsep"],[])).style.width=eu(U),N.push(n))}}if(h=tc.makeSpan(["mtable"],N),m.length>0){for(var _=tc.makeLineSpan("hline",t,c),Z=tc.makeLineSpan("hdashline",t,c),K=[{type:"elem",elem:h,shift:0}];m.length>0;){var J=m.pop(),Q=J.pos-C;J.isDashed?K.push({type:"elem",elem:Z,shift:Q}):K.push({type:"elem",elem:_,shift:Q})}h=tc.makeVList({positionType:"individualShift",children:K},t)}if(0===I.length)return tc.makeSpan(["mord"],[h],t);var ee=tc.makeVList({positionType:"individualShift",children:I},t);return ee=tc.makeSpan(["tag"],[ee],t),tc.makeFragment([h,ee])},rJ={c:"center ",l:"left ",r:"right "},rQ=function(e,t){for(var r=[],a=new tF.MathNode("mtd",[],["mtr-glue"]),n=new tF.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 tF.MathNode("mtd",[tj(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 tF.MathNode("mtr",o))}var h=new tF.MathNode("mtable",r),m=.5===e.arraystretch?.1:.16+e.arraystretch-1+(e.addJot?.09:0);h.setAttribute("rowspacing",eu(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+=rJ[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 tF.MathNode("menclose",[h])).setAttribute("notation",c.trim()),e.arraystretch&&e.arraystretch<1&&(h=new tF.MathNode("mstyle",[h])).setAttribute("scriptlevel","1"),h},r0=function(e,t){-1===e.envName.indexOf("ed")&&rj(e);var r,a=[],n=e.envName.indexOf("at")>-1?"alignat":"align",i="split"===e.envName,s=r_(e.parser,{cols:a,addJot:!0,autoTag:i?void 0:r$(e.envName),emptySingleRow:!0,colSeparationType:n,maxNumCols:i?2:void 0,leqno:e.parser.settings.leqno},"display"),o=0,l={type:"ordgroup",mode:e.mode,body:[]};if(t[0]&&"ordgroup"===t[0].type){for(var h="",m=0;m<t[0].body.length;m++)h+=t4(t[0].body[m],"textord").text;o=2*(r=Number(h))}var c=!o;s.body.forEach(function(e){for(var t=1;t<e.length;t+=2){var a=t4(e[t],"styling");t4(a.body[0],"ordgroup").body.unshift(l)}if(c)o<e.length&&(o=e.length);else{var n=e.length/2;if(r<n)throw new B("Too many math in a row: "+("expected "+r+", but got ")+n,e[0])}});for(var p=0;p<o;++p){var u="r",d=0;p%2==1?u="l":p>0&&c&&(d=1),a[p]={type:"align",align:u,pregap:d,postgap:0}}return s.colSeparationType=c?"align":"alignat",s};rU({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){var r=(t6(t[0])?[t[0]]:t4(t[0],"ordgroup").body).map(function(e){var t=t5(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 B("Unknown column alignment: "+t,e)}),a={cols:r,hskipBeforeAndAfter:!0,maxNumCols:r.length};return r_(e.parser,a,rZ(e.envName))},htmlBuilder:rK,mathmlBuilder:rQ}),rU({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 B("Expected l or c or r",n.nextToken);n.consume(),n.consumeSpaces(),n.expect("]"),n.consume(),a.cols=[{type:"align",align:r}]}}var i=r_(e.parser,a,rZ(e.envName)),s=Math.max(0,...i.body.map(e=>e.length));return i.cols=Array(s).fill({type:"align",align:r}),t?{type:"leftright",mode:e.mode,body:[i],left:t[0],right:t[1],rightColor:void 0}:i},htmlBuilder:rK,mathmlBuilder:rQ}),rU({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var t=r_(e.parser,{arraystretch:.5},"script");return t.colSeparationType="small",t},htmlBuilder:rK,mathmlBuilder:rQ}),rU({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){var r=(t6(t[0])?[t[0]]:t4(t[0],"ordgroup").body).map(function(e){var t=t5(e).text;if(-1!=="lc".indexOf(t))return{type:"align",align:t};throw new B("Unknown column alignment: "+t,e)});if(r.length>1)throw new B("{subarray} can contain only one column");var a={cols:r,hskipBeforeAndAfter:!1,arraystretch:.5};if((a=r_(e.parser,a,"script")).body.length>0&&a.body[0].length>1)throw new B("{subarray} can contain only one column");return a},htmlBuilder:rK,mathmlBuilder:rQ}),rU({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(e){var t=r_(e.parser,{arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},rZ(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:rK,mathmlBuilder:rQ}),rU({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:r0,htmlBuilder:rK,mathmlBuilder:rQ}),rU({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){R.contains(["gather","gather*"],e.envName)&&rj(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:r$(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return r_(e.parser,t,"display")},htmlBuilder:rK,mathmlBuilder:rQ}),rU({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:r0,htmlBuilder:rK,mathmlBuilder:rQ}),rU({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){rj(e);var t={autoTag:r$(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return r_(e.parser,t,"display")},htmlBuilder:rK,mathmlBuilder:rQ}),rU({type:"array",names:["CD"],props:{numArgs:0},handler:e=>(rj(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 B("Expected \\\\ or \\cr or \\end",e.nextToken)}for(var a=[],n=[a],i=0;i<t.length;i++){for(var s=t[i],o=rn(),l=0;l<s.length;l++)if(ri(s[l])){a.push(o);var h=t5(s[l+=1]).text,m=[,,];if(m[0]={type:"ordgroup",mode:"math",body:[]},m[1]={type:"ordgroup",mode:"math",body:[]},"=|.".indexOf(h)>-1);else if("<>AV".indexOf(h)>-1)for(var c=0;c<2;c++){for(var p=!0,u=l+1;u<s.length;u++){if(rs(s[u],h)){p=!1,l=u;break}if(ri(s[u]))throw new B("Missing a "+h+" character to complete a CD arrow.",s[u]);m[c].body.push(s[u])}if(p)throw new B("Missing a "+h+" character to complete a CD arrow.",s[l])}else throw new B('Expected one of "<>AV=|." after @',s[l]);var d={type:"styling",body:[function(e,t,r){var a=ra[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"}}}(h,m,e)],mode:"math",style:"display"};a.push(d),o=rn()}else o.body.push(s[l]);i%2==0?a.push(o):a.shift(),a=[],n.push(a)}e.gullet.endGroup(),e.gullet.endGroup();var g=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:g,colSeparationType:"CD",hLinesBeforeRow:Array(n.length+1).fill([])}}(e.parser)),htmlBuilder:rK,mathmlBuilder:rQ}),rY["\\nonumber"]="\\gdef\\@eqnsw{0}",rY["\\notag"]="\\nonumber",tx({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,t){throw new B(e.funcName+" valid only within array environment")}});tx({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 B("Invalid environment name",n);for(var i="",s=0;s<n.body.length;++s)i+=t4(n.body[s],"textord").text;if("\\begin"===a){if(!rG.hasOwnProperty(i))throw new B("No such environment: "+i,n);var o=rG[i],{args:l,optArgs:h}=r.parseArguments("\\begin{"+i+"}",o),m={mode:r.mode,envName:i,parser:r},c=o.handler(m,l,h);r.expect("\\end",!1);var p=r.nextToken,u=t4(r.parseFunction(),"environment");if(u.name!==i)throw new B("Mismatch: \\begin{"+i+"} matched by \\end{"+u.name+"}",p);return c}return{type:"environment",mode:r.mode,name:i,nameGroup:n}}});var r1=(e,t)=>{var r=e.font,a=t.withFont(r);return tO(e.body,a)},r4=(e,t)=>{var r=e.font,a=t.withFont(r);return tj(e.body,a)},r5={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};tx({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=tk(t[0]),i=a;return i in r5&&(i=r5[i]),{type:"font",mode:r.mode,font:i.slice(1),body:n}},htmlBuilder:r1,mathmlBuilder:r4}),tx({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,t)=>{var{parser:r}=e,a=t[0],n=R.isCharacterBox(a);return{type:"mclass",mode:r.mode,mclass:rr(a),body:[{type:"font",mode:r.mode,font:"boldsymbol",body:a}],isCharacterBox:n}}}),tx({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:r1,mathmlBuilder:r4});var r6=(e,t)=>{var r=t;return"display"===e?r=r.id>=X.SCRIPT.id?r.text():X.DISPLAY:"text"===e&&r.size===X.DISPLAY.size?r=X.TEXT:"script"===e?r=X.SCRIPT:"scriptscript"===e&&(r=X.SCRIPTSCRIPT),r},r7=(e,t)=>{var r,a,n,i,s,o,l,h,m,c,p,u=r6(e.size,t.style),d=u.fracNum(),g=u.fracDen();r=t.havingStyle(d);var f=tO(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=tO(e.denom,r,t);if(e.hasBarLine?(e.barSize?(n=ep(e.barSize,t),a=tc.makeLineSpan("frac-line",t,n)):a=tc.makeLineSpan("frac-line",t),n=a.height,i=a.height):(a=null,n=0,i=t.fontMetrics().defaultRuleThickness),u.size===X.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=tc.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=tc.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===X.DISPLAY.size?t.fontMetrics().delim1:u.size===X.SCRIPTSCRIPT.size?t.havingStyle(X.SCRIPT).fontMetrics().delim2:t.fontMetrics().delim2,c=null==e.leftDelim?tR(t,["mopen"]):rO.customSizedDelim(e.leftDelim,m,!0,t.havingStyle(u),e.mode,["mopen"]),p=e.continued?tc.makeSpan([]):null==e.rightDelim?tR(t,["mclose"]):rO.customSizedDelim(e.rightDelim,m,!0,t.havingStyle(u),e.mode,["mclose"]),tc.makeSpan(["mord"].concat(r.sizingClasses(t)),[c,tc.makeSpan(["mfrac"],[h]),p],t)},r3=(e,t)=>{var r=new tF.MathNode("mfrac",[tj(e.numer,t),tj(e.denom,t)]);if(e.hasBarLine){if(e.barSize){var a=ep(e.barSize,t);r.setAttribute("linethickness",eu(a))}}else r.setAttribute("linethickness","0px");var n=r6(e.size,t.style);if(n.size!==t.style.size){r=new tF.MathNode("mstyle",[r]);var i=n.size===X.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 tF.MathNode("mo",[new tF.TextNode(e.leftDelim.replace("\\",""))]);o.setAttribute("fence","true"),s.push(o)}if(s.push(r),null!=e.rightDelim){var l=new tF.MathNode("mo",[new tF.TextNode(e.rightDelim.replace("\\",""))]);l.setAttribute("fence","true"),s.push(l)}return tU(s)}return r};tx({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:r7,mathmlBuilder:r3}),tx({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}}}),tx({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 r8=["display","text","script","scriptscript"],r2=function(e){var t=null;return e.length>0&&(t="."===(t=e)?null:t),t};tx({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=tk(t[0]),o="atom"===s.type&&"open"===s.family?r2(s.text):null,l=tk(t[1]),h="atom"===l.type&&"close"===l.family?r2(l.text):null,m=t4(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=r8[Number(t4(u.body[0],"textord").text)]):p=r8[Number((u=t4(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:r7,mathmlBuilder:r3}),tx({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:t4(t[0],"size").value,token:n}}}),tx({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,t)=>{var{parser:r,funcName:a}=e,n=t[0],i=H(t4(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:r7,mathmlBuilder:r3});var r9=(e,t)=>{var r,a,n,i=t.style;"supsub"===e.type?(r=e.sup?tO(e.sup,t.havingStyle(i.sup()),t):tO(e.sub,t.havingStyle(i.sub()),t),a=t4(e.base,"horizBrace")):a=t4(e,"horizBrace");var s=tO(a.base,t.havingBaseStyle(X.DISPLAY)),o=t1.svgSpan(a,t);if(a.isOver?(n=tc.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=tc.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=tc.makeSpan(["mord",a.isOver?"mover":"munder"],[n],t);n=a.isOver?tc.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:.2},{type:"elem",elem:r}]},t):tc.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 tc.makeSpan(["mord",a.isOver?"mover":"munder"],[n],t)};tx({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:r9,mathmlBuilder:(e,t)=>{var r=t1.mathMLnode(e.label);return new tF.MathNode(e.isOver?"mover":"munder",[tj(e.base,t),r])}}),tx({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,a=t[1],n=t4(t[0],"url").url;return r.settings.isTrusted({command:"\\href",url:n})?{type:"href",mode:r.mode,href:n,body:tS(a)}:r.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{var r=tC(e.body,t,!1);return tc.makeAnchor(e.href,[],r,t)},mathmlBuilder:(e,t)=>{var r=tW(e.body,t);return!(r instanceof tV)&&(r=new tV("mrow",[r])),r.setAttribute("href",e.href),r}}),tx({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,a=t4(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:tS(o)}}}),tx({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:tS(t[0])}},htmlBuilder(e,t){var r=tC(e.body,t,!1);return tc.makeFragment(r)},mathmlBuilder:(e,t)=>new tF.MathNode("mrow",tX(e.body,t))}),tx({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:i}=e,s=t4(t[0],"raw").string,o=t[1];a.settings.strict&&a.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var l={};switch(n){case"\\htmlClass":l.class=s,r={command:"\\htmlClass",class:s};break;case"\\htmlId":l.id=s,r={command:"\\htmlId",id:s};break;case"\\htmlStyle":l.style=s,r={command:"\\htmlStyle",style:s};break;case"\\htmlData":for(var h=s.split(","),m=0;m<h.length;m++){var c=h[m].split("=");if(2!==c.length)throw new B("Error parsing key-value for \\htmlData");l["data-"+c[0].trim()]=c[1].trim()}r={command:"\\htmlData",attributes:l};break;default:throw Error("Unrecognized html command")}return a.settings.isTrusted(r)?{type:"html",mode:a.mode,attributes:l,body:tS(o)}:a.formatUnsupportedCmd(n)},htmlBuilder:(e,t)=>{var r=tC(e.body,t,!1),a=["enclosing"];e.attributes.class&&a.push(...e.attributes.class.trim().split(/\s+/));var n=tc.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)=>tW(e.body,t)}),tx({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"htmlmathml",mode:r.mode,html:tS(t[0]),mathml:tS(t[1])}},htmlBuilder:(e,t)=>{var r=tC(e.html,t,!1);return tc.makeFragment(r)},mathmlBuilder:(e,t)=>tW(e.mathml,t)});var ae=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 B("Invalid size: '"+e+"' in \\includegraphics");var r={number:+(t[1]+t[2]),unit:t[3]};if(!ec(r))throw new B("Invalid unit: '"+r.unit+"' in \\includegraphics.");return r};tx({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"},i={number:.9,unit:"em"},s={number:0,unit:"em"},o="";if(r[0]){for(var l=t4(r[0],"raw").string.split(","),h=0;h<l.length;h++){var m=l[h].split("=");if(2===m.length){var c=m[1].trim();switch(m[0].trim()){case"alt":o=c;break;case"width":n=ae(c);break;case"height":i=ae(c);break;case"totalheight":s=ae(c);break;default:throw new B("Invalid key: '"+m[0]+"' in \\includegraphics.")}}}}var p=t4(t[0],"url").url;return(""===o&&(o=(o=(o=p).replace(/^.*[\\/]/,"")).substring(0,o.lastIndexOf("."))),a.settings.isTrusted({command:"\\includegraphics",url:p}))?{type:"includegraphics",mode:a.mode,alt:o,width:n,height:i,totalheight:s,src:p}:a.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(e,t)=>{var r=ep(e.height,t),a=0;e.totalheight.number>0&&(a=ep(e.totalheight,t)-r);var n=0;e.width.number>0&&(n=ep(e.width,t));var i={height:eu(r+a)};n>0&&(i.width=eu(n)),a>0&&(i.verticalAlign=eu(-a));var s=new ex(e.src,e.alt,i);return s.height=r,s.depth=a,s},mathmlBuilder:(e,t)=>{var r=new tF.MathNode("mglyph",[]);r.setAttribute("alt",e.alt);var a=ep(e.height,t),n=0;if(e.totalheight.number>0&&(n=ep(e.totalheight,t)-a,r.setAttribute("valign",eu(-n))),r.setAttribute("height",eu(a+n)),e.width.number>0){var i=ep(e.width,t);r.setAttribute("width",eu(i))}return r.setAttribute("src",e.src),r}}),tx({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=t4(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)=>tc.makeGlue(e.dimension,t),mathmlBuilder(e,t){var r=ep(e.dimension,t);return new tF.SpaceNode(r)}}),tx({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=tc.makeSpan([],[tO(e.body,t)]),r=tc.makeSpan(["inner"],[r],t)):r=tc.makeSpan(["inner"],[tO(e.body,t)]);var r,a=tc.makeSpan(["fix"],[]),n=tc.makeSpan([e.alignment],[r,a],t),i=tc.makeSpan(["strut"]);return i.style.height=eu(n.height+n.depth),n.depth&&(i.style.verticalAlign=eu(-n.depth)),n.children.unshift(i),n=tc.makeSpan(["thinbox"],[n],t),tc.makeSpan(["mord","vbox"],[n],t)},mathmlBuilder:(e,t)=>{var r=new tF.MathNode("mpadded",[tj(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}}),tx({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}}}),tx({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new B("Mismatched "+e.funcName)}});var at=(e,t)=>{switch(t.style.size){case X.DISPLAY.size:return e.display;case X.TEXT.size:return e.text;case X.SCRIPT.size:return e.script;case X.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};tx({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"mathchoice",mode:r.mode,display:tS(t[0]),text:tS(t[1]),script:tS(t[2]),scriptscript:tS(t[3])}},htmlBuilder:(e,t)=>{var r=tC(at(e,t),t,!1);return tc.makeFragment(r)},mathmlBuilder:(e,t)=>tW(at(e,t),t)});var ar=(e,t,r,a,n,i,s)=>{e=tc.makeSpan([],[e]);var o,l,h,m=r&&R.isCharacterBox(r);if(t){var c=tO(t,a.havingStyle(n.sup()),a);l={elem:c,kern:Math.max(a.fontMetrics().bigOpSpacing1,a.fontMetrics().bigOpSpacing3-c.depth)}}if(r){var p=tO(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=tc.makeVList({positionType:"bottom",positionData:u,children:[{type:"kern",size:a.fontMetrics().bigOpSpacing5},{type:"elem",elem:o.elem,marginLeft:eu(-i)},{type:"kern",size:o.kern},{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:eu(i)},{type:"kern",size:a.fontMetrics().bigOpSpacing5}]},a)}else if(o){var d=e.height-s;h=tc.makeVList({positionType:"top",positionData:d,children:[{type:"kern",size:a.fontMetrics().bigOpSpacing5},{type:"elem",elem:o.elem,marginLeft:eu(-i)},{type:"kern",size:o.kern},{type:"elem",elem:e}]},a)}else{if(!l)return e;var g=e.depth+s;h=tc.makeVList({positionType:"bottom",positionData:g,children:[{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:eu(i)},{type:"kern",size:a.fontMetrics().bigOpSpacing5}]},a)}var f=[h];if(o&&0!==i&&!m){var v=tc.makeSpan(["mspace"],[],a);v.style.marginRight=eu(i),f.unshift(v)}return tc.makeSpan(["mop","op-limits"],f,a)},aa=["\\smallint"],an=(e,t)=>{var r,a,n,i,s=!1;"supsub"===e.type?(r=e.sup,a=e.sub,n=t4(e.base,"op"),s=!0):n=t4(e,"op");var o=t.style,l=!1;if(o.size===X.DISPLAY.size&&n.symbol&&!R.contains(aa,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=tc.makeSymbol(n.name,h,"math",t,["mop","op-symbol",l?"large-op":"small-op"]),m.length>0){var c=i.italic,p=tc.staticSvg(m+"Size"+(l?"2":"1"),t);i=tc.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=tC(n.body,t,!0);1===u.length&&u[0]instanceof ek?(i=u[0]).classes[0]="mop":i=tc.makeSpan(["mop"],u,t)}else{for(var d=[],g=1;g<n.name.length;g++)d.push(tc.mathsym(n.name[g],n.mode,t));i=tc.makeSpan(["mop"],d,t)}var f=0,v=0;return((i instanceof ek||"\\oiint"===n.name||"\\oiiint"===n.name)&&!n.suppressBaseShift&&(f=(i.height-i.depth)/2-t.fontMetrics().axisHeight,v=i.italic),s)?ar(i,r,a,t,o,v,f):(f&&(i.style.position="relative",i.style.top=eu(f)),i)},ai=(e,t)=>{var r;if(e.symbol)r=new tV("mo",[tG(e.name,e.mode)]),R.contains(aa,e.name)&&r.setAttribute("largeop","false");else if(e.body)r=new tV("mo",tX(e.body,t));else{r=new tV("mi",[new tP(e.name.slice(1))]);var a=new tV("mo",[tG("\u2061","text")]);r=e.parentIsSupSub?new tV("mrow",[r,a]):tD([r,a])}return r},as={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};tx({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","\u220F","\u2210","\u2211","\u22C0","\u22C1","\u22C2","\u22C3","\u2A00","\u2A01","\u2A02","\u2A04","\u2A06"],props:{numArgs:0},handler:(e,t)=>{var{parser:r,funcName:a}=e,n=a;return 1===n.length&&(n=as[n]),{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:an,mathmlBuilder:ai}),tx({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:tS(a)}},htmlBuilder:an,mathmlBuilder:ai});var ao={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};tx({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:an,mathmlBuilder:ai}),tx({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:an,mathmlBuilder:ai}),tx({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e,a=r;return 1===a.length&&(a=ao[a]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:a}},htmlBuilder:an,mathmlBuilder:ai});var al=(e,t)=>{var r,a,n,i,s=!1;if("supsub"===e.type?(r=e.sup,a=e.sub,n=t4(e.base,"operatorname"),s=!0):n=t4(e,"operatorname"),n.body.length>0){for(var o=tC(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 ek&&(h.text=h.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}i=tc.makeSpan(["mop"],o,t)}else i=tc.makeSpan(["mop"],[],t);return s?ar(i,r,a,t,t.style,0,0):i};function ah(e,t,r){for(var a=tC(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 tc.makeFragment(a)}tx({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:tS(n),alwaysHandleSupSub:"\\operatornamewithlimits"===a,limits:!1,parentIsSupSub:!1}},htmlBuilder:al,mathmlBuilder:(e,t)=>{for(var r=tX(e.body,t.withFont("mathrm")),a=!0,n=0;n<r.length;n++){var i=r[n];if(i instanceof tF.SpaceNode);else if(i instanceof tF.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 tF.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 tF.TextNode(o)]}var l=new tF.MathNode("mi",r);l.setAttribute("mathvariant","normal");var h=new tF.MathNode("mo",[tG("\u2061","text")]);return e.parentIsSupSub?new tF.MathNode("mrow",[l,h]):tF.newDocumentFragment([l,h])}}),rY["\\operatorname"]="\\@ifstar\\operatornamewithlimits\\operatorname@",tw({type:"ordgroup",htmlBuilder:(e,t)=>e.semisimple?tc.makeFragment(tC(e.body,t,!1)):tc.makeSpan(["mord"],tC(e.body,t,!0),t),mathmlBuilder:(e,t)=>tW(e.body,t,!0)}),tx({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=tO(e.body,t.havingCrampedStyle()),a=tc.makeLineSpan("overline-line",t),n=t.fontMetrics().defaultRuleThickness,i=tc.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:3*n},{type:"elem",elem:a},{type:"kern",size:n}]},t);return tc.makeSpan(["mord","overline"],[i],t)},mathmlBuilder(e,t){var r=new tF.MathNode("mo",[new tF.TextNode("\u203E")]);r.setAttribute("stretchy","true");var a=new tF.MathNode("mover",[tj(e.body,t),r]);return a.setAttribute("accent","true"),a}}),tx({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:tS(a)}},htmlBuilder:(e,t)=>{var r=tC(e.body,t.withPhantom(),!1);return tc.makeFragment(r)},mathmlBuilder:(e,t)=>{var r=tX(e.body,t);return new tF.MathNode("mphantom",r)}}),tx({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=tc.makeSpan([],[tO(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=tc.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r}]},t),tc.makeSpan(["mord"],[r],t)},mathmlBuilder:(e,t)=>{var r=tX(tS(e.body),t),a=new tF.MathNode("mphantom",r),n=new tF.MathNode("mpadded",[a]);return n.setAttribute("height","0px"),n.setAttribute("depth","0px"),n}}),tx({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=tc.makeSpan(["inner"],[tO(e.body,t.withPhantom())]),a=tc.makeSpan(["fix"],[]);return tc.makeSpan(["mord","rlap"],[r,a],t)},mathmlBuilder:(e,t)=>{var r=tX(tS(e.body),t),a=new tF.MathNode("mphantom",r),n=new tF.MathNode("mpadded",[a]);return n.setAttribute("width","0px"),n}}),tx({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e,a=t4(t[0],"size").value,n=t[1];return{type:"raisebox",mode:r.mode,dy:a,body:n}},htmlBuilder(e,t){var r=tO(e.body,t),a=ep(e.dy,t);return tc.makeVList({positionType:"shift",positionData:-a,children:[{type:"elem",elem:r}]},t)},mathmlBuilder(e,t){var r=new tF.MathNode("mpadded",[tj(e.body,t)]),a=e.dy.number+e.dy.unit;return r.setAttribute("voffset",a),r}}),tx({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:t}=e;return{type:"internal",mode:t.mode}}}),tx({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=t4(t[0],"size"),s=t4(t[1],"size");return{type:"rule",mode:a.mode,shift:n&&t4(n,"size").value,width:i.value,height:s.value}},htmlBuilder(e,t){var r=tc.makeSpan(["mord","rule"],[],t),a=ep(e.width,t),n=ep(e.height,t),i=e.shift?ep(e.shift,t):0;return r.style.borderRightWidth=eu(a),r.style.borderTopWidth=eu(n),r.style.bottom=eu(i),r.width=a,r.height=n+i,r.depth=-i,r.maxFontSize=1.125*n*t.sizeMultiplier,r},mathmlBuilder(e,t){var r=ep(e.width,t),a=ep(e.height,t),n=e.shift?ep(e.shift,t):0,i=t.color&&t.getColor()||"black",s=new tF.MathNode("mspace");s.setAttribute("mathbackground",i),s.setAttribute("width",eu(r)),s.setAttribute("height",eu(a));var o=new tF.MathNode("mpadded",[s]);return n>=0?o.setAttribute("height",eu(n)):(o.setAttribute("height",eu(n)),o.setAttribute("depth",eu(-n))),o.setAttribute("voffset",eu(n)),o}});var am=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"];tx({type:"sizing",names:am,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:am.indexOf(a)+1,body:i}},htmlBuilder:(e,t)=>{var r=t.havingSize(e.size);return ah(e.body,r,t)},mathmlBuilder:(e,t)=>{var r=t.havingSize(e.size),a=tX(e.body,r),n=new tF.MathNode("mstyle",a);return n.setAttribute("mathsize",eu(r.sizeMultiplier)),n}}),tx({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]&&t4(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=tc.makeSpan([],[tO(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=tc.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r}]},t);return tc.makeSpan(["mord"],[i],t)},mathmlBuilder:(e,t)=>{var r=new tF.MathNode("mpadded",[tj(e.body,t)]);return e.smashHeight&&r.setAttribute("height","0px"),e.smashDepth&&r.setAttribute("depth","0px"),r}}),tx({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=tO(e.body,t.havingCrampedStyle());0===r.height&&(r.height=t.fontMetrics().xHeight),r=tc.wrapFragment(r,t);var a=t.fontMetrics().defaultRuleThickness,n=a;t.style.id<X.TEXT.id&&(n=t.fontMetrics().xHeight);var i=a+n/4,s=r.height+r.depth+i+a,{span:o,ruleWidth:l,advanceWidth:h}=rO.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=eu(h);var p=tc.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 tc.makeSpan(["mord","sqrt"],[p],t);var u=t.havingStyle(X.SCRIPTSCRIPT),d=tO(e.index,u,t),g=.6*(p.height-p.depth),f=tc.makeVList({positionType:"shift",positionData:-g,children:[{type:"elem",elem:d}]},t),v=tc.makeSpan(["root"],[f]);return tc.makeSpan(["mord","sqrt"],[v,p],t)},mathmlBuilder(e,t){var{body:r,index:a}=e;return a?new tF.MathNode("mroot",[tj(r,t),tj(a,t)]):new tF.MathNode("msqrt",[tj(r,t)])}});var ac={display:X.DISPLAY,text:X.TEXT,script:X.SCRIPT,scriptscript:X.SCRIPTSCRIPT};tx({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=ac[e.style],a=t.havingStyle(r).withFont("");return ah(e.body,a,t)},mathmlBuilder(e,t){var r=ac[e.style],a=t.havingStyle(r),n=tX(e.body,a),i=new tF.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 ap=function(e,t){var r=e.base;if(!r)return null;if("op"===r.type)return r.limits&&(t.style.size===X.DISPLAY.size||r.alwaysHandleSupSub)?an:null;if("operatorname"===r.type)return r.alwaysHandleSupSub&&(t.style.size===X.DISPLAY.size||r.limits)?al:null;else if("accent"===r.type)return R.isCharacterBox(r.base)?t7:null;else if("horizBrace"===r.type)return!e.sub===r.isOver?r9:null;else return null};tw({type:"supsub",htmlBuilder(e,t){var r,a,n,i,s=ap(e,t);if(s)return s(e,t);var{base:o,sup:l,sub:h}=e,m=tO(o,t),c=t.fontMetrics(),p=0,u=0,d=o&&R.isCharacterBox(o);if(l){var g=t.havingStyle(t.style.sup());r=tO(l,g,t),!d&&(p=m.height-g.fontMetrics().supDrop*g.sizeMultiplier/t.sizeMultiplier)}if(h){var f=t.havingStyle(t.style.sub());a=tO(h,f,t),!d&&(u=m.depth+f.fontMetrics().subDrop*f.sizeMultiplier/t.sizeMultiplier)}n=t.style===X.DISPLAY?c.sup1:t.style.cramped?c.sup3:c.sup2;var v=t.sizeMultiplier,b=eu(.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 ek||x)&&(y=eu(-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=tc.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=tc.makeVList({positionType:"shift",positionData:u,children:M},t)}else if(r)p=Math.max(p,n,r.depth+.25*c.xHeight),i=tc.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=tH(m,"right")||"mord";return tc.makeSpan([z],[m,tc.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=[tj(e.base,t)];if(e.sub&&i.push(tj(e.sub,t)),e.sup&&i.push(tj(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===X.DISPLAY?"munderover":s&&"operatorname"===s.type&&s.alwaysHandleSupSub&&(t.style===X.DISPLAY||s.limits)?"munderover":"msubsup"}else{var o=e.base;a=o&&"op"===o.type&&o.limits&&(t.style===X.DISPLAY||o.alwaysHandleSupSub)?"munder":o&&"operatorname"===o.type&&o.alwaysHandleSupSub&&(o.limits||t.style===X.DISPLAY)?"munder":"msub"}}else{var l=e.base;a=l&&"op"===l.type&&l.limits&&(t.style===X.DISPLAY||l.alwaysHandleSupSub)?"mover":l&&"operatorname"===l.type&&l.alwaysHandleSupSub&&(l.limits||t.style===X.DISPLAY)?"mover":"msup"}return new tF.MathNode(a,i)}}),tw({type:"atom",htmlBuilder:(e,t)=>tc.mathsym(e.text,e.mode,t,["m"+e.family]),mathmlBuilder(e,t){var r=new tF.MathNode("mo",[tG(e.text,e.mode)]);if("bin"===e.family){var a=tY(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 au={mi:"italic",mn:"normal",mtext:"normal"};tw({type:"mathord",htmlBuilder:(e,t)=>tc.makeOrd(e,t,"mathord"),mathmlBuilder(e,t){var r=new tF.MathNode("mi",[tG(e.text,e.mode,t)]),a=tY(e,t)||"italic";return a!==au[r.type]&&r.setAttribute("mathvariant",a),r}}),tw({type:"textord",htmlBuilder:(e,t)=>tc.makeOrd(e,t,"textord"),mathmlBuilder(e,t){var r,a=tG(e.text,e.mode,t),n=tY(e,t)||"normal";return n!==au[(r="text"===e.mode?new tF.MathNode("mtext",[a]):/[0-9]/.test(e.text)?new tF.MathNode("mn",[a]):"\\prime"===e.text?new tF.MathNode("mo",[a]):new tF.MathNode("mi",[a])).type]&&r.setAttribute("mathvariant",n),r}});var ad={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},ag={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};tw({type:"spacing",htmlBuilder(e,t){if(ag.hasOwnProperty(e.text)){var r=ag[e.text].className||"";if("text"!==e.mode)return tc.makeSpan(["mspace",r],[tc.mathsym(e.text,e.mode,t)],t);var a=tc.makeOrd(e,t,"textord");return a.classes.push(r),a}if(ad.hasOwnProperty(e.text))return tc.makeSpan(["mspace",ad[e.text]],[],t);throw new B('Unknown type of space "'+e.text+'"')},mathmlBuilder(e,t){var r;if(ag.hasOwnProperty(e.text))r=new tF.MathNode("mtext",[new tF.TextNode("\xa0")]);else if(ad.hasOwnProperty(e.text))return new tF.MathNode("mspace");else throw new B('Unknown type of space "'+e.text+'"');return r}});var af=()=>{var e=new tF.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};tw({type:"tag",mathmlBuilder(e,t){var r=new tF.MathNode("mtable",[new tF.MathNode("mtr",[af(),new tF.MathNode("mtd",[tW(e.body,t)]),af(),new tF.MathNode("mtd",[tW(e.tag,t)])])]);return r.setAttribute("width","100%"),r}});var av={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},ab={"\\textbf":"textbf","\\textmd":"textmd"},ay={"\\textit":"textit","\\textup":"textup"},ax=(e,t)=>{var r=e.font;if(!r)return t;if(av[r])return t.withTextFontFamily(av[r]);if(ab[r])return t.withTextFontWeight(ab[r]);else if("\\emph"===r)return"textit"===t.fontShape?t.withTextFontShape("textup"):t.withTextFontShape("textit");return t.withTextFontShape(ay[r])};tx({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],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:tS(n),font:a}},htmlBuilder(e,t){var r=ax(e,t),a=tC(e.body,r,!0);return tc.makeSpan(["mord","text"],a,r)},mathmlBuilder(e,t){var r=ax(e,t);return tW(e.body,r)}}),tx({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=tO(e.body,t),a=tc.makeLineSpan("underline-line",t),n=t.fontMetrics().defaultRuleThickness,i=tc.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 tc.makeSpan(["mord","underline"],[i],t)},mathmlBuilder(e,t){var r=new tF.MathNode("mo",[new tF.TextNode("\u203E")]);r.setAttribute("stretchy","true");var a=new tF.MathNode("munder",[tj(e.body,t),r]);return a.setAttribute("accentunder","true"),a}}),tx({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=tO(e.body,t),a=t.fontMetrics().axisHeight,n=.5*(r.height-a-(r.depth+a));return tc.makeVList({positionType:"shift",positionData:n,children:[{type:"elem",elem:r}]},t)},mathmlBuilder:(e,t)=>new tF.MathNode("mpadded",[tj(e.body,t)],["vcenter"])}),tx({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,r){throw new B("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){for(var r=aw(e),a=[],n=t.havingStyle(t.style.text()),i=0;i<r.length;i++){var s=r[i];"~"===s&&(s="\\textasciitilde"),a.push(tc.makeSymbol(s,"Typewriter-Regular",e.mode,n,["mord","texttt"]))}return tc.makeSpan(["mord","text"].concat(n.sizingClasses(t)),tc.tryCombineChars(a),n)},mathmlBuilder(e,t){var r=new tF.TextNode(aw(e)),a=new tF.MathNode("mtext",[r]);return a.setAttribute("mathvariant","monospace"),a}});var aw=e=>e.body.replace(/ /g,e.star?"\u2423":"\xa0"),ak="[ \r\n ]",aS="[\u0300-\u036F]",aM=RegExp(aS+"+$"),az="("+ak+"+)|\\\\(\n|[ \r ]+\n?)[ \r ]*|([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+aS+"*|[\uD800-\uDBFF][\uDC00-\uDFFF]"+aS+"*|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|(\\\\[a-zA-Z@]+)"+ak)+"*|\\\\[^\uD800-\uDFFF])";class aA{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(az,"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 T("EOF",new A(this,t,t));var r=this.tokenRegex.exec(e);if(null===r||r.index!==t)throw new B("Unexpected character: '"+e[t]+"'",new T(e[t],new A(this,t,t+1)));var a=r[6]||r[3]||(r[2]?"\\ ":" ");if(14===this.catcodes[a]){var n=e.indexOf("\n",this.tokenRegex.lastIndex);return -1===n?(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=n+1,this.lex()}return new T(a,new A(this,t,this.tokenRegex.lastIndex))}}class aT{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 B("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}}a=function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}},rY["\\noexpand"]=a,n=function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}},rY["\\expandafter"]=n,i=function(e){return{tokens:e.consumeArgs(2)[0],numArgs:0}},rY["\\@firstoftwo"]=i,s=function(e){return{tokens:e.consumeArgs(2)[1],numArgs:0}},rY["\\@secondoftwo"]=s,o=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}},rY["\\@ifnextchar"]=o,rY["\\@ifstar"]="\\@ifnextchar *{\\@firstoftwo{#1}}",l=function(e){var t=e.consumeArgs(2);return"text"===e.mode?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}},rY["\\TextOrMath"]=l;var aB={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};h=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 B("\\char` missing argument");else n=a.text.charCodeAt(0)}else t=10;if(t){if(null==(n=aB[a.text])||n>=t)throw new B("Invalid base-"+t+" digit "+a.text);for(;null!=(r=aB[e.future().text])&&r<t;)n*=t,n+=r,e.popToken()}return"\\@char{"+n+"}"},rY["\\char"]=h;var aC=(e,t,r)=>{var a=e.consumeArg().tokens;if(1!==a.length)throw new B("\\newcommand's first argument must be a macro name");var n=a[0].text,i=e.isDefined(n);if(i&&!t)throw new B("\\newcommand{"+n+"} attempting to redefine "+n+"; use \\renewcommand");if(!i&&!r)throw new B("\\renewcommand{"+n+"} when command "+n+" does not yet exist; use \\newcommand");var s=0;if(1===(a=e.consumeArg().tokens).length&&"["===a[0].text){for(var o="",l=e.expandNextToken();"]"!==l.text&&"EOF"!==l.text;)o+=l.text,l=e.expandNextToken();if(!o.match(/^\s*[0-9]+\s*$/))throw new B("Invalid number of arguments: "+o);s=parseInt(o),a=e.consumeArg().tokens}return e.macros.set(n,{tokens:a,numArgs:s}),""};m=e=>aC(e,!1,!0),rY["\\newcommand"]=m,c=e=>aC(e,!0,!1),rY["\\renewcommand"]=c,p=e=>aC(e,!0,!0),rY["\\providecommand"]=p,u=e=>(console.log(e.consumeArgs(1)[0].reverse().map(e=>e.text).join("")),""),rY["\\message"]=u,d=e=>(console.error(e.consumeArgs(1)[0].reverse().map(e=>e.text).join("")),""),rY["\\errmessage"]=d,g=e=>{var t=e.popToken(),r=t.text;return console.log(t,e.macros.get(r),tv[r],eC.math[r],eC.text[r]),""},rY["\\show"]=g,rY["\\bgroup"]="{",rY["\\egroup"]="}",rY["~"]="\\nobreakspace",rY["\\lq"]="`",rY["\\rq"]="'",rY["\\aa"]="\\r a",rY["\\AA"]="\\r A",rY["\\textcopyright"]="\\html@mathml{\\textcircled{c}}{\\char`\xa9}",rY["\\copyright"]="\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}",rY["\\textregistered"]="\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xae}",rY["\u212C"]="\\mathscr{B}",rY["\u2130"]="\\mathscr{E}",rY["\u2131"]="\\mathscr{F}",rY["\u210B"]="\\mathscr{H}",rY["\u2110"]="\\mathscr{I}",rY["\u2112"]="\\mathscr{L}",rY["\u2133"]="\\mathscr{M}",rY["\u211B"]="\\mathscr{R}",rY["\u212D"]="\\mathfrak{C}",rY["\u210C"]="\\mathfrak{H}",rY["\u2128"]="\\mathfrak{Z}",rY["\\Bbbk"]="\\Bbb{k}",rY["\xb7"]="\\cdotp",rY["\\llap"]="\\mathllap{\\textrm{#1}}",rY["\\rlap"]="\\mathrlap{\\textrm{#1}}",rY["\\clap"]="\\mathclap{\\textrm{#1}}",rY["\\mathstrut"]="\\vphantom{(}",rY["\\underbar"]="\\underline{\\text{#1}}",rY["\\not"]='\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}',rY["\\neq"]="\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}",rY["\\ne"]="\\neq",rY["\u2260"]="\\neq",rY["\\notin"]="\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}",rY["\u2209"]="\\notin",rY["\u2258"]="\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}",rY["\u2259"]="\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}",rY["\u225A"]="\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}",rY["\u225B"]="\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}",rY["\u225D"]="\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}",rY["\u225E"]="\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}",rY["\u225F"]="\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}",rY["\u27C2"]="\\perp",rY["\u203C"]="\\mathclose{!\\mkern-0.8mu!}",rY["\u220C"]="\\notni",rY["\u231C"]="\\ulcorner",rY["\u231D"]="\\urcorner",rY["\u231E"]="\\llcorner",rY["\u231F"]="\\lrcorner",rY["\xa9"]="\\copyright",rY["\xae"]="\\textregistered",rY["\uFE0F"]="\\textregistered",rY["\\ulcorner"]='\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}',rY["\\urcorner"]='\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}',rY["\\llcorner"]='\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}',rY["\\lrcorner"]='\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}',rY["\\vdots"]="\\mathord{\\varvdots\\rule{0pt}{15pt}}",rY["\u22EE"]="\\vdots",rY["\\varGamma"]="\\mathit{\\Gamma}",rY["\\varDelta"]="\\mathit{\\Delta}",rY["\\varTheta"]="\\mathit{\\Theta}",rY["\\varLambda"]="\\mathit{\\Lambda}",rY["\\varXi"]="\\mathit{\\Xi}",rY["\\varPi"]="\\mathit{\\Pi}",rY["\\varSigma"]="\\mathit{\\Sigma}",rY["\\varUpsilon"]="\\mathit{\\Upsilon}",rY["\\varPhi"]="\\mathit{\\Phi}",rY["\\varPsi"]="\\mathit{\\Psi}",rY["\\varOmega"]="\\mathit{\\Omega}",rY["\\substack"]="\\begin{subarray}{c}#1\\end{subarray}",rY["\\colon"]="\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax",rY["\\boxed"]="\\fbox{$\\displaystyle{#1}$}",rY["\\iff"]="\\DOTSB\\;\\Longleftrightarrow\\;",rY["\\implies"]="\\DOTSB\\;\\Longrightarrow\\;",rY["\\impliedby"]="\\DOTSB\\;\\Longleftarrow\\;";var aq={",":"\\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"};f=function(e){var t="\\dotso",r=e.expandAfterFuture().text;return r in aq?t=aq[r]:"\\not"===r.slice(0,4)?t="\\dotsb":r in eC.math&&R.contains(["bin","rel"],eC.math[r].group)&&(t="\\dotsb"),t},rY["\\dots"]=f;var aN={")":!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};v=function(e){return e.future().text in aN?"\\ldots\\,":"\\ldots"},rY["\\dotso"]=v,b=function(e){var t=e.future().text;return t in aN&&","!==t?"\\ldots\\,":"\\ldots"},rY["\\dotsc"]=b,y=function(e){return e.future().text in aN?"\\@cdots\\,":"\\@cdots"},rY["\\cdots"]=y,rY["\\dotsb"]="\\cdots",rY["\\dotsm"]="\\cdots",rY["\\dotsi"]="\\!\\cdots",rY["\\dotsx"]="\\ldots\\,",rY["\\DOTSI"]="\\relax",rY["\\DOTSB"]="\\relax",rY["\\DOTSX"]="\\relax",rY["\\tmspace"]="\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax",rY["\\,"]="\\tmspace+{3mu}{.1667em}",rY["\\thinspace"]="\\,",rY["\\>"]="\\mskip{4mu}",rY["\\:"]="\\tmspace+{4mu}{.2222em}",rY["\\medspace"]="\\:",rY["\\;"]="\\tmspace+{5mu}{.2777em}",rY["\\thickspace"]="\\;",rY["\\!"]="\\tmspace-{3mu}{.1667em}",rY["\\negthinspace"]="\\!",rY["\\negmedspace"]="\\tmspace-{4mu}{.2222em}",rY["\\negthickspace"]="\\tmspace-{5mu}{.277em}",rY["\\enspace"]="\\kern.5em ",rY["\\enskip"]="\\hskip.5em\\relax",rY["\\quad"]="\\hskip1em\\relax",rY["\\qquad"]="\\hskip2em\\relax",rY["\\tag"]="\\@ifstar\\tag@literal\\tag@paren",rY["\\tag@paren"]="\\tag@literal{({#1})}",x=e=>{if(e.macros.get("\\df@tag"))throw new B("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"},rY["\\tag@literal"]=x,rY["\\bmod"]="\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}",rY["\\pod"]="\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)",rY["\\pmod"]="\\pod{{\\rm mod}\\mkern6mu#1}",rY["\\mod"]="\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1",rY["\\newline"]="\\\\\\relax",rY["\\TeX"]="\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}";var aI=eu(ee["Main-Regular"][84][1]-.7*ee["Main-Regular"][65][1]);w="\\textrm{\\html@mathml{L\\kern-.36em\\raisebox{"+aI+"}{\\scriptstyle A}\\kern-.15em\\TeX}{LaTeX}}",rY["\\LaTeX"]=w,k="\\textrm{\\html@mathml{K\\kern-.17em\\raisebox{"+aI+"}{\\scriptstyle A}\\kern-.15em\\TeX}{KaTeX}}",rY["\\KaTeX"]=k,rY["\\hspace"]="\\@ifstar\\@hspacer\\@hspace",rY["\\@hspace"]="\\hskip #1\\relax",rY["\\@hspacer"]="\\rule{0pt}{0pt}\\hskip #1\\relax",rY["\\ordinarycolon"]=":",rY["\\vcentcolon"]="\\mathrel{\\mathop\\ordinarycolon}",rY["\\dblcolon"]='\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}',rY["\\coloneqq"]='\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}',rY["\\Coloneqq"]='\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}',rY["\\coloneq"]='\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}',rY["\\Coloneq"]='\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}',rY["\\eqqcolon"]='\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}',rY["\\Eqqcolon"]='\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}',rY["\\eqcolon"]='\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}',rY["\\Eqcolon"]='\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}',rY["\\colonapprox"]='\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}',rY["\\Colonapprox"]='\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}',rY["\\colonsim"]='\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}',rY["\\Colonsim"]='\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}',rY["\u2237"]="\\dblcolon",rY["\u2239"]="\\eqcolon",rY["\u2254"]="\\coloneqq",rY["\u2255"]="\\eqqcolon",rY["\u2A74"]="\\Coloneqq",rY["\\ratio"]="\\vcentcolon",rY["\\coloncolon"]="\\dblcolon",rY["\\colonequals"]="\\coloneqq",rY["\\coloncolonequals"]="\\Coloneqq",rY["\\equalscolon"]="\\eqqcolon",rY["\\equalscoloncolon"]="\\Eqqcolon",rY["\\colonminus"]="\\coloneq",rY["\\coloncolonminus"]="\\Coloneq",rY["\\minuscolon"]="\\eqcolon",rY["\\minuscoloncolon"]="\\Eqcolon",rY["\\coloncolonapprox"]="\\Colonapprox",rY["\\coloncolonsim"]="\\Colonsim",rY["\\simcolon"]="\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}",rY["\\simcoloncolon"]="\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}",rY["\\approxcolon"]="\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}",rY["\\approxcoloncolon"]="\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}",rY["\\notni"]="\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}",rY["\\limsup"]="\\DOTSB\\operatorname*{lim\\,sup}",rY["\\liminf"]="\\DOTSB\\operatorname*{lim\\,inf}",rY["\\injlim"]="\\DOTSB\\operatorname*{inj\\,lim}",rY["\\projlim"]="\\DOTSB\\operatorname*{proj\\,lim}",rY["\\varlimsup"]="\\DOTSB\\operatorname*{\\overline{lim}}",rY["\\varliminf"]="\\DOTSB\\operatorname*{\\underline{lim}}",rY["\\varinjlim"]="\\DOTSB\\operatorname*{\\underrightarrow{lim}}",rY["\\varprojlim"]="\\DOTSB\\operatorname*{\\underleftarrow{lim}}",rY["\\gvertneqq"]="\\html@mathml{\\@gvertneqq}{\u2269}",rY["\\lvertneqq"]="\\html@mathml{\\@lvertneqq}{\u2268}",rY["\\ngeqq"]="\\html@mathml{\\@ngeqq}{\u2271}",rY["\\ngeqslant"]="\\html@mathml{\\@ngeqslant}{\u2271}",rY["\\nleqq"]="\\html@mathml{\\@nleqq}{\u2270}",rY["\\nleqslant"]="\\html@mathml{\\@nleqslant}{\u2270}",rY["\\nshortmid"]="\\html@mathml{\\@nshortmid}{\u2224}",rY["\\nshortparallel"]="\\html@mathml{\\@nshortparallel}{\u2226}",rY["\\nsubseteqq"]="\\html@mathml{\\@nsubseteqq}{\u2288}",rY["\\nsupseteqq"]="\\html@mathml{\\@nsupseteqq}{\u2289}",rY["\\varsubsetneq"]="\\html@mathml{\\@varsubsetneq}{\u228A}",rY["\\varsubsetneqq"]="\\html@mathml{\\@varsubsetneqq}{\u2ACB}",rY["\\varsupsetneq"]="\\html@mathml{\\@varsupsetneq}{\u228B}",rY["\\varsupsetneqq"]="\\html@mathml{\\@varsupsetneqq}{\u2ACC}",rY["\\imath"]="\\html@mathml{\\@imath}{\u0131}",rY["\\jmath"]="\\html@mathml{\\@jmath}{\u0237}",rY["\\llbracket"]="\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}",rY["\\rrbracket"]="\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}",rY["\u27E6"]="\\llbracket",rY["\u27E7"]="\\rrbracket",rY["\\lBrace"]="\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}",rY["\\rBrace"]="\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}",rY["\u2983"]="\\lBrace",rY["\u2984"]="\\rBrace",rY["\\minuso"]="\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`\u29B5}}",rY["\u29B5"]="\\minuso",rY["\\darr"]="\\downarrow",rY["\\dArr"]="\\Downarrow",rY["\\Darr"]="\\Downarrow",rY["\\lang"]="\\langle",rY["\\rang"]="\\rangle",rY["\\uarr"]="\\uparrow",rY["\\uArr"]="\\Uparrow",rY["\\Uarr"]="\\Uparrow",rY["\\N"]="\\mathbb{N}",rY["\\R"]="\\mathbb{R}",rY["\\Z"]="\\mathbb{Z}",rY["\\alef"]="\\aleph",rY["\\alefsym"]="\\aleph",rY["\\Alpha"]="\\mathrm{A}",rY["\\Beta"]="\\mathrm{B}",rY["\\bull"]="\\bullet",rY["\\Chi"]="\\mathrm{X}",rY["\\clubs"]="\\clubsuit",rY["\\cnums"]="\\mathbb{C}",rY["\\Complex"]="\\mathbb{C}",rY["\\Dagger"]="\\ddagger",rY["\\diamonds"]="\\diamondsuit",rY["\\empty"]="\\emptyset",rY["\\Epsilon"]="\\mathrm{E}",rY["\\Eta"]="\\mathrm{H}",rY["\\exist"]="\\exists",rY["\\harr"]="\\leftrightarrow",rY["\\hArr"]="\\Leftrightarrow",rY["\\Harr"]="\\Leftrightarrow",rY["\\hearts"]="\\heartsuit",rY["\\image"]="\\Im",rY["\\infin"]="\\infty",rY["\\Iota"]="\\mathrm{I}",rY["\\isin"]="\\in",rY["\\Kappa"]="\\mathrm{K}",rY["\\larr"]="\\leftarrow",rY["\\lArr"]="\\Leftarrow",rY["\\Larr"]="\\Leftarrow",rY["\\lrarr"]="\\leftrightarrow",rY["\\lrArr"]="\\Leftrightarrow",rY["\\Lrarr"]="\\Leftrightarrow",rY["\\Mu"]="\\mathrm{M}",rY["\\natnums"]="\\mathbb{N}",rY["\\Nu"]="\\mathrm{N}",rY["\\Omicron"]="\\mathrm{O}",rY["\\plusmn"]="\\pm",rY["\\rarr"]="\\rightarrow",rY["\\rArr"]="\\Rightarrow",rY["\\Rarr"]="\\Rightarrow",rY["\\real"]="\\Re",rY["\\reals"]="\\mathbb{R}",rY["\\Reals"]="\\mathbb{R}",rY["\\Rho"]="\\mathrm{P}",rY["\\sdot"]="\\cdot",rY["\\sect"]="\\S",rY["\\spades"]="\\spadesuit",rY["\\sub"]="\\subset",rY["\\sube"]="\\subseteq",rY["\\supe"]="\\supseteq",rY["\\Tau"]="\\mathrm{T}",rY["\\thetasym"]="\\vartheta",rY["\\weierp"]="\\wp",rY["\\Zeta"]="\\mathrm{Z}",rY["\\argmin"]="\\DOTSB\\operatorname*{arg\\,min}",rY["\\argmax"]="\\DOTSB\\operatorname*{arg\\,max}",rY["\\plim"]="\\DOTSB\\mathop{\\operatorname{plim}}\\limits",rY["\\bra"]="\\mathinner{\\langle{#1}|}",rY["\\ket"]="\\mathinner{|{#1}\\rangle}",rY["\\braket"]="\\mathinner{\\langle{#1}\\rangle}",rY["\\Bra"]="\\left\\langle#1\\right|",rY["\\Ket"]="\\left|#1\\right\\rangle";var aH=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}};S=aH(!1),rY["\\bra@ket"]=S,M=aH(!0),rY["\\bra@set"]=M,rY["\\Braket"]="\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}",rY["\\Set"]="\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}",rY["\\set"]="\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}",rY["\\angln"]="{\\angl n}",rY["\\blue"]="\\textcolor{##6495ed}{#1}",rY["\\orange"]="\\textcolor{##ffa500}{#1}",rY["\\pink"]="\\textcolor{##ff00af}{#1}",rY["\\red"]="\\textcolor{##df0030}{#1}",rY["\\green"]="\\textcolor{##28ae7b}{#1}",rY["\\gray"]="\\textcolor{gray}{#1}",rY["\\purple"]="\\textcolor{##9d38bd}{#1}",rY["\\blueA"]="\\textcolor{##ccfaff}{#1}",rY["\\blueB"]="\\textcolor{##80f6ff}{#1}",rY["\\blueC"]="\\textcolor{##63d9ea}{#1}",rY["\\blueD"]="\\textcolor{##11accd}{#1}",rY["\\blueE"]="\\textcolor{##0c7f99}{#1}",rY["\\tealA"]="\\textcolor{##94fff5}{#1}",rY["\\tealB"]="\\textcolor{##26edd5}{#1}",rY["\\tealC"]="\\textcolor{##01d1c1}{#1}",rY["\\tealD"]="\\textcolor{##01a995}{#1}",rY["\\tealE"]="\\textcolor{##208170}{#1}",rY["\\greenA"]="\\textcolor{##b6ffb0}{#1}",rY["\\greenB"]="\\textcolor{##8af281}{#1}",rY["\\greenC"]="\\textcolor{##74cf70}{#1}",rY["\\greenD"]="\\textcolor{##1fab54}{#1}",rY["\\greenE"]="\\textcolor{##0d923f}{#1}",rY["\\goldA"]="\\textcolor{##ffd0a9}{#1}",rY["\\goldB"]="\\textcolor{##ffbb71}{#1}",rY["\\goldC"]="\\textcolor{##ff9c39}{#1}",rY["\\goldD"]="\\textcolor{##e07d10}{#1}",rY["\\goldE"]="\\textcolor{##a75a05}{#1}",rY["\\redA"]="\\textcolor{##fca9a9}{#1}",rY["\\redB"]="\\textcolor{##ff8482}{#1}",rY["\\redC"]="\\textcolor{##f9685d}{#1}",rY["\\redD"]="\\textcolor{##e84d39}{#1}",rY["\\redE"]="\\textcolor{##bc2612}{#1}",rY["\\maroonA"]="\\textcolor{##ffbde0}{#1}",rY["\\maroonB"]="\\textcolor{##ff92c6}{#1}",rY["\\maroonC"]="\\textcolor{##ed5fa6}{#1}",rY["\\maroonD"]="\\textcolor{##ca337c}{#1}",rY["\\maroonE"]="\\textcolor{##9e034e}{#1}",rY["\\purpleA"]="\\textcolor{##ddd7ff}{#1}",rY["\\purpleB"]="\\textcolor{##c6b9fc}{#1}",rY["\\purpleC"]="\\textcolor{##aa87ff}{#1}",rY["\\purpleD"]="\\textcolor{##7854ab}{#1}",rY["\\purpleE"]="\\textcolor{##543b78}{#1}",rY["\\mintA"]="\\textcolor{##f5f9e8}{#1}",rY["\\mintB"]="\\textcolor{##edf2df}{#1}",rY["\\mintC"]="\\textcolor{##e0e5cc}{#1}",rY["\\grayA"]="\\textcolor{##f6f7f7}{#1}",rY["\\grayB"]="\\textcolor{##f0f1f2}{#1}",rY["\\grayC"]="\\textcolor{##e3e5e6}{#1}",rY["\\grayD"]="\\textcolor{##d6d8da}{#1}",rY["\\grayE"]="\\textcolor{##babec2}{#1}",rY["\\grayF"]="\\textcolor{##888d93}{#1}",rY["\\grayG"]="\\textcolor{##626569}{#1}",rY["\\grayH"]="\\textcolor{##3b3e40}{#1}",rY["\\grayI"]="\\textcolor{##21242c}{#1}",rY["\\kaBlue"]="\\textcolor{##314453}{#1}",rY["\\kaGreen"]="\\textcolor{##71B307}{#1}";var aR={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class aO{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 aT(rY,t.macros),this.mode=r,this.stack=[]}feed(e){this.lexer=new aA(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 T("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(),i=0,s=0;do{if(t=this.popToken(),r.push(t),"{"===t.text)++i;else if("}"===t.text){if(-1==--i)throw new B("Extra }",t)}else if("EOF"===t.text)throw new B("Unexpected end of input in a macro argument, expected '"+(e&&a?e[s]:"}")+"'",t);if(e&&a){if((0===i||1===i&&"{"===e[s])&&t.text===e[s]){if(++s===e.length){r.splice(-s,s);break}}else s=0}}while(0!==i||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 B("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 B("Use of the macro doesn't match its definition",n)}}for(var i=[],s=0;s<e;s++)i.push(this.consumeArg(t&&t[s+1]).tokens);return i}countExpansion(e){if(this.expansionCount+=e,this.expansionCount>this.settings.maxExpand)throw new B("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 B("Undefined control sequence: "+r);return this.pushToken(t),!1}this.countExpansion(1);var n=a.tokens,i=this.consumeArgs(a.numArgs,a.delimiters);if(a.numArgs){n=n.slice();for(var s=n.length-1;s>=0;--s){var o=n[s];if("#"===o.text){if(0===s)throw new B("Incomplete placeholder at end of macro body",o);if("#"===(o=n[--s]).text)n.splice(s+1,1);else if(/^[1-9]$/.test(o.text))n.splice(s,2,...i[+o.text-1]);else throw new B("Not a valid argument number",o)}}}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 T(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 aA(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)||tv.hasOwnProperty(e)||eC.math.hasOwnProperty(e)||eC.text.hasOwnProperty(e)||aR.hasOwnProperty(e)}isExpandable(e){var t=this.macros.get(e);return null!=t?"string"==typeof t||"function"==typeof t||!t.unexpandable:tv.hasOwnProperty(e)&&!tv[e].primitive}}var aE=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,aL=Object.freeze({"\u208A":"+","\u208B":"-","\u208C":"=","\u208D":"(","\u208E":")","\u2080":"0","\u2081":"1","\u2082":"2","\u2083":"3","\u2084":"4","\u2085":"5","\u2086":"6","\u2087":"7","\u2088":"8","\u2089":"9",\u2090:"a",\u2091:"e",\u2095:"h",\u1D62:"i",\u2C7C:"j",\u2096:"k",\u2097:"l",\u2098:"m",\u2099:"n",\u2092:"o",\u209A:"p",\u1D63:"r",\u209B:"s",\u209C:"t",\u1D64:"u",\u1D65:"v",\u2093:"x",\u1D66:"\u03B2",\u1D67:"\u03B3",\u1D68:"\u03C1",\u1D69:"\u03D5",\u1D6A:"\u03C7","\u207A":"+","\u207B":"-","\u207C":"=","\u207D":"(","\u207E":")","\u2070":"0","\xb9":"1","\xb2":"2","\xb3":"3","\u2074":"4","\u2075":"5","\u2076":"6","\u2077":"7","\u2078":"8","\u2079":"9",\u1D2C:"A",\u1D2E:"B",\u1D30:"D",\u1D31:"E",\u1D33:"G",\u1D34:"H",\u1D35:"I",\u1D36:"J",\u1D37:"K",\u1D38:"L",\u1D39:"M",\u1D3A:"N",\u1D3C:"O",\u1D3E:"P",\u1D3F:"R",\u1D40:"T",\u1D41:"U",\u2C7D:"V",\u1D42:"W",\u1D43:"a",\u1D47:"b",\u1D9C:"c",\u1D48:"d",\u1D49:"e",\u1DA0:"f",\u1D4D:"g",\u02B0:"h",\u2071:"i",\u02B2:"j",\u1D4F:"k",\u02E1:"l",\u1D50:"m",\u207F:"n",\u1D52:"o",\u1D56:"p",\u02B3:"r",\u02E2:"s",\u1D57:"t",\u1D58:"u",\u1D5B:"v",\u02B7:"w",\u02E3:"x",\u02B8:"y",\u1DBB:"z",\u1D5D:"\u03B2",\u1D5E:"\u03B3",\u1D5F:"\u03B4",\u1D60:"\u03D5",\u1D61:"\u03C7",\u1DBF:"\u03B8"}),aD={"\u0301":{text:"\\'",math:"\\acute"},"\u0300":{text:"\\`",math:"\\grave"},"\u0308":{text:'\\"',math:"\\ddot"},"\u0303":{text:"\\~",math:"\\tilde"},"\u0304":{text:"\\=",math:"\\bar"},"\u0306":{text:"\\u",math:"\\breve"},"\u030C":{text:"\\v",math:"\\check"},"\u0302":{text:"\\^",math:"\\hat"},"\u0307":{text:"\\.",math:"\\dot"},"\u030A":{text:"\\r",math:"\\mathring"},"\u030B":{text:"\\H"},"\u0327":{text:"\\c"}},aV={"\xe1":"a\u0301","\xe0":"a\u0300","\xe4":"a\u0308",\u01DF:"a\u0308\u0304","\xe3":"a\u0303",\u0101:"a\u0304",\u0103:"a\u0306",\u1EAF:"a\u0306\u0301",\u1EB1:"a\u0306\u0300",\u1EB5:"a\u0306\u0303",\u01CE:"a\u030C","\xe2":"a\u0302",\u1EA5:"a\u0302\u0301",\u1EA7:"a\u0302\u0300",\u1EAB:"a\u0302\u0303",\u0227:"a\u0307",\u01E1:"a\u0307\u0304","\xe5":"a\u030A",\u01FB:"a\u030A\u0301",\u1E03:"b\u0307",\u0107:"c\u0301",\u1E09:"c\u0327\u0301",\u010D:"c\u030C",\u0109:"c\u0302",\u010B:"c\u0307","\xe7":"c\u0327",\u010F:"d\u030C",\u1E0B:"d\u0307",\u1E11:"d\u0327","\xe9":"e\u0301","\xe8":"e\u0300","\xeb":"e\u0308",\u1EBD:"e\u0303",\u0113:"e\u0304",\u1E17:"e\u0304\u0301",\u1E15:"e\u0304\u0300",\u0115:"e\u0306",\u1E1D:"e\u0327\u0306",\u011B:"e\u030C","\xea":"e\u0302",\u1EBF:"e\u0302\u0301",\u1EC1:"e\u0302\u0300",\u1EC5:"e\u0302\u0303",\u0117:"e\u0307",\u0229:"e\u0327",\u1E1F:"f\u0307",\u01F5:"g\u0301",\u1E21:"g\u0304",\u011F:"g\u0306",\u01E7:"g\u030C",\u011D:"g\u0302",\u0121:"g\u0307",\u0123:"g\u0327",\u1E27:"h\u0308",\u021F:"h\u030C",\u0125:"h\u0302",\u1E23:"h\u0307",\u1E29:"h\u0327","\xed":"i\u0301","\xec":"i\u0300","\xef":"i\u0308",\u1E2F:"i\u0308\u0301",\u0129:"i\u0303",\u012B:"i\u0304",\u012D:"i\u0306",\u01D0:"i\u030C","\xee":"i\u0302",\u01F0:"j\u030C",\u0135:"j\u0302",\u1E31:"k\u0301",\u01E9:"k\u030C",\u0137:"k\u0327",\u013A:"l\u0301",\u013E:"l\u030C",\u013C:"l\u0327",\u1E3F:"m\u0301",\u1E41:"m\u0307",\u0144:"n\u0301",\u01F9:"n\u0300","\xf1":"n\u0303",\u0148:"n\u030C",\u1E45:"n\u0307",\u0146:"n\u0327","\xf3":"o\u0301","\xf2":"o\u0300","\xf6":"o\u0308",\u022B:"o\u0308\u0304","\xf5":"o\u0303",\u1E4D:"o\u0303\u0301",\u1E4F:"o\u0303\u0308",\u022D:"o\u0303\u0304",\u014D:"o\u0304",\u1E53:"o\u0304\u0301",\u1E51:"o\u0304\u0300",\u014F:"o\u0306",\u01D2:"o\u030C","\xf4":"o\u0302",\u1ED1:"o\u0302\u0301",\u1ED3:"o\u0302\u0300",\u1ED7:"o\u0302\u0303",\u022F:"o\u0307",\u0231:"o\u0307\u0304",\u0151:"o\u030B",\u1E55:"p\u0301",\u1E57:"p\u0307",\u0155:"r\u0301",\u0159:"r\u030C",\u1E59:"r\u0307",\u0157:"r\u0327",\u015B:"s\u0301",\u1E65:"s\u0301\u0307",\u0161:"s\u030C",\u1E67:"s\u030C\u0307",\u015D:"s\u0302",\u1E61:"s\u0307",\u015F:"s\u0327",\u1E97:"t\u0308",\u0165:"t\u030C",\u1E6B:"t\u0307",\u0163:"t\u0327","\xfa":"u\u0301","\xf9":"u\u0300","\xfc":"u\u0308",\u01D8:"u\u0308\u0301",\u01DC:"u\u0308\u0300",\u01D6:"u\u0308\u0304",\u01DA:"u\u0308\u030C",\u0169:"u\u0303",\u1E79:"u\u0303\u0301",\u016B:"u\u0304",\u1E7B:"u\u0304\u0308",\u016D:"u\u0306",\u01D4:"u\u030C","\xfb":"u\u0302",\u016F:"u\u030A",\u0171:"u\u030B",\u1E7D:"v\u0303",\u1E83:"w\u0301",\u1E81:"w\u0300",\u1E85:"w\u0308",\u0175:"w\u0302",\u1E87:"w\u0307",\u1E98:"w\u030A",\u1E8D:"x\u0308",\u1E8B:"x\u0307","\xfd":"y\u0301",\u1EF3:"y\u0300","\xff":"y\u0308",\u1EF9:"y\u0303",\u0233:"y\u0304",\u0177:"y\u0302",\u1E8F:"y\u0307",\u1E99:"y\u030A",\u017A:"z\u0301",\u017E:"z\u030C",\u1E91:"z\u0302",\u017C:"z\u0307","\xc1":"A\u0301","\xc0":"A\u0300","\xc4":"A\u0308",\u01DE:"A\u0308\u0304","\xc3":"A\u0303",\u0100:"A\u0304",\u0102:"A\u0306",\u1EAE:"A\u0306\u0301",\u1EB0:"A\u0306\u0300",\u1EB4:"A\u0306\u0303",\u01CD:"A\u030C","\xc2":"A\u0302",\u1EA4:"A\u0302\u0301",\u1EA6:"A\u0302\u0300",\u1EAA:"A\u0302\u0303",\u0226:"A\u0307",\u01E0:"A\u0307\u0304","\xc5":"A\u030A",\u01FA:"A\u030A\u0301",\u1E02:"B\u0307",\u0106:"C\u0301",\u1E08:"C\u0327\u0301",\u010C:"C\u030C",\u0108:"C\u0302",\u010A:"C\u0307","\xc7":"C\u0327",\u010E:"D\u030C",\u1E0A:"D\u0307",\u1E10:"D\u0327","\xc9":"E\u0301","\xc8":"E\u0300","\xcb":"E\u0308",\u1EBC:"E\u0303",\u0112:"E\u0304",\u1E16:"E\u0304\u0301",\u1E14:"E\u0304\u0300",\u0114:"E\u0306",\u1E1C:"E\u0327\u0306",\u011A:"E\u030C","\xca":"E\u0302",\u1EBE:"E\u0302\u0301",\u1EC0:"E\u0302\u0300",\u1EC4:"E\u0302\u0303",\u0116:"E\u0307",\u0228:"E\u0327",\u1E1E:"F\u0307",\u01F4:"G\u0301",\u1E20:"G\u0304",\u011E:"G\u0306",\u01E6:"G\u030C",\u011C:"G\u0302",\u0120:"G\u0307",\u0122:"G\u0327",\u1E26:"H\u0308",\u021E:"H\u030C",\u0124:"H\u0302",\u1E22:"H\u0307",\u1E28:"H\u0327","\xcd":"I\u0301","\xcc":"I\u0300","\xcf":"I\u0308",\u1E2E:"I\u0308\u0301",\u0128:"I\u0303",\u012A:"I\u0304",\u012C:"I\u0306",\u01CF:"I\u030C","\xce":"I\u0302",\u0130:"I\u0307",\u0134:"J\u0302",\u1E30:"K\u0301",\u01E8:"K\u030C",\u0136:"K\u0327",\u0139:"L\u0301",\u013D:"L\u030C",\u013B:"L\u0327",\u1E3E:"M\u0301",\u1E40:"M\u0307",\u0143:"N\u0301",\u01F8:"N\u0300","\xd1":"N\u0303",\u0147:"N\u030C",\u1E44:"N\u0307",\u0145:"N\u0327","\xd3":"O\u0301","\xd2":"O\u0300","\xd6":"O\u0308",\u022A:"O\u0308\u0304","\xd5":"O\u0303",\u1E4C:"O\u0303\u0301",\u1E4E:"O\u0303\u0308",\u022C:"O\u0303\u0304",\u014C:"O\u0304",\u1E52:"O\u0304\u0301",\u1E50:"O\u0304\u0300",\u014E:"O\u0306",\u01D1:"O\u030C","\xd4":"O\u0302",\u1ED0:"O\u0302\u0301",\u1ED2:"O\u0302\u0300",\u1ED6:"O\u0302\u0303",\u022E:"O\u0307",\u0230:"O\u0307\u0304",\u0150:"O\u030B",\u1E54:"P\u0301",\u1E56:"P\u0307",\u0154:"R\u0301",\u0158:"R\u030C",\u1E58:"R\u0307",\u0156:"R\u0327",\u015A:"S\u0301",\u1E64:"S\u0301\u0307",\u0160:"S\u030C",\u1E66:"S\u030C\u0307",\u015C:"S\u0302",\u1E60:"S\u0307",\u015E:"S\u0327",\u0164:"T\u030C",\u1E6A:"T\u0307",\u0162:"T\u0327","\xda":"U\u0301","\xd9":"U\u0300","\xdc":"U\u0308",\u01D7:"U\u0308\u0301",\u01DB:"U\u0308\u0300",\u01D5:"U\u0308\u0304",\u01D9:"U\u0308\u030C",\u0168:"U\u0303",\u1E78:"U\u0303\u0301",\u016A:"U\u0304",\u1E7A:"U\u0304\u0308",\u016C:"U\u0306",\u01D3:"U\u030C","\xdb":"U\u0302",\u016E:"U\u030A",\u0170:"U\u030B",\u1E7C:"V\u0303",\u1E82:"W\u0301",\u1E80:"W\u0300",\u1E84:"W\u0308",\u0174:"W\u0302",\u1E86:"W\u0307",\u1E8C:"X\u0308",\u1E8A:"X\u0307","\xdd":"Y\u0301",\u1EF2:"Y\u0300",\u0178:"Y\u0308",\u1EF8:"Y\u0303",\u0232:"Y\u0304",\u0176:"Y\u0302",\u1E8E:"Y\u0307",\u0179:"Z\u0301",\u017D:"Z\u030C",\u1E90:"Z\u0302",\u017B:"Z\u0307",\u03AC:"\u03B1\u0301",\u1F70:"\u03B1\u0300",\u1FB1:"\u03B1\u0304",\u1FB0:"\u03B1\u0306",\u03AD:"\u03B5\u0301",\u1F72:"\u03B5\u0300",\u03AE:"\u03B7\u0301",\u1F74:"\u03B7\u0300",\u03AF:"\u03B9\u0301",\u1F76:"\u03B9\u0300",\u03CA:"\u03B9\u0308",\u0390:"\u03B9\u0308\u0301",\u1FD2:"\u03B9\u0308\u0300",\u1FD1:"\u03B9\u0304",\u1FD0:"\u03B9\u0306",\u03CC:"\u03BF\u0301",\u1F78:"\u03BF\u0300",\u03CD:"\u03C5\u0301",\u1F7A:"\u03C5\u0300",\u03CB:"\u03C5\u0308",\u03B0:"\u03C5\u0308\u0301",\u1FE2:"\u03C5\u0308\u0300",\u1FE1:"\u03C5\u0304",\u1FE0:"\u03C5\u0306",\u03CE:"\u03C9\u0301",\u1F7C:"\u03C9\u0300",\u038E:"\u03A5\u0301",\u1FEA:"\u03A5\u0300",\u03AB:"\u03A5\u0308",\u1FE9:"\u03A5\u0304",\u1FE8:"\u03A5\u0306",\u038F:"\u03A9\u0301",\u1FFA:"\u03A9\u0300"};class aP{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 aO(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 B("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 T("}")),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!==aP.endOfExpression.indexOf(a.text)||t&&a.text===t||e&&tv[a.text]&&tv[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 B("only one infix operator per group",e[r].token);t=r,a=e[r].replaceWith}if(-1===t||!a)return e;var a,n,i,s,o=e.slice(0,t),l=e.slice(t+1);return n=1===o.length&&"ordgroup"===o[0].type?o[0]:{type:"ordgroup",mode:this.mode,body:o},i=1===l.length&&"ordgroup"===l[0].type?l[0]:{type:"ordgroup",mode:this.mode,body:l},[s="\\\\abovefrac"===a?this.callFunction(a,[n,e[t],i],[]):this.callFunction(a,[n,i],[])]}handleSupSubscript(e){var t=this.fetch(),r=t.text;this.consume(),this.consumeSpaces();var a=this.parseGroup(e);if(!a)throw new B("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 n=this.fetch();if("\\limits"===n.text||"\\nolimits"===n.text){if(a&&"op"===a.type){var i="\\limits"===n.text;a.limits=i,a.alwaysHandleSupSub=!0}else if(a&&"operatorname"===a.type)a.alwaysHandleSupSub&&(a.limits="\\limits"===n.text);else throw new B("Limit controls must follow a math operator",n);this.consume()}else if("^"===n.text){if(t)throw new B("Double superscript",n);t=this.handleSupSubscript("superscript")}else if("_"===n.text){if(r)throw new B("Double subscript",n);r=this.handleSupSubscript("subscript")}else if("'"===n.text){if(t)throw new B("Double superscript",n);var s={type:"textord",mode:this.mode,text:"\\prime"},o=[s];for(this.consume();"'"===this.fetch().text;)o.push(s),this.consume();"^"===this.fetch().text&&o.push(this.handleSupSubscript("superscript")),t={type:"ordgroup",mode:this.mode,body:o}}else if(aL[n.text]){var l=aE.test(n.text),h=[];for(h.push(new T(aL[n.text])),this.consume();;){var m=this.fetch().text;if(!aL[m]||aE.test(m)!==l)break;h.unshift(new T(aL[m])),this.consume()}var c=this.subparse(h);l?r={type:"ordgroup",mode:"math",body:c}:t={type:"ordgroup",mode:"math",body:c}}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=tv[a];if(!n)return null;if(this.consume(),t&&"atom"!==t&&!n.allowedInArgument)throw new B("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 B("Can't use function '"+a+"' in math mode",r)}else throw new B("Can't use function '"+a+"' in text mode",r);var{args:i,optArgs:s}=this.parseArguments(a,n);return this.callFunction(a,i,s,r,e)}callFunction(e,t,r,a,n){var i=tv[e];if(i&&i.handler)return i.handler({funcName:e,parser:this,token:a,breakOnTokenText:n},t,r);throw new B("No function handler for "+e)}parseArguments(e,t){var r=t.numArgs+t.numOptionalArgs;if(0===r)return{args:[],optArgs:[]};for(var a=[],n=[],i=0;i<r;i++){var s=t.argTypes&&t.argTypes[i],o=i<t.numOptionalArgs;(t.primitive&&null==s||"sqrt"===t.type&&1===i&&null==n[0])&&(s="primitive");var l=this.parseGroupOfType("argument to '"+e+"'",s,o);if(o)n.push(l);else if(null!=l)a.push(l);else throw new B("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 B("A primitive argument cannot be optional");var i=this.parseGroup(e);if(null==i)throw new B("Expected group as "+e,this.fetch());return i;case"original":case null:case void 0:return this.parseArgumentGroup(r);default:throw new B("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,i="";"EOF"!==(r=this.fetch()).text&&e.test(i+r.text);)i+=(n=r).text,this.consume();if(""===i)throw new B("Invalid "+t+": '"+a.text+"'",a);return a.range(n,i)}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 B("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 B("Invalid size: '"+t.text+"'",t);var n={number:+(a[1]+a[2]),unit:a[3]};if(!ec(n))throw new B("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,a=this.fetch(),n=a.text;if("{"===n||"\\begingroup"===n){this.consume();var i="{"===n?"}":"\\endgroup";this.gullet.beginGroup();var s=this.parseExpression(!1,i),o=this.fetch();this.expect(i),this.gullet.endGroup(),r={type:"ordgroup",mode:this.mode,loc:A.range(a,o),body:s,semisimple:"\\begingroup"===n||void 0}}else if(null==(r=this.parseFunction(t,e)||this.parseSymbol())&&"\\"===n[0]&&!aR.hasOwnProperty(n)){if(this.settings.throwOnError)throw new B("Undefined control sequence: "+n,a);r=this.formatUnsupportedCmd(n),this.consume()}return r}formLigatures(e){for(var t=e.length-1,r=0;r<t;++r){var a=e[r],n=a.text;"-"===n&&"-"===e[r+1].text&&(r+1<t&&"-"===e[r+2].text?(e.splice(r,3,{type:"textord",mode:"text",loc:A.range(a,e[r+2]),text:"---"}),t-=2):(e.splice(r,2,{type:"textord",mode:"text",loc:A.range(a,e[r+1]),text:"--"}),t-=1)),("'"===n||"`"===n)&&e[r+1].text===n&&(e.splice(r,2,{type:"textord",mode:"text",loc:A.range(a,e[r+1]),text:n+n}),t-=1)}}parseSymbol(){var e=this.fetch(),t=e.text;if(/^\\verb[^a-zA-Z]/.test(t)){this.consume();var r=t.slice(5),a="*"===r.charAt(0);if(a&&(r=r.slice(1)),r.length<2||r.charAt(0)!==r.slice(-1))throw new B("\\verb assertion failed --\n please report what input caused this bug");return{type:"verb",mode:"text",body:r=r.slice(1,-1),star:a}}aV.hasOwnProperty(t[0])&&!eC[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=aV[t[0]]+t.slice(1));var n=aM.exec(t);if(n&&("i"===(t=t.substring(0,n.index))?t="\u0131":"j"===t&&(t="\u0237")),eC[this.mode][t]){this.settings.strict&&"math"===this.mode&&e6.indexOf(t)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+t[0]+'" used in math mode',e);var i,s,o=eC[this.mode][t].group,l=A.range(e);i=s=eT.hasOwnProperty(o)?{type:"atom",mode:this.mode,family:o,loc:l,text:t}:{type:o,mode:this.mode,loc:l,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)),i={type:"textord",mode:"text",loc:A.range(e),text:t}}if(this.consume(),n)for(var h=0;h<n[0].length;h++){var m=n[0][h];if(!aD[m])throw new B("Unknown accent ' "+m+"'",e);var c=aD[m][this.mode]||aD[m].text;if(!c)throw new B("Accent "+m+" unsupported in "+this.mode+" mode",e);i={type:"accent",mode:this.mode,loc:A.range(e),label:c,isStretchy:!1,isShifty:!0,base:i}}return i}}aP.endOfExpression=["}","\\endgroup","\\end","\\right","&"];var aF=function(e,t){if(!("string"==typeof e||e instanceof String))throw TypeError("KaTeX can only parse string typed expression");var r=new aP(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 B("\\tag works only in display equations");a=[{type:"tag",mode:"text",body:a,tag:r.subparse([new T("\\df@tag")])}]}return a},aG=function(e,t,r){t.textContent="";var a=aY(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."),aG=function(){throw new B("KaTeX doesn't work in quirks mode.")});var aU=function(e,t,r){if(r.throwOnError||!(e instanceof B))throw e;var a=tc.makeSpan(["katex-error"],[new ek(t)]);return a.setAttribute("title",e.toString()),a.setAttribute("style","color:"+r.errorColor),a},aY=function(e,t){var r=new E(t);try{var a=aF(e,r);return tK(a,e,r)}catch(t){return aU(t,e,r)}},aX={renderToString:function(e,t){return aY(e,t).toMarkup()},ParseError:B};function aW(){return(aW=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(this,arguments)}let aj=(0,z.memo)(function(e){var t=e.children,r=e.math,a=e.block,n=e.errorColor,i=e.renderError,s=e.settings,o=e.as,l=function(e,t){if(null==e)return{};var r,a,n={},i=Object.keys(e);for(a=0;a<i.length;a++)t.indexOf(r=i[a])>=0||(n[r]=e[r]);return n}(e,["children","math","block","errorColor","renderError","settings","as"]),h=null!=t?t:r,m=(0,z.useState)({innerHtml:""}),c=m[0],p=m[1];return(0,z.useEffect)(function(){try{var e=aX.renderToString(h,aW({displayMode:!!a,errorColor:n,throwOnError:!!i},s));p({innerHtml:e})}catch(e){if(!(e instanceof aX.ParseError||e instanceof TypeError))throw e;p(i?{errorElement:i(e)}:{innerHtml:e.message})}},[a,h,n,i,s]),"errorElement"in c?c.errorElement:z.createElement(o||(a?"div":"span"),Object.assign({},l,{dangerouslySetInnerHTML:{__html:c.innerHtml}}))})}}]); |