@lancc/cmark 1.1.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -0
- package/LICENSE +21 -21
- package/README.md +54 -82
- package/assets/abnfDiagram-WEYOIA3C-CKV_7Upb.js +1 -0
- package/assets/architectureDiagram-ZHVYKT53-BvLudDvk.js +1 -0
- package/assets/blockDiagram-RJAE7QA3--gzkMGi2.js +1 -0
- package/assets/c4Diagram-XDPPPE54-ByfRiJGR.js +1 -0
- package/assets/chunk-2E7WHVMD-TfbC_dmh.js +1 -0
- package/assets/chunk-2Q5K7J3B-0YJgChVo.js +1 -0
- package/assets/chunk-4EMNKR2T-DHoYW7g5.js +1 -0
- package/assets/chunk-55XCU76K-Cq25Yw_G.js +1 -0
- package/assets/chunk-5VM5RSS4-CJaRXFHK.js +1 -0
- package/assets/chunk-JWPE2WC7-BP2iXBhe.js +1 -0
- package/assets/chunk-VQ5W62QI-B95zur4F.js +1 -0
- package/assets/chunk-XXDRQBXY-Ct0MhvQo.js +1 -0
- package/assets/chunk-ZCHMQSOR-C5VhW-wL.js +2 -0
- package/assets/classDiagram-v2-4MYWR3UA-C1G-Vkj0.js +1 -0
- package/assets/cose-bilkent-JH36ORCC-qIQoIBv0.js +1 -0
- package/assets/cynefin-EF2NZ3EQ-CR1E3YiZ.js +1 -0
- package/assets/cynefinDiagram-WF24UDRP-DaJFvZ3b.js +1 -0
- package/assets/cytoscape.esm-SjxgSg6I.js +9 -0
- package/assets/dagre-NK4GIZVX-BFRQhpii.js +1 -0
- package/assets/diagram-CBK3MWTC-DlueL6XZ.js +1 -0
- package/assets/diagram-I5XIIV2D-bITyafYX.js +1 -0
- package/assets/diagram-ODIL2UCW-Dlb4hg_-.js +1 -0
- package/assets/diagram-PFBEJUXE-CRfen0O7.js +1 -0
- package/assets/diagram-RJA3I4VV-CK-FlhGV.js +1 -0
- package/assets/diagram-TYUNFSNR-DmgVsxqa.js +1 -0
- package/assets/ebnfDiagram-V4P3TTPT-B9KGI9eQ.js +1 -0
- package/assets/echarts-CytsvCdp.js +25 -0
- package/assets/elk-QONTBCTQ-VgDftvsU.js +1 -0
- package/assets/erDiagram-KYQIGQAA-DkpP7sS4.js +1 -0
- package/assets/flowDiagram-IUGLLWBU-CRXa9Kxy.js +1 -0
- package/assets/ganttDiagram-R7GPNTJY-Cu2I55Wb.js +1 -0
- package/assets/gitGraphDiagram-PDYL7XHY-CwSo663I.js +1 -0
- package/assets/graph-Dz7AM1Q5.js +1 -0
- package/assets/index-BJ-NdQc4.js +100 -0
- package/assets/index-eB_q_VA3.css +1 -0
- package/assets/infoDiagram-MVDRKAX5-D3Qknzuo.js +1 -0
- package/assets/ishikawaDiagram-HPEHV2GE-9qYT75tk.js +1 -0
- package/assets/journeyDiagram-BOSHW7O7-DeSrJg9o.js +1 -0
- package/assets/kanban-definition-FNSA4HC5-DINkB6G7.js +1 -0
- package/assets/katex-DN8cTsI3.js +1 -0
- package/assets/markdown-S2mWvoE-.js +5 -0
- package/assets/mermaid-T_6Ze_cT.js +7 -0
- package/assets/mindmap-definition-6OY57UG3-DW5hqiAe.js +1 -0
- package/assets/pegDiagram-ECIUJNBX-BWy_tkzy.js +1 -0
- package/assets/pieDiagram-GNMPY74T-CniJbr6l.js +1 -0
- package/assets/quadrantDiagram-D57K4MC3-BVnDJkCv.js +1 -0
- package/assets/railroadDiagram-Y72NRBL7-BNKZpJJb.js +1 -0
- package/assets/requirementDiagram-EQYSW5RA-BETipHj0.js +1 -0
- package/assets/sankeyDiagram-SY24JHO5-ByEYqT7T.js +1 -0
- package/assets/sequenceDiagram-BLEHNHQU-BqCJ2tKG.js +1 -0
- package/assets/sizeCapture-INFHLROL-DlhrWFj-.js +1 -0
- package/assets/stateDiagram-v2-A6IESKWZ-DJUBWLTP.js +1 -0
- package/assets/swimlanes-B3ENRKFQ-D7k7tF5U.js +1 -0
- package/assets/swimlanesDiagram-AYQRV4AK-DoQBgB9o.js +1 -0
- package/assets/timeline-definition-JXYKGLGB-BCNhwnn6.js +1 -0
- package/assets/usecaseDiagram-WPOLBNNX-DRa_Rgl3.js +1 -0
- package/assets/vennDiagram-Q3Y3IDCW-Ba2eaO68.js +1 -0
- package/assets/wardleyDiagram-IVAIDKWA-W_i9vzY-.js +1 -0
- package/assets/xychartDiagram-4URNHDU4-ByfaGjvc.js +1 -0
- package/export-file/github-markdown.css +549 -549
- package/export-file/index.html +32 -32
- package/index.html +4 -4
- package/logo.png +0 -0
- package/package.json +1 -1
- package/plugin.json +8 -218
- package/preload/branch-bar.js +44 -2
- package/preload/export-css.js +59 -0
- package/preload/git-panel.js +102 -23
- package/preload/git-service.js +99 -6
- package/preload/host.js +130 -0
- package/preload/remote-setup.js +425 -0
- package/preload/remote-wizard.js +330 -0
- package/preload/rename-note.js +4 -5
- package/preload/services.js +6 -15
- package/preload/settings-panel.js +468 -356
- package/preload/ws-prefs.js +55 -0
- package/preload.js +291 -6
- package/assets/abnfDiagram-WEYOIA3C-BgXsTF7a.js +0 -1
- package/assets/architectureDiagram-ZHVYKT53-BsCWa_qC.js +0 -36
- package/assets/blockDiagram-RJAE7QA3-wbIxEiYN.js +0 -140
- package/assets/c4Diagram-XDPPPE54-5zdyxFvA.js +0 -38
- package/assets/chunk-2E7WHVMD-F85Lca-i.js +0 -88
- package/assets/chunk-2Q5K7J3B-CjpAZ0OI.js +0 -1
- package/assets/chunk-4EMNKR2T-C8Kbh83c.js +0 -1
- package/assets/chunk-55XCU76K-BINcFiLN.js +0 -1
- package/assets/chunk-5VM5RSS4-Diy5h2LS.js +0 -15
- package/assets/chunk-JWPE2WC7-BXnjDdh1.js +0 -1
- package/assets/chunk-VQ5W62QI-BM7ZZo1I.js +0 -1
- package/assets/chunk-XXDRQBXY-CW8CjB1w.js +0 -1
- package/assets/chunk-ZCHMQSOR-C7ATz1L1.js +0 -2
- package/assets/classDiagram-v2-4MYWR3UA-CMoqNk-b.js +0 -217
- package/assets/cose-bilkent-JH36ORCC-6rqR5iJk.js +0 -1
- package/assets/cynefin-EF2NZ3EQ-DypLIJxl.js +0 -141
- package/assets/cynefinDiagram-WF24UDRP-8b2CEBlR.js +0 -62
- package/assets/cytoscape.esm-CjX6Hyah.js +0 -331
- package/assets/dagre-NK4GIZVX-Dv6vuUbR.js +0 -4
- package/assets/diagram-CBK3MWTC-DJgMDeYd.js +0 -24
- package/assets/diagram-I5XIIV2D-BB9cMoRW.js +0 -24
- package/assets/diagram-ODIL2UCW-BVcRtsdy.js +0 -30
- package/assets/diagram-PFBEJUXE-BbGSOtJx.js +0 -3
- package/assets/diagram-RJA3I4VV-CzkY_8Fo.js +0 -41
- package/assets/diagram-TYUNFSNR-YTl5QdfL.js +0 -200
- package/assets/ebnfDiagram-V4P3TTPT-COVjPAjE.js +0 -1
- package/assets/echarts-BAPDkhe3.js +0 -61
- package/assets/elk-QONTBCTQ-DHsjY8Z_.js +0 -27
- package/assets/erDiagram-KYQIGQAA-CUAbTUl1.js +0 -99
- package/assets/flowDiagram-IUGLLWBU-CWsiqTQC.js +0 -213
- package/assets/ganttDiagram-R7GPNTJY-DetBW0Wm.js +0 -292
- package/assets/gitGraphDiagram-PDYL7XHY-ByrdgJmw.js +0 -106
- package/assets/graph-D8UmR1vK.js +0 -1
- package/assets/index-BLONSItV.css +0 -1
- package/assets/index-Cz6qaZbV.js +0 -744
- package/assets/infoDiagram-MVDRKAX5-BM48fjhU.js +0 -2
- package/assets/ishikawaDiagram-HPEHV2GE-DtHYywHZ.js +0 -70
- package/assets/journeyDiagram-BOSHW7O7-DJ1LiRh3.js +0 -139
- package/assets/kanban-definition-FNSA4HC5-DPPt8pwJ.js +0 -89
- package/assets/katex-CQL9J12G.js +0 -257
- package/assets/markdown-DVehI1Sg.js +0 -314
- package/assets/mermaid-C_q9pug0.js +0 -312
- package/assets/mindmap-definition-6OY57UG3-zbqYOEY6.js +0 -98
- package/assets/pegDiagram-ECIUJNBX-e7QG7TMq.js +0 -1
- package/assets/pieDiagram-GNMPY74T-Duf6YP0N.js +0 -39
- package/assets/quadrantDiagram-D57K4MC3-B2eYoUUy.js +0 -7
- package/assets/railroadDiagram-Y72NRBL7-BWCzPcI_.js +0 -1
- package/assets/requirementDiagram-EQYSW5RA-HhPMEqB1.js +0 -84
- package/assets/sankeyDiagram-SY24JHO5-CMUTwFBB.js +0 -40
- package/assets/sequenceDiagram-BLEHNHQU-C9wR2ll7.js +0 -169
- package/assets/sizeCapture-INFHLROL-DXfz37S6.js +0 -1
- package/assets/stateDiagram-v2-A6IESKWZ-D_gtonhE.js +0 -291
- package/assets/swimlanes-B3ENRKFQ-DdJOuuMV.js +0 -1
- package/assets/swimlanesDiagram-AYQRV4AK-BWt3HxHV.js +0 -8
- package/assets/timeline-definition-JXYKGLGB-DQsdwJe-.js +0 -120
- package/assets/usecaseDiagram-WPOLBNNX-DTRyFq7d.js +0 -370
- package/assets/vennDiagram-Q3Y3IDCW-dihYszm0.js +0 -34
- package/assets/wardleyDiagram-IVAIDKWA-BoPpgYfK.js +0 -78
- package/assets/xychartDiagram-4URNHDU4-DoLjYxeB.js +0 -7
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
function e(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var t={async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null};function r(e){t=e}var n={exec:()=>null};function i(e,t=""){let r="string"==typeof e?e:e.source;const n={replace:(e,t)=>{let i="string"==typeof t?t:t.source;return i=i.replace(a.caret,"$1"),r=r.replace(e,i),n},getRegex:()=>new RegExp(r,t)};return n}var a={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:e=>new RegExp(`^( {0,3}${e})((?:[\t ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ \t][^\\n]*)?(?:\\n|$))`),hrRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}#`),htmlBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}<(?:[a-z].*>|!--)`,"i")},o=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,s=/(?:[*+-]|\d{1,9}[.)])/,l=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,h=i(l).replace(/bull/g,s).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),c=i(l).replace(/bull/g,s).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),u=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,p=/(?!\s*\])(?:\\.|[^\[\]\\])+/,m=i(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",p).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),d=i(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,s).getRegex(),g="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",f=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,b=i("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$))","i").replace("comment",f).replace("tag",g).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),v=i(u).replace("hr",o).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",g).getRegex(),y={blockquote:i(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",v).getRegex(),code:/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,def:m,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:o,html:b,lheading:h,list:d,newline:/^(?:[ \t]*(?:\n|$))+/,paragraph:v,table:n,text:/^[^\n]+/},x=i("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",o).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3}\t)[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",g).getRegex(),w={...y,lheading:c,table:x,paragraph:i(u).replace("hr",o).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",x).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",g).getRegex()},k={...y,html:i("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",f).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:n,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:i(u).replace("hr",o).replace("heading"," *#{1,6} *[^\n]").replace("lheading",h).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},S=/^( {2,}|\\)\n(?!\s*$)/,A=/[\p{P}\p{S}]/u,z=/[\s\p{P}\p{S}]/u,T=/[^\s\p{P}\p{S}]/u,M=i(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,z).getRegex(),C=/(?!~)[\p{P}\p{S}]/u,R=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,B=i(R,"u").replace(/punct/g,A).getRegex(),E=i(R,"u").replace(/punct/g,C).getRegex(),I="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",q=i(I,"gu").replace(/notPunctSpace/g,T).replace(/punctSpace/g,z).replace(/punct/g,A).getRegex(),N=i(I,"gu").replace(/notPunctSpace/g,/(?:[^\s\p{P}\p{S}]|~)/u).replace(/punctSpace/g,/(?!~)[\s\p{P}\p{S}]/u).replace(/punct/g,C).getRegex(),O=i("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,T).replace(/punctSpace/g,z).replace(/punct/g,A).getRegex(),D=i(/\\(punct)/,"gu").replace(/punct/g,A).getRegex(),L=i(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[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])?)+(?![-_])/).getRegex(),H=i(f).replace("(?:--\x3e|$)","--\x3e").getRegex(),P=i("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",H).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),_=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,F=i(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",_).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),$=i(/^!?\[(label)\]\[(ref)\]/).replace("label",_).replace("ref",p).getRegex(),U=i(/^!?\[(ref)\](?:\[\])?/).replace("ref",p).getRegex(),G={_backpedal:n,anyPunctuation:D,autolink:L,blockSkip:/\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g,br:S,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:n,emStrongLDelim:B,emStrongRDelimAst:q,emStrongRDelimUnd:O,escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,link:F,nolink:U,punctuation:M,reflink:$,reflinkSearch:i("reflink|nolink(?!\\()","g").replace("reflink",$).replace("nolink",U).getRegex(),tag:P,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,url:n},V={...G,link:i(/^!?\[(label)\]\((.*?)\)/).replace("label",_).getRegex(),reflink:i(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",_).getRegex()},j={...G,emStrongRDelimAst:N,emStrongLDelim:E,url:i(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\.|[^\\])*?(?:\\.|[^\s~\\]))\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/},Y={...j,br:i(S).replace("{2,}","*").getRegex(),text:i(j.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},W={normal:y,gfm:w,pedantic:k},X={normal:G,gfm:j,breaks:Y,pedantic:V},Z={"&":"&","<":"<",">":">",'"':""","'":"'"},K=e=>Z[e];function Q(e,t){if(t){if(a.escapeTest.test(e))return e.replace(a.escapeReplace,K)}else if(a.escapeTestNoEncode.test(e))return e.replace(a.escapeReplaceNoEncode,K);return e}function J(e){try{e=encodeURI(e).replace(a.percentDecode,"%")}catch{return null}return e}function ee(e,t){const r=e.replace(a.findPipe,(e,t,r)=>{let n=!1,i=t;for(;--i>=0&&"\\"===r[i];)n=!n;return n?"|":" |"}).split(a.splitPipe);let n=0;if(r[0].trim()||r.shift(),r.length>0&&!r.at(-1)?.trim()&&r.pop(),t)if(r.length>t)r.splice(t);else for(;r.length<t;)r.push("");for(;n<r.length;n++)r[n]=r[n].trim().replace(a.slashPipe,"|");return r}function te(e,t,r){const n=e.length;if(0===n)return"";let i=0;for(;i<n;){if(e.charAt(n-i-1)!==t)break;i++}return e.slice(0,n-i)}function re(e,t,r,n,i){const a=t.href,o=t.title||null,s=e[1].replace(i.other.outputLinkReplace,"$1");n.state.inLink=!0;const l={type:"!"===e[0].charAt(0)?"image":"link",raw:r,href:a,title:o,text:s,tokens:n.inlineTokens(s)};return n.state.inLink=!1,l}var ne=class{options;rules;lexer;constructor(e){this.options=e||t}space(e){const t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){const t=this.rules.block.code.exec(e);if(t){const e=t[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?e:te(e,"\n")}}}fences(e){const t=this.rules.block.fences.exec(e);if(t){const e=t[0],r=function(e,t,r){const n=e.match(r.other.indentCodeCompensation);if(null===n)return t;const i=n[1];return t.split("\n").map(e=>{const t=e.match(r.other.beginningSpace);if(null===t)return e;const[n]=t;return n.length>=i.length?e.slice(i.length):e}).join("\n")}(e,t[3]||"",this.rules);return{type:"code",raw:e,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):t[2],text:r}}}heading(e){const t=this.rules.block.heading.exec(e);if(t){let e=t[2].trim();if(this.rules.other.endingHash.test(e)){const t=te(e,"#");this.options.pedantic?e=t.trim():t&&!this.rules.other.endingSpaceChar.test(t)||(e=t.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:e,tokens:this.lexer.inline(e)}}}hr(e){const t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:te(t[0],"\n")}}blockquote(e){const t=this.rules.block.blockquote.exec(e);if(t){let e=te(t[0],"\n").split("\n"),r="",n="";const i=[];for(;e.length>0;){let t=!1;const a=[];let o;for(o=0;o<e.length;o++)if(this.rules.other.blockquoteStart.test(e[o]))a.push(e[o]),t=!0;else{if(t)break;a.push(e[o])}e=e.slice(o);const s=a.join("\n"),l=s.replace(this.rules.other.blockquoteSetextReplace,"\n $1").replace(this.rules.other.blockquoteSetextReplace2,"");r=r?`${r}\n${s}`:s,n=n?`${n}\n${l}`:l;const h=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(l,i,!0),this.lexer.state.top=h,0===e.length)break;const c=i.at(-1);if("code"===c?.type)break;if("blockquote"===c?.type){const t=c,a=t.raw+"\n"+e.join("\n"),o=this.blockquote(a);i[i.length-1]=o,r=r.substring(0,r.length-t.raw.length)+o.raw,n=n.substring(0,n.length-t.text.length)+o.text;break}if("list"===c?.type){const t=c,a=t.raw+"\n"+e.join("\n"),o=this.list(a);i[i.length-1]=o,r=r.substring(0,r.length-c.raw.length)+o.raw,n=n.substring(0,n.length-t.raw.length)+o.raw,e=a.substring(i.at(-1).raw.length).split("\n");continue}}return{type:"blockquote",raw:r,tokens:i,text:n}}}list(e){let t=this.rules.block.list.exec(e);if(t){let r=t[1].trim();const n=r.length>1,i={type:"list",raw:"",ordered:n,start:n?+r.slice(0,-1):"",loose:!1,items:[]};r=n?`\\d{1,9}\\${r.slice(-1)}`:`\\${r}`,this.options.pedantic&&(r=n?r:"[*+-]");const a=this.rules.other.listItemRegex(r);let o=!1;for(;e;){let r=!1,n="",s="";if(!(t=a.exec(e)))break;if(this.rules.block.hr.test(e))break;n=t[0],e=e.substring(n.length);let l=t[2].split("\n",1)[0].replace(this.rules.other.listReplaceTabs,e=>" ".repeat(3*e.length)),h=e.split("\n",1)[0],c=!l.trim(),u=0;if(this.options.pedantic?(u=2,s=l.trimStart()):c?u=t[1].length+1:(u=t[2].search(this.rules.other.nonSpaceChar),u=u>4?1:u,s=l.slice(u),u+=t[1].length),c&&this.rules.other.blankLine.test(h)&&(n+=h+"\n",e=e.substring(h.length+1),r=!0),!r){const t=this.rules.other.nextBulletRegex(u),r=this.rules.other.hrRegex(u),i=this.rules.other.fencesBeginRegex(u),a=this.rules.other.headingBeginRegex(u),o=this.rules.other.htmlBeginRegex(u);for(;e;){const p=e.split("\n",1)[0];let m;if(h=p,this.options.pedantic?(h=h.replace(this.rules.other.listReplaceNesting," "),m=h):m=h.replace(this.rules.other.tabCharGlobal," "),i.test(h))break;if(a.test(h))break;if(o.test(h))break;if(t.test(h))break;if(r.test(h))break;if(m.search(this.rules.other.nonSpaceChar)>=u||!h.trim())s+="\n"+m.slice(u);else{if(c)break;if(l.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4)break;if(i.test(l))break;if(a.test(l))break;if(r.test(l))break;s+="\n"+h}c||h.trim()||(c=!0),n+=p+"\n",e=e.substring(p.length+1),l=m.slice(u)}}i.loose||(o?i.loose=!0:this.rules.other.doubleBlankLine.test(n)&&(o=!0));let p,m=null;this.options.gfm&&(m=this.rules.other.listIsTask.exec(s),m&&(p="[ ] "!==m[0],s=s.replace(this.rules.other.listReplaceTask,""))),i.items.push({type:"list_item",raw:n,task:!!m,checked:p,loose:!1,text:s,tokens:[]}),i.raw+=n}const s=i.items.at(-1);if(!s)return;s.raw=s.raw.trimEnd(),s.text=s.text.trimEnd(),i.raw=i.raw.trimEnd();for(let e=0;e<i.items.length;e++)if(this.lexer.state.top=!1,i.items[e].tokens=this.lexer.blockTokens(i.items[e].text,[]),!i.loose){const t=i.items[e].tokens.filter(e=>"space"===e.type),r=t.length>0&&t.some(e=>this.rules.other.anyLine.test(e.raw));i.loose=r}if(i.loose)for(let e=0;e<i.items.length;e++)i.items[e].loose=!0;return i}}html(e){const t=this.rules.block.html.exec(e);if(t){return{type:"html",block:!0,raw:t[0],pre:"pre"===t[1]||"script"===t[1]||"style"===t[1],text:t[0]}}}def(e){const t=this.rules.block.def.exec(e);if(t){const e=t[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),r=t[2]?t[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",n=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):t[3];return{type:"def",tag:e,raw:t[0],href:r,title:n}}}table(e){const t=this.rules.block.table.exec(e);if(!t)return;if(!this.rules.other.tableDelimiter.test(t[2]))return;const r=ee(t[1]),n=t[2].replace(this.rules.other.tableAlignChars,"").split("|"),i=t[3]?.trim()?t[3].replace(this.rules.other.tableRowBlankLine,"").split("\n"):[],a={type:"table",raw:t[0],header:[],align:[],rows:[]};if(r.length===n.length){for(const e of n)this.rules.other.tableAlignRight.test(e)?a.align.push("right"):this.rules.other.tableAlignCenter.test(e)?a.align.push("center"):this.rules.other.tableAlignLeft.test(e)?a.align.push("left"):a.align.push(null);for(let e=0;e<r.length;e++)a.header.push({text:r[e],tokens:this.lexer.inline(r[e]),header:!0,align:a.align[e]});for(const e of i)a.rows.push(ee(e,a.header.length).map((e,t)=>({text:e,tokens:this.lexer.inline(e),header:!1,align:a.align[t]})));return a}}lheading(e){const t=this.rules.block.lheading.exec(e);if(t)return{type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:t[1],tokens:this.lexer.inline(t[1])}}paragraph(e){const t=this.rules.block.paragraph.exec(e);if(t){const e="\n"===t[1].charAt(t[1].length-1)?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:e,tokens:this.lexer.inline(e)}}}text(e){const t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(e){const t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:t[1]}}tag(e){const t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&this.rules.other.startATag.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(e){const t=this.rules.inline.link.exec(e);if(t){const e=t[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(e)){if(!this.rules.other.endAngleBracket.test(e))return;const t=te(e.slice(0,-1),"\\");if((e.length-t.length)%2==0)return}else{const e=function(e,t){if(-1===e.indexOf(t[1]))return-1;let r=0;for(let n=0;n<e.length;n++)if("\\"===e[n])n++;else if(e[n]===t[0])r++;else if(e[n]===t[1]&&(r--,r<0))return n;return r>0?-2:-1}(t[2],"()");if(-2===e)return;if(e>-1){const r=(0===t[0].indexOf("!")?5:4)+t[1].length+e;t[2]=t[2].substring(0,e),t[0]=t[0].substring(0,r).trim(),t[3]=""}}let r=t[2],n="";if(this.options.pedantic){const e=this.rules.other.pedanticHrefTitle.exec(r);e&&(r=e[1],n=e[3])}else n=t[3]?t[3].slice(1,-1):"";return r=r.trim(),this.rules.other.startAngleBracket.test(r)&&(r=this.options.pedantic&&!this.rules.other.endAngleBracket.test(e)?r.slice(1):r.slice(1,-1)),re(t,{href:r?r.replace(this.rules.inline.anyPunctuation,"$1"):r,title:n?n.replace(this.rules.inline.anyPunctuation,"$1"):n},t[0],this.lexer,this.rules)}}reflink(e,t){let r;if((r=this.rules.inline.reflink.exec(e))||(r=this.rules.inline.nolink.exec(e))){const e=t[(r[2]||r[1]).replace(this.rules.other.multipleSpaceGlobal," ").toLowerCase()];if(!e){const e=r[0].charAt(0);return{type:"text",raw:e,text:e}}return re(r,e,r[0],this.lexer,this.rules)}}emStrong(e,t,r=""){let n=this.rules.inline.emStrongLDelim.exec(e);if(!n)return;if(n[3]&&r.match(this.rules.other.unicodeAlphaNumeric))return;if(!(n[1]||n[2]||"")||!r||this.rules.inline.punctuation.exec(r)){const r=[...n[0]].length-1;let i,a,o=r,s=0;const l="*"===n[0][0]?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(l.lastIndex=0,t=t.slice(-1*e.length+r);null!=(n=l.exec(t));){if(i=n[1]||n[2]||n[3]||n[4]||n[5]||n[6],!i)continue;if(a=[...i].length,n[3]||n[4]){o+=a;continue}if((n[5]||n[6])&&r%3&&!((r+a)%3)){s+=a;continue}if(o-=a,o>0)continue;a=Math.min(a,a+o+s);const t=[...n[0]][0].length,l=e.slice(0,r+n.index+t+a);if(Math.min(r,a)%2){const e=l.slice(1,-1);return{type:"em",raw:l,text:e,tokens:this.lexer.inlineTokens(e)}}const h=l.slice(2,-2);return{type:"strong",raw:l,text:h,tokens:this.lexer.inlineTokens(h)}}}}codespan(e){const t=this.rules.inline.code.exec(e);if(t){let e=t[2].replace(this.rules.other.newLineCharGlobal," ");const r=this.rules.other.nonSpaceChar.test(e),n=this.rules.other.startingSpaceChar.test(e)&&this.rules.other.endingSpaceChar.test(e);return r&&n&&(e=e.substring(1,e.length-1)),{type:"codespan",raw:t[0],text:e}}}br(e){const t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){const t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}autolink(e){const t=this.rules.inline.autolink.exec(e);if(t){let e,r;return"@"===t[2]?(e=t[1],r="mailto:"+e):(e=t[1],r=e),{type:"link",raw:t[0],text:e,href:r,tokens:[{type:"text",raw:e,text:e}]}}}url(e){let t;if(t=this.rules.inline.url.exec(e)){let e,r;if("@"===t[2])e=t[0],r="mailto:"+e;else{let n;do{n=t[0],t[0]=this.rules.inline._backpedal.exec(t[0])?.[0]??""}while(n!==t[0]);e=t[0],r="www."===t[1]?"http://"+t[0]:t[0]}return{type:"link",raw:t[0],text:e,href:r,tokens:[{type:"text",raw:e,text:e}]}}}inlineText(e){const t=this.rules.inline.text.exec(e);if(t){const e=this.lexer.state.inRawBlock;return{type:"text",raw:t[0],text:t[0],escaped:e}}}},ie=class e{tokens;options;state;tokenizer;inlineQueue;constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||t,this.options.tokenizer=this.options.tokenizer||new ne,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const r={other:a,block:W.normal,inline:X.normal};this.options.pedantic?(r.block=W.pedantic,r.inline=X.pedantic):this.options.gfm&&(r.block=W.gfm,this.options.breaks?r.inline=X.breaks:r.inline=X.gfm),this.tokenizer.rules=r}static get rules(){return{block:W,inline:X}}static lex(t,r){return new e(r).lex(t)}static lexInline(t,r){return new e(r).inlineTokens(t)}lex(e){e=e.replace(a.carriageReturn,"\n"),this.blockTokens(e,this.tokens);for(let t=0;t<this.inlineQueue.length;t++){const e=this.inlineQueue[t];this.inlineTokens(e.src,e.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(e,t=[],r=!1){for(this.options.pedantic&&(e=e.replace(a.tabCharGlobal," ").replace(a.spaceLine,""));e;){let n;if(this.options.extensions?.block?.some(r=>!!(n=r.call({lexer:this},e,t))&&(e=e.substring(n.raw.length),t.push(n),!0)))continue;if(n=this.tokenizer.space(e)){e=e.substring(n.raw.length);const r=t.at(-1);1===n.raw.length&&void 0!==r?r.raw+="\n":t.push(n);continue}if(n=this.tokenizer.code(e)){e=e.substring(n.raw.length);const r=t.at(-1);"paragraph"===r?.type||"text"===r?.type?(r.raw+="\n"+n.raw,r.text+="\n"+n.text,this.inlineQueue.at(-1).src=r.text):t.push(n);continue}if(n=this.tokenizer.fences(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.heading(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.hr(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.blockquote(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.list(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.html(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.def(e)){e=e.substring(n.raw.length);const r=t.at(-1);"paragraph"===r?.type||"text"===r?.type?(r.raw+="\n"+n.raw,r.text+="\n"+n.raw,this.inlineQueue.at(-1).src=r.text):this.tokens.links[n.tag]||(this.tokens.links[n.tag]={href:n.href,title:n.title});continue}if(n=this.tokenizer.table(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.lheading(e)){e=e.substring(n.raw.length),t.push(n);continue}let i=e;if(this.options.extensions?.startBlock){let t=1/0;const r=e.slice(1);let n;this.options.extensions.startBlock.forEach(e=>{n=e.call({lexer:this},r),"number"==typeof n&&n>=0&&(t=Math.min(t,n))}),t<1/0&&t>=0&&(i=e.substring(0,t+1))}if(this.state.top&&(n=this.tokenizer.paragraph(i))){const a=t.at(-1);r&&"paragraph"===a?.type?(a.raw+="\n"+n.raw,a.text+="\n"+n.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=a.text):t.push(n),r=i.length!==e.length,e=e.substring(n.raw.length);continue}if(n=this.tokenizer.text(e)){e=e.substring(n.raw.length);const r=t.at(-1);"text"===r?.type?(r.raw+="\n"+n.raw,r.text+="\n"+n.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=r.text):t.push(n);continue}if(e){const t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw new Error(t)}}return this.state.top=!0,t}inline(e,t=[]){return this.inlineQueue.push({src:e,tokens:t}),t}inlineTokens(e,t=[]){let r=e,n=null;if(this.tokens.links){const e=Object.keys(this.tokens.links);if(e.length>0)for(;null!=(n=this.tokenizer.rules.inline.reflinkSearch.exec(r));)e.includes(n[0].slice(n[0].lastIndexOf("[")+1,-1))&&(r=r.slice(0,n.index)+"["+"a".repeat(n[0].length-2)+"]"+r.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(n=this.tokenizer.rules.inline.anyPunctuation.exec(r));)r=r.slice(0,n.index)+"++"+r.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;null!=(n=this.tokenizer.rules.inline.blockSkip.exec(r));)r=r.slice(0,n.index)+"["+"a".repeat(n[0].length-2)+"]"+r.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);let i=!1,a="";for(;e;){let n;if(i||(a=""),i=!1,this.options.extensions?.inline?.some(r=>!!(n=r.call({lexer:this},e,t))&&(e=e.substring(n.raw.length),t.push(n),!0)))continue;if(n=this.tokenizer.escape(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.tag(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.link(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(n.raw.length);const r=t.at(-1);"text"===n.type&&"text"===r?.type?(r.raw+=n.raw,r.text+=n.text):t.push(n);continue}if(n=this.tokenizer.emStrong(e,r,a)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.codespan(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.br(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.del(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.autolink(e)){e=e.substring(n.raw.length),t.push(n);continue}if(!this.state.inLink&&(n=this.tokenizer.url(e))){e=e.substring(n.raw.length),t.push(n);continue}let o=e;if(this.options.extensions?.startInline){let t=1/0;const r=e.slice(1);let n;this.options.extensions.startInline.forEach(e=>{n=e.call({lexer:this},r),"number"==typeof n&&n>=0&&(t=Math.min(t,n))}),t<1/0&&t>=0&&(o=e.substring(0,t+1))}if(n=this.tokenizer.inlineText(o)){e=e.substring(n.raw.length),"_"!==n.raw.slice(-1)&&(a=n.raw.slice(-1)),i=!0;const r=t.at(-1);"text"===r?.type?(r.raw+=n.raw,r.text+=n.text):t.push(n);continue}if(e){const t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw new Error(t)}}return t}},ae=class{options;parser;constructor(e){this.options=e||t}space(e){return""}code({text:e,lang:t,escaped:r}){const n=(t||"").match(a.notSpaceStart)?.[0],i=e.replace(a.endingNewline,"")+"\n";return n?'<pre><code class="language-'+Q(n)+'">'+(r?i:Q(i,!0))+"</code></pre>\n":"<pre><code>"+(r?i:Q(i,!0))+"</code></pre>\n"}blockquote({tokens:e}){return`<blockquote>\n${this.parser.parse(e)}</blockquote>\n`}html({text:e}){return e}heading({tokens:e,depth:t}){return`<h${t}>${this.parser.parseInline(e)}</h${t}>\n`}hr(e){return"<hr>\n"}list(e){const t=e.ordered,r=e.start;let n="";for(let a=0;a<e.items.length;a++){const t=e.items[a];n+=this.listitem(t)}const i=t?"ol":"ul";return"<"+i+(t&&1!==r?' start="'+r+'"':"")+">\n"+n+"</"+i+">\n"}listitem(e){let t="";if(e.task){const r=this.checkbox({checked:!!e.checked});e.loose?"paragraph"===e.tokens[0]?.type?(e.tokens[0].text=r+" "+e.tokens[0].text,e.tokens[0].tokens&&e.tokens[0].tokens.length>0&&"text"===e.tokens[0].tokens[0].type&&(e.tokens[0].tokens[0].text=r+" "+Q(e.tokens[0].tokens[0].text),e.tokens[0].tokens[0].escaped=!0)):e.tokens.unshift({type:"text",raw:r+" ",text:r+" ",escaped:!0}):t+=r+" "}return t+=this.parser.parse(e.tokens,!!e.loose),`<li>${t}</li>\n`}checkbox({checked:e}){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph({tokens:e}){return`<p>${this.parser.parseInline(e)}</p>\n`}table(e){let t="",r="";for(let i=0;i<e.header.length;i++)r+=this.tablecell(e.header[i]);t+=this.tablerow({text:r});let n="";for(let i=0;i<e.rows.length;i++){const t=e.rows[i];r="";for(let e=0;e<t.length;e++)r+=this.tablecell(t[e]);n+=this.tablerow({text:r})}return n&&(n=`<tbody>${n}</tbody>`),"<table>\n<thead>\n"+t+"</thead>\n"+n+"</table>\n"}tablerow({text:e}){return`<tr>\n${e}</tr>\n`}tablecell(e){const t=this.parser.parseInline(e.tokens),r=e.header?"th":"td";return(e.align?`<${r} align="${e.align}">`:`<${r}>`)+t+`</${r}>\n`}strong({tokens:e}){return`<strong>${this.parser.parseInline(e)}</strong>`}em({tokens:e}){return`<em>${this.parser.parseInline(e)}</em>`}codespan({text:e}){return`<code>${Q(e,!0)}</code>`}br(e){return"<br>"}del({tokens:e}){return`<del>${this.parser.parseInline(e)}</del>`}link({href:e,title:t,tokens:r}){const n=this.parser.parseInline(r),i=J(e);if(null===i)return n;let a='<a href="'+(e=i)+'"';return t&&(a+=' title="'+Q(t)+'"'),a+=">"+n+"</a>",a}image({href:e,title:t,text:r,tokens:n}){n&&(r=this.parser.parseInline(n,this.parser.textRenderer));const i=J(e);if(null===i)return Q(r);let a=`<img src="${e=i}" alt="${r}"`;return t&&(a+=` title="${Q(t)}"`),a+=">",a}text(e){return"tokens"in e&&e.tokens?this.parser.parseInline(e.tokens):"escaped"in e&&e.escaped?e.text:Q(e.text)}},oe=class{strong({text:e}){return e}em({text:e}){return e}codespan({text:e}){return e}del({text:e}){return e}html({text:e}){return e}text({text:e}){return e}link({text:e}){return""+e}image({text:e}){return""+e}br(){return""}},se=class e{options;renderer;textRenderer;constructor(e){this.options=e||t,this.options.renderer=this.options.renderer||new ae,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new oe}static parse(t,r){return new e(r).parse(t)}static parseInline(t,r){return new e(r).parseInline(t)}parse(e,t=!0){let r="";for(let n=0;n<e.length;n++){const i=e[n];if(this.options.extensions?.renderers?.[i.type]){const e=i,t=this.options.extensions.renderers[e.type].call({parser:this},e);if(!1!==t||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(e.type)){r+=t||"";continue}}const a=i;switch(a.type){case"space":r+=this.renderer.space(a);continue;case"hr":r+=this.renderer.hr(a);continue;case"heading":r+=this.renderer.heading(a);continue;case"code":r+=this.renderer.code(a);continue;case"table":r+=this.renderer.table(a);continue;case"blockquote":r+=this.renderer.blockquote(a);continue;case"list":r+=this.renderer.list(a);continue;case"html":r+=this.renderer.html(a);continue;case"paragraph":r+=this.renderer.paragraph(a);continue;case"text":{let i=a,o=this.renderer.text(i);for(;n+1<e.length&&"text"===e[n+1].type;)i=e[++n],o+="\n"+this.renderer.text(i);r+=t?this.renderer.paragraph({type:"paragraph",raw:o,text:o,tokens:[{type:"text",raw:o,text:o,escaped:!0}]}):o;continue}default:{const e='Token with "'+a.type+'" type was not found.';if(this.options.silent)return console.error(e),"";throw new Error(e)}}}return r}parseInline(e,t=this.renderer){let r="";for(let n=0;n<e.length;n++){const i=e[n];if(this.options.extensions?.renderers?.[i.type]){const e=this.options.extensions.renderers[i.type].call({parser:this},i);if(!1!==e||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(i.type)){r+=e||"";continue}}const a=i;switch(a.type){case"escape":case"text":r+=t.text(a);break;case"html":r+=t.html(a);break;case"link":r+=t.link(a);break;case"image":r+=t.image(a);break;case"strong":r+=t.strong(a);break;case"em":r+=t.em(a);break;case"codespan":r+=t.codespan(a);break;case"br":r+=t.br(a);break;case"del":r+=t.del(a);break;default:{const e='Token with "'+a.type+'" type was not found.';if(this.options.silent)return console.error(e),"";throw new Error(e)}}}return r}},le=class{options;block;constructor(e){this.options=e||t}static passThroughHooks=new Set(["preprocess","postprocess","processAllTokens"]);preprocess(e){return e}postprocess(e){return e}processAllTokens(e){return e}provideLexer(){return this.block?ie.lex:ie.lexInline}provideParser(){return this.block?se.parse:se.parseInline}},he=new class{defaults={async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null};options=this.setOptions;parse=this.parseMarkdown(!0);parseInline=this.parseMarkdown(!1);Parser=se;Renderer=ae;TextRenderer=oe;Lexer=ie;Tokenizer=ne;Hooks=le;constructor(...e){this.use(...e)}walkTokens(e,t){let r=[];for(const n of e)switch(r=r.concat(t.call(this,n)),n.type){case"table":{const e=n;for(const n of e.header)r=r.concat(this.walkTokens(n.tokens,t));for(const n of e.rows)for(const e of n)r=r.concat(this.walkTokens(e.tokens,t));break}case"list":{const e=n;r=r.concat(this.walkTokens(e.items,t));break}default:{const e=n;this.defaults.extensions?.childTokens?.[e.type]?this.defaults.extensions.childTokens[e.type].forEach(n=>{const i=e[n].flat(1/0);r=r.concat(this.walkTokens(i,t))}):e.tokens&&(r=r.concat(this.walkTokens(e.tokens,t)))}}return r}use(...e){const t=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach(e=>{const r={...e};if(r.async=this.defaults.async||r.async||!1,e.extensions&&(e.extensions.forEach(e=>{if(!e.name)throw new Error("extension name required");if("renderer"in e){const r=t.renderers[e.name];t.renderers[e.name]=r?function(...t){let n=e.renderer.apply(this,t);return!1===n&&(n=r.apply(this,t)),n}:e.renderer}if("tokenizer"in e){if(!e.level||"block"!==e.level&&"inline"!==e.level)throw new Error("extension level must be 'block' or 'inline'");const r=t[e.level];r?r.unshift(e.tokenizer):t[e.level]=[e.tokenizer],e.start&&("block"===e.level?t.startBlock?t.startBlock.push(e.start):t.startBlock=[e.start]:"inline"===e.level&&(t.startInline?t.startInline.push(e.start):t.startInline=[e.start]))}"childTokens"in e&&e.childTokens&&(t.childTokens[e.name]=e.childTokens)}),r.extensions=t),e.renderer){const t=this.defaults.renderer||new ae(this.defaults);for(const r in e.renderer){if(!(r in t))throw new Error(`renderer '${r}' does not exist`);if(["options","parser"].includes(r))continue;const n=r,i=e.renderer[n],a=t[n];t[n]=(...e)=>{let r=i.apply(t,e);return!1===r&&(r=a.apply(t,e)),r||""}}r.renderer=t}if(e.tokenizer){const t=this.defaults.tokenizer||new ne(this.defaults);for(const r in e.tokenizer){if(!(r in t))throw new Error(`tokenizer '${r}' does not exist`);if(["options","rules","lexer"].includes(r))continue;const n=r,i=e.tokenizer[n],a=t[n];t[n]=(...e)=>{let r=i.apply(t,e);return!1===r&&(r=a.apply(t,e)),r}}r.tokenizer=t}if(e.hooks){const t=this.defaults.hooks||new le;for(const r in e.hooks){if(!(r in t))throw new Error(`hook '${r}' does not exist`);if(["options","block"].includes(r))continue;const n=r,i=e.hooks[n],a=t[n];le.passThroughHooks.has(r)?t[n]=e=>{if(this.defaults.async)return Promise.resolve(i.call(t,e)).then(e=>a.call(t,e));const r=i.call(t,e);return a.call(t,r)}:t[n]=(...e)=>{let r=i.apply(t,e);return!1===r&&(r=a.apply(t,e)),r}}r.hooks=t}if(e.walkTokens){const t=this.defaults.walkTokens,n=e.walkTokens;r.walkTokens=function(e){let r=[];return r.push(n.call(this,e)),t&&(r=r.concat(t.call(this,e))),r}}this.defaults={...this.defaults,...r}}),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,t){return ie.lex(e,t??this.defaults)}parser(e,t){return se.parse(e,t??this.defaults)}parseMarkdown(e){return(t,r)=>{const n={...r},i={...this.defaults,...n},a=this.onError(!!i.silent,!!i.async);if(!0===this.defaults.async&&!1===n.async)return a(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(null==t)return a(new Error("marked(): input parameter is undefined or null"));if("string"!=typeof t)return a(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(t)+", string expected"));i.hooks&&(i.hooks.options=i,i.hooks.block=e);const o=i.hooks?i.hooks.provideLexer():e?ie.lex:ie.lexInline,s=i.hooks?i.hooks.provideParser():e?se.parse:se.parseInline;if(i.async)return Promise.resolve(i.hooks?i.hooks.preprocess(t):t).then(e=>o(e,i)).then(e=>i.hooks?i.hooks.processAllTokens(e):e).then(e=>i.walkTokens?Promise.all(this.walkTokens(e,i.walkTokens)).then(()=>e):e).then(e=>s(e,i)).then(e=>i.hooks?i.hooks.postprocess(e):e).catch(a);try{i.hooks&&(t=i.hooks.preprocess(t));let e=o(t,i);i.hooks&&(e=i.hooks.processAllTokens(e)),i.walkTokens&&this.walkTokens(e,i.walkTokens);let r=s(e,i);return i.hooks&&(r=i.hooks.postprocess(r)),r}catch(l){return a(l)}}}onError(e,t){return r=>{if(r.message+="\nPlease report this to https://github.com/markedjs/marked.",e){const e="<p>An error occurred:</p><pre>"+Q(r.message+"",!0)+"</pre>";return t?Promise.resolve(e):e}if(t)return Promise.reject(r);throw r}}};function ce(e,t){return he.parse(e,t)}ce.options=ce.setOptions=function(e){return he.setOptions(e),ce.defaults=he.defaults,r(ce.defaults),ce},ce.getDefaults=e,ce.defaults=t,ce.use=function(...e){return he.use(...e),ce.defaults=he.defaults,r(ce.defaults),ce},ce.walkTokens=function(e,t){return he.walkTokens(e,t)},ce.parseInline=he.parseInline,ce.Parser=se,ce.parser=se.parse,ce.Renderer=ae,ce.TextRenderer=oe,ce.Lexer=ie,ce.lexer=ie.lex,ce.Tokenizer=ne,ce.Hooks=le,ce.parse=ce,ce.options,ce.setOptions,ce.use,ce.walkTokens,ce.parseInline,se.parse,ie.lex;class ue extends Error{constructor(e,t){var r,n,i="KaTeX parse error: "+e,a=t&&t.loc;if(a&&a.start<=a.end){var o=a.lexer.input;r=a.start,n=a.end,r===o.length?i+=" at end of input: ":i+=" at position "+(r+1)+": ";var s=o.slice(r,n).replace(/[^]/g,"$&̲");i+=(r>15?"…"+o.slice(r-15,r):o.slice(0,r))+s+(n+15<o.length?o.slice(n,n+15)+"…":o.slice(n))}super(i),this.name="ParseError",this.position=void 0,this.length=void 0,this.rawMessage=void 0,Object.setPrototypeOf(this,ue.prototype),this.position=r,null!=r&&null!=n&&(this.length=n-r),this.rawMessage=e}}var pe=/([A-Z])/g,me=e=>e.replace(pe,"-$1").toLowerCase(),de={"&":"&",">":">","<":"<",'"':""","'":"'"},ge=/[&><"']/g,fe=e=>String(e).replace(ge,e=>de[e]),be=e=>"ordgroup"===e.type||"color"===e.type?1===e.body.length?be(e.body[0]):e:"font"===e.type?be(e.body):e,ve=new Set(["mathord","textord","atom"]),ye=e=>ve.has(be(e).type),xe={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format <type>"},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color <color>",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:e=>"#"+e},macros:{type:"object",cli:"-m, --macro <def>",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(e,t)=>(t.push(e),t)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:e=>Math.max(0,e),cli:"--min-rule-thickness <size>",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:e=>Math.max(0,e),cli:"-s, --max-size <n>",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:e=>Math.max(0,e),cli:"-e, --max-expand <n>",cliProcessor:e=>"Infinity"===e?1/0:parseInt(e)},globalGroup:{type:"boolean",cli:!1}};function we(e){return void 0!==e.default?e.default:function(e){if("string"!=typeof e)return e.enum[0];switch(e){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{};default:throw new Error("Unexpected schema type; settings must declare an explicit default.")}}(Array.isArray(e.type)?e.type[0]:e.type)}function ke(e,t,r,n){var i=r[t];e[t]=void 0!==i?n.processor?n.processor(i):i:we(n)}class Se{constructor(e){for(var t of(void 0===e&&(e={}),this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,e=e||{},Object.keys(xe))){var r=xe[t];r&&ke(this,t,e,r)}}reportNonstrict(e,t,r){var n=this.strict;if("function"==typeof n&&(n=n(e,t,r)),n&&"ignore"!==n){if(!0===n||"error"===n)throw new ue("LaTeX-incompatible input and strict mode is set to 'error': "+t+" ["+e+"]",r);"warn"===n?"undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+t+" ["+e+"]"):"undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to unrecognized '"+n+"': "+t+" ["+e+"]")}}useStrictBehavior(e,t,r){var n=this.strict;if("function"==typeof n)try{n=n(e,t,r)}catch(i){n="error"}return!(!n||"ignore"===n)&&(!0===n||"error"===n||("warn"===n?("undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+t+" ["+e+"]"),!1):("undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to unrecognized '"+n+"': "+t+" ["+e+"]"),!1)))}isTrusted(e){if("url"in e&&e.url&&!e.protocol){var t=(e=>{var t=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(e);return t?":"!==t[2]?null:/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(t[1])?t[1].toLowerCase():null:"_relative"})(e.url);if(null==t)return!1;e.protocol=t}var r="function"==typeof this.trust?this.trust(e):this.trust;return Boolean(r)}}class Ae{constructor(e,t,r){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=t,this.cramped=r}sup(){return ze[Te[this.id]]}sub(){return ze[Me[this.id]]}fracNum(){return ze[Ce[this.id]]}fracDen(){return ze[Re[this.id]]}cramp(){return ze[Be[this.id]]}text(){return ze[Ee[this.id]]}isTight(){return this.size>=2}}var ze=[new Ae(0,0,!1),new Ae(1,0,!0),new Ae(2,1,!1),new Ae(3,1,!0),new Ae(4,2,!1),new Ae(5,2,!0),new Ae(6,3,!1),new Ae(7,3,!0)],Te=[4,5,4,5,6,7,6,7],Me=[5,5,5,5,7,7,7,7],Ce=[2,3,4,5,6,7,6,7],Re=[3,3,5,5,7,7,7,7],Be=[1,1,3,3,5,5,7,7],Ee=[0,1,2,3,2,3,2,3],Ie={DISPLAY:ze[0],TEXT:ze[2],SCRIPT:ze[4],SCRIPTSCRIPT:ze[6]},qe=[{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]]}];var Ne=[];function Oe(e){for(var t=0;t<Ne.length;t+=2)if(e>=Ne[t]&&e<=Ne[t+1])return!0;return!1}qe.forEach(e=>e.blocks.forEach(e=>Ne.push(...e)));var De=e=>e+" "+e,Le=80,He={doubleleftarrow:"M262 157\nl10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3\n 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28\n 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5\nc2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5\n 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87\n-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7\n-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z\nm8 0v40h399730v-40zm0 194v40h399730v-40z",doublerightarrow:"M399738 392l\n-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5\n 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88\n-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68\n-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18\n-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782\nc-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3\n-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z",leftarrow:"M400000 241H110l3-3c68.7-52.7 113.7-120\n 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8\n-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247\nc-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208\n 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3\n 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202\n l-3-3h399890zM100 241v40h399900v-40z",leftbrace:"M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117\n-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7\n 5-6 9-10 13-.7 1-7.3 1-20 1H6z",leftbraceunder:"M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13\n 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688\n 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7\n-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z",leftgroup:"M400000 80\nH435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0\n 435 0h399565z",leftgroupunder:"M400000 262\nH435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219\n 435 219h399565z",leftharpoon:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3\n-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5\n-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7\n-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z",leftharpoonplus:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5\n 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3\n-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7\n-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z\nm0 0v40h400000v-40z",leftharpoondown:"M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333\n 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5\n 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667\n-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z",leftharpoondownplus:"M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12\n 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7\n-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0\nv40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z",lefthook:"M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5\n-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3\n-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21\n 71.5 23h399859zM103 281v-40h399897v40z",leftlinesegment:De("M40 281 V428 H0 V94 H40 V241 H400000 v40z"),leftbracketunder:De("M0 0 h120 V290 H399995 v120 H0z"),leftbracketover:De("M0 440 h120 V150 H399995 v-120 H0z"),leftmapsto:De("M40 281 V448H0V74H40V241H400000v40z"),leftToFrom:"M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23\n-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8\nc28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3\n 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z",longequal:De("M0 50 h400000 v40H0z m0 194h40000v40H0z"),midbrace:"M200428 334\nc-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14\n-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7\n 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11\n 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z",midbraceunder:"M199572 214\nc100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14\n 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3\n 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0\n-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z",oiintSize1:"M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6\n-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z\nm368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8\n60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z",oiintSize2:"M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8\n-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z\nm502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2\nc0 110 84 276 504 276s502.4-166 502.4-276z",oiiintSize1:"M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6\n-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z\nm525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0\n85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z",oiiintSize2:"M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8\n-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z\nm770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1\nc0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z",rightarrow:"M0 241v40h399891c-47.3 35.3-84 78-110 128\n-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20\n 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7\n 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85\n-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n 151.7 139 205zm0 0v40h399900v-40z",rightbrace:"M400000 542l\n-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5\ns-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1\nc124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z",rightbraceunder:"M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3\n 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237\n-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z",rightgroup:"M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0\n 3-1 3-3v-38c-76-158-257-219-435-219H0z",rightgroupunder:"M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18\n 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z",rightharpoon:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3\n-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2\n-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58\n 69.2 92 94.5zm0 0v40h399900v-40z",rightharpoonplus:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11\n-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7\n 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z\nm0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z",rightharpoondown:"M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8\n 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5\n-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95\n-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z",rightharpoondownplus:"M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8\n 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3\n 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3\n-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z\nm0-194v40h400000v-40zm0 0v40h400000v-40z",righthook:"M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3\n 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0\n-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21\n 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z",rightlinesegment:De("M399960 241 V94 h40 V428 h-40 V281 H0 v-40z"),rightbracketunder:De("M399995 0 h-120 V290 H0 v120 H400000z"),rightbracketover:De("M399995 440 h-120 V150 H0 v-120 H399995z"),rightToFrom:"M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23\n 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32\n-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142\n-167z M100 147v40h399900v-40zM0 341v40h399900v-40z",twoheadleftarrow:"M0 167c68 40\n 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69\n-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3\n-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19\n-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101\n 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z",twoheadrightarrow:"M400000 167\nc-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3\n 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42\n 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333\n-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70\n 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z",tilde1:"M200 55.538c-77 0-168 73.953-177 73.953-3 0-7\n-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0\n 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0\n 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128\n-68.267.847-113-73.952-191-73.952z",tilde2:"M344 55.266c-142 0-300.638 81.316-311.5 86.418\n-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9\n 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114\nc1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751\n 181.476 676 181.476c-149 0-189-126.21-332-126.21z",tilde3:"M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457\n-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0\n 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697\n 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696\n -338 0-409-156.573-744-156.573z",tilde4:"M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345\n-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409\n 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9\n 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409\n -175.236-744-175.236z",vec:"M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5\n3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11\n10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63\n-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1\n-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59\nH213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359\nc-16-25.333-24-45-24-59z",widehat1:"M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22\nc-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z",widehat2:"M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat3:"M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat4:"M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widecheck1:"M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,\n-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z",widecheck2:"M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck3:"M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck4:"M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",baraboveleftarrow:"M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202\nc4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5\nc-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130\ns-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47\n121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6\ns2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11\nc0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z\nM100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z",rightarrowabovebar:"M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32\n-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0\n13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39\n-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5\n-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z",baraboveshortleftharpoon:"M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17\nc2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21\nc-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40\nc-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z\nM0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z",rightharpoonaboveshortbar:"M0,241 l0,40c399126,0,399993,0,399993,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z",shortbaraboveleftharpoon:"M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,\n1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,\n-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z\nM93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z",shortrightharpoonabovebar:"M53,241l0,40c398570,0,399437,0,399437,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z"};class Pe{constructor(e){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=e,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(e){return this.classes.includes(e)}toNode(){for(var e=document.createDocumentFragment(),t=0;t<this.children.length;t++)e.appendChild(this.children[t].toNode());return e}toMarkup(){for(var e="",t=0;t<this.children.length;t++)e+=this.children[t].toMarkup();return e}toText(){return this.children.map(e=>{if("toText"in e)return e.toText();throw new Error("Expected MathDomNode with toText, got "+e.constructor.name)}).join("")}}var _e={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:1.00375,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:1.00375},Fe={ex:!0,em:!0,mu:!0},$e=function(e){return"string"!=typeof e&&(e=e.unit),e in _e||e in Fe||"ex"===e},Ue=function(e,t){var r;if(e.unit in _e)r=_e[e.unit]/t.fontMetrics().ptPerEm/t.sizeMultiplier;else if("mu"===e.unit)r=t.fontMetrics().cssEmPerMu;else{var n;if(n=t.style.isTight()?t.havingStyle(t.style.text()):t,"ex"===e.unit)r=n.fontMetrics().xHeight;else{if("em"!==e.unit)throw new ue("Invalid unit: '"+e.unit+"'");r=n.fontMetrics().quad}n!==t&&(r*=n.sizeMultiplier/t.sizeMultiplier)}return Math.min(e.number*r,t.maxSize)},Ge=function(e){return+e.toFixed(4)+"em"},Ve=function(e){return e.filter(e=>e).join(" ")},je=function(e){var t="";for(var r of Object.keys(e)){var n=e[r];void 0!==n&&(t+=me(r)+":"+n+";")}return t},Ye=function(e,t,r){if(this.classes=e||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=r||{},t){t.style.isTight()&&this.classes.push("mtight");var n=t.getColor();n&&(this.style.color=n)}},We=function(e){var t=document.createElement(e);for(var r of(t.className=Ve(this.classes),Object.assign(t.style,this.style),Object.keys(this.attributes)))t.setAttribute(r,this.attributes[r]);for(var n=0;n<this.children.length;n++)t.appendChild(this.children[n].toNode());return t},Xe=/[\s"'>/=\x00-\x1f]/,Ze=function(e){var t="<"+e;this.classes.length&&(t+=' class="'+fe(Ve(this.classes))+'"');var r=je(this.style);for(var n of(r&&(t+=' style="'+fe(r)+'"'),Object.keys(this.attributes))){if(Xe.test(n))throw new ue("Invalid attribute name '"+n+"'");t+=" "+n+'="'+fe(this.attributes[n])+'"'}t+=">";for(var i=0;i<this.children.length;i++)t+=this.children[i].toMarkup();return t+="</"+e+">"};class Ke{constructor(e,t,r,n){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,this.italic=void 0,Ye.call(this,e,r,n),this.children=t||[]}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return this.classes.includes(e)}toNode(){return We.call(this,"span")}toMarkup(){return Ze.call(this,"span")}}class Qe{constructor(e,t,r,n){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,Ye.call(this,t,n),this.children=r||[],this.setAttribute("href",e)}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return this.classes.includes(e)}toNode(){return We.call(this,"a")}toMarkup(){return Ze.call(this,"a")}}class Je{constructor(e,t,r){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=t,this.src=e,this.classes=["mord"],this.height=0,this.depth=0,this.maxFontSize=0,this.style=r}hasClass(e){return this.classes.includes(e)}toNode(){var e=document.createElement("img");return e.src=this.src,e.alt=this.alt,e.className="mord",Object.assign(e.style,this.style),e}toMarkup(){var e='<img src="'+fe(this.src)+'" alt="'+fe(this.alt)+'"',t=je(this.style);return t&&(e+=' style="'+fe(t)+'"'),e+="'/>"}}var et={"î":"ı̂","ï":"ı̈","í":"ı́","ì":"ı̀"};class tt{constructor(e,t,r,n,i,a,o,s){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=e,this.height=t||0,this.depth=r||0,this.italic=n||0,this.skew=i||0,this.width=a||0,this.classes=o||[],this.style=s||{},this.maxFontSize=0;var l=function(e){for(var t=0;t<qe.length;t++)for(var r=qe[t],n=0;n<r.blocks.length;n++){var i=r.blocks[n];if(e>=i[0]&&e<=i[1])return r.name}return null}(this.text.charCodeAt(0));l&&this.classes.push(l+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=et[this.text])}hasClass(e){return this.classes.includes(e)}toNode(){var e=document.createTextNode(this.text),t=null;return this.italic>0&&((t=document.createElement("span")).style.marginRight=Ge(this.italic)),this.classes.length>0&&((t=t||document.createElement("span")).className=Ve(this.classes)),Object.keys(this.style).length>0&&(t=t||document.createElement("span"),Object.assign(t.style,this.style)),t?(t.appendChild(e),t):e}toMarkup(){var e=!1,t="<span";this.classes.length&&(e=!0,t+=' class="',t+=fe(Ve(this.classes)),t+='"');var r="";this.italic>0&&(r+="margin-right:"+Ge(this.italic)+";"),(r+=je(this.style))&&(e=!0,t+=' style="'+fe(r)+'"');var n=fe(this.text);return e?(t+=">",t+=n,t+="</span>"):n}}class rt{constructor(e,t){this.children=void 0,this.attributes=void 0,this.children=e||[],this.attributes=t||{}}toNode(){var e=document.createElementNS("http://www.w3.org/2000/svg","svg");for(var t of Object.keys(this.attributes))e.setAttribute(t,this.attributes[t]);for(var r=0;r<this.children.length;r++)e.appendChild(this.children[r].toNode());return e}toMarkup(){var e='<svg xmlns="http://www.w3.org/2000/svg"';for(var t of Object.keys(this.attributes))e+=" "+t+'="'+fe(this.attributes[t])+'"';e+=">";for(var r=0;r<this.children.length;r++)e+=this.children[r].toMarkup();return e+="</svg>"}}class nt{constructor(e,t){this.pathName=void 0,this.alternate=void 0,this.pathName=e,this.alternate=t}toNode(){var e=document.createElementNS("http://www.w3.org/2000/svg","path");return this.alternate?e.setAttribute("d",this.alternate):e.setAttribute("d",He[this.pathName]),e}toMarkup(){return this.alternate?'<path d="'+fe(this.alternate)+'"/>':'<path d="'+fe(He[this.pathName])+'"/>'}}class it{constructor(e){this.attributes=void 0,this.attributes=e||{}}toNode(){var e=document.createElementNS("http://www.w3.org/2000/svg","line");for(var t of Object.keys(this.attributes))e.setAttribute(t,this.attributes[t]);return e}toMarkup(){var e="<line";for(var t of Object.keys(this.attributes))e+=" "+t+'="'+fe(this.attributes[t])+'"';return e+="/>"}}var at={"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]}},ot={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]},st={"Å":"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 lt(e,t,r){if(!at[t])throw new Error("Font metrics not found for font: "+t+".");var n=e.charCodeAt(0),i=at[t][n];if(!i&&e[0]in st&&(n=st[e[0]].charCodeAt(0),i=at[t][n]),i||"text"!==r||Oe(n)&&(i=at[t][77]),i)return{depth:i[0],height:i[1],italic:i[2],skew:i[3],width:i[4]}}var ht={};var ct={math:{},text:{}};function ut(e,t,r,n,i,a){ct[e][i]={font:t,group:r,replace:n},a&&n&&(ct[e][n]=ct[e][i])}var pt="math",mt="text",dt="main",gt="ams",ft="accent-token",bt="bin",vt="close",yt="inner",xt="mathord",wt="op-token",kt="open",St="punct",At="rel",zt="spacing",Tt="textord";ut(pt,dt,At,"≡","\\equiv",!0),ut(pt,dt,At,"≺","\\prec",!0),ut(pt,dt,At,"≻","\\succ",!0),ut(pt,dt,At,"∼","\\sim",!0),ut(pt,dt,At,"⊥","\\perp"),ut(pt,dt,At,"⪯","\\preceq",!0),ut(pt,dt,At,"⪰","\\succeq",!0),ut(pt,dt,At,"≃","\\simeq",!0),ut(pt,dt,At,"∣","\\mid",!0),ut(pt,dt,At,"≪","\\ll",!0),ut(pt,dt,At,"≫","\\gg",!0),ut(pt,dt,At,"≍","\\asymp",!0),ut(pt,dt,At,"∥","\\parallel"),ut(pt,dt,At,"⋈","\\bowtie",!0),ut(pt,dt,At,"⌣","\\smile",!0),ut(pt,dt,At,"⊑","\\sqsubseteq",!0),ut(pt,dt,At,"⊒","\\sqsupseteq",!0),ut(pt,dt,At,"≐","\\doteq",!0),ut(pt,dt,At,"⌢","\\frown",!0),ut(pt,dt,At,"∋","\\ni",!0),ut(pt,dt,At,"∝","\\propto",!0),ut(pt,dt,At,"⊢","\\vdash",!0),ut(pt,dt,At,"⊣","\\dashv",!0),ut(pt,dt,At,"∋","\\owns"),ut(pt,dt,St,".","\\ldotp"),ut(pt,dt,St,"⋅","\\cdotp"),ut(pt,dt,St,"⋅","·"),ut(mt,dt,Tt,"⋅","·"),ut(pt,dt,Tt,"#","\\#"),ut(mt,dt,Tt,"#","\\#"),ut(pt,dt,Tt,"&","\\&"),ut(mt,dt,Tt,"&","\\&"),ut(pt,dt,Tt,"ℵ","\\aleph",!0),ut(pt,dt,Tt,"∀","\\forall",!0),ut(pt,dt,Tt,"ℏ","\\hbar",!0),ut(pt,dt,Tt,"∃","\\exists",!0),ut(pt,dt,Tt,"∇","\\nabla",!0),ut(pt,dt,Tt,"♭","\\flat",!0),ut(pt,dt,Tt,"ℓ","\\ell",!0),ut(pt,dt,Tt,"♮","\\natural",!0),ut(pt,dt,Tt,"♣","\\clubsuit",!0),ut(pt,dt,Tt,"℘","\\wp",!0),ut(pt,dt,Tt,"♯","\\sharp",!0),ut(pt,dt,Tt,"♢","\\diamondsuit",!0),ut(pt,dt,Tt,"ℜ","\\Re",!0),ut(pt,dt,Tt,"♡","\\heartsuit",!0),ut(pt,dt,Tt,"ℑ","\\Im",!0),ut(pt,dt,Tt,"♠","\\spadesuit",!0),ut(pt,dt,Tt,"§","\\S",!0),ut(mt,dt,Tt,"§","\\S"),ut(pt,dt,Tt,"¶","\\P",!0),ut(mt,dt,Tt,"¶","\\P"),ut(pt,dt,Tt,"†","\\dag"),ut(mt,dt,Tt,"†","\\dag"),ut(mt,dt,Tt,"†","\\textdagger"),ut(pt,dt,Tt,"‡","\\ddag"),ut(mt,dt,Tt,"‡","\\ddag"),ut(mt,dt,Tt,"‡","\\textdaggerdbl"),ut(pt,dt,vt,"⎱","\\rmoustache",!0),ut(pt,dt,kt,"⎰","\\lmoustache",!0),ut(pt,dt,vt,"⟯","\\rgroup",!0),ut(pt,dt,kt,"⟮","\\lgroup",!0),ut(pt,dt,bt,"∓","\\mp",!0),ut(pt,dt,bt,"⊖","\\ominus",!0),ut(pt,dt,bt,"⊎","\\uplus",!0),ut(pt,dt,bt,"⊓","\\sqcap",!0),ut(pt,dt,bt,"∗","\\ast"),ut(pt,dt,bt,"⊔","\\sqcup",!0),ut(pt,dt,bt,"◯","\\bigcirc",!0),ut(pt,dt,bt,"∙","\\bullet",!0),ut(pt,dt,bt,"‡","\\ddagger"),ut(pt,dt,bt,"≀","\\wr",!0),ut(pt,dt,bt,"⨿","\\amalg"),ut(pt,dt,bt,"&","\\And"),ut(pt,dt,At,"⟵","\\longleftarrow",!0),ut(pt,dt,At,"⇐","\\Leftarrow",!0),ut(pt,dt,At,"⟸","\\Longleftarrow",!0),ut(pt,dt,At,"⟶","\\longrightarrow",!0),ut(pt,dt,At,"⇒","\\Rightarrow",!0),ut(pt,dt,At,"⟹","\\Longrightarrow",!0),ut(pt,dt,At,"↔","\\leftrightarrow",!0),ut(pt,dt,At,"⟷","\\longleftrightarrow",!0),ut(pt,dt,At,"⇔","\\Leftrightarrow",!0),ut(pt,dt,At,"⟺","\\Longleftrightarrow",!0),ut(pt,dt,At,"↦","\\mapsto",!0),ut(pt,dt,At,"⟼","\\longmapsto",!0),ut(pt,dt,At,"↗","\\nearrow",!0),ut(pt,dt,At,"↩","\\hookleftarrow",!0),ut(pt,dt,At,"↪","\\hookrightarrow",!0),ut(pt,dt,At,"↘","\\searrow",!0),ut(pt,dt,At,"↼","\\leftharpoonup",!0),ut(pt,dt,At,"⇀","\\rightharpoonup",!0),ut(pt,dt,At,"↙","\\swarrow",!0),ut(pt,dt,At,"↽","\\leftharpoondown",!0),ut(pt,dt,At,"⇁","\\rightharpoondown",!0),ut(pt,dt,At,"↖","\\nwarrow",!0),ut(pt,dt,At,"⇌","\\rightleftharpoons",!0),ut(pt,gt,At,"≮","\\nless",!0),ut(pt,gt,At,"","\\@nleqslant"),ut(pt,gt,At,"","\\@nleqq"),ut(pt,gt,At,"⪇","\\lneq",!0),ut(pt,gt,At,"≨","\\lneqq",!0),ut(pt,gt,At,"","\\@lvertneqq"),ut(pt,gt,At,"⋦","\\lnsim",!0),ut(pt,gt,At,"⪉","\\lnapprox",!0),ut(pt,gt,At,"⊀","\\nprec",!0),ut(pt,gt,At,"⋠","\\npreceq",!0),ut(pt,gt,At,"⋨","\\precnsim",!0),ut(pt,gt,At,"⪹","\\precnapprox",!0),ut(pt,gt,At,"≁","\\nsim",!0),ut(pt,gt,At,"","\\@nshortmid"),ut(pt,gt,At,"∤","\\nmid",!0),ut(pt,gt,At,"⊬","\\nvdash",!0),ut(pt,gt,At,"⊭","\\nvDash",!0),ut(pt,gt,At,"⋪","\\ntriangleleft"),ut(pt,gt,At,"⋬","\\ntrianglelefteq",!0),ut(pt,gt,At,"⊊","\\subsetneq",!0),ut(pt,gt,At,"","\\@varsubsetneq"),ut(pt,gt,At,"⫋","\\subsetneqq",!0),ut(pt,gt,At,"","\\@varsubsetneqq"),ut(pt,gt,At,"≯","\\ngtr",!0),ut(pt,gt,At,"","\\@ngeqslant"),ut(pt,gt,At,"","\\@ngeqq"),ut(pt,gt,At,"⪈","\\gneq",!0),ut(pt,gt,At,"≩","\\gneqq",!0),ut(pt,gt,At,"","\\@gvertneqq"),ut(pt,gt,At,"⋧","\\gnsim",!0),ut(pt,gt,At,"⪊","\\gnapprox",!0),ut(pt,gt,At,"⊁","\\nsucc",!0),ut(pt,gt,At,"⋡","\\nsucceq",!0),ut(pt,gt,At,"⋩","\\succnsim",!0),ut(pt,gt,At,"⪺","\\succnapprox",!0),ut(pt,gt,At,"≆","\\ncong",!0),ut(pt,gt,At,"","\\@nshortparallel"),ut(pt,gt,At,"∦","\\nparallel",!0),ut(pt,gt,At,"⊯","\\nVDash",!0),ut(pt,gt,At,"⋫","\\ntriangleright"),ut(pt,gt,At,"⋭","\\ntrianglerighteq",!0),ut(pt,gt,At,"","\\@nsupseteqq"),ut(pt,gt,At,"⊋","\\supsetneq",!0),ut(pt,gt,At,"","\\@varsupsetneq"),ut(pt,gt,At,"⫌","\\supsetneqq",!0),ut(pt,gt,At,"","\\@varsupsetneqq"),ut(pt,gt,At,"⊮","\\nVdash",!0),ut(pt,gt,At,"⪵","\\precneqq",!0),ut(pt,gt,At,"⪶","\\succneqq",!0),ut(pt,gt,At,"","\\@nsubseteqq"),ut(pt,gt,bt,"⊴","\\unlhd"),ut(pt,gt,bt,"⊵","\\unrhd"),ut(pt,gt,At,"↚","\\nleftarrow",!0),ut(pt,gt,At,"↛","\\nrightarrow",!0),ut(pt,gt,At,"⇍","\\nLeftarrow",!0),ut(pt,gt,At,"⇏","\\nRightarrow",!0),ut(pt,gt,At,"↮","\\nleftrightarrow",!0),ut(pt,gt,At,"⇎","\\nLeftrightarrow",!0),ut(pt,gt,At,"△","\\vartriangle"),ut(pt,gt,Tt,"ℏ","\\hslash"),ut(pt,gt,Tt,"▽","\\triangledown"),ut(pt,gt,Tt,"◊","\\lozenge"),ut(pt,gt,Tt,"Ⓢ","\\circledS"),ut(pt,gt,Tt,"®","\\circledR"),ut(mt,gt,Tt,"®","\\circledR"),ut(pt,gt,Tt,"∡","\\measuredangle",!0),ut(pt,gt,Tt,"∄","\\nexists"),ut(pt,gt,Tt,"℧","\\mho"),ut(pt,gt,Tt,"Ⅎ","\\Finv",!0),ut(pt,gt,Tt,"⅁","\\Game",!0),ut(pt,gt,Tt,"‵","\\backprime"),ut(pt,gt,Tt,"▲","\\blacktriangle"),ut(pt,gt,Tt,"▼","\\blacktriangledown"),ut(pt,gt,Tt,"■","\\blacksquare"),ut(pt,gt,Tt,"⧫","\\blacklozenge"),ut(pt,gt,Tt,"★","\\bigstar"),ut(pt,gt,Tt,"∢","\\sphericalangle",!0),ut(pt,gt,Tt,"∁","\\complement",!0),ut(pt,gt,Tt,"ð","\\eth",!0),ut(mt,dt,Tt,"ð","ð"),ut(pt,gt,Tt,"╱","\\diagup"),ut(pt,gt,Tt,"╲","\\diagdown"),ut(pt,gt,Tt,"□","\\square"),ut(pt,gt,Tt,"□","\\Box"),ut(pt,gt,Tt,"◊","\\Diamond"),ut(pt,gt,Tt,"¥","\\yen",!0),ut(mt,gt,Tt,"¥","\\yen",!0),ut(pt,gt,Tt,"✓","\\checkmark",!0),ut(mt,gt,Tt,"✓","\\checkmark"),ut(pt,gt,Tt,"ℶ","\\beth",!0),ut(pt,gt,Tt,"ℸ","\\daleth",!0),ut(pt,gt,Tt,"ℷ","\\gimel",!0),ut(pt,gt,Tt,"ϝ","\\digamma",!0),ut(pt,gt,Tt,"ϰ","\\varkappa"),ut(pt,gt,kt,"┌","\\@ulcorner",!0),ut(pt,gt,vt,"┐","\\@urcorner",!0),ut(pt,gt,kt,"└","\\@llcorner",!0),ut(pt,gt,vt,"┘","\\@lrcorner",!0),ut(pt,gt,At,"≦","\\leqq",!0),ut(pt,gt,At,"⩽","\\leqslant",!0),ut(pt,gt,At,"⪕","\\eqslantless",!0),ut(pt,gt,At,"≲","\\lesssim",!0),ut(pt,gt,At,"⪅","\\lessapprox",!0),ut(pt,gt,At,"≊","\\approxeq",!0),ut(pt,gt,bt,"⋖","\\lessdot"),ut(pt,gt,At,"⋘","\\lll",!0),ut(pt,gt,At,"≶","\\lessgtr",!0),ut(pt,gt,At,"⋚","\\lesseqgtr",!0),ut(pt,gt,At,"⪋","\\lesseqqgtr",!0),ut(pt,gt,At,"≑","\\doteqdot"),ut(pt,gt,At,"≓","\\risingdotseq",!0),ut(pt,gt,At,"≒","\\fallingdotseq",!0),ut(pt,gt,At,"∽","\\backsim",!0),ut(pt,gt,At,"⋍","\\backsimeq",!0),ut(pt,gt,At,"⫅","\\subseteqq",!0),ut(pt,gt,At,"⋐","\\Subset",!0),ut(pt,gt,At,"⊏","\\sqsubset",!0),ut(pt,gt,At,"≼","\\preccurlyeq",!0),ut(pt,gt,At,"⋞","\\curlyeqprec",!0),ut(pt,gt,At,"≾","\\precsim",!0),ut(pt,gt,At,"⪷","\\precapprox",!0),ut(pt,gt,At,"⊲","\\vartriangleleft"),ut(pt,gt,At,"⊴","\\trianglelefteq"),ut(pt,gt,At,"⊨","\\vDash",!0),ut(pt,gt,At,"⊪","\\Vvdash",!0),ut(pt,gt,At,"⌣","\\smallsmile"),ut(pt,gt,At,"⌢","\\smallfrown"),ut(pt,gt,At,"≏","\\bumpeq",!0),ut(pt,gt,At,"≎","\\Bumpeq",!0),ut(pt,gt,At,"≧","\\geqq",!0),ut(pt,gt,At,"⩾","\\geqslant",!0),ut(pt,gt,At,"⪖","\\eqslantgtr",!0),ut(pt,gt,At,"≳","\\gtrsim",!0),ut(pt,gt,At,"⪆","\\gtrapprox",!0),ut(pt,gt,bt,"⋗","\\gtrdot"),ut(pt,gt,At,"⋙","\\ggg",!0),ut(pt,gt,At,"≷","\\gtrless",!0),ut(pt,gt,At,"⋛","\\gtreqless",!0),ut(pt,gt,At,"⪌","\\gtreqqless",!0),ut(pt,gt,At,"≖","\\eqcirc",!0),ut(pt,gt,At,"≗","\\circeq",!0),ut(pt,gt,At,"≜","\\triangleq",!0),ut(pt,gt,At,"∼","\\thicksim"),ut(pt,gt,At,"≈","\\thickapprox"),ut(pt,gt,At,"⫆","\\supseteqq",!0),ut(pt,gt,At,"⋑","\\Supset",!0),ut(pt,gt,At,"⊐","\\sqsupset",!0),ut(pt,gt,At,"≽","\\succcurlyeq",!0),ut(pt,gt,At,"⋟","\\curlyeqsucc",!0),ut(pt,gt,At,"≿","\\succsim",!0),ut(pt,gt,At,"⪸","\\succapprox",!0),ut(pt,gt,At,"⊳","\\vartriangleright"),ut(pt,gt,At,"⊵","\\trianglerighteq"),ut(pt,gt,At,"⊩","\\Vdash",!0),ut(pt,gt,At,"∣","\\shortmid"),ut(pt,gt,At,"∥","\\shortparallel"),ut(pt,gt,At,"≬","\\between",!0),ut(pt,gt,At,"⋔","\\pitchfork",!0),ut(pt,gt,At,"∝","\\varpropto"),ut(pt,gt,At,"◀","\\blacktriangleleft"),ut(pt,gt,At,"∴","\\therefore",!0),ut(pt,gt,At,"∍","\\backepsilon"),ut(pt,gt,At,"▶","\\blacktriangleright"),ut(pt,gt,At,"∵","\\because",!0),ut(pt,gt,At,"⋘","\\llless"),ut(pt,gt,At,"⋙","\\gggtr"),ut(pt,gt,bt,"⊲","\\lhd"),ut(pt,gt,bt,"⊳","\\rhd"),ut(pt,gt,At,"≂","\\eqsim",!0),ut(pt,dt,At,"⋈","\\Join"),ut(pt,gt,At,"≑","\\Doteq",!0),ut(pt,gt,bt,"∔","\\dotplus",!0),ut(pt,gt,bt,"∖","\\smallsetminus"),ut(pt,gt,bt,"⋒","\\Cap",!0),ut(pt,gt,bt,"⋓","\\Cup",!0),ut(pt,gt,bt,"⩞","\\doublebarwedge",!0),ut(pt,gt,bt,"⊟","\\boxminus",!0),ut(pt,gt,bt,"⊞","\\boxplus",!0),ut(pt,gt,bt,"⋇","\\divideontimes",!0),ut(pt,gt,bt,"⋉","\\ltimes",!0),ut(pt,gt,bt,"⋊","\\rtimes",!0),ut(pt,gt,bt,"⋋","\\leftthreetimes",!0),ut(pt,gt,bt,"⋌","\\rightthreetimes",!0),ut(pt,gt,bt,"⋏","\\curlywedge",!0),ut(pt,gt,bt,"⋎","\\curlyvee",!0),ut(pt,gt,bt,"⊝","\\circleddash",!0),ut(pt,gt,bt,"⊛","\\circledast",!0),ut(pt,gt,bt,"⋅","\\centerdot"),ut(pt,gt,bt,"⊺","\\intercal",!0),ut(pt,gt,bt,"⋒","\\doublecap"),ut(pt,gt,bt,"⋓","\\doublecup"),ut(pt,gt,bt,"⊠","\\boxtimes",!0),ut(pt,gt,At,"⇢","\\dashrightarrow",!0),ut(pt,gt,At,"⇠","\\dashleftarrow",!0),ut(pt,gt,At,"⇇","\\leftleftarrows",!0),ut(pt,gt,At,"⇆","\\leftrightarrows",!0),ut(pt,gt,At,"⇚","\\Lleftarrow",!0),ut(pt,gt,At,"↞","\\twoheadleftarrow",!0),ut(pt,gt,At,"↢","\\leftarrowtail",!0),ut(pt,gt,At,"↫","\\looparrowleft",!0),ut(pt,gt,At,"⇋","\\leftrightharpoons",!0),ut(pt,gt,At,"↶","\\curvearrowleft",!0),ut(pt,gt,At,"↺","\\circlearrowleft",!0),ut(pt,gt,At,"↰","\\Lsh",!0),ut(pt,gt,At,"⇈","\\upuparrows",!0),ut(pt,gt,At,"↿","\\upharpoonleft",!0),ut(pt,gt,At,"⇃","\\downharpoonleft",!0),ut(pt,dt,At,"⊶","\\origof",!0),ut(pt,dt,At,"⊷","\\imageof",!0),ut(pt,gt,At,"⊸","\\multimap",!0),ut(pt,gt,At,"↭","\\leftrightsquigarrow",!0),ut(pt,gt,At,"⇉","\\rightrightarrows",!0),ut(pt,gt,At,"⇄","\\rightleftarrows",!0),ut(pt,gt,At,"↠","\\twoheadrightarrow",!0),ut(pt,gt,At,"↣","\\rightarrowtail",!0),ut(pt,gt,At,"↬","\\looparrowright",!0),ut(pt,gt,At,"↷","\\curvearrowright",!0),ut(pt,gt,At,"↻","\\circlearrowright",!0),ut(pt,gt,At,"↱","\\Rsh",!0),ut(pt,gt,At,"⇊","\\downdownarrows",!0),ut(pt,gt,At,"↾","\\upharpoonright",!0),ut(pt,gt,At,"⇂","\\downharpoonright",!0),ut(pt,gt,At,"⇝","\\rightsquigarrow",!0),ut(pt,gt,At,"⇝","\\leadsto"),ut(pt,gt,At,"⇛","\\Rrightarrow",!0),ut(pt,gt,At,"↾","\\restriction"),ut(pt,dt,Tt,"‘","`"),ut(pt,dt,Tt,"$","\\$"),ut(mt,dt,Tt,"$","\\$"),ut(mt,dt,Tt,"$","\\textdollar"),ut(pt,dt,Tt,"%","\\%"),ut(mt,dt,Tt,"%","\\%"),ut(pt,dt,Tt,"_","\\_"),ut(mt,dt,Tt,"_","\\_"),ut(mt,dt,Tt,"_","\\textunderscore"),ut(pt,dt,Tt,"∠","\\angle",!0),ut(pt,dt,Tt,"∞","\\infty",!0),ut(pt,dt,Tt,"′","\\prime"),ut(pt,dt,Tt,"△","\\triangle"),ut(pt,dt,Tt,"Γ","\\Gamma",!0),ut(pt,dt,Tt,"Δ","\\Delta",!0),ut(pt,dt,Tt,"Θ","\\Theta",!0),ut(pt,dt,Tt,"Λ","\\Lambda",!0),ut(pt,dt,Tt,"Ξ","\\Xi",!0),ut(pt,dt,Tt,"Π","\\Pi",!0),ut(pt,dt,Tt,"Σ","\\Sigma",!0),ut(pt,dt,Tt,"Υ","\\Upsilon",!0),ut(pt,dt,Tt,"Φ","\\Phi",!0),ut(pt,dt,Tt,"Ψ","\\Psi",!0),ut(pt,dt,Tt,"Ω","\\Omega",!0),ut(pt,dt,Tt,"A","Α"),ut(pt,dt,Tt,"B","Β"),ut(pt,dt,Tt,"E","Ε"),ut(pt,dt,Tt,"Z","Ζ"),ut(pt,dt,Tt,"H","Η"),ut(pt,dt,Tt,"I","Ι"),ut(pt,dt,Tt,"K","Κ"),ut(pt,dt,Tt,"M","Μ"),ut(pt,dt,Tt,"N","Ν"),ut(pt,dt,Tt,"O","Ο"),ut(pt,dt,Tt,"P","Ρ"),ut(pt,dt,Tt,"T","Τ"),ut(pt,dt,Tt,"X","Χ"),ut(pt,dt,Tt,"¬","\\neg",!0),ut(pt,dt,Tt,"¬","\\lnot"),ut(pt,dt,Tt,"⊤","\\top"),ut(pt,dt,Tt,"⊥","\\bot"),ut(pt,dt,Tt,"∅","\\emptyset"),ut(pt,gt,Tt,"∅","\\varnothing"),ut(pt,dt,xt,"α","\\alpha",!0),ut(pt,dt,xt,"β","\\beta",!0),ut(pt,dt,xt,"γ","\\gamma",!0),ut(pt,dt,xt,"δ","\\delta",!0),ut(pt,dt,xt,"ϵ","\\epsilon",!0),ut(pt,dt,xt,"ζ","\\zeta",!0),ut(pt,dt,xt,"η","\\eta",!0),ut(pt,dt,xt,"θ","\\theta",!0),ut(pt,dt,xt,"ι","\\iota",!0),ut(pt,dt,xt,"κ","\\kappa",!0),ut(pt,dt,xt,"λ","\\lambda",!0),ut(pt,dt,xt,"μ","\\mu",!0),ut(pt,dt,xt,"ν","\\nu",!0),ut(pt,dt,xt,"ξ","\\xi",!0),ut(pt,dt,xt,"ο","\\omicron",!0),ut(pt,dt,xt,"π","\\pi",!0),ut(pt,dt,xt,"ρ","\\rho",!0),ut(pt,dt,xt,"σ","\\sigma",!0),ut(pt,dt,xt,"τ","\\tau",!0),ut(pt,dt,xt,"υ","\\upsilon",!0),ut(pt,dt,xt,"ϕ","\\phi",!0),ut(pt,dt,xt,"χ","\\chi",!0),ut(pt,dt,xt,"ψ","\\psi",!0),ut(pt,dt,xt,"ω","\\omega",!0),ut(pt,dt,xt,"ε","\\varepsilon",!0),ut(pt,dt,xt,"ϑ","\\vartheta",!0),ut(pt,dt,xt,"ϖ","\\varpi",!0),ut(pt,dt,xt,"ϱ","\\varrho",!0),ut(pt,dt,xt,"ς","\\varsigma",!0),ut(pt,dt,xt,"φ","\\varphi",!0),ut(pt,dt,bt,"∗","*",!0),ut(pt,dt,bt,"+","+"),ut(pt,dt,bt,"−","-",!0),ut(pt,dt,bt,"⋅","\\cdot",!0),ut(pt,dt,bt,"∘","\\circ",!0),ut(pt,dt,bt,"÷","\\div",!0),ut(pt,dt,bt,"±","\\pm",!0),ut(pt,dt,bt,"×","\\times",!0),ut(pt,dt,bt,"∩","\\cap",!0),ut(pt,dt,bt,"∪","\\cup",!0),ut(pt,dt,bt,"∖","\\setminus",!0),ut(pt,dt,bt,"∧","\\land"),ut(pt,dt,bt,"∨","\\lor"),ut(pt,dt,bt,"∧","\\wedge",!0),ut(pt,dt,bt,"∨","\\vee",!0),ut(pt,dt,Tt,"√","\\surd"),ut(pt,dt,kt,"⟨","\\langle",!0),ut(pt,dt,kt,"∣","\\lvert"),ut(pt,dt,kt,"∥","\\lVert"),ut(pt,dt,vt,"?","?"),ut(pt,dt,vt,"!","!"),ut(pt,dt,vt,"⟩","\\rangle",!0),ut(pt,dt,vt,"∣","\\rvert"),ut(pt,dt,vt,"∥","\\rVert"),ut(pt,dt,At,"=","="),ut(pt,dt,At,":",":"),ut(pt,dt,At,"≈","\\approx",!0),ut(pt,dt,At,"≅","\\cong",!0),ut(pt,dt,At,"≥","\\ge"),ut(pt,dt,At,"≥","\\geq",!0),ut(pt,dt,At,"←","\\gets"),ut(pt,dt,At,">","\\gt",!0),ut(pt,dt,At,"∈","\\in",!0),ut(pt,dt,At,"","\\@not"),ut(pt,dt,At,"⊂","\\subset",!0),ut(pt,dt,At,"⊃","\\supset",!0),ut(pt,dt,At,"⊆","\\subseteq",!0),ut(pt,dt,At,"⊇","\\supseteq",!0),ut(pt,gt,At,"⊈","\\nsubseteq",!0),ut(pt,gt,At,"⊉","\\nsupseteq",!0),ut(pt,dt,At,"⊨","\\models"),ut(pt,dt,At,"←","\\leftarrow",!0),ut(pt,dt,At,"≤","\\le"),ut(pt,dt,At,"≤","\\leq",!0),ut(pt,dt,At,"<","\\lt",!0),ut(pt,dt,At,"→","\\rightarrow",!0),ut(pt,dt,At,"→","\\to"),ut(pt,gt,At,"≱","\\ngeq",!0),ut(pt,gt,At,"≰","\\nleq",!0),ut(pt,dt,zt," ","\\ "),ut(pt,dt,zt," ","\\space"),ut(pt,dt,zt," ","\\nobreakspace"),ut(mt,dt,zt," ","\\ "),ut(mt,dt,zt," "," "),ut(mt,dt,zt," ","\\space"),ut(mt,dt,zt," ","\\nobreakspace"),ut(pt,dt,zt,"","\\nobreak"),ut(pt,dt,zt,"","\\allowbreak"),ut(pt,dt,St,",",","),ut(pt,dt,St,";",";"),ut(pt,gt,bt,"⊼","\\barwedge",!0),ut(pt,gt,bt,"⊻","\\veebar",!0),ut(pt,dt,bt,"⊙","\\odot",!0),ut(pt,dt,bt,"⊕","\\oplus",!0),ut(pt,dt,bt,"⊗","\\otimes",!0),ut(pt,dt,Tt,"∂","\\partial",!0),ut(pt,dt,bt,"⊘","\\oslash",!0),ut(pt,gt,bt,"⊚","\\circledcirc",!0),ut(pt,gt,bt,"⊡","\\boxdot",!0),ut(pt,dt,bt,"△","\\bigtriangleup"),ut(pt,dt,bt,"▽","\\bigtriangledown"),ut(pt,dt,bt,"†","\\dagger"),ut(pt,dt,bt,"⋄","\\diamond"),ut(pt,dt,bt,"⋆","\\star"),ut(pt,dt,bt,"◃","\\triangleleft"),ut(pt,dt,bt,"▹","\\triangleright"),ut(pt,dt,kt,"{","\\{"),ut(mt,dt,Tt,"{","\\{"),ut(mt,dt,Tt,"{","\\textbraceleft"),ut(pt,dt,vt,"}","\\}"),ut(mt,dt,Tt,"}","\\}"),ut(mt,dt,Tt,"}","\\textbraceright"),ut(pt,dt,kt,"{","\\lbrace"),ut(pt,dt,vt,"}","\\rbrace"),ut(pt,dt,kt,"[","\\lbrack",!0),ut(mt,dt,Tt,"[","\\lbrack",!0),ut(pt,dt,vt,"]","\\rbrack",!0),ut(mt,dt,Tt,"]","\\rbrack",!0),ut(pt,dt,kt,"(","\\lparen",!0),ut(pt,dt,vt,")","\\rparen",!0),ut(mt,dt,Tt,"<","\\textless",!0),ut(mt,dt,Tt,">","\\textgreater",!0),ut(pt,dt,kt,"⌊","\\lfloor",!0),ut(pt,dt,vt,"⌋","\\rfloor",!0),ut(pt,dt,kt,"⌈","\\lceil",!0),ut(pt,dt,vt,"⌉","\\rceil",!0),ut(pt,dt,Tt,"\\","\\backslash"),ut(pt,dt,Tt,"∣","|"),ut(pt,dt,Tt,"∣","\\vert"),ut(mt,dt,Tt,"|","\\textbar",!0),ut(pt,dt,Tt,"∥","\\|"),ut(pt,dt,Tt,"∥","\\Vert"),ut(mt,dt,Tt,"∥","\\textbardbl"),ut(mt,dt,Tt,"~","\\textasciitilde"),ut(mt,dt,Tt,"\\","\\textbackslash"),ut(mt,dt,Tt,"^","\\textasciicircum"),ut(pt,dt,At,"↑","\\uparrow",!0),ut(pt,dt,At,"⇑","\\Uparrow",!0),ut(pt,dt,At,"↓","\\downarrow",!0),ut(pt,dt,At,"⇓","\\Downarrow",!0),ut(pt,dt,At,"↕","\\updownarrow",!0),ut(pt,dt,At,"⇕","\\Updownarrow",!0),ut(pt,dt,wt,"∐","\\coprod"),ut(pt,dt,wt,"⋁","\\bigvee"),ut(pt,dt,wt,"⋀","\\bigwedge"),ut(pt,dt,wt,"⨄","\\biguplus"),ut(pt,dt,wt,"⋂","\\bigcap"),ut(pt,dt,wt,"⋃","\\bigcup"),ut(pt,dt,wt,"∫","\\int"),ut(pt,dt,wt,"∫","\\intop"),ut(pt,dt,wt,"∬","\\iint"),ut(pt,dt,wt,"∭","\\iiint"),ut(pt,dt,wt,"∏","\\prod"),ut(pt,dt,wt,"∑","\\sum"),ut(pt,dt,wt,"⨂","\\bigotimes"),ut(pt,dt,wt,"⨁","\\bigoplus"),ut(pt,dt,wt,"⨀","\\bigodot"),ut(pt,dt,wt,"∮","\\oint"),ut(pt,dt,wt,"∯","\\oiint"),ut(pt,dt,wt,"∰","\\oiiint"),ut(pt,dt,wt,"⨆","\\bigsqcup"),ut(pt,dt,wt,"∫","\\smallint"),ut(mt,dt,yt,"…","\\textellipsis"),ut(pt,dt,yt,"…","\\mathellipsis"),ut(mt,dt,yt,"…","\\ldots",!0),ut(pt,dt,yt,"…","\\ldots",!0),ut(pt,dt,yt,"⋯","\\@cdots",!0),ut(pt,dt,yt,"⋱","\\ddots",!0),ut(pt,dt,Tt,"⋮","\\varvdots"),ut(mt,dt,Tt,"⋮","\\varvdots"),ut(pt,dt,ft,"ˊ","\\acute"),ut(pt,dt,ft,"ˋ","\\grave"),ut(pt,dt,ft,"¨","\\ddot"),ut(pt,dt,ft,"~","\\tilde"),ut(pt,dt,ft,"ˉ","\\bar"),ut(pt,dt,ft,"˘","\\breve"),ut(pt,dt,ft,"ˇ","\\check"),ut(pt,dt,ft,"^","\\hat"),ut(pt,dt,ft,"⃗","\\vec"),ut(pt,dt,ft,"˙","\\dot"),ut(pt,dt,ft,"˚","\\mathring"),ut(pt,dt,xt,"","\\@imath"),ut(pt,dt,xt,"","\\@jmath"),ut(pt,dt,Tt,"ı","ı"),ut(pt,dt,Tt,"ȷ","ȷ"),ut(mt,dt,Tt,"ı","\\i",!0),ut(mt,dt,Tt,"ȷ","\\j",!0),ut(mt,dt,Tt,"ß","\\ss",!0),ut(mt,dt,Tt,"æ","\\ae",!0),ut(mt,dt,Tt,"œ","\\oe",!0),ut(mt,dt,Tt,"ø","\\o",!0),ut(mt,dt,Tt,"Æ","\\AE",!0),ut(mt,dt,Tt,"Œ","\\OE",!0),ut(mt,dt,Tt,"Ø","\\O",!0),ut(mt,dt,ft,"ˊ","\\'"),ut(mt,dt,ft,"ˋ","\\`"),ut(mt,dt,ft,"ˆ","\\^"),ut(mt,dt,ft,"˜","\\~"),ut(mt,dt,ft,"ˉ","\\="),ut(mt,dt,ft,"˘","\\u"),ut(mt,dt,ft,"˙","\\."),ut(mt,dt,ft,"¸","\\c"),ut(mt,dt,ft,"˚","\\r"),ut(mt,dt,ft,"ˇ","\\v"),ut(mt,dt,ft,"¨",'\\"'),ut(mt,dt,ft,"˝","\\H"),ut(mt,dt,ft,"◯","\\textcircled");var Mt={"--":!0,"---":!0,"``":!0,"''":!0};ut(mt,dt,Tt,"–","--",!0),ut(mt,dt,Tt,"–","\\textendash"),ut(mt,dt,Tt,"—","---",!0),ut(mt,dt,Tt,"—","\\textemdash"),ut(mt,dt,Tt,"‘","`",!0),ut(mt,dt,Tt,"‘","\\textquoteleft"),ut(mt,dt,Tt,"’","'",!0),ut(mt,dt,Tt,"’","\\textquoteright"),ut(mt,dt,Tt,"“","``",!0),ut(mt,dt,Tt,"“","\\textquotedblleft"),ut(mt,dt,Tt,"”","''",!0),ut(mt,dt,Tt,"”","\\textquotedblright"),ut(pt,dt,Tt,"°","\\degree",!0),ut(mt,dt,Tt,"°","\\degree"),ut(mt,dt,Tt,"°","\\textdegree",!0),ut(pt,dt,Tt,"£","\\pounds"),ut(pt,dt,Tt,"£","\\mathsterling",!0),ut(mt,dt,Tt,"£","\\pounds"),ut(mt,dt,Tt,"£","\\textsterling",!0),ut(pt,gt,Tt,"✠","\\maltese"),ut(mt,gt,Tt,"✠","\\maltese");for(var Ct='0123456789/@."',Rt=0;Rt<14;Rt++){var Bt=Ct.charAt(Rt);ut(pt,dt,Tt,Bt,Bt)}for(var Et='0123456789!@*()-=+";:?/.,',It=0;It<25;It++){var qt=Et.charAt(It);ut(mt,dt,Tt,qt,qt)}for(var Nt,Ot="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",Dt=0;Dt<52;Dt++){var Lt=Ot.charAt(Dt);ut(pt,dt,xt,Lt,Lt),ut(mt,dt,Tt,Lt,Lt)}ut(pt,gt,Tt,"C","ℂ"),ut(mt,gt,Tt,"C","ℂ"),ut(pt,gt,Tt,"H","ℍ"),ut(mt,gt,Tt,"H","ℍ"),ut(pt,gt,Tt,"N","ℕ"),ut(mt,gt,Tt,"N","ℕ"),ut(pt,gt,Tt,"P","ℙ"),ut(mt,gt,Tt,"P","ℙ"),ut(pt,gt,Tt,"Q","ℚ"),ut(mt,gt,Tt,"Q","ℚ"),ut(pt,gt,Tt,"R","ℝ"),ut(mt,gt,Tt,"R","ℝ"),ut(pt,gt,Tt,"Z","ℤ"),ut(mt,gt,Tt,"Z","ℤ"),ut(pt,dt,xt,"h","ℎ"),ut(mt,dt,xt,"h","ℎ");for(var Ht=0;Ht<52;Ht++){var Pt=Ot.charAt(Ht);ut(pt,dt,xt,Pt,Nt=String.fromCharCode(55349,56320+Ht)),ut(mt,dt,Tt,Pt,Nt),ut(pt,dt,xt,Pt,Nt=String.fromCharCode(55349,56372+Ht)),ut(mt,dt,Tt,Pt,Nt),ut(pt,dt,xt,Pt,Nt=String.fromCharCode(55349,56424+Ht)),ut(mt,dt,Tt,Pt,Nt),ut(pt,dt,xt,Pt,Nt=String.fromCharCode(55349,56580+Ht)),ut(mt,dt,Tt,Pt,Nt),ut(pt,dt,xt,Pt,Nt=String.fromCharCode(55349,56684+Ht)),ut(mt,dt,Tt,Pt,Nt),ut(pt,dt,xt,Pt,Nt=String.fromCharCode(55349,56736+Ht)),ut(mt,dt,Tt,Pt,Nt),ut(pt,dt,xt,Pt,Nt=String.fromCharCode(55349,56788+Ht)),ut(mt,dt,Tt,Pt,Nt),ut(pt,dt,xt,Pt,Nt=String.fromCharCode(55349,56840+Ht)),ut(mt,dt,Tt,Pt,Nt),ut(pt,dt,xt,Pt,Nt=String.fromCharCode(55349,56944+Ht)),ut(mt,dt,Tt,Pt,Nt),Ht<26&&(ut(pt,dt,xt,Pt,Nt=String.fromCharCode(55349,56632+Ht)),ut(mt,dt,Tt,Pt,Nt),ut(pt,dt,xt,Pt,Nt=String.fromCharCode(55349,56476+Ht)),ut(mt,dt,Tt,Pt,Nt))}ut(pt,dt,xt,"k",Nt=String.fromCharCode(55349,56668)),ut(mt,dt,Tt,"k",Nt);for(var _t=0;_t<10;_t++){var Ft=_t.toString();ut(pt,dt,xt,Ft,Nt=String.fromCharCode(55349,57294+_t)),ut(mt,dt,Tt,Ft,Nt),ut(pt,dt,xt,Ft,Nt=String.fromCharCode(55349,57314+_t)),ut(mt,dt,Tt,Ft,Nt),ut(pt,dt,xt,Ft,Nt=String.fromCharCode(55349,57324+_t)),ut(mt,dt,Tt,Ft,Nt),ut(pt,dt,xt,Ft,Nt=String.fromCharCode(55349,57334+_t)),ut(mt,dt,Tt,Ft,Nt)}for(var $t="ÐÞþ",Ut=0;Ut<3;Ut++){var Gt=$t.charAt(Ut);ut(pt,dt,xt,Gt,Gt),ut(mt,dt,Tt,Gt,Gt)}var Vt={mathClass:"mathbf",textClass:"textbf",font:"Main-Bold"},jt={mathClass:"mathnormal",textClass:"textit",font:"Math-Italic"},Yt={mathClass:"boldsymbol",textClass:"boldsymbol",font:"Main-BoldItalic"},Wt={mathClass:"",textClass:"",font:""},Xt={mathClass:"mathfrak",textClass:"textfrak",font:"Fraktur-Regular"},Zt={mathClass:"mathbb",textClass:"textbb",font:"AMS-Regular"},Kt={mathClass:"mathboldfrak",textClass:"textboldfrak",font:"Fraktur-Regular"},Qt={mathClass:"mathsf",textClass:"textsf",font:"SansSerif-Regular"},Jt={mathClass:"mathboldsf",textClass:"textboldsf",font:"SansSerif-Bold"},er={mathClass:"mathitsf",textClass:"textitsf",font:"SansSerif-Italic"},tr={mathClass:"mathtt",textClass:"texttt",font:"Typewriter-Regular"},rr=[Vt,Vt,jt,jt,Yt,Yt,{mathClass:"mathscr",textClass:"textscr",font:"Script-Regular"},Wt,Wt,Wt,Xt,Xt,Zt,Zt,Kt,Kt,Qt,Qt,Jt,Jt,er,er,Wt,Wt,tr,tr],nr=[Vt,Wt,Qt,Jt,tr],ir=function(e,t,r){if(ct[r][e]){var n=ct[r][e].replace;n&&(e=n)}return{value:e,metrics:lt(e,t,r)}},ar=function(e,t,r,n,i){var a,o=ir(e,t,r),s=o.metrics;if(e=o.value,s){var l=s.italic;("text"===r||n&&"mathit"===n.font)&&(l=0),a=new tt(e,s.height,s.depth,l,s.skew,s.width,i)}else"undefined"!=typeof console&&console.warn("No character metrics for '"+e+"' in style '"+t+"' and mode '"+r+"'"),a=new tt(e,0,0,0,0,0,i);if(n){a.maxFontSize=n.sizeMultiplier,n.style.isTight()&&a.classes.push("mtight");var h=n.getColor();h&&(a.style.color=h)}return a},or=function(e,t,r,n){return void 0===n&&(n=[]),"boldsymbol"===r.font&&ir(e,"Main-Bold",t).metrics?ar(e,"Main-Bold",t,r,n.concat(["mathbf"])):"\\"===e||"main"===ct[t][e].font?ar(e,"Main-Regular",t,r,n):ar(e,"AMS-Regular",t,r,n.concat(["amsrm"]))},sr=function(e,t,r){var n=e.mode,i=e.text,a=["mord"],{font:o,fontFamily:s,fontWeight:l,fontShape:h}=t,c="math"===n||"text"===n&&!!o,u=c?o:s,p="",m="";if(55349===i.charCodeAt(0)){var d=(e=>{var t=1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536;if(119808<=t&&t<120484){var r=Math.floor((t-119808)/26);return rr[r]}if(120782<=t&&t<=120831){var n=Math.floor((t-120782)/10);return nr[n]}if(120485===t||120486===t)return rr[0];if(120486<t&&t<120782)return Wt;throw new ue("Unsupported character: "+e)})(i);p=d.font,m=d[n+"Class"]}if(p)return ar(i,p,n,t,a.concat(m));if(u){var g,f;if("boldsymbol"===u){var b=function(e,t,r){return"textord"!==r&&ir(e,"Math-BoldItalic",t).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}}(i,n,r);g=b.fontName,f=[b.fontClass]}else c?(g=yr[o].fontName,f=[o]):(g=vr(s,l,h),f=[s,l,h]);if(ir(i,g,n).metrics)return ar(i,g,n,t,a.concat(f));if(Mt.hasOwnProperty(i)&&"Typewriter"===g.slice(0,10)){for(var v=[],y=0;y<i.length;y++)v.push(ar(i[y],g,n,t,a.concat(f)));return dr(v)}}if("mathord"===r)return ar(i,"Math-Italic",n,t,a.concat(["mathnormal"]));if("textord"===r){var x=ct[n][i]&&ct[n][i].font;if("ams"===x){var w=vr("amsrm",l,h);return ar(i,w,n,t,a.concat("amsrm",l,h))}if("main"!==x&&x){var k=vr(x,l,h);return ar(i,k,n,t,a.concat(k,l,h))}var S=vr("textrm",l,h);return ar(i,S,n,t,a.concat(l,h))}throw new Error("unexpected type: "+r+" in makeOrd")},lr=(e,t)=>{if(Ve(e.classes)!==Ve(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize||0!==e.italic&&e.hasClass("mathnormal"))return!1;if(1===e.classes.length){var r=e.classes[0];if("mbin"===r||"mord"===r)return!1}for(var n of Object.keys(e.style))if(e.style[n]!==t.style[n])return!1;for(var i of Object.keys(t.style))if(e.style[i]!==t.style[i])return!1;return!0},hr=e=>{for(var t=0;t<e.length-1;t++){var r=e[t],n=e[t+1];r instanceof tt&&n instanceof tt&&lr(r,n)&&(r.text+=n.text,r.height=Math.max(r.height,n.height),r.depth=Math.max(r.depth,n.depth),r.italic=n.italic,e.splice(t+1,1),t--)}return e},cr=function(e){for(var t=0,r=0,n=0,i=0;i<e.children.length;i++){var a=e.children[i];a.height>t&&(t=a.height),a.depth>r&&(r=a.depth),a.maxFontSize>n&&(n=a.maxFontSize)}e.height=t,e.depth=r,e.maxFontSize=n},ur=function(e,t,r,n){var i=new Ke(e,t,r,n);return cr(i),i},pr=(e,t,r,n)=>new Ke(e,t,r,n),mr=function(e,t,r){var n=ur([e],[],t);return n.height=Math.max(r||t.fontMetrics().defaultRuleThickness,t.minRuleThickness),n.style.borderBottomWidth=Ge(n.height),n.maxFontSize=1,n},dr=function(e){var t=new Pe(e);return cr(t),t},gr=function(e,t){return e instanceof Pe?ur([],[e],t):e},fr=function(e,t){for(var{children:r,depth:n}=function(e){if("individualShift"===e.positionType){for(var t=e.children,r=[t[0]],n=-t[0].shift-t[0].elem.depth,i=n,a=1;a<t.length;a++){var o=-t[a].shift-i-t[a].elem.depth,s=o-(t[a-1].elem.height+t[a-1].elem.depth);i+=o,r.push({type:"kern",size:s}),r.push(t[a])}return{children:r,depth:n}}var l;if("top"===e.positionType){for(var h=e.positionData,c=0;c<e.children.length;c++){var u=e.children[c];h-="kern"===u.type?u.size:u.elem.height+u.elem.depth}l=h}else if("bottom"===e.positionType)l=-e.positionData;else{var p=e.children[0];if("elem"!==p.type)throw new Error('First child must have type "elem".');if("shift"===e.positionType)l=-p.elem.depth-e.positionData;else{if("firstBaseline"!==e.positionType)throw new Error("Invalid positionType "+e.positionType+".");l=-p.elem.depth}}return{children:e.children,depth:l}}(e),i=0,a=0;a<r.length;a++){var o=r[a];if("elem"===o.type){var s=o.elem;i=Math.max(i,s.maxFontSize,s.height)}}i+=2;var l=ur(["pstrut"],[]);l.style.height=Ge(i);for(var h=[],c=n,u=n,p=n,m=0;m<r.length;m++){var d=r[m];if("kern"===d.type)p+=d.size;else{var g=d.elem,f=d.wrapperClasses||[],b=d.wrapperStyle||{},v=ur(f,[l,g],void 0,b);v.style.top=Ge(-i-p-g.depth),d.marginLeft&&(v.style.marginLeft=d.marginLeft),d.marginRight&&(v.style.marginRight=d.marginRight),h.push(v),p+=g.height+g.depth}c=Math.min(c,p),u=Math.max(u,p)}var y,x=ur(["vlist"],h);if(x.style.height=Ge(u),c<0){var w=ur([],[]),k=ur(["vlist"],[w]);k.style.height=Ge(-c);var S=ur(["vlist-s"],[new tt("")]);y=[ur(["vlist-r"],[x,S]),ur(["vlist-r"],[k])]}else y=[ur(["vlist-r"],[x])];var A=ur(["vlist-t"],y);return 2===y.length&&A.classes.push("vlist-t2"),A.height=u,A.depth=-c,A},br=(e,t)=>{var r=ur(["mspace"],[],t),n=Ue(e,t);return r.style.marginRight=Ge(n),r},vr=(e,t,r)=>{var n;switch(e){case"amsrm":n="AMS";break;case"textrm":n="Main";break;case"textsf":n="SansSerif";break;case"texttt":n="Typewriter";break;default:n=e}return n+"-"+("textbf"===t&&"textit"===r?"BoldItalic":"textbf"===t?"Bold":"textit"===r?"Italic":"Regular")},yr={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"},mathsfit:{variant:"sans-serif-italic",fontName:"SansSerif-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"}},xr={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},wr=function(e,t){var[r,n,i]=xr[e],a=new nt(r),o=new rt([a],{width:Ge(n),height:Ge(i),style:"width:"+Ge(n),viewBox:"0 0 "+1e3*n+" "+1e3*i,preserveAspectRatio:"xMinYMin"}),s=pr(["overlay"],[o],t);return s.height=i,s.style.height=Ge(i),s.style.width=Ge(n),s},kr={number:3,unit:"mu"},Sr={number:4,unit:"mu"},Ar={number:5,unit:"mu"},zr={mord:{mop:kr,mbin:Sr,mrel:Ar,minner:kr},mop:{mord:kr,mop:kr,mrel:Ar,minner:kr},mbin:{mord:Sr,mop:Sr,mopen:Sr,minner:Sr},mrel:{mord:Ar,mop:Ar,mopen:Ar,minner:Ar},mopen:{},mclose:{mop:kr,mbin:Sr,mrel:Ar,minner:kr},mpunct:{mord:kr,mop:kr,mrel:Ar,mopen:kr,mclose:kr,mpunct:kr,minner:kr},minner:{mord:kr,mop:kr,mbin:Sr,mrel:Ar,mopen:kr,mpunct:kr,minner:kr}},Tr={mord:{mop:kr},mop:{mord:kr,mop:kr},mbin:{},mrel:{},mopen:{},mclose:{mop:kr},mpunct:{},minner:{mop:kr}},Mr={},Cr={},Rr={};function Br(e){for(var{type:t,names:r,props:n,handler:i,htmlBuilder:a,mathmlBuilder:o}=e,s={type:t,numArgs:n.numArgs,argTypes:n.argTypes,allowedInArgument:!!n.allowedInArgument,allowedInText:!!n.allowedInText,allowedInMath:void 0===n.allowedInMath||n.allowedInMath,numOptionalArgs:n.numOptionalArgs||0,infix:!!n.infix,primitive:!!n.primitive,handler:i},l=0;l<r.length;++l)Mr[r[l]]=s;t&&(a&&(Cr[t]=a),o&&(Rr[t]=o))}function Er(e){var{type:t,htmlBuilder:r,mathmlBuilder:n}=e;Br({type:t,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:r,mathmlBuilder:n})}var Ir=function(e){return"ordgroup"===e.type&&1===e.body.length?e.body[0]:e},qr=function(e){return"ordgroup"===e.type?e.body:[e]},Nr=new Set(["leftmost","mbin","mopen","mrel","mop","mpunct"]),Or=new Set(["rightmost","mrel","mclose","mpunct"]),Dr={display:Ie.DISPLAY,text:Ie.TEXT,script:Ie.SCRIPT,scriptscript:Ie.SCRIPTSCRIPT},Lr={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},Hr=function(e,t,r,n){void 0===n&&(n=[null,null]);for(var i=[],a=0;a<e.length;a++){var o=Gr(e[a],t);if(o instanceof Pe){var s=o.children;i.push(...s)}else i.push(o)}if(hr(i),!r)return i;var l=t;if(1===e.length){var h=e[0];"sizing"===h.type?l=t.havingSize(h.size):"styling"===h.type&&(l=t.havingStyle(Dr[h.style]))}var c=ur([n[0]||"leftmost"],[],t),u=ur([n[1]||"rightmost"],[],t),p="root"===r;return Pr(i,(e,t)=>{var r=t.classes[0],n=e.classes[0];"mbin"===r&&Or.has(n)?t.classes[0]="mord":"mbin"===n&&Nr.has(r)&&(e.classes[0]="mord")},{node:c},u,p),Pr(i,(e,t)=>{var r,n,i=$r(t),a=$r(e),o=i&&a?e.hasClass("mtight")?null==(r=Tr[i])?void 0:r[a]:null==(n=zr[i])?void 0:n[a]:null;if(o)return br(o,l)},{node:c},u,p),i},Pr=function(e,t,r,n,i){n&&e.push(n);for(var a=0;a<e.length;a++){var o=e[a],s=_r(o);if(s)Pr(s.children,t,r,null,i);else{var l=!o.hasClass("mspace");if(l){var h=t(o,r.node);h&&(r.insertAfter?r.insertAfter(h):(e.unshift(h),a++))}l?r.node=o:i&&o.hasClass("newline")&&(r.node=ur(["leftmost"])),r.insertAfter=(t=>r=>{e.splice(t+1,0,r),a++})(a)}}n&&e.pop()},_r=function(e){return e instanceof Pe||e instanceof Qe||e instanceof Ke&&e.hasClass("enclosing")?e:null},Fr=function(e,t){var r=_r(e);if(r){var n=r.children;if(n.length){if("right"===t)return Fr(n[n.length-1],"right");if("left"===t)return Fr(n[0],"left")}}return e},$r=function(e,t){if(!e)return null;t&&(e=Fr(e,t));var r=e.classes[0];return Lr[r]||null},Ur=function(e,t){var r=["nulldelimiter"].concat(e.baseSizingClasses());return ur(t.concat(r))},Gr=function(e,t,r){if(!e)return ur();if(Cr[e.type]){var n=Cr[e.type](e,t);if(r&&t.size!==r.size){n=ur(t.sizingClasses(r),[n],t);var i=t.sizeMultiplier/r.sizeMultiplier;n.height*=i,n.depth*=i}return n}throw new ue("Got group of unknown type: '"+e.type+"'")};function Vr(e,t){var r=ur(["base"],e,t),n=ur(["strut"]);return n.style.height=Ge(r.height+r.depth),r.depth&&(n.style.verticalAlign=Ge(-r.depth)),r.children.unshift(n),r}function jr(e,t){var r=null;1===e.length&&"tag"===e[0].type&&(r=e[0].tag,e=e[0].body);var n,i=Hr(e,t,"root");2===i.length&&i[1].hasClass("tag")&&(n=i.pop());for(var a,o=[],s=[],l=0;l<i.length;l++)if(s.push(i[l]),i[l].hasClass("mbin")||i[l].hasClass("mrel")||i[l].hasClass("allowbreak")){for(var h=!1;l<i.length-1&&i[l+1].hasClass("mspace")&&!i[l+1].hasClass("newline");)l++,s.push(i[l]),i[l].hasClass("nobreak")&&(h=!0);h||(o.push(Vr(s,t)),s=[])}else i[l].hasClass("newline")&&(s.pop(),s.length>0&&(o.push(Vr(s,t)),s=[]),o.push(i[l]));s.length>0&&o.push(Vr(s,t)),r?((a=Vr(Hr(r,t,!0),t)).classes=["tag"],o.push(a)):n&&o.push(n);var c=ur(["katex-html"],o);if(c.setAttribute("aria-hidden","true"),a){var u=a.children[0];u.style.height=Ge(c.height+c.depth),c.depth&&(u.style.verticalAlign=Ge(-c.depth))}return c}function Yr(e){return new Pe(e)}class Wr{constructor(e,t,r){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=e,this.attributes={},this.children=t||[],this.classes=r||[]}setAttribute(e,t){this.attributes[e]=t}getAttribute(e){return this.attributes[e]}toNode(){var e=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);this.classes.length>0&&(e.className=Ve(this.classes));for(var r=0;r<this.children.length;r++)if(this.children[r]instanceof Xr&&this.children[r+1]instanceof Xr){for(var n=this.children[r].toText()+this.children[++r].toText();this.children[r+1]instanceof Xr;)n+=this.children[++r].toText();e.appendChild(new Xr(n).toNode())}else e.appendChild(this.children[r].toNode());return e}toMarkup(){var e="<"+this.type;for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+'="',e+=fe(this.attributes[t]),e+='"');this.classes.length>0&&(e+=' class ="'+fe(Ve(this.classes))+'"'),e+=">";for(var r=0;r<this.children.length;r++)e+=this.children[r].toMarkup();return e+="</"+this.type+">"}toText(){return this.children.map(e=>e.toText()).join("")}}class Xr{constructor(e){this.text=void 0,this.text=e}toNode(){return document.createTextNode(this.text)}toMarkup(){return fe(this.toText())}toText(){return this.text}}class Zr{constructor(e){this.width=void 0,this.character=void 0,this.width=e,this.character=e>=.05555&&e<=.05556?" ":e>=.1666&&e<=.1667?" ":e>=.2222&&e<=.2223?" ":e>=.2777&&e<=.2778?" ":e>=-.05556&&e<=-.05555?" ":e>=-.1667&&e<=-.1666?" ":e>=-.2223&&e<=-.2222?" ":e>=-.2778&&e<=-.2777?" ":null}toNode(){if(this.character)return document.createTextNode(this.character);var e=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return e.setAttribute("width",Ge(this.width)),e}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+Ge(this.width)+'"/>'}toText(){return this.character?this.character:" "}}var Kr=new Set(["\\imath","\\jmath"]),Qr=new Set(["mrow","mtable"]),Jr=function(e,t,r){return!ct[t][e]||!ct[t][e].replace||55349===e.charCodeAt(0)||Mt.hasOwnProperty(e)&&r&&(r.fontFamily&&"tt"===r.fontFamily.slice(4,6)||r.font&&"tt"===r.font.slice(4,6))||(e=ct[t][e].replace),new Xr(e)},en=function(e){return 1===e.length?e[0]:new Wr("mrow",e)},tn={mathit:"italic",boldsymbol:e=>"textord"===e.type?"bold":"bold-italic",mathbf:"bold",mathbb:"double-struck",mathsfit:"sans-serif-italic",mathfrak:"fraktur",mathscr:"script",mathcal:"script",mathsf:"sans-serif",mathtt:"monospace"},rn=(e,t)=>{if("text"===e.mode){if("texttt"===t.fontFamily)return"monospace";if("textsf"===t.fontFamily)return"textit"===t.fontShape&&"textbf"===t.fontWeight?"sans-serif-bold-italic":"textit"===t.fontShape?"sans-serif-italic":"textbf"===t.fontWeight?"bold-sans-serif":"sans-serif";if("textit"===t.fontShape&&"textbf"===t.fontWeight)return"bold-italic";if("textit"===t.fontShape)return"italic";if("textbf"===t.fontWeight)return"bold"}var r=t.font;if(!r||"mathnormal"===r)return null;var n=e.mode,i=tn[r];if(i)return"function"==typeof i?i(e):i;var a=e.text;if(Kr.has(a))return null;if(ct[n][a]){var o=ct[n][a].replace;o&&(a=o)}return lt(a,yr[r].fontName,n)?yr[r].variant:null};function nn(e){if(!e)return!1;if("mi"===e.type&&1===e.children.length){var t=e.children[0];return t instanceof Xr&&"."===t.text}if("mo"===e.type&&1===e.children.length&&"true"===e.getAttribute("separator")&&"0em"===e.getAttribute("lspace")&&"0em"===e.getAttribute("rspace")){var r=e.children[0];return r instanceof Xr&&","===r.text}return!1}var an=function(e,t,r){if(1===e.length){var n=sn(e[0],t);return r&&n instanceof Wr&&"mo"===n.type&&(n.setAttribute("lspace","0em"),n.setAttribute("rspace","0em")),[n]}for(var i,a=[],o=0;o<e.length;o++){var s=sn(e[o],t);if(s instanceof Wr&&i instanceof Wr){if("mtext"===s.type&&"mtext"===i.type&&s.getAttribute("mathvariant")===i.getAttribute("mathvariant")){i.children.push(...s.children);continue}if("mn"===s.type&&"mn"===i.type){i.children.push(...s.children);continue}if(nn(s)&&"mn"===i.type){i.children.push(...s.children);continue}if("mn"===s.type&&nn(i))s.children=[...i.children,...s.children],a.pop();else if(("msup"===s.type||"msub"===s.type)&&s.children.length>=1&&("mn"===i.type||nn(i))){var l=s.children[0];l instanceof Wr&&"mn"===l.type&&(l.children=[...i.children,...l.children],a.pop())}else if("mi"===i.type&&1===i.children.length){var h=i.children[0];if(h instanceof Xr&&"̸"===h.text&&("mo"===s.type||"mi"===s.type||"mn"===s.type)){var c=s.children[0];c instanceof Xr&&c.text.length>0&&(c.text=c.text.slice(0,1)+"̸"+c.text.slice(1),a.pop())}}}a.push(s),i=s}return a},on=function(e,t,r){return en(an(e,t,r))},sn=function(e,t){if(!e)return new Wr("mrow");if(Rr[e.type])return Rr[e.type](e,t);throw new ue("Got group of unknown type: '"+e.type+"'")};function ln(e,t,r,n,i){var a,o=an(e,r);a=1===o.length&&o[0]instanceof Wr&&Qr.has(o[0].type)?o[0]:new Wr("mrow",o);var s=new Wr("annotation",[new Xr(t)]);s.setAttribute("encoding","application/x-tex");var l=new Wr("semantics",[a,s]),h=new Wr("math",[l]);return h.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),n&&h.setAttribute("display","block"),ur([i?"katex":"katex-mathml"],[h])}var hn=[[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]],cn=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],un=function(e,t){return t.size<2?e:hn[e-1][t.size-1]};class pn{constructor(e){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=e.style,this.color=e.color,this.size=e.size||pn.BASESIZE,this.textSize=e.textSize||this.size,this.phantom=!!e.phantom,this.font=e.font||"",this.fontFamily=e.fontFamily||"",this.fontWeight=e.fontWeight||"",this.fontShape=e.fontShape||"",this.sizeMultiplier=cn[this.size-1],this.maxSize=e.maxSize,this.minRuleThickness=e.minRuleThickness,this._fontMetrics=void 0}extend(e){var t={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};return Object.assign(t,e),new pn(t)}havingStyle(e){return this.style===e?this:this.extend({style:e,size:un(this.textSize,e)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(e){return this.size===e&&this.textSize===e?this:this.extend({style:this.style.text(),size:e,textSize:e,sizeMultiplier:cn[e-1]})}havingBaseStyle(e){e=e||this.style.text();var t=un(pn.BASESIZE,e);return this.size===t&&this.textSize===pn.BASESIZE&&this.style===e?this:this.extend({style:e,size:t})}havingBaseSizing(){var e;switch(this.style.id){case 4:case 5:e=3;break;case 6:case 7:e=1;break;default:e=6}return this.extend({style:this.style.text(),size:e})}withColor(e){return this.extend({color:e})}withPhantom(){return this.extend({phantom:!0})}withFont(e){return this.extend({font:e})}withTextFontFamily(e){return this.extend({fontFamily:e,font:""})}withTextFontWeight(e){return this.extend({fontWeight:e,font:""})}withTextFontShape(e){return this.extend({fontShape:e,font:""})}sizingClasses(e){return e.size!==this.size?["sizing","reset-size"+e.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==pn.BASESIZE?["sizing","reset-size"+this.size,"size"+pn.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=function(e){var t;if(!ht[t=e>=5?0:e>=3?1:2]){var r=ht[t]={cssEmPerMu:ot.quad[t]/18};for(var n in ot)ot.hasOwnProperty(n)&&(r[n]=ot[n][t])}return ht[t]}(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}pn.BASESIZE=6;var mn=function(e){return new pn({style:e.displayMode?Ie.DISPLAY:Ie.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},dn=function(e,t){if(t.displayMode){var r=["katex-display"];t.leqno&&r.push("leqno"),t.fleqn&&r.push("fleqn"),e=ur(r,[e])}return e},gn={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",underbracket:"⎵",overbracket:"⎴",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":"="},fn=function(e){var t=new Wr("mo",[new Xr(gn[e.replace(/^\\/,"")])]);return t.setAttribute("stretchy","true"),t},bn={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],overbracket:[["leftbracketover","rightbracketover"],1.6,440],underbracket:[["leftbracketunder","rightbracketunder"],1.6,410],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]},vn=new Set(["widehat","widecheck","widetilde","utilde"]),yn=function(e,t){var{span:r,minWidth:n,height:i}=function(){var r=4e5,n=e.label.slice(1);if(vn.has(n)&&"base"in e){var i,a,o,s="ordgroup"===e.base.type?e.base.body.length:1;if(s>5)"widehat"===n||"widecheck"===n?(i=420,r=2364,o=.42,a=n+"4"):(i=312,r=2340,o=.34,a="tilde4");else{var l=[1,1,2,2,3,3][s];"widehat"===n||"widecheck"===n?(r=[0,1062,2364,2364,2364][l],i=[0,239,300,360,420][l],o=[0,.24,.3,.3,.36,.42][l],a=n+l):(r=[0,600,1033,2339,2340][l],i=[0,260,286,306,312][l],o=[0,.26,.286,.3,.306,.34][l],a="tilde"+l)}var h=new nt(a),c=new rt([h],{width:"100%",height:Ge(o),viewBox:"0 0 "+r+" "+i,preserveAspectRatio:"none"});return{span:pr([],[c],t),minWidth:0,height:o}}var u=[],p=bn[n];if(!p)throw new Error('No SVG data for "'+n+'".');var m,d,[g,f,b]=p,v=b/1e3,y=g.length;if(1===y){if(4!==p.length)throw new Error('Expected 4-tuple for single-path SVG data "'+n+'".');m=["hide-tail"],d=[p[3]]}else if(2===y)m=["halfarrow-left","halfarrow-right"],d=["xMinYMin","xMaxYMin"];else{if(3!==y)throw new Error("Correct katexImagesData or update code here to support\n "+y+" children.");m=["brace-left","brace-center","brace-right"],d=["xMinYMin","xMidYMin","xMaxYMin"]}for(var x=0;x<y;x++){var w=new nt(g[x]),k=new rt([w],{width:"400em",height:Ge(v),viewBox:"0 0 "+r+" "+b,preserveAspectRatio:d[x]+" slice"}),S=pr([m[x]],[k],t);if(1===y)return{span:S,minWidth:f,height:v};S.style.height=Ge(v),u.push(S)}return{span:ur(["stretchy"],u,t),minWidth:f,height:v}}();return r.height=i,r.style.height=Ge(i),n>0&&(r.style.minWidth=Ge(n)),r},xn={bin:1,close:1,inner:1,open:1,punct:1,rel:1},wn={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1};function kn(e,t){if(!e||e.type!==t)throw new Error("Expected node of type "+t+", but got "+(e?"node of type "+e.type:String(e)));return e}function Sn(e){var t=An(e);if(!t)throw new Error("Expected node of symbol group type, but got "+(e?"node of type "+e.type:String(e)));return t}function An(e){return e&&("atom"===e.type||wn.hasOwnProperty(e.type))?e:null}var zn=e=>{return e instanceof tt?e:((t=e)instanceof Ke||t instanceof Qe||t instanceof Pe)&&1===e.children.length?zn(e.children[0]):void 0;var t},Tn=(e,t)=>{var r,n,i;e&&"supsub"===e.type?(r=(n=kn(e.base,"accent")).base,e.base=r,i=function(e){if(e instanceof Ke)return e;throw new Error("Expected span<HtmlDomNode> but got "+String(e)+".")}(Gr(e,t)),e.base=n):r=(n=kn(e,"accent")).base;var a,o,s=Gr(r,t.havingCrampedStyle()),l=0;n.isShifty&&ye(r)&&(l=null!=(a=null==(o=zn(s))?void 0:o.skew)?a:0);var h,c="\\c"===n.label,u=c?s.height+s.depth:Math.min(s.height,t.fontMetrics().xHeight);if(n.isStretchy)h=yn(n,t),h=fr({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"elem",elem:h,wrapperClasses:["svg-align"],wrapperStyle:l>0?{width:"calc(100% - "+Ge(2*l)+")",marginLeft:Ge(2*l)}:void 0}]});else{var p,m;"\\vec"===n.label?(p=wr("vec",t),m=xr.vec[1]):(p=function(e){if(e instanceof tt)return e;throw new Error("Expected symbolNode but got "+String(e)+".")}(p=sr({mode:n.mode,text:n.label},t,"textord")),p.italic=0,m=p.width,c&&(u+=p.depth)),h=ur(["accent-body"],[p]);var d="\\textcircled"===n.label;d&&(h.classes.push("accent-full"),u=s.height);var g=l;d||(g-=m/2),h.style.left=Ge(g),"\\textcircled"===n.label&&(h.style.top=".2em"),h=fr({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"kern",size:-u},{type:"elem",elem:h}]})}var f=ur(["mord","accent"],[h],t);return i?(i.children[0]=f,i.height=Math.max(f.height,i.height),i.classes[0]="mord",i):f},Mn=(e,t)=>{var r=e.isStretchy?fn(e.label):new Wr("mo",[Jr(e.label,e.mode)]),n=new Wr("mover",[sn(e.base,t),r]);return n.setAttribute("accent","true"),n},Cn=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(e=>"\\"+e).join("|"));Br({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(e,t)=>{var r=Ir(t[0]),n=!Cn.test(e.funcName),i=!n||"\\widehat"===e.funcName||"\\widetilde"===e.funcName||"\\widecheck"===e.funcName;return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:n,isShifty:i,base:r}},htmlBuilder:Tn,mathmlBuilder:Mn}),Br({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(e,t)=>{var r=t[0],n=e.parser.mode;return"math"===n&&(e.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+e.funcName+" works only in text mode"),n="text"),{type:"accent",mode:n,label:e.funcName,isStretchy:!1,isShifty:!0,base:r}},htmlBuilder:Tn,mathmlBuilder:Mn}),Br({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=t[0];return{type:"accentUnder",mode:r.mode,label:n,base:i}},htmlBuilder:(e,t)=>{var r=Gr(e.base,t),n=yn(e,t),i="\\utilde"===e.label?.12:0,a=fr({positionType:"top",positionData:r.height,children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:i},{type:"elem",elem:r}]});return ur(["mord","accentunder"],[a],t)},mathmlBuilder:(e,t)=>{var r=fn(e.label),n=new Wr("munder",[sn(e.base,t),r]);return n.setAttribute("accentunder","true"),n}});var Rn=e=>{var t=new Wr("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};function Bn(e,t){var r=Hr(e.body,t,!0);return ur([e.mclass],r,t)}function En(e,t){var r,n=an(e.body,t);return"minner"===e.mclass?r=new Wr("mpadded",n):"mord"===e.mclass?e.isCharacterBox?(r=n[0]).type="mi":r=new Wr("mi",n):(e.isCharacterBox?(r=n[0]).type="mo":r=new Wr("mo",n),"mbin"===e.mclass?(r.attributes.lspace="0.22em",r.attributes.rspace="0.22em"):"mpunct"===e.mclass?(r.attributes.lspace="0em",r.attributes.rspace="0.17em"):"mopen"===e.mclass||"mclose"===e.mclass?(r.attributes.lspace="0em",r.attributes.rspace="0em"):"minner"===e.mclass&&(r.attributes.lspace="0.0556em",r.attributes.width="+0.1111em")),r}Br({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,r){var{parser:n,funcName:i}=e;return{type:"xArrow",mode:n.mode,label:i,body:t[0],below:r[0]}},htmlBuilder(e,t){var r,n=t.style,i=t.havingStyle(n.sup()),a=gr(Gr(e.body,i,t),t),o="\\x"===e.label.slice(0,2)?"x":"cd";a.classes.push(o+"-arrow-pad"),e.below&&(i=t.havingStyle(n.sub()),(r=gr(Gr(e.below,i,t),t)).classes.push(o+"-arrow-pad"));var s,l=yn(e,t),h=-t.fontMetrics().axisHeight+.5*l.height,c=-t.fontMetrics().axisHeight-.5*l.height-.111;if((a.depth>.25||"\\xleftequilibrium"===e.label)&&(c-=a.depth),r){var u=-t.fontMetrics().axisHeight+r.height+.5*l.height+.111;s=fr({positionType:"individualShift",children:[{type:"elem",elem:a,shift:c},{type:"elem",elem:l,shift:h,wrapperClasses:["svg-align"]},{type:"elem",elem:r,shift:u}]})}else s=fr({positionType:"individualShift",children:[{type:"elem",elem:a,shift:c},{type:"elem",elem:l,shift:h,wrapperClasses:["svg-align"]}]});return ur(["mrel","x-arrow"],[s],t)},mathmlBuilder(e,t){var r,n=fn(e.label);if(n.setAttribute("minsize","x"===e.label.charAt(0)?"1.75em":"3.0em"),e.body){var i=Rn(sn(e.body,t));if(e.below){var a=Rn(sn(e.below,t));r=new Wr("munderover",[n,a,i])}else r=new Wr("mover",[n,i])}else if(e.below){var o=Rn(sn(e.below,t));r=new Wr("munder",[n,o])}else r=Rn(),r=new Wr("mover",[n,r]);return r}}),Br({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(e,t){var{parser:r,funcName:n}=e,i=t[0];return{type:"mclass",mode:r.mode,mclass:"m"+n.slice(5),body:qr(i),isCharacterBox:ye(i)}},htmlBuilder:Bn,mathmlBuilder:En});var In=e=>{var t="ordgroup"===e.type&&e.body.length?e.body[0]:e;return"atom"!==t.type||"bin"!==t.family&&"rel"!==t.family?"mord":"m"+t.family};Br({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){var{parser:r}=e;return{type:"mclass",mode:r.mode,mclass:In(t[0]),body:qr(t[1]),isCharacterBox:ye(t[1])}}}),Br({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(e,t){var r,{parser:n,funcName:i}=e,a=t[1],o=t[0];r="\\stackrel"!==i?In(a):"mrel";var s={type:"op",mode:a.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:"\\stackrel"!==i,body:qr(a)},l={type:"supsub",mode:o.mode,base:s,sup:"\\underset"===i?null:o,sub:"\\underset"===i?o:null};return{type:"mclass",mode:n.mode,mclass:r,body:[l],isCharacterBox:ye(l)}},htmlBuilder:Bn,mathmlBuilder:En}),Br({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"pmb",mode:r.mode,mclass:In(t[0]),body:qr(t[0])}},htmlBuilder(e,t){var r=Hr(e.body,t,!0),n=ur([e.mclass],r,t);return n.style.textShadow="0.02em 0.01em 0.04px",n},mathmlBuilder(e,t){var r=an(e.body,t),n=new Wr("mstyle",r);return n.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),n}});var qn={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},Nn=()=>({type:"styling",body:[],mode:"math",style:"display",resetFont:!0}),On=e=>"textord"===e.type&&"@"===e.text,Dn=(e,t)=>("mathord"===e.type||"atom"===e.type)&&e.text===t;function Ln(e,t,r){var n=qn[e];switch(n){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return r.callFunction(n,[t[0]],[t[1]]);case"\\uparrow":case"\\downarrow":var i={type:"atom",text:n,mode:"math",family:"rel"},a={type:"ordgroup",mode:"math",body:[r.callFunction("\\\\cdleft",[t[0]],[]),r.callFunction("\\Big",[i],[]),r.callFunction("\\\\cdright",[t[1]],[])]};return r.callFunction("\\\\cdparent",[a],[]);case"\\\\cdlongequal":return r.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":return r.callFunction("\\Big",[{type:"textord",text:"\\Vert",mode:"math"}],[]);default:return{type:"textord",text:" ",mode:"math"}}}Br({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e;return{type:"cdlabel",mode:r.mode,side:n.slice(4),label:t[0]}},htmlBuilder(e,t){var r=t.havingStyle(t.style.sup()),n=gr(Gr(e.label,r,t),t);return n.classes.push("cd-label-"+e.side),n.style.bottom=Ge(.8-n.depth),n.height=0,n.depth=0,n},mathmlBuilder(e,t){var r=new Wr("mrow",[sn(e.label,t)]);return(r=new Wr("mpadded",[r])).setAttribute("width","0"),"left"===e.side&&r.setAttribute("lspace","-1width"),r.setAttribute("voffset","0.7em"),(r=new Wr("mstyle",[r])).setAttribute("displaystyle","false"),r.setAttribute("scriptlevel","1"),r}}),Br({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(e,t){var{parser:r}=e;return{type:"cdlabelparent",mode:r.mode,fragment:t[0]}},htmlBuilder(e,t){var r=gr(Gr(e.fragment,t),t);return r.classes.push("cd-vert-arrow"),r},mathmlBuilder:(e,t)=>new Wr("mrow",[sn(e.fragment,t)])}),Br({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){for(var{parser:r}=e,n=kn(t[0],"ordgroup").body,i="",a=0;a<n.length;a++){i+=kn(n[a],"textord").text}var o,s=parseInt(i);if(isNaN(s))throw new ue("\\@char has non-numeric argument "+i);if(s<0||s>=1114111)throw new ue("\\@char with invalid code point "+i);return s<=65535?o=String.fromCharCode(s):(s-=65536,o=String.fromCharCode(55296+(s>>10),56320+(1023&s))),{type:"textord",mode:r.mode,text:o}}});var Hn=(e,t)=>{var r=Hr(e.body,t.withColor(e.color),!1);return dr(r)},Pn=(e,t)=>{var r=an(e.body,t.withColor(e.color)),n=new Wr("mstyle",r);return n.setAttribute("mathcolor",e.color),n};Br({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){var{parser:r}=e,n=kn(t[0],"color-token").color,i=t[1];return{type:"color",mode:r.mode,color:n,body:qr(i)}},htmlBuilder:Hn,mathmlBuilder:Pn}),Br({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){var{parser:r,breakOnTokenText:n}=e,i=kn(t[0],"color-token").color;r.gullet.macros.set("\\current@color",i);var a=r.parseExpression(!0,n);return{type:"color",mode:r.mode,color:i,body:a}},htmlBuilder:Hn,mathmlBuilder:Pn}),Br({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(e,t,r){var{parser:n}=e,i="["===n.gullet.future().text?n.parseSizeGroup(!0):null,a=!n.settings.displayMode||!n.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:n.mode,newLine:a,size:i&&kn(i,"size").value}},htmlBuilder(e,t){var r=ur(["mspace"],[],t);return e.newLine&&(r.classes.push("newline"),e.size&&(r.style.marginTop=Ge(Ue(e.size,t)))),r},mathmlBuilder(e,t){var r=new Wr("mspace");return e.newLine&&(r.setAttribute("linebreak","newline"),e.size&&r.setAttribute("height",Ge(Ue(e.size,t)))),r}});var _n={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},Fn=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new ue("Expected a control sequence",e);return t},$n=(e,t,r,n)=>{var i=e.gullet.macros.get(r.text);null==i&&(r.noexpand=!0,i={tokens:[r],numArgs:0,unexpandable:!e.gullet.isExpandable(r.text)}),e.gullet.macros.set(t,i,n)};Br({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:t,funcName:r}=e;t.consumeSpaces();var n=t.fetch();if(_n[n.text])return"\\global"!==r&&"\\\\globallong"!==r||(n.text=_n[n.text]),kn(t.parseFunction(),"internal");throw new ue("Invalid token after macro prefix",n)}}),Br({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=t.gullet.popToken(),i=n.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(i))throw new ue("Expected a control sequence",n);for(var a,o=0,s=[[]];"{"!==t.gullet.future().text;)if("#"===(n=t.gullet.popToken()).text){if("{"===t.gullet.future().text){a=t.gullet.future(),s[o].push("{");break}if(n=t.gullet.popToken(),!/^[1-9]$/.test(n.text))throw new ue('Invalid argument number "'+n.text+'"');if(parseInt(n.text)!==o+1)throw new ue('Argument number "'+n.text+'" out of order');o++,s.push([])}else{if("EOF"===n.text)throw new ue("Expected a macro definition");s[o].push(n.text)}var{tokens:l}=t.gullet.consumeArg();return a&&l.unshift(a),"\\edef"!==r&&"\\xdef"!==r||(l=t.gullet.expandTokens(l)).reverse(),t.gullet.macros.set(i,{tokens:l,numArgs:o,delimiters:s},r===_n[r]),{type:"internal",mode:t.mode}}}),Br({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=Fn(t.gullet.popToken());t.gullet.consumeSpaces();var i=(e=>{var t=e.gullet.popToken();return"="===t.text&&" "===(t=e.gullet.popToken()).text&&(t=e.gullet.popToken()),t})(t);return $n(t,n,i,"\\\\globallet"===r),{type:"internal",mode:t.mode}}}),Br({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=Fn(t.gullet.popToken()),i=t.gullet.popToken(),a=t.gullet.popToken();return $n(t,n,a,"\\\\globalfuture"===r),t.gullet.pushToken(a),t.gullet.pushToken(i),{type:"internal",mode:t.mode}}});var Un=function(e,t,r){var n=lt(ct.math[e]&&ct.math[e].replace||e,t,r);if(!n)throw new Error("Unsupported symbol "+e+" and font size "+t+".");return n},Gn=function(e,t,r,n){var i=r.havingBaseStyle(t),a=ur(n.concat(i.sizingClasses(r)),[e],r),o=i.sizeMultiplier/r.sizeMultiplier;return a.height*=o,a.depth*=o,a.maxFontSize=i.sizeMultiplier,a},Vn=function(e,t,r){var n=t.havingBaseStyle(r),i=(1-t.sizeMultiplier/n.sizeMultiplier)*t.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=Ge(i),e.height-=i,e.depth+=i},jn=function(e,t,r,n,i,a){var o=function(e,t,r,n){return ar(e,"Size"+t+"-Regular",r,n)}(e,t,i,n),s=Gn(ur(["delimsizing","size"+t],[o],n),Ie.TEXT,n,a);return r&&Vn(s,n,Ie.TEXT),s},Yn=function(e,t,r){return{type:"elem",elem:ur(["delimsizinginner","Size1-Regular"===t?"delim-size1":"delim-size4"],[ur([],[ar(e,t,r)])])}},Wn=function(e,t,r){var n=at["Size4-Regular"][e.charCodeAt(0)]?at["Size4-Regular"][e.charCodeAt(0)][4]:at["Size1-Regular"][e.charCodeAt(0)][4],i=new nt("inner",function(e,t){switch(e){case"⎜":return De("M291 0 H417 V"+t+" H291z");case"∣":return De("M145 0 H188 V"+t+" H145z");case"∥":return De("M145 0 H188 V"+t+" H145z")+De("M367 0 H410 V"+t+" H367z");case"⎟":return De("M457 0 H583 V"+t+" H457z");case"⎢":return De("M319 0 H403 V"+t+" H319z");case"⎥":return De("M263 0 H347 V"+t+" H263z");case"⎪":return De("M384 0 H504 V"+t+" H384z");case"⏐":return De("M312 0 H355 V"+t+" H312z");case"‖":return De("M257 0 H300 V"+t+" H257z")+De("M478 0 H521 V"+t+" H478z");default:return""}}(e,Math.round(1e3*t))),a=new rt([i],{width:Ge(n),height:Ge(t),style:"width:"+Ge(n),viewBox:"0 0 "+1e3*n+" "+Math.round(1e3*t),preserveAspectRatio:"xMinYMin"}),o=pr([],[a],r);return o.height=t,o.style.height=Ge(t),o.style.width=Ge(n),{type:"elem",elem:o}},Xn={type:"kern",size:-.008},Zn=new Set(["|","\\lvert","\\rvert","\\vert"]),Kn=new Set(["\\|","\\lVert","\\rVert","\\Vert"]),Qn=function(e,t,r,n,i,a){var o,s,l,h,c="",u=0;o=l=h=e,s=null;var p="Size1-Regular";"\\uparrow"===e?l=h="⏐":"\\Uparrow"===e?l=h="‖":"\\downarrow"===e?o=l="⏐":"\\Downarrow"===e?o=l="‖":"\\updownarrow"===e?(o="\\uparrow",l="⏐",h="\\downarrow"):"\\Updownarrow"===e?(o="\\Uparrow",l="‖",h="\\Downarrow"):Zn.has(e)?(l="∣",c="vert",u=333):Kn.has(e)?(l="∥",c="doublevert",u=556):"["===e||"\\lbrack"===e?(o="⎡",l="⎢",h="⎣",p="Size4-Regular",c="lbrack",u=667):"]"===e||"\\rbrack"===e?(o="⎤",l="⎥",h="⎦",p="Size4-Regular",c="rbrack",u=667):"\\lfloor"===e||"⌊"===e?(l=o="⎢",h="⎣",p="Size4-Regular",c="lfloor",u=667):"\\lceil"===e||"⌈"===e?(o="⎡",l=h="⎢",p="Size4-Regular",c="lceil",u=667):"\\rfloor"===e||"⌋"===e?(l=o="⎥",h="⎦",p="Size4-Regular",c="rfloor",u=667):"\\rceil"===e||"⌉"===e?(o="⎤",l=h="⎥",p="Size4-Regular",c="rceil",u=667):"("===e||"\\lparen"===e?(o="⎛",l="⎜",h="⎝",p="Size4-Regular",c="lparen",u=875):")"===e||"\\rparen"===e?(o="⎞",l="⎟",h="⎠",p="Size4-Regular",c="rparen",u=875):"\\{"===e||"\\lbrace"===e?(o="⎧",s="⎨",h="⎩",l="⎪",p="Size4-Regular"):"\\}"===e||"\\rbrace"===e?(o="⎫",s="⎬",h="⎭",l="⎪",p="Size4-Regular"):"\\lgroup"===e||"⟮"===e?(o="⎧",h="⎩",l="⎪",p="Size4-Regular"):"\\rgroup"===e||"⟯"===e?(o="⎫",h="⎭",l="⎪",p="Size4-Regular"):"\\lmoustache"===e||"⎰"===e?(o="⎧",h="⎭",l="⎪",p="Size4-Regular"):"\\rmoustache"!==e&&"⎱"!==e||(o="⎫",h="⎩",l="⎪",p="Size4-Regular");var m=Un(o,p,i),d=m.height+m.depth,g=Un(l,p,i),f=g.height+g.depth,b=Un(h,p,i),v=b.height+b.depth,y=0,x=1;if(null!==s){var w=Un(s,p,i);y=w.height+w.depth,x=2}var k=d+v+y,S=k+Math.max(0,Math.ceil((t-k)/(x*f)))*x*f,A=n.fontMetrics().axisHeight;r&&(A*=n.sizeMultiplier);var z=S/2-A,T=[];if(c.length>0){var M=S-d-v,C=Math.round(1e3*S),R=function(e,t){switch(e){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+" v1759 v84 h347 v-84\nH403z M403 1759 V0 H319 V1759 v"+t+" v1759 v84 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+" v1759 H0 v84 H347z\nM347 1759 V0 H263 V1759 v"+t+" v1759 h84z";case"vert":return"M145 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M188 15 H145 v585 v"+t+" v585 h43z";case"doublevert":return"M145 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M188 15 H145 v585 v"+t+" v585 h43z\nM367 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M410 15 H367 v585 v"+t+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+t+" v1715 h263 v84 H319z\nMM319 602 V0 H403 V602 v"+t+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+t+" v1799 H0 v-84 H319z\nMM319 602 V0 H403 V602 v"+t+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+" v602 h84z\nM403 1759 V0 H319 V1759 v"+t+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+" v602 h84z\nM347 1759 V0 h-84 V1759 v"+t+" v602 h84z";case"lparen":return"M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1\nc-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349,\n-36,557 l0,"+(t+84)+"c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,\n949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9\nc0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5,\n-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189\nl0,-"+(t+92)+"c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,\n-210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z";case"rparen":return"M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3,\n63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5\nc11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,"+(t+9)+"\nc-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664\nc-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11\nc0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17\nc242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558\nl0,-"+(t+144)+"c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,\n-470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z";default:throw new Error("Unknown stretchy delimiter.")}}(c,Math.round(1e3*M)),B=new nt(c,R),E=Ge(u/1e3),I=Ge(C/1e3),q=new rt([B],{width:E,height:I,viewBox:"0 0 "+u+" "+C}),N=pr([],[q],n);N.height=C/1e3,N.style.width=E,N.style.height=I,T.push({type:"elem",elem:N})}else{if(T.push(Yn(h,p,i)),T.push(Xn),null===s){var O=S-d-v+.016;T.push(Wn(l,O,n))}else{var D=(S-d-v-y)/2+.016;T.push(Wn(l,D,n)),T.push(Xn),T.push(Yn(s,p,i)),T.push(Xn),T.push(Wn(l,D,n))}T.push(Xn),T.push(Yn(o,p,i))}var L=n.havingBaseStyle(Ie.TEXT),H=fr({positionType:"bottom",positionData:z,children:T});return Gn(ur(["delimsizing","mult"],[H],L),Ie.TEXT,n,a)},Jn=.08,ei=function(e,t,r,n,i){var a=function(e,t,r){t*=1e3;var n="";switch(e){case"sqrtMain":n=function(e,t){return"M95,"+(622+e+t)+"\nc-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14\nc0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54\nc44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10\ns173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429\nc69,-144,104.5,-217.7,106.5,-221\nl"+e/2.075+" -"+e+"\nc5.3,-9.3,12,-14,20,-14\nH400000v"+(40+e)+"H845.2724\ns-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7\nc-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z\nM"+(834+e)+" "+t+"h400000v"+(40+e)+"h-400000z"}(t,Le);break;case"sqrtSize1":n=function(e,t){return"M263,"+(601+e+t)+"c0.7,0,18,39.7,52,119\nc34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120\nc340,-704.7,510.7,-1060.3,512,-1067\nl"+e/2.084+" -"+e+"\nc4.7,-7.3,11,-11,19,-11\nH40000v"+(40+e)+"H1012.3\ns-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232\nc-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1\ns-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26\nc-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z\nM"+(1001+e)+" "+t+"h400000v"+(40+e)+"h-400000z"}(t,Le);break;case"sqrtSize2":n=function(e,t){return"M983 "+(10+e+t)+"\nl"+e/3.13+" -"+e+"\nc4,-6.7,10,-10,18,-10 H400000v"+(40+e)+"\nH1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7\ns-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744\nc-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30\nc26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722\nc56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5\nc53.7,-170.3,84.5,-266.8,92.5,-289.5z\nM"+(1001+e)+" "+t+"h400000v"+(40+e)+"h-400000z"}(t,Le);break;case"sqrtSize3":n=function(e,t){return"M424,"+(2398+e+t)+"\nc-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514\nc0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20\ns-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121\ns209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081\nl"+e/4.223+" -"+e+"c4,-6.7,10,-10,18,-10 H400000\nv"+(40+e)+"H1014.6\ns-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185\nc-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2z M"+(1001+e)+" "+t+"\nh400000v"+(40+e)+"h-400000z"}(t,Le);break;case"sqrtSize4":n=function(e,t){return"M473,"+(2713+e+t)+"\nc339.3,-1799.3,509.3,-2700,510,-2702 l"+e/5.298+" -"+e+"\nc3.3,-7.3,9.3,-11,18,-11 H400000v"+(40+e)+"H1017.7\ns-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200\nc0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26\ns76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,\n606zM"+(1001+e)+" "+t+"h400000v"+(40+e)+"H1017.7z"}(t,Le);break;case"sqrtTall":n=function(e,t,r){return"M702 "+(e+t)+"H400000"+(40+e)+"\nH742v"+(r-54-t-e)+"l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1\nh-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170\nc-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667\n219 661 l218 661zM702 "+t+"H400000v"+(40+e)+"H742z"}(t,Le,r)}return n}(e,n,r),o=new nt(e,a),s=new rt([o],{width:"400em",height:Ge(t),viewBox:"0 0 400000 "+r,preserveAspectRatio:"xMinYMin slice"});return pr(["hide-tail"],[s],i)},ti=new Set(["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"]),ri=new Set(["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"]),ni=new Set(["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"]),ii=[0,1.2,1.8,2.4,3],ai=function(e,t,r,n,i){if("<"===e||"\\lt"===e||"⟨"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"⟩"!==e||(e="\\rangle"),ti.has(e)||ni.has(e))return jn(e,t,!1,r,n,i);if(ri.has(e))return Qn(e,ii[t],!1,r,n,i);throw new ue("Illegal delimiter: '"+e+"'")},oi=[{type:"small",style:Ie.SCRIPTSCRIPT},{type:"small",style:Ie.SCRIPT},{type:"small",style:Ie.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],si=[{type:"small",style:Ie.SCRIPTSCRIPT},{type:"small",style:Ie.SCRIPT},{type:"small",style:Ie.TEXT},{type:"stack"}],li=[{type:"small",style:Ie.SCRIPTSCRIPT},{type:"small",style:Ie.SCRIPT},{type:"small",style:Ie.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],hi=function(e){if("small"===e.type)return"Main-Regular";if("large"===e.type)return"Size"+e.size+"-Regular";if("stack"===e.type)return"Size4-Regular";var t=e.type;throw new Error("Add support for delim type '"+t+"' here.")},ci=function(e,t,r,n){for(var i=Math.min(2,3-n.style.size);i<r.length;i++){var a=r[i];if("stack"===a.type)break;var o=Un(e,hi(a),"math"),s=o.height+o.depth;if("small"===a.type)s*=n.havingBaseStyle(a.style).sizeMultiplier;if(s>t)return a}return r[r.length-1]},ui=function(e,t,r,n,i,a){var o;"<"===e||"\\lt"===e||"⟨"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"⟩"!==e||(e="\\rangle"),o=ni.has(e)?oi:ti.has(e)?li:si;var s=ci(e,t,o,n);return"small"===s.type?function(e,t,r,n,i,a){var o=ar(e,"Main-Regular",i,n),s=Gn(o,t,n,a);return Vn(s,n,t),s}(e,s.style,0,n,i,a):"large"===s.type?jn(e,s.size,r,n,i,a):Qn(e,t,r,n,i,a)},pi=function(e,t,r,n,i,a){var o=n.fontMetrics().axisHeight*n.sizeMultiplier,s=5/n.fontMetrics().ptPerEm,l=Math.max(t-o,r+o),h=Math.max(l/500*901,2*l-s);return ui(e,h,!0,n,i,a)},mi={"\\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}},di=new Set(["(","\\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 gi(e){return"isMiddle"in e}function fi(e,t){var r=An(e);if(r&&di.has(r.text))return r;throw new ue(r?"Invalid delimiter '"+r.text+"' after '"+t.funcName+"'":"Invalid delimiter type '"+e.type+"'",e)}function bi(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Br({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(e,t)=>{var r=fi(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:mi[e.funcName].size,mclass:mi[e.funcName].mclass,delim:r.text}},htmlBuilder:(e,t)=>"."===e.delim?ur([e.mclass]):ai(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];"."!==e.delim&&t.push(Jr(e.delim,e.mode));var r=new Wr("mo",t);"mopen"===e.mclass||"mclose"===e.mclass?r.setAttribute("fence","true"):r.setAttribute("fence","false"),r.setAttribute("stretchy","true");var n=Ge(ii[e.size]);return r.setAttribute("minsize",n),r.setAttribute("maxsize",n),r}}),Br({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=e.parser.gullet.macros.get("\\current@color");if(r&&"string"!=typeof r)throw new ue("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:fi(t[0],e).text,color:r}}}),Br({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=fi(t[0],e),n=e.parser;++n.leftrightDepth;var i=n.parseExpression(!1);--n.leftrightDepth,n.expect("\\right",!1);var a=kn(n.parseFunction(),"leftright-right");return{type:"leftright",mode:n.mode,body:i,left:r.text,right:a.delim,rightColor:a.color}},htmlBuilder:(e,t)=>{bi(e);for(var r,n,i=Hr(e.body,t,!0,["mopen","mclose"]),a=0,o=0,s=!1,l=0;l<i.length;l++){gi(i[l])?s=!0:(a=Math.max(i[l].height,a),o=Math.max(i[l].depth,o))}if(a*=t.sizeMultiplier,o*=t.sizeMultiplier,r="."===e.left?Ur(t,["mopen"]):pi(e.left,a,o,t,e.mode,["mopen"]),i.unshift(r),s)for(var h=1;h<i.length;h++){var c=i[h];if(gi(c)){var u=c.isMiddle;i[h]=pi(u.delim,a,o,u.options,e.mode,[])}}if("."===e.right)n=Ur(t,["mclose"]);else{var p=e.rightColor?t.withColor(e.rightColor):t;n=pi(e.right,a,o,p,e.mode,["mclose"])}return i.push(n),ur(["minner"],i,t)},mathmlBuilder:(e,t)=>{bi(e);var r=an(e.body,t);if("."!==e.left){var n=new Wr("mo",[Jr(e.left,e.mode)]);n.setAttribute("fence","true"),r.unshift(n)}if("."!==e.right){var i=new Wr("mo",[Jr(e.right,e.mode)]);i.setAttribute("fence","true"),e.rightColor&&i.setAttribute("mathcolor",e.rightColor),r.push(i)}return en(r)}}),Br({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=fi(t[0],e);if(!e.parser.leftrightDepth)throw new ue("\\middle without preceding \\left",r);return{type:"middle",mode:e.parser.mode,delim:r.text}},htmlBuilder:(e,t)=>{var r;return"."===e.delim?r=Ur(t,[]):(r=ai(e.delim,1,t,e.mode,[])).isMiddle={delim:e.delim,options:t},r},mathmlBuilder:(e,t)=>{var r="\\vert"===e.delim||"|"===e.delim?Jr("|","text"):Jr(e.delim,e.mode),n=new Wr("mo",[r]);return n.setAttribute("fence","true"),n.setAttribute("lspace","0.05em"),n.setAttribute("rspace","0.05em"),n}});var vi=(e,t)=>{var r,n,i,a,o=gr(Gr(e.body,t),t),s=e.label.slice(1),l=t.sizeMultiplier,h=ye(e.body);if("sout"===s)(r=ur(["stretchy","sout"])).height=t.fontMetrics().defaultRuleThickness/l,n=-.5*t.fontMetrics().xHeight;else if("phase"===s){var c=Ue({number:.6,unit:"pt"},t),u=Ue({number:.35,unit:"ex"},t);l/=t.havingBaseSizing().sizeMultiplier;var p=o.height+o.depth+c+u;o.style.paddingLeft=Ge(p/2+c);var m=Math.floor(1e3*p*l),d="M400000 "+(i=m)+" H0 L"+i/2+" 0 l65 45 L145 "+(i-80)+" H400000z",g=new rt([new nt("phase",d)],{width:"400em",height:Ge(m/1e3),viewBox:"0 0 400000 "+m,preserveAspectRatio:"xMinYMin slice"});(r=pr(["hide-tail"],[g],t)).style.height=Ge(p),n=o.depth+c+u}else{var f,b;/cancel/.test(s)?h||o.classes.push("cancel-pad"):"angl"===s?o.classes.push("anglpad"):o.classes.push("boxpad");var v=0;/box/.test(s)?(v=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),b=f=t.fontMetrics().fboxsep+("colorbox"===s?0:v)):"angl"===s?(f=4*(v=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness)),b=Math.max(0,.25-o.depth)):b=f=h?.2:0,r=function(e,t,r,n,i){var a,o=e.height+e.depth+r+n;if(/fbox|color|angl/.test(t)){if(a=ur(["stretchy",t],[],i),"fbox"===t){var s=i.color&&i.getColor();s&&(a.style.borderColor=s)}}else{var l=[];/^[bx]cancel$/.test(t)&&l.push(new it({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&l.push(new it({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var h=new rt(l,{width:"100%",height:Ge(o)});a=pr([],[h],i)}return a.height=o,a.style.height=Ge(o),a}(o,s,f,b,t),/fbox|boxed|fcolorbox/.test(s)?(r.style.borderStyle="solid",r.style.borderWidth=Ge(v)):"angl"===s&&.049!==v&&(r.style.borderTopWidth=Ge(v),r.style.borderRightWidth=Ge(v)),n=o.depth+b,e.backgroundColor&&(r.style.backgroundColor=e.backgroundColor,e.borderColor&&(r.style.borderColor=e.borderColor))}if(e.backgroundColor)a=fr({positionType:"individualShift",children:[{type:"elem",elem:r,shift:n},{type:"elem",elem:o,shift:0}]});else{var y=/cancel|phase/.test(s)?["svg-align"]:[];a=fr({positionType:"individualShift",children:[{type:"elem",elem:o,shift:0},{type:"elem",elem:r,shift:n,wrapperClasses:y}]})}return/cancel/.test(s)&&(a.height=o.height,a.depth=o.depth),/cancel/.test(s)&&!h?ur(["mord","cancel-lap"],[a],t):ur(["mord"],[a],t)},yi=(e,t)=>{var r,n=new Wr(e.label.includes("colorbox")?"mpadded":"menclose",[sn(e.body,t)]);switch(e.label){case"\\cancel":n.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":n.setAttribute("notation","downdiagonalstrike");break;case"\\phase":n.setAttribute("notation","phasorangle");break;case"\\sout":n.setAttribute("notation","horizontalstrike");break;case"\\fbox":n.setAttribute("notation","box");break;case"\\angl":n.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(r=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,n.setAttribute("width","+"+2*r+"pt"),n.setAttribute("height","+"+2*r+"pt"),n.setAttribute("lspace",r+"pt"),n.setAttribute("voffset",r+"pt"),"\\fcolorbox"===e.label){var i=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);n.setAttribute("style","border: "+Ge(i)+" solid "+e.borderColor)}break;case"\\xcancel":n.setAttribute("notation","updiagonalstrike downdiagonalstrike")}return e.backgroundColor&&n.setAttribute("mathbackground",e.backgroundColor),n};Br({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","hbox"]},handler(e,t,r){var{parser:n,funcName:i}=e,a=kn(t[0],"color-token").color,o=t[1];return{type:"enclose",mode:n.mode,label:i,backgroundColor:a,body:o}},htmlBuilder:vi,mathmlBuilder:yi}),Br({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","hbox"]},handler(e,t,r){var{parser:n,funcName:i}=e,a=kn(t[0],"color-token").color,o=kn(t[1],"color-token").color,s=t[2];return{type:"enclose",mode:n.mode,label:i,backgroundColor:o,borderColor:a,body:s}},htmlBuilder:vi,mathmlBuilder:yi}),Br({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"enclose",mode:r.mode,label:"\\fbox",body:t[0]}}}),Br({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\phase"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e,i=t[0];return{type:"enclose",mode:r.mode,label:n,body:i}},htmlBuilder:vi,mathmlBuilder:yi}),Br({type:"enclose",names:["\\sout"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r,funcName:n}=e;"math"===r.mode&&r.settings.reportNonstrict("mathVsSout","LaTeX's \\sout works only in text mode");var i=t[0];return{type:"enclose",mode:r.mode,label:n,body:i}},htmlBuilder:vi,mathmlBuilder:yi}),Br({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(e,t){var{parser:r}=e;return{type:"enclose",mode:r.mode,label:"\\angl",body:t[0]}}});var xi={};function wi(e){for(var{type:t,names:r,props:n,handler:i,htmlBuilder:a,mathmlBuilder:o}=e,s={type:t,numArgs:n.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:i},l=0;l<r.length;++l)xi[r[l]]=s;a&&(Cr[t]=a),o&&(Rr[t]=o)}var ki={};function Si(e,t){ki[e]=t}class Ai{constructor(e,t,r){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=e,this.start=t,this.end=r}static range(e,t){return t?e&&e.loc&&t.loc&&e.loc.lexer===t.loc.lexer?new Ai(e.loc.lexer,e.loc.start,t.loc.end):null:e&&e.loc}}class zi{constructor(e,t){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=e,this.loc=t}range(e,t){return new zi(t,Ai.range(this,e))}}function Ti(e){var t=[];e.consumeSpaces();var r=e.fetch().text;for("\\relax"===r&&(e.consume(),e.consumeSpaces(),r=e.fetch().text);"\\hline"===r||"\\hdashline"===r;)e.consume(),t.push("\\hdashline"===r),e.consumeSpaces(),r=e.fetch().text;return t}var Mi=e=>{if(!e.parser.settings.displayMode)throw new ue("{"+e.envName+"} can be used only in display mode.")},Ci=new Set(["gather","gather*"]);function Ri(e){if(!e.includes("ed"))return!e.includes("*")}function Bi(e,t,r){var{hskipBeforeAndAfter:n,addJot:i,cols:a,arraystretch:o,colSeparationType:s,autoTag:l,singleRow:h,emptySingleRow:c,maxNumCols:u,leqno:p}=t;if(e.gullet.beginGroup(),h||e.gullet.macros.set("\\cr","\\\\\\relax"),!o){var m=e.gullet.expandMacroAsText("\\arraystretch");if(null==m)o=1;else if(!(o=parseFloat(m))||o<0)throw new ue("Invalid \\arraystretch: "+m)}e.gullet.beginGroup();var d=[],g=[d],f=[],b=[],v=null!=l?[]:void 0;function y(){l&&e.gullet.macros.set("\\@eqnsw","1",!0)}function x(){v&&(e.gullet.macros.get("\\df@tag")?(v.push(e.subparse([new zi("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):v.push(Boolean(l)&&"1"===e.gullet.macros.get("\\@eqnsw")))}for(y(),b.push(Ti(e));;){var w=e.parseExpression(!1,h?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup();var k={type:"ordgroup",mode:e.mode,body:w};r&&(k={type:"styling",mode:e.mode,style:r,resetFont:!0,body:[k]}),d.push(k);var S=e.fetch().text;if("&"===S){if(u&&d.length===u){if(h||s)throw new ue("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else{if("\\end"===S){x(),1===d.length&&"styling"===k.type&&1===k.body.length&&"ordgroup"===k.body[0].type&&0===k.body[0].body.length&&(g.length>1||!c)&&g.pop(),b.length<g.length+1&&b.push([]);break}if("\\\\"!==S)throw new ue("Expected & or \\\\ or \\cr or \\end",e.nextToken);e.consume();var A=void 0;" "!==e.gullet.future().text&&(A=e.parseSizeGroup(!0)),f.push(A?A.value:null),x(),b.push(Ti(e)),d=[],g.push(d),y()}}return e.gullet.endGroup(),e.gullet.endGroup(),{type:"array",mode:e.mode,addJot:i,arraystretch:o,body:g,cols:a,rowGaps:f,hskipBeforeAndAfter:n,hLinesBeforeRow:b,colSeparationType:s,tags:v,leqno:p}}function Ei(e){return"d"===e.slice(0,1)?"display":"text"}var Ii=function(e,t){var r,n,i=e.body.length,a=e.hLinesBeforeRow,o=0,s=new Array(i),l=[],h=Math.max(t.fontMetrics().arrayRuleWidth,t.minRuleThickness),c=1/t.fontMetrics().ptPerEm,u=5*c;e.colSeparationType&&"small"===e.colSeparationType&&(u=t.havingStyle(Ie.SCRIPT).sizeMultiplier/t.sizeMultiplier*.2778);var p="CD"===e.colSeparationType?Ue({number:3,unit:"ex"},t):12*c,m=3*c,d=e.arraystretch*p,g=.7*d,f=.3*d,b=0;function v(e){for(var t=0;t<e.length;++t)t>0&&(b+=.25),l.push({pos:b,isDashed:e[t]})}for(v(a[0]),r=0;r<e.body.length;++r){var y=e.body[r],x=g,w=f;o<y.length&&(o=y.length);var k={cells:new Array(y.length),height:0,depth:0,pos:0};for(n=0;n<y.length;++n){var S=Gr(y[n],t);w<S.depth&&(w=S.depth),x<S.height&&(x=S.height),k.cells[n]=S}var A=e.rowGaps[r],z=0;A&&(z=Ue(A,t))>0&&(w<(z+=f)&&(w=z),z=0),e.addJot&&r<e.body.length-1&&(w+=m),k.height=x,k.depth=w,b+=x,k.pos=b,b+=w+z,s[r]=k,v(a[r+1])}var T,M,C=b/2+t.fontMetrics().axisHeight,R=e.cols||[],B=[],E=[];if(e.tags&&e.tags.some(e=>e))for(r=0;r<i;++r){var I=s[r],q=I.pos-C,N=e.tags[r],O=void 0;(O=!0===N?ur(["eqn-num"],[],t):ur([],!1===N?[]:Hr(N,t,!0),t)).depth=I.depth,O.height=I.height,E.push({type:"elem",elem:O,shift:q})}for(n=0,M=0;n<o||M<R.length;++n,++M){for(var D,L=R[M],H=!0;"separator"===(null==(P=L)?void 0:P.type);){var P;if(H||((T=ur(["arraycolsep"],[])).style.width=Ge(t.fontMetrics().doubleRuleSep),B.push(T)),"|"!==L.separator&&":"!==L.separator)throw new ue("Invalid separator type: "+L.separator);var _="|"===L.separator?"solid":"dashed",F=ur(["vertical-separator"],[],t);F.style.height=Ge(b),F.style.borderRightWidth=Ge(h),F.style.borderRightStyle=_,F.style.margin="0 "+Ge(-h/2);var $=b-C;$&&(F.style.verticalAlign=Ge(-$)),B.push(F),L=R[++M],H=!1}if(!(n>=o)){var U,G,V=void 0;if(n>0||e.hskipBeforeAndAfter)0!==(V=null!=(U=null==(G=L)?void 0:G.pregap)?U:u)&&((T=ur(["arraycolsep"],[])).style.width=Ge(V),B.push(T));var j=[];for(r=0;r<i;++r){var Y=s[r],W=Y.cells[n];if(W){var X=Y.pos-C;W.depth=Y.depth,W.height=Y.height,j.push({type:"elem",elem:W,shift:X})}}var Z,K,Q=fr({positionType:"individualShift",children:j}),J=ur(["col-align-"+((null==(D=L)?void 0:D.align)||"c")],[Q]);if(B.push(J),n<o-1||e.hskipBeforeAndAfter)0!==(V=null!=(Z=null==(K=L)?void 0:K.postgap)?Z:u)&&((T=ur(["arraycolsep"],[])).style.width=Ge(V),B.push(T))}}var ee=ur(["mtable"],B);if(l.length>0){for(var te=mr("hline",t,h),re=mr("hdashline",t,h),ne=[{type:"elem",elem:ee,shift:0}];l.length>0;){var ie=l.pop(),ae=ie.pos-C;ie.isDashed?ne.push({type:"elem",elem:re,shift:ae}):ne.push({type:"elem",elem:te,shift:ae})}ee=fr({positionType:"individualShift",children:ne})}if(0===E.length)return ur(["mord"],[ee],t);var oe=fr({positionType:"individualShift",children:E}),se=ur(["tag"],[oe],t);return dr([ee,se])},qi={c:"center ",l:"left ",r:"right "},Ni=function(e,t){for(var r=[],n=new Wr("mtd",[],["mtr-glue"]),i=new Wr("mtd",[],["mml-eqn-num"]),a=0;a<e.body.length;a++){for(var o=e.body[a],s=[],l=0;l<o.length;l++)s.push(new Wr("mtd",[sn(o[l],t)]));e.tags&&e.tags[a]&&(s.unshift(n),s.push(n),e.leqno?s.unshift(i):s.push(i)),r.push(new Wr("mtr",s))}var h=new Wr("mtable",r),c=.5===e.arraystretch?.1:.16+e.arraystretch-1+(e.addJot?.09:0);h.setAttribute("rowspacing",Ge(c));var u="",p="";if(e.cols&&e.cols.length>0){var m=e.cols,d="",g=!1,f=0,b=m.length;"separator"===m[0].type&&(u+="top ",f=1),"separator"===m[m.length-1].type&&(u+="bottom ",b-=1);for(var v=f;v<b;v++){var y=m[v];"align"===y.type?(p+=qi[y.align],g&&(d+="none "),g=!0):"separator"===y.type&&g&&(d+="|"===y.separator?"solid ":"dashed ",g=!1)}h.setAttribute("columnalign",p.trim()),/[sd]/.test(d)&&h.setAttribute("columnlines",d.trim())}if("align"===e.colSeparationType){for(var x=e.cols||[],w="",k=1;k<x.length;k++)w+=k%2?"0em ":"1em ";h.setAttribute("columnspacing",w.trim())}else"alignat"===e.colSeparationType||"gather"===e.colSeparationType?h.setAttribute("columnspacing","0em"):"small"===e.colSeparationType?h.setAttribute("columnspacing","0.2778em"):"CD"===e.colSeparationType?h.setAttribute("columnspacing","0.5em"):h.setAttribute("columnspacing","1em");var S="",A=e.hLinesBeforeRow;u+=A[0].length>0?"left ":"",u+=A[A.length-1].length>0?"right ":"";for(var z=1;z<A.length-1;z++)S+=0===A[z].length?"none ":A[z][0]?"dashed ":"solid ";return/[sd]/.test(S)&&h.setAttribute("rowlines",S.trim()),""!==u&&(h=new Wr("menclose",[h])).setAttribute("notation",u.trim()),e.arraystretch&&e.arraystretch<1&&(h=new Wr("mstyle",[h])).setAttribute("scriptlevel","1"),h},Oi=function(e,t){e.envName.includes("ed")||Mi(e);var r=[],n=e.envName.includes("at")?"alignat":"align",i="split"===e.envName,a=Bi(e.parser,{cols:r,addJot:!0,autoTag:i?void 0:Ri(e.envName),emptySingleRow:!0,colSeparationType:n,maxNumCols:i?2:void 0,leqno:e.parser.settings.leqno},"display"),o=0,s=0,l={type:"ordgroup",mode:e.mode,body:[]};if(t[0]&&"ordgroup"===t[0].type){for(var h="",c=0;c<t[0].body.length;c++){h+=kn(t[0].body[c],"textord").text}o=Number(h),s=2*o}var u=!s;a.body.forEach(function(e){for(var t=1;t<e.length;t+=2){var r=kn(e[t],"styling");kn(r.body[0],"ordgroup").body.unshift(l)}if(u)s<e.length&&(s=e.length);else{var n=e.length/2;if(o<n)throw new ue("Too many math in a row: expected "+o+", but got "+n,e[0])}});for(var p=0;p<s;++p){var m="r",d=0;p%2==1?m="l":p>0&&u&&(d=1),r[p]={type:"align",align:m,pregap:d,postgap:0}}return a.colSeparationType=u?"align":"alignat",a};wi({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){var r=(An(t[0])?[t[0]]:kn(t[0],"ordgroup").body).map(function(e){var t=Sn(e).text;if("lcr".includes(t))return{type:"align",align:t};if("|"===t)return{type:"separator",separator:"|"};if(":"===t)return{type:"separator",separator:":"};throw new ue("Unknown column alignment: "+t,e)}),n={cols:r,hskipBeforeAndAfter:!0,maxNumCols:r.length};return Bi(e.parser,n,Ei(e.envName))},htmlBuilder:Ii,mathmlBuilder:Ni}),wi({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(e){var t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName.replace("*","")],r="c",n={hskipBeforeAndAfter:!1,cols:[{type:"align",align:r}]};if("*"===e.envName.charAt(e.envName.length-1)){var i=e.parser;if(i.consumeSpaces(),"["===i.fetch().text){if(i.consume(),i.consumeSpaces(),r=i.fetch().text,!"lcr".includes(r))throw new ue("Expected l or c or r",i.nextToken);i.consume(),i.consumeSpaces(),i.expect("]"),i.consume(),n.cols=[{type:"align",align:r}]}}var a=Bi(e.parser,n,Ei(e.envName)),o=Math.max(0,...a.body.map(e=>e.length));return a.cols=new Array(o).fill({type:"align",align:r}),t?{type:"leftright",mode:e.mode,body:[a],left:t[0],right:t[1],rightColor:void 0}:a},htmlBuilder:Ii,mathmlBuilder:Ni}),wi({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var t=Bi(e.parser,{arraystretch:.5},"script");return t.colSeparationType="small",t},htmlBuilder:Ii,mathmlBuilder:Ni}),wi({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){var r=(An(t[0])?[t[0]]:kn(t[0],"ordgroup").body).map(function(e){var t=Sn(e).text;if("lc".includes(t))return{type:"align",align:t};throw new ue("Unknown column alignment: "+t,e)});if(r.length>1)throw new ue("{subarray} can contain only one column");var n={cols:r,hskipBeforeAndAfter:!1,arraystretch:.5},i=Bi(e.parser,n,"script");if(i.body.length>0&&i.body[0].length>1)throw new ue("{subarray} can contain only one column");return i},htmlBuilder:Ii,mathmlBuilder:Ni}),wi({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(e){var t=Bi(e.parser,{arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},Ei(e.envName));return{type:"leftright",mode:e.mode,body:[t],left:e.envName.includes("r")?".":"\\{",right:e.envName.includes("r")?"\\}":".",rightColor:void 0}},htmlBuilder:Ii,mathmlBuilder:Ni}),wi({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:Oi,htmlBuilder:Ii,mathmlBuilder:Ni}),wi({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){Ci.has(e.envName)&&Mi(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:Ri(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return Bi(e.parser,t,"display")},htmlBuilder:Ii,mathmlBuilder:Ni}),wi({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:Oi,htmlBuilder:Ii,mathmlBuilder:Ni}),wi({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){Mi(e);var t={autoTag:Ri(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return Bi(e.parser,t,"display")},htmlBuilder:Ii,mathmlBuilder:Ni}),wi({type:"array",names:["CD"],props:{numArgs:0},handler:e=>(Mi(e),function(e){var t=[];for(e.gullet.beginGroup(),e.gullet.macros.set("\\cr","\\\\\\relax"),e.gullet.beginGroup();;){t.push(e.parseExpression(!1,"\\\\")),e.gullet.endGroup(),e.gullet.beginGroup();var r=e.fetch().text;if("&"!==r&&"\\\\"!==r){if("\\end"===r){0===t[t.length-1].length&&t.pop();break}throw new ue("Expected \\\\ or \\cr or \\end",e.nextToken)}e.consume()}for(var n=[],i=[n],a=0;a<t.length;a++){for(var o=t[a],s=Nn(),l=0;l<o.length;l++)if(On(o[l])){n.push(s);var h=Sn(o[l+=1]).text,c=new Array(2);if(c[0]={type:"ordgroup",mode:"math",body:[]},c[1]={type:"ordgroup",mode:"math",body:[]},"=|.".includes(h));else{if(!"<>AV".includes(h))throw new ue('Expected one of "<>AV=|." after @',o[l]);for(var u=0;u<2;u++){for(var p=!0,m=l+1;m<o.length;m++){if(Dn(o[m],h)){p=!1,l=m;break}if(On(o[m]))throw new ue("Missing a "+h+" character to complete a CD arrow.",o[m]);c[u].body.push(o[m])}if(p)throw new ue("Missing a "+h+" character to complete a CD arrow.",o[l])}}var d={type:"styling",body:[Ln(h,c,e)],mode:"math",style:"display",resetFont:!0};n.push(d),s=Nn()}else s.body.push(o[l]);a%2==0?n.push(s):n.shift(),n=[],i.push(n)}return e.gullet.endGroup(),e.gullet.endGroup(),{type:"array",mode:"math",body:i,arraystretch:1,addJot:!0,rowGaps:[null],cols:new Array(i[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25}),colSeparationType:"CD",hLinesBeforeRow:new Array(i.length+1).fill([])}}(e.parser)),htmlBuilder:Ii,mathmlBuilder:Ni}),Si("\\nonumber","\\gdef\\@eqnsw{0}"),Si("\\notag","\\nonumber"),Br({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,t){throw new ue(e.funcName+" valid only within array environment")}});var Di=xi;Br({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(e,t){var{parser:r,funcName:n}=e,i=t[0];if("ordgroup"!==i.type)throw new ue("Invalid environment name",i);for(var a="",o=0;o<i.body.length;++o)a+=kn(i.body[o],"textord").text;if("\\begin"===n){if(!Di.hasOwnProperty(a))throw new ue("No such environment: "+a,i);var s=Di[a],{args:l,optArgs:h}=r.parseArguments("\\begin{"+a+"}",s),c={mode:r.mode,envName:a,parser:r},u=s.handler(c,l,h);r.expect("\\end",!1);var p=r.nextToken,m=kn(r.parseFunction(),"environment");if(m.name!==a)throw new ue("Mismatch: \\begin{"+a+"} matched by \\end{"+m.name+"}",p);return u}return{type:"environment",mode:r.mode,name:a,nameGroup:i}}});var Li=(e,t)=>{var r=e.font,n=t.withFont(r);return Gr(e.body,n)},Hi=(e,t)=>{var r=e.font,n=t.withFont(r);return sn(e.body,n)},Pi={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak"};Br({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathsfit","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=Ir(t[0]),a=n;return a in Pi&&(a=Pi[a]),{type:"font",mode:r.mode,font:a.slice(1),body:i}},htmlBuilder:Li,mathmlBuilder:Hi}),Br({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"mclass",mode:r.mode,mclass:In(n),body:[{type:"font",mode:r.mode,font:"boldsymbol",body:n}],isCharacterBox:ye(n)}}}),Br({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n,breakOnTokenText:i}=e,{mode:a}=r,o=r.parseExpression(!0,i);return{type:"font",mode:a,font:"math"+n.slice(1),body:{type:"ordgroup",mode:r.mode,body:o}}},htmlBuilder:Li,mathmlBuilder:Hi});var _i=(e,t)=>t?{type:"styling",mode:e.mode,style:t,body:[e]}:e;Br({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(e,t)=>{var r,{parser:n,funcName:i}=e,a=t[0],o=t[1],s=null,l=null;switch(i){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":r=!0;break;case"\\\\atopfrac":r=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":r=!1,s="(",l=")";break;case"\\\\bracefrac":r=!1,s="\\{",l="\\}";break;case"\\\\brackfrac":r=!1,s="[",l="]";break;default:throw new Error("Unrecognized genfrac command")}var h="\\cfrac"===i,c=null;return h||i.startsWith("\\d")?c="display":i.startsWith("\\t")&&(c="text"),_i({type:"genfrac",mode:n.mode,numer:a,denom:o,continued:h,hasBarLine:r,leftDelim:s,rightDelim:l,barSize:null},c)},htmlBuilder:(e,t)=>{var r,n=t.style,i=n.fracNum(),a=n.fracDen();r=t.havingStyle(i);var o=Gr(e.numer,r,t);if(e.continued){var s=8.5/t.fontMetrics().ptPerEm,l=3.5/t.fontMetrics().ptPerEm;o.height=o.height<s?s:o.height,o.depth=o.depth<l?l:o.depth}r=t.havingStyle(a);var h,c,u,p,m,d,g,f,b,v,y=Gr(e.denom,r,t);if(e.hasBarLine?(e.barSize?(c=Ue(e.barSize,t),h=mr("frac-line",t,c)):h=mr("frac-line",t),c=h.height,u=h.height):(h=null,c=0,u=t.fontMetrics().defaultRuleThickness),n.size===Ie.DISPLAY.size?(p=t.fontMetrics().num1,m=c>0?3*u:7*u,d=t.fontMetrics().denom1):(c>0?(p=t.fontMetrics().num2,m=u):(p=t.fontMetrics().num3,m=3*u),d=t.fontMetrics().denom2),h){var x=t.fontMetrics().axisHeight;p-o.depth-(x+.5*c)<m&&(p+=m-(p-o.depth-(x+.5*c))),x-.5*c-(y.height-d)<m&&(d+=m-(x-.5*c-(y.height-d))),g=fr({positionType:"individualShift",children:[{type:"elem",elem:y,shift:d},{type:"elem",elem:h,shift:-(x-.5*c)},{type:"elem",elem:o,shift:-p}]})}else{var w=p-o.depth-(y.height-d);w<m&&(p+=.5*(m-w),d+=.5*(m-w)),g=fr({positionType:"individualShift",children:[{type:"elem",elem:y,shift:d},{type:"elem",elem:o,shift:-p}]})}return r=t.havingStyle(n),g.height*=r.sizeMultiplier/t.sizeMultiplier,g.depth*=r.sizeMultiplier/t.sizeMultiplier,f=n.size===Ie.DISPLAY.size?t.fontMetrics().delim1:n.size===Ie.SCRIPTSCRIPT.size?t.havingStyle(Ie.SCRIPT).fontMetrics().delim2:t.fontMetrics().delim2,b=null==e.leftDelim?Ur(t,["mopen"]):ui(e.leftDelim,f,!0,t.havingStyle(n),e.mode,["mopen"]),v=e.continued?ur([]):null==e.rightDelim?Ur(t,["mclose"]):ui(e.rightDelim,f,!0,t.havingStyle(n),e.mode,["mclose"]),ur(["mord"].concat(r.sizingClasses(t)),[b,ur(["mfrac"],[g]),v],t)},mathmlBuilder:(e,t)=>{var r=new Wr("mfrac",[sn(e.numer,t),sn(e.denom,t)]);if(e.hasBarLine){if(e.barSize){var n=Ue(e.barSize,t);r.setAttribute("linethickness",Ge(n))}}else r.setAttribute("linethickness","0px");if(null!=e.leftDelim||null!=e.rightDelim){var i=[];if(null!=e.leftDelim){var a=new Wr("mo",[new Xr(e.leftDelim.replace("\\",""))]);a.setAttribute("fence","true"),i.push(a)}if(i.push(r),null!=e.rightDelim){var o=new Wr("mo",[new Xr(e.rightDelim.replace("\\",""))]);o.setAttribute("fence","true"),i.push(o)}return en(i)}return r}}),Br({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(e){var t,{parser:r,funcName:n,token:i}=e;switch(n){case"\\over":t="\\frac";break;case"\\choose":t="\\binom";break;case"\\atop":t="\\\\atopfrac";break;case"\\brace":t="\\\\bracefrac";break;case"\\brack":t="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:r.mode,replaceWith:t,token:i}}});var Fi=["display","text","script","scriptscript"],$i=function(e){var t=null;return e.length>0&&(t="."===(t=e)?null:t),t};Br({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(e,t){var r,{parser:n}=e,i=t[4],a=t[5],o=Ir(t[0]),s="atom"===o.type&&"open"===o.family?$i(o.text):null,l=Ir(t[1]),h="atom"===l.type&&"close"===l.family?$i(l.text):null,c=kn(t[2],"size"),u=null;r=!!c.isBlank||(u=c.value).number>0;var p=null,m=t[3];if("ordgroup"===m.type){if(m.body.length>0){var d=kn(m.body[0],"textord");p=Fi[Number(d.text)]}}else m=kn(m,"textord"),p=Fi[Number(m.text)];return _i({type:"genfrac",mode:n.mode,numer:i,denom:a,continued:!1,hasBarLine:r,barSize:u,leftDelim:s,rightDelim:h},p)}}),Br({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(e,t){var{parser:r,funcName:n,token:i}=e;return{type:"infix",mode:r.mode,replaceWith:"\\\\abovefrac",size:kn(t[0],"size").value,token:i}}}),Br({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=t[0],a=kn(t[1],"infix").size;if(!a)throw new Error("\\\\abovefrac expected size, but got "+String(a));var o=t[2],s=a.number>0;return{type:"genfrac",mode:r.mode,numer:i,denom:o,continued:!1,hasBarLine:s,barSize:a,leftDelim:null,rightDelim:null}}});var Ui=(e,t)=>{var r,n,i=t.style;"supsub"===e.type?(r=e.sup?Gr(e.sup,t.havingStyle(i.sup()),t):Gr(e.sub,t.havingStyle(i.sub()),t),n=kn(e.base,"horizBrace")):n=kn(e,"horizBrace");var a,o=Gr(n.base,t.havingBaseStyle(Ie.DISPLAY)),s=yn(n,t);if(a=n.isOver?fr({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"kern",size:.1},{type:"elem",elem:s,wrapperClasses:["svg-align"]}]}):fr({positionType:"bottom",positionData:o.depth+.1+s.height,children:[{type:"elem",elem:s,wrapperClasses:["svg-align"]},{type:"kern",size:.1},{type:"elem",elem:o}]}),r){var l=ur(["minner",n.isOver?"mover":"munder"],[a],t);a=n.isOver?fr({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:.2},{type:"elem",elem:r}]}):fr({positionType:"bottom",positionData:l.depth+.2+r.height+r.depth,children:[{type:"elem",elem:r},{type:"kern",size:.2},{type:"elem",elem:l}]})}return ur(["minner",n.isOver?"mover":"munder"],[a],t)};Br({type:"horizBrace",names:["\\overbrace","\\underbrace","\\overbracket","\\underbracket"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e;return{type:"horizBrace",mode:r.mode,label:n,isOver:n.includes("\\over"),base:t[0]}},htmlBuilder:Ui,mathmlBuilder:(e,t)=>{var r=fn(e.label);return new Wr(e.isOver?"mover":"munder",[sn(e.base,t),r])}}),Br({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[1],i=kn(t[0],"url").url;return r.settings.isTrusted({command:"\\href",url:i})?{type:"href",mode:r.mode,href:i,body:qr(n)}:r.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{var r=Hr(e.body,t,!1);return function(e,t,r,n){var i=new Qe(e,t,r,n);return cr(i),i}(e.href,[],r,t)},mathmlBuilder:(e,t)=>{var r=on(e.body,t);return r instanceof Wr||(r=new Wr("mrow",[r])),r.setAttribute("href",e.href),r}}),Br({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=kn(t[0],"url").url;if(!r.settings.isTrusted({command:"\\url",url:n}))return r.formatUnsupportedCmd("\\url");for(var i=[],a=0;a<n.length;a++){var o=n[a];"~"===o&&(o="\\textasciitilde"),i.push({type:"textord",mode:"text",text:o})}var s={type:"text",mode:r.mode,font:"\\texttt",body:i};return{type:"href",mode:r.mode,href:n,body:qr(s)}}}),Br({type:"hbox",names:["\\hbox"],props:{numArgs:1,argTypes:["text"],allowedInText:!0,primitive:!0},handler(e,t){var{parser:r}=e;return{type:"hbox",mode:r.mode,body:qr(t[0])}},htmlBuilder(e,t){var r=Hr(e.body,t.withFont(""),!1);return dr(r)},mathmlBuilder:(e,t)=>new Wr("mrow",an(e.body,t.withFont("")))}),Br({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(e,t)=>{var r,{parser:n,funcName:i,token:a}=e,o=kn(t[0],"raw").string,s=t[1];n.settings.strict&&n.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var l={};switch(i){case"\\htmlClass":l.class=o,r={command:"\\htmlClass",class:o};break;case"\\htmlId":l.id=o,r={command:"\\htmlId",id:o};break;case"\\htmlStyle":l.style=o,r={command:"\\htmlStyle",style:o};break;case"\\htmlData":for(var h=o.split(","),c=0;c<h.length;c++){var u=h[c],p=u.indexOf("=");if(p<0)throw new ue("\\htmlData key/value '"+u+"' missing equals sign");var m=u.slice(0,p),d=u.slice(p+1);l["data-"+m.trim()]=d}r={command:"\\htmlData",attributes:l};break;default:throw new Error("Unrecognized html command")}return n.settings.isTrusted(r)?{type:"html",mode:n.mode,attributes:l,body:qr(s)}:n.formatUnsupportedCmd(i)},htmlBuilder:(e,t)=>{var r=Hr(e.body,t,!1),n=["enclosing"];e.attributes.class&&n.push(...e.attributes.class.trim().split(/\s+/));var i=ur(n,r,t);for(var a in e.attributes)"class"!==a&&e.attributes.hasOwnProperty(a)&&i.setAttribute(a,e.attributes[a]);return i},mathmlBuilder:(e,t)=>on(e.body,t)}),Br({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInArgument:!0,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"htmlmathml",mode:r.mode,html:qr(t[0]),mathml:qr(t[1])}},htmlBuilder:(e,t)=>{var r=Hr(e.html,t,!1);return dr(r)},mathmlBuilder:(e,t)=>on(e.mathml,t)});var Gi=function(e){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(e))return{number:+e,unit:"bp"};var t=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(e);if(!t)throw new ue("Invalid size: '"+e+"' in \\includegraphics");var r={number:+(t[1]+t[2]),unit:t[3]};if(!$e(r))throw new ue("Invalid unit: '"+r.unit+"' in \\includegraphics.");return r};Br({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(e,t,r)=>{var{parser:n}=e,i={number:0,unit:"em"},a={number:.9,unit:"em"},o={number:0,unit:"em"},s="";if(r[0])for(var l=kn(r[0],"raw").string.split(","),h=0;h<l.length;h++){var c=l[h].split("=");if(2===c.length){var u=c[1].trim();switch(c[0].trim()){case"alt":s=u;break;case"width":i=Gi(u);break;case"height":a=Gi(u);break;case"totalheight":o=Gi(u);break;default:throw new ue("Invalid key: '"+c[0]+"' in \\includegraphics.")}}}var p=kn(t[0],"url").url;return""===s&&(s=(s=(s=p).replace(/^.*[\\/]/,"")).substring(0,s.lastIndexOf("."))),n.settings.isTrusted({command:"\\includegraphics",url:p})?{type:"includegraphics",mode:n.mode,alt:s,width:i,height:a,totalheight:o,src:p}:n.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(e,t)=>{var r=Ue(e.height,t),n=0;e.totalheight.number>0&&(n=Ue(e.totalheight,t)-r);var i=0;e.width.number>0&&(i=Ue(e.width,t));var a={height:Ge(r+n)};i>0&&(a.width=Ge(i)),n>0&&(a.verticalAlign=Ge(-n));var o=new Je(e.src,e.alt,a);return o.height=r,o.depth=n,o},mathmlBuilder:(e,t)=>{var r=new Wr("mglyph",[]);r.setAttribute("alt",e.alt);var n=Ue(e.height,t),i=0;if(e.totalheight.number>0&&(i=Ue(e.totalheight,t)-n,r.setAttribute("valign",Ge(-i))),r.setAttribute("height",Ge(n+i)),e.width.number>0){var a=Ue(e.width,t);r.setAttribute("width",Ge(a))}return r.setAttribute("src",e.src),r}}),Br({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(e,t){var{parser:r,funcName:n}=e,i=kn(t[0],"size");if(r.settings.strict){var a="m"===n[1],o="mu"===i.value.unit;a?(o||r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" supports only mu units, not "+i.value.unit+" units"),"math"!==r.mode&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" works only in math mode")):o&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" doesn't support mu units")}return{type:"kern",mode:r.mode,dimension:i.value}},htmlBuilder:(e,t)=>br(e.dimension,t),mathmlBuilder(e,t){var r=Ue(e.dimension,t);return new Zr(r)}}),Br({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=t[0];return{type:"lap",mode:r.mode,alignment:n.slice(5),body:i}},htmlBuilder:(e,t)=>{var r;"clap"===e.alignment?(r=ur([],[Gr(e.body,t)]),r=ur(["inner"],[r],t)):r=ur(["inner"],[Gr(e.body,t)]);var n=ur(["fix"],[]),i=ur([e.alignment],[r,n],t),a=ur(["strut"]);return a.style.height=Ge(i.height+i.depth),i.depth&&(a.style.verticalAlign=Ge(-i.depth)),i.children.unshift(a),i=ur(["thinbox"],[i],t),ur(["mord","vbox"],[i],t)},mathmlBuilder:(e,t)=>{var r=new Wr("mpadded",[sn(e.body,t)]);if("rlap"!==e.alignment){var n="llap"===e.alignment?"-1":"-0.5";r.setAttribute("lspace",n+"width")}return r.setAttribute("width","0px"),r}}),Br({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){var{funcName:r,parser:n}=e,i=n.mode;n.switchMode("math");var a="\\("===r?"\\)":"$",o=n.parseExpression(!1,a);return n.expect(a),n.switchMode(i),{type:"styling",mode:n.mode,style:"text",resetFont:!0,body:o}}}),Br({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new ue("Mismatched "+e.funcName)}});var Vi=(e,t)=>{switch(t.style.size){case Ie.DISPLAY.size:return e.display;case Ie.TEXT.size:return e.text;case Ie.SCRIPT.size:return e.script;case Ie.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};Br({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"mathchoice",mode:r.mode,display:qr(t[0]),text:qr(t[1]),script:qr(t[2]),scriptscript:qr(t[3])}},htmlBuilder:(e,t)=>{var r=Vi(e,t),n=Hr(r,t,!1);return dr(n)},mathmlBuilder:(e,t)=>{var r=Vi(e,t);return on(r,t)}});var ji=(e,t,r,n,i,a,o)=>{e=ur([],[e]);var s,l,h,c=r&&ye(r);if(t){var u=Gr(t,n.havingStyle(i.sup()),n);l={elem:u,kern:Math.max(n.fontMetrics().bigOpSpacing1,n.fontMetrics().bigOpSpacing3-u.depth)}}if(r){var p=Gr(r,n.havingStyle(i.sub()),n);s={elem:p,kern:Math.max(n.fontMetrics().bigOpSpacing2,n.fontMetrics().bigOpSpacing4-p.height)}}if(l&&s){var m=n.fontMetrics().bigOpSpacing5+s.elem.height+s.elem.depth+s.kern+e.depth+o;h=fr({positionType:"bottom",positionData:m,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:s.elem,marginLeft:Ge(-a)},{type:"kern",size:s.kern},{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:Ge(a)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]})}else if(s){var d=e.height-o;h=fr({positionType:"top",positionData:d,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:s.elem,marginLeft:Ge(-a)},{type:"kern",size:s.kern},{type:"elem",elem:e}]})}else{if(!l)return e;var g=e.depth+o;h=fr({positionType:"bottom",positionData:g,children:[{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:Ge(a)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]})}var f=[h];if(s&&0!==a&&!c){var b=ur(["mspace"],[],n);b.style.marginRight=Ge(a),f.unshift(b)}return ur(["mop","op-limits"],f,n)},Yi=new Set(["\\smallint"]),Wi=(e,t)=>{var r,n,i,a=!1;"supsub"===e.type?(r=e.sup,n=e.sub,i=kn(e.base,"op"),a=!0):i=kn(e,"op");var o,s,l=t.style,h=!1;if(l.size===Ie.DISPLAY.size&&i.symbol&&!Yi.has(i.name)&&(h=!0),i.symbol){var c=h?"Size2-Regular":"Size1-Regular",u="";if("\\oiint"!==i.name&&"\\oiiint"!==i.name||(u=i.name.slice(1),i.name="oiint"===u?"\\iint":"\\iiint"),s=(o=ar(i.name,c,"math",t,["mop","op-symbol",h?"large-op":"small-op"])).italic,u.length>0){var p=wr(u+"Size"+(h?"2":"1"),t);o=fr({positionType:"individualShift",children:[{type:"elem",elem:o,shift:0},{type:"elem",elem:p,shift:h?.08:0}]}),i.name="\\"+u,o.classes.unshift("mop"),o.italic=s}}else if(i.body){var m=Hr(i.body,t,!0);1===m.length&&m[0]instanceof tt?(o=m[0]).classes[0]="mop":o=ur(["mop"],m,t)}else{for(var d=[],g=1;g<i.name.length;g++)d.push(or(i.name[g],i.mode,t));o=ur(["mop"],d,t)}var f,b=0,v=0;(o instanceof tt||"\\oiint"===i.name||"\\oiiint"===i.name)&&!i.suppressBaseShift&&(b=(o.height-o.depth)/2-t.fontMetrics().axisHeight,v=null!=(f=o.italic)?f:0);return a?ji(o,r,n,t,l,v,b):(b&&(o.style.position="relative",o.style.top=Ge(b)),o)},Xi=(e,t)=>{var r;if(e.symbol)r=new Wr("mo",[Jr(e.name,e.mode)]),Yi.has(e.name)&&r.setAttribute("largeop","false");else if(e.body)r=new Wr("mo",an(e.body,t));else{r=new Wr("mi",[new Xr(e.name.slice(1))]);var n=new Wr("mo",[Jr("","text")]);r=e.parentIsSupSub?new Wr("mrow",[r,n]):Yr([r,n])}return r},Zi={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};Br({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","⋁","⋂","⋃","⨀","⨁","⨂","⨄","⨆"],props:{numArgs:0},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=n;return 1===i.length&&(i=Zi[i]),{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:i}},htmlBuilder:Wi,mathmlBuilder:Xi}),Br({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"op",mode:r.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:qr(n)}},htmlBuilder:Wi,mathmlBuilder:Xi});var Ki={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};Br({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e;return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:Wi,mathmlBuilder:Xi}),Br({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e;return{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:Wi,mathmlBuilder:Xi}),Br({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0,allowedInArgument:!0},handler(e){var{parser:t,funcName:r}=e,n=r;return 1===n.length&&(n=Ki[n]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:Wi,mathmlBuilder:Xi});var Qi=(e,t)=>{var r,n,i,a,o=!1;if("supsub"===e.type?(r=e.sup,n=e.sub,i=kn(e.base,"operatorname"),o=!0):i=kn(e,"operatorname"),i.body.length>0){for(var s=(i.body.map(e=>{var t="text"in e?e.text:void 0;return"string"==typeof t?{type:"textord",mode:e.mode,text:t}:e})),l=Hr(s,t.withFont("mathrm"),!0),h=0;h<l.length;h++){var c=l[h];c instanceof tt&&(c.text=c.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}a=ur(["mop"],l,t)}else a=ur(["mop"],[],t);return o?ji(a,r,n,t,t.style,0,0):a};function Ji(e,t,r){for(var n=Hr(e,t,!1),i=t.sizeMultiplier/r.sizeMultiplier,a=0;a<n.length;a++){var o=n[a].classes.indexOf("sizing");o<0?Array.prototype.push.apply(n[a].classes,t.sizingClasses(r)):n[a].classes[o+1]==="reset-size"+t.size&&(n[a].classes[o+1]="reset-size"+r.size),n[a].height*=i,n[a].depth*=i}return dr(n)}Br({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=t[0];return{type:"operatorname",mode:r.mode,body:qr(i),alwaysHandleSupSub:"\\operatornamewithlimits"===n,limits:!1,parentIsSupSub:!1}},htmlBuilder:Qi,mathmlBuilder:(e,t)=>{for(var r=an(e.body,t.withFont("mathrm")),n=!0,i=0;i<r.length;i++){var a=r[i];if(a instanceof Zr);else if(a instanceof Wr)switch(a.type){case"mi":case"mn":case"mspace":case"mtext":break;case"mo":var o=a.children[0];1===a.children.length&&o instanceof Xr?o.text=o.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):n=!1;break;default:n=!1}else n=!1}if(n){var s=r.map(e=>e.toText()).join("");r=[new Xr(s)]}var l=new Wr("mi",r);l.setAttribute("mathvariant","normal");var h=new Wr("mo",[Jr("","text")]);return e.parentIsSupSub?new Wr("mrow",[l,h]):Yr([l,h])}}),Si("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@"),Er({type:"ordgroup",htmlBuilder:(e,t)=>e.semisimple?dr(Hr(e.body,t,!1)):ur(["mord"],Hr(e.body,t,!0),t),mathmlBuilder:(e,t)=>on(e.body,t,!0)}),Br({type:"overline",names:["\\overline"],props:{numArgs:1},handler(e,t){var{parser:r}=e,n=t[0];return{type:"overline",mode:r.mode,body:n}},htmlBuilder(e,t){var r=Gr(e.body,t.havingCrampedStyle()),n=mr("overline-line",t),i=t.fontMetrics().defaultRuleThickness,a=fr({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:3*i},{type:"elem",elem:n},{type:"kern",size:i}]});return ur(["mord","overline"],[a],t)},mathmlBuilder(e,t){var r=new Wr("mo",[new Xr("‾")]);r.setAttribute("stretchy","true");var n=new Wr("mover",[sn(e.body,t),r]);return n.setAttribute("accent","true"),n}}),Br({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"phantom",mode:r.mode,body:qr(n)}},htmlBuilder:(e,t)=>{var r=Hr(e.body,t.withPhantom(),!1);return dr(r)},mathmlBuilder:(e,t)=>{var r=an(e.body,t);return new Wr("mphantom",r)}}),Si("\\hphantom","\\smash{\\phantom{#1}}"),Br({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"vphantom",mode:r.mode,body:n}},htmlBuilder:(e,t)=>{var r=ur(["inner"],[Gr(e.body,t.withPhantom())]),n=ur(["fix"],[]);return ur(["mord","rlap"],[r,n],t)},mathmlBuilder:(e,t)=>{var r=an(qr(e.body),t),n=new Wr("mphantom",r),i=new Wr("mpadded",[n]);return i.setAttribute("width","0px"),i}}),Br({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e,n=kn(t[0],"size").value,i=t[1];return{type:"raisebox",mode:r.mode,dy:n,body:i}},htmlBuilder(e,t){var r=Gr(e.body,t),n=Ue(e.dy,t);return fr({positionType:"shift",positionData:-n,children:[{type:"elem",elem:r}]})},mathmlBuilder(e,t){var r=new Wr("mpadded",[sn(e.body,t)]),n=e.dy.number+e.dy.unit;return r.setAttribute("voffset",n),r}}),Br({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(e){var{parser:t}=e;return{type:"internal",mode:t.mode}}}),Br({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"]},handler(e,t,r){var{parser:n}=e,i=r[0],a=kn(t[0],"size"),o=kn(t[1],"size");return{type:"rule",mode:n.mode,shift:i&&kn(i,"size").value,width:a.value,height:o.value}},htmlBuilder(e,t){var r=ur(["mord","rule"],[],t),n=Ue(e.width,t),i=Ue(e.height,t),a=e.shift?Ue(e.shift,t):0;return r.style.borderRightWidth=Ge(n),r.style.borderTopWidth=Ge(i),r.style.bottom=Ge(a),r.width=n,r.height=i+a,r.depth=-a,r.maxFontSize=1.125*i*t.sizeMultiplier,r},mathmlBuilder(e,t){var r=Ue(e.width,t),n=Ue(e.height,t),i=e.shift?Ue(e.shift,t):0,a=t.color&&t.getColor()||"black",o=new Wr("mspace");o.setAttribute("mathbackground",a),o.setAttribute("width",Ge(r)),o.setAttribute("height",Ge(n));var s=new Wr("mpadded",[o]);return i>=0?s.setAttribute("height",Ge(i)):(s.setAttribute("height",Ge(i)),s.setAttribute("depth",Ge(-i))),s.setAttribute("voffset",Ge(i)),s}});var ea=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"];Br({type:"sizing",names:ea,props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{breakOnTokenText:r,funcName:n,parser:i}=e,a=i.parseExpression(!1,r);return{type:"sizing",mode:i.mode,size:ea.indexOf(n)+1,body:a}},htmlBuilder:(e,t)=>{var r=t.havingSize(e.size);return Ji(e.body,r,t)},mathmlBuilder:(e,t)=>{var r=t.havingSize(e.size),n=an(e.body,r),i=new Wr("mstyle",n);return i.setAttribute("mathsize",Ge(r.sizeMultiplier)),i}}),Br({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,t,r)=>{var{parser:n}=e,i=!1,a=!1,o=r[0]&&kn(r[0],"ordgroup");if(o)for(var s,l=0;l<o.body.length;++l){if("t"===(s=Sn(o.body[l]).text))i=!0;else{if("b"!==s){i=!1,a=!1;break}a=!0}}else i=!0,a=!0;var h=t[0];return{type:"smash",mode:n.mode,body:h,smashHeight:i,smashDepth:a}},htmlBuilder:(e,t)=>{var r=ur([],[Gr(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return r;if(e.smashHeight&&(r.height=0),e.smashDepth&&(r.depth=0),e.smashHeight&&e.smashDepth)return ur(["mord","smash"],[r],t);if(r.children)for(var n=0;n<r.children.length;n++)e.smashHeight&&(r.children[n].height=0),e.smashDepth&&(r.children[n].depth=0);var i=fr({positionType:"firstBaseline",children:[{type:"elem",elem:r}]});return ur(["mord"],[i],t)},mathmlBuilder:(e,t)=>{var r=new Wr("mpadded",[sn(e.body,t)]);return e.smashHeight&&r.setAttribute("height","0px"),e.smashDepth&&r.setAttribute("depth","0px"),r}}),Br({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,r){var{parser:n}=e,i=r[0],a=t[0];return{type:"sqrt",mode:n.mode,body:a,index:i}},htmlBuilder(e,t){var r=Gr(e.body,t.havingCrampedStyle());0===r.height&&(r.height=t.fontMetrics().xHeight),r=gr(r,t);var n=t.fontMetrics().defaultRuleThickness,i=n;t.style.id<Ie.TEXT.id&&(i=t.fontMetrics().xHeight);var a=n+i/4,o=r.height+r.depth+a+n,{span:s,ruleWidth:l,advanceWidth:h}=function(e,t){var r,n,i,a,o,s=t.havingBaseSizing(),l=ci("\\surd",e*s.sizeMultiplier,li,s),h=s.sizeMultiplier,c=Math.max(0,t.minRuleThickness-t.fontMetrics().sqrtRuleThickness);return"small"===l.type?(e<1?h=1:e<1.4&&(h=.7),i=(1+c)/h,(r=ei("sqrtMain",n=(1+c+Jn)/h,a=1e3+1e3*c+80,c,t)).style.minWidth="0.853em",o=.833/h):"large"===l.type?(a=1080*ii[l.size],i=(ii[l.size]+c)/h,n=(ii[l.size]+c+Jn)/h,(r=ei("sqrtSize"+l.size,n,a,c,t)).style.minWidth="1.02em",o=1/h):(n=e+c+Jn,i=e+c,a=Math.floor(1e3*e+c)+80,(r=ei("sqrtTall",n,a,c,t)).style.minWidth="0.742em",o=1.056),r.height=i,r.style.height=Ge(n),{span:r,advanceWidth:o,ruleWidth:(t.fontMetrics().sqrtRuleThickness+c)*h}}(o,t),c=s.height-l;c>r.height+r.depth+a&&(a=(a+c-r.height-r.depth)/2);var u=s.height-r.height-a-l;r.style.paddingLeft=Ge(h);var p=fr({positionType:"firstBaseline",children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:-(r.height+u)},{type:"elem",elem:s},{type:"kern",size:l}]});if(e.index){var m=t.havingStyle(Ie.SCRIPTSCRIPT),d=Gr(e.index,m,t),g=.6*(p.height-p.depth),f=fr({positionType:"shift",positionData:-g,children:[{type:"elem",elem:d}]}),b=ur(["root"],[f]);return ur(["mord","sqrt"],[b,p],t)}return ur(["mord","sqrt"],[p],t)},mathmlBuilder(e,t){var{body:r,index:n}=e;return n?new Wr("mroot",[sn(r,t),sn(n,t)]):new Wr("msqrt",[sn(r,t)])}});var ta={display:Ie.DISPLAY,text:Ie.TEXT,script:Ie.SCRIPT,scriptscript:Ie.SCRIPTSCRIPT};Br({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e,t){var{breakOnTokenText:r,funcName:n,parser:i}=e,a=i.parseExpression(!0,r),o=n.slice(1,n.length-5);if(!(o in ta))throw new Error("Unknown style: "+o);return{type:"styling",mode:i.mode,style:o,body:a}},htmlBuilder(e,t){var r=ta[e.style],n=t.havingStyle(r);return e.resetFont&&(n=n.withFont("")),Ji(e.body,n,t)},mathmlBuilder(e,t){var r=ta[e.style],n=t.havingStyle(r);e.resetFont&&(n=n.withFont(""));var i=an(e.body,n),a=new Wr("mstyle",i),o={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]}[e.style];return a.setAttribute("scriptlevel",o[0]),a.setAttribute("displaystyle",o[1]),a}});Er({type:"supsub",htmlBuilder(e,t){var r=function(e,t){var r=e.base;return r?"op"===r.type?r.limits&&(t.style.size===Ie.DISPLAY.size||r.alwaysHandleSupSub)?Wi:null:"operatorname"===r.type?r.alwaysHandleSupSub&&(t.style.size===Ie.DISPLAY.size||r.limits)?Qi:null:"accent"===r.type?ye(r.base)?Tn:null:"horizBrace"===r.type&&!e.sub===r.isOver?Ui:null:null}(e,t);if(r)return r(e,t);var n,i,a,{base:o,sup:s,sub:l}=e,h=Gr(o,t),c=t.fontMetrics(),u=0,p=0,m=o&&ye(o);if(s){var d=t.havingStyle(t.style.sup());n=Gr(s,d,t),m||(u=h.height-d.fontMetrics().supDrop*d.sizeMultiplier/t.sizeMultiplier)}if(l){var g=t.havingStyle(t.style.sub());i=Gr(l,g,t),m||(p=h.depth+g.fontMetrics().subDrop*g.sizeMultiplier/t.sizeMultiplier)}a=t.style===Ie.DISPLAY?c.sup1:t.style.cramped?c.sup3:c.sup2;var f,b=t.sizeMultiplier,v=Ge(.5/c.ptPerEm/b),y=null;if(i){var x,w=e.base&&"op"===e.base.type&&e.base.name&&("\\oiint"===e.base.name||"\\oiiint"===e.base.name);if(h instanceof tt||w)y=Ge(-(null!=(x=h.italic)?x:0))}if(n&&i){u=Math.max(u,a,n.depth+.25*c.xHeight),p=Math.max(p,c.sub2);var k=4*c.defaultRuleThickness;if(u-n.depth-(i.height-p)<k){p=k-(u-n.depth)+i.height;var S=.8*c.xHeight-(u-n.depth);S>0&&(u+=S,p-=S)}f=fr({positionType:"individualShift",children:[{type:"elem",elem:i,shift:p,marginRight:v,marginLeft:y},{type:"elem",elem:n,shift:-u,marginRight:v}]})}else if(i){p=Math.max(p,c.sub1,i.height-.8*c.xHeight),f=fr({positionType:"shift",positionData:p,children:[{type:"elem",elem:i,marginLeft:y,marginRight:v}]})}else{if(!n)throw new Error("supsub must have either sup or sub.");u=Math.max(u,a,n.depth+.25*c.xHeight),f=fr({positionType:"shift",positionData:-u,children:[{type:"elem",elem:n,marginRight:v}]})}var A=$r(h,"right")||"mord";return ur([A],[h,ur(["msupsub"],[f])],t)},mathmlBuilder(e,t){var r,n=!1;e.base&&"horizBrace"===e.base.type&&!!e.sup===e.base.isOver&&(n=!0,r=e.base.isOver),!e.base||"op"!==e.base.type&&"operatorname"!==e.base.type||(e.base.parentIsSupSub=!0);var i,a=[sn(e.base,t)];if(e.sub&&a.push(sn(e.sub,t)),e.sup&&a.push(sn(e.sup,t)),n)i=r?"mover":"munder";else if(e.sub)if(e.sup){var o=e.base;i=o&&"op"===o.type&&o.limits&&t.style===Ie.DISPLAY||o&&"operatorname"===o.type&&o.alwaysHandleSupSub&&(t.style===Ie.DISPLAY||o.limits)?"munderover":"msubsup"}else{var s=e.base;i=s&&"op"===s.type&&s.limits&&(t.style===Ie.DISPLAY||s.alwaysHandleSupSub)||s&&"operatorname"===s.type&&s.alwaysHandleSupSub&&(s.limits||t.style===Ie.DISPLAY)?"munder":"msub"}else{var l=e.base;i=l&&"op"===l.type&&l.limits&&(t.style===Ie.DISPLAY||l.alwaysHandleSupSub)||l&&"operatorname"===l.type&&l.alwaysHandleSupSub&&(l.limits||t.style===Ie.DISPLAY)?"mover":"msup"}return new Wr(i,a)}}),Er({type:"atom",htmlBuilder:(e,t)=>or(e.text,e.mode,t,["m"+e.family]),mathmlBuilder(e,t){var r=new Wr("mo",[Jr(e.text,e.mode)]);if("bin"===e.family){var n=rn(e,t);"bold-italic"===n&&r.setAttribute("mathvariant",n)}else"punct"===e.family?r.setAttribute("separator","true"):"open"!==e.family&&"close"!==e.family||r.setAttribute("stretchy","false");return r}});var ra={mi:"italic",mn:"normal",mtext:"normal"};Er({type:"mathord",htmlBuilder:(e,t)=>sr(e,t,"mathord"),mathmlBuilder(e,t){var r=new Wr("mi",[Jr(e.text,e.mode,t)]),n=rn(e,t)||"italic";return n!==ra[r.type]&&r.setAttribute("mathvariant",n),r}}),Er({type:"textord",htmlBuilder:(e,t)=>sr(e,t,"textord"),mathmlBuilder(e,t){var r,n=Jr(e.text,e.mode,t),i=rn(e,t)||"normal";return r="text"===e.mode?new Wr("mtext",[n]):/[0-9]/.test(e.text)?new Wr("mn",[n]):"\\prime"===e.text?new Wr("mo",[n]):new Wr("mi",[n]),i!==ra[r.type]&&r.setAttribute("mathvariant",i),r}});var na={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},ia={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};Er({type:"spacing",htmlBuilder(e,t){if(ia.hasOwnProperty(e.text)){var r=ia[e.text].className||"";if("text"===e.mode){var n=sr(e,t,"textord");return n.classes.push(r),n}return ur(["mspace",r],[or(e.text,e.mode,t)],t)}if(na.hasOwnProperty(e.text))return ur(["mspace",na[e.text]],[],t);throw new ue('Unknown type of space "'+e.text+'"')},mathmlBuilder(e,t){if(!ia.hasOwnProperty(e.text)){if(na.hasOwnProperty(e.text))return new Wr("mspace");throw new ue('Unknown type of space "'+e.text+'"')}return new Wr("mtext",[new Xr(" ")])}});var aa=()=>{var e=new Wr("mtd",[]);return e.setAttribute("width","50%"),e};Er({type:"tag",mathmlBuilder(e,t){var r=new Wr("mtable",[new Wr("mtr",[aa(),new Wr("mtd",[on(e.body,t)]),aa(),new Wr("mtd",[on(e.tag,t)])])]);return r.setAttribute("width","100%"),r}});var oa={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},sa={"\\textbf":"textbf","\\textmd":"textmd"},la={"\\textit":"textit","\\textup":"textup"},ha=(e,t)=>{var r=e.font;return r?oa[r]?t.withTextFontFamily(oa[r]):sa[r]?t.withTextFontWeight(sa[r]):"\\emph"===r?"textit"===t.fontShape?t.withTextFontShape("textup"):t.withTextFontShape("textit"):t.withTextFontShape(la[r]):t};Br({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(e,t){var{parser:r,funcName:n}=e,i=t[0];return{type:"text",mode:r.mode,body:qr(i),font:n}},htmlBuilder(e,t){var r=ha(e,t),n=Hr(e.body,r,!0);return ur(["mord","text"],n,r)},mathmlBuilder(e,t){var r=ha(e,t);return on(e.body,r)}}),Br({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"underline",mode:r.mode,body:t[0]}},htmlBuilder(e,t){var r=Gr(e.body,t),n=mr("underline-line",t),i=t.fontMetrics().defaultRuleThickness,a=fr({positionType:"top",positionData:r.height,children:[{type:"kern",size:i},{type:"elem",elem:n},{type:"kern",size:3*i},{type:"elem",elem:r}]});return ur(["mord","underline"],[a],t)},mathmlBuilder(e,t){var r=new Wr("mo",[new Xr("‾")]);r.setAttribute("stretchy","true");var n=new Wr("munder",[sn(e.body,t),r]);return n.setAttribute("accentunder","true"),n}}),Br({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(e,t){var{parser:r}=e;return{type:"vcenter",mode:r.mode,body:t[0]}},htmlBuilder(e,t){var r=Gr(e.body,t),n=t.fontMetrics().axisHeight,i=.5*(r.height-n-(r.depth+n));return fr({positionType:"shift",positionData:i,children:[{type:"elem",elem:r}]})},mathmlBuilder(e,t){var r=new Wr("mpadded",[sn(e.body,t)],["vcenter"]);return new Wr("mrow",[r])}}),Br({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,r){throw new ue("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){for(var r=ca(e),n=[],i=t.havingStyle(t.style.text()),a=0;a<r.length;a++){var o=r[a];"~"===o&&(o="\\textasciitilde"),n.push(ar(o,"Typewriter-Regular",e.mode,i,["mord","texttt"]))}return ur(["mord","text"].concat(i.sizingClasses(t)),hr(n),i)},mathmlBuilder(e,t){var r=new Xr(ca(e)),n=new Wr("mtext",[r]);return n.setAttribute("mathvariant","monospace"),n}});var ca=e=>e.body.replace(/ /g,e.star?"␣":" "),ua=Mr,pa="[ \r\n\t]",ma="(\\\\[a-zA-Z@]+)"+pa+"*",da="[̀-ͯ]",ga=new RegExp(da+"+$"),fa="("+pa+"+)|\\\\(\n|[ \r\t]+\n?)[ \r\t]*|([!-\\[\\]-‧-豈-]"+da+"*|[\ud800-\udbff][\udc00-\udfff]"+da+"*|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5|"+ma+"|\\\\[^\ud800-\udfff])";class ba{constructor(e,t){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=e,this.settings=t,this.tokenRegex=new RegExp(fa,"g"),this.catcodes={"%":14,"~":13}}setCatcode(e,t){this.catcodes[e]=t}lex(){var e=this.input,t=this.tokenRegex.lastIndex;if(t===e.length)return new zi("EOF",new Ai(this,t,t));var r=this.tokenRegex.exec(e);if(null===r||r.index!==t)throw new ue("Unexpected character: '"+e[t]+"'",new zi(e[t],new Ai(this,t,t+1)));var n=r[6]||r[3]||(r[2]?"\\ ":" ");if(14===this.catcodes[n]){var i=e.indexOf("\n",this.tokenRegex.lastIndex);return-1===i?(this.tokenRegex.lastIndex=e.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=i+1,this.lex()}return new zi(n,new Ai(this,t,this.tokenRegex.lastIndex))}}class va{constructor(e,t){void 0===e&&(e={}),void 0===t&&(t={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=t,this.builtins=e,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(0===this.undefStack.length)throw new ue("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var e=this.undefStack.pop();for(var t in e)e.hasOwnProperty(t)&&(null==e[t]?delete this.current[t]:this.current[t]=e[t])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(e){return this.current.hasOwnProperty(e)||this.builtins.hasOwnProperty(e)}get(e){return this.current.hasOwnProperty(e)?this.current[e]:this.builtins[e]}set(e,t,r){if(void 0===r&&(r=!1),r){for(var n=0;n<this.undefStack.length;n++)delete this.undefStack[n][e];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][e]=t)}else{var i=this.undefStack[this.undefStack.length-1];i&&!i.hasOwnProperty(e)&&(i[e]=this.current[e])}null==t?delete this.current[e]:this.current[e]=t}}var ya=ki;Si("\\noexpand",function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}}),Si("\\expandafter",function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}}),Si("\\@firstoftwo",function(e){return{tokens:e.consumeArgs(2)[0],numArgs:0}}),Si("\\@secondoftwo",function(e){return{tokens:e.consumeArgs(2)[1],numArgs:0}}),Si("\\@ifnextchar",function(e){var t=e.consumeArgs(3);e.consumeSpaces();var r=e.future();return 1===t[0].length&&t[0][0].text===r.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}}),Si("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),Si("\\TextOrMath",function(e){var t=e.consumeArgs(2);return"text"===e.mode?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}});var xa={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};Si("\\char",function(e){var t,r=e.popToken(),n=0;if("'"===r.text)t=8,r=e.popToken();else if('"'===r.text)t=16,r=e.popToken();else if("`"===r.text)if("\\"===(r=e.popToken()).text[0])n=r.text.charCodeAt(1);else{if("EOF"===r.text)throw new ue("\\char` missing argument");n=r.text.charCodeAt(0)}else t=10;if(t){if(null==(n=xa[r.text])||n>=t)throw new ue("Invalid base-"+t+" digit "+r.text);for(var i;null!=(i=xa[e.future().text])&&i<t;)n*=t,n+=i,e.popToken()}return"\\@char{"+n+"}"});var wa=(e,t,r,n)=>{var i=e.consumeArg().tokens;if(1!==i.length)throw new ue("\\newcommand's first argument must be a macro name");var a=i[0].text,o=e.isDefined(a);if(o&&!t)throw new ue("\\newcommand{"+a+"} attempting to redefine "+a+"; use \\renewcommand");if(!o&&!r)throw new ue("\\renewcommand{"+a+"} when command "+a+" does not yet exist; use \\newcommand");var s=0;if(1===(i=e.consumeArg().tokens).length&&"["===i[0].text){for(var l="",h=e.expandNextToken();"]"!==h.text&&"EOF"!==h.text;)l+=h.text,h=e.expandNextToken();if(!l.match(/^\s*[0-9]+\s*$/))throw new ue("Invalid number of arguments: "+l);s=parseInt(l),i=e.consumeArg().tokens}return o&&n||e.macros.set(a,{tokens:i,numArgs:s}),""};Si("\\newcommand",e=>wa(e,!1,!0,!1)),Si("\\renewcommand",e=>wa(e,!0,!1,!1)),Si("\\providecommand",e=>wa(e,!0,!0,!0)),Si("\\message",e=>{var t=e.consumeArgs(1)[0];return console.log(t.reverse().map(e=>e.text).join("")),""}),Si("\\errmessage",e=>{var t=e.consumeArgs(1)[0];return console.error(t.reverse().map(e=>e.text).join("")),""}),Si("\\show",e=>{var t=e.popToken(),r=t.text;return console.log(t,e.macros.get(r),ua[r],ct.math[r],ct.text[r]),""}),Si("\\bgroup","{"),Si("\\egroup","}"),Si("~","\\nobreakspace"),Si("\\lq","`"),Si("\\rq","'"),Si("\\aa","\\r a"),Si("\\AA","\\r A"),Si("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}"),Si("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),Si("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}"),Si("ℬ","\\mathscr{B}"),Si("ℰ","\\mathscr{E}"),Si("ℱ","\\mathscr{F}"),Si("ℋ","\\mathscr{H}"),Si("ℐ","\\mathscr{I}"),Si("ℒ","\\mathscr{L}"),Si("ℳ","\\mathscr{M}"),Si("ℛ","\\mathscr{R}"),Si("ℭ","\\mathfrak{C}"),Si("ℌ","\\mathfrak{H}"),Si("ℨ","\\mathfrak{Z}"),Si("\\Bbbk","\\Bbb{k}"),Si("\\llap","\\mathllap{\\textrm{#1}}"),Si("\\rlap","\\mathrlap{\\textrm{#1}}"),Si("\\clap","\\mathclap{\\textrm{#1}}"),Si("\\mathstrut","\\vphantom{(}"),Si("\\underbar","\\underline{\\text{#1}}"),Si("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}\\nobreak}{\\char"338}'),Si("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}"),Si("\\ne","\\neq"),Si("≠","\\neq"),Si("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}"),Si("∉","\\notin"),Si("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}"),Si("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}"),Si("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}"),Si("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}"),Si("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}"),Si("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}"),Si("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}"),Si("⟂","\\perp"),Si("‼","\\mathclose{!\\mkern-0.8mu!}"),Si("∌","\\notni"),Si("⌜","\\ulcorner"),Si("⌝","\\urcorner"),Si("⌞","\\llcorner"),Si("⌟","\\lrcorner"),Si("©","\\copyright"),Si("®","\\textregistered"),Si("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}'),Si("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}'),Si("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}'),Si("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}'),Si("\\vdots","{\\varvdots\\rule{0pt}{15pt}}"),Si("⋮","\\vdots"),Si("\\varGamma","\\mathit{\\Gamma}"),Si("\\varDelta","\\mathit{\\Delta}"),Si("\\varTheta","\\mathit{\\Theta}"),Si("\\varLambda","\\mathit{\\Lambda}"),Si("\\varXi","\\mathit{\\Xi}"),Si("\\varPi","\\mathit{\\Pi}"),Si("\\varSigma","\\mathit{\\Sigma}"),Si("\\varUpsilon","\\mathit{\\Upsilon}"),Si("\\varPhi","\\mathit{\\Phi}"),Si("\\varPsi","\\mathit{\\Psi}"),Si("\\varOmega","\\mathit{\\Omega}"),Si("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),Si("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax"),Si("\\boxed","\\fbox{$\\displaystyle{#1}$}"),Si("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),Si("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),Si("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;"),Si("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}"),Si("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");var ka={",":"\\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"},Sa=new Set(["bin","rel"]);Si("\\dots",function(e){var t="\\dotso",r=e.expandAfterFuture().text;return r in ka?t=ka[r]:("\\not"===r.slice(0,4)||r in ct.math&&Sa.has(ct.math[r].group))&&(t="\\dotsb"),t});var Aa={")":!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};Si("\\dotso",function(e){return e.future().text in Aa?"\\ldots\\,":"\\ldots"}),Si("\\dotsc",function(e){var t=e.future().text;return t in Aa&&","!==t?"\\ldots\\,":"\\ldots"}),Si("\\cdots",function(e){return e.future().text in Aa?"\\@cdots\\,":"\\@cdots"}),Si("\\dotsb","\\cdots"),Si("\\dotsm","\\cdots"),Si("\\dotsi","\\!\\cdots"),Si("\\dotsx","\\ldots\\,"),Si("\\DOTSI","\\relax"),Si("\\DOTSB","\\relax"),Si("\\DOTSX","\\relax"),Si("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),Si("\\,","\\tmspace+{3mu}{.1667em}"),Si("\\thinspace","\\,"),Si("\\>","\\mskip{4mu}"),Si("\\:","\\tmspace+{4mu}{.2222em}"),Si("\\medspace","\\:"),Si("\\;","\\tmspace+{5mu}{.2777em}"),Si("\\thickspace","\\;"),Si("\\!","\\tmspace-{3mu}{.1667em}"),Si("\\negthinspace","\\!"),Si("\\negmedspace","\\tmspace-{4mu}{.2222em}"),Si("\\negthickspace","\\tmspace-{5mu}{.277em}"),Si("\\enspace","\\kern.5em "),Si("\\enskip","\\hskip.5em\\relax"),Si("\\quad","\\hskip1em\\relax"),Si("\\qquad","\\hskip2em\\relax"),Si("\\tag","\\@ifstar\\tag@literal\\tag@paren"),Si("\\tag@paren","\\tag@literal{({#1})}"),Si("\\tag@literal",e=>{if(e.macros.get("\\df@tag"))throw new ue("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),Si("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),Si("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),Si("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),Si("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),Si("\\newline","\\\\\\relax"),Si("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var za=Ge(at["Main-Regular"]["T".charCodeAt(0)][1]-.7*at["Main-Regular"]["A".charCodeAt(0)][1]);Si("\\LaTeX","\\textrm{\\html@mathml{L\\kern-.36em\\raisebox{"+za+"}{\\scriptstyle A}\\kern-.15em\\TeX}{LaTeX}}"),Si("\\KaTeX","\\textrm{\\html@mathml{K\\kern-.17em\\raisebox{"+za+"}{\\scriptstyle A}\\kern-.15em\\TeX}{KaTeX}}"),Si("\\hspace","\\@ifstar\\@hspacer\\@hspace"),Si("\\@hspace","\\hskip #1\\relax"),Si("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),Si("\\ordinarycolon",":"),Si("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),Si("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),Si("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),Si("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),Si("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),Si("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),Si("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),Si("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),Si("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),Si("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),Si("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),Si("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),Si("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),Si("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),Si("∷","\\dblcolon"),Si("∹","\\eqcolon"),Si("≔","\\coloneqq"),Si("≕","\\eqqcolon"),Si("⩴","\\Coloneqq"),Si("\\ratio","\\vcentcolon"),Si("\\coloncolon","\\dblcolon"),Si("\\colonequals","\\coloneqq"),Si("\\coloncolonequals","\\Coloneqq"),Si("\\equalscolon","\\eqqcolon"),Si("\\equalscoloncolon","\\Eqqcolon"),Si("\\colonminus","\\coloneq"),Si("\\coloncolonminus","\\Coloneq"),Si("\\minuscolon","\\eqcolon"),Si("\\minuscoloncolon","\\Eqcolon"),Si("\\coloncolonapprox","\\Colonapprox"),Si("\\coloncolonsim","\\Colonsim"),Si("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Si("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Si("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Si("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Si("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}"),Si("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),Si("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),Si("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}"),Si("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}"),Si("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}"),Si("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}"),Si("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}"),Si("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}"),Si("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}"),Si("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}"),Si("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}"),Si("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}"),Si("\\nleqq","\\html@mathml{\\@nleqq}{≰}"),Si("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}"),Si("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}"),Si("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}"),Si("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}"),Si("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}"),Si("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}"),Si("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}"),Si("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}"),Si("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}"),Si("\\imath","\\html@mathml{\\@imath}{ı}"),Si("\\jmath","\\html@mathml{\\@jmath}{ȷ}"),Si("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}"),Si("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}"),Si("⟦","\\llbracket"),Si("⟧","\\rrbracket"),Si("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}"),Si("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}"),Si("⦃","\\lBrace"),Si("⦄","\\rBrace"),Si("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}"),Si("⦵","\\minuso"),Si("\\darr","\\downarrow"),Si("\\dArr","\\Downarrow"),Si("\\Darr","\\Downarrow"),Si("\\lang","\\langle"),Si("\\rang","\\rangle"),Si("\\uarr","\\uparrow"),Si("\\uArr","\\Uparrow"),Si("\\Uarr","\\Uparrow"),Si("\\N","\\mathbb{N}"),Si("\\R","\\mathbb{R}"),Si("\\Z","\\mathbb{Z}"),Si("\\alef","\\aleph"),Si("\\alefsym","\\aleph"),Si("\\Alpha","\\mathrm{A}"),Si("\\Beta","\\mathrm{B}"),Si("\\bull","\\bullet"),Si("\\Chi","\\mathrm{X}"),Si("\\clubs","\\clubsuit"),Si("\\cnums","\\mathbb{C}"),Si("\\Complex","\\mathbb{C}"),Si("\\Dagger","\\ddagger"),Si("\\diamonds","\\diamondsuit"),Si("\\empty","\\emptyset"),Si("\\Epsilon","\\mathrm{E}"),Si("\\Eta","\\mathrm{H}"),Si("\\exist","\\exists"),Si("\\harr","\\leftrightarrow"),Si("\\hArr","\\Leftrightarrow"),Si("\\Harr","\\Leftrightarrow"),Si("\\hearts","\\heartsuit"),Si("\\image","\\Im"),Si("\\infin","\\infty"),Si("\\Iota","\\mathrm{I}"),Si("\\isin","\\in"),Si("\\Kappa","\\mathrm{K}"),Si("\\larr","\\leftarrow"),Si("\\lArr","\\Leftarrow"),Si("\\Larr","\\Leftarrow"),Si("\\lrarr","\\leftrightarrow"),Si("\\lrArr","\\Leftrightarrow"),Si("\\Lrarr","\\Leftrightarrow"),Si("\\Mu","\\mathrm{M}"),Si("\\natnums","\\mathbb{N}"),Si("\\Nu","\\mathrm{N}"),Si("\\Omicron","\\mathrm{O}"),Si("\\plusmn","\\pm"),Si("\\rarr","\\rightarrow"),Si("\\rArr","\\Rightarrow"),Si("\\Rarr","\\Rightarrow"),Si("\\real","\\Re"),Si("\\reals","\\mathbb{R}"),Si("\\Reals","\\mathbb{R}"),Si("\\Rho","\\mathrm{P}"),Si("\\sdot","\\cdot"),Si("\\sect","\\S"),Si("\\spades","\\spadesuit"),Si("\\sub","\\subset"),Si("\\sube","\\subseteq"),Si("\\supe","\\supseteq"),Si("\\Tau","\\mathrm{T}"),Si("\\thetasym","\\vartheta"),Si("\\weierp","\\wp"),Si("\\Zeta","\\mathrm{Z}"),Si("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),Si("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),Si("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),Si("\\bra","\\mathinner{\\langle{#1}|}"),Si("\\ket","\\mathinner{|{#1}\\rangle}"),Si("\\braket","\\mathinner{\\langle{#1}\\rangle}"),Si("\\Bra","\\left\\langle#1\\right|"),Si("\\Ket","\\left|#1\\right\\rangle");var Ta=e=>t=>{var r=t.consumeArg().tokens,n=t.consumeArg().tokens,i=t.consumeArg().tokens,a=t.consumeArg().tokens,o=t.macros.get("|"),s=t.macros.get("\\|");t.macros.beginGroup();var l=t=>r=>{e&&(r.macros.set("|",o),i.length&&r.macros.set("\\|",s));var a=t;!t&&i.length&&("|"===r.future().text&&(r.popToken(),a=!0));return{tokens:a?i:n,numArgs:0}};t.macros.set("|",l(!1)),i.length&&t.macros.set("\\|",l(!0));var h=t.consumeArg().tokens,c=t.expandTokens([...a,...h,...r]);return t.macros.endGroup(),{tokens:c.reverse(),numArgs:0}};Si("\\bra@ket",Ta(!1)),Si("\\bra@set",Ta(!0)),Si("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}"),Si("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}"),Si("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}"),Si("\\angln","{\\angl n}"),Si("\\blue","\\textcolor{##6495ed}{#1}"),Si("\\orange","\\textcolor{##ffa500}{#1}"),Si("\\pink","\\textcolor{##ff00af}{#1}"),Si("\\red","\\textcolor{##df0030}{#1}"),Si("\\green","\\textcolor{##28ae7b}{#1}"),Si("\\gray","\\textcolor{gray}{#1}"),Si("\\purple","\\textcolor{##9d38bd}{#1}"),Si("\\blueA","\\textcolor{##ccfaff}{#1}"),Si("\\blueB","\\textcolor{##80f6ff}{#1}"),Si("\\blueC","\\textcolor{##63d9ea}{#1}"),Si("\\blueD","\\textcolor{##11accd}{#1}"),Si("\\blueE","\\textcolor{##0c7f99}{#1}"),Si("\\tealA","\\textcolor{##94fff5}{#1}"),Si("\\tealB","\\textcolor{##26edd5}{#1}"),Si("\\tealC","\\textcolor{##01d1c1}{#1}"),Si("\\tealD","\\textcolor{##01a995}{#1}"),Si("\\tealE","\\textcolor{##208170}{#1}"),Si("\\greenA","\\textcolor{##b6ffb0}{#1}"),Si("\\greenB","\\textcolor{##8af281}{#1}"),Si("\\greenC","\\textcolor{##74cf70}{#1}"),Si("\\greenD","\\textcolor{##1fab54}{#1}"),Si("\\greenE","\\textcolor{##0d923f}{#1}"),Si("\\goldA","\\textcolor{##ffd0a9}{#1}"),Si("\\goldB","\\textcolor{##ffbb71}{#1}"),Si("\\goldC","\\textcolor{##ff9c39}{#1}"),Si("\\goldD","\\textcolor{##e07d10}{#1}"),Si("\\goldE","\\textcolor{##a75a05}{#1}"),Si("\\redA","\\textcolor{##fca9a9}{#1}"),Si("\\redB","\\textcolor{##ff8482}{#1}"),Si("\\redC","\\textcolor{##f9685d}{#1}"),Si("\\redD","\\textcolor{##e84d39}{#1}"),Si("\\redE","\\textcolor{##bc2612}{#1}"),Si("\\maroonA","\\textcolor{##ffbde0}{#1}"),Si("\\maroonB","\\textcolor{##ff92c6}{#1}"),Si("\\maroonC","\\textcolor{##ed5fa6}{#1}"),Si("\\maroonD","\\textcolor{##ca337c}{#1}"),Si("\\maroonE","\\textcolor{##9e034e}{#1}"),Si("\\purpleA","\\textcolor{##ddd7ff}{#1}"),Si("\\purpleB","\\textcolor{##c6b9fc}{#1}"),Si("\\purpleC","\\textcolor{##aa87ff}{#1}"),Si("\\purpleD","\\textcolor{##7854ab}{#1}"),Si("\\purpleE","\\textcolor{##543b78}{#1}"),Si("\\mintA","\\textcolor{##f5f9e8}{#1}"),Si("\\mintB","\\textcolor{##edf2df}{#1}"),Si("\\mintC","\\textcolor{##e0e5cc}{#1}"),Si("\\grayA","\\textcolor{##f6f7f7}{#1}"),Si("\\grayB","\\textcolor{##f0f1f2}{#1}"),Si("\\grayC","\\textcolor{##e3e5e6}{#1}"),Si("\\grayD","\\textcolor{##d6d8da}{#1}"),Si("\\grayE","\\textcolor{##babec2}{#1}"),Si("\\grayF","\\textcolor{##888d93}{#1}"),Si("\\grayG","\\textcolor{##626569}{#1}"),Si("\\grayH","\\textcolor{##3b3e40}{#1}"),Si("\\grayI","\\textcolor{##21242c}{#1}"),Si("\\kaBlue","\\textcolor{##314453}{#1}"),Si("\\kaGreen","\\textcolor{##71B307}{#1}");var Ma={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class Ca{constructor(e,t,r){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=t,this.expansionCount=0,this.feed(e),this.macros=new va(ya,t.macros),this.mode=r,this.stack=[]}feed(e){this.lexer=new ba(e,this.settings)}switchMode(e){this.mode=e}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return 0===this.stack.length&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(e){this.stack.push(e)}pushTokens(e){this.stack.push(...e)}scanArgument(e){var t,r,n;if(e){if(this.consumeSpaces(),"["!==this.future().text)return null;t=this.popToken(),({tokens:n,end:r}=this.consumeArg(["]"]))}else({tokens:n,start:t,end:r}=this.consumeArg());return this.pushToken(new zi("EOF",r.loc)),this.pushTokens(n),new zi("",Ai.range(t,r))}consumeSpaces(){for(;;){if(" "!==this.future().text)break;this.stack.pop()}}consumeArg(e){var t=[],r=e&&e.length>0;r||this.consumeSpaces();var n,i=this.future(),a=0,o=0;do{if(n=this.popToken(),t.push(n),"{"===n.text)++a;else if("}"===n.text){if(-1===--a)throw new ue("Extra }",n)}else if("EOF"===n.text)throw new ue("Unexpected end of input in a macro argument, expected '"+(e&&r?e[o]:"}")+"'",n);if(e&&r)if((0===a||1===a&&"{"===e[o])&&n.text===e[o]){if(++o===e.length){t.splice(-o,o);break}}else o=0}while(0!==a||r);return"{"===i.text&&"}"===t[t.length-1].text&&(t.pop(),t.shift()),t.reverse(),{tokens:t,start:i,end:n}}consumeArgs(e,t){if(t){if(t.length!==e+1)throw new ue("The length of delimiters doesn't match the number of args!");for(var r=t[0],n=0;n<r.length;n++){var i=this.popToken();if(r[n]!==i.text)throw new ue("Use of the macro doesn't match its definition",i)}}for(var a=[],o=0;o<e;o++)a.push(this.consumeArg(t&&t[o+1]).tokens);return a}countExpansion(e){if(this.expansionCount+=e,this.expansionCount>this.settings.maxExpand)throw new ue("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(e){var t=this.popToken(),r=t.text,n=t.noexpand?null:this._getExpansion(r);if(null==n||e&&n.unexpandable){if(e&&null==n&&"\\"===r[0]&&!this.isDefined(r))throw new ue("Undefined control sequence: "+r);return this.pushToken(t),!1}this.countExpansion(1);var i=n.tokens,a=this.consumeArgs(n.numArgs,n.delimiters);if(n.numArgs)for(var o=(i=i.slice()).length-1;o>=0;--o){var s=i[o];if("#"===s.text){if(0===o)throw new ue("Incomplete placeholder at end of macro body",s);if("#"===(s=i[--o]).text)i.splice(o+1,1);else{if(!/^[1-9]$/.test(s.text))throw new ue("Not a valid argument number",s);i.splice(o,2,...a[+s.text-1])}}}return this.pushTokens(i),i.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(!1===this.expandOnce()){var e=this.stack.pop();return e.treatAsRelax&&(e.text="\\relax"),e}}expandMacro(e){return this.macros.has(e)?this.expandTokens([new zi(e)]):void 0}expandTokens(e){var t=[],r=this.stack.length;for(this.pushTokens(e);this.stack.length>r;)if(!1===this.expandOnce(!0)){var n=this.stack.pop();n.treatAsRelax&&(n.noexpand=!1,n.treatAsRelax=!1),t.push(n)}return this.countExpansion(t.length),t}expandMacroAsText(e){var t=this.expandMacro(e);return t?t.map(e=>e.text).join(""):t}_getExpansion(e){var t=this.macros.get(e);if(null==t)return t;if(1===e.length){var r=this.lexer.catcodes[e];if(null!=r&&13!==r)return}var n="function"==typeof t?t(this):t;if("string"==typeof n){var i=0;if(n.includes("#"))for(var a=n.replace(/##/g,"");a.includes("#"+(i+1));)++i;for(var o=new ba(n,this.settings),s=[],l=o.lex();"EOF"!==l.text;)s.push(l),l=o.lex();return s.reverse(),{tokens:s,numArgs:i}}return n}isDefined(e){return this.macros.has(e)||ua.hasOwnProperty(e)||ct.math.hasOwnProperty(e)||ct.text.hasOwnProperty(e)||Ma.hasOwnProperty(e)}isExpandable(e){var t=this.macros.get(e);return null!=t?"string"==typeof t||"function"==typeof t||!t.unexpandable:ua.hasOwnProperty(e)&&!ua[e].primitive}}var Ra=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,Ba=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","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),Ea={"́":{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"}},Ia={"á":"á","à":"à","ä":"ä","ǟ":"ǟ","ã":"ã","ā":"ā","ă":"ă","ắ":"ắ","ằ":"ằ","ẵ":"ẵ","ǎ":"ǎ","â":"â","ấ":"ấ","ầ":"ầ","ẫ":"ẫ","ȧ":"ȧ","ǡ":"ǡ","å":"å","ǻ":"ǻ","ḃ":"ḃ","ć":"ć","ḉ":"ḉ","č":"č","ĉ":"ĉ","ċ":"ċ","ç":"ç","ď":"ď","ḋ":"ḋ","ḑ":"ḑ","é":"é","è":"è","ë":"ë","ẽ":"ẽ","ē":"ē","ḗ":"ḗ","ḕ":"ḕ","ĕ":"ĕ","ḝ":"ḝ","ě":"ě","ê":"ê","ế":"ế","ề":"ề","ễ":"ễ","ė":"ė","ȩ":"ȩ","ḟ":"ḟ","ǵ":"ǵ","ḡ":"ḡ","ğ":"ğ","ǧ":"ǧ","ĝ":"ĝ","ġ":"ġ","ģ":"ģ","ḧ":"ḧ","ȟ":"ȟ","ĥ":"ĥ","ḣ":"ḣ","ḩ":"ḩ","í":"í","ì":"ì","ï":"ï","ḯ":"ḯ","ĩ":"ĩ","ī":"ī","ĭ":"ĭ","ǐ":"ǐ","î":"î","ǰ":"ǰ","ĵ":"ĵ","ḱ":"ḱ","ǩ":"ǩ","ķ":"ķ","ĺ":"ĺ","ľ":"ľ","ļ":"ļ","ḿ":"ḿ","ṁ":"ṁ","ń":"ń","ǹ":"ǹ","ñ":"ñ","ň":"ň","ṅ":"ṅ","ņ":"ņ","ó":"ó","ò":"ò","ö":"ö","ȫ":"ȫ","õ":"õ","ṍ":"ṍ","ṏ":"ṏ","ȭ":"ȭ","ō":"ō","ṓ":"ṓ","ṑ":"ṑ","ŏ":"ŏ","ǒ":"ǒ","ô":"ô","ố":"ố","ồ":"ồ","ỗ":"ỗ","ȯ":"ȯ","ȱ":"ȱ","ő":"ő","ṕ":"ṕ","ṗ":"ṗ","ŕ":"ŕ","ř":"ř","ṙ":"ṙ","ŗ":"ŗ","ś":"ś","ṥ":"ṥ","š":"š","ṧ":"ṧ","ŝ":"ŝ","ṡ":"ṡ","ş":"ş","ẗ":"ẗ","ť":"ť","ṫ":"ṫ","ţ":"ţ","ú":"ú","ù":"ù","ü":"ü","ǘ":"ǘ","ǜ":"ǜ","ǖ":"ǖ","ǚ":"ǚ","ũ":"ũ","ṹ":"ṹ","ū":"ū","ṻ":"ṻ","ŭ":"ŭ","ǔ":"ǔ","û":"û","ů":"ů","ű":"ű","ṽ":"ṽ","ẃ":"ẃ","ẁ":"ẁ","ẅ":"ẅ","ŵ":"ŵ","ẇ":"ẇ","ẘ":"ẘ","ẍ":"ẍ","ẋ":"ẋ","ý":"ý","ỳ":"ỳ","ÿ":"ÿ","ỹ":"ỹ","ȳ":"ȳ","ŷ":"ŷ","ẏ":"ẏ","ẙ":"ẙ","ź":"ź","ž":"ž","ẑ":"ẑ","ż":"ż","Á":"Á","À":"À","Ä":"Ä","Ǟ":"Ǟ","Ã":"Ã","Ā":"Ā","Ă":"Ă","Ắ":"Ắ","Ằ":"Ằ","Ẵ":"Ẵ","Ǎ":"Ǎ","Â":"Â","Ấ":"Ấ","Ầ":"Ầ","Ẫ":"Ẫ","Ȧ":"Ȧ","Ǡ":"Ǡ","Å":"Å","Ǻ":"Ǻ","Ḃ":"Ḃ","Ć":"Ć","Ḉ":"Ḉ","Č":"Č","Ĉ":"Ĉ","Ċ":"Ċ","Ç":"Ç","Ď":"Ď","Ḋ":"Ḋ","Ḑ":"Ḑ","É":"É","È":"È","Ë":"Ë","Ẽ":"Ẽ","Ē":"Ē","Ḗ":"Ḗ","Ḕ":"Ḕ","Ĕ":"Ĕ","Ḝ":"Ḝ","Ě":"Ě","Ê":"Ê","Ế":"Ế","Ề":"Ề","Ễ":"Ễ","Ė":"Ė","Ȩ":"Ȩ","Ḟ":"Ḟ","Ǵ":"Ǵ","Ḡ":"Ḡ","Ğ":"Ğ","Ǧ":"Ǧ","Ĝ":"Ĝ","Ġ":"Ġ","Ģ":"Ģ","Ḧ":"Ḧ","Ȟ":"Ȟ","Ĥ":"Ĥ","Ḣ":"Ḣ","Ḩ":"Ḩ","Í":"Í","Ì":"Ì","Ï":"Ï","Ḯ":"Ḯ","Ĩ":"Ĩ","Ī":"Ī","Ĭ":"Ĭ","Ǐ":"Ǐ","Î":"Î","İ":"İ","Ĵ":"Ĵ","Ḱ":"Ḱ","Ǩ":"Ǩ","Ķ":"Ķ","Ĺ":"Ĺ","Ľ":"Ľ","Ļ":"Ļ","Ḿ":"Ḿ","Ṁ":"Ṁ","Ń":"Ń","Ǹ":"Ǹ","Ñ":"Ñ","Ň":"Ň","Ṅ":"Ṅ","Ņ":"Ņ","Ó":"Ó","Ò":"Ò","Ö":"Ö","Ȫ":"Ȫ","Õ":"Õ","Ṍ":"Ṍ","Ṏ":"Ṏ","Ȭ":"Ȭ","Ō":"Ō","Ṓ":"Ṓ","Ṑ":"Ṑ","Ŏ":"Ŏ","Ǒ":"Ǒ","Ô":"Ô","Ố":"Ố","Ồ":"Ồ","Ỗ":"Ỗ","Ȯ":"Ȯ","Ȱ":"Ȱ","Ő":"Ő","Ṕ":"Ṕ","Ṗ":"Ṗ","Ŕ":"Ŕ","Ř":"Ř","Ṙ":"Ṙ","Ŗ":"Ŗ","Ś":"Ś","Ṥ":"Ṥ","Š":"Š","Ṧ":"Ṧ","Ŝ":"Ŝ","Ṡ":"Ṡ","Ş":"Ş","Ť":"Ť","Ṫ":"Ṫ","Ţ":"Ţ","Ú":"Ú","Ù":"Ù","Ü":"Ü","Ǘ":"Ǘ","Ǜ":"Ǜ","Ǖ":"Ǖ","Ǚ":"Ǚ","Ũ":"Ũ","Ṹ":"Ṹ","Ū":"Ū","Ṻ":"Ṻ","Ŭ":"Ŭ","Ǔ":"Ǔ","Û":"Û","Ů":"Ů","Ű":"Ű","Ṽ":"Ṽ","Ẃ":"Ẃ","Ẁ":"Ẁ","Ẅ":"Ẅ","Ŵ":"Ŵ","Ẇ":"Ẇ","Ẍ":"Ẍ","Ẋ":"Ẋ","Ý":"Ý","Ỳ":"Ỳ","Ÿ":"Ÿ","Ỹ":"Ỹ","Ȳ":"Ȳ","Ŷ":"Ŷ","Ẏ":"Ẏ","Ź":"Ź","Ž":"Ž","Ẑ":"Ẑ","Ż":"Ż","ά":"ά","ὰ":"ὰ","ᾱ":"ᾱ","ᾰ":"ᾰ","έ":"έ","ὲ":"ὲ","ή":"ή","ὴ":"ὴ","ί":"ί","ὶ":"ὶ","ϊ":"ϊ","ΐ":"ΐ","ῒ":"ῒ","ῑ":"ῑ","ῐ":"ῐ","ό":"ό","ὸ":"ὸ","ύ":"ύ","ὺ":"ὺ","ϋ":"ϋ","ΰ":"ΰ","ῢ":"ῢ","ῡ":"ῡ","ῠ":"ῠ","ώ":"ώ","ὼ":"ὼ","Ύ":"Ύ","Ὺ":"Ὺ","Ϋ":"Ϋ","Ῡ":"Ῡ","Ῠ":"Ῠ","Ώ":"Ώ","Ὼ":"Ὼ"};class qa{constructor(e,t){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new Ca(e,t,this.mode),this.settings=t,this.leftrightDepth=0,this.nextToken=null}expect(e,t){if(void 0===t&&(t=!0),this.fetch().text!==e)throw new ue("Expected '"+e+"', got '"+this.fetch().text+"'",this.fetch());t&&this.consume()}consume(){this.nextToken=null}fetch(){return null==this.nextToken&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(e){this.mode=e,this.gullet.switchMode(e)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var e=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),e}finally{this.gullet.endGroups()}}subparse(e){var t=this.nextToken;this.consume(),this.gullet.pushToken(new zi("}")),this.gullet.pushTokens(e);var r=this.parseExpression(!1);return this.expect("}"),this.nextToken=t,r}parseExpression(e,t){for(var r=[];;){"math"===this.mode&&this.consumeSpaces();var n=this.fetch();if(qa.endOfExpression.has(n.text))break;if(t&&n.text===t)break;if(e&&ua[n.text]&&ua[n.text].infix)break;var i=this.parseAtom(t);if(!i)break;"internal"!==i.type&&r.push(i)}return"text"===this.mode&&this.formLigatures(r),this.handleInfixNodes(r)}handleInfixNodes(e){for(var t,r=-1,n=0;n<e.length;n++){var i=e[n];if("infix"===i.type){if(-1!==r)throw new ue("only one infix operator per group",i.token);r=n,t=i.replaceWith}}if(-1!==r&&t){var a,o,s=e.slice(0,r),l=e.slice(r+1);return a=1===s.length&&"ordgroup"===s[0].type?s[0]:{type:"ordgroup",mode:this.mode,body:s},o=1===l.length&&"ordgroup"===l[0].type?l[0]:{type:"ordgroup",mode:this.mode,body:l},["\\\\abovefrac"===t?this.callFunction(t,[a,e[r],o],[]):this.callFunction(t,[a,o],[])]}return e}handleSupSubscript(e){var t,r=this.fetch(),n=r.text;this.consume(),this.consumeSpaces();do{var i;t=this.parseGroup(e)}while("internal"===(null==(i=t)?void 0:i.type));if(!t)throw new ue("Expected group after '"+n+"'",r);return t}formatUnsupportedCmd(e){for(var t=[],r=0;r<e.length;r++)t.push({type:"textord",mode:"text",text:e[r]});var n={type:"text",mode:this.mode,body:t};return{type:"color",mode:this.mode,color:this.settings.errorColor,body:[n]}}parseAtom(e){var t,r,n=this.parseGroup("atom",e);if("internal"===(null==n?void 0:n.type))return n;if("text"===this.mode)return n;for(;;){this.consumeSpaces();var i=this.fetch();if("\\limits"===i.text||"\\nolimits"===i.text){if(n&&"op"===n.type){var a="\\limits"===i.text;n.limits=a,n.alwaysHandleSupSub=!0}else{if(!n||"operatorname"!==n.type)throw new ue("Limit controls must follow a math operator",i);n.alwaysHandleSupSub&&(n.limits="\\limits"===i.text)}this.consume()}else if("^"===i.text){if(t)throw new ue("Double superscript",i);t=this.handleSupSubscript("superscript")}else if("_"===i.text){if(r)throw new ue("Double subscript",i);r=this.handleSupSubscript("subscript")}else if("'"===i.text){if(t)throw new ue("Double superscript",i);var o={type:"textord",mode:this.mode,text:"\\prime"},s=[o];for(this.consume();"'"===this.fetch().text;)s.push(o),this.consume();"^"===this.fetch().text&&s.push(this.handleSupSubscript("superscript")),t={type:"ordgroup",mode:this.mode,body:s}}else{if(!Ba[i.text])break;var l=Ra.test(i.text),h=[];for(h.push(new zi(Ba[i.text])),this.consume();;){var c=this.fetch().text;if(!Ba[c])break;if(Ra.test(c)!==l)break;h.unshift(new zi(Ba[c])),this.consume()}var u=this.subparse(h);l?r={type:"ordgroup",mode:"math",body:u}:t={type:"ordgroup",mode:"math",body:u}}}return t||r?{type:"supsub",mode:this.mode,base:n,sup:t,sub:r}:n}parseFunction(e,t){var r=this.fetch(),n=r.text,i=ua[n];if(!i)return null;if(this.consume(),t&&"atom"!==t&&!i.allowedInArgument)throw new ue("Got function '"+n+"' with no arguments"+(t?" as "+t:""),r);if("text"===this.mode&&!i.allowedInText)throw new ue("Can't use function '"+n+"' in text mode",r);if("math"===this.mode&&!1===i.allowedInMath)throw new ue("Can't use function '"+n+"' in math mode",r);var{args:a,optArgs:o}=this.parseArguments(n,i);return this.callFunction(n,a,o,r,e)}callFunction(e,t,r,n,i){var a={funcName:e,parser:this,token:n,breakOnTokenText:i},o=ua[e];if(o&&o.handler)return o.handler(a,t,r);throw new ue("No function handler for "+e)}parseArguments(e,t){var r=t.numArgs+t.numOptionalArgs;if(0===r)return{args:[],optArgs:[]};for(var n=[],i=[],a=0;a<r;a++){var o=t.argTypes&&t.argTypes[a],s=a<t.numOptionalArgs;("primitive"in t&&t.primitive&&null==o||"sqrt"===t.type&&1===a&&null==i[0])&&(o="primitive");var l=this.parseGroupOfType("argument to '"+e+"'",o,s);if(s)i.push(l);else{if(null==l)throw new ue("Null argument, please report this as a bug");n.push(l)}}return{args:n,optArgs:i}}parseGroupOfType(e,t,r){switch(t){case"color":return this.parseColorGroup(r);case"size":return this.parseSizeGroup(r);case"url":return this.parseUrlGroup(r);case"math":case"text":return this.parseArgumentGroup(r,t);case"hbox":var n=this.parseArgumentGroup(r,"text");return null!=n?{type:"styling",mode:n.mode,body:[n],style:"text",resetFont:!0}:null;case"raw":var i=this.parseStringGroup("raw",r);return null!=i?{type:"raw",mode:"text",string:i.text}:null;case"primitive":if(r)throw new ue("A primitive argument cannot be optional");var a=this.parseGroup(e);if(null==a)throw new ue("Expected group as "+e,this.fetch());return a;case"original":case null:case void 0:return this.parseArgumentGroup(r);default:throw new ue("Unknown group type as "+e,this.fetch())}}consumeSpaces(){for(;" "===this.fetch().text;)this.consume()}parseStringGroup(e,t){var r=this.gullet.scanArgument(t);if(null==r)return null;for(var n,i="";"EOF"!==(n=this.fetch()).text;)i+=n.text,this.consume();return this.consume(),r.text=i,r}parseRegexGroup(e,t){for(var r,n=this.fetch(),i=n,a="";"EOF"!==(r=this.fetch()).text&&e.test(a+r.text);)a+=(i=r).text,this.consume();if(""===a)throw new ue("Invalid "+t+": '"+n.text+"'",n);return n.range(i,a)}parseColorGroup(e){var t=this.parseStringGroup("color",e);if(null==t)return null;var r=/^(#[a-f0-9]{3,4}|#[a-f0-9]{6}|#[a-f0-9]{8}|[a-f0-9]{6}|[a-z]+)$/i.exec(t.text);if(!r)throw new ue("Invalid color: '"+t.text+"'",t);var n=r[0];return/^[0-9a-f]{6}$/i.test(n)&&(n="#"+n),{type:"color-token",mode:this.mode,color:n}}parseSizeGroup(e){var t,r=!1;if(this.gullet.consumeSpaces(),!(t=e||"{"===this.gullet.future().text?this.parseStringGroup("size",e):this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size")))return null;e||0!==t.text.length||(t.text="0pt",r=!0);var n=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t.text);if(!n)throw new ue("Invalid size: '"+t.text+"'",t);var i={number:+(n[1]+n[2]),unit:n[3]};if(!$e(i))throw new ue("Invalid unit: '"+i.unit+"'",t);return{type:"size",mode:this.mode,value:i,isBlank:r}}parseUrlGroup(e){this.gullet.lexer.setCatcode("%",13),this.gullet.lexer.setCatcode("~",12);var t=this.parseStringGroup("url",e);if(this.gullet.lexer.setCatcode("%",14),this.gullet.lexer.setCatcode("~",13),null==t)return null;var r=t.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:r}}parseArgumentGroup(e,t){var r=this.gullet.scanArgument(e);if(null==r)return null;var n=this.mode;t&&this.switchMode(t),this.gullet.beginGroup();var i=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();var a={type:"ordgroup",mode:this.mode,loc:r.loc,body:i};return t&&this.switchMode(n),a}parseGroup(e,t){var r,n=this.fetch(),i=n.text;if("{"===i||"\\begingroup"===i){this.consume();var a="{"===i?"}":"\\endgroup";this.gullet.beginGroup();var o=this.parseExpression(!1,a),s=this.fetch();this.expect(a),this.gullet.endGroup(),r={type:"ordgroup",mode:this.mode,loc:Ai.range(n,s),body:o,semisimple:"\\begingroup"===i||void 0}}else if(null==(r=this.parseFunction(t,e)||this.parseSymbol())&&"\\"===i[0]&&!Ma.hasOwnProperty(i)){if(this.settings.throwOnError)throw new ue("Undefined control sequence: "+i,n);r=this.formatUnsupportedCmd(i),this.consume()}return r}formLigatures(e){for(var t=e.length-1,r=0;r<t;++r){var n=e[r];if("textord"===n.type){var i=n.text,a=e[r+1];if(a&&"textord"===a.type){if("-"===i&&"-"===a.text){var o=e[r+2];r+1<t&&o&&"textord"===o.type&&"-"===o.text?(e.splice(r,3,{type:"textord",mode:"text",loc:Ai.range(n,o),text:"---"}),t-=2):(e.splice(r,2,{type:"textord",mode:"text",loc:Ai.range(n,a),text:"--"}),t-=1)}"'"!==i&&"`"!==i||a.text!==i||(e.splice(r,2,{type:"textord",mode:"text",loc:Ai.range(n,a),text:i+i}),t-=1)}}}}parseSymbol(){var e=this.fetch(),t=e.text;if(/^\\verb[^a-zA-Z]/.test(t)){this.consume();var r=t.slice(5),n="*"===r.charAt(0);if(n&&(r=r.slice(1)),r.length<2||r.charAt(0)!==r.slice(-1))throw new ue("\\verb assertion failed --\n please report what input caused this bug");return{type:"verb",mode:"text",body:r=r.slice(1,-1),star:n}}Ia.hasOwnProperty(t[0])&&!ct[this.mode][t[0]]&&(this.settings.strict&&"math"===this.mode&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+t[0]+'" used in math mode',e),t=Ia[t[0]]+t.slice(1));var i,a=ga.exec(t);if(a&&("i"===(t=t.substring(0,a.index))?t="ı":"j"===t&&(t="ȷ")),ct[this.mode][t]){this.settings.strict&&"math"===this.mode&&$t.includes(t)&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+t[0]+'" used in math mode',e);var o=ct[this.mode][t].group,s=Ai.range(e);i=o in xn?{type:"atom",mode:this.mode,family:o,loc:s,text:t}:{type:o,mode:this.mode,loc:s,text:t}}else{if(!(t.charCodeAt(0)>=128))return null;this.settings.strict&&(Oe(t.charCodeAt(0))?"math"===this.mode&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+t[0]+'" used in math mode',e):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+t[0]+'" ('+t.charCodeAt(0)+")",e)),i={type:"textord",mode:"text",loc:Ai.range(e),text:t}}if(this.consume(),a)for(var l=0;l<a[0].length;l++){var h=a[0][l];if(!Ea[h])throw new ue("Unknown accent ' "+h+"'",e);var c=Ea[h][this.mode]||Ea[h].text;if(!c)throw new ue("Accent "+h+" unsupported in "+this.mode+" mode",e);i={type:"accent",mode:this.mode,loc:Ai.range(e),label:c,isStretchy:!1,isShifty:!0,base:i}}return i}}qa.endOfExpression=new Set(["}","\\endgroup","\\end","\\right","&"]);var Na=function(e,t){if(!("string"==typeof e||e instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var r=new qa(e,t);delete r.gullet.macros.current["\\df@tag"];var n=r.parse();if(delete r.gullet.macros.current["\\current@color"],delete r.gullet.macros.current["\\color"],r.gullet.macros.get("\\df@tag")){if(!t.displayMode)throw new ue("\\tag works only in display equations");n=[{type:"tag",mode:"text",body:n,tag:r.subparse([new zi("\\df@tag")])}]}return n},Oa=function(e,t,r){t.textContent="";var n=La(e,r).toNode();t.appendChild(n)};"undefined"!=typeof document&&"CSS1Compat"!==document.compatMode&&("undefined"!=typeof console&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),Oa=function(){throw new ue("KaTeX doesn't work in quirks mode.")});var Da=function(e,t,r){if(r.throwOnError||!(e instanceof ue))throw e;var n=ur(["katex-error"],[new tt(t)]);return n.setAttribute("title",e.toString()),n.setAttribute("style","color:"+r.errorColor),n},La=function(e,t){var r=new Se(t);try{return function(e,t,r){var n,i=mn(r);if("mathml"===r.output)return ln(e,t,i,r.displayMode,!0);if("html"===r.output){var a=jr(e,i);n=ur(["katex"],[a])}else{var o=ln(e,t,i,r.displayMode,!1),s=jr(e,i);n=ur(["katex"],[o,s])}return dn(n,r)}(Na(e,r),e,r)}catch(n){return Da(n,e,r)}},Ha={version:"0.16.47",render:Oa,renderToString:function(e,t){return La(e,t).toMarkup()},ParseError:ue,SETTINGS_SCHEMA:xe,__parse:function(e,t){var r=new Se(t);return Na(e,r)},__renderToDomTree:La,__renderToHTMLTree:function(e,t){var r=new Se(t);try{return function(e,t,r){var n=jr(e,mn(r)),i=ur(["katex"],[n]);return dn(i,r)}(Na(e,r),0,r)}catch(n){return Da(n,e,r)}},__setFontMetrics:function(e,t){at[e]=t},__defineSymbol:ut,__defineFunction:Br,__defineMacro:Si,__domTree:{Span:Ke,Anchor:Qe,SymbolNode:tt,SvgNode:rt,PathNode:nt,LineNode:it}};
|
|
2
|
+
/*! @license DOMPurify 3.4.17 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.17/LICENSE */
|
|
3
|
+
function Pa(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}
|
|
4
|
+
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
|
|
5
|
+
function _a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,a,o,s=[],l=!0,h=!1;try{if(a=(r=r.call(e)).next,0===t);else for(;!(l=(n=a.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){h=!0,i=e}finally{try{if(!l&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(h)throw i}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Pa(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Pa(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}const Fa=Object.entries,$a=Object.setPrototypeOf,Ua=Object.isFrozen,Ga=Object.getPrototypeOf,Va=Object.getOwnPropertyDescriptor;let ja=Object.freeze,Ya=Object.seal,Wa=Object.create,Xa="undefined"!=typeof Reflect&&Reflect,Za=Xa.apply,Ka=Xa.construct;ja||(ja=function(e){return e}),Ya||(Ya=function(e){return e}),Za||(Za=function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),i=2;i<r;i++)n[i-2]=arguments[i];return e.apply(t,n)}),Ka||(Ka=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return new e(...r)});const Qa=So(Array.prototype.forEach),Ja=So(Array.prototype.lastIndexOf),eo=So(Array.prototype.pop),to=So(Array.prototype.push),ro=So(Array.prototype.slice),no=So(Array.prototype.splice),io=Array.isArray,ao=Ao(Set),oo=So(Set.prototype.add),so=So(Set.prototype.has),lo=So(String.prototype.toLowerCase),ho=So(String.prototype.toString),co=So(String.prototype.match),uo=So(String.prototype.replace),po=So(String.prototype.indexOf),mo=So(String.prototype.trim),go=So(Number.prototype.toString),fo=So(Boolean.prototype.toString),bo="undefined"==typeof BigInt?null:So(BigInt.prototype.toString),vo="undefined"==typeof Symbol?null:So(Symbol.prototype.toString),yo=So(Object.prototype.hasOwnProperty),xo=So(Object.prototype.toString),wo=So(RegExp.prototype.test),ko=Ao(TypeError);function So(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return Za(e,t,n)}}function Ao(e){return function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return Ka(e,r)}}function zo(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:lo;if($a&&$a(e,null),!io(t))return e;let n=t.length;for(;n--;){let i=t[n];if("string"==typeof i){const e=r(i);e!==i&&(Ua(t)||(t[n]=e),i=e)}e[i]=!0}return e}function To(e){for(let t=0;t<e.length;t++)yo(e,t)||(e[t]=null);return e}function Mo(e){const t=Wa(null);for(const n of Fa(e)){var r=_a(n,2);const i=r[0],a=r[1];yo(e,i)&&(io(a)?t[i]=To(a):a&&"object"==typeof a&&a.constructor===Object?t[i]=Mo(a):t[i]=a)}return t}function Co(e,t){for(;null!==e;){const r=Va(e,t);if(r){if(r.get)return So(r.get);if("function"==typeof r.value)return So(r.value)}e=Ga(e)}return function(){return null}}const Ro=ja(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Bo=ja(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Eo=ja(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Io=ja(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),qo=ja(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),No=ja(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Oo=ja(["#text"]),Do=ja(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),Lo=ja(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dominant-baseline","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","pointer-events","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-orientation","text-rendering","textlength","type","u1","u2","unicode","values","vector-effect","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Ho=ja(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Po=ja(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),_o=Ya(/{{[\w\W]*|^[\w\W]*}}/g),Fo=Ya(/<%[\w\W]*|^[\w\W]*%>/g),$o=Ya(/\${[\w\W]*/g),Uo=Ya(/^data-[\-\w.\u00B7-\uFFFF]+$/),Go=Ya(/^aria-[\-\w]+$/),Vo=Ya(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),jo=Ya(/^(?:\w+script|data):/i),Yo=Ya(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Wo=Ya(/^html$/i),Xo=Ya(/^[a-z][.\w]*(-[.\w]+)+$/i),Zo=Ya(/<[/\w!]/g),Ko=Ya(/<[/\w]/g),Qo=Ya(/<\/no(script|embed|frames)/i),Jo=Ya(/\/>/i),es=1,ts=3,rs=7,ns=8,is=9,as=11,os=ja(zo({},["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"])),ss=function(){return"undefined"==typeof window?null:window},ls=function(e,t,r,n){return yo(e,t)&&io(e[t])?zo(n.base?Mo(n.base):{},e[t],n.transform):r},hs=function(e,t,r){const n=yo(e,t)?e[t]:void 0;return n&&"object"==typeof n?Mo(n):r()};var cs=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ss();const r=t=>e(t);if(r.version="3.4.17",r.removed=[],!t||!t.document||t.document.nodeType!==is||!t.Element)return r.isSupported=!1,r;let n=t.document;const i=n,a=i.currentScript;t.DocumentFragment;const o=t.HTMLTemplateElement,s=t.Node,l=t.Element,h=t.NodeFilter;void 0===t.NamedNodeMap&&(t.NamedNodeMap||t.MozNamedAttrMap),t.HTMLFormElement;const c=t.DOMParser,u=t.trustedTypes,p=l.prototype,m=Co(p,"cloneNode"),d=Co(p,"remove"),g=Co(p,"removeAttributeNode"),f=Co(p,"nextSibling"),b=Co(p,"childNodes"),v=Co(p,"parentNode"),y=Co(p,"shadowRoot"),x=Co(p,"attributes"),w=s&&s.prototype?Co(s.prototype,"nodeType"):null,k=s&&s.prototype?Co(s.prototype,"nodeName"):null,S=s&&s.prototype?Co(s.prototype,"ownerDocument"):null,A=function(e){return w?w(e):e.nodeType},z=function(e){return k?k(e):e.nodeName},T=function(e,t){for(;null!==e;){const r=Va(e,t);if(r)return r.get?So(r.get):null;e=Ga(e)}return null}(p,"namespaceURI"),M=function(e){return T?T(e):e.namespaceURI};if("function"==typeof o){const e=n.createElement("template");e.content&&e.content.ownerDocument&&(n=e.content.ownerDocument)}let C,R,B="",E=!1,I=0;const q=function(){if(I>0)throw ko('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},N=function(e){q(),I++;try{return C.createHTML(e)}finally{I--}},O=function(){return E||(R=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let r=null;const n="data-tt-policy-suffix";t&&t.hasAttribute(n)&&(r=t.getAttribute(n));const i="dompurify"+(r?"#"+r:"");try{return e.createPolicy(i,{createHTML:e=>e,createScriptURL:e=>e})}catch(a){return console.warn("TrustedTypes policy "+i+" could not be created."),null}}(u,a),E=!0),R},D=n,L=D.implementation,H=D.createNodeIterator,P=D.createDocumentFragment,_=D.getElementsByTagName,F=i.importNode;let $={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};r.isSupported="function"==typeof Fa&&"function"==typeof v&&L&&void 0!==L.createHTMLDocument;const U=_o,G=Fo,V=$o,j=Uo,Y=Go,W=jo,X=Yo,Z=Xo;let K=Vo,Q=null;const J=zo({},[...Ro,...Bo,...Eo,...qo,...Oo]);let ee=null;const te=zo({},[...Do,...Lo,...Ho,...Po]);let re=Object.seal(Wa(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),ne=null,ie=null;const ae=Object.seal(Wa(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let oe=!0,se=!0,le=!1,he=!0,ce=!1,ue=!0,pe=!1,me=!1,de=null,ge=null,fe=!1,be=!1,ve=!1,ye=!1,xe=!0,we=!1;const ke="user-content-";let Se=!0,Ae=!1,ze=null,Te={},Me=null;const Ce=zo({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]);let Re=null;const Be=zo({},["audio","video","img","source","image","track"]);let Ee=null;const Ie=zo({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),qe="http://www.w3.org/1998/Math/MathML",Ne="http://www.w3.org/2000/svg",Oe="http://www.w3.org/1999/xhtml";let De=Oe,Le=!1,He=null;const Pe=zo({},[qe,Ne,Oe],ho),_e=ja(["mi","mo","mn","ms","mtext"]);let Fe=zo({},_e);const $e=ja(["annotation-xml"]);let Ue=zo({},$e);const Ge=zo({},["title","style","font","a","script"]);let Ve=null;const je=["application/xhtml+xml","text/html"];let Ye=null,We=null;const Xe=n.createElement("form"),Ze=function(e){return e instanceof RegExp||e instanceof Function},Ke=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(We&&We===e)return;e&&"object"==typeof e||(e={}),e=Mo(e),Ve=-1===je.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,Ye="application/xhtml+xml"===Ve?ho:lo,Q=ls(e,"ALLOWED_TAGS",J,{transform:Ye}),ee=ls(e,"ALLOWED_ATTR",te,{transform:Ye}),He=ls(e,"ALLOWED_NAMESPACES",Pe,{transform:ho}),Ee=ls(e,"ADD_URI_SAFE_ATTR",Ie,{transform:Ye,base:Ie}),Re=ls(e,"ADD_DATA_URI_TAGS",Be,{transform:Ye,base:Be}),Me=ls(e,"FORBID_CONTENTS",Ce,{transform:Ye}),ne=ls(e,"FORBID_TAGS",Mo({}),{transform:Ye}),ie=ls(e,"FORBID_ATTR",Mo({}),{transform:Ye}),Te=!!yo(e,"USE_PROFILES")&&(e.USE_PROFILES&&"object"==typeof e.USE_PROFILES?Mo(e.USE_PROFILES):e.USE_PROFILES),oe=!1!==e.ALLOW_ARIA_ATTR,se=!1!==e.ALLOW_DATA_ATTR,le=e.ALLOW_UNKNOWN_PROTOCOLS||!1,he=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,ce=e.SAFE_FOR_TEMPLATES||!1,ue=!1!==e.SAFE_FOR_XML,pe=e.WHOLE_DOCUMENT||!1,be=e.RETURN_DOM||!1,ve=e.RETURN_DOM_FRAGMENT||!1,ye=e.RETURN_TRUSTED_TYPE||!1,fe=e.FORCE_BODY||!1,xe=!1!==e.SANITIZE_DOM,we=e.SANITIZE_NAMED_PROPS||!1,Se=!1!==e.KEEP_CONTENT,Ae=e.IN_PLACE||!1,K=function(e){try{return wo(e,""),!0}catch(t){return!1}}(e.ALLOWED_URI_REGEXP)?e.ALLOWED_URI_REGEXP:Vo,De="string"==typeof e.NAMESPACE?e.NAMESPACE:Oe,Fe=hs(e,"MATHML_TEXT_INTEGRATION_POINTS",()=>zo({},_e)),Ue=hs(e,"HTML_INTEGRATION_POINTS",()=>zo({},$e));const t=hs(e,"CUSTOM_ELEMENT_HANDLING",()=>Wa(null));if(re=Wa(null),yo(t,"tagNameCheck")&&Ze(t.tagNameCheck)&&(re.tagNameCheck=t.tagNameCheck),yo(t,"attributeNameCheck")&&Ze(t.attributeNameCheck)&&(re.attributeNameCheck=t.attributeNameCheck),yo(t,"allowCustomizedBuiltInElements")&&"boolean"==typeof t.allowCustomizedBuiltInElements&&(re.allowCustomizedBuiltInElements=t.allowCustomizedBuiltInElements),Ya(re),ce&&(se=!1),ve&&(be=!0),Te&&(Q=zo({},Oo),ee=Wa(null),!0===Te.html&&(zo(Q,Ro),zo(ee,Do)),!0===Te.svg&&(zo(Q,Bo),zo(ee,Lo),zo(ee,Po)),!0===Te.svgFilters&&(zo(Q,Eo),zo(ee,Lo),zo(ee,Po)),!0===Te.mathMl&&(zo(Q,qo),zo(ee,Ho),zo(ee,Po))),ae.tagCheck=null,ae.attributeCheck=null,yo(e,"ADD_TAGS")&&("function"==typeof e.ADD_TAGS?ae.tagCheck=e.ADD_TAGS:io(e.ADD_TAGS)&&(Q===J&&(Q=Mo(Q)),zo(Q,e.ADD_TAGS,Ye))),yo(e,"ADD_ATTR")&&("function"==typeof e.ADD_ATTR?ae.attributeCheck=e.ADD_ATTR:io(e.ADD_ATTR)&&(ee===te&&(ee=Mo(ee)),zo(ee,e.ADD_ATTR,Ye))),yo(e,"ADD_FORBID_CONTENTS")&&io(e.ADD_FORBID_CONTENTS)&&(Me===Ce&&(Me=Mo(Me)),zo(Me,e.ADD_FORBID_CONTENTS,Ye)),Se&&(Q["#text"]=!0),pe&&zo(Q,["html","head","body"]),Q.table&&(zo(Q,["tbody"]),delete ne.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw ko('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw ko('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');const t=C;C=e.TRUSTED_TYPES_POLICY;try{B=N("")}catch(r){throw C=t,r}}else null===e.TRUSTED_TYPES_POLICY?(C=void 0,B=""):(void 0===C&&(C=O()),C&&"string"==typeof B&&(B=N("")));ja&&ja(e),We=e},Qe=zo({},[...Bo,...Eo,...Io]),Je=zo({},[...qo,...No]),et=function(e){const t=M(e),r=lo(z(e)),n=v(e);let i,a;return n&&A(n)===es?(i={namespaceURI:M(n)},a=lo(z(n))):(i={namespaceURI:De},a="template"),!!He[t]&&(t===Ne?function(e,t,r){return t.namespaceURI===Oe?"svg"===e:t.namespaceURI===qe?"svg"===e&&("annotation-xml"===r||Fe[r]):Boolean(Qe[e])}(r,i,a):t===qe?function(e,t,r){return t.namespaceURI===Oe?"math"===e:t.namespaceURI===Ne?"math"===e&&Ue[r]:Boolean(Je[e])}(r,i,a):t===Oe?function(e,t,r){return!(t.namespaceURI===Ne&&!Ue[r])&&!(t.namespaceURI===qe&&!Fe[r])&&!Je[e]&&(Ge[e]||!Qe[e])}(r,i,a):!("application/xhtml+xml"!==Ve||!He[t]))},tt=function(e){to(r.removed,{element:e});try{v(e).removeChild(e)}catch(t){if(d(e),!v(e))throw ko("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},rt=function(e,t,r){try{g(e,t)}catch(n){try{e.removeAttribute(r)}catch(n){}}},nt=function(e){st(e);const t=b(e);t&&Qa(ro(t),e=>{try{d(e)}catch(t){}});const r=A(e)===es?x(e):null;if(r)for(let n=r.length-1;n>=0;--n){const t=r[n],i=t&&t.name;"string"==typeof i&&rt(e,t,i)}},it=function(e,t,n){if(!n)try{n=t.getAttributeNode(e)}catch(i){n=null}to(r.removed,{attribute:n||null,from:t});try{n?g(t,n):t.removeAttribute(e)}catch(i){try{t.removeAttribute(e)}catch(i){}}if("is"===e)if(be||ve)try{tt(t)}catch(i){}else try{t.setAttribute(e,"")}catch(i){}},at=function(e){const t=x(e);if(t)for(let r=t.length-1;r>=0;--r){const n=t[r],i=n&&n.name;"string"!=typeof i||ee[Ye(i)]||rt(e,n,i)}},ot=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const n=[e];for(;n.length>0;){const e=n.pop();if(!1===t(e))continue;if(r&&A(e)===es){const t=y(e);vt(t)&&n.push(t)}const i=b(e);if(i)for(let t=i.length-1;t>=0;--t)n.push(i[t])}},st=function(e){ot(e,e=>{A(e)===es&&at(e)})},lt=function(e){const t=[];return ot(e,e=>{t.push(e)},!0),t},ht=function(e,t){let n=!1;return Qa(r.removed,t=>{t.element&&(n=n||t.element===e,st(t.element))}),function(e,t){const r=ao();Qa(lt(e),e=>{A(e)===es&&oo(r,e)}),Qa(t,e=>{A(e)!==es||so(r,e)||at(e)})}(e,t),n},ct=function(e,t,r,n){const i=mt(e);let a;for(;a=i.nextNode();)so(n,a)&&!so(ze,a)&&(t&&xt($.uponSanitizeShadowNode,a,null),At(a,r),Et(a,r),vt(a.content)&&It(a.content))},ut=function(e,t){return!!ue&&("patchsrc"===e||"for"===e&&"label"!==t&&"output"!==t)},pt=function(e){let t=null,r=null;if(fe)e="<remove></remove>"+e;else{const t=co(e,/^[\r\n\t ]+/);r=t&&t[0]}"application/xhtml+xml"===Ve&&De===Oe&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const i=C?N(e):e;if(De===Oe)try{t=(new c).parseFromString(i,Ve)}catch(o){}if(!t||!t.documentElement){t=L.createDocument(De,"template",null);try{t.documentElement.innerHTML=Le?B:i}catch(o){}}const a=t.body||t.documentElement;return e&&r&&a.insertBefore(n.createTextNode(r),a.childNodes[0]||null),De===Oe?_.call(t,pe?"html":"body")[0]:pe?t.documentElement:a},mt=function(e){const t=S?S(e):e.ownerDocument;return H.call(t||e,e,h.SHOW_ELEMENT|h.SHOW_COMMENT|h.SHOW_TEXT|h.SHOW_PROCESSING_INSTRUCTION|h.SHOW_CDATA_SECTION,null)},dt=function(e){return e=uo(e,U," "),e=uo(e,G," "),e=uo(e,V," ")},gt=function(e){var t;ft(e);const r=null===(t=e.querySelectorAll)||void 0===t?void 0:t.call(e,"template");r&&Qa(r,e=>{vt(e.content)&>(e.content)})},ft=function(e){e.normalize();const t=S?S(e):e.ownerDocument,r=H.call(t||e,e,h.SHOW_TEXT|h.SHOW_COMMENT|h.SHOW_CDATA_SECTION|h.SHOW_PROCESSING_INSTRUCTION,null);let n=r.nextNode();for(;n;)n.data=dt(n.data),n=r.nextNode()},bt=function(e){const t=k?k(e):null;return"string"==typeof t&&("form"===Ye(t)&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||e.attributes!==x(e)||"function"!=typeof e.removeAttribute||"function"!=typeof e.removeAttributeNode||"function"!=typeof e.getAttributeNode||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes||e.nodeType!==w(e)||e.childNodes!==b(e)))},vt=function(e){if(!w||"object"!=typeof e||null===e)return!1;try{return w(e)===as}catch(t){return!1}},yt=function(e){if(!w||"object"!=typeof e||null===e)return!1;try{return"number"==typeof w(e)}catch(t){return!1}};function xt(e,t,n){0!==e.length&&Qa(e,e=>{e.call(r,t,n,We)})}const wt=function(e,t){if(e instanceof RegExp)return wo(e,t);if(e instanceof Function){for(var r=arguments.length,n=new Array(r>2?r-2:0),i=2;i<r;i++)n[i-2]=arguments[i];return Boolean(e(t,...n))}return!1},kt=function(e,t,r,n){return 0===e.length?t:t===r||t===n?Mo(t):t},St=function(e,t){return e!==t&&null===v(e)&&(Ae&&st(e),!0)},At=function(e,t){var n;if(n=e,ze&&oo(ze,n),xt($.beforeSanitizeElements,e,null),St(e,t))return!0;if(bt(e))return tt(e),!0;const i=Ye(z(e));if(Q=kt($.uponSanitizeElement,Q,J,de),xt($.uponSanitizeElement,e,{tagName:i,allowedTags:Q}),St(e,t))return!0;if(function(e,t){return!!(ue&&e.hasChildNodes()&&!yt(e.firstElementChild)&&wo(Zo,e.textContent)&&wo(Zo,e.innerHTML))||!!(ue&&os[t]&&A(e)===es&&M(e)===Oe&&(yt(e.firstElementChild)||"string"==typeof e.textContent&&wo(Zo,e.textContent)))||e.nodeType===rs||!(!ue||e.nodeType!==ns||!wo(Ko,e.data))}(e,i))return tt(e),!0;if(ne[i]||!(ae.tagCheck instanceof Function&&ae.tagCheck(i))&&!Q[i]){const r=function(e,t,r){if(!ne[t]&&Mt(t)&&wt(re.tagNameCheck,t))return!1;if(Se&&!Me[t]&&!Me[lo(t)]){const t=v(e),n=b(e);if(n&&t)for(let i=n.length-1;i>=0;--i){const a=e===r?m(n[i],!0):n[i];t.insertBefore(a,f(e))}}return tt(e),!0}(e,i,t);return!(!1!==r||(xt($.afterSanitizeElements,e,null),!St(e,t)))||r}if(A(e)===es&&!et(e))return tt(e),!0;if(("noscript"===i||"noembed"===i||"noframes"===i)&&wo(Qo,e.innerHTML))return tt(e),!0;if(ce&&e.nodeType===ts){const t=dt(e.textContent);e.textContent!==t&&(to(r.removed,{element:e.cloneNode()}),e.textContent=t)}return xt($.afterSanitizeElements,e,null),St(e,t)},zt=function(e,t,r){if(ie[t])return!1;if(ut(t,e))return!1;if(xe&&("id"===t||"name"===t)&&(r in n||r in Xe))return!1;const i=ee[t]||ae.attributeCheck instanceof Function&&ae.attributeCheck(t,e);return!(!se||!wo(j,t))||(!(!oe||!wo(Y,t))||(i?!!Ee[t]||(!!wo(K,uo(r,X,""))||(!("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==po(r,"data:")||!Re[e])||(!(!le||wo(W,uo(r,X,"")))||!r))):Mt(e)&&wt(re.tagNameCheck,e)&&wt(re.attributeNameCheck,t,e)||"is"===t&&re.allowCustomizedBuiltInElements&&wt(re.tagNameCheck,r)))},Tt=zo({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),Mt=function(e){return!Tt[lo(e)]&&wo(Z,e)},Ct=function(e,t,r,n){if(C&&"object"==typeof u&&"function"==typeof u.getAttributeType&&!r)switch(u.getAttributeType(e,t)){case"TrustedHTML":return N(n);case"TrustedScriptURL":return function(e){q(),I++;try{return C.createScriptURL(e)}finally{I--}}(n)}return n},Rt=function(e,t,r,n){try{return r?e.setAttributeNS(r,t,n):e.setAttribute(t,n),!bt(e)||(tt(e),!1)}catch(i){return it(t,e),!1}},Bt=function(e,t){return!(!ue||!wo(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,t))||"attributename"===lo(e)&&null!==co(t,"href")},Et=function(e,t){if(xt($.beforeSanitizeAttributes,e,null),St(e,t))return;const n=e.attributes;if(!n||bt(e))return;ee=kt($.uponSanitizeAttribute,ee,te,ge);const i={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:ee,forceKeepAttr:void 0};let a=n.length;const o=Ye(e.nodeName);for(;a--;){const t=n[a],s=t.name,l=t.namespaceURI,h=t.value,c=Ye(s),u=h;let p="value"===s?u:mo(u),m=!1;i.attrName=c,i.attrValue=p,i.keepAttr=!0,i.forceKeepAttr=void 0,xt($.uponSanitizeAttribute,e,i),p=i.attrValue,!we||"id"!==c&&"name"!==c||0===po(p,ke)||(it(s,e,t),p=ke+p,m=!0),Bt(s,p)?it(s,e,t):i.forceKeepAttr||(i.keepAttr&&(he||!wo(Jo,p))?(ce&&(p=dt(p)),zt(o,c,p)?(p=Ct(o,c,l,p),p!==u&&Rt(e,s,l,p)&&m&&eo(r.removed)):it(s,e,t)):it(s,e,t))}xt($.afterSanitizeAttributes,e,null),St(e,t)},It=function(e){let t=null;const r=mt(e);for(xt($.beforeSanitizeShadowDOM,e,null);t=r.nextNode();)if(xt($.uponSanitizeShadowNode,t,null),At(t,e),Et(t,e),vt(t.content)&&It(t.content),A(t)===es){const e=y(t);vt(e)&&(qt(e),It(e))}ce&&ft(e),xt($.afterSanitizeShadowDOM,e,null)},qt=function(e){const t=[{node:e,shadow:null}];for(;t.length>0;){const e=t.pop();if(e.shadow){It(e.shadow);continue}const r=e.node,n=A(r)===es,i=b(r);if(i)for(let a=i.length-1;a>=0;--a)t.push({node:i[a],shadow:null});if(n){const e=k?k(r):null;if("string"==typeof e&&"template"===Ye(e)){const e=r.content;vt(e)&&t.push({node:e,shadow:null})}}if(n){const e=y(r);vt(e)&&t.push({node:null,shadow:e},{node:e,shadow:null})}}};return r.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,a=null,o=null,s=null;if(Le=!e,Le&&(e="\x3c!--\x3e"),"string"!=typeof e&&!yt(e)&&"string"!=typeof(e=function(e){switch(typeof e){case"string":return e;case"number":return go(e);case"boolean":return fo(e);case"bigint":return bo?bo(e):"0";case"symbol":return vo?vo(e):"Symbol()";case"undefined":default:return xo(e);case"function":case"object":{if(null===e)return xo(e);const t=e,r=Co(t,"toString");if("function"==typeof r){const e=r(t);return"string"==typeof e?e:xo(e)}return xo(e)}}}(e)))throw ko("dirty is not a string, aborting");if(!r.isSupported)return e;me?(Q=de,ee=ge):Ke(t),($.uponSanitizeElement.length>0||$.uponSanitizeAttribute.length>0)&&(Q=Mo(Q)),$.uponSanitizeAttribute.length>0&&(ee=Mo(ee)),r.removed=[];const l=Ae&&"string"!=typeof e&&yt(e);let h=[];const c=ze;if(l){u=e,ue&&ot(u,e=>{const t=A(e);if(t===rs||t===ns&&wo(Ko,e.data)){try{d(e)}catch(r){}return!1}if(t===es){const t=e,n=Ye(z(e));try{t.hasAttribute&&t.hasAttribute("patchsrc")&&t.removeAttribute("patchsrc"),t.hasAttribute&&t.hasAttribute("for")&&ut("for",n)&&t.removeAttribute("for")}catch(r){}}return!0});const t=z(e);if("string"==typeof t){const r=Ye(t);if(!Q[r]||ne[r])throw nt(e),ko("root node is forbidden and cannot be sanitized in-place")}if(bt(e))throw nt(e),ko("root node is clobbered and cannot be sanitized in-place");h=lt(e),ze=ao()}else if(yt(e))n=pt("\x3c!----\x3e"),a=n.ownerDocument.importNode(e,!0),a.nodeType===es&&"BODY"===a.nodeName||"HTML"===a.nodeName?n=a:n.appendChild(a),qt(n);else{if(!be&&!ce&&!pe&&-1===e.indexOf("<"))return C&&ye?N(e):e;if(n=pt(e),!n)return be?null:ye?B:""}var u;n&&fe&&tt(n.firstChild);const p=l?e:n;try{l&&qt(e);const t=mt(p);for(;o=t.nextNode();)At(o,p),Et(o,p),vt(o.content)&&It(o.content);l&&function(e,t){const r=ze;let n=null;const i=()=>(n||(n=ao(),Qa(t,e=>{oo(n,e)})),n);for(let a=0;;a++){const t=lt(e),n=[e];let o=!1;if(Qa(t,e=>{A(e)===as?to(n,e):o||so(r,e)||(o=so(i(),e))}),!o)return;if(a>=8)throw ko("the tree kept changing during in-place sanitization; refusing to return it");Qa(n,(t,r)=>{ct(t,r>0,e,i())})}}(e,h)}catch(g){throw l&&(nt(e),ht(e,h)),g}finally{ze=c}if(l){if(ht(e,h))throw ko("a node selected for removal could not be safely returned; refusing to sanitize in place");return ce&>(e),e}if(be){if(ce&>(n),ve)for(s=P.call(n.ownerDocument);n.firstChild;)s.appendChild(n.firstChild);else s=n;return(ee.shadowroot||ee.shadowrootmode)&&(s=F.call(i,s,!0)),s}let m=pe?n.outerHTML:n.innerHTML;return pe&&Q["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&wo(Wo,n.ownerDocument.doctype.name)&&(m="<!DOCTYPE "+n.ownerDocument.doctype.name+">\n"+m),ce&&(m=dt(m)),C&&ye?N(m):m},r.setConfig=function(){Ke(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),me=!0,de=Q,ge=ee},r.clearConfig=function(){We=null,me=!1,de=null,ge=null,C=R,B=""},r.isValidAttribute=function(e,t,r){We||Ke({});const n=Ye(e),i=Ye(t);return("string"!=typeof r||!(Bt(t,r)||!he&&wo(Jo,r)))&&zt(n,i,r)},r.addHook=function(e,t){"function"==typeof t&&yo($,e)&&to($[e],t)},r.removeHook=function(e,t){if(yo($,e)){if(void 0!==t){const r=Ja($[e],t);return-1===r?void 0:no($[e],r,1)[0]}return eo($[e])}},r.removeHooks=function(e){yo($,e)&&($[e]=[])},r.removeAllHooks=function(){$={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},r}();export{ie as _,Ha as k,ce as m,cs as p};
|