99AI/public/assets/index.esm-75698fae.js
2024-04-20 22:15:08 +08:00

361 lines
459 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import{bq as Ql}from"./index-2efe4620.js";var $u={exports:{}},El;function Zo(){return El||(El=1,function(i,l){(function(x,w){i.exports=w()})(typeof self<"u"?self:Ql,function(){return function(){var h={};(function(){h.d=function(d,r){for(var t in r)h.o(r,t)&&!h.o(d,t)&&Object.defineProperty(d,t,{enumerable:!0,get:r[t]})}})(),function(){h.o=function(d,r){return Object.prototype.hasOwnProperty.call(d,r)}}();var x={};h.d(x,{default:function(){return Lu}});var w=function d(r,t){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var n="KaTeX parse error: "+r,u,s,m=t&&t.loc;if(m&&m.start<=m.end){var b=m.lexer.input;u=m.start,s=m.end,u===b.length?n+=" at end of input: ":n+=" at position "+(u+1)+": ";var C=b.slice(u,s).replace(/[^]/g,"$&̲"),E;u>15?E="…"+b.slice(u-15,u):E=b.slice(0,u);var F;s+15<b.length?F=b.slice(s,s+15)+"…":F=b.slice(s),n+=E+C+F}var U=new Error(n);return U.name="ParseError",U.__proto__=d.prototype,U.position=u,u!=null&&s!=null&&(U.length=s-u),U.rawMessage=r,U};w.prototype.__proto__=Error.prototype;var k=w,M=function(r,t){return r.indexOf(t)!==-1},T=function(r,t){return r===void 0?t:r},q=/([A-Z])/g,L=function(r){return r.replace(q,"-$1").toLowerCase()},O={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},X=/[&><"']/g;function re(d){return String(d).replace(X,function(r){return O[r]})}var W=function d(r){return r.type==="ordgroup"||r.type==="color"?r.body.length===1?d(r.body[0]):r:r.type==="font"?d(r.body):r},Se=function(r){var t=W(r);return t.type==="mathord"||t.type==="textord"||t.type==="atom"},ye=function(r){if(!r)throw new Error("Expected non-null, but got "+String(r));return r},_e=function(r){var t=/^\s*([^\\/#]*?)(?::|&#0*58|&#x0*3a)/i.exec(r);return t!=null?t[1]:"_relative"},K={contains:M,deflt:T,escape:re,hyphenate:L,getBaseElem:W,isCharacterBox:Se,protocolFromUrl:_e},Ae={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:function(r){return"#"+r}},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:function(r,t){return t.push(r),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:function(r){return Math.max(0,r)},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:function(r){return Math.max(0,r)},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:function(r){return Math.max(0,r)},cli:"-e, --max-expand <n>",cliProcessor:function(r){return r==="Infinity"?1/0:parseInt(r)}},globalGroup:{type:"boolean",cli:!1}};function Re(d){if(d.default)return d.default;var r=d.type,t=Array.isArray(r)?r[0]:r;if(typeof t!="string")return t.enum[0];switch(t){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}var Ge=function(){function d(t){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,t=t||{};for(var n in Ae)if(Ae.hasOwnProperty(n)){var u=Ae[n];this[n]=t[n]!==void 0?u.processor?u.processor(t[n]):t[n]:Re(u)}}var r=d.prototype;return r.reportNonstrict=function(n,u,s){var m=this.strict;if(typeof m=="function"&&(m=m(n,u,s)),!(!m||m==="ignore")){if(m===!0||m==="error")throw new k("LaTeX-incompatible input and strict mode is set to 'error': "+(u+" ["+n+"]"),s);m==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(u+" ["+n+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+m+"': "+u+" ["+n+"]"))}},r.useStrictBehavior=function(n,u,s){var m=this.strict;if(typeof m=="function")try{m=m(n,u,s)}catch{m="error"}return!m||m==="ignore"?!1:m===!0||m==="error"?!0:m==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(u+" ["+n+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+m+"': "+u+" ["+n+"]")),!1)},r.isTrusted=function(n){n.url&&!n.protocol&&(n.protocol=K.protocolFromUrl(n.url));var u=typeof this.trust=="function"?this.trust(n):this.trust;return!!u},d}(),Oe=function(){function d(t,n,u){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=t,this.size=n,this.cramped=u}var r=d.prototype;return r.sup=function(){return P[ce[this.id]]},r.sub=function(){return P[ee[this.id]]},r.fracNum=function(){return P[be[this.id]]},r.fracDen=function(){return P[ke[this.id]]},r.cramp=function(){return P[Te[this.id]]},r.text=function(){return P[De[this.id]]},r.isTight=function(){return this.size>=2},d}(),ir=0,ar=1,ur=2,or=3,Br=4,sr=5,qr=6,G=7,P=[new Oe(ir,0,!1),new Oe(ar,0,!0),new Oe(ur,1,!1),new Oe(or,1,!0),new Oe(Br,2,!1),new Oe(sr,2,!0),new Oe(qr,3,!1),new Oe(G,3,!0)],ce=[Br,sr,Br,sr,qr,G,qr,G],ee=[sr,sr,sr,sr,G,G,G,G],be=[ur,or,Br,sr,qr,G,qr,G],ke=[or,or,sr,sr,G,G,G,G],Te=[ar,ar,or,or,sr,sr,G,G],De=[ir,ar,ur,or,ur,or,ur,or],ue={DISPLAY:P[ir],TEXT:P[ur],SCRIPT:P[Br],SCRIPTSCRIPT:P[qr]},Le=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function Mr(d){for(var r=0;r<Le.length;r++)for(var t=Le[r],n=0;n<t.blocks.length;n++){var u=t.blocks[n];if(d>=u[0]&&d<=u[1])return t.name}return null}var $e=[];Le.forEach(function(d){return d.blocks.forEach(function(r){return $e.push.apply($e,r)})});function mr(d){for(var r=0;r<$e.length;r+=2)if(d>=$e[r]&&d<=$e[r+1])return!0;return!1}var We=80,wr=function(r,t){return"M95,"+(622+r+t)+`
c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
c44.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
s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429
c69,-144,104.5,-217.7,106.5,-221
l`+r/2.075+" -"+r+`
c5.3,-9.3,12,-14,20,-14
H400000v`+(40+r)+`H845.2724
s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7
c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z
M`+(834+r)+" "+t+"h400000v"+(40+r)+"h-400000z"},Ir=function(r,t){return"M263,"+(601+r+t)+`c0.7,0,18,39.7,52,119
c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120
c340,-704.7,510.7,-1060.3,512,-1067
l`+r/2.084+" -"+r+`
c4.7,-7.3,11,-11,19,-11
H40000v`+(40+r)+`H1012.3
s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232
c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1
s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26
c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z
M`+(1001+r)+" "+t+"h400000v"+(40+r)+"h-400000z"},G0=function(r,t){return"M983 "+(10+r+t)+`
l`+r/3.13+" -"+r+`
c4,-6.7,10,-10,18,-10 H400000v`+(40+r)+`
H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7
s-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744
c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30
c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722
c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5
c53.7,-170.3,84.5,-266.8,92.5,-289.5z
M`+(1001+r)+" "+t+"h400000v"+(40+r)+"h-400000z"},Ua=function(r,t){return"M424,"+(2398+r+t)+`
c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514
c0,-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
s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121
s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081
l`+r/4.223+" -"+r+`c4,-6.7,10,-10,18,-10 H400000
v`+(40+r)+`H1014.6
s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185
c-2,6,-10,9,-24,9
c-8,0,-12,-0.7,-12,-2z M`+(1001+r)+" "+t+`
h400000v`+(40+r)+"h-400000z"},vr=function(r,t){return"M473,"+(2713+r+t)+`
c339.3,-1799.3,509.3,-2700,510,-2702 l`+r/5.298+" -"+r+`
c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+r)+`H1017.7
s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9
c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200
c0,-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
s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,
606zM`+(1001+r)+" "+t+"h400000v"+(40+r)+"H1017.7z"},pe=function(r){var t=r/2;return"M400000 "+r+" H0 L"+t+" 0 l65 45 L145 "+(r-80)+" H400000z"},Jn=function(r,t,n){var u=n-54-t-r;return"M702 "+(r+t)+"H400000"+(40+r)+`
H742v`+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
h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170
c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667
219 661 l218 661zM702 `+t+"H400000v"+(40+r)+"H742z"},g0=function(r,t,n){t=1e3*t;var u="";switch(r){case"sqrtMain":u=wr(t,We);break;case"sqrtSize1":u=Ir(t,We);break;case"sqrtSize2":u=G0(t,We);break;case"sqrtSize3":u=Ua(t,We);break;case"sqrtSize4":u=vr(t,We);break;case"sqrtTall":u=Jn(t,We,n)}return u},nn=function(r,t){switch(r){case"⎜":return"M291 0 H417 V"+t+" H291z M291 0 H417 V"+t+" H291z";case"":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145z";case"∥":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145z"+("M367 0 H410 V"+t+" H367z M367 0 H410 V"+t+" H367z");case"⎟":return"M457 0 H583 V"+t+" H457z M457 0 H583 V"+t+" H457z";case"⎢":return"M319 0 H403 V"+t+" H319z M319 0 H403 V"+t+" H319z";case"⎥":return"M263 0 H347 V"+t+" H263z M263 0 H347 V"+t+" H263z";case"⎪":return"M384 0 H504 V"+t+" H384z M384 0 H504 V"+t+" H384z";case"⏐":return"M312 0 H355 V"+t+" H312z M312 0 H355 V"+t+" H312z";case"‖":return"M257 0 H300 V"+t+" H257z M257 0 H300 V"+t+" H257z"+("M478 0 H521 V"+t+" H478z M478 0 H521 V"+t+" H478z");default:return""}},gr={doubleleftarrow:`M262 157
l10-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
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
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
c2 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
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
-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7
-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z
m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l
-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
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
-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
-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
-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782
c-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
-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120
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
-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
c-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
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
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
l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117
-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7
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
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
0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7
-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80
H435C64 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
435 0h399565z`,leftgroupunder:`M400000 262
H435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219
435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3
-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
-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
-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
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
-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
-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z
m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333
5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5
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
-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
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
-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0
v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5
-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
-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
71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:`M40 281 V428 H0 V94 H40 V241 H400000 v40z
M40 281 V428 H0 V94 H40 V241 H400000 v40z`,leftmapsto:`M40 281 V448H0V74H40V241H400000v40z
M40 281 V448H0V74H40V241H400000v40z`,leftToFrom:`M0 147h400000v40H0zm0 214c68 40 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-70-101l-7-8h399905v-40H95l7-8
c28.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
68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:`M0 50 h400000 v40H0z m0 194h40000v40H0z
M0 50 h400000 v40H0z m0 194h40000v40H0z`,midbrace:`M200428 334
c-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
-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7
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
12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214
c100.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
53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3
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
-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
-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z
m368.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
60.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
-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z
m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2
c0 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
-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z
m525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0
85.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
-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z
m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1
c0 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
-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
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
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
-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
-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
151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l
-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
s-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1
c124.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
28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237
-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
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
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
-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
-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
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
-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
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
m0 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
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
-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
-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
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
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
-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z
m0-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
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
-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
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
M399960 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
1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32
-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
-167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40
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
-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3
-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19
-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101
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
c-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
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
18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333
-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70
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
-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
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
4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128
-68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418
-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
31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114
c1 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
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
-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0
411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697
16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696
-338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345
-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409
177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9
14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409
-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
3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11
10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63
-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
-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59
H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359
c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22
c-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
-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
-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
-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,
-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,
-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,
-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,
-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
c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5
c-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
s-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
121.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
s2.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
c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z
M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-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 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 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-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
-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
151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17
c2,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
c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40
c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z
M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
-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
c-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
M0 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
c1.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,
1c0,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,
-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z
M93 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
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
-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
c-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
M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},Va=function(r,t){switch(r){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+` v1759 h347 v-84
H403z 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
M347 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
c10,0,16.667,-5,20,-15 v-585 v`+-t+` v-585 c-2.667,-10,-9.667,-15,-21,-15
c-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
c10,0,16.667,-5,20,-15 v-585 v`+-t+` v-585 c-2.667,-10,-9.667,-15,-21,-15
c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+t+` v585 h43z
M367 15 v585 v`+t+` v585 c2.667,10,9.667,15,21,15
c10,0,16.667,-5,20,-15 v-585 v`+-t+` v-585 c-2.667,-10,-9.667,-15,-21,-15
c-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
MM319 602 V0 H403 V602 v`+t+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+t+` v1799 H0 v-84 H319z
MM319 602 V0 H403 V602 v`+t+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+` v602 h84z
M403 1759 V0 H319 V1759 v`+t+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+` v602 h84z
M347 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
c-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,
-36,557 l0,`+(t+84)+`c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,
949.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
c0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5,
-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189
l0,-`+(t+92)+`c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,
-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,
63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5
c11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,`+(t+9)+`
c-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
c-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
c0,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
c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558
l0,-`+(t+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
-470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}},Rr=function(){function d(t){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=t,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}var r=d.prototype;return r.hasClass=function(n){return K.contains(this.classes,n)},r.toNode=function(){for(var n=document.createDocumentFragment(),u=0;u<this.children.length;u++)n.appendChild(this.children[u].toNode());return n},r.toMarkup=function(){for(var n="",u=0;u<this.children.length;u++)n+=this.children[u].toMarkup();return n},r.toText=function(){var n=function(s){return s.toText()};return this.children.map(n).join("")},d}(),xr={"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]}},dt={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]},Qn={Å:"A",Ð:"D",Þ:"o",å:"a",ð:"d",þ:"o",А:"A",Б:"B",В:"B",Г:"F",Д:"A",Е:"E",Ж:"K",З:"3",И:"N",Й:"N",К:"K",Л:"N",М:"M",Н:"H",О:"O",П:"N",Р:"P",С:"C",Т:"T",У:"y",Ф:"O",Х:"X",Ц:"U",Ч:"h",Ш:"W",Щ:"W",Ъ:"B",Ы:"X",Ь:"B",Э:"3",Ю:"X",Я:"R",а:"a",б:"b",в:"a",г:"r",д:"y",е:"e",ж:"m",з:"e",и:"n",й:"n",к:"n",л:"n",м:"m",н:"n",о:"o",п:"n",р:"p",с:"c",т:"o",у:"y",ф:"b",х:"x",ц:"n",ч:"n",ш:"w",щ:"w",ъ:"a",ы:"m",ь:"a",э:"e",ю:"m",я:"r"};function an(d,r){xr[d]=r}function mt(d,r,t){if(!xr[r])throw new Error("Font metrics not found for font: "+r+".");var n=d.charCodeAt(0),u=xr[r][n];if(!u&&d[0]in Qn&&(n=Qn[d[0]].charCodeAt(0),u=xr[r][n]),!u&&t==="text"&&mr(n)&&(u=xr[r][77]),u)return{depth:u[0],height:u[1],italic:u[2],skew:u[3],width:u[4]}}var vt={};function ei(d){var r;if(d>=5?r=0:d>=3?r=1:r=2,!vt[r]){var t=vt[r]={cssEmPerMu:dt.quad[r]/18};for(var n in dt)dt.hasOwnProperty(n)&&(t[n]=dt[n][r])}return vt[r]}var Ga=[[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]],ri=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],ti=function(r,t){return t.size<2?r:Ga[r-1][t.size-1]},ni=function(){function d(t){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=t.style,this.color=t.color,this.size=t.size||d.BASESIZE,this.textSize=t.textSize||this.size,this.phantom=!!t.phantom,this.font=t.font||"",this.fontFamily=t.fontFamily||"",this.fontWeight=t.fontWeight||"",this.fontShape=t.fontShape||"",this.sizeMultiplier=ri[this.size-1],this.maxSize=t.maxSize,this.minRuleThickness=t.minRuleThickness,this._fontMetrics=void 0}var r=d.prototype;return r.extend=function(n){var u={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 s in n)n.hasOwnProperty(s)&&(u[s]=n[s]);return new d(u)},r.havingStyle=function(n){return this.style===n?this:this.extend({style:n,size:ti(this.textSize,n)})},r.havingCrampedStyle=function(){return this.havingStyle(this.style.cramp())},r.havingSize=function(n){return this.size===n&&this.textSize===n?this:this.extend({style:this.style.text(),size:n,textSize:n,sizeMultiplier:ri[n-1]})},r.havingBaseStyle=function(n){n=n||this.style.text();var u=ti(d.BASESIZE,n);return this.size===u&&this.textSize===d.BASESIZE&&this.style===n?this:this.extend({style:n,size:u})},r.havingBaseSizing=function(){var n;switch(this.style.id){case 4:case 5:n=3;break;case 6:case 7:n=1;break;default:n=6}return this.extend({style:this.style.text(),size:n})},r.withColor=function(n){return this.extend({color:n})},r.withPhantom=function(){return this.extend({phantom:!0})},r.withFont=function(n){return this.extend({font:n})},r.withTextFontFamily=function(n){return this.extend({fontFamily:n,font:""})},r.withTextFontWeight=function(n){return this.extend({fontWeight:n,font:""})},r.withTextFontShape=function(n){return this.extend({fontShape:n,font:""})},r.sizingClasses=function(n){return n.size!==this.size?["sizing","reset-size"+n.size,"size"+this.size]:[]},r.baseSizingClasses=function(){return this.size!==d.BASESIZE?["sizing","reset-size"+this.size,"size"+d.BASESIZE]:[]},r.fontMetrics=function(){return this._fontMetrics||(this._fontMetrics=ei(this.size)),this._fontMetrics},r.getColor=function(){return this.phantom?"transparent":this.color},d}();ni.BASESIZE=6;var ii=ni,$0={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},$a={ex:!0,em:!0,mu:!0},ai=function(r){return typeof r!="string"&&(r=r.unit),r in $0||r in $a||r==="ex"},Ye=function(r,t){var n;if(r.unit in $0)n=$0[r.unit]/t.fontMetrics().ptPerEm/t.sizeMultiplier;else if(r.unit==="mu")n=t.fontMetrics().cssEmPerMu;else{var u;if(t.style.isTight()?u=t.havingStyle(t.style.text()):u=t,r.unit==="ex")n=u.fontMetrics().xHeight;else if(r.unit==="em")n=u.fontMetrics().quad;else throw new k("Invalid unit: '"+r.unit+"'");u!==t&&(n*=u.sizeMultiplier/t.sizeMultiplier)}return Math.min(r.number*n,t.maxSize)},ae=function(r){return+r.toFixed(4)+"em"},t0=function(r){return r.filter(function(t){return t}).join(" ")},ui=function(r,t,n){if(this.classes=r||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=n||{},t){t.style.isTight()&&this.classes.push("mtight");var u=t.getColor();u&&(this.style.color=u)}},li=function(r){var t=document.createElement(r);t.className=t0(this.classes);for(var n in this.style)this.style.hasOwnProperty(n)&&(t.style[n]=this.style[n]);for(var u in this.attributes)this.attributes.hasOwnProperty(u)&&t.setAttribute(u,this.attributes[u]);for(var s=0;s<this.children.length;s++)t.appendChild(this.children[s].toNode());return t},un=function(r){var t="<"+r;this.classes.length&&(t+=' class="'+K.escape(t0(this.classes))+'"');var n="";for(var u in this.style)this.style.hasOwnProperty(u)&&(n+=K.hyphenate(u)+":"+this.style[u]+";");n&&(t+=' style="'+K.escape(n)+'"');for(var s in this.attributes)this.attributes.hasOwnProperty(s)&&(t+=" "+s+'="'+K.escape(this.attributes[s])+'"');t+=">";for(var m=0;m<this.children.length;m++)t+=this.children[m].toMarkup();return t+="</"+r+">",t},Y0=function(){function d(t,n,u,s){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,ui.call(this,t,u,s),this.children=n||[]}var r=d.prototype;return r.setAttribute=function(n,u){this.attributes[n]=u},r.hasClass=function(n){return K.contains(this.classes,n)},r.toNode=function(){return li.call(this,"span")},r.toMarkup=function(){return un.call(this,"span")},d}(),gt=function(){function d(t,n,u,s){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,ui.call(this,n,s),this.children=u||[],this.setAttribute("href",t)}var r=d.prototype;return r.setAttribute=function(n,u){this.attributes[n]=u},r.hasClass=function(n){return K.contains(this.classes,n)},r.toNode=function(){return li.call(this,"a")},r.toMarkup=function(){return un.call(this,"a")},d}(),oi=function(){function d(t,n,u){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=n,this.src=t,this.classes=["mord"],this.style=u}var r=d.prototype;return r.hasClass=function(n){return K.contains(this.classes,n)},r.toNode=function(){var n=document.createElement("img");n.src=this.src,n.alt=this.alt,n.className="mord";for(var u in this.style)this.style.hasOwnProperty(u)&&(n.style[u]=this.style[u]);return n},r.toMarkup=function(){var n="<img src='"+this.src+" 'alt='"+this.alt+"' ",u="";for(var s in this.style)this.style.hasOwnProperty(s)&&(u+=K.hyphenate(s)+":"+this.style[s]+";");return u&&(n+=' style="'+K.escape(u)+'"'),n+="'/>",n},d}(),B0={î:"ı̂",ï:"ı̈",í:"ı́",ì:"ı̀"},Tr=function(){function d(t,n,u,s,m,b,C,E){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=t,this.height=n||0,this.depth=u||0,this.italic=s||0,this.skew=m||0,this.width=b||0,this.classes=C||[],this.style=E||{},this.maxFontSize=0;var F=Mr(this.text.charCodeAt(0));F&&this.classes.push(F+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=B0[this.text])}var r=d.prototype;return r.hasClass=function(n){return K.contains(this.classes,n)},r.toNode=function(){var n=document.createTextNode(this.text),u=null;this.italic>0&&(u=document.createElement("span"),u.style.marginRight=ae(this.italic)),this.classes.length>0&&(u=u||document.createElement("span"),u.className=t0(this.classes));for(var s in this.style)this.style.hasOwnProperty(s)&&(u=u||document.createElement("span"),u.style[s]=this.style[s]);return u?(u.appendChild(n),u):n},r.toMarkup=function(){var n=!1,u="<span";this.classes.length&&(n=!0,u+=' class="',u+=K.escape(t0(this.classes)),u+='"');var s="";this.italic>0&&(s+="margin-right:"+this.italic+"em;");for(var m in this.style)this.style.hasOwnProperty(m)&&(s+=K.hyphenate(m)+":"+this.style[m]+";");s&&(n=!0,u+=' style="'+K.escape(s)+'"');var b=K.escape(this.text);return n?(u+=">",u+=b,u+="</span>",u):b},d}(),Or=function(){function d(t,n){this.children=void 0,this.attributes=void 0,this.children=t||[],this.attributes=n||{}}var r=d.prototype;return r.toNode=function(){var n="http://www.w3.org/2000/svg",u=document.createElementNS(n,"svg");for(var s in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,s)&&u.setAttribute(s,this.attributes[s]);for(var m=0;m<this.children.length;m++)u.appendChild(this.children[m].toNode());return u},r.toMarkup=function(){var n='<svg xmlns="http://www.w3.org/2000/svg"';for(var u in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,u)&&(n+=" "+u+"='"+this.attributes[u]+"'");n+=">";for(var s=0;s<this.children.length;s++)n+=this.children[s].toMarkup();return n+="</svg>",n},d}(),Wr=function(){function d(t,n){this.pathName=void 0,this.alternate=void 0,this.pathName=t,this.alternate=n}var r=d.prototype;return r.toNode=function(){var n="http://www.w3.org/2000/svg",u=document.createElementNS(n,"path");return this.alternate?u.setAttribute("d",this.alternate):u.setAttribute("d",gr[this.pathName]),u},r.toMarkup=function(){return this.alternate?"<path d='"+this.alternate+"'/>":"<path d='"+gr[this.pathName]+"'/>"},d}(),Kr=function(){function d(t){this.attributes=void 0,this.attributes=t||{}}var r=d.prototype;return r.toNode=function(){var n="http://www.w3.org/2000/svg",u=document.createElementNS(n,"line");for(var s in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,s)&&u.setAttribute(s,this.attributes[s]);return u},r.toMarkup=function(){var n="<line";for(var u in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,u)&&(n+=" "+u+"='"+this.attributes[u]+"'");return n+="/>",n},d}();function si(d){if(d instanceof Tr)return d;throw new Error("Expected symbolNode but got "+String(d)+".")}function Ya(d){if(d instanceof Y0)return d;throw new Error("Expected span<HtmlDomNode> but got "+String(d)+".")}var Xa={bin:1,close:1,inner:1,open:1,punct:1,rel:1},ja={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},X0={math:{},text:{}},Ve=X0;function p(d,r,t,n,u,s){X0[d][u]={font:r,group:t,replace:n},s&&n&&(X0[d][n]=X0[d][u])}var v="math",Q="text",S="main",_="ams",Ue="accent-token",he="bin",cr="close",M0="inner",ge="mathord",Ke="op-token",Ar="open",x0="punct",z="rel",Zr="spacing",R="textord";p(v,S,z,"≡","\\equiv",!0),p(v,S,z,"≺","\\prec",!0),p(v,S,z,"≻","\\succ",!0),p(v,S,z,"","\\sim",!0),p(v,S,z,"⊥","\\perp"),p(v,S,z,"⪯","\\preceq",!0),p(v,S,z,"⪰","\\succeq",!0),p(v,S,z,"≃","\\simeq",!0),p(v,S,z,"","\\mid",!0),p(v,S,z,"≪","\\ll",!0),p(v,S,z,"≫","\\gg",!0),p(v,S,z,"≍","\\asymp",!0),p(v,S,z,"∥","\\parallel"),p(v,S,z,"⋈","\\bowtie",!0),p(v,S,z,"⌣","\\smile",!0),p(v,S,z,"⊑","\\sqsubseteq",!0),p(v,S,z,"⊒","\\sqsupseteq",!0),p(v,S,z,"≐","\\doteq",!0),p(v,S,z,"⌢","\\frown",!0),p(v,S,z,"∋","\\ni",!0),p(v,S,z,"∝","\\propto",!0),p(v,S,z,"⊢","\\vdash",!0),p(v,S,z,"⊣","\\dashv",!0),p(v,S,z,"∋","\\owns"),p(v,S,x0,".","\\ldotp"),p(v,S,x0,"⋅","\\cdotp"),p(v,S,R,"#","\\#"),p(Q,S,R,"#","\\#"),p(v,S,R,"&","\\&"),p(Q,S,R,"&","\\&"),p(v,S,R,"ℵ","\\aleph",!0),p(v,S,R,"∀","\\forall",!0),p(v,S,R,"ℏ","\\hbar",!0),p(v,S,R,"∃","\\exists",!0),p(v,S,R,"∇","\\nabla",!0),p(v,S,R,"♭","\\flat",!0),p(v,S,R,"","\\ell",!0),p(v,S,R,"♮","\\natural",!0),p(v,S,R,"♣","\\clubsuit",!0),p(v,S,R,"℘","\\wp",!0),p(v,S,R,"♯","\\sharp",!0),p(v,S,R,"♢","\\diamondsuit",!0),p(v,S,R,"","\\Re",!0),p(v,S,R,"♡","\\heartsuit",!0),p(v,S,R,"","\\Im",!0),p(v,S,R,"♠","\\spadesuit",!0),p(v,S,R,"§","\\S",!0),p(Q,S,R,"§","\\S"),p(v,S,R,"¶","\\P",!0),p(Q,S,R,"¶","\\P"),p(v,S,R,"†","\\dag"),p(Q,S,R,"†","\\dag"),p(Q,S,R,"†","\\textdagger"),p(v,S,R,"‡","\\ddag"),p(Q,S,R,"‡","\\ddag"),p(Q,S,R,"‡","\\textdaggerdbl"),p(v,S,cr,"⎱","\\rmoustache",!0),p(v,S,Ar,"⎰","\\lmoustache",!0),p(v,S,cr,"⟯","\\rgroup",!0),p(v,S,Ar,"⟮","\\lgroup",!0),p(v,S,he,"∓","\\mp",!0),p(v,S,he,"⊖","\\ominus",!0),p(v,S,he,"⊎","\\uplus",!0),p(v,S,he,"⊓","\\sqcap",!0),p(v,S,he,"","\\ast"),p(v,S,he,"⊔","\\sqcup",!0),p(v,S,he,"◯","\\bigcirc",!0),p(v,S,he,"∙","\\bullet",!0),p(v,S,he,"‡","\\ddagger"),p(v,S,he,"≀","\\wr",!0),p(v,S,he,"⨿","\\amalg"),p(v,S,he,"&","\\And"),p(v,S,z,"⟵","\\longleftarrow",!0),p(v,S,z,"⇐","\\Leftarrow",!0),p(v,S,z,"⟸","\\Longleftarrow",!0),p(v,S,z,"⟶","\\longrightarrow",!0),p(v,S,z,"⇒","\\Rightarrow",!0),p(v,S,z,"⟹","\\Longrightarrow",!0),p(v,S,z,"↔","\\leftrightarrow",!0),p(v,S,z,"⟷","\\longleftrightarrow",!0),p(v,S,z,"⇔","\\Leftrightarrow",!0),p(v,S,z,"⟺","\\Longleftrightarrow",!0),p(v,S,z,"↦","\\mapsto",!0),p(v,S,z,"⟼","\\longmapsto",!0),p(v,S,z,"↗","\\nearrow",!0),p(v,S,z,"↩","\\hookleftarrow",!0),p(v,S,z,"↪","\\hookrightarrow",!0),p(v,S,z,"↘","\\searrow",!0),p(v,S,z,"↼","\\leftharpoonup",!0),p(v,S,z,"⇀","\\rightharpoonup",!0),p(v,S,z,"↙","\\swarrow",!0),p(v,S,z,"↽","\\leftharpoondown",!0),p(v,S,z,"⇁","\\rightharpoondown",!0),p(v,S,z,"↖","\\nwarrow",!0),p(v,S,z,"⇌","\\rightleftharpoons",!0),p(v,_,z,"≮","\\nless",!0),p(v,_,z,"","\\@nleqslant"),p(v,_,z,"","\\@nleqq"),p(v,_,z,"⪇","\\lneq",!0),p(v,_,z,"≨","\\lneqq",!0),p(v,_,z,"","\\@lvertneqq"),p(v,_,z,"⋦","\\lnsim",!0),p(v,_,z,"⪉","\\lnapprox",!0),p(v,_,z,"⊀","\\nprec",!0),p(v,_,z,"⋠","\\npreceq",!0),p(v,_,z,"⋨","\\precnsim",!0),p(v,_,z,"⪹","\\precnapprox",!0),p(v,_,z,"≁","\\nsim",!0),p(v,_,z,"","\\@nshortmid"),p(v,_,z,"∤","\\nmid",!0),p(v,_,z,"⊬","\\nvdash",!0),p(v,_,z,"⊭","\\nvDash",!0),p(v,_,z,"⋪","\\ntriangleleft"),p(v,_,z,"⋬","\\ntrianglelefteq",!0),p(v,_,z,"⊊","\\subsetneq",!0),p(v,_,z,"","\\@varsubsetneq"),p(v,_,z,"⫋","\\subsetneqq",!0),p(v,_,z,"","\\@varsubsetneqq"),p(v,_,z,"≯","\\ngtr",!0),p(v,_,z,"","\\@ngeqslant"),p(v,_,z,"","\\@ngeqq"),p(v,_,z,"⪈","\\gneq",!0),p(v,_,z,"≩","\\gneqq",!0),p(v,_,z,"","\\@gvertneqq"),p(v,_,z,"⋧","\\gnsim",!0),p(v,_,z,"⪊","\\gnapprox",!0),p(v,_,z,"⊁","\\nsucc",!0),p(v,_,z,"⋡","\\nsucceq",!0),p(v,_,z,"⋩","\\succnsim",!0),p(v,_,z,"⪺","\\succnapprox",!0),p(v,_,z,"≆","\\ncong",!0),p(v,_,z,"","\\@nshortparallel"),p(v,_,z,"∦","\\nparallel",!0),p(v,_,z,"⊯","\\nVDash",!0),p(v,_,z,"⋫","\\ntriangleright"),p(v,_,z,"⋭","\\ntrianglerighteq",!0),p(v,_,z,"","\\@nsupseteqq"),p(v,_,z,"⊋","\\supsetneq",!0),p(v,_,z,"","\\@varsupsetneq"),p(v,_,z,"⫌","\\supsetneqq",!0),p(v,_,z,"","\\@varsupsetneqq"),p(v,_,z,"⊮","\\nVdash",!0),p(v,_,z,"⪵","\\precneqq",!0),p(v,_,z,"⪶","\\succneqq",!0),p(v,_,z,"","\\@nsubseteqq"),p(v,_,he,"⊴","\\unlhd"),p(v,_,he,"⊵","\\unrhd"),p(v,_,z,"↚","\\nleftarrow",!0),p(v,_,z,"↛","\\nrightarrow",!0),p(v,_,z,"⇍","\\nLeftarrow",!0),p(v,_,z,"⇏","\\nRightarrow",!0),p(v,_,z,"↮","\\nleftrightarrow",!0),p(v,_,z,"⇎","\\nLeftrightarrow",!0),p(v,_,z,"△","\\vartriangle"),p(v,_,R,"ℏ","\\hslash"),p(v,_,R,"▽","\\triangledown"),p(v,_,R,"◊","\\lozenge"),p(v,_,R,"Ⓢ","\\circledS"),p(v,_,R,"®","\\circledR"),p(Q,_,R,"®","\\circledR"),p(v,_,R,"∡","\\measuredangle",!0),p(v,_,R,"∄","\\nexists"),p(v,_,R,"℧","\\mho"),p(v,_,R,"Ⅎ","\\Finv",!0),p(v,_,R,"⅁","\\Game",!0),p(v,_,R,"","\\backprime"),p(v,_,R,"▲","\\blacktriangle"),p(v,_,R,"▼","\\blacktriangledown"),p(v,_,R,"■","\\blacksquare"),p(v,_,R,"⧫","\\blacklozenge"),p(v,_,R,"★","\\bigstar"),p(v,_,R,"∢","\\sphericalangle",!0),p(v,_,R,"∁","\\complement",!0),p(v,_,R,"ð","\\eth",!0),p(Q,S,R,"ð","ð"),p(v,_,R,"","\\diagup"),p(v,_,R,"╲","\\diagdown"),p(v,_,R,"□","\\square"),p(v,_,R,"□","\\Box"),p(v,_,R,"◊","\\Diamond"),p(v,_,R,"¥","\\yen",!0),p(Q,_,R,"¥","\\yen",!0),p(v,_,R,"✓","\\checkmark",!0),p(Q,_,R,"✓","\\checkmark"),p(v,_,R,"ℶ","\\beth",!0),p(v,_,R,"ℸ","\\daleth",!0),p(v,_,R,"ℷ","\\gimel",!0),p(v,_,R,"ϝ","\\digamma",!0),p(v,_,R,"ϰ","\\varkappa"),p(v,_,Ar,"┌","\\@ulcorner",!0),p(v,_,cr,"┐","\\@urcorner",!0),p(v,_,Ar,"└","\\@llcorner",!0),p(v,_,cr,"┘","\\@lrcorner",!0),p(v,_,z,"≦","\\leqq",!0),p(v,_,z,"⩽","\\leqslant",!0),p(v,_,z,"⪕","\\eqslantless",!0),p(v,_,z,"≲","\\lesssim",!0),p(v,_,z,"⪅","\\lessapprox",!0),p(v,_,z,"≊","\\approxeq",!0),p(v,_,he,"⋖","\\lessdot"),p(v,_,z,"⋘","\\lll",!0),p(v,_,z,"≶","\\lessgtr",!0),p(v,_,z,"⋚","\\lesseqgtr",!0),p(v,_,z,"⪋","\\lesseqqgtr",!0),p(v,_,z,"≑","\\doteqdot"),p(v,_,z,"≓","\\risingdotseq",!0),p(v,_,z,"≒","\\fallingdotseq",!0),p(v,_,z,"∽","\\backsim",!0),p(v,_,z,"⋍","\\backsimeq",!0),p(v,_,z,"⫅","\\subseteqq",!0),p(v,_,z,"⋐","\\Subset",!0),p(v,_,z,"⊏","\\sqsubset",!0),p(v,_,z,"≼","\\preccurlyeq",!0),p(v,_,z,"⋞","\\curlyeqprec",!0),p(v,_,z,"≾","\\precsim",!0),p(v,_,z,"⪷","\\precapprox",!0),p(v,_,z,"⊲","\\vartriangleleft"),p(v,_,z,"⊴","\\trianglelefteq"),p(v,_,z,"⊨","\\vDash",!0),p(v,_,z,"⊪","\\Vvdash",!0),p(v,_,z,"⌣","\\smallsmile"),p(v,_,z,"⌢","\\smallfrown"),p(v,_,z,"≏","\\bumpeq",!0),p(v,_,z,"≎","\\Bumpeq",!0),p(v,_,z,"≧","\\geqq",!0),p(v,_,z,"⩾","\\geqslant",!0),p(v,_,z,"⪖","\\eqslantgtr",!0),p(v,_,z,"≳","\\gtrsim",!0),p(v,_,z,"⪆","\\gtrapprox",!0),p(v,_,he,"⋗","\\gtrdot"),p(v,_,z,"⋙","\\ggg",!0),p(v,_,z,"≷","\\gtrless",!0),p(v,_,z,"⋛","\\gtreqless",!0),p(v,_,z,"⪌","\\gtreqqless",!0),p(v,_,z,"≖","\\eqcirc",!0),p(v,_,z,"≗","\\circeq",!0),p(v,_,z,"≜","\\triangleq",!0),p(v,_,z,"","\\thicksim"),p(v,_,z,"≈","\\thickapprox"),p(v,_,z,"⫆","\\supseteqq",!0),p(v,_,z,"⋑","\\Supset",!0),p(v,_,z,"⊐","\\sqsupset",!0),p(v,_,z,"≽","\\succcurlyeq",!0),p(v,_,z,"⋟","\\curlyeqsucc",!0),p(v,_,z,"≿","\\succsim",!0),p(v,_,z,"⪸","\\succapprox",!0),p(v,_,z,"⊳","\\vartriangleright"),p(v,_,z,"⊵","\\trianglerighteq"),p(v,_,z,"⊩","\\Vdash",!0),p(v,_,z,"","\\shortmid"),p(v,_,z,"∥","\\shortparallel"),p(v,_,z,"≬","\\between",!0),p(v,_,z,"⋔","\\pitchfork",!0),p(v,_,z,"∝","\\varpropto"),p(v,_,z,"◀","\\blacktriangleleft"),p(v,_,z,"∴","\\therefore",!0),p(v,_,z,"∍","\\backepsilon"),p(v,_,z,"▶","\\blacktriangleright"),p(v,_,z,"∵","\\because",!0),p(v,_,z,"⋘","\\llless"),p(v,_,z,"⋙","\\gggtr"),p(v,_,he,"⊲","\\lhd"),p(v,_,he,"⊳","\\rhd"),p(v,_,z,"≂","\\eqsim",!0),p(v,S,z,"⋈","\\Join"),p(v,_,z,"≑","\\Doteq",!0),p(v,_,he,"∔","\\dotplus",!0),p(v,_,he,"","\\smallsetminus"),p(v,_,he,"⋒","\\Cap",!0),p(v,_,he,"⋓","\\Cup",!0),p(v,_,he,"⩞","\\doublebarwedge",!0),p(v,_,he,"⊟","\\boxminus",!0),p(v,_,he,"⊞","\\boxplus",!0),p(v,_,he,"⋇","\\divideontimes",!0),p(v,_,he,"⋉","\\ltimes",!0),p(v,_,he,"⋊","\\rtimes",!0),p(v,_,he,"⋋","\\leftthreetimes",!0),p(v,_,he,"⋌","\\rightthreetimes",!0),p(v,_,he,"⋏","\\curlywedge",!0),p(v,_,he,"⋎","\\curlyvee",!0),p(v,_,he,"⊝","\\circleddash",!0),p(v,_,he,"⊛","\\circledast",!0),p(v,_,he,"⋅","\\centerdot"),p(v,_,he,"⊺","\\intercal",!0),p(v,_,he,"⋒","\\doublecap"),p(v,_,he,"⋓","\\doublecup"),p(v,_,he,"⊠","\\boxtimes",!0),p(v,_,z,"⇢","\\dashrightarrow",!0),p(v,_,z,"⇠","\\dashleftarrow",!0),p(v,_,z,"⇇","\\leftleftarrows",!0),p(v,_,z,"⇆","\\leftrightarrows",!0),p(v,_,z,"⇚","\\Lleftarrow",!0),p(v,_,z,"↞","\\twoheadleftarrow",!0),p(v,_,z,"↢","\\leftarrowtail",!0),p(v,_,z,"↫","\\looparrowleft",!0),p(v,_,z,"⇋","\\leftrightharpoons",!0),p(v,_,z,"↶","\\curvearrowleft",!0),p(v,_,z,"↺","\\circlearrowleft",!0),p(v,_,z,"↰","\\Lsh",!0),p(v,_,z,"⇈","\\upuparrows",!0),p(v,_,z,"↿","\\upharpoonleft",!0),p(v,_,z,"⇃","\\downharpoonleft",!0),p(v,S,z,"⊶","\\origof",!0),p(v,S,z,"⊷","\\imageof",!0),p(v,_,z,"⊸","\\multimap",!0),p(v,_,z,"↭","\\leftrightsquigarrow",!0),p(v,_,z,"⇉","\\rightrightarrows",!0),p(v,_,z,"⇄","\\rightleftarrows",!0),p(v,_,z,"↠","\\twoheadrightarrow",!0),p(v,_,z,"↣","\\rightarrowtail",!0),p(v,_,z,"↬","\\looparrowright",!0),p(v,_,z,"↷","\\curvearrowright",!0),p(v,_,z,"↻","\\circlearrowright",!0),p(v,_,z,"↱","\\Rsh",!0),p(v,_,z,"⇊","\\downdownarrows",!0),p(v,_,z,"↾","\\upharpoonright",!0),p(v,_,z,"⇂","\\downharpoonright",!0),p(v,_,z,"⇝","\\rightsquigarrow",!0),p(v,_,z,"⇝","\\leadsto"),p(v,_,z,"⇛","\\Rrightarrow",!0),p(v,_,z,"↾","\\restriction"),p(v,S,R,"","`"),p(v,S,R,"$","\\$"),p(Q,S,R,"$","\\$"),p(Q,S,R,"$","\\textdollar"),p(v,S,R,"%","\\%"),p(Q,S,R,"%","\\%"),p(v,S,R,"_","\\_"),p(Q,S,R,"_","\\_"),p(Q,S,R,"_","\\textunderscore"),p(v,S,R,"∠","\\angle",!0),p(v,S,R,"∞","\\infty",!0),p(v,S,R,"","\\prime"),p(v,S,R,"△","\\triangle"),p(v,S,R,"Γ","\\Gamma",!0),p(v,S,R,"Δ","\\Delta",!0),p(v,S,R,"Θ","\\Theta",!0),p(v,S,R,"Λ","\\Lambda",!0),p(v,S,R,"Ξ","\\Xi",!0),p(v,S,R,"Π","\\Pi",!0),p(v,S,R,"Σ","\\Sigma",!0),p(v,S,R,"Υ","\\Upsilon",!0),p(v,S,R,"Φ","\\Phi",!0),p(v,S,R,"Ψ","\\Psi",!0),p(v,S,R,"Ω","\\Omega",!0),p(v,S,R,"A","Α"),p(v,S,R,"B","Β"),p(v,S,R,"E","Ε"),p(v,S,R,"Z","Ζ"),p(v,S,R,"H","Η"),p(v,S,R,"I","Ι"),p(v,S,R,"K","Κ"),p(v,S,R,"M","Μ"),p(v,S,R,"N","Ν"),p(v,S,R,"O","Ο"),p(v,S,R,"P","Ρ"),p(v,S,R,"T","Τ"),p(v,S,R,"X","Χ"),p(v,S,R,"¬","\\neg",!0),p(v,S,R,"¬","\\lnot"),p(v,S,R,"","\\top"),p(v,S,R,"⊥","\\bot"),p(v,S,R,"∅","\\emptyset"),p(v,_,R,"∅","\\varnothing"),p(v,S,ge,"α","\\alpha",!0),p(v,S,ge,"β","\\beta",!0),p(v,S,ge,"γ","\\gamma",!0),p(v,S,ge,"δ","\\delta",!0),p(v,S,ge,"ϵ","\\epsilon",!0),p(v,S,ge,"ζ","\\zeta",!0),p(v,S,ge,"η","\\eta",!0),p(v,S,ge,"θ","\\theta",!0),p(v,S,ge,"ι","\\iota",!0),p(v,S,ge,"κ","\\kappa",!0),p(v,S,ge,"λ","\\lambda",!0),p(v,S,ge,"μ","\\mu",!0),p(v,S,ge,"ν","\\nu",!0),p(v,S,ge,"ξ","\\xi",!0),p(v,S,ge,"ο","\\omicron",!0),p(v,S,ge,"π","\\pi",!0),p(v,S,ge,"ρ","\\rho",!0),p(v,S,ge,"σ","\\sigma",!0),p(v,S,ge,"τ","\\tau",!0),p(v,S,ge,"υ","\\upsilon",!0),p(v,S,ge,"ϕ","\\phi",!0),p(v,S,ge,"χ","\\chi",!0),p(v,S,ge,"ψ","\\psi",!0),p(v,S,ge,"ω","\\omega",!0),p(v,S,ge,"ε","\\varepsilon",!0),p(v,S,ge,"ϑ","\\vartheta",!0),p(v,S,ge,"ϖ","\\varpi",!0),p(v,S,ge,"ϱ","\\varrho",!0),p(v,S,ge,"ς","\\varsigma",!0),p(v,S,ge,"φ","\\varphi",!0),p(v,S,he,"","*",!0),p(v,S,he,"+","+"),p(v,S,he,"","-",!0),p(v,S,he,"⋅","\\cdot",!0),p(v,S,he,"∘","\\circ",!0),p(v,S,he,"÷","\\div",!0),p(v,S,he,"±","\\pm",!0),p(v,S,he,"×","\\times",!0),p(v,S,he,"∩","\\cap",!0),p(v,S,he,"","\\cup",!0),p(v,S,he,"","\\setminus",!0),p(v,S,he,"∧","\\land"),p(v,S,he,"","\\lor"),p(v,S,he,"∧","\\wedge",!0),p(v,S,he,"","\\vee",!0),p(v,S,R,"√","\\surd"),p(v,S,Ar,"⟨","\\langle",!0),p(v,S,Ar,"","\\lvert"),p(v,S,Ar,"∥","\\lVert"),p(v,S,cr,"?","?"),p(v,S,cr,"!","!"),p(v,S,cr,"⟩","\\rangle",!0),p(v,S,cr,"","\\rvert"),p(v,S,cr,"∥","\\rVert"),p(v,S,z,"=","="),p(v,S,z,":",":"),p(v,S,z,"≈","\\approx",!0),p(v,S,z,"≅","\\cong",!0),p(v,S,z,"≥","\\ge"),p(v,S,z,"≥","\\geq",!0),p(v,S,z,"←","\\gets"),p(v,S,z,">","\\gt",!0),p(v,S,z,"∈","\\in",!0),p(v,S,z,"","\\@not"),p(v,S,z,"⊂","\\subset",!0),p(v,S,z,"⊃","\\supset",!0),p(v,S,z,"⊆","\\subseteq",!0),p(v,S,z,"⊇","\\supseteq",!0),p(v,_,z,"⊈","\\nsubseteq",!0),p(v,_,z,"⊉","\\nsupseteq",!0),p(v,S,z,"⊨","\\models"),p(v,S,z,"←","\\leftarrow",!0),p(v,S,z,"≤","\\le"),p(v,S,z,"≤","\\leq",!0),p(v,S,z,"<","\\lt",!0),p(v,S,z,"→","\\rightarrow",!0),p(v,S,z,"→","\\to"),p(v,_,z,"≱","\\ngeq",!0),p(v,_,z,"≰","\\nleq",!0),p(v,S,Zr," ","\\ "),p(v,S,Zr," ","\\space"),p(v,S,Zr," ","\\nobreakspace"),p(Q,S,Zr," ","\\ "),p(Q,S,Zr," "," "),p(Q,S,Zr," ","\\space"),p(Q,S,Zr," ","\\nobreakspace"),p(v,S,Zr,null,"\\nobreak"),p(v,S,Zr,null,"\\allowbreak"),p(v,S,x0,",",","),p(v,S,x0,";",";"),p(v,_,he,"⊼","\\barwedge",!0),p(v,_,he,"⊻","\\veebar",!0),p(v,S,he,"⊙","\\odot",!0),p(v,S,he,"⊕","\\oplus",!0),p(v,S,he,"⊗","\\otimes",!0),p(v,S,R,"∂","\\partial",!0),p(v,S,he,"⊘","\\oslash",!0),p(v,_,he,"⊚","\\circledcirc",!0),p(v,_,he,"⊡","\\boxdot",!0),p(v,S,he,"△","\\bigtriangleup"),p(v,S,he,"▽","\\bigtriangledown"),p(v,S,he,"†","\\dagger"),p(v,S,he,"⋄","\\diamond"),p(v,S,he,"⋆","\\star"),p(v,S,he,"◃","\\triangleleft"),p(v,S,he,"▹","\\triangleright"),p(v,S,Ar,"{","\\{"),p(Q,S,R,"{","\\{"),p(Q,S,R,"{","\\textbraceleft"),p(v,S,cr,"}","\\}"),p(Q,S,R,"}","\\}"),p(Q,S,R,"}","\\textbraceright"),p(v,S,Ar,"{","\\lbrace"),p(v,S,cr,"}","\\rbrace"),p(v,S,Ar,"[","\\lbrack",!0),p(Q,S,R,"[","\\lbrack",!0),p(v,S,cr,"]","\\rbrack",!0),p(Q,S,R,"]","\\rbrack",!0),p(v,S,Ar,"(","\\lparen",!0),p(v,S,cr,")","\\rparen",!0),p(Q,S,R,"<","\\textless",!0),p(Q,S,R,">","\\textgreater",!0),p(v,S,Ar,"⌊","\\lfloor",!0),p(v,S,cr,"⌋","\\rfloor",!0),p(v,S,Ar,"⌈","\\lceil",!0),p(v,S,cr,"⌉","\\rceil",!0),p(v,S,R,"\\","\\backslash"),p(v,S,R,"","|"),p(v,S,R,"","\\vert"),p(Q,S,R,"|","\\textbar",!0),p(v,S,R,"∥","\\|"),p(v,S,R,"∥","\\Vert"),p(Q,S,R,"∥","\\textbardbl"),p(Q,S,R,"~","\\textasciitilde"),p(Q,S,R,"\\","\\textbackslash"),p(Q,S,R,"^","\\textasciicircum"),p(v,S,z,"↑","\\uparrow",!0),p(v,S,z,"⇑","\\Uparrow",!0),p(v,S,z,"↓","\\downarrow",!0),p(v,S,z,"⇓","\\Downarrow",!0),p(v,S,z,"↕","\\updownarrow",!0),p(v,S,z,"⇕","\\Updownarrow",!0),p(v,S,Ke,"∐","\\coprod"),p(v,S,Ke,"","\\bigvee"),p(v,S,Ke,"⋀","\\bigwedge"),p(v,S,Ke,"⨄","\\biguplus"),p(v,S,Ke,"⋂","\\bigcap"),p(v,S,Ke,"","\\bigcup"),p(v,S,Ke,"∫","\\int"),p(v,S,Ke,"∫","\\intop"),p(v,S,Ke,"∬","\\iint"),p(v,S,Ke,"∭","\\iiint"),p(v,S,Ke,"∏","\\prod"),p(v,S,Ke,"∑","\\sum"),p(v,S,Ke,"⨂","\\bigotimes"),p(v,S,Ke,"⨁","\\bigoplus"),p(v,S,Ke,"⨀","\\bigodot"),p(v,S,Ke,"∮","\\oint"),p(v,S,Ke,"∯","\\oiint"),p(v,S,Ke,"∰","\\oiiint"),p(v,S,Ke,"⨆","\\bigsqcup"),p(v,S,Ke,"∫","\\smallint"),p(Q,S,M0,"…","\\textellipsis"),p(v,S,M0,"…","\\mathellipsis"),p(Q,S,M0,"…","\\ldots",!0),p(v,S,M0,"…","\\ldots",!0),p(v,S,M0,"⋯","\\@cdots",!0),p(v,S,M0,"⋱","\\ddots",!0),p(v,S,R,"⋮","\\varvdots"),p(v,S,Ue,"ˊ","\\acute"),p(v,S,Ue,"ˋ","\\grave"),p(v,S,Ue,"¨","\\ddot"),p(v,S,Ue,"~","\\tilde"),p(v,S,Ue,"ˉ","\\bar"),p(v,S,Ue,"˘","\\breve"),p(v,S,Ue,"ˇ","\\check"),p(v,S,Ue,"^","\\hat"),p(v,S,Ue,"⃗","\\vec"),p(v,S,Ue,"˙","\\dot"),p(v,S,Ue,"˚","\\mathring"),p(v,S,ge,"","\\@imath"),p(v,S,ge,"","\\@jmath"),p(v,S,R,"ı","ı"),p(v,S,R,"ȷ","ȷ"),p(Q,S,R,"ı","\\i",!0),p(Q,S,R,"ȷ","\\j",!0),p(Q,S,R,"ß","\\ss",!0),p(Q,S,R,"æ","\\ae",!0),p(Q,S,R,"œ","\\oe",!0),p(Q,S,R,"ø","\\o",!0),p(Q,S,R,"Æ","\\AE",!0),p(Q,S,R,"Œ","\\OE",!0),p(Q,S,R,"Ø","\\O",!0),p(Q,S,Ue,"ˊ","\\'"),p(Q,S,Ue,"ˋ","\\`"),p(Q,S,Ue,"ˆ","\\^"),p(Q,S,Ue,"˜","\\~"),p(Q,S,Ue,"ˉ","\\="),p(Q,S,Ue,"˘","\\u"),p(Q,S,Ue,"˙","\\."),p(Q,S,Ue,"¸","\\c"),p(Q,S,Ue,"˚","\\r"),p(Q,S,Ue,"ˇ","\\v"),p(Q,S,Ue,"¨",'\\"'),p(Q,S,Ue,"˝","\\H"),p(Q,S,Ue,"◯","\\textcircled");var j0={"--":!0,"---":!0,"``":!0,"''":!0};p(Q,S,R,"","--",!0),p(Q,S,R,"","\\textendash"),p(Q,S,R,"—","---",!0),p(Q,S,R,"—","\\textemdash"),p(Q,S,R,"","`",!0),p(Q,S,R,"","\\textquoteleft"),p(Q,S,R,"","'",!0),p(Q,S,R,"","\\textquoteright"),p(Q,S,R,"“","``",!0),p(Q,S,R,"“","\\textquotedblleft"),p(Q,S,R,"”","''",!0),p(Q,S,R,"”","\\textquotedblright"),p(v,S,R,"°","\\degree",!0),p(Q,S,R,"°","\\degree"),p(Q,S,R,"°","\\textdegree",!0),p(v,S,R,"£","\\pounds"),p(v,S,R,"£","\\mathsterling",!0),p(Q,S,R,"£","\\pounds"),p(Q,S,R,"£","\\textsterling",!0),p(v,_,R,"✠","\\maltese"),p(Q,_,R,"✠","\\maltese");for(var xt='0123456789/@."',ln=0;ln<xt.length;ln++){var ci=xt.charAt(ln);p(v,S,R,ci,ci)}for(var hi='0123456789!@*()-=+";:?/.,',on=0;on<hi.length;on++){var fi=hi.charAt(on);p(Q,S,R,fi,fi)}for(var yt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",W0=0;W0<yt.length;W0++){var K0=yt.charAt(W0);p(v,S,ge,K0,K0),p(Q,S,R,K0,K0)}p(v,_,R,"C",""),p(Q,_,R,"C",""),p(v,_,R,"H",""),p(Q,_,R,"H",""),p(v,_,R,"N",""),p(Q,_,R,"N",""),p(v,_,R,"P",""),p(Q,_,R,"P",""),p(v,_,R,"Q",""),p(Q,_,R,"Q",""),p(v,_,R,"R",""),p(Q,_,R,"R",""),p(v,_,R,"Z",""),p(Q,_,R,"Z",""),p(v,S,ge,"h",""),p(Q,S,ge,"h","");for(var we="",hr=0;hr<yt.length;hr++){var Ze=yt.charAt(hr);we=String.fromCharCode(55349,56320+hr),p(v,S,ge,Ze,we),p(Q,S,R,Ze,we),we=String.fromCharCode(55349,56372+hr),p(v,S,ge,Ze,we),p(Q,S,R,Ze,we),we=String.fromCharCode(55349,56424+hr),p(v,S,ge,Ze,we),p(Q,S,R,Ze,we),we=String.fromCharCode(55349,56580+hr),p(v,S,ge,Ze,we),p(Q,S,R,Ze,we),we=String.fromCharCode(55349,56684+hr),p(v,S,ge,Ze,we),p(Q,S,R,Ze,we),we=String.fromCharCode(55349,56736+hr),p(v,S,ge,Ze,we),p(Q,S,R,Ze,we),we=String.fromCharCode(55349,56788+hr),p(v,S,ge,Ze,we),p(Q,S,R,Ze,we),we=String.fromCharCode(55349,56840+hr),p(v,S,ge,Ze,we),p(Q,S,R,Ze,we),we=String.fromCharCode(55349,56944+hr),p(v,S,ge,Ze,we),p(Q,S,R,Ze,we),hr<26&&(we=String.fromCharCode(55349,56632+hr),p(v,S,ge,Ze,we),p(Q,S,R,Ze,we),we=String.fromCharCode(55349,56476+hr),p(v,S,ge,Ze,we),p(Q,S,R,Ze,we))}we=String.fromCharCode(55349,56668),p(v,S,ge,"k",we),p(Q,S,R,"k",we);for(var y0=0;y0<10;y0++){var n0=y0.toString();we=String.fromCharCode(55349,57294+y0),p(v,S,ge,n0,we),p(Q,S,R,n0,we),we=String.fromCharCode(55349,57314+y0),p(v,S,ge,n0,we),p(Q,S,R,n0,we),we=String.fromCharCode(55349,57324+y0),p(v,S,ge,n0,we),p(Q,S,R,n0,we),we=String.fromCharCode(55349,57334+y0),p(v,S,ge,n0,we),p(Q,S,R,n0,we)}for(var bt="ÐÞþ",wt=0;wt<bt.length;wt++){var At=bt.charAt(wt);p(v,S,ge,At,At),p(Q,S,R,At,At)}var kt=[["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"]],pi=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],Wa=function(r,t){var n=r.charCodeAt(0),u=r.charCodeAt(1),s=(n-55296)*1024+(u-56320)+65536,m=t==="math"?0:1;if(119808<=s&&s<120484){var b=Math.floor((s-119808)/26);return[kt[b][2],kt[b][m]]}else if(120782<=s&&s<=120831){var C=Math.floor((s-120782)/10);return[pi[C][2],pi[C][m]]}else{if(s===120485||s===120486)return[kt[0][2],kt[0][m]];if(120486<s&&s<120782)return["",""];throw new k("Unsupported character: "+r)}},St=function(r,t,n){return Ve[n][r]&&Ve[n][r].replace&&(r=Ve[n][r].replace),{value:r,metrics:mt(r,t,n)}},Lr=function(r,t,n,u,s){var m=St(r,t,n),b=m.metrics;r=m.value;var C;if(b){var E=b.italic;(n==="text"||u&&u.font==="mathit")&&(E=0),C=new Tr(r,b.height,b.depth,E,b.skew,b.width,s)}else typeof console<"u"&&console.warn("No character metrics "+("for '"+r+"' in style '"+t+"' and mode '"+n+"'")),C=new Tr(r,0,0,0,0,0,s);if(u){C.maxFontSize=u.sizeMultiplier,u.style.isTight()&&C.classes.push("mtight");var F=u.getColor();F&&(C.style.color=F)}return C},Ka=function(r,t,n,u){return u===void 0&&(u=[]),n.font==="boldsymbol"&&St(r,"Main-Bold",t).metrics?Lr(r,"Main-Bold",t,n,u.concat(["mathbf"])):r==="\\"||Ve[t][r].font==="main"?Lr(r,"Main-Regular",t,n,u):Lr(r,"AMS-Regular",t,n,u.concat(["amsrm"]))},Za=function(r,t,n,u,s){return s!=="textord"&&St(r,"Math-BoldItalic",t).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},Ja=function(r,t,n){var u=r.mode,s=r.text,m=["mord"],b=u==="math"||u==="text"&&t.font,C=b?t.font:t.fontFamily,E="",F="";if(s.charCodeAt(0)===55349){var U=Wa(s,u);E=U[0],F=U[1]}if(E.length>0)return Lr(s,E,u,t,m.concat(F));if(C){var $,Y;if(C==="boldsymbol"){var j=Za(s,u,t,m,n);$=j.fontName,Y=[j.fontClass]}else b?($=vi[C].fontName,Y=[C]):($=Ct(C,t.fontWeight,t.fontShape),Y=[C,t.fontWeight,t.fontShape]);if(St(s,$,u).metrics)return Lr(s,$,u,t,m.concat(Y));if(j0.hasOwnProperty(s)&&$.slice(0,10)==="Typewriter"){for(var ie=[],le=0;le<s.length;le++)ie.push(Lr(s[le],$,u,t,m.concat(Y)));return mi(ie)}}if(n==="mathord")return Lr(s,"Math-Italic",u,t,m.concat(["mathnormal"]));if(n==="textord"){var fe=Ve[u][s]&&Ve[u][s].font;if(fe==="ams"){var de=Ct("amsrm",t.fontWeight,t.fontShape);return Lr(s,de,u,t,m.concat("amsrm",t.fontWeight,t.fontShape))}else if(fe==="main"||!fe){var ve=Ct("textrm",t.fontWeight,t.fontShape);return Lr(s,ve,u,t,m.concat(t.fontWeight,t.fontShape))}else{var ze=Ct(fe,t.fontWeight,t.fontShape);return Lr(s,ze,u,t,m.concat(ze,t.fontWeight,t.fontShape))}}else throw new Error("unexpected type: "+n+" in makeOrd")},Qa=function(r,t){if(t0(r.classes)!==t0(t.classes)||r.skew!==t.skew||r.maxFontSize!==t.maxFontSize)return!1;if(r.classes.length===1){var n=r.classes[0];if(n==="mbin"||n==="mord")return!1}for(var u in r.style)if(r.style.hasOwnProperty(u)&&r.style[u]!==t.style[u])return!1;for(var s in t.style)if(t.style.hasOwnProperty(s)&&r.style[s]!==t.style[s])return!1;return!0},eu=function(r){for(var t=0;t<r.length-1;t++){var n=r[t],u=r[t+1];n instanceof Tr&&u instanceof Tr&&Qa(n,u)&&(n.text+=u.text,n.height=Math.max(n.height,u.height),n.depth=Math.max(n.depth,u.depth),n.italic=u.italic,r.splice(t+1,1),t--)}return r},sn=function(r){for(var t=0,n=0,u=0,s=0;s<r.children.length;s++){var m=r.children[s];m.height>t&&(t=m.height),m.depth>n&&(n=m.depth),m.maxFontSize>u&&(u=m.maxFontSize)}r.height=t,r.depth=n,r.maxFontSize=u},lr=function(r,t,n,u){var s=new Y0(r,t,n,u);return sn(s),s},di=function(r,t,n,u){return new Y0(r,t,n,u)},ru=function(r,t,n){var u=lr([r],[],t);return u.height=Math.max(n||t.fontMetrics().defaultRuleThickness,t.minRuleThickness),u.style.borderBottomWidth=ae(u.height),u.maxFontSize=1,u},tu=function(r,t,n,u){var s=new gt(r,t,n,u);return sn(s),s},mi=function(r){var t=new Rr(r);return sn(t),t},nu=function(r,t){return r instanceof Rr?lr([],[r],t):r},iu=function(r){if(r.positionType==="individualShift"){for(var t=r.children,n=[t[0]],u=-t[0].shift-t[0].elem.depth,s=u,m=1;m<t.length;m++){var b=-t[m].shift-s-t[m].elem.depth,C=b-(t[m-1].elem.height+t[m-1].elem.depth);s=s+b,n.push({type:"kern",size:C}),n.push(t[m])}return{children:n,depth:u}}var E;if(r.positionType==="top"){for(var F=r.positionData,U=0;U<r.children.length;U++){var $=r.children[U];F-=$.type==="kern"?$.size:$.elem.height+$.elem.depth}E=F}else if(r.positionType==="bottom")E=-r.positionData;else{var Y=r.children[0];if(Y.type!=="elem")throw new Error('First child must have type "elem".');if(r.positionType==="shift")E=-Y.elem.depth-r.positionData;else if(r.positionType==="firstBaseline")E=-Y.elem.depth;else throw new Error("Invalid positionType "+r.positionType+".")}return{children:r.children,depth:E}},au=function(r,t){for(var n=iu(r),u=n.children,s=n.depth,m=0,b=0;b<u.length;b++){var C=u[b];if(C.type==="elem"){var E=C.elem;m=Math.max(m,E.maxFontSize,E.height)}}m+=2;var F=lr(["pstrut"],[]);F.style.height=ae(m);for(var U=[],$=s,Y=s,j=s,ie=0;ie<u.length;ie++){var le=u[ie];if(le.type==="kern")j+=le.size;else{var fe=le.elem,de=le.wrapperClasses||[],ve=le.wrapperStyle||{},ze=lr(de,[F,fe],void 0,ve);ze.style.top=ae(-m-j-fe.depth),le.marginLeft&&(ze.style.marginLeft=le.marginLeft),le.marginRight&&(ze.style.marginRight=le.marginRight),U.push(ze),j+=fe.height+fe.depth}$=Math.min($,j),Y=Math.max(Y,j)}var Ce=lr(["vlist"],U);Ce.style.height=ae(Y);var qe;if($<0){var Ne=lr([],[]),Ie=lr(["vlist"],[Ne]);Ie.style.height=ae(-$);var He=lr(["vlist-s"],[new Tr("")]);qe=[lr(["vlist-r"],[Ce,He]),lr(["vlist-r"],[Ie])]}else qe=[lr(["vlist-r"],[Ce])];var Qe=lr(["vlist-t"],qe);return qe.length===2&&Qe.classes.push("vlist-t2"),Qe.height=Y,Qe.depth=-$,Qe},uu=function(r,t){var n=lr(["mspace"],[],t),u=Ye(r,t);return n.style.marginRight=ae(u),n},Ct=function(r,t,n){var u="";switch(r){case"amsrm":u="AMS";break;case"textrm":u="Main";break;case"textsf":u="SansSerif";break;case"texttt":u="Typewriter";break;default:u=r}var s;return t==="textbf"&&n==="textit"?s="BoldItalic":t==="textbf"?s="Bold":t==="textit"?s="Italic":s="Regular",u+"-"+s},vi={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"}},gi={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},lu=function(r,t){var n=gi[r],u=n[0],s=n[1],m=n[2],b=new Wr(u),C=new Or([b],{width:ae(s),height:ae(m),style:"width:"+ae(s),viewBox:"0 0 "+1e3*s+" "+1e3*m,preserveAspectRatio:"xMinYMin"}),E=di(["overlay"],[C],t);return E.height=m,E.style.height=ae(m),E.style.width=ae(s),E},V={fontMap:vi,makeSymbol:Lr,mathsym:Ka,makeSpan:lr,makeSvgSpan:di,makeLineSpan:ru,makeAnchor:tu,makeFragment:mi,wrapFragment:nu,makeVList:au,makeOrd:Ja,makeGlue:uu,staticSvg:lu,svgData:gi,tryCombineChars:eu},Xe={number:3,unit:"mu"},b0={number:4,unit:"mu"},Jr={number:5,unit:"mu"},ou={mord:{mop:Xe,mbin:b0,mrel:Jr,minner:Xe},mop:{mord:Xe,mop:Xe,mrel:Jr,minner:Xe},mbin:{mord:b0,mop:b0,mopen:b0,minner:b0},mrel:{mord:Jr,mop:Jr,mopen:Jr,minner:Jr},mopen:{},mclose:{mop:Xe,mbin:b0,mrel:Jr,minner:Xe},mpunct:{mord:Xe,mop:Xe,mrel:Jr,mopen:Xe,mclose:Xe,mpunct:Xe,minner:Xe},minner:{mord:Xe,mop:Xe,mbin:b0,mrel:Jr,mopen:Xe,mpunct:Xe,minner:Xe}},su={mord:{mop:Xe},mop:{mord:Xe,mop:Xe},mbin:{},mrel:{},mopen:{},mclose:{mop:Xe},mpunct:{},minner:{mop:Xe}},Dt={},w0={},Et={};function oe(d){for(var r=d.type,t=d.names,n=d.props,u=d.handler,s=d.htmlBuilder,m=d.mathmlBuilder,b={type:r,numArgs:n.numArgs,argTypes:n.argTypes,allowedInArgument:!!n.allowedInArgument,allowedInText:!!n.allowedInText,allowedInMath:n.allowedInMath===void 0?!0:n.allowedInMath,numOptionalArgs:n.numOptionalArgs||0,infix:!!n.infix,primitive:!!n.primitive,handler:u},C=0;C<t.length;++C)Dt[t[C]]=b;r&&(s&&(w0[r]=s),m&&(Et[r]=m))}function A0(d){var r=d.type,t=d.htmlBuilder,n=d.mathmlBuilder;oe({type:r,names:[],props:{numArgs:0},handler:function(){throw new Error("Should never be called.")},htmlBuilder:t,mathmlBuilder:n})}var Bt=function(r){return r.type==="ordgroup"&&r.body.length===1?r.body[0]:r},er=function(r){return r.type==="ordgroup"?r.body:[r]},$r=V.makeSpan,i0=["leftmost","mbin","mopen","mrel","mop","mpunct"],bl=["rightmost","mrel","mclose","mpunct"],cu={display:ue.DISPLAY,text:ue.TEXT,script:ue.SCRIPT,scriptscript:ue.SCRIPTSCRIPT},Z0={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},rr=function(r,t,n,u){u===void 0&&(u=[null,null]);for(var s=[],m=0;m<r.length;m++){var b=Fe(r[m],t);if(b instanceof Rr){var C=b.children;s.push.apply(s,C)}else s.push(b)}if(V.tryCombineChars(s),!n)return s;var E=t;if(r.length===1){var F=r[0];F.type==="sizing"?E=t.havingSize(F.size):F.type==="styling"&&(E=t.havingStyle(cu[F.style]))}var U=$r([u[0]||"leftmost"],[],t),$=$r([u[1]||"rightmost"],[],t),Y=n==="root";return xi(s,function(j,ie){var le=ie.classes[0],fe=j.classes[0];le==="mbin"&&K.contains(bl,fe)?ie.classes[0]="mord":fe==="mbin"&&K.contains(i0,le)&&(j.classes[0]="mord")},{node:U},$,Y),xi(s,function(j,ie){var le=J0(ie),fe=J0(j),de=le&&fe?j.hasClass("mtight")?su[le][fe]:ou[le][fe]:null;if(de)return V.makeGlue(de,E)},{node:U},$,Y),s},xi=function d(r,t,n,u,s){u&&r.push(u);for(var m=0;m<r.length;m++){var b=r[m],C=yi(b);if(C){d(C.children,t,n,null,s);continue}var E=!b.hasClass("mspace");if(E){var F=t(b,n.node);F&&(n.insertAfter?n.insertAfter(F):(r.unshift(F),m++))}E?n.node=b:s&&b.hasClass("newline")&&(n.node=$r(["leftmost"])),n.insertAfter=function(U){return function($){r.splice(U+1,0,$),m++}}(m)}u&&r.pop()},yi=function(r){return r instanceof Rr||r instanceof gt||r instanceof Y0&&r.hasClass("enclosing")?r:null},wl=function d(r,t){var n=yi(r);if(n){var u=n.children;if(u.length){if(t==="right")return d(u[u.length-1],"right");if(t==="left")return d(u[0],"left")}}return r},J0=function(r,t){return r?(t&&(r=wl(r,t)),Z0[r.classes[0]]||null):null},Q0=function(r,t){var n=["nulldelimiter"].concat(r.baseSizingClasses());return $r(t.concat(n))},Fe=function(r,t,n){if(!r)return $r();if(w0[r.type]){var u=w0[r.type](r,t);if(n&&t.size!==n.size){u=$r(t.sizingClasses(n),[u],t);var s=t.sizeMultiplier/n.sizeMultiplier;u.height*=s,u.depth*=s}return u}else throw new k("Got group of unknown type: '"+r.type+"'")};function Mt(d,r){var t=$r(["base"],d,r),n=$r(["strut"]);return n.style.height=ae(t.height+t.depth),t.depth&&(n.style.verticalAlign=ae(-t.depth)),t.children.unshift(n),t}function et(d,r){var t=null;d.length===1&&d[0].type==="tag"&&(t=d[0].tag,d=d[0].body);var n=rr(d,r,"root"),u;n.length===2&&n[1].hasClass("tag")&&(u=n.pop());for(var s=[],m=[],b=0;b<n.length;b++)if(m.push(n[b]),n[b].hasClass("mbin")||n[b].hasClass("mrel")||n[b].hasClass("allowbreak")){for(var C=!1;b<n.length-1&&n[b+1].hasClass("mspace")&&!n[b+1].hasClass("newline");)b++,m.push(n[b]),n[b].hasClass("nobreak")&&(C=!0);C||(s.push(Mt(m,r)),m=[])}else n[b].hasClass("newline")&&(m.pop(),m.length>0&&(s.push(Mt(m,r)),m=[]),s.push(n[b]));m.length>0&&s.push(Mt(m,r));var E;t?(E=Mt(rr(t,r,!0)),E.classes=["tag"],s.push(E)):u&&s.push(u);var F=$r(["katex-html"],s);if(F.setAttribute("aria-hidden","true"),E){var U=E.children[0];U.style.height=ae(F.height+F.depth),F.depth&&(U.style.verticalAlign=ae(-F.depth))}return F}function Tt(d){return new Rr(d)}var _r=function(){function d(t,n,u){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=t,this.attributes={},this.children=n||[],this.classes=u||[]}var r=d.prototype;return r.setAttribute=function(n,u){this.attributes[n]=u},r.getAttribute=function(n){return this.attributes[n]},r.toNode=function(){var n=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var u in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,u)&&n.setAttribute(u,this.attributes[u]);this.classes.length>0&&(n.className=t0(this.classes));for(var s=0;s<this.children.length;s++)n.appendChild(this.children[s].toNode());return n},r.toMarkup=function(){var n="<"+this.type;for(var u in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,u)&&(n+=" "+u+'="',n+=K.escape(this.attributes[u]),n+='"');this.classes.length>0&&(n+=' class ="'+K.escape(t0(this.classes))+'"'),n+=">";for(var s=0;s<this.children.length;s++)n+=this.children[s].toMarkup();return n+="</"+this.type+">",n},r.toText=function(){return this.children.map(function(n){return n.toText()}).join("")},d}(),rt=function(){function d(t){this.text=void 0,this.text=t}var r=d.prototype;return r.toNode=function(){return document.createTextNode(this.text)},r.toMarkup=function(){return K.escape(this.toText())},r.toText=function(){return this.text},d}(),bi=function(){function d(t){this.width=void 0,this.character=void 0,this.width=t,t>=.05555&&t<=.05556?this.character="":t>=.1666&&t<=.1667?this.character="":t>=.2222&&t<=.2223?this.character="":t>=.2777&&t<=.2778?this.character="":t>=-.05556&&t<=-.05555?this.character="":t>=-.1667&&t<=-.1666?this.character="":t>=-.2223&&t<=-.2222?this.character="":t>=-.2778&&t<=-.2777?this.character="":this.character=null}var r=d.prototype;return r.toNode=function(){if(this.character)return document.createTextNode(this.character);var n=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return n.setAttribute("width",ae(this.width)),n},r.toMarkup=function(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+ae(this.width)+'"/>'},r.toText=function(){return this.character?this.character:" "},d}(),te={MathNode:_r,TextNode:rt,SpaceNode:bi,newDocumentFragment:Tt},kr=function(r,t,n){return Ve[t][r]&&Ve[t][r].replace&&r.charCodeAt(0)!==55349&&!(j0.hasOwnProperty(r)&&n&&(n.fontFamily&&n.fontFamily.slice(4,6)==="tt"||n.font&&n.font.slice(4,6)==="tt"))&&(r=Ve[t][r].replace),new te.TextNode(r)},cn=function(r){return r.length===1?r[0]:new te.MathNode("mrow",r)},hn=function(r,t){if(t.fontFamily==="texttt")return"monospace";if(t.fontFamily==="textsf")return t.fontShape==="textit"&&t.fontWeight==="textbf"?"sans-serif-bold-italic":t.fontShape==="textit"?"sans-serif-italic":t.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(t.fontShape==="textit"&&t.fontWeight==="textbf")return"bold-italic";if(t.fontShape==="textit")return"italic";if(t.fontWeight==="textbf")return"bold";var n=t.font;if(!n||n==="mathnormal")return null;var u=r.mode;if(n==="mathit")return"italic";if(n==="boldsymbol")return r.type==="textord"?"bold":"bold-italic";if(n==="mathbf")return"bold";if(n==="mathbb")return"double-struck";if(n==="mathfrak")return"fraktur";if(n==="mathscr"||n==="mathcal")return"script";if(n==="mathsf")return"sans-serif";if(n==="mathtt")return"monospace";var s=r.text;if(K.contains(["\\imath","\\jmath"],s))return null;Ve[u][s]&&Ve[u][s].replace&&(s=Ve[u][s].replace);var m=V.fontMap[n].fontName;return mt(s,m,u)?V.fontMap[n].variant:null},yr=function(r,t,n){if(r.length===1){var u=Pe(r[0],t);return n&&u instanceof _r&&u.type==="mo"&&(u.setAttribute("lspace","0em"),u.setAttribute("rspace","0em")),[u]}for(var s=[],m,b=0;b<r.length;b++){var C=Pe(r[b],t);if(C instanceof _r&&m instanceof _r){if(C.type==="mtext"&&m.type==="mtext"&&C.getAttribute("mathvariant")===m.getAttribute("mathvariant")){var E;(E=m.children).push.apply(E,C.children);continue}else if(C.type==="mn"&&m.type==="mn"){var F;(F=m.children).push.apply(F,C.children);continue}else if(C.type==="mi"&&C.children.length===1&&m.type==="mn"){var U=C.children[0];if(U instanceof rt&&U.text==="."){var $;($=m.children).push.apply($,C.children);continue}}else if(m.type==="mi"&&m.children.length===1){var Y=m.children[0];if(Y instanceof rt&&Y.text==="̸"&&(C.type==="mo"||C.type==="mi"||C.type==="mn")){var j=C.children[0];j instanceof rt&&j.text.length>0&&(j.text=j.text.slice(0,1)+"̸"+j.text.slice(1),s.pop())}}}s.push(C),m=C}return s},a0=function(r,t,n){return cn(yr(r,t,n))},Pe=function(r,t){if(!r)return new te.MathNode("mrow");if(Et[r.type]){var n=Et[r.type](r,t);return n}else throw new k("Got group of unknown type: '"+r.type+"'")};function wi(d,r,t,n,u){var s=yr(d,t),m;s.length===1&&s[0]instanceof _r&&K.contains(["mrow","mtable"],s[0].type)?m=s[0]:m=new te.MathNode("mrow",s);var b=new te.MathNode("annotation",[new te.TextNode(r)]);b.setAttribute("encoding","application/x-tex");var C=new te.MathNode("semantics",[m,b]),E=new te.MathNode("math",[C]);E.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),n&&E.setAttribute("display","block");var F=u?"katex":"katex-mathml";return V.makeSpan([F],[E])}var Ai=function(r){return new ii({style:r.displayMode?ue.DISPLAY:ue.TEXT,maxSize:r.maxSize,minRuleThickness:r.minRuleThickness})},ki=function(r,t){if(t.displayMode){var n=["katex-display"];t.leqno&&n.push("leqno"),t.fleqn&&n.push("fleqn"),r=V.makeSpan(n,[r])}return r},hu=function(r,t,n){var u=Ai(n),s;if(n.output==="mathml")return wi(r,t,u,n.displayMode,!0);if(n.output==="html"){var m=et(r,u);s=V.makeSpan(["katex"],[m])}else{var b=wi(r,t,u,n.displayMode,!1),C=et(r,u);s=V.makeSpan(["katex"],[b,C])}return ki(s,n)},fu=function(r,t,n){var u=Ai(n),s=et(r,u),m=V.makeSpan(["katex"],[s]);return ki(m,n)},pu={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋","\\cdrightarrow":"→","\\cdleftarrow":"←","\\cdlongequal":"="},nr=function(r){var t=new te.MathNode("mo",[new te.TextNode(pu[r.replace(/^\\/,"")])]);return t.setAttribute("stretchy","true"),t},Si={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]},tt=function(r){return r.type==="ordgroup"?r.body.length:1},fr=function(r,t){function n(){var C=4e5,E=r.label.slice(1);if(K.contains(["widehat","widecheck","widetilde","utilde"],E)){var F=r,U=tt(F.base),$,Y,j;if(U>5)E==="widehat"||E==="widecheck"?($=420,C=2364,j=.42,Y=E+"4"):($=312,C=2340,j=.34,Y="tilde4");else{var ie=[1,1,2,2,3,3][U];E==="widehat"||E==="widecheck"?(C=[0,1062,2364,2364,2364][ie],$=[0,239,300,360,420][ie],j=[0,.24,.3,.3,.36,.42][ie],Y=E+ie):(C=[0,600,1033,2339,2340][ie],$=[0,260,286,306,312][ie],j=[0,.26,.286,.3,.306,.34][ie],Y="tilde"+ie)}var le=new Wr(Y),fe=new Or([le],{width:"100%",height:ae(j),viewBox:"0 0 "+C+" "+$,preserveAspectRatio:"none"});return{span:V.makeSvgSpan([],[fe],t),minWidth:0,height:j}}else{var de=[],ve=Si[E],ze=ve[0],Ce=ve[1],qe=ve[2],Ne=qe/1e3,Ie=ze.length,He,Qe;if(Ie===1){var Sr=ve[3];He=["hide-tail"],Qe=[Sr]}else if(Ie===2)He=["halfarrow-left","halfarrow-right"],Qe=["xMinYMin","xMaxYMin"];else if(Ie===3)He=["brace-left","brace-center","brace-right"],Qe=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
`+Ie+" children.");for(var je=0;je<Ie;je++){var c0=new Wr(ze[je]),Cr=new Or([c0],{width:"400em",height:ae(Ne),viewBox:"0 0 "+C+" "+qe,preserveAspectRatio:Qe[je]+" slice"}),dr=V.makeSvgSpan([He[je]],[Cr],t);if(Ie===1)return{span:dr,minWidth:Ce,height:Ne};dr.style.height=ae(Ne),de.push(dr)}return{span:V.makeSpan(["stretchy"],de,t),minWidth:Ce,height:Ne}}}var u=n(),s=u.span,m=u.minWidth,b=u.height;return s.height=b,s.style.height=ae(b),m>0&&(s.style.minWidth=ae(m)),s},fn=function(r,t,n,u,s){var m,b=r.height+r.depth+n+u;if(/fbox|color|angl/.test(t)){if(m=V.makeSpan(["stretchy",t],[],s),t==="fbox"){var C=s.color&&s.getColor();C&&(m.style.borderColor=C)}}else{var E=[];/^[bx]cancel$/.test(t)&&E.push(new Kr({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&E.push(new Kr({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var F=new Or(E,{width:"100%",height:ae(b)});m=V.makeSvgSpan([],[F],s)}return m.height=b,m.style.height=ae(b),m},Pr={encloseSpan:fn,mathMLnode:nr,svgSpan:fr};function Ee(d,r){if(!d||d.type!==r)throw new Error("Expected node of type "+r+", but got "+(d?"node of type "+d.type:String(d)));return d}function pn(d){var r=_t(d);if(!r)throw new Error("Expected node of symbol group type, but got "+(d?"node of type "+d.type:String(d)));return r}function _t(d){return d&&(d.type==="atom"||ja.hasOwnProperty(d.type))?d:null}var dn=function(r,t){var n,u,s;r&&r.type==="supsub"?(u=Ee(r.base,"accent"),n=u.base,r.base=n,s=Ya(Fe(r,t)),r.base=u):(u=Ee(r,"accent"),n=u.base);var m=Fe(n,t.havingCrampedStyle()),b=u.isShifty&&K.isCharacterBox(n),C=0;if(b){var E=K.getBaseElem(n),F=Fe(E,t.havingCrampedStyle());C=si(F).skew}var U=u.label==="\\c",$=U?m.height+m.depth:Math.min(m.height,t.fontMetrics().xHeight),Y;if(u.isStretchy)Y=Pr.svgSpan(u,t),Y=V.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:m},{type:"elem",elem:Y,wrapperClasses:["svg-align"],wrapperStyle:C>0?{width:"calc(100% - "+ae(2*C)+")",marginLeft:ae(2*C)}:void 0}]},t);else{var j,ie;u.label==="\\vec"?(j=V.staticSvg("vec",t),ie=V.svgData.vec[1]):(j=V.makeOrd({mode:u.mode,text:u.label},t,"textord"),j=si(j),j.italic=0,ie=j.width,U&&($+=j.depth)),Y=V.makeSpan(["accent-body"],[j]);var le=u.label==="\\textcircled";le&&(Y.classes.push("accent-full"),$=m.height);var fe=C;le||(fe-=ie/2),Y.style.left=ae(fe),u.label==="\\textcircled"&&(Y.style.top=".2em"),Y=V.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:m},{type:"kern",size:-$},{type:"elem",elem:Y}]},t)}var de=V.makeSpan(["mord","accent"],[Y],t);return s?(s.children[0]=de,s.height=Math.max(de.height,s.height),s.classes[0]="mord",s):de},Ci=function(r,t){var n=r.isStretchy?Pr.mathMLnode(r.label):new te.MathNode("mo",[kr(r.label,r.mode)]),u=new te.MathNode("mover",[Pe(r.base,t),n]);return u.setAttribute("accent","true"),u},du=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(function(d){return"\\"+d}).join("|"));oe({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:function(r,t){var n=Bt(t[0]),u=!du.test(r.funcName),s=!u||r.funcName==="\\widehat"||r.funcName==="\\widetilde"||r.funcName==="\\widecheck";return{type:"accent",mode:r.parser.mode,label:r.funcName,isStretchy:u,isShifty:s,base:n}},htmlBuilder:dn,mathmlBuilder:Ci}),oe({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:function(r,t){var n=t[0],u=r.parser.mode;return u==="math"&&(r.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+r.funcName+" works only in text mode"),u="text"),{type:"accent",mode:u,label:r.funcName,isStretchy:!1,isShifty:!0,base:n}},htmlBuilder:dn,mathmlBuilder:Ci}),oe({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(r,t){var n=r.parser,u=r.funcName,s=t[0];return{type:"accentUnder",mode:n.mode,label:u,base:s}},htmlBuilder:function(r,t){var n=Fe(r.base,t),u=Pr.svgSpan(r,t),s=r.label==="\\utilde"?.12:0,m=V.makeVList({positionType:"top",positionData:n.height,children:[{type:"elem",elem:u,wrapperClasses:["svg-align"]},{type:"kern",size:s},{type:"elem",elem:n}]},t);return V.makeSpan(["mord","accentunder"],[m],t)},mathmlBuilder:function(r,t){var n=Pr.mathMLnode(r.label),u=new te.MathNode("munder",[Pe(r.base,t),n]);return u.setAttribute("accentunder","true"),u}});var tr=function(r){var t=new te.MathNode("mpadded",r?[r]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};oe({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:function(r,t,n){var u=r.parser,s=r.funcName;return{type:"xArrow",mode:u.mode,label:s,body:t[0],below:n[0]}},htmlBuilder:function(r,t){var n=t.style,u=t.havingStyle(n.sup()),s=V.wrapFragment(Fe(r.body,u,t),t),m=r.label.slice(0,2)==="\\x"?"x":"cd";s.classes.push(m+"-arrow-pad");var b;r.below&&(u=t.havingStyle(n.sub()),b=V.wrapFragment(Fe(r.below,u,t),t),b.classes.push(m+"-arrow-pad"));var C=Pr.svgSpan(r,t),E=-t.fontMetrics().axisHeight+.5*C.height,F=-t.fontMetrics().axisHeight-.5*C.height-.111;(s.depth>.25||r.label==="\\xleftequilibrium")&&(F-=s.depth);var U;if(b){var $=-t.fontMetrics().axisHeight+b.height+.5*C.height+.111;U=V.makeVList({positionType:"individualShift",children:[{type:"elem",elem:s,shift:F},{type:"elem",elem:C,shift:E},{type:"elem",elem:b,shift:$}]},t)}else U=V.makeVList({positionType:"individualShift",children:[{type:"elem",elem:s,shift:F},{type:"elem",elem:C,shift:E}]},t);return U.children[0].children[0].children[1].classes.push("svg-align"),V.makeSpan(["mrel","x-arrow"],[U],t)},mathmlBuilder:function(r,t){var n=Pr.mathMLnode(r.label);n.setAttribute("minsize",r.label.charAt(0)==="x"?"1.75em":"3.0em");var u;if(r.body){var s=tr(Pe(r.body,t));if(r.below){var m=tr(Pe(r.below,t));u=new te.MathNode("munderover",[n,m,s])}else u=new te.MathNode("mover",[n,s])}else if(r.below){var b=tr(Pe(r.below,t));u=new te.MathNode("munder",[n,b])}else u=tr(),u=new te.MathNode("mover",[n,u]);return u}});var Di=V.makeSpan;function Ei(d,r){var t=rr(d.body,r,!0);return Di([d.mclass],t,r)}function zt(d,r){var t,n=yr(d.body,r);return d.mclass==="minner"?t=new te.MathNode("mpadded",n):d.mclass==="mord"?d.isCharacterBox?(t=n[0],t.type="mi"):t=new te.MathNode("mi",n):(d.isCharacterBox?(t=n[0],t.type="mo"):t=new te.MathNode("mo",n),d.mclass==="mbin"?(t.attributes.lspace="0.22em",t.attributes.rspace="0.22em"):d.mclass==="mpunct"?(t.attributes.lspace="0em",t.attributes.rspace="0.17em"):d.mclass==="mopen"||d.mclass==="mclose"?(t.attributes.lspace="0em",t.attributes.rspace="0em"):d.mclass==="minner"&&(t.attributes.lspace="0.0556em",t.attributes.width="+0.1111em")),t}oe({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler:function(r,t){var n=r.parser,u=r.funcName,s=t[0];return{type:"mclass",mode:n.mode,mclass:"m"+u.slice(5),body:er(s),isCharacterBox:K.isCharacterBox(s)}},htmlBuilder:Ei,mathmlBuilder:zt});var nt=function(r){var t=r.type==="ordgroup"&&r.body.length?r.body[0]:r;return t.type==="atom"&&(t.family==="bin"||t.family==="rel")?"m"+t.family:"mord"};oe({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler:function(r,t){var n=r.parser;return{type:"mclass",mode:n.mode,mclass:nt(t[0]),body:er(t[1]),isCharacterBox:K.isCharacterBox(t[1])}}}),oe({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler:function(r,t){var n=r.parser,u=r.funcName,s=t[1],m=t[0],b;u!=="\\stackrel"?b=nt(s):b="mrel";var C={type:"op",mode:s.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:u!=="\\stackrel",body:er(s)},E={type:"supsub",mode:m.mode,base:C,sup:u==="\\underset"?null:m,sub:u==="\\underset"?m:null};return{type:"mclass",mode:n.mode,mclass:b,body:[E],isCharacterBox:K.isCharacterBox(E)}},htmlBuilder:Ei,mathmlBuilder:zt}),oe({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler:function(r,t){var n=r.parser;return{type:"pmb",mode:n.mode,mclass:nt(t[0]),body:er(t[0])}},htmlBuilder:function(r,t){var n=rr(r.body,t,!0),u=V.makeSpan([r.mclass],n,t);return u.style.textShadow="0.02em 0.01em 0.04px",u},mathmlBuilder:function(r,t){var n=yr(r.body,t),u=new te.MathNode("mstyle",n);return u.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),u}});var Bi={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},mn=function(){return{type:"styling",body:[],mode:"math",style:"display"}},vn=function(r){return r.type==="textord"&&r.text==="@"},Mi=function(r,t){return(r.type==="mathord"||r.type==="atom")&&r.text===t};function mu(d,r,t){var n=Bi[d];switch(n){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return t.callFunction(n,[r[0]],[r[1]]);case"\\uparrow":case"\\downarrow":{var u=t.callFunction("\\\\cdleft",[r[0]],[]),s={type:"atom",text:n,mode:"math",family:"rel"},m=t.callFunction("\\Big",[s],[]),b=t.callFunction("\\\\cdright",[r[1]],[]),C={type:"ordgroup",mode:"math",body:[u,m,b]};return t.callFunction("\\\\cdparent",[C],[])}case"\\\\cdlongequal":return t.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var E={type:"textord",text:"\\Vert",mode:"math"};return t.callFunction("\\Big",[E],[])}default:return{type:"textord",text:" ",mode:"math"}}}function vu(d){var r=[];for(d.gullet.beginGroup(),d.gullet.macros.set("\\cr","\\\\\\relax"),d.gullet.beginGroup();;){r.push(d.parseExpression(!1,"\\\\")),d.gullet.endGroup(),d.gullet.beginGroup();var t=d.fetch().text;if(t==="&"||t==="\\\\")d.consume();else if(t==="\\end"){r[r.length-1].length===0&&r.pop();break}else throw new k("Expected \\\\ or \\cr or \\end",d.nextToken)}for(var n=[],u=[n],s=0;s<r.length;s++){for(var m=r[s],b=mn(),C=0;C<m.length;C++)if(!vn(m[C]))b.body.push(m[C]);else{n.push(b),C+=1;var E=pn(m[C]).text,F=new Array(2);if(F[0]={type:"ordgroup",mode:"math",body:[]},F[1]={type:"ordgroup",mode:"math",body:[]},!("=|.".indexOf(E)>-1))if("<>AV".indexOf(E)>-1)for(var U=0;U<2;U++){for(var $=!0,Y=C+1;Y<m.length;Y++){if(Mi(m[Y],E)){$=!1,C=Y;break}if(vn(m[Y]))throw new k("Missing a "+E+" character to complete a CD arrow.",m[Y]);F[U].body.push(m[Y])}if($)throw new k("Missing a "+E+" character to complete a CD arrow.",m[C])}else throw new k('Expected one of "<>AV=|." after @',m[C]);var j=mu(E,F,d),ie={type:"styling",body:[j],mode:"math",style:"display"};n.push(ie),b=mn()}s%2===0?n.push(b):n.shift(),n=[],u.push(n)}d.gullet.endGroup(),d.gullet.endGroup();var le=new Array(u[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:u,arraystretch:1,addJot:!0,rowGaps:[null],cols:le,colSeparationType:"CD",hLinesBeforeRow:new Array(u.length+1).fill([])}}oe({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler:function(r,t){var n=r.parser,u=r.funcName;return{type:"cdlabel",mode:n.mode,side:u.slice(4),label:t[0]}},htmlBuilder:function(r,t){var n=t.havingStyle(t.style.sup()),u=V.wrapFragment(Fe(r.label,n,t),t);return u.classes.push("cd-label-"+r.side),u.style.bottom=ae(.8-u.depth),u.height=0,u.depth=0,u},mathmlBuilder:function(r,t){var n=new te.MathNode("mrow",[Pe(r.label,t)]);return n=new te.MathNode("mpadded",[n]),n.setAttribute("width","0"),r.side==="left"&&n.setAttribute("lspace","-1width"),n.setAttribute("voffset","0.7em"),n=new te.MathNode("mstyle",[n]),n.setAttribute("displaystyle","false"),n.setAttribute("scriptlevel","1"),n}}),oe({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler:function(r,t){var n=r.parser;return{type:"cdlabelparent",mode:n.mode,fragment:t[0]}},htmlBuilder:function(r,t){var n=V.wrapFragment(Fe(r.fragment,t),t);return n.classes.push("cd-vert-arrow"),n},mathmlBuilder:function(r,t){return new te.MathNode("mrow",[Pe(r.fragment,t)])}}),oe({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler:function(r,t){for(var n=r.parser,u=Ee(t[0],"ordgroup"),s=u.body,m="",b=0;b<s.length;b++){var C=Ee(s[b],"textord");m+=C.text}var E=parseInt(m),F;if(isNaN(E))throw new k("\\@char has non-numeric argument "+m);if(E<0||E>=1114111)throw new k("\\@char with invalid code point "+m);return E<=65535?F=String.fromCharCode(E):(E-=65536,F=String.fromCharCode((E>>10)+55296,(E&1023)+56320)),{type:"textord",mode:n.mode,text:F}}});var Ti=function(r,t){var n=rr(r.body,t.withColor(r.color),!1);return V.makeFragment(n)},gn=function(r,t){var n=yr(r.body,t.withColor(r.color)),u=new te.MathNode("mstyle",n);return u.setAttribute("mathcolor",r.color),u};oe({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler:function(r,t){var n=r.parser,u=Ee(t[0],"color-token").color,s=t[1];return{type:"color",mode:n.mode,color:u,body:er(s)}},htmlBuilder:Ti,mathmlBuilder:gn}),oe({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler:function(r,t){var n=r.parser,u=r.breakOnTokenText,s=Ee(t[0],"color-token").color;n.gullet.macros.set("\\current@color",s);var m=n.parseExpression(!0,u);return{type:"color",mode:n.mode,color:s,body:m}},htmlBuilder:Ti,mathmlBuilder:gn}),oe({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler:function(r,t,n){var u=r.parser,s=u.gullet.future().text==="["?u.parseSizeGroup(!0):null,m=!u.settings.displayMode||!u.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:u.mode,newLine:m,size:s&&Ee(s,"size").value}},htmlBuilder:function(r,t){var n=V.makeSpan(["mspace"],[],t);return r.newLine&&(n.classes.push("newline"),r.size&&(n.style.marginTop=ae(Ye(r.size,t)))),n},mathmlBuilder:function(r,t){var n=new te.MathNode("mspace");return r.newLine&&(n.setAttribute("linebreak","newline"),r.size&&n.setAttribute("height",ae(Ye(r.size,t)))),n}});var xn={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},_i=function(r){var t=r.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new k("Expected a control sequence",r);return t},gu=function(r){var t=r.gullet.popToken();return t.text==="="&&(t=r.gullet.popToken(),t.text===" "&&(t=r.gullet.popToken())),t},yn=function(r,t,n,u){var s=r.gullet.macros.get(n.text);s==null&&(n.noexpand=!0,s={tokens:[n],numArgs:0,unexpandable:!r.gullet.isExpandable(n.text)}),r.gullet.macros.set(t,s,u)};oe({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler:function(r){var t=r.parser,n=r.funcName;t.consumeSpaces();var u=t.fetch();if(xn[u.text])return(n==="\\global"||n==="\\\\globallong")&&(u.text=xn[u.text]),Ee(t.parseFunction(),"internal");throw new k("Invalid token after macro prefix",u)}}),oe({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler:function(r){var t=r.parser,n=r.funcName,u=t.gullet.popToken(),s=u.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(s))throw new k("Expected a control sequence",u);for(var m=0,b,C=[[]];t.gullet.future().text!=="{";)if(u=t.gullet.popToken(),u.text==="#"){if(t.gullet.future().text==="{"){b=t.gullet.future(),C[m].push("{");break}if(u=t.gullet.popToken(),!/^[1-9]$/.test(u.text))throw new k('Invalid argument number "'+u.text+'"');if(parseInt(u.text)!==m+1)throw new k('Argument number "'+u.text+'" out of order');m++,C.push([])}else{if(u.text==="EOF")throw new k("Expected a macro definition");C[m].push(u.text)}var E=t.gullet.consumeArg(),F=E.tokens;return b&&F.unshift(b),(n==="\\edef"||n==="\\xdef")&&(F=t.gullet.expandTokens(F),F.reverse()),t.gullet.macros.set(s,{tokens:F,numArgs:m,delimiters:C},n===xn[n]),{type:"internal",mode:t.mode}}}),oe({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler:function(r){var t=r.parser,n=r.funcName,u=_i(t.gullet.popToken());t.gullet.consumeSpaces();var s=gu(t);return yn(t,u,s,n==="\\\\globallet"),{type:"internal",mode:t.mode}}}),oe({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler:function(r){var t=r.parser,n=r.funcName,u=_i(t.gullet.popToken()),s=t.gullet.popToken(),m=t.gullet.popToken();return yn(t,u,m,n==="\\\\globalfuture"),t.gullet.pushToken(m),t.gullet.pushToken(s),{type:"internal",mode:t.mode}}});var it=function(r,t,n){var u=Ve.math[r]&&Ve.math[r].replace,s=mt(u||r,t,n);if(!s)throw new Error("Unsupported symbol "+r+" and font size "+t+".");return s},bn=function(r,t,n,u){var s=n.havingBaseStyle(t),m=V.makeSpan(u.concat(s.sizingClasses(n)),[r],n),b=s.sizeMultiplier/n.sizeMultiplier;return m.height*=b,m.depth*=b,m.maxFontSize=s.sizeMultiplier,m},zi=function(r,t,n){var u=t.havingBaseStyle(n),s=(1-t.sizeMultiplier/u.sizeMultiplier)*t.fontMetrics().axisHeight;r.classes.push("delimcenter"),r.style.top=ae(s),r.height-=s,r.depth+=s},xu=function(r,t,n,u,s,m){var b=V.makeSymbol(r,"Main-Regular",s,u),C=bn(b,t,u,m);return n&&zi(C,u,t),C},yu=function(r,t,n,u){return V.makeSymbol(r,"Size"+t+"-Regular",n,u)},Fi=function(r,t,n,u,s,m){var b=yu(r,t,s,u),C=bn(V.makeSpan(["delimsizing","size"+t],[b],u),ue.TEXT,u,m);return n&&zi(C,u,ue.TEXT),C},Ft=function(r,t,n){var u;t==="Size1-Regular"?u="delim-size1":u="delim-size4";var s=V.makeSpan(["delimsizinginner",u],[V.makeSpan([],[V.makeSymbol(r,t,n)])]);return{type:"elem",elem:s}},wn=function(r,t,n){var u=xr["Size4-Regular"][r.charCodeAt(0)]?xr["Size4-Regular"][r.charCodeAt(0)][4]:xr["Size1-Regular"][r.charCodeAt(0)][4],s=new Wr("inner",nn(r,Math.round(1e3*t))),m=new Or([s],{width:ae(u),height:ae(t),style:"width:"+ae(u),viewBox:"0 0 "+1e3*u+" "+Math.round(1e3*t),preserveAspectRatio:"xMinYMin"}),b=V.makeSvgSpan([],[m],n);return b.height=t,b.style.height=ae(t),b.style.width=ae(u),{type:"elem",elem:b}},An=.008,Nt={type:"kern",size:-1*An},bu=["|","\\lvert","\\rvert","\\vert"],wu=["\\|","\\lVert","\\rVert","\\Vert"],Ni=function(r,t,n,u,s,m){var b,C,E,F,U="",$=0;b=E=F=r,C=null;var Y="Size1-Regular";r==="\\uparrow"?E=F="⏐":r==="\\Uparrow"?E=F="‖":r==="\\downarrow"?b=E="⏐":r==="\\Downarrow"?b=E="‖":r==="\\updownarrow"?(b="\\uparrow",E="⏐",F="\\downarrow"):r==="\\Updownarrow"?(b="\\Uparrow",E="‖",F="\\Downarrow"):K.contains(bu,r)?(E="",U="vert",$=333):K.contains(wu,r)?(E="∥",U="doublevert",$=556):r==="["||r==="\\lbrack"?(b="⎡",E="⎢",F="⎣",Y="Size4-Regular",U="lbrack",$=667):r==="]"||r==="\\rbrack"?(b="⎤",E="⎥",F="⎦",Y="Size4-Regular",U="rbrack",$=667):r==="\\lfloor"||r==="⌊"?(E=b="⎢",F="⎣",Y="Size4-Regular",U="lfloor",$=667):r==="\\lceil"||r==="⌈"?(b="⎡",E=F="⎢",Y="Size4-Regular",U="lceil",$=667):r==="\\rfloor"||r==="⌋"?(E=b="⎥",F="⎦",Y="Size4-Regular",U="rfloor",$=667):r==="\\rceil"||r==="⌉"?(b="⎤",E=F="⎥",Y="Size4-Regular",U="rceil",$=667):r==="("||r==="\\lparen"?(b="⎛",E="⎜",F="⎝",Y="Size4-Regular",U="lparen",$=875):r===")"||r==="\\rparen"?(b="⎞",E="⎟",F="⎠",Y="Size4-Regular",U="rparen",$=875):r==="\\{"||r==="\\lbrace"?(b="⎧",C="⎨",F="⎩",E="⎪",Y="Size4-Regular"):r==="\\}"||r==="\\rbrace"?(b="⎫",C="⎬",F="⎭",E="⎪",Y="Size4-Regular"):r==="\\lgroup"||r==="⟮"?(b="⎧",F="⎩",E="⎪",Y="Size4-Regular"):r==="\\rgroup"||r==="⟯"?(b="⎫",F="⎭",E="⎪",Y="Size4-Regular"):r==="\\lmoustache"||r==="⎰"?(b="⎧",F="⎭",E="⎪",Y="Size4-Regular"):(r==="\\rmoustache"||r==="⎱")&&(b="⎫",F="⎩",E="⎪",Y="Size4-Regular");var j=it(b,Y,s),ie=j.height+j.depth,le=it(E,Y,s),fe=le.height+le.depth,de=it(F,Y,s),ve=de.height+de.depth,ze=0,Ce=1;if(C!==null){var qe=it(C,Y,s);ze=qe.height+qe.depth,Ce=2}var Ne=ie+ve+ze,Ie=Math.max(0,Math.ceil((t-Ne)/(Ce*fe))),He=Ne+Ie*Ce*fe,Qe=u.fontMetrics().axisHeight;n&&(Qe*=u.sizeMultiplier);var Sr=He/2-Qe,je=[];if(U.length>0){var c0=He-ie-ve,Cr=Math.round(He*1e3),dr=Va(U,Math.round(c0*1e3)),Qr=new Wr(U,dr),I0=($/1e3).toFixed(3)+"em",R0=(Cr/1e3).toFixed(3)+"em",Wt=new Or([Qr],{width:I0,height:R0,viewBox:"0 0 "+$+" "+Cr}),h0=V.makeSvgSpan([],[Wt],u);h0.height=Cr/1e3,h0.style.width=I0,h0.style.height=R0,je.push({type:"elem",elem:h0})}else{if(je.push(Ft(F,Y,s)),je.push(Nt),C===null){var f0=He-ie-ve+2*An;je.push(wn(E,f0,u))}else{var Dr=(He-ie-ve-ze)/2+2*An;je.push(wn(E,Dr,u)),je.push(Nt),je.push(Ft(C,Y,s)),je.push(Nt),je.push(wn(E,Dr,u))}je.push(Nt),je.push(Ft(b,Y,s))}var Er=u.havingBaseStyle(ue.TEXT),On=V.makeVList({positionType:"bottom",positionData:Sr,children:je},Er);return bn(V.makeSpan(["delimsizing","mult"],[On],Er),ue.TEXT,u,m)},qt=80,It=.08,Rt=function(r,t,n,u,s){var m=g0(r,u,n),b=new Wr(r,m),C=new Or([b],{width:"400em",height:ae(t),viewBox:"0 0 400000 "+n,preserveAspectRatio:"xMinYMin slice"});return V.makeSvgSpan(["hide-tail"],[C],s)},qi=function(r,t){var n=t.havingBaseSizing(),u=Li("\\surd",r*n.sizeMultiplier,Ot,n),s=n.sizeMultiplier,m=Math.max(0,t.minRuleThickness-t.fontMetrics().sqrtRuleThickness),b,C=0,E=0,F=0,U;return u.type==="small"?(F=1e3+1e3*m+qt,r<1?s=1:r<1.4&&(s=.7),C=(1+m+It)/s,E=(1+m)/s,b=Rt("sqrtMain",C,F,m,t),b.style.minWidth="0.853em",U=.833/s):u.type==="large"?(F=(1e3+qt)*at[u.size],E=(at[u.size]+m)/s,C=(at[u.size]+m+It)/s,b=Rt("sqrtSize"+u.size,C,F,m,t),b.style.minWidth="1.02em",U=1/s):(C=r+m+It,E=r+m,F=Math.floor(1e3*r+m)+qt,b=Rt("sqrtTall",C,F,m,t),b.style.minWidth="0.742em",U=1.056),b.height=E,b.style.height=ae(C),{span:b,advanceWidth:U,ruleWidth:(t.fontMetrics().sqrtRuleThickness+m)*s}},kn=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],Au=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],Ii=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],at=[0,1.2,1.8,2.4,3],Ri=function(r,t,n,u,s){if(r==="<"||r==="\\lt"||r==="⟨"?r="\\langle":(r===">"||r==="\\gt"||r==="⟩")&&(r="\\rangle"),K.contains(kn,r)||K.contains(Ii,r))return Fi(r,t,!1,n,u,s);if(K.contains(Au,r))return Ni(r,at[t],!1,n,u,s);throw new k("Illegal delimiter: '"+r+"'")},ku=[{type:"small",style:ue.SCRIPTSCRIPT},{type:"small",style:ue.SCRIPT},{type:"small",style:ue.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],Oi=[{type:"small",style:ue.SCRIPTSCRIPT},{type:"small",style:ue.SCRIPT},{type:"small",style:ue.TEXT},{type:"stack"}],Ot=[{type:"small",style:ue.SCRIPTSCRIPT},{type:"small",style:ue.SCRIPT},{type:"small",style:ue.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],Su=function(r){if(r.type==="small")return"Main-Regular";if(r.type==="large")return"Size"+r.size+"-Regular";if(r.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+r.type+"' here.")},Li=function(r,t,n,u){for(var s=Math.min(2,3-u.style.size),m=s;m<n.length&&n[m].type!=="stack";m++){var b=it(r,Su(n[m]),"math"),C=b.height+b.depth;if(n[m].type==="small"){var E=u.havingBaseStyle(n[m].style);C*=E.sizeMultiplier}if(C>t)return n[m]}return n[n.length-1]},Pi=function(r,t,n,u,s,m){r==="<"||r==="\\lt"||r==="⟨"?r="\\langle":(r===">"||r==="\\gt"||r==="⟩")&&(r="\\rangle");var b;K.contains(Ii,r)?b=ku:K.contains(kn,r)?b=Ot:b=Oi;var C=Li(r,t,b,u);return C.type==="small"?xu(r,C.style,n,u,s,m):C.type==="large"?Fi(r,C.size,n,u,s,m):Ni(r,t,n,u,s,m)},Cu=function(r,t,n,u,s,m){var b=u.fontMetrics().axisHeight*u.sizeMultiplier,C=901,E=5/u.fontMetrics().ptPerEm,F=Math.max(t-b,n+b),U=Math.max(F/500*C,2*F-E);return Pi(r,U,!0,u,s,m)},Yr={sqrtImage:qi,sizedDelim:Ri,sizeToMaxHeight:at,customSizedDelim:Pi,leftRightDelim:Cu},Hi={"\\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}},Du=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","<",">","\\langle","⟨","\\rangle","⟩","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function Lt(d,r){var t=_t(d);if(t&&K.contains(Du,t.text))return t;throw t?new k("Invalid delimiter '"+t.text+"' after '"+r.funcName+"'",d):new k("Invalid delimiter type '"+d.type+"'",d)}oe({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:function(r,t){var n=Lt(t[0],r);return{type:"delimsizing",mode:r.parser.mode,size:Hi[r.funcName].size,mclass:Hi[r.funcName].mclass,delim:n.text}},htmlBuilder:function(r,t){return r.delim==="."?V.makeSpan([r.mclass]):Yr.sizedDelim(r.delim,r.size,t,r.mode,[r.mclass])},mathmlBuilder:function(r){var t=[];r.delim!=="."&&t.push(kr(r.delim,r.mode));var n=new te.MathNode("mo",t);r.mclass==="mopen"||r.mclass==="mclose"?n.setAttribute("fence","true"):n.setAttribute("fence","false"),n.setAttribute("stretchy","true");var u=ae(Yr.sizeToMaxHeight[r.size]);return n.setAttribute("minsize",u),n.setAttribute("maxsize",u),n}});function Ui(d){if(!d.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}oe({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:function(r,t){var n=r.parser.gullet.macros.get("\\current@color");if(n&&typeof n!="string")throw new k("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:r.parser.mode,delim:Lt(t[0],r).text,color:n}}}),oe({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:function(r,t){var n=Lt(t[0],r),u=r.parser;++u.leftrightDepth;var s=u.parseExpression(!1);--u.leftrightDepth,u.expect("\\right",!1);var m=Ee(u.parseFunction(),"leftright-right");return{type:"leftright",mode:u.mode,body:s,left:n.text,right:m.delim,rightColor:m.color}},htmlBuilder:function(r,t){Ui(r);for(var n=rr(r.body,t,!0,["mopen","mclose"]),u=0,s=0,m=!1,b=0;b<n.length;b++)n[b].isMiddle?m=!0:(u=Math.max(n[b].height,u),s=Math.max(n[b].depth,s));u*=t.sizeMultiplier,s*=t.sizeMultiplier;var C;if(r.left==="."?C=Q0(t,["mopen"]):C=Yr.leftRightDelim(r.left,u,s,t,r.mode,["mopen"]),n.unshift(C),m)for(var E=1;E<n.length;E++){var F=n[E],U=F.isMiddle;U&&(n[E]=Yr.leftRightDelim(U.delim,u,s,U.options,r.mode,[]))}var $;if(r.right===".")$=Q0(t,["mclose"]);else{var Y=r.rightColor?t.withColor(r.rightColor):t;$=Yr.leftRightDelim(r.right,u,s,Y,r.mode,["mclose"])}return n.push($),V.makeSpan(["minner"],n,t)},mathmlBuilder:function(r,t){Ui(r);var n=yr(r.body,t);if(r.left!=="."){var u=new te.MathNode("mo",[kr(r.left,r.mode)]);u.setAttribute("fence","true"),n.unshift(u)}if(r.right!=="."){var s=new te.MathNode("mo",[kr(r.right,r.mode)]);s.setAttribute("fence","true"),r.rightColor&&s.setAttribute("mathcolor",r.rightColor),n.push(s)}return cn(n)}}),oe({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:function(r,t){var n=Lt(t[0],r);if(!r.parser.leftrightDepth)throw new k("\\middle without preceding \\left",n);return{type:"middle",mode:r.parser.mode,delim:n.text}},htmlBuilder:function(r,t){var n;if(r.delim===".")n=Q0(t,[]);else{n=Yr.sizedDelim(r.delim,1,t,r.mode,[]);var u={delim:r.delim,options:t};n.isMiddle=u}return n},mathmlBuilder:function(r,t){var n=r.delim==="\\vert"||r.delim==="|"?kr("|","text"):kr(r.delim,r.mode),u=new te.MathNode("mo",[n]);return u.setAttribute("fence","true"),u.setAttribute("lspace","0.05em"),u.setAttribute("rspace","0.05em"),u}});var Pt=function(r,t){var n=V.wrapFragment(Fe(r.body,t),t),u=r.label.slice(1),s=t.sizeMultiplier,m,b=0,C=K.isCharacterBox(r.body);if(u==="sout")m=V.makeSpan(["stretchy","sout"]),m.height=t.fontMetrics().defaultRuleThickness/s,b=-.5*t.fontMetrics().xHeight;else if(u==="phase"){var E=Ye({number:.6,unit:"pt"},t),F=Ye({number:.35,unit:"ex"},t),U=t.havingBaseSizing();s=s/U.sizeMultiplier;var $=n.height+n.depth+E+F;n.style.paddingLeft=ae($/2+E);var Y=Math.floor(1e3*$*s),j=pe(Y),ie=new Or([new Wr("phase",j)],{width:"400em",height:ae(Y/1e3),viewBox:"0 0 400000 "+Y,preserveAspectRatio:"xMinYMin slice"});m=V.makeSvgSpan(["hide-tail"],[ie],t),m.style.height=ae($),b=n.depth+E+F}else{/cancel/.test(u)?C||n.classes.push("cancel-pad"):u==="angl"?n.classes.push("anglpad"):n.classes.push("boxpad");var le=0,fe=0,de=0;/box/.test(u)?(de=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),le=t.fontMetrics().fboxsep+(u==="colorbox"?0:de),fe=le):u==="angl"?(de=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness),le=4*de,fe=Math.max(0,.25-n.depth)):(le=C?.2:0,fe=le),m=Pr.encloseSpan(n,u,le,fe,t),/fbox|boxed|fcolorbox/.test(u)?(m.style.borderStyle="solid",m.style.borderWidth=ae(de)):u==="angl"&&de!==.049&&(m.style.borderTopWidth=ae(de),m.style.borderRightWidth=ae(de)),b=n.depth+fe,r.backgroundColor&&(m.style.backgroundColor=r.backgroundColor,r.borderColor&&(m.style.borderColor=r.borderColor))}var ve;if(r.backgroundColor)ve=V.makeVList({positionType:"individualShift",children:[{type:"elem",elem:m,shift:b},{type:"elem",elem:n,shift:0}]},t);else{var ze=/cancel|phase/.test(u)?["svg-align"]:[];ve=V.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:0},{type:"elem",elem:m,shift:b,wrapperClasses:ze}]},t)}return/cancel/.test(u)&&(ve.height=n.height,ve.depth=n.depth),/cancel/.test(u)&&!C?V.makeSpan(["mord","cancel-lap"],[ve],t):V.makeSpan(["mord"],[ve],t)},Sn=function(r,t){var n=0,u=new te.MathNode(r.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Pe(r.body,t)]);switch(r.label){case"\\cancel":u.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":u.setAttribute("notation","downdiagonalstrike");break;case"\\phase":u.setAttribute("notation","phasorangle");break;case"\\sout":u.setAttribute("notation","horizontalstrike");break;case"\\fbox":u.setAttribute("notation","box");break;case"\\angl":u.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(n=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,u.setAttribute("width","+"+2*n+"pt"),u.setAttribute("height","+"+2*n+"pt"),u.setAttribute("lspace",n+"pt"),u.setAttribute("voffset",n+"pt"),r.label==="\\fcolorbox"){var s=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);u.setAttribute("style","border: "+s+"em solid "+String(r.borderColor))}break;case"\\xcancel":u.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return r.backgroundColor&&u.setAttribute("mathbackground",r.backgroundColor),u};oe({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler:function(r,t,n){var u=r.parser,s=r.funcName,m=Ee(t[0],"color-token").color,b=t[1];return{type:"enclose",mode:u.mode,label:s,backgroundColor:m,body:b}},htmlBuilder:Pt,mathmlBuilder:Sn}),oe({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler:function(r,t,n){var u=r.parser,s=r.funcName,m=Ee(t[0],"color-token").color,b=Ee(t[1],"color-token").color,C=t[2];return{type:"enclose",mode:u.mode,label:s,backgroundColor:b,borderColor:m,body:C}},htmlBuilder:Pt,mathmlBuilder:Sn}),oe({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler:function(r,t){var n=r.parser;return{type:"enclose",mode:n.mode,label:"\\fbox",body:t[0]}}}),oe({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler:function(r,t){var n=r.parser,u=r.funcName,s=t[0];return{type:"enclose",mode:n.mode,label:u,body:s}},htmlBuilder:Pt,mathmlBuilder:Sn}),oe({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler:function(r,t){var n=r.parser;return{type:"enclose",mode:n.mode,label:"\\angl",body:t[0]}}});var Vi={};function Xr(d){for(var r=d.type,t=d.names,n=d.props,u=d.handler,s=d.htmlBuilder,m=d.mathmlBuilder,b={type:r,numArgs:n.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:u},C=0;C<t.length;++C)Vi[t[C]]=b;s&&(w0[r]=s),m&&(Et[r]=m)}var Cn={};function D(d,r){Cn[d]=r}var Hr=function(){function d(r,t,n){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=r,this.start=t,this.end=n}return d.range=function(t,n){return n?!t||!t.loc||!n.loc||t.loc.lexer!==n.loc.lexer?null:new d(t.loc.lexer,t.loc.start,n.loc.end):t&&t.loc},d}(),u0=function(){function d(t,n){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=t,this.loc=n}var r=d.prototype;return r.range=function(n,u){return new d(u,Hr.range(this,n))},d}();function Dn(d){var r=[];d.consumeSpaces();var t=d.fetch().text;for(t==="\\relax"&&(d.consume(),d.consumeSpaces(),t=d.fetch().text);t==="\\hline"||t==="\\hdashline";)d.consume(),r.push(t==="\\hdashline"),d.consumeSpaces(),t=d.fetch().text;return r}var T0=function(r){var t=r.parser.settings;if(!t.displayMode)throw new k("{"+r.envName+"} can be used only in display mode.")};function jr(d){if(d.indexOf("ed")===-1)return d.indexOf("*")===-1}function Ur(d,r,t){var n=r.hskipBeforeAndAfter,u=r.addJot,s=r.cols,m=r.arraystretch,b=r.colSeparationType,C=r.autoTag,E=r.singleRow,F=r.emptySingleRow,U=r.maxNumCols,$=r.leqno;if(d.gullet.beginGroup(),E||d.gullet.macros.set("\\cr","\\\\\\relax"),!m){var Y=d.gullet.expandMacroAsText("\\arraystretch");if(Y==null)m=1;else if(m=parseFloat(Y),!m||m<0)throw new k("Invalid \\arraystretch: "+Y)}d.gullet.beginGroup();var j=[],ie=[j],le=[],fe=[],de=C!=null?[]:void 0;function ve(){C&&d.gullet.macros.set("\\@eqnsw","1",!0)}function ze(){de&&(d.gullet.macros.get("\\df@tag")?(de.push(d.subparse([new u0("\\df@tag")])),d.gullet.macros.set("\\df@tag",void 0,!0)):de.push(!!C&&d.gullet.macros.get("\\@eqnsw")==="1"))}for(ve(),fe.push(Dn(d));;){var Ce=d.parseExpression(!1,E?"\\end":"\\\\");d.gullet.endGroup(),d.gullet.beginGroup(),Ce={type:"ordgroup",mode:d.mode,body:Ce},t&&(Ce={type:"styling",mode:d.mode,style:t,body:[Ce]}),j.push(Ce);var qe=d.fetch().text;if(qe==="&"){if(U&&j.length===U){if(E||b)throw new k("Too many tab characters: &",d.nextToken);d.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}d.consume()}else if(qe==="\\end"){ze(),j.length===1&&Ce.type==="styling"&&Ce.body[0].body.length===0&&(ie.length>1||!F)&&ie.pop(),fe.length<ie.length+1&&fe.push([]);break}else if(qe==="\\\\"){d.consume();var Ne=void 0;d.gullet.future().text!==" "&&(Ne=d.parseSizeGroup(!0)),le.push(Ne?Ne.value:null),ze(),fe.push(Dn(d)),j=[],ie.push(j),ve()}else throw new k("Expected & or \\\\ or \\cr or \\end",d.nextToken)}return d.gullet.endGroup(),d.gullet.endGroup(),{type:"array",mode:d.mode,addJot:u,arraystretch:m,body:ie,cols:s,rowGaps:le,hskipBeforeAndAfter:n,hLinesBeforeRow:fe,colSeparationType:b,tags:de,leqno:$}}function Ht(d){return d.slice(0,1)==="d"?"display":"text"}var Vr=function(r,t){var n,u,s=r.body.length,m=r.hLinesBeforeRow,b=0,C=new Array(s),E=[],F=Math.max(t.fontMetrics().arrayRuleWidth,t.minRuleThickness),U=1/t.fontMetrics().ptPerEm,$=5*U;if(r.colSeparationType&&r.colSeparationType==="small"){var Y=t.havingStyle(ue.SCRIPT).sizeMultiplier;$=.2778*(Y/t.sizeMultiplier)}var j=r.colSeparationType==="CD"?Ye({number:3,unit:"ex"},t):12*U,ie=3*U,le=r.arraystretch*j,fe=.7*le,de=.3*le,ve=0;function ze(Zt){for(var Jt=0;Jt<Zt.length;++Jt)Jt>0&&(ve+=.25),E.push({pos:ve,isDashed:Zt[Jt]})}for(ze(m[0]),n=0;n<r.body.length;++n){var Ce=r.body[n],qe=fe,Ne=de;b<Ce.length&&(b=Ce.length);var Ie=new Array(Ce.length);for(u=0;u<Ce.length;++u){var He=Fe(Ce[u],t);Ne<He.depth&&(Ne=He.depth),qe<He.height&&(qe=He.height),Ie[u]=He}var Qe=r.rowGaps[n],Sr=0;Qe&&(Sr=Ye(Qe,t),Sr>0&&(Sr+=de,Ne<Sr&&(Ne=Sr),Sr=0)),r.addJot&&(Ne+=ie),Ie.height=qe,Ie.depth=Ne,ve+=qe,Ie.pos=ve,ve+=Ne+Sr,C[n]=Ie,ze(m[n+1])}var je=ve/2+t.fontMetrics().axisHeight,c0=r.cols||[],Cr=[],dr,Qr,I0=[];if(r.tags&&r.tags.some(function(Zt){return Zt}))for(n=0;n<s;++n){var R0=C[n],Wt=R0.pos-je,h0=r.tags[n],f0=void 0;h0===!0?f0=V.makeSpan(["eqn-num"],[],t):h0===!1?f0=V.makeSpan([],[],t):f0=V.makeSpan([],rr(h0,t,!0),t),f0.depth=R0.depth,f0.height=R0.height,I0.push({type:"elem",elem:f0,shift:Wt})}for(u=0,Qr=0;u<b||Qr<c0.length;++u,++Qr){for(var Dr=c0[Qr]||{},Er=!0;Dr.type==="separator";){if(Er||(dr=V.makeSpan(["arraycolsep"],[]),dr.style.width=ae(t.fontMetrics().doubleRuleSep),Cr.push(dr)),Dr.separator==="|"||Dr.separator===":"){var On=Dr.separator==="|"?"solid":"dashed",p0=V.makeSpan(["vertical-separator"],[],t);p0.style.height=ae(ve),p0.style.borderRightWidth=ae(F),p0.style.borderRightStyle=On,p0.style.margin="0 "+ae(-F/2);var va=ve-je;va&&(p0.style.verticalAlign=ae(-va)),Cr.push(p0)}else throw new k("Invalid separator type: "+Dr.separator);Qr++,Dr=c0[Qr]||{},Er=!1}if(!(u>=b)){var O0=void 0;(u>0||r.hskipBeforeAndAfter)&&(O0=K.deflt(Dr.pregap,$),O0!==0&&(dr=V.makeSpan(["arraycolsep"],[]),dr.style.width=ae(O0),Cr.push(dr)));var L0=[];for(n=0;n<s;++n){var P0=C[n],Kt=P0[u];if(Kt){var Pu=P0.pos-je;Kt.depth=P0.depth,Kt.height=P0.height,L0.push({type:"elem",elem:Kt,shift:Pu})}}L0=V.makeVList({positionType:"individualShift",children:L0},t),L0=V.makeSpan(["col-align-"+(Dr.align||"c")],[L0]),Cr.push(L0),(u<b-1||r.hskipBeforeAndAfter)&&(O0=K.deflt(Dr.postgap,$),O0!==0&&(dr=V.makeSpan(["arraycolsep"],[]),dr.style.width=ae(O0),Cr.push(dr)))}}if(C=V.makeSpan(["mtable"],Cr),E.length>0){for(var Hu=V.makeLineSpan("hline",t,F),Uu=V.makeLineSpan("hdashline",t,F),Ln=[{type:"elem",elem:C,shift:0}];E.length>0;){var ga=E.pop(),xa=ga.pos-je;ga.isDashed?Ln.push({type:"elem",elem:Uu,shift:xa}):Ln.push({type:"elem",elem:Hu,shift:xa})}C=V.makeVList({positionType:"individualShift",children:Ln},t)}if(I0.length===0)return V.makeSpan(["mord"],[C],t);var Pn=V.makeVList({positionType:"individualShift",children:I0},t);return Pn=V.makeSpan(["tag"],[Pn],t),V.makeFragment([C,Pn])},Ut={c:"center ",l:"left ",r:"right "},zr=function(r,t){for(var n=[],u=new te.MathNode("mtd",[],["mtr-glue"]),s=new te.MathNode("mtd",[],["mml-eqn-num"]),m=0;m<r.body.length;m++){for(var b=r.body[m],C=[],E=0;E<b.length;E++)C.push(new te.MathNode("mtd",[Pe(b[E],t)]));r.tags&&r.tags[m]&&(C.unshift(u),C.push(u),r.leqno?C.unshift(s):C.push(s)),n.push(new te.MathNode("mtr",C))}var F=new te.MathNode("mtable",n),U=r.arraystretch===.5?.1:.16+r.arraystretch-1+(r.addJot?.09:0);F.setAttribute("rowspacing",ae(U));var $="",Y="";if(r.cols&&r.cols.length>0){var j=r.cols,ie="",le=!1,fe=0,de=j.length;j[0].type==="separator"&&($+="top ",fe=1),j[j.length-1].type==="separator"&&($+="bottom ",de-=1);for(var ve=fe;ve<de;ve++)j[ve].type==="align"?(Y+=Ut[j[ve].align],le&&(ie+="none "),le=!0):j[ve].type==="separator"&&le&&(ie+=j[ve].separator==="|"?"solid ":"dashed ",le=!1);F.setAttribute("columnalign",Y.trim()),/[sd]/.test(ie)&&F.setAttribute("columnlines",ie.trim())}if(r.colSeparationType==="align"){for(var ze=r.cols||[],Ce="",qe=1;qe<ze.length;qe++)Ce+=qe%2?"0em ":"1em ";F.setAttribute("columnspacing",Ce.trim())}else r.colSeparationType==="alignat"||r.colSeparationType==="gather"?F.setAttribute("columnspacing","0em"):r.colSeparationType==="small"?F.setAttribute("columnspacing","0.2778em"):r.colSeparationType==="CD"?F.setAttribute("columnspacing","0.5em"):F.setAttribute("columnspacing","1em");var Ne="",Ie=r.hLinesBeforeRow;$+=Ie[0].length>0?"left ":"",$+=Ie[Ie.length-1].length>0?"right ":"";for(var He=1;He<Ie.length-1;He++)Ne+=Ie[He].length===0?"none ":Ie[He][0]?"dashed ":"solid ";return/[sd]/.test(Ne)&&F.setAttribute("rowlines",Ne.trim()),$!==""&&(F=new te.MathNode("menclose",[F]),F.setAttribute("notation",$.trim())),r.arraystretch&&r.arraystretch<1&&(F=new te.MathNode("mstyle",[F]),F.setAttribute("scriptlevel","1")),F},Gi=function(r,t){r.envName.indexOf("ed")===-1&&T0(r);var n=[],u=r.envName.indexOf("at")>-1?"alignat":"align",s=r.envName==="split",m=Ur(r.parser,{cols:n,addJot:!0,autoTag:s?void 0:jr(r.envName),emptySingleRow:!0,colSeparationType:u,maxNumCols:s?2:void 0,leqno:r.parser.settings.leqno},"display"),b,C=0,E={type:"ordgroup",mode:r.mode,body:[]};if(t[0]&&t[0].type==="ordgroup"){for(var F="",U=0;U<t[0].body.length;U++){var $=Ee(t[0].body[U],"textord");F+=$.text}b=Number(F),C=b*2}var Y=!C;m.body.forEach(function(fe){for(var de=1;de<fe.length;de+=2){var ve=Ee(fe[de],"styling"),ze=Ee(ve.body[0],"ordgroup");ze.body.unshift(E)}if(Y)C<fe.length&&(C=fe.length);else{var Ce=fe.length/2;if(b<Ce)throw new k("Too many math in a row: "+("expected "+b+", but got "+Ce),fe[0])}});for(var j=0;j<C;++j){var ie="r",le=0;j%2===1?ie="l":j>0&&Y&&(le=1),n[j]={type:"align",align:ie,pregap:le,postgap:0}}return m.colSeparationType=Y?"align":"alignat",m};Xr({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(r,t){var n=_t(t[0]),u=n?[t[0]]:Ee(t[0],"ordgroup").body,s=u.map(function(b){var C=pn(b),E=C.text;if("lcr".indexOf(E)!==-1)return{type:"align",align:E};if(E==="|")return{type:"separator",separator:"|"};if(E===":")return{type:"separator",separator:":"};throw new k("Unknown column alignment: "+E,b)}),m={cols:s,hskipBeforeAndAfter:!0,maxNumCols:s.length};return Ur(r.parser,m,Ht(r.envName))},htmlBuilder:Vr,mathmlBuilder:zr}),Xr({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler:function(r){var t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[r.envName.replace("*","")],n="c",u={hskipBeforeAndAfter:!1,cols:[{type:"align",align:n}]};if(r.envName.charAt(r.envName.length-1)==="*"){var s=r.parser;if(s.consumeSpaces(),s.fetch().text==="["){if(s.consume(),s.consumeSpaces(),n=s.fetch().text,"lcr".indexOf(n)===-1)throw new k("Expected l or c or r",s.nextToken);s.consume(),s.consumeSpaces(),s.expect("]"),s.consume(),u.cols=[{type:"align",align:n}]}}var m=Ur(r.parser,u,Ht(r.envName)),b=Math.max.apply(Math,[0].concat(m.body.map(function(C){return C.length})));return m.cols=new Array(b).fill({type:"align",align:n}),t?{type:"leftright",mode:r.mode,body:[m],left:t[0],right:t[1],rightColor:void 0}:m},htmlBuilder:Vr,mathmlBuilder:zr}),Xr({type:"array",names:["smallmatrix"],props:{numArgs:0},handler:function(r){var t={arraystretch:.5},n=Ur(r.parser,t,"script");return n.colSeparationType="small",n},htmlBuilder:Vr,mathmlBuilder:zr}),Xr({type:"array",names:["subarray"],props:{numArgs:1},handler:function(r,t){var n=_t(t[0]),u=n?[t[0]]:Ee(t[0],"ordgroup").body,s=u.map(function(b){var C=pn(b),E=C.text;if("lc".indexOf(E)!==-1)return{type:"align",align:E};throw new k("Unknown column alignment: "+E,b)});if(s.length>1)throw new k("{subarray} can contain only one column");var m={cols:s,hskipBeforeAndAfter:!1,arraystretch:.5};if(m=Ur(r.parser,m,"script"),m.body.length>0&&m.body[0].length>1)throw new k("{subarray} can contain only one column");return m},htmlBuilder:Vr,mathmlBuilder:zr}),Xr({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler:function(r){var t={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},n=Ur(r.parser,t,Ht(r.envName));return{type:"leftright",mode:r.mode,body:[n],left:r.envName.indexOf("r")>-1?".":"\\{",right:r.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:Vr,mathmlBuilder:zr}),Xr({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:Gi,htmlBuilder:Vr,mathmlBuilder:zr}),Xr({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler:function(r){K.contains(["gather","gather*"],r.envName)&&T0(r);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:jr(r.envName),emptySingleRow:!0,leqno:r.parser.settings.leqno};return Ur(r.parser,t,"display")},htmlBuilder:Vr,mathmlBuilder:zr}),Xr({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:Gi,htmlBuilder:Vr,mathmlBuilder:zr}),Xr({type:"array",names:["equation","equation*"],props:{numArgs:0},handler:function(r){T0(r);var t={autoTag:jr(r.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:r.parser.settings.leqno};return Ur(r.parser,t,"display")},htmlBuilder:Vr,mathmlBuilder:zr}),Xr({type:"array",names:["CD"],props:{numArgs:0},handler:function(r){return T0(r),vu(r.parser)},htmlBuilder:Vr,mathmlBuilder:zr}),D("\\nonumber","\\gdef\\@eqnsw{0}"),D("\\notag","\\nonumber"),oe({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler:function(r,t){throw new k(r.funcName+" valid only within array environment")}});var $i=Vi,Yi=$i;oe({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler:function(r,t){var n=r.parser,u=r.funcName,s=t[0];if(s.type!=="ordgroup")throw new k("Invalid environment name",s);for(var m="",b=0;b<s.body.length;++b)m+=Ee(s.body[b],"textord").text;if(u==="\\begin"){if(!Yi.hasOwnProperty(m))throw new k("No such environment: "+m,s);var C=Yi[m],E=n.parseArguments("\\begin{"+m+"}",C),F=E.args,U=E.optArgs,$={mode:n.mode,envName:m,parser:n},Y=C.handler($,F,U);n.expect("\\end",!1);var j=n.nextToken,ie=Ee(n.parseFunction(),"environment");if(ie.name!==m)throw new k("Mismatch: \\begin{"+m+"} matched by \\end{"+ie.name+"}",j);return Y}return{type:"environment",mode:n.mode,name:m,nameGroup:s}}});var Xi=function(r,t){var n=r.font,u=t.withFont(n);return Fe(r.body,u)},ji=function(r,t){var n=r.font,u=t.withFont(n);return Pe(r.body,u)},En={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};oe({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:function(r,t){var n=r.parser,u=r.funcName,s=Bt(t[0]),m=u;return m in En&&(m=En[m]),{type:"font",mode:n.mode,font:m.slice(1),body:s}},htmlBuilder:Xi,mathmlBuilder:ji}),oe({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:function(r,t){var n=r.parser,u=t[0],s=K.isCharacterBox(u);return{type:"mclass",mode:n.mode,mclass:nt(u),body:[{type:"font",mode:n.mode,font:"boldsymbol",body:u}],isCharacterBox:s}}}),oe({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:function(r,t){var n=r.parser,u=r.funcName,s=r.breakOnTokenText,m=n.mode,b=n.parseExpression(!0,s),C="math"+u.slice(1);return{type:"font",mode:m,font:C,body:{type:"ordgroup",mode:n.mode,body:b}}},htmlBuilder:Xi,mathmlBuilder:ji});var Bn=function(r,t){var n=t;return r==="display"?n=n.id>=ue.SCRIPT.id?n.text():ue.DISPLAY:r==="text"&&n.size===ue.DISPLAY.size?n=ue.TEXT:r==="script"?n=ue.SCRIPT:r==="scriptscript"&&(n=ue.SCRIPTSCRIPT),n},Vt=function(r,t){var n=Bn(r.size,t.style),u=n.fracNum(),s=n.fracDen(),m;m=t.havingStyle(u);var b=Fe(r.numer,m,t);if(r.continued){var C=8.5/t.fontMetrics().ptPerEm,E=3.5/t.fontMetrics().ptPerEm;b.height=b.height<C?C:b.height,b.depth=b.depth<E?E:b.depth}m=t.havingStyle(s);var F=Fe(r.denom,m,t),U,$,Y;r.hasBarLine?(r.barSize?($=Ye(r.barSize,t),U=V.makeLineSpan("frac-line",t,$)):U=V.makeLineSpan("frac-line",t),$=U.height,Y=U.height):(U=null,$=0,Y=t.fontMetrics().defaultRuleThickness);var j,ie,le;n.size===ue.DISPLAY.size||r.size==="display"?(j=t.fontMetrics().num1,$>0?ie=3*Y:ie=7*Y,le=t.fontMetrics().denom1):($>0?(j=t.fontMetrics().num2,ie=Y):(j=t.fontMetrics().num3,ie=3*Y),le=t.fontMetrics().denom2);var fe;if(U){var ve=t.fontMetrics().axisHeight;j-b.depth-(ve+.5*$)<ie&&(j+=ie-(j-b.depth-(ve+.5*$))),ve-.5*$-(F.height-le)<ie&&(le+=ie-(ve-.5*$-(F.height-le)));var ze=-(ve-.5*$);fe=V.makeVList({positionType:"individualShift",children:[{type:"elem",elem:F,shift:le},{type:"elem",elem:U,shift:ze},{type:"elem",elem:b,shift:-j}]},t)}else{var de=j-b.depth-(F.height-le);de<ie&&(j+=.5*(ie-de),le+=.5*(ie-de)),fe=V.makeVList({positionType:"individualShift",children:[{type:"elem",elem:F,shift:le},{type:"elem",elem:b,shift:-j}]},t)}m=t.havingStyle(n),fe.height*=m.sizeMultiplier/t.sizeMultiplier,fe.depth*=m.sizeMultiplier/t.sizeMultiplier;var Ce;n.size===ue.DISPLAY.size?Ce=t.fontMetrics().delim1:n.size===ue.SCRIPTSCRIPT.size?Ce=t.havingStyle(ue.SCRIPT).fontMetrics().delim2:Ce=t.fontMetrics().delim2;var qe,Ne;return r.leftDelim==null?qe=Q0(t,["mopen"]):qe=Yr.customSizedDelim(r.leftDelim,Ce,!0,t.havingStyle(n),r.mode,["mopen"]),r.continued?Ne=V.makeSpan([]):r.rightDelim==null?Ne=Q0(t,["mclose"]):Ne=Yr.customSizedDelim(r.rightDelim,Ce,!0,t.havingStyle(n),r.mode,["mclose"]),V.makeSpan(["mord"].concat(m.sizingClasses(t)),[qe,V.makeSpan(["mfrac"],[fe]),Ne],t)},Fr=function(r,t){var n=new te.MathNode("mfrac",[Pe(r.numer,t),Pe(r.denom,t)]);if(!r.hasBarLine)n.setAttribute("linethickness","0px");else if(r.barSize){var u=Ye(r.barSize,t);n.setAttribute("linethickness",ae(u))}var s=Bn(r.size,t.style);if(s.size!==t.style.size){n=new te.MathNode("mstyle",[n]);var m=s.size===ue.DISPLAY.size?"true":"false";n.setAttribute("displaystyle",m),n.setAttribute("scriptlevel","0")}if(r.leftDelim!=null||r.rightDelim!=null){var b=[];if(r.leftDelim!=null){var C=new te.MathNode("mo",[new te.TextNode(r.leftDelim.replace("\\",""))]);C.setAttribute("fence","true"),b.push(C)}if(b.push(n),r.rightDelim!=null){var E=new te.MathNode("mo",[new te.TextNode(r.rightDelim.replace("\\",""))]);E.setAttribute("fence","true"),b.push(E)}return cn(b)}return n};oe({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:function(r,t){var n=r.parser,u=r.funcName,s=t[0],m=t[1],b,C=null,E=null,F="auto";switch(u){case"\\dfrac":case"\\frac":case"\\tfrac":b=!0;break;case"\\\\atopfrac":b=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":b=!1,C="(",E=")";break;case"\\\\bracefrac":b=!1,C="\\{",E="\\}";break;case"\\\\brackfrac":b=!1,C="[",E="]";break;default:throw new Error("Unrecognized genfrac command")}switch(u){case"\\dfrac":case"\\dbinom":F="display";break;case"\\tfrac":case"\\tbinom":F="text";break}return{type:"genfrac",mode:n.mode,continued:!1,numer:s,denom:m,hasBarLine:b,leftDelim:C,rightDelim:E,size:F,barSize:null}},htmlBuilder:Vt,mathmlBuilder:Fr}),oe({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:function(r,t){var n=r.parser;r.funcName;var u=t[0],s=t[1];return{type:"genfrac",mode:n.mode,continued:!0,numer:u,denom:s,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}}),oe({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler:function(r){var t=r.parser,n=r.funcName,u=r.token,s;switch(n){case"\\over":s="\\frac";break;case"\\choose":s="\\binom";break;case"\\atop":s="\\\\atopfrac";break;case"\\brace":s="\\\\bracefrac";break;case"\\brack":s="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:t.mode,replaceWith:s,token:u}}});var l0=["display","text","script","scriptscript"],pr=function(r){var t=null;return r.length>0&&(t=r,t=t==="."?null:t),t};oe({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler:function(r,t){var n=r.parser,u=t[4],s=t[5],m=Bt(t[0]),b=m.type==="atom"&&m.family==="open"?pr(m.text):null,C=Bt(t[1]),E=C.type==="atom"&&C.family==="close"?pr(C.text):null,F=Ee(t[2],"size"),U,$=null;F.isBlank?U=!0:($=F.value,U=$.number>0);var Y="auto",j=t[3];if(j.type==="ordgroup"){if(j.body.length>0){var ie=Ee(j.body[0],"textord");Y=l0[Number(ie.text)]}}else j=Ee(j,"textord"),Y=l0[Number(j.text)];return{type:"genfrac",mode:n.mode,numer:u,denom:s,continued:!1,hasBarLine:U,barSize:$,leftDelim:b,rightDelim:E,size:Y}},htmlBuilder:Vt,mathmlBuilder:Fr}),oe({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler:function(r,t){var n=r.parser;r.funcName;var u=r.token;return{type:"infix",mode:n.mode,replaceWith:"\\\\abovefrac",size:Ee(t[0],"size").value,token:u}}}),oe({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(r,t){var n=r.parser;r.funcName;var u=t[0],s=ye(Ee(t[1],"infix").size),m=t[2],b=s.number>0;return{type:"genfrac",mode:n.mode,numer:u,denom:m,continued:!1,hasBarLine:b,barSize:s,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:Vt,mathmlBuilder:Fr});var k0=function(r,t){var n=t.style,u,s;r.type==="supsub"?(u=r.sup?Fe(r.sup,t.havingStyle(n.sup()),t):Fe(r.sub,t.havingStyle(n.sub()),t),s=Ee(r.base,"horizBrace")):s=Ee(r,"horizBrace");var m=Fe(s.base,t.havingBaseStyle(ue.DISPLAY)),b=Pr.svgSpan(s,t),C;if(s.isOver?(C=V.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:m},{type:"kern",size:.1},{type:"elem",elem:b}]},t),C.children[0].children[0].children[1].classes.push("svg-align")):(C=V.makeVList({positionType:"bottom",positionData:m.depth+.1+b.height,children:[{type:"elem",elem:b},{type:"kern",size:.1},{type:"elem",elem:m}]},t),C.children[0].children[0].children[0].classes.push("svg-align")),u){var E=V.makeSpan(["mord",s.isOver?"mover":"munder"],[C],t);s.isOver?C=V.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:E},{type:"kern",size:.2},{type:"elem",elem:u}]},t):C=V.makeVList({positionType:"bottom",positionData:E.depth+.2+u.height+u.depth,children:[{type:"elem",elem:u},{type:"kern",size:.2},{type:"elem",elem:E}]},t)}return V.makeSpan(["mord",s.isOver?"mover":"munder"],[C],t)},Eu=function(r,t){var n=Pr.mathMLnode(r.label);return new te.MathNode(r.isOver?"mover":"munder",[Pe(r.base,t),n])};oe({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler:function(r,t){var n=r.parser,u=r.funcName;return{type:"horizBrace",mode:n.mode,label:u,isOver:/^\\over/.test(u),base:t[0]}},htmlBuilder:k0,mathmlBuilder:Eu}),oe({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function(r,t){var n=r.parser,u=t[1],s=Ee(t[0],"url").url;return n.settings.isTrusted({command:"\\href",url:s})?{type:"href",mode:n.mode,href:s,body:er(u)}:n.formatUnsupportedCmd("\\href")},htmlBuilder:function(r,t){var n=rr(r.body,t,!1);return V.makeAnchor(r.href,[],n,t)},mathmlBuilder:function(r,t){var n=a0(r.body,t);return n instanceof _r||(n=new _r("mrow",[n])),n.setAttribute("href",r.href),n}}),oe({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:function(r,t){var n=r.parser,u=Ee(t[0],"url").url;if(!n.settings.isTrusted({command:"\\url",url:u}))return n.formatUnsupportedCmd("\\url");for(var s=[],m=0;m<u.length;m++){var b=u[m];b==="~"&&(b="\\textasciitilde"),s.push({type:"textord",mode:"text",text:b})}var C={type:"text",mode:n.mode,font:"\\texttt",body:s};return{type:"href",mode:n.mode,href:u,body:er(C)}}}),oe({type:"hbox",names:["\\hbox"],props:{numArgs:1,argTypes:["text"],allowedInText:!0,primitive:!0},handler:function(r,t){var n=r.parser;return{type:"hbox",mode:n.mode,body:er(t[0])}},htmlBuilder:function(r,t){var n=rr(r.body,t,!1);return V.makeFragment(n)},mathmlBuilder:function(r,t){return new te.MathNode("mrow",yr(r.body,t))}}),oe({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:function(r,t){var n=r.parser,u=r.funcName;r.token;var s=Ee(t[0],"raw").string,m=t[1];n.settings.strict&&n.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var b,C={};switch(u){case"\\htmlClass":C.class=s,b={command:"\\htmlClass",class:s};break;case"\\htmlId":C.id=s,b={command:"\\htmlId",id:s};break;case"\\htmlStyle":C.style=s,b={command:"\\htmlStyle",style:s};break;case"\\htmlData":{for(var E=s.split(","),F=0;F<E.length;F++){var U=E[F].split("=");if(U.length!==2)throw new k("Error parsing key-value for \\htmlData");C["data-"+U[0].trim()]=U[1].trim()}b={command:"\\htmlData",attributes:C};break}default:throw new Error("Unrecognized html command")}return n.settings.isTrusted(b)?{type:"html",mode:n.mode,attributes:C,body:er(m)}:n.formatUnsupportedCmd(u)},htmlBuilder:function(r,t){var n=rr(r.body,t,!1),u=["enclosing"];r.attributes.class&&u.push.apply(u,r.attributes.class.trim().split(/\s+/));var s=V.makeSpan(u,n,t);for(var m in r.attributes)m!=="class"&&r.attributes.hasOwnProperty(m)&&s.setAttribute(m,r.attributes[m]);return s},mathmlBuilder:function(r,t){return a0(r.body,t)}}),oe({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:function(r,t){var n=r.parser;return{type:"htmlmathml",mode:n.mode,html:er(t[0]),mathml:er(t[1])}},htmlBuilder:function(r,t){var n=rr(r.html,t,!1);return V.makeFragment(n)},mathmlBuilder:function(r,t){return a0(r.mathml,t)}});var Mn=function(r){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(r))return{number:+r,unit:"bp"};var t=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(r);if(!t)throw new k("Invalid size: '"+r+"' in \\includegraphics");var n={number:+(t[1]+t[2]),unit:t[3]};if(!ai(n))throw new k("Invalid unit: '"+n.unit+"' in \\includegraphics.");return n};oe({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:function(r,t,n){var u=r.parser,s={number:0,unit:"em"},m={number:.9,unit:"em"},b={number:0,unit:"em"},C="";if(n[0])for(var E=Ee(n[0],"raw").string,F=E.split(","),U=0;U<F.length;U++){var $=F[U].split("=");if($.length===2){var Y=$[1].trim();switch($[0].trim()){case"alt":C=Y;break;case"width":s=Mn(Y);break;case"height":m=Mn(Y);break;case"totalheight":b=Mn(Y);break;default:throw new k("Invalid key: '"+$[0]+"' in \\includegraphics.")}}}var j=Ee(t[0],"url").url;return C===""&&(C=j,C=C.replace(/^.*[\\/]/,""),C=C.substring(0,C.lastIndexOf("."))),u.settings.isTrusted({command:"\\includegraphics",url:j})?{type:"includegraphics",mode:u.mode,alt:C,width:s,height:m,totalheight:b,src:j}:u.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:function(r,t){var n=Ye(r.height,t),u=0;r.totalheight.number>0&&(u=Ye(r.totalheight,t)-n);var s=0;r.width.number>0&&(s=Ye(r.width,t));var m={height:ae(n+u)};s>0&&(m.width=ae(s)),u>0&&(m.verticalAlign=ae(-u));var b=new oi(r.src,r.alt,m);return b.height=n,b.depth=u,b},mathmlBuilder:function(r,t){var n=new te.MathNode("mglyph",[]);n.setAttribute("alt",r.alt);var u=Ye(r.height,t),s=0;if(r.totalheight.number>0&&(s=Ye(r.totalheight,t)-u,n.setAttribute("valign",ae(-s))),n.setAttribute("height",ae(u+s)),r.width.number>0){var m=Ye(r.width,t);n.setAttribute("width",ae(m))}return n.setAttribute("src",r.src),n}}),oe({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler:function(r,t){var n=r.parser,u=r.funcName,s=Ee(t[0],"size");if(n.settings.strict){var m=u[1]==="m",b=s.value.unit==="mu";m?(b||n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+u+" supports only mu units, "+("not "+s.value.unit+" units")),n.mode!=="math"&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+u+" works only in math mode")):b&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+u+" doesn't support mu units")}return{type:"kern",mode:n.mode,dimension:s.value}},htmlBuilder:function(r,t){return V.makeGlue(r.dimension,t)},mathmlBuilder:function(r,t){var n=Ye(r.dimension,t);return new te.SpaceNode(n)}}),oe({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(r,t){var n=r.parser,u=r.funcName,s=t[0];return{type:"lap",mode:n.mode,alignment:u.slice(5),body:s}},htmlBuilder:function(r,t){var n;r.alignment==="clap"?(n=V.makeSpan([],[Fe(r.body,t)]),n=V.makeSpan(["inner"],[n],t)):n=V.makeSpan(["inner"],[Fe(r.body,t)]);var u=V.makeSpan(["fix"],[]),s=V.makeSpan([r.alignment],[n,u],t),m=V.makeSpan(["strut"]);return m.style.height=ae(s.height+s.depth),s.depth&&(m.style.verticalAlign=ae(-s.depth)),s.children.unshift(m),s=V.makeSpan(["thinbox"],[s],t),V.makeSpan(["mord","vbox"],[s],t)},mathmlBuilder:function(r,t){var n=new te.MathNode("mpadded",[Pe(r.body,t)]);if(r.alignment!=="rlap"){var u=r.alignment==="llap"?"-1":"-0.5";n.setAttribute("lspace",u+"width")}return n.setAttribute("width","0px"),n}}),oe({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(r,t){var n=r.funcName,u=r.parser,s=u.mode;u.switchMode("math");var m=n==="\\("?"\\)":"$",b=u.parseExpression(!1,m);return u.expect(m),u.switchMode(s),{type:"styling",mode:u.mode,style:"text",body:b}}}),oe({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(r,t){throw new k("Mismatched "+r.funcName)}});var Wi=function(r,t){switch(t.style.size){case ue.DISPLAY.size:return r.display;case ue.TEXT.size:return r.text;case ue.SCRIPT.size:return r.script;case ue.SCRIPTSCRIPT.size:return r.scriptscript;default:return r.text}};oe({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:function(r,t){var n=r.parser;return{type:"mathchoice",mode:n.mode,display:er(t[0]),text:er(t[1]),script:er(t[2]),scriptscript:er(t[3])}},htmlBuilder:function(r,t){var n=Wi(r,t),u=rr(n,t,!1);return V.makeFragment(u)},mathmlBuilder:function(r,t){var n=Wi(r,t);return a0(n,t)}});var Tn=function(r,t,n,u,s,m,b){r=V.makeSpan([],[r]);var C=n&&K.isCharacterBox(n),E,F;if(t){var U=Fe(t,u.havingStyle(s.sup()),u);F={elem:U,kern:Math.max(u.fontMetrics().bigOpSpacing1,u.fontMetrics().bigOpSpacing3-U.depth)}}if(n){var $=Fe(n,u.havingStyle(s.sub()),u);E={elem:$,kern:Math.max(u.fontMetrics().bigOpSpacing2,u.fontMetrics().bigOpSpacing4-$.height)}}var Y;if(F&&E){var j=u.fontMetrics().bigOpSpacing5+E.elem.height+E.elem.depth+E.kern+r.depth+b;Y=V.makeVList({positionType:"bottom",positionData:j,children:[{type:"kern",size:u.fontMetrics().bigOpSpacing5},{type:"elem",elem:E.elem,marginLeft:ae(-m)},{type:"kern",size:E.kern},{type:"elem",elem:r},{type:"kern",size:F.kern},{type:"elem",elem:F.elem,marginLeft:ae(m)},{type:"kern",size:u.fontMetrics().bigOpSpacing5}]},u)}else if(E){var ie=r.height-b;Y=V.makeVList({positionType:"top",positionData:ie,children:[{type:"kern",size:u.fontMetrics().bigOpSpacing5},{type:"elem",elem:E.elem,marginLeft:ae(-m)},{type:"kern",size:E.kern},{type:"elem",elem:r}]},u)}else if(F){var le=r.depth+b;Y=V.makeVList({positionType:"bottom",positionData:le,children:[{type:"elem",elem:r},{type:"kern",size:F.kern},{type:"elem",elem:F.elem,marginLeft:ae(m)},{type:"kern",size:u.fontMetrics().bigOpSpacing5}]},u)}else return r;var fe=[Y];if(E&&m!==0&&!C){var de=V.makeSpan(["mspace"],[],u);de.style.marginRight=ae(m),fe.unshift(de)}return V.makeSpan(["mop","op-limits"],fe,u)},Ki=["\\smallint"],S0=function(r,t){var n,u,s=!1,m;r.type==="supsub"?(n=r.sup,u=r.sub,m=Ee(r.base,"op"),s=!0):m=Ee(r,"op");var b=t.style,C=!1;b.size===ue.DISPLAY.size&&m.symbol&&!K.contains(Ki,m.name)&&(C=!0);var E;if(m.symbol){var F=C?"Size2-Regular":"Size1-Regular",U="";if((m.name==="\\oiint"||m.name==="\\oiiint")&&(U=m.name.slice(1),m.name=U==="oiint"?"\\iint":"\\iiint"),E=V.makeSymbol(m.name,F,"math",t,["mop","op-symbol",C?"large-op":"small-op"]),U.length>0){var $=E.italic,Y=V.staticSvg(U+"Size"+(C?"2":"1"),t);E=V.makeVList({positionType:"individualShift",children:[{type:"elem",elem:E,shift:0},{type:"elem",elem:Y,shift:C?.08:0}]},t),m.name="\\"+U,E.classes.unshift("mop"),E.italic=$}}else if(m.body){var j=rr(m.body,t,!0);j.length===1&&j[0]instanceof Tr?(E=j[0],E.classes[0]="mop"):E=V.makeSpan(["mop"],j,t)}else{for(var ie=[],le=1;le<m.name.length;le++)ie.push(V.mathsym(m.name[le],m.mode,t));E=V.makeSpan(["mop"],ie,t)}var fe=0,de=0;return(E instanceof Tr||m.name==="\\oiint"||m.name==="\\oiiint")&&!m.suppressBaseShift&&(fe=(E.height-E.depth)/2-t.fontMetrics().axisHeight,de=E.italic),s?Tn(E,n,u,t,b,de,fe):(fe&&(E.style.position="relative",E.style.top=ae(fe)),E)},_0=function(r,t){var n;if(r.symbol)n=new _r("mo",[kr(r.name,r.mode)]),K.contains(Ki,r.name)&&n.setAttribute("largeop","false");else if(r.body)n=new _r("mo",yr(r.body,t));else{n=new _r("mi",[new rt(r.name.slice(1))]);var u=new _r("mo",[kr("","text")]);r.parentIsSupSub?n=new _r("mrow",[n,u]):n=Tt([n,u])}return n},z0={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","":"\\bigvee","⋂":"\\bigcap","":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};oe({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","","⋂","","⨀","⨁","⨂","⨄","⨆"],props:{numArgs:0},handler:function(r,t){var n=r.parser,u=r.funcName,s=u;return s.length===1&&(s=z0[s]),{type:"op",mode:n.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:s}},htmlBuilder:S0,mathmlBuilder:_0}),oe({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:function(r,t){var n=r.parser,u=t[0];return{type:"op",mode:n.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:er(u)}},htmlBuilder:S0,mathmlBuilder:_0});var Bu={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};oe({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:function(r){var t=r.parser,n=r.funcName;return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:n}},htmlBuilder:S0,mathmlBuilder:_0}),oe({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler:function(r){var t=r.parser,n=r.funcName;return{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:n}},htmlBuilder:S0,mathmlBuilder:_0}),oe({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0},handler:function(r){var t=r.parser,n=r.funcName,u=n;return u.length===1&&(u=Bu[u]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:u}},htmlBuilder:S0,mathmlBuilder:_0});var _n=function(r,t){var n,u,s=!1,m;r.type==="supsub"?(n=r.sup,u=r.sub,m=Ee(r.base,"operatorname"),s=!0):m=Ee(r,"operatorname");var b;if(m.body.length>0){for(var C=m.body.map(function($){var Y=$.text;return typeof Y=="string"?{type:"textord",mode:$.mode,text:Y}:$}),E=rr(C,t.withFont("mathrm"),!0),F=0;F<E.length;F++){var U=E[F];U instanceof Tr&&(U.text=U.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}b=V.makeSpan(["mop"],E,t)}else b=V.makeSpan(["mop"],[],t);return s?Tn(b,n,u,t,t.style,0,0):b},me=function(r,t){for(var n=yr(r.body,t.withFont("mathrm")),u=!0,s=0;s<n.length;s++){var m=n[s];if(!(m instanceof te.SpaceNode))if(m instanceof te.MathNode)switch(m.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var b=m.children[0];m.children.length===1&&b instanceof te.TextNode?b.text=b.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):u=!1;break}default:u=!1}else u=!1}if(u){var C=n.map(function(U){return U.toText()}).join("");n=[new te.TextNode(C)]}var E=new te.MathNode("mi",n);E.setAttribute("mathvariant","normal");var F=new te.MathNode("mo",[kr("","text")]);return r.parentIsSupSub?new te.MathNode("mrow",[E,F]):te.newDocumentFragment([E,F])};oe({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:function(r,t){var n=r.parser,u=r.funcName,s=t[0];return{type:"operatorname",mode:n.mode,body:er(s),alwaysHandleSupSub:u==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:_n,mathmlBuilder:me}),D("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@"),A0({type:"ordgroup",htmlBuilder:function(r,t){return r.semisimple?V.makeFragment(rr(r.body,t,!1)):V.makeSpan(["mord"],rr(r.body,t,!0),t)},mathmlBuilder:function(r,t){return a0(r.body,t,!0)}}),oe({type:"overline",names:["\\overline"],props:{numArgs:1},handler:function(r,t){var n=r.parser,u=t[0];return{type:"overline",mode:n.mode,body:u}},htmlBuilder:function(r,t){var n=Fe(r.body,t.havingCrampedStyle()),u=V.makeLineSpan("overline-line",t),s=t.fontMetrics().defaultRuleThickness,m=V.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n},{type:"kern",size:3*s},{type:"elem",elem:u},{type:"kern",size:s}]},t);return V.makeSpan(["mord","overline"],[m],t)},mathmlBuilder:function(r,t){var n=new te.MathNode("mo",[new te.TextNode("‾")]);n.setAttribute("stretchy","true");var u=new te.MathNode("mover",[Pe(r.body,t),n]);return u.setAttribute("accent","true"),u}}),oe({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:function(r,t){var n=r.parser,u=t[0];return{type:"phantom",mode:n.mode,body:er(u)}},htmlBuilder:function(r,t){var n=rr(r.body,t.withPhantom(),!1);return V.makeFragment(n)},mathmlBuilder:function(r,t){var n=yr(r.body,t);return new te.MathNode("mphantom",n)}}),oe({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:function(r,t){var n=r.parser,u=t[0];return{type:"hphantom",mode:n.mode,body:u}},htmlBuilder:function(r,t){var n=V.makeSpan([],[Fe(r.body,t.withPhantom())]);if(n.height=0,n.depth=0,n.children)for(var u=0;u<n.children.length;u++)n.children[u].height=0,n.children[u].depth=0;return n=V.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n}]},t),V.makeSpan(["mord"],[n],t)},mathmlBuilder:function(r,t){var n=yr(er(r.body),t),u=new te.MathNode("mphantom",n),s=new te.MathNode("mpadded",[u]);return s.setAttribute("height","0px"),s.setAttribute("depth","0px"),s}}),oe({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:function(r,t){var n=r.parser,u=t[0];return{type:"vphantom",mode:n.mode,body:u}},htmlBuilder:function(r,t){var n=V.makeSpan(["inner"],[Fe(r.body,t.withPhantom())]),u=V.makeSpan(["fix"],[]);return V.makeSpan(["mord","rlap"],[n,u],t)},mathmlBuilder:function(r,t){var n=yr(er(r.body),t),u=new te.MathNode("mphantom",n),s=new te.MathNode("mpadded",[u]);return s.setAttribute("width","0px"),s}}),oe({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler:function(r,t){var n=r.parser,u=Ee(t[0],"size").value,s=t[1];return{type:"raisebox",mode:n.mode,dy:u,body:s}},htmlBuilder:function(r,t){var n=Fe(r.body,t),u=Ye(r.dy,t);return V.makeVList({positionType:"shift",positionData:-u,children:[{type:"elem",elem:n}]},t)},mathmlBuilder:function(r,t){var n=new te.MathNode("mpadded",[Pe(r.body,t)]),u=r.dy.number+r.dy.unit;return n.setAttribute("voffset",u),n}}),oe({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0},handler:function(r){var t=r.parser;return{type:"internal",mode:t.mode}}}),oe({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler:function(r,t,n){var u=r.parser,s=n[0],m=Ee(t[0],"size"),b=Ee(t[1],"size");return{type:"rule",mode:u.mode,shift:s&&Ee(s,"size").value,width:m.value,height:b.value}},htmlBuilder:function(r,t){var n=V.makeSpan(["mord","rule"],[],t),u=Ye(r.width,t),s=Ye(r.height,t),m=r.shift?Ye(r.shift,t):0;return n.style.borderRightWidth=ae(u),n.style.borderTopWidth=ae(s),n.style.bottom=ae(m),n.width=u,n.height=s+m,n.depth=-m,n.maxFontSize=s*1.125*t.sizeMultiplier,n},mathmlBuilder:function(r,t){var n=Ye(r.width,t),u=Ye(r.height,t),s=r.shift?Ye(r.shift,t):0,m=t.color&&t.getColor()||"black",b=new te.MathNode("mspace");b.setAttribute("mathbackground",m),b.setAttribute("width",ae(n)),b.setAttribute("height",ae(u));var C=new te.MathNode("mpadded",[b]);return s>=0?C.setAttribute("height",ae(s)):(C.setAttribute("height",ae(s)),C.setAttribute("depth",ae(-s))),C.setAttribute("voffset",ae(s)),C}});function ut(d,r,t){for(var n=rr(d,r,!1),u=r.sizeMultiplier/t.sizeMultiplier,s=0;s<n.length;s++){var m=n[s].classes.indexOf("sizing");m<0?Array.prototype.push.apply(n[s].classes,r.sizingClasses(t)):n[s].classes[m+1]==="reset-size"+r.size&&(n[s].classes[m+1]="reset-size"+t.size),n[s].height*=u,n[s].depth*=u}return V.makeFragment(n)}var zn=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],o0=function(r,t){var n=t.havingSize(r.size);return ut(r.body,n,t)};oe({type:"sizing",names:zn,props:{numArgs:0,allowedInText:!0},handler:function(r,t){var n=r.breakOnTokenText,u=r.funcName,s=r.parser,m=s.parseExpression(!1,n);return{type:"sizing",mode:s.mode,size:zn.indexOf(u)+1,body:m}},htmlBuilder:o0,mathmlBuilder:function(r,t){var n=t.havingSize(r.size),u=yr(r.body,n),s=new te.MathNode("mstyle",u);return s.setAttribute("mathsize",ae(n.sizeMultiplier)),s}}),oe({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:function(r,t,n){var u=r.parser,s=!1,m=!1,b=n[0]&&Ee(n[0],"ordgroup");if(b)for(var C="",E=0;E<b.body.length;++E){var F=b.body[E];if(C=F.text,C==="t")s=!0;else if(C==="b")m=!0;else{s=!1,m=!1;break}}else s=!0,m=!0;var U=t[0];return{type:"smash",mode:u.mode,body:U,smashHeight:s,smashDepth:m}},htmlBuilder:function(r,t){var n=V.makeSpan([],[Fe(r.body,t)]);if(!r.smashHeight&&!r.smashDepth)return n;if(r.smashHeight&&(n.height=0,n.children))for(var u=0;u<n.children.length;u++)n.children[u].height=0;if(r.smashDepth&&(n.depth=0,n.children))for(var s=0;s<n.children.length;s++)n.children[s].depth=0;var m=V.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n}]},t);return V.makeSpan(["mord"],[m],t)},mathmlBuilder:function(r,t){var n=new te.MathNode("mpadded",[Pe(r.body,t)]);return r.smashHeight&&n.setAttribute("height","0px"),r.smashDepth&&n.setAttribute("depth","0px"),n}}),oe({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler:function(r,t,n){var u=r.parser,s=n[0],m=t[0];return{type:"sqrt",mode:u.mode,body:m,index:s}},htmlBuilder:function(r,t){var n=Fe(r.body,t.havingCrampedStyle());n.height===0&&(n.height=t.fontMetrics().xHeight),n=V.wrapFragment(n,t);var u=t.fontMetrics(),s=u.defaultRuleThickness,m=s;t.style.id<ue.TEXT.id&&(m=t.fontMetrics().xHeight);var b=s+m/4,C=n.height+n.depth+b+s,E=Yr.sqrtImage(C,t),F=E.span,U=E.ruleWidth,$=E.advanceWidth,Y=F.height-U;Y>n.height+n.depth+b&&(b=(b+Y-n.height-n.depth)/2);var j=F.height-n.height-b-U;n.style.paddingLeft=ae($);var ie=V.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:-(n.height+j)},{type:"elem",elem:F},{type:"kern",size:U}]},t);if(r.index){var le=t.havingStyle(ue.SCRIPTSCRIPT),fe=Fe(r.index,le,t),de=.6*(ie.height-ie.depth),ve=V.makeVList({positionType:"shift",positionData:-de,children:[{type:"elem",elem:fe}]},t),ze=V.makeSpan(["root"],[ve]);return V.makeSpan(["mord","sqrt"],[ze,ie],t)}else return V.makeSpan(["mord","sqrt"],[ie],t)},mathmlBuilder:function(r,t){var n=r.body,u=r.index;return u?new te.MathNode("mroot",[Pe(n,t),Pe(u,t)]):new te.MathNode("msqrt",[Pe(n,t)])}});var Fn={display:ue.DISPLAY,text:ue.TEXT,script:ue.SCRIPT,scriptscript:ue.SCRIPTSCRIPT};oe({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler:function(r,t){var n=r.breakOnTokenText,u=r.funcName,s=r.parser,m=s.parseExpression(!0,n),b=u.slice(1,u.length-5);return{type:"styling",mode:s.mode,style:b,body:m}},htmlBuilder:function(r,t){var n=Fn[r.style],u=t.havingStyle(n).withFont("");return ut(r.body,u,t)},mathmlBuilder:function(r,t){var n=Fn[r.style],u=t.havingStyle(n),s=yr(r.body,u),m=new te.MathNode("mstyle",s),b={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},C=b[r.style];return m.setAttribute("scriptlevel",C[0]),m.setAttribute("displaystyle",C[1]),m}});var F0=function(r,t){var n=r.base;if(n)if(n.type==="op"){var u=n.limits&&(t.style.size===ue.DISPLAY.size||n.alwaysHandleSupSub);return u?S0:null}else if(n.type==="operatorname"){var s=n.alwaysHandleSupSub&&(t.style.size===ue.DISPLAY.size||n.limits);return s?_n:null}else{if(n.type==="accent")return K.isCharacterBox(n.base)?dn:null;if(n.type==="horizBrace"){var m=!r.sub;return m===n.isOver?k0:null}else return null}else return null};A0({type:"supsub",htmlBuilder:function(r,t){var n=F0(r,t);if(n)return n(r,t);var u=r.base,s=r.sup,m=r.sub,b=Fe(u,t),C,E,F=t.fontMetrics(),U=0,$=0,Y=u&&K.isCharacterBox(u);if(s){var j=t.havingStyle(t.style.sup());C=Fe(s,j,t),Y||(U=b.height-j.fontMetrics().supDrop*j.sizeMultiplier/t.sizeMultiplier)}if(m){var ie=t.havingStyle(t.style.sub());E=Fe(m,ie,t),Y||($=b.depth+ie.fontMetrics().subDrop*ie.sizeMultiplier/t.sizeMultiplier)}var le;t.style===ue.DISPLAY?le=F.sup1:t.style.cramped?le=F.sup3:le=F.sup2;var fe=t.sizeMultiplier,de=ae(.5/F.ptPerEm/fe),ve=null;if(E){var ze=r.base&&r.base.type==="op"&&r.base.name&&(r.base.name==="\\oiint"||r.base.name==="\\oiiint");(b instanceof Tr||ze)&&(ve=ae(-b.italic))}var Ce;if(C&&E){U=Math.max(U,le,C.depth+.25*F.xHeight),$=Math.max($,F.sub2);var qe=F.defaultRuleThickness,Ne=4*qe;if(U-C.depth-(E.height-$)<Ne){$=Ne-(U-C.depth)+E.height;var Ie=.8*F.xHeight-(U-C.depth);Ie>0&&(U+=Ie,$-=Ie)}var He=[{type:"elem",elem:E,shift:$,marginRight:de,marginLeft:ve},{type:"elem",elem:C,shift:-U,marginRight:de}];Ce=V.makeVList({positionType:"individualShift",children:He},t)}else if(E){$=Math.max($,F.sub1,E.height-.8*F.xHeight);var Qe=[{type:"elem",elem:E,marginLeft:ve,marginRight:de}];Ce=V.makeVList({positionType:"shift",positionData:$,children:Qe},t)}else if(C)U=Math.max(U,le,C.depth+.25*F.xHeight),Ce=V.makeVList({positionType:"shift",positionData:-U,children:[{type:"elem",elem:C,marginRight:de}]},t);else throw new Error("supsub must have either sup or sub.");var Sr=J0(b,"right")||"mord";return V.makeSpan([Sr],[b,V.makeSpan(["msupsub"],[Ce])],t)},mathmlBuilder:function(r,t){var n=!1,u,s;r.base&&r.base.type==="horizBrace"&&(s=!!r.sup,s===r.base.isOver&&(n=!0,u=r.base.isOver)),r.base&&(r.base.type==="op"||r.base.type==="operatorname")&&(r.base.parentIsSupSub=!0);var m=[Pe(r.base,t)];r.sub&&m.push(Pe(r.sub,t)),r.sup&&m.push(Pe(r.sup,t));var b;if(n)b=u?"mover":"munder";else if(r.sub)if(r.sup){var F=r.base;F&&F.type==="op"&&F.limits&&t.style===ue.DISPLAY||F&&F.type==="operatorname"&&F.alwaysHandleSupSub&&(t.style===ue.DISPLAY||F.limits)?b="munderover":b="msubsup"}else{var E=r.base;E&&E.type==="op"&&E.limits&&(t.style===ue.DISPLAY||E.alwaysHandleSupSub)||E&&E.type==="operatorname"&&E.alwaysHandleSupSub&&(E.limits||t.style===ue.DISPLAY)?b="munder":b="msub"}else{var C=r.base;C&&C.type==="op"&&C.limits&&(t.style===ue.DISPLAY||C.alwaysHandleSupSub)||C&&C.type==="operatorname"&&C.alwaysHandleSupSub&&(C.limits||t.style===ue.DISPLAY)?b="mover":b="msup"}return new te.MathNode(b,m)}}),A0({type:"atom",htmlBuilder:function(r,t){return V.mathsym(r.text,r.mode,t,["m"+r.family])},mathmlBuilder:function(r,t){var n=new te.MathNode("mo",[kr(r.text,r.mode)]);if(r.family==="bin"){var u=hn(r,t);u==="bold-italic"&&n.setAttribute("mathvariant",u)}else r.family==="punct"?n.setAttribute("separator","true"):(r.family==="open"||r.family==="close")&&n.setAttribute("stretchy","false");return n}});var Gt={mi:"italic",mn:"normal",mtext:"normal"};A0({type:"mathord",htmlBuilder:function(r,t){return V.makeOrd(r,t,"mathord")},mathmlBuilder:function(r,t){var n=new te.MathNode("mi",[kr(r.text,r.mode,t)]),u=hn(r,t)||"italic";return u!==Gt[n.type]&&n.setAttribute("mathvariant",u),n}}),A0({type:"textord",htmlBuilder:function(r,t){return V.makeOrd(r,t,"textord")},mathmlBuilder:function(r,t){var n=kr(r.text,r.mode,t),u=hn(r,t)||"normal",s;return r.mode==="text"?s=new te.MathNode("mtext",[n]):/[0-9]/.test(r.text)?s=new te.MathNode("mn",[n]):r.text==="\\prime"?s=new te.MathNode("mo",[n]):s=new te.MathNode("mi",[n]),u!==Gt[s.type]&&s.setAttribute("mathvariant",u),s}});var Je={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},N0={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};A0({type:"spacing",htmlBuilder:function(r,t){if(N0.hasOwnProperty(r.text)){var n=N0[r.text].className||"";if(r.mode==="text"){var u=V.makeOrd(r,t,"textord");return u.classes.push(n),u}else return V.makeSpan(["mspace",n],[V.mathsym(r.text,r.mode,t)],t)}else{if(Je.hasOwnProperty(r.text))return V.makeSpan(["mspace",Je[r.text]],[],t);throw new k('Unknown type of space "'+r.text+'"')}},mathmlBuilder:function(r,t){var n;if(N0.hasOwnProperty(r.text))n=new te.MathNode("mtext",[new te.TextNode(" ")]);else{if(Je.hasOwnProperty(r.text))return new te.MathNode("mspace");throw new k('Unknown type of space "'+r.text+'"')}return n}});var $t=function(){var r=new te.MathNode("mtd",[]);return r.setAttribute("width","50%"),r};A0({type:"tag",mathmlBuilder:function(r,t){var n=new te.MathNode("mtable",[new te.MathNode("mtr",[$t(),new te.MathNode("mtd",[a0(r.body,t)]),$t(),new te.MathNode("mtd",[a0(r.tag,t)])])]);return n.setAttribute("width","100%"),n}});var Zi={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Ji={"\\textbf":"textbf","\\textmd":"textmd"},Mu={"\\textit":"textit","\\textup":"textup"},Qi=function(r,t){var n=r.font;return n?Zi[n]?t.withTextFontFamily(Zi[n]):Ji[n]?t.withTextFontWeight(Ji[n]):t.withTextFontShape(Mu[n]):t};oe({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler:function(r,t){var n=r.parser,u=r.funcName,s=t[0];return{type:"text",mode:n.mode,body:er(s),font:u}},htmlBuilder:function(r,t){var n=Qi(r,t),u=rr(r.body,n,!0);return V.makeSpan(["mord","text"],u,n)},mathmlBuilder:function(r,t){var n=Qi(r,t);return a0(r.body,n)}}),oe({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(r,t){var n=r.parser;return{type:"underline",mode:n.mode,body:t[0]}},htmlBuilder:function(r,t){var n=Fe(r.body,t),u=V.makeLineSpan("underline-line",t),s=t.fontMetrics().defaultRuleThickness,m=V.makeVList({positionType:"top",positionData:n.height,children:[{type:"kern",size:s},{type:"elem",elem:u},{type:"kern",size:3*s},{type:"elem",elem:n}]},t);return V.makeSpan(["mord","underline"],[m],t)},mathmlBuilder:function(r,t){var n=new te.MathNode("mo",[new te.TextNode("‾")]);n.setAttribute("stretchy","true");var u=new te.MathNode("munder",[Pe(r.body,t),n]);return u.setAttribute("accentunder","true"),u}}),oe({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler:function(r,t){var n=r.parser;return{type:"vcenter",mode:n.mode,body:t[0]}},htmlBuilder:function(r,t){var n=Fe(r.body,t),u=t.fontMetrics().axisHeight,s=.5*(n.height-u-(n.depth+u));return V.makeVList({positionType:"shift",positionData:s,children:[{type:"elem",elem:n}]},t)},mathmlBuilder:function(r,t){return new te.MathNode("mpadded",[Pe(r.body,t)],["vcenter"])}}),oe({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(r,t,n){throw new k("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(r,t){for(var n=ea(r),u=[],s=t.havingStyle(t.style.text()),m=0;m<n.length;m++){var b=n[m];b==="~"&&(b="\\textasciitilde"),u.push(V.makeSymbol(b,"Typewriter-Regular",r.mode,s,["mord","texttt"]))}return V.makeSpan(["mord","text"].concat(s.sizingClasses(t)),V.tryCombineChars(u),s)},mathmlBuilder:function(r,t){var n=new te.TextNode(ea(r)),u=new te.MathNode("mtext",[n]);return u.setAttribute("mathvariant","monospace"),u}});var ea=function(r){return r.body.replace(/ /g,r.star?"␣":" ")},ra=Dt,s0=ra,ta=`[ \r
]`,Tu="\\\\[a-zA-Z@]+",_u="\\\\[^\uD800-\uDFFF]",q0="("+Tu+")"+ta+"*",zu=`\\\\(
|[ \r ]+
?)[ \r ]*`,Yt="[̀-ͯ]",Fu=new RegExp(Yt+"+$"),Nu="("+ta+"+)|"+(zu+"|")+"([!-\\[\\]-‧‪-퟿豈-￿]"+(Yt+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(Yt+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+q0)+("|"+_u+")"),na=function(){function d(t,n){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=t,this.settings=n,this.tokenRegex=new RegExp(Nu,"g"),this.catcodes={"%":14,"~":13}}var r=d.prototype;return r.setCatcode=function(n,u){this.catcodes[n]=u},r.lex=function(){var n=this.input,u=this.tokenRegex.lastIndex;if(u===n.length)return new u0("EOF",new Hr(this,u,u));var s=this.tokenRegex.exec(n);if(s===null||s.index!==u)throw new k("Unexpected character: '"+n[u]+"'",new u0(n[u],new Hr(this,u,u+1)));var m=s[6]||s[3]||(s[2]?"\\ ":" ");if(this.catcodes[m]===14){var b=n.indexOf(`
`,this.tokenRegex.lastIndex);return b===-1?(this.tokenRegex.lastIndex=n.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=b+1,this.lex()}return new u0(m,new Hr(this,u,this.tokenRegex.lastIndex))},d}(),qu=function(){function d(t,n){t===void 0&&(t={}),n===void 0&&(n={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=n,this.builtins=t,this.undefStack=[]}var r=d.prototype;return r.beginGroup=function(){this.undefStack.push({})},r.endGroup=function(){if(this.undefStack.length===0)throw new k("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var n=this.undefStack.pop();for(var u in n)n.hasOwnProperty(u)&&(n[u]==null?delete this.current[u]:this.current[u]=n[u])},r.endGroups=function(){for(;this.undefStack.length>0;)this.endGroup()},r.has=function(n){return this.current.hasOwnProperty(n)||this.builtins.hasOwnProperty(n)},r.get=function(n){return this.current.hasOwnProperty(n)?this.current[n]:this.builtins[n]},r.set=function(n,u,s){if(s===void 0&&(s=!1),s){for(var m=0;m<this.undefStack.length;m++)delete this.undefStack[m][n];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][n]=u)}else{var b=this.undefStack[this.undefStack.length-1];b&&!b.hasOwnProperty(n)&&(b[n]=this.current[n])}u==null?delete this.current[n]:this.current[n]=u},d}(),ia=Cn,aa=ia;D("\\noexpand",function(d){var r=d.popToken();return d.isExpandable(r.text)&&(r.noexpand=!0,r.treatAsRelax=!0),{tokens:[r],numArgs:0}}),D("\\expandafter",function(d){var r=d.popToken();return d.expandOnce(!0),{tokens:[r],numArgs:0}}),D("\\@firstoftwo",function(d){var r=d.consumeArgs(2);return{tokens:r[0],numArgs:0}}),D("\\@secondoftwo",function(d){var r=d.consumeArgs(2);return{tokens:r[1],numArgs:0}}),D("\\@ifnextchar",function(d){var r=d.consumeArgs(3);d.consumeSpaces();var t=d.future();return r[0].length===1&&r[0][0].text===t.text?{tokens:r[1],numArgs:0}:{tokens:r[2],numArgs:0}}),D("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),D("\\TextOrMath",function(d){var r=d.consumeArgs(2);return d.mode==="text"?{tokens:r[0],numArgs:0}:{tokens:r[1],numArgs:0}});var Nn={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};D("\\char",function(d){var r=d.popToken(),t,n="";if(r.text==="'")t=8,r=d.popToken();else if(r.text==='"')t=16,r=d.popToken();else if(r.text==="`")if(r=d.popToken(),r.text[0]==="\\")n=r.text.charCodeAt(1);else{if(r.text==="EOF")throw new k("\\char` missing argument");n=r.text.charCodeAt(0)}else t=10;if(t){if(n=Nn[r.text],n==null||n>=t)throw new k("Invalid base-"+t+" digit "+r.text);for(var u;(u=Nn[d.future().text])!=null&&u<t;)n*=t,n+=u,d.popToken()}return"\\@char{"+n+"}"});var lt=function(r,t,n){var u=r.consumeArg().tokens;if(u.length!==1)throw new k("\\newcommand's first argument must be a macro name");var s=u[0].text,m=r.isDefined(s);if(m&&!t)throw new k("\\newcommand{"+s+"} attempting to redefine "+(s+"; use \\renewcommand"));if(!m&&!n)throw new k("\\renewcommand{"+s+"} when command "+s+" does not yet exist; use \\newcommand");var b=0;if(u=r.consumeArg().tokens,u.length===1&&u[0].text==="["){for(var C="",E=r.expandNextToken();E.text!=="]"&&E.text!=="EOF";)C+=E.text,E=r.expandNextToken();if(!C.match(/^\s*[0-9]+\s*$/))throw new k("Invalid number of arguments: "+C);b=parseInt(C),u=r.consumeArg().tokens}return r.macros.set(s,{tokens:u,numArgs:b}),""};D("\\newcommand",function(d){return lt(d,!1,!0)}),D("\\renewcommand",function(d){return lt(d,!0,!1)}),D("\\providecommand",function(d){return lt(d,!0,!0)}),D("\\message",function(d){var r=d.consumeArgs(1)[0];return console.log(r.reverse().map(function(t){return t.text}).join("")),""}),D("\\errmessage",function(d){var r=d.consumeArgs(1)[0];return console.error(r.reverse().map(function(t){return t.text}).join("")),""}),D("\\show",function(d){var r=d.popToken(),t=r.text;return console.log(r,d.macros.get(t),s0[t],Ve.math[t],Ve.text[t]),""}),D("\\bgroup","{"),D("\\egroup","}"),D("~","\\nobreakspace"),D("\\lq","`"),D("\\rq","'"),D("\\aa","\\r a"),D("\\AA","\\r A"),D("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}"),D("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),D("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}"),D("","\\mathscr{B}"),D("","\\mathscr{E}"),D("","\\mathscr{F}"),D("","\\mathscr{H}"),D("","\\mathscr{I}"),D("","\\mathscr{L}"),D("","\\mathscr{M}"),D("","\\mathscr{R}"),D("","\\mathfrak{C}"),D("","\\mathfrak{H}"),D("","\\mathfrak{Z}"),D("\\Bbbk","\\Bbb{k}"),D("·","\\cdotp"),D("\\llap","\\mathllap{\\textrm{#1}}"),D("\\rlap","\\mathrlap{\\textrm{#1}}"),D("\\clap","\\mathclap{\\textrm{#1}}"),D("\\mathstrut","\\vphantom{(}"),D("\\underbar","\\underline{\\text{#1}}"),D("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),D("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}"),D("\\ne","\\neq"),D("≠","\\neq"),D("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}"),D("∉","\\notin"),D("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}"),D("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}"),D("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}"),D("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}"),D("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}"),D("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}"),D("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}"),D("⟂","\\perp"),D("‼","\\mathclose{!\\mkern-0.8mu!}"),D("∌","\\notni"),D("⌜","\\ulcorner"),D("⌝","\\urcorner"),D("⌞","\\llcorner"),D("⌟","\\lrcorner"),D("©","\\copyright"),D("®","\\textregistered"),D("","\\textregistered"),D("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}'),D("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}'),D("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}'),D("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}'),D("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}"),D("⋮","\\vdots"),D("\\varGamma","\\mathit{\\Gamma}"),D("\\varDelta","\\mathit{\\Delta}"),D("\\varTheta","\\mathit{\\Theta}"),D("\\varLambda","\\mathit{\\Lambda}"),D("\\varXi","\\mathit{\\Xi}"),D("\\varPi","\\mathit{\\Pi}"),D("\\varSigma","\\mathit{\\Sigma}"),D("\\varUpsilon","\\mathit{\\Upsilon}"),D("\\varPhi","\\mathit{\\Phi}"),D("\\varPsi","\\mathit{\\Psi}"),D("\\varOmega","\\mathit{\\Omega}"),D("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),D("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax"),D("\\boxed","\\fbox{$\\displaystyle{#1}$}"),D("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),D("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),D("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var ua={",":"\\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"};D("\\dots",function(d){var r="\\dotso",t=d.expandAfterFuture().text;return t in ua?r=ua[t]:(t.slice(0,4)==="\\not"||t in Ve.math&&K.contains(["bin","rel"],Ve.math[t].group))&&(r="\\dotsb"),r});var C0={")":!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};D("\\dotso",function(d){var r=d.future().text;return r in C0?"\\ldots\\,":"\\ldots"}),D("\\dotsc",function(d){var r=d.future().text;return r in C0&&r!==","?"\\ldots\\,":"\\ldots"}),D("\\cdots",function(d){var r=d.future().text;return r in C0?"\\@cdots\\,":"\\@cdots"}),D("\\dotsb","\\cdots"),D("\\dotsm","\\cdots"),D("\\dotsi","\\!\\cdots"),D("\\dotsx","\\ldots\\,"),D("\\DOTSI","\\relax"),D("\\DOTSB","\\relax"),D("\\DOTSX","\\relax"),D("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),D("\\,","\\tmspace+{3mu}{.1667em}"),D("\\thinspace","\\,"),D("\\>","\\mskip{4mu}"),D("\\:","\\tmspace+{4mu}{.2222em}"),D("\\medspace","\\:"),D("\\;","\\tmspace+{5mu}{.2777em}"),D("\\thickspace","\\;"),D("\\!","\\tmspace-{3mu}{.1667em}"),D("\\negthinspace","\\!"),D("\\negmedspace","\\tmspace-{4mu}{.2222em}"),D("\\negthickspace","\\tmspace-{5mu}{.277em}"),D("\\enspace","\\kern.5em "),D("\\enskip","\\hskip.5em\\relax"),D("\\quad","\\hskip1em\\relax"),D("\\qquad","\\hskip2em\\relax"),D("\\tag","\\@ifstar\\tag@literal\\tag@paren"),D("\\tag@paren","\\tag@literal{({#1})}"),D("\\tag@literal",function(d){if(d.macros.get("\\df@tag"))throw new k("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),D("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),D("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),D("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),D("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),D("\\newline","\\\\\\relax"),D("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var la=ae(xr["Main-Regular"]["T".charCodeAt(0)][1]-.7*xr["Main-Regular"]["A".charCodeAt(0)][1]);D("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+la+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),D("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+la+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),D("\\hspace","\\@ifstar\\@hspacer\\@hspace"),D("\\@hspace","\\hskip #1\\relax"),D("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),D("\\ordinarycolon",":"),D("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),D("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),D("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),D("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),D("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),D("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),D("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),D("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),D("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),D("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),D("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),D("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),D("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),D("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),D("∷","\\dblcolon"),D("∹","\\eqcolon"),D("≔","\\coloneqq"),D("≕","\\eqqcolon"),D("⩴","\\Coloneqq"),D("\\ratio","\\vcentcolon"),D("\\coloncolon","\\dblcolon"),D("\\colonequals","\\coloneqq"),D("\\coloncolonequals","\\Coloneqq"),D("\\equalscolon","\\eqqcolon"),D("\\equalscoloncolon","\\Eqqcolon"),D("\\colonminus","\\coloneq"),D("\\coloncolonminus","\\Coloneq"),D("\\minuscolon","\\eqcolon"),D("\\minuscoloncolon","\\Eqcolon"),D("\\coloncolonapprox","\\Colonapprox"),D("\\coloncolonsim","\\Colonsim"),D("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),D("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),D("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),D("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),D("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}"),D("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),D("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),D("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}"),D("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}"),D("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}"),D("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}"),D("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}"),D("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}"),D("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}"),D("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}"),D("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}"),D("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}"),D("\\nleqq","\\html@mathml{\\@nleqq}{≰}"),D("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}"),D("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}"),D("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}"),D("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}"),D("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}"),D("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}"),D("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}"),D("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}"),D("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}"),D("\\imath","\\html@mathml{\\@imath}{ı}"),D("\\jmath","\\html@mathml{\\@jmath}{ȷ}"),D("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}"),D("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}"),D("⟦","\\llbracket"),D("⟧","\\rrbracket"),D("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}"),D("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}"),D("⦃","\\lBrace"),D("⦄","\\rBrace"),D("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}"),D("⦵","\\minuso"),D("\\darr","\\downarrow"),D("\\dArr","\\Downarrow"),D("\\Darr","\\Downarrow"),D("\\lang","\\langle"),D("\\rang","\\rangle"),D("\\uarr","\\uparrow"),D("\\uArr","\\Uparrow"),D("\\Uarr","\\Uparrow"),D("\\N","\\mathbb{N}"),D("\\R","\\mathbb{R}"),D("\\Z","\\mathbb{Z}"),D("\\alef","\\aleph"),D("\\alefsym","\\aleph"),D("\\Alpha","\\mathrm{A}"),D("\\Beta","\\mathrm{B}"),D("\\bull","\\bullet"),D("\\Chi","\\mathrm{X}"),D("\\clubs","\\clubsuit"),D("\\cnums","\\mathbb{C}"),D("\\Complex","\\mathbb{C}"),D("\\Dagger","\\ddagger"),D("\\diamonds","\\diamondsuit"),D("\\empty","\\emptyset"),D("\\Epsilon","\\mathrm{E}"),D("\\Eta","\\mathrm{H}"),D("\\exist","\\exists"),D("\\harr","\\leftrightarrow"),D("\\hArr","\\Leftrightarrow"),D("\\Harr","\\Leftrightarrow"),D("\\hearts","\\heartsuit"),D("\\image","\\Im"),D("\\infin","\\infty"),D("\\Iota","\\mathrm{I}"),D("\\isin","\\in"),D("\\Kappa","\\mathrm{K}"),D("\\larr","\\leftarrow"),D("\\lArr","\\Leftarrow"),D("\\Larr","\\Leftarrow"),D("\\lrarr","\\leftrightarrow"),D("\\lrArr","\\Leftrightarrow"),D("\\Lrarr","\\Leftrightarrow"),D("\\Mu","\\mathrm{M}"),D("\\natnums","\\mathbb{N}"),D("\\Nu","\\mathrm{N}"),D("\\Omicron","\\mathrm{O}"),D("\\plusmn","\\pm"),D("\\rarr","\\rightarrow"),D("\\rArr","\\Rightarrow"),D("\\Rarr","\\Rightarrow"),D("\\real","\\Re"),D("\\reals","\\mathbb{R}"),D("\\Reals","\\mathbb{R}"),D("\\Rho","\\mathrm{P}"),D("\\sdot","\\cdot"),D("\\sect","\\S"),D("\\spades","\\spadesuit"),D("\\sub","\\subset"),D("\\sube","\\subseteq"),D("\\supe","\\supseteq"),D("\\Tau","\\mathrm{T}"),D("\\thetasym","\\vartheta"),D("\\weierp","\\wp"),D("\\Zeta","\\mathrm{Z}"),D("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),D("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),D("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),D("\\bra","\\mathinner{\\langle{#1}|}"),D("\\ket","\\mathinner{|{#1}\\rangle}"),D("\\braket","\\mathinner{\\langle{#1}\\rangle}"),D("\\Bra","\\left\\langle#1\\right|"),D("\\Ket","\\left|#1\\right\\rangle");var oa=function(r){return function(t){var n=t.consumeArg().tokens,u=t.consumeArg().tokens,s=t.consumeArg().tokens,m=t.consumeArg().tokens,b=t.macros.get("|"),C=t.macros.get("\\|");t.macros.beginGroup();var E=function(Y){return function(j){r&&(j.macros.set("|",b),s.length&&j.macros.set("\\|",C));var ie=Y;if(!Y&&s.length){var le=j.future();le.text==="|"&&(j.popToken(),ie=!0)}return{tokens:ie?s:u,numArgs:0}}};t.macros.set("|",E(!1)),s.length&&t.macros.set("\\|",E(!0));var F=t.consumeArg().tokens,U=t.expandTokens([].concat(m,F,n));return t.macros.endGroup(),{tokens:U.reverse(),numArgs:0}}};D("\\bra@ket",oa(!1)),D("\\bra@set",oa(!0)),D("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}"),D("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}"),D("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}"),D("\\angln","{\\angl n}"),D("\\blue","\\textcolor{##6495ed}{#1}"),D("\\orange","\\textcolor{##ffa500}{#1}"),D("\\pink","\\textcolor{##ff00af}{#1}"),D("\\red","\\textcolor{##df0030}{#1}"),D("\\green","\\textcolor{##28ae7b}{#1}"),D("\\gray","\\textcolor{gray}{#1}"),D("\\purple","\\textcolor{##9d38bd}{#1}"),D("\\blueA","\\textcolor{##ccfaff}{#1}"),D("\\blueB","\\textcolor{##80f6ff}{#1}"),D("\\blueC","\\textcolor{##63d9ea}{#1}"),D("\\blueD","\\textcolor{##11accd}{#1}"),D("\\blueE","\\textcolor{##0c7f99}{#1}"),D("\\tealA","\\textcolor{##94fff5}{#1}"),D("\\tealB","\\textcolor{##26edd5}{#1}"),D("\\tealC","\\textcolor{##01d1c1}{#1}"),D("\\tealD","\\textcolor{##01a995}{#1}"),D("\\tealE","\\textcolor{##208170}{#1}"),D("\\greenA","\\textcolor{##b6ffb0}{#1}"),D("\\greenB","\\textcolor{##8af281}{#1}"),D("\\greenC","\\textcolor{##74cf70}{#1}"),D("\\greenD","\\textcolor{##1fab54}{#1}"),D("\\greenE","\\textcolor{##0d923f}{#1}"),D("\\goldA","\\textcolor{##ffd0a9}{#1}"),D("\\goldB","\\textcolor{##ffbb71}{#1}"),D("\\goldC","\\textcolor{##ff9c39}{#1}"),D("\\goldD","\\textcolor{##e07d10}{#1}"),D("\\goldE","\\textcolor{##a75a05}{#1}"),D("\\redA","\\textcolor{##fca9a9}{#1}"),D("\\redB","\\textcolor{##ff8482}{#1}"),D("\\redC","\\textcolor{##f9685d}{#1}"),D("\\redD","\\textcolor{##e84d39}{#1}"),D("\\redE","\\textcolor{##bc2612}{#1}"),D("\\maroonA","\\textcolor{##ffbde0}{#1}"),D("\\maroonB","\\textcolor{##ff92c6}{#1}"),D("\\maroonC","\\textcolor{##ed5fa6}{#1}"),D("\\maroonD","\\textcolor{##ca337c}{#1}"),D("\\maroonE","\\textcolor{##9e034e}{#1}"),D("\\purpleA","\\textcolor{##ddd7ff}{#1}"),D("\\purpleB","\\textcolor{##c6b9fc}{#1}"),D("\\purpleC","\\textcolor{##aa87ff}{#1}"),D("\\purpleD","\\textcolor{##7854ab}{#1}"),D("\\purpleE","\\textcolor{##543b78}{#1}"),D("\\mintA","\\textcolor{##f5f9e8}{#1}"),D("\\mintB","\\textcolor{##edf2df}{#1}"),D("\\mintC","\\textcolor{##e0e5cc}{#1}"),D("\\grayA","\\textcolor{##f6f7f7}{#1}"),D("\\grayB","\\textcolor{##f0f1f2}{#1}"),D("\\grayC","\\textcolor{##e3e5e6}{#1}"),D("\\grayD","\\textcolor{##d6d8da}{#1}"),D("\\grayE","\\textcolor{##babec2}{#1}"),D("\\grayF","\\textcolor{##888d93}{#1}"),D("\\grayG","\\textcolor{##626569}{#1}"),D("\\grayH","\\textcolor{##3b3e40}{#1}"),D("\\grayI","\\textcolor{##21242c}{#1}"),D("\\kaBlue","\\textcolor{##314453}{#1}"),D("\\kaGreen","\\textcolor{##71B307}{#1}");var sa={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},Iu=function(){function d(t,n,u){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=n,this.expansionCount=0,this.feed(t),this.macros=new qu(aa,n.macros),this.mode=u,this.stack=[]}var r=d.prototype;return r.feed=function(n){this.lexer=new na(n,this.settings)},r.switchMode=function(n){this.mode=n},r.beginGroup=function(){this.macros.beginGroup()},r.endGroup=function(){this.macros.endGroup()},r.endGroups=function(){this.macros.endGroups()},r.future=function(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]},r.popToken=function(){return this.future(),this.stack.pop()},r.pushToken=function(n){this.stack.push(n)},r.pushTokens=function(n){var u;(u=this.stack).push.apply(u,n)},r.scanArgument=function(n){var u,s,m;if(n){if(this.consumeSpaces(),this.future().text!=="[")return null;u=this.popToken();var b=this.consumeArg(["]"]);m=b.tokens,s=b.end}else{var C=this.consumeArg();m=C.tokens,u=C.start,s=C.end}return this.pushToken(new u0("EOF",s.loc)),this.pushTokens(m),u.range(s,"")},r.consumeSpaces=function(){for(;;){var n=this.future();if(n.text===" ")this.stack.pop();else break}},r.consumeArg=function(n){var u=[],s=n&&n.length>0;s||this.consumeSpaces();var m=this.future(),b,C=0,E=0;do{if(b=this.popToken(),u.push(b),b.text==="{")++C;else if(b.text==="}"){if(--C,C===-1)throw new k("Extra }",b)}else if(b.text==="EOF")throw new k("Unexpected end of input in a macro argument, expected '"+(n&&s?n[E]:"}")+"'",b);if(n&&s)if((C===0||C===1&&n[E]==="{")&&b.text===n[E]){if(++E,E===n.length){u.splice(-E,E);break}}else E=0}while(C!==0||s);return m.text==="{"&&u[u.length-1].text==="}"&&(u.pop(),u.shift()),u.reverse(),{tokens:u,start:m,end:b}},r.consumeArgs=function(n,u){if(u){if(u.length!==n+1)throw new k("The length of delimiters doesn't match the number of args!");for(var s=u[0],m=0;m<s.length;m++){var b=this.popToken();if(s[m]!==b.text)throw new k("Use of the macro doesn't match its definition",b)}}for(var C=[],E=0;E<n;E++)C.push(this.consumeArg(u&&u[E+1]).tokens);return C},r.expandOnce=function(n){var u=this.popToken(),s=u.text,m=u.noexpand?null:this._getExpansion(s);if(m==null||n&&m.unexpandable){if(n&&m==null&&s[0]==="\\"&&!this.isDefined(s))throw new k("Undefined control sequence: "+s);return this.pushToken(u),!1}if(this.expansionCount++,this.expansionCount>this.settings.maxExpand)throw new k("Too many expansions: infinite loop or need to increase maxExpand setting");var b=m.tokens,C=this.consumeArgs(m.numArgs,m.delimiters);if(m.numArgs){b=b.slice();for(var E=b.length-1;E>=0;--E){var F=b[E];if(F.text==="#"){if(E===0)throw new k("Incomplete placeholder at end of macro body",F);if(F=b[--E],F.text==="#")b.splice(E+1,1);else if(/^[1-9]$/.test(F.text)){var U;(U=b).splice.apply(U,[E,2].concat(C[+F.text-1]))}else throw new k("Not a valid argument number",F)}}}return this.pushTokens(b),b.length},r.expandAfterFuture=function(){return this.expandOnce(),this.future()},r.expandNextToken=function(){for(;;)if(this.expandOnce()===!1){var n=this.stack.pop();return n.treatAsRelax&&(n.text="\\relax"),n}throw new Error},r.expandMacro=function(n){return this.macros.has(n)?this.expandTokens([new u0(n)]):void 0},r.expandTokens=function(n){var u=[],s=this.stack.length;for(this.pushTokens(n);this.stack.length>s;)if(this.expandOnce(!0)===!1){var m=this.stack.pop();m.treatAsRelax&&(m.noexpand=!1,m.treatAsRelax=!1),u.push(m)}return u},r.expandMacroAsText=function(n){var u=this.expandMacro(n);return u&&u.map(function(s){return s.text}).join("")},r._getExpansion=function(n){var u=this.macros.get(n);if(u==null)return u;if(n.length===1){var s=this.lexer.catcodes[n];if(s!=null&&s!==13)return}var m=typeof u=="function"?u(this):u;if(typeof m=="string"){var b=0;if(m.indexOf("#")!==-1)for(var C=m.replace(/##/g,"");C.indexOf("#"+(b+1))!==-1;)++b;for(var E=new na(m,this.settings),F=[],U=E.lex();U.text!=="EOF";)F.push(U),U=E.lex();F.reverse();var $={tokens:F,numArgs:b};return $}return m},r.isDefined=function(n){return this.macros.has(n)||s0.hasOwnProperty(n)||Ve.math.hasOwnProperty(n)||Ve.text.hasOwnProperty(n)||sa.hasOwnProperty(n)},r.isExpandable=function(n){var u=this.macros.get(n);return u!=null?typeof u=="string"||typeof u=="function"||!u.unexpandable:s0.hasOwnProperty(n)&&!s0[n].primitive},d}(),Xt=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,jt=Object.freeze({"₊":"+","₋":"-","₌":"=","₍":"(","₎":")","₀":"0","₁":"1","₂":"2","₃":"3","₄":"4","₅":"5","₆":"6","₇":"7","₈":"8","₉":"9","ₐ":"a","ₑ":"e","ₕ":"h","ᵢ":"i","ⱼ":"j","ₖ":"k","ₗ":"l","ₘ":"m","ₙ":"n","ₒ":"o","ₚ":"p","ᵣ":"r","ₛ":"s","ₜ":"t","ᵤ":"u","ᵥ":"v","ₓ":"x","ᵦ":"β","ᵧ":"γ","ᵨ":"ρ","ᵩ":"ϕ","ᵪ":"χ","⁺":"+","⁻":"-","⁼":"=","⁽":"(","⁾":")","⁰":"0","¹":"1","²":"2","³":"3","⁴":"4","⁵":"5","⁶":"6","⁷":"7","⁸":"8","⁹":"9","ᴬ":"A","ᴮ":"B","ᴰ":"D","ᴱ":"E","ᴳ":"G","ᴴ":"H","ᴵ":"I","ᴶ":"J","ᴷ":"K","ᴸ":"L","ᴹ":"M","ᴺ":"N","ᴼ":"O","ᴾ":"P","ᴿ":"R","ᵀ":"T","ᵁ":"U","ⱽ":"V","ᵂ":"W","ᵃ":"a","ᵇ":"b","ᶜ":"c","ᵈ":"d","ᵉ":"e","ᶠ":"f","ᵍ":"g",ʰ:"h","ⁱ":"i",ʲ:"j","ᵏ":"k",ˡ:"l","ᵐ":"m",:"n","ᵒ":"o","ᵖ":"p",ʳ:"r",ˢ:"s","ᵗ":"t","ᵘ":"u","ᵛ":"v",ʷ:"w",ˣ:"x",ʸ:"y","ᶻ":"z","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),qn={"́":{text:"\\'",math:"\\acute"},"̀":{text:"\\`",math:"\\grave"},"̈":{text:'\\"',math:"\\ddot"},"̃":{text:"\\~",math:"\\tilde"},"̄":{text:"\\=",math:"\\bar"},"̆":{text:"\\u",math:"\\breve"},"̌":{text:"\\v",math:"\\check"},"̂":{text:"\\^",math:"\\hat"},"̇":{text:"\\.",math:"\\dot"},"̊":{text:"\\r",math:"\\mathring"},"̋":{text:"\\H"},"̧":{text:"\\c"}},ca={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",:"ắ",:"ằ",:"ẵ",ǎ:"ǎ",â:"â",:"ấ",:"ầ",:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",:"ḃ",ć:"ć",:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",:"ḋ",:"ḑ",é:"é",è:"è",ë:"ë",:"ẽ",ē:"ē",:"ḗ",:"ḕ",ĕ:"ĕ",:"ḝ",ě:"ě",ê:"ê",ế:"ế",:"ề",:"ễ",ė:"ė",ȩ:"ȩ",:"ḟ",ǵ:"ǵ",:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",:"ḧ",ȟ:"ȟ",ĥ:"ĥ",:"ḣ",:"ḩ",í:"í",ì:"ì",ï:"ï",:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",:"ṍ",:"ṏ",ȭ:"ȭ",ō:"ō",:"ṓ",:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",:"ố",:"ồ",:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",:"ṕ",:"ṗ",ŕ:"ŕ",ř:"ř",:"ṙ",ŗ:"ŗ",ś:"ś",:"ṥ",š:"š",:"ṧ",ŝ:"ŝ",:"ṡ",ş:"ş",:"ẗ",ť:"ť",:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",:"ṹ",ū:"ū",:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",:"ṽ",:"ẃ",:"ẁ",:"ẅ",ŵ:"ŵ",:"ẇ",:"ẘ",:"ẍ",:"ẋ",ý:"ý",:"ỳ",ÿ:"ÿ",:"ỹ",ȳ:"ȳ",ŷ:"ŷ",:"ẏ",:"ẙ",ź:"ź",ž:"ž",:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",:"Ắ",:"Ằ",:"Ẵ",Ǎ:"Ǎ",Â:"Â",:"Ấ",:"Ầ",:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",:"Ḃ",Ć:"Ć",:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",:"Ḋ",:"Ḑ",É:"É",È:"È",Ë:"Ë",:"Ẽ",Ē:"Ē",:"Ḗ",:"Ḕ",Ĕ:"Ĕ",:"Ḝ",Ě:"Ě",Ê:"Ê",:"Ế",:"Ề",:"Ễ",Ė:"Ė",Ȩ:"Ȩ",:"Ḟ",Ǵ:"Ǵ",:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",:"Ḣ",:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",:"Ḿ",:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",:"Ṍ",:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",:"Ṓ",:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",:"Ố",:"Ồ",:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",:"Ṕ",:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",:"Ṥ",Š:"Š",:"Ṧ",Ŝ:"Ŝ",:"Ṡ",Ş:"Ş",Ť:"Ť",:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",:"Ṹ",Ū:"Ū",:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",:"Ṽ",:"Ẃ",:"Ẁ",:"Ẅ",Ŵ:"Ŵ",:"Ẇ",:"Ẍ",:"Ẋ",Ý:"Ý",:"Ỳ",Ÿ:"Ÿ",:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",:"Ẏ",Ź:"Ź",Ž:"Ž",:"Ẑ",Ż:"Ż",ά:"ά",:"ὰ",:"ᾱ",:"ᾰ",έ:"έ",:"ὲ",ή:"ή",:"ὴ",ί:"ί",:"ὶ",ϊ:"ϊ",ΐ:"ΐ",:"ῒ",:"ῑ",:"ῐ",ό:"ό",:"ὸ",ύ:"ύ",:"ὺ",ϋ:"ϋ",ΰ:"ΰ",:"ῢ",:"ῡ",:"ῠ",ώ:"ώ",:"ὼ",Ύ:"Ύ",:"Ὺ",Ϋ:"Ϋ",:"Ῡ",:"Ῠ",Ώ:"Ώ",:"Ὼ"},ha=function(){function d(t,n){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 Iu(t,n,this.mode),this.settings=n,this.leftrightDepth=0}var r=d.prototype;return r.expect=function(n,u){if(u===void 0&&(u=!0),this.fetch().text!==n)throw new k("Expected '"+n+"', got '"+this.fetch().text+"'",this.fetch());u&&this.consume()},r.consume=function(){this.nextToken=null},r.fetch=function(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken},r.switchMode=function(n){this.mode=n,this.gullet.switchMode(n)},r.parse=function(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var n=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),n}finally{this.gullet.endGroups()}},r.subparse=function(n){var u=this.nextToken;this.consume(),this.gullet.pushToken(new u0("}")),this.gullet.pushTokens(n);var s=this.parseExpression(!1);return this.expect("}"),this.nextToken=u,s},r.parseExpression=function(n,u){for(var s=[];;){this.mode==="math"&&this.consumeSpaces();var m=this.fetch();if(d.endOfExpression.indexOf(m.text)!==-1||u&&m.text===u||n&&s0[m.text]&&s0[m.text].infix)break;var b=this.parseAtom(u);if(b){if(b.type==="internal")continue}else break;s.push(b)}return this.mode==="text"&&this.formLigatures(s),this.handleInfixNodes(s)},r.handleInfixNodes=function(n){for(var u=-1,s,m=0;m<n.length;m++)if(n[m].type==="infix"){if(u!==-1)throw new k("only one infix operator per group",n[m].token);u=m,s=n[m].replaceWith}if(u!==-1&&s){var b,C,E=n.slice(0,u),F=n.slice(u+1);E.length===1&&E[0].type==="ordgroup"?b=E[0]:b={type:"ordgroup",mode:this.mode,body:E},F.length===1&&F[0].type==="ordgroup"?C=F[0]:C={type:"ordgroup",mode:this.mode,body:F};var U;return s==="\\\\abovefrac"?U=this.callFunction(s,[b,n[u],C],[]):U=this.callFunction(s,[b,C],[]),[U]}else return n},r.handleSupSubscript=function(n){var u=this.fetch(),s=u.text;this.consume(),this.consumeSpaces();var m=this.parseGroup(n);if(!m)throw new k("Expected group after '"+s+"'",u);return m},r.formatUnsupportedCmd=function(n){for(var u=[],s=0;s<n.length;s++)u.push({type:"textord",mode:"text",text:n[s]});var m={type:"text",mode:this.mode,body:u},b={type:"color",mode:this.mode,color:this.settings.errorColor,body:[m]};return b},r.parseAtom=function(n){var u=this.parseGroup("atom",n);if(this.mode==="text")return u;for(var s,m;;){this.consumeSpaces();var b=this.fetch();if(b.text==="\\limits"||b.text==="\\nolimits"){if(u&&u.type==="op"){var C=b.text==="\\limits";u.limits=C,u.alwaysHandleSupSub=!0}else if(u&&u.type==="operatorname")u.alwaysHandleSupSub&&(u.limits=b.text==="\\limits");else throw new k("Limit controls must follow a math operator",b);this.consume()}else if(b.text==="^"){if(s)throw new k("Double superscript",b);s=this.handleSupSubscript("superscript")}else if(b.text==="_"){if(m)throw new k("Double subscript",b);m=this.handleSupSubscript("subscript")}else if(b.text==="'"){if(s)throw new k("Double superscript",b);var E={type:"textord",mode:this.mode,text:"\\prime"},F=[E];for(this.consume();this.fetch().text==="'";)F.push(E),this.consume();this.fetch().text==="^"&&F.push(this.handleSupSubscript("superscript")),s={type:"ordgroup",mode:this.mode,body:F}}else if(jt[b.text]){var U=jt[b.text],$=Xt.test(b.text);for(this.consume();;){var Y=this.fetch().text;if(!jt[Y]||Xt.test(Y)!==$)break;this.consume(),U+=jt[Y]}var j=new d(U,this.settings).parse();$?m={type:"ordgroup",mode:"math",body:j}:s={type:"ordgroup",mode:"math",body:j}}else break}return s||m?{type:"supsub",mode:this.mode,base:u,sup:s,sub:m}:u},r.parseFunction=function(n,u){var s=this.fetch(),m=s.text,b=s0[m];if(!b)return null;if(this.consume(),u&&u!=="atom"&&!b.allowedInArgument)throw new k("Got function '"+m+"' with no arguments"+(u?" as "+u:""),s);if(this.mode==="text"&&!b.allowedInText)throw new k("Can't use function '"+m+"' in text mode",s);if(this.mode==="math"&&b.allowedInMath===!1)throw new k("Can't use function '"+m+"' in math mode",s);var C=this.parseArguments(m,b),E=C.args,F=C.optArgs;return this.callFunction(m,E,F,s,n)},r.callFunction=function(n,u,s,m,b){var C={funcName:n,parser:this,token:m,breakOnTokenText:b},E=s0[n];if(E&&E.handler)return E.handler(C,u,s);throw new k("No function handler for "+n)},r.parseArguments=function(n,u){var s=u.numArgs+u.numOptionalArgs;if(s===0)return{args:[],optArgs:[]};for(var m=[],b=[],C=0;C<s;C++){var E=u.argTypes&&u.argTypes[C],F=C<u.numOptionalArgs;(u.primitive&&E==null||u.type==="sqrt"&&C===1&&b[0]==null)&&(E="primitive");var U=this.parseGroupOfType("argument to '"+n+"'",E,F);if(F)b.push(U);else if(U!=null)m.push(U);else throw new k("Null argument, please report this as a bug")}return{args:m,optArgs:b}},r.parseGroupOfType=function(n,u,s){switch(u){case"color":return this.parseColorGroup(s);case"size":return this.parseSizeGroup(s);case"url":return this.parseUrlGroup(s);case"math":case"text":return this.parseArgumentGroup(s,u);case"hbox":{var m=this.parseArgumentGroup(s,"text");return m!=null?{type:"styling",mode:m.mode,body:[m],style:"text"}:null}case"raw":{var b=this.parseStringGroup("raw",s);return b!=null?{type:"raw",mode:"text",string:b.text}:null}case"primitive":{if(s)throw new k("A primitive argument cannot be optional");var C=this.parseGroup(n);if(C==null)throw new k("Expected group as "+n,this.fetch());return C}case"original":case null:case void 0:return this.parseArgumentGroup(s);default:throw new k("Unknown group type as "+n,this.fetch())}},r.consumeSpaces=function(){for(;this.fetch().text===" ";)this.consume()},r.parseStringGroup=function(n,u){var s=this.gullet.scanArgument(u);if(s==null)return null;for(var m="",b;(b=this.fetch()).text!=="EOF";)m+=b.text,this.consume();return this.consume(),s.text=m,s},r.parseRegexGroup=function(n,u){for(var s=this.fetch(),m=s,b="",C;(C=this.fetch()).text!=="EOF"&&n.test(b+C.text);)m=C,b+=m.text,this.consume();if(b==="")throw new k("Invalid "+u+": '"+s.text+"'",s);return s.range(m,b)},r.parseColorGroup=function(n){var u=this.parseStringGroup("color",n);if(u==null)return null;var s=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(u.text);if(!s)throw new k("Invalid color: '"+u.text+"'",u);var m=s[0];return/^[0-9a-f]{6}$/i.test(m)&&(m="#"+m),{type:"color-token",mode:this.mode,color:m}},r.parseSizeGroup=function(n){var u,s=!1;if(this.gullet.consumeSpaces(),!n&&this.gullet.future().text!=="{"?u=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):u=this.parseStringGroup("size",n),!u)return null;!n&&u.text.length===0&&(u.text="0pt",s=!0);var m=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(u.text);if(!m)throw new k("Invalid size: '"+u.text+"'",u);var b={number:+(m[1]+m[2]),unit:m[3]};if(!ai(b))throw new k("Invalid unit: '"+b.unit+"'",u);return{type:"size",mode:this.mode,value:b,isBlank:s}},r.parseUrlGroup=function(n){this.gullet.lexer.setCatcode("%",13),this.gullet.lexer.setCatcode("~",12);var u=this.parseStringGroup("url",n);if(this.gullet.lexer.setCatcode("%",14),this.gullet.lexer.setCatcode("~",13),u==null)return null;var s=u.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:s}},r.parseArgumentGroup=function(n,u){var s=this.gullet.scanArgument(n);if(s==null)return null;var m=this.mode;u&&this.switchMode(u),this.gullet.beginGroup();var b=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();var C={type:"ordgroup",mode:this.mode,loc:s.loc,body:b};return u&&this.switchMode(m),C},r.parseGroup=function(n,u){var s=this.fetch(),m=s.text,b;if(m==="{"||m==="\\begingroup"){this.consume();var C=m==="{"?"}":"\\endgroup";this.gullet.beginGroup();var E=this.parseExpression(!1,C),F=this.fetch();this.expect(C),this.gullet.endGroup(),b={type:"ordgroup",mode:this.mode,loc:Hr.range(s,F),body:E,semisimple:m==="\\begingroup"||void 0}}else if(b=this.parseFunction(u,n)||this.parseSymbol(),b==null&&m[0]==="\\"&&!sa.hasOwnProperty(m)){if(this.settings.throwOnError)throw new k("Undefined control sequence: "+m,s);b=this.formatUnsupportedCmd(m),this.consume()}return b},r.formLigatures=function(n){for(var u=n.length-1,s=0;s<u;++s){var m=n[s],b=m.text;b==="-"&&n[s+1].text==="-"&&(s+1<u&&n[s+2].text==="-"?(n.splice(s,3,{type:"textord",mode:"text",loc:Hr.range(m,n[s+2]),text:"---"}),u-=2):(n.splice(s,2,{type:"textord",mode:"text",loc:Hr.range(m,n[s+1]),text:"--"}),u-=1)),(b==="'"||b==="`")&&n[s+1].text===b&&(n.splice(s,2,{type:"textord",mode:"text",loc:Hr.range(m,n[s+1]),text:b+b}),u-=1)}},r.parseSymbol=function(){var n=this.fetch(),u=n.text;if(/^\\verb[^a-zA-Z]/.test(u)){this.consume();var s=u.slice(5),m=s.charAt(0)==="*";if(m&&(s=s.slice(1)),s.length<2||s.charAt(0)!==s.slice(-1))throw new k(`\\verb assertion failed --
please report what input caused this bug`);return s=s.slice(1,-1),{type:"verb",mode:"text",body:s,star:m}}ca.hasOwnProperty(u[0])&&!Ve[this.mode][u[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+u[0]+'" used in math mode',n),u=ca[u[0]]+u.slice(1));var b=Fu.exec(u);b&&(u=u.substring(0,b.index),u==="i"?u="ı":u==="j"&&(u="ȷ"));var C;if(Ve[this.mode][u]){this.settings.strict&&this.mode==="math"&&bt.indexOf(u)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+u[0]+'" used in math mode',n);var E=Ve[this.mode][u].group,F=Hr.range(n),U;if(Xa.hasOwnProperty(E)){var $=E;U={type:"atom",mode:this.mode,family:$,loc:F,text:u}}else U={type:E,mode:this.mode,loc:F,text:u};C=U}else if(u.charCodeAt(0)>=128)this.settings.strict&&(mr(u.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+u[0]+'" used in math mode',n):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+u[0]+'"'+(" ("+u.charCodeAt(0)+")"),n)),C={type:"textord",mode:"text",loc:Hr.range(n),text:u};else return null;if(this.consume(),b)for(var Y=0;Y<b[0].length;Y++){var j=b[0][Y];if(!qn[j])throw new k("Unknown accent ' "+j+"'",n);var ie=qn[j][this.mode]||qn[j].text;if(!ie)throw new k("Accent "+j+" unsupported in "+this.mode+" mode",n);C={type:"accent",mode:this.mode,loc:Hr.range(n),label:ie,isStretchy:!1,isShifty:!0,base:C}}return C},d}();ha.endOfExpression=["}","\\endgroup","\\end","\\right","&"];var fa=function(r,t){if(!(typeof r=="string"||r instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var n=new ha(r,t);delete n.gullet.macros.current["\\df@tag"];var u=n.parse();if(delete n.gullet.macros.current["\\current@color"],delete n.gullet.macros.current["\\color"],n.gullet.macros.get("\\df@tag")){if(!t.displayMode)throw new k("\\tag works only in display equations");u=[{type:"tag",mode:"text",body:u,tag:n.subparse([new u0("\\df@tag")])}]}return u},In=fa,ot=function(r,t,n){t.textContent="";var u=Rn(r,n).toNode();t.appendChild(u)};typeof document<"u"&&document.compatMode!=="CSS1Compat"&&(typeof console<"u"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),ot=function(){throw new k("KaTeX doesn't work in quirks mode.")});var Ru=function(r,t){var n=Rn(r,t).toMarkup();return n},Ou=function(r,t){var n=new Ge(t);return In(r,n)},pa=function(r,t,n){if(n.throwOnError||!(r instanceof k))throw r;var u=V.makeSpan(["katex-error"],[new Tr(t)]);return u.setAttribute("title",r.toString()),u.setAttribute("style","color:"+n.errorColor),u},Rn=function(r,t){var n=new Ge(t);try{var u=In(r,n);return hu(u,r,n)}catch(s){return pa(s,r,n)}},da=function(r,t){var n=new Ge(t);try{var u=In(r,n);return fu(u,r,n)}catch(s){return pa(s,r,n)}},ma={version:"0.16.9",render:ot,renderToString:Ru,ParseError:k,SETTINGS_SCHEMA:Ae,__parse:Ou,__renderToDomTree:Rn,__renderToHTMLTree:da,__setFontMetrics:an,__defineSymbol:p,__defineFunction:oe,__defineMacro:D,__domTree:{Span:Y0,Anchor:gt,SymbolNode:Tr,SvgNode:Or,PathNode:Wr,LineNode:Kr}},Lu=ma;return x=x.default,x}()})}($u)),$u.exports}var Ju={exports:{}};/*! markmap-lib v0.14.4 | MIT License */(function(i,l){(function(h,x){x(l,Zo())})(Ql,function(h,x){function w(e){return e&&typeof e=="object"&&"default"in e?e.default:e}var k=w(x);function M(){return M=Object.assign?Object.assign.bind():function(e){for(var a=1;a<arguments.length;a++){var o=arguments[a];for(var f in o)Object.prototype.hasOwnProperty.call(o,f)&&(e[f]=o[f])}return e},M.apply(this,arguments)}/*! markmap-common v0.14.2 | MIT License */class T{constructor(){this.listeners=[]}tap(a){return this.listeners.push(a),()=>this.revoke(a)}revoke(a){const o=this.listeners.indexOf(a);o>=0&&this.listeners.splice(o,1)}revokeAll(){this.listeners.splice(0)}call(...a){for(const o of this.listeners)o(...a)}}function q(){return q=Object.assign||function(e){for(var a=1;a<arguments.length;a++){var o=arguments[a];for(var f in o)Object.prototype.hasOwnProperty.call(o,f)&&(e[f]=o[f])}return e},q.apply(this,arguments)}function L(e,a){if(e==null)return{};var o={},f=Object.keys(e),c,g;for(g=0;g<f.length;g++)c=f[g],!(a.indexOf(c)>=0)&&(o[c]=e[c]);return o}const O=["textContent"];function X(e){return e.replace(/[&<"]/g,a=>({"&":"&amp;","<":"&lt;",'"':"&quot;"})[a])}function re(e){return e.replace(/<(\/script>)/g,"\\x3c$2")}function W(e,a){const o=a?Object.entries(a).map(([f,c])=>{if(!(c==null||c===!1))return f=` ${X(f)}`,c===!0?f:`${f}="${X(c)}"`}).filter(Boolean).join(""):"";return`<${e}${o}>`}function Se(e){return`</${e}>`}function ye(e,a,o){return a==null?W(e,o):W(e,o)+(a||"")+Se(e)}function _e(e,a){const o=a.map(f=>typeof f=="function"?f.toString():JSON.stringify(f??null)).join(",");return`(${e.toString()})(${o})`}function K(e,a){return e.map(o=>{if(o.type==="script"){const f=o.data,{textContent:c}=f,g=L(f,O);return ye("script",c||"",g)}if(o.type==="iife"){const{fn:f,getParams:c}=o.data;return ye("script",re(_e(f,(c==null?void 0:c(a))||[])))}return""})}function Ae(e){return e.map(a=>a.type==="stylesheet"?ye("link",null,q({rel:"stylesheet"},a.data)):ye("style",a.data))}Math.random().toString(36).slice(2,8);function Re(e,{before:a,after:o}){return function(...c){const g={args:c,thisObj:this};try{a&&a(g)}catch{}g.result=e.apply(g.thisObj,g.args);try{o&&o(g)}catch{}return g.result}}function Ge(e){const a={};return function(...f){const c=`${f[0]}`;let g=a[c];return g||(g={value:e(...f)},a[c]=g),g.value}}function Oe(e,a,o){const f=document.createElement(e);return a&&Object.entries(a).forEach(([c,g])=>{f[c]=g}),o&&Object.entries(o).forEach(([c,g])=>{f.setAttribute(c,g)}),f}const ir=Ge(e=>{document.head.append(Oe("link",{rel:"preload",as:"script",href:e}))});async function ar(e,a){if(!e.loaded&&(e.type==="script"&&(e.loaded=new Promise((o,f)=>{var c;document.head.append(Oe("script",q({},e.data,{onload:o,onerror:f}))),(c=e.data)!=null&&c.src||o(void 0)}).then(()=>{e.loaded=!0})),e.type==="iife")){const{fn:o,getParams:f}=e.data;o(...(f==null?void 0:f(a))||[]),e.loaded=!0}await e.loaded}async function ur(e,a){const o=e.filter(f=>{var c;return f.type==="script"&&((c=f.data)==null?void 0:c.src)});o.length>1&&o.forEach(f=>ir(f.data.src)),a=q({getMarkmap:()=>window.markmap},a);for(const f of e)await ar(f,a)}const or=`<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Markmap</title>
<style>
* {
margin: 0;
padding: 0;
}
#mindmap {
display: block;
width: 100vw;
height: 100vh;
}
</style>
<!--CSS-->
</head>
<body>
<svg id="mindmap"></svg>
<!--JS-->
</body>
</html>
`,Br=["https://cdn.jsdelivr.net/npm/d3@6.7.0","https://cdn.jsdelivr.net/npm/markmap-view@0.14.4"].map(e=>({type:"script",data:{src:e}}));function sr(e,a,o){o=M({baseJs:Br},o);const{scripts:f,styles:c}=a,g=[...c?Ae(c):[]],y={getMarkmap:()=>window.markmap,getOptions:o.getOptions,jsonOptions:o.jsonOptions,root:e},A=[...K([...o.baseJs,...f||[],{type:"iife",data:{fn:(I,N,H,Z)=>{const J=I();window.mm=J.Markmap.create("svg#mindmap",(N||J.deriveOptions)(Z),H)},getParams:({getMarkmap:I,getOptions:N,root:H,jsonOptions:Z})=>[I,N,H,Z]}}],y)];return or.replace("<!--CSS-->",()=>g.join("")).replace("<!--JS-->",()=>A.join(""))}var qr={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",AMP:"&",amp:"&",And:"⩓",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",ap:"≈",apacir:"⩯",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"",backsim:"∽",backsimeq:"⋍",Backslash:"",Barv:"⫧",barvee:"⊽",Barwed:"⌆",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",Because:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"",Bernoullis:"",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxDL:"╗",boxDl:"╖",boxdL:"╕",boxdl:"┐",boxDR:"╔",boxDr:"╓",boxdR:"╒",boxdr:"┌",boxH:"═",boxh:"─",boxHD:"╦",boxHd:"╤",boxhD:"╥",boxhd:"┬",boxHU:"╩",boxHu:"╧",boxhU:"╨",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxUL:"╝",boxUl:"╜",boxuL:"╛",boxul:"┘",boxUR:"╚",boxUr:"╙",boxuR:"╘",boxur:"└",boxV:"║",boxv:"│",boxVH:"╬",boxVh:"╫",boxvH:"╪",boxvh:"┼",boxVL:"╣",boxVl:"╢",boxvL:"╡",boxvl:"┤",boxVR:"╠",boxVr:"╟",boxvR:"╞",boxvr:"├",bprime:"",Breve:"˘",breve:"˘",brvbar:"¦",Bscr:"",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",Cap:"⋒",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"",caps:"∩︀",caret:"",caron:"ˇ",Cayleys:"",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",CenterDot:"·",centerdot:"·",Cfr:"",cfr:"𝔠",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"",clubs:"♣",clubsuit:"♣",Colon:"∷",colon:":",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"",cong:"≅",congdot:"⩭",Congruent:"≡",Conint:"∯",conint:"∮",ContourIntegral:"∮",Copf:"",copf:"𝕔",coprod:"∐",Coproduct:"∐",COPY:"©",copy:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",Cross:"",cross:"✗",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",Cup:"⋓",cup:"",cupbrcap:"⩈",CupCap:"≍",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",Dagger:"‡",dagger:"†",daleth:"ℸ",Darr:"↡",dArr:"⇓",darr:"↓",dash:"",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",DD:"",dd:"",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",Diamond:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",Downarrow:"⇓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",ecir:"≖",Ecirc:"Ê",ecirc:"ê",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",eDot:"≑",edot:"ė",ee:"",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:"",emsp13:"",emsp14:"",ENG:"Ŋ",eng:"ŋ",ensp:"",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",Escr:"",escr:"",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"",ExponentialE:"",exponentiale:"",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",ForAll:"∀",forall:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"",frown:"⌢",Fscr:"",fscr:"𝒻",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",gE:"≧",ge:"≥",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",Gg:"⋙",gg:"≫",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gnE:"≩",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"",gsim:"≳",gsime:"⪎",gsiml:"⪐",GT:">",Gt:"≫",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:"",half:"½",hamilt:"",HARDcy:"Ъ",hardcy:"ъ",hArr:"⇔",harr:"↔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",Hfr:"",hfr:"𝔥",HilbertSpace:"",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",Hopf:"",hopf:"𝕙",horbar:"―",HorizontalLine:"─",Hscr:"",hscr:"𝒽",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"",hyphen:"",Iacute:"Í",iacute:"í",ic:"",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",Ifr:"",ifr:"𝔦",Igrave:"Ì",igrave:"ì",ii:"",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Im:"",Imacr:"Ī",imacr:"ī",image:"",ImaginaryI:"",imagline:"",imagpart:"",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",Int:"∬",int:"∫",intcal:"⊺",integers:"",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"",InvisibleTimes:"",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",Iscr:"",iscr:"𝒾",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"",Lambda:"Λ",lambda:"λ",Lang:"⟪",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"",laquo:"«",Larr:"↞",lArr:"⇐",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",lAtail:"⤛",latail:"⤙",late:"⪭",lates:"⪭︀",lBarr:"⤎",lbarr:"⤌",lbbrk:"",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",lE:"≦",le:"≤",LeftAngleBracket:"⟨",LeftArrow:"←",Leftarrow:"⇐",leftarrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",Ll:"⋘",ll:"≪",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lnE:"≨",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftarrow:"⟵",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longleftrightarrow:"⟷",longmapsto:"⟼",LongRightArrow:"⟶",Longrightarrow:"⟹",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"",Lscr:"",lscr:"𝓁",Lsh:"↰",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"",lsquor:"",Lstrok:"Ł",lstrok:"ł",LT:"<",Lt:"≪",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:"",Mellintrf:"",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",mid:"",midast:"*",midcir:"⫰",middot:"·",minus:"",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",Mscr:"",mscr:"𝓂",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"",ne:"≠",nearhk:"⤤",neArr:"⇗",nearr:"↗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:`
`,nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlArr:"⇍",nlarr:"↚",nldr:"‥",nlE:"≦̸",nle:"≰",nLeftarrow:"⇍",nleftarrow:"↚",nLeftrightarrow:"⇎",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"",NonBreakingSpace:" ",Nopf:"",nopf:"𝕟",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nRightarrow:"⇏",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:"",nvap:"≍⃒",nVDash:"⊯",nVdash:"⊮",nvDash:"⊭",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwArr:"⇖",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",ocir:"⊚",Ocirc:"Ô",ocirc:"ô",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"",operp:"⦹",oplus:"⊕",Or:"⩔",or:"",orarr:"↻",ord:"⩝",order:"",orderof:"",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",Otimes:"⨷",otimes:"⊗",otimesas:"⨶",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"",pointint:"⨕",Popf:"",popf:"𝕡",pound:"£",Pr:"⪻",pr:"≺",prap:"⪷",prcue:"≼",prE:"⪳",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",Prime:"″",prime:"",primes:"",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:"",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",Qopf:"",qopf:"𝕢",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"",quatint:"⨖",quest:"?",questeq:"≟",QUOT:'"',quot:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",Rang:"⟫",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",Rarr:"↠",rArr:"⇒",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",rAtail:"⤜",ratail:"⤚",ratio:"",rationals:"",RBarr:"⤐",rBarr:"⤏",rbarr:"⤍",rbbrk:"",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"",real:"",realine:"",realpart:"",reals:"",rect:"▭",REG:"®",reg:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",Rfr:"",rfr:"𝔯",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrow:"→",Rightarrow:"⇒",rightarrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",Ropf:"",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"",Rscr:"",rscr:"𝓇",Rsh:"↱",rsh:"↱",rsqb:"]",rsquo:"",rsquor:"",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"",Sc:"⪼",sc:"≻",scap:"⪸",Scaron:"Š",scaron:"š",sccue:"≽",scE:"⪴",sce:"⪰",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",seArr:"⇘",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"",setmn:"",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"",smashp:"⨳",smeparsl:"⧤",smid:"",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",Square:"□",square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",Sub:"⋐",sub:"⊂",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",Subset:"⋐",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",Sum:"∑",sum:"∑",sung:"♪",Sup:"⋑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",Supset:"⋑",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swArr:"⇙",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:" ",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",Therefore:"∴",therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"",ThickSpace:"",thinsp:"",ThinSpace:"",thkap:"≈",thksim:"",THORN:"Þ",thorn:"þ",Tilde:"",tilde:"˜",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"",topbot:"⌶",topcir:"⫱",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",TRADE:"™",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",Uarr:"↟",uArr:"⇑",uarr:"↑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrow:"↑",Uparrow:"⇑",uparrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",Updownarrow:"⇕",updownarrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",upsi:"υ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",vArr:"⇕",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",Vbar:"⫫",vBar:"⫨",vBarv:"⫩",Vcy:"В",vcy:"в",VDash:"⊫",Vdash:"⊩",vDash:"⊨",vdash:"⊢",Vdashl:"⫦",Vee:"",vee:"",veebar:"⊻",veeeq:"≚",vellip:"⋮",Verbar:"‖",verbar:"|",Vert:"‖",vert:"|",VerticalBar:"",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:"",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",Wedge:"⋀",wedge:"∧",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",Xi:"Ξ",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",Yuml:"Ÿ",yuml:"ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"",ZeroWidthSpace:"",Zeta:"Ζ",zeta:"ζ",Zfr:"",zfr:"𝔷",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",Zopf:"",zopf:"𝕫",Zscr:"𝒵",zscr:"𝓏",zwj:"",zwnj:""},G=Object.prototype.hasOwnProperty;function P(e,a){return e?G.call(e,a):!1}function ce(e){return P(qr,e)?qr[e]:e}var ee=Object.prototype.hasOwnProperty;function be(e,a){return e?ee.call(e,a):!1}function ke(e){var a=[].slice.call(arguments,1);return a.forEach(function(o){if(o){if(typeof o!="object")throw new TypeError(o+"must be object");Object.keys(o).forEach(function(f){e[f]=o[f]})}}),e}var Te=/\\([\\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g;function De(e){return e.indexOf("\\")<0?e:e.replace(Te,"$1")}function ue(e){return!(e>=55296&&e<=57343||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534||e>=0&&e<=8||e===11||e>=14&&e<=31||e>=127&&e<=159||e>1114111)}function Le(e){if(e>65535){e-=65536;var a=55296+(e>>10),o=56320+(e&1023);return String.fromCharCode(a,o)}return String.fromCharCode(e)}var Mr=/&([a-z#][a-z0-9]{1,31});/gi,$e=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i;function mr(e,a){var o=0,f=ce(a);return a!==f?f:a.charCodeAt(0)===35&&$e.test(a)&&(o=a[1].toLowerCase()==="x"?parseInt(a.slice(2),16):parseInt(a.slice(1),10),ue(o))?Le(o):e}function We(e){return e.indexOf("&")<0?e:e.replace(Mr,mr)}var wr=/[&<>"]/,Ir=/[&<>"]/g,G0={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function Ua(e){return G0[e]}function vr(e){return wr.test(e)?e.replace(Ir,Ua):e}var pe={};pe.blockquote_open=function(){return`<blockquote>
`},pe.blockquote_close=function(e,a){return"</blockquote>"+g0(e,a)},pe.code=function(e,a){return e[a].block?"<pre><code>"+vr(e[a].content)+"</code></pre>"+g0(e,a):"<code>"+vr(e[a].content)+"</code>"},pe.fence=function(e,a,o,f,c){var g=e[a],y="",A=o.langPrefix,B="",I,N,H;if(g.params){if(I=g.params.split(/\s+/g),N=I.join(" "),be(c.rules.fence_custom,I[0]))return c.rules.fence_custom[I[0]](e,a,o,f,c);B=vr(We(De(N))),y=' class="'+A+B+'"'}return o.highlight?H=o.highlight.apply(o.highlight,[g.content].concat(I))||vr(g.content):H=vr(g.content),"<pre><code"+y+">"+H+"</code></pre>"+g0(e,a)},pe.fence_custom={},pe.heading_open=function(e,a){return"<h"+e[a].hLevel+">"},pe.heading_close=function(e,a){return"</h"+e[a].hLevel+`>
`},pe.hr=function(e,a,o){return(o.xhtmlOut?"<hr />":"<hr>")+g0(e,a)},pe.bullet_list_open=function(){return`<ul>
`},pe.bullet_list_close=function(e,a){return"</ul>"+g0(e,a)},pe.list_item_open=function(){return"<li>"},pe.list_item_close=function(){return`</li>
`},pe.ordered_list_open=function(e,a){var o=e[a],f=o.order>1?' start="'+o.order+'"':"";return"<ol"+f+`>
`},pe.ordered_list_close=function(e,a){return"</ol>"+g0(e,a)},pe.paragraph_open=function(e,a){return e[a].tight?"":"<p>"},pe.paragraph_close=function(e,a){var o=!(e[a].tight&&a&&e[a-1].type==="inline"&&!e[a-1].content);return(e[a].tight?"":"</p>")+(o?g0(e,a):"")},pe.link_open=function(e,a,o){var f=e[a].title?' title="'+vr(We(e[a].title))+'"':"",c=o.linkTarget?' target="'+o.linkTarget+'"':"";return'<a href="'+vr(e[a].href)+'"'+f+c+">"},pe.link_close=function(){return"</a>"},pe.image=function(e,a,o){var f=' src="'+vr(e[a].src)+'"',c=e[a].title?' title="'+vr(We(e[a].title))+'"':"",g=' alt="'+(e[a].alt?vr(We(De(e[a].alt))):"")+'"',y=o.xhtmlOut?" /":"";return"<img"+f+g+c+y+">"},pe.table_open=function(){return`<table>
`},pe.table_close=function(){return`</table>
`},pe.thead_open=function(){return`<thead>
`},pe.thead_close=function(){return`</thead>
`},pe.tbody_open=function(){return`<tbody>
`},pe.tbody_close=function(){return`</tbody>
`},pe.tr_open=function(){return"<tr>"},pe.tr_close=function(){return`</tr>
`},pe.th_open=function(e,a){var o=e[a];return"<th"+(o.align?' style="text-align:'+o.align+'"':"")+">"},pe.th_close=function(){return"</th>"},pe.td_open=function(e,a){var o=e[a];return"<td"+(o.align?' style="text-align:'+o.align+'"':"")+">"},pe.td_close=function(){return"</td>"},pe.strong_open=function(){return"<strong>"},pe.strong_close=function(){return"</strong>"},pe.em_open=function(){return"<em>"},pe.em_close=function(){return"</em>"},pe.del_open=function(){return"<del>"},pe.del_close=function(){return"</del>"},pe.ins_open=function(){return"<ins>"},pe.ins_close=function(){return"</ins>"},pe.mark_open=function(){return"<mark>"},pe.mark_close=function(){return"</mark>"},pe.sub=function(e,a){return"<sub>"+vr(e[a].content)+"</sub>"},pe.sup=function(e,a){return"<sup>"+vr(e[a].content)+"</sup>"},pe.hardbreak=function(e,a,o){return o.xhtmlOut?`<br />
`:`<br>
`},pe.softbreak=function(e,a,o){return o.breaks?o.xhtmlOut?`<br />
`:`<br>
`:`
`},pe.text=function(e,a){return vr(e[a].content)},pe.htmlblock=function(e,a){return e[a].content},pe.htmltag=function(e,a){return e[a].content},pe.abbr_open=function(e,a){return'<abbr title="'+vr(We(e[a].title))+'">'},pe.abbr_close=function(){return"</abbr>"},pe.footnote_ref=function(e,a){var o=Number(e[a].id+1).toString(),f="fnref"+o;return e[a].subId>0&&(f+=":"+e[a].subId),'<sup class="footnote-ref"><a href="#fn'+o+'" id="'+f+'">['+o+"]</a></sup>"},pe.footnote_block_open=function(e,a,o){var f=o.xhtmlOut?`<hr class="footnotes-sep" />
`:`<hr class="footnotes-sep">
`;return f+`<section class="footnotes">
<ol class="footnotes-list">
`},pe.footnote_block_close=function(){return`</ol>
</section>
`},pe.footnote_open=function(e,a){var o=Number(e[a].id+1).toString();return'<li id="fn'+o+'" class="footnote-item">'},pe.footnote_close=function(){return`</li>
`},pe.footnote_anchor=function(e,a){var o=Number(e[a].id+1).toString(),f="fnref"+o;return e[a].subId>0&&(f+=":"+e[a].subId),' <a href="#'+f+'" class="footnote-backref">↩</a>'},pe.dl_open=function(){return`<dl>
`},pe.dt_open=function(){return"<dt>"},pe.dd_open=function(){return"<dd>"},pe.dl_close=function(){return`</dl>
`},pe.dt_close=function(){return`</dt>
`},pe.dd_close=function(){return`</dd>
`};function Jn(e,a){return++a>=e.length-2?a:e[a].type==="paragraph_open"&&e[a].tight&&e[a+1].type==="inline"&&e[a+1].content.length===0&&e[a+2].type==="paragraph_close"&&e[a+2].tight?Jn(e,a+2):a}var g0=pe.getBreak=function(a,o){return o=Jn(a,o),o<a.length&&a[o].type==="list_item_close"?"":`
`};function nn(){this.rules=ke({},pe),this.getBreak=pe.getBreak}nn.prototype.renderInline=function(e,a,o){for(var f=this.rules,c=e.length,g=0,y="";c--;)y+=f[e[g].type](e,g++,a,o,this);return y},nn.prototype.render=function(e,a,o){for(var f=this.rules,c=e.length,g=-1,y="";++g<c;)e[g].type==="inline"?y+=this.renderInline(e[g].children,a,o):y+=f[e[g].type](e,g,a,o,this);return y};function gr(){this.__rules__=[],this.__cache__=null}gr.prototype.__find__=function(e){for(var a=this.__rules__.length,o=-1;a--;)if(this.__rules__[++o].name===e)return o;return-1},gr.prototype.__compile__=function(){var e=this,a=[""];e.__rules__.forEach(function(o){o.enabled&&o.alt.forEach(function(f){a.indexOf(f)<0&&a.push(f)})}),e.__cache__={},a.forEach(function(o){e.__cache__[o]=[],e.__rules__.forEach(function(f){f.enabled&&(o&&f.alt.indexOf(o)<0||e.__cache__[o].push(f.fn))})})},gr.prototype.at=function(e,a,o){var f=this.__find__(e),c=o||{};if(f===-1)throw new Error("Parser rule not found: "+e);this.__rules__[f].fn=a,this.__rules__[f].alt=c.alt||[],this.__cache__=null},gr.prototype.before=function(e,a,o,f){var c=this.__find__(e),g=f||{};if(c===-1)throw new Error("Parser rule not found: "+e);this.__rules__.splice(c,0,{name:a,enabled:!0,fn:o,alt:g.alt||[]}),this.__cache__=null},gr.prototype.after=function(e,a,o,f){var c=this.__find__(e),g=f||{};if(c===-1)throw new Error("Parser rule not found: "+e);this.__rules__.splice(c+1,0,{name:a,enabled:!0,fn:o,alt:g.alt||[]}),this.__cache__=null},gr.prototype.push=function(e,a,o){var f=o||{};this.__rules__.push({name:e,enabled:!0,fn:a,alt:f.alt||[]}),this.__cache__=null},gr.prototype.enable=function(e,a){e=Array.isArray(e)?e:[e],a&&this.__rules__.forEach(function(o){o.enabled=!1}),e.forEach(function(o){var f=this.__find__(o);if(f<0)throw new Error("Rules manager: invalid rule name "+o);this.__rules__[f].enabled=!0},this),this.__cache__=null},gr.prototype.disable=function(e){e=Array.isArray(e)?e:[e],e.forEach(function(a){var o=this.__find__(a);if(o<0)throw new Error("Rules manager: invalid rule name "+a);this.__rules__[o].enabled=!1},this),this.__cache__=null},gr.prototype.getRules=function(e){return this.__cache__===null&&this.__compile__(),this.__cache__[e]||[]};function Va(e){e.inlineMode?e.tokens.push({type:"inline",content:e.src.replace(/\n/g," ").trim(),level:0,lines:[0,1],children:[]}):e.block.parse(e.src,e.options,e.env,e.tokens)}function Rr(e,a,o,f,c){this.src=e,this.env=f,this.options=o,this.parser=a,this.tokens=c,this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache=[],this.isInLabel=!1,this.linkLevel=0,this.linkContent="",this.labelUnmatchedScopes=0}Rr.prototype.pushPending=function(){this.tokens.push({type:"text",content:this.pending,level:this.pendingLevel}),this.pending=""},Rr.prototype.push=function(e){this.pending&&this.pushPending(),this.tokens.push(e),this.pendingLevel=this.level},Rr.prototype.cacheSet=function(e,a){for(var o=this.cache.length;o<=e;o++)this.cache.push(0);this.cache[e]=a},Rr.prototype.cacheGet=function(e){return e<this.cache.length?this.cache[e]:0};function xr(e,a){var o,f,c,g=-1,y=e.posMax,A=e.pos,B=e.isInLabel;if(e.isInLabel)return-1;if(e.labelUnmatchedScopes)return e.labelUnmatchedScopes--,-1;for(e.pos=a+1,e.isInLabel=!0,o=1;e.pos<y;){if(c=e.src.charCodeAt(e.pos),c===91)o++;else if(c===93&&(o--,o===0)){f=!0;break}e.parser.skipToken(e)}return f?(g=e.pos,e.labelUnmatchedScopes=0):e.labelUnmatchedScopes=o-1,e.pos=A,e.isInLabel=B,g}function dt(e,a,o,f){var c,g,y,A,B,I;if(e.charCodeAt(0)!==42||e.charCodeAt(1)!==91||e.indexOf("]:")===-1||(c=new Rr(e,a,o,f,[]),g=xr(c,1),g<0||e.charCodeAt(g+1)!==58))return-1;for(A=c.posMax,y=g+2;y<A&&c.src.charCodeAt(y)!==10;y++);return B=e.slice(2,g),I=e.slice(g+2,y).trim(),I.length===0?-1:(f.abbreviations||(f.abbreviations={}),typeof f.abbreviations[":"+B]>"u"&&(f.abbreviations[":"+B]=I),y)}function Qn(e){var a=e.tokens,o,f,c,g;if(!e.inlineMode){for(o=1,f=a.length-1;o<f;o++)if(a[o-1].type==="paragraph_open"&&a[o].type==="inline"&&a[o+1].type==="paragraph_close"){for(c=a[o].content;c.length&&(g=dt(c,e.inline,e.options,e.env),!(g<0));)c=c.slice(g).trim();a[o].content=c,c.length||(a[o-1].tight=!0,a[o+1].tight=!0)}}}function an(e){var a=We(e);try{a=decodeURI(a)}catch{}return encodeURI(a)}function mt(e,a){var o,f,c,g=a,y=e.posMax;if(e.src.charCodeAt(a)===60){for(a++;a<y;){if(o=e.src.charCodeAt(a),o===10)return!1;if(o===62)return c=an(De(e.src.slice(g+1,a))),e.parser.validateLink(c)?(e.pos=a+1,e.linkContent=c,!0):!1;if(o===92&&a+1<y){a+=2;continue}a++}return!1}for(f=0;a<y&&(o=e.src.charCodeAt(a),!(o===32||o<32||o===127));){if(o===92&&a+1<y){a+=2;continue}if(o===40&&(f++,f>1)||o===41&&(f--,f<0))break;a++}return g===a||(c=De(e.src.slice(g,a)),!e.parser.validateLink(c))?!1:(e.linkContent=c,e.pos=a,!0)}function vt(e,a){var o,f=a,c=e.posMax,g=e.src.charCodeAt(a);if(g!==34&&g!==39&&g!==40)return!1;for(a++,g===40&&(g=41);a<c;){if(o=e.src.charCodeAt(a),o===g)return e.pos=a+1,e.linkContent=De(e.src.slice(f+1,a)),!0;if(o===92&&a+1<c){a+=2;continue}a++}return!1}function ei(e){return e.trim().replace(/\s+/g," ").toUpperCase()}function Ga(e,a,o,f){var c,g,y,A,B,I,N,H,Z;if(e.charCodeAt(0)!==91||e.indexOf("]:")===-1||(c=new Rr(e,a,o,f,[]),g=xr(c,0),g<0||e.charCodeAt(g+1)!==58))return-1;for(A=c.posMax,y=g+2;y<A&&(B=c.src.charCodeAt(y),!(B!==32&&B!==10));y++);if(!mt(c,y))return-1;for(N=c.linkContent,y=c.pos,I=y,y=y+1;y<A&&(B=c.src.charCodeAt(y),!(B!==32&&B!==10));y++);for(y<A&&I!==y&&vt(c,y)?(H=c.linkContent,y=c.pos):(H="",y=I);y<A&&c.src.charCodeAt(y)===32;)y++;return y<A&&c.src.charCodeAt(y)!==10?-1:(Z=ei(e.slice(1,g)),typeof f.references[Z]>"u"&&(f.references[Z]={title:H,href:N}),y)}function ri(e){var a=e.tokens,o,f,c,g;if(e.env.references=e.env.references||{},!e.inlineMode){for(o=1,f=a.length-1;o<f;o++)if(a[o].type==="inline"&&a[o-1].type==="paragraph_open"&&a[o+1].type==="paragraph_close"){for(c=a[o].content;c.length&&(g=Ga(c,e.inline,e.options,e.env),!(g<0));)c=c.slice(g).trim();a[o].content=c,c.length||(a[o-1].tight=!0,a[o+1].tight=!0)}}}function ti(e){var a=e.tokens,o,f,c;for(f=0,c=a.length;f<c;f++)o=a[f],o.type==="inline"&&e.inline.parse(o.content,e.options,e.env,o.children)}function ni(e){var a,o,f,c,g,y,A,B,I,N=0,H=!1,Z={};if(e.env.footnotes&&(e.tokens=e.tokens.filter(function(J){return J.type==="footnote_reference_open"?(H=!0,B=[],I=J.label,!1):J.type==="footnote_reference_close"?(H=!1,Z[":"+I]=B,!1):(H&&B.push(J),!H)}),!!e.env.footnotes.list)){for(y=e.env.footnotes.list,e.tokens.push({type:"footnote_block_open",level:N++}),a=0,o=y.length;a<o;a++){for(e.tokens.push({type:"footnote_open",id:a,level:N++}),y[a].tokens?(A=[],A.push({type:"paragraph_open",tight:!1,level:N++}),A.push({type:"inline",content:"",level:N,children:y[a].tokens}),A.push({type:"paragraph_close",tight:!1,level:--N})):y[a].label&&(A=Z[":"+y[a].label]),e.tokens=e.tokens.concat(A),e.tokens[e.tokens.length-1].type==="paragraph_close"?g=e.tokens.pop():g=null,c=y[a].count>0?y[a].count:1,f=0;f<c;f++)e.tokens.push({type:"footnote_anchor",id:a,subId:f,level:N});g&&e.tokens.push(g),e.tokens.push({type:"footnote_close",level:--N})}e.tokens.push({type:"footnote_block_close",level:--N})}}var ii=`
()[]'".,!?-`;function $0(e){return e.replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1")}function $a(e){var a,o,f,c,g,y,A,B,I,N,H,Z,J=e.tokens;if(e.env.abbreviations){for(e.env.abbrRegExp||(Z="(^|["+ii.split("").map($0).join("")+"])("+Object.keys(e.env.abbreviations).map(function(ne){return ne.substr(1)}).sort(function(ne,se){return se.length-ne.length}).map($0).join("|")+")($|["+ii.split("").map($0).join("")+"])",e.env.abbrRegExp=new RegExp(Z,"g")),N=e.env.abbrRegExp,o=0,f=J.length;o<f;o++)if(J[o].type==="inline"){for(c=J[o].children,a=c.length-1;a>=0;a--)if(g=c[a],g.type==="text"){for(B=0,y=g.content,N.lastIndex=0,I=g.level,A=[];H=N.exec(y);)N.lastIndex>B&&A.push({type:"text",content:y.slice(B,H.index+H[1].length),level:I}),A.push({type:"abbr_open",title:e.env.abbreviations[":"+H[2]],level:I++}),A.push({type:"text",content:H[2],level:I}),A.push({type:"abbr_close",level:--I}),B=N.lastIndex-H[3].length;A.length&&(B<y.length&&A.push({type:"text",content:y.slice(B),level:I}),J[o].children=c=[].concat(c.slice(0,a),A,c.slice(a+1)))}}}}var ai=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,Ye=/\((c|tm|r|p)\)/ig,ae={c:"©",r:"®",p:"§",tm:"™"};function t0(e){return e.indexOf("(")<0?e:e.replace(Ye,function(a,o){return ae[o.toLowerCase()]})}function ui(e){var a,o,f,c,g;if(e.options.typographer){for(g=e.tokens.length-1;g>=0;g--)if(e.tokens[g].type==="inline")for(c=e.tokens[g].children,a=c.length-1;a>=0;a--)o=c[a],o.type==="text"&&(f=o.content,f=t0(f),ai.test(f)&&(f=f.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---([^-]|$)/mg,"$1—$2").replace(/(^|\s)--(\s|$)/mg,"$1$2").replace(/(^|[^-\s])--([^-\s]|$)/mg,"$1$2")),o.content=f)}}var li=/['"]/,un=/['"]/g,Y0=/[-\s()\[\]]/,gt="";function oi(e,a){return a<0||a>=e.length?!1:!Y0.test(e[a])}function B0(e,a,o){return e.substr(0,a)+o+e.substr(a+1)}function Tr(e){var a,o,f,c,g,y,A,B,I,N,H,Z,J,ne,se,xe,Be;if(e.options.typographer){for(Be=[],se=e.tokens.length-1;se>=0;se--)if(e.tokens[se].type==="inline"){for(xe=e.tokens[se].children,Be.length=0,a=0;a<xe.length;a++)if(o=xe[a],!(o.type!=="text"||li.test(o.text))){for(A=xe[a].level,J=Be.length-1;J>=0&&!(Be[J].level<=A);J--);Be.length=J+1,f=o.content,g=0,y=f.length;e:for(;g<y&&(un.lastIndex=g,c=un.exec(f),!!c);){if(B=!oi(f,c.index-1),g=c.index+1,ne=c[0]==="'",I=!oi(f,g),!I&&!B){ne&&(o.content=B0(o.content,c.index,gt));continue}if(H=!I,Z=!B,Z){for(J=Be.length-1;J>=0&&(N=Be[J],!(Be[J].level<A));J--)if(N.single===ne&&Be[J].level===A){N=Be[J],ne?(xe[N.token].content=B0(xe[N.token].content,N.pos,e.options.quotes[2]),o.content=B0(o.content,c.index,e.options.quotes[3])):(xe[N.token].content=B0(xe[N.token].content,N.pos,e.options.quotes[0]),o.content=B0(o.content,c.index,e.options.quotes[1])),Be.length=J;continue e}}H?Be.push({token:a,pos:c.index,single:ne,level:A}):Z&&ne&&(o.content=B0(o.content,c.index,gt))}}}}}var Or=[["block",Va],["abbr",Qn],["references",ri],["inline",ti],["footnote_tail",ni],["abbr2",$a],["replacements",ui],["smartquotes",Tr]];function Wr(){this.options={},this.ruler=new gr;for(var e=0;e<Or.length;e++)this.ruler.push(Or[e][0],Or[e][1])}Wr.prototype.process=function(e){var a,o,f;for(f=this.ruler.getRules(""),a=0,o=f.length;a<o;a++)f[a](e)};function Kr(e,a,o,f,c){var g,y,A,B,I,N,H;for(this.src=e,this.parser=a,this.options=o,this.env=f,this.tokens=c,this.bMarks=[],this.eMarks=[],this.tShift=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.parentType="root",this.ddIndent=-1,this.level=0,this.result="",y=this.src,N=0,H=!1,A=B=N=0,I=y.length;B<I;B++){if(g=y.charCodeAt(B),!H)if(g===32){N++;continue}else H=!0;(g===10||B===I-1)&&(g!==10&&B++,this.bMarks.push(A),this.eMarks.push(B),this.tShift.push(N),H=!1,N=0,A=B+1)}this.bMarks.push(y.length),this.eMarks.push(y.length),this.tShift.push(0),this.lineMax=this.bMarks.length-1}Kr.prototype.isEmpty=function(a){return this.bMarks[a]+this.tShift[a]>=this.eMarks[a]},Kr.prototype.skipEmptyLines=function(a){for(var o=this.lineMax;a<o&&!(this.bMarks[a]+this.tShift[a]<this.eMarks[a]);a++);return a},Kr.prototype.skipSpaces=function(a){for(var o=this.src.length;a<o&&this.src.charCodeAt(a)===32;a++);return a},Kr.prototype.skipChars=function(a,o){for(var f=this.src.length;a<f&&this.src.charCodeAt(a)===o;a++);return a},Kr.prototype.skipCharsBack=function(a,o,f){if(a<=f)return a;for(;a>f;)if(o!==this.src.charCodeAt(--a))return a+1;return a},Kr.prototype.getLines=function(a,o,f,c){var g,y,A,B,I,N=a;if(a>=o)return"";if(N+1===o)return y=this.bMarks[N]+Math.min(this.tShift[N],f),A=c?this.eMarks[N]+1:this.eMarks[N],this.src.slice(y,A);for(B=new Array(o-a),g=0;N<o;N++,g++)I=this.tShift[N],I>f&&(I=f),I<0&&(I=0),y=this.bMarks[N]+I,N+1<o||c?A=this.eMarks[N]+1:A=this.eMarks[N],B[g]=this.src.slice(y,A);return B.join("")};function si(e,a,o){var f,c;if(e.tShift[a]-e.blkIndent<4)return!1;for(c=f=a+1;f<o;){if(e.isEmpty(f)){f++;continue}if(e.tShift[f]-e.blkIndent>=4){f++,c=f;continue}break}return e.line=f,e.tokens.push({type:"code",content:e.getLines(a,c,4+e.blkIndent,!0),block:!0,lines:[a,e.line],level:e.level}),!0}function Ya(e,a,o,f){var c,g,y,A,B,I=!1,N=e.bMarks[a]+e.tShift[a],H=e.eMarks[a];if(N+3>H||(c=e.src.charCodeAt(N),c!==126&&c!==96)||(B=N,N=e.skipChars(N,c),g=N-B,g<3)||(y=e.src.slice(N,H).trim(),y.indexOf("`")>=0))return!1;if(f)return!0;for(A=a;A++,!(A>=o||(N=B=e.bMarks[A]+e.tShift[A],H=e.eMarks[A],N<H&&e.tShift[A]<e.blkIndent));)if(e.src.charCodeAt(N)===c&&!(e.tShift[A]-e.blkIndent>=4)&&(N=e.skipChars(N,c),!(N-B<g)&&(N=e.skipSpaces(N),!(N<H)))){I=!0;break}return g=e.tShift[a],e.line=A+(I?1:0),e.tokens.push({type:"fence",params:y,content:e.getLines(a+1,A,g,!0),lines:[a,e.line],level:e.level}),!0}function Xa(e,a,o,f){var c,g,y,A,B,I,N,H,Z,J,ne,se=e.bMarks[a]+e.tShift[a],xe=e.eMarks[a];if(se>xe||e.src.charCodeAt(se++)!==62||e.level>=e.options.maxNesting)return!1;if(f)return!0;for(e.src.charCodeAt(se)===32&&se++,B=e.blkIndent,e.blkIndent=0,A=[e.bMarks[a]],e.bMarks[a]=se,se=se<xe?e.skipSpaces(se):se,g=se>=xe,y=[e.tShift[a]],e.tShift[a]=se-e.bMarks[a],H=e.parser.ruler.getRules("blockquote"),c=a+1;c<o&&(se=e.bMarks[c]+e.tShift[c],xe=e.eMarks[c],!(se>=xe));c++){if(e.src.charCodeAt(se++)===62){e.src.charCodeAt(se)===32&&se++,A.push(e.bMarks[c]),e.bMarks[c]=se,se=se<xe?e.skipSpaces(se):se,g=se>=xe,y.push(e.tShift[c]),e.tShift[c]=se-e.bMarks[c];continue}if(g)break;for(ne=!1,Z=0,J=H.length;Z<J;Z++)if(H[Z](e,c,o,!0)){ne=!0;break}if(ne)break;A.push(e.bMarks[c]),y.push(e.tShift[c]),e.tShift[c]=-1337}for(I=e.parentType,e.parentType="blockquote",e.tokens.push({type:"blockquote_open",lines:N=[a,0],level:e.level++}),e.parser.tokenize(e,a,c),e.tokens.push({type:"blockquote_close",level:--e.level}),e.parentType=I,N[1]=e.line,Z=0;Z<y.length;Z++)e.bMarks[Z+a]=A[Z],e.tShift[Z+a]=y[Z];return e.blkIndent=B,!0}function ja(e,a,o,f){var c,g,y,A=e.bMarks[a],B=e.eMarks[a];if(A+=e.tShift[a],A>B||(c=e.src.charCodeAt(A++),c!==42&&c!==45&&c!==95))return!1;for(g=1;A<B;){if(y=e.src.charCodeAt(A++),y!==c&&y!==32)return!1;y===c&&g++}return g<3?!1:(f||(e.line=a+1,e.tokens.push({type:"hr",lines:[a,e.line],level:e.level})),!0)}function X0(e,a){var o,f,c;return f=e.bMarks[a]+e.tShift[a],c=e.eMarks[a],f>=c||(o=e.src.charCodeAt(f++),o!==42&&o!==45&&o!==43)||f<c&&e.src.charCodeAt(f)!==32?-1:f}function Ve(e,a){var o,f=e.bMarks[a]+e.tShift[a],c=e.eMarks[a];if(f+1>=c||(o=e.src.charCodeAt(f++),o<48||o>57))return-1;for(;;){if(f>=c)return-1;if(o=e.src.charCodeAt(f++),!(o>=48&&o<=57)){if(o===41||o===46)break;return-1}}return f<c&&e.src.charCodeAt(f)!==32?-1:f}function p(e,a){var o,f,c=e.level+2;for(o=a+2,f=e.tokens.length-2;o<f;o++)e.tokens[o].level===c&&e.tokens[o].type==="paragraph_open"&&(e.tokens[o+2].tight=!0,e.tokens[o].tight=!0,o+=2)}function v(e,a,o,f){var c,g,y,A,B,I,N,H,Z,J,ne,se,xe,Be,Me,br,e0,ya,Cl=!0,Vu,ba,Dl,Gu;if((H=Ve(e,a))>=0)xe=!0;else if((H=X0(e,a))>=0)xe=!1;else return!1;if(e.level>=e.options.maxNesting)return!1;if(se=e.src.charCodeAt(H-1),f)return!0;for(Me=e.tokens.length,xe?(N=e.bMarks[a]+e.tShift[a],ne=Number(e.src.substr(N,H-N-1)),e.tokens.push({type:"ordered_list_open",order:ne,lines:e0=[a,0],level:e.level++})):e.tokens.push({type:"bullet_list_open",lines:e0=[a,0],level:e.level++}),c=a,br=!1,Vu=e.parser.ruler.getRules("list");c<o&&(Be=e.skipSpaces(H),Z=e.eMarks[c],Be>=Z?J=1:J=Be-H,J>4&&(J=1),J<1&&(J=1),g=H-e.bMarks[c]+J,e.tokens.push({type:"list_item_open",lines:ya=[a,0],level:e.level++}),A=e.blkIndent,B=e.tight,y=e.tShift[a],I=e.parentType,e.tShift[a]=Be-e.bMarks[a],e.blkIndent=g,e.tight=!0,e.parentType="list",e.parser.tokenize(e,a,o,!0),(!e.tight||br)&&(Cl=!1),br=e.line-a>1&&e.isEmpty(e.line-1),e.blkIndent=A,e.tShift[a]=y,e.tight=B,e.parentType=I,e.tokens.push({type:"list_item_close",level:--e.level}),c=a=e.line,ya[1]=c,Be=e.bMarks[a],!(c>=o||e.isEmpty(c)||e.tShift[c]<e.blkIndent));){for(Gu=!1,ba=0,Dl=Vu.length;ba<Dl;ba++)if(Vu[ba](e,c,o,!0)){Gu=!0;break}if(Gu)break;if(xe){if(H=Ve(e,c),H<0)break}else if(H=X0(e,c),H<0)break;if(se!==e.src.charCodeAt(H-1))break}return e.tokens.push({type:xe?"ordered_list_close":"bullet_list_close",level:--e.level}),e0[1]=c,e.line=c,Cl&&p(e,Me),!0}function Q(e,a,o,f){var c,g,y,A,B,I=e.bMarks[a]+e.tShift[a],N=e.eMarks[a];if(I+4>N||e.src.charCodeAt(I)!==91||e.src.charCodeAt(I+1)!==94||e.level>=e.options.maxNesting)return!1;for(A=I+2;A<N;A++){if(e.src.charCodeAt(A)===32)return!1;if(e.src.charCodeAt(A)===93)break}return A===I+2||A+1>=N||e.src.charCodeAt(++A)!==58?!1:(f||(A++,e.env.footnotes||(e.env.footnotes={}),e.env.footnotes.refs||(e.env.footnotes.refs={}),B=e.src.slice(I+2,A-2),e.env.footnotes.refs[":"+B]=-1,e.tokens.push({type:"footnote_reference_open",label:B,level:e.level++}),c=e.bMarks[a],g=e.tShift[a],y=e.parentType,e.tShift[a]=e.skipSpaces(A)-A,e.bMarks[a]=A,e.blkIndent+=4,e.parentType="footnote",e.tShift[a]<e.blkIndent&&(e.tShift[a]+=e.blkIndent,e.bMarks[a]-=e.blkIndent),e.parser.tokenize(e,a,o,!0),e.parentType=y,e.blkIndent-=4,e.tShift[a]=g,e.bMarks[a]=c,e.tokens.push({type:"footnote_reference_close",level:--e.level})),!0)}function S(e,a,o,f){var c,g,y,A=e.bMarks[a]+e.tShift[a],B=e.eMarks[a];if(A>=B||(c=e.src.charCodeAt(A),c!==35||A>=B))return!1;for(g=1,c=e.src.charCodeAt(++A);c===35&&A<B&&g<=6;)g++,c=e.src.charCodeAt(++A);return g>6||A<B&&c!==32?!1:(f||(B=e.skipCharsBack(B,32,A),y=e.skipCharsBack(B,35,A),y>A&&e.src.charCodeAt(y-1)===32&&(B=y),e.line=a+1,e.tokens.push({type:"heading_open",hLevel:g,lines:[a,e.line],level:e.level}),A<B&&e.tokens.push({type:"inline",content:e.src.slice(A,B).trim(),level:e.level+1,lines:[a,e.line],children:[]}),e.tokens.push({type:"heading_close",hLevel:g,level:e.level})),!0)}function _(e,a,o){var f,c,g,y=a+1;return y>=o||e.tShift[y]<e.blkIndent||e.tShift[y]-e.blkIndent>3||(c=e.bMarks[y]+e.tShift[y],g=e.eMarks[y],c>=g)||(f=e.src.charCodeAt(c),f!==45&&f!==61)||(c=e.skipChars(c,f),c=e.skipSpaces(c),c<g)?!1:(c=e.bMarks[a]+e.tShift[a],e.line=y+1,e.tokens.push({type:"heading_open",hLevel:f===61?1:2,lines:[a,e.line],level:e.level}),e.tokens.push({type:"inline",content:e.src.slice(c,e.eMarks[a]).trim(),level:e.level+1,lines:[a,e.line-1],children:[]}),e.tokens.push({type:"heading_close",hLevel:f===61?1:2,level:e.level}),!0)}var Ue={};["article","aside","button","blockquote","body","canvas","caption","col","colgroup","dd","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","iframe","li","map","object","ol","output","p","pre","progress","script","section","style","table","tbody","td","textarea","tfoot","th","tr","thead","ul","video"].forEach(function(e){Ue[e]=!0});var he=/^<([a-zA-Z]{1,15})[\s\/>]/,cr=/^<\/([a-zA-Z]{1,15})[\s>]/;function M0(e){var a=e|32;return a>=97&&a<=122}function ge(e,a,o,f){var c,g,y,A=e.bMarks[a],B=e.eMarks[a],I=e.tShift[a];if(A+=I,!e.options.html||I>3||A+2>=B||e.src.charCodeAt(A)!==60)return!1;if(c=e.src.charCodeAt(A+1),c===33||c===63){if(f)return!0}else if(c===47||M0(c)){if(c===47){if(g=e.src.slice(A,B).match(cr),!g)return!1}else if(g=e.src.slice(A,B).match(he),!g)return!1;if(Ue[g[1].toLowerCase()]!==!0)return!1;if(f)return!0}else return!1;for(y=a+1;y<e.lineMax&&!e.isEmpty(y);)y++;return e.line=y,e.tokens.push({type:"htmlblock",level:e.level,lines:[a,e.line],content:e.getLines(a,y,0,!0)}),!0}function Ke(e,a){var o=e.bMarks[a]+e.blkIndent,f=e.eMarks[a];return e.src.substr(o,f-o)}function Ar(e,a,o,f){var c,g,y,A,B,I,N,H,Z,J,ne;if(a+2>o||(B=a+1,e.tShift[B]<e.blkIndent)||(y=e.bMarks[B]+e.tShift[B],y>=e.eMarks[B])||(c=e.src.charCodeAt(y),c!==124&&c!==45&&c!==58)||(g=Ke(e,a+1),!/^[-:| ]+$/.test(g))||(I=g.split("|"),I<=2))return!1;for(H=[],A=0;A<I.length;A++){if(Z=I[A].trim(),!Z){if(A===0||A===I.length-1)continue;return!1}if(!/^:?-+:?$/.test(Z))return!1;Z.charCodeAt(Z.length-1)===58?H.push(Z.charCodeAt(0)===58?"center":"right"):Z.charCodeAt(0)===58?H.push("left"):H.push("")}if(g=Ke(e,a).trim(),g.indexOf("|")===-1||(I=g.replace(/^\||\|$/g,"").split("|"),H.length!==I.length))return!1;if(f)return!0;for(e.tokens.push({type:"table_open",lines:J=[a,0],level:e.level++}),e.tokens.push({type:"thead_open",lines:[a,a+1],level:e.level++}),e.tokens.push({type:"tr_open",lines:[a,a+1],level:e.level++}),A=0;A<I.length;A++)e.tokens.push({type:"th_open",align:H[A],lines:[a,a+1],level:e.level++}),e.tokens.push({type:"inline",content:I[A].trim(),lines:[a,a+1],level:e.level,children:[]}),e.tokens.push({type:"th_close",level:--e.level});for(e.tokens.push({type:"tr_close",level:--e.level}),e.tokens.push({type:"thead_close",level:--e.level}),e.tokens.push({type:"tbody_open",lines:ne=[a+2,0],level:e.level++}),B=a+2;B<o&&!(e.tShift[B]<e.blkIndent||(g=Ke(e,B).trim(),g.indexOf("|")===-1));B++){for(I=g.replace(/^\||\|$/g,"").split("|"),e.tokens.push({type:"tr_open",level:e.level++}),A=0;A<I.length;A++)e.tokens.push({type:"td_open",align:H[A],level:e.level++}),N=I[A].substring(I[A].charCodeAt(0)===124?1:0,I[A].charCodeAt(I[A].length-1)===124?I[A].length-1:I[A].length).trim(),e.tokens.push({type:"inline",content:N,level:e.level,children:[]}),e.tokens.push({type:"td_close",level:--e.level});e.tokens.push({type:"tr_close",level:--e.level})}return e.tokens.push({type:"tbody_close",level:--e.level}),e.tokens.push({type:"table_close",level:--e.level}),J[1]=ne[1]=B,e.line=B,!0}function x0(e,a){var o,f,c=e.bMarks[a]+e.tShift[a],g=e.eMarks[a];return c>=g||(f=e.src.charCodeAt(c++),f!==126&&f!==58)||(o=e.skipSpaces(c),c===o)||o>=g?-1:o}function z(e,a){var o,f,c=e.level+2;for(o=a+2,f=e.tokens.length-2;o<f;o++)e.tokens[o].level===c&&e.tokens[o].type==="paragraph_open"&&(e.tokens[o+2].tight=!0,e.tokens[o].tight=!0,o+=2)}function Zr(e,a,o,f){var c,g,y,A,B,I,N,H,Z,J,ne,se,xe,Be;if(f)return e.ddIndent<0?!1:x0(e,a)>=0;if(N=a+1,e.isEmpty(N)&&++N>o||e.tShift[N]<e.blkIndent||(c=x0(e,N),c<0)||e.level>=e.options.maxNesting)return!1;I=e.tokens.length,e.tokens.push({type:"dl_open",lines:B=[a,0],level:e.level++}),y=a,g=N;e:for(;;){for(Be=!0,xe=!1,e.tokens.push({type:"dt_open",lines:[y,y],level:e.level++}),e.tokens.push({type:"inline",content:e.getLines(y,y+1,e.blkIndent,!1).trim(),level:e.level+1,lines:[y,y],children:[]}),e.tokens.push({type:"dt_close",level:--e.level});;){if(e.tokens.push({type:"dd_open",lines:A=[N,0],level:e.level++}),se=e.tight,Z=e.ddIndent,H=e.blkIndent,ne=e.tShift[g],J=e.parentType,e.blkIndent=e.ddIndent=e.tShift[g]+2,e.tShift[g]=c-e.bMarks[g],e.tight=!0,e.parentType="deflist",e.parser.tokenize(e,g,o,!0),(!e.tight||xe)&&(Be=!1),xe=e.line-g>1&&e.isEmpty(e.line-1),e.tShift[g]=ne,e.tight=se,e.parentType=J,e.blkIndent=H,e.ddIndent=Z,e.tokens.push({type:"dd_close",level:--e.level}),A[1]=N=e.line,N>=o||e.tShift[N]<e.blkIndent)break e;if(c=x0(e,N),c<0)break;g=N}if(N>=o||(y=N,e.isEmpty(y))||e.tShift[y]<e.blkIndent||(g=y+1,g>=o)||(e.isEmpty(g)&&g++,g>=o)||e.tShift[g]<e.blkIndent||(c=x0(e,g),c<0))break}return e.tokens.push({type:"dl_close",level:--e.level}),B[1]=N,e.line=N,Be&&z(e,I),!0}function R(e,a){var o,f,c,g,y,A=a+1,B;if(o=e.lineMax,A<o&&!e.isEmpty(A)){for(B=e.parser.ruler.getRules("paragraph");A<o&&!e.isEmpty(A);A++)if(!(e.tShift[A]-e.blkIndent>3)){for(c=!1,g=0,y=B.length;g<y;g++)if(B[g](e,A,o,!0)){c=!0;break}if(c)break}}return f=e.getLines(a,A,e.blkIndent,!1).trim(),e.line=A,f.length&&(e.tokens.push({type:"paragraph_open",tight:!1,lines:[a,e.line],level:e.level}),e.tokens.push({type:"inline",content:f,level:e.level+1,lines:[a,e.line],children:[]}),e.tokens.push({type:"paragraph_close",tight:!1,level:e.level})),!0}var j0=[["code",si],["fences",Ya,["paragraph","blockquote","list"]],["blockquote",Xa,["paragraph","blockquote","list"]],["hr",ja,["paragraph","blockquote","list"]],["list",v,["paragraph","blockquote"]],["footnote",Q,["paragraph"]],["heading",S,["paragraph","blockquote"]],["lheading",_],["htmlblock",ge,["paragraph","blockquote"]],["table",Ar,["paragraph"]],["deflist",Zr,["paragraph"]],["paragraph",R]];function xt(){this.ruler=new gr;for(var e=0;e<j0.length;e++)this.ruler.push(j0[e][0],j0[e][1],{alt:(j0[e][2]||[]).slice()})}xt.prototype.tokenize=function(e,a,o){for(var f=this.ruler.getRules(""),c=f.length,g=a,y=!1,A,B;g<o&&(e.line=g=e.skipEmptyLines(g),!(g>=o||e.tShift[g]<e.blkIndent));){for(B=0;B<c&&(A=f[B](e,g,o,!1),!A);B++);if(e.tight=!y,e.isEmpty(e.line-1)&&(y=!0),g=e.line,g<o&&e.isEmpty(g)){if(y=!0,g++,g<o&&e.parentType==="list"&&e.isEmpty(g))break;e.line=g}}};var ln=/[\n\t]/g,ci=/\r[\n\u0085]|[\u2424\u2028\u0085]/g,hi=/\u00a0/g;xt.prototype.parse=function(e,a,o,f){var c,g=0,y=0;if(!e)return[];e=e.replace(hi," "),e=e.replace(ci,`
`),e.indexOf(" ")>=0&&(e=e.replace(ln,function(A,B){var I;return e.charCodeAt(B)===10?(g=B+1,y=0,A):(I=" ".slice((B-g-y)%4),y=B-g+1,I)})),c=new Kr(e,this,a,o,f),this.tokenize(c,c.line,c.lineMax)};function on(e){switch(e){case 10:case 92:case 96:case 42:case 95:case 94:case 91:case 93:case 33:case 38:case 60:case 62:case 123:case 125:case 36:case 37:case 64:case 126:case 43:case 61:case 58:return!0;default:return!1}}function fi(e,a){for(var o=e.pos;o<e.posMax&&!on(e.src.charCodeAt(o));)o++;return o===e.pos?!1:(a||(e.pending+=e.src.slice(e.pos,o)),e.pos=o,!0)}function yt(e,a){var o,f,c=e.pos;if(e.src.charCodeAt(c)!==10)return!1;if(o=e.pending.length-1,f=e.posMax,!a)if(o>=0&&e.pending.charCodeAt(o)===32)if(o>=1&&e.pending.charCodeAt(o-1)===32){for(var g=o-2;g>=0;g--)if(e.pending.charCodeAt(g)!==32){e.pending=e.pending.substring(0,g+1);break}e.push({type:"hardbreak",level:e.level})}else e.pending=e.pending.slice(0,-1),e.push({type:"softbreak",level:e.level});else e.push({type:"softbreak",level:e.level});for(c++;c<f&&e.src.charCodeAt(c)===32;)c++;return e.pos=c,!0}for(var W0=[],K0=0;K0<256;K0++)W0.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){W0[e.charCodeAt(0)]=1});function we(e,a){var o,f=e.pos,c=e.posMax;if(e.src.charCodeAt(f)!==92)return!1;if(f++,f<c){if(o=e.src.charCodeAt(f),o<256&&W0[o]!==0)return a||(e.pending+=e.src[f]),e.pos+=2,!0;if(o===10){for(a||e.push({type:"hardbreak",level:e.level}),f++;f<c&&e.src.charCodeAt(f)===32;)f++;return e.pos=f,!0}}return a||(e.pending+="\\"),e.pos++,!0}function hr(e,a){var o,f,c,g,y,A=e.pos,B=e.src.charCodeAt(A);if(B!==96)return!1;for(o=A,A++,f=e.posMax;A<f&&e.src.charCodeAt(A)===96;)A++;for(c=e.src.slice(o,A),g=y=A;(g=e.src.indexOf("`",y))!==-1;){for(y=g+1;y<f&&e.src.charCodeAt(y)===96;)y++;if(y-g===c.length)return a||e.push({type:"code",content:e.src.slice(A,g).replace(/[ \n]+/g," ").trim(),block:!1,level:e.level}),e.pos=y,!0}return a||(e.pending+=c),e.pos+=c.length,!0}function Ze(e,a){var o,f,c,g=e.posMax,y=e.pos,A,B;if(e.src.charCodeAt(y)!==126||a||y+4>=g||e.src.charCodeAt(y+1)!==126||e.level>=e.options.maxNesting||(A=y>0?e.src.charCodeAt(y-1):-1,B=e.src.charCodeAt(y+2),A===126)||B===126||B===32||B===10)return!1;for(f=y+2;f<g&&e.src.charCodeAt(f)===126;)f++;if(f>y+3)return e.pos+=f-y,a||(e.pending+=e.src.slice(y,f)),!0;for(e.pos=y+2,c=1;e.pos+1<g;){if(e.src.charCodeAt(e.pos)===126&&e.src.charCodeAt(e.pos+1)===126&&(A=e.src.charCodeAt(e.pos-1),B=e.pos+2<g?e.src.charCodeAt(e.pos+2):-1,B!==126&&A!==126&&(A!==32&&A!==10?c--:B!==32&&B!==10&&c++,c<=0))){o=!0;break}e.parser.skipToken(e)}return o?(e.posMax=e.pos,e.pos=y+2,a||(e.push({type:"del_open",level:e.level++}),e.parser.tokenize(e),e.push({type:"del_close",level:--e.level})),e.pos=e.posMax+2,e.posMax=g,!0):(e.pos=y,!1)}function y0(e,a){var o,f,c,g=e.posMax,y=e.pos,A,B;if(e.src.charCodeAt(y)!==43||a||y+4>=g||e.src.charCodeAt(y+1)!==43||e.level>=e.options.maxNesting||(A=y>0?e.src.charCodeAt(y-1):-1,B=e.src.charCodeAt(y+2),A===43)||B===43||B===32||B===10)return!1;for(f=y+2;f<g&&e.src.charCodeAt(f)===43;)f++;if(f!==y+2)return e.pos+=f-y,a||(e.pending+=e.src.slice(y,f)),!0;for(e.pos=y+2,c=1;e.pos+1<g;){if(e.src.charCodeAt(e.pos)===43&&e.src.charCodeAt(e.pos+1)===43&&(A=e.src.charCodeAt(e.pos-1),B=e.pos+2<g?e.src.charCodeAt(e.pos+2):-1,B!==43&&A!==43&&(A!==32&&A!==10?c--:B!==32&&B!==10&&c++,c<=0))){o=!0;break}e.parser.skipToken(e)}return o?(e.posMax=e.pos,e.pos=y+2,a||(e.push({type:"ins_open",level:e.level++}),e.parser.tokenize(e),e.push({type:"ins_close",level:--e.level})),e.pos=e.posMax+2,e.posMax=g,!0):(e.pos=y,!1)}function n0(e,a){var o,f,c,g=e.posMax,y=e.pos,A,B;if(e.src.charCodeAt(y)!==61||a||y+4>=g||e.src.charCodeAt(y+1)!==61||e.level>=e.options.maxNesting||(A=y>0?e.src.charCodeAt(y-1):-1,B=e.src.charCodeAt(y+2),A===61)||B===61||B===32||B===10)return!1;for(f=y+2;f<g&&e.src.charCodeAt(f)===61;)f++;if(f!==y+2)return e.pos+=f-y,a||(e.pending+=e.src.slice(y,f)),!0;for(e.pos=y+2,c=1;e.pos+1<g;){if(e.src.charCodeAt(e.pos)===61&&e.src.charCodeAt(e.pos+1)===61&&(A=e.src.charCodeAt(e.pos-1),B=e.pos+2<g?e.src.charCodeAt(e.pos+2):-1,B!==61&&A!==61&&(A!==32&&A!==10?c--:B!==32&&B!==10&&c++,c<=0))){o=!0;break}e.parser.skipToken(e)}return o?(e.posMax=e.pos,e.pos=y+2,a||(e.push({type:"mark_open",level:e.level++}),e.parser.tokenize(e),e.push({type:"mark_close",level:--e.level})),e.pos=e.posMax+2,e.posMax=g,!0):(e.pos=y,!1)}function bt(e){return e>=48&&e<=57||e>=65&&e<=90||e>=97&&e<=122}function wt(e,a){var o=a,f,c,g,y=!0,A=!0,B=e.posMax,I=e.src.charCodeAt(a);for(f=a>0?e.src.charCodeAt(a-1):-1;o<B&&e.src.charCodeAt(o)===I;)o++;return o>=B&&(y=!1),g=o-a,g>=4?y=A=!1:(c=o<B?e.src.charCodeAt(o):-1,(c===32||c===10)&&(y=!1),(f===32||f===10)&&(A=!1),I===95&&(bt(f)&&(y=!1),bt(c)&&(A=!1))),{can_open:y,can_close:A,delims:g}}function At(e,a){var o,f,c,g,y,A,B,I=e.posMax,N=e.pos,H=e.src.charCodeAt(N);if(H!==95&&H!==42||a)return!1;if(B=wt(e,N),o=B.delims,!B.can_open)return e.pos+=o,a||(e.pending+=e.src.slice(N,e.pos)),!0;if(e.level>=e.options.maxNesting)return!1;for(e.pos=N+o,A=[o];e.pos<I;){if(e.src.charCodeAt(e.pos)===H){if(B=wt(e,e.pos),f=B.delims,B.can_close){for(g=A.pop(),y=f;g!==y;){if(y<g){A.push(g-y);break}if(y-=g,A.length===0)break;e.pos+=g,g=A.pop()}if(A.length===0){o=g,c=!0;break}e.pos+=f;continue}B.can_open&&A.push(f),e.pos+=f;continue}e.parser.skipToken(e)}return c?(e.posMax=e.pos,e.pos=N+o,a||((o===2||o===3)&&e.push({type:"strong_open",level:e.level++}),(o===1||o===3)&&e.push({type:"em_open",level:e.level++}),e.parser.tokenize(e),(o===1||o===3)&&e.push({type:"em_close",level:--e.level}),(o===2||o===3)&&e.push({type:"strong_close",level:--e.level})),e.pos=e.posMax+o,e.posMax=I,!0):(e.pos=N,!1)}var kt=/\\([ \\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g;function pi(e,a){var o,f,c=e.posMax,g=e.pos;if(e.src.charCodeAt(g)!==126||a||g+2>=c||e.level>=e.options.maxNesting)return!1;for(e.pos=g+1;e.pos<c;){if(e.src.charCodeAt(e.pos)===126){o=!0;break}e.parser.skipToken(e)}return!o||g+1===e.pos||(f=e.src.slice(g+1,e.pos),f.match(/(^|[^\\])(\\\\)*\s/))?(e.pos=g,!1):(e.posMax=e.pos,e.pos=g+1,a||e.push({type:"sub",level:e.level,content:f.replace(kt,"$1")}),e.pos=e.posMax+1,e.posMax=c,!0)}var Wa=/\\([ \\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g;function St(e,a){var o,f,c=e.posMax,g=e.pos;if(e.src.charCodeAt(g)!==94||a||g+2>=c||e.level>=e.options.maxNesting)return!1;for(e.pos=g+1;e.pos<c;){if(e.src.charCodeAt(e.pos)===94){o=!0;break}e.parser.skipToken(e)}return!o||g+1===e.pos||(f=e.src.slice(g+1,e.pos),f.match(/(^|[^\\])(\\\\)*\s/))?(e.pos=g,!1):(e.posMax=e.pos,e.pos=g+1,a||e.push({type:"sup",level:e.level,content:f.replace(Wa,"$1")}),e.pos=e.posMax+1,e.posMax=c,!0)}function Lr(e,a){var o,f,c,g,y,A,B,I,N=!1,H=e.pos,Z=e.posMax,J=e.pos,ne=e.src.charCodeAt(J);if(ne===33&&(N=!0,ne=e.src.charCodeAt(++J)),ne!==91||e.level>=e.options.maxNesting||(o=J+1,f=xr(e,J),f<0))return!1;if(A=f+1,A<Z&&e.src.charCodeAt(A)===40){for(A++;A<Z&&(I=e.src.charCodeAt(A),!(I!==32&&I!==10));A++);if(A>=Z)return!1;for(J=A,mt(e,A)?(g=e.linkContent,A=e.pos):g="",J=A;A<Z&&(I=e.src.charCodeAt(A),!(I!==32&&I!==10));A++);if(A<Z&&J!==A&&vt(e,A))for(y=e.linkContent,A=e.pos;A<Z&&(I=e.src.charCodeAt(A),!(I!==32&&I!==10));A++);else y="";if(A>=Z||e.src.charCodeAt(A)!==41)return e.pos=H,!1;A++}else{if(e.linkLevel>0)return!1;for(;A<Z&&(I=e.src.charCodeAt(A),!(I!==32&&I!==10));A++);if(A<Z&&e.src.charCodeAt(A)===91&&(J=A+1,A=xr(e,A),A>=0?c=e.src.slice(J,A++):A=J-1),c||(typeof c>"u"&&(A=f+1),c=e.src.slice(o,f)),B=e.env.references[ei(c)],!B)return e.pos=H,!1;g=B.href,y=B.title}return a||(e.pos=o,e.posMax=f,N?e.push({type:"image",src:g,title:y,alt:e.src.substr(o,f-o),level:e.level}):(e.push({type:"link_open",href:g,title:y,level:e.level++}),e.linkLevel++,e.parser.tokenize(e),e.linkLevel--,e.push({type:"link_close",level:--e.level}))),e.pos=A,e.posMax=Z,!0}function Ka(e,a){var o,f,c,g,y=e.posMax,A=e.pos;return A+2>=y||e.src.charCodeAt(A)!==94||e.src.charCodeAt(A+1)!==91||e.level>=e.options.maxNesting||(o=A+2,f=xr(e,A+1),f<0)?!1:(a||(e.env.footnotes||(e.env.footnotes={}),e.env.footnotes.list||(e.env.footnotes.list=[]),c=e.env.footnotes.list.length,e.pos=o,e.posMax=f,e.push({type:"footnote_ref",id:c,level:e.level}),e.linkLevel++,g=e.tokens.length,e.parser.tokenize(e),e.env.footnotes.list[c]={tokens:e.tokens.splice(g)},e.linkLevel--),e.pos=f+1,e.posMax=y,!0)}function Za(e,a){var o,f,c,g,y=e.posMax,A=e.pos;if(A+3>y||!e.env.footnotes||!e.env.footnotes.refs||e.src.charCodeAt(A)!==91||e.src.charCodeAt(A+1)!==94||e.level>=e.options.maxNesting)return!1;for(f=A+2;f<y;f++){if(e.src.charCodeAt(f)===32||e.src.charCodeAt(f)===10)return!1;if(e.src.charCodeAt(f)===93)break}return f===A+2||f>=y||(f++,o=e.src.slice(A+2,f-1),typeof e.env.footnotes.refs[":"+o]>"u")?!1:(a||(e.env.footnotes.list||(e.env.footnotes.list=[]),e.env.footnotes.refs[":"+o]<0?(c=e.env.footnotes.list.length,e.env.footnotes.list[c]={label:o,count:0},e.env.footnotes.refs[":"+o]=c):c=e.env.footnotes.refs[":"+o],g=e.env.footnotes.list[c].count,e.env.footnotes.list[c].count++,e.push({type:"footnote_ref",id:c,subId:g,level:e.level})),e.pos=f,e.posMax=y,!0)}var Ja=["coap","doi","javascript","aaa","aaas","about","acap","cap","cid","crid","data","dav","dict","dns","file","ftp","geo","go","gopher","h323","http","https","iax","icap","im","imap","info","ipp","iris","iris.beep","iris.xpc","iris.xpcs","iris.lwz","ldap","mailto","mid","msrp","msrps","mtqp","mupdate","news","nfs","ni","nih","nntp","opaquelocktoken","pop","pres","rtsp","service","session","shttp","sieve","sip","sips","sms","snmp","soap.beep","soap.beeps","tag","tel","telnet","tftp","thismessage","tn3270","tip","tv","urn","vemmi","ws","wss","xcon","xcon-userid","xmlrpc.beep","xmlrpc.beeps","xmpp","z39.50r","z39.50s","adiumxtra","afp","afs","aim","apt","attachment","aw","beshare","bitcoin","bolo","callto","chrome","chrome-extension","com-eventbrite-attendee","content","cvs","dlna-playsingle","dlna-playcontainer","dtn","dvb","ed2k","facetime","feed","finger","fish","gg","git","gizmoproject","gtalk","hcp","icon","ipn","irc","irc6","ircs","itms","jar","jms","keyparc","lastfm","ldaps","magnet","maps","market","message","mms","ms-help","msnim","mumble","mvn","notes","oid","palm","paparazzi","platform","proxy","psyc","query","res","resource","rmi","rsync","rtmp","secondlife","sftp","sgn","skype","smb","soldat","spotify","ssh","steam","svn","teamspeak","things","udp","unreal","ut2004","ventrilo","view-source","webcal","wtai","wyciwyg","xfire","xri","ymsgr"],Qa=/^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,eu=/^<([a-zA-Z.\-]{1,25}):([^<>\x00-\x20]*)>/;function sn(e,a){var o,f,c,g,y,A=e.pos;return e.src.charCodeAt(A)!==60||(o=e.src.slice(A),o.indexOf(">")<0)?!1:(f=o.match(eu),f?Ja.indexOf(f[1].toLowerCase())<0||(g=f[0].slice(1,-1),y=an(g),!e.parser.validateLink(g))?!1:(a||(e.push({type:"link_open",href:y,level:e.level}),e.push({type:"text",content:g,level:e.level+1}),e.push({type:"link_close",level:e.level})),e.pos+=f[0].length,!0):(c=o.match(Qa),c?(g=c[0].slice(1,-1),y=an("mailto:"+g),e.parser.validateLink(y)?(a||(e.push({type:"link_open",href:y,level:e.level}),e.push({type:"text",content:g,level:e.level+1}),e.push({type:"link_close",level:e.level})),e.pos+=c[0].length,!0):!1):!1))}function lr(e,a){return e=e.source,a=a||"",function o(f,c){return f?(c=c.source||c,e=e.replace(f,c),o):new RegExp(e,a)}}var di=/[a-zA-Z_:][a-zA-Z0-9:._-]*/,ru=/[^"'=<>`\x00-\x20]+/,tu=/'[^']*'/,mi=/"[^"]*"/,nu=lr(/(?:unquoted|single_quoted|double_quoted)/)("unquoted",ru)("single_quoted",tu)("double_quoted",mi)(),iu=lr(/(?:\s+attr_name(?:\s*=\s*attr_value)?)/)("attr_name",di)("attr_value",nu)(),au=lr(/<[A-Za-z][A-Za-z0-9]*attribute*\s*\/?>/)("attribute",iu)(),uu=/<\/[A-Za-z][A-Za-z0-9]*\s*>/,Ct=/<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->/,vi=/<[?].*?[?]>/,gi=/<![A-Z]+\s+[^>]*>/,lu=/<!\[CDATA\[[\s\S]*?\]\]>/,V=lr(/^(?:open_tag|close_tag|comment|processing|declaration|cdata)/)("open_tag",au)("close_tag",uu)("comment",Ct)("processing",vi)("declaration",gi)("cdata",lu)();function Xe(e){var a=e|32;return a>=97&&a<=122}function b0(e,a){var o,f,c,g=e.pos;return!e.options.html||(c=e.posMax,e.src.charCodeAt(g)!==60||g+2>=c)||(o=e.src.charCodeAt(g+1),o!==33&&o!==63&&o!==47&&!Xe(o))||(f=e.src.slice(g).match(V),!f)?!1:(a||e.push({type:"htmltag",content:e.src.slice(g,g+f[0].length),level:e.level}),e.pos+=f[0].length,!0)}var Jr=/^&#((?:x[a-f0-9]{1,8}|[0-9]{1,8}));/i,ou=/^&([a-z][a-z0-9]{1,31});/i;function su(e,a){var o,f,c,g=e.pos,y=e.posMax;if(e.src.charCodeAt(g)!==38)return!1;if(g+1<y){if(o=e.src.charCodeAt(g+1),o===35){if(c=e.src.slice(g).match(Jr),c)return a||(f=c[1][0].toLowerCase()==="x"?parseInt(c[1].slice(1),16):parseInt(c[1],10),e.pending+=ue(f)?Le(f):Le(65533)),e.pos+=c[0].length,!0}else if(c=e.src.slice(g).match(ou),c){var A=ce(c[1]);if(c[1]!==A)return a||(e.pending+=A),e.pos+=c[0].length,!0}}return a||(e.pending+="&"),e.pos++,!0}var Dt=[["text",fi],["newline",yt],["escape",we],["backticks",hr],["del",Ze],["ins",y0],["mark",n0],["emphasis",At],["sub",pi],["sup",St],["links",Lr],["footnote_inline",Ka],["footnote_ref",Za],["autolink",sn],["htmltag",b0],["entity",su]];function w0(){this.ruler=new gr;for(var e=0;e<Dt.length;e++)this.ruler.push(Dt[e][0],Dt[e][1]);this.validateLink=Et}w0.prototype.skipToken=function(e){var a=this.ruler.getRules(""),o=a.length,f=e.pos,c,g;if((g=e.cacheGet(f))>0){e.pos=g;return}for(c=0;c<o;c++)if(a[c](e,!0)){e.cacheSet(f,e.pos);return}e.pos++,e.cacheSet(f,e.pos)},w0.prototype.tokenize=function(e){for(var a=this.ruler.getRules(""),o=a.length,f=e.posMax,c,g;e.pos<f;){for(g=0;g<o&&(c=a[g](e,!1),!c);g++);if(c){if(e.pos>=f)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},w0.prototype.parse=function(e,a,o,f){var c=new Rr(e,this,a,o,f);this.tokenize(c)};function Et(e){var a=["vbscript","javascript","file","data"],o=e.trim().toLowerCase();return o=We(o),!(o.indexOf(":")!==-1&&a.indexOf(o.split(":")[0])!==-1)}var oe={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkTarget:"",typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["block","inline","references","replacements","smartquotes","references","abbr2","footnote_tail"]},block:{rules:["blockquote","code","fences","footnote","heading","hr","htmlblock","lheading","list","paragraph","table"]},inline:{rules:["autolink","backticks","del","emphasis","entity","escape","footnote_ref","htmltag","links","newline","text"]}}},A0={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkTarget:"",typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{},block:{},inline:{}}},Bt={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkTarget:"",typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["block","inline","references","abbr2"]},block:{rules:["blockquote","code","fences","heading","hr","htmlblock","lheading","list","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","htmltag","links","newline","text"]}}},er={default:oe,full:A0,commonmark:Bt};function $r(e,a,o){this.src=a,this.env=o,this.options=e.options,this.tokens=[],this.inlineMode=!1,this.inline=e.inline,this.block=e.block,this.renderer=e.renderer,this.typographer=e.typographer}function i0(e,a){typeof e!="string"&&(a=e,e="default"),a&&a.linkify!=null&&console.warn(`linkify option is removed. Use linkify plugin instead:
import Remarkable from 'remarkable';
import linkify from 'remarkable/linkify';
new Remarkable().use(linkify)
`),this.inline=new w0,this.block=new xt,this.core=new Wr,this.renderer=new nn,this.ruler=new gr,this.options={},this.configure(er[e]),this.set(a||{})}i0.prototype.set=function(e){ke(this.options,e)},i0.prototype.configure=function(e){var a=this;if(!e)throw new Error("Wrong `remarkable` preset, check name/content");e.options&&a.set(e.options),e.components&&Object.keys(e.components).forEach(function(o){e.components[o].rules&&a[o].ruler.enable(e.components[o].rules,!0)})},i0.prototype.use=function(e,a){return e(this,a),this},i0.prototype.parse=function(e,a){var o=new $r(this,e,a);return this.core.process(o),o.tokens},i0.prototype.render=function(e,a){return a=a||{},this.renderer.render(this.parse(e,a),this.options,a)},i0.prototype.parseInline=function(e,a){var o=new $r(this,e,a);return o.inlineMode=!0,this.core.process(o),o.tokens},i0.prototype.renderInline=function(e,a){return a=a||{},this.renderer.render(this.parseInline(e,a),this.options,a)};var cu=(e,a)=>{const o="\\",f="$",g=(a||{}).delimiter||f;if(g.length!==1)throw new Error("invalid delimiter");const y=k,A=(N,H)=>y.renderToString(N,{displayMode:H,throwOnError:!1}),B=(N,H,Z)=>{let J=!1,ne=N.bMarks[H]+N.tShift[H],se=N.eMarks[H];if(ne+1>se)return!1;const xe=N.src.charAt(ne);if(xe!==g)return!1;let Be=ne;ne=N.skipChars(ne,xe);let Me=ne-Be;if(Me!==2)return!1;let br=H;for(;++br,!(br>=Z||(ne=Be=N.bMarks[br]+N.tShift[br],se=N.eMarks[br],ne<se&&N.tShift[br]<N.blkIndent));)if(N.src.charAt(ne)===g&&!(N.tShift[br]-N.blkIndent>=4)&&(ne=N.skipChars(ne,xe),!(ne-Be<Me)&&(ne=N.skipSpaces(ne),!(ne<se)))){J=!0;break}Me=N.tShift[H],N.line=br+(J?1:0);const e0=N.getLines(H+1,br,Me,!0).replace(/[ \n]+/g," ").trim();return N.tokens.push({type:"katex",params:null,content:e0,lines:[H,N.line],level:N.level,block:!0}),!0},I=(N,H)=>{const Z=N.pos,J=N.posMax;let ne=Z;if(N.src.charAt(ne)!==g)return!1;for(++ne;ne<J&&N.src.charAt(ne)===g;)++ne;const se=N.src.slice(Z,ne);if(se.length>2)return!1;const xe=ne;let Be=0;for(;ne<J;){const Me=N.src.charAt(ne);if(Me==="{"&&(ne==0||N.src.charAt(ne-1)!=o))Be+=1;else if(Me==="}"&&(ne==0||N.src.charAt(ne-1)!=o)){if(Be-=1,Be<0)return!1}else if(Me===g&&Be===0){const br=ne;let e0=ne+1;for(;e0<J&&N.src.charAt(e0)===g;)++e0;if(e0-br===se.length){if(!H){const ya=N.src.slice(xe,br).replace(/[ \n]+/g," ").trim();N.push({type:"katex",content:ya,block:se.length>1,level:N.level})}return N.pos=e0,!0}}ne+=1}return H||(N.pending+=se),N.pos+=se.length,!0};e.inline.ruler.push("katex",I,a),e.block.ruler.push("katex",B,a),e.renderer.rules.katex=(N,H)=>A(N[H].content,N[H].block),e.renderer.rules.katex.delimiter=g},Z0={versions:{katex:"0.16.0",webfontloader:"1.6.28"},preloadScripts:[{type:"script",data:{src:"https://cdn.jsdelivr.net/npm/katex@0.16.0/dist/katex.min.js"}}],scripts:[{type:"iife",data:{fn:e=>{window.WebFontConfig={custom:{families:["KaTeX_AMS","KaTeX_Caligraphic:n4,n7","KaTeX_Fraktur:n4,n7","KaTeX_Main:n4,n7,i4,i7","KaTeX_Math:i4,i7","KaTeX_Script","KaTeX_SansSerif:n4,n7,i4","KaTeX_Size1","KaTeX_Size2","KaTeX_Size3","KaTeX_Size4","KaTeX_Typewriter"]},active:()=>{e().refreshHook.call()}}},getParams({getMarkmap:e}){return[e]}}},{type:"script",data:{src:"https://cdn.jsdelivr.net/npm/webfontloader@1.6.28/webfontloader.js",defer:!0}}],styles:[{type:"stylesheet",data:{href:"https://cdn.jsdelivr.net/npm/katex@0.16.0/dist/katex.min.css"}}]};const rr="https://cdn.jsdelivr.net/npm/";function xi(e,a,o){return e.map(f=>(typeof f=="string"&&(f.startsWith(`${a}/`)?f=`${rr}${a}@${o}${f.slice(a.length)}`:f.startsWith(`${a}@`)&&(f=`${rr}${f}`)),f))}function yi(){return{parser:new T,beforeParse:new T,afterParse:new T,htmltag:new T,retransform:new T}}function wl(e){return e}let J0;const Q0=()=>(J0||(J0=ur(Z0.preloadScripts)),J0),Fe="katex";var Mt={name:Fe,config:Z0,transform(e){const a=(f,c)=>{const{katex:g}=window;return g?g.renderToString(f,{displayMode:c,throwOnError:!1}):(Q0().then(()=>{e.retransform.call()}),f)};let o=()=>{};return e.parser.tap(f=>{f.use(cu),f.renderer.rules.katex=(c,g)=>(o(),a(c[g].content,c[g].block))}),e.beforeParse.tap((f,c)=>{o=()=>{c.features[Fe]=!0}}),e.afterParse.tap((f,c)=>{const{frontmatter:g}=c;g!=null&&g.markmap&&["extraJs","extraCss"].forEach(y=>{g.markmap[y]&&(g.markmap[y]=xi(g.markmap[y],Fe,Z0.versions.katex))})}),{styles:Z0.styles,scripts:Z0.scripts}}},et={versions:{prismjs:"1.28.0"},preloadScripts:[{type:"script",data:{src:"https://cdn.jsdelivr.net/npm/prismjs@1.28.0/components/prism-core.min.js"}},{type:"script",data:{src:"https://cdn.jsdelivr.net/npm/prismjs@1.28.0/plugins/autoloader/prism-autoloader.min.js"}}],styles:[{type:"stylesheet",data:{href:"https://cdn.jsdelivr.net/npm/prismjs@1.28.0/themes/prism.css"}}]};let Tt;const _r=()=>(Tt||(Tt=ur(et.preloadScripts)),Tt);function rt(e,a){_r().then(()=>{window.Prism.plugins.autoloader.loadLanguages([e],()=>{a.retransform.call()})})}const bi="prism";var te={name:bi,config:et,transform(e){let a=()=>{};return e.parser.tap(o=>{o.set({highlight:(f,c)=>{var g;a();const{Prism:y}=window,A=y==null||(g=y.languages)==null?void 0:g[c];return A?y.highlight(f,A,c):(rt(c,e),"")}})}),e.beforeParse.tap((o,f)=>{a=()=>{f.features[bi]=!0}}),{styles:et.styles}}};/*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */function kr(e){return typeof e>"u"||e===null}function cn(e){return typeof e=="object"&&e!==null}function hn(e){return Array.isArray(e)?e:kr(e)?[]:[e]}function yr(e,a){var o,f,c,g;if(a)for(g=Object.keys(a),o=0,f=g.length;o<f;o+=1)c=g[o],e[c]=a[c];return e}function a0(e,a){var o="",f;for(f=0;f<a;f+=1)o+=e;return o}function Pe(e){return e===0&&Number.NEGATIVE_INFINITY===1/e}var wi=kr,Ai=cn,ki=hn,hu=a0,fu=Pe,pu=yr,nr={isNothing:wi,isObject:Ai,toArray:ki,repeat:hu,isNegativeZero:fu,extend:pu};function Si(e,a){var o="",f=e.reason||"(unknown reason)";return e.mark?(e.mark.name&&(o+='in "'+e.mark.name+'" '),o+="("+(e.mark.line+1)+":"+(e.mark.column+1)+")",!a&&e.mark.snippet&&(o+=`
`+e.mark.snippet),f+" "+o):f}function tt(e,a){Error.call(this),this.name="YAMLException",this.reason=e,this.mark=a,this.message=Si(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}tt.prototype=Object.create(Error.prototype),tt.prototype.constructor=tt,tt.prototype.toString=function(a){return this.name+": "+Si(this,a)};var fr=tt;function fn(e,a,o,f,c){var g="",y="",A=Math.floor(c/2)-1;return f-a>A&&(g=" ... ",a=f-A+g.length),o-f>A&&(y=" ...",o=f+A-y.length),{str:g+e.slice(a,o).replace(/\t/g,"→")+y,pos:f-a+g.length}}function Pr(e,a){return nr.repeat(" ",a-e.length)+e}function Ee(e,a){if(a=Object.create(a||null),!e.buffer)return null;a.maxLength||(a.maxLength=79),typeof a.indent!="number"&&(a.indent=1),typeof a.linesBefore!="number"&&(a.linesBefore=3),typeof a.linesAfter!="number"&&(a.linesAfter=2);for(var o=/\r?\n|\r|\0/g,f=[0],c=[],g,y=-1;g=o.exec(e.buffer);)c.push(g.index),f.push(g.index+g[0].length),e.position<=g.index&&y<0&&(y=f.length-2);y<0&&(y=f.length-1);var A="",B,I,N=Math.min(e.line+a.linesAfter,c.length).toString().length,H=a.maxLength-(a.indent+N+3);for(B=1;B<=a.linesBefore&&!(y-B<0);B++)I=fn(e.buffer,f[y-B],c[y-B],e.position-(f[y]-f[y-B]),H),A=nr.repeat(" ",a.indent)+Pr((e.line-B+1).toString(),N)+" | "+I.str+`
`+A;for(I=fn(e.buffer,f[y],c[y],e.position,H),A+=nr.repeat(" ",a.indent)+Pr((e.line+1).toString(),N)+" | "+I.str+`
`,A+=nr.repeat("-",a.indent+N+3+I.pos)+`^
`,B=1;B<=a.linesAfter&&!(y+B>=c.length);B++)I=fn(e.buffer,f[y+B],c[y+B],e.position-(f[y]-f[y+B]),H),A+=nr.repeat(" ",a.indent)+Pr((e.line+B+1).toString(),N)+" | "+I.str+`
`;return A.replace(/\n$/,"")}var pn=Ee,_t=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],dn=["scalar","sequence","mapping"];function Ci(e){var a={};return e!==null&&Object.keys(e).forEach(function(o){e[o].forEach(function(f){a[String(f)]=o})}),a}function du(e,a){if(a=a||{},Object.keys(a).forEach(function(o){if(_t.indexOf(o)===-1)throw new fr('Unknown option "'+o+'" is met in definition of "'+e+'" YAML type.')}),this.options=a,this.tag=e,this.kind=a.kind||null,this.resolve=a.resolve||function(){return!0},this.construct=a.construct||function(o){return o},this.instanceOf=a.instanceOf||null,this.predicate=a.predicate||null,this.represent=a.represent||null,this.representName=a.representName||null,this.defaultStyle=a.defaultStyle||null,this.multi=a.multi||!1,this.styleAliases=Ci(a.styleAliases||null),dn.indexOf(this.kind)===-1)throw new fr('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}var tr=du;function Di(e,a){var o=[];return e[a].forEach(function(f){var c=o.length;o.forEach(function(g,y){g.tag===f.tag&&g.kind===f.kind&&g.multi===f.multi&&(c=y)}),o[c]=f}),o}function Ei(){var e={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},a,o;function f(c){c.multi?(e.multi[c.kind].push(c),e.multi.fallback.push(c)):e[c.kind][c.tag]=e.fallback[c.tag]=c}for(a=0,o=arguments.length;a<o;a+=1)arguments[a].forEach(f);return e}function zt(e){return this.extend(e)}zt.prototype.extend=function(a){var o=[],f=[];if(a instanceof tr)f.push(a);else if(Array.isArray(a))f=f.concat(a);else if(a&&(Array.isArray(a.implicit)||Array.isArray(a.explicit)))a.implicit&&(o=o.concat(a.implicit)),a.explicit&&(f=f.concat(a.explicit));else throw new fr("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");o.forEach(function(g){if(!(g instanceof tr))throw new fr("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(g.loadKind&&g.loadKind!=="scalar")throw new fr("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(g.multi)throw new fr("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),f.forEach(function(g){if(!(g instanceof tr))throw new fr("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var c=Object.create(zt.prototype);return c.implicit=(this.implicit||[]).concat(o),c.explicit=(this.explicit||[]).concat(f),c.compiledImplicit=Di(c,"implicit"),c.compiledExplicit=Di(c,"explicit"),c.compiledTypeMap=Ei(c.compiledImplicit,c.compiledExplicit),c};var nt=zt,Bi=new tr("tag:yaml.org,2002:str",{kind:"scalar",construct:function(e){return e!==null?e:""}}),mn=new tr("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(e){return e!==null?e:[]}}),vn=new tr("tag:yaml.org,2002:map",{kind:"mapping",construct:function(e){return e!==null?e:{}}}),Mi=new nt({explicit:[Bi,mn,vn]});function mu(e){if(e===null)return!0;var a=e.length;return a===1&&e==="~"||a===4&&(e==="null"||e==="Null"||e==="NULL")}function vu(){return null}function Ti(e){return e===null}var gn=new tr("tag:yaml.org,2002:null",{kind:"scalar",resolve:mu,construct:vu,predicate:Ti,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"});function xn(e){if(e===null)return!1;var a=e.length;return a===4&&(e==="true"||e==="True"||e==="TRUE")||a===5&&(e==="false"||e==="False"||e==="FALSE")}function _i(e){return e==="true"||e==="True"||e==="TRUE"}function gu(e){return Object.prototype.toString.call(e)==="[object Boolean]"}var yn=new tr("tag:yaml.org,2002:bool",{kind:"scalar",resolve:xn,construct:_i,predicate:gu,represent:{lowercase:function(e){return e?"true":"false"},uppercase:function(e){return e?"TRUE":"FALSE"},camelcase:function(e){return e?"True":"False"}},defaultStyle:"lowercase"});function it(e){return 48<=e&&e<=57||65<=e&&e<=70||97<=e&&e<=102}function bn(e){return 48<=e&&e<=55}function zi(e){return 48<=e&&e<=57}function xu(e){if(e===null)return!1;var a=e.length,o=0,f=!1,c;if(!a)return!1;if(c=e[o],(c==="-"||c==="+")&&(c=e[++o]),c==="0"){if(o+1===a)return!0;if(c=e[++o],c==="b"){for(o++;o<a;o++)if(c=e[o],c!=="_"){if(c!=="0"&&c!=="1")return!1;f=!0}return f&&c!=="_"}if(c==="x"){for(o++;o<a;o++)if(c=e[o],c!=="_"){if(!it(e.charCodeAt(o)))return!1;f=!0}return f&&c!=="_"}if(c==="o"){for(o++;o<a;o++)if(c=e[o],c!=="_"){if(!bn(e.charCodeAt(o)))return!1;f=!0}return f&&c!=="_"}}if(c==="_")return!1;for(;o<a;o++)if(c=e[o],c!=="_"){if(!zi(e.charCodeAt(o)))return!1;f=!0}return!(!f||c==="_")}function yu(e){var a=e,o=1,f;if(a.indexOf("_")!==-1&&(a=a.replace(/_/g,"")),f=a[0],(f==="-"||f==="+")&&(f==="-"&&(o=-1),a=a.slice(1),f=a[0]),a==="0")return 0;if(f==="0"){if(a[1]==="b")return o*parseInt(a.slice(2),2);if(a[1]==="x")return o*parseInt(a.slice(2),16);if(a[1]==="o")return o*parseInt(a.slice(2),8)}return o*parseInt(a,10)}function Fi(e){return Object.prototype.toString.call(e)==="[object Number]"&&e%1===0&&!nr.isNegativeZero(e)}var Ft=new tr("tag:yaml.org,2002:int",{kind:"scalar",resolve:xu,construct:yu,predicate:Fi,represent:{binary:function(e){return e>=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0o"+e.toString(8):"-0o"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),wn=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function An(e){return!(e===null||!wn.test(e)||e[e.length-1]==="_")}function Nt(e){var a,o;return a=e.replace(/_/g,"").toLowerCase(),o=a[0]==="-"?-1:1,"+-".indexOf(a[0])>=0&&(a=a.slice(1)),a===".inf"?o===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:a===".nan"?NaN:o*parseFloat(a,10)}var bu=/^[-+]?[0-9]+e/;function wu(e,a){var o;if(isNaN(e))switch(a){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(a){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(a){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(nr.isNegativeZero(e))return"-0.0";return o=e.toString(10),bu.test(o)?o.replace("e",".e"):o}function Ni(e){return Object.prototype.toString.call(e)==="[object Number]"&&(e%1!==0||nr.isNegativeZero(e))}var qt=new tr("tag:yaml.org,2002:float",{kind:"scalar",resolve:An,construct:Nt,predicate:Ni,represent:wu,defaultStyle:"lowercase"}),It=Mi.extend({implicit:[gn,yn,Ft,qt]}),Rt=It,qi=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),kn=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function Au(e){return e===null?!1:qi.exec(e)!==null||kn.exec(e)!==null}function Ii(e){var a,o,f,c,g,y,A,B=0,I=null,N,H,Z;if(a=qi.exec(e),a===null&&(a=kn.exec(e)),a===null)throw new Error("Date resolve error");if(o=+a[1],f=+a[2]-1,c=+a[3],!a[4])return new Date(Date.UTC(o,f,c));if(g=+a[4],y=+a[5],A=+a[6],a[7]){for(B=a[7].slice(0,3);B.length<3;)B+="0";B=+B}return a[9]&&(N=+a[10],H=+(a[11]||0),I=(N*60+H)*6e4,a[9]==="-"&&(I=-I)),Z=new Date(Date.UTC(o,f,c,g,y,A,B)),I&&Z.setTime(Z.getTime()-I),Z}function at(e){return e.toISOString()}var Ri=new tr("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:Au,construct:Ii,instanceOf:Date,represent:at});function ku(e){return e==="<<"||e===null}var Oi=new tr("tag:yaml.org,2002:merge",{kind:"scalar",resolve:ku}),Ot=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
\r`;function Su(e){if(e===null)return!1;var a,o,f=0,c=e.length,g=Ot;for(o=0;o<c;o++)if(a=g.indexOf(e.charAt(o)),!(a>64)){if(a<0)return!1;f+=6}return f%8===0}function Li(e){var a,o,f=e.replace(/[\r\n=]/g,""),c=f.length,g=Ot,y=0,A=[];for(a=0;a<c;a++)a%4===0&&a&&(A.push(y>>16&255),A.push(y>>8&255),A.push(y&255)),y=y<<6|g.indexOf(f.charAt(a));return o=c%4*6,o===0?(A.push(y>>16&255),A.push(y>>8&255),A.push(y&255)):o===18?(A.push(y>>10&255),A.push(y>>2&255)):o===12&&A.push(y>>4&255),new Uint8Array(A)}function Pi(e){var a="",o=0,f,c,g=e.length,y=Ot;for(f=0;f<g;f++)f%3===0&&f&&(a+=y[o>>18&63],a+=y[o>>12&63],a+=y[o>>6&63],a+=y[o&63]),o=(o<<8)+e[f];return c=g%3,c===0?(a+=y[o>>18&63],a+=y[o>>12&63],a+=y[o>>6&63],a+=y[o&63]):c===2?(a+=y[o>>10&63],a+=y[o>>4&63],a+=y[o<<2&63],a+=y[64]):c===1&&(a+=y[o>>2&63],a+=y[o<<4&63],a+=y[64],a+=y[64]),a}function Cu(e){return Object.prototype.toString.call(e)==="[object Uint8Array]"}var Yr=new tr("tag:yaml.org,2002:binary",{kind:"scalar",resolve:Su,construct:Li,predicate:Cu,represent:Pi}),Hi=Object.prototype.hasOwnProperty,Du=Object.prototype.toString;function Lt(e){if(e===null)return!0;var a=[],o,f,c,g,y,A=e;for(o=0,f=A.length;o<f;o+=1){if(c=A[o],y=!1,Du.call(c)!=="[object Object]")return!1;for(g in c)if(Hi.call(c,g))if(!y)y=!0;else return!1;if(!y)return!1;if(a.indexOf(g)===-1)a.push(g);else return!1}return!0}function Ui(e){return e!==null?e:[]}var Pt=new tr("tag:yaml.org,2002:omap",{kind:"sequence",resolve:Lt,construct:Ui}),Sn=Object.prototype.toString;function Vi(e){if(e===null)return!0;var a,o,f,c,g,y=e;for(g=new Array(y.length),a=0,o=y.length;a<o;a+=1){if(f=y[a],Sn.call(f)!=="[object Object]"||(c=Object.keys(f),c.length!==1))return!1;g[a]=[c[0],f[c[0]]]}return!0}function Xr(e){if(e===null)return[];var a,o,f,c,g,y=e;for(g=new Array(y.length),a=0,o=y.length;a<o;a+=1)f=y[a],c=Object.keys(f),g[a]=[c[0],f[c[0]]];return g}var Cn=new tr("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:Vi,construct:Xr}),D=Object.prototype.hasOwnProperty;function Hr(e){if(e===null)return!0;var a,o=e;for(a in o)if(D.call(o,a)&&o[a]!==null)return!1;return!0}function u0(e){return e!==null?e:{}}var Dn=new tr("tag:yaml.org,2002:set",{kind:"mapping",resolve:Hr,construct:u0}),T0=Rt.extend({implicit:[Ri,Oi],explicit:[Yr,Pt,Cn,Dn]}),jr=Object.prototype.hasOwnProperty,Ur=1,Ht=2,Vr=3,Ut=4,zr=1,Gi=2,$i=3,Yi=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,Xi=/[\x85\u2028\u2029]/,ji=/[,\[\]\{\}]/,En=/^(?:!|!!|![a-z\-]+!)$/i,Bn=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function Vt(e){return Object.prototype.toString.call(e)}function Fr(e){return e===10||e===13}function l0(e){return e===9||e===32}function pr(e){return e===9||e===32||e===10||e===13}function k0(e){return e===44||e===91||e===93||e===123||e===125}function Eu(e){var a;return 48<=e&&e<=57?e-48:(a=e|32,97<=a&&a<=102?a-97+10:-1)}function Mn(e){return e===120?2:e===117?4:e===85?8:0}function Wi(e){return 48<=e&&e<=57?e-48:-1}function Tn(e){return e===48?"\0":e===97?"\x07":e===98?"\b":e===116||e===9?" ":e===110?`
`:e===118?"\v":e===102?"\f":e===114?"\r":e===101?"\x1B":e===32?" ":e===34?'"':e===47?"/":e===92?"\\":e===78?"…":e===95?" ":e===76?"\u2028":e===80?"\u2029":""}function Ki(e){return e<=65535?String.fromCharCode(e):String.fromCharCode((e-65536>>10)+55296,(e-65536&1023)+56320)}for(var S0=new Array(256),_0=new Array(256),z0=0;z0<256;z0++)S0[z0]=Tn(z0)?1:0,_0[z0]=Tn(z0);function Bu(e,a){this.input=e,this.filename=a.filename||null,this.schema=a.schema||T0,this.onWarning=a.onWarning||null,this.legacy=a.legacy||!1,this.json=a.json||!1,this.listener=a.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function _n(e,a){var o={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};return o.snippet=pn(o),new fr(a,o)}function me(e,a){throw _n(e,a)}function ut(e,a){e.onWarning&&e.onWarning.call(null,_n(e,a))}var zn={YAML:function(a,o,f){var c,g,y;a.version!==null&&me(a,"duplication of %YAML directive"),f.length!==1&&me(a,"YAML directive accepts exactly one argument"),c=/^([0-9]+)\.([0-9]+)$/.exec(f[0]),c===null&&me(a,"ill-formed argument of the YAML directive"),g=parseInt(c[1],10),y=parseInt(c[2],10),g!==1&&me(a,"unacceptable YAML version of the document"),a.version=f[0],a.checkLineBreaks=y<2,y!==1&&y!==2&&ut(a,"unsupported YAML version of the document")},TAG:function(a,o,f){var c,g;f.length!==2&&me(a,"TAG directive accepts exactly two arguments"),c=f[0],g=f[1],En.test(c)||me(a,"ill-formed tag handle (first argument) of the TAG directive"),jr.call(a.tagMap,c)&&me(a,'there is a previously declared suffix for "'+c+'" tag handle'),Bn.test(g)||me(a,"ill-formed tag prefix (second argument) of the TAG directive");try{g=decodeURIComponent(g)}catch{me(a,"tag prefix is malformed: "+g)}a.tagMap[c]=g}};function o0(e,a,o,f){var c,g,y,A;if(a<o){if(A=e.input.slice(a,o),f)for(c=0,g=A.length;c<g;c+=1)y=A.charCodeAt(c),y===9||32<=y&&y<=1114111||me(e,"expected valid JSON character");else Yi.test(A)&&me(e,"the stream contains non-printable characters");e.result+=A}}function Fn(e,a,o,f){var c,g,y,A;for(nr.isObject(o)||me(e,"cannot merge mappings; the provided source object is unacceptable"),c=Object.keys(o),y=0,A=c.length;y<A;y+=1)g=c[y],jr.call(a,g)||(a[g]=o[g],f[g]=!0)}function F0(e,a,o,f,c,g,y,A,B){var I,N;if(Array.isArray(c))for(c=Array.prototype.slice.call(c),I=0,N=c.length;I<N;I+=1)Array.isArray(c[I])&&me(e,"nested arrays are not supported inside keys"),typeof c=="object"&&Vt(c[I])==="[object Object]"&&(c[I]="[object Object]");if(typeof c=="object"&&Vt(c)==="[object Object]"&&(c="[object Object]"),c=String(c),a===null&&(a={}),f==="tag:yaml.org,2002:merge")if(Array.isArray(g))for(I=0,N=g.length;I<N;I+=1)Fn(e,a,g[I],o);else Fn(e,a,g,o);else!e.json&&!jr.call(o,c)&&jr.call(a,c)&&(e.line=y||e.line,e.lineStart=A||e.lineStart,e.position=B||e.position,me(e,"duplicated mapping key")),c==="__proto__"?Object.defineProperty(a,c,{configurable:!0,enumerable:!0,writable:!0,value:g}):a[c]=g,delete o[c];return a}function Gt(e){var a;a=e.input.charCodeAt(e.position),a===10?e.position++:a===13?(e.position++,e.input.charCodeAt(e.position)===10&&e.position++):me(e,"a line break is expected"),e.line+=1,e.lineStart=e.position,e.firstTabInLine=-1}function Je(e,a,o){for(var f=0,c=e.input.charCodeAt(e.position);c!==0;){for(;l0(c);)c===9&&e.firstTabInLine===-1&&(e.firstTabInLine=e.position),c=e.input.charCodeAt(++e.position);if(a&&c===35)do c=e.input.charCodeAt(++e.position);while(c!==10&&c!==13&&c!==0);if(Fr(c))for(Gt(e),c=e.input.charCodeAt(e.position),f++,e.lineIndent=0;c===32;)e.lineIndent++,c=e.input.charCodeAt(++e.position);else break}return o!==-1&&f!==0&&e.lineIndent<o&&ut(e,"deficient indentation"),f}function N0(e){var a=e.position,o;return o=e.input.charCodeAt(a),!!((o===45||o===46)&&o===e.input.charCodeAt(a+1)&&o===e.input.charCodeAt(a+2)&&(a+=3,o=e.input.charCodeAt(a),o===0||pr(o)))}function $t(e,a){a===1?e.result+=" ":a>1&&(e.result+=nr.repeat(`
`,a-1))}function Zi(e,a,o){var f,c,g,y,A,B,I,N,H=e.kind,Z=e.result,J;if(J=e.input.charCodeAt(e.position),pr(J)||k0(J)||J===35||J===38||J===42||J===33||J===124||J===62||J===39||J===34||J===37||J===64||J===96||(J===63||J===45)&&(c=e.input.charCodeAt(e.position+1),pr(c)||o&&k0(c)))return!1;for(e.kind="scalar",e.result="",g=y=e.position,A=!1;J!==0;){if(J===58){if(c=e.input.charCodeAt(e.position+1),pr(c)||o&&k0(c))break}else if(J===35){if(f=e.input.charCodeAt(e.position-1),pr(f))break}else{if(e.position===e.lineStart&&N0(e)||o&&k0(J))break;if(Fr(J))if(B=e.line,I=e.lineStart,N=e.lineIndent,Je(e,!1,-1),e.lineIndent>=a){A=!0,J=e.input.charCodeAt(e.position);continue}else{e.position=y,e.line=B,e.lineStart=I,e.lineIndent=N;break}}A&&(o0(e,g,y,!1),$t(e,e.line-B),g=y=e.position,A=!1),l0(J)||(y=e.position+1),J=e.input.charCodeAt(++e.position)}return o0(e,g,y,!1),e.result?!0:(e.kind=H,e.result=Z,!1)}function Ji(e,a){var o,f,c;if(o=e.input.charCodeAt(e.position),o!==39)return!1;for(e.kind="scalar",e.result="",e.position++,f=c=e.position;(o=e.input.charCodeAt(e.position))!==0;)if(o===39)if(o0(e,f,e.position,!0),o=e.input.charCodeAt(++e.position),o===39)f=e.position,e.position++,c=e.position;else return!0;else Fr(o)?(o0(e,f,c,!0),$t(e,Je(e,!1,a)),f=c=e.position):e.position===e.lineStart&&N0(e)?me(e,"unexpected end of the document within a single quoted scalar"):(e.position++,c=e.position);me(e,"unexpected end of the stream within a single quoted scalar")}function Mu(e,a){var o,f,c,g,y,A;if(A=e.input.charCodeAt(e.position),A!==34)return!1;for(e.kind="scalar",e.result="",e.position++,o=f=e.position;(A=e.input.charCodeAt(e.position))!==0;){if(A===34)return o0(e,o,e.position,!0),e.position++,!0;if(A===92){if(o0(e,o,e.position,!0),A=e.input.charCodeAt(++e.position),Fr(A))Je(e,!1,a);else if(A<256&&S0[A])e.result+=_0[A],e.position++;else if((y=Mn(A))>0){for(c=y,g=0;c>0;c--)A=e.input.charCodeAt(++e.position),(y=Eu(A))>=0?g=(g<<4)+y:me(e,"expected hexadecimal character");e.result+=Ki(g),e.position++}else me(e,"unknown escape sequence");o=f=e.position}else Fr(A)?(o0(e,o,f,!0),$t(e,Je(e,!1,a)),o=f=e.position):e.position===e.lineStart&&N0(e)?me(e,"unexpected end of the document within a double quoted scalar"):(e.position++,f=e.position)}me(e,"unexpected end of the stream within a double quoted scalar")}function Qi(e,a){var o=!0,f,c,g,y=e.tag,A,B=e.anchor,I,N,H,Z,J,ne=Object.create(null),se,xe,Be,Me;if(Me=e.input.charCodeAt(e.position),Me===91)N=93,J=!1,A=[];else if(Me===123)N=125,J=!0,A={};else return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=A),Me=e.input.charCodeAt(++e.position);Me!==0;){if(Je(e,!0,a),Me=e.input.charCodeAt(e.position),Me===N)return e.position++,e.tag=y,e.anchor=B,e.kind=J?"mapping":"sequence",e.result=A,!0;o?Me===44&&me(e,"expected the node content, but found ','"):me(e,"missed comma between flow collection entries"),xe=se=Be=null,H=Z=!1,Me===63&&(I=e.input.charCodeAt(e.position+1),pr(I)&&(H=Z=!0,e.position++,Je(e,!0,a))),f=e.line,c=e.lineStart,g=e.position,q0(e,a,Ur,!1,!0),xe=e.tag,se=e.result,Je(e,!0,a),Me=e.input.charCodeAt(e.position),(Z||e.line===f)&&Me===58&&(H=!0,Me=e.input.charCodeAt(++e.position),Je(e,!0,a),q0(e,a,Ur,!1,!0),Be=e.result),J?F0(e,A,ne,xe,se,Be,f,c,g):H?A.push(F0(e,null,ne,xe,se,Be,f,c,g)):A.push(se),Je(e,!0,a),Me=e.input.charCodeAt(e.position),Me===44?(o=!0,Me=e.input.charCodeAt(++e.position)):o=!1}me(e,"unexpected end of the stream within a flow collection")}function ea(e,a){var o,f,c=zr,g=!1,y=!1,A=a,B=0,I=!1,N,H;if(H=e.input.charCodeAt(e.position),H===124)f=!1;else if(H===62)f=!0;else return!1;for(e.kind="scalar",e.result="";H!==0;)if(H=e.input.charCodeAt(++e.position),H===43||H===45)zr===c?c=H===43?$i:Gi:me(e,"repeat of a chomping mode identifier");else if((N=Wi(H))>=0)N===0?me(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):y?me(e,"repeat of an indentation width identifier"):(A=a+N-1,y=!0);else break;if(l0(H)){do H=e.input.charCodeAt(++e.position);while(l0(H));if(H===35)do H=e.input.charCodeAt(++e.position);while(!Fr(H)&&H!==0)}for(;H!==0;){for(Gt(e),e.lineIndent=0,H=e.input.charCodeAt(e.position);(!y||e.lineIndent<A)&&H===32;)e.lineIndent++,H=e.input.charCodeAt(++e.position);if(!y&&e.lineIndent>A&&(A=e.lineIndent),Fr(H)){B++;continue}if(e.lineIndent<A){c===$i?e.result+=nr.repeat(`
`,g?1+B:B):c===zr&&g&&(e.result+=`
`);break}for(f?l0(H)?(I=!0,e.result+=nr.repeat(`
`,g?1+B:B)):I?(I=!1,e.result+=nr.repeat(`
`,B+1)):B===0?g&&(e.result+=" "):e.result+=nr.repeat(`
`,B):e.result+=nr.repeat(`
`,g?1+B:B),g=!0,y=!0,B=0,o=e.position;!Fr(H)&&H!==0;)H=e.input.charCodeAt(++e.position);o0(e,o,e.position,!1)}return!0}function ra(e,a){var o,f=e.tag,c=e.anchor,g=[],y,A=!1,B;if(e.firstTabInLine!==-1)return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=g),B=e.input.charCodeAt(e.position);B!==0&&(e.firstTabInLine!==-1&&(e.position=e.firstTabInLine,me(e,"tab characters must not be used in indentation")),!(B!==45||(y=e.input.charCodeAt(e.position+1),!pr(y))));){if(A=!0,e.position++,Je(e,!0,-1)&&e.lineIndent<=a){g.push(null),B=e.input.charCodeAt(e.position);continue}if(o=e.line,q0(e,a,Vr,!1,!0),g.push(e.result),Je(e,!0,-1),B=e.input.charCodeAt(e.position),(e.line===o||e.lineIndent>a)&&B!==0)me(e,"bad indentation of a sequence entry");else if(e.lineIndent<a)break}return A?(e.tag=f,e.anchor=c,e.kind="sequence",e.result=g,!0):!1}function s0(e,a,o){var f,c,g,y,A,B,I=e.tag,N=e.anchor,H={},Z=Object.create(null),J=null,ne=null,se=null,xe=!1,Be=!1,Me;if(e.firstTabInLine!==-1)return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=H),Me=e.input.charCodeAt(e.position);Me!==0;){if(!xe&&e.firstTabInLine!==-1&&(e.position=e.firstTabInLine,me(e,"tab characters must not be used in indentation")),f=e.input.charCodeAt(e.position+1),g=e.line,(Me===63||Me===58)&&pr(f))Me===63?(xe&&(F0(e,H,Z,J,ne,null,y,A,B),J=ne=se=null),Be=!0,xe=!0,c=!0):xe?(xe=!1,c=!0):me(e,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),e.position+=1,Me=f;else{if(y=e.line,A=e.lineStart,B=e.position,!q0(e,o,Ht,!1,!0))break;if(e.line===g){for(Me=e.input.charCodeAt(e.position);l0(Me);)Me=e.input.charCodeAt(++e.position);if(Me===58)Me=e.input.charCodeAt(++e.position),pr(Me)||me(e,"a whitespace character is expected after the key-value separator within a block mapping"),xe&&(F0(e,H,Z,J,ne,null,y,A,B),J=ne=se=null),Be=!0,xe=!1,c=!1,J=e.tag,ne=e.result;else if(Be)me(e,"can not read an implicit mapping pair; a colon is missed");else return e.tag=I,e.anchor=N,!0}else if(Be)me(e,"can not read a block mapping entry; a multiline key may not be an implicit key");else return e.tag=I,e.anchor=N,!0}if((e.line===g||e.lineIndent>a)&&(xe&&(y=e.line,A=e.lineStart,B=e.position),q0(e,a,Ut,!0,c)&&(xe?ne=e.result:se=e.result),xe||(F0(e,H,Z,J,ne,se,y,A,B),J=ne=se=null),Je(e,!0,-1),Me=e.input.charCodeAt(e.position)),(e.line===g||e.lineIndent>a)&&Me!==0)me(e,"bad indentation of a mapping entry");else if(e.lineIndent<a)break}return xe&&F0(e,H,Z,J,ne,null,y,A,B),Be&&(e.tag=I,e.anchor=N,e.kind="mapping",e.result=H),Be}function ta(e){var a,o=!1,f=!1,c,g,y;if(y=e.input.charCodeAt(e.position),y!==33)return!1;if(e.tag!==null&&me(e,"duplication of a tag property"),y=e.input.charCodeAt(++e.position),y===60?(o=!0,y=e.input.charCodeAt(++e.position)):y===33?(f=!0,c="!!",y=e.input.charCodeAt(++e.position)):c="!",a=e.position,o){do y=e.input.charCodeAt(++e.position);while(y!==0&&y!==62);e.position<e.length?(g=e.input.slice(a,e.position),y=e.input.charCodeAt(++e.position)):me(e,"unexpected end of the stream within a verbatim tag")}else{for(;y!==0&&!pr(y);)y===33&&(f?me(e,"tag suffix cannot contain exclamation marks"):(c=e.input.slice(a-1,e.position+1),En.test(c)||me(e,"named tag handle cannot contain such characters"),f=!0,a=e.position+1)),y=e.input.charCodeAt(++e.position);g=e.input.slice(a,e.position),ji.test(g)&&me(e,"tag suffix cannot contain flow indicator characters")}g&&!Bn.test(g)&&me(e,"tag name cannot contain such characters: "+g);try{g=decodeURIComponent(g)}catch{me(e,"tag name is malformed: "+g)}return o?e.tag=g:jr.call(e.tagMap,c)?e.tag=e.tagMap[c]+g:c==="!"?e.tag="!"+g:c==="!!"?e.tag="tag:yaml.org,2002:"+g:me(e,'undeclared tag handle "'+c+'"'),!0}function Tu(e){var a,o;if(o=e.input.charCodeAt(e.position),o!==38)return!1;for(e.anchor!==null&&me(e,"duplication of an anchor property"),o=e.input.charCodeAt(++e.position),a=e.position;o!==0&&!pr(o)&&!k0(o);)o=e.input.charCodeAt(++e.position);return e.position===a&&me(e,"name of an anchor node must contain at least one character"),e.anchor=e.input.slice(a,e.position),!0}function _u(e){var a,o,f;if(f=e.input.charCodeAt(e.position),f!==42)return!1;for(f=e.input.charCodeAt(++e.position),a=e.position;f!==0&&!pr(f)&&!k0(f);)f=e.input.charCodeAt(++e.position);return e.position===a&&me(e,"name of an alias node must contain at least one character"),o=e.input.slice(a,e.position),jr.call(e.anchorMap,o)||me(e,'unidentified alias "'+o+'"'),e.result=e.anchorMap[o],Je(e,!0,-1),!0}function q0(e,a,o,f,c){var g,y,A,B=1,I=!1,N=!1,H,Z,J,ne,se,xe;if(e.listener!==null&&e.listener("open",e),e.tag=null,e.anchor=null,e.kind=null,e.result=null,g=y=A=Ut===o||Vr===o,f&&Je(e,!0,-1)&&(I=!0,e.lineIndent>a?B=1:e.lineIndent===a?B=0:e.lineIndent<a&&(B=-1)),B===1)for(;ta(e)||Tu(e);)Je(e,!0,-1)?(I=!0,A=g,e.lineIndent>a?B=1:e.lineIndent===a?B=0:e.lineIndent<a&&(B=-1)):A=!1;if(A&&(A=I||c),(B===1||Ut===o)&&(Ur===o||Ht===o?se=a:se=a+1,xe=e.position-e.lineStart,B===1?A&&(ra(e,xe)||s0(e,xe,se))||Qi(e,se)?N=!0:(y&&ea(e,se)||Ji(e,se)||Mu(e,se)?N=!0:_u(e)?(N=!0,(e.tag!==null||e.anchor!==null)&&me(e,"alias node should not have any properties")):Zi(e,se,Ur===o)&&(N=!0,e.tag===null&&(e.tag="?")),e.anchor!==null&&(e.anchorMap[e.anchor]=e.result)):B===0&&(N=A&&ra(e,xe))),e.tag===null)e.anchor!==null&&(e.anchorMap[e.anchor]=e.result);else if(e.tag==="?"){for(e.result!==null&&e.kind!=="scalar"&&me(e,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+e.kind+'"'),H=0,Z=e.implicitTypes.length;H<Z;H+=1)if(ne=e.implicitTypes[H],ne.resolve(e.result)){e.result=ne.construct(e.result),e.tag=ne.tag,e.anchor!==null&&(e.anchorMap[e.anchor]=e.result);break}}else if(e.tag!=="!"){if(jr.call(e.typeMap[e.kind||"fallback"],e.tag))ne=e.typeMap[e.kind||"fallback"][e.tag];else for(ne=null,J=e.typeMap.multi[e.kind||"fallback"],H=0,Z=J.length;H<Z;H+=1)if(e.tag.slice(0,J[H].tag.length)===J[H].tag){ne=J[H];break}ne||me(e,"unknown tag !<"+e.tag+">"),e.result!==null&&ne.kind!==e.kind&&me(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+ne.kind+'", not "'+e.kind+'"'),ne.resolve(e.result,e.tag)?(e.result=ne.construct(e.result,e.tag),e.anchor!==null&&(e.anchorMap[e.anchor]=e.result)):me(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}return e.listener!==null&&e.listener("close",e),e.tag!==null||e.anchor!==null||N}function zu(e){var a=e.position,o,f,c,g=!1,y;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap=Object.create(null),e.anchorMap=Object.create(null);(y=e.input.charCodeAt(e.position))!==0&&(Je(e,!0,-1),y=e.input.charCodeAt(e.position),!(e.lineIndent>0||y!==37));){for(g=!0,y=e.input.charCodeAt(++e.position),o=e.position;y!==0&&!pr(y);)y=e.input.charCodeAt(++e.position);for(f=e.input.slice(o,e.position),c=[],f.length<1&&me(e,"directive name must not be less than one character in length");y!==0;){for(;l0(y);)y=e.input.charCodeAt(++e.position);if(y===35){do y=e.input.charCodeAt(++e.position);while(y!==0&&!Fr(y));break}if(Fr(y))break;for(o=e.position;y!==0&&!pr(y);)y=e.input.charCodeAt(++e.position);c.push(e.input.slice(o,e.position))}y!==0&&Gt(e),jr.call(zn,f)?zn[f](e,f,c):ut(e,'unknown document directive "'+f+'"')}if(Je(e,!0,-1),e.lineIndent===0&&e.input.charCodeAt(e.position)===45&&e.input.charCodeAt(e.position+1)===45&&e.input.charCodeAt(e.position+2)===45?(e.position+=3,Je(e,!0,-1)):g&&me(e,"directives end mark is expected"),q0(e,e.lineIndent-1,Ut,!1,!0),Je(e,!0,-1),e.checkLineBreaks&&Xi.test(e.input.slice(a,e.position))&&ut(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&N0(e)){e.input.charCodeAt(e.position)===46&&(e.position+=3,Je(e,!0,-1));return}if(e.position<e.length-1)me(e,"end of the stream or a document separator is expected");else return}function Yt(e,a){e=String(e),a=a||{},e.length!==0&&(e.charCodeAt(e.length-1)!==10&&e.charCodeAt(e.length-1)!==13&&(e+=`
`),e.charCodeAt(0)===65279&&(e=e.slice(1)));var o=new Bu(e,a),f=e.indexOf("\0");for(f!==-1&&(o.position=f,me(o,"null byte is not allowed in input")),o.input+="\0";o.input.charCodeAt(o.position)===32;)o.lineIndent+=1,o.position+=1;for(;o.position<o.length-1;)zu(o);return o.documents}function Fu(e,a,o){a!==null&&typeof a=="object"&&typeof o>"u"&&(o=a,a=null);var f=Yt(e,o);if(typeof a!="function")return f;for(var c=0,g=f.length;c<g;c+=1)a(f[c])}function Nu(e,a){var o=Yt(e,a);if(o.length!==0){if(o.length===1)return o[0];throw new fr("expected a single document in the stream, but found more")}}var na=Fu,qu=Nu,ia={loadAll:na,load:qu},aa=Object.prototype.toString,Nn=Object.prototype.hasOwnProperty,lt=65279,ua=9,C0=10,la=13,oa=32,sa=33,Iu=34,Xt=35,jt=37,qn=38,ca=39,ha=42,fa=44,In=45,ot=58,Ru=61,Ou=62,pa=63,Rn=64,da=91,ma=93,Lu=96,d=123,r=124,t=125,n={};n[0]="\\0",n[7]="\\a",n[8]="\\b",n[9]="\\t",n[10]="\\n",n[11]="\\v",n[12]="\\f",n[13]="\\r",n[27]="\\e",n[34]='\\"',n[92]="\\\\",n[133]="\\N",n[160]="\\_",n[8232]="\\L",n[8233]="\\P";var u=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],s=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function m(e,a){var o,f,c,g,y,A,B;if(a===null)return{};for(o={},f=Object.keys(a),c=0,g=f.length;c<g;c+=1)y=f[c],A=String(a[y]),y.slice(0,2)==="!!"&&(y="tag:yaml.org,2002:"+y.slice(2)),B=e.compiledTypeMap.fallback[y],B&&Nn.call(B.styleAliases,A)&&(A=B.styleAliases[A]),o[y]=A;return o}function b(e){var a,o,f;if(a=e.toString(16).toUpperCase(),e<=255)o="x",f=2;else if(e<=65535)o="u",f=4;else if(e<=4294967295)o="U",f=8;else throw new fr("code point within a string may not be greater than 0xFFFFFFFF");return"\\"+o+nr.repeat("0",f-a.length)+a}var C=1,E=2;function F(e){this.schema=e.schema||T0,this.indent=Math.max(1,e.indent||2),this.noArrayIndent=e.noArrayIndent||!1,this.skipInvalid=e.skipInvalid||!1,this.flowLevel=nr.isNothing(e.flowLevel)?-1:e.flowLevel,this.styleMap=m(this.schema,e.styles||null),this.sortKeys=e.sortKeys||!1,this.lineWidth=e.lineWidth||80,this.noRefs=e.noRefs||!1,this.noCompatMode=e.noCompatMode||!1,this.condenseFlow=e.condenseFlow||!1,this.quotingType=e.quotingType==='"'?E:C,this.forceQuotes=e.forceQuotes||!1,this.replacer=typeof e.replacer=="function"?e.replacer:null,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function U(e,a){for(var o=nr.repeat(" ",a),f=0,c=-1,g="",y,A=e.length;f<A;)c=e.indexOf(`
`,f),c===-1?(y=e.slice(f),f=A):(y=e.slice(f,c+1),f=c+1),y.length&&y!==`
`&&(g+=o),g+=y;return g}function $(e,a){return`
`+nr.repeat(" ",e.indent*a)}function Y(e,a){var o,f,c;for(o=0,f=e.implicitTypes.length;o<f;o+=1)if(c=e.implicitTypes[o],c.resolve(a))return!0;return!1}function j(e){return e===oa||e===ua}function ie(e){return 32<=e&&e<=126||161<=e&&e<=55295&&e!==8232&&e!==8233||57344<=e&&e<=65533&&e!==lt||65536<=e&&e<=1114111}function le(e){return ie(e)&&e!==lt&&e!==la&&e!==C0}function fe(e,a,o){var f=le(e),c=f&&!j(e);return(o?f:f&&e!==fa&&e!==da&&e!==ma&&e!==d&&e!==t)&&e!==Xt&&!(a===ot&&!c)||le(a)&&!j(a)&&e===Xt||a===ot&&c}function de(e){return ie(e)&&e!==lt&&!j(e)&&e!==In&&e!==pa&&e!==ot&&e!==fa&&e!==da&&e!==ma&&e!==d&&e!==t&&e!==Xt&&e!==qn&&e!==ha&&e!==sa&&e!==r&&e!==Ru&&e!==Ou&&e!==ca&&e!==Iu&&e!==jt&&e!==Rn&&e!==Lu}function ve(e){return!j(e)&&e!==ot}function ze(e,a){var o=e.charCodeAt(a),f;return o>=55296&&o<=56319&&a+1<e.length&&(f=e.charCodeAt(a+1),f>=56320&&f<=57343)?(o-55296)*1024+f-56320+65536:o}function Ce(e){var a=/^\n* /;return a.test(e)}var qe=1,Ne=2,Ie=3,He=4,Qe=5;function Sr(e,a,o,f,c,g,y,A){var B,I=0,N=null,H=!1,Z=!1,J=f!==-1,ne=-1,se=de(ze(e,0))&&ve(ze(e,e.length-1));if(a||y)for(B=0;B<e.length;I>=65536?B+=2:B++){if(I=ze(e,B),!ie(I))return Qe;se=se&&fe(I,N,A),N=I}else{for(B=0;B<e.length;I>=65536?B+=2:B++){if(I=ze(e,B),I===C0)H=!0,J&&(Z=Z||B-ne-1>f&&e[ne+1]!==" ",ne=B);else if(!ie(I))return Qe;se=se&&fe(I,N,A),N=I}Z=Z||J&&B-ne-1>f&&e[ne+1]!==" "}return!H&&!Z?se&&!y&&!c(e)?qe:g===E?Qe:Ne:o>9&&Ce(e)?Qe:y?g===E?Qe:Ne:Z?He:Ie}function je(e,a,o,f,c){e.dump=function(){if(a.length===0)return e.quotingType===E?'""':"''";if(!e.noCompatMode&&(u.indexOf(a)!==-1||s.test(a)))return e.quotingType===E?'"'+a+'"':"'"+a+"'";var g=e.indent*Math.max(1,o),y=e.lineWidth===-1?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-g),A=f||e.flowLevel>-1&&o>=e.flowLevel;function B(I){return Y(e,I)}switch(Sr(a,A,e.indent,y,B,e.quotingType,e.forceQuotes&&!f,c)){case qe:return a;case Ne:return"'"+a.replace(/'/g,"''")+"'";case Ie:return"|"+c0(a,e.indent)+Cr(U(a,g));case He:return">"+c0(a,e.indent)+Cr(U(dr(a,y),g));case Qe:return'"'+I0(a)+'"';default:throw new fr("impossible error: invalid scalar style")}}()}function c0(e,a){var o=Ce(e)?String(a):"",f=e[e.length-1]===`
`,c=f&&(e[e.length-2]===`
`||e===`
`),g=c?"+":f?"":"-";return o+g+`
`}function Cr(e){return e[e.length-1]===`
`?e.slice(0,-1):e}function dr(e,a){for(var o=/(\n+)([^\n]*)/g,f=function(){var I=e.indexOf(`
`);return I=I!==-1?I:e.length,o.lastIndex=I,Qr(e.slice(0,I),a)}(),c=e[0]===`
`||e[0]===" ",g,y;y=o.exec(e);){var A=y[1],B=y[2];g=B[0]===" ",f+=A+(!c&&!g&&B!==""?`
`:"")+Qr(B,a),c=g}return f}function Qr(e,a){if(e===""||e[0]===" ")return e;for(var o=/ [^ ]/g,f,c=0,g,y=0,A=0,B="";f=o.exec(e);)A=f.index,A-c>a&&(g=y>c?y:A,B+=`
`+e.slice(c,g),c=g+1),y=A;return B+=`
`,e.length-c>a&&y>c?B+=e.slice(c,y)+`
`+e.slice(y+1):B+=e.slice(c),B.slice(1)}function I0(e){for(var a="",o=0,f,c=0;c<e.length;o>=65536?c+=2:c++)o=ze(e,c),f=n[o],!f&&ie(o)?(a+=e[c],o>=65536&&(a+=e[c+1])):a+=f||b(o);return a}function R0(e,a,o){var f="",c=e.tag,g,y,A;for(g=0,y=o.length;g<y;g+=1)A=o[g],e.replacer&&(A=e.replacer.call(o,String(g),A)),(Er(e,a,A,!1,!1)||typeof A>"u"&&Er(e,a,null,!1,!1))&&(f!==""&&(f+=","+(e.condenseFlow?"":" ")),f+=e.dump);e.tag=c,e.dump="["+f+"]"}function Wt(e,a,o,f){var c="",g=e.tag,y,A,B;for(y=0,A=o.length;y<A;y+=1)B=o[y],e.replacer&&(B=e.replacer.call(o,String(y),B)),(Er(e,a+1,B,!0,!0,!1,!0)||typeof B>"u"&&Er(e,a+1,null,!0,!0,!1,!0))&&((!f||c!=="")&&(c+=$(e,a)),e.dump&&C0===e.dump.charCodeAt(0)?c+="-":c+="- ",c+=e.dump);e.tag=g,e.dump=c||"[]"}function h0(e,a,o){var f="",c=e.tag,g=Object.keys(o),y,A,B,I,N;for(y=0,A=g.length;y<A;y+=1)N="",f!==""&&(N+=", "),e.condenseFlow&&(N+='"'),B=g[y],I=o[B],e.replacer&&(I=e.replacer.call(o,B,I)),Er(e,a,B,!1,!1)&&(e.dump.length>1024&&(N+="? "),N+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" "),Er(e,a,I,!1,!1)&&(N+=e.dump,f+=N));e.tag=c,e.dump="{"+f+"}"}function f0(e,a,o,f){var c="",g=e.tag,y=Object.keys(o),A,B,I,N,H,Z;if(e.sortKeys===!0)y.sort();else if(typeof e.sortKeys=="function")y.sort(e.sortKeys);else if(e.sortKeys)throw new fr("sortKeys must be a boolean or a function");for(A=0,B=y.length;A<B;A+=1)Z="",(!f||c!=="")&&(Z+=$(e,a)),I=y[A],N=o[I],e.replacer&&(N=e.replacer.call(o,I,N)),Er(e,a+1,I,!0,!0,!0)&&(H=e.tag!==null&&e.tag!=="?"||e.dump&&e.dump.length>1024,H&&(e.dump&&C0===e.dump.charCodeAt(0)?Z+="?":Z+="? "),Z+=e.dump,H&&(Z+=$(e,a)),Er(e,a+1,N,!0,H)&&(e.dump&&C0===e.dump.charCodeAt(0)?Z+=":":Z+=": ",Z+=e.dump,c+=Z));e.tag=g,e.dump=c||"{}"}function Dr(e,a,o){var f,c,g,y,A,B;for(c=o?e.explicitTypes:e.implicitTypes,g=0,y=c.length;g<y;g+=1)if(A=c[g],(A.instanceOf||A.predicate)&&(!A.instanceOf||typeof a=="object"&&a instanceof A.instanceOf)&&(!A.predicate||A.predicate(a))){if(o?A.multi&&A.representName?e.tag=A.representName(a):e.tag=A.tag:e.tag="?",A.represent){if(B=e.styleMap[A.tag]||A.defaultStyle,aa.call(A.represent)==="[object Function]")f=A.represent(a,B);else if(Nn.call(A.represent,B))f=A.represent[B](a,B);else throw new fr("!<"+A.tag+'> tag resolver accepts not "'+B+'" style');e.dump=f}return!0}return!1}function Er(e,a,o,f,c,g,y){e.tag=null,e.dump=o,Dr(e,o,!1)||Dr(e,o,!0);var A=aa.call(e.dump),B=f,I;f&&(f=e.flowLevel<0||e.flowLevel>a);var N=A==="[object Object]"||A==="[object Array]",H,Z;if(N&&(H=e.duplicates.indexOf(o),Z=H!==-1),(e.tag!==null&&e.tag!=="?"||Z||e.indent!==2&&a>0)&&(c=!1),Z&&e.usedDuplicates[H])e.dump="*ref_"+H;else{if(N&&Z&&!e.usedDuplicates[H]&&(e.usedDuplicates[H]=!0),A==="[object Object]")f&&Object.keys(e.dump).length!==0?(f0(e,a,e.dump,c),Z&&(e.dump="&ref_"+H+e.dump)):(h0(e,a,e.dump),Z&&(e.dump="&ref_"+H+" "+e.dump));else if(A==="[object Array]")f&&e.dump.length!==0?(e.noArrayIndent&&!y&&a>0?Wt(e,a-1,e.dump,c):Wt(e,a,e.dump,c),Z&&(e.dump="&ref_"+H+e.dump)):(R0(e,a,e.dump),Z&&(e.dump="&ref_"+H+" "+e.dump));else if(A==="[object String]")e.tag!=="?"&&je(e,e.dump,a,g,B);else{if(A==="[object Undefined]")return!1;if(e.skipInvalid)return!1;throw new fr("unacceptable kind of an object to dump "+A)}e.tag!==null&&e.tag!=="?"&&(I=encodeURI(e.tag[0]==="!"?e.tag.slice(1):e.tag).replace(/!/g,"%21"),e.tag[0]==="!"?I="!"+I:I.slice(0,18)==="tag:yaml.org,2002:"?I="!!"+I.slice(18):I="!<"+I+">",e.dump=I+" "+e.dump)}return!0}function On(e,a){var o=[],f=[],c,g;for(p0(e,o,f),c=0,g=f.length;c<g;c+=1)a.duplicates.push(o[f[c]]);a.usedDuplicates=new Array(g)}function p0(e,a,o){var f,c,g;if(e!==null&&typeof e=="object")if(c=a.indexOf(e),c!==-1)o.indexOf(c)===-1&&o.push(c);else if(a.push(e),Array.isArray(e))for(c=0,g=e.length;c<g;c+=1)p0(e[c],a,o);else for(f=Object.keys(e),c=0,g=f.length;c<g;c+=1)p0(e[f[c]],a,o)}function va(e,a){a=a||{};var o=new F(a);o.noRefs||On(e,o);var f=e;return o.replacer&&(f=o.replacer.call({"":f},"",f)),Er(o,0,f,!0,!0)?o.dump+`
`:""}var O0=va,L0={dump:O0};function P0(e,a){return function(){throw new Error("Function yaml."+e+" is removed in js-yaml 4. Use yaml."+a+" instead, which is now safe by default.")}}var Kt=tr,Pu=nt,Hu=Mi,Uu=It,Ln=Rt,ga=T0,xa=ia.load,Pn=ia.loadAll,Zt=L0.dump,Jt=fr,Po={binary:Yr,float:qt,map:vn,null:gn,pairs:Cn,set:Dn,timestamp:Ri,bool:yn,int:Ft,merge:Oi,omap:Pt,seq:mn,str:Bi},Ho=P0("safeLoad","load"),Uo=P0("safeLoadAll","loadAll"),Vo=P0("safeDump","dump"),Go={Type:Kt,Schema:Pu,FAILSAFE_SCHEMA:Hu,JSON_SCHEMA:Uu,CORE_SCHEMA:Ln,DEFAULT_SCHEMA:ga,load:xa,loadAll:Pn,dump:Zt,YAMLException:Jt,types:Po,safeLoad:Ho,safeLoadAll:Uo,safeDump:Vo},$o={name:"frontmatter",transform(e){return e.beforeParse.tap((a,o)=>{const f=a.parse;a.parse=Re(f,{before(c){const[g]=c.args;if(!g.startsWith(`---
`))return;const y=g.indexOf(`
---
`);if(y<0)return;const A=g.slice(4,y);let B;try{var I;B=Go.load(A),(I=B)!=null&&I.markmap&&(B.markmap=Yo(B.markmap))}catch{return}o.frontmatter=B;const N=y+5;c.args[0]=g.slice(N)},after(){a.parse=f}})}),{}}};function Yo(e){if(e)return["color","extraJs","extraCss"].forEach(a=>{e[a]!=null&&(e[a]=Xo(e[a]))}),["duration","maxWidth","initialExpandLevel"].forEach(a=>{e[a]!=null&&(e[a]=jo(e[a]))}),e}function Xo(e){var a;let o;return typeof e=="string"?o=[e]:Array.isArray(e)&&(o=e.filter(f=>f&&typeof f=="string")),(a=o)!=null&&a.length?o:void 0}function jo(e){if(!isNaN(+e))return+e}const Al=[$o,Mt,te];function kl(e){if(e.type==="heading")e.children=e.children.filter(c=>c.type!=="paragraph");else if(e.type==="list_item"){var a;e.children=e.children.filter(c=>["paragraph","fence"].includes(c.type)?(e.content||(e.content=c.content,e.payload=M({},e.payload,c.payload)),!1):!0),((a=e.payload)==null?void 0:a.index)!=null&&(e.content=`${e.payload.index}. ${e.content}`)}else if(e.type==="ordered_list"){var o,f;let c=(o=(f=e.payload)==null?void 0:f.startIndex)!=null?o:1;e.children.forEach(g=>{g.type==="list_item"&&(g.payload=M({},g.payload,{index:c}),c+=1)})}e.children.length===0?delete e.children:(e.children.forEach(c=>kl(c)),e.children.length===1&&!e.children[0].content&&(e.children=e.children[0].children))}function Sl(e,a=0){var o;e.depth=a,(o=e.children)==null||o.forEach(f=>{Sl(f,a+1)})}class Wo{constructor(a=Al){this.assetsMap={},this.plugins=a,this.hooks=yi();const o={};for(const{name:c,transform:g}of a)o[c]=g(this.hooks);this.assetsMap=o;const f=new i0("full",{html:!0,breaks:!0,maxNesting:1/0});f.renderer.rules.htmltag=Re(f.renderer.rules.htmltag,{after:c=>{this.hooks.htmltag.call(c)}}),this.md=f,this.hooks.parser.call(f)}buildTree(a){const{md:o}=this,f={type:"root",depth:0,content:"",children:[],payload:{}},c=[f];let g=0;for(const B of a){let I=c[c.length-1];if(B.type.endsWith("_open")){const N=B.type.slice(0,-5),H={};if(B.lines&&(H.lines=B.lines),N==="heading")for(g=B.hLevel;((y=I)==null?void 0:y.depth)>=g;){var y;c.pop(),I=c[c.length-1]}else{var A;g=Math.max(g,((A=I)==null?void 0:A.depth)||0)+1,N==="ordered_list"&&(H.startIndex=B.order)}const Z={type:N,depth:g,payload:H,content:"",children:[]};I.children.push(Z),c.push(Z)}else if(I){if(B.type===`${I.type}_close`)I.type==="heading"?g=I.depth:(c.pop(),g=0);else if(B.type==="inline"){const N=this.hooks.htmltag.tap(Z=>{const J=Z.result.match(/^<!--([\s\S]*?)-->$/),ne=J==null?void 0:J[1].trim().split(" ");ne[0]==="fold"&&(I.payload.fold=["all","recursively"].includes(ne[1])?2:1,Z.result="")}),H=o.renderer.render([B],o.options,{});N(),I.content=`${I.content||""}${H}`}else if(B.type==="fence"){let N=o.renderer.render([B],o.options,{});const H=N.match(/<code( class="[^"]*")>/);H&&(N=N.replace("<pre>",`<pre${H[1]}>`)),I.children.push({type:B.type,depth:g+1,content:N,children:[]})}}else continue}return f}transform(a){var o;const f={features:{}};this.hooks.beforeParse.call(this.md,f);const c=this.md.parse(a,{});this.hooks.afterParse.call(this.md,f);let g=this.buildTree(c);return kl(g),((o=g.children)==null?void 0:o.length)===1&&(g=g.children[0]),Sl(g),M({},f,{root:g})}getAssets(a){var o;const f=[],c=[];(o=a)!=null||(a=this.plugins.map(g=>g.name));for(const g of a.map(y=>this.assetsMap[y]))g&&(g.styles&&f.push(...g.styles),g.scripts&&c.push(...g.scripts));return{styles:f,scripts:c}}getUsedAssets(a){const o=this.plugins.map(f=>f.name).filter(f=>a[f]);return this.getAssets(o)}}const Ko={"markmap-lib":"0.14.4",d3:"6.7.0"};h.Transformer=Wo,h.builtInPlugins=Al,h.fillTemplate=sr,h.transformerVersions=Ko})})(Ju,Ju.exports);var Yh=Ju.exports;/*! markmap-common v0.14.2 | MIT License */class eo{constructor(){this.listeners=[]}tap(l){return this.listeners.push(l),()=>this.revoke(l)}revoke(l){const h=this.listeners.indexOf(l);h>=0&&this.listeners.splice(h,1)}revokeAll(){this.listeners.splice(0)}call(...l){for(const h of this.listeners)h(...l)}}const Jo=Math.random().toString(36).slice(2,8);let Bl=0;function Qo(){return Bl+=1,`mm-${Jo}-${Bl}`}function Yu(){}function Qu(i,l,h="children"){const x=(w,k)=>l(w,()=>{var M;(M=w[h])==null||M.forEach(T=>{x(T,w)})},k);x(i)}function ro(i){if(Array.from)return Array.from(i);const l=[];for(let h=0;h<i.length;h+=1)l.push(i[h]);return l}function es(i,...l){const h=(i||"").split(" ").filter(Boolean);return l.forEach(x=>{x&&h.indexOf(x)<0&&h.push(x)}),h.join(" ")}function Qt(i){if(typeof i=="string"){const h=i;i=x=>x.tagName===h}const l=i;return function(){let x=ro(this.childNodes);return l&&(x=x.filter(w=>l(w))),x}}function Ml(i,l){let h;if(l===void 0)for(const x of i)x!=null&&(h<x||h===void 0&&x>=x)&&(h=x);else{let x=-1;for(let w of i)(w=l(w,++x,i))!=null&&(h<w||h===void 0&&w>=w)&&(h=w)}return h}function Tl(i,l){let h;if(l===void 0)for(const x of i)x!=null&&(h>x||h===void 0&&x>=x)&&(h=x);else{let x=-1;for(let w of i)(w=l(w,++x,i))!=null&&(h>w||h===void 0&&w>=w)&&(h=w)}return h}function rs(i,l){let h,x=-1,w=-1;if(l===void 0)for(const k of i)++w,k!=null&&(h>k||h===void 0&&k>=k)&&(h=k,x=w);else for(let k of i)(k=l(k,++w,i))!=null&&(h>k||h===void 0&&k>=k)&&(h=k,x=w);return x}var ts={value:()=>{}};function fl(){for(var i=0,l=arguments.length,h={},x;i<l;++i){if(!(x=arguments[i]+"")||x in h||/[\s.]/.test(x))throw new Error("illegal type: "+x);h[x]=[]}return new Ca(h)}function Ca(i){this._=i}function ns(i,l){return i.trim().split(/^|\s+/).map(function(h){var x="",w=h.indexOf(".");if(w>=0&&(x=h.slice(w+1),h=h.slice(0,w)),h&&!l.hasOwnProperty(h))throw new Error("unknown type: "+h);return{type:h,name:x}})}Ca.prototype=fl.prototype={constructor:Ca,on:function(i,l){var h=this._,x=ns(i+"",h),w,k=-1,M=x.length;if(arguments.length<2){for(;++k<M;)if((w=(i=x[k]).type)&&(w=is(h[w],i.name)))return w;return}if(l!=null&&typeof l!="function")throw new Error("invalid callback: "+l);for(;++k<M;)if(w=(i=x[k]).type)h[w]=_l(h[w],i.name,l);else if(l==null)for(w in h)h[w]=_l(h[w],i.name,null);return this},copy:function(){var i={},l=this._;for(var h in l)i[h]=l[h].slice();return new Ca(i)},call:function(i,l){if((w=arguments.length-2)>0)for(var h=new Array(w),x=0,w,k;x<w;++x)h[x]=arguments[x+2];if(!this._.hasOwnProperty(i))throw new Error("unknown type: "+i);for(k=this._[i],x=0,w=k.length;x<w;++x)k[x].value.apply(l,h)},apply:function(i,l,h){if(!this._.hasOwnProperty(i))throw new Error("unknown type: "+i);for(var x=this._[i],w=0,k=x.length;w<k;++w)x[w].value.apply(l,h)}};function is(i,l){for(var h=0,x=i.length,w;h<x;++h)if((w=i[h]).name===l)return w.value}function _l(i,l,h){for(var x=0,w=i.length;x<w;++x)if(i[x].name===l){i[x]=ts,i=i.slice(0,x).concat(i.slice(x+1));break}return h!=null&&i.push({name:l,value:h}),i}var el="http://www.w3.org/1999/xhtml";const zl={svg:"http://www.w3.org/2000/svg",xhtml:el,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function Oa(i){var l=i+="",h=l.indexOf(":");return h>=0&&(l=i.slice(0,h))!=="xmlns"&&(i=i.slice(h+1)),zl.hasOwnProperty(l)?{space:zl[l],local:i}:i}function as(i){return function(){var l=this.ownerDocument,h=this.namespaceURI;return h===el&&l.documentElement.namespaceURI===el?l.createElement(i):l.createElementNS(h,i)}}function us(i){return function(){return this.ownerDocument.createElementNS(i.space,i.local)}}function to(i){var l=Oa(i);return(l.local?us:as)(l)}function ls(){}function pl(i){return i==null?ls:function(){return this.querySelector(i)}}function os(i){typeof i!="function"&&(i=pl(i));for(var l=this._groups,h=l.length,x=new Array(h),w=0;w<h;++w)for(var k=l[w],M=k.length,T=x[w]=new Array(M),q,L,O=0;O<M;++O)(q=k[O])&&(L=i.call(q,q.__data__,O,k))&&("__data__"in q&&(L.__data__=q.__data__),T[O]=L);return new Nr(x,this._parents)}function no(i){return typeof i=="object"&&"length"in i?i:Array.from(i)}function ss(){return[]}function io(i){return i==null?ss:function(){return this.querySelectorAll(i)}}function cs(i){return function(){var l=i.apply(this,arguments);return l==null?[]:no(l)}}function hs(i){typeof i=="function"?i=cs(i):i=io(i);for(var l=this._groups,h=l.length,x=[],w=[],k=0;k<h;++k)for(var M=l[k],T=M.length,q,L=0;L<T;++L)(q=M[L])&&(x.push(i.call(q,q.__data__,L,M)),w.push(q));return new Nr(x,w)}function ao(i){return function(){return this.matches(i)}}function uo(i){return function(l){return l.matches(i)}}var fs=Array.prototype.find;function ps(i){return function(){return fs.call(this.children,i)}}function ds(){return this.firstElementChild}function ms(i){return this.select(i==null?ds:ps(typeof i=="function"?i:uo(i)))}var vs=Array.prototype.filter;function gs(){return this.children}function xs(i){return function(){return vs.call(this.children,i)}}function ys(i){return this.selectAll(i==null?gs:xs(typeof i=="function"?i:uo(i)))}function bs(i){typeof i!="function"&&(i=ao(i));for(var l=this._groups,h=l.length,x=new Array(h),w=0;w<h;++w)for(var k=l[w],M=k.length,T=x[w]=[],q,L=0;L<M;++L)(q=k[L])&&i.call(q,q.__data__,L,k)&&T.push(q);return new Nr(x,this._parents)}function lo(i){return new Array(i.length)}function ws(){return new Nr(this._enter||this._groups.map(lo),this._parents)}function _a(i,l){this.ownerDocument=i.ownerDocument,this.namespaceURI=i.namespaceURI,this._next=null,this._parent=i,this.__data__=l}_a.prototype={constructor:_a,appendChild:function(i){return this._parent.insertBefore(i,this._next)},insertBefore:function(i,l){return this._parent.insertBefore(i,l)},querySelector:function(i){return this._parent.querySelector(i)},querySelectorAll:function(i){return this._parent.querySelectorAll(i)}};function As(i){return function(){return i}}function ks(i,l,h,x,w,k){for(var M=0,T,q=l.length,L=k.length;M<L;++M)(T=l[M])?(T.__data__=k[M],x[M]=T):h[M]=new _a(i,k[M]);for(;M<q;++M)(T=l[M])&&(w[M]=T)}function Ss(i,l,h,x,w,k,M){var T,q,L=new Map,O=l.length,X=k.length,re=new Array(O),W;for(T=0;T<O;++T)(q=l[T])&&(re[T]=W=M.call(q,q.__data__,T,l)+"",L.has(W)?w[T]=q:L.set(W,q));for(T=0;T<X;++T)W=M.call(i,k[T],T,k)+"",(q=L.get(W))?(x[T]=q,q.__data__=k[T],L.delete(W)):h[T]=new _a(i,k[T]);for(T=0;T<O;++T)(q=l[T])&&L.get(re[T])===q&&(w[T]=q)}function Cs(i){return i.__data__}function Ds(i,l){if(!arguments.length)return Array.from(this,Cs);var h=l?Ss:ks,x=this._parents,w=this._groups;typeof i!="function"&&(i=As(i));for(var k=w.length,M=new Array(k),T=new Array(k),q=new Array(k),L=0;L<k;++L){var O=x[L],X=w[L],re=X.length,W=no(i.call(O,O&&O.__data__,L,x)),Se=W.length,ye=T[L]=new Array(Se),_e=M[L]=new Array(Se),K=q[L]=new Array(re);h(O,X,ye,_e,K,W,l);for(var Ae=0,Re=0,Ge,Oe;Ae<Se;++Ae)if(Ge=ye[Ae]){for(Ae>=Re&&(Re=Ae+1);!(Oe=_e[Re])&&++Re<Se;);Ge._next=Oe||null}}return M=new Nr(M,x),M._enter=T,M._exit=q,M}function Es(){return new Nr(this._exit||this._groups.map(lo),this._parents)}function Bs(i,l,h){var x=this.enter(),w=this,k=this.exit();return x=typeof i=="function"?i(x):x.append(i+""),l!=null&&(w=l(w)),h==null?k.remove():h(k),x&&w?x.merge(w).order():w}function Ms(i){if(!(i instanceof Nr))throw new Error("invalid merge");for(var l=this._groups,h=i._groups,x=l.length,w=h.length,k=Math.min(x,w),M=new Array(x),T=0;T<k;++T)for(var q=l[T],L=h[T],O=q.length,X=M[T]=new Array(O),re,W=0;W<O;++W)(re=q[W]||L[W])&&(X[W]=re);for(;T<x;++T)M[T]=l[T];return new Nr(M,this._parents)}function Ts(){for(var i=this._groups,l=-1,h=i.length;++l<h;)for(var x=i[l],w=x.length-1,k=x[w],M;--w>=0;)(M=x[w])&&(k&&M.compareDocumentPosition(k)^4&&k.parentNode.insertBefore(M,k),k=M);return this}function _s(i){i||(i=zs);function l(X,re){return X&&re?i(X.__data__,re.__data__):!X-!re}for(var h=this._groups,x=h.length,w=new Array(x),k=0;k<x;++k){for(var M=h[k],T=M.length,q=w[k]=new Array(T),L,O=0;O<T;++O)(L=M[O])&&(q[O]=L);q.sort(l)}return new Nr(w,this._parents).order()}function zs(i,l){return i<l?-1:i>l?1:i>=l?0:NaN}function Fs(){var i=arguments[0];return arguments[0]=this,i.apply(null,arguments),this}function Ns(){return Array.from(this)}function qs(){for(var i=this._groups,l=0,h=i.length;l<h;++l)for(var x=i[l],w=0,k=x.length;w<k;++w){var M=x[w];if(M)return M}return null}function Is(){let i=0;for(const l of this)++i;return i}function Rs(){return!this.node()}function Os(i){for(var l=this._groups,h=0,x=l.length;h<x;++h)for(var w=l[h],k=0,M=w.length,T;k<M;++k)(T=w[k])&&i.call(T,T.__data__,k,w);return this}function Ls(i){return function(){this.removeAttribute(i)}}function Ps(i){return function(){this.removeAttributeNS(i.space,i.local)}}function Hs(i,l){return function(){this.setAttribute(i,l)}}function Us(i,l){return function(){this.setAttributeNS(i.space,i.local,l)}}function Vs(i,l){return function(){var h=l.apply(this,arguments);h==null?this.removeAttribute(i):this.setAttribute(i,h)}}function Gs(i,l){return function(){var h=l.apply(this,arguments);h==null?this.removeAttributeNS(i.space,i.local):this.setAttributeNS(i.space,i.local,h)}}function $s(i,l){var h=Oa(i);if(arguments.length<2){var x=this.node();return h.local?x.getAttributeNS(h.space,h.local):x.getAttribute(h)}return this.each((l==null?h.local?Ps:Ls:typeof l=="function"?h.local?Gs:Vs:h.local?Us:Hs)(h,l))}function oo(i){return i.ownerDocument&&i.ownerDocument.defaultView||i.document&&i||i.defaultView}function Ys(i){return function(){this.style.removeProperty(i)}}function Xs(i,l,h){return function(){this.style.setProperty(i,l,h)}}function js(i,l,h){return function(){var x=l.apply(this,arguments);x==null?this.style.removeProperty(i):this.style.setProperty(i,x,h)}}function Ws(i,l,h){return arguments.length>1?this.each((l==null?Ys:typeof l=="function"?js:Xs)(i,l,h??"")):rn(this.node(),i)}function rn(i,l){return i.style.getPropertyValue(l)||oo(i).getComputedStyle(i,null).getPropertyValue(l)}function Ks(i){return function(){delete this[i]}}function Zs(i,l){return function(){this[i]=l}}function Js(i,l){return function(){var h=l.apply(this,arguments);h==null?delete this[i]:this[i]=h}}function Qs(i,l){return arguments.length>1?this.each((l==null?Ks:typeof l=="function"?Js:Zs)(i,l)):this.node()[i]}function so(i){return i.trim().split(/^|\s+/)}function dl(i){return i.classList||new co(i)}function co(i){this._node=i,this._names=so(i.getAttribute("class")||"")}co.prototype={add:function(i){var l=this._names.indexOf(i);l<0&&(this._names.push(i),this._node.setAttribute("class",this._names.join(" ")))},remove:function(i){var l=this._names.indexOf(i);l>=0&&(this._names.splice(l,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(i){return this._names.indexOf(i)>=0}};function ho(i,l){for(var h=dl(i),x=-1,w=l.length;++x<w;)h.add(l[x])}function fo(i,l){for(var h=dl(i),x=-1,w=l.length;++x<w;)h.remove(l[x])}function e1(i){return function(){ho(this,i)}}function r1(i){return function(){fo(this,i)}}function t1(i,l){return function(){(l.apply(this,arguments)?ho:fo)(this,i)}}function n1(i,l){var h=so(i+"");if(arguments.length<2){for(var x=dl(this.node()),w=-1,k=h.length;++w<k;)if(!x.contains(h[w]))return!1;return!0}return this.each((typeof l=="function"?t1:l?e1:r1)(h,l))}function i1(){this.textContent=""}function a1(i){return function(){this.textContent=i}}function u1(i){return function(){var l=i.apply(this,arguments);this.textContent=l??""}}function l1(i){return arguments.length?this.each(i==null?i1:(typeof i=="function"?u1:a1)(i)):this.node().textContent}function o1(){this.innerHTML=""}function s1(i){return function(){this.innerHTML=i}}function c1(i){return function(){var l=i.apply(this,arguments);this.innerHTML=l??""}}function h1(i){return arguments.length?this.each(i==null?o1:(typeof i=="function"?c1:s1)(i)):this.node().innerHTML}function f1(){this.nextSibling&&this.parentNode.appendChild(this)}function p1(){return this.each(f1)}function d1(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function m1(){return this.each(d1)}function v1(i){var l=typeof i=="function"?i:to(i);return this.select(function(){return this.appendChild(l.apply(this,arguments))})}function g1(){return null}function x1(i,l){var h=typeof i=="function"?i:to(i),x=l==null?g1:typeof l=="function"?l:pl(l);return this.select(function(){return this.insertBefore(h.apply(this,arguments),x.apply(this,arguments)||null)})}function y1(){var i=this.parentNode;i&&i.removeChild(this)}function b1(){return this.each(y1)}function w1(){var i=this.cloneNode(!1),l=this.parentNode;return l?l.insertBefore(i,this.nextSibling):i}function A1(){var i=this.cloneNode(!0),l=this.parentNode;return l?l.insertBefore(i,this.nextSibling):i}function k1(i){return this.select(i?A1:w1)}function S1(i){return arguments.length?this.property("__data__",i):this.node().__data__}function C1(i){return function(l){i.call(this,l,this.__data__)}}function D1(i){return i.trim().split(/^|\s+/).map(function(l){var h="",x=l.indexOf(".");return x>=0&&(h=l.slice(x+1),l=l.slice(0,x)),{type:l,name:h}})}function E1(i){return function(){var l=this.__on;if(l){for(var h=0,x=-1,w=l.length,k;h<w;++h)k=l[h],(!i.type||k.type===i.type)&&k.name===i.name?this.removeEventListener(k.type,k.listener,k.options):l[++x]=k;++x?l.length=x:delete this.__on}}}function B1(i,l,h){return function(){var x=this.__on,w,k=C1(l);if(x){for(var M=0,T=x.length;M<T;++M)if((w=x[M]).type===i.type&&w.name===i.name){this.removeEventListener(w.type,w.listener,w.options),this.addEventListener(w.type,w.listener=k,w.options=h),w.value=l;return}}this.addEventListener(i.type,k,h),w={type:i.type,name:i.name,value:l,listener:k,options:h},x?x.push(w):this.__on=[w]}}function M1(i,l,h){var x=D1(i+""),w,k=x.length,M;if(arguments.length<2){var T=this.node().__on;if(T){for(var q=0,L=T.length,O;q<L;++q)for(w=0,O=T[q];w<k;++w)if((M=x[w]).type===O.type&&M.name===O.name)return O.value}return}for(T=l?B1:E1,w=0;w<k;++w)this.each(T(x[w],l,h));return this}function po(i,l,h){var x=oo(i),w=x.CustomEvent;typeof w=="function"?w=new w(l,h):(w=x.document.createEvent("Event"),h?(w.initEvent(l,h.bubbles,h.cancelable),w.detail=h.detail):w.initEvent(l,!1,!1)),i.dispatchEvent(w)}function T1(i,l){return function(){return po(this,i,l)}}function _1(i,l){return function(){return po(this,i,l.apply(this,arguments))}}function z1(i,l){return this.each((typeof l=="function"?_1:T1)(i,l))}function*F1(){for(var i=this._groups,l=0,h=i.length;l<h;++l)for(var x=i[l],w=0,k=x.length,M;w<k;++w)(M=x[w])&&(yield M)}var mo=[null];function Nr(i,l){this._groups=i,this._parents=l}function Kn(){return new Nr([[document.documentElement]],mo)}function N1(){return this}Nr.prototype=Kn.prototype={constructor:Nr,select:os,selectAll:hs,selectChild:ms,selectChildren:ys,filter:bs,data:Ds,enter:ws,exit:Es,join:Bs,merge:Ms,selection:N1,order:Ts,sort:_s,call:Fs,nodes:Ns,node:qs,size:Is,empty:Rs,each:Os,attr:$s,style:Ws,property:Qs,classed:n1,text:l1,html:h1,raise:p1,lower:m1,append:v1,insert:x1,remove:b1,clone:k1,datum:S1,on:M1,dispatch:z1,[Symbol.iterator]:F1};function V0(i){return typeof i=="string"?new Nr([[document.querySelector(i)]],[document.documentElement]):new Nr([[i]],mo)}function q1(i){let l;for(;l=i.sourceEvent;)i=l;return i}function st(i,l){if(i=q1(i),l===void 0&&(l=i.currentTarget),l){var h=l.ownerSVGElement||l;if(h.createSVGPoint){var x=h.createSVGPoint();return x.x=i.clientX,x.y=i.clientY,x=x.matrixTransform(l.getScreenCTM().inverse()),[x.x,x.y]}if(l.getBoundingClientRect){var w=l.getBoundingClientRect();return[i.clientX-w.left-l.clientLeft,i.clientY-w.top-l.clientTop]}}return[i.pageX,i.pageY]}function rl(i){i.preventDefault(),i.stopImmediatePropagation()}function I1(i){var l=i.document.documentElement,h=V0(i).on("dragstart.drag",rl,!0);"onselectstart"in l?h.on("selectstart.drag",rl,!0):(l.__noselect=l.style.MozUserSelect,l.style.MozUserSelect="none")}function R1(i,l){var h=i.document.documentElement,x=V0(i).on("dragstart.drag",null);l&&(x.on("click.drag",rl,!0),setTimeout(function(){x.on("click.drag",null)},0)),"onselectstart"in h?x.on("selectstart.drag",null):(h.style.MozUserSelect=h.__noselect,delete h.__noselect)}function ml(i,l,h){i.prototype=l.prototype=h,h.constructor=i}function vo(i,l){var h=Object.create(i.prototype);for(var x in l)h[x]=l[x];return h}function Zn(){}var Yn=.7,za=1/Yn,en="\\s*([+-]?\\d+)\\s*",Xn="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",m0="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",O1=/^#([0-9a-f]{3,8})$/,L1=new RegExp("^rgb\\("+[en,en,en]+"\\)$"),P1=new RegExp("^rgb\\("+[m0,m0,m0]+"\\)$"),H1=new RegExp("^rgba\\("+[en,en,en,Xn]+"\\)$"),U1=new RegExp("^rgba\\("+[m0,m0,m0,Xn]+"\\)$"),V1=new RegExp("^hsl\\("+[Xn,m0,m0]+"\\)$"),G1=new RegExp("^hsla\\("+[Xn,m0,m0,Xn]+"\\)$"),Fl={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};ml(Zn,jn,{copy:function(i){return Object.assign(new this.constructor,this,i)},displayable:function(){return this.rgb().displayable()},hex:Nl,formatHex:Nl,formatHsl:$1,formatRgb:ql,toString:ql});function Nl(){return this.rgb().formatHex()}function $1(){return go(this).formatHsl()}function ql(){return this.rgb().formatRgb()}function jn(i){var l,h;return i=(i+"").trim().toLowerCase(),(l=O1.exec(i))?(h=l[1].length,l=parseInt(l[1],16),h===6?Il(l):h===3?new Gr(l>>8&15|l>>4&240,l>>4&15|l&240,(l&15)<<4|l&15,1):h===8?wa(l>>24&255,l>>16&255,l>>8&255,(l&255)/255):h===4?wa(l>>12&15|l>>8&240,l>>8&15|l>>4&240,l>>4&15|l&240,((l&15)<<4|l&15)/255):null):(l=L1.exec(i))?new Gr(l[1],l[2],l[3],1):(l=P1.exec(i))?new Gr(l[1]*255/100,l[2]*255/100,l[3]*255/100,1):(l=H1.exec(i))?wa(l[1],l[2],l[3],l[4]):(l=U1.exec(i))?wa(l[1]*255/100,l[2]*255/100,l[3]*255/100,l[4]):(l=V1.exec(i))?Ll(l[1],l[2]/100,l[3]/100,1):(l=G1.exec(i))?Ll(l[1],l[2]/100,l[3]/100,l[4]):Fl.hasOwnProperty(i)?Il(Fl[i]):i==="transparent"?new Gr(NaN,NaN,NaN,0):null}function Il(i){return new Gr(i>>16&255,i>>8&255,i&255,1)}function wa(i,l,h,x){return x<=0&&(i=l=h=NaN),new Gr(i,l,h,x)}function Y1(i){return i instanceof Zn||(i=jn(i)),i?(i=i.rgb(),new Gr(i.r,i.g,i.b,i.opacity)):new Gr}function tl(i,l,h,x){return arguments.length===1?Y1(i):new Gr(i,l,h,x??1)}function Gr(i,l,h,x){this.r=+i,this.g=+l,this.b=+h,this.opacity=+x}ml(Gr,tl,vo(Zn,{brighter:function(i){return i=i==null?za:Math.pow(za,i),new Gr(this.r*i,this.g*i,this.b*i,this.opacity)},darker:function(i){return i=i==null?Yn:Math.pow(Yn,i),new Gr(this.r*i,this.g*i,this.b*i,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Rl,formatHex:Rl,formatRgb:Ol,toString:Ol}));function Rl(){return"#"+Xu(this.r)+Xu(this.g)+Xu(this.b)}function Ol(){var i=this.opacity;return i=isNaN(i)?1:Math.max(0,Math.min(1,i)),(i===1?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(i===1?")":", "+i+")")}function Xu(i){return i=Math.max(0,Math.min(255,Math.round(i)||0)),(i<16?"0":"")+i.toString(16)}function Ll(i,l,h,x){return x<=0?i=l=h=NaN:h<=0||h>=1?i=l=NaN:l<=0&&(i=NaN),new d0(i,l,h,x)}function go(i){if(i instanceof d0)return new d0(i.h,i.s,i.l,i.opacity);if(i instanceof Zn||(i=jn(i)),!i)return new d0;if(i instanceof d0)return i;i=i.rgb();var l=i.r/255,h=i.g/255,x=i.b/255,w=Math.min(l,h,x),k=Math.max(l,h,x),M=NaN,T=k-w,q=(k+w)/2;return T?(l===k?M=(h-x)/T+(h<x)*6:h===k?M=(x-l)/T+2:M=(l-h)/T+4,T/=q<.5?k+w:2-k-w,M*=60):T=q>0&&q<1?0:M,new d0(M,T,q,i.opacity)}function X1(i,l,h,x){return arguments.length===1?go(i):new d0(i,l,h,x??1)}function d0(i,l,h,x){this.h=+i,this.s=+l,this.l=+h,this.opacity=+x}ml(d0,X1,vo(Zn,{brighter:function(i){return i=i==null?za:Math.pow(za,i),new d0(this.h,this.s,this.l*i,this.opacity)},darker:function(i){return i=i==null?Yn:Math.pow(Yn,i),new d0(this.h,this.s,this.l*i,this.opacity)},rgb:function(){var i=this.h%360+(this.h<0)*360,l=isNaN(i)||isNaN(this.s)?0:this.s,h=this.l,x=h+(h<.5?h:1-h)*l,w=2*h-x;return new Gr(ju(i>=240?i-240:i+120,w,x),ju(i,w,x),ju(i<120?i+240:i-120,w,x),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var i=this.opacity;return i=isNaN(i)?1:Math.max(0,Math.min(1,i)),(i===1?"hsl(":"hsla(")+(this.h||0)+", "+(this.s||0)*100+"%, "+(this.l||0)*100+"%"+(i===1?")":", "+i+")")}}));function ju(i,l,h){return(i<60?l+(h-l)*i/60:i<180?h:i<240?l+(h-l)*(240-i)/60:l)*255}const xo=i=>()=>i;function j1(i,l){return function(h){return i+h*l}}function W1(i,l,h){return i=Math.pow(i,h),l=Math.pow(l,h)-i,h=1/h,function(x){return Math.pow(i+x*l,h)}}function K1(i){return(i=+i)==1?yo:function(l,h){return h-l?W1(l,h,i):xo(isNaN(l)?h:l)}}function yo(i,l){var h=l-i;return h?j1(i,h):xo(isNaN(i)?l:i)}const Pl=function i(l){var h=K1(l);function x(w,k){var M=h((w=tl(w)).r,(k=tl(k)).r),T=h(w.g,k.g),q=h(w.b,k.b),L=yo(w.opacity,k.opacity);return function(O){return w.r=M(O),w.g=T(O),w.b=q(O),w.opacity=L(O),w+""}}return x.gamma=i,x}(1);function H0(i,l){return i=+i,l=+l,function(h){return i*(1-h)+l*h}}var nl=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Wu=new RegExp(nl.source,"g");function Z1(i){return function(){return i}}function J1(i){return function(l){return i(l)+""}}function Q1(i,l){var h=nl.lastIndex=Wu.lastIndex=0,x,w,k,M=-1,T=[],q=[];for(i=i+"",l=l+"";(x=nl.exec(i))&&(w=Wu.exec(l));)(k=w.index)>h&&(k=l.slice(h,k),T[M]?T[M]+=k:T[++M]=k),(x=x[0])===(w=w[0])?T[M]?T[M]+=w:T[++M]=w:(T[++M]=null,q.push({i:M,x:H0(x,w)})),h=Wu.lastIndex;return h<l.length&&(k=l.slice(h),T[M]?T[M]+=k:T[++M]=k),T.length<2?q[0]?J1(q[0].x):Z1(l):(l=q.length,function(L){for(var O=0,X;O<l;++O)T[(X=q[O]).i]=X.x(L);return T.join("")})}var Hl=180/Math.PI,il={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function bo(i,l,h,x,w,k){var M,T,q;return(M=Math.sqrt(i*i+l*l))&&(i/=M,l/=M),(q=i*h+l*x)&&(h-=i*q,x-=l*q),(T=Math.sqrt(h*h+x*x))&&(h/=T,x/=T,q/=T),i*x<l*h&&(i=-i,l=-l,q=-q,M=-M),{translateX:w,translateY:k,rotate:Math.atan2(l,i)*Hl,skewX:Math.atan(q)*Hl,scaleX:M,scaleY:T}}var Aa;function ec(i){const l=new(typeof DOMMatrix=="function"?DOMMatrix:WebKitCSSMatrix)(i+"");return l.isIdentity?il:bo(l.a,l.b,l.c,l.d,l.e,l.f)}function rc(i){return i==null||(Aa||(Aa=document.createElementNS("http://www.w3.org/2000/svg","g")),Aa.setAttribute("transform",i),!(i=Aa.transform.baseVal.consolidate()))?il:(i=i.matrix,bo(i.a,i.b,i.c,i.d,i.e,i.f))}function wo(i,l,h,x){function w(L){return L.length?L.pop()+" ":""}function k(L,O,X,re,W,Se){if(L!==X||O!==re){var ye=W.push("translate(",null,l,null,h);Se.push({i:ye-4,x:H0(L,X)},{i:ye-2,x:H0(O,re)})}else(X||re)&&W.push("translate("+X+l+re+h)}function M(L,O,X,re){L!==O?(L-O>180?O+=360:O-L>180&&(L+=360),re.push({i:X.push(w(X)+"rotate(",null,x)-2,x:H0(L,O)})):O&&X.push(w(X)+"rotate("+O+x)}function T(L,O,X,re){L!==O?re.push({i:X.push(w(X)+"skewX(",null,x)-2,x:H0(L,O)}):O&&X.push(w(X)+"skewX("+O+x)}function q(L,O,X,re,W,Se){if(L!==X||O!==re){var ye=W.push(w(W)+"scale(",null,",",null,")");Se.push({i:ye-4,x:H0(L,X)},{i:ye-2,x:H0(O,re)})}else(X!==1||re!==1)&&W.push(w(W)+"scale("+X+","+re+")")}return function(L,O){var X=[],re=[];return L=i(L),O=i(O),k(L.translateX,L.translateY,O.translateX,O.translateY,X,re),M(L.rotate,O.rotate,X,re),T(L.skewX,O.skewX,X,re),q(L.scaleX,L.scaleY,O.scaleX,O.scaleY,X,re),L=O=null,function(W){for(var Se=-1,ye=re.length,_e;++Se<ye;)X[(_e=re[Se]).i]=_e.x(W);return X.join("")}}}var tc=wo(ec,"px, ","px)","deg)"),nc=wo(rc,", ",")",")"),ic=1e-12;function Ul(i){return((i=Math.exp(i))+1/i)/2}function ac(i){return((i=Math.exp(i))-1/i)/2}function uc(i){return((i=Math.exp(2*i))-1)/(i+1)}const lc=function i(l,h,x){function w(k,M){var T=k[0],q=k[1],L=k[2],O=M[0],X=M[1],re=M[2],W=O-T,Se=X-q,ye=W*W+Se*Se,_e,K;if(ye<ic)K=Math.log(re/L)/l,_e=function(ar){return[T+ar*W,q+ar*Se,L*Math.exp(l*ar*K)]};else{var Ae=Math.sqrt(ye),Re=(re*re-L*L+x*ye)/(2*L*h*Ae),Ge=(re*re-L*L-x*ye)/(2*re*h*Ae),Oe=Math.log(Math.sqrt(Re*Re+1)-Re),ir=Math.log(Math.sqrt(Ge*Ge+1)-Ge);K=(ir-Oe)/l,_e=function(ar){var ur=ar*K,or=Ul(Oe),Br=L/(h*Ae)*(or*uc(l*ur+Oe)-ac(Oe));return[T+Br*W,q+Br*Se,L*or/Ul(l*ur+Oe)]}}return _e.duration=K*1e3*l/Math.SQRT2,_e}return w.rho=function(k){var M=Math.max(.001,+k),T=M*M,q=T*T;return i(M,T,q)},w}(Math.SQRT2,2,4);var tn=0,Vn=0,Hn=0,Ao=1e3,Fa,Gn,Na=0,pt=0,La=0,Wn=typeof performance=="object"&&performance.now?performance:Date,ko=typeof window=="object"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(i){setTimeout(i,17)};function vl(){return pt||(ko(oc),pt=Wn.now()+La)}function oc(){pt=0}function qa(){this._call=this._time=this._next=null}qa.prototype=So.prototype={constructor:qa,restart:function(i,l,h){if(typeof i!="function")throw new TypeError("callback is not a function");h=(h==null?vl():+h)+(l==null?0:+l),!this._next&&Gn!==this&&(Gn?Gn._next=this:Fa=this,Gn=this),this._call=i,this._time=h,al()},stop:function(){this._call&&(this._call=null,this._time=1/0,al())}};function So(i,l,h){var x=new qa;return x.restart(i,l,h),x}function sc(){vl(),++tn;for(var i=Fa,l;i;)(l=pt-i._time)>=0&&i._call.call(null,l),i=i._next;--tn}function Vl(){pt=(Na=Wn.now())+La,tn=Vn=0;try{sc()}finally{tn=0,hc(),pt=0}}function cc(){var i=Wn.now(),l=i-Na;l>Ao&&(La-=l,Na=i)}function hc(){for(var i,l=Fa,h,x=1/0;l;)l._call?(x>l._time&&(x=l._time),i=l,l=l._next):(h=l._next,l._next=null,l=i?i._next=h:Fa=h);Gn=i,al(x)}function al(i){if(!tn){Vn&&(Vn=clearTimeout(Vn));var l=i-pt;l>24?(i<1/0&&(Vn=setTimeout(Vl,i-Wn.now()-La)),Hn&&(Hn=clearInterval(Hn))):(Hn||(Na=Wn.now(),Hn=setInterval(cc,Ao)),tn=1,ko(Vl))}}function Gl(i,l,h){var x=new qa;return l=l==null?0:+l,x.restart(w=>{x.stop(),i(w+l)},l,h),x}var fc=fl("start","end","cancel","interrupt"),pc=[],Co=0,$l=1,ul=2,Da=3,Yl=4,ll=5,Ea=6;function Pa(i,l,h,x,w,k){var M=i.__transition;if(!M)i.__transition={};else if(h in M)return;dc(i,h,{name:l,index:x,group:w,on:fc,tween:pc,time:k.time,delay:k.delay,duration:k.duration,ease:k.ease,timer:null,state:Co})}function gl(i,l){var h=r0(i,l);if(h.state>Co)throw new Error("too late; already scheduled");return h}function v0(i,l){var h=r0(i,l);if(h.state>Da)throw new Error("too late; already running");return h}function r0(i,l){var h=i.__transition;if(!h||!(h=h[l]))throw new Error("transition not found");return h}function dc(i,l,h){var x=i.__transition,w;x[l]=h,h.timer=So(k,0,h.time);function k(L){h.state=$l,h.timer.restart(M,h.delay,h.time),h.delay<=L&&M(L-h.delay)}function M(L){var O,X,re,W;if(h.state!==$l)return q();for(O in x)if(W=x[O],W.name===h.name){if(W.state===Da)return Gl(M);W.state===Yl?(W.state=Ea,W.timer.stop(),W.on.call("interrupt",i,i.__data__,W.index,W.group),delete x[O]):+O<l&&(W.state=Ea,W.timer.stop(),W.on.call("cancel",i,i.__data__,W.index,W.group),delete x[O])}if(Gl(function(){h.state===Da&&(h.state=Yl,h.timer.restart(T,h.delay,h.time),T(L))}),h.state=ul,h.on.call("start",i,i.__data__,h.index,h.group),h.state===ul){for(h.state=Da,w=new Array(re=h.tween.length),O=0,X=-1;O<re;++O)(W=h.tween[O].value.call(i,i.__data__,h.index,h.group))&&(w[++X]=W);w.length=X+1}}function T(L){for(var O=L<h.duration?h.ease.call(null,L/h.duration):(h.timer.restart(q),h.state=ll,1),X=-1,re=w.length;++X<re;)w[X].call(i,O);h.state===ll&&(h.on.call("end",i,i.__data__,h.index,h.group),q())}function q(){h.state=Ea,h.timer.stop(),delete x[l];for(var L in x)return;delete i.__transition}}function Ba(i,l){var h=i.__transition,x,w,k=!0,M;if(h){l=l==null?null:l+"";for(M in h){if((x=h[M]).name!==l){k=!1;continue}w=x.state>ul&&x.state<ll,x.state=Ea,x.timer.stop(),x.on.call(w?"interrupt":"cancel",i,i.__data__,x.index,x.group),delete h[M]}k&&delete i.__transition}}function mc(i){return this.each(function(){Ba(this,i)})}function vc(i,l){var h,x;return function(){var w=v0(this,i),k=w.tween;if(k!==h){x=h=k;for(var M=0,T=x.length;M<T;++M)if(x[M].name===l){x=x.slice(),x.splice(M,1);break}}w.tween=x}}function gc(i,l,h){var x,w;if(typeof h!="function")throw new Error;return function(){var k=v0(this,i),M=k.tween;if(M!==x){w=(x=M).slice();for(var T={name:l,value:h},q=0,L=w.length;q<L;++q)if(w[q].name===l){w[q]=T;break}q===L&&w.push(T)}k.tween=w}}function xc(i,l){var h=this._id;if(i+="",arguments.length<2){for(var x=r0(this.node(),h).tween,w=0,k=x.length,M;w<k;++w)if((M=x[w]).name===i)return M.value;return null}return this.each((l==null?vc:gc)(h,i,l))}function xl(i,l,h){var x=i._id;return i.each(function(){var w=v0(this,x);(w.value||(w.value={}))[l]=h.apply(this,arguments)}),function(w){return r0(w,x).value[l]}}function Do(i,l){var h;return(typeof l=="number"?H0:l instanceof jn?Pl:(h=jn(l))?(l=h,Pl):Q1)(i,l)}function yc(i){return function(){this.removeAttribute(i)}}function bc(i){return function(){this.removeAttributeNS(i.space,i.local)}}function wc(i,l,h){var x,w=h+"",k;return function(){var M=this.getAttribute(i);return M===w?null:M===x?k:k=l(x=M,h)}}function Ac(i,l,h){var x,w=h+"",k;return function(){var M=this.getAttributeNS(i.space,i.local);return M===w?null:M===x?k:k=l(x=M,h)}}function kc(i,l,h){var x,w,k;return function(){var M,T=h(this),q;return T==null?void this.removeAttribute(i):(M=this.getAttribute(i),q=T+"",M===q?null:M===x&&q===w?k:(w=q,k=l(x=M,T)))}}function Sc(i,l,h){var x,w,k;return function(){var M,T=h(this),q;return T==null?void this.removeAttributeNS(i.space,i.local):(M=this.getAttributeNS(i.space,i.local),q=T+"",M===q?null:M===x&&q===w?k:(w=q,k=l(x=M,T)))}}function Cc(i,l){var h=Oa(i),x=h==="transform"?nc:Do;return this.attrTween(i,typeof l=="function"?(h.local?Sc:kc)(h,x,xl(this,"attr."+i,l)):l==null?(h.local?bc:yc)(h):(h.local?Ac:wc)(h,x,l))}function Dc(i,l){return function(h){this.setAttribute(i,l.call(this,h))}}function Ec(i,l){return function(h){this.setAttributeNS(i.space,i.local,l.call(this,h))}}function Bc(i,l){var h,x;function w(){var k=l.apply(this,arguments);return k!==x&&(h=(x=k)&&Ec(i,k)),h}return w._value=l,w}function Mc(i,l){var h,x;function w(){var k=l.apply(this,arguments);return k!==x&&(h=(x=k)&&Dc(i,k)),h}return w._value=l,w}function Tc(i,l){var h="attr."+i;if(arguments.length<2)return(h=this.tween(h))&&h._value;if(l==null)return this.tween(h,null);if(typeof l!="function")throw new Error;var x=Oa(i);return this.tween(h,(x.local?Bc:Mc)(x,l))}function _c(i,l){return function(){gl(this,i).delay=+l.apply(this,arguments)}}function zc(i,l){return l=+l,function(){gl(this,i).delay=l}}function Fc(i){var l=this._id;return arguments.length?this.each((typeof i=="function"?_c:zc)(l,i)):r0(this.node(),l).delay}function Nc(i,l){return function(){v0(this,i).duration=+l.apply(this,arguments)}}function qc(i,l){return l=+l,function(){v0(this,i).duration=l}}function Ic(i){var l=this._id;return arguments.length?this.each((typeof i=="function"?Nc:qc)(l,i)):r0(this.node(),l).duration}function Rc(i,l){if(typeof l!="function")throw new Error;return function(){v0(this,i).ease=l}}function Oc(i){var l=this._id;return arguments.length?this.each(Rc(l,i)):r0(this.node(),l).ease}function Lc(i,l){return function(){var h=l.apply(this,arguments);if(typeof h!="function")throw new Error;v0(this,i).ease=h}}function Pc(i){if(typeof i!="function")throw new Error;return this.each(Lc(this._id,i))}function Hc(i){typeof i!="function"&&(i=ao(i));for(var l=this._groups,h=l.length,x=new Array(h),w=0;w<h;++w)for(var k=l[w],M=k.length,T=x[w]=[],q,L=0;L<M;++L)(q=k[L])&&i.call(q,q.__data__,L,k)&&T.push(q);return new E0(x,this._parents,this._name,this._id)}function Uc(i){if(i._id!==this._id)throw new Error;for(var l=this._groups,h=i._groups,x=l.length,w=h.length,k=Math.min(x,w),M=new Array(x),T=0;T<k;++T)for(var q=l[T],L=h[T],O=q.length,X=M[T]=new Array(O),re,W=0;W<O;++W)(re=q[W]||L[W])&&(X[W]=re);for(;T<x;++T)M[T]=l[T];return new E0(M,this._parents,this._name,this._id)}function Vc(i){return(i+"").trim().split(/^|\s+/).every(function(l){var h=l.indexOf(".");return h>=0&&(l=l.slice(0,h)),!l||l==="start"})}function Gc(i,l,h){var x,w,k=Vc(l)?gl:v0;return function(){var M=k(this,i),T=M.on;T!==x&&(w=(x=T).copy()).on(l,h),M.on=w}}function $c(i,l){var h=this._id;return arguments.length<2?r0(this.node(),h).on.on(i):this.each(Gc(h,i,l))}function Yc(i){return function(){var l=this.parentNode;for(var h in this.__transition)if(+h!==i)return;l&&l.removeChild(this)}}function Xc(){return this.on("end.remove",Yc(this._id))}function jc(i){var l=this._name,h=this._id;typeof i!="function"&&(i=pl(i));for(var x=this._groups,w=x.length,k=new Array(w),M=0;M<w;++M)for(var T=x[M],q=T.length,L=k[M]=new Array(q),O,X,re=0;re<q;++re)(O=T[re])&&(X=i.call(O,O.__data__,re,T))&&("__data__"in O&&(X.__data__=O.__data__),L[re]=X,Pa(L[re],l,h,re,L,r0(O,h)));return new E0(k,this._parents,l,h)}function Wc(i){var l=this._name,h=this._id;typeof i!="function"&&(i=io(i));for(var x=this._groups,w=x.length,k=[],M=[],T=0;T<w;++T)for(var q=x[T],L=q.length,O,X=0;X<L;++X)if(O=q[X]){for(var re=i.call(O,O.__data__,X,q),W,Se=r0(O,h),ye=0,_e=re.length;ye<_e;++ye)(W=re[ye])&&Pa(W,l,h,ye,re,Se);k.push(re),M.push(O)}return new E0(k,M,l,h)}var Kc=Kn.prototype.constructor;function Zc(){return new Kc(this._groups,this._parents)}function Jc(i,l){var h,x,w;return function(){var k=rn(this,i),M=(this.style.removeProperty(i),rn(this,i));return k===M?null:k===h&&M===x?w:w=l(h=k,x=M)}}function Eo(i){return function(){this.style.removeProperty(i)}}function Qc(i,l,h){var x,w=h+"",k;return function(){var M=rn(this,i);return M===w?null:M===x?k:k=l(x=M,h)}}function e2(i,l,h){var x,w,k;return function(){var M=rn(this,i),T=h(this),q=T+"";return T==null&&(q=T=(this.style.removeProperty(i),rn(this,i))),M===q?null:M===x&&q===w?k:(w=q,k=l(x=M,T))}}function r2(i,l){var h,x,w,k="style."+l,M="end."+k,T;return function(){var q=v0(this,i),L=q.on,O=q.value[k]==null?T||(T=Eo(l)):void 0;(L!==h||w!==O)&&(x=(h=L).copy()).on(M,w=O),q.on=x}}function t2(i,l,h){var x=(i+="")=="transform"?tc:Do;return l==null?this.styleTween(i,Jc(i,x)).on("end.style."+i,Eo(i)):typeof l=="function"?this.styleTween(i,e2(i,x,xl(this,"style."+i,l))).each(r2(this._id,i)):this.styleTween(i,Qc(i,x,l),h).on("end.style."+i,null)}function n2(i,l,h){return function(x){this.style.setProperty(i,l.call(this,x),h)}}function i2(i,l,h){var x,w;function k(){var M=l.apply(this,arguments);return M!==w&&(x=(w=M)&&n2(i,M,h)),x}return k._value=l,k}function a2(i,l,h){var x="style."+(i+="");if(arguments.length<2)return(x=this.tween(x))&&x._value;if(l==null)return this.tween(x,null);if(typeof l!="function")throw new Error;return this.tween(x,i2(i,l,h??""))}function u2(i){return function(){this.textContent=i}}function l2(i){return function(){var l=i(this);this.textContent=l??""}}function o2(i){return this.tween("text",typeof i=="function"?l2(xl(this,"text",i)):u2(i==null?"":i+""))}function s2(i){return function(l){this.textContent=i.call(this,l)}}function c2(i){var l,h;function x(){var w=i.apply(this,arguments);return w!==h&&(l=(h=w)&&s2(w)),l}return x._value=i,x}function h2(i){var l="text";if(arguments.length<1)return(l=this.tween(l))&&l._value;if(i==null)return this.tween(l,null);if(typeof i!="function")throw new Error;return this.tween(l,c2(i))}function f2(){for(var i=this._name,l=this._id,h=Bo(),x=this._groups,w=x.length,k=0;k<w;++k)for(var M=x[k],T=M.length,q,L=0;L<T;++L)if(q=M[L]){var O=r0(q,l);Pa(q,i,h,L,M,{time:O.time+O.delay+O.duration,delay:0,duration:O.duration,ease:O.ease})}return new E0(x,this._parents,i,h)}function p2(){var i,l,h=this,x=h._id,w=h.size();return new Promise(function(k,M){var T={value:M},q={value:function(){--w===0&&k()}};h.each(function(){var L=v0(this,x),O=L.on;O!==i&&(l=(i=O).copy(),l._.cancel.push(T),l._.interrupt.push(T),l._.end.push(q)),L.on=l}),w===0&&k()})}var d2=0;function E0(i,l,h,x){this._groups=i,this._parents=l,this._name=h,this._id=x}function Bo(){return++d2}var ct=Kn.prototype;E0.prototype={constructor:E0,select:jc,selectAll:Wc,filter:Hc,merge:Uc,selection:Zc,transition:f2,call:ct.call,nodes:ct.nodes,node:ct.node,size:ct.size,empty:ct.empty,each:ct.each,on:$c,attr:Cc,attrTween:Tc,style:t2,styleTween:a2,text:o2,textTween:h2,remove:Xc,tween:xc,delay:Fc,duration:Ic,ease:Oc,easeVarying:Pc,end:p2,[Symbol.iterator]:ct[Symbol.iterator]};function m2(i){return((i*=2)<=1?i*i*i:(i-=2)*i*i+2)/2}var v2={time:null,delay:0,duration:250,ease:m2};function g2(i,l){for(var h;!(h=i.__transition)||!(h=h[l]);)if(!(i=i.parentNode))throw new Error(`transition ${l} not found`);return h}function x2(i){var l,h;i instanceof E0?(l=i._id,i=i._name):(l=Bo(),(h=v2).time=vl(),i=i==null?null:i+"");for(var x=this._groups,w=x.length,k=0;k<w;++k)for(var M=x[k],T=M.length,q,L=0;L<T;++L)(q=M[L])&&Pa(q,i,l,L,M,h||g2(q,l));return new E0(x,this._parents,i,l)}Kn.prototype.interrupt=mc;Kn.prototype.transition=x2;const ol=Math.PI,sl=2*ol,ht=1e-6,y2=sl-ht;function cl(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function Mo(){return new cl}cl.prototype=Mo.prototype={constructor:cl,moveTo:function(i,l){this._+="M"+(this._x0=this._x1=+i)+","+(this._y0=this._y1=+l)},closePath:function(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(i,l){this._+="L"+(this._x1=+i)+","+(this._y1=+l)},quadraticCurveTo:function(i,l,h,x){this._+="Q"+ +i+","+ +l+","+(this._x1=+h)+","+(this._y1=+x)},bezierCurveTo:function(i,l,h,x,w,k){this._+="C"+ +i+","+ +l+","+ +h+","+ +x+","+(this._x1=+w)+","+(this._y1=+k)},arcTo:function(i,l,h,x,w){i=+i,l=+l,h=+h,x=+x,w=+w;var k=this._x1,M=this._y1,T=h-i,q=x-l,L=k-i,O=M-l,X=L*L+O*O;if(w<0)throw new Error("negative radius: "+w);if(this._x1===null)this._+="M"+(this._x1=i)+","+(this._y1=l);else if(X>ht)if(!(Math.abs(O*T-q*L)>ht)||!w)this._+="L"+(this._x1=i)+","+(this._y1=l);else{var re=h-k,W=x-M,Se=T*T+q*q,ye=re*re+W*W,_e=Math.sqrt(Se),K=Math.sqrt(X),Ae=w*Math.tan((ol-Math.acos((Se+X-ye)/(2*_e*K)))/2),Re=Ae/K,Ge=Ae/_e;Math.abs(Re-1)>ht&&(this._+="L"+(i+Re*L)+","+(l+Re*O)),this._+="A"+w+","+w+",0,0,"+ +(O*re>L*W)+","+(this._x1=i+Ge*T)+","+(this._y1=l+Ge*q)}},arc:function(i,l,h,x,w,k){i=+i,l=+l,h=+h,k=!!k;var M=h*Math.cos(x),T=h*Math.sin(x),q=i+M,L=l+T,O=1^k,X=k?x-w:w-x;if(h<0)throw new Error("negative radius: "+h);this._x1===null?this._+="M"+q+","+L:(Math.abs(this._x1-q)>ht||Math.abs(this._y1-L)>ht)&&(this._+="L"+q+","+L),h&&(X<0&&(X=X%sl+sl),X>y2?this._+="A"+h+","+h+",0,1,"+O+","+(i-M)+","+(l-T)+"A"+h+","+h+",0,1,"+O+","+(this._x1=q)+","+(this._y1=L):X>ht&&(this._+="A"+h+","+h+",0,"+ +(X>=ol)+","+O+","+(this._x1=i+h*Math.cos(w))+","+(this._y1=l+h*Math.sin(w))))},rect:function(i,l,h,x){this._+="M"+(this._x0=this._x1=+i)+","+(this._y0=this._y1=+l)+"h"+ +h+"v"+ +x+"h"+-h+"Z"},toString:function(){return this._}};function b2(i,l){switch(arguments.length){case 0:break;case 1:this.range(i);break;default:this.range(l).domain(i);break}return this}const Xl=Symbol("implicit");function To(){var i=new Map,l=[],h=[],x=Xl;function w(k){var M=k+"",T=i.get(M);if(!T){if(x!==Xl)return x;i.set(M,T=l.push(k))}return h[(T-1)%h.length]}return w.domain=function(k){if(!arguments.length)return l.slice();l=[],i=new Map;for(const M of k){const T=M+"";i.has(T)||i.set(T,l.push(M))}return w},w.range=function(k){return arguments.length?(h=Array.from(k),w):h.slice()},w.unknown=function(k){return arguments.length?(x=k,w):x},w.copy=function(){return To(l,h).unknown(x)},b2.apply(w,arguments),w}function w2(i){for(var l=i.length/6|0,h=new Array(l),x=0;x<l;)h[x]="#"+i.slice(x*6,++x*6);return h}const A2=w2("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf");function jl(i){return function(){return i}}var k2=Array.prototype.slice;function S2(i){return i[0]}function C2(i){return i[1]}function D2(i){return i.source}function E2(i){return i.target}function B2(i){var l=D2,h=E2,x=S2,w=C2,k=null;function M(){var T,q=k2.call(arguments),L=l.apply(this,q),O=h.apply(this,q);if(k||(k=T=Mo()),i(k,+x.apply(this,(q[0]=L,q)),+w.apply(this,q),+x.apply(this,(q[0]=O,q)),+w.apply(this,q)),T)return k=null,T+""||null}return M.source=function(T){return arguments.length?(l=T,M):l},M.target=function(T){return arguments.length?(h=T,M):h},M.x=function(T){return arguments.length?(x=typeof T=="function"?T:jl(+T),M):x},M.y=function(T){return arguments.length?(w=typeof T=="function"?T:jl(+T),M):w},M.context=function(T){return arguments.length?(k=T??null,M):k},M}function M2(i,l,h,x,w){i.moveTo(l,h),i.bezierCurveTo(l=(l+x)/2,h,l,w,x,w)}function T2(){return B2(M2)}const ka=i=>()=>i;function _2(i,{sourceEvent:l,target:h,transform:x,dispatch:w}){Object.defineProperties(this,{type:{value:i,enumerable:!0,configurable:!0},sourceEvent:{value:l,enumerable:!0,configurable:!0},target:{value:h,enumerable:!0,configurable:!0},transform:{value:x,enumerable:!0,configurable:!0},_:{value:w}})}function D0(i,l,h){this.k=i,this.x=l,this.y=h}D0.prototype={constructor:D0,scale:function(i){return i===1?this:new D0(this.k*i,this.x,this.y)},translate:function(i,l){return i===0&l===0?this:new D0(this.k,this.x+this.k*i,this.y+this.k*l)},apply:function(i){return[i[0]*this.k+this.x,i[1]*this.k+this.y]},applyX:function(i){return i*this.k+this.x},applyY:function(i){return i*this.k+this.y},invert:function(i){return[(i[0]-this.x)/this.k,(i[1]-this.y)/this.k]},invertX:function(i){return(i-this.x)/this.k},invertY:function(i){return(i-this.y)/this.k},rescaleX:function(i){return i.copy().domain(i.range().map(this.invertX,this).map(i.invert,i))},rescaleY:function(i){return i.copy().domain(i.range().map(this.invertY,this).map(i.invert,i))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var Ha=new D0(1,0,0);Ma.prototype=D0.prototype;function Ma(i){for(;!i.__zoom;)if(!(i=i.parentNode))return Ha;return i.__zoom}function Ku(i){i.stopImmediatePropagation()}function Un(i){i.preventDefault(),i.stopImmediatePropagation()}function z2(i){return(!i.ctrlKey||i.type==="wheel")&&!i.button}function F2(){var i=this;return i instanceof SVGElement?(i=i.ownerSVGElement||i,i.hasAttribute("viewBox")?(i=i.viewBox.baseVal,[[i.x,i.y],[i.x+i.width,i.y+i.height]]):[[0,0],[i.width.baseVal.value,i.height.baseVal.value]]):[[0,0],[i.clientWidth,i.clientHeight]]}function Wl(){return this.__zoom||Ha}function N2(i){return-i.deltaY*(i.deltaMode===1?.05:i.deltaMode?1:.002)*(i.ctrlKey?10:1)}function q2(){return navigator.maxTouchPoints||"ontouchstart"in this}function I2(i,l,h){var x=i.invertX(l[0][0])-h[0][0],w=i.invertX(l[1][0])-h[1][0],k=i.invertY(l[0][1])-h[0][1],M=i.invertY(l[1][1])-h[1][1];return i.translate(w>x?(x+w)/2:Math.min(0,x)||Math.max(0,w),M>k?(k+M)/2:Math.min(0,k)||Math.max(0,M))}function R2(){var i=z2,l=F2,h=I2,x=N2,w=q2,k=[0,1/0],M=[[-1/0,-1/0],[1/0,1/0]],T=250,q=lc,L=fl("start","zoom","end"),O,X,re,W=500,Se=150,ye=0,_e=10;function K(P){P.property("__zoom",Wl).on("wheel.zoom",ur).on("mousedown.zoom",or).on("dblclick.zoom",Br).filter(w).on("touchstart.zoom",sr).on("touchmove.zoom",qr).on("touchend.zoom touchcancel.zoom",G).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}K.transform=function(P,ce,ee,be){var ke=P.selection?P.selection():P;ke.property("__zoom",Wl),P!==ke?Oe(P,ce,ee,be):ke.interrupt().each(function(){ir(this,arguments).event(be).start().zoom(null,typeof ce=="function"?ce.apply(this,arguments):ce).end()})},K.scaleBy=function(P,ce,ee,be){K.scaleTo(P,function(){var ke=this.__zoom.k,Te=typeof ce=="function"?ce.apply(this,arguments):ce;return ke*Te},ee,be)},K.scaleTo=function(P,ce,ee,be){K.transform(P,function(){var ke=l.apply(this,arguments),Te=this.__zoom,De=ee==null?Ge(ke):typeof ee=="function"?ee.apply(this,arguments):ee,ue=Te.invert(De),Le=typeof ce=="function"?ce.apply(this,arguments):ce;return h(Re(Ae(Te,Le),De,ue),ke,M)},ee,be)},K.translateBy=function(P,ce,ee,be){K.transform(P,function(){return h(this.__zoom.translate(typeof ce=="function"?ce.apply(this,arguments):ce,typeof ee=="function"?ee.apply(this,arguments):ee),l.apply(this,arguments),M)},null,be)},K.translateTo=function(P,ce,ee,be,ke){K.transform(P,function(){var Te=l.apply(this,arguments),De=this.__zoom,ue=be==null?Ge(Te):typeof be=="function"?be.apply(this,arguments):be;return h(Ha.translate(ue[0],ue[1]).scale(De.k).translate(typeof ce=="function"?-ce.apply(this,arguments):-ce,typeof ee=="function"?-ee.apply(this,arguments):-ee),Te,M)},be,ke)};function Ae(P,ce){return ce=Math.max(k[0],Math.min(k[1],ce)),ce===P.k?P:new D0(ce,P.x,P.y)}function Re(P,ce,ee){var be=ce[0]-ee[0]*P.k,ke=ce[1]-ee[1]*P.k;return be===P.x&&ke===P.y?P:new D0(P.k,be,ke)}function Ge(P){return[(+P[0][0]+ +P[1][0])/2,(+P[0][1]+ +P[1][1])/2]}function Oe(P,ce,ee,be){P.on("start.zoom",function(){ir(this,arguments).event(be).start()}).on("interrupt.zoom end.zoom",function(){ir(this,arguments).event(be).end()}).tween("zoom",function(){var ke=this,Te=arguments,De=ir(ke,Te).event(be),ue=l.apply(ke,Te),Le=ee==null?Ge(ue):typeof ee=="function"?ee.apply(ke,Te):ee,Mr=Math.max(ue[1][0]-ue[0][0],ue[1][1]-ue[0][1]),$e=ke.__zoom,mr=typeof ce=="function"?ce.apply(ke,Te):ce,We=q($e.invert(Le).concat(Mr/$e.k),mr.invert(Le).concat(Mr/mr.k));return function(wr){if(wr===1)wr=mr;else{var Ir=We(wr),G0=Mr/Ir[2];wr=new D0(G0,Le[0]-Ir[0]*G0,Le[1]-Ir[1]*G0)}De.zoom(null,wr)}})}function ir(P,ce,ee){return!ee&&P.__zooming||new ar(P,ce)}function ar(P,ce){this.that=P,this.args=ce,this.active=0,this.sourceEvent=null,this.extent=l.apply(P,ce),this.taps=0}ar.prototype={event:function(P){return P&&(this.sourceEvent=P),this},start:function(){return++this.active===1&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(P,ce){return this.mouse&&P!=="mouse"&&(this.mouse[1]=ce.invert(this.mouse[0])),this.touch0&&P!=="touch"&&(this.touch0[1]=ce.invert(this.touch0[0])),this.touch1&&P!=="touch"&&(this.touch1[1]=ce.invert(this.touch1[0])),this.that.__zoom=ce,this.emit("zoom"),this},end:function(){return--this.active===0&&(delete this.that.__zooming,this.emit("end")),this},emit:function(P){var ce=V0(this.that).datum();L.call(P,this.that,new _2(P,{sourceEvent:this.sourceEvent,target:K,type:P,transform:this.that.__zoom,dispatch:L}),ce)}};function ur(P,...ce){if(!i.apply(this,arguments))return;var ee=ir(this,ce).event(P),be=this.__zoom,ke=Math.max(k[0],Math.min(k[1],be.k*Math.pow(2,x.apply(this,arguments)))),Te=st(P);if(ee.wheel)(ee.mouse[0][0]!==Te[0]||ee.mouse[0][1]!==Te[1])&&(ee.mouse[1]=be.invert(ee.mouse[0]=Te)),clearTimeout(ee.wheel);else{if(be.k===ke)return;ee.mouse=[Te,be.invert(Te)],Ba(this),ee.start()}Un(P),ee.wheel=setTimeout(De,Se),ee.zoom("mouse",h(Re(Ae(be,ke),ee.mouse[0],ee.mouse[1]),ee.extent,M));function De(){ee.wheel=null,ee.end()}}function or(P,...ce){if(re||!i.apply(this,arguments))return;var ee=ir(this,ce,!0).event(P),be=V0(P.view).on("mousemove.zoom",Le,!0).on("mouseup.zoom",Mr,!0),ke=st(P,Te),Te=P.currentTarget,De=P.clientX,ue=P.clientY;I1(P.view),Ku(P),ee.mouse=[ke,this.__zoom.invert(ke)],Ba(this),ee.start();function Le($e){if(Un($e),!ee.moved){var mr=$e.clientX-De,We=$e.clientY-ue;ee.moved=mr*mr+We*We>ye}ee.event($e).zoom("mouse",h(Re(ee.that.__zoom,ee.mouse[0]=st($e,Te),ee.mouse[1]),ee.extent,M))}function Mr($e){be.on("mousemove.zoom mouseup.zoom",null),R1($e.view,ee.moved),Un($e),ee.event($e).end()}}function Br(P,...ce){if(i.apply(this,arguments)){var ee=this.__zoom,be=st(P.changedTouches?P.changedTouches[0]:P,this),ke=ee.invert(be),Te=ee.k*(P.shiftKey?.5:2),De=h(Re(Ae(ee,Te),be,ke),l.apply(this,ce),M);Un(P),T>0?V0(this).transition().duration(T).call(Oe,De,be,P):V0(this).call(K.transform,De,be,P)}}function sr(P,...ce){if(i.apply(this,arguments)){var ee=P.touches,be=ee.length,ke=ir(this,ce,P.changedTouches.length===be).event(P),Te,De,ue,Le;for(Ku(P),De=0;De<be;++De)ue=ee[De],Le=st(ue,this),Le=[Le,this.__zoom.invert(Le),ue.identifier],ke.touch0?!ke.touch1&&ke.touch0[2]!==Le[2]&&(ke.touch1=Le,ke.taps=0):(ke.touch0=Le,Te=!0,ke.taps=1+!!O);O&&(O=clearTimeout(O)),Te&&(ke.taps<2&&(X=Le[0],O=setTimeout(function(){O=null},W)),Ba(this),ke.start())}}function qr(P,...ce){if(this.__zooming){var ee=ir(this,ce).event(P),be=P.changedTouches,ke=be.length,Te,De,ue,Le;for(Un(P),Te=0;Te<ke;++Te)De=be[Te],ue=st(De,this),ee.touch0&&ee.touch0[2]===De.identifier?ee.touch0[0]=ue:ee.touch1&&ee.touch1[2]===De.identifier&&(ee.touch1[0]=ue);if(De=ee.that.__zoom,ee.touch1){var Mr=ee.touch0[0],$e=ee.touch0[1],mr=ee.touch1[0],We=ee.touch1[1],wr=(wr=mr[0]-Mr[0])*wr+(wr=mr[1]-Mr[1])*wr,Ir=(Ir=We[0]-$e[0])*Ir+(Ir=We[1]-$e[1])*Ir;De=Ae(De,Math.sqrt(wr/Ir)),ue=[(Mr[0]+mr[0])/2,(Mr[1]+mr[1])/2],Le=[($e[0]+We[0])/2,($e[1]+We[1])/2]}else if(ee.touch0)ue=ee.touch0[0],Le=ee.touch0[1];else return;ee.zoom("touch",h(Re(De,ue,Le),ee.extent,M))}}function G(P,...ce){if(this.__zooming){var ee=ir(this,ce).event(P),be=P.changedTouches,ke=be.length,Te,De;for(Ku(P),re&&clearTimeout(re),re=setTimeout(function(){re=null},W),Te=0;Te<ke;++Te)De=be[Te],ee.touch0&&ee.touch0[2]===De.identifier?delete ee.touch0:ee.touch1&&ee.touch1[2]===De.identifier&&delete ee.touch1;if(ee.touch1&&!ee.touch0&&(ee.touch0=ee.touch1,delete ee.touch1),ee.touch0)ee.touch0[1]=this.__zoom.invert(ee.touch0[0]);else if(ee.end(),ee.taps===2&&(De=st(De,this),Math.hypot(X[0]-De[0],X[1]-De[1])<_e)){var ue=V0(this).on("dblclick.zoom");ue&&ue.apply(this,arguments)}}}return K.wheelDelta=function(P){return arguments.length?(x=typeof P=="function"?P:ka(+P),K):x},K.filter=function(P){return arguments.length?(i=typeof P=="function"?P:ka(!!P),K):i},K.touchable=function(P){return arguments.length?(w=typeof P=="function"?P:ka(!!P),K):w},K.extent=function(P){return arguments.length?(l=typeof P=="function"?P:ka([[+P[0][0],+P[0][1]],[+P[1][0],+P[1][1]]]),K):l},K.scaleExtent=function(P){return arguments.length?(k[0]=+P[0],k[1]=+P[1],K):[k[0],k[1]]},K.translateExtent=function(P){return arguments.length?(M[0][0]=+P[0][0],M[1][0]=+P[1][0],M[0][1]=+P[0][1],M[1][1]=+P[1][1],K):[[M[0][0],M[0][1]],[M[1][0],M[1][1]]]},K.constrain=function(P){return arguments.length?(h=P,K):h},K.duration=function(P){return arguments.length?(T=+P,K):T},K.interpolate=function(P){return arguments.length?(q=P,K):q},K.on=function(){var P=L.on.apply(L,arguments);return P===L?K:P},K.clickDistance=function(P){return arguments.length?(ye=(P=+P)*P,K):Math.sqrt(ye)},K.tapDistance=function(P){return arguments.length?(_e=+P,K):_e},K}/*! markmap-view v0.14.4 | MIT License */function U0(){return U0=Object.assign||function(i){for(var l=1;l<arguments.length;l++){var h=arguments[l];for(var x in h)Object.prototype.hasOwnProperty.call(h,x)&&(i[x]=h[x])}return i},U0.apply(this,arguments)}function O2(i){var l=0,h=i.children,x=h&&h.length;if(!x)l=1;else for(;--x>=0;)l+=h[x].value;i.value=l}function L2(){return this.eachAfter(O2)}function P2(i){var l=this,h,x=[l],w,k,M;do for(h=x.reverse(),x=[];l=h.pop();)if(i(l),w=l.children,w)for(k=0,M=w.length;k<M;++k)x.push(w[k]);while(x.length);return this}function H2(i){for(var l=this,h=[l],x,w;l=h.pop();)if(i(l),x=l.children,x)for(w=x.length-1;w>=0;--w)h.push(x[w]);return this}function U2(i){for(var l=this,h=[l],x=[],w,k,M;l=h.pop();)if(x.push(l),w=l.children,w)for(k=0,M=w.length;k<M;++k)h.push(w[k]);for(;l=x.pop();)i(l);return this}function V2(i){return this.eachAfter(function(l){for(var h=+i(l.data)||0,x=l.children,w=x&&x.length;--w>=0;)h+=x[w].value;l.value=h})}function G2(i){return this.eachBefore(function(l){l.children&&l.children.sort(i)})}function $2(i){for(var l=this,h=Y2(l,i),x=[l];l!==h;)l=l.parent,x.push(l);for(var w=x.length;i!==h;)x.splice(w,0,i),i=i.parent;return x}function Y2(i,l){if(i===l)return i;var h=i.ancestors(),x=l.ancestors(),w=null;for(i=h.pop(),l=x.pop();i===l;)w=i,i=h.pop(),l=x.pop();return w}function X2(){for(var i=this,l=[i];i=i.parent;)l.push(i);return l}function j2(){var i=[];return this.each(function(l){i.push(l)}),i}function W2(){var i=[];return this.eachBefore(function(l){l.children||i.push(l)}),i}function K2(){var i=this,l=[];return i.each(function(h){h!==i&&l.push({source:h.parent,target:h})}),l}function yl(i,l){var h=new Ia(i),x=+i.value&&(h.value=i.value),w,k=[h],M,T,q,L;for(l==null&&(l=J2);w=k.pop();)if(x&&(w.value=+w.data.value),(T=l(w.data))&&(L=T.length))for(w.children=new Array(L),q=L-1;q>=0;--q)k.push(M=w.children[q]=new Ia(T[q])),M.parent=w,M.depth=w.depth+1;return h.eachBefore(eh)}function Z2(){return yl(this).eachBefore(Q2)}function J2(i){return i.children}function Q2(i){i.data=i.data.data}function eh(i){var l=0;do i.height=l;while((i=i.parent)&&i.height<++l)}function Ia(i){this.data=i,this.depth=this.height=0,this.parent=null}Ia.prototype=yl.prototype={constructor:Ia,count:L2,each:P2,eachAfter:U2,eachBefore:H2,sum:V2,sort:G2,path:$2,ancestors:X2,descendants:j2,leaves:W2,links:K2,copy:Z2};var rh="d3-flextree",th="2.1.2",nh="build/d3-flextree.js",ih="index",ah={name:"Chris Maloney",url:"http://chrismaloney.org"},uh="Flexible tree layout algorithm that allows for variable node sizes.",lh=["d3","d3-module","layout","tree","hierarchy","d3-hierarchy","plugin","d3-plugin","infovis","visualization","2d"],oh="https://github.com/klortho/d3-flextree",sh="WTFPL",ch={type:"git",url:"https://github.com/klortho/d3-flextree.git"},hh={clean:"rm -rf build demo test","build:demo":"rollup -c --environment BUILD:demo","build:dev":"rollup -c --environment BUILD:dev","build:prod":"rollup -c --environment BUILD:prod","build:test":"rollup -c --environment BUILD:test",build:"rollup -c",lint:"eslint index.js src","test:main":"node test/bundle.js","test:browser":"node test/browser-tests.js",test:"npm-run-all test:*",prepare:"npm-run-all clean build lint test"},fh={"d3-hierarchy":"^1.1.5"},ph={"babel-plugin-external-helpers":"^6.22.0","babel-preset-es2015-rollup":"^3.0.0",d3:"^4.13.0","d3-selection-multi":"^1.0.1",eslint:"^4.19.1",jsdom:"^11.6.2","npm-run-all":"^4.1.2",rollup:"^0.55.3","rollup-plugin-babel":"^2.7.1","rollup-plugin-commonjs":"^8.0.2","rollup-plugin-copy":"^0.2.3","rollup-plugin-json":"^2.3.0","rollup-plugin-node-resolve":"^3.0.2","rollup-plugin-uglify":"^3.0.0","uglify-es":"^3.3.9"},dh={name:rh,version:th,main:nh,module:ih,"jsnext:main":"index",author:ah,description:uh,keywords:lh,homepage:oh,license:sh,repository:ch,scripts:hh,dependencies:fh,devDependencies:ph};const{version:mh}=dh,vh=Object.freeze({children:i=>i.children,nodeSize:i=>i.data.size,spacing:0});function zo(i){const l=Object.assign({},vh,i);function h(T){const q=l[T];return typeof q=="function"?q:()=>q}function x(T){const q=M(k(),T,L=>L.children);return q.update(),q.data}function w(){const T=h("nodeSize"),q=h("spacing");return class _o extends yl.prototype.constructor{constructor(O){super(O)}copy(){const O=M(this.constructor,this,X=>X.children);return O.each(X=>X.data=X.data.data),O}get size(){return T(this)}spacing(O){return q(this,O)}get nodes(){return this.descendants()}get xSize(){return this.size[0]}get ySize(){return this.size[1]}get top(){return this.y}get bottom(){return this.y+this.ySize}get left(){return this.x-this.xSize/2}get right(){return this.x+this.xSize/2}get root(){const O=this.ancestors();return O[O.length-1]}get numChildren(){return this.hasChildren?this.children.length:0}get hasChildren(){return!this.noChildren}get noChildren(){return this.children===null}get firstChild(){return this.hasChildren?this.children[0]:null}get lastChild(){return this.hasChildren?this.children[this.numChildren-1]:null}get extents(){return(this.children||[]).reduce((O,X)=>_o.maxExtents(O,X.extents),this.nodeExtents)}get nodeExtents(){return{top:this.top,bottom:this.bottom,left:this.left,right:this.right}}static maxExtents(O,X){return{top:Math.min(O.top,X.top),bottom:Math.max(O.bottom,X.bottom),left:Math.min(O.left,X.left),right:Math.max(O.right,X.right)}}}}function k(){const T=w(),q=h("nodeSize"),L=h("spacing");return class extends T{constructor(O){super(O),Object.assign(this,{x:0,y:0,relX:0,prelim:0,shift:0,change:0,lExt:this,lExtRelX:0,lThr:null,rExt:this,rExtRelX:0,rThr:null})}get size(){return q(this.data)}spacing(O){return L(this.data,O.data)}get x(){return this.data.x}set x(O){this.data.x=O}get y(){return this.data.y}set y(O){this.data.y=O}update(){return Fo(this),No(this),this}}}function M(T,q,L){const O=(X,re)=>{const W=new T(X);Object.assign(W,{parent:re,depth:re===null?0:re.depth+1,height:0,length:1});const Se=L(X)||[];return W.children=Se.length===0?null:Se.map(ye=>O(ye,W)),W.children&&Object.assign(W,W.children.reduce((ye,_e)=>({height:Math.max(ye.height,_e.height+1),length:ye.length+_e.length}),W)),W};return O(q,null)}return Object.assign(x,{nodeSize(T){return arguments.length?(l.nodeSize=T,x):l.nodeSize},spacing(T){return arguments.length?(l.spacing=T,x):l.spacing},children(T){return arguments.length?(l.children=T,x):l.children},hierarchy(T,q){const L=typeof q>"u"?l.children:q;return M(w(),T,L)},dump(T){const q=h("nodeSize"),L=O=>X=>{const re=O+" ",W=O+" ",{x:Se,y:ye}=X,_e=q(X),K=X.children||[],Ae=K.length===0?" ":`,${re}children: [${W}${K.map(L(W)).join(W)}${re}],${O}`;return`{ size: [${_e.join(", ")}],${re}x: ${Se}, y: ${ye}${Ae}},`};return L(`
`)(T)}}),x}zo.version=mh;const Fo=(i,l=0)=>(i.y=l,(i.children||[]).reduce((h,x)=>{const[w,k]=h;Fo(x,i.y+i.ySize);const M=(w===0?x.lExt:x.rExt).bottom;w!==0&&xh(i,w,k);const T=Dh(M,w,k);return[w+1,T]},[0,null]),gh(i),Ch(i),i),No=(i,l,h)=>{typeof l>"u"&&(l=-i.relX-i.prelim,h=0);const x=l+i.relX;return i.relX=x+i.prelim-h,i.prelim=0,i.x=h+i.relX,(i.children||[]).forEach(w=>No(w,x,i.x)),i},gh=i=>{(i.children||[]).reduce((l,h)=>{const[x,w]=l,k=x+h.shift,M=w+k+h.change;return h.relX+=M,[k,M]},[0,0])},xh=(i,l,h)=>{const x=i.children[l-1],w=i.children[l];let k=x,M=x.relX,T=w,q=w.relX,L=!0;for(;k&&T;){k.bottom>h.lowY&&(h=h.next);const O=M+k.prelim-(q+T.prelim)+k.xSize/2+T.xSize/2+k.spacing(T);(O>0||O<0&&L)&&(q+=O,yh(w,O),bh(i,l,h.index,O)),L=!1;const X=k.bottom,re=T.bottom;X<=re&&(k=Ah(k),k&&(M+=k.relX)),X>=re&&(T=wh(T),T&&(q+=T.relX))}!k&&T?kh(i,l,T,q):k&&!T&&Sh(i,l,k,M)},yh=(i,l)=>{i.relX+=l,i.lExtRelX+=l,i.rExtRelX+=l},bh=(i,l,h,x)=>{const w=i.children[l],k=l-h;if(k>1){const M=x/k;i.children[h+1].shift+=M,w.shift-=M,w.change-=x-M}},wh=i=>i.hasChildren?i.firstChild:i.lThr,Ah=i=>i.hasChildren?i.lastChild:i.rThr,kh=(i,l,h,x)=>{const w=i.firstChild,k=w.lExt,M=i.children[l];k.lThr=h;const T=x-h.relX-w.lExtRelX;k.relX+=T,k.prelim-=T,w.lExt=M.lExt,w.lExtRelX=M.lExtRelX},Sh=(i,l,h,x)=>{const w=i.children[l],k=w.rExt,M=i.children[l-1];k.rThr=h;const T=x-h.relX-w.rExtRelX;k.relX+=T,k.prelim-=T,w.rExt=M.rExt,w.rExtRelX=M.rExtRelX},Ch=i=>{if(i.hasChildren){const l=i.firstChild,h=i.lastChild,x=(l.prelim+l.relX-l.xSize/2+h.relX+h.prelim+h.xSize/2)/2;Object.assign(i,{prelim:x,lExt:l.lExt,lExtRelX:l.lExtRelX,rExt:h.rExt,rExtRelX:h.rExtRelX})}},Dh=(i,l,h)=>{for(;h!==null&&i>=h.lowY;)h=h.next;return{lowY:i,index:l,next:h}};/*! @gera2ld/jsx-dom v2.1.1 | ISC License */var qo=1,Io=2,ft=1,Ro=4,Eh="http://www.w3.org/2000/svg",Zu="http://www.w3.org/1999/xlink",Bh={show:Zu,actuate:Zu,href:Zu},Mh=function(l){return typeof l=="string"||typeof l=="number"},Th=function(l){return(l==null?void 0:l.vtype)===qo},_h=function(l){return(l==null?void 0:l.vtype)===Io};function Sa(i,l){var h;if(typeof i=="string")h=qo;else if(typeof i=="function")h=Io;else throw new Error("Invalid VNode type");return{vtype:h,type:i,props:l}}function zh(i){return i.children}var Fh={isSvg:!1};function hl(i,l){if(l.type===ft)l.node!=null&&i.append(l.node);else if(l.type===Ro)l.children.forEach(function(h){hl(i,h)});else throw new Error("Unkown ref type "+JSON.stringify(l))}function Nh(i,l,h){for(var x in l)x==="key"||x==="children"||x==="ref"||(x==="dangerouslySetInnerHTML"?i.innerHTML=l[x].__html:x==="innerHTML"||x==="textContent"||x==="innerText"?i[x]=l[x]:x.startsWith("on")?i[x.toLowerCase()]=l[x]:Ih(i,x,l[x],h.isSvg))}var qh={className:"class",labelFor:"for"};function Ih(i,l,h,x){if(l=qh[l]||l,h===!0)i.setAttribute(l,"");else if(h===!1)i.removeAttribute(l);else{var w=x?Bh[l]:void 0;w!==void 0?i.setAttributeNS(w,l,h):i.setAttribute(l,h)}}function $n(i,l){if(l===void 0&&(l=Fh),i==null||typeof i=="boolean")return{type:ft,node:null};if(i instanceof Node)return{type:ft,node:i};if(_h(i)){var h=i,x=h.type,w=h.props;if(x===zh){var k=document.createDocumentFragment();if(w.children){var M=$n(w.children,l);hl(k,M)}return{type:ft,node:k}}var T=x(w);return $n(T,l)}if(Mh(i))return{type:ft,node:document.createTextNode(""+i)};if(Th(i)){var q,L=i,O=L.type,X=L.props;!l.isSvg&&O==="svg"&&(l=Object.assign({},l,{isSvg:!0})),l.isSvg?q=document.createElementNS(Eh,O):q=document.createElement(O),Nh(q,X,l);var re;if(X.children){var W=l;l.isSvg&&O==="foreignObject"&&(W=Object.assign({},W,{isSvg:!1})),re=$n(X.children,W)}re!=null&&hl(q,re);var Se=X.ref;return typeof Se=="function"&&Se(q),{type:ft,node:q}}if(Array.isArray(i))return{type:Ro,children:i.map(function(ye){return $n(ye,l)})};throw new Error("mount: Invalid Vnode!")}function Oo(i){for(var l=[],h=0;h<i.length;h+=1){var x=i[h];Array.isArray(x)?l=l.concat(Oo(x)):x!=null&&l.push(x)}return l}function Lo(i){return i.type===ft?i.node:i.children.map(Lo)}function Ta(i){return Array.isArray(i)?Oo(i.map(Ta)):Lo($n(i))}var Rh=".markmap{font:300 16px/20px sans-serif}.markmap-link{fill:none}.markmap-node>circle{cursor:pointer}.markmap-foreign{display:inline-block}.markmap-foreign a{color:#0097e6}.markmap-foreign a:hover{color:#00a8ff}.markmap-foreign code{background-color:#f0f0f0;border-radius:2px;color:#555;font-size:calc(1em - 2px)}.markmap-foreign :not(pre)>code{padding:.2em .4em}.markmap-foreign del{text-decoration:line-through}.markmap-foreign em{font-style:italic}.markmap-foreign strong{font-weight:bolder}.markmap-foreign mark{background:#ffeaa7}.markmap-foreign pre,.markmap-foreign pre[class*=language-]{margin:0;padding:.2em .4em}",Oh=".markmap-container{height:0;left:-100px;overflow:hidden;position:absolute;top:-100px;width:0}.markmap-container>.markmap-foreign{display:inline-block}.markmap-container>.markmap-foreign>div:last-child{white-space:nowrap}";function Kl(i){const l=i.data;return Math.max(4-2*l.depth,1.5)}function Lh(i,l){Qu(i,(h,x)=>{h.ySizeInner=h.ySize-l,h.y+=l,x()},"children")}function Zl(i,l){const h=rs(i,l);return i[h]}function Jl(i){i.stopPropagation()}function Ph(){return{transformHtml:new eo}}const Hh=new eo,Uh=To(A2),Vh=typeof navigator<"u"&&navigator.userAgent.includes("Macintosh");class Ra{constructor(l,h){this.revokers=[],["handleZoom","handleClick","handlePan"].forEach(x=>{this[x]=this[x].bind(this)}),this.viewHooks=Ph(),this.svg=l.datum?l:V0(l),this.styleNode=this.svg.append("style"),this.zoom=R2().filter(x=>this.options.scrollForPan&&x.type==="wheel"?x.ctrlKey&&!x.button:(!x.ctrlKey||x.type==="wheel")&&!x.button).on("zoom",this.handleZoom),this.setOptions(h),this.state={id:this.options.id||this.svg.attr("id")||Qo()},this.g=this.svg.append("g"),this.revokers.push(Hh.tap(()=>{this.setData()}))}getStyleContent(){const{style:l}=this.options,{id:h}=this.state,x=typeof l=="function"?l(h):"";return[this.options.embedGlobalCSS&&Rh,x].filter(Boolean).join(`
`)}updateStyle(){this.svg.attr("class",es(this.svg.attr("class"),"markmap",this.state.id));const l=this.getStyleContent();this.styleNode.text(l)}handleZoom(l){const{transform:h}=l;this.g.attr("transform",h)}handlePan(l){l.preventDefault();const h=Ma(this.svg.node()),x=h.translate(-l.deltaX/h.k,-l.deltaY/h.k);this.svg.call(this.zoom.transform,x)}handleClick(l,h){var x;const{data:w}=h;w.payload=U0({},w.payload,{fold:(x=w.payload)!=null&&x.fold?0:1}),this.renderData(h.data)}initializeData(l){let h=0;const{color:x,nodeMinHeight:w,maxWidth:k,initialExpandLevel:M}=this.options,{id:T}=this.state,q=Ta(Sa("div",{className:`markmap-container markmap ${T}-g`})),L=Ta(Sa("style",{children:[this.getStyleContent(),Oh].join(`
`)}));document.body.append(q,L);const O=k?`max-width: ${k}px`:"";let X=0;Qu(l,(W,Se,ye)=>{var _e,K,Ae;W.children=(_e=W.children)==null?void 0:_e.map(Oe=>U0({},Oe)),h+=1;const Re=Ta(Sa("div",{className:"markmap-foreign",style:O,children:Sa("div",{dangerouslySetInnerHTML:{__html:W.content}})}));q.append(Re),W.state=U0({},W.state,{id:h,el:Re.firstChild}),W.state.path=[ye==null||(K=ye.state)==null?void 0:K.path,W.state.id].filter(Boolean).join("."),x(W);const Ge=((Ae=W.payload)==null?void 0:Ae.fold)===2;Ge?X+=1:(X||M>=0&&W.depth>=M)&&(W.payload=U0({},W.payload,{fold:1})),Se(),Ge&&(X-=1)});const re=ro(q.childNodes).map(W=>W.firstChild);this.viewHooks.transformHtml.call(this,re),re.forEach(W=>{W.parentNode.append(W.cloneNode(!0))}),Qu(l,(W,Se,ye)=>{var _e;const K=W.state.el.getBoundingClientRect();W.content=W.state.el.innerHTML,W.state.size=[Math.ceil(K.width)+1,Math.max(Math.ceil(K.height),w)],W.state.key=[ye==null||(_e=ye.state)==null?void 0:_e.id,W.state.id].filter(Boolean).join(".")+W.content,Se()}),q.remove(),L.remove()}setOptions(l){this.options=U0({},Ra.defaultOptions,l),this.options.zoom?this.svg.call(this.zoom):this.svg.on(".zoom",null),this.svg.on("wheel",this.options.pan?this.handlePan:null)}setData(l,h){l&&(this.state.data=l),h&&this.setOptions(h),this.initializeData(this.state.data),this.updateStyle(),this.renderData()}renderData(l){var h,x;if(!this.state.data)return;const{spacingHorizontal:w,paddingX:k,spacingVertical:M,autoFit:T,color:q}=this.options,L=zo().children(G=>{var P;return!((P=G.payload)!=null&&P.fold)&&G.children}).nodeSize(G=>{const[P,ce]=G.data.state.size;return[ce,P+(P?k*2:0)+w]}).spacing((G,P)=>G.parent===P.parent?M:M*2),O=L.hierarchy(this.state.data);L(O),Lh(O,w);const X=O.descendants().reverse(),re=O.links(),W=T2(),Se=Tl(X,G=>G.x-G.xSize/2),ye=Ml(X,G=>G.x+G.xSize/2),_e=Tl(X,G=>G.y),K=Ml(X,G=>G.y+G.ySizeInner);Object.assign(this.state,{minX:Se,maxX:ye,minY:_e,maxY:K}),T&&this.fit();const Ae=l&&X.find(G=>G.data===l)||O,Re=(h=Ae.data.state.x0)!=null?h:Ae.x,Ge=(x=Ae.data.state.y0)!=null?x:Ae.y,Oe=this.g.selectAll(Qt("g")).data(X,G=>G.data.state.key),ir=Oe.enter().append("g").attr("data-depth",G=>G.data.depth).attr("data-path",G=>G.data.state.path).attr("transform",G=>`translate(${Ge+Ae.ySizeInner-G.ySizeInner},${Re+Ae.xSize/2-G.xSize})`),ar=this.transition(Oe.exit());ar.select("line").attr("x1",G=>G.ySizeInner).attr("x2",G=>G.ySizeInner),ar.select("foreignObject").style("opacity",0),ar.attr("transform",G=>`translate(${Ae.y+Ae.ySizeInner-G.ySizeInner},${Ae.x+Ae.xSize/2-G.xSize})`).remove();const ur=Oe.merge(ir).attr("class",G=>{var P;return["markmap-node",((P=G.data.payload)==null?void 0:P.fold)&&"markmap-fold"].filter(Boolean).join(" ")});this.transition(ur).attr("transform",G=>`translate(${G.y},${G.x-G.xSize/2})`);const or=ur.selectAll(Qt("line")).data(G=>[G],G=>G.data.state.key).join(G=>G.append("line").attr("x1",P=>P.ySizeInner).attr("x2",P=>P.ySizeInner),G=>G,G=>G.remove());this.transition(or).attr("x1",-1).attr("x2",G=>G.ySizeInner+2).attr("y1",G=>G.xSize).attr("y2",G=>G.xSize).attr("stroke",G=>q(G.data)).attr("stroke-width",Kl);const Br=ur.selectAll(Qt("circle")).data(G=>G.data.children?[G]:[],G=>G.data.state.key).join(G=>G.append("circle").attr("stroke-width","1.5").attr("cx",P=>P.ySizeInner).attr("cy",P=>P.xSize).attr("r",0).on("click",(P,ce)=>this.handleClick(P,ce)),G=>G,G=>G.remove());this.transition(Br).attr("r",6).attr("cx",G=>G.ySizeInner).attr("cy",G=>G.xSize).attr("stroke",G=>q(G.data)).attr("fill",G=>{var P;return(P=G.data.payload)!=null&&P.fold&&G.data.children?q(G.data):"#fff"});const sr=ur.selectAll(Qt("foreignObject")).data(G=>[G],G=>G.data.state.key).join(G=>{const P=G.append("foreignObject").attr("class","markmap-foreign").attr("x",k).attr("y",0).style("opacity",0).on("mousedown",Jl).on("dblclick",Jl);return P.append("xhtml:div").select(function(ee){const be=ee.data.state.el.cloneNode(!0);return this.replaceWith(be),be}).attr("xmlns","http://www.w3.org/1999/xhtml"),P},G=>G,G=>G.remove()).attr("width",G=>Math.max(0,G.ySizeInner-k*2)).attr("height",G=>G.xSize);this.transition(sr).style("opacity",1);const qr=this.g.selectAll(Qt("path")).data(re,G=>G.target.data.state.key).join(G=>{const P=[Ge+Ae.ySizeInner,Re+Ae.xSize/2];return G.insert("path","g").attr("class","markmap-link").attr("data-depth",ce=>ce.target.data.depth).attr("data-path",ce=>ce.target.data.state.path).attr("d",W({source:P,target:P}))},G=>G,G=>{const P=[Ae.y+Ae.ySizeInner,Ae.x+Ae.xSize/2];return this.transition(G).attr("d",W({source:P,target:P})).remove()});this.transition(qr).attr("stroke",G=>q(G.target.data)).attr("stroke-width",G=>Kl(G.target)).attr("d",G=>{const P=[G.source.y+G.source.ySizeInner,G.source.x+G.source.xSize/2],ce=[G.target.y,G.target.x+G.target.xSize/2];return W({source:P,target:ce})}),X.forEach(G=>{G.data.state.x0=G.x,G.data.state.y0=G.y})}transition(l){const{duration:h}=this.options;return l.transition().duration(h)}async fit(){const l=this.svg.node(),{width:h,height:x}=l.getBoundingClientRect(),{fitRatio:w}=this.options,{minX:k,maxX:M,minY:T,maxY:q}=this.state,L=q-T,O=M-k,X=Math.min(h/L*w,x/O*w,2),re=Ha.translate((h-L*X)/2-T*X,(x-O*X)/2-k*X).scale(X);return this.transition(this.svg).call(this.zoom.transform,re).end().catch(Yu)}async ensureView(l,h){let x,w;if(this.g.selectAll(Qt("g")).each(function(Ae){Ae.data===l&&(x=this,w=Ae)}),!x||!w)return;const k=this.svg.node(),M=k.getBoundingClientRect(),T=Ma(k),[q,L]=[w.y,w.y+w.ySizeInner+2].map(K=>K*T.k+T.x),[O,X]=[w.x-w.xSize/2,w.x+w.xSize/2].map(K=>K*T.k+T.y),re=U0({left:0,right:0,top:0,bottom:0},h),W=[re.left-q,M.width-re.right-L],Se=[re.top-O,M.height-re.bottom-X],ye=W[0]*W[1]>0?Zl(W,Math.abs)/T.k:0,_e=Se[0]*Se[1]>0?Zl(Se,Math.abs)/T.k:0;if(ye||_e){const K=T.translate(ye,_e);return this.transition(this.svg).call(this.zoom.transform,K).end().catch(Yu)}}async rescale(l){const h=this.svg.node(),{width:x,height:w}=h.getBoundingClientRect(),k=x/2,M=w/2,T=Ma(h),q=T.translate((k-T.x)*(1-l)/T.k,(M-T.y)*(1-l)/T.k).scale(l);return this.transition(this.svg).call(this.zoom.transform,q).end().catch(Yu)}destroy(){this.svg.on(".zoom",null),this.svg.html(null),this.revokers.forEach(l=>{l()})}static create(l,h,x){const w=new Ra(l,h);return x&&(w.setData(x),w.fit()),w}}Ra.defaultOptions={autoFit:!1,color:i=>Uh(`${i.state.path}`),duration:500,embedGlobalCSS:!0,fitRatio:.95,maxWidth:0,nodeMinHeight:16,paddingX:8,scrollForPan:Vh,spacingHorizontal:80,spacingVertical:5,initialExpandLevel:-1,zoom:!0,pan:!0};export{Ra as M,Yh as b,Zo as r};